@warp-ds/elements 2.9.0-next.3 → 2.9.0-next.5
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 +3466 -3502
- package/dist/docs/affix/accessibility.md +8 -0
- package/dist/docs/affix/affix.md +178 -14
- package/dist/docs/affix/api.md +26 -14
- package/dist/docs/affix/examples.md +93 -0
- package/dist/docs/affix/usage.md +48 -0
- package/dist/docs/attention/accessibility.md +1 -0
- package/dist/docs/attention/attention.md +6 -0
- package/dist/docs/attention/examples.md +1 -0
- package/dist/docs/attention/usage.md +1 -0
- package/dist/docs/badge/accessibility.md +1 -0
- package/dist/docs/badge/badge.md +6 -0
- package/dist/docs/badge/examples.md +1 -0
- package/dist/docs/badge/usage.md +1 -0
- package/dist/docs/box/accessibility.md +1 -0
- package/dist/docs/box/box.md +6 -0
- package/dist/docs/box/examples.md +1 -0
- package/dist/docs/box/usage.md +1 -0
- package/dist/docs/breadcrumbs/accessibility.md +1 -0
- package/dist/docs/breadcrumbs/breadcrumbs.md +6 -0
- package/dist/docs/breadcrumbs/examples.md +1 -0
- package/dist/docs/breadcrumbs/usage.md +1 -0
- package/dist/docs/button/accessibility.md +1 -0
- package/dist/docs/button/button.md +6 -0
- package/dist/docs/button/examples.md +1 -0
- package/dist/docs/button/usage.md +1 -0
- package/dist/docs/card/accessibility.md +1 -0
- package/dist/docs/card/card.md +6 -0
- package/dist/docs/card/examples.md +1 -0
- package/dist/docs/card/usage.md +1 -0
- package/dist/docs/combobox/accessibility.md +1 -0
- package/dist/docs/combobox/api.md +15 -15
- package/dist/docs/combobox/combobox.md +21 -15
- package/dist/docs/combobox/examples.md +1 -0
- package/dist/docs/combobox/usage.md +1 -0
- package/dist/docs/datepicker/accessibility.md +1 -0
- package/dist/docs/datepicker/api.md +1 -9
- package/dist/docs/datepicker/datepicker.md +7 -9
- package/dist/docs/datepicker/examples.md +1 -0
- package/dist/docs/datepicker/usage.md +1 -0
- package/dist/docs/expandable/accessibility.md +1 -0
- package/dist/docs/expandable/examples.md +1 -0
- package/dist/docs/expandable/expandable.md +6 -0
- package/dist/docs/expandable/usage.md +1 -0
- package/dist/docs/link/accessibility.md +1 -0
- package/dist/docs/link/examples.md +1 -0
- package/dist/docs/link/link.md +6 -0
- package/dist/docs/link/usage.md +1 -0
- package/dist/docs/page-indicator/accessibility.md +1 -0
- package/dist/docs/page-indicator/api.md +2 -2
- package/dist/docs/page-indicator/examples.md +1 -0
- package/dist/docs/page-indicator/page-indicator.md +8 -2
- package/dist/docs/page-indicator/usage.md +1 -0
- package/dist/docs/pagination/accessibility.md +1 -0
- package/dist/docs/pagination/examples.md +1 -0
- package/dist/docs/pagination/pagination.md +6 -0
- package/dist/docs/pagination/usage.md +1 -0
- package/dist/docs/pill/accessibility.md +1 -0
- package/dist/docs/pill/examples.md +1 -0
- package/dist/docs/pill/pill.md +6 -0
- package/dist/docs/pill/usage.md +1 -0
- package/dist/docs/select/accessibility.md +1 -0
- package/dist/docs/select/api.md +19 -11
- package/dist/docs/select/examples.md +1 -0
- package/dist/docs/select/select.md +25 -11
- package/dist/docs/select/usage.md +1 -0
- package/dist/docs/slider/accessibility.md +1 -0
- package/dist/docs/slider/api.md +15 -9
- package/dist/docs/slider/examples.md +1 -0
- package/dist/docs/slider/slider.md +21 -9
- package/dist/docs/slider/usage.md +1 -0
- package/dist/docs/slider-thumb/accessibility.md +1 -0
- package/dist/docs/slider-thumb/api.md +48 -0
- package/dist/docs/slider-thumb/examples.md +1 -0
- package/dist/docs/slider-thumb/slider-thumb.md +54 -0
- package/dist/docs/slider-thumb/usage.md +1 -0
- package/dist/docs/step/accessibility.md +1 -0
- package/dist/docs/step/examples.md +1 -0
- package/dist/docs/step/step.md +6 -0
- package/dist/docs/step/usage.md +1 -0
- package/dist/docs/step-indicator/accessibility.md +1 -0
- package/dist/docs/step-indicator/examples.md +1 -0
- package/dist/docs/step-indicator/step-indicator.md +6 -0
- package/dist/docs/step-indicator/usage.md +1 -0
- package/dist/docs/switch/accessibility.md +1 -0
- package/dist/docs/switch/examples.md +1 -0
- package/dist/docs/switch/switch.md +6 -0
- package/dist/docs/switch/usage.md +1 -0
- package/dist/docs/tab/accessibility.md +1 -0
- package/dist/docs/tab/api.md +16 -0
- package/dist/docs/tab/examples.md +1 -0
- package/dist/docs/tab/tab.md +22 -0
- package/dist/docs/tab/usage.md +1 -0
- package/dist/docs/tab-panel/accessibility.md +1 -0
- package/dist/docs/tab-panel/api.md +16 -0
- package/dist/docs/tab-panel/examples.md +1 -0
- package/dist/docs/tab-panel/tab-panel.md +22 -0
- package/dist/docs/tab-panel/usage.md +1 -0
- package/dist/docs/tabs/accessibility.md +1 -0
- package/dist/docs/tabs/examples.md +1 -0
- package/dist/docs/tabs/tabs.md +6 -0
- package/dist/docs/tabs/usage.md +1 -0
- package/dist/docs/textarea/accessibility.md +1 -0
- package/dist/docs/textarea/examples.md +1 -0
- package/dist/docs/textarea/textarea.md +6 -0
- package/dist/docs/textarea/usage.md +1 -0
- package/dist/docs/textfield/accessibility.md +1 -0
- package/dist/docs/textfield/api.md +16 -6
- package/dist/docs/textfield/examples.md +1 -0
- package/dist/docs/textfield/textfield.md +22 -6
- package/dist/docs/textfield/usage.md +1 -0
- package/dist/docs/toast/accessibility.md +9 -0
- package/dist/docs/toast/api.md +71 -0
- package/dist/docs/toast/examples.md +29 -0
- package/dist/docs/toast/toast.md +150 -0
- package/dist/docs/toast/usage.md +31 -0
- package/dist/index.d.ts +312 -305
- package/dist/packages/affix/affix.d.ts +29 -6
- package/dist/packages/affix/affix.js +24 -11
- package/dist/packages/affix/affix.js.map +4 -4
- package/dist/packages/affix/affix.stories.d.ts +3 -0
- package/dist/packages/affix/affix.stories.js +16 -0
- package/dist/packages/affix/affix.test.js +7 -0
- package/dist/packages/affix/locales/da/messages.d.mts +1 -0
- package/dist/packages/affix/locales/da/messages.mjs +1 -0
- package/dist/packages/affix/locales/en/messages.d.mts +1 -0
- package/dist/packages/affix/locales/en/messages.mjs +1 -0
- package/dist/packages/affix/locales/fi/messages.d.mts +1 -0
- package/dist/packages/affix/locales/fi/messages.mjs +1 -0
- package/dist/packages/affix/locales/nb/messages.d.mts +1 -0
- package/dist/packages/affix/locales/nb/messages.mjs +1 -0
- package/dist/packages/affix/locales/sv/messages.d.mts +1 -0
- package/dist/packages/affix/locales/sv/messages.mjs +1 -0
- package/dist/packages/attention/attention.d.ts +52 -0
- package/dist/packages/attention/attention.js.map +2 -2
- package/dist/packages/badge/badge.d.ts +8 -0
- package/dist/packages/badge/badge.js.map +2 -2
- package/dist/packages/badge/badge.react.stories.d.ts +1 -1
- package/dist/packages/box/box.d.ts +20 -0
- package/dist/packages/box/box.js.map +2 -2
- package/dist/packages/box/box.react.stories.d.ts +1 -1
- package/dist/packages/breadcrumbs/breadcrumbs.react.stories.d.ts +1 -1
- package/dist/packages/button/button.d.ts +60 -2
- package/dist/packages/button/button.js.map +2 -2
- package/dist/packages/button/button.react.stories.d.ts +1 -1
- package/dist/packages/card/card.d.ts +12 -0
- package/dist/packages/card/card.js.map +2 -2
- package/dist/packages/card/card.react.stories.d.ts +1 -1
- package/dist/packages/combobox/combobox.d.ts +60 -15
- package/dist/packages/combobox/combobox.js.map +2 -2
- package/dist/packages/combobox/combobox.react.stories.d.ts +1 -1
- package/dist/packages/datepicker/datepicker.d.ts +32 -5
- package/dist/packages/datepicker/datepicker.js.map +2 -2
- package/dist/packages/datepicker/datepicker.react.stories.d.ts +1 -1
- package/dist/packages/expandable/expandable.d.ts +44 -0
- package/dist/packages/expandable/expandable.js.map +2 -2
- package/dist/packages/expandable/expandable.react.stories.d.ts +1 -1
- package/dist/packages/link/link.d.ts +32 -0
- package/dist/packages/link/link.js.map +2 -2
- package/dist/packages/link/link.react.stories.d.ts +1 -1
- package/dist/packages/page-indicator/page-indicator.d.ts +8 -2
- package/dist/packages/page-indicator/page-indicator.js.map +2 -2
- package/dist/packages/page-indicator/page-indicator.react.stories.d.ts +1 -1
- package/dist/packages/pagination/pagination.d.ts +16 -0
- package/dist/packages/pagination/pagination.js.map +2 -2
- package/dist/packages/pagination/pagination.react.stories.d.ts +1 -1
- package/dist/packages/pill/pill.d.ts +24 -2
- package/dist/packages/pill/pill.js.map +2 -2
- package/dist/packages/pill/pill.react.stories.d.ts +1 -1
- package/dist/packages/select/select.d.ts +56 -12
- package/dist/packages/select/select.js.map +2 -2
- package/dist/packages/select/select.react.stories.d.ts +1 -1
- package/dist/packages/slider/slider.d.ts +65 -8
- package/dist/packages/slider/slider.js +7 -7
- package/dist/packages/slider/slider.js.map +3 -3
- package/dist/packages/slider/slider.test.js +68 -0
- package/dist/packages/slider-thumb/slider-thumb.d.ts +44 -6
- package/dist/packages/slider-thumb/slider-thumb.js +24 -23
- package/dist/packages/slider-thumb/slider-thumb.js.map +3 -3
- package/dist/packages/step/step.d.ts +8 -0
- package/dist/packages/step/step.js.map +2 -2
- package/dist/packages/step-indicator/step-indicator.d.ts +8 -0
- package/dist/packages/step-indicator/step-indicator.js.map +2 -2
- package/dist/packages/switch/switch.d.ts +16 -0
- package/dist/packages/switch/switch.js.map +2 -2
- package/dist/packages/tab/tab.d.ts +28 -3
- package/dist/packages/tab/tab.js.map +2 -2
- package/dist/packages/tab-panel/tab-panel.d.ts +8 -2
- package/dist/packages/tab-panel/tab-panel.js.map +2 -2
- package/dist/packages/tabs/tabs.d.ts +4 -0
- package/dist/packages/tabs/tabs.js.map +2 -2
- package/dist/packages/textarea/textarea.d.ts +52 -1
- package/dist/packages/textarea/textarea.js.map +2 -2
- package/dist/packages/textarea/textarea.react.stories.d.ts +1 -1
- package/dist/packages/textfield/textfield.d.ts +92 -4
- package/dist/packages/textfield/textfield.js.map +2 -2
- package/dist/packages/textfield/textfield.react.stories.d.ts +1 -1
- package/dist/packages/textfield/textfield.stories.d.ts +3 -0
- package/dist/packages/textfield/textfield.stories.js +45 -0
- package/dist/packages/toast-container/toast-container.d.ts +14 -0
- package/dist/packages/toast-container/toast-container.js.map +2 -2
- package/dist/web-types.json +154 -286
- package/package.json +3 -3
- package/dist/docs/toast-container/api.md +0 -14
- package/dist/docs/toast-container/toast-container.md +0 -20
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { WIcon } from "./packages/icon/icon.ts";
|
|
2
|
+
import type { WarpTextField } from "./packages/textfield/textfield.ts";
|
|
2
3
|
import type { WarpAffix } from "./packages/affix/affix.ts";
|
|
3
4
|
import type { WarpAlert } from "./packages/alert/alert.ts";
|
|
4
5
|
import type { WarpLink } from "./packages/link/link.ts";
|
|
@@ -22,7 +23,6 @@ import type { WarpPill } from "./packages/pill/pill.ts";
|
|
|
22
23
|
import type { WRadio } from "./packages/radio/radio.ts";
|
|
23
24
|
import type { WRadioGroup } from "./packages/radio-group/radio-group.ts";
|
|
24
25
|
import type { WarpSelect } from "./packages/select/select.ts";
|
|
25
|
-
import type { WarpTextField } from "./packages/textfield/textfield.ts";
|
|
26
26
|
import type { WarpSliderThumb } from "./packages/slider-thumb/slider-thumb.ts";
|
|
27
27
|
import type { WarpSlider } from "./packages/slider/slider.ts";
|
|
28
28
|
import type { WarpStep } from "./packages/step/step.ts";
|
|
@@ -32,7 +32,6 @@ import type { WarpTab } from "./packages/tab/tab.ts";
|
|
|
32
32
|
import type { WarpTabPanel } from "./packages/tab-panel/tab-panel.ts";
|
|
33
33
|
import type { WarpTabs } from "./packages/tabs/tabs.ts";
|
|
34
34
|
import type { WarpTextarea } from "./packages/textarea/textarea.ts";
|
|
35
|
-
import type { WarpToastContainer } from "./packages/toast-container/toast-container.ts";
|
|
36
35
|
|
|
37
36
|
/**
|
|
38
37
|
* This type can be used to create scoped tags for your components.
|
|
@@ -129,6 +128,125 @@ export type WIconSolidJsProps = {
|
|
|
129
128
|
textContent?: string | number;
|
|
130
129
|
};
|
|
131
130
|
|
|
131
|
+
export type WarpTextFieldProps = {
|
|
132
|
+
/** */
|
|
133
|
+
disabled?: WarpTextField["disabled"];
|
|
134
|
+
/** */
|
|
135
|
+
invalid?: WarpTextField["invalid"];
|
|
136
|
+
/** */
|
|
137
|
+
id?: WarpTextField["id"];
|
|
138
|
+
/** */
|
|
139
|
+
label?: WarpTextField["label"];
|
|
140
|
+
/** */
|
|
141
|
+
"help-text"?: WarpTextField["helpText"];
|
|
142
|
+
/** */
|
|
143
|
+
helpText?: WarpTextField["helpText"];
|
|
144
|
+
/** */
|
|
145
|
+
size?: WarpTextField["size"];
|
|
146
|
+
/** */
|
|
147
|
+
max?: WarpTextField["max"];
|
|
148
|
+
/** */
|
|
149
|
+
min?: WarpTextField["min"];
|
|
150
|
+
/** */
|
|
151
|
+
"min-length"?: WarpTextField["minLength"];
|
|
152
|
+
/** */
|
|
153
|
+
minLength?: WarpTextField["minLength"];
|
|
154
|
+
/** */
|
|
155
|
+
"max-length"?: WarpTextField["maxLength"];
|
|
156
|
+
/** */
|
|
157
|
+
maxLength?: WarpTextField["maxLength"];
|
|
158
|
+
/** */
|
|
159
|
+
pattern?: WarpTextField["pattern"];
|
|
160
|
+
/** */
|
|
161
|
+
placeholder?: WarpTextField["placeholder"];
|
|
162
|
+
/** @deprecated Use the native readonly attribute instead. */
|
|
163
|
+
"read-only"?: WarpTextField["readOnly"];
|
|
164
|
+
/** @deprecated Use the native readonly attribute instead. */
|
|
165
|
+
readOnly?: WarpTextField["readOnly"];
|
|
166
|
+
/** */
|
|
167
|
+
readonly?: WarpTextField["readonly"];
|
|
168
|
+
/** */
|
|
169
|
+
required?: WarpTextField["required"];
|
|
170
|
+
/** */
|
|
171
|
+
type?: WarpTextField["type"];
|
|
172
|
+
/** */
|
|
173
|
+
value?: WarpTextField["value"];
|
|
174
|
+
/** */
|
|
175
|
+
name?: WarpTextField["name"];
|
|
176
|
+
/** */
|
|
177
|
+
step?: WarpTextField["step"];
|
|
178
|
+
/** */
|
|
179
|
+
autocomplete?: WarpTextField["autocomplete"];
|
|
180
|
+
/** */
|
|
181
|
+
formatter?: WarpTextField["formatter"];
|
|
182
|
+
/** */
|
|
183
|
+
_hasPrefix?: WarpTextField["_hasPrefix"];
|
|
184
|
+
/** */
|
|
185
|
+
_hasSuffix?: WarpTextField["_hasSuffix"];
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
export type WarpTextFieldSolidJsProps = {
|
|
189
|
+
/** */
|
|
190
|
+
"prop:disabled"?: WarpTextField["disabled"];
|
|
191
|
+
/** */
|
|
192
|
+
"prop:invalid"?: WarpTextField["invalid"];
|
|
193
|
+
/** */
|
|
194
|
+
"prop:id"?: WarpTextField["id"];
|
|
195
|
+
/** */
|
|
196
|
+
"prop:label"?: WarpTextField["label"];
|
|
197
|
+
/** */
|
|
198
|
+
"attr:help-text"?: WarpTextField["helpText"];
|
|
199
|
+
/** */
|
|
200
|
+
"prop:helpText"?: WarpTextField["helpText"];
|
|
201
|
+
/** */
|
|
202
|
+
"prop:size"?: WarpTextField["size"];
|
|
203
|
+
/** */
|
|
204
|
+
"prop:max"?: WarpTextField["max"];
|
|
205
|
+
/** */
|
|
206
|
+
"prop:min"?: WarpTextField["min"];
|
|
207
|
+
/** */
|
|
208
|
+
"attr:min-length"?: WarpTextField["minLength"];
|
|
209
|
+
/** */
|
|
210
|
+
"prop:minLength"?: WarpTextField["minLength"];
|
|
211
|
+
/** */
|
|
212
|
+
"attr:max-length"?: WarpTextField["maxLength"];
|
|
213
|
+
/** */
|
|
214
|
+
"prop:maxLength"?: WarpTextField["maxLength"];
|
|
215
|
+
/** */
|
|
216
|
+
"prop:pattern"?: WarpTextField["pattern"];
|
|
217
|
+
/** */
|
|
218
|
+
"prop:placeholder"?: WarpTextField["placeholder"];
|
|
219
|
+
/** @deprecated Use the native readonly attribute instead. */
|
|
220
|
+
"bool:read-only"?: WarpTextField["readOnly"];
|
|
221
|
+
/** @deprecated Use the native readonly attribute instead. */
|
|
222
|
+
"prop:readOnly"?: WarpTextField["readOnly"];
|
|
223
|
+
/** */
|
|
224
|
+
"prop:readonly"?: WarpTextField["readonly"];
|
|
225
|
+
/** */
|
|
226
|
+
"prop:required"?: WarpTextField["required"];
|
|
227
|
+
/** */
|
|
228
|
+
"prop:type"?: WarpTextField["type"];
|
|
229
|
+
/** */
|
|
230
|
+
"prop:value"?: WarpTextField["value"];
|
|
231
|
+
/** */
|
|
232
|
+
"prop:name"?: WarpTextField["name"];
|
|
233
|
+
/** */
|
|
234
|
+
"prop:step"?: WarpTextField["step"];
|
|
235
|
+
/** */
|
|
236
|
+
"prop:autocomplete"?: WarpTextField["autocomplete"];
|
|
237
|
+
/** */
|
|
238
|
+
"prop:formatter"?: WarpTextField["formatter"];
|
|
239
|
+
/** */
|
|
240
|
+
"prop:_hasPrefix"?: WarpTextField["_hasPrefix"];
|
|
241
|
+
/** */
|
|
242
|
+
"prop:_hasSuffix"?: WarpTextField["_hasSuffix"];
|
|
243
|
+
|
|
244
|
+
/** Set the innerHTML of the element */
|
|
245
|
+
innerHTML?: string;
|
|
246
|
+
/** Set the textContent of the element */
|
|
247
|
+
textContent?: string | number;
|
|
248
|
+
};
|
|
249
|
+
|
|
132
250
|
export type WarpAffixProps = {
|
|
133
251
|
/** */
|
|
134
252
|
"aria-label"?: WarpAffix["ariaLabel"];
|
|
@@ -138,12 +256,12 @@ export type WarpAffixProps = {
|
|
|
138
256
|
|
|
139
257
|
Set an `aria-label` that explains the action when using this. */
|
|
140
258
|
clear?: WarpAffix["clear"];
|
|
141
|
-
/** Add this property to render a clickable Warp search icon.
|
|
142
|
-
|
|
143
|
-
Set an `aria-label` that explains the action when using this. */
|
|
259
|
+
/** Add this property to render a clickable Warp search icon. */
|
|
144
260
|
search?: WarpAffix["search"];
|
|
145
261
|
/** */
|
|
146
262
|
label?: WarpAffix["label"];
|
|
263
|
+
/** */
|
|
264
|
+
icon?: WarpAffix["icon"];
|
|
147
265
|
};
|
|
148
266
|
|
|
149
267
|
export type WarpAffixSolidJsProps = {
|
|
@@ -155,12 +273,12 @@ export type WarpAffixSolidJsProps = {
|
|
|
155
273
|
|
|
156
274
|
Set an `aria-label` that explains the action when using this. */
|
|
157
275
|
"prop:clear"?: WarpAffix["clear"];
|
|
158
|
-
/** Add this property to render a clickable Warp search icon.
|
|
159
|
-
|
|
160
|
-
Set an `aria-label` that explains the action when using this. */
|
|
276
|
+
/** Add this property to render a clickable Warp search icon. */
|
|
161
277
|
"prop:search"?: WarpAffix["search"];
|
|
162
278
|
/** */
|
|
163
279
|
"prop:label"?: WarpAffix["label"];
|
|
280
|
+
/** */
|
|
281
|
+
"prop:icon"?: WarpAffix["icon"];
|
|
164
282
|
|
|
165
283
|
/** Set the innerHTML of the element */
|
|
166
284
|
innerHTML?: string;
|
|
@@ -715,9 +833,7 @@ The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/form
|
|
|
715
833
|
|
|
716
834
|
The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
|
|
717
835
|
dayFormat?: WarpDatepicker["dayFormat"];
|
|
718
|
-
/**
|
|
719
|
-
|
|
720
|
-
This needs to be set on the element instance in JavaScript, not as an HTML attribute. */
|
|
836
|
+
/** */
|
|
721
837
|
isDayDisabled?: WarpDatepicker["isDayDisabled"];
|
|
722
838
|
/** */
|
|
723
839
|
isCalendarOpen?: WarpDatepicker["isCalendarOpen"];
|
|
@@ -776,9 +892,7 @@ The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/form
|
|
|
776
892
|
|
|
777
893
|
The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
|
|
778
894
|
"prop:dayFormat"?: WarpDatepicker["dayFormat"];
|
|
779
|
-
/**
|
|
780
|
-
|
|
781
|
-
This needs to be set on the element instance in JavaScript, not as an HTML attribute. */
|
|
895
|
+
/** */
|
|
782
896
|
"prop:isDayDisabled"?: WarpDatepicker["isDayDisabled"];
|
|
783
897
|
/** */
|
|
784
898
|
"prop:isCalendarOpen"?: WarpDatepicker["isCalendarOpen"];
|
|
@@ -1247,6 +1361,8 @@ export type WarpSelectProps = {
|
|
|
1247
1361
|
name?: WarpSelect["name"];
|
|
1248
1362
|
/** */
|
|
1249
1363
|
value?: WarpSelect["value"];
|
|
1364
|
+
/** */
|
|
1365
|
+
_options?: WarpSelect["_options"];
|
|
1250
1366
|
|
|
1251
1367
|
/** */
|
|
1252
1368
|
onchange?: (e: CustomEvent) => void;
|
|
@@ -1286,130 +1402,9 @@ export type WarpSelectSolidJsProps = {
|
|
|
1286
1402
|
/** */
|
|
1287
1403
|
"prop:value"?: WarpSelect["value"];
|
|
1288
1404
|
/** */
|
|
1289
|
-
"
|
|
1290
|
-
|
|
1291
|
-
/** Set the innerHTML of the element */
|
|
1292
|
-
innerHTML?: string;
|
|
1293
|
-
/** Set the textContent of the element */
|
|
1294
|
-
textContent?: string | number;
|
|
1295
|
-
};
|
|
1296
|
-
|
|
1297
|
-
export type WarpTextFieldProps = {
|
|
1405
|
+
"prop:_options"?: WarpSelect["_options"];
|
|
1298
1406
|
/** */
|
|
1299
|
-
|
|
1300
|
-
/** */
|
|
1301
|
-
invalid?: WarpTextField["invalid"];
|
|
1302
|
-
/** */
|
|
1303
|
-
id?: WarpTextField["id"];
|
|
1304
|
-
/** */
|
|
1305
|
-
label?: WarpTextField["label"];
|
|
1306
|
-
/** */
|
|
1307
|
-
"help-text"?: WarpTextField["helpText"];
|
|
1308
|
-
/** */
|
|
1309
|
-
helpText?: WarpTextField["helpText"];
|
|
1310
|
-
/** */
|
|
1311
|
-
size?: WarpTextField["size"];
|
|
1312
|
-
/** */
|
|
1313
|
-
max?: WarpTextField["max"];
|
|
1314
|
-
/** */
|
|
1315
|
-
min?: WarpTextField["min"];
|
|
1316
|
-
/** */
|
|
1317
|
-
"min-length"?: WarpTextField["minLength"];
|
|
1318
|
-
/** */
|
|
1319
|
-
minLength?: WarpTextField["minLength"];
|
|
1320
|
-
/** */
|
|
1321
|
-
"max-length"?: WarpTextField["maxLength"];
|
|
1322
|
-
/** */
|
|
1323
|
-
maxLength?: WarpTextField["maxLength"];
|
|
1324
|
-
/** */
|
|
1325
|
-
pattern?: WarpTextField["pattern"];
|
|
1326
|
-
/** */
|
|
1327
|
-
placeholder?: WarpTextField["placeholder"];
|
|
1328
|
-
/** @deprecated Use the native readonly attribute instead. */
|
|
1329
|
-
"read-only"?: WarpTextField["readOnly"];
|
|
1330
|
-
/** @deprecated Use the native readonly attribute instead. */
|
|
1331
|
-
readOnly?: WarpTextField["readOnly"];
|
|
1332
|
-
/** */
|
|
1333
|
-
readonly?: WarpTextField["readonly"];
|
|
1334
|
-
/** */
|
|
1335
|
-
required?: WarpTextField["required"];
|
|
1336
|
-
/** */
|
|
1337
|
-
type?: WarpTextField["type"];
|
|
1338
|
-
/** */
|
|
1339
|
-
value?: WarpTextField["value"];
|
|
1340
|
-
/** */
|
|
1341
|
-
name?: WarpTextField["name"];
|
|
1342
|
-
/** */
|
|
1343
|
-
step?: WarpTextField["step"];
|
|
1344
|
-
/** */
|
|
1345
|
-
autocomplete?: WarpTextField["autocomplete"];
|
|
1346
|
-
/** Function to format value when the input field.
|
|
1347
|
-
|
|
1348
|
-
Only active when the input field does not have focus,
|
|
1349
|
-
similar to the accessible input masking example from Filament Group
|
|
1350
|
-
|
|
1351
|
-
https://css-tricks.com/input-masking/
|
|
1352
|
-
https://filamentgroup.github.io/politespace/demo/demo.html */
|
|
1353
|
-
formatter?: WarpTextField["formatter"];
|
|
1354
|
-
};
|
|
1355
|
-
|
|
1356
|
-
export type WarpTextFieldSolidJsProps = {
|
|
1357
|
-
/** */
|
|
1358
|
-
"prop:disabled"?: WarpTextField["disabled"];
|
|
1359
|
-
/** */
|
|
1360
|
-
"prop:invalid"?: WarpTextField["invalid"];
|
|
1361
|
-
/** */
|
|
1362
|
-
"prop:id"?: WarpTextField["id"];
|
|
1363
|
-
/** */
|
|
1364
|
-
"prop:label"?: WarpTextField["label"];
|
|
1365
|
-
/** */
|
|
1366
|
-
"attr:help-text"?: WarpTextField["helpText"];
|
|
1367
|
-
/** */
|
|
1368
|
-
"prop:helpText"?: WarpTextField["helpText"];
|
|
1369
|
-
/** */
|
|
1370
|
-
"prop:size"?: WarpTextField["size"];
|
|
1371
|
-
/** */
|
|
1372
|
-
"prop:max"?: WarpTextField["max"];
|
|
1373
|
-
/** */
|
|
1374
|
-
"prop:min"?: WarpTextField["min"];
|
|
1375
|
-
/** */
|
|
1376
|
-
"attr:min-length"?: WarpTextField["minLength"];
|
|
1377
|
-
/** */
|
|
1378
|
-
"prop:minLength"?: WarpTextField["minLength"];
|
|
1379
|
-
/** */
|
|
1380
|
-
"attr:max-length"?: WarpTextField["maxLength"];
|
|
1381
|
-
/** */
|
|
1382
|
-
"prop:maxLength"?: WarpTextField["maxLength"];
|
|
1383
|
-
/** */
|
|
1384
|
-
"prop:pattern"?: WarpTextField["pattern"];
|
|
1385
|
-
/** */
|
|
1386
|
-
"prop:placeholder"?: WarpTextField["placeholder"];
|
|
1387
|
-
/** @deprecated Use the native readonly attribute instead. */
|
|
1388
|
-
"bool:read-only"?: WarpTextField["readOnly"];
|
|
1389
|
-
/** @deprecated Use the native readonly attribute instead. */
|
|
1390
|
-
"prop:readOnly"?: WarpTextField["readOnly"];
|
|
1391
|
-
/** */
|
|
1392
|
-
"prop:readonly"?: WarpTextField["readonly"];
|
|
1393
|
-
/** */
|
|
1394
|
-
"prop:required"?: WarpTextField["required"];
|
|
1395
|
-
/** */
|
|
1396
|
-
"prop:type"?: WarpTextField["type"];
|
|
1397
|
-
/** */
|
|
1398
|
-
"prop:value"?: WarpTextField["value"];
|
|
1399
|
-
/** */
|
|
1400
|
-
"prop:name"?: WarpTextField["name"];
|
|
1401
|
-
/** */
|
|
1402
|
-
"prop:step"?: WarpTextField["step"];
|
|
1403
|
-
/** */
|
|
1404
|
-
"prop:autocomplete"?: WarpTextField["autocomplete"];
|
|
1405
|
-
/** Function to format value when the input field.
|
|
1406
|
-
|
|
1407
|
-
Only active when the input field does not have focus,
|
|
1408
|
-
similar to the accessible input masking example from Filament Group
|
|
1409
|
-
|
|
1410
|
-
https://css-tricks.com/input-masking/
|
|
1411
|
-
https://filamentgroup.github.io/politespace/demo/demo.html */
|
|
1412
|
-
"prop:formatter"?: WarpTextField["formatter"];
|
|
1407
|
+
"on:change"?: (e: CustomEvent) => void;
|
|
1413
1408
|
|
|
1414
1409
|
/** Set the innerHTML of the element */
|
|
1415
1410
|
innerHTML?: string;
|
|
@@ -1438,6 +1433,18 @@ export type WarpSliderThumbProps = {
|
|
|
1438
1433
|
tooltipTarget?: WarpSliderThumb["tooltipTarget"];
|
|
1439
1434
|
/** */
|
|
1440
1435
|
textfield?: WarpSliderThumb["textfield"];
|
|
1436
|
+
/** */
|
|
1437
|
+
disabled?: WarpSliderThumb["disabled"];
|
|
1438
|
+
/** */
|
|
1439
|
+
invalid?: WarpSliderThumb["invalid"];
|
|
1440
|
+
/** */
|
|
1441
|
+
openEnded?: WarpSliderThumb["openEnded"];
|
|
1442
|
+
/** */
|
|
1443
|
+
valueFormatter?: WarpSliderThumb["valueFormatter"];
|
|
1444
|
+
/** */
|
|
1445
|
+
tooltipFormatter?: WarpSliderThumb["tooltipFormatter"];
|
|
1446
|
+
/** */
|
|
1447
|
+
labelFormatter?: WarpSliderThumb["labelFormatter"];
|
|
1441
1448
|
|
|
1442
1449
|
/** */
|
|
1443
1450
|
onthumbreset?: (e: CustomEvent) => void;
|
|
@@ -1467,6 +1474,18 @@ export type WarpSliderThumbSolidJsProps = {
|
|
|
1467
1474
|
/** */
|
|
1468
1475
|
"prop:textfield"?: WarpSliderThumb["textfield"];
|
|
1469
1476
|
/** */
|
|
1477
|
+
"prop:disabled"?: WarpSliderThumb["disabled"];
|
|
1478
|
+
/** */
|
|
1479
|
+
"prop:invalid"?: WarpSliderThumb["invalid"];
|
|
1480
|
+
/** */
|
|
1481
|
+
"prop:openEnded"?: WarpSliderThumb["openEnded"];
|
|
1482
|
+
/** */
|
|
1483
|
+
"prop:valueFormatter"?: WarpSliderThumb["valueFormatter"];
|
|
1484
|
+
/** */
|
|
1485
|
+
"prop:tooltipFormatter"?: WarpSliderThumb["tooltipFormatter"];
|
|
1486
|
+
/** */
|
|
1487
|
+
"prop:labelFormatter"?: WarpSliderThumb["labelFormatter"];
|
|
1488
|
+
/** */
|
|
1470
1489
|
"on:thumbreset"?: (e: CustomEvent) => void;
|
|
1471
1490
|
/** */
|
|
1472
1491
|
"on:slidervalidity"?: (e: CustomEvent) => void;
|
|
@@ -1512,13 +1531,15 @@ If you need to display HTML, use the `label` slot instead (f. ex. `<legend class
|
|
|
1512
1531
|
"hidden-textfield"?: WarpSlider["hiddenTextfield"];
|
|
1513
1532
|
/** */
|
|
1514
1533
|
hiddenTextfield?: WarpSlider["hiddenTextfield"];
|
|
1515
|
-
/**
|
|
1534
|
+
/** */
|
|
1516
1535
|
valueFormatter?: WarpSlider["valueFormatter"];
|
|
1517
|
-
/**
|
|
1536
|
+
/** */
|
|
1518
1537
|
tooltipFormatter?: WarpSlider["tooltipFormatter"];
|
|
1519
|
-
/**
|
|
1538
|
+
/** */
|
|
1520
1539
|
labelFormatter?: WarpSlider["labelFormatter"];
|
|
1521
1540
|
/** */
|
|
1541
|
+
fieldset?: WarpSlider["fieldset"];
|
|
1542
|
+
/** */
|
|
1522
1543
|
_invalidMessage?: WarpSlider["_invalidMessage"];
|
|
1523
1544
|
/** */
|
|
1524
1545
|
_hasInternalError?: WarpSlider["_hasInternalError"];
|
|
@@ -1563,13 +1584,15 @@ If you need to display HTML, use the `label` slot instead (f. ex. `<legend class
|
|
|
1563
1584
|
"bool:hidden-textfield"?: WarpSlider["hiddenTextfield"];
|
|
1564
1585
|
/** */
|
|
1565
1586
|
"prop:hiddenTextfield"?: WarpSlider["hiddenTextfield"];
|
|
1566
|
-
/**
|
|
1587
|
+
/** */
|
|
1567
1588
|
"prop:valueFormatter"?: WarpSlider["valueFormatter"];
|
|
1568
|
-
/**
|
|
1589
|
+
/** */
|
|
1569
1590
|
"prop:tooltipFormatter"?: WarpSlider["tooltipFormatter"];
|
|
1570
|
-
/**
|
|
1591
|
+
/** */
|
|
1571
1592
|
"prop:labelFormatter"?: WarpSlider["labelFormatter"];
|
|
1572
1593
|
/** */
|
|
1594
|
+
"prop:fieldset"?: WarpSlider["fieldset"];
|
|
1595
|
+
/** */
|
|
1573
1596
|
"prop:_invalidMessage"?: WarpSlider["_invalidMessage"];
|
|
1574
1597
|
/** */
|
|
1575
1598
|
"prop:_hasInternalError"?: WarpSlider["_hasInternalError"];
|
|
@@ -1673,6 +1696,10 @@ export type WarpTabProps = {
|
|
|
1673
1696
|
over?: WarpTab["over"];
|
|
1674
1697
|
/** Override tabIndex setter to set _parentTabIndex (for backwards compatibility). */
|
|
1675
1698
|
tabIndex?: WarpTab["tabIndex"];
|
|
1699
|
+
/** */
|
|
1700
|
+
_parentTabIndex?: WarpTab["_parentTabIndex"];
|
|
1701
|
+
/** */
|
|
1702
|
+
_parentAriaSelected?: WarpTab["_parentAriaSelected"];
|
|
1676
1703
|
};
|
|
1677
1704
|
|
|
1678
1705
|
export type WarpTabSolidJsProps = {
|
|
@@ -1694,6 +1721,10 @@ export type WarpTabSolidJsProps = {
|
|
|
1694
1721
|
"prop:over"?: WarpTab["over"];
|
|
1695
1722
|
/** Override tabIndex setter to set _parentTabIndex (for backwards compatibility). */
|
|
1696
1723
|
"prop:tabIndex"?: WarpTab["tabIndex"];
|
|
1724
|
+
/** */
|
|
1725
|
+
"prop:_parentTabIndex"?: WarpTab["_parentTabIndex"];
|
|
1726
|
+
/** */
|
|
1727
|
+
"prop:_parentAriaSelected"?: WarpTab["_parentAriaSelected"];
|
|
1697
1728
|
|
|
1698
1729
|
/** Set the innerHTML of the element */
|
|
1699
1730
|
innerHTML?: string;
|
|
@@ -1705,12 +1736,20 @@ export type WarpTabPanelProps = {
|
|
|
1705
1736
|
/** Whether this panel is active (visible).
|
|
1706
1737
|
Set by parent w-tabs via the _parentActive property. */
|
|
1707
1738
|
active?: WarpTabPanel["active"];
|
|
1739
|
+
/** */
|
|
1740
|
+
_parentActive?: WarpTabPanel["_parentActive"];
|
|
1741
|
+
/** */
|
|
1742
|
+
_parentAriaLabelledBy?: WarpTabPanel["_parentAriaLabelledBy"];
|
|
1708
1743
|
};
|
|
1709
1744
|
|
|
1710
1745
|
export type WarpTabPanelSolidJsProps = {
|
|
1711
1746
|
/** Whether this panel is active (visible).
|
|
1712
1747
|
Set by parent w-tabs via the _parentActive property. */
|
|
1713
1748
|
"prop:active"?: WarpTabPanel["active"];
|
|
1749
|
+
/** */
|
|
1750
|
+
"prop:_parentActive"?: WarpTabPanel["_parentActive"];
|
|
1751
|
+
/** */
|
|
1752
|
+
"prop:_parentAriaLabelledBy"?: WarpTabPanel["_parentAriaLabelledBy"];
|
|
1714
1753
|
|
|
1715
1754
|
/** Set the innerHTML of the element */
|
|
1716
1755
|
innerHTML?: string;
|
|
@@ -1825,15 +1864,6 @@ export type WarpTextareaSolidJsProps = {
|
|
|
1825
1864
|
textContent?: string | number;
|
|
1826
1865
|
};
|
|
1827
1866
|
|
|
1828
|
-
export type WarpToastContainerProps = {};
|
|
1829
|
-
|
|
1830
|
-
export type WarpToastContainerSolidJsProps = {
|
|
1831
|
-
/** Set the innerHTML of the element */
|
|
1832
|
-
innerHTML?: string;
|
|
1833
|
-
/** Set the textContent of the element */
|
|
1834
|
-
textContent?: string | number;
|
|
1835
|
-
};
|
|
1836
|
-
|
|
1837
1867
|
export type CustomElements = {
|
|
1838
1868
|
/**
|
|
1839
1869
|
*
|
|
@@ -1848,6 +1878,52 @@ export type CustomElements = {
|
|
|
1848
1878
|
*/
|
|
1849
1879
|
"w-icon": Partial<WIconProps & BaseProps<WIcon> & BaseEvents>;
|
|
1850
1880
|
|
|
1881
|
+
/**
|
|
1882
|
+
* A single line text input element.
|
|
1883
|
+
*
|
|
1884
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)
|
|
1885
|
+
*
|
|
1886
|
+
* ## Attributes & Properties
|
|
1887
|
+
*
|
|
1888
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1889
|
+
*
|
|
1890
|
+
* - `disabled`: undefined
|
|
1891
|
+
* - `invalid`: undefined
|
|
1892
|
+
* - `id`: undefined
|
|
1893
|
+
* - `label`: undefined
|
|
1894
|
+
* - `help-text`/`helpText`: undefined
|
|
1895
|
+
* - `size`: undefined
|
|
1896
|
+
* - `max`: undefined
|
|
1897
|
+
* - `min`: undefined
|
|
1898
|
+
* - `min-length`/`minLength`: undefined
|
|
1899
|
+
* - `max-length`/`maxLength`: undefined
|
|
1900
|
+
* - `pattern`: undefined
|
|
1901
|
+
* - `placeholder`: undefined
|
|
1902
|
+
* - `read-only`/`readOnly`: undefined
|
|
1903
|
+
* - `readonly`: undefined
|
|
1904
|
+
* - `required`: undefined
|
|
1905
|
+
* - `type`: undefined
|
|
1906
|
+
* - `value`: undefined
|
|
1907
|
+
* - `name`: undefined
|
|
1908
|
+
* - `step`: undefined
|
|
1909
|
+
* - `autocomplete`: undefined
|
|
1910
|
+
* - `formatter`: undefined (property only)
|
|
1911
|
+
* - `_hasPrefix`: undefined (property only)
|
|
1912
|
+
* - `_hasSuffix`: undefined (property only)
|
|
1913
|
+
*
|
|
1914
|
+
* ## Methods
|
|
1915
|
+
*
|
|
1916
|
+
* Methods that can be called to access component functionality.
|
|
1917
|
+
*
|
|
1918
|
+
* - `resetFormControl() => void`: undefined
|
|
1919
|
+
* - `handler(e: Event) => void`: undefined
|
|
1920
|
+
* - `prefixSlotChange() => void`: undefined
|
|
1921
|
+
* - `suffixSlotChange() => void`: undefined
|
|
1922
|
+
*/
|
|
1923
|
+
"w-textfield": Partial<
|
|
1924
|
+
WarpTextFieldProps & BaseProps<WarpTextField> & BaseEvents
|
|
1925
|
+
>;
|
|
1926
|
+
|
|
1851
1927
|
/**
|
|
1852
1928
|
* This component is usually used in other components like form elements to show a prefix or suffix. See for example `w-textfield`.
|
|
1853
1929
|
*
|
|
@@ -1862,9 +1938,9 @@ export type CustomElements = {
|
|
|
1862
1938
|
*
|
|
1863
1939
|
* Set an `aria-label` that explains the action when using this.
|
|
1864
1940
|
* - `search`: Add this property to render a clickable Warp search icon.
|
|
1865
|
-
*
|
|
1866
|
-
* Set an `aria-label` that explains the action when using this.
|
|
1867
1941
|
* - `label`: undefined
|
|
1942
|
+
* - `icon`: undefined
|
|
1943
|
+
* - `_icon`: undefined (property only) (readonly)
|
|
1868
1944
|
*/
|
|
1869
1945
|
"w-affix": Partial<WarpAffixProps & BaseProps<WarpAffix> & BaseEvents>;
|
|
1870
1946
|
|
|
@@ -2168,9 +2244,7 @@ export type CustomElements = {
|
|
|
2168
2244
|
* - `day-format`/`dayFormat`: Decides the format of the day in the calendar as read to screen readers.
|
|
2169
2245
|
*
|
|
2170
2246
|
* The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
|
|
2171
|
-
* - `isDayDisabled`:
|
|
2172
|
-
*
|
|
2173
|
-
* This needs to be set on the element instance in JavaScript, not as an HTML attribute. (property only)
|
|
2247
|
+
* - `isDayDisabled`: undefined (property only)
|
|
2174
2248
|
* - `isCalendarOpen`: undefined (property only)
|
|
2175
2249
|
* - `navigationDate`: undefined (property only)
|
|
2176
2250
|
* - `selectedDate`: undefined (property only) (readonly)
|
|
@@ -2478,6 +2552,7 @@ export type CustomElements = {
|
|
|
2478
2552
|
* - `readonly`: Renders the field in a readonly state.
|
|
2479
2553
|
* - `name`: undefined
|
|
2480
2554
|
* - `value`: undefined
|
|
2555
|
+
* - `_options`: undefined (property only)
|
|
2481
2556
|
*
|
|
2482
2557
|
* ## Events
|
|
2483
2558
|
*
|
|
@@ -2496,56 +2571,6 @@ export type CustomElements = {
|
|
|
2496
2571
|
*/
|
|
2497
2572
|
"w-select": Partial<WarpSelectProps & BaseProps<WarpSelect> & BaseEvents>;
|
|
2498
2573
|
|
|
2499
|
-
/**
|
|
2500
|
-
* A single line text input element.
|
|
2501
|
-
*
|
|
2502
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)
|
|
2503
|
-
*
|
|
2504
|
-
* ## Attributes & Properties
|
|
2505
|
-
*
|
|
2506
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2507
|
-
*
|
|
2508
|
-
* - `disabled`: undefined
|
|
2509
|
-
* - `invalid`: undefined
|
|
2510
|
-
* - `id`: undefined
|
|
2511
|
-
* - `label`: undefined
|
|
2512
|
-
* - `help-text`/`helpText`: undefined
|
|
2513
|
-
* - `size`: undefined
|
|
2514
|
-
* - `max`: undefined
|
|
2515
|
-
* - `min`: undefined
|
|
2516
|
-
* - `min-length`/`minLength`: undefined
|
|
2517
|
-
* - `max-length`/`maxLength`: undefined
|
|
2518
|
-
* - `pattern`: undefined
|
|
2519
|
-
* - `placeholder`: undefined
|
|
2520
|
-
* - `read-only`/`readOnly`: undefined
|
|
2521
|
-
* - `readonly`: undefined
|
|
2522
|
-
* - `required`: undefined
|
|
2523
|
-
* - `type`: undefined
|
|
2524
|
-
* - `value`: undefined
|
|
2525
|
-
* - `name`: undefined
|
|
2526
|
-
* - `step`: undefined
|
|
2527
|
-
* - `autocomplete`: undefined
|
|
2528
|
-
* - `formatter`: Function to format value when the input field.
|
|
2529
|
-
*
|
|
2530
|
-
* Only active when the input field does not have focus,
|
|
2531
|
-
* similar to the accessible input masking example from Filament Group
|
|
2532
|
-
*
|
|
2533
|
-
* https://css-tricks.com/input-masking/
|
|
2534
|
-
* https://filamentgroup.github.io/politespace/demo/demo.html (property only)
|
|
2535
|
-
*
|
|
2536
|
-
* ## Methods
|
|
2537
|
-
*
|
|
2538
|
-
* Methods that can be called to access component functionality.
|
|
2539
|
-
*
|
|
2540
|
-
* - `resetFormControl() => void`: undefined
|
|
2541
|
-
* - `handler(e: Event) => void`: undefined
|
|
2542
|
-
* - `prefixSlotChange() => void`: undefined
|
|
2543
|
-
* - `suffixSlotChange() => void`: undefined
|
|
2544
|
-
*/
|
|
2545
|
-
"w-textfield": Partial<
|
|
2546
|
-
WarpTextFieldProps & BaseProps<WarpTextField> & BaseEvents
|
|
2547
|
-
>;
|
|
2548
|
-
|
|
2549
2574
|
/**
|
|
2550
2575
|
* Component to place inside a `<w-slider>`.
|
|
2551
2576
|
*
|
|
@@ -2567,6 +2592,12 @@ export type CustomElements = {
|
|
|
2567
2592
|
* - `textFieldDisplayValue`: Value to display in the textfield (shows boundary when focused on empty value) (property only) (readonly)
|
|
2568
2593
|
* - `tooltipDisplayValue`: Value to display in the tooltip (property only) (readonly)
|
|
2569
2594
|
* - `ariaDescriptionText`: undefined (property only) (readonly)
|
|
2595
|
+
* - `disabled`: undefined (property only)
|
|
2596
|
+
* - `invalid`: undefined (property only)
|
|
2597
|
+
* - `openEnded`: undefined (property only)
|
|
2598
|
+
* - `valueFormatter`: undefined (property only)
|
|
2599
|
+
* - `tooltipFormatter`: undefined (property only)
|
|
2600
|
+
* - `labelFormatter`: undefined (property only)
|
|
2570
2601
|
*
|
|
2571
2602
|
* ## Events
|
|
2572
2603
|
*
|
|
@@ -2610,9 +2641,10 @@ export type CustomElements = {
|
|
|
2610
2641
|
* - `step`: undefined
|
|
2611
2642
|
* - `suffix`: Suffix used in text input fields and for the min and max values of the slider.
|
|
2612
2643
|
* - `hidden-textfield`/`hiddenTextfield`: undefined
|
|
2613
|
-
* - `valueFormatter`:
|
|
2614
|
-
* - `tooltipFormatter`:
|
|
2615
|
-
* - `labelFormatter`:
|
|
2644
|
+
* - `valueFormatter`: undefined (property only)
|
|
2645
|
+
* - `tooltipFormatter`: undefined (property only)
|
|
2646
|
+
* - `labelFormatter`: undefined (property only)
|
|
2647
|
+
* - `fieldset`: undefined (property only)
|
|
2616
2648
|
* - `_invalidMessage`: undefined (property only)
|
|
2617
2649
|
* - `_hasInternalError`: undefined (property only)
|
|
2618
2650
|
* - `_showError`: undefined (property only)
|
|
@@ -2718,6 +2750,8 @@ export type CustomElements = {
|
|
|
2718
2750
|
* - `over`: undefined
|
|
2719
2751
|
* - `tabIndex`: Override tabIndex setter to set _parentTabIndex (for backwards compatibility). (property only)
|
|
2720
2752
|
* - `_computedAriaSelected`: Computed aria-selected: prefers parent-managed, falls back to own property (property only) (readonly)
|
|
2753
|
+
* - `_parentTabIndex`: undefined (property only)
|
|
2754
|
+
* - `_parentAriaSelected`: undefined (property only)
|
|
2721
2755
|
*/
|
|
2722
2756
|
"w-tab": Partial<WarpTabProps & BaseProps<WarpTab> & BaseEvents>;
|
|
2723
2757
|
|
|
@@ -2733,6 +2767,8 @@ export type CustomElements = {
|
|
|
2733
2767
|
*
|
|
2734
2768
|
* - `active`: Whether this panel is active (visible).
|
|
2735
2769
|
* Set by parent w-tabs via the _parentActive property.
|
|
2770
|
+
* - `_parentActive`: undefined (property only)
|
|
2771
|
+
* - `_parentAriaLabelledBy`: undefined (property only)
|
|
2736
2772
|
*/
|
|
2737
2773
|
"w-tab-panel": Partial<
|
|
2738
2774
|
WarpTabPanelProps & BaseProps<WarpTabPanel> & BaseEvents
|
|
@@ -2799,38 +2835,71 @@ export type CustomElements = {
|
|
|
2799
2835
|
"w-textarea": Partial<
|
|
2800
2836
|
WarpTextareaProps & BaseProps<WarpTextarea> & BaseEvents
|
|
2801
2837
|
>;
|
|
2838
|
+
};
|
|
2802
2839
|
|
|
2840
|
+
export type CustomElementsSolidJs = {
|
|
2803
2841
|
/**
|
|
2804
2842
|
*
|
|
2805
2843
|
*
|
|
2806
|
-
* ##
|
|
2844
|
+
* ## Attributes & Properties
|
|
2807
2845
|
*
|
|
2808
|
-
*
|
|
2846
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2809
2847
|
*
|
|
2810
|
-
* - `
|
|
2811
|
-
* - `
|
|
2812
|
-
* - `
|
|
2813
|
-
* - `del(id: string | number) => Promise<boolean>`: undefined
|
|
2848
|
+
* - `name`: Icon filename (without .svg)
|
|
2849
|
+
* - `size`: Size: small, medium, large or pixel value (e.g. "32px")
|
|
2850
|
+
* - `locale`: Locale used in CDN URL
|
|
2814
2851
|
*/
|
|
2815
|
-
"w-
|
|
2816
|
-
|
|
2852
|
+
"w-icon": Partial<
|
|
2853
|
+
WIconProps & WIconSolidJsProps & BaseProps<WIcon> & BaseEvents
|
|
2817
2854
|
>;
|
|
2818
|
-
};
|
|
2819
2855
|
|
|
2820
|
-
export type CustomElementsSolidJs = {
|
|
2821
2856
|
/**
|
|
2857
|
+
* A single line text input element.
|
|
2822
2858
|
*
|
|
2859
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)
|
|
2823
2860
|
*
|
|
2824
2861
|
* ## Attributes & Properties
|
|
2825
2862
|
*
|
|
2826
2863
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2827
2864
|
*
|
|
2828
|
-
* - `
|
|
2829
|
-
* - `
|
|
2830
|
-
* - `
|
|
2865
|
+
* - `disabled`: undefined
|
|
2866
|
+
* - `invalid`: undefined
|
|
2867
|
+
* - `id`: undefined
|
|
2868
|
+
* - `label`: undefined
|
|
2869
|
+
* - `help-text`/`helpText`: undefined
|
|
2870
|
+
* - `size`: undefined
|
|
2871
|
+
* - `max`: undefined
|
|
2872
|
+
* - `min`: undefined
|
|
2873
|
+
* - `min-length`/`minLength`: undefined
|
|
2874
|
+
* - `max-length`/`maxLength`: undefined
|
|
2875
|
+
* - `pattern`: undefined
|
|
2876
|
+
* - `placeholder`: undefined
|
|
2877
|
+
* - `read-only`/`readOnly`: undefined
|
|
2878
|
+
* - `readonly`: undefined
|
|
2879
|
+
* - `required`: undefined
|
|
2880
|
+
* - `type`: undefined
|
|
2881
|
+
* - `value`: undefined
|
|
2882
|
+
* - `name`: undefined
|
|
2883
|
+
* - `step`: undefined
|
|
2884
|
+
* - `autocomplete`: undefined
|
|
2885
|
+
* - `formatter`: undefined (property only)
|
|
2886
|
+
* - `_hasPrefix`: undefined (property only)
|
|
2887
|
+
* - `_hasSuffix`: undefined (property only)
|
|
2888
|
+
*
|
|
2889
|
+
* ## Methods
|
|
2890
|
+
*
|
|
2891
|
+
* Methods that can be called to access component functionality.
|
|
2892
|
+
*
|
|
2893
|
+
* - `resetFormControl() => void`: undefined
|
|
2894
|
+
* - `handler(e: Event) => void`: undefined
|
|
2895
|
+
* - `prefixSlotChange() => void`: undefined
|
|
2896
|
+
* - `suffixSlotChange() => void`: undefined
|
|
2831
2897
|
*/
|
|
2832
|
-
"w-
|
|
2833
|
-
|
|
2898
|
+
"w-textfield": Partial<
|
|
2899
|
+
WarpTextFieldProps &
|
|
2900
|
+
WarpTextFieldSolidJsProps &
|
|
2901
|
+
BaseProps<WarpTextField> &
|
|
2902
|
+
BaseEvents
|
|
2834
2903
|
>;
|
|
2835
2904
|
|
|
2836
2905
|
/**
|
|
@@ -2847,9 +2916,9 @@ export type CustomElementsSolidJs = {
|
|
|
2847
2916
|
*
|
|
2848
2917
|
* Set an `aria-label` that explains the action when using this.
|
|
2849
2918
|
* - `search`: Add this property to render a clickable Warp search icon.
|
|
2850
|
-
*
|
|
2851
|
-
* Set an `aria-label` that explains the action when using this.
|
|
2852
2919
|
* - `label`: undefined
|
|
2920
|
+
* - `icon`: undefined
|
|
2921
|
+
* - `_icon`: undefined (property only) (readonly)
|
|
2853
2922
|
*/
|
|
2854
2923
|
"w-affix": Partial<
|
|
2855
2924
|
WarpAffixProps & WarpAffixSolidJsProps & BaseProps<WarpAffix> & BaseEvents
|
|
@@ -3184,9 +3253,7 @@ export type CustomElementsSolidJs = {
|
|
|
3184
3253
|
* - `day-format`/`dayFormat`: Decides the format of the day in the calendar as read to screen readers.
|
|
3185
3254
|
*
|
|
3186
3255
|
* The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
|
|
3187
|
-
* - `isDayDisabled`:
|
|
3188
|
-
*
|
|
3189
|
-
* This needs to be set on the element instance in JavaScript, not as an HTML attribute. (property only)
|
|
3256
|
+
* - `isDayDisabled`: undefined (property only)
|
|
3190
3257
|
* - `isCalendarOpen`: undefined (property only)
|
|
3191
3258
|
* - `navigationDate`: undefined (property only)
|
|
3192
3259
|
* - `selectedDate`: undefined (property only) (readonly)
|
|
@@ -3521,6 +3588,7 @@ export type CustomElementsSolidJs = {
|
|
|
3521
3588
|
* - `readonly`: Renders the field in a readonly state.
|
|
3522
3589
|
* - `name`: undefined
|
|
3523
3590
|
* - `value`: undefined
|
|
3591
|
+
* - `_options`: undefined (property only)
|
|
3524
3592
|
*
|
|
3525
3593
|
* ## Events
|
|
3526
3594
|
*
|
|
@@ -3544,59 +3612,6 @@ export type CustomElementsSolidJs = {
|
|
|
3544
3612
|
BaseEvents
|
|
3545
3613
|
>;
|
|
3546
3614
|
|
|
3547
|
-
/**
|
|
3548
|
-
* A single line text input element.
|
|
3549
|
-
*
|
|
3550
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)
|
|
3551
|
-
*
|
|
3552
|
-
* ## Attributes & Properties
|
|
3553
|
-
*
|
|
3554
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3555
|
-
*
|
|
3556
|
-
* - `disabled`: undefined
|
|
3557
|
-
* - `invalid`: undefined
|
|
3558
|
-
* - `id`: undefined
|
|
3559
|
-
* - `label`: undefined
|
|
3560
|
-
* - `help-text`/`helpText`: undefined
|
|
3561
|
-
* - `size`: undefined
|
|
3562
|
-
* - `max`: undefined
|
|
3563
|
-
* - `min`: undefined
|
|
3564
|
-
* - `min-length`/`minLength`: undefined
|
|
3565
|
-
* - `max-length`/`maxLength`: undefined
|
|
3566
|
-
* - `pattern`: undefined
|
|
3567
|
-
* - `placeholder`: undefined
|
|
3568
|
-
* - `read-only`/`readOnly`: undefined
|
|
3569
|
-
* - `readonly`: undefined
|
|
3570
|
-
* - `required`: undefined
|
|
3571
|
-
* - `type`: undefined
|
|
3572
|
-
* - `value`: undefined
|
|
3573
|
-
* - `name`: undefined
|
|
3574
|
-
* - `step`: undefined
|
|
3575
|
-
* - `autocomplete`: undefined
|
|
3576
|
-
* - `formatter`: Function to format value when the input field.
|
|
3577
|
-
*
|
|
3578
|
-
* Only active when the input field does not have focus,
|
|
3579
|
-
* similar to the accessible input masking example from Filament Group
|
|
3580
|
-
*
|
|
3581
|
-
* https://css-tricks.com/input-masking/
|
|
3582
|
-
* https://filamentgroup.github.io/politespace/demo/demo.html (property only)
|
|
3583
|
-
*
|
|
3584
|
-
* ## Methods
|
|
3585
|
-
*
|
|
3586
|
-
* Methods that can be called to access component functionality.
|
|
3587
|
-
*
|
|
3588
|
-
* - `resetFormControl() => void`: undefined
|
|
3589
|
-
* - `handler(e: Event) => void`: undefined
|
|
3590
|
-
* - `prefixSlotChange() => void`: undefined
|
|
3591
|
-
* - `suffixSlotChange() => void`: undefined
|
|
3592
|
-
*/
|
|
3593
|
-
"w-textfield": Partial<
|
|
3594
|
-
WarpTextFieldProps &
|
|
3595
|
-
WarpTextFieldSolidJsProps &
|
|
3596
|
-
BaseProps<WarpTextField> &
|
|
3597
|
-
BaseEvents
|
|
3598
|
-
>;
|
|
3599
|
-
|
|
3600
3615
|
/**
|
|
3601
3616
|
* Component to place inside a `<w-slider>`.
|
|
3602
3617
|
*
|
|
@@ -3618,6 +3633,12 @@ export type CustomElementsSolidJs = {
|
|
|
3618
3633
|
* - `textFieldDisplayValue`: Value to display in the textfield (shows boundary when focused on empty value) (property only) (readonly)
|
|
3619
3634
|
* - `tooltipDisplayValue`: Value to display in the tooltip (property only) (readonly)
|
|
3620
3635
|
* - `ariaDescriptionText`: undefined (property only) (readonly)
|
|
3636
|
+
* - `disabled`: undefined (property only)
|
|
3637
|
+
* - `invalid`: undefined (property only)
|
|
3638
|
+
* - `openEnded`: undefined (property only)
|
|
3639
|
+
* - `valueFormatter`: undefined (property only)
|
|
3640
|
+
* - `tooltipFormatter`: undefined (property only)
|
|
3641
|
+
* - `labelFormatter`: undefined (property only)
|
|
3621
3642
|
*
|
|
3622
3643
|
* ## Events
|
|
3623
3644
|
*
|
|
@@ -3664,9 +3685,10 @@ export type CustomElementsSolidJs = {
|
|
|
3664
3685
|
* - `step`: undefined
|
|
3665
3686
|
* - `suffix`: Suffix used in text input fields and for the min and max values of the slider.
|
|
3666
3687
|
* - `hidden-textfield`/`hiddenTextfield`: undefined
|
|
3667
|
-
* - `valueFormatter`:
|
|
3668
|
-
* - `tooltipFormatter`:
|
|
3669
|
-
* - `labelFormatter`:
|
|
3688
|
+
* - `valueFormatter`: undefined (property only)
|
|
3689
|
+
* - `tooltipFormatter`: undefined (property only)
|
|
3690
|
+
* - `labelFormatter`: undefined (property only)
|
|
3691
|
+
* - `fieldset`: undefined (property only)
|
|
3670
3692
|
* - `_invalidMessage`: undefined (property only)
|
|
3671
3693
|
* - `_hasInternalError`: undefined (property only)
|
|
3672
3694
|
* - `_showError`: undefined (property only)
|
|
@@ -3787,6 +3809,8 @@ export type CustomElementsSolidJs = {
|
|
|
3787
3809
|
* - `over`: undefined
|
|
3788
3810
|
* - `tabIndex`: Override tabIndex setter to set _parentTabIndex (for backwards compatibility). (property only)
|
|
3789
3811
|
* - `_computedAriaSelected`: Computed aria-selected: prefers parent-managed, falls back to own property (property only) (readonly)
|
|
3812
|
+
* - `_parentTabIndex`: undefined (property only)
|
|
3813
|
+
* - `_parentAriaSelected`: undefined (property only)
|
|
3790
3814
|
*/
|
|
3791
3815
|
"w-tab": Partial<
|
|
3792
3816
|
WarpTabProps & WarpTabSolidJsProps & BaseProps<WarpTab> & BaseEvents
|
|
@@ -3804,6 +3828,8 @@ export type CustomElementsSolidJs = {
|
|
|
3804
3828
|
*
|
|
3805
3829
|
* - `active`: Whether this panel is active (visible).
|
|
3806
3830
|
* Set by parent w-tabs via the _parentActive property.
|
|
3831
|
+
* - `_parentActive`: undefined (property only)
|
|
3832
|
+
* - `_parentAriaLabelledBy`: undefined (property only)
|
|
3807
3833
|
*/
|
|
3808
3834
|
"w-tab-panel": Partial<
|
|
3809
3835
|
WarpTabPanelProps &
|
|
@@ -3878,25 +3904,6 @@ export type CustomElementsSolidJs = {
|
|
|
3878
3904
|
BaseProps<WarpTextarea> &
|
|
3879
3905
|
BaseEvents
|
|
3880
3906
|
>;
|
|
3881
|
-
|
|
3882
|
-
/**
|
|
3883
|
-
*
|
|
3884
|
-
*
|
|
3885
|
-
* ## Methods
|
|
3886
|
-
*
|
|
3887
|
-
* Methods that can be called to access component functionality.
|
|
3888
|
-
*
|
|
3889
|
-
* - `init() => void`: undefined
|
|
3890
|
-
* - `get(id: string | number) => ToastInternal | undefined`: undefined
|
|
3891
|
-
* - `set(toast: ToastOptions) => Map<string | number, ToastInternal>`: undefined
|
|
3892
|
-
* - `del(id: string | number) => Promise<boolean>`: undefined
|
|
3893
|
-
*/
|
|
3894
|
-
"w-toast-container": Partial<
|
|
3895
|
-
WarpToastContainerProps &
|
|
3896
|
-
WarpToastContainerSolidJsProps &
|
|
3897
|
-
BaseProps<WarpToastContainer> &
|
|
3898
|
-
BaseEvents
|
|
3899
|
-
>;
|
|
3900
3907
|
};
|
|
3901
3908
|
|
|
3902
3909
|
export type CustomCssProperties = {};
|