@onereach/ui-components 4.16.2-beta.3085.0 → 4.16.2-beta.3086.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/OrBottomSheetV3/OrBottomSheet.js +62 -24
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +0 -1052
- package/dist/bundled/v2/components/OrBottomSheetV3/index.js +1 -6
- package/dist/bundled/v2/components/OrBottomSheetV3/styles.d.ts +0 -1
- package/dist/bundled/v2/components/OrBottomSheetV3/styles.js +1 -2
- package/dist/bundled/v2/components/OrButtonV3/OrButton.js +1 -1
- package/dist/bundled/v2/components/OrButtonV3/index.js +1 -1
- package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollection.js +1 -6
- package/dist/bundled/v2/components/OrCardCollectionV3/index.js +1 -6
- package/dist/bundled/v2/components/OrCheckboxGroupV3/OrCheckboxGroup.js +1 -1
- package/dist/bundled/v2/components/OrCheckboxGroupV3/index.js +1 -1
- package/dist/bundled/v2/components/OrCheckboxTreeV3/OrCheckboxTree.js +1 -1
- package/dist/bundled/v2/components/OrCheckboxTreeV3/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/OrCodeV3/OrCode.js +2 -3
- package/dist/bundled/v2/components/OrCodeV3/index.js +5 -6
- 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/OrConfirmV3/OrConfirm.js +1 -6
- package/dist/bundled/v2/components/OrConfirmV3/index.js +1 -6
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +3 -8
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +3 -8
- 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 +4 -9
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +4 -9
- package/dist/bundled/v2/components/OrIconButtonV3/OrIconButton.js +1 -6
- package/dist/bundled/v2/components/OrIconButtonV3/index.js +1 -6
- package/dist/bundled/v2/components/OrInlineInputV3/OrInlineInput.js +1 -6
- package/dist/bundled/v2/components/OrInlineInputV3/index.js +1 -6
- 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/OrInlineTextareaV3/OrInlineTextarea.js +1 -6
- package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +1 -6
- package/dist/bundled/v2/components/OrInputV3/OrInput.js +9 -13
- package/dist/bundled/v2/components/OrInputV3/OrInput.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrInputV3/index.js +1 -6
- package/dist/bundled/v2/components/OrLoaderV3/OrLoader.js +1 -1
- package/dist/bundled/v2/components/OrLoaderV3/index.js +1 -1
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.js +1 -6
- package/dist/bundled/v2/components/OrMenuV3/index.js +1 -6
- 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/OrModalV3/OrModal.js +1 -6
- package/dist/bundled/v2/components/OrModalV3/index.js +1 -6
- package/dist/bundled/v2/components/OrNotificationV3/OrNotification.js +1 -6
- package/dist/bundled/v2/components/OrNotificationV3/index.js +1 -6
- 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/OrOverlayV3/OrOverlay.js +1 -1
- package/dist/bundled/v2/components/OrOverlayV3/index.js +1 -1
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.js +10 -14
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.vue.d.ts +4 -4
- package/dist/bundled/v2/components/OrPaginationV3/index.js +1 -6
- 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 +8 -12
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.vue.d.ts +4 -4
- package/dist/bundled/v2/components/OrPopoverV3/index.js +1 -6
- package/dist/bundled/v2/components/OrProgressV3/OrProgress.js +5 -4
- package/dist/bundled/v2/components/OrProgressV3/index.js +1 -1
- package/dist/bundled/v2/components/OrSearchV3/OrSearch.js +1 -6
- package/dist/bundled/v2/components/OrSearchV3/index.js +1 -6
- 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/OrSelectV3/OrSelect.js +1 -6
- package/dist/bundled/v2/components/OrSelectV3/index.js +1 -6
- package/dist/bundled/v2/components/OrSidebar/OrSidebar.js +1 -1
- package/dist/bundled/v2/components/OrSidebar/index.js +1 -1
- package/dist/bundled/v2/components/OrSidebarV3/OrSidebar.js +1 -6
- package/dist/bundled/v2/components/OrSidebarV3/index.js +1 -6
- 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/OrSortingV3/OrSorting.js +1 -6
- package/dist/bundled/v2/components/OrSortingV3/index.js +1 -6
- package/dist/bundled/v2/components/OrSwitchV3/OrSwitch.js +1 -1
- package/dist/bundled/v2/components/OrSwitchV3/index.js +1 -1
- package/dist/bundled/v2/components/OrTabsV3/OrTabs.js +1 -6
- package/dist/bundled/v2/components/OrTabsV3/index.js +1 -6
- package/dist/bundled/v2/components/OrTagInputV3/OrTagInput.js +1 -6
- package/dist/bundled/v2/components/OrTagInputV3/index.js +1 -6
- package/dist/bundled/v2/components/OrTagV3/OrTag.js +1 -6
- package/dist/bundled/v2/components/OrTagV3/index.js +1 -6
- package/dist/bundled/v2/components/OrTagsV3/OrTags.js +1 -6
- package/dist/bundled/v2/components/OrTagsV3/index.js +1 -6
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +3 -8
- package/dist/bundled/v2/components/OrTimePickerV3/index.js +3 -8
- package/dist/bundled/v2/components/OrToast/composable/index.js +1 -1
- package/dist/bundled/v2/components/OrToast/composable/useToast.js +1 -1
- package/dist/bundled/v2/components/OrToast/composable/useToastEventBus.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/OrToastContainerV3/OrToastContainer.js +1 -6
- package/dist/bundled/v2/components/OrToastContainerV3/index.js +1 -6
- package/dist/bundled/v2/components/OrToastV3/OrToast.js +1 -6
- package/dist/bundled/v2/components/OrToastV3/composable/index.js +1 -1
- package/dist/bundled/v2/components/OrToastV3/composable/useToast.js +1 -1
- package/dist/bundled/v2/components/OrToastV3/composable/useToastEventBus.js +1 -1
- package/dist/bundled/v2/components/OrToastV3/index.js +1 -6
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.js +1 -6
- package/dist/bundled/v2/components/OrTooltipV3/index.js +1 -6
- package/dist/bundled/v2/components/OrTreeV3/OrTree.js +1 -1
- package/dist/bundled/v2/components/OrTreeV3/index.js +1 -1
- package/dist/bundled/v2/components/index.js +7 -8
- package/dist/bundled/v2/hooks/index.js +1 -1
- package/dist/bundled/v2/hooks/useOverflow.js +1 -1
- package/dist/bundled/v2/hooks/useResponsive/index.js +1 -1
- package/dist/bundled/v2/hooks/useResponsive/useResponsive.d.ts +4 -3
- package/dist/bundled/v2/hooks/useResponsive/useResponsive.js +26 -7
- package/dist/bundled/v2/hooks/useTheme.js +38 -12
- package/dist/bundled/v2/{index-509d77a1.js → index-760079e7.js} +2 -2
- package/dist/bundled/v2/index.js +5 -6
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-9d6701ce.js → OrBottomSheet.vue_vue_type_script_lang-c07ed3a1.js} +61 -18
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-098131d0.js → OrButton.vue_vue_type_script_lang-7370e903.js} +1 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-bc4757dd.js → OrCardCollection.vue_vue_type_script_lang-b99d79b6.js} +3 -3
- package/dist/bundled/v3/{OrCheckboxGroup.vue_vue_type_script_lang-ff3d450b.js → OrCheckboxGroup.vue_vue_type_script_lang-72b54d71.js} +1 -1
- package/dist/bundled/v3/{OrCheckboxTree.vue_vue_type_script_lang-120abecd.js → OrCheckboxTree.vue_vue_type_script_lang-79be356f.js} +1 -1
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-f1380ecb.js → OrCode.vue_vue_type_script_lang-7fd4bd55.js} +3 -3
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-cf7a8bd8.js → OrCode.vue_vue_type_script_lang-f3f122bf.js} +2 -2
- package/dist/bundled/v3/{OrColorPicker.vue_vue_type_script_lang-5ad76fcb.js → OrColorPicker.vue_vue_type_script_lang-7c9b353d.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-73aa938c.js → OrConfirm.vue_vue_type_script_lang-026097e2.js} +4 -4
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-2cf04079.js → OrConfirm.vue_vue_type_script_lang-836e2a0f.js} +2 -2
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-9c41e3f9.js → OrDatePicker.vue_vue_type_script_lang-b8eaef61.js} +4 -4
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-32107a94.js → OrDateTimePicker.vue_vue_type_script_lang-4ad6b2f4.js} +5 -5
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-e913f82c.js → OrDateTimePicker.vue_vue_type_script_lang-b7857a99.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-c1711d61.js → OrDateTimePickerMonthSelect-d707e507.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePickerPopoverHeader-dec42484.js → OrDateTimePickerPopoverHeader-4959231c.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePickerTimeSelect-ae24d04e.js → OrDateTimePickerTimeSelect-b8cc72af.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-4bf3ae40.js → OrIconButton.vue_vue_type_script_lang-64e3376f.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-43321b2b.js → OrInlineInput.vue_vue_type_script_lang-77104956.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextEdit.vue_vue_type_script_lang-7a921f8b.js → OrInlineTextEdit.vue_vue_type_script_lang-58bc1a00.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-db4f0a3b.js → OrInlineTextarea.vue_vue_type_script_lang-8cb0a8c3.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-d64bda8a.js → OrInput.vue_vue_type_script_lang-2356f69c.js} +8 -7
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-0395ad21.js → OrLoader.vue_vue_type_script_lang-a21dc976.js} +1 -1
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-021144d0.js → OrMenu.vue_vue_type_script_lang-c9532136.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-71e928a9.js → OrModal.vue_vue_type_script_lang-32c395a3.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-2c5c049e.js → OrModal.vue_vue_type_script_lang-54734ef0.js} +2 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-c17521c0.js → OrNotification.vue_vue_type_script_lang-69e2aaf6.js} +1 -1
- package/dist/bundled/v3/{OrOverflowMenu.vue_vue_type_script_lang-09e92920.js → OrOverflowMenu.vue_vue_type_script_lang-e077c7fd.js} +1 -1
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-01c9e89b.js → OrOverlay.vue_vue_type_script_lang-9036d75d.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-c36afcb9.js → OrPagination.vue_vue_type_script_lang-5bbb566f.js} +11 -10
- package/dist/bundled/v3/{OrPassword.vue_vue_type_script_lang-5348110a.js → OrPassword.vue_vue_type_script_lang-0a87f331.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-26dd5475.js → OrPopover.vue_vue_type_script_lang-4633e823.js} +9 -8
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-5573d34e.js → OrProgress.vue_vue_type_script_lang-39c7266c.js} +5 -4
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-07373511.js → OrSearch.vue_vue_type_script_lang-f8c3f4d0.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-dce0a817.js → OrSelect.vue_vue_type_script_lang-b8b014f6.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-9acc1912.js → OrSelect.vue_vue_type_script_lang-f174fd6b.js} +4 -4
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-8186b9bc.js → OrSidebar.vue_vue_type_script_lang-5a3cc6d4.js} +2 -2
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-81941fe6.js → OrSidebar.vue_vue_type_script_lang-cac8e5b7.js} +1 -1
- package/dist/bundled/v3/{OrSlider.vue_vue_type_script_lang-aff2dfa0.js → OrSlider.vue_vue_type_script_lang-9ae4141f.js} +1 -1
- package/dist/bundled/v3/{OrSorting.vue_vue_type_script_lang-c12a13b0.js → OrSorting.vue_vue_type_script_lang-ea731877.js} +2 -2
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-ee55263f.js → OrSwitch.vue_vue_type_script_lang-2014e70b.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-e00ea5e2.js → OrTabs.vue_vue_type_script_lang-ad76bca3.js} +2 -2
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-35dd9ab6.js → OrTag.vue_vue_type_script_lang-1b294115.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-6b584d66.js → OrTagInput.vue_vue_type_script_lang-0fced9e9.js} +2 -2
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-d4e4da50.js → OrTags.vue_vue_type_script_lang-390b7425.js} +3 -3
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-223d7bb1.js → OrTimePicker.vue_vue_type_script_lang-7fd70599.js} +4 -4
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-bfcbc29a.js → OrTooltip.vue_vue_type_script_lang-e49bd3df.js} +1 -1
- package/dist/bundled/v3/{OrTree.vue_vue_type_script_lang-1606b260.js → OrTree.vue_vue_type_script_lang-99197964.js} +1 -1
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +6 -12
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +0 -526
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +3 -8
- package/dist/bundled/v3/components/OrBottomSheetV3/styles.d.ts +0 -1
- package/dist/bundled/v3/components/OrBottomSheetV3/styles.js +1 -2
- package/dist/bundled/v3/components/OrButtonV3/OrButton.js +4 -4
- package/dist/bundled/v3/components/OrButtonV3/index.js +3 -3
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +14 -19
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +13 -18
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.js +6 -6
- package/dist/bundled/v3/components/OrCheckboxGroupV3/index.js +5 -5
- package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.js +5 -5
- package/dist/bundled/v3/components/OrCheckboxTreeV3/index.js +4 -4
- package/dist/bundled/v3/components/OrCode/OrCode.js +4 -4
- package/dist/bundled/v3/components/OrCode/index.js +3 -3
- package/dist/bundled/v3/components/OrCodeV3/OrCode.js +13 -14
- package/dist/bundled/v3/components/OrCodeV3/index.js +12 -13
- package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.js +3 -3
- package/dist/bundled/v3/components/OrColorPicker/index.js +2 -2
- package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +4 -4
- package/dist/bundled/v3/components/OrConfirm/index.js +3 -3
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +11 -16
- package/dist/bundled/v3/components/OrConfirmV3/index.js +10 -15
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +13 -18
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +12 -17
- package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.js +3 -3
- package/dist/bundled/v3/components/OrDateTimePicker/index.js +2 -2
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +14 -19
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +13 -18
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +7 -12
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +6 -11
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +8 -13
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +7 -12
- package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.js +3 -3
- package/dist/bundled/v3/components/OrInlineTextEdit/index.js +2 -2
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +8 -13
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +7 -12
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +9 -14
- package/dist/bundled/v3/components/OrInputV3/OrInput.vue.d.ts +1 -1
- package/dist/bundled/v3/components/OrInputV3/index.js +8 -13
- package/dist/bundled/v3/components/OrLoaderV3/OrLoader.js +3 -3
- package/dist/bundled/v3/components/OrLoaderV3/index.js +2 -2
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +6 -11
- package/dist/bundled/v3/components/OrMenuV3/index.js +5 -10
- package/dist/bundled/v3/components/OrModal/OrModal.js +3 -3
- package/dist/bundled/v3/components/OrModal/index.js +2 -2
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +8 -13
- package/dist/bundled/v3/components/OrModalV3/index.js +7 -12
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +8 -13
- package/dist/bundled/v3/components/OrNotificationV3/index.js +7 -12
- package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.js +3 -3
- package/dist/bundled/v3/components/OrOverflowMenu/index.js +2 -2
- package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.js +3 -3
- package/dist/bundled/v3/components/OrOverlayV3/index.js +2 -2
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +9 -14
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.vue.d.ts +2 -2
- package/dist/bundled/v3/components/OrPaginationV3/index.js +8 -13
- package/dist/bundled/v3/components/OrPassword/OrPassword.js +3 -3
- package/dist/bundled/v3/components/OrPassword/index.js +2 -2
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +5 -10
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.vue.d.ts +2 -2
- package/dist/bundled/v3/components/OrPopoverV3/index.js +4 -9
- package/dist/bundled/v3/components/OrProgressV3/OrProgress.js +3 -3
- package/dist/bundled/v3/components/OrProgressV3/index.js +2 -2
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +10 -15
- package/dist/bundled/v3/components/OrSearchV3/index.js +9 -14
- package/dist/bundled/v3/components/OrSelect/OrSelect.js +3 -3
- package/dist/bundled/v3/components/OrSelect/index.js +2 -2
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +11 -16
- package/dist/bundled/v3/components/OrSelectV3/index.js +10 -15
- package/dist/bundled/v3/components/OrSidebar/OrSidebar.js +3 -3
- package/dist/bundled/v3/components/OrSidebar/index.js +2 -2
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +8 -13
- package/dist/bundled/v3/components/OrSidebarV3/index.js +7 -12
- package/dist/bundled/v3/components/OrSlider/OrSlider.js +3 -3
- package/dist/bundled/v3/components/OrSlider/index.js +2 -2
- package/dist/bundled/v3/components/OrSortingV3/OrSorting.js +9 -14
- package/dist/bundled/v3/components/OrSortingV3/index.js +8 -13
- package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.js +4 -4
- package/dist/bundled/v3/components/OrSwitchV3/index.js +3 -3
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +7 -12
- package/dist/bundled/v3/components/OrTabsV3/index.js +6 -11
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +12 -17
- package/dist/bundled/v3/components/OrTagInputV3/index.js +11 -16
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +8 -13
- package/dist/bundled/v3/components/OrTagV3/index.js +7 -12
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +11 -16
- package/dist/bundled/v3/components/OrTagsV3/index.js +10 -15
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +12 -17
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +11 -16
- package/dist/bundled/v3/components/OrToast/composable/index.js +1 -1
- package/dist/bundled/v3/components/OrToast/composable/useToast.js +1 -1
- package/dist/bundled/v3/components/OrToast/composable/useToastEventBus.js +1 -1
- package/dist/bundled/v3/components/OrToast/index.js +2 -2
- package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.js +3 -3
- package/dist/bundled/v3/components/OrToastContainer/index.js +2 -2
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +9 -14
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +8 -13
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +7 -12
- package/dist/bundled/v3/components/OrToastV3/composable/index.js +1 -1
- package/dist/bundled/v3/components/OrToastV3/composable/useToast.js +1 -1
- package/dist/bundled/v3/components/OrToastV3/composable/useToastEventBus.js +1 -1
- package/dist/bundled/v3/components/OrToastV3/index.js +8 -13
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +6 -11
- package/dist/bundled/v3/components/OrTooltipV3/index.js +5 -10
- package/dist/bundled/v3/components/OrTreeV3/OrTree.js +5 -5
- package/dist/bundled/v3/components/OrTreeV3/index.js +4 -4
- package/dist/bundled/v3/components/index.js +53 -54
- package/dist/bundled/v3/hooks/index.js +1 -1
- package/dist/bundled/v3/hooks/useOverflow.js +1 -1
- package/dist/bundled/v3/hooks/useResponsive/index.js +1 -1
- package/dist/bundled/v3/hooks/useResponsive/useResponsive.d.ts +4 -3
- package/dist/bundled/v3/hooks/useResponsive/useResponsive.js +26 -7
- package/dist/bundled/v3/hooks/useTheme.js +38 -12
- package/dist/bundled/v3/{index-929e224a.js → index-e11e05e2.js} +2 -2
- package/dist/bundled/v3/index.js +51 -52
- package/dist/esm/v2/{OrBottomSheet-67e6d85e.js → OrBottomSheet-4a78742a.js} +61 -85
- package/dist/esm/v2/{OrCardCollection-ca6d1e3c.js → OrCardCollection-2812714c.js} +3 -3
- package/dist/esm/v2/{OrCode-996daa11.js → OrCode-48bc4a11.js} +2 -2
- package/dist/esm/v2/{OrConfirm-e4f8c958.js → OrConfirm-b4d1fbfb.js} +1 -1
- package/dist/esm/v2/{OrDatePicker-20d1ed3e.js → OrDatePicker-1c3b02b0.js} +3 -3
- package/dist/esm/v2/{OrDateTimePicker-42c99a26.js → OrDateTimePicker-44952c3b.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-64817206.js → OrDateTimePicker.vue_rollup-plugin-vue_script-8df798df.js} +3 -3
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-dd9de00f.js → OrDateTimePickerPopoverHeader-2c99c0f9.js} +3 -3
- package/dist/esm/v2/{OrIconButton-85a6de2c.js → OrIconButton-de8ae81d.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-2b7f5745.js → OrInlineInput-cf199b75.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-281064ab.js → OrInlineTextarea-1cf8c69d.js} +1 -1
- package/dist/esm/v2/{OrInput-a7e317b8.js → OrInput-46919978.js} +10 -9
- package/dist/esm/v2/{OrMenu-54d6a7a5.js → OrMenu-27fb918a.js} +1 -1
- package/dist/esm/v2/{OrModal-5626eeee.js → OrModal-b94a7c06.js} +1 -1
- package/dist/esm/v2/{OrNotification-b0fb0d4f.js → OrNotification-662b3021.js} +1 -1
- package/dist/esm/v2/{OrPagination-11d363f2.js → OrPagination-0ca32841.js} +11 -10
- package/dist/esm/v2/{OrPopover-c511273a.js → OrPopover-68e5429c.js} +9 -8
- package/dist/esm/v2/{OrProgress-e079e857.js → OrProgress-4addb39d.js} +5 -4
- package/dist/esm/v2/{OrSearch-7ad39657.js → OrSearch-100d091c.js} +1 -1
- package/dist/esm/v2/{OrSelect-817905e4.js → OrSelect-a6f09410.js} +4 -4
- package/dist/esm/v2/{OrSidebar-74f719fc.js → OrSidebar-41c744b1.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-07d12eb4.js → OrSidebarCollapseButton-39d92879.js} +1 -1
- package/dist/esm/v2/{OrSorting-ef99ef70.js → OrSorting-10b0384b.js} +2 -2
- package/dist/esm/v2/{OrTabs-b8a92669.js → OrTabs-54c3b409.js} +2 -2
- package/dist/esm/v2/{OrTag-b6125507.js → OrTag-292bd115.js} +1 -1
- package/dist/esm/v2/{OrTagInput-f2ddcc97.js → OrTagInput-a01d6db5.js} +2 -2
- package/dist/esm/v2/{OrTags-b7d9e52c.js → OrTags-534ad001.js} +2 -2
- package/dist/esm/v2/{OrTimePicker-9312df72.js → OrTimePicker-70beffc3.js} +4 -4
- package/dist/esm/v2/{OrTooltip-7a9861a2.js → OrTooltip-822a29f0.js} +1 -1
- package/dist/esm/v2/components/index.js +32 -32
- package/dist/esm/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +0 -1052
- package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +1 -2
- package/dist/esm/v2/components/or-bottom-sheet-v3/styles.d.ts +0 -1
- package/dist/esm/v2/components/or-card-collection-v3/index.js +10 -11
- package/dist/esm/v2/components/or-code-v3/index.js +7 -7
- package/dist/esm/v2/components/or-confirm-v3/index.js +7 -8
- package/dist/esm/v2/components/or-date-picker-v3/index.js +8 -9
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +9 -10
- package/dist/esm/v2/components/or-icon-button-v3/index.js +5 -6
- package/dist/esm/v2/components/or-inline-input-v3/index.js +6 -7
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +6 -7
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-input-v3/index.js +6 -7
- package/dist/esm/v2/components/or-menu-v3/index.js +4 -5
- package/dist/esm/v2/components/or-modal-v3/index.js +6 -7
- package/dist/esm/v2/components/or-notification-v3/index.js +6 -7
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +4 -4
- package/dist/esm/v2/components/or-pagination-v3/index.js +5 -6
- package/dist/esm/v2/components/or-popover-v3/OrPopover.vue.d.ts +4 -4
- package/dist/esm/v2/components/or-popover-v3/index.js +3 -4
- package/dist/esm/v2/components/or-progress-v3/index.js +2 -2
- package/dist/esm/v2/components/or-search-v3/index.js +7 -8
- package/dist/esm/v2/components/or-select-v3/index.js +8 -9
- package/dist/esm/v2/components/or-sidebar-v3/index.js +7 -8
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +6 -7
- package/dist/esm/v2/components/or-sorting-v3/index.js +5 -6
- package/dist/esm/v2/components/or-tabs-v3/index.js +5 -6
- package/dist/esm/v2/components/or-tag-input-v3/index.js +8 -9
- package/dist/esm/v2/components/or-tag-v3/index.js +6 -7
- package/dist/esm/v2/components/or-tags-v3/index.js +7 -8
- package/dist/esm/v2/components/or-time-picker-v3/index.js +9 -10
- package/dist/esm/v2/components/or-toast-v3/index.js +6 -7
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +6 -7
- package/dist/esm/v2/components/or-tooltip-v3/index.js +4 -5
- 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 +4 -3
- package/dist/esm/v2/index.js +31 -31
- package/dist/esm/v2/{types-dab9146d.js → types-a73cd8a5.js} +1 -1
- package/dist/esm/v2/useResponsive-bb091958.js +32 -0
- package/dist/esm/v3/{OrBottomSheet-efca7190.js → OrBottomSheet-2d3d91ef.js} +61 -85
- package/dist/esm/v3/{OrCardCollection-0adc842d.js → OrCardCollection-375d22c0.js} +3 -3
- package/dist/esm/v3/{OrCode-a252b73f.js → OrCode-491e282a.js} +2 -2
- package/dist/esm/v3/{OrConfirm-e3e225b3.js → OrConfirm-5f955181.js} +1 -1
- package/dist/esm/v3/{OrDatePicker-6993440a.js → OrDatePicker-646c06c3.js} +3 -3
- package/dist/esm/v3/{OrDateTimePicker-fd642cb1.js → OrDateTimePicker-09b297bd.js} +3 -3
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-ece5b2a7.js → OrDateTimePickerPopoverHeader-7a4d0e9c.js} +3 -3
- package/dist/esm/v3/{OrIconButton-fe133b18.js → OrIconButton-ec4123df.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-7342053f.js → OrInlineInput-a0361cae.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-10657b96.js → OrInlineTextarea-11744eab.js} +1 -1
- package/dist/esm/v3/{OrInput-5ffebd41.js → OrInput-db67d100.js} +8 -7
- package/dist/esm/v3/{OrMenu-20ca3870.js → OrMenu-1447444f.js} +1 -1
- package/dist/esm/v3/{OrModal-3ebc1346.js → OrModal-6e813215.js} +1 -1
- package/dist/esm/v3/{OrNotification-78f567b4.js → OrNotification-9d7f4ad3.js} +1 -1
- package/dist/esm/v3/{OrPagination-9bd81a94.js → OrPagination-c40cc0d5.js} +11 -10
- package/dist/esm/v3/{OrPopover-6d433297.js → OrPopover-5819b807.js} +9 -8
- package/dist/esm/v3/{OrProgress-a54a42c0.js → OrProgress-c3c56efd.js} +5 -4
- package/dist/esm/v3/{OrSearch-94019f8b.js → OrSearch-13e8c829.js} +1 -1
- package/dist/esm/v3/{OrSelect-52a55513.js → OrSelect-a8c6d730.js} +4 -4
- package/dist/esm/v3/{OrSidebar-5da9646b.js → OrSidebar-84d5caf8.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-d7bc8075.js → OrSidebarCollapseButton-4d44c41a.js} +1 -1
- package/dist/esm/v3/{OrSorting-012e0c6b.js → OrSorting-e86c53b5.js} +2 -2
- package/dist/esm/v3/{OrTabs-54c48a61.js → OrTabs-1db28ae2.js} +2 -2
- package/dist/esm/v3/{OrTag-499c45e1.js → OrTag-2fc4339f.js} +1 -1
- package/dist/esm/v3/{OrTagInput-9c53b28c.js → OrTagInput-71a59489.js} +2 -2
- package/dist/esm/v3/{OrTags-e56deb73.js → OrTags-0baed165.js} +2 -2
- package/dist/esm/v3/{OrTimePicker-dc9a10d5.js → OrTimePicker-fff5b72d.js} +4 -4
- package/dist/esm/v3/{OrTooltip-2422971c.js → OrTooltip-896870c6.js} +1 -1
- package/dist/esm/v3/components/index.js +31 -31
- package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +0 -526
- package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +1 -2
- package/dist/esm/v3/components/or-bottom-sheet-v3/styles.d.ts +0 -1
- package/dist/esm/v3/components/or-card-collection-v3/index.js +10 -11
- package/dist/esm/v3/components/or-code-v3/index.js +7 -7
- package/dist/esm/v3/components/or-confirm-v3/index.js +7 -8
- package/dist/esm/v3/components/or-date-picker-v3/index.js +8 -9
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +8 -9
- package/dist/esm/v3/components/or-icon-button-v3/index.js +5 -6
- package/dist/esm/v3/components/or-inline-input-v3/index.js +6 -7
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +6 -7
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-input-v3/index.js +6 -7
- package/dist/esm/v3/components/or-menu-v3/index.js +4 -5
- package/dist/esm/v3/components/or-modal-v3/index.js +6 -7
- package/dist/esm/v3/components/or-notification-v3/index.js +6 -7
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-pagination-v3/index.js +5 -6
- package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-popover-v3/index.js +3 -4
- package/dist/esm/v3/components/or-progress-v3/index.js +2 -2
- package/dist/esm/v3/components/or-search-v3/index.js +7 -8
- package/dist/esm/v3/components/or-select-v3/index.js +8 -9
- package/dist/esm/v3/components/or-sidebar-v3/index.js +7 -8
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +6 -7
- package/dist/esm/v3/components/or-sorting-v3/index.js +5 -6
- package/dist/esm/v3/components/or-tabs-v3/index.js +5 -6
- package/dist/esm/v3/components/or-tag-input-v3/index.js +8 -9
- package/dist/esm/v3/components/or-tag-v3/index.js +6 -7
- package/dist/esm/v3/components/or-tags-v3/index.js +7 -8
- package/dist/esm/v3/components/or-time-picker-v3/index.js +9 -10
- package/dist/esm/v3/components/or-toast-v3/index.js +6 -7
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +6 -7
- package/dist/esm/v3/components/or-tooltip-v3/index.js +4 -5
- 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 +4 -3
- package/dist/esm/v3/index.js +30 -30
- package/dist/esm/v3/{types-a369627d.js → types-49ec79c3.js} +1 -1
- package/dist/esm/v3/useResponsive-bb091958.js +32 -0
- package/package.json +2 -2
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +83 -33
- package/src/components/or-bottom-sheet-v3/styles.ts +0 -4
- package/src/components/or-input-v3/OrInput.vue +4 -3
- package/src/components/or-pagination-v3/OrPagination.vue +5 -5
- package/src/components/or-popover-v3/OrPopover.vue +5 -4
- package/src/components/or-progress-v3/OrProgress.vue +3 -2
- package/src/hooks/useResponsive/useResponsive.stories.mdx +11 -2
- package/src/hooks/useResponsive/useResponsive.ts +29 -5
- package/dist/bundled/v2/components/OrBottomSheetV3/hooks/useBottomSheetSwipeState.d.ts +0 -530
- package/dist/bundled/v2/components/OrBottomSheetV3/hooks/useBottomSheetSwipeState.js +0 -75
- package/dist/bundled/v3/components/OrBottomSheetV3/hooks/useBottomSheetSwipeState.d.ts +0 -530
- package/dist/bundled/v3/components/OrBottomSheetV3/hooks/useBottomSheetSwipeState.js +0 -75
- package/dist/esm/v2/components/or-bottom-sheet-v3/hooks/useBottomSheetSwipeState.d.ts +0 -530
- package/dist/esm/v2/useResponsive-a02e95b7.js +0 -13
- package/dist/esm/v3/components/or-bottom-sheet-v3/hooks/useBottomSheetSwipeState.d.ts +0 -530
- package/dist/esm/v3/useResponsive-a02e95b7.js +0 -13
- package/src/components/or-bottom-sheet-v3/hooks/useBottomSheetSwipeState.ts +0 -87
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-8792b53f.js → OrDateTimePickerMonthSelect-af6410d9.js} +0 -0
- /package/dist/bundled/v2/{OrDateTimePickerPopoverHeader-03768809.js → OrDateTimePickerPopoverHeader-52a99e6a.js} +0 -0
- /package/dist/bundled/v2/{OrDateTimePickerTimeSelect-4d42b488.js → OrDateTimePickerTimeSelect-8851268e.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-3ec83f08.js → OrToastContainer.vue_vue_type_script_lang-735c3397.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-fd410d48.js → OrToastContainer.vue_vue_type_script_lang-f9813bc6.js} +0 -0
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { usePointerSwipe,
|
|
2
|
-
import {
|
|
1
|
+
import { usePointerSwipe, onClickOutside, SwipeDirection } from '@vueuse/core';
|
|
2
|
+
import { defineComponent, ref, computed, toRef, watch, unref } from 'vue-demi';
|
|
3
3
|
import { u as usePopoverState } from './usePopoverState-b92c698b.js';
|
|
4
4
|
import '@onereach/styles/tailwind.config';
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
6
|
import { _ as __vue_component__$1 } from './OrOverlay-948346df.js';
|
|
7
|
-
import { u as useTheme } from './useTheme-e23d13c8.js';
|
|
8
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
9
8
|
|
|
10
9
|
var BottomSheetVariant;
|
|
@@ -52,72 +51,6 @@ const BottomSheetHeader = [
|
|
|
52
51
|
'px-lg', 'py-md',
|
|
53
52
|
// Typography
|
|
54
53
|
'typography-headline-3'];
|
|
55
|
-
const BottomSheetContent = ['grow'];
|
|
56
|
-
|
|
57
|
-
function useBottomSheetSwipeState(root, content, fullscreen, variant, close) {
|
|
58
|
-
const inlineSwipingStyles = ref({});
|
|
59
|
-
const skipSwipe = ref(false);
|
|
60
|
-
const theme = useTheme();
|
|
61
|
-
const isEventSkipped = event => {
|
|
62
|
-
return variant.value === BottomSheetVariant.Basic || event.composedPath().includes(content.value) && fullscreen.value;
|
|
63
|
-
};
|
|
64
|
-
const {
|
|
65
|
-
isSwiping
|
|
66
|
-
} = usePointerSwipe(root, {
|
|
67
|
-
threshold: 12,
|
|
68
|
-
onSwipe(event) {
|
|
69
|
-
skipSwipe.value = isEventSkipped(event);
|
|
70
|
-
if (variant.value === BottomSheetVariant.Advanced) {
|
|
71
|
-
const rootElement = unref(root);
|
|
72
|
-
inlineSwipingStyles.value = {
|
|
73
|
-
transitionProperty: 'none',
|
|
74
|
-
minHeight: `${rootElement.clientHeight - event.offsetY}px`,
|
|
75
|
-
maxHeight: `${rootElement.clientHeight - event.offsetY}px`
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
onSwipeEnd(event, direction) {
|
|
80
|
-
if (isEventSkipped(event)) {
|
|
81
|
-
return;
|
|
82
|
-
}
|
|
83
|
-
if (variant.value === BottomSheetVariant.Advanced) {
|
|
84
|
-
switch (direction) {
|
|
85
|
-
case SwipeDirection.UP:
|
|
86
|
-
fullscreen.value = true;
|
|
87
|
-
break;
|
|
88
|
-
case SwipeDirection.DOWN:
|
|
89
|
-
if (fullscreen.value) {
|
|
90
|
-
fullscreen.value = false;
|
|
91
|
-
} else {
|
|
92
|
-
close();
|
|
93
|
-
}
|
|
94
|
-
break;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
});
|
|
99
|
-
const rootInlineStyles = computed(() => {
|
|
100
|
-
if (variant.value === BottomSheetVariant.Basic) {
|
|
101
|
-
return {
|
|
102
|
-
transitionProperty: 'min-height, max-height',
|
|
103
|
-
minHeight: '0',
|
|
104
|
-
maxHeight: `calc(100% - ${theme.spacing.xl})`
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
return isSwiping.value && !skipSwipe.value ? inlineSwipingStyles.value : fullscreen.value ? {
|
|
108
|
-
transitionProperty: 'min-height, max-height',
|
|
109
|
-
minHeight: `calc(100% - ${theme.spacing.xl})`,
|
|
110
|
-
maxHeight: `calc(100% - ${theme.spacing.xl})`
|
|
111
|
-
} : {
|
|
112
|
-
transitionProperty: 'min-height, max-height',
|
|
113
|
-
minHeight: '0',
|
|
114
|
-
maxHeight: '50%'
|
|
115
|
-
};
|
|
116
|
-
});
|
|
117
|
-
return {
|
|
118
|
-
rootInlineStyles
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
54
|
|
|
122
55
|
var script = defineComponent({
|
|
123
56
|
name: 'OrBottomSheet',
|
|
@@ -141,6 +74,10 @@ var script = defineComponent({
|
|
|
141
74
|
// Refs
|
|
142
75
|
const root = ref();
|
|
143
76
|
const content = ref();
|
|
77
|
+
// Styles
|
|
78
|
+
const rootStyles = computed(() => ['or-bottom-sheet-v3', ...BottomSheet, ...BottomSheetVariants[props.variant]]);
|
|
79
|
+
const handleStyles = computed(() => [...BottomSheetHandle]);
|
|
80
|
+
const headerStyles = computed(() => [...BottomSheetHeader]);
|
|
144
81
|
// State
|
|
145
82
|
const {
|
|
146
83
|
state,
|
|
@@ -149,17 +86,64 @@ var script = defineComponent({
|
|
|
149
86
|
toggle
|
|
150
87
|
} = usePopoverState(toRef(props, 'isOpen'), context.emit);
|
|
151
88
|
const fullscreen = ref(false);
|
|
152
|
-
// Effects
|
|
153
|
-
// #region Swipe
|
|
154
|
-
const {
|
|
155
|
-
rootInlineStyles
|
|
156
|
-
} = useBottomSheetSwipeState(root, content, fullscreen, toRef(props, 'variant'), close);
|
|
157
|
-
// #endregion
|
|
158
89
|
watch(state, value => {
|
|
159
90
|
if (value === 'closed') {
|
|
160
91
|
fullscreen.value = false;
|
|
161
92
|
}
|
|
162
93
|
});
|
|
94
|
+
const isEventSkipped = event => {
|
|
95
|
+
return event.composedPath().includes(content.value) && fullscreen.value;
|
|
96
|
+
};
|
|
97
|
+
// Effects
|
|
98
|
+
// #region Swipe
|
|
99
|
+
const swipeOptions = {
|
|
100
|
+
threshold: 4,
|
|
101
|
+
onSwipe(event) {
|
|
102
|
+
if (isEventSkipped(event)) {
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
if (props.variant === BottomSheetVariant.Advanced) {
|
|
106
|
+
const rootElement = unref(root);
|
|
107
|
+
Object.assign(rootElement.style, {
|
|
108
|
+
transitionProperty: 'none',
|
|
109
|
+
minHeight: `${rootElement.clientHeight - event.offsetY}px`,
|
|
110
|
+
maxHeight: `${rootElement.clientHeight - event.offsetY}px`
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
onSwipeEnd(event, direction) {
|
|
115
|
+
if (isEventSkipped(event)) {
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
if (props.variant === BottomSheetVariant.Advanced) {
|
|
119
|
+
const rootElement = unref(root);
|
|
120
|
+
switch (direction) {
|
|
121
|
+
case SwipeDirection.UP:
|
|
122
|
+
Object.assign(rootElement.style, {
|
|
123
|
+
transitionProperty: 'min-height, max-height',
|
|
124
|
+
minHeight: '100%',
|
|
125
|
+
maxHeight: '100%'
|
|
126
|
+
});
|
|
127
|
+
fullscreen.value = true;
|
|
128
|
+
break;
|
|
129
|
+
case SwipeDirection.DOWN:
|
|
130
|
+
Object.assign(rootElement.style, {
|
|
131
|
+
transitionProperty: 'min-height, max-height',
|
|
132
|
+
minHeight: '0',
|
|
133
|
+
maxHeight: '50%'
|
|
134
|
+
});
|
|
135
|
+
if (fullscreen.value) {
|
|
136
|
+
fullscreen.value = false;
|
|
137
|
+
} else {
|
|
138
|
+
close();
|
|
139
|
+
}
|
|
140
|
+
break;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
usePointerSwipe(root, swipeOptions);
|
|
146
|
+
// #endregion
|
|
163
147
|
// #region Click Outside
|
|
164
148
|
onClickOutside(root, event => {
|
|
165
149
|
const path = event.composedPath();
|
|
@@ -173,17 +157,10 @@ var script = defineComponent({
|
|
|
173
157
|
}
|
|
174
158
|
});
|
|
175
159
|
// #endregion
|
|
176
|
-
// Styles
|
|
177
|
-
const rootStyles = computed(() => ['or-bottom-sheet-v3', ...BottomSheet, ...BottomSheetVariants[props.variant]]);
|
|
178
|
-
const handleStyles = computed(() => [...BottomSheetHandle]);
|
|
179
|
-
const headerStyles = computed(() => [...BottomSheetHeader]);
|
|
180
|
-
const contentStyles = computed(() => [...BottomSheetContent, fullscreen.value || props.variant === BottomSheetVariant.Basic ? 'overflow-y-auto' : 'overflow-hidden']);
|
|
181
160
|
return {
|
|
182
161
|
root,
|
|
183
162
|
content,
|
|
184
163
|
rootStyles,
|
|
185
|
-
rootInlineStyles,
|
|
186
|
-
contentStyles,
|
|
187
164
|
handleStyles,
|
|
188
165
|
headerStyles,
|
|
189
166
|
state,
|
|
@@ -209,15 +186,14 @@ var __vue_render__ = function () {
|
|
|
209
186
|
}
|
|
210
187
|
}, [_c('div', _vm._b({
|
|
211
188
|
ref: "root",
|
|
212
|
-
class: _vm.rootStyles
|
|
213
|
-
style: _vm.rootInlineStyles
|
|
189
|
+
class: _vm.rootStyles
|
|
214
190
|
}, 'div', _vm.$attrs, false), [_vm.variant === 'advanced' ? [_c('div', {
|
|
215
191
|
class: _vm.handleStyles
|
|
216
192
|
})] : _vm._e(), _vm._v(" "), _c('div', {
|
|
217
193
|
class: _vm.headerStyles
|
|
218
194
|
}, [_vm._t("header")], 2), _vm._v(" "), _c('div', {
|
|
219
195
|
ref: "content",
|
|
220
|
-
class: _vm.
|
|
196
|
+
class: [_vm.fullscreen ? 'overflow-y-auto' : 'overflow-hidden']
|
|
221
197
|
}, [_vm._t("default")], 2)], 2)]) : _vm._e();
|
|
222
198
|
};
|
|
223
199
|
var __vue_staticRenderFns__ = [];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$2 } from './OrIconButton-
|
|
3
|
-
import { _ as __vue_component__$4 } from './OrSearch-
|
|
2
|
+
import { _ as __vue_component__$2 } from './OrIconButton-de8ae81d.js';
|
|
3
|
+
import { _ as __vue_component__$4 } from './OrSearch-100d091c.js';
|
|
4
4
|
import './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
5
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
|
-
import { _ as __vue_component__$3 } from './OrSorting-
|
|
6
|
+
import { _ as __vue_component__$3 } from './OrSorting-10b0384b.js';
|
|
7
7
|
|
|
8
8
|
const CardCollectionRoot = [
|
|
9
9
|
// Layout
|
|
@@ -15,11 +15,11 @@ import { u as useTheme } from './useTheme-e23d13c8.js';
|
|
|
15
15
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
16
16
|
import { _ as __vue_component__$1 } from './OrError-4ffc1c39.js';
|
|
17
17
|
import { _ as __vue_component__$2 } from './OrHint-aa221198.js';
|
|
18
|
-
import { _ as __vue_component__$3 } from './OrIconButton-
|
|
18
|
+
import { _ as __vue_component__$3 } from './OrIconButton-de8ae81d.js';
|
|
19
19
|
import { _ as __vue_component__$4 } from './OrInputBox-7dc5b9e9.js';
|
|
20
20
|
import './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
21
21
|
import { _ as __vue_component__$5 } from './OrLabel-63380256.js';
|
|
22
|
-
import { _ as __vue_component__$6 } from './OrModal-
|
|
22
|
+
import { _ as __vue_component__$6 } from './OrModal-b94a7c06.js';
|
|
23
23
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
24
24
|
|
|
25
25
|
var CodeLanguage;
|
|
@@ -5,7 +5,7 @@ import { u as usePopoverState } from './usePopoverState-b92c698b.js';
|
|
|
5
5
|
import '@onereach/styles/tailwind.config';
|
|
6
6
|
import 'tailwindcss/resolveConfig';
|
|
7
7
|
import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-9622e713.js';
|
|
8
|
-
import { _ as __vue_component__$3 } from './OrInput-
|
|
8
|
+
import { _ as __vue_component__$3 } from './OrInput-46919978.js';
|
|
9
9
|
import { _ as __vue_component__$1 } from './OrOverlay-948346df.js';
|
|
10
10
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
11
11
|
|
|
@@ -4,15 +4,15 @@ 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 { _ as __vue_component__$1, a as __vue_component__$2, b as __vue_component__$3, c as __vue_component__$4, d as __vue_component__$5, e as __vue_component__$6, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-
|
|
7
|
+
import { _ as __vue_component__$1, a as __vue_component__$2, b as __vue_component__$3, c as __vue_component__$4, d as __vue_component__$5, e as __vue_component__$6, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-2c99c0f9.js';
|
|
8
8
|
import { _ as __vue_component__$7 } from './OrError-4ffc1c39.js';
|
|
9
9
|
import { _ as __vue_component__$8 } from './OrHint-aa221198.js';
|
|
10
|
-
import { _ as __vue_component__$a } from './OrIconButton-
|
|
10
|
+
import { _ as __vue_component__$a } from './OrIconButton-de8ae81d.js';
|
|
11
11
|
import { _ as __vue_component__$9 } from './OrIcon-d35a84d8.js';
|
|
12
12
|
import { _ as __vue_component__$b } from './OrInputBox-7dc5b9e9.js';
|
|
13
13
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
14
14
|
import { _ as __vue_component__$c } from './OrLabel-63380256.js';
|
|
15
|
-
import { _ as __vue_component__$d } from './OrPopover-
|
|
15
|
+
import { _ as __vue_component__$d } from './OrPopover-68e5429c.js';
|
|
16
16
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
17
17
|
|
|
18
18
|
const DatePicker = [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as script } from './OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
1
|
+
import { s as script } from './OrDateTimePicker.vue_rollup-plugin-vue_script-8df798df.js';
|
|
2
2
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
3
3
|
|
|
4
4
|
/* script */
|
|
@@ -6,13 +6,13 @@ import '@onereach/styles/tailwind.config';
|
|
|
6
6
|
import 'tailwindcss/resolveConfig';
|
|
7
7
|
import { _ as __vue_component__$9 } from './OrError-4ffc1c39.js';
|
|
8
8
|
import { _ as __vue_component__$a } from './OrHint-aa221198.js';
|
|
9
|
-
import { _ as __vue_component__$c } from './OrIconButton-
|
|
9
|
+
import { _ as __vue_component__$c } from './OrIconButton-de8ae81d.js';
|
|
10
10
|
import { _ as __vue_component__$b } from './OrIcon-d35a84d8.js';
|
|
11
11
|
import { _ as __vue_component__$d } 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__$e } from './OrLabel-63380256.js';
|
|
14
|
-
import { _ as __vue_component__$f } from './OrPopover-
|
|
15
|
-
import { _ as __vue_component__$3, a as __vue_component__$4, b as __vue_component__$5, c as __vue_component__$6, d as __vue_component__$7, e as __vue_component__$8, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-
|
|
14
|
+
import { _ as __vue_component__$f } from './OrPopover-68e5429c.js';
|
|
15
|
+
import { _ as __vue_component__$3, a as __vue_component__$4, b as __vue_component__$5, c as __vue_component__$6, d as __vue_component__$7, e as __vue_component__$8, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-2c99c0f9.js';
|
|
16
16
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
17
17
|
import { _ as __vue_component__$2 } from './OrButton-9622e713.js';
|
|
18
18
|
|
|
@@ -6,11 +6,11 @@ import 'tailwindcss/resolveConfig';
|
|
|
6
6
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
7
7
|
import { _ as __vue_component__$6 } from './OrButton-9622e713.js';
|
|
8
8
|
import { _ as __vue_component__$7 } from './OrLabel-63380256.js';
|
|
9
|
-
import { _ as __vue_component__$9 } from './OrIconButton-
|
|
9
|
+
import { _ as __vue_component__$9 } from './OrIconButton-de8ae81d.js';
|
|
10
10
|
import { _ as __vue_component__$8 } from './OrIcon-d35a84d8.js';
|
|
11
11
|
import { _ as __vue_component__$b } from './OrMenuItem-c1c97ebe.js';
|
|
12
|
-
import { _ as __vue_component__$a } from './OrMenu-
|
|
13
|
-
import './OrPopover-
|
|
12
|
+
import { _ as __vue_component__$a } from './OrMenu-27fb918a.js';
|
|
13
|
+
import './OrPopover-68e5429c.js';
|
|
14
14
|
|
|
15
15
|
function useCurrentDate() {
|
|
16
16
|
const currentDate = new Date();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, isVue3 } from 'vue-demi';
|
|
2
2
|
import { _ as __vue_component__$1, I as IconSize } from './OrIcon-d35a84d8.js';
|
|
3
|
-
import { _ as __vue_component__$2 } from './OrTooltip-
|
|
4
|
-
import './OrPopover-
|
|
3
|
+
import { _ as __vue_component__$2 } from './OrTooltip-822a29f0.js';
|
|
4
|
+
import './OrPopover-68e5429c.js';
|
|
5
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
6
|
|
|
7
7
|
var IconButtonColor;
|
|
@@ -7,7 +7,7 @@ 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-de8ae81d.js';
|
|
11
11
|
import { _ as __vue_component__$4, I as InlineInputBoxSize } from './OrInlineInputBox-19b49ee6.js';
|
|
12
12
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
13
13
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -7,7 +7,7 @@ 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-de8ae81d.js';
|
|
11
11
|
import { _ as __vue_component__$4 } from './OrInlineInputBox-19b49ee6.js';
|
|
12
12
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
13
13
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -2,13 +2,13 @@ import { defineComponent, ref, computed, reactive, toRef } from 'vue-demi';
|
|
|
2
2
|
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
5
|
-
import { u as useResponsive } from './useResponsive-
|
|
5
|
+
import { u as useResponsive } from './useResponsive-bb091958.js';
|
|
6
6
|
import '@onereach/styles/tailwind.config';
|
|
7
7
|
import 'tailwindcss/resolveConfig';
|
|
8
8
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
9
9
|
import { _ as __vue_component__$1 } from './OrError-4ffc1c39.js';
|
|
10
10
|
import { _ as __vue_component__$2 } from './OrHint-aa221198.js';
|
|
11
|
-
import { _ as __vue_component__$4 } from './OrIconButton-
|
|
11
|
+
import { _ as __vue_component__$4 } from './OrIconButton-de8ae81d.js';
|
|
12
12
|
import { _ as __vue_component__$3 } from './OrIcon-d35a84d8.js';
|
|
13
13
|
import { _ as __vue_component__$5 } from './OrInputBox-7dc5b9e9.js';
|
|
14
14
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
@@ -129,9 +129,6 @@ var script = defineComponent({
|
|
|
129
129
|
});
|
|
130
130
|
const maxLength = computed(() => controlAttributes.maxlength);
|
|
131
131
|
const disclosed = ref(false);
|
|
132
|
-
const {
|
|
133
|
-
isMobile
|
|
134
|
-
} = useResponsive();
|
|
135
132
|
// Methods
|
|
136
133
|
function focus() {
|
|
137
134
|
var _a;
|
|
@@ -141,6 +138,10 @@ var script = defineComponent({
|
|
|
141
138
|
var _a;
|
|
142
139
|
(_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
143
140
|
}
|
|
141
|
+
// Helpers
|
|
142
|
+
const {
|
|
143
|
+
isMobile
|
|
144
|
+
} = useResponsive(root);
|
|
144
145
|
return {
|
|
145
146
|
root,
|
|
146
147
|
control,
|
|
@@ -151,14 +152,14 @@ var script = defineComponent({
|
|
|
151
152
|
currentLength,
|
|
152
153
|
maxLength,
|
|
153
154
|
disclosed,
|
|
154
|
-
isMobile,
|
|
155
155
|
focus,
|
|
156
|
-
blur
|
|
156
|
+
blur,
|
|
157
|
+
isMobile
|
|
157
158
|
};
|
|
158
159
|
}
|
|
159
160
|
});
|
|
160
161
|
|
|
161
|
-
var css_248z = "input[data-v-
|
|
162
|
+
var css_248z = "input[data-v-0c853770]{min-width:0;background:0 0;outline:0}input[type=number][data-v-0c853770]::-webkit-inner-spin-button{display:none}input[type=search][data-v-0c853770]::-webkit-search-cancel-button{display:none}";
|
|
162
163
|
styleInject(css_248z);
|
|
163
164
|
|
|
164
165
|
/* script */
|
|
@@ -418,7 +419,7 @@ var __vue_staticRenderFns__ = [];
|
|
|
418
419
|
/* style */
|
|
419
420
|
const __vue_inject_styles__ = undefined;
|
|
420
421
|
/* scoped */
|
|
421
|
-
const __vue_scope_id__ = "data-v-
|
|
422
|
+
const __vue_scope_id__ = "data-v-0c853770";
|
|
422
423
|
/* module identifier */
|
|
423
424
|
const __vue_module_identifier__ = undefined;
|
|
424
425
|
/* functional template */
|
|
@@ -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-68e5429c.js';
|
|
7
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
8
8
|
|
|
9
9
|
const Menu = [
|
|
@@ -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-de8ae81d.js';
|
|
9
9
|
|
|
10
10
|
const ModalContent = [
|
|
11
11
|
// Layout
|
|
@@ -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-de8ae81d.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,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-bb091958.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-27fb918a.js';
|
|
11
|
+
import './OrPopover-68e5429c.js';
|
|
12
12
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
13
13
|
|
|
14
14
|
const PaginationRoot = [
|
|
@@ -65,10 +65,6 @@ 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();
|
|
72
68
|
// Refs
|
|
73
69
|
const root = ref();
|
|
74
70
|
const limitButton = ref();
|
|
@@ -162,9 +158,12 @@ var script = defineComponent({
|
|
|
162
158
|
function toPage(page) {
|
|
163
159
|
currentPage.value = page;
|
|
164
160
|
}
|
|
165
|
-
|
|
161
|
+
// Helpers
|
|
162
|
+
const {
|
|
166
163
|
isDesktop,
|
|
167
|
-
isMobile
|
|
164
|
+
isMobile
|
|
165
|
+
} = useResponsive(root);
|
|
166
|
+
return {
|
|
168
167
|
root,
|
|
169
168
|
limitButton,
|
|
170
169
|
limitButtonRoot,
|
|
@@ -183,7 +182,9 @@ var script = defineComponent({
|
|
|
183
182
|
buttonGroup,
|
|
184
183
|
toPreviousPage,
|
|
185
184
|
toNextPage,
|
|
186
|
-
toPage
|
|
185
|
+
toPage,
|
|
186
|
+
isDesktop,
|
|
187
|
+
isMobile
|
|
187
188
|
};
|
|
188
189
|
}
|
|
189
190
|
});
|
|
@@ -3,10 +3,10 @@ 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-bb091958.js';
|
|
7
7
|
import '@onereach/styles/tailwind.config';
|
|
8
8
|
import 'tailwindcss/resolveConfig';
|
|
9
|
-
import { _ as __vue_component__$1 } from './OrBottomSheet-
|
|
9
|
+
import { _ as __vue_component__$1 } from './OrBottomSheet-4a78742a.js';
|
|
10
10
|
import { _ as __vue_component__$2 } from './OrTeleport.vue2-424c7f33.js';
|
|
11
11
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
12
12
|
|
|
@@ -122,10 +122,6 @@ 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();
|
|
129
125
|
// Refs
|
|
130
126
|
const root = ref();
|
|
131
127
|
const bottomSheet = ref();
|
|
@@ -145,6 +141,11 @@ var script = defineComponent({
|
|
|
145
141
|
} = usePopoverState(toRef(props, 'isOpen'), context.emit);
|
|
146
142
|
const isFlipped = ref(false);
|
|
147
143
|
const isHidden = ref(false);
|
|
144
|
+
// Helpers
|
|
145
|
+
const {
|
|
146
|
+
isDesktop,
|
|
147
|
+
isMobile
|
|
148
|
+
} = useResponsive(root);
|
|
148
149
|
// Effects
|
|
149
150
|
watchPostEffect(() => {
|
|
150
151
|
const rootElement = unref(root);
|
|
@@ -196,8 +197,6 @@ var script = defineComponent({
|
|
|
196
197
|
});
|
|
197
198
|
// #endregion
|
|
198
199
|
return {
|
|
199
|
-
isDesktop,
|
|
200
|
-
isMobile,
|
|
201
200
|
root,
|
|
202
201
|
bottomSheet,
|
|
203
202
|
bottomSheetRoot,
|
|
@@ -206,6 +205,8 @@ var script = defineComponent({
|
|
|
206
205
|
state,
|
|
207
206
|
isFlipped,
|
|
208
207
|
isHidden,
|
|
208
|
+
isDesktop,
|
|
209
|
+
isMobile,
|
|
209
210
|
open,
|
|
210
211
|
close,
|
|
211
212
|
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-bb091958.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,9 +121,6 @@ var script = defineComponent({
|
|
|
121
121
|
},
|
|
122
122
|
expose: ['root'],
|
|
123
123
|
setup(props) {
|
|
124
|
-
const {
|
|
125
|
-
isMobile
|
|
126
|
-
} = useResponsive();
|
|
127
124
|
// Refs
|
|
128
125
|
const root = ref();
|
|
129
126
|
// Slots
|
|
@@ -182,6 +179,10 @@ var script = defineComponent({
|
|
|
182
179
|
return width.value ? width.value - 2 : '100%';
|
|
183
180
|
});
|
|
184
181
|
const strokeDashoffset = computed(() => props.loading ? undefined : (1 - localProgress.value) * strokeDasharray.value);
|
|
182
|
+
// Helpers
|
|
183
|
+
const {
|
|
184
|
+
isMobile
|
|
185
|
+
} = useResponsive(root);
|
|
185
186
|
return {
|
|
186
187
|
root,
|
|
187
188
|
rootStyles,
|
|
@@ -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-46919978.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
|
|
|
@@ -9,15 +9,15 @@ import { _ as __vue_component__$1, i as isEmptyValue } from './OrCheckbox-9e76cd
|
|
|
9
9
|
import { _ as __vue_component__$2 } from './OrError-4ffc1c39.js';
|
|
10
10
|
import { _ as __vue_component__$3 } from './OrExpansionPanel-f1d8fcc9.js';
|
|
11
11
|
import { _ as __vue_component__$4 } from './OrHint-aa221198.js';
|
|
12
|
-
import { _ as __vue_component__$6 } from './OrIconButton-
|
|
12
|
+
import { _ as __vue_component__$6 } from './OrIconButton-de8ae81d.js';
|
|
13
13
|
import { _ as __vue_component__$5 } from './OrIcon-d35a84d8.js';
|
|
14
14
|
import { _ as __vue_component__$8 } from './OrInputBox-7dc5b9e9.js';
|
|
15
15
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
16
|
-
import { _ as __vue_component__$7 } from './OrInput-
|
|
16
|
+
import { _ as __vue_component__$7 } from './OrInput-46919978.js';
|
|
17
17
|
import { _ as __vue_component__$9 } from './OrLabel-63380256.js';
|
|
18
18
|
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-
|
|
19
|
+
import { _ as __vue_component__$b } from './OrPopover-68e5429c.js';
|
|
20
|
+
import { _ as __vue_component__$c } from './OrTag-292bd115.js';
|
|
21
21
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
22
22
|
|
|
23
23
|
const SelectRoot = [
|
|
@@ -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-39d92879.js';
|
|
4
4
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
5
|
|
|
6
6
|
const SidebarRoot = [
|
package/dist/esm/v2/{OrSidebarCollapseButton-07d12eb4.js → OrSidebarCollapseButton-39d92879.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-de8ae81d.js';
|
|
3
3
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
4
4
|
|
|
5
5
|
var OrSidebarPlacement;
|
|
@@ -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-27fb918a.js';
|
|
3
|
+
import './OrPopover-68e5429c.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';
|
|
@@ -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-27fb918a.js';
|
|
9
|
+
import './OrPopover-68e5429c.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-de8ae81d.js';
|
|
3
3
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
4
4
|
|
|
5
5
|
var TagVariant;
|