@onereach/ui-components 4.16.1 → 4.16.2-beta.3081.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 +24 -62
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +1052 -0
- package/dist/bundled/v2/components/OrBottomSheetV3/hooks/useSwipe.d.ts +530 -0
- package/dist/bundled/v2/components/OrBottomSheetV3/hooks/useSwipe.js +68 -0
- package/dist/bundled/v2/components/OrBottomSheetV3/index.js +6 -1
- package/dist/bundled/v2/components/OrBottomSheetV3/styles.d.ts +1 -0
- package/dist/bundled/v2/components/OrBottomSheetV3/styles.js +2 -1
- 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 +6 -1
- package/dist/bundled/v2/components/OrCardCollectionV3/index.js +6 -1
- 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 +3 -2
- package/dist/bundled/v2/components/OrCodeV3/index.js +6 -5
- 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 +6 -1
- package/dist/bundled/v2/components/OrConfirmV3/index.js +6 -1
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +8 -3
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +8 -3
- 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 +9 -4
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +9 -4
- package/dist/bundled/v2/components/OrIconButtonV3/OrIconButton.js +6 -1
- package/dist/bundled/v2/components/OrIconButtonV3/index.js +6 -1
- package/dist/bundled/v2/components/OrInlineInputV3/OrInlineInput.js +6 -1
- package/dist/bundled/v2/components/OrInlineInputV3/index.js +6 -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/OrInlineTextareaV3/OrInlineTextarea.js +6 -1
- package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +6 -1
- package/dist/bundled/v2/components/OrInputV3/OrInput.js +6 -1
- package/dist/bundled/v2/components/OrInputV3/index.js +6 -1
- 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 +6 -1
- package/dist/bundled/v2/components/OrMenuV3/index.js +6 -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/OrModalV3/OrModal.js +6 -1
- package/dist/bundled/v2/components/OrModalV3/index.js +6 -1
- package/dist/bundled/v2/components/OrNotificationV3/OrNotification.js +6 -1
- package/dist/bundled/v2/components/OrNotificationV3/index.js +6 -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/OrOverlayV3/OrOverlay.js +1 -1
- package/dist/bundled/v2/components/OrOverlayV3/index.js +1 -1
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.js +6 -1
- package/dist/bundled/v2/components/OrPaginationV3/index.js +6 -1
- 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 -1
- package/dist/bundled/v2/components/OrPopoverV3/index.js +6 -1
- package/dist/bundled/v2/components/OrProgressV3/OrProgress.js +1 -1
- package/dist/bundled/v2/components/OrProgressV3/index.js +1 -1
- package/dist/bundled/v2/components/OrSearchV3/OrSearch.js +6 -1
- package/dist/bundled/v2/components/OrSearchV3/index.js +6 -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/OrSelectV3/OrSelect.js +6 -1
- package/dist/bundled/v2/components/OrSelectV3/index.js +6 -1
- 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 +6 -1
- package/dist/bundled/v2/components/OrSidebarV3/index.js +6 -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/OrSortingV3/OrSorting.js +6 -1
- package/dist/bundled/v2/components/OrSortingV3/index.js +6 -1
- 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 +6 -1
- package/dist/bundled/v2/components/OrTabsV3/index.js +6 -1
- package/dist/bundled/v2/components/OrTagInputV3/OrTagInput.js +6 -1
- package/dist/bundled/v2/components/OrTagInputV3/index.js +6 -1
- package/dist/bundled/v2/components/OrTagV3/OrTag.js +6 -1
- package/dist/bundled/v2/components/OrTagV3/index.js +6 -1
- package/dist/bundled/v2/components/OrTagsV3/OrTags.js +6 -1
- package/dist/bundled/v2/components/OrTagsV3/index.js +6 -1
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +8 -3
- package/dist/bundled/v2/components/OrTimePickerV3/index.js +8 -3
- 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 +6 -1
- package/dist/bundled/v2/components/OrToastContainerV3/index.js +6 -1
- package/dist/bundled/v2/components/OrToastV3/OrToast.js +6 -1
- 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 +6 -1
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.js +6 -1
- package/dist/bundled/v2/components/OrTooltipV3/index.js +6 -1
- 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 +8 -7
- 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.js +1 -1
- package/dist/bundled/v2/{index-760079e7.js → index-509d77a1.js} +2 -2
- package/dist/bundled/v2/index.js +5 -4
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-c07ed3a1.js → OrBottomSheet.vue_vue_type_script_lang-adcd8d5d.js} +18 -61
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-7370e903.js → OrButton.vue_vue_type_script_lang-098131d0.js} +1 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-b6569f84.js → OrCardCollection.vue_vue_type_script_lang-54c9a5ee.js} +3 -3
- package/dist/bundled/v3/{OrCheckboxGroup.vue_vue_type_script_lang-72b54d71.js → OrCheckboxGroup.vue_vue_type_script_lang-ff3d450b.js} +1 -1
- package/dist/bundled/v3/{OrCheckboxTree.vue_vue_type_script_lang-79be356f.js → OrCheckboxTree.vue_vue_type_script_lang-120abecd.js} +1 -1
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-316f39e6.js → OrCode.vue_vue_type_script_lang-bc0b5585.js} +3 -3
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-f3f122bf.js → OrCode.vue_vue_type_script_lang-cf7a8bd8.js} +2 -2
- package/dist/bundled/v3/{OrColorPicker.vue_vue_type_script_lang-7c9b353d.js → OrColorPicker.vue_vue_type_script_lang-5ad76fcb.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-836e2a0f.js → OrConfirm.vue_vue_type_script_lang-2cf04079.js} +2 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-2bcf9fd1.js → OrConfirm.vue_vue_type_script_lang-b153ce1b.js} +4 -4
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-fbd95665.js → OrDatePicker.vue_vue_type_script_lang-35942239.js} +4 -4
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-7dbc5de3.js → OrDateTimePicker.vue_vue_type_script_lang-428815ba.js} +5 -5
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-b7857a99.js → OrDateTimePicker.vue_vue_type_script_lang-e913f82c.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-95e33ca0.js → OrDateTimePickerMonthSelect-af991d2a.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePickerPopoverHeader-4959231c.js → OrDateTimePickerPopoverHeader-dec42484.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePickerTimeSelect-b8cc72af.js → OrDateTimePickerTimeSelect-ae24d04e.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-590899a3.js → OrIconButton.vue_vue_type_script_lang-622d8a94.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-c05c08e4.js → OrInlineInput.vue_vue_type_script_lang-ddcdcce7.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextEdit.vue_vue_type_script_lang-58bc1a00.js → OrInlineTextEdit.vue_vue_type_script_lang-7a921f8b.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-849178e7.js → OrInlineTextarea.vue_vue_type_script_lang-02349167.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-04e7774f.js → OrInput.vue_vue_type_script_lang-00d55e43.js} +2 -2
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-a21dc976.js → OrLoader.vue_vue_type_script_lang-0395ad21.js} +1 -1
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-5e1d4d75.js → OrMenu.vue_vue_type_script_lang-afd70493.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-88fa589e.js → OrModal.vue_vue_type_script_lang-34da4134.js} +2 -2
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-32c395a3.js → OrModal.vue_vue_type_script_lang-71e928a9.js} +1 -1
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-53e82265.js → OrNotification.vue_vue_type_script_lang-e2a91f73.js} +1 -1
- package/dist/bundled/v3/{OrOverflowMenu.vue_vue_type_script_lang-e077c7fd.js → OrOverflowMenu.vue_vue_type_script_lang-09e92920.js} +1 -1
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-9036d75d.js → OrOverlay.vue_vue_type_script_lang-01c9e89b.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-a4a67a47.js → OrPagination.vue_vue_type_script_lang-8183562b.js} +2 -2
- package/dist/bundled/v3/{OrPassword.vue_vue_type_script_lang-0a87f331.js → OrPassword.vue_vue_type_script_lang-5348110a.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-24f2bc49.js → OrPopover.vue_vue_type_script_lang-ea2386cc.js} +2 -2
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-2d5ead47.js → OrProgress.vue_vue_type_script_lang-5573d34e.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-a9d66616.js → OrSearch.vue_vue_type_script_lang-141913d2.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-29577967.js → OrSelect.vue_vue_type_script_lang-5ffa2e9e.js} +4 -4
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-b8b014f6.js → OrSelect.vue_vue_type_script_lang-dce0a817.js} +1 -1
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-c5ba93ca.js → OrSidebar.vue_vue_type_script_lang-717ecec5.js} +2 -2
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-cac8e5b7.js → OrSidebar.vue_vue_type_script_lang-81941fe6.js} +1 -1
- package/dist/bundled/v3/{OrSlider.vue_vue_type_script_lang-9ae4141f.js → OrSlider.vue_vue_type_script_lang-aff2dfa0.js} +1 -1
- package/dist/bundled/v3/{OrSorting.vue_vue_type_script_lang-bacfeefa.js → OrSorting.vue_vue_type_script_lang-4f4e7250.js} +2 -2
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-2014e70b.js → OrSwitch.vue_vue_type_script_lang-ee55263f.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-c2191c3d.js → OrTabs.vue_vue_type_script_lang-4c3f798e.js} +2 -2
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-631bc867.js → OrTag.vue_vue_type_script_lang-1f6c6530.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-ee7c83eb.js → OrTagInput.vue_vue_type_script_lang-99759475.js} +2 -2
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-22fcc56b.js → OrTags.vue_vue_type_script_lang-f9defb8f.js} +3 -3
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-7be29cfc.js → OrTimePicker.vue_vue_type_script_lang-773a9726.js} +4 -4
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-0b90a2ea.js → OrTooltip.vue_vue_type_script_lang-e2325636.js} +1 -1
- package/dist/bundled/v3/{OrTree.vue_vue_type_script_lang-99197964.js → OrTree.vue_vue_type_script_lang-1606b260.js} +1 -1
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +12 -6
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +526 -0
- package/dist/bundled/v3/components/OrBottomSheetV3/hooks/useSwipe.d.ts +530 -0
- package/dist/bundled/v3/components/OrBottomSheetV3/hooks/useSwipe.js +68 -0
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +8 -3
- package/dist/bundled/v3/components/OrBottomSheetV3/styles.d.ts +1 -0
- package/dist/bundled/v3/components/OrBottomSheetV3/styles.js +2 -1
- 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 +19 -14
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +18 -13
- 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 +14 -13
- package/dist/bundled/v3/components/OrCodeV3/index.js +13 -12
- 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 +16 -11
- package/dist/bundled/v3/components/OrConfirmV3/index.js +15 -10
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +18 -13
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +17 -12
- 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 +19 -14
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +18 -13
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +12 -7
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +11 -6
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +13 -8
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +12 -7
- 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 +13 -8
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +12 -7
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +14 -9
- package/dist/bundled/v3/components/OrInputV3/index.js +13 -8
- 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 +11 -6
- package/dist/bundled/v3/components/OrMenuV3/index.js +10 -5
- 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 +13 -8
- package/dist/bundled/v3/components/OrModalV3/index.js +12 -7
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +13 -8
- package/dist/bundled/v3/components/OrNotificationV3/index.js +12 -7
- 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 +14 -9
- package/dist/bundled/v3/components/OrPaginationV3/index.js +13 -8
- 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 +10 -5
- package/dist/bundled/v3/components/OrPopoverV3/index.js +9 -4
- 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 +15 -10
- package/dist/bundled/v3/components/OrSearchV3/index.js +14 -9
- 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 +16 -11
- package/dist/bundled/v3/components/OrSelectV3/index.js +15 -10
- 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 +13 -8
- package/dist/bundled/v3/components/OrSidebarV3/index.js +12 -7
- 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 +14 -9
- package/dist/bundled/v3/components/OrSortingV3/index.js +13 -8
- 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 +12 -7
- package/dist/bundled/v3/components/OrTabsV3/index.js +11 -6
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +17 -12
- package/dist/bundled/v3/components/OrTagInputV3/index.js +16 -11
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +13 -8
- package/dist/bundled/v3/components/OrTagV3/index.js +12 -7
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +16 -11
- package/dist/bundled/v3/components/OrTagsV3/index.js +15 -10
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +17 -12
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +16 -11
- 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 +14 -9
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +13 -8
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +12 -7
- 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 +13 -8
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +11 -6
- package/dist/bundled/v3/components/OrTooltipV3/index.js +10 -5
- 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 +54 -53
- 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.js +1 -1
- package/dist/bundled/v3/{index-e11e05e2.js → index-929e224a.js} +2 -2
- package/dist/bundled/v3/index.js +51 -50
- package/dist/esm/v2/{OrBottomSheet-4a78742a.js → OrBottomSheet-4db34368.js} +78 -61
- package/dist/esm/v2/{OrCardCollection-ed87aa1c.js → OrCardCollection-83256dcf.js} +3 -3
- package/dist/esm/v2/{OrCode-1f55e2bf.js → OrCode-5dab02b6.js} +2 -2
- package/dist/esm/v2/{OrConfirm-ac1c3938.js → OrConfirm-486e8335.js} +1 -1
- package/dist/esm/v2/{OrDatePicker-566f983c.js → OrDatePicker-bea9e755.js} +3 -3
- package/dist/esm/v2/{OrDateTimePicker-2acbba82.js → OrDateTimePicker-68f5fcdb.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-42274298.js → OrDateTimePicker.vue_rollup-plugin-vue_script-5367acce.js} +3 -3
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-cbc0db61.js → OrDateTimePickerPopoverHeader-5ee8732a.js} +3 -3
- package/dist/esm/v2/{OrIconButton-c7400430.js → OrIconButton-d2c723d5.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-76e293b3.js → OrInlineInput-c8811621.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-25779658.js → OrInlineTextarea-b4eadf91.js} +1 -1
- package/dist/esm/v2/{OrInput-41603455.js → OrInput-625189c1.js} +1 -1
- package/dist/esm/v2/{OrMenu-df584a8c.js → OrMenu-5306b0d7.js} +1 -1
- package/dist/esm/v2/{OrModal-773fe75c.js → OrModal-e9996b37.js} +1 -1
- package/dist/esm/v2/{OrNotification-a279c8a6.js → OrNotification-dfc577e0.js} +1 -1
- package/dist/esm/v2/{OrPagination-a5db10f7.js → OrPagination-b6562b60.js} +2 -2
- package/dist/esm/v2/{OrPopover-018274a5.js → OrPopover-276976c5.js} +1 -1
- package/dist/esm/v2/{OrSearch-d5b51596.js → OrSearch-53e9714a.js} +1 -1
- package/dist/esm/v2/{OrSelect-06125324.js → OrSelect-8bd54111.js} +4 -4
- package/dist/esm/v2/{OrSidebar-90ba92ed.js → OrSidebar-cb58bf39.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-1d4a5907.js → OrSidebarCollapseButton-849d8e86.js} +1 -1
- package/dist/esm/v2/{OrSorting-3ce7e017.js → OrSorting-51d54c06.js} +2 -2
- package/dist/esm/v2/{OrTabs-45e6ad4d.js → OrTabs-72f6cd49.js} +2 -2
- package/dist/esm/v2/{OrTag-47b9111c.js → OrTag-5eb51cdd.js} +1 -1
- package/dist/esm/v2/{OrTagInput-d9ea325e.js → OrTagInput-19a8a8ef.js} +2 -2
- package/dist/esm/v2/{OrTags-6bf4fb3a.js → OrTags-6a1437b4.js} +2 -2
- package/dist/esm/v2/{OrTimePicker-658ac979.js → OrTimePicker-6a2e353a.js} +4 -4
- package/dist/esm/v2/{OrTooltip-4c6e799d.js → OrTooltip-37dccf51.js} +1 -1
- package/dist/esm/v2/components/index.js +30 -30
- package/dist/esm/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +1052 -0
- package/dist/esm/v2/components/or-bottom-sheet-v3/hooks/useSwipe.d.ts +530 -0
- package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +2 -1
- package/dist/esm/v2/components/or-bottom-sheet-v3/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-card-collection-v3/index.js +10 -9
- package/dist/esm/v2/components/or-code-v3/index.js +6 -6
- package/dist/esm/v2/components/or-confirm-v3/index.js +7 -6
- package/dist/esm/v2/components/or-date-picker-v3/index.js +8 -7
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +9 -8
- package/dist/esm/v2/components/or-icon-button-v3/index.js +5 -4
- package/dist/esm/v2/components/or-inline-input-v3/index.js +6 -5
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +6 -5
- package/dist/esm/v2/components/or-input-v3/index.js +6 -5
- package/dist/esm/v2/components/or-menu-v3/index.js +4 -3
- package/dist/esm/v2/components/or-modal-v3/index.js +6 -5
- package/dist/esm/v2/components/or-notification-v3/index.js +6 -5
- package/dist/esm/v2/components/or-pagination-v3/index.js +5 -4
- package/dist/esm/v2/components/or-popover-v3/index.js +3 -2
- package/dist/esm/v2/components/or-search-v3/index.js +7 -6
- package/dist/esm/v2/components/or-select-v3/index.js +8 -7
- package/dist/esm/v2/components/or-sidebar-v3/index.js +7 -6
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +6 -5
- package/dist/esm/v2/components/or-sorting-v3/index.js +5 -4
- package/dist/esm/v2/components/or-tabs-v3/index.js +5 -4
- package/dist/esm/v2/components/or-tag-input-v3/index.js +8 -7
- package/dist/esm/v2/components/or-tag-v3/index.js +6 -5
- package/dist/esm/v2/components/or-tags-v3/index.js +7 -6
- package/dist/esm/v2/components/or-time-picker-v3/index.js +9 -8
- package/dist/esm/v2/components/or-toast-v3/index.js +6 -5
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +6 -5
- package/dist/esm/v2/components/or-tooltip-v3/index.js +4 -3
- package/dist/esm/v2/index.js +29 -29
- package/dist/esm/v2/{types-1dea2823.js → types-359d0a3e.js} +1 -1
- package/dist/esm/v3/{OrBottomSheet-2d3d91ef.js → OrBottomSheet-033f1a9a.js} +78 -61
- package/dist/esm/v3/{OrCardCollection-6352565a.js → OrCardCollection-39532023.js} +3 -3
- package/dist/esm/v3/{OrCode-01a2a0fe.js → OrCode-d12edac7.js} +2 -2
- package/dist/esm/v3/{OrConfirm-646b9ec3.js → OrConfirm-2941f6ba.js} +1 -1
- package/dist/esm/v3/{OrDatePicker-6349f608.js → OrDatePicker-b99fd7c8.js} +3 -3
- package/dist/esm/v3/{OrDateTimePicker-d843ed5f.js → OrDateTimePicker-2b4c045f.js} +3 -3
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-3c26fc72.js → OrDateTimePickerPopoverHeader-07159a41.js} +3 -3
- package/dist/esm/v3/{OrIconButton-81bade23.js → OrIconButton-fe2b3e9c.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-42f6e95a.js → OrInlineInput-86f6e892.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-651c67e6.js → OrInlineTextarea-96105551.js} +1 -1
- package/dist/esm/v3/{OrInput-eb04fa3a.js → OrInput-de3797eb.js} +1 -1
- package/dist/esm/v3/{OrMenu-eff42b15.js → OrMenu-32b47946.js} +1 -1
- package/dist/esm/v3/{OrModal-d2038c15.js → OrModal-6a9ba204.js} +1 -1
- package/dist/esm/v3/{OrNotification-ec688496.js → OrNotification-48212fbe.js} +1 -1
- package/dist/esm/v3/{OrPagination-7168b18f.js → OrPagination-cc9589d6.js} +2 -2
- package/dist/esm/v3/{OrPopover-56ba40ab.js → OrPopover-d8087f75.js} +1 -1
- package/dist/esm/v3/{OrSearch-47b052ea.js → OrSearch-e8fbc59a.js} +1 -1
- package/dist/esm/v3/{OrSelect-a75320da.js → OrSelect-84e7b53a.js} +4 -4
- package/dist/esm/v3/{OrSidebar-9281e0d5.js → OrSidebar-5b3d7f63.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-69e7cc73.js → OrSidebarCollapseButton-67b7383d.js} +1 -1
- package/dist/esm/v3/{OrSorting-a4247ad1.js → OrSorting-ba74bb43.js} +2 -2
- package/dist/esm/v3/{OrTabs-78f2d777.js → OrTabs-94aa96d7.js} +2 -2
- package/dist/esm/v3/{OrTag-8f452a85.js → OrTag-33fc6539.js} +1 -1
- package/dist/esm/v3/{OrTagInput-d6794a18.js → OrTagInput-084c55b6.js} +2 -2
- package/dist/esm/v3/{OrTags-77d33257.js → OrTags-0abf4773.js} +2 -2
- package/dist/esm/v3/{OrTimePicker-6a6781dc.js → OrTimePicker-1a452878.js} +4 -4
- package/dist/esm/v3/{OrTooltip-bd35ec20.js → OrTooltip-68f1802b.js} +1 -1
- package/dist/esm/v3/components/index.js +29 -29
- package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +526 -0
- package/dist/esm/v3/components/or-bottom-sheet-v3/hooks/useSwipe.d.ts +530 -0
- package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +2 -1
- package/dist/esm/v3/components/or-bottom-sheet-v3/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-card-collection-v3/index.js +10 -9
- package/dist/esm/v3/components/or-code-v3/index.js +6 -6
- package/dist/esm/v3/components/or-confirm-v3/index.js +7 -6
- package/dist/esm/v3/components/or-date-picker-v3/index.js +8 -7
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +8 -7
- package/dist/esm/v3/components/or-icon-button-v3/index.js +5 -4
- package/dist/esm/v3/components/or-inline-input-v3/index.js +6 -5
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +6 -5
- package/dist/esm/v3/components/or-input-v3/index.js +6 -5
- package/dist/esm/v3/components/or-menu-v3/index.js +4 -3
- package/dist/esm/v3/components/or-modal-v3/index.js +6 -5
- package/dist/esm/v3/components/or-notification-v3/index.js +6 -5
- package/dist/esm/v3/components/or-pagination-v3/index.js +5 -4
- package/dist/esm/v3/components/or-popover-v3/index.js +3 -2
- package/dist/esm/v3/components/or-search-v3/index.js +7 -6
- package/dist/esm/v3/components/or-select-v3/index.js +8 -7
- package/dist/esm/v3/components/or-sidebar-v3/index.js +7 -6
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +6 -5
- package/dist/esm/v3/components/or-sorting-v3/index.js +5 -4
- package/dist/esm/v3/components/or-tabs-v3/index.js +5 -4
- package/dist/esm/v3/components/or-tag-input-v3/index.js +8 -7
- package/dist/esm/v3/components/or-tag-v3/index.js +6 -5
- package/dist/esm/v3/components/or-tags-v3/index.js +7 -6
- package/dist/esm/v3/components/or-time-picker-v3/index.js +9 -8
- package/dist/esm/v3/components/or-toast-v3/index.js +6 -5
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +6 -5
- package/dist/esm/v3/components/or-tooltip-v3/index.js +4 -3
- package/dist/esm/v3/index.js +28 -28
- package/dist/esm/v3/{types-ec6fbd22.js → types-f73b681e.js} +1 -1
- package/package.json +2 -3
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +33 -83
- package/src/components/or-bottom-sheet-v3/hooks/useSwipe.ts +79 -0
- package/src/components/or-bottom-sheet-v3/styles.ts +4 -0
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-2026c46d.js → OrDateTimePickerMonthSelect-962b710c.js} +0 -0
- /package/dist/bundled/v2/{OrDateTimePickerPopoverHeader-52a99e6a.js → OrDateTimePickerPopoverHeader-03768809.js} +0 -0
- /package/dist/bundled/v2/{OrDateTimePickerTimeSelect-8851268e.js → OrDateTimePickerTimeSelect-4d42b488.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-9b7eba9b.js → OrToastContainer.vue_vue_type_script_lang-568455ff.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-f9813bc6.js → OrToastContainer.vue_vue_type_script_lang-fd410d48.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as OrToastContainerV3, t as TypesV3 } from '../../../types-
|
|
1
|
+
export { a as OrToastContainerV3, t as TypesV3 } from '../../../types-f73b681e.js';
|
|
2
2
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../../../useToast-a1332cc2.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import 'vue-demi';
|
|
@@ -7,14 +7,15 @@ import '@onereach/styles/tailwind.config';
|
|
|
7
7
|
import 'tailwindcss/resolveConfig';
|
|
8
8
|
import '../../../OrTeleport.vue3-8099178c.js';
|
|
9
9
|
import 'vue';
|
|
10
|
-
import '../../../OrIconButton-
|
|
10
|
+
import '../../../OrIconButton-fe2b3e9c.js';
|
|
11
11
|
import '../../../OrIcon-62793572.js';
|
|
12
|
-
import '../../../OrTooltip-
|
|
12
|
+
import '../../../OrTooltip-68f1802b.js';
|
|
13
13
|
import '../../../usePopoverState-b92c698b.js';
|
|
14
|
-
import '../../../OrPopover-
|
|
14
|
+
import '../../../OrPopover-d8087f75.js';
|
|
15
15
|
import '@floating-ui/dom';
|
|
16
16
|
import '../../../useResponsive-a02e95b7.js';
|
|
17
|
-
import '../../../OrBottomSheet-
|
|
17
|
+
import '../../../OrBottomSheet-033f1a9a.js';
|
|
18
18
|
import '../../../OrOverlay-489fdf76.js';
|
|
19
|
+
import '../../../useTheme-e23d13c8.js';
|
|
19
20
|
import '../../../OrLoader-b79022da.js';
|
|
20
21
|
import '../../../style-inject.es-4c6f2515.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { s as OrTooltipV3 } from '../../OrTooltip-
|
|
2
|
-
export { P as TooltipPlacement } from '../../OrPopover-
|
|
1
|
+
export { s as OrTooltipV3 } from '../../OrTooltip-68f1802b.js';
|
|
2
|
+
export { P as TooltipPlacement } from '../../OrPopover-d8087f75.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '../../usePopoverState-b92c698b.js';
|
|
@@ -9,6 +9,7 @@ import 'vue';
|
|
|
9
9
|
import '@floating-ui/dom';
|
|
10
10
|
import '../../useElevation-a50ec347.js';
|
|
11
11
|
import '../../useResponsive-a02e95b7.js';
|
|
12
|
-
import '../../OrBottomSheet-
|
|
12
|
+
import '../../OrBottomSheet-033f1a9a.js';
|
|
13
13
|
import '../../OrOverlay-489fdf76.js';
|
|
14
14
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
15
|
+
import '../../useTheme-e23d13c8.js';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export { O as OR_AVATAR_SIZE, s as OrAvatar } from './OrAvatar-6e998746.js';
|
|
2
2
|
export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from './OrAvatar-3ccb5f60.js';
|
|
3
|
-
export { B as BottomSheetVariant, s as OrBottomSheetV3 } from './OrBottomSheet-
|
|
3
|
+
export { B as BottomSheetVariant, s as OrBottomSheetV3 } from './OrBottomSheet-033f1a9a.js';
|
|
4
4
|
export { s as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonViews } from './OrButton-0082a3ce.js';
|
|
5
5
|
export { s as OrButtonV2 } from './OrButton-78a118d7.js';
|
|
6
6
|
export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE, s as OrIconButton, s as OrIconButtonV2 } from './OrIconButton-ad0cbc8d.js';
|
|
7
7
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-c2b6aa9e.js';
|
|
8
8
|
export { s as OrCard } from './OrCard-e3a5aea4.js';
|
|
9
9
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-b9218f98.js';
|
|
10
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-
|
|
10
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-39532023.js';
|
|
11
11
|
export { s as OrCardV3 } from './OrCard-cc82902c.js';
|
|
12
12
|
export { s as OrCheckbox } from './OrCheckbox-72ae9748.js';
|
|
13
13
|
export { s as OrCheckboxGroupV3 } from './OrCheckboxGroup-92f6ef31.js';
|
|
@@ -16,16 +16,16 @@ export { s as OrCheckboxV3 } from './OrCheckbox-494a8d9e.js';
|
|
|
16
16
|
export { s as OrChip } from './OrChip-857982e0.js';
|
|
17
17
|
export { s as OrChips } from './OrChips-053f3a92.js';
|
|
18
18
|
export { s as OrCode, O as OrCodeLanguages } from './OrCode-2f8cdf96.js';
|
|
19
|
-
export { C as CodeLanguage, s as OrCodeV3 } from './OrCode-
|
|
19
|
+
export { C as CodeLanguage, s as OrCodeV3 } from './OrCode-d12edac7.js';
|
|
20
20
|
export { s as OrCollapse } from './OrCollapse-a06f22aa.js';
|
|
21
21
|
export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-475c0be4.js';
|
|
22
22
|
export { s as OrCombinedInputV3 } from './OrCombinedInput-2800ee8b.js';
|
|
23
23
|
export { I as CombinedInputSize, I as DatePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, s as OrInputBoxV3, I as SearchSize, I as SelectSize, I as TagInputSize, I as TextareaSize, I as TimePickerSize } from './OrInputBox-912a6254.js';
|
|
24
24
|
export { s as OrConfirm } from './OrConfirm-704f817e.js';
|
|
25
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-
|
|
26
|
-
export { s as OrDatePickerV3 } from './OrDatePicker-
|
|
25
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-2941f6ba.js';
|
|
26
|
+
export { s as OrDatePickerV3 } from './OrDatePicker-b99fd7c8.js';
|
|
27
27
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-c19dcefc.js';
|
|
28
|
-
export { D as DateTimePickerTimeFormat, s as OrDateTimePickerV3, D as TimePickerFormat } from './OrDateTimePicker-
|
|
28
|
+
export { D as DateTimePickerTimeFormat, s as OrDateTimePickerV3, D as TimePickerFormat } from './OrDateTimePicker-2b4c045f.js';
|
|
29
29
|
export { E as EmptyStateSize, s as OrEmptyStateV3 } from './OrEmptyState-5349a1f9.js';
|
|
30
30
|
export { s as OrError } from './OrError-f90296db.js';
|
|
31
31
|
export { s as OrErrorTagV3 } from './OrErrorTag-ade9192b.js';
|
|
@@ -37,14 +37,14 @@ export { F as FormGroupDirection, s as OrFormGroupV3 } from './OrFormGroup-9f581
|
|
|
37
37
|
export { s as OrHint } from './OrHint-8822005b.js';
|
|
38
38
|
export { s as OrHintV3 } from './OrHint-06ab89d7.js';
|
|
39
39
|
export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-d8ea7901.js';
|
|
40
|
-
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-
|
|
40
|
+
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-fe2b3e9c.js';
|
|
41
41
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from './OrIcon-62793572.js';
|
|
42
42
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-01fb2cb2.js';
|
|
43
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
43
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-86f6e892.js';
|
|
44
44
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-6bf54bd0.js';
|
|
45
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
45
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-96105551.js';
|
|
46
46
|
export { s as OrInput } from './OrInput-9be9a209.js';
|
|
47
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
47
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-de3797eb.js';
|
|
48
48
|
export { s as OrLabel } from './OrLabel-a7d99df4.js';
|
|
49
49
|
export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-4da56db0.js';
|
|
50
50
|
export { L as LinkColor, s as OrLinkV3 } from './OrLink-dcae31fb.js';
|
|
@@ -53,17 +53,17 @@ export { s as OrListOfInputs } from './OrListOfInputs-ce0d6ac0.js';
|
|
|
53
53
|
export { L as LoaderViews, s as OrLoader } from './OrLoader-7b006619.js';
|
|
54
54
|
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './OrLoader-b79022da.js';
|
|
55
55
|
export { s as OrMenuItemV3 } from './OrMenuItem-54062d59.js';
|
|
56
|
-
export { s as OrMenuV3 } from './OrMenu-
|
|
57
|
-
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-
|
|
56
|
+
export { s as OrMenuV3 } from './OrMenu-32b47946.js';
|
|
57
|
+
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-d8087f75.js';
|
|
58
58
|
export { s as OrModal, O as OrModalSizes } from './OrModal-f3a4813a.js';
|
|
59
|
-
export { M as ModalSize, s as OrModalV3 } from './OrModal-
|
|
59
|
+
export { M as ModalSize, s as OrModalV3 } from './OrModal-6a9ba204.js';
|
|
60
60
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from './OrNotification-538f8e92.js';
|
|
61
|
-
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-
|
|
61
|
+
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-48212fbe.js';
|
|
62
62
|
export { s as OrNumberInput } from './OrNumberInput-249caf96.js';
|
|
63
63
|
export { s as OrOverflowMenu } from './OrOverflowMenu-4d0bf63a.js';
|
|
64
64
|
export { s as OrOverlay } from './OrOverlay-451dce49.js';
|
|
65
65
|
export { s as OrOverlayV3 } from './OrOverlay-489fdf76.js';
|
|
66
|
-
export { s as OrPaginationV3 } from './OrPagination-
|
|
66
|
+
export { s as OrPaginationV3 } from './OrPagination-cc9589d6.js';
|
|
67
67
|
export { s as OrPassword } from './OrPassword-cd8a3c46.js';
|
|
68
68
|
export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-aa2ea84b.js';
|
|
69
69
|
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-a54a42c0.js';
|
|
@@ -72,13 +72,13 @@ export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
|
72
72
|
export { s as OrRadioGroupV3 } from './OrRadioGroup-58c0214c.js';
|
|
73
73
|
export { s as OrRadioV3 } from './OrRadio-7b722b16.js';
|
|
74
74
|
export { s as OrSearch } from './OrSearch-d0c8aca7.js';
|
|
75
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
75
|
+
export { s as OrSearchV3 } from './OrSearch-e8fbc59a.js';
|
|
76
76
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-c8eb217d.js';
|
|
77
77
|
export { s as OrSelect } from './OrSelect-60205145.js';
|
|
78
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
78
|
+
export { s as OrSelectV3 } from './OrSelect-84e7b53a.js';
|
|
79
79
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-aaf73310.js';
|
|
80
|
-
export { s as OrSidebarV3 } from './OrSidebar-
|
|
81
|
-
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-
|
|
80
|
+
export { s as OrSidebarV3 } from './OrSidebar-5b3d7f63.js';
|
|
81
|
+
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-67b7383d.js';
|
|
82
82
|
export { s as OrSkeletonCircle } from './OrSkeletonCircle-66e175a0.js';
|
|
83
83
|
export { s as OrSkeletonRect } from './OrSkeletonRect-c694574e.js';
|
|
84
84
|
export { s as OrSkeletonText } from './OrSkeletonText-9a800de4.js';
|
|
@@ -87,7 +87,7 @@ export { s as OrSkeletonCircleV3 } from './OrSkeletonCircle-1eae069b.js';
|
|
|
87
87
|
export { s as OrSkeletonRectV3 } from './OrSkeletonRect-ba5df861.js';
|
|
88
88
|
export { s as OrSkeletonTextV3 } from './OrSkeletonText-3c3207d0.js';
|
|
89
89
|
export { s as OrSlider } from './OrSlider-eead916e.js';
|
|
90
|
-
export { s as OrSortingV3 } from './OrSorting-
|
|
90
|
+
export { s as OrSortingV3 } from './OrSorting-ba74bb43.js';
|
|
91
91
|
export { s as OrStepper } from './OrStepper-651a619a.js';
|
|
92
92
|
export { s as OrSwitch } from './OrSwitch-10747a24.js';
|
|
93
93
|
export { s as OrSwitchV3 } from './OrSwitch-a6efd081.js';
|
|
@@ -95,25 +95,25 @@ export { s as OrTab } from './OrTab-d8d4e871.js';
|
|
|
95
95
|
export { s as OrTabHeaderItem } from './OrTabHeaderItem-c2af7ca3.js';
|
|
96
96
|
export { s as OrTabV3 } from './OrTab-2d567d8e.js';
|
|
97
97
|
export { s as OrTabs } from './OrTabs-3da3ea89.js';
|
|
98
|
-
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-
|
|
98
|
+
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-94aa96d7.js';
|
|
99
99
|
export { s as OrTag } from './OrTag-a2197abd.js';
|
|
100
|
-
export { s as OrTagInputV3 } from './OrTagInput-
|
|
101
|
-
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-
|
|
102
|
-
export { s as OrTagsV3 } from './OrTags-
|
|
100
|
+
export { s as OrTagInputV3 } from './OrTagInput-084c55b6.js';
|
|
101
|
+
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-33fc6539.js';
|
|
102
|
+
export { s as OrTagsV3 } from './OrTags-0abf4773.js';
|
|
103
103
|
export { s as OrTeleport } from './OrTeleport.vue3-9bce0c02.js';
|
|
104
104
|
export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
|
|
105
105
|
export { s as OrTextV3 } from './OrText-d54c951d.js';
|
|
106
106
|
export { s as OrTextarea } from './OrTextarea-31b54c7e.js';
|
|
107
107
|
export { s as OrTextareaV3 } from './OrTextarea-6c471ccd.js';
|
|
108
108
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-8d2903db.js';
|
|
109
|
-
export { s as OrTimePickerV3 } from './OrTimePicker-
|
|
109
|
+
export { s as OrTimePickerV3 } from './OrTimePicker-1a452878.js';
|
|
110
110
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-72b52576.js';
|
|
111
111
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-b5ea5cb2.js';
|
|
112
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-
|
|
112
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-f73b681e.js';
|
|
113
113
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-a1332cc2.js';
|
|
114
114
|
export { s as OrTooltip } from './OrTooltip-c1006713.js';
|
|
115
115
|
export { s as OrTooltipContent } from './OrTooltipContent-c0042844.js';
|
|
116
|
-
export { s as OrTooltipV3 } from './OrTooltip-
|
|
116
|
+
export { s as OrTooltipV3 } from './OrTooltip-68f1802b.js';
|
|
117
117
|
export { s as OrTreeV3, T as TreeNodeDropPosition } from './OrTree-3b655a7a.js';
|
|
118
118
|
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e1f90e0a.js';
|
|
119
119
|
export { u as useControlAttributes, a as useIdAttribute } from './useIdAttribute-859439f0.js';
|
|
@@ -148,7 +148,7 @@ import './dom-f1d55b67.js';
|
|
|
148
148
|
import 'lodash/isElement';
|
|
149
149
|
import 'lodash/get';
|
|
150
150
|
import '@vueuse/math';
|
|
151
|
-
import './OrDateTimePickerPopoverHeader-
|
|
151
|
+
import './OrDateTimePickerPopoverHeader-07159a41.js';
|
|
152
152
|
import 'lodash/padStart';
|
|
153
153
|
import '@floating-ui/dom';
|
|
154
154
|
import 'lodash/cloneDeep';
|
|
@@ -5,7 +5,7 @@ import '@onereach/styles/tailwind.config';
|
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
6
|
import { s as script$4 } from './OrTeleport.vue3-8099178c.js';
|
|
7
7
|
import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-a1332cc2.js';
|
|
8
|
-
import { s as script$2 } from './OrIconButton-
|
|
8
|
+
import { s as script$2 } from './OrIconButton-fe2b3e9c.js';
|
|
9
9
|
import { s as script$3 } from './OrLoader-b79022da.js';
|
|
10
10
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, createElementVNode, toDisplayString, createBlock, withModifiers, withCtx, TransitionGroup, Fragment, renderList, mergeProps } from 'vue';
|
|
11
11
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "4.16.
|
|
3
|
+
"version": "4.16.2-beta.3081.0",
|
|
4
4
|
"description": "Vue components library for v2/3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/auto/index.js",
|
|
@@ -153,6 +153,5 @@
|
|
|
153
153
|
"default": "./dist/bundled/v3/components/*/index.js"
|
|
154
154
|
},
|
|
155
155
|
"./package.json": "./package.json"
|
|
156
|
-
}
|
|
157
|
-
"gitHead": "1577fa8d4ba571584a3356c4b22f14c020902971"
|
|
156
|
+
}
|
|
158
157
|
}
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
ref="root"
|
|
8
8
|
v-bind="$attrs"
|
|
9
9
|
:class="rootStyles"
|
|
10
|
+
:style="rootInlineStyles"
|
|
10
11
|
>
|
|
11
12
|
<template v-if="variant === 'advanced'">
|
|
12
13
|
<div :class="handleStyles" />
|
|
@@ -18,7 +19,7 @@
|
|
|
18
19
|
|
|
19
20
|
<div
|
|
20
21
|
ref="content"
|
|
21
|
-
:class="
|
|
22
|
+
:class="contentStyles"
|
|
22
23
|
>
|
|
23
24
|
<slot />
|
|
24
25
|
</div>
|
|
@@ -27,12 +28,13 @@
|
|
|
27
28
|
</template>
|
|
28
29
|
|
|
29
30
|
<script lang="ts">
|
|
30
|
-
import { onClickOutside
|
|
31
|
-
import { computed, defineComponent, PropType, ref, toRef,
|
|
31
|
+
import { onClickOutside } from '@vueuse/core';
|
|
32
|
+
import { computed, defineComponent, PropType, ref, toRef, watch } from 'vue-demi';
|
|
32
33
|
import { usePopoverState } from '../../hooks';
|
|
33
34
|
import { OrOverlayV3 as OrOverlay } from '../or-overlay-v3';
|
|
34
35
|
import { BottomSheetVariant } from './props';
|
|
35
|
-
import { BottomSheet, BottomSheetHandle, BottomSheetHeader, BottomSheetVariants } from './styles';
|
|
36
|
+
import { BottomSheet, BottomSheetHandle, BottomSheetHeader, BottomSheetVariants, BottomSheetContent } from './styles';
|
|
37
|
+
import useSwipe from './hooks/useSwipe';
|
|
36
38
|
|
|
37
39
|
export default defineComponent({
|
|
38
40
|
name: 'OrBottomSheet',
|
|
@@ -77,96 +79,22 @@ export default defineComponent({
|
|
|
77
79
|
const root = ref<HTMLElement>();
|
|
78
80
|
const content = ref<HTMLElement>();
|
|
79
81
|
|
|
80
|
-
// Styles
|
|
81
|
-
const rootStyles = computed(() => [
|
|
82
|
-
'or-bottom-sheet-v3',
|
|
83
|
-
...BottomSheet,
|
|
84
|
-
...BottomSheetVariants[props.variant],
|
|
85
|
-
]);
|
|
86
|
-
|
|
87
|
-
const handleStyles = computed(() => [
|
|
88
|
-
...BottomSheetHandle,
|
|
89
|
-
]);
|
|
90
|
-
|
|
91
|
-
const headerStyles = computed(() => [
|
|
92
|
-
...BottomSheetHeader,
|
|
93
|
-
]);
|
|
94
|
-
|
|
95
82
|
// State
|
|
96
83
|
const { state, open, close, toggle } = usePopoverState(toRef(props, 'isOpen'), context.emit);
|
|
97
84
|
|
|
98
85
|
const fullscreen = ref<boolean>(false);
|
|
99
86
|
|
|
87
|
+
// Effects
|
|
88
|
+
// #region Swipe
|
|
89
|
+
const { rootInlineStyles } = useSwipe(root, content, fullscreen, props.variant);
|
|
90
|
+
// #endregion
|
|
91
|
+
|
|
100
92
|
watch(state, (value) => {
|
|
101
93
|
if (value === 'closed') {
|
|
102
94
|
fullscreen.value = false;
|
|
103
95
|
}
|
|
104
96
|
});
|
|
105
97
|
|
|
106
|
-
const isEventSkipped = (event: Event): boolean => {
|
|
107
|
-
return event.composedPath().includes(content.value!) && fullscreen.value;
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
// Effects
|
|
111
|
-
// #region Swipe
|
|
112
|
-
const swipeOptions = {
|
|
113
|
-
threshold: 4,
|
|
114
|
-
|
|
115
|
-
onSwipe(event: PointerEvent): void {
|
|
116
|
-
if (isEventSkipped(event)) {
|
|
117
|
-
return;
|
|
118
|
-
}
|
|
119
|
-
if (props.variant === BottomSheetVariant.Advanced) {
|
|
120
|
-
const rootElement = unref(root)!;
|
|
121
|
-
|
|
122
|
-
Object.assign(rootElement.style, {
|
|
123
|
-
transitionProperty: 'none',
|
|
124
|
-
minHeight: `${rootElement.clientHeight - event.offsetY}px`,
|
|
125
|
-
maxHeight: `${rootElement.clientHeight - event.offsetY}px`,
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
|
|
130
|
-
onSwipeEnd(event: PointerEvent, direction: SwipeDirection): void {
|
|
131
|
-
if (isEventSkipped(event)) {
|
|
132
|
-
return;
|
|
133
|
-
}
|
|
134
|
-
if (props.variant === BottomSheetVariant.Advanced) {
|
|
135
|
-
const rootElement = unref(root)!;
|
|
136
|
-
|
|
137
|
-
switch (direction) {
|
|
138
|
-
case SwipeDirection.UP:
|
|
139
|
-
Object.assign(rootElement.style, {
|
|
140
|
-
transitionProperty: 'min-height, max-height',
|
|
141
|
-
minHeight: '100%',
|
|
142
|
-
maxHeight: '100%',
|
|
143
|
-
});
|
|
144
|
-
|
|
145
|
-
fullscreen.value = true;
|
|
146
|
-
|
|
147
|
-
break;
|
|
148
|
-
|
|
149
|
-
case SwipeDirection.DOWN:
|
|
150
|
-
Object.assign(rootElement.style, {
|
|
151
|
-
transitionProperty: 'min-height, max-height',
|
|
152
|
-
minHeight: '0',
|
|
153
|
-
maxHeight: '50%',
|
|
154
|
-
});
|
|
155
|
-
|
|
156
|
-
if (fullscreen.value) {
|
|
157
|
-
fullscreen.value = false;
|
|
158
|
-
} else {
|
|
159
|
-
close();
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
break;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
};
|
|
167
|
-
|
|
168
|
-
usePointerSwipe(root, swipeOptions);
|
|
169
|
-
// #endregion
|
|
170
98
|
|
|
171
99
|
// #region Click Outside
|
|
172
100
|
onClickOutside(root, (event) => {
|
|
@@ -178,10 +106,32 @@ export default defineComponent({
|
|
|
178
106
|
});
|
|
179
107
|
// #endregion
|
|
180
108
|
|
|
109
|
+
// Styles
|
|
110
|
+
const rootStyles = computed(() => [
|
|
111
|
+
'or-bottom-sheet-v3',
|
|
112
|
+
...BottomSheet,
|
|
113
|
+
...BottomSheetVariants[props.variant],
|
|
114
|
+
]);
|
|
115
|
+
|
|
116
|
+
const handleStyles = computed(() => [
|
|
117
|
+
...BottomSheetHandle,
|
|
118
|
+
]);
|
|
119
|
+
|
|
120
|
+
const headerStyles = computed(() => [
|
|
121
|
+
...BottomSheetHeader,
|
|
122
|
+
]);
|
|
123
|
+
|
|
124
|
+
const contentStyles = computed(() => [
|
|
125
|
+
...BottomSheetContent,
|
|
126
|
+
fullscreen.value ? 'overflow-y-auto' : 'overflow-hidden',
|
|
127
|
+
]);
|
|
128
|
+
|
|
181
129
|
return {
|
|
182
130
|
root,
|
|
183
131
|
content,
|
|
184
132
|
rootStyles,
|
|
133
|
+
rootInlineStyles,
|
|
134
|
+
contentStyles,
|
|
185
135
|
handleStyles,
|
|
186
136
|
headerStyles,
|
|
187
137
|
state,
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { ref, computed, Ref, unref } from 'vue-demi';
|
|
2
|
+
import { usePointerSwipe, SwipeDirection } from '@vueuse/core';
|
|
3
|
+
import { useTheme } from '../../../hooks';
|
|
4
|
+
import { BottomSheetVariant } from '../props';
|
|
5
|
+
|
|
6
|
+
function useSwipe(
|
|
7
|
+
root: Ref<HTMLElement | undefined>,
|
|
8
|
+
content: Ref<HTMLElement | undefined>,
|
|
9
|
+
fullscreen: Ref<boolean>,
|
|
10
|
+
variant: `${BottomSheetVariant}`,
|
|
11
|
+
) {
|
|
12
|
+
const inlineSwipingStyles = ref<Partial<CSSStyleDeclaration>>({});
|
|
13
|
+
const skipSwipe = ref<boolean>(false);
|
|
14
|
+
const theme = useTheme();
|
|
15
|
+
|
|
16
|
+
const isEventSkipped = (event: Event): boolean => {
|
|
17
|
+
return event.composedPath().includes(content.value!) && fullscreen.value;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
const { isSwiping } = usePointerSwipe(root, {
|
|
21
|
+
threshold: 12,
|
|
22
|
+
onSwipe(event: PointerEvent): void {
|
|
23
|
+
skipSwipe.value = isEventSkipped(event);
|
|
24
|
+
if (variant === BottomSheetVariant.Advanced) {
|
|
25
|
+
const rootElement = unref(root)!;
|
|
26
|
+
inlineSwipingStyles.value = {
|
|
27
|
+
transitionProperty: 'none',
|
|
28
|
+
minHeight: `${rootElement.clientHeight - event.offsetY}px`,
|
|
29
|
+
maxHeight: `${rootElement.clientHeight - event.offsetY}px`,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
|
|
34
|
+
onSwipeEnd(event: PointerEvent, direction: SwipeDirection): void {
|
|
35
|
+
if (isEventSkipped(event)) {
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
if (variant === BottomSheetVariant.Advanced) {
|
|
39
|
+
switch (direction) {
|
|
40
|
+
case SwipeDirection.UP:
|
|
41
|
+
fullscreen.value = true;
|
|
42
|
+
|
|
43
|
+
break;
|
|
44
|
+
|
|
45
|
+
case SwipeDirection.DOWN:
|
|
46
|
+
if (fullscreen.value) {
|
|
47
|
+
fullscreen.value = false;
|
|
48
|
+
} else {
|
|
49
|
+
close();
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
const rootInlineStyles = computed(() => {
|
|
59
|
+
return isSwiping.value && !skipSwipe.value
|
|
60
|
+
? inlineSwipingStyles.value
|
|
61
|
+
: fullscreen.value
|
|
62
|
+
? {
|
|
63
|
+
transitionProperty: 'min-height, max-height',
|
|
64
|
+
minHeight: `calc(100% - ${theme.spacing.xl})`,
|
|
65
|
+
maxHeight: `calc(100% - ${theme.spacing.xl})`,
|
|
66
|
+
}
|
|
67
|
+
: {
|
|
68
|
+
transitionProperty: 'min-height, max-height',
|
|
69
|
+
minHeight: '0',
|
|
70
|
+
maxHeight: '50%',
|
|
71
|
+
};
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
rootInlineStyles,
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export default useSwipe;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|