@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,7 +1,7 @@
|
|
|
1
1
|
import { useToggle } from '@vueuse/core';
|
|
2
2
|
import './index-fa6eb4ca.js';
|
|
3
3
|
import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-3a3d4280.js';
|
|
4
|
-
import { O as OrIconButton } from './OrIconButton-
|
|
4
|
+
import { O as OrIconButton } from './OrIconButton-837d57f8.js';
|
|
5
5
|
import { O as OrLoader } from './OrLoader-864ef92a.js';
|
|
6
6
|
import { defineComponent, ref, computed, onBeforeMount, onBeforeUnmount, nextTick } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
7
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watchPostEffect } from 'vue';
|
|
2
2
|
import { h as hslToColorString, g as generateHslFromString } from './color-1f348774.js';
|
|
3
|
-
import './OrIcon-
|
|
4
|
-
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-
|
|
3
|
+
import './OrIcon-1a5c9091.js';
|
|
4
|
+
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-bdbaad94.js';
|
|
5
5
|
|
|
6
6
|
var AvatarSize;
|
|
7
7
|
(function (AvatarSize) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { resolveComponent, openBlock, createBlock, normalizeClass, defineComponent, computed, createElementBlock, Fragment, renderList, renderSlot, mergeProps, createTextVNode, toDisplayString, ref, watch } from 'vue';
|
|
2
|
-
import './OrIconButton-
|
|
3
|
-
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-
|
|
2
|
+
import './OrIconButton-e0566ecf.js';
|
|
3
|
+
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js';
|
|
4
4
|
import './OrButton-a1448bfa.js';
|
|
5
5
|
import './OrMenu-6d7abe97.js';
|
|
6
6
|
import { s as script$5 } from './OrMenu.vue_vue_type_script_lang-df35fd76.js';
|
|
7
|
-
import './OrMenuItem-
|
|
8
|
-
import { s as script$6 } from './OrMenuItem.vue_vue_type_script_lang-
|
|
9
|
-
import './OrIcon-
|
|
10
|
-
import { s as script$2 } from './OrSearch.vue_vue_type_script_lang-
|
|
7
|
+
import './OrMenuItem-807e2a49.js';
|
|
8
|
+
import { s as script$6 } from './OrMenuItem.vue_vue_type_script_lang-2400ec2a.js';
|
|
9
|
+
import './OrIcon-1a5c9091.js';
|
|
10
|
+
import { s as script$2 } from './OrSearch.vue_vue_type_script_lang-c054c8db.js';
|
|
11
11
|
import { s as script$4 } from './OrButton.vue_vue_type_script_lang-3b1e442b.js';
|
|
12
|
-
import { s as script$7 } from './OrIcon.vue_vue_type_script_lang-
|
|
12
|
+
import { s as script$7 } from './OrIcon.vue_vue_type_script_lang-bdbaad94.js';
|
|
13
13
|
|
|
14
14
|
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
15
15
|
const _component_OrInput = resolveComponent("OrInput");
|
|
@@ -3,10 +3,10 @@ import { l as logicAnd } from './index-01519e46.js';
|
|
|
3
3
|
import { defineComponent, ref, computed, watch } from 'vue';
|
|
4
4
|
import './OrBottomSheet.vue_vue_type_script_lang-bdef5ca2.js';
|
|
5
5
|
import './OrButton-a1448bfa.js';
|
|
6
|
-
import './OrInput-
|
|
6
|
+
import './OrInput-dcf2606e.js';
|
|
7
7
|
import { s as script$2, a as ButtonColor } from './OrButton.vue_vue_type_script_lang-3b1e442b.js';
|
|
8
8
|
import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-7edd25f6.js';
|
|
9
|
-
import { s as script$3 } from './OrInput.vue_vue_type_script_lang-
|
|
9
|
+
import { s as script$3 } from './OrInput.vue_vue_type_script_lang-27220623.js';
|
|
10
10
|
|
|
11
11
|
var ConfirmType;
|
|
12
12
|
(function (ConfirmType) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue';
|
|
2
|
-
import './OrIcon-
|
|
3
|
-
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-
|
|
2
|
+
import './OrIcon-1a5c9091.js';
|
|
3
|
+
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-bdbaad94.js';
|
|
4
4
|
|
|
5
5
|
const ErrorTagRoot = [
|
|
6
6
|
// Layout
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue';
|
|
2
|
-
import './OrIcon-
|
|
3
|
-
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-
|
|
2
|
+
import './OrIcon-1a5c9091.js';
|
|
3
|
+
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-bdbaad94.js';
|
|
4
4
|
|
|
5
5
|
var ExpansionPanelVariant;
|
|
6
6
|
(function (ExpansionPanelVariant) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue';
|
|
2
|
-
import './OrIcon-
|
|
3
|
-
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-
|
|
2
|
+
import './OrIcon-1a5c9091.js';
|
|
3
|
+
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-bdbaad94.js';
|
|
4
4
|
|
|
5
5
|
var FabColor;
|
|
6
6
|
(function (FabColor) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as script } from './OrIcon.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from './OrIcon.vue_vue_type_script_lang-bdbaad94.js';
|
|
2
2
|
import { openBlock, createElementBlock, normalizeClass, toDisplayString } from 'vue';
|
|
3
3
|
|
|
4
4
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as script } from './OrIconButton.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from './OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js';
|
|
2
2
|
import { resolveComponent, openBlock, createBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode, mergeProps, createVNode } from 'vue';
|
|
3
3
|
|
|
4
4
|
const _hoisted_1 = ["selected", "disabled"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createBlock, withCtx, createElementVNode, toDisplayString, createCommentVNode, defineComponent, ref, computed } from 'vue';
|
|
2
|
-
import './OrIcon-
|
|
2
|
+
import './OrIcon-1a5c9091.js';
|
|
3
3
|
import { s as script$1 } from './OrTooltip.vue_vue_type_script_lang-bf9935ef.js';
|
|
4
|
-
import { s as script$2, I as IconSize } from './OrIcon.vue_vue_type_script_lang-
|
|
4
|
+
import { s as script$2, I as IconSize } from './OrIcon.vue_vue_type_script_lang-bdbaad94.js';
|
|
5
5
|
|
|
6
6
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7
7
|
const _component_OrPopover = resolveComponent("OrPopover");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, reactive, watch } from 'vue';
|
|
2
2
|
import './OrHint-5d5e4d99.js';
|
|
3
|
-
import './OrIconButton-
|
|
3
|
+
import './OrIconButton-e0566ecf.js';
|
|
4
4
|
import './OrInlineInputBox-f92a09d6.js';
|
|
5
5
|
import { s as script$4, I as InlineInputBoxSize } from './OrInlineInputBox.vue_vue_type_script_lang-b1ae1f3d.js';
|
|
6
6
|
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-b2e42f31.js';
|
|
7
7
|
import { u as useValidationAttributes } from './useValidationAttributes-5428d8fa.js';
|
|
8
8
|
import { s as script$1 } from './OrError.vue_vue_type_script_lang-53648a65.js';
|
|
9
9
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-e322f61e.js';
|
|
10
|
-
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-
|
|
10
|
+
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js';
|
|
11
11
|
|
|
12
12
|
var InlineInputType;
|
|
13
13
|
(function (InlineInputType) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, reactive, watch } from 'vue';
|
|
2
2
|
import './OrHint-5d5e4d99.js';
|
|
3
|
-
import './OrIconButton-
|
|
3
|
+
import './OrIconButton-e0566ecf.js';
|
|
4
4
|
import './OrInlineInputBox-f92a09d6.js';
|
|
5
5
|
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-b2e42f31.js';
|
|
6
6
|
import { u as useValidationAttributes } from './useValidationAttributes-5428d8fa.js';
|
|
7
7
|
import { s as script$1 } from './OrError.vue_vue_type_script_lang-53648a65.js';
|
|
8
8
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-e322f61e.js';
|
|
9
|
-
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-
|
|
9
|
+
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js';
|
|
10
10
|
import { s as script$4 } from './OrInlineInputBox.vue_vue_type_script_lang-b1ae1f3d.js';
|
|
11
11
|
|
|
12
12
|
const InlineTextareaRoot = [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as script } from './OrInput.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from './OrInput.vue_vue_type_script_lang-27220623.js';
|
|
2
2
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelDynamic, withModifiers, Fragment, createSlots } from 'vue';
|
|
3
3
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
4
4
|
|
|
@@ -2,16 +2,16 @@ import { defineComponent, ref, computed, reactive } from 'vue';
|
|
|
2
2
|
import './OrHint-5d5e4d99.js';
|
|
3
3
|
import { s as script$1 } from './OrError.vue_vue_type_script_lang-53648a65.js';
|
|
4
4
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-e322f61e.js';
|
|
5
|
-
import './OrIcon-
|
|
6
|
-
import './OrIconButton-
|
|
5
|
+
import './OrIcon-1a5c9091.js';
|
|
6
|
+
import './OrIconButton-e0566ecf.js';
|
|
7
7
|
import './OrInputBox-4c7900c2.js';
|
|
8
8
|
import { s as script$5, a as InputBoxSize } from './OrInputBox.vue_vue_type_script_lang-47d98e81.js';
|
|
9
9
|
import './OrLabel-c556887e.js';
|
|
10
10
|
import { s as script$6 } from './OrLabel.vue_vue_type_script_lang-191d2304.js';
|
|
11
11
|
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-b2e42f31.js';
|
|
12
12
|
import { u as useValidationAttributes } from './useValidationAttributes-5428d8fa.js';
|
|
13
|
-
import { s as script$3 } from './OrIcon.vue_vue_type_script_lang-
|
|
14
|
-
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-
|
|
13
|
+
import { s as script$3 } from './OrIcon.vue_vue_type_script_lang-bdbaad94.js';
|
|
14
|
+
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js';
|
|
15
15
|
|
|
16
16
|
var InputType;
|
|
17
17
|
(function (InputType) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as script } from './OrMenuItem.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from './OrMenuItem.vue_vue_type_script_lang-2400ec2a.js';
|
|
2
2
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, normalizeProps, mergeProps, createCommentVNode, createElementVNode, renderSlot } from 'vue';
|
|
3
3
|
|
|
4
4
|
const _hoisted_1 = ["tabindex", "selected", "disabled"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue';
|
|
2
|
-
import './OrIcon-
|
|
3
|
-
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-
|
|
2
|
+
import './OrIcon-1a5c9091.js';
|
|
3
|
+
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-bdbaad94.js';
|
|
4
4
|
|
|
5
5
|
const MenuItemRoot = [
|
|
6
6
|
// Layout
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue';
|
|
2
2
|
import './OrBottomSheet.vue_vue_type_script_lang-bdef5ca2.js';
|
|
3
|
-
import './OrIconButton-
|
|
3
|
+
import './OrIconButton-e0566ecf.js';
|
|
4
4
|
import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-7edd25f6.js';
|
|
5
|
-
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-
|
|
5
|
+
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js';
|
|
6
6
|
|
|
7
7
|
var ModalSize;
|
|
8
8
|
(function (ModalSize) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue';
|
|
2
|
-
import './OrIcon-
|
|
3
|
-
import './OrIconButton-
|
|
4
|
-
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-
|
|
5
|
-
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-
|
|
2
|
+
import './OrIcon-1a5c9091.js';
|
|
3
|
+
import './OrIconButton-e0566ecf.js';
|
|
4
|
+
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-bdbaad94.js';
|
|
5
|
+
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js';
|
|
6
6
|
|
|
7
7
|
var NotificationVariant;
|
|
8
8
|
(function (NotificationVariant) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue';
|
|
2
2
|
import './OrButton-a1448bfa.js';
|
|
3
|
-
import './OrIcon-
|
|
3
|
+
import './OrIcon-1a5c9091.js';
|
|
4
4
|
import './OrMenu-6d7abe97.js';
|
|
5
|
-
import './OrMenuItem-
|
|
5
|
+
import './OrMenuItem-807e2a49.js';
|
|
6
6
|
import { s as script$1 } from './OrButton.vue_vue_type_script_lang-3b1e442b.js';
|
|
7
|
-
import { s as script$2 } from './OrIcon.vue_vue_type_script_lang-
|
|
7
|
+
import { s as script$2 } from './OrIcon.vue_vue_type_script_lang-bdbaad94.js';
|
|
8
8
|
import { s as script$3 } from './OrMenu.vue_vue_type_script_lang-df35fd76.js';
|
|
9
|
-
import { s as script$4 } from './OrMenuItem.vue_vue_type_script_lang-
|
|
9
|
+
import { s as script$4 } from './OrMenuItem.vue_vue_type_script_lang-2400ec2a.js';
|
|
10
10
|
|
|
11
11
|
const PaginationRoot = [
|
|
12
12
|
// Layout
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { debouncedWatch } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, watch } from 'vue';
|
|
3
|
-
import './OrInput-
|
|
4
|
-
import { s as script$1 } from './OrInput.vue_vue_type_script_lang-
|
|
3
|
+
import './OrInput-dcf2606e.js';
|
|
4
|
+
import { s as script$1 } from './OrInput.vue_vue_type_script_lang-27220623.js';
|
|
5
5
|
import { a as InputBoxSize } from './OrInputBox.vue_vue_type_script_lang-47d98e81.js';
|
|
6
6
|
|
|
7
7
|
var script = defineComponent({
|
|
@@ -2,23 +2,23 @@ import { resolveComponent, openBlock, createElementBlock, normalizeClass, withDi
|
|
|
2
2
|
import { s as script$1 } from './OrCheckbox.vue_vue_type_script_lang-fc067611.js';
|
|
3
3
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
4
4
|
import './OrHint-5d5e4d99.js';
|
|
5
|
-
import { s as script$2 } from './OrExpansionPanel.vue_vue_type_script_lang-
|
|
6
|
-
import './OrIcon-
|
|
7
|
-
import './OrInput-
|
|
5
|
+
import { s as script$2 } from './OrExpansionPanel.vue_vue_type_script_lang-2cc8964c.js';
|
|
6
|
+
import './OrIcon-1a5c9091.js';
|
|
7
|
+
import './OrInput-dcf2606e.js';
|
|
8
8
|
import './OrInputBox-4c7900c2.js';
|
|
9
9
|
import './OrLabel-c556887e.js';
|
|
10
|
-
import './OrMenuItem-
|
|
10
|
+
import './OrMenuItem-807e2a49.js';
|
|
11
11
|
import './OrPopover-1a488f88.js';
|
|
12
|
-
import { s as script$3 } from './OrTag.vue_vue_type_script_lang-
|
|
12
|
+
import { s as script$3 } from './OrTag.vue_vue_type_script_lang-a25a49ee.js';
|
|
13
13
|
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-293d2de2.js';
|
|
14
14
|
import { u as useOverflow } from './useOverflow-6dce216b.js';
|
|
15
15
|
import { s as script$4 } from './OrError.vue_vue_type_script_lang-53648a65.js';
|
|
16
16
|
import { s as script$5 } from './OrHint.vue_vue_type_script_lang-e322f61e.js';
|
|
17
|
-
import { s as script$6 } from './OrIcon.vue_vue_type_script_lang-
|
|
18
|
-
import { s as script$7 } from './OrInput.vue_vue_type_script_lang-
|
|
17
|
+
import { s as script$6 } from './OrIcon.vue_vue_type_script_lang-bdbaad94.js';
|
|
18
|
+
import { s as script$7 } from './OrInput.vue_vue_type_script_lang-27220623.js';
|
|
19
19
|
import { s as script$8, a as InputBoxSize } from './OrInputBox.vue_vue_type_script_lang-47d98e81.js';
|
|
20
20
|
import { s as script$9 } from './OrLabel.vue_vue_type_script_lang-191d2304.js';
|
|
21
|
-
import { s as script$a } from './OrMenuItem.vue_vue_type_script_lang-
|
|
21
|
+
import { s as script$a } from './OrMenuItem.vue_vue_type_script_lang-2400ec2a.js';
|
|
22
22
|
import { s as script$b } from './OrPopover.vue_vue_type_script_lang-b1102c1a.js';
|
|
23
23
|
|
|
24
24
|
const _hoisted_1$2 = ["value", "indeterminate", "required", "disabled"];
|
|
@@ -130,9 +130,7 @@ const SelectControl = [
|
|
|
130
130
|
'typography-inherit'];
|
|
131
131
|
const SelectPlaceholder = [
|
|
132
132
|
// Theme
|
|
133
|
-
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'
|
|
134
|
-
// Interactivity
|
|
135
|
-
'select-none'];
|
|
133
|
+
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
136
134
|
const SelectDropdown = [
|
|
137
135
|
// Overflow
|
|
138
136
|
'overflow-y-auto',
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
import { useDraggable, useElementBounding } from '@vueuse/core';
|
|
2
|
+
import _ from 'lodash';
|
|
3
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, defineComponent, ref, computed, useSlots, watch } from 'vue';
|
|
4
|
+
import { O as OrSidebarPlacement, s as script$1 } from './OrSidebarCollapseButton.vue_vue_type_script_lang-9aeba2d4.js';
|
|
5
|
+
|
|
6
|
+
const SidebarRoot = [
|
|
7
|
+
// Position
|
|
8
|
+
'relative',
|
|
9
|
+
// Layout
|
|
10
|
+
'flex', 'flex-row', 'shrink-0',
|
|
11
|
+
// Box
|
|
12
|
+
'min-w-0', 'h-auto', 'p-0',
|
|
13
|
+
// Theme
|
|
14
|
+
'bg-background', 'dark:bg-background-dark'];
|
|
15
|
+
const SidebarBar = [
|
|
16
|
+
// Position
|
|
17
|
+
'relative',
|
|
18
|
+
// Layout
|
|
19
|
+
'flex', 'flex-col', 'shrink-0', 'grow',
|
|
20
|
+
// Box
|
|
21
|
+
'min-h-0', 'p-0',
|
|
22
|
+
// Theme
|
|
23
|
+
'text-on-background', 'dark:text-on-background-dark',
|
|
24
|
+
// Transition
|
|
25
|
+
'transition-[width]'];
|
|
26
|
+
const SidebarToolbar = [
|
|
27
|
+
// Position
|
|
28
|
+
'relative',
|
|
29
|
+
// Layout
|
|
30
|
+
'flex', 'flex-col', 'shrink-0', 'grow', 'overflow-auto', 'items-center',
|
|
31
|
+
// Sizing
|
|
32
|
+
'gap-md',
|
|
33
|
+
// Box
|
|
34
|
+
'min-h-0', 'min-w-xl', 'p-[6px]', 'py-md+',
|
|
35
|
+
// Theme
|
|
36
|
+
'text-outline', 'dark:text-outline-dark'];
|
|
37
|
+
const CollapsibleSidebarToolbar = ['pt-[56px]'];
|
|
38
|
+
const SidebarSides = {
|
|
39
|
+
[OrSidebarPlacement.left]: [
|
|
40
|
+
// Borders
|
|
41
|
+
'border-r-[1px]', 'border-r-solid', 'border-r-outline-variant dark:border-r-outline-variant-dark'],
|
|
42
|
+
[OrSidebarPlacement.right]: [
|
|
43
|
+
// Borders
|
|
44
|
+
'border-l-[1px]', 'border-l-solid', 'border-l-outline-variant dark:border-l-outline-variant-dark']
|
|
45
|
+
};
|
|
46
|
+
const SidebarToolbarSides = {
|
|
47
|
+
[OrSidebarPlacement.left]: [
|
|
48
|
+
// Borders
|
|
49
|
+
'border-r-[1px]', 'border-r-solid', 'border-r-outline-variant dark:border-r-outline-variant-dark'],
|
|
50
|
+
[OrSidebarPlacement.right]: [
|
|
51
|
+
// Borders
|
|
52
|
+
'border-l-[1px]', 'border-l-solid', 'border-l-outline-variant dark:border-l-outline-variant-dark']
|
|
53
|
+
};
|
|
54
|
+
const SidebarResize = [
|
|
55
|
+
// Position
|
|
56
|
+
'absolute', 'inset-y-none', 'z-[1]',
|
|
57
|
+
// Box
|
|
58
|
+
'w-sm+', 'h-[100%]',
|
|
59
|
+
// Cursor
|
|
60
|
+
'cursor-ew-resize'];
|
|
61
|
+
const SidebarResizeSides = {
|
|
62
|
+
[OrSidebarPlacement.left]: [
|
|
63
|
+
// Position
|
|
64
|
+
'-right-[1px]',
|
|
65
|
+
// Borders
|
|
66
|
+
'hover:border-r-2', 'hover:border-r-primary-hover hover:dark:border-r-primary-hover-dark',
|
|
67
|
+
// Transition
|
|
68
|
+
'transition-[border-right]'],
|
|
69
|
+
[OrSidebarPlacement.right]: [
|
|
70
|
+
// Position
|
|
71
|
+
'-left-[1px]',
|
|
72
|
+
// Borders
|
|
73
|
+
'hover:border-l-2', 'hover:border-l-primary-hover hover:dark:border-l-primary-hover-dark',
|
|
74
|
+
// Transition
|
|
75
|
+
'transition-[border-left]']
|
|
76
|
+
};
|
|
77
|
+
const SidebarCollapseButton = [
|
|
78
|
+
// Position
|
|
79
|
+
'absolute', 'top-md', 'inset-y-none', 'z-[1]'];
|
|
80
|
+
const SidebarCollapseButtonSides = {
|
|
81
|
+
[OrSidebarPlacement.left]: [
|
|
82
|
+
// Position
|
|
83
|
+
'-right-[12px]'],
|
|
84
|
+
[OrSidebarPlacement.right]: [
|
|
85
|
+
// Position
|
|
86
|
+
'-left-[12px]']
|
|
87
|
+
};
|
|
88
|
+
const SidebarResizingSides = {
|
|
89
|
+
[OrSidebarPlacement.left]: [
|
|
90
|
+
// Borders
|
|
91
|
+
'border-r-2', 'border-r-primary-hover dark:border-r-primary-hover-dark'],
|
|
92
|
+
[OrSidebarPlacement.right]: [
|
|
93
|
+
// Borders
|
|
94
|
+
'border-l-2', 'border-l-primary-hover dark:border-l-primary-hover-dark']
|
|
95
|
+
};
|
|
96
|
+
const SidebarMain = [
|
|
97
|
+
// Layout
|
|
98
|
+
'flex', 'flex-col', 'grow', 'overflow-x-hidden',
|
|
99
|
+
// Box
|
|
100
|
+
'min-h-0'];
|
|
101
|
+
const SidebarHeader = [
|
|
102
|
+
// Layout
|
|
103
|
+
'shrink-0', 'overflow-hidden',
|
|
104
|
+
// Sizing
|
|
105
|
+
'p-md',
|
|
106
|
+
// Typography
|
|
107
|
+
'typography-headline-2', 'whitespace-nowrap', 'text-ellipsis'];
|
|
108
|
+
const SidebarContent = [
|
|
109
|
+
// Layout
|
|
110
|
+
'grow', 'overflow-auto',
|
|
111
|
+
// Sizing
|
|
112
|
+
'p-md'];
|
|
113
|
+
const SidebarFooter = [
|
|
114
|
+
// Layout
|
|
115
|
+
'shrink-0', 'overflow-x-hidden',
|
|
116
|
+
// Sizing
|
|
117
|
+
'p-md',
|
|
118
|
+
// Borders
|
|
119
|
+
'border-t-[1px]', 'border-t-solid', 'border-t-outline-variant dark:border-t-outline-variant-dark'];
|
|
120
|
+
|
|
121
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
122
|
+
const _component_or_icon_button = resolveComponent("or-icon-button");
|
|
123
|
+
return openBlock(), createElementBlock("div", {
|
|
124
|
+
ref: "root",
|
|
125
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
126
|
+
}, [createVNode(_component_or_icon_button, {
|
|
127
|
+
class: normalizeClass(_ctx.buttonStyles),
|
|
128
|
+
icon: {
|
|
129
|
+
icon: _ctx.icon,
|
|
130
|
+
size: 'inherit'
|
|
131
|
+
},
|
|
132
|
+
color: "inherit",
|
|
133
|
+
onClick: _cache[0] || (_cache[0] = $event => _ctx.$emit('update:modelValue', !_ctx.modelValue))
|
|
134
|
+
}, null, 8 /* PROPS */, ["class", "icon"])], 2 /* CLASS */);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
script$1.render = render;
|
|
138
|
+
script$1.__file = "src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue";
|
|
139
|
+
|
|
140
|
+
var script = defineComponent({
|
|
141
|
+
name: 'OrSidebar',
|
|
142
|
+
components: {
|
|
143
|
+
OrSidebarCollapseButton: script$1
|
|
144
|
+
},
|
|
145
|
+
props: {
|
|
146
|
+
width: {
|
|
147
|
+
type: Number,
|
|
148
|
+
default: 320,
|
|
149
|
+
validator: value => _.isNumber(value) && value >= 0
|
|
150
|
+
},
|
|
151
|
+
minimumWidth: {
|
|
152
|
+
type: Number,
|
|
153
|
+
default: 256,
|
|
154
|
+
validator: value => _.isNumber(value) && value >= 0
|
|
155
|
+
},
|
|
156
|
+
maximumWidth: {
|
|
157
|
+
type: Number,
|
|
158
|
+
default: 384,
|
|
159
|
+
validator: value => _.isNumber(value) && value >= 0
|
|
160
|
+
},
|
|
161
|
+
/**
|
|
162
|
+
* User may put the component on the right or the left side of a container.
|
|
163
|
+
* This property mirrors the resizing behavior (drag direction) and styling (horizontal border) of the sidebar.
|
|
164
|
+
*
|
|
165
|
+
* Note: the property doesn't reposition the component in the parent container.
|
|
166
|
+
* @values left, right
|
|
167
|
+
*/
|
|
168
|
+
side: {
|
|
169
|
+
type: String,
|
|
170
|
+
default: OrSidebarPlacement.right,
|
|
171
|
+
validator: value => _.includes(_.values(OrSidebarPlacement), value)
|
|
172
|
+
},
|
|
173
|
+
draggable: {
|
|
174
|
+
type: Boolean,
|
|
175
|
+
default: true
|
|
176
|
+
},
|
|
177
|
+
collapsible: {
|
|
178
|
+
type: Boolean,
|
|
179
|
+
default: false
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
emits: ['change:width', 'open', 'close'],
|
|
183
|
+
expose: ['root', 'open', 'close'],
|
|
184
|
+
setup(props, {
|
|
185
|
+
emit
|
|
186
|
+
}) {
|
|
187
|
+
// Refs
|
|
188
|
+
const root = ref();
|
|
189
|
+
const resizeBar = ref(null);
|
|
190
|
+
const parentContainer = computed(() => {
|
|
191
|
+
var _a;
|
|
192
|
+
return (_a = root.value) === null || _a === void 0 ? void 0 : _a.parentElement;
|
|
193
|
+
});
|
|
194
|
+
// Slots
|
|
195
|
+
const {
|
|
196
|
+
toolbar: toolbarSlot
|
|
197
|
+
} = useSlots();
|
|
198
|
+
// State
|
|
199
|
+
const startPositionX = ref(0);
|
|
200
|
+
const isResizing = ref(false);
|
|
201
|
+
const isCollapsed = ref(false);
|
|
202
|
+
const maximumWidth = ref(props.maximumWidth || 384);
|
|
203
|
+
const localWidth = ref(props.width >= props.minimumWidth ? props.width : props.minimumWidth);
|
|
204
|
+
const isShowingToolbar = computed(() => !!toolbarSlot);
|
|
205
|
+
// Styles
|
|
206
|
+
const sidebarStyle = computed(() => ({
|
|
207
|
+
width: (isCollapsed.value ? 16 : localWidth.value) + 'px'
|
|
208
|
+
}));
|
|
209
|
+
const rootStyles = computed(() => ['or-sidebar', ...SidebarRoot]);
|
|
210
|
+
const sidebarStyles = computed(() => [...SidebarBar, ...SidebarSides[props.side]]);
|
|
211
|
+
const toolbarStyles = computed(() => [...SidebarToolbar, ...(props.collapsible ? CollapsibleSidebarToolbar : []), ...SidebarToolbarSides[props.side]]);
|
|
212
|
+
const resizeStyles = computed(() => [...SidebarResize, ...SidebarResizeSides[props.side], ...(isResizing.value ? SidebarResizingSides[props.side] : [])]);
|
|
213
|
+
const collapsibleButtonStyles = computed(() => [...SidebarCollapseButton, ...SidebarCollapseButtonSides[props.side]]);
|
|
214
|
+
const mainStyles = computed(() => [...SidebarMain]);
|
|
215
|
+
const headerStyles = computed(() => [...SidebarHeader]);
|
|
216
|
+
const contentStyles = computed(() => [...SidebarContent]);
|
|
217
|
+
const footerStyles = computed(() => [...SidebarFooter]);
|
|
218
|
+
// Effects
|
|
219
|
+
useDraggable(resizeBar, {
|
|
220
|
+
preventDefault: true,
|
|
221
|
+
onStart: (position, event) => {
|
|
222
|
+
document.body.style.cursor = 'ew-resize';
|
|
223
|
+
document.body.style.userSelect = 'none';
|
|
224
|
+
startPositionX.value = event.x;
|
|
225
|
+
isResizing.value = true;
|
|
226
|
+
},
|
|
227
|
+
onMove: position => {
|
|
228
|
+
const delta = (position.x - startPositionX.value) * (props.side === OrSidebarPlacement.left ? -1 : 1);
|
|
229
|
+
const newWidth = localWidth.value - delta;
|
|
230
|
+
localWidth.value = newWidth > maximumWidth.value ? maximumWidth.value : newWidth < props.minimumWidth ? props.minimumWidth : newWidth;
|
|
231
|
+
startPositionX.value = position.x;
|
|
232
|
+
},
|
|
233
|
+
onEnd: () => {
|
|
234
|
+
document.body.style.cursor = '';
|
|
235
|
+
document.body.style.userSelect = '';
|
|
236
|
+
isResizing.value = false;
|
|
237
|
+
}
|
|
238
|
+
});
|
|
239
|
+
// Methods
|
|
240
|
+
function open() {
|
|
241
|
+
isCollapsed.value = false;
|
|
242
|
+
}
|
|
243
|
+
function close() {
|
|
244
|
+
isCollapsed.value = true;
|
|
245
|
+
}
|
|
246
|
+
const {
|
|
247
|
+
width: containerWidth
|
|
248
|
+
} = useElementBounding(parentContainer);
|
|
249
|
+
watch(() => props.width, newValue => {
|
|
250
|
+
if (newValue !== localWidth.value) {
|
|
251
|
+
localWidth.value = newValue > maximumWidth.value ? maximumWidth.value : newValue < props.minimumWidth ? props.minimumWidth : newValue;
|
|
252
|
+
}
|
|
253
|
+
});
|
|
254
|
+
watch(() => props.minimumWidth, newMinimum => {
|
|
255
|
+
if (newMinimum > localWidth.value) localWidth.value = newMinimum;
|
|
256
|
+
});
|
|
257
|
+
watch(() => props.maximumWidth, newMaximum => {
|
|
258
|
+
if (newMaximum < maximumWidth.value) maximumWidth.value = newMaximum;
|
|
259
|
+
});
|
|
260
|
+
watch(containerWidth, newMaximum => {
|
|
261
|
+
if (newMaximum < maximumWidth.value) maximumWidth.value = newMaximum;
|
|
262
|
+
});
|
|
263
|
+
watch(maximumWidth, newMaximum => {
|
|
264
|
+
if (newMaximum < localWidth.value) localWidth.value = newMaximum;
|
|
265
|
+
});
|
|
266
|
+
watch(localWidth, val => emit('change:width', val));
|
|
267
|
+
watch(isCollapsed, val => emit(val ? 'close' : 'open'));
|
|
268
|
+
return {
|
|
269
|
+
root,
|
|
270
|
+
resizeBar,
|
|
271
|
+
isResizing,
|
|
272
|
+
isCollapsed,
|
|
273
|
+
localWidth,
|
|
274
|
+
isShowingToolbar,
|
|
275
|
+
sidebarStyle,
|
|
276
|
+
rootStyles,
|
|
277
|
+
sidebarStyles,
|
|
278
|
+
toolbarStyles,
|
|
279
|
+
resizeStyles,
|
|
280
|
+
collapsibleButtonStyles,
|
|
281
|
+
mainStyles,
|
|
282
|
+
headerStyles,
|
|
283
|
+
contentStyles,
|
|
284
|
+
footerStyles,
|
|
285
|
+
open,
|
|
286
|
+
close
|
|
287
|
+
};
|
|
288
|
+
}
|
|
289
|
+
});
|
|
290
|
+
|
|
291
|
+
export { script as s };
|