@warp-ds/elements 2.2.0-next.29 → 2.2.0-next.30
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 +973 -5050
- package/dist/index.d.ts +87 -995
- package/dist/packages/link/index.js +93 -2640
- package/dist/packages/modal/index.js +5 -2717
- package/dist/packages/select/select.react.stories.d.ts +1 -1
- package/dist/packages/textfield/textfield.react.stories.d.ts +1 -1
- package/dist/packages/toast/index.js +3 -2483
- package/dist/packages/utils/index.js +37 -2
- package/dist/vscode.html-custom-data.json +13 -456
- package/dist/web-types.json +166 -1203
- package/package.json +1 -1
- 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 -95
- 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/datepicker/DatePicker.test.d.ts +0 -2
- package/dist/packages/datepicker/DatePicker.test.js +0 -69
- package/dist/packages/datepicker/datepicker.d.ts +0 -102
- package/dist/packages/datepicker/datepicker.js +0 -2785
- package/dist/packages/datepicker/datepicker.js.map +0 -7
- package/dist/packages/datepicker/datepicker.react.stories.d.ts +0 -18
- package/dist/packages/datepicker/datepicker.react.stories.js +0 -26
- package/dist/packages/datepicker/datepicker.stories.d.ts +0 -12
- package/dist/packages/datepicker/datepicker.stories.js +0 -51
- package/dist/packages/datepicker/datepicker.test.d.ts +0 -2
- package/dist/packages/datepicker/datepicker.test.js +0 -62
- package/dist/packages/datepicker/index.d.ts +0 -1
- package/dist/packages/datepicker/index.js +0 -2785
- package/dist/packages/datepicker/index.js.map +0 -7
- package/dist/packages/datepicker/locales/da/messages.d.mts +0 -1
- package/dist/packages/datepicker/locales/da/messages.mjs +0 -1
- package/dist/packages/datepicker/locales/en/messages.d.mts +0 -1
- package/dist/packages/datepicker/locales/en/messages.mjs +0 -1
- package/dist/packages/datepicker/locales/fi/messages.d.mts +0 -1
- package/dist/packages/datepicker/locales/fi/messages.mjs +0 -1
- package/dist/packages/datepicker/locales/nb/messages.d.mts +0 -1
- package/dist/packages/datepicker/locales/nb/messages.mjs +0 -1
- package/dist/packages/datepicker/locales/sv/messages.d.mts +0 -1
- package/dist/packages/datepicker/locales/sv/messages.mjs +0 -1
- package/dist/packages/datepicker/react.d.ts +0 -5
- package/dist/packages/datepicker/react.js +0 -15
- package/dist/packages/datepicker/styles/w-datepicker-calendar.styles.d.ts +0 -1
- package/dist/packages/datepicker/styles/w-datepicker-calendar.styles.js +0 -15
- package/dist/packages/datepicker/styles/w-datepicker-day.styles.d.ts +0 -1
- package/dist/packages/datepicker/styles/w-datepicker-day.styles.js +0 -64
- package/dist/packages/datepicker/styles/w-datepicker-month.styles.d.ts +0 -1
- package/dist/packages/datepicker/styles/w-datepicker-month.styles.js +0 -72
- package/dist/packages/datepicker/styles/w-datepicker.styles.d.ts +0 -1
- package/dist/packages/datepicker/styles/w-datepicker.styles.js +0 -101
- package/dist/packages/datepicker/utils.d.ts +0 -13
- package/dist/packages/datepicker/utils.js +0 -28
- 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 -2548
- 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/link/index.js.map +0 -7
- package/dist/packages/link/link.react.stories.d.ts +0 -21
- package/dist/packages/link/link.react.stories.js +0 -96
- package/dist/packages/link/link.stories.d.ts +0 -20
- package/dist/packages/link/link.stories.js +0 -110
- package/dist/packages/link/link.test.d.ts +0 -1
- package/dist/packages/link/link.test.js +0 -9
- package/dist/packages/link/react.d.ts +0 -2
- package/dist/packages/link/react.js +0 -11
- package/dist/packages/modal/index.js.map +0 -7
- 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.d.ts +0 -66
- package/dist/packages/rip-and-tear-checkbox/checkbox.js +0 -2592
- package/dist/packages/rip-and-tear-checkbox/checkbox.js.map +0 -7
- package/dist/packages/rip-and-tear-checkbox/checkbox.stories.d.ts +0 -8
- package/dist/packages/rip-and-tear-checkbox/checkbox.stories.js +0 -11
- package/dist/packages/rip-and-tear-checkbox/index.d.ts +0 -1
- package/dist/packages/rip-and-tear-checkbox/index.js +0 -2592
- package/dist/packages/rip-and-tear-checkbox/index.js.map +0 -7
- package/dist/packages/rip-and-tear-checkbox/react.d.ts +0 -5
- package/dist/packages/rip-and-tear-checkbox/react.js +0 -15
- 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 -2649
- package/dist/packages/rip-and-tear-radio/index.js.map +0 -7
- 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 -2649
- 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 -2563
- 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 -2654
- 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 -2851
- package/dist/packages/slider/index.js.map +0 -7
- 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 -2470
- package/dist/packages/tabs/index.js.map +0 -7
- 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 -2441
- package/dist/packages/tabs/tab-panel.js.map +0 -7
- 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 -2545
- package/dist/packages/tabs/tabs.stories.js.map +0 -7
- package/dist/packages/toast/index.js.map +0 -7
- package/dist/packages/toggle-styles.d.ts +0 -1
- package/dist/packages/toggle-styles.js +0 -109
- package/dist/packages/utils/index.js.map +0 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,35 +1,19 @@
|
|
|
1
1
|
|
|
2
2
|
import type { ccSuffix, ccPrefix, WarpAffix } from "./packages/affix/index.ts";
|
|
3
3
|
import type { WarpAlert } from "./packages/alert/index.ts";
|
|
4
|
-
import type { WarpLink } from "./packages/link/index.ts";
|
|
5
4
|
import type { ccButton, WarpButton } from "./packages/button/index.ts";
|
|
6
5
|
import type { ccAttention, WarpAttention } from "./packages/attention/index.ts";
|
|
7
6
|
import type { WarpBadge } from "./packages/badge/index.ts";
|
|
8
7
|
import type { WarpBox } from "./packages/box/index.ts";
|
|
9
8
|
import type { ccBreadcrumbs, WarpBreadcrumbs } from "./packages/breadcrumbs/index.ts";
|
|
10
9
|
import type { ccCard, WarpCard } from "./packages/card/index.ts";
|
|
11
|
-
import type { ccCombobox, WarpCombobox } from "./packages/combobox/index.ts";
|
|
12
|
-
import type { WarpDatepicker } from "./packages/datepicker/datepicker.ts";
|
|
13
|
-
import type { WarpDeadToggle } from "./packages/dead-toggle/index.ts";
|
|
14
10
|
import type { ccBox, ccExpandable, WarpExpandable } from "./packages/expandable/index.ts";
|
|
15
|
-
import type { ModalFooter } from "./packages/modal/modal-footer.ts";
|
|
16
|
-
import type { ModalHeader } from "./packages/modal/modal-header.ts";
|
|
17
|
-
import type { ModalMain } from "./packages/modal/modal-main.ts";
|
|
18
|
-
import type { WarpPageIndicator } from "./packages/pageindicator/index.ts";
|
|
19
|
-
import type { WarpPagination } from "./packages/pagination/index.ts";
|
|
20
11
|
import type { pillStyles, WarpPill } from "./packages/pill/index.ts";
|
|
21
|
-
import type { WCheckbox } from "./packages/rip-and-tear-checkbox/checkbox.ts";
|
|
22
|
-
import type { WRadio } from "./packages/rip-and-tear-radio/radio.ts";
|
|
23
|
-
import type { WRadioGroup } from "./packages/rip-and-tear-radio/radio-group.ts";
|
|
24
12
|
import type { ccSelect, ccLabel, ccHelpText, WarpSelect } from "./packages/select/index.ts";
|
|
25
13
|
import type { ccinput, WarpTextField } from "./packages/textfield/index.ts";
|
|
26
|
-
import type {
|
|
27
|
-
import type {
|
|
28
|
-
import type {
|
|
29
|
-
import type { WarpSwitch } from "./packages/switch/index.ts";
|
|
30
|
-
import type { WarpTab } from "./packages/tabs/tab.ts";
|
|
31
|
-
import type { WarpTabPanel } from "./packages/tabs/tab-panel.ts";
|
|
32
|
-
import type { WarpTabs } from "./packages/tabs/tabs.ts";
|
|
14
|
+
import type { ModalFooter } from "./packages/modal/modal-footer.ts";
|
|
15
|
+
import type { ModalHeader } from "./packages/modal/modal-header.ts";
|
|
16
|
+
import type { ModalMain } from "./packages/modal/modal-main.ts";
|
|
33
17
|
import type { WarpToastContainer } from "./packages/toast/toast-container.ts";
|
|
34
18
|
|
|
35
19
|
/**
|
|
@@ -143,40 +127,6 @@ export type WarpAlertProps = {
|
|
|
143
127
|
}
|
|
144
128
|
|
|
145
129
|
|
|
146
|
-
export type WarpLinkProps = {
|
|
147
|
-
/** */
|
|
148
|
-
"autofocus"?: WarpLink['autofocus'];
|
|
149
|
-
/** */
|
|
150
|
-
"variant"?: WarpLink['variant'];
|
|
151
|
-
/** */
|
|
152
|
-
"quiet"?: WarpLink['quiet'];
|
|
153
|
-
/** */
|
|
154
|
-
"small"?: WarpLink['small'];
|
|
155
|
-
/** */
|
|
156
|
-
"href"?: WarpLink['href'];
|
|
157
|
-
/** */
|
|
158
|
-
"disabled"?: WarpLink['disabled'];
|
|
159
|
-
/** */
|
|
160
|
-
"target"?: WarpLink['target'];
|
|
161
|
-
/** */
|
|
162
|
-
"rel"?: WarpLink['rel'];
|
|
163
|
-
/** */
|
|
164
|
-
"full-width"?: WarpLink['fullWidth'];
|
|
165
|
-
/** */
|
|
166
|
-
"fullWidth"?: WarpLink['fullWidth'];
|
|
167
|
-
/** */
|
|
168
|
-
"button-class"?: WarpLink['buttonClass'];
|
|
169
|
-
/** */
|
|
170
|
-
"buttonClass"?: WarpLink['buttonClass'];
|
|
171
|
-
/** */
|
|
172
|
-
"name"?: WarpLink['name'];
|
|
173
|
-
/** */
|
|
174
|
-
"classes"?: WarpLink['classes'];
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
|
|
180
130
|
export type WarpButtonProps = {
|
|
181
131
|
/** */
|
|
182
132
|
"type"?: WarpButton['type'];
|
|
@@ -309,138 +259,6 @@ export type WarpCardProps = {
|
|
|
309
259
|
}
|
|
310
260
|
|
|
311
261
|
|
|
312
|
-
export type WarpComboboxProps = {
|
|
313
|
-
/** The available options to select from */
|
|
314
|
-
"options"?: WarpCombobox['options'];
|
|
315
|
-
/** Label above input */
|
|
316
|
-
"label"?: WarpCombobox['label'];
|
|
317
|
-
/** Input placeholder */
|
|
318
|
-
"placeholder"?: WarpCombobox['placeholder'];
|
|
319
|
-
/** The input value */
|
|
320
|
-
"value"?: WarpCombobox['value'];
|
|
321
|
-
/** Whether the popover opens when focus is on the text field */
|
|
322
|
-
"open-on-focus"?: WarpCombobox['openOnFocus'];
|
|
323
|
-
/** Whether the popover opens when focus is on the text field */
|
|
324
|
-
"openOnFocus"?: WarpCombobox['openOnFocus'];
|
|
325
|
-
/** Select active option on blur */
|
|
326
|
-
"select-on-blur"?: WarpCombobox['selectOnBlur'];
|
|
327
|
-
/** Select active option on blur */
|
|
328
|
-
"selectOnBlur"?: WarpCombobox['selectOnBlur'];
|
|
329
|
-
/** Whether the matching text segments in the options should be highlighted */
|
|
330
|
-
"match-text-segments"?: WarpCombobox['matchTextSegments'];
|
|
331
|
-
/** Whether the matching text segments in the options should be highlighted */
|
|
332
|
-
"matchTextSegments"?: WarpCombobox['matchTextSegments'];
|
|
333
|
-
/** Disable client-side static filtering */
|
|
334
|
-
"disable-static-filtering"?: WarpCombobox['disableStaticFiltering'];
|
|
335
|
-
/** Disable client-side static filtering */
|
|
336
|
-
"disableStaticFiltering"?: WarpCombobox['disableStaticFiltering'];
|
|
337
|
-
/** Renders the input field in an invalid state */
|
|
338
|
-
"invalid"?: WarpCombobox['invalid'];
|
|
339
|
-
/** The content to display as the help text */
|
|
340
|
-
"help-text"?: WarpCombobox['helpText'];
|
|
341
|
-
/** The content to display as the help text */
|
|
342
|
-
"helpText"?: WarpCombobox['helpText'];
|
|
343
|
-
/** Whether the element is disabled */
|
|
344
|
-
"disabled"?: WarpCombobox['disabled'];
|
|
345
|
-
/** Whether the element is required */
|
|
346
|
-
"required"?: WarpCombobox['required'];
|
|
347
|
-
/** Whether to show optional text */
|
|
348
|
-
"optional"?: WarpCombobox['optional'];
|
|
349
|
-
/** Additional container styling */
|
|
350
|
-
"class-name"?: WarpCombobox['containerClassName'];
|
|
351
|
-
/** Additional container styling */
|
|
352
|
-
"containerClassName"?: WarpCombobox['containerClassName'];
|
|
353
|
-
/** Additional list styling */
|
|
354
|
-
"list-class-name"?: WarpCombobox['listClassName'];
|
|
355
|
-
/** Additional list styling */
|
|
356
|
-
"listClassName"?: WarpCombobox['listClassName'];
|
|
357
|
-
/** Name attribute for form submission */
|
|
358
|
-
"name"?: WarpCombobox['name'];
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
export type WarpDatepickerProps = {
|
|
365
|
-
/** */
|
|
366
|
-
"label"?: WarpDatepicker['label'];
|
|
367
|
-
/** Takes precedence over the `<html>` lang attribute. */
|
|
368
|
-
"lang"?: WarpDatepicker['lang'];
|
|
369
|
-
/** */
|
|
370
|
-
"name"?: WarpDatepicker['name'];
|
|
371
|
-
/** */
|
|
372
|
-
"value"?: WarpDatepicker['value'];
|
|
373
|
-
/** Decides the format of the date as shown in the calendar header.
|
|
374
|
-
|
|
375
|
-
The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
|
|
376
|
-
"header-format"?: WarpDatepicker['headerFormat'];
|
|
377
|
-
/** Decides the format of the date as shown in the calendar header.
|
|
378
|
-
|
|
379
|
-
The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
|
|
380
|
-
"headerFormat"?: WarpDatepicker['headerFormat'];
|
|
381
|
-
/** Decides the format of the weekday as shown above the grid of dates in the calendar.
|
|
382
|
-
|
|
383
|
-
The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
|
|
384
|
-
"weekday-format"?: WarpDatepicker['weekdayFormat'];
|
|
385
|
-
/** Decides the format of the weekday as shown above the grid of dates in the calendar.
|
|
386
|
-
|
|
387
|
-
The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
|
|
388
|
-
"weekdayFormat"?: WarpDatepicker['weekdayFormat'];
|
|
389
|
-
/** Decides the format of the day in the calendar as read to screen readers.
|
|
390
|
-
|
|
391
|
-
The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
|
|
392
|
-
"day-format"?: WarpDatepicker['dayFormat'];
|
|
393
|
-
/** Decides the format of the day in the calendar as read to screen readers.
|
|
394
|
-
|
|
395
|
-
The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
|
|
396
|
-
"dayFormat"?: WarpDatepicker['dayFormat'];
|
|
397
|
-
/** Lets you control if a date in the calendar should be disabled.
|
|
398
|
-
|
|
399
|
-
This needs to be set on the element instance in JavaScript, not as an HTML attribute. */
|
|
400
|
-
"isDayDisabled"?: WarpDatepicker['isDayDisabled'];
|
|
401
|
-
/** */
|
|
402
|
-
"isCalendarOpen"?: WarpDatepicker['isCalendarOpen'];
|
|
403
|
-
/** */
|
|
404
|
-
"navigationDate"?: WarpDatepicker['navigationDate'];
|
|
405
|
-
/** */
|
|
406
|
-
"calendar"?: WarpDatepicker['calendar'];
|
|
407
|
-
/** */
|
|
408
|
-
"input"?: WarpDatepicker['input'];
|
|
409
|
-
/** */
|
|
410
|
-
"toggleButton"?: WarpDatepicker['toggleButton'];
|
|
411
|
-
/** */
|
|
412
|
-
"wrapper"?: WarpDatepicker['wrapper'];
|
|
413
|
-
/** This is the first focusable element, needed for the modal focus trap.
|
|
414
|
-
|
|
415
|
-
Don't cache this and other `@query` fields from inside the calendar modal.
|
|
416
|
-
They work the first time, but once the calendar is closed and reopened
|
|
417
|
-
the query will point to an element that doesn't exist anymore. */
|
|
418
|
-
"previousMonthButton"?: WarpDatepicker['previousMonthButton'];
|
|
419
|
-
/** */
|
|
420
|
-
"todayCell"?: WarpDatepicker['todayCell'];
|
|
421
|
-
/** */
|
|
422
|
-
"selectedCell"?: WarpDatepicker['selectedCell'];
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
export type WarpDeadToggleProps = {
|
|
429
|
-
/** */
|
|
430
|
-
"type"?: WarpDeadToggle['type'];
|
|
431
|
-
/** */
|
|
432
|
-
"checked"?: WarpDeadToggle['checked'];
|
|
433
|
-
/** */
|
|
434
|
-
"indeterminate"?: WarpDeadToggle['indeterminate'];
|
|
435
|
-
/** */
|
|
436
|
-
"invalid"?: WarpDeadToggle['invalid'];
|
|
437
|
-
/** */
|
|
438
|
-
"disabled"?: WarpDeadToggle['disabled'];
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
|
|
444
262
|
export type WarpExpandableProps = {
|
|
445
263
|
/** */
|
|
446
264
|
"expanded"?: WarpExpandable['expanded'];
|
|
@@ -477,89 +295,6 @@ export type WarpExpandableProps = {
|
|
|
477
295
|
}
|
|
478
296
|
|
|
479
297
|
|
|
480
|
-
export type ModalFooterProps = {
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
export type ModalHeaderProps = {
|
|
487
|
-
/** */
|
|
488
|
-
"title"?: ModalHeader['title'];
|
|
489
|
-
/** */
|
|
490
|
-
"back"?: ModalHeader['back'];
|
|
491
|
-
/** */
|
|
492
|
-
"no-close"?: ModalHeader['noClose'];
|
|
493
|
-
/** */
|
|
494
|
-
"noClose"?: ModalHeader['noClose'];
|
|
495
|
-
/** */
|
|
496
|
-
"titleEl"?: ModalHeader['titleEl'];
|
|
497
|
-
|
|
498
|
-
/** */
|
|
499
|
-
"onbackClicked"?: (e: CustomEvent<CustomEvent>) => void;
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
export type ModalMainProps = {
|
|
504
|
-
/** */
|
|
505
|
-
"show"?: ModalMain['show'];
|
|
506
|
-
/** */
|
|
507
|
-
"content-id"?: ModalMain['contentId'];
|
|
508
|
-
/** */
|
|
509
|
-
"contentId"?: ModalMain['contentId'];
|
|
510
|
-
/** */
|
|
511
|
-
"ignore-backdrop-clicks"?: ModalMain['ignoreBackdropClicks'];
|
|
512
|
-
/** */
|
|
513
|
-
"ignoreBackdropClicks"?: ModalMain['ignoreBackdropClicks'];
|
|
514
|
-
/** */
|
|
515
|
-
"dialogEl"?: ModalMain['dialogEl'];
|
|
516
|
-
/** */
|
|
517
|
-
"dialogInnerEl"?: ModalMain['dialogInnerEl'];
|
|
518
|
-
/** */
|
|
519
|
-
"contentEl"?: ModalMain['contentEl'];
|
|
520
|
-
|
|
521
|
-
/** */
|
|
522
|
-
"onshown"?: (e: CustomEvent<CustomEvent>) => void;
|
|
523
|
-
/** */
|
|
524
|
-
"onhidden"?: (e: CustomEvent<CustomEvent>) => void;
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
export type WarpPageIndicatorProps = {
|
|
529
|
-
/** Currently selected page (1-based index) */
|
|
530
|
-
"selected-page"?: WarpPageIndicator['selectedPage'];
|
|
531
|
-
/** Currently selected page (1-based index) */
|
|
532
|
-
"selectedPage"?: WarpPageIndicator['selectedPage'];
|
|
533
|
-
/** Total number of pages */
|
|
534
|
-
"page-count"?: WarpPageIndicator['pageCount'];
|
|
535
|
-
/** Total number of pages */
|
|
536
|
-
"pageCount"?: WarpPageIndicator['pageCount'];
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
export type WarpPaginationProps = {
|
|
543
|
-
/** */
|
|
544
|
-
"base-url"?: WarpPagination['baseUrl'];
|
|
545
|
-
/** */
|
|
546
|
-
"baseUrl"?: WarpPagination['baseUrl'];
|
|
547
|
-
/** */
|
|
548
|
-
"pages"?: WarpPagination['pages'];
|
|
549
|
-
/** */
|
|
550
|
-
"current-page"?: WarpPagination['currentPageNumber'];
|
|
551
|
-
/** */
|
|
552
|
-
"currentPageNumber"?: WarpPagination['currentPageNumber'];
|
|
553
|
-
/** */
|
|
554
|
-
"visible-pages"?: WarpPagination['visiblePages'];
|
|
555
|
-
/** */
|
|
556
|
-
"visiblePages"?: WarpPagination['visiblePages'];
|
|
557
|
-
|
|
558
|
-
/** Triggered when a link button in the pagination is clicked. Contains the page number in `string` form. */
|
|
559
|
-
"onpage-click"?: (e: CustomEvent<CustomEvent>) => void;
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
|
|
563
298
|
export type WarpPillProps = {
|
|
564
299
|
/** */
|
|
565
300
|
"can-close"?: WarpPill['canClose'];
|
|
@@ -595,99 +330,6 @@ export type WarpPillProps = {
|
|
|
595
330
|
}
|
|
596
331
|
|
|
597
332
|
|
|
598
|
-
export type WCheckboxProps = {
|
|
599
|
-
/** */
|
|
600
|
-
"title"?: WCheckbox['title'];
|
|
601
|
-
/** The name of the checkbox, submitted as a name/value pair with form data. */
|
|
602
|
-
"name"?: WCheckbox['name'];
|
|
603
|
-
/** The value of the checkbox, submitted as a name/value pair with form data. */
|
|
604
|
-
"value"?: WCheckbox['value'];
|
|
605
|
-
/** The checkbox's size. */
|
|
606
|
-
"size"?: WCheckbox['size'];
|
|
607
|
-
/** Disables the checkbox. */
|
|
608
|
-
"disabled"?: WCheckbox['disabled'];
|
|
609
|
-
/** Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a "select
|
|
610
|
-
all/none" behavior when associated checkboxes have a mix of checked and unchecked states. */
|
|
611
|
-
"indeterminate"?: WCheckbox['indeterminate'];
|
|
612
|
-
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
613
|
-
"checked"?: WCheckbox['defaultChecked'];
|
|
614
|
-
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
615
|
-
"defaultChecked"?: WCheckbox['defaultChecked'];
|
|
616
|
-
/** By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
|
|
617
|
-
to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
|
|
618
|
-
the same document or shadow root for this to work. */
|
|
619
|
-
"form"?: WCheckbox['form'];
|
|
620
|
-
/** Makes the checkbox a required field. */
|
|
621
|
-
"required"?: WCheckbox['required'];
|
|
622
|
-
/** The checkbox's hint. If you need to display HTML, use the `hint` slot instead. */
|
|
623
|
-
"hint"?: WCheckbox['hint'];
|
|
624
|
-
/** */
|
|
625
|
-
"input"?: WCheckbox['input'];
|
|
626
|
-
|
|
627
|
-
/** */
|
|
628
|
-
"onchange"?: (e: CustomEvent<Event>) => void;
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
export type WRadioProps = {
|
|
633
|
-
/** The string pointing to a form's id. */
|
|
634
|
-
"form"?: WRadio['form'];
|
|
635
|
-
/** The radio's value. When selected, the radio group will receive this value. */
|
|
636
|
-
"value"?: WRadio['value'];
|
|
637
|
-
/** The radio's value. When selected, the radio group will receive this value. */
|
|
638
|
-
"appearance"?: WRadio['appearance'];
|
|
639
|
-
/** The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this
|
|
640
|
-
attribute can typically be omitted. */
|
|
641
|
-
"size"?: WRadio['size'];
|
|
642
|
-
/** Disables the radio. */
|
|
643
|
-
"disabled"?: WRadio['disabled'];
|
|
644
|
-
/** */
|
|
645
|
-
"checked"?: WRadio['checked'];
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
export type WRadioGroupProps = {
|
|
652
|
-
/** The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot
|
|
653
|
-
instead. */
|
|
654
|
-
"label"?: WRadioGroup['label'];
|
|
655
|
-
/** The radio groups's hint. If you need to display HTML, use the `hint` slot instead. */
|
|
656
|
-
"hint"?: WRadioGroup['hint'];
|
|
657
|
-
/** The name of the radio group, submitted as a name/value pair with form data. */
|
|
658
|
-
"name"?: WRadioGroup['name'];
|
|
659
|
-
/** Disables the radio group and all child radios. */
|
|
660
|
-
"disabled"?: WRadioGroup['disabled'];
|
|
661
|
-
/** The orientation in which to show radio items. */
|
|
662
|
-
"orientation"?: WRadioGroup['orientation'];
|
|
663
|
-
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
664
|
-
"value"?: WRadioGroup['defaultValue'];
|
|
665
|
-
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
666
|
-
"defaultValue"?: WRadioGroup['defaultValue'];
|
|
667
|
-
/** The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden. */
|
|
668
|
-
"size"?: WRadioGroup['size'];
|
|
669
|
-
/** Ensures a child radio is checked before allowing the containing form to submit. */
|
|
670
|
-
"required"?: WRadioGroup['required'];
|
|
671
|
-
/** Used for SSR. if true, will show slotted label on initial render. */
|
|
672
|
-
"with-label"?: WRadioGroup['withLabel'];
|
|
673
|
-
/** Used for SSR. if true, will show slotted label on initial render. */
|
|
674
|
-
"withLabel"?: WRadioGroup['withLabel'];
|
|
675
|
-
/** Used for SSR. if true, will show slotted hint on initial render. */
|
|
676
|
-
"with-hint"?: WRadioGroup['withHint'];
|
|
677
|
-
/** Used for SSR. if true, will show slotted hint on initial render. */
|
|
678
|
-
"withHint"?: WRadioGroup['withHint'];
|
|
679
|
-
/** */
|
|
680
|
-
"hasRadioButtons"?: WRadioGroup['hasRadioButtons'];
|
|
681
|
-
/** */
|
|
682
|
-
"defaultSlot"?: WRadioGroup['defaultSlot'];
|
|
683
|
-
|
|
684
|
-
/** */
|
|
685
|
-
"oninput"?: (e: CustomEvent<InputEvent>) => void;
|
|
686
|
-
/** */
|
|
687
|
-
"onchange"?: (e: CustomEvent<Event>) => void;
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
|
|
691
333
|
export type WarpSelectProps = {
|
|
692
334
|
/** Whether the element should receive focus on render */
|
|
693
335
|
"auto-focus"?: WarpSelect['autoFocus'];
|
|
@@ -774,144 +416,51 @@ https://filamentgroup.github.io/politespace/demo/demo.html */
|
|
|
774
416
|
}
|
|
775
417
|
|
|
776
418
|
|
|
777
|
-
export type
|
|
778
|
-
/** */
|
|
779
|
-
"aria-label"?: WarpSliderThumb['ariaLabel'];
|
|
780
|
-
/** */
|
|
781
|
-
"ariaLabel"?: WarpSliderThumb['ariaLabel'];
|
|
782
|
-
/** */
|
|
783
|
-
"aria-description"?: WarpSliderThumb['ariaDescription'];
|
|
784
|
-
/** */
|
|
785
|
-
"ariaDescription"?: WarpSliderThumb['ariaDescription'];
|
|
786
|
-
/** */
|
|
787
|
-
"label"?: WarpSliderThumb['label'];
|
|
788
|
-
/** */
|
|
789
|
-
"name"?: WarpSliderThumb['name'];
|
|
790
|
-
/** */
|
|
791
|
-
"value"?: WarpSliderThumb['value'];
|
|
792
|
-
/** */
|
|
793
|
-
"disabled"?: WarpSliderThumb['disabled'];
|
|
794
|
-
/** Set by `<w-slider>` */
|
|
795
|
-
"markers"?: WarpSliderThumb['markers'];
|
|
796
|
-
/** Set by `<w-slider>` */
|
|
797
|
-
"required"?: WarpSliderThumb['required'];
|
|
798
|
-
/** Set by `<w-slider>` */
|
|
799
|
-
"step"?: WarpSliderThumb['step'];
|
|
800
|
-
/** Set by `<w-slider>` */
|
|
801
|
-
"min"?: WarpSliderThumb['min'];
|
|
802
|
-
/** Set by `<w-slider>` */
|
|
803
|
-
"max"?: WarpSliderThumb['max'];
|
|
804
|
-
/** Set by `<w-slider>` */
|
|
805
|
-
"suffix"?: WarpSliderThumb['suffix'];
|
|
806
|
-
/** JS hook to help you format the numeric value how you want. */
|
|
807
|
-
"formatter"?: WarpSliderThumb['formatter'];
|
|
808
|
-
/** */
|
|
809
|
-
"range"?: WarpSliderThumb['range'];
|
|
810
|
-
/** */
|
|
811
|
-
"textfield"?: WarpSliderThumb['textfield'];
|
|
812
|
-
|
|
813
|
-
/** */
|
|
814
|
-
"onslidervalidity"?: (e: CustomEvent<CustomEvent>) => void;
|
|
815
|
-
}
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
export type WarpSliderProps = {
|
|
819
|
-
/** The slider fieldset label. Required for proper accessibility.
|
|
820
|
-
|
|
821
|
-
If you need to display HTML, use the `label` slot instead. */
|
|
822
|
-
"label"?: WarpSlider['label'];
|
|
823
|
-
/** */
|
|
824
|
-
"disabled"?: WarpSlider['disabled'];
|
|
825
|
-
/** */
|
|
826
|
-
"invalid"?: WarpSlider['invalid'];
|
|
827
|
-
/** Ensures a child slider thumb has a value before allowing the containing form to submit. */
|
|
828
|
-
"required"?: WarpSlider['required'];
|
|
829
|
-
/** */
|
|
830
|
-
"min"?: WarpSlider['min'];
|
|
831
|
-
/** */
|
|
832
|
-
"max"?: WarpSlider['max'];
|
|
833
|
-
/** Pass a value similar to step to create visual markers at that interval */
|
|
834
|
-
"markers"?: WarpSlider['markers'];
|
|
835
|
-
/** */
|
|
836
|
-
"step"?: WarpSlider['step'];
|
|
837
|
-
/** Suffix used in text input fields and for the min and max values of the slider. */
|
|
838
|
-
"suffix"?: WarpSlider['suffix'];
|
|
839
|
-
/** Function to format the to- and from labels and value in the slider thumb tooltip. */
|
|
840
|
-
"formatter"?: WarpSlider['formatter'];
|
|
419
|
+
export type ModalFooterProps = {
|
|
841
420
|
|
|
842
421
|
|
|
843
422
|
}
|
|
844
423
|
|
|
845
424
|
|
|
846
|
-
export type
|
|
847
|
-
/** */
|
|
848
|
-
"horizontal"?: WarpSteps['horizontal'];
|
|
425
|
+
export type ModalHeaderProps = {
|
|
849
426
|
/** */
|
|
850
|
-
"
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
export type WarpStepProps = {
|
|
427
|
+
"title"?: ModalHeader['title'];
|
|
857
428
|
/** */
|
|
858
|
-
"
|
|
429
|
+
"back"?: ModalHeader['back'];
|
|
859
430
|
/** */
|
|
860
|
-
"
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
export type WarpSwitchProps = {
|
|
431
|
+
"no-close"?: ModalHeader['noClose'];
|
|
867
432
|
/** */
|
|
868
|
-
"
|
|
433
|
+
"noClose"?: ModalHeader['noClose'];
|
|
869
434
|
/** */
|
|
870
|
-
"
|
|
435
|
+
"titleEl"?: ModalHeader['titleEl'];
|
|
871
436
|
|
|
872
437
|
/** */
|
|
873
|
-
"
|
|
438
|
+
"onbackClicked"?: (e: CustomEvent<CustomEvent>) => void;
|
|
874
439
|
}
|
|
875
440
|
|
|
876
441
|
|
|
877
|
-
export type
|
|
442
|
+
export type ModalMainProps = {
|
|
878
443
|
/** */
|
|
879
|
-
"
|
|
444
|
+
"show"?: ModalMain['show'];
|
|
880
445
|
/** */
|
|
881
|
-
"
|
|
446
|
+
"content-id"?: ModalMain['contentId'];
|
|
882
447
|
/** */
|
|
883
|
-
"
|
|
448
|
+
"contentId"?: ModalMain['contentId'];
|
|
884
449
|
/** */
|
|
885
|
-
"
|
|
450
|
+
"ignore-backdrop-clicks"?: ModalMain['ignoreBackdropClicks'];
|
|
886
451
|
/** */
|
|
887
|
-
"
|
|
452
|
+
"ignoreBackdropClicks"?: ModalMain['ignoreBackdropClicks'];
|
|
888
453
|
/** */
|
|
889
|
-
"
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
}
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
export type WarpTabPanelProps = {
|
|
454
|
+
"dialogEl"?: ModalMain['dialogEl'];
|
|
896
455
|
/** */
|
|
897
|
-
"
|
|
456
|
+
"dialogInnerEl"?: ModalMain['dialogInnerEl'];
|
|
898
457
|
/** */
|
|
899
|
-
"
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
}
|
|
903
|
-
|
|
458
|
+
"contentEl"?: ModalMain['contentEl'];
|
|
904
459
|
|
|
905
|
-
export type WarpTabsProps = {
|
|
906
|
-
/** */
|
|
907
|
-
"active"?: WarpTabs['active'];
|
|
908
460
|
/** */
|
|
909
|
-
"
|
|
910
|
-
/** */
|
|
911
|
-
"tabClass"?: WarpTabs['tabClass'];
|
|
912
|
-
|
|
461
|
+
"onshown"?: (e: CustomEvent<CustomEvent>) => void;
|
|
913
462
|
/** */
|
|
914
|
-
"
|
|
463
|
+
"onhidden"?: (e: CustomEvent<CustomEvent>) => void;
|
|
915
464
|
}
|
|
916
465
|
|
|
917
466
|
|
|
@@ -962,31 +511,6 @@ export type WarpToastContainerProps = {
|
|
|
962
511
|
"w-alert": Partial<WarpAlertProps & BaseProps<WarpAlert> & BaseEvents>;
|
|
963
512
|
|
|
964
513
|
|
|
965
|
-
/**
|
|
966
|
-
* Buttons are used to perform actions, with different visuals for different needs.
|
|
967
|
-
*
|
|
968
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-link--docs)
|
|
969
|
-
*
|
|
970
|
-
* ## Attributes & Properties
|
|
971
|
-
*
|
|
972
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
973
|
-
*
|
|
974
|
-
* - `autofocus`: undefined
|
|
975
|
-
* - `variant`: undefined
|
|
976
|
-
* - `quiet`: undefined
|
|
977
|
-
* - `small`: undefined
|
|
978
|
-
* - `href`: undefined
|
|
979
|
-
* - `disabled`: undefined
|
|
980
|
-
* - `target`: undefined
|
|
981
|
-
* - `rel`: undefined
|
|
982
|
-
* - `full-width`/`fullWidth`: undefined
|
|
983
|
-
* - `button-class`/`buttonClass`: undefined
|
|
984
|
-
* - `name`: undefined
|
|
985
|
-
* - `classes`: undefined (property only)
|
|
986
|
-
*/
|
|
987
|
-
"w-link": Partial<WarpLinkProps & BaseProps<WarpLink> & BaseEvents>;
|
|
988
|
-
|
|
989
|
-
|
|
990
514
|
/**
|
|
991
515
|
* Buttons are used to perform actions, widh different visuals for different needs.
|
|
992
516
|
*
|
|
@@ -1123,262 +647,39 @@ export type WarpToastContainerProps = {
|
|
|
1123
647
|
|
|
1124
648
|
|
|
1125
649
|
/**
|
|
1126
|
-
*
|
|
650
|
+
* Expandable is a layout component used for creating expandable content areas on a page.
|
|
1127
651
|
*
|
|
1128
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/
|
|
652
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-expandable--docs)
|
|
1129
653
|
*
|
|
1130
654
|
* ## Attributes & Properties
|
|
1131
655
|
*
|
|
1132
656
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1133
657
|
*
|
|
1134
|
-
* - `
|
|
1135
|
-
* - `
|
|
1136
|
-
* - `
|
|
1137
|
-
* - `
|
|
1138
|
-
* - `
|
|
1139
|
-
* - `
|
|
1140
|
-
* - `
|
|
1141
|
-
* - `
|
|
1142
|
-
* - `
|
|
1143
|
-
* - `
|
|
1144
|
-
* - `
|
|
1145
|
-
* - `required`: Whether the element is required
|
|
1146
|
-
* - `optional`: Whether to show optional text
|
|
1147
|
-
* - `class-name`/`containerClassName`: Additional container styling
|
|
1148
|
-
* - `list-class-name`/`listClassName`: Additional list styling
|
|
1149
|
-
* - `name`: Name attribute for form submission
|
|
1150
|
-
*/
|
|
1151
|
-
"w-combobox": Partial<WarpComboboxProps & BaseProps<WarpCombobox> & BaseEvents>;
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
/**
|
|
1155
|
-
* An input for dates.
|
|
1156
|
-
*
|
|
1157
|
-
* Uses the `lang` attribute on either the element or on `<html>` to determine the locale options.
|
|
1158
|
-
*
|
|
1159
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-datepicker--docs)
|
|
658
|
+
* - `expanded`: undefined
|
|
659
|
+
* - `title`: undefined
|
|
660
|
+
* - `box`: undefined
|
|
661
|
+
* - `bleed`: undefined
|
|
662
|
+
* - `button-class`/`buttonClass`: undefined
|
|
663
|
+
* - `content-class`/`contentClass`: undefined
|
|
664
|
+
* - `no-chevron`/`noChevron`: undefined
|
|
665
|
+
* - `animated`: undefined
|
|
666
|
+
* - `heading-level`/`headingLevel`: undefined
|
|
667
|
+
* - `_hasTitle`: undefined
|
|
668
|
+
* - `_showChevronUp`: undefined
|
|
1160
669
|
*
|
|
1161
|
-
* ##
|
|
670
|
+
* ## Slots
|
|
1162
671
|
*
|
|
1163
|
-
*
|
|
672
|
+
* Areas where markup can be added to the component.
|
|
1164
673
|
*
|
|
1165
|
-
* - `
|
|
1166
|
-
* - `lang`: Takes precedence over the `<html>` lang attribute.
|
|
1167
|
-
* - `name`: undefined
|
|
1168
|
-
* - `value`: undefined
|
|
1169
|
-
* - `header-format`/`headerFormat`: Decides the format of the date as shown in the calendar header.
|
|
1170
|
-
*
|
|
1171
|
-
* The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
|
|
1172
|
-
* - `weekday-format`/`weekdayFormat`: Decides the format of the weekday as shown above the grid of dates in the calendar.
|
|
1173
|
-
*
|
|
1174
|
-
* The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
|
|
1175
|
-
* - `day-format`/`dayFormat`: Decides the format of the day in the calendar as read to screen readers.
|
|
1176
|
-
*
|
|
1177
|
-
* The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
|
|
1178
|
-
* - `isDayDisabled`: Lets you control if a date in the calendar should be disabled.
|
|
1179
|
-
*
|
|
1180
|
-
* This needs to be set on the element instance in JavaScript, not as an HTML attribute. (property only)
|
|
1181
|
-
* - `isCalendarOpen`: undefined (property only)
|
|
1182
|
-
* - `navigationDate`: undefined (property only)
|
|
1183
|
-
* - `selectedDate`: undefined (property only) (readonly)
|
|
1184
|
-
* - `month`: undefined (property only) (readonly)
|
|
1185
|
-
* - `weeks`: undefined (property only) (readonly)
|
|
1186
|
-
* - `calendar`: undefined (property only)
|
|
1187
|
-
* - `input`: undefined (property only)
|
|
1188
|
-
* - `toggleButton`: undefined (property only)
|
|
1189
|
-
* - `wrapper`: undefined (property only)
|
|
1190
|
-
* - `previousMonthButton`: This is the first focusable element, needed for the modal focus trap.
|
|
1191
|
-
*
|
|
1192
|
-
* Don't cache this and other `@query` fields from inside the calendar modal.
|
|
1193
|
-
* They work the first time, but once the calendar is closed and reopened
|
|
1194
|
-
* the query will point to an element that doesn't exist anymore. (property only)
|
|
1195
|
-
* - `todayCell`: undefined (property only)
|
|
1196
|
-
* - `selectedCell`: undefined (property only)
|
|
674
|
+
* - `title`: Alternative to the `title` attribute should you need to provide some additional markup.
|
|
1197
675
|
*/
|
|
1198
|
-
"w-
|
|
676
|
+
"w-expandable": Partial<WarpExpandableProps & BaseProps<WarpExpandable> & BaseEvents>;
|
|
1199
677
|
|
|
1200
678
|
|
|
1201
679
|
/**
|
|
1202
|
-
*
|
|
680
|
+
* Pill is a type of button that is often used as a filter, but can also be used as a rounded button for overlays, etc.
|
|
1203
681
|
*
|
|
1204
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/
|
|
1205
|
-
*
|
|
1206
|
-
* ## Attributes & Properties
|
|
1207
|
-
*
|
|
1208
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1209
|
-
*
|
|
1210
|
-
* - `type`: undefined
|
|
1211
|
-
* - `checked`: undefined
|
|
1212
|
-
* - `indeterminate`: undefined
|
|
1213
|
-
* - `invalid`: undefined
|
|
1214
|
-
* - `disabled`: undefined
|
|
1215
|
-
*/
|
|
1216
|
-
"w-dead-toggle": Partial<WarpDeadToggleProps & BaseProps<WarpDeadToggle> & BaseEvents>;
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
/**
|
|
1220
|
-
* Expandable is a layout component used for creating expandable content areas on a page.
|
|
1221
|
-
*
|
|
1222
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-expandable--docs)
|
|
1223
|
-
*
|
|
1224
|
-
* ## Attributes & Properties
|
|
1225
|
-
*
|
|
1226
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1227
|
-
*
|
|
1228
|
-
* - `expanded`: undefined
|
|
1229
|
-
* - `title`: undefined
|
|
1230
|
-
* - `box`: undefined
|
|
1231
|
-
* - `bleed`: undefined
|
|
1232
|
-
* - `button-class`/`buttonClass`: undefined
|
|
1233
|
-
* - `content-class`/`contentClass`: undefined
|
|
1234
|
-
* - `no-chevron`/`noChevron`: undefined
|
|
1235
|
-
* - `animated`: undefined
|
|
1236
|
-
* - `heading-level`/`headingLevel`: undefined
|
|
1237
|
-
* - `_hasTitle`: undefined
|
|
1238
|
-
* - `_showChevronUp`: undefined
|
|
1239
|
-
*
|
|
1240
|
-
* ## Slots
|
|
1241
|
-
*
|
|
1242
|
-
* Areas where markup can be added to the component.
|
|
1243
|
-
*
|
|
1244
|
-
* - `title`: Alternative to the `title` attribute should you need to provide some additional markup.
|
|
1245
|
-
*/
|
|
1246
|
-
"w-expandable": Partial<WarpExpandableProps & BaseProps<WarpExpandable> & BaseEvents>;
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
/**
|
|
1250
|
-
* The footer section of a modal, typically where you place actions.
|
|
1251
|
-
*
|
|
1252
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
|
|
1253
|
-
*/
|
|
1254
|
-
"w-modal-footer": Partial<ModalFooterProps & BaseProps<ModalFooter> & BaseEvents>;
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
/**
|
|
1258
|
-
* The header section of a modal, typically where you place the title and a close button.
|
|
1259
|
-
*
|
|
1260
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
|
|
1261
|
-
*
|
|
1262
|
-
* ## Attributes & Properties
|
|
1263
|
-
*
|
|
1264
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1265
|
-
*
|
|
1266
|
-
* - `title`: undefined
|
|
1267
|
-
* - `back`: undefined
|
|
1268
|
-
* - `no-close`/`noClose`: undefined
|
|
1269
|
-
* - `titleEl`: undefined (property only)
|
|
1270
|
-
* - `titleClasses`: undefined (property only) (readonly)
|
|
1271
|
-
* - `backButton`: undefined (property only) (readonly)
|
|
1272
|
-
* - `closeButton`: undefined (property only) (readonly)
|
|
1273
|
-
*
|
|
1274
|
-
* ## Events
|
|
1275
|
-
*
|
|
1276
|
-
* Events that will be emitted by the component.
|
|
1277
|
-
*
|
|
1278
|
-
* - `backClicked`: undefined
|
|
1279
|
-
*
|
|
1280
|
-
* ## Slots
|
|
1281
|
-
*
|
|
1282
|
-
* Areas where markup can be added to the component.
|
|
1283
|
-
*
|
|
1284
|
-
* - `top`: Customize the title bar, for example to have a header image that reaches the modal's edges. See the With Image story for an example.
|
|
1285
|
-
*
|
|
1286
|
-
* ## Methods
|
|
1287
|
-
*
|
|
1288
|
-
* Methods that can be called to access component functionality.
|
|
1289
|
-
*
|
|
1290
|
-
* - `emitBack() => void`: undefined
|
|
1291
|
-
* - `handleTopSlotChange(slotEvent) => void`: undefined
|
|
1292
|
-
*/
|
|
1293
|
-
"w-modal-header": Partial<ModalHeaderProps & BaseProps<ModalHeader> & BaseEvents>;
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
/**
|
|
1297
|
-
* Modals (or dialogs) display important information that users need to acknowledge.
|
|
1298
|
-
*
|
|
1299
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
|
|
1300
|
-
*
|
|
1301
|
-
* ## Attributes & Properties
|
|
1302
|
-
*
|
|
1303
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1304
|
-
*
|
|
1305
|
-
* - `show`: undefined
|
|
1306
|
-
* - `content-id`/`contentId`: undefined
|
|
1307
|
-
* - `ignore-backdrop-clicks`/`ignoreBackdropClicks`: undefined
|
|
1308
|
-
* - `dialogEl`: undefined (property only)
|
|
1309
|
-
* - `dialogInnerEl`: undefined (property only)
|
|
1310
|
-
* - `contentEl`: undefined (property only)
|
|
1311
|
-
*
|
|
1312
|
-
* ## Events
|
|
1313
|
-
*
|
|
1314
|
-
* Events that will be emitted by the component.
|
|
1315
|
-
*
|
|
1316
|
-
* - `shown`: undefined
|
|
1317
|
-
* - `hidden`: undefined
|
|
1318
|
-
*
|
|
1319
|
-
* ## Slots
|
|
1320
|
-
*
|
|
1321
|
-
* Areas where markup can be added to the component.
|
|
1322
|
-
*
|
|
1323
|
-
* - `header`: Typically where you would use the `w-modal-header` component.
|
|
1324
|
-
* - `content`: The main content of the modal.
|
|
1325
|
-
* - `footer`: Typically where you would use the `w-modal-footer` component, for things like actions.
|
|
1326
|
-
*
|
|
1327
|
-
* ## Methods
|
|
1328
|
-
*
|
|
1329
|
-
* Methods that can be called to access component functionality.
|
|
1330
|
-
*
|
|
1331
|
-
* - `open() => void`: undefined
|
|
1332
|
-
* - `close() => void`: undefined
|
|
1333
|
-
* - `handleListeners(verb = 'addEventListener') => void`: undefined
|
|
1334
|
-
* - `eventPreventer(evt: Event) => void`: undefined
|
|
1335
|
-
* - `closeOnBackdropClick(evt: MouseEvent) => void`: undefined
|
|
1336
|
-
* - `interceptEscape(evt: KeyboardEvent) => void`: undefined
|
|
1337
|
-
* - `modifyBorderRadius() => void`: undefined
|
|
1338
|
-
*/
|
|
1339
|
-
"w-modal": Partial<ModalMainProps & BaseProps<ModalMain> & BaseEvents>;
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
/**
|
|
1343
|
-
*
|
|
1344
|
-
*
|
|
1345
|
-
* ## Attributes & Properties
|
|
1346
|
-
*
|
|
1347
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1348
|
-
*
|
|
1349
|
-
* - `selected-page`/`selectedPage`: Currently selected page (1-based index)
|
|
1350
|
-
* - `page-count`/`pageCount`: Total number of pages
|
|
1351
|
-
*/
|
|
1352
|
-
"w-pageindicator": Partial<WarpPageIndicatorProps & BaseProps<WarpPageIndicator> & BaseEvents>;
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
/**
|
|
1356
|
-
* Pagination allows users to navigate through multiple pages of content by providing navigation controls with page numbers and directional arrows.
|
|
1357
|
-
*
|
|
1358
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-pagination--docs)
|
|
1359
|
-
*
|
|
1360
|
-
* ## Attributes & Properties
|
|
1361
|
-
*
|
|
1362
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1363
|
-
*
|
|
1364
|
-
* - `base-url`/`baseUrl`: undefined
|
|
1365
|
-
* - `pages`: undefined
|
|
1366
|
-
* - `current-page`/`currentPageNumber`: undefined
|
|
1367
|
-
* - `visible-pages`/`visiblePages`: undefined
|
|
1368
|
-
*
|
|
1369
|
-
* ## Events
|
|
1370
|
-
*
|
|
1371
|
-
* Events that will be emitted by the component.
|
|
1372
|
-
*
|
|
1373
|
-
* - `page-click`: Triggered when a link button in the pagination is clicked. Contains the page number in `string` form.
|
|
1374
|
-
*/
|
|
1375
|
-
"w-pagination": Partial<WarpPaginationProps & BaseProps<WarpPagination> & BaseEvents>;
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
/**
|
|
1379
|
-
* Pill is a type of button that is often used as a filter, but can also be used as a rounded button for overlays, etc.
|
|
1380
|
-
*
|
|
1381
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-pill--docs)
|
|
682
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-pill--docs)
|
|
1382
683
|
*
|
|
1383
684
|
* ## Attributes & Properties
|
|
1384
685
|
*
|
|
@@ -1403,122 +704,6 @@ export type WarpToastContainerProps = {
|
|
|
1403
704
|
"w-pill": Partial<WarpPillProps & BaseProps<WarpPill> & BaseEvents>;
|
|
1404
705
|
|
|
1405
706
|
|
|
1406
|
-
/**
|
|
1407
|
-
*
|
|
1408
|
-
*
|
|
1409
|
-
* ## Attributes & Properties
|
|
1410
|
-
*
|
|
1411
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1412
|
-
*
|
|
1413
|
-
* - `title`: undefined
|
|
1414
|
-
* - `name`: The name of the checkbox, submitted as a name/value pair with form data.
|
|
1415
|
-
* - `value`: The value of the checkbox, submitted as a name/value pair with form data.
|
|
1416
|
-
* - `size`: The checkbox's size.
|
|
1417
|
-
* - `disabled`: Disables the checkbox.
|
|
1418
|
-
* - `indeterminate`: Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a "select
|
|
1419
|
-
* all/none" behavior when associated checkboxes have a mix of checked and unchecked states.
|
|
1420
|
-
* - `checked`/`defaultChecked`: The default value of the form control. Primarily used for resetting the form control.
|
|
1421
|
-
* - `form`: By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
|
|
1422
|
-
* to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
|
|
1423
|
-
* the same document or shadow root for this to work.
|
|
1424
|
-
* - `required`: Makes the checkbox a required field.
|
|
1425
|
-
* - `hint`: The checkbox's hint. If you need to display HTML, use the `hint` slot instead.
|
|
1426
|
-
* - `input`: undefined (property only)
|
|
1427
|
-
* - `checked`: Draws the checkbox in a checked state. (property only)
|
|
1428
|
-
*
|
|
1429
|
-
* ## Events
|
|
1430
|
-
*
|
|
1431
|
-
* Events that will be emitted by the component.
|
|
1432
|
-
*
|
|
1433
|
-
* - `change`: undefined
|
|
1434
|
-
*
|
|
1435
|
-
* ## Methods
|
|
1436
|
-
*
|
|
1437
|
-
* Methods that can be called to access component functionality.
|
|
1438
|
-
*
|
|
1439
|
-
* - `handleDefaultCheckedChange() => void`: undefined
|
|
1440
|
-
* - `handleValueOrCheckedChange() => void`: undefined
|
|
1441
|
-
* - `handleStateChange() => void`: undefined
|
|
1442
|
-
* - `handleDisabledChange() => void`: undefined
|
|
1443
|
-
* - `formResetCallback() => void`: undefined
|
|
1444
|
-
* - `click() => void`: Simulates a click on the checkbox.
|
|
1445
|
-
* - `focus(options?: FocusOptions) => void`: Sets focus on the checkbox.
|
|
1446
|
-
* - `blur() => void`: Removes focus from the checkbox.
|
|
1447
|
-
*/
|
|
1448
|
-
"w-checkbox": Partial<WCheckboxProps & BaseProps<WCheckbox> & BaseEvents>;
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
/**
|
|
1452
|
-
*
|
|
1453
|
-
*
|
|
1454
|
-
* ## Attributes & Properties
|
|
1455
|
-
*
|
|
1456
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1457
|
-
*
|
|
1458
|
-
* - `form`: The string pointing to a form's id.
|
|
1459
|
-
* - `value`: The radio's value. When selected, the radio group will receive this value.
|
|
1460
|
-
* - `appearance`: The radio's value. When selected, the radio group will receive this value.
|
|
1461
|
-
* - `size`: The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this
|
|
1462
|
-
* attribute can typically be omitted.
|
|
1463
|
-
* - `disabled`: Disables the radio.
|
|
1464
|
-
* - `checked`: undefined (property only)
|
|
1465
|
-
*
|
|
1466
|
-
* ## Methods
|
|
1467
|
-
*
|
|
1468
|
-
* Methods that can be called to access component functionality.
|
|
1469
|
-
*
|
|
1470
|
-
* - `setValue() => void`: undefined
|
|
1471
|
-
*/
|
|
1472
|
-
"w-radio": Partial<WRadioProps & BaseProps<WRadio> & BaseEvents>;
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
/**
|
|
1476
|
-
*
|
|
1477
|
-
*
|
|
1478
|
-
* ## Attributes & Properties
|
|
1479
|
-
*
|
|
1480
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1481
|
-
*
|
|
1482
|
-
* - `label`: The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot
|
|
1483
|
-
* instead.
|
|
1484
|
-
* - `hint`: The radio groups's hint. If you need to display HTML, use the `hint` slot instead.
|
|
1485
|
-
* - `name`: The name of the radio group, submitted as a name/value pair with form data.
|
|
1486
|
-
* - `disabled`: Disables the radio group and all child radios.
|
|
1487
|
-
* - `orientation`: The orientation in which to show radio items.
|
|
1488
|
-
* - `value`/`defaultValue`: The default value of the form control. Primarily used for resetting the form control.
|
|
1489
|
-
* - `size`: The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden.
|
|
1490
|
-
* - `required`: Ensures a child radio is checked before allowing the containing form to submit.
|
|
1491
|
-
* - `with-label`/`withLabel`: Used for SSR. if true, will show slotted label on initial render.
|
|
1492
|
-
* - `with-hint`/`withHint`: Used for SSR. if true, will show slotted hint on initial render.
|
|
1493
|
-
* - `hasRadioButtons`: undefined (property only)
|
|
1494
|
-
* - `defaultSlot`: undefined (property only)
|
|
1495
|
-
* - `value`: The current value of the radio group, submitted as a name/value pair with form data. (property only)
|
|
1496
|
-
* - `validationTarget`: We use the first available radio as the validationTarget similar to native HTML that shows the validation popup on
|
|
1497
|
-
* the first radio element. (property only) (readonly)
|
|
1498
|
-
*
|
|
1499
|
-
* ## Events
|
|
1500
|
-
*
|
|
1501
|
-
* Events that will be emitted by the component.
|
|
1502
|
-
*
|
|
1503
|
-
* - `input`: undefined
|
|
1504
|
-
* - `change`: undefined
|
|
1505
|
-
*
|
|
1506
|
-
* ## Slots
|
|
1507
|
-
*
|
|
1508
|
-
* Areas where markup can be added to the component.
|
|
1509
|
-
*
|
|
1510
|
-
* - `label`: Alternative to the `label` attribute should you need custom HTML.
|
|
1511
|
-
*
|
|
1512
|
-
* ## Methods
|
|
1513
|
-
*
|
|
1514
|
-
* Methods that can be called to access component functionality.
|
|
1515
|
-
*
|
|
1516
|
-
* - `formResetCallback(args: Parameters<BaseFormAssociatedElement['formResetCallback']>) => void`: undefined
|
|
1517
|
-
* - `focus(options?: FocusOptions) => void`: Sets focus on the radio group.
|
|
1518
|
-
*/
|
|
1519
|
-
"w-radio-group": Partial<WRadioGroupProps & BaseProps<WRadioGroup> & BaseEvents>;
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
707
|
/**
|
|
1523
708
|
* A dropdown component for selecting a single value.
|
|
1524
709
|
*
|
|
@@ -1595,189 +780,96 @@ export type WarpToastContainerProps = {
|
|
|
1595
780
|
|
|
1596
781
|
|
|
1597
782
|
/**
|
|
1598
|
-
*
|
|
1599
|
-
*
|
|
1600
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)
|
|
1601
|
-
*
|
|
1602
|
-
* ## Attributes & Properties
|
|
1603
|
-
*
|
|
1604
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1605
|
-
*
|
|
1606
|
-
* - `aria-label`/`ariaLabel`: undefined
|
|
1607
|
-
* - `aria-description`/`ariaDescription`: undefined
|
|
1608
|
-
* - `label`: undefined
|
|
1609
|
-
* - `name`: undefined
|
|
1610
|
-
* - `value`: undefined
|
|
1611
|
-
* - `disabled`: undefined
|
|
1612
|
-
* - `markers`: Set by `<w-slider>` (property only)
|
|
1613
|
-
* - `required`: Set by `<w-slider>` (property only)
|
|
1614
|
-
* - `step`: Set by `<w-slider>` (property only)
|
|
1615
|
-
* - `min`: Set by `<w-slider>` (property only)
|
|
1616
|
-
* - `max`: Set by `<w-slider>` (property only)
|
|
1617
|
-
* - `suffix`: Set by `<w-slider>` (property only)
|
|
1618
|
-
* - `formatter`: JS hook to help you format the numeric value how you want. (property only)
|
|
1619
|
-
* - `range`: undefined (property only)
|
|
1620
|
-
* - `textfield`: undefined (property only)
|
|
1621
|
-
*
|
|
1622
|
-
* ## Events
|
|
1623
|
-
*
|
|
1624
|
-
* Events that will be emitted by the component.
|
|
783
|
+
* The footer section of a modal, typically where you place actions.
|
|
1625
784
|
*
|
|
1626
|
-
*
|
|
785
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
|
|
1627
786
|
*/
|
|
1628
|
-
"w-
|
|
787
|
+
"w-modal-footer": Partial<ModalFooterProps & BaseProps<ModalFooter> & BaseEvents>;
|
|
1629
788
|
|
|
1630
789
|
|
|
1631
790
|
/**
|
|
1632
|
-
*
|
|
791
|
+
* The header section of a modal, typically where you place the title and a close button.
|
|
1633
792
|
*
|
|
1634
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/
|
|
793
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
|
|
1635
794
|
*
|
|
1636
795
|
* ## Attributes & Properties
|
|
1637
796
|
*
|
|
1638
797
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1639
798
|
*
|
|
1640
|
-
* - `
|
|
1641
|
-
*
|
|
1642
|
-
*
|
|
1643
|
-
* - `
|
|
1644
|
-
* - `
|
|
1645
|
-
* - `
|
|
1646
|
-
* - `
|
|
1647
|
-
* - `max`: undefined
|
|
1648
|
-
* - `markers`: Pass a value similar to step to create visual markers at that interval
|
|
1649
|
-
* - `step`: undefined
|
|
1650
|
-
* - `suffix`: Suffix used in text input fields and for the min and max values of the slider.
|
|
1651
|
-
* - `formatter`: Function to format the to- and from labels and value in the slider thumb tooltip. (property only)
|
|
1652
|
-
*
|
|
1653
|
-
* ## Slots
|
|
799
|
+
* - `title`: undefined
|
|
800
|
+
* - `back`: undefined
|
|
801
|
+
* - `no-close`/`noClose`: undefined
|
|
802
|
+
* - `titleEl`: undefined (property only)
|
|
803
|
+
* - `titleClasses`: undefined (property only) (readonly)
|
|
804
|
+
* - `backButton`: undefined (property only) (readonly)
|
|
805
|
+
* - `closeButton`: undefined (property only) (readonly)
|
|
1654
806
|
*
|
|
1655
|
-
*
|
|
807
|
+
* ## Events
|
|
1656
808
|
*
|
|
1657
|
-
*
|
|
1658
|
-
* - `label`: Label for the slider or range slider as a whole.
|
|
1659
|
-
* - `description`: Optional description between the label and slider.
|
|
1660
|
-
* - `from`: Range sliders need to place a `<w-slider-thumb>` in the from and to slots.
|
|
1661
|
-
* - `to`: Range sliders need to place a `<w-slider-thumb>` in the from and to slots.
|
|
1662
|
-
*/
|
|
1663
|
-
"w-slider": Partial<WarpSliderProps & BaseProps<WarpSlider> & BaseEvents>;
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
/**
|
|
1667
|
-
* Steps are used to show progress through a process or to guide users through a multi-step task.
|
|
809
|
+
* Events that will be emitted by the component.
|
|
1668
810
|
*
|
|
1669
|
-
*
|
|
811
|
+
* - `backClicked`: undefined
|
|
1670
812
|
*
|
|
1671
|
-
* ##
|
|
813
|
+
* ## Slots
|
|
1672
814
|
*
|
|
1673
|
-
*
|
|
815
|
+
* Areas where markup can be added to the component.
|
|
1674
816
|
*
|
|
1675
|
-
* - `
|
|
1676
|
-
* - `right`: undefined
|
|
817
|
+
* - `top`: Customize the title bar, for example to have a header image that reaches the modal's edges. See the With Image story for an example.
|
|
1677
818
|
*
|
|
1678
819
|
* ## Methods
|
|
1679
820
|
*
|
|
1680
821
|
* Methods that can be called to access component functionality.
|
|
1681
822
|
*
|
|
1682
|
-
* - `
|
|
823
|
+
* - `emitBack() => void`: undefined
|
|
824
|
+
* - `handleTopSlotChange(slotEvent) => void`: undefined
|
|
1683
825
|
*/
|
|
1684
|
-
"w-
|
|
826
|
+
"w-modal-header": Partial<ModalHeaderProps & BaseProps<ModalHeader> & BaseEvents>;
|
|
1685
827
|
|
|
1686
828
|
|
|
1687
829
|
/**
|
|
1688
|
-
*
|
|
1689
|
-
*
|
|
1690
|
-
* ## Attributes & Properties
|
|
1691
|
-
*
|
|
1692
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1693
|
-
*
|
|
1694
|
-
* - `active`: undefined
|
|
1695
|
-
* - `completed`: undefined
|
|
1696
|
-
*
|
|
1697
|
-
* ## Methods
|
|
1698
|
-
*
|
|
1699
|
-
* Methods that can be called to access component functionality.
|
|
830
|
+
* Modals (or dialogs) display important information that users need to acknowledge.
|
|
1700
831
|
*
|
|
1701
|
-
*
|
|
1702
|
-
* - `getAriaLabel() => void`: undefined
|
|
1703
|
-
*/
|
|
1704
|
-
"w-step": Partial<WarpStepProps & BaseProps<WarpStep> & BaseEvents>;
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
/**
|
|
1708
|
-
*
|
|
832
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
|
|
1709
833
|
*
|
|
1710
834
|
* ## Attributes & Properties
|
|
1711
835
|
*
|
|
1712
836
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1713
837
|
*
|
|
1714
|
-
* - `
|
|
1715
|
-
* - `
|
|
838
|
+
* - `show`: undefined
|
|
839
|
+
* - `content-id`/`contentId`: undefined
|
|
840
|
+
* - `ignore-backdrop-clicks`/`ignoreBackdropClicks`: undefined
|
|
841
|
+
* - `dialogEl`: undefined (property only)
|
|
842
|
+
* - `dialogInnerEl`: undefined (property only)
|
|
843
|
+
* - `contentEl`: undefined (property only)
|
|
1716
844
|
*
|
|
1717
845
|
* ## Events
|
|
1718
846
|
*
|
|
1719
847
|
* Events that will be emitted by the component.
|
|
1720
848
|
*
|
|
1721
|
-
* - `
|
|
1722
|
-
|
|
1723
|
-
"w-switch": Partial<WarpSwitchProps & BaseProps<WarpSwitch> & BaseEvents>;
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
/**
|
|
1727
|
-
* Individual tab component used within w-tabs container.
|
|
1728
|
-
*
|
|
1729
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
|
|
1730
|
-
*
|
|
1731
|
-
* ## Attributes & Properties
|
|
1732
|
-
*
|
|
1733
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1734
|
-
*
|
|
1735
|
-
* - `name`: undefined
|
|
1736
|
-
* - `label`: undefined
|
|
1737
|
-
* - `active`: undefined
|
|
1738
|
-
* - `over`: undefined
|
|
1739
|
-
* - `tab-class`/`tabClass`: undefined
|
|
1740
|
-
*/
|
|
1741
|
-
"w-tab": Partial<WarpTabProps & BaseProps<WarpTab> & BaseEvents>;
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
/**
|
|
1745
|
-
* Tab panel component that holds content for individual tabs.
|
|
1746
|
-
* Each tab panel should have a name that matches a corresponding tab.
|
|
1747
|
-
*
|
|
1748
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
|
|
1749
|
-
*
|
|
1750
|
-
* ## Attributes & Properties
|
|
1751
|
-
*
|
|
1752
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1753
|
-
*
|
|
1754
|
-
* - `name`: undefined
|
|
1755
|
-
* - `hidden`: undefined
|
|
1756
|
-
*/
|
|
1757
|
-
"w-tab-panel": Partial<WarpTabPanelProps & BaseProps<WarpTabPanel> & BaseEvents>;
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
/**
|
|
1761
|
-
* Tabs are used to organize content by grouping similar information on the same page.
|
|
1762
|
-
*
|
|
1763
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
|
|
849
|
+
* - `shown`: undefined
|
|
850
|
+
* - `hidden`: undefined
|
|
1764
851
|
*
|
|
1765
|
-
* ##
|
|
852
|
+
* ## Slots
|
|
1766
853
|
*
|
|
1767
|
-
*
|
|
854
|
+
* Areas where markup can be added to the component.
|
|
1768
855
|
*
|
|
1769
|
-
* - `
|
|
1770
|
-
* - `
|
|
1771
|
-
* - `
|
|
1772
|
-
* - `activeTab`: undefined (property only) (readonly)
|
|
856
|
+
* - `header`: Typically where you would use the `w-modal-header` component.
|
|
857
|
+
* - `content`: The main content of the modal.
|
|
858
|
+
* - `footer`: Typically where you would use the `w-modal-footer` component, for things like actions.
|
|
1773
859
|
*
|
|
1774
|
-
* ##
|
|
860
|
+
* ## Methods
|
|
1775
861
|
*
|
|
1776
|
-
*
|
|
862
|
+
* Methods that can be called to access component functionality.
|
|
1777
863
|
*
|
|
1778
|
-
* - `
|
|
864
|
+
* - `open() => void`: undefined
|
|
865
|
+
* - `close() => void`: undefined
|
|
866
|
+
* - `handleListeners(verb = 'addEventListener') => void`: undefined
|
|
867
|
+
* - `eventPreventer(evt: Event) => void`: undefined
|
|
868
|
+
* - `closeOnBackdropClick(evt: MouseEvent) => void`: undefined
|
|
869
|
+
* - `interceptEscape(evt: KeyboardEvent) => void`: undefined
|
|
870
|
+
* - `modifyBorderRadius() => void`: undefined
|
|
1779
871
|
*/
|
|
1780
|
-
"w-
|
|
872
|
+
"w-modal": Partial<ModalMainProps & BaseProps<ModalMain> & BaseEvents>;
|
|
1781
873
|
|
|
1782
874
|
|
|
1783
875
|
/**
|