@adobe/spectrum-component-api-schemas 2.0.0 → 4.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.
Files changed (40) hide show
  1. package/CHANGELOG.md +187 -0
  2. package/package.json +1 -1
  3. package/schemas/components/accordion.json +90 -0
  4. package/schemas/components/avatar-group.json +30 -0
  5. package/schemas/components/breadcrumbs.json +54 -0
  6. package/schemas/components/button-group.json +5 -0
  7. package/schemas/components/checkbox-group.json +1 -5
  8. package/schemas/components/color-handle.json +31 -0
  9. package/schemas/components/color-slider.json +7 -1
  10. package/schemas/components/combo-box.json +1 -5
  11. package/schemas/components/contextual-help.json +5 -2
  12. package/schemas/components/date-picker.json +157 -0
  13. package/schemas/components/divider.json +1 -1
  14. package/schemas/components/drop-zone.json +41 -0
  15. package/schemas/components/help-text.json +3 -2
  16. package/schemas/components/in-line-alert.json +19 -1
  17. package/schemas/components/menu.json +2 -4
  18. package/schemas/components/meter.json +4 -0
  19. package/schemas/components/number-field.json +73 -0
  20. package/schemas/components/popover.json +2 -2
  21. package/schemas/components/progress-bar.json +14 -0
  22. package/schemas/components/radio-button.json +8 -3
  23. package/schemas/components/radio-group.json +0 -4
  24. package/schemas/components/rating.json +4 -2
  25. package/schemas/components/scroll-zoom-bar.json +1 -1
  26. package/schemas/components/search-field.json +8 -0
  27. package/schemas/components/segmented-control.json +89 -0
  28. package/schemas/components/select-box.json +11 -2
  29. package/schemas/components/slider.json +19 -3
  30. package/schemas/components/status-light.json +8 -6
  31. package/schemas/components/step-list.json +52 -0
  32. package/schemas/components/swatch-group.json +25 -3
  33. package/schemas/components/swatch.json +23 -5
  34. package/schemas/components/tabs.json +78 -37
  35. package/schemas/components/tag-field.json +51 -0
  36. package/schemas/components/tag-group.json +38 -0
  37. package/schemas/components/text-area.json +4 -0
  38. package/schemas/components/text-field.json +19 -4
  39. package/schemas/components/tooltip.json +2 -2
  40. package/schemas/components/tree-view.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,192 @@
1
1
  # @adobe/spectrum-component-api-schemas
2
2
 
