@adobe/design-data-spec 0.15.0 → 1.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/components/accordion.json +27 -4
- package/components/action-button.json +27 -4
- package/components/action-group.json +51 -10
- package/components/alert-banner.json +15 -2
- package/components/alert-dialog.json +18 -8
- package/components/avatar-group.json +24 -2
- package/components/avatar.json +72 -13
- package/components/badge.json +120 -31
- package/components/body.json +24 -2
- package/components/bottom-navigation-android.json +18 -4
- package/components/breadcrumbs.json +34 -7
- package/components/button-group.json +32 -5
- package/components/button.json +50 -10
- package/components/calendar.json +9 -2
- package/components/cards.json +21 -9
- package/components/checkbox-group.json +27 -6
- package/components/checkbox.json +15 -2
- package/components/close-button.json +24 -4
- package/components/coach-indicator.json +40 -14
- package/components/code.json +18 -2
- package/components/color-handle.json +24 -10
- package/components/color-slider.json +33 -12
- package/components/combo-box.json +48 -8
- package/components/contextual-help.json +78 -27
- package/components/date-picker.json +12 -2
- package/components/detail.json +24 -4
- package/components/divider.json +21 -4
- package/components/drop-zone.json +12 -2
- package/components/field-label.json +33 -6
- package/components/heading.json +36 -4
- package/components/help-text.json +25 -5
- package/components/illustrated-message.json +21 -4
- package/components/in-field-progress-button.json +29 -3
- package/components/in-field-progress-circle.json +23 -3
- package/components/in-line-alert.json +33 -11
- package/components/link.json +18 -4
- package/components/list-view.json +12 -2
- package/components/menu.json +42 -5
- package/components/meter.json +30 -4
- package/components/number-field.json +32 -5
- package/components/opacity-checkerboard.json +25 -2
- package/components/picker.json +41 -7
- package/components/popover.json +69 -25
- package/components/progress-bar.json +39 -8
- package/components/progress-circle.json +21 -4
- package/components/radio-group.json +42 -8
- package/components/scroll-zoom-bar.json +21 -4
- package/components/search-field.json +15 -2
- package/components/segmented-control.json +27 -6
- package/components/select-box.json +9 -2
- package/components/side-navigation.json +12 -2
- package/components/slider.json +17 -3
- package/components/standard-dialog.json +12 -2
- package/components/standard-panel.json +33 -6
- package/components/status-light.json +87 -28
- package/components/steplist.json +9 -2
- package/components/swatch-group.json +48 -8
- package/components/swatch.json +39 -9
- package/components/switch.json +15 -2
- package/components/tab-bar-ios.json +18 -4
- package/components/table.json +24 -4
- package/components/tabs.json +9 -2
- package/components/tag-field.json +27 -4
- package/components/tag-group.json +21 -4
- package/components/takeover-dialog.json +9 -2
- package/components/text-area.json +50 -7
- package/components/text-field.json +32 -5
- package/components/thumbnail.json +38 -1
- package/components/title.json +24 -2
- package/components/toast.json +15 -2
- package/components/tooltip.json +27 -4
- package/components/tree-view.json +42 -8
- package/conformance/invalid/SPEC-019/dataset.json +14 -1
- package/conformance/invalid/SPEC-037/dataset.json +14 -6
- package/conformance/invalid/SPEC-038/dataset.json +20 -0
- package/conformance/invalid/SPEC-038/expected-errors.json +10 -0
- package/conformance/valid/SPEC-037/dataset.json +20 -8
- package/conformance/valid/SPEC-038/dataset.json +29 -0
- package/conformance/valid/component-refs/dataset.json +41 -7
- package/package.json +1 -1
- package/rules/rules.yaml +17 -4
- package/schemas/component.schema.json +25 -11
- package/spec/agent-surface.md +1 -1
- package/spec/component-format.md +67 -33
|
@@ -12,36 +12,87 @@
|
|
|
12
12
|
"options": {
|
|
13
13
|
"icon": {
|
|
14
14
|
"type": "string",
|
|
15
|
-
"
|
|
16
|
-
"
|
|
15
|
+
"default": "info",
|
|
16
|
+
"values": [
|
|
17
|
+
{
|
|
18
|
+
"value": "info"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"value": "help"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
17
24
|
},
|
|
18
25
|
"popoverPlacement": {
|
|
19
26
|
"type": "string",
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
27
|
+
"default": "bottom start",
|
|
28
|
+
"values": [
|
|
29
|
+
{
|
|
30
|
+
"value": "top"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"value": "top left"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"value": "top right"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"value": "top start"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"value": "top end"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"value": "bottom"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"value": "bottom left"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"value": "bottom right"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"value": "bottom start"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"value": "bottom end"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"value": "left"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"value": "left top"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"value": "left bottom"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"value": "start"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"value": "start top"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"value": "start bottom"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"value": "right"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"value": "right top"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"value": "right bottom"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"value": "end"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"value": "end top"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"value": "end bottom"
|
|
94
|
+
}
|
|
95
|
+
]
|
|
45
96
|
},
|
|
46
97
|
"popoverOffset": {
|
|
47
98
|
"type": "number",
|
|
@@ -12,9 +12,19 @@
|
|
|
12
12
|
"options": {
|
|
13
13
|
"variant": {
|
|
14
14
|
"type": "string",
|
|
15
|
-
"enum": ["single", "double", "triple"],
|
|
16
15
|
"default": "single",
|
|
17
|
-
"description": "Controls the number of months displayed in the calendar popover."
|
|
16
|
+
"description": "Controls the number of months displayed in the calendar popover.",
|
|
17
|
+
"values": [
|
|
18
|
+
{
|
|
19
|
+
"value": "single"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"value": "double"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"value": "triple"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
18
28
|
},
|
|
19
29
|
"selectedDate": {
|
|
20
30
|
"type": "string",
|
package/components/detail.json
CHANGED
|
@@ -15,13 +15,33 @@
|
|
|
15
15
|
},
|
|
16
16
|
"weight": {
|
|
17
17
|
"type": "string",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
18
|
+
"default": "default",
|
|
19
|
+
"values": [
|
|
20
|
+
{
|
|
21
|
+
"value": "light"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"value": "default"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
20
27
|
},
|
|
21
28
|
"size": {
|
|
22
29
|
"type": "string",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
30
|
+
"default": "m",
|
|
31
|
+
"values": [
|
|
32
|
+
{
|
|
33
|
+
"value": "s"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"value": "m"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"value": "l"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"value": "xl"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
25
45
|
}
|
|
26
46
|
},
|
|
27
47
|
"lifecycle": {
|
package/components/divider.json
CHANGED
|
@@ -12,13 +12,30 @@
|
|
|
12
12
|
"options": {
|
|
13
13
|
"size": {
|
|
14
14
|
"type": "string",
|
|
15
|
-
"
|
|
16
|
-
"
|
|
15
|
+
"default": "s",
|
|
16
|
+
"values": [
|
|
17
|
+
{
|
|
18
|
+
"value": "s"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"value": "m"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"value": "l"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
17
27
|
},
|
|
18
28
|
"orientation": {
|
|
19
29
|
"type": "string",
|
|
20
|
-
"
|
|
21
|
-
"
|
|
30
|
+
"default": "horizontal",
|
|
31
|
+
"values": [
|
|
32
|
+
{
|
|
33
|
+
"value": "horizontal"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"value": "vertical"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
22
39
|
}
|
|
23
40
|
},
|
|
24
41
|
"lifecycle": {
|
|
@@ -19,8 +19,18 @@
|
|
|
19
19
|
},
|
|
20
20
|
"size": {
|
|
21
21
|
"type": "string",
|
|
22
|
-
"
|
|
23
|
-
"
|
|
22
|
+
"default": "m",
|
|
23
|
+
"values": [
|
|
24
|
+
{
|
|
25
|
+
"value": "s"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"value": "m"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"value": "l"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
24
34
|
},
|
|
25
35
|
"actionLabel": {
|
|
26
36
|
"type": "string",
|
|
@@ -15,18 +15,45 @@
|
|
|
15
15
|
},
|
|
16
16
|
"labelPosition": {
|
|
17
17
|
"type": "string",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
18
|
+
"default": "top",
|
|
19
|
+
"values": [
|
|
20
|
+
{
|
|
21
|
+
"value": "top"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"value": "side"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
20
27
|
},
|
|
21
28
|
"size": {
|
|
22
29
|
"type": "string",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
30
|
+
"default": "m",
|
|
31
|
+
"values": [
|
|
32
|
+
{
|
|
33
|
+
"value": "s"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"value": "m"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"value": "l"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"value": "xl"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
25
45
|
},
|
|
26
46
|
"necessityIndicator": {
|
|
27
47
|
"type": "string",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
48
|
+
"default": "icon",
|
|
49
|
+
"values": [
|
|
50
|
+
{
|
|
51
|
+
"value": "text"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"value": "icon"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
30
57
|
},
|
|
31
58
|
"isRequired": {
|
|
32
59
|
"type": "boolean",
|
package/components/heading.json
CHANGED
|
@@ -18,13 +18,45 @@
|
|
|
18
18
|
},
|
|
19
19
|
"weight": {
|
|
20
20
|
"type": "string",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
21
|
+
"default": "default",
|
|
22
|
+
"values": [
|
|
23
|
+
{
|
|
24
|
+
"value": "light"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"value": "default"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"value": "heavy"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
23
33
|
},
|
|
24
34
|
"size": {
|
|
25
35
|
"type": "string",
|
|
26
|
-
"
|
|
27
|
-
"
|
|
36
|
+
"default": "m",
|
|
37
|
+
"values": [
|
|
38
|
+
{
|
|
39
|
+
"value": "xs"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"value": "s"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"value": "m"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"value": "l"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"value": "xl"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"value": "xxl"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"value": "xxxl"
|
|
58
|
+
}
|
|
59
|
+
]
|
|
28
60
|
}
|
|
29
61
|
},
|
|
30
62
|
"lifecycle": {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"specVersion": "1.0.0-draft",
|
|
5
5
|
"name": "help-text",
|
|
6
6
|
"displayName": "Help text",
|
|
7
|
-
"description": "Help text provides either an informative description or an error message that gives more context about what a user needs to input. It
|
|
7
|
+
"description": "Help text provides either an informative description or an error message that gives more context about what a user needs to input. It’s commonly used in forms.",
|
|
8
8
|
"meta": {
|
|
9
9
|
"category": "inputs",
|
|
10
10
|
"documentationUrl": "https://spectrum.adobe.com/page/help-text/"
|
|
@@ -15,8 +15,15 @@
|
|
|
15
15
|
},
|
|
16
16
|
"variant": {
|
|
17
17
|
"type": "string",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
18
|
+
"default": "neutral",
|
|
19
|
+
"values": [
|
|
20
|
+
{
|
|
21
|
+
"value": "neutral"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"value": "negative"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
20
27
|
},
|
|
21
28
|
"hideIcon": {
|
|
22
29
|
"type": "boolean",
|
|
@@ -25,8 +32,21 @@
|
|
|
25
32
|
},
|
|
26
33
|
"size": {
|
|
27
34
|
"type": "string",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
35
|
+
"default": "m",
|
|
36
|
+
"values": [
|
|
37
|
+
{
|
|
38
|
+
"value": "s"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"value": "m"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"value": "l"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"value": "xl"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
30
50
|
},
|
|
31
51
|
"isDisabled": {
|
|
32
52
|
"type": "boolean",
|
|
@@ -16,15 +16,32 @@
|
|
|
16
16
|
},
|
|
17
17
|
"size": {
|
|
18
18
|
"type": "string",
|
|
19
|
-
"enum": ["s", "m", "l"],
|
|
20
19
|
"default": "m",
|
|
21
|
-
"description": "Size of the illustration."
|
|
20
|
+
"description": "Size of the illustration.",
|
|
21
|
+
"values": [
|
|
22
|
+
{
|
|
23
|
+
"value": "s"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"value": "m"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"value": "l"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
22
32
|
},
|
|
23
33
|
"orientation": {
|
|
24
34
|
"type": "string",
|
|
25
|
-
"enum": ["vertical", "horizontal"],
|
|
26
35
|
"default": "vertical",
|
|
27
|
-
"description": "Orientation of the illustrated message."
|
|
36
|
+
"description": "Orientation of the illustrated message.",
|
|
37
|
+
"values": [
|
|
38
|
+
{
|
|
39
|
+
"value": "vertical"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"value": "horizontal"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
28
45
|
},
|
|
29
46
|
"title": {
|
|
30
47
|
"type": "string",
|
|
@@ -12,12 +12,38 @@
|
|
|
12
12
|
"options": {
|
|
13
13
|
"size": {
|
|
14
14
|
"type": "string",
|
|
15
|
-
"
|
|
16
|
-
"
|
|
15
|
+
"default": "m",
|
|
16
|
+
"values": [
|
|
17
|
+
{
|
|
18
|
+
"value": "s"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"value": "m"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"value": "l"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"value": "xl"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
17
30
|
},
|
|
18
31
|
"style": {
|
|
19
32
|
"type": "string",
|
|
20
|
-
"
|
|
33
|
+
"values": [
|
|
34
|
+
{
|
|
35
|
+
"value": "disclosure"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"value": "clear"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"value": "dash"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"value": "add"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
21
47
|
},
|
|
22
48
|
"isQuiet": {
|
|
23
49
|
"type": "boolean",
|
|
@@ -12,12 +12,32 @@
|
|
|
12
12
|
"options": {
|
|
13
13
|
"size": {
|
|
14
14
|
"type": "string",
|
|
15
|
-
"
|
|
16
|
-
"
|
|
15
|
+
"default": "m",
|
|
16
|
+
"values": [
|
|
17
|
+
{
|
|
18
|
+
"value": "s"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"value": "m"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"value": "l"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"value": "xl"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
17
30
|
},
|
|
18
31
|
"staticColor": {
|
|
19
32
|
"type": "string",
|
|
20
|
-
"
|
|
33
|
+
"values": [
|
|
34
|
+
{
|
|
35
|
+
"value": "white"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"value": "black"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
21
41
|
}
|
|
22
42
|
},
|
|
23
43
|
"lifecycle": {
|
|
@@ -12,21 +12,43 @@
|
|
|
12
12
|
"options": {
|
|
13
13
|
"variant": {
|
|
14
14
|
"type": "string",
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
15
|
+
"default": "neutral",
|
|
16
|
+
"values": [
|
|
17
|
+
{
|
|
18
|
+
"value": "neutral"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"value": "informative"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"value": "positive"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"value": "notice"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"value": "negative"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"value": "accent"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
24
36
|
},
|
|
25
37
|
"style": {
|
|
26
38
|
"type": "string",
|
|
27
|
-
"enum": ["bold", "subtle", "outline"],
|
|
28
39
|
"default": "outline",
|
|
29
|
-
"description": "The visual style of the alert."
|
|
40
|
+
"description": "The visual style of the alert.",
|
|
41
|
+
"values": [
|
|
42
|
+
{
|
|
43
|
+
"value": "bold"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"value": "subtle"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"value": "outline"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
30
52
|
},
|
|
31
53
|
"href": {
|
|
32
54
|
"type": "string",
|
package/components/link.json
CHANGED
|
@@ -12,8 +12,15 @@
|
|
|
12
12
|
"options": {
|
|
13
13
|
"variant": {
|
|
14
14
|
"type": "string",
|
|
15
|
-
"
|
|
16
|
-
"
|
|
15
|
+
"default": "primary",
|
|
16
|
+
"values": [
|
|
17
|
+
{
|
|
18
|
+
"value": "primary"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"value": "secondary"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
17
24
|
},
|
|
18
25
|
"isQuiet": {
|
|
19
26
|
"type": "boolean",
|
|
@@ -21,8 +28,15 @@
|
|
|
21
28
|
},
|
|
22
29
|
"staticColor": {
|
|
23
30
|
"type": "string",
|
|
24
|
-
"
|
|
25
|
-
"
|
|
31
|
+
"description": "Static color must not be set for the default version of this component.",
|
|
32
|
+
"values": [
|
|
33
|
+
{
|
|
34
|
+
"value": "white"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"value": "black"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
26
40
|
}
|
|
27
41
|
},
|
|
28
42
|
"states": [
|
|
@@ -12,9 +12,19 @@
|
|
|
12
12
|
"options": {
|
|
13
13
|
"selectionMode": {
|
|
14
14
|
"type": "string",
|
|
15
|
-
"enum": ["none", "single", "multiple"],
|
|
16
15
|
"default": "single",
|
|
17
|
-
"description": "Defines how many items can be selected at once."
|
|
16
|
+
"description": "Defines how many items can be selected at once.",
|
|
17
|
+
"values": [
|
|
18
|
+
{
|
|
19
|
+
"value": "none"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"value": "single"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"value": "multiple"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
18
28
|
},
|
|
19
29
|
"isQuiet": {
|
|
20
30
|
"type": "boolean",
|
package/components/menu.json
CHANGED
|
@@ -12,7 +12,14 @@
|
|
|
12
12
|
"options": {
|
|
13
13
|
"container": {
|
|
14
14
|
"type": "string",
|
|
15
|
-
"
|
|
15
|
+
"values": [
|
|
16
|
+
{
|
|
17
|
+
"value": "popover"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"value": "tray"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
16
23
|
},
|
|
17
24
|
"label": {
|
|
18
25
|
"type": "string"
|
|
@@ -29,16 +36,46 @@
|
|
|
29
36
|
},
|
|
30
37
|
"size": {
|
|
31
38
|
"type": "string",
|
|
32
|
-
"
|
|
33
|
-
"
|
|
39
|
+
"default": "m",
|
|
40
|
+
"values": [
|
|
41
|
+
{
|
|
42
|
+
"value": "s"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"value": "m"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"value": "l"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"value": "xl"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
34
54
|
},
|
|
35
55
|
"selectionMode": {
|
|
36
56
|
"type": "string",
|
|
37
|
-
"
|
|
57
|
+
"values": [
|
|
58
|
+
{
|
|
59
|
+
"value": "single"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"value": "multiple"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"value": "no selection"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
38
68
|
},
|
|
39
69
|
"selectionStyle": {
|
|
40
70
|
"type": "string",
|
|
41
|
-
"
|
|
71
|
+
"values": [
|
|
72
|
+
{
|
|
73
|
+
"value": "checkbox"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"value": "switch"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
42
79
|
},
|
|
43
80
|
"sectionHeader": {
|
|
44
81
|
"type": "string"
|