@adobe/spectrum-tokens 12.13.0 → 12.13.1
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/CHANGELOG.md +6 -0
- package/manifest.json +7 -3
- package/moon.yml +1 -1
- package/package.json +3 -9
- package/schemas/component.json +8 -2
- package/schemas/components/alert-dialog.json +5 -1
- package/schemas/components/badge.json +10 -2
- package/schemas/components/combo-box.json +6 -2
- package/schemas/components/contextual-help.json +22 -4
- package/schemas/components/in-line-alert.json +6 -1
- package/schemas/components/picker.json +4 -1
- package/schemas/components/popover.json +22 -4
- package/schemas/components/status-light.json +12 -2
- package/schemas/components/text-area.json +4 -1
- package/schemas/components/text-field.json +4 -1
- package/schemas/types/workflow-icon.json +893 -182
- package/tasks/buildManifest.js +6 -1
- package/tasks/diff.js +1 -1
package/CHANGELOG.md
CHANGED
package/manifest.json
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
[
|
|
2
|
-
"src/color-aliases.json",
|
|
3
|
-
"src/color-
|
|
4
|
-
"src/
|
|
2
|
+
"src/color-aliases.json",
|
|
3
|
+
"src/color-component.json",
|
|
4
|
+
"src/color-palette.json",
|
|
5
|
+
"src/layout-component.json",
|
|
6
|
+
"src/layout.json",
|
|
7
|
+
"src/semantic-color-palette.json",
|
|
8
|
+
"src/typography.json"
|
|
5
9
|
]
|
package/moon.yml
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
8
8
|
# OF ANY KIND, either express or implied. See the License for the specific language
|
|
9
9
|
# governing permissions and limitations under the License.
|
|
10
|
-
|
|
10
|
+
type: library
|
|
11
11
|
fileGroups:
|
|
12
12
|
sources:
|
|
13
13
|
- "src/**/*"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/spectrum-tokens",
|
|
3
|
-
"version": "12.13.
|
|
3
|
+
"version": "12.13.1",
|
|
4
4
|
"description": "Design tokens for Spectrum, Adobe's design system",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "tasks/buildSpectrumTokens.js",
|
|
@@ -19,21 +19,15 @@
|
|
|
19
19
|
},
|
|
20
20
|
"homepage": "https://github.com/adobe/spectrum-tokens/tree/main/packages/tokens#readme",
|
|
21
21
|
"devDependencies": {
|
|
22
|
+
"ajv": "^8.12.0",
|
|
23
|
+
"ajv-formats": "^2.1.1",
|
|
22
24
|
"deep-object-diff": "^1.1.7",
|
|
23
25
|
"glob": "^8.1.0",
|
|
24
26
|
"glob-promise": "^6.0.2",
|
|
25
|
-
"node-fetch": "^2.6.7",
|
|
26
27
|
"style-dictionary": "^3.7.1",
|
|
27
28
|
"style-dictionary-sets": "^2.3.0",
|
|
28
29
|
"tar": "^6.1.13",
|
|
29
30
|
"tmp-promise": "^3.0.3"
|
|
30
31
|
},
|
|
31
|
-
"dependencies": {
|
|
32
|
-
"@graphql-tools/graphql-file-loader": "^8.0.0",
|
|
33
|
-
"@graphql-tools/load": "^8.0.0",
|
|
34
|
-
"ajv": "^8.12.0",
|
|
35
|
-
"ajv-formats": "^2.1.1",
|
|
36
|
-
"read-yaml-file": "^2.1.0"
|
|
37
|
-
},
|
|
38
32
|
"scripts": {}
|
|
39
33
|
}
|
package/schemas/component.json
CHANGED
|
@@ -10,8 +10,14 @@
|
|
|
10
10
|
"category": {
|
|
11
11
|
"type": "string",
|
|
12
12
|
"enum": [
|
|
13
|
-
"actions",
|
|
14
|
-
"
|
|
13
|
+
"actions",
|
|
14
|
+
"containers",
|
|
15
|
+
"data visualization",
|
|
16
|
+
"feedback",
|
|
17
|
+
"inputs",
|
|
18
|
+
"navigation",
|
|
19
|
+
"status",
|
|
20
|
+
"typography"
|
|
15
21
|
]
|
|
16
22
|
},
|
|
17
23
|
"documentationUrl": { "type": "string", "format": "uri" }
|
|
@@ -19,8 +19,16 @@
|
|
|
19
19
|
"variant": {
|
|
20
20
|
"type": "string",
|
|
21
21
|
"enum": [
|
|
22
|
-
"neutral",
|
|
23
|
-
"
|
|
22
|
+
"neutral",
|
|
23
|
+
"info",
|
|
24
|
+
"positive",
|
|
25
|
+
"negative",
|
|
26
|
+
"indigo",
|
|
27
|
+
"yellow",
|
|
28
|
+
"magenta",
|
|
29
|
+
"fuchsia",
|
|
30
|
+
"purple",
|
|
31
|
+
"seafoam"
|
|
24
32
|
]
|
|
25
33
|
},
|
|
26
34
|
"fixed": {
|
|
@@ -71,8 +71,12 @@
|
|
|
71
71
|
"state": {
|
|
72
72
|
"type": "string",
|
|
73
73
|
"enum": [
|
|
74
|
-
"default",
|
|
75
|
-
"
|
|
74
|
+
"default",
|
|
75
|
+
"hover (text area)",
|
|
76
|
+
"hover (button area)",
|
|
77
|
+
"focus + hover",
|
|
78
|
+
"focus + not hover",
|
|
79
|
+
"keyboard focus"
|
|
76
80
|
],
|
|
77
81
|
"default": "default"
|
|
78
82
|
}
|
|
@@ -17,10 +17,28 @@
|
|
|
17
17
|
"popoverPlacement": {
|
|
18
18
|
"type": "string",
|
|
19
19
|
"enum": [
|
|
20
|
-
"top",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
20
|
+
"top",
|
|
21
|
+
"top left",
|
|
22
|
+
"top right",
|
|
23
|
+
"top start",
|
|
24
|
+
"top end",
|
|
25
|
+
"bottom",
|
|
26
|
+
"bottom left",
|
|
27
|
+
"bottom right",
|
|
28
|
+
"bottom start",
|
|
29
|
+
"bottom end",
|
|
30
|
+
"left",
|
|
31
|
+
"left top",
|
|
32
|
+
"left bottom",
|
|
33
|
+
"start",
|
|
34
|
+
"start top",
|
|
35
|
+
"start bottom",
|
|
36
|
+
"right",
|
|
37
|
+
"right top",
|
|
38
|
+
"right bottom",
|
|
39
|
+
"end",
|
|
40
|
+
"end top",
|
|
41
|
+
"end bottom"
|
|
24
42
|
],
|
|
25
43
|
"default": "bottom start"
|
|
26
44
|
},
|
|
@@ -22,10 +22,28 @@
|
|
|
22
22
|
"placement": {
|
|
23
23
|
"type": "string",
|
|
24
24
|
"enum": [
|
|
25
|
-
"top",
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
25
|
+
"top",
|
|
26
|
+
"top left",
|
|
27
|
+
"top right",
|
|
28
|
+
"top start",
|
|
29
|
+
"top end",
|
|
30
|
+
"bottom",
|
|
31
|
+
"bottom left",
|
|
32
|
+
"bottom right",
|
|
33
|
+
"bottom start",
|
|
34
|
+
"bottom end",
|
|
35
|
+
"left",
|
|
36
|
+
"left top",
|
|
37
|
+
"left bottom",
|
|
38
|
+
"start",
|
|
39
|
+
"start top",
|
|
40
|
+
"start bottom",
|
|
41
|
+
"right",
|
|
42
|
+
"right top",
|
|
43
|
+
"right bottom",
|
|
44
|
+
"end",
|
|
45
|
+
"end top",
|
|
46
|
+
"end bottom"
|
|
29
47
|
],
|
|
30
48
|
"default": "bottom"
|
|
31
49
|
},
|
|
@@ -15,8 +15,18 @@
|
|
|
15
15
|
"variant": {
|
|
16
16
|
"type": "string",
|
|
17
17
|
"enum": [
|
|
18
|
-
"informative",
|
|
19
|
-
"
|
|
18
|
+
"informative",
|
|
19
|
+
"neutral",
|
|
20
|
+
"positive",
|
|
21
|
+
"notice",
|
|
22
|
+
"negative",
|
|
23
|
+
"indigo",
|
|
24
|
+
"celery",
|
|
25
|
+
"chartreuse",
|
|
26
|
+
"yellow",
|
|
27
|
+
"magenta",
|
|
28
|
+
"fuchsia",
|
|
29
|
+
"purple",
|
|
20
30
|
"seafoam"
|
|
21
31
|
],
|
|
22
32
|
"default": "informative"
|