@onereach/ui-components 4.6.3 → 4.6.4-beta.2800.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 +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 +28 -52
- 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 +3 -2
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +2 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +4 -3
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +2 -1
- 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 +21 -48
- 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 +220 -65
- 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 +2 -1
- package/dist/bundled/v2/components/OrPaginationV3/index.js +1 -0
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +31 -102
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.vue.d.ts +19 -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 +2 -1
- package/dist/bundled/v2/components/OrTimePickerV3/index.js +1 -0
- 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 +32 -39
- 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 +2 -1
- package/dist/bundled/v2/hooks/index.d.ts +1 -0
- package/dist/bundled/v2/hooks/index.js +1 -0
- package/dist/bundled/v2/hooks/useControlAttributes.d.ts +1 -2
- package/dist/bundled/v2/hooks/useElevation.js +3 -1
- package/dist/bundled/v2/hooks/usePopoverState.d.ts +11 -0
- package/dist/bundled/v2/hooks/usePopoverState.js +42 -0
- package/dist/bundled/v2/hooks/useValidationAttributes.d.ts +1 -2
- package/dist/bundled/v2/index.js +3 -2
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-a81b2abb.js → OrBottomSheet.vue_vue_type_script_lang-aebedcb2.js} +28 -45
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-f2d222a5.js → OrCardCollection.vue_vue_type_script_lang-d15329fd.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-b1b13331.js → OrConfirm.vue_vue_type_script_lang-84f80066.js} +28 -52
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-31f5d798.js → OrDatePicker.vue_vue_type_script_lang-92222927.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-a0354296.js → OrDateTimePicker.vue_vue_type_script_lang-81f3cb69.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-98b935cb.js → OrDateTimePickerMonthSelect-354e1af8.js} +2 -2
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-5bba9f3f.js → OrIconButton.vue_vue_type_script_lang-fe97e57a.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-3c6b0958.js → OrInlineInput.vue_vue_type_script_lang-3131ae11.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-da59cd8e.js → OrInlineTextarea.vue_vue_type_script_lang-db28519e.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-d08b3796.js → OrInput.vue_vue_type_script_lang-5f74dd08.js} +1 -1
- package/dist/bundled/v3/OrMenu.vue_vue_type_script_lang-1f45bf44.js +66 -0
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-31c15ba1.js +160 -0
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-463e1a82.js → OrNotification.vue_vue_type_script_lang-89bbc41f.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-bdc8d9fb.js → OrPagination.vue_vue_type_script_lang-1835d432.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-7b1b2488.js → OrPopover.vue_vue_type_script_lang-c75dbd63.js} +27 -98
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-940d8e1f.js → OrSearch.vue_vue_type_script_lang-142ab019.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-1c77663e.js → OrSelect.vue_vue_type_script_lang-0ab50e13.js} +3 -3
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-780eaa84.js → OrSidebar.vue_vue_type_script_lang-23c6a11f.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-9d4221f1.js → OrTabs.vue_vue_type_script_lang-255f33d2.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-09948d1f.js → OrTag.vue_vue_type_script_lang-f4321103.js} +1 -1
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-71fb4f1d.js → OrTags.vue_vue_type_script_lang-4684a9c5.js} +2 -2
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-21be27c6.js → OrTimePicker.vue_vue_type_script_lang-e9684fe9.js} +2 -2
- package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-f3ccffce.js +56 -0
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +7 -6
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +16 -10
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +3 -2
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +12 -11
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +11 -10
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +11 -10
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.vue.d.ts +18 -35
- package/dist/bundled/v3/components/OrConfirmV3/index.js +8 -7
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +11 -10
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +9 -8
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +12 -11
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +9 -8
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +8 -7
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +7 -6
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +9 -8
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +8 -7
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +9 -8
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +8 -7
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +9 -8
- package/dist/bundled/v3/components/OrInputV3/index.js +8 -7
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +9 -8
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.vue.d.ts +13 -5
- package/dist/bundled/v3/components/OrMenuV3/index.js +5 -4
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +36 -33
- package/dist/bundled/v3/components/OrModalV3/OrModal.vue.d.ts +14 -16
- 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 +9 -8
- package/dist/bundled/v3/components/OrNotificationV3/index.js +8 -7
- package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.js +2 -2
- package/dist/bundled/v3/components/OrOverlayV3/index.js +1 -1
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +8 -7
- package/dist/bundled/v3/components/OrPaginationV3/index.js +6 -5
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +8 -7
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.vue.d.ts +16 -11
- package/dist/bundled/v3/components/OrPopoverV3/index.js +4 -3
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +9 -8
- package/dist/bundled/v3/components/OrSearchV3/index.js +8 -7
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +10 -9
- package/dist/bundled/v3/components/OrSelectV3/index.js +9 -8
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +8 -7
- package/dist/bundled/v3/components/OrSidebarV3/index.js +7 -6
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +7 -6
- package/dist/bundled/v3/components/OrTabsV3/index.js +6 -5
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +9 -8
- package/dist/bundled/v3/components/OrTagV3/index.js +8 -7
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +9 -8
- package/dist/bundled/v3/components/OrTagsV3/index.js +8 -7
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +9 -8
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +7 -6
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +8 -7
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +7 -6
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +7 -6
- package/dist/bundled/v3/components/OrToastV3/index.js +8 -7
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +13 -10
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.vue.d.ts +17 -6
- package/dist/bundled/v3/components/OrTooltipV3/index.js +6 -5
- package/dist/bundled/v3/components/index.js +26 -25
- package/dist/bundled/v3/hooks/index.d.ts +1 -0
- package/dist/bundled/v3/hooks/index.js +1 -0
- package/dist/bundled/v3/hooks/useControlAttributes.d.ts +1 -2
- package/dist/bundled/v3/hooks/useElevation.js +3 -1
- package/dist/bundled/v3/hooks/usePopoverState.d.ts +11 -0
- package/dist/bundled/v3/hooks/usePopoverState.js +42 -0
- package/dist/bundled/v3/hooks/useValidationAttributes.d.ts +1 -2
- package/dist/bundled/v3/index.js +27 -26
- package/dist/esm/v2/{OrBottomSheet-ffa029ca.js → OrBottomSheet-0592ccb2.js} +31 -48
- package/dist/esm/v2/{OrCardCollection-02970752.js → OrCardCollection-2b9bc050.js} +4 -4
- package/dist/esm/v2/{OrConfirm-308e93bc.js → OrConfirm-3f19c23b.js} +30 -54
- package/dist/esm/v2/{OrDatePicker-a79b777e.js → OrDatePicker-e991e7b2.js} +4 -4
- package/dist/esm/v2/{OrDateTimePicker-6fe4969d.js → OrDateTimePicker-7bbd81d1.js} +5 -5
- package/dist/esm/v2/{OrDateTimePickerMonthSelect-355ea67d.js → OrDateTimePickerMonthSelect-d75a849c.js} +3 -3
- package/dist/esm/v2/{OrIconButton-ee747c71.js → OrIconButton-75972865.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-a131caf4.js → OrInlineInput-cf17dbb2.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-7cc45396.js → OrInlineTextarea-2b0e2f39.js} +1 -1
- package/dist/esm/v2/{OrInput-3eeca714.js → OrInput-1a2b8ad9.js} +1 -1
- package/dist/esm/v2/{OrMenu-8b902c22.js → OrMenu-a35caf3b.js} +23 -49
- package/dist/esm/v2/OrModal-4aaae6bc.js +312 -0
- package/dist/esm/v2/{OrNotification-16e6d4ff.js → OrNotification-a773f1df.js} +1 -1
- package/dist/esm/v2/{OrOverlay-4c8c11e2.js → OrOverlay-f791976c.js} +1 -1
- package/dist/esm/v2/{OrPagination-36583054.js → OrPagination-3513165d.js} +3 -3
- package/dist/esm/v2/{OrPopover-80459663.js → OrPopover-a8950b85.js} +33 -104
- package/dist/esm/v2/{OrSearch-fa824e87.js → OrSearch-19c157b3.js} +1 -1
- package/dist/esm/v2/{OrSelect-d5fecc34.js → OrSelect-991b8be3.js} +3 -3
- package/dist/esm/v2/{OrSidebar-638b1d60.js → OrSidebar-bfbb8b0a.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-2c81d465.js → OrSidebarCollapseButton-a98037d6.js} +1 -1
- package/dist/esm/v2/{OrTabs-653258a2.js → OrTabs-abf290af.js} +2 -2
- package/dist/esm/v2/{OrTag-6256623c.js → OrTag-aa46cecd.js} +1 -1
- package/dist/esm/v2/{OrTags-db2608dc.js → OrTags-2a567e79.js} +2 -2
- package/dist/esm/v2/{OrTimePicker-5470d7a0.js → OrTimePicker-766637cb.js} +3 -3
- package/dist/esm/v2/{OrTooltip-5a6e0f64.js → OrTooltip-0dc63c1a.js} +33 -40
- 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 +4 -3
- package/dist/esm/v2/components/or-card-collection-v3/index.js +11 -10
- package/dist/esm/v2/components/or-confirm-v3/OrConfirm.vue.d.ts +18 -36
- package/dist/esm/v2/components/or-confirm-v3/index.js +9 -8
- package/dist/esm/v2/components/or-date-picker-v3/index.js +10 -9
- 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 +7 -6
- package/dist/esm/v2/components/or-inline-input-v3/index.js +8 -7
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +8 -7
- package/dist/esm/v2/components/or-input-v3/index.js +8 -7
- package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +13 -16
- package/dist/esm/v2/components/or-menu-v3/index.js +7 -6
- package/dist/esm/v2/components/or-modal-v3/OrModal.vue.d.ts +13 -19
- package/dist/esm/v2/components/or-modal-v3/index.js +12 -11
- 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 +8 -7
- package/dist/esm/v2/components/or-overlay-v3/index.js +2 -2
- package/dist/esm/v2/components/or-pagination-v3/index.js +7 -6
- package/dist/esm/v2/components/or-popover-v3/OrPopover.vue.d.ts +19 -12
- package/dist/esm/v2/components/or-popover-v3/index.js +5 -4
- package/dist/esm/v2/components/or-search-v3/index.js +9 -8
- package/dist/esm/v2/components/or-select-v3/index.js +10 -9
- package/dist/esm/v2/components/or-sidebar-v3/index.js +9 -8
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +8 -7
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +8 -7
- package/dist/esm/v2/components/or-tabs-v3/index.js +7 -6
- package/dist/esm/v2/components/or-tag-v3/index.js +8 -7
- package/dist/esm/v2/components/or-tags-v3/index.js +9 -8
- package/dist/esm/v2/components/or-time-picker-v3/index.js +8 -7
- package/dist/esm/v2/components/or-toast-v3/index.js +8 -7
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +8 -7
- package/dist/esm/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +20 -17
- package/dist/esm/v2/components/or-tooltip-v3/index.js +7 -6
- package/dist/esm/v2/hooks/index.d.ts +1 -0
- package/dist/esm/v2/hooks/index.js +2 -1
- package/dist/esm/v2/hooks/useControlAttributes.d.ts +1 -2
- package/dist/esm/v2/hooks/usePopoverState.d.ts +11 -0
- package/dist/esm/v2/hooks/useValidationAttributes.d.ts +1 -2
- package/dist/esm/v2/index.js +28 -27
- package/dist/esm/v2/{types-4a7d24f3.js → types-f30860ee.js} +2 -2
- package/dist/esm/{v3/useElevation-b5a49746.js → v2/useElevation-a50ec347.js} +3 -1
- package/dist/esm/v2/usePopoverState-8a95a300.js +42 -0
- package/dist/esm/v3/{OrBottomSheet-5969a217.js → OrBottomSheet-a39fb331.js} +31 -48
- package/dist/esm/v3/{OrCardCollection-4401de57.js → OrCardCollection-3d652a34.js} +4 -4
- package/dist/esm/v3/{OrConfirm-671148e8.js → OrConfirm-cb0b2b78.js} +30 -54
- package/dist/esm/v3/{OrDatePicker-7cb1da75.js → OrDatePicker-6a44ad41.js} +4 -4
- package/dist/esm/v3/{OrDateTimePicker-3cf882f6.js → OrDateTimePicker-2cbcf8c7.js} +5 -5
- package/dist/esm/v3/{OrDateTimePickerMonthSelect-bd26a294.js → OrDateTimePickerMonthSelect-2f61d92f.js} +3 -3
- package/dist/esm/v3/{OrIconButton-b7217ea5.js → OrIconButton-e34a20eb.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-dcb28ea2.js → OrInlineInput-ad0d4264.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-88eac437.js → OrInlineTextarea-b5ec488d.js} +1 -1
- package/dist/esm/v3/{OrInput-238fd1c0.js → OrInput-a9aeef6e.js} +1 -1
- package/dist/esm/v3/{OrMenu-8a53ccf9.js → OrMenu-f590d761.js} +24 -50
- package/dist/esm/v3/OrModal-9dc09e95.js +226 -0
- package/dist/esm/v3/{OrNotification-09216b8b.js → OrNotification-69031471.js} +1 -1
- package/dist/esm/v3/{OrOverlay-bf72f582.js → OrOverlay-28952099.js} +1 -1
- package/dist/esm/v3/{OrPagination-c6046af4.js → OrPagination-f3be120f.js} +3 -3
- package/dist/esm/v3/{OrPopover-15c2968f.js → OrPopover-ebd57053.js} +31 -102
- package/dist/esm/v3/{OrSearch-cd0f6a88.js → OrSearch-5576cf14.js} +1 -1
- package/dist/esm/v3/{OrSelect-ce7f58cf.js → OrSelect-0b3ebce9.js} +3 -3
- package/dist/esm/v3/{OrSidebar-1579ad80.js → OrSidebar-303ef558.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-2668946c.js → OrSidebarCollapseButton-d7f004df.js} +1 -1
- package/dist/esm/v3/{OrTabs-a2d87627.js → OrTabs-b6c8077c.js} +2 -2
- package/dist/esm/v3/{OrTag-8605e9e6.js → OrTag-4ac45254.js} +1 -1
- package/dist/esm/v3/{OrTags-3724ff59.js → OrTags-de9f065e.js} +2 -2
- package/dist/esm/v3/{OrTimePicker-a5921c6f.js → OrTimePicker-0fe72767.js} +3 -3
- package/dist/esm/v3/{OrTooltip-3d5fcaf9.js → OrTooltip-edb28095.js} +28 -41
- package/dist/esm/v3/components/index.js +28 -27
- package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +16 -10
- package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +4 -3
- package/dist/esm/v3/components/or-card-collection-v3/index.js +11 -10
- package/dist/esm/v3/components/or-confirm-v3/OrConfirm.vue.d.ts +18 -35
- package/dist/esm/v3/components/or-confirm-v3/index.js +9 -8
- package/dist/esm/v3/components/or-date-picker-v3/index.js +10 -9
- 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 +7 -6
- package/dist/esm/v3/components/or-inline-input-v3/index.js +8 -7
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +8 -7
- package/dist/esm/v3/components/or-input-v3/index.js +8 -7
- package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +13 -5
- package/dist/esm/v3/components/or-menu-v3/index.js +7 -6
- package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +14 -16
- 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 +8 -7
- package/dist/esm/v3/components/or-overlay-v3/index.js +2 -2
- package/dist/esm/v3/components/or-pagination-v3/index.js +7 -6
- package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +16 -11
- package/dist/esm/v3/components/or-popover-v3/index.js +5 -4
- package/dist/esm/v3/components/or-search-v3/index.js +9 -8
- package/dist/esm/v3/components/or-select-v3/index.js +10 -9
- package/dist/esm/v3/components/or-sidebar-v3/index.js +9 -8
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +8 -7
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +8 -7
- package/dist/esm/v3/components/or-tabs-v3/index.js +7 -6
- package/dist/esm/v3/components/or-tag-v3/index.js +8 -7
- package/dist/esm/v3/components/or-tags-v3/index.js +9 -8
- package/dist/esm/v3/components/or-time-picker-v3/index.js +8 -7
- package/dist/esm/v3/components/or-toast-v3/index.js +8 -7
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +8 -7
- package/dist/esm/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +17 -6
- package/dist/esm/v3/components/or-tooltip-v3/index.js +7 -6
- package/dist/esm/v3/hooks/index.d.ts +1 -0
- package/dist/esm/v3/hooks/index.js +2 -1
- package/dist/esm/v3/hooks/useControlAttributes.d.ts +1 -2
- package/dist/esm/v3/hooks/usePopoverState.d.ts +11 -0
- package/dist/esm/v3/hooks/useValidationAttributes.d.ts +1 -2
- package/dist/esm/v3/index.js +28 -27
- package/dist/esm/v3/{types-9e1555eb.js → types-60f3dd35.js} +2 -2
- package/dist/esm/{v2/useElevation-b5a49746.js → v3/useElevation-a50ec347.js} +3 -1
- package/dist/esm/v3/usePopoverState-8a95a300.js +42 -0
- package/package.json +2 -3
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +29 -58
- package/src/components/or-confirm-v3/OrConfirm.vue +29 -50
- package/src/components/or-date-picker-v3/OrDatePicker.vue +1 -1
- package/src/components/or-date-time-picker-v3/OrDateTimePicker.vue +2 -2
- package/src/components/or-menu-v3/OrMenu.vue +18 -40
- package/src/components/or-modal-v3/OrModal.vue +32 -66
- 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 +10 -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-pagination-v3/OrPagination.vue +1 -1
- package/src/components/or-popover-v3/OrPopover.vue +28 -125
- package/src/components/or-time-picker-v3/OrTimePicker.vue +1 -1
- package/src/components/or-tooltip-v3/OrTooltip.vue +24 -40
- package/src/hooks/index.ts +1 -0
- package/src/hooks/useControlAttributes.ts +1 -1
- package/src/hooks/useElevation.ts +3 -1
- package/src/hooks/usePopoverState.ts +66 -0
- package/src/hooks/useValidationAttributes.ts +1 -1
- 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/v2/{OrDateTimePickerMonthSelect-30f79990.js → OrDateTimePickerMonthSelect-9a8e332c.js} +0 -0
- /package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-86c7b93a.js → OrOverlay.vue_vue_type_script_lang-29ff6fd8.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-485ef171.js → OrToastContainer.vue_vue_type_script_lang-461fb6d1.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as OrTimePickerV3 } from '../../OrTimePicker-
|
|
1
|
+
export { s as OrTimePickerV3 } from '../../OrTimePicker-0fe72767.js';
|
|
2
2
|
export { I as TimePickerSize } from '../../OrInputBox-32814878.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-e1f90e0a.js';
|
|
@@ -11,13 +11,14 @@ import '@vueuse/core';
|
|
|
11
11
|
import '../../OrDateTimePickerTimeSelect-14503fde.js';
|
|
12
12
|
import '../../OrError-c01d0c29.js';
|
|
13
13
|
import '../../OrHint-06ab89d7.js';
|
|
14
|
-
import '../../OrIconButton-
|
|
14
|
+
import '../../OrIconButton-e34a20eb.js';
|
|
15
15
|
import '../../OrIcon-62793572.js';
|
|
16
|
-
import '../../OrTooltip-
|
|
17
|
-
import '../../
|
|
16
|
+
import '../../OrTooltip-edb28095.js';
|
|
17
|
+
import '../../usePopoverState-8a95a300.js';
|
|
18
|
+
import '../../OrPopover-ebd57053.js';
|
|
18
19
|
import '@floating-ui/dom';
|
|
19
|
-
import '../../useElevation-
|
|
20
|
+
import '../../useElevation-a50ec347.js';
|
|
20
21
|
import '../../useResponsive-a02e95b7.js';
|
|
21
|
-
import '../../OrBottomSheet-
|
|
22
|
-
import '../../OrOverlay-
|
|
22
|
+
import '../../OrBottomSheet-a39fb331.js';
|
|
23
|
+
import '../../OrOverlay-28952099.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-60f3dd35.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
|
-
import '../../useElevation-
|
|
5
|
+
import '../../useElevation-a50ec347.js';
|
|
6
6
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
7
7
|
import 'vue';
|
|
8
|
-
import '../../OrIconButton-
|
|
8
|
+
import '../../OrIconButton-e34a20eb.js';
|
|
9
9
|
import '../../OrIcon-62793572.js';
|
|
10
|
-
import '../../OrTooltip-
|
|
11
|
-
import '../../
|
|
10
|
+
import '../../OrTooltip-edb28095.js';
|
|
11
|
+
import '../../usePopoverState-8a95a300.js';
|
|
12
|
+
import '../../OrPopover-ebd57053.js';
|
|
12
13
|
import '@floating-ui/dom';
|
|
13
14
|
import '../../useResponsive-a02e95b7.js';
|
|
14
|
-
import '../../OrBottomSheet-
|
|
15
|
-
import '../../OrOverlay-
|
|
15
|
+
import '../../OrBottomSheet-a39fb331.js';
|
|
16
|
+
import '../../OrOverlay-28952099.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-60f3dd35.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
|
-
import '../../../useElevation-
|
|
5
|
+
import '../../../useElevation-a50ec347.js';
|
|
6
6
|
import '../../../OrTeleport.vue3-8099178c.js';
|
|
7
7
|
import 'vue';
|
|
8
|
-
import '../../../OrIconButton-
|
|
8
|
+
import '../../../OrIconButton-e34a20eb.js';
|
|
9
9
|
import '../../../OrIcon-62793572.js';
|
|
10
|
-
import '../../../OrTooltip-
|
|
11
|
-
import '../../../
|
|
10
|
+
import '../../../OrTooltip-edb28095.js';
|
|
11
|
+
import '../../../usePopoverState-8a95a300.js';
|
|
12
|
+
import '../../../OrPopover-ebd57053.js';
|
|
12
13
|
import '@floating-ui/dom';
|
|
13
14
|
import '../../../useResponsive-a02e95b7.js';
|
|
14
|
-
import '../../../OrBottomSheet-
|
|
15
|
-
import '../../../OrOverlay-
|
|
15
|
+
import '../../../OrBottomSheet-a39fb331.js';
|
|
16
|
+
import '../../../OrOverlay-28952099.js';
|
|
16
17
|
import '../../../OrLoader-b79022da.js';
|
|
17
18
|
import '../../../style-inject.es-4c6f2515.js';
|
|
@@ -1,35 +1,46 @@
|
|
|
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: 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, ("update:state" | "open" | "close")[], "update:state" | "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
|
"onUpdate:state"?: ((...args: any[]) => any) | undefined;
|
|
39
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
40
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
31
41
|
}, {
|
|
42
|
+
isOpen: boolean;
|
|
32
43
|
text: string;
|
|
33
|
-
placement:
|
|
44
|
+
placement: TooltipPlacement;
|
|
34
45
|
}>;
|
|
35
46
|
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-edb28095.js';
|
|
2
|
+
export { P as TooltipPlacement } from '../../OrPopover-ebd57053.js';
|
|
4
3
|
import 'vue-demi';
|
|
4
|
+
import '@vueuse/core';
|
|
5
|
+
import '../../usePopoverState-8a95a300.js';
|
|
5
6
|
import 'vue';
|
|
6
7
|
import '@floating-ui/dom';
|
|
7
|
-
import '../../useElevation-
|
|
8
|
+
import '../../useElevation-a50ec347.js';
|
|
8
9
|
import '../../useResponsive-a02e95b7.js';
|
|
9
|
-
import '../../OrBottomSheet-
|
|
10
|
-
import '../../OrOverlay-
|
|
10
|
+
import '../../OrBottomSheet-a39fb331.js';
|
|
11
|
+
import '../../OrOverlay-28952099.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
|
-
export { u as useElevation } from '../useElevation-
|
|
2
|
+
export { u as useElevation } from '../useElevation-a50ec347.js';
|
|
3
3
|
export { u as useOverflow } from '../useOverflow-c856b7b7.js';
|
|
4
|
+
export { u as usePopoverState } from '../usePopoverState-8a95a300.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';
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue-demi';
|
|
2
|
-
interface ControlAttributes {
|
|
2
|
+
export interface ControlAttributes {
|
|
3
3
|
readonly: ComputedRef<boolean | undefined>;
|
|
4
4
|
disabled: ComputedRef<boolean | undefined>;
|
|
5
5
|
'force-state': ComputedRef<string | undefined>;
|
|
6
6
|
}
|
|
7
7
|
export declare function useControlAttributes(): ControlAttributes;
|
|
8
|
-
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
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 interface PopoverStateOptions {
|
|
9
|
+
debounce?: number;
|
|
10
|
+
}
|
|
11
|
+
export declare function usePopoverState(isOpen: Ref<boolean>, context: SetupContext<('update:state' | 'open' | 'close' | any)[]>, options?: PopoverStateOptions): PopoverState;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue-demi';
|
|
2
|
-
interface ValidationAttributes {
|
|
2
|
+
export interface ValidationAttributes {
|
|
3
3
|
required: ComputedRef<boolean | undefined>;
|
|
4
4
|
minlength: ComputedRef<number | undefined>;
|
|
5
5
|
maxlength: ComputedRef<number | undefined>;
|
|
@@ -9,4 +9,3 @@ interface ValidationAttributes {
|
|
|
9
9
|
step: ComputedRef<number | undefined>;
|
|
10
10
|
}
|
|
11
11
|
export declare function useValidationAttributes(): ValidationAttributes;
|
|
12
|
-
export {};
|
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-a39fb331.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-3d652a34.js';
|
|
11
11
|
export { s as OrCardV3 } from './OrCard-cc82902c.js';
|
|
12
12
|
export { s as OrCarousel } from './OrCarousel-5cc74f26.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-b5ba46a1.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-32814878.js';
|
|
25
25
|
export { s as OrConfirm } from './OrConfirm-704f817e.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-cb0b2b78.js';
|
|
27
|
+
export { s as OrDatePickerV3 } from './OrDatePicker-6a44ad41.js';
|
|
28
28
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-c19dcefc.js';
|
|
29
|
-
export { s as OrDateTimePickerV3 } from './OrDateTimePicker-
|
|
29
|
+
export { s as OrDateTimePickerV3 } from './OrDateTimePicker-2cbcf8c7.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-8822005b.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-d8ea7901.js';
|
|
41
|
-
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-
|
|
41
|
+
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-e34a20eb.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-ad0d4264.js';
|
|
45
45
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-6bf54bd0.js';
|
|
46
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
46
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-b5ec488d.js';
|
|
47
47
|
export { s as OrInput } from './OrInput-9be9a209.js';
|
|
48
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
48
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-a9aeef6e.js';
|
|
49
49
|
export { s as OrLabel } from './OrLabel-a7d99df4.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-ce0d6ac0.js';
|
|
|
54
54
|
export { L as LoaderViews, s as OrLoader } from './OrLoader-7b006619.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-f590d761.js';
|
|
58
|
+
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-ebd57053.js';
|
|
59
59
|
export { s as OrModal, O as OrModalSizes } from './OrModal-f3a4813a.js';
|
|
60
|
-
export { M as ModalSize, s as OrModalV3 } from './OrModal-
|
|
60
|
+
export { M as ModalSize, s as OrModalV3 } from './OrModal-9dc09e95.js';
|
|
61
61
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from './OrNotification-538f8e92.js';
|
|
62
|
-
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-
|
|
62
|
+
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-69031471.js';
|
|
63
63
|
export { s as OrNumberInput } from './OrNumberInput-249caf96.js';
|
|
64
64
|
export { s as OrOverflowMenu } from './OrOverflowMenu-4d0bf63a.js';
|
|
65
65
|
export { s as OrOverlay } from './OrOverlay-451dce49.js';
|
|
66
|
-
export { s as OrOverlayV3 } from './OrOverlay-
|
|
67
|
-
export { s as OrPaginationV3 } from './OrPagination-
|
|
66
|
+
export { s as OrOverlayV3 } from './OrOverlay-28952099.js';
|
|
67
|
+
export { s as OrPaginationV3 } from './OrPagination-f3be120f.js';
|
|
68
68
|
export { s as OrPassword } from './OrPassword-9192b9ea.js';
|
|
69
69
|
export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-aa2ea84b.js';
|
|
70
70
|
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-efa51d7b.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-d0c8aca7.js';
|
|
76
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
76
|
+
export { s as OrSearchV3 } from './OrSearch-5576cf14.js';
|
|
77
77
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-359fbf3a.js';
|
|
78
78
|
export { s as OrSelect } from './OrSelect-60205145.js';
|
|
79
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
79
|
+
export { s as OrSelectV3 } from './OrSelect-0b3ebce9.js';
|
|
80
80
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-aaf73310.js';
|
|
81
|
-
export { s as OrSidebarV3 } from './OrSidebar-
|
|
82
|
-
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-
|
|
81
|
+
export { s as OrSidebarV3 } from './OrSidebar-303ef558.js';
|
|
82
|
+
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-d7f004df.js';
|
|
83
83
|
export { s as OrSkeletonCircle } from './OrSkeletonCircle-66e175a0.js';
|
|
84
84
|
export { s as OrSkeletonRect } from './OrSkeletonRect-c694574e.js';
|
|
85
85
|
export { s as OrSkeletonText } from './OrSkeletonText-9a800de4.js';
|
|
@@ -96,28 +96,29 @@ export { s as OrTab } from './OrTab-d8d4e871.js';
|
|
|
96
96
|
export { s as OrTabHeaderItem } from './OrTabHeaderItem-c2af7ca3.js';
|
|
97
97
|
export { s as OrTabV3 } from './OrTab-f7e51ffb.js';
|
|
98
98
|
export { s as OrTabs } from './OrTabs-3da3ea89.js';
|
|
99
|
-
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-
|
|
99
|
+
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-b6c8077c.js';
|
|
100
100
|
export { s as OrTag } from './OrTag-a2197abd.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-4ac45254.js';
|
|
102
|
+
export { s as OrTagsV3 } from './OrTags-de9f065e.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-93cf7da7.js';
|
|
108
108
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-56714f51.js';
|
|
109
|
-
export { s as OrTimePickerV3 } from './OrTimePicker-
|
|
109
|
+
export { s as OrTimePickerV3 } from './OrTimePicker-0fe72767.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-60f3dd35.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-edb28095.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
|
-
export { u as useElevation } from './useElevation-
|
|
119
|
+
export { u as useElevation } from './useElevation-a50ec347.js';
|
|
120
120
|
export { u as useOverflow } from './useOverflow-c856b7b7.js';
|
|
121
|
+
export { u as usePopoverState } from './usePopoverState-8a95a300.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';
|
|
@@ -145,7 +146,7 @@ import 'lodash/isElement';
|
|
|
145
146
|
import 'lodash/get';
|
|
146
147
|
import '@vueuse/math';
|
|
147
148
|
import './OrDateTimePickerPopoverHeader-3ae517f8.js';
|
|
148
|
-
import './OrDateTimePickerMonthSelect-
|
|
149
|
+
import './OrDateTimePickerMonthSelect-2f61d92f.js';
|
|
149
150
|
import 'lodash/padStart';
|
|
150
151
|
import './OrDateTimePickerTimeSelect-14503fde.js';
|
|
151
152
|
import '@floating-ui/dom';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useToggle } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, onBeforeMount, onBeforeUnmount, nextTick } from 'vue-demi';
|
|
3
|
-
import { u as useElevation } from './useElevation-
|
|
3
|
+
import { u as useElevation } from './useElevation-a50ec347.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-e34a20eb.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';
|
|
@@ -17,7 +17,9 @@ function useElevation(element, trigger) {
|
|
|
17
17
|
// Effects
|
|
18
18
|
watch([elementRef, triggerRef], _ref => {
|
|
19
19
|
let [element] = _ref;
|
|
20
|
-
if (element)
|
|
20
|
+
if (element) {
|
|
21
|
+
setElementElevation(element);
|
|
22
|
+
}
|
|
21
23
|
}, {
|
|
22
24
|
immediate: true
|
|
23
25
|
});
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { debouncedRef } from '@vueuse/core';
|
|
2
|
+
import { ref, watch } from 'vue-demi';
|
|
3
|
+
|
|
4
|
+
// TODO: Remove type `any` (https://github.com/microsoft/TypeScript/issues/27808)
|
|
5
|
+
// TODO: Use `defineEmits` after migration to Vue 3
|
|
6
|
+
function usePopoverState(isOpen, context, options) {
|
|
7
|
+
// State
|
|
8
|
+
const state = ref(isOpen.value ? 'open' : 'closed');
|
|
9
|
+
watch(isOpen, value => {
|
|
10
|
+
state.value = value ? 'open' : 'closed';
|
|
11
|
+
});
|
|
12
|
+
const debouncedState = (options === null || options === void 0 ? void 0 : options.debounce) ? debouncedRef(state, options.debounce) : state;
|
|
13
|
+
watch(debouncedState, value => {
|
|
14
|
+
context.emit('update:state', value);
|
|
15
|
+
switch (value) {
|
|
16
|
+
case 'open':
|
|
17
|
+
context.emit('open');
|
|
18
|
+
break;
|
|
19
|
+
case 'closed':
|
|
20
|
+
context.emit('close');
|
|
21
|
+
break;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
// Methods
|
|
25
|
+
function open() {
|
|
26
|
+
state.value = 'open';
|
|
27
|
+
}
|
|
28
|
+
function close() {
|
|
29
|
+
state.value = 'closed';
|
|
30
|
+
}
|
|
31
|
+
function toggle() {
|
|
32
|
+
state.value = state.value === 'open' ? 'closed' : 'open';
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
state: debouncedState,
|
|
36
|
+
open,
|
|
37
|
+
close,
|
|
38
|
+
toggle
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export { usePopoverState as u };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.4-beta.2800.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": "ed0dd843a3874cfcf070fb096629cf38f0771079"
|
|
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,
|
|
@@ -48,20 +54,19 @@ export default defineComponent({
|
|
|
48
54
|
|
|
49
55
|
emits: [
|
|
50
56
|
'update:state',
|
|
51
|
-
|
|
52
|
-
'
|
|
53
|
-
'
|
|
54
|
-
'update:state:closed-automatically',
|
|
57
|
+
|
|
58
|
+
'open',
|
|
59
|
+
'close',
|
|
55
60
|
],
|
|
56
61
|
|
|
57
62
|
expose: [
|
|
58
63
|
'root',
|
|
64
|
+
|
|
59
65
|
'state',
|
|
60
|
-
|
|
61
|
-
'isFullscreen',
|
|
62
|
-
'isClosed',
|
|
66
|
+
|
|
63
67
|
'open',
|
|
64
68
|
'close',
|
|
69
|
+
'toggle',
|
|
65
70
|
],
|
|
66
71
|
|
|
67
72
|
setup(props, context) {
|
|
@@ -84,53 +89,16 @@ export default defineComponent({
|
|
|
84
89
|
]);
|
|
85
90
|
|
|
86
91
|
// State
|
|
87
|
-
const state
|
|
92
|
+
const { state, open, close, toggle } = usePopoverState(toRef(props, 'isOpen'), context);
|
|
88
93
|
|
|
89
|
-
const
|
|
90
|
-
const isFullscreen = computed(() => state.value === 'fullscreen');
|
|
91
|
-
const isClosed = computed(() => state.value === 'closed');
|
|
94
|
+
const fullscreen = ref<boolean>(false);
|
|
92
95
|
|
|
93
|
-
// Events
|
|
94
96
|
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;
|
|
97
|
+
if (value === 'closed') {
|
|
98
|
+
fullscreen.value = false;
|
|
109
99
|
}
|
|
110
100
|
});
|
|
111
101
|
|
|
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
102
|
// Effects
|
|
135
103
|
// #region Swipe
|
|
136
104
|
const swipeOptions = {
|
|
@@ -160,7 +128,7 @@ export default defineComponent({
|
|
|
160
128
|
maxHeight: '100%',
|
|
161
129
|
});
|
|
162
130
|
|
|
163
|
-
|
|
131
|
+
fullscreen.value = true;
|
|
164
132
|
|
|
165
133
|
break;
|
|
166
134
|
|
|
@@ -171,7 +139,11 @@ export default defineComponent({
|
|
|
171
139
|
maxHeight: '50%',
|
|
172
140
|
});
|
|
173
141
|
|
|
174
|
-
|
|
142
|
+
if (fullscreen.value) {
|
|
143
|
+
fullscreen.value = false;
|
|
144
|
+
} else {
|
|
145
|
+
close();
|
|
146
|
+
}
|
|
175
147
|
|
|
176
148
|
break;
|
|
177
149
|
}
|
|
@@ -187,7 +159,7 @@ export default defineComponent({
|
|
|
187
159
|
const path = event.composedPath() as Element[];
|
|
188
160
|
|
|
189
161
|
if (!path.some(({ classList }) => classList?.contains('or-popover-v3') || classList?.contains('or-bottom-sheet-v3'))) {
|
|
190
|
-
close(
|
|
162
|
+
close();
|
|
191
163
|
}
|
|
192
164
|
});
|
|
193
165
|
// #endregion
|
|
@@ -198,11 +170,10 @@ export default defineComponent({
|
|
|
198
170
|
handleStyles,
|
|
199
171
|
headerStyles,
|
|
200
172
|
state,
|
|
201
|
-
|
|
202
|
-
isFullscreen,
|
|
203
|
-
isClosed,
|
|
173
|
+
fullscreen,
|
|
204
174
|
open,
|
|
205
175
|
close,
|
|
176
|
+
toggle,
|
|
206
177
|
};
|
|
207
178
|
},
|
|
208
179
|
});
|