@onereach/ui-components 2.74.0-beta.2287.0 → 2.74.1-beta.2289.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/{OrButton-d45772c1.js → OrButton-4862b98b.js} +3 -3
- package/dist/bundled/v2/{OrCardCollection-4ac89ea5.js → OrCardCollection-187b0468.js} +4 -4
- package/dist/bundled/v2/{OrCode-c0af38e3.js → OrCode-fc6876ec.js} +15 -179
- package/dist/bundled/v2/{OrConfirm-8c0e957d.js → OrConfirm-94fd90ae.js} +2 -2
- package/dist/bundled/v2/{OrEmptyState-9fb413f9.js → OrEmptyState-8a7feb99.js} +2 -2
- package/dist/bundled/v2/{OrErrorTag-97a9112b.js → OrErrorTag-785d650a.js} +1 -1
- package/dist/bundled/v2/{OrIconButton-837d57f8.js → OrIconButton-5e9d8efe.js} +1 -1
- package/dist/bundled/v2/{OrInlineInput-57fccb41.js → OrInlineInput-38a99ef9.js} +1 -1
- package/dist/bundled/v2/{OrInlineTextarea-f8b86cf7.js → OrInlineTextarea-e0ff164c.js} +1 -1
- package/dist/bundled/v2/{OrInput-00070eee.js → OrInput-65ad6551.js} +29 -12
- package/dist/bundled/v2/{OrInputBox-2f559e98.js → OrInputBox-e54dcef9.js} +3 -3
- package/dist/bundled/v2/{OrMenu-52da43bc.js → OrMenu-6ab53877.js} +10 -15
- package/dist/bundled/v2/{OrModal-78f5d49e.js → OrModal-41f9e197.js} +1 -1
- package/dist/bundled/v2/{OrNotification-2e2a1941.js → OrNotification-3909aaf2.js} +3 -3
- package/dist/bundled/v2/{OrNotification-458fe937.js → OrNotification-cbb374c5.js} +1 -1
- package/dist/bundled/v2/{OrPagination-daf25de2.js → OrPagination-9bf3d797.js} +60 -24
- package/dist/bundled/v2/{OrProgress-15fe65ec.js → OrProgress-5cf0a7e7.js} +3 -3
- package/dist/bundled/v2/{OrSearch-09fd004c.js → OrSearch-142dd903.js} +2 -2
- package/dist/bundled/v2/{OrSelect-2ececfc1.js → OrSelect-797fb43b.js} +3 -3
- package/dist/bundled/v2/{OrSidebar-a2bc21b9.js → OrSidebar-ae90e090.js} +3 -3
- package/dist/bundled/v2/{OrSidebarCollapseButton-8297ef86.js → OrSidebarCollapseButton-54abd48f.js} +1 -1
- package/dist/bundled/v2/{OrSkeletonText-2f1a3cc7.js → OrSkeletonText-242d22f3.js} +3 -3
- package/dist/bundled/v2/{OrTabs-d69780fc.js → OrTabs-517e2f25.js} +1 -1
- package/dist/bundled/v2/{OrTag-4085e8a7.js → OrTag-231eefa1.js} +2 -2
- package/dist/bundled/v2/{OrTextarea-5c57c02b.js → OrTextarea-1201353b.js} +1 -1
- package/dist/bundled/v2/{OrTooltip-b1f38647.js → OrTooltip-121e28c5.js} +3 -1
- package/dist/bundled/v2/components/index.js +28 -28
- package/dist/bundled/v2/components/or-button-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +8 -8
- package/dist/bundled/v2/components/or-code/index.js +1 -1
- package/dist/bundled/v2/components/or-confirm-v3/index.js +6 -6
- package/dist/bundled/v2/components/or-empty-state-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-error-tag-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-icon-button-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-input-box-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +13 -0
- package/dist/bundled/v2/components/or-input-v3/index.js +5 -4
- package/dist/bundled/v2/components/or-menu-v3/OrMenu.vue.d.ts +0 -2
- package/dist/bundled/v2/components/or-menu-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-menu-v3/styles.d.ts +0 -1
- package/dist/bundled/v2/components/or-modal-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-notification/index.js +1 -1
- package/dist/bundled/v2/components/or-notification-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +4 -0
- package/dist/bundled/v2/components/or-pagination-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-progress-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-progress-v3/styles.d.ts +1 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +6 -5
- package/dist/bundled/v2/components/or-select-v3/index.js +7 -6
- package/dist/bundled/v2/components/or-sidebar-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-sidebar-v3/partials/index.js +3 -3
- package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +3 -3
- package/dist/bundled/v2/components/or-skeleton/index.js +1 -1
- package/dist/bundled/v2/components/or-tabs-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-tag-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-textarea-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-toast-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-tooltip-v3/index.js +1 -1
- package/dist/bundled/v2/index.js +28 -28
- package/dist/bundled/v2/{types-309b7b94.js → types-c2d44cac.js} +1 -1
- package/dist/bundled/v3/{OrButton-a1448bfa.js → OrButton-05766523.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-3b1e442b.js → OrButton.vue_vue_type_script_lang-b53e78f5.js} +3 -3
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-f76c3264.js → OrCardCollection.vue_vue_type_script_lang-e980e703.js} +7 -7
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-79a42008.js → OrCode.vue_vue_type_script_lang-c55de81d.js} +11 -176
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-eb2bfce2.js → OrConfirm.vue_vue_type_script_lang-7ba2f530.js} +4 -4
- package/dist/bundled/v3/{OrEmptyState.vue_vue_type_script_lang-da7d6c42.js → OrEmptyState.vue_vue_type_script_lang-8e58c67c.js} +2 -2
- package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-e2fe7ca9.js → OrErrorTag.vue_vue_type_script_lang-3675dde9.js} +1 -1
- package/dist/bundled/v3/{OrIconButton-e0566ecf.js → OrIconButton-d6dfb9a4.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js → OrIconButton.vue_vue_type_script_lang-5d1cb50c.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-49ce3308.js → OrInlineInput.vue_vue_type_script_lang-92640762.js} +2 -2
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-8fd761d7.js → OrInlineTextarea.vue_vue_type_script_lang-7358cb4f.js} +2 -2
- package/dist/bundled/v3/{OrInput-dcf2606e.js → OrInput-6aef644c.js} +15 -6
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-27220623.js → OrInput.vue_vue_type_script_lang-8e55cefa.js} +17 -5
- package/dist/bundled/v3/{OrInputBox-4c7900c2.js → OrInputBox-358d4856.js} +1 -1
- package/dist/bundled/v3/{OrInputBox.vue_vue_type_script_lang-47d98e81.js → OrInputBox.vue_vue_type_script_lang-b387d4ba.js} +3 -3
- package/dist/bundled/v3/{OrMenu-6d7abe97.js → OrMenu-bb432db5.js} +9 -10
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-df35fd76.js → OrMenu.vue_vue_type_script_lang-5a492eb3.js} +5 -8
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-6b1dc231.js → OrModal.vue_vue_type_script_lang-5f45677f.js} +2 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-d0afc1d7.js → OrNotification.vue_vue_type_script_lang-b9a8e938.js} +2 -2
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-f64827ef.js → OrPagination.vue_vue_type_script_lang-bdb0acc8.js} +35 -20
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-52f660d6.js → OrProgress.vue_vue_type_script_lang-17095060.js} +3 -3
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-c054c8db.js → OrSearch.vue_vue_type_script_lang-763128bf.js} +3 -3
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-7fd5e2f0.js → OrSelect.vue_vue_type_script_lang-48de444c.js} +5 -5
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-7f3f1a16.js → OrSidebar.vue_vue_type_script_lang-5116ba2b.js} +3 -3
- package/dist/bundled/v3/{OrSidebarCollapseButton.vue_vue_type_script_lang-9aeba2d4.js → OrSidebarCollapseButton.vue_vue_type_script_lang-c071f0c6.js} +2 -2
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-cb550e87.js → OrTabs.vue_vue_type_script_lang-ae519161.js} +2 -2
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-a25a49ee.js → OrTag.vue_vue_type_script_lang-2410faf0.js} +3 -3
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-296da567.js → OrTextarea.vue_vue_type_script_lang-de99a858.js} +2 -2
- package/dist/bundled/v3/{OrToastContainer-6fe12712.js → OrToastContainer-a435e015.js} +1 -1
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-bf9935ef.js → OrTooltip.vue_vue_type_script_lang-7a64c90d.js} +3 -1
- package/dist/bundled/v3/components/index.js +31 -31
- package/dist/bundled/v3/components/or-button-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +13 -13
- package/dist/bundled/v3/components/or-code/index.js +1 -1
- package/dist/bundled/v3/components/or-confirm-v3/index.js +10 -10
- package/dist/bundled/v3/components/or-empty-state-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-error-tag-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-icon-button-v3/index.js +2 -2
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-input-box-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +13 -0
- package/dist/bundled/v3/components/or-input-v3/index.js +8 -6
- package/dist/bundled/v3/components/or-menu-v3/OrMenu.vue.d.ts +0 -2
- package/dist/bundled/v3/components/or-menu-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-menu-v3/styles.d.ts +0 -1
- package/dist/bundled/v3/components/or-modal-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-notification-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +4 -0
- package/dist/bundled/v3/components/or-pagination-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-progress-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-progress-v3/styles.d.ts +1 -1
- package/dist/bundled/v3/components/or-search-v3/index.js +10 -8
- package/dist/bundled/v3/components/or-select-v3/index.js +11 -9
- package/dist/bundled/v3/components/or-sidebar-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-sidebar-v3/partials/index.js +4 -4
- package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +4 -4
- package/dist/bundled/v3/components/or-tabs-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-tag-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-textarea-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-toast-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-tooltip-v3/index.js +1 -1
- package/dist/bundled/v3/index.js +81 -59
- package/dist/bundled/v3/{types-22fbf9d6.js → types-f95c218d.js} +2 -2
- package/dist/esm/v2/{OrButton-66964360.js → OrButton-18f4431c.js} +3 -3
- package/dist/esm/v2/{OrCardCollection-5a9eda35.js → OrCardCollection-88f635a2.js} +5 -5
- package/dist/esm/v2/{OrCode-47331c24.js → OrCode-d4400b42.js} +17 -183
- package/dist/esm/v2/{OrConfirm-9dbdedd7.js → OrConfirm-7d81daa5.js} +2 -2
- package/dist/esm/v2/{OrEmptyState-2481f13f.js → OrEmptyState-ab1a044d.js} +2 -2
- package/dist/esm/v2/{OrErrorTag-80f82cdf.js → OrErrorTag-57140070.js} +1 -1
- package/dist/esm/v2/{OrIconButton-04a3566d.js → OrIconButton-14d80983.js} +1 -1
- package/dist/esm/v2/{OrInlineInput-b85b84b4.js → OrInlineInput-2746837c.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-afd33047.js → OrInlineTextarea-3af829c7.js} +1 -1
- package/dist/esm/v2/{OrInput-59a15d80.js → OrInput-979c7225.js} +29 -12
- package/dist/esm/v2/{OrInputBox-9ceb9fc4.js → OrInputBox-53d1f66d.js} +3 -3
- package/dist/esm/v2/{OrMenu-c276db74.js → OrMenu-943e7760.js} +10 -15
- package/dist/esm/v2/{OrModal-4e79e0d5.js → OrModal-e638986d.js} +1 -1
- package/dist/esm/v2/{OrNotification-eac3867f.js → OrNotification-19c82a07.js} +1 -1
- package/dist/esm/v2/{OrNotification-a49e76d3.js → OrNotification-a9231a83.js} +3 -3
- package/dist/esm/v2/{OrPagination-1adbcadb.js → OrPagination-93d78a0d.js} +61 -24
- package/dist/esm/v2/{OrProgress-b7d1c689.js → OrProgress-9fc95bd7.js} +3 -3
- package/dist/esm/v2/{OrSearch-7411388b.js → OrSearch-b693161b.js} +2 -2
- package/dist/esm/v2/{OrSelect-e31d1c8b.js → OrSelect-454e1bc3.js} +3 -3
- package/dist/esm/v2/{OrSidebar-27236fbd.js → OrSidebar-f6e3030d.js} +3 -3
- package/dist/esm/v2/{OrSidebarCollapseButton-cfe51a60.js → OrSidebarCollapseButton-5bb545a6.js} +1 -1
- package/dist/esm/v2/{OrSkeletonText-24509efe.js → OrSkeletonText-cc94bdc9.js} +3 -3
- package/dist/esm/v2/{OrTabs-96b0473d.js → OrTabs-398348a5.js} +1 -1
- package/dist/esm/v2/{OrTag-b2906865.js → OrTag-4a6cad6e.js} +2 -2
- package/dist/esm/v2/{OrTextarea-a5a3572b.js → OrTextarea-373d0554.js} +1 -1
- package/dist/esm/v2/{OrTooltip-629d44fc.js → OrTooltip-233c67b9.js} +3 -1
- package/dist/esm/v2/components/index.js +28 -30
- package/dist/esm/v2/components/or-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-card-collection-v3/index.js +8 -8
- package/dist/esm/v2/components/or-code/index.js +2 -4
- package/dist/esm/v2/components/or-confirm-v3/index.js +7 -7
- package/dist/esm/v2/components/or-empty-state-v3/index.js +1 -1
- package/dist/esm/v2/components/or-error-tag-v3/index.js +1 -1
- package/dist/esm/v2/components/or-icon-button-v3/index.js +2 -2
- package/dist/esm/v2/components/or-inline-input-v3/index.js +3 -3
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +3 -3
- package/dist/esm/v2/components/or-input-box-v3/index.js +1 -1
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +13 -0
- package/dist/esm/v2/components/or-input-v3/index.js +6 -5
- package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +0 -2
- package/dist/esm/v2/components/or-menu-v3/index.js +1 -1
- package/dist/esm/v2/components/or-menu-v3/styles.d.ts +0 -1
- package/dist/esm/v2/components/or-modal-v3/index.js +3 -3
- package/dist/esm/v2/components/or-notification/index.js +1 -1
- package/dist/esm/v2/components/or-notification-v3/index.js +3 -3
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +4 -0
- package/dist/esm/v2/components/or-pagination-v3/index.js +5 -5
- package/dist/esm/v2/components/or-progress-v3/index.js +1 -1
- package/dist/esm/v2/components/or-progress-v3/styles.d.ts +1 -1
- package/dist/esm/v2/components/or-search-v3/index.js +7 -6
- package/dist/esm/v2/components/or-select-v3/index.js +8 -7
- package/dist/esm/v2/components/or-sidebar-v3/index.js +4 -4
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +3 -3
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +3 -3
- package/dist/esm/v2/components/or-skeleton/index.js +1 -1
- package/dist/esm/v2/components/or-tabs-v3/index.js +2 -2
- package/dist/esm/v2/components/or-tag-v3/index.js +3 -3
- package/dist/esm/v2/components/or-textarea-v3/index.js +2 -2
- package/dist/esm/v2/components/or-toast-v3/index.js +3 -3
- package/dist/esm/v2/components/or-tooltip-v3/index.js +1 -1
- package/dist/esm/v2/index.js +27 -29
- package/dist/esm/v2/{types-1f95d710.js → types-34f2e287.js} +1 -1
- package/dist/esm/v3/{OrButton-c56998e7.js → OrButton-55dd2ad9.js} +3 -3
- package/dist/esm/v3/{OrCardCollection-e4fde5b4.js → OrCardCollection-551def4e.js} +5 -5
- package/dist/esm/v3/{OrCode-effa9edb.js → OrCode-5ed69c23.js} +14 -180
- package/dist/esm/v3/{OrConfirm-37454a63.js → OrConfirm-4e3a7560.js} +2 -2
- package/dist/esm/v3/{OrEmptyState-bb8e3145.js → OrEmptyState-cd3a4026.js} +2 -2
- package/dist/esm/v3/{OrErrorTag-308119de.js → OrErrorTag-f114e88b.js} +1 -1
- package/dist/esm/v3/{OrIconButton-2dcfb83e.js → OrIconButton-3920ba54.js} +1 -1
- package/dist/esm/v3/{OrInlineInput-fbc35f85.js → OrInlineInput-86e4383b.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-79da8697.js → OrInlineTextarea-10826fa6.js} +1 -1
- package/dist/esm/v3/{OrInput-bd054213.js → OrInput-2568be79.js} +28 -8
- package/dist/esm/v3/{OrInputBox-e16ade90.js → OrInputBox-2467d7e4.js} +3 -3
- package/dist/esm/v3/{OrMenu-7f3ea117.js → OrMenu-fd2fe1e7.js} +13 -17
- package/dist/esm/v3/{OrModal-4219a6dc.js → OrModal-87eaff65.js} +1 -1
- package/dist/esm/v3/{OrNotification-0e682c7f.js → OrNotification-7aab5f58.js} +1 -1
- package/dist/esm/v3/{OrNotification-eb08de33.js → OrNotification-e85a4956.js} +1 -1
- package/dist/esm/v3/{OrPagination-da9e5017.js → OrPagination-781c119e.js} +64 -26
- package/dist/esm/v3/{OrProgress-639ed5e8.js → OrProgress-4856808a.js} +3 -3
- package/dist/esm/v3/{OrSearch-5406bf03.js → OrSearch-3c7feda3.js} +2 -2
- package/dist/esm/v3/{OrSelect-466e50ca.js → OrSelect-389aab9f.js} +3 -3
- package/dist/esm/v3/{OrSidebar-61d84c3e.js → OrSidebar-2c8a68df.js} +3 -3
- package/dist/esm/v3/{OrSidebarCollapseButton-1b9c83ef.js → OrSidebarCollapseButton-1ed5a3d7.js} +1 -1
- package/dist/esm/v3/{OrSkeletonText-0546754d.js → OrSkeletonText-2b1610ce.js} +3 -3
- package/dist/esm/v3/{OrTabs-328d41b9.js → OrTabs-34c67377.js} +1 -1
- package/dist/esm/v3/{OrTag-148ff9ae.js → OrTag-c5c305ed.js} +2 -2
- package/dist/esm/v3/{OrTextarea-37566985.js → OrTextarea-42d21f77.js} +1 -1
- package/dist/esm/v3/{OrTooltip-b07616f4.js → OrTooltip-229c90d5.js} +3 -1
- package/dist/esm/v3/components/index.js +28 -30
- package/dist/esm/v3/components/or-button-v3/index.js +1 -1
- package/dist/esm/v3/components/or-card-collection-v3/index.js +8 -8
- package/dist/esm/v3/components/or-code/index.js +2 -4
- package/dist/esm/v3/components/or-confirm-v3/index.js +7 -7
- package/dist/esm/v3/components/or-empty-state-v3/index.js +1 -1
- package/dist/esm/v3/components/or-error-tag-v3/index.js +1 -1
- package/dist/esm/v3/components/or-icon-button-v3/index.js +2 -2
- package/dist/esm/v3/components/or-inline-input-v3/index.js +3 -3
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +3 -3
- package/dist/esm/v3/components/or-input-box-v3/index.js +1 -1
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +13 -0
- package/dist/esm/v3/components/or-input-v3/index.js +6 -5
- package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +0 -2
- package/dist/esm/v3/components/or-menu-v3/index.js +1 -1
- package/dist/esm/v3/components/or-menu-v3/styles.d.ts +0 -1
- package/dist/esm/v3/components/or-modal-v3/index.js +3 -3
- package/dist/esm/v3/components/or-notification/index.js +1 -1
- package/dist/esm/v3/components/or-notification-v3/index.js +3 -3
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +4 -0
- package/dist/esm/v3/components/or-pagination-v3/index.js +5 -5
- package/dist/esm/v3/components/or-progress-v3/index.js +1 -1
- package/dist/esm/v3/components/or-progress-v3/styles.d.ts +1 -1
- package/dist/esm/v3/components/or-search-v3/index.js +7 -6
- package/dist/esm/v3/components/or-select-v3/index.js +8 -7
- package/dist/esm/v3/components/or-sidebar-v3/index.js +4 -4
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +3 -3
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +3 -3
- package/dist/esm/v3/components/or-skeleton/index.js +1 -1
- package/dist/esm/v3/components/or-tabs-v3/index.js +2 -2
- package/dist/esm/v3/components/or-tag-v3/index.js +3 -3
- package/dist/esm/v3/components/or-textarea-v3/index.js +2 -2
- package/dist/esm/v3/components/or-toast-v3/index.js +3 -3
- package/dist/esm/v3/components/or-tooltip-v3/index.js +1 -1
- package/dist/esm/v3/index.js +27 -29
- package/dist/esm/v3/{types-b79e4387.js → types-225f772b.js} +1 -1
- package/package.json +2 -2
- package/src/components/or-button-v3/styles.ts +3 -3
- package/src/components/or-code/OrCode.vue +6 -8
- package/src/components/or-empty-state-v3/styles.ts +2 -2
- package/src/components/or-error-tag-v3/styles.ts +1 -1
- package/src/components/or-input-box-v3/styles.ts +3 -6
- package/src/components/or-input-v3/OrInput.stories3.ts +4 -0
- package/src/components/or-input-v3/OrInput.vue +39 -19
- package/src/components/or-menu-v3/OrMenu.vue +22 -26
- package/src/components/or-menu-v3/styles.ts +0 -5
- package/src/components/or-notification/OrNotification.vue +1 -26
- package/src/components/or-pagination-v3/OrPagination.vue +86 -42
- package/src/components/or-pagination-v3/styles.ts +1 -1
- package/src/components/or-progress-v3/styles.ts +4 -4
- package/src/components/or-sidebar-v3/styles.ts +2 -2
- package/src/components/or-skeleton/styles.scss +3 -18
- package/src/components/or-stepper/OrStepper.stories.ts +1 -1
- package/src/components/or-tag-v3/OrTag.stories3.ts +5 -5
- package/src/components/or-tag-v3/styles.ts +1 -1
- package/src/components/or-tooltip-v3/styles.ts +4 -1
- package/dist/bundled/v2/components/or-code/theme.d.ts +0 -24
- package/dist/bundled/v3/components/or-code/theme.d.ts +0 -24
- package/dist/esm/v2/components/or-code/theme.d.ts +0 -24
- package/dist/esm/v3/components/or-code/theme.d.ts +0 -24
- package/src/components/or-code/theme.ts +0 -213
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useToggle } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, createElementVNode, toDisplayString, createBlock, withModifiers, onBeforeMount, onBeforeUnmount, nextTick } from 'vue';
|
|
3
3
|
import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-4d4329cd.js';
|
|
4
|
-
import './OrIconButton-
|
|
4
|
+
import './OrIconButton-d6dfb9a4.js';
|
|
5
5
|
import './OrLoader-123ef8c4.js';
|
|
6
|
-
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-
|
|
6
|
+
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-5d1cb50c.js';
|
|
7
7
|
import { s as script$3 } from './OrLoader.vue_vue_type_script_lang-4c3c1ac9.js';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
9
9
|
import './OrOverlay.vue_vue_type_script_lang-7edd25f6.js';
|
|
@@ -27,7 +27,7 @@ const ButtonRoot = [
|
|
|
27
27
|
'layout-inline-row justify-center',
|
|
28
28
|
// Shape
|
|
29
29
|
'rounded-md',
|
|
30
|
-
//
|
|
30
|
+
// Spacing
|
|
31
31
|
'min-w-[96px]',
|
|
32
32
|
// Interactivity
|
|
33
33
|
'interactivity-auto',
|
|
@@ -47,8 +47,8 @@ const ButtonRootVariants = {
|
|
|
47
47
|
'px-md md:px-md', 'py-sm+ md:py-sm', 'gap-sm+ md:gap-sm'],
|
|
48
48
|
'link': [
|
|
49
49
|
// Spacing
|
|
50
|
-
'gap-
|
|
51
|
-
//
|
|
50
|
+
'gap-xs',
|
|
51
|
+
// Spacing
|
|
52
52
|
'min-w-[auto]']
|
|
53
53
|
};
|
|
54
54
|
const ButtonRootColors = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$3 } from './OrButton-
|
|
3
|
-
import { _ as __vue_component__$2 } from './OrIconButton-
|
|
2
|
+
import { _ as __vue_component__$3 } from './OrButton-18f4431c.js';
|
|
3
|
+
import { _ as __vue_component__$2 } from './OrIconButton-14d80983.js';
|
|
4
4
|
import { _ as __vue_component__$6 } from './OrIcon-f34e0e6f.js';
|
|
5
5
|
import { _ as __vue_component__$5 } from './OrMenuItem-7b7fbf8a.js';
|
|
6
|
-
import { _ as __vue_component__$4 } from './OrMenu-
|
|
6
|
+
import { _ as __vue_component__$4 } from './OrMenu-943e7760.js';
|
|
7
7
|
import './OrPopover-d5d4f62a.js';
|
|
8
|
-
import { _ as __vue_component__$7 } from './OrSearch-
|
|
9
|
-
import './OrInputBox-
|
|
8
|
+
import { _ as __vue_component__$7 } from './OrSearch-b693161b.js';
|
|
9
|
+
import './OrInputBox-53d1f66d.js';
|
|
10
10
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
11
11
|
|
|
12
12
|
const CardCollectionRoot = [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EditorState } from '@codemirror/state';
|
|
2
|
-
import {
|
|
2
|
+
import { keymap } from '@codemirror/view';
|
|
3
3
|
import { indentWithTab } from '@codemirror/commands';
|
|
4
|
-
import { basicSetup, EditorView as EditorView$1 } from 'codemirror';
|
|
5
4
|
import { useElementHover } from '@vueuse/core';
|
|
5
|
+
import { basicSetup, EditorView } from 'codemirror';
|
|
6
6
|
import _ from 'lodash';
|
|
7
7
|
import { defineComponent, ref } from 'vue-demi';
|
|
8
8
|
import './OrIconButton.vue_rollup-plugin-vue_script-9fb7b7ab.js';
|
|
@@ -18,8 +18,6 @@ import { css } from '@codemirror/lang-css';
|
|
|
18
18
|
import { json } from '@codemirror/lang-json';
|
|
19
19
|
import { javascript } from '@codemirror/lang-javascript';
|
|
20
20
|
import { markdown } from '@codemirror/lang-markdown';
|
|
21
|
-
import { HighlightStyle, syntaxHighlighting } from '@codemirror/language';
|
|
22
|
-
import { tags } from '@lezer/highlight';
|
|
23
21
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
24
22
|
|
|
25
23
|
var OrCodeLanguages;
|
|
@@ -51,173 +49,6 @@ var languages = {
|
|
|
51
49
|
[OrCodeLanguages.MD]: MD
|
|
52
50
|
};
|
|
53
51
|
|
|
54
|
-
// Using https://github.com/one-dark/vscode-one-dark-theme/ as reference for the colors
|
|
55
|
-
const chalky = 'var(--c-warning-darken-20)',
|
|
56
|
-
coral = 'var(--c-error)',
|
|
57
|
-
cyan = '#56b6c2',
|
|
58
|
-
invalid = 'var(--c-white)',
|
|
59
|
-
ivory = 'var(--c-neutral-6)',
|
|
60
|
-
stone = 'var(--c-neutral-5)',
|
|
61
|
-
// Brightened compared to original to increase contrast
|
|
62
|
-
malibu = '#61afef',
|
|
63
|
-
sage = 'var(--c-success)',
|
|
64
|
-
whiskey = 'var(--c-warning-darken-5)',
|
|
65
|
-
violet = '#c678dd',
|
|
66
|
-
darkBackground = 'var(--c-neutral-1)',
|
|
67
|
-
highlightBackground = 'var(--c-neutral-2)',
|
|
68
|
-
background = 'var(--c-neutral-1)',
|
|
69
|
-
tooltipBackground = 'var(--c-neutral-2)',
|
|
70
|
-
selection = 'var(--c-neutral-3)',
|
|
71
|
-
cursor = 'var(--c-primary)';
|
|
72
|
-
/// The editor theme styles for One Dark.
|
|
73
|
-
const orCodeTheme = EditorView.theme({
|
|
74
|
-
'&': {
|
|
75
|
-
color: ivory,
|
|
76
|
-
backgroundColor: background
|
|
77
|
-
},
|
|
78
|
-
'.cm-content': {
|
|
79
|
-
caretColor: cursor
|
|
80
|
-
},
|
|
81
|
-
'.cm-button': {
|
|
82
|
-
background: highlightBackground,
|
|
83
|
-
color: 'var(--c-neutral-6)',
|
|
84
|
-
border: 0,
|
|
85
|
-
borderRadius: 'var(--s-2)'
|
|
86
|
-
},
|
|
87
|
-
'.cm-panel.cm-search input[type=checkbox]': {
|
|
88
|
-
display: 'inline-block',
|
|
89
|
-
verticalAlign: 'middle'
|
|
90
|
-
},
|
|
91
|
-
'.cm-cursor, .cm-dropCursor': {
|
|
92
|
-
borderLeftColor: cursor
|
|
93
|
-
},
|
|
94
|
-
'&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': {
|
|
95
|
-
backgroundColor: selection
|
|
96
|
-
},
|
|
97
|
-
'.cm-panels': {
|
|
98
|
-
backgroundColor: darkBackground,
|
|
99
|
-
color: ivory
|
|
100
|
-
},
|
|
101
|
-
'.cm-panels.cm-panels-top': {
|
|
102
|
-
borderBottom: '2px solid var(--c-neutral-2)'
|
|
103
|
-
},
|
|
104
|
-
'.cm-panels.cm-panels-bottom': {
|
|
105
|
-
borderTop: '2px solid var(--c-neutral-2)'
|
|
106
|
-
},
|
|
107
|
-
'.cm-searchMatch': {
|
|
108
|
-
backgroundColor: 'var(--c-neutral-1)',
|
|
109
|
-
outline: '1px solid var(--c-neutral-2)'
|
|
110
|
-
},
|
|
111
|
-
'.cm-searchMatch.cm-searchMatch-selected': {
|
|
112
|
-
backgroundColor: '#6199ff2f'
|
|
113
|
-
},
|
|
114
|
-
'.cm-activeLine': {
|
|
115
|
-
backgroundColor: '#6699ff0b'
|
|
116
|
-
},
|
|
117
|
-
'.cm-selectionMatch': {
|
|
118
|
-
backgroundColor: '#aafe661a'
|
|
119
|
-
},
|
|
120
|
-
'&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket': {
|
|
121
|
-
backgroundColor: '#bad0f847'
|
|
122
|
-
},
|
|
123
|
-
'.cm-gutters': {
|
|
124
|
-
backgroundColor: background,
|
|
125
|
-
color: stone,
|
|
126
|
-
border: 'none'
|
|
127
|
-
},
|
|
128
|
-
'.cm-activeLineGutter': {
|
|
129
|
-
backgroundColor: highlightBackground
|
|
130
|
-
},
|
|
131
|
-
'.cm-foldPlaceholder': {
|
|
132
|
-
backgroundColor: 'transparent',
|
|
133
|
-
border: 'none',
|
|
134
|
-
color: '#ddd'
|
|
135
|
-
},
|
|
136
|
-
'.cm-tooltip': {
|
|
137
|
-
border: 'none',
|
|
138
|
-
backgroundColor: tooltipBackground
|
|
139
|
-
},
|
|
140
|
-
'.cm-tooltip .cm-tooltip-arrow:before': {
|
|
141
|
-
borderTopColor: 'transparent',
|
|
142
|
-
borderBottomColor: 'transparent'
|
|
143
|
-
},
|
|
144
|
-
'.cm-tooltip .cm-tooltip-arrow:after': {
|
|
145
|
-
borderTopColor: tooltipBackground,
|
|
146
|
-
borderBottomColor: tooltipBackground
|
|
147
|
-
},
|
|
148
|
-
'.cm-tooltip-autocomplete': {
|
|
149
|
-
'& > ul > li[aria-selected]': {
|
|
150
|
-
backgroundColor: highlightBackground,
|
|
151
|
-
color: ivory
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
'.cm-textfield': {
|
|
155
|
-
outline: 'none',
|
|
156
|
-
background: background,
|
|
157
|
-
color: 'var(--c-neutral-6)',
|
|
158
|
-
backgroundColor: 'var(--c-neutral-1)',
|
|
159
|
-
border: '1px solid var(--c-neutral-2)',
|
|
160
|
-
borderRadius: 'var(--s-2)'
|
|
161
|
-
}
|
|
162
|
-
}, {
|
|
163
|
-
dark: true
|
|
164
|
-
});
|
|
165
|
-
/// The highlighting style for code in the One Dark theme.
|
|
166
|
-
const orCodeHighlightStyle = HighlightStyle.define([{
|
|
167
|
-
tag: tags.keyword,
|
|
168
|
-
color: violet
|
|
169
|
-
}, {
|
|
170
|
-
tag: [tags.name, tags.deleted, tags.character, tags.propertyName, tags.macroName],
|
|
171
|
-
color: coral
|
|
172
|
-
}, {
|
|
173
|
-
tag: [tags.function(tags.variableName), tags.labelName],
|
|
174
|
-
color: malibu
|
|
175
|
-
}, {
|
|
176
|
-
tag: [tags.color, tags.constant(tags.name), tags.standard(tags.name)],
|
|
177
|
-
color: whiskey
|
|
178
|
-
}, {
|
|
179
|
-
tag: [tags.definition(tags.name), tags.separator],
|
|
180
|
-
color: ivory
|
|
181
|
-
}, {
|
|
182
|
-
tag: [tags.typeName, tags.className, tags.number, tags.changed, tags.annotation, tags.modifier, tags.self, tags.namespace],
|
|
183
|
-
color: chalky
|
|
184
|
-
}, {
|
|
185
|
-
tag: [tags.operator, tags.operatorKeyword, tags.url, tags.escape, tags.regexp, tags.link, tags.special(tags.string)],
|
|
186
|
-
color: cyan
|
|
187
|
-
}, {
|
|
188
|
-
tag: [tags.meta, tags.comment],
|
|
189
|
-
color: stone
|
|
190
|
-
}, {
|
|
191
|
-
tag: tags.strong,
|
|
192
|
-
fontWeight: 'bold'
|
|
193
|
-
}, {
|
|
194
|
-
tag: tags.emphasis,
|
|
195
|
-
fontStyle: 'italic'
|
|
196
|
-
}, {
|
|
197
|
-
tag: tags.strikethrough,
|
|
198
|
-
textDecoration: 'line-through'
|
|
199
|
-
}, {
|
|
200
|
-
tag: tags.link,
|
|
201
|
-
color: stone,
|
|
202
|
-
textDecoration: 'underline'
|
|
203
|
-
}, {
|
|
204
|
-
tag: tags.heading,
|
|
205
|
-
fontWeight: 'bold',
|
|
206
|
-
color: coral
|
|
207
|
-
}, {
|
|
208
|
-
tag: [tags.atom, tags.bool, tags.special(tags.variableName)],
|
|
209
|
-
color: whiskey
|
|
210
|
-
}, {
|
|
211
|
-
tag: [tags.processingInstruction, tags.string, tags.inserted],
|
|
212
|
-
color: sage
|
|
213
|
-
}, {
|
|
214
|
-
tag: tags.invalid,
|
|
215
|
-
color: invalid
|
|
216
|
-
}]);
|
|
217
|
-
/// Extension to enable the One Dark theme (both the editor theme and
|
|
218
|
-
/// the highlight style).
|
|
219
|
-
const theme = [orCodeTheme, syntaxHighlighting(orCodeHighlightStyle)];
|
|
220
|
-
|
|
221
52
|
//partially based on https://github.com/logue/vue-codemirror6/blob/master/src/components/CodeMirror.vue
|
|
222
53
|
var script = defineComponent({
|
|
223
54
|
name: 'OrCode',
|
|
@@ -301,12 +132,11 @@ var script = defineComponent({
|
|
|
301
132
|
setup(props, {
|
|
302
133
|
emit
|
|
303
134
|
}) {
|
|
304
|
-
// editor config
|
|
305
135
|
const root = ref();
|
|
306
136
|
const target = ref();
|
|
307
137
|
const fullscreenTarget = ref();
|
|
308
138
|
const isHovered = useElementHover(root);
|
|
309
|
-
const editor = new EditorView
|
|
139
|
+
const editor = new EditorView({
|
|
310
140
|
state: EditorState.create({
|
|
311
141
|
doc: props.modelValue
|
|
312
142
|
}),
|
|
@@ -343,19 +173,21 @@ var script = defineComponent({
|
|
|
343
173
|
allowPaste,
|
|
344
174
|
lineWrapping
|
|
345
175
|
} = this;
|
|
346
|
-
const ext = _.compact([
|
|
176
|
+
const ext = _.compact([
|
|
177
|
+
// Toggle light/dark mode
|
|
178
|
+
EditorView.baseTheme({}),
|
|
347
179
|
// locale settings
|
|
348
180
|
this.phrases ? EditorState.phrases.of(this.phrases) : undefined,
|
|
349
181
|
// Parser language setting
|
|
350
182
|
this.localLanguage,
|
|
351
183
|
// Editable option
|
|
352
|
-
EditorView
|
|
184
|
+
EditorView.editable.of(!this.isReadonly),
|
|
353
185
|
// Focus and blur listener
|
|
354
|
-
EditorView
|
|
186
|
+
EditorView.updateListener.of(viewUpdate => {
|
|
355
187
|
if (viewUpdate.focusChanged) {
|
|
356
188
|
viewUpdate.view.hasFocus ? this.$emit('focus') : this.$emit('blur', viewUpdate.state.doc.toString());
|
|
357
189
|
}
|
|
358
|
-
}), EditorView
|
|
190
|
+
}), EditorView.domEventHandlers({
|
|
359
191
|
drop(event) {
|
|
360
192
|
if (!allowDrop) {
|
|
361
193
|
event.preventDefault();
|
|
@@ -370,8 +202,10 @@ var script = defineComponent({
|
|
|
370
202
|
}
|
|
371
203
|
}),
|
|
372
204
|
// line wrapping
|
|
373
|
-
lineWrapping ? EditorView
|
|
374
|
-
|
|
205
|
+
lineWrapping ? EditorView.lineWrapping : undefined, keymap.of([indentWithTab])]);
|
|
206
|
+
// Append Extensions (such as basic-setup)
|
|
207
|
+
if (this.extensions.length !== 0) _.merge(ext, this.extensions);
|
|
208
|
+
return ext;
|
|
375
209
|
},
|
|
376
210
|
isShowingError() {
|
|
377
211
|
return !!this.error && this.isInvalid;
|
|
@@ -463,7 +297,7 @@ var __vue_render__ = function () {
|
|
|
463
297
|
staticClass: "fullscreen-button",
|
|
464
298
|
attrs: {
|
|
465
299
|
"icon": "fullscreen",
|
|
466
|
-
"icon-color": "neutral-
|
|
300
|
+
"icon-color": "neutral-3"
|
|
467
301
|
},
|
|
468
302
|
on: {
|
|
469
303
|
"click": function ($event) {
|
|
@@ -531,14 +365,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
531
365
|
/* style */
|
|
532
366
|
const __vue_inject_styles__ = function (inject) {
|
|
533
367
|
if (!inject) return;
|
|
534
|
-
inject("data-v-
|
|
535
|
-
source: "@keyframes spinAround-data-v-
|
|
368
|
+
inject("data-v-2056db5f_0", {
|
|
369
|
+
source: "@keyframes spinAround-data-v-2056db5f{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-2056db5f{from{opacity:1}to{opacity:0}}.or-code .fullscreen-button[data-v-2056db5f]{width:2.25rem;height:2.25rem}.or-code .fullscreen-button>.or-icon[data-v-2056db5f]{font-size:1.5rem}.or-code .footer .or-code-error[data-v-2056db5f],.or-code .footer .or-code-hint[data-v-2056db5f]{flex-shrink:1;transition-timing-function:var(--t-func);transition-duration:var(--t-duration);transition-property:height,opacity}.header[data-v-2056db5f]{display:flex;flex-direction:row;align-items:center;height:36px}.header .actions[data-v-2056db5f]{margin-left:auto}.header .actions[data-v-2056db5f]:not(.is-visible){display:none}.or-code-editor[data-v-2056db5f]{min-height:calc(1.4em + 8px);overflow:auto;font-size:var(--fs-0);border:1px solid var(--c-neutral-2);border-radius:var(--s-2)}.or-code-editor.is-invalid[data-v-2056db5f]{border-color:var(--c-error)}.or-code-editor[data-v-2056db5f]> *{width:100%;height:100%}.or-code[data-v-2056db5f],.or-modal[data-v-2056db5f] .content{display:flex;flex-direction:column}.or-code .or-code-editor[data-v-2056db5f],.or-modal[data-v-2056db5f] .content .or-code-editor{flex-grow:1;text-align:left!important}",
|
|
536
370
|
map: undefined,
|
|
537
371
|
media: undefined
|
|
538
372
|
});
|
|
539
373
|
};
|
|
540
374
|
/* scoped */
|
|
541
|
-
const __vue_scope_id__ = "data-v-
|
|
375
|
+
const __vue_scope_id__ = "data-v-2056db5f";
|
|
542
376
|
/* module identifier */
|
|
543
377
|
const __vue_module_identifier__ = undefined;
|
|
544
378
|
/* functional template */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
|
|
2
2
|
import { logicAnd } from '@vueuse/math';
|
|
3
3
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
4
|
-
import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-
|
|
5
|
-
import { _ as __vue_component__$3 } from './OrInput-
|
|
4
|
+
import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-18f4431c.js';
|
|
5
|
+
import { _ as __vue_component__$3 } from './OrInput-979c7225.js';
|
|
6
6
|
import { _ as __vue_component__$1 } from './OrOverlay-a019186f.js';
|
|
7
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
8
8
|
|
|
@@ -12,10 +12,10 @@ const EmptyStateRoot = [
|
|
|
12
12
|
'grow', 'flex', 'flex-col', 'justify-center', 'items-center',
|
|
13
13
|
// Box
|
|
14
14
|
'w-full',
|
|
15
|
-
//
|
|
15
|
+
// Spacing
|
|
16
16
|
'gap-sm'];
|
|
17
17
|
const EmptyStateImage = [
|
|
18
|
-
//
|
|
18
|
+
// Spacing
|
|
19
19
|
'mb-sm'];
|
|
20
20
|
const EmptyStateImageSizes = {
|
|
21
21
|
[EmptyStateSize.L]: [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
2
|
import { _ as __vue_component__$1, I as IconSize } from './OrIcon-f34e0e6f.js';
|
|
3
|
-
import { _ as __vue_component__$2 } from './OrTooltip-
|
|
3
|
+
import { _ as __vue_component__$2 } from './OrTooltip-233c67b9.js';
|
|
4
4
|
import './OrPopover-d5d4f62a.js';
|
|
5
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
6
|
|
|
@@ -4,7 +4,7 @@ import '@vueuse/core';
|
|
|
4
4
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
5
5
|
import { _ as __vue_component__$1 } from './OrError-13845bb0.js';
|
|
6
6
|
import { _ as __vue_component__$2 } from './OrHint-78b399cb.js';
|
|
7
|
-
import { _ as __vue_component__$3 } from './OrIconButton-
|
|
7
|
+
import { _ as __vue_component__$3 } from './OrIconButton-14d80983.js';
|
|
8
8
|
import { _ as __vue_component__$4, I as InlineInputBoxSize } from './OrInlineInputBox-46146af0.js';
|
|
9
9
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
10
10
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
@@ -4,7 +4,7 @@ import '@vueuse/core';
|
|
|
4
4
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
5
5
|
import { _ as __vue_component__$1 } from './OrError-13845bb0.js';
|
|
6
6
|
import { _ as __vue_component__$2 } from './OrHint-78b399cb.js';
|
|
7
|
-
import { _ as __vue_component__$3 } from './OrIconButton-
|
|
7
|
+
import { _ as __vue_component__$3 } from './OrIconButton-14d80983.js';
|
|
8
8
|
import { _ as __vue_component__$4 } from './OrInlineInputBox-46146af0.js';
|
|
9
9
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
10
10
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, reactive } from 'vue-demi';
|
|
2
2
|
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
|
+
import { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
4
5
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
5
6
|
import { _ as __vue_component__$1 } from './OrError-13845bb0.js';
|
|
6
7
|
import { _ as __vue_component__$2 } from './OrHint-78b399cb.js';
|
|
7
|
-
import { _ as __vue_component__$4 } from './OrIconButton-
|
|
8
|
+
import { _ as __vue_component__$4 } from './OrIconButton-14d80983.js';
|
|
8
9
|
import { _ as __vue_component__$3 } from './OrIcon-f34e0e6f.js';
|
|
9
|
-
import { _ as __vue_component__$5, a as InputBoxSize } from './OrInputBox-
|
|
10
|
+
import { _ as __vue_component__$5, a as InputBoxSize } from './OrInputBox-53d1f66d.js';
|
|
10
11
|
import { _ as __vue_component__$6 } from './OrLabel-0945a4d9.js';
|
|
12
|
+
import { _ as __vue_component__$7 } from './OrLoader-76307488.js';
|
|
11
13
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
12
14
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
13
15
|
|
|
@@ -40,7 +42,8 @@ var script = defineComponent({
|
|
|
40
42
|
OrIcon: __vue_component__$3,
|
|
41
43
|
OrIconButton: __vue_component__$4,
|
|
42
44
|
OrInputBox: __vue_component__$5,
|
|
43
|
-
OrLabel: __vue_component__$6
|
|
45
|
+
OrLabel: __vue_component__$6,
|
|
46
|
+
OrLoader: __vue_component__$7
|
|
44
47
|
},
|
|
45
48
|
model: {
|
|
46
49
|
prop: 'modelValue',
|
|
@@ -75,6 +78,10 @@ var script = defineComponent({
|
|
|
75
78
|
type: String,
|
|
76
79
|
default: undefined
|
|
77
80
|
},
|
|
81
|
+
loading: {
|
|
82
|
+
type: Boolean,
|
|
83
|
+
default: false
|
|
84
|
+
},
|
|
78
85
|
required: {
|
|
79
86
|
type: Boolean,
|
|
80
87
|
default: false
|
|
@@ -120,6 +127,9 @@ var script = defineComponent({
|
|
|
120
127
|
const maxLength = computed(() => controlAttributes.maxlength);
|
|
121
128
|
const invalid = computed(() => !!props.error);
|
|
122
129
|
const disclosed = ref(false);
|
|
130
|
+
const {
|
|
131
|
+
isMobile
|
|
132
|
+
} = useResponsive();
|
|
123
133
|
// Methods
|
|
124
134
|
function focus() {
|
|
125
135
|
var _a;
|
|
@@ -140,6 +150,7 @@ var script = defineComponent({
|
|
|
140
150
|
maxLength,
|
|
141
151
|
invalid,
|
|
142
152
|
disclosed,
|
|
153
|
+
isMobile,
|
|
143
154
|
focus,
|
|
144
155
|
blur
|
|
145
156
|
};
|
|
@@ -176,7 +187,7 @@ var __vue_render__ = function () {
|
|
|
176
187
|
"variant": _vm.disableDefaultStyles ? 'unstyled' : 'styled',
|
|
177
188
|
"size": _vm.size,
|
|
178
189
|
"invalid": _vm.invalid,
|
|
179
|
-
"readonly": _vm.readonly,
|
|
190
|
+
"readonly": _vm.readonly || _vm.loading,
|
|
180
191
|
"disabled": _vm.disabled
|
|
181
192
|
}
|
|
182
193
|
}, [(_vm.type === 'password' && _vm.disclosed ? 'text' : _vm.type) === 'checkbox' ? _c('input', _vm._b({
|
|
@@ -191,7 +202,7 @@ var __vue_render__ = function () {
|
|
|
191
202
|
attrs: {
|
|
192
203
|
"placeholder": _vm.placeholder,
|
|
193
204
|
"required": _vm.required,
|
|
194
|
-
"readonly": _vm.readonly,
|
|
205
|
+
"readonly": _vm.readonly || _vm.loading,
|
|
195
206
|
"disabled": _vm.disabled,
|
|
196
207
|
"type": "checkbox"
|
|
197
208
|
},
|
|
@@ -240,7 +251,7 @@ var __vue_render__ = function () {
|
|
|
240
251
|
attrs: {
|
|
241
252
|
"placeholder": _vm.placeholder,
|
|
242
253
|
"required": _vm.required,
|
|
243
|
-
"readonly": _vm.readonly,
|
|
254
|
+
"readonly": _vm.readonly || _vm.loading,
|
|
244
255
|
"disabled": _vm.disabled,
|
|
245
256
|
"type": "radio"
|
|
246
257
|
},
|
|
@@ -276,7 +287,7 @@ var __vue_render__ = function () {
|
|
|
276
287
|
attrs: {
|
|
277
288
|
"placeholder": _vm.placeholder,
|
|
278
289
|
"required": _vm.required,
|
|
279
|
-
"readonly": _vm.readonly,
|
|
290
|
+
"readonly": _vm.readonly || _vm.loading,
|
|
280
291
|
"disabled": _vm.disabled,
|
|
281
292
|
"type": _vm.type === 'password' && _vm.disclosed ? 'text' : _vm.type
|
|
282
293
|
},
|
|
@@ -305,7 +316,13 @@ var __vue_render__ = function () {
|
|
|
305
316
|
}
|
|
306
317
|
}, 'input', _vm.controlAttributes, false)), _vm._v(" "), _c('div', {
|
|
307
318
|
class: ['layout-row']
|
|
308
|
-
}, [_vm.
|
|
319
|
+
}, [_vm.loading ? [_c('OrLoader', {
|
|
320
|
+
attrs: {
|
|
321
|
+
"variant": 'circular',
|
|
322
|
+
"color": 'primary',
|
|
323
|
+
"size": _vm.isMobile ? 'm' : 's'
|
|
324
|
+
}
|
|
325
|
+
})] : [_vm.type === 'password' ? [_c('OrIconButton', {
|
|
309
326
|
attrs: {
|
|
310
327
|
"icon": {
|
|
311
328
|
icon: _vm.disclosed ? 'visibility_off' : 'visibility',
|
|
@@ -337,7 +354,7 @@ var __vue_render__ = function () {
|
|
|
337
354
|
"icon": 'search',
|
|
338
355
|
"variant": 'outlined'
|
|
339
356
|
}
|
|
340
|
-
})]] : _vm._e()], 2)]), _vm._v(" "), !_vm.invalid ? [_vm.hint || _vm.maxLength ? [_c('OrHint', {
|
|
357
|
+
})]] : _vm._e()]], 2)]), _vm._v(" "), !_vm.invalid ? [_vm.hint || _vm.maxLength ? [_c('OrHint', {
|
|
341
358
|
attrs: {
|
|
342
359
|
"disabled": _vm.disabled
|
|
343
360
|
},
|
|
@@ -366,14 +383,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
366
383
|
/* style */
|
|
367
384
|
const __vue_inject_styles__ = function (inject) {
|
|
368
385
|
if (!inject) return;
|
|
369
|
-
inject("data-v-
|
|
370
|
-
source: "input[data-v-
|
|
386
|
+
inject("data-v-9ec674d8_0", {
|
|
387
|
+
source: "input[data-v-9ec674d8]{min-width:0;background:0 0;outline:0}input[type=number][data-v-9ec674d8]::-webkit-inner-spin-button{display:none}input[type=search][data-v-9ec674d8]::-webkit-search-cancel-button{display:none}",
|
|
371
388
|
map: undefined,
|
|
372
389
|
media: undefined
|
|
373
390
|
});
|
|
374
391
|
};
|
|
375
392
|
/* scoped */
|
|
376
|
-
const __vue_scope_id__ = "data-v-
|
|
393
|
+
const __vue_scope_id__ = "data-v-9ec674d8";
|
|
377
394
|
/* module identifier */
|
|
378
395
|
const __vue_module_identifier__ = undefined;
|
|
379
396
|
/* functional template */
|
|
@@ -42,16 +42,16 @@ const InputBoxRootVariants = {
|
|
|
42
42
|
const InputBoxRootSizes = {
|
|
43
43
|
'm': [
|
|
44
44
|
// Box
|
|
45
|
-
'children:min-h-[34px]',
|
|
45
|
+
'children:min-h-[46px] children:md:min-h-[34px]',
|
|
46
46
|
// Spacing
|
|
47
|
-
'first-child:pl-md first-child:md:pl-sm+', 'last-child:pr-md last-child:md:pr-sm+', '
|
|
47
|
+
'first-child:pl-md first-child:md:pl-sm+', 'last-child:pr-md last-child:md:pr-sm+', 'gap-sm+ md:gap-sm',
|
|
48
48
|
// Typography
|
|
49
49
|
'typography-body-2-regular'],
|
|
50
50
|
's': [
|
|
51
51
|
// Box
|
|
52
52
|
'children:min-h-[30px]',
|
|
53
53
|
// Spacing
|
|
54
|
-
'first-child:pl-sm', 'last-child:pr-
|
|
54
|
+
'first-child:pl-md first-child:md:pl-sm+', 'last-child:pr-md last-child:md:pr-sm+', 'gap-[6px]',
|
|
55
55
|
// Typography
|
|
56
56
|
'typography-caption-regular']
|
|
57
57
|
};
|
|
@@ -4,9 +4,6 @@ import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
|
4
4
|
|
|
5
5
|
const MenuRoot = [
|
|
6
6
|
// Layout
|
|
7
|
-
'inline-block'];
|
|
8
|
-
const MenuBody = [
|
|
9
|
-
// Layout
|
|
10
7
|
'overflow-y-auto',
|
|
11
8
|
// Box
|
|
12
9
|
'min-w-[160px]', 'md:max-w-[256px]', 'max-h-[340px]'];
|
|
@@ -16,6 +13,7 @@ var script = defineComponent({
|
|
|
16
13
|
components: {
|
|
17
14
|
OrPopover: __vue_component__$1
|
|
18
15
|
},
|
|
16
|
+
inheritAttrs: false,
|
|
19
17
|
props: {
|
|
20
18
|
trigger: {
|
|
21
19
|
type: HTMLElement,
|
|
@@ -27,7 +25,7 @@ var script = defineComponent({
|
|
|
27
25
|
}
|
|
28
26
|
},
|
|
29
27
|
emits: ['update:state'],
|
|
30
|
-
expose: ['root', '
|
|
28
|
+
expose: ['root', 'isOpen', 'open', 'close', 'toggle'],
|
|
31
29
|
setup() {
|
|
32
30
|
// Refs
|
|
33
31
|
const root = ref();
|
|
@@ -36,13 +34,13 @@ var script = defineComponent({
|
|
|
36
34
|
var _a;
|
|
37
35
|
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
38
36
|
});
|
|
37
|
+
// Styles
|
|
38
|
+
const rootStyles = computed(() => ['or-menu', ...MenuRoot]);
|
|
39
|
+
// State
|
|
39
40
|
const isOpen = computed(() => {
|
|
40
41
|
var _a;
|
|
41
42
|
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.isOpen;
|
|
42
43
|
});
|
|
43
|
-
// Styles
|
|
44
|
-
const rootStyles = computed(() => ['or-menu', ...MenuRoot]);
|
|
45
|
-
const bodyStyles = computed(() => [...MenuBody]);
|
|
46
44
|
// Methods
|
|
47
45
|
function open() {
|
|
48
46
|
const popoverInstance = popover.value;
|
|
@@ -76,7 +74,6 @@ var script = defineComponent({
|
|
|
76
74
|
popover,
|
|
77
75
|
popoverRoot,
|
|
78
76
|
rootStyles,
|
|
79
|
-
bodyStyles,
|
|
80
77
|
isOpen,
|
|
81
78
|
open,
|
|
82
79
|
close,
|
|
@@ -94,10 +91,7 @@ var __vue_render__ = function () {
|
|
|
94
91
|
var _vm = this;
|
|
95
92
|
var _h = _vm.$createElement;
|
|
96
93
|
var _c = _vm._self._c || _h;
|
|
97
|
-
return _c('
|
|
98
|
-
ref: "root",
|
|
99
|
-
class: _vm.rootStyles
|
|
100
|
-
}, [_c('OrPopover', {
|
|
94
|
+
return _c('OrPopover', {
|
|
101
95
|
ref: "popover",
|
|
102
96
|
attrs: {
|
|
103
97
|
"variant": 'auto',
|
|
@@ -111,15 +105,16 @@ var __vue_render__ = function () {
|
|
|
111
105
|
return _vm.$emit('update:state', $event);
|
|
112
106
|
}
|
|
113
107
|
}
|
|
114
|
-
}, [_c('div', {
|
|
115
|
-
|
|
108
|
+
}, [_c('div', _vm._b({
|
|
109
|
+
ref: "root",
|
|
110
|
+
class: _vm.rootStyles,
|
|
116
111
|
on: {
|
|
117
112
|
"click": function ($event) {
|
|
118
113
|
$event.stopPropagation();
|
|
119
114
|
return _vm.onClick.apply(null, arguments);
|
|
120
115
|
}
|
|
121
116
|
}
|
|
122
|
-
}, [_vm._t("default")], 2)])
|
|
117
|
+
}, 'div', _vm.$attrs, false), [_vm._t("default")], 2)]);
|
|
123
118
|
};
|
|
124
119
|
var __vue_staticRenderFns__ = [];
|
|
125
120
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$2 } from './OrIconButton-
|
|
2
|
+
import { _ as __vue_component__$2 } from './OrIconButton-14d80983.js';
|
|
3
3
|
import { _ as __vue_component__$1 } from './OrOverlay-a019186f.js';
|
|
4
4
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$2 } from './OrIconButton-
|
|
2
|
+
import { _ as __vue_component__$2 } from './OrIconButton-14d80983.js';
|
|
3
3
|
import { _ as __vue_component__$1 } from './OrIcon-f34e0e6f.js';
|
|
4
4
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
5
|
|