3
+ ## 4.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#613](https://github.com/adobe/spectrum-tokens/pull/613) [`433efdd`](https://github.com/adobe/spectrum-tokens/commit/433efdd18f9b0842ae55acac3cd0fbc1e5e5db58) Thanks [@AmunMRa](https://github.com/AmunMRa)! - feat(component-schemas): add 10 new components with breaking changes to existing schemas
8
+
9
+ ## Component Schemas Changed (10 added, 0 deleted, 17 updated)
10
+
11
+ **Original Branch:** `main`
12
+
13
+ **New Branch:** `draft-schema-updates`
14
+
15
+ ### 🚨 Breaking Changes Detected
16
+
17
+ This PR introduces **7 breaking change(s)** to component schemas. Please review carefully and ensure proper versioning.
18
+
19
+ <details open><summary><strong>📦 Added Components (10)</strong></summary>
20
+ - `accordion` - New component schema
21
+ - `avatar-group` - New component schema
22
+ - `color-handle` - New component schema
23
+ - `date-picker` - New component schema
24
+ - `drop-zone` - New component schema
25
+ - `number-field` - New component schema
26
+ - `segmented-control` - New component schema
27
+ - `step-list` - New component schema
28
+ - `tag-field` - New component schema
29
+ - `tag-group` - New component schema
30
+
31
+ </details>
32
+
33
+ <details open><summary><strong>💥 Breaking Updates ⚠️ BREAKING</strong></summary>
34
+
35
+ **checkbox-group**
36
+ - Removed: `isReadOnly` property
37
+
38
+ **combo-box**
39
+ - Added: `labelPosition`
40
+ - Removed: `isQuiet` property
41
+
42
+ **contextual-help**
43
+ - Added: `href` (string) - "Optional URL within contextual help content like a 'Learn more' link."
44
+ - Removed: `popoverOffset` property
45
+ - Updated: `popoverOffset` - default changed to "8"
46
+
47
+ **radio-button**
48
+ - Added: `label` - "The text displayed next to a radio button."
49
+ - Removed: `label` property
50
+ - Updated: `label`
51
+
52
+ **radio-group**
53
+ - Removed: `isReadOnly` property
54
+
55
+ **tabs**
56
+ - Added: `items` (array) - "An array of tab items."
57
+ - Removed: `size` property
58
+ - Removed: `density` property
59
+ - Removed: `isFluid` property
60
+ - Removed: `isQuiet` property
61
+ - Removed: `isEmphasized` property
62
+ - Removed: `alignment` property
63
+ - Removed: `selectedItem` property
64
+ - Removed: `keyboardActivation` property
65
+ - Updated: `orientation` - default changed to "horizontal"
66
+
67
+ **tree-view**
68
+ - Added: `isEmphasized` (boolean)
69
+ - Removed: `emphasized` property
70
+
71
+ </details>
72
+
73
+ <details><summary><strong>🔄 Non-Breaking Updates</strong></summary>
74
+
75
+ **breadcrumbs**
76
+ - Added: `isMultiline` (boolean) - "If true, the breadcrumb items will wrap to multiple lines."
77
+ - Added: `size` (string, default: m) - "Controls the overall size of the breadcrumb component."
78
+ - Added: `items` (array) - "An array of breadcrumb items."
79
+ - Added: `separator` (string, default: chevron) - "The separator icon used between breadcrumb items."
80
+ - Added: `isTruncated` (boolean) - "If true, the breadcrumb item is truncated and displayed as icon only."
81
+ - Added: `sizeOverride` (string) - "Overrides the size of the breadcrumb items when isMultiline is true."
82
+
83
+ **menu**
84
+ - Updated: `container` - removed `default: null`
85
+ - Updated: `selectionMode` - removed `default: null` and added `"no selection"` to enum
86
+
87
+ **button-group**
88
+ - Added: `overflowMode` (string, default: wrap)
89
+
90
+ **color-slider**
91
+ - Added: `channel` (string, default: hue) - "Which channel of the color this slider controls. Use 'alpha' for opacity."
92
+ - Updated: `value` - "Number (from minValue to maxValue)."
93
+
94
+ **divider**
95
+ - Updated: `size` - default changed to "s"
96
+
97
+ **in-line-alert**
98
+ - Added: `style` (string, default: outline) - "The visual style of the alert."
99
+ - Added: `href` (string) - "Optional URL within in-line alert content like a 'Learn more' link."
100
+ - Added: `heading` (string) - "Optional heading text displayed at the top of the alert."
101
+ - Added: `actionLabel` (string) - "If undefined, this button does not appear."
102
+ - Updated: `variant`
103
+
104
+ **slider**
105
+ - Added: `isRange` (boolean) - "If true, the slider will allow selection of a range of values by displaying two handles."
106
+
107
+ **swatch-group**
108
+ - Added: `cornerRadius` (string, default: none) - "Determines the corner radius of each swatch in the group. Partial refers to corner-radius-75."
109
+
110
+ **swatch**
111
+ - Added: `cornerRounding` - "Determines the corner radius of the swatch. Partial refers to corner-radius-75."
112
+ - Updated: `cornerRounding` - default changed to "none"
113
+
114
+ **text-field**
115
+ - Updated: `isError` - "If there is an error, this property overrides show valid icon."
116
+
117
+ </details>
118
+
119
+ ## 3.0.0
120
+
121
+ ### Major Changes
122
+
123
+ - [#610](https://github.com/adobe/spectrum-tokens/pull/610) [`13d9202`](https://github.com/adobe/spectrum-tokens/commit/13d920273c02c78d3748522de6a7c7ee39b39814) Thanks [@GarthDB](https://github.com/GarthDB)! - Component schema improvements for Batch 1 components
124
+
125
+ Quality control pass on the Design API table for v0, ensuring schema consistency and completeness across S2 components.
126
+
127
+ ## Component Schemas Changed (0 added, 0 deleted, 11 updated)
128
+
129
+ **Original Branch:** `main`
130
+ **New Branch:** `component-schema-batch1-fixes`
131
+
132
+ ### 🚨 Breaking Changes Detected (5)
133
+
134
+ This release introduces **5 breaking change(s)** to component schemas. Please review carefully and ensure proper versioning.
135
+
136
+ <details open><summary><strong>💥 Breaking Updates</strong></summary>
137
+
138
+ **popover**
139
+ - Added: `hideTip` (boolean, default: false) - replaces removed `showTip`
140
+
141
+ **rating**
142
+ - Added: `value.minimum` (0), `value.maximum` (5), `value.multipleOf` (0.5)
143
+ - Updated: `value.description` - "From 0 to 5, can be a decimal to represent half stars"
144
+
145
+ **select-box**
146
+ - Added: `hideIllustration` (boolean, default: false) - replaces removed `showIllustration`
147
+ - Added: `isDisabled` (boolean, default: false)
148
+ - Added: `multiple` (boolean, default: false) - "Set to true to allow multiple selections"
149
+ - Updated: `orientation.default` changed to "vertical"
150
+
151
+ **status-light**
152
+ - Added: Colors to `variant.enum`: "gray", "red", "orange", "green", "cyan"
153
+ - Added: `required` - ["label"] - label is now required
154
+ - Removed: `isDisabled` property
155
+
156
+ **tooltip**
157
+ - Removed: "positive" from `variant.enum`
158
+ - Updated: `hasIcon.description` - "If the neutral variant, there is never an icon"
159
+
160
+ </details>
161
+
162
+ ### ✅ Non-Breaking Updates (6)
163
+
164
+ <details><summary><strong>🔄 Compatible Changes</strong></summary>
165
+
166
+ **help-text**
167
+ - Added: "negative" to `variant.enum`
168
+ - Added: `isDisabled.description` - "Help text cannot be both disabled and negative variant"
169
+
170
+ **meter**
171
+ - Added: `hideLabel` (boolean, default: false)
172
+
173
+ **progress-bar**
174
+ - Added: `staticColor` (string, enum: ["white"]) - "Static color can only be white, otherwise it is default"
175
+ - Added: `labelPosition` (string, enum: ["top", "side"], default: "top")
176
+ - Added: `hideLabel` (boolean, default: false)
177
+
178
+ **search-field**
179
+ - Added: `hideLabel` (boolean, default: false)
180
+ - Added: `icon` ($ref: workflow-icon.json) - "Icon must be present if the label is not defined"
181
+
182
+ **text-area**
183
+ - Added: `hideLabel` (boolean, default: false)
184
+
185
+ **text-field**
186
+ - Added: `hideLabel` (boolean, default: false)
187
+
188
+ </details>
189
+
3
190
  ## 2.0.0
4
191
 
5
192
  ### Major Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spectrum-component-api-schemas",
3
- "version": "2.0.0",
3
+ "version": "4.0.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -0,0 +1,90 @@
1
+ {
2
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/accordion.json",
4
+ "title": "Accordion",
5
+ "description": "An accordion is a vertically stacked set of interactive headings that each contain a title and a content area.",
6
+ "meta": {
7
+ "category": "inputs",
8
+ "documentationUrl": "https://spectrum.adobe.com/page/accordion/"
9
+ },
10
+ "type": "object",
11
+ "properties": {
12
+ "state": {
13
+ "type": "string",
14
+ "enum": [
15
+ "default",
16
+ "hover",
17
+ "down",
18
+ "keyboard focus"
19
+ ],
20
+ "default": "default"
21
+ },
22
+ "size": {
23
+ "type": "string",
24
+ "enum": [
25
+ "s",
26
+ "m",
27
+ "l",
28
+ "xl"
29
+ ],
30
+ "default": "m"
31
+ },
32
+ "isQuiet": {
33
+ "type": "boolean",
34
+ "default": false
35
+ },
36
+ "isDisabled": {
37
+ "type": "boolean",
38
+ "default": false
39
+ },
40
+ "density": {
41
+ "type": "string",
42
+ "enum": [
43
+ "compact",
44
+ "regular",
45
+ "spacious"
46
+ ],
47
+ "default": "regular"
48
+ },
49
+ "items": {
50
+ "type": "array",
51
+ "description": "An array of accordion items.",
52
+ "items": {
53
+ "type": "object",
54
+ "properties": {
55
+ "label": {
56
+ "type": "string",
57
+ "description": "The text label displayed for the accordion item."
58
+ },
59
+ "content": {
60
+ "type": "string",
61
+ "description": "The content shown when the accordion item is expanded."
62
+ },
63
+ "isExpanded": {
64
+ "type": "boolean",
65
+ "default": false,
66
+ "description": "Whether the accordion item is expanded by default."
67
+ },
68
+ "hasSwitch": {
69
+ "type": "boolean",
70
+ "default": false,
71
+ "description": "If true, the accordion item includes a switch."
72
+ },
73
+ "hasActionButton": {
74
+ "type": "boolean",
75
+ "default": false,
76
+ "description": "If true, the accordion item includes an action button."
77
+ }
78
+ },
79
+ "required": [
80
+ "label"
81
+ ]
82
+ }
83
+ },
84
+ "isMultiple": {
85
+ "type": "boolean",
86
+ "default": false,
87
+ "description": "If true, multiple accordion items can be expanded at the same time."
88
+ }
89
+ }
90
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/avatar-group.json",
4
+ "title": "Avatar group",
5
+ "description": "Avatar groups display a collection of avatars representing people or entities.",
6
+ "meta": {
7
+ "category": "actions",
8
+ "documentationUrl": "https://spectrum.adobe.com/page/avatar-group/"
9
+ },
10
+ "type": "object",
11
+ "properties": {
12
+ "label": {
13
+ "type": "string",
14
+ "description": "Optional text label displayed with the avatar group (e.g., group name)."
15
+ },
16
+ "size": {
17
+ "type": "number",
18
+ "enum": [
19
+ 50,
20
+ 75,
21
+ 100,
22
+ 200,
23
+ 300,
24
+ 400,
25
+ 500
26
+ ],
27
+ "default": 100
28
+ }
29
+ }
30
+ }
@@ -13,6 +13,60 @@
13
13
  "type": "string",
14
14
  "enum": ["default", "hover", "down", "keyboard focus", "drag and drop"],
15
15
  "default": "default"
16
+ },
17
+ "isMultiline": {
18
+ "type": "boolean",
19
+ "default": false,
20
+ "description": "If true, the breadcrumb items will wrap to multiple lines."
21
+ },
22
+ "size": {
23
+ "type": "string",
24
+ "enum": ["m", "l"],
25
+ "default": "m",
26
+ "description": "Controls the overall size of the breadcrumb component."
27
+ },
28
+ "items": {
29
+ "type": "array",
30
+ "description": "An array of breadcrumb items.",
31
+ "items": {
32
+ "type": "object",
33
+ "properties": {
34
+ "label": {
35
+ "type": "string",
36
+ "description": "The text displayed for the breadcrumb item."
37
+ },
38
+ "href": {
39
+ "type": "string",
40
+ "description": "Optional URL the breadcrumb item links to."
41
+ },
42
+ "isCurrent": {
43
+ "type": "boolean",
44
+ "description": "Indicates if the breadcrumb item represents the current page.",
45
+ "default": false
46
+ },
47
+ "isDisabled": {
48
+ "type": "boolean",
49
+ "default": false
50
+ }
51
+ },
52
+ "required": ["label"]
53
+ }
54
+ },
55
+ "separator": {
56
+ "type": "string",
57
+ "enum": ["chevron", "none"],
58
+ "default": "chevron",
59
+ "description": "The separator icon used between breadcrumb items."
60
+ },
61
+ "isTruncated": {
62
+ "type": "boolean",
63
+ "default": false,
64
+ "description": "If true, the breadcrumb item is truncated and displayed as icon only."
65
+ },
66
+ "sizeOverride": {
67
+ "type": "string",
68
+ "enum": ["s", "m", "l", "xl"],
69
+ "description": "Overrides the size of the breadcrumb items when isMultiline is true."
16
70
  }
