@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
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
import { useDraggable, useElementBounding } from '@vueuse/core';
|
|
2
|
+
import _ from 'lodash';
|
|
3
|
+
import { defineComponent, ref, computed, useSlots, watch } from 'vue-demi';
|
|
4
|
+
import { O as OrSidebarPlacement, s as script$1 } from './OrSidebarCollapseButton-1b9c83ef.js';
|
|
5
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createElementVNode, normalizeStyle, createBlock, withDirectives, vShow } from 'vue';
|
|
6
|
+
|
|
7
|
+
const SidebarRoot = [
|
|
8
|
+
// Position
|
|
9
|
+
'relative',
|
|
10
|
+
// Layout
|
|
11
|
+
'flex', 'flex-row', 'shrink-0',
|
|
12
|
+
// Box
|
|
13
|
+
'min-w-0', 'h-auto', 'p-0',
|
|
14
|
+
// Theme
|
|
15
|
+
'bg-background', 'dark:bg-background-dark'];
|
|
16
|
+
const SidebarBar = [
|
|
17
|
+
// Position
|
|
18
|
+
'relative',
|
|
19
|
+
// Layout
|
|
20
|
+
'flex', 'flex-col', 'shrink-0', 'grow',
|
|
21
|
+
// Box
|
|
22
|
+
'min-h-0', 'p-0',
|
|
23
|
+
// Theme
|
|
24
|
+
'text-on-background', 'dark:text-on-background-dark',
|
|
25
|
+
// Transition
|
|
26
|
+
'transition-[width]'];
|
|
27
|
+
const SidebarToolbar = [
|
|
28
|
+
// Position
|
|
29
|
+
'relative',
|
|
30
|
+
// Layout
|
|
31
|
+
'flex', 'flex-col', 'shrink-0', 'grow', 'overflow-auto', 'items-center',
|
|
32
|
+
// Sizing
|
|
33
|
+
'gap-md',
|
|
34
|
+
// Box
|
|
35
|
+
'min-h-0', 'min-w-xl', 'p-[6px]', 'py-md+',
|
|
36
|
+
// Theme
|
|
37
|
+
'text-outline', 'dark:text-outline-dark'];
|
|
38
|
+
const CollapsibleSidebarToolbar = ['pt-[56px]'];
|
|
39
|
+
const SidebarSides = {
|
|
40
|
+
[OrSidebarPlacement.left]: [
|
|
41
|
+
// Borders
|
|
42
|
+
'border-r-[1px]', 'border-r-solid', 'border-r-outline-variant dark:border-r-outline-variant-dark'],
|
|
43
|
+
[OrSidebarPlacement.right]: [
|
|
44
|
+
// Borders
|
|
45
|
+
'border-l-[1px]', 'border-l-solid', 'border-l-outline-variant dark:border-l-outline-variant-dark']
|
|
46
|
+
};
|
|
47
|
+
const SidebarToolbarSides = {
|
|
48
|
+
[OrSidebarPlacement.left]: [
|
|
49
|
+
// Borders
|
|
50
|
+
'border-r-[1px]', 'border-r-solid', 'border-r-outline-variant dark:border-r-outline-variant-dark'],
|
|
51
|
+
[OrSidebarPlacement.right]: [
|
|
52
|
+
// Borders
|
|
53
|
+
'border-l-[1px]', 'border-l-solid', 'border-l-outline-variant dark:border-l-outline-variant-dark']
|
|
54
|
+
};
|
|
55
|
+
const SidebarResize = [
|
|
56
|
+
// Position
|
|
57
|
+
'absolute', 'inset-y-none', 'z-[1]',
|
|
58
|
+
// Box
|
|
59
|
+
'w-sm+', 'h-[100%]',
|
|
60
|
+
// Cursor
|
|
61
|
+
'cursor-ew-resize'];
|
|
62
|
+
const SidebarResizeSides = {
|
|
63
|
+
[OrSidebarPlacement.left]: [
|
|
64
|
+
// Position
|
|
65
|
+
'-right-[1px]',
|
|
66
|
+
// Borders
|
|
67
|
+
'hover:border-r-2', 'hover:border-r-primary-hover hover:dark:border-r-primary-hover-dark',
|
|
68
|
+
// Transition
|
|
69
|
+
'transition-[border-right]'],
|
|
70
|
+
[OrSidebarPlacement.right]: [
|
|
71
|
+
// Position
|
|
72
|
+
'-left-[1px]',
|
|
73
|
+
// Borders
|
|
74
|
+
'hover:border-l-2', 'hover:border-l-primary-hover hover:dark:border-l-primary-hover-dark',
|
|
75
|
+
// Transition
|
|
76
|
+
'transition-[border-left]']
|
|
77
|
+
};
|
|
78
|
+
const SidebarCollapseButton = [
|
|
79
|
+
// Position
|
|
80
|
+
'absolute', 'top-md', 'inset-y-none', 'z-[1]'];
|
|
81
|
+
const SidebarCollapseButtonSides = {
|
|
82
|
+
[OrSidebarPlacement.left]: [
|
|
83
|
+
// Position
|
|
84
|
+
'-right-[12px]'],
|
|
85
|
+
[OrSidebarPlacement.right]: [
|
|
86
|
+
// Position
|
|
87
|
+
'-left-[12px]']
|
|
88
|
+
};
|
|
89
|
+
const SidebarResizingSides = {
|
|
90
|
+
[OrSidebarPlacement.left]: [
|
|
91
|
+
// Borders
|
|
92
|
+
'border-r-2', 'border-r-primary-hover dark:border-r-primary-hover-dark'],
|
|
93
|
+
[OrSidebarPlacement.right]: [
|
|
94
|
+
// Borders
|
|
95
|
+
'border-l-2', 'border-l-primary-hover dark:border-l-primary-hover-dark']
|
|
96
|
+
};
|
|
97
|
+
const SidebarMain = [
|
|
98
|
+
// Layout
|
|
99
|
+
'flex', 'flex-col', 'grow', 'overflow-x-hidden',
|
|
100
|
+
// Box
|
|
101
|
+
'min-h-0'];
|
|
102
|
+
const SidebarHeader = [
|
|
103
|
+
// Layout
|
|
104
|
+
'shrink-0', 'overflow-hidden',
|
|
105
|
+
// Sizing
|
|
106
|
+
'p-md',
|
|
107
|
+
// Typography
|
|
108
|
+
'typography-headline-2', 'whitespace-nowrap', 'text-ellipsis'];
|
|
109
|
+
const SidebarContent = [
|
|
110
|
+
// Layout
|
|
111
|
+
'grow', 'overflow-auto',
|
|
112
|
+
// Sizing
|
|
113
|
+
'p-md'];
|
|
114
|
+
const SidebarFooter = [
|
|
115
|
+
// Layout
|
|
116
|
+
'shrink-0', 'overflow-x-hidden',
|
|
117
|
+
// Sizing
|
|
118
|
+
'p-md',
|
|
119
|
+
// Borders
|
|
120
|
+
'border-t-[1px]', 'border-t-solid', 'border-t-outline-variant dark:border-t-outline-variant-dark'];
|
|
121
|
+
|
|
122
|
+
var script = defineComponent({
|
|
123
|
+
name: 'OrSidebar',
|
|
124
|
+
components: {
|
|
125
|
+
OrSidebarCollapseButton: script$1
|
|
126
|
+
},
|
|
127
|
+
props: {
|
|
128
|
+
width: {
|
|
129
|
+
type: Number,
|
|
130
|
+
default: 320,
|
|
131
|
+
validator: value => _.isNumber(value) && value >= 0
|
|
132
|
+
},
|
|
133
|
+
minimumWidth: {
|
|
134
|
+
type: Number,
|
|
135
|
+
default: 256,
|
|
136
|
+
validator: value => _.isNumber(value) && value >= 0
|
|
137
|
+
},
|
|
138
|
+
maximumWidth: {
|
|
139
|
+
type: Number,
|
|
140
|
+
default: 384,
|
|
141
|
+
validator: value => _.isNumber(value) && value >= 0
|
|
142
|
+
},
|
|
143
|
+
/**
|
|
144
|
+
* User may put the component on the right or the left side of a container.
|
|
145
|
+
* This property mirrors the resizing behavior (drag direction) and styling (horizontal border) of the sidebar.
|
|
146
|
+
*
|
|
147
|
+
* Note: the property doesn't reposition the component in the parent container.
|
|
148
|
+
* @values left, right
|
|
149
|
+
*/
|
|
150
|
+
side: {
|
|
151
|
+
type: String,
|
|
152
|
+
default: OrSidebarPlacement.right,
|
|
153
|
+
validator: value => _.includes(_.values(OrSidebarPlacement), value)
|
|
154
|
+
},
|
|
155
|
+
draggable: {
|
|
156
|
+
type: Boolean,
|
|
157
|
+
default: true
|
|
158
|
+
},
|
|
159
|
+
collapsible: {
|
|
160
|
+
type: Boolean,
|
|
161
|
+
default: false
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
emits: ['change:width', 'open', 'close'],
|
|
165
|
+
expose: ['root', 'open', 'close'],
|
|
166
|
+
setup(props, {
|
|
167
|
+
emit
|
|
168
|
+
}) {
|
|
169
|
+
// Refs
|
|
170
|
+
const root = ref();
|
|
171
|
+
const resizeBar = ref(null);
|
|
172
|
+
const parentContainer = computed(() => {
|
|
173
|
+
var _a;
|
|
174
|
+
return (_a = root.value) === null || _a === void 0 ? void 0 : _a.parentElement;
|
|
175
|
+
});
|
|
176
|
+
// Slots
|
|
177
|
+
const {
|
|
178
|
+
toolbar: toolbarSlot
|
|
179
|
+
} = useSlots();
|
|
180
|
+
// State
|
|
181
|
+
const startPositionX = ref(0);
|
|
182
|
+
const isResizing = ref(false);
|
|
183
|
+
const isCollapsed = ref(false);
|
|
184
|
+
const maximumWidth = ref(props.maximumWidth || 384);
|
|
185
|
+
const localWidth = ref(props.width >= props.minimumWidth ? props.width : props.minimumWidth);
|
|
186
|
+
const isShowingToolbar = computed(() => !!toolbarSlot);
|
|
187
|
+
// Styles
|
|
188
|
+
const sidebarStyle = computed(() => ({
|
|
189
|
+
width: (isCollapsed.value ? 16 : localWidth.value) + 'px'
|
|
190
|
+
}));
|
|
191
|
+
const rootStyles = computed(() => ['or-sidebar', ...SidebarRoot]);
|
|
192
|
+
const sidebarStyles = computed(() => [...SidebarBar, ...SidebarSides[props.side]]);
|
|
193
|
+
const toolbarStyles = computed(() => [...SidebarToolbar, ...(props.collapsible ? CollapsibleSidebarToolbar : []), ...SidebarToolbarSides[props.side]]);
|
|
194
|
+
const resizeStyles = computed(() => [...SidebarResize, ...SidebarResizeSides[props.side], ...(isResizing.value ? SidebarResizingSides[props.side] : [])]);
|
|
195
|
+
const collapsibleButtonStyles = computed(() => [...SidebarCollapseButton, ...SidebarCollapseButtonSides[props.side]]);
|
|
196
|
+
const mainStyles = computed(() => [...SidebarMain]);
|
|
197
|
+
const headerStyles = computed(() => [...SidebarHeader]);
|
|
198
|
+
const contentStyles = computed(() => [...SidebarContent]);
|
|
199
|
+
const footerStyles = computed(() => [...SidebarFooter]);
|
|
200
|
+
// Effects
|
|
201
|
+
useDraggable(resizeBar, {
|
|
202
|
+
preventDefault: true,
|
|
203
|
+
onStart: (position, event) => {
|
|
204
|
+
document.body.style.cursor = 'ew-resize';
|
|
205
|
+
document.body.style.userSelect = 'none';
|
|
206
|
+
startPositionX.value = event.x;
|
|
207
|
+
isResizing.value = true;
|
|
208
|
+
},
|
|
209
|
+
onMove: position => {
|
|
210
|
+
const delta = (position.x - startPositionX.value) * (props.side === OrSidebarPlacement.left ? -1 : 1);
|
|
211
|
+
const newWidth = localWidth.value - delta;
|
|
212
|
+
localWidth.value = newWidth > maximumWidth.value ? maximumWidth.value : newWidth < props.minimumWidth ? props.minimumWidth : newWidth;
|
|
213
|
+
startPositionX.value = position.x;
|
|
214
|
+
},
|
|
215
|
+
onEnd: () => {
|
|
216
|
+
document.body.style.cursor = '';
|
|
217
|
+
document.body.style.userSelect = '';
|
|
218
|
+
isResizing.value = false;
|
|
219
|
+
}
|
|
220
|
+
});
|
|
221
|
+
// Methods
|
|
222
|
+
function open() {
|
|
223
|
+
isCollapsed.value = false;
|
|
224
|
+
}
|
|
225
|
+
function close() {
|
|
226
|
+
isCollapsed.value = true;
|
|
227
|
+
}
|
|
228
|
+
const {
|
|
229
|
+
width: containerWidth
|
|
230
|
+
} = useElementBounding(parentContainer);
|
|
231
|
+
watch(() => props.width, newValue => {
|
|
232
|
+
if (newValue !== localWidth.value) {
|
|
233
|
+
localWidth.value = newValue > maximumWidth.value ? maximumWidth.value : newValue < props.minimumWidth ? props.minimumWidth : newValue;
|
|
234
|
+
}
|
|
235
|
+
});
|
|
236
|
+
watch(() => props.minimumWidth, newMinimum => {
|
|
237
|
+
if (newMinimum > localWidth.value) localWidth.value = newMinimum;
|
|
238
|
+
});
|
|
239
|
+
watch(() => props.maximumWidth, newMaximum => {
|
|
240
|
+
if (newMaximum < maximumWidth.value) maximumWidth.value = newMaximum;
|
|
241
|
+
});
|
|
242
|
+
watch(containerWidth, newMaximum => {
|
|
243
|
+
if (newMaximum < maximumWidth.value) maximumWidth.value = newMaximum;
|
|
244
|
+
});
|
|
245
|
+
watch(maximumWidth, newMaximum => {
|
|
246
|
+
if (newMaximum < localWidth.value) localWidth.value = newMaximum;
|
|
247
|
+
});
|
|
248
|
+
watch(localWidth, val => emit('change:width', val));
|
|
249
|
+
watch(isCollapsed, val => emit(val ? 'close' : 'open'));
|
|
250
|
+
return {
|
|
251
|
+
root,
|
|
252
|
+
resizeBar,
|
|
253
|
+
isResizing,
|
|
254
|
+
isCollapsed,
|
|
255
|
+
localWidth,
|
|
256
|
+
isShowingToolbar,
|
|
257
|
+
sidebarStyle,
|
|
258
|
+
rootStyles,
|
|
259
|
+
sidebarStyles,
|
|
260
|
+
toolbarStyles,
|
|
261
|
+
resizeStyles,
|
|
262
|
+
collapsibleButtonStyles,
|
|
263
|
+
mainStyles,
|
|
264
|
+
headerStyles,
|
|
265
|
+
contentStyles,
|
|
266
|
+
footerStyles,
|
|
267
|
+
open,
|
|
268
|
+
close
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
});
|
|
272
|
+
|
|
273
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
274
|
+
const _component_or_sidebar_collapse_button = resolveComponent("or-sidebar-collapse-button");
|
|
275
|
+
return openBlock(), createElementBlock("aside", {
|
|
276
|
+
ref: "root",
|
|
277
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
278
|
+
}, [_ctx.side === 'right' && _ctx.isShowingToolbar ? (openBlock(), createElementBlock("div", {
|
|
279
|
+
key: 0,
|
|
280
|
+
class: normalizeClass(_ctx.toolbarStyles)
|
|
281
|
+
}, [renderSlot(_ctx.$slots, "toolbar")], 2 /* CLASS */)) : createCommentVNode("v-if", true), createElementVNode("div", {
|
|
282
|
+
class: normalizeClass(_ctx.sidebarStyles),
|
|
283
|
+
style: normalizeStyle(_ctx.sidebarStyle)
|
|
284
|
+
}, [_ctx.draggable && !_ctx.isCollapsed ? (openBlock(), createElementBlock("div", {
|
|
285
|
+
key: 0,
|
|
286
|
+
ref: "resizeBar",
|
|
287
|
+
class: normalizeClass(_ctx.resizeStyles)
|
|
288
|
+
}, null, 2 /* CLASS */)) : createCommentVNode("v-if", true), _ctx.collapsible ? (openBlock(), createBlock(_component_or_sidebar_collapse_button, {
|
|
289
|
+
key: 1,
|
|
290
|
+
modelValue: _ctx.isCollapsed,
|
|
291
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.isCollapsed = $event),
|
|
292
|
+
class: normalizeClass(_ctx.collapsibleButtonStyles),
|
|
293
|
+
side: _ctx.side
|
|
294
|
+
}, null, 8 /* PROPS */, ["modelValue", "class", "side"])) : createCommentVNode("v-if", true), withDirectives(createElementVNode("div", {
|
|
295
|
+
class: normalizeClass(_ctx.mainStyles)
|
|
296
|
+
}, [_ctx.$slots.header ? (openBlock(), createElementBlock("div", {
|
|
297
|
+
key: 0,
|
|
298
|
+
class: normalizeClass(_ctx.headerStyles)
|
|
299
|
+
}, [renderSlot(_ctx.$slots, "header")], 2 /* CLASS */)) : createCommentVNode("v-if", true), createElementVNode("div", {
|
|
300
|
+
class: normalizeClass(_ctx.contentStyles)
|
|
301
|
+
}, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */)], 2 /* CLASS */), [[vShow, !_ctx.isCollapsed]]), _ctx.$slots.footer ? withDirectives((openBlock(), createElementBlock("div", {
|
|
302
|
+
key: 2,
|
|
303
|
+
class: normalizeClass(_ctx.footerStyles)
|
|
304
|
+
}, [renderSlot(_ctx.$slots, "footer")], 2 /* CLASS */)), [[vShow, !_ctx.isCollapsed]]) : createCommentVNode("v-if", true)], 6 /* CLASS, STYLE */), _ctx.side === 'left' && _ctx.isShowingToolbar ? (openBlock(), createElementBlock("div", {
|
|
305
|
+
key: 1,
|
|
306
|
+
class: normalizeClass(_ctx.toolbarStyles)
|
|
307
|
+
}, [renderSlot(_ctx.$slots, "toolbar")], 2 /* CLASS */)) : createCommentVNode("v-if", true)], 2 /* CLASS */);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
script.render = render;
|
|
311
|
+
script.__file = "src/components/or-sidebar-v3/OrSidebar.vue";
|
|
312
|
+
|
|
313
|
+
export { script as s };
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import _ from 'lodash';
|
|
2
|
+
import { defineComponent, ref, computed } from 'vue-demi';
|
|
3
|
+
import { s as script$1 } from './OrIconButton-2dcfb83e.js';
|
|
4
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode } from 'vue';
|
|
5
|
+
|
|
6
|
+
var OrSidebarPlacement;
|
|
7
|
+
(function (OrSidebarPlacement) {
|
|
8
|
+
OrSidebarPlacement["left"] = "left";
|
|
9
|
+
OrSidebarPlacement["right"] = "right";
|
|
10
|
+
})(OrSidebarPlacement || (OrSidebarPlacement = {}));
|
|
11
|
+
|
|
12
|
+
const CollapseButtonContainer = [
|
|
13
|
+
// Box
|
|
14
|
+
'w-[24px]', 'h-[24px]', 'rounded-full',
|
|
15
|
+
// Theme
|
|
16
|
+
'text-primary dark:text-primary-dark', 'bg-background dark:bg-background-dark'];
|
|
17
|
+
const CollapseButton = [
|
|
18
|
+
// Box
|
|
19
|
+
'w-[24px]', 'h-[24px]', 'rounded-full',
|
|
20
|
+
// Typography
|
|
21
|
+
'!text-[16px]',
|
|
22
|
+
// Borders
|
|
23
|
+
'!border-[1px]', '!border-solid',
|
|
24
|
+
// Theme
|
|
25
|
+
'!text-primary dark:!text-primary-dark', '!bg-background dark:!bg-background-dark', '!border-outline-variant dark:!border-outline-variant-dark', '!outline-none',
|
|
26
|
+
// Theme (hover)
|
|
27
|
+
'hover:!text-primary hover:dark:!text-primary-dark', 'hover:!bg-primary-opacity-0-08 dark:hover:!bg-primary-opacity-0-08-dark', 'hover:!border-outline dark:hover:!border-outline-dark',
|
|
28
|
+
// Theme (active)
|
|
29
|
+
'active:!text-primary active:dark:!text-primary-dark', 'active:!bg-primary-opacity-0-12 dark:active:!bg-primary-opacity-0-12-dark', 'active:!border-primary dark:active:!border-primary-dark',
|
|
30
|
+
// Theme (focus)
|
|
31
|
+
'focus:!text-primary focus:dark:!text-primary-dark', 'focus:!bg-primary-opacity-0-12 dark:focus:!bg-primary-opacity-0-12-dark', 'focus:!border-outline dark:focus:!border-outline-dark',
|
|
32
|
+
// Theme (disabled)
|
|
33
|
+
'disabled:!text-on-disabled disabled:dark:!text-on-disabled-dark', 'disabled:!bg-background disabled:dark:!bg-background-dark', 'disabled:!border-outline-variant disabled:dark:!border-outline-variant-dark'];
|
|
34
|
+
|
|
35
|
+
var script = defineComponent({
|
|
36
|
+
name: 'OrSidebarCollapseButton',
|
|
37
|
+
components: {
|
|
38
|
+
OrIconButton: script$1
|
|
39
|
+
},
|
|
40
|
+
model: {
|
|
41
|
+
prop: 'modelValue',
|
|
42
|
+
event: 'update:modelValue'
|
|
43
|
+
},
|
|
44
|
+
props: {
|
|
45
|
+
/**
|
|
46
|
+
* Must be `true` if sidebar is collapsed.
|
|
47
|
+
*/
|
|
48
|
+
modelValue: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
default: false
|
|
51
|
+
},
|
|
52
|
+
side: {
|
|
53
|
+
type: String,
|
|
54
|
+
default: OrSidebarPlacement.right,
|
|
55
|
+
validator: value => _.includes(_.values(OrSidebarPlacement), value)
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
emits: ['update:modelValue'],
|
|
59
|
+
expose: ['root'],
|
|
60
|
+
setup(props) {
|
|
61
|
+
// Refs
|
|
62
|
+
const root = ref();
|
|
63
|
+
const rootStyles = computed(() => ['or-sidebar-collapse-button', ...CollapseButtonContainer]);
|
|
64
|
+
const buttonStyles = computed(() => [...CollapseButton]);
|
|
65
|
+
const icon = computed(() => props.side === OrSidebarPlacement.left !== props.modelValue ? 'keyboard_arrow_left' : 'keyboard_arrow_right');
|
|
66
|
+
return {
|
|
67
|
+
root,
|
|
68
|
+
rootStyles,
|
|
69
|
+
buttonStyles,
|
|
70
|
+
icon
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
76
|
+
const _component_or_icon_button = resolveComponent("or-icon-button");
|
|
77
|
+
return openBlock(), createElementBlock("div", {
|
|
78
|
+
ref: "root",
|
|
79
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
80
|
+
}, [createVNode(_component_or_icon_button, {
|
|
81
|
+
class: normalizeClass(_ctx.buttonStyles),
|
|
82
|
+
icon: {
|
|
83
|
+
icon: _ctx.icon,
|
|
84
|
+
size: 'inherit'
|
|
85
|
+
},
|
|
86
|
+
color: "inherit",
|
|
87
|
+
onClick: _cache[0] || (_cache[0] = $event => _ctx.$emit('update:modelValue', !_ctx.modelValue))
|
|
88
|
+
}, null, 8 /* PROPS */, ["class", "icon"])], 2 /* CLASS */);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
script.render = render;
|
|
92
|
+
script.__file = "src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue";
|
|
93
|
+
|
|
94
|
+
export { OrSidebarPlacement as O, script as s };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { s as script$1 } from './OrIcon-
|
|
2
|
+
import { s as script$1 } from './OrIcon-34f59f73.js';
|
|
3
3
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, withModifiers, renderSlot, createBlock, createCommentVNode } from 'vue';
|
|
4
4
|
|
|
5
5
|
const SortHeaderRoot = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useResizeObserver } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, reactive, watch, nextTick, onMounted } from 'vue-demi';
|
|
3
|
-
import { s as script$1 } from './OrIcon-
|
|
4
|
-
import { s as script$3 } from './OrMenuItem-
|
|
3
|
+
import { s as script$1 } from './OrIcon-34f59f73.js';
|
|
4
|
+
import { s as script$3 } from './OrMenuItem-58707d47.js';
|
|
5
5
|
import { s as script$2 } from './OrMenu-7f3ea117.js';
|
|
6
6
|
import './OrPopover-40217b49.js';
|
|
7
7
|
import { s as script$4 } from './OrTab-d3785ea4.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watchPostEffect, unref } from 'vue-demi';
|
|
2
|
-
import { s as script$1 } from './OrIconButton-
|
|
2
|
+
import { s as script$1 } from './OrIconButton-2dcfb83e.js';
|
|
3
3
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createVNode, withModifiers, createCommentVNode } from 'vue';
|
|
4
4
|
|
|
5
5
|
var TagVariant;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { O as OR_AVATAR_SIZE, s as OrAvatar } from '../OrAvatar-2808a314.js';
|
|
2
|
-
export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from '../OrAvatar-
|
|
2
|
+
export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from '../OrAvatar-6444e693.js';
|
|
3
3
|
export { s as OrBottomSheetV3 } from '../OrBottomSheet-13a416ef.js';
|
|
4
4
|
export { s as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonViews } from '../OrButton-fca9019a.js';
|
|
5
5
|
export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE, s as OrButtonV2, a as OrIconButton } from '../OrIconButton-8be9c89f.js';
|
|
6
6
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../OrButton-c56998e7.js';
|
|
7
7
|
export { s as OrCard } from '../OrCard-e3a5aea4.js';
|
|
8
8
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from '../OrCardCollection-1e44c758.js';
|
|
9
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-
|
|
9
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-e4fde5b4.js';
|
|
10
10
|
export { s as OrCardV3 } from '../OrCard-cd6af82e.js';
|
|
11
11
|
export { a as OrCarousel, s as OrCarouselItem } from '../OrCarouselItem-636d99a1.js';
|
|
12
12
|
export { s as OrCheckbox } from '../OrCheckbox-ed4a19cf.js';
|
|
@@ -16,26 +16,26 @@ export { s as OrCode, O as OrCodeLanguages } from '../OrCode-5ed69c23.js';
|
|
|
16
16
|
export { s as OrCollapse } from '../OrCollapse-445141ab.js';
|
|
17
17
|
export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from '../OrColorPicker-189cb097.js';
|
|
18
18
|
export { s as OrConfirm } from '../OrConfirm-c11ee2ec.js';
|
|
19
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-
|
|
19
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-37454a63.js';
|
|
20
20
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-f2e08564.js';
|
|
21
21
|
export { s as OrError } from '../OrError-f90296db.js';
|
|
22
|
-
export { s as OrErrorTagV3 } from '../OrErrorTag-
|
|
22
|
+
export { s as OrErrorTagV3 } from '../OrErrorTag-308119de.js';
|
|
23
23
|
export { s as OrErrorV3 } from '../OrError-19198748.js';
|
|
24
24
|
export { E as EmptyStateSize, s as OrEmptyStateV3 } from '../OrEmptyState-bb8e3145.js';
|
|
25
|
-
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from '../OrExpansionPanel-
|
|
26
|
-
export { F as FabColor, s as OrFabV3 } from '../OrFab-
|
|
25
|
+
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from '../OrExpansionPanel-3a4282da.js';
|
|
26
|
+
export { F as FabColor, s as OrFabV3 } from '../OrFab-61131b31.js';
|
|
27
27
|
export { s as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements } from '../OrFloating-5240e758.js';
|
|
28
28
|
export { s as OrHint } from '../OrHint-1414c530.js';
|
|
29
29
|
export { s as OrHintV3 } from '../OrHint-6863124f.js';
|
|
30
30
|
export { s as OrIcon, O as OrIconColors, a as OrIconType } from '../OrIcon-669503c3.js';
|
|
31
|
-
export { I as IconButtonColor, s as OrIconButtonV3 } from '../OrIconButton-
|
|
32
|
-
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from '../OrIcon-
|
|
31
|
+
export { I as IconButtonColor, s as OrIconButtonV3 } from '../OrIconButton-2dcfb83e.js';
|
|
32
|
+
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from '../OrIcon-34f59f73.js';
|
|
33
33
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from '../OrInlineInputBox-09b33e18.js';
|
|
34
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput-
|
|
34
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput-fbc35f85.js';
|
|
35
35
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from '../OrInlineTextEdit-1aa477b5.js';
|
|
36
|
-
export { s as OrInlineTextareaV3 } from '../OrInlineTextarea-
|
|
36
|
+
export { s as OrInlineTextareaV3 } from '../OrInlineTextarea-79da8697.js';
|
|
37
37
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from '../OrInputBox-e16ade90.js';
|
|
38
|
-
export { I as InputType, s as OrInputV3 } from '../OrInput-
|
|
38
|
+
export { I as InputType, s as OrInputV3 } from '../OrInput-bd054213.js';
|
|
39
39
|
export { s as OrInput } from '../OrInput-81125804.js';
|
|
40
40
|
export { s as OrLabel } from '../OrLabel-876f8729.js';
|
|
41
41
|
export { L as LabelVariant, s as OrLabelV3 } from '../OrLabel-f700f9fb.js';
|
|
@@ -44,35 +44,36 @@ export { s as OrList } from '../OrList-b740d13e.js';
|
|
|
44
44
|
export { s as OrListOfInputs } from '../OrListOfInputs-508e056f.js';
|
|
45
45
|
export { L as LoaderViews, s as OrLoader } from '../OrLoader-15174477.js';
|
|
46
46
|
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from '../OrLoader-a53d2edf.js';
|
|
47
|
-
export { s as OrMenuItemV3 } from '../OrMenuItem-
|
|
47
|
+
export { s as OrMenuItemV3 } from '../OrMenuItem-58707d47.js';
|
|
48
48
|
export { s as OrMenuV3 } from '../OrMenu-7f3ea117.js';
|
|
49
49
|
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from '../OrPopover-40217b49.js';
|
|
50
50
|
export { s as OrModal, O as OrModalSizes } from '../OrModal-8b074b0c.js';
|
|
51
|
-
export { M as ModalSize, s as OrModalV3 } from '../OrModal-
|
|
51
|
+
export { M as ModalSize, s as OrModalV3 } from '../OrModal-4219a6dc.js';
|
|
52
52
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from '../OrNotification-e85a4956.js';
|
|
53
|
-
export { N as NotificationVariant, s as OrNotificationV3 } from '../OrNotification-
|
|
53
|
+
export { N as NotificationVariant, s as OrNotificationV3 } from '../OrNotification-0e682c7f.js';
|
|
54
54
|
export { s as OrNumberInput } from '../OrNumberInput-b32b5ce3.js';
|
|
55
55
|
export { s as OrOverflowMenu } from '../OrOverflowMenu-e82cbcbe.js';
|
|
56
56
|
export { s as OrOverlay } from '../OrOverlay-451dce49.js';
|
|
57
57
|
export { s as OrOverlayV3 } from '../OrOverlay-afad3aa4.js';
|
|
58
58
|
export { s as OrPassword } from '../OrPassword-b0cbb578.js';
|
|
59
|
-
export { s as OrPaginationV3 } from '../OrPagination-
|
|
59
|
+
export { s as OrPaginationV3 } from '../OrPagination-da9e5017.js';
|
|
60
60
|
export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from '../OrProgress-d0d52c86.js';
|
|
61
61
|
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrProgress-639ed5e8.js';
|
|
62
62
|
export { s as OrRadio } from '../OrRadio-c3ab11f2.js';
|
|
63
63
|
export { s as OrRadioGroup } from '../OrRadioGroup-00785e41.js';
|
|
64
64
|
export { s as OrRadioV3 } from '../OrRadio-bb9b37c1.js';
|
|
65
65
|
export { s as OrSearch } from '../OrSearch-11fdf667.js';
|
|
66
|
-
export { s as OrSearchV3 } from '../OrSearch-
|
|
66
|
+
export { s as OrSearchV3 } from '../OrSearch-5406bf03.js';
|
|
67
67
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-880b4911.js';
|
|
68
68
|
export { s as OrSelect } from '../OrSelect-0821b907.js';
|
|
69
|
-
export { s as OrSelectV3 } from '../OrSelect-
|
|
69
|
+
export { s as OrSelectV3 } from '../OrSelect-466e50ca.js';
|
|
70
70
|
export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar-375c85a3.js';
|
|
71
|
-
export {
|
|
71
|
+
export { s as OrSidebarV3 } from '../OrSidebar-61d84c3e.js';
|
|
72
|
+
export { O as OrSidebarPlacement } from '../OrSidebarCollapseButton-1b9c83ef.js';
|
|
72
73
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-2b1610ce.js';
|
|
73
74
|
export { s as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from '../OrSkeletonText-afd3d007.js';
|
|
74
75
|
export { s as OrSlider } from '../OrSlider-87e2da8c.js';
|
|
75
|
-
export { s as OrSortHeaderV3 } from '../OrSortHeader-
|
|
76
|
+
export { s as OrSortHeaderV3 } from '../OrSortHeader-a39f77f9.js';
|
|
76
77
|
export { s as OrStepper } from '../OrStepper-f19b4eac.js';
|
|
77
78
|
export { s as OrSwitch } from '../OrSwitch-c333ee32.js';
|
|
78
79
|
export { s as OrSwitchV3 } from '../OrSwitch-1c2196da.js';
|
|
@@ -80,9 +81,9 @@ export { s as OrTab } from '../OrTab-bc98be02.js';
|
|
|
80
81
|
export { s as OrTabHeaderItem } from '../OrTabHeaderItem-d668cc59.js';
|
|
81
82
|
export { s as OrTabV3 } from '../OrTab-d3785ea4.js';
|
|
82
83
|
export { s as OrTabs } from '../OrTabs-d3812c11.js';
|
|
83
|
-
export { s as OrTabsV3, T as TabsVariant } from '../OrTabs-
|
|
84
|
+
export { s as OrTabsV3, T as TabsVariant } from '../OrTabs-328d41b9.js';
|
|
84
85
|
export { s as OrTag } from '../OrTag-1b5e43fa.js';
|
|
85
|
-
export { s as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-
|
|
86
|
+
export { s as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-148ff9ae.js';
|
|
86
87
|
export { s as OrTeleport } from '../OrTeleportVue3-ad639f12.js';
|
|
87
88
|
export { s as OrTeleportV3 } from '../OrTeleport.vue3-8099178c.js';
|
|
88
89
|
export { s as OrTextV3 } from '../OrText-6b4f7cd1.js';
|
|
@@ -91,7 +92,7 @@ export { s as OrTextareaV3 } from '../OrTextarea-37566985.js';
|
|
|
91
92
|
export { s as OrTextbox, T as TextboxTypes } from '../OrTextbox-2f33e9c3.js';
|
|
92
93
|
export { s as OrToast, a as OrToastContainer } from '../OrToastContainer-40c4c1c8.js';
|
|
93
94
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-4fbe0e5a.js';
|
|
94
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../types-
|
|
95
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../types-b79e4387.js';
|
|
95
96
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-0665462d.js';
|
|
96
97
|
export { s as OrTooltip, a as OrTooltipContent } from '../OrTooltip-78cd7f6b.js';
|
|
97
98
|
export { s as OrTooltipV3 } from '../OrTooltip-b07616f4.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from '../../OrAvatar-
|
|
1
|
+
export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from '../../OrAvatar-6444e693.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../color-1f348774.js';
|
|
4
|
-
import '../../OrIcon-
|
|
4
|
+
import '../../OrIcon-34f59f73.js';
|
|
5
5
|
import 'vue';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-
|
|
1
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-e4fde5b4.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../OrButton-c56998e7.js';
|
|
4
4
|
import '../../OrLoader-a53d2edf.js';
|
|
5
5
|
import 'vue';
|
|
6
|
-
import '../../OrIconButton-
|
|
7
|
-
import '../../OrIcon-
|
|
6
|
+
import '../../OrIconButton-2dcfb83e.js';
|
|
7
|
+
import '../../OrIcon-34f59f73.js';
|
|
8
8
|
import '../../OrTooltip-b07616f4.js';
|
|
9
9
|
import '@vueuse/core';
|
|
10
10
|
import '../../OrPopover-40217b49.js';
|
|
@@ -14,10 +14,10 @@ import '../../useResponsive-a02e95b7.js';
|
|
|
14
14
|
import '../../OrBottomSheet-13a416ef.js';
|
|
15
15
|
import '../../OrOverlay-afad3aa4.js';
|
|
16
16
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
17
|
-
import '../../OrMenuItem-
|
|
17
|
+
import '../../OrMenuItem-58707d47.js';
|
|
18
18
|
import '../../OrMenu-7f3ea117.js';
|
|
19
|
-
import '../../OrSearch-
|
|
20
|
-
import '../../OrInput-
|
|
19
|
+
import '../../OrSearch-5406bf03.js';
|
|
20
|
+
import '../../OrInput-bd054213.js';
|
|
21
21
|
import '../../useIdAttribute-859439f0.js';
|
|
22
22
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
23
23
|
import '../../OrError-19198748.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-
|
|
1
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-37454a63.js';
|
|
2
2
|
import '@vueuse/core';
|
|
3
3
|
import '@vueuse/math';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import '../../OrButton-c56998e7.js';
|
|
6
6
|
import '../../OrLoader-a53d2edf.js';
|
|
7
7
|
import 'vue';
|
|
8
|
-
import '../../OrInput-
|
|
8
|
+
import '../../OrInput-bd054213.js';
|
|
9
9
|
import '../../useIdAttribute-859439f0.js';
|
|
10
10
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
11
11
|
import '../../OrError-19198748.js';
|
|
12
12
|
import '../../OrHint-6863124f.js';
|
|
13
|
-
import '../../OrIconButton-
|
|
14
|
-
import '../../OrIcon-
|
|
13
|
+
import '../../OrIconButton-2dcfb83e.js';
|
|
14
|
+
import '../../OrIcon-34f59f73.js';
|
|
15
15
|
import '../../OrTooltip-b07616f4.js';
|
|
16
16
|
import '../../OrPopover-40217b49.js';
|
|
17
17
|
import '@floating-ui/dom';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from '../../OrExpansionPanel-
|
|
1
|
+
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from '../../OrExpansionPanel-3a4282da.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../OrIcon-
|
|
3
|
+
import '../../OrIcon-34f59f73.js';
|
|
4
4
|
import 'vue';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { I as IconButtonColor, s as OrIconButtonV3 } from '../../OrIconButton-
|
|
2
|
-
export { I as IconButtonSize } from '../../OrIcon-
|
|
1
|
+
export { I as IconButtonColor, s as OrIconButtonV3 } from '../../OrIconButton-2dcfb83e.js';
|
|
2
|
+
export { I as IconButtonSize } from '../../OrIcon-34f59f73.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../OrTooltip-b07616f4.js';
|
|
5
5
|
import '@vueuse/core';
|