@warp-ds/elements 2.3.0-next.8 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +301 -3504
- package/dist/index.d.ts +36 -601
- package/dist/packages/affix/index.js.map +2 -2
- package/dist/packages/alert/index.js.map +2 -2
- package/dist/packages/attention/attention.stories.js +4 -1
- package/dist/packages/attention/index.js +55 -19
- package/dist/packages/attention/index.js.map +3 -3
- package/dist/packages/attention/styles.js +1 -1
- package/dist/packages/badge/index.js.map +2 -2
- package/dist/packages/box/index.js.map +2 -2
- package/dist/packages/breadcrumbs/index.js.map +2 -2
- package/dist/packages/button/button.react.stories.d.ts +1 -1
- package/dist/packages/button/button.stories.d.ts +4 -4
- package/dist/packages/button/button.stories.js +4 -4
- package/dist/packages/button/button.test.js +30 -1
- package/dist/packages/button/index.d.ts +2 -0
- package/dist/packages/button/index.js +49 -13
- package/dist/packages/button/index.js.map +3 -3
- package/dist/packages/card/index.js.map +2 -2
- package/dist/packages/datepicker/datepicker.d.ts +1 -0
- package/dist/packages/datepicker/datepicker.js +35 -35
- package/dist/packages/datepicker/datepicker.js.map +3 -3
- package/dist/packages/datepicker/datepicker.react.stories.d.ts +1 -1
- package/dist/packages/datepicker/datepicker.test.js +27 -0
- package/dist/packages/expandable/index.js.map +2 -2
- package/dist/packages/link/index.d.ts +2 -8
- package/dist/packages/link/index.js +43 -7
- package/dist/packages/link/index.js.map +4 -4
- package/dist/packages/link/link.react.stories.d.ts +6 -4
- package/dist/packages/link/link.react.stories.js +22 -12
- package/dist/packages/link/link.stories.d.ts +5 -3
- package/dist/packages/link/link.stories.js +22 -12
- package/dist/packages/link/styles.js +36 -0
- package/dist/packages/modal/index.js.map +2 -2
- package/dist/packages/modal/modal-header.js.map +2 -2
- package/dist/packages/modal/modal.stories.d.ts +3 -3
- package/dist/packages/modal/modal.stories.js +32 -32
- package/dist/packages/pill/index.js.map +2 -2
- package/dist/packages/select/index.d.ts +26 -5
- package/dist/packages/select/index.js +17 -16
- package/dist/packages/select/index.js.map +3 -3
- package/dist/packages/select/select.react.stories.d.ts +1 -1
- package/dist/packages/select/select.stories.d.ts +1 -1
- package/dist/packages/select/select.stories.js +3 -4
- package/dist/packages/select/select.test.js +30 -0
- package/dist/packages/textfield/index.d.ts +4 -0
- package/dist/packages/textfield/index.js +20 -19
- package/dist/packages/textfield/index.js.map +3 -3
- package/dist/packages/textfield/textfield.react.stories.d.ts +1 -1
- package/dist/packages/textfield/textfield.stories.d.ts +1 -0
- package/dist/packages/textfield/textfield.stories.js +17 -0
- package/dist/web-types.json +44 -627
- package/package.json +11 -89
- package/dist/packages/combobox/combobox.react.stories.d.ts +0 -28
- package/dist/packages/combobox/combobox.react.stories.js +0 -90
- package/dist/packages/combobox/combobox.stories.d.ts +0 -18
- package/dist/packages/combobox/combobox.stories.js +0 -117
- package/dist/packages/combobox/index.d.ts +0 -85
- package/dist/packages/combobox/index.js +0 -2492
- package/dist/packages/combobox/index.js.map +0 -7
- package/dist/packages/combobox/locales/da/messages.d.mts +0 -1
- package/dist/packages/combobox/locales/da/messages.mjs +0 -1
- package/dist/packages/combobox/locales/en/messages.d.mts +0 -1
- package/dist/packages/combobox/locales/en/messages.mjs +0 -1
- package/dist/packages/combobox/locales/fi/messages.d.mts +0 -1
- package/dist/packages/combobox/locales/fi/messages.mjs +0 -1
- package/dist/packages/combobox/locales/nb/messages.d.mts +0 -1
- package/dist/packages/combobox/locales/nb/messages.mjs +0 -1
- package/dist/packages/combobox/locales/sv/messages.d.mts +0 -1
- package/dist/packages/combobox/locales/sv/messages.mjs +0 -1
- package/dist/packages/combobox/react.d.ts +0 -7
- package/dist/packages/combobox/react.js +0 -17
- package/dist/packages/combobox/styles.d.ts +0 -1
- package/dist/packages/combobox/styles.js +0 -2
- package/dist/packages/dead-toggle/dead-toggle.react.stories.d.ts +0 -15
- package/dist/packages/dead-toggle/dead-toggle.react.stories.js +0 -34
- package/dist/packages/dead-toggle/dead-toggle.stories.d.ts +0 -14
- package/dist/packages/dead-toggle/dead-toggle.stories.js +0 -45
- package/dist/packages/dead-toggle/dead-toggle.test.d.ts +0 -1
- package/dist/packages/dead-toggle/dead-toggle.test.js +0 -9
- package/dist/packages/dead-toggle/index.d.ts +0 -17
- package/dist/packages/dead-toggle/index.js +0 -2547
- package/dist/packages/dead-toggle/index.js.map +0 -7
- package/dist/packages/dead-toggle/react.d.ts +0 -2
- package/dist/packages/dead-toggle/react.js +0 -11
- package/dist/packages/pageindicator/index.d.ts +0 -10
- package/dist/packages/pageindicator/index.js +0 -32
- package/dist/packages/pageindicator/index.js.map +0 -7
- package/dist/packages/pageindicator/pageindicator.react.stories.d.ts +0 -19
- package/dist/packages/pageindicator/pageindicator.react.stories.js +0 -20
- package/dist/packages/pageindicator/pageindicator.stories.d.ts +0 -32
- package/dist/packages/pageindicator/pageindicator.stories.js +0 -71
- package/dist/packages/pageindicator/react.d.ts +0 -2
- package/dist/packages/pageindicator/react.js +0 -11
- package/dist/packages/pageindicator/style.d.ts +0 -1
- package/dist/packages/pageindicator/style.js +0 -26
- package/dist/packages/pagination/index.d.ts +0 -32
- package/dist/packages/pagination/index.js +0 -2500
- package/dist/packages/pagination/index.js.map +0 -7
- package/dist/packages/pagination/locales/da/messages.d.mts +0 -1
- package/dist/packages/pagination/locales/da/messages.mjs +0 -1
- package/dist/packages/pagination/locales/en/messages.d.mts +0 -1
- package/dist/packages/pagination/locales/en/messages.mjs +0 -1
- package/dist/packages/pagination/locales/fi/messages.d.mts +0 -1
- package/dist/packages/pagination/locales/fi/messages.mjs +0 -1
- package/dist/packages/pagination/locales/nb/messages.d.mts +0 -1
- package/dist/packages/pagination/locales/nb/messages.mjs +0 -1
- package/dist/packages/pagination/locales/sv/messages.d.mts +0 -1
- package/dist/packages/pagination/locales/sv/messages.mjs +0 -1
- package/dist/packages/pagination/pagination.react.stories.d.ts +0 -21
- package/dist/packages/pagination/pagination.react.stories.js +0 -45
- package/dist/packages/pagination/pagination.stories.d.ts +0 -14
- package/dist/packages/pagination/pagination.stories.js +0 -56
- package/dist/packages/pagination/pagination.test.d.ts +0 -1
- package/dist/packages/pagination/pagination.test.js +0 -76
- package/dist/packages/pagination/react.d.ts +0 -5
- package/dist/packages/pagination/react.js +0 -15
- package/dist/packages/pagination/styles.d.ts +0 -1
- package/dist/packages/pagination/styles.js +0 -2
- package/dist/packages/rip-and-tear-checkbox/checkbox-group.d.ts +0 -10
- package/dist/packages/rip-and-tear-checkbox/checkbox-group.js +0 -7
- package/dist/packages/rip-and-tear-checkbox/checkbox-group.js.map +0 -7
- package/dist/packages/rip-and-tear-checkbox/checkbox.d.ts +0 -66
- package/dist/packages/rip-and-tear-checkbox/checkbox.js +0 -2591
- package/dist/packages/rip-and-tear-checkbox/checkbox.js.map +0 -7
- package/dist/packages/rip-and-tear-checkbox/checkbox.stories.d.ts +0 -11
- package/dist/packages/rip-and-tear-checkbox/checkbox.stories.js +0 -25
- package/dist/packages/rip-and-tear-checkbox/index.d.ts +0 -1
- package/dist/packages/rip-and-tear-checkbox/index.js +0 -6
- package/dist/packages/rip-and-tear-checkbox/react.d.ts +0 -7
- package/dist/packages/rip-and-tear-checkbox/react.js +0 -20
- package/dist/packages/rip-and-tear-checkbox/rip-and-tear-checkbox.react.stories.d.ts +0 -12
- package/dist/packages/rip-and-tear-checkbox/rip-and-tear-checkbox.react.stories.js +0 -10
- package/dist/packages/rip-and-tear-checkbox/styles.d.ts +0 -0
- package/dist/packages/rip-and-tear-checkbox/styles.js +0 -0
- package/dist/packages/rip-and-tear-radio/base-element.d.ts +0 -46
- package/dist/packages/rip-and-tear-radio/base-element.js +0 -100
- package/dist/packages/rip-and-tear-radio/custom-error-validator.d.ts +0 -6
- package/dist/packages/rip-and-tear-radio/custom-error-validator.js +0 -22
- package/dist/packages/rip-and-tear-radio/form-associated-element.d.ts +0 -103
- package/dist/packages/rip-and-tear-radio/form-associated-element.js +0 -282
- package/dist/packages/rip-and-tear-radio/host-styles.d.ts +0 -1
- package/dist/packages/rip-and-tear-radio/host-styles.js +0 -12
- package/dist/packages/rip-and-tear-radio/index.d.ts +0 -1
- package/dist/packages/rip-and-tear-radio/index.js +0 -6
- package/dist/packages/rip-and-tear-radio/invalid.d.ts +0 -8
- package/dist/packages/rip-and-tear-radio/invalid.js +0 -5
- package/dist/packages/rip-and-tear-radio/math.d.ts +0 -1
- package/dist/packages/rip-and-tear-radio/math.js +0 -4
- package/dist/packages/rip-and-tear-radio/radio-group-styles.d.ts +0 -1
- package/dist/packages/rip-and-tear-radio/radio-group-styles.js +0 -59
- package/dist/packages/rip-and-tear-radio/radio-group-styles.js.map +0 -7
- package/dist/packages/rip-and-tear-radio/radio-group.d.ts +0 -72
- package/dist/packages/rip-and-tear-radio/radio-group.js +0 -2648
- package/dist/packages/rip-and-tear-radio/radio-group.js.map +0 -7
- package/dist/packages/rip-and-tear-radio/radio-styles.d.ts +0 -0
- package/dist/packages/rip-and-tear-radio/radio-styles.js +0 -1
- package/dist/packages/rip-and-tear-radio/radio-styles.js.map +0 -7
- package/dist/packages/rip-and-tear-radio/radio.d.ts +0 -38
- package/dist/packages/rip-and-tear-radio/radio.js +0 -2562
- package/dist/packages/rip-and-tear-radio/radio.js.map +0 -7
- package/dist/packages/rip-and-tear-radio/radio.stories.d.ts +0 -8
- package/dist/packages/rip-and-tear-radio/radio.stories.js +0 -2653
- package/dist/packages/rip-and-tear-radio/radio.stories.js.map +0 -7
- package/dist/packages/rip-and-tear-radio/react.d.ts +0 -9
- package/dist/packages/rip-and-tear-radio/react.js +0 -22
- package/dist/packages/rip-and-tear-radio/required-validator.d.ts +0 -11
- package/dist/packages/rip-and-tear-radio/required-validator.js +0 -34
- package/dist/packages/rip-and-tear-radio/rip-and-tear-radio.react.stories.d.ts +0 -9
- package/dist/packages/rip-and-tear-radio/rip-and-tear-radio.react.stories.js +0 -10
- package/dist/packages/rip-and-tear-radio/slot.d.ts +0 -20
- package/dist/packages/rip-and-tear-radio/slot.js +0 -71
- package/dist/packages/rip-and-tear-radio/watch.d.ts +0 -26
- package/dist/packages/rip-and-tear-radio/watch.js +0 -39
- package/dist/packages/slider/Slider.d.ts +0 -2
- package/dist/packages/slider/Slider.js +0 -8
- package/dist/packages/slider/SliderThumb.d.ts +0 -2
- package/dist/packages/slider/SliderThumb.js +0 -8
- package/dist/packages/slider/index.d.ts +0 -2
- package/dist/packages/slider/index.js +0 -2
- package/dist/packages/slider/oddbird-css-anchor-positioning.d.ts +0 -2
- package/dist/packages/slider/oddbird-css-anchor-positioning.js +0 -3
- package/dist/packages/slider/react.d.ts +0 -8
- package/dist/packages/slider/react.js +0 -20
- package/dist/packages/slider/slider-thumb.d.ts +0 -57
- package/dist/packages/slider/slider-thumb.js +0 -2705
- package/dist/packages/slider/slider-thumb.js.map +0 -7
- package/dist/packages/slider/slider.d.ts +0 -46
- package/dist/packages/slider/slider.js +0 -2587
- package/dist/packages/slider/slider.js.map +0 -7
- package/dist/packages/slider/slider.react.stories.d.ts +0 -18
- package/dist/packages/slider/slider.react.stories.js +0 -118
- package/dist/packages/slider/slider.stories.d.ts +0 -18
- package/dist/packages/slider/slider.stories.js +0 -197
- package/dist/packages/slider/slider.test.d.ts +0 -4
- package/dist/packages/slider/slider.test.js +0 -83
- package/dist/packages/slider/styles/w-slider-thumb.styles.d.ts +0 -1
- package/dist/packages/slider/styles/w-slider-thumb.styles.js +0 -167
- package/dist/packages/slider/styles/w-slider.styles.d.ts +0 -1
- package/dist/packages/slider/styles/w-slider.styles.js +0 -134
- package/dist/packages/slider/styles.d.ts +0 -1
- package/dist/packages/slider/styles.js +0 -2
- package/dist/packages/steps/index.d.ts +0 -36
- package/dist/packages/steps/index.js +0 -2465
- package/dist/packages/steps/index.js.map +0 -7
- package/dist/packages/steps/locales/da/messages.d.mts +0 -1
- package/dist/packages/steps/locales/da/messages.mjs +0 -1
- package/dist/packages/steps/locales/en/messages.d.mts +0 -1
- package/dist/packages/steps/locales/en/messages.mjs +0 -1
- package/dist/packages/steps/locales/fi/messages.d.mts +0 -1
- package/dist/packages/steps/locales/fi/messages.mjs +0 -1
- package/dist/packages/steps/locales/nb/messages.d.mts +0 -1
- package/dist/packages/steps/locales/nb/messages.mjs +0 -1
- package/dist/packages/steps/locales/sv/messages.d.mts +0 -1
- package/dist/packages/steps/locales/sv/messages.mjs +0 -1
- package/dist/packages/steps/react.d.ts +0 -3
- package/dist/packages/steps/react.js +0 -16
- package/dist/packages/steps/steps.react.stories.d.ts +0 -15
- package/dist/packages/steps/steps.react.stories.js +0 -112
- package/dist/packages/steps/steps.stories.d.ts +0 -12
- package/dist/packages/steps/steps.stories.js +0 -172
- package/dist/packages/steps/styles.d.ts +0 -1
- package/dist/packages/steps/styles.js +0 -2
- package/dist/packages/switch/index.d.ts +0 -15
- package/dist/packages/switch/index.js +0 -2455
- package/dist/packages/switch/index.js.map +0 -7
- package/dist/packages/switch/react.d.ts +0 -5
- package/dist/packages/switch/react.js +0 -15
- package/dist/packages/switch/styles.d.ts +0 -1
- package/dist/packages/switch/styles.js +0 -2
- package/dist/packages/switch/switch.react.stories.d.ts +0 -15
- package/dist/packages/switch/switch.react.stories.js +0 -29
- package/dist/packages/switch/switch.stories.d.ts +0 -9
- package/dist/packages/switch/switch.stories.js +0 -34
- package/dist/packages/tabs/index.d.ts +0 -4
- package/dist/packages/tabs/index.js +0 -3
- package/dist/packages/tabs/react.d.ts +0 -12
- package/dist/packages/tabs/react.js +0 -31
- package/dist/packages/tabs/styles.d.ts +0 -1
- package/dist/packages/tabs/styles.js +0 -2
- package/dist/packages/tabs/tab-panel.d.ts +0 -20
- package/dist/packages/tabs/tab-panel.js +0 -51
- package/dist/packages/tabs/tab.d.ts +0 -18
- package/dist/packages/tabs/tab.js +0 -2463
- package/dist/packages/tabs/tab.js.map +0 -7
- package/dist/packages/tabs/tabs.d.ts +0 -40
- package/dist/packages/tabs/tabs.js +0 -2448
- package/dist/packages/tabs/tabs.js.map +0 -7
- package/dist/packages/tabs/tabs.react.stories.d.ts +0 -15
- package/dist/packages/tabs/tabs.react.stories.js +0 -51
- package/dist/packages/tabs/tabs.stories.d.ts +0 -8
- package/dist/packages/tabs/tabs.stories.js +0 -84
- package/dist/packages/textarea/index.d.ts +0 -1
- package/dist/packages/textarea/index.js +0 -1
- package/dist/packages/textarea/locales/da/messages.d.mts +0 -1
- package/dist/packages/textarea/locales/da/messages.mjs +0 -1
- package/dist/packages/textarea/locales/en/messages.d.mts +0 -1
- package/dist/packages/textarea/locales/en/messages.mjs +0 -1
- package/dist/packages/textarea/locales/fi/messages.d.mts +0 -1
- package/dist/packages/textarea/locales/fi/messages.mjs +0 -1
- package/dist/packages/textarea/locales/nb/messages.d.mts +0 -1
- package/dist/packages/textarea/locales/nb/messages.mjs +0 -1
- package/dist/packages/textarea/locales/sv/messages.d.mts +0 -1
- package/dist/packages/textarea/locales/sv/messages.mjs +0 -1
- package/dist/packages/textarea/react.d.ts +0 -11
- package/dist/packages/textarea/react.js +0 -21
- package/dist/packages/textarea/styles.d.ts +0 -1
- package/dist/packages/textarea/styles.js +0 -2
- package/dist/packages/textarea/textarea.d.ts +0 -48
- package/dist/packages/textarea/textarea.js +0 -2475
- package/dist/packages/textarea/textarea.js.map +0 -7
- package/dist/packages/textarea/textarea.react.stories.d.ts +0 -33
- package/dist/packages/textarea/textarea.react.stories.js +0 -41
- package/dist/packages/textarea/textarea.stories.d.ts +0 -19
- package/dist/packages/textarea/textarea.stories.js +0 -85
- package/dist/packages/textarea/textarea.test.d.ts +0 -1
- package/dist/packages/textarea/textarea.test.js +0 -49
- package/dist/packages/toggle-styles.d.ts +0 -1
- package/dist/packages/toggle-styles.js +0 -108
- package/dist/setup-tests.d.ts +0 -1
- package/dist/setup-tests.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -16,19 +16,7 @@ import type { ModalFooter } from "./packages/modal/modal-footer.ts";
|
|
|
16
16
|
import type { ModalHeader } from "./packages/modal/modal-header.ts";
|
|
17
17
|
import type { ModalMain } from "./packages/modal/modal-main.ts";
|
|
18
18
|
import type { WarpToastContainer } from "./packages/toast/toast-container.ts";
|
|
19
|
-
import type { WarpCombobox } from "./packages/combobox/index.ts";
|
|
20
19
|
import type { WarpDatepicker } from "./packages/datepicker/datepicker.ts";
|
|
21
|
-
import type { WarpDeadToggle } from "./packages/dead-toggle/index.ts";
|
|
22
|
-
import type { WarpPageIndicator } from "./packages/pageindicator/index.ts";
|
|
23
|
-
import type { WarpPagination } from "./packages/pagination/index.ts";
|
|
24
|
-
import type { WCheckboxGroup } from "./packages/rip-and-tear-checkbox/checkbox-group.ts";
|
|
25
|
-
import type { WarpSliderThumb } from "./packages/slider/slider-thumb.ts";
|
|
26
|
-
import type { WarpSlider } from "./packages/slider/slider.ts";
|
|
27
|
-
import type { WarpSteps, WarpStep } from "./packages/steps/index.ts";
|
|
28
|
-
import type { WarpSwitch } from "./packages/switch/index.ts";
|
|
29
|
-
import type { WarpTab } from "./packages/tabs/tab.ts";
|
|
30
|
-
import type { WarpTabs } from "./packages/tabs/tabs.ts";
|
|
31
|
-
import type { WarpTextarea } from "./packages/textarea/textarea.ts";
|
|
32
20
|
|
|
33
21
|
/**
|
|
34
22
|
* This type can be used to create scoped tags for your components.
|
|
@@ -147,8 +135,6 @@ export type WarpLinkProps = {
|
|
|
147
135
|
/** */
|
|
148
136
|
"variant"?: WarpLink['variant'];
|
|
149
137
|
/** */
|
|
150
|
-
"quiet"?: WarpLink['quiet'];
|
|
151
|
-
/** */
|
|
152
138
|
"small"?: WarpLink['small'];
|
|
153
139
|
/** */
|
|
154
140
|
"href"?: WarpLink['href'];
|
|
@@ -162,14 +148,6 @@ export type WarpLinkProps = {
|
|
|
162
148
|
"full-width"?: WarpLink['fullWidth'];
|
|
163
149
|
/** */
|
|
164
150
|
"fullWidth"?: WarpLink['fullWidth'];
|
|
165
|
-
/** */
|
|
166
|
-
"button-class"?: WarpLink['buttonClass'];
|
|
167
|
-
/** */
|
|
168
|
-
"buttonClass"?: WarpLink['buttonClass'];
|
|
169
|
-
/** */
|
|
170
|
-
"name"?: WarpLink['name'];
|
|
171
|
-
/** */
|
|
172
|
-
"classes"?: WarpLink['classes'];
|
|
173
151
|
|
|
174
152
|
|
|
175
153
|
}
|
|
@@ -379,15 +357,21 @@ export type WarpPillProps = {
|
|
|
379
357
|
|
|
380
358
|
|
|
381
359
|
export type WarpSelectProps = {
|
|
382
|
-
/** Whether the element should receive focus on render */
|
|
360
|
+
/** @deprecated Use the native `autofocus` attribute instead. - Whether the element should receive focus on render. */
|
|
383
361
|
"auto-focus"?: WarpSelect['autoFocus'];
|
|
384
|
-
/** Whether the element should receive focus on render */
|
|
362
|
+
/** @deprecated Use the native `autofocus` attribute instead. - Whether the element should receive focus on render. */
|
|
385
363
|
"autoFocus"?: WarpSelect['autoFocus'];
|
|
386
|
-
/**
|
|
364
|
+
/** Whether the element should receive focus on render */
|
|
365
|
+
"autofocus"?: WarpSelect['autofocus'];
|
|
366
|
+
/** The content displayed as the help text. Paired with `invalid` to show the text as a validation error. */
|
|
367
|
+
"help-text"?: WarpSelect['helpText'];
|
|
368
|
+
/** The content displayed as the help text. Paired with `invalid` to show the text as a validation error. */
|
|
369
|
+
"helpText"?: WarpSelect['helpText'];
|
|
370
|
+
/** Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error. */
|
|
387
371
|
"invalid"?: WarpSelect['invalid'];
|
|
388
|
-
/** Whether to always show a hint */
|
|
372
|
+
/** @deprecated Use `help-text` instead and only set it if you want to display the help text. - Whether to always show a hint. */
|
|
389
373
|
"always"?: WarpSelect['always'];
|
|
390
|
-
/** The content displayed as the help text */
|
|
374
|
+
/** @deprecated Use `help-text` instead. - The content displayed as the help text. */
|
|
391
375
|
"hint"?: WarpSelect['hint'];
|
|
392
376
|
/** The content to disply as the label */
|
|
393
377
|
"label"?: WarpSelect['label'];
|
|
@@ -395,10 +379,12 @@ export type WarpSelectProps = {
|
|
|
395
379
|
"optional"?: WarpSelect['optional'];
|
|
396
380
|
/** Renders the field in a disabled state. */
|
|
397
381
|
"disabled"?: WarpSelect['disabled'];
|
|
398
|
-
/** Renders the field in a readonly state. */
|
|
382
|
+
/** @deprecated Use the native readonly attribute instead. - Renders the field in a readonly state. */
|
|
399
383
|
"read-only"?: WarpSelect['readOnly'];
|
|
400
|
-
/** Renders the field in a readonly state. */
|
|
384
|
+
/** @deprecated Use the native readonly attribute instead. - Renders the field in a readonly state. */
|
|
401
385
|
"readOnly"?: WarpSelect['readOnly'];
|
|
386
|
+
/** Renders the field in a readonly state. */
|
|
387
|
+
"readonly"?: WarpSelect['readonly'];
|
|
402
388
|
/** */
|
|
403
389
|
"name"?: WarpSelect['name'];
|
|
404
390
|
/** */
|
|
@@ -453,6 +439,8 @@ export type WarpTextFieldProps = {
|
|
|
453
439
|
"value"?: WarpTextField['value'];
|
|
454
440
|
/** */
|
|
455
441
|
"name"?: WarpTextField['name'];
|
|
442
|
+
/** */
|
|
443
|
+
"step"?: WarpTextField['step'];
|
|
456
444
|
/** Function to format value when the input field.
|
|
457
445
|
|
|
458
446
|
Only active when the input field does not have focus,
|
|
@@ -520,58 +508,6 @@ export type WarpToastContainerProps = {
|
|
|
520
508
|
}
|
|
521
509
|
|
|
522
510
|
|
|
523
|
-
export type WarpComboboxProps = {
|
|
524
|
-
/** The available options to select from */
|
|
525
|
-
"options"?: WarpCombobox['options'];
|
|
526
|
-
/** Label above input */
|
|
527
|
-
"label"?: WarpCombobox['label'];
|
|
528
|
-
/** Input placeholder */
|
|
529
|
-
"placeholder"?: WarpCombobox['placeholder'];
|
|
530
|
-
/** The input value */
|
|
531
|
-
"value"?: WarpCombobox['value'];
|
|
532
|
-
/** Whether the popover opens when focus is on the text field */
|
|
533
|
-
"open-on-focus"?: WarpCombobox['openOnFocus'];
|
|
534
|
-
/** Whether the popover opens when focus is on the text field */
|
|
535
|
-
"openOnFocus"?: WarpCombobox['openOnFocus'];
|
|
536
|
-
/** Select active option on blur */
|
|
537
|
-
"select-on-blur"?: WarpCombobox['selectOnBlur'];
|
|
538
|
-
/** Select active option on blur */
|
|
539
|
-
"selectOnBlur"?: WarpCombobox['selectOnBlur'];
|
|
540
|
-
/** Whether the matching text segments in the options should be highlighted */
|
|
541
|
-
"match-text-segments"?: WarpCombobox['matchTextSegments'];
|
|
542
|
-
/** Whether the matching text segments in the options should be highlighted */
|
|
543
|
-
"matchTextSegments"?: WarpCombobox['matchTextSegments'];
|
|
544
|
-
/** Disable client-side static filtering */
|
|
545
|
-
"disable-static-filtering"?: WarpCombobox['disableStaticFiltering'];
|
|
546
|
-
/** Disable client-side static filtering */
|
|
547
|
-
"disableStaticFiltering"?: WarpCombobox['disableStaticFiltering'];
|
|
548
|
-
/** Renders the input field in an invalid state */
|
|
549
|
-
"invalid"?: WarpCombobox['invalid'];
|
|
550
|
-
/** The content to display as the help text */
|
|
551
|
-
"help-text"?: WarpCombobox['helpText'];
|
|
552
|
-
/** The content to display as the help text */
|
|
553
|
-
"helpText"?: WarpCombobox['helpText'];
|
|
554
|
-
/** Whether the element is disabled */
|
|
555
|
-
"disabled"?: WarpCombobox['disabled'];
|
|
556
|
-
/** Whether the element is required */
|
|
557
|
-
"required"?: WarpCombobox['required'];
|
|
558
|
-
/** Whether to show optional text */
|
|
559
|
-
"optional"?: WarpCombobox['optional'];
|
|
560
|
-
/** Additional container styling */
|
|
561
|
-
"class-name"?: WarpCombobox['containerClassName'];
|
|
562
|
-
/** Additional container styling */
|
|
563
|
-
"containerClassName"?: WarpCombobox['containerClassName'];
|
|
564
|
-
/** Additional list styling */
|
|
565
|
-
"list-class-name"?: WarpCombobox['listClassName'];
|
|
566
|
-
/** Additional list styling */
|
|
567
|
-
"listClassName"?: WarpCombobox['listClassName'];
|
|
568
|
-
/** Name attribute for form submission */
|
|
569
|
-
"name"?: WarpCombobox['name'];
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
|
|
575
511
|
export type WarpDatepickerProps = {
|
|
576
512
|
/** */
|
|
577
513
|
"label"?: WarpDatepicker['label'];
|
|
@@ -633,233 +569,6 @@ the query will point to an element that doesn't exist anymore. */
|
|
|
633
569
|
"selectedCell"?: WarpDatepicker['selectedCell'];
|
|
634
570
|
|
|
635
571
|
|
|
636
|
-
}
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
export type WarpDeadToggleProps = {
|
|
640
|
-
/** */
|
|
641
|
-
"type"?: WarpDeadToggle['type'];
|
|
642
|
-
/** */
|
|
643
|
-
"checked"?: WarpDeadToggle['checked'];
|
|
644
|
-
/** */
|
|
645
|
-
"indeterminate"?: WarpDeadToggle['indeterminate'];
|
|
646
|
-
/** */
|
|
647
|
-
"invalid"?: WarpDeadToggle['invalid'];
|
|
648
|
-
/** */
|
|
649
|
-
"disabled"?: WarpDeadToggle['disabled'];
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
export type WarpPageIndicatorProps = {
|
|
656
|
-
/** Currently selected page (1-based index) */
|
|
657
|
-
"selected-page"?: WarpPageIndicator['selectedPage'];
|
|
658
|
-
/** Currently selected page (1-based index) */
|
|
659
|
-
"selectedPage"?: WarpPageIndicator['selectedPage'];
|
|
660
|
-
/** Total number of pages */
|
|
661
|
-
"page-count"?: WarpPageIndicator['pageCount'];
|
|
662
|
-
/** Total number of pages */
|
|
663
|
-
"pageCount"?: WarpPageIndicator['pageCount'];
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
export type WarpPaginationProps = {
|
|
670
|
-
/** */
|
|
671
|
-
"base-url"?: WarpPagination['baseUrl'];
|
|
672
|
-
/** */
|
|
673
|
-
"baseUrl"?: WarpPagination['baseUrl'];
|
|
674
|
-
/** */
|
|
675
|
-
"pages"?: WarpPagination['pages'];
|
|
676
|
-
/** */
|
|
677
|
-
"current-page"?: WarpPagination['currentPageNumber'];
|
|
678
|
-
/** */
|
|
679
|
-
"currentPageNumber"?: WarpPagination['currentPageNumber'];
|
|
680
|
-
/** */
|
|
681
|
-
"visible-pages"?: WarpPagination['visiblePages'];
|
|
682
|
-
/** */
|
|
683
|
-
"visiblePages"?: WarpPagination['visiblePages'];
|
|
684
|
-
|
|
685
|
-
/** Triggered when a link button in the pagination is clicked. Contains the page number in `string` form. */
|
|
686
|
-
"onpage-click"?: (e: CustomEvent<CustomEvent>) => void;
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
export type WarpSliderThumbProps = {
|
|
692
|
-
/** */
|
|
693
|
-
"aria-label"?: WarpSliderThumb['ariaLabel'];
|
|
694
|
-
/** */
|
|
695
|
-
"ariaLabel"?: WarpSliderThumb['ariaLabel'];
|
|
696
|
-
/** */
|
|
697
|
-
"aria-description"?: WarpSliderThumb['ariaDescription'];
|
|
698
|
-
/** */
|
|
699
|
-
"ariaDescription"?: WarpSliderThumb['ariaDescription'];
|
|
700
|
-
/** */
|
|
701
|
-
"label"?: WarpSliderThumb['label'];
|
|
702
|
-
/** */
|
|
703
|
-
"name"?: WarpSliderThumb['name'];
|
|
704
|
-
/** */
|
|
705
|
-
"value"?: WarpSliderThumb['value'];
|
|
706
|
-
/** */
|
|
707
|
-
"disabled"?: WarpSliderThumb['disabled'];
|
|
708
|
-
/** Set by `<w-slider>` */
|
|
709
|
-
"markers"?: WarpSliderThumb['markers'];
|
|
710
|
-
/** Set by `<w-slider>` */
|
|
711
|
-
"required"?: WarpSliderThumb['required'];
|
|
712
|
-
/** Set by `<w-slider>` */
|
|
713
|
-
"step"?: WarpSliderThumb['step'];
|
|
714
|
-
/** Set by `<w-slider>` */
|
|
715
|
-
"min"?: WarpSliderThumb['min'];
|
|
716
|
-
/** Set by `<w-slider>` */
|
|
717
|
-
"max"?: WarpSliderThumb['max'];
|
|
718
|
-
/** Set by `<w-slider>` */
|
|
719
|
-
"suffix"?: WarpSliderThumb['suffix'];
|
|
720
|
-
/** JS hook to help you format the numeric value how you want. */
|
|
721
|
-
"formatter"?: WarpSliderThumb['formatter'];
|
|
722
|
-
/** */
|
|
723
|
-
"range"?: WarpSliderThumb['range'];
|
|
724
|
-
/** */
|
|
725
|
-
"textfield"?: WarpSliderThumb['textfield'];
|
|
726
|
-
|
|
727
|
-
/** */
|
|
728
|
-
"onslidervalidity"?: (e: CustomEvent<CustomEvent>) => void;
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
export type WarpSliderProps = {
|
|
733
|
-
/** The slider fieldset label. Required for proper accessibility.
|
|
734
|
-
|
|
735
|
-
If you need to display HTML, use the `label` slot instead. */
|
|
736
|
-
"label"?: WarpSlider['label'];
|
|
737
|
-
/** */
|
|
738
|
-
"disabled"?: WarpSlider['disabled'];
|
|
739
|
-
/** */
|
|
740
|
-
"invalid"?: WarpSlider['invalid'];
|
|
741
|
-
/** Ensures a child slider thumb has a value before allowing the containing form to submit. */
|
|
742
|
-
"required"?: WarpSlider['required'];
|
|
743
|
-
/** */
|
|
744
|
-
"min"?: WarpSlider['min'];
|
|
745
|
-
/** */
|
|
746
|
-
"max"?: WarpSlider['max'];
|
|
747
|
-
/** Pass a value similar to step to create visual markers at that interval */
|
|
748
|
-
"markers"?: WarpSlider['markers'];
|
|
749
|
-
/** */
|
|
750
|
-
"step"?: WarpSlider['step'];
|
|
751
|
-
/** Suffix used in text input fields and for the min and max values of the slider. */
|
|
752
|
-
"suffix"?: WarpSlider['suffix'];
|
|
753
|
-
/** Function to format the to- and from labels and value in the slider thumb tooltip. */
|
|
754
|
-
"formatter"?: WarpSlider['formatter'];
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
export type WarpStepsProps = {
|
|
761
|
-
/** */
|
|
762
|
-
"horizontal"?: WarpSteps['horizontal'];
|
|
763
|
-
/** */
|
|
764
|
-
"right"?: WarpSteps['right'];
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
export type WarpStepProps = {
|
|
771
|
-
/** */
|
|
772
|
-
"active"?: WarpStep['active'];
|
|
773
|
-
/** */
|
|
774
|
-
"completed"?: WarpStep['completed'];
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
export type WarpSwitchProps = {
|
|
781
|
-
/** */
|
|
782
|
-
"value"?: WarpSwitch['value'];
|
|
783
|
-
/** */
|
|
784
|
-
"disabled"?: WarpSwitch['disabled'];
|
|
785
|
-
|
|
786
|
-
/** */
|
|
787
|
-
"onchange"?: (e: CustomEvent<CustomEvent>) => void;
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
export type WarpTabProps = {
|
|
792
|
-
/** */
|
|
793
|
-
"name"?: WarpTab['name'];
|
|
794
|
-
/** */
|
|
795
|
-
"label"?: WarpTab['label'];
|
|
796
|
-
/** */
|
|
797
|
-
"active"?: WarpTab['active'];
|
|
798
|
-
/** */
|
|
799
|
-
"over"?: WarpTab['over'];
|
|
800
|
-
/** */
|
|
801
|
-
"tab-class"?: WarpTab['tabClass'];
|
|
802
|
-
/** */
|
|
803
|
-
"tabClass"?: WarpTab['tabClass'];
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
export type WarpTabsProps = {
|
|
810
|
-
/** */
|
|
811
|
-
"active"?: WarpTabs['active'];
|
|
812
|
-
/** */
|
|
813
|
-
"tab-class"?: WarpTabs['tabClass'];
|
|
814
|
-
/** */
|
|
815
|
-
"tabClass"?: WarpTabs['tabClass'];
|
|
816
|
-
|
|
817
|
-
/** */
|
|
818
|
-
"onchange"?: (e: CustomEvent<CustomEvent>) => void;
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
export type WarpTextareaProps = {
|
|
823
|
-
/** */
|
|
824
|
-
"disabled"?: WarpTextarea['disabled'];
|
|
825
|
-
/** */
|
|
826
|
-
"invalid"?: WarpTextarea['invalid'];
|
|
827
|
-
/** */
|
|
828
|
-
"label"?: WarpTextarea['label'];
|
|
829
|
-
/** */
|
|
830
|
-
"help-text"?: WarpTextarea['helpText'];
|
|
831
|
-
/** */
|
|
832
|
-
"helpText"?: WarpTextarea['helpText'];
|
|
833
|
-
/** */
|
|
834
|
-
"maximum-rows"?: WarpTextarea['maxRows'];
|
|
835
|
-
/** */
|
|
836
|
-
"maxRows"?: WarpTextarea['maxRows'];
|
|
837
|
-
/** */
|
|
838
|
-
"minimum-rows"?: WarpTextarea['minRows'];
|
|
839
|
-
/** */
|
|
840
|
-
"minRows"?: WarpTextarea['minRows'];
|
|
841
|
-
/** */
|
|
842
|
-
"name"?: WarpTextarea['name'];
|
|
843
|
-
/** */
|
|
844
|
-
"placeholder"?: WarpTextarea['placeholder'];
|
|
845
|
-
/** @deprecated Use the native readonly attribute instead. Here for API consistency with `w-textfield`. */
|
|
846
|
-
"read-only"?: WarpTextarea['readOnly'];
|
|
847
|
-
/** @deprecated Use the native readonly attribute instead. Here for API consistency with `w-textfield`. */
|
|
848
|
-
"readOnly"?: WarpTextarea['readOnly'];
|
|
849
|
-
/** */
|
|
850
|
-
"readonly"?: WarpTextarea['readonly'];
|
|
851
|
-
/** */
|
|
852
|
-
"required"?: WarpTextarea['required'];
|
|
853
|
-
/** */
|
|
854
|
-
"value"?: WarpTextarea['value'];
|
|
855
|
-
/** */
|
|
856
|
-
"optional"?: WarpTextarea['optional'];
|
|
857
|
-
/** */
|
|
858
|
-
"minHeight"?: WarpTextarea['minHeight'];
|
|
859
|
-
/** */
|
|
860
|
-
"maxHeight"?: WarpTextarea['maxHeight'];
|
|
861
|
-
|
|
862
|
-
|
|
863
572
|
}
|
|
864
573
|
|
|
865
574
|
export type CustomElements = {
|
|
@@ -915,16 +624,12 @@ export type WarpTextareaProps = {
|
|
|
915
624
|
*
|
|
916
625
|
* - `autofocus`: undefined
|
|
917
626
|
* - `variant`: undefined
|
|
918
|
-
* - `quiet`: undefined
|
|
919
627
|
* - `small`: undefined
|
|
920
628
|
* - `href`: undefined
|
|
921
629
|
* - `disabled`: undefined
|
|
922
630
|
* - `target`: undefined
|
|
923
631
|
* - `rel`: undefined
|
|
924
632
|
* - `full-width`/`fullWidth`: undefined
|
|
925
|
-
* - `button-class`/`buttonClass`: undefined
|
|
926
|
-
* - `name`: undefined
|
|
927
|
-
* - `classes`: undefined (property only)
|
|
928
633
|
*/
|
|
929
634
|
"w-link": Partial<WarpLinkProps & BaseProps<WarpLink> & BaseEvents>;
|
|
930
635
|
|
|
@@ -952,6 +657,12 @@ export type WarpTextareaProps = {
|
|
|
952
657
|
* - `name`: undefined
|
|
953
658
|
* - `value`: undefined
|
|
954
659
|
* - `ariaValueTextLoading`: undefined (property only)
|
|
660
|
+
*
|
|
661
|
+
* ## Methods
|
|
662
|
+
*
|
|
663
|
+
* Methods that can be called to access component functionality.
|
|
664
|
+
*
|
|
665
|
+
* - `resetFormControl() => void`: undefined
|
|
955
666
|
*/
|
|
956
667
|
"w-button": Partial<WarpButtonProps & BaseProps<WarpButton> & BaseEvents>;
|
|
957
668
|
|
|
@@ -1131,14 +842,17 @@ export type WarpTextareaProps = {
|
|
|
1131
842
|
*
|
|
1132
843
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1133
844
|
*
|
|
1134
|
-
* - `auto-focus`/`autoFocus`: Whether the element should receive focus on render
|
|
1135
|
-
* - `
|
|
1136
|
-
* - `
|
|
1137
|
-
* - `
|
|
845
|
+
* - `auto-focus`/`autoFocus`: Whether the element should receive focus on render.
|
|
846
|
+
* - `autofocus`: Whether the element should receive focus on render
|
|
847
|
+
* - `help-text`/`helpText`: The content displayed as the help text. Paired with `invalid` to show the text as a validation error.
|
|
848
|
+
* - `invalid`: Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error.
|
|
849
|
+
* - `always`: Whether to always show a hint.
|
|
850
|
+
* - `hint`: The content displayed as the help text.
|
|
1138
851
|
* - `label`: The content to disply as the label
|
|
1139
852
|
* - `optional`: Whether to show optional text
|
|
1140
853
|
* - `disabled`: Renders the field in a disabled state.
|
|
1141
854
|
* - `read-only`/`readOnly`: Renders the field in a readonly state.
|
|
855
|
+
* - `readonly`: Renders the field in a readonly state.
|
|
1142
856
|
* - `name`: undefined
|
|
1143
857
|
* - `value`: undefined
|
|
1144
858
|
*
|
|
@@ -1146,6 +860,7 @@ export type WarpTextareaProps = {
|
|
|
1146
860
|
*
|
|
1147
861
|
* Methods that can be called to access component functionality.
|
|
1148
862
|
*
|
|
863
|
+
* - `resetFormControl() => void`: undefined
|
|
1149
864
|
* - `handleKeyDown(event: KeyboardEvent) => void`: undefined
|
|
1150
865
|
* - `onChange({ target }) => void`: undefined
|
|
1151
866
|
*/
|
|
@@ -1179,6 +894,7 @@ export type WarpTextareaProps = {
|
|
|
1179
894
|
* - `type`: undefined
|
|
1180
895
|
* - `value`: undefined
|
|
1181
896
|
* - `name`: undefined
|
|
897
|
+
* - `step`: undefined
|
|
1182
898
|
* - `formatter`: Function to format value when the input field.
|
|
1183
899
|
*
|
|
1184
900
|
* Only active when the input field does not have focus,
|
|
@@ -1191,6 +907,7 @@ export type WarpTextareaProps = {
|
|
|
1191
907
|
*
|
|
1192
908
|
* Methods that can be called to access component functionality.
|
|
1193
909
|
*
|
|
910
|
+
* - `resetFormControl() => void`: undefined
|
|
1194
911
|
* - `handler(e: Event) => void`: undefined
|
|
1195
912
|
* - `prefixSlotChange() => void`: undefined
|
|
1196
913
|
* - `suffixSlotChange() => void`: undefined
|
|
@@ -1306,35 +1023,6 @@ export type WarpTextareaProps = {
|
|
|
1306
1023
|
"w-toast-container": Partial<WarpToastContainerProps & BaseProps<WarpToastContainer> & BaseEvents>;
|
|
1307
1024
|
|
|
1308
1025
|
|
|
1309
|
-
/**
|
|
1310
|
-
* A combobox element for text input with selectable options.
|
|
1311
|
-
*
|
|
1312
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-combobox--docs)
|
|
1313
|
-
*
|
|
1314
|
-
* ## Attributes & Properties
|
|
1315
|
-
*
|
|
1316
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1317
|
-
*
|
|
1318
|
-
* - `options`: The available options to select from
|
|
1319
|
-
* - `label`: Label above input
|
|
1320
|
-
* - `placeholder`: Input placeholder
|
|
1321
|
-
* - `value`: The input value
|
|
1322
|
-
* - `open-on-focus`/`openOnFocus`: Whether the popover opens when focus is on the text field
|
|
1323
|
-
* - `select-on-blur`/`selectOnBlur`: Select active option on blur
|
|
1324
|
-
* - `match-text-segments`/`matchTextSegments`: Whether the matching text segments in the options should be highlighted
|
|
1325
|
-
* - `disable-static-filtering`/`disableStaticFiltering`: Disable client-side static filtering
|
|
1326
|
-
* - `invalid`: Renders the input field in an invalid state
|
|
1327
|
-
* - `help-text`/`helpText`: The content to display as the help text
|
|
1328
|
-
* - `disabled`: Whether the element is disabled
|
|
1329
|
-
* - `required`: Whether the element is required
|
|
1330
|
-
* - `optional`: Whether to show optional text
|
|
1331
|
-
* - `class-name`/`containerClassName`: Additional container styling
|
|
1332
|
-
* - `list-class-name`/`listClassName`: Additional list styling
|
|
1333
|
-
* - `name`: Name attribute for form submission
|
|
1334
|
-
*/
|
|
1335
|
-
"w-combobox": Partial<WarpComboboxProps & BaseProps<WarpCombobox> & BaseEvents>;
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
1026
|
/**
|
|
1339
1027
|
* An input for dates.
|
|
1340
1028
|
*
|
|
@@ -1378,267 +1066,14 @@ export type WarpTextareaProps = {
|
|
|
1378
1066
|
* the query will point to an element that doesn't exist anymore. (property only)
|
|
1379
1067
|
* - `todayCell`: undefined (property only)
|
|
1380
1068
|
* - `selectedCell`: undefined (property only)
|
|
1381
|
-
*/
|
|
1382
|
-
"w-datepicker": Partial<WarpDatepickerProps & BaseProps<WarpDatepicker> & BaseEvents>;
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
/**
|
|
1386
|
-
* Dead toggle can be used where the appearance of a checkbox or radio is needed - but for accessibility purposes an actual input element should not be present.
|
|
1387
|
-
*
|
|
1388
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-dead-toggle--docs)
|
|
1389
|
-
*
|
|
1390
|
-
* ## Attributes & Properties
|
|
1391
|
-
*
|
|
1392
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1393
|
-
*
|
|
1394
|
-
* - `type`: undefined
|
|
1395
|
-
* - `checked`: undefined
|
|
1396
|
-
* - `indeterminate`: undefined
|
|
1397
|
-
* - `invalid`: undefined
|
|
1398
|
-
* - `disabled`: undefined
|
|
1399
|
-
*/
|
|
1400
|
-
"w-dead-toggle": Partial<WarpDeadToggleProps & BaseProps<WarpDeadToggle> & BaseEvents>;
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
/**
|
|
1404
|
-
*
|
|
1405
|
-
*
|
|
1406
|
-
* ## Attributes & Properties
|
|
1407
|
-
*
|
|
1408
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1409
|
-
*
|
|
1410
|
-
* - `selected-page`/`selectedPage`: Currently selected page (1-based index)
|
|
1411
|
-
* - `page-count`/`pageCount`: Total number of pages
|
|
1412
|
-
*/
|
|
1413
|
-
"w-pageindicator": Partial<WarpPageIndicatorProps & BaseProps<WarpPageIndicator> & BaseEvents>;
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
/**
|
|
1417
|
-
* Pagination allows users to navigate through multiple pages of content by providing navigation controls with page numbers and directional arrows.
|
|
1418
|
-
*
|
|
1419
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-pagination--docs)
|
|
1420
|
-
*
|
|
1421
|
-
* ## Attributes & Properties
|
|
1422
|
-
*
|
|
1423
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1424
|
-
*
|
|
1425
|
-
* - `base-url`/`baseUrl`: undefined
|
|
1426
|
-
* - `pages`: undefined
|
|
1427
|
-
* - `current-page`/`currentPageNumber`: undefined
|
|
1428
|
-
* - `visible-pages`/`visiblePages`: undefined
|
|
1429
|
-
*
|
|
1430
|
-
* ## Events
|
|
1431
|
-
*
|
|
1432
|
-
* Events that will be emitted by the component.
|
|
1433
|
-
*
|
|
1434
|
-
* - `page-click`: Triggered when a link button in the pagination is clicked. Contains the page number in `string` form.
|
|
1435
|
-
*/
|
|
1436
|
-
"w-pagination": Partial<WarpPaginationProps & BaseProps<WarpPagination> & BaseEvents>;
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
/**
|
|
1441
|
-
* Component to place inside a `<w-slider>`.
|
|
1442
|
-
*
|
|
1443
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)
|
|
1444
|
-
*
|
|
1445
|
-
* ## Attributes & Properties
|
|
1446
|
-
*
|
|
1447
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1448
|
-
*
|
|
1449
|
-
* - `aria-label`/`ariaLabel`: undefined
|
|
1450
|
-
* - `aria-description`/`ariaDescription`: undefined
|
|
1451
|
-
* - `label`: undefined
|
|
1452
|
-
* - `name`: undefined
|
|
1453
|
-
* - `value`: undefined
|
|
1454
|
-
* - `disabled`: undefined
|
|
1455
|
-
* - `markers`: Set by `<w-slider>` (property only)
|
|
1456
|
-
* - `required`: Set by `<w-slider>` (property only)
|
|
1457
|
-
* - `step`: Set by `<w-slider>` (property only)
|
|
1458
|
-
* - `min`: Set by `<w-slider>` (property only)
|
|
1459
|
-
* - `max`: Set by `<w-slider>` (property only)
|
|
1460
|
-
* - `suffix`: Set by `<w-slider>` (property only)
|
|
1461
|
-
* - `formatter`: JS hook to help you format the numeric value how you want. (property only)
|
|
1462
|
-
* - `range`: undefined (property only)
|
|
1463
|
-
* - `textfield`: undefined (property only)
|
|
1464
|
-
*
|
|
1465
|
-
* ## Events
|
|
1466
|
-
*
|
|
1467
|
-
* Events that will be emitted by the component.
|
|
1468
|
-
*
|
|
1469
|
-
* - `slidervalidity`: undefined
|
|
1470
|
-
*/
|
|
1471
|
-
"w-slider-thumb": Partial<WarpSliderThumbProps & BaseProps<WarpSliderThumb> & BaseEvents>;
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
/**
|
|
1475
|
-
* Parent component for sliders (both single and range sliders). Used in combination with a `<w-slider-thumb>`.
|
|
1476
|
-
*
|
|
1477
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)
|
|
1478
|
-
*
|
|
1479
|
-
* ## Attributes & Properties
|
|
1480
|
-
*
|
|
1481
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1482
|
-
*
|
|
1483
|
-
* - `label`: The slider fieldset label. Required for proper accessibility.
|
|
1484
|
-
*
|
|
1485
|
-
* If you need to display HTML, use the `label` slot instead.
|
|
1486
|
-
* - `disabled`: undefined
|
|
1487
|
-
* - `invalid`: undefined
|
|
1488
|
-
* - `required`: Ensures a child slider thumb has a value before allowing the containing form to submit.
|
|
1489
|
-
* - `min`: undefined
|
|
1490
|
-
* - `max`: undefined
|
|
1491
|
-
* - `markers`: Pass a value similar to step to create visual markers at that interval
|
|
1492
|
-
* - `step`: undefined
|
|
1493
|
-
* - `suffix`: Suffix used in text input fields and for the min and max values of the slider.
|
|
1494
|
-
* - `formatter`: Function to format the to- and from labels and value in the slider thumb tooltip. (property only)
|
|
1495
|
-
*
|
|
1496
|
-
* ## Slots
|
|
1497
|
-
*
|
|
1498
|
-
* Areas where markup can be added to the component.
|
|
1499
|
-
*
|
|
1500
|
-
* - `(default)`: For single sliders place a `<w-slider-thumb>` in the default slot.
|
|
1501
|
-
* - `label`: Label for the slider or range slider as a whole.
|
|
1502
|
-
* - `description`: Optional description between the label and slider.
|
|
1503
|
-
* - `from`: Range sliders need to place a `<w-slider-thumb>` in the from and to slots.
|
|
1504
|
-
* - `to`: Range sliders need to place a `<w-slider-thumb>` in the from and to slots.
|
|
1505
|
-
*/
|
|
1506
|
-
"w-slider": Partial<WarpSliderProps & BaseProps<WarpSlider> & BaseEvents>;
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
/**
|
|
1510
|
-
* Steps are used to show progress through a process or to guide users through a multi-step task.
|
|
1511
|
-
*
|
|
1512
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/components-steps--docs)
|
|
1513
|
-
*
|
|
1514
|
-
* ## Attributes & Properties
|
|
1515
|
-
*
|
|
1516
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1517
|
-
*
|
|
1518
|
-
* - `horizontal`: undefined
|
|
1519
|
-
* - `right`: undefined
|
|
1520
1069
|
*
|
|
1521
1070
|
* ## Methods
|
|
1522
1071
|
*
|
|
1523
1072
|
* Methods that can be called to access component functionality.
|
|
1524
1073
|
*
|
|
1525
|
-
* - `
|
|
1074
|
+
* - `resetFormControl() => void`: undefined
|
|
1526
1075
|
*/
|
|
1527
|
-
"w-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
/**
|
|
1531
|
-
* Individual step component that shows a single step in a process
|
|
1532
|
-
*
|
|
1533
|
-
* ## Attributes & Properties
|
|
1534
|
-
*
|
|
1535
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1536
|
-
*
|
|
1537
|
-
* - `active`: undefined
|
|
1538
|
-
* - `completed`: undefined
|
|
1539
|
-
*
|
|
1540
|
-
* ## Methods
|
|
1541
|
-
*
|
|
1542
|
-
* Methods that can be called to access component functionality.
|
|
1543
|
-
*
|
|
1544
|
-
* - `setContext(context: StepsContext) => void`: undefined
|
|
1545
|
-
* - `getAriaLabel() => void`: undefined
|
|
1546
|
-
*/
|
|
1547
|
-
"w-step": Partial<WarpStepProps & BaseProps<WarpStep> & BaseEvents>;
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
/**
|
|
1551
|
-
*
|
|
1552
|
-
*
|
|
1553
|
-
* ## Attributes & Properties
|
|
1554
|
-
*
|
|
1555
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1556
|
-
*
|
|
1557
|
-
* - `value`: undefined
|
|
1558
|
-
* - `disabled`: undefined
|
|
1559
|
-
*
|
|
1560
|
-
* ## Events
|
|
1561
|
-
*
|
|
1562
|
-
* Events that will be emitted by the component.
|
|
1563
|
-
*
|
|
1564
|
-
* - `change`: undefined
|
|
1565
|
-
*/
|
|
1566
|
-
"w-switch": Partial<WarpSwitchProps & BaseProps<WarpSwitch> & BaseEvents>;
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
/**
|
|
1570
|
-
* Individual tab component used within w-tabs container.
|
|
1571
|
-
*
|
|
1572
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
|
|
1573
|
-
*
|
|
1574
|
-
* ## Attributes & Properties
|
|
1575
|
-
*
|
|
1576
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1577
|
-
*
|
|
1578
|
-
* - `name`: undefined
|
|
1579
|
-
* - `label`: undefined
|
|
1580
|
-
* - `active`: undefined
|
|
1581
|
-
* - `over`: undefined
|
|
1582
|
-
* - `tab-class`/`tabClass`: undefined
|
|
1583
|
-
*/
|
|
1584
|
-
"w-tab": Partial<WarpTabProps & BaseProps<WarpTab> & BaseEvents>;
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
/**
|
|
1588
|
-
* Tabs are used to organize content by grouping similar information on the same page.
|
|
1589
|
-
*
|
|
1590
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
|
|
1591
|
-
*
|
|
1592
|
-
* ## Attributes & Properties
|
|
1593
|
-
*
|
|
1594
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1595
|
-
*
|
|
1596
|
-
* - `active`: undefined
|
|
1597
|
-
* - `tab-class`/`tabClass`: undefined
|
|
1598
|
-
* - `tabs`: undefined (property only) (readonly)
|
|
1599
|
-
* - `activeTab`: undefined (property only) (readonly)
|
|
1600
|
-
*
|
|
1601
|
-
* ## Events
|
|
1602
|
-
*
|
|
1603
|
-
* Events that will be emitted by the component.
|
|
1604
|
-
*
|
|
1605
|
-
* - `change`: undefined
|
|
1606
|
-
*/
|
|
1607
|
-
"w-tabs": Partial<WarpTabsProps & BaseProps<WarpTabs> & BaseEvents>;
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
/**
|
|
1611
|
-
* A single line text input element.
|
|
1612
|
-
*
|
|
1613
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)
|
|
1614
|
-
*
|
|
1615
|
-
* ## Attributes & Properties
|
|
1616
|
-
*
|
|
1617
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1618
|
-
*
|
|
1619
|
-
* - `disabled`: undefined
|
|
1620
|
-
* - `invalid`: undefined
|
|
1621
|
-
* - `label`: undefined
|
|
1622
|
-
* - `help-text`/`helpText`: undefined
|
|
1623
|
-
* - `maximum-rows`/`maxRows`: undefined
|
|
1624
|
-
* - `minimum-rows`/`minRows`: undefined
|
|
1625
|
-
* - `name`: undefined
|
|
1626
|
-
* - `placeholder`: undefined
|
|
1627
|
-
* - `read-only`/`readOnly`: undefined
|
|
1628
|
-
* - `readonly`: undefined
|
|
1629
|
-
* - `required`: undefined
|
|
1630
|
-
* - `value`: undefined
|
|
1631
|
-
* - `optional`: undefined
|
|
1632
|
-
* - `minHeight`: undefined (property only)
|
|
1633
|
-
* - `maxHeight`: undefined (property only)
|
|
1634
|
-
*
|
|
1635
|
-
* ## Methods
|
|
1636
|
-
*
|
|
1637
|
-
* Methods that can be called to access component functionality.
|
|
1638
|
-
*
|
|
1639
|
-
* - `handler(e: InputEvent) => void`: undefined
|
|
1640
|
-
*/
|
|
1641
|
-
"w-textarea": Partial<WarpTextareaProps & BaseProps<WarpTextarea> & BaseEvents>;
|
|
1076
|
+
"w-datepicker": Partial<WarpDatepickerProps & BaseProps<WarpDatepicker> & BaseEvents>;
|
|
1642
1077
|
}
|
|
1643
1078
|
|
|
1644
1079
|
export type CustomCssProperties = {
|
|
@@ -1674,7 +1109,7 @@ declare module '@stencil/core' {
|
|
|
1674
1109
|
export interface CSSProperties extends CustomCssProperties {}
|
|
1675
1110
|
}
|
|
1676
1111
|
|
|
1677
|
-
declare module 'hono' {
|
|
1112
|
+
declare module 'hono/jsx' {
|
|
1678
1113
|
namespace JSX {
|
|
1679
1114
|
interface IntrinsicElements extends CustomElements {}
|
|
1680
1115
|
}
|