@warp-ds/elements 2.4.0 → 2.5.0-next.1
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/api.js.map +2 -2
- package/dist/custom-elements.json +3333 -412
- package/dist/index.d.ts +3504 -849
- package/dist/packages/affix/{index.js → affix.js} +1 -1
- package/dist/packages/affix/{index.js.map → affix.js.map} +1 -1
- package/dist/packages/affix/affix.react.stories.d.ts +1 -1
- package/dist/packages/affix/affix.stories.d.ts +2 -2
- package/dist/packages/affix/affix.stories.js +1 -1
- package/dist/packages/affix/affix.test.d.ts +1 -1
- package/dist/packages/affix/affix.test.js +1 -1
- package/dist/packages/affix/react.d.ts +1 -1
- package/dist/packages/alert/{index.js → alert.js} +1 -1
- package/dist/packages/alert/{index.js.map → alert.js.map} +1 -1
- package/dist/packages/alert/alert.react.stories.d.ts +1 -1
- package/dist/packages/alert/alert.stories.d.ts +2 -2
- package/dist/packages/alert/alert.stories.js +1 -1
- package/dist/packages/alert/alert.test.d.ts +1 -1
- package/dist/packages/alert/alert.test.js +1 -1
- package/dist/packages/alert/react.d.ts +1 -1
- package/dist/packages/alert/react.js +1 -1
- package/dist/packages/attention/{index.d.ts → attention.d.ts} +1 -1
- package/dist/packages/attention/{index.js → attention.js} +18 -18
- package/dist/packages/attention/attention.js.map +7 -0
- package/dist/packages/attention/attention.react.stories.d.ts +1 -1
- package/dist/packages/attention/attention.stories.d.ts +3 -3
- package/dist/packages/attention/attention.stories.js +2 -2
- package/dist/packages/attention/attention.test.d.ts +1 -1
- package/dist/packages/attention/attention.test.js +1 -1
- package/dist/packages/attention/react.d.ts +1 -1
- package/dist/packages/attention/react.js +1 -1
- package/dist/packages/badge/{index.js → badge.js} +1 -1
- package/dist/packages/badge/{index.js.map → badge.js.map} +1 -1
- package/dist/packages/badge/badge.react.stories.d.ts +3 -3
- package/dist/packages/badge/badge.stories.d.ts +2 -2
- package/dist/packages/badge/badge.stories.js +1 -1
- package/dist/packages/badge/badge.test.d.ts +1 -1
- package/dist/packages/badge/badge.test.js +1 -1
- package/dist/packages/badge/react.d.ts +1 -1
- package/dist/packages/badge/react.js +1 -1
- package/dist/packages/box/{index.js → box.js} +1 -1
- package/dist/packages/box/{index.js.map → box.js.map} +1 -1
- package/dist/packages/box/box.react.stories.d.ts +3 -3
- package/dist/packages/box/box.stories.d.ts +2 -2
- package/dist/packages/box/box.stories.js +1 -1
- package/dist/packages/box/box.test.d.ts +1 -1
- package/dist/packages/box/box.test.js +1 -1
- package/dist/packages/box/react.d.ts +1 -1
- package/dist/packages/box/react.js +1 -1
- package/dist/packages/box/slot.test.d.ts +1 -1
- package/dist/packages/box/slot.test.js +1 -1
- package/dist/packages/breadcrumbs/{index.js → breadcrumbs.js} +10 -10
- package/dist/packages/breadcrumbs/breadcrumbs.js.map +7 -0
- package/dist/packages/breadcrumbs/breadcrumbs.react.stories.d.ts +3 -3
- package/dist/packages/breadcrumbs/breadcrumbs.stories.d.ts +2 -2
- package/dist/packages/breadcrumbs/breadcrumbs.stories.js +1 -1
- package/dist/packages/breadcrumbs/breadcrumbs.test.d.ts +1 -1
- package/dist/packages/breadcrumbs/breadcrumbs.test.js +1 -1
- package/dist/packages/breadcrumbs/react.d.ts +1 -1
- package/dist/packages/breadcrumbs/react.js +1 -1
- package/dist/packages/button/{index.d.ts → button.d.ts} +1 -1
- package/dist/packages/button/{index.js → button.js} +12 -12
- package/dist/packages/button/button.js.map +7 -0
- package/dist/packages/button/button.react.stories.d.ts +3 -3
- package/dist/packages/button/button.stories.d.ts +2 -2
- package/dist/packages/button/button.stories.js +1 -1
- package/dist/packages/button/button.test.d.ts +1 -1
- package/dist/packages/button/button.test.js +1 -1
- package/dist/packages/button/react.d.ts +1 -1
- package/dist/packages/button/react.js +1 -1
- package/dist/packages/card/{index.js → card.js} +9 -9
- package/dist/packages/card/card.js.map +7 -0
- package/dist/packages/card/card.react.stories.d.ts +3 -3
- package/dist/packages/card/card.stories.d.ts +2 -2
- package/dist/packages/card/card.stories.js +1 -1
- package/dist/packages/card/card.test.d.ts +1 -1
- package/dist/packages/card/card.test.js +1 -1
- package/dist/packages/card/react.d.ts +1 -1
- package/dist/packages/card/react.js +1 -1
- package/dist/packages/checkbox/checkbox.js +2572 -201
- package/dist/packages/checkbox/checkbox.js.map +7 -0
- package/dist/packages/checkbox/checkbox.stories.d.ts +2 -1
- package/dist/packages/checkbox/checkbox.stories.js +2 -1
- package/dist/packages/checkbox/react.d.ts +0 -2
- package/dist/packages/checkbox/react.js +0 -5
- package/dist/packages/checkbox-group/checkbox-group.js +7 -0
- package/dist/packages/checkbox-group/checkbox-group.js.map +7 -0
- package/dist/packages/checkbox-group/react.d.ts +2 -0
- package/dist/packages/checkbox-group/react.js +11 -0
- package/dist/packages/combobox/{index.js → combobox.js} +14 -14
- package/dist/packages/combobox/combobox.js.map +7 -0
- package/dist/packages/combobox/combobox.react.stories.d.ts +4 -4
- package/dist/packages/combobox/combobox.stories.d.ts +3 -3
- package/dist/packages/combobox/combobox.stories.js +2 -2
- package/dist/packages/combobox/combobox.test.d.ts +2 -2
- package/dist/packages/combobox/combobox.test.js +2 -2
- package/dist/packages/combobox/react.d.ts +1 -1
- package/dist/packages/combobox/react.js +1 -1
- package/dist/packages/datepicker/DatePicker.test.d.ts +2 -2
- package/dist/packages/datepicker/DatePicker.test.js +2 -2
- package/dist/packages/datepicker/datepicker.js +15 -15
- package/dist/packages/datepicker/datepicker.js.map +3 -3
- package/dist/packages/datepicker/datepicker.react.stories.d.ts +2 -2
- package/dist/packages/datepicker/datepicker.stories.d.ts +3 -3
- package/dist/packages/datepicker/datepicker.stories.js +2 -2
- package/dist/packages/datepicker/datepicker.test.d.ts +2 -2
- package/dist/packages/datepicker/datepicker.test.js +2 -2
- package/dist/packages/datepicker/react.js +1 -1
- package/dist/packages/dead-toggle/dead-toggle.js +2547 -0
- package/dist/packages/dead-toggle/dead-toggle.js.map +7 -0
- package/dist/packages/dead-toggle/dead-toggle.react.stories.d.ts +15 -0
- package/dist/packages/{deadtoggle → dead-toggle}/dead-toggle.stories.d.ts +2 -2
- package/dist/packages/{deadtoggle → dead-toggle}/dead-toggle.stories.js +1 -1
- package/dist/packages/dead-toggle/dead-toggle.test.d.ts +1 -0
- package/dist/packages/{deadtoggle → dead-toggle}/dead-toggle.test.js +1 -1
- package/dist/packages/{deadtoggle → dead-toggle}/react.d.ts +1 -1
- package/dist/packages/expandable/{index.js → expandable.js} +1 -1
- package/dist/packages/expandable/{index.js.map → expandable.js.map} +1 -1
- package/dist/packages/expandable/expandable.react.stories.d.ts +3 -3
- package/dist/packages/expandable/expandable.stories.d.ts +2 -2
- package/dist/packages/expandable/expandable.stories.js +1 -1
- package/dist/packages/expandable/expandable.test.d.ts +1 -1
- package/dist/packages/expandable/expandable.test.js +1 -1
- package/dist/packages/expandable/react.d.ts +1 -1
- package/dist/packages/expandable/react.js +1 -1
- package/dist/packages/i18n.js +6 -2
- package/dist/packages/icon/icon.d.ts +27 -0
- package/dist/packages/icon/icon.js +101 -0
- package/dist/packages/icon/icon.react.stories.d.ts +28 -0
- package/dist/packages/icon/icon.react.stories.js +37 -0
- package/dist/packages/icon/icon.stories.d.ts +39 -0
- package/dist/packages/icon/icon.stories.js +43 -0
- package/dist/packages/icon/react.d.ts +2 -0
- package/dist/packages/icon/react.js +11 -0
- package/dist/packages/icon/style.js +27 -0
- package/dist/packages/link/{index.js → link.js} +3 -3
- package/dist/packages/link/link.js.map +7 -0
- package/dist/packages/link/link.react.stories.d.ts +3 -3
- package/dist/packages/link/link.stories.d.ts +2 -2
- package/dist/packages/link/link.stories.js +1 -1
- package/dist/packages/link/link.test.d.ts +1 -1
- package/dist/packages/link/link.test.js +1 -1
- package/dist/packages/link/react.d.ts +1 -1
- package/dist/packages/link/react.js +1 -1
- package/dist/packages/link/styles.js +2 -2
- package/dist/packages/modal/index.d.ts +6 -3
- package/dist/packages/modal/index.js +10 -2717
- package/dist/packages/modal/{modal-main.js → modal.js} +1 -1
- package/dist/packages/modal/{modal-main.js.map → modal.js.map} +1 -1
- package/dist/packages/modal/modal.react.stories.d.ts +1 -1
- package/dist/packages/modal/modal.stories.d.ts +6 -3
- package/dist/packages/modal/modal.stories.js +3 -1
- package/dist/packages/modal/react.d.ts +3 -6
- package/dist/packages/modal/react.js +4 -15
- package/dist/packages/{modal → modal-footer}/modal-footer.d.ts +2 -2
- package/dist/packages/{modal → modal-footer}/modal-footer.js +4 -4
- package/dist/packages/modal-footer/modal-footer.js.map +7 -0
- package/dist/packages/modal-footer/react.d.ts +2 -0
- package/dist/packages/modal-footer/react.js +11 -0
- package/dist/packages/{modal → modal-header}/modal-header.d.ts +1 -1
- package/dist/packages/{modal → modal-header}/modal-header.js +7 -7
- package/dist/packages/modal-header/modal-header.js.map +7 -0
- package/dist/packages/modal-header/react.d.ts +5 -0
- package/dist/packages/modal-header/react.js +15 -0
- package/dist/packages/page-indicator/locales/da/messages.mjs +1 -0
- package/dist/packages/page-indicator/locales/en/messages.mjs +1 -0
- package/dist/packages/page-indicator/locales/fi/messages.mjs +1 -0
- package/dist/packages/page-indicator/locales/nb/messages.mjs +1 -0
- package/dist/packages/page-indicator/locales/sv/messages.mjs +1 -0
- package/dist/packages/page-indicator/page-indicator.d.ts +26 -0
- package/dist/packages/page-indicator/page-indicator.js +41 -0
- package/dist/packages/page-indicator/page-indicator.js.map +7 -0
- package/dist/packages/{pageindicator/pageindicator.react.stories.d.ts → page-indicator/page-indicator.react.stories.d.ts} +3 -3
- package/dist/packages/{pageindicator/pageindicator.stories.d.ts → page-indicator/page-indicator.stories.d.ts} +1 -1
- package/dist/packages/page-indicator/page-indicator.stories.js +87 -0
- package/dist/packages/page-indicator/page-indicator.test.d.ts +1 -0
- package/dist/packages/page-indicator/page-indicator.test.js +118 -0
- package/dist/packages/{pageindicator → page-indicator}/react.d.ts +1 -1
- package/dist/packages/{pageindicator → page-indicator}/react.js +2 -2
- package/dist/packages/{pageindicator → page-indicator}/style.js +4 -4
- package/dist/packages/pagination/pagination.js +2500 -0
- package/dist/packages/pagination/pagination.js.map +7 -0
- package/dist/packages/pagination/pagination.react.stories.d.ts +4 -4
- package/dist/packages/pagination/pagination.stories.d.ts +2 -2
- package/dist/packages/pagination/pagination.stories.js +1 -1
- package/dist/packages/pagination/pagination.test.d.ts +1 -1
- package/dist/packages/pagination/pagination.test.js +1 -1
- package/dist/packages/pagination/react.d.ts +1 -1
- package/dist/packages/pagination/react.js +1 -1
- package/dist/packages/pill/{index.js → pill.js} +9 -9
- package/dist/packages/pill/pill.js.map +7 -0
- package/dist/packages/pill/pill.react.stories.d.ts +4 -4
- package/dist/packages/pill/pill.stories.d.ts +2 -2
- package/dist/packages/pill/pill.stories.js +1 -1
- package/dist/packages/pill/pill.test.d.ts +1 -1
- package/dist/packages/pill/pill.test.js +1 -1
- package/dist/packages/pill/react.d.ts +1 -1
- package/dist/packages/pill/react.js +1 -1
- package/dist/packages/radio/radio.js +2556 -109
- package/dist/packages/radio/radio.js.map +7 -0
- package/dist/packages/radio/radio.stories.d.ts +3 -3
- package/dist/packages/radio/radio.stories.js +2 -2
- package/dist/packages/radio/react.d.ts +0 -7
- package/dist/packages/radio/react.js +1 -12
- package/dist/packages/{radio → radio-group}/radio-group.d.ts +4 -4
- package/dist/packages/radio-group/radio-group.js +2648 -0
- package/dist/packages/radio-group/radio-group.js.map +7 -0
- package/dist/packages/radio-group/react.d.ts +7 -0
- package/dist/packages/radio-group/react.js +17 -0
- package/dist/packages/select/react.d.ts +1 -1
- package/dist/packages/select/react.js +1 -1
- package/dist/packages/select/{index.js → select.js} +16 -16
- package/dist/packages/select/select.js.map +7 -0
- package/dist/packages/select/select.react.stories.d.ts +4 -4
- package/dist/packages/select/select.react.stories.js +1 -1
- package/dist/packages/select/select.stories.d.ts +2 -2
- package/dist/packages/select/select.stories.js +1 -1
- package/dist/packages/select/select.test.d.ts +1 -1
- package/dist/packages/select/select.test.js +1 -1
- package/dist/packages/slider/index.d.ts +1 -1
- package/dist/packages/slider/index.js +1 -1
- package/dist/packages/slider/react.d.ts +1 -6
- package/dist/packages/slider/react.js +3 -10
- package/dist/packages/slider/slider.js +2603 -272
- package/dist/packages/{toast/toast-container.js.map → slider/slider.js.map} +4 -4
- package/dist/packages/slider/slider.stories.d.ts +5 -4
- package/dist/packages/slider/slider.stories.js +5 -4
- package/dist/packages/slider/slider.test.d.ts +5 -4
- package/dist/packages/slider/slider.test.js +5 -4
- package/dist/packages/slider-thumb/react.d.ts +6 -0
- package/dist/packages/slider-thumb/react.js +15 -0
- package/dist/packages/{slider → slider-thumb}/slider-thumb.d.ts +1 -1
- package/dist/packages/slider-thumb/slider-thumb.js +2748 -0
- package/dist/packages/slider-thumb/slider-thumb.js.map +7 -0
- package/dist/packages/step/locales/da/messages.d.mts +1 -0
- package/dist/packages/step/locales/en/messages.d.mts +1 -0
- package/dist/packages/step/locales/fi/messages.d.mts +1 -0
- package/dist/packages/step/locales/nb/messages.d.mts +1 -0
- package/dist/packages/step/locales/sv/messages.d.mts +1 -0
- package/dist/packages/step/react.d.ts +2 -0
- package/dist/packages/step/react.js +11 -0
- package/dist/packages/step/step.d.ts +22 -0
- package/dist/packages/step/step.js +2461 -0
- package/dist/packages/{modal/index.js.map → step/step.js.map} +4 -4
- package/dist/packages/step-indicator/index.d.ts +2 -0
- package/dist/packages/step-indicator/index.js +2 -0
- package/dist/packages/step-indicator/react.d.ts +3 -0
- package/dist/packages/{stepindicator → step-indicator}/react.js +3 -6
- package/dist/packages/step-indicator/step-indicator.d.ts +14 -0
- package/dist/packages/step-indicator/step-indicator.js +2445 -0
- package/dist/packages/step-indicator/step-indicator.js.map +7 -0
- package/dist/packages/{stepindicator → step-indicator}/stepindicator.react.stories.d.ts +1 -1
- package/dist/packages/{stepindicator → step-indicator}/stepindicator.stories.d.ts +2 -1
- package/dist/packages/{stepindicator → step-indicator}/stepindicator.stories.js +2 -1
- package/dist/packages/step-indicator/styles.d.ts +1 -0
- package/dist/packages/switch/react.d.ts +1 -1
- package/dist/packages/switch/react.js +1 -1
- package/dist/packages/switch/{index.js → switch.js} +1 -1
- package/dist/packages/switch/{index.js.map → switch.js.map} +1 -1
- package/dist/packages/switch/switch.react.stories.d.ts +1 -1
- package/dist/packages/switch/switch.stories.d.ts +1 -1
- package/dist/packages/switch/switch.stories.js +1 -1
- package/dist/packages/switch/switch.test.d.ts +1 -1
- package/dist/packages/switch/switch.test.js +2 -2
- package/dist/packages/tab/react.d.ts +7 -0
- package/dist/packages/tab/react.js +17 -0
- package/dist/packages/{tabs → tab}/tab.d.ts +2 -5
- package/dist/packages/tab/tab.js +2464 -0
- package/dist/packages/tab/tab.js.map +7 -0
- package/dist/packages/tab-panel/react.d.ts +2 -0
- package/dist/packages/tab-panel/react.js +11 -0
- package/dist/packages/{tabs → tab-panel}/tab-panel.d.ts +3 -3
- package/dist/packages/tab-panel/tab-panel.js +2441 -0
- package/dist/packages/tab-panel/tab-panel.js.map +7 -0
- package/dist/packages/tabs/index.d.ts +2 -3
- package/dist/packages/tabs/index.js +3 -2
- package/dist/packages/tabs/react.d.ts +3 -8
- package/dist/packages/tabs/react.js +4 -17
- package/dist/packages/tabs/tabs.d.ts +2 -5
- package/dist/packages/tabs/tabs.js +2447 -252
- package/dist/packages/tabs/tabs.js.map +7 -0
- package/dist/packages/tabs/tabs.react.stories.d.ts +14 -1
- package/dist/packages/tabs/tabs.react.stories.js +55 -35
- package/dist/packages/tabs/tabs.stories.d.ts +5 -4
- package/dist/packages/tabs/tabs.stories.js +89 -65
- package/dist/packages/textarea/react.d.ts +1 -1
- package/dist/packages/textarea/react.js +1 -1
- package/dist/packages/textarea/textarea.js +2465 -210
- package/dist/packages/{combobox/index.js.map → textarea/textarea.js.map} +4 -4
- package/dist/packages/textarea/textarea.react.stories.d.ts +2 -2
- package/dist/packages/textarea/textarea.stories.d.ts +2 -2
- package/dist/packages/textarea/textarea.stories.js +1 -1
- package/dist/packages/textarea/textarea.test.d.ts +1 -1
- package/dist/packages/textarea/textarea.test.js +1 -1
- package/dist/packages/textfield/react.d.ts +1 -1
- package/dist/packages/textfield/react.js +1 -1
- package/dist/packages/textfield/{index.js → textfield.js} +1 -1
- package/dist/packages/textfield/{index.js.map → textfield.js.map} +1 -1
- package/dist/packages/textfield/textfield.react.stories.d.ts +4 -4
- package/dist/packages/textfield/textfield.stories.d.ts +2 -2
- package/dist/packages/textfield/textfield.stories.js +1 -1
- package/dist/packages/textfield/textfield.test.d.ts +2 -2
- package/dist/packages/textfield/textfield.test.js +2 -2
- package/dist/packages/toast/index.d.ts +5 -3
- package/dist/packages/toast/index.js +7 -2483
- package/dist/packages/toast/toast.js +8 -8
- package/dist/packages/toast/toast.js.map +3 -3
- package/dist/packages/toast/toast.stories.d.ts +4 -3
- package/dist/packages/toast/toast.stories.js +3 -2
- package/dist/packages/{toast → toast-container}/toast-container.d.ts +1 -1
- package/dist/packages/toast-container/toast-container.js.map +7 -0
- package/dist/web-types.json +822 -38
- package/package.json +139 -38
- package/dist/packages/attention/index.js.map +0 -7
- package/dist/packages/breadcrumbs/index.js.map +0 -7
- package/dist/packages/button/index.js.map +0 -7
- package/dist/packages/card/index.js.map +0 -7
- package/dist/packages/checkbox/checkbox-group.js +0 -15
- package/dist/packages/checkbox/index.d.ts +0 -2
- package/dist/packages/checkbox/index.js +0 -2
- 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/deadtoggle/dead-toggle.react.stories.d.ts +0 -15
- package/dist/packages/deadtoggle/dead-toggle.test.d.ts +0 -1
- package/dist/packages/deadtoggle/index.js +0 -51
- package/dist/packages/link/index.js.map +0 -7
- package/dist/packages/modal/modal-footer.js.map +0 -7
- package/dist/packages/modal/modal-header.js.map +0 -7
- package/dist/packages/pageindicator/index.d.ts +0 -10
- package/dist/packages/pageindicator/index.js +0 -48
- package/dist/packages/pageindicator/pageindicator.stories.js +0 -71
- package/dist/packages/pagination/index.js +0 -199
- package/dist/packages/pill/index.js.map +0 -7
- package/dist/packages/radio/index.d.ts +0 -2
- package/dist/packages/radio/index.js +0 -2
- package/dist/packages/radio/radio-group.js +0 -342
- package/dist/packages/select/index.js.map +0 -7
- package/dist/packages/slider/slider-thumb.js +0 -501
- package/dist/packages/stepindicator/index.d.ts +0 -37
- package/dist/packages/stepindicator/index.js +0 -195
- package/dist/packages/stepindicator/react.d.ts +0 -3
- package/dist/packages/tabs/tab-panel.js +0 -51
- package/dist/packages/tabs/tab.js +0 -104
- package/dist/packages/textarea/index.d.ts +0 -1
- package/dist/packages/textarea/index.js +0 -1
- package/dist/packages/toast/index.js.map +0 -7
- package/dist/packages/affix/{index.d.ts → affix.d.ts} +0 -0
- package/dist/packages/alert/{index.d.ts → alert.d.ts} +0 -0
- package/dist/packages/badge/{index.d.ts → badge.d.ts} +0 -0
- package/dist/packages/box/{index.d.ts → box.d.ts} +0 -0
- package/dist/packages/breadcrumbs/{index.d.ts → breadcrumbs.d.ts} +0 -0
- package/dist/packages/card/{index.d.ts → card.d.ts} +0 -0
- package/dist/packages/{checkbox → checkbox-group}/checkbox-group.d.ts +0 -0
- package/dist/packages/combobox/{index.d.ts → combobox.d.ts} +0 -0
- package/dist/packages/{deadtoggle/index.d.ts → dead-toggle/dead-toggle.d.ts} +0 -0
- package/dist/packages/{deadtoggle → dead-toggle}/dead-toggle.react.stories.js +0 -0
- package/dist/packages/{deadtoggle → dead-toggle}/react.js +1 -1
- /package/dist/packages/expandable/{index.d.ts → expandable.d.ts} +0 -0
- /package/dist/packages/{pageindicator → icon}/style.d.ts +0 -0
- /package/dist/packages/link/{index.d.ts → link.d.ts} +0 -0
- /package/dist/packages/modal/{modal-main.d.ts → modal.d.ts} +0 -0
- /package/dist/packages/{stepindicator → page-indicator}/locales/da/messages.d.mts +0 -0
- /package/dist/packages/{stepindicator → page-indicator}/locales/en/messages.d.mts +0 -0
- /package/dist/packages/{stepindicator → page-indicator}/locales/fi/messages.d.mts +0 -0
- /package/dist/packages/{stepindicator → page-indicator}/locales/nb/messages.d.mts +0 -0
- /package/dist/packages/{stepindicator → page-indicator}/locales/sv/messages.d.mts +0 -0
- /package/dist/packages/{pageindicator/pageindicator.react.stories.js → page-indicator/page-indicator.react.stories.js} +0 -0
- /package/dist/packages/{radio/radio-group-styles.d.ts → page-indicator/style.d.ts} +0 -0
- /package/dist/packages/pagination/{index.d.ts → pagination.d.ts} +0 -0
- /package/dist/packages/pill/{index.d.ts → pill.d.ts} +0 -0
- /package/dist/packages/{stepindicator/styles.d.ts → radio-group/radio-group-styles.d.ts} +0 -0
- /package/dist/packages/{radio → radio-group}/radio-group-styles.js +0 -0
- /package/dist/packages/select/{index.d.ts → select.d.ts} +0 -0
- /package/dist/packages/{slider → slider-thumb}/SliderThumb.d.ts +0 -0
- /package/dist/packages/{slider → slider-thumb}/SliderThumb.js +0 -0
- /package/dist/packages/{slider → slider-thumb}/oddbird-css-anchor-positioning.d.ts +0 -0
- /package/dist/packages/{slider → slider-thumb}/oddbird-css-anchor-positioning.js +0 -0
- /package/dist/packages/{slider → slider-thumb}/styles/w-slider-thumb.styles.d.ts +0 -0
- /package/dist/packages/{slider → slider-thumb}/styles/w-slider-thumb.styles.js +0 -0
- /package/dist/packages/{stepindicator → step}/locales/da/messages.mjs +0 -0
- /package/dist/packages/{stepindicator → step}/locales/en/messages.mjs +0 -0
- /package/dist/packages/{stepindicator → step}/locales/fi/messages.mjs +0 -0
- /package/dist/packages/{stepindicator → step}/locales/nb/messages.mjs +0 -0
- /package/dist/packages/{stepindicator → step}/locales/sv/messages.mjs +0 -0
- /package/dist/packages/{stepindicator → step-indicator}/stepindicator.react.stories.js +0 -0
- /package/dist/packages/{stepindicator → step-indicator}/styles.js +0 -0
- /package/dist/packages/switch/{index.d.ts → switch.d.ts} +0 -0
- /package/dist/packages/textfield/{index.d.ts → textfield.d.ts} +0 -0
- /package/dist/packages/{toast → toast-container}/toast-container.js +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,24 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
6
|
-
import type {
|
|
7
|
-
import type {
|
|
8
|
-
import type {
|
|
9
|
-
import type {
|
|
10
|
-
import type {
|
|
11
|
-
import type {
|
|
12
|
-
import type {
|
|
13
|
-
import type {
|
|
14
|
-
import type {
|
|
15
|
-
import type {
|
|
16
|
-
import type {
|
|
17
|
-
import type {
|
|
18
|
-
import type { WarpToastContainer } from "./packages/toast/toast-container.ts";
|
|
1
|
+
import type { WarpAffix } from "./packages/affix/affix.ts";
|
|
2
|
+
import type { WarpAlert } from "./packages/alert/alert.ts";
|
|
3
|
+
import type { WarpLink } from "./packages/link/link.ts";
|
|
4
|
+
import type { WarpButton } from "./packages/button/button.ts";
|
|
5
|
+
import type { WarpAttention } from "./packages/attention/attention.ts";
|
|
6
|
+
import type { WarpBadge } from "./packages/badge/badge.ts";
|
|
7
|
+
import type { WarpBox } from "./packages/box/box.ts";
|
|
8
|
+
import type { WarpBreadcrumbs } from "./packages/breadcrumbs/breadcrumbs.ts";
|
|
9
|
+
import type { WarpCard } from "./packages/card/card.ts";
|
|
10
|
+
import type { WarpExpandable } from "./packages/expandable/expandable.ts";
|
|
11
|
+
import type { WarpPill } from "./packages/pill/pill.ts";
|
|
12
|
+
import type { WarpSelect } from "./packages/select/select.ts";
|
|
13
|
+
import type { WarpTextField } from "./packages/textfield/textfield.ts";
|
|
14
|
+
import type { ModalMain } from "./packages/modal/modal.ts";
|
|
15
|
+
import type { ModalHeader } from "./packages/modal-header/modal-header.ts";
|
|
16
|
+
import type { ModalFooter } from "./packages/modal-footer/modal-footer.ts";
|
|
17
|
+
import type { WarpToastContainer } from "./packages/toast-container/toast-container.ts";
|
|
19
18
|
import type { WarpDatepicker } from "./packages/datepicker/datepicker.ts";
|
|
20
|
-
import type { WarpSwitch } from "./packages/switch/
|
|
21
|
-
import type { WarpCombobox } from "./packages/combobox/
|
|
19
|
+
import type { WarpSwitch } from "./packages/switch/switch.ts";
|
|
20
|
+
import type { WarpCombobox } from "./packages/combobox/combobox.ts";
|
|
21
|
+
import type { WarpDeadToggle } from "./packages/dead-toggle/dead-toggle.ts";
|
|
22
|
+
import type { WarpPageIndicator } from "./packages/page-indicator/page-indicator.ts";
|
|
23
|
+
import type { WarpPagination } from "./packages/pagination/pagination.ts";
|
|
24
|
+
import type { WRadio } from "./packages/radio/radio.ts";
|
|
25
|
+
import type { WRadioGroup } from "./packages/radio-group/radio-group.ts";
|
|
26
|
+
import type { WCheckbox } from "./packages/checkbox/checkbox.ts";
|
|
27
|
+
import type { WCheckboxGroup } from "./packages/checkbox-group/checkbox-group.ts";
|
|
28
|
+
import type { WarpSliderThumb } from "./packages/slider-thumb/slider-thumb.ts";
|
|
29
|
+
import type { WarpSlider } from "./packages/slider/slider.ts";
|
|
30
|
+
import type { WarpStep } from "./packages/step/step.ts";
|
|
31
|
+
import type { WarpStepIndicator } from "./packages/step-indicator/step-indicator.ts";
|
|
32
|
+
import type { WarpTab } from "./packages/tab/tab.ts";
|
|
33
|
+
import type { WarpTabPanel } from "./packages/tab-panel/tab-panel.ts";
|
|
34
|
+
import type { WarpTabs } from "./packages/tabs/tabs.ts";
|
|
35
|
+
import type { WarpTextarea } from "./packages/textarea/textarea.ts";
|
|
22
36
|
|
|
23
37
|
/**
|
|
24
38
|
* This type can be used to create scoped tags for your components.
|
|
@@ -40,13 +54,12 @@ import type { WarpCombobox } from "./packages/combobox/index.ts";
|
|
|
40
54
|
*/
|
|
41
55
|
export type ScopedElements<
|
|
42
56
|
Prefix extends string = "",
|
|
43
|
-
Suffix extends string = ""
|
|
57
|
+
Suffix extends string = "",
|
|
44
58
|
> = {
|
|
45
59
|
[Key in keyof CustomElements as `${Prefix}${Key}${Suffix}`]: CustomElements[Key];
|
|
46
60
|
};
|
|
47
61
|
|
|
48
62
|
type BaseProps<T extends HTMLElement> = {
|
|
49
|
-
|
|
50
63
|
/** Content added between the opening and closing tags of the element */
|
|
51
64
|
children?: any;
|
|
52
65
|
/** Used for declaratively styling one or more elements using CSS (Cascading Stylesheets) */
|
|
@@ -89,362 +102,644 @@ type BaseProps<T extends HTMLElement> = {
|
|
|
89
102
|
popovertarget?: "top" | "bottom" | "left" | "right" | "auto";
|
|
90
103
|
/** Specifies the action to be performed on a popover element being controlled by a control element. */
|
|
91
104
|
popovertargetaction?: "show" | "hide" | "toggle";
|
|
92
|
-
|
|
93
|
-
} ;
|
|
94
|
-
|
|
95
|
-
type BaseEvents = {
|
|
96
|
-
|
|
97
|
-
|
|
98
105
|
};
|
|
99
106
|
|
|
100
|
-
|
|
107
|
+
type BaseEvents = {};
|
|
101
108
|
|
|
102
109
|
export type WarpAffixProps = {
|
|
103
110
|
/** */
|
|
104
|
-
"aria-label"?: WarpAffix[
|
|
111
|
+
"aria-label"?: WarpAffix["ariaLabel"];
|
|
105
112
|
/** */
|
|
106
|
-
|
|
113
|
+
ariaLabel?: WarpAffix["ariaLabel"];
|
|
107
114
|
/** Add this property to render a clickable Warp close icon.
|
|
108
115
|
|
|
109
116
|
Set an `aria-label` that explains the action when using this. */
|
|
110
|
-
|
|
117
|
+
clear?: WarpAffix["clear"];
|
|
111
118
|
/** Add this property to render a clickable Warp search icon.
|
|
112
119
|
|
|
113
120
|
Set an `aria-label` that explains the action when using this. */
|
|
114
|
-
|
|
121
|
+
search?: WarpAffix["search"];
|
|
122
|
+
/** */
|
|
123
|
+
label?: WarpAffix["label"];
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
export type WarpAffixSolidJsProps = {
|
|
115
127
|
/** */
|
|
116
|
-
"label"?: WarpAffix[
|
|
128
|
+
"attr:aria-label"?: WarpAffix["ariaLabel"];
|
|
129
|
+
/** */
|
|
130
|
+
"prop:ariaLabel"?: WarpAffix["ariaLabel"];
|
|
131
|
+
/** Add this property to render a clickable Warp close icon.
|
|
117
132
|
|
|
133
|
+
Set an `aria-label` that explains the action when using this. */
|
|
134
|
+
"prop:clear"?: WarpAffix["clear"];
|
|
135
|
+
/** Add this property to render a clickable Warp search icon.
|
|
118
136
|
|
|
119
|
-
|
|
137
|
+
Set an `aria-label` that explains the action when using this. */
|
|
138
|
+
"prop:search"?: WarpAffix["search"];
|
|
139
|
+
/** */
|
|
140
|
+
"prop:label"?: WarpAffix["label"];
|
|
120
141
|
|
|
142
|
+
/** Set the innerHTML of the element */
|
|
143
|
+
innerHTML?: string;
|
|
144
|
+
/** Set the textContent of the element */
|
|
145
|
+
textContent?: string | number;
|
|
146
|
+
};
|
|
121
147
|
|
|
122
148
|
export type WarpAlertProps = {
|
|
123
149
|
/** */
|
|
124
|
-
|
|
150
|
+
variant?: WarpAlert["variant"];
|
|
125
151
|
/** */
|
|
126
|
-
|
|
152
|
+
show?: WarpAlert["show"];
|
|
127
153
|
/** */
|
|
128
|
-
|
|
129
|
-
|
|
154
|
+
role?: WarpAlert["role"];
|
|
155
|
+
};
|
|
130
156
|
|
|
131
|
-
|
|
157
|
+
export type WarpAlertSolidJsProps = {
|
|
158
|
+
/** */
|
|
159
|
+
"prop:variant"?: WarpAlert["variant"];
|
|
160
|
+
/** */
|
|
161
|
+
"prop:show"?: WarpAlert["show"];
|
|
162
|
+
/** */
|
|
163
|
+
"prop:role"?: WarpAlert["role"];
|
|
132
164
|
|
|
165
|
+
/** Set the innerHTML of the element */
|
|
166
|
+
innerHTML?: string;
|
|
167
|
+
/** Set the textContent of the element */
|
|
168
|
+
textContent?: string | number;
|
|
169
|
+
};
|
|
133
170
|
|
|
134
171
|
export type WarpLinkProps = {
|
|
135
172
|
/** */
|
|
136
|
-
|
|
173
|
+
autofocus?: WarpLink["autofocus"];
|
|
137
174
|
/** */
|
|
138
|
-
|
|
175
|
+
variant?: WarpLink["variant"];
|
|
139
176
|
/** */
|
|
140
|
-
|
|
177
|
+
small?: WarpLink["small"];
|
|
141
178
|
/** */
|
|
142
|
-
|
|
179
|
+
href?: WarpLink["href"];
|
|
143
180
|
/** */
|
|
144
|
-
|
|
181
|
+
disabled?: WarpLink["disabled"];
|
|
145
182
|
/** */
|
|
146
|
-
|
|
183
|
+
target?: WarpLink["target"];
|
|
147
184
|
/** */
|
|
148
|
-
|
|
185
|
+
rel?: WarpLink["rel"];
|
|
149
186
|
/** */
|
|
150
|
-
"full-width"?: WarpLink[
|
|
187
|
+
"full-width"?: WarpLink["fullWidth"];
|
|
151
188
|
/** */
|
|
152
|
-
|
|
153
|
-
|
|
189
|
+
fullWidth?: WarpLink["fullWidth"];
|
|
190
|
+
};
|
|
154
191
|
|
|
155
|
-
|
|
192
|
+
export type WarpLinkSolidJsProps = {
|
|
193
|
+
/** */
|
|
194
|
+
"prop:autofocus"?: WarpLink["autofocus"];
|
|
195
|
+
/** */
|
|
196
|
+
"prop:variant"?: WarpLink["variant"];
|
|
197
|
+
/** */
|
|
198
|
+
"prop:small"?: WarpLink["small"];
|
|
199
|
+
/** */
|
|
200
|
+
"prop:href"?: WarpLink["href"];
|
|
201
|
+
/** */
|
|
202
|
+
"prop:disabled"?: WarpLink["disabled"];
|
|
203
|
+
/** */
|
|
204
|
+
"prop:target"?: WarpLink["target"];
|
|
205
|
+
/** */
|
|
206
|
+
"prop:rel"?: WarpLink["rel"];
|
|
207
|
+
/** */
|
|
208
|
+
"bool:full-width"?: WarpLink["fullWidth"];
|
|
209
|
+
/** */
|
|
210
|
+
"prop:fullWidth"?: WarpLink["fullWidth"];
|
|
156
211
|
|
|
212
|
+
/** Set the innerHTML of the element */
|
|
213
|
+
innerHTML?: string;
|
|
214
|
+
/** Set the textContent of the element */
|
|
215
|
+
textContent?: string | number;
|
|
216
|
+
};
|
|
157
217
|
|
|
158
218
|
export type WarpButtonProps = {
|
|
159
219
|
/** */
|
|
160
|
-
|
|
220
|
+
type?: WarpButton["type"];
|
|
161
221
|
/** */
|
|
162
|
-
|
|
222
|
+
autofocus?: WarpButton["autofocus"];
|
|
163
223
|
/** */
|
|
164
|
-
|
|
224
|
+
variant?: WarpButton["variant"];
|
|
165
225
|
/** */
|
|
166
|
-
|
|
226
|
+
quiet?: WarpButton["quiet"];
|
|
167
227
|
/** */
|
|
168
|
-
|
|
228
|
+
small?: WarpButton["small"];
|
|
169
229
|
/** */
|
|
170
|
-
|
|
230
|
+
loading?: WarpButton["loading"];
|
|
171
231
|
/** */
|
|
172
|
-
|
|
232
|
+
href?: WarpButton["href"];
|
|
173
233
|
/** */
|
|
174
|
-
|
|
234
|
+
target?: WarpButton["target"];
|
|
175
235
|
/** */
|
|
176
|
-
|
|
236
|
+
rel?: WarpButton["rel"];
|
|
177
237
|
/** */
|
|
178
|
-
"full-width"?: WarpButton[
|
|
238
|
+
"full-width"?: WarpButton["fullWidth"];
|
|
179
239
|
/** */
|
|
180
|
-
|
|
240
|
+
fullWidth?: WarpButton["fullWidth"];
|
|
181
241
|
/** */
|
|
182
|
-
"button-class"?: WarpButton[
|
|
242
|
+
"button-class"?: WarpButton["buttonClass"];
|
|
183
243
|
/** */
|
|
184
|
-
|
|
244
|
+
buttonClass?: WarpButton["buttonClass"];
|
|
185
245
|
/** */
|
|
186
|
-
|
|
246
|
+
name?: WarpButton["name"];
|
|
187
247
|
/** */
|
|
188
|
-
|
|
248
|
+
value?: WarpButton["value"];
|
|
189
249
|
/** */
|
|
190
|
-
|
|
191
|
-
|
|
250
|
+
ariaValueTextLoading?: WarpButton["ariaValueTextLoading"];
|
|
251
|
+
};
|
|
192
252
|
|
|
193
|
-
|
|
253
|
+
export type WarpButtonSolidJsProps = {
|
|
254
|
+
/** */
|
|
255
|
+
"prop:type"?: WarpButton["type"];
|
|
256
|
+
/** */
|
|
257
|
+
"prop:autofocus"?: WarpButton["autofocus"];
|
|
258
|
+
/** */
|
|
259
|
+
"prop:variant"?: WarpButton["variant"];
|
|
260
|
+
/** */
|
|
261
|
+
"prop:quiet"?: WarpButton["quiet"];
|
|
262
|
+
/** */
|
|
263
|
+
"prop:small"?: WarpButton["small"];
|
|
264
|
+
/** */
|
|
265
|
+
"prop:loading"?: WarpButton["loading"];
|
|
266
|
+
/** */
|
|
267
|
+
"prop:href"?: WarpButton["href"];
|
|
268
|
+
/** */
|
|
269
|
+
"prop:target"?: WarpButton["target"];
|
|
270
|
+
/** */
|
|
271
|
+
"prop:rel"?: WarpButton["rel"];
|
|
272
|
+
/** */
|
|
273
|
+
"bool:full-width"?: WarpButton["fullWidth"];
|
|
274
|
+
/** */
|
|
275
|
+
"prop:fullWidth"?: WarpButton["fullWidth"];
|
|
276
|
+
/** */
|
|
277
|
+
"attr:button-class"?: WarpButton["buttonClass"];
|
|
278
|
+
/** */
|
|
279
|
+
"prop:buttonClass"?: WarpButton["buttonClass"];
|
|
280
|
+
/** */
|
|
281
|
+
"prop:name"?: WarpButton["name"];
|
|
282
|
+
/** */
|
|
283
|
+
"prop:value"?: WarpButton["value"];
|
|
284
|
+
/** */
|
|
285
|
+
"prop:ariaValueTextLoading"?: WarpButton["ariaValueTextLoading"];
|
|
194
286
|
|
|
287
|
+
/** Set the innerHTML of the element */
|
|
288
|
+
innerHTML?: string;
|
|
289
|
+
/** Set the textContent of the element */
|
|
290
|
+
textContent?: string | number;
|
|
291
|
+
};
|
|
195
292
|
|
|
196
293
|
export type WarpAttentionProps = {
|
|
197
294
|
/** */
|
|
198
|
-
|
|
295
|
+
show?: WarpAttention["show"];
|
|
199
296
|
/** */
|
|
200
|
-
|
|
297
|
+
placement?: WarpAttention["placement"];
|
|
201
298
|
/** */
|
|
202
|
-
|
|
299
|
+
tooltip?: WarpAttention["tooltip"];
|
|
203
300
|
/** */
|
|
204
|
-
|
|
301
|
+
callout?: WarpAttention["callout"];
|
|
205
302
|
/** */
|
|
206
|
-
|
|
303
|
+
popover?: WarpAttention["popover"];
|
|
207
304
|
/** */
|
|
208
|
-
|
|
305
|
+
highlight?: WarpAttention["highlight"];
|
|
209
306
|
/** */
|
|
210
|
-
"can-close"?: WarpAttention[
|
|
307
|
+
"can-close"?: WarpAttention["canClose"];
|
|
211
308
|
/** */
|
|
212
|
-
|
|
309
|
+
canClose?: WarpAttention["canClose"];
|
|
213
310
|
/** */
|
|
214
|
-
"no-arrow"?: WarpAttention[
|
|
311
|
+
"no-arrow"?: WarpAttention["noArrow"];
|
|
215
312
|
/** */
|
|
216
|
-
|
|
313
|
+
noArrow?: WarpAttention["noArrow"];
|
|
217
314
|
/** */
|
|
218
|
-
|
|
315
|
+
distance?: WarpAttention["distance"];
|
|
219
316
|
/** */
|
|
220
|
-
|
|
317
|
+
skidding?: WarpAttention["skidding"];
|
|
221
318
|
/** */
|
|
222
|
-
|
|
319
|
+
flip?: WarpAttention["flip"];
|
|
223
320
|
/** */
|
|
224
|
-
"cross-axis"?: WarpAttention[
|
|
321
|
+
"cross-axis"?: WarpAttention["crossAxis"];
|
|
225
322
|
/** */
|
|
226
|
-
|
|
323
|
+
crossAxis?: WarpAttention["crossAxis"];
|
|
227
324
|
/** */
|
|
228
|
-
"fallback-placements"?: WarpAttention[
|
|
325
|
+
"fallback-placements"?: WarpAttention["fallbackPlacements"];
|
|
229
326
|
/** */
|
|
230
|
-
|
|
327
|
+
fallbackPlacements?: WarpAttention["fallbackPlacements"];
|
|
231
328
|
/** */
|
|
232
|
-
|
|
329
|
+
_initialPlacement?: WarpAttention["_initialPlacement"];
|
|
233
330
|
/** */
|
|
234
|
-
|
|
235
|
-
|
|
331
|
+
_actualDirection?: WarpAttention["_actualDirection"];
|
|
332
|
+
};
|
|
236
333
|
|
|
237
|
-
|
|
334
|
+
export type WarpAttentionSolidJsProps = {
|
|
335
|
+
/** */
|
|
336
|
+
"prop:show"?: WarpAttention["show"];
|
|
337
|
+
/** */
|
|
338
|
+
"prop:placement"?: WarpAttention["placement"];
|
|
339
|
+
/** */
|
|
340
|
+
"prop:tooltip"?: WarpAttention["tooltip"];
|
|
341
|
+
/** */
|
|
342
|
+
"prop:callout"?: WarpAttention["callout"];
|
|
343
|
+
/** */
|
|
344
|
+
"prop:popover"?: WarpAttention["popover"];
|
|
345
|
+
/** */
|
|
346
|
+
"prop:highlight"?: WarpAttention["highlight"];
|
|
347
|
+
/** */
|
|
348
|
+
"bool:can-close"?: WarpAttention["canClose"];
|
|
349
|
+
/** */
|
|
350
|
+
"prop:canClose"?: WarpAttention["canClose"];
|
|
351
|
+
/** */
|
|
352
|
+
"bool:no-arrow"?: WarpAttention["noArrow"];
|
|
353
|
+
/** */
|
|
354
|
+
"prop:noArrow"?: WarpAttention["noArrow"];
|
|
355
|
+
/** */
|
|
356
|
+
"prop:distance"?: WarpAttention["distance"];
|
|
357
|
+
/** */
|
|
358
|
+
"prop:skidding"?: WarpAttention["skidding"];
|
|
359
|
+
/** */
|
|
360
|
+
"prop:flip"?: WarpAttention["flip"];
|
|
361
|
+
/** */
|
|
362
|
+
"bool:cross-axis"?: WarpAttention["crossAxis"];
|
|
363
|
+
/** */
|
|
364
|
+
"prop:crossAxis"?: WarpAttention["crossAxis"];
|
|
365
|
+
/** */
|
|
366
|
+
"attr:fallback-placements"?: WarpAttention["fallbackPlacements"];
|
|
367
|
+
/** */
|
|
368
|
+
"prop:fallbackPlacements"?: WarpAttention["fallbackPlacements"];
|
|
369
|
+
/** */
|
|
370
|
+
"prop:_initialPlacement"?: WarpAttention["_initialPlacement"];
|
|
371
|
+
/** */
|
|
372
|
+
"prop:_actualDirection"?: WarpAttention["_actualDirection"];
|
|
238
373
|
|
|
374
|
+
/** Set the innerHTML of the element */
|
|
375
|
+
innerHTML?: string;
|
|
376
|
+
/** Set the textContent of the element */
|
|
377
|
+
textContent?: string | number;
|
|
378
|
+
};
|
|
239
379
|
|
|
240
380
|
export type WarpBadgeProps = {
|
|
241
381
|
/** */
|
|
242
|
-
|
|
382
|
+
variant?: WarpBadge["variant"];
|
|
243
383
|
/** */
|
|
244
|
-
|
|
245
|
-
|
|
384
|
+
position?: WarpBadge["position"];
|
|
385
|
+
};
|
|
246
386
|
|
|
247
|
-
|
|
387
|
+
export type WarpBadgeSolidJsProps = {
|
|
388
|
+
/** */
|
|
389
|
+
"prop:variant"?: WarpBadge["variant"];
|
|
390
|
+
/** */
|
|
391
|
+
"prop:position"?: WarpBadge["position"];
|
|
248
392
|
|
|
393
|
+
/** Set the innerHTML of the element */
|
|
394
|
+
innerHTML?: string;
|
|
395
|
+
/** Set the textContent of the element */
|
|
396
|
+
textContent?: string | number;
|
|
397
|
+
};
|
|
249
398
|
|
|
250
399
|
export type WarpBoxProps = {
|
|
251
400
|
/** */
|
|
252
|
-
|
|
401
|
+
bleed?: WarpBox["bleed"];
|
|
253
402
|
/** */
|
|
254
|
-
|
|
403
|
+
bordered?: WarpBox["bordered"];
|
|
255
404
|
/** */
|
|
256
|
-
|
|
405
|
+
info?: WarpBox["info"];
|
|
257
406
|
/** */
|
|
258
|
-
|
|
407
|
+
neutral?: WarpBox["neutral"];
|
|
259
408
|
/** */
|
|
260
|
-
|
|
261
|
-
|
|
409
|
+
role?: WarpBox["role"];
|
|
410
|
+
};
|
|
262
411
|
|
|
263
|
-
|
|
412
|
+
export type WarpBoxSolidJsProps = {
|
|
413
|
+
/** */
|
|
414
|
+
"prop:bleed"?: WarpBox["bleed"];
|
|
415
|
+
/** */
|
|
416
|
+
"prop:bordered"?: WarpBox["bordered"];
|
|
417
|
+
/** */
|
|
418
|
+
"prop:info"?: WarpBox["info"];
|
|
419
|
+
/** */
|
|
420
|
+
"prop:neutral"?: WarpBox["neutral"];
|
|
421
|
+
/** */
|
|
422
|
+
"prop:role"?: WarpBox["role"];
|
|
264
423
|
|
|
424
|
+
/** Set the innerHTML of the element */
|
|
425
|
+
innerHTML?: string;
|
|
426
|
+
/** Set the textContent of the element */
|
|
427
|
+
textContent?: string | number;
|
|
428
|
+
};
|
|
265
429
|
|
|
266
430
|
export type WarpBreadcrumbsProps = {
|
|
267
431
|
/** */
|
|
268
|
-
"aria-label"?: WarpBreadcrumbs[
|
|
432
|
+
"aria-label"?: WarpBreadcrumbs["ariaLabel"];
|
|
269
433
|
/** */
|
|
270
|
-
|
|
271
|
-
|
|
434
|
+
ariaLabel?: WarpBreadcrumbs["ariaLabel"];
|
|
435
|
+
};
|
|
272
436
|
|
|
273
|
-
|
|
437
|
+
export type WarpBreadcrumbsSolidJsProps = {
|
|
438
|
+
/** */
|
|
439
|
+
"attr:aria-label"?: WarpBreadcrumbs["ariaLabel"];
|
|
440
|
+
/** */
|
|
441
|
+
"prop:ariaLabel"?: WarpBreadcrumbs["ariaLabel"];
|
|
274
442
|
|
|
443
|
+
/** Set the innerHTML of the element */
|
|
444
|
+
innerHTML?: string;
|
|
445
|
+
/** Set the textContent of the element */
|
|
446
|
+
textContent?: string | number;
|
|
447
|
+
};
|
|
275
448
|
|
|
276
449
|
export type WarpCardProps = {
|
|
277
450
|
/** */
|
|
278
|
-
|
|
451
|
+
selected?: WarpCard["selected"];
|
|
279
452
|
/** */
|
|
280
|
-
|
|
453
|
+
flat?: WarpCard["flat"];
|
|
281
454
|
/** */
|
|
282
|
-
|
|
455
|
+
clickable?: WarpCard["clickable"];
|
|
283
456
|
/** */
|
|
284
|
-
|
|
285
|
-
|
|
457
|
+
buttonText?: WarpCard["buttonText"];
|
|
458
|
+
};
|
|
286
459
|
|
|
287
|
-
|
|
460
|
+
export type WarpCardSolidJsProps = {
|
|
461
|
+
/** */
|
|
462
|
+
"prop:selected"?: WarpCard["selected"];
|
|
463
|
+
/** */
|
|
464
|
+
"prop:flat"?: WarpCard["flat"];
|
|
465
|
+
/** */
|
|
466
|
+
"prop:clickable"?: WarpCard["clickable"];
|
|
467
|
+
/** */
|
|
468
|
+
"prop:buttonText"?: WarpCard["buttonText"];
|
|
288
469
|
|
|
470
|
+
/** Set the innerHTML of the element */
|
|
471
|
+
innerHTML?: string;
|
|
472
|
+
/** Set the textContent of the element */
|
|
473
|
+
textContent?: string | number;
|
|
474
|
+
};
|
|
289
475
|
|
|
290
476
|
export type WarpExpandableProps = {
|
|
291
477
|
/** */
|
|
292
|
-
|
|
478
|
+
expanded?: WarpExpandable["expanded"];
|
|
293
479
|
/** */
|
|
294
|
-
|
|
480
|
+
title?: WarpExpandable["title"];
|
|
295
481
|
/** */
|
|
296
|
-
|
|
482
|
+
box?: WarpExpandable["box"];
|
|
297
483
|
/** */
|
|
298
|
-
|
|
484
|
+
bleed?: WarpExpandable["bleed"];
|
|
299
485
|
/** */
|
|
300
|
-
"button-class"?: WarpExpandable[
|
|
486
|
+
"button-class"?: WarpExpandable["buttonClass"];
|
|
301
487
|
/** */
|
|
302
|
-
|
|
488
|
+
buttonClass?: WarpExpandable["buttonClass"];
|
|
303
489
|
/** */
|
|
304
|
-
"content-class"?: WarpExpandable[
|
|
490
|
+
"content-class"?: WarpExpandable["contentClass"];
|
|
305
491
|
/** */
|
|
306
|
-
|
|
492
|
+
contentClass?: WarpExpandable["contentClass"];
|
|
307
493
|
/** */
|
|
308
|
-
"no-chevron"?: WarpExpandable[
|
|
494
|
+
"no-chevron"?: WarpExpandable["noChevron"];
|
|
309
495
|
/** */
|
|
310
|
-
|
|
496
|
+
noChevron?: WarpExpandable["noChevron"];
|
|
311
497
|
/** */
|
|
312
|
-
|
|
498
|
+
animated?: WarpExpandable["animated"];
|
|
313
499
|
/** */
|
|
314
|
-
"heading-level"?: WarpExpandable[
|
|
500
|
+
"heading-level"?: WarpExpandable["headingLevel"];
|
|
315
501
|
/** */
|
|
316
|
-
|
|
502
|
+
headingLevel?: WarpExpandable["headingLevel"];
|
|
317
503
|
/** */
|
|
318
|
-
|
|
504
|
+
_hasTitle?: WarpExpandable["_hasTitle"];
|
|
319
505
|
/** */
|
|
320
|
-
|
|
321
|
-
|
|
506
|
+
_showChevronUp?: WarpExpandable["_showChevronUp"];
|
|
507
|
+
};
|
|
322
508
|
|
|
323
|
-
|
|
509
|
+
export type WarpExpandableSolidJsProps = {
|
|
510
|
+
/** */
|
|
511
|
+
"prop:expanded"?: WarpExpandable["expanded"];
|
|
512
|
+
/** */
|
|
513
|
+
"prop:title"?: WarpExpandable["title"];
|
|
514
|
+
/** */
|
|
515
|
+
"prop:box"?: WarpExpandable["box"];
|
|
516
|
+
/** */
|
|
517
|
+
"prop:bleed"?: WarpExpandable["bleed"];
|
|
518
|
+
/** */
|
|
519
|
+
"attr:button-class"?: WarpExpandable["buttonClass"];
|
|
520
|
+
/** */
|
|
521
|
+
"prop:buttonClass"?: WarpExpandable["buttonClass"];
|
|
522
|
+
/** */
|
|
523
|
+
"attr:content-class"?: WarpExpandable["contentClass"];
|
|
524
|
+
/** */
|
|
525
|
+
"prop:contentClass"?: WarpExpandable["contentClass"];
|
|
526
|
+
/** */
|
|
527
|
+
"bool:no-chevron"?: WarpExpandable["noChevron"];
|
|
528
|
+
/** */
|
|
529
|
+
"prop:noChevron"?: WarpExpandable["noChevron"];
|
|
530
|
+
/** */
|
|
531
|
+
"prop:animated"?: WarpExpandable["animated"];
|
|
532
|
+
/** */
|
|
533
|
+
"attr:heading-level"?: WarpExpandable["headingLevel"];
|
|
534
|
+
/** */
|
|
535
|
+
"prop:headingLevel"?: WarpExpandable["headingLevel"];
|
|
536
|
+
/** */
|
|
537
|
+
"prop:_hasTitle"?: WarpExpandable["_hasTitle"];
|
|
538
|
+
/** */
|
|
539
|
+
"prop:_showChevronUp"?: WarpExpandable["_showChevronUp"];
|
|
324
540
|
|
|
541
|
+
/** Set the innerHTML of the element */
|
|
542
|
+
innerHTML?: string;
|
|
543
|
+
/** Set the textContent of the element */
|
|
544
|
+
textContent?: string | number;
|
|
545
|
+
};
|
|
325
546
|
|
|
326
547
|
export type WarpPillProps = {
|
|
327
548
|
/** */
|
|
328
|
-
"can-close"?: WarpPill[
|
|
549
|
+
"can-close"?: WarpPill["canClose"];
|
|
329
550
|
/** */
|
|
330
|
-
|
|
551
|
+
canClose?: WarpPill["canClose"];
|
|
331
552
|
/** */
|
|
332
|
-
|
|
553
|
+
suggestion?: WarpPill["suggestion"];
|
|
333
554
|
/** @deprecated Used "open-arial-label" instead. */
|
|
334
|
-
"open-sr-label"?: WarpPill[
|
|
555
|
+
"open-sr-label"?: WarpPill["openSrLabel"];
|
|
335
556
|
/** @deprecated Used "open-arial-label" instead. */
|
|
336
|
-
|
|
557
|
+
openSrLabel?: WarpPill["openSrLabel"];
|
|
337
558
|
/** */
|
|
338
|
-
"open-aria-label"?: WarpPill[
|
|
559
|
+
"open-aria-label"?: WarpPill["openAriaLabel"];
|
|
339
560
|
/** */
|
|
340
|
-
|
|
561
|
+
openAriaLabel?: WarpPill["openAriaLabel"];
|
|
341
562
|
/** @deprecated Used "close-arial-label" instead. */
|
|
342
|
-
"close-sr-label"?: WarpPill[
|
|
563
|
+
"close-sr-label"?: WarpPill["closeSrLabel"];
|
|
343
564
|
/** @deprecated Used "close-arial-label" instead. */
|
|
344
|
-
|
|
565
|
+
closeSrLabel?: WarpPill["closeSrLabel"];
|
|
345
566
|
/** */
|
|
346
|
-
"close-aria-label"?: WarpPill[
|
|
567
|
+
"close-aria-label"?: WarpPill["closeAriaLabel"];
|
|
347
568
|
/** */
|
|
348
|
-
|
|
569
|
+
closeAriaLabel?: WarpPill["closeAriaLabel"];
|
|
349
570
|
/** */
|
|
350
|
-
|
|
571
|
+
openFilterSrText?: WarpPill["openFilterSrText"];
|
|
351
572
|
/** */
|
|
352
|
-
|
|
573
|
+
removeFilterSrText?: WarpPill["removeFilterSrText"];
|
|
353
574
|
|
|
354
575
|
/** */
|
|
355
|
-
"onw-pill-click"?: (e: CustomEvent
|
|
576
|
+
"onw-pill-click"?: (e: CustomEvent) => void;
|
|
356
577
|
/** */
|
|
357
|
-
"onw-pill-close"?: (e: CustomEvent
|
|
358
|
-
}
|
|
578
|
+
"onw-pill-close"?: (e: CustomEvent) => void;
|
|
579
|
+
};
|
|
580
|
+
|
|
581
|
+
export type WarpPillSolidJsProps = {
|
|
582
|
+
/** */
|
|
583
|
+
"bool:can-close"?: WarpPill["canClose"];
|
|
584
|
+
/** */
|
|
585
|
+
"prop:canClose"?: WarpPill["canClose"];
|
|
586
|
+
/** */
|
|
587
|
+
"prop:suggestion"?: WarpPill["suggestion"];
|
|
588
|
+
/** @deprecated Used "open-arial-label" instead. */
|
|
589
|
+
"attr:open-sr-label"?: WarpPill["openSrLabel"];
|
|
590
|
+
/** @deprecated Used "open-arial-label" instead. */
|
|
591
|
+
"prop:openSrLabel"?: WarpPill["openSrLabel"];
|
|
592
|
+
/** */
|
|
593
|
+
"attr:open-aria-label"?: WarpPill["openAriaLabel"];
|
|
594
|
+
/** */
|
|
595
|
+
"prop:openAriaLabel"?: WarpPill["openAriaLabel"];
|
|
596
|
+
/** @deprecated Used "close-arial-label" instead. */
|
|
597
|
+
"attr:close-sr-label"?: WarpPill["closeSrLabel"];
|
|
598
|
+
/** @deprecated Used "close-arial-label" instead. */
|
|
599
|
+
"prop:closeSrLabel"?: WarpPill["closeSrLabel"];
|
|
600
|
+
/** */
|
|
601
|
+
"attr:close-aria-label"?: WarpPill["closeAriaLabel"];
|
|
602
|
+
/** */
|
|
603
|
+
"prop:closeAriaLabel"?: WarpPill["closeAriaLabel"];
|
|
604
|
+
/** */
|
|
605
|
+
"prop:openFilterSrText"?: WarpPill["openFilterSrText"];
|
|
606
|
+
/** */
|
|
607
|
+
"prop:removeFilterSrText"?: WarpPill["removeFilterSrText"];
|
|
608
|
+
/** */
|
|
609
|
+
"on:w-pill-click"?: (e: CustomEvent) => void;
|
|
610
|
+
/** */
|
|
611
|
+
"on:w-pill-close"?: (e: CustomEvent) => void;
|
|
359
612
|
|
|
613
|
+
/** Set the innerHTML of the element */
|
|
614
|
+
innerHTML?: string;
|
|
615
|
+
/** Set the textContent of the element */
|
|
616
|
+
textContent?: string | number;
|
|
617
|
+
};
|
|
360
618
|
|
|
361
619
|
export type WarpSelectProps = {
|
|
362
620
|
/** @deprecated Use the native `autofocus` attribute instead. - Whether the element should receive focus on render. */
|
|
363
|
-
"auto-focus"?: WarpSelect[
|
|
621
|
+
"auto-focus"?: WarpSelect["autoFocus"];
|
|
364
622
|
/** @deprecated Use the native `autofocus` attribute instead. - Whether the element should receive focus on render. */
|
|
365
|
-
|
|
623
|
+
autoFocus?: WarpSelect["autoFocus"];
|
|
366
624
|
/** Whether the element should receive focus on render */
|
|
367
|
-
|
|
625
|
+
autofocus?: WarpSelect["autofocus"];
|
|
368
626
|
/** The content displayed as the help text. Paired with `invalid` to show the text as a validation error. */
|
|
369
|
-
"help-text"?: WarpSelect[
|
|
627
|
+
"help-text"?: WarpSelect["helpText"];
|
|
370
628
|
/** The content displayed as the help text. Paired with `invalid` to show the text as a validation error. */
|
|
371
|
-
|
|
629
|
+
helpText?: WarpSelect["helpText"];
|
|
372
630
|
/** Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error. */
|
|
373
|
-
|
|
631
|
+
invalid?: WarpSelect["invalid"];
|
|
374
632
|
/** @deprecated Use `help-text` instead and only set it if you want to display the help text. - Whether to always show a hint. */
|
|
375
|
-
|
|
633
|
+
always?: WarpSelect["always"];
|
|
376
634
|
/** @deprecated Use `help-text` instead. - The content displayed as the help text. */
|
|
377
|
-
|
|
635
|
+
hint?: WarpSelect["hint"];
|
|
378
636
|
/** The content to disply as the label */
|
|
379
|
-
|
|
637
|
+
label?: WarpSelect["label"];
|
|
380
638
|
/** Whether to show optional text */
|
|
381
|
-
|
|
639
|
+
optional?: WarpSelect["optional"];
|
|
382
640
|
/** Renders the field in a disabled state. */
|
|
383
|
-
|
|
641
|
+
disabled?: WarpSelect["disabled"];
|
|
384
642
|
/** @deprecated Use the native readonly attribute instead. - Renders the field in a readonly state. */
|
|
385
|
-
"read-only"?: WarpSelect[
|
|
643
|
+
"read-only"?: WarpSelect["readOnly"];
|
|
386
644
|
/** @deprecated Use the native readonly attribute instead. - Renders the field in a readonly state. */
|
|
387
|
-
|
|
645
|
+
readOnly?: WarpSelect["readOnly"];
|
|
388
646
|
/** Renders the field in a readonly state. */
|
|
389
|
-
|
|
647
|
+
readonly?: WarpSelect["readonly"];
|
|
390
648
|
/** */
|
|
391
|
-
|
|
649
|
+
name?: WarpSelect["name"];
|
|
392
650
|
/** */
|
|
393
|
-
|
|
394
|
-
|
|
651
|
+
value?: WarpSelect["value"];
|
|
652
|
+
};
|
|
395
653
|
|
|
396
|
-
|
|
654
|
+
export type WarpSelectSolidJsProps = {
|
|
655
|
+
/** @deprecated Use the native `autofocus` attribute instead. - Whether the element should receive focus on render. */
|
|
656
|
+
"bool:auto-focus"?: WarpSelect["autoFocus"];
|
|
657
|
+
/** @deprecated Use the native `autofocus` attribute instead. - Whether the element should receive focus on render. */
|
|
658
|
+
"prop:autoFocus"?: WarpSelect["autoFocus"];
|
|
659
|
+
/** Whether the element should receive focus on render */
|
|
660
|
+
"prop:autofocus"?: WarpSelect["autofocus"];
|
|
661
|
+
/** The content displayed as the help text. Paired with `invalid` to show the text as a validation error. */
|
|
662
|
+
"attr:help-text"?: WarpSelect["helpText"];
|
|
663
|
+
/** The content displayed as the help text. Paired with `invalid` to show the text as a validation error. */
|
|
664
|
+
"prop:helpText"?: WarpSelect["helpText"];
|
|
665
|
+
/** Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error. */
|
|
666
|
+
"prop:invalid"?: WarpSelect["invalid"];
|
|
667
|
+
/** @deprecated Use `help-text` instead and only set it if you want to display the help text. - Whether to always show a hint. */
|
|
668
|
+
"prop:always"?: WarpSelect["always"];
|
|
669
|
+
/** @deprecated Use `help-text` instead. - The content displayed as the help text. */
|
|
670
|
+
"prop:hint"?: WarpSelect["hint"];
|
|
671
|
+
/** The content to disply as the label */
|
|
672
|
+
"prop:label"?: WarpSelect["label"];
|
|
673
|
+
/** Whether to show optional text */
|
|
674
|
+
"prop:optional"?: WarpSelect["optional"];
|
|
675
|
+
/** Renders the field in a disabled state. */
|
|
676
|
+
"prop:disabled"?: WarpSelect["disabled"];
|
|
677
|
+
/** @deprecated Use the native readonly attribute instead. - Renders the field in a readonly state. */
|
|
678
|
+
"bool:read-only"?: WarpSelect["readOnly"];
|
|
679
|
+
/** @deprecated Use the native readonly attribute instead. - Renders the field in a readonly state. */
|
|
680
|
+
"prop:readOnly"?: WarpSelect["readOnly"];
|
|
681
|
+
/** Renders the field in a readonly state. */
|
|
682
|
+
"prop:readonly"?: WarpSelect["readonly"];
|
|
683
|
+
/** */
|
|
684
|
+
"prop:name"?: WarpSelect["name"];
|
|
685
|
+
/** */
|
|
686
|
+
"prop:value"?: WarpSelect["value"];
|
|
397
687
|
|
|
688
|
+
/** Set the innerHTML of the element */
|
|
689
|
+
innerHTML?: string;
|
|
690
|
+
/** Set the textContent of the element */
|
|
691
|
+
textContent?: string | number;
|
|
692
|
+
};
|
|
398
693
|
|
|
399
694
|
export type WarpTextFieldProps = {
|
|
400
695
|
/** */
|
|
401
|
-
|
|
696
|
+
disabled?: WarpTextField["disabled"];
|
|
402
697
|
/** */
|
|
403
|
-
|
|
698
|
+
invalid?: WarpTextField["invalid"];
|
|
404
699
|
/** */
|
|
405
|
-
|
|
700
|
+
id?: WarpTextField["id"];
|
|
406
701
|
/** */
|
|
407
|
-
|
|
702
|
+
label?: WarpTextField["label"];
|
|
408
703
|
/** */
|
|
409
|
-
"help-text"?: WarpTextField[
|
|
704
|
+
"help-text"?: WarpTextField["helpText"];
|
|
410
705
|
/** */
|
|
411
|
-
|
|
706
|
+
helpText?: WarpTextField["helpText"];
|
|
412
707
|
/** */
|
|
413
|
-
|
|
708
|
+
size?: WarpTextField["size"];
|
|
414
709
|
/** */
|
|
415
|
-
|
|
710
|
+
max?: WarpTextField["max"];
|
|
416
711
|
/** */
|
|
417
|
-
|
|
712
|
+
min?: WarpTextField["min"];
|
|
418
713
|
/** */
|
|
419
|
-
"min-length"?: WarpTextField[
|
|
714
|
+
"min-length"?: WarpTextField["minLength"];
|
|
420
715
|
/** */
|
|
421
|
-
|
|
716
|
+
minLength?: WarpTextField["minLength"];
|
|
422
717
|
/** */
|
|
423
|
-
"max-length"?: WarpTextField[
|
|
718
|
+
"max-length"?: WarpTextField["maxLength"];
|
|
424
719
|
/** */
|
|
425
|
-
|
|
720
|
+
maxLength?: WarpTextField["maxLength"];
|
|
426
721
|
/** */
|
|
427
|
-
|
|
722
|
+
pattern?: WarpTextField["pattern"];
|
|
428
723
|
/** */
|
|
429
|
-
|
|
724
|
+
placeholder?: WarpTextField["placeholder"];
|
|
430
725
|
/** @deprecated Use the native readonly attribute instead. */
|
|
431
|
-
"read-only"?: WarpTextField[
|
|
726
|
+
"read-only"?: WarpTextField["readOnly"];
|
|
432
727
|
/** @deprecated Use the native readonly attribute instead. */
|
|
433
|
-
|
|
728
|
+
readOnly?: WarpTextField["readOnly"];
|
|
434
729
|
/** */
|
|
435
|
-
|
|
730
|
+
readonly?: WarpTextField["readonly"];
|
|
436
731
|
/** */
|
|
437
|
-
|
|
732
|
+
required?: WarpTextField["required"];
|
|
438
733
|
/** */
|
|
439
|
-
|
|
734
|
+
type?: WarpTextField["type"];
|
|
440
735
|
/** */
|
|
441
|
-
|
|
736
|
+
value?: WarpTextField["value"];
|
|
442
737
|
/** */
|
|
443
|
-
|
|
738
|
+
name?: WarpTextField["name"];
|
|
444
739
|
/** */
|
|
445
|
-
|
|
740
|
+
step?: WarpTextField["step"];
|
|
446
741
|
/** */
|
|
447
|
-
|
|
742
|
+
autocomplete?: WarpTextField["autocomplete"];
|
|
448
743
|
/** Function to format value when the input field.
|
|
449
744
|
|
|
450
745
|
Only active when the input field does not have focus,
|
|
@@ -452,804 +747,3164 @@ similar to the accessible input masking example from Filament Group
|
|
|
452
747
|
|
|
453
748
|
https://css-tricks.com/input-masking/
|
|
454
749
|
https://filamentgroup.github.io/politespace/demo/demo.html */
|
|
455
|
-
|
|
456
|
-
|
|
750
|
+
formatter?: WarpTextField["formatter"];
|
|
751
|
+
};
|
|
457
752
|
|
|
458
|
-
|
|
753
|
+
export type WarpTextFieldSolidJsProps = {
|
|
754
|
+
/** */
|
|
755
|
+
"prop:disabled"?: WarpTextField["disabled"];
|
|
756
|
+
/** */
|
|
757
|
+
"prop:invalid"?: WarpTextField["invalid"];
|
|
758
|
+
/** */
|
|
759
|
+
"prop:id"?: WarpTextField["id"];
|
|
760
|
+
/** */
|
|
761
|
+
"prop:label"?: WarpTextField["label"];
|
|
762
|
+
/** */
|
|
763
|
+
"attr:help-text"?: WarpTextField["helpText"];
|
|
764
|
+
/** */
|
|
765
|
+
"prop:helpText"?: WarpTextField["helpText"];
|
|
766
|
+
/** */
|
|
767
|
+
"prop:size"?: WarpTextField["size"];
|
|
768
|
+
/** */
|
|
769
|
+
"prop:max"?: WarpTextField["max"];
|
|
770
|
+
/** */
|
|
771
|
+
"prop:min"?: WarpTextField["min"];
|
|
772
|
+
/** */
|
|
773
|
+
"attr:min-length"?: WarpTextField["minLength"];
|
|
774
|
+
/** */
|
|
775
|
+
"prop:minLength"?: WarpTextField["minLength"];
|
|
776
|
+
/** */
|
|
777
|
+
"attr:max-length"?: WarpTextField["maxLength"];
|
|
778
|
+
/** */
|
|
779
|
+
"prop:maxLength"?: WarpTextField["maxLength"];
|
|
780
|
+
/** */
|
|
781
|
+
"prop:pattern"?: WarpTextField["pattern"];
|
|
782
|
+
/** */
|
|
783
|
+
"prop:placeholder"?: WarpTextField["placeholder"];
|
|
784
|
+
/** @deprecated Use the native readonly attribute instead. */
|
|
785
|
+
"bool:read-only"?: WarpTextField["readOnly"];
|
|
786
|
+
/** @deprecated Use the native readonly attribute instead. */
|
|
787
|
+
"prop:readOnly"?: WarpTextField["readOnly"];
|
|
788
|
+
/** */
|
|
789
|
+
"prop:readonly"?: WarpTextField["readonly"];
|
|
790
|
+
/** */
|
|
791
|
+
"prop:required"?: WarpTextField["required"];
|
|
792
|
+
/** */
|
|
793
|
+
"prop:type"?: WarpTextField["type"];
|
|
794
|
+
/** */
|
|
795
|
+
"prop:value"?: WarpTextField["value"];
|
|
796
|
+
/** */
|
|
797
|
+
"prop:name"?: WarpTextField["name"];
|
|
798
|
+
/** */
|
|
799
|
+
"prop:step"?: WarpTextField["step"];
|
|
800
|
+
/** */
|
|
801
|
+
"prop:autocomplete"?: WarpTextField["autocomplete"];
|
|
802
|
+
/** Function to format value when the input field.
|
|
459
803
|
|
|
804
|
+
Only active when the input field does not have focus,
|
|
805
|
+
similar to the accessible input masking example from Filament Group
|
|
460
806
|
|
|
461
|
-
|
|
807
|
+
https://css-tricks.com/input-masking/
|
|
808
|
+
https://filamentgroup.github.io/politespace/demo/demo.html */
|
|
809
|
+
"prop:formatter"?: WarpTextField["formatter"];
|
|
462
810
|
|
|
811
|
+
/** Set the innerHTML of the element */
|
|
812
|
+
innerHTML?: string;
|
|
813
|
+
/** Set the textContent of the element */
|
|
814
|
+
textContent?: string | number;
|
|
815
|
+
};
|
|
463
816
|
|
|
464
|
-
|
|
817
|
+
export type ModalMainProps = {
|
|
818
|
+
/** */
|
|
819
|
+
show?: ModalMain["show"];
|
|
820
|
+
/** */
|
|
821
|
+
"content-id"?: ModalMain["contentId"];
|
|
822
|
+
/** */
|
|
823
|
+
contentId?: ModalMain["contentId"];
|
|
824
|
+
/** */
|
|
825
|
+
"ignore-backdrop-clicks"?: ModalMain["ignoreBackdropClicks"];
|
|
826
|
+
/** */
|
|
827
|
+
ignoreBackdropClicks?: ModalMain["ignoreBackdropClicks"];
|
|
828
|
+
/** */
|
|
829
|
+
dialogEl?: ModalMain["dialogEl"];
|
|
830
|
+
/** */
|
|
831
|
+
dialogInnerEl?: ModalMain["dialogInnerEl"];
|
|
832
|
+
/** */
|
|
833
|
+
contentEl?: ModalMain["contentEl"];
|
|
465
834
|
|
|
835
|
+
/** */
|
|
836
|
+
onshown?: (e: CustomEvent) => void;
|
|
837
|
+
/** */
|
|
838
|
+
onhidden?: (e: CustomEvent) => void;
|
|
839
|
+
};
|
|
466
840
|
|
|
467
|
-
export type
|
|
841
|
+
export type ModalMainSolidJsProps = {
|
|
468
842
|
/** */
|
|
469
|
-
"
|
|
843
|
+
"prop:show"?: ModalMain["show"];
|
|
470
844
|
/** */
|
|
471
|
-
"
|
|
845
|
+
"attr:content-id"?: ModalMain["contentId"];
|
|
472
846
|
/** */
|
|
473
|
-
"
|
|
847
|
+
"prop:contentId"?: ModalMain["contentId"];
|
|
474
848
|
/** */
|
|
475
|
-
"
|
|
849
|
+
"bool:ignore-backdrop-clicks"?: ModalMain["ignoreBackdropClicks"];
|
|
476
850
|
/** */
|
|
477
|
-
"
|
|
478
|
-
|
|
851
|
+
"prop:ignoreBackdropClicks"?: ModalMain["ignoreBackdropClicks"];
|
|
479
852
|
/** */
|
|
480
|
-
"
|
|
481
|
-
|
|
853
|
+
"prop:dialogEl"?: ModalMain["dialogEl"];
|
|
854
|
+
/** */
|
|
855
|
+
"prop:dialogInnerEl"?: ModalMain["dialogInnerEl"];
|
|
856
|
+
/** */
|
|
857
|
+
"prop:contentEl"?: ModalMain["contentEl"];
|
|
858
|
+
/** */
|
|
859
|
+
"on:shown"?: (e: CustomEvent) => void;
|
|
860
|
+
/** */
|
|
861
|
+
"on:hidden"?: (e: CustomEvent) => void;
|
|
482
862
|
|
|
863
|
+
/** Set the innerHTML of the element */
|
|
864
|
+
innerHTML?: string;
|
|
865
|
+
/** Set the textContent of the element */
|
|
866
|
+
textContent?: string | number;
|
|
867
|
+
};
|
|
483
868
|
|
|
484
|
-
export type
|
|
869
|
+
export type ModalHeaderProps = {
|
|
485
870
|
/** */
|
|
486
|
-
|
|
871
|
+
title?: ModalHeader["title"];
|
|
487
872
|
/** */
|
|
488
|
-
|
|
873
|
+
back?: ModalHeader["back"];
|
|
489
874
|
/** */
|
|
490
|
-
"
|
|
875
|
+
"no-close"?: ModalHeader["noClose"];
|
|
491
876
|
/** */
|
|
492
|
-
|
|
877
|
+
noClose?: ModalHeader["noClose"];
|
|
493
878
|
/** */
|
|
494
|
-
|
|
879
|
+
titleEl?: ModalHeader["titleEl"];
|
|
880
|
+
|
|
495
881
|
/** */
|
|
496
|
-
|
|
882
|
+
onbackClicked?: (e: CustomEvent) => void;
|
|
883
|
+
};
|
|
884
|
+
|
|
885
|
+
export type ModalHeaderSolidJsProps = {
|
|
497
886
|
/** */
|
|
498
|
-
"
|
|
887
|
+
"prop:title"?: ModalHeader["title"];
|
|
499
888
|
/** */
|
|
500
|
-
"
|
|
501
|
-
|
|
889
|
+
"prop:back"?: ModalHeader["back"];
|
|
502
890
|
/** */
|
|
503
|
-
"
|
|
891
|
+
"bool:no-close"?: ModalHeader["noClose"];
|
|
504
892
|
/** */
|
|
505
|
-
"
|
|
506
|
-
|
|
893
|
+
"prop:noClose"?: ModalHeader["noClose"];
|
|
894
|
+
/** */
|
|
895
|
+
"prop:titleEl"?: ModalHeader["titleEl"];
|
|
896
|
+
/** */
|
|
897
|
+
"on:backClicked"?: (e: CustomEvent) => void;
|
|
507
898
|
|
|
899
|
+
/** Set the innerHTML of the element */
|
|
900
|
+
innerHTML?: string;
|
|
901
|
+
/** Set the textContent of the element */
|
|
902
|
+
textContent?: string | number;
|
|
903
|
+
};
|
|
508
904
|
|
|
509
|
-
export type
|
|
905
|
+
export type ModalFooterProps = {};
|
|
510
906
|
|
|
907
|
+
export type ModalFooterSolidJsProps = {
|
|
908
|
+
/** Set the innerHTML of the element */
|
|
909
|
+
innerHTML?: string;
|
|
910
|
+
/** Set the textContent of the element */
|
|
911
|
+
textContent?: string | number;
|
|
912
|
+
};
|
|
511
913
|
|
|
512
|
-
}
|
|
914
|
+
export type WarpToastContainerProps = {};
|
|
513
915
|
|
|
916
|
+
export type WarpToastContainerSolidJsProps = {
|
|
917
|
+
/** Set the innerHTML of the element */
|
|
918
|
+
innerHTML?: string;
|
|
919
|
+
/** Set the textContent of the element */
|
|
920
|
+
textContent?: string | number;
|
|
921
|
+
};
|
|
514
922
|
|
|
515
923
|
export type WarpDatepickerProps = {
|
|
516
924
|
/** */
|
|
517
|
-
|
|
925
|
+
label?: WarpDatepicker["label"];
|
|
518
926
|
/** Takes precedence over the `<html>` lang attribute. */
|
|
519
|
-
|
|
927
|
+
lang?: WarpDatepicker["lang"];
|
|
520
928
|
/** */
|
|
521
|
-
|
|
929
|
+
name?: WarpDatepicker["name"];
|
|
522
930
|
/** */
|
|
523
|
-
|
|
931
|
+
value?: WarpDatepicker["value"];
|
|
524
932
|
/** Decides the format of the date as shown in the calendar header.
|
|
525
933
|
|
|
526
934
|
The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
|
|
527
|
-
"header-format"?: WarpDatepicker[
|
|
935
|
+
"header-format"?: WarpDatepicker["headerFormat"];
|
|
528
936
|
/** Decides the format of the date as shown in the calendar header.
|
|
529
937
|
|
|
530
938
|
The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
|
|
531
|
-
|
|
939
|
+
headerFormat?: WarpDatepicker["headerFormat"];
|
|
532
940
|
/** Decides the format of the weekday as shown above the grid of dates in the calendar.
|
|
533
941
|
|
|
534
942
|
The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
|
|
535
|
-
"weekday-format"?: WarpDatepicker[
|
|
943
|
+
"weekday-format"?: WarpDatepicker["weekdayFormat"];
|
|
536
944
|
/** Decides the format of the weekday as shown above the grid of dates in the calendar.
|
|
537
945
|
|
|
538
946
|
The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
|
|
539
|
-
|
|
947
|
+
weekdayFormat?: WarpDatepicker["weekdayFormat"];
|
|
540
948
|
/** Decides the format of the day in the calendar as read to screen readers.
|
|
541
949
|
|
|
542
950
|
The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
|
|
543
|
-
"day-format"?: WarpDatepicker[
|
|
951
|
+
"day-format"?: WarpDatepicker["dayFormat"];
|
|
544
952
|
/** Decides the format of the day in the calendar as read to screen readers.
|
|
545
953
|
|
|
546
954
|
The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
|
|
547
|
-
|
|
955
|
+
dayFormat?: WarpDatepicker["dayFormat"];
|
|
548
956
|
/** Lets you control if a date in the calendar should be disabled.
|
|
549
957
|
|
|
550
958
|
This needs to be set on the element instance in JavaScript, not as an HTML attribute. */
|
|
551
|
-
|
|
959
|
+
isDayDisabled?: WarpDatepicker["isDayDisabled"];
|
|
552
960
|
/** */
|
|
553
|
-
|
|
961
|
+
isCalendarOpen?: WarpDatepicker["isCalendarOpen"];
|
|
554
962
|
/** */
|
|
555
|
-
|
|
963
|
+
navigationDate?: WarpDatepicker["navigationDate"];
|
|
556
964
|
/** */
|
|
557
|
-
|
|
965
|
+
calendar?: WarpDatepicker["calendar"];
|
|
558
966
|
/** */
|
|
559
|
-
|
|
967
|
+
input?: WarpDatepicker["input"];
|
|
560
968
|
/** */
|
|
561
|
-
|
|
969
|
+
toggleButton?: WarpDatepicker["toggleButton"];
|
|
562
970
|
/** */
|
|
563
|
-
|
|
971
|
+
wrapper?: WarpDatepicker["wrapper"];
|
|
564
972
|
/** This is the first focusable element, needed for the modal focus trap.
|
|
565
973
|
|
|
566
974
|
Don't cache this and other `@query` fields from inside the calendar modal.
|
|
567
975
|
They work the first time, but once the calendar is closed and reopened
|
|
568
976
|
the query will point to an element that doesn't exist anymore. */
|
|
569
|
-
|
|
977
|
+
previousMonthButton?: WarpDatepicker["previousMonthButton"];
|
|
570
978
|
/** */
|
|
571
|
-
|
|
979
|
+
todayCell?: WarpDatepicker["todayCell"];
|
|
572
980
|
/** */
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
}
|
|
577
|
-
|
|
981
|
+
selectedCell?: WarpDatepicker["selectedCell"];
|
|
982
|
+
};
|
|
578
983
|
|
|
579
|
-
export type
|
|
580
|
-
/** */
|
|
581
|
-
"name"?: WarpSwitch['name'];
|
|
984
|
+
export type WarpDatepickerSolidJsProps = {
|
|
582
985
|
/** */
|
|
583
|
-
"
|
|
986
|
+
"prop:label"?: WarpDatepicker["label"];
|
|
987
|
+
/** Takes precedence over the `<html>` lang attribute. */
|
|
988
|
+
"prop:lang"?: WarpDatepicker["lang"];
|
|
584
989
|
/** */
|
|
585
|
-
"
|
|
990
|
+
"prop:name"?: WarpDatepicker["name"];
|
|
586
991
|
/** */
|
|
587
|
-
"
|
|
992
|
+
"prop:value"?: WarpDatepicker["value"];
|
|
993
|
+
/** Decides the format of the date as shown in the calendar header.
|
|
588
994
|
|
|
589
|
-
|
|
590
|
-
"
|
|
591
|
-
|
|
995
|
+
The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
|
|
996
|
+
"attr:header-format"?: WarpDatepicker["headerFormat"];
|
|
997
|
+
/** Decides the format of the date as shown in the calendar header.
|
|
592
998
|
|
|
999
|
+
The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
|
|
1000
|
+
"prop:headerFormat"?: WarpDatepicker["headerFormat"];
|
|
1001
|
+
/** Decides the format of the weekday as shown above the grid of dates in the calendar.
|
|
593
1002
|
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
1003
|
+
The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
|
|
1004
|
+
"attr:weekday-format"?: WarpDatepicker["weekdayFormat"];
|
|
1005
|
+
/** Decides the format of the weekday as shown above the grid of dates in the calendar.
|
|
1006
|
+
|
|
1007
|
+
The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
|
|
1008
|
+
"prop:weekdayFormat"?: WarpDatepicker["weekdayFormat"];
|
|
1009
|
+
/** Decides the format of the day in the calendar as read to screen readers.
|
|
1010
|
+
|
|
1011
|
+
The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
|
|
1012
|
+
"attr:day-format"?: WarpDatepicker["dayFormat"];
|
|
1013
|
+
/** Decides the format of the day in the calendar as read to screen readers.
|
|
1014
|
+
|
|
1015
|
+
The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
|
|
1016
|
+
"prop:dayFormat"?: WarpDatepicker["dayFormat"];
|
|
1017
|
+
/** Lets you control if a date in the calendar should be disabled.
|
|
1018
|
+
|
|
1019
|
+
This needs to be set on the element instance in JavaScript, not as an HTML attribute. */
|
|
1020
|
+
"prop:isDayDisabled"?: WarpDatepicker["isDayDisabled"];
|
|
1021
|
+
/** */
|
|
1022
|
+
"prop:isCalendarOpen"?: WarpDatepicker["isCalendarOpen"];
|
|
1023
|
+
/** */
|
|
1024
|
+
"prop:navigationDate"?: WarpDatepicker["navigationDate"];
|
|
1025
|
+
/** */
|
|
1026
|
+
"prop:calendar"?: WarpDatepicker["calendar"];
|
|
1027
|
+
/** */
|
|
1028
|
+
"prop:input"?: WarpDatepicker["input"];
|
|
1029
|
+
/** */
|
|
1030
|
+
"prop:toggleButton"?: WarpDatepicker["toggleButton"];
|
|
1031
|
+
/** */
|
|
1032
|
+
"prop:wrapper"?: WarpDatepicker["wrapper"];
|
|
1033
|
+
/** This is the first focusable element, needed for the modal focus trap.
|
|
1034
|
+
|
|
1035
|
+
Don't cache this and other `@query` fields from inside the calendar modal.
|
|
1036
|
+
They work the first time, but once the calendar is closed and reopened
|
|
1037
|
+
the query will point to an element that doesn't exist anymore. */
|
|
1038
|
+
"prop:previousMonthButton"?: WarpDatepicker["previousMonthButton"];
|
|
1039
|
+
/** */
|
|
1040
|
+
"prop:todayCell"?: WarpDatepicker["todayCell"];
|
|
1041
|
+
/** */
|
|
1042
|
+
"prop:selectedCell"?: WarpDatepicker["selectedCell"];
|
|
1043
|
+
|
|
1044
|
+
/** Set the innerHTML of the element */
|
|
1045
|
+
innerHTML?: string;
|
|
1046
|
+
/** Set the textContent of the element */
|
|
1047
|
+
textContent?: string | number;
|
|
1048
|
+
};
|
|
1049
|
+
|
|
1050
|
+
export type WarpSwitchProps = {
|
|
1051
|
+
/** */
|
|
1052
|
+
name?: WarpSwitch["name"];
|
|
1053
|
+
/** */
|
|
1054
|
+
value?: WarpSwitch["value"];
|
|
1055
|
+
/** */
|
|
1056
|
+
checked?: WarpSwitch["checked"];
|
|
1057
|
+
/** */
|
|
1058
|
+
disabled?: WarpSwitch["disabled"];
|
|
1059
|
+
|
|
1060
|
+
/** */
|
|
1061
|
+
onchange?: (e: CustomEvent) => void;
|
|
1062
|
+
};
|
|
1063
|
+
|
|
1064
|
+
export type WarpSwitchSolidJsProps = {
|
|
1065
|
+
/** */
|
|
1066
|
+
"prop:name"?: WarpSwitch["name"];
|
|
1067
|
+
/** */
|
|
1068
|
+
"prop:value"?: WarpSwitch["value"];
|
|
1069
|
+
/** */
|
|
1070
|
+
"prop:checked"?: WarpSwitch["checked"];
|
|
1071
|
+
/** */
|
|
1072
|
+
"prop:disabled"?: WarpSwitch["disabled"];
|
|
1073
|
+
/** */
|
|
1074
|
+
"on:change"?: (e: CustomEvent) => void;
|
|
1075
|
+
|
|
1076
|
+
/** Set the innerHTML of the element */
|
|
1077
|
+
innerHTML?: string;
|
|
1078
|
+
/** Set the textContent of the element */
|
|
1079
|
+
textContent?: string | number;
|
|
1080
|
+
};
|
|
1081
|
+
|
|
1082
|
+
export type WarpComboboxProps = {
|
|
1083
|
+
/** The available options to select from */
|
|
1084
|
+
options?: WarpCombobox["options"];
|
|
1085
|
+
/** Label above input */
|
|
1086
|
+
label?: WarpCombobox["label"];
|
|
1087
|
+
/** Input placeholder */
|
|
1088
|
+
placeholder?: WarpCombobox["placeholder"];
|
|
1089
|
+
/** The input value */
|
|
1090
|
+
value?: WarpCombobox["value"];
|
|
1091
|
+
/** Whether the popover opens when focus is on the text field */
|
|
1092
|
+
"open-on-focus"?: WarpCombobox["openOnFocus"];
|
|
1093
|
+
/** Whether the popover opens when focus is on the text field */
|
|
1094
|
+
openOnFocus?: WarpCombobox["openOnFocus"];
|
|
1095
|
+
/** Select active option on blur */
|
|
1096
|
+
"select-on-blur"?: WarpCombobox["selectOnBlur"];
|
|
1097
|
+
/** Select active option on blur */
|
|
1098
|
+
selectOnBlur?: WarpCombobox["selectOnBlur"];
|
|
1099
|
+
/** Whether the matching text segments in the options should be highlighted */
|
|
1100
|
+
"match-text-segments"?: WarpCombobox["matchTextSegments"];
|
|
1101
|
+
/** Whether the matching text segments in the options should be highlighted */
|
|
1102
|
+
matchTextSegments?: WarpCombobox["matchTextSegments"];
|
|
1103
|
+
/** Disable client-side static filtering */
|
|
1104
|
+
"disable-static-filtering"?: WarpCombobox["disableStaticFiltering"];
|
|
1105
|
+
/** Disable client-side static filtering */
|
|
1106
|
+
disableStaticFiltering?: WarpCombobox["disableStaticFiltering"];
|
|
1107
|
+
/** Renders the input field in an invalid state */
|
|
1108
|
+
invalid?: WarpCombobox["invalid"];
|
|
1109
|
+
/** The content to display as the help text */
|
|
1110
|
+
"help-text"?: WarpCombobox["helpText"];
|
|
1111
|
+
/** The content to display as the help text */
|
|
1112
|
+
helpText?: WarpCombobox["helpText"];
|
|
1113
|
+
/** Whether the element is disabled */
|
|
1114
|
+
disabled?: WarpCombobox["disabled"];
|
|
1115
|
+
/** Whether the element is required */
|
|
1116
|
+
required?: WarpCombobox["required"];
|
|
1117
|
+
/** Whether to show optional text */
|
|
1118
|
+
optional?: WarpCombobox["optional"];
|
|
1119
|
+
/** Name attribute for form submission */
|
|
1120
|
+
name?: WarpCombobox["name"];
|
|
1121
|
+
/** Autocomplete attribute for the input field */
|
|
1122
|
+
autocomplete?: WarpCombobox["autocomplete"];
|
|
1123
|
+
};
|
|
1124
|
+
|
|
1125
|
+
export type WarpComboboxSolidJsProps = {
|
|
1126
|
+
/** The available options to select from */
|
|
1127
|
+
"prop:options"?: WarpCombobox["options"];
|
|
1128
|
+
/** Label above input */
|
|
1129
|
+
"prop:label"?: WarpCombobox["label"];
|
|
1130
|
+
/** Input placeholder */
|
|
1131
|
+
"prop:placeholder"?: WarpCombobox["placeholder"];
|
|
1132
|
+
/** The input value */
|
|
1133
|
+
"prop:value"?: WarpCombobox["value"];
|
|
1134
|
+
/** Whether the popover opens when focus is on the text field */
|
|
1135
|
+
"bool:open-on-focus"?: WarpCombobox["openOnFocus"];
|
|
605
1136
|
/** Whether the popover opens when focus is on the text field */
|
|
606
|
-
"openOnFocus"?: WarpCombobox[
|
|
1137
|
+
"prop:openOnFocus"?: WarpCombobox["openOnFocus"];
|
|
607
1138
|
/** Select active option on blur */
|
|
608
|
-
"select-on-blur"?: WarpCombobox[
|
|
1139
|
+
"bool:select-on-blur"?: WarpCombobox["selectOnBlur"];
|
|
609
1140
|
/** Select active option on blur */
|
|
610
|
-
"selectOnBlur"?: WarpCombobox[
|
|
1141
|
+
"prop:selectOnBlur"?: WarpCombobox["selectOnBlur"];
|
|
611
1142
|
/** Whether the matching text segments in the options should be highlighted */
|
|
612
|
-
"match-text-segments"?: WarpCombobox[
|
|
1143
|
+
"bool:match-text-segments"?: WarpCombobox["matchTextSegments"];
|
|
613
1144
|
/** Whether the matching text segments in the options should be highlighted */
|
|
614
|
-
"matchTextSegments"?: WarpCombobox[
|
|
1145
|
+
"prop:matchTextSegments"?: WarpCombobox["matchTextSegments"];
|
|
615
1146
|
/** Disable client-side static filtering */
|
|
616
|
-
"disable-static-filtering"?: WarpCombobox[
|
|
1147
|
+
"bool:disable-static-filtering"?: WarpCombobox["disableStaticFiltering"];
|
|
617
1148
|
/** Disable client-side static filtering */
|
|
618
|
-
"disableStaticFiltering"?: WarpCombobox[
|
|
1149
|
+
"prop:disableStaticFiltering"?: WarpCombobox["disableStaticFiltering"];
|
|
619
1150
|
/** Renders the input field in an invalid state */
|
|
620
|
-
"invalid"?: WarpCombobox[
|
|
1151
|
+
"prop:invalid"?: WarpCombobox["invalid"];
|
|
621
1152
|
/** The content to display as the help text */
|
|
622
|
-
"help-text"?: WarpCombobox[
|
|
1153
|
+
"attr:help-text"?: WarpCombobox["helpText"];
|
|
623
1154
|
/** The content to display as the help text */
|
|
624
|
-
"helpText"?: WarpCombobox[
|
|
1155
|
+
"prop:helpText"?: WarpCombobox["helpText"];
|
|
625
1156
|
/** Whether the element is disabled */
|
|
626
|
-
"disabled"?: WarpCombobox[
|
|
1157
|
+
"prop:disabled"?: WarpCombobox["disabled"];
|
|
627
1158
|
/** Whether the element is required */
|
|
628
|
-
"required"?: WarpCombobox[
|
|
1159
|
+
"prop:required"?: WarpCombobox["required"];
|
|
629
1160
|
/** Whether to show optional text */
|
|
630
|
-
"optional"?: WarpCombobox[
|
|
1161
|
+
"prop:optional"?: WarpCombobox["optional"];
|
|
631
1162
|
/** Name attribute for form submission */
|
|
632
|
-
"name"?: WarpCombobox[
|
|
1163
|
+
"prop:name"?: WarpCombobox["name"];
|
|
633
1164
|
/** Autocomplete attribute for the input field */
|
|
634
|
-
"autocomplete"?: WarpCombobox[
|
|
1165
|
+
"prop:autocomplete"?: WarpCombobox["autocomplete"];
|
|
635
1166
|
|
|
1167
|
+
/** Set the innerHTML of the element */
|
|
1168
|
+
innerHTML?: string;
|
|
1169
|
+
/** Set the textContent of the element */
|
|
1170
|
+
textContent?: string | number;
|
|
1171
|
+
};
|
|
636
1172
|
|
|
637
|
-
|
|
1173
|
+
export type WarpDeadToggleProps = {
|
|
1174
|
+
/** */
|
|
1175
|
+
type?: WarpDeadToggle["type"];
|
|
1176
|
+
/** */
|
|
1177
|
+
checked?: WarpDeadToggle["checked"];
|
|
1178
|
+
/** */
|
|
1179
|
+
indeterminate?: WarpDeadToggle["indeterminate"];
|
|
1180
|
+
/** */
|
|
1181
|
+
invalid?: WarpDeadToggle["invalid"];
|
|
1182
|
+
/** */
|
|
1183
|
+
disabled?: WarpDeadToggle["disabled"];
|
|
1184
|
+
};
|
|
638
1185
|
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
/**
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
*
|
|
651
|
-
* - `aria-label`/`ariaLabel`: undefined
|
|
652
|
-
* - `clear`: Add this property to render a clickable Warp close icon.
|
|
653
|
-
*
|
|
654
|
-
* Set an `aria-label` that explains the action when using this.
|
|
655
|
-
* - `search`: Add this property to render a clickable Warp search icon.
|
|
656
|
-
*
|
|
657
|
-
* Set an `aria-label` that explains the action when using this.
|
|
658
|
-
* - `label`: undefined
|
|
659
|
-
*/
|
|
660
|
-
"w-affix": Partial<WarpAffixProps & BaseProps<WarpAffix> & BaseEvents>;
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
/**
|
|
664
|
-
* Alert is an inline component used for displaying different types of messages.
|
|
665
|
-
*
|
|
666
|
-
* For accessibility reasons, alert should appear close to the element that triggered it.
|
|
667
|
-
*
|
|
668
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/feedback-alert--docs)
|
|
669
|
-
*
|
|
670
|
-
* ## Attributes & Properties
|
|
671
|
-
*
|
|
672
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
673
|
-
*
|
|
674
|
-
* - `variant`: undefined
|
|
675
|
-
* - `show`: undefined
|
|
676
|
-
* - `role`: undefined
|
|
677
|
-
*/
|
|
678
|
-
"w-alert": Partial<WarpAlertProps & BaseProps<WarpAlert> & BaseEvents>;
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
/**
|
|
682
|
-
* Buttons are used to perform actions, with different visuals for different needs.
|
|
683
|
-
*
|
|
684
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-link--docs)
|
|
685
|
-
*
|
|
686
|
-
* ## Attributes & Properties
|
|
687
|
-
*
|
|
688
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
689
|
-
*
|
|
690
|
-
* - `autofocus`: undefined
|
|
691
|
-
* - `variant`: undefined
|
|
692
|
-
* - `small`: undefined
|
|
693
|
-
* - `href`: undefined
|
|
694
|
-
* - `disabled`: undefined
|
|
695
|
-
* - `target`: undefined
|
|
696
|
-
* - `rel`: undefined
|
|
697
|
-
* - `full-width`/`fullWidth`: undefined
|
|
698
|
-
*/
|
|
699
|
-
"w-link": Partial<WarpLinkProps & BaseProps<WarpLink> & BaseEvents>;
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
/**
|
|
703
|
-
* Buttons are used to perform actions, widh different visuals for different needs.
|
|
704
|
-
*
|
|
705
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-button--docs)
|
|
706
|
-
*
|
|
707
|
-
* ## Attributes & Properties
|
|
708
|
-
*
|
|
709
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
710
|
-
*
|
|
711
|
-
* - `type`: undefined
|
|
712
|
-
* - `autofocus`: undefined
|
|
713
|
-
* - `variant`: undefined
|
|
714
|
-
* - `quiet`: undefined
|
|
715
|
-
* - `small`: undefined
|
|
716
|
-
* - `loading`: undefined
|
|
717
|
-
* - `href`: undefined
|
|
718
|
-
* - `target`: undefined
|
|
719
|
-
* - `rel`: undefined
|
|
720
|
-
* - `full-width`/`fullWidth`: undefined
|
|
721
|
-
* - `button-class`/`buttonClass`: undefined
|
|
722
|
-
* - `name`: undefined
|
|
723
|
-
* - `value`: undefined
|
|
724
|
-
* - `ariaValueTextLoading`: undefined (property only)
|
|
725
|
-
*
|
|
726
|
-
* ## Methods
|
|
727
|
-
*
|
|
728
|
-
* Methods that can be called to access component functionality.
|
|
729
|
-
*
|
|
730
|
-
* - `resetFormControl() => void`: undefined
|
|
731
|
-
*/
|
|
732
|
-
"w-button": Partial<WarpButtonProps & BaseProps<WarpButton> & BaseEvents>;
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
/**
|
|
736
|
-
*
|
|
737
|
-
*
|
|
738
|
-
* ## Attributes & Properties
|
|
739
|
-
*
|
|
740
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
741
|
-
*
|
|
742
|
-
* - `show`: undefined
|
|
743
|
-
* - `placement`: undefined
|
|
744
|
-
* - `tooltip`: undefined
|
|
745
|
-
* - `callout`: undefined
|
|
746
|
-
* - `popover`: undefined
|
|
747
|
-
* - `highlight`: undefined
|
|
748
|
-
* - `can-close`/`canClose`: undefined
|
|
749
|
-
* - `no-arrow`/`noArrow`: undefined
|
|
750
|
-
* - `distance`: undefined
|
|
751
|
-
* - `skidding`: undefined
|
|
752
|
-
* - `flip`: undefined
|
|
753
|
-
* - `cross-axis`/`crossAxis`: undefined
|
|
754
|
-
* - `fallback-placements`/`fallbackPlacements`: undefined
|
|
755
|
-
* - `_initialPlacement`: undefined (property only)
|
|
756
|
-
* - `_actualDirection`: undefined (property only)
|
|
757
|
-
*
|
|
758
|
-
* ## Methods
|
|
759
|
-
*
|
|
760
|
-
* Methods that can be called to access component functionality.
|
|
761
|
-
*
|
|
762
|
-
* - `handleDone() => void`: undefined
|
|
763
|
-
* - `pointingAtDirection() => void`: undefined
|
|
764
|
-
* - `activeAttentionType() => void`: undefined
|
|
765
|
-
* - `defaultAriaLabel() => void`: undefined
|
|
766
|
-
* - `setAriaLabels() => void`: undefined
|
|
767
|
-
* - `close() => void`: undefined
|
|
768
|
-
* - `keypressed(e: KeyboardEvent) => void`: undefined
|
|
769
|
-
*/
|
|
770
|
-
"w-attention": Partial<WarpAttentionProps & BaseProps<WarpAttention> & BaseEvents>;
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
/**
|
|
774
|
-
* `w-badge` is used for showing a small amount of non-interactive color-categorized metadata, like a status or count.
|
|
775
|
-
*
|
|
776
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-badge--docs)
|
|
777
|
-
*
|
|
778
|
-
* ## Attributes & Properties
|
|
779
|
-
*
|
|
780
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
781
|
-
*
|
|
782
|
-
* - `variant`: undefined
|
|
783
|
-
* - `position`: undefined
|
|
784
|
-
*/
|
|
785
|
-
"w-badge": Partial<WarpBadgeProps & BaseProps<WarpBadge> & BaseEvents>;
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
/**
|
|
789
|
-
* Box is a layout component used for separating content areas on a page.
|
|
790
|
-
*
|
|
791
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-box--docs)
|
|
792
|
-
*
|
|
793
|
-
* ## Attributes & Properties
|
|
794
|
-
*
|
|
795
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
796
|
-
*
|
|
797
|
-
* - `bleed`: undefined
|
|
798
|
-
* - `bordered`: undefined
|
|
799
|
-
* - `info`: undefined
|
|
800
|
-
* - `neutral`: undefined
|
|
801
|
-
* - `role`: undefined
|
|
802
|
-
*/
|
|
803
|
-
"w-box": Partial<WarpBoxProps & BaseProps<WarpBox> & BaseEvents>;
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
/**
|
|
807
|
-
* Breadcrumbs show the navigation structure for the current location.
|
|
808
|
-
*
|
|
809
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-breadcrumbs--docs)
|
|
810
|
-
*
|
|
811
|
-
* ## Attributes & Properties
|
|
812
|
-
*
|
|
813
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
814
|
-
*
|
|
815
|
-
* - `aria-label`/`ariaLabel`: undefined
|
|
816
|
-
*/
|
|
817
|
-
"w-breadcrumbs": Partial<WarpBreadcrumbsProps & BaseProps<WarpBreadcrumbs> & BaseEvents>;
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
/**
|
|
821
|
-
* Card is a layout component used for separating content areas on a page.
|
|
822
|
-
*
|
|
823
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-card--docs)
|
|
824
|
-
*
|
|
825
|
-
* ## Attributes & Properties
|
|
826
|
-
*
|
|
827
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
828
|
-
*
|
|
829
|
-
* - `selected`: undefined
|
|
830
|
-
* - `flat`: undefined
|
|
831
|
-
* - `clickable`: undefined
|
|
832
|
-
* - `buttonText`: undefined (property only)
|
|
833
|
-
*
|
|
834
|
-
* ## Methods
|
|
835
|
-
*
|
|
836
|
-
* Methods that can be called to access component functionality.
|
|
837
|
-
*
|
|
838
|
-
* - `keypressed(e: KeyboardEvent) => void`: undefined
|
|
839
|
-
*/
|
|
840
|
-
"w-card": Partial<WarpCardProps & BaseProps<WarpCard> & BaseEvents>;
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
/**
|
|
844
|
-
* Expandable is a layout component used for creating expandable content areas on a page.
|
|
845
|
-
*
|
|
846
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-expandable--docs)
|
|
847
|
-
*
|
|
848
|
-
* ## Attributes & Properties
|
|
849
|
-
*
|
|
850
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
851
|
-
*
|
|
852
|
-
* - `expanded`: undefined
|
|
853
|
-
* - `title`: undefined
|
|
854
|
-
* - `box`: undefined
|
|
855
|
-
* - `bleed`: undefined
|
|
856
|
-
* - `button-class`/`buttonClass`: undefined
|
|
857
|
-
* - `content-class`/`contentClass`: undefined
|
|
858
|
-
* - `no-chevron`/`noChevron`: undefined
|
|
859
|
-
* - `animated`: undefined
|
|
860
|
-
* - `heading-level`/`headingLevel`: undefined
|
|
861
|
-
* - `_hasTitle`: undefined
|
|
862
|
-
* - `_showChevronUp`: undefined
|
|
863
|
-
*
|
|
864
|
-
* ## Slots
|
|
865
|
-
*
|
|
866
|
-
* Areas where markup can be added to the component.
|
|
867
|
-
*
|
|
868
|
-
* - `title`: Alternative to the `title` attribute should you need to provide some additional markup.
|
|
869
|
-
*/
|
|
870
|
-
"w-expandable": Partial<WarpExpandableProps & BaseProps<WarpExpandable> & BaseEvents>;
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
/**
|
|
874
|
-
* 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.
|
|
875
|
-
*
|
|
876
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-pill--docs)
|
|
877
|
-
*
|
|
878
|
-
* ## Attributes & Properties
|
|
879
|
-
*
|
|
880
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
881
|
-
*
|
|
882
|
-
* - `can-close`/`canClose`: undefined
|
|
883
|
-
* - `suggestion`: undefined
|
|
884
|
-
* - `open-sr-label`/`openSrLabel`: undefined
|
|
885
|
-
* - `open-aria-label`/`openAriaLabel`: undefined
|
|
886
|
-
* - `close-sr-label`/`closeSrLabel`: undefined
|
|
887
|
-
* - `close-aria-label`/`closeAriaLabel`: undefined
|
|
888
|
-
* - `openFilterSrText`: undefined (property only)
|
|
889
|
-
* - `removeFilterSrText`: undefined (property only)
|
|
890
|
-
*
|
|
891
|
-
* ## Events
|
|
892
|
-
*
|
|
893
|
-
* Events that will be emitted by the component.
|
|
894
|
-
*
|
|
895
|
-
* - `w-pill-click`: undefined
|
|
896
|
-
* - `w-pill-close`: undefined
|
|
897
|
-
*/
|
|
898
|
-
"w-pill": Partial<WarpPillProps & BaseProps<WarpPill> & BaseEvents>;
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
/**
|
|
902
|
-
* A dropdown component for selecting a single value.
|
|
903
|
-
*
|
|
904
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-select--docs)
|
|
905
|
-
*
|
|
906
|
-
* ## Attributes & Properties
|
|
907
|
-
*
|
|
908
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
909
|
-
*
|
|
910
|
-
* - `auto-focus`/`autoFocus`: Whether the element should receive focus on render.
|
|
911
|
-
* - `autofocus`: Whether the element should receive focus on render
|
|
912
|
-
* - `help-text`/`helpText`: The content displayed as the help text. Paired with `invalid` to show the text as a validation error.
|
|
913
|
-
* - `invalid`: Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error.
|
|
914
|
-
* - `always`: Whether to always show a hint.
|
|
915
|
-
* - `hint`: The content displayed as the help text.
|
|
916
|
-
* - `label`: The content to disply as the label
|
|
917
|
-
* - `optional`: Whether to show optional text
|
|
918
|
-
* - `disabled`: Renders the field in a disabled state.
|
|
919
|
-
* - `read-only`/`readOnly`: Renders the field in a readonly state.
|
|
920
|
-
* - `readonly`: Renders the field in a readonly state.
|
|
921
|
-
* - `name`: undefined
|
|
922
|
-
* - `value`: undefined
|
|
923
|
-
*
|
|
924
|
-
* ## Methods
|
|
925
|
-
*
|
|
926
|
-
* Methods that can be called to access component functionality.
|
|
927
|
-
*
|
|
928
|
-
* - `resetFormControl() => void`: undefined
|
|
929
|
-
* - `handleKeyDown(event: KeyboardEvent) => void`: undefined
|
|
930
|
-
* - `onChange({ target }) => void`: undefined
|
|
931
|
-
*/
|
|
932
|
-
"w-select": Partial<WarpSelectProps & BaseProps<WarpSelect> & BaseEvents>;
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
/**
|
|
936
|
-
* A single line text input element.
|
|
937
|
-
*
|
|
938
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)
|
|
939
|
-
*
|
|
940
|
-
* ## Attributes & Properties
|
|
941
|
-
*
|
|
942
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
943
|
-
*
|
|
944
|
-
* - `disabled`: undefined
|
|
945
|
-
* - `invalid`: undefined
|
|
946
|
-
* - `id`: undefined
|
|
947
|
-
* - `label`: undefined
|
|
948
|
-
* - `help-text`/`helpText`: undefined
|
|
949
|
-
* - `size`: undefined
|
|
950
|
-
* - `max`: undefined
|
|
951
|
-
* - `min`: undefined
|
|
952
|
-
* - `min-length`/`minLength`: undefined
|
|
953
|
-
* - `max-length`/`maxLength`: undefined
|
|
954
|
-
* - `pattern`: undefined
|
|
955
|
-
* - `placeholder`: undefined
|
|
956
|
-
* - `read-only`/`readOnly`: undefined
|
|
957
|
-
* - `readonly`: undefined
|
|
958
|
-
* - `required`: undefined
|
|
959
|
-
* - `type`: undefined
|
|
960
|
-
* - `value`: undefined
|
|
961
|
-
* - `name`: undefined
|
|
962
|
-
* - `step`: undefined
|
|
963
|
-
* - `autocomplete`: undefined
|
|
964
|
-
* - `formatter`: Function to format value when the input field.
|
|
965
|
-
*
|
|
966
|
-
* Only active when the input field does not have focus,
|
|
967
|
-
* similar to the accessible input masking example from Filament Group
|
|
968
|
-
*
|
|
969
|
-
* https://css-tricks.com/input-masking/
|
|
970
|
-
* https://filamentgroup.github.io/politespace/demo/demo.html (property only)
|
|
971
|
-
*
|
|
972
|
-
* ## Methods
|
|
973
|
-
*
|
|
974
|
-
* Methods that can be called to access component functionality.
|
|
975
|
-
*
|
|
976
|
-
* - `resetFormControl() => void`: undefined
|
|
977
|
-
* - `handler(e: Event) => void`: undefined
|
|
978
|
-
* - `prefixSlotChange() => void`: undefined
|
|
979
|
-
* - `suffixSlotChange() => void`: undefined
|
|
980
|
-
*/
|
|
981
|
-
"w-textfield": Partial<WarpTextFieldProps & BaseProps<WarpTextField> & BaseEvents>;
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
/**
|
|
985
|
-
* The footer section of a modal, typically where you place actions.
|
|
986
|
-
*
|
|
987
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
|
|
988
|
-
*/
|
|
989
|
-
"w-modal-footer": Partial<ModalFooterProps & BaseProps<ModalFooter> & BaseEvents>;
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
/**
|
|
993
|
-
* The header section of a modal, typically where you place the title and a close button.
|
|
994
|
-
*
|
|
995
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
|
|
996
|
-
*
|
|
997
|
-
* ## Attributes & Properties
|
|
998
|
-
*
|
|
999
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1000
|
-
*
|
|
1001
|
-
* - `title`: undefined
|
|
1002
|
-
* - `back`: undefined
|
|
1003
|
-
* - `no-close`/`noClose`: undefined
|
|
1004
|
-
* - `titleEl`: undefined (property only)
|
|
1005
|
-
* - `titleClasses`: undefined (property only) (readonly)
|
|
1006
|
-
* - `backButton`: undefined (property only) (readonly)
|
|
1007
|
-
* - `closeButton`: undefined (property only) (readonly)
|
|
1008
|
-
*
|
|
1009
|
-
* ## Events
|
|
1010
|
-
*
|
|
1011
|
-
* Events that will be emitted by the component.
|
|
1012
|
-
*
|
|
1013
|
-
* - `backClicked`: undefined
|
|
1014
|
-
*
|
|
1015
|
-
* ## Slots
|
|
1016
|
-
*
|
|
1017
|
-
* Areas where markup can be added to the component.
|
|
1018
|
-
*
|
|
1019
|
-
* - `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.
|
|
1020
|
-
*
|
|
1021
|
-
* ## Methods
|
|
1022
|
-
*
|
|
1023
|
-
* Methods that can be called to access component functionality.
|
|
1024
|
-
*
|
|
1025
|
-
* - `emitBack() => void`: undefined
|
|
1026
|
-
* - `handleTopSlotChange(slotEvent) => void`: undefined
|
|
1027
|
-
*/
|
|
1028
|
-
"w-modal-header": Partial<ModalHeaderProps & BaseProps<ModalHeader> & BaseEvents>;
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
/**
|
|
1032
|
-
* Modals (or dialogs) display important information that users need to acknowledge.
|
|
1033
|
-
*
|
|
1034
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
|
|
1035
|
-
*
|
|
1036
|
-
* ## Attributes & Properties
|
|
1037
|
-
*
|
|
1038
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1039
|
-
*
|
|
1040
|
-
* - `show`: undefined
|
|
1041
|
-
* - `content-id`/`contentId`: undefined
|
|
1042
|
-
* - `ignore-backdrop-clicks`/`ignoreBackdropClicks`: undefined
|
|
1043
|
-
* - `dialogEl`: undefined (property only)
|
|
1044
|
-
* - `dialogInnerEl`: undefined (property only)
|
|
1045
|
-
* - `contentEl`: undefined (property only)
|
|
1046
|
-
*
|
|
1047
|
-
* ## Events
|
|
1048
|
-
*
|
|
1049
|
-
* Events that will be emitted by the component.
|
|
1050
|
-
*
|
|
1051
|
-
* - `shown`: undefined
|
|
1052
|
-
* - `hidden`: undefined
|
|
1053
|
-
*
|
|
1054
|
-
* ## Slots
|
|
1055
|
-
*
|
|
1056
|
-
* Areas where markup can be added to the component.
|
|
1057
|
-
*
|
|
1058
|
-
* - `header`: Typically where you would use the `w-modal-header` component.
|
|
1059
|
-
* - `content`: The main content of the modal.
|
|
1060
|
-
* - `footer`: Typically where you would use the `w-modal-footer` component, for things like actions.
|
|
1061
|
-
*
|
|
1062
|
-
* ## Methods
|
|
1063
|
-
*
|
|
1064
|
-
* Methods that can be called to access component functionality.
|
|
1065
|
-
*
|
|
1066
|
-
* - `open() => void`: undefined
|
|
1067
|
-
* - `close() => void`: undefined
|
|
1068
|
-
* - `handleListeners(verb = 'addEventListener') => void`: undefined
|
|
1069
|
-
* - `eventPreventer(evt: Event) => void`: undefined
|
|
1070
|
-
* - `closeOnBackdropClick(evt: MouseEvent) => void`: undefined
|
|
1071
|
-
* - `interceptEscape(evt: KeyboardEvent) => void`: undefined
|
|
1072
|
-
* - `modifyBorderRadius() => void`: undefined
|
|
1073
|
-
*/
|
|
1074
|
-
"w-modal": Partial<ModalMainProps & BaseProps<ModalMain> & BaseEvents>;
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
/**
|
|
1078
|
-
*
|
|
1079
|
-
*
|
|
1080
|
-
* ## Methods
|
|
1081
|
-
*
|
|
1082
|
-
* Methods that can be called to access component functionality.
|
|
1083
|
-
*
|
|
1084
|
-
* - `init() => void`: undefined
|
|
1085
|
-
* - `get(id: string | number) => ToastInternal | undefined`: undefined
|
|
1086
|
-
* - `set(toast: ToastOptions) => Map<string | number, ToastInternal>`: undefined
|
|
1087
|
-
* - `del(id: string | number) => Promise<boolean>`: undefined
|
|
1088
|
-
*/
|
|
1089
|
-
"w-toast-container": Partial<WarpToastContainerProps & BaseProps<WarpToastContainer> & BaseEvents>;
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
/**
|
|
1093
|
-
* An input for dates.
|
|
1094
|
-
*
|
|
1095
|
-
* Uses the `lang` attribute on either the element or on `<html>` to determine the locale options.
|
|
1096
|
-
*
|
|
1097
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-datepicker--docs)
|
|
1098
|
-
*
|
|
1099
|
-
* ## Attributes & Properties
|
|
1100
|
-
*
|
|
1101
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1102
|
-
*
|
|
1103
|
-
* - `label`: undefined
|
|
1104
|
-
* - `lang`: Takes precedence over the `<html>` lang attribute.
|
|
1105
|
-
* - `name`: undefined
|
|
1106
|
-
* - `value`: undefined
|
|
1107
|
-
* - `header-format`/`headerFormat`: Decides the format of the date as shown in the calendar header.
|
|
1108
|
-
*
|
|
1109
|
-
* The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
|
|
1110
|
-
* - `weekday-format`/`weekdayFormat`: Decides the format of the weekday as shown above the grid of dates in the calendar.
|
|
1111
|
-
*
|
|
1112
|
-
* The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
|
|
1113
|
-
* - `day-format`/`dayFormat`: Decides the format of the day in the calendar as read to screen readers.
|
|
1114
|
-
*
|
|
1115
|
-
* The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
|
|
1116
|
-
* - `isDayDisabled`: Lets you control if a date in the calendar should be disabled.
|
|
1117
|
-
*
|
|
1118
|
-
* This needs to be set on the element instance in JavaScript, not as an HTML attribute. (property only)
|
|
1119
|
-
* - `isCalendarOpen`: undefined (property only)
|
|
1120
|
-
* - `navigationDate`: undefined (property only)
|
|
1121
|
-
* - `selectedDate`: undefined (property only) (readonly)
|
|
1122
|
-
* - `month`: undefined (property only) (readonly)
|
|
1123
|
-
* - `weeks`: undefined (property only) (readonly)
|
|
1124
|
-
* - `calendar`: undefined (property only)
|
|
1125
|
-
* - `input`: undefined (property only)
|
|
1126
|
-
* - `toggleButton`: undefined (property only)
|
|
1127
|
-
* - `wrapper`: undefined (property only)
|
|
1128
|
-
* - `previousMonthButton`: This is the first focusable element, needed for the modal focus trap.
|
|
1129
|
-
*
|
|
1130
|
-
* Don't cache this and other `@query` fields from inside the calendar modal.
|
|
1131
|
-
* They work the first time, but once the calendar is closed and reopened
|
|
1132
|
-
* the query will point to an element that doesn't exist anymore. (property only)
|
|
1133
|
-
* - `todayCell`: undefined (property only)
|
|
1134
|
-
* - `selectedCell`: undefined (property only)
|
|
1135
|
-
*
|
|
1136
|
-
* ## Methods
|
|
1137
|
-
*
|
|
1138
|
-
* Methods that can be called to access component functionality.
|
|
1139
|
-
*
|
|
1140
|
-
* - `resetFormControl() => void`: undefined
|
|
1141
|
-
*/
|
|
1142
|
-
"w-datepicker": Partial<WarpDatepickerProps & BaseProps<WarpDatepicker> & BaseEvents>;
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
/**
|
|
1146
|
-
*
|
|
1147
|
-
*
|
|
1148
|
-
* ## Attributes & Properties
|
|
1149
|
-
*
|
|
1150
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1151
|
-
*
|
|
1152
|
-
* - `name`: undefined
|
|
1153
|
-
* - `value`: undefined
|
|
1154
|
-
* - `checked`: undefined
|
|
1155
|
-
* - `disabled`: undefined
|
|
1156
|
-
*
|
|
1157
|
-
* ## Events
|
|
1158
|
-
*
|
|
1159
|
-
* Events that will be emitted by the component.
|
|
1160
|
-
*
|
|
1161
|
-
* - `change`: undefined
|
|
1162
|
-
*
|
|
1163
|
-
* ## Methods
|
|
1164
|
-
*
|
|
1165
|
-
* Methods that can be called to access component functionality.
|
|
1166
|
-
*
|
|
1167
|
-
* - `resetFormControl() => void`: undefined
|
|
1168
|
-
*/
|
|
1169
|
-
"w-switch": Partial<WarpSwitchProps & BaseProps<WarpSwitch> & BaseEvents>;
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
/**
|
|
1173
|
-
* A combobox element for text input with selectable options.
|
|
1174
|
-
*
|
|
1175
|
-
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-combobox--docs)
|
|
1176
|
-
*
|
|
1177
|
-
* ## Attributes & Properties
|
|
1178
|
-
*
|
|
1179
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1180
|
-
*
|
|
1181
|
-
* - `options`: The available options to select from
|
|
1182
|
-
* - `label`: Label above input
|
|
1183
|
-
* - `placeholder`: Input placeholder
|
|
1184
|
-
* - `value`: The input value
|
|
1185
|
-
* - `open-on-focus`/`openOnFocus`: Whether the popover opens when focus is on the text field
|
|
1186
|
-
* - `select-on-blur`/`selectOnBlur`: Select active option on blur
|
|
1187
|
-
* - `match-text-segments`/`matchTextSegments`: Whether the matching text segments in the options should be highlighted
|
|
1188
|
-
* - `disable-static-filtering`/`disableStaticFiltering`: Disable client-side static filtering
|
|
1189
|
-
* - `invalid`: Renders the input field in an invalid state
|
|
1190
|
-
* - `help-text`/`helpText`: The content to display as the help text
|
|
1191
|
-
* - `disabled`: Whether the element is disabled
|
|
1192
|
-
* - `required`: Whether the element is required
|
|
1193
|
-
* - `optional`: Whether to show optional text
|
|
1194
|
-
* - `name`: Name attribute for form submission
|
|
1195
|
-
* - `autocomplete`: Autocomplete attribute for the input field
|
|
1196
|
-
*
|
|
1197
|
-
* ## Methods
|
|
1198
|
-
*
|
|
1199
|
-
* Methods that can be called to access component functionality.
|
|
1200
|
-
*
|
|
1201
|
-
* - `resetFormControl() => void`: undefined
|
|
1202
|
-
*/
|
|
1203
|
-
"w-combobox": Partial<WarpComboboxProps & BaseProps<WarpCombobox> & BaseEvents>;
|
|
1204
|
-
}
|
|
1186
|
+
export type WarpDeadToggleSolidJsProps = {
|
|
1187
|
+
/** */
|
|
1188
|
+
"prop:type"?: WarpDeadToggle["type"];
|
|
1189
|
+
/** */
|
|
1190
|
+
"prop:checked"?: WarpDeadToggle["checked"];
|
|
1191
|
+
/** */
|
|
1192
|
+
"prop:indeterminate"?: WarpDeadToggle["indeterminate"];
|
|
1193
|
+
/** */
|
|
1194
|
+
"prop:invalid"?: WarpDeadToggle["invalid"];
|
|
1195
|
+
/** */
|
|
1196
|
+
"prop:disabled"?: WarpDeadToggle["disabled"];
|
|
1205
1197
|
|
|
1206
|
-
|
|
1198
|
+
/** Set the innerHTML of the element */
|
|
1199
|
+
innerHTML?: string;
|
|
1200
|
+
/** Set the textContent of the element */
|
|
1201
|
+
textContent?: string | number;
|
|
1202
|
+
};
|
|
1207
1203
|
|
|
1208
|
-
|
|
1204
|
+
export type WarpPageIndicatorProps = {
|
|
1205
|
+
/** Currently selected page (1-based index, clamped to valid range) */
|
|
1206
|
+
"selected-page"?: WarpPageIndicator["selectedPage"];
|
|
1207
|
+
/** Currently selected page (1-based index, clamped to valid range) */
|
|
1208
|
+
selectedPage?: WarpPageIndicator["selectedPage"];
|
|
1209
|
+
/** Total number of pages (minimum 1) */
|
|
1210
|
+
"page-count"?: WarpPageIndicator["pageCount"];
|
|
1211
|
+
/** Total number of pages (minimum 1) */
|
|
1212
|
+
pageCount?: WarpPageIndicator["pageCount"];
|
|
1213
|
+
};
|
|
1214
|
+
|
|
1215
|
+
export type WarpPageIndicatorSolidJsProps = {
|
|
1216
|
+
/** Currently selected page (1-based index, clamped to valid range) */
|
|
1217
|
+
"attr:selected-page"?: WarpPageIndicator["selectedPage"];
|
|
1218
|
+
/** Currently selected page (1-based index, clamped to valid range) */
|
|
1219
|
+
"prop:selectedPage"?: WarpPageIndicator["selectedPage"];
|
|
1220
|
+
/** Total number of pages (minimum 1) */
|
|
1221
|
+
"attr:page-count"?: WarpPageIndicator["pageCount"];
|
|
1222
|
+
/** Total number of pages (minimum 1) */
|
|
1223
|
+
"prop:pageCount"?: WarpPageIndicator["pageCount"];
|
|
1224
|
+
|
|
1225
|
+
/** Set the innerHTML of the element */
|
|
1226
|
+
innerHTML?: string;
|
|
1227
|
+
/** Set the textContent of the element */
|
|
1228
|
+
textContent?: string | number;
|
|
1229
|
+
};
|
|
1209
1230
|
|
|
1231
|
+
export type WarpPaginationProps = {
|
|
1232
|
+
/** */
|
|
1233
|
+
"base-url"?: WarpPagination["baseUrl"];
|
|
1234
|
+
/** */
|
|
1235
|
+
baseUrl?: WarpPagination["baseUrl"];
|
|
1236
|
+
/** */
|
|
1237
|
+
pages?: WarpPagination["pages"];
|
|
1238
|
+
/** */
|
|
1239
|
+
"current-page"?: WarpPagination["currentPageNumber"];
|
|
1240
|
+
/** */
|
|
1241
|
+
currentPageNumber?: WarpPagination["currentPageNumber"];
|
|
1242
|
+
/** */
|
|
1243
|
+
"visible-pages"?: WarpPagination["visiblePages"];
|
|
1244
|
+
/** */
|
|
1245
|
+
visiblePages?: WarpPagination["visiblePages"];
|
|
1246
|
+
|
|
1247
|
+
/** Triggered when a link button in the pagination is clicked. Contains the page number in `string` form. */
|
|
1248
|
+
"onpage-click"?: (e: CustomEvent) => void;
|
|
1249
|
+
};
|
|
1250
|
+
|
|
1251
|
+
export type WarpPaginationSolidJsProps = {
|
|
1252
|
+
/** */
|
|
1253
|
+
"attr:base-url"?: WarpPagination["baseUrl"];
|
|
1254
|
+
/** */
|
|
1255
|
+
"prop:baseUrl"?: WarpPagination["baseUrl"];
|
|
1256
|
+
/** */
|
|
1257
|
+
"prop:pages"?: WarpPagination["pages"];
|
|
1258
|
+
/** */
|
|
1259
|
+
"attr:current-page"?: WarpPagination["currentPageNumber"];
|
|
1260
|
+
/** */
|
|
1261
|
+
"prop:currentPageNumber"?: WarpPagination["currentPageNumber"];
|
|
1262
|
+
/** */
|
|
1263
|
+
"attr:visible-pages"?: WarpPagination["visiblePages"];
|
|
1264
|
+
/** */
|
|
1265
|
+
"prop:visiblePages"?: WarpPagination["visiblePages"];
|
|
1266
|
+
/** Triggered when a link button in the pagination is clicked. Contains the page number in `string` form. */
|
|
1267
|
+
"on:page-click"?: (e: CustomEvent) => void;
|
|
1268
|
+
|
|
1269
|
+
/** Set the innerHTML of the element */
|
|
1270
|
+
innerHTML?: string;
|
|
1271
|
+
/** Set the textContent of the element */
|
|
1272
|
+
textContent?: string | number;
|
|
1273
|
+
};
|
|
1274
|
+
|
|
1275
|
+
export type WRadioProps = {
|
|
1276
|
+
/** The string pointing to a form's id. */
|
|
1277
|
+
form?: WRadio["form"];
|
|
1278
|
+
/** The radio's value. When selected, the radio group will receive this value. */
|
|
1279
|
+
value?: WRadio["value"];
|
|
1280
|
+
/** The radio's value. When selected, the radio group will receive this value. */
|
|
1281
|
+
appearance?: WRadio["appearance"];
|
|
1282
|
+
/** The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this
|
|
1283
|
+
attribute can typically be omitted. */
|
|
1284
|
+
size?: WRadio["size"];
|
|
1285
|
+
/** Disables the radio. */
|
|
1286
|
+
disabled?: WRadio["disabled"];
|
|
1287
|
+
/** */
|
|
1288
|
+
checked?: WRadio["checked"];
|
|
1289
|
+
};
|
|
1290
|
+
|
|
1291
|
+
export type WRadioSolidJsProps = {
|
|
1292
|
+
/** The string pointing to a form's id. */
|
|
1293
|
+
"prop:form"?: WRadio["form"];
|
|
1294
|
+
/** The radio's value. When selected, the radio group will receive this value. */
|
|
1295
|
+
"prop:value"?: WRadio["value"];
|
|
1296
|
+
/** The radio's value. When selected, the radio group will receive this value. */
|
|
1297
|
+
"prop:appearance"?: WRadio["appearance"];
|
|
1298
|
+
/** The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this
|
|
1299
|
+
attribute can typically be omitted. */
|
|
1300
|
+
"prop:size"?: WRadio["size"];
|
|
1301
|
+
/** Disables the radio. */
|
|
1302
|
+
"prop:disabled"?: WRadio["disabled"];
|
|
1303
|
+
/** */
|
|
1304
|
+
"prop:checked"?: WRadio["checked"];
|
|
1305
|
+
|
|
1306
|
+
/** Set the innerHTML of the element */
|
|
1307
|
+
innerHTML?: string;
|
|
1308
|
+
/** Set the textContent of the element */
|
|
1309
|
+
textContent?: string | number;
|
|
1310
|
+
};
|
|
1311
|
+
|
|
1312
|
+
export type WRadioGroupProps = {
|
|
1313
|
+
/** The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot
|
|
1314
|
+
instead. */
|
|
1315
|
+
label?: WRadioGroup["label"];
|
|
1316
|
+
/** The radio groups's hint. If you need to display HTML, use the `hint` slot instead. */
|
|
1317
|
+
hint?: WRadioGroup["hint"];
|
|
1318
|
+
/** The name of the radio group, submitted as a name/value pair with form data. */
|
|
1319
|
+
name?: WRadioGroup["name"];
|
|
1320
|
+
/** Disables the radio group and all child radios. */
|
|
1321
|
+
disabled?: WRadioGroup["disabled"];
|
|
1322
|
+
/** The orientation in which to show radio items. */
|
|
1323
|
+
orientation?: WRadioGroup["orientation"];
|
|
1324
|
+
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
1325
|
+
value?: WRadioGroup["defaultValue"];
|
|
1326
|
+
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
1327
|
+
defaultValue?: WRadioGroup["defaultValue"];
|
|
1328
|
+
/** The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden. */
|
|
1329
|
+
size?: WRadioGroup["size"];
|
|
1330
|
+
/** Ensures a child radio is checked before allowing the containing form to submit. */
|
|
1331
|
+
required?: WRadioGroup["required"];
|
|
1332
|
+
/** Used for SSR. if true, will show slotted label on initial render. */
|
|
1333
|
+
"with-label"?: WRadioGroup["withLabel"];
|
|
1334
|
+
/** Used for SSR. if true, will show slotted label on initial render. */
|
|
1335
|
+
withLabel?: WRadioGroup["withLabel"];
|
|
1336
|
+
/** Used for SSR. if true, will show slotted hint on initial render. */
|
|
1337
|
+
"with-hint"?: WRadioGroup["withHint"];
|
|
1338
|
+
/** Used for SSR. if true, will show slotted hint on initial render. */
|
|
1339
|
+
withHint?: WRadioGroup["withHint"];
|
|
1340
|
+
/** */
|
|
1341
|
+
hasRadioButtons?: WRadioGroup["hasRadioButtons"];
|
|
1342
|
+
/** */
|
|
1343
|
+
defaultSlot?: WRadioGroup["defaultSlot"];
|
|
1344
|
+
|
|
1345
|
+
/** */
|
|
1346
|
+
oninput?: (e: InputEvent) => void;
|
|
1347
|
+
/** */
|
|
1348
|
+
onchange?: (e: Event) => void;
|
|
1349
|
+
};
|
|
1350
|
+
|
|
1351
|
+
export type WRadioGroupSolidJsProps = {
|
|
1352
|
+
/** The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot
|
|
1353
|
+
instead. */
|
|
1354
|
+
"prop:label"?: WRadioGroup["label"];
|
|
1355
|
+
/** The radio groups's hint. If you need to display HTML, use the `hint` slot instead. */
|
|
1356
|
+
"prop:hint"?: WRadioGroup["hint"];
|
|
1357
|
+
/** The name of the radio group, submitted as a name/value pair with form data. */
|
|
1358
|
+
"prop:name"?: WRadioGroup["name"];
|
|
1359
|
+
/** Disables the radio group and all child radios. */
|
|
1360
|
+
"prop:disabled"?: WRadioGroup["disabled"];
|
|
1361
|
+
/** The orientation in which to show radio items. */
|
|
1362
|
+
"prop:orientation"?: WRadioGroup["orientation"];
|
|
1363
|
+
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
1364
|
+
"attr:value"?: WRadioGroup["defaultValue"];
|
|
1365
|
+
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
1366
|
+
"prop:defaultValue"?: WRadioGroup["defaultValue"];
|
|
1367
|
+
/** The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden. */
|
|
1368
|
+
"prop:size"?: WRadioGroup["size"];
|
|
1369
|
+
/** Ensures a child radio is checked before allowing the containing form to submit. */
|
|
1370
|
+
"prop:required"?: WRadioGroup["required"];
|
|
1371
|
+
/** Used for SSR. if true, will show slotted label on initial render. */
|
|
1372
|
+
"bool:with-label"?: WRadioGroup["withLabel"];
|
|
1373
|
+
/** Used for SSR. if true, will show slotted label on initial render. */
|
|
1374
|
+
"prop:withLabel"?: WRadioGroup["withLabel"];
|
|
1375
|
+
/** Used for SSR. if true, will show slotted hint on initial render. */
|
|
1376
|
+
"bool:with-hint"?: WRadioGroup["withHint"];
|
|
1377
|
+
/** Used for SSR. if true, will show slotted hint on initial render. */
|
|
1378
|
+
"prop:withHint"?: WRadioGroup["withHint"];
|
|
1379
|
+
/** */
|
|
1380
|
+
"prop:hasRadioButtons"?: WRadioGroup["hasRadioButtons"];
|
|
1381
|
+
/** */
|
|
1382
|
+
"prop:defaultSlot"?: WRadioGroup["defaultSlot"];
|
|
1383
|
+
/** */
|
|
1384
|
+
"on:input"?: (e: InputEvent) => void;
|
|
1385
|
+
/** */
|
|
1386
|
+
"on:change"?: (e: Event) => void;
|
|
1387
|
+
|
|
1388
|
+
/** Set the innerHTML of the element */
|
|
1389
|
+
innerHTML?: string;
|
|
1390
|
+
/** Set the textContent of the element */
|
|
1391
|
+
textContent?: string | number;
|
|
1392
|
+
};
|
|
1393
|
+
|
|
1394
|
+
export type WCheckboxProps = {
|
|
1395
|
+
/** */
|
|
1396
|
+
title?: WCheckbox["title"];
|
|
1397
|
+
/** The name of the checkbox, submitted as a name/value pair with form data. */
|
|
1398
|
+
name?: WCheckbox["name"];
|
|
1399
|
+
/** The value of the checkbox, submitted as a name/value pair with form data. */
|
|
1400
|
+
value?: WCheckbox["value"];
|
|
1401
|
+
/** The checkbox's size. */
|
|
1402
|
+
size?: WCheckbox["size"];
|
|
1403
|
+
/** Disables the checkbox. */
|
|
1404
|
+
disabled?: WCheckbox["disabled"];
|
|
1405
|
+
/** Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a "select
|
|
1406
|
+
all/none" behavior when associated checkboxes have a mix of checked and unchecked states. */
|
|
1407
|
+
indeterminate?: WCheckbox["indeterminate"];
|
|
1408
|
+
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
1409
|
+
checked?: WCheckbox["defaultChecked"];
|
|
1410
|
+
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
1411
|
+
defaultChecked?: WCheckbox["defaultChecked"];
|
|
1412
|
+
/** By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
|
|
1413
|
+
to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
|
|
1414
|
+
the same document or shadow root for this to work. */
|
|
1415
|
+
form?: WCheckbox["form"];
|
|
1416
|
+
/** Makes the checkbox a required field. */
|
|
1417
|
+
required?: WCheckbox["required"];
|
|
1418
|
+
/** The checkbox's hint. If you need to display HTML, use the `hint` slot instead. */
|
|
1419
|
+
hint?: WCheckbox["hint"];
|
|
1420
|
+
/** */
|
|
1421
|
+
input?: WCheckbox["input"];
|
|
1422
|
+
|
|
1423
|
+
/** */
|
|
1424
|
+
onchange?: (e: Event) => void;
|
|
1425
|
+
};
|
|
1426
|
+
|
|
1427
|
+
export type WCheckboxSolidJsProps = {
|
|
1428
|
+
/** */
|
|
1429
|
+
"prop:title"?: WCheckbox["title"];
|
|
1430
|
+
/** The name of the checkbox, submitted as a name/value pair with form data. */
|
|
1431
|
+
"prop:name"?: WCheckbox["name"];
|
|
1432
|
+
/** The value of the checkbox, submitted as a name/value pair with form data. */
|
|
1433
|
+
"prop:value"?: WCheckbox["value"];
|
|
1434
|
+
/** The checkbox's size. */
|
|
1435
|
+
"prop:size"?: WCheckbox["size"];
|
|
1436
|
+
/** Disables the checkbox. */
|
|
1437
|
+
"prop:disabled"?: WCheckbox["disabled"];
|
|
1438
|
+
/** Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a "select
|
|
1439
|
+
all/none" behavior when associated checkboxes have a mix of checked and unchecked states. */
|
|
1440
|
+
"prop:indeterminate"?: WCheckbox["indeterminate"];
|
|
1441
|
+
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
1442
|
+
"bool:checked"?: WCheckbox["defaultChecked"];
|
|
1443
|
+
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
1444
|
+
"prop:defaultChecked"?: WCheckbox["defaultChecked"];
|
|
1445
|
+
/** By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
|
|
1446
|
+
to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
|
|
1447
|
+
the same document or shadow root for this to work. */
|
|
1448
|
+
"prop:form"?: WCheckbox["form"];
|
|
1449
|
+
/** Makes the checkbox a required field. */
|
|
1450
|
+
"prop:required"?: WCheckbox["required"];
|
|
1451
|
+
/** The checkbox's hint. If you need to display HTML, use the `hint` slot instead. */
|
|
1452
|
+
"prop:hint"?: WCheckbox["hint"];
|
|
1453
|
+
/** */
|
|
1454
|
+
"prop:input"?: WCheckbox["input"];
|
|
1455
|
+
/** */
|
|
1456
|
+
"on:change"?: (e: Event) => void;
|
|
1457
|
+
|
|
1458
|
+
/** Set the innerHTML of the element */
|
|
1459
|
+
innerHTML?: string;
|
|
1460
|
+
/** Set the textContent of the element */
|
|
1461
|
+
textContent?: string | number;
|
|
1462
|
+
};
|
|
1463
|
+
|
|
1464
|
+
export type WCheckboxGroupProps = {};
|
|
1465
|
+
|
|
1466
|
+
export type WCheckboxGroupSolidJsProps = {
|
|
1467
|
+
/** Set the innerHTML of the element */
|
|
1468
|
+
innerHTML?: string;
|
|
1469
|
+
/** Set the textContent of the element */
|
|
1470
|
+
textContent?: string | number;
|
|
1471
|
+
};
|
|
1472
|
+
|
|
1473
|
+
export type WarpSliderThumbProps = {
|
|
1474
|
+
/** */
|
|
1475
|
+
"aria-label"?: WarpSliderThumb["ariaLabel"];
|
|
1476
|
+
/** */
|
|
1477
|
+
ariaLabel?: WarpSliderThumb["ariaLabel"];
|
|
1478
|
+
/** */
|
|
1479
|
+
"aria-description"?: WarpSliderThumb["ariaDescription"];
|
|
1480
|
+
/** */
|
|
1481
|
+
ariaDescription?: WarpSliderThumb["ariaDescription"];
|
|
1482
|
+
/** */
|
|
1483
|
+
label?: WarpSliderThumb["label"];
|
|
1484
|
+
/** */
|
|
1485
|
+
name?: WarpSliderThumb["name"];
|
|
1486
|
+
/** */
|
|
1487
|
+
value?: WarpSliderThumb["value"];
|
|
1488
|
+
/** */
|
|
1489
|
+
disabled?: WarpSliderThumb["disabled"];
|
|
1490
|
+
/** */
|
|
1491
|
+
invalid?: WarpSliderThumb["invalid"];
|
|
1492
|
+
/** Set by `<w-slider>` */
|
|
1493
|
+
allowValuesOutsideRange?: WarpSliderThumb["allowValuesOutsideRange"];
|
|
1494
|
+
/** Set by `<w-slider>` */
|
|
1495
|
+
markers?: WarpSliderThumb["markers"];
|
|
1496
|
+
/** Set by `<w-slider>` */
|
|
1497
|
+
required?: WarpSliderThumb["required"];
|
|
1498
|
+
/** Set by `<w-slider>` */
|
|
1499
|
+
step?: WarpSliderThumb["step"];
|
|
1500
|
+
/** Set by `<w-slider>` */
|
|
1501
|
+
min?: WarpSliderThumb["min"];
|
|
1502
|
+
/** Set by `<w-slider>` */
|
|
1503
|
+
max?: WarpSliderThumb["max"];
|
|
1504
|
+
/** Set by `<w-slider>` */
|
|
1505
|
+
suffix?: WarpSliderThumb["suffix"];
|
|
1506
|
+
/** JS hook to help you format the numeric value how you want. */
|
|
1507
|
+
formatter?: WarpSliderThumb["formatter"];
|
|
1508
|
+
/** */
|
|
1509
|
+
range?: WarpSliderThumb["range"];
|
|
1510
|
+
/** */
|
|
1511
|
+
textfield?: WarpSliderThumb["textfield"];
|
|
1512
|
+
|
|
1513
|
+
/** */
|
|
1514
|
+
onslidervalidity?: (e: CustomEvent) => void;
|
|
1515
|
+
};
|
|
1516
|
+
|
|
1517
|
+
export type WarpSliderThumbSolidJsProps = {
|
|
1518
|
+
/** */
|
|
1519
|
+
"attr:aria-label"?: WarpSliderThumb["ariaLabel"];
|
|
1520
|
+
/** */
|
|
1521
|
+
"prop:ariaLabel"?: WarpSliderThumb["ariaLabel"];
|
|
1522
|
+
/** */
|
|
1523
|
+
"attr:aria-description"?: WarpSliderThumb["ariaDescription"];
|
|
1524
|
+
/** */
|
|
1525
|
+
"prop:ariaDescription"?: WarpSliderThumb["ariaDescription"];
|
|
1526
|
+
/** */
|
|
1527
|
+
"prop:label"?: WarpSliderThumb["label"];
|
|
1528
|
+
/** */
|
|
1529
|
+
"prop:name"?: WarpSliderThumb["name"];
|
|
1530
|
+
/** */
|
|
1531
|
+
"prop:value"?: WarpSliderThumb["value"];
|
|
1532
|
+
/** */
|
|
1533
|
+
"prop:disabled"?: WarpSliderThumb["disabled"];
|
|
1534
|
+
/** */
|
|
1535
|
+
"prop:invalid"?: WarpSliderThumb["invalid"];
|
|
1536
|
+
/** Set by `<w-slider>` */
|
|
1537
|
+
"prop:allowValuesOutsideRange"?: WarpSliderThumb["allowValuesOutsideRange"];
|
|
1538
|
+
/** Set by `<w-slider>` */
|
|
1539
|
+
"prop:markers"?: WarpSliderThumb["markers"];
|
|
1540
|
+
/** Set by `<w-slider>` */
|
|
1541
|
+
"prop:required"?: WarpSliderThumb["required"];
|
|
1542
|
+
/** Set by `<w-slider>` */
|
|
1543
|
+
"prop:step"?: WarpSliderThumb["step"];
|
|
1544
|
+
/** Set by `<w-slider>` */
|
|
1545
|
+
"prop:min"?: WarpSliderThumb["min"];
|
|
1546
|
+
/** Set by `<w-slider>` */
|
|
1547
|
+
"prop:max"?: WarpSliderThumb["max"];
|
|
1548
|
+
/** Set by `<w-slider>` */
|
|
1549
|
+
"prop:suffix"?: WarpSliderThumb["suffix"];
|
|
1550
|
+
/** JS hook to help you format the numeric value how you want. */
|
|
1551
|
+
"prop:formatter"?: WarpSliderThumb["formatter"];
|
|
1552
|
+
/** */
|
|
1553
|
+
"prop:range"?: WarpSliderThumb["range"];
|
|
1554
|
+
/** */
|
|
1555
|
+
"prop:textfield"?: WarpSliderThumb["textfield"];
|
|
1556
|
+
/** */
|
|
1557
|
+
"on:slidervalidity"?: (e: CustomEvent) => void;
|
|
1558
|
+
|
|
1559
|
+
/** Set the innerHTML of the element */
|
|
1560
|
+
innerHTML?: string;
|
|
1561
|
+
/** Set the textContent of the element */
|
|
1562
|
+
textContent?: string | number;
|
|
1563
|
+
};
|
|
1564
|
+
|
|
1565
|
+
export type WarpSliderProps = {
|
|
1566
|
+
/** The slider fieldset label. Required for proper accessibility.
|
|
1567
|
+
|
|
1568
|
+
If you need to display HTML, use the `label` slot instead. */
|
|
1569
|
+
label?: WarpSlider["label"];
|
|
1570
|
+
/** */
|
|
1571
|
+
disabled?: WarpSlider["disabled"];
|
|
1572
|
+
/** */
|
|
1573
|
+
"allow-values-outside-range"?: WarpSlider["allowValuesOutsideRange"];
|
|
1574
|
+
/** */
|
|
1575
|
+
allowValuesOutsideRange?: WarpSlider["allowValuesOutsideRange"];
|
|
1576
|
+
/** */
|
|
1577
|
+
error?: WarpSlider["error"];
|
|
1578
|
+
/** */
|
|
1579
|
+
"help-text"?: WarpSlider["helpText"];
|
|
1580
|
+
/** */
|
|
1581
|
+
helpText?: WarpSlider["helpText"];
|
|
1582
|
+
/** */
|
|
1583
|
+
invalid?: WarpSlider["invalid"];
|
|
1584
|
+
/** Ensures a child slider thumb has a value before allowing the containing form to submit. */
|
|
1585
|
+
required?: WarpSlider["required"];
|
|
1586
|
+
/** */
|
|
1587
|
+
min?: WarpSlider["min"];
|
|
1588
|
+
/** */
|
|
1589
|
+
max?: WarpSlider["max"];
|
|
1590
|
+
/** Pass a value similar to step to create visual markers at that interval */
|
|
1591
|
+
markers?: WarpSlider["markers"];
|
|
1592
|
+
/** */
|
|
1593
|
+
step?: WarpSlider["step"];
|
|
1594
|
+
/** Suffix used in text input fields and for the min and max values of the slider. */
|
|
1595
|
+
suffix?: WarpSlider["suffix"];
|
|
1596
|
+
/** Function to format the to- and from labels and value in the slider thumb tooltip. */
|
|
1597
|
+
formatter?: WarpSlider["formatter"];
|
|
1598
|
+
/** */
|
|
1599
|
+
_invalidMessage?: WarpSlider["_invalidMessage"];
|
|
1600
|
+
/** */
|
|
1601
|
+
_hasInternalError?: WarpSlider["_hasInternalError"];
|
|
1602
|
+
};
|
|
1603
|
+
|
|
1604
|
+
export type WarpSliderSolidJsProps = {
|
|
1605
|
+
/** The slider fieldset label. Required for proper accessibility.
|
|
1606
|
+
|
|
1607
|
+
If you need to display HTML, use the `label` slot instead. */
|
|
1608
|
+
"prop:label"?: WarpSlider["label"];
|
|
1609
|
+
/** */
|
|
1610
|
+
"prop:disabled"?: WarpSlider["disabled"];
|
|
1611
|
+
/** */
|
|
1612
|
+
"bool:allow-values-outside-range"?: WarpSlider["allowValuesOutsideRange"];
|
|
1613
|
+
/** */
|
|
1614
|
+
"prop:allowValuesOutsideRange"?: WarpSlider["allowValuesOutsideRange"];
|
|
1615
|
+
/** */
|
|
1616
|
+
"prop:error"?: WarpSlider["error"];
|
|
1617
|
+
/** */
|
|
1618
|
+
"attr:help-text"?: WarpSlider["helpText"];
|
|
1619
|
+
/** */
|
|
1620
|
+
"prop:helpText"?: WarpSlider["helpText"];
|
|
1621
|
+
/** */
|
|
1622
|
+
"prop:invalid"?: WarpSlider["invalid"];
|
|
1623
|
+
/** Ensures a child slider thumb has a value before allowing the containing form to submit. */
|
|
1624
|
+
"prop:required"?: WarpSlider["required"];
|
|
1625
|
+
/** */
|
|
1626
|
+
"prop:min"?: WarpSlider["min"];
|
|
1627
|
+
/** */
|
|
1628
|
+
"prop:max"?: WarpSlider["max"];
|
|
1629
|
+
/** Pass a value similar to step to create visual markers at that interval */
|
|
1630
|
+
"prop:markers"?: WarpSlider["markers"];
|
|
1631
|
+
/** */
|
|
1632
|
+
"prop:step"?: WarpSlider["step"];
|
|
1633
|
+
/** Suffix used in text input fields and for the min and max values of the slider. */
|
|
1634
|
+
"prop:suffix"?: WarpSlider["suffix"];
|
|
1635
|
+
/** Function to format the to- and from labels and value in the slider thumb tooltip. */
|
|
1636
|
+
"prop:formatter"?: WarpSlider["formatter"];
|
|
1637
|
+
/** */
|
|
1638
|
+
"prop:_invalidMessage"?: WarpSlider["_invalidMessage"];
|
|
1639
|
+
/** */
|
|
1640
|
+
"prop:_hasInternalError"?: WarpSlider["_hasInternalError"];
|
|
1641
|
+
|
|
1642
|
+
/** Set the innerHTML of the element */
|
|
1643
|
+
innerHTML?: string;
|
|
1644
|
+
/** Set the textContent of the element */
|
|
1645
|
+
textContent?: string | number;
|
|
1646
|
+
};
|
|
1647
|
+
|
|
1648
|
+
export type WarpStepProps = {
|
|
1649
|
+
/** */
|
|
1650
|
+
active?: WarpStep["active"];
|
|
1651
|
+
/** */
|
|
1652
|
+
completed?: WarpStep["completed"];
|
|
1653
|
+
};
|
|
1654
|
+
|
|
1655
|
+
export type WarpStepSolidJsProps = {
|
|
1656
|
+
/** */
|
|
1657
|
+
"prop:active"?: WarpStep["active"];
|
|
1658
|
+
/** */
|
|
1659
|
+
"prop:completed"?: WarpStep["completed"];
|
|
1660
|
+
|
|
1661
|
+
/** Set the innerHTML of the element */
|
|
1662
|
+
innerHTML?: string;
|
|
1663
|
+
/** Set the textContent of the element */
|
|
1664
|
+
textContent?: string | number;
|
|
1665
|
+
};
|
|
1666
|
+
|
|
1667
|
+
export type WarpStepIndicatorProps = {
|
|
1668
|
+
/** */
|
|
1669
|
+
horizontal?: WarpStepIndicator["horizontal"];
|
|
1670
|
+
/** */
|
|
1671
|
+
right?: WarpStepIndicator["right"];
|
|
1672
|
+
};
|
|
1673
|
+
|
|
1674
|
+
export type WarpStepIndicatorSolidJsProps = {
|
|
1675
|
+
/** */
|
|
1676
|
+
"prop:horizontal"?: WarpStepIndicator["horizontal"];
|
|
1677
|
+
/** */
|
|
1678
|
+
"prop:right"?: WarpStepIndicator["right"];
|
|
1679
|
+
|
|
1680
|
+
/** Set the innerHTML of the element */
|
|
1681
|
+
innerHTML?: string;
|
|
1682
|
+
/** Set the textContent of the element */
|
|
1683
|
+
textContent?: string | number;
|
|
1684
|
+
};
|
|
1685
|
+
|
|
1686
|
+
export type WarpTabProps = {
|
|
1687
|
+
/** */
|
|
1688
|
+
for?: WarpTab["for"];
|
|
1689
|
+
/** */
|
|
1690
|
+
active?: WarpTab["active"];
|
|
1691
|
+
/** */
|
|
1692
|
+
over?: WarpTab["over"];
|
|
1693
|
+
};
|
|
1210
1694
|
|
|
1211
|
-
|
|
1695
|
+
export type WarpTabSolidJsProps = {
|
|
1696
|
+
/** */
|
|
1697
|
+
"prop:for"?: WarpTab["for"];
|
|
1698
|
+
/** */
|
|
1699
|
+
"prop:active"?: WarpTab["active"];
|
|
1700
|
+
/** */
|
|
1701
|
+
"prop:over"?: WarpTab["over"];
|
|
1702
|
+
|
|
1703
|
+
/** Set the innerHTML of the element */
|
|
1704
|
+
innerHTML?: string;
|
|
1705
|
+
/** Set the textContent of the element */
|
|
1706
|
+
textContent?: string | number;
|
|
1707
|
+
};
|
|
1708
|
+
|
|
1709
|
+
export type WarpTabPanelProps = {
|
|
1710
|
+
/** */
|
|
1711
|
+
hidden?: WarpTabPanel["hidden"];
|
|
1712
|
+
};
|
|
1713
|
+
|
|
1714
|
+
export type WarpTabPanelSolidJsProps = {
|
|
1715
|
+
/** */
|
|
1716
|
+
"prop:hidden"?: WarpTabPanel["hidden"];
|
|
1717
|
+
|
|
1718
|
+
/** Set the innerHTML of the element */
|
|
1719
|
+
innerHTML?: string;
|
|
1720
|
+
/** Set the textContent of the element */
|
|
1721
|
+
textContent?: string | number;
|
|
1722
|
+
};
|
|
1723
|
+
|
|
1724
|
+
export type WarpTabsProps = {
|
|
1725
|
+
/** */
|
|
1726
|
+
active?: WarpTabs["active"];
|
|
1727
|
+
|
|
1728
|
+
/** */
|
|
1729
|
+
onchange?: (e: CustomEvent) => void;
|
|
1730
|
+
};
|
|
1731
|
+
|
|
1732
|
+
export type WarpTabsSolidJsProps = {
|
|
1733
|
+
/** */
|
|
1734
|
+
"prop:active"?: WarpTabs["active"];
|
|
1735
|
+
/** */
|
|
1736
|
+
"on:change"?: (e: CustomEvent) => void;
|
|
1737
|
+
|
|
1738
|
+
/** Set the innerHTML of the element */
|
|
1739
|
+
innerHTML?: string;
|
|
1740
|
+
/** Set the textContent of the element */
|
|
1741
|
+
textContent?: string | number;
|
|
1742
|
+
};
|
|
1743
|
+
|
|
1744
|
+
export type WarpTextareaProps = {
|
|
1745
|
+
/** */
|
|
1746
|
+
disabled?: WarpTextarea["disabled"];
|
|
1747
|
+
/** */
|
|
1748
|
+
invalid?: WarpTextarea["invalid"];
|
|
1749
|
+
/** */
|
|
1750
|
+
label?: WarpTextarea["label"];
|
|
1751
|
+
/** */
|
|
1752
|
+
"help-text"?: WarpTextarea["helpText"];
|
|
1753
|
+
/** */
|
|
1754
|
+
helpText?: WarpTextarea["helpText"];
|
|
1755
|
+
/** */
|
|
1756
|
+
"maximum-rows"?: WarpTextarea["maxRows"];
|
|
1757
|
+
/** */
|
|
1758
|
+
maxRows?: WarpTextarea["maxRows"];
|
|
1759
|
+
/** */
|
|
1760
|
+
"minimum-rows"?: WarpTextarea["minRows"];
|
|
1761
|
+
/** */
|
|
1762
|
+
minRows?: WarpTextarea["minRows"];
|
|
1763
|
+
/** */
|
|
1764
|
+
name?: WarpTextarea["name"];
|
|
1765
|
+
/** */
|
|
1766
|
+
placeholder?: WarpTextarea["placeholder"];
|
|
1767
|
+
/** @deprecated Use the native readonly attribute instead. Here for API consistency with `w-textfield`. */
|
|
1768
|
+
"read-only"?: WarpTextarea["readOnly"];
|
|
1769
|
+
/** @deprecated Use the native readonly attribute instead. Here for API consistency with `w-textfield`. */
|
|
1770
|
+
readOnly?: WarpTextarea["readOnly"];
|
|
1771
|
+
/** */
|
|
1772
|
+
readonly?: WarpTextarea["readonly"];
|
|
1773
|
+
/** */
|
|
1774
|
+
required?: WarpTextarea["required"];
|
|
1775
|
+
/** */
|
|
1776
|
+
value?: WarpTextarea["value"];
|
|
1777
|
+
/** */
|
|
1778
|
+
optional?: WarpTextarea["optional"];
|
|
1779
|
+
/** */
|
|
1780
|
+
minHeight?: WarpTextarea["minHeight"];
|
|
1781
|
+
/** */
|
|
1782
|
+
maxHeight?: WarpTextarea["maxHeight"];
|
|
1783
|
+
};
|
|
1784
|
+
|
|
1785
|
+
export type WarpTextareaSolidJsProps = {
|
|
1786
|
+
/** */
|
|
1787
|
+
"prop:disabled"?: WarpTextarea["disabled"];
|
|
1788
|
+
/** */
|
|
1789
|
+
"prop:invalid"?: WarpTextarea["invalid"];
|
|
1790
|
+
/** */
|
|
1791
|
+
"prop:label"?: WarpTextarea["label"];
|
|
1792
|
+
/** */
|
|
1793
|
+
"attr:help-text"?: WarpTextarea["helpText"];
|
|
1794
|
+
/** */
|
|
1795
|
+
"prop:helpText"?: WarpTextarea["helpText"];
|
|
1796
|
+
/** */
|
|
1797
|
+
"attr:maximum-rows"?: WarpTextarea["maxRows"];
|
|
1798
|
+
/** */
|
|
1799
|
+
"prop:maxRows"?: WarpTextarea["maxRows"];
|
|
1800
|
+
/** */
|
|
1801
|
+
"attr:minimum-rows"?: WarpTextarea["minRows"];
|
|
1802
|
+
/** */
|
|
1803
|
+
"prop:minRows"?: WarpTextarea["minRows"];
|
|
1804
|
+
/** */
|
|
1805
|
+
"prop:name"?: WarpTextarea["name"];
|
|
1806
|
+
/** */
|
|
1807
|
+
"prop:placeholder"?: WarpTextarea["placeholder"];
|
|
1808
|
+
/** @deprecated Use the native readonly attribute instead. Here for API consistency with `w-textfield`. */
|
|
1809
|
+
"bool:read-only"?: WarpTextarea["readOnly"];
|
|
1810
|
+
/** @deprecated Use the native readonly attribute instead. Here for API consistency with `w-textfield`. */
|
|
1811
|
+
"prop:readOnly"?: WarpTextarea["readOnly"];
|
|
1812
|
+
/** */
|
|
1813
|
+
"prop:readonly"?: WarpTextarea["readonly"];
|
|
1814
|
+
/** */
|
|
1815
|
+
"prop:required"?: WarpTextarea["required"];
|
|
1816
|
+
/** */
|
|
1817
|
+
"prop:value"?: WarpTextarea["value"];
|
|
1818
|
+
/** */
|
|
1819
|
+
"prop:optional"?: WarpTextarea["optional"];
|
|
1820
|
+
/** */
|
|
1821
|
+
"prop:minHeight"?: WarpTextarea["minHeight"];
|
|
1822
|
+
/** */
|
|
1823
|
+
"prop:maxHeight"?: WarpTextarea["maxHeight"];
|
|
1824
|
+
|
|
1825
|
+
/** Set the innerHTML of the element */
|
|
1826
|
+
innerHTML?: string;
|
|
1827
|
+
/** Set the textContent of the element */
|
|
1828
|
+
textContent?: string | number;
|
|
1829
|
+
};
|
|
1830
|
+
|
|
1831
|
+
export type CustomElements = {
|
|
1832
|
+
/**
|
|
1833
|
+
* This component is usually used in other components like form elements to show a prefix or suffix. See for example `w-textfield`.
|
|
1834
|
+
*
|
|
1835
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-affix--docs)
|
|
1836
|
+
*
|
|
1837
|
+
* ## Attributes & Properties
|
|
1838
|
+
*
|
|
1839
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1840
|
+
*
|
|
1841
|
+
* - `aria-label`/`ariaLabel`: undefined
|
|
1842
|
+
* - `clear`: Add this property to render a clickable Warp close icon.
|
|
1843
|
+
*
|
|
1844
|
+
* Set an `aria-label` that explains the action when using this.
|
|
1845
|
+
* - `search`: Add this property to render a clickable Warp search icon.
|
|
1846
|
+
*
|
|
1847
|
+
* Set an `aria-label` that explains the action when using this.
|
|
1848
|
+
* - `label`: undefined
|
|
1849
|
+
*/
|
|
1850
|
+
"w-affix": Partial<WarpAffixProps & BaseProps<WarpAffix> & BaseEvents>;
|
|
1851
|
+
|
|
1852
|
+
/**
|
|
1853
|
+
* Alert is an inline component used for displaying different types of messages.
|
|
1854
|
+
*
|
|
1855
|
+
* For accessibility reasons, alert should appear close to the element that triggered it.
|
|
1856
|
+
*
|
|
1857
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/feedback-alert--docs)
|
|
1858
|
+
*
|
|
1859
|
+
* ## Attributes & Properties
|
|
1860
|
+
*
|
|
1861
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1862
|
+
*
|
|
1863
|
+
* - `variant`: undefined
|
|
1864
|
+
* - `show`: undefined
|
|
1865
|
+
* - `role`: undefined
|
|
1866
|
+
*/
|
|
1867
|
+
"w-alert": Partial<WarpAlertProps & BaseProps<WarpAlert> & BaseEvents>;
|
|
1868
|
+
|
|
1869
|
+
/**
|
|
1870
|
+
* Buttons are used to perform actions, with different visuals for different needs.
|
|
1871
|
+
*
|
|
1872
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-link--docs)
|
|
1873
|
+
*
|
|
1874
|
+
* ## Attributes & Properties
|
|
1875
|
+
*
|
|
1876
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1877
|
+
*
|
|
1878
|
+
* - `autofocus`: undefined
|
|
1879
|
+
* - `variant`: undefined
|
|
1880
|
+
* - `small`: undefined
|
|
1881
|
+
* - `href`: undefined
|
|
1882
|
+
* - `disabled`: undefined
|
|
1883
|
+
* - `target`: undefined
|
|
1884
|
+
* - `rel`: undefined
|
|
1885
|
+
* - `full-width`/`fullWidth`: undefined
|
|
1886
|
+
*/
|
|
1887
|
+
"w-link": Partial<WarpLinkProps & BaseProps<WarpLink> & BaseEvents>;
|
|
1888
|
+
|
|
1889
|
+
/**
|
|
1890
|
+
* Buttons are used to perform actions, widh different visuals for different needs.
|
|
1891
|
+
*
|
|
1892
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-button--docs)
|
|
1893
|
+
*
|
|
1894
|
+
* ## Attributes & Properties
|
|
1895
|
+
*
|
|
1896
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1897
|
+
*
|
|
1898
|
+
* - `type`: undefined
|
|
1899
|
+
* - `autofocus`: undefined
|
|
1900
|
+
* - `variant`: undefined
|
|
1901
|
+
* - `quiet`: undefined
|
|
1902
|
+
* - `small`: undefined
|
|
1903
|
+
* - `loading`: undefined
|
|
1904
|
+
* - `href`: undefined
|
|
1905
|
+
* - `target`: undefined
|
|
1906
|
+
* - `rel`: undefined
|
|
1907
|
+
* - `full-width`/`fullWidth`: undefined
|
|
1908
|
+
* - `button-class`/`buttonClass`: undefined
|
|
1909
|
+
* - `name`: undefined
|
|
1910
|
+
* - `value`: undefined
|
|
1911
|
+
* - `ariaValueTextLoading`: undefined (property only)
|
|
1912
|
+
*
|
|
1913
|
+
* ## Methods
|
|
1914
|
+
*
|
|
1915
|
+
* Methods that can be called to access component functionality.
|
|
1916
|
+
*
|
|
1917
|
+
* - `resetFormControl() => void`: undefined
|
|
1918
|
+
*/
|
|
1919
|
+
"w-button": Partial<WarpButtonProps & BaseProps<WarpButton> & BaseEvents>;
|
|
1920
|
+
|
|
1921
|
+
/**
|
|
1922
|
+
*
|
|
1923
|
+
*
|
|
1924
|
+
* ## Attributes & Properties
|
|
1925
|
+
*
|
|
1926
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1927
|
+
*
|
|
1928
|
+
* - `show`: undefined
|
|
1929
|
+
* - `placement`: undefined
|
|
1930
|
+
* - `tooltip`: undefined
|
|
1931
|
+
* - `callout`: undefined
|
|
1932
|
+
* - `popover`: undefined
|
|
1933
|
+
* - `highlight`: undefined
|
|
1934
|
+
* - `can-close`/`canClose`: undefined
|
|
1935
|
+
* - `no-arrow`/`noArrow`: undefined
|
|
1936
|
+
* - `distance`: undefined
|
|
1937
|
+
* - `skidding`: undefined
|
|
1938
|
+
* - `flip`: undefined
|
|
1939
|
+
* - `cross-axis`/`crossAxis`: undefined
|
|
1940
|
+
* - `fallback-placements`/`fallbackPlacements`: undefined
|
|
1941
|
+
* - `_initialPlacement`: undefined (property only)
|
|
1942
|
+
* - `_actualDirection`: undefined (property only)
|
|
1943
|
+
*
|
|
1944
|
+
* ## Methods
|
|
1945
|
+
*
|
|
1946
|
+
* Methods that can be called to access component functionality.
|
|
1947
|
+
*
|
|
1948
|
+
* - `handleDone() => void`: undefined
|
|
1949
|
+
* - `pointingAtDirection() => void`: undefined
|
|
1950
|
+
* - `activeAttentionType() => void`: undefined
|
|
1951
|
+
* - `defaultAriaLabel() => void`: undefined
|
|
1952
|
+
* - `setAriaLabels() => void`: undefined
|
|
1953
|
+
* - `close() => void`: undefined
|
|
1954
|
+
* - `keypressed(e: KeyboardEvent) => void`: undefined
|
|
1955
|
+
*/
|
|
1956
|
+
"w-attention": Partial<
|
|
1957
|
+
WarpAttentionProps & BaseProps<WarpAttention> & BaseEvents
|
|
1958
|
+
>;
|
|
1959
|
+
|
|
1960
|
+
/**
|
|
1961
|
+
* `w-badge` is used for showing a small amount of non-interactive color-categorized metadata, like a status or count.
|
|
1962
|
+
*
|
|
1963
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-badge--docs)
|
|
1964
|
+
*
|
|
1965
|
+
* ## Attributes & Properties
|
|
1966
|
+
*
|
|
1967
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1968
|
+
*
|
|
1969
|
+
* - `variant`: undefined
|
|
1970
|
+
* - `position`: undefined
|
|
1971
|
+
*/
|
|
1972
|
+
"w-badge": Partial<WarpBadgeProps & BaseProps<WarpBadge> & BaseEvents>;
|
|
1973
|
+
|
|
1974
|
+
/**
|
|
1975
|
+
* Box is a layout component used for separating content areas on a page.
|
|
1976
|
+
*
|
|
1977
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-box--docs)
|
|
1978
|
+
*
|
|
1979
|
+
* ## Attributes & Properties
|
|
1980
|
+
*
|
|
1981
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1982
|
+
*
|
|
1983
|
+
* - `bleed`: undefined
|
|
1984
|
+
* - `bordered`: undefined
|
|
1985
|
+
* - `info`: undefined
|
|
1986
|
+
* - `neutral`: undefined
|
|
1987
|
+
* - `role`: undefined
|
|
1988
|
+
*/
|
|
1989
|
+
"w-box": Partial<WarpBoxProps & BaseProps<WarpBox> & BaseEvents>;
|
|
1990
|
+
|
|
1991
|
+
/**
|
|
1992
|
+
* Breadcrumbs show the navigation structure for the current location.
|
|
1993
|
+
*
|
|
1994
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-breadcrumbs--docs)
|
|
1995
|
+
*
|
|
1996
|
+
* ## Attributes & Properties
|
|
1997
|
+
*
|
|
1998
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1999
|
+
*
|
|
2000
|
+
* - `aria-label`/`ariaLabel`: undefined
|
|
2001
|
+
*/
|
|
2002
|
+
"w-breadcrumbs": Partial<
|
|
2003
|
+
WarpBreadcrumbsProps & BaseProps<WarpBreadcrumbs> & BaseEvents
|
|
2004
|
+
>;
|
|
2005
|
+
|
|
2006
|
+
/**
|
|
2007
|
+
* Card is a layout component used for separating content areas on a page.
|
|
2008
|
+
*
|
|
2009
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-card--docs)
|
|
2010
|
+
*
|
|
2011
|
+
* ## Attributes & Properties
|
|
2012
|
+
*
|
|
2013
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2014
|
+
*
|
|
2015
|
+
* - `selected`: undefined
|
|
2016
|
+
* - `flat`: undefined
|
|
2017
|
+
* - `clickable`: undefined
|
|
2018
|
+
* - `buttonText`: undefined (property only)
|
|
2019
|
+
*
|
|
2020
|
+
* ## Methods
|
|
2021
|
+
*
|
|
2022
|
+
* Methods that can be called to access component functionality.
|
|
2023
|
+
*
|
|
2024
|
+
* - `keypressed(e: KeyboardEvent) => void`: undefined
|
|
2025
|
+
*/
|
|
2026
|
+
"w-card": Partial<WarpCardProps & BaseProps<WarpCard> & BaseEvents>;
|
|
2027
|
+
|
|
2028
|
+
/**
|
|
2029
|
+
* Expandable is a layout component used for creating expandable content areas on a page.
|
|
2030
|
+
*
|
|
2031
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-expandable--docs)
|
|
2032
|
+
*
|
|
2033
|
+
* ## Attributes & Properties
|
|
2034
|
+
*
|
|
2035
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2036
|
+
*
|
|
2037
|
+
* - `expanded`: undefined
|
|
2038
|
+
* - `title`: undefined
|
|
2039
|
+
* - `box`: undefined
|
|
2040
|
+
* - `bleed`: undefined
|
|
2041
|
+
* - `button-class`/`buttonClass`: undefined
|
|
2042
|
+
* - `content-class`/`contentClass`: undefined
|
|
2043
|
+
* - `no-chevron`/`noChevron`: undefined
|
|
2044
|
+
* - `animated`: undefined
|
|
2045
|
+
* - `heading-level`/`headingLevel`: undefined
|
|
2046
|
+
* - `_hasTitle`: undefined
|
|
2047
|
+
* - `_showChevronUp`: undefined
|
|
2048
|
+
*
|
|
2049
|
+
* ## Slots
|
|
2050
|
+
*
|
|
2051
|
+
* Areas where markup can be added to the component.
|
|
2052
|
+
*
|
|
2053
|
+
* - `title`: Alternative to the `title` attribute should you need to provide some additional markup.
|
|
2054
|
+
*/
|
|
2055
|
+
"w-expandable": Partial<
|
|
2056
|
+
WarpExpandableProps & BaseProps<WarpExpandable> & BaseEvents
|
|
2057
|
+
>;
|
|
2058
|
+
|
|
2059
|
+
/**
|
|
2060
|
+
* 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.
|
|
2061
|
+
*
|
|
2062
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-pill--docs)
|
|
2063
|
+
*
|
|
2064
|
+
* ## Attributes & Properties
|
|
2065
|
+
*
|
|
2066
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2067
|
+
*
|
|
2068
|
+
* - `can-close`/`canClose`: undefined
|
|
2069
|
+
* - `suggestion`: undefined
|
|
2070
|
+
* - `open-sr-label`/`openSrLabel`: undefined
|
|
2071
|
+
* - `open-aria-label`/`openAriaLabel`: undefined
|
|
2072
|
+
* - `close-sr-label`/`closeSrLabel`: undefined
|
|
2073
|
+
* - `close-aria-label`/`closeAriaLabel`: undefined
|
|
2074
|
+
* - `openFilterSrText`: undefined (property only)
|
|
2075
|
+
* - `removeFilterSrText`: undefined (property only)
|
|
2076
|
+
*
|
|
2077
|
+
* ## Events
|
|
2078
|
+
*
|
|
2079
|
+
* Events that will be emitted by the component.
|
|
2080
|
+
*
|
|
2081
|
+
* - `w-pill-click`: undefined
|
|
2082
|
+
* - `w-pill-close`: undefined
|
|
2083
|
+
*/
|
|
2084
|
+
"w-pill": Partial<WarpPillProps & BaseProps<WarpPill> & BaseEvents>;
|
|
2085
|
+
|
|
2086
|
+
/**
|
|
2087
|
+
* A dropdown component for selecting a single value.
|
|
2088
|
+
*
|
|
2089
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-select--docs)
|
|
2090
|
+
*
|
|
2091
|
+
* ## Attributes & Properties
|
|
2092
|
+
*
|
|
2093
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2094
|
+
*
|
|
2095
|
+
* - `auto-focus`/`autoFocus`: Whether the element should receive focus on render.
|
|
2096
|
+
* - `autofocus`: Whether the element should receive focus on render
|
|
2097
|
+
* - `help-text`/`helpText`: The content displayed as the help text. Paired with `invalid` to show the text as a validation error.
|
|
2098
|
+
* - `invalid`: Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error.
|
|
2099
|
+
* - `always`: Whether to always show a hint.
|
|
2100
|
+
* - `hint`: The content displayed as the help text.
|
|
2101
|
+
* - `label`: The content to disply as the label
|
|
2102
|
+
* - `optional`: Whether to show optional text
|
|
2103
|
+
* - `disabled`: Renders the field in a disabled state.
|
|
2104
|
+
* - `read-only`/`readOnly`: Renders the field in a readonly state.
|
|
2105
|
+
* - `readonly`: Renders the field in a readonly state.
|
|
2106
|
+
* - `name`: undefined
|
|
2107
|
+
* - `value`: undefined
|
|
2108
|
+
*
|
|
2109
|
+
* ## Methods
|
|
2110
|
+
*
|
|
2111
|
+
* Methods that can be called to access component functionality.
|
|
2112
|
+
*
|
|
2113
|
+
* - `resetFormControl() => void`: undefined
|
|
2114
|
+
* - `handleKeyDown(event: KeyboardEvent) => void`: undefined
|
|
2115
|
+
* - `onChange({ target }) => void`: undefined
|
|
2116
|
+
*/
|
|
2117
|
+
"w-select": Partial<WarpSelectProps & BaseProps<WarpSelect> & BaseEvents>;
|
|
2118
|
+
|
|
2119
|
+
/**
|
|
2120
|
+
* A single line text input element.
|
|
2121
|
+
*
|
|
2122
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)
|
|
2123
|
+
*
|
|
2124
|
+
* ## Attributes & Properties
|
|
2125
|
+
*
|
|
2126
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2127
|
+
*
|
|
2128
|
+
* - `disabled`: undefined
|
|
2129
|
+
* - `invalid`: undefined
|
|
2130
|
+
* - `id`: undefined
|
|
2131
|
+
* - `label`: undefined
|
|
2132
|
+
* - `help-text`/`helpText`: undefined
|
|
2133
|
+
* - `size`: undefined
|
|
2134
|
+
* - `max`: undefined
|
|
2135
|
+
* - `min`: undefined
|
|
2136
|
+
* - `min-length`/`minLength`: undefined
|
|
2137
|
+
* - `max-length`/`maxLength`: undefined
|
|
2138
|
+
* - `pattern`: undefined
|
|
2139
|
+
* - `placeholder`: undefined
|
|
2140
|
+
* - `read-only`/`readOnly`: undefined
|
|
2141
|
+
* - `readonly`: undefined
|
|
2142
|
+
* - `required`: undefined
|
|
2143
|
+
* - `type`: undefined
|
|
2144
|
+
* - `value`: undefined
|
|
2145
|
+
* - `name`: undefined
|
|
2146
|
+
* - `step`: undefined
|
|
2147
|
+
* - `autocomplete`: undefined
|
|
2148
|
+
* - `formatter`: Function to format value when the input field.
|
|
2149
|
+
*
|
|
2150
|
+
* Only active when the input field does not have focus,
|
|
2151
|
+
* similar to the accessible input masking example from Filament Group
|
|
2152
|
+
*
|
|
2153
|
+
* https://css-tricks.com/input-masking/
|
|
2154
|
+
* https://filamentgroup.github.io/politespace/demo/demo.html (property only)
|
|
2155
|
+
*
|
|
2156
|
+
* ## Methods
|
|
2157
|
+
*
|
|
2158
|
+
* Methods that can be called to access component functionality.
|
|
2159
|
+
*
|
|
2160
|
+
* - `resetFormControl() => void`: undefined
|
|
2161
|
+
* - `handler(e: Event) => void`: undefined
|
|
2162
|
+
* - `prefixSlotChange() => void`: undefined
|
|
2163
|
+
* - `suffixSlotChange() => void`: undefined
|
|
2164
|
+
*/
|
|
2165
|
+
"w-textfield": Partial<
|
|
2166
|
+
WarpTextFieldProps & BaseProps<WarpTextField> & BaseEvents
|
|
2167
|
+
>;
|
|
2168
|
+
|
|
2169
|
+
/**
|
|
2170
|
+
* Modals (or dialogs) display important information that users need to acknowledge.
|
|
2171
|
+
*
|
|
2172
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
|
|
2173
|
+
*
|
|
2174
|
+
* ## Attributes & Properties
|
|
2175
|
+
*
|
|
2176
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2177
|
+
*
|
|
2178
|
+
* - `show`: undefined
|
|
2179
|
+
* - `content-id`/`contentId`: undefined
|
|
2180
|
+
* - `ignore-backdrop-clicks`/`ignoreBackdropClicks`: undefined
|
|
2181
|
+
* - `dialogEl`: undefined (property only)
|
|
2182
|
+
* - `dialogInnerEl`: undefined (property only)
|
|
2183
|
+
* - `contentEl`: undefined (property only)
|
|
2184
|
+
*
|
|
2185
|
+
* ## Events
|
|
2186
|
+
*
|
|
2187
|
+
* Events that will be emitted by the component.
|
|
2188
|
+
*
|
|
2189
|
+
* - `shown`: undefined
|
|
2190
|
+
* - `hidden`: undefined
|
|
2191
|
+
*
|
|
2192
|
+
* ## Slots
|
|
2193
|
+
*
|
|
2194
|
+
* Areas where markup can be added to the component.
|
|
2195
|
+
*
|
|
2196
|
+
* - `header`: Typically where you would use the `w-modal-header` component.
|
|
2197
|
+
* - `content`: The main content of the modal.
|
|
2198
|
+
* - `footer`: Typically where you would use the `w-modal-footer` component, for things like actions.
|
|
2199
|
+
*
|
|
2200
|
+
* ## Methods
|
|
2201
|
+
*
|
|
2202
|
+
* Methods that can be called to access component functionality.
|
|
2203
|
+
*
|
|
2204
|
+
* - `open() => void`: undefined
|
|
2205
|
+
* - `close() => void`: undefined
|
|
2206
|
+
* - `handleListeners(verb = 'addEventListener') => void`: undefined
|
|
2207
|
+
* - `eventPreventer(evt: Event) => void`: undefined
|
|
2208
|
+
* - `closeOnBackdropClick(evt: MouseEvent) => void`: undefined
|
|
2209
|
+
* - `interceptEscape(evt: KeyboardEvent) => void`: undefined
|
|
2210
|
+
* - `modifyBorderRadius() => void`: undefined
|
|
2211
|
+
*/
|
|
2212
|
+
"w-modal": Partial<ModalMainProps & BaseProps<ModalMain> & BaseEvents>;
|
|
2213
|
+
|
|
2214
|
+
/**
|
|
2215
|
+
* The header section of a modal, typically where you place the title and a close button.
|
|
2216
|
+
*
|
|
2217
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
|
|
2218
|
+
*
|
|
2219
|
+
* ## Attributes & Properties
|
|
2220
|
+
*
|
|
2221
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2222
|
+
*
|
|
2223
|
+
* - `title`: undefined
|
|
2224
|
+
* - `back`: undefined
|
|
2225
|
+
* - `no-close`/`noClose`: undefined
|
|
2226
|
+
* - `titleEl`: undefined (property only)
|
|
2227
|
+
* - `titleClasses`: undefined (property only) (readonly)
|
|
2228
|
+
* - `backButton`: undefined (property only) (readonly)
|
|
2229
|
+
* - `closeButton`: undefined (property only) (readonly)
|
|
2230
|
+
*
|
|
2231
|
+
* ## Events
|
|
2232
|
+
*
|
|
2233
|
+
* Events that will be emitted by the component.
|
|
2234
|
+
*
|
|
2235
|
+
* - `backClicked`: undefined
|
|
2236
|
+
*
|
|
2237
|
+
* ## Slots
|
|
2238
|
+
*
|
|
2239
|
+
* Areas where markup can be added to the component.
|
|
2240
|
+
*
|
|
2241
|
+
* - `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.
|
|
2242
|
+
*
|
|
2243
|
+
* ## Methods
|
|
2244
|
+
*
|
|
2245
|
+
* Methods that can be called to access component functionality.
|
|
2246
|
+
*
|
|
2247
|
+
* - `emitBack() => void`: undefined
|
|
2248
|
+
* - `handleTopSlotChange(slotEvent) => void`: undefined
|
|
2249
|
+
*/
|
|
2250
|
+
"w-modal-header": Partial<
|
|
2251
|
+
ModalHeaderProps & BaseProps<ModalHeader> & BaseEvents
|
|
2252
|
+
>;
|
|
2253
|
+
|
|
2254
|
+
/**
|
|
2255
|
+
* The footer section of a modal, typically where you place actions.
|
|
2256
|
+
*
|
|
2257
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
|
|
2258
|
+
*/
|
|
2259
|
+
"w-modal-footer": Partial<
|
|
2260
|
+
ModalFooterProps & BaseProps<ModalFooter> & BaseEvents
|
|
2261
|
+
>;
|
|
2262
|
+
|
|
2263
|
+
/**
|
|
2264
|
+
*
|
|
2265
|
+
*
|
|
2266
|
+
* ## Methods
|
|
2267
|
+
*
|
|
2268
|
+
* Methods that can be called to access component functionality.
|
|
2269
|
+
*
|
|
2270
|
+
* - `init() => void`: undefined
|
|
2271
|
+
* - `get(id: string | number) => ToastInternal | undefined`: undefined
|
|
2272
|
+
* - `set(toast: ToastOptions) => Map<string | number, ToastInternal>`: undefined
|
|
2273
|
+
* - `del(id: string | number) => Promise<boolean>`: undefined
|
|
2274
|
+
*/
|
|
2275
|
+
"w-toast-container": Partial<
|
|
2276
|
+
WarpToastContainerProps & BaseProps<WarpToastContainer> & BaseEvents
|
|
2277
|
+
>;
|
|
2278
|
+
|
|
2279
|
+
/**
|
|
2280
|
+
* An input for dates.
|
|
2281
|
+
*
|
|
2282
|
+
* Uses the `lang` attribute on either the element or on `<html>` to determine the locale options.
|
|
2283
|
+
*
|
|
2284
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-datepicker--docs)
|
|
2285
|
+
*
|
|
2286
|
+
* ## Attributes & Properties
|
|
2287
|
+
*
|
|
2288
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2289
|
+
*
|
|
2290
|
+
* - `label`: undefined
|
|
2291
|
+
* - `lang`: Takes precedence over the `<html>` lang attribute.
|
|
2292
|
+
* - `name`: undefined
|
|
2293
|
+
* - `value`: undefined
|
|
2294
|
+
* - `header-format`/`headerFormat`: Decides the format of the date as shown in the calendar header.
|
|
2295
|
+
*
|
|
2296
|
+
* The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
|
|
2297
|
+
* - `weekday-format`/`weekdayFormat`: Decides the format of the weekday as shown above the grid of dates in the calendar.
|
|
2298
|
+
*
|
|
2299
|
+
* The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
|
|
2300
|
+
* - `day-format`/`dayFormat`: Decides the format of the day in the calendar as read to screen readers.
|
|
2301
|
+
*
|
|
2302
|
+
* The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
|
|
2303
|
+
* - `isDayDisabled`: Lets you control if a date in the calendar should be disabled.
|
|
2304
|
+
*
|
|
2305
|
+
* This needs to be set on the element instance in JavaScript, not as an HTML attribute. (property only)
|
|
2306
|
+
* - `isCalendarOpen`: undefined (property only)
|
|
2307
|
+
* - `navigationDate`: undefined (property only)
|
|
2308
|
+
* - `selectedDate`: undefined (property only) (readonly)
|
|
2309
|
+
* - `month`: undefined (property only) (readonly)
|
|
2310
|
+
* - `weeks`: undefined (property only) (readonly)
|
|
2311
|
+
* - `calendar`: undefined (property only)
|
|
2312
|
+
* - `input`: undefined (property only)
|
|
2313
|
+
* - `toggleButton`: undefined (property only)
|
|
2314
|
+
* - `wrapper`: undefined (property only)
|
|
2315
|
+
* - `previousMonthButton`: This is the first focusable element, needed for the modal focus trap.
|
|
2316
|
+
*
|
|
2317
|
+
* Don't cache this and other `@query` fields from inside the calendar modal.
|
|
2318
|
+
* They work the first time, but once the calendar is closed and reopened
|
|
2319
|
+
* the query will point to an element that doesn't exist anymore. (property only)
|
|
2320
|
+
* - `todayCell`: undefined (property only)
|
|
2321
|
+
* - `selectedCell`: undefined (property only)
|
|
2322
|
+
*
|
|
2323
|
+
* ## Methods
|
|
2324
|
+
*
|
|
2325
|
+
* Methods that can be called to access component functionality.
|
|
2326
|
+
*
|
|
2327
|
+
* - `resetFormControl() => void`: undefined
|
|
2328
|
+
*/
|
|
2329
|
+
"w-datepicker": Partial<
|
|
2330
|
+
WarpDatepickerProps & BaseProps<WarpDatepicker> & BaseEvents
|
|
2331
|
+
>;
|
|
2332
|
+
|
|
2333
|
+
/**
|
|
2334
|
+
*
|
|
2335
|
+
*
|
|
2336
|
+
* ## Attributes & Properties
|
|
2337
|
+
*
|
|
2338
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2339
|
+
*
|
|
2340
|
+
* - `name`: undefined
|
|
2341
|
+
* - `value`: undefined
|
|
2342
|
+
* - `checked`: undefined
|
|
2343
|
+
* - `disabled`: undefined
|
|
2344
|
+
*
|
|
2345
|
+
* ## Events
|
|
2346
|
+
*
|
|
2347
|
+
* Events that will be emitted by the component.
|
|
2348
|
+
*
|
|
2349
|
+
* - `change`: undefined
|
|
2350
|
+
*
|
|
2351
|
+
* ## Methods
|
|
2352
|
+
*
|
|
2353
|
+
* Methods that can be called to access component functionality.
|
|
2354
|
+
*
|
|
2355
|
+
* - `resetFormControl() => void`: undefined
|
|
2356
|
+
*/
|
|
2357
|
+
"w-switch": Partial<WarpSwitchProps & BaseProps<WarpSwitch> & BaseEvents>;
|
|
2358
|
+
|
|
2359
|
+
/**
|
|
2360
|
+
* A combobox element for text input with selectable options.
|
|
2361
|
+
*
|
|
2362
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-combobox--docs)
|
|
2363
|
+
*
|
|
2364
|
+
* ## Attributes & Properties
|
|
2365
|
+
*
|
|
2366
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2367
|
+
*
|
|
2368
|
+
* - `options`: The available options to select from
|
|
2369
|
+
* - `label`: Label above input
|
|
2370
|
+
* - `placeholder`: Input placeholder
|
|
2371
|
+
* - `value`: The input value
|
|
2372
|
+
* - `open-on-focus`/`openOnFocus`: Whether the popover opens when focus is on the text field
|
|
2373
|
+
* - `select-on-blur`/`selectOnBlur`: Select active option on blur
|
|
2374
|
+
* - `match-text-segments`/`matchTextSegments`: Whether the matching text segments in the options should be highlighted
|
|
2375
|
+
* - `disable-static-filtering`/`disableStaticFiltering`: Disable client-side static filtering
|
|
2376
|
+
* - `invalid`: Renders the input field in an invalid state
|
|
2377
|
+
* - `help-text`/`helpText`: The content to display as the help text
|
|
2378
|
+
* - `disabled`: Whether the element is disabled
|
|
2379
|
+
* - `required`: Whether the element is required
|
|
2380
|
+
* - `optional`: Whether to show optional text
|
|
2381
|
+
* - `name`: Name attribute for form submission
|
|
2382
|
+
* - `autocomplete`: Autocomplete attribute for the input field
|
|
2383
|
+
*
|
|
2384
|
+
* ## Methods
|
|
2385
|
+
*
|
|
2386
|
+
* Methods that can be called to access component functionality.
|
|
2387
|
+
*
|
|
2388
|
+
* - `resetFormControl() => void`: undefined
|
|
2389
|
+
*/
|
|
2390
|
+
"w-combobox": Partial<
|
|
2391
|
+
WarpComboboxProps & BaseProps<WarpCombobox> & BaseEvents
|
|
2392
|
+
>;
|
|
2393
|
+
|
|
2394
|
+
/**
|
|
2395
|
+
* 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.
|
|
2396
|
+
*
|
|
2397
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-dead-toggle--docs)
|
|
2398
|
+
*
|
|
2399
|
+
* ## Attributes & Properties
|
|
2400
|
+
*
|
|
2401
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2402
|
+
*
|
|
2403
|
+
* - `type`: undefined
|
|
2404
|
+
* - `checked`: undefined
|
|
2405
|
+
* - `indeterminate`: undefined
|
|
2406
|
+
* - `invalid`: undefined
|
|
2407
|
+
* - `disabled`: undefined
|
|
2408
|
+
*/
|
|
2409
|
+
"w-dead-toggle": Partial<
|
|
2410
|
+
WarpDeadToggleProps & BaseProps<WarpDeadToggle> & BaseEvents
|
|
2411
|
+
>;
|
|
2412
|
+
|
|
2413
|
+
/**
|
|
2414
|
+
* A page indicator component that displays a series of dots representing pages.
|
|
2415
|
+
* One dot is highlighted to indicate the currently selected page.
|
|
2416
|
+
*
|
|
2417
|
+
* ## Attributes & Properties
|
|
2418
|
+
*
|
|
2419
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2420
|
+
*
|
|
2421
|
+
* - `selected-page`/`selectedPage`: Currently selected page (1-based index, clamped to valid range)
|
|
2422
|
+
* - `page-count`/`pageCount`: Total number of pages (minimum 1)
|
|
2423
|
+
*/
|
|
2424
|
+
"w-page-indicator": Partial<
|
|
2425
|
+
WarpPageIndicatorProps & BaseProps<WarpPageIndicator> & BaseEvents
|
|
2426
|
+
>;
|
|
2427
|
+
|
|
2428
|
+
/**
|
|
2429
|
+
* Pagination allows users to navigate through multiple pages of content by providing navigation controls with page numbers and directional arrows.
|
|
2430
|
+
*
|
|
2431
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-pagination--docs)
|
|
2432
|
+
*
|
|
2433
|
+
* ## Attributes & Properties
|
|
2434
|
+
*
|
|
2435
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2436
|
+
*
|
|
2437
|
+
* - `base-url`/`baseUrl`: undefined
|
|
2438
|
+
* - `pages`: undefined
|
|
2439
|
+
* - `current-page`/`currentPageNumber`: undefined
|
|
2440
|
+
* - `visible-pages`/`visiblePages`: undefined
|
|
2441
|
+
*
|
|
2442
|
+
* ## Events
|
|
2443
|
+
*
|
|
2444
|
+
* Events that will be emitted by the component.
|
|
2445
|
+
*
|
|
2446
|
+
* - `page-click`: Triggered when a link button in the pagination is clicked. Contains the page number in `string` form.
|
|
2447
|
+
*/
|
|
2448
|
+
"w-pagination": Partial<
|
|
2449
|
+
WarpPaginationProps & BaseProps<WarpPagination> & BaseEvents
|
|
2450
|
+
>;
|
|
2451
|
+
|
|
2452
|
+
/**
|
|
2453
|
+
*
|
|
2454
|
+
*
|
|
2455
|
+
* ## Attributes & Properties
|
|
2456
|
+
*
|
|
2457
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2458
|
+
*
|
|
2459
|
+
* - `form`: The string pointing to a form's id.
|
|
2460
|
+
* - `value`: The radio's value. When selected, the radio group will receive this value.
|
|
2461
|
+
* - `appearance`: The radio's value. When selected, the radio group will receive this value.
|
|
2462
|
+
* - `size`: The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this
|
|
2463
|
+
* attribute can typically be omitted.
|
|
2464
|
+
* - `disabled`: Disables the radio.
|
|
2465
|
+
* - `checked`: undefined (property only)
|
|
2466
|
+
*
|
|
2467
|
+
* ## Methods
|
|
2468
|
+
*
|
|
2469
|
+
* Methods that can be called to access component functionality.
|
|
2470
|
+
*
|
|
2471
|
+
* - `setValue() => void`: undefined
|
|
2472
|
+
*/
|
|
2473
|
+
"w-radio": Partial<WRadioProps & BaseProps<WRadio> & BaseEvents>;
|
|
2474
|
+
|
|
2475
|
+
/**
|
|
2476
|
+
*
|
|
2477
|
+
*
|
|
2478
|
+
* ## Attributes & Properties
|
|
2479
|
+
*
|
|
2480
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2481
|
+
*
|
|
2482
|
+
* - `label`: The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot
|
|
2483
|
+
* instead.
|
|
2484
|
+
* - `hint`: The radio groups's hint. If you need to display HTML, use the `hint` slot instead.
|
|
2485
|
+
* - `name`: The name of the radio group, submitted as a name/value pair with form data.
|
|
2486
|
+
* - `disabled`: Disables the radio group and all child radios.
|
|
2487
|
+
* - `orientation`: The orientation in which to show radio items.
|
|
2488
|
+
* - `value`/`defaultValue`: The default value of the form control. Primarily used for resetting the form control.
|
|
2489
|
+
* - `size`: The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden.
|
|
2490
|
+
* - `required`: Ensures a child radio is checked before allowing the containing form to submit.
|
|
2491
|
+
* - `with-label`/`withLabel`: Used for SSR. if true, will show slotted label on initial render.
|
|
2492
|
+
* - `with-hint`/`withHint`: Used for SSR. if true, will show slotted hint on initial render.
|
|
2493
|
+
* - `hasRadioButtons`: undefined (property only)
|
|
2494
|
+
* - `defaultSlot`: undefined (property only)
|
|
2495
|
+
* - `value`: The current value of the radio group, submitted as a name/value pair with form data. (property only)
|
|
2496
|
+
* - `validationTarget`: We use the first available radio as the validationTarget similar to native HTML that shows the validation popup on
|
|
2497
|
+
* the first radio element. (property only) (readonly)
|
|
2498
|
+
*
|
|
2499
|
+
* ## Events
|
|
2500
|
+
*
|
|
2501
|
+
* Events that will be emitted by the component.
|
|
2502
|
+
*
|
|
2503
|
+
* - `input`: undefined
|
|
2504
|
+
* - `change`: undefined
|
|
2505
|
+
*
|
|
2506
|
+
* ## Slots
|
|
2507
|
+
*
|
|
2508
|
+
* Areas where markup can be added to the component.
|
|
2509
|
+
*
|
|
2510
|
+
* - `label`: Alternative to the `label` attribute should you need custom HTML.
|
|
2511
|
+
*
|
|
2512
|
+
* ## Methods
|
|
2513
|
+
*
|
|
2514
|
+
* Methods that can be called to access component functionality.
|
|
2515
|
+
*
|
|
2516
|
+
* - `formResetCallback(args: Parameters<BaseFormAssociatedElement['formResetCallback']>) => void`: undefined
|
|
2517
|
+
* - `focus(options?: FocusOptions) => void`: Sets focus on the radio group.
|
|
2518
|
+
*/
|
|
2519
|
+
"w-radio-group": Partial<
|
|
2520
|
+
WRadioGroupProps & BaseProps<WRadioGroup> & BaseEvents
|
|
2521
|
+
>;
|
|
2522
|
+
|
|
2523
|
+
/**
|
|
2524
|
+
*
|
|
2525
|
+
*
|
|
2526
|
+
* ## Attributes & Properties
|
|
2527
|
+
*
|
|
2528
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2529
|
+
*
|
|
2530
|
+
* - `title`: undefined
|
|
2531
|
+
* - `name`: The name of the checkbox, submitted as a name/value pair with form data.
|
|
2532
|
+
* - `value`: The value of the checkbox, submitted as a name/value pair with form data.
|
|
2533
|
+
* - `size`: The checkbox's size.
|
|
2534
|
+
* - `disabled`: Disables the checkbox.
|
|
2535
|
+
* - `indeterminate`: Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a "select
|
|
2536
|
+
* all/none" behavior when associated checkboxes have a mix of checked and unchecked states.
|
|
2537
|
+
* - `checked`/`defaultChecked`: The default value of the form control. Primarily used for resetting the form control.
|
|
2538
|
+
* - `form`: By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
|
|
2539
|
+
* to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
|
|
2540
|
+
* the same document or shadow root for this to work.
|
|
2541
|
+
* - `required`: Makes the checkbox a required field.
|
|
2542
|
+
* - `hint`: The checkbox's hint. If you need to display HTML, use the `hint` slot instead.
|
|
2543
|
+
* - `input`: undefined (property only)
|
|
2544
|
+
* - `checked`: Draws the checkbox in a checked state. (property only)
|
|
2545
|
+
*
|
|
2546
|
+
* ## Events
|
|
2547
|
+
*
|
|
2548
|
+
* Events that will be emitted by the component.
|
|
2549
|
+
*
|
|
2550
|
+
* - `change`: undefined
|
|
2551
|
+
*
|
|
2552
|
+
* ## Methods
|
|
2553
|
+
*
|
|
2554
|
+
* Methods that can be called to access component functionality.
|
|
2555
|
+
*
|
|
2556
|
+
* - `handleDefaultCheckedChange() => void`: undefined
|
|
2557
|
+
* - `handleValueOrCheckedChange() => void`: undefined
|
|
2558
|
+
* - `handleStateChange() => void`: undefined
|
|
2559
|
+
* - `handleDisabledChange() => void`: undefined
|
|
2560
|
+
* - `formResetCallback() => void`: undefined
|
|
2561
|
+
* - `click() => void`: Simulates a click on the checkbox.
|
|
2562
|
+
* - `focus(options?: FocusOptions) => void`: Sets focus on the checkbox.
|
|
2563
|
+
* - `blur() => void`: Removes focus from the checkbox.
|
|
2564
|
+
*/
|
|
2565
|
+
"w-checkbox": Partial<WCheckboxProps & BaseProps<WCheckbox> & BaseEvents>;
|
|
2566
|
+
|
|
2567
|
+
/**
|
|
2568
|
+
*
|
|
2569
|
+
*/
|
|
2570
|
+
"w-checkbox-group": Partial<
|
|
2571
|
+
WCheckboxGroupProps & BaseProps<WCheckboxGroup> & BaseEvents
|
|
2572
|
+
>;
|
|
2573
|
+
|
|
2574
|
+
/**
|
|
2575
|
+
* Component to place inside a `<w-slider>`.
|
|
2576
|
+
*
|
|
2577
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)
|
|
2578
|
+
*
|
|
2579
|
+
* ## Attributes & Properties
|
|
2580
|
+
*
|
|
2581
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2582
|
+
*
|
|
2583
|
+
* - `aria-label`/`ariaLabel`: undefined
|
|
2584
|
+
* - `aria-description`/`ariaDescription`: undefined
|
|
2585
|
+
* - `label`: undefined
|
|
2586
|
+
* - `name`: undefined
|
|
2587
|
+
* - `value`: undefined
|
|
2588
|
+
* - `disabled`: undefined
|
|
2589
|
+
* - `invalid`: undefined
|
|
2590
|
+
* - `allowValuesOutsideRange`: Set by `<w-slider>` (property only)
|
|
2591
|
+
* - `markers`: Set by `<w-slider>` (property only)
|
|
2592
|
+
* - `required`: Set by `<w-slider>` (property only)
|
|
2593
|
+
* - `step`: Set by `<w-slider>` (property only)
|
|
2594
|
+
* - `min`: Set by `<w-slider>` (property only)
|
|
2595
|
+
* - `max`: Set by `<w-slider>` (property only)
|
|
2596
|
+
* - `suffix`: Set by `<w-slider>` (property only)
|
|
2597
|
+
* - `formatter`: JS hook to help you format the numeric value how you want. (property only)
|
|
2598
|
+
* - `range`: undefined (property only)
|
|
2599
|
+
* - `textfield`: undefined (property only)
|
|
2600
|
+
* - `boundaryValue`: undefined (property only) (readonly)
|
|
2601
|
+
* - `textFieldDisplayValue`: Value to display in the textfield (shows boundary when focused on empty value) (property only) (readonly)
|
|
2602
|
+
* - `tooltipDisplayValue`: Value to display in the tooltip (property only) (readonly)
|
|
2603
|
+
*
|
|
2604
|
+
* ## Events
|
|
2605
|
+
*
|
|
2606
|
+
* Events that will be emitted by the component.
|
|
2607
|
+
*
|
|
2608
|
+
* - `slidervalidity`: undefined
|
|
2609
|
+
*
|
|
2610
|
+
* ## Methods
|
|
2611
|
+
*
|
|
2612
|
+
* Methods that can be called to access component functionality.
|
|
2613
|
+
*
|
|
2614
|
+
* - `resetFormControl() => void`: undefined
|
|
2615
|
+
* - `updateFieldAfterValidation() => void`: undefined
|
|
2616
|
+
*/
|
|
2617
|
+
"w-slider-thumb": Partial<
|
|
2618
|
+
WarpSliderThumbProps & BaseProps<WarpSliderThumb> & BaseEvents
|
|
2619
|
+
>;
|
|
2620
|
+
|
|
2621
|
+
/**
|
|
2622
|
+
* Parent component for sliders (both single and range sliders). Used in combination with a `<w-slider-thumb>`.
|
|
2623
|
+
*
|
|
2624
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)
|
|
2625
|
+
*
|
|
2626
|
+
* ## Attributes & Properties
|
|
2627
|
+
*
|
|
2628
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2629
|
+
*
|
|
2630
|
+
* - `label`: The slider fieldset label. Required for proper accessibility.
|
|
2631
|
+
*
|
|
2632
|
+
* If you need to display HTML, use the `label` slot instead.
|
|
2633
|
+
* - `disabled`: undefined
|
|
2634
|
+
* - `allow-values-outside-range`/`allowValuesOutsideRange`: undefined
|
|
2635
|
+
* - `error`: undefined
|
|
2636
|
+
* - `help-text`/`helpText`: undefined
|
|
2637
|
+
* - `invalid`: undefined
|
|
2638
|
+
* - `required`: Ensures a child slider thumb has a value before allowing the containing form to submit.
|
|
2639
|
+
* - `min`: undefined
|
|
2640
|
+
* - `max`: undefined
|
|
2641
|
+
* - `markers`: Pass a value similar to step to create visual markers at that interval
|
|
2642
|
+
* - `step`: undefined
|
|
2643
|
+
* - `suffix`: Suffix used in text input fields and for the min and max values of the slider.
|
|
2644
|
+
* - `formatter`: Function to format the to- and from labels and value in the slider thumb tooltip. (property only)
|
|
2645
|
+
* - `_invalidMessage`: undefined (property only)
|
|
2646
|
+
* - `_hasInternalError`: undefined (property only)
|
|
2647
|
+
* - `edgeMin`: undefined (property only) (readonly)
|
|
2648
|
+
* - `edgeMax`: undefined (property only) (readonly)
|
|
2649
|
+
* - `componentHasError`: undefined (property only) (readonly)
|
|
2650
|
+
* - `errorText`: undefined (property only) (readonly)
|
|
2651
|
+
*
|
|
2652
|
+
* ## Slots
|
|
2653
|
+
*
|
|
2654
|
+
* Areas where markup can be added to the component.
|
|
2655
|
+
*
|
|
2656
|
+
* - `(default)`: For single sliders place a `<w-slider-thumb>` in the default slot.
|
|
2657
|
+
* - `label`: Label for the slider or range slider as a whole.
|
|
2658
|
+
* - `description`: Optional description between the label and slider.
|
|
2659
|
+
* - `from`: Range sliders need to place a `<w-slider-thumb>` in the from and to slots.
|
|
2660
|
+
* - `to`: Range sliders need to place a `<w-slider-thumb>` in the from and to slots.
|
|
2661
|
+
*/
|
|
2662
|
+
"w-slider": Partial<WarpSliderProps & BaseProps<WarpSlider> & BaseEvents>;
|
|
2663
|
+
|
|
2664
|
+
/**
|
|
2665
|
+
* Individual step component that shows a single step in a process
|
|
2666
|
+
*
|
|
2667
|
+
* ## Attributes & Properties
|
|
2668
|
+
*
|
|
2669
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2670
|
+
*
|
|
2671
|
+
* - `active`: undefined
|
|
2672
|
+
* - `completed`: undefined
|
|
2673
|
+
*
|
|
2674
|
+
* ## Methods
|
|
2675
|
+
*
|
|
2676
|
+
* Methods that can be called to access component functionality.
|
|
2677
|
+
*
|
|
2678
|
+
* - `setContext(context: StepsContext) => void`: undefined
|
|
2679
|
+
* - `getAriaLabel() => void`: undefined
|
|
2680
|
+
*/
|
|
2681
|
+
"w-step": Partial<WarpStepProps & BaseProps<WarpStep> & BaseEvents>;
|
|
2682
|
+
|
|
2683
|
+
/**
|
|
2684
|
+
* Steps are used to show progress through a process or to guide users through a multi-step task.
|
|
2685
|
+
*
|
|
2686
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/components-steps--docs)
|
|
2687
|
+
*
|
|
2688
|
+
* ## Attributes & Properties
|
|
2689
|
+
*
|
|
2690
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2691
|
+
*
|
|
2692
|
+
* - `horizontal`: undefined
|
|
2693
|
+
* - `right`: undefined
|
|
2694
|
+
*
|
|
2695
|
+
* ## Methods
|
|
2696
|
+
*
|
|
2697
|
+
* Methods that can be called to access component functionality.
|
|
2698
|
+
*
|
|
2699
|
+
* - `updateStepsContext() => void`: undefined
|
|
2700
|
+
*/
|
|
2701
|
+
"w-step-indicator": Partial<
|
|
2702
|
+
WarpStepIndicatorProps & BaseProps<WarpStepIndicator> & BaseEvents
|
|
2703
|
+
>;
|
|
2704
|
+
|
|
2705
|
+
/**
|
|
2706
|
+
* Individual tab component used within w-tabs container.
|
|
2707
|
+
*
|
|
2708
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
|
|
2709
|
+
*
|
|
2710
|
+
* ## Attributes & Properties
|
|
2711
|
+
*
|
|
2712
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2713
|
+
*
|
|
2714
|
+
* - `for`: undefined
|
|
2715
|
+
* - `active`: undefined
|
|
2716
|
+
* - `over`: undefined
|
|
2717
|
+
*/
|
|
2718
|
+
"w-tab": Partial<WarpTabProps & BaseProps<WarpTab> & BaseEvents>;
|
|
2719
|
+
|
|
2720
|
+
/**
|
|
2721
|
+
* Tab panel component that holds content for individual tabs.
|
|
2722
|
+
* Each tab panel should have a name that matches a corresponding tab.
|
|
2723
|
+
*
|
|
2724
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
|
|
2725
|
+
*
|
|
2726
|
+
* ## Attributes & Properties
|
|
2727
|
+
*
|
|
2728
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2729
|
+
*
|
|
2730
|
+
* - `hidden`: undefined
|
|
2731
|
+
*/
|
|
2732
|
+
"w-tab-panel": Partial<
|
|
2733
|
+
WarpTabPanelProps & BaseProps<WarpTabPanel> & BaseEvents
|
|
2734
|
+
>;
|
|
2735
|
+
|
|
2736
|
+
/**
|
|
2737
|
+
* Tabs are used to organize content by grouping similar information on the same page.
|
|
2738
|
+
*
|
|
2739
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
|
|
2740
|
+
*
|
|
2741
|
+
* ## Attributes & Properties
|
|
2742
|
+
*
|
|
2743
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2744
|
+
*
|
|
2745
|
+
* - `active`: undefined
|
|
2746
|
+
* - `tabs`: undefined (property only) (readonly)
|
|
2747
|
+
* - `activeTab`: undefined (property only) (readonly)
|
|
2748
|
+
*
|
|
2749
|
+
* ## Events
|
|
2750
|
+
*
|
|
2751
|
+
* Events that will be emitted by the component.
|
|
2752
|
+
*
|
|
2753
|
+
* - `change`: undefined
|
|
2754
|
+
*/
|
|
2755
|
+
"w-tabs": Partial<WarpTabsProps & BaseProps<WarpTabs> & BaseEvents>;
|
|
2756
|
+
|
|
2757
|
+
/**
|
|
2758
|
+
* A single line text input element.
|
|
2759
|
+
*
|
|
2760
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)
|
|
2761
|
+
*
|
|
2762
|
+
* ## Attributes & Properties
|
|
2763
|
+
*
|
|
2764
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2765
|
+
*
|
|
2766
|
+
* - `disabled`: undefined
|
|
2767
|
+
* - `invalid`: undefined
|
|
2768
|
+
* - `label`: undefined
|
|
2769
|
+
* - `help-text`/`helpText`: undefined
|
|
2770
|
+
* - `maximum-rows`/`maxRows`: undefined
|
|
2771
|
+
* - `minimum-rows`/`minRows`: undefined
|
|
2772
|
+
* - `name`: undefined
|
|
2773
|
+
* - `placeholder`: undefined
|
|
2774
|
+
* - `read-only`/`readOnly`: undefined
|
|
2775
|
+
* - `readonly`: undefined
|
|
2776
|
+
* - `required`: undefined
|
|
2777
|
+
* - `value`: undefined
|
|
2778
|
+
* - `optional`: undefined
|
|
2779
|
+
* - `minHeight`: undefined (property only)
|
|
2780
|
+
* - `maxHeight`: undefined (property only)
|
|
2781
|
+
*
|
|
2782
|
+
* ## Methods
|
|
2783
|
+
*
|
|
2784
|
+
* Methods that can be called to access component functionality.
|
|
2785
|
+
*
|
|
2786
|
+
* - `resetFormControl() => void`: undefined
|
|
2787
|
+
* - `handler(e: InputEvent) => void`: undefined
|
|
2788
|
+
*/
|
|
2789
|
+
"w-textarea": Partial<
|
|
2790
|
+
WarpTextareaProps & BaseProps<WarpTextarea> & BaseEvents
|
|
2791
|
+
>;
|
|
2792
|
+
};
|
|
2793
|
+
|
|
2794
|
+
export type CustomElementsSolidJs = {
|
|
2795
|
+
/**
|
|
2796
|
+
* This component is usually used in other components like form elements to show a prefix or suffix. See for example `w-textfield`.
|
|
2797
|
+
*
|
|
2798
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-affix--docs)
|
|
2799
|
+
*
|
|
2800
|
+
* ## Attributes & Properties
|
|
2801
|
+
*
|
|
2802
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2803
|
+
*
|
|
2804
|
+
* - `aria-label`/`ariaLabel`: undefined
|
|
2805
|
+
* - `clear`: Add this property to render a clickable Warp close icon.
|
|
2806
|
+
*
|
|
2807
|
+
* Set an `aria-label` that explains the action when using this.
|
|
2808
|
+
* - `search`: Add this property to render a clickable Warp search icon.
|
|
2809
|
+
*
|
|
2810
|
+
* Set an `aria-label` that explains the action when using this.
|
|
2811
|
+
* - `label`: undefined
|
|
2812
|
+
*/
|
|
2813
|
+
"w-affix": Partial<
|
|
2814
|
+
WarpAffixProps & WarpAffixSolidJsProps & BaseProps<WarpAffix> & BaseEvents
|
|
2815
|
+
>;
|
|
2816
|
+
|
|
2817
|
+
/**
|
|
2818
|
+
* Alert is an inline component used for displaying different types of messages.
|
|
2819
|
+
*
|
|
2820
|
+
* For accessibility reasons, alert should appear close to the element that triggered it.
|
|
2821
|
+
*
|
|
2822
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/feedback-alert--docs)
|
|
2823
|
+
*
|
|
2824
|
+
* ## Attributes & Properties
|
|
2825
|
+
*
|
|
2826
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2827
|
+
*
|
|
2828
|
+
* - `variant`: undefined
|
|
2829
|
+
* - `show`: undefined
|
|
2830
|
+
* - `role`: undefined
|
|
2831
|
+
*/
|
|
2832
|
+
"w-alert": Partial<
|
|
2833
|
+
WarpAlertProps & WarpAlertSolidJsProps & BaseProps<WarpAlert> & BaseEvents
|
|
2834
|
+
>;
|
|
2835
|
+
|
|
2836
|
+
/**
|
|
2837
|
+
* Buttons are used to perform actions, with different visuals for different needs.
|
|
2838
|
+
*
|
|
2839
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-link--docs)
|
|
2840
|
+
*
|
|
2841
|
+
* ## Attributes & Properties
|
|
2842
|
+
*
|
|
2843
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2844
|
+
*
|
|
2845
|
+
* - `autofocus`: undefined
|
|
2846
|
+
* - `variant`: undefined
|
|
2847
|
+
* - `small`: undefined
|
|
2848
|
+
* - `href`: undefined
|
|
2849
|
+
* - `disabled`: undefined
|
|
2850
|
+
* - `target`: undefined
|
|
2851
|
+
* - `rel`: undefined
|
|
2852
|
+
* - `full-width`/`fullWidth`: undefined
|
|
2853
|
+
*/
|
|
2854
|
+
"w-link": Partial<
|
|
2855
|
+
WarpLinkProps & WarpLinkSolidJsProps & BaseProps<WarpLink> & BaseEvents
|
|
2856
|
+
>;
|
|
2857
|
+
|
|
2858
|
+
/**
|
|
2859
|
+
* Buttons are used to perform actions, widh different visuals for different needs.
|
|
2860
|
+
*
|
|
2861
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-button--docs)
|
|
2862
|
+
*
|
|
2863
|
+
* ## Attributes & Properties
|
|
2864
|
+
*
|
|
2865
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2866
|
+
*
|
|
2867
|
+
* - `type`: undefined
|
|
2868
|
+
* - `autofocus`: undefined
|
|
2869
|
+
* - `variant`: undefined
|
|
2870
|
+
* - `quiet`: undefined
|
|
2871
|
+
* - `small`: undefined
|
|
2872
|
+
* - `loading`: undefined
|
|
2873
|
+
* - `href`: undefined
|
|
2874
|
+
* - `target`: undefined
|
|
2875
|
+
* - `rel`: undefined
|
|
2876
|
+
* - `full-width`/`fullWidth`: undefined
|
|
2877
|
+
* - `button-class`/`buttonClass`: undefined
|
|
2878
|
+
* - `name`: undefined
|
|
2879
|
+
* - `value`: undefined
|
|
2880
|
+
* - `ariaValueTextLoading`: undefined (property only)
|
|
2881
|
+
*
|
|
2882
|
+
* ## Methods
|
|
2883
|
+
*
|
|
2884
|
+
* Methods that can be called to access component functionality.
|
|
2885
|
+
*
|
|
2886
|
+
* - `resetFormControl() => void`: undefined
|
|
2887
|
+
*/
|
|
2888
|
+
"w-button": Partial<
|
|
2889
|
+
WarpButtonProps &
|
|
2890
|
+
WarpButtonSolidJsProps &
|
|
2891
|
+
BaseProps<WarpButton> &
|
|
2892
|
+
BaseEvents
|
|
2893
|
+
>;
|
|
2894
|
+
|
|
2895
|
+
/**
|
|
2896
|
+
*
|
|
2897
|
+
*
|
|
2898
|
+
* ## Attributes & Properties
|
|
2899
|
+
*
|
|
2900
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2901
|
+
*
|
|
2902
|
+
* - `show`: undefined
|
|
2903
|
+
* - `placement`: undefined
|
|
2904
|
+
* - `tooltip`: undefined
|
|
2905
|
+
* - `callout`: undefined
|
|
2906
|
+
* - `popover`: undefined
|
|
2907
|
+
* - `highlight`: undefined
|
|
2908
|
+
* - `can-close`/`canClose`: undefined
|
|
2909
|
+
* - `no-arrow`/`noArrow`: undefined
|
|
2910
|
+
* - `distance`: undefined
|
|
2911
|
+
* - `skidding`: undefined
|
|
2912
|
+
* - `flip`: undefined
|
|
2913
|
+
* - `cross-axis`/`crossAxis`: undefined
|
|
2914
|
+
* - `fallback-placements`/`fallbackPlacements`: undefined
|
|
2915
|
+
* - `_initialPlacement`: undefined (property only)
|
|
2916
|
+
* - `_actualDirection`: undefined (property only)
|
|
2917
|
+
*
|
|
2918
|
+
* ## Methods
|
|
2919
|
+
*
|
|
2920
|
+
* Methods that can be called to access component functionality.
|
|
2921
|
+
*
|
|
2922
|
+
* - `handleDone() => void`: undefined
|
|
2923
|
+
* - `pointingAtDirection() => void`: undefined
|
|
2924
|
+
* - `activeAttentionType() => void`: undefined
|
|
2925
|
+
* - `defaultAriaLabel() => void`: undefined
|
|
2926
|
+
* - `setAriaLabels() => void`: undefined
|
|
2927
|
+
* - `close() => void`: undefined
|
|
2928
|
+
* - `keypressed(e: KeyboardEvent) => void`: undefined
|
|
2929
|
+
*/
|
|
2930
|
+
"w-attention": Partial<
|
|
2931
|
+
WarpAttentionProps &
|
|
2932
|
+
WarpAttentionSolidJsProps &
|
|
2933
|
+
BaseProps<WarpAttention> &
|
|
2934
|
+
BaseEvents
|
|
2935
|
+
>;
|
|
2936
|
+
|
|
2937
|
+
/**
|
|
2938
|
+
* `w-badge` is used for showing a small amount of non-interactive color-categorized metadata, like a status or count.
|
|
2939
|
+
*
|
|
2940
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-badge--docs)
|
|
2941
|
+
*
|
|
2942
|
+
* ## Attributes & Properties
|
|
2943
|
+
*
|
|
2944
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2945
|
+
*
|
|
2946
|
+
* - `variant`: undefined
|
|
2947
|
+
* - `position`: undefined
|
|
2948
|
+
*/
|
|
2949
|
+
"w-badge": Partial<
|
|
2950
|
+
WarpBadgeProps & WarpBadgeSolidJsProps & BaseProps<WarpBadge> & BaseEvents
|
|
2951
|
+
>;
|
|
2952
|
+
|
|
2953
|
+
/**
|
|
2954
|
+
* Box is a layout component used for separating content areas on a page.
|
|
2955
|
+
*
|
|
2956
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-box--docs)
|
|
2957
|
+
*
|
|
2958
|
+
* ## Attributes & Properties
|
|
2959
|
+
*
|
|
2960
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2961
|
+
*
|
|
2962
|
+
* - `bleed`: undefined
|
|
2963
|
+
* - `bordered`: undefined
|
|
2964
|
+
* - `info`: undefined
|
|
2965
|
+
* - `neutral`: undefined
|
|
2966
|
+
* - `role`: undefined
|
|
2967
|
+
*/
|
|
2968
|
+
"w-box": Partial<
|
|
2969
|
+
WarpBoxProps & WarpBoxSolidJsProps & BaseProps<WarpBox> & BaseEvents
|
|
2970
|
+
>;
|
|
2971
|
+
|
|
2972
|
+
/**
|
|
2973
|
+
* Breadcrumbs show the navigation structure for the current location.
|
|
2974
|
+
*
|
|
2975
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-breadcrumbs--docs)
|
|
2976
|
+
*
|
|
2977
|
+
* ## Attributes & Properties
|
|
2978
|
+
*
|
|
2979
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2980
|
+
*
|
|
2981
|
+
* - `aria-label`/`ariaLabel`: undefined
|
|
2982
|
+
*/
|
|
2983
|
+
"w-breadcrumbs": Partial<
|
|
2984
|
+
WarpBreadcrumbsProps &
|
|
2985
|
+
WarpBreadcrumbsSolidJsProps &
|
|
2986
|
+
BaseProps<WarpBreadcrumbs> &
|
|
2987
|
+
BaseEvents
|
|
2988
|
+
>;
|
|
2989
|
+
|
|
2990
|
+
/**
|
|
2991
|
+
* Card is a layout component used for separating content areas on a page.
|
|
2992
|
+
*
|
|
2993
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-card--docs)
|
|
2994
|
+
*
|
|
2995
|
+
* ## Attributes & Properties
|
|
2996
|
+
*
|
|
2997
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2998
|
+
*
|
|
2999
|
+
* - `selected`: undefined
|
|
3000
|
+
* - `flat`: undefined
|
|
3001
|
+
* - `clickable`: undefined
|
|
3002
|
+
* - `buttonText`: undefined (property only)
|
|
3003
|
+
*
|
|
3004
|
+
* ## Methods
|
|
3005
|
+
*
|
|
3006
|
+
* Methods that can be called to access component functionality.
|
|
3007
|
+
*
|
|
3008
|
+
* - `keypressed(e: KeyboardEvent) => void`: undefined
|
|
3009
|
+
*/
|
|
3010
|
+
"w-card": Partial<
|
|
3011
|
+
WarpCardProps & WarpCardSolidJsProps & BaseProps<WarpCard> & BaseEvents
|
|
3012
|
+
>;
|
|
3013
|
+
|
|
3014
|
+
/**
|
|
3015
|
+
* Expandable is a layout component used for creating expandable content areas on a page.
|
|
3016
|
+
*
|
|
3017
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-expandable--docs)
|
|
3018
|
+
*
|
|
3019
|
+
* ## Attributes & Properties
|
|
3020
|
+
*
|
|
3021
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3022
|
+
*
|
|
3023
|
+
* - `expanded`: undefined
|
|
3024
|
+
* - `title`: undefined
|
|
3025
|
+
* - `box`: undefined
|
|
3026
|
+
* - `bleed`: undefined
|
|
3027
|
+
* - `button-class`/`buttonClass`: undefined
|
|
3028
|
+
* - `content-class`/`contentClass`: undefined
|
|
3029
|
+
* - `no-chevron`/`noChevron`: undefined
|
|
3030
|
+
* - `animated`: undefined
|
|
3031
|
+
* - `heading-level`/`headingLevel`: undefined
|
|
3032
|
+
* - `_hasTitle`: undefined
|
|
3033
|
+
* - `_showChevronUp`: undefined
|
|
3034
|
+
*
|
|
3035
|
+
* ## Slots
|
|
3036
|
+
*
|
|
3037
|
+
* Areas where markup can be added to the component.
|
|
3038
|
+
*
|
|
3039
|
+
* - `title`: Alternative to the `title` attribute should you need to provide some additional markup.
|
|
3040
|
+
*/
|
|
3041
|
+
"w-expandable": Partial<
|
|
3042
|
+
WarpExpandableProps &
|
|
3043
|
+
WarpExpandableSolidJsProps &
|
|
3044
|
+
BaseProps<WarpExpandable> &
|
|
3045
|
+
BaseEvents
|
|
3046
|
+
>;
|
|
3047
|
+
|
|
3048
|
+
/**
|
|
3049
|
+
* 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.
|
|
3050
|
+
*
|
|
3051
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-pill--docs)
|
|
3052
|
+
*
|
|
3053
|
+
* ## Attributes & Properties
|
|
3054
|
+
*
|
|
3055
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3056
|
+
*
|
|
3057
|
+
* - `can-close`/`canClose`: undefined
|
|
3058
|
+
* - `suggestion`: undefined
|
|
3059
|
+
* - `open-sr-label`/`openSrLabel`: undefined
|
|
3060
|
+
* - `open-aria-label`/`openAriaLabel`: undefined
|
|
3061
|
+
* - `close-sr-label`/`closeSrLabel`: undefined
|
|
3062
|
+
* - `close-aria-label`/`closeAriaLabel`: undefined
|
|
3063
|
+
* - `openFilterSrText`: undefined (property only)
|
|
3064
|
+
* - `removeFilterSrText`: undefined (property only)
|
|
3065
|
+
*
|
|
3066
|
+
* ## Events
|
|
3067
|
+
*
|
|
3068
|
+
* Events that will be emitted by the component.
|
|
3069
|
+
*
|
|
3070
|
+
* - `w-pill-click`: undefined
|
|
3071
|
+
* - `w-pill-close`: undefined
|
|
3072
|
+
*/
|
|
3073
|
+
"w-pill": Partial<
|
|
3074
|
+
WarpPillProps & WarpPillSolidJsProps & BaseProps<WarpPill> & BaseEvents
|
|
3075
|
+
>;
|
|
3076
|
+
|
|
3077
|
+
/**
|
|
3078
|
+
* A dropdown component for selecting a single value.
|
|
3079
|
+
*
|
|
3080
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-select--docs)
|
|
3081
|
+
*
|
|
3082
|
+
* ## Attributes & Properties
|
|
3083
|
+
*
|
|
3084
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3085
|
+
*
|
|
3086
|
+
* - `auto-focus`/`autoFocus`: Whether the element should receive focus on render.
|
|
3087
|
+
* - `autofocus`: Whether the element should receive focus on render
|
|
3088
|
+
* - `help-text`/`helpText`: The content displayed as the help text. Paired with `invalid` to show the text as a validation error.
|
|
3089
|
+
* - `invalid`: Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error.
|
|
3090
|
+
* - `always`: Whether to always show a hint.
|
|
3091
|
+
* - `hint`: The content displayed as the help text.
|
|
3092
|
+
* - `label`: The content to disply as the label
|
|
3093
|
+
* - `optional`: Whether to show optional text
|
|
3094
|
+
* - `disabled`: Renders the field in a disabled state.
|
|
3095
|
+
* - `read-only`/`readOnly`: Renders the field in a readonly state.
|
|
3096
|
+
* - `readonly`: Renders the field in a readonly state.
|
|
3097
|
+
* - `name`: undefined
|
|
3098
|
+
* - `value`: undefined
|
|
3099
|
+
*
|
|
3100
|
+
* ## Methods
|
|
3101
|
+
*
|
|
3102
|
+
* Methods that can be called to access component functionality.
|
|
3103
|
+
*
|
|
3104
|
+
* - `resetFormControl() => void`: undefined
|
|
3105
|
+
* - `handleKeyDown(event: KeyboardEvent) => void`: undefined
|
|
3106
|
+
* - `onChange({ target }) => void`: undefined
|
|
3107
|
+
*/
|
|
3108
|
+
"w-select": Partial<
|
|
3109
|
+
WarpSelectProps &
|
|
3110
|
+
WarpSelectSolidJsProps &
|
|
3111
|
+
BaseProps<WarpSelect> &
|
|
3112
|
+
BaseEvents
|
|
3113
|
+
>;
|
|
3114
|
+
|
|
3115
|
+
/**
|
|
3116
|
+
* A single line text input element.
|
|
3117
|
+
*
|
|
3118
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)
|
|
3119
|
+
*
|
|
3120
|
+
* ## Attributes & Properties
|
|
3121
|
+
*
|
|
3122
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3123
|
+
*
|
|
3124
|
+
* - `disabled`: undefined
|
|
3125
|
+
* - `invalid`: undefined
|
|
3126
|
+
* - `id`: undefined
|
|
3127
|
+
* - `label`: undefined
|
|
3128
|
+
* - `help-text`/`helpText`: undefined
|
|
3129
|
+
* - `size`: undefined
|
|
3130
|
+
* - `max`: undefined
|
|
3131
|
+
* - `min`: undefined
|
|
3132
|
+
* - `min-length`/`minLength`: undefined
|
|
3133
|
+
* - `max-length`/`maxLength`: undefined
|
|
3134
|
+
* - `pattern`: undefined
|
|
3135
|
+
* - `placeholder`: undefined
|
|
3136
|
+
* - `read-only`/`readOnly`: undefined
|
|
3137
|
+
* - `readonly`: undefined
|
|
3138
|
+
* - `required`: undefined
|
|
3139
|
+
* - `type`: undefined
|
|
3140
|
+
* - `value`: undefined
|
|
3141
|
+
* - `name`: undefined
|
|
3142
|
+
* - `step`: undefined
|
|
3143
|
+
* - `autocomplete`: undefined
|
|
3144
|
+
* - `formatter`: Function to format value when the input field.
|
|
3145
|
+
*
|
|
3146
|
+
* Only active when the input field does not have focus,
|
|
3147
|
+
* similar to the accessible input masking example from Filament Group
|
|
3148
|
+
*
|
|
3149
|
+
* https://css-tricks.com/input-masking/
|
|
3150
|
+
* https://filamentgroup.github.io/politespace/demo/demo.html (property only)
|
|
3151
|
+
*
|
|
3152
|
+
* ## Methods
|
|
3153
|
+
*
|
|
3154
|
+
* Methods that can be called to access component functionality.
|
|
3155
|
+
*
|
|
3156
|
+
* - `resetFormControl() => void`: undefined
|
|
3157
|
+
* - `handler(e: Event) => void`: undefined
|
|
3158
|
+
* - `prefixSlotChange() => void`: undefined
|
|
3159
|
+
* - `suffixSlotChange() => void`: undefined
|
|
3160
|
+
*/
|
|
3161
|
+
"w-textfield": Partial<
|
|
3162
|
+
WarpTextFieldProps &
|
|
3163
|
+
WarpTextFieldSolidJsProps &
|
|
3164
|
+
BaseProps<WarpTextField> &
|
|
3165
|
+
BaseEvents
|
|
3166
|
+
>;
|
|
3167
|
+
|
|
3168
|
+
/**
|
|
3169
|
+
* Modals (or dialogs) display important information that users need to acknowledge.
|
|
3170
|
+
*
|
|
3171
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
|
|
3172
|
+
*
|
|
3173
|
+
* ## Attributes & Properties
|
|
3174
|
+
*
|
|
3175
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3176
|
+
*
|
|
3177
|
+
* - `show`: undefined
|
|
3178
|
+
* - `content-id`/`contentId`: undefined
|
|
3179
|
+
* - `ignore-backdrop-clicks`/`ignoreBackdropClicks`: undefined
|
|
3180
|
+
* - `dialogEl`: undefined (property only)
|
|
3181
|
+
* - `dialogInnerEl`: undefined (property only)
|
|
3182
|
+
* - `contentEl`: undefined (property only)
|
|
3183
|
+
*
|
|
3184
|
+
* ## Events
|
|
3185
|
+
*
|
|
3186
|
+
* Events that will be emitted by the component.
|
|
3187
|
+
*
|
|
3188
|
+
* - `shown`: undefined
|
|
3189
|
+
* - `hidden`: undefined
|
|
3190
|
+
*
|
|
3191
|
+
* ## Slots
|
|
3192
|
+
*
|
|
3193
|
+
* Areas where markup can be added to the component.
|
|
3194
|
+
*
|
|
3195
|
+
* - `header`: Typically where you would use the `w-modal-header` component.
|
|
3196
|
+
* - `content`: The main content of the modal.
|
|
3197
|
+
* - `footer`: Typically where you would use the `w-modal-footer` component, for things like actions.
|
|
3198
|
+
*
|
|
3199
|
+
* ## Methods
|
|
3200
|
+
*
|
|
3201
|
+
* Methods that can be called to access component functionality.
|
|
3202
|
+
*
|
|
3203
|
+
* - `open() => void`: undefined
|
|
3204
|
+
* - `close() => void`: undefined
|
|
3205
|
+
* - `handleListeners(verb = 'addEventListener') => void`: undefined
|
|
3206
|
+
* - `eventPreventer(evt: Event) => void`: undefined
|
|
3207
|
+
* - `closeOnBackdropClick(evt: MouseEvent) => void`: undefined
|
|
3208
|
+
* - `interceptEscape(evt: KeyboardEvent) => void`: undefined
|
|
3209
|
+
* - `modifyBorderRadius() => void`: undefined
|
|
3210
|
+
*/
|
|
3211
|
+
"w-modal": Partial<
|
|
3212
|
+
ModalMainProps & ModalMainSolidJsProps & BaseProps<ModalMain> & BaseEvents
|
|
3213
|
+
>;
|
|
3214
|
+
|
|
3215
|
+
/**
|
|
3216
|
+
* The header section of a modal, typically where you place the title and a close button.
|
|
3217
|
+
*
|
|
3218
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
|
|
3219
|
+
*
|
|
3220
|
+
* ## Attributes & Properties
|
|
3221
|
+
*
|
|
3222
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3223
|
+
*
|
|
3224
|
+
* - `title`: undefined
|
|
3225
|
+
* - `back`: undefined
|
|
3226
|
+
* - `no-close`/`noClose`: undefined
|
|
3227
|
+
* - `titleEl`: undefined (property only)
|
|
3228
|
+
* - `titleClasses`: undefined (property only) (readonly)
|
|
3229
|
+
* - `backButton`: undefined (property only) (readonly)
|
|
3230
|
+
* - `closeButton`: undefined (property only) (readonly)
|
|
3231
|
+
*
|
|
3232
|
+
* ## Events
|
|
3233
|
+
*
|
|
3234
|
+
* Events that will be emitted by the component.
|
|
3235
|
+
*
|
|
3236
|
+
* - `backClicked`: undefined
|
|
3237
|
+
*
|
|
3238
|
+
* ## Slots
|
|
3239
|
+
*
|
|
3240
|
+
* Areas where markup can be added to the component.
|
|
3241
|
+
*
|
|
3242
|
+
* - `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.
|
|
3243
|
+
*
|
|
3244
|
+
* ## Methods
|
|
3245
|
+
*
|
|
3246
|
+
* Methods that can be called to access component functionality.
|
|
3247
|
+
*
|
|
3248
|
+
* - `emitBack() => void`: undefined
|
|
3249
|
+
* - `handleTopSlotChange(slotEvent) => void`: undefined
|
|
3250
|
+
*/
|
|
3251
|
+
"w-modal-header": Partial<
|
|
3252
|
+
ModalHeaderProps &
|
|
3253
|
+
ModalHeaderSolidJsProps &
|
|
3254
|
+
BaseProps<ModalHeader> &
|
|
3255
|
+
BaseEvents
|
|
3256
|
+
>;
|
|
3257
|
+
|
|
3258
|
+
/**
|
|
3259
|
+
* The footer section of a modal, typically where you place actions.
|
|
3260
|
+
*
|
|
3261
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
|
|
3262
|
+
*/
|
|
3263
|
+
"w-modal-footer": Partial<
|
|
3264
|
+
ModalFooterProps &
|
|
3265
|
+
ModalFooterSolidJsProps &
|
|
3266
|
+
BaseProps<ModalFooter> &
|
|
3267
|
+
BaseEvents
|
|
3268
|
+
>;
|
|
3269
|
+
|
|
3270
|
+
/**
|
|
3271
|
+
*
|
|
3272
|
+
*
|
|
3273
|
+
* ## Methods
|
|
3274
|
+
*
|
|
3275
|
+
* Methods that can be called to access component functionality.
|
|
3276
|
+
*
|
|
3277
|
+
* - `init() => void`: undefined
|
|
3278
|
+
* - `get(id: string | number) => ToastInternal | undefined`: undefined
|
|
3279
|
+
* - `set(toast: ToastOptions) => Map<string | number, ToastInternal>`: undefined
|
|
3280
|
+
* - `del(id: string | number) => Promise<boolean>`: undefined
|
|
3281
|
+
*/
|
|
3282
|
+
"w-toast-container": Partial<
|
|
3283
|
+
WarpToastContainerProps &
|
|
3284
|
+
WarpToastContainerSolidJsProps &
|
|
3285
|
+
BaseProps<WarpToastContainer> &
|
|
3286
|
+
BaseEvents
|
|
3287
|
+
>;
|
|
3288
|
+
|
|
3289
|
+
/**
|
|
3290
|
+
* An input for dates.
|
|
3291
|
+
*
|
|
3292
|
+
* Uses the `lang` attribute on either the element or on `<html>` to determine the locale options.
|
|
3293
|
+
*
|
|
3294
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-datepicker--docs)
|
|
3295
|
+
*
|
|
3296
|
+
* ## Attributes & Properties
|
|
3297
|
+
*
|
|
3298
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3299
|
+
*
|
|
3300
|
+
* - `label`: undefined
|
|
3301
|
+
* - `lang`: Takes precedence over the `<html>` lang attribute.
|
|
3302
|
+
* - `name`: undefined
|
|
3303
|
+
* - `value`: undefined
|
|
3304
|
+
* - `header-format`/`headerFormat`: Decides the format of the date as shown in the calendar header.
|
|
3305
|
+
*
|
|
3306
|
+
* The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
|
|
3307
|
+
* - `weekday-format`/`weekdayFormat`: Decides the format of the weekday as shown above the grid of dates in the calendar.
|
|
3308
|
+
*
|
|
3309
|
+
* The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
|
|
3310
|
+
* - `day-format`/`dayFormat`: Decides the format of the day in the calendar as read to screen readers.
|
|
3311
|
+
*
|
|
3312
|
+
* The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
|
|
3313
|
+
* - `isDayDisabled`: Lets you control if a date in the calendar should be disabled.
|
|
3314
|
+
*
|
|
3315
|
+
* This needs to be set on the element instance in JavaScript, not as an HTML attribute. (property only)
|
|
3316
|
+
* - `isCalendarOpen`: undefined (property only)
|
|
3317
|
+
* - `navigationDate`: undefined (property only)
|
|
3318
|
+
* - `selectedDate`: undefined (property only) (readonly)
|
|
3319
|
+
* - `month`: undefined (property only) (readonly)
|
|
3320
|
+
* - `weeks`: undefined (property only) (readonly)
|
|
3321
|
+
* - `calendar`: undefined (property only)
|
|
3322
|
+
* - `input`: undefined (property only)
|
|
3323
|
+
* - `toggleButton`: undefined (property only)
|
|
3324
|
+
* - `wrapper`: undefined (property only)
|
|
3325
|
+
* - `previousMonthButton`: This is the first focusable element, needed for the modal focus trap.
|
|
3326
|
+
*
|
|
3327
|
+
* Don't cache this and other `@query` fields from inside the calendar modal.
|
|
3328
|
+
* They work the first time, but once the calendar is closed and reopened
|
|
3329
|
+
* the query will point to an element that doesn't exist anymore. (property only)
|
|
3330
|
+
* - `todayCell`: undefined (property only)
|
|
3331
|
+
* - `selectedCell`: undefined (property only)
|
|
3332
|
+
*
|
|
3333
|
+
* ## Methods
|
|
3334
|
+
*
|
|
3335
|
+
* Methods that can be called to access component functionality.
|
|
3336
|
+
*
|
|
3337
|
+
* - `resetFormControl() => void`: undefined
|
|
3338
|
+
*/
|
|
3339
|
+
"w-datepicker": Partial<
|
|
3340
|
+
WarpDatepickerProps &
|
|
3341
|
+
WarpDatepickerSolidJsProps &
|
|
3342
|
+
BaseProps<WarpDatepicker> &
|
|
3343
|
+
BaseEvents
|
|
3344
|
+
>;
|
|
3345
|
+
|
|
3346
|
+
/**
|
|
3347
|
+
*
|
|
3348
|
+
*
|
|
3349
|
+
* ## Attributes & Properties
|
|
3350
|
+
*
|
|
3351
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3352
|
+
*
|
|
3353
|
+
* - `name`: undefined
|
|
3354
|
+
* - `value`: undefined
|
|
3355
|
+
* - `checked`: undefined
|
|
3356
|
+
* - `disabled`: undefined
|
|
3357
|
+
*
|
|
3358
|
+
* ## Events
|
|
3359
|
+
*
|
|
3360
|
+
* Events that will be emitted by the component.
|
|
3361
|
+
*
|
|
3362
|
+
* - `change`: undefined
|
|
3363
|
+
*
|
|
3364
|
+
* ## Methods
|
|
3365
|
+
*
|
|
3366
|
+
* Methods that can be called to access component functionality.
|
|
3367
|
+
*
|
|
3368
|
+
* - `resetFormControl() => void`: undefined
|
|
3369
|
+
*/
|
|
3370
|
+
"w-switch": Partial<
|
|
3371
|
+
WarpSwitchProps &
|
|
3372
|
+
WarpSwitchSolidJsProps &
|
|
3373
|
+
BaseProps<WarpSwitch> &
|
|
3374
|
+
BaseEvents
|
|
3375
|
+
>;
|
|
3376
|
+
|
|
3377
|
+
/**
|
|
3378
|
+
* A combobox element for text input with selectable options.
|
|
3379
|
+
*
|
|
3380
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-combobox--docs)
|
|
3381
|
+
*
|
|
3382
|
+
* ## Attributes & Properties
|
|
3383
|
+
*
|
|
3384
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3385
|
+
*
|
|
3386
|
+
* - `options`: The available options to select from
|
|
3387
|
+
* - `label`: Label above input
|
|
3388
|
+
* - `placeholder`: Input placeholder
|
|
3389
|
+
* - `value`: The input value
|
|
3390
|
+
* - `open-on-focus`/`openOnFocus`: Whether the popover opens when focus is on the text field
|
|
3391
|
+
* - `select-on-blur`/`selectOnBlur`: Select active option on blur
|
|
3392
|
+
* - `match-text-segments`/`matchTextSegments`: Whether the matching text segments in the options should be highlighted
|
|
3393
|
+
* - `disable-static-filtering`/`disableStaticFiltering`: Disable client-side static filtering
|
|
3394
|
+
* - `invalid`: Renders the input field in an invalid state
|
|
3395
|
+
* - `help-text`/`helpText`: The content to display as the help text
|
|
3396
|
+
* - `disabled`: Whether the element is disabled
|
|
3397
|
+
* - `required`: Whether the element is required
|
|
3398
|
+
* - `optional`: Whether to show optional text
|
|
3399
|
+
* - `name`: Name attribute for form submission
|
|
3400
|
+
* - `autocomplete`: Autocomplete attribute for the input field
|
|
3401
|
+
*
|
|
3402
|
+
* ## Methods
|
|
3403
|
+
*
|
|
3404
|
+
* Methods that can be called to access component functionality.
|
|
3405
|
+
*
|
|
3406
|
+
* - `resetFormControl() => void`: undefined
|
|
3407
|
+
*/
|
|
3408
|
+
"w-combobox": Partial<
|
|
3409
|
+
WarpComboboxProps &
|
|
3410
|
+
WarpComboboxSolidJsProps &
|
|
3411
|
+
BaseProps<WarpCombobox> &
|
|
3412
|
+
BaseEvents
|
|
3413
|
+
>;
|
|
3414
|
+
|
|
3415
|
+
/**
|
|
3416
|
+
* 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.
|
|
3417
|
+
*
|
|
3418
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-dead-toggle--docs)
|
|
3419
|
+
*
|
|
3420
|
+
* ## Attributes & Properties
|
|
3421
|
+
*
|
|
3422
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3423
|
+
*
|
|
3424
|
+
* - `type`: undefined
|
|
3425
|
+
* - `checked`: undefined
|
|
3426
|
+
* - `indeterminate`: undefined
|
|
3427
|
+
* - `invalid`: undefined
|
|
3428
|
+
* - `disabled`: undefined
|
|
3429
|
+
*/
|
|
3430
|
+
"w-dead-toggle": Partial<
|
|
3431
|
+
WarpDeadToggleProps &
|
|
3432
|
+
WarpDeadToggleSolidJsProps &
|
|
3433
|
+
BaseProps<WarpDeadToggle> &
|
|
3434
|
+
BaseEvents
|
|
3435
|
+
>;
|
|
3436
|
+
|
|
3437
|
+
/**
|
|
3438
|
+
* A page indicator component that displays a series of dots representing pages.
|
|
3439
|
+
* One dot is highlighted to indicate the currently selected page.
|
|
3440
|
+
*
|
|
3441
|
+
* ## Attributes & Properties
|
|
3442
|
+
*
|
|
3443
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3444
|
+
*
|
|
3445
|
+
* - `selected-page`/`selectedPage`: Currently selected page (1-based index, clamped to valid range)
|
|
3446
|
+
* - `page-count`/`pageCount`: Total number of pages (minimum 1)
|
|
3447
|
+
*/
|
|
3448
|
+
"w-page-indicator": Partial<
|
|
3449
|
+
WarpPageIndicatorProps &
|
|
3450
|
+
WarpPageIndicatorSolidJsProps &
|
|
3451
|
+
BaseProps<WarpPageIndicator> &
|
|
3452
|
+
BaseEvents
|
|
3453
|
+
>;
|
|
3454
|
+
|
|
3455
|
+
/**
|
|
3456
|
+
* Pagination allows users to navigate through multiple pages of content by providing navigation controls with page numbers and directional arrows.
|
|
3457
|
+
*
|
|
3458
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-pagination--docs)
|
|
3459
|
+
*
|
|
3460
|
+
* ## Attributes & Properties
|
|
3461
|
+
*
|
|
3462
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3463
|
+
*
|
|
3464
|
+
* - `base-url`/`baseUrl`: undefined
|
|
3465
|
+
* - `pages`: undefined
|
|
3466
|
+
* - `current-page`/`currentPageNumber`: undefined
|
|
3467
|
+
* - `visible-pages`/`visiblePages`: undefined
|
|
3468
|
+
*
|
|
3469
|
+
* ## Events
|
|
3470
|
+
*
|
|
3471
|
+
* Events that will be emitted by the component.
|
|
3472
|
+
*
|
|
3473
|
+
* - `page-click`: Triggered when a link button in the pagination is clicked. Contains the page number in `string` form.
|
|
3474
|
+
*/
|
|
3475
|
+
"w-pagination": Partial<
|
|
3476
|
+
WarpPaginationProps &
|
|
3477
|
+
WarpPaginationSolidJsProps &
|
|
3478
|
+
BaseProps<WarpPagination> &
|
|
3479
|
+
BaseEvents
|
|
3480
|
+
>;
|
|
3481
|
+
|
|
3482
|
+
/**
|
|
3483
|
+
*
|
|
3484
|
+
*
|
|
3485
|
+
* ## Attributes & Properties
|
|
3486
|
+
*
|
|
3487
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3488
|
+
*
|
|
3489
|
+
* - `form`: The string pointing to a form's id.
|
|
3490
|
+
* - `value`: The radio's value. When selected, the radio group will receive this value.
|
|
3491
|
+
* - `appearance`: The radio's value. When selected, the radio group will receive this value.
|
|
3492
|
+
* - `size`: The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this
|
|
3493
|
+
* attribute can typically be omitted.
|
|
3494
|
+
* - `disabled`: Disables the radio.
|
|
3495
|
+
* - `checked`: undefined (property only)
|
|
3496
|
+
*
|
|
3497
|
+
* ## Methods
|
|
3498
|
+
*
|
|
3499
|
+
* Methods that can be called to access component functionality.
|
|
3500
|
+
*
|
|
3501
|
+
* - `setValue() => void`: undefined
|
|
3502
|
+
*/
|
|
3503
|
+
"w-radio": Partial<
|
|
3504
|
+
WRadioProps & WRadioSolidJsProps & BaseProps<WRadio> & BaseEvents
|
|
3505
|
+
>;
|
|
3506
|
+
|
|
3507
|
+
/**
|
|
3508
|
+
*
|
|
3509
|
+
*
|
|
3510
|
+
* ## Attributes & Properties
|
|
3511
|
+
*
|
|
3512
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3513
|
+
*
|
|
3514
|
+
* - `label`: The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot
|
|
3515
|
+
* instead.
|
|
3516
|
+
* - `hint`: The radio groups's hint. If you need to display HTML, use the `hint` slot instead.
|
|
3517
|
+
* - `name`: The name of the radio group, submitted as a name/value pair with form data.
|
|
3518
|
+
* - `disabled`: Disables the radio group and all child radios.
|
|
3519
|
+
* - `orientation`: The orientation in which to show radio items.
|
|
3520
|
+
* - `value`/`defaultValue`: The default value of the form control. Primarily used for resetting the form control.
|
|
3521
|
+
* - `size`: The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden.
|
|
3522
|
+
* - `required`: Ensures a child radio is checked before allowing the containing form to submit.
|
|
3523
|
+
* - `with-label`/`withLabel`: Used for SSR. if true, will show slotted label on initial render.
|
|
3524
|
+
* - `with-hint`/`withHint`: Used for SSR. if true, will show slotted hint on initial render.
|
|
3525
|
+
* - `hasRadioButtons`: undefined (property only)
|
|
3526
|
+
* - `defaultSlot`: undefined (property only)
|
|
3527
|
+
* - `value`: The current value of the radio group, submitted as a name/value pair with form data. (property only)
|
|
3528
|
+
* - `validationTarget`: We use the first available radio as the validationTarget similar to native HTML that shows the validation popup on
|
|
3529
|
+
* the first radio element. (property only) (readonly)
|
|
3530
|
+
*
|
|
3531
|
+
* ## Events
|
|
3532
|
+
*
|
|
3533
|
+
* Events that will be emitted by the component.
|
|
3534
|
+
*
|
|
3535
|
+
* - `input`: undefined
|
|
3536
|
+
* - `change`: undefined
|
|
3537
|
+
*
|
|
3538
|
+
* ## Slots
|
|
3539
|
+
*
|
|
3540
|
+
* Areas where markup can be added to the component.
|
|
3541
|
+
*
|
|
3542
|
+
* - `label`: Alternative to the `label` attribute should you need custom HTML.
|
|
3543
|
+
*
|
|
3544
|
+
* ## Methods
|
|
3545
|
+
*
|
|
3546
|
+
* Methods that can be called to access component functionality.
|
|
3547
|
+
*
|
|
3548
|
+
* - `formResetCallback(args: Parameters<BaseFormAssociatedElement['formResetCallback']>) => void`: undefined
|
|
3549
|
+
* - `focus(options?: FocusOptions) => void`: Sets focus on the radio group.
|
|
3550
|
+
*/
|
|
3551
|
+
"w-radio-group": Partial<
|
|
3552
|
+
WRadioGroupProps &
|
|
3553
|
+
WRadioGroupSolidJsProps &
|
|
3554
|
+
BaseProps<WRadioGroup> &
|
|
3555
|
+
BaseEvents
|
|
3556
|
+
>;
|
|
3557
|
+
|
|
3558
|
+
/**
|
|
3559
|
+
*
|
|
3560
|
+
*
|
|
3561
|
+
* ## Attributes & Properties
|
|
3562
|
+
*
|
|
3563
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3564
|
+
*
|
|
3565
|
+
* - `title`: undefined
|
|
3566
|
+
* - `name`: The name of the checkbox, submitted as a name/value pair with form data.
|
|
3567
|
+
* - `value`: The value of the checkbox, submitted as a name/value pair with form data.
|
|
3568
|
+
* - `size`: The checkbox's size.
|
|
3569
|
+
* - `disabled`: Disables the checkbox.
|
|
3570
|
+
* - `indeterminate`: Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a "select
|
|
3571
|
+
* all/none" behavior when associated checkboxes have a mix of checked and unchecked states.
|
|
3572
|
+
* - `checked`/`defaultChecked`: The default value of the form control. Primarily used for resetting the form control.
|
|
3573
|
+
* - `form`: By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
|
|
3574
|
+
* to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
|
|
3575
|
+
* the same document or shadow root for this to work.
|
|
3576
|
+
* - `required`: Makes the checkbox a required field.
|
|
3577
|
+
* - `hint`: The checkbox's hint. If you need to display HTML, use the `hint` slot instead.
|
|
3578
|
+
* - `input`: undefined (property only)
|
|
3579
|
+
* - `checked`: Draws the checkbox in a checked state. (property only)
|
|
3580
|
+
*
|
|
3581
|
+
* ## Events
|
|
3582
|
+
*
|
|
3583
|
+
* Events that will be emitted by the component.
|
|
3584
|
+
*
|
|
3585
|
+
* - `change`: undefined
|
|
3586
|
+
*
|
|
3587
|
+
* ## Methods
|
|
3588
|
+
*
|
|
3589
|
+
* Methods that can be called to access component functionality.
|
|
3590
|
+
*
|
|
3591
|
+
* - `handleDefaultCheckedChange() => void`: undefined
|
|
3592
|
+
* - `handleValueOrCheckedChange() => void`: undefined
|
|
3593
|
+
* - `handleStateChange() => void`: undefined
|
|
3594
|
+
* - `handleDisabledChange() => void`: undefined
|
|
3595
|
+
* - `formResetCallback() => void`: undefined
|
|
3596
|
+
* - `click() => void`: Simulates a click on the checkbox.
|
|
3597
|
+
* - `focus(options?: FocusOptions) => void`: Sets focus on the checkbox.
|
|
3598
|
+
* - `blur() => void`: Removes focus from the checkbox.
|
|
3599
|
+
*/
|
|
3600
|
+
"w-checkbox": Partial<
|
|
3601
|
+
WCheckboxProps & WCheckboxSolidJsProps & BaseProps<WCheckbox> & BaseEvents
|
|
3602
|
+
>;
|
|
3603
|
+
|
|
3604
|
+
/**
|
|
3605
|
+
*
|
|
3606
|
+
*/
|
|
3607
|
+
"w-checkbox-group": Partial<
|
|
3608
|
+
WCheckboxGroupProps &
|
|
3609
|
+
WCheckboxGroupSolidJsProps &
|
|
3610
|
+
BaseProps<WCheckboxGroup> &
|
|
3611
|
+
BaseEvents
|
|
3612
|
+
>;
|
|
3613
|
+
|
|
3614
|
+
/**
|
|
3615
|
+
* Component to place inside a `<w-slider>`.
|
|
3616
|
+
*
|
|
3617
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)
|
|
3618
|
+
*
|
|
3619
|
+
* ## Attributes & Properties
|
|
3620
|
+
*
|
|
3621
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3622
|
+
*
|
|
3623
|
+
* - `aria-label`/`ariaLabel`: undefined
|
|
3624
|
+
* - `aria-description`/`ariaDescription`: undefined
|
|
3625
|
+
* - `label`: undefined
|
|
3626
|
+
* - `name`: undefined
|
|
3627
|
+
* - `value`: undefined
|
|
3628
|
+
* - `disabled`: undefined
|
|
3629
|
+
* - `invalid`: undefined
|
|
3630
|
+
* - `allowValuesOutsideRange`: Set by `<w-slider>` (property only)
|
|
3631
|
+
* - `markers`: Set by `<w-slider>` (property only)
|
|
3632
|
+
* - `required`: Set by `<w-slider>` (property only)
|
|
3633
|
+
* - `step`: Set by `<w-slider>` (property only)
|
|
3634
|
+
* - `min`: Set by `<w-slider>` (property only)
|
|
3635
|
+
* - `max`: Set by `<w-slider>` (property only)
|
|
3636
|
+
* - `suffix`: Set by `<w-slider>` (property only)
|
|
3637
|
+
* - `formatter`: JS hook to help you format the numeric value how you want. (property only)
|
|
3638
|
+
* - `range`: undefined (property only)
|
|
3639
|
+
* - `textfield`: undefined (property only)
|
|
3640
|
+
* - `boundaryValue`: undefined (property only) (readonly)
|
|
3641
|
+
* - `textFieldDisplayValue`: Value to display in the textfield (shows boundary when focused on empty value) (property only) (readonly)
|
|
3642
|
+
* - `tooltipDisplayValue`: Value to display in the tooltip (property only) (readonly)
|
|
3643
|
+
*
|
|
3644
|
+
* ## Events
|
|
3645
|
+
*
|
|
3646
|
+
* Events that will be emitted by the component.
|
|
3647
|
+
*
|
|
3648
|
+
* - `slidervalidity`: undefined
|
|
3649
|
+
*
|
|
3650
|
+
* ## Methods
|
|
3651
|
+
*
|
|
3652
|
+
* Methods that can be called to access component functionality.
|
|
3653
|
+
*
|
|
3654
|
+
* - `resetFormControl() => void`: undefined
|
|
3655
|
+
* - `updateFieldAfterValidation() => void`: undefined
|
|
3656
|
+
*/
|
|
3657
|
+
"w-slider-thumb": Partial<
|
|
3658
|
+
WarpSliderThumbProps &
|
|
3659
|
+
WarpSliderThumbSolidJsProps &
|
|
3660
|
+
BaseProps<WarpSliderThumb> &
|
|
3661
|
+
BaseEvents
|
|
3662
|
+
>;
|
|
3663
|
+
|
|
3664
|
+
/**
|
|
3665
|
+
* Parent component for sliders (both single and range sliders). Used in combination with a `<w-slider-thumb>`.
|
|
3666
|
+
*
|
|
3667
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)
|
|
3668
|
+
*
|
|
3669
|
+
* ## Attributes & Properties
|
|
3670
|
+
*
|
|
3671
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3672
|
+
*
|
|
3673
|
+
* - `label`: The slider fieldset label. Required for proper accessibility.
|
|
3674
|
+
*
|
|
3675
|
+
* If you need to display HTML, use the `label` slot instead.
|
|
3676
|
+
* - `disabled`: undefined
|
|
3677
|
+
* - `allow-values-outside-range`/`allowValuesOutsideRange`: undefined
|
|
3678
|
+
* - `error`: undefined
|
|
3679
|
+
* - `help-text`/`helpText`: undefined
|
|
3680
|
+
* - `invalid`: undefined
|
|
3681
|
+
* - `required`: Ensures a child slider thumb has a value before allowing the containing form to submit.
|
|
3682
|
+
* - `min`: undefined
|
|
3683
|
+
* - `max`: undefined
|
|
3684
|
+
* - `markers`: Pass a value similar to step to create visual markers at that interval
|
|
3685
|
+
* - `step`: undefined
|
|
3686
|
+
* - `suffix`: Suffix used in text input fields and for the min and max values of the slider.
|
|
3687
|
+
* - `formatter`: Function to format the to- and from labels and value in the slider thumb tooltip. (property only)
|
|
3688
|
+
* - `_invalidMessage`: undefined (property only)
|
|
3689
|
+
* - `_hasInternalError`: undefined (property only)
|
|
3690
|
+
* - `edgeMin`: undefined (property only) (readonly)
|
|
3691
|
+
* - `edgeMax`: undefined (property only) (readonly)
|
|
3692
|
+
* - `componentHasError`: undefined (property only) (readonly)
|
|
3693
|
+
* - `errorText`: undefined (property only) (readonly)
|
|
3694
|
+
*
|
|
3695
|
+
* ## Slots
|
|
3696
|
+
*
|
|
3697
|
+
* Areas where markup can be added to the component.
|
|
3698
|
+
*
|
|
3699
|
+
* - `(default)`: For single sliders place a `<w-slider-thumb>` in the default slot.
|
|
3700
|
+
* - `label`: Label for the slider or range slider as a whole.
|
|
3701
|
+
* - `description`: Optional description between the label and slider.
|
|
3702
|
+
* - `from`: Range sliders need to place a `<w-slider-thumb>` in the from and to slots.
|
|
3703
|
+
* - `to`: Range sliders need to place a `<w-slider-thumb>` in the from and to slots.
|
|
3704
|
+
*/
|
|
3705
|
+
"w-slider": Partial<
|
|
3706
|
+
WarpSliderProps &
|
|
3707
|
+
WarpSliderSolidJsProps &
|
|
3708
|
+
BaseProps<WarpSlider> &
|
|
3709
|
+
BaseEvents
|
|
3710
|
+
>;
|
|
3711
|
+
|
|
3712
|
+
/**
|
|
3713
|
+
* Individual step component that shows a single step in a process
|
|
3714
|
+
*
|
|
3715
|
+
* ## Attributes & Properties
|
|
3716
|
+
*
|
|
3717
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3718
|
+
*
|
|
3719
|
+
* - `active`: undefined
|
|
3720
|
+
* - `completed`: undefined
|
|
3721
|
+
*
|
|
3722
|
+
* ## Methods
|
|
3723
|
+
*
|
|
3724
|
+
* Methods that can be called to access component functionality.
|
|
3725
|
+
*
|
|
3726
|
+
* - `setContext(context: StepsContext) => void`: undefined
|
|
3727
|
+
* - `getAriaLabel() => void`: undefined
|
|
3728
|
+
*/
|
|
3729
|
+
"w-step": Partial<
|
|
3730
|
+
WarpStepProps & WarpStepSolidJsProps & BaseProps<WarpStep> & BaseEvents
|
|
3731
|
+
>;
|
|
3732
|
+
|
|
3733
|
+
/**
|
|
3734
|
+
* Steps are used to show progress through a process or to guide users through a multi-step task.
|
|
3735
|
+
*
|
|
3736
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/components-steps--docs)
|
|
3737
|
+
*
|
|
3738
|
+
* ## Attributes & Properties
|
|
3739
|
+
*
|
|
3740
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3741
|
+
*
|
|
3742
|
+
* - `horizontal`: undefined
|
|
3743
|
+
* - `right`: undefined
|
|
3744
|
+
*
|
|
3745
|
+
* ## Methods
|
|
3746
|
+
*
|
|
3747
|
+
* Methods that can be called to access component functionality.
|
|
3748
|
+
*
|
|
3749
|
+
* - `updateStepsContext() => void`: undefined
|
|
3750
|
+
*/
|
|
3751
|
+
"w-step-indicator": Partial<
|
|
3752
|
+
WarpStepIndicatorProps &
|
|
3753
|
+
WarpStepIndicatorSolidJsProps &
|
|
3754
|
+
BaseProps<WarpStepIndicator> &
|
|
3755
|
+
BaseEvents
|
|
3756
|
+
>;
|
|
3757
|
+
|
|
3758
|
+
/**
|
|
3759
|
+
* Individual tab component used within w-tabs container.
|
|
3760
|
+
*
|
|
3761
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
|
|
3762
|
+
*
|
|
3763
|
+
* ## Attributes & Properties
|
|
3764
|
+
*
|
|
3765
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3766
|
+
*
|
|
3767
|
+
* - `for`: undefined
|
|
3768
|
+
* - `active`: undefined
|
|
3769
|
+
* - `over`: undefined
|
|
3770
|
+
*/
|
|
3771
|
+
"w-tab": Partial<
|
|
3772
|
+
WarpTabProps & WarpTabSolidJsProps & BaseProps<WarpTab> & BaseEvents
|
|
3773
|
+
>;
|
|
3774
|
+
|
|
3775
|
+
/**
|
|
3776
|
+
* Tab panel component that holds content for individual tabs.
|
|
3777
|
+
* Each tab panel should have a name that matches a corresponding tab.
|
|
3778
|
+
*
|
|
3779
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
|
|
3780
|
+
*
|
|
3781
|
+
* ## Attributes & Properties
|
|
3782
|
+
*
|
|
3783
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3784
|
+
*
|
|
3785
|
+
* - `hidden`: undefined
|
|
3786
|
+
*/
|
|
3787
|
+
"w-tab-panel": Partial<
|
|
3788
|
+
WarpTabPanelProps &
|
|
3789
|
+
WarpTabPanelSolidJsProps &
|
|
3790
|
+
BaseProps<WarpTabPanel> &
|
|
3791
|
+
BaseEvents
|
|
3792
|
+
>;
|
|
3793
|
+
|
|
3794
|
+
/**
|
|
3795
|
+
* Tabs are used to organize content by grouping similar information on the same page.
|
|
3796
|
+
*
|
|
3797
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
|
|
3798
|
+
*
|
|
3799
|
+
* ## Attributes & Properties
|
|
3800
|
+
*
|
|
3801
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3802
|
+
*
|
|
3803
|
+
* - `active`: undefined
|
|
3804
|
+
* - `tabs`: undefined (property only) (readonly)
|
|
3805
|
+
* - `activeTab`: undefined (property only) (readonly)
|
|
3806
|
+
*
|
|
3807
|
+
* ## Events
|
|
3808
|
+
*
|
|
3809
|
+
* Events that will be emitted by the component.
|
|
3810
|
+
*
|
|
3811
|
+
* - `change`: undefined
|
|
3812
|
+
*/
|
|
3813
|
+
"w-tabs": Partial<
|
|
3814
|
+
WarpTabsProps & WarpTabsSolidJsProps & BaseProps<WarpTabs> & BaseEvents
|
|
3815
|
+
>;
|
|
3816
|
+
|
|
3817
|
+
/**
|
|
3818
|
+
* A single line text input element.
|
|
3819
|
+
*
|
|
3820
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)
|
|
3821
|
+
*
|
|
3822
|
+
* ## Attributes & Properties
|
|
3823
|
+
*
|
|
3824
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3825
|
+
*
|
|
3826
|
+
* - `disabled`: undefined
|
|
3827
|
+
* - `invalid`: undefined
|
|
3828
|
+
* - `label`: undefined
|
|
3829
|
+
* - `help-text`/`helpText`: undefined
|
|
3830
|
+
* - `maximum-rows`/`maxRows`: undefined
|
|
3831
|
+
* - `minimum-rows`/`minRows`: undefined
|
|
3832
|
+
* - `name`: undefined
|
|
3833
|
+
* - `placeholder`: undefined
|
|
3834
|
+
* - `read-only`/`readOnly`: undefined
|
|
3835
|
+
* - `readonly`: undefined
|
|
3836
|
+
* - `required`: undefined
|
|
3837
|
+
* - `value`: undefined
|
|
3838
|
+
* - `optional`: undefined
|
|
3839
|
+
* - `minHeight`: undefined (property only)
|
|
3840
|
+
* - `maxHeight`: undefined (property only)
|
|
3841
|
+
*
|
|
3842
|
+
* ## Methods
|
|
3843
|
+
*
|
|
3844
|
+
* Methods that can be called to access component functionality.
|
|
3845
|
+
*
|
|
3846
|
+
* - `resetFormControl() => void`: undefined
|
|
3847
|
+
* - `handler(e: InputEvent) => void`: undefined
|
|
3848
|
+
*/
|
|
3849
|
+
"w-textarea": Partial<
|
|
3850
|
+
WarpTextareaProps &
|
|
3851
|
+
WarpTextareaSolidJsProps &
|
|
3852
|
+
BaseProps<WarpTextarea> &
|
|
3853
|
+
BaseEvents
|
|
3854
|
+
>;
|
|
3855
|
+
};
|
|
3856
|
+
|
|
3857
|
+
export type CustomCssProperties = {};
|
|
3858
|
+
|
|
3859
|
+
declare module "react" {
|
|
1212
3860
|
namespace JSX {
|
|
1213
3861
|
interface IntrinsicElements extends CustomElements {}
|
|
1214
3862
|
}
|
|
1215
3863
|
export interface CSSProperties extends CustomCssProperties {}
|
|
1216
3864
|
}
|
|
1217
3865
|
|
|
1218
|
-
declare module
|
|
3866
|
+
declare module "preact" {
|
|
1219
3867
|
namespace JSX {
|
|
1220
3868
|
interface IntrinsicElements extends CustomElements {}
|
|
1221
3869
|
}
|
|
1222
3870
|
export interface CSSProperties extends CustomCssProperties {}
|
|
1223
3871
|
}
|
|
1224
3872
|
|
|
1225
|
-
declare module
|
|
3873
|
+
declare module "@builder.io/qwik" {
|
|
1226
3874
|
namespace JSX {
|
|
1227
3875
|
interface IntrinsicElements extends CustomElements {}
|
|
1228
3876
|
}
|
|
1229
3877
|
export interface CSSProperties extends CustomCssProperties {}
|
|
1230
3878
|
}
|
|
1231
3879
|
|
|
1232
|
-
declare module
|
|
3880
|
+
declare module "@stencil/core" {
|
|
1233
3881
|
namespace JSX {
|
|
1234
3882
|
interface IntrinsicElements extends CustomElements {}
|
|
1235
3883
|
}
|
|
1236
3884
|
export interface CSSProperties extends CustomCssProperties {}
|
|
1237
3885
|
}
|
|
1238
3886
|
|
|
1239
|
-
declare module
|
|
3887
|
+
declare module "hono/jsx" {
|
|
1240
3888
|
namespace JSX {
|
|
1241
3889
|
interface IntrinsicElements extends CustomElements {}
|
|
1242
3890
|
}
|
|
1243
3891
|
export interface CSSProperties extends CustomCssProperties {}
|
|
1244
3892
|
}
|
|
1245
3893
|
|
|
1246
|
-
declare module
|
|
3894
|
+
declare module "react-native" {
|
|
1247
3895
|
namespace JSX {
|
|
1248
3896
|
interface IntrinsicElements extends CustomElements {}
|
|
1249
3897
|
}
|
|
1250
3898
|
export interface CSSProperties extends CustomCssProperties {}
|
|
1251
3899
|
}
|
|
1252
3900
|
|
|
3901
|
+
declare module "solid-js" {
|
|
3902
|
+
namespace JSX {
|
|
3903
|
+
interface IntrinsicElements extends CustomElementsSolidJs {}
|
|
3904
|
+
}
|
|
3905
|
+
export interface CSSProperties extends CustomCssProperties {}
|
|
3906
|
+
}
|
|
3907
|
+
|
|
1253
3908
|
declare global {
|
|
1254
3909
|
namespace JSX {
|
|
1255
3910
|
interface IntrinsicElements extends CustomElements {}
|