@hashicorp/design-system-components 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.github/workflows/ci.yml
CHANGED
|
@@ -90,7 +90,9 @@ jobs:
|
|
|
90
90
|
steps.cache-dependencies.outputs.cache-hit != 'true'
|
|
91
91
|
|
|
92
92
|
- name: Test
|
|
93
|
-
run: yarn test:ember --launch ${{ matrix.browser }}
|
|
93
|
+
run: yarn test:ember:percy --launch ${{ matrix.browser }}
|
|
94
|
+
env:
|
|
95
|
+
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
|
|
94
96
|
|
|
95
97
|
floating-dependencies:
|
|
96
98
|
name: Floating Dependencies
|
|
@@ -132,7 +134,9 @@ jobs:
|
|
|
132
134
|
run: yarn install --no-lockfile --non-interactive
|
|
133
135
|
|
|
134
136
|
- name: Test
|
|
135
|
-
run: yarn test:ember --launch ${{ matrix.browser }}
|
|
137
|
+
run: yarn test:ember:percy --launch ${{ matrix.browser }}
|
|
138
|
+
env:
|
|
139
|
+
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
|
|
136
140
|
|
|
137
141
|
try-scenarios:
|
|
138
142
|
name: Tests - ${{ matrix.ember-try-scenario }}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"bitwise": true,
|
|
3
|
+
"camelcase": true,
|
|
4
|
+
"curly": false,
|
|
5
|
+
"eqeqeq": true,
|
|
6
|
+
"es3": true,
|
|
7
|
+
"forin": true,
|
|
8
|
+
"immed": false,
|
|
9
|
+
"indent": false,
|
|
10
|
+
"latedef": "nofunc",
|
|
11
|
+
"newcap": false,
|
|
12
|
+
"noarg": true,
|
|
13
|
+
"noempty": true,
|
|
14
|
+
"nonew": false,
|
|
15
|
+
"plusplus": false,
|
|
16
|
+
"quotmark": false,
|
|
17
|
+
"undef": true,
|
|
18
|
+
"unused": "vars",
|
|
19
|
+
"strict": false,
|
|
20
|
+
"trailing": true,
|
|
21
|
+
"maxparams": 5,
|
|
22
|
+
"maxdepth": false,
|
|
23
|
+
"maxstatements": false,
|
|
24
|
+
"maxcomplexity": false,
|
|
25
|
+
"maxlen": 100,
|
|
26
|
+
|
|
27
|
+
"asi": true,
|
|
28
|
+
"expr": true,
|
|
29
|
+
"globalstrict": true,
|
|
30
|
+
"smarttabs": true,
|
|
31
|
+
"sub": true,
|
|
32
|
+
|
|
33
|
+
"node": true,
|
|
34
|
+
"globals": {
|
|
35
|
+
"describe": false,
|
|
36
|
+
"it": false,
|
|
37
|
+
"before": false,
|
|
38
|
+
"beforeEach": false,
|
|
39
|
+
"after": false,
|
|
40
|
+
"afterEach": false,
|
|
41
|
+
"define": false
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -16,7 +16,7 @@ $hds-badge-count-border-width: 1px;
|
|
|
16
16
|
border: $hds-badge-count-border-width solid transparent;
|
|
17
17
|
box-sizing: border-box;
|
|
18
18
|
display: inline-flex;
|
|
19
|
-
font-family: var(--token-typography-
|
|
19
|
+
font-family: var(--token-typography-body-base-font-family);
|
|
20
20
|
max-width: 100%;
|
|
21
21
|
}
|
|
22
22
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hashicorp/design-system-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "HashiCorp Design System Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hashicorp",
|
|
@@ -52,10 +52,11 @@
|
|
|
52
52
|
"start": "ember serve",
|
|
53
53
|
"test": "npm-run-all lint test:*",
|
|
54
54
|
"test:ember": "ember test",
|
|
55
|
-
"test:ember-compatibility": "ember try:each"
|
|
55
|
+
"test:ember-compatibility": "ember try:each",
|
|
56
|
+
"test:ember:percy": "percy exec ember test"
|
|
56
57
|
},
|
|
57
58
|
"dependencies": {
|
|
58
|
-
"@hashicorp/design-system-tokens": "^0.0.
|
|
59
|
+
"@hashicorp/design-system-tokens": "^0.0.12",
|
|
59
60
|
"@hashicorp/ember-flight-icons": "^1.2.0",
|
|
60
61
|
"ember-cli-babel": "^7.26.6",
|
|
61
62
|
"ember-cli-htmlbars": "^5.7.1",
|
|
@@ -68,6 +69,8 @@
|
|
|
68
69
|
"@embroider/test-setup": "^0.41.0",
|
|
69
70
|
"@glimmer/component": "^1.0.4",
|
|
70
71
|
"@glimmer/tracking": "^1.0.4",
|
|
72
|
+
"@percy/cli": "^1.0.0-beta.70",
|
|
73
|
+
"@percy/ember": "^3.0.0",
|
|
71
74
|
"babel-eslint": "^10.1.0",
|
|
72
75
|
"broccoli-asset-rev": "^3.0.0",
|
|
73
76
|
"ember-auto-import": "^2.2.3",
|