@onereach/ui-components 4.6.0 → 4.6.1-beta.2760.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/{OrDateTimePickerMonthSelect-75089f80.js → OrDateTimePickerMonthSelect-0072ef90.js} +0 -7
- package/dist/bundled/v2/{OrDateTimePickerPopoverHeader-7c87f38a.js → OrDateTimePickerPopoverHeader-aab75fad.js} +0 -2
- package/dist/bundled/v2/{OrDateTimePickerTimeSelect-3d0ef650.js → OrDateTimePickerTimeSelect-7ce94b9a.js} +0 -2
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.js +30 -47
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +19 -10
- package/dist/bundled/v2/components/OrBottomSheetV3/index.js +1 -0
- package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollection.js +2 -1
- package/dist/bundled/v2/components/OrCardCollectionV3/index.js +2 -1
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.js +27 -51
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.vue.d.ts +18 -36
- package/dist/bundled/v2/components/OrConfirmV3/index.js +1 -0
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +4 -4
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +3 -2
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +6 -6
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +4 -3
- package/dist/bundled/v2/components/OrIconButtonV3/OrIconButton.js +2 -1
- package/dist/bundled/v2/components/OrIconButtonV3/index.js +2 -1
- package/dist/bundled/v2/components/OrInlineInputV3/OrInlineInput.js +2 -1
- package/dist/bundled/v2/components/OrInlineInputV3/index.js +2 -1
- package/dist/bundled/v2/components/OrInlineTextareaV3/OrInlineTextarea.js +2 -1
- package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +2 -1
- package/dist/bundled/v2/components/OrInputV3/OrInput.js +2 -1
- package/dist/bundled/v2/components/OrInputV3/index.js +2 -1
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.js +26 -53
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.vue.d.ts +13 -16
- package/dist/bundled/v2/components/OrMenuV3/index.js +1 -0
- package/dist/bundled/v2/components/OrModalV3/OrModal.js +216 -64
- package/dist/bundled/v2/components/OrModalV3/OrModal.vue.d.ts +13 -19
- package/dist/bundled/v2/components/OrModalV3/index.js +9 -8
- package/dist/bundled/v2/components/OrModalV3/styles.d.ts +0 -3
- package/dist/bundled/v2/components/OrModalV3/styles.js +1 -16
- package/dist/bundled/v2/components/OrNotificationV3/OrNotification.js +2 -1
- package/dist/bundled/v2/components/OrNotificationV3/index.js +2 -1
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.js +1 -0
- package/dist/bundled/v2/components/OrPaginationV3/index.js +1 -0
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +29 -95
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.vue.d.ts +17 -12
- package/dist/bundled/v2/components/OrPopoverV3/index.js +1 -0
- package/dist/bundled/v2/components/OrSearchV3/OrSearch.js +1 -0
- package/dist/bundled/v2/components/OrSearchV3/index.js +1 -0
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +1 -0
- package/dist/bundled/v2/components/OrSelectV3/index.js +1 -0
- package/dist/bundled/v2/components/OrSidebarV3/OrSidebar.js +1 -0
- package/dist/bundled/v2/components/OrSidebarV3/index.js +1 -0
- package/dist/bundled/v2/components/OrTabsV3/OrTabs.js +1 -0
- package/dist/bundled/v2/components/OrTabsV3/index.js +1 -0
- package/dist/bundled/v2/components/OrTagV3/OrTag.js +2 -1
- package/dist/bundled/v2/components/OrTagV3/index.js +2 -1
- package/dist/bundled/v2/components/OrTagsV3/OrTags.js +1 -0
- package/dist/bundled/v2/components/OrTagsV3/index.js +1 -0
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +4 -4
- package/dist/bundled/v2/components/OrTimePickerV3/index.js +3 -2
- package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainer.js +1 -0
- package/dist/bundled/v2/components/OrToastContainerV3/index.js +1 -0
- package/dist/bundled/v2/components/OrToastV3/OrToast.js +2 -1
- package/dist/bundled/v2/components/OrToastV3/index.js +2 -1
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.js +35 -41
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.vue.d.ts +20 -17
- package/dist/bundled/v2/components/OrTooltipV3/index.js +2 -1
- package/dist/bundled/v2/components/index.js +4 -3
- package/dist/bundled/v2/hooks/index.d.ts +1 -0
- package/dist/bundled/v2/hooks/index.js +1 -0
- package/dist/bundled/v2/hooks/usePopoverState.d.ts +8 -0
- package/dist/bundled/v2/hooks/usePopoverState.js +37 -0
- package/dist/bundled/v2/index.js +5 -4
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-a81b2abb.js → OrBottomSheet.vue_vue_type_script_lang-c3a0e7b5.js} +27 -44
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-34390dfe.js → OrCardCollection.vue_vue_type_script_lang-1a19b8ba.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-e1390930.js → OrConfirm.vue_vue_type_script_lang-a379bae2.js} +26 -50
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-d071d109.js → OrDatePicker.vue_vue_type_script_lang-ff4f4060.js} +4 -4
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-8aa80833.js → OrDateTimePicker.vue_vue_type_script_lang-610e4408.js} +5 -5
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-387c2096.js → OrDateTimePickerMonthSelect-1cc50ebb.js} +14 -14
- package/dist/bundled/v3/{OrDateTimePickerPopoverHeader-f81b902f.js → OrDateTimePickerPopoverHeader-1e3c0ace.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePickerTimeSelect-8bdb97b7.js → OrDateTimePickerTimeSelect-f43e1818.js} +3 -3
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-5bba9f3f.js → OrIconButton.vue_vue_type_script_lang-17f98298.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-3c6b0958.js → OrInlineInput.vue_vue_type_script_lang-9317d5a9.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-da59cd8e.js → OrInlineTextarea.vue_vue_type_script_lang-e89beaab.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-6242286b.js → OrInput.vue_vue_type_script_lang-655989d4.js} +1 -1
- package/dist/bundled/v3/OrMenu.vue_vue_type_script_lang-a8e1eb6d.js +66 -0
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-fe580c66.js +158 -0
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-463e1a82.js → OrNotification.vue_vue_type_script_lang-664a7d4d.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-bdc8d9fb.js → OrPagination.vue_vue_type_script_lang-85cdf374.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-7b1b2488.js → OrPopover.vue_vue_type_script_lang-3592b581.js} +21 -90
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-0bcc597c.js → OrSearch.vue_vue_type_script_lang-b402fffd.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-819822b5.js → OrSelect.vue_vue_type_script_lang-3ef33dde.js} +3 -3
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-f8fc78e3.js → OrSidebar.vue_vue_type_script_lang-9c48413e.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-9d4221f1.js → OrTabs.vue_vue_type_script_lang-597d9726.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-09948d1f.js → OrTag.vue_vue_type_script_lang-3a636796.js} +1 -1
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-71fb4f1d.js → OrTags.vue_vue_type_script_lang-325c7158.js} +2 -2
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-c52a2a0b.js → OrTimePicker.vue_vue_type_script_lang-d4387a74.js} +4 -4
- package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-de8c7ff1.js +55 -0
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +6 -5
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +16 -11
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +2 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +11 -10
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +10 -9
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +10 -9
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.vue.d.ts +16 -34
- package/dist/bundled/v3/components/OrConfirmV3/index.js +7 -6
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +13 -12
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +9 -8
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +15 -14
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +10 -9
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +7 -6
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +6 -5
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +8 -7
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +7 -6
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +8 -7
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +7 -6
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +8 -7
- package/dist/bundled/v3/components/OrInputV3/index.js +7 -6
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +12 -10
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.vue.d.ts +13 -6
- package/dist/bundled/v3/components/OrMenuV3/index.js +4 -3
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +36 -33
- package/dist/bundled/v3/components/OrModalV3/OrModal.vue.d.ts +12 -15
- package/dist/bundled/v3/components/OrModalV3/index.js +15 -14
- package/dist/bundled/v3/components/OrModalV3/styles.d.ts +0 -3
- package/dist/bundled/v3/components/OrModalV3/styles.js +1 -16
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +8 -7
- package/dist/bundled/v3/components/OrNotificationV3/index.js +7 -6
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +6 -5
- package/dist/bundled/v3/components/OrPaginationV3/index.js +5 -4
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +8 -6
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.vue.d.ts +15 -12
- package/dist/bundled/v3/components/OrPopoverV3/index.js +3 -2
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +8 -7
- package/dist/bundled/v3/components/OrSearchV3/index.js +7 -6
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +9 -8
- package/dist/bundled/v3/components/OrSelectV3/index.js +8 -7
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +7 -6
- package/dist/bundled/v3/components/OrSidebarV3/index.js +6 -5
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +6 -5
- package/dist/bundled/v3/components/OrTabsV3/index.js +5 -4
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +8 -7
- package/dist/bundled/v3/components/OrTagV3/index.js +7 -6
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +8 -7
- package/dist/bundled/v3/components/OrTagsV3/index.js +7 -6
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +12 -11
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +8 -7
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +7 -6
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +6 -5
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +6 -5
- package/dist/bundled/v3/components/OrToastV3/index.js +7 -6
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +13 -9
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.vue.d.ts +17 -7
- package/dist/bundled/v3/components/OrTooltipV3/index.js +5 -4
- package/dist/bundled/v3/components/index.js +27 -26
- package/dist/bundled/v3/hooks/index.d.ts +1 -0
- package/dist/bundled/v3/hooks/index.js +1 -0
- package/dist/bundled/v3/hooks/usePopoverState.d.ts +8 -0
- package/dist/bundled/v3/hooks/usePopoverState.js +37 -0
- package/dist/bundled/v3/index.js +28 -27
- package/dist/esm/v2/{OrBottomSheet-ffa029ca.js → OrBottomSheet-d766008a.js} +30 -47
- package/dist/esm/v2/{OrCardCollection-e23d4238.js → OrCardCollection-92ae053a.js} +4 -4
- package/dist/esm/v2/{OrConfirm-8ec55f84.js → OrConfirm-be3a54ef.js} +28 -52
- package/dist/esm/v2/{OrDatePicker-b6ebf44a.js → OrDatePicker-da08968e.js} +5 -6
- package/dist/esm/v2/{OrDateTimePicker-85c08b90.js → OrDateTimePicker-3797a712.js} +7 -8
- package/dist/esm/v2/{OrDateTimePickerMonthSelect-e35404a7.js → OrDateTimePickerMonthSelect-3a7cd5e8.js} +3 -10
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-9e49aba0.js → OrDateTimePickerPopoverHeader-b6f8193b.js} +0 -2
- package/dist/esm/v2/{OrDateTimePickerTimeSelect-aed7d33d.js → OrDateTimePickerTimeSelect-e1b6fcf6.js} +0 -2
- package/dist/esm/v2/{OrIconButton-ee747c71.js → OrIconButton-4fdb749c.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-a131caf4.js → OrInlineInput-d5c5d651.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-7cc45396.js → OrInlineTextarea-bbbb2b82.js} +1 -1
- package/dist/esm/v2/{OrInput-8c7b3cce.js → OrInput-166bf64a.js} +1 -1
- package/dist/esm/v2/{OrMenu-8b902c22.js → OrMenu-9bd9f2fd.js} +28 -54
- package/dist/esm/v2/OrModal-79424061.js +309 -0
- package/dist/esm/v2/{OrNotification-16e6d4ff.js → OrNotification-1cc97f8e.js} +1 -1
- package/dist/esm/v2/{OrPagination-36583054.js → OrPagination-43b3bf99.js} +2 -2
- package/dist/esm/v2/{OrPopover-80459663.js → OrPopover-238620ae.js} +30 -96
- package/dist/esm/v2/{OrSearch-5aa8154f.js → OrSearch-4a2cfe75.js} +1 -1
- package/dist/esm/v2/{OrSelect-31d265b9.js → OrSelect-301d2a6b.js} +3 -3
- package/dist/esm/v2/{OrSidebar-14c20b74.js → OrSidebar-83f6add2.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-2efb05f9.js → OrSidebarCollapseButton-357732ba.js} +1 -1
- package/dist/esm/v2/{OrTabs-653258a2.js → OrTabs-419ebf1c.js} +2 -2
- package/dist/esm/v2/{OrTag-6256623c.js → OrTag-a9ca8c34.js} +1 -1
- package/dist/esm/v2/{OrTags-db2608dc.js → OrTags-d2548f30.js} +2 -2
- package/dist/esm/v2/{OrTimePicker-696e29ed.js → OrTimePicker-3fe70b04.js} +5 -6
- package/dist/esm/v2/{OrTooltip-5a6e0f64.js → OrTooltip-e9e967e3.js} +36 -42
- package/dist/esm/v2/components/index.js +28 -27
- package/dist/esm/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +19 -10
- package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +2 -1
- package/dist/esm/v2/components/or-card-collection-v3/index.js +9 -8
- package/dist/esm/v2/components/or-confirm-v3/OrConfirm.vue.d.ts +18 -36
- package/dist/esm/v2/components/or-confirm-v3/index.js +7 -6
- package/dist/esm/v2/components/or-date-picker-v3/index.js +9 -8
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +10 -9
- 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/OrMenu.vue.d.ts +13 -16
- package/dist/esm/v2/components/or-menu-v3/index.js +5 -4
- package/dist/esm/v2/components/or-modal-v3/OrModal.vue.d.ts +13 -19
- package/dist/esm/v2/components/or-modal-v3/index.js +11 -10
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-content/OrModalContent.vue.d.ts +8 -0
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-content/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-footer/OrModalFooter.vue.d.ts +8 -0
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-footer/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-header/OrModalHeader.vue.d.ts +12 -0
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-header/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-modal-v3/styles.d.ts +0 -3
- 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/OrPopover.vue.d.ts +17 -12
- 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-sidebar-v3/partials/or-sidebar-collapse-button/index.js +6 -5
- package/dist/esm/v2/components/or-tabs-v3/index.js +5 -4
- 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 +8 -7
- 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/OrTooltip.vue.d.ts +20 -17
- package/dist/esm/v2/components/or-tooltip-v3/index.js +5 -4
- package/dist/esm/v2/hooks/index.d.ts +1 -0
- package/dist/esm/v2/hooks/index.js +1 -0
- package/dist/esm/v2/hooks/usePopoverState.d.ts +8 -0
- package/dist/esm/v2/index.js +28 -27
- package/dist/esm/v2/{types-4a7d24f3.js → types-3d410a76.js} +1 -1
- package/dist/esm/v2/usePopoverState-4cb59ae5.js +37 -0
- package/dist/esm/v3/{OrBottomSheet-5969a217.js → OrBottomSheet-946c14d3.js} +30 -47
- package/dist/esm/v3/{OrCardCollection-d5390215.js → OrCardCollection-7418c761.js} +4 -4
- package/dist/esm/v3/{OrConfirm-fe8617ac.js → OrConfirm-bbc33f51.js} +28 -52
- package/dist/esm/v3/{OrDatePicker-f144d074.js → OrDatePicker-81566ff0.js} +7 -7
- package/dist/esm/v3/{OrDateTimePicker-2214cd85.js → OrDateTimePicker-26155597.js} +9 -9
- package/dist/esm/v3/{OrDateTimePickerMonthSelect-5a7b7b5c.js → OrDateTimePickerMonthSelect-6d328f9c.js} +15 -15
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-042566f4.js → OrDateTimePickerPopoverHeader-6af64e73.js} +3 -3
- package/dist/esm/v3/{OrDateTimePickerTimeSelect-e404e826.js → OrDateTimePickerTimeSelect-68b76476.js} +3 -3
- package/dist/esm/v3/{OrIconButton-b7217ea5.js → OrIconButton-ce1b5542.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-dcb28ea2.js → OrInlineInput-f6d3ce66.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-88eac437.js → OrInlineTextarea-c3158522.js} +1 -1
- package/dist/esm/v3/{OrInput-af5bb98a.js → OrInput-02821bda.js} +1 -1
- package/dist/esm/v3/{OrMenu-8a53ccf9.js → OrMenu-79312946.js} +28 -53
- package/dist/esm/v3/OrModal-76a06af8.js +224 -0
- package/dist/esm/v3/{OrNotification-09216b8b.js → OrNotification-a699caa8.js} +1 -1
- package/dist/esm/v3/{OrPagination-c6046af4.js → OrPagination-5853e79e.js} +2 -2
- package/dist/esm/v3/{OrPopover-15c2968f.js → OrPopover-bec73a66.js} +25 -93
- package/dist/esm/v3/{OrSearch-ecad7638.js → OrSearch-1333d290.js} +1 -1
- package/dist/esm/v3/{OrSelect-5abcb941.js → OrSelect-53acc3c2.js} +3 -3
- package/dist/esm/v3/{OrSidebar-b7766ba9.js → OrSidebar-a0a0b0c4.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-06681153.js → OrSidebarCollapseButton-c961c428.js} +1 -1
- package/dist/esm/v3/{OrTabs-a2d87627.js → OrTabs-a0da28b8.js} +2 -2
- package/dist/esm/v3/{OrTag-8605e9e6.js → OrTag-8521661a.js} +1 -1
- package/dist/esm/v3/{OrTags-3724ff59.js → OrTags-b677a73b.js} +2 -2
- package/dist/esm/v3/{OrTimePicker-68de86d9.js → OrTimePicker-6825fc88.js} +7 -7
- package/dist/esm/v3/{OrTooltip-3d5fcaf9.js → OrTooltip-54c18e36.js} +28 -42
- package/dist/esm/v3/components/index.js +28 -27
- package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +16 -11
- package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +2 -1
- package/dist/esm/v3/components/or-card-collection-v3/index.js +9 -8
- package/dist/esm/v3/components/or-confirm-v3/OrConfirm.vue.d.ts +16 -34
- package/dist/esm/v3/components/or-confirm-v3/index.js +7 -6
- package/dist/esm/v3/components/or-date-picker-v3/index.js +9 -8
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +10 -9
- 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/OrMenu.vue.d.ts +13 -6
- package/dist/esm/v3/components/or-menu-v3/index.js +5 -4
- package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +12 -15
- package/dist/esm/v3/components/or-modal-v3/index.js +11 -10
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-content/OrModalContent.vue.d.ts +5 -0
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-content/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-footer/OrModalFooter.vue.d.ts +5 -0
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-footer/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-header/OrModalHeader.vue.d.ts +7 -0
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-header/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-modal-v3/styles.d.ts +0 -3
- 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/OrPopover.vue.d.ts +15 -12
- 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-sidebar-v3/partials/or-sidebar-collapse-button/index.js +6 -5
- package/dist/esm/v3/components/or-tabs-v3/index.js +5 -4
- 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 +8 -7
- 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/OrTooltip.vue.d.ts +17 -7
- package/dist/esm/v3/components/or-tooltip-v3/index.js +5 -4
- package/dist/esm/v3/hooks/index.d.ts +1 -0
- package/dist/esm/v3/hooks/index.js +1 -0
- package/dist/esm/v3/hooks/usePopoverState.d.ts +8 -0
- package/dist/esm/v3/index.js +28 -27
- package/dist/esm/v3/{types-9e1555eb.js → types-c61726e4.js} +1 -1
- package/dist/esm/v3/usePopoverState-4cb59ae5.js +37 -0
- package/package.json +2 -3
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +27 -60
- package/src/components/or-confirm-v3/OrConfirm.vue +25 -50
- package/src/components/or-date-picker-v3/OrDatePicker.vue +2 -2
- package/src/components/or-date-time-picker-v3/OrDateTimePicker.vue +3 -3
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-date-select/OrDateTimePickerDateSelect.vue +1 -1
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/OrDateTimePickerMonthSelect.vue +6 -6
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-footer/OrDateTimePickerPopoverFooter.vue +2 -2
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/OrDateTimePickerTimeSelect.vue +2 -2
- package/src/components/or-menu-v3/OrMenu.vue +18 -43
- package/src/components/or-modal-v3/OrModal.vue +27 -65
- package/src/components/or-modal-v3/partials/or-modal-content/OrModalContent.vue +37 -0
- package/src/components/or-modal-v3/partials/or-modal-content/styles.ts +7 -0
- package/src/components/or-modal-v3/partials/or-modal-footer/OrModalFooter.vue +37 -0
- package/src/components/or-modal-v3/partials/or-modal-footer/styles.ts +4 -0
- package/src/components/or-modal-v3/partials/or-modal-header/OrModalHeader.vue +54 -0
- package/src/components/or-modal-v3/partials/or-modal-header/styles.ts +10 -0
- package/src/components/or-modal-v3/styles.ts +0 -25
- package/src/components/or-popover-v3/OrPopover.vue +22 -123
- package/src/components/or-time-picker-v3/OrTimePicker.vue +2 -2
- package/src/components/or-tooltip-v3/OrTooltip.vue +23 -41
- package/src/hooks/index.ts +1 -0
- package/src/hooks/usePopoverState.ts +51 -0
- package/dist/bundled/v3/OrMenu.vue_vue_type_script_lang-115f2c60.js +0 -93
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-202c4e2f.js +0 -71
- package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-bb3db5bf.js +0 -72
- package/dist/esm/v2/OrModal-1f80d87f.js +0 -174
- package/dist/esm/v3/OrModal-1366926a.js +0 -150
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-485ef171.js → OrToastContainer.vue_vue_type_script_lang-7caa56c5.js} +0 -0
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
export { s as OrTagsV3 } from '../../OrTags-
|
|
1
|
+
export { s as OrTagsV3 } from '../../OrTags-b677a73b.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useOverflow-c856b7b7.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '../../OrButton-c2b6aa9e.js';
|
|
6
6
|
import '../../OrLoader-b79022da.js';
|
|
7
7
|
import 'vue';
|
|
8
|
-
import '../../OrPopover-
|
|
8
|
+
import '../../OrPopover-bec73a66.js';
|
|
9
9
|
import '@floating-ui/dom';
|
|
10
10
|
import '../../useElevation-b5a49746.js';
|
|
11
|
+
import '../../usePopoverState-4cb59ae5.js';
|
|
11
12
|
import '../../useResponsive-a02e95b7.js';
|
|
12
|
-
import '../../OrBottomSheet-
|
|
13
|
+
import '../../OrBottomSheet-946c14d3.js';
|
|
13
14
|
import '../../OrOverlay-bf72f582.js';
|
|
14
15
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
15
|
-
import '../../OrTag-
|
|
16
|
-
import '../../OrIconButton-
|
|
16
|
+
import '../../OrTag-8521661a.js';
|
|
17
|
+
import '../../OrIconButton-ce1b5542.js';
|
|
17
18
|
import '../../OrIcon-62793572.js';
|
|
18
|
-
import '../../OrTooltip-
|
|
19
|
+
import '../../OrTooltip-54c18e36.js';
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
export { s as OrTimePickerV3 } from '../../OrTimePicker-
|
|
1
|
+
export { s as OrTimePickerV3 } from '../../OrTimePicker-6825fc88.js';
|
|
2
2
|
export { I as TimePickerSize } from '../../OrInputBox-ba40bbdf.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-e1f90e0a.js';
|
|
5
|
-
import '../../OrDateTimePickerPopoverHeader-
|
|
5
|
+
import '../../OrDateTimePickerPopoverHeader-6af64e73.js';
|
|
6
6
|
import '../../OrLabel-4da56db0.js';
|
|
7
7
|
import 'vue';
|
|
8
8
|
import '../../OrButton-c2b6aa9e.js';
|
|
9
9
|
import '../../OrLoader-b79022da.js';
|
|
10
10
|
import '@vueuse/core';
|
|
11
|
-
import '../../OrDateTimePickerTimeSelect-
|
|
11
|
+
import '../../OrDateTimePickerTimeSelect-68b76476.js';
|
|
12
12
|
import '../../OrError-c01d0c29.js';
|
|
13
13
|
import '../../OrHint-06ab89d7.js';
|
|
14
|
-
import '../../OrIconButton-
|
|
14
|
+
import '../../OrIconButton-ce1b5542.js';
|
|
15
15
|
import '../../OrIcon-62793572.js';
|
|
16
|
-
import '../../OrTooltip-
|
|
17
|
-
import '../../
|
|
16
|
+
import '../../OrTooltip-54c18e36.js';
|
|
17
|
+
import '../../usePopoverState-4cb59ae5.js';
|
|
18
|
+
import '../../OrPopover-bec73a66.js';
|
|
18
19
|
import '@floating-ui/dom';
|
|
19
20
|
import '../../useElevation-b5a49746.js';
|
|
20
21
|
import '../../useResponsive-a02e95b7.js';
|
|
21
|
-
import '../../OrBottomSheet-
|
|
22
|
+
import '../../OrBottomSheet-946c14d3.js';
|
|
22
23
|
import '../../OrOverlay-bf72f582.js';
|
|
23
24
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../../types-
|
|
1
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../../types-c61726e4.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';
|
|
5
5
|
import '../../useElevation-b5a49746.js';
|
|
6
6
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
7
7
|
import 'vue';
|
|
8
|
-
import '../../OrIconButton-
|
|
8
|
+
import '../../OrIconButton-ce1b5542.js';
|
|
9
9
|
import '../../OrIcon-62793572.js';
|
|
10
|
-
import '../../OrTooltip-
|
|
11
|
-
import '../../
|
|
10
|
+
import '../../OrTooltip-54c18e36.js';
|
|
11
|
+
import '../../usePopoverState-4cb59ae5.js';
|
|
12
|
+
import '../../OrPopover-bec73a66.js';
|
|
12
13
|
import '@floating-ui/dom';
|
|
13
14
|
import '../../useResponsive-a02e95b7.js';
|
|
14
|
-
import '../../OrBottomSheet-
|
|
15
|
+
import '../../OrBottomSheet-946c14d3.js';
|
|
15
16
|
import '../../OrOverlay-bf72f582.js';
|
|
16
17
|
import '../../OrLoader-b79022da.js';
|
|
17
18
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
export { a as OrToastContainerV3, t as TypesV3 } from '../../../types-
|
|
1
|
+
export { a as OrToastContainerV3, t as TypesV3 } from '../../../types-c61726e4.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';
|
|
5
5
|
import '../../../useElevation-b5a49746.js';
|
|
6
6
|
import '../../../OrTeleport.vue3-8099178c.js';
|
|
7
7
|
import 'vue';
|
|
8
|
-
import '../../../OrIconButton-
|
|
8
|
+
import '../../../OrIconButton-ce1b5542.js';
|
|
9
9
|
import '../../../OrIcon-62793572.js';
|
|
10
|
-
import '../../../OrTooltip-
|
|
11
|
-
import '../../../
|
|
10
|
+
import '../../../OrTooltip-54c18e36.js';
|
|
11
|
+
import '../../../usePopoverState-4cb59ae5.js';
|
|
12
|
+
import '../../../OrPopover-bec73a66.js';
|
|
12
13
|
import '@floating-ui/dom';
|
|
13
14
|
import '../../../useResponsive-a02e95b7.js';
|
|
14
|
-
import '../../../OrBottomSheet-
|
|
15
|
+
import '../../../OrBottomSheet-946c14d3.js';
|
|
15
16
|
import '../../../OrOverlay-bf72f582.js';
|
|
16
17
|
import '../../../OrLoader-b79022da.js';
|
|
17
18
|
import '../../../style-inject.es-4c6f2515.js';
|
|
@@ -1,35 +1,45 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
2
|
import { TooltipPlacement } from './props';
|
|
3
3
|
declare const _default: import("vue-demi").DefineComponent<{
|
|
4
|
+
isOpen: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
4
8
|
text: {
|
|
5
9
|
type: StringConstructor;
|
|
6
10
|
default: undefined;
|
|
7
11
|
};
|
|
8
12
|
placement: {
|
|
9
|
-
type: PropType<
|
|
13
|
+
type: PropType<TooltipPlacement>;
|
|
10
14
|
default: TooltipPlacement;
|
|
11
15
|
};
|
|
12
16
|
}, {
|
|
13
17
|
root: import("vue-demi").Ref<HTMLElement | undefined>;
|
|
14
|
-
popover: import("vue-demi").Ref<any>;
|
|
15
|
-
popoverRoot: import("vue-demi").ComputedRef<any>;
|
|
16
18
|
rootStyles: import("vue-demi").ComputedRef<string[]>;
|
|
17
19
|
bodyStyles: import("vue-demi").ComputedRef<string[]>;
|
|
20
|
+
state: Readonly<import("vue-demi").Ref<"open" | "closed">>;
|
|
18
21
|
open: () => void;
|
|
19
22
|
close: () => void;
|
|
20
|
-
|
|
23
|
+
toggle: () => void;
|
|
24
|
+
}, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("open" | "close")[], "open" | "close", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
25
|
+
isOpen: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
21
29
|
text: {
|
|
22
30
|
type: StringConstructor;
|
|
23
31
|
default: undefined;
|
|
24
32
|
};
|
|
25
33
|
placement: {
|
|
26
|
-
type: PropType<
|
|
34
|
+
type: PropType<TooltipPlacement>;
|
|
27
35
|
default: TooltipPlacement;
|
|
28
36
|
};
|
|
29
37
|
}>> & {
|
|
30
|
-
|
|
38
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
39
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
31
40
|
}, {
|
|
41
|
+
isOpen: boolean;
|
|
32
42
|
text: string;
|
|
33
|
-
placement:
|
|
43
|
+
placement: TooltipPlacement;
|
|
34
44
|
}>;
|
|
35
45
|
export default _default;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
export { s as OrTooltipV3 } from '../../OrTooltip-
|
|
2
|
-
export { P as TooltipPlacement } from '../../OrPopover-
|
|
3
|
-
import '@vueuse/core';
|
|
1
|
+
export { s as OrTooltipV3 } from '../../OrTooltip-54c18e36.js';
|
|
2
|
+
export { P as TooltipPlacement } from '../../OrPopover-bec73a66.js';
|
|
4
3
|
import 'vue-demi';
|
|
4
|
+
import '@vueuse/core';
|
|
5
|
+
import '../../usePopoverState-4cb59ae5.js';
|
|
5
6
|
import 'vue';
|
|
6
7
|
import '@floating-ui/dom';
|
|
7
8
|
import '../../useElevation-b5a49746.js';
|
|
8
9
|
import '../../useResponsive-a02e95b7.js';
|
|
9
|
-
import '../../OrBottomSheet-
|
|
10
|
+
import '../../OrBottomSheet-946c14d3.js';
|
|
10
11
|
import '../../OrOverlay-bf72f582.js';
|
|
11
12
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
@@ -2,6 +2,7 @@ export { useControlAttributes } from './useControlAttributes';
|
|
|
2
2
|
export { useElevation } from './useElevation';
|
|
3
3
|
export { useIdAttribute } from './useIdAttribute';
|
|
4
4
|
export { useOverflow } from './useOverflow';
|
|
5
|
+
export { usePopoverState } from './usePopoverState';
|
|
5
6
|
export { useResponsive } from './useResponsive';
|
|
6
7
|
export { default as useToggle } from './useToggle';
|
|
7
8
|
export { useValidationAttributes } from './useValidationAttributes';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { u as useControlAttributes, a as useIdAttribute } from '../useIdAttribute-859439f0.js';
|
|
2
2
|
export { u as useElevation } from '../useElevation-b5a49746.js';
|
|
3
3
|
export { u as useOverflow } from '../useOverflow-c856b7b7.js';
|
|
4
|
+
export { u as usePopoverState } from '../usePopoverState-4cb59ae5.js';
|
|
4
5
|
export { u as useResponsive } from '../useResponsive-a02e95b7.js';
|
|
5
6
|
export { u as useToggle } from '../useToggle-c04fc920.js';
|
|
6
7
|
export { u as useValidationAttributes } from '../useValidationAttributes-d1abbe34.js';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Ref, SetupContext } from 'vue-demi';
|
|
2
|
+
export interface PopoverState {
|
|
3
|
+
state: Ref<'open' | 'closed'>;
|
|
4
|
+
open: () => void;
|
|
5
|
+
close: () => void;
|
|
6
|
+
toggle: () => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function usePopoverState(isOpen: Ref<boolean>, context: SetupContext<('open' | 'close' | any)[]>): PopoverState;
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export { O as OR_AVATAR_SIZE, s as OrAvatar } from './OrAvatar-8a73221d.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-946c14d3.js';
|
|
4
4
|
export { s as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonViews } from './OrButton-49605f5c.js';
|
|
5
5
|
export { s as OrButtonV2 } from './OrButton-d6834ea0.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-049a3bd2.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-d79dac85.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-7418c761.js';
|
|
11
11
|
export { s as OrCardV3 } from './OrCard-cc82902c.js';
|
|
12
12
|
export { s as OrCarousel } from './OrCarousel-40f069d5.js';
|
|
13
13
|
export { s as OrCarouselItem } from './OrCarouselItem-8c7ccd0f.js';
|
|
@@ -23,10 +23,10 @@ export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k
|
|
|
23
23
|
export { s as OrCombinedInputV3 } from './OrCombinedInput-14c23a04.js';
|
|
24
24
|
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 TextareaSize, I as TimePickerSize } from './OrInputBox-ba40bbdf.js';
|
|
25
25
|
export { s as OrConfirm } from './OrConfirm-410da5b4.js';
|
|
26
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-
|
|
27
|
-
export { s as OrDatePickerV3 } from './OrDatePicker-
|
|
26
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-bbc33f51.js';
|
|
27
|
+
export { s as OrDatePickerV3 } from './OrDatePicker-81566ff0.js';
|
|
28
28
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-2af19719.js';
|
|
29
|
-
export { s as OrDateTimePickerV3 } from './OrDateTimePicker-
|
|
29
|
+
export { s as OrDateTimePickerV3 } from './OrDateTimePicker-26155597.js';
|
|
30
30
|
export { E as EmptyStateSize, s as OrEmptyStateV3 } from './OrEmptyState-5349a1f9.js';
|
|
31
31
|
export { s as OrError } from './OrError-f90296db.js';
|
|
32
32
|
export { s as OrErrorTagV3 } from './OrErrorTag-ade9192b.js';
|
|
@@ -38,14 +38,14 @@ export { F as FormGroupDirection, s as OrFormGroupV3 } from './OrFormGroup-9f581
|
|
|
38
38
|
export { s as OrHint } from './OrHint-1414c530.js';
|
|
39
39
|
export { s as OrHintV3 } from './OrHint-06ab89d7.js';
|
|
40
40
|
export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-b566a871.js';
|
|
41
|
-
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-
|
|
41
|
+
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-ce1b5542.js';
|
|
42
42
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from './OrIcon-62793572.js';
|
|
43
43
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-01fb2cb2.js';
|
|
44
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
44
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-f6d3ce66.js';
|
|
45
45
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-42d59fb9.js';
|
|
46
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
46
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-c3158522.js';
|
|
47
47
|
export { s as OrInput } from './OrInput-53a32706.js';
|
|
48
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
48
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-02821bda.js';
|
|
49
49
|
export { s as OrLabel } from './OrLabel-876f8729.js';
|
|
50
50
|
export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-4da56db0.js';
|
|
51
51
|
export { L as LinkColor, s as OrLinkV3 } from './OrLink-7c4eedf0.js';
|
|
@@ -54,17 +54,17 @@ export { s as OrListOfInputs } from './OrListOfInputs-2fc8087c.js';
|
|
|
54
54
|
export { L as LoaderViews, s as OrLoader } from './OrLoader-15174477.js';
|
|
55
55
|
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './OrLoader-b79022da.js';
|
|
56
56
|
export { s as OrMenuItemV3 } from './OrMenuItem-dbee450f.js';
|
|
57
|
-
export { s as OrMenuV3 } from './OrMenu-
|
|
58
|
-
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-
|
|
57
|
+
export { s as OrMenuV3 } from './OrMenu-79312946.js';
|
|
58
|
+
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-bec73a66.js';
|
|
59
59
|
export { s as OrModal, O as OrModalSizes } from './OrModal-c420594e.js';
|
|
60
|
-
export { M as ModalSize, s as OrModalV3 } from './OrModal-
|
|
60
|
+
export { M as ModalSize, s as OrModalV3 } from './OrModal-76a06af8.js';
|
|
61
61
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from './OrNotification-9a696585.js';
|
|
62
|
-
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-
|
|
62
|
+
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-a699caa8.js';
|
|
63
63
|
export { s as OrNumberInput } from './OrNumberInput-a80859d1.js';
|
|
64
64
|
export { s as OrOverflowMenu } from './OrOverflowMenu-4b2d2950.js';
|
|
65
65
|
export { s as OrOverlay } from './OrOverlay-451dce49.js';
|
|
66
66
|
export { s as OrOverlayV3 } from './OrOverlay-bf72f582.js';
|
|
67
|
-
export { s as OrPaginationV3 } from './OrPagination-
|
|
67
|
+
export { s as OrPaginationV3 } from './OrPagination-5853e79e.js';
|
|
68
68
|
export { s as OrPassword } from './OrPassword-35c5775f.js';
|
|
69
69
|
export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-d0d52c86.js';
|
|
70
70
|
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-33cf7445.js';
|
|
@@ -73,13 +73,13 @@ export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
|
73
73
|
export { s as OrRadioGroupV3 } from './OrRadioGroup-5d1fe6fd.js';
|
|
74
74
|
export { s as OrRadioV3 } from './OrRadio-a6c88f29.js';
|
|
75
75
|
export { s as OrSearch } from './OrSearch-f4ad73db.js';
|
|
76
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
76
|
+
export { s as OrSearchV3 } from './OrSearch-1333d290.js';
|
|
77
77
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-359fbf3a.js';
|
|
78
78
|
export { s as OrSelect } from './OrSelect-6ff34196.js';
|
|
79
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
79
|
+
export { s as OrSelectV3 } from './OrSelect-53acc3c2.js';
|
|
80
80
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
|
|
81
|
-
export { s as OrSidebarV3 } from './OrSidebar-
|
|
82
|
-
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-
|
|
81
|
+
export { s as OrSidebarV3 } from './OrSidebar-a0a0b0c4.js';
|
|
82
|
+
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-c961c428.js';
|
|
83
83
|
export { s as OrSkeletonCircle } from './OrSkeletonCircle-1aa63444.js';
|
|
84
84
|
export { s as OrSkeletonRect } from './OrSkeletonRect-813bc73a.js';
|
|
85
85
|
export { s as OrSkeletonText } from './OrSkeletonText-6de38947.js';
|
|
@@ -96,28 +96,29 @@ export { s as OrTab } from './OrTab-bc98be02.js';
|
|
|
96
96
|
export { s as OrTabHeaderItem } from './OrTabHeaderItem-3bb0b711.js';
|
|
97
97
|
export { s as OrTabV3 } from './OrTab-f7e51ffb.js';
|
|
98
98
|
export { s as OrTabs } from './OrTabs-35a376a3.js';
|
|
99
|
-
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-
|
|
99
|
+
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-a0da28b8.js';
|
|
100
100
|
export { s as OrTag } from './OrTag-2d9eacf8.js';
|
|
101
|
-
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-
|
|
102
|
-
export { s as OrTagsV3 } from './OrTags-
|
|
101
|
+
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-8521661a.js';
|
|
102
|
+
export { s as OrTagsV3 } from './OrTags-b677a73b.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-f6722edc.js';
|
|
107
107
|
export { s as OrTextareaV3 } from './OrTextarea-d9d355ce.js';
|
|
108
108
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-6e585202.js';
|
|
109
|
-
export { s as OrTimePickerV3 } from './OrTimePicker-
|
|
109
|
+
export { s as OrTimePickerV3 } from './OrTimePicker-6825fc88.js';
|
|
110
110
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-24839efd.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-c61726e4.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-89ce98e8.js';
|
|
115
115
|
export { s as OrTooltipContent } from './OrTooltipContent-37a5f562.js';
|
|
116
|
-
export { s as OrTooltipV3 } from './OrTooltip-
|
|
116
|
+
export { s as OrTooltipV3 } from './OrTooltip-54c18e36.js';
|
|
117
117
|
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e1f90e0a.js';
|
|
118
118
|
export { u as useControlAttributes, a as useIdAttribute } from './useIdAttribute-859439f0.js';
|
|
119
119
|
export { u as useElevation } from './useElevation-b5a49746.js';
|
|
120
120
|
export { u as useOverflow } from './useOverflow-c856b7b7.js';
|
|
121
|
+
export { u as usePopoverState } from './usePopoverState-4cb59ae5.js';
|
|
121
122
|
export { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
122
123
|
export { u as useToggle } from './useToggle-c04fc920.js';
|
|
123
124
|
export { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
@@ -143,9 +144,9 @@ import '@lezer/highlight';
|
|
|
143
144
|
import './px-to-rem-0b26b83e.js';
|
|
144
145
|
import './dom-7a41831b.js';
|
|
145
146
|
import '@vueuse/math';
|
|
146
|
-
import './OrDateTimePickerPopoverHeader-
|
|
147
|
-
import './OrDateTimePickerMonthSelect-
|
|
148
|
-
import './OrDateTimePickerTimeSelect-
|
|
147
|
+
import './OrDateTimePickerPopoverHeader-6af64e73.js';
|
|
148
|
+
import './OrDateTimePickerMonthSelect-6d328f9c.js';
|
|
149
|
+
import './OrDateTimePickerTimeSelect-68b76476.js';
|
|
149
150
|
import '@floating-ui/dom';
|
|
150
151
|
import 'uuid';
|
|
151
152
|
import 'sortablejs';
|
|
@@ -3,7 +3,7 @@ import { defineComponent, ref, computed, onBeforeMount, onBeforeUnmount, nextTic
|
|
|
3
3
|
import { u as useElevation } from './useElevation-b5a49746.js';
|
|
4
4
|
import { s as script$4 } from './OrTeleport.vue3-8099178c.js';
|
|
5
5
|
import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-a1332cc2.js';
|
|
6
|
-
import { s as script$2 } from './OrIconButton-
|
|
6
|
+
import { s as script$2 } from './OrIconButton-ce1b5542.js';
|
|
7
7
|
import { s as script$3 } from './OrLoader-b79022da.js';
|
|
8
8
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, createElementVNode, toDisplayString, createBlock, withModifiers, withCtx, TransitionGroup, Fragment, renderList, mergeProps } from 'vue';
|
|
9
9
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ref, watch } from 'vue-demi';
|
|
2
|
+
|
|
3
|
+
// TODO: Remove type `any` (https://github.com/microsoft/TypeScript/issues/27808)
|
|
4
|
+
// TODO: Use `defineEmits` after migration to Vue 3
|
|
5
|
+
function usePopoverState(isOpen, context) {
|
|
6
|
+
// State
|
|
7
|
+
const state = ref(isOpen.value ? 'open' : 'closed');
|
|
8
|
+
watch(isOpen, value => {
|
|
9
|
+
state.value = value ? 'open' : 'closed';
|
|
10
|
+
});
|
|
11
|
+
watch(state, value => {
|
|
12
|
+
switch (value) {
|
|
13
|
+
case 'open':
|
|
14
|
+
return context.emit('open');
|
|
15
|
+
case 'closed':
|
|
16
|
+
return context.emit('close');
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
// Methods
|
|
20
|
+
function open() {
|
|
21
|
+
state.value = 'open';
|
|
22
|
+
}
|
|
23
|
+
function close() {
|
|
24
|
+
state.value = 'closed';
|
|
25
|
+
}
|
|
26
|
+
function toggle() {
|
|
27
|
+
state.value = state.value === 'open' ? 'closed' : 'open';
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
state,
|
|
31
|
+
open,
|
|
32
|
+
close,
|
|
33
|
+
toggle
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { usePopoverState as u };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "4.6.0",
|
|
3
|
+
"version": "4.6.1-beta.2760.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": "c1f350b039e28c27828ab3382db0f6eee4f6e398"
|
|
156
|
+
}
|
|
158
157
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<OrOverlay
|
|
3
|
-
v-if="state
|
|
4
|
-
:fullscreen="
|
|
3
|
+
v-if="state === 'open'"
|
|
4
|
+
:fullscreen="fullscreen"
|
|
5
5
|
>
|
|
6
6
|
<div
|
|
7
7
|
ref="root"
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<slot name="header" />
|
|
17
17
|
</div>
|
|
18
18
|
|
|
19
|
-
<div :class="[
|
|
19
|
+
<div :class="[fullscreen ? 'overflow-y-auto' : 'overflow-hidden']">
|
|
20
20
|
<slot />
|
|
21
21
|
</div>
|
|
22
22
|
</div>
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
|
|
26
26
|
<script lang="ts">
|
|
27
27
|
import { onClickOutside, SwipeDirection, usePointerSwipe } from '@vueuse/core';
|
|
28
|
-
import { computed, defineComponent, PropType, ref, unref, watch } from 'vue-demi';
|
|
28
|
+
import { computed, defineComponent, PropType, ref, toRef, unref, watch } from 'vue-demi';
|
|
29
|
+
import { usePopoverState } from '../../hooks';
|
|
29
30
|
import { OrOverlayV3 as OrOverlay } from '../or-overlay-v3';
|
|
30
31
|
import { BottomSheetVariant } from './props';
|
|
31
32
|
import { BottomSheet, BottomSheetHandle, BottomSheetHeader, BottomSheetVariants } from './styles';
|
|
@@ -40,6 +41,11 @@ export default defineComponent({
|
|
|
40
41
|
inheritAttrs: false,
|
|
41
42
|
|
|
42
43
|
props: {
|
|
44
|
+
isOpen: {
|
|
45
|
+
type: Boolean,
|
|
46
|
+
default: false,
|
|
47
|
+
},
|
|
48
|
+
|
|
43
49
|
variant: {
|
|
44
50
|
type: String as PropType<`${BottomSheetVariant}`>,
|
|
45
51
|
default: BottomSheetVariant.Advanced,
|
|
@@ -47,21 +53,16 @@ export default defineComponent({
|
|
|
47
53
|
},
|
|
48
54
|
|
|
49
55
|
emits: [
|
|
50
|
-
'
|
|
51
|
-
'
|
|
52
|
-
'update:state:fullscreen',
|
|
53
|
-
'update:state:closed',
|
|
54
|
-
'update:state:closed-automatically',
|
|
56
|
+
'open',
|
|
57
|
+
'close',
|
|
55
58
|
],
|
|
56
59
|
|
|
57
60
|
expose: [
|
|
58
61
|
'root',
|
|
59
|
-
|
|
60
|
-
'isOpen',
|
|
61
|
-
'isFullscreen',
|
|
62
|
-
'isClosed',
|
|
62
|
+
|
|
63
63
|
'open',
|
|
64
64
|
'close',
|
|
65
|
+
'toggle',
|
|
65
66
|
],
|
|
66
67
|
|
|
67
68
|
setup(props, context) {
|
|
@@ -84,53 +85,16 @@ export default defineComponent({
|
|
|
84
85
|
]);
|
|
85
86
|
|
|
86
87
|
// State
|
|
87
|
-
const state
|
|
88
|
+
const { state, open, close, toggle } = usePopoverState(toRef(props, 'isOpen'), context);
|
|
88
89
|
|
|
89
|
-
const
|
|
90
|
-
const isFullscreen = computed(() => state.value === 'fullscreen');
|
|
91
|
-
const isClosed = computed(() => state.value === 'closed');
|
|
90
|
+
const fullscreen = ref<boolean>(false);
|
|
92
91
|
|
|
93
|
-
// Events
|
|
94
92
|
watch(state, (value) => {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
switch (value) {
|
|
98
|
-
case 'open':
|
|
99
|
-
context.emit('update:state:open');
|
|
100
|
-
break;
|
|
101
|
-
|
|
102
|
-
case 'fullscreen':
|
|
103
|
-
context.emit('update:state:fullscreen');
|
|
104
|
-
break;
|
|
105
|
-
|
|
106
|
-
case 'closed':
|
|
107
|
-
context.emit('update:state:closed');
|
|
108
|
-
break;
|
|
93
|
+
if (value === 'closed') {
|
|
94
|
+
fullscreen.value = false;
|
|
109
95
|
}
|
|
110
96
|
});
|
|
111
97
|
|
|
112
|
-
// Methods
|
|
113
|
-
function open(): void {
|
|
114
|
-
state.value = 'open';
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
function close(auto: boolean = false): void {
|
|
118
|
-
state.value = 'closed';
|
|
119
|
-
|
|
120
|
-
if (auto) {
|
|
121
|
-
context.emit('update:state:closed-automatically');
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
// Handlers
|
|
126
|
-
function onSwipeUp(): void {
|
|
127
|
-
state.value = 'fullscreen';
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
function onSwipeDown(): void {
|
|
131
|
-
state.value = state.value === 'fullscreen' ? 'open' : 'closed';
|
|
132
|
-
}
|
|
133
|
-
|
|
134
98
|
// Effects
|
|
135
99
|
// #region Swipe
|
|
136
100
|
const swipeOptions = {
|
|
@@ -160,7 +124,7 @@ export default defineComponent({
|
|
|
160
124
|
maxHeight: '100%',
|
|
161
125
|
});
|
|
162
126
|
|
|
163
|
-
|
|
127
|
+
fullscreen.value = true;
|
|
164
128
|
|
|
165
129
|
break;
|
|
166
130
|
|
|
@@ -171,7 +135,11 @@ export default defineComponent({
|
|
|
171
135
|
maxHeight: '50%',
|
|
172
136
|
});
|
|
173
137
|
|
|
174
|
-
|
|
138
|
+
if (fullscreen.value) {
|
|
139
|
+
fullscreen.value = false;
|
|
140
|
+
} else {
|
|
141
|
+
close();
|
|
142
|
+
}
|
|
175
143
|
|
|
176
144
|
break;
|
|
177
145
|
}
|
|
@@ -187,7 +155,7 @@ export default defineComponent({
|
|
|
187
155
|
const path = event.composedPath() as Element[];
|
|
188
156
|
|
|
189
157
|
if (!path.some(({ classList }) => classList?.contains('or-popover-v3') || classList?.contains('or-bottom-sheet-v3'))) {
|
|
190
|
-
close(
|
|
158
|
+
close();
|
|
191
159
|
}
|
|
192
160
|
});
|
|
193
161
|
// #endregion
|
|
@@ -198,11 +166,10 @@ export default defineComponent({
|
|
|
198
166
|
handleStyles,
|
|
199
167
|
headerStyles,
|
|
200
168
|
state,
|
|
201
|
-
|
|
202
|
-
isFullscreen,
|
|
203
|
-
isClosed,
|
|
169
|
+
fullscreen,
|
|
204
170
|
open,
|
|
205
171
|
close,
|
|
172
|
+
toggle,
|
|
206
173
|
};
|
|
207
174
|
},
|
|
208
175
|
});
|