@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
package/dist/esm/v3/index.js
CHANGED
|
@@ -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';
|
|
@@ -2,7 +2,7 @@ import { useToggle } from '@vueuse/core';
|
|
|
2
2
|
import { defineComponent, ref, computed, onBeforeMount, onBeforeUnmount, nextTick } from 'vue-demi';
|
|
3
3
|
import { s as script$4 } from './OrTeleport.vue3-8099178c.js';
|
|
4
4
|
import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-0665462d.js';
|
|
5
|
-
import { s as script$2 } from './OrIconButton-
|
|
5
|
+
import { s as script$2 } from './OrIconButton-2dcfb83e.js';
|
|
6
6
|
import { s as script$3 } from './OrLoader-a53d2edf.js';
|
|
7
7
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, createElementVNode, toDisplayString, createBlock, withModifiers, withCtx, TransitionGroup, Fragment, renderList, mergeProps } from 'vue';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.73.0",
|
|
4
4
|
"description": "Vue components library for v2/3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/auto/index.js",
|
|
@@ -124,5 +124,6 @@
|
|
|
124
124
|
"default": "./dist/bundled/v3/components/*/index.js"
|
|
125
125
|
},
|
|
126
126
|
"./package.json": "./package.json"
|
|
127
|
-
}
|
|
127
|
+
},
|
|
128
|
+
"gitHead": "83b1879be32d1d75b70fdf4676de496bf8fe7db2"
|
|
128
129
|
}
|
|
@@ -3,8 +3,11 @@ import OrSidebarDocs from './OrSidebar.docs.mdx';
|
|
|
3
3
|
import OrSidebar from './OrSidebar.vue';
|
|
4
4
|
import { OrSidebarPlacement } from './props';
|
|
5
5
|
import { action } from '@storybook/addon-actions';
|
|
6
|
+
import { ref } from 'vue-demi';
|
|
6
7
|
import * as Faker from 'faker';
|
|
7
8
|
import { OrButtonV3 as OrButton } from '../or-button-v3';
|
|
9
|
+
import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3';
|
|
10
|
+
import { OrTabsV3 as OrTabs, TabsItem } from '../or-tabs-v3';
|
|
8
11
|
|
|
9
12
|
export default {
|
|
10
13
|
title: 'Components/Sidebar',
|
|
@@ -39,6 +42,15 @@ export default {
|
|
|
39
42
|
control: { type: 'text' },
|
|
40
43
|
},
|
|
41
44
|
|
|
45
|
+
toolbar: {
|
|
46
|
+
type: {
|
|
47
|
+
name: 'string',
|
|
48
|
+
required: false,
|
|
49
|
+
},
|
|
50
|
+
|
|
51
|
+
control: { type: 'text' },
|
|
52
|
+
},
|
|
53
|
+
|
|
42
54
|
// Props
|
|
43
55
|
width: {
|
|
44
56
|
control: { type: 'number' },
|
|
@@ -52,11 +64,17 @@ export default {
|
|
|
52
64
|
control: { type: 'select' },
|
|
53
65
|
options: Object.values(OrSidebarPlacement),
|
|
54
66
|
},
|
|
67
|
+
|
|
68
|
+
draggable: {
|
|
69
|
+
control: { type: 'boolean' },
|
|
70
|
+
},
|
|
71
|
+
|
|
72
|
+
collapsible: {
|
|
73
|
+
control: { type: 'boolean' },
|
|
74
|
+
},
|
|
55
75
|
},
|
|
56
76
|
|
|
57
77
|
parameters: {
|
|
58
|
-
layout: 'centered',
|
|
59
|
-
|
|
60
78
|
docs: {
|
|
61
79
|
page: OrSidebarDocs,
|
|
62
80
|
},
|
|
@@ -67,6 +85,7 @@ const DefaultTemplate: StoryFn<typeof OrSidebar> = (args) => ({
|
|
|
67
85
|
components: {
|
|
68
86
|
OrSidebar,
|
|
69
87
|
OrButton,
|
|
88
|
+
OrIconButton,
|
|
70
89
|
},
|
|
71
90
|
|
|
72
91
|
setup() {
|
|
@@ -75,14 +94,24 @@ const DefaultTemplate: StoryFn<typeof OrSidebar> = (args) => ({
|
|
|
75
94
|
|
|
76
95
|
methods: {
|
|
77
96
|
onChangeWidth: action('change:width'),
|
|
97
|
+
onOpen: action('open'),
|
|
98
|
+
onClose: action('close'),
|
|
78
99
|
},
|
|
79
100
|
|
|
80
101
|
template: `
|
|
81
|
-
<div style="display: flex; flex-direction: row; border: 1px solid gray;
|
|
82
|
-
<div
|
|
83
|
-
|
|
102
|
+
<div style="display: flex; flex-direction: row; border: 1px solid gray; height: 650px">
|
|
103
|
+
<div
|
|
104
|
+
class="theme-background-surface-1 dark:theme-background-surface-1-dark text-on-background dark:text-on-background-dark"
|
|
105
|
+
style="flex-grow: 1; overflow: auto; padding: 16px"
|
|
106
|
+
>
|
|
107
|
+
${Faker.lorem.paragraphs(10)}
|
|
84
108
|
</div>
|
|
85
|
-
<OrSidebar
|
|
109
|
+
<OrSidebar
|
|
110
|
+
v-bind="args"
|
|
111
|
+
@change:width="onChangeWidth"
|
|
112
|
+
@open="onOpen"
|
|
113
|
+
@close="onClose"
|
|
114
|
+
>
|
|
86
115
|
<template v-if="${!!args.header}" v-slot:header>
|
|
87
116
|
${args.header}
|
|
88
117
|
</template>
|
|
@@ -92,6 +121,9 @@ const DefaultTemplate: StoryFn<typeof OrSidebar> = (args) => ({
|
|
|
92
121
|
<template v-if="${!!args.footer}" v-slot:footer>
|
|
93
122
|
${args.footer}
|
|
94
123
|
</template>
|
|
124
|
+
<template v-if="${!!args.toolbar}" v-slot:toolbar>
|
|
125
|
+
${args.toolbar}
|
|
126
|
+
</template>
|
|
95
127
|
</OrSidebar>
|
|
96
128
|
</div>
|
|
97
129
|
`,
|
|
@@ -101,6 +133,7 @@ const LeftTemplate: StoryFn<typeof OrSidebar> = (args) => ({
|
|
|
101
133
|
components: {
|
|
102
134
|
OrSidebar,
|
|
103
135
|
OrButton,
|
|
136
|
+
OrIconButton,
|
|
104
137
|
},
|
|
105
138
|
|
|
106
139
|
setup() {
|
|
@@ -109,11 +142,18 @@ const LeftTemplate: StoryFn<typeof OrSidebar> = (args) => ({
|
|
|
109
142
|
|
|
110
143
|
methods: {
|
|
111
144
|
onChangeWidth: action('change:width'),
|
|
145
|
+
onOpen: action('open'),
|
|
146
|
+
onClose: action('close'),
|
|
112
147
|
},
|
|
113
148
|
|
|
114
149
|
template: `
|
|
115
|
-
<div style="display: flex; flex-direction: row; border: 1px solid gray;
|
|
116
|
-
<OrSidebar
|
|
150
|
+
<div style="display: flex; flex-direction: row; border: 1px solid gray; height: 650px">
|
|
151
|
+
<OrSidebar
|
|
152
|
+
v-bind="args"
|
|
153
|
+
@change:width="onChangeWidth"
|
|
154
|
+
@open="onOpen"
|
|
155
|
+
@close="onClose"
|
|
156
|
+
>
|
|
117
157
|
<template v-if="${!!args.header}" v-slot:header>
|
|
118
158
|
${args.header}
|
|
119
159
|
</template>
|
|
@@ -123,14 +163,150 @@ const LeftTemplate: StoryFn<typeof OrSidebar> = (args) => ({
|
|
|
123
163
|
<template v-if="${!!args.footer}" v-slot:footer>
|
|
124
164
|
${args.footer}
|
|
125
165
|
</template>
|
|
166
|
+
<template v-if="${!!args.toolbar}" v-slot:toolbar>
|
|
167
|
+
${args.toolbar}
|
|
168
|
+
</template>
|
|
126
169
|
</OrSidebar>
|
|
127
|
-
<div
|
|
128
|
-
|
|
170
|
+
<div
|
|
171
|
+
class="theme-background-surface-1 dark:theme-background-surface-1-dark text-on-background dark:text-on-background-dark"
|
|
172
|
+
style="flex-grow: 1; overflow: auto; padding: 16px"
|
|
173
|
+
>
|
|
174
|
+
${Faker.lorem.paragraphs(10)}
|
|
175
|
+
</div>
|
|
176
|
+
</div>
|
|
177
|
+
`,
|
|
178
|
+
});
|
|
179
|
+
|
|
180
|
+
const TabsTemplate: StoryFn<typeof OrSidebar> = (args) => ({
|
|
181
|
+
components: {
|
|
182
|
+
OrSidebar,
|
|
183
|
+
OrButton,
|
|
184
|
+
OrIconButton,
|
|
185
|
+
OrTabs,
|
|
186
|
+
},
|
|
187
|
+
|
|
188
|
+
setup() {
|
|
189
|
+
// State
|
|
190
|
+
const model = ref<string>();
|
|
191
|
+
|
|
192
|
+
return {
|
|
193
|
+
args,
|
|
194
|
+
model,
|
|
195
|
+
};
|
|
196
|
+
},
|
|
197
|
+
|
|
198
|
+
methods: {
|
|
199
|
+
onChangeWidth: action('change:width'),
|
|
200
|
+
onOpen: action('open'),
|
|
201
|
+
onClose: action('close'),
|
|
202
|
+
},
|
|
203
|
+
|
|
204
|
+
template: `
|
|
205
|
+
<div style="display: flex; flex-direction: row; border: 1px solid gray; height: 650px">
|
|
206
|
+
<div
|
|
207
|
+
class="theme-background-surface-1 dark:theme-background-surface-1-dark text-on-background dark:text-on-background-dark"
|
|
208
|
+
style="flex-grow: 1; overflow: auto; padding: 16px"
|
|
209
|
+
>
|
|
210
|
+
${Faker.lorem.paragraphs(10)}
|
|
129
211
|
</div>
|
|
212
|
+
<OrSidebar
|
|
213
|
+
v-bind="args"
|
|
214
|
+
@change:width="onChangeWidth"
|
|
215
|
+
@open="onOpen"
|
|
216
|
+
@close="onClose"
|
|
217
|
+
>
|
|
218
|
+
<template v-if="${!!args.header}" v-slot:header>
|
|
219
|
+
${args.header}
|
|
220
|
+
</template>
|
|
221
|
+
<template v-if="${!!args.default}" v-slot:default>
|
|
222
|
+
${args.default}
|
|
223
|
+
</template>
|
|
224
|
+
<template v-else v-slot:default>
|
|
225
|
+
<or-tabs
|
|
226
|
+
v-model="model"
|
|
227
|
+
:items="args.items"
|
|
228
|
+
>
|
|
229
|
+
<template v-for="item in args.items" #[item.value]>
|
|
230
|
+
{{ item.label }} Content
|
|
231
|
+
${Faker.lorem.paragraphs(3)}
|
|
232
|
+
</template>
|
|
233
|
+
</or-tabs>
|
|
234
|
+
</template>
|
|
235
|
+
<template v-if="${!!args.footer}" v-slot:footer>
|
|
236
|
+
${args.footer}
|
|
237
|
+
</template>
|
|
238
|
+
<template v-if="${!!args.toolbar}" v-slot:toolbar>
|
|
239
|
+
${args.toolbar}
|
|
240
|
+
</template>
|
|
241
|
+
</OrSidebar>
|
|
130
242
|
</div>
|
|
131
243
|
`,
|
|
132
244
|
});
|
|
133
245
|
|
|
246
|
+
const longToolbar = `
|
|
247
|
+
<or-icon-button
|
|
248
|
+
icon="refresh"
|
|
249
|
+
color="inherit"
|
|
250
|
+
/>
|
|
251
|
+
<hr class="w-full border-outline-variant dark:border-outline-variant-dark" />
|
|
252
|
+
<or-icon-button
|
|
253
|
+
icon="add"
|
|
254
|
+
color="inherit"
|
|
255
|
+
/>
|
|
256
|
+
<or-icon-button
|
|
257
|
+
icon="zoom_out_map"
|
|
258
|
+
color="inherit"
|
|
259
|
+
/>
|
|
260
|
+
<or-icon-button
|
|
261
|
+
icon="remove"
|
|
262
|
+
color="inherit"
|
|
263
|
+
/>
|
|
264
|
+
<hr class="w-full border-outline-variant dark:border-outline-variant-dark" />
|
|
265
|
+
<or-icon-button
|
|
266
|
+
icon="description"
|
|
267
|
+
color="inherit"
|
|
268
|
+
/>
|
|
269
|
+
<or-icon-button
|
|
270
|
+
icon="tab_unselected"
|
|
271
|
+
color="inherit"
|
|
272
|
+
/>
|
|
273
|
+
<hr class="w-full border-outline-variant dark:border-outline-variant-dark" />
|
|
274
|
+
<or-icon-button
|
|
275
|
+
icon="create_new_folder"
|
|
276
|
+
color="inherit"
|
|
277
|
+
/>
|
|
278
|
+
<or-icon-button
|
|
279
|
+
icon="content_paste"
|
|
280
|
+
color="inherit"
|
|
281
|
+
/>
|
|
282
|
+
<or-icon-button
|
|
283
|
+
icon="location_on"
|
|
284
|
+
color="inherit"
|
|
285
|
+
/>
|
|
286
|
+
<or-icon-button
|
|
287
|
+
icon="copy_all"
|
|
288
|
+
color="inherit"
|
|
289
|
+
/>
|
|
290
|
+
<or-icon-button
|
|
291
|
+
icon="call_split"
|
|
292
|
+
color="inherit"
|
|
293
|
+
/>
|
|
294
|
+
<hr class="w-full border-outline-variant dark:border-outline-variant-dark" />
|
|
295
|
+
<or-icon-button
|
|
296
|
+
icon="sell"
|
|
297
|
+
color="inherit"
|
|
298
|
+
/>
|
|
299
|
+
<div class="mt-auto" />
|
|
300
|
+
<or-icon-button
|
|
301
|
+
icon="terminal"
|
|
302
|
+
color="inherit"
|
|
303
|
+
/>
|
|
304
|
+
<or-icon-button
|
|
305
|
+
icon="delete"
|
|
306
|
+
color="inherit"
|
|
307
|
+
/>
|
|
308
|
+
`;
|
|
309
|
+
|
|
134
310
|
export const Default = DefaultTemplate.bind({});
|
|
135
311
|
Default.args = {
|
|
136
312
|
header: 'Header',
|
|
@@ -138,11 +314,24 @@ Default.args = {
|
|
|
138
314
|
footer: 'Footer',
|
|
139
315
|
};
|
|
140
316
|
|
|
141
|
-
export const
|
|
142
|
-
|
|
317
|
+
export const WithCustomWidthConstraints = DefaultTemplate.bind({});
|
|
318
|
+
WithCustomWidthConstraints.args = {
|
|
143
319
|
...Default.args,
|
|
144
320
|
width: 250,
|
|
145
321
|
minimumWidth: 200,
|
|
322
|
+
maximumWidth: 500,
|
|
323
|
+
};
|
|
324
|
+
|
|
325
|
+
export const NotDraggable = DefaultTemplate.bind({});
|
|
326
|
+
NotDraggable.args = {
|
|
327
|
+
...Default.args,
|
|
328
|
+
draggable: false,
|
|
329
|
+
};
|
|
330
|
+
|
|
331
|
+
export const Collapsible = DefaultTemplate.bind({});
|
|
332
|
+
Collapsible.args = {
|
|
333
|
+
...Default.args,
|
|
334
|
+
collapsible: true,
|
|
146
335
|
};
|
|
147
336
|
|
|
148
337
|
export const OnlyContent = DefaultTemplate.bind({});
|
|
@@ -167,8 +356,60 @@ WithFooter.args = {
|
|
|
167
356
|
`,
|
|
168
357
|
};
|
|
169
358
|
|
|
359
|
+
export const WithToolbar = DefaultTemplate.bind({});
|
|
360
|
+
WithToolbar.args = {
|
|
361
|
+
...OnlyContent.args,
|
|
362
|
+
toolbar: longToolbar,
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
export const CollapsibleWithToolbar = DefaultTemplate.bind({});
|
|
366
|
+
CollapsibleWithToolbar.args = {
|
|
367
|
+
...WithToolbar.args,
|
|
368
|
+
collapsible: true,
|
|
369
|
+
};
|
|
370
|
+
|
|
371
|
+
export const WithTabs = TabsTemplate.bind({});
|
|
372
|
+
WithTabs.args = {
|
|
373
|
+
minimumWidth: 352,
|
|
374
|
+
header: 'Headline',
|
|
375
|
+
items: Array.from<string, TabsItem>([
|
|
376
|
+
'Alfa',
|
|
377
|
+
'Bravo',
|
|
378
|
+
'Charlie',
|
|
379
|
+
'Delta',
|
|
380
|
+
'Echo',
|
|
381
|
+
'Foxtrot',
|
|
382
|
+
'Golf',
|
|
383
|
+
'Hotel',
|
|
384
|
+
'India',
|
|
385
|
+
'Juliett',
|
|
386
|
+
], (item) => ({
|
|
387
|
+
value: item.toLowerCase(),
|
|
388
|
+
label: item,
|
|
389
|
+
})),
|
|
390
|
+
footer: `
|
|
391
|
+
<div style="display: flex; flex-direction: row; justify-content: end; gap: 16px">
|
|
392
|
+
<or-button color="danger" variant="outlined">Delete</or-button>
|
|
393
|
+
<or-button variant="outlined" class="ml-auto">Cancel</or-button>
|
|
394
|
+
<or-button>Save</or-button>
|
|
395
|
+
</div>
|
|
396
|
+
`,
|
|
397
|
+
};
|
|
398
|
+
|
|
170
399
|
export const LeftSidebar = LeftTemplate.bind({});
|
|
171
400
|
LeftSidebar.args = {
|
|
172
401
|
...Default.args,
|
|
173
402
|
side: 'left',
|
|
174
403
|
};
|
|
404
|
+
|
|
405
|
+
export const WithLeftToolbar = LeftTemplate.bind({});
|
|
406
|
+
WithLeftToolbar.args = {
|
|
407
|
+
...LeftSidebar.args,
|
|
408
|
+
toolbar: longToolbar,
|
|
409
|
+
};
|
|
410
|
+
|
|
411
|
+
export const CollapsibleWithWithLeftToolbar = LeftTemplate.bind({});
|
|
412
|
+
CollapsibleWithWithLeftToolbar.args = {
|
|
413
|
+
...WithLeftToolbar.args,
|
|
414
|
+
collapsible: true,
|
|
415
|
+
};
|