@onereach/ui-components 2.72.2-beta.2273.0 → 2.72.2-beta.2275.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-4862b98b.js → OrButton-d45772c1.js} +3 -3
- package/dist/bundled/v2/{OrCardCollection-fdd62d7f.js → OrCardCollection-80ac6444.js} +4 -4
- package/dist/bundled/v2/{OrConfirm-e9fc4bab.js → OrConfirm-ea6ea2f7.js} +2 -2
- package/dist/bundled/v2/{OrEmptyState-8a7feb99.js → OrEmptyState-9fb413f9.js} +2 -2
- package/dist/bundled/v2/{OrErrorTag-785d650a.js → OrErrorTag-97a9112b.js} +1 -1
- package/dist/bundled/v2/{OrIconButton-5e9d8efe.js → OrIconButton-837d57f8.js} +1 -1
- package/dist/bundled/v2/{OrInlineInput-38a99ef9.js → OrInlineInput-57fccb41.js} +1 -1
- package/dist/bundled/v2/{OrInlineTextarea-e0ff164c.js → OrInlineTextarea-f8b86cf7.js} +1 -1
- package/dist/bundled/v2/{OrInput-1db640f5.js → OrInput-57a47093.js} +29 -12
- package/dist/bundled/v2/{OrInputBox-2f559e98.js → OrInputBox-e54dcef9.js} +3 -3
- package/dist/bundled/v2/{OrMenu-6ab53877.js → OrMenu-52da43bc.js} +15 -10
- package/dist/bundled/v2/{OrModal-41f9e197.js → OrModal-78f5d49e.js} +1 -1
- package/dist/bundled/v2/{OrNotification-cbb374c5.js → OrNotification-458fe937.js} +1 -1
- package/dist/bundled/v2/{OrPagination-9bf3d797.js → OrPagination-daf25de2.js} +24 -60
- package/dist/bundled/v2/{OrProgress-5cf0a7e7.js → OrProgress-15fe65ec.js} +3 -3
- package/dist/bundled/v2/{OrSearch-79598105.js → OrSearch-2ff8cadd.js} +3 -4
- package/dist/bundled/v2/{OrSelect-5cbf39e6.js → OrSelect-359e891b.js} +3 -3
- package/dist/bundled/v2/{OrSidebar-b1442193.js → OrSidebar-c95ef614.js} +3 -3
- package/dist/bundled/v2/{OrTabs-517e2f25.js → OrTabs-d69780fc.js} +1 -1
- package/dist/bundled/v2/{OrTag-231eefa1.js → OrTag-4085e8a7.js} +2 -2
- package/dist/bundled/v2/{OrTextarea-5c57c02b.js → OrTextarea-1201353b.js} +1 -1
- package/dist/bundled/v2/{OrTooltip-121e28c5.js → OrTooltip-b1f38647.js} +1 -3
- package/dist/bundled/v2/components/index.js +24 -24
- 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-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 +2 -0
- package/dist/bundled/v2/components/or-menu-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-menu-v3/styles.d.ts +1 -0
- 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/OrPagination.vue.d.ts +0 -4
- 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 +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 +24 -24
- package/dist/bundled/v2/{types-c2d44cac.js → types-309b7b94.js} +1 -1
- package/dist/bundled/v3/{OrButton-05766523.js → OrButton-a1448bfa.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-b53e78f5.js → OrButton.vue_vue_type_script_lang-3b1e442b.js} +3 -3
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-1dbf497a.js → OrCardCollection.vue_vue_type_script_lang-09e66060.js} +7 -7
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-be5a3795.js → OrConfirm.vue_vue_type_script_lang-9aff9db3.js} +4 -4
- package/dist/bundled/v3/{OrEmptyState.vue_vue_type_script_lang-8e58c67c.js → OrEmptyState.vue_vue_type_script_lang-da7d6c42.js} +2 -2
- package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-3675dde9.js → OrErrorTag.vue_vue_type_script_lang-e2fe7ca9.js} +1 -1
- package/dist/bundled/v3/{OrIconButton-d6dfb9a4.js → OrIconButton-e0566ecf.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-5d1cb50c.js → OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-92640762.js → OrInlineInput.vue_vue_type_script_lang-49ce3308.js} +2 -2
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-7358cb4f.js → OrInlineTextarea.vue_vue_type_script_lang-8fd761d7.js} +2 -2
- package/dist/bundled/v3/{OrInput-0b025fb9.js → OrInput-44a32124.js} +15 -6
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-8806db67.js → OrInput.vue_vue_type_script_lang-4d9e2f4a.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-bb432db5.js → OrMenu-6d7abe97.js} +10 -9
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-5a492eb3.js → OrMenu.vue_vue_type_script_lang-df35fd76.js} +8 -5
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-5f45677f.js → OrModal.vue_vue_type_script_lang-6b1dc231.js} +2 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-b9a8e938.js → OrNotification.vue_vue_type_script_lang-d0afc1d7.js} +2 -2
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-bdb0acc8.js → OrPagination.vue_vue_type_script_lang-f64827ef.js} +20 -35
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-17095060.js → OrProgress.vue_vue_type_script_lang-52f660d6.js} +3 -3
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-2f124297.js → OrSearch.vue_vue_type_script_lang-faec384c.js} +4 -5
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-923c3abe.js → OrSelect.vue_vue_type_script_lang-c7a9bec2.js} +5 -5
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-d298c2fa.js → OrSidebar.vue_vue_type_script_lang-ce0b152c.js} +3 -3
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-ae519161.js → OrTabs.vue_vue_type_script_lang-cb550e87.js} +2 -2
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-2410faf0.js → OrTag.vue_vue_type_script_lang-a25a49ee.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-a435e015.js → OrToastContainer-6fe12712.js} +1 -1
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-7a64c90d.js → OrTooltip.vue_vue_type_script_lang-bf9935ef.js} +1 -3
- package/dist/bundled/v3/components/index.js +29 -29
- 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-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 +2 -0
- package/dist/bundled/v3/components/or-menu-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-menu-v3/styles.d.ts +1 -0
- 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 +0 -4
- 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 +1 -1
- 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 +51 -73
- package/dist/bundled/v3/{types-f95c218d.js → types-22fbf9d6.js} +2 -2
- package/dist/esm/v2/{OrButton-18f4431c.js → OrButton-66964360.js} +3 -3
- package/dist/esm/v2/{OrCardCollection-0caaf650.js → OrCardCollection-079828a4.js} +5 -5
- package/dist/esm/v2/{OrConfirm-5e46d529.js → OrConfirm-7dc26526.js} +2 -2
- package/dist/esm/v2/{OrEmptyState-ab1a044d.js → OrEmptyState-2481f13f.js} +2 -2
- package/dist/esm/v2/{OrErrorTag-57140070.js → OrErrorTag-80f82cdf.js} +1 -1
- package/dist/esm/v2/{OrIconButton-14d80983.js → OrIconButton-04a3566d.js} +1 -1
- package/dist/esm/v2/{OrInlineInput-2746837c.js → OrInlineInput-b85b84b4.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-3af829c7.js → OrInlineTextarea-afd33047.js} +1 -1
- package/dist/esm/v2/{OrInput-53bbe1da.js → OrInput-3d8c8925.js} +29 -12
- package/dist/esm/v2/{OrInputBox-9ceb9fc4.js → OrInputBox-53d1f66d.js} +3 -3
- package/dist/esm/v2/{OrMenu-943e7760.js → OrMenu-c276db74.js} +15 -10
- package/dist/esm/v2/{OrModal-e638986d.js → OrModal-4e79e0d5.js} +1 -1
- package/dist/esm/v2/{OrNotification-19c82a07.js → OrNotification-eac3867f.js} +1 -1
- package/dist/esm/v2/{OrPagination-93d78a0d.js → OrPagination-1adbcadb.js} +24 -61
- package/dist/esm/v2/{OrProgress-9fc95bd7.js → OrProgress-b7d1c689.js} +3 -3
- package/dist/esm/v2/{OrSearch-f56d6d2a.js → OrSearch-f9b7e168.js} +3 -4
- package/dist/esm/v2/{OrSelect-77df77b0.js → OrSelect-bdb9a78a.js} +3 -3
- package/dist/esm/v2/{OrSidebar-7c89f46c.js → OrSidebar-fabc7bc9.js} +3 -3
- package/dist/esm/v2/{OrTabs-398348a5.js → OrTabs-96b0473d.js} +1 -1
- package/dist/esm/v2/{OrTag-4a6cad6e.js → OrTag-b2906865.js} +2 -2
- package/dist/esm/v2/{OrTextarea-a5a3572b.js → OrTextarea-373d0554.js} +1 -1
- package/dist/esm/v2/{OrTooltip-233c67b9.js → OrTooltip-629d44fc.js} +1 -3
- package/dist/esm/v2/components/index.js +24 -24
- 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-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 +2 -0
- package/dist/esm/v2/components/or-menu-v3/index.js +1 -1
- package/dist/esm/v2/components/or-menu-v3/styles.d.ts +1 -0
- 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/OrPagination.vue.d.ts +0 -4
- 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 +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 +23 -23
- package/dist/esm/v2/{types-34f2e287.js → types-1f95d710.js} +1 -1
- package/dist/esm/v3/{OrButton-55dd2ad9.js → OrButton-c56998e7.js} +3 -3
- package/dist/esm/v3/{OrCardCollection-524c0df2.js → OrCardCollection-c3a7cc7a.js} +5 -5
- package/dist/esm/v3/{OrConfirm-98380cbd.js → OrConfirm-403896ca.js} +2 -2
- package/dist/esm/v3/{OrEmptyState-cd3a4026.js → OrEmptyState-bb8e3145.js} +2 -2
- package/dist/esm/v3/{OrErrorTag-f114e88b.js → OrErrorTag-308119de.js} +1 -1
- package/dist/esm/v3/{OrIconButton-3920ba54.js → OrIconButton-2dcfb83e.js} +1 -1
- package/dist/esm/v3/{OrInlineInput-86e4383b.js → OrInlineInput-fbc35f85.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-10826fa6.js → OrInlineTextarea-79da8697.js} +1 -1
- package/dist/esm/v3/{OrInput-076efcde.js → OrInput-71075f51.js} +28 -8
- package/dist/esm/v3/{OrInputBox-e16ade90.js → OrInputBox-2467d7e4.js} +3 -3
- package/dist/esm/v3/{OrMenu-fd2fe1e7.js → OrMenu-7f3ea117.js} +17 -13
- package/dist/esm/v3/{OrModal-87eaff65.js → OrModal-4219a6dc.js} +1 -1
- package/dist/esm/v3/{OrNotification-7aab5f58.js → OrNotification-0e682c7f.js} +1 -1
- package/dist/esm/v3/{OrPagination-781c119e.js → OrPagination-da9e5017.js} +26 -64
- package/dist/esm/v3/{OrProgress-4856808a.js → OrProgress-639ed5e8.js} +3 -3
- package/dist/esm/v3/{OrSearch-ebd3d4b4.js → OrSearch-21ac89f3.js} +3 -4
- package/dist/esm/v3/{OrSelect-47f7bd92.js → OrSelect-c64eda46.js} +3 -3
- package/dist/esm/v3/{OrSidebar-5d97c7cc.js → OrSidebar-a62972f5.js} +3 -3
- package/dist/esm/v3/{OrTabs-34c67377.js → OrTabs-328d41b9.js} +1 -1
- package/dist/esm/v3/{OrTag-c5c305ed.js → OrTag-148ff9ae.js} +2 -2
- package/dist/esm/v3/{OrTextarea-37566985.js → OrTextarea-42d21f77.js} +1 -1
- package/dist/esm/v3/{OrTooltip-229c90d5.js → OrTooltip-b07616f4.js} +1 -3
- package/dist/esm/v3/components/index.js +24 -24
- 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-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 +2 -0
- package/dist/esm/v3/components/or-menu-v3/index.js +1 -1
- package/dist/esm/v3/components/or-menu-v3/styles.d.ts +1 -0
- 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/OrPagination.vue.d.ts +0 -4
- 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 +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 +23 -23
- package/dist/esm/v3/{types-225f772b.js → types-b79e4387.js} +1 -1
- package/package.json +1 -1
- package/src/components/or-button-v3/styles.ts +3 -3
- 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 +26 -22
- package/src/components/or-menu-v3/styles.ts +5 -0
- package/src/components/or-pagination-v3/OrPagination.vue +42 -86
- package/src/components/or-pagination-v3/styles.ts +1 -1
- package/src/components/or-progress-v3/styles.ts +4 -4
- package/src/components/or-search-v3/OrSearch.vue +1 -2
- package/src/components/or-sidebar-v3/styles.ts +3 -3
- 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 +1 -4
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
export { s as OrSearchV3 } from '../../OrSearch-
|
|
2
|
-
export { a as SearchSize } from '../../OrInputBox-
|
|
1
|
+
export { s as OrSearchV3 } from '../../OrSearch-21ac89f3.js';
|
|
2
|
+
export { a as SearchSize } from '../../OrInputBox-2467d7e4.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import 'vue-demi';
|
|
5
|
-
import '../../OrInput-
|
|
5
|
+
import '../../OrInput-71075f51.js';
|
|
6
6
|
import '../../useIdAttribute-859439f0.js';
|
|
7
|
+
import '../../useResponsive-a02e95b7.js';
|
|
7
8
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
8
9
|
import '../../OrError-19198748.js';
|
|
9
10
|
import 'vue';
|
|
10
11
|
import '../../OrHint-6863124f.js';
|
|
11
|
-
import '../../OrIconButton-
|
|
12
|
+
import '../../OrIconButton-2dcfb83e.js';
|
|
12
13
|
import '../../OrIcon-34f59f73.js';
|
|
13
|
-
import '../../OrTooltip-
|
|
14
|
+
import '../../OrTooltip-b07616f4.js';
|
|
14
15
|
import '../../OrPopover-40217b49.js';
|
|
15
16
|
import '@floating-ui/dom';
|
|
16
17
|
import '../../useElevation-31bfe1f6.js';
|
|
17
|
-
import '../../useResponsive-a02e95b7.js';
|
|
18
18
|
import '../../OrBottomSheet-13a416ef.js';
|
|
19
19
|
import '../../OrOverlay-afad3aa4.js';
|
|
20
20
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
21
21
|
import '../../OrLabel-f700f9fb.js';
|
|
22
|
+
import '../../OrLoader-a53d2edf.js';
|
|
22
23
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { s as OrSelectV3 } from '../../OrSelect-
|
|
2
|
-
export { a as SelectSize } from '../../OrInputBox-
|
|
1
|
+
export { s as OrSelectV3 } from '../../OrSelect-c64eda46.js';
|
|
2
|
+
export { a as SelectSize } from '../../OrInputBox-2467d7e4.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-0d314aa4.js';
|
|
5
5
|
import '../../useOverflow-af6161c8.js';
|
|
@@ -13,16 +13,17 @@ import '../../OrError-19198748.js';
|
|
|
13
13
|
import '../../OrExpansionPanel-3a4282da.js';
|
|
14
14
|
import '../../OrIcon-34f59f73.js';
|
|
15
15
|
import '../../OrHint-6863124f.js';
|
|
16
|
-
import '../../OrInput-
|
|
16
|
+
import '../../OrInput-71075f51.js';
|
|
17
|
+
import '../../useResponsive-a02e95b7.js';
|
|
17
18
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
18
|
-
import '../../OrIconButton-
|
|
19
|
-
import '../../OrTooltip-
|
|
19
|
+
import '../../OrIconButton-2dcfb83e.js';
|
|
20
|
+
import '../../OrTooltip-b07616f4.js';
|
|
20
21
|
import '../../OrPopover-40217b49.js';
|
|
21
22
|
import '@floating-ui/dom';
|
|
22
23
|
import '../../useElevation-31bfe1f6.js';
|
|
23
|
-
import '../../useResponsive-a02e95b7.js';
|
|
24
24
|
import '../../OrBottomSheet-13a416ef.js';
|
|
25
25
|
import '../../OrOverlay-afad3aa4.js';
|
|
26
26
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
27
|
+
import '../../OrLoader-a53d2edf.js';
|
|
27
28
|
import '../../OrMenuItem-58707d47.js';
|
|
28
|
-
import '../../OrTag-
|
|
29
|
+
import '../../OrTag-148ff9ae.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { s as OrTabsV3, T as TabsVariant } from '../../OrTabs-
|
|
1
|
+
export { s as OrTabsV3, T as TabsVariant } from '../../OrTabs-328d41b9.js';
|
|
2
2
|
import '@vueuse/core';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../OrIcon-34f59f73.js';
|
|
5
5
|
import 'vue';
|
|
6
6
|
import '../../OrMenuItem-58707d47.js';
|
|
7
|
-
import '../../OrMenu-
|
|
7
|
+
import '../../OrMenu-7f3ea117.js';
|
|
8
8
|
import '../../OrPopover-40217b49.js';
|
|
9
9
|
import '@floating-ui/dom';
|
|
10
10
|
import '../../useElevation-31bfe1f6.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { s as OrTagV3, a as TagColor, T as TagVariant } from '../../OrTag-
|
|
1
|
+
export { s as OrTagV3, a as TagColor, T as TagVariant } from '../../OrTag-148ff9ae.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../OrIconButton-
|
|
3
|
+
import '../../OrIconButton-2dcfb83e.js';
|
|
4
4
|
import '../../OrIcon-34f59f73.js';
|
|
5
5
|
import 'vue';
|
|
6
|
-
import '../../OrTooltip-
|
|
6
|
+
import '../../OrTooltip-b07616f4.js';
|
|
7
7
|
import '@vueuse/core';
|
|
8
8
|
import '../../OrPopover-40217b49.js';
|
|
9
9
|
import '@floating-ui/dom';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { s as OrTextareaV3 } from '../../OrTextarea-
|
|
2
|
-
export { a as TextareaSize } from '../../OrInputBox-
|
|
1
|
+
export { s as OrTextareaV3 } from '../../OrTextarea-42d21f77.js';
|
|
2
|
+
export { a as TextareaSize } from '../../OrInputBox-2467d7e4.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useIdAttribute-859439f0.js';
|
|
5
5
|
import '@vueuse/core';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../../types-
|
|
1
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../../types-b79e4387.js';
|
|
2
2
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../../useToast-0665462d.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
6
6
|
import 'vue';
|
|
7
|
-
import '../../OrIconButton-
|
|
7
|
+
import '../../OrIconButton-2dcfb83e.js';
|
|
8
8
|
import '../../OrIcon-34f59f73.js';
|
|
9
|
-
import '../../OrTooltip-
|
|
9
|
+
import '../../OrTooltip-b07616f4.js';
|
|
10
10
|
import '../../OrPopover-40217b49.js';
|
|
11
11
|
import '@floating-ui/dom';
|
|
12
12
|
import '../../useElevation-31bfe1f6.js';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -3,10 +3,10 @@ export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from './OrAvatar-6
|
|
|
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
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-
|
|
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-c3a7cc7a.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-403896ca.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
|
-
export { E as EmptyStateSize, s as OrEmptyStateV3 } from './OrEmptyState-
|
|
24
|
+
export { E as EmptyStateSize, s as OrEmptyStateV3 } from './OrEmptyState-bb8e3145.js';
|
|
25
25
|
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from './OrExpansionPanel-3a4282da.js';
|
|
26
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-
|
|
31
|
+
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-2dcfb83e.js';
|
|
32
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-
|
|
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-
|
|
38
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
36
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-79da8697.js';
|
|
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-2467d7e4.js';
|
|
38
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-71075f51.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';
|
|
@@ -45,30 +45,30 @@ 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
47
|
export { s as OrMenuItemV3 } from './OrMenuItem-58707d47.js';
|
|
48
|
-
export { s as OrMenuV3 } from './OrMenu-
|
|
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
|
-
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-
|
|
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-21ac89f3.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-c64eda46.js';
|
|
70
70
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
|
|
71
|
-
export { O as OrSidebarPlacement, s as OrSidebarV3 } from './OrSidebar-
|
|
71
|
+
export { O as OrSidebarPlacement, s as OrSidebarV3 } from './OrSidebar-a62972f5.js';
|
|
72
72
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-2b1610ce.js';
|
|
73
73
|
export { s as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from './OrSkeletonText-afd3d007.js';
|
|
74
74
|
export { s as OrSlider } from './OrSlider-87e2da8c.js';
|
|
@@ -80,21 +80,21 @@ export { s as OrTab } from './OrTab-bc98be02.js';
|
|
|
80
80
|
export { s as OrTabHeaderItem } from './OrTabHeaderItem-d668cc59.js';
|
|
81
81
|
export { s as OrTabV3 } from './OrTab-d3785ea4.js';
|
|
82
82
|
export { s as OrTabs } from './OrTabs-d3812c11.js';
|
|
83
|
-
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-
|
|
83
|
+
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-328d41b9.js';
|
|
84
84
|
export { s as OrTag } from './OrTag-1b5e43fa.js';
|
|
85
|
-
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-
|
|
85
|
+
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-148ff9ae.js';
|
|
86
86
|
export { s as OrTeleport } from './OrTeleportVue3-ad639f12.js';
|
|
87
87
|
export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
|
|
88
88
|
export { s as OrTextV3 } from './OrText-6b4f7cd1.js';
|
|
89
89
|
export { s as OrTextarea } from './OrTextarea-1f5c3be1.js';
|
|
90
|
-
export { s as OrTextareaV3 } from './OrTextarea-
|
|
90
|
+
export { s as OrTextareaV3 } from './OrTextarea-42d21f77.js';
|
|
91
91
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-2f33e9c3.js';
|
|
92
92
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-40c4c1c8.js';
|
|
93
93
|
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-
|
|
94
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-b79e4387.js';
|
|
95
95
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
|
|
96
96
|
export { s as OrTooltip, a as OrTooltipContent } from './OrTooltip-78cd7f6b.js';
|
|
97
|
-
export { s as OrTooltipV3 } from './OrTooltip-
|
|
97
|
+
export { s as OrTooltipV3 } from './OrTooltip-b07616f4.js';
|
|
98
98
|
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
|
|
99
99
|
export { u as useControlAttributes, a as useIdAttribute } from './useIdAttribute-859439f0.js';
|
|
100
100
|
export { u as useElevation } from './useElevation-31bfe1f6.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
|
@@ -7,7 +7,7 @@ export const ButtonRoot: string[] = [
|
|
|
7
7
|
// Shape
|
|
8
8
|
'rounded-md',
|
|
9
9
|
|
|
10
|
-
//
|
|
10
|
+
// Sizing
|
|
11
11
|
'min-w-[96px]',
|
|
12
12
|
|
|
13
13
|
// Interactivity
|
|
@@ -48,9 +48,9 @@ export const ButtonRootVariants: Record<ButtonVariant, string[]> = {
|
|
|
48
48
|
|
|
49
49
|
'link': [
|
|
50
50
|
// Spacing
|
|
51
|
-
'gap-xs',
|
|
51
|
+
'gap-sm md:gap-xs',
|
|
52
52
|
|
|
53
|
-
//
|
|
53
|
+
// Sizing
|
|
54
54
|
'min-w-[auto]',
|
|
55
55
|
],
|
|
56
56
|
};
|
|
@@ -90,13 +90,11 @@ export const InputBoxRootVariants: Record<InputBoxVariant, string[]> = {
|
|
|
90
90
|
export const InputBoxRootSizes: Record<InputBoxSize, string[]> = {
|
|
91
91
|
'm': [
|
|
92
92
|
// Box
|
|
93
|
-
'children:min-h-[34px]',
|
|
93
|
+
'children:min-h-[46px] children:md:min-h-[34px]',
|
|
94
94
|
|
|
95
95
|
// Spacing
|
|
96
96
|
'first-child:pl-md first-child:md:pl-sm+',
|
|
97
97
|
'last-child:pr-md last-child:md:pr-sm+',
|
|
98
|
-
'children:pt-[11px] children:md:pt-[7px]',
|
|
99
|
-
'children:pb-[11px] children:md:pb-[6px]',
|
|
100
98
|
|
|
101
99
|
'gap-sm+ md:gap-sm',
|
|
102
100
|
|
|
@@ -109,9 +107,8 @@ export const InputBoxRootSizes: Record<InputBoxSize, string[]> = {
|
|
|
109
107
|
'children:min-h-[30px]',
|
|
110
108
|
|
|
111
109
|
// Spacing
|
|
112
|
-
'first-child:pl-sm',
|
|
113
|
-
'last-child:pr-sm',
|
|
114
|
-
'children:py-[6px]',
|
|
110
|
+
'first-child:pl-md first-child:md:pl-sm+',
|
|
111
|
+
'last-child:pr-md last-child:md:pr-sm+',
|
|
115
112
|
|
|
116
113
|
'gap-[6px]',
|
|
117
114
|
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
:variant="disableDefaultStyles ? 'unstyled' : 'styled'"
|
|
23
23
|
:size="size"
|
|
24
24
|
:invalid="invalid"
|
|
25
|
-
:readonly="readonly"
|
|
25
|
+
:readonly="readonly || loading"
|
|
26
26
|
:disabled="disabled"
|
|
27
27
|
>
|
|
28
28
|
<input
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
:type="type === 'password' && disclosed ? 'text' : type"
|
|
34
34
|
:placeholder="placeholder"
|
|
35
35
|
:required="required"
|
|
36
|
-
:readonly="readonly"
|
|
36
|
+
:readonly="readonly || loading"
|
|
37
37
|
:disabled="disabled"
|
|
38
38
|
@keydown="$emit('keydown', $event)"
|
|
39
39
|
@keyup="$emit('keyup', $event)"
|
|
@@ -42,30 +42,40 @@
|
|
|
42
42
|
>
|
|
43
43
|
|
|
44
44
|
<div :class="['layout-row']">
|
|
45
|
-
<template v-if="
|
|
46
|
-
<
|
|
47
|
-
:
|
|
48
|
-
:color="'
|
|
49
|
-
:
|
|
50
|
-
@click.stop="disclosed = !disclosed"
|
|
45
|
+
<template v-if="loading">
|
|
46
|
+
<OrLoader
|
|
47
|
+
:variant="'circular'"
|
|
48
|
+
:color="'primary'"
|
|
49
|
+
:size="isMobile ? 'm' : 's'"
|
|
51
50
|
/>
|
|
52
51
|
</template>
|
|
53
52
|
|
|
54
|
-
<template v-
|
|
55
|
-
<template v-if="
|
|
53
|
+
<template v-else>
|
|
54
|
+
<template v-if="type === 'password'">
|
|
56
55
|
<OrIconButton
|
|
57
|
-
:icon="'
|
|
56
|
+
:icon="{ icon: disclosed ? 'visibility_off' : 'visibility', variant: 'filled' }"
|
|
58
57
|
:color="'inherit'"
|
|
59
|
-
:disabled="
|
|
60
|
-
@click.stop="
|
|
58
|
+
:disabled="disabled"
|
|
59
|
+
@click.stop="disclosed = !disclosed"
|
|
61
60
|
/>
|
|
62
61
|
</template>
|
|
63
62
|
|
|
64
|
-
<template v-
|
|
65
|
-
<
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
63
|
+
<template v-if="type === 'search'">
|
|
64
|
+
<template v-if="modelValue">
|
|
65
|
+
<OrIconButton
|
|
66
|
+
:icon="'close'"
|
|
67
|
+
:color="'inherit'"
|
|
68
|
+
:disabled="readonly || disabled"
|
|
69
|
+
@click.stop="$emit('update:modelValue', '')"
|
|
70
|
+
/>
|
|
71
|
+
</template>
|
|
72
|
+
|
|
73
|
+
<template v-else>
|
|
74
|
+
<OrIcon
|
|
75
|
+
:icon="'search'"
|
|
76
|
+
:variant="'outlined'"
|
|
77
|
+
/>
|
|
78
|
+
</template>
|
|
69
79
|
</template>
|
|
70
80
|
</template>
|
|
71
81
|
</div>
|
|
@@ -103,13 +113,14 @@
|
|
|
103
113
|
|
|
104
114
|
<script lang="ts">
|
|
105
115
|
import { computed, defineComponent, PropType, reactive, ref } from 'vue-demi';
|
|
106
|
-
import { useControlAttributes, useIdAttribute, useValidationAttributes } from '../../hooks';
|
|
116
|
+
import { useControlAttributes, useIdAttribute, useResponsive, useValidationAttributes } from '../../hooks';
|
|
107
117
|
import { OrErrorV3 as OrError } from '../or-error-v3';
|
|
108
118
|
import { OrHintV3 as OrHint } from '../or-hint-v3';
|
|
109
119
|
import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3';
|
|
110
120
|
import { OrIconV3 as OrIcon } from '../or-icon-v3';
|
|
111
121
|
import { OrInputBoxV3 as OrInputBox } from '../or-input-box-v3';
|
|
112
122
|
import { OrLabelV3 as OrLabel } from '../or-label-v3';
|
|
123
|
+
import { OrLoaderV3 as OrLoader } from '../or-loader-v3';
|
|
113
124
|
import { InputSize, InputType } from './props';
|
|
114
125
|
import { InputControl, InputRoot } from './styles';
|
|
115
126
|
|
|
@@ -123,6 +134,7 @@ export default defineComponent({
|
|
|
123
134
|
OrIconButton,
|
|
124
135
|
OrInputBox,
|
|
125
136
|
OrLabel,
|
|
137
|
+
OrLoader,
|
|
126
138
|
},
|
|
127
139
|
|
|
128
140
|
model: {
|
|
@@ -166,6 +178,11 @@ export default defineComponent({
|
|
|
166
178
|
default: undefined,
|
|
167
179
|
},
|
|
168
180
|
|
|
181
|
+
loading: {
|
|
182
|
+
type: Boolean,
|
|
183
|
+
default: false,
|
|
184
|
+
},
|
|
185
|
+
|
|
169
186
|
required: {
|
|
170
187
|
type: Boolean,
|
|
171
188
|
default: false,
|
|
@@ -240,6 +257,8 @@ export default defineComponent({
|
|
|
240
257
|
|
|
241
258
|
const disclosed = ref(false);
|
|
242
259
|
|
|
260
|
+
const { isMobile } = useResponsive();
|
|
261
|
+
|
|
243
262
|
// Methods
|
|
244
263
|
function focus(): void {
|
|
245
264
|
control.value?.focus();
|
|
@@ -260,6 +279,7 @@ export default defineComponent({
|
|
|
260
279
|
maxLength,
|
|
261
280
|
invalid,
|
|
262
281
|
disclosed,
|
|
282
|
+
isMobile,
|
|
263
283
|
focus,
|
|
264
284
|
blur,
|
|
265
285
|
};
|
|
@@ -1,29 +1,32 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
ref="
|
|
4
|
-
:
|
|
5
|
-
:trigger="trigger"
|
|
6
|
-
:placement="placement"
|
|
7
|
-
:full-width="false"
|
|
8
|
-
:disable-default-styles="false"
|
|
9
|
-
@update:state="$emit('update:state', $event)"
|
|
2
|
+
<div
|
|
3
|
+
ref="root"
|
|
4
|
+
:class="rootStyles"
|
|
10
5
|
>
|
|
11
|
-
<
|
|
12
|
-
ref="
|
|
13
|
-
|
|
14
|
-
:
|
|
15
|
-
|
|
6
|
+
<OrPopover
|
|
7
|
+
ref="popover"
|
|
8
|
+
:variant="'auto'"
|
|
9
|
+
:trigger="trigger"
|
|
10
|
+
:placement="placement"
|
|
11
|
+
:full-width="false"
|
|
12
|
+
:disable-default-styles="false"
|
|
13
|
+
@update:state="$emit('update:state', $event)"
|
|
16
14
|
>
|
|
17
|
-
<
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
<div
|
|
16
|
+
:class="bodyStyles"
|
|
17
|
+
@click.stop="onClick"
|
|
18
|
+
>
|
|
19
|
+
<slot />
|
|
20
|
+
</div>
|
|
21
|
+
</OrPopover>
|
|
22
|
+
</div>
|
|
20
23
|
</template>
|
|
21
24
|
|
|
22
25
|
<script lang="ts">
|
|
23
26
|
import { computed, defineComponent, PropType, ref } from 'vue-demi';
|
|
24
27
|
import { OrPopoverV3 as OrPopover } from '../or-popover-v3';
|
|
25
28
|
import { MenuPlacement } from './props';
|
|
26
|
-
import { MenuRoot } from './styles';
|
|
29
|
+
import { MenuBody, MenuRoot } from './styles';
|
|
27
30
|
|
|
28
31
|
export default defineComponent({
|
|
29
32
|
name: 'OrMenu',
|
|
@@ -32,8 +35,6 @@ export default defineComponent({
|
|
|
32
35
|
OrPopover,
|
|
33
36
|
},
|
|
34
37
|
|
|
35
|
-
inheritAttrs: false,
|
|
36
|
-
|
|
37
38
|
props: {
|
|
38
39
|
trigger: {
|
|
39
40
|
type: HTMLElement,
|
|
@@ -52,9 +53,9 @@ export default defineComponent({
|
|
|
52
53
|
|
|
53
54
|
expose: [
|
|
54
55
|
'root',
|
|
55
|
-
'isOpen',
|
|
56
56
|
'open',
|
|
57
57
|
'close',
|
|
58
|
+
'isOpen',
|
|
58
59
|
'toggle',
|
|
59
60
|
],
|
|
60
61
|
|
|
@@ -64,6 +65,7 @@ export default defineComponent({
|
|
|
64
65
|
|
|
65
66
|
const popover = ref<InstanceType<typeof OrPopover>>();
|
|
66
67
|
const popoverRoot = computed(() => popover.value?.root);
|
|
68
|
+
const isOpen = computed(() => popover.value?.isOpen);
|
|
67
69
|
|
|
68
70
|
// Styles
|
|
69
71
|
const rootStyles = computed(() => [
|
|
@@ -71,8 +73,9 @@ export default defineComponent({
|
|
|
71
73
|
...MenuRoot,
|
|
72
74
|
]);
|
|
73
75
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
+
const bodyStyles = computed(() => [
|
|
77
|
+
...MenuBody,
|
|
78
|
+
]);
|
|
76
79
|
|
|
77
80
|
// Methods
|
|
78
81
|
function open(): void {
|
|
@@ -113,6 +116,7 @@ export default defineComponent({
|
|
|
113
116
|
popover,
|
|
114
117
|
popoverRoot,
|
|
115
118
|
rootStyles,
|
|
119
|
+
bodyStyles,
|
|
116
120
|
isOpen,
|
|
117
121
|
open,
|
|
118
122
|
close,
|