@onereach/ui-components 2.72.2-beta.2270.0 → 2.72.2-beta.2271.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/{OrButton-f1f28b9b.js → OrButton-4862b98b.js} +4 -4
- package/dist/bundled/v2/{OrCardCollection-35abc63a.js → OrCardCollection-1224136d.js} +4 -4
- package/dist/bundled/v2/{OrConfirm-c5717fec.js → OrConfirm-357ed917.js} +2 -2
- package/dist/bundled/v2/{OrEmptyState-9fb413f9.js → OrEmptyState-8a7feb99.js} +2 -2
- package/dist/bundled/v2/{OrErrorTag-97a9112b.js → OrErrorTag-175a2c4f.js} +0 -2
- package/dist/bundled/v2/{OrIconButton-837d57f8.js → OrIconButton-627a1e0e.js} +1 -1
- package/dist/bundled/v2/{OrInlineInput-57fccb41.js → OrInlineInput-e671f71f.js} +1 -1
- package/dist/bundled/v2/{OrInlineTextarea-f8b86cf7.js → OrInlineTextarea-64770565.js} +1 -1
- package/dist/bundled/v2/{OrInput-00070eee.js → OrInput-6b8480d4.js} +1 -1
- package/dist/bundled/v2/{OrLoader-07f84c71.js → OrLoader-864ef92a.js} +4 -11
- package/dist/bundled/v2/{OrMenu-52da43bc.js → OrMenu-848b5403.js} +11 -16
- package/dist/bundled/v2/{OrModal-78f5d49e.js → OrModal-4849027c.js} +1 -1
- package/dist/bundled/v2/{OrNotification-458fe937.js → OrNotification-f49fd0a5.js} +1 -1
- package/dist/bundled/v2/{OrPagination-1b65273d.js → OrPagination-cfbed709.js} +60 -24
- package/dist/bundled/v2/{OrPopover-4e8acb7b.js → OrPopover-453ef85c.js} +3 -1
- package/dist/bundled/v2/{OrProgress-15fe65ec.js → OrProgress-5cf0a7e7.js} +3 -3
- package/dist/bundled/v2/{OrSearch-09fd004c.js → OrSearch-5984811b.js} +1 -1
- package/dist/bundled/v2/{OrSelect-2ececfc1.js → OrSelect-9abead2b.js} +3 -3
- package/dist/bundled/v2/{OrSidebar-c95ef614.js → OrSidebar-b1442193.js} +3 -3
- package/dist/bundled/v2/{OrSwitch-3804a2d8.js → OrSwitch-782d7b43.js} +1 -1
- package/dist/bundled/v2/{OrTabs-d69780fc.js → OrTabs-3c8374bf.js} +1 -1
- package/dist/bundled/v2/{OrTag-4085e8a7.js → OrTag-4230e269.js} +1 -3
- package/dist/bundled/v2/{OrTooltip-b1f38647.js → OrTooltip-c26fa7e4.js} +2 -2
- package/dist/bundled/v2/components/index.js +24 -24
- package/dist/bundled/v2/components/or-button-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +9 -9
- package/dist/bundled/v2/components/or-confirm-v3/index.js +7 -7
- package/dist/bundled/v2/components/or-empty-state-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-error-tag-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-icon-button-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-input-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -16
- package/dist/bundled/v2/components/or-loader-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-menu-v3/OrMenu.vue.d.ts +0 -2
- package/dist/bundled/v2/components/or-menu-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-menu-v3/styles.d.ts +0 -1
- package/dist/bundled/v2/components/or-modal-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-notification-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +4 -0
- package/dist/bundled/v2/components/or-pagination-v3/index.js +5 -5
- package/dist/bundled/v2/components/or-popover-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-progress-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-progress-v3/styles.d.ts +1 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +5 -5
- package/dist/bundled/v2/components/or-select-v3/index.js +6 -6
- package/dist/bundled/v2/components/or-sidebar-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-switch-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-tabs-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-tag-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-toast-v3/index.js +5 -5
- package/dist/bundled/v2/components/or-tooltip-v3/index.js +2 -2
- package/dist/bundled/v2/index.js +25 -25
- package/dist/bundled/v2/{types-13daf4de.js → types-a2992841.js} +2 -2
- package/dist/bundled/v3/{OrButton-d8b1c4ac.js → OrButton-05766523.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-d31b504f.js → OrButton.vue_vue_type_script_lang-b53e78f5.js} +5 -5
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-23f82328.js → OrCardCollection.vue_vue_type_script_lang-ac7e9076.js} +7 -7
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-ab682ec1.js → OrConfirm.vue_vue_type_script_lang-c009a4b3.js} +4 -4
- package/dist/bundled/v3/{OrEmptyState.vue_vue_type_script_lang-da7d6c42.js → OrEmptyState.vue_vue_type_script_lang-8e58c67c.js} +2 -2
- package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-e2fe7ca9.js → OrErrorTag.vue_vue_type_script_lang-fa28d642.js} +0 -2
- package/dist/bundled/v3/{OrIconButton-e0566ecf.js → OrIconButton-5e61b281.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js → OrIconButton.vue_vue_type_script_lang-e9fb8b33.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-49ce3308.js → OrInlineInput.vue_vue_type_script_lang-29fe6e81.js} +2 -2
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-8fd761d7.js → OrInlineTextarea.vue_vue_type_script_lang-ad9fa4e4.js} +2 -2
- package/dist/bundled/v3/{OrInput-dcf2606e.js → OrInput-b4b7c5d6.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-27220623.js → OrInput.vue_vue_type_script_lang-85fe6c89.js} +2 -2
- package/dist/bundled/v3/{OrLoader-40942969.js → OrLoader-123ef8c4.js} +1 -1
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-9efedfe7.js → OrLoader.vue_vue_type_script_lang-4c3c1ac9.js} +4 -11
- package/dist/bundled/v3/{OrMenu-6d7abe97.js → OrMenu-2e021191.js} +9 -10
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-df35fd76.js → OrMenu.vue_vue_type_script_lang-656906e5.js} +7 -10
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-6b1dc231.js → OrModal.vue_vue_type_script_lang-503fdff9.js} +2 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-d0afc1d7.js → OrNotification.vue_vue_type_script_lang-0e1b42ed.js} +2 -2
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-c0eceb82.js → OrPagination.vue_vue_type_script_lang-9ccb91d6.js} +35 -20
- package/dist/bundled/v3/{OrPopover-1a488f88.js → OrPopover-c4d9240c.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-b1102c1a.js → OrPopover.vue_vue_type_script_lang-5192d0ec.js} +3 -1
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-52f660d6.js → OrProgress.vue_vue_type_script_lang-17095060.js} +3 -3
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-c054c8db.js → OrSearch.vue_vue_type_script_lang-25b247b4.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-7fd5e2f0.js → OrSelect.vue_vue_type_script_lang-a9c32605.js} +5 -5
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-ce0b152c.js → OrSidebar.vue_vue_type_script_lang-d298c2fa.js} +3 -3
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-25f16621.js → OrSwitch.vue_vue_type_script_lang-31994be7.js} +2 -2
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-cb550e87.js → OrTabs.vue_vue_type_script_lang-2b48bccf.js} +2 -2
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-a25a49ee.js → OrTag.vue_vue_type_script_lang-3040b635.js} +2 -4
- package/dist/bundled/v3/{OrToastContainer-2e9489f9.js → OrToastContainer-2dd062d0.js} +1 -1
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-bf9935ef.js → OrTooltip.vue_vue_type_script_lang-98aa9cdb.js} +3 -3
- package/dist/bundled/v3/components/index.js +30 -30
- package/dist/bundled/v3/components/or-button-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +15 -15
- package/dist/bundled/v3/components/or-confirm-v3/index.js +12 -12
- package/dist/bundled/v3/components/or-empty-state-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-error-tag-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-icon-button-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-input-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -16
- package/dist/bundled/v3/components/or-loader-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-menu-v3/OrMenu.vue.d.ts +0 -2
- package/dist/bundled/v3/components/or-menu-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-menu-v3/styles.d.ts +0 -1
- package/dist/bundled/v3/components/or-modal-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-notification-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +4 -0
- package/dist/bundled/v3/components/or-pagination-v3/index.js +9 -9
- package/dist/bundled/v3/components/or-popover-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-progress-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-progress-v3/styles.d.ts +1 -1
- package/dist/bundled/v3/components/or-search-v3/index.js +8 -8
- package/dist/bundled/v3/components/or-select-v3/index.js +9 -9
- package/dist/bundled/v3/components/or-sidebar-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-switch-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-tabs-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-tag-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-toast-v3/index.js +9 -9
- package/dist/bundled/v3/components/or-tooltip-v3/index.js +3 -3
- package/dist/bundled/v3/index.js +75 -53
- package/dist/bundled/v3/{types-8f6f3598.js → types-e38540c7.js} +4 -4
- package/dist/esm/v2/{OrButton-d067bcac.js → OrButton-18f4431c.js} +4 -4
- package/dist/esm/v2/{OrCardCollection-cab5acb9.js → OrCardCollection-f73a8342.js} +5 -5
- package/dist/esm/v2/{OrConfirm-efe95ff6.js → OrConfirm-e20a9639.js} +2 -2
- package/dist/esm/v2/{OrEmptyState-2481f13f.js → OrEmptyState-ab1a044d.js} +2 -2
- package/dist/esm/v2/{OrErrorTag-80f82cdf.js → OrErrorTag-5346825b.js} +0 -2
- package/dist/esm/v2/{OrIconButton-04a3566d.js → OrIconButton-488f559a.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-b85b84b4.js → OrInlineInput-c686a473.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-afd33047.js → OrInlineTextarea-219de78c.js} +1 -1
- package/dist/esm/v2/{OrInput-59a15d80.js → OrInput-11d7b0c4.js} +1 -1
- package/dist/esm/v2/{OrLoader-a6ae193f.js → OrLoader-76307488.js} +4 -11
- package/dist/esm/v2/{OrMenu-c276db74.js → OrMenu-2b1d978e.js} +11 -16
- package/dist/esm/v2/{OrModal-4e79e0d5.js → OrModal-7fb4ce88.js} +1 -1
- package/dist/esm/v2/{OrNotification-eac3867f.js → OrNotification-47680b11.js} +1 -1
- package/dist/esm/v2/{OrPagination-1acb7176.js → OrPagination-718c8a47.js} +62 -25
- package/dist/esm/v2/{OrPopover-d5d4f62a.js → OrPopover-c1bcf87b.js} +3 -1
- package/dist/esm/v2/{OrProgress-b7d1c689.js → OrProgress-9fc95bd7.js} +3 -3
- package/dist/esm/v2/{OrSearch-7411388b.js → OrSearch-3cf6d3ba.js} +1 -1
- package/dist/esm/v2/{OrSelect-e31d1c8b.js → OrSelect-5f2b5156.js} +3 -3
- package/dist/esm/v2/{OrSidebar-fabc7bc9.js → OrSidebar-7c89f46c.js} +3 -3
- package/dist/esm/v2/{OrSwitch-c2429fc0.js → OrSwitch-8549219a.js} +1 -1
- package/dist/esm/v2/{OrTabs-96b0473d.js → OrTabs-e7984ffd.js} +2 -2
- package/dist/esm/v2/{OrTag-b2906865.js → OrTag-19505cdf.js} +1 -3
- package/dist/esm/v2/{OrTooltip-629d44fc.js → OrTooltip-987794a0.js} +2 -2
- package/dist/esm/v2/components/index.js +24 -24
- package/dist/esm/v2/components/or-button-v3/index.js +2 -2
- package/dist/esm/v2/components/or-card-collection-v3/index.js +9 -9
- package/dist/esm/v2/components/or-confirm-v3/index.js +7 -7
- package/dist/esm/v2/components/or-empty-state-v3/index.js +1 -1
- package/dist/esm/v2/components/or-error-tag-v3/index.js +1 -1
- package/dist/esm/v2/components/or-icon-button-v3/index.js +3 -3
- package/dist/esm/v2/components/or-inline-input-v3/index.js +4 -4
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +4 -4
- package/dist/esm/v2/components/or-input-v3/index.js +4 -4
- package/dist/esm/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -16
- package/dist/esm/v2/components/or-loader-v3/index.js +1 -1
- package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +0 -2
- package/dist/esm/v2/components/or-menu-v3/index.js +2 -2
- package/dist/esm/v2/components/or-menu-v3/styles.d.ts +0 -1
- package/dist/esm/v2/components/or-modal-v3/index.js +4 -4
- package/dist/esm/v2/components/or-notification-v3/index.js +4 -4
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +4 -0
- package/dist/esm/v2/components/or-pagination-v3/index.js +7 -7
- package/dist/esm/v2/components/or-popover-v3/index.js +1 -1
- package/dist/esm/v2/components/or-progress-v3/index.js +1 -1
- package/dist/esm/v2/components/or-progress-v3/styles.d.ts +1 -1
- package/dist/esm/v2/components/or-search-v3/index.js +5 -5
- package/dist/esm/v2/components/or-select-v3/index.js +6 -6
- package/dist/esm/v2/components/or-sidebar-v3/index.js +1 -1
- package/dist/esm/v2/components/or-switch-v3/index.js +2 -2
- package/dist/esm/v2/components/or-tabs-v3/index.js +3 -3
- package/dist/esm/v2/components/or-tag-v3/index.js +4 -4
- package/dist/esm/v2/components/or-toast-v3/index.js +5 -5
- package/dist/esm/v2/components/or-tooltip-v3/index.js +2 -2
- package/dist/esm/v2/index.js +24 -24
- package/dist/esm/v2/{types-4a75cef1.js → types-8e103fb9.js} +2 -2
- package/dist/esm/v3/{OrButton-d9f6c316.js → OrButton-55dd2ad9.js} +4 -4
- package/dist/esm/v3/{OrCardCollection-04b36455.js → OrCardCollection-85fdfd7f.js} +5 -5
- package/dist/esm/v3/{OrConfirm-d7d6255c.js → OrConfirm-f2f4738b.js} +2 -2
- package/dist/esm/v3/{OrEmptyState-bb8e3145.js → OrEmptyState-cd3a4026.js} +2 -2
- package/dist/esm/v3/{OrErrorTag-308119de.js → OrErrorTag-a3e6ef83.js} +0 -2
- package/dist/esm/v3/{OrIconButton-2dcfb83e.js → OrIconButton-24b89457.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-fbc35f85.js → OrInlineInput-fa55010c.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-79da8697.js → OrInlineTextarea-2f25e0cb.js} +1 -1
- package/dist/esm/v3/{OrInput-bd054213.js → OrInput-22b90c7d.js} +1 -1
- package/dist/esm/v3/{OrLoader-1709eb68.js → OrLoader-a53d2edf.js} +4 -11
- package/dist/esm/v3/{OrMenu-7f3ea117.js → OrMenu-34e6601c.js} +14 -18
- package/dist/esm/v3/{OrModal-4219a6dc.js → OrModal-ff6512f4.js} +1 -1
- package/dist/esm/v3/{OrNotification-0e682c7f.js → OrNotification-9e1b7e16.js} +1 -1
- package/dist/esm/v3/{OrPagination-7cbdbb05.js → OrPagination-a6b63ef2.js} +65 -27
- package/dist/esm/v3/{OrPopover-40217b49.js → OrPopover-a24dba9b.js} +3 -1
- package/dist/esm/v3/{OrProgress-639ed5e8.js → OrProgress-4856808a.js} +3 -3
- package/dist/esm/v3/{OrSearch-5406bf03.js → OrSearch-a61cb1ab.js} +1 -1
- package/dist/esm/v3/{OrSelect-466e50ca.js → OrSelect-8b73cdba.js} +3 -3
- package/dist/esm/v3/{OrSidebar-a62972f5.js → OrSidebar-5d97c7cc.js} +3 -3
- package/dist/esm/v3/{OrSwitch-54988e7a.js → OrSwitch-1c2196da.js} +1 -1
- package/dist/esm/v3/{OrTabs-328d41b9.js → OrTabs-8c550d38.js} +2 -2
- package/dist/esm/v3/{OrTag-148ff9ae.js → OrTag-88dff18b.js} +1 -3
- package/dist/esm/v3/{OrTooltip-b07616f4.js → OrTooltip-e12df498.js} +2 -2
- package/dist/esm/v3/components/index.js +24 -24
- package/dist/esm/v3/components/or-button-v3/index.js +2 -2
- package/dist/esm/v3/components/or-card-collection-v3/index.js +9 -9
- package/dist/esm/v3/components/or-confirm-v3/index.js +7 -7
- package/dist/esm/v3/components/or-empty-state-v3/index.js +1 -1
- package/dist/esm/v3/components/or-error-tag-v3/index.js +1 -1
- package/dist/esm/v3/components/or-icon-button-v3/index.js +3 -3
- package/dist/esm/v3/components/or-inline-input-v3/index.js +4 -4
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +4 -4
- package/dist/esm/v3/components/or-input-v3/index.js +4 -4
- package/dist/esm/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -16
- package/dist/esm/v3/components/or-loader-v3/index.js +1 -1
- package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +0 -2
- package/dist/esm/v3/components/or-menu-v3/index.js +2 -2
- package/dist/esm/v3/components/or-menu-v3/styles.d.ts +0 -1
- package/dist/esm/v3/components/or-modal-v3/index.js +4 -4
- package/dist/esm/v3/components/or-notification-v3/index.js +4 -4
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +4 -0
- package/dist/esm/v3/components/or-pagination-v3/index.js +7 -7
- package/dist/esm/v3/components/or-popover-v3/index.js +1 -1
- package/dist/esm/v3/components/or-progress-v3/index.js +1 -1
- package/dist/esm/v3/components/or-progress-v3/styles.d.ts +1 -1
- package/dist/esm/v3/components/or-search-v3/index.js +5 -5
- package/dist/esm/v3/components/or-select-v3/index.js +6 -6
- package/dist/esm/v3/components/or-sidebar-v3/index.js +1 -1
- package/dist/esm/v3/components/or-switch-v3/index.js +2 -2
- package/dist/esm/v3/components/or-tabs-v3/index.js +3 -3
- package/dist/esm/v3/components/or-tag-v3/index.js +4 -4
- package/dist/esm/v3/components/or-toast-v3/index.js +5 -5
- package/dist/esm/v3/components/or-tooltip-v3/index.js +2 -2
- package/dist/esm/v3/index.js +24 -24
- package/dist/esm/v3/{types-c3417028.js → types-92ea0eb9.js} +2 -2
- package/package.json +2 -2
- package/src/components/or-button-v3/styles.ts +3 -3
- package/src/components/or-empty-state-v3/styles.ts +2 -2
- package/src/components/or-error-tag-v3/styles.ts +0 -3
- package/src/components/or-loader-v3/OrLoader.stories3.ts +4 -16
- package/src/components/or-loader-v3/OrLoader.vue +2 -10
- package/src/components/or-loader-v3/styles.ts +2 -1
- package/src/components/or-menu-v3/OrMenu.vue +22 -26
- package/src/components/or-menu-v3/styles.ts +0 -5
- package/src/components/or-pagination-v3/OrPagination.vue +86 -42
- package/src/components/or-pagination-v3/styles.ts +1 -1
- package/src/components/or-popover-v3/styles.ts +3 -0
- package/src/components/or-progress-v3/styles.ts +4 -4
- package/src/components/or-sidebar-v3/styles.ts +3 -3
- package/src/components/or-tag-v3/OrTag.stories3.ts +5 -5
- package/src/components/or-tag-v3/styles.ts +0 -3
- package/src/components/or-tooltip-v3/styles.ts +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { s as OrTabsV3, T as TabsVariant } from '../../OrTabs-
|
|
1
|
+
export { s as OrTabsV3, T as TabsVariant } from '../../OrTabs-8c550d38.js';
|
|
2
2
|
import '@vueuse/core';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../OrIcon-34f59f73.js';
|
|
5
5
|
import 'vue';
|
|
6
6
|
import '../../OrMenuItem-58707d47.js';
|
|
7
|
-
import '../../OrMenu-
|
|
8
|
-
import '../../OrPopover-
|
|
7
|
+
import '../../OrMenu-34e6601c.js';
|
|
8
|
+
import '../../OrPopover-a24dba9b.js';
|
|
9
9
|
import '@floating-ui/dom';
|
|
10
10
|
import '../../useElevation-31bfe1f6.js';
|
|
11
11
|
import '../../useResponsive-a02e95b7.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
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-88dff18b.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../OrIconButton-
|
|
3
|
+
import '../../OrIconButton-24b89457.js';
|
|
4
4
|
import '../../OrIcon-34f59f73.js';
|
|
5
5
|
import 'vue';
|
|
6
|
-
import '../../OrTooltip-
|
|
6
|
+
import '../../OrTooltip-e12df498.js';
|
|
7
7
|
import '@vueuse/core';
|
|
8
|
-
import '../../OrPopover-
|
|
8
|
+
import '../../OrPopover-a24dba9b.js';
|
|
9
9
|
import '@floating-ui/dom';
|
|
10
10
|
import '../../useElevation-31bfe1f6.js';
|
|
11
11
|
import '../../useResponsive-a02e95b7.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
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-92ea0eb9.js';
|
|
2
2
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../../useToast-0665462d.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
6
6
|
import 'vue';
|
|
7
|
-
import '../../OrIconButton-
|
|
7
|
+
import '../../OrIconButton-24b89457.js';
|
|
8
8
|
import '../../OrIcon-34f59f73.js';
|
|
9
|
-
import '../../OrTooltip-
|
|
10
|
-
import '../../OrPopover-
|
|
9
|
+
import '../../OrTooltip-e12df498.js';
|
|
10
|
+
import '../../OrPopover-a24dba9b.js';
|
|
11
11
|
import '@floating-ui/dom';
|
|
12
12
|
import '../../useElevation-31bfe1f6.js';
|
|
13
13
|
import '../../useResponsive-a02e95b7.js';
|
|
14
14
|
import '../../OrBottomSheet-13a416ef.js';
|
|
15
15
|
import '../../OrOverlay-afad3aa4.js';
|
|
16
|
-
import '../../OrLoader-
|
|
16
|
+
import '../../OrLoader-a53d2edf.js';
|
|
17
17
|
import '../../style-inject.es-4c6f2515.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-e12df498.js';
|
|
2
|
+
export { P as TooltipPlacement } from '../../OrPopover-a24dba9b.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import 'vue';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -3,10 +3,10 @@ export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from './OrAvatar-6
|
|
|
3
3
|
export { s as OrBottomSheetV3 } from './OrBottomSheet-13a416ef.js';
|
|
4
4
|
export { s as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonViews } from './OrButton-fca9019a.js';
|
|
5
5
|
export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE, s as OrButtonV2, a as OrIconButton } from './OrIconButton-8be9c89f.js';
|
|
6
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-
|
|
6
|
+
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-55dd2ad9.js';
|
|
7
7
|
export { s as OrCard } from './OrCard-e3a5aea4.js';
|
|
8
8
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-1e44c758.js';
|
|
9
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-
|
|
9
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-85fdfd7f.js';
|
|
10
10
|
export { s as OrCardV3 } from './OrCard-cd6af82e.js';
|
|
11
11
|
export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem-636d99a1.js';
|
|
12
12
|
export { s as OrCheckbox } from './OrCheckbox-ed4a19cf.js';
|
|
@@ -16,26 +16,26 @@ export { s as OrCode, O as OrCodeLanguages } from './OrCode-5ed69c23.js';
|
|
|
16
16
|
export { s as OrCollapse } from './OrCollapse-445141ab.js';
|
|
17
17
|
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-189cb097.js';
|
|
18
18
|
export { s as OrConfirm } from './OrConfirm-c11ee2ec.js';
|
|
19
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-
|
|
19
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-f2f4738b.js';
|
|
20
20
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-f2e08564.js';
|
|
21
21
|
export { s as OrError } from './OrError-f90296db.js';
|
|
22
|
-
export { s as OrErrorTagV3 } from './OrErrorTag-
|
|
22
|
+
export { s as OrErrorTagV3 } from './OrErrorTag-a3e6ef83.js';
|
|
23
23
|
export { s as OrErrorV3 } from './OrError-19198748.js';
|
|
24
|
-
export { E as EmptyStateSize, s as OrEmptyStateV3 } from './OrEmptyState-
|
|
24
|
+
export { E as EmptyStateSize, s as OrEmptyStateV3 } from './OrEmptyState-cd3a4026.js';
|
|
25
25
|
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from './OrExpansionPanel-3a4282da.js';
|
|
26
26
|
export { F as FabColor, s as OrFabV3 } from './OrFab-61131b31.js';
|
|
27
27
|
export { s as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements } from './OrFloating-5240e758.js';
|
|
28
28
|
export { s as OrHint } from './OrHint-1414c530.js';
|
|
29
29
|
export { s as OrHintV3 } from './OrHint-6863124f.js';
|
|
30
30
|
export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-669503c3.js';
|
|
31
|
-
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-
|
|
31
|
+
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-24b89457.js';
|
|
32
32
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from './OrIcon-34f59f73.js';
|
|
33
33
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-09b33e18.js';
|
|
34
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
34
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-fa55010c.js';
|
|
35
35
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-1aa477b5.js';
|
|
36
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
36
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-2f25e0cb.js';
|
|
37
37
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-e16ade90.js';
|
|
38
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
38
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-22b90c7d.js';
|
|
39
39
|
export { s as OrInput } from './OrInput-81125804.js';
|
|
40
40
|
export { s as OrLabel } from './OrLabel-876f8729.js';
|
|
41
41
|
export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-f700f9fb.js';
|
|
@@ -43,46 +43,46 @@ export { L as LinkColor, s as OrLinkV3 } from './OrLink-07f6f27d.js';
|
|
|
43
43
|
export { s as OrList } from './OrList-b740d13e.js';
|
|
44
44
|
export { s as OrListOfInputs } from './OrListOfInputs-508e056f.js';
|
|
45
45
|
export { L as LoaderViews, s as OrLoader } from './OrLoader-15174477.js';
|
|
46
|
-
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './OrLoader-
|
|
46
|
+
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './OrLoader-a53d2edf.js';
|
|
47
47
|
export { s as OrMenuItemV3 } from './OrMenuItem-58707d47.js';
|
|
48
|
-
export { s as OrMenuV3 } from './OrMenu-
|
|
49
|
-
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-
|
|
48
|
+
export { s as OrMenuV3 } from './OrMenu-34e6601c.js';
|
|
49
|
+
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-a24dba9b.js';
|
|
50
50
|
export { s as OrModal, O as OrModalSizes } from './OrModal-8b074b0c.js';
|
|
51
|
-
export { M as ModalSize, s as OrModalV3 } from './OrModal-
|
|
51
|
+
export { M as ModalSize, s as OrModalV3 } from './OrModal-ff6512f4.js';
|
|
52
52
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from './OrNotification-e85a4956.js';
|
|
53
|
-
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-
|
|
53
|
+
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-9e1b7e16.js';
|
|
54
54
|
export { s as OrNumberInput } from './OrNumberInput-b32b5ce3.js';
|
|
55
55
|
export { s as OrOverflowMenu } from './OrOverflowMenu-e82cbcbe.js';
|
|
56
56
|
export { s as OrOverlay } from './OrOverlay-451dce49.js';
|
|
57
57
|
export { s as OrOverlayV3 } from './OrOverlay-afad3aa4.js';
|
|
58
58
|
export { s as OrPassword } from './OrPassword-b0cbb578.js';
|
|
59
|
-
export { s as OrPaginationV3 } from './OrPagination-
|
|
59
|
+
export { s as OrPaginationV3 } from './OrPagination-a6b63ef2.js';
|
|
60
60
|
export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-d0d52c86.js';
|
|
61
|
-
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-
|
|
61
|
+
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-4856808a.js';
|
|
62
62
|
export { s as OrRadio } from './OrRadio-c3ab11f2.js';
|
|
63
63
|
export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
64
64
|
export { s as OrRadioV3 } from './OrRadio-bb9b37c1.js';
|
|
65
65
|
export { s as OrSearch } from './OrSearch-11fdf667.js';
|
|
66
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
66
|
+
export { s as OrSearchV3 } from './OrSearch-a61cb1ab.js';
|
|
67
67
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-880b4911.js';
|
|
68
68
|
export { s as OrSelect } from './OrSelect-0821b907.js';
|
|
69
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
69
|
+
export { s as OrSelectV3 } from './OrSelect-8b73cdba.js';
|
|
70
70
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
|
|
71
|
-
export { O as OrSidebarPlacement, s as OrSidebarV3 } from './OrSidebar-
|
|
71
|
+
export { O as OrSidebarPlacement, s as OrSidebarV3 } from './OrSidebar-5d97c7cc.js';
|
|
72
72
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-2b1610ce.js';
|
|
73
73
|
export { s as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from './OrSkeletonText-afd3d007.js';
|
|
74
74
|
export { s as OrSlider } from './OrSlider-87e2da8c.js';
|
|
75
75
|
export { s as OrSortHeaderV3 } from './OrSortHeader-a39f77f9.js';
|
|
76
76
|
export { s as OrStepper } from './OrStepper-f19b4eac.js';
|
|
77
77
|
export { s as OrSwitch } from './OrSwitch-c333ee32.js';
|
|
78
|
-
export { s as OrSwitchV3 } from './OrSwitch-
|
|
78
|
+
export { s as OrSwitchV3 } from './OrSwitch-1c2196da.js';
|
|
79
79
|
export { s as OrTab } from './OrTab-bc98be02.js';
|
|
80
80
|
export { s as OrTabHeaderItem } from './OrTabHeaderItem-d668cc59.js';
|
|
81
81
|
export { s as OrTabV3 } from './OrTab-d3785ea4.js';
|
|
82
82
|
export { s as OrTabs } from './OrTabs-d3812c11.js';
|
|
83
|
-
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-
|
|
83
|
+
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-8c550d38.js';
|
|
84
84
|
export { s as OrTag } from './OrTag-1b5e43fa.js';
|
|
85
|
-
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-
|
|
85
|
+
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-88dff18b.js';
|
|
86
86
|
export { s as OrTeleport } from './OrTeleportVue3-ad639f12.js';
|
|
87
87
|
export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
|
|
88
88
|
export { s as OrTextV3 } from './OrText-6b4f7cd1.js';
|
|
@@ -91,10 +91,10 @@ export { s as OrTextareaV3 } from './OrTextarea-37566985.js';
|
|
|
91
91
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-2f33e9c3.js';
|
|
92
92
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-40c4c1c8.js';
|
|
93
93
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
|
|
94
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-
|
|
94
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-92ea0eb9.js';
|
|
95
95
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
|
|
96
96
|
export { s as OrTooltip, a as OrTooltipContent } from './OrTooltip-78cd7f6b.js';
|
|
97
|
-
export { s as OrTooltipV3 } from './OrTooltip-
|
|
97
|
+
export { s as OrTooltipV3 } from './OrTooltip-e12df498.js';
|
|
98
98
|
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
|
|
99
99
|
export { u as useControlAttributes, a as useIdAttribute } from './useIdAttribute-859439f0.js';
|
|
100
100
|
export { u as useElevation } from './useElevation-31bfe1f6.js';
|
|
@@ -2,8 +2,8 @@ import { useToggle } from '@vueuse/core';
|
|
|
2
2
|
import { defineComponent, ref, computed, onBeforeMount, onBeforeUnmount, nextTick } from 'vue-demi';
|
|
3
3
|
import { s as script$4 } from './OrTeleport.vue3-8099178c.js';
|
|
4
4
|
import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-0665462d.js';
|
|
5
|
-
import { s as script$2 } from './OrIconButton-
|
|
6
|
-
import { s as script$3 } from './OrLoader-
|
|
5
|
+
import { s as script$2 } from './OrIconButton-24b89457.js';
|
|
6
|
+
import { s as script$3 } from './OrLoader-a53d2edf.js';
|
|
7
7
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, createElementVNode, toDisplayString, createBlock, withModifiers, withCtx, TransitionGroup, Fragment, renderList, mergeProps } from 'vue';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
9
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "2.72.2-beta.
|
|
3
|
+
"version": "2.72.2-beta.2271.0",
|
|
4
4
|
"description": "Vue components library for v2/3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/auto/index.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@codemirror/lang-json": "6.0.0",
|
|
39
39
|
"@codemirror/lang-markdown": "6.0.1",
|
|
40
40
|
"@floating-ui/dom": "0.3.1",
|
|
41
|
-
"@onereach/styles": "^2.34.0",
|
|
41
|
+
"@onereach/styles": "^2.34.1-beta.2271.0",
|
|
42
42
|
"@splidejs/splide": "4.0.6",
|
|
43
43
|
"@types/lodash": "4.14.173",
|
|
44
44
|
"@types/sortablejs": "1.10.7",
|
|
@@ -7,7 +7,7 @@ export const ButtonRoot: string[] = [
|
|
|
7
7
|
// Shape
|
|
8
8
|
'rounded-md',
|
|
9
9
|
|
|
10
|
-
//
|
|
10
|
+
// Spacing
|
|
11
11
|
'min-w-[96px]',
|
|
12
12
|
|
|
13
13
|
// Interactivity
|
|
@@ -48,9 +48,9 @@ export const ButtonRootVariants: Record<ButtonVariant, string[]> = {
|
|
|
48
48
|
|
|
49
49
|
'link': [
|
|
50
50
|
// Spacing
|
|
51
|
-
'gap-
|
|
51
|
+
'gap-xs',
|
|
52
52
|
|
|
53
|
-
//
|
|
53
|
+
// Spacing
|
|
54
54
|
'min-w-[auto]',
|
|
55
55
|
],
|
|
56
56
|
};
|
|
@@ -25,16 +25,16 @@ export default {
|
|
|
25
25
|
},
|
|
26
26
|
|
|
27
27
|
title: {
|
|
28
|
-
control: { type: '
|
|
28
|
+
control: { type: 'string' },
|
|
29
29
|
},
|
|
30
30
|
|
|
31
31
|
description: {
|
|
32
|
-
control: { type: '
|
|
32
|
+
control: { type: 'string' },
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
35
|
|
|
36
36
|
parameters: {
|
|
37
|
-
layout: '
|
|
37
|
+
layout: 'centered',
|
|
38
38
|
|
|
39
39
|
docs: {
|
|
40
40
|
page: OrLoaderDocs,
|
|
@@ -56,11 +56,7 @@ const Template: StoryFn<typeof OrLoader> = (args) => ({
|
|
|
56
56
|
return { args };
|
|
57
57
|
},
|
|
58
58
|
|
|
59
|
-
template:
|
|
60
|
-
<div class="w-full min-h-[100px] p-md flex justify-center items-center">
|
|
61
|
-
<OrLoader class="w-2/5 max-w-[400px]" v-bind="args" />
|
|
62
|
-
</div>
|
|
63
|
-
`,
|
|
59
|
+
template: '<OrLoader v-bind="args" />',
|
|
64
60
|
});
|
|
65
61
|
|
|
66
62
|
export const Default = Template.bind({});
|
|
@@ -76,11 +72,3 @@ LinearWithText.args = {
|
|
|
76
72
|
variant: 'linear',
|
|
77
73
|
description: 'Promptly retrieving your data from the cloud',
|
|
78
74
|
};
|
|
79
|
-
LinearWithText.parameters = {
|
|
80
|
-
docs: {
|
|
81
|
-
description: {
|
|
82
|
-
story: 'By setting width on the component you may control the width of the linear loading indicator. \
|
|
83
|
-
Circular indicator size is controlled by the `size` prop.',
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
};
|
|
@@ -92,18 +92,11 @@ export default defineComponent({
|
|
|
92
92
|
default: LoaderVariant.Circular,
|
|
93
93
|
},
|
|
94
94
|
|
|
95
|
-
/**
|
|
96
|
-
* Defines a semantic color of the loading indicator.
|
|
97
|
-
* Use `'inherit'` option to set your own color from the parent (not recommended).
|
|
98
|
-
*/
|
|
99
95
|
color: {
|
|
100
96
|
type: String as PropType<LoaderColor>,
|
|
101
97
|
default: LoaderColor.Primary,
|
|
102
98
|
},
|
|
103
99
|
|
|
104
|
-
/**
|
|
105
|
-
* Defines a diameter of the circular loader. Ignored for linear one.
|
|
106
|
-
*/
|
|
107
100
|
size: {
|
|
108
101
|
type: String as PropType<LoaderSize>,
|
|
109
102
|
default: LoaderSize.M,
|
|
@@ -145,16 +138,15 @@ export default defineComponent({
|
|
|
145
138
|
|
|
146
139
|
const containerStyles = computed(() => [
|
|
147
140
|
...LoaderContainer,
|
|
148
|
-
`min-w-[${computedSize}px]`,
|
|
149
141
|
]);
|
|
150
142
|
|
|
151
143
|
// State
|
|
152
144
|
const computedSize = computed(() => {
|
|
153
145
|
switch (props.size) {
|
|
154
|
-
case
|
|
146
|
+
case 'm':
|
|
155
147
|
return 20;
|
|
156
148
|
|
|
157
|
-
case
|
|
149
|
+
case 's':
|
|
158
150
|
return 16;
|
|
159
151
|
}
|
|
160
152
|
});
|
|
@@ -1,32 +1,29 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
ref="
|
|
4
|
-
:
|
|
2
|
+
<OrPopover
|
|
3
|
+
ref="popover"
|
|
4
|
+
:variant="'auto'"
|
|
5
|
+
:trigger="trigger"
|
|
6
|
+
:placement="placement"
|
|
7
|
+
:full-width="false"
|
|
8
|
+
:disable-default-styles="false"
|
|
9
|
+
@update:state="$emit('update:state', $event)"
|
|
5
10
|
>
|
|
6
|
-
<
|
|
7
|
-
ref="
|
|
8
|
-
|
|
9
|
-
:
|
|
10
|
-
|
|
11
|
-
:full-width="false"
|
|
12
|
-
:disable-default-styles="false"
|
|
13
|
-
@update:state="$emit('update:state', $event)"
|
|
11
|
+
<div
|
|
12
|
+
ref="root"
|
|
13
|
+
v-bind="$attrs"
|
|
14
|
+
:class="rootStyles"
|
|
15
|
+
@click.stop="onClick"
|
|
14
16
|
>
|
|
15
|
-
<
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
>
|
|
19
|
-
<slot />
|
|
20
|
-
</div>
|
|
21
|
-
</OrPopover>
|
|
22
|
-
</div>
|
|
17
|
+
<slot />
|
|
18
|
+
</div>
|
|
19
|
+
</OrPopover>
|
|
23
20
|
</template>
|
|
24
21
|
|
|
25
22
|
<script lang="ts">
|
|
26
23
|
import { computed, defineComponent, PropType, ref } from 'vue-demi';
|
|
27
24
|
import { OrPopoverV3 as OrPopover } from '../or-popover-v3';
|
|
28
25
|
import { MenuPlacement } from './props';
|
|
29
|
-
import {
|
|
26
|
+
import { MenuRoot } from './styles';
|
|
30
27
|
|
|
31
28
|
export default defineComponent({
|
|
32
29
|
name: 'OrMenu',
|
|
@@ -35,6 +32,8 @@ export default defineComponent({
|
|
|
35
32
|
OrPopover,
|
|
36
33
|
},
|
|
37
34
|
|
|
35
|
+
inheritAttrs: false,
|
|
36
|
+
|
|
38
37
|
props: {
|
|
39
38
|
trigger: {
|
|
40
39
|
type: HTMLElement,
|
|
@@ -53,9 +52,9 @@ export default defineComponent({
|
|
|
53
52
|
|
|
54
53
|
expose: [
|
|
55
54
|
'root',
|
|
55
|
+
'isOpen',
|
|
56
56
|
'open',
|
|
57
57
|
'close',
|
|
58
|
-
'isOpen',
|
|
59
58
|
'toggle',
|
|
60
59
|
],
|
|
61
60
|
|
|
@@ -65,7 +64,6 @@ export default defineComponent({
|
|
|
65
64
|
|
|
66
65
|
const popover = ref<InstanceType<typeof OrPopover>>();
|
|
67
66
|
const popoverRoot = computed(() => popover.value?.root);
|
|
68
|
-
const isOpen = computed(() => popover.value?.isOpen);
|
|
69
67
|
|
|
70
68
|
// Styles
|
|
71
69
|
const rootStyles = computed(() => [
|
|
@@ -73,9 +71,8 @@ export default defineComponent({
|
|
|
73
71
|
...MenuRoot,
|
|
74
72
|
]);
|
|
75
73
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
]);
|
|
74
|
+
// State
|
|
75
|
+
const isOpen = computed(() => popover.value?.isOpen);
|
|
79
76
|
|
|
80
77
|
// Methods
|
|
81
78
|
function open(): void {
|
|
@@ -116,7 +113,6 @@ export default defineComponent({
|
|
|
116
113
|
popover,
|
|
117
114
|
popoverRoot,
|
|
118
115
|
rootStyles,
|
|
119
|
-
bodyStyles,
|
|
120
116
|
isOpen,
|
|
121
117
|
open,
|
|
122
118
|
close,
|
|
@@ -14,31 +14,35 @@
|
|
|
14
14
|
<OrIcon :icon="'keyboard_arrow_left'" />
|
|
15
15
|
</OrButton>
|
|
16
16
|
|
|
17
|
-
<
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
17
|
+
<template v-if="isDesktop">
|
|
18
|
+
<OrButton
|
|
19
|
+
v-for="(page, index) in buttonGroup"
|
|
20
|
+
:key="index"
|
|
21
|
+
:class="itemStyles"
|
|
22
|
+
:variant="'link'"
|
|
23
|
+
:color="'inherit'"
|
|
24
|
+
:activated="currentPage === page"
|
|
25
|
+
@click.stop="typeof page === 'number' && toPage(page)"
|
|
26
|
+
>
|
|
27
|
+
{{ page }}
|
|
28
|
+
</OrButton>
|
|
29
|
+
|
|
30
|
+
<OrButton
|
|
31
|
+
:class="itemStyles"
|
|
32
|
+
:variant="'link'"
|
|
33
|
+
:color="'inherit'"
|
|
34
|
+
:disabled="currentPage === lastPage"
|
|
35
|
+
@click.stop="toNextPage()"
|
|
36
|
+
>
|
|
37
|
+
<OrIcon :icon="'keyboard_arrow_right'" />
|
|
38
|
+
</OrButton>
|
|
39
|
+
</template>
|
|
38
40
|
</div>
|
|
39
41
|
|
|
40
42
|
<div :class="limitControlStyles">
|
|
41
|
-
|
|
43
|
+
<template v-if="isDesktop">
|
|
44
|
+
Per page:
|
|
45
|
+
</template>
|
|
42
46
|
|
|
43
47
|
<OrButton
|
|
44
48
|
ref="limitButton"
|
|
@@ -48,28 +52,44 @@
|
|
|
48
52
|
:activated="true"
|
|
49
53
|
@click.stop="limitMenu.open()"
|
|
50
54
|
>
|
|
51
|
-
{{ currentLimit }} <OrIcon :icon="'arrow_drop_down'" />
|
|
55
|
+
{{ currentLimit }} <OrIcon :icon="limitMenu && limitMenu.isOpen ? 'arrow_drop_up' : 'arrow_drop_down'" />
|
|
52
56
|
</OrButton>
|
|
53
57
|
|
|
54
58
|
<OrMenu
|
|
55
59
|
ref="limitMenu"
|
|
60
|
+
:class="['min-w-[60px]']"
|
|
56
61
|
:trigger="limitButtonRoot"
|
|
57
62
|
:placement="'top'"
|
|
58
63
|
>
|
|
59
64
|
<OrMenuItem
|
|
60
65
|
v-for="pageSize in pageSizeOptions"
|
|
61
66
|
:key="pageSize"
|
|
62
|
-
@click.stop="currentLimit = pageSize"
|
|
67
|
+
@click.stop="currentLimit = pageSize; limitMenu.close()"
|
|
63
68
|
>
|
|
64
69
|
{{ pageSize }}
|
|
65
70
|
</OrMenuItem>
|
|
66
71
|
</OrMenu>
|
|
67
72
|
</div>
|
|
73
|
+
|
|
74
|
+
<template v-if="isMobile">
|
|
75
|
+
<div :class="offsetControlStyles">
|
|
76
|
+
<OrButton
|
|
77
|
+
:class="itemStyles"
|
|
78
|
+
:variant="'link'"
|
|
79
|
+
:color="'inherit'"
|
|
80
|
+
:disabled="currentPage === lastPage"
|
|
81
|
+
@click.stop="toNextPage()"
|
|
82
|
+
>
|
|
83
|
+
<OrIcon :icon="'keyboard_arrow_right'" />
|
|
84
|
+
</OrButton>
|
|
85
|
+
</div>
|
|
86
|
+
</template>
|
|
68
87
|
</div>
|
|
69
88
|
</template>
|
|
70
89
|
|
|
71
90
|
<script lang="ts">
|
|
72
91
|
import { computed, defineComponent, PropType, ref } from 'vue-demi';
|
|
92
|
+
import { useResponsive } from '../../hooks';
|
|
73
93
|
import { OrButtonV3 as OrButton } from '../or-button-v3';
|
|
74
94
|
import { OrIconV3 as OrIcon } from '../or-icon-v3';
|
|
75
95
|
import { OrMenuItemV3 as OrMenuItem } from '../or-menu-item-v3';
|
|
@@ -118,6 +138,8 @@ export default defineComponent({
|
|
|
118
138
|
],
|
|
119
139
|
|
|
120
140
|
setup(props, context) {
|
|
141
|
+
const { isDesktop, isMobile } = useResponsive();
|
|
142
|
+
|
|
121
143
|
// Refs
|
|
122
144
|
const root = ref<HTMLElement>();
|
|
123
145
|
|
|
@@ -193,24 +215,43 @@ export default defineComponent({
|
|
|
193
215
|
});
|
|
194
216
|
|
|
195
217
|
const buttonGroup = computed<(number | string)[]>(() => {
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
218
|
+
const pages = Array.from({ length: lastPage.value }, (_, index) => index + 1);
|
|
219
|
+
|
|
220
|
+
switch (true) {
|
|
221
|
+
case currentPage.value < firstPage.value + 4:
|
|
222
|
+
return [
|
|
223
|
+
...pages.slice(0, 5),
|
|
224
|
+
'…',
|
|
225
|
+
lastPage.value,
|
|
226
|
+
];
|
|
227
|
+
|
|
228
|
+
case currentPage.value > lastPage.value - 4:
|
|
229
|
+
return [
|
|
230
|
+
firstPage.value,
|
|
231
|
+
'…',
|
|
232
|
+
...pages.slice(-5),
|
|
233
|
+
];
|
|
234
|
+
|
|
235
|
+
default:
|
|
236
|
+
return pages
|
|
237
|
+
.map((page) => {
|
|
238
|
+
switch (true) {
|
|
239
|
+
case page > firstPage.value && page < currentPage.value - 1:
|
|
240
|
+
case page < lastPage.value && page > currentPage.value + 1:
|
|
241
|
+
return '…';
|
|
242
|
+
|
|
243
|
+
default:
|
|
244
|
+
return page;
|
|
245
|
+
}
|
|
246
|
+
})
|
|
247
|
+
.reduce((accumulator, page) => {
|
|
248
|
+
if (accumulator[accumulator.length - 1] === page) {
|
|
249
|
+
return accumulator;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
return [...accumulator, page];
|
|
253
|
+
}, [] as (number | string)[]);
|
|
254
|
+
}
|
|
214
255
|
});
|
|
215
256
|
|
|
216
257
|
// Methods
|
|
@@ -227,6 +268,9 @@ export default defineComponent({
|
|
|
227
268
|
}
|
|
228
269
|
|
|
229
270
|
return {
|
|
271
|
+
isDesktop,
|
|
272
|
+
isMobile,
|
|
273
|
+
|
|
230
274
|
root,
|
|
231
275
|
limitButton,
|
|
232
276
|
limitButtonRoot,
|