@onereach/ui-components 5.0.0 → 5.0.1-beta.3125.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/OrDatePickerV3/OrDatePicker.js +1 -1
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/OrInputV3/OrInput.js +8 -7
- package/dist/bundled/v2/components/OrInputV3/OrInput.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.js +9 -8
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.vue.d.ts +4 -4
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +7 -6
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.vue.d.ts +4 -4
- package/dist/bundled/v2/components/OrProgressV3/OrProgress.js +4 -3
- package/dist/bundled/v2/components/index.js +1 -1
- package/dist/bundled/v2/hooks/useResponsive/useResponsive.d.ts +4 -3
- package/dist/bundled/v2/hooks/useResponsive/useResponsive.js +25 -6
- package/dist/bundled/v2/hooks/useTheme.js +38 -12
- package/dist/bundled/v2/index.js +2 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-40124ef0.js → OrCardCollection.vue_vue_type_script_lang-ec3a4585.js} +3 -3
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-a99a2768.js → OrCode.vue_vue_type_script_lang-a29e31c7.js} +2 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-3f6484d7.js → OrConfirm.vue_vue_type_script_lang-e7433220.js} +1 -1
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-15cde361.js → OrDatePicker.vue_vue_type_script_lang-610ec22c.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-e3f9a844.js → OrDateTimePicker.vue_vue_type_script_lang-9417e3f4.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-47d89402.js → OrDateTimePickerMonthSelect-61c9ebef.js} +2 -2
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-da2a6044.js → OrIconButton.vue_vue_type_script_lang-3ae231c2.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-8400fa8c.js → OrInlineInput.vue_vue_type_script_lang-9133069f.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-d6a348da.js → OrInlineTextarea.vue_vue_type_script_lang-c27878b5.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-0ddddd27.js → OrInput.vue_vue_type_script_lang-9109bd86.js} +7 -6
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-6d3459d2.js → OrMenu.vue_vue_type_script_lang-038c1ed6.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-9db0be3b.js → OrModal.vue_vue_type_script_lang-82219a41.js} +1 -1
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-01382876.js → OrNotification.vue_vue_type_script_lang-cc2d902b.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-4e054df4.js → OrPagination.vue_vue_type_script_lang-af045ec1.js} +10 -9
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-cc1ee134.js → OrPopover.vue_vue_type_script_lang-5c55cfd5.js} +8 -7
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-5573d34e.js → OrProgress.vue_vue_type_script_lang-5a104289.js} +4 -3
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-495149b0.js → OrSearch.vue_vue_type_script_lang-eb904f66.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-cb556343.js → OrSelect.vue_vue_type_script_lang-646cb401.js} +4 -4
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-a7103da5.js → OrSidebar.vue_vue_type_script_lang-68962990.js} +1 -1
- package/dist/bundled/v3/{OrSorting.vue_vue_type_script_lang-a43c7a38.js → OrSorting.vue_vue_type_script_lang-30b48a37.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-3831d139.js → OrTabs.vue_vue_type_script_lang-db5a6b26.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-206b5c7c.js → OrTag.vue_vue_type_script_lang-b421c706.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-9f594179.js → OrTagInput.vue_vue_type_script_lang-05f8152f.js} +2 -2
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-de78876f.js → OrTags.vue_vue_type_script_lang-d71ea8ed.js} +2 -2
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-7de3a004.js → OrTimePicker.vue_vue_type_script_lang-6989d770.js} +2 -2
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-215def44.js → OrTooltip.vue_vue_type_script_lang-950d21e1.js} +1 -1
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +2 -2
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +10 -10
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +9 -9
- package/dist/bundled/v3/components/OrCodeV3/OrCode.js +7 -7
- package/dist/bundled/v3/components/OrCodeV3/index.js +6 -6
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +7 -7
- package/dist/bundled/v3/components/OrConfirmV3/index.js +6 -6
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +8 -8
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +7 -7
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +8 -8
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +7 -7
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +5 -5
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +4 -4
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +6 -6
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +5 -5
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +6 -6
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +5 -5
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +6 -6
- package/dist/bundled/v3/components/OrInputV3/OrInput.vue.d.ts +1 -1
- package/dist/bundled/v3/components/OrInputV3/index.js +5 -5
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +4 -4
- package/dist/bundled/v3/components/OrMenuV3/index.js +3 -3
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +6 -6
- package/dist/bundled/v3/components/OrModalV3/index.js +5 -5
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +6 -6
- package/dist/bundled/v3/components/OrNotificationV3/index.js +5 -5
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +5 -5
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.vue.d.ts +2 -2
- package/dist/bundled/v3/components/OrPaginationV3/index.js +4 -4
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +3 -3
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.vue.d.ts +2 -2
- package/dist/bundled/v3/components/OrPopoverV3/index.js +2 -2
- package/dist/bundled/v3/components/OrProgressV3/OrProgress.js +2 -2
- package/dist/bundled/v3/components/OrProgressV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +7 -7
- package/dist/bundled/v3/components/OrSearchV3/index.js +6 -6
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +8 -8
- package/dist/bundled/v3/components/OrSelectV3/index.js +7 -7
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +6 -6
- package/dist/bundled/v3/components/OrSidebarV3/index.js +5 -5
- package/dist/bundled/v3/components/OrSortingV3/OrSorting.js +5 -5
- package/dist/bundled/v3/components/OrSortingV3/index.js +4 -4
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +5 -5
- package/dist/bundled/v3/components/OrTabsV3/index.js +4 -4
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +8 -8
- package/dist/bundled/v3/components/OrTagInputV3/index.js +7 -7
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +6 -6
- package/dist/bundled/v3/components/OrTagV3/index.js +5 -5
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +7 -7
- package/dist/bundled/v3/components/OrTagsV3/index.js +6 -6
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +6 -6
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +5 -5
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +6 -6
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +5 -5
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +4 -4
- package/dist/bundled/v3/components/OrToastV3/index.js +5 -5
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +4 -4
- package/dist/bundled/v3/components/OrTooltipV3/index.js +3 -3
- package/dist/bundled/v3/components/index.js +28 -28
- package/dist/bundled/v3/hooks/useResponsive/useResponsive.d.ts +4 -3
- package/dist/bundled/v3/hooks/useResponsive/useResponsive.js +25 -6
- package/dist/bundled/v3/hooks/useTheme.js +38 -12
- package/dist/bundled/v3/index.js +29 -29
- package/dist/esm/v2/{OrCardCollection-9aaa7a3c.js → OrCardCollection-0d268fe8.js} +3 -3
- package/dist/esm/v2/{OrCode-dd915faf.js → OrCode-5f26c9de.js} +2 -2
- package/dist/esm/v2/{OrConfirm-a0875502.js → OrConfirm-5bf9266d.js} +1 -1
- package/dist/esm/v2/{OrDatePicker-0b119ef4.js → OrDatePicker-7fdbec9a.js} +3 -3
- package/dist/esm/v2/{OrDateTimePicker-061c7472.js → OrDateTimePicker-e0a09c36.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-18dea32e.js → OrDateTimePicker.vue_rollup-plugin-vue_script-e4cb8e95.js} +3 -3
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-30ec0bf4.js → OrDateTimePickerPopoverHeader-b186acb5.js} +3 -3
- package/dist/esm/v2/{OrIconButton-311050dc.js → OrIconButton-9d314fd3.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-410e6e7d.js → OrInlineInput-4d05dabe.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-be5970dd.js → OrInlineTextarea-7080b052.js} +1 -1
- package/dist/esm/v2/{OrInput-99ccfff7.js → OrInput-a404a27c.js} +10 -9
- package/dist/esm/v2/{OrMenu-e2f557c8.js → OrMenu-f4357bbd.js} +1 -1
- package/dist/esm/v2/{OrModal-3dafa3ce.js → OrModal-81e06880.js} +1 -1
- package/dist/esm/v2/{OrNotification-6df1f6f6.js → OrNotification-5fa5f4d3.js} +1 -1
- package/dist/esm/v2/{OrPagination-f1e7aaa7.js → OrPagination-c265ce9e.js} +11 -10
- package/dist/esm/v2/{OrPopover-36e2fc9f.js → OrPopover-49b32b9b.js} +8 -7
- package/dist/esm/v2/{OrProgress-e079e857.js → OrProgress-4addb39d.js} +5 -4
- package/dist/esm/v2/{OrSearch-f49e5f70.js → OrSearch-84d50447.js} +1 -1
- package/dist/esm/v2/{OrSelect-5e9508c9.js → OrSelect-bbe63bab.js} +4 -4
- package/dist/esm/v2/{OrSidebar-0539d572.js → OrSidebar-d84e8fb6.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-8474d9c3.js → OrSidebarCollapseButton-2b2545b0.js} +1 -1
- package/dist/esm/v2/{OrSorting-fad7928f.js → OrSorting-88d57b10.js} +2 -2
- package/dist/esm/v2/{OrTabs-0046e15b.js → OrTabs-05beba6c.js} +2 -2
- package/dist/esm/v2/{OrTag-d21ee9c1.js → OrTag-944639bb.js} +1 -1
- package/dist/esm/v2/{OrTagInput-5b1ac86e.js → OrTagInput-b9c67f28.js} +2 -2
- package/dist/esm/v2/{OrTags-c1a44ef7.js → OrTags-1422979a.js} +2 -2
- package/dist/esm/v2/{OrTimePicker-d73ce31e.js → OrTimePicker-2e0a0656.js} +4 -4
- package/dist/esm/v2/{OrTooltip-ec00d3ee.js → OrTooltip-7ba2d329.js} +1 -1
- package/dist/esm/v2/components/index.js +30 -30
- package/dist/esm/v2/components/or-card-collection-v3/index.js +9 -9
- package/dist/esm/v2/components/or-code-v3/index.js +6 -6
- package/dist/esm/v2/components/or-confirm-v3/index.js +6 -6
- package/dist/esm/v2/components/or-date-picker-v3/index.js +7 -7
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +8 -8
- package/dist/esm/v2/components/or-icon-button-v3/index.js +4 -4
- package/dist/esm/v2/components/or-inline-input-v3/index.js +5 -5
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +5 -5
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-input-v3/index.js +5 -5
- package/dist/esm/v2/components/or-menu-v3/index.js +3 -3
- package/dist/esm/v2/components/or-modal-v3/index.js +5 -5
- package/dist/esm/v2/components/or-notification-v3/index.js +5 -5
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +4 -4
- package/dist/esm/v2/components/or-pagination-v3/index.js +4 -4
- package/dist/esm/v2/components/or-popover-v3/OrPopover.vue.d.ts +4 -4
- package/dist/esm/v2/components/or-popover-v3/index.js +2 -2
- package/dist/esm/v2/components/or-progress-v3/index.js +2 -2
- package/dist/esm/v2/components/or-search-v3/index.js +6 -6
- package/dist/esm/v2/components/or-select-v3/index.js +7 -7
- package/dist/esm/v2/components/or-sidebar-v3/index.js +6 -6
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +5 -5
- package/dist/esm/v2/components/or-sorting-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tabs-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tag-input-v3/index.js +7 -7
- package/dist/esm/v2/components/or-tag-v3/index.js +5 -5
- package/dist/esm/v2/components/or-tags-v3/index.js +6 -6
- package/dist/esm/v2/components/or-time-picker-v3/index.js +8 -8
- package/dist/esm/v2/components/or-toast-v3/index.js +5 -5
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +5 -5
- package/dist/esm/v2/components/or-tooltip-v3/index.js +3 -3
- package/dist/esm/v2/hooks/index.js +1 -1
- package/dist/esm/v2/hooks/useResponsive/index.js +1 -1
- package/dist/esm/v2/hooks/useResponsive/useResponsive.d.ts +4 -3
- package/dist/esm/v2/index.js +30 -30
- package/dist/esm/v2/{types-e481ff6f.js → types-4712e752.js} +1 -1
- package/dist/esm/v2/useResponsive-bb091958.js +32 -0
- package/dist/esm/v3/{OrCardCollection-5a10ca80.js → OrCardCollection-0fa70f61.js} +3 -3
- package/dist/esm/v3/{OrCode-98aceeef.js → OrCode-a2756848.js} +2 -2
- package/dist/esm/v3/{OrConfirm-8d0351b9.js → OrConfirm-8f46dfbf.js} +1 -1
- package/dist/esm/v3/{OrDatePicker-819007d7.js → OrDatePicker-dfb9c29e.js} +3 -3
- package/dist/esm/v3/{OrDateTimePicker-7b08665c.js → OrDateTimePicker-5e8d340a.js} +3 -3
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-c3900e9a.js → OrDateTimePickerPopoverHeader-db012139.js} +3 -3
- package/dist/esm/v3/{OrIconButton-65b1a004.js → OrIconButton-8c8935bc.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-1d8b7ba7.js → OrInlineInput-d3d3c164.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-384e66cd.js → OrInlineTextarea-a7784e3f.js} +1 -1
- package/dist/esm/v3/{OrInput-cfc9d445.js → OrInput-ed408a17.js} +8 -7
- package/dist/esm/v3/{OrMenu-7943ee1f.js → OrMenu-7d29aef5.js} +1 -1
- package/dist/esm/v3/{OrModal-fb598e97.js → OrModal-6168a725.js} +1 -1
- package/dist/esm/v3/{OrNotification-a1de8289.js → OrNotification-cb035267.js} +1 -1
- package/dist/esm/v3/{OrPagination-0dd5c8f0.js → OrPagination-c8cf6c42.js} +11 -10
- package/dist/esm/v3/{OrPopover-466a8297.js → OrPopover-d9038ff5.js} +8 -7
- package/dist/esm/v3/{OrProgress-a54a42c0.js → OrProgress-c3c56efd.js} +5 -4
- package/dist/esm/v3/{OrSearch-c823ee5e.js → OrSearch-d5ae141b.js} +1 -1
- package/dist/esm/v3/{OrSelect-d4bbddf1.js → OrSelect-378b8a08.js} +4 -4
- package/dist/esm/v3/{OrSidebar-d8e70813.js → OrSidebar-8c7f2a8c.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-7a9f76cf.js → OrSidebarCollapseButton-405f2219.js} +1 -1
- package/dist/esm/v3/{OrSorting-d5f3e077.js → OrSorting-4548f7f4.js} +2 -2
- package/dist/esm/v3/{OrTabs-83e4477c.js → OrTabs-fb237e6a.js} +2 -2
- package/dist/esm/v3/{OrTag-8fede185.js → OrTag-86e414a4.js} +1 -1
- package/dist/esm/v3/{OrTagInput-b5f6be7c.js → OrTagInput-c38af944.js} +2 -2
- package/dist/esm/v3/{OrTags-5feb7c2d.js → OrTags-f89c52a7.js} +2 -2
- package/dist/esm/v3/{OrTimePicker-27be4172.js → OrTimePicker-bb3b4031.js} +4 -4
- package/dist/esm/v3/{OrTooltip-6802b717.js → OrTooltip-69fe2f44.js} +1 -1
- package/dist/esm/v3/components/index.js +29 -29
- package/dist/esm/v3/components/or-card-collection-v3/index.js +9 -9
- package/dist/esm/v3/components/or-code-v3/index.js +6 -6
- package/dist/esm/v3/components/or-confirm-v3/index.js +6 -6
- package/dist/esm/v3/components/or-date-picker-v3/index.js +7 -7
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +7 -7
- package/dist/esm/v3/components/or-icon-button-v3/index.js +4 -4
- package/dist/esm/v3/components/or-inline-input-v3/index.js +5 -5
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +5 -5
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-input-v3/index.js +5 -5
- package/dist/esm/v3/components/or-menu-v3/index.js +3 -3
- package/dist/esm/v3/components/or-modal-v3/index.js +5 -5
- package/dist/esm/v3/components/or-notification-v3/index.js +5 -5
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-pagination-v3/index.js +4 -4
- package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-popover-v3/index.js +2 -2
- package/dist/esm/v3/components/or-progress-v3/index.js +2 -2
- package/dist/esm/v3/components/or-search-v3/index.js +6 -6
- package/dist/esm/v3/components/or-select-v3/index.js +7 -7
- package/dist/esm/v3/components/or-sidebar-v3/index.js +6 -6
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +5 -5
- package/dist/esm/v3/components/or-sorting-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tabs-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tag-input-v3/index.js +7 -7
- package/dist/esm/v3/components/or-tag-v3/index.js +5 -5
- package/dist/esm/v3/components/or-tags-v3/index.js +6 -6
- package/dist/esm/v3/components/or-time-picker-v3/index.js +8 -8
- package/dist/esm/v3/components/or-toast-v3/index.js +5 -5
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +5 -5
- package/dist/esm/v3/components/or-tooltip-v3/index.js +3 -3
- package/dist/esm/v3/hooks/index.js +1 -1
- package/dist/esm/v3/hooks/useResponsive/index.js +1 -1
- package/dist/esm/v3/hooks/useResponsive/useResponsive.d.ts +4 -3
- package/dist/esm/v3/index.js +29 -29
- package/dist/esm/v3/{types-94be8310.js → types-74a33418.js} +1 -1
- package/dist/esm/v3/useResponsive-bb091958.js +32 -0
- package/package.json +3 -4
- package/src/components/or-input-v3/OrInput.vue +4 -3
- package/src/components/or-pagination-v3/OrPagination.vue +5 -5
- package/src/components/or-popover-v3/OrPopover.vue +5 -4
- package/src/components/or-progress-v3/OrProgress.vue +3 -2
- package/src/hooks/useResponsive/useResponsive.stories.mdx +11 -2
- package/src/hooks/useResponsive/useResponsive.ts +29 -5
- package/dist/esm/v2/useResponsive-a02e95b7.js +0 -13
- package/dist/esm/v3/useResponsive-a02e95b7.js +0 -13
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-a3097661.js → OrDateTimePickerMonthSelect-2810460a.js} +0 -0
- /package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-d6609a26.js → OrBottomSheet.vue_vue_type_script_lang-d2e32a44.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-64d27360.js → OrToastContainer.vue_vue_type_script_lang-615935be.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as OrTagInputV3 } from '../../OrTagInput-
|
|
1
|
+
export { s as OrTagInputV3 } from '../../OrTagInput-c38af944.js';
|
|
2
2
|
export { I as TagInputSize } from '../../OrInputBox-912a6254.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useIdAttribute-859439f0.js';
|
|
@@ -10,22 +10,22 @@ import '../../useValidationAttributes-d1abbe34.js';
|
|
|
10
10
|
import '../../OrError-c01d0c29.js';
|
|
11
11
|
import 'vue';
|
|
12
12
|
import '../../OrHint-06ab89d7.js';
|
|
13
|
-
import '../../OrIconButton-
|
|
13
|
+
import '../../OrIconButton-8c8935bc.js';
|
|
14
14
|
import '../../OrIcon-62793572.js';
|
|
15
|
-
import '../../OrTooltip-
|
|
15
|
+
import '../../OrTooltip-69fe2f44.js';
|
|
16
16
|
import '../../usePopoverState-b92c698b.js';
|
|
17
|
-
import '../../OrPopover-
|
|
17
|
+
import '../../OrPopover-d9038ff5.js';
|
|
18
18
|
import '@floating-ui/dom';
|
|
19
19
|
import '../../useElevation-a50ec347.js';
|
|
20
|
-
import '../../useResponsive-
|
|
20
|
+
import '../../useResponsive-bb091958.js';
|
|
21
21
|
import '../../OrBottomSheet-98aec82b.js';
|
|
22
22
|
import '../../OrOverlay-99e696e8.js';
|
|
23
23
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
24
24
|
import '../../useTheme-e23d13c8.js';
|
|
25
25
|
import '../../OrLabel-4da56db0.js';
|
|
26
|
-
import '../../OrTags-
|
|
26
|
+
import '../../OrTags-f89c52a7.js';
|
|
27
27
|
import '../../useOverflow-c856b7b7.js';
|
|
28
28
|
import '../../OrButton-4a3c3e7b.js';
|
|
29
29
|
import '../../OrLoader-b79022da.js';
|
|
30
|
-
import '../../OrTag-
|
|
30
|
+
import '../../OrTag-86e414a4.js';
|
|
31
31
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { s as OrTagV3, a as TagColor, T as TagVariant } from '../../OrTag-
|
|
1
|
+
export { s as OrTagV3, a as TagColor, T as TagVariant } from '../../OrTag-86e414a4.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../OrIconButton-
|
|
3
|
+
import '../../OrIconButton-8c8935bc.js';
|
|
4
4
|
import '../../OrIcon-62793572.js';
|
|
5
5
|
import 'vue';
|
|
6
|
-
import '../../OrTooltip-
|
|
6
|
+
import '../../OrTooltip-69fe2f44.js';
|
|
7
7
|
import '@vueuse/core';
|
|
8
8
|
import '../../usePopoverState-b92c698b.js';
|
|
9
9
|
import '@onereach/styles/tailwind.config';
|
|
10
10
|
import 'tailwindcss/resolveConfig';
|
|
11
|
-
import '../../OrPopover-
|
|
11
|
+
import '../../OrPopover-d9038ff5.js';
|
|
12
12
|
import '@floating-ui/dom';
|
|
13
13
|
import '../../useElevation-a50ec347.js';
|
|
14
|
-
import '../../useResponsive-
|
|
14
|
+
import '../../useResponsive-bb091958.js';
|
|
15
15
|
import '../../OrBottomSheet-98aec82b.js';
|
|
16
16
|
import '../../OrOverlay-99e696e8.js';
|
|
17
17
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as OrTagsV3 } from '../../OrTags-
|
|
1
|
+
export { s as OrTagsV3 } from '../../OrTags-f89c52a7.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useOverflow-c856b7b7.js';
|
|
4
4
|
import '@vueuse/core';
|
|
@@ -7,16 +7,16 @@ import 'tailwindcss/resolveConfig';
|
|
|
7
7
|
import '../../OrButton-4a3c3e7b.js';
|
|
8
8
|
import '../../OrLoader-b79022da.js';
|
|
9
9
|
import 'vue';
|
|
10
|
-
import '../../OrPopover-
|
|
10
|
+
import '../../OrPopover-d9038ff5.js';
|
|
11
11
|
import '@floating-ui/dom';
|
|
12
12
|
import '../../useElevation-a50ec347.js';
|
|
13
13
|
import '../../usePopoverState-b92c698b.js';
|
|
14
|
-
import '../../useResponsive-
|
|
14
|
+
import '../../useResponsive-bb091958.js';
|
|
15
15
|
import '../../OrBottomSheet-98aec82b.js';
|
|
16
16
|
import '../../OrOverlay-99e696e8.js';
|
|
17
17
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
18
18
|
import '../../useTheme-e23d13c8.js';
|
|
19
|
-
import '../../OrTag-
|
|
20
|
-
import '../../OrIconButton-
|
|
19
|
+
import '../../OrTag-86e414a4.js';
|
|
20
|
+
import '../../OrIconButton-8c8935bc.js';
|
|
21
21
|
import '../../OrIcon-62793572.js';
|
|
22
|
-
import '../../OrTooltip-
|
|
22
|
+
import '../../OrTooltip-69fe2f44.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { s as OrTimePickerV3 } from '../../OrTimePicker-
|
|
2
|
-
export { D as TimePickerFormat } from '../../OrDateTimePicker-
|
|
1
|
+
export { s as OrTimePickerV3 } from '../../OrTimePicker-bb3b4031.js';
|
|
2
|
+
export { D as TimePickerFormat } from '../../OrDateTimePicker-5e8d340a.js';
|
|
3
3
|
export { I as TimePickerSize } from '../../OrInputBox-912a6254.js';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import '../../dropdown-open-e1f90e0a.js';
|
|
@@ -7,24 +7,24 @@ import '@vueuse/core';
|
|
|
7
7
|
import '../../useProxyModelValue-940010d2.js';
|
|
8
8
|
import '@onereach/styles/tailwind.config';
|
|
9
9
|
import 'tailwindcss/resolveConfig';
|
|
10
|
-
import '../../OrDateTimePickerPopoverHeader-
|
|
10
|
+
import '../../OrDateTimePickerPopoverHeader-db012139.js';
|
|
11
11
|
import 'vue';
|
|
12
12
|
import '../../OrButton-4a3c3e7b.js';
|
|
13
13
|
import '../../OrLoader-b79022da.js';
|
|
14
14
|
import '../../OrLabel-4da56db0.js';
|
|
15
|
-
import '../../OrIconButton-
|
|
15
|
+
import '../../OrIconButton-8c8935bc.js';
|
|
16
16
|
import '../../OrIcon-62793572.js';
|
|
17
|
-
import '../../OrTooltip-
|
|
17
|
+
import '../../OrTooltip-69fe2f44.js';
|
|
18
18
|
import '../../usePopoverState-b92c698b.js';
|
|
19
|
-
import '../../OrPopover-
|
|
19
|
+
import '../../OrPopover-d9038ff5.js';
|
|
20
20
|
import '@floating-ui/dom';
|
|
21
21
|
import '../../useElevation-a50ec347.js';
|
|
22
|
-
import '../../useResponsive-
|
|
22
|
+
import '../../useResponsive-bb091958.js';
|
|
23
23
|
import '../../OrBottomSheet-98aec82b.js';
|
|
24
24
|
import '../../OrOverlay-99e696e8.js';
|
|
25
25
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
26
26
|
import '../../useTheme-e23d13c8.js';
|
|
27
27
|
import '../../OrMenuItem-54062d59.js';
|
|
28
|
-
import '../../OrMenu-
|
|
28
|
+
import '../../OrMenu-7d29aef5.js';
|
|
29
29
|
import '../../OrError-c01d0c29.js';
|
|
30
30
|
import '../../OrHint-06ab89d7.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-74a33418.js';
|
|
2
2
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../../useToast-5aa9dc05.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import 'vue-demi';
|
|
@@ -7,13 +7,13 @@ import '@onereach/styles/tailwind.config';
|
|
|
7
7
|
import 'tailwindcss/resolveConfig';
|
|
8
8
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
9
9
|
import 'vue';
|
|
10
|
-
import '../../OrIconButton-
|
|
10
|
+
import '../../OrIconButton-8c8935bc.js';
|
|
11
11
|
import '../../OrIcon-62793572.js';
|
|
12
|
-
import '../../OrTooltip-
|
|
12
|
+
import '../../OrTooltip-69fe2f44.js';
|
|
13
13
|
import '../../usePopoverState-b92c698b.js';
|
|
14
|
-
import '../../OrPopover-
|
|
14
|
+
import '../../OrPopover-d9038ff5.js';
|
|
15
15
|
import '@floating-ui/dom';
|
|
16
|
-
import '../../useResponsive-
|
|
16
|
+
import '../../useResponsive-bb091958.js';
|
|
17
17
|
import '../../OrBottomSheet-98aec82b.js';
|
|
18
18
|
import '../../OrOverlay-99e696e8.js';
|
|
19
19
|
import '../../useTheme-e23d13c8.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as OrToastContainerV3, t as TypesV3 } from '../../../types-
|
|
1
|
+
export { a as OrToastContainerV3, t as TypesV3 } from '../../../types-74a33418.js';
|
|
2
2
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../../../useToast-5aa9dc05.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import 'vue-demi';
|
|
@@ -7,13 +7,13 @@ import '@onereach/styles/tailwind.config';
|
|
|
7
7
|
import 'tailwindcss/resolveConfig';
|
|
8
8
|
import '../../../OrTeleport.vue3-8099178c.js';
|
|
9
9
|
import 'vue';
|
|
10
|
-
import '../../../OrIconButton-
|
|
10
|
+
import '../../../OrIconButton-8c8935bc.js';
|
|
11
11
|
import '../../../OrIcon-62793572.js';
|
|
12
|
-
import '../../../OrTooltip-
|
|
12
|
+
import '../../../OrTooltip-69fe2f44.js';
|
|
13
13
|
import '../../../usePopoverState-b92c698b.js';
|
|
14
|
-
import '../../../OrPopover-
|
|
14
|
+
import '../../../OrPopover-d9038ff5.js';
|
|
15
15
|
import '@floating-ui/dom';
|
|
16
|
-
import '../../../useResponsive-
|
|
16
|
+
import '../../../useResponsive-bb091958.js';
|
|
17
17
|
import '../../../OrBottomSheet-98aec82b.js';
|
|
18
18
|
import '../../../OrOverlay-99e696e8.js';
|
|
19
19
|
import '../../../useTheme-e23d13c8.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { s as OrTooltipV3 } from '../../OrTooltip-
|
|
2
|
-
export { P as TooltipPlacement } from '../../OrPopover-
|
|
1
|
+
export { s as OrTooltipV3 } from '../../OrTooltip-69fe2f44.js';
|
|
2
|
+
export { P as TooltipPlacement } from '../../OrPopover-d9038ff5.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '../../usePopoverState-b92c698b.js';
|
|
@@ -8,7 +8,7 @@ import 'tailwindcss/resolveConfig';
|
|
|
8
8
|
import 'vue';
|
|
9
9
|
import '@floating-ui/dom';
|
|
10
10
|
import '../../useElevation-a50ec347.js';
|
|
11
|
-
import '../../useResponsive-
|
|
11
|
+
import '../../useResponsive-bb091958.js';
|
|
12
12
|
import '../../OrBottomSheet-98aec82b.js';
|
|
13
13
|
import '../../OrOverlay-99e696e8.js';
|
|
14
14
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
@@ -3,7 +3,7 @@ export { u as useElevation } from '../useElevation-a50ec347.js';
|
|
|
3
3
|
export { u as useOverflow } from '../useOverflow-c856b7b7.js';
|
|
4
4
|
export { u as usePopoverState } from '../usePopoverState-b92c698b.js';
|
|
5
5
|
export { u as useProxyModelValue } from '../useProxyModelValue-940010d2.js';
|
|
6
|
-
export { u as useResponsive } from '../useResponsive-
|
|
6
|
+
export { u as useResponsive } from '../useResponsive-bb091958.js';
|
|
7
7
|
export { u as useTheme } from '../useTheme-e23d13c8.js';
|
|
8
8
|
export { u as useToggle } from '../useToggle-c04fc920.js';
|
|
9
9
|
export { u as useValidationAttributes } from '../useValidationAttributes-d1abbe34.js';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
isDesktop: import("vue-demi").
|
|
1
|
+
import { Ref } from 'vue-demi';
|
|
2
|
+
declare function useResponsive(element: Ref<HTMLElement | undefined>): {
|
|
3
|
+
isDesktop: import("vue-demi").ComputedRef<boolean>;
|
|
4
|
+
isMobile: import("vue-demi").ComputedRef<boolean>;
|
|
4
5
|
};
|
|
5
6
|
export default useResponsive;
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -7,7 +7,7 @@ export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTT
|
|
|
7
7
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-4a3c3e7b.js';
|
|
8
8
|
export { s as OrCard } from './OrCard-e3a5aea4.js';
|
|
9
9
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-8c81a2d5.js';
|
|
10
|
-
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-
|
|
10
|
+
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-0fa70f61.js';
|
|
11
11
|
export { s as OrCardV3 } from './OrCard-cc82902c.js';
|
|
12
12
|
export { s as OrCheckbox } from './OrCheckbox-5666c954.js';
|
|
13
13
|
export { s as OrCheckboxGroupV3 } from './OrCheckboxGroup-6c054793.js';
|
|
@@ -16,16 +16,16 @@ export { s as OrCheckboxV3 } from './OrCheckbox-09f62aab.js';
|
|
|
16
16
|
export { s as OrChip } from './OrChip-74e27265.js';
|
|
17
17
|
export { s as OrChips } from './OrChips-348b13e4.js';
|
|
18
18
|
export { s as OrCode, O as OrCodeLanguages } from './OrCode-0aadc737.js';
|
|
19
|
-
export { C as CodeLanguage, s as OrCodeV3 } from './OrCode-
|
|
19
|
+
export { C as CodeLanguage, s as OrCodeV3 } from './OrCode-a2756848.js';
|
|
20
20
|
export { s as OrCollapse } from './OrCollapse-d7c0afae.js';
|
|
21
21
|
export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-252f482b.js';
|
|
22
22
|
export { s as OrCombinedInputV3 } from './OrCombinedInput-2800ee8b.js';
|
|
23
23
|
export { I as CombinedInputSize, I as DatePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, s as OrInputBoxV3, I as SearchSize, I as SelectSize, I as TagInputSize, I as TextareaSize, I as TimePickerSize } from './OrInputBox-912a6254.js';
|
|
24
24
|
export { s as OrConfirm } from './OrConfirm-97ab80b9.js';
|
|
25
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-
|
|
26
|
-
export { s as OrDatePickerV3 } from './OrDatePicker-
|
|
25
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-8f46dfbf.js';
|
|
26
|
+
export { s as OrDatePickerV3 } from './OrDatePicker-dfb9c29e.js';
|
|
27
27
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-4bfefbcd.js';
|
|
28
|
-
export { D as DateTimePickerTimeFormat, s as OrDateTimePickerV3, D as TimePickerFormat } from './OrDateTimePicker-
|
|
28
|
+
export { D as DateTimePickerTimeFormat, s as OrDateTimePickerV3, D as TimePickerFormat } from './OrDateTimePicker-5e8d340a.js';
|
|
29
29
|
export { E as EmptyStateSize, s as OrEmptyStateV3 } from './OrEmptyState-5349a1f9.js';
|
|
30
30
|
export { s as OrError } from './OrError-f90296db.js';
|
|
31
31
|
export { s as OrErrorTagV3 } from './OrErrorTag-ade9192b.js';
|
|
@@ -37,14 +37,14 @@ export { F as FormGroupDirection, s as OrFormGroupV3 } from './OrFormGroup-9f581
|
|
|
37
37
|
export { s as OrHint } from './OrHint-8822005b.js';
|
|
38
38
|
export { s as OrHintV3 } from './OrHint-06ab89d7.js';
|
|
39
39
|
export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-f7130a5c.js';
|
|
40
|
-
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-
|
|
40
|
+
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-8c8935bc.js';
|
|
41
41
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from './OrIcon-62793572.js';
|
|
42
42
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-01fb2cb2.js';
|
|
43
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
43
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-d3d3c164.js';
|
|
44
44
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-a3c4c7dc.js';
|
|
45
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
45
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-a7784e3f.js';
|
|
46
46
|
export { s as OrInput } from './OrInput-2c3111c2.js';
|
|
47
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
47
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-ed408a17.js';
|
|
48
48
|
export { s as OrLabel } from './OrLabel-a7d99df4.js';
|
|
49
49
|
export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-4da56db0.js';
|
|
50
50
|
export { L as LinkColor, s as OrLinkV3 } from './OrLink-dcae31fb.js';
|
|
@@ -53,32 +53,32 @@ export { s as OrListOfInputs } from './OrListOfInputs-f8740785.js';
|
|
|
53
53
|
export { L as LoaderViews, s as OrLoader } from './OrLoader-d28a8ebf.js';
|
|
54
54
|
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './OrLoader-b79022da.js';
|
|
55
55
|
export { s as OrMenuItemV3 } from './OrMenuItem-54062d59.js';
|
|
56
|
-
export { s as OrMenuV3 } from './OrMenu-
|
|
57
|
-
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-
|
|
56
|
+
export { s as OrMenuV3 } from './OrMenu-7d29aef5.js';
|
|
57
|
+
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-d9038ff5.js';
|
|
58
58
|
export { s as OrModal, O as OrModalSizes } from './OrModal-b2060770.js';
|
|
59
|
-
export { M as ModalSize, s as OrModalV3 } from './OrModal-
|
|
59
|
+
export { M as ModalSize, s as OrModalV3 } from './OrModal-6168a725.js';
|
|
60
60
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from './OrNotification-1b28dd4a.js';
|
|
61
|
-
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-
|
|
61
|
+
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-cb035267.js';
|
|
62
62
|
export { s as OrNumberInput } from './OrNumberInput-e9dcdcbd.js';
|
|
63
63
|
export { s as OrOverflowMenu } from './OrOverflowMenu-440ddf3e.js';
|
|
64
64
|
export { s as OrOverlay } from './OrOverlay-451dce49.js';
|
|
65
65
|
export { s as OrOverlayV3 } from './OrOverlay-99e696e8.js';
|
|
66
|
-
export { s as OrPaginationV3 } from './OrPagination-
|
|
66
|
+
export { s as OrPaginationV3 } from './OrPagination-c8cf6c42.js';
|
|
67
67
|
export { s as OrPassword } from './OrPassword-311406fa.js';
|
|
68
68
|
export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-aa2ea84b.js';
|
|
69
|
-
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-
|
|
69
|
+
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-c3c56efd.js';
|
|
70
70
|
export { s as OrRadio } from './OrRadio-40bf2c87.js';
|
|
71
71
|
export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
72
72
|
export { s as OrRadioGroupV3 } from './OrRadioGroup-58c0214c.js';
|
|
73
73
|
export { s as OrRadioV3 } from './OrRadio-7b722b16.js';
|
|
74
74
|
export { s as OrSearch } from './OrSearch-2800e9bf.js';
|
|
75
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
75
|
+
export { s as OrSearchV3 } from './OrSearch-d5ae141b.js';
|
|
76
76
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-c8eb217d.js';
|
|
77
77
|
export { s as OrSelect } from './OrSelect-9520d6e6.js';
|
|
78
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
78
|
+
export { s as OrSelectV3 } from './OrSelect-378b8a08.js';
|
|
79
79
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-aaf73310.js';
|
|
80
|
-
export { s as OrSidebarV3 } from './OrSidebar-
|
|
81
|
-
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-
|
|
80
|
+
export { s as OrSidebarV3 } from './OrSidebar-8c7f2a8c.js';
|
|
81
|
+
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-405f2219.js';
|
|
82
82
|
export { s as OrSkeletonCircle } from './OrSkeletonCircle-66e175a0.js';
|
|
83
83
|
export { s as OrSkeletonRect } from './OrSkeletonRect-c694574e.js';
|
|
84
84
|
export { s as OrSkeletonText } from './OrSkeletonText-9a800de4.js';
|
|
@@ -87,7 +87,7 @@ export { s as OrSkeletonCircleV3 } from './OrSkeletonCircle-1eae069b.js';
|
|
|
87
87
|
export { s as OrSkeletonRectV3 } from './OrSkeletonRect-ba5df861.js';
|
|
88
88
|
export { s as OrSkeletonTextV3 } from './OrSkeletonText-3c3207d0.js';
|
|
89
89
|
export { s as OrSlider } from './OrSlider-b7bd588e.js';
|
|
90
|
-
export { s as OrSortingV3 } from './OrSorting-
|
|
90
|
+
export { s as OrSortingV3 } from './OrSorting-4548f7f4.js';
|
|
91
91
|
export { s as OrStepper } from './OrStepper-4943002c.js';
|
|
92
92
|
export { s as OrSwitch } from './OrSwitch-fb864132.js';
|
|
93
93
|
export { s as OrSwitchV3 } from './OrSwitch-a6efd081.js';
|
|
@@ -95,25 +95,25 @@ export { s as OrTab } from './OrTab-d8d4e871.js';
|
|
|
95
95
|
export { s as OrTabHeaderItem } from './OrTabHeaderItem-c2af7ca3.js';
|
|
96
96
|
export { s as OrTabV3 } from './OrTab-2d567d8e.js';
|
|
97
97
|
export { s as OrTabs } from './OrTabs-3da3ea89.js';
|
|
98
|
-
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-
|
|
98
|
+
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-fb237e6a.js';
|
|
99
99
|
export { s as OrTag } from './OrTag-1b3b1296.js';
|
|
100
|
-
export { s as OrTagInputV3 } from './OrTagInput-
|
|
101
|
-
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-
|
|
102
|
-
export { s as OrTagsV3 } from './OrTags-
|
|
100
|
+
export { s as OrTagInputV3 } from './OrTagInput-c38af944.js';
|
|
101
|
+
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-86e414a4.js';
|
|
102
|
+
export { s as OrTagsV3 } from './OrTags-f89c52a7.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-7a753c1a.js';
|
|
107
107
|
export { s as OrTextareaV3 } from './OrTextarea-6c471ccd.js';
|
|
108
108
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-fe62c6c3.js';
|
|
109
|
-
export { s as OrTimePickerV3 } from './OrTimePicker-
|
|
109
|
+
export { s as OrTimePickerV3 } from './OrTimePicker-bb3b4031.js';
|
|
110
110
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-d6f117e2.js';
|
|
111
111
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-05a9c81b.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-74a33418.js';
|
|
113
113
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-5aa9dc05.js';
|
|
114
114
|
export { s as OrTooltip } from './OrTooltip-7ac03028.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-69fe2f44.js';
|
|
117
117
|
export { s as OrTreeV3, T as TreeNodeDropPosition } from './OrTree-a0e57f4e.js';
|
|
118
118
|
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e1f90e0a.js';
|
|
119
119
|
export { u as useControlAttributes, a as useIdAttribute } from './useIdAttribute-859439f0.js';
|
|
@@ -121,7 +121,7 @@ export { u as useElevation } from './useElevation-a50ec347.js';
|
|
|
121
121
|
export { u as useOverflow } from './useOverflow-c856b7b7.js';
|
|
122
122
|
export { u as usePopoverState } from './usePopoverState-b92c698b.js';
|
|
123
123
|
export { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
124
|
-
export { u as useResponsive } from './useResponsive-
|
|
124
|
+
export { u as useResponsive } from './useResponsive-bb091958.js';
|
|
125
125
|
export { u as useTheme } from './useTheme-e23d13c8.js';
|
|
126
126
|
export { u as useToggle } from './useToggle-c04fc920.js';
|
|
127
127
|
export { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
@@ -149,7 +149,7 @@ import '@codemirror/lang-markdown';
|
|
|
149
149
|
import '@codemirror/language';
|
|
150
150
|
import '@lezer/highlight';
|
|
151
151
|
import '@vueuse/math';
|
|
152
|
-
import './OrDateTimePickerPopoverHeader-
|
|
152
|
+
import './OrDateTimePickerPopoverHeader-db012139.js';
|
|
153
153
|
import 'lodash/padStart';
|
|
154
154
|
import '@floating-ui/dom';
|
|
155
155
|
import 'lodash/cloneDeep';
|
|
@@ -5,7 +5,7 @@ import '@onereach/styles/tailwind.config';
|
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
6
|
import { s as script$4 } from './OrTeleport.vue3-8099178c.js';
|
|
7
7
|
import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-5aa9dc05.js';
|
|
8
|
-
import { s as script$2 } from './OrIconButton-
|
|
8
|
+
import { s as script$2 } from './OrIconButton-8c8935bc.js';
|
|
9
9
|
import { s as script$3 } from './OrLoader-b79022da.js';
|
|
10
10
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, createElementVNode, toDisplayString, createBlock, withModifiers, withCtx, TransitionGroup, Fragment, renderList, mergeProps } from 'vue';
|
|
11
11
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { useMediaQuery } from '@vueuse/core';
|
|
2
|
+
import { computed } from 'vue-demi';
|
|
3
|
+
|
|
4
|
+
function useResponsive(element) {
|
|
5
|
+
const isDesktop = computed(() => {
|
|
6
|
+
return isForcedDesktop(element.value) || useMediaQuery('(min-width: 768px)').value;
|
|
7
|
+
});
|
|
8
|
+
const isMobile = computed(() => {
|
|
9
|
+
return !isDesktop.value;
|
|
10
|
+
});
|
|
11
|
+
function isForcedDesktop(element) {
|
|
12
|
+
var _a, _b;
|
|
13
|
+
if (!element) {
|
|
14
|
+
return false;
|
|
15
|
+
}
|
|
16
|
+
const forcedScreens = (_a = element.getAttribute('force-screen')) === null || _a === void 0 ? void 0 : _a.split(/\s+/);
|
|
17
|
+
if (forcedScreens === null || forcedScreens === void 0 ? void 0 : forcedScreens.some(forcedScreen => ['md', 'lg', 'xl', '2xl'].includes(forcedScreen))) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
return isForcedDesktop((_b = element.parentElement) !== null && _b !== void 0 ? _b : undefined);
|
|
21
|
+
}
|
|
22
|
+
console.log({
|
|
23
|
+
isDesktop: isDesktop.value,
|
|
24
|
+
isMobile: isMobile.value
|
|
25
|
+
});
|
|
26
|
+
return {
|
|
27
|
+
isDesktop,
|
|
28
|
+
isMobile
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { useResponsive as u };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "5.0.0",
|
|
3
|
+
"version": "5.0.1-beta.3125.0",
|
|
4
4
|
"npmUnpacked": "4.15.2",
|
|
5
5
|
"description": "Vue components library for v2/3",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@codemirror/lang-json": "6.0.1",
|
|
40
40
|
"@codemirror/lang-markdown": "6.1.1",
|
|
41
41
|
"@floating-ui/dom": "0.3.1",
|
|
42
|
-
"@onereach/styles": "^3.0.0",
|
|
42
|
+
"@onereach/styles": "^3.0.1-beta.3125.0",
|
|
43
43
|
"@types/lodash": "4.14.173",
|
|
44
44
|
"@types/sortablejs": "1.10.7",
|
|
45
45
|
"@types/uuid": "8.3.1",
|
|
@@ -154,6 +154,5 @@
|
|
|
154
154
|
"default": "./dist/bundled/v3/components/*/index.js"
|
|
155
155
|
},
|
|
156
156
|
"./package.json": "./package.json"
|
|
157
|
-
}
|
|
158
|
-
"gitHead": "f2027e20f479d18f825b0118d90b7a40e87b96fd"
|
|
157
|
+
}
|
|
159
158
|
}
|
|
@@ -262,8 +262,6 @@ export default defineComponent({
|
|
|
262
262
|
|
|
263
263
|
const disclosed = ref(false);
|
|
264
264
|
|
|
265
|
-
const { isMobile } = useResponsive();
|
|
266
|
-
|
|
267
265
|
// Methods
|
|
268
266
|
function focus(): void {
|
|
269
267
|
control.value?.focus();
|
|
@@ -273,6 +271,9 @@ export default defineComponent({
|
|
|
273
271
|
control.value?.blur();
|
|
274
272
|
}
|
|
275
273
|
|
|
274
|
+
// Helpers
|
|
275
|
+
const { isMobile } = useResponsive(root);
|
|
276
|
+
|
|
276
277
|
return {
|
|
277
278
|
root,
|
|
278
279
|
control,
|
|
@@ -283,9 +284,9 @@ export default defineComponent({
|
|
|
283
284
|
currentLength,
|
|
284
285
|
maxLength,
|
|
285
286
|
disclosed,
|
|
286
|
-
isMobile,
|
|
287
287
|
focus,
|
|
288
288
|
blur,
|
|
289
|
+
isMobile,
|
|
289
290
|
};
|
|
290
291
|
},
|
|
291
292
|
});
|
|
@@ -138,8 +138,6 @@ export default defineComponent({
|
|
|
138
138
|
],
|
|
139
139
|
|
|
140
140
|
setup(props, context) {
|
|
141
|
-
const { isDesktop, isMobile } = useResponsive();
|
|
142
|
-
|
|
143
141
|
// Refs
|
|
144
142
|
const root = ref<HTMLElement>();
|
|
145
143
|
|
|
@@ -264,10 +262,10 @@ export default defineComponent({
|
|
|
264
262
|
currentPage.value = page;
|
|
265
263
|
}
|
|
266
264
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
isMobile,
|
|
265
|
+
// Helpers
|
|
266
|
+
const { isDesktop, isMobile } = useResponsive(root);
|
|
270
267
|
|
|
268
|
+
return {
|
|
271
269
|
root,
|
|
272
270
|
limitButton,
|
|
273
271
|
limitButtonRoot,
|
|
@@ -287,6 +285,8 @@ export default defineComponent({
|
|
|
287
285
|
toPreviousPage,
|
|
288
286
|
toNextPage,
|
|
289
287
|
toPage,
|
|
288
|
+
isDesktop,
|
|
289
|
+
isMobile,
|
|
290
290
|
};
|
|
291
291
|
},
|
|
292
292
|
});
|
|
@@ -122,8 +122,6 @@ export default defineComponent({
|
|
|
122
122
|
],
|
|
123
123
|
|
|
124
124
|
setup(props, context) {
|
|
125
|
-
const { isDesktop, isMobile } = useResponsive();
|
|
126
|
-
|
|
127
125
|
// Refs
|
|
128
126
|
const root = ref<HTMLElement>();
|
|
129
127
|
|
|
@@ -148,6 +146,9 @@ export default defineComponent({
|
|
|
148
146
|
const isFlipped = ref<boolean>(false);
|
|
149
147
|
const isHidden = ref<boolean>(false);
|
|
150
148
|
|
|
149
|
+
// Helpers
|
|
150
|
+
const { isDesktop, isMobile } = useResponsive(root);
|
|
151
|
+
|
|
151
152
|
// Effects
|
|
152
153
|
watchPostEffect(() => {
|
|
153
154
|
const rootElement = unref(root);
|
|
@@ -201,8 +202,6 @@ export default defineComponent({
|
|
|
201
202
|
// #endregion
|
|
202
203
|
|
|
203
204
|
return {
|
|
204
|
-
isDesktop,
|
|
205
|
-
isMobile,
|
|
206
205
|
root,
|
|
207
206
|
bottomSheet,
|
|
208
207
|
bottomSheetRoot,
|
|
@@ -211,6 +210,8 @@ export default defineComponent({
|
|
|
211
210
|
state,
|
|
212
211
|
isFlipped,
|
|
213
212
|
isHidden,
|
|
213
|
+
isDesktop,
|
|
214
|
+
isMobile,
|
|
214
215
|
open,
|
|
215
216
|
close,
|
|
216
217
|
toggle,
|
|
@@ -150,8 +150,6 @@ export default defineComponent({
|
|
|
150
150
|
],
|
|
151
151
|
|
|
152
152
|
setup(props) {
|
|
153
|
-
const { isMobile } = useResponsive();
|
|
154
|
-
|
|
155
153
|
// Refs
|
|
156
154
|
const root = ref<HTMLElement>();
|
|
157
155
|
|
|
@@ -248,6 +246,9 @@ export default defineComponent({
|
|
|
248
246
|
(1 - localProgress.value) * strokeDasharray.value,
|
|
249
247
|
);
|
|
250
248
|
|
|
249
|
+
// Helpers
|
|
250
|
+
const { isMobile } = useResponsive(root);
|
|
251
|
+
|
|
251
252
|
return {
|
|
252
253
|
root,
|
|
253
254
|
rootStyles,
|
|
@@ -2,19 +2,28 @@ import { Meta } from "@storybook/addon-docs";
|
|
|
2
2
|
|
|
3
3
|
<Meta title="Docs/Responsive/Vue composable" />
|
|
4
4
|
|
|
5
|
+
```ts
|
|
6
|
+
import { useResponsive } from '@onereach/ui-components';
|
|
7
|
+
```
|
|
5
8
|
|
|
6
9
|
## Available reactive breakpoints:
|
|
7
10
|
```vue
|
|
11
|
+
<template>
|
|
12
|
+
<div ref="root"></div>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
8
15
|
<script lang="ts">
|
|
9
|
-
import { defineComponent } from 'vue';
|
|
16
|
+
import { defineComponent, ref } from 'vue';
|
|
10
17
|
import { useResponsive } from '@onereach/ui-components';
|
|
11
18
|
|
|
12
19
|
export default defineComponent({
|
|
13
20
|
setup() {
|
|
21
|
+
const root = ref<HTMLElement>();
|
|
22
|
+
|
|
14
23
|
const {
|
|
15
24
|
isMobile,
|
|
16
25
|
isDesktop,
|
|
17
|
-
} = useResponsive();
|
|
26
|
+
} = useResponsive(root);
|
|
18
27
|
|
|
19
28
|
return {
|
|
20
29
|
isMobile,
|
|
@@ -1,13 +1,37 @@
|
|
|
1
1
|
import { useMediaQuery } from '@vueuse/core';
|
|
2
|
-
import {
|
|
2
|
+
import { Ref, computed } from 'vue-demi';
|
|
3
3
|
|
|
4
|
-
function useResponsive() {
|
|
5
|
-
const
|
|
6
|
-
|
|
4
|
+
function useResponsive(element: Ref<HTMLElement | undefined>) {
|
|
5
|
+
const isDesktop = computed(() => {
|
|
6
|
+
return isForcedDesktop(element.value) || useMediaQuery('(min-width: 768px)').value;
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
const isMobile = computed(() => {
|
|
10
|
+
return !isDesktop.value;
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
function isForcedDesktop(element?: HTMLElement): boolean {
|
|
14
|
+
if (!element) {
|
|
15
|
+
return false;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const forcedScreens = element.getAttribute('force-screen')?.split(/\s+/);
|
|
19
|
+
|
|
20
|
+
if (forcedScreens?.some((forcedScreen) => ['md', 'lg', 'xl', '2xl'].includes(forcedScreen))) {
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
return isForcedDesktop(element.parentElement ?? undefined);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
console.log({
|
|
28
|
+
isDesktop: isDesktop.value,
|
|
29
|
+
isMobile: isMobile.value,
|
|
30
|
+
});
|
|
7
31
|
|
|
8
32
|
return {
|
|
9
|
-
isMobile,
|
|
10
33
|
isDesktop,
|
|
34
|
+
isMobile,
|
|
11
35
|
};
|
|
12
36
|
}
|
|
13
37
|
|