@onereach/ui-components 2.72.2-beta.2279.0 → 2.73.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/{OrAvatar-f2b1ee1c.js → OrAvatar-586e417b.js} +1 -1
- package/dist/bundled/v2/{OrCardCollection-8ba1c77b.js → OrCardCollection-4ac89ea5.js} +4 -4
- package/dist/bundled/v2/{OrConfirm-ab9fda87.js → OrConfirm-8c0e957d.js} +1 -1
- package/dist/bundled/v2/{OrErrorTag-4675604d.js → OrErrorTag-97a9112b.js} +1 -1
- package/dist/bundled/v2/{OrExpansionPanel-8968da49.js → OrExpansionPanel-96b8f568.js} +1 -1
- package/dist/bundled/v2/{OrFab-a2e49eaa.js → OrFab-ed69dee1.js} +1 -1
- package/dist/bundled/v2/{OrIcon-2efd1925.js → OrIcon-458206aa.js} +1 -3
- package/dist/bundled/v2/{OrIconButton-876b6351.js → OrIconButton-837d57f8.js} +1 -1
- package/dist/bundled/v2/{OrInlineInput-7a230176.js → OrInlineInput-57fccb41.js} +1 -1
- package/dist/bundled/v2/{OrInlineTextarea-97334f79.js → OrInlineTextarea-f8b86cf7.js} +1 -1
- package/dist/bundled/v2/{OrInput-2f499599.js → OrInput-00070eee.js} +2 -2
- package/dist/bundled/v2/{OrMenuItem-f295292e.js → OrMenuItem-e2693a5f.js} +1 -1
- package/dist/bundled/v2/{OrModal-83900091.js → OrModal-78f5d49e.js} +1 -1
- package/dist/bundled/v2/{OrNotification-708ce1db.js → OrNotification-458fe937.js} +2 -2
- package/dist/bundled/v2/{OrPagination-e34482ef.js → OrPagination-daf25de2.js} +2 -2
- package/dist/bundled/v2/{OrSearch-bb66a66c.js → OrSearch-09fd004c.js} +1 -1
- package/dist/bundled/v2/{OrSelect-54a0b737.js → OrSelect-2ececfc1.js} +6 -8
- package/dist/bundled/v2/{OrSidebar-c95ef614.js → OrSidebar-a2bc21b9.js} +155 -34
- package/dist/bundled/v2/OrSidebarCollapseButton-8297ef86.js +125 -0
- package/dist/bundled/v2/{OrSortHeader-b1b961fc.js → OrSortHeader-565ace92.js} +1 -1
- package/dist/bundled/v2/{OrTabs-9fc1ac93.js → OrTabs-d69780fc.js} +2 -2
- package/dist/bundled/v2/{OrTag-3e442bf6.js → OrTag-4085e8a7.js} +1 -1
- package/dist/bundled/v2/components/index.js +23 -22
- package/dist/bundled/v2/components/or-avatar-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +6 -6
- package/dist/bundled/v2/components/or-confirm-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-error-tag-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-expansion-panel-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-fab-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-icon-button-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-icon-v3/index.js +1 -1
- 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 +3 -3
- package/dist/bundled/v2/components/or-menu-item-v3/index.js +2 -2
- 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/index.js +3 -3
- package/dist/bundled/v2/components/or-search-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-select-v3/index.js +7 -7
- package/dist/bundled/v2/components/or-sidebar-v3/OrSidebar.stories3.d.ts +36 -1
- package/dist/bundled/v2/components/or-sidebar-v3/OrSidebar.vue.d.ts +49 -4
- package/dist/bundled/v2/components/or-sidebar-v3/index.js +13 -1
- package/dist/bundled/v2/components/or-sidebar-v3/partials/index.d.ts +1 -0
- package/dist/bundled/v2/components/or-sidebar-v3/partials/index.js +18 -0
- package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.stories3.d.ts +12 -0
- package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +53 -0
- package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +1 -0
- package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +18 -0
- package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +2 -0
- package/dist/bundled/v2/components/or-sidebar-v3/styles.d.ts +7 -1
- package/dist/bundled/v2/components/or-sort-header-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 +3 -3
- package/dist/bundled/v2/components/or-toast-v3/index.js +3 -3
- package/dist/bundled/v2/index.js +24 -23
- package/dist/bundled/v2/{types-b0d25b49.js → types-309b7b94.js} +1 -1
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-75c23e62.js → OrAvatar.vue_vue_type_script_lang-582e74ae.js} +2 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-0a1b0f0f.js → OrCardCollection.vue_vue_type_script_lang-f76c3264.js} +7 -7
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-ef8f1f5d.js → OrConfirm.vue_vue_type_script_lang-eb2bfce2.js} +2 -2
- package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-bfa4c580.js → OrErrorTag.vue_vue_type_script_lang-e2fe7ca9.js} +2 -2
- package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-cd3b6d36.js → OrExpansionPanel.vue_vue_type_script_lang-2cc8964c.js} +2 -2
- package/dist/bundled/v3/{OrFab.vue_vue_type_script_lang-8f76f6b1.js → OrFab.vue_vue_type_script_lang-0fe4a921.js} +2 -2
- package/dist/bundled/v3/{OrIcon-0239fc17.js → OrIcon-1a5c9091.js} +1 -1
- package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-6a85c6c6.js → OrIcon.vue_vue_type_script_lang-bdbaad94.js} +1 -3
- package/dist/bundled/v3/{OrIconButton-59bc1d54.js → OrIconButton-e0566ecf.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-efefd119.js → OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js} +2 -2
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-da4198ec.js → OrInlineInput.vue_vue_type_script_lang-49ce3308.js} +2 -2
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a7f62f75.js → OrInlineTextarea.vue_vue_type_script_lang-8fd761d7.js} +2 -2
- package/dist/bundled/v3/{OrInput-dde27420.js → OrInput-dcf2606e.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-71f6dede.js → OrInput.vue_vue_type_script_lang-27220623.js} +4 -4
- package/dist/bundled/v3/{OrMenuItem-1917f51a.js → OrMenuItem-807e2a49.js} +1 -1
- package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-0b643c00.js → OrMenuItem.vue_vue_type_script_lang-2400ec2a.js} +2 -2
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-07249365.js → OrModal.vue_vue_type_script_lang-6b1dc231.js} +2 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-f308ec11.js → OrNotification.vue_vue_type_script_lang-d0afc1d7.js} +4 -4
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-4d27d8b8.js → OrPagination.vue_vue_type_script_lang-f64827ef.js} +4 -4
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-eaad7c05.js → OrSearch.vue_vue_type_script_lang-c054c8db.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-ca25de68.js → OrSelect.vue_vue_type_script_lang-7fd5e2f0.js} +9 -11
- package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-7f3f1a16.js +291 -0
- package/dist/bundled/v3/OrSidebarCollapseButton.vue_vue_type_script_lang-9aeba2d4.js +75 -0
- package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-85238e0a.js → OrSortHeader.vue_vue_type_script_lang-a20eae87.js} +2 -2
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-f3b84f9d.js → OrTabs.vue_vue_type_script_lang-cb550e87.js} +4 -4
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-89d99975.js → OrTag.vue_vue_type_script_lang-a25a49ee.js} +2 -2
- package/dist/bundled/v3/{OrToastContainer-3dfed0e6.js → OrToastContainer-6fe12712.js} +1 -1
- package/dist/bundled/v3/components/index.js +27 -26
- package/dist/bundled/v3/components/or-avatar-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +10 -10
- package/dist/bundled/v3/components/or-confirm-v3/index.js +7 -7
- package/dist/bundled/v3/components/or-error-tag-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-expansion-panel-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-fab-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-icon-button-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-icon-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-input-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-menu-item-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-modal-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-notification-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-pagination-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-search-v3/index.js +7 -7
- package/dist/bundled/v3/components/or-select-v3/index.js +11 -11
- package/dist/bundled/v3/components/or-sidebar-v3/OrSidebar.stories3.d.ts +36 -1
- package/dist/bundled/v3/components/or-sidebar-v3/OrSidebar.vue.d.ts +49 -4
- package/dist/bundled/v3/components/or-sidebar-v3/index.js +16 -2
- package/dist/bundled/v3/components/or-sidebar-v3/partials/index.d.ts +1 -0
- package/dist/bundled/v3/components/or-sidebar-v3/partials/index.js +17 -0
- package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.stories3.d.ts +12 -0
- package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +53 -0
- package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +1 -0
- package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +17 -0
- package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +2 -0
- package/dist/bundled/v3/components/or-sidebar-v3/styles.d.ts +7 -1
- package/dist/bundled/v3/components/or-sort-header-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 +5 -5
- package/dist/bundled/v3/components/or-toast-v3/index.js +6 -6
- package/dist/bundled/v3/index.js +65 -48
- package/dist/bundled/v3/{types-dd2c3bf1.js → types-22fbf9d6.js} +2 -2
- package/dist/esm/v2/{OrAvatar-ca3a1268.js → OrAvatar-379ac72f.js} +1 -1
- package/dist/esm/v2/{OrCardCollection-409f2437.js → OrCardCollection-5a9eda35.js} +4 -4
- package/dist/esm/v2/{OrConfirm-08185678.js → OrConfirm-9dbdedd7.js} +1 -1
- package/dist/esm/v2/{OrErrorTag-7cd5dc68.js → OrErrorTag-80f82cdf.js} +1 -1
- package/dist/esm/v2/{OrExpansionPanel-0a12d957.js → OrExpansionPanel-729eb1e7.js} +1 -1
- package/dist/esm/v2/{OrFab-d5a37b22.js → OrFab-1d095e33.js} +1 -1
- package/dist/esm/v2/{OrIcon-c434985a.js → OrIcon-f34e0e6f.js} +1 -3
- package/dist/esm/v2/{OrIconButton-c8bb635e.js → OrIconButton-04a3566d.js} +1 -1
- package/dist/esm/v2/{OrInlineInput-d9bbdaf2.js → OrInlineInput-b85b84b4.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-f7378459.js → OrInlineTextarea-afd33047.js} +1 -1
- package/dist/esm/v2/{OrInput-ca315c4e.js → OrInput-59a15d80.js} +2 -2
- package/dist/esm/v2/{OrMenuItem-4f810513.js → OrMenuItem-7b7fbf8a.js} +1 -1
- package/dist/esm/v2/{OrModal-7ca36163.js → OrModal-4e79e0d5.js} +1 -1
- package/dist/esm/v2/{OrNotification-2013cadf.js → OrNotification-eac3867f.js} +2 -2
- package/dist/esm/v2/{OrPagination-c2653bd1.js → OrPagination-1adbcadb.js} +2 -2
- package/dist/esm/v2/{OrSearch-fc4cfb78.js → OrSearch-7411388b.js} +1 -1
- package/dist/esm/v2/{OrSelect-2d04591d.js → OrSelect-e31d1c8b.js} +6 -8
- package/dist/esm/v2/{OrSidebar-fabc7bc9.js → OrSidebar-27236fbd.js} +155 -34
- package/dist/esm/v2/OrSidebarCollapseButton-cfe51a60.js +123 -0
- package/dist/esm/v2/{OrSortHeader-ffe6bc57.js → OrSortHeader-592727dc.js} +1 -1
- package/dist/esm/v2/{OrTabs-2992f88f.js → OrTabs-96b0473d.js} +2 -2
- package/dist/esm/v2/{OrTag-920c6371.js → OrTag-b2906865.js} +1 -1
- package/dist/esm/v2/components/index.js +23 -22
- package/dist/esm/v2/components/or-avatar-v3/index.js +2 -2
- package/dist/esm/v2/components/or-card-collection-v3/index.js +6 -6
- package/dist/esm/v2/components/or-confirm-v3/index.js +4 -4
- package/dist/esm/v2/components/or-error-tag-v3/index.js +2 -2
- package/dist/esm/v2/components/or-expansion-panel-v3/index.js +2 -2
- package/dist/esm/v2/components/or-fab-v3/index.js +2 -2
- package/dist/esm/v2/components/or-icon-button-v3/index.js +2 -2
- package/dist/esm/v2/components/or-icon-v3/index.js +1 -1
- 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 +3 -3
- package/dist/esm/v2/components/or-menu-item-v3/index.js +2 -2
- 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/index.js +3 -3
- package/dist/esm/v2/components/or-search-v3/index.js +4 -4
- package/dist/esm/v2/components/or-select-v3/index.js +7 -7
- package/dist/esm/v2/components/or-sidebar-v3/OrSidebar.stories3.d.ts +36 -1
- package/dist/esm/v2/components/or-sidebar-v3/OrSidebar.vue.d.ts +49 -4
- package/dist/esm/v2/components/or-sidebar-v3/index.js +13 -1
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.d.ts +1 -0
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +16 -0
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.stories3.d.ts +12 -0
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +53 -0
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +1 -0
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +16 -0
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +2 -0
- package/dist/esm/v2/components/or-sidebar-v3/styles.d.ts +7 -1
- package/dist/esm/v2/components/or-sort-header-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 +3 -3
- package/dist/esm/v2/components/or-toast-v3/index.js +3 -3
- package/dist/esm/v2/index.js +23 -22
- package/dist/esm/v2/{types-38818808.js → types-1f95d710.js} +1 -1
- package/dist/esm/v3/{OrAvatar-0dbd8be8.js → OrAvatar-6444e693.js} +1 -1
- package/dist/esm/v3/{OrCardCollection-433b2d98.js → OrCardCollection-e4fde5b4.js} +4 -4
- package/dist/esm/v3/{OrConfirm-1facf86d.js → OrConfirm-37454a63.js} +1 -1
- package/dist/esm/v3/{OrErrorTag-0025b17c.js → OrErrorTag-308119de.js} +1 -1
- package/dist/esm/v3/{OrExpansionPanel-541cc4c1.js → OrExpansionPanel-3a4282da.js} +1 -1
- package/dist/esm/v3/{OrFab-588291bf.js → OrFab-61131b31.js} +1 -1
- package/dist/esm/v3/{OrIcon-ea40e58c.js → OrIcon-34f59f73.js} +1 -3
- package/dist/esm/v3/{OrIconButton-3d32cdcf.js → OrIconButton-2dcfb83e.js} +1 -1
- package/dist/esm/v3/{OrInlineInput-72effa88.js → OrInlineInput-fbc35f85.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-0bb8ef1c.js → OrInlineTextarea-79da8697.js} +1 -1
- package/dist/esm/v3/{OrInput-b4347f58.js → OrInput-bd054213.js} +2 -2
- package/dist/esm/v3/{OrMenuItem-de91aded.js → OrMenuItem-58707d47.js} +1 -1
- package/dist/esm/v3/{OrModal-a5fa8240.js → OrModal-4219a6dc.js} +1 -1
- package/dist/esm/v3/{OrNotification-8f34d624.js → OrNotification-0e682c7f.js} +2 -2
- package/dist/esm/v3/{OrPagination-7b240dec.js → OrPagination-da9e5017.js} +2 -2
- package/dist/esm/v3/{OrSearch-88563218.js → OrSearch-5406bf03.js} +1 -1
- package/dist/esm/v3/{OrSelect-131cce4e.js → OrSelect-466e50ca.js} +6 -8
- package/dist/esm/v3/OrSidebar-61d84c3e.js +313 -0
- package/dist/esm/v3/OrSidebarCollapseButton-1b9c83ef.js +94 -0
- package/dist/esm/v3/{OrSortHeader-f66dcb37.js → OrSortHeader-a39f77f9.js} +1 -1
- package/dist/esm/v3/{OrTabs-80cbb3b9.js → OrTabs-328d41b9.js} +2 -2
- package/dist/esm/v3/{OrTag-1d3fa09e.js → OrTag-148ff9ae.js} +1 -1
- package/dist/esm/v3/components/index.js +23 -22
- package/dist/esm/v3/components/or-avatar-v3/index.js +2 -2
- package/dist/esm/v3/components/or-card-collection-v3/index.js +6 -6
- package/dist/esm/v3/components/or-confirm-v3/index.js +4 -4
- package/dist/esm/v3/components/or-error-tag-v3/index.js +2 -2
- package/dist/esm/v3/components/or-expansion-panel-v3/index.js +2 -2
- package/dist/esm/v3/components/or-fab-v3/index.js +2 -2
- package/dist/esm/v3/components/or-icon-button-v3/index.js +2 -2
- package/dist/esm/v3/components/or-icon-v3/index.js +1 -1
- 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 +3 -3
- package/dist/esm/v3/components/or-menu-item-v3/index.js +2 -2
- 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/index.js +3 -3
- package/dist/esm/v3/components/or-search-v3/index.js +4 -4
- package/dist/esm/v3/components/or-select-v3/index.js +7 -7
- package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.stories3.d.ts +36 -1
- package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.vue.d.ts +49 -4
- package/dist/esm/v3/components/or-sidebar-v3/index.js +12 -1
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.d.ts +1 -0
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +15 -0
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.stories3.d.ts +12 -0
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +53 -0
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +1 -0
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +15 -0
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +2 -0
- package/dist/esm/v3/components/or-sidebar-v3/styles.d.ts +7 -1
- package/dist/esm/v3/components/or-sort-header-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 +3 -3
- package/dist/esm/v3/components/or-toast-v3/index.js +3 -3
- package/dist/esm/v3/index.js +23 -22
- package/dist/esm/v3/{types-4e316bd3.js → types-b79e4387.js} +1 -1
- package/package.json +3 -2
- package/src/components/or-icon-v3/styles.ts +0 -3
- package/src/components/or-select-v3/styles.ts +0 -3
- package/src/components/or-sidebar-v3/OrSidebar.docs.mdx +6 -0
- package/src/components/or-sidebar-v3/OrSidebar.stories3.ts +253 -12
- package/src/components/or-sidebar-v3/OrSidebar.vue +130 -23
- package/src/components/or-sidebar-v3/partials/index.ts +1 -0
- package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.stories3.ts +48 -0
- package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue +79 -0
- package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.ts +1 -0
- package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.ts +50 -0
- package/src/components/or-sidebar-v3/styles.ts +114 -9
- package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-ce0b152c.js +0 -181
- package/dist/esm/v3/OrSidebar-a62972f5.js +0 -206
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
import { useDraggable, useElementBounding } from '@vueuse/core';
|
|
2
|
-
import _ from 'lodash';
|
|
3
|
-
import { defineComponent, ref, computed, watch } from 'vue';
|
|
4
|
-
|
|
5
|
-
var OrSidebarPlacement;
|
|
6
|
-
(function (OrSidebarPlacement) {
|
|
7
|
-
OrSidebarPlacement["left"] = "left";
|
|
8
|
-
OrSidebarPlacement["right"] = "right";
|
|
9
|
-
})(OrSidebarPlacement || (OrSidebarPlacement = {}));
|
|
10
|
-
|
|
11
|
-
const SidebarRoot = [
|
|
12
|
-
// Position
|
|
13
|
-
'relative',
|
|
14
|
-
// Layout
|
|
15
|
-
'flex', 'flex-col', 'shrink-0',
|
|
16
|
-
// Box
|
|
17
|
-
'min-h-0', 'p-0'];
|
|
18
|
-
const SidebarRootSides = {
|
|
19
|
-
[OrSidebarPlacement.left]: [
|
|
20
|
-
// Borders
|
|
21
|
-
'border-r-[1px]', 'border-r-solid', 'border-r-secondary dark:border-r-secondary-dark'],
|
|
22
|
-
[OrSidebarPlacement.right]: [
|
|
23
|
-
// Borders
|
|
24
|
-
'border-l-[1px]', 'border-l-solid', 'border-l-secondary dark:border-l-secondary-dark']
|
|
25
|
-
};
|
|
26
|
-
const SidebarResize = [
|
|
27
|
-
// Position
|
|
28
|
-
'absolute', 'inset-y-none', 'z-[1]',
|
|
29
|
-
// Box
|
|
30
|
-
'w-[12px]', 'h-[100%]',
|
|
31
|
-
// Cursor
|
|
32
|
-
'cursor-ew-resize'];
|
|
33
|
-
const SidebarResizeSides = {
|
|
34
|
-
[OrSidebarPlacement.left]: [
|
|
35
|
-
// Position
|
|
36
|
-
'-right-[1px]',
|
|
37
|
-
// Borders
|
|
38
|
-
'hover:border-r-2', 'hover:border-r-primary hover:dark:border-r-primary-dark',
|
|
39
|
-
// Transition
|
|
40
|
-
'transition-[border-right]'],
|
|
41
|
-
[OrSidebarPlacement.right]: [
|
|
42
|
-
// Position
|
|
43
|
-
'-left-[1px]',
|
|
44
|
-
// Borders
|
|
45
|
-
'hover:border-l-2', 'hover:border-l-primary hover:dark:border-l-primary-dark',
|
|
46
|
-
// Transition
|
|
47
|
-
'transition-[border-left]']
|
|
48
|
-
};
|
|
49
|
-
const SidebarResizingSides = {
|
|
50
|
-
[OrSidebarPlacement.left]: [
|
|
51
|
-
// Borders
|
|
52
|
-
'border-r-2', 'border-r-primary dark:border-r-primary-dark'],
|
|
53
|
-
[OrSidebarPlacement.right]: [
|
|
54
|
-
// Borders
|
|
55
|
-
'border-l-2', 'border-l-primary dark:border-l-primary-dark']
|
|
56
|
-
};
|
|
57
|
-
const SidebarMain = [
|
|
58
|
-
// Layout
|
|
59
|
-
'flex', 'flex-col', 'grow',
|
|
60
|
-
// Box
|
|
61
|
-
'min-h-0'];
|
|
62
|
-
const SidebarHeader = [
|
|
63
|
-
// Sizing
|
|
64
|
-
'p-md'];
|
|
65
|
-
const SidebarContent = [
|
|
66
|
-
// Layout
|
|
67
|
-
'grow', 'overflow-auto',
|
|
68
|
-
// Sizing
|
|
69
|
-
'p-md'];
|
|
70
|
-
const SidebarFooter = [
|
|
71
|
-
// Sizing
|
|
72
|
-
'p-md',
|
|
73
|
-
// Borders
|
|
74
|
-
'border-t-[1px]', 'border-t-solid', 'border-t-secondary dark:border-t-secondary-dark'];
|
|
75
|
-
|
|
76
|
-
var script = defineComponent({
|
|
77
|
-
name: 'OrSidebar',
|
|
78
|
-
props: {
|
|
79
|
-
width: {
|
|
80
|
-
type: Number,
|
|
81
|
-
required: false,
|
|
82
|
-
default: 0,
|
|
83
|
-
validator: value => _.isNumber(value) && value >= 0
|
|
84
|
-
},
|
|
85
|
-
minimumWidth: {
|
|
86
|
-
type: Number,
|
|
87
|
-
required: false,
|
|
88
|
-
default: 350,
|
|
89
|
-
validator: value => _.isNumber(value) && value >= 0
|
|
90
|
-
},
|
|
91
|
-
/**
|
|
92
|
-
* User may put the component on the right or the left side of a container.
|
|
93
|
-
* This property mirrors the resizing behavior (drag direction) and styling (horizontal border) of the sidebar.
|
|
94
|
-
*
|
|
95
|
-
* Note: the property doesn't reposition the component in the parent container.
|
|
96
|
-
* @values left, right
|
|
97
|
-
*/
|
|
98
|
-
side: {
|
|
99
|
-
type: String,
|
|
100
|
-
default: OrSidebarPlacement.right,
|
|
101
|
-
validator: value => _.includes(_.values(OrSidebarPlacement), value)
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
emits: ['change:width'],
|
|
105
|
-
setup(props, {
|
|
106
|
-
emit
|
|
107
|
-
}) {
|
|
108
|
-
// Refs
|
|
109
|
-
const root = ref();
|
|
110
|
-
const resizeBar = ref(null);
|
|
111
|
-
const parentContainer = computed(() => {
|
|
112
|
-
var _a;
|
|
113
|
-
return (_a = root.value) === null || _a === void 0 ? void 0 : _a.parentElement;
|
|
114
|
-
});
|
|
115
|
-
// State
|
|
116
|
-
const startPositionX = ref(0);
|
|
117
|
-
const isResizing = ref(false);
|
|
118
|
-
const localWidth = ref(props.width >= props.minimumWidth ? props.width : props.minimumWidth);
|
|
119
|
-
// Styles
|
|
120
|
-
const sidebarStyle = computed(() => ({
|
|
121
|
-
width: localWidth.value + 'px'
|
|
122
|
-
}));
|
|
123
|
-
const rootStyles = computed(() => ['or-sidebar', ...SidebarRoot, ...SidebarRootSides[props.side]]);
|
|
124
|
-
const resizeStyles = computed(() => [...SidebarResize, ...SidebarResizeSides[props.side], ...(isResizing.value ? SidebarResizingSides[props.side] : [])]);
|
|
125
|
-
const mainStyles = computed(() => [...SidebarMain]);
|
|
126
|
-
const headerStyles = computed(() => [...SidebarHeader]);
|
|
127
|
-
const contentStyles = computed(() => [...SidebarContent]);
|
|
128
|
-
const footerStyles = computed(() => [...SidebarFooter]);
|
|
129
|
-
// Effects
|
|
130
|
-
useDraggable(resizeBar, {
|
|
131
|
-
preventDefault: true,
|
|
132
|
-
onStart: (position, event) => {
|
|
133
|
-
document.body.style.cursor = 'ew-resize';
|
|
134
|
-
document.body.style.userSelect = 'none';
|
|
135
|
-
startPositionX.value = event.x;
|
|
136
|
-
isResizing.value = true;
|
|
137
|
-
},
|
|
138
|
-
onMove: position => {
|
|
139
|
-
const delta = (position.x - startPositionX.value) * (props.side === OrSidebarPlacement.left ? -1 : 1);
|
|
140
|
-
const newWidth = localWidth.value - delta;
|
|
141
|
-
localWidth.value = newWidth > maximumWidth.value ? maximumWidth.value : newWidth < props.minimumWidth ? props.minimumWidth : newWidth;
|
|
142
|
-
startPositionX.value = position.x;
|
|
143
|
-
},
|
|
144
|
-
onEnd: () => {
|
|
145
|
-
document.body.style.cursor = '';
|
|
146
|
-
document.body.style.userSelect = '';
|
|
147
|
-
isResizing.value = false;
|
|
148
|
-
}
|
|
149
|
-
});
|
|
150
|
-
const {
|
|
151
|
-
width: maximumWidth
|
|
152
|
-
} = useElementBounding(parentContainer);
|
|
153
|
-
watch(() => props.width, newValue => {
|
|
154
|
-
if (newValue !== localWidth.value) {
|
|
155
|
-
localWidth.value = newValue > maximumWidth.value ? maximumWidth.value : newValue < props.minimumWidth ? props.minimumWidth : newValue;
|
|
156
|
-
}
|
|
157
|
-
});
|
|
158
|
-
watch(() => props.minimumWidth, newMinimum => {
|
|
159
|
-
if (newMinimum > localWidth.value) localWidth.value = newMinimum;
|
|
160
|
-
});
|
|
161
|
-
watch(maximumWidth, newMaximum => {
|
|
162
|
-
if (newMaximum < localWidth.value) localWidth.value = newMaximum;
|
|
163
|
-
});
|
|
164
|
-
watch(localWidth, val => emit('change:width', val));
|
|
165
|
-
return {
|
|
166
|
-
root,
|
|
167
|
-
resizeBar,
|
|
168
|
-
isResizing,
|
|
169
|
-
localWidth,
|
|
170
|
-
sidebarStyle,
|
|
171
|
-
rootStyles,
|
|
172
|
-
resizeStyles,
|
|
173
|
-
mainStyles,
|
|
174
|
-
headerStyles,
|
|
175
|
-
contentStyles,
|
|
176
|
-
footerStyles
|
|
177
|
-
};
|
|
178
|
-
}
|
|
179
|
-
});
|
|
180
|
-
|
|
181
|
-
export { OrSidebarPlacement as O, script as s };
|
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
import { useDraggable, useElementBounding } from '@vueuse/core';
|
|
2
|
-
import _ from 'lodash';
|
|
3
|
-
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
4
|
-
import { openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot, createCommentVNode } from 'vue';
|
|
5
|
-
|
|
6
|
-
var OrSidebarPlacement;
|
|
7
|
-
(function (OrSidebarPlacement) {
|
|
8
|
-
OrSidebarPlacement["left"] = "left";
|
|
9
|
-
OrSidebarPlacement["right"] = "right";
|
|
10
|
-
})(OrSidebarPlacement || (OrSidebarPlacement = {}));
|
|
11
|
-
|
|
12
|
-
const SidebarRoot = [
|
|
13
|
-
// Position
|
|
14
|
-
'relative',
|
|
15
|
-
// Layout
|
|
16
|
-
'flex', 'flex-col', 'shrink-0',
|
|
17
|
-
// Box
|
|
18
|
-
'min-h-0', 'p-0'];
|
|
19
|
-
const SidebarRootSides = {
|
|
20
|
-
[OrSidebarPlacement.left]: [
|
|
21
|
-
// Borders
|
|
22
|
-
'border-r-[1px]', 'border-r-solid', 'border-r-secondary dark:border-r-secondary-dark'],
|
|
23
|
-
[OrSidebarPlacement.right]: [
|
|
24
|
-
// Borders
|
|
25
|
-
'border-l-[1px]', 'border-l-solid', 'border-l-secondary dark:border-l-secondary-dark']
|
|
26
|
-
};
|
|
27
|
-
const SidebarResize = [
|
|
28
|
-
// Position
|
|
29
|
-
'absolute', 'inset-y-none', 'z-[1]',
|
|
30
|
-
// Box
|
|
31
|
-
'w-[12px]', 'h-[100%]',
|
|
32
|
-
// Cursor
|
|
33
|
-
'cursor-ew-resize'];
|
|
34
|
-
const SidebarResizeSides = {
|
|
35
|
-
[OrSidebarPlacement.left]: [
|
|
36
|
-
// Position
|
|
37
|
-
'-right-[1px]',
|
|
38
|
-
// Borders
|
|
39
|
-
'hover:border-r-2', 'hover:border-r-primary hover:dark:border-r-primary-dark',
|
|
40
|
-
// Transition
|
|
41
|
-
'transition-[border-right]'],
|
|
42
|
-
[OrSidebarPlacement.right]: [
|
|
43
|
-
// Position
|
|
44
|
-
'-left-[1px]',
|
|
45
|
-
// Borders
|
|
46
|
-
'hover:border-l-2', 'hover:border-l-primary hover:dark:border-l-primary-dark',
|
|
47
|
-
// Transition
|
|
48
|
-
'transition-[border-left]']
|
|
49
|
-
};
|
|
50
|
-
const SidebarResizingSides = {
|
|
51
|
-
[OrSidebarPlacement.left]: [
|
|
52
|
-
// Borders
|
|
53
|
-
'border-r-2', 'border-r-primary dark:border-r-primary-dark'],
|
|
54
|
-
[OrSidebarPlacement.right]: [
|
|
55
|
-
// Borders
|
|
56
|
-
'border-l-2', 'border-l-primary dark:border-l-primary-dark']
|
|
57
|
-
};
|
|
58
|
-
const SidebarMain = [
|
|
59
|
-
// Layout
|
|
60
|
-
'flex', 'flex-col', 'grow',
|
|
61
|
-
// Box
|
|
62
|
-
'min-h-0'];
|
|
63
|
-
const SidebarHeader = [
|
|
64
|
-
// Sizing
|
|
65
|
-
'p-md'];
|
|
66
|
-
const SidebarContent = [
|
|
67
|
-
// Layout
|
|
68
|
-
'grow', 'overflow-auto',
|
|
69
|
-
// Sizing
|
|
70
|
-
'p-md'];
|
|
71
|
-
const SidebarFooter = [
|
|
72
|
-
// Sizing
|
|
73
|
-
'p-md',
|
|
74
|
-
// Borders
|
|
75
|
-
'border-t-[1px]', 'border-t-solid', 'border-t-secondary dark:border-t-secondary-dark'];
|
|
76
|
-
|
|
77
|
-
var script = defineComponent({
|
|
78
|
-
name: 'OrSidebar',
|
|
79
|
-
props: {
|
|
80
|
-
width: {
|
|
81
|
-
type: Number,
|
|
82
|
-
required: false,
|
|
83
|
-
default: 0,
|
|
84
|
-
validator: value => _.isNumber(value) && value >= 0
|
|
85
|
-
},
|
|
86
|
-
minimumWidth: {
|
|
87
|
-
type: Number,
|
|
88
|
-
required: false,
|
|
89
|
-
default: 350,
|
|
90
|
-
validator: value => _.isNumber(value) && value >= 0
|
|
91
|
-
},
|
|
92
|
-
/**
|
|
93
|
-
* User may put the component on the right or the left side of a container.
|
|
94
|
-
* This property mirrors the resizing behavior (drag direction) and styling (horizontal border) of the sidebar.
|
|
95
|
-
*
|
|
96
|
-
* Note: the property doesn't reposition the component in the parent container.
|
|
97
|
-
* @values left, right
|
|
98
|
-
*/
|
|
99
|
-
side: {
|
|
100
|
-
type: String,
|
|
101
|
-
default: OrSidebarPlacement.right,
|
|
102
|
-
validator: value => _.includes(_.values(OrSidebarPlacement), value)
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
emits: ['change:width'],
|
|
106
|
-
setup(props, {
|
|
107
|
-
emit
|
|
108
|
-
}) {
|
|
109
|
-
// Refs
|
|
110
|
-
const root = ref();
|
|
111
|
-
const resizeBar = ref(null);
|
|
112
|
-
const parentContainer = computed(() => {
|
|
113
|
-
var _a;
|
|
114
|
-
return (_a = root.value) === null || _a === void 0 ? void 0 : _a.parentElement;
|
|
115
|
-
});
|
|
116
|
-
// State
|
|
117
|
-
const startPositionX = ref(0);
|
|
118
|
-
const isResizing = ref(false);
|
|
119
|
-
const localWidth = ref(props.width >= props.minimumWidth ? props.width : props.minimumWidth);
|
|
120
|
-
// Styles
|
|
121
|
-
const sidebarStyle = computed(() => ({
|
|
122
|
-
width: localWidth.value + 'px'
|
|
123
|
-
}));
|
|
124
|
-
const rootStyles = computed(() => ['or-sidebar', ...SidebarRoot, ...SidebarRootSides[props.side]]);
|
|
125
|
-
const resizeStyles = computed(() => [...SidebarResize, ...SidebarResizeSides[props.side], ...(isResizing.value ? SidebarResizingSides[props.side] : [])]);
|
|
126
|
-
const mainStyles = computed(() => [...SidebarMain]);
|
|
127
|
-
const headerStyles = computed(() => [...SidebarHeader]);
|
|
128
|
-
const contentStyles = computed(() => [...SidebarContent]);
|
|
129
|
-
const footerStyles = computed(() => [...SidebarFooter]);
|
|
130
|
-
// Effects
|
|
131
|
-
useDraggable(resizeBar, {
|
|
132
|
-
preventDefault: true,
|
|
133
|
-
onStart: (position, event) => {
|
|
134
|
-
document.body.style.cursor = 'ew-resize';
|
|
135
|
-
document.body.style.userSelect = 'none';
|
|
136
|
-
startPositionX.value = event.x;
|
|
137
|
-
isResizing.value = true;
|
|
138
|
-
},
|
|
139
|
-
onMove: position => {
|
|
140
|
-
const delta = (position.x - startPositionX.value) * (props.side === OrSidebarPlacement.left ? -1 : 1);
|
|
141
|
-
const newWidth = localWidth.value - delta;
|
|
142
|
-
localWidth.value = newWidth > maximumWidth.value ? maximumWidth.value : newWidth < props.minimumWidth ? props.minimumWidth : newWidth;
|
|
143
|
-
startPositionX.value = position.x;
|
|
144
|
-
},
|
|
145
|
-
onEnd: () => {
|
|
146
|
-
document.body.style.cursor = '';
|
|
147
|
-
document.body.style.userSelect = '';
|
|
148
|
-
isResizing.value = false;
|
|
149
|
-
}
|
|
150
|
-
});
|
|
151
|
-
const {
|
|
152
|
-
width: maximumWidth
|
|
153
|
-
} = useElementBounding(parentContainer);
|
|
154
|
-
watch(() => props.width, newValue => {
|
|
155
|
-
if (newValue !== localWidth.value) {
|
|
156
|
-
localWidth.value = newValue > maximumWidth.value ? maximumWidth.value : newValue < props.minimumWidth ? props.minimumWidth : newValue;
|
|
157
|
-
}
|
|
158
|
-
});
|
|
159
|
-
watch(() => props.minimumWidth, newMinimum => {
|
|
160
|
-
if (newMinimum > localWidth.value) localWidth.value = newMinimum;
|
|
161
|
-
});
|
|
162
|
-
watch(maximumWidth, newMaximum => {
|
|
163
|
-
if (newMaximum < localWidth.value) localWidth.value = newMaximum;
|
|
164
|
-
});
|
|
165
|
-
watch(localWidth, val => emit('change:width', val));
|
|
166
|
-
return {
|
|
167
|
-
root,
|
|
168
|
-
resizeBar,
|
|
169
|
-
isResizing,
|
|
170
|
-
localWidth,
|
|
171
|
-
sidebarStyle,
|
|
172
|
-
rootStyles,
|
|
173
|
-
resizeStyles,
|
|
174
|
-
mainStyles,
|
|
175
|
-
headerStyles,
|
|
176
|
-
contentStyles,
|
|
177
|
-
footerStyles
|
|
178
|
-
};
|
|
179
|
-
}
|
|
180
|
-
});
|
|
181
|
-
|
|
182
|
-
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
183
|
-
return openBlock(), createElementBlock("aside", {
|
|
184
|
-
ref: "root",
|
|
185
|
-
class: normalizeClass(_ctx.rootStyles),
|
|
186
|
-
style: normalizeStyle(_ctx.sidebarStyle)
|
|
187
|
-
}, [createElementVNode("div", {
|
|
188
|
-
ref: "resizeBar",
|
|
189
|
-
class: normalizeClass(_ctx.resizeStyles)
|
|
190
|
-
}, null, 2 /* CLASS */), createElementVNode("div", {
|
|
191
|
-
class: normalizeClass(_ctx.mainStyles)
|
|
192
|
-
}, [_ctx.$slots.header ? (openBlock(), createElementBlock("div", {
|
|
193
|
-
key: 0,
|
|
194
|
-
class: normalizeClass(_ctx.headerStyles)
|
|
195
|
-
}, [renderSlot(_ctx.$slots, "header")], 2 /* CLASS */)) : createCommentVNode("v-if", true), createElementVNode("div", {
|
|
196
|
-
class: normalizeClass(_ctx.contentStyles)
|
|
197
|
-
}, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */)], 2 /* CLASS */), _ctx.$slots.footer ? (openBlock(), createElementBlock("div", {
|
|
198
|
-
key: 0,
|
|
199
|
-
class: normalizeClass(_ctx.footerStyles)
|
|
200
|
-
}, [renderSlot(_ctx.$slots, "footer")], 2 /* CLASS */)) : createCommentVNode("v-if", true)], 6 /* CLASS, STYLE */);
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
script.render = render;
|
|
204
|
-
script.__file = "src/components/or-sidebar-v3/OrSidebar.vue";
|
|
205
|
-
|
|
206
|
-
export { OrSidebarPlacement as O, script as s };
|