Skip to content

Commit 94f2af9

Browse files
committed
Merge remote-tracking branch 'ui/main'
2 parents 5725149 + 7ca2381 commit 94f2af9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+8874
-0
lines changed

ui/.eslintrc

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"env": {
3+
"es2020": true,
4+
"browser": true,
5+
"serviceworker": true,
6+
"webextensions": true,
7+
"mocha": true
8+
},
9+
"extends": [
10+
"eslint:recommended",
11+
"plugin:prettier/recommended"
12+
],
13+
"parserOptions": {
14+
"sourceType": "module"
15+
}
16+
}

ui/.github/workflows/release.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
7+
jobs:
8+
release:
9+
name: Trigger release
10+
runs-on: ubuntu-20.04
11+
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- name: Prepare repository
16+
run: git fetch --unshallow --tags
17+
18+
- name: Install
19+
run: npm ci
20+
21+
- name: Lint
22+
run: npm run lint
23+
24+
- name: Create release
25+
env:
26+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
28+
run: |
29+
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
30+
npm run release

ui/.github/workflows/tests.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Tests
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-node@v2
14+
with:
15+
node-version: '18'
16+
cache: 'npm'
17+
- run: npm ci
18+
- run: npm run lint

ui/.gitignore

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Numerous always-ignore extensions
2+
*.diff
3+
*.err
4+
*.orig
5+
*.log
6+
*.rej
7+
*.swo
8+
*.swp
9+
*.vi
10+
*~
11+
12+
# OS or Editor folders
13+
.DS_Store
14+
.cache
15+
.eslintcache
16+
.project
17+
.settings
18+
.tmproj
19+
nbproject
20+
Thumbs.db
21+
.tern-project
22+
.vscode
23+
24+
# NPMs
25+
node_modules/
26+
npm-debug.log

ui/.prettierrc

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"semi": true,
3+
"useTabs": false,
4+
"singleQuote": true,
5+
"trailingComma": "all",
6+
"bracketSpacing": true,
7+
"arrowParens": "always",
8+
"quoteProps": "preserve"
9+
}

ui/.tool-versions

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodejs 18.0.0

ui/CHANGELOG.md

+147
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
# v0.3.3 (Mon Jul 18 2022)
2+
3+
#### ⚠️ Pushed to `main`
4+
5+
- Fix code styling ([@smalluban](https://github.com/smalluban))
6+
- Fix styling issues ([@smalluban](https://github.com/smalluban))
7+
- Add skip event to onboarding module ([@smalluban](https://github.com/smalluban))
8+
- Fix closing tag in privacy policy dialog ([@smalluban](https://github.com/smalluban))
9+
10+
#### Authors: 1
11+
12+
- Dominik Lubański ([@smalluban](https://github.com/smalluban))
13+
14+
---
15+
16+
# v0.3.2 (Fri Jul 15 2022)
17+
18+
#### ⚠️ Pushed to `main`
19+
20+
- Fix onboarding-state styles ([@smalluban](https://github.com/smalluban))
21+
22+
#### Authors: 1
23+
24+
- Dominik Lubański ([@smalluban](https://github.com/smalluban))
25+
26+
---
27+
28+
# v0.3.1 (Thu Jul 14 2022)
29+
30+
#### 🐛 Bug Fix
31+
32+
- Add ui-onboarding-state component [#10](https://github.com/ghostery/ghostery-ui/pull/10) ([@smalluban](https://github.com/smalluban))
33+
34+
#### Authors: 1
35+
36+
- Dominik Lubański ([@smalluban](https://github.com/smalluban))
37+
38+
---
39+
40+
# v0.3.0 (Wed Jul 13 2022)
41+
42+
#### 🚀 Enhancement
43+
44+
- Add onboading module [#9](https://github.com/ghostery/ghostery-ui/pull/9) ([@smalluban](https://github.com/smalluban))
45+
46+
#### Authors: 1
47+
48+
- Dominik Lubański ([@smalluban](https://github.com/smalluban))
49+
50+
---
51+
52+
# v0.2.0 (Wed Jul 06 2022)
53+
54+
#### 🚀 Enhancement
55+
56+
- Feat onboarding [#8](https://github.com/ghostery/ghostery-ui/pull/8) ([@smalluban](https://github.com/smalluban))
57+
58+
#### Authors: 1
59+
60+
- Dominik Lubański ([@smalluban](https://github.com/smalluban))
61+
62+
---
63+
64+
# v0.1.4 (Wed May 18 2022)
65+
66+
#### 🐛 Bug Fix
67+
68+
- Fix category names [#7](https://github.com/ghostery/ghostery-ui/pull/7) ([@smalluban](https://github.com/smalluban))
69+
70+
#### Authors: 1
71+
72+
- Dominik Lubański ([@smalluban](https://github.com/smalluban))
73+
74+
---
75+
76+
# v0.1.3 (Tue May 17 2022)
77+
78+
#### 🐛 Bug Fix
79+
80+
- Fix getMessage function to work in Safari [#6](https://github.com/ghostery/ghostery-ui/pull/6) ([@smalluban](https://github.com/smalluban))
81+
82+
#### Authors: 1
83+
84+
- Dominik Lubański ([@smalluban](https://github.com/smalluban))
85+
86+
---
87+
88+
# v0.1.2 (Tue May 17 2022)
89+
90+
#### 🐛 Bug Fix
91+
92+
- Fix Safari size calculation when container size is not set [#5](https://github.com/ghostery/ghostery-ui/pull/5) ([@smalluban](https://github.com/smalluban))
93+
94+
#### Authors: 1
95+
96+
- Dominik Lubański ([@smalluban](https://github.com/smalluban))
97+
98+
---
99+
100+
# v0.1.1 (Tue May 17 2022)
101+
102+
#### 🐛 Bug Fix
103+
104+
- Fix toggle switch text to match already translated strings [#4](https://github.com/ghostery/ghostery-ui/pull/4) ([@smalluban](https://github.com/smalluban))
105+
106+
#### Authors: 1
107+
108+
- Dominik Lubański ([@smalluban](https://github.com/smalluban))
109+
110+
---
111+
112+
# v0.1.0 (Mon May 16 2022)
113+
114+
#### 🚀 Enhancement
115+
116+
- Fix missing line [#3](https://github.com/ghostery/ghostery-ui/pull/3) ([@smalluban](https://github.com/smalluban))
117+
118+
#### Authors: 1
119+
120+
- Dominik Lubański ([@smalluban](https://github.com/smalluban))
121+
122+
---
123+
124+
# v0.0.3 (Mon May 16 2022)
125+
126+
#### 🐛 Bug Fix
127+
128+
- Fix imports statements [#2](https://github.com/ghostery/ghostery-ui/pull/2) ([@smalluban](https://github.com/smalluban))
129+
130+
#### Authors: 1
131+
132+
- Dominik Lubański ([@smalluban](https://github.com/smalluban))
133+
134+
---
135+
136+
# v0.0.2 (Fri May 13 2022)
137+
138+
#### ⚠️ Pushed to `main`
139+
140+
- Add npm missing config ([@smalluban](https://github.com/smalluban))
141+
- Add simple description ([@smalluban](https://github.com/smalluban))
142+
- Use chrome.18n format option ([@smalluban](https://github.com/smalluban))
143+
- Initial commit ([@smalluban](https://github.com/smalluban))
144+
145+
#### Authors: 1
146+
147+
- Dominik Lubański ([@smalluban](https://github.com/smalluban))

ui/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Ghostery UI
2+
3+
The collection of UI components for Ghostery.

0 commit comments

Comments
 (0)