@onereach/ui-components 2.74.1-beta.2290.0 → 2.74.1-beta.2291.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/{OrAvatar-f2b1ee1c.js → OrAvatar-586e417b.js} +1 -1
- package/dist/bundled/v2/{OrCardCollection-f48af015.js → OrCardCollection-1affb682.js} +4 -4
- package/dist/bundled/v2/{OrConfirm-d3a9f7b9.js → OrConfirm-bdf57b45.js} +1 -1
- package/dist/bundled/v2/{OrErrorTag-4675604d.js → OrErrorTag-97a9112b.js} +1 -1
- package/dist/bundled/v2/{OrExpansionPanel-8968da49.js → OrExpansionPanel-96b8f568.js} +1 -1
- package/dist/bundled/v2/{OrFab-a2e49eaa.js → OrFab-ed69dee1.js} +1 -1
- package/dist/bundled/v2/{OrIcon-2efd1925.js → OrIcon-458206aa.js} +1 -3
- package/dist/bundled/v2/{OrIconButton-876b6351.js → OrIconButton-837d57f8.js} +1 -1
- package/dist/bundled/v2/{OrInlineInput-7a230176.js → OrInlineInput-8fec2947.js} +3 -3
- package/dist/bundled/v2/{OrInlineTextarea-97334f79.js → OrInlineTextarea-e7cdb4fb.js} +3 -3
- package/dist/bundled/v2/{OrInput-d615d473.js → OrInput-46039629.js} +6 -5
- package/dist/bundled/v2/{OrInputBox-e54dcef9.js → OrInputBox-9a31d211.js} +2 -12
- package/dist/bundled/v2/{OrMenuItem-f295292e.js → OrMenuItem-e2693a5f.js} +1 -1
- package/dist/bundled/v2/{OrModal-83900091.js → OrModal-78f5d49e.js} +1 -1
- package/dist/bundled/v2/{OrNotification-708ce1db.js → OrNotification-458fe937.js} +2 -2
- package/dist/bundled/v2/{OrPagination-e34482ef.js → OrPagination-daf25de2.js} +2 -2
- package/dist/bundled/v2/{OrSearch-2828c54c.js → OrSearch-05cc6c14.js} +2 -2
- package/dist/bundled/v2/{OrSelect-783d01b9.js → OrSelect-bfe76fb7.js} +11 -10
- package/dist/bundled/v2/{OrSidebar-dc3c9664.js → OrSidebar-a2bc21b9.js} +1 -1
- package/dist/bundled/v2/{OrSidebarCollapseButton-e2e30766.js → OrSidebarCollapseButton-8297ef86.js} +1 -1
- package/dist/bundled/v2/{OrSortHeader-b1b961fc.js → OrSortHeader-565ace92.js} +1 -1
- package/dist/bundled/v2/{OrTabs-9fc1ac93.js → OrTabs-d69780fc.js} +2 -2
- package/dist/bundled/v2/{OrTag-3e442bf6.js → OrTag-4085e8a7.js} +1 -1
- package/dist/bundled/v2/{OrTextarea-1201353b.js → OrTextarea-a02951f4.js} +4 -3
- package/dist/bundled/v2/components/index.js +26 -25
- package/dist/bundled/v2/components/or-avatar-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +8 -7
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +107 -0
- package/dist/bundled/v2/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/bundled/v2/components/or-combined-input-v3/index.js +148 -0
- package/dist/bundled/v2/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/bundled/v2/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/bundled/v2/components/or-confirm-v3/index.js +6 -5
- package/dist/bundled/v2/components/or-error-tag-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-expansion-panel-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-fab-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-icon-button-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-icon-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-input-box-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-input-v3/index.js +5 -4
- package/dist/bundled/v2/components/or-menu-item-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-modal-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-notification-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-pagination-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-search-v3/index.js +6 -5
- package/dist/bundled/v2/components/or-select-v3/index.js +9 -8
- 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-sort-header-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-tabs-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-tag-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-textarea-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-toast-v3/index.js +3 -3
- package/dist/bundled/v2/index.js +27 -26
- package/dist/bundled/v2/props-78496a2d.js +12 -0
- package/dist/bundled/v2/{types-b0d25b49.js → types-309b7b94.js} +1 -1
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-75c23e62.js → OrAvatar.vue_vue_type_script_lang-582e74ae.js} +2 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-010f8e48.js → OrCardCollection.vue_vue_type_script_lang-c01a1d75.js} +7 -7
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-20309110.js → OrConfirm.vue_vue_type_script_lang-a131670a.js} +2 -2
- package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-bfa4c580.js → OrErrorTag.vue_vue_type_script_lang-e2fe7ca9.js} +2 -2
- package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-cd3b6d36.js → OrExpansionPanel.vue_vue_type_script_lang-2cc8964c.js} +2 -2
- package/dist/bundled/v3/{OrFab.vue_vue_type_script_lang-8f76f6b1.js → OrFab.vue_vue_type_script_lang-0fe4a921.js} +2 -2
- package/dist/bundled/v3/{OrIcon-0239fc17.js → OrIcon-1a5c9091.js} +1 -1
- package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-6a85c6c6.js → OrIcon.vue_vue_type_script_lang-bdbaad94.js} +1 -3
- package/dist/bundled/v3/{OrIconButton-59bc1d54.js → OrIconButton-e0566ecf.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-efefd119.js → OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js} +2 -2
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-da4198ec.js → OrInlineInput.vue_vue_type_script_lang-66598185.js} +4 -4
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a7f62f75.js → OrInlineTextarea.vue_vue_type_script_lang-85adcaf9.js} +4 -4
- package/dist/bundled/v3/{OrInput-9813fef6.js → OrInput-37811348.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-882358b4.js → OrInput.vue_vue_type_script_lang-de00e237.js} +9 -8
- package/dist/bundled/v3/{OrInputBox-358d4856.js → OrInputBox-44f37541.js} +1 -1
- package/dist/{esm/v2/OrInputBox-53d1f66d.js → bundled/v3/OrInputBox.vue_vue_type_script_lang-c4f9c8ef.js} +3 -53
- package/dist/bundled/v3/{OrMenuItem-1917f51a.js → OrMenuItem-807e2a49.js} +1 -1
- package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-0b643c00.js → OrMenuItem.vue_vue_type_script_lang-2400ec2a.js} +2 -2
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-07249365.js → OrModal.vue_vue_type_script_lang-6b1dc231.js} +2 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-f308ec11.js → OrNotification.vue_vue_type_script_lang-d0afc1d7.js} +4 -4
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-4d27d8b8.js → OrPagination.vue_vue_type_script_lang-f64827ef.js} +4 -4
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-f6230fc2.js → OrSearch.vue_vue_type_script_lang-b34af2a0.js} +3 -3
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-7a0e1dd9.js → OrSelect.vue_vue_type_script_lang-b14e4b6b.js} +15 -14
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-35abe546.js → OrSidebar.vue_vue_type_script_lang-7f3f1a16.js} +1 -1
- package/dist/bundled/v3/{OrSidebarCollapseButton.vue_vue_type_script_lang-271a2fbf.js → OrSidebarCollapseButton.vue_vue_type_script_lang-9aeba2d4.js} +2 -2
- package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-85238e0a.js → OrSortHeader.vue_vue_type_script_lang-a20eae87.js} +2 -2
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-f3b84f9d.js → OrTabs.vue_vue_type_script_lang-cb550e87.js} +4 -4
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-89d99975.js → OrTag.vue_vue_type_script_lang-a25a49ee.js} +2 -2
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-de99a858.js → OrTextarea.vue_vue_type_script_lang-d0256fc2.js} +5 -4
- package/dist/bundled/v3/{OrToastContainer-3dfed0e6.js → OrToastContainer-6fe12712.js} +1 -1
- package/dist/bundled/v3/components/index.js +31 -30
- package/dist/bundled/v3/components/or-avatar-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +13 -12
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +107 -0
- package/dist/bundled/v3/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/bundled/v3/components/or-combined-input-v3/index.js +130 -0
- package/dist/bundled/v3/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/bundled/v3/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/bundled/v3/components/or-confirm-v3/index.js +10 -9
- package/dist/bundled/v3/components/or-error-tag-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-expansion-panel-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-fab-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-icon-button-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-icon-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-input-box-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-input-v3/index.js +8 -7
- package/dist/bundled/v3/components/or-menu-item-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-modal-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-notification-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-pagination-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-search-v3/index.js +10 -9
- package/dist/bundled/v3/components/or-select-v3/index.js +14 -13
- package/dist/bundled/v3/components/or-sidebar-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-sidebar-v3/partials/index.js +5 -5
- package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +5 -5
- package/dist/bundled/v3/components/or-sort-header-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-tabs-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-tag-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-textarea-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-toast-v3/index.js +6 -6
- package/dist/bundled/v3/index.js +48 -47
- package/dist/bundled/v3/props-78496a2d.js +12 -0
- package/dist/bundled/v3/{types-dd2c3bf1.js → types-22fbf9d6.js} +2 -2
- package/dist/esm/v2/{OrAvatar-ca3a1268.js → OrAvatar-379ac72f.js} +1 -1
- package/dist/esm/v2/{OrCardCollection-49c63e89.js → OrCardCollection-413eeef9.js} +5 -5
- package/dist/esm/v2/{OrConfirm-d2aec18c.js → OrConfirm-2f8d9405.js} +1 -1
- package/dist/esm/v2/{OrErrorTag-7cd5dc68.js → OrErrorTag-80f82cdf.js} +1 -1
- package/dist/esm/v2/{OrExpansionPanel-0a12d957.js → OrExpansionPanel-729eb1e7.js} +1 -1
- package/dist/esm/v2/{OrFab-d5a37b22.js → OrFab-1d095e33.js} +1 -1
- package/dist/esm/v2/{OrIcon-c434985a.js → OrIcon-f34e0e6f.js} +1 -3
- package/dist/esm/v2/{OrIconButton-c8bb635e.js → OrIconButton-04a3566d.js} +1 -1
- package/dist/esm/v2/{OrInlineInput-d9bbdaf2.js → OrInlineInput-c66ed0c0.js} +3 -3
- package/dist/esm/v2/{OrInlineTextarea-f7378459.js → OrInlineTextarea-3cc2fdc2.js} +3 -3
- package/dist/esm/v2/{OrInput-6b064fd7.js → OrInput-cacd21a4.js} +6 -5
- package/dist/esm/v2/OrInputBox-5c4b3104.js +43 -0
- package/dist/{bundled/v3/OrInputBox.vue_vue_type_script_lang-b387d4ba.js → esm/v2/OrInputBox.vue_rollup-plugin-vue_script-4ba46db4.js} +1 -1
- package/dist/esm/v2/{OrMenuItem-4f810513.js → OrMenuItem-7b7fbf8a.js} +1 -1
- package/dist/esm/v2/{OrModal-7ca36163.js → OrModal-4e79e0d5.js} +1 -1
- package/dist/esm/v2/{OrNotification-2013cadf.js → OrNotification-eac3867f.js} +2 -2
- package/dist/esm/v2/{OrPagination-c2653bd1.js → OrPagination-1adbcadb.js} +2 -2
- package/dist/esm/v2/{OrSearch-fb321813.js → OrSearch-1c30f3fd.js} +2 -2
- package/dist/esm/v2/{OrSelect-3a78ffcc.js → OrSelect-bbba5e3a.js} +11 -10
- package/dist/esm/v2/{OrSidebar-a45b594d.js → OrSidebar-27236fbd.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-9aa87e80.js → OrSidebarCollapseButton-cfe51a60.js} +1 -1
- package/dist/esm/v2/{OrSortHeader-ffe6bc57.js → OrSortHeader-592727dc.js} +1 -1
- package/dist/esm/v2/{OrTabs-2992f88f.js → OrTabs-96b0473d.js} +2 -2
- package/dist/esm/v2/{OrTag-920c6371.js → OrTag-b2906865.js} +1 -1
- package/dist/esm/v2/{OrTextarea-373d0554.js → OrTextarea-e1aad345.js} +4 -3
- package/dist/esm/v2/components/index.js +26 -25
- package/dist/esm/v2/components/or-avatar-v3/index.js +2 -2
- package/dist/esm/v2/components/or-card-collection-v3/index.js +8 -7
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +107 -0
- package/dist/esm/v2/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/esm/v2/components/or-combined-input-v3/index.js +145 -0
- package/dist/esm/v2/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/esm/v2/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/esm/v2/components/or-confirm-v3/index.js +6 -5
- package/dist/esm/v2/components/or-error-tag-v3/index.js +2 -2
- package/dist/esm/v2/components/or-expansion-panel-v3/index.js +2 -2
- package/dist/esm/v2/components/or-fab-v3/index.js +2 -2
- package/dist/esm/v2/components/or-icon-button-v3/index.js +2 -2
- package/dist/esm/v2/components/or-icon-v3/index.js +1 -1
- package/dist/esm/v2/components/or-inline-input-v3/index.js +3 -3
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +3 -3
- package/dist/esm/v2/components/or-input-box-v3/index.js +3 -2
- package/dist/esm/v2/components/or-input-v3/index.js +5 -4
- package/dist/esm/v2/components/or-menu-item-v3/index.js +2 -2
- package/dist/esm/v2/components/or-modal-v3/index.js +3 -3
- package/dist/esm/v2/components/or-notification-v3/index.js +3 -3
- package/dist/esm/v2/components/or-pagination-v3/index.js +3 -3
- package/dist/esm/v2/components/or-search-v3/index.js +6 -5
- package/dist/esm/v2/components/or-select-v3/index.js +9 -8
- 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-sort-header-v3/index.js +2 -2
- package/dist/esm/v2/components/or-tabs-v3/index.js +3 -3
- package/dist/esm/v2/components/or-tag-v3/index.js +3 -3
- package/dist/esm/v2/components/or-textarea-v3/index.js +3 -2
- package/dist/esm/v2/components/or-toast-v3/index.js +3 -3
- package/dist/esm/v2/index.js +26 -25
- package/dist/esm/v2/{types-38818808.js → types-1f95d710.js} +1 -1
- package/dist/esm/v3/{OrAvatar-0dbd8be8.js → OrAvatar-6444e693.js} +1 -1
- package/dist/esm/v3/{OrCardCollection-e091f1a2.js → OrCardCollection-005964d2.js} +4 -4
- package/dist/esm/v3/{OrConfirm-a7f9404b.js → OrConfirm-c35b430f.js} +1 -1
- package/dist/esm/v3/{OrErrorTag-0025b17c.js → OrErrorTag-308119de.js} +1 -1
- package/dist/esm/v3/{OrExpansionPanel-541cc4c1.js → OrExpansionPanel-3a4282da.js} +1 -1
- package/dist/esm/v3/{OrFab-588291bf.js → OrFab-61131b31.js} +1 -1
- package/dist/esm/v3/{OrIcon-ea40e58c.js → OrIcon-34f59f73.js} +1 -3
- package/dist/esm/v3/{OrIconButton-3d32cdcf.js → OrIconButton-2dcfb83e.js} +1 -1
- package/dist/esm/v3/{OrInlineInput-72effa88.js → OrInlineInput-4591c44d.js} +3 -3
- package/dist/esm/v3/{OrInlineTextarea-0bb8ef1c.js → OrInlineTextarea-22807fd6.js} +3 -3
- package/dist/esm/v3/{OrInput-bf9dd89f.js → OrInput-4b51848c.js} +4 -4
- package/dist/esm/v3/{OrMenuItem-de91aded.js → OrMenuItem-58707d47.js} +1 -1
- package/dist/esm/v3/{OrModal-a5fa8240.js → OrModal-4219a6dc.js} +1 -1
- package/dist/esm/v3/{OrNotification-8f34d624.js → OrNotification-0e682c7f.js} +2 -2
- package/dist/esm/v3/{OrPagination-7b240dec.js → OrPagination-da9e5017.js} +2 -2
- package/dist/esm/v3/{OrSearch-d6ff7e2d.js → OrSearch-b6c48f3f.js} +1 -1
- package/dist/esm/v3/{OrSelect-484cb336.js → OrSelect-35f70776.js} +9 -9
- package/dist/esm/v3/{OrSidebar-cf07fd69.js → OrSidebar-61d84c3e.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-684445f0.js → OrSidebarCollapseButton-1b9c83ef.js} +1 -1
- package/dist/esm/v3/{OrSortHeader-f66dcb37.js → OrSortHeader-a39f77f9.js} +1 -1
- package/dist/esm/v3/{OrTabs-80cbb3b9.js → OrTabs-328d41b9.js} +2 -2
- package/dist/esm/v3/{OrTag-1d3fa09e.js → OrTag-148ff9ae.js} +1 -1
- package/dist/esm/v3/{OrTextarea-42d21f77.js → OrTextarea-8b060a1b.js} +2 -2
- package/dist/esm/v3/components/index.js +24 -24
- package/dist/esm/v3/components/or-avatar-v3/index.js +2 -2
- package/dist/esm/v3/components/or-card-collection-v3/index.js +6 -6
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +107 -0
- package/dist/esm/v3/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/esm/v3/components/or-combined-input-v3/index.js +129 -0
- package/dist/esm/v3/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/esm/v3/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/esm/v3/components/or-confirm-v3/index.js +4 -4
- package/dist/esm/v3/components/or-error-tag-v3/index.js +2 -2
- package/dist/esm/v3/components/or-expansion-panel-v3/index.js +2 -2
- package/dist/esm/v3/components/or-fab-v3/index.js +2 -2
- package/dist/esm/v3/components/or-icon-button-v3/index.js +2 -2
- package/dist/esm/v3/components/or-icon-v3/index.js +1 -1
- package/dist/esm/v3/components/or-inline-input-v3/index.js +3 -3
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +3 -3
- package/dist/esm/v3/components/or-input-v3/index.js +3 -3
- package/dist/esm/v3/components/or-menu-item-v3/index.js +2 -2
- package/dist/esm/v3/components/or-modal-v3/index.js +3 -3
- package/dist/esm/v3/components/or-notification-v3/index.js +3 -3
- package/dist/esm/v3/components/or-pagination-v3/index.js +3 -3
- package/dist/esm/v3/components/or-search-v3/index.js +4 -4
- package/dist/esm/v3/components/or-select-v3/index.js +7 -7
- package/dist/esm/v3/components/or-sidebar-v3/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-sort-header-v3/index.js +2 -2
- package/dist/esm/v3/components/or-tabs-v3/index.js +3 -3
- package/dist/esm/v3/components/or-tag-v3/index.js +3 -3
- package/dist/esm/v3/components/or-textarea-v3/index.js +1 -1
- package/dist/esm/v3/components/or-toast-v3/index.js +3 -3
- package/dist/esm/v3/index.js +24 -24
- package/dist/esm/v3/{types-4e316bd3.js → types-b79e4387.js} +1 -1
- package/package.json +2 -2
- package/src/components/or-combined-input-v3/OrCombinedInput.docs.mdx +7 -0
- package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +201 -0
- package/src/components/or-combined-input-v3/OrCombinedInput.vue +130 -0
- package/src/components/or-combined-input-v3/index.ts +2 -0
- package/src/components/or-combined-input-v3/props.ts +1 -0
- package/src/components/or-combined-input-v3/styles.ts +25 -0
- package/src/components/or-icon-v3/styles.ts +0 -3
- package/src/components/or-inline-input-v3/styles.ts +2 -2
- package/src/components/or-inline-textarea-v3/styles.ts +2 -2
- package/src/components/or-input-v3/styles.ts +2 -2
- package/src/components/or-select-v3/OrSelect.stories3.ts +4 -0
- package/src/components/or-select-v3/styles.ts +4 -4
- package/src/components/or-textarea-v3/styles.ts +2 -2
package/dist/esm/v3/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { O as OR_AVATAR_SIZE, s as OrAvatar } from './OrAvatar-2808a314.js';
|
|
2
|
-
export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from './OrAvatar-
|
|
2
|
+
export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from './OrAvatar-6444e693.js';
|
|
3
3
|
export { s as OrBottomSheetV3 } from './OrBottomSheet-13a416ef.js';
|
|
4
4
|
export { s as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonViews } from './OrButton-fca9019a.js';
|
|
5
5
|
export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE, s as OrButtonV2, a as OrIconButton } from './OrIconButton-8be9c89f.js';
|
|
6
6
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-c56998e7.js';
|
|
7
7
|
export { s as OrCard } from './OrCard-e3a5aea4.js';
|
|
8
8
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-1e44c758.js';
|
|
9
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-
|
|
9
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-005964d2.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-c35b430f.js';
|
|
20
20
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-f2e08564.js';
|
|
21
21
|
export { s as OrError } from './OrError-f90296db.js';
|
|
22
|
-
export { s as OrErrorTagV3 } from './OrErrorTag-
|
|
22
|
+
export { s as OrErrorTagV3 } from './OrErrorTag-308119de.js';
|
|
23
23
|
export { s as OrErrorV3 } from './OrError-19198748.js';
|
|
24
24
|
export { E as EmptyStateSize, s as OrEmptyStateV3 } from './OrEmptyState-bb8e3145.js';
|
|
25
|
-
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from './OrExpansionPanel-
|
|
26
|
-
export { F as FabColor, s as OrFabV3 } from './OrFab-
|
|
25
|
+
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from './OrExpansionPanel-3a4282da.js';
|
|
26
|
+
export { F as FabColor, s as OrFabV3 } from './OrFab-61131b31.js';
|
|
27
27
|
export { s as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements } from './OrFloating-5240e758.js';
|
|
28
28
|
export { s as OrHint } from './OrHint-1414c530.js';
|
|
29
29
|
export { s as OrHintV3 } from './OrHint-6863124f.js';
|
|
30
30
|
export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-669503c3.js';
|
|
31
|
-
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-
|
|
32
|
-
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from './OrIcon-
|
|
31
|
+
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-2dcfb83e.js';
|
|
32
|
+
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from './OrIcon-34f59f73.js';
|
|
33
33
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-09b33e18.js';
|
|
34
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
34
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-4591c44d.js';
|
|
35
35
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-1aa477b5.js';
|
|
36
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
36
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-22807fd6.js';
|
|
37
37
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-2467d7e4.js';
|
|
38
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
38
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-4b51848c.js';
|
|
39
39
|
export { s as OrInput } from './OrInput-81125804.js';
|
|
40
40
|
export { s as OrLabel } from './OrLabel-876f8729.js';
|
|
41
41
|
export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-f700f9fb.js';
|
|
@@ -44,36 +44,36 @@ export { s as OrList } from './OrList-b740d13e.js';
|
|
|
44
44
|
export { s as OrListOfInputs } from './OrListOfInputs-508e056f.js';
|
|
45
45
|
export { L as LoaderViews, s as OrLoader } from './OrLoader-15174477.js';
|
|
46
46
|
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './OrLoader-a53d2edf.js';
|
|
47
|
-
export { s as OrMenuItemV3 } from './OrMenuItem-
|
|
47
|
+
export { s as OrMenuItemV3 } from './OrMenuItem-58707d47.js';
|
|
48
48
|
export { s as OrMenuV3 } from './OrMenu-7f3ea117.js';
|
|
49
49
|
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-40217b49.js';
|
|
50
50
|
export { s as OrModal, O as OrModalSizes } from './OrModal-8b074b0c.js';
|
|
51
|
-
export { M as ModalSize, s as OrModalV3 } from './OrModal-
|
|
51
|
+
export { M as ModalSize, s as OrModalV3 } from './OrModal-4219a6dc.js';
|
|
52
52
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from './OrNotification-e85a4956.js';
|
|
53
|
-
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-
|
|
53
|
+
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-0e682c7f.js';
|
|
54
54
|
export { s as OrNumberInput } from './OrNumberInput-b32b5ce3.js';
|
|
55
55
|
export { s as OrOverflowMenu } from './OrOverflowMenu-e82cbcbe.js';
|
|
56
56
|
export { s as OrOverlay } from './OrOverlay-451dce49.js';
|
|
57
57
|
export { s as OrOverlayV3 } from './OrOverlay-afad3aa4.js';
|
|
58
58
|
export { s as OrPassword } from './OrPassword-b0cbb578.js';
|
|
59
|
-
export { s as OrPaginationV3 } from './OrPagination-
|
|
59
|
+
export { s as OrPaginationV3 } from './OrPagination-da9e5017.js';
|
|
60
60
|
export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-d0d52c86.js';
|
|
61
61
|
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-639ed5e8.js';
|
|
62
62
|
export { s as OrRadio } from './OrRadio-c3ab11f2.js';
|
|
63
63
|
export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
64
64
|
export { s as OrRadioV3 } from './OrRadio-bb9b37c1.js';
|
|
65
65
|
export { s as OrSearch } from './OrSearch-11fdf667.js';
|
|
66
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
66
|
+
export { s as OrSearchV3 } from './OrSearch-b6c48f3f.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-35f70776.js';
|
|
70
70
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
|
|
71
|
-
export { s as OrSidebarV3 } from './OrSidebar-
|
|
72
|
-
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-
|
|
71
|
+
export { s as OrSidebarV3 } from './OrSidebar-61d84c3e.js';
|
|
72
|
+
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-1b9c83ef.js';
|
|
73
73
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-2b1610ce.js';
|
|
74
74
|
export { s as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from './OrSkeletonText-afd3d007.js';
|
|
75
75
|
export { s as OrSlider } from './OrSlider-87e2da8c.js';
|
|
76
|
-
export { s as OrSortHeaderV3 } from './OrSortHeader-
|
|
76
|
+
export { s as OrSortHeaderV3 } from './OrSortHeader-a39f77f9.js';
|
|
77
77
|
export { s as OrStepper } from './OrStepper-f19b4eac.js';
|
|
78
78
|
export { s as OrSwitch } from './OrSwitch-c333ee32.js';
|
|
79
79
|
export { s as OrSwitchV3 } from './OrSwitch-1c2196da.js';
|
|
@@ -81,18 +81,18 @@ export { s as OrTab } from './OrTab-bc98be02.js';
|
|
|
81
81
|
export { s as OrTabHeaderItem } from './OrTabHeaderItem-d668cc59.js';
|
|
82
82
|
export { s as OrTabV3 } from './OrTab-d3785ea4.js';
|
|
83
83
|
export { s as OrTabs } from './OrTabs-d3812c11.js';
|
|
84
|
-
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-
|
|
84
|
+
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-328d41b9.js';
|
|
85
85
|
export { s as OrTag } from './OrTag-1b5e43fa.js';
|
|
86
|
-
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-
|
|
86
|
+
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-148ff9ae.js';
|
|
87
87
|
export { s as OrTeleport } from './OrTeleportVue3-ad639f12.js';
|
|
88
88
|
export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
|
|
89
89
|
export { s as OrTextV3 } from './OrText-6b4f7cd1.js';
|
|
90
90
|
export { s as OrTextarea } from './OrTextarea-1f5c3be1.js';
|
|
91
|
-
export { s as OrTextareaV3 } from './OrTextarea-
|
|
91
|
+
export { s as OrTextareaV3 } from './OrTextarea-8b060a1b.js';
|
|
92
92
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-2f33e9c3.js';
|
|
93
93
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-40c4c1c8.js';
|
|
94
94
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
|
|
95
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-
|
|
95
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-b79e4387.js';
|
|
96
96
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
|
|
97
97
|
export { s as OrTooltip, a as OrTooltipContent } from './OrTooltip-78cd7f6b.js';
|
|
98
98
|
export { s as OrTooltipV3 } from './OrTooltip-b07616f4.js';
|
|
@@ -2,7 +2,7 @@ import { useToggle } from '@vueuse/core';
|
|
|
2
2
|
import { defineComponent, ref, computed, onBeforeMount, onBeforeUnmount, nextTick } from 'vue-demi';
|
|
3
3
|
import { s as script$4 } from './OrTeleport.vue3-8099178c.js';
|
|
4
4
|
import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-0665462d.js';
|
|
5
|
-
import { s as script$2 } from './OrIconButton-
|
|
5
|
+
import { s as script$2 } from './OrIconButton-2dcfb83e.js';
|
|
6
6
|
import { s as script$3 } from './OrLoader-a53d2edf.js';
|
|
7
7
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, createElementVNode, toDisplayString, createBlock, withModifiers, withCtx, TransitionGroup, Fragment, renderList, mergeProps } from 'vue';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "2.74.1-beta.
|
|
3
|
+
"version": "2.74.1-beta.2291.0",
|
|
4
4
|
"description": "Vue components library for v2/3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/auto/index.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@codemirror/lang-json": "6.0.0",
|
|
39
39
|
"@codemirror/lang-markdown": "6.0.1",
|
|
40
40
|
"@floating-ui/dom": "0.3.1",
|
|
41
|
-
"@onereach/styles": "^2.34.0",
|
|
41
|
+
"@onereach/styles": "^2.34.1-beta.2291.0",
|
|
42
42
|
"@splidejs/splide": "4.0.6",
|
|
43
43
|
"@types/lodash": "4.14.173",
|
|
44
44
|
"@types/sortablejs": "1.10.7",
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
+
import { ref, watch } from 'vue-demi';
|
|
3
|
+
import { OrIconV3 as OrIcon } from '../or-icon-v3';
|
|
4
|
+
import { OrInputV3 as OrInput } from '../or-input-v3';
|
|
5
|
+
import { OrSelectV3 as OrSelect, SelectOption } from '../or-select-v3';
|
|
6
|
+
import OrCombinedInputDocs from './OrCombinedInput.docs.mdx';
|
|
7
|
+
import OrCombinedInput from './OrCombinedInput.vue';
|
|
8
|
+
import { CombinedInputSize } from './props';
|
|
9
|
+
|
|
10
|
+
export default {
|
|
11
|
+
title: 'Components/Forms/Combined Input',
|
|
12
|
+
component: OrCombinedInput,
|
|
13
|
+
|
|
14
|
+
argTypes: {
|
|
15
|
+
// Slots
|
|
16
|
+
default: {
|
|
17
|
+
type: {
|
|
18
|
+
name: 'string',
|
|
19
|
+
required: true,
|
|
20
|
+
},
|
|
21
|
+
|
|
22
|
+
control: { type: 'text' },
|
|
23
|
+
},
|
|
24
|
+
|
|
25
|
+
addon: {
|
|
26
|
+
type: {
|
|
27
|
+
name: 'string',
|
|
28
|
+
required: false,
|
|
29
|
+
},
|
|
30
|
+
|
|
31
|
+
control: { type: 'text' },
|
|
32
|
+
},
|
|
33
|
+
|
|
34
|
+
// Props
|
|
35
|
+
size: {
|
|
36
|
+
control: { type: 'select' },
|
|
37
|
+
options: Object.values(CombinedInputSize),
|
|
38
|
+
},
|
|
39
|
+
|
|
40
|
+
label: {
|
|
41
|
+
control: { type: 'text' },
|
|
42
|
+
},
|
|
43
|
+
|
|
44
|
+
hint: {
|
|
45
|
+
control: { type: 'text' },
|
|
46
|
+
},
|
|
47
|
+
|
|
48
|
+
error: {
|
|
49
|
+
control: { type: 'text' },
|
|
50
|
+
},
|
|
51
|
+
|
|
52
|
+
required: {
|
|
53
|
+
control: { type: 'boolean' },
|
|
54
|
+
},
|
|
55
|
+
|
|
56
|
+
readonly: {
|
|
57
|
+
control: { type: 'boolean' },
|
|
58
|
+
},
|
|
59
|
+
|
|
60
|
+
disabled: {
|
|
61
|
+
control: { type: 'boolean' },
|
|
62
|
+
},
|
|
63
|
+
|
|
64
|
+
disableDefaultStyles: {
|
|
65
|
+
control: { type: 'boolean' },
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
|
|
69
|
+
parameters: {
|
|
70
|
+
docs: {
|
|
71
|
+
page: OrCombinedInputDocs,
|
|
72
|
+
},
|
|
73
|
+
|
|
74
|
+
design: {
|
|
75
|
+
type: 'figma',
|
|
76
|
+
url: 'https://www.figma.com/file/o7DdkaznUW2PtX4wiSuhhQ/Core?node-id=4423%3A39753&t=grpHUrgJi4X2W67L-4',
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
} as Meta<typeof OrCombinedInput>;
|
|
80
|
+
|
|
81
|
+
const Template: StoryFn<typeof OrCombinedInput> = (args) => ({
|
|
82
|
+
components: {
|
|
83
|
+
OrCombinedInput,
|
|
84
|
+
OrIcon,
|
|
85
|
+
OrInput,
|
|
86
|
+
OrSelect,
|
|
87
|
+
},
|
|
88
|
+
|
|
89
|
+
setup() {
|
|
90
|
+
// State
|
|
91
|
+
const options = Array.from<string, SelectOption>([
|
|
92
|
+
'Alfa',
|
|
93
|
+
'Bravo',
|
|
94
|
+
'Charlie',
|
|
95
|
+
'Delta',
|
|
96
|
+
'Echo',
|
|
97
|
+
'Foxtrot',
|
|
98
|
+
'Golf',
|
|
99
|
+
'Hotel',
|
|
100
|
+
'India',
|
|
101
|
+
'Juliett',
|
|
102
|
+
'Kilo',
|
|
103
|
+
'Lima',
|
|
104
|
+
'Mike',
|
|
105
|
+
'November',
|
|
106
|
+
'Oscar',
|
|
107
|
+
'Papa',
|
|
108
|
+
'Quebec',
|
|
109
|
+
'Romeo',
|
|
110
|
+
'Sierra',
|
|
111
|
+
'Tango',
|
|
112
|
+
'Uniform',
|
|
113
|
+
'Victor',
|
|
114
|
+
'Whiskey',
|
|
115
|
+
'X-Ray',
|
|
116
|
+
'Yankee',
|
|
117
|
+
'Zulu',
|
|
118
|
+
], (item) => ({
|
|
119
|
+
value: item.toLowerCase(),
|
|
120
|
+
label: item,
|
|
121
|
+
}));
|
|
122
|
+
|
|
123
|
+
const selectModel = ref<string>();
|
|
124
|
+
const inputModel = ref<string>();
|
|
125
|
+
|
|
126
|
+
// Effects
|
|
127
|
+
watch([selectModel, inputModel], (values) => {
|
|
128
|
+
console.debug(values);
|
|
129
|
+
});
|
|
130
|
+
|
|
131
|
+
return {
|
|
132
|
+
args,
|
|
133
|
+
options,
|
|
134
|
+
selectModel,
|
|
135
|
+
inputModel,
|
|
136
|
+
};
|
|
137
|
+
},
|
|
138
|
+
|
|
139
|
+
template: `
|
|
140
|
+
<OrCombinedInput v-bind="args">
|
|
141
|
+
${args.default}
|
|
142
|
+
${args.addon}
|
|
143
|
+
</OrCombinedInput>
|
|
144
|
+
`,
|
|
145
|
+
});
|
|
146
|
+
|
|
147
|
+
export const Default = Template.bind({});
|
|
148
|
+
|
|
149
|
+
Default.args = {
|
|
150
|
+
// Slots
|
|
151
|
+
default: `
|
|
152
|
+
<template v-slot="props">
|
|
153
|
+
<OrSelect
|
|
154
|
+
class="basis-1/4"
|
|
155
|
+
v-model="selectModel"
|
|
156
|
+
v-bind="props"
|
|
157
|
+
:options="options"
|
|
158
|
+
/>
|
|
159
|
+
|
|
160
|
+
<OrInput
|
|
161
|
+
class="basis-3/4"
|
|
162
|
+
v-model="inputModel"
|
|
163
|
+
v-bind="props"
|
|
164
|
+
/>
|
|
165
|
+
</template>
|
|
166
|
+
`,
|
|
167
|
+
|
|
168
|
+
// Props
|
|
169
|
+
label: 'Combined Input',
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
export const Addon = Template.bind({});
|
|
173
|
+
|
|
174
|
+
Addon.args = {
|
|
175
|
+
...Default.args,
|
|
176
|
+
|
|
177
|
+
// Slots
|
|
178
|
+
addon: `
|
|
179
|
+
<template v-slot:addon>
|
|
180
|
+
<OrIcon icon="info" />
|
|
181
|
+
</template>
|
|
182
|
+
`,
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
export const Hint = Template.bind({});
|
|
186
|
+
|
|
187
|
+
Hint.args = {
|
|
188
|
+
...Default.args,
|
|
189
|
+
|
|
190
|
+
// Props
|
|
191
|
+
hint: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
export const Error = Template.bind({});
|
|
195
|
+
|
|
196
|
+
Error.args = {
|
|
197
|
+
...Default.args,
|
|
198
|
+
|
|
199
|
+
// Props
|
|
200
|
+
error: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
201
|
+
};
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
ref="root"
|
|
4
|
+
:class="rootStyles"
|
|
5
|
+
>
|
|
6
|
+
<template v-if="label">
|
|
7
|
+
<OrLabel
|
|
8
|
+
:variant="'input'"
|
|
9
|
+
:required="required"
|
|
10
|
+
:disabled="disabled"
|
|
11
|
+
>
|
|
12
|
+
{{ label }}
|
|
13
|
+
|
|
14
|
+
<template v-slot:addon>
|
|
15
|
+
<slot name="addon" />
|
|
16
|
+
</template>
|
|
17
|
+
</OrLabel>
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<div :class="controlGroup">
|
|
21
|
+
<slot
|
|
22
|
+
:size="size"
|
|
23
|
+
:required="required"
|
|
24
|
+
:readonly="readonly"
|
|
25
|
+
:disabled="disabled"
|
|
26
|
+
:disable-default-styles="disableDefaultStyles"
|
|
27
|
+
/>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<template v-if="!invalid">
|
|
31
|
+
<template v-if="hint">
|
|
32
|
+
<OrHint :disabled="disabled">
|
|
33
|
+
{{ hint }}
|
|
34
|
+
</OrHint>
|
|
35
|
+
</template>
|
|
36
|
+
</template>
|
|
37
|
+
|
|
38
|
+
<template v-else>
|
|
39
|
+
<OrError :disabled="disabled">
|
|
40
|
+
{{ error }}
|
|
41
|
+
</OrError>
|
|
42
|
+
</template>
|
|
43
|
+
</div>
|
|
44
|
+
</template>
|
|
45
|
+
|
|
46
|
+
<script lang="ts">
|
|
47
|
+
import { computed, defineComponent, PropType, ref } from 'vue-demi';
|
|
48
|
+
import { OrErrorV3 as OrError } from '../or-error-v3';
|
|
49
|
+
import { OrHintV3 as OrHint } from '../or-hint-v3';
|
|
50
|
+
import { OrLabelV3 as OrLabel } from '../or-label-v3';
|
|
51
|
+
import { CombinedInputSize } from './props';
|
|
52
|
+
import { CombinedInputControlGroup, CombinedInputRoot } from './styles';
|
|
53
|
+
|
|
54
|
+
export default defineComponent({
|
|
55
|
+
name: 'OrCombinedInput',
|
|
56
|
+
|
|
57
|
+
components: {
|
|
58
|
+
OrError,
|
|
59
|
+
OrHint,
|
|
60
|
+
OrLabel,
|
|
61
|
+
},
|
|
62
|
+
|
|
63
|
+
props: {
|
|
64
|
+
size: {
|
|
65
|
+
type: String as PropType<CombinedInputSize>,
|
|
66
|
+
default: CombinedInputSize.M,
|
|
67
|
+
},
|
|
68
|
+
|
|
69
|
+
label: {
|
|
70
|
+
type: String,
|
|
71
|
+
default: undefined,
|
|
72
|
+
},
|
|
73
|
+
|
|
74
|
+
hint: {
|
|
75
|
+
type: String,
|
|
76
|
+
default: undefined,
|
|
77
|
+
},
|
|
78
|
+
|
|
79
|
+
error: {
|
|
80
|
+
type: String,
|
|
81
|
+
default: undefined,
|
|
82
|
+
},
|
|
83
|
+
|
|
84
|
+
required: {
|
|
85
|
+
type: Boolean,
|
|
86
|
+
default: false,
|
|
87
|
+
},
|
|
88
|
+
|
|
89
|
+
readonly: {
|
|
90
|
+
type: Boolean,
|
|
91
|
+
default: false,
|
|
92
|
+
},
|
|
93
|
+
|
|
94
|
+
disabled: {
|
|
95
|
+
type: Boolean,
|
|
96
|
+
default: false,
|
|
97
|
+
},
|
|
98
|
+
|
|
99
|
+
disableDefaultStyles: {
|
|
100
|
+
type: Boolean,
|
|
101
|
+
default: false,
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
|
|
105
|
+
setup(props, context) {
|
|
106
|
+
// Refs
|
|
107
|
+
const root = ref<HTMLElement>();
|
|
108
|
+
|
|
109
|
+
// Styles
|
|
110
|
+
const rootStyles = computed(() => [
|
|
111
|
+
'or-combined-input',
|
|
112
|
+
...CombinedInputRoot,
|
|
113
|
+
]);
|
|
114
|
+
|
|
115
|
+
const controlGroup = computed(() => [
|
|
116
|
+
...CombinedInputControlGroup,
|
|
117
|
+
]);
|
|
118
|
+
|
|
119
|
+
// State
|
|
120
|
+
const invalid = computed(() => !!props.error);
|
|
121
|
+
|
|
122
|
+
return {
|
|
123
|
+
root,
|
|
124
|
+
rootStyles,
|
|
125
|
+
controlGroup,
|
|
126
|
+
invalid,
|
|
127
|
+
};
|
|
128
|
+
},
|
|
129
|
+
});
|
|
130
|
+
</script>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { InputBoxSize as CombinedInputSize } from '../or-input-box-v3';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export const CombinedInputRoot: string[] = [
|
|
2
|
+
// Layout
|
|
3
|
+
'layout-column',
|
|
4
|
+
|
|
5
|
+
// Spacing
|
|
6
|
+
'gap-xs',
|
|
7
|
+
];
|
|
8
|
+
|
|
9
|
+
export const CombinedInputControlGroup: string[] = [
|
|
10
|
+
// Layout
|
|
11
|
+
'layout-row',
|
|
12
|
+
|
|
13
|
+
// Box
|
|
14
|
+
'w-full',
|
|
15
|
+
|
|
16
|
+
// Shape (.or-input-box)
|
|
17
|
+
'[&_.or-input-box]:first-child:rounded-r-0',
|
|
18
|
+
'[&_.or-input-box]:intermediate-child:rounded-0',
|
|
19
|
+
'[&_.or-input-box]:last-child:rounded-l-0',
|
|
20
|
+
|
|
21
|
+
// Spacing (.or-input-box)
|
|
22
|
+
'[&_.or-input-box]:first-child:mr-[-1px]',
|
|
23
|
+
'[&_.or-input-box]:intermediate-child:border-x-0',
|
|
24
|
+
'[&_.or-input-box]:last-child:ml-[-1px]',
|
|
25
|
+
];
|
|
@@ -8,7 +8,10 @@ export const SelectRoot: string[] = [
|
|
|
8
8
|
|
|
9
9
|
export const SelectControl: string[] = [
|
|
10
10
|
// Layout
|
|
11
|
-
'layout-row
|
|
11
|
+
'layout-row',
|
|
12
|
+
|
|
13
|
+
// Box
|
|
14
|
+
'w-full',
|
|
12
15
|
|
|
13
16
|
// Overflow
|
|
14
17
|
'overflow-hidden',
|
|
@@ -24,9 +27,6 @@ export const SelectPlaceholder: string[] = [
|
|
|
24
27
|
// Theme
|
|
25
28
|
'theme-foreground-outline',
|
|
26
29
|
'dark:theme-foreground-outline-dark',
|
|
27
|
-
|
|
28
|
-
// Interactivity
|
|
29
|
-
'select-none',
|
|
30
30
|
];
|
|
31
31
|
|
|
32
32
|
export const SelectDropdown: string[] = [
|