@onereach/ui-components 2.74.3-beta.2301.0 → 2.74.3-beta.2303.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-0a9470c0.js → OrButton-4862b98b.js} +4 -4
- package/dist/bundled/v2/{OrCardCollection-a94c8405.js → OrCardCollection-a6dda023.js} +4 -4
- package/dist/bundled/v2/{OrConfirm-33169afc.js → OrConfirm-9a79cccb.js} +2 -2
- package/dist/bundled/v2/{OrEmptyState-9fb413f9.js → OrEmptyState-8a7feb99.js} +2 -2
- package/dist/bundled/v2/{OrErrorTag-4675604d.js → OrErrorTag-ade7cd8c.js} +1 -1
- package/dist/bundled/v2/{OrIconButton-876b6351.js → OrIconButton-2bd48bf6.js} +1 -1
- package/dist/bundled/v2/{OrInlineInput-7a230176.js → OrInlineInput-f70111ec.js} +1 -1
- package/dist/bundled/v2/{OrInlineTextarea-97334f79.js → OrInlineTextarea-ba2db219.js} +1 -1
- package/dist/bundled/v2/{OrInput-8648764b.js → OrInput-551d02af.js} +2 -2
- package/dist/bundled/v2/{OrLoader-cf28bfa6.js → OrLoader-864ef92a.js} +5 -20
- package/dist/bundled/v2/{OrMenu-52da43bc.js → OrMenu-6ab53877.js} +10 -15
- package/dist/bundled/v2/{OrModal-83900091.js → OrModal-e71ec2a3.js} +1 -1
- package/dist/bundled/v2/{OrNotification-708ce1db.js → OrNotification-911887e4.js} +1 -1
- package/dist/bundled/v2/{OrPagination-cafac04e.js → OrPagination-24d4b88f.js} +60 -24
- package/dist/bundled/v2/{OrProgress-15fe65ec.js → OrProgress-5cf0a7e7.js} +3 -3
- package/dist/bundled/v2/{OrSearch-9e804b44.js → OrSearch-4b76f101.js} +1 -1
- package/dist/bundled/v2/{OrSelect-929e1850.js → OrSelect-6aeabc14.js} +2 -2
- package/dist/bundled/v2/{OrSidebar-dc3c9664.js → OrSidebar-ab5e1041.js} +3 -3
- package/dist/bundled/v2/{OrSidebarCollapseButton-e2e30766.js → OrSidebarCollapseButton-39514989.js} +1 -1
- package/dist/bundled/v2/{OrSwitch-51e30de3.js → OrSwitch-782d7b43.js} +1 -1
- package/dist/bundled/v2/{OrTabs-9fc1ac93.js → OrTabs-182098dc.js} +1 -1
- package/dist/bundled/v2/{OrTag-3e442bf6.js → OrTag-074b1885.js} +2 -2
- package/dist/bundled/v2/{OrTooltip-b1f38647.js → OrTooltip-121e28c5.js} +3 -1
- 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 +8 -8
- package/dist/bundled/v2/components/or-confirm-v3/index.js +6 -6
- 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 +2 -2
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +3 -3
- 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 -18
- 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 +1 -1
- package/dist/bundled/v2/components/or-menu-v3/styles.d.ts +0 -1
- package/dist/bundled/v2/components/or-modal-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-notification-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +4 -0
- package/dist/bundled/v2/components/or-pagination-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 +5 -5
- package/dist/bundled/v2/components/or-select-v3/index.js +6 -6
- package/dist/bundled/v2/components/or-sidebar-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-sidebar-v3/partials/index.js +3 -3
- package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +3 -3
- package/dist/bundled/v2/components/or-switch-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-tabs-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-tag-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-toast-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-tooltip-v3/index.js +1 -1
- package/dist/bundled/v2/index.js +25 -25
- package/dist/bundled/v2/{types-a268c182.js → types-31d1b8e0.js} +2 -2
- package/dist/bundled/v3/{OrButton-a5b98ee2.js → OrButton-05766523.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-e75f9a10.js → OrButton.vue_vue_type_script_lang-b53e78f5.js} +5 -5
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-ec8e3aad.js → OrCardCollection.vue_vue_type_script_lang-40a22d2b.js} +7 -7
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-3aacf650.js → OrConfirm.vue_vue_type_script_lang-ceaeeadb.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-bfa4c580.js → OrErrorTag.vue_vue_type_script_lang-4e963273.js} +1 -1
- package/dist/bundled/v3/{OrIconButton-59bc1d54.js → OrIconButton-c9eb3d09.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-efefd119.js → OrIconButton.vue_vue_type_script_lang-84fd1dea.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-da4198ec.js → OrInlineInput.vue_vue_type_script_lang-c06ed46b.js} +2 -2
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a7f62f75.js → OrInlineTextarea.vue_vue_type_script_lang-79c4353a.js} +2 -2
- package/dist/bundled/v3/{OrInput-09a57a08.js → OrInput-5e36b9a6.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-7e787375.js → OrInput.vue_vue_type_script_lang-81c11f75.js} +4 -4
- package/dist/bundled/v3/{OrLoader-663e062d.js → OrLoader-123ef8c4.js} +4 -5
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-8fc03499.js → OrLoader.vue_vue_type_script_lang-4c3c1ac9.js} +4 -18
- package/dist/bundled/v3/{OrMenu-6d7abe97.js → OrMenu-bb432db5.js} +9 -10
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-df35fd76.js → OrMenu.vue_vue_type_script_lang-5a492eb3.js} +5 -8
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-07249365.js → OrModal.vue_vue_type_script_lang-e1b650ba.js} +2 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-f308ec11.js → OrNotification.vue_vue_type_script_lang-e86b33e9.js} +2 -2
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-5c515494.js → OrPagination.vue_vue_type_script_lang-0cb971d5.js} +35 -20
- 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-67311d1c.js → OrSearch.vue_vue_type_script_lang-f473cb9b.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-9d475e01.js → OrSelect.vue_vue_type_script_lang-af5f0e8d.js} +3 -3
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-35abe546.js → OrSidebar.vue_vue_type_script_lang-f1f2844f.js} +3 -3
- package/dist/bundled/v3/{OrSidebarCollapseButton.vue_vue_type_script_lang-271a2fbf.js → OrSidebarCollapseButton.vue_vue_type_script_lang-5fe2a40a.js} +2 -2
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-f6039c8f.js → OrSwitch.vue_vue_type_script_lang-31994be7.js} +2 -2
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-f3b84f9d.js → OrTabs.vue_vue_type_script_lang-853e7b4a.js} +2 -2
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-89d99975.js → OrTag.vue_vue_type_script_lang-fc082803.js} +3 -3
- package/dist/bundled/v3/{OrToastContainer-678b8574.js → OrToastContainer-f317ef1b.js} +1 -1
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-bf9935ef.js → OrTooltip.vue_vue_type_script_lang-7a64c90d.js} +3 -1
- package/dist/bundled/v3/components/index.js +29 -29
- package/dist/bundled/v3/components/or-button-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +13 -13
- package/dist/bundled/v3/components/or-confirm-v3/index.js +10 -10
- 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 +2 -2
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +4 -4
- 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 -18
- 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 +1 -1
- package/dist/bundled/v3/components/or-menu-v3/styles.d.ts +0 -1
- package/dist/bundled/v3/components/or-modal-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-notification-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +4 -0
- package/dist/bundled/v3/components/or-pagination-v3/index.js +7 -7
- 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 +5 -5
- package/dist/bundled/v3/components/or-sidebar-v3/partials/index.js +4 -4
- package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +4 -4
- package/dist/bundled/v3/components/or-switch-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-tabs-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-tag-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-toast-v3/index.js +7 -7
- package/dist/bundled/v3/components/or-tooltip-v3/index.js +1 -1
- package/dist/bundled/v3/index.js +74 -52
- package/dist/bundled/v3/{types-219938e7.js → types-c44094bc.js} +4 -4
- package/dist/esm/v2/{OrButton-49f7f20b.js → OrButton-18f4431c.js} +4 -4
- package/dist/esm/v2/{OrCardCollection-a4e744a7.js → OrCardCollection-d9666d4b.js} +4 -4
- package/dist/esm/v2/{OrConfirm-24ce2851.js → OrConfirm-492a6a36.js} +2 -2
- package/dist/esm/v2/{OrEmptyState-2481f13f.js → OrEmptyState-ab1a044d.js} +2 -2
- package/dist/esm/v2/{OrErrorTag-7cd5dc68.js → OrErrorTag-3aaab419.js} +1 -1
- package/dist/esm/v2/{OrIconButton-c8bb635e.js → OrIconButton-612c64c4.js} +1 -1
- package/dist/esm/v2/{OrInlineInput-d9bbdaf2.js → OrInlineInput-6485e20a.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-f7378459.js → OrInlineTextarea-63dd339e.js} +1 -1
- package/dist/esm/v2/{OrInput-adc14363.js → OrInput-0b8a515c.js} +2 -2
- package/dist/esm/v2/{OrLoader-8f1f3af1.js → OrLoader-76307488.js} +5 -20
- package/dist/esm/v2/{OrMenu-c276db74.js → OrMenu-943e7760.js} +10 -15
- package/dist/esm/v2/{OrModal-7ca36163.js → OrModal-8fc5ddc9.js} +1 -1
- package/dist/esm/v2/{OrNotification-2013cadf.js → OrNotification-507c3e75.js} +1 -1
- package/dist/esm/v2/{OrPagination-93262719.js → OrPagination-04e810bc.js} +61 -24
- package/dist/esm/v2/{OrProgress-b7d1c689.js → OrProgress-9fc95bd7.js} +3 -3
- package/dist/esm/v2/{OrSearch-8ce8b832.js → OrSearch-02d8a65c.js} +1 -1
- package/dist/esm/v2/{OrSelect-3fc202c4.js → OrSelect-bdc0ccb5.js} +2 -2
- package/dist/esm/v2/{OrSidebar-a45b594d.js → OrSidebar-36643782.js} +3 -3
- package/dist/esm/v2/{OrSidebarCollapseButton-9aa87e80.js → OrSidebarCollapseButton-7483360e.js} +1 -1
- package/dist/esm/v2/{OrSwitch-10ecff82.js → OrSwitch-8549219a.js} +1 -1
- package/dist/esm/v2/{OrTabs-2992f88f.js → OrTabs-5f53127f.js} +1 -1
- package/dist/esm/v2/{OrTag-920c6371.js → OrTag-359c25b6.js} +2 -2
- package/dist/esm/v2/{OrTooltip-629d44fc.js → OrTooltip-233c67b9.js} +3 -1
- 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 +8 -8
- package/dist/esm/v2/components/or-confirm-v3/index.js +6 -6
- 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 +2 -2
- package/dist/esm/v2/components/or-inline-input-v3/index.js +3 -3
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +3 -3
- 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 -18
- 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 +1 -1
- package/dist/esm/v2/components/or-menu-v3/styles.d.ts +0 -1
- package/dist/esm/v2/components/or-modal-v3/index.js +3 -3
- package/dist/esm/v2/components/or-notification-v3/index.js +3 -3
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +4 -0
- package/dist/esm/v2/components/or-pagination-v3/index.js +6 -6
- 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 +4 -4
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +3 -3
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +3 -3
- package/dist/esm/v2/components/or-switch-v3/index.js +2 -2
- package/dist/esm/v2/components/or-tabs-v3/index.js +2 -2
- package/dist/esm/v2/components/or-tag-v3/index.js +3 -3
- package/dist/esm/v2/components/or-toast-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tooltip-v3/index.js +1 -1
- package/dist/esm/v2/index.js +24 -24
- package/dist/esm/v2/{types-2d2b95cb.js → types-623b05dd.js} +2 -2
- package/dist/esm/v3/{OrButton-eab948fb.js → OrButton-55dd2ad9.js} +4 -4
- package/dist/esm/v3/{OrCardCollection-349e16e5.js → OrCardCollection-7241cd1d.js} +4 -4
- package/dist/esm/v3/{OrConfirm-dbf9c932.js → OrConfirm-d527c1f8.js} +2 -2
- package/dist/esm/v3/{OrEmptyState-bb8e3145.js → OrEmptyState-cd3a4026.js} +2 -2
- package/dist/esm/v3/{OrErrorTag-0025b17c.js → OrErrorTag-7f153817.js} +1 -1
- package/dist/esm/v3/{OrIconButton-3d32cdcf.js → OrIconButton-23cb0f22.js} +1 -1
- package/dist/esm/v3/{OrInlineInput-72effa88.js → OrInlineInput-3dd233eb.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-0bb8ef1c.js → OrInlineTextarea-7352f610.js} +1 -1
- package/dist/esm/v3/{OrInput-0345f8c8.js → OrInput-620cdc01.js} +2 -2
- package/dist/esm/v3/{OrLoader-3a918ce9.js → OrLoader-a53d2edf.js} +7 -22
- package/dist/esm/v3/{OrMenu-7f3ea117.js → OrMenu-fd2fe1e7.js} +13 -17
- package/dist/esm/v3/{OrModal-a5fa8240.js → OrModal-0d9296a3.js} +1 -1
- package/dist/esm/v3/{OrNotification-8f34d624.js → OrNotification-c14ce3f1.js} +1 -1
- package/dist/esm/v3/{OrPagination-c128d573.js → OrPagination-1bd951a4.js} +64 -26
- package/dist/esm/v3/{OrProgress-639ed5e8.js → OrProgress-4856808a.js} +3 -3
- package/dist/esm/v3/{OrSearch-512def59.js → OrSearch-2aa4da10.js} +1 -1
- package/dist/esm/v3/{OrSelect-f5a7352e.js → OrSelect-04deb880.js} +2 -2
- package/dist/esm/v3/{OrSidebar-cf07fd69.js → OrSidebar-c71f2e27.js} +3 -3
- package/dist/esm/v3/{OrSidebarCollapseButton-684445f0.js → OrSidebarCollapseButton-2c5a0239.js} +1 -1
- package/dist/esm/v3/{OrSwitch-0e92c92c.js → OrSwitch-1c2196da.js} +1 -1
- package/dist/esm/v3/{OrTabs-80cbb3b9.js → OrTabs-c6cfae55.js} +1 -1
- package/dist/esm/v3/{OrTag-1d3fa09e.js → OrTag-ffb2debb.js} +2 -2
- package/dist/esm/v3/{OrTooltip-b07616f4.js → OrTooltip-229c90d5.js} +3 -1
- 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 +8 -8
- package/dist/esm/v3/components/or-confirm-v3/index.js +6 -6
- 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 +2 -2
- package/dist/esm/v3/components/or-inline-input-v3/index.js +3 -3
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +3 -3
- 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 -18
- 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 +1 -1
- package/dist/esm/v3/components/or-menu-v3/styles.d.ts +0 -1
- package/dist/esm/v3/components/or-modal-v3/index.js +3 -3
- package/dist/esm/v3/components/or-notification-v3/index.js +3 -3
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +4 -0
- package/dist/esm/v3/components/or-pagination-v3/index.js +6 -6
- 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 +4 -4
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +3 -3
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +3 -3
- package/dist/esm/v3/components/or-switch-v3/index.js +2 -2
- package/dist/esm/v3/components/or-tabs-v3/index.js +2 -2
- package/dist/esm/v3/components/or-tag-v3/index.js +3 -3
- package/dist/esm/v3/components/or-toast-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tooltip-v3/index.js +1 -1
- package/dist/esm/v3/index.js +24 -24
- package/dist/esm/v3/{types-0d8c0f6e.js → types-6fff319d.js} +2 -2
- package/package.json +1 -1
- 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-loader-v3/OrLoader.stories3.ts +4 -16
- package/src/components/or-loader-v3/OrLoader.vue +3 -21
- 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-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 +4 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useToggle } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, createElementVNode, toDisplayString, createBlock, withModifiers, onBeforeMount, onBeforeUnmount, nextTick } from 'vue';
|
|
3
3
|
import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-4d4329cd.js';
|
|
4
|
-
import './OrIconButton-
|
|
5
|
-
import './OrLoader-
|
|
6
|
-
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-
|
|
7
|
-
import { s as script$3 } from './OrLoader.vue_vue_type_script_lang-
|
|
4
|
+
import './OrIconButton-c9eb3d09.js';
|
|
5
|
+
import './OrLoader-123ef8c4.js';
|
|
6
|
+
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-84fd1dea.js';
|
|
7
|
+
import { s as script$3 } from './OrLoader.vue_vue_type_script_lang-4c3c1ac9.js';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
9
9
|
import './OrOverlay.vue_vue_type_script_lang-7edd25f6.js';
|
|
10
10
|
import { s as script$4 } from './OrTeleport.vue3.vue_vue_type_script_lang-4dc70cf1.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$1 } from './OrLoader-
|
|
2
|
+
import { _ as __vue_component__$1 } from './OrLoader-76307488.js';
|
|
3
3
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
4
4
|
|
|
5
5
|
var ButtonVariant;
|
|
@@ -27,7 +27,7 @@ const ButtonRoot = [
|
|
|
27
27
|
'layout-inline-row justify-center',
|
|
28
28
|
// Shape
|
|
29
29
|
'rounded-md',
|
|
30
|
-
//
|
|
30
|
+
// Spacing
|
|
31
31
|
'min-w-[96px]',
|
|
32
32
|
// Interactivity
|
|
33
33
|
'interactivity-auto',
|
|
@@ -47,8 +47,8 @@ const ButtonRootVariants = {
|
|
|
47
47
|
'px-md md:px-md', 'py-sm+ md:py-sm', 'gap-sm+ md:gap-sm'],
|
|
48
48
|
'link': [
|
|
49
49
|
// Spacing
|
|
50
|
-
'gap-
|
|
51
|
-
//
|
|
50
|
+
'gap-xs',
|
|
51
|
+
// Spacing
|
|
52
52
|
'min-w-[auto]']
|
|
53
53
|
};
|
|
54
54
|
const ButtonRootColors = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$3 } from './OrButton-
|
|
3
|
-
import { _ as __vue_component__$2 } from './OrIconButton-
|
|
2
|
+
import { _ as __vue_component__$3 } from './OrButton-18f4431c.js';
|
|
3
|
+
import { _ as __vue_component__$2 } from './OrIconButton-612c64c4.js';
|
|
4
4
|
import { _ as __vue_component__$6 } from './OrIcon-c434985a.js';
|
|
5
5
|
import { _ as __vue_component__$5 } from './OrMenuItem-4f810513.js';
|
|
6
|
-
import { _ as __vue_component__$4 } from './OrMenu-
|
|
6
|
+
import { _ as __vue_component__$4 } from './OrMenu-943e7760.js';
|
|
7
7
|
import './OrPopover-d5d4f62a.js';
|
|
8
|
-
import { _ as __vue_component__$7 } from './OrSearch-
|
|
8
|
+
import { _ as __vue_component__$7 } from './OrSearch-02d8a65c.js';
|
|
9
9
|
import './OrInputBox-53d1f66d.js';
|
|
10
10
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
11
11
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
|
|
2
2
|
import { logicAnd } from '@vueuse/math';
|
|
3
3
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
4
|
-
import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-
|
|
5
|
-
import { _ as __vue_component__$3 } from './OrInput-
|
|
4
|
+
import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-18f4431c.js';
|
|
5
|
+
import { _ as __vue_component__$3 } from './OrInput-0b8a515c.js';
|
|
6
6
|
import { _ as __vue_component__$1 } from './OrOverlay-a019186f.js';
|
|
7
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
8
8
|
|
|
@@ -12,10 +12,10 @@ const EmptyStateRoot = [
|
|
|
12
12
|
'grow', 'flex', 'flex-col', 'justify-center', 'items-center',
|
|
13
13
|
// Box
|
|
14
14
|
'w-full',
|
|
15
|
-
//
|
|
15
|
+
// Spacing
|
|
16
16
|
'gap-sm'];
|
|
17
17
|
const EmptyStateImage = [
|
|
18
|
-
//
|
|
18
|
+
// Spacing
|
|
19
19
|
'mb-sm'];
|
|
20
20
|
const EmptyStateImageSizes = {
|
|
21
21
|
[EmptyStateSize.L]: [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
2
|
import { _ as __vue_component__$1, I as IconSize } from './OrIcon-c434985a.js';
|
|
3
|
-
import { _ as __vue_component__$2 } from './OrTooltip-
|
|
3
|
+
import { _ as __vue_component__$2 } from './OrTooltip-233c67b9.js';
|
|
4
4
|
import './OrPopover-d5d4f62a.js';
|
|
5
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
6
|
|
|
@@ -4,7 +4,7 @@ import '@vueuse/core';
|
|
|
4
4
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
5
5
|
import { _ as __vue_component__$1 } from './OrError-13845bb0.js';
|
|
6
6
|
import { _ as __vue_component__$2 } from './OrHint-78b399cb.js';
|
|
7
|
-
import { _ as __vue_component__$3 } from './OrIconButton-
|
|
7
|
+
import { _ as __vue_component__$3 } from './OrIconButton-612c64c4.js';
|
|
8
8
|
import { _ as __vue_component__$4, I as InlineInputBoxSize } from './OrInlineInputBox-46146af0.js';
|
|
9
9
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
10
10
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
@@ -4,7 +4,7 @@ import '@vueuse/core';
|
|
|
4
4
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
5
5
|
import { _ as __vue_component__$1 } from './OrError-13845bb0.js';
|
|
6
6
|
import { _ as __vue_component__$2 } from './OrHint-78b399cb.js';
|
|
7
|
-
import { _ as __vue_component__$3 } from './OrIconButton-
|
|
7
|
+
import { _ as __vue_component__$3 } from './OrIconButton-612c64c4.js';
|
|
8
8
|
import { _ as __vue_component__$4 } from './OrInlineInputBox-46146af0.js';
|
|
9
9
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
10
10
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
@@ -5,11 +5,11 @@ import { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
|
5
5
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
6
6
|
import { _ as __vue_component__$1 } from './OrError-13845bb0.js';
|
|
7
7
|
import { _ as __vue_component__$2 } from './OrHint-78b399cb.js';
|
|
8
|
-
import { _ as __vue_component__$4 } from './OrIconButton-
|
|
8
|
+
import { _ as __vue_component__$4 } from './OrIconButton-612c64c4.js';
|
|
9
9
|
import { _ as __vue_component__$3 } from './OrIcon-c434985a.js';
|
|
10
10
|
import { _ as __vue_component__$5, a as InputBoxSize } from './OrInputBox-53d1f66d.js';
|
|
11
11
|
import { _ as __vue_component__$6 } from './OrLabel-0945a4d9.js';
|
|
12
|
-
import { _ as __vue_component__$7 } from './OrLoader-
|
|
12
|
+
import { _ as __vue_component__$7 } from './OrLoader-76307488.js';
|
|
13
13
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
14
14
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
15
15
|
|
|
@@ -20,7 +20,7 @@ var LoaderSize;
|
|
|
20
20
|
|
|
21
21
|
const LoaderRoot = [
|
|
22
22
|
// Layout
|
|
23
|
-
'flex', 'flex-col', '
|
|
23
|
+
'contents', 'flex', 'flex-col', 'space-y-md'];
|
|
24
24
|
const LoaderRootColors = {
|
|
25
25
|
'primary': [
|
|
26
26
|
// Theme
|
|
@@ -41,17 +41,10 @@ var script = defineComponent({
|
|
|
41
41
|
type: String,
|
|
42
42
|
default: LoaderVariant.Circular
|
|
43
43
|
},
|
|
44
|
-
/**
|
|
45
|
-
* Defines a semantic color of the loading indicator.
|
|
46
|
-
* Use `'inherit'` option to set your own color from the parent (not recommended).
|
|
47
|
-
*/
|
|
48
44
|
color: {
|
|
49
45
|
type: String,
|
|
50
46
|
default: LoaderColor.Primary
|
|
51
47
|
},
|
|
52
|
-
/**
|
|
53
|
-
* Defines a diameter of the circular loader. Ignored for linear one.
|
|
54
|
-
*/
|
|
55
48
|
size: {
|
|
56
49
|
type: String,
|
|
57
50
|
default: LoaderSize.M
|
|
@@ -77,26 +70,19 @@ var script = defineComponent({
|
|
|
77
70
|
// State
|
|
78
71
|
const computedSize = computed(() => {
|
|
79
72
|
switch (props.size) {
|
|
80
|
-
case
|
|
73
|
+
case 'm':
|
|
81
74
|
return 20;
|
|
82
|
-
case
|
|
75
|
+
case 's':
|
|
83
76
|
return 16;
|
|
84
77
|
}
|
|
85
78
|
});
|
|
86
|
-
/**
|
|
87
|
-
* Preserves circular loading indicator from shrinking caused by external styles.
|
|
88
|
-
*/
|
|
89
|
-
const wrapperStyle = computed(() => {
|
|
90
|
-
return `min-width: ${computedSize.value}px;`;
|
|
91
|
-
});
|
|
92
79
|
return {
|
|
93
80
|
root,
|
|
94
81
|
rootStyles,
|
|
95
82
|
containerStyles,
|
|
96
83
|
titleStyles,
|
|
97
84
|
descriptionStyles,
|
|
98
|
-
computedSize
|
|
99
|
-
wrapperStyle
|
|
85
|
+
computedSize
|
|
100
86
|
};
|
|
101
87
|
}
|
|
102
88
|
});
|
|
@@ -115,8 +101,7 @@ var __vue_render__ = function () {
|
|
|
115
101
|
}, [_vm.title ? [_c('div', {
|
|
116
102
|
class: _vm.titleStyles
|
|
117
103
|
}, [_vm._v("\n " + _vm._s(_vm.title) + "\n ")])] : _vm._e(), _vm._v(" "), _c('div', {
|
|
118
|
-
class: _vm.containerStyles
|
|
119
|
-
style: _vm.wrapperStyle
|
|
104
|
+
class: _vm.containerStyles
|
|
120
105
|
}, [_vm.variant === 'circular' ? [_c('svg', {
|
|
121
106
|
attrs: {
|
|
122
107
|
"viewBox": "0 0 16 16",
|
|
@@ -4,9 +4,6 @@ import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
|
4
4
|
|
|
5
5
|
const MenuRoot = [
|
|
6
6
|
// Layout
|
|
7
|
-
'inline-block'];
|
|
8
|
-
const MenuBody = [
|
|
9
|
-
// Layout
|
|
10
7
|
'overflow-y-auto',
|
|
11
8
|
// Box
|
|
12
9
|
'min-w-[160px]', 'md:max-w-[256px]', 'max-h-[340px]'];
|
|
@@ -16,6 +13,7 @@ var script = defineComponent({
|
|
|
16
13
|
components: {
|
|
17
14
|
OrPopover: __vue_component__$1
|
|
18
15
|
},
|
|
16
|
+
inheritAttrs: false,
|
|
19
17
|
props: {
|
|
20
18
|
trigger: {
|
|
21
19
|
type: HTMLElement,
|
|
@@ -27,7 +25,7 @@ var script = defineComponent({
|
|
|
27
25
|
}
|
|
28
26
|
},
|
|
29
27
|
emits: ['update:state'],
|
|
30
|
-
expose: ['root', '
|
|
28
|
+
expose: ['root', 'isOpen', 'open', 'close', 'toggle'],
|
|
31
29
|
setup() {
|
|
32
30
|
// Refs
|
|
33
31
|
const root = ref();
|
|
@@ -36,13 +34,13 @@ var script = defineComponent({
|
|
|
36
34
|
var _a;
|
|
37
35
|
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
38
36
|
});
|
|
37
|
+
// Styles
|
|
38
|
+
const rootStyles = computed(() => ['or-menu', ...MenuRoot]);
|
|
39
|
+
// State
|
|
39
40
|
const isOpen = computed(() => {
|
|
40
41
|
var _a;
|
|
41
42
|
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.isOpen;
|
|
42
43
|
});
|
|
43
|
-
// Styles
|
|
44
|
-
const rootStyles = computed(() => ['or-menu', ...MenuRoot]);
|
|
45
|
-
const bodyStyles = computed(() => [...MenuBody]);
|
|
46
44
|
// Methods
|
|
47
45
|
function open() {
|
|
48
46
|
const popoverInstance = popover.value;
|
|
@@ -76,7 +74,6 @@ var script = defineComponent({
|
|
|
76
74
|
popover,
|
|
77
75
|
popoverRoot,
|
|
78
76
|
rootStyles,
|
|
79
|
-
bodyStyles,
|
|
80
77
|
isOpen,
|
|
81
78
|
open,
|
|
82
79
|
close,
|
|
@@ -94,10 +91,7 @@ var __vue_render__ = function () {
|
|
|
94
91
|
var _vm = this;
|
|
95
92
|
var _h = _vm.$createElement;
|
|
96
93
|
var _c = _vm._self._c || _h;
|
|
97
|
-
return _c('
|
|
98
|
-
ref: "root",
|
|
99
|
-
class: _vm.rootStyles
|
|
100
|
-
}, [_c('OrPopover', {
|
|
94
|
+
return _c('OrPopover', {
|
|
101
95
|
ref: "popover",
|
|
102
96
|
attrs: {
|
|
103
97
|
"variant": 'auto',
|
|
@@ -111,15 +105,16 @@ var __vue_render__ = function () {
|
|
|
111
105
|
return _vm.$emit('update:state', $event);
|
|
112
106
|
}
|
|
113
107
|
}
|
|
114
|
-
}, [_c('div', {
|
|
115
|
-
|
|
108
|
+
}, [_c('div', _vm._b({
|
|
109
|
+
ref: "root",
|
|
110
|
+
class: _vm.rootStyles,
|
|
116
111
|
on: {
|
|
117
112
|
"click": function ($event) {
|
|
118
113
|
$event.stopPropagation();
|
|
119
114
|
return _vm.onClick.apply(null, arguments);
|
|
120
115
|
}
|
|
121
116
|
}
|
|
122
|
-
}, [_vm._t("default")], 2)])
|
|
117
|
+
}, 'div', _vm.$attrs, false), [_vm._t("default")], 2)]);
|
|
123
118
|
};
|
|
124
119
|
var __vue_staticRenderFns__ = [];
|
|
125
120
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$2 } from './OrIconButton-
|
|
2
|
+
import { _ as __vue_component__$2 } from './OrIconButton-612c64c4.js';
|
|
3
3
|
import { _ as __vue_component__$1 } from './OrOverlay-a019186f.js';
|
|
4
4
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$2 } from './OrIconButton-
|
|
2
|
+
import { _ as __vue_component__$2 } from './OrIconButton-612c64c4.js';
|
|
3
3
|
import { _ as __vue_component__$1 } from './OrIcon-c434985a.js';
|
|
4
4
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
5
|
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import
|
|
2
|
+
import '@vueuse/core';
|
|
3
|
+
import { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
4
|
+
import { _ as __vue_component__$1 } from './OrButton-18f4431c.js';
|
|
3
5
|
import { _ as __vue_component__$2 } from './OrIcon-c434985a.js';
|
|
4
6
|
import { _ as __vue_component__$4 } from './OrMenuItem-4f810513.js';
|
|
5
|
-
import { _ as __vue_component__$3 } from './OrMenu-
|
|
7
|
+
import { _ as __vue_component__$3 } from './OrMenu-943e7760.js';
|
|
6
8
|
import './OrPopover-d5d4f62a.js';
|
|
7
9
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
8
10
|
|
|
@@ -10,7 +12,7 @@ const PaginationRoot = [
|
|
|
10
12
|
// Layout
|
|
11
13
|
'layout-row',
|
|
12
14
|
// Spacing
|
|
13
|
-
'gap-xl',
|
|
15
|
+
'gap-lg md:gap-xl',
|
|
14
16
|
// Typography
|
|
15
17
|
'typography-caption-regular',
|
|
16
18
|
// Theme
|
|
@@ -60,6 +62,10 @@ var script = defineComponent({
|
|
|
60
62
|
emits: ['update:modelValue'],
|
|
61
63
|
expose: ['root'],
|
|
62
64
|
setup(props, context) {
|
|
65
|
+
const {
|
|
66
|
+
isDesktop,
|
|
67
|
+
isMobile
|
|
68
|
+
} = useResponsive();
|
|
63
69
|
// Refs
|
|
64
70
|
const root = ref();
|
|
65
71
|
const limitButton = ref();
|
|
@@ -121,22 +127,30 @@ var script = defineComponent({
|
|
|
121
127
|
return Math.ceil(props.length / currentLimit.value);
|
|
122
128
|
});
|
|
123
129
|
const buttonGroup = computed(() => {
|
|
124
|
-
|
|
130
|
+
const pages = Array.from({
|
|
125
131
|
length: lastPage.value
|
|
126
|
-
}, (_, index) => index + 1)
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
132
|
+
}, (_, index) => index + 1);
|
|
133
|
+
switch (true) {
|
|
134
|
+
case currentPage.value < firstPage.value + 4:
|
|
135
|
+
return [...pages.slice(0, 5), '…', lastPage.value];
|
|
136
|
+
case currentPage.value > lastPage.value - 4:
|
|
137
|
+
return [firstPage.value, '…', ...pages.slice(-5)];
|
|
138
|
+
default:
|
|
139
|
+
return pages.map(page => {
|
|
140
|
+
switch (true) {
|
|
141
|
+
case page > firstPage.value && page < currentPage.value - 1:
|
|
142
|
+
case page < lastPage.value && page > currentPage.value + 1:
|
|
143
|
+
return '…';
|
|
144
|
+
default:
|
|
145
|
+
return page;
|
|
146
|
+
}
|
|
147
|
+
}).reduce((accumulator, page) => {
|
|
148
|
+
if (accumulator[accumulator.length - 1] === page) {
|
|
149
|
+
return accumulator;
|
|
150
|
+
}
|
|
151
|
+
return [...accumulator, page];
|
|
152
|
+
}, []);
|
|
153
|
+
}
|
|
140
154
|
});
|
|
141
155
|
// Methods
|
|
142
156
|
function toPreviousPage() {
|
|
@@ -149,6 +163,8 @@ var script = defineComponent({
|
|
|
149
163
|
currentPage.value = page;
|
|
150
164
|
}
|
|
151
165
|
return {
|
|
166
|
+
isDesktop,
|
|
167
|
+
isMobile,
|
|
152
168
|
root,
|
|
153
169
|
limitButton,
|
|
154
170
|
limitButtonRoot,
|
|
@@ -202,7 +218,7 @@ var __vue_render__ = function () {
|
|
|
202
218
|
attrs: {
|
|
203
219
|
"icon": 'keyboard_arrow_left'
|
|
204
220
|
}
|
|
205
|
-
})], 1), _vm._v(" "), _vm._l(_vm.buttonGroup, function (page, index) {
|
|
221
|
+
})], 1), _vm._v(" "), _vm.isDesktop ? [_vm._l(_vm.buttonGroup, function (page, index) {
|
|
206
222
|
return _c('OrButton', {
|
|
207
223
|
key: index,
|
|
208
224
|
class: _vm.itemStyles,
|
|
@@ -217,7 +233,7 @@ var __vue_render__ = function () {
|
|
|
217
233
|
typeof page === 'number' && _vm.toPage(page);
|
|
218
234
|
}
|
|
219
235
|
}
|
|
220
|
-
}, [_vm._v("\n
|
|
236
|
+
}, [_vm._v("\n " + _vm._s(page) + "\n ")]);
|
|
221
237
|
}), _vm._v(" "), _c('OrButton', {
|
|
222
238
|
class: _vm.itemStyles,
|
|
223
239
|
attrs: {
|
|
@@ -235,9 +251,9 @@ var __vue_render__ = function () {
|
|
|
235
251
|
attrs: {
|
|
236
252
|
"icon": 'keyboard_arrow_right'
|
|
237
253
|
}
|
|
238
|
-
})], 1)], 2), _vm._v(" "), _c('div', {
|
|
254
|
+
})], 1)] : _vm._e()], 2), _vm._v(" "), _c('div', {
|
|
239
255
|
class: _vm.limitControlStyles
|
|
240
|
-
}, [_vm._v("\n
|
|
256
|
+
}, [_vm.isDesktop ? [_vm._v("\n Per page:\n ")] : _vm._e(), _vm._v(" "), _c('OrButton', {
|
|
241
257
|
ref: "limitButton",
|
|
242
258
|
class: _vm.itemStyles,
|
|
243
259
|
attrs: {
|
|
@@ -253,10 +269,11 @@ var __vue_render__ = function () {
|
|
|
253
269
|
}
|
|
254
270
|
}, [_vm._v("\n " + _vm._s(_vm.currentLimit) + " "), _c('OrIcon', {
|
|
255
271
|
attrs: {
|
|
256
|
-
"icon": 'arrow_drop_down'
|
|
272
|
+
"icon": _vm.limitMenu && _vm.limitMenu.isOpen ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
257
273
|
}
|
|
258
274
|
})], 1), _vm._v(" "), _c('OrMenu', {
|
|
259
275
|
ref: "limitMenu",
|
|
276
|
+
class: ['min-w-[60px]'],
|
|
260
277
|
attrs: {
|
|
261
278
|
"trigger": _vm.limitButtonRoot,
|
|
262
279
|
"placement": 'top'
|
|
@@ -268,10 +285,30 @@ var __vue_render__ = function () {
|
|
|
268
285
|
"click": function ($event) {
|
|
269
286
|
$event.stopPropagation();
|
|
270
287
|
_vm.currentLimit = pageSize;
|
|
288
|
+
_vm.limitMenu.close();
|
|
271
289
|
}
|
|
272
290
|
}
|
|
273
291
|
}, [_vm._v("\n " + _vm._s(pageSize) + "\n ")]);
|
|
274
|
-
}), 1)],
|
|
292
|
+
}), 1)], 2), _vm._v(" "), _vm.isMobile ? [_c('div', {
|
|
293
|
+
class: _vm.offsetControlStyles
|
|
294
|
+
}, [_c('OrButton', {
|
|
295
|
+
class: _vm.itemStyles,
|
|
296
|
+
attrs: {
|
|
297
|
+
"variant": 'link',
|
|
298
|
+
"color": 'inherit',
|
|
299
|
+
"disabled": _vm.currentPage === _vm.lastPage
|
|
300
|
+
},
|
|
301
|
+
on: {
|
|
302
|
+
"click": function ($event) {
|
|
303
|
+
$event.stopPropagation();
|
|
304
|
+
return _vm.toNextPage();
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
}, [_c('OrIcon', {
|
|
308
|
+
attrs: {
|
|
309
|
+
"icon": 'keyboard_arrow_right'
|
|
310
|
+
}
|
|
311
|
+
})], 1)], 1)] : _vm._e()], 2);
|
|
275
312
|
};
|
|
276
313
|
var __vue_staticRenderFns__ = [];
|
|
277
314
|
|
|
@@ -34,7 +34,7 @@ const ProgressRootTypes = {
|
|
|
34
34
|
const ProgressHeader = [
|
|
35
35
|
// Layout
|
|
36
36
|
'flex', 'flex-row',
|
|
37
|
-
//
|
|
37
|
+
// Spacing
|
|
38
38
|
'mb-[6px]'];
|
|
39
39
|
const ProgressHeaderLabel = [
|
|
40
40
|
// Typography
|
|
@@ -42,7 +42,7 @@ const ProgressHeaderLabel = [
|
|
|
42
42
|
// Theme
|
|
43
43
|
'text-on-background', 'dark:text-on-background-dark'];
|
|
44
44
|
const ProgressHeaderPercent = [
|
|
45
|
-
//
|
|
45
|
+
// Spacing
|
|
46
46
|
'ml-auto'];
|
|
47
47
|
const ProgressBarBackground = [
|
|
48
48
|
// Theme
|
|
@@ -75,7 +75,7 @@ const ProgressBarColors = {
|
|
|
75
75
|
'stroke-error-hover', 'dark:stroke-error-hover-dark']
|
|
76
76
|
};
|
|
77
77
|
const ProgressFooter = [
|
|
78
|
-
//
|
|
78
|
+
// Spacing
|
|
79
79
|
'mt-[2px]'];
|
|
80
80
|
|
|
81
81
|
var script = defineComponent({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { debouncedWatch } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
3
|
-
import { _ as __vue_component__$1 } from './OrInput-
|
|
3
|
+
import { _ as __vue_component__$1 } from './OrInput-0b8a515c.js';
|
|
4
4
|
import { a as InputBoxSize } from './OrInputBox-53d1f66d.js';
|
|
5
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
6
|
|
|
@@ -8,11 +8,11 @@ import { _ as __vue_component__$3 } from './OrExpansionPanel-0a12d957.js';
|
|
|
8
8
|
import { _ as __vue_component__$4 } from './OrHint-78b399cb.js';
|
|
9
9
|
import { _ as __vue_component__$5 } from './OrIcon-c434985a.js';
|
|
10
10
|
import { _ as __vue_component__$7, a as InputBoxSize } from './OrInputBox-53d1f66d.js';
|
|
11
|
-
import { _ as __vue_component__$6 } from './OrInput-
|
|
11
|
+
import { _ as __vue_component__$6 } from './OrInput-0b8a515c.js';
|
|
12
12
|
import { _ as __vue_component__$8 } from './OrLabel-0945a4d9.js';
|
|
13
13
|
import { _ as __vue_component__$9 } from './OrMenuItem-4f810513.js';
|
|
14
14
|
import { _ as __vue_component__$a } from './OrPopover-d5d4f62a.js';
|
|
15
|
-
import { _ as __vue_component__$b } from './OrTag-
|
|
15
|
+
import { _ as __vue_component__$b } from './OrTag-359c25b6.js';
|
|
16
16
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
17
17
|
|
|
18
18
|
const SelectRoot = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useDraggable, useElementBounding } from '@vueuse/core';
|
|
2
2
|
import _ from 'lodash';
|
|
3
3
|
import { defineComponent, ref, computed, useSlots, watch } from 'vue-demi';
|
|
4
|
-
import { O as OrSidebarPlacement, _ as __vue_component__$1 } from './OrSidebarCollapseButton-
|
|
4
|
+
import { O as OrSidebarPlacement, _ as __vue_component__$1 } from './OrSidebarCollapseButton-7483360e.js';
|
|
5
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
6
|
|
|
7
7
|
const SidebarRoot = [
|
|
@@ -109,12 +109,12 @@ const SidebarHeader = [
|
|
|
109
109
|
const SidebarContent = [
|
|
110
110
|
// Layout
|
|
111
111
|
'grow', 'overflow-auto',
|
|
112
|
-
//
|
|
112
|
+
// Spacing
|
|
113
113
|
'p-md'];
|
|
114
114
|
const SidebarFooter = [
|
|
115
115
|
// Layout
|
|
116
116
|
'shrink-0', 'overflow-x-hidden',
|
|
117
|
-
//
|
|
117
|
+
// Spacing
|
|
118
118
|
'p-md',
|
|
119
119
|
// Borders
|
|
120
120
|
'border-t-[1px]', 'border-t-solid', 'border-t-outline-variant dark:border-t-outline-variant-dark'];
|
package/dist/esm/v2/{OrSidebarCollapseButton-9aa87e80.js → OrSidebarCollapseButton-7483360e.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _ from 'lodash';
|
|
2
2
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
3
|
-
import { _ as __vue_component__$1 } from './OrIconButton-
|
|
3
|
+
import { _ as __vue_component__$1 } from './OrIconButton-612c64c4.js';
|
|
4
4
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
5
|
|
|
6
6
|
var OrSidebarPlacement;
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, reactive } from 'vue-demi';
|
|
|
2
2
|
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import { _ as __vue_component__$1, L as LabelVariant } from './OrLabel-0945a4d9.js';
|
|
5
|
-
import { _ as __vue_component__$2 } from './OrLoader-
|
|
5
|
+
import { _ as __vue_component__$2 } from './OrLoader-76307488.js';
|
|
6
6
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
7
7
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@ import { useResizeObserver } from '@vueuse/core';
|
|
|
2
2
|
import { defineComponent, ref, computed, reactive, watch, nextTick, onMounted } from 'vue-demi';
|
|
3
3
|
import { _ as __vue_component__$1 } from './OrIcon-c434985a.js';
|
|
4
4
|
import { _ as __vue_component__$3 } from './OrMenuItem-4f810513.js';
|
|
5
|
-
import { _ as __vue_component__$2 } from './OrMenu-
|
|
5
|
+
import { _ as __vue_component__$2 } from './OrMenu-943e7760.js';
|
|
6
6
|
import './OrPopover-d5d4f62a.js';
|
|
7
7
|
import { _ as __vue_component__$4 } from './OrTab-1ff87c76.js';
|
|
8
8
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watchPostEffect, unref } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$1 } from './OrIconButton-
|
|
2
|
+
import { _ as __vue_component__$1 } from './OrIconButton-612c64c4.js';
|
|
3
3
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
4
4
|
|
|
5
5
|
var TagVariant;
|
|
@@ -18,7 +18,7 @@ const TagRoot = [
|
|
|
18
18
|
// Layout
|
|
19
19
|
'layout-inline-row',
|
|
20
20
|
// Box
|
|
21
|
-
'max-w-
|
|
21
|
+
'max-w-min',
|
|
22
22
|
// Shape
|
|
23
23
|
'rounded-full',
|
|
24
24
|
// Spacing
|
|
@@ -5,10 +5,12 @@ import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
|
5
5
|
|
|
6
6
|
const TooltipRoot = [
|
|
7
7
|
// Layout
|
|
8
|
-
'
|
|
8
|
+
'inline-block'];
|
|
9
9
|
const TooltipBody = [
|
|
10
10
|
// Layout
|
|
11
11
|
'layout-inline-row',
|
|
12
|
+
// Box
|
|
13
|
+
'max-w-min',
|
|
12
14
|
// Shape
|
|
13
15
|
'rounded-sm',
|
|
14
16
|
// Spacing
|