@onereach/ui-components 2.74.3-beta.2303.0 → 2.74.3
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/{OrBottomSheet-ddba20c1.js → OrBottomSheet-41164e06.js} +1 -1
- package/dist/bundled/v2/{OrButton-4862b98b.js → OrButton-d45772c1.js} +3 -3
- package/dist/bundled/v2/{OrCardCollection-a6dda023.js → OrCardCollection-914c0d96.js} +4 -4
- package/dist/bundled/v2/{OrConfirm-9a79cccb.js → OrConfirm-f34221c8.js} +3 -3
- package/dist/bundled/v2/{OrEmptyState-8a7feb99.js → OrEmptyState-9fb413f9.js} +2 -2
- package/dist/bundled/v2/{OrErrorTag-ade7cd8c.js → OrErrorTag-4675604d.js} +1 -1
- package/dist/bundled/v2/{OrIconButton-2bd48bf6.js → OrIconButton-037b9c33.js} +1 -1
- package/dist/bundled/v2/{OrInlineInput-f70111ec.js → OrInlineInput-91a8a857.js} +1 -1
- package/dist/bundled/v2/{OrInlineTextarea-ba2db219.js → OrInlineTextarea-2d842751.js} +1 -1
- package/dist/bundled/v2/{OrInput-551d02af.js → OrInput-5cd0041e.js} +1 -1
- package/dist/bundled/v2/{OrMenu-6ab53877.js → OrMenu-021f347c.js} +16 -11
- package/dist/bundled/v2/{OrModal-e71ec2a3.js → OrModal-4218b040.js} +2 -2
- package/dist/bundled/v2/{OrNotification-911887e4.js → OrNotification-35c163f7.js} +1 -1
- package/dist/bundled/v2/{OrOverlay-efa7992e.js → OrOverlay-cb55bf20.js} +1 -1
- package/dist/bundled/v2/{OrPagination-24d4b88f.js → OrPagination-582690fd.js} +24 -60
- package/dist/bundled/v2/{OrPopover-4e8acb7b.js → OrPopover-0697699f.js} +3 -3
- package/dist/bundled/v2/{OrProgress-5cf0a7e7.js → OrProgress-15fe65ec.js} +3 -3
- package/dist/bundled/v2/{OrSearch-4b76f101.js → OrSearch-4b0f063b.js} +1 -1
- package/dist/bundled/v2/{OrSelect-6aeabc14.js → OrSelect-ac49dab5.js} +3 -3
- package/dist/bundled/v2/{OrSidebar-ab5e1041.js → OrSidebar-b7a27e27.js} +3 -3
- package/dist/bundled/v2/{OrSidebarCollapseButton-39514989.js → OrSidebarCollapseButton-e8632afe.js} +1 -1
- package/dist/bundled/v2/{OrTabs-182098dc.js → OrTabs-70c1818f.js} +1 -1
- package/dist/bundled/v2/{OrTag-074b1885.js → OrTag-59ab76c5.js} +2 -2
- package/dist/bundled/v2/{OrTooltip-121e28c5.js → OrTooltip-9ef540f0.js} +2 -4
- package/dist/bundled/v2/components/index.js +26 -26
- package/dist/bundled/v2/components/or-bottom-sheet-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-button-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +11 -11
- package/dist/bundled/v2/components/or-confirm-v3/index.js +9 -9
- 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 +6 -6
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +7 -7
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +7 -7
- package/dist/bundled/v2/components/or-input-v3/index.js +7 -7
- package/dist/bundled/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -0
- package/dist/bundled/v2/components/or-menu-v3/index.js +5 -5
- package/dist/bundled/v2/components/or-menu-v3/styles.d.ts +1 -0
- package/dist/bundled/v2/components/or-modal-v3/index.js +7 -7
- package/dist/bundled/v2/components/or-notification-v3/index.js +7 -7
- package/dist/bundled/v2/components/or-overlay-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -4
- package/dist/bundled/v2/components/or-pagination-v3/index.js +7 -7
- package/dist/bundled/v2/components/or-popover-v3/index.js +4 -4
- 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 +8 -8
- package/dist/bundled/v2/components/or-select-v3/index.js +9 -9
- package/dist/bundled/v2/components/or-sidebar-v3/index.js +8 -8
- package/dist/bundled/v2/components/or-sidebar-v3/partials/index.js +7 -7
- package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +7 -7
- package/dist/bundled/v2/components/or-tabs-v3/index.js +6 -6
- package/dist/bundled/v2/components/or-tag-v3/index.js +7 -7
- package/dist/bundled/v2/components/or-toast-v3/index.js +7 -7
- package/dist/bundled/v2/components/or-tooltip-v3/index.js +5 -5
- package/dist/bundled/v2/hooks/index.js +1 -1
- package/dist/bundled/v2/hooks/useElevation.d.ts +2 -1
- package/dist/bundled/v2/index.js +27 -27
- package/dist/bundled/v2/{types-31d1b8e0.js → types-d0e9ac5c.js} +1 -1
- package/dist/bundled/v2/{useElevation-aac032f4.js → useElevation-b6e7590a.js} +3 -2
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-bdef5ca2.js → OrBottomSheet.vue_vue_type_script_lang-7b8553e9.js} +1 -1
- package/dist/bundled/v3/{OrButton-05766523.js → OrButton-a1448bfa.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-b53e78f5.js → OrButton.vue_vue_type_script_lang-3b1e442b.js} +3 -3
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-40a22d2b.js → OrCardCollection.vue_vue_type_script_lang-b74654c4.js} +7 -7
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-ceaeeadb.js → OrConfirm.vue_vue_type_script_lang-a75a86cd.js} +6 -6
- package/dist/bundled/v3/{OrEmptyState.vue_vue_type_script_lang-8e58c67c.js → OrEmptyState.vue_vue_type_script_lang-da7d6c42.js} +2 -2
- package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-4e963273.js → OrErrorTag.vue_vue_type_script_lang-bfa4c580.js} +1 -1
- package/dist/bundled/v3/{OrIconButton-c9eb3d09.js → OrIconButton-a2091425.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-84fd1dea.js → OrIconButton.vue_vue_type_script_lang-14871105.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-c06ed46b.js → OrInlineInput.vue_vue_type_script_lang-f2cc2704.js} +2 -2
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-79c4353a.js → OrInlineTextarea.vue_vue_type_script_lang-9c6d7277.js} +2 -2
- package/dist/bundled/v3/{OrInput-5e36b9a6.js → OrInput-b077957e.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-81c11f75.js → OrInput.vue_vue_type_script_lang-ada50709.js} +2 -2
- package/dist/bundled/v3/{OrMenu-bb432db5.js → OrMenu-c2c114de.js} +10 -9
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-5a492eb3.js → OrMenu.vue_vue_type_script_lang-518b5305.js} +10 -7
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-e1b650ba.js → OrModal.vue_vue_type_script_lang-8d7f1436.js} +4 -4
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-e86b33e9.js → OrNotification.vue_vue_type_script_lang-b0280317.js} +2 -2
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-7edd25f6.js → OrOverlay.vue_vue_type_script_lang-a1f3f02c.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-0cb971d5.js → OrPagination.vue_vue_type_script_lang-9804669c.js} +20 -35
- package/dist/bundled/v3/{OrPopover-1a488f88.js → OrPopover-f9a1d5d7.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-b1102c1a.js → OrPopover.vue_vue_type_script_lang-aa819a00.js} +4 -4
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-17095060.js → OrProgress.vue_vue_type_script_lang-52f660d6.js} +3 -3
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-f473cb9b.js → OrSearch.vue_vue_type_script_lang-d4b754f2.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-af5f0e8d.js → OrSelect.vue_vue_type_script_lang-36567db5.js} +5 -5
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-f1f2844f.js → OrSidebar.vue_vue_type_script_lang-b5adff07.js} +3 -3
- package/dist/bundled/v3/{OrSidebarCollapseButton.vue_vue_type_script_lang-5fe2a40a.js → OrSidebarCollapseButton.vue_vue_type_script_lang-ddb36366.js} +2 -2
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-853e7b4a.js → OrTabs.vue_vue_type_script_lang-7a2b137a.js} +2 -2
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-fc082803.js → OrTag.vue_vue_type_script_lang-4fe7e19f.js} +3 -3
- package/dist/bundled/v3/{OrToastContainer-f317ef1b.js → OrToastContainer-bafab8a2.js} +1 -1
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-7a64c90d.js → OrTooltip.vue_vue_type_script_lang-0c228e6f.js} +3 -5
- package/dist/bundled/v3/components/index.js +31 -31
- package/dist/bundled/v3/components/or-bottom-sheet-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-button-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +16 -16
- package/dist/bundled/v3/components/or-confirm-v3/index.js +13 -13
- 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 +7 -7
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +9 -9
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +9 -9
- package/dist/bundled/v3/components/or-input-v3/index.js +9 -9
- package/dist/bundled/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -0
- package/dist/bundled/v3/components/or-menu-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-menu-v3/styles.d.ts +1 -0
- package/dist/bundled/v3/components/or-modal-v3/index.js +9 -9
- package/dist/bundled/v3/components/or-notification-v3/index.js +9 -9
- package/dist/bundled/v3/components/or-overlay-v3/index.js +2 -2
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -4
- package/dist/bundled/v3/components/or-pagination-v3/index.js +10 -10
- package/dist/bundled/v3/components/or-popover-v3/index.js +4 -4
- 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 +11 -11
- package/dist/bundled/v3/components/or-select-v3/index.js +12 -12
- package/dist/bundled/v3/components/or-sidebar-v3/index.js +10 -10
- package/dist/bundled/v3/components/or-sidebar-v3/partials/index.js +9 -9
- package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +9 -9
- package/dist/bundled/v3/components/or-tabs-v3/index.js +8 -8
- package/dist/bundled/v3/components/or-tag-v3/index.js +9 -9
- package/dist/bundled/v3/components/or-toast-v3/index.js +10 -10
- package/dist/bundled/v3/components/or-tooltip-v3/index.js +6 -6
- package/dist/bundled/v3/hooks/index.js +1 -1
- package/dist/bundled/v3/hooks/useElevation.d.ts +2 -1
- package/dist/bundled/v3/index.js +53 -75
- package/dist/bundled/v3/{types-c44094bc.js → types-150c888c.js} +3 -3
- package/dist/bundled/v3/{useElevation-c8d5d3ba.js → useElevation-e8a2ce89.js} +3 -2
- package/dist/esm/v2/{OrBottomSheet-37200385.js → OrBottomSheet-c9bfe63f.js} +1 -1
- package/dist/esm/v2/{OrButton-18f4431c.js → OrButton-66964360.js} +3 -3
- package/dist/esm/v2/{OrCardCollection-d9666d4b.js → OrCardCollection-53b55eec.js} +5 -5
- package/dist/esm/v2/{OrConfirm-492a6a36.js → OrConfirm-ccf4b2c9.js} +3 -3
- package/dist/esm/v2/{OrEmptyState-ab1a044d.js → OrEmptyState-2481f13f.js} +2 -2
- package/dist/esm/v2/{OrErrorTag-3aaab419.js → OrErrorTag-7cd5dc68.js} +1 -1
- package/dist/esm/v2/{OrIconButton-612c64c4.js → OrIconButton-140f940e.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-6485e20a.js → OrInlineInput-01f1d5cc.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-63dd339e.js → OrInlineTextarea-421ff4d1.js} +1 -1
- package/dist/esm/v2/{OrInput-0b8a515c.js → OrInput-b241f15f.js} +1 -1
- package/dist/esm/v2/{OrMenu-943e7760.js → OrMenu-1adef5df.js} +16 -11
- package/dist/esm/v2/{OrModal-8fc5ddc9.js → OrModal-a938e31b.js} +2 -2
- package/dist/esm/v2/{OrNotification-507c3e75.js → OrNotification-e8c1df46.js} +1 -1
- package/dist/esm/v2/{OrOverlay-a019186f.js → OrOverlay-2ded265b.js} +1 -1
- package/dist/esm/v2/{OrPagination-04e810bc.js → OrPagination-f7f540d1.js} +25 -62
- package/dist/esm/v2/{OrPopover-d5d4f62a.js → OrPopover-b3746279.js} +3 -3
- package/dist/esm/v2/{OrProgress-9fc95bd7.js → OrProgress-b7d1c689.js} +3 -3
- package/dist/esm/v2/{OrSearch-02d8a65c.js → OrSearch-6aaba430.js} +1 -1
- package/dist/esm/v2/{OrSelect-bdc0ccb5.js → OrSelect-84c2079c.js} +3 -3
- package/dist/esm/v2/{OrSidebar-36643782.js → OrSidebar-6b246de1.js} +3 -3
- package/dist/esm/v2/{OrSidebarCollapseButton-7483360e.js → OrSidebarCollapseButton-9178923e.js} +1 -1
- package/dist/esm/v2/{OrTabs-5f53127f.js → OrTabs-6d7d9d7e.js} +2 -2
- package/dist/esm/v2/{OrTag-359c25b6.js → OrTag-1ed1265c.js} +2 -2
- package/dist/esm/v2/{OrTooltip-233c67b9.js → OrTooltip-34d2e01f.js} +2 -4
- package/dist/esm/v2/components/index.js +26 -26
- package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +3 -3
- package/dist/esm/v2/components/or-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-card-collection-v3/index.js +11 -11
- package/dist/esm/v2/components/or-confirm-v3/index.js +9 -9
- 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 +6 -6
- package/dist/esm/v2/components/or-inline-input-v3/index.js +7 -7
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +7 -7
- package/dist/esm/v2/components/or-input-v3/index.js +7 -7
- package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -0
- package/dist/esm/v2/components/or-menu-v3/index.js +5 -5
- package/dist/esm/v2/components/or-menu-v3/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-modal-v3/index.js +7 -7
- package/dist/esm/v2/components/or-notification-v3/index.js +7 -7
- package/dist/esm/v2/components/or-overlay-v3/index.js +2 -2
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -4
- package/dist/esm/v2/components/or-pagination-v3/index.js +9 -9
- package/dist/esm/v2/components/or-popover-v3/index.js +4 -4
- 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 +8 -8
- package/dist/esm/v2/components/or-select-v3/index.js +9 -9
- package/dist/esm/v2/components/or-sidebar-v3/index.js +8 -8
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +7 -7
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +7 -7
- package/dist/esm/v2/components/or-tabs-v3/index.js +6 -6
- package/dist/esm/v2/components/or-tag-v3/index.js +7 -7
- package/dist/esm/v2/components/or-toast-v3/index.js +7 -7
- package/dist/esm/v2/components/or-tooltip-v3/index.js +5 -5
- package/dist/esm/v2/hooks/index.js +1 -1
- package/dist/esm/v2/hooks/useElevation.d.ts +2 -1
- package/dist/esm/v2/index.js +26 -26
- package/dist/esm/v2/{types-623b05dd.js → types-f4b60ff3.js} +1 -1
- package/dist/esm/v2/{useElevation-31bfe1f6.js → useElevation-92fce12c.js} +3 -2
- package/dist/esm/v3/{OrBottomSheet-13a416ef.js → OrBottomSheet-9c291056.js} +1 -1
- package/dist/esm/v3/{OrButton-55dd2ad9.js → OrButton-c56998e7.js} +3 -3
- package/dist/esm/v3/{OrCardCollection-7241cd1d.js → OrCardCollection-e5a0c7f2.js} +5 -5
- package/dist/esm/v3/{OrConfirm-d527c1f8.js → OrConfirm-bb32473d.js} +3 -3
- package/dist/esm/v3/{OrEmptyState-cd3a4026.js → OrEmptyState-bb8e3145.js} +2 -2
- package/dist/esm/v3/{OrErrorTag-7f153817.js → OrErrorTag-0025b17c.js} +1 -1
- package/dist/esm/v3/{OrIconButton-23cb0f22.js → OrIconButton-2a9a6627.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-3dd233eb.js → OrInlineInput-6c4fe7ff.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-7352f610.js → OrInlineTextarea-3cd956d9.js} +1 -1
- package/dist/esm/v3/{OrInput-620cdc01.js → OrInput-d924c98e.js} +1 -1
- package/dist/esm/v3/{OrMenu-fd2fe1e7.js → OrMenu-345930d5.js} +18 -14
- package/dist/esm/v3/{OrModal-0d9296a3.js → OrModal-07c092ab.js} +2 -2
- package/dist/esm/v3/{OrNotification-c14ce3f1.js → OrNotification-e600fd9a.js} +1 -1
- package/dist/esm/v3/{OrOverlay-afad3aa4.js → OrOverlay-55f6cf9c.js} +1 -1
- package/dist/esm/v3/{OrPagination-1bd951a4.js → OrPagination-2ef059f6.js} +27 -65
- package/dist/esm/v3/{OrPopover-40217b49.js → OrPopover-464a5606.js} +3 -3
- package/dist/esm/v3/{OrProgress-4856808a.js → OrProgress-639ed5e8.js} +3 -3
- package/dist/esm/v3/{OrSearch-2aa4da10.js → OrSearch-e96e6f77.js} +1 -1
- package/dist/esm/v3/{OrSelect-04deb880.js → OrSelect-c502e2f1.js} +3 -3
- package/dist/esm/v3/{OrSidebar-c71f2e27.js → OrSidebar-0a32cc49.js} +3 -3
- package/dist/esm/v3/{OrSidebarCollapseButton-2c5a0239.js → OrSidebarCollapseButton-647d2c50.js} +1 -1
- package/dist/esm/v3/{OrTabs-c6cfae55.js → OrTabs-9949f87b.js} +2 -2
- package/dist/esm/v3/{OrTag-ffb2debb.js → OrTag-f66c6142.js} +2 -2
- package/dist/esm/v3/{OrTooltip-229c90d5.js → OrTooltip-d1b1a4bb.js} +2 -4
- package/dist/esm/v3/components/index.js +26 -26
- package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +3 -3
- package/dist/esm/v3/components/or-button-v3/index.js +1 -1
- package/dist/esm/v3/components/or-card-collection-v3/index.js +11 -11
- package/dist/esm/v3/components/or-confirm-v3/index.js +9 -9
- 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 +6 -6
- package/dist/esm/v3/components/or-inline-input-v3/index.js +7 -7
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +7 -7
- package/dist/esm/v3/components/or-input-v3/index.js +7 -7
- package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -0
- package/dist/esm/v3/components/or-menu-v3/index.js +5 -5
- package/dist/esm/v3/components/or-menu-v3/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-modal-v3/index.js +7 -7
- package/dist/esm/v3/components/or-notification-v3/index.js +7 -7
- package/dist/esm/v3/components/or-overlay-v3/index.js +2 -2
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -4
- package/dist/esm/v3/components/or-pagination-v3/index.js +9 -9
- package/dist/esm/v3/components/or-popover-v3/index.js +4 -4
- 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 +8 -8
- package/dist/esm/v3/components/or-select-v3/index.js +9 -9
- package/dist/esm/v3/components/or-sidebar-v3/index.js +8 -8
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +7 -7
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +7 -7
- package/dist/esm/v3/components/or-tabs-v3/index.js +6 -6
- package/dist/esm/v3/components/or-tag-v3/index.js +7 -7
- package/dist/esm/v3/components/or-toast-v3/index.js +7 -7
- package/dist/esm/v3/components/or-tooltip-v3/index.js +5 -5
- package/dist/esm/v3/hooks/index.js +1 -1
- package/dist/esm/v3/hooks/useElevation.d.ts +2 -1
- package/dist/esm/v3/index.js +26 -26
- package/dist/esm/v3/{types-6fff319d.js → types-fd0720cc.js} +1 -1
- package/dist/esm/v3/{useElevation-31bfe1f6.js → useElevation-92fce12c.js} +3 -2
- package/package.json +3 -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 +1 -1
- package/src/components/or-menu-v3/OrMenu.vue +26 -22
- package/src/components/or-menu-v3/styles.ts +5 -0
- package/src/components/or-pagination-v3/OrPagination.vue +42 -86
- package/src/components/or-pagination-v3/styles.ts +1 -1
- package/src/components/or-popover-v3/OrPopover.vue +1 -1
- package/src/components/or-progress-v3/styles.ts +4 -4
- package/src/components/or-sidebar-v3/styles.ts +2 -2
- package/src/components/or-tag-v3/OrTag.stories3.ts +5 -5
- package/src/components/or-tag-v3/styles.ts +1 -1
- package/src/components/or-tooltip-v3/styles.ts +1 -4
- package/src/hooks/useElevation.ts +5 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "2.74.3
|
|
3
|
+
"version": "2.74.3",
|
|
4
4
|
"description": "Vue components library for v2/3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/auto/index.js",
|
|
@@ -124,5 +124,6 @@
|
|
|
124
124
|
"default": "./dist/bundled/v3/components/*/index.js"
|
|
125
125
|
},
|
|
126
126
|
"./package.json": "./package.json"
|
|
127
|
-
}
|
|
127
|
+
},
|
|
128
|
+
"gitHead": "1b2ab527b9e479c978678e164ab087379c14a036"
|
|
128
129
|
}
|
|
@@ -7,7 +7,7 @@ export const ButtonRoot: string[] = [
|
|
|
7
7
|
// Shape
|
|
8
8
|
'rounded-md',
|
|
9
9
|
|
|
10
|
-
//
|
|
10
|
+
// Sizing
|
|
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-xs',
|
|
51
|
+
'gap-sm md:gap-xs',
|
|
52
52
|
|
|
53
|
-
//
|
|
53
|
+
// Sizing
|
|
54
54
|
'min-w-[auto]',
|
|
55
55
|
],
|
|
56
56
|
};
|
|
@@ -1,29 +1,32 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
ref="
|
|
4
|
-
:
|
|
5
|
-
:trigger="trigger"
|
|
6
|
-
:placement="placement"
|
|
7
|
-
:full-width="false"
|
|
8
|
-
:disable-default-styles="false"
|
|
9
|
-
@update:state="$emit('update:state', $event)"
|
|
2
|
+
<div
|
|
3
|
+
ref="root"
|
|
4
|
+
:class="rootStyles"
|
|
10
5
|
>
|
|
11
|
-
<
|
|
12
|
-
ref="
|
|
13
|
-
|
|
14
|
-
:
|
|
15
|
-
|
|
6
|
+
<OrPopover
|
|
7
|
+
ref="popover"
|
|
8
|
+
:variant="'auto'"
|
|
9
|
+
:trigger="trigger"
|
|
10
|
+
:placement="placement"
|
|
11
|
+
:full-width="false"
|
|
12
|
+
:disable-default-styles="false"
|
|
13
|
+
@update:state="$emit('update:state', $event)"
|
|
16
14
|
>
|
|
17
|
-
<
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
<div
|
|
16
|
+
:class="bodyStyles"
|
|
17
|
+
@click.stop="onClick"
|
|
18
|
+
>
|
|
19
|
+
<slot />
|
|
20
|
+
</div>
|
|
21
|
+
</OrPopover>
|
|
22
|
+
</div>
|
|
20
23
|
</template>
|
|
21
24
|
|
|
22
25
|
<script lang="ts">
|
|
23
26
|
import { computed, defineComponent, PropType, ref } from 'vue-demi';
|
|
24
27
|
import { OrPopoverV3 as OrPopover } from '../or-popover-v3';
|
|
25
28
|
import { MenuPlacement } from './props';
|
|
26
|
-
import { MenuRoot } from './styles';
|
|
29
|
+
import { MenuBody, MenuRoot } from './styles';
|
|
27
30
|
|
|
28
31
|
export default defineComponent({
|
|
29
32
|
name: 'OrMenu',
|
|
@@ -32,8 +35,6 @@ export default defineComponent({
|
|
|
32
35
|
OrPopover,
|
|
33
36
|
},
|
|
34
37
|
|
|
35
|
-
inheritAttrs: false,
|
|
36
|
-
|
|
37
38
|
props: {
|
|
38
39
|
trigger: {
|
|
39
40
|
type: HTMLElement,
|
|
@@ -52,9 +53,9 @@ export default defineComponent({
|
|
|
52
53
|
|
|
53
54
|
expose: [
|
|
54
55
|
'root',
|
|
55
|
-
'isOpen',
|
|
56
56
|
'open',
|
|
57
57
|
'close',
|
|
58
|
+
'isOpen',
|
|
58
59
|
'toggle',
|
|
59
60
|
],
|
|
60
61
|
|
|
@@ -64,6 +65,7 @@ export default defineComponent({
|
|
|
64
65
|
|
|
65
66
|
const popover = ref<InstanceType<typeof OrPopover>>();
|
|
66
67
|
const popoverRoot = computed(() => popover.value?.root);
|
|
68
|
+
const isOpen = computed(() => popover.value?.isOpen);
|
|
67
69
|
|
|
68
70
|
// Styles
|
|
69
71
|
const rootStyles = computed(() => [
|
|
@@ -71,8 +73,9 @@ export default defineComponent({
|
|
|
71
73
|
...MenuRoot,
|
|
72
74
|
]);
|
|
73
75
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
+
const bodyStyles = computed(() => [
|
|
77
|
+
...MenuBody,
|
|
78
|
+
]);
|
|
76
79
|
|
|
77
80
|
// Methods
|
|
78
81
|
function open(): void {
|
|
@@ -113,6 +116,7 @@ export default defineComponent({
|
|
|
113
116
|
popover,
|
|
114
117
|
popoverRoot,
|
|
115
118
|
rootStyles,
|
|
119
|
+
bodyStyles,
|
|
116
120
|
isOpen,
|
|
117
121
|
open,
|
|
118
122
|
close,
|
|
@@ -14,35 +14,31 @@
|
|
|
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
|
-
|
|
38
|
-
</OrButton>
|
|
39
|
-
</template>
|
|
17
|
+
<OrButton
|
|
18
|
+
v-for="(page, index) in buttonGroup"
|
|
19
|
+
:key="index"
|
|
20
|
+
:class="itemStyles"
|
|
21
|
+
:variant="'link'"
|
|
22
|
+
:color="'inherit'"
|
|
23
|
+
:activated="currentPage === page"
|
|
24
|
+
@click.stop="typeof page === 'number' && toPage(page)"
|
|
25
|
+
>
|
|
26
|
+
{{ page }}
|
|
27
|
+
</OrButton>
|
|
28
|
+
|
|
29
|
+
<OrButton
|
|
30
|
+
:class="itemStyles"
|
|
31
|
+
:variant="'link'"
|
|
32
|
+
:color="'inherit'"
|
|
33
|
+
:disabled="currentPage === lastPage"
|
|
34
|
+
@click.stop="toNextPage()"
|
|
35
|
+
>
|
|
36
|
+
<OrIcon :icon="'keyboard_arrow_right'" />
|
|
37
|
+
</OrButton>
|
|
40
38
|
</div>
|
|
41
39
|
|
|
42
40
|
<div :class="limitControlStyles">
|
|
43
|
-
|
|
44
|
-
Per page:
|
|
45
|
-
</template>
|
|
41
|
+
Per page:
|
|
46
42
|
|
|
47
43
|
<OrButton
|
|
48
44
|
ref="limitButton"
|
|
@@ -52,44 +48,28 @@
|
|
|
52
48
|
:activated="true"
|
|
53
49
|
@click.stop="limitMenu.open()"
|
|
54
50
|
>
|
|
55
|
-
{{ currentLimit }} <OrIcon :icon="
|
|
51
|
+
{{ currentLimit }} <OrIcon :icon="'arrow_drop_down'" />
|
|
56
52
|
</OrButton>
|
|
57
53
|
|
|
58
54
|
<OrMenu
|
|
59
55
|
ref="limitMenu"
|
|
60
|
-
:class="['min-w-[60px]']"
|
|
61
56
|
:trigger="limitButtonRoot"
|
|
62
57
|
:placement="'top'"
|
|
63
58
|
>
|
|
64
59
|
<OrMenuItem
|
|
65
60
|
v-for="pageSize in pageSizeOptions"
|
|
66
61
|
:key="pageSize"
|
|
67
|
-
@click.stop="currentLimit = pageSize
|
|
62
|
+
@click.stop="currentLimit = pageSize"
|
|
68
63
|
>
|
|
69
64
|
{{ pageSize }}
|
|
70
65
|
</OrMenuItem>
|
|
71
66
|
</OrMenu>
|
|
72
67
|
</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>
|
|
87
68
|
</div>
|
|
88
69
|
</template>
|
|
89
70
|
|
|
90
71
|
<script lang="ts">
|
|
91
72
|
import { computed, defineComponent, PropType, ref } from 'vue-demi';
|
|
92
|
-
import { useResponsive } from '../../hooks';
|
|
93
73
|
import { OrButtonV3 as OrButton } from '../or-button-v3';
|
|
94
74
|
import { OrIconV3 as OrIcon } from '../or-icon-v3';
|
|
95
75
|
import { OrMenuItemV3 as OrMenuItem } from '../or-menu-item-v3';
|
|
@@ -138,8 +118,6 @@ export default defineComponent({
|
|
|
138
118
|
],
|
|
139
119
|
|
|
140
120
|
setup(props, context) {
|
|
141
|
-
const { isDesktop, isMobile } = useResponsive();
|
|
142
|
-
|
|
143
121
|
// Refs
|
|
144
122
|
const root = ref<HTMLElement>();
|
|
145
123
|
|
|
@@ -215,43 +193,24 @@ export default defineComponent({
|
|
|
215
193
|
});
|
|
216
194
|
|
|
217
195
|
const buttonGroup = computed<(number | string)[]>(() => {
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
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
|
-
}
|
|
196
|
+
return Array.from({ length: lastPage.value }, (_, index) => index + 1)
|
|
197
|
+
.map((page) => {
|
|
198
|
+
switch (true) {
|
|
199
|
+
case page > firstPage.value && page < currentPage.value - 1:
|
|
200
|
+
case page > currentPage.value + 1 && page < lastPage.value:
|
|
201
|
+
return '…';
|
|
202
|
+
|
|
203
|
+
default:
|
|
204
|
+
return page;
|
|
205
|
+
}
|
|
206
|
+
})
|
|
207
|
+
.reduce((accumulator, page) => {
|
|
208
|
+
if (accumulator[accumulator.length - 1] === page) {
|
|
209
|
+
return accumulator;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
return [...accumulator, page];
|
|
213
|
+
}, [] as (number | string)[]);
|
|
255
214
|
});
|
|
256
215
|
|
|
257
216
|
// Methods
|
|
@@ -268,9 +227,6 @@ export default defineComponent({
|
|
|
268
227
|
}
|
|
269
228
|
|
|
270
229
|
return {
|
|
271
|
-
isDesktop,
|
|
272
|
-
isMobile,
|
|
273
|
-
|
|
274
230
|
root,
|
|
275
231
|
limitButton,
|
|
276
232
|
limitButtonRoot,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProgressType, ProgressColor } from './props';
|
|
2
2
|
|
|
3
3
|
export const ProgressRoot: string[] = [
|
|
4
4
|
// Typography
|
|
@@ -31,7 +31,7 @@ export const ProgressHeader: string[] = [
|
|
|
31
31
|
'flex',
|
|
32
32
|
'flex-row',
|
|
33
33
|
|
|
34
|
-
//
|
|
34
|
+
// Sizing
|
|
35
35
|
'mb-[6px]',
|
|
36
36
|
];
|
|
37
37
|
|
|
@@ -45,7 +45,7 @@ export const ProgressHeaderLabel: string[] = [
|
|
|
45
45
|
];
|
|
46
46
|
|
|
47
47
|
export const ProgressHeaderPercent: string[] = [
|
|
48
|
-
//
|
|
48
|
+
// Sizing
|
|
49
49
|
'ml-auto',
|
|
50
50
|
];
|
|
51
51
|
|
|
@@ -102,6 +102,6 @@ export const ProgressBarColors: Record<Exclude<ProgressColor, ProgressColor.Auto
|
|
|
102
102
|
};
|
|
103
103
|
|
|
104
104
|
export const ProgressFooter: string[] = [
|
|
105
|
-
//
|
|
105
|
+
// Sizing
|
|
106
106
|
'mt-[2px]',
|
|
107
107
|
];
|
|
@@ -202,7 +202,7 @@ export const SidebarContent: string[] = [
|
|
|
202
202
|
'grow',
|
|
203
203
|
'overflow-auto',
|
|
204
204
|
|
|
205
|
-
//
|
|
205
|
+
// Sizing
|
|
206
206
|
'p-md',
|
|
207
207
|
];
|
|
208
208
|
|
|
@@ -211,7 +211,7 @@ export const SidebarFooter: string[] = [
|
|
|
211
211
|
'shrink-0',
|
|
212
212
|
'overflow-x-hidden',
|
|
213
213
|
|
|
214
|
-
//
|
|
214
|
+
// Sizing
|
|
215
215
|
'p-md',
|
|
216
216
|
|
|
217
217
|
// Borders
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { action } from '@storybook/addon-actions';
|
|
2
2
|
import { Meta, StoryFn } from '@storybook/vue3';
|
|
3
3
|
import Faker from 'faker';
|
|
4
|
-
import { ref } from 'vue-demi';
|
|
5
|
-
import { useOverflow } from '../../hooks';
|
|
6
|
-
import { OrButtonV3 as OrButton } from '../or-button-v3';
|
|
7
|
-
import { OrPopoverV3 as OrPopover } from '../or-popover-v3';
|
|
8
4
|
import OrTagDocs from './OrTag.docs.mdx';
|
|
9
5
|
import OrTag from './OrTag.vue';
|
|
10
6
|
import { TagColor, TagVariant } from './props';
|
|
7
|
+
import { OrButtonV3 as OrButton } from '../or-button-v3';
|
|
8
|
+
import { OrPopoverV3 as OrPopover } from '../or-popover-v3';
|
|
9
|
+
import { useOverflow } from '../../hooks';
|
|
10
|
+
import { ref } from 'vue-demi';
|
|
11
11
|
|
|
12
12
|
export default {
|
|
13
13
|
title: 'Components/Tag',
|
|
@@ -77,7 +77,7 @@ const Template: StoryFn<typeof OrTag> = (args) => ({
|
|
|
77
77
|
@blur="handleBlur"
|
|
78
78
|
@reset="handleReset"
|
|
79
79
|
>
|
|
80
|
-
|
|
80
|
+
${args.default}
|
|
81
81
|
</OrTag>
|
|
82
82
|
`,
|
|
83
83
|
});
|
|
@@ -2,16 +2,13 @@ import { TooltipPlacement } from './props';
|
|
|
2
2
|
|
|
3
3
|
export const TooltipRoot: string[] = [
|
|
4
4
|
// Layout
|
|
5
|
-
'inline-
|
|
5
|
+
'layout-inline-row justify-center',
|
|
6
6
|
];
|
|
7
7
|
|
|
8
8
|
export const TooltipBody: string[] = [
|
|
9
9
|
// Layout
|
|
10
10
|
'layout-inline-row',
|
|
11
11
|
|
|
12
|
-
// Box
|
|
13
|
-
'max-w-min',
|
|
14
|
-
|
|
15
12
|
// Shape
|
|
16
13
|
'rounded-sm',
|
|
17
14
|
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { MaybeElementRef } from '@vueuse/core';
|
|
2
|
-
import { isRef, ref, watch } from 'vue-demi';
|
|
2
|
+
import { isRef, Ref, ref, watch } from 'vue-demi';
|
|
3
3
|
import isVisible from '../utils/isVisible';
|
|
4
4
|
|
|
5
5
|
export function useElevation(
|
|
6
|
-
element: MaybeElementRef<HTMLElement | undefined
|
|
6
|
+
element: MaybeElementRef<HTMLElement | undefined>,
|
|
7
|
+
trigger?: Ref<unknown>
|
|
7
8
|
): void {
|
|
8
9
|
const elementRef = isRef(element) ? element : ref(element);
|
|
10
|
+
const triggerRef = isRef(trigger) ? trigger : ref();
|
|
9
11
|
|
|
10
12
|
// Functions
|
|
11
13
|
function getPageElevations(): number[] {
|
|
@@ -21,7 +23,7 @@ export function useElevation(
|
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
// Effects
|
|
24
|
-
watch(elementRef, (element) => {
|
|
26
|
+
watch([elementRef, triggerRef], ([element]) => {
|
|
25
27
|
if (element) setElementElevation(element);
|
|
26
28
|
}, { immediate: true });
|
|
27
29
|
}
|