@adobe/spectrum-component-api-schemas 0.0.0-schema-20240620220450 → 0.0.0
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 +12 -0
- package/package.json +1 -1
- package/schemas/components/action-button.json +4 -4
- package/schemas/components/avatar.json +3 -1
- package/schemas/components/button.json +2 -1
- package/schemas/components/close-button.json +1 -1
- package/schemas/components/link.json +1 -1
- package/schemas/components/popover.json +1 -1
- package/schemas/components/rating.json +4 -3
- package/schemas/components/tabs.json +31 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @adobe/spectrum-component-api-schemas
|
|
2
2
|
|
|
3
|
+
## 0.0.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#353](https://github.com/adobe/spectrum-tokens/pull/353) [`71e674a`](https://github.com/adobe/spectrum-tokens/commit/71e674ad6baa630a900785ae21c9dcae93233b21) Thanks [@karstens](https://github.com/karstens)! - Release to latest branch
|
|
8
|
+
|
|
9
|
+
## 0.0.0-schema-20240821152525
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#353](https://github.com/adobe/spectrum-tokens/pull/353) [`dc2d6c6`](https://github.com/adobe/spectrum-tokens/commit/dc2d6c6e12c1ea4fdc0d891b3fd50ea0b1697dd7) Thanks [@karstens](https://github.com/karstens)! - Making adjustments to bring the schema more in line with what was on the spectrum website.
|
|
14
|
+
|
|
3
15
|
## 0.0.0-schema-20240620220450
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -22,9 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"size": {
|
|
24
24
|
"type": "string",
|
|
25
|
-
"enum": ["s", "m", "l", "xl"],
|
|
26
|
-
"default": "m"
|
|
27
|
-
"pattern": "^(x?s|m|x{0,3}l)$"
|
|
25
|
+
"enum": ["xs", "s", "m", "l", "xl"],
|
|
26
|
+
"default": "m"
|
|
28
27
|
},
|
|
29
28
|
"isQuiet": {
|
|
30
29
|
"type": "boolean",
|
|
@@ -40,7 +39,8 @@
|
|
|
40
39
|
},
|
|
41
40
|
"staticColor": {
|
|
42
41
|
"type": "string",
|
|
43
|
-
"enum": ["white", "black"]
|
|
42
|
+
"enum": ["white", "black"],
|
|
43
|
+
"description": "Static color must not be set for the default version of this component."
|
|
44
44
|
},
|
|
45
45
|
"selectedTextColor": {
|
|
46
46
|
"$ref": "https://opensource.adobe.com/spectrum-tokens/schemas/types/hex-color.json"
|
|
@@ -10,9 +10,10 @@
|
|
|
10
10
|
"type": "object",
|
|
11
11
|
"properties": {
|
|
12
12
|
"value": {
|
|
13
|
-
"type": "
|
|
14
|
-
"
|
|
15
|
-
"
|
|
13
|
+
"type": "number",
|
|
14
|
+
"enum": [0, 1, 2, 3, 4, 5],
|
|
15
|
+
"default": 0,
|
|
16
|
+
"description": "From 0 to 5"
|
|
16
17
|
},
|
|
17
18
|
"isEmphasized": {
|
|
18
19
|
"type": "boolean",
|
|
@@ -9,24 +9,46 @@
|
|
|
9
9
|
},
|
|
10
10
|
"type": "object",
|
|
11
11
|
"properties": {
|
|
12
|
-
"
|
|
13
|
-
"type": "string"
|
|
12
|
+
"orientation": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"enum": ["horizontal", "vertical"],
|
|
15
|
+
"default": "vertical"
|
|
14
16
|
},
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
+
"size": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"enum": ["s", "m", "l", "xl"],
|
|
20
|
+
"default": "m"
|
|
17
21
|
},
|
|
18
|
-
"
|
|
22
|
+
"density": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"enum": ["compact", "regular"],
|
|
25
|
+
"default": "regular"
|
|
26
|
+
},
|
|
27
|
+
"isFluid": {
|
|
28
|
+
"type": "boolean",
|
|
29
|
+
"default": false,
|
|
30
|
+
"description": "This overrides density and is only applicable to horizontal tabs."
|
|
31
|
+
},
|
|
32
|
+
"isQuiet": {
|
|
19
33
|
"type": "boolean",
|
|
20
34
|
"default": false
|
|
21
35
|
},
|
|
22
|
-
"
|
|
36
|
+
"isEmphasized": {
|
|
23
37
|
"type": "boolean",
|
|
24
38
|
"default": false
|
|
25
39
|
},
|
|
26
|
-
"
|
|
40
|
+
"alignment": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"enum": ["start", "center"],
|
|
43
|
+
"default": "start"
|
|
44
|
+
},
|
|
45
|
+
"selectedItem": {
|
|
46
|
+
"description": "(list of available items)"
|
|
47
|
+
},
|
|
48
|
+
"keyboardActivation": {
|
|
27
49
|
"type": "string",
|
|
28
|
-
"enum": ["
|
|
29
|
-
"default": "
|
|
50
|
+
"enum": ["manual", "automatic"],
|
|
51
|
+
"default": "manual"
|
|
30
52
|
}
|
|
31
53
|
}
|
|
32
54
|
}
|