@onereach/ui-components 4.16.0 → 4.16.1-beta.3079.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 +29 -21
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +1050 -0
- package/dist/bundled/v2/components/OrBottomSheetV3/index.js +4 -0
- 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/OrCardCollectionV3/OrCardCollection.js +4 -0
- package/dist/bundled/v2/components/OrCardCollectionV3/index.js +4 -0
- package/dist/bundled/v2/components/OrCodeV3/OrCode.js +1 -1
- package/dist/bundled/v2/components/OrCodeV3/index.js +4 -4
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.js +4 -0
- package/dist/bundled/v2/components/OrConfirmV3/index.js +4 -0
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +5 -1
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +5 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +5 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +5 -1
- package/dist/bundled/v2/components/OrIconButtonV3/OrIconButton.js +4 -0
- package/dist/bundled/v2/components/OrIconButtonV3/index.js +4 -0
- package/dist/bundled/v2/components/OrInlineInputV3/OrInlineInput.js +4 -0
- package/dist/bundled/v2/components/OrInlineInputV3/index.js +4 -0
- package/dist/bundled/v2/components/OrInlineTextareaV3/OrInlineTextarea.js +4 -0
- package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +4 -0
- package/dist/bundled/v2/components/OrInputV3/OrInput.js +4 -0
- package/dist/bundled/v2/components/OrInputV3/index.js +4 -0
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.js +4 -0
- package/dist/bundled/v2/components/OrMenuV3/index.js +4 -0
- package/dist/bundled/v2/components/OrModalV3/OrModal.js +4 -0
- package/dist/bundled/v2/components/OrModalV3/index.js +4 -0
- package/dist/bundled/v2/components/OrNotificationV3/OrNotification.js +4 -0
- package/dist/bundled/v2/components/OrNotificationV3/index.js +4 -0
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.js +4 -0
- package/dist/bundled/v2/components/OrPaginationV3/index.js +4 -0
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +4 -0
- package/dist/bundled/v2/components/OrPopoverV3/index.js +4 -0
- package/dist/bundled/v2/components/OrSearchV3/OrSearch.js +4 -0
- package/dist/bundled/v2/components/OrSearchV3/index.js +4 -0
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +4 -0
- package/dist/bundled/v2/components/OrSelectV3/index.js +4 -0
- package/dist/bundled/v2/components/OrSidebarV3/OrSidebar.js +4 -0
- package/dist/bundled/v2/components/OrSidebarV3/index.js +4 -0
- package/dist/bundled/v2/components/OrSortingV3/OrSorting.js +4 -0
- package/dist/bundled/v2/components/OrSortingV3/index.js +4 -0
- package/dist/bundled/v2/components/OrTabsV3/OrTabs.js +4 -0
- package/dist/bundled/v2/components/OrTabsV3/index.js +4 -0
- package/dist/bundled/v2/components/OrTagInputV3/OrTagInput.js +4 -0
- package/dist/bundled/v2/components/OrTagInputV3/index.js +4 -0
- package/dist/bundled/v2/components/OrTagV3/OrTag.js +4 -0
- package/dist/bundled/v2/components/OrTagV3/index.js +4 -0
- package/dist/bundled/v2/components/OrTagsV3/OrTags.js +4 -0
- package/dist/bundled/v2/components/OrTagsV3/index.js +4 -0
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +4 -0
- package/dist/bundled/v2/components/OrTimePickerV3/index.js +4 -0
- package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainer.js +4 -0
- package/dist/bundled/v2/components/OrToastContainerV3/index.js +4 -0
- package/dist/bundled/v2/components/OrToastV3/OrToast.js +4 -0
- package/dist/bundled/v2/components/OrToastV3/index.js +4 -0
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.js +4 -0
- package/dist/bundled/v2/components/OrTooltipV3/index.js +4 -0
- package/dist/bundled/v2/components/index.js +4 -4
- package/dist/bundled/v2/index.js +1 -1
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-c07ed3a1.js → OrBottomSheet.vue_vue_type_script_lang-682c622a.js} +24 -20
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-b6569f84.js → OrCardCollection.vue_vue_type_script_lang-d7abd064.js} +3 -3
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-7ceb9845.js → OrCode.vue_vue_type_script_lang-f9e469c1.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-2bcf9fd1.js → OrConfirm.vue_vue_type_script_lang-d1d5aca9.js} +1 -1
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-fbd95665.js → OrDatePicker.vue_vue_type_script_lang-4a733f92.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-7dbc5de3.js → OrDateTimePicker.vue_vue_type_script_lang-a6167fa1.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-95e33ca0.js → OrDateTimePickerMonthSelect-f9e97a7d.js} +2 -2
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-590899a3.js → OrIconButton.vue_vue_type_script_lang-9ddf0026.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-c05c08e4.js → OrInlineInput.vue_vue_type_script_lang-1008fa4a.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-849178e7.js → OrInlineTextarea.vue_vue_type_script_lang-498c0865.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-04e7774f.js → OrInput.vue_vue_type_script_lang-c1134b6d.js} +1 -1
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-5e1d4d75.js → OrMenu.vue_vue_type_script_lang-f348745b.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-88fa589e.js → OrModal.vue_vue_type_script_lang-2eacf54b.js} +1 -1
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-53e82265.js → OrNotification.vue_vue_type_script_lang-dc42bc25.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-a4a67a47.js → OrPagination.vue_vue_type_script_lang-588454df.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-24f2bc49.js → OrPopover.vue_vue_type_script_lang-eb88df64.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-a9d66616.js → OrSearch.vue_vue_type_script_lang-9f36b8e9.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-29577967.js → OrSelect.vue_vue_type_script_lang-0690088f.js} +4 -4
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-c5ba93ca.js → OrSidebar.vue_vue_type_script_lang-7e51ff7c.js} +1 -1
- package/dist/bundled/v3/{OrSorting.vue_vue_type_script_lang-bacfeefa.js → OrSorting.vue_vue_type_script_lang-3efe7d2a.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-c2191c3d.js → OrTabs.vue_vue_type_script_lang-6bae47d4.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-631bc867.js → OrTag.vue_vue_type_script_lang-f9c2af59.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-ee7c83eb.js → OrTagInput.vue_vue_type_script_lang-b9fb9178.js} +2 -2
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-22fcc56b.js → OrTags.vue_vue_type_script_lang-16fb7827.js} +2 -2
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-7be29cfc.js → OrTimePicker.vue_vue_type_script_lang-294a45e8.js} +2 -2
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-0b90a2ea.js → OrTooltip.vue_vue_type_script_lang-29dcf1a2.js} +1 -1
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +8 -3
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +525 -0
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +5 -1
- 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/OrCardCollectionV3/OrCardCollection.js +14 -10
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +13 -9
- package/dist/bundled/v3/components/OrCodeV3/OrCode.js +11 -11
- package/dist/bundled/v3/components/OrCodeV3/index.js +10 -10
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +11 -7
- package/dist/bundled/v3/components/OrConfirmV3/index.js +10 -6
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +12 -8
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +11 -7
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +12 -8
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +11 -7
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +9 -5
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +8 -4
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +10 -6
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +9 -5
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +10 -6
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +9 -5
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +10 -6
- package/dist/bundled/v3/components/OrInputV3/index.js +9 -5
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +8 -4
- package/dist/bundled/v3/components/OrMenuV3/index.js +7 -3
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +10 -6
- package/dist/bundled/v3/components/OrModalV3/index.js +9 -5
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +10 -6
- package/dist/bundled/v3/components/OrNotificationV3/index.js +9 -5
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +9 -5
- package/dist/bundled/v3/components/OrPaginationV3/index.js +8 -4
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +7 -3
- package/dist/bundled/v3/components/OrPopoverV3/index.js +6 -2
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +11 -7
- package/dist/bundled/v3/components/OrSearchV3/index.js +10 -6
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +12 -8
- package/dist/bundled/v3/components/OrSelectV3/index.js +11 -7
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +10 -6
- package/dist/bundled/v3/components/OrSidebarV3/index.js +9 -5
- package/dist/bundled/v3/components/OrSortingV3/OrSorting.js +9 -5
- package/dist/bundled/v3/components/OrSortingV3/index.js +8 -4
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +9 -5
- package/dist/bundled/v3/components/OrTabsV3/index.js +8 -4
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +12 -8
- package/dist/bundled/v3/components/OrTagInputV3/index.js +11 -7
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +10 -6
- package/dist/bundled/v3/components/OrTagV3/index.js +9 -5
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +11 -7
- package/dist/bundled/v3/components/OrTagsV3/index.js +10 -6
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +10 -6
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +9 -5
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +10 -6
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +9 -5
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +8 -4
- package/dist/bundled/v3/components/OrToastV3/index.js +9 -5
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +8 -4
- package/dist/bundled/v3/components/OrTooltipV3/index.js +7 -3
- package/dist/bundled/v3/components/index.js +30 -30
- package/dist/bundled/v3/index.js +27 -27
- package/dist/esm/v2/{OrBottomSheet-4a78742a.js → OrBottomSheet-ede35d3c.js} +27 -24
- package/dist/esm/v2/{OrCardCollection-ed87aa1c.js → OrCardCollection-b012a0e2.js} +3 -3
- package/dist/esm/v2/{OrCode-50974038.js → OrCode-bf7917d7.js} +2 -2
- package/dist/esm/v2/{OrConfirm-ac1c3938.js → OrConfirm-c81ff370.js} +1 -1
- package/dist/esm/v2/{OrDatePicker-566f983c.js → OrDatePicker-d6c02ef2.js} +3 -3
- package/dist/esm/v2/{OrDateTimePicker-2acbba82.js → OrDateTimePicker-e35d502d.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-42274298.js → OrDateTimePicker.vue_rollup-plugin-vue_script-ac1c140a.js} +3 -3
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-cbc0db61.js → OrDateTimePickerPopoverHeader-3f2b554d.js} +3 -3
- package/dist/esm/v2/{OrIconButton-c7400430.js → OrIconButton-c1d2099d.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-76e293b3.js → OrInlineInput-3a7258a8.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-25779658.js → OrInlineTextarea-4849f81f.js} +1 -1
- package/dist/esm/v2/{OrInput-41603455.js → OrInput-369c56ab.js} +1 -1
- package/dist/esm/v2/{OrMenu-df584a8c.js → OrMenu-d5d3ee9a.js} +1 -1
- package/dist/esm/v2/{OrModal-773fe75c.js → OrModal-94623415.js} +1 -1
- package/dist/esm/v2/{OrNotification-a279c8a6.js → OrNotification-4aeee654.js} +1 -1
- package/dist/esm/v2/{OrPagination-a5db10f7.js → OrPagination-13d686eb.js} +2 -2
- package/dist/esm/v2/{OrPopover-018274a5.js → OrPopover-0515ff5e.js} +1 -1
- package/dist/esm/v2/{OrSearch-d5b51596.js → OrSearch-4cae72d2.js} +1 -1
- package/dist/esm/v2/{OrSelect-06125324.js → OrSelect-738dc339.js} +4 -4
- package/dist/esm/v2/{OrSidebar-90ba92ed.js → OrSidebar-c4260be0.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-1d4a5907.js → OrSidebarCollapseButton-288ee446.js} +1 -1
- package/dist/esm/v2/{OrSorting-3ce7e017.js → OrSorting-5bc4aaa0.js} +2 -2
- package/dist/esm/v2/{OrTabs-45e6ad4d.js → OrTabs-ce6e0c3d.js} +2 -2
- package/dist/esm/v2/{OrTag-47b9111c.js → OrTag-4ed1b6d1.js} +1 -1
- package/dist/esm/v2/{OrTagInput-d9ea325e.js → OrTagInput-554a2b24.js} +2 -2
- package/dist/esm/v2/{OrTags-6bf4fb3a.js → OrTags-c9994a83.js} +2 -2
- package/dist/esm/v2/{OrTimePicker-658ac979.js → OrTimePicker-d3592567.js} +4 -4
- package/dist/esm/v2/{OrTooltip-4c6e799d.js → OrTooltip-eba6600c.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 +1050 -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 +30 -30
- package/dist/esm/v2/{types-1dea2823.js → types-b4396242.js} +1 -1
- package/dist/esm/v3/{OrBottomSheet-2d3d91ef.js → OrBottomSheet-e6e7e602.js} +27 -24
- package/dist/esm/v3/{OrCardCollection-6352565a.js → OrCardCollection-7b237897.js} +3 -3
- package/dist/esm/v3/{OrCode-e01f4dc0.js → OrCode-03dbaa9b.js} +2 -2
- package/dist/esm/v3/{OrConfirm-646b9ec3.js → OrConfirm-3d46a7f2.js} +1 -1
- package/dist/esm/v3/{OrDatePicker-6349f608.js → OrDatePicker-a1623bca.js} +3 -3
- package/dist/esm/v3/{OrDateTimePicker-d843ed5f.js → OrDateTimePicker-c175dca5.js} +3 -3
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-3c26fc72.js → OrDateTimePickerPopoverHeader-42b64f49.js} +3 -3
- package/dist/esm/v3/{OrIconButton-81bade23.js → OrIconButton-b0399571.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-42f6e95a.js → OrInlineInput-095ad797.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-651c67e6.js → OrInlineTextarea-ac74acc2.js} +1 -1
- package/dist/esm/v3/{OrInput-eb04fa3a.js → OrInput-7331988c.js} +1 -1
- package/dist/esm/v3/{OrMenu-eff42b15.js → OrMenu-521c2773.js} +1 -1
- package/dist/esm/v3/{OrModal-d2038c15.js → OrModal-181f4faa.js} +1 -1
- package/dist/esm/v3/{OrNotification-ec688496.js → OrNotification-d142ed62.js} +1 -1
- package/dist/esm/v3/{OrPagination-7168b18f.js → OrPagination-7c0b5099.js} +2 -2
- package/dist/esm/v3/{OrPopover-56ba40ab.js → OrPopover-e8bba121.js} +1 -1
- package/dist/esm/v3/{OrSearch-47b052ea.js → OrSearch-220e7601.js} +1 -1
- package/dist/esm/v3/{OrSelect-a75320da.js → OrSelect-068361d2.js} +4 -4
- package/dist/esm/v3/{OrSidebar-9281e0d5.js → OrSidebar-763e6815.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-69e7cc73.js → OrSidebarCollapseButton-66991c29.js} +1 -1
- package/dist/esm/v3/{OrSorting-a4247ad1.js → OrSorting-b86b3f6e.js} +2 -2
- package/dist/esm/v3/{OrTabs-78f2d777.js → OrTabs-9eb33e3f.js} +2 -2
- package/dist/esm/v3/{OrTag-8f452a85.js → OrTag-e9c8c583.js} +1 -1
- package/dist/esm/v3/{OrTagInput-d6794a18.js → OrTagInput-9d4bd509.js} +2 -2
- package/dist/esm/v3/{OrTags-77d33257.js → OrTags-a7d008bc.js} +2 -2
- package/dist/esm/v3/{OrTimePicker-6a6781dc.js → OrTimePicker-afe8061c.js} +4 -4
- package/dist/esm/v3/{OrTooltip-bd35ec20.js → OrTooltip-fd3e3ea6.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 +525 -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-2f6518e2.js} +1 -1
- package/package.json +2 -3
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +29 -28
- package/src/components/or-bottom-sheet-v3/styles.ts +3 -0
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-2026c46d.js → OrDateTimePickerMonthSelect-dbb63b0f.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-9b7eba9b.js → OrToastContainer.vue_vue_type_script_lang-31017bf4.js} +0 -0
|
@@ -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-fd3e3ea6.js';
|
|
2
|
+
export { P as TooltipPlacement } from '../../OrPopover-e8bba121.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-e6e7e602.js';
|
|
13
|
+
import '../../useTheme-e23d13c8.js';
|
|
13
14
|
import '../../OrOverlay-489fdf76.js';
|
|
14
15
|
import '../../OrTeleport.vue3-8099178c.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-e6e7e602.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-7b237897.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-03dbaa9b.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-3d46a7f2.js';
|
|
26
|
+
export { s as OrDatePickerV3 } from './OrDatePicker-a1623bca.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-c175dca5.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-b0399571.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-095ad797.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-ac74acc2.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-7331988c.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-521c2773.js';
|
|
57
|
+
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-e8bba121.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-181f4faa.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-d142ed62.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-7c0b5099.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-220e7601.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-068361d2.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-763e6815.js';
|
|
81
|
+
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-66991c29.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-b86b3f6e.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-9eb33e3f.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-9d4bd509.js';
|
|
101
|
+
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-e9c8c583.js';
|
|
102
|
+
export { s as OrTagsV3 } from './OrTags-a7d008bc.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-afe8061c.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-2f6518e2.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-fd3e3ea6.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-42b64f49.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-b0399571.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.0",
|
|
3
|
+
"version": "4.16.1-beta.3079.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": "457b86b7c1776a829017a889effee8425dad2a73"
|
|
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" />
|
|
@@ -29,7 +30,7 @@
|
|
|
29
30
|
<script lang="ts">
|
|
30
31
|
import { onClickOutside, SwipeDirection, usePointerSwipe } from '@vueuse/core';
|
|
31
32
|
import { computed, defineComponent, PropType, ref, toRef, unref, watch } from 'vue-demi';
|
|
32
|
-
import { usePopoverState } from '../../hooks';
|
|
33
|
+
import { usePopoverState, useTheme } from '../../hooks';
|
|
33
34
|
import { OrOverlayV3 as OrOverlay } from '../or-overlay-v3';
|
|
34
35
|
import { BottomSheetVariant } from './props';
|
|
35
36
|
import { BottomSheet, BottomSheetHandle, BottomSheetHeader, BottomSheetVariants } from './styles';
|
|
@@ -76,6 +77,9 @@ export default defineComponent({
|
|
|
76
77
|
// Refs
|
|
77
78
|
const root = ref<HTMLElement>();
|
|
78
79
|
const content = ref<HTMLElement>();
|
|
80
|
+
const inlineSwipingStyles = ref<Partial<CSSStyleDeclaration>>({});
|
|
81
|
+
const skipSwipe = ref<boolean>(false);
|
|
82
|
+
const theme = useTheme();
|
|
79
83
|
|
|
80
84
|
// Styles
|
|
81
85
|
const rootStyles = computed(() => [
|
|
@@ -92,11 +96,13 @@ export default defineComponent({
|
|
|
92
96
|
...BottomSheetHeader,
|
|
93
97
|
]);
|
|
94
98
|
|
|
99
|
+
|
|
95
100
|
// State
|
|
96
101
|
const { state, open, close, toggle } = usePopoverState(toRef(props, 'isOpen'), context.emit);
|
|
97
102
|
|
|
98
103
|
const fullscreen = ref<boolean>(false);
|
|
99
104
|
|
|
105
|
+
|
|
100
106
|
watch(state, (value) => {
|
|
101
107
|
if (value === 'closed') {
|
|
102
108
|
fullscreen.value = false;
|
|
@@ -109,21 +115,17 @@ export default defineComponent({
|
|
|
109
115
|
|
|
110
116
|
// Effects
|
|
111
117
|
// #region Swipe
|
|
112
|
-
const
|
|
113
|
-
threshold:
|
|
114
|
-
|
|
118
|
+
const { isSwiping } = usePointerSwipe(root, {
|
|
119
|
+
threshold: 12,
|
|
115
120
|
onSwipe(event: PointerEvent): void {
|
|
116
|
-
|
|
117
|
-
return;
|
|
118
|
-
}
|
|
121
|
+
skipSwipe.value = isEventSkipped(event);
|
|
119
122
|
if (props.variant === BottomSheetVariant.Advanced) {
|
|
120
123
|
const rootElement = unref(root)!;
|
|
121
|
-
|
|
122
|
-
Object.assign(rootElement.style, {
|
|
124
|
+
inlineSwipingStyles.value = {
|
|
123
125
|
transitionProperty: 'none',
|
|
124
126
|
minHeight: `${rootElement.clientHeight - event.offsetY}px`,
|
|
125
127
|
maxHeight: `${rootElement.clientHeight - event.offsetY}px`,
|
|
126
|
-
}
|
|
128
|
+
};
|
|
127
129
|
}
|
|
128
130
|
},
|
|
129
131
|
|
|
@@ -132,27 +134,13 @@ export default defineComponent({
|
|
|
132
134
|
return;
|
|
133
135
|
}
|
|
134
136
|
if (props.variant === BottomSheetVariant.Advanced) {
|
|
135
|
-
const rootElement = unref(root)!;
|
|
136
|
-
|
|
137
137
|
switch (direction) {
|
|
138
138
|
case SwipeDirection.UP:
|
|
139
|
-
Object.assign(rootElement.style, {
|
|
140
|
-
transitionProperty: 'min-height, max-height',
|
|
141
|
-
minHeight: '100%',
|
|
142
|
-
maxHeight: '100%',
|
|
143
|
-
});
|
|
144
|
-
|
|
145
139
|
fullscreen.value = true;
|
|
146
140
|
|
|
147
141
|
break;
|
|
148
142
|
|
|
149
143
|
case SwipeDirection.DOWN:
|
|
150
|
-
Object.assign(rootElement.style, {
|
|
151
|
-
transitionProperty: 'min-height, max-height',
|
|
152
|
-
minHeight: '0',
|
|
153
|
-
maxHeight: '50%',
|
|
154
|
-
});
|
|
155
|
-
|
|
156
144
|
if (fullscreen.value) {
|
|
157
145
|
fullscreen.value = false;
|
|
158
146
|
} else {
|
|
@@ -163,11 +151,23 @@ export default defineComponent({
|
|
|
163
151
|
}
|
|
164
152
|
}
|
|
165
153
|
},
|
|
166
|
-
};
|
|
167
|
-
|
|
168
|
-
usePointerSwipe(root, swipeOptions);
|
|
154
|
+
});
|
|
169
155
|
// #endregion
|
|
170
|
-
|
|
156
|
+
const rootInlineStyles = computed(() => {
|
|
157
|
+
return isSwiping.value && !skipSwipe.value
|
|
158
|
+
? inlineSwipingStyles.value
|
|
159
|
+
: fullscreen.value
|
|
160
|
+
? {
|
|
161
|
+
transitionProperty: 'min-height, max-height',
|
|
162
|
+
minHeight: `calc(100% - ${theme.spacing.xl})`,
|
|
163
|
+
maxHeight: `calc(100% - ${theme.spacing.xl})`,
|
|
164
|
+
}
|
|
165
|
+
: {
|
|
166
|
+
transitionProperty: 'min-height, max-height',
|
|
167
|
+
minHeight: '0',
|
|
168
|
+
maxHeight: '50%',
|
|
169
|
+
};
|
|
170
|
+
});
|
|
171
171
|
// #region Click Outside
|
|
172
172
|
onClickOutside(root, (event) => {
|
|
173
173
|
const path = event.composedPath() as Element[];
|
|
@@ -182,6 +182,7 @@ export default defineComponent({
|
|
|
182
182
|
root,
|
|
183
183
|
content,
|
|
184
184
|
rootStyles,
|
|
185
|
+
rootInlineStyles,
|
|
185
186
|
handleStyles,
|
|
186
187
|
headerStyles,
|
|
187
188
|
state,
|
|
File without changes
|