17
71
  }
18
72
  }
@@ -20,6 +20,11 @@
20
20
  "enum": ["s", "m", "l", "xl"],
21
21
  "default": "m"
22
22
  },
23
+ "overflowMode": {
24
+ "type": "string",
25
+ "enum": ["wrap", "collapse"],
26
+ "default": "wrap"
27
+ },
23
28
  "isDisabled": {
24
29
  "type": "boolean",
25
30
  "default": false
@@ -39,11 +39,7 @@
39
39
  "type": "boolean",
40
40
  "default": false
41
41
  },
42
- "isReadOnly": {
43
- "type": "boolean",
44
- "default": false
45
- },
46
- "description": {
42
+ "description": {
47
43
  "type": "string"
48
44
  },
49
45
  "errorMessage": {
@@ -0,0 +1,31 @@
1
+ {
2
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/color-handle.json",
4
+ "title": "Color handle",
5
+ "description": "Color handles allow users to select and adjust colors in a color picker.",
6
+ "meta": {
7
+ "category": "inputs",
8
+ "documentationUrl": "https://spectrum.adobe.com/page/color-handle/"
9
+ },
10
+ "type": "object",
11
+ "properties": {
12
+ "channel": {
13
+ "type": "string",
14
+ "enum": [
15
+ "hue",
16
+ "saturation",
17
+ "lightness",
18
+ "red",
19
+ "green",
20
+ "blue",
21
+ "alpha"
22
+ ],
23
+ "default": "hue",
24
+ "description": "Which channel of the color this handle controls. Use 'alpha' for opacity."
25
+ },
26
+ "isDisabled": {
27
+ "type": "boolean",
28
+ "default": false
29
+ }
30
+ }
31
+ }
@@ -13,9 +13,15 @@
13
13
  "type": "string",
14
14
  "description": "This will vary depending on implementation."
15
15
  },
16
+ "channel": {
17
+ "type": "string",
18
+ "enum": ["hue", "saturation", "lightness", "red", "green", "blue", "alpha"],
19
+ "default": "hue",
20
+ "description": "Which channel of the color this slider controls. Use 'alpha' for opacity."
21
+ },
16
22
  "value": {
17
23
  "type": "number",
18
- "description": "Number (from minValue to maxValue)"
24
+ "description": "Number (from minValue to maxValue)."
19
25
  },
20
26
  "minValue": {
21
27
  "type": "number",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "labelPosition": {
16
16
  "type": "string",
17
- "enum": ["top", "side"],
17
+ "enum": ["top", "side", "in line"],
18
18
  "default": "top"
19
19
  },
20
20
  "value": {
@@ -28,10 +28,6 @@
28
28
  "enum": ["s", "m", "l", "xl"],
29
29
  "default": "m"
30
30
  },
31
- "isQuiet": {
32
- "type": "boolean",
33
- "default": false
34
- },
35
31
  "isRequired": {
36
32
  "type": "boolean",
37
33
  "default": false
@@ -44,8 +44,11 @@
44
44
  },
45
45
  "popoverOffset": {
46
46
  "type": "number",
47
- "default": 6,
48
- "description": "6 px (desktop) or 8 px (mobile)"
47
+ "default": 8
48
+ },
49
+ "href": {
50
+ "type": "string",
51
+ "description": "Optional URL within contextual help content like a 'Learn more' link."
49
52
  },
50
53
  "popoverCrossOffset": {
51
54
  "type": "number",
@@ -0,0 +1,157 @@
1
+ {
2
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
3
+ "$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/date-picker.json",
4
+ "title": "Date picker",
5
+ "description": "A date picker lets users enter a single date or a date range. It includes a calendar popover and a field.",
6
+ "meta": {
7
+ "category": "inputs",
8
+ "documentationUrl": "https://spectrum.adobe.com/page/date-picker/"
9
+ },
10
+ "type": "object",
11
+ "properties": {
12
+ "variant": {
13
+ "type": "string",
14
+ "enum": ["single", "double", "triple"],
15
+ "default": "single",
16
+ "description": "Controls the number of months displayed in the calendar popover."
17
+ },
18
+ "selectedDate": {
19
+ "type": "string",
20
+ "description": "The currently selected date. Used when selectionMode is single."
21
+ },
22
+ "selectedRange": {
23
+ "type": "object",
24
+ "description": "The currently selected date range, used when selectionMode is range.",
25
+ "properties": {
26
+ "start": {
27
+ "type": "string",
28
+ "description": "Range start date."
29
+ },
30
+ "end": {
31
+ "type": "string",
32
+ "description": "Range end date."
33
+ }
34
+ }
35
+ },
36
+ "dateField": {
37
+ "type": "object",
38
+ "description": "Configuration for the date input field.",
39
+ "properties": {
40
+ "label": {
41
+ "type": "string",
42
+ "description": "Optional text label displayed with the date field."
43
+ },
44
+ "labelPosition": {
45
+ "type": "string",
46
+ "enum": ["top", "side"],
47
+ "default": "top"
48
+ },
49
+ "hideLabel": {
50
+ "type": "boolean",
51
+ "default": false
52
+ },
53
+ "isDisabled": {
54
+ "type": "boolean",
55
+ "default": false
56
+ },
57
+ "isReadOnly": {
58
+ "type": "boolean",
59
+ "default": false
60
+ },
61
+ "isRequired": {
62
+ "type": "boolean",
63
+ "default": false
64
+ },
65
+ "isError": {
66
+ "type": "boolean",
67
+ "default": false,
68
+ "description": "If there is an error, this property overrides show valid icon."
69
+ },
70
+ "state": {
71
+ "type": "string",
72
+ "enum": [
73
+ "default",
74
+ "hover",
75
+ "hover (in-field button)",
76
+ "focus + hover",
77
+ "focus + open",
78
+ "focus + not hover",
79
+ "keyboard focus"
80
+ ],
81
+ "default": "default"
82
+ }
83
+ }
84
+ },
85
+ "calendarPopover": {
86
+ "type": "object",
87
+ "description": "Configuration for the calendar popover.",
88
+ "properties": {
89
+ "isDisabled": {
90
+ "type": "boolean",
91
+ "default": false
92
+ },
93
+ "minValue": {
94
+ "type": "string",
95
+ "description": "The minimum allowed date that a user may select."
96
+ },
97
+ "maxValue": {
98
+ "type": "string",
99
+ "description": "The maximum allowed date that a user may select (ISO format string)."
100
+ },
101
+ "currentMonth": {
102
+ "type": "number",
103
+ "minimum": 1,
104
+ "maximum": 12,
105
+ "description": "The month currently displayed in the calendar (1 = January, 12 = December)."
106
+ },
107
+ "currentYear": {
108
+ "type": "number",
109
+ "description": "The year currently displayed in the calendar (Gregorian year number)."
110
+ },
111
+ "selectionMode": {
112
+ "type": "string",
113
+ "enum": ["single", "range"],
114
+ "default": "single",
115
+ "description": "Controls whether the calendar allows selecting a single date or a date range."
116
+ },
117
+ "showTimeZone": {
118
+ "type": "boolean",
119
+ "default": false,
120
+ "description": "Whether to show a time zone indicator in the popover."
121
+ },
122
+ "isError": {
123
+ "type": "boolean",
124
+ "default": false,
125
+ "description": "If the calendar popover is in an error state."
126
+ },
127
+ "timeFields": {
128
+ "type": "object",
129
+ "description": "Optional start and end time fields displayed within the calendar popover.",
130
+ "properties": {
131
+ "showStartTime": {
132
+ "type": "boolean",
133
+ "default": false,
134
+ "description": "If true, displays a start time field."
135
+ },
136
+ "showEndTime": {
137
+ "type": "boolean",
138
+ "default": false,
139
+ "description": "If true, displays an end time field."
140
+ },
141
+ "granularity": {
142
+ "type": "string",
143
+ "enum": ["hour", "minute", "second"],
144
+ "default": "minute",
145
+ "description": "The level of time granularity for the time fields."
146
+ },
147
+ "is24Hour": {
148
+ "type": "boolean",
149
+ "default": false,
150
+ "description": "If true, displays time in 24-hour format instead of AM/PM."
151
+ }
152
+ }
153
+ }
154
+ }
155
+ }
156
+ }
157
+ }
@@ -12,7 +12,7 @@
12
12
  "size": {
13
13
  "type": "string",
14
14
  "enum": ["s", "m", "l"],
15
- "default": "small"
15
+ "default": "s"
16
16
  },
17
17
  "orientation": {
18
18
  "type": "string",