@dialpad/dialtone-vue 3.176.2 → 3.177.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_plugin-vue_export-helper-BRilXfQE.cjs +2 -0
- package/dist/_plugin-vue_export-helper-BRilXfQE.cjs.map +1 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +10 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js.map +1 -0
- package/dist/common/config/index.cjs +2 -0
- package/dist/common/config/index.cjs.map +1 -0
- package/dist/common/config/index.js +9 -0
- package/dist/common/config/index.js.map +1 -0
- package/dist/common/constants/index.cjs +2 -0
- package/dist/common/constants/index.cjs.map +1 -0
- package/dist/common/constants/index.js +53 -0
- package/dist/common/constants/index.js.map +1 -0
- package/dist/common/dates/index.cjs +2 -0
- package/dist/common/dates/index.cjs.map +1 -0
- package/dist/common/dates/index.js +55 -0
- package/dist/common/dates/index.js.map +1 -0
- package/dist/common/emoji/index.cjs +2 -0
- package/dist/common/emoji/index.cjs.map +1 -0
- package/dist/common/emoji/index.js +124 -0
- package/dist/common/emoji/index.js.map +1 -0
- package/dist/common/mixins/dom.cjs +1 -101
- package/dist/common/mixins/dom.cjs.map +1 -1
- package/dist/common/mixins/dom.js +40 -65
- package/dist/common/mixins/dom.js.map +1 -1
- package/dist/common/mixins/index.cjs +2 -0
- package/dist/common/mixins/index.cjs.map +1 -0
- package/dist/common/mixins/index.js +19 -0
- package/dist/common/mixins/index.js.map +1 -0
- package/dist/common/mixins/input-group.cjs +2 -0
- package/dist/common/mixins/input-group.cjs.map +1 -0
- package/dist/common/mixins/input-group.js +153 -0
- package/dist/common/mixins/input-group.js.map +1 -0
- package/dist/common/mixins/input.cjs +1 -295
- package/dist/common/mixins/input.cjs.map +1 -1
- package/dist/common/mixins/input.js +65 -82
- package/dist/common/mixins/input.js.map +1 -1
- package/dist/common/mixins/keyboard-list-navigation.cjs +2 -0
- package/dist/common/mixins/keyboard-list-navigation.cjs.map +1 -0
- package/dist/common/mixins/keyboard-list-navigation.js +127 -0
- package/dist/common/mixins/keyboard-list-navigation.js.map +1 -0
- package/dist/common/mixins/modal.cjs +1 -106
- package/dist/common/mixins/modal.cjs.map +1 -1
- package/dist/common/mixins/modal.js +30 -54
- package/dist/common/mixins/modal.js.map +1 -1
- package/dist/common/mixins/skeleton.cjs +1 -27
- package/dist/common/mixins/skeleton.cjs.map +1 -1
- package/dist/common/mixins/skeleton.js +12 -17
- package/dist/common/mixins/skeleton.js.map +1 -1
- package/dist/common/mixins/sr-only-close-button.cjs +3 -0
- package/dist/common/mixins/sr-only-close-button.cjs.map +1 -0
- package/dist/common/mixins/sr-only-close-button.js +44 -0
- package/dist/common/mixins/sr-only-close-button.js.map +1 -0
- package/dist/common/utils/index.cjs +2 -0
- package/dist/common/utils/index.cjs.map +1 -0
- package/dist/common/utils/index.js +213 -0
- package/dist/common/utils/index.js.map +1 -0
- package/dist/common/validators/index.cjs +2 -0
- package/dist/common/validators/index.cjs.map +1 -0
- package/dist/common/validators/index.js +12 -0
- package/dist/common/validators/index.js.map +1 -0
- package/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.cjs +1 -406
- package/dist/dialtone-vue.cjs.map +1 -1
- package/dist/dialtone-vue.js +402 -389
- package/dist/dialtone-vue.js.map +1 -1
- package/dist/lib/attachment-carousel/attachment-carousel.cjs +2 -0
- package/dist/lib/attachment-carousel/attachment-carousel.cjs.map +1 -0
- package/dist/lib/attachment-carousel/attachment-carousel.js +316 -0
- package/dist/lib/attachment-carousel/attachment-carousel.js.map +1 -0
- package/dist/lib/attachment-carousel/index.cjs +2 -0
- package/dist/lib/attachment-carousel/index.cjs.map +1 -0
- package/dist/lib/attachment-carousel/index.js +5 -0
- package/dist/lib/avatar/avatar-constants.cjs +2 -0
- package/dist/lib/avatar/avatar-constants.cjs.map +1 -0
- package/dist/lib/avatar/avatar-constants.js +67 -0
- package/dist/lib/avatar/avatar-constants.js.map +1 -0
- package/dist/lib/avatar/avatar.cjs +2 -0
- package/dist/lib/avatar/avatar.cjs.map +1 -0
- package/dist/lib/avatar/avatar.js +347 -0
- package/dist/lib/avatar/avatar.js.map +1 -0
- package/dist/lib/avatar/index.cjs +2 -0
- package/dist/lib/avatar/index.cjs.map +1 -0
- package/dist/lib/avatar/index.js +14 -0
- package/dist/lib/avatar/index.js.map +1 -0
- package/dist/lib/avatar/utils.cjs +2 -0
- package/dist/lib/avatar/utils.cjs.map +1 -0
- package/dist/lib/avatar/utils.js +9 -0
- package/dist/lib/avatar/utils.js.map +1 -0
- package/dist/lib/badge/badge-constants.cjs +2 -0
- package/dist/lib/badge/badge-constants.cjs.map +1 -0
- package/dist/lib/badge/badge-constants.js +41 -0
- package/dist/lib/badge/badge-constants.js.map +1 -0
- package/dist/lib/badge/badge.cjs +2 -0
- package/dist/lib/badge/badge.cjs.map +1 -0
- package/dist/lib/badge/badge.js +153 -0
- package/dist/lib/badge/badge.js.map +1 -0
- package/dist/lib/badge/index.cjs +2 -0
- package/dist/lib/badge/index.cjs.map +1 -0
- package/dist/lib/badge/index.js +9 -0
- package/dist/lib/badge/index.js.map +1 -0
- package/dist/lib/banner/banner.cjs +3 -0
- package/dist/lib/banner/banner.cjs.map +1 -0
- package/dist/lib/banner/banner.js +229 -0
- package/dist/lib/banner/banner.js.map +1 -0
- package/dist/lib/banner/index.cjs +2 -0
- package/dist/lib/banner/index.cjs.map +1 -0
- package/dist/lib/banner/index.js +5 -0
- package/dist/lib/breadcrumbs/breadcrumb-item.cjs +2 -0
- package/dist/lib/breadcrumbs/breadcrumb-item.cjs.map +1 -0
- package/dist/lib/breadcrumbs/breadcrumb-item.js +85 -0
- package/dist/lib/breadcrumbs/breadcrumb-item.js.map +1 -0
- package/dist/lib/breadcrumbs/breadcrumbs-constants.cjs +2 -0
- package/dist/lib/breadcrumbs/breadcrumbs-constants.cjs.map +1 -0
- package/dist/lib/breadcrumbs/breadcrumbs-constants.js +6 -0
- package/dist/lib/breadcrumbs/breadcrumbs-constants.js.map +1 -0
- package/dist/lib/breadcrumbs/breadcrumbs.cjs +2 -0
- package/dist/lib/breadcrumbs/breadcrumbs.cjs.map +1 -0
- package/dist/lib/breadcrumbs/breadcrumbs.js +74 -0
- package/dist/lib/breadcrumbs/breadcrumbs.js.map +1 -0
- package/dist/lib/breadcrumbs/index.cjs +2 -0
- package/dist/lib/breadcrumbs/index.cjs.map +1 -0
- package/dist/lib/breadcrumbs/index.js +10 -0
- package/dist/lib/breadcrumbs/index.js.map +1 -0
- package/dist/lib/button/button-constants.cjs +2 -0
- package/dist/lib/button/button-constants.cjs.map +1 -0
- package/dist/lib/button/button-constants.js +75 -0
- package/dist/lib/button/button-constants.js.map +1 -0
- package/dist/lib/button/button.cjs +2 -0
- package/dist/lib/button/button.cjs.map +1 -0
- package/dist/lib/button/button.js +278 -0
- package/dist/lib/button/button.js.map +1 -0
- package/dist/lib/button/index.cjs +2 -0
- package/dist/lib/button/index.cjs.map +1 -0
- package/dist/lib/button/index.js +13 -0
- package/dist/lib/button/index.js.map +1 -0
- package/dist/lib/button-group/button-group-constants.cjs +2 -0
- package/dist/lib/button-group/button-group-constants.cjs.map +1 -0
- package/dist/lib/button-group/button-group-constants.js +9 -0
- package/dist/lib/button-group/button-group-constants.js.map +1 -0
- package/dist/lib/button-group/button-group.cjs +2 -0
- package/dist/lib/button-group/button-group.cjs.map +1 -0
- package/dist/lib/button-group/button-group.js +38 -0
- package/dist/lib/button-group/button-group.js.map +1 -0
- package/dist/lib/button-group/buttons-decorator.cjs +2 -0
- package/dist/lib/button-group/buttons-decorator.cjs.map +1 -0
- package/dist/lib/button-group/buttons-decorator.js +30 -0
- package/dist/lib/button-group/buttons-decorator.js.map +1 -0
- package/dist/lib/button-group/index.cjs +2 -0
- package/dist/lib/button-group/index.cjs.map +1 -0
- package/dist/lib/button-group/index.js +7 -0
- package/dist/lib/button-group/index.js.map +1 -0
- package/dist/lib/callbar-button/callbar-button-constants.cjs +2 -0
- package/dist/lib/callbar-button/callbar-button-constants.cjs.map +1 -0
- package/dist/lib/callbar-button/callbar-button-constants.js +8 -0
- package/dist/lib/callbar-button/callbar-button-constants.js.map +1 -0
- package/dist/lib/callbar-button/callbar-button.cjs +2 -0
- package/dist/lib/callbar-button/callbar-button.cjs.map +1 -0
- package/dist/lib/callbar-button/callbar-button.js +230 -0
- package/dist/lib/callbar-button/callbar-button.js.map +1 -0
- package/dist/lib/callbar-button/index.cjs +2 -0
- package/dist/lib/callbar-button/index.cjs.map +1 -0
- package/dist/lib/callbar-button/index.js +7 -0
- package/dist/lib/callbar-button/index.js.map +1 -0
- package/dist/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs +2 -0
- package/dist/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.cjs.map +1 -0
- package/dist/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js +303 -0
- package/dist/lib/callbar-button-with-dropdown/callbar-button-with-dropdown.js.map +1 -0
- package/dist/lib/callbar-button-with-dropdown/index.cjs +2 -0
- package/dist/lib/callbar-button-with-dropdown/index.cjs.map +1 -0
- package/dist/lib/callbar-button-with-dropdown/index.js +5 -0
- package/dist/lib/callbar-button-with-popover/callbar-button-with-popover.cjs +2 -0
- package/dist/lib/callbar-button-with-popover/callbar-button-with-popover.cjs.map +1 -0
- package/dist/lib/callbar-button-with-popover/callbar-button-with-popover.js +350 -0
- package/dist/lib/callbar-button-with-popover/callbar-button-with-popover.js.map +1 -0
- package/dist/lib/callbar-button-with-popover/index.cjs +2 -0
- package/dist/lib/callbar-button-with-popover/index.cjs.map +1 -0
- package/dist/lib/callbar-button-with-popover/index.js +5 -0
- package/dist/lib/callbox/callbox-constants.cjs +2 -0
- package/dist/lib/callbox/callbox-constants.cjs.map +1 -0
- package/dist/lib/callbox/callbox-constants.js +16 -0
- package/dist/lib/callbox/callbox-constants.js.map +1 -0
- package/dist/lib/callbox/callbox.cjs +2 -0
- package/dist/lib/callbox/callbox.cjs.map +1 -0
- package/dist/lib/callbox/callbox.js +204 -0
- package/dist/lib/callbox/callbox.js.map +1 -0
- package/dist/lib/callbox/index.cjs +2 -0
- package/dist/lib/callbox/index.cjs.map +1 -0
- package/dist/lib/callbox/index.js +8 -0
- package/dist/lib/callbox/index.js.map +1 -0
- package/dist/lib/card/card.cjs +2 -0
- package/dist/lib/card/card.cjs.map +1 -0
- package/dist/lib/card/card.js +92 -0
- package/dist/lib/card/card.js.map +1 -0
- package/dist/lib/card/index.cjs +2 -0
- package/dist/lib/card/index.cjs.map +1 -0
- package/dist/lib/card/index.js +5 -0
- package/dist/lib/card/index.js.map +1 -0
- package/dist/lib/checkbox/checkbox-constants.cjs +2 -0
- package/dist/lib/checkbox/checkbox-constants.cjs.map +1 -0
- package/dist/lib/checkbox/checkbox-constants.js +12 -0
- package/dist/lib/checkbox/checkbox-constants.js.map +1 -0
- package/dist/lib/checkbox/checkbox.cjs +2 -0
- package/dist/lib/checkbox/checkbox.cjs.map +1 -0
- package/dist/lib/checkbox/checkbox.js +144 -0
- package/dist/lib/checkbox/checkbox.js.map +1 -0
- package/dist/lib/checkbox/index.cjs +2 -0
- package/dist/lib/checkbox/index.cjs.map +1 -0
- package/dist/lib/checkbox/index.js +5 -0
- package/dist/lib/checkbox/index.js.map +1 -0
- package/dist/lib/checkbox-group/checkbox-group.cjs +2 -0
- package/dist/lib/checkbox-group/checkbox-group.cjs.map +1 -0
- package/dist/lib/checkbox-group/checkbox-group.js +100 -0
- package/dist/lib/checkbox-group/checkbox-group.js.map +1 -0
- package/dist/lib/checkbox-group/checkboxes-decorator.cjs +2 -0
- package/dist/lib/checkbox-group/checkboxes-decorator.cjs.map +1 -0
- package/dist/lib/checkbox-group/checkboxes-decorator.js +34 -0
- package/dist/lib/checkbox-group/checkboxes-decorator.js.map +1 -0
- package/dist/lib/checkbox-group/index.cjs +2 -0
- package/dist/lib/checkbox-group/index.cjs.map +1 -0
- package/dist/lib/checkbox-group/index.js +5 -0
- package/dist/lib/checkbox-group/index.js.map +1 -0
- package/dist/lib/chip/chip-constants.cjs +2 -0
- package/dist/lib/chip/chip-constants.cjs.map +1 -0
- package/dist/lib/chip/chip-constants.js +24 -0
- package/dist/lib/chip/chip-constants.js.map +1 -0
- package/dist/lib/chip/chip.cjs +2 -0
- package/dist/lib/chip/chip.cjs.map +1 -0
- package/dist/lib/chip/chip.js +198 -0
- package/dist/lib/chip/chip.js.map +1 -0
- package/dist/lib/chip/index.cjs +2 -0
- package/dist/lib/chip/index.cjs.map +1 -0
- package/dist/lib/chip/index.js +9 -0
- package/dist/lib/chip/index.js.map +1 -0
- package/dist/lib/codeblock/codeblock.cjs +3 -0
- package/dist/lib/codeblock/codeblock.cjs.map +1 -0
- package/dist/lib/codeblock/codeblock.js +25 -0
- package/dist/lib/codeblock/codeblock.js.map +1 -0
- package/dist/lib/codeblock/index.cjs +2 -0
- package/dist/lib/codeblock/index.cjs.map +1 -0
- package/dist/lib/codeblock/index.js +5 -0
- package/dist/lib/codeblock/index.js.map +1 -0
- package/dist/lib/collapsible/collapsible-lazy-show.cjs +2 -0
- package/dist/lib/collapsible/collapsible-lazy-show.cjs.map +1 -0
- package/dist/lib/collapsible/collapsible-lazy-show.js +144 -0
- package/dist/lib/collapsible/collapsible-lazy-show.js.map +1 -0
- package/dist/lib/collapsible/collapsible.cjs +2 -0
- package/dist/lib/collapsible/collapsible.cjs.map +1 -0
- package/dist/lib/collapsible/collapsible.js +241 -0
- package/dist/lib/collapsible/collapsible.js.map +1 -0
- package/dist/lib/collapsible/index.cjs +2 -0
- package/dist/lib/collapsible/index.cjs.map +1 -0
- package/dist/lib/collapsible/index.js +5 -0
- package/dist/lib/collapsible/index.js.map +1 -0
- package/dist/lib/combobox/combobox-constants.cjs +2 -0
- package/dist/lib/combobox/combobox-constants.cjs.map +1 -0
- package/dist/lib/combobox/combobox-constants.js +14 -0
- package/dist/lib/combobox/combobox-constants.js.map +1 -0
- package/dist/lib/combobox/combobox-empty-list.cjs +2 -0
- package/dist/lib/combobox/combobox-empty-list.cjs.map +1 -0
- package/dist/lib/combobox/combobox-empty-list.js +51 -0
- package/dist/lib/combobox/combobox-empty-list.js.map +1 -0
- package/dist/lib/combobox/combobox-loading-list.cjs +2 -0
- package/dist/lib/combobox/combobox-loading-list.cjs.map +1 -0
- package/dist/lib/combobox/combobox-loading-list.js +34 -0
- package/dist/lib/combobox/combobox-loading-list.js.map +1 -0
- package/dist/lib/combobox/combobox.cjs +3 -0
- package/dist/lib/combobox/combobox.cjs.map +1 -0
- package/dist/lib/combobox/combobox.js +323 -0
- package/dist/lib/combobox/combobox.js.map +1 -0
- package/dist/lib/combobox/index.cjs +2 -0
- package/dist/lib/combobox/index.cjs.map +1 -0
- package/dist/lib/combobox/index.js +7 -0
- package/dist/lib/combobox/index.js.map +1 -0
- package/dist/lib/combobox-multi-select/combobox-multi-select-constants.cjs +2 -0
- package/dist/lib/combobox-multi-select/combobox-multi-select-constants.cjs.map +1 -0
- package/dist/lib/combobox-multi-select/combobox-multi-select-constants.js +25 -0
- package/dist/lib/combobox-multi-select/combobox-multi-select-constants.js.map +1 -0
- package/dist/lib/combobox-multi-select/combobox-multi-select-story-constants.cjs +2 -0
- package/dist/lib/combobox-multi-select/combobox-multi-select-story-constants.cjs.map +1 -0
- package/dist/lib/combobox-multi-select/combobox-multi-select-story-constants.js +28 -0
- package/dist/lib/combobox-multi-select/combobox-multi-select-story-constants.js.map +1 -0
- package/dist/lib/combobox-multi-select/combobox-multi-select.cjs +2 -0
- package/dist/lib/combobox-multi-select/combobox-multi-select.cjs.map +1 -0
- package/dist/lib/combobox-multi-select/combobox-multi-select.js +566 -0
- package/dist/lib/combobox-multi-select/combobox-multi-select.js.map +1 -0
- package/dist/lib/combobox-multi-select/index.cjs +2 -0
- package/dist/lib/combobox-multi-select/index.cjs.map +1 -0
- package/dist/lib/combobox-multi-select/index.js +9 -0
- package/dist/lib/combobox-multi-select/index.js.map +1 -0
- package/dist/lib/combobox-with-popover/combobox-with-popover.cjs +2 -0
- package/dist/lib/combobox-with-popover/combobox-with-popover.cjs.map +1 -0
- package/dist/lib/combobox-with-popover/combobox-with-popover.js +401 -0
- package/dist/lib/combobox-with-popover/combobox-with-popover.js.map +1 -0
- package/dist/lib/combobox-with-popover/index.cjs +2 -0
- package/dist/lib/combobox-with-popover/index.cjs.map +1 -0
- package/dist/lib/combobox-with-popover/index.js +5 -0
- package/dist/lib/combobox-with-popover/index.js.map +1 -0
- package/dist/lib/contact-centers-row/contact-centers-row.cjs +2 -0
- package/dist/lib/contact-centers-row/contact-centers-row.cjs.map +1 -0
- package/dist/lib/contact-centers-row/contact-centers-row.js +217 -0
- package/dist/lib/contact-centers-row/contact-centers-row.js.map +1 -0
- package/dist/lib/contact-centers-row/index.cjs +2 -0
- package/dist/lib/contact-centers-row/index.cjs.map +1 -0
- package/dist/lib/contact-centers-row/index.js +5 -0
- package/dist/lib/contact-centers-row/index.js.map +1 -0
- package/dist/lib/contact-info/contact-info.cjs +2 -0
- package/dist/lib/contact-info/contact-info.cjs.map +1 -0
- package/dist/lib/contact-info/contact-info.js +224 -0
- package/dist/lib/contact-info/contact-info.js.map +1 -0
- package/dist/lib/contact-info/index.cjs +2 -0
- package/dist/lib/contact-info/index.cjs.map +1 -0
- package/dist/lib/contact-info/index.js +5 -0
- package/dist/lib/contact-info/index.js.map +1 -0
- package/dist/lib/contact-row/contact-row-constants.cjs +2 -0
- package/dist/lib/contact-row/contact-row-constants.cjs.map +1 -0
- package/dist/lib/contact-row/contact-row-constants.js +5 -0
- package/dist/lib/contact-row/contact-row-constants.js.map +1 -0
- package/dist/lib/contact-row/contact-row.cjs +2 -0
- package/dist/lib/contact-row/contact-row.cjs.map +1 -0
- package/dist/lib/contact-row/contact-row.js +235 -0
- package/dist/lib/contact-row/contact-row.js.map +1 -0
- package/dist/lib/contact-row/index.cjs +2 -0
- package/dist/lib/contact-row/index.cjs.map +1 -0
- package/dist/lib/contact-row/index.js +5 -0
- package/dist/lib/contact-row/index.js.map +1 -0
- package/dist/lib/datepicker/datepicker-constants.cjs +2 -0
- package/dist/lib/datepicker/datepicker-constants.cjs.map +1 -0
- package/dist/lib/datepicker/datepicker-constants.js +7 -0
- package/dist/lib/datepicker/datepicker-constants.js.map +1 -0
- package/dist/lib/datepicker/datepicker.cjs +2 -0
- package/dist/lib/datepicker/datepicker.cjs.map +1 -0
- package/dist/lib/datepicker/datepicker.js +638 -0
- package/dist/lib/datepicker/datepicker.js.map +1 -0
- package/dist/lib/datepicker/formatUtils.cjs +2 -0
- package/dist/lib/datepicker/formatUtils.cjs.map +1 -0
- package/dist/lib/datepicker/formatUtils.js +33 -0
- package/dist/lib/datepicker/formatUtils.js.map +1 -0
- package/dist/lib/datepicker/index.cjs +2 -0
- package/dist/lib/datepicker/index.cjs.map +1 -0
- package/dist/lib/datepicker/index.js +11 -0
- package/dist/lib/datepicker/index.js.map +1 -0
- package/dist/lib/datepicker/utils.cjs +2 -0
- package/dist/lib/datepicker/utils.cjs.map +1 -0
- package/dist/lib/datepicker/utils.js +48 -0
- package/dist/lib/datepicker/utils.js.map +1 -0
- package/dist/lib/description-list/description-list-constants.cjs +2 -0
- package/dist/lib/description-list/description-list-constants.cjs.map +1 -0
- package/dist/lib/description-list/description-list-constants.js +5 -0
- package/dist/lib/description-list/description-list-constants.js.map +1 -0
- package/dist/lib/description-list/description-list-validators.cjs +2 -0
- package/dist/lib/description-list/description-list-validators.cjs.map +1 -0
- package/dist/lib/description-list/description-list-validators.js +5 -0
- package/dist/lib/description-list/description-list-validators.js.map +1 -0
- package/dist/lib/description-list/description-list.cjs +2 -0
- package/dist/lib/description-list/description-list.cjs.map +1 -0
- package/dist/lib/description-list/description-list.js +87 -0
- package/dist/lib/description-list/description-list.js.map +1 -0
- package/dist/lib/description-list/index.cjs +2 -0
- package/dist/lib/description-list/index.cjs.map +1 -0
- package/dist/lib/description-list/index.js +7 -0
- package/dist/lib/description-list/index.js.map +1 -0
- package/dist/lib/dropdown/dropdown-constants.cjs +2 -0
- package/dist/lib/dropdown/dropdown-constants.cjs.map +1 -0
- package/dist/lib/dropdown/dropdown-constants.js +12 -0
- package/dist/lib/dropdown/dropdown-constants.js.map +1 -0
- package/dist/lib/dropdown/dropdown-list.cjs +2 -0
- package/dist/lib/dropdown/dropdown-list.cjs.map +1 -0
- package/dist/lib/dropdown/dropdown-list.js +43 -0
- package/dist/lib/dropdown/dropdown-list.js.map +1 -0
- package/dist/lib/dropdown/dropdown-separator.cjs +2 -0
- package/dist/lib/dropdown/dropdown-separator.cjs.map +1 -0
- package/dist/lib/dropdown/dropdown-separator.js +17 -0
- package/dist/lib/dropdown/dropdown-separator.js.map +1 -0
- package/dist/lib/dropdown/dropdown-story-constants.cjs +2 -0
- package/dist/lib/dropdown/dropdown-story-constants.cjs.map +1 -0
- package/dist/lib/dropdown/dropdown-story-constants.js +11 -0
- package/dist/lib/dropdown/dropdown-story-constants.js.map +1 -0
- package/dist/lib/dropdown/dropdown.cjs +2 -0
- package/dist/lib/dropdown/dropdown.cjs.map +1 -0
- package/dist/lib/dropdown/dropdown.js +401 -0
- package/dist/lib/dropdown/dropdown.js.map +1 -0
- package/dist/lib/dropdown/index.cjs +2 -0
- package/dist/lib/dropdown/index.cjs.map +1 -0
- package/dist/lib/dropdown/index.js +9 -0
- package/dist/lib/dropdown/index.js.map +1 -0
- package/dist/lib/editor/editor-constants.cjs +2 -0
- package/dist/lib/editor/editor-constants.cjs.map +1 -0
- package/dist/lib/editor/editor-constants.js +17 -0
- package/dist/lib/editor/editor-constants.js.map +1 -0
- package/dist/lib/editor/editor.cjs +2 -0
- package/dist/lib/editor/editor.cjs.map +1 -0
- package/dist/lib/editor/editor.js +795 -0
- package/dist/lib/editor/editor.js.map +1 -0
- package/dist/lib/editor/index.cjs +2 -0
- package/dist/lib/editor/index.cjs.map +1 -0
- package/dist/lib/editor/index.js +5 -0
- package/dist/lib/editor/index.js.map +1 -0
- package/dist/lib/emoji/emoji-constants.cjs +2 -0
- package/dist/lib/emoji/emoji-constants.cjs.map +1 -0
- package/dist/lib/emoji/emoji-constants.js +5 -0
- package/dist/lib/emoji/emoji-constants.js.map +1 -0
- package/dist/lib/emoji/emoji.cjs +2 -0
- package/dist/lib/emoji/emoji.cjs.map +1 -0
- package/dist/lib/emoji/emoji.js +141 -0
- package/dist/lib/emoji/emoji.js.map +1 -0
- package/dist/lib/emoji/index.cjs +2 -0
- package/dist/lib/emoji/index.cjs.map +1 -0
- package/dist/lib/emoji/index.js +5 -0
- package/dist/lib/emoji/index.js.map +1 -0
- package/dist/lib/emoji-picker/emoji-picker-constants.cjs +2 -0
- package/dist/lib/emoji-picker/emoji-picker-constants.cjs.map +1 -0
- package/dist/lib/emoji-picker/emoji-picker-constants.js +35 -0
- package/dist/lib/emoji-picker/emoji-picker-constants.js.map +1 -0
- package/dist/lib/emoji-picker/emoji-picker.cjs +2 -0
- package/dist/lib/emoji-picker/emoji-picker.cjs.map +1 -0
- package/dist/lib/emoji-picker/emoji-picker.js +960 -0
- package/dist/lib/emoji-picker/emoji-picker.js.map +1 -0
- package/dist/lib/emoji-picker/index.cjs +2 -0
- package/dist/lib/emoji-picker/index.cjs.map +1 -0
- package/dist/lib/emoji-picker/index.js +11 -0
- package/dist/lib/emoji-picker/index.js.map +1 -0
- package/dist/lib/emoji-row/emoji-row-constants.cjs +2 -0
- package/dist/lib/emoji-row/emoji-row-constants.cjs.map +1 -0
- package/dist/lib/emoji-row/emoji-row-constants.js +14 -0
- package/dist/lib/emoji-row/emoji-row-constants.js.map +1 -0
- package/dist/lib/emoji-row/emoji-row.cjs +2 -0
- package/dist/lib/emoji-row/emoji-row.cjs.map +1 -0
- package/dist/lib/emoji-row/emoji-row.js +101 -0
- package/dist/lib/emoji-row/emoji-row.js.map +1 -0
- package/dist/lib/emoji-row/index.cjs +2 -0
- package/dist/lib/emoji-row/index.cjs.map +1 -0
- package/dist/lib/emoji-row/index.js +7 -0
- package/dist/lib/emoji-row/index.js.map +1 -0
- package/dist/lib/emoji-text-wrapper/emoji-text-wrapper.cjs +2 -0
- package/dist/lib/emoji-text-wrapper/emoji-text-wrapper.cjs.map +1 -0
- package/dist/lib/emoji-text-wrapper/emoji-text-wrapper.js +90 -0
- package/dist/lib/emoji-text-wrapper/emoji-text-wrapper.js.map +1 -0
- package/dist/lib/emoji-text-wrapper/index.cjs +2 -0
- package/dist/lib/emoji-text-wrapper/index.cjs.map +1 -0
- package/dist/lib/emoji-text-wrapper/index.js +5 -0
- package/dist/lib/emoji-text-wrapper/index.js.map +1 -0
- package/dist/lib/empty-state/empty-state-constants.cjs +2 -0
- package/dist/lib/empty-state/empty-state-constants.cjs.map +1 -0
- package/dist/lib/empty-state/empty-state-constants.js +30 -0
- package/dist/lib/empty-state/empty-state-constants.js.map +1 -0
- package/dist/lib/empty-state/empty-state.cjs +2 -0
- package/dist/lib/empty-state/empty-state.cjs.map +1 -0
- package/dist/lib/empty-state/empty-state.js +78 -0
- package/dist/lib/empty-state/empty-state.js.map +1 -0
- package/dist/lib/empty-state/index.cjs +2 -0
- package/dist/lib/empty-state/index.cjs.map +1 -0
- package/dist/lib/empty-state/index.js +7 -0
- package/dist/lib/empty-state/index.js.map +1 -0
- package/dist/lib/feed-item-pill/feed-item-pill-constants.cjs +2 -0
- package/dist/lib/feed-item-pill/feed-item-pill-constants.cjs.map +1 -0
- package/dist/lib/feed-item-pill/feed-item-pill-constants.js +12 -0
- package/dist/lib/feed-item-pill/feed-item-pill-constants.js.map +1 -0
- package/dist/lib/feed-item-pill/feed-item-pill.cjs +2 -0
- package/dist/lib/feed-item-pill/feed-item-pill.cjs.map +1 -0
- package/dist/lib/feed-item-pill/feed-item-pill.js +179 -0
- package/dist/lib/feed-item-pill/feed-item-pill.js.map +1 -0
- package/dist/lib/feed-item-pill/index.cjs +2 -0
- package/dist/lib/feed-item-pill/index.cjs.map +1 -0
- package/dist/lib/feed-item-pill/index.js +7 -0
- package/dist/lib/feed-item-pill/index.js.map +1 -0
- package/dist/lib/feed-item-row/feed-item-row-constants.cjs +2 -0
- package/dist/lib/feed-item-row/feed-item-row-constants.cjs.map +1 -0
- package/dist/lib/feed-item-row/feed-item-row-constants.js +14 -0
- package/dist/lib/feed-item-row/feed-item-row-constants.js.map +1 -0
- package/dist/lib/feed-item-row/feed-item-row.cjs +2 -0
- package/dist/lib/feed-item-row/feed-item-row.cjs.map +1 -0
- package/dist/lib/feed-item-row/feed-item-row.js +282 -0
- package/dist/lib/feed-item-row/feed-item-row.js.map +1 -0
- package/dist/lib/feed-item-row/index.cjs +2 -0
- package/dist/lib/feed-item-row/index.cjs.map +1 -0
- package/dist/lib/feed-item-row/index.js +8 -0
- package/dist/lib/feed-item-row/index.js.map +1 -0
- package/dist/lib/general-row/general-row-constants.cjs +2 -0
- package/dist/lib/general-row/general-row-constants.cjs.map +1 -0
- package/dist/lib/general-row/general-row-constants.js +44 -0
- package/dist/lib/general-row/general-row-constants.js.map +1 -0
- package/dist/lib/general-row/general-row.cjs +2 -0
- package/dist/lib/general-row/general-row.cjs.map +1 -0
- package/dist/lib/general-row/general-row.js +405 -0
- package/dist/lib/general-row/general-row.js.map +1 -0
- package/dist/lib/general-row/index.cjs +2 -0
- package/dist/lib/general-row/index.cjs.map +1 -0
- package/dist/lib/general-row/index.js +10 -0
- package/dist/lib/general-row/index.js.map +1 -0
- package/dist/lib/general-row/leftbar-general-row-icon.cjs +2 -0
- package/dist/lib/general-row/leftbar-general-row-icon.cjs.map +1 -0
- package/dist/lib/general-row/leftbar-general-row-icon.js +95 -0
- package/dist/lib/general-row/leftbar-general-row-icon.js.map +1 -0
- package/dist/lib/group-row/group-row-constants.cjs +2 -0
- package/dist/lib/group-row/group-row-constants.cjs.map +1 -0
- package/dist/lib/group-row/group-row-constants.js +8 -0
- package/dist/lib/group-row/group-row-constants.js.map +1 -0
- package/dist/lib/group-row/group-row.cjs +2 -0
- package/dist/lib/group-row/group-row.cjs.map +1 -0
- package/dist/lib/group-row/group-row.js +105 -0
- package/dist/lib/group-row/group-row.js.map +1 -0
- package/dist/lib/group-row/index.cjs +2 -0
- package/dist/lib/group-row/index.cjs.map +1 -0
- package/dist/lib/group-row/index.js +5 -0
- package/dist/lib/group-row/index.js.map +1 -0
- package/dist/lib/grouped-chip/grouped-chip.cjs +2 -0
- package/dist/lib/grouped-chip/grouped-chip.cjs.map +1 -0
- package/dist/lib/grouped-chip/grouped-chip.js +84 -0
- package/dist/lib/grouped-chip/grouped-chip.js.map +1 -0
- package/dist/lib/grouped-chip/index.cjs +2 -0
- package/dist/lib/grouped-chip/index.cjs.map +1 -0
- package/dist/lib/grouped-chip/index.js +5 -0
- package/dist/lib/grouped-chip/index.js.map +1 -0
- package/dist/lib/hovercard/hovercard.cjs +2 -0
- package/dist/lib/hovercard/hovercard.cjs.map +1 -0
- package/dist/lib/hovercard/hovercard.js +208 -0
- package/dist/lib/hovercard/hovercard.js.map +1 -0
- package/dist/lib/hovercard/index.cjs +2 -0
- package/dist/lib/hovercard/index.cjs.map +1 -0
- package/dist/lib/hovercard/index.js +5 -0
- package/dist/lib/hovercard/index.js.map +1 -0
- package/dist/lib/icon/icon-constants.cjs +2 -0
- package/dist/lib/icon/icon-constants.cjs.map +1 -0
- package/dist/lib/icon/icon-constants.js +20 -0
- package/dist/lib/icon/icon-constants.js.map +1 -0
- package/dist/lib/icon/icon.cjs +2 -0
- package/dist/lib/icon/icon.cjs.map +1 -0
- package/dist/lib/icon/icon.js +57 -0
- package/dist/lib/icon/icon.js.map +1 -0
- package/dist/lib/icon/index.cjs +2 -0
- package/dist/lib/icon/index.cjs.map +1 -0
- package/dist/lib/icon/index.js +8 -0
- package/dist/lib/icon/index.js.map +1 -0
- package/dist/lib/illustration/illustration-constants.cjs +2 -0
- package/dist/lib/illustration/illustration-constants.cjs.map +1 -0
- package/dist/lib/illustration/illustration-constants.js +9 -0
- package/dist/lib/illustration/illustration-constants.js.map +1 -0
- package/dist/lib/illustration/illustration.cjs +2 -0
- package/dist/lib/illustration/illustration.cjs.map +1 -0
- package/dist/lib/illustration/illustration.js +29 -0
- package/dist/lib/illustration/illustration.js.map +1 -0
- package/dist/lib/illustration/index.cjs +2 -0
- package/dist/lib/illustration/index.cjs.map +1 -0
- package/dist/lib/illustration/index.js +7 -0
- package/dist/lib/illustration/index.js.map +1 -0
- package/dist/lib/image-viewer/image-viewer.cjs +2 -0
- package/dist/lib/image-viewer/image-viewer.cjs.map +1 -0
- package/dist/lib/image-viewer/image-viewer.js +226 -0
- package/dist/lib/image-viewer/image-viewer.js.map +1 -0
- package/dist/lib/image-viewer/index.cjs +2 -0
- package/dist/lib/image-viewer/index.cjs.map +1 -0
- package/dist/lib/image-viewer/index.js +5 -0
- package/dist/lib/image-viewer/index.js.map +1 -0
- package/dist/lib/input/index.cjs +2 -0
- package/dist/lib/input/index.cjs.map +1 -0
- package/dist/lib/input/index.js +8 -0
- package/dist/lib/input/index.js.map +1 -0
- package/dist/lib/input/input-constants.cjs +2 -0
- package/dist/lib/input/input-constants.cjs.map +1 -0
- package/dist/lib/input/input-constants.js +69 -0
- package/dist/lib/input/input-constants.js.map +1 -0
- package/dist/lib/input/input.cjs +2 -0
- package/dist/lib/input/input.cjs.map +1 -0
- package/dist/lib/input/input.js +461 -0
- package/dist/lib/input/input.js.map +1 -0
- package/dist/lib/input-group/index.cjs +2 -0
- package/dist/lib/input-group/index.cjs.map +1 -0
- package/dist/lib/input-group/index.js +5 -0
- package/dist/lib/input-group/index.js.map +1 -0
- package/dist/lib/input-group/input-group.cjs +2 -0
- package/dist/lib/input-group/input-group.cjs.map +1 -0
- package/dist/lib/input-group/input-group.js +89 -0
- package/dist/lib/input-group/input-group.js.map +1 -0
- package/dist/lib/item-layout/index.cjs +2 -0
- package/dist/lib/item-layout/index.cjs.map +1 -0
- package/dist/lib/item-layout/index.js +5 -0
- package/dist/lib/item-layout/index.js.map +1 -0
- package/dist/lib/item-layout/item-layout.cjs +4 -0
- package/dist/lib/item-layout/item-layout.cjs.map +1 -0
- package/dist/lib/item-layout/item-layout.js +151 -0
- package/dist/lib/item-layout/item-layout.js.map +1 -0
- package/dist/lib/ivr-node/index.cjs +2 -0
- package/dist/lib/ivr-node/index.cjs.map +1 -0
- package/dist/lib/ivr-node/index.js +18 -0
- package/dist/lib/ivr-node/index.js.map +1 -0
- package/dist/lib/ivr-node/ivr-node-constants.cjs +2 -0
- package/dist/lib/ivr-node/ivr-node-constants.cjs.map +1 -0
- package/dist/lib/ivr-node/ivr-node-constants.js +63 -0
- package/dist/lib/ivr-node/ivr-node-constants.js.map +1 -0
- package/dist/lib/ivr-node/ivr-node.cjs +2 -0
- package/dist/lib/ivr-node/ivr-node.cjs.map +1 -0
- package/dist/lib/ivr-node/ivr-node.js +190 -0
- package/dist/lib/ivr-node/ivr-node.js.map +1 -0
- package/dist/lib/keyboard-shortcut/index.cjs +2 -0
- package/dist/lib/keyboard-shortcut/index.cjs.map +1 -0
- package/dist/lib/keyboard-shortcut/index.js +7 -0
- package/dist/lib/keyboard-shortcut/index.js.map +1 -0
- package/dist/lib/keyboard-shortcut/keyboard-shortcut-constants.cjs +2 -0
- package/dist/lib/keyboard-shortcut/keyboard-shortcut-constants.cjs.map +1 -0
- package/dist/lib/keyboard-shortcut/keyboard-shortcut-constants.js +12 -0
- package/dist/lib/keyboard-shortcut/keyboard-shortcut-constants.js.map +1 -0
- package/dist/lib/keyboard-shortcut/keyboard-shortcut.cjs +2 -0
- package/dist/lib/keyboard-shortcut/keyboard-shortcut.cjs.map +1 -0
- package/dist/lib/keyboard-shortcut/keyboard-shortcut.js +109 -0
- package/dist/lib/keyboard-shortcut/keyboard-shortcut.js.map +1 -0
- package/dist/lib/lazy-show/index.cjs +2 -0
- package/dist/lib/lazy-show/index.cjs.map +1 -0
- package/dist/lib/lazy-show/index.js +5 -0
- package/dist/lib/lazy-show/index.js.map +1 -0
- package/dist/lib/lazy-show/lazy-show.cjs +2 -0
- package/dist/lib/lazy-show/lazy-show.cjs.map +1 -0
- package/dist/lib/lazy-show/lazy-show.js +82 -0
- package/dist/lib/lazy-show/lazy-show.js.map +1 -0
- package/dist/lib/link/index.cjs +2 -0
- package/dist/lib/link/index.cjs.map +1 -0
- package/dist/lib/link/index.js +14 -0
- package/dist/lib/link/index.js.map +1 -0
- package/dist/lib/link/link-constants.cjs +2 -0
- package/dist/lib/link/link-constants.cjs.map +1 -0
- package/dist/lib/link/link-constants.js +31 -0
- package/dist/lib/link/link-constants.js.map +1 -0
- package/dist/lib/link/link.cjs +2 -0
- package/dist/lib/link/link.cjs.map +1 -0
- package/dist/lib/link/link.js +56 -0
- package/dist/lib/link/link.js.map +1 -0
- package/dist/lib/list-item/index.cjs +2 -0
- package/dist/lib/list-item/index.cjs.map +1 -0
- package/dist/lib/list-item/index.js +8 -0
- package/dist/lib/list-item/index.js.map +1 -0
- package/dist/lib/list-item/list-item-constants.cjs +2 -0
- package/dist/lib/list-item/list-item-constants.cjs.map +1 -0
- package/dist/lib/list-item/list-item-constants.js +17 -0
- package/dist/lib/list-item/list-item-constants.js.map +1 -0
- package/dist/lib/list-item/list-item.cjs +2 -0
- package/dist/lib/list-item/list-item.cjs.map +1 -0
- package/dist/lib/list-item/list-item.js +206 -0
- package/dist/lib/list-item/list-item.js.map +1 -0
- package/dist/lib/list-item-group/index.cjs +2 -0
- package/dist/lib/list-item-group/index.cjs.map +1 -0
- package/dist/lib/list-item-group/index.js +5 -0
- package/dist/lib/list-item-group/index.js.map +1 -0
- package/dist/lib/list-item-group/list-item-group-constants.cjs +2 -0
- package/dist/lib/list-item-group/list-item-group-constants.cjs.map +1 -0
- package/dist/lib/list-item-group/list-item-group-constants.js +8 -0
- package/dist/lib/list-item-group/list-item-group-constants.js.map +1 -0
- package/dist/lib/list-item-group/list-item-group.cjs +2 -0
- package/dist/lib/list-item-group/list-item-group.cjs.map +1 -0
- package/dist/lib/list-item-group/list-item-group.js +66 -0
- package/dist/lib/list-item-group/list-item-group.js.map +1 -0
- package/dist/lib/message-input/index.cjs +2 -0
- package/dist/lib/message-input/index.cjs.map +1 -0
- package/dist/lib/message-input/index.js +5 -0
- package/dist/lib/message-input/index.js.map +1 -0
- package/dist/lib/message-input/last-active-nodes.cjs +2 -0
- package/dist/lib/message-input/last-active-nodes.cjs.map +1 -0
- package/dist/lib/message-input/last-active-nodes.js +45 -0
- package/dist/lib/message-input/last-active-nodes.js.map +1 -0
- package/dist/lib/message-input/message-input-button.cjs +2 -0
- package/dist/lib/message-input/message-input-button.cjs.map +1 -0
- package/dist/lib/message-input/message-input-button.js +79 -0
- package/dist/lib/message-input/message-input-button.js.map +1 -0
- package/dist/lib/message-input/message-input-constants.cjs +2 -0
- package/dist/lib/message-input/message-input-constants.cjs.map +1 -0
- package/dist/lib/message-input/message-input-constants.js +8 -0
- package/dist/lib/message-input/message-input-constants.js.map +1 -0
- package/dist/lib/message-input/message-input-link.cjs +2 -0
- package/dist/lib/message-input/message-input-link.cjs.map +1 -0
- package/dist/lib/message-input/message-input-link.js +187 -0
- package/dist/lib/message-input/message-input-link.js.map +1 -0
- package/dist/lib/message-input/message-input-topbar.cjs +2 -0
- package/dist/lib/message-input/message-input-topbar.cjs.map +1 -0
- package/dist/lib/message-input/message-input-topbar.js +211 -0
- package/dist/lib/message-input/message-input-topbar.js.map +1 -0
- package/dist/lib/message-input/message-input.cjs +2 -0
- package/dist/lib/message-input/message-input.cjs.map +1 -0
- package/dist/lib/message-input/message-input.js +973 -0
- package/dist/lib/message-input/message-input.js.map +1 -0
- package/dist/lib/modal/index.cjs +2 -0
- package/dist/lib/modal/index.cjs.map +1 -0
- package/dist/lib/modal/index.js +9 -0
- package/dist/lib/modal/index.js.map +1 -0
- package/dist/lib/modal/modal-constants.cjs +2 -0
- package/dist/lib/modal/modal-constants.cjs.map +1 -0
- package/dist/lib/modal/modal-constants.js +19 -0
- package/dist/lib/modal/modal-constants.js.map +1 -0
- package/dist/lib/modal/modal.cjs +3 -0
- package/dist/lib/modal/modal.cjs.map +1 -0
- package/dist/lib/modal/modal.js +392 -0
- package/dist/lib/modal/modal.js.map +1 -0
- package/dist/lib/notice/index.cjs +2 -0
- package/dist/lib/notice/index.cjs.map +1 -0
- package/dist/lib/notice/index.js +14 -0
- package/dist/lib/notice/index.js.map +1 -0
- package/dist/lib/notice/notice-action.cjs +2 -0
- package/dist/lib/notice/notice-action.cjs.map +1 -0
- package/dist/lib/notice/notice-action.js +97 -0
- package/dist/lib/notice/notice-action.js.map +1 -0
- package/dist/lib/notice/notice-constants.cjs +2 -0
- package/dist/lib/notice/notice-constants.cjs.map +1 -0
- package/dist/lib/notice/notice-constants.js +10 -0
- package/dist/lib/notice/notice-constants.js.map +1 -0
- package/dist/lib/notice/notice-content.cjs +2 -0
- package/dist/lib/notice/notice-content.cjs.map +1 -0
- package/dist/lib/notice/notice-content.js +66 -0
- package/dist/lib/notice/notice-content.js.map +1 -0
- package/dist/lib/notice/notice-icon.cjs +2 -0
- package/dist/lib/notice/notice-icon.cjs.map +1 -0
- package/dist/lib/notice/notice-icon.js +61 -0
- package/dist/lib/notice/notice-icon.js.map +1 -0
- package/dist/lib/notice/notice.cjs +2 -0
- package/dist/lib/notice/notice.cjs.map +1 -0
- package/dist/lib/notice/notice.js +194 -0
- package/dist/lib/notice/notice.js.map +1 -0
- package/dist/lib/pagination/index.cjs +2 -0
- package/dist/lib/pagination/index.cjs.map +1 -0
- package/dist/lib/pagination/index.js +5 -0
- package/dist/lib/pagination/index.js.map +1 -0
- package/dist/lib/pagination/pagination.cjs +2 -0
- package/dist/lib/pagination/pagination.cjs.map +1 -0
- package/dist/lib/pagination/pagination.js +200 -0
- package/dist/lib/pagination/pagination.js.map +1 -0
- package/dist/lib/popover/index.cjs +2 -0
- package/dist/lib/popover/index.cjs.map +1 -0
- package/dist/lib/popover/index.js +14 -0
- package/dist/lib/popover/index.js.map +1 -0
- package/dist/lib/popover/popover-constants.cjs +2 -0
- package/dist/lib/popover/popover-constants.cjs.map +1 -0
- package/dist/lib/popover/popover-constants.js +37 -0
- package/dist/lib/popover/popover-constants.js.map +1 -0
- package/dist/lib/popover/popover-header-footer.cjs +2 -0
- package/dist/lib/popover/popover-header-footer.cjs.map +1 -0
- package/dist/lib/popover/popover-header-footer.js +112 -0
- package/dist/lib/popover/popover-header-footer.js.map +1 -0
- package/dist/lib/popover/popover.cjs +2 -0
- package/dist/lib/popover/popover.cjs.map +1 -0
- package/dist/lib/popover/popover.js +804 -0
- package/dist/lib/popover/popover.js.map +1 -0
- package/dist/lib/popover/tippy-utils.cjs +2 -0
- package/dist/lib/popover/tippy-utils.cjs.map +1 -0
- package/dist/lib/popover/tippy-utils.js +76 -0
- package/dist/lib/popover/tippy-utils.js.map +1 -0
- package/dist/lib/presence/index.cjs +2 -0
- package/dist/lib/presence/index.cjs.map +1 -0
- package/dist/lib/presence/index.js +8 -0
- package/dist/lib/presence/index.js.map +1 -0
- package/dist/lib/presence/presence-constants.cjs +2 -0
- package/dist/lib/presence/presence-constants.cjs.map +1 -0
- package/dist/lib/presence/presence-constants.js +16 -0
- package/dist/lib/presence/presence-constants.js.map +1 -0
- package/dist/lib/presence/presence.cjs +2 -0
- package/dist/lib/presence/presence.cjs.map +1 -0
- package/dist/lib/presence/presence.js +55 -0
- package/dist/lib/presence/presence.js.map +1 -0
- package/dist/lib/radio/index.cjs +2 -0
- package/dist/lib/radio/index.cjs.map +1 -0
- package/dist/lib/radio/index.js +7 -0
- package/dist/lib/radio/index.js.map +1 -0
- package/dist/lib/radio/radio-constants.cjs +2 -0
- package/dist/lib/radio/radio-constants.cjs.map +1 -0
- package/dist/lib/radio/radio-constants.js +12 -0
- package/dist/lib/radio/radio-constants.js.map +1 -0
- package/dist/lib/radio/radio.cjs +2 -0
- package/dist/lib/radio/radio.cjs.map +1 -0
- package/dist/lib/radio/radio.js +161 -0
- package/dist/lib/radio/radio.js.map +1 -0
- package/dist/lib/radio-group/index.cjs +2 -0
- package/dist/lib/radio-group/index.cjs.map +1 -0
- package/dist/lib/radio-group/index.js +5 -0
- package/dist/lib/radio-group/index.js.map +1 -0
- package/dist/lib/radio-group/radio-group.cjs +2 -0
- package/dist/lib/radio-group/radio-group.cjs.map +1 -0
- package/dist/lib/radio-group/radio-group.js +83 -0
- package/dist/lib/radio-group/radio-group.js.map +1 -0
- package/dist/lib/radio-group/radios-decorator.cjs +2 -0
- package/dist/lib/radio-group/radios-decorator.cjs.map +1 -0
- package/dist/lib/radio-group/radios-decorator.js +34 -0
- package/dist/lib/radio-group/radios-decorator.js.map +1 -0
- package/dist/lib/rich-text-editor/channel-suggestion.cjs +2 -0
- package/dist/lib/rich-text-editor/channel-suggestion.cjs.map +1 -0
- package/dist/lib/rich-text-editor/channel-suggestion.js +28 -0
- package/dist/lib/rich-text-editor/channel-suggestion.js.map +1 -0
- package/dist/lib/rich-text-editor/index.cjs +2 -0
- package/dist/lib/rich-text-editor/index.cjs.map +1 -0
- package/dist/lib/rich-text-editor/index.js +8 -0
- package/dist/lib/rich-text-editor/index.js.map +1 -0
- package/dist/lib/rich-text-editor/mention-suggestion.cjs +2 -0
- package/dist/lib/rich-text-editor/mention-suggestion.cjs.map +1 -0
- package/dist/lib/rich-text-editor/mention-suggestion.js +60 -0
- package/dist/lib/rich-text-editor/mention-suggestion.js.map +1 -0
- package/dist/lib/rich-text-editor/rich-text-editor-constants.cjs +2 -0
- package/dist/lib/rich-text-editor/rich-text-editor-constants.cjs.map +1 -0
- package/dist/lib/rich-text-editor/rich-text-editor-constants.js +27 -0
- package/dist/lib/rich-text-editor/rich-text-editor-constants.js.map +1 -0
- package/dist/lib/rich-text-editor/rich-text-editor.cjs +6 -0
- package/dist/lib/rich-text-editor/rich-text-editor.cjs.map +1 -0
- package/dist/lib/rich-text-editor/rich-text-editor.js +1678 -0
- package/dist/lib/rich-text-editor/rich-text-editor.js.map +1 -0
- package/dist/lib/rich-text-editor/slash-command-suggestion.cjs +2 -0
- package/dist/lib/rich-text-editor/slash-command-suggestion.cjs.map +1 -0
- package/dist/lib/rich-text-editor/slash-command-suggestion.js +28 -0
- package/dist/lib/rich-text-editor/slash-command-suggestion.js.map +1 -0
- package/dist/lib/root-layout/index.cjs +2 -0
- package/dist/lib/root-layout/index.cjs.map +1 -0
- package/dist/lib/root-layout/index.js +8 -0
- package/dist/lib/root-layout/index.js.map +1 -0
- package/dist/lib/root-layout/root-layout-constants.cjs +2 -0
- package/dist/lib/root-layout/root-layout-constants.cjs.map +1 -0
- package/dist/lib/root-layout/root-layout-constants.js +13 -0
- package/dist/lib/root-layout/root-layout-constants.js.map +1 -0
- package/dist/lib/root-layout/root-layout.cjs +2 -0
- package/dist/lib/root-layout/root-layout.cjs.map +1 -0
- package/dist/lib/root-layout/root-layout.js +154 -0
- package/dist/lib/root-layout/root-layout.js.map +1 -0
- package/dist/lib/scrollbar-directive/index.cjs +2 -0
- package/dist/lib/scrollbar-directive/index.cjs.map +1 -0
- package/dist/lib/scrollbar-directive/index.js +5 -0
- package/dist/lib/scrollbar-directive/index.js.map +1 -0
- package/dist/lib/scrollbar-directive/scrollbar.cjs +2 -0
- package/dist/lib/scrollbar-directive/scrollbar.cjs.map +1 -0
- package/dist/lib/scrollbar-directive/scrollbar.js +27 -0
- package/dist/lib/scrollbar-directive/scrollbar.js.map +1 -0
- package/dist/lib/scroller/index.cjs +2 -0
- package/dist/lib/scroller/index.cjs.map +1 -0
- package/dist/lib/scroller/index.js +5 -0
- package/dist/lib/scroller/index.js.map +1 -0
- package/dist/lib/scroller/scroller.cjs +2 -0
- package/dist/lib/scroller/scroller.cjs.map +1 -0
- package/dist/lib/scroller/scroller.js +767 -0
- package/dist/lib/scroller/scroller.js.map +1 -0
- package/dist/lib/select-menu/index.cjs +2 -0
- package/dist/lib/select-menu/index.cjs.map +1 -0
- package/dist/lib/select-menu/index.js +8 -0
- package/dist/lib/select-menu/index.js.map +1 -0
- package/dist/lib/select-menu/select-menu-constants.cjs +2 -0
- package/dist/lib/select-menu/select-menu-constants.cjs.map +1 -0
- package/dist/lib/select-menu/select-menu-constants.js +20 -0
- package/dist/lib/select-menu/select-menu-constants.js.map +1 -0
- package/dist/lib/select-menu/select-menu-validators.cjs +2 -0
- package/dist/lib/select-menu/select-menu-validators.cjs.map +1 -0
- package/dist/lib/select-menu/select-menu-validators.js +5 -0
- package/dist/lib/select-menu/select-menu-validators.js.map +1 -0
- package/dist/lib/select-menu/select-menu.cjs +2 -0
- package/dist/lib/select-menu/select-menu.cjs.map +1 -0
- package/dist/lib/select-menu/select-menu.js +260 -0
- package/dist/lib/select-menu/select-menu.js.map +1 -0
- package/dist/lib/settings-menu-button/index.cjs +2 -0
- package/dist/lib/settings-menu-button/index.cjs.map +1 -0
- package/dist/lib/settings-menu-button/index.js +5 -0
- package/dist/lib/settings-menu-button/index.js.map +1 -0
- package/dist/lib/settings-menu-button/settings-menu-button.cjs +2 -0
- package/dist/lib/settings-menu-button/settings-menu-button.cjs.map +1 -0
- package/dist/lib/settings-menu-button/settings-menu-button.js +66 -0
- package/dist/lib/settings-menu-button/settings-menu-button.js.map +1 -0
- package/dist/lib/skeleton/index.cjs +2 -0
- package/dist/lib/skeleton/index.cjs.map +1 -0
- package/dist/lib/skeleton/index.js +19 -0
- package/dist/lib/skeleton/index.js.map +1 -0
- package/dist/lib/skeleton/skeleton-constants.cjs +2 -0
- package/dist/lib/skeleton/skeleton-constants.cjs.map +1 -0
- package/dist/lib/skeleton/skeleton-constants.js +29 -0
- package/dist/lib/skeleton/skeleton-constants.js.map +1 -0
- package/dist/lib/skeleton/skeleton-list-item.cjs +2 -0
- package/dist/lib/skeleton/skeleton-list-item.cjs.map +1 -0
- package/dist/lib/skeleton/skeleton-list-item.js +116 -0
- package/dist/lib/skeleton/skeleton-list-item.js.map +1 -0
- package/dist/lib/skeleton/skeleton-paragraph.cjs +2 -0
- package/dist/lib/skeleton/skeleton-paragraph.cjs.map +1 -0
- package/dist/lib/skeleton/skeleton-paragraph.js +133 -0
- package/dist/lib/skeleton/skeleton-paragraph.js.map +1 -0
- package/dist/lib/skeleton/skeleton-shape.cjs +2 -0
- package/dist/lib/skeleton/skeleton-shape.cjs.map +1 -0
- package/dist/lib/skeleton/skeleton-shape.js +99 -0
- package/dist/lib/skeleton/skeleton-shape.js.map +1 -0
- package/dist/lib/skeleton/skeleton-text.cjs +2 -0
- package/dist/lib/skeleton/skeleton-text.cjs.map +1 -0
- package/dist/lib/skeleton/skeleton-text.js +116 -0
- package/dist/lib/skeleton/skeleton-text.js.map +1 -0
- package/dist/lib/skeleton/skeleton.cjs +2 -0
- package/dist/lib/skeleton/skeleton.cjs.map +1 -0
- package/dist/lib/skeleton/skeleton.js +141 -0
- package/dist/lib/skeleton/skeleton.js.map +1 -0
- package/dist/lib/split-button/index.cjs +2 -0
- package/dist/lib/split-button/index.cjs.map +1 -0
- package/dist/lib/split-button/index.js +7 -0
- package/dist/lib/split-button/index.js.map +1 -0
- package/dist/lib/split-button/split-button-alpha.cjs +2 -0
- package/dist/lib/split-button/split-button-alpha.cjs.map +1 -0
- package/dist/lib/split-button/split-button-alpha.js +130 -0
- package/dist/lib/split-button/split-button-alpha.js.map +1 -0
- package/dist/lib/split-button/split-button-constants.cjs +2 -0
- package/dist/lib/split-button/split-button-constants.cjs.map +1 -0
- package/dist/lib/split-button/split-button-constants.js +14 -0
- package/dist/lib/split-button/split-button-constants.js.map +1 -0
- package/dist/lib/split-button/split-button-omega.cjs +2 -0
- package/dist/lib/split-button/split-button-omega.cjs.map +1 -0
- package/dist/lib/split-button/split-button-omega.js +110 -0
- package/dist/lib/split-button/split-button-omega.js.map +1 -0
- package/dist/lib/split-button/split-button.cjs +2 -0
- package/dist/lib/split-button/split-button.cjs.map +1 -0
- package/dist/lib/split-button/split-button.js +296 -0
- package/dist/lib/split-button/split-button.js.map +1 -0
- package/dist/lib/stack/index.cjs +2 -0
- package/dist/lib/stack/index.cjs.map +1 -0
- package/dist/lib/stack/index.js +9 -0
- package/dist/lib/stack/index.js.map +1 -0
- package/dist/lib/stack/stack-constants.cjs +2 -0
- package/dist/lib/stack/stack-constants.cjs.map +1 -0
- package/dist/lib/stack/stack-constants.js +18 -0
- package/dist/lib/stack/stack-constants.js.map +1 -0
- package/dist/lib/stack/stack.cjs +2 -0
- package/dist/lib/stack/stack.cjs.map +1 -0
- package/dist/lib/stack/stack.js +82 -0
- package/dist/lib/stack/stack.js.map +1 -0
- package/dist/lib/stack/utils.cjs +2 -0
- package/dist/lib/stack/utils.cjs.map +1 -0
- package/dist/lib/stack/utils.js +49 -0
- package/dist/lib/stack/utils.js.map +1 -0
- package/dist/lib/stack/validators.cjs +2 -0
- package/dist/lib/stack/validators.cjs.map +1 -0
- package/dist/lib/stack/validators.js +24 -0
- package/dist/lib/stack/validators.js.map +1 -0
- package/dist/lib/tab/index.cjs +2 -0
- package/dist/lib/tab/index.cjs.map +1 -0
- package/dist/lib/tab/index.js +14 -0
- package/dist/lib/tab/index.js.map +1 -0
- package/dist/lib/tab/tab-group.cjs +2 -0
- package/dist/lib/tab/tab-group.cjs.map +1 -0
- package/dist/lib/tab/tab-group.js +229 -0
- package/dist/lib/tab/tab-group.js.map +1 -0
- package/dist/lib/tab/tab-panel.cjs +2 -0
- package/dist/lib/tab/tab-panel.cjs.map +1 -0
- package/dist/lib/tab/tab-panel.js +88 -0
- package/dist/lib/tab/tab-panel.js.map +1 -0
- package/dist/lib/tab/tab.cjs +2 -0
- package/dist/lib/tab/tab.cjs.map +1 -0
- package/dist/lib/tab/tab.js +128 -0
- package/dist/lib/tab/tab.js.map +1 -0
- package/dist/lib/tab/tabs-constants.cjs +2 -0
- package/dist/lib/tab/tabs-constants.cjs.map +1 -0
- package/dist/lib/tab/tabs-constants.js +17 -0
- package/dist/lib/tab/tabs-constants.js.map +1 -0
- package/dist/lib/time-pill/index.cjs +2 -0
- package/dist/lib/time-pill/index.cjs.map +1 -0
- package/dist/lib/time-pill/index.js +5 -0
- package/dist/lib/time-pill/index.js.map +1 -0
- package/dist/lib/time-pill/time-pill-constants.cjs +2 -0
- package/dist/lib/time-pill/time-pill-constants.cjs.map +1 -0
- package/dist/lib/time-pill/time-pill-constants.js +8 -0
- package/dist/lib/time-pill/time-pill-constants.js.map +1 -0
- package/dist/lib/time-pill/time-pill.cjs +2 -0
- package/dist/lib/time-pill/time-pill.cjs.map +1 -0
- package/dist/lib/time-pill/time-pill.js +39 -0
- package/dist/lib/time-pill/time-pill.js.map +1 -0
- package/dist/lib/toast/index.cjs +2 -0
- package/dist/lib/toast/index.cjs.map +1 -0
- package/dist/lib/toast/index.js +8 -0
- package/dist/lib/toast/index.js.map +1 -0
- package/dist/lib/toast/toast-constants.cjs +2 -0
- package/dist/lib/toast/toast-constants.cjs.map +1 -0
- package/dist/lib/toast/toast-constants.js +15 -0
- package/dist/lib/toast/toast-constants.js.map +1 -0
- package/dist/lib/toast/toast.cjs +2 -0
- package/dist/lib/toast/toast.cjs.map +1 -0
- package/dist/lib/toast/toast.js +621 -0
- package/dist/lib/toast/toast.js.map +1 -0
- package/dist/lib/toggle/index.cjs +2 -0
- package/dist/lib/toggle/index.cjs.map +1 -0
- package/dist/lib/toggle/index.js +8 -0
- package/dist/lib/toggle/index.js.map +1 -0
- package/dist/lib/toggle/toggle-constants.cjs +2 -0
- package/dist/lib/toggle/toggle-constants.cjs.map +1 -0
- package/dist/lib/toggle/toggle-constants.js +13 -0
- package/dist/lib/toggle/toggle-constants.js.map +1 -0
- package/dist/lib/toggle/toggle.cjs +2 -0
- package/dist/lib/toggle/toggle.cjs.map +1 -0
- package/dist/lib/toggle/toggle.js +179 -0
- package/dist/lib/toggle/toggle.js.map +1 -0
- package/dist/lib/tooltip/index.cjs +2 -0
- package/dist/lib/tooltip/index.cjs.map +1 -0
- package/dist/lib/tooltip/index.js +11 -0
- package/dist/lib/tooltip/index.js.map +1 -0
- package/dist/lib/tooltip/tooltip-constants.cjs +2 -0
- package/dist/lib/tooltip/tooltip-constants.cjs.map +1 -0
- package/dist/lib/tooltip/tooltip-constants.js +26 -0
- package/dist/lib/tooltip/tooltip-constants.js.map +1 -0
- package/dist/lib/tooltip/tooltip.cjs +2 -0
- package/dist/lib/tooltip/tooltip.cjs.map +1 -0
- package/dist/lib/tooltip/tooltip.js +388 -0
- package/dist/lib/tooltip/tooltip.js.map +1 -0
- package/dist/lib/tooltip-directive/index.cjs +2 -0
- package/dist/lib/tooltip-directive/index.cjs.map +1 -0
- package/dist/lib/tooltip-directive/index.js +5 -0
- package/dist/lib/tooltip-directive/index.js.map +1 -0
- package/dist/lib/tooltip-directive/tooltip.cjs +2 -0
- package/dist/lib/tooltip-directive/tooltip.cjs.map +1 -0
- package/dist/lib/tooltip-directive/tooltip.js +68 -0
- package/dist/lib/tooltip-directive/tooltip.js.map +1 -0
- package/dist/lib/top-banner-info/index.cjs +2 -0
- package/dist/lib/top-banner-info/index.cjs.map +1 -0
- package/dist/lib/top-banner-info/index.js +7 -0
- package/dist/lib/top-banner-info/index.js.map +1 -0
- package/dist/lib/top-banner-info/top-banner-info-constants.cjs +2 -0
- package/dist/lib/top-banner-info/top-banner-info-constants.cjs.map +1 -0
- package/dist/lib/top-banner-info/top-banner-info-constants.js +17 -0
- package/dist/lib/top-banner-info/top-banner-info-constants.js.map +1 -0
- package/dist/lib/top-banner-info/top-banner-info.cjs +2 -0
- package/dist/lib/top-banner-info/top-banner-info.cjs.map +1 -0
- package/dist/lib/top-banner-info/top-banner-info.js +59 -0
- package/dist/lib/top-banner-info/top-banner-info.js.map +1 -0
- package/dist/lib/unread-pill/index.cjs +2 -0
- package/dist/lib/unread-pill/index.cjs.map +1 -0
- package/dist/lib/unread-pill/index.js +8 -0
- package/dist/lib/unread-pill/index.js.map +1 -0
- package/dist/lib/unread-pill/unread-pill-constants.cjs +2 -0
- package/dist/lib/unread-pill/unread-pill-constants.cjs.map +1 -0
- package/dist/lib/unread-pill/unread-pill-constants.js +10 -0
- package/dist/lib/unread-pill/unread-pill-constants.js.map +1 -0
- package/dist/lib/unread-pill/unread-pill.cjs +2 -0
- package/dist/lib/unread-pill/unread-pill.cjs.map +1 -0
- package/dist/lib/unread-pill/unread-pill.js +72 -0
- package/dist/lib/unread-pill/unread-pill.js.map +1 -0
- package/dist/lib/validation-messages/index.cjs +2 -0
- package/dist/lib/validation-messages/index.cjs.map +1 -0
- package/dist/lib/validation-messages/index.js +5 -0
- package/dist/lib/validation-messages/index.js.map +1 -0
- package/dist/lib/validation-messages/validation-messages.cjs +2 -0
- package/dist/lib/validation-messages/validation-messages.cjs.map +1 -0
- package/dist/lib/validation-messages/validation-messages.js +85 -0
- package/dist/lib/validation-messages/validation-messages.js.map +1 -0
- package/dist/node_modules/@tiptap/vue-3.cjs +2 -0
- package/dist/node_modules/@tiptap/vue-3.cjs.map +1 -0
- package/dist/node_modules/@tiptap/vue-3.js +389 -0
- package/dist/node_modules/@tiptap/vue-3.js.map +1 -0
- package/dist/shared/sr_only_close_button.cjs +2 -0
- package/dist/shared/sr_only_close_button.cjs.map +1 -0
- package/dist/shared/sr_only_close_button.js +48 -0
- package/dist/shared/sr_only_close_button.js.map +1 -0
- package/dist/types/common/mixins/index.d.ts +4 -0
- package/dist/types/components/breadcrumbs/breadcrumb_item.vue.d.ts.map +1 -1
- package/dist/types/components/input/input.vue.d.ts +1 -1
- package/dist/types/components/link/index.d.ts +1 -1
- package/dist/types/components/popover/popover.vue.d.ts +1 -1
- package/dist/types/components/skeleton/skeleton-list-item.vue.d.ts +1 -1
- package/dist/types/components/skeleton/skeleton-paragraph.vue.d.ts +2 -2
- package/dist/types/components/skeleton/skeleton-shape.vue.d.ts +1 -1
- package/dist/types/components/skeleton/skeleton-text.vue.d.ts +2 -2
- package/dist/types/components/skeleton/skeleton.vue.d.ts +1 -1
- package/dist/types/components/toast/layouts/toast_layout_alternate.vue.d.ts +137 -0
- package/dist/types/components/toast/layouts/toast_layout_alternate.vue.d.ts.map +1 -0
- package/dist/types/components/toast/layouts/toast_layout_alternate_icon.vue.d.ts +59 -0
- package/dist/types/components/toast/layouts/toast_layout_alternate_icon.vue.d.ts.map +1 -0
- package/dist/types/components/toast/layouts/toast_layout_default.vue.d.ts +146 -0
- package/dist/types/components/toast/layouts/toast_layout_default.vue.d.ts.map +1 -0
- package/dist/types/components/toast/toast.vue.d.ts +309 -25
- package/dist/types/components/toast/toast.vue.d.ts.map +1 -1
- package/dist/types/components/toast/toast_constants.d.ts +4 -0
- package/dist/types/components/toast/toast_constants.d.ts.map +1 -1
- package/dist/types/components/tooltip/tooltip.vue.d.ts +1 -1
- package/dist/types/directives/scrollbar_directive/index.d.ts.map +1 -0
- package/dist/types/directives/scrollbar_directive/scrollbar.d.ts.map +1 -0
- package/dist/types/directives/tooltip_directive/index.d.ts.map +1 -0
- package/dist/types/directives/tooltip_directive/tooltip.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +1 -1
- package/package.json +36 -33
- package/dist/_virtual/_plugin-vue_export-helper.cjs +0 -11
- package/dist/_virtual/_plugin-vue_export-helper.cjs.map +0 -1
- package/dist/_virtual/_plugin-vue_export-helper.js +0 -11
- package/dist/_virtual/_plugin-vue_export-helper.js.map +0 -1
- package/dist/common/config.cjs +0 -8
- package/dist/common/config.cjs.map +0 -1
- package/dist/common/config.js +0 -9
- package/dist/common/config.js.map +0 -1
- package/dist/common/constants.cjs +0 -60
- package/dist/common/constants.cjs.map +0 -1
- package/dist/common/constants.js +0 -60
- package/dist/common/constants.js.map +0 -1
- package/dist/common/dates.cjs +0 -70
- package/dist/common/dates.cjs.map +0 -1
- package/dist/common/dates.js +0 -70
- package/dist/common/dates.js.map +0 -1
- package/dist/common/emoji.cjs +0 -166
- package/dist/common/emoji.cjs.map +0 -1
- package/dist/common/emoji.js +0 -171
- package/dist/common/emoji.js.map +0 -1
- package/dist/common/mixins/input_group.cjs +0 -153
- package/dist/common/mixins/input_group.cjs.map +0 -1
- package/dist/common/mixins/input_group.js +0 -153
- package/dist/common/mixins/input_group.js.map +0 -1
- package/dist/common/mixins/keyboard_list_navigation.cjs +0 -188
- package/dist/common/mixins/keyboard_list_navigation.cjs.map +0 -1
- package/dist/common/mixins/keyboard_list_navigation.js +0 -188
- package/dist/common/mixins/keyboard_list_navigation.js.map +0 -1
- package/dist/common/mixins/sr_only_close_button.cjs +0 -46
- package/dist/common/mixins/sr_only_close_button.cjs.map +0 -1
- package/dist/common/mixins/sr_only_close_button.js +0 -46
- package/dist/common/mixins/sr_only_close_button.js.map +0 -1
- package/dist/common/mixins.cjs +0 -11
- package/dist/common/mixins.cjs.map +0 -1
- package/dist/common/mixins.js +0 -11
- package/dist/common/mixins.js.map +0 -1
- package/dist/common/sr_only_close_button.vue.cjs +0 -49
- package/dist/common/sr_only_close_button.vue.cjs.map +0 -1
- package/dist/common/sr_only_close_button.vue.js +0 -49
- package/dist/common/sr_only_close_button.vue.js.map +0 -1
- package/dist/common/utils.cjs +0 -305
- package/dist/common/utils.cjs.map +0 -1
- package/dist/common/utils.js +0 -305
- package/dist/common/utils.js.map +0 -1
- package/dist/common/validators.cjs +0 -23
- package/dist/common/validators.cjs.map +0 -1
- package/dist/common/validators.js +0 -23
- package/dist/common/validators.js.map +0 -1
- package/dist/components/avatar/avatar.vue.cjs +0 -370
- package/dist/components/avatar/avatar.vue.cjs.map +0 -1
- package/dist/components/avatar/avatar.vue.js +0 -370
- package/dist/components/avatar/avatar.vue.js.map +0 -1
- package/dist/components/avatar/avatar_constants.cjs +0 -64
- package/dist/components/avatar/avatar_constants.cjs.map +0 -1
- package/dist/components/avatar/avatar_constants.js +0 -64
- package/dist/components/avatar/avatar_constants.js.map +0 -1
- package/dist/components/avatar/utils.cjs +0 -9
- package/dist/components/avatar/utils.cjs.map +0 -1
- package/dist/components/avatar/utils.js +0 -9
- package/dist/components/avatar/utils.js.map +0 -1
- package/dist/components/badge/badge.vue.cjs +0 -168
- package/dist/components/badge/badge.vue.cjs.map +0 -1
- package/dist/components/badge/badge.vue.js +0 -168
- package/dist/components/badge/badge.vue.js.map +0 -1
- package/dist/components/badge/badge_constants.cjs +0 -43
- package/dist/components/badge/badge_constants.cjs.map +0 -1
- package/dist/components/badge/badge_constants.js +0 -43
- package/dist/components/badge/badge_constants.js.map +0 -1
- package/dist/components/banner/banner.vue.cjs +0 -238
- package/dist/components/banner/banner.vue.cjs.map +0 -1
- package/dist/components/banner/banner.vue.js +0 -238
- package/dist/components/banner/banner.vue.js.map +0 -1
- package/dist/components/breadcrumbs/breadcrumb_item.vue.cjs +0 -85
- package/dist/components/breadcrumbs/breadcrumb_item.vue.cjs.map +0 -1
- package/dist/components/breadcrumbs/breadcrumb_item.vue.js +0 -85
- package/dist/components/breadcrumbs/breadcrumb_item.vue.js.map +0 -1
- package/dist/components/breadcrumbs/breadcrumbs.vue.cjs +0 -79
- package/dist/components/breadcrumbs/breadcrumbs.vue.cjs.map +0 -1
- package/dist/components/breadcrumbs/breadcrumbs.vue.js +0 -79
- package/dist/components/breadcrumbs/breadcrumbs.vue.js.map +0 -1
- package/dist/components/breadcrumbs/breadcrumbs_constants.cjs +0 -7
- package/dist/components/breadcrumbs/breadcrumbs_constants.cjs.map +0 -1
- package/dist/components/breadcrumbs/breadcrumbs_constants.js +0 -7
- package/dist/components/breadcrumbs/breadcrumbs_constants.js.map +0 -1
- package/dist/components/button/button.vue.cjs +0 -291
- package/dist/components/button/button.vue.cjs.map +0 -1
- package/dist/components/button/button.vue.js +0 -291
- package/dist/components/button/button.vue.js.map +0 -1
- package/dist/components/button/button_constants.cjs +0 -71
- package/dist/components/button/button_constants.cjs.map +0 -1
- package/dist/components/button/button_constants.js +0 -71
- package/dist/components/button/button_constants.js.map +0 -1
- package/dist/components/button_group/button_group.vue.cjs +0 -38
- package/dist/components/button_group/button_group.vue.cjs.map +0 -1
- package/dist/components/button_group/button_group.vue.js +0 -38
- package/dist/components/button_group/button_group.vue.js.map +0 -1
- package/dist/components/button_group/button_group_constants.cjs +0 -9
- package/dist/components/button_group/button_group_constants.cjs.map +0 -1
- package/dist/components/button_group/button_group_constants.js +0 -9
- package/dist/components/button_group/button_group_constants.js.map +0 -1
- package/dist/components/card/card.vue.cjs +0 -92
- package/dist/components/card/card.vue.cjs.map +0 -1
- package/dist/components/card/card.vue.js +0 -92
- package/dist/components/card/card.vue.js.map +0 -1
- package/dist/components/checkbox/checkbox.vue.cjs +0 -155
- package/dist/components/checkbox/checkbox.vue.cjs.map +0 -1
- package/dist/components/checkbox/checkbox.vue.js +0 -155
- package/dist/components/checkbox/checkbox.vue.js.map +0 -1
- package/dist/components/checkbox/checkbox_constants.cjs +0 -9
- package/dist/components/checkbox/checkbox_constants.cjs.map +0 -1
- package/dist/components/checkbox/checkbox_constants.js +0 -9
- package/dist/components/checkbox/checkbox_constants.js.map +0 -1
- package/dist/components/checkbox_group/checkbox_group.vue.cjs +0 -112
- package/dist/components/checkbox_group/checkbox_group.vue.cjs.map +0 -1
- package/dist/components/checkbox_group/checkbox_group.vue.js +0 -112
- package/dist/components/checkbox_group/checkbox_group.vue.js.map +0 -1
- package/dist/components/chip/chip.vue.cjs +0 -211
- package/dist/components/chip/chip.vue.cjs.map +0 -1
- package/dist/components/chip/chip.vue.js +0 -211
- package/dist/components/chip/chip.vue.js.map +0 -1
- package/dist/components/chip/chip_constants.cjs +0 -21
- package/dist/components/chip/chip_constants.cjs.map +0 -1
- package/dist/components/chip/chip_constants.js +0 -21
- package/dist/components/chip/chip_constants.js.map +0 -1
- package/dist/components/codeblock/codeblock.vue.cjs +0 -25
- package/dist/components/codeblock/codeblock.vue.cjs.map +0 -1
- package/dist/components/codeblock/codeblock.vue.js +0 -25
- package/dist/components/codeblock/codeblock.vue.js.map +0 -1
- package/dist/components/collapsible/collapsible.vue.cjs +0 -258
- package/dist/components/collapsible/collapsible.vue.cjs.map +0 -1
- package/dist/components/collapsible/collapsible.vue.js +0 -258
- package/dist/components/collapsible/collapsible.vue.js.map +0 -1
- package/dist/components/collapsible/collapsible_lazy_show.vue.cjs +0 -149
- package/dist/components/collapsible/collapsible_lazy_show.vue.cjs.map +0 -1
- package/dist/components/collapsible/collapsible_lazy_show.vue.js +0 -149
- package/dist/components/collapsible/collapsible_lazy_show.vue.js.map +0 -1
- package/dist/components/combobox/combobox.vue.cjs +0 -358
- package/dist/components/combobox/combobox.vue.cjs.map +0 -1
- package/dist/components/combobox/combobox.vue.js +0 -358
- package/dist/components/combobox/combobox.vue.js.map +0 -1
- package/dist/components/combobox/combobox_constants.cjs +0 -11
- package/dist/components/combobox/combobox_constants.cjs.map +0 -1
- package/dist/components/combobox/combobox_constants.js +0 -11
- package/dist/components/combobox/combobox_constants.js.map +0 -1
- package/dist/components/combobox/combobox_empty-list.vue.cjs +0 -52
- package/dist/components/combobox/combobox_empty-list.vue.cjs.map +0 -1
- package/dist/components/combobox/combobox_empty-list.vue.js +0 -52
- package/dist/components/combobox/combobox_empty-list.vue.js.map +0 -1
- package/dist/components/combobox/combobox_loading-list.vue.cjs +0 -38
- package/dist/components/combobox/combobox_loading-list.vue.cjs.map +0 -1
- package/dist/components/combobox/combobox_loading-list.vue.js +0 -38
- package/dist/components/combobox/combobox_loading-list.vue.js.map +0 -1
- package/dist/components/datepicker/composables/useCalendar.cjs +0 -117
- package/dist/components/datepicker/composables/useCalendar.cjs.map +0 -1
- package/dist/components/datepicker/composables/useCalendar.js +0 -117
- package/dist/components/datepicker/composables/useCalendar.js.map +0 -1
- package/dist/components/datepicker/composables/useMonthYearPicker.cjs +0 -110
- package/dist/components/datepicker/composables/useMonthYearPicker.cjs.map +0 -1
- package/dist/components/datepicker/composables/useMonthYearPicker.js +0 -110
- package/dist/components/datepicker/composables/useMonthYearPicker.js.map +0 -1
- package/dist/components/datepicker/datepicker.vue.cjs +0 -159
- package/dist/components/datepicker/datepicker.vue.cjs.map +0 -1
- package/dist/components/datepicker/datepicker.vue.js +0 -159
- package/dist/components/datepicker/datepicker.vue.js.map +0 -1
- package/dist/components/datepicker/datepicker_constants.cjs +0 -9
- package/dist/components/datepicker/datepicker_constants.cjs.map +0 -1
- package/dist/components/datepicker/datepicker_constants.js +0 -9
- package/dist/components/datepicker/datepicker_constants.js.map +0 -1
- package/dist/components/datepicker/formatUtils.cjs +0 -25
- package/dist/components/datepicker/formatUtils.cjs.map +0 -1
- package/dist/components/datepicker/formatUtils.js +0 -25
- package/dist/components/datepicker/formatUtils.js.map +0 -1
- package/dist/components/datepicker/modules/calendar.vue.cjs +0 -138
- package/dist/components/datepicker/modules/calendar.vue.cjs.map +0 -1
- package/dist/components/datepicker/modules/calendar.vue.js +0 -138
- package/dist/components/datepicker/modules/calendar.vue.js.map +0 -1
- package/dist/components/datepicker/modules/month-year-picker.vue.cjs +0 -247
- package/dist/components/datepicker/modules/month-year-picker.vue.cjs.map +0 -1
- package/dist/components/datepicker/modules/month-year-picker.vue.js +0 -247
- package/dist/components/datepicker/modules/month-year-picker.vue.js.map +0 -1
- package/dist/components/datepicker/utils.cjs +0 -84
- package/dist/components/datepicker/utils.cjs.map +0 -1
- package/dist/components/datepicker/utils.js +0 -84
- package/dist/components/datepicker/utils.js.map +0 -1
- package/dist/components/description_list/description_list.vue.cjs +0 -89
- package/dist/components/description_list/description_list.vue.cjs.map +0 -1
- package/dist/components/description_list/description_list.vue.js +0 -89
- package/dist/components/description_list/description_list.vue.js.map +0 -1
- package/dist/components/description_list/description_list_constants.cjs +0 -5
- package/dist/components/description_list/description_list_constants.cjs.map +0 -1
- package/dist/components/description_list/description_list_constants.js +0 -5
- package/dist/components/description_list/description_list_constants.js.map +0 -1
- package/dist/components/description_list/description_list_validators.cjs +0 -33
- package/dist/components/description_list/description_list_validators.cjs.map +0 -1
- package/dist/components/description_list/description_list_validators.js +0 -33
- package/dist/components/description_list/description_list_validators.js.map +0 -1
- package/dist/components/dropdown/dropdown.vue.cjs +0 -448
- package/dist/components/dropdown/dropdown.vue.cjs.map +0 -1
- package/dist/components/dropdown/dropdown.vue.js +0 -448
- package/dist/components/dropdown/dropdown.vue.js.map +0 -1
- package/dist/components/dropdown/dropdown_constants.cjs +0 -9
- package/dist/components/dropdown/dropdown_constants.cjs.map +0 -1
- package/dist/components/dropdown/dropdown_constants.js +0 -9
- package/dist/components/dropdown/dropdown_constants.js.map +0 -1
- package/dist/components/dropdown/dropdown_separator.vue.cjs +0 -18
- package/dist/components/dropdown/dropdown_separator.vue.cjs.map +0 -1
- package/dist/components/dropdown/dropdown_separator.vue.js +0 -18
- package/dist/components/dropdown/dropdown_separator.vue.js.map +0 -1
- package/dist/components/emoji/emoji.vue.cjs +0 -157
- package/dist/components/emoji/emoji.vue.cjs.map +0 -1
- package/dist/components/emoji/emoji.vue.js +0 -157
- package/dist/components/emoji/emoji.vue.js.map +0 -1
- package/dist/components/emoji_picker/composables/useKeyboardNavigation.cjs +0 -153
- package/dist/components/emoji_picker/composables/useKeyboardNavigation.cjs.map +0 -1
- package/dist/components/emoji_picker/composables/useKeyboardNavigation.js +0 -153
- package/dist/components/emoji_picker/composables/useKeyboardNavigation.js.map +0 -1
- package/dist/components/emoji_picker/emoji_picker.vue.cjs +0 -228
- package/dist/components/emoji_picker/emoji_picker.vue.cjs.map +0 -1
- package/dist/components/emoji_picker/emoji_picker.vue.js +0 -228
- package/dist/components/emoji_picker/emoji_picker.vue.js.map +0 -1
- package/dist/components/emoji_picker/emoji_picker_constants.cjs +0 -35
- package/dist/components/emoji_picker/emoji_picker_constants.cjs.map +0 -1
- package/dist/components/emoji_picker/emoji_picker_constants.js +0 -35
- package/dist/components/emoji_picker/emoji_picker_constants.js.map +0 -1
- package/dist/components/emoji_picker/modules/emoji_description.vue.cjs +0 -38
- package/dist/components/emoji_picker/modules/emoji_description.vue.cjs.map +0 -1
- package/dist/components/emoji_picker/modules/emoji_description.vue.js +0 -38
- package/dist/components/emoji_picker/modules/emoji_description.vue.js.map +0 -1
- package/dist/components/emoji_picker/modules/emoji_search.vue.cjs +0 -82
- package/dist/components/emoji_picker/modules/emoji_search.vue.cjs.map +0 -1
- package/dist/components/emoji_picker/modules/emoji_search.vue.js +0 -82
- package/dist/components/emoji_picker/modules/emoji_search.vue.js.map +0 -1
- package/dist/components/emoji_picker/modules/emoji_selector.vue.cjs +0 -409
- package/dist/components/emoji_picker/modules/emoji_selector.vue.cjs.map +0 -1
- package/dist/components/emoji_picker/modules/emoji_selector.vue.js +0 -409
- package/dist/components/emoji_picker/modules/emoji_selector.vue.js.map +0 -1
- package/dist/components/emoji_picker/modules/emoji_skin_selector.vue.cjs +0 -199
- package/dist/components/emoji_picker/modules/emoji_skin_selector.vue.cjs.map +0 -1
- package/dist/components/emoji_picker/modules/emoji_skin_selector.vue.js +0 -199
- package/dist/components/emoji_picker/modules/emoji_skin_selector.vue.js.map +0 -1
- package/dist/components/emoji_picker/modules/emoji_tabset.vue.cjs +0 -161
- package/dist/components/emoji_picker/modules/emoji_tabset.vue.cjs.map +0 -1
- package/dist/components/emoji_picker/modules/emoji_tabset.vue.js +0 -161
- package/dist/components/emoji_picker/modules/emoji_tabset.vue.js.map +0 -1
- package/dist/components/emoji_text_wrapper/emoji_text_wrapper.vue.cjs +0 -102
- package/dist/components/emoji_text_wrapper/emoji_text_wrapper.vue.cjs.map +0 -1
- package/dist/components/emoji_text_wrapper/emoji_text_wrapper.vue.js +0 -102
- package/dist/components/emoji_text_wrapper/emoji_text_wrapper.vue.js.map +0 -1
- package/dist/components/empty_state/empty_state.vue.cjs +0 -99
- package/dist/components/empty_state/empty_state.vue.cjs.map +0 -1
- package/dist/components/empty_state/empty_state.vue.js +0 -99
- package/dist/components/empty_state/empty_state.vue.js.map +0 -1
- package/dist/components/empty_state/empty_state_constants.cjs +0 -27
- package/dist/components/empty_state/empty_state_constants.cjs.map +0 -1
- package/dist/components/empty_state/empty_state_constants.js +0 -27
- package/dist/components/empty_state/empty_state_constants.js.map +0 -1
- package/dist/components/hovercard/hovercard.vue.cjs +0 -226
- package/dist/components/hovercard/hovercard.vue.cjs.map +0 -1
- package/dist/components/hovercard/hovercard.vue.js +0 -226
- package/dist/components/hovercard/hovercard.vue.js.map +0 -1
- package/dist/components/icon/icon.vue.cjs +0 -57
- package/dist/components/icon/icon.vue.cjs.map +0 -1
- package/dist/components/icon/icon.vue.js +0 -57
- package/dist/components/icon/icon.vue.js.map +0 -1
- package/dist/components/icon/icon_constants.cjs +0 -17
- package/dist/components/icon/icon_constants.cjs.map +0 -1
- package/dist/components/icon/icon_constants.js +0 -17
- package/dist/components/icon/icon_constants.js.map +0 -1
- package/dist/components/illustration/illustration.vue.cjs +0 -33
- package/dist/components/illustration/illustration.vue.cjs.map +0 -1
- package/dist/components/illustration/illustration.vue.js +0 -33
- package/dist/components/illustration/illustration.vue.js.map +0 -1
- package/dist/components/illustration/illustration_constants.cjs +0 -6
- package/dist/components/illustration/illustration_constants.cjs.map +0 -1
- package/dist/components/illustration/illustration_constants.js +0 -6
- package/dist/components/illustration/illustration_constants.js.map +0 -1
- package/dist/components/image_viewer/image_viewer.vue.cjs +0 -250
- package/dist/components/image_viewer/image_viewer.vue.cjs.map +0 -1
- package/dist/components/image_viewer/image_viewer.vue.js +0 -250
- package/dist/components/image_viewer/image_viewer.vue.js.map +0 -1
- package/dist/components/input/input.vue.cjs +0 -508
- package/dist/components/input/input.vue.cjs.map +0 -1
- package/dist/components/input/input.vue.js +0 -508
- package/dist/components/input/input.vue.js.map +0 -1
- package/dist/components/input/input_constants.cjs +0 -66
- package/dist/components/input/input_constants.cjs.map +0 -1
- package/dist/components/input/input_constants.js +0 -66
- package/dist/components/input/input_constants.js.map +0 -1
- package/dist/components/input_group/input_group.vue.cjs +0 -91
- package/dist/components/input_group/input_group.vue.cjs.map +0 -1
- package/dist/components/input_group/input_group.vue.js +0 -91
- package/dist/components/input_group/input_group.vue.js.map +0 -1
- package/dist/components/item_layout/item_layout.vue.cjs +0 -153
- package/dist/components/item_layout/item_layout.vue.cjs.map +0 -1
- package/dist/components/item_layout/item_layout.vue.js +0 -153
- package/dist/components/item_layout/item_layout.vue.js.map +0 -1
- package/dist/components/keyboard_shortcut/keyboard_shortcut.vue.cjs +0 -117
- package/dist/components/keyboard_shortcut/keyboard_shortcut.vue.cjs.map +0 -1
- package/dist/components/keyboard_shortcut/keyboard_shortcut.vue.js +0 -117
- package/dist/components/keyboard_shortcut/keyboard_shortcut.vue.js.map +0 -1
- package/dist/components/keyboard_shortcut/keyboard_shortcut_constants.cjs +0 -12
- package/dist/components/keyboard_shortcut/keyboard_shortcut_constants.cjs.map +0 -1
- package/dist/components/keyboard_shortcut/keyboard_shortcut_constants.js +0 -12
- package/dist/components/keyboard_shortcut/keyboard_shortcut_constants.js.map +0 -1
- package/dist/components/lazy_show/lazy_show.vue.cjs +0 -83
- package/dist/components/lazy_show/lazy_show.vue.cjs.map +0 -1
- package/dist/components/lazy_show/lazy_show.vue.js +0 -83
- package/dist/components/lazy_show/lazy_show.vue.js.map +0 -1
- package/dist/components/link/link.vue.cjs +0 -57
- package/dist/components/link/link.vue.cjs.map +0 -1
- package/dist/components/link/link.vue.js +0 -57
- package/dist/components/link/link.vue.js.map +0 -1
- package/dist/components/link/link_constants.cjs +0 -39
- package/dist/components/link/link_constants.cjs.map +0 -1
- package/dist/components/link/link_constants.js +0 -39
- package/dist/components/link/link_constants.js.map +0 -1
- package/dist/components/list_item/list_item.vue.cjs +0 -218
- package/dist/components/list_item/list_item.vue.cjs.map +0 -1
- package/dist/components/list_item/list_item.vue.js +0 -218
- package/dist/components/list_item/list_item.vue.js.map +0 -1
- package/dist/components/list_item/list_item_constants.cjs +0 -14
- package/dist/components/list_item/list_item_constants.cjs.map +0 -1
- package/dist/components/list_item/list_item_constants.js +0 -14
- package/dist/components/list_item/list_item_constants.js.map +0 -1
- package/dist/components/list_item_group/list_item_group.vue.cjs +0 -68
- package/dist/components/list_item_group/list_item_group.vue.cjs.map +0 -1
- package/dist/components/list_item_group/list_item_group.vue.js +0 -68
- package/dist/components/list_item_group/list_item_group.vue.js.map +0 -1
- package/dist/components/modal/modal.vue.cjs +0 -423
- package/dist/components/modal/modal.vue.cjs.map +0 -1
- package/dist/components/modal/modal.vue.js +0 -423
- package/dist/components/modal/modal.vue.js.map +0 -1
- package/dist/components/modal/modal_constants.cjs +0 -21
- package/dist/components/modal/modal_constants.cjs.map +0 -1
- package/dist/components/modal/modal_constants.js +0 -21
- package/dist/components/modal/modal_constants.js.map +0 -1
- package/dist/components/notice/notice.vue.cjs +0 -197
- package/dist/components/notice/notice.vue.cjs.map +0 -1
- package/dist/components/notice/notice.vue.js +0 -197
- package/dist/components/notice/notice.vue.js.map +0 -1
- package/dist/components/notice/notice_action.vue.cjs +0 -104
- package/dist/components/notice/notice_action.vue.cjs.map +0 -1
- package/dist/components/notice/notice_action.vue.js +0 -104
- package/dist/components/notice/notice_action.vue.js.map +0 -1
- package/dist/components/notice/notice_constants.cjs +0 -7
- package/dist/components/notice/notice_constants.cjs.map +0 -1
- package/dist/components/notice/notice_constants.js +0 -7
- package/dist/components/notice/notice_constants.js.map +0 -1
- package/dist/components/notice/notice_content.vue.cjs +0 -69
- package/dist/components/notice/notice_content.vue.cjs.map +0 -1
- package/dist/components/notice/notice_content.vue.js +0 -69
- package/dist/components/notice/notice_content.vue.js.map +0 -1
- package/dist/components/notice/notice_icon.vue.cjs +0 -63
- package/dist/components/notice/notice_icon.vue.cjs.map +0 -1
- package/dist/components/notice/notice_icon.vue.js +0 -63
- package/dist/components/notice/notice_icon.vue.js.map +0 -1
- package/dist/components/pagination/pagination.vue.cjs +0 -230
- package/dist/components/pagination/pagination.vue.cjs.map +0 -1
- package/dist/components/pagination/pagination.vue.js +0 -230
- package/dist/components/pagination/pagination.vue.js.map +0 -1
- package/dist/components/popover/popover.vue.cjs +0 -951
- package/dist/components/popover/popover.vue.cjs.map +0 -1
- package/dist/components/popover/popover.vue.js +0 -951
- package/dist/components/popover/popover.vue.js.map +0 -1
- package/dist/components/popover/popover_constants.cjs +0 -34
- package/dist/components/popover/popover_constants.cjs.map +0 -1
- package/dist/components/popover/popover_constants.js +0 -34
- package/dist/components/popover/popover_constants.js.map +0 -1
- package/dist/components/popover/popover_header_footer.vue.cjs +0 -113
- package/dist/components/popover/popover_header_footer.vue.cjs.map +0 -1
- package/dist/components/popover/popover_header_footer.vue.js +0 -113
- package/dist/components/popover/popover_header_footer.vue.js.map +0 -1
- package/dist/components/popover/tippy_utils.cjs +0 -94
- package/dist/components/popover/tippy_utils.cjs.map +0 -1
- package/dist/components/popover/tippy_utils.js +0 -94
- package/dist/components/popover/tippy_utils.js.map +0 -1
- package/dist/components/presence/presence.vue.cjs +0 -59
- package/dist/components/presence/presence.vue.cjs.map +0 -1
- package/dist/components/presence/presence.vue.js +0 -59
- package/dist/components/presence/presence.vue.js.map +0 -1
- package/dist/components/presence/presence_constants.cjs +0 -17
- package/dist/components/presence/presence_constants.cjs.map +0 -1
- package/dist/components/presence/presence_constants.js +0 -17
- package/dist/components/presence/presence_constants.js.map +0 -1
- package/dist/components/radio/radio.vue.cjs +0 -169
- package/dist/components/radio/radio.vue.cjs.map +0 -1
- package/dist/components/radio/radio.vue.js +0 -169
- package/dist/components/radio/radio.vue.js.map +0 -1
- package/dist/components/radio/radio_constants.cjs +0 -9
- package/dist/components/radio/radio_constants.cjs.map +0 -1
- package/dist/components/radio/radio_constants.js +0 -9
- package/dist/components/radio/radio_constants.js.map +0 -1
- package/dist/components/radio_group/radio_group.vue.cjs +0 -84
- package/dist/components/radio_group/radio_group.vue.cjs.map +0 -1
- package/dist/components/radio_group/radio_group.vue.js +0 -84
- package/dist/components/radio_group/radio_group.vue.js.map +0 -1
- package/dist/components/rich_text_editor/extensions/channels/ChannelComponent.vue.cjs +0 -38
- package/dist/components/rich_text_editor/extensions/channels/ChannelComponent.vue.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/channels/ChannelComponent.vue.js +0 -38
- package/dist/components/rich_text_editor/extensions/channels/ChannelComponent.vue.js.map +0 -1
- package/dist/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.cjs +0 -51
- package/dist/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.js +0 -51
- package/dist/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.js.map +0 -1
- package/dist/components/rich_text_editor/extensions/channels/channel.cjs +0 -46
- package/dist/components/rich_text_editor/extensions/channels/channel.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/channels/channel.js +0 -46
- package/dist/components/rich_text_editor/extensions/channels/channel.js.map +0 -1
- package/dist/components/rich_text_editor/extensions/channels/suggestion.cjs +0 -82
- package/dist/components/rich_text_editor/extensions/channels/suggestion.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/channels/suggestion.js +0 -82
- package/dist/components/rich_text_editor/extensions/channels/suggestion.js.map +0 -1
- package/dist/components/rich_text_editor/extensions/custom_link/autolink.cjs +0 -49
- package/dist/components/rich_text_editor/extensions/custom_link/autolink.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/custom_link/autolink.js +0 -49
- package/dist/components/rich_text_editor/extensions/custom_link/autolink.js.map +0 -1
- package/dist/components/rich_text_editor/extensions/custom_link/custom_link.cjs +0 -31
- package/dist/components/rich_text_editor/extensions/custom_link/custom_link.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/custom_link/custom_link.js +0 -31
- package/dist/components/rich_text_editor/extensions/custom_link/custom_link.js.map +0 -1
- package/dist/components/rich_text_editor/extensions/custom_link/index.cjs +0 -5
- package/dist/components/rich_text_editor/extensions/custom_link/index.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/custom_link/index.js +0 -5
- package/dist/components/rich_text_editor/extensions/custom_link/utils.cjs +0 -105
- package/dist/components/rich_text_editor/extensions/custom_link/utils.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/custom_link/utils.js +0 -105
- package/dist/components/rich_text_editor/extensions/custom_link/utils.js.map +0 -1
- package/dist/components/rich_text_editor/extensions/div/div.cjs +0 -14
- package/dist/components/rich_text_editor/extensions/div/div.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/div/div.js +0 -14
- package/dist/components/rich_text_editor/extensions/div/div.js.map +0 -1
- package/dist/components/rich_text_editor/extensions/div/index.cjs +0 -5
- package/dist/components/rich_text_editor/extensions/div/index.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/div/index.js +0 -5
- package/dist/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.cjs +0 -31
- package/dist/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.js +0 -31
- package/dist/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.js.map +0 -1
- package/dist/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.cjs +0 -40
- package/dist/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.js +0 -40
- package/dist/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.js.map +0 -1
- package/dist/components/rich_text_editor/extensions/emoji/emoji.cjs +0 -134
- package/dist/components/rich_text_editor/extensions/emoji/emoji.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/emoji/emoji.js +0 -134
- package/dist/components/rich_text_editor/extensions/emoji/emoji.js.map +0 -1
- package/dist/components/rich_text_editor/extensions/emoji/index.cjs +0 -6
- package/dist/components/rich_text_editor/extensions/emoji/index.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/emoji/index.js +0 -6
- package/dist/components/rich_text_editor/extensions/emoji/suggestion.cjs +0 -107
- package/dist/components/rich_text_editor/extensions/emoji/suggestion.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/emoji/suggestion.js +0 -107
- package/dist/components/rich_text_editor/extensions/emoji/suggestion.js.map +0 -1
- package/dist/components/rich_text_editor/extensions/image/image.cjs +0 -30
- package/dist/components/rich_text_editor/extensions/image/image.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/image/image.js +0 -30
- package/dist/components/rich_text_editor/extensions/image/image.js.map +0 -1
- package/dist/components/rich_text_editor/extensions/image/index.cjs +0 -5
- package/dist/components/rich_text_editor/extensions/image/index.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/image/index.js +0 -5
- package/dist/components/rich_text_editor/extensions/mentions/MentionComponent.vue.cjs +0 -38
- package/dist/components/rich_text_editor/extensions/mentions/MentionComponent.vue.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/mentions/MentionComponent.vue.js +0 -38
- package/dist/components/rich_text_editor/extensions/mentions/MentionComponent.vue.js.map +0 -1
- package/dist/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.cjs +0 -51
- package/dist/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.js +0 -51
- package/dist/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.js.map +0 -1
- package/dist/components/rich_text_editor/extensions/mentions/mention.cjs +0 -45
- package/dist/components/rich_text_editor/extensions/mentions/mention.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/mentions/mention.js +0 -45
- package/dist/components/rich_text_editor/extensions/mentions/mention.js.map +0 -1
- package/dist/components/rich_text_editor/extensions/mentions/suggestion.cjs +0 -82
- package/dist/components/rich_text_editor/extensions/mentions/suggestion.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/mentions/suggestion.js +0 -82
- package/dist/components/rich_text_editor/extensions/mentions/suggestion.js.map +0 -1
- package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.cjs +0 -34
- package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.js +0 -34
- package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.js.map +0 -1
- package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.cjs +0 -40
- package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.js +0 -40
- package/dist/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.js.map +0 -1
- package/dist/components/rich_text_editor/extensions/slash_command/slash_command.cjs +0 -88
- package/dist/components/rich_text_editor/extensions/slash_command/slash_command.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/slash_command/slash_command.js +0 -88
- package/dist/components/rich_text_editor/extensions/slash_command/slash_command.js.map +0 -1
- package/dist/components/rich_text_editor/extensions/slash_command/suggestion.cjs +0 -84
- package/dist/components/rich_text_editor/extensions/slash_command/suggestion.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/slash_command/suggestion.js +0 -84
- package/dist/components/rich_text_editor/extensions/slash_command/suggestion.js.map +0 -1
- package/dist/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.cjs +0 -129
- package/dist/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.js +0 -129
- package/dist/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.js.map +0 -1
- package/dist/components/rich_text_editor/extensions/tippy_plugins/hide_on_esc.cjs +0 -23
- package/dist/components/rich_text_editor/extensions/tippy_plugins/hide_on_esc.cjs.map +0 -1
- package/dist/components/rich_text_editor/extensions/tippy_plugins/hide_on_esc.js +0 -23
- package/dist/components/rich_text_editor/extensions/tippy_plugins/hide_on_esc.js.map +0 -1
- package/dist/components/rich_text_editor/rich_text_editor.vue.cjs +0 -794
- package/dist/components/rich_text_editor/rich_text_editor.vue.cjs.map +0 -1
- package/dist/components/rich_text_editor/rich_text_editor.vue.js +0 -794
- package/dist/components/rich_text_editor/rich_text_editor.vue.js.map +0 -1
- package/dist/components/rich_text_editor/rich_text_editor_constants.cjs +0 -24
- package/dist/components/rich_text_editor/rich_text_editor_constants.cjs.map +0 -1
- package/dist/components/rich_text_editor/rich_text_editor_constants.js +0 -24
- package/dist/components/rich_text_editor/rich_text_editor_constants.js.map +0 -1
- package/dist/components/root_layout/root_layout.vue.cjs +0 -154
- package/dist/components/root_layout/root_layout.vue.cjs.map +0 -1
- package/dist/components/root_layout/root_layout.vue.js +0 -154
- package/dist/components/root_layout/root_layout.vue.js.map +0 -1
- package/dist/components/root_layout/root_layout_constants.cjs +0 -10
- package/dist/components/root_layout/root_layout_constants.cjs.map +0 -1
- package/dist/components/root_layout/root_layout_constants.js +0 -10
- package/dist/components/root_layout/root_layout_constants.js.map +0 -1
- package/dist/components/scroller/modules/core_scroller.vue.cjs +0 -462
- package/dist/components/scroller/modules/core_scroller.vue.cjs.map +0 -1
- package/dist/components/scroller/modules/core_scroller.vue.js +0 -462
- package/dist/components/scroller/modules/core_scroller.vue.js.map +0 -1
- package/dist/components/scroller/modules/dynamic_scroller.vue.cjs +0 -248
- package/dist/components/scroller/modules/dynamic_scroller.vue.cjs.map +0 -1
- package/dist/components/scroller/modules/dynamic_scroller.vue.js +0 -248
- package/dist/components/scroller/modules/dynamic_scroller.vue.js.map +0 -1
- package/dist/components/scroller/modules/scroller_item.vue.cjs +0 -198
- package/dist/components/scroller/modules/scroller_item.vue.cjs.map +0 -1
- package/dist/components/scroller/modules/scroller_item.vue.js +0 -198
- package/dist/components/scroller/modules/scroller_item.vue.js.map +0 -1
- package/dist/components/scroller/scroller.vue.cjs +0 -188
- package/dist/components/scroller/scroller.vue.cjs.map +0 -1
- package/dist/components/scroller/scroller.vue.js +0 -188
- package/dist/components/scroller/scroller.vue.js.map +0 -1
- package/dist/components/select_menu/select_menu.vue.cjs +0 -273
- package/dist/components/select_menu/select_menu.vue.cjs.map +0 -1
- package/dist/components/select_menu/select_menu.vue.js +0 -273
- package/dist/components/select_menu/select_menu.vue.js.map +0 -1
- package/dist/components/select_menu/select_menu_constants.cjs +0 -17
- package/dist/components/select_menu/select_menu_constants.cjs.map +0 -1
- package/dist/components/select_menu/select_menu_constants.js +0 -17
- package/dist/components/select_menu/select_menu_constants.js.map +0 -1
- package/dist/components/select_menu/select_menu_validators.cjs +0 -34
- package/dist/components/select_menu/select_menu_validators.cjs.map +0 -1
- package/dist/components/select_menu/select_menu_validators.js +0 -34
- package/dist/components/select_menu/select_menu_validators.js.map +0 -1
- package/dist/components/skeleton/skeleton-list-item.vue.cjs +0 -118
- package/dist/components/skeleton/skeleton-list-item.vue.cjs.map +0 -1
- package/dist/components/skeleton/skeleton-list-item.vue.js +0 -118
- package/dist/components/skeleton/skeleton-list-item.vue.js.map +0 -1
- package/dist/components/skeleton/skeleton-paragraph.vue.cjs +0 -149
- package/dist/components/skeleton/skeleton-paragraph.vue.cjs.map +0 -1
- package/dist/components/skeleton/skeleton-paragraph.vue.js +0 -149
- package/dist/components/skeleton/skeleton-paragraph.vue.js.map +0 -1
- package/dist/components/skeleton/skeleton-shape.vue.cjs +0 -99
- package/dist/components/skeleton/skeleton-shape.vue.cjs.map +0 -1
- package/dist/components/skeleton/skeleton-shape.vue.js +0 -99
- package/dist/components/skeleton/skeleton-shape.vue.js.map +0 -1
- package/dist/components/skeleton/skeleton-text.vue.cjs +0 -116
- package/dist/components/skeleton/skeleton-text.vue.cjs.map +0 -1
- package/dist/components/skeleton/skeleton-text.vue.js +0 -116
- package/dist/components/skeleton/skeleton-text.vue.js.map +0 -1
- package/dist/components/skeleton/skeleton.vue.cjs +0 -144
- package/dist/components/skeleton/skeleton.vue.cjs.map +0 -1
- package/dist/components/skeleton/skeleton.vue.js +0 -144
- package/dist/components/skeleton/skeleton.vue.js.map +0 -1
- package/dist/components/skeleton/skeleton_constants.cjs +0 -27
- package/dist/components/skeleton/skeleton_constants.cjs.map +0 -1
- package/dist/components/skeleton/skeleton_constants.js +0 -27
- package/dist/components/skeleton/skeleton_constants.js.map +0 -1
- package/dist/components/split_button/split_button-alpha.vue.cjs +0 -131
- package/dist/components/split_button/split_button-alpha.vue.cjs.map +0 -1
- package/dist/components/split_button/split_button-alpha.vue.js +0 -131
- package/dist/components/split_button/split_button-alpha.vue.js.map +0 -1
- package/dist/components/split_button/split_button-omega.vue.cjs +0 -112
- package/dist/components/split_button/split_button-omega.vue.cjs.map +0 -1
- package/dist/components/split_button/split_button-omega.vue.js +0 -112
- package/dist/components/split_button/split_button-omega.vue.js.map +0 -1
- package/dist/components/split_button/split_button.vue.cjs +0 -304
- package/dist/components/split_button/split_button.vue.cjs.map +0 -1
- package/dist/components/split_button/split_button.vue.js +0 -304
- package/dist/components/split_button/split_button.vue.js.map +0 -1
- package/dist/components/split_button/split_button_constants.cjs +0 -11
- package/dist/components/split_button/split_button_constants.cjs.map +0 -1
- package/dist/components/split_button/split_button_constants.js +0 -11
- package/dist/components/split_button/split_button_constants.js.map +0 -1
- package/dist/components/stack/stack.vue.cjs +0 -82
- package/dist/components/stack/stack.vue.cjs.map +0 -1
- package/dist/components/stack/stack.vue.js +0 -82
- package/dist/components/stack/stack.vue.js.map +0 -1
- package/dist/components/stack/stack_constants.cjs +0 -15
- package/dist/components/stack/stack_constants.cjs.map +0 -1
- package/dist/components/stack/stack_constants.js +0 -15
- package/dist/components/stack/stack_constants.js.map +0 -1
- package/dist/components/stack/utils.cjs +0 -68
- package/dist/components/stack/utils.cjs.map +0 -1
- package/dist/components/stack/utils.js +0 -68
- package/dist/components/stack/utils.js.map +0 -1
- package/dist/components/stack/validators.cjs +0 -26
- package/dist/components/stack/validators.cjs.map +0 -1
- package/dist/components/stack/validators.js +0 -26
- package/dist/components/stack/validators.js.map +0 -1
- package/dist/components/tab/tab.vue.cjs +0 -131
- package/dist/components/tab/tab.vue.cjs.map +0 -1
- package/dist/components/tab/tab.vue.js +0 -131
- package/dist/components/tab/tab.vue.js.map +0 -1
- package/dist/components/tab/tab_group.vue.cjs +0 -241
- package/dist/components/tab/tab_group.vue.cjs.map +0 -1
- package/dist/components/tab/tab_group.vue.js +0 -241
- package/dist/components/tab/tab_group.vue.js.map +0 -1
- package/dist/components/tab/tab_panel.vue.cjs +0 -94
- package/dist/components/tab/tab_panel.vue.cjs.map +0 -1
- package/dist/components/tab/tab_panel.vue.js +0 -94
- package/dist/components/tab/tab_panel.vue.js.map +0 -1
- package/dist/components/tab/tabs_constants.cjs +0 -21
- package/dist/components/tab/tabs_constants.cjs.map +0 -1
- package/dist/components/tab/tabs_constants.js +0 -21
- package/dist/components/tab/tabs_constants.js.map +0 -1
- package/dist/components/toast/toast.vue.cjs +0 -275
- package/dist/components/toast/toast.vue.cjs.map +0 -1
- package/dist/components/toast/toast.vue.js +0 -275
- package/dist/components/toast/toast.vue.js.map +0 -1
- package/dist/components/toast/toast_constants.cjs +0 -7
- package/dist/components/toast/toast_constants.cjs.map +0 -1
- package/dist/components/toast/toast_constants.js +0 -7
- package/dist/components/toast/toast_constants.js.map +0 -1
- package/dist/components/toggle/toggle.vue.cjs +0 -187
- package/dist/components/toggle/toggle.vue.cjs.map +0 -1
- package/dist/components/toggle/toggle.vue.js +0 -187
- package/dist/components/toggle/toggle.vue.js.map +0 -1
- package/dist/components/toggle/toggle_constants.cjs +0 -10
- package/dist/components/toggle/toggle_constants.cjs.map +0 -1
- package/dist/components/toggle/toggle_constants.js +0 -10
- package/dist/components/toggle/toggle_constants.js.map +0 -1
- package/dist/components/tooltip/tooltip.vue.cjs +0 -450
- package/dist/components/tooltip/tooltip.vue.cjs.map +0 -1
- package/dist/components/tooltip/tooltip.vue.js +0 -450
- package/dist/components/tooltip/tooltip.vue.js.map +0 -1
- package/dist/components/tooltip/tooltip_constants.cjs +0 -23
- package/dist/components/tooltip/tooltip_constants.cjs.map +0 -1
- package/dist/components/tooltip/tooltip_constants.js +0 -23
- package/dist/components/tooltip/tooltip_constants.js.map +0 -1
- package/dist/components/validation_messages/validation_messages.vue.cjs +0 -90
- package/dist/components/validation_messages/validation_messages.vue.cjs.map +0 -1
- package/dist/components/validation_messages/validation_messages.vue.js +0 -90
- package/dist/components/validation_messages/validation_messages.vue.js.map +0 -1
- package/dist/directives/scrollbar/scrollbar.cjs +0 -31
- package/dist/directives/scrollbar/scrollbar.cjs.map +0 -1
- package/dist/directives/scrollbar/scrollbar.js +0 -31
- package/dist/directives/scrollbar/scrollbar.js.map +0 -1
- package/dist/directives/tooltip/tooltip.cjs +0 -83
- package/dist/directives/tooltip/tooltip.cjs.map +0 -1
- package/dist/directives/tooltip/tooltip.js +0 -83
- package/dist/directives/tooltip/tooltip.js.map +0 -1
- package/dist/lib/attachment-carousel.cjs +0 -5
- package/dist/lib/attachment-carousel.cjs.map +0 -1
- package/dist/lib/attachment-carousel.js +0 -5
- package/dist/lib/attachment-carousel.js.map +0 -1
- package/dist/lib/avatar.cjs +0 -14
- package/dist/lib/avatar.cjs.map +0 -1
- package/dist/lib/avatar.js +0 -14
- package/dist/lib/avatar.js.map +0 -1
- package/dist/lib/badge.cjs +0 -9
- package/dist/lib/badge.cjs.map +0 -1
- package/dist/lib/badge.js +0 -9
- package/dist/lib/badge.js.map +0 -1
- package/dist/lib/banner.cjs +0 -5
- package/dist/lib/banner.cjs.map +0 -1
- package/dist/lib/banner.js +0 -5
- package/dist/lib/banner.js.map +0 -1
- package/dist/lib/breadcrumbs.cjs +0 -10
- package/dist/lib/breadcrumbs.cjs.map +0 -1
- package/dist/lib/breadcrumbs.js +0 -10
- package/dist/lib/breadcrumbs.js.map +0 -1
- package/dist/lib/button-group.cjs +0 -7
- package/dist/lib/button-group.cjs.map +0 -1
- package/dist/lib/button-group.js +0 -7
- package/dist/lib/button-group.js.map +0 -1
- package/dist/lib/button.cjs +0 -13
- package/dist/lib/button.cjs.map +0 -1
- package/dist/lib/button.js +0 -13
- package/dist/lib/button.js.map +0 -1
- package/dist/lib/callbar-button-with-dropdown.cjs +0 -5
- package/dist/lib/callbar-button-with-dropdown.cjs.map +0 -1
- package/dist/lib/callbar-button-with-dropdown.js +0 -5
- package/dist/lib/callbar-button-with-dropdown.js.map +0 -1
- package/dist/lib/callbar-button-with-popover.cjs +0 -5
- package/dist/lib/callbar-button-with-popover.cjs.map +0 -1
- package/dist/lib/callbar-button-with-popover.js +0 -5
- package/dist/lib/callbar-button-with-popover.js.map +0 -1
- package/dist/lib/callbar-button.cjs +0 -7
- package/dist/lib/callbar-button.cjs.map +0 -1
- package/dist/lib/callbar-button.js +0 -7
- package/dist/lib/callbar-button.js.map +0 -1
- package/dist/lib/callbox.cjs +0 -8
- package/dist/lib/callbox.cjs.map +0 -1
- package/dist/lib/callbox.js +0 -8
- package/dist/lib/callbox.js.map +0 -1
- package/dist/lib/card.cjs +0 -5
- package/dist/lib/card.cjs.map +0 -1
- package/dist/lib/card.js +0 -5
- package/dist/lib/card.js.map +0 -1
- package/dist/lib/checkbox-group.cjs +0 -5
- package/dist/lib/checkbox-group.cjs.map +0 -1
- package/dist/lib/checkbox-group.js +0 -5
- package/dist/lib/checkbox-group.js.map +0 -1
- package/dist/lib/checkbox.cjs +0 -5
- package/dist/lib/checkbox.cjs.map +0 -1
- package/dist/lib/checkbox.js +0 -5
- package/dist/lib/checkbox.js.map +0 -1
- package/dist/lib/chip.cjs +0 -9
- package/dist/lib/chip.cjs.map +0 -1
- package/dist/lib/chip.js +0 -9
- package/dist/lib/chip.js.map +0 -1
- package/dist/lib/codeblock.cjs +0 -5
- package/dist/lib/codeblock.cjs.map +0 -1
- package/dist/lib/codeblock.js +0 -5
- package/dist/lib/codeblock.js.map +0 -1
- package/dist/lib/collapsible.cjs +0 -5
- package/dist/lib/collapsible.cjs.map +0 -1
- package/dist/lib/collapsible.js +0 -5
- package/dist/lib/collapsible.js.map +0 -1
- package/dist/lib/combobox-multi-select.cjs +0 -9
- package/dist/lib/combobox-multi-select.cjs.map +0 -1
- package/dist/lib/combobox-multi-select.js +0 -9
- package/dist/lib/combobox-multi-select.js.map +0 -1
- package/dist/lib/combobox-with-popover.cjs +0 -5
- package/dist/lib/combobox-with-popover.cjs.map +0 -1
- package/dist/lib/combobox-with-popover.js +0 -5
- package/dist/lib/combobox-with-popover.js.map +0 -1
- package/dist/lib/combobox.cjs +0 -7
- package/dist/lib/combobox.cjs.map +0 -1
- package/dist/lib/combobox.js +0 -7
- package/dist/lib/combobox.js.map +0 -1
- package/dist/lib/contact-centers-row.cjs +0 -5
- package/dist/lib/contact-centers-row.cjs.map +0 -1
- package/dist/lib/contact-centers-row.js +0 -5
- package/dist/lib/contact-centers-row.js.map +0 -1
- package/dist/lib/contact-info.cjs +0 -5
- package/dist/lib/contact-info.cjs.map +0 -1
- package/dist/lib/contact-info.js +0 -5
- package/dist/lib/contact-info.js.map +0 -1
- package/dist/lib/contact-row.cjs +0 -5
- package/dist/lib/contact-row.cjs.map +0 -1
- package/dist/lib/contact-row.js +0 -5
- package/dist/lib/contact-row.js.map +0 -1
- package/dist/lib/datepicker.cjs +0 -11
- package/dist/lib/datepicker.cjs.map +0 -1
- package/dist/lib/datepicker.js +0 -11
- package/dist/lib/datepicker.js.map +0 -1
- package/dist/lib/description-list.cjs +0 -7
- package/dist/lib/description-list.cjs.map +0 -1
- package/dist/lib/description-list.js +0 -7
- package/dist/lib/description-list.js.map +0 -1
- package/dist/lib/dropdown.cjs +0 -9
- package/dist/lib/dropdown.cjs.map +0 -1
- package/dist/lib/dropdown.js +0 -9
- package/dist/lib/dropdown.js.map +0 -1
- package/dist/lib/editor.cjs +0 -5
- package/dist/lib/editor.cjs.map +0 -1
- package/dist/lib/editor.js +0 -5
- package/dist/lib/editor.js.map +0 -1
- package/dist/lib/emoji-picker.cjs +0 -11
- package/dist/lib/emoji-picker.cjs.map +0 -1
- package/dist/lib/emoji-picker.js +0 -11
- package/dist/lib/emoji-picker.js.map +0 -1
- package/dist/lib/emoji-row.cjs +0 -7
- package/dist/lib/emoji-row.cjs.map +0 -1
- package/dist/lib/emoji-row.js +0 -7
- package/dist/lib/emoji-row.js.map +0 -1
- package/dist/lib/emoji-text-wrapper.cjs +0 -5
- package/dist/lib/emoji-text-wrapper.cjs.map +0 -1
- package/dist/lib/emoji-text-wrapper.js +0 -5
- package/dist/lib/emoji-text-wrapper.js.map +0 -1
- package/dist/lib/emoji.cjs +0 -5
- package/dist/lib/emoji.cjs.map +0 -1
- package/dist/lib/emoji.js +0 -5
- package/dist/lib/emoji.js.map +0 -1
- package/dist/lib/empty-state.cjs +0 -7
- package/dist/lib/empty-state.cjs.map +0 -1
- package/dist/lib/empty-state.js +0 -7
- package/dist/lib/empty-state.js.map +0 -1
- package/dist/lib/feed-item-pill.cjs +0 -7
- package/dist/lib/feed-item-pill.cjs.map +0 -1
- package/dist/lib/feed-item-pill.js +0 -7
- package/dist/lib/feed-item-pill.js.map +0 -1
- package/dist/lib/feed-item-row.cjs +0 -8
- package/dist/lib/feed-item-row.cjs.map +0 -1
- package/dist/lib/feed-item-row.js +0 -8
- package/dist/lib/feed-item-row.js.map +0 -1
- package/dist/lib/general-row.cjs +0 -10
- package/dist/lib/general-row.cjs.map +0 -1
- package/dist/lib/general-row.js +0 -10
- package/dist/lib/general-row.js.map +0 -1
- package/dist/lib/group-row.cjs +0 -5
- package/dist/lib/group-row.cjs.map +0 -1
- package/dist/lib/group-row.js +0 -5
- package/dist/lib/group-row.js.map +0 -1
- package/dist/lib/grouped-chip.cjs +0 -5
- package/dist/lib/grouped-chip.cjs.map +0 -1
- package/dist/lib/grouped-chip.js +0 -5
- package/dist/lib/grouped-chip.js.map +0 -1
- package/dist/lib/hovercard.cjs +0 -5
- package/dist/lib/hovercard.cjs.map +0 -1
- package/dist/lib/hovercard.js +0 -5
- package/dist/lib/hovercard.js.map +0 -1
- package/dist/lib/icon.cjs +0 -8
- package/dist/lib/icon.cjs.map +0 -1
- package/dist/lib/icon.js +0 -8
- package/dist/lib/icon.js.map +0 -1
- package/dist/lib/illustration.cjs +0 -7
- package/dist/lib/illustration.cjs.map +0 -1
- package/dist/lib/illustration.js +0 -7
- package/dist/lib/illustration.js.map +0 -1
- package/dist/lib/image-viewer.cjs +0 -5
- package/dist/lib/image-viewer.cjs.map +0 -1
- package/dist/lib/image-viewer.js +0 -5
- package/dist/lib/image-viewer.js.map +0 -1
- package/dist/lib/input-group.cjs +0 -5
- package/dist/lib/input-group.cjs.map +0 -1
- package/dist/lib/input-group.js +0 -5
- package/dist/lib/input-group.js.map +0 -1
- package/dist/lib/input.cjs +0 -8
- package/dist/lib/input.cjs.map +0 -1
- package/dist/lib/input.js +0 -8
- package/dist/lib/input.js.map +0 -1
- package/dist/lib/item-layout.cjs +0 -5
- package/dist/lib/item-layout.cjs.map +0 -1
- package/dist/lib/item-layout.js +0 -5
- package/dist/lib/item-layout.js.map +0 -1
- package/dist/lib/ivr-node.cjs +0 -18
- package/dist/lib/ivr-node.cjs.map +0 -1
- package/dist/lib/ivr-node.js +0 -18
- package/dist/lib/ivr-node.js.map +0 -1
- package/dist/lib/keyboard-shortcut.cjs +0 -7
- package/dist/lib/keyboard-shortcut.cjs.map +0 -1
- package/dist/lib/keyboard-shortcut.js +0 -7
- package/dist/lib/keyboard-shortcut.js.map +0 -1
- package/dist/lib/lazy-show.cjs +0 -5
- package/dist/lib/lazy-show.cjs.map +0 -1
- package/dist/lib/lazy-show.js +0 -5
- package/dist/lib/lazy-show.js.map +0 -1
- package/dist/lib/link.cjs +0 -9
- package/dist/lib/link.cjs.map +0 -1
- package/dist/lib/link.js +0 -9
- package/dist/lib/link.js.map +0 -1
- package/dist/lib/list-item-group.cjs +0 -5
- package/dist/lib/list-item-group.cjs.map +0 -1
- package/dist/lib/list-item-group.js +0 -5
- package/dist/lib/list-item-group.js.map +0 -1
- package/dist/lib/list-item.cjs +0 -8
- package/dist/lib/list-item.cjs.map +0 -1
- package/dist/lib/list-item.js +0 -8
- package/dist/lib/list-item.js.map +0 -1
- package/dist/lib/message-input.cjs +0 -5
- package/dist/lib/message-input.cjs.map +0 -1
- package/dist/lib/message-input.js +0 -5
- package/dist/lib/message-input.js.map +0 -1
- package/dist/lib/modal.cjs +0 -9
- package/dist/lib/modal.cjs.map +0 -1
- package/dist/lib/modal.js +0 -9
- package/dist/lib/modal.js.map +0 -1
- package/dist/lib/notice.cjs +0 -14
- package/dist/lib/notice.cjs.map +0 -1
- package/dist/lib/notice.js +0 -14
- package/dist/lib/notice.js.map +0 -1
- package/dist/lib/pagination.cjs +0 -5
- package/dist/lib/pagination.cjs.map +0 -1
- package/dist/lib/pagination.js +0 -5
- package/dist/lib/pagination.js.map +0 -1
- package/dist/lib/popover.cjs +0 -14
- package/dist/lib/popover.cjs.map +0 -1
- package/dist/lib/popover.js +0 -14
- package/dist/lib/popover.js.map +0 -1
- package/dist/lib/presence.cjs +0 -8
- package/dist/lib/presence.cjs.map +0 -1
- package/dist/lib/presence.js +0 -8
- package/dist/lib/presence.js.map +0 -1
- package/dist/lib/radio-group.cjs +0 -5
- package/dist/lib/radio-group.cjs.map +0 -1
- package/dist/lib/radio-group.js +0 -5
- package/dist/lib/radio-group.js.map +0 -1
- package/dist/lib/radio.cjs +0 -7
- package/dist/lib/radio.cjs.map +0 -1
- package/dist/lib/radio.js +0 -7
- package/dist/lib/radio.js.map +0 -1
- package/dist/lib/rich-text-editor.cjs +0 -8
- package/dist/lib/rich-text-editor.cjs.map +0 -1
- package/dist/lib/rich-text-editor.js +0 -8
- package/dist/lib/rich-text-editor.js.map +0 -1
- package/dist/lib/root-layout.cjs +0 -8
- package/dist/lib/root-layout.cjs.map +0 -1
- package/dist/lib/root-layout.js +0 -8
- package/dist/lib/root-layout.js.map +0 -1
- package/dist/lib/scrollbar-directive.cjs +0 -5
- package/dist/lib/scrollbar-directive.cjs.map +0 -1
- package/dist/lib/scrollbar-directive.js +0 -5
- package/dist/lib/scrollbar-directive.js.map +0 -1
- package/dist/lib/scroller.cjs +0 -5
- package/dist/lib/scroller.cjs.map +0 -1
- package/dist/lib/scroller.js +0 -5
- package/dist/lib/scroller.js.map +0 -1
- package/dist/lib/select-menu.cjs +0 -8
- package/dist/lib/select-menu.cjs.map +0 -1
- package/dist/lib/select-menu.js +0 -8
- package/dist/lib/select-menu.js.map +0 -1
- package/dist/lib/settings-menu-button.cjs +0 -5
- package/dist/lib/settings-menu-button.cjs.map +0 -1
- package/dist/lib/settings-menu-button.js +0 -5
- package/dist/lib/settings-menu-button.js.map +0 -1
- package/dist/lib/skeleton.cjs +0 -19
- package/dist/lib/skeleton.cjs.map +0 -1
- package/dist/lib/skeleton.js +0 -19
- package/dist/lib/skeleton.js.map +0 -1
- package/dist/lib/split-button.cjs +0 -7
- package/dist/lib/split-button.cjs.map +0 -1
- package/dist/lib/split-button.js +0 -7
- package/dist/lib/split-button.js.map +0 -1
- package/dist/lib/stack.cjs +0 -9
- package/dist/lib/stack.cjs.map +0 -1
- package/dist/lib/stack.js +0 -9
- package/dist/lib/stack.js.map +0 -1
- package/dist/lib/tab.cjs +0 -14
- package/dist/lib/tab.cjs.map +0 -1
- package/dist/lib/tab.js +0 -14
- package/dist/lib/tab.js.map +0 -1
- package/dist/lib/time-pill.cjs +0 -5
- package/dist/lib/time-pill.cjs.map +0 -1
- package/dist/lib/time-pill.js +0 -5
- package/dist/lib/time-pill.js.map +0 -1
- package/dist/lib/toast.cjs +0 -8
- package/dist/lib/toast.cjs.map +0 -1
- package/dist/lib/toast.js +0 -8
- package/dist/lib/toast.js.map +0 -1
- package/dist/lib/toggle.cjs +0 -8
- package/dist/lib/toggle.cjs.map +0 -1
- package/dist/lib/toggle.js +0 -8
- package/dist/lib/toggle.js.map +0 -1
- package/dist/lib/tooltip-directive.cjs +0 -5
- package/dist/lib/tooltip-directive.cjs.map +0 -1
- package/dist/lib/tooltip-directive.js +0 -5
- package/dist/lib/tooltip-directive.js.map +0 -1
- package/dist/lib/tooltip.cjs +0 -11
- package/dist/lib/tooltip.cjs.map +0 -1
- package/dist/lib/tooltip.js +0 -11
- package/dist/lib/tooltip.js.map +0 -1
- package/dist/lib/top-banner-info.cjs +0 -7
- package/dist/lib/top-banner-info.cjs.map +0 -1
- package/dist/lib/top-banner-info.js +0 -7
- package/dist/lib/top-banner-info.js.map +0 -1
- package/dist/lib/unread-pill.cjs +0 -8
- package/dist/lib/unread-pill.cjs.map +0 -1
- package/dist/lib/unread-pill.js +0 -8
- package/dist/lib/unread-pill.js.map +0 -1
- package/dist/lib/validation-messages.cjs +0 -5
- package/dist/lib/validation-messages.cjs.map +0 -1
- package/dist/lib/validation-messages.js +0 -5
- package/dist/lib/validation-messages.js.map +0 -1
- package/dist/recipes/buttons/callbar_button/callbar_button.vue.cjs +0 -236
- package/dist/recipes/buttons/callbar_button/callbar_button.vue.cjs.map +0 -1
- package/dist/recipes/buttons/callbar_button/callbar_button.vue.js +0 -236
- package/dist/recipes/buttons/callbar_button/callbar_button.vue.js.map +0 -1
- package/dist/recipes/buttons/callbar_button/callbar_button_constants.cjs +0 -5
- package/dist/recipes/buttons/callbar_button/callbar_button_constants.cjs.map +0 -1
- package/dist/recipes/buttons/callbar_button/callbar_button_constants.js +0 -5
- package/dist/recipes/buttons/callbar_button/callbar_button_constants.js.map +0 -1
- package/dist/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.cjs +0 -322
- package/dist/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.cjs.map +0 -1
- package/dist/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.js +0 -322
- package/dist/recipes/buttons/callbar_button_with_dropdown/callbar_button_with_dropdown.vue.js.map +0 -1
- package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs +0 -367
- package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs.map +0 -1
- package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js +0 -367
- package/dist/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js.map +0 -1
- package/dist/recipes/cards/ivr_node/ivr_node.vue.cjs +0 -197
- package/dist/recipes/cards/ivr_node/ivr_node.vue.cjs.map +0 -1
- package/dist/recipes/cards/ivr_node/ivr_node.vue.js +0 -197
- package/dist/recipes/cards/ivr_node/ivr_node.vue.js.map +0 -1
- package/dist/recipes/cards/ivr_node/ivr_node_constants.cjs +0 -76
- package/dist/recipes/cards/ivr_node/ivr_node_constants.cjs.map +0 -1
- package/dist/recipes/cards/ivr_node/ivr_node_constants.js +0 -76
- package/dist/recipes/cards/ivr_node/ivr_node_constants.js.map +0 -1
- package/dist/recipes/chips/grouped_chip/grouped_chip.vue.cjs +0 -89
- package/dist/recipes/chips/grouped_chip/grouped_chip.vue.cjs.map +0 -1
- package/dist/recipes/chips/grouped_chip/grouped_chip.vue.js +0 -89
- package/dist/recipes/chips/grouped_chip/grouped_chip.vue.js.map +0 -1
- package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs +0 -668
- package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs.map +0 -1
- package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js +0 -668
- package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js.map +0 -1
- package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select_constants.cjs +0 -22
- package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select_constants.cjs.map +0 -1
- package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select_constants.js +0 -22
- package/dist/recipes/comboboxes/combobox_multi_select/combobox_multi_select_constants.js.map +0 -1
- package/dist/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.cjs +0 -443
- package/dist/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.cjs.map +0 -1
- package/dist/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.js +0 -443
- package/dist/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.js.map +0 -1
- package/dist/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.cjs +0 -187
- package/dist/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.cjs.map +0 -1
- package/dist/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.js +0 -187
- package/dist/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.js.map +0 -1
- package/dist/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.cjs +0 -97
- package/dist/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.cjs.map +0 -1
- package/dist/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.js +0 -97
- package/dist/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.js.map +0 -1
- package/dist/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.cjs +0 -67
- package/dist/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.cjs.map +0 -1
- package/dist/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.js +0 -67
- package/dist/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.js.map +0 -1
- package/dist/recipes/conversation_view/editor/editor.vue.cjs +0 -827
- package/dist/recipes/conversation_view/editor/editor.vue.cjs.map +0 -1
- package/dist/recipes/conversation_view/editor/editor.vue.js +0 -827
- package/dist/recipes/conversation_view/editor/editor.vue.js.map +0 -1
- package/dist/recipes/conversation_view/editor/editor_constants.cjs +0 -14
- package/dist/recipes/conversation_view/editor/editor_constants.cjs.map +0 -1
- package/dist/recipes/conversation_view/editor/editor_constants.js +0 -14
- package/dist/recipes/conversation_view/editor/editor_constants.js.map +0 -1
- package/dist/recipes/conversation_view/emoji_row/emoji_row.vue.cjs +0 -113
- package/dist/recipes/conversation_view/emoji_row/emoji_row.vue.cjs.map +0 -1
- package/dist/recipes/conversation_view/emoji_row/emoji_row.vue.js +0 -113
- package/dist/recipes/conversation_view/emoji_row/emoji_row.vue.js.map +0 -1
- package/dist/recipes/conversation_view/emoji_row/emoji_row_constants.cjs +0 -11
- package/dist/recipes/conversation_view/emoji_row/emoji_row_constants.cjs.map +0 -1
- package/dist/recipes/conversation_view/emoji_row/emoji_row_constants.js +0 -11
- package/dist/recipes/conversation_view/emoji_row/emoji_row_constants.js.map +0 -1
- package/dist/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.cjs +0 -189
- package/dist/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.cjs.map +0 -1
- package/dist/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.js +0 -189
- package/dist/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.js.map +0 -1
- package/dist/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.cjs +0 -9
- package/dist/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.cjs.map +0 -1
- package/dist/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.js +0 -9
- package/dist/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.js.map +0 -1
- package/dist/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs +0 -300
- package/dist/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs.map +0 -1
- package/dist/recipes/conversation_view/feed_item_row/feed_item_row.vue.js +0 -300
- package/dist/recipes/conversation_view/feed_item_row/feed_item_row.vue.js.map +0 -1
- package/dist/recipes/conversation_view/feed_item_row/feed_item_row_constants.cjs +0 -11
- package/dist/recipes/conversation_view/feed_item_row/feed_item_row_constants.cjs.map +0 -1
- package/dist/recipes/conversation_view/feed_item_row/feed_item_row_constants.js +0 -11
- package/dist/recipes/conversation_view/feed_item_row/feed_item_row_constants.js.map +0 -1
- package/dist/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.cjs +0 -72
- package/dist/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.cjs.map +0 -1
- package/dist/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.js +0 -72
- package/dist/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.js.map +0 -1
- package/dist/recipes/conversation_view/message_input/extensions/meeting_pill/meeting_pill.cjs +0 -36
- package/dist/recipes/conversation_view/message_input/extensions/meeting_pill/meeting_pill.cjs.map +0 -1
- package/dist/recipes/conversation_view/message_input/extensions/meeting_pill/meeting_pill.js +0 -36
- package/dist/recipes/conversation_view/message_input/extensions/meeting_pill/meeting_pill.js.map +0 -1
- package/dist/recipes/conversation_view/message_input/last_active_nodes.cjs +0 -87
- package/dist/recipes/conversation_view/message_input/last_active_nodes.cjs.map +0 -1
- package/dist/recipes/conversation_view/message_input/last_active_nodes.js +0 -87
- package/dist/recipes/conversation_view/message_input/last_active_nodes.js.map +0 -1
- package/dist/recipes/conversation_view/message_input/message_input.vue.cjs +0 -949
- package/dist/recipes/conversation_view/message_input/message_input.vue.cjs.map +0 -1
- package/dist/recipes/conversation_view/message_input/message_input.vue.js +0 -949
- package/dist/recipes/conversation_view/message_input/message_input.vue.js.map +0 -1
- package/dist/recipes/conversation_view/message_input/message_input_button.vue.cjs +0 -82
- package/dist/recipes/conversation_view/message_input/message_input_button.vue.cjs.map +0 -1
- package/dist/recipes/conversation_view/message_input/message_input_button.vue.js +0 -82
- package/dist/recipes/conversation_view/message_input/message_input_button.vue.js.map +0 -1
- package/dist/recipes/conversation_view/message_input/message_input_link.vue.cjs +0 -194
- package/dist/recipes/conversation_view/message_input/message_input_link.vue.cjs.map +0 -1
- package/dist/recipes/conversation_view/message_input/message_input_link.vue.js +0 -194
- package/dist/recipes/conversation_view/message_input/message_input_link.vue.js.map +0 -1
- package/dist/recipes/conversation_view/message_input/message_input_topbar.vue.cjs +0 -224
- package/dist/recipes/conversation_view/message_input/message_input_topbar.vue.cjs.map +0 -1
- package/dist/recipes/conversation_view/message_input/message_input_topbar.vue.js +0 -224
- package/dist/recipes/conversation_view/message_input/message_input_topbar.vue.js.map +0 -1
- package/dist/recipes/conversation_view/time_pill/time_pill.vue.cjs +0 -43
- package/dist/recipes/conversation_view/time_pill/time_pill.vue.cjs.map +0 -1
- package/dist/recipes/conversation_view/time_pill/time_pill.vue.js +0 -43
- package/dist/recipes/conversation_view/time_pill/time_pill.vue.js.map +0 -1
- package/dist/recipes/header/settings_menu_button/settings_menu_button.vue.cjs +0 -67
- package/dist/recipes/header/settings_menu_button/settings_menu_button.vue.cjs.map +0 -1
- package/dist/recipes/header/settings_menu_button/settings_menu_button.vue.js +0 -67
- package/dist/recipes/header/settings_menu_button/settings_menu_button.vue.js.map +0 -1
- package/dist/recipes/item_layout/contact_info/contact_info.vue.cjs +0 -233
- package/dist/recipes/item_layout/contact_info/contact_info.vue.cjs.map +0 -1
- package/dist/recipes/item_layout/contact_info/contact_info.vue.js +0 -233
- package/dist/recipes/item_layout/contact_info/contact_info.vue.js.map +0 -1
- package/dist/recipes/leftbar/callbox/callbox.vue.cjs +0 -215
- package/dist/recipes/leftbar/callbox/callbox.vue.cjs.map +0 -1
- package/dist/recipes/leftbar/callbox/callbox.vue.js +0 -215
- package/dist/recipes/leftbar/callbox/callbox.vue.js.map +0 -1
- package/dist/recipes/leftbar/callbox/callbox_constants.cjs +0 -13
- package/dist/recipes/leftbar/callbox/callbox_constants.cjs.map +0 -1
- package/dist/recipes/leftbar/callbox/callbox_constants.js +0 -13
- package/dist/recipes/leftbar/callbox/callbox_constants.js.map +0 -1
- package/dist/recipes/leftbar/contact_centers_row/contact_centers_row.vue.cjs +0 -232
- package/dist/recipes/leftbar/contact_centers_row/contact_centers_row.vue.cjs.map +0 -1
- package/dist/recipes/leftbar/contact_centers_row/contact_centers_row.vue.js +0 -232
- package/dist/recipes/leftbar/contact_centers_row/contact_centers_row.vue.js.map +0 -1
- package/dist/recipes/leftbar/contact_row/contact_row.vue.cjs +0 -240
- package/dist/recipes/leftbar/contact_row/contact_row.vue.cjs.map +0 -1
- package/dist/recipes/leftbar/contact_row/contact_row.vue.js +0 -240
- package/dist/recipes/leftbar/contact_row/contact_row.vue.js.map +0 -1
- package/dist/recipes/leftbar/general_row/general_row.vue.cjs +0 -436
- package/dist/recipes/leftbar/general_row/general_row.vue.cjs.map +0 -1
- package/dist/recipes/leftbar/general_row/general_row.vue.js +0 -436
- package/dist/recipes/leftbar/general_row/general_row.vue.js.map +0 -1
- package/dist/recipes/leftbar/general_row/general_row_constants.cjs +0 -41
- package/dist/recipes/leftbar/general_row/general_row_constants.cjs.map +0 -1
- package/dist/recipes/leftbar/general_row/general_row_constants.js +0 -41
- package/dist/recipes/leftbar/general_row/general_row_constants.js.map +0 -1
- package/dist/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs +0 -97
- package/dist/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs.map +0 -1
- package/dist/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js +0 -97
- package/dist/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js.map +0 -1
- package/dist/recipes/leftbar/group_row/group_row.vue.cjs +0 -106
- package/dist/recipes/leftbar/group_row/group_row.vue.cjs.map +0 -1
- package/dist/recipes/leftbar/group_row/group_row.vue.js +0 -106
- package/dist/recipes/leftbar/group_row/group_row.vue.js.map +0 -1
- package/dist/recipes/leftbar/unread_pill/unread_pill.vue.cjs +0 -74
- package/dist/recipes/leftbar/unread_pill/unread_pill.vue.cjs.map +0 -1
- package/dist/recipes/leftbar/unread_pill/unread_pill.vue.js +0 -74
- package/dist/recipes/leftbar/unread_pill/unread_pill.vue.js.map +0 -1
- package/dist/recipes/leftbar/unread_pill/unread_pill_constants.cjs +0 -7
- package/dist/recipes/leftbar/unread_pill/unread_pill_constants.cjs.map +0 -1
- package/dist/recipes/leftbar/unread_pill/unread_pill_constants.js +0 -7
- package/dist/recipes/leftbar/unread_pill/unread_pill_constants.js.map +0 -1
- package/dist/recipes/notices/top_banner_info/top_banner_info.vue.cjs +0 -63
- package/dist/recipes/notices/top_banner_info/top_banner_info.vue.cjs.map +0 -1
- package/dist/recipes/notices/top_banner_info/top_banner_info.vue.js +0 -63
- package/dist/recipes/notices/top_banner_info/top_banner_info.vue.js.map +0 -1
- package/dist/recipes/notices/top_banner_info/top_banner_info_constants.cjs +0 -14
- package/dist/recipes/notices/top_banner_info/top_banner_info_constants.cjs.map +0 -1
- package/dist/recipes/notices/top_banner_info/top_banner_info_constants.js +0 -14
- package/dist/recipes/notices/top_banner_info/top_banner_info_constants.js.map +0 -1
- package/dist/types/components/plugins/fixDefaultSlot.d.ts +0 -5
- package/dist/types/components/plugins/fixDefaultSlot.d.ts.map +0 -1
- package/dist/types/directives/scrollbar/index.d.ts.map +0 -1
- package/dist/types/directives/scrollbar/scrollbar.d.ts.map +0 -1
- package/dist/types/directives/tooltip/index.d.ts.map +0 -1
- package/dist/types/directives/tooltip/tooltip.d.ts.map +0 -1
- /package/dist/{components/rich_text_editor/extensions/custom_link → lib/attachment-carousel}/index.js.map +0 -0
- /package/dist/{components/rich_text_editor/extensions/div → lib/banner}/index.js.map +0 -0
- /package/dist/{components/rich_text_editor/extensions/emoji → lib/callbar-button-with-dropdown}/index.js.map +0 -0
- /package/dist/{components/rich_text_editor/extensions/image → lib/callbar-button-with-popover}/index.js.map +0 -0
- /package/dist/types/directives/{scrollbar → scrollbar_directive}/index.d.ts +0 -0
- /package/dist/types/directives/{scrollbar → scrollbar_directive}/scrollbar.d.ts +0 -0
- /package/dist/types/directives/{tooltip → tooltip_directive}/index.d.ts +0 -0
- /package/dist/types/directives/{tooltip → tooltip_directive}/tooltip.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.js","sources":["../../../common/mixins/input.js"],"sourcesContent":["import { warn } from 'vue';\nimport { VALIDATION_MESSAGE_TYPES } from '@/common/constants';\nimport { validationMessageValidator } from '@/common/validators';\nimport { formatMessages } from '@/common/utils';\n\n/**\n * This mixin provides a base set of props, watchers and data attributes that are commonly used in our input components.\n * @displayName Input Mixin\n */\nexport const InputMixin = {\n inheritAttrs: false,\n\n props: {\n /**\n * A provided label for the input\n */\n label: {\n type: String,\n default: '',\n },\n\n /**\n * The name of the input\n */\n name: {\n type: String,\n default: '',\n },\n\n /**\n * The value of the input\n * @model value\n */\n value: {\n type: [String, Number, Boolean, Object],\n default: null,\n },\n\n /**\n * Describes the input\n */\n description: {\n type: String,\n default: '',\n },\n\n /**\n * Disables the input\n */\n disabled: {\n type: Boolean,\n default: false,\n },\n\n /**\n * The validation state of the input\n */\n validationState: {\n type: String,\n default: '',\n validator: validationState => {\n if (!validationState) {\n return true;\n }\n\n return Object.values(VALIDATION_MESSAGE_TYPES).includes(validationState);\n },\n },\n\n /**\n * Used to customize the input element\n */\n inputClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Used to customize the label container\n */\n labelClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Used to customize the description container\n */\n descriptionClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * A set of props that are passed into the label container\n */\n labelChildProps: {\n type: Object,\n default: () => ({}),\n },\n\n /**\n * A set of props that are passed into the description container\n */\n descriptionChildProps: {\n type: Object,\n default: () => ({}),\n },\n },\n\n data () {\n return {\n internalDisabled: this.disabled,\n internalValidationState: this.validationState,\n };\n },\n\n watch: {\n disabled (newDisabled) {\n // update internal disabled when the prop changes\n this.internalDisabled = newDisabled;\n },\n\n validationState (newValidationState) {\n // update internal validation state when the prop changes\n this.internalValidationState = newValidationState;\n },\n },\n\n methods: {\n /**\n * @param {Boolean | String} hasLabelOrLabel either a boolean indicating the label exists or the label itself\n * @param {String} ariaLabel the aria-label passed (null/undefined if it's not passed)\n */\n validateInputLabels (hasLabelOrLabel, ariaLabel) {\n if (!hasLabelOrLabel && !ariaLabel) {\n warn(\n 'You must provide an aria-label when there is no label passed',\n this,\n );\n }\n },\n },\n};\n\n/**\n * This mixin provides common logic shared amongst our checkable inputs.\n *\n * This includes the group context, checked model & prop, internal data attributes as well as a set common computed\n * properties and watchers. It also includes the group name warning logic.\n * @displayName Checkable Mixin\n */\nexport const CheckableMixin = {\n model: {\n prop: 'checked',\n },\n\n props: {\n /**\n * Used to set the state of the checkable input\n * @model checked\n */\n checked: {\n type: Boolean,\n default: false,\n },\n /**\n * Indeterminate State, toggling indeterminate checkbox will uncheck\n */\n indeterminate: {\n type: Boolean,\n default: false,\n },\n /**\n * The value of the input\n */\n value: {\n type: [String, Number, Boolean],\n default: null,\n },\n },\n\n data () {\n return {\n internalChecked: this.checked,\n internalIndeterminate: this.indeterminate,\n };\n },\n\n watch: {\n checked (newChecked) {\n // update internal checked when the prop changes\n this.internalChecked = newChecked;\n },\n\n indeterminate (newValue) {\n this.internalIndeterminate = newValue;\n },\n },\n};\n\n/**\n * This mixin provides common logic shared amongst our groupable inputs.\n *\n * This includes the group context and internal data attributes as well as a set common computed\n * properties and watchers. It also includes the group name warning logic.\n * @displayName Groupable Mixin\n */\nexport const GroupableMixin = {\n inject: {\n // Object used to pass data from the group\n groupContext: {\n default: {},\n },\n\n // Method used to update the group value\n setGroupValue: {\n default: () => { return () => {}; },\n },\n },\n\n data () {\n return {\n internalValue: this.value,\n };\n },\n\n computed: {\n hasGroup () {\n return Object.prototype.hasOwnProperty.call(this.groupContext, 'name');\n },\n\n groupName () {\n return this.groupContext?.name ?? '';\n },\n\n groupValue () {\n return this.groupContext?.value;\n },\n\n groupDisabled () {\n return this.groupContext?.disabled ?? false;\n },\n\n groupValidationState () {\n return this.groupContext?.validationState ?? null;\n },\n\n internalName () {\n return this.name || this.groupName;\n },\n },\n\n watch: {\n value (newValue) {\n // update internal value when the prop changes\n this.internalValue = newValue;\n },\n\n groupValue: {\n immediate: true,\n handler (newGroupValue) {\n if (this.hasGroup) {\n // update internal value when the group disabled changes\n this.internalValue = newGroupValue;\n }\n },\n },\n\n groupDisabled: {\n immediate: true,\n handler (newGroupDisabled) {\n if (this.hasGroup) {\n // update internal disabled when the group disabled changes\n this.internalDisabled = this.disabled || newGroupDisabled;\n }\n },\n },\n\n groupValidationState: {\n immediate: true,\n handler (newGroupValidationState) {\n if (this.hasGroup) {\n // update internal validation state when the group validation state changes\n this.internalValidationState = newGroupValidationState || this.validationState;\n }\n },\n },\n },\n\n created () {\n const hasGroupName = Object.prototype.hasOwnProperty.call(this.groupContext, 'name');\n const reactiveGroupName = this.groupContext?.name;\n\n if (!!this.name && hasGroupName && reactiveGroupName !== this.name) {\n warn(\n 'Component is being used inside a Group. Did you mean to override the name prop value ' +\n `(${reactiveGroupName}) with (${this.name})? It is recommended to only set name at the Group level.`,\n this,\n );\n }\n },\n};\n\n/**\n * This mixin provides common logic shared amongst our validation messages inputs.\n * @displayName Messages Mixin\n */\nexport const MessagesMixin = {\n props: {\n /**\n * Used to customize the validation messages component\n */\n messagesClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * A set of props that are passed into the validation messages component\n */\n messagesChildProps: {\n type: Object,\n default: () => ({}),\n },\n\n /**\n * Used to hide / show the validation messages\n * @values true, false\n */\n showMessages: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Validation messages\n */\n messages: {\n type: Array,\n default: () => [],\n validator: messages => {\n return validationMessageValidator(messages);\n },\n },\n },\n\n computed: {\n formattedMessages () {\n return formatMessages(this.messages);\n },\n },\n};\n\nexport default {\n InputMixin,\n CheckableMixin,\n GroupableMixin,\n MessagesMixin,\n};\n"],"names":[],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"input.js","sources":["../../../common/mixins/input.js"],"sourcesContent":["import { warn } from 'vue';\nimport { VALIDATION_MESSAGE_TYPES } from '@/common/constants';\nimport { validationMessageValidator } from '@/common/validators';\nimport { formatMessages } from '@/common/utils';\n\n/**\n * This mixin provides a base set of props, watchers and data attributes that are commonly used in our input components.\n * @displayName Input Mixin\n */\nexport const InputMixin = {\n inheritAttrs: false,\n\n props: {\n /**\n * A provided label for the input\n */\n label: {\n type: String,\n default: '',\n },\n\n /**\n * The name of the input\n */\n name: {\n type: String,\n default: '',\n },\n\n /**\n * The value of the input\n * @model value\n */\n value: {\n type: [String, Number, Boolean, Object],\n default: null,\n },\n\n /**\n * Describes the input\n */\n description: {\n type: String,\n default: '',\n },\n\n /**\n * Disables the input\n */\n disabled: {\n type: Boolean,\n default: false,\n },\n\n /**\n * The validation state of the input\n */\n validationState: {\n type: String,\n default: '',\n validator: validationState => {\n if (!validationState) {\n return true;\n }\n\n return Object.values(VALIDATION_MESSAGE_TYPES).includes(validationState);\n },\n },\n\n /**\n * Used to customize the input element\n */\n inputClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Used to customize the label container\n */\n labelClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Used to customize the description container\n */\n descriptionClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * A set of props that are passed into the label container\n */\n labelChildProps: {\n type: Object,\n default: () => ({}),\n },\n\n /**\n * A set of props that are passed into the description container\n */\n descriptionChildProps: {\n type: Object,\n default: () => ({}),\n },\n },\n\n data () {\n return {\n internalDisabled: this.disabled,\n internalValidationState: this.validationState,\n };\n },\n\n watch: {\n disabled (newDisabled) {\n // update internal disabled when the prop changes\n this.internalDisabled = newDisabled;\n },\n\n validationState (newValidationState) {\n // update internal validation state when the prop changes\n this.internalValidationState = newValidationState;\n },\n },\n\n methods: {\n /**\n * @param {Boolean | String} hasLabelOrLabel either a boolean indicating the label exists or the label itself\n * @param {String} ariaLabel the aria-label passed (null/undefined if it's not passed)\n */\n validateInputLabels (hasLabelOrLabel, ariaLabel) {\n if (!hasLabelOrLabel && !ariaLabel) {\n warn(\n 'You must provide an aria-label when there is no label passed',\n this,\n );\n }\n },\n },\n};\n\n/**\n * This mixin provides common logic shared amongst our checkable inputs.\n *\n * This includes the group context, checked model & prop, internal data attributes as well as a set common computed\n * properties and watchers. It also includes the group name warning logic.\n * @displayName Checkable Mixin\n */\nexport const CheckableMixin = {\n model: {\n prop: 'checked',\n },\n\n props: {\n /**\n * Used to set the state of the checkable input\n * @model checked\n */\n checked: {\n type: Boolean,\n default: false,\n },\n /**\n * Indeterminate State, toggling indeterminate checkbox will uncheck\n */\n indeterminate: {\n type: Boolean,\n default: false,\n },\n /**\n * The value of the input\n */\n value: {\n type: [String, Number, Boolean],\n default: null,\n },\n },\n\n data () {\n return {\n internalChecked: this.checked,\n internalIndeterminate: this.indeterminate,\n };\n },\n\n watch: {\n checked (newChecked) {\n // update internal checked when the prop changes\n this.internalChecked = newChecked;\n },\n\n indeterminate (newValue) {\n this.internalIndeterminate = newValue;\n },\n },\n};\n\n/**\n * This mixin provides common logic shared amongst our groupable inputs.\n *\n * This includes the group context and internal data attributes as well as a set common computed\n * properties and watchers. It also includes the group name warning logic.\n * @displayName Groupable Mixin\n */\nexport const GroupableMixin = {\n inject: {\n // Object used to pass data from the group\n groupContext: {\n default: {},\n },\n\n // Method used to update the group value\n setGroupValue: {\n default: () => { return () => {}; },\n },\n },\n\n data () {\n return {\n internalValue: this.value,\n };\n },\n\n computed: {\n hasGroup () {\n return Object.prototype.hasOwnProperty.call(this.groupContext, 'name');\n },\n\n groupName () {\n return this.groupContext?.name ?? '';\n },\n\n groupValue () {\n return this.groupContext?.value;\n },\n\n groupDisabled () {\n return this.groupContext?.disabled ?? false;\n },\n\n groupValidationState () {\n return this.groupContext?.validationState ?? null;\n },\n\n internalName () {\n return this.name || this.groupName;\n },\n },\n\n watch: {\n value (newValue) {\n // update internal value when the prop changes\n this.internalValue = newValue;\n },\n\n groupValue: {\n immediate: true,\n handler (newGroupValue) {\n if (this.hasGroup) {\n // update internal value when the group disabled changes\n this.internalValue = newGroupValue;\n }\n },\n },\n\n groupDisabled: {\n immediate: true,\n handler (newGroupDisabled) {\n if (this.hasGroup) {\n // update internal disabled when the group disabled changes\n this.internalDisabled = this.disabled || newGroupDisabled;\n }\n },\n },\n\n groupValidationState: {\n immediate: true,\n handler (newGroupValidationState) {\n if (this.hasGroup) {\n // update internal validation state when the group validation state changes\n this.internalValidationState = newGroupValidationState || this.validationState;\n }\n },\n },\n },\n\n created () {\n const hasGroupName = Object.prototype.hasOwnProperty.call(this.groupContext, 'name');\n const reactiveGroupName = this.groupContext?.name;\n\n if (!!this.name && hasGroupName && reactiveGroupName !== this.name) {\n warn(\n 'Component is being used inside a Group. Did you mean to override the name prop value ' +\n `(${reactiveGroupName}) with (${this.name})? It is recommended to only set name at the Group level.`,\n this,\n );\n }\n },\n};\n\n/**\n * This mixin provides common logic shared amongst our validation messages inputs.\n * @displayName Messages Mixin\n */\nexport const MessagesMixin = {\n props: {\n /**\n * Used to customize the validation messages component\n */\n messagesClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * A set of props that are passed into the validation messages component\n */\n messagesChildProps: {\n type: Object,\n default: () => ({}),\n },\n\n /**\n * Used to hide / show the validation messages\n * @values true, false\n */\n showMessages: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Validation messages\n */\n messages: {\n type: Array,\n default: () => [],\n validator: messages => {\n return validationMessageValidator(messages);\n },\n },\n },\n\n computed: {\n formattedMessages () {\n return formatMessages(this.messages);\n },\n },\n};\n\nexport default {\n InputMixin,\n CheckableMixin,\n GroupableMixin,\n MessagesMixin,\n};\n"],"names":["InputMixin","validationState","VALIDATION_MESSAGE_TYPES","newDisabled","newValidationState","hasLabelOrLabel","ariaLabel","warn","CheckableMixin","newChecked","newValue","GroupableMixin","_a","newGroupValue","newGroupDisabled","newGroupValidationState","hasGroupName","reactiveGroupName","MessagesMixin","messages","validationMessageValidator","formatMessages","input"],"mappings":"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"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./dom.cjs"),E=require("../utils/index.cjs"),N="listElementKey is required or the referenced element doesn't exist. Received listElement: ",v=({listItemRole:o="option",indexKey:s="highlightIndex",idKey:n="highlightId",listElementKey:I="listRef",activeItemKey:c="",openMethod:l=null,afterHighlightMethod:r=null,beginningOfListMethod:m=null,endOfListMethod:u=null,scrollToOnHighlight:g=!0,focusOnKeyboardNavigation:f=!1}={})=>({mixins:[a.default],data(){return{[s]:-1,[n]:"",scrollToOnHighlight:g,focusOnKeyboardNavigation:f}},provide(){return{highlightId:()=>this[n]}},methods:{_getListElement(){var t;return E.returnFirstEl((t=this[I]())==null?void 0:t.$el)||this[I]()},_itemsLength(){const t=this._getListItemNodes();return t===null?0:t.length},_getListItemNodes(){const t=this._getListElement();return t?Array.from(t.querySelectorAll(`[role="${o}"], #sr-only-close-button`)):(console.error(N,t),null)},onUpKey(){l&&this[l](!0),this[s]>0?this.setHighlightIndex(this[s]-1):m&&this[m](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onDownKey(){l&&this[l](!0),this[s]<this._itemsLength()-1?this.setHighlightIndex(this[s]+1):u&&this[u](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onHomeKey(){this.jumpToBeginning(),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onEndKey(){this.jumpToEnd(),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onNavigationKey(t){const e=this._getListItemNodes(),i=e.filter(h=>h.textContent.trim().toLowerCase().startsWith(t.toLowerCase()));if(i.length<=0)return;const d=i.findIndex(h=>this[s]===e.indexOf(h)),_=e.indexOf(d<i.length-1?i[d+1]:i[0]);this.setHighlightIndex(_),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},isValidLetter(t){return t.length>1?!1:t>="a"&&t<="z"||t>="A"&&t<="Z"},jumpToBeginning(){this.setHighlightIndex(0)},jumpToEnd(){this.setHighlightIndex(this._itemsLength()-1)},setHighlightIndex(t){this[s]=t,this[n]=this._getItemId(t),this._itemsLength()&&r&&this[r](t)},setHighlightId(t){this[n]=t,this[s]=this._getItemIndex(t),this._itemsLength()&&r&&this[r](this._getItemIndex(t))},_getItemIndex(t){const e=this._getListElement();return e?Array.from(e.querySelectorAll(`[role="${o}"], #sr-only-close-button`)).indexOf(e.querySelector(`#${t}`)):void 0},_getItemId(t){var i;const e=this._getListElement();if(e)return(i=e.querySelectorAll(`[role="${o}"], #sr-only-close-button`)[t])==null?void 0:i.id},scrollActiveItemIntoViewIfNeeded(){if(!this.scrollToOnHighlight)return;const t=this[c];if(t){const e=this._getListElement();this.scrollElementIntoViewIfNeeded(t,null,null,e)}},focusActiveItemIfNeeded(){if(!this.focusOnKeyboardNavigation)return;const t=this[c];t&&t.focus()}}});exports.default=v;
|
|
2
|
+
//# sourceMappingURL=keyboard-list-navigation.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keyboard-list-navigation.cjs","sources":["../../../common/mixins/keyboard_list_navigation.js"],"sourcesContent":["import Dom from './dom';\nimport { returnFirstEl } from '@/common/utils';\n\nconst ERROR_INVALID_LIST_ELEMENT = (\n 'listElementKey is required or the referenced ' +\n 'element doesn\\'t exist. Received listElement: '\n);\n\n/**\n * Usage: `mixins: [keyboardNavigationMixin(options)]`\n *\n * This mixin provides some common data and methods to navigate a list of items\n * (such as a dropdown or select menu) by keyboard.\n *\n * To be effective, you must bind the onUpKey and onDownKey events, usually to\n * the root element of the component.\n *\n * @param listItemRole\n * @param indexKey\n * @param idKey\n * @param listElementKey\n * @param activeItemKey\n * @param openMethod\n * @param afterHighlightMethod\n * @param beginningOfListMethod\n * @param endOfListMethod\n * @param scrollToOnHighlight\n * @param focusOnKeyboardNavigation\n * @displayName Keyboard Navigation Mixin\n */\nexport default ({\n // Role of the list items in the component. This is used to identify the list items\n // so you must update this if the role of your list items is anything other than 'option'\n listItemRole = 'option',\n // Key of the data prop that will be added to the component.\n indexKey = 'highlightIndex',\n idKey = 'highlightId',\n // Key of the method that references the list element.\n listElementKey = 'listRef',\n // Optional, Key of the computed prop that references the currently active item element.\n activeItemKey = '',\n // Optional, name of the method that toggles the list visibility. Used for\n // opening the list when up or down is pressed.\n openMethod = null,\n // Optional, method to call when the highlightIndex is changed.\n afterHighlightMethod = null,\n // Optional, method to call when the highlightIndex goes past the beginning of the list.\n beginningOfListMethod = null,\n // Optional, method to call when the highlightIndex goes past the end of the list.\n endOfListMethod = null,\n // Scroll the active element into view when highlighted by a keyboard event.\n scrollToOnHighlight = true,\n // Focus the active element on keyboard navigation.\n focusOnKeyboardNavigation = false,\n} = {}) => ({\n mixins: [Dom],\n\n data () {\n return {\n [indexKey]: -1,\n [idKey]: '',\n scrollToOnHighlight,\n focusOnKeyboardNavigation,\n };\n },\n\n provide () {\n return {\n highlightId: () => this[idKey],\n };\n },\n\n methods: {\n // Returns the list element\n // this[listElement]() can return a Vue component, in which case we need to target\n // the $el property, or it can simply be an html element.\n _getListElement () {\n return returnFirstEl(this[listElementKey]()?.$el) || this[listElementKey]();\n },\n\n // Gets the length of all the items in the list, uses the listItemRole param to determine\n // whether an element is a list item.\n _itemsLength () {\n const listItems = this._getListItemNodes();\n\n if (listItems === null) {\n return 0;\n }\n\n return listItems.length;\n },\n\n // Gets all the list item nodes within the list element\n _getListItemNodes () {\n const listElement = this._getListElement();\n\n if (!listElement) {\n console.error(ERROR_INVALID_LIST_ELEMENT, listElement);\n return null;\n }\n\n return Array.from(listElement.querySelectorAll(`[role=\"${listItemRole}\"], #sr-only-close-button`));\n },\n\n onUpKey () {\n if (openMethod) {\n this[openMethod](true);\n }\n if (this[indexKey] > 0) {\n this.setHighlightIndex(this[indexKey] - 1);\n } else if (beginningOfListMethod) {\n this[beginningOfListMethod]();\n }\n this.scrollActiveItemIntoViewIfNeeded();\n this.focusActiveItemIfNeeded();\n },\n\n onDownKey () {\n if (openMethod) {\n this[openMethod](true);\n }\n if (this[indexKey] < this._itemsLength() - 1) {\n this.setHighlightIndex(this[indexKey] + 1);\n } else if (endOfListMethod) {\n this[endOfListMethod]();\n }\n this.scrollActiveItemIntoViewIfNeeded();\n this.focusActiveItemIfNeeded();\n },\n\n onHomeKey () {\n this.jumpToBeginning();\n this.scrollActiveItemIntoViewIfNeeded();\n this.focusActiveItemIfNeeded();\n },\n\n onEndKey () {\n this.jumpToEnd();\n this.scrollActiveItemIntoViewIfNeeded();\n this.focusActiveItemIfNeeded();\n },\n\n onNavigationKey (key) {\n const listItems = this._getListItemNodes();\n\n const matchingItems = listItems.filter(item => {\n const content = item.textContent.trim().toLowerCase();\n return content.startsWith(key.toLowerCase());\n });\n\n if (matchingItems.length <= 0) {\n return;\n }\n\n const highlightedMatchingItemIndex = matchingItems.findIndex(item => {\n return this[indexKey] === listItems.indexOf(item);\n });\n\n const nextHighlightedItemIndex = listItems.indexOf(\n highlightedMatchingItemIndex < matchingItems.length - 1\n ? matchingItems[highlightedMatchingItemIndex + 1]\n : matchingItems[0],\n );\n\n this.setHighlightIndex(nextHighlightedItemIndex);\n this.scrollActiveItemIntoViewIfNeeded();\n this.focusActiveItemIfNeeded();\n },\n\n isValidLetter (key) {\n if (key.length > 1) {\n return false;\n }\n\n return (key >= 'a' && key <= 'z') || (key >= 'A' && key <= 'Z');\n },\n\n jumpToBeginning () {\n this.setHighlightIndex(0);\n },\n\n jumpToEnd () {\n this.setHighlightIndex(this._itemsLength() - 1);\n },\n\n setHighlightIndex (num) {\n this[indexKey] = num;\n this[idKey] = this._getItemId(num);\n\n if (this._itemsLength() && afterHighlightMethod) {\n this[afterHighlightMethod](num);\n }\n },\n\n setHighlightId (id) {\n this[idKey] = id;\n this[indexKey] = this._getItemIndex(id);\n\n if (this._itemsLength() && afterHighlightMethod) {\n this[afterHighlightMethod](this._getItemIndex(id));\n }\n },\n\n _getItemIndex (id) {\n const listElement = this._getListElement();\n if (!listElement) {\n return;\n }\n\n const listItems = Array.from(listElement.querySelectorAll(`[role=\"${listItemRole}\"], #sr-only-close-button`));\n return listItems.indexOf(listElement.querySelector(`#${id}`));\n },\n\n _getItemId (index) {\n const listElement = this._getListElement();\n if (!listElement) {\n return;\n }\n\n return listElement.querySelectorAll(`[role=\"${listItemRole}\"], #sr-only-close-button`)[index]?.id;\n },\n\n scrollActiveItemIntoViewIfNeeded () {\n if (!this.scrollToOnHighlight) {\n return;\n }\n const activeItemEl = this[activeItemKey];\n if (activeItemEl) {\n // When listElementKey is not passed,\n // scrollElementIntoViewIfNeeded will default to the immediate wrapper of the item.\n const listElement = this._getListElement();\n this.scrollElementIntoViewIfNeeded(activeItemEl, null, null, listElement);\n }\n },\n\n focusActiveItemIfNeeded () {\n if (!this.focusOnKeyboardNavigation) {\n return;\n }\n const activeItemEl = this[activeItemKey];\n if (activeItemEl) {\n activeItemEl.focus();\n }\n },\n },\n});\n"],"names":["ERROR_INVALID_LIST_ELEMENT","KeyboardNavigation","listItemRole","indexKey","idKey","listElementKey","activeItemKey","openMethod","afterHighlightMethod","beginningOfListMethod","endOfListMethod","scrollToOnHighlight","focusOnKeyboardNavigation","Dom","returnFirstEl","_a","listItems","listElement","key","matchingItems","item","highlightedMatchingItemIndex","nextHighlightedItemIndex","num","id","index","activeItemEl"],"mappings":"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"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import E from "./dom.js";
|
|
2
|
+
import { returnFirstEl as N } from "../utils/index.js";
|
|
3
|
+
const _ = "listElementKey is required or the referenced element doesn't exist. Received listElement: ", x = ({
|
|
4
|
+
// Role of the list items in the component. This is used to identify the list items
|
|
5
|
+
// so you must update this if the role of your list items is anything other than 'option'
|
|
6
|
+
listItemRole: o = "option",
|
|
7
|
+
// Key of the data prop that will be added to the component.
|
|
8
|
+
indexKey: s = "highlightIndex",
|
|
9
|
+
idKey: n = "highlightId",
|
|
10
|
+
// Key of the method that references the list element.
|
|
11
|
+
listElementKey: I = "listRef",
|
|
12
|
+
// Optional, Key of the computed prop that references the currently active item element.
|
|
13
|
+
activeItemKey: c = "",
|
|
14
|
+
// Optional, name of the method that toggles the list visibility. Used for
|
|
15
|
+
// opening the list when up or down is pressed.
|
|
16
|
+
openMethod: l = null,
|
|
17
|
+
// Optional, method to call when the highlightIndex is changed.
|
|
18
|
+
afterHighlightMethod: r = null,
|
|
19
|
+
// Optional, method to call when the highlightIndex goes past the beginning of the list.
|
|
20
|
+
beginningOfListMethod: m = null,
|
|
21
|
+
// Optional, method to call when the highlightIndex goes past the end of the list.
|
|
22
|
+
endOfListMethod: g = null,
|
|
23
|
+
// Scroll the active element into view when highlighted by a keyboard event.
|
|
24
|
+
scrollToOnHighlight: f = !0,
|
|
25
|
+
// Focus the active element on keyboard navigation.
|
|
26
|
+
focusOnKeyboardNavigation: d = !1
|
|
27
|
+
} = {}) => ({
|
|
28
|
+
mixins: [E],
|
|
29
|
+
data() {
|
|
30
|
+
return {
|
|
31
|
+
[s]: -1,
|
|
32
|
+
[n]: "",
|
|
33
|
+
scrollToOnHighlight: f,
|
|
34
|
+
focusOnKeyboardNavigation: d
|
|
35
|
+
};
|
|
36
|
+
},
|
|
37
|
+
provide() {
|
|
38
|
+
return {
|
|
39
|
+
highlightId: () => this[n]
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
methods: {
|
|
43
|
+
// Returns the list element
|
|
44
|
+
// this[listElement]() can return a Vue component, in which case we need to target
|
|
45
|
+
// the $el property, or it can simply be an html element.
|
|
46
|
+
_getListElement() {
|
|
47
|
+
var t;
|
|
48
|
+
return N((t = this[I]()) == null ? void 0 : t.$el) || this[I]();
|
|
49
|
+
},
|
|
50
|
+
// Gets the length of all the items in the list, uses the listItemRole param to determine
|
|
51
|
+
// whether an element is a list item.
|
|
52
|
+
_itemsLength() {
|
|
53
|
+
const t = this._getListItemNodes();
|
|
54
|
+
return t === null ? 0 : t.length;
|
|
55
|
+
},
|
|
56
|
+
// Gets all the list item nodes within the list element
|
|
57
|
+
_getListItemNodes() {
|
|
58
|
+
const t = this._getListElement();
|
|
59
|
+
return t ? Array.from(t.querySelectorAll(`[role="${o}"], #sr-only-close-button`)) : (console.error(_, t), null);
|
|
60
|
+
},
|
|
61
|
+
onUpKey() {
|
|
62
|
+
l && this[l](!0), this[s] > 0 ? this.setHighlightIndex(this[s] - 1) : m && this[m](), this.scrollActiveItemIntoViewIfNeeded(), this.focusActiveItemIfNeeded();
|
|
63
|
+
},
|
|
64
|
+
onDownKey() {
|
|
65
|
+
l && this[l](!0), this[s] < this._itemsLength() - 1 ? this.setHighlightIndex(this[s] + 1) : g && this[g](), this.scrollActiveItemIntoViewIfNeeded(), this.focusActiveItemIfNeeded();
|
|
66
|
+
},
|
|
67
|
+
onHomeKey() {
|
|
68
|
+
this.jumpToBeginning(), this.scrollActiveItemIntoViewIfNeeded(), this.focusActiveItemIfNeeded();
|
|
69
|
+
},
|
|
70
|
+
onEndKey() {
|
|
71
|
+
this.jumpToEnd(), this.scrollActiveItemIntoViewIfNeeded(), this.focusActiveItemIfNeeded();
|
|
72
|
+
},
|
|
73
|
+
onNavigationKey(t) {
|
|
74
|
+
const e = this._getListItemNodes(), i = e.filter((h) => h.textContent.trim().toLowerCase().startsWith(t.toLowerCase()));
|
|
75
|
+
if (i.length <= 0)
|
|
76
|
+
return;
|
|
77
|
+
const u = i.findIndex((h) => this[s] === e.indexOf(h)), a = e.indexOf(
|
|
78
|
+
u < i.length - 1 ? i[u + 1] : i[0]
|
|
79
|
+
);
|
|
80
|
+
this.setHighlightIndex(a), this.scrollActiveItemIntoViewIfNeeded(), this.focusActiveItemIfNeeded();
|
|
81
|
+
},
|
|
82
|
+
isValidLetter(t) {
|
|
83
|
+
return t.length > 1 ? !1 : t >= "a" && t <= "z" || t >= "A" && t <= "Z";
|
|
84
|
+
},
|
|
85
|
+
jumpToBeginning() {
|
|
86
|
+
this.setHighlightIndex(0);
|
|
87
|
+
},
|
|
88
|
+
jumpToEnd() {
|
|
89
|
+
this.setHighlightIndex(this._itemsLength() - 1);
|
|
90
|
+
},
|
|
91
|
+
setHighlightIndex(t) {
|
|
92
|
+
this[s] = t, this[n] = this._getItemId(t), this._itemsLength() && r && this[r](t);
|
|
93
|
+
},
|
|
94
|
+
setHighlightId(t) {
|
|
95
|
+
this[n] = t, this[s] = this._getItemIndex(t), this._itemsLength() && r && this[r](this._getItemIndex(t));
|
|
96
|
+
},
|
|
97
|
+
_getItemIndex(t) {
|
|
98
|
+
const e = this._getListElement();
|
|
99
|
+
return e ? Array.from(e.querySelectorAll(`[role="${o}"], #sr-only-close-button`)).indexOf(e.querySelector(`#${t}`)) : void 0;
|
|
100
|
+
},
|
|
101
|
+
_getItemId(t) {
|
|
102
|
+
var i;
|
|
103
|
+
const e = this._getListElement();
|
|
104
|
+
if (e)
|
|
105
|
+
return (i = e.querySelectorAll(`[role="${o}"], #sr-only-close-button`)[t]) == null ? void 0 : i.id;
|
|
106
|
+
},
|
|
107
|
+
scrollActiveItemIntoViewIfNeeded() {
|
|
108
|
+
if (!this.scrollToOnHighlight)
|
|
109
|
+
return;
|
|
110
|
+
const t = this[c];
|
|
111
|
+
if (t) {
|
|
112
|
+
const e = this._getListElement();
|
|
113
|
+
this.scrollElementIntoViewIfNeeded(t, null, null, e);
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
focusActiveItemIfNeeded() {
|
|
117
|
+
if (!this.focusOnKeyboardNavigation)
|
|
118
|
+
return;
|
|
119
|
+
const t = this[c];
|
|
120
|
+
t && t.focus();
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
export {
|
|
125
|
+
x as default
|
|
126
|
+
};
|
|
127
|
+
//# sourceMappingURL=keyboard-list-navigation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keyboard-list-navigation.js","sources":["../../../common/mixins/keyboard_list_navigation.js"],"sourcesContent":["import Dom from './dom';\nimport { returnFirstEl } from '@/common/utils';\n\nconst ERROR_INVALID_LIST_ELEMENT = (\n 'listElementKey is required or the referenced ' +\n 'element doesn\\'t exist. Received listElement: '\n);\n\n/**\n * Usage: `mixins: [keyboardNavigationMixin(options)]`\n *\n * This mixin provides some common data and methods to navigate a list of items\n * (such as a dropdown or select menu) by keyboard.\n *\n * To be effective, you must bind the onUpKey and onDownKey events, usually to\n * the root element of the component.\n *\n * @param listItemRole\n * @param indexKey\n * @param idKey\n * @param listElementKey\n * @param activeItemKey\n * @param openMethod\n * @param afterHighlightMethod\n * @param beginningOfListMethod\n * @param endOfListMethod\n * @param scrollToOnHighlight\n * @param focusOnKeyboardNavigation\n * @displayName Keyboard Navigation Mixin\n */\nexport default ({\n // Role of the list items in the component. This is used to identify the list items\n // so you must update this if the role of your list items is anything other than 'option'\n listItemRole = 'option',\n // Key of the data prop that will be added to the component.\n indexKey = 'highlightIndex',\n idKey = 'highlightId',\n // Key of the method that references the list element.\n listElementKey = 'listRef',\n // Optional, Key of the computed prop that references the currently active item element.\n activeItemKey = '',\n // Optional, name of the method that toggles the list visibility. Used for\n // opening the list when up or down is pressed.\n openMethod = null,\n // Optional, method to call when the highlightIndex is changed.\n afterHighlightMethod = null,\n // Optional, method to call when the highlightIndex goes past the beginning of the list.\n beginningOfListMethod = null,\n // Optional, method to call when the highlightIndex goes past the end of the list.\n endOfListMethod = null,\n // Scroll the active element into view when highlighted by a keyboard event.\n scrollToOnHighlight = true,\n // Focus the active element on keyboard navigation.\n focusOnKeyboardNavigation = false,\n} = {}) => ({\n mixins: [Dom],\n\n data () {\n return {\n [indexKey]: -1,\n [idKey]: '',\n scrollToOnHighlight,\n focusOnKeyboardNavigation,\n };\n },\n\n provide () {\n return {\n highlightId: () => this[idKey],\n };\n },\n\n methods: {\n // Returns the list element\n // this[listElement]() can return a Vue component, in which case we need to target\n // the $el property, or it can simply be an html element.\n _getListElement () {\n return returnFirstEl(this[listElementKey]()?.$el) || this[listElementKey]();\n },\n\n // Gets the length of all the items in the list, uses the listItemRole param to determine\n // whether an element is a list item.\n _itemsLength () {\n const listItems = this._getListItemNodes();\n\n if (listItems === null) {\n return 0;\n }\n\n return listItems.length;\n },\n\n // Gets all the list item nodes within the list element\n _getListItemNodes () {\n const listElement = this._getListElement();\n\n if (!listElement) {\n console.error(ERROR_INVALID_LIST_ELEMENT, listElement);\n return null;\n }\n\n return Array.from(listElement.querySelectorAll(`[role=\"${listItemRole}\"], #sr-only-close-button`));\n },\n\n onUpKey () {\n if (openMethod) {\n this[openMethod](true);\n }\n if (this[indexKey] > 0) {\n this.setHighlightIndex(this[indexKey] - 1);\n } else if (beginningOfListMethod) {\n this[beginningOfListMethod]();\n }\n this.scrollActiveItemIntoViewIfNeeded();\n this.focusActiveItemIfNeeded();\n },\n\n onDownKey () {\n if (openMethod) {\n this[openMethod](true);\n }\n if (this[indexKey] < this._itemsLength() - 1) {\n this.setHighlightIndex(this[indexKey] + 1);\n } else if (endOfListMethod) {\n this[endOfListMethod]();\n }\n this.scrollActiveItemIntoViewIfNeeded();\n this.focusActiveItemIfNeeded();\n },\n\n onHomeKey () {\n this.jumpToBeginning();\n this.scrollActiveItemIntoViewIfNeeded();\n this.focusActiveItemIfNeeded();\n },\n\n onEndKey () {\n this.jumpToEnd();\n this.scrollActiveItemIntoViewIfNeeded();\n this.focusActiveItemIfNeeded();\n },\n\n onNavigationKey (key) {\n const listItems = this._getListItemNodes();\n\n const matchingItems = listItems.filter(item => {\n const content = item.textContent.trim().toLowerCase();\n return content.startsWith(key.toLowerCase());\n });\n\n if (matchingItems.length <= 0) {\n return;\n }\n\n const highlightedMatchingItemIndex = matchingItems.findIndex(item => {\n return this[indexKey] === listItems.indexOf(item);\n });\n\n const nextHighlightedItemIndex = listItems.indexOf(\n highlightedMatchingItemIndex < matchingItems.length - 1\n ? matchingItems[highlightedMatchingItemIndex + 1]\n : matchingItems[0],\n );\n\n this.setHighlightIndex(nextHighlightedItemIndex);\n this.scrollActiveItemIntoViewIfNeeded();\n this.focusActiveItemIfNeeded();\n },\n\n isValidLetter (key) {\n if (key.length > 1) {\n return false;\n }\n\n return (key >= 'a' && key <= 'z') || (key >= 'A' && key <= 'Z');\n },\n\n jumpToBeginning () {\n this.setHighlightIndex(0);\n },\n\n jumpToEnd () {\n this.setHighlightIndex(this._itemsLength() - 1);\n },\n\n setHighlightIndex (num) {\n this[indexKey] = num;\n this[idKey] = this._getItemId(num);\n\n if (this._itemsLength() && afterHighlightMethod) {\n this[afterHighlightMethod](num);\n }\n },\n\n setHighlightId (id) {\n this[idKey] = id;\n this[indexKey] = this._getItemIndex(id);\n\n if (this._itemsLength() && afterHighlightMethod) {\n this[afterHighlightMethod](this._getItemIndex(id));\n }\n },\n\n _getItemIndex (id) {\n const listElement = this._getListElement();\n if (!listElement) {\n return;\n }\n\n const listItems = Array.from(listElement.querySelectorAll(`[role=\"${listItemRole}\"], #sr-only-close-button`));\n return listItems.indexOf(listElement.querySelector(`#${id}`));\n },\n\n _getItemId (index) {\n const listElement = this._getListElement();\n if (!listElement) {\n return;\n }\n\n return listElement.querySelectorAll(`[role=\"${listItemRole}\"], #sr-only-close-button`)[index]?.id;\n },\n\n scrollActiveItemIntoViewIfNeeded () {\n if (!this.scrollToOnHighlight) {\n return;\n }\n const activeItemEl = this[activeItemKey];\n if (activeItemEl) {\n // When listElementKey is not passed,\n // scrollElementIntoViewIfNeeded will default to the immediate wrapper of the item.\n const listElement = this._getListElement();\n this.scrollElementIntoViewIfNeeded(activeItemEl, null, null, listElement);\n }\n },\n\n focusActiveItemIfNeeded () {\n if (!this.focusOnKeyboardNavigation) {\n return;\n }\n const activeItemEl = this[activeItemKey];\n if (activeItemEl) {\n activeItemEl.focus();\n }\n },\n },\n});\n"],"names":["ERROR_INVALID_LIST_ELEMENT","KeyboardNavigation","listItemRole","indexKey","idKey","listElementKey","activeItemKey","openMethod","afterHighlightMethod","beginningOfListMethod","endOfListMethod","scrollToOnHighlight","focusOnKeyboardNavigation","Dom","returnFirstEl","_a","listItems","listElement","key","matchingItems","item","highlightedMatchingItemIndex","nextHighlightedItemIndex","num","id","index","activeItemEl"],"mappings":"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"}
|
|
@@ -1,107 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const common_utils = require("../utils.cjs");
|
|
4
|
-
const focusableAttrs = ':not(:disabled):not([aria-disabled="true"]):not([role="presentation"])';
|
|
5
|
-
const tabbableAttrs = `${focusableAttrs}:not([tabindex="-1"])`;
|
|
6
|
-
const focusableElementsList = `button,[href],input,select,textarea,details,[tabindex]`;
|
|
7
|
-
const Modal = {
|
|
8
|
-
methods: {
|
|
9
|
-
/**
|
|
10
|
-
* get the first focusable element in your component, includes tabindex="-1".
|
|
11
|
-
* @param {object} el - optional - ref of dom element to trap focus on.
|
|
12
|
-
* will default to the root node of the vue component
|
|
13
|
-
*/
|
|
14
|
-
async getFirstFocusableElement(el) {
|
|
15
|
-
await this.$nextTick();
|
|
16
|
-
const focusableElements = this._getFocusableElements(el, true);
|
|
17
|
-
return this._getFirstFocusElement(focusableElements);
|
|
18
|
-
},
|
|
19
|
-
/**
|
|
20
|
-
* set focus to the first focusable element in your component, includes tabindex="-1".
|
|
21
|
-
* @param {object} el - optional - ref of dom element to trap focus on.
|
|
22
|
-
* will default to the root node of the vue component
|
|
23
|
-
*/
|
|
24
|
-
async focusFirstElement(el = this.$el) {
|
|
25
|
-
const elToFocus = await this.getFirstFocusableElement(common_utils.returnFirstEl(el));
|
|
26
|
-
elToFocus == null ? void 0 : elToFocus.focus({ preventScroll: true });
|
|
27
|
-
},
|
|
28
|
-
async focusElementById(elementId) {
|
|
29
|
-
var _a;
|
|
30
|
-
await this.$nextTick();
|
|
31
|
-
const result = (_a = common_utils.returnFirstEl(this.$el)) == null ? void 0 : _a.querySelector(elementId);
|
|
32
|
-
if (result) {
|
|
33
|
-
result.focus();
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
console.warn('Could not find the element specified in dt-modal prop "initialFocusElement". Defaulting to focusing the first element.');
|
|
37
|
-
await this.focusFirstElement();
|
|
38
|
-
},
|
|
39
|
-
/**
|
|
40
|
-
* internal use only.
|
|
41
|
-
*
|
|
42
|
-
* @param focusableElements - list of focusable elements
|
|
43
|
-
* @returns {*} - first DOM element that is focusable.
|
|
44
|
-
* @private
|
|
45
|
-
*/
|
|
46
|
-
_getFirstFocusElement(focusableElements) {
|
|
47
|
-
if (!focusableElements.length) {
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
50
|
-
let firstFocusEl = focusableElements[0];
|
|
51
|
-
if (firstFocusEl.matches('[type="radio"]:not(:checked)')) {
|
|
52
|
-
firstFocusEl = focusableElements.find((el) => el.checked && el.name === firstFocusEl.name) || firstFocusEl;
|
|
53
|
-
}
|
|
54
|
-
return firstFocusEl;
|
|
55
|
-
},
|
|
56
|
-
/**
|
|
57
|
-
* internal use only.
|
|
58
|
-
*
|
|
59
|
-
* gets all the focusable elements within the component
|
|
60
|
-
* and sets the first and last of those elements.
|
|
61
|
-
*
|
|
62
|
-
* @param {object} el - the root dom element to find focusable elements in.
|
|
63
|
-
* @param {bool} includeNegativeTabIndex - will include tabindex="-1" in the list of focusable elements.
|
|
64
|
-
*/
|
|
65
|
-
_getFocusableElements(el = this.$el, includeNegativeTabIndex = false) {
|
|
66
|
-
el = common_utils.returnFirstEl(el);
|
|
67
|
-
if (!el) return [];
|
|
68
|
-
const focusableContent = [...el.querySelectorAll(focusableElementsList)];
|
|
69
|
-
return focusableContent.filter((fc) => {
|
|
70
|
-
const style = window.getComputedStyle(fc);
|
|
71
|
-
return style.getPropertyValue("display") !== "none" && style.getPropertyValue("visibility") !== "hidden" && fc.matches(includeNegativeTabIndex ? focusableAttrs : tabbableAttrs);
|
|
72
|
-
});
|
|
73
|
-
},
|
|
74
|
-
/**
|
|
75
|
-
* tabs to the next element contained within your component, does not include tabindex="-1".
|
|
76
|
-
* @param {object} e - keypress event
|
|
77
|
-
* @param {object} el - optional - ref of dom element to trap focus on.
|
|
78
|
-
* will default to the root node of the vue component
|
|
79
|
-
*/
|
|
80
|
-
focusTrappedTabPress(e, el) {
|
|
81
|
-
const isTabPressed = e.key === "Tab";
|
|
82
|
-
if (!isTabPressed) {
|
|
83
|
-
return;
|
|
84
|
-
}
|
|
85
|
-
const focusableElements = this._getFocusableElements(el);
|
|
86
|
-
if (!focusableElements.length) {
|
|
87
|
-
e.preventDefault();
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
const firstFocusableElement = this._getFirstFocusElement(focusableElements);
|
|
91
|
-
const lastFocusableElement = focusableElements[focusableElements.length - 1];
|
|
92
|
-
if (e.shiftKey) {
|
|
93
|
-
if (document.activeElement === firstFocusableElement) {
|
|
94
|
-
lastFocusableElement.focus();
|
|
95
|
-
e.preventDefault();
|
|
96
|
-
}
|
|
97
|
-
} else {
|
|
98
|
-
if (document.activeElement === lastFocusableElement) {
|
|
99
|
-
firstFocusableElement.focus();
|
|
100
|
-
e.preventDefault();
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
};
|
|
106
|
-
exports.default = Modal;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("../utils/index.cjs"),o=':not(:disabled):not([aria-disabled="true"]):not([role="presentation"])',a=`${o}:not([tabindex="-1"])`,u="button,[href],input,select,textarea,details,[tabindex]",c={methods:{async getFirstFocusableElement(e){await this.$nextTick();const t=this._getFocusableElements(e,!0);return this._getFirstFocusElement(t)},async focusFirstElement(e=this.$el){const t=await this.getFirstFocusableElement(r.returnFirstEl(e));t==null||t.focus({preventScroll:!0})},async focusElementById(e){var s;await this.$nextTick();const t=(s=r.returnFirstEl(this.$el))==null?void 0:s.querySelector(e);if(t){t.focus();return}console.warn('Could not find the element specified in dt-modal prop "initialFocusElement". Defaulting to focusing the first element.'),await this.focusFirstElement()},_getFirstFocusElement(e){if(!e.length)return;let t=e[0];return t.matches('[type="radio"]:not(:checked)')&&(t=e.find(s=>s.checked&&s.name===t.name)||t),t},_getFocusableElements(e=this.$el,t=!1){return e=r.returnFirstEl(e),e?[...e.querySelectorAll(u)].filter(n=>{const i=window.getComputedStyle(n);return i.getPropertyValue("display")!=="none"&&i.getPropertyValue("visibility")!=="hidden"&&n.matches(t?o:a)}):[]},focusTrappedTabPress(e,t){if(!(e.key==="Tab"))return;const n=this._getFocusableElements(t);if(!n.length){e.preventDefault();return}const i=this._getFirstFocusElement(n),l=n[n.length-1];e.shiftKey?document.activeElement===i&&(l.focus(),e.preventDefault()):document.activeElement===l&&(i.focus(),e.preventDefault())}}};exports.default=c;
|
|
107
2
|
//# sourceMappingURL=modal.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.cjs","sources":["../../../common/mixins/modal.js"],"sourcesContent":["import { returnFirstEl } from '@/common/utils';\n\nconst focusableAttrs = ':not(:disabled):not([aria-disabled=\"true\"]):not([role=\"presentation\"])';\nconst tabbableAttrs = `${focusableAttrs}:not([tabindex=\"-1\"])`;\nconst focusableElementsList = `button,[href],input,select,textarea,details,[tabindex]`;\n\n/**\n * This mixin provides the methods to automatically trap tab focus within\n * the component this mixin is on, meaning it is not possible to tab out\n * of the component without dismissing it.\n *\n * Useful for accessibility reasons on things like important actionable alerts.\n *\n * Use focusFirstElement to focus on the first tabbable element within your component, and call\n * focusTrappedTabPress every time tab is pressed to trap tab within this\n * component.\n *\n * Note that focusFirstElement WILL focus elements with tabindex=\"-1\",\n * however focusTrappedTabPress will not.\n * @displayName Modal Mixin\n */\nexport default {\n methods: {\n /**\n * get the first focusable element in your component, includes tabindex=\"-1\".\n * @param {object} el - optional - ref of dom element to trap focus on.\n * will default to the root node of the vue component\n */\n async getFirstFocusableElement (el) {\n await this.$nextTick();\n const focusableElements = this._getFocusableElements(el, true);\n return this._getFirstFocusElement(focusableElements);\n },\n\n /**\n * set focus to the first focusable element in your component, includes tabindex=\"-1\".\n * @param {object} el - optional - ref of dom element to trap focus on.\n * will default to the root node of the vue component\n */\n async focusFirstElement (el = this.$el) {\n const elToFocus = await this.getFirstFocusableElement(returnFirstEl(el));\n elToFocus?.focus({ preventScroll: true });\n },\n\n async focusElementById (elementId) {\n await this.$nextTick();\n const result = returnFirstEl(this.$el)?.querySelector(elementId);\n if (result) {\n result.focus();\n return;\n }\n\n // eslint-disable-next-line no-console\n console.warn('Could not find the element specified in dt-modal prop \"initialFocusElement\". ' +\n 'Defaulting to focusing the first element.');\n await this.focusFirstElement();\n },\n\n /**\n * internal use only.\n *\n * @param focusableElements - list of focusable elements\n * @returns {*} - first DOM element that is focusable.\n * @private\n */\n _getFirstFocusElement (focusableElements) {\n if (!focusableElements.length) {\n return;\n }\n let firstFocusEl = focusableElements[0];\n // If first element is a checkbox, put focus on the selected checkbox or the first checkbox if none are selected.\n if (firstFocusEl.matches('[type=\"radio\"]:not(:checked)')) {\n firstFocusEl = focusableElements.find(el => el.checked && el.name === firstFocusEl.name) || firstFocusEl;\n }\n return firstFocusEl;\n },\n\n /**\n * internal use only.\n *\n * gets all the focusable elements within the component\n * and sets the first and last of those elements.\n *\n * @param {object} el - the root dom element to find focusable elements in.\n * @param {bool} includeNegativeTabIndex - will include tabindex=\"-1\" in the list of focusable elements.\n */\n _getFocusableElements (el = this.$el, includeNegativeTabIndex = false) {\n el = returnFirstEl(el);\n if (!el) return [];\n const focusableContent = [...el.querySelectorAll(focusableElementsList)];\n return focusableContent.filter((fc) => {\n const style = window.getComputedStyle(fc);\n return style.getPropertyValue('display') !== 'none' &&\n style.getPropertyValue('visibility') !== 'hidden' &&\n fc.matches(includeNegativeTabIndex ? focusableAttrs : tabbableAttrs);\n });\n },\n\n /**\n * tabs to the next element contained within your component, does not include tabindex=\"-1\".\n * @param {object} e - keypress event\n * @param {object} el - optional - ref of dom element to trap focus on.\n * will default to the root node of the vue component\n */\n focusTrappedTabPress (e, el) {\n const isTabPressed = e.key === 'Tab';\n\n if (!isTabPressed) {\n return;\n }\n\n const focusableElements = this._getFocusableElements(el);\n if (!focusableElements.length) {\n e.preventDefault();\n return;\n }\n\n const firstFocusableElement = this._getFirstFocusElement(focusableElements);\n const lastFocusableElement = focusableElements[focusableElements.length - 1];\n\n if (e.shiftKey) {\n if (document.activeElement === firstFocusableElement) {\n lastFocusableElement.focus();\n e.preventDefault();\n }\n } else {\n if (document.activeElement === lastFocusableElement) {\n firstFocusableElement.focus();\n e.preventDefault();\n }\n }\n },\n },\n};\n"],"names":["returnFirstEl"],"mappings":"
|
|
1
|
+
{"version":3,"file":"modal.cjs","sources":["../../../common/mixins/modal.js"],"sourcesContent":["import { returnFirstEl } from '@/common/utils';\n\nconst focusableAttrs = ':not(:disabled):not([aria-disabled=\"true\"]):not([role=\"presentation\"])';\nconst tabbableAttrs = `${focusableAttrs}:not([tabindex=\"-1\"])`;\nconst focusableElementsList = `button,[href],input,select,textarea,details,[tabindex]`;\n\n/**\n * This mixin provides the methods to automatically trap tab focus within\n * the component this mixin is on, meaning it is not possible to tab out\n * of the component without dismissing it.\n *\n * Useful for accessibility reasons on things like important actionable alerts.\n *\n * Use focusFirstElement to focus on the first tabbable element within your component, and call\n * focusTrappedTabPress every time tab is pressed to trap tab within this\n * component.\n *\n * Note that focusFirstElement WILL focus elements with tabindex=\"-1\",\n * however focusTrappedTabPress will not.\n * @displayName Modal Mixin\n */\nexport default {\n methods: {\n /**\n * get the first focusable element in your component, includes tabindex=\"-1\".\n * @param {object} el - optional - ref of dom element to trap focus on.\n * will default to the root node of the vue component\n */\n async getFirstFocusableElement (el) {\n await this.$nextTick();\n const focusableElements = this._getFocusableElements(el, true);\n return this._getFirstFocusElement(focusableElements);\n },\n\n /**\n * set focus to the first focusable element in your component, includes tabindex=\"-1\".\n * @param {object} el - optional - ref of dom element to trap focus on.\n * will default to the root node of the vue component\n */\n async focusFirstElement (el = this.$el) {\n const elToFocus = await this.getFirstFocusableElement(returnFirstEl(el));\n elToFocus?.focus({ preventScroll: true });\n },\n\n async focusElementById (elementId) {\n await this.$nextTick();\n const result = returnFirstEl(this.$el)?.querySelector(elementId);\n if (result) {\n result.focus();\n return;\n }\n\n // eslint-disable-next-line no-console\n console.warn('Could not find the element specified in dt-modal prop \"initialFocusElement\". ' +\n 'Defaulting to focusing the first element.');\n await this.focusFirstElement();\n },\n\n /**\n * internal use only.\n *\n * @param focusableElements - list of focusable elements\n * @returns {*} - first DOM element that is focusable.\n * @private\n */\n _getFirstFocusElement (focusableElements) {\n if (!focusableElements.length) {\n return;\n }\n let firstFocusEl = focusableElements[0];\n // If first element is a checkbox, put focus on the selected checkbox or the first checkbox if none are selected.\n if (firstFocusEl.matches('[type=\"radio\"]:not(:checked)')) {\n firstFocusEl = focusableElements.find(el => el.checked && el.name === firstFocusEl.name) || firstFocusEl;\n }\n return firstFocusEl;\n },\n\n /**\n * internal use only.\n *\n * gets all the focusable elements within the component\n * and sets the first and last of those elements.\n *\n * @param {object} el - the root dom element to find focusable elements in.\n * @param {bool} includeNegativeTabIndex - will include tabindex=\"-1\" in the list of focusable elements.\n */\n _getFocusableElements (el = this.$el, includeNegativeTabIndex = false) {\n el = returnFirstEl(el);\n if (!el) return [];\n const focusableContent = [...el.querySelectorAll(focusableElementsList)];\n return focusableContent.filter((fc) => {\n const style = window.getComputedStyle(fc);\n return style.getPropertyValue('display') !== 'none' &&\n style.getPropertyValue('visibility') !== 'hidden' &&\n fc.matches(includeNegativeTabIndex ? focusableAttrs : tabbableAttrs);\n });\n },\n\n /**\n * tabs to the next element contained within your component, does not include tabindex=\"-1\".\n * @param {object} e - keypress event\n * @param {object} el - optional - ref of dom element to trap focus on.\n * will default to the root node of the vue component\n */\n focusTrappedTabPress (e, el) {\n const isTabPressed = e.key === 'Tab';\n\n if (!isTabPressed) {\n return;\n }\n\n const focusableElements = this._getFocusableElements(el);\n if (!focusableElements.length) {\n e.preventDefault();\n return;\n }\n\n const firstFocusableElement = this._getFirstFocusElement(focusableElements);\n const lastFocusableElement = focusableElements[focusableElements.length - 1];\n\n if (e.shiftKey) {\n if (document.activeElement === firstFocusableElement) {\n lastFocusableElement.focus();\n e.preventDefault();\n }\n } else {\n if (document.activeElement === lastFocusableElement) {\n firstFocusableElement.focus();\n e.preventDefault();\n }\n }\n },\n },\n};\n"],"names":["focusableAttrs","tabbableAttrs","focusableElementsList","Modal","el","focusableElements","elToFocus","returnFirstEl","elementId","result","firstFocusEl","includeNegativeTabIndex","fc","style","firstFocusableElement","lastFocusableElement"],"mappings":"kJAEMA,EAAiB,yEACjBC,EAAgB,GAAGD,CAAc,wBACjCE,EAAwB,yDAiBfC,EAAA,CACb,QAAS,CAMP,MAAM,yBAA0BC,EAAI,CAClC,MAAM,KAAK,YACX,MAAMC,EAAoB,KAAK,sBAAsBD,EAAI,EAAI,EAC7D,OAAO,KAAK,sBAAsBC,CAAiB,CACpD,EAOD,MAAM,kBAAmBD,EAAK,KAAK,IAAK,CACtC,MAAME,EAAY,MAAM,KAAK,yBAAyBC,EAAa,cAACH,CAAE,CAAC,EACvEE,GAAA,MAAAA,EAAW,MAAM,CAAE,cAAe,EAAM,EACzC,EAED,MAAM,iBAAkBE,EAAW,OACjC,MAAM,KAAK,YACX,MAAMC,GAASF,EAAAA,EAAAA,cAAc,KAAK,GAAG,IAAtBA,YAAAA,EAAyB,cAAcC,GACtD,GAAIC,EAAQ,CACVA,EAAO,MAAK,EACZ,MACD,CAGD,QAAQ,KAAK,wHACgC,EAC7C,MAAM,KAAK,mBACZ,EASD,sBAAuBJ,EAAmB,CACxC,GAAI,CAACA,EAAkB,OACrB,OAEF,IAAIK,EAAeL,EAAkB,CAAC,EAEtC,OAAIK,EAAa,QAAQ,8BAA8B,IACrDA,EAAeL,EAAkB,KAAKD,GAAMA,EAAG,SAAWA,EAAG,OAASM,EAAa,IAAI,GAAKA,GAEvFA,CACR,EAWD,sBAAuBN,EAAK,KAAK,IAAKO,EAA0B,GAAO,CAErE,OADAP,EAAKG,EAAAA,cAAcH,CAAE,EAChBA,EACoB,CAAC,GAAGA,EAAG,iBAAiBF,CAAqB,CAAC,EAC/C,OAAQU,GAAO,CACrC,MAAMC,EAAQ,OAAO,iBAAiBD,CAAE,EACxC,OAAOC,EAAM,iBAAiB,SAAS,IAAM,QAC3CA,EAAM,iBAAiB,YAAY,IAAM,UACzCD,EAAG,QAAQD,EAA0BX,EAAiBC,CAAa,CAC7E,CAAO,EAPe,EAQjB,EAQD,qBAAsB,EAAGG,EAAI,CAG3B,GAAI,EAFiB,EAAE,MAAQ,OAG7B,OAGF,MAAMC,EAAoB,KAAK,sBAAsBD,CAAE,EACvD,GAAI,CAACC,EAAkB,OAAQ,CAC7B,EAAE,eAAc,EAChB,MACD,CAED,MAAMS,EAAwB,KAAK,sBAAsBT,CAAiB,EACpEU,EAAuBV,EAAkBA,EAAkB,OAAS,CAAC,EAEvE,EAAE,SACA,SAAS,gBAAkBS,IAC7BC,EAAqB,MAAK,EAC1B,EAAE,eAAc,GAGd,SAAS,gBAAkBA,IAC7BD,EAAsB,MAAK,EAC3B,EAAE,eAAc,EAGrB,CACF,CACH"}
|
|
@@ -1,38 +1,34 @@
|
|
|
1
|
-
import { returnFirstEl } from "../utils.js";
|
|
2
|
-
const
|
|
3
|
-
const tabbableAttrs = `${focusableAttrs}:not([tabindex="-1"])`;
|
|
4
|
-
const focusableElementsList = `button,[href],input,select,textarea,details,[tabindex]`;
|
|
5
|
-
const Modal = {
|
|
1
|
+
import { returnFirstEl as o } from "../utils/index.js";
|
|
2
|
+
const r = ':not(:disabled):not([aria-disabled="true"]):not([role="presentation"])', a = `${r}:not([tabindex="-1"])`, c = "button,[href],input,select,textarea,details,[tabindex]", f = {
|
|
6
3
|
methods: {
|
|
7
4
|
/**
|
|
8
5
|
* get the first focusable element in your component, includes tabindex="-1".
|
|
9
6
|
* @param {object} el - optional - ref of dom element to trap focus on.
|
|
10
7
|
* will default to the root node of the vue component
|
|
11
8
|
*/
|
|
12
|
-
async getFirstFocusableElement(
|
|
9
|
+
async getFirstFocusableElement(e) {
|
|
13
10
|
await this.$nextTick();
|
|
14
|
-
const
|
|
15
|
-
return this._getFirstFocusElement(
|
|
11
|
+
const t = this._getFocusableElements(e, !0);
|
|
12
|
+
return this._getFirstFocusElement(t);
|
|
16
13
|
},
|
|
17
14
|
/**
|
|
18
15
|
* set focus to the first focusable element in your component, includes tabindex="-1".
|
|
19
16
|
* @param {object} el - optional - ref of dom element to trap focus on.
|
|
20
17
|
* will default to the root node of the vue component
|
|
21
18
|
*/
|
|
22
|
-
async focusFirstElement(
|
|
23
|
-
const
|
|
24
|
-
|
|
19
|
+
async focusFirstElement(e = this.$el) {
|
|
20
|
+
const t = await this.getFirstFocusableElement(o(e));
|
|
21
|
+
t == null || t.focus({ preventScroll: !0 });
|
|
25
22
|
},
|
|
26
|
-
async focusElementById(
|
|
27
|
-
var
|
|
23
|
+
async focusElementById(e) {
|
|
24
|
+
var s;
|
|
28
25
|
await this.$nextTick();
|
|
29
|
-
const
|
|
30
|
-
if (
|
|
31
|
-
|
|
26
|
+
const t = (s = o(this.$el)) == null ? void 0 : s.querySelector(e);
|
|
27
|
+
if (t) {
|
|
28
|
+
t.focus();
|
|
32
29
|
return;
|
|
33
30
|
}
|
|
34
|
-
console.warn('Could not find the element specified in dt-modal prop "initialFocusElement". Defaulting to focusing the first element.');
|
|
35
|
-
await this.focusFirstElement();
|
|
31
|
+
console.warn('Could not find the element specified in dt-modal prop "initialFocusElement". Defaulting to focusing the first element.'), await this.focusFirstElement();
|
|
36
32
|
},
|
|
37
33
|
/**
|
|
38
34
|
* internal use only.
|
|
@@ -41,15 +37,11 @@ const Modal = {
|
|
|
41
37
|
* @returns {*} - first DOM element that is focusable.
|
|
42
38
|
* @private
|
|
43
39
|
*/
|
|
44
|
-
_getFirstFocusElement(
|
|
45
|
-
if (!
|
|
40
|
+
_getFirstFocusElement(e) {
|
|
41
|
+
if (!e.length)
|
|
46
42
|
return;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
if (firstFocusEl.matches('[type="radio"]:not(:checked)')) {
|
|
50
|
-
firstFocusEl = focusableElements.find((el) => el.checked && el.name === firstFocusEl.name) || firstFocusEl;
|
|
51
|
-
}
|
|
52
|
-
return firstFocusEl;
|
|
43
|
+
let t = e[0];
|
|
44
|
+
return t.matches('[type="radio"]:not(:checked)') && (t = e.find((s) => s.checked && s.name === t.name) || t), t;
|
|
53
45
|
},
|
|
54
46
|
/**
|
|
55
47
|
* internal use only.
|
|
@@ -60,14 +52,11 @@ const Modal = {
|
|
|
60
52
|
* @param {object} el - the root dom element to find focusable elements in.
|
|
61
53
|
* @param {bool} includeNegativeTabIndex - will include tabindex="-1" in the list of focusable elements.
|
|
62
54
|
*/
|
|
63
|
-
_getFocusableElements(
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
const style = window.getComputedStyle(fc);
|
|
69
|
-
return style.getPropertyValue("display") !== "none" && style.getPropertyValue("visibility") !== "hidden" && fc.matches(includeNegativeTabIndex ? focusableAttrs : tabbableAttrs);
|
|
70
|
-
});
|
|
55
|
+
_getFocusableElements(e = this.$el, t = !1) {
|
|
56
|
+
return e = o(e), e ? [...e.querySelectorAll(c)].filter((n) => {
|
|
57
|
+
const i = window.getComputedStyle(n);
|
|
58
|
+
return i.getPropertyValue("display") !== "none" && i.getPropertyValue("visibility") !== "hidden" && n.matches(t ? r : a);
|
|
59
|
+
}) : [];
|
|
71
60
|
},
|
|
72
61
|
/**
|
|
73
62
|
* tabs to the next element contained within your component, does not include tabindex="-1".
|
|
@@ -75,33 +64,20 @@ const Modal = {
|
|
|
75
64
|
* @param {object} el - optional - ref of dom element to trap focus on.
|
|
76
65
|
* will default to the root node of the vue component
|
|
77
66
|
*/
|
|
78
|
-
focusTrappedTabPress(e,
|
|
79
|
-
|
|
80
|
-
if (!isTabPressed) {
|
|
67
|
+
focusTrappedTabPress(e, t) {
|
|
68
|
+
if (!(e.key === "Tab"))
|
|
81
69
|
return;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
if (!focusableElements.length) {
|
|
70
|
+
const n = this._getFocusableElements(t);
|
|
71
|
+
if (!n.length) {
|
|
85
72
|
e.preventDefault();
|
|
86
73
|
return;
|
|
87
74
|
}
|
|
88
|
-
const
|
|
89
|
-
|
|
90
|
-
if (e.shiftKey) {
|
|
91
|
-
if (document.activeElement === firstFocusableElement) {
|
|
92
|
-
lastFocusableElement.focus();
|
|
93
|
-
e.preventDefault();
|
|
94
|
-
}
|
|
95
|
-
} else {
|
|
96
|
-
if (document.activeElement === lastFocusableElement) {
|
|
97
|
-
firstFocusableElement.focus();
|
|
98
|
-
e.preventDefault();
|
|
99
|
-
}
|
|
100
|
-
}
|
|
75
|
+
const i = this._getFirstFocusElement(n), l = n[n.length - 1];
|
|
76
|
+
e.shiftKey ? document.activeElement === i && (l.focus(), e.preventDefault()) : document.activeElement === l && (i.focus(), e.preventDefault());
|
|
101
77
|
}
|
|
102
78
|
}
|
|
103
79
|
};
|
|
104
80
|
export {
|
|
105
|
-
|
|
81
|
+
f as default
|
|
106
82
|
};
|
|
107
83
|
//# sourceMappingURL=modal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.js","sources":["../../../common/mixins/modal.js"],"sourcesContent":["import { returnFirstEl } from '@/common/utils';\n\nconst focusableAttrs = ':not(:disabled):not([aria-disabled=\"true\"]):not([role=\"presentation\"])';\nconst tabbableAttrs = `${focusableAttrs}:not([tabindex=\"-1\"])`;\nconst focusableElementsList = `button,[href],input,select,textarea,details,[tabindex]`;\n\n/**\n * This mixin provides the methods to automatically trap tab focus within\n * the component this mixin is on, meaning it is not possible to tab out\n * of the component without dismissing it.\n *\n * Useful for accessibility reasons on things like important actionable alerts.\n *\n * Use focusFirstElement to focus on the first tabbable element within your component, and call\n * focusTrappedTabPress every time tab is pressed to trap tab within this\n * component.\n *\n * Note that focusFirstElement WILL focus elements with tabindex=\"-1\",\n * however focusTrappedTabPress will not.\n * @displayName Modal Mixin\n */\nexport default {\n methods: {\n /**\n * get the first focusable element in your component, includes tabindex=\"-1\".\n * @param {object} el - optional - ref of dom element to trap focus on.\n * will default to the root node of the vue component\n */\n async getFirstFocusableElement (el) {\n await this.$nextTick();\n const focusableElements = this._getFocusableElements(el, true);\n return this._getFirstFocusElement(focusableElements);\n },\n\n /**\n * set focus to the first focusable element in your component, includes tabindex=\"-1\".\n * @param {object} el - optional - ref of dom element to trap focus on.\n * will default to the root node of the vue component\n */\n async focusFirstElement (el = this.$el) {\n const elToFocus = await this.getFirstFocusableElement(returnFirstEl(el));\n elToFocus?.focus({ preventScroll: true });\n },\n\n async focusElementById (elementId) {\n await this.$nextTick();\n const result = returnFirstEl(this.$el)?.querySelector(elementId);\n if (result) {\n result.focus();\n return;\n }\n\n // eslint-disable-next-line no-console\n console.warn('Could not find the element specified in dt-modal prop \"initialFocusElement\". ' +\n 'Defaulting to focusing the first element.');\n await this.focusFirstElement();\n },\n\n /**\n * internal use only.\n *\n * @param focusableElements - list of focusable elements\n * @returns {*} - first DOM element that is focusable.\n * @private\n */\n _getFirstFocusElement (focusableElements) {\n if (!focusableElements.length) {\n return;\n }\n let firstFocusEl = focusableElements[0];\n // If first element is a checkbox, put focus on the selected checkbox or the first checkbox if none are selected.\n if (firstFocusEl.matches('[type=\"radio\"]:not(:checked)')) {\n firstFocusEl = focusableElements.find(el => el.checked && el.name === firstFocusEl.name) || firstFocusEl;\n }\n return firstFocusEl;\n },\n\n /**\n * internal use only.\n *\n * gets all the focusable elements within the component\n * and sets the first and last of those elements.\n *\n * @param {object} el - the root dom element to find focusable elements in.\n * @param {bool} includeNegativeTabIndex - will include tabindex=\"-1\" in the list of focusable elements.\n */\n _getFocusableElements (el = this.$el, includeNegativeTabIndex = false) {\n el = returnFirstEl(el);\n if (!el) return [];\n const focusableContent = [...el.querySelectorAll(focusableElementsList)];\n return focusableContent.filter((fc) => {\n const style = window.getComputedStyle(fc);\n return style.getPropertyValue('display') !== 'none' &&\n style.getPropertyValue('visibility') !== 'hidden' &&\n fc.matches(includeNegativeTabIndex ? focusableAttrs : tabbableAttrs);\n });\n },\n\n /**\n * tabs to the next element contained within your component, does not include tabindex=\"-1\".\n * @param {object} e - keypress event\n * @param {object} el - optional - ref of dom element to trap focus on.\n * will default to the root node of the vue component\n */\n focusTrappedTabPress (e, el) {\n const isTabPressed = e.key === 'Tab';\n\n if (!isTabPressed) {\n return;\n }\n\n const focusableElements = this._getFocusableElements(el);\n if (!focusableElements.length) {\n e.preventDefault();\n return;\n }\n\n const firstFocusableElement = this._getFirstFocusElement(focusableElements);\n const lastFocusableElement = focusableElements[focusableElements.length - 1];\n\n if (e.shiftKey) {\n if (document.activeElement === firstFocusableElement) {\n lastFocusableElement.focus();\n e.preventDefault();\n }\n } else {\n if (document.activeElement === lastFocusableElement) {\n firstFocusableElement.focus();\n e.preventDefault();\n }\n }\n },\n },\n};\n"],"names":[],"mappings":";AAEA,
|
|
1
|
+
{"version":3,"file":"modal.js","sources":["../../../common/mixins/modal.js"],"sourcesContent":["import { returnFirstEl } from '@/common/utils';\n\nconst focusableAttrs = ':not(:disabled):not([aria-disabled=\"true\"]):not([role=\"presentation\"])';\nconst tabbableAttrs = `${focusableAttrs}:not([tabindex=\"-1\"])`;\nconst focusableElementsList = `button,[href],input,select,textarea,details,[tabindex]`;\n\n/**\n * This mixin provides the methods to automatically trap tab focus within\n * the component this mixin is on, meaning it is not possible to tab out\n * of the component without dismissing it.\n *\n * Useful for accessibility reasons on things like important actionable alerts.\n *\n * Use focusFirstElement to focus on the first tabbable element within your component, and call\n * focusTrappedTabPress every time tab is pressed to trap tab within this\n * component.\n *\n * Note that focusFirstElement WILL focus elements with tabindex=\"-1\",\n * however focusTrappedTabPress will not.\n * @displayName Modal Mixin\n */\nexport default {\n methods: {\n /**\n * get the first focusable element in your component, includes tabindex=\"-1\".\n * @param {object} el - optional - ref of dom element to trap focus on.\n * will default to the root node of the vue component\n */\n async getFirstFocusableElement (el) {\n await this.$nextTick();\n const focusableElements = this._getFocusableElements(el, true);\n return this._getFirstFocusElement(focusableElements);\n },\n\n /**\n * set focus to the first focusable element in your component, includes tabindex=\"-1\".\n * @param {object} el - optional - ref of dom element to trap focus on.\n * will default to the root node of the vue component\n */\n async focusFirstElement (el = this.$el) {\n const elToFocus = await this.getFirstFocusableElement(returnFirstEl(el));\n elToFocus?.focus({ preventScroll: true });\n },\n\n async focusElementById (elementId) {\n await this.$nextTick();\n const result = returnFirstEl(this.$el)?.querySelector(elementId);\n if (result) {\n result.focus();\n return;\n }\n\n // eslint-disable-next-line no-console\n console.warn('Could not find the element specified in dt-modal prop \"initialFocusElement\". ' +\n 'Defaulting to focusing the first element.');\n await this.focusFirstElement();\n },\n\n /**\n * internal use only.\n *\n * @param focusableElements - list of focusable elements\n * @returns {*} - first DOM element that is focusable.\n * @private\n */\n _getFirstFocusElement (focusableElements) {\n if (!focusableElements.length) {\n return;\n }\n let firstFocusEl = focusableElements[0];\n // If first element is a checkbox, put focus on the selected checkbox or the first checkbox if none are selected.\n if (firstFocusEl.matches('[type=\"radio\"]:not(:checked)')) {\n firstFocusEl = focusableElements.find(el => el.checked && el.name === firstFocusEl.name) || firstFocusEl;\n }\n return firstFocusEl;\n },\n\n /**\n * internal use only.\n *\n * gets all the focusable elements within the component\n * and sets the first and last of those elements.\n *\n * @param {object} el - the root dom element to find focusable elements in.\n * @param {bool} includeNegativeTabIndex - will include tabindex=\"-1\" in the list of focusable elements.\n */\n _getFocusableElements (el = this.$el, includeNegativeTabIndex = false) {\n el = returnFirstEl(el);\n if (!el) return [];\n const focusableContent = [...el.querySelectorAll(focusableElementsList)];\n return focusableContent.filter((fc) => {\n const style = window.getComputedStyle(fc);\n return style.getPropertyValue('display') !== 'none' &&\n style.getPropertyValue('visibility') !== 'hidden' &&\n fc.matches(includeNegativeTabIndex ? focusableAttrs : tabbableAttrs);\n });\n },\n\n /**\n * tabs to the next element contained within your component, does not include tabindex=\"-1\".\n * @param {object} e - keypress event\n * @param {object} el - optional - ref of dom element to trap focus on.\n * will default to the root node of the vue component\n */\n focusTrappedTabPress (e, el) {\n const isTabPressed = e.key === 'Tab';\n\n if (!isTabPressed) {\n return;\n }\n\n const focusableElements = this._getFocusableElements(el);\n if (!focusableElements.length) {\n e.preventDefault();\n return;\n }\n\n const firstFocusableElement = this._getFirstFocusElement(focusableElements);\n const lastFocusableElement = focusableElements[focusableElements.length - 1];\n\n if (e.shiftKey) {\n if (document.activeElement === firstFocusableElement) {\n lastFocusableElement.focus();\n e.preventDefault();\n }\n } else {\n if (document.activeElement === lastFocusableElement) {\n firstFocusableElement.focus();\n e.preventDefault();\n }\n }\n },\n },\n};\n"],"names":["focusableAttrs","tabbableAttrs","focusableElementsList","Modal","el","focusableElements","elToFocus","returnFirstEl","elementId","result","_a","firstFocusEl","includeNegativeTabIndex","fc","style","firstFocusableElement","lastFocusableElement"],"mappings":";AAEA,MAAMA,IAAiB,0EACjBC,IAAgB,GAAGD,CAAc,yBACjCE,IAAwB,0DAiBfC,IAAA;AAAA,EACb,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMP,MAAM,yBAA0BC,GAAI;AAClC,YAAM,KAAK;AACX,YAAMC,IAAoB,KAAK,sBAAsBD,GAAI,EAAI;AAC7D,aAAO,KAAK,sBAAsBC,CAAiB;AAAA,IACpD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOD,MAAM,kBAAmBD,IAAK,KAAK,KAAK;AACtC,YAAME,IAAY,MAAM,KAAK,yBAAyBC,EAAcH,CAAE,CAAC;AACvE,MAAAE,KAAA,QAAAA,EAAW,MAAM,EAAE,eAAe,GAAM;AAAA,IACzC;AAAA,IAED,MAAM,iBAAkBE,GAAW;;AACjC,YAAM,KAAK;AACX,YAAMC,KAASC,IAAAH,EAAc,KAAK,GAAG,MAAtB,gBAAAG,EAAyB,cAAcF;AACtD,UAAIC,GAAQ;AACV,QAAAA,EAAO,MAAK;AACZ;AAAA,MACD;AAGD,cAAQ,KAAK,wHACgC,GAC7C,MAAM,KAAK;IACZ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IASD,sBAAuBJ,GAAmB;AACxC,UAAI,CAACA,EAAkB;AACrB;AAEF,UAAIM,IAAeN,EAAkB,CAAC;AAEtC,aAAIM,EAAa,QAAQ,8BAA8B,MACrDA,IAAeN,EAAkB,KAAK,CAAAD,MAAMA,EAAG,WAAWA,EAAG,SAASO,EAAa,IAAI,KAAKA,IAEvFA;AAAA,IACR;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAWD,sBAAuBP,IAAK,KAAK,KAAKQ,IAA0B,IAAO;AAErE,aADAR,IAAKG,EAAcH,CAAE,GAChBA,IACoB,CAAC,GAAGA,EAAG,iBAAiBF,CAAqB,CAAC,EAC/C,OAAO,CAACW,MAAO;AACrC,cAAMC,IAAQ,OAAO,iBAAiBD,CAAE;AACxC,eAAOC,EAAM,iBAAiB,SAAS,MAAM,UAC3CA,EAAM,iBAAiB,YAAY,MAAM,YACzCD,EAAG,QAAQD,IAA0BZ,IAAiBC,CAAa;AAAA,MAC7E,CAAO,IAPe;IAQjB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQD,qBAAsB,GAAGG,GAAI;AAG3B,UAAI,EAFiB,EAAE,QAAQ;AAG7B;AAGF,YAAMC,IAAoB,KAAK,sBAAsBD,CAAE;AACvD,UAAI,CAACC,EAAkB,QAAQ;AAC7B,UAAE,eAAc;AAChB;AAAA,MACD;AAED,YAAMU,IAAwB,KAAK,sBAAsBV,CAAiB,GACpEW,IAAuBX,EAAkBA,EAAkB,SAAS,CAAC;AAE3E,MAAI,EAAE,WACA,SAAS,kBAAkBU,MAC7BC,EAAqB,MAAK,GAC1B,EAAE,eAAc,KAGd,SAAS,kBAAkBA,MAC7BD,EAAsB,MAAK,GAC3B,EAAE,eAAc;AAAA,IAGrB;AAAA,EACF;AACH;"}
|
|
@@ -1,28 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const skeleton_constants = require("../../components/skeleton/skeleton_constants.cjs");
|
|
4
|
-
const SkeletonAnimation = {
|
|
5
|
-
computed: {
|
|
6
|
-
skeletonOffset() {
|
|
7
|
-
const skeletonText = this.$refs.skeleton;
|
|
8
|
-
if (!skeletonText) {
|
|
9
|
-
return this.offset;
|
|
10
|
-
}
|
|
11
|
-
const { top, height } = skeletonText.getBoundingClientRect();
|
|
12
|
-
return top + height / 2;
|
|
13
|
-
},
|
|
14
|
-
skeletonStyle() {
|
|
15
|
-
const style = {};
|
|
16
|
-
if (this.skeletonOffset === -1 || !this.animate && this.animationDuration === -1) {
|
|
17
|
-
return style;
|
|
18
|
-
}
|
|
19
|
-
const animationDelay = this.skeletonOffset * skeleton_constants.SKELETON_RIPPLE_DURATION / 1e3;
|
|
20
|
-
const animationDuration = this.animationDuration === -1 ? 1e3 : this.animationDuration;
|
|
21
|
-
style.animationDelay = `${animationDelay}ms`;
|
|
22
|
-
style.animationDuration = `${animationDuration}ms`;
|
|
23
|
-
return style;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
exports.default = SkeletonAnimation;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("../../lib/skeleton/skeleton-constants.cjs"),o={computed:{skeletonOffset(){const t=this.$refs.skeleton;if(!t)return this.offset;const{top:e,height:n}=t.getBoundingClientRect();return e+n/2},skeletonStyle(){const t={};if(this.skeletonOffset===-1||!this.animate&&this.animationDuration===-1)return t;const e=this.skeletonOffset*i.SKELETON_RIPPLE_DURATION/1e3,n=this.animationDuration===-1?1e3:this.animationDuration;return t.animationDelay=`${e}ms`,t.animationDuration=`${n}ms`,t}}};exports.default=o;
|
|
28
2
|
//# sourceMappingURL=skeleton.cjs.map
|