@warp-ds/elements 2.10.0-next.11 → 2.10.0-next.12
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/dist/custom-elements.json +211 -189
- package/dist/docs/badge/api.md +4 -4
- package/dist/docs/badge/badge.md +4 -4
- package/dist/docs/button/api.md +24 -24
- package/dist/docs/button/button.md +24 -24
- package/dist/docs/checkbox/api.md +2 -2
- package/dist/docs/checkbox/checkbox.md +2 -2
- package/dist/docs/checkbox-group/api.md +6 -6
- package/dist/docs/checkbox-group/checkbox-group.md +6 -6
- package/dist/docs/datepicker/api.md +8 -8
- package/dist/docs/datepicker/datepicker.md +8 -8
- package/dist/docs/expandable/api.md +6 -6
- package/dist/docs/expandable/expandable.md +6 -6
- package/dist/docs/icon/api.md +4 -4
- package/dist/docs/icon/icon.md +4 -4
- package/dist/docs/link/api.md +10 -10
- package/dist/docs/link/link.md +10 -10
- package/dist/docs/modal/api.md +2 -2
- package/dist/docs/modal/modal.md +2 -2
- package/dist/docs/pagination/api.md +4 -4
- package/dist/docs/pagination/pagination.md +4 -4
- package/dist/docs/pill/api.md +8 -8
- package/dist/docs/pill/pill.md +8 -8
- package/dist/docs/select/api.md +10 -10
- package/dist/docs/select/select.md +10 -10
- package/dist/docs/slider/api.md +22 -22
- package/dist/docs/slider/slider.md +22 -22
- package/dist/docs/slider-thumb/api.md +12 -12
- package/dist/docs/slider-thumb/slider-thumb.md +12 -12
- package/dist/docs/tabs/api.md +2 -2
- package/dist/docs/tabs/tabs.md +2 -2
- package/dist/docs/textarea/api.md +14 -14
- package/dist/docs/textarea/textarea.md +14 -14
- package/dist/docs/textfield/api.md +34 -34
- package/dist/docs/textfield/textfield.md +34 -34
- package/dist/packages/affix/affix.d.ts +1 -1
- package/dist/packages/affix/affix.js +1 -1
- package/dist/packages/affix/affix.js.map +4 -4
- package/dist/packages/affix/styles.js +2 -2
- package/dist/packages/alert/alert.js +3 -3
- package/dist/packages/alert/alert.js.map +3 -3
- package/dist/packages/alert/styles.js +2 -2
- package/dist/packages/attention/attention.js +2 -2
- package/dist/packages/attention/attention.js.map +4 -4
- package/dist/packages/attention/attention.stories.js +1 -1
- package/dist/packages/attention/styles.js +2 -2
- package/dist/packages/badge/badge.d.ts +2 -2
- package/dist/packages/badge/badge.js +1 -1
- package/dist/packages/badge/badge.js.map +3 -3
- package/dist/packages/badge/styles.js +2 -2
- package/dist/packages/box/box.js +2 -2
- package/dist/packages/box/box.js.map +3 -3
- package/dist/packages/box/styles.js +2 -2
- package/dist/packages/breadcrumbs/breadcrumbs.d.ts +1 -2
- package/dist/packages/breadcrumbs/breadcrumbs.js +3 -3
- package/dist/packages/breadcrumbs/breadcrumbs.js.map +4 -4
- package/dist/packages/breadcrumbs/breadcrumbs.react.stories.d.ts +1 -1
- package/dist/packages/breadcrumbs/styles.js +2 -2
- package/dist/packages/button/button.d.ts +11 -11
- package/dist/packages/button/button.js +1 -1
- package/dist/packages/button/button.js.map +3 -3
- package/dist/packages/button/button.react.stories.d.ts +2 -2
- package/dist/packages/button/react.d.ts +1 -1
- package/dist/packages/card/card.js +2 -2
- package/dist/packages/card/card.js.map +4 -4
- package/dist/packages/card/styles.js +2 -2
- package/dist/packages/checkbox/checkbox.d.ts +2 -2
- package/dist/packages/checkbox/checkbox.js.map +2 -2
- package/dist/packages/checkbox-group/checkbox-group.d.ts +4 -4
- package/dist/packages/checkbox-group/checkbox-group.js.map +2 -2
- package/dist/packages/combobox/combobox.js +10 -11
- package/dist/packages/combobox/combobox.js.map +4 -4
- package/dist/packages/combobox/combobox.react.stories.d.ts +26 -10
- package/dist/packages/combobox/react.d.ts +13 -5
- package/dist/packages/combobox/styles.js +2 -3
- package/dist/packages/datepicker/datepicker.d.ts +5 -5
- package/dist/packages/datepicker/datepicker.js +12 -12
- package/dist/packages/datepicker/datepicker.js.map +3 -3
- package/dist/packages/datepicker/datepicker.react.stories.d.ts +12 -12
- package/dist/packages/datepicker/react.d.ts +6 -6
- package/dist/packages/expandable/expandable.d.ts +3 -3
- package/dist/packages/expandable/expandable.js +11 -11
- package/dist/packages/expandable/expandable.js.map +3 -3
- package/dist/packages/expandable/styles.js +2 -2
- package/dist/packages/icon/icon.d.ts +1 -1
- package/dist/packages/icon/icon.js +2 -2
- package/dist/packages/icon/icon.js.map +1 -1
- package/dist/packages/icon/icon.react.stories.d.ts +1 -1
- package/dist/packages/icon/icon.react.stories.js +2 -0
- package/dist/packages/icon/icon.stories.d.ts +7 -30
- package/dist/packages/icon/icon.stories.js +11 -2
- package/dist/packages/link/link.d.ts +5 -5
- package/dist/packages/link/link.js.map +1 -1
- package/dist/packages/modal/modal.d.ts +1 -1
- package/dist/packages/modal/modal.js.map +2 -2
- package/dist/packages/modal/modal.react.stories.d.ts +4 -4
- package/dist/packages/modal/react.d.ts +4 -4
- package/dist/packages/modal/util.js +3 -1
- package/dist/packages/modal-footer/modal-footer.js.map +2 -2
- package/dist/packages/modal-header/modal-header.js +4 -4
- package/dist/packages/modal-header/modal-header.js.map +3 -3
- package/dist/packages/modal-header/react.d.ts +2 -2
- package/dist/packages/page-indicator/page-indicator.d.ts +0 -4
- package/dist/packages/page-indicator/page-indicator.js +6 -6
- package/dist/packages/page-indicator/page-indicator.js.map +4 -4
- package/dist/packages/page-indicator/page-indicator.stories.d.ts +8 -26
- package/dist/packages/page-indicator/page-indicator.stories.js +9 -7
- package/dist/packages/pagination/pagination.d.ts +8 -9
- package/dist/packages/pagination/pagination.js +11 -11
- package/dist/packages/pagination/pagination.js.map +4 -4
- package/dist/packages/pagination/pagination.react.stories.d.ts +6 -6
- package/dist/packages/pagination/pagination.test.js +4 -7
- package/dist/packages/pagination/react.d.ts +3 -3
- package/dist/packages/pagination/styles.js +2 -2
- package/dist/packages/pill/pill.d.ts +4 -4
- package/dist/packages/pill/pill.js +3 -3
- package/dist/packages/pill/pill.js.map +4 -4
- package/dist/packages/pill/pill.react.stories.d.ts +8 -8
- package/dist/packages/pill/react.d.ts +4 -4
- package/dist/packages/pill/styles.js +2 -2
- package/dist/packages/radio/form-associated-element.d.ts +1 -1
- package/dist/packages/radio/radio.d.ts +1 -1
- package/dist/packages/radio-group/radio-group.d.ts +2 -2
- package/dist/packages/radio-group/radio-group.js.map +1 -1
- package/dist/packages/radio-group/react.d.ts +4 -4
- package/dist/packages/select/react.d.ts +3 -3
- package/dist/packages/select/select.d.ts +6 -7
- package/dist/packages/select/select.js +5 -5
- package/dist/packages/select/select.js.map +4 -4
- package/dist/packages/select/select.react.stories.d.ts +7 -7
- package/dist/packages/select/select.react.stories.js +15 -10
- package/dist/packages/select/styles.js +2 -2
- package/dist/packages/slider/slider.d.ts +14 -14
- package/dist/packages/slider/slider.js +6 -6
- package/dist/packages/slider/slider.js.map +3 -3
- package/dist/packages/slider/slider.stories.js +1 -0
- package/dist/packages/slider-thumb/react.d.ts +2 -2
- package/dist/packages/slider-thumb/slider-thumb.d.ts +14 -14
- package/dist/packages/slider-thumb/slider-thumb.js +2 -2
- package/dist/packages/slider-thumb/slider-thumb.js.map +3 -3
- package/dist/packages/slider-thumb/styles.d.ts +1 -0
- package/dist/packages/slider-thumb/styles.js +2 -0
- package/dist/packages/step/step.js +3 -3
- package/dist/packages/step/step.js.map +4 -4
- package/dist/packages/step-indicator/step-indicator.js +3 -3
- package/dist/packages/step-indicator/step-indicator.js.map +3 -3
- package/dist/packages/step-indicator/styles.js +2 -2
- package/dist/packages/switch/styles.js +2 -2
- package/dist/packages/switch/switch.d.ts +3 -3
- package/dist/packages/switch/switch.js +3 -3
- package/dist/packages/switch/switch.js.map +3 -3
- package/dist/packages/tab/react.d.ts +4 -4
- package/dist/packages/tab/tab.d.ts +1 -1
- package/dist/packages/tab/tab.js +4 -4
- package/dist/packages/tab/tab.js.map +3 -3
- package/dist/packages/tab-panel/tab-panel.js +1 -1
- package/dist/packages/tab-panel/tab-panel.js.map +3 -3
- package/dist/packages/tabs/styles.js +2 -2
- package/dist/packages/tabs/tabs.d.ts +4 -3
- package/dist/packages/tabs/tabs.js +1 -1
- package/dist/packages/tabs/tabs.js.map +3 -3
- package/dist/packages/textarea/react.d.ts +9 -9
- package/dist/packages/textarea/styles.js +2 -2
- package/dist/packages/textarea/textarea.a11y.test.js +1 -1
- package/dist/packages/textarea/textarea.d.ts +10 -10
- package/dist/packages/textarea/textarea.js +6 -6
- package/dist/packages/textarea/textarea.js.map +4 -4
- package/dist/packages/textarea/textarea.react.stories.d.ts +18 -18
- package/dist/packages/textfield/react.d.ts +9 -9
- package/dist/packages/textfield/styles.js +2 -2
- package/dist/packages/textfield/textfield.d.ts +22 -22
- package/dist/packages/textfield/textfield.js +4 -4
- package/dist/packages/textfield/textfield.js.map +3 -3
- package/dist/packages/textfield/textfield.react.stories.d.ts +18 -18
- package/dist/packages/toast/api.d.ts +1 -1
- package/dist/packages/toast/toast.d.ts +1 -1
- package/dist/packages/toast/toast.js +3 -3
- package/dist/packages/toast/toast.js.map +3 -3
- package/dist/packages/toast-container/styles.d.ts +1 -0
- package/dist/packages/toast-container/styles.js +2 -0
- package/dist/packages/toast-container/toast-container.js +2 -2
- package/dist/packages/toast-container/toast-container.js.map +2 -2
- package/dist/web-types.json +170 -159
- package/eik/index.js +21 -22
- package/package.json +3 -3
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@warp-ds/elements",
|
|
4
|
-
"version": "2.10.0-next.
|
|
4
|
+
"version": "2.10.0-next.11",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"name": "size",
|
|
21
21
|
"description": "Size: small, medium, large or pixel value (e.g. \"32px\").",
|
|
22
22
|
"value": {
|
|
23
|
-
"type": "'small' | 'medium' | 'large' | `${number}px`",
|
|
23
|
+
"type": "'small' | 'medium' | 'large' | `${number}px` | undefined",
|
|
24
24
|
"default": "\"medium\""
|
|
25
25
|
}
|
|
26
26
|
},
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
{
|
|
42
42
|
"name": "size",
|
|
43
43
|
"description": "Size: small, medium, large or pixel value (e.g. \"32px\").",
|
|
44
|
-
"type": "'small' | 'medium' | 'large' | `${number}px`"
|
|
44
|
+
"type": "'small' | 'medium' | 'large' | `${number}px` | undefined"
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"name": "locale",
|
|
@@ -70,49 +70,49 @@
|
|
|
70
70
|
{
|
|
71
71
|
"name": "label",
|
|
72
72
|
"description": "Either a `label` or an `aria-label` must be provided.",
|
|
73
|
-
"value": { "type": "string" }
|
|
73
|
+
"value": { "type": "string | undefined" }
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
"name": "help-text",
|
|
77
77
|
"description": "Use in combination with `invalid` to show as a validation error message,\nor on its own to show a help text.",
|
|
78
|
-
"value": { "type": "string" }
|
|
78
|
+
"value": { "type": "string | undefined" }
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
"name": "size",
|
|
82
82
|
"description": "Sets the [size](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#size) (width) of the input field to fit the expected length of inputs.",
|
|
83
|
-
"value": { "type": "string" }
|
|
83
|
+
"value": { "type": "string | undefined" }
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
"name": "max",
|
|
87
87
|
"description": "Use with `type=\"number\"` to set the [maximum allowed value](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#maxlength).",
|
|
88
|
-
"value": { "type": "number" }
|
|
88
|
+
"value": { "type": "number | undefined" }
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
91
|
"name": "min",
|
|
92
92
|
"description": "Use with `type=\"number\"` to set the [minimum allowed value](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#minlength).",
|
|
93
|
-
"value": { "type": "number" }
|
|
93
|
+
"value": { "type": "number | undefined" }
|
|
94
94
|
},
|
|
95
|
-
{ "name": "min-length", "value": { "type": "number" } },
|
|
95
|
+
{ "name": "min-length", "value": { "type": "number | undefined" } },
|
|
96
96
|
{
|
|
97
97
|
"name": "minlength",
|
|
98
98
|
"description": "For `text`, `search`, `url`, `tel`, `email` and `password` fields, sets the [minimum string length](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#minlength) required.",
|
|
99
|
-
"value": { "type": "number" }
|
|
99
|
+
"value": { "type": "number | undefined" }
|
|
100
100
|
},
|
|
101
|
-
{ "name": "max-length", "value": { "type": "number" } },
|
|
101
|
+
{ "name": "max-length", "value": { "type": "number | undefined" } },
|
|
102
102
|
{
|
|
103
103
|
"name": "maxlength",
|
|
104
104
|
"description": "For `text`, `search`, `url`, `tel`, `email` and `password` fields, sets the [maximum string length](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#maxlength) allowed.",
|
|
105
|
-
"value": { "type": "number" }
|
|
105
|
+
"value": { "type": "number | undefined" }
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
"name": "pattern",
|
|
109
109
|
"description": "Sets a [regular expression](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions) that the input's value must [match to pass validation](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#pattern)",
|
|
110
|
-
"value": { "type": "string" }
|
|
110
|
+
"value": { "type": "string | undefined" }
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
113
|
"name": "placeholder",
|
|
114
114
|
"description": "Set a text that is shown in the textfield when it doesn't have a value.\n\nPlaceholder text should not be used as a substitute for labeling the element with a visible label.",
|
|
115
|
-
"value": { "type": "string" }
|
|
115
|
+
"value": { "type": "string | undefined" }
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
"name": "read-only",
|
|
@@ -131,27 +131,29 @@
|
|
|
131
131
|
{
|
|
132
132
|
"name": "type",
|
|
133
133
|
"description": "The [type of input](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).",
|
|
134
|
-
"value": { "type": "string" }
|
|
134
|
+
"value": { "type": "string | undefined" }
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
137
|
"name": "value",
|
|
138
138
|
"description": "Lets you set the current value.",
|
|
139
|
-
"value": { "type": "string" }
|
|
139
|
+
"value": { "type": "string | undefined" }
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
"name": "name",
|
|
143
143
|
"description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the input field when submitting the form.",
|
|
144
|
-
"value": { "type": "string" }
|
|
144
|
+
"value": { "type": "string | undefined" }
|
|
145
145
|
},
|
|
146
146
|
{
|
|
147
147
|
"name": "step",
|
|
148
148
|
"description": "When used with `number` this attribute forces inputs to be a whole number of `step`.\n\nFor example with a `step=\"5\"` only values that divide evenly on 5 are allowed.\nUsing arrow up and down in the input field increments and decrements by 5.",
|
|
149
|
-
"value": { "type": "number" }
|
|
149
|
+
"value": { "type": "number | undefined" }
|
|
150
150
|
},
|
|
151
151
|
{
|
|
152
152
|
"name": "autocomplete",
|
|
153
153
|
"description": "A space-separated string that hints to browsers [what type of content it can suggest](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/autocomplete#value) to autofill.",
|
|
154
|
-
"value": {
|
|
154
|
+
"value": {
|
|
155
|
+
"type": "HTMLInputElement[\"autocomplete\"] | undefined"
|
|
156
|
+
}
|
|
155
157
|
}
|
|
156
158
|
],
|
|
157
159
|
"slots": [
|
|
@@ -180,49 +182,49 @@
|
|
|
180
182
|
{
|
|
181
183
|
"name": "label",
|
|
182
184
|
"description": "Either a `label` or an `aria-label` must be provided.",
|
|
183
|
-
"type": "string"
|
|
185
|
+
"type": "string | undefined"
|
|
184
186
|
},
|
|
185
187
|
{
|
|
186
188
|
"name": "helpText",
|
|
187
189
|
"description": "Use in combination with `invalid` to show as a validation error message,\nor on its own to show a help text.",
|
|
188
|
-
"type": "string"
|
|
190
|
+
"type": "string | undefined"
|
|
189
191
|
},
|
|
190
192
|
{
|
|
191
193
|
"name": "size",
|
|
192
194
|
"description": "Sets the [size](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#size) (width) of the input field to fit the expected length of inputs.",
|
|
193
|
-
"type": "string"
|
|
195
|
+
"type": "string | undefined"
|
|
194
196
|
},
|
|
195
197
|
{
|
|
196
198
|
"name": "max",
|
|
197
199
|
"description": "Use with `type=\"number\"` to set the [maximum allowed value](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#maxlength).",
|
|
198
|
-
"type": "number"
|
|
200
|
+
"type": "number | undefined"
|
|
199
201
|
},
|
|
200
202
|
{
|
|
201
203
|
"name": "min",
|
|
202
204
|
"description": "Use with `type=\"number\"` to set the [minimum allowed value](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#minlength).",
|
|
203
|
-
"type": "number"
|
|
205
|
+
"type": "number | undefined"
|
|
204
206
|
},
|
|
205
|
-
{ "name": "minLength", "type": "number" },
|
|
207
|
+
{ "name": "minLength", "type": "number | undefined" },
|
|
206
208
|
{
|
|
207
209
|
"name": "minlength",
|
|
208
210
|
"description": "For `text`, `search`, `url`, `tel`, `email` and `password` fields, sets the [minimum string length](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#minlength) required.",
|
|
209
|
-
"type": "number"
|
|
211
|
+
"type": "number | undefined"
|
|
210
212
|
},
|
|
211
|
-
{ "name": "maxLength", "type": "number" },
|
|
213
|
+
{ "name": "maxLength", "type": "number | undefined" },
|
|
212
214
|
{
|
|
213
215
|
"name": "maxlength",
|
|
214
216
|
"description": "For `text`, `search`, `url`, `tel`, `email` and `password` fields, sets the [maximum string length](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#maxlength) allowed.",
|
|
215
|
-
"type": "number"
|
|
217
|
+
"type": "number | undefined"
|
|
216
218
|
},
|
|
217
219
|
{
|
|
218
220
|
"name": "pattern",
|
|
219
221
|
"description": "Sets a [regular expression](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions) that the input's value must [match to pass validation](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#pattern)",
|
|
220
|
-
"type": "string"
|
|
222
|
+
"type": "string | undefined"
|
|
221
223
|
},
|
|
222
224
|
{
|
|
223
225
|
"name": "placeholder",
|
|
224
226
|
"description": "Set a text that is shown in the textfield when it doesn't have a value.\n\nPlaceholder text should not be used as a substitute for labeling the element with a visible label.",
|
|
225
|
-
"type": "string"
|
|
227
|
+
"type": "string | undefined"
|
|
226
228
|
},
|
|
227
229
|
{ "name": "readOnly", "type": "boolean" },
|
|
228
230
|
{
|
|
@@ -238,32 +240,32 @@
|
|
|
238
240
|
{
|
|
239
241
|
"name": "type",
|
|
240
242
|
"description": "The [type of input](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).",
|
|
241
|
-
"type": "string"
|
|
243
|
+
"type": "string | undefined"
|
|
242
244
|
},
|
|
243
245
|
{
|
|
244
246
|
"name": "value",
|
|
245
247
|
"description": "Lets you set the current value.",
|
|
246
|
-
"type": "string"
|
|
248
|
+
"type": "string | undefined"
|
|
247
249
|
},
|
|
248
250
|
{
|
|
249
251
|
"name": "name",
|
|
250
252
|
"description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the input field when submitting the form.",
|
|
251
|
-
"type": "string"
|
|
253
|
+
"type": "string | undefined"
|
|
252
254
|
},
|
|
253
255
|
{
|
|
254
256
|
"name": "step",
|
|
255
257
|
"description": "When used with `number` this attribute forces inputs to be a whole number of `step`.\n\nFor example with a `step=\"5\"` only values that divide evenly on 5 are allowed.\nUsing arrow up and down in the input field increments and decrements by 5.",
|
|
256
|
-
"type": "number"
|
|
258
|
+
"type": "number | undefined"
|
|
257
259
|
},
|
|
258
260
|
{
|
|
259
261
|
"name": "autocomplete",
|
|
260
262
|
"description": "A space-separated string that hints to browsers [what type of content it can suggest](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/autocomplete#value) to autofill.",
|
|
261
|
-
"type": "
|
|
263
|
+
"type": "HTMLInputElement[\"autocomplete\"] | undefined"
|
|
262
264
|
},
|
|
263
265
|
{
|
|
264
266
|
"name": "formatter",
|
|
265
267
|
"description": "Function to format value when the input field.\n\nOnly active when the input field does not have focus,\nsimilar to the accessible input [masking example from Filament Group](https://filamentgroup.github.io/politespace/demo/demo.html).",
|
|
266
|
-
"type": "(value: string) => string"
|
|
268
|
+
"type": "((value: string) => string) | undefined"
|
|
267
269
|
}
|
|
268
270
|
],
|
|
269
271
|
"events": []
|
|
@@ -363,7 +365,7 @@
|
|
|
363
365
|
"name": "variant",
|
|
364
366
|
"description": "Visual style for the link/button.",
|
|
365
367
|
"value": {
|
|
366
|
-
"type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet'"
|
|
368
|
+
"type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet' | undefined"
|
|
367
369
|
}
|
|
368
370
|
},
|
|
369
371
|
{
|
|
@@ -374,7 +376,7 @@
|
|
|
374
376
|
{
|
|
375
377
|
"name": "href",
|
|
376
378
|
"description": "The URL the link points to",
|
|
377
|
-
"value": { "type": "string" }
|
|
379
|
+
"value": { "type": "string | undefined" }
|
|
378
380
|
},
|
|
379
381
|
{
|
|
380
382
|
"name": "disabled",
|
|
@@ -384,12 +386,12 @@
|
|
|
384
386
|
{
|
|
385
387
|
"name": "target",
|
|
386
388
|
"description": "Where to display the linked URL (e.g. `_blank`)",
|
|
387
|
-
"value": { "type": "string" }
|
|
389
|
+
"value": { "type": "string | undefined" }
|
|
388
390
|
},
|
|
389
391
|
{
|
|
390
392
|
"name": "rel",
|
|
391
393
|
"description": "Relationship of the linked URL.\n\nIf `target=\"_blank\"` and `rel` is not provided, the component uses `noopener`.",
|
|
392
|
-
"value": { "type": "string" }
|
|
394
|
+
"value": { "type": "string | undefined" }
|
|
393
395
|
},
|
|
394
396
|
{
|
|
395
397
|
"name": "full-width",
|
|
@@ -408,7 +410,7 @@
|
|
|
408
410
|
{
|
|
409
411
|
"name": "variant",
|
|
410
412
|
"description": "Visual style for the link/button.",
|
|
411
|
-
"type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet'"
|
|
413
|
+
"type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet' | undefined"
|
|
412
414
|
},
|
|
413
415
|
{
|
|
414
416
|
"name": "small",
|
|
@@ -418,7 +420,7 @@
|
|
|
418
420
|
{
|
|
419
421
|
"name": "href",
|
|
420
422
|
"description": "The URL the link points to",
|
|
421
|
-
"type": "string"
|
|
423
|
+
"type": "string | undefined"
|
|
422
424
|
},
|
|
423
425
|
{
|
|
424
426
|
"name": "disabled",
|
|
@@ -428,12 +430,12 @@
|
|
|
428
430
|
{
|
|
429
431
|
"name": "target",
|
|
430
432
|
"description": "Where to display the linked URL (e.g. `_blank`)",
|
|
431
|
-
"type": "string"
|
|
433
|
+
"type": "string | undefined"
|
|
432
434
|
},
|
|
433
435
|
{
|
|
434
436
|
"name": "rel",
|
|
435
437
|
"description": "Relationship of the linked URL.\n\nIf `target=\"_blank\"` and `rel` is not provided, the component uses `noopener`.",
|
|
436
|
-
"type": "string"
|
|
438
|
+
"type": "string | undefined"
|
|
437
439
|
},
|
|
438
440
|
{
|
|
439
441
|
"name": "fullWidth",
|
|
@@ -452,7 +454,7 @@
|
|
|
452
454
|
{
|
|
453
455
|
"name": "type",
|
|
454
456
|
"description": "Native button type.\nControls whether the internal button behaves as a regular button, submits a form, or resets a form. Defaults to `button`.",
|
|
455
|
-
"value": { "type": "'button' | 'submit' | 'reset'" }
|
|
457
|
+
"value": { "type": "'button' | 'submit' | 'reset' | undefined" }
|
|
456
458
|
},
|
|
457
459
|
{
|
|
458
460
|
"name": "autofocus",
|
|
@@ -463,7 +465,7 @@
|
|
|
463
465
|
"name": "variant",
|
|
464
466
|
"description": "Visual style of the button.\nDefaults to `secondary`. Use the variant that matches the action priority, risk, and placement.",
|
|
465
467
|
"value": {
|
|
466
|
-
"type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet' | 'pill' | 'link'"
|
|
468
|
+
"type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet' | 'pill' | 'link' | undefined"
|
|
467
469
|
}
|
|
468
470
|
},
|
|
469
471
|
{
|
|
@@ -489,12 +491,12 @@
|
|
|
489
491
|
{
|
|
490
492
|
"name": "href",
|
|
491
493
|
"description": "URL for rendering the button as a link.\nWhen set, the component renders `w-link` instead of a native `button`.",
|
|
492
|
-
"value": { "type": "string" }
|
|
494
|
+
"value": { "type": "string | undefined" }
|
|
493
495
|
},
|
|
494
496
|
{
|
|
495
497
|
"name": "target",
|
|
496
498
|
"description": "Link browsing context.\nPassed to the rendered link when `href` is set.",
|
|
497
|
-
"value": { "type": "string" }
|
|
499
|
+
"value": { "type": "string | undefined" }
|
|
498
500
|
},
|
|
499
501
|
{
|
|
500
502
|
"name": "disabled",
|
|
@@ -504,7 +506,7 @@
|
|
|
504
506
|
{
|
|
505
507
|
"name": "rel",
|
|
506
508
|
"description": "Link relationship.\nPassed to the rendered link when `href` is set. If `target=\"_blank\"` is set and `rel` is omitted, `noopener` is used.",
|
|
507
|
-
"value": { "type": "string" }
|
|
509
|
+
"value": { "type": "string | undefined" }
|
|
508
510
|
},
|
|
509
511
|
{
|
|
510
512
|
"name": "full-width",
|
|
@@ -514,27 +516,27 @@
|
|
|
514
516
|
{
|
|
515
517
|
"name": "button-class",
|
|
516
518
|
"description": "Deprecated class applied to the internal control\nThis class is applied inside the shadow DOM and is unlikely to have the desired effect. Use attributes or CSS variables to customize the button appearance.",
|
|
517
|
-
"value": { "type": "string" }
|
|
519
|
+
"value": { "type": "string | undefined" }
|
|
518
520
|
},
|
|
519
521
|
{
|
|
520
522
|
"name": "name",
|
|
521
523
|
"description": "Form control name.\nUsed when the button participates in form handling.",
|
|
522
|
-
"value": { "type": "string" }
|
|
524
|
+
"value": { "type": "string | undefined" }
|
|
523
525
|
},
|
|
524
526
|
{
|
|
525
527
|
"name": "value",
|
|
526
528
|
"description": "Form control value.\nUsed with `name` when the button participates in form handling. Resets to its initial value when the form is reset.",
|
|
527
|
-
"value": { "type": "string" }
|
|
529
|
+
"value": { "type": "string | undefined" }
|
|
528
530
|
},
|
|
529
531
|
{
|
|
530
532
|
"name": "commandfor",
|
|
531
533
|
"description": "The [commandfor HTML attribute](https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API#html_attributes) for Invoker Commands.",
|
|
532
|
-
"value": { "type": "string" }
|
|
534
|
+
"value": { "type": "string | undefined" }
|
|
533
535
|
},
|
|
534
536
|
{
|
|
535
537
|
"name": "command",
|
|
536
538
|
"description": "The [command HTML attribute](https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API#html_attributes) for Invoker Commands.",
|
|
537
|
-
"value": { "type": "string" }
|
|
539
|
+
"value": { "type": "string | undefined" }
|
|
538
540
|
}
|
|
539
541
|
],
|
|
540
542
|
"events": [],
|
|
@@ -543,7 +545,7 @@
|
|
|
543
545
|
{
|
|
544
546
|
"name": "type",
|
|
545
547
|
"description": "Native button type.\nControls whether the internal button behaves as a regular button, submits a form, or resets a form. Defaults to `button`.",
|
|
546
|
-
"type": "'button' | 'submit' | 'reset'"
|
|
548
|
+
"type": "'button' | 'submit' | 'reset' | undefined"
|
|
547
549
|
},
|
|
548
550
|
{
|
|
549
551
|
"name": "autofocus",
|
|
@@ -553,7 +555,7 @@
|
|
|
553
555
|
{
|
|
554
556
|
"name": "variant",
|
|
555
557
|
"description": "Visual style of the button.\nDefaults to `secondary`. Use the variant that matches the action priority, risk, and placement.",
|
|
556
|
-
"type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet' | 'pill' | 'link'"
|
|
558
|
+
"type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet' | 'pill' | 'link' | undefined"
|
|
557
559
|
},
|
|
558
560
|
{
|
|
559
561
|
"name": "quiet",
|
|
@@ -578,12 +580,12 @@
|
|
|
578
580
|
{
|
|
579
581
|
"name": "href",
|
|
580
582
|
"description": "URL for rendering the button as a link.\nWhen set, the component renders `w-link` instead of a native `button`.",
|
|
581
|
-
"type": "string"
|
|
583
|
+
"type": "string | undefined"
|
|
582
584
|
},
|
|
583
585
|
{
|
|
584
586
|
"name": "target",
|
|
585
587
|
"description": "Link browsing context.\nPassed to the rendered link when `href` is set.",
|
|
586
|
-
"type": "string"
|
|
588
|
+
"type": "string | undefined"
|
|
587
589
|
},
|
|
588
590
|
{
|
|
589
591
|
"name": "disabled",
|
|
@@ -593,7 +595,7 @@
|
|
|
593
595
|
{
|
|
594
596
|
"name": "rel",
|
|
595
597
|
"description": "Link relationship.\nPassed to the rendered link when `href` is set. If `target=\"_blank\"` is set and `rel` is omitted, `noopener` is used.",
|
|
596
|
-
"type": "string"
|
|
598
|
+
"type": "string | undefined"
|
|
597
599
|
},
|
|
598
600
|
{
|
|
599
601
|
"name": "fullWidth",
|
|
@@ -603,27 +605,27 @@
|
|
|
603
605
|
{
|
|
604
606
|
"name": "buttonClass",
|
|
605
607
|
"description": "Deprecated class applied to the internal control\nThis class is applied inside the shadow DOM and is unlikely to have the desired effect. Use attributes or CSS variables to customize the button appearance.",
|
|
606
|
-
"type": "string"
|
|
608
|
+
"type": "string | undefined"
|
|
607
609
|
},
|
|
608
610
|
{
|
|
609
611
|
"name": "name",
|
|
610
612
|
"description": "Form control name.\nUsed when the button participates in form handling.",
|
|
611
|
-
"type": "string"
|
|
613
|
+
"type": "string | undefined"
|
|
612
614
|
},
|
|
613
615
|
{
|
|
614
616
|
"name": "value",
|
|
615
617
|
"description": "Form control value.\nUsed with `name` when the button participates in form handling. Resets to its initial value when the form is reset.",
|
|
616
|
-
"type": "string"
|
|
618
|
+
"type": "string | undefined"
|
|
617
619
|
},
|
|
618
620
|
{
|
|
619
621
|
"name": "commandfor",
|
|
620
622
|
"description": "The [commandfor HTML attribute](https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API#html_attributes) for Invoker Commands.",
|
|
621
|
-
"type": "string"
|
|
623
|
+
"type": "string | undefined"
|
|
622
624
|
},
|
|
623
625
|
{
|
|
624
626
|
"name": "command",
|
|
625
627
|
"description": "The [command HTML attribute](https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API#html_attributes) for Invoker Commands.",
|
|
626
|
-
"type": "string"
|
|
628
|
+
"type": "string | undefined"
|
|
627
629
|
}
|
|
628
630
|
],
|
|
629
631
|
"events": []
|
|
@@ -786,14 +788,14 @@
|
|
|
786
788
|
"name": "variant",
|
|
787
789
|
"description": "Controls the badge color treatment.\nIf omitted, the badge uses neutral styling without reflecting a `variant` attribute.\nAccepted values are `neutral`, `info`, `positive`, `warning`, `negative`, `disabled`, `price`, and `sponsored`. If omitted, the badge uses neutral styling without reflecting a `variant` attribute.",
|
|
788
790
|
"value": {
|
|
789
|
-
"type": "'neutral' | 'info' | 'positive' | 'warning' | 'negative' | 'disabled' | 'price' | 'sponsored'"
|
|
791
|
+
"type": "'neutral' | 'info' | 'positive' | 'warning' | 'negative' | 'disabled' | 'price' | 'sponsored' | undefined"
|
|
790
792
|
}
|
|
791
793
|
},
|
|
792
794
|
{
|
|
793
795
|
"name": "position",
|
|
794
796
|
"description": "Positions the badge in a corner of a parent element.\nUse this with a parent element that has `position: relative`. When set, the badge uses absolute positioning and adjusts its corner radii so it sits flush against the selected corner.\nUse this with a parent element that has `position: relative`. Accepted values are `top-left`, `top-right`, `bottom-right`, and `bottom-left`.",
|
|
795
797
|
"value": {
|
|
796
|
-
"type": "'top-left' | 'top-right' | 'bottom-right' | 'bottom-left'"
|
|
798
|
+
"type": "'top-left' | 'top-right' | 'bottom-right' | 'bottom-left' | undefined"
|
|
797
799
|
}
|
|
798
800
|
}
|
|
799
801
|
],
|
|
@@ -809,12 +811,12 @@
|
|
|
809
811
|
{
|
|
810
812
|
"name": "variant",
|
|
811
813
|
"description": "Controls the badge color treatment.\nIf omitted, the badge uses neutral styling without reflecting a `variant` attribute.\nAccepted values are `neutral`, `info`, `positive`, `warning`, `negative`, `disabled`, `price`, and `sponsored`. If omitted, the badge uses neutral styling without reflecting a `variant` attribute.",
|
|
812
|
-
"type": "'neutral' | 'info' | 'positive' | 'warning' | 'negative' | 'disabled' | 'price' | 'sponsored'"
|
|
814
|
+
"type": "'neutral' | 'info' | 'positive' | 'warning' | 'negative' | 'disabled' | 'price' | 'sponsored' | undefined"
|
|
813
815
|
},
|
|
814
816
|
{
|
|
815
817
|
"name": "position",
|
|
816
818
|
"description": "Positions the badge in a corner of a parent element.\nUse this with a parent element that has `position: relative`. When set, the badge uses absolute positioning and adjusts its corner radii so it sits flush against the selected corner.\nUse this with a parent element that has `position: relative`. Accepted values are `top-left`, `top-right`, `bottom-right`, and `bottom-left`.",
|
|
817
|
-
"type": "'top-left' | 'top-right' | 'bottom-right' | 'bottom-left'"
|
|
819
|
+
"type": "'top-left' | 'top-right' | 'bottom-right' | 'bottom-left' | undefined"
|
|
818
820
|
}
|
|
819
821
|
],
|
|
820
822
|
"events": []
|
|
@@ -988,7 +990,7 @@
|
|
|
988
990
|
"events": [{ "name": "change", "type": "Event" }],
|
|
989
991
|
"js": {
|
|
990
992
|
"properties": [
|
|
991
|
-
{ "name": "input", "type": "HTMLInputElement
|
|
993
|
+
{ "name": "input", "type": "HTMLInputElement" },
|
|
992
994
|
{
|
|
993
995
|
"name": "name",
|
|
994
996
|
"description": "The name of the checkbox.\n\nWhen the checkbox is checked and belongs to a form, this name is submitted with the checkbox value. If the checkbox is inside a `w-checkbox-group` with a name, the group name is used when the checkbox does not have its own name.",
|
|
@@ -1051,12 +1053,12 @@
|
|
|
1051
1053
|
{
|
|
1052
1054
|
"name": "label",
|
|
1053
1055
|
"description": "The group label displayed above the checkboxes.\n\nUse this to describe the shared question or topic for the checkbox options. The label is connected to the internal group for assistive technologies.",
|
|
1054
|
-
"value": { "type": "string" }
|
|
1056
|
+
"value": { "type": "string | undefined" }
|
|
1055
1057
|
},
|
|
1056
1058
|
{
|
|
1057
1059
|
"name": "name",
|
|
1058
1060
|
"description": "The name applied to child checkboxes when they do not provide one.\n\nUse this when the grouped checkboxes should submit values under the same form field name. Individual checkboxes can still override the group name with their own `name`.",
|
|
1059
|
-
"value": { "type": "string" }
|
|
1061
|
+
"value": { "type": "string | undefined" }
|
|
1060
1062
|
},
|
|
1061
1063
|
{
|
|
1062
1064
|
"name": "optional",
|
|
@@ -1066,7 +1068,7 @@
|
|
|
1066
1068
|
{
|
|
1067
1069
|
"name": "help-text",
|
|
1068
1070
|
"description": "Help text displayed below the checkbox group.\n\nUse this for supporting guidance or validation feedback. When required validation fails, the group replaces this text with the localized required message.",
|
|
1069
|
-
"value": { "type": "string" }
|
|
1071
|
+
"value": { "type": "string | undefined" }
|
|
1070
1072
|
},
|
|
1071
1073
|
{
|
|
1072
1074
|
"name": "required",
|
|
@@ -1085,12 +1087,12 @@
|
|
|
1085
1087
|
{
|
|
1086
1088
|
"name": "label",
|
|
1087
1089
|
"description": "The group label displayed above the checkboxes.\n\nUse this to describe the shared question or topic for the checkbox options. The label is connected to the internal group for assistive technologies.",
|
|
1088
|
-
"type": "string"
|
|
1090
|
+
"type": "string | undefined"
|
|
1089
1091
|
},
|
|
1090
1092
|
{
|
|
1091
1093
|
"name": "name",
|
|
1092
1094
|
"description": "The name applied to child checkboxes when they do not provide one.\n\nUse this when the grouped checkboxes should submit values under the same form field name. Individual checkboxes can still override the group name with their own `name`.",
|
|
1093
|
-
"type": "string"
|
|
1095
|
+
"type": "string | undefined"
|
|
1094
1096
|
},
|
|
1095
1097
|
{
|
|
1096
1098
|
"name": "optional",
|
|
@@ -1100,7 +1102,7 @@
|
|
|
1100
1102
|
{
|
|
1101
1103
|
"name": "helpText",
|
|
1102
1104
|
"description": "Help text displayed below the checkbox group.\n\nUse this for supporting guidance or validation feedback. When required validation fails, the group replaces this text with the localized required message.",
|
|
1103
|
-
"type": "string"
|
|
1105
|
+
"type": "string | undefined"
|
|
1104
1106
|
},
|
|
1105
1107
|
{
|
|
1106
1108
|
"name": "required",
|
|
@@ -1287,7 +1289,7 @@
|
|
|
1287
1289
|
{
|
|
1288
1290
|
"name": "label",
|
|
1289
1291
|
"description": "The label displayed above the date input.\n\nUse this to give the datepicker a visible and accessible name.",
|
|
1290
|
-
"value": { "type": "string" }
|
|
1292
|
+
"value": { "type": "string | undefined" }
|
|
1291
1293
|
},
|
|
1292
1294
|
{
|
|
1293
1295
|
"name": "lang",
|
|
@@ -1297,12 +1299,12 @@
|
|
|
1297
1299
|
{
|
|
1298
1300
|
"name": "name",
|
|
1299
1301
|
"description": "The name submitted with the date value.\n\nUse this when the datepicker belongs to a form and its value should be included in form data.",
|
|
1300
|
-
"value": { "type": "string" }
|
|
1302
|
+
"value": { "type": "string | undefined" }
|
|
1301
1303
|
},
|
|
1302
1304
|
{
|
|
1303
1305
|
"name": "value",
|
|
1304
1306
|
"description": "The selected date value.\n\nUse an ISO date string in `YYYY-MM-DD` format. The value is submitted with the form and is reset to its initial value when the form resets.",
|
|
1305
|
-
"value": { "type": "string" }
|
|
1307
|
+
"value": { "type": "string | undefined" }
|
|
1306
1308
|
},
|
|
1307
1309
|
{
|
|
1308
1310
|
"name": "header-format",
|
|
@@ -1326,7 +1328,7 @@
|
|
|
1326
1328
|
{
|
|
1327
1329
|
"name": "label",
|
|
1328
1330
|
"description": "The label displayed above the date input.\n\nUse this to give the datepicker a visible and accessible name.",
|
|
1329
|
-
"type": "string"
|
|
1331
|
+
"type": "string | undefined"
|
|
1330
1332
|
},
|
|
1331
1333
|
{
|
|
1332
1334
|
"name": "lang",
|
|
@@ -1336,12 +1338,12 @@
|
|
|
1336
1338
|
{
|
|
1337
1339
|
"name": "name",
|
|
1338
1340
|
"description": "The name submitted with the date value.\n\nUse this when the datepicker belongs to a form and its value should be included in form data.",
|
|
1339
|
-
"type": "string"
|
|
1341
|
+
"type": "string | undefined"
|
|
1340
1342
|
},
|
|
1341
1343
|
{
|
|
1342
1344
|
"name": "value",
|
|
1343
1345
|
"description": "The selected date value.\n\nUse an ISO date string in `YYYY-MM-DD` format. The value is submitted with the form and is reset to its initial value when the form resets.",
|
|
1344
|
-
"type": "string"
|
|
1346
|
+
"type": "string | undefined"
|
|
1345
1347
|
},
|
|
1346
1348
|
{
|
|
1347
1349
|
"name": "headerFormat",
|
|
@@ -1356,7 +1358,7 @@
|
|
|
1356
1358
|
{
|
|
1357
1359
|
"name": "isDayDisabled",
|
|
1358
1360
|
"description": "Function used to disable dates in the calendar.\n\nSet this on the element instance in JavaScript, not as an HTML attribute. Disabled dates cannot be selected from the calendar.",
|
|
1359
|
-
"type": "(day: Date) => boolean"
|
|
1361
|
+
"type": "((day: Date) => boolean) | undefined"
|
|
1360
1362
|
},
|
|
1361
1363
|
{
|
|
1362
1364
|
"name": "dayFormat",
|
|
@@ -1408,8 +1410,14 @@
|
|
|
1408
1410
|
"description": "Will make the expandable full-width on the sm breakpoint size",
|
|
1409
1411
|
"value": { "type": "boolean", "default": "false" }
|
|
1410
1412
|
},
|
|
1411
|
-
{
|
|
1412
|
-
|
|
1413
|
+
{
|
|
1414
|
+
"name": "button-class",
|
|
1415
|
+
"value": { "type": "string | undefined" }
|
|
1416
|
+
},
|
|
1417
|
+
{
|
|
1418
|
+
"name": "content-class",
|
|
1419
|
+
"value": { "type": "string | undefined" }
|
|
1420
|
+
},
|
|
1413
1421
|
{
|
|
1414
1422
|
"name": "no-chevron",
|
|
1415
1423
|
"description": "Controls chevron visibility",
|
|
@@ -1423,7 +1431,7 @@
|
|
|
1423
1431
|
{
|
|
1424
1432
|
"name": "heading-level",
|
|
1425
1433
|
"description": "Wrap the toggle button in a heading element with the specified level. If headingLevel is not specified, the button will not be wrapped by a heading element.",
|
|
1426
|
-
"value": { "type": "number" }
|
|
1434
|
+
"value": { "type": "number | undefined" }
|
|
1427
1435
|
},
|
|
1428
1436
|
{
|
|
1429
1437
|
"name": "_hasTitle",
|
|
@@ -1463,8 +1471,8 @@
|
|
|
1463
1471
|
"description": "Will make the expandable full-width on the sm breakpoint size",
|
|
1464
1472
|
"type": "boolean"
|
|
1465
1473
|
},
|
|
1466
|
-
{ "name": "buttonClass", "type": "string" },
|
|
1467
|
-
{ "name": "contentClass", "type": "string" },
|
|
1474
|
+
{ "name": "buttonClass", "type": "string | undefined" },
|
|
1475
|
+
{ "name": "contentClass", "type": "string | undefined" },
|
|
1468
1476
|
{
|
|
1469
1477
|
"name": "noChevron",
|
|
1470
1478
|
"description": "Controls chevron visibility",
|
|
@@ -1478,7 +1486,7 @@
|
|
|
1478
1486
|
{
|
|
1479
1487
|
"name": "headingLevel",
|
|
1480
1488
|
"description": "Wrap the toggle button in a heading element with the specified level. If headingLevel is not specified, the button will not be wrapped by a heading element.",
|
|
1481
|
-
"type": "number"
|
|
1489
|
+
"type": "number | undefined"
|
|
1482
1490
|
}
|
|
1483
1491
|
],
|
|
1484
1492
|
"events": []
|
|
@@ -1494,7 +1502,7 @@
|
|
|
1494
1502
|
"description": "Controls if the modal should show or hide.\n\nYou can also call the `open()` and `close()` methods.",
|
|
1495
1503
|
"value": { "type": "boolean", "default": "false" }
|
|
1496
1504
|
},
|
|
1497
|
-
{ "name": "content-id", "value": { "type": "string" } },
|
|
1505
|
+
{ "name": "content-id", "value": { "type": "string | undefined" } },
|
|
1498
1506
|
{
|
|
1499
1507
|
"name": "ignore-backdrop-clicks",
|
|
1500
1508
|
"description": "Ignores clicks to the backdrop when set",
|
|
@@ -1526,7 +1534,7 @@
|
|
|
1526
1534
|
"description": "Controls if the modal should show or hide.\n\nYou can also call the `open()` and `close()` methods.",
|
|
1527
1535
|
"type": "boolean"
|
|
1528
1536
|
},
|
|
1529
|
-
{ "name": "contentId", "type": "string" },
|
|
1537
|
+
{ "name": "contentId", "type": "string | undefined" },
|
|
1530
1538
|
{
|
|
1531
1539
|
"name": "ignoreBackdropClicks",
|
|
1532
1540
|
"description": "Ignores clicks to the backdrop when set",
|
|
@@ -1637,12 +1645,12 @@
|
|
|
1637
1645
|
{
|
|
1638
1646
|
"name": "base-url",
|
|
1639
1647
|
"description": "The base URL used to construct page links, for example `/search?page=`.\n\nThe page number is appended to this URL.",
|
|
1640
|
-
"value": { "type": "string" }
|
|
1648
|
+
"value": { "type": "string | undefined" }
|
|
1641
1649
|
},
|
|
1642
1650
|
{
|
|
1643
1651
|
"name": "pages",
|
|
1644
1652
|
"description": "The total number of pages.",
|
|
1645
|
-
"value": { "type": "number" }
|
|
1653
|
+
"value": { "type": "number", "default": "0" }
|
|
1646
1654
|
},
|
|
1647
1655
|
{
|
|
1648
1656
|
"name": "current-page",
|
|
@@ -1667,7 +1675,7 @@
|
|
|
1667
1675
|
{
|
|
1668
1676
|
"name": "baseUrl",
|
|
1669
1677
|
"description": "The base URL used to construct page links, for example `/search?page=`.\n\nThe page number is appended to this URL.",
|
|
1670
|
-
"type": "string"
|
|
1678
|
+
"type": "string | undefined"
|
|
1671
1679
|
},
|
|
1672
1680
|
{
|
|
1673
1681
|
"name": "pages",
|
|
@@ -1709,17 +1717,23 @@
|
|
|
1709
1717
|
"description": "Whether the pill should be rendered as a suggestion.",
|
|
1710
1718
|
"value": { "type": "boolean", "default": "false" }
|
|
1711
1719
|
},
|
|
1712
|
-
{
|
|
1720
|
+
{
|
|
1721
|
+
"name": "open-sr-label",
|
|
1722
|
+
"value": { "type": "string | undefined" }
|
|
1723
|
+
},
|
|
1713
1724
|
{
|
|
1714
1725
|
"name": "open-aria-label",
|
|
1715
1726
|
"description": "Label read by screen readers when targeting the pill.",
|
|
1716
|
-
"value": { "type": "string" }
|
|
1727
|
+
"value": { "type": "string | undefined" }
|
|
1728
|
+
},
|
|
1729
|
+
{
|
|
1730
|
+
"name": "close-sr-label",
|
|
1731
|
+
"value": { "type": "string | undefined" }
|
|
1717
1732
|
},
|
|
1718
|
-
{ "name": "close-sr-label", "value": { "type": "string" } },
|
|
1719
1733
|
{
|
|
1720
1734
|
"name": "close-aria-label",
|
|
1721
1735
|
"description": "Label read by screen readers when targeting the close button.",
|
|
1722
|
-
"value": { "type": "string" }
|
|
1736
|
+
"value": { "type": "string | undefined" }
|
|
1723
1737
|
}
|
|
1724
1738
|
],
|
|
1725
1739
|
"events": [
|
|
@@ -1746,17 +1760,17 @@
|
|
|
1746
1760
|
"description": "Whether the pill should be rendered as a suggestion.",
|
|
1747
1761
|
"type": "boolean"
|
|
1748
1762
|
},
|
|
1749
|
-
{ "name": "openSrLabel", "type": "string" },
|
|
1763
|
+
{ "name": "openSrLabel", "type": "string | undefined" },
|
|
1750
1764
|
{
|
|
1751
1765
|
"name": "openAriaLabel",
|
|
1752
1766
|
"description": "Label read by screen readers when targeting the pill.",
|
|
1753
|
-
"type": "string"
|
|
1767
|
+
"type": "string | undefined"
|
|
1754
1768
|
},
|
|
1755
|
-
{ "name": "closeSrLabel", "type": "string" },
|
|
1769
|
+
{ "name": "closeSrLabel", "type": "string | undefined" },
|
|
1756
1770
|
{
|
|
1757
1771
|
"name": "closeAriaLabel",
|
|
1758
1772
|
"description": "Label read by screen readers when targeting the close button.",
|
|
1759
|
-
"type": "string"
|
|
1773
|
+
"type": "string | undefined"
|
|
1760
1774
|
}
|
|
1761
1775
|
],
|
|
1762
1776
|
"events": [
|
|
@@ -1957,7 +1971,7 @@
|
|
|
1957
1971
|
{
|
|
1958
1972
|
"name": "help-text",
|
|
1959
1973
|
"description": "The content displayed as the help text.\n\nPaired with `invalid` to show the text as a validation error.",
|
|
1960
|
-
"value": { "type": "string" }
|
|
1974
|
+
"value": { "type": "string | undefined" }
|
|
1961
1975
|
},
|
|
1962
1976
|
{
|
|
1963
1977
|
"name": "invalid",
|
|
@@ -1972,12 +1986,12 @@
|
|
|
1972
1986
|
{
|
|
1973
1987
|
"name": "hint",
|
|
1974
1988
|
"description": "The content displayed as the help text.",
|
|
1975
|
-
"value": { "type": "string" }
|
|
1989
|
+
"value": { "type": "string | undefined" }
|
|
1976
1990
|
},
|
|
1977
1991
|
{
|
|
1978
1992
|
"name": "label",
|
|
1979
1993
|
"description": "The content to display as the label.",
|
|
1980
|
-
"value": { "type": "string" }
|
|
1994
|
+
"value": { "type": "string | undefined" }
|
|
1981
1995
|
},
|
|
1982
1996
|
{
|
|
1983
1997
|
"name": "optional",
|
|
@@ -2002,12 +2016,12 @@
|
|
|
2002
2016
|
{
|
|
2003
2017
|
"name": "name",
|
|
2004
2018
|
"description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the select when submitting the form.",
|
|
2005
|
-
"value": { "type": "string" }
|
|
2019
|
+
"value": { "type": "string | undefined" }
|
|
2006
2020
|
},
|
|
2007
2021
|
{
|
|
2008
2022
|
"name": "value",
|
|
2009
2023
|
"description": "Lets you set the current value.",
|
|
2010
|
-
"value": { "type": "string" }
|
|
2024
|
+
"value": { "type": "string | undefined" }
|
|
2011
2025
|
}
|
|
2012
2026
|
],
|
|
2013
2027
|
"events": [{ "name": "change", "type": "CustomEvent" }],
|
|
@@ -2026,7 +2040,7 @@
|
|
|
2026
2040
|
{
|
|
2027
2041
|
"name": "helpText",
|
|
2028
2042
|
"description": "The content displayed as the help text.\n\nPaired with `invalid` to show the text as a validation error.",
|
|
2029
|
-
"type": "string"
|
|
2043
|
+
"type": "string | undefined"
|
|
2030
2044
|
},
|
|
2031
2045
|
{
|
|
2032
2046
|
"name": "invalid",
|
|
@@ -2041,12 +2055,12 @@
|
|
|
2041
2055
|
{
|
|
2042
2056
|
"name": "hint",
|
|
2043
2057
|
"description": "The content displayed as the help text.",
|
|
2044
|
-
"type": "string"
|
|
2058
|
+
"type": "string | undefined"
|
|
2045
2059
|
},
|
|
2046
2060
|
{
|
|
2047
2061
|
"name": "label",
|
|
2048
2062
|
"description": "The content to display as the label.",
|
|
2049
|
-
"type": "string"
|
|
2063
|
+
"type": "string | undefined"
|
|
2050
2064
|
},
|
|
2051
2065
|
{
|
|
2052
2066
|
"name": "optional",
|
|
@@ -2071,12 +2085,12 @@
|
|
|
2071
2085
|
{
|
|
2072
2086
|
"name": "name",
|
|
2073
2087
|
"description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the select when submitting the form.",
|
|
2074
|
-
"type": "string"
|
|
2088
|
+
"type": "string | undefined"
|
|
2075
2089
|
},
|
|
2076
2090
|
{
|
|
2077
2091
|
"name": "value",
|
|
2078
2092
|
"description": "Lets you set the current value.",
|
|
2079
|
-
"type": "string"
|
|
2093
|
+
"type": "string | undefined"
|
|
2080
2094
|
}
|
|
2081
2095
|
],
|
|
2082
2096
|
"events": [{ "name": "change", "type": "CustomEvent" }]
|
|
@@ -2090,30 +2104,27 @@
|
|
|
2090
2104
|
{
|
|
2091
2105
|
"name": "aria-label",
|
|
2092
2106
|
"description": "Label for the range input.",
|
|
2093
|
-
"value": {
|
|
2094
|
-
"type": "string",
|
|
2095
|
-
"default": "`label` from `w-slider`"
|
|
2096
|
-
}
|
|
2107
|
+
"value": { "type": "string | null", "default": "null" }
|
|
2097
2108
|
},
|
|
2098
2109
|
{
|
|
2099
2110
|
"name": "aria-description",
|
|
2100
2111
|
"description": "Contextual information for assistive technology, should it be needed",
|
|
2101
|
-
"value": { "type": "string" }
|
|
2112
|
+
"value": { "type": "string | null", "default": "null" }
|
|
2102
2113
|
},
|
|
2103
2114
|
{
|
|
2104
2115
|
"name": "name",
|
|
2105
2116
|
"description": "The name of this input field in the form. The canonical source of the value is the text field.",
|
|
2106
|
-
"value": { "type": "string" }
|
|
2117
|
+
"value": { "type": "string | undefined" }
|
|
2107
2118
|
},
|
|
2108
2119
|
{
|
|
2109
2120
|
"name": "value",
|
|
2110
2121
|
"description": "The initial value, if any",
|
|
2111
|
-
"value": { "type": "string" }
|
|
2122
|
+
"value": { "type": "string | undefined" }
|
|
2112
2123
|
},
|
|
2113
2124
|
{
|
|
2114
2125
|
"name": "placeholder",
|
|
2115
2126
|
"description": "Placeholder in empty text fields",
|
|
2116
|
-
"value": { "type": "string" }
|
|
2127
|
+
"value": { "type": "string | undefined" }
|
|
2117
2128
|
}
|
|
2118
2129
|
],
|
|
2119
2130
|
"events": [
|
|
@@ -2133,27 +2144,27 @@
|
|
|
2133
2144
|
{
|
|
2134
2145
|
"name": "ariaLabel",
|
|
2135
2146
|
"description": "Label for the range input.",
|
|
2136
|
-
"type": "string"
|
|
2147
|
+
"type": "string | null"
|
|
2137
2148
|
},
|
|
2138
2149
|
{
|
|
2139
2150
|
"name": "ariaDescription",
|
|
2140
2151
|
"description": "Contextual information for assistive technology, should it be needed",
|
|
2141
|
-
"type": "string"
|
|
2152
|
+
"type": "string | null"
|
|
2142
2153
|
},
|
|
2143
2154
|
{
|
|
2144
2155
|
"name": "name",
|
|
2145
2156
|
"description": "The name of this input field in the form. The canonical source of the value is the text field.",
|
|
2146
|
-
"type": "string"
|
|
2157
|
+
"type": "string | undefined"
|
|
2147
2158
|
},
|
|
2148
2159
|
{
|
|
2149
2160
|
"name": "value",
|
|
2150
2161
|
"description": "The initial value, if any",
|
|
2151
|
-
"type": "string"
|
|
2162
|
+
"type": "string | undefined"
|
|
2152
2163
|
},
|
|
2153
2164
|
{
|
|
2154
2165
|
"name": "placeholder",
|
|
2155
2166
|
"description": "Placeholder in empty text fields",
|
|
2156
|
-
"type": "string"
|
|
2167
|
+
"type": "string | undefined"
|
|
2157
2168
|
}
|
|
2158
2169
|
],
|
|
2159
2170
|
"events": [
|
|
@@ -2178,7 +2189,7 @@
|
|
|
2178
2189
|
{
|
|
2179
2190
|
"name": "label",
|
|
2180
2191
|
"description": "The slider fieldset label. Required for proper accessibility.\n\nIf you need to display HTML, use the `label` slot instead (f. ex. `<legend class=\"sr-only\" slot=\"label\">Production year</legend>`)",
|
|
2181
|
-
"value": { "type": "string" }
|
|
2192
|
+
"value": { "type": "string | undefined" }
|
|
2182
2193
|
},
|
|
2183
2194
|
{
|
|
2184
2195
|
"name": "disabled",
|
|
@@ -2192,12 +2203,12 @@
|
|
|
2192
2203
|
{
|
|
2193
2204
|
"name": "error",
|
|
2194
2205
|
"description": "Validation error text, if any",
|
|
2195
|
-
"value": { "type": "string" }
|
|
2206
|
+
"value": { "type": "string | undefined" }
|
|
2196
2207
|
},
|
|
2197
2208
|
{
|
|
2198
2209
|
"name": "help-text",
|
|
2199
2210
|
"description": "Additional description to show below the fieldset",
|
|
2200
|
-
"value": { "type": "string" }
|
|
2211
|
+
"value": { "type": "string | undefined" }
|
|
2201
2212
|
},
|
|
2202
2213
|
{
|
|
2203
2214
|
"name": "invalid",
|
|
@@ -2212,27 +2223,27 @@
|
|
|
2212
2223
|
{
|
|
2213
2224
|
"name": "min",
|
|
2214
2225
|
"description": "The minimum allowed value in the range inputs",
|
|
2215
|
-
"value": { "type": "string", "default": "0" }
|
|
2226
|
+
"value": { "type": "string | undefined", "default": "0" }
|
|
2216
2227
|
},
|
|
2217
2228
|
{
|
|
2218
2229
|
"name": "max",
|
|
2219
2230
|
"description": "The maximum allowed value in the range inputs",
|
|
2220
|
-
"value": { "type": "string", "default": "100" }
|
|
2231
|
+
"value": { "type": "string | undefined", "default": "100" }
|
|
2221
2232
|
},
|
|
2222
2233
|
{
|
|
2223
2234
|
"name": "markers",
|
|
2224
2235
|
"description": "Pass a value similar to step to create visual markers at that interval",
|
|
2225
|
-
"value": { "type": "number" }
|
|
2236
|
+
"value": { "type": "number | undefined" }
|
|
2226
2237
|
},
|
|
2227
2238
|
{
|
|
2228
2239
|
"name": "step",
|
|
2229
2240
|
"description": "ets step on the range input to jump between values when dragging",
|
|
2230
|
-
"value": { "type": "number" }
|
|
2241
|
+
"value": { "type": "number | undefined" }
|
|
2231
2242
|
},
|
|
2232
2243
|
{
|
|
2233
2244
|
"name": "suffix",
|
|
2234
2245
|
"description": "Suffix used in text input fields and for the min and max values of the slider",
|
|
2235
|
-
"value": { "type": "string" }
|
|
2246
|
+
"value": { "type": "string | undefined" }
|
|
2236
2247
|
},
|
|
2237
2248
|
{
|
|
2238
2249
|
"name": "hidden-textfield",
|
|
@@ -2268,7 +2279,7 @@
|
|
|
2268
2279
|
{
|
|
2269
2280
|
"name": "label",
|
|
2270
2281
|
"description": "The slider fieldset label. Required for proper accessibility.\n\nIf you need to display HTML, use the `label` slot instead (f. ex. `<legend class=\"sr-only\" slot=\"label\">Production year</legend>`)",
|
|
2271
|
-
"type": "string"
|
|
2282
|
+
"type": "string | undefined"
|
|
2272
2283
|
},
|
|
2273
2284
|
{ "name": "disabled", "type": "boolean" },
|
|
2274
2285
|
{
|
|
@@ -2279,12 +2290,12 @@
|
|
|
2279
2290
|
{
|
|
2280
2291
|
"name": "error",
|
|
2281
2292
|
"description": "Validation error text, if any",
|
|
2282
|
-
"type": "string"
|
|
2293
|
+
"type": "string | undefined"
|
|
2283
2294
|
},
|
|
2284
2295
|
{
|
|
2285
2296
|
"name": "helpText",
|
|
2286
2297
|
"description": "Additional description to show below the fieldset",
|
|
2287
|
-
"type": "string"
|
|
2298
|
+
"type": "string | undefined"
|
|
2288
2299
|
},
|
|
2289
2300
|
{
|
|
2290
2301
|
"name": "invalid",
|
|
@@ -2299,27 +2310,27 @@
|
|
|
2299
2310
|
{
|
|
2300
2311
|
"name": "min",
|
|
2301
2312
|
"description": "The minimum allowed value in the range inputs",
|
|
2302
|
-
"type": "string"
|
|
2313
|
+
"type": "string | undefined"
|
|
2303
2314
|
},
|
|
2304
2315
|
{
|
|
2305
2316
|
"name": "max",
|
|
2306
2317
|
"description": "The maximum allowed value in the range inputs",
|
|
2307
|
-
"type": "string"
|
|
2318
|
+
"type": "string | undefined"
|
|
2308
2319
|
},
|
|
2309
2320
|
{
|
|
2310
2321
|
"name": "markers",
|
|
2311
2322
|
"description": "Pass a value similar to step to create visual markers at that interval",
|
|
2312
|
-
"type": "number"
|
|
2323
|
+
"type": "number | undefined"
|
|
2313
2324
|
},
|
|
2314
2325
|
{
|
|
2315
2326
|
"name": "step",
|
|
2316
2327
|
"description": "ets step on the range input to jump between values when dragging",
|
|
2317
|
-
"type": "number"
|
|
2328
|
+
"type": "number | undefined"
|
|
2318
2329
|
},
|
|
2319
2330
|
{
|
|
2320
2331
|
"name": "suffix",
|
|
2321
2332
|
"description": "Suffix used in text input fields and for the min and max values of the slider",
|
|
2322
|
-
"type": "string"
|
|
2333
|
+
"type": "string | undefined"
|
|
2323
2334
|
},
|
|
2324
2335
|
{
|
|
2325
2336
|
"name": "hiddenTextfield",
|
|
@@ -2329,17 +2340,17 @@
|
|
|
2329
2340
|
{
|
|
2330
2341
|
"name": "valueFormatter",
|
|
2331
2342
|
"description": "Formatter for the tooltip and input mask values",
|
|
2332
|
-
"type": "(value: string, slot: SliderSlot) => string"
|
|
2343
|
+
"type": "((value: string, slot: SliderSlot) => string) | undefined"
|
|
2333
2344
|
},
|
|
2334
2345
|
{
|
|
2335
2346
|
"name": "tooltipFormatter",
|
|
2336
2347
|
"description": "Overrides valueFormatter for the tooltip.\n\nUse in open-ended sliders to show for example \"300+ hk\" instead of \"Max\" in the tooltip.",
|
|
2337
|
-
"type": "(value: string, slot: SliderSlot) => string"
|
|
2348
|
+
"type": "((value: string, slot: SliderSlot) => string) | undefined"
|
|
2338
2349
|
},
|
|
2339
2350
|
{
|
|
2340
2351
|
"name": "labelFormatter",
|
|
2341
2352
|
"description": "Formatter for the min and max labels below the range.",
|
|
2342
|
-
"type": "(slot: SliderSlot) => string"
|
|
2353
|
+
"type": "((slot: SliderSlot) => string) | undefined"
|
|
2343
2354
|
}
|
|
2344
2355
|
],
|
|
2345
2356
|
"events": []
|
|
@@ -2541,7 +2552,7 @@
|
|
|
2541
2552
|
"name": "active",
|
|
2542
2553
|
"description": "The `id` of the panel that should be active.",
|
|
2543
2554
|
"value": {
|
|
2544
|
-
"type": "string",
|
|
2555
|
+
"type": "string | undefined",
|
|
2545
2556
|
"default": "\"\" (Shows the first tab)"
|
|
2546
2557
|
}
|
|
2547
2558
|
}
|
|
@@ -2558,7 +2569,7 @@
|
|
|
2558
2569
|
{
|
|
2559
2570
|
"name": "active",
|
|
2560
2571
|
"description": "The `id` of the panel that should be active.",
|
|
2561
|
-
"type": "string"
|
|
2572
|
+
"type": "string | undefined"
|
|
2562
2573
|
}
|
|
2563
2574
|
],
|
|
2564
2575
|
"events": [
|
|
@@ -2588,32 +2599,32 @@
|
|
|
2588
2599
|
{
|
|
2589
2600
|
"name": "label",
|
|
2590
2601
|
"description": "Either a `label` or an `aria-label` must be provided.",
|
|
2591
|
-
"value": { "type": "string" }
|
|
2602
|
+
"value": { "type": "string | undefined" }
|
|
2592
2603
|
},
|
|
2593
2604
|
{
|
|
2594
2605
|
"name": "help-text",
|
|
2595
2606
|
"description": "Use in combination with `invalid` to show as a validation error message,\nor on its own to show a help text.",
|
|
2596
|
-
"value": { "type": "string" }
|
|
2607
|
+
"value": { "type": "string | undefined" }
|
|
2597
2608
|
},
|
|
2598
2609
|
{
|
|
2599
2610
|
"name": "maximum-rows",
|
|
2600
2611
|
"description": "Sets the maximum number of text rows before the content starts scrolling.",
|
|
2601
|
-
"value": { "type": "number" }
|
|
2612
|
+
"value": { "type": "number | undefined" }
|
|
2602
2613
|
},
|
|
2603
2614
|
{
|
|
2604
2615
|
"name": "minimum-rows",
|
|
2605
2616
|
"description": "Sets the minimum number of text rows the textarea should display",
|
|
2606
|
-
"value": { "type": "number" }
|
|
2617
|
+
"value": { "type": "number | undefined" }
|
|
2607
2618
|
},
|
|
2608
2619
|
{
|
|
2609
2620
|
"name": "name",
|
|
2610
2621
|
"description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the input field when submitting the form",
|
|
2611
|
-
"value": { "type": "string" }
|
|
2622
|
+
"value": { "type": "string | undefined" }
|
|
2612
2623
|
},
|
|
2613
2624
|
{
|
|
2614
2625
|
"name": "placeholder",
|
|
2615
2626
|
"description": "Set a text that is shown in the textarea when it doesn't have a value.\n\nPlaceholder text should not be used as a substitute for labeling the element with a visible label.",
|
|
2616
|
-
"value": { "type": "string" }
|
|
2627
|
+
"value": { "type": "string | undefined" }
|
|
2617
2628
|
},
|
|
2618
2629
|
{
|
|
2619
2630
|
"name": "read-only",
|
|
@@ -2632,7 +2643,7 @@
|
|
|
2632
2643
|
{
|
|
2633
2644
|
"name": "value",
|
|
2634
2645
|
"description": "Lets you set the current value",
|
|
2635
|
-
"value": { "type": "string" }
|
|
2646
|
+
"value": { "type": "string | undefined" }
|
|
2636
2647
|
},
|
|
2637
2648
|
{
|
|
2638
2649
|
"name": "optional",
|
|
@@ -2656,32 +2667,32 @@
|
|
|
2656
2667
|
{
|
|
2657
2668
|
"name": "label",
|
|
2658
2669
|
"description": "Either a `label` or an `aria-label` must be provided.",
|
|
2659
|
-
"type": "string"
|
|
2670
|
+
"type": "string | undefined"
|
|
2660
2671
|
},
|
|
2661
2672
|
{
|
|
2662
2673
|
"name": "helpText",
|
|
2663
2674
|
"description": "Use in combination with `invalid` to show as a validation error message,\nor on its own to show a help text.",
|
|
2664
|
-
"type": "string"
|
|
2675
|
+
"type": "string | undefined"
|
|
2665
2676
|
},
|
|
2666
2677
|
{
|
|
2667
2678
|
"name": "maxRows",
|
|
2668
2679
|
"description": "Sets the maximum number of text rows before the content starts scrolling.",
|
|
2669
|
-
"type": "number"
|
|
2680
|
+
"type": "number | undefined"
|
|
2670
2681
|
},
|
|
2671
2682
|
{
|
|
2672
2683
|
"name": "minRows",
|
|
2673
2684
|
"description": "Sets the minimum number of text rows the textarea should display",
|
|
2674
|
-
"type": "number"
|
|
2685
|
+
"type": "number | undefined"
|
|
2675
2686
|
},
|
|
2676
2687
|
{
|
|
2677
2688
|
"name": "name",
|
|
2678
2689
|
"description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the input field when submitting the form",
|
|
2679
|
-
"type": "string"
|
|
2690
|
+
"type": "string | undefined"
|
|
2680
2691
|
},
|
|
2681
2692
|
{
|
|
2682
2693
|
"name": "placeholder",
|
|
2683
2694
|
"description": "Set a text that is shown in the textarea when it doesn't have a value.\n\nPlaceholder text should not be used as a substitute for labeling the element with a visible label.",
|
|
2684
|
-
"type": "string"
|
|
2695
|
+
"type": "string | undefined"
|
|
2685
2696
|
},
|
|
2686
2697
|
{ "name": "readOnly", "type": "boolean" },
|
|
2687
2698
|
{
|
|
@@ -2697,7 +2708,7 @@
|
|
|
2697
2708
|
{
|
|
2698
2709
|
"name": "value",
|
|
2699
2710
|
"description": "Lets you set the current value",
|
|
2700
|
-
"type": "string"
|
|
2711
|
+
"type": "string | undefined"
|
|
2701
2712
|
},
|
|
2702
2713
|
{
|
|
2703
2714
|
"name": "optional",
|