@onereach/ui-components 4.16.2-beta.3086.0 → 4.17.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/bundled/v2/components/OrAvatar/OrAvatar.js +1 -1
- package/dist/bundled/v2/components/OrAvatar/index.js +1 -1
- package/dist/bundled/v2/components/OrButtonV2/OrButton.js +1 -1
- package/dist/bundled/v2/components/OrButtonV2/index.js +1 -1
- package/dist/bundled/v2/components/OrCardCollection/OrCardCollection.js +1 -1
- package/dist/bundled/v2/components/OrCardCollection/index.js +1 -1
- package/dist/bundled/v2/components/OrCheckbox/OrCheckbox.js +1 -1
- package/dist/bundled/v2/components/OrCheckbox/index.js +1 -1
- package/dist/bundled/v2/components/OrChip/OrChip.js +1 -1
- package/dist/bundled/v2/components/OrChip/index.js +1 -1
- package/dist/bundled/v2/components/OrChips/OrChips.js +1 -1
- package/dist/bundled/v2/components/OrChips/index.js +1 -1
- package/dist/bundled/v2/components/OrCode/OrCode.js +1 -1
- package/dist/bundled/v2/components/OrCode/index.js +1 -1
- package/dist/bundled/v2/components/OrCollapse/OrCollapse.js +1 -1
- package/dist/bundled/v2/components/OrCollapse/index.js +1 -1
- package/dist/bundled/v2/components/OrColorPicker/OrColorPicker.js +1 -1
- package/dist/bundled/v2/components/OrColorPicker/index.js +1 -1
- package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +1 -1
- package/dist/bundled/v2/components/OrConfirm/index.js +1 -1
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +1 -1
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePicker/OrDateTimePicker.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePicker/index.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/OrFloating/OrFloating.js +1 -1
- package/dist/bundled/v2/components/OrFloating/index.js +1 -1
- package/dist/bundled/v2/components/OrIcon/OrIcon.js +1 -1
- package/dist/bundled/v2/components/OrIcon/index.js +1 -1
- package/dist/bundled/v2/components/OrIconButtonV2/OrIconButton.js +1 -1
- package/dist/bundled/v2/components/OrIconButtonV2/index.js +1 -1
- package/dist/bundled/v2/components/OrInlineTextEdit/OrInlineTextEdit.js +1 -1
- package/dist/bundled/v2/components/OrInlineTextEdit/index.js +1 -1
- package/dist/bundled/v2/components/OrInput/OrInput.js +1 -1
- package/dist/bundled/v2/components/OrInput/index.js +1 -1
- package/dist/bundled/v2/components/OrInputV3/OrInput.js +7 -8
- package/dist/bundled/v2/components/OrInputV3/OrInput.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrList/OrList.js +1 -1
- package/dist/bundled/v2/components/OrList/index.js +1 -1
- package/dist/bundled/v2/components/OrListOfInputs/OrListOfInputs.js +1 -1
- package/dist/bundled/v2/components/OrListOfInputs/index.js +1 -1
- package/dist/bundled/v2/components/OrModal/OrModal.js +1 -1
- package/dist/bundled/v2/components/OrModal/index.js +1 -1
- package/dist/bundled/v2/components/OrNotification/OrNotification.js +1 -1
- package/dist/bundled/v2/components/OrNotification/index.js +1 -1
- package/dist/bundled/v2/components/OrNumberInput/OrNumberInput.js +1 -1
- package/dist/bundled/v2/components/OrNumberInput/index.js +1 -1
- package/dist/bundled/v2/components/OrOverflowMenu/OrOverflowMenu.js +1 -1
- package/dist/bundled/v2/components/OrOverflowMenu/index.js +1 -1
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.js +8 -9
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.vue.d.ts +4 -4
- package/dist/bundled/v2/components/OrPassword/OrPassword.js +1 -1
- package/dist/bundled/v2/components/OrPassword/index.js +1 -1
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +6 -7
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.vue.d.ts +4 -4
- package/dist/bundled/v2/components/OrProgressV3/OrProgress.js +3 -4
- package/dist/bundled/v2/components/OrSearch/OrSearch.js +1 -1
- package/dist/bundled/v2/components/OrSearch/index.js +1 -1
- package/dist/bundled/v2/components/OrSelect/OrSelect.js +1 -1
- package/dist/bundled/v2/components/OrSelect/index.js +1 -1
- package/dist/bundled/v2/components/OrSlider/OrSlider.js +1 -1
- package/dist/bundled/v2/components/OrSlider/index.js +1 -1
- package/dist/bundled/v2/components/OrStepper/OrStepper.js +1 -1
- package/dist/bundled/v2/components/OrStepper/index.js +1 -1
- package/dist/bundled/v2/components/OrTag/OrTag.js +1 -1
- package/dist/bundled/v2/components/OrTag/index.js +1 -1
- package/dist/bundled/v2/components/OrTextarea/OrTextarea.js +1 -1
- package/dist/bundled/v2/components/OrTextarea/index.js +1 -1
- package/dist/bundled/v2/components/OrTextbox/OrTextbox.js +1 -1
- package/dist/bundled/v2/components/OrTextbox/index.js +1 -1
- package/dist/bundled/v2/components/OrToast/OrToast.js +1 -1
- package/dist/bundled/v2/components/OrToast/index.js +1 -1
- package/dist/bundled/v2/components/OrToastContainer/OrToastContainer.js +1 -1
- package/dist/bundled/v2/components/OrToastContainer/index.js +1 -1
- package/dist/bundled/v2/components/OrTooltip/OrTooltip.js +1 -1
- package/dist/bundled/v2/components/OrTooltip/index.js +1 -1
- package/dist/bundled/v2/components/index.js +2 -2
- package/dist/bundled/v2/{dom-571739a2.js → dom-59ac8636.js} +1 -1
- package/dist/bundled/v2/hooks/useResponsive/useResponsive.d.ts +3 -4
- package/dist/bundled/v2/hooks/useResponsive/useResponsive.js +6 -25
- package/dist/bundled/v2/hooks/useTheme.js +12 -38
- package/dist/bundled/v2/index.d.ts +1 -2
- package/dist/bundled/v2/index.js +16 -14
- package/dist/bundled/v2/utils/functions/dom.js +1 -1
- package/dist/bundled/v2/utils/index.d.ts +13 -0
- package/dist/bundled/v2/utils/index.js +16 -0
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-552fce16.js → OrAvatar.vue_vue_type_script_lang-b0f87dcb.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-5b8437d7.js → OrButton.vue_vue_type_script_lang-7b987ea8.js} +1 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-eb86b548.js → OrCardCollection.vue_vue_type_script_lang-8e3994b3.js} +3 -3
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-b99d79b6.js → OrCardCollection.vue_vue_type_script_lang-b6569f84.js} +3 -3
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-dedfe767.js → OrCheckbox.vue_vue_type_script_lang-4ace6532.js} +1 -1
- package/dist/bundled/v3/{OrChip.vue_vue_type_script_lang-d0c62419.js → OrChip.vue_vue_type_script_lang-dff95c69.js} +1 -1
- package/dist/bundled/v3/{OrChips.vue_vue_type_script_lang-d7a38038.js → OrChips.vue_vue_type_script_lang-87ec7b86.js} +1 -1
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-7fd4bd55.js → OrCode.vue_vue_type_script_lang-316f39e6.js} +2 -2
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-f3f122bf.js → OrCode.vue_vue_type_script_lang-41c3b8e3.js} +2 -2
- package/dist/bundled/v3/{OrCollapse.vue_vue_type_script_lang-e2dcce92.js → OrCollapse.vue_vue_type_script_lang-ff19651e.js} +1 -1
- package/dist/bundled/v3/{OrColorPicker.vue_vue_type_script_lang-7c9b353d.js → OrColorPicker.vue_vue_type_script_lang-c54a93bb.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-836e2a0f.js → OrConfirm.vue_vue_type_script_lang-09de9e6f.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-026097e2.js → OrConfirm.vue_vue_type_script_lang-2bcf9fd1.js} +1 -1
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-b8eaef61.js → OrDatePicker.vue_vue_type_script_lang-fbd95665.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-b7857a99.js → OrDateTimePicker.vue_vue_type_script_lang-4ab13138.js} +4 -4
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-4ad6b2f4.js → OrDateTimePicker.vue_vue_type_script_lang-7dbc5de3.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-d707e507.js → OrDateTimePickerMonthSelect-95e33ca0.js} +2 -2
- package/dist/bundled/v3/{OrFloating.vue_vue_type_script_lang-d762f4b0.js → OrFloating.vue_vue_type_script_lang-c794419a.js} +1 -1
- package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-b77bb268.js → OrIcon.vue_vue_type_script_lang-a705992d.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-e078ed4c.js → OrIconButton.vue_vue_type_script_lang-156ebd5c.js} +2 -2
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-64e3376f.js → OrIconButton.vue_vue_type_script_lang-590899a3.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-77104956.js → OrInlineInput.vue_vue_type_script_lang-c05c08e4.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextEdit.vue_vue_type_script_lang-58bc1a00.js → OrInlineTextEdit.vue_vue_type_script_lang-1d5b659d.js} +3 -3
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-8cb0a8c3.js → OrInlineTextarea.vue_vue_type_script_lang-849178e7.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-2356f69c.js → OrInput.vue_vue_type_script_lang-04e7774f.js} +6 -7
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-1be980cf.js → OrInput.vue_vue_type_script_lang-4f4792c2.js} +2 -2
- package/dist/bundled/v3/{OrList.vue_vue_type_script_lang-c6f46a0e.js → OrList.vue_vue_type_script_lang-7e85cdb9.js} +4 -4
- package/dist/bundled/v3/{OrListOfInputs.vue_vue_type_script_lang-04af76e1.js → OrListOfInputs.vue_vue_type_script_lang-592a5f92.js} +4 -4
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-c9532136.js → OrMenu.vue_vue_type_script_lang-5e1d4d75.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-54734ef0.js → OrModal.vue_vue_type_script_lang-88fa589e.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-32c395a3.js → OrModal.vue_vue_type_script_lang-cd3867cf.js} +1 -1
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-69e2aaf6.js → OrNotification.vue_vue_type_script_lang-53e82265.js} +1 -1
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-86084f5e.js → OrNotification.vue_vue_type_script_lang-95906f61.js} +2 -2
- package/dist/bundled/v3/{OrNumberInput.vue_vue_type_script_lang-9d6763fa.js → OrNumberInput.vue_vue_type_script_lang-a4a77c3d.js} +1 -1
- package/dist/bundled/v3/{OrOverflowMenu.vue_vue_type_script_lang-e077c7fd.js → OrOverflowMenu.vue_vue_type_script_lang-92b1192f.js} +3 -3
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-5bbb566f.js → OrPagination.vue_vue_type_script_lang-a4a67a47.js} +9 -10
- package/dist/bundled/v3/{OrPassword.vue_vue_type_script_lang-0a87f331.js → OrPassword.vue_vue_type_script_lang-a1e95694.js} +2 -2
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-4633e823.js → OrPopover.vue_vue_type_script_lang-24f2bc49.js} +6 -7
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-39c7266c.js → OrProgress.vue_vue_type_script_lang-2d5ead47.js} +3 -4
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-f8c3f4d0.js → OrSearch.vue_vue_type_script_lang-a9d66616.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-933e71b8.js → OrSearch.vue_vue_type_script_lang-f7431083.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-b8b014f6.js → OrSelect.vue_vue_type_script_lang-1d7d513d.js} +4 -4
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-f174fd6b.js → OrSelect.vue_vue_type_script_lang-29577967.js} +4 -4
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-5a3cc6d4.js → OrSidebar.vue_vue_type_script_lang-c5ba93ca.js} +1 -1
- package/dist/bundled/v3/{OrSlider.vue_vue_type_script_lang-9ae4141f.js → OrSlider.vue_vue_type_script_lang-2623e261.js} +2 -2
- package/dist/bundled/v3/{OrSorting.vue_vue_type_script_lang-ea731877.js → OrSorting.vue_vue_type_script_lang-bacfeefa.js} +1 -1
- package/dist/bundled/v3/{OrStepper.vue_vue_type_script_lang-999e65f6.js → OrStepper.vue_vue_type_script_lang-2c9156ce.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-ad76bca3.js → OrTabs.vue_vue_type_script_lang-c2191c3d.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-1b294115.js → OrTag.vue_vue_type_script_lang-631bc867.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-42a69c16.js → OrTag.vue_vue_type_script_lang-c0542bcb.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-0fced9e9.js → OrTagInput.vue_vue_type_script_lang-ee7c83eb.js} +2 -2
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-390b7425.js → OrTags.vue_vue_type_script_lang-22fcc56b.js} +2 -2
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-af7cab22.js → OrTextarea.vue_vue_type_script_lang-a367f7df.js} +2 -2
- package/dist/bundled/v3/{OrTextbox.vue_vue_type_script_lang-80e42d58.js → OrTextbox.vue_vue_type_script_lang-b1385d8a.js} +3 -3
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-7fd70599.js → OrTimePicker.vue_vue_type_script_lang-7be29cfc.js} +2 -2
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-e49bd3df.js → OrTooltip.vue_vue_type_script_lang-0b90a2ea.js} +1 -1
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-3bf79d56.js → OrTooltip.vue_vue_type_script_lang-e7452e43.js} +1 -1
- package/dist/bundled/v3/components/OrAvatar/OrAvatar.js +5 -5
- package/dist/bundled/v3/components/OrAvatar/index.js +4 -4
- package/dist/bundled/v3/components/OrButtonV2/OrButton.js +5 -5
- package/dist/bundled/v3/components/OrButtonV2/index.js +6 -6
- package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.js +10 -10
- package/dist/bundled/v3/components/OrCardCollection/index.js +9 -9
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +9 -9
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +8 -8
- package/dist/bundled/v3/components/OrCheckbox/OrCheckbox.js +5 -5
- package/dist/bundled/v3/components/OrCheckbox/index.js +4 -4
- package/dist/bundled/v3/components/OrChip/OrChip.js +5 -5
- package/dist/bundled/v3/components/OrChip/index.js +4 -4
- package/dist/bundled/v3/components/OrChips/OrChips.js +6 -6
- package/dist/bundled/v3/components/OrChips/index.js +5 -5
- package/dist/bundled/v3/components/OrCode/OrCode.js +8 -8
- package/dist/bundled/v3/components/OrCode/index.js +7 -7
- package/dist/bundled/v3/components/OrCodeV3/OrCode.js +6 -6
- package/dist/bundled/v3/components/OrCodeV3/index.js +5 -5
- package/dist/bundled/v3/components/OrCollapse/OrCollapse.js +3 -3
- package/dist/bundled/v3/components/OrCollapse/index.js +2 -2
- package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.js +4 -4
- package/dist/bundled/v3/components/OrColorPicker/index.js +3 -3
- package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +11 -11
- package/dist/bundled/v3/components/OrConfirm/index.js +10 -10
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +6 -6
- package/dist/bundled/v3/components/OrConfirmV3/index.js +5 -5
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +7 -7
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +6 -6
- package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.js +8 -8
- package/dist/bundled/v3/components/OrDateTimePicker/index.js +7 -7
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +7 -7
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +6 -6
- package/dist/bundled/v3/components/OrFloating/OrFloating.js +3 -3
- package/dist/bundled/v3/components/OrFloating/index.js +2 -2
- package/dist/bundled/v3/components/OrIcon/OrIcon.js +4 -4
- package/dist/bundled/v3/components/OrIcon/index.js +3 -3
- package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.js +6 -6
- package/dist/bundled/v3/components/OrIconButtonV2/index.js +5 -5
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +4 -4
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +3 -3
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +5 -5
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +4 -4
- package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.js +8 -8
- package/dist/bundled/v3/components/OrInlineTextEdit/index.js +7 -7
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +5 -5
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +4 -4
- package/dist/bundled/v3/components/OrInput/OrInput.js +4 -4
- package/dist/bundled/v3/components/OrInput/index.js +3 -3
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +5 -5
- package/dist/bundled/v3/components/OrInputV3/OrInput.vue.d.ts +1 -1
- package/dist/bundled/v3/components/OrInputV3/index.js +4 -4
- package/dist/bundled/v3/components/OrList/OrList.js +8 -8
- package/dist/bundled/v3/components/OrList/index.js +7 -7
- package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.js +11 -11
- package/dist/bundled/v3/components/OrListOfInputs/index.js +10 -10
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +3 -3
- package/dist/bundled/v3/components/OrMenuV3/index.js +2 -2
- package/dist/bundled/v3/components/OrModal/OrModal.js +7 -7
- package/dist/bundled/v3/components/OrModal/index.js +6 -6
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +5 -5
- package/dist/bundled/v3/components/OrModalV3/index.js +4 -4
- package/dist/bundled/v3/components/OrNotification/OrNotification.js +7 -7
- package/dist/bundled/v3/components/OrNotification/index.js +6 -6
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +5 -5
- package/dist/bundled/v3/components/OrNotificationV3/index.js +4 -4
- package/dist/bundled/v3/components/OrNumberInput/OrNumberInput.js +5 -5
- package/dist/bundled/v3/components/OrNumberInput/index.js +4 -4
- package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.js +8 -8
- package/dist/bundled/v3/components/OrOverflowMenu/index.js +7 -7
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +4 -4
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.vue.d.ts +2 -2
- package/dist/bundled/v3/components/OrPaginationV3/index.js +3 -3
- package/dist/bundled/v3/components/OrPassword/OrPassword.js +9 -9
- package/dist/bundled/v3/components/OrPassword/index.js +8 -8
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +2 -2
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.vue.d.ts +2 -2
- package/dist/bundled/v3/components/OrPopoverV3/index.js +1 -1
- package/dist/bundled/v3/components/OrProgressV3/OrProgress.js +2 -2
- package/dist/bundled/v3/components/OrProgressV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSearch/OrSearch.js +9 -9
- package/dist/bundled/v3/components/OrSearch/index.js +8 -8
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +6 -6
- package/dist/bundled/v3/components/OrSearchV3/index.js +5 -5
- package/dist/bundled/v3/components/OrSelect/OrSelect.js +7 -7
- package/dist/bundled/v3/components/OrSelect/index.js +6 -6
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +7 -7
- package/dist/bundled/v3/components/OrSelectV3/index.js +6 -6
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +5 -5
- package/dist/bundled/v3/components/OrSidebarV3/index.js +4 -4
- package/dist/bundled/v3/components/OrSlider/OrSlider.js +5 -5
- package/dist/bundled/v3/components/OrSlider/index.js +4 -4
- package/dist/bundled/v3/components/OrSortingV3/OrSorting.js +4 -4
- package/dist/bundled/v3/components/OrSortingV3/index.js +3 -3
- package/dist/bundled/v3/components/OrStepper/OrStepper.js +6 -6
- package/dist/bundled/v3/components/OrStepper/index.js +5 -5
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +4 -4
- package/dist/bundled/v3/components/OrTabsV3/index.js +3 -3
- package/dist/bundled/v3/components/OrTag/OrTag.js +5 -5
- package/dist/bundled/v3/components/OrTag/index.js +4 -4
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +7 -7
- package/dist/bundled/v3/components/OrTagInputV3/index.js +6 -6
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +5 -5
- package/dist/bundled/v3/components/OrTagV3/index.js +4 -4
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +6 -6
- package/dist/bundled/v3/components/OrTagsV3/index.js +5 -5
- package/dist/bundled/v3/components/OrTextarea/OrTextarea.js +4 -4
- package/dist/bundled/v3/components/OrTextarea/index.js +3 -3
- package/dist/bundled/v3/components/OrTextbox/OrTextbox.js +8 -8
- package/dist/bundled/v3/components/OrTextbox/index.js +7 -7
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +5 -5
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +4 -4
- package/dist/bundled/v3/components/OrToast/OrToast.js +5 -5
- package/dist/bundled/v3/components/OrToast/index.js +6 -6
- package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.js +7 -7
- package/dist/bundled/v3/components/OrToastContainer/index.js +6 -6
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +5 -5
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +4 -4
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +3 -3
- package/dist/bundled/v3/components/OrToastV3/index.js +4 -4
- package/dist/bundled/v3/components/OrTooltip/OrTooltip.js +4 -4
- package/dist/bundled/v3/components/OrTooltip/index.js +3 -3
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +3 -3
- package/dist/bundled/v3/components/OrTooltipV3/index.js +2 -2
- package/dist/bundled/v3/components/index.js +60 -60
- package/dist/bundled/v3/{dom-571739a2.js → dom-59ac8636.js} +1 -1
- package/dist/bundled/v3/hooks/useResponsive/useResponsive.d.ts +3 -4
- package/dist/bundled/v3/hooks/useResponsive/useResponsive.js +6 -25
- package/dist/bundled/v3/hooks/useTheme.js +12 -38
- package/dist/bundled/v3/index.d.ts +1 -2
- package/dist/bundled/v3/index.js +74 -72
- package/dist/bundled/v3/utils/functions/dom.js +1 -1
- package/dist/bundled/v3/utils/index.d.ts +13 -0
- package/dist/bundled/v3/utils/index.js +16 -0
- package/dist/esm/v2/{OrAvatar-2b00cd61.js → OrAvatar-2d73ca2c.js} +1 -1
- package/dist/esm/v2/{OrAvatar-3df48865.js → OrAvatar-d1c82ab9.js} +1 -1
- package/dist/esm/v2/{OrButton-bafb6cad.js → OrButton-dc23a0b5.js} +1 -1
- package/dist/esm/v2/{OrButton-b60290c4.js → OrButton-f189b59b.js} +1 -1
- package/dist/esm/v2/{OrButton.vue_rollup-plugin-vue_styles.0-3b064042.js → OrButton.vue_rollup-plugin-vue_styles.0-6f0a9dd4.js} +3 -3
- package/dist/esm/v2/{OrCardCollection-4eb5c533.js → OrCardCollection-bea023f8.js} +5 -5
- package/dist/esm/v2/{OrCardCollection-2812714c.js → OrCardCollection-ed87aa1c.js} +3 -3
- package/dist/esm/v2/{OrCheckbox-9e76cdaf.js → OrCheckbox-db66b4ea.js} +2 -5
- package/dist/esm/v2/{OrCheckbox-91788c22.js → OrCheckbox-fcd6b64c.js} +1 -1
- package/dist/esm/v2/{OrCheckboxGroup-a190249b.js → OrCheckboxGroup-eda833b1.js} +1 -1
- package/dist/esm/v2/{OrCheckboxTree-a09100a7.js → OrCheckboxTree-231ba2b1.js} +2 -2
- package/dist/esm/v2/{OrChip-a614bbb9.js → OrChip-6cae6dab.js} +1 -1
- package/dist/esm/v2/{OrChips-bdf51639.js → OrChips-dd82c2b6.js} +1 -1
- package/dist/esm/v2/{OrChips.vue_rollup-plugin-vue_styles.0-af9f8d87.js → OrChips.vue_rollup-plugin-vue_styles.0-fc390185.js} +1 -1
- package/dist/esm/v2/{OrCode-48bc4a11.js → OrCode-1f55e2bf.js} +2 -2
- package/dist/esm/v2/{OrCode-cbd05828.js → OrCode-34234c09.js} +4 -4
- package/dist/esm/v2/{OrCollapse-9b5d590f.js → OrCollapse-9d22b072.js} +1 -1
- package/dist/esm/v2/{OrColorPicker-5370585d.js → OrColorPicker-7a4f2fcb.js} +1 -1
- package/dist/esm/v2/{OrConfirm-f4eec5b2.js → OrConfirm-807585ea.js} +4 -4
- package/dist/esm/v2/{OrConfirm-b4d1fbfb.js → OrConfirm-ac1c3938.js} +1 -1
- package/dist/esm/v2/{OrDatePicker-1c3b02b0.js → OrDatePicker-566f983c.js} +3 -3
- package/dist/esm/v2/{OrDateTimePicker-44952c3b.js → OrDateTimePicker-2acbba82.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker-fb410167.js → OrDateTimePicker-7f4ecc89.js} +6 -6
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-8df798df.js → OrDateTimePicker.vue_rollup-plugin-vue_script-42274298.js} +3 -3
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-2c99c0f9.js → OrDateTimePickerPopoverHeader-cbc0db61.js} +3 -3
- package/dist/esm/v2/{OrFloating-e7ac7618.js → OrFloating-b41017c7.js} +1 -1
- package/dist/esm/v2/{OrIcon-fa826b6b.js → OrIcon-d26e8a1e.js} +2 -2
- package/dist/esm/v2/{OrIconButton-544ee642.js → OrIconButton-257b38f2.js} +1 -1
- package/dist/esm/v2/{OrIconButton-de8ae81d.js → OrIconButton-c7400430.js} +2 -2
- package/dist/esm/v2/{OrIconButton.vue_rollup-plugin-vue_styles.0-70039ca7.js → OrIconButton.vue_rollup-plugin-vue_styles.0-91855f16.js} +4 -4
- package/dist/esm/v2/{OrInlineInput-cf199b75.js → OrInlineInput-76e293b3.js} +1 -1
- package/dist/esm/v2/{OrInlineTextEdit-f52267aa.js → OrInlineTextEdit-2ec8a8b4.js} +5 -5
- package/dist/esm/v2/{OrInlineTextarea-1cf8c69d.js → OrInlineTextarea-25779658.js} +1 -1
- package/dist/esm/v2/{OrInput-46919978.js → OrInput-41603455.js} +9 -10
- package/dist/esm/v2/{OrInput-014d2e47.js → OrInput-7a12709e.js} +2 -2
- package/dist/esm/v2/{OrList-2e65227a.js → OrList-f98a05a4.js} +4 -4
- package/dist/esm/v2/{OrListOfInputs-9b7522fa.js → OrListOfInputs-1eaeb7e9.js} +6 -6
- package/dist/esm/v2/{OrLoader-0cc7c73e.js → OrLoader-90406201.js} +2 -5
- package/dist/esm/v2/{OrMenu-27fb918a.js → OrMenu-df584a8c.js} +1 -1
- package/dist/esm/v2/{OrModal-b94a7c06.js → OrModal-773fe75c.js} +1 -1
- package/dist/esm/v2/{OrModal-206611f2.js → OrModal-d300f52f.js} +3 -3
- package/dist/esm/v2/{OrNotification-662b3021.js → OrNotification-a279c8a6.js} +1 -1
- package/dist/esm/v2/{OrNotification-44bc1f50.js → OrNotification-defc3f87.js} +4 -4
- package/dist/esm/v2/{OrNumberInput-fcbcf229.js → OrNumberInput-7f0d6f74.js} +1 -1
- package/dist/esm/v2/{OrOverflowMenu-e3ae75a3.js → OrOverflowMenu-6f60e864.js} +5 -5
- package/dist/esm/v2/{OrPagination-0ca32841.js → OrPagination-a5db10f7.js} +10 -11
- package/dist/esm/v2/{OrPassword-681f8c53.js → OrPassword-ab2acc85.js} +4 -4
- package/dist/esm/v2/{OrPopover-68e5429c.js → OrPopover-018274a5.js} +7 -8
- package/dist/esm/v2/{OrProgress-4addb39d.js → OrProgress-e079e857.js} +4 -5
- package/dist/esm/v2/{OrSearch-e2941d35.js → OrSearch-ac542dd6.js} +4 -4
- package/dist/esm/v2/{OrSearch-100d091c.js → OrSearch-d5b51596.js} +1 -1
- package/dist/esm/v2/{OrSelect-a6f09410.js → OrSelect-46809ad0.js} +6 -5
- package/dist/esm/v2/{OrSelect-49239b74.js → OrSelect-c0d04cf6.js} +7 -6
- package/dist/esm/v2/{OrSidebar-41c744b1.js → OrSidebar-90ba92ed.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-39d92879.js → OrSidebarCollapseButton-1d4a5907.js} +1 -1
- package/dist/esm/v2/{OrSlider-529730ed.js → OrSlider-c913a2b6.js} +2 -2
- package/dist/esm/v2/{OrSorting-10b0384b.js → OrSorting-3ce7e017.js} +2 -2
- package/dist/esm/v2/{OrStepper-3707ec50.js → OrStepper-8dc4059a.js} +2 -2
- package/dist/esm/v2/{OrSwitch-75458852.js → OrSwitch-322328f7.js} +1 -1
- package/dist/esm/v2/{OrTabs-54c3b409.js → OrTabs-45e6ad4d.js} +2 -2
- package/dist/esm/v2/{OrTag-292bd115.js → OrTag-47b9111c.js} +1 -1
- package/dist/esm/v2/{OrTag-54778d09.js → OrTag-b5803a20.js} +2 -2
- package/dist/esm/v2/{OrTagInput-a01d6db5.js → OrTagInput-d9ea325e.js} +2 -2
- package/dist/esm/v2/{OrTags-534ad001.js → OrTags-6bf4fb3a.js} +2 -2
- package/dist/esm/v2/{OrTextarea-d36f4ec6.js → OrTextarea-9febab19.js} +2 -2
- package/dist/esm/v2/{OrTextbox-a937432f.js → OrTextbox-cb15a62f.js} +5 -5
- package/dist/esm/v2/{OrTimePicker-70beffc3.js → OrTimePicker-658ac979.js} +4 -4
- package/dist/esm/v2/{OrToastContainer-7017d12b.js → OrToastContainer-d1a7b839.js} +3 -3
- package/dist/esm/v2/{OrTooltip-0bbf1ed5.js → OrTooltip-2f267924.js} +1 -1
- package/dist/esm/v2/{OrTooltip-822a29f0.js → OrTooltip-4c6e799d.js} +1 -1
- package/dist/esm/v2/{OrTooltip.vue_rollup-plugin-vue_styles.0-47985d95.js → OrTooltip.vue_rollup-plugin-vue_styles.0-0aca0c11.js} +1 -1
- package/dist/esm/v2/color-6b0fc765.js +106 -0
- package/dist/esm/v2/components/index.js +77 -75
- package/dist/esm/v2/components/or-avatar/index.js +5 -5
- package/dist/esm/v2/components/or-avatar-v3/index.js +2 -2
- package/dist/esm/v2/components/or-button/index.js +3 -2
- package/dist/esm/v2/components/or-button-v2/index.js +11 -10
- package/dist/esm/v2/components/or-card-collection/index.js +14 -13
- package/dist/esm/v2/components/or-card-collection-v3/index.js +9 -9
- package/dist/esm/v2/components/or-checkbox/index.js +5 -5
- package/dist/esm/v2/components/or-checkbox-group-v3/index.js +4 -3
- package/dist/esm/v2/components/or-checkbox-tree-v3/index.js +3 -2
- package/dist/esm/v2/components/or-checkbox-v3/index.js +2 -1
- package/dist/esm/v2/components/or-chips/index.js +7 -7
- package/dist/esm/v2/components/or-chips/or-chip/index.js +5 -5
- package/dist/esm/v2/components/or-code/index.js +12 -11
- package/dist/esm/v2/components/or-code-v3/index.js +6 -6
- package/dist/esm/v2/components/or-collapse/index.js +2 -2
- package/dist/esm/v2/components/or-color-picker/index.js +3 -3
- package/dist/esm/v2/components/or-confirm/index.js +15 -14
- package/dist/esm/v2/components/or-confirm-v3/index.js +6 -6
- package/dist/esm/v2/components/or-date-picker-v3/index.js +7 -7
- package/dist/esm/v2/components/or-date-time-picker/index.js +12 -11
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +8 -8
- package/dist/esm/v2/components/or-floating/index.js +2 -2
- package/dist/esm/v2/components/or-icon/index.js +4 -4
- package/dist/esm/v2/components/or-icon-button-v2/index.js +9 -8
- package/dist/esm/v2/components/or-icon-button-v3/index.js +4 -4
- package/dist/esm/v2/components/or-inline-input-v3/index.js +5 -5
- package/dist/esm/v2/components/or-inline-text-edit/index.js +12 -11
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +5 -5
- package/dist/esm/v2/components/or-input/index.js +3 -3
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-input-v3/index.js +5 -5
- package/dist/esm/v2/components/or-list/index.js +12 -11
- package/dist/esm/v2/components/or-list-of-inputs/index.js +15 -14
- package/dist/esm/v2/components/or-loader/index.js +2 -1
- package/dist/esm/v2/components/or-menu-v3/index.js +3 -3
- package/dist/esm/v2/components/or-modal/index.js +11 -10
- package/dist/esm/v2/components/or-modal-v3/index.js +5 -5
- package/dist/esm/v2/components/or-notification/index.js +11 -10
- package/dist/esm/v2/components/or-notification-v3/index.js +5 -5
- package/dist/esm/v2/components/or-number-input/index.js +4 -4
- package/dist/esm/v2/components/or-overflow-menu/index.js +12 -11
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +4 -4
- package/dist/esm/v2/components/or-pagination-v3/index.js +4 -4
- package/dist/esm/v2/components/or-password/index.js +13 -12
- package/dist/esm/v2/components/or-popover-v3/OrPopover.vue.d.ts +4 -4
- package/dist/esm/v2/components/or-popover-v3/index.js +2 -2
- package/dist/esm/v2/components/or-progress-v3/index.js +2 -2
- package/dist/esm/v2/components/or-search/index.js +13 -12
- package/dist/esm/v2/components/or-search-v3/index.js +6 -6
- package/dist/esm/v2/components/or-select/index.js +12 -11
- package/dist/esm/v2/components/or-select-v3/index.js +9 -8
- package/dist/esm/v2/components/or-sidebar-v3/index.js +6 -6
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +5 -5
- package/dist/esm/v2/components/or-slider/index.js +5 -5
- package/dist/esm/v2/components/or-sorting-v3/index.js +4 -4
- package/dist/esm/v2/components/or-stepper/index.js +11 -10
- package/dist/esm/v2/components/or-switch/index.js +3 -2
- package/dist/esm/v2/components/or-tabs-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tag/index.js +6 -6
- package/dist/esm/v2/components/or-tag-input-v3/index.js +7 -7
- package/dist/esm/v2/components/or-tag-v3/index.js +5 -5
- package/dist/esm/v2/components/or-tags-v3/index.js +6 -6
- package/dist/esm/v2/components/or-textarea/index.js +3 -3
- package/dist/esm/v2/components/or-textbox/index.js +12 -11
- package/dist/esm/v2/components/or-time-picker-v3/index.js +8 -8
- package/dist/esm/v2/components/or-toast/index.js +11 -10
- package/dist/esm/v2/components/or-toast/or-toast-container/index.js +11 -10
- package/dist/esm/v2/components/or-toast-v3/index.js +5 -5
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +5 -5
- package/dist/esm/v2/components/or-tooltip/index.js +4 -4
- package/dist/esm/v2/components/or-tooltip-v3/index.js +3 -3
- package/dist/esm/v2/dom-aecadd9a.js +168 -0
- package/dist/esm/v2/hooks/index.js +1 -1
- package/dist/esm/v2/hooks/useResponsive/index.js +1 -1
- package/dist/esm/v2/hooks/useResponsive/useResponsive.d.ts +3 -4
- package/dist/esm/v2/index.d.ts +1 -2
- package/dist/esm/v2/index.js +81 -86
- package/dist/esm/v2/isEmpty-52fa842a.js +5 -0
- package/dist/esm/v2/isEmptyValue-fd56a6e4.js +5 -0
- package/dist/esm/v2/text-7e939ab3.js +33 -0
- package/dist/esm/v2/{types-a73cd8a5.js → types-1dea2823.js} +1 -1
- package/dist/esm/v2/useResponsive-a02e95b7.js +13 -0
- package/dist/esm/v2/utils/index.d.ts +13 -0
- package/dist/esm/v2/utils/index.js +8 -0
- package/dist/esm/v3/{OrAvatar-3ccb5f60.js → OrAvatar-07fe6686.js} +1 -1
- package/dist/esm/v3/{OrAvatar-6e998746.js → OrAvatar-c1b2339e.js} +1 -1
- package/dist/esm/v3/{OrButton-78a118d7.js → OrButton-130ad8d9.js} +3 -3
- package/dist/esm/v3/{OrButton-0082a3ce.js → OrButton-9118c20e.js} +1 -1
- package/dist/esm/v3/{OrCardCollection-375d22c0.js → OrCardCollection-6352565a.js} +3 -3
- package/dist/esm/v3/{OrCardCollection-b9218f98.js → OrCardCollection-8c81a2d5.js} +4 -4
- package/dist/esm/v3/{OrCheckbox-494a8d9e.js → OrCheckbox-09f62aab.js} +2 -5
- package/dist/esm/v3/{OrCheckbox-72ae9748.js → OrCheckbox-5666c954.js} +1 -1
- package/dist/esm/v3/{OrCheckboxGroup-92f6ef31.js → OrCheckboxGroup-e0afc5c3.js} +1 -1
- package/dist/esm/v3/{OrCheckboxTree-51bd4e21.js → OrCheckboxTree-76f1b7ed.js} +2 -2
- package/dist/esm/v3/{OrChip-857982e0.js → OrChip-74e27265.js} +1 -1
- package/dist/esm/v3/{OrChips-053f3a92.js → OrChips-348b13e4.js} +1 -1
- package/dist/esm/v3/{OrCode-491e282a.js → OrCode-01a2a0fe.js} +2 -2
- package/dist/esm/v3/{OrCode-2f8cdf96.js → OrCode-0aadc737.js} +3 -3
- package/dist/esm/v3/{OrCollapse-a06f22aa.js → OrCollapse-d7c0afae.js} +1 -1
- package/dist/esm/v3/{OrColorPicker-475c0be4.js → OrColorPicker-252f482b.js} +1 -1
- package/dist/esm/v3/{OrConfirm-5f955181.js → OrConfirm-646b9ec3.js} +1 -1
- package/dist/esm/v3/{OrConfirm-704f817e.js → OrConfirm-97ab80b9.js} +4 -4
- package/dist/esm/v3/{OrDatePicker-646c06c3.js → OrDatePicker-6349f608.js} +3 -3
- package/dist/esm/v3/{OrDateTimePicker-c19dcefc.js → OrDateTimePicker-4bfefbcd.js} +5 -5
- package/dist/esm/v3/{OrDateTimePicker-09b297bd.js → OrDateTimePicker-d843ed5f.js} +3 -3
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-7a4d0e9c.js → OrDateTimePickerPopoverHeader-3c26fc72.js} +3 -3
- package/dist/esm/v3/{OrFloating-1a9ccfe9.js → OrFloating-052ede5f.js} +1 -1
- package/dist/esm/v3/{OrIcon-d8ea7901.js → OrIcon-f7130a5c.js} +2 -2
- package/dist/esm/v3/{OrIconButton-ad0cbc8d.js → OrIconButton-287bb86a.js} +4 -4
- package/dist/esm/v3/{OrIconButton-ec4123df.js → OrIconButton-81bade23.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-a0361cae.js → OrInlineInput-42f6e95a.js} +1 -1
- package/dist/esm/v3/{OrInlineTextEdit-6bf54bd0.js → OrInlineTextEdit-a3c4c7dc.js} +4 -4
- package/dist/esm/v3/{OrInlineTextarea-11744eab.js → OrInlineTextarea-651c67e6.js} +1 -1
- package/dist/esm/v3/{OrInput-9be9a209.js → OrInput-2c3111c2.js} +2 -2
- package/dist/esm/v3/{OrInput-db67d100.js → OrInput-eb04fa3a.js} +7 -8
- package/dist/esm/v3/{OrList-042d8681.js → OrList-aa7b5ef9.js} +3 -3
- package/dist/esm/v3/{OrListOfInputs-ce0d6ac0.js → OrListOfInputs-f8740785.js} +5 -5
- package/dist/esm/v3/{OrLoader-7b006619.js → OrLoader-d28a8ebf.js} +2 -5
- package/dist/esm/v3/{OrMenu-1447444f.js → OrMenu-eff42b15.js} +1 -1
- package/dist/esm/v3/{OrModal-f3a4813a.js → OrModal-b2060770.js} +2 -2
- package/dist/esm/v3/{OrModal-6e813215.js → OrModal-d2038c15.js} +1 -1
- package/dist/esm/v3/{OrNotification-538f8e92.js → OrNotification-1b28dd4a.js} +3 -3
- package/dist/esm/v3/{OrNotification-9d7f4ad3.js → OrNotification-ec688496.js} +1 -1
- package/dist/esm/v3/{OrNumberInput-249caf96.js → OrNumberInput-e9dcdcbd.js} +1 -1
- package/dist/esm/v3/{OrOverflowMenu-4d0bf63a.js → OrOverflowMenu-440ddf3e.js} +3 -3
- package/dist/esm/v3/{OrPagination-c40cc0d5.js → OrPagination-7168b18f.js} +10 -11
- package/dist/esm/v3/{OrPassword-cd8a3c46.js → OrPassword-311406fa.js} +3 -3
- package/dist/esm/v3/{OrPopover-5819b807.js → OrPopover-56ba40ab.js} +7 -8
- package/dist/esm/v3/{OrProgress-c3c56efd.js → OrProgress-a54a42c0.js} +4 -5
- package/dist/esm/v3/{OrSearch-d0c8aca7.js → OrSearch-2800e9bf.js} +3 -3
- package/dist/esm/v3/{OrSearch-13e8c829.js → OrSearch-47b052ea.js} +1 -1
- package/dist/esm/v3/{OrSelect-a8c6d730.js → OrSelect-2d638c3f.js} +6 -5
- package/dist/esm/v3/{OrSelect-60205145.js → OrSelect-9520d6e6.js} +7 -6
- package/dist/esm/v3/{OrSidebar-84d5caf8.js → OrSidebar-9281e0d5.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-4d44c41a.js → OrSidebarCollapseButton-69e7cc73.js} +1 -1
- package/dist/esm/v3/{OrSlider-eead916e.js → OrSlider-b7bd588e.js} +2 -2
- package/dist/esm/v3/{OrSorting-e86c53b5.js → OrSorting-a4247ad1.js} +2 -2
- package/dist/esm/v3/{OrStepper-651a619a.js → OrStepper-4943002c.js} +2 -2
- package/dist/esm/v3/{OrSwitch-10747a24.js → OrSwitch-fb864132.js} +1 -1
- package/dist/esm/v3/{OrTabs-1db28ae2.js → OrTabs-78f2d777.js} +2 -2
- package/dist/esm/v3/{OrTag-a2197abd.js → OrTag-1b3b1296.js} +2 -2
- package/dist/esm/v3/{OrTag-2fc4339f.js → OrTag-8f452a85.js} +1 -1
- package/dist/esm/v3/{OrTagInput-71a59489.js → OrTagInput-d6794a18.js} +2 -2
- package/dist/esm/v3/{OrTags-0baed165.js → OrTags-77d33257.js} +2 -2
- package/dist/esm/v3/{OrTextarea-31b54c7e.js → OrTextarea-7a753c1a.js} +2 -2
- package/dist/esm/v3/{OrTextbox-8d2903db.js → OrTextbox-fe62c6c3.js} +4 -4
- package/dist/esm/v3/{OrTimePicker-fff5b72d.js → OrTimePicker-6a6781dc.js} +4 -4
- package/dist/esm/v3/{OrToastContainer-72b52576.js → OrToastContainer-1bba845b.js} +2 -2
- package/dist/esm/v3/{OrTooltip-c1006713.js → OrTooltip-7ac03028.js} +1 -1
- package/dist/esm/v3/{OrTooltip-896870c6.js → OrTooltip-bd35ec20.js} +1 -1
- package/dist/esm/v3/color-6b0fc765.js +106 -0
- package/dist/esm/v3/components/index.js +72 -70
- package/dist/esm/v3/components/or-avatar/index.js +5 -5
- package/dist/esm/v3/components/or-avatar-v3/index.js +2 -2
- package/dist/esm/v3/components/or-button/index.js +3 -2
- package/dist/esm/v3/components/or-button-v2/index.js +8 -7
- package/dist/esm/v3/components/or-card-collection/index.js +12 -11
- package/dist/esm/v3/components/or-card-collection-v3/index.js +9 -9
- package/dist/esm/v3/components/or-checkbox/index.js +5 -5
- package/dist/esm/v3/components/or-checkbox-group-v3/index.js +4 -3
- package/dist/esm/v3/components/or-checkbox-tree-v3/index.js +3 -2
- package/dist/esm/v3/components/or-checkbox-v3/index.js +2 -1
- package/dist/esm/v3/components/or-chips/index.js +6 -6
- package/dist/esm/v3/components/or-chips/or-chip/index.js +5 -5
- package/dist/esm/v3/components/or-code/index.js +10 -9
- package/dist/esm/v3/components/or-code-v3/index.js +6 -6
- package/dist/esm/v3/components/or-collapse/index.js +2 -2
- package/dist/esm/v3/components/or-color-picker/index.js +3 -3
- package/dist/esm/v3/components/or-confirm/index.js +12 -11
- package/dist/esm/v3/components/or-confirm-v3/index.js +6 -6
- package/dist/esm/v3/components/or-date-picker-v3/index.js +7 -7
- package/dist/esm/v3/components/or-date-time-picker/index.js +10 -9
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +7 -7
- package/dist/esm/v3/components/or-floating/index.js +2 -2
- package/dist/esm/v3/components/or-icon/index.js +4 -4
- package/dist/esm/v3/components/or-icon-button-v2/index.js +7 -6
- package/dist/esm/v3/components/or-icon-button-v3/index.js +4 -4
- package/dist/esm/v3/components/or-inline-input-v3/index.js +5 -5
- package/dist/esm/v3/components/or-inline-text-edit/index.js +10 -9
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +5 -5
- package/dist/esm/v3/components/or-input/index.js +3 -3
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-input-v3/index.js +5 -5
- package/dist/esm/v3/components/or-list/index.js +9 -8
- package/dist/esm/v3/components/or-list-of-inputs/index.js +12 -11
- package/dist/esm/v3/components/or-loader/index.js +2 -1
- package/dist/esm/v3/components/or-menu-v3/index.js +3 -3
- package/dist/esm/v3/components/or-modal/index.js +9 -8
- package/dist/esm/v3/components/or-modal-v3/index.js +5 -5
- package/dist/esm/v3/components/or-notification/index.js +9 -8
- package/dist/esm/v3/components/or-notification-v3/index.js +5 -5
- package/dist/esm/v3/components/or-number-input/index.js +4 -4
- package/dist/esm/v3/components/or-overflow-menu/index.js +9 -8
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-pagination-v3/index.js +4 -4
- package/dist/esm/v3/components/or-password/index.js +11 -10
- package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-popover-v3/index.js +2 -2
- package/dist/esm/v3/components/or-progress-v3/index.js +2 -2
- package/dist/esm/v3/components/or-search/index.js +11 -10
- package/dist/esm/v3/components/or-search-v3/index.js +6 -6
- package/dist/esm/v3/components/or-select/index.js +12 -11
- package/dist/esm/v3/components/or-select-v3/index.js +9 -8
- package/dist/esm/v3/components/or-sidebar-v3/index.js +6 -6
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +5 -5
- package/dist/esm/v3/components/or-slider/index.js +5 -5
- package/dist/esm/v3/components/or-sorting-v3/index.js +4 -4
- package/dist/esm/v3/components/or-stepper/index.js +9 -8
- package/dist/esm/v3/components/or-switch/index.js +3 -2
- package/dist/esm/v3/components/or-tabs-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tag/index.js +6 -6
- package/dist/esm/v3/components/or-tag-input-v3/index.js +7 -7
- package/dist/esm/v3/components/or-tag-v3/index.js +5 -5
- package/dist/esm/v3/components/or-tags-v3/index.js +6 -6
- package/dist/esm/v3/components/or-textarea/index.js +3 -3
- package/dist/esm/v3/components/or-textbox/index.js +10 -9
- package/dist/esm/v3/components/or-time-picker-v3/index.js +8 -8
- package/dist/esm/v3/components/or-toast/index.js +9 -8
- package/dist/esm/v3/components/or-toast/or-toast-container/index.js +9 -8
- package/dist/esm/v3/components/or-toast-v3/index.js +5 -5
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +5 -5
- package/dist/esm/v3/components/or-tooltip/index.js +3 -3
- package/dist/esm/v3/components/or-tooltip-v3/index.js +3 -3
- package/dist/esm/v3/dom-aecadd9a.js +168 -0
- package/dist/esm/v3/hooks/index.js +1 -1
- package/dist/esm/v3/hooks/useResponsive/index.js +1 -1
- package/dist/esm/v3/hooks/useResponsive/useResponsive.d.ts +3 -4
- package/dist/esm/v3/index.d.ts +1 -2
- package/dist/esm/v3/index.js +76 -81
- package/dist/esm/v3/isEmpty-52fa842a.js +5 -0
- package/dist/esm/v3/isEmptyValue-fd56a6e4.js +5 -0
- package/dist/esm/v3/text-7e939ab3.js +33 -0
- package/dist/esm/v3/{types-49ec79c3.js → types-ec6fbd22.js} +1 -1
- package/dist/esm/v3/useResponsive-a02e95b7.js +13 -0
- package/dist/esm/v3/utils/index.d.ts +13 -0
- package/dist/esm/v3/utils/index.js +8 -0
- package/package.json +4 -3
- package/src/components/or-input-v3/OrInput.vue +3 -4
- package/src/components/or-pagination-v3/OrPagination.vue +5 -5
- package/src/components/or-popover-v3/OrPopover.vue +4 -5
- package/src/components/or-progress-v3/OrProgress.vue +2 -3
- package/src/hooks/useResponsive/useResponsive.stories.mdx +2 -11
- package/src/hooks/useResponsive/useResponsive.ts +5 -29
- package/src/index.ts +1 -2
- package/src/utils/index.ts +13 -0
- package/dist/esm/v2/color-40b7fe6b.js +0 -61
- package/dist/esm/v2/dom-f1d55b67.js +0 -60
- package/dist/esm/v2/useResponsive-bb091958.js +0 -32
- package/dist/esm/v3/color-40b7fe6b.js +0 -61
- package/dist/esm/v3/dom-f1d55b67.js +0 -60
- package/dist/esm/v3/useResponsive-bb091958.js +0 -32
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-af6410d9.js → OrDateTimePickerMonthSelect-2026c46d.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-f9813bc6.js → OrToastContainer.vue_vue_type_script_lang-4a96c4eb.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-735c3397.js → OrToastContainer.vue_vue_type_script_lang-9b7eba9b.js} +0 -0
|
@@ -5,7 +5,7 @@ import '@onereach/styles/tailwind.config';
|
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
6
|
import { _ as __vue_component__$5 } from './OrOverlay-948346df.js';
|
|
7
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
8
|
-
import { _ as __vue_component__$4 } from './OrIconButton-
|
|
8
|
+
import { _ as __vue_component__$4 } from './OrIconButton-c7400430.js';
|
|
9
9
|
|
|
10
10
|
const ModalContent = [
|
|
11
11
|
// Layout
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, onBeforeUnmount } from 'vue-demi';
|
|
2
|
-
import './OrButton.vue_rollup-plugin-vue_styles.0-
|
|
3
|
-
import { _ as __vue_component__$1 } from './OrIconButton-
|
|
4
|
-
import './OrIconButton.vue_rollup-plugin-vue_styles.0-
|
|
2
|
+
import './OrButton.vue_rollup-plugin-vue_styles.0-6f0a9dd4.js';
|
|
3
|
+
import { _ as __vue_component__$1 } from './OrIconButton-257b38f2.js';
|
|
4
|
+
import './OrIconButton.vue_rollup-plugin-vue_styles.0-91855f16.js';
|
|
5
5
|
import { _ as __vue_component__$2 } from './OrOverlay-ccec2218.js';
|
|
6
6
|
import { onClickOutside } from '@vueuse/core';
|
|
7
7
|
import { useFocusTrap } from '@vueuse/integrations/useFocusTrap';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$2 } from './OrIconButton-
|
|
2
|
+
import { _ as __vue_component__$2 } from './OrIconButton-c7400430.js';
|
|
3
3
|
import { _ as __vue_component__$1 } from './OrIcon-d35a84d8.js';
|
|
4
4
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
5
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$1 } from './OrIcon-
|
|
3
|
-
import './OrButton.vue_rollup-plugin-vue_styles.0-
|
|
4
|
-
import { _ as __vue_component__$2 } from './OrIconButton-
|
|
5
|
-
import './OrIconButton.vue_rollup-plugin-vue_styles.0-
|
|
2
|
+
import { _ as __vue_component__$1 } from './OrIcon-d26e8a1e.js';
|
|
3
|
+
import './OrButton.vue_rollup-plugin-vue_styles.0-6f0a9dd4.js';
|
|
4
|
+
import { _ as __vue_component__$2 } from './OrIconButton-257b38f2.js';
|
|
5
|
+
import './OrIconButton.vue_rollup-plugin-vue_styles.0-91855f16.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
7
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$1 } from './OrInput-
|
|
2
|
+
import { _ as __vue_component__$1 } from './OrInput-7a12709e.js';
|
|
3
3
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
4
4
|
|
|
5
5
|
var script = defineComponent({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent, ref } from 'vue-demi';
|
|
2
2
|
import { useToggle, onClickOutside } from '@vueuse/core';
|
|
3
|
-
import './OrButton.vue_rollup-plugin-vue_styles.0-
|
|
4
|
-
import { _ as __vue_component__$3 } from './OrIconButton-
|
|
5
|
-
import './OrIconButton.vue_rollup-plugin-vue_styles.0-
|
|
6
|
-
import { _ as __vue_component__$2 } from './OrButton-
|
|
3
|
+
import './OrButton.vue_rollup-plugin-vue_styles.0-6f0a9dd4.js';
|
|
4
|
+
import { _ as __vue_component__$3 } from './OrIconButton-257b38f2.js';
|
|
5
|
+
import './OrIconButton.vue_rollup-plugin-vue_styles.0-91855f16.js';
|
|
6
|
+
import { _ as __vue_component__$2 } from './OrButton-f189b59b.js';
|
|
7
7
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
8
8
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
9
|
-
import { _ as __vue_component__$4, O as OrFloatingPlacements } from './OrFloating-
|
|
9
|
+
import { _ as __vue_component__$4, O as OrFloatingPlacements } from './OrFloating-b41017c7.js';
|
|
10
10
|
|
|
11
11
|
var script$1 = defineComponent({
|
|
12
12
|
name: 'OrOverflowMenuItem',
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef } from 'vue-demi';
|
|
2
2
|
import '@vueuse/core';
|
|
3
3
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
4
|
-
import { u as useResponsive } from './useResponsive-
|
|
4
|
+
import { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
5
5
|
import '@onereach/styles/tailwind.config';
|
|
6
6
|
import 'tailwindcss/resolveConfig';
|
|
7
7
|
import { _ as __vue_component__$1 } from './OrButton-9622e713.js';
|
|
8
8
|
import { _ as __vue_component__$2 } from './OrIcon-d35a84d8.js';
|
|
9
9
|
import { _ as __vue_component__$4 } from './OrMenuItem-c1c97ebe.js';
|
|
10
|
-
import { _ as __vue_component__$3 } from './OrMenu-
|
|
11
|
-
import './OrPopover-
|
|
10
|
+
import { _ as __vue_component__$3 } from './OrMenu-df584a8c.js';
|
|
11
|
+
import './OrPopover-018274a5.js';
|
|
12
12
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
13
13
|
|
|
14
14
|
const PaginationRoot = [
|
|
@@ -65,6 +65,10 @@ var script = defineComponent({
|
|
|
65
65
|
emits: ['update:modelValue'],
|
|
66
66
|
expose: ['root'],
|
|
67
67
|
setup(props, context) {
|
|
68
|
+
const {
|
|
69
|
+
isDesktop,
|
|
70
|
+
isMobile
|
|
71
|
+
} = useResponsive();
|
|
68
72
|
// Refs
|
|
69
73
|
const root = ref();
|
|
70
74
|
const limitButton = ref();
|
|
@@ -158,12 +162,9 @@ var script = defineComponent({
|
|
|
158
162
|
function toPage(page) {
|
|
159
163
|
currentPage.value = page;
|
|
160
164
|
}
|
|
161
|
-
// Helpers
|
|
162
|
-
const {
|
|
163
|
-
isDesktop,
|
|
164
|
-
isMobile
|
|
165
|
-
} = useResponsive(root);
|
|
166
165
|
return {
|
|
166
|
+
isDesktop,
|
|
167
|
+
isMobile,
|
|
167
168
|
root,
|
|
168
169
|
limitButton,
|
|
169
170
|
limitButtonRoot,
|
|
@@ -182,9 +183,7 @@ var script = defineComponent({
|
|
|
182
183
|
buttonGroup,
|
|
183
184
|
toPreviousPage,
|
|
184
185
|
toNextPage,
|
|
185
|
-
toPage
|
|
186
|
-
isDesktop,
|
|
187
|
-
isMobile
|
|
186
|
+
toPage
|
|
188
187
|
};
|
|
189
188
|
}
|
|
190
189
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent, ref } from 'vue-demi';
|
|
2
2
|
import { useVModel } from '@vueuse/core';
|
|
3
|
-
import { _ as __vue_component__$1 } from './OrInput-
|
|
3
|
+
import { _ as __vue_component__$1 } from './OrInput-7a12709e.js';
|
|
4
4
|
import '@onereach/styles/tailwind.config';
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
6
|
import { u as useToggle } from './useToggle-c04fc920.js';
|
|
7
|
-
import './OrButton.vue_rollup-plugin-vue_styles.0-
|
|
8
|
-
import { _ as __vue_component__$2 } from './OrIconButton-
|
|
9
|
-
import { b as BUTTON_SIZE } from './OrIconButton.vue_rollup-plugin-vue_styles.0-
|
|
7
|
+
import './OrButton.vue_rollup-plugin-vue_styles.0-6f0a9dd4.js';
|
|
8
|
+
import { _ as __vue_component__$2 } from './OrIconButton-257b38f2.js';
|
|
9
|
+
import { b as BUTTON_SIZE } from './OrIconButton.vue_rollup-plugin-vue_styles.0-91855f16.js';
|
|
10
10
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
11
11
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
12
12
|
|
|
@@ -3,7 +3,7 @@ import { onClickOutside } from '@vueuse/core';
|
|
|
3
3
|
import { defineComponent, ref, computed, toRef, watchPostEffect, unref } from 'vue-demi';
|
|
4
4
|
import { u as useElevation } from './useElevation-a50ec347.js';
|
|
5
5
|
import { u as usePopoverState } from './usePopoverState-b92c698b.js';
|
|
6
|
-
import { u as useResponsive } from './useResponsive-
|
|
6
|
+
import { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
7
7
|
import '@onereach/styles/tailwind.config';
|
|
8
8
|
import 'tailwindcss/resolveConfig';
|
|
9
9
|
import { _ as __vue_component__$1 } from './OrBottomSheet-4a78742a.js';
|
|
@@ -122,6 +122,10 @@ var script = defineComponent({
|
|
|
122
122
|
emits: ['update:state', 'open', 'close'],
|
|
123
123
|
expose: ['root', 'state', 'isFlipped', 'isHidden', 'open', 'close', 'toggle'],
|
|
124
124
|
setup(props, context) {
|
|
125
|
+
const {
|
|
126
|
+
isDesktop,
|
|
127
|
+
isMobile
|
|
128
|
+
} = useResponsive();
|
|
125
129
|
// Refs
|
|
126
130
|
const root = ref();
|
|
127
131
|
const bottomSheet = ref();
|
|
@@ -141,11 +145,6 @@ var script = defineComponent({
|
|
|
141
145
|
} = usePopoverState(toRef(props, 'isOpen'), context.emit);
|
|
142
146
|
const isFlipped = ref(false);
|
|
143
147
|
const isHidden = ref(false);
|
|
144
|
-
// Helpers
|
|
145
|
-
const {
|
|
146
|
-
isDesktop,
|
|
147
|
-
isMobile
|
|
148
|
-
} = useResponsive(root);
|
|
149
148
|
// Effects
|
|
150
149
|
watchPostEffect(() => {
|
|
151
150
|
const rootElement = unref(root);
|
|
@@ -197,6 +196,8 @@ var script = defineComponent({
|
|
|
197
196
|
});
|
|
198
197
|
// #endregion
|
|
199
198
|
return {
|
|
199
|
+
isDesktop,
|
|
200
|
+
isMobile,
|
|
200
201
|
root,
|
|
201
202
|
bottomSheet,
|
|
202
203
|
bottomSheetRoot,
|
|
@@ -205,8 +206,6 @@ var script = defineComponent({
|
|
|
205
206
|
state,
|
|
206
207
|
isFlipped,
|
|
207
208
|
isHidden,
|
|
208
|
-
isDesktop,
|
|
209
|
-
isMobile,
|
|
210
209
|
open,
|
|
211
210
|
close,
|
|
212
211
|
toggle
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useElementBounding } from '@vueuse/core';
|
|
2
2
|
import round from 'lodash/round';
|
|
3
3
|
import { defineComponent, ref, useSlots, computed } from 'vue-demi';
|
|
4
|
-
import { u as useResponsive } from './useResponsive-
|
|
4
|
+
import { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
5
5
|
import '@onereach/styles/tailwind.config';
|
|
6
6
|
import 'tailwindcss/resolveConfig';
|
|
7
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -121,6 +121,9 @@ var script = defineComponent({
|
|
|
121
121
|
},
|
|
122
122
|
expose: ['root'],
|
|
123
123
|
setup(props) {
|
|
124
|
+
const {
|
|
125
|
+
isMobile
|
|
126
|
+
} = useResponsive();
|
|
124
127
|
// Refs
|
|
125
128
|
const root = ref();
|
|
126
129
|
// Slots
|
|
@@ -179,10 +182,6 @@ var script = defineComponent({
|
|
|
179
182
|
return width.value ? width.value - 2 : '100%';
|
|
180
183
|
});
|
|
181
184
|
const strokeDashoffset = computed(() => props.loading ? undefined : (1 - localProgress.value) * strokeDasharray.value);
|
|
182
|
-
// Helpers
|
|
183
|
-
const {
|
|
184
|
-
isMobile
|
|
185
|
-
} = useResponsive(root);
|
|
186
185
|
return {
|
|
187
186
|
root,
|
|
188
187
|
rootStyles,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$1 } from './OrInput-
|
|
2
|
+
import { _ as __vue_component__$1 } from './OrInput-7a12709e.js';
|
|
3
3
|
import { debouncedWatch } from '@vueuse/core';
|
|
4
|
-
import './OrButton.vue_rollup-plugin-vue_styles.0-
|
|
5
|
-
import { _ as __vue_component__$2 } from './OrIconButton-
|
|
6
|
-
import { b as BUTTON_SIZE } from './OrIconButton.vue_rollup-plugin-vue_styles.0-
|
|
4
|
+
import './OrButton.vue_rollup-plugin-vue_styles.0-6f0a9dd4.js';
|
|
5
|
+
import { _ as __vue_component__$2 } from './OrIconButton-257b38f2.js';
|
|
6
|
+
import { b as BUTTON_SIZE } from './OrIconButton.vue_rollup-plugin-vue_styles.0-91855f16.js';
|
|
7
7
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
8
8
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
9
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { debouncedWatch } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
3
|
-
import { _ as __vue_component__$1 } from './OrInput-
|
|
3
|
+
import { _ as __vue_component__$1 } from './OrInput-41603455.js';
|
|
4
4
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
5
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
6
|
|
|
@@ -5,19 +5,20 @@ import '@vueuse/core';
|
|
|
5
5
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
6
6
|
import '@onereach/styles/tailwind.config';
|
|
7
7
|
import 'tailwindcss/resolveConfig';
|
|
8
|
-
import {
|
|
8
|
+
import { i as isEmptyValue } from './isEmptyValue-fd56a6e4.js';
|
|
9
|
+
import { _ as __vue_component__$1 } from './OrCheckbox-db66b4ea.js';
|
|
9
10
|
import { _ as __vue_component__$2 } from './OrError-4ffc1c39.js';
|
|
10
11
|
import { _ as __vue_component__$3 } from './OrExpansionPanel-f1d8fcc9.js';
|
|
11
12
|
import { _ as __vue_component__$4 } from './OrHint-aa221198.js';
|
|
12
|
-
import { _ as __vue_component__$6 } from './OrIconButton-
|
|
13
|
+
import { _ as __vue_component__$6 } from './OrIconButton-c7400430.js';
|
|
13
14
|
import { _ as __vue_component__$5 } from './OrIcon-d35a84d8.js';
|
|
14
15
|
import { _ as __vue_component__$8 } from './OrInputBox-7dc5b9e9.js';
|
|
15
16
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
16
|
-
import { _ as __vue_component__$7 } from './OrInput-
|
|
17
|
+
import { _ as __vue_component__$7 } from './OrInput-41603455.js';
|
|
17
18
|
import { _ as __vue_component__$9 } from './OrLabel-63380256.js';
|
|
18
19
|
import { _ as __vue_component__$a } from './OrMenuItem-c1c97ebe.js';
|
|
19
|
-
import { _ as __vue_component__$b } from './OrPopover-
|
|
20
|
-
import { _ as __vue_component__$c } from './OrTag-
|
|
20
|
+
import { _ as __vue_component__$b } from './OrPopover-018274a5.js';
|
|
21
|
+
import { _ as __vue_component__$c } from './OrTag-47b9111c.js';
|
|
21
22
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
22
23
|
|
|
23
24
|
const SelectRoot = [
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { defineComponent, ref } from 'vue-demi';
|
|
2
2
|
import { onClickOutside } from '@vueuse/core';
|
|
3
|
-
import { i as isEmpty
|
|
4
|
-
import { _ as __vue_component__$a } from './OrIcon-
|
|
3
|
+
import { i as isEmpty } from './isEmpty-52fa842a.js';
|
|
4
|
+
import { _ as __vue_component__$a } from './OrIcon-d26e8a1e.js';
|
|
5
5
|
import keyBy from 'lodash/keyBy';
|
|
6
|
-
import { _ as __vue_component__$9 } from './OrChip-
|
|
7
|
-
import './OrChips.vue_rollup-plugin-vue_styles.0-
|
|
6
|
+
import { _ as __vue_component__$9 } from './OrChip-6cae6dab.js';
|
|
7
|
+
import './OrChips.vue_rollup-plugin-vue_styles.0-fc390185.js';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
9
9
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
10
|
-
import { _ as __vue_component__$
|
|
11
|
-
import { _ as __vue_component__$
|
|
10
|
+
import { _ as __vue_component__$c } from './OrLoader-90406201.js';
|
|
11
|
+
import { _ as __vue_component__$b } from './OrCheckbox-fcd6b64c.js';
|
|
12
|
+
import { _ as __vue_component__$d } from './OrFloating-b41017c7.js';
|
|
12
13
|
import { _ as __vue_component__$e } from './OrLabel-fcceec1b.js';
|
|
13
14
|
import { _ as __vue_component__$f } from './OrError-efc74907.js';
|
|
14
15
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useDraggable, useElementBounding } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, useSlots, watch } from 'vue-demi';
|
|
3
|
-
import { _ as __vue_component__$1, O as OrSidebarPlacement } from './OrSidebarCollapseButton-
|
|
3
|
+
import { _ as __vue_component__$1, O as OrSidebarPlacement } from './OrSidebarCollapseButton-1d4a5907.js';
|
|
4
4
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
5
|
|
|
6
6
|
const SidebarRoot = [
|
package/dist/esm/v2/{OrSidebarCollapseButton-39d92879.js → OrSidebarCollapseButton-1d4a5907.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$1 } from './OrIconButton-
|
|
2
|
+
import { _ as __vue_component__$1 } from './OrIconButton-c7400430.js';
|
|
3
3
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
4
4
|
|
|
5
5
|
var OrSidebarPlacement;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __vue_component__$1 } from './OrIcon-
|
|
1
|
+
import { _ as __vue_component__$1 } from './OrIcon-d26e8a1e.js';
|
|
2
2
|
import { defineComponent, ref } from 'vue-demi';
|
|
3
3
|
import { onClickOutside, useDraggable } from '@vueuse/core';
|
|
4
|
-
import { f as addClass, h as removeClass } from './dom-
|
|
4
|
+
import { f as addClass, h as removeClass } from './dom-aecadd9a.js';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
6
6
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, toRef, computed } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$1 } from './OrMenu-
|
|
3
|
-
import './OrPopover-
|
|
2
|
+
import { _ as __vue_component__$1 } from './OrMenu-df584a8c.js';
|
|
3
|
+
import './OrPopover-018274a5.js';
|
|
4
4
|
import { _ as __vue_component__$2 } from './OrMenuItem-c1c97ebe.js';
|
|
5
5
|
import { _ as __vue_component__$3 } from './OrButton-9622e713.js';
|
|
6
6
|
import { _ as __vue_component__$4 } from './OrIcon-d35a84d8.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$6 } from './OrButton-
|
|
3
|
-
import './OrIconButton.vue_rollup-plugin-vue_styles.0-
|
|
2
|
+
import { _ as __vue_component__$6 } from './OrButton-f189b59b.js';
|
|
3
|
+
import './OrIconButton.vue_rollup-plugin-vue_styles.0-91855f16.js';
|
|
4
4
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$1 } from './OrLoader-
|
|
2
|
+
import { _ as __vue_component__$1 } from './OrLoader-90406201.js';
|
|
3
3
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
4
4
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
5
|
|
|
@@ -5,8 +5,8 @@ import '@onereach/styles/tailwind.config';
|
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
6
|
import { _ as __vue_component__$1 } from './OrIcon-d35a84d8.js';
|
|
7
7
|
import { _ as __vue_component__$3 } from './OrMenuItem-c1c97ebe.js';
|
|
8
|
-
import { _ as __vue_component__$2 } from './OrMenu-
|
|
9
|
-
import './OrPopover-
|
|
8
|
+
import { _ as __vue_component__$2 } from './OrMenu-df584a8c.js';
|
|
9
|
+
import './OrPopover-018274a5.js';
|
|
10
10
|
import { _ as __vue_component__$4 } from './OrTab-88036fe9.js';
|
|
11
11
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
12
12
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watchPostEffect, unref } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$1 } from './OrIconButton-
|
|
2
|
+
import { _ as __vue_component__$1 } from './OrIconButton-c7400430.js';
|
|
3
3
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
4
4
|
|
|
5
5
|
var TagVariant;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$1 } from './OrIcon-
|
|
3
|
-
import {
|
|
2
|
+
import { _ as __vue_component__$1 } from './OrIcon-d26e8a1e.js';
|
|
3
|
+
import { D as hexToRgb } from './color-6b0fc765.js';
|
|
4
4
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
5
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
6
|
|
|
@@ -7,11 +7,11 @@ import 'tailwindcss/resolveConfig';
|
|
|
7
7
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
8
8
|
import { _ as __vue_component__$1 } from './OrError-4ffc1c39.js';
|
|
9
9
|
import { _ as __vue_component__$2 } from './OrHint-aa221198.js';
|
|
10
|
-
import { _ as __vue_component__$3 } from './OrIconButton-
|
|
10
|
+
import { _ as __vue_component__$3 } from './OrIconButton-c7400430.js';
|
|
11
11
|
import { _ as __vue_component__$4 } from './OrInputBox-7dc5b9e9.js';
|
|
12
12
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
13
13
|
import { _ as __vue_component__$5 } from './OrLabel-63380256.js';
|
|
14
|
-
import { _ as __vue_component__$6 } from './OrTags-
|
|
14
|
+
import { _ as __vue_component__$6 } from './OrTags-6bf4fb3a.js';
|
|
15
15
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
16
16
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
17
17
|
|
|
@@ -4,8 +4,8 @@ import '@vueuse/core';
|
|
|
4
4
|
import '@onereach/styles/tailwind.config';
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
6
|
import { _ as __vue_component__$1 } from './OrButton-9622e713.js';
|
|
7
|
-
import { _ as __vue_component__$2 } from './OrPopover-
|
|
8
|
-
import { _ as __vue_component__$3 } from './OrTag-
|
|
7
|
+
import { _ as __vue_component__$2 } from './OrPopover-018274a5.js';
|
|
8
|
+
import { _ as __vue_component__$3 } from './OrTag-47b9111c.js';
|
|
9
9
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
10
10
|
|
|
11
11
|
const Tags = [
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, ref, getCurrentInstance } from 'vue-demi';
|
|
2
2
|
import { p as pxToRem } from './px-to-rem-0b26b83e.js';
|
|
3
|
-
import {
|
|
3
|
+
import { o as setStyle, r as requestAF, u as getCS, b as reflow, c as cancelAF } from './dom-aecadd9a.js';
|
|
4
4
|
import { _ as __vue_component__$1 } from './OrLabel-fcceec1b.js';
|
|
5
5
|
import { _ as __vue_component__$2 } from './OrHint-7eadc91e.js';
|
|
6
6
|
import { _ as __vue_component__$3 } from './OrError-efc74907.js';
|
|
7
|
-
import { _ as __vue_component__$4 } from './OrCollapse-
|
|
7
|
+
import { _ as __vue_component__$4 } from './OrCollapse-9d22b072.js';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
9
9
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
10
10
|
|
|
@@ -4,14 +4,14 @@ import '@onereach/styles/tailwind.config';
|
|
|
4
4
|
import 'tailwindcss/resolveConfig';
|
|
5
5
|
import { u as useToggle } from './useToggle-c04fc920.js';
|
|
6
6
|
import { p as pxToRem } from './px-to-rem-0b26b83e.js';
|
|
7
|
-
import {
|
|
7
|
+
import { o as setStyle, r as requestAF, u as getCS, b as reflow, c as cancelAF } from './dom-aecadd9a.js';
|
|
8
8
|
import { _ as __vue_component__$1 } from './OrLabel-fcceec1b.js';
|
|
9
|
-
import './OrButton.vue_rollup-plugin-vue_styles.0-
|
|
10
|
-
import { _ as __vue_component__$2 } from './OrIconButton-
|
|
11
|
-
import './OrIconButton.vue_rollup-plugin-vue_styles.0-
|
|
9
|
+
import './OrButton.vue_rollup-plugin-vue_styles.0-6f0a9dd4.js';
|
|
10
|
+
import { _ as __vue_component__$2 } from './OrIconButton-257b38f2.js';
|
|
11
|
+
import './OrIconButton.vue_rollup-plugin-vue_styles.0-91855f16.js';
|
|
12
12
|
import { _ as __vue_component__$3 } from './OrHint-7eadc91e.js';
|
|
13
13
|
import { _ as __vue_component__$4 } from './OrError-efc74907.js';
|
|
14
|
-
import { _ as __vue_component__$5 } from './OrCollapse-
|
|
14
|
+
import { _ as __vue_component__$5 } from './OrCollapse-9d22b072.js';
|
|
15
15
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
16
16
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
17
17
|
|
|
@@ -4,16 +4,16 @@ import '@vueuse/core';
|
|
|
4
4
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
5
5
|
import '@onereach/styles/tailwind.config';
|
|
6
6
|
import 'tailwindcss/resolveConfig';
|
|
7
|
-
import { b as __vue_component__$1, d as __vue_component__$2, e as __vue_component__$3, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-
|
|
8
|
-
import { _ as __vue_component__$4, a as __vue_component__$5, D as DateTimePickerTimeFormat } from './OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
7
|
+
import { b as __vue_component__$1, d as __vue_component__$2, e as __vue_component__$3, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-cbc0db61.js';
|
|
8
|
+
import { _ as __vue_component__$4, a as __vue_component__$5, D as DateTimePickerTimeFormat } from './OrDateTimePicker.vue_rollup-plugin-vue_script-42274298.js';
|
|
9
9
|
import { _ as __vue_component__$6 } from './OrError-4ffc1c39.js';
|
|
10
10
|
import { _ as __vue_component__$7 } from './OrHint-aa221198.js';
|
|
11
|
-
import { _ as __vue_component__$9 } from './OrIconButton-
|
|
11
|
+
import { _ as __vue_component__$9 } from './OrIconButton-c7400430.js';
|
|
12
12
|
import { _ as __vue_component__$8 } from './OrIcon-d35a84d8.js';
|
|
13
13
|
import { _ as __vue_component__$a } from './OrInputBox-7dc5b9e9.js';
|
|
14
14
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
15
15
|
import { _ as __vue_component__$b } from './OrLabel-63380256.js';
|
|
16
|
-
import { _ as __vue_component__$c } from './OrPopover-
|
|
16
|
+
import { _ as __vue_component__$c } from './OrPopover-018274a5.js';
|
|
17
17
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
18
18
|
|
|
19
19
|
const TimePicker = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import './OrButton.vue_rollup-plugin-vue_styles.0-
|
|
2
|
-
import { _ as __vue_component__$3 } from './OrIconButton-
|
|
3
|
-
import './OrIconButton.vue_rollup-plugin-vue_styles.0-
|
|
1
|
+
import './OrButton.vue_rollup-plugin-vue_styles.0-6f0a9dd4.js';
|
|
2
|
+
import { _ as __vue_component__$3 } from './OrIconButton-257b38f2.js';
|
|
3
|
+
import './OrIconButton.vue_rollup-plugin-vue_styles.0-91855f16.js';
|
|
4
4
|
import { defineComponent, nextTick } from 'vue-demi';
|
|
5
5
|
import { _ as __vue_component__$2 } from './OrProgress-65968c24.js';
|
|
6
6
|
import { c as ToastType, P as PositionsX, b as PositionsY, T as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-b5ea5cb2.js';
|
|
@@ -3,7 +3,7 @@ import '@vueuse/core';
|
|
|
3
3
|
import { u as usePopoverState } from './usePopoverState-b92c698b.js';
|
|
4
4
|
import '@onereach/styles/tailwind.config';
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
|
-
import { _ as __vue_component__$1, P as PopoverPlacement } from './OrPopover-
|
|
6
|
+
import { _ as __vue_component__$1, P as PopoverPlacement } from './OrPopover-018274a5.js';
|
|
7
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
8
8
|
|
|
9
9
|
const TooltipRoot = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref } from 'vue-demi';
|
|
2
2
|
import isNil from 'lodash/isNil';
|
|
3
3
|
import { _ as __vue_component__ } from './OrTooltipContent-57a25502.js';
|
|
4
|
-
import { _ as __vue_component__$1, O as OrFloatingPlacements } from './OrFloating-
|
|
4
|
+
import { _ as __vue_component__$1, O as OrFloatingPlacements } from './OrFloating-b41017c7.js';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
6
6
|
|
|
7
7
|
var script = defineComponent({
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generic
|
|
3
|
+
*/
|
|
4
|
+
const RX_ARRAY_NOTATION = /\[(\d+)]/g;
|
|
5
|
+
const RX_BV_PREFIX = /^(BV?)/;
|
|
6
|
+
const RX_DIGITS = /^\d+$/;
|
|
7
|
+
const RX_EXTENSION = /^\..+/;
|
|
8
|
+
const RX_HASH = /^#/;
|
|
9
|
+
const RX_HASH_ID = /^#[A-Za-z]+[\w\-:.]*$/;
|
|
10
|
+
const RX_HTML_TAGS = /(<([^>]+)>)/gi;
|
|
11
|
+
const RX_HYPHENATE = /\B([A-Z])/g;
|
|
12
|
+
const RX_LOWER_UPPER = /([a-z])([A-Z])/g;
|
|
13
|
+
const RX_NUMBER = /^[0-9]*\.?[0-9]+$/;
|
|
14
|
+
const RX_PLUS = /\+/g;
|
|
15
|
+
const RX_REGEXP_REPLACE = /[-/\\^$*+?.()|[\]{}]/g;
|
|
16
|
+
const RX_SPACES = /[\s\uFEFF\xA0]+/g;
|
|
17
|
+
const RX_SPACE_SPLIT = /\s+/;
|
|
18
|
+
const RX_STAR = /\/\*$/;
|
|
19
|
+
const RX_START_SPACE_WORD = /(\s|^)(\w)/g;
|
|
20
|
+
const RX_TRIM_LEFT = /^\s+/;
|
|
21
|
+
const RX_TRIM_RIGHT = /\s+$/;
|
|
22
|
+
const RX_UNDERSCORE = /_/g;
|
|
23
|
+
const RX_UN_KEBAB = /-(\w)/g;
|
|
24
|
+
const RX_ABBREVIATION_FROM_STRING = /[\p{Alpha}\p{Nd}]+/gu;
|
|
25
|
+
/**
|
|
26
|
+
* Date
|
|
27
|
+
*/
|
|
28
|
+
// Loose YYYY-MM-DD matching, ignores any appended time inforation
|
|
29
|
+
// Matches '1999-12-20', '1999-1-1', '1999-01-20T22:51:49.118Z', '1999-01-02 13:00:00'
|
|
30
|
+
const RX_DATE = /^\d+-\d\d?-\d\d?(?:\s|T|$)/;
|
|
31
|
+
// Used to split off the date parts of the YYYY-MM-DD string
|
|
32
|
+
const RX_DATE_SPLIT = /-|\s|T/;
|
|
33
|
+
// Time string RegEx (optional seconds)
|
|
34
|
+
const RX_TIME = /^([0-1]?[0-9]|2[0-3]):[0-5]?[0-9](:[0-5]?[0-9])?$/;
|
|
35
|
+
/**
|
|
36
|
+
* URL
|
|
37
|
+
*/
|
|
38
|
+
// HREFs must end with a hash followed by at least one non-hash character
|
|
39
|
+
const RX_HREF = /^.*(#[^#]+)$/;
|
|
40
|
+
const RX_ENCODED_COMMA = /%2C/g;
|
|
41
|
+
const RX_ENCODE_REVERSE = /[!'()*]/g;
|
|
42
|
+
const RX_QUERY_START = /^(\?|#|&)/;
|
|
43
|
+
/**
|
|
44
|
+
* Color
|
|
45
|
+
*/
|
|
46
|
+
const RX_SHORT_COLOR = /^#?([a-f\d])([a-f\d])([a-f\d])$/i;
|
|
47
|
+
const RX_LONG_COLOR = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;
|
|
48
|
+
|
|
49
|
+
function getHashOfString(str) {
|
|
50
|
+
return Math.abs(str.split('').reduce((hash, char) => char.charCodeAt(0) + ((hash << 5) - hash), 0));
|
|
51
|
+
}
|
|
52
|
+
function normalize(hash, min, max) {
|
|
53
|
+
return Math.floor(hash % (max - min) + min);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
const HSL_LIMITS = {
|
|
57
|
+
h: {
|
|
58
|
+
min: 0,
|
|
59
|
+
max: 360
|
|
60
|
+
},
|
|
61
|
+
s: {
|
|
62
|
+
min: 50,
|
|
63
|
+
max: 75
|
|
64
|
+
},
|
|
65
|
+
l: {
|
|
66
|
+
min: 60,
|
|
67
|
+
max: 80
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
function hexToRgb(hex) {
|
|
72
|
+
hex = hex.replace(RX_SHORT_COLOR, (m, r, g, b) => r + r + g + g + b + b);
|
|
73
|
+
const result = RX_LONG_COLOR.exec(hex);
|
|
74
|
+
return result ? {
|
|
75
|
+
r: parseInt(result[1], 16),
|
|
76
|
+
g: parseInt(result[2], 16),
|
|
77
|
+
b: parseInt(result[3], 16)
|
|
78
|
+
} : null;
|
|
79
|
+
}
|
|
80
|
+
function componentToHex(c) {
|
|
81
|
+
const hex = c.toString(16);
|
|
82
|
+
return hex.length == 1 ? '0' + hex : hex;
|
|
83
|
+
}
|
|
84
|
+
function rgbToHex(r, g, b) {
|
|
85
|
+
return '#' + componentToHex(r) + componentToHex(g) + componentToHex(b);
|
|
86
|
+
}
|
|
87
|
+
function generateHslFromString(str) {
|
|
88
|
+
let limits = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : HSL_LIMITS;
|
|
89
|
+
const hRange = (limits === null || limits === void 0 ? void 0 : limits.h) ? [limits.h.min, limits.h.max] : [0, 360];
|
|
90
|
+
const sRange = (limits === null || limits === void 0 ? void 0 : limits.s) ? [limits.s.min, limits.s.max] : [0, 100];
|
|
91
|
+
const lRange = (limits === null || limits === void 0 ? void 0 : limits.l) ? [limits.l.min, limits.l.max] : [0, 100];
|
|
92
|
+
const hash = getHashOfString(str);
|
|
93
|
+
const h = normalize(hash, ...hRange);
|
|
94
|
+
const s = normalize(hash, ...sRange);
|
|
95
|
+
const l = normalize(hash, ...lRange);
|
|
96
|
+
return {
|
|
97
|
+
h,
|
|
98
|
+
s,
|
|
99
|
+
l
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
function hslToColorString(hsl) {
|
|
103
|
+
return `hsl(${hsl.h}, ${hsl.s}%, ${hsl.l}%)`;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export { RX_QUERY_START as A, RX_SHORT_COLOR as B, RX_LONG_COLOR as C, hexToRgb as D, rgbToHex as E, generateHslFromString as F, hslToColorString as G, HSL_LIMITS as H, getHashOfString as I, normalize as J, RX_ARRAY_NOTATION as R, RX_BV_PREFIX as a, RX_DIGITS as b, RX_EXTENSION as c, RX_HASH as d, RX_HASH_ID as e, RX_HTML_TAGS as f, RX_HYPHENATE as g, RX_LOWER_UPPER as h, RX_NUMBER as i, RX_PLUS as j, RX_REGEXP_REPLACE as k, RX_SPACES as l, RX_SPACE_SPLIT as m, RX_STAR as n, RX_START_SPACE_WORD as o, RX_TRIM_LEFT as p, RX_TRIM_RIGHT as q, RX_UNDERSCORE as r, RX_UN_KEBAB as s, RX_ABBREVIATION_FROM_STRING as t, RX_DATE as u, RX_DATE_SPLIT as v, RX_TIME as w, RX_HREF as x, RX_ENCODED_COMMA as y, RX_ENCODE_REVERSE as z };
|