@warp-ds/elements 2.2.0-next.2 → 2.2.0-next.20
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/README.md +228 -28
- package/dist/.storybook/utilities.d.ts +28 -0
- package/dist/.storybook/utilities.js +52 -0
- package/dist/api.js +1 -49
- package/dist/api.js.map +4 -4
- package/dist/custom-elements.json +7005 -0
- package/dist/index.d.ts +1826 -18
- package/dist/packages/affix/affix.stories.d.ts +10 -0
- package/dist/packages/affix/affix.stories.js +25 -0
- package/dist/packages/affix/affix.test.d.ts +1 -0
- package/dist/packages/affix/affix.test.js +9 -0
- package/dist/packages/affix/index.d.ts +47 -24
- package/dist/packages/affix/index.js +2448 -2240
- package/dist/packages/affix/index.js.map +4 -4
- package/dist/packages/affix/react.d.ts +2 -0
- package/dist/packages/affix/react.js +8 -0
- package/dist/packages/affix/styles.d.ts +1 -0
- package/dist/packages/affix/styles.js +2 -0
- package/dist/packages/alert/alert.stories.d.ts +15 -0
- package/dist/packages/alert/alert.stories.js +68 -0
- package/dist/packages/alert/alert.test.d.ts +1 -0
- package/dist/packages/alert/alert.test.js +16 -0
- package/dist/packages/alert/index.d.ts +22 -17
- package/dist/packages/alert/index.js +2452 -2446
- package/dist/packages/alert/index.js.map +4 -4
- package/dist/packages/alert/react.d.ts +2 -0
- package/dist/packages/alert/react.js +8 -0
- package/dist/packages/alert/styles.d.ts +1 -0
- package/dist/packages/alert/styles.js +2 -0
- package/dist/packages/attention/attention.stories.d.ts +15 -0
- package/dist/packages/attention/attention.stories.js +188 -0
- package/dist/packages/attention/attention.test.d.ts +1 -0
- package/dist/packages/attention/attention.test.js +11 -0
- package/dist/packages/attention/index.d.ts +62 -90
- package/dist/packages/attention/index.js +3360 -3984
- package/dist/packages/attention/index.js.map +4 -4
- package/dist/packages/attention/layout-styles.d.ts +1 -0
- package/dist/packages/attention/layout-styles.js +905 -0
- package/dist/packages/attention/locales/da/messages.mjs +1 -0
- package/dist/packages/attention/locales/en/messages.mjs +1 -0
- package/dist/packages/attention/locales/fi/messages.mjs +1 -0
- package/dist/packages/attention/locales/nb/messages.mjs +1 -0
- package/dist/packages/attention/locales/sv/messages.mjs +1 -0
- package/dist/packages/attention/react.d.ts +1 -0
- package/dist/packages/attention/react.js +9 -0
- package/dist/packages/attention/styles.d.ts +1 -0
- package/dist/packages/attention/styles.js +2 -0
- package/dist/packages/badge/badge.stories.d.ts +17 -0
- package/dist/packages/badge/badge.stories.js +68 -0
- package/dist/packages/badge/badge.test.d.ts +1 -0
- package/dist/packages/badge/badge.test.js +9 -0
- package/dist/packages/badge/index.d.ts +12 -11
- package/dist/packages/badge/index.js +2441 -300
- package/dist/packages/badge/index.js.map +4 -4
- package/dist/packages/badge/react.d.ts +2 -0
- package/dist/packages/badge/react.js +8 -0
- package/dist/packages/badge/styles.d.ts +1 -0
- package/dist/packages/badge/styles.js +2 -0
- package/dist/packages/box/box.stories.d.ts +14 -0
- package/dist/packages/box/box.stories.js +59 -0
- package/dist/packages/box/box.test.d.ts +1 -0
- package/dist/packages/box/box.test.js +9 -0
- package/dist/packages/box/index.d.ts +17 -20
- package/dist/packages/box/index.js +2443 -299
- package/dist/packages/box/index.js.map +4 -4
- package/dist/packages/box/react.d.ts +2 -0
- package/dist/packages/box/react.js +8 -0
- package/dist/packages/box/slot.test.d.ts +1 -0
- package/dist/packages/box/slot.test.js +9 -0
- package/dist/packages/box/styles.d.ts +1 -0
- package/dist/packages/box/styles.js +2 -0
- package/dist/packages/breadcrumbs/breadcrumbs.stories.d.ts +12 -0
- package/dist/packages/breadcrumbs/breadcrumbs.stories.js +60 -0
- package/dist/packages/breadcrumbs/breadcrumbs.test.d.ts +1 -0
- package/dist/packages/breadcrumbs/breadcrumbs.test.js +16 -0
- package/dist/packages/breadcrumbs/index.d.ts +19 -16
- package/dist/packages/breadcrumbs/index.js +2402 -2051
- package/dist/packages/breadcrumbs/index.js.map +4 -4
- package/dist/packages/breadcrumbs/locales/da/messages.mjs +1 -0
- package/dist/packages/breadcrumbs/locales/en/messages.mjs +1 -0
- package/dist/packages/breadcrumbs/locales/fi/messages.mjs +1 -0
- package/dist/packages/breadcrumbs/locales/nb/messages.mjs +1 -0
- package/dist/packages/breadcrumbs/locales/sv/messages.mjs +1 -0
- package/dist/packages/breadcrumbs/react.d.ts +2 -0
- package/dist/packages/breadcrumbs/react.js +8 -0
- package/dist/packages/breadcrumbs/styles.d.ts +1 -0
- package/dist/packages/breadcrumbs/styles.js +2 -0
- package/dist/packages/button/button.stories.d.ts +21 -0
- package/dist/packages/button/button.stories.js +119 -0
- package/dist/packages/button/button.test.d.ts +1 -0
- package/dist/packages/button/button.test.js +25 -0
- package/dist/packages/button/index.d.ts +106 -56
- package/dist/packages/button/index.js +2618 -2130
- package/dist/packages/button/index.js.map +4 -4
- package/dist/packages/button/locales/da/messages.mjs +1 -0
- package/dist/packages/button/locales/en/messages.mjs +1 -0
- package/dist/packages/button/locales/fi/messages.mjs +1 -0
- package/dist/packages/button/locales/nb/messages.mjs +1 -0
- package/dist/packages/button/locales/sv/messages.mjs +1 -0
- package/dist/packages/button/react.d.ts +2 -0
- package/dist/packages/button/react.js +8 -0
- package/dist/packages/button/styles.d.ts +1 -0
- package/dist/packages/button/styles.js +2 -0
- package/dist/packages/card/card.stories.d.ts +15 -0
- package/dist/packages/card/card.stories.js +82 -0
- package/dist/packages/card/card.test.d.ts +1 -0
- package/dist/packages/card/card.test.js +9 -0
- package/dist/packages/card/index.d.ts +28 -16
- package/dist/packages/card/index.js +2403 -2067
- package/dist/packages/card/index.js.map +4 -4
- package/dist/packages/card/locales/da/messages.mjs +1 -0
- package/dist/packages/card/locales/en/messages.mjs +1 -0
- package/dist/packages/card/locales/fi/messages.mjs +1 -0
- package/dist/packages/card/locales/nb/messages.mjs +1 -0
- package/dist/packages/card/locales/sv/messages.mjs +1 -0
- package/dist/packages/card/react.d.ts +2 -0
- package/dist/packages/card/react.js +8 -0
- package/dist/packages/card/styles.d.ts +1 -0
- package/dist/packages/card/styles.js +2 -0
- package/dist/packages/combobox/combobox.stories.d.ts +14 -0
- package/dist/packages/combobox/combobox.stories.js +95 -0
- package/dist/packages/combobox/index.d.ts +95 -0
- package/dist/packages/combobox/index.js +2492 -0
- package/dist/packages/combobox/index.js.map +7 -0
- package/dist/packages/combobox/locales/da/messages.d.mts +1 -0
- package/dist/packages/combobox/locales/da/messages.mjs +1 -0
- package/dist/packages/combobox/locales/en/messages.d.mts +1 -0
- package/dist/packages/combobox/locales/en/messages.mjs +1 -0
- package/dist/packages/combobox/locales/fi/messages.d.mts +1 -0
- package/dist/packages/combobox/locales/fi/messages.mjs +1 -0
- package/dist/packages/combobox/locales/nb/messages.d.mts +1 -0
- package/dist/packages/combobox/locales/nb/messages.mjs +1 -0
- package/dist/packages/combobox/locales/sv/messages.d.mts +1 -0
- package/dist/packages/combobox/locales/sv/messages.mjs +1 -0
- package/dist/packages/combobox/styles.d.ts +1 -0
- package/dist/packages/combobox/styles.js +2 -0
- package/dist/packages/datepicker/DatePicker.test.d.ts +1 -0
- package/dist/packages/datepicker/DatePicker.test.js +68 -0
- package/dist/packages/datepicker/datepicker.d.ts +102 -0
- package/dist/packages/datepicker/datepicker.js +2785 -0
- package/dist/packages/datepicker/datepicker.js.map +7 -0
- package/dist/packages/datepicker/datepicker.stories.d.ts +12 -0
- package/dist/packages/datepicker/datepicker.stories.js +51 -0
- package/dist/packages/datepicker/datepicker.test.d.ts +2 -0
- package/dist/packages/datepicker/datepicker.test.js +62 -0
- package/dist/packages/datepicker/index.d.ts +1 -0
- package/dist/packages/datepicker/index.js +2785 -0
- package/dist/packages/datepicker/index.js.map +7 -0
- package/dist/packages/datepicker/locales/da/messages.d.mts +1 -0
- package/dist/packages/datepicker/locales/da/messages.mjs +1 -0
- package/dist/packages/datepicker/locales/en/messages.d.mts +1 -0
- package/dist/packages/datepicker/locales/en/messages.mjs +1 -0
- package/dist/packages/datepicker/locales/fi/messages.d.mts +1 -0
- package/dist/packages/datepicker/locales/fi/messages.mjs +1 -0
- package/dist/packages/datepicker/locales/nb/messages.d.mts +1 -0
- package/dist/packages/datepicker/locales/nb/messages.mjs +1 -0
- package/dist/packages/datepicker/locales/sv/messages.d.mts +1 -0
- package/dist/packages/datepicker/locales/sv/messages.mjs +1 -0
- package/dist/packages/datepicker/react.d.ts +2 -0
- package/dist/packages/datepicker/react.js +8 -0
- package/dist/packages/datepicker/styles/w-datepicker-calendar.styles.d.ts +1 -0
- package/dist/packages/datepicker/styles/w-datepicker-calendar.styles.js +15 -0
- package/dist/packages/datepicker/styles/w-datepicker-day.styles.d.ts +1 -0
- package/dist/packages/datepicker/styles/w-datepicker-day.styles.js +64 -0
- package/dist/packages/datepicker/styles/w-datepicker-month.styles.d.ts +1 -0
- package/dist/packages/datepicker/styles/w-datepicker-month.styles.js +72 -0
- package/dist/packages/datepicker/styles/w-datepicker.styles.d.ts +1 -0
- package/dist/packages/datepicker/styles/w-datepicker.styles.js +101 -0
- package/dist/packages/datepicker/utils.d.ts +13 -0
- package/dist/packages/datepicker/utils.js +28 -0
- package/dist/packages/dead-toggle/dead-toggle.stories.d.ts +10 -0
- package/dist/packages/dead-toggle/dead-toggle.stories.js +23 -0
- package/dist/packages/dead-toggle/dead-toggle.test.d.ts +1 -0
- package/dist/packages/dead-toggle/dead-toggle.test.js +9 -0
- package/dist/packages/dead-toggle/index.d.ts +16 -0
- package/dist/packages/dead-toggle/index.js +2487 -0
- package/dist/packages/dead-toggle/index.js.map +7 -0
- package/dist/packages/dead-toggle/react.d.ts +2 -0
- package/dist/packages/dead-toggle/react.js +8 -0
- package/dist/packages/expandable/expandable.stories.d.ts +19 -0
- package/dist/packages/expandable/expandable.stories.js +133 -0
- package/dist/packages/expandable/expandable.test.d.ts +1 -0
- package/dist/packages/expandable/expandable.test.js +24 -0
- package/dist/packages/expandable/index.d.ts +52 -50
- package/dist/packages/expandable/index.js +2424 -2286
- package/dist/packages/expandable/index.js.map +4 -4
- package/dist/packages/expandable/react.d.ts +2 -0
- package/dist/packages/expandable/react.js +8 -0
- package/dist/packages/expandable/styles.d.ts +1 -0
- package/dist/packages/expandable/styles.js +2 -0
- package/dist/packages/i18n.js +44 -0
- package/dist/packages/link/index.d.ts +34 -0
- package/dist/packages/link/index.js +2646 -0
- package/dist/packages/link/index.js.map +7 -0
- package/dist/packages/link/link.stories.d.ts +20 -0
- package/dist/packages/link/link.stories.js +121 -0
- package/dist/packages/link/link.test.d.ts +1 -0
- package/dist/packages/link/link.test.js +9 -0
- package/dist/packages/link/react.d.ts +2 -0
- package/dist/packages/link/react.js +8 -0
- package/dist/packages/link/styles.d.ts +1 -0
- package/dist/packages/link/styles.js +200 -0
- package/dist/packages/modal/index.d.ts +4 -5
- package/dist/packages/modal/index.js +2649 -2575
- package/dist/packages/modal/index.js.map +4 -4
- package/dist/packages/modal/locales/da/messages.mjs +1 -0
- package/dist/packages/modal/locales/en/messages.mjs +1 -0
- package/dist/packages/modal/locales/fi/messages.mjs +1 -0
- package/dist/packages/modal/locales/nb/messages.mjs +1 -0
- package/dist/packages/modal/locales/sv/messages.mjs +1 -0
- package/dist/packages/modal/modal-footer.d.ts +13 -11
- package/dist/packages/modal/modal-footer.js +2460 -0
- package/dist/packages/modal/modal-footer.js.map +7 -0
- package/dist/packages/modal/modal-header.d.ts +25 -31
- package/dist/packages/modal/modal-header.js +2584 -0
- package/dist/packages/modal/modal-header.js.map +7 -0
- package/dist/packages/modal/modal-main.d.ts +27 -31
- package/dist/packages/modal/modal-main.js +2572 -0
- package/dist/packages/modal/modal-main.js.map +7 -0
- package/dist/packages/modal/modal.stories.d.ts +19 -0
- package/dist/packages/modal/modal.stories.js +160 -0
- package/dist/packages/modal/react.d.ts +4 -0
- package/dist/packages/modal/react.js +18 -0
- package/dist/packages/modal/util.d.ts +7 -17
- package/dist/packages/modal/util.js +21 -0
- package/dist/packages/pageindicator/index.d.ts +10 -0
- package/dist/packages/pageindicator/index.js +32 -0
- package/dist/packages/pageindicator/index.js.map +7 -0
- package/dist/packages/pageindicator/pageindicator.stories.d.ts +32 -0
- package/dist/packages/pageindicator/pageindicator.stories.js +71 -0
- package/dist/packages/pageindicator/react.d.ts +2 -0
- package/dist/packages/pageindicator/react.js +8 -0
- package/dist/packages/pageindicator/style.d.ts +1 -0
- package/dist/packages/pageindicator/style.js +26 -0
- package/dist/packages/pagination/index.d.ts +32 -0
- package/dist/packages/pagination/index.js +2494 -0
- package/dist/packages/pagination/index.js.map +7 -0
- package/dist/packages/pagination/locales/da/messages.d.mts +1 -0
- package/dist/packages/pagination/locales/da/messages.mjs +1 -0
- package/dist/packages/pagination/locales/en/messages.d.mts +1 -0
- package/dist/packages/pagination/locales/en/messages.mjs +1 -0
- package/dist/packages/pagination/locales/fi/messages.d.mts +1 -0
- package/dist/packages/pagination/locales/fi/messages.mjs +1 -0
- package/dist/packages/pagination/locales/nb/messages.d.mts +1 -0
- package/dist/packages/pagination/locales/nb/messages.mjs +1 -0
- package/dist/packages/pagination/locales/sv/messages.d.mts +1 -0
- package/dist/packages/pagination/locales/sv/messages.mjs +1 -0
- package/dist/packages/pagination/pagination.stories.d.ts +14 -0
- package/dist/packages/pagination/pagination.stories.js +56 -0
- package/dist/packages/pagination/pagination.test.d.ts +1 -0
- package/dist/packages/pagination/pagination.test.js +76 -0
- package/dist/packages/pagination/react.d.ts +2 -0
- package/dist/packages/pagination/react.js +8 -0
- package/dist/packages/pagination/styles.d.ts +1 -0
- package/dist/packages/pagination/styles.js +2 -0
- package/dist/packages/pill/index.d.ts +39 -23
- package/dist/packages/pill/index.js +2408 -2175
- package/dist/packages/pill/index.js.map +4 -4
- package/dist/packages/pill/locales/da/messages.mjs +1 -0
- package/dist/packages/pill/locales/en/messages.mjs +1 -0
- package/dist/packages/pill/locales/fi/messages.mjs +1 -0
- package/dist/packages/pill/locales/nb/messages.mjs +1 -0
- package/dist/packages/pill/locales/sv/messages.mjs +1 -0
- package/dist/packages/pill/pill.stories.d.ts +12 -0
- package/dist/packages/pill/pill.stories.js +33 -0
- package/dist/packages/pill/pill.test.d.ts +1 -0
- package/dist/packages/pill/pill.test.js +23 -0
- package/dist/packages/pill/styles.d.ts +1 -0
- package/dist/packages/pill/styles.js +2 -0
- package/dist/packages/rip-and-tear-checkbox/checkbox.d.ts +64 -0
- package/dist/packages/rip-and-tear-checkbox/checkbox.js +160 -0
- package/dist/packages/rip-and-tear-checkbox/checkbox.js.map +7 -0
- package/dist/packages/rip-and-tear-checkbox/index.d.ts +1 -0
- package/dist/packages/rip-and-tear-checkbox/index.js +160 -0
- package/dist/packages/rip-and-tear-checkbox/index.js.map +7 -0
- package/dist/packages/rip-and-tear-checkbox/styles.d.ts +1 -0
- package/dist/packages/rip-and-tear-checkbox/styles.js +116 -0
- package/dist/packages/rip-and-tear-radio/base-element.d.ts +46 -0
- package/dist/packages/rip-and-tear-radio/base-element.js +100 -0
- package/dist/packages/rip-and-tear-radio/custom-error-validator.d.ts +6 -0
- package/dist/packages/rip-and-tear-radio/custom-error-validator.js +22 -0
- package/dist/packages/rip-and-tear-radio/form-associated-element.d.ts +103 -0
- package/dist/packages/rip-and-tear-radio/form-associated-element.js +282 -0
- package/dist/packages/rip-and-tear-radio/host-styles.d.ts +1 -0
- package/dist/packages/rip-and-tear-radio/host-styles.js +12 -0
- package/dist/packages/rip-and-tear-radio/index.d.ts +1 -0
- package/dist/packages/rip-and-tear-radio/index.js +270 -0
- package/dist/packages/rip-and-tear-radio/index.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/invalid.d.ts +8 -0
- package/dist/packages/rip-and-tear-radio/invalid.js +5 -0
- package/dist/packages/rip-and-tear-radio/math.d.ts +1 -0
- package/dist/packages/rip-and-tear-radio/math.js +4 -0
- package/dist/packages/rip-and-tear-radio/radio-group-styles.d.ts +1 -0
- package/dist/packages/rip-and-tear-radio/radio-group-styles.js +60 -0
- package/dist/packages/rip-and-tear-radio/radio-group-styles.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/radio-group.d.ts +72 -0
- package/dist/packages/rip-and-tear-radio/radio-group.js +270 -0
- package/dist/packages/rip-and-tear-radio/radio-group.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/radio-styles.d.ts +1 -0
- package/dist/packages/rip-and-tear-radio/radio-styles.js +170 -0
- package/dist/packages/rip-and-tear-radio/radio-styles.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/radio.d.ts +38 -0
- package/dist/packages/rip-and-tear-radio/radio.js +183 -0
- package/dist/packages/rip-and-tear-radio/radio.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/radio.stories.d.ts +8 -0
- package/dist/packages/rip-and-tear-radio/radio.stories.js +275 -0
- package/dist/packages/rip-and-tear-radio/radio.stories.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/required-validator.d.ts +11 -0
- package/dist/packages/rip-and-tear-radio/required-validator.js +34 -0
- package/dist/packages/rip-and-tear-radio/slot.d.ts +20 -0
- package/dist/packages/rip-and-tear-radio/slot.js +71 -0
- package/dist/packages/rip-and-tear-radio/watch.d.ts +26 -0
- package/dist/packages/rip-and-tear-radio/watch.js +39 -0
- package/dist/packages/select/index.d.ts +54 -48
- package/dist/packages/select/index.js +2421 -2236
- package/dist/packages/select/index.js.map +4 -4
- package/dist/packages/select/locales/da/messages.mjs +1 -0
- package/dist/packages/select/locales/en/messages.mjs +1 -0
- package/dist/packages/select/locales/fi/messages.mjs +1 -0
- package/dist/packages/select/locales/nb/messages.mjs +1 -0
- package/dist/packages/select/locales/sv/messages.mjs +1 -0
- package/dist/packages/select/react.d.ts +2 -0
- package/dist/packages/select/react.js +8 -0
- package/dist/packages/select/select.stories.d.ts +10 -0
- package/dist/packages/select/select.stories.js +31 -0
- package/dist/packages/select/select.test.d.ts +1 -0
- package/dist/packages/select/select.test.js +31 -0
- package/dist/packages/select/styles.d.ts +1 -0
- package/dist/packages/select/styles.js +2 -0
- package/dist/packages/slider/Slider.d.ts +2 -0
- package/dist/packages/slider/Slider.js +8 -0
- package/dist/packages/slider/SliderThumb.d.ts +2 -0
- package/dist/packages/slider/SliderThumb.js +8 -0
- package/dist/packages/slider/index.d.ts +2 -0
- package/dist/packages/slider/index.js +2791 -0
- package/dist/packages/slider/index.js.map +7 -0
- package/dist/packages/slider/oddbird-css-anchor-positioning.d.ts +2 -0
- package/dist/packages/slider/oddbird-css-anchor-positioning.js +3 -0
- package/dist/packages/slider/slider-thumb.d.ts +57 -0
- package/dist/packages/slider/slider-thumb.js +2663 -0
- package/dist/packages/slider/slider-thumb.js.map +7 -0
- package/dist/packages/slider/slider.d.ts +46 -0
- package/dist/packages/slider/slider.js +2569 -0
- package/dist/packages/slider/slider.js.map +7 -0
- package/dist/packages/slider/slider.stories.d.ts +17 -0
- package/dist/packages/slider/slider.stories.js +203 -0
- package/dist/packages/slider/slider.test.d.ts +4 -0
- package/dist/packages/slider/slider.test.js +83 -0
- package/dist/packages/slider/styles/w-slider-thumb.styles.d.ts +1 -0
- package/dist/packages/slider/styles/w-slider-thumb.styles.js +132 -0
- package/dist/packages/slider/styles/w-slider.styles.d.ts +1 -0
- package/dist/packages/slider/styles/w-slider.styles.js +118 -0
- package/dist/packages/slider/styles.d.ts +1 -0
- package/dist/packages/slider/styles.js +2 -0
- package/dist/packages/steps/index.d.ts +36 -0
- package/dist/packages/steps/index.js +2465 -0
- package/dist/packages/steps/index.js.map +7 -0
- package/dist/packages/steps/locales/da/messages.d.mts +1 -0
- package/dist/packages/steps/locales/da/messages.mjs +1 -0
- package/dist/packages/steps/locales/en/messages.d.mts +1 -0
- package/dist/packages/steps/locales/en/messages.mjs +1 -0
- package/dist/packages/steps/locales/fi/messages.d.mts +1 -0
- package/dist/packages/steps/locales/fi/messages.mjs +1 -0
- package/dist/packages/steps/locales/nb/messages.d.mts +1 -0
- package/dist/packages/steps/locales/nb/messages.mjs +1 -0
- package/dist/packages/steps/locales/sv/messages.d.mts +1 -0
- package/dist/packages/steps/locales/sv/messages.mjs +1 -0
- package/dist/packages/steps/react.d.ts +3 -0
- package/dist/packages/steps/react.js +13 -0
- package/dist/packages/steps/steps.stories.d.ts +12 -0
- package/dist/packages/steps/steps.stories.js +172 -0
- package/dist/packages/steps/styles.d.ts +1 -0
- package/dist/packages/steps/styles.js +2 -0
- package/dist/packages/styles.d.ts +2 -0
- package/dist/packages/styles.js +2442 -0
- package/dist/packages/switch/index.d.ts +15 -0
- package/dist/packages/switch/index.js +2455 -0
- package/dist/packages/switch/index.js.map +7 -0
- package/dist/packages/switch/react.d.ts +2 -0
- package/dist/packages/switch/react.js +8 -0
- package/dist/packages/switch/styles.d.ts +1 -0
- package/dist/packages/switch/styles.js +2 -0
- package/dist/packages/switch/switch.stories.d.ts +9 -0
- package/dist/packages/switch/switch.stories.js +34 -0
- package/dist/packages/tabs/index.d.ts +4 -0
- package/dist/packages/tabs/index.js +2470 -0
- package/dist/packages/tabs/index.js.map +7 -0
- package/dist/packages/tabs/react.d.ts +4 -0
- package/dist/packages/tabs/react.js +18 -0
- package/dist/packages/tabs/styles.d.ts +1 -0
- package/dist/packages/tabs/styles.js +2 -0
- package/dist/packages/tabs/tab-panel.d.ts +20 -0
- package/dist/packages/tabs/tab-panel.js +2441 -0
- package/dist/packages/tabs/tab-panel.js.map +7 -0
- package/dist/packages/tabs/tab.d.ts +18 -0
- package/dist/packages/tabs/tab.js +2463 -0
- package/dist/packages/tabs/tab.js.map +7 -0
- package/dist/packages/tabs/tabs.d.ts +38 -0
- package/dist/packages/tabs/tabs.js +2448 -0
- package/dist/packages/tabs/tabs.js.map +7 -0
- package/dist/packages/tabs/tabs.stories.d.ts +8 -0
- package/dist/packages/tabs/tabs.stories.js +2545 -0
- package/dist/packages/tabs/tabs.stories.js.map +7 -0
- package/dist/packages/textfield/index.d.ts +78 -74
- package/dist/packages/textfield/index.js +2514 -422
- package/dist/packages/textfield/index.js.map +4 -4
- package/dist/packages/textfield/react.d.ts +2 -0
- package/dist/packages/textfield/react.js +8 -0
- package/dist/packages/textfield/styles/w-textfield.styles.d.ts +1 -0
- package/dist/packages/textfield/styles/w-textfield.styles.js +46 -0
- package/dist/packages/textfield/styles.d.ts +1 -0
- package/dist/packages/textfield/styles.js +2 -0
- package/dist/packages/textfield/textfield.stories.d.ts +18 -0
- package/dist/packages/textfield/textfield.stories.js +105 -0
- package/dist/packages/textfield/textfield.test.d.ts +2 -0
- package/dist/packages/textfield/textfield.test.js +68 -0
- package/dist/packages/toast/api.d.ts +4 -45
- package/dist/packages/toast/api.js +41 -0
- package/dist/packages/toast/index.d.ts +3 -0
- package/dist/packages/toast/index.js +2466 -2787
- package/dist/packages/toast/index.js.map +4 -4
- package/dist/packages/toast/locales/da/messages.mjs +1 -0
- package/dist/packages/toast/locales/en/messages.mjs +1 -0
- package/dist/packages/toast/locales/fi/messages.mjs +1 -0
- package/dist/packages/toast/locales/nb/messages.mjs +1 -0
- package/dist/packages/toast/locales/sv/messages.mjs +1 -0
- package/dist/packages/toast/styles.d.ts +1 -0
- package/dist/packages/toast/styles.js +2 -0
- package/dist/packages/toast/toast-container.d.ts +12 -63
- package/dist/packages/toast/toast-container.js +153 -0
- package/dist/packages/toast/toast.d.ts +34 -29
- package/dist/packages/toast/toast.js +200 -0
- package/dist/packages/toast/toast.stories.d.ts +12 -0
- package/dist/packages/toast/toast.stories.js +50 -0
- package/dist/packages/toast/types.d.ts +15 -0
- package/dist/packages/toast/types.js +1 -0
- package/dist/packages/utils/expand-transition.d.ts +3 -2
- package/dist/packages/utils/expand-transition.js +59 -0
- package/dist/packages/utils/index.d.ts +1 -1
- package/dist/packages/utils/index.js +2 -0
- package/dist/packages/utils/index.js.map +7 -0
- package/dist/packages/utils/unstyled-heading.d.ts +3 -3
- package/dist/packages/utils/unstyled-heading.js +22 -0
- package/dist/packages/utils/window-exists.js +1 -0
- package/dist/setup-tests.d.ts +1 -0
- package/dist/setup-tests.js +1 -0
- package/dist/vscode.css-custom-data.json +6 -0
- package/dist/vscode.html-custom-data.json +733 -0
- package/dist/web-types.json +1685 -0
- package/package.json +93 -38
- package/dist/index.js +0 -6838
- package/dist/index.js.map +0 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
export const styles = css `*,:before,:after{--w-rotate:0;--w-rotate-x:0;--w-rotate-y:0;--w-rotate-z:0;--w-scale-x:1;--w-scale-y:1;--w-scale-z:1;--w-skew-x:0;--w-skew-y:0;--w-translate-x:0;--w-translate-y:0;--w-translate-z:0}.will-change-height{will-change:height}.border{border-width:1px}.border-l-4{border-left-width:4px}.rounded-4{border-radius:4px}.block{display:block}.flex{display:flex}.static{position:static}.s-bg-info-subtle{background-color:var(--w-s-color-background-info-subtle)}.s-bg-negative-subtle{background-color:var(--w-s-color-background-negative-subtle)}.s-bg-positive-subtle{background-color:var(--w-s-color-background-positive-subtle)}.s-bg-warning-subtle{background-color:var(--w-s-color-background-warning-subtle)}.s-text{color:var(--w-s-color-text)}.s-icon-info{color:var(--w-s-color-icon-info)}.s-icon-negative{color:var(--w-s-color-icon-negative)}.s-icon-positive{color:var(--w-s-color-icon-positive)}.s-icon-warning{color:var(--w-s-color-icon-warning)}.s-border-info-subtle{border-color:var(--w-s-color-border-info-subtle)}.s-border-l-info{border-left-color:var(--w-s-color-border-info)}.s-border-l-negative{border-left-color:var(--w-s-color-border-negative)}.s-border-l-positive{border-left-color:var(--w-s-color-border-positive)}.s-border-l-warning{border-left-color:var(--w-s-color-border-warning)}.s-border-negative-subtle{border-color:var(--w-s-color-border-negative-subtle)}.s-border-positive-subtle{border-color:var(--w-s-color-border-positive-subtle)}.s-border-warning-subtle{border-color:var(--w-s-color-border-warning-subtle)}.min-w-16{min-width:1.6rem}.w-16{width:1.6rem}.last-child\\:mb-0>:last-child{margin-bottom:0}.mr-8{margin-right:.8rem}.p-16{padding:1.6rem}.text-s{font-size:var(--w-font-size-s);line-height:var(--w-line-height-s)}`;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
import type { WarpAttention } from './index.js';
|
|
3
|
+
import './index.js';
|
|
4
|
+
declare const args: Partial<WarpAttention> & {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
};
|
|
7
|
+
declare const meta: Meta<typeof args>;
|
|
8
|
+
export default meta;
|
|
9
|
+
type Story = StoryObj<typeof args>;
|
|
10
|
+
export declare const Default: Story;
|
|
11
|
+
export declare const ToolTip: Story;
|
|
12
|
+
export declare const Callout: Story;
|
|
13
|
+
export declare const Highlight: Story;
|
|
14
|
+
export declare const DismissibleHighlight: Story;
|
|
15
|
+
export declare const AccessibleTooltip: Story;
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
import { spread } from '@open-wc/lit-helpers';
|
|
3
|
+
import { getStorybookHelpers } from '@wc-toolkit/storybook-helpers';
|
|
4
|
+
import { prespread } from '../../.storybook/utilities.js';
|
|
5
|
+
import './index.js';
|
|
6
|
+
const { events, args, argTypes } = getStorybookHelpers('w-attention');
|
|
7
|
+
const meta = {
|
|
8
|
+
title: 'Overlays/Attention',
|
|
9
|
+
render(args) {
|
|
10
|
+
return html `
|
|
11
|
+
<w-attention ${spread(prespread(args))}>
|
|
12
|
+
<button
|
|
13
|
+
${spread({ id: args.buttonId })}
|
|
14
|
+
class="group block relative break-words last-child:mb-0 p-16 rounded-8 s-bg-subtle"
|
|
15
|
+
slot="target">
|
|
16
|
+
${args.buttonText}
|
|
17
|
+
</button>
|
|
18
|
+
<span slot="message">I'm a message</span>
|
|
19
|
+
</w-attention>
|
|
20
|
+
`;
|
|
21
|
+
},
|
|
22
|
+
args,
|
|
23
|
+
argTypes,
|
|
24
|
+
parameters: {
|
|
25
|
+
actions: {
|
|
26
|
+
handles: events,
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
export default meta;
|
|
31
|
+
export const Default = {
|
|
32
|
+
args: {
|
|
33
|
+
placement: 'bottom',
|
|
34
|
+
popover: true,
|
|
35
|
+
flip: true,
|
|
36
|
+
},
|
|
37
|
+
render(args) {
|
|
38
|
+
return html `
|
|
39
|
+
<w-attention ${spread(prespread(args))}>
|
|
40
|
+
<w-button id="popoverTarget" slot="target"> Click to toggle a popover </w-button>
|
|
41
|
+
<span slot="message">I'm a popover</span>
|
|
42
|
+
</w-attention>
|
|
43
|
+
|
|
44
|
+
<script>
|
|
45
|
+
const popoverTarget = document.querySelector('#popoverTarget');
|
|
46
|
+
const popoverEl = document.querySelector('[popover]');
|
|
47
|
+
|
|
48
|
+
popoverTarget.addEventListener('click', () => {
|
|
49
|
+
if (popoverEl.show) {
|
|
50
|
+
popoverEl.removeAttribute('show');
|
|
51
|
+
} else {
|
|
52
|
+
popoverEl.setAttribute('show', 'true');
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
</script>
|
|
56
|
+
`;
|
|
57
|
+
},
|
|
58
|
+
decorators: [
|
|
59
|
+
(story) => html `
|
|
60
|
+
${story()}
|
|
61
|
+
<script>
|
|
62
|
+
// use IIFE to create local scope
|
|
63
|
+
(() => {
|
|
64
|
+
const popoverIconEl = document.getElementById('attention-element');
|
|
65
|
+
const popoverIconTarget = document.getElementById('icon-button-target');
|
|
66
|
+
popoverIconTarget.addEventListener('click', () => {
|
|
67
|
+
popoverIconEl.show = !popoverIconEl.show;
|
|
68
|
+
});
|
|
69
|
+
})();
|
|
70
|
+
</script>
|
|
71
|
+
`,
|
|
72
|
+
],
|
|
73
|
+
};
|
|
74
|
+
export const ToolTip = {
|
|
75
|
+
args: { placement: 'right', buttonText: 'hover me', id: 'tooltip-element', tooltip: true, flip: true, buttonId: 'tooltip-target' },
|
|
76
|
+
decorators: [
|
|
77
|
+
(story) => html `
|
|
78
|
+
${story()}
|
|
79
|
+
<script>
|
|
80
|
+
(() => {
|
|
81
|
+
const button = document.getElementById('tooltip-target');
|
|
82
|
+
const tooltip = document.getElementById('tooltip-element');
|
|
83
|
+
button.addEventListener('mouseenter', () => {
|
|
84
|
+
tooltip.show = true;
|
|
85
|
+
});
|
|
86
|
+
button.addEventListener('mouseleave', () => {
|
|
87
|
+
tooltip.show = false;
|
|
88
|
+
});
|
|
89
|
+
button.addEventListener('focus', () => {
|
|
90
|
+
tooltip.show = true;
|
|
91
|
+
});
|
|
92
|
+
button.addEventListener('blur', () => {
|
|
93
|
+
tooltip.show = false;
|
|
94
|
+
});
|
|
95
|
+
})();
|
|
96
|
+
</script>
|
|
97
|
+
`,
|
|
98
|
+
],
|
|
99
|
+
};
|
|
100
|
+
export const Callout = {
|
|
101
|
+
args: { buttonText: 'i need a callout', class: 'flex items-center gap-8', placement: 'right', callout: true, show: true },
|
|
102
|
+
};
|
|
103
|
+
export const Highlight = {
|
|
104
|
+
args: {
|
|
105
|
+
buttonId: 'highlight-target1',
|
|
106
|
+
id: 'highlight-message',
|
|
107
|
+
buttonText: `I'm highlighted`,
|
|
108
|
+
placement: 'right',
|
|
109
|
+
highlight: true,
|
|
110
|
+
flip: true,
|
|
111
|
+
},
|
|
112
|
+
decorators: [
|
|
113
|
+
(story) => html `
|
|
114
|
+
${story()}
|
|
115
|
+
<script>
|
|
116
|
+
(() => {
|
|
117
|
+
const button = document.getElementById('highlight-target1');
|
|
118
|
+
const highlight = document.getElementById('highlight-message');
|
|
119
|
+
button.addEventListener('click', () => {
|
|
120
|
+
highlight.show = !highlight.show;
|
|
121
|
+
});
|
|
122
|
+
})();
|
|
123
|
+
</script>
|
|
124
|
+
`,
|
|
125
|
+
],
|
|
126
|
+
};
|
|
127
|
+
export const DismissibleHighlight = {
|
|
128
|
+
args: {
|
|
129
|
+
class: 'flex items-center gap-8',
|
|
130
|
+
placement: 'right',
|
|
131
|
+
buttonId: 'highlight-target2',
|
|
132
|
+
buttonText: 'click me',
|
|
133
|
+
id: 'dismissible-highlight-message',
|
|
134
|
+
['can-close']: true,
|
|
135
|
+
['cross-axis']: true,
|
|
136
|
+
highlight: true,
|
|
137
|
+
flip: true,
|
|
138
|
+
},
|
|
139
|
+
decorators: [
|
|
140
|
+
(story) => html `
|
|
141
|
+
${story()}
|
|
142
|
+
<script>
|
|
143
|
+
(() => {
|
|
144
|
+
const button = document.getElementById('highlight-target2');
|
|
145
|
+
const highlight = document.getElementById('dismissible-highlight-message');
|
|
146
|
+
button.addEventListener('click', () => {
|
|
147
|
+
highlight.show = true;
|
|
148
|
+
});
|
|
149
|
+
highlight.addEventListener('close', () => {
|
|
150
|
+
highlight.show = false;
|
|
151
|
+
});
|
|
152
|
+
})();
|
|
153
|
+
</script>
|
|
154
|
+
`,
|
|
155
|
+
],
|
|
156
|
+
};
|
|
157
|
+
export const AccessibleTooltip = {
|
|
158
|
+
args: {},
|
|
159
|
+
render() {
|
|
160
|
+
return html `
|
|
161
|
+
<w-attention id="accessible-attention" placement="right" popover>
|
|
162
|
+
<div slot="message">
|
|
163
|
+
<p id="aria-content" role="tooltip">I'm a popover with ARIA "tooltip" role</p>
|
|
164
|
+
<p>(this text is less relevant)</p>
|
|
165
|
+
</div>
|
|
166
|
+
<button
|
|
167
|
+
aria-details="aria-content"
|
|
168
|
+
id="accessible-target"
|
|
169
|
+
class="group block relative break-words last-child:mb-0 p-16 rounded-8 s-bg-subtle"
|
|
170
|
+
slot="target">
|
|
171
|
+
Click to toggle a popover
|
|
172
|
+
</button>
|
|
173
|
+
</w-attention>
|
|
174
|
+
`;
|
|
175
|
+
},
|
|
176
|
+
decorators: [
|
|
177
|
+
(story) => html ` ${story()}
|
|
178
|
+
<script>
|
|
179
|
+
(() => {
|
|
180
|
+
const button = document.getElementById('accessible-target');
|
|
181
|
+
const accessibleAttention = document.getElementById('accessible-attention');
|
|
182
|
+
button.addEventListener('click', () => {
|
|
183
|
+
accessibleAttention.show = !accessibleAttention.show;
|
|
184
|
+
});
|
|
185
|
+
})();
|
|
186
|
+
</script>`,
|
|
187
|
+
],
|
|
188
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.js';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
import { page } from '@vitest/browser/context';
|
|
3
|
+
import { expect, test } from 'vitest';
|
|
4
|
+
import './index.js';
|
|
5
|
+
test('renders an info', async () => {
|
|
6
|
+
const screen = await page.render(html `<w-attention show data-testid="attentionTarget" placement="bottom" popover flip>
|
|
7
|
+
<button id="target" slot="target" onclick="toggleShow()">Click to toggle a popover</button>
|
|
8
|
+
<span slot="message">I'm a popover</span>
|
|
9
|
+
</w-attention>`);
|
|
10
|
+
await expect.element(screen.getByTestId('attentionTarget')).toBeVisible();
|
|
11
|
+
});
|
|
@@ -1,69 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { Directions } from '@warp-ds/core/attention';
|
|
3
|
+
import '@warp-ds/icons/elements/close-16';
|
|
4
|
+
export declare const ccAttention: {
|
|
5
|
+
base: string;
|
|
6
|
+
tooltip: string;
|
|
7
|
+
callout: string;
|
|
8
|
+
highlight: string;
|
|
9
|
+
popover: string;
|
|
10
|
+
arrowBase: string;
|
|
11
|
+
arrowDirectionLeftStart: string;
|
|
12
|
+
arrowDirectionLeft: string;
|
|
13
|
+
arrowDirectionLeftEnd: string;
|
|
14
|
+
arrowDirectionRightStart: string;
|
|
15
|
+
arrowDirectionRight: string;
|
|
16
|
+
arrowDirectionRightEnd: string;
|
|
17
|
+
arrowDirectionBottomStart: string;
|
|
18
|
+
arrowDirectionBottom: string;
|
|
19
|
+
arrowDirectionBottomEnd: string;
|
|
20
|
+
arrowDirectionTopStart: string;
|
|
21
|
+
arrowDirectionTop: string;
|
|
22
|
+
arrowDirectionTopEnd: string;
|
|
23
|
+
arrowTooltip: string;
|
|
24
|
+
arrowCallout: string;
|
|
25
|
+
arrowPopover: string;
|
|
26
|
+
arrowHighlight: string;
|
|
27
|
+
content: string;
|
|
28
|
+
notCallout: string;
|
|
29
|
+
closeBtn: string;
|
|
7
30
|
};
|
|
8
|
-
|
|
9
|
-
static properties: {
|
|
10
|
-
show: {
|
|
11
|
-
type: BooleanConstructor;
|
|
12
|
-
reflect: boolean;
|
|
13
|
-
};
|
|
14
|
-
placement: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
reflect: boolean;
|
|
17
|
-
};
|
|
18
|
-
tooltip: {
|
|
19
|
-
type: BooleanConstructor;
|
|
20
|
-
reflect: boolean;
|
|
21
|
-
};
|
|
22
|
-
callout: {
|
|
23
|
-
type: BooleanConstructor;
|
|
24
|
-
reflect: boolean;
|
|
25
|
-
};
|
|
26
|
-
popover: {
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
reflect: boolean;
|
|
29
|
-
};
|
|
30
|
-
highlight: {
|
|
31
|
-
type: BooleanConstructor;
|
|
32
|
-
reflect: boolean;
|
|
33
|
-
};
|
|
34
|
-
canClose: {
|
|
35
|
-
type: BooleanConstructor;
|
|
36
|
-
reflect: boolean;
|
|
37
|
-
};
|
|
38
|
-
noArrow: {
|
|
39
|
-
type: BooleanConstructor;
|
|
40
|
-
reflect: boolean;
|
|
41
|
-
};
|
|
42
|
-
distance: {
|
|
43
|
-
type: NumberConstructor;
|
|
44
|
-
reflect: boolean;
|
|
45
|
-
};
|
|
46
|
-
skidding: {
|
|
47
|
-
type: NumberConstructor;
|
|
48
|
-
reflect: boolean;
|
|
49
|
-
};
|
|
50
|
-
flip: {
|
|
51
|
-
type: BooleanConstructor;
|
|
52
|
-
reflect: boolean;
|
|
53
|
-
};
|
|
54
|
-
crossAxis: {
|
|
55
|
-
type: BooleanConstructor;
|
|
56
|
-
reflect: boolean;
|
|
57
|
-
};
|
|
58
|
-
fallbackPlacements: {
|
|
59
|
-
type: ArrayConstructor;
|
|
60
|
-
reflect: boolean;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
static styles: any[];
|
|
64
|
-
handleDone(): void;
|
|
31
|
+
declare class WarpAttention extends LitElement {
|
|
65
32
|
show: boolean;
|
|
66
|
-
placement:
|
|
33
|
+
placement: Directions;
|
|
67
34
|
tooltip: boolean;
|
|
68
35
|
callout: boolean;
|
|
69
36
|
popover: boolean;
|
|
@@ -74,48 +41,53 @@ export class WarpAttention extends WarpAttention_base {
|
|
|
74
41
|
skidding: number;
|
|
75
42
|
flip: boolean;
|
|
76
43
|
crossAxis: boolean;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
44
|
+
fallbackPlacements: Directions[];
|
|
45
|
+
/** @internal */
|
|
46
|
+
attentionState: any;
|
|
47
|
+
/** @internal */
|
|
48
|
+
_initialPlacement: Directions;
|
|
49
|
+
static styles: import("lit").CSSResult[];
|
|
50
|
+
constructor();
|
|
80
51
|
connectedCallback(): void;
|
|
81
52
|
disconnectedCallback(): void;
|
|
82
|
-
|
|
83
|
-
|
|
53
|
+
handleDone(): void;
|
|
54
|
+
/** @internal */
|
|
55
|
+
get _actualDirection(): Directions;
|
|
56
|
+
/** @internal */
|
|
57
|
+
set _actualDirection(v: Directions);
|
|
58
|
+
/** @internal */
|
|
59
|
+
get _arrowEl(): Element;
|
|
60
|
+
/** @internal */
|
|
61
|
+
get _arrowDirection(): Directions;
|
|
62
|
+
/** @internal */
|
|
84
63
|
get _arrowClasses(): string;
|
|
85
|
-
|
|
64
|
+
/** @internal */
|
|
65
|
+
get _arrowHtml(): "" | import("lit").TemplateResult<1>;
|
|
66
|
+
/** @internal */
|
|
86
67
|
get _activeVariantClasses(): {
|
|
87
68
|
wrapper: any;
|
|
88
69
|
arrow: any;
|
|
89
70
|
};
|
|
90
|
-
|
|
91
|
-
get
|
|
92
|
-
|
|
71
|
+
/** @internal */
|
|
72
|
+
get _attentionEl(): HTMLDivElement;
|
|
73
|
+
/** @internal */
|
|
74
|
+
get _targetEl(): Element | null;
|
|
75
|
+
/** @internal */
|
|
76
|
+
get _messageEl(): Element | null;
|
|
77
|
+
/** @internal */
|
|
93
78
|
get _wrapperClasses(): string;
|
|
79
|
+
/** @internal */
|
|
94
80
|
get _ariaClose(): string;
|
|
81
|
+
/** @internal */
|
|
95
82
|
get _closeBtnHtml(): import("lit").TemplateResult<1>;
|
|
96
83
|
updated(): void;
|
|
97
|
-
attentionState: {
|
|
98
|
-
isShowing: boolean;
|
|
99
|
-
isCallout: boolean;
|
|
100
|
-
actualDirection: string;
|
|
101
|
-
directionName: string;
|
|
102
|
-
arrowEl: any;
|
|
103
|
-
attentionEl: any;
|
|
104
|
-
targetEl: any;
|
|
105
|
-
noArrow: boolean;
|
|
106
|
-
distance: number;
|
|
107
|
-
skidding: number;
|
|
108
|
-
flip: boolean;
|
|
109
|
-
crossAxis: boolean;
|
|
110
|
-
fallbackPlacements: any;
|
|
111
|
-
};
|
|
112
84
|
pointingAtDirection(): string;
|
|
113
85
|
activeAttentionType(): string;
|
|
114
86
|
defaultAriaLabel(): string;
|
|
115
87
|
setAriaLabels(): void;
|
|
116
88
|
firstUpdated(): void;
|
|
117
89
|
close(): void;
|
|
118
|
-
keypressed(e:
|
|
90
|
+
keypressed(e: KeyboardEvent): void;
|
|
119
91
|
render(): import("lit").TemplateResult<1>;
|
|
120
92
|
}
|
|
121
|
-
export {};
|
|
93
|
+
export { WarpAttention };
|