@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,16 +1,17 @@
|
|
|
1
|
-
export { _ as OrSidebarV3 } from '../../OrSidebar-
|
|
2
|
-
export { O as OrSidebarPlacement } from '../../OrSidebarCollapseButton-
|
|
1
|
+
export { _ as OrSidebarV3 } from '../../OrSidebar-bfbb8b0a.js';
|
|
2
|
+
export { O as OrSidebarPlacement } from '../../OrSidebarCollapseButton-a98037d6.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import '../../normalize-component-6e8e3d80.js';
|
|
6
|
-
import '../../OrIconButton-
|
|
6
|
+
import '../../OrIconButton-75972865.js';
|
|
7
7
|
import '../../OrIcon-d35a84d8.js';
|
|
8
|
-
import '../../OrTooltip-
|
|
9
|
-
import '../../
|
|
8
|
+
import '../../OrTooltip-0dc63c1a.js';
|
|
9
|
+
import '../../usePopoverState-8a95a300.js';
|
|
10
|
+
import '../../OrPopover-a8950b85.js';
|
|
10
11
|
import '@floating-ui/dom';
|
|
11
|
-
import '../../useElevation-
|
|
12
|
+
import '../../useElevation-a50ec347.js';
|
|
12
13
|
import '../../useResponsive-a02e95b7.js';
|
|
13
|
-
import '../../OrBottomSheet-
|
|
14
|
-
import '../../OrOverlay-
|
|
14
|
+
import '../../OrBottomSheet-0592ccb2.js';
|
|
15
|
+
import '../../OrOverlay-f791976c.js';
|
|
15
16
|
import '../../OrTeleport.vue2-424c7f33.js';
|
|
16
17
|
import 'portal-vue';
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
export { _ as OrSidebarCollapseButton } from '../../../OrSidebarCollapseButton-
|
|
1
|
+
export { _ as OrSidebarCollapseButton } from '../../../OrSidebarCollapseButton-a98037d6.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../../OrIconButton-
|
|
3
|
+
import '../../../OrIconButton-75972865.js';
|
|
4
4
|
import '../../../OrIcon-d35a84d8.js';
|
|
5
5
|
import '../../../normalize-component-6e8e3d80.js';
|
|
6
|
-
import '../../../OrTooltip-
|
|
6
|
+
import '../../../OrTooltip-0dc63c1a.js';
|
|
7
7
|
import '@vueuse/core';
|
|
8
|
-
import '../../../
|
|
8
|
+
import '../../../usePopoverState-8a95a300.js';
|
|
9
|
+
import '../../../OrPopover-a8950b85.js';
|
|
9
10
|
import '@floating-ui/dom';
|
|
10
|
-
import '../../../useElevation-
|
|
11
|
+
import '../../../useElevation-a50ec347.js';
|
|
11
12
|
import '../../../useResponsive-a02e95b7.js';
|
|
12
|
-
import '../../../OrBottomSheet-
|
|
13
|
-
import '../../../OrOverlay-
|
|
13
|
+
import '../../../OrBottomSheet-0592ccb2.js';
|
|
14
|
+
import '../../../OrOverlay-f791976c.js';
|
|
14
15
|
import '../../../OrTeleport.vue2-424c7f33.js';
|
|
15
16
|
import 'portal-vue';
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
export { _ as OrSidebarCollapseButton } from '../../../../OrSidebarCollapseButton-
|
|
1
|
+
export { _ as OrSidebarCollapseButton } from '../../../../OrSidebarCollapseButton-a98037d6.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../../../OrIconButton-
|
|
3
|
+
import '../../../../OrIconButton-75972865.js';
|
|
4
4
|
import '../../../../OrIcon-d35a84d8.js';
|
|
5
5
|
import '../../../../normalize-component-6e8e3d80.js';
|
|
6
|
-
import '../../../../OrTooltip-
|
|
6
|
+
import '../../../../OrTooltip-0dc63c1a.js';
|
|
7
7
|
import '@vueuse/core';
|
|
8
|
-
import '../../../../
|
|
8
|
+
import '../../../../usePopoverState-8a95a300.js';
|
|
9
|
+
import '../../../../OrPopover-a8950b85.js';
|
|
9
10
|
import '@floating-ui/dom';
|
|
10
|
-
import '../../../../useElevation-
|
|
11
|
+
import '../../../../useElevation-a50ec347.js';
|
|
11
12
|
import '../../../../useResponsive-a02e95b7.js';
|
|
12
|
-
import '../../../../OrBottomSheet-
|
|
13
|
-
import '../../../../OrOverlay-
|
|
13
|
+
import '../../../../OrBottomSheet-0592ccb2.js';
|
|
14
|
+
import '../../../../OrOverlay-f791976c.js';
|
|
14
15
|
import '../../../../OrTeleport.vue2-424c7f33.js';
|
|
15
16
|
import 'portal-vue';
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
export { _ as OrTabsV3, T as TabsVariant } from '../../OrTabs-
|
|
1
|
+
export { _ as OrTabsV3, T as TabsVariant } from '../../OrTabs-abf290af.js';
|
|
2
2
|
import '@vueuse/core';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../OrIcon-d35a84d8.js';
|
|
5
5
|
import '../../normalize-component-6e8e3d80.js';
|
|
6
6
|
import '../../OrMenuItem-6f9b8a93.js';
|
|
7
|
-
import '../../OrMenu-
|
|
8
|
-
import '../../
|
|
7
|
+
import '../../OrMenu-a35caf3b.js';
|
|
8
|
+
import '../../usePopoverState-8a95a300.js';
|
|
9
|
+
import '../../OrPopover-a8950b85.js';
|
|
9
10
|
import '@floating-ui/dom';
|
|
10
|
-
import '../../useElevation-
|
|
11
|
+
import '../../useElevation-a50ec347.js';
|
|
11
12
|
import '../../useResponsive-a02e95b7.js';
|
|
12
|
-
import '../../OrBottomSheet-
|
|
13
|
-
import '../../OrOverlay-
|
|
13
|
+
import '../../OrBottomSheet-0592ccb2.js';
|
|
14
|
+
import '../../OrOverlay-f791976c.js';
|
|
14
15
|
import '../../OrTeleport.vue2-424c7f33.js';
|
|
15
16
|
import 'portal-vue';
|
|
16
17
|
import '../../OrTab-5b198746.js';
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
export { _ as OrTagV3, a as TagColor, T as TagVariant } from '../../OrTag-
|
|
1
|
+
export { _ as OrTagV3, a as TagColor, T as TagVariant } from '../../OrTag-aa46cecd.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../OrIconButton-
|
|
3
|
+
import '../../OrIconButton-75972865.js';
|
|
4
4
|
import '../../OrIcon-d35a84d8.js';
|
|
5
5
|
import '../../normalize-component-6e8e3d80.js';
|
|
6
|
-
import '../../OrTooltip-
|
|
6
|
+
import '../../OrTooltip-0dc63c1a.js';
|
|
7
7
|
import '@vueuse/core';
|
|
8
|
-
import '../../
|
|
8
|
+
import '../../usePopoverState-8a95a300.js';
|
|
9
|
+
import '../../OrPopover-a8950b85.js';
|
|
9
10
|
import '@floating-ui/dom';
|
|
10
|
-
import '../../useElevation-
|
|
11
|
+
import '../../useElevation-a50ec347.js';
|
|
11
12
|
import '../../useResponsive-a02e95b7.js';
|
|
12
|
-
import '../../OrBottomSheet-
|
|
13
|
-
import '../../OrOverlay-
|
|
13
|
+
import '../../OrBottomSheet-0592ccb2.js';
|
|
14
|
+
import '../../OrOverlay-f791976c.js';
|
|
14
15
|
import '../../OrTeleport.vue2-424c7f33.js';
|
|
15
16
|
import 'portal-vue';
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
export { _ as OrTagsV3 } from '../../OrTags-
|
|
1
|
+
export { _ as OrTagsV3 } from '../../OrTags-2a567e79.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useOverflow-c856b7b7.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '../../OrButton-9622e713.js';
|
|
6
6
|
import '../../OrLoader-b0c381f9.js';
|
|
7
7
|
import '../../normalize-component-6e8e3d80.js';
|
|
8
|
-
import '../../OrPopover-
|
|
8
|
+
import '../../OrPopover-a8950b85.js';
|
|
9
9
|
import '@floating-ui/dom';
|
|
10
|
-
import '../../useElevation-
|
|
10
|
+
import '../../useElevation-a50ec347.js';
|
|
11
|
+
import '../../usePopoverState-8a95a300.js';
|
|
11
12
|
import '../../useResponsive-a02e95b7.js';
|
|
12
|
-
import '../../OrBottomSheet-
|
|
13
|
-
import '../../OrOverlay-
|
|
13
|
+
import '../../OrBottomSheet-0592ccb2.js';
|
|
14
|
+
import '../../OrOverlay-f791976c.js';
|
|
14
15
|
import '../../OrTeleport.vue2-424c7f33.js';
|
|
15
16
|
import 'portal-vue';
|
|
16
|
-
import '../../OrTag-
|
|
17
|
-
import '../../OrIconButton-
|
|
17
|
+
import '../../OrTag-aa46cecd.js';
|
|
18
|
+
import '../../OrIconButton-75972865.js';
|
|
18
19
|
import '../../OrIcon-d35a84d8.js';
|
|
19
|
-
import '../../OrTooltip-
|
|
20
|
+
import '../../OrTooltip-0dc63c1a.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrTimePickerV3 } from '../../OrTimePicker-
|
|
1
|
+
export { _ as OrTimePickerV3 } from '../../OrTimePicker-766637cb.js';
|
|
2
2
|
export { I as TimePickerSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-906b3ef8.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-e1f90e0a.js';
|
|
@@ -11,15 +11,16 @@ import '@vueuse/core';
|
|
|
11
11
|
import '../../OrDateTimePickerTimeSelect-eecdd8ab.js';
|
|
12
12
|
import '../../OrError-4ffc1c39.js';
|
|
13
13
|
import '../../OrHint-aa221198.js';
|
|
14
|
-
import '../../OrIconButton-
|
|
14
|
+
import '../../OrIconButton-75972865.js';
|
|
15
15
|
import '../../OrIcon-d35a84d8.js';
|
|
16
|
-
import '../../OrTooltip-
|
|
17
|
-
import '../../
|
|
16
|
+
import '../../OrTooltip-0dc63c1a.js';
|
|
17
|
+
import '../../usePopoverState-8a95a300.js';
|
|
18
|
+
import '../../OrPopover-a8950b85.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-0592ccb2.js';
|
|
23
|
+
import '../../OrOverlay-f791976c.js';
|
|
23
24
|
import '../../OrTeleport.vue2-424c7f33.js';
|
|
24
25
|
import 'portal-vue';
|
|
25
26
|
import '../../OrInputBox-7f3c0ee9.js';
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../../types-
|
|
1
|
+
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../../types-f30860ee.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.vue2-424c7f33.js';
|
|
7
7
|
import 'portal-vue';
|
|
8
8
|
import '../../normalize-component-6e8e3d80.js';
|
|
9
|
-
import '../../OrIconButton-
|
|
9
|
+
import '../../OrIconButton-75972865.js';
|
|
10
10
|
import '../../OrIcon-d35a84d8.js';
|
|
11
|
-
import '../../OrTooltip-
|
|
12
|
-
import '../../
|
|
11
|
+
import '../../OrTooltip-0dc63c1a.js';
|
|
12
|
+
import '../../usePopoverState-8a95a300.js';
|
|
13
|
+
import '../../OrPopover-a8950b85.js';
|
|
13
14
|
import '@floating-ui/dom';
|
|
14
15
|
import '../../useResponsive-a02e95b7.js';
|
|
15
|
-
import '../../OrBottomSheet-
|
|
16
|
-
import '../../OrOverlay-
|
|
16
|
+
import '../../OrBottomSheet-0592ccb2.js';
|
|
17
|
+
import '../../OrOverlay-f791976c.js';
|
|
17
18
|
import '../../OrLoader-b0c381f9.js';
|
|
18
19
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
export { a as OrToastContainerV3, t as TypesV3 } from '../../../types-
|
|
1
|
+
export { a as OrToastContainerV3, t as TypesV3 } from '../../../types-f30860ee.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.vue2-424c7f33.js';
|
|
7
7
|
import 'portal-vue';
|
|
8
8
|
import '../../../normalize-component-6e8e3d80.js';
|
|
9
|
-
import '../../../OrIconButton-
|
|
9
|
+
import '../../../OrIconButton-75972865.js';
|
|
10
10
|
import '../../../OrIcon-d35a84d8.js';
|
|
11
|
-
import '../../../OrTooltip-
|
|
12
|
-
import '../../../
|
|
11
|
+
import '../../../OrTooltip-0dc63c1a.js';
|
|
12
|
+
import '../../../usePopoverState-8a95a300.js';
|
|
13
|
+
import '../../../OrPopover-a8950b85.js';
|
|
13
14
|
import '@floating-ui/dom';
|
|
14
15
|
import '../../../useResponsive-a02e95b7.js';
|
|
15
|
-
import '../../../OrBottomSheet-
|
|
16
|
-
import '../../../OrOverlay-
|
|
16
|
+
import '../../../OrBottomSheet-0592ccb2.js';
|
|
17
|
+
import '../../../OrOverlay-f791976c.js';
|
|
17
18
|
import '../../../OrLoader-b0c381f9.js';
|
|
18
19
|
import '../../../style-inject.es-4c6f2515.js';
|
|
@@ -2,58 +2,61 @@ import { PropType } from 'vue-demi';
|
|
|
2
2
|
import { TooltipPlacement } from './props';
|
|
3
3
|
declare const _default: import("vue2").ComponentOptions<import("vue2").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
4
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
|
-
popover: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
6
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
7
|
-
} | string[], {} & {}, {
|
|
8
|
-
[x: number]: string;
|
|
9
|
-
} | {}, true> | undefined>;
|
|
10
|
-
popoverRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
11
5
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
12
6
|
bodyStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
7
|
+
state: import("@vue/composition-api").Ref<"open" | "closed">;
|
|
13
8
|
open: () => void;
|
|
14
9
|
close: () => void;
|
|
10
|
+
toggle: () => void;
|
|
15
11
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
12
|
+
isOpen: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
16
|
text: {
|
|
17
17
|
type: StringConstructor;
|
|
18
18
|
default: undefined;
|
|
19
19
|
};
|
|
20
20
|
placement: {
|
|
21
|
-
type: PropType<
|
|
21
|
+
type: PropType<TooltipPlacement>;
|
|
22
22
|
default: TooltipPlacement;
|
|
23
23
|
};
|
|
24
24
|
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
25
|
+
isOpen: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
25
29
|
text: {
|
|
26
30
|
type: StringConstructor;
|
|
27
31
|
default: undefined;
|
|
28
32
|
};
|
|
29
33
|
placement: {
|
|
30
|
-
type: PropType<
|
|
34
|
+
type: PropType<TooltipPlacement>;
|
|
31
35
|
default: TooltipPlacement;
|
|
32
36
|
};
|
|
33
37
|
}>> & Omit<import("vue2").VueConstructor<import("vue2").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
38
|
+
isOpen: boolean;
|
|
34
39
|
text: string;
|
|
35
|
-
placement:
|
|
40
|
+
placement: TooltipPlacement;
|
|
36
41
|
} & {} & {
|
|
37
42
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
38
43
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
39
44
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
40
|
-
popover: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
41
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
42
|
-
} | string[], {} & {}, {
|
|
43
|
-
[x: number]: string;
|
|
44
|
-
} | {}, true> | undefined>;
|
|
45
|
-
popoverRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
46
45
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
47
46
|
bodyStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
47
|
+
state: import("@vue/composition-api").Ref<"open" | "closed">;
|
|
48
48
|
open: () => void;
|
|
49
49
|
close: () => void;
|
|
50
|
+
toggle: () => void;
|
|
50
51
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
52
|
+
isOpen: boolean;
|
|
51
53
|
text: string;
|
|
52
|
-
placement:
|
|
54
|
+
placement: TooltipPlacement;
|
|
53
55
|
} & {} & {
|
|
54
56
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
55
57
|
}, {
|
|
58
|
+
isOpen: boolean;
|
|
56
59
|
text: string;
|
|
57
|
-
placement:
|
|
60
|
+
placement: TooltipPlacement;
|
|
58
61
|
}, true>);
|
|
59
62
|
export default _default;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
export { _ as OrTooltipV3 } from '../../OrTooltip-
|
|
2
|
-
export { P as TooltipPlacement } from '../../OrPopover-
|
|
3
|
-
import '@vueuse/core';
|
|
1
|
+
export { _ as OrTooltipV3 } from '../../OrTooltip-0dc63c1a.js';
|
|
2
|
+
export { P as TooltipPlacement } from '../../OrPopover-a8950b85.js';
|
|
4
3
|
import 'vue-demi';
|
|
4
|
+
import '@vueuse/core';
|
|
5
|
+
import '../../usePopoverState-8a95a300.js';
|
|
5
6
|
import '../../normalize-component-6e8e3d80.js';
|
|
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-0592ccb2.js';
|
|
11
|
+
import '../../OrOverlay-f791976c.js';
|
|
11
12
|
import '../../OrTeleport.vue2-424c7f33.js';
|
|
12
13
|
import 'portal-vue';
|
|
@@ -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/v2/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { O as OR_AVATAR_SIZE, _ as OrAvatar } from './OrAvatar-2b00cd61.js';
|
|
2
2
|
export { a as AvatarColor, A as AvatarSize, _ as OrAvatarV3 } from './OrAvatar-3df48865.js';
|
|
3
|
-
export { B as BottomSheetVariant, _ as OrBottomSheetV3 } from './OrBottomSheet-
|
|
3
|
+
export { B as BottomSheetVariant, _ as OrBottomSheetV3 } from './OrBottomSheet-0592ccb2.js';
|
|
4
4
|
export { _ as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonViews } from './OrButton-bafb6cad.js';
|
|
5
5
|
export { _ as OrButtonV2 } from './OrButton-b60290c4.js';
|
|
6
6
|
export { _ as OrIconButton, _ as OrIconButtonV2 } from './OrIconButton-544ee642.js';
|
|
@@ -8,7 +8,7 @@ export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTT
|
|
|
8
8
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from './OrButton-9622e713.js';
|
|
9
9
|
export { _ as OrCard } from './OrCard-c44d9783.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from './OrCardCollection-4eb5c533.js';
|
|
11
|
-
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-
|
|
11
|
+
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-2b9bc050.js';
|
|
12
12
|
export { _ as OrCardV3 } from './OrCard-0da13cbe.js';
|
|
13
13
|
export { _ as OrCarousel } from './OrCarousel-b220cf82.js';
|
|
14
14
|
export { _ as OrCarouselItem } from './OrCarouselItem-c614bab9.js';
|
|
@@ -25,10 +25,10 @@ export { _ as OrCombinedInputV3 } from './OrCombinedInput-9c2b15fe.js';
|
|
|
25
25
|
export { _ as OrInputBoxV3 } from './OrInputBox-7f3c0ee9.js';
|
|
26
26
|
export { I as CombinedInputSize, I as DatePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, I as SearchSize, I as SelectSize, I as TextareaSize, I as TimePickerSize } from './OrInputBox.vue_rollup-plugin-vue_script-906b3ef8.js';
|
|
27
27
|
export { _ as OrConfirm } from './OrConfirm-f4eec5b2.js';
|
|
28
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-
|
|
29
|
-
export { _ as OrDatePickerV3 } from './OrDatePicker-
|
|
28
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-3f19c23b.js';
|
|
29
|
+
export { _ as OrDatePickerV3 } from './OrDatePicker-e991e7b2.js';
|
|
30
30
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-fb410167.js';
|
|
31
|
-
export { _ as OrDateTimePickerV3 } from './OrDateTimePicker-
|
|
31
|
+
export { _ as OrDateTimePickerV3 } from './OrDateTimePicker-7bbd81d1.js';
|
|
32
32
|
export { E as EmptyStateSize, _ as OrEmptyStateV3 } from './OrEmptyState-2d3fd68d.js';
|
|
33
33
|
export { _ as OrError } from './OrError-efc74907.js';
|
|
34
34
|
export { _ as OrErrorTagV3 } from './OrErrorTag-a55ae01a.js';
|
|
@@ -40,14 +40,14 @@ export { F as FormGroupDirection, _ as OrFormGroupV3 } from './OrFormGroup-29a51
|
|
|
40
40
|
export { _ as OrHint } from './OrHint-7eadc91e.js';
|
|
41
41
|
export { _ as OrHintV3 } from './OrHint-aa221198.js';
|
|
42
42
|
export { _ as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-fa826b6b.js';
|
|
43
|
-
export { I as IconButtonColor, _ as OrIconButtonV3 } from './OrIconButton-
|
|
43
|
+
export { I as IconButtonColor, _ as OrIconButtonV3 } from './OrIconButton-75972865.js';
|
|
44
44
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, _ as OrIconV3 } from './OrIcon-d35a84d8.js';
|
|
45
45
|
export { I as InlineInputBoxSize, I as InlineInputSize, _ as OrInlineInputBoxV3 } from './OrInlineInputBox-19b49ee6.js';
|
|
46
|
-
export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-
|
|
46
|
+
export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-cf17dbb2.js';
|
|
47
47
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from './OrInlineTextEdit-f52267aa.js';
|
|
48
|
-
export { _ as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
48
|
+
export { _ as OrInlineTextareaV3 } from './OrInlineTextarea-2b0e2f39.js';
|
|
49
49
|
export { _ as OrInput } from './OrInput-014d2e47.js';
|
|
50
|
-
export { I as InputType, _ as OrInputV3 } from './OrInput-
|
|
50
|
+
export { I as InputType, _ as OrInputV3 } from './OrInput-1a2b8ad9.js';
|
|
51
51
|
export { _ as OrLabel } from './OrLabel-fcceec1b.js';
|
|
52
52
|
export { L as LabelVariant, _ as OrLabelV3 } from './OrLabel-63380256.js';
|
|
53
53
|
export { L as LinkColor, _ as OrLinkV3 } from './OrLink-3679a61f.js';
|
|
@@ -56,17 +56,17 @@ export { _ as OrListOfInputs } from './OrListOfInputs-9b7522fa.js';
|
|
|
56
56
|
export { L as LoaderViews, _ as OrLoader } from './OrLoader-0cc7c73e.js';
|
|
57
57
|
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, _ as OrLoaderV3 } from './OrLoader-b0c381f9.js';
|
|
58
58
|
export { _ as OrMenuItemV3 } from './OrMenuItem-6f9b8a93.js';
|
|
59
|
-
export { _ as OrMenuV3 } from './OrMenu-
|
|
60
|
-
export { P as MenuPlacement, _ as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-
|
|
59
|
+
export { _ as OrMenuV3 } from './OrMenu-a35caf3b.js';
|
|
60
|
+
export { P as MenuPlacement, _ as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-a8950b85.js';
|
|
61
61
|
export { _ as OrModal, O as OrModalSizes } from './OrModal-206611f2.js';
|
|
62
|
-
export { M as ModalSize, _ as OrModalV3 } from './OrModal-
|
|
62
|
+
export { M as ModalSize, _ as OrModalV3 } from './OrModal-4aaae6bc.js';
|
|
63
63
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from './OrNotification-44bc1f50.js';
|
|
64
|
-
export { N as NotificationVariant, _ as OrNotificationV3 } from './OrNotification-
|
|
64
|
+
export { N as NotificationVariant, _ as OrNotificationV3 } from './OrNotification-a773f1df.js';
|
|
65
65
|
export { _ as OrNumberInput } from './OrNumberInput-fcbcf229.js';
|
|
66
66
|
export { _ as OrOverflowMenu } from './OrOverflowMenu-e3ae75a3.js';
|
|
67
67
|
export { _ as OrOverlay } from './OrOverlay-ccec2218.js';
|
|
68
|
-
export { _ as OrOverlayV3 } from './OrOverlay-
|
|
69
|
-
export { _ as OrPaginationV3 } from './OrPagination-
|
|
68
|
+
export { _ as OrOverlayV3 } from './OrOverlay-f791976c.js';
|
|
69
|
+
export { _ as OrPaginationV3 } from './OrPagination-3513165d.js';
|
|
70
70
|
export { _ as OrPassword } from './OrPassword-1de0dc6c.js';
|
|
71
71
|
export { _ as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-65968c24.js';
|
|
72
72
|
export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-102e3b5d.js';
|
|
@@ -75,13 +75,13 @@ export { _ as OrRadioGroup } from './OrRadioGroup-11424644.js';
|
|
|
75
75
|
export { _ as OrRadioGroupV3 } from './OrRadioGroup-0de37d76.js';
|
|
76
76
|
export { _ as OrRadioV3 } from './OrRadio-a812088f.js';
|
|
77
77
|
export { _ as OrSearch } from './OrSearch-e2941d35.js';
|
|
78
|
-
export { _ as OrSearchV3 } from './OrSearch-
|
|
78
|
+
export { _ as OrSearchV3 } from './OrSearch-19c157b3.js';
|
|
79
79
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-a1ea5b72.js';
|
|
80
80
|
export { _ as OrSelect } from './OrSelect-49239b74.js';
|
|
81
|
-
export { _ as OrSelectV3 } from './OrSelect-
|
|
81
|
+
export { _ as OrSelectV3 } from './OrSelect-991b8be3.js';
|
|
82
82
|
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-c56a9221.js';
|
|
83
|
-
export { _ as OrSidebarV3 } from './OrSidebar-
|
|
84
|
-
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-
|
|
83
|
+
export { _ as OrSidebarV3 } from './OrSidebar-bfbb8b0a.js';
|
|
84
|
+
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-a98037d6.js';
|
|
85
85
|
export { _ as OrSkeletonCircle } from './OrSkeletonCircle-c4bf0e34.js';
|
|
86
86
|
export { _ as OrSkeletonRect } from './OrSkeletonRect-79162a84.js';
|
|
87
87
|
export { _ as OrSkeletonText } from './OrSkeletonText-bd5d97bb.js';
|
|
@@ -98,28 +98,29 @@ export { _ as OrTab } from './OrTab-58821c9b.js';
|
|
|
98
98
|
export { _ as OrTabHeaderItem } from './OrTabHeaderItem-424f2986.js';
|
|
99
99
|
export { _ as OrTabV3 } from './OrTab-5b198746.js';
|
|
100
100
|
export { _ as OrTabs } from './OrTabs-62e7e478.js';
|
|
101
|
-
export { _ as OrTabsV3, T as TabsVariant } from './OrTabs-
|
|
101
|
+
export { _ as OrTabsV3, T as TabsVariant } from './OrTabs-abf290af.js';
|
|
102
102
|
export { _ as OrTag } from './OrTag-54778d09.js';
|
|
103
|
-
export { _ as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-
|
|
104
|
-
export { _ as OrTagsV3 } from './OrTags-
|
|
103
|
+
export { _ as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-aa46cecd.js';
|
|
104
|
+
export { _ as OrTagsV3 } from './OrTags-2a567e79.js';
|
|
105
105
|
export { _ as OrTeleport } from './OrTeleport.vue2-f0c16c71.js';
|
|
106
106
|
export { _ as OrTeleportV3 } from './OrTeleport.vue2-424c7f33.js';
|
|
107
107
|
export { _ as OrTextV3 } from './OrText-44449e7b.js';
|
|
108
108
|
export { _ as OrTextarea } from './OrTextarea-d36f4ec6.js';
|
|
109
109
|
export { _ as OrTextareaV3 } from './OrTextarea-e5c66426.js';
|
|
110
110
|
export { _ as OrTextbox, T as TextboxTypes } from './OrTextbox-c85d7fe6.js';
|
|
111
|
-
export { _ as OrTimePickerV3 } from './OrTimePicker-
|
|
111
|
+
export { _ as OrTimePickerV3 } from './OrTimePicker-766637cb.js';
|
|
112
112
|
export { _ as OrToast, a as OrToastContainer } from './OrToastContainer-7017d12b.js';
|
|
113
113
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-b5ea5cb2.js';
|
|
114
|
-
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-
|
|
114
|
+
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-f30860ee.js';
|
|
115
115
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-a1332cc2.js';
|
|
116
116
|
export { _ as OrTooltip } from './OrTooltip-0bbf1ed5.js';
|
|
117
117
|
export { _ as OrTooltipContent } from './OrTooltipContent-57a25502.js';
|
|
118
|
-
export { _ as OrTooltipV3 } from './OrTooltip-
|
|
118
|
+
export { _ as OrTooltipV3 } from './OrTooltip-0dc63c1a.js';
|
|
119
119
|
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e1f90e0a.js';
|
|
120
120
|
export { u as useControlAttributes, a as useIdAttribute } from './useIdAttribute-859439f0.js';
|
|
121
|
-
export { u as useElevation } from './useElevation-
|
|
121
|
+
export { u as useElevation } from './useElevation-a50ec347.js';
|
|
122
122
|
export { u as useOverflow } from './useOverflow-c856b7b7.js';
|
|
123
|
+
export { u as usePopoverState } from './usePopoverState-8a95a300.js';
|
|
123
124
|
export { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
124
125
|
export { u as useToggle } from './useToggle-c04fc920.js';
|
|
125
126
|
export { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
@@ -149,7 +150,7 @@ import 'lodash/isElement';
|
|
|
149
150
|
import 'lodash/get';
|
|
150
151
|
import '@vueuse/math';
|
|
151
152
|
import './OrDateTimePickerPopoverHeader-a84af34e.js';
|
|
152
|
-
import './OrDateTimePickerMonthSelect-
|
|
153
|
+
import './OrDateTimePickerMonthSelect-d75a849c.js';
|
|
153
154
|
import 'lodash/padStart';
|
|
154
155
|
import './OrDateTimePickerTimeSelect-eecdd8ab.js';
|
|
155
156
|
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 { _ as __vue_component__$4 } from './OrTeleport.vue2-424c7f33.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 { _ as __vue_component__$2 } from './OrIconButton-
|
|
6
|
+
import { _ as __vue_component__$2 } from './OrIconButton-75972865.js';
|
|
7
7
|
import { _ as __vue_component__$3 } from './OrLoader-b0c381f9.js';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
9
9
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.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 };
|