@onereach/ui-components 2.75.2-beta.2390.0 → 2.75.2-beta.2392.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-0242b4c0.js → OrButton-304116b7.js} +8 -6
- package/dist/bundled/v2/{OrCardCollection-e3986f07.js → OrCardCollection-edfc29b5.js} +5 -5
- package/dist/bundled/v2/{OrCheckbox-384760cb.js → OrCheckbox-aac23c1e.js} +2 -2
- package/dist/bundled/v2/{OrConfirm-498fa802.js → OrConfirm-e105dd13.js} +6 -8
- package/dist/bundled/v2/{OrEmptyState-9fb413f9.js → OrEmptyState-8a7feb99.js} +2 -2
- package/dist/bundled/v2/{OrError-52f668a4.js → OrError-8aa16f11.js} +1 -3
- package/dist/bundled/v2/{OrErrorTag-4675604d.js → OrErrorTag-244bed5b.js} +1 -3
- package/dist/bundled/v2/{OrHint-fde53334.js → OrHint-39fc2173.js} +1 -3
- package/dist/bundled/v2/{OrIconButton-deec1d4d.js → OrIconButton-4734d7be.js} +2 -2
- package/dist/bundled/v2/{OrInlineInput-5f0b99f9.js → OrInlineInput-09e0f70e.js} +15 -29
- package/dist/bundled/v2/{OrInlineTextarea-975b8706.js → OrInlineTextarea-ebea7861.js} +15 -29
- package/dist/bundled/v2/{OrInput-822eb9f5.js → OrInput-e1e402a5.js} +17 -32
- package/dist/bundled/v2/{OrInputBox-9a31d211.js → OrInputBox-e54dcef9.js} +12 -2
- package/dist/bundled/v2/{OrLabel-aff09c39.js → OrLabel-c44e9f7d.js} +1 -1
- package/dist/bundled/v2/{OrLink-0d952e87.js → OrLink-a7b23576.js} +6 -2
- package/dist/bundled/v2/{OrMenu-82c77b2c.js → OrMenu-ef3406b1.js} +10 -15
- package/dist/bundled/v2/{OrModal-d845da2d.js → OrModal-03f89deb.js} +1 -1
- package/dist/bundled/v2/{OrNotification-e102f0d7.js → OrNotification-3b01294e.js} +1 -1
- package/dist/bundled/v2/{OrPagination-166592a5.js → OrPagination-7de5298c.js} +62 -24
- package/dist/bundled/v2/{OrProgress-01123d1f.js → OrProgress-d1ad4637.js} +3 -3
- package/dist/bundled/v2/{OrRadio-2d05cea7.js → OrRadio-cf867aeb.js} +2 -2
- package/dist/bundled/v2/{OrSearch-f9d46a70.js → OrSearch-6385e22f.js} +2 -2
- package/dist/bundled/v2/{OrSelect-0c0c01d4.js → OrSelect-369fc98e.js} +16 -33
- package/dist/bundled/v2/{OrSidebar-5ddf0e24.js → OrSidebar-49886551.js} +3 -3
- package/dist/bundled/v2/{OrSidebarCollapseButton-d6ebc2aa.js → OrSidebarCollapseButton-bccb6427.js} +1 -1
- package/dist/bundled/v2/{OrSwitch-aa0da6b9.js → OrSwitch-644a0729.js} +2 -2
- package/dist/bundled/v2/{OrTab-8c5acf8a.js → OrTab-39162e26.js} +1 -1
- package/dist/bundled/v2/{OrTabs-ff22ddce.js → OrTabs-78160924.js} +3 -3
- package/dist/bundled/v2/{OrTag-dee4c7e4.js → OrTag-f9430b52.js} +3 -7
- package/dist/bundled/v2/{OrTextarea-c56f19db.js → OrTextarea-c2ac90b2.js} +15 -30
- package/dist/bundled/v2/{OrTooltip-87c2e375.js → OrTooltip-6dceb10b.js} +1 -1
- package/dist/bundled/v2/components/index.js +33 -34
- package/dist/bundled/v2/components/or-button-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +11 -12
- package/dist/bundled/v2/components/or-checkbox-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-confirm-v3/index.js +9 -10
- 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-error-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-fab-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-hint-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/OrInlineInput.vue.d.ts +7 -5
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +5 -5
- package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +5 -5
- package/dist/bundled/v2/components/or-input-box-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +7 -5
- package/dist/bundled/v2/components/or-input-v3/index.js +7 -8
- package/dist/bundled/v2/components/or-label-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-link-v3/index.js +1 -1
- 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-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-radio-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-search-v3/index.js +8 -9
- package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +7 -5
- package/dist/bundled/v2/components/or-select-v3/index.js +10 -11
- 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-switch-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-tab-v3/index.js +1 -1
- 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/OrTextarea.vue.d.ts +7 -5
- package/dist/bundled/v2/components/or-textarea-v3/index.js +5 -6
- 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 +34 -35
- package/dist/bundled/v2/{types-e494517f.js → types-1baef7d6.js} +1 -1
- package/dist/bundled/v3/{OrButton-452d3149.js → OrButton-3844dcde.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-7d4f420c.js → OrButton.vue_vue_type_script_lang-3234f823.js} +8 -6
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-f2fdaa33.js → OrCardCollection.vue_vue_type_script_lang-f68e9fa9.js} +8 -8
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-08f64a02.js → OrCheckbox.vue_vue_type_script_lang-2f40f250.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-2bb4e530.js → OrConfirm.vue_vue_type_script_lang-92615ca9.js} +8 -10
- 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/{OrError.vue_vue_type_script_lang-53648a65.js → OrError.vue_vue_type_script_lang-c97f9dd7.js} +1 -3
- package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-bfa4c580.js → OrErrorTag.vue_vue_type_script_lang-e052a480.js} +0 -2
- package/dist/bundled/v3/{OrHint-5d5e4d99.js → OrHint-4d1a5982.js} +2 -2
- package/dist/bundled/v3/{OrHint.vue_vue_type_script_lang-e322f61e.js → OrHint.vue_vue_type_script_lang-3d9a3b91.js} +1 -3
- package/dist/bundled/v3/{OrIconButton-8f4c68e9.js → OrIconButton-7e142abb.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-8670c49e.js → OrIconButton.vue_vue_type_script_lang-7c2615be.js} +2 -2
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-18853dd7.js → OrInlineInput.vue_vue_type_script_lang-b9be61f1.js} +11 -9
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-3cb238d6.js → OrInlineTextarea.vue_vue_type_script_lang-f05fdd34.js} +11 -9
- package/dist/bundled/v3/{OrInput-13a84d53.js → OrInput-b951e2e1.js} +10 -13
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-09a6138d.js → OrInput.vue_vue_type_script_lang-0b7193c1.js} +14 -13
- package/dist/bundled/v3/{OrInputBox-44f37541.js → OrInputBox-358d4856.js} +1 -1
- package/dist/{esm/v2/OrInputBox.vue_rollup-plugin-vue_script-4ba46db4.js → bundled/v3/OrInputBox.vue_vue_type_script_lang-b387d4ba.js} +1 -1
- package/dist/bundled/v3/{OrLabel-c556887e.js → OrLabel-66e5b331.js} +1 -1
- package/dist/bundled/v3/{OrLabel.vue_vue_type_script_lang-191d2304.js → OrLabel.vue_vue_type_script_lang-563df945.js} +1 -1
- package/dist/bundled/v3/{OrLink.vue_vue_type_script_lang-05d4897b.js → OrLink.vue_vue_type_script_lang-c08a577b.js} +6 -2
- package/dist/bundled/v3/{OrMenu-c982d515.js → OrMenu-8b83138c.js} +9 -10
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-cefb0eca.js → OrMenu.vue_vue_type_script_lang-165f8e69.js} +5 -8
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-3f3ce339.js → OrModal.vue_vue_type_script_lang-f578de92.js} +2 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-7dd0d85f.js → OrNotification.vue_vue_type_script_lang-6462f3c0.js} +2 -2
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-a79c359c.js → OrPagination.vue_vue_type_script_lang-b5b74d1c.js} +37 -20
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-c387db0b.js → OrProgress.vue_vue_type_script_lang-2977ac52.js} +3 -3
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-5d88f0b4.js → OrRadio.vue_vue_type_script_lang-0732e87f.js} +3 -3
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-9028a3c5.js → OrSearch.vue_vue_type_script_lang-4e35dbea.js} +3 -3
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-30c61027.js → OrSelect.vue_vue_type_script_lang-82c579a4.js} +16 -17
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-4639bf0e.js → OrSidebar.vue_vue_type_script_lang-a91d5474.js} +3 -3
- package/dist/bundled/v3/{OrSidebarCollapseButton.vue_vue_type_script_lang-a46ed51a.js → OrSidebarCollapseButton.vue_vue_type_script_lang-fe9a139e.js} +2 -2
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-fd43080e.js → OrSwitch.vue_vue_type_script_lang-8f9398f8.js} +3 -3
- package/dist/bundled/v3/{OrTab.vue_vue_type_script_lang-f791efa0.js → OrTab.vue_vue_type_script_lang-b2dc97c2.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-c8df52e6.js → OrTabs.vue_vue_type_script_lang-b9279206.js} +4 -4
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-b716ad27.js → OrTag.vue_vue_type_script_lang-a03d1c69.js} +3 -7
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-b2899ba6.js → OrTextarea.vue_vue_type_script_lang-7889c03a.js} +12 -11
- package/dist/bundled/v3/{OrToastContainer-6a85ebf8.js → OrToastContainer-5017cbf9.js} +1 -1
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-a17ed18c.js → OrTooltip.vue_vue_type_script_lang-a51714f9.js} +1 -1
- package/dist/bundled/v3/components/index.js +40 -41
- package/dist/bundled/v3/components/or-button-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +18 -19
- package/dist/bundled/v3/components/or-checkbox-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-confirm-v3/index.js +15 -16
- 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-error-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-fab-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-hint-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/OrInlineInput.vue.d.ts +7 -5
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +7 -7
- package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +7 -7
- package/dist/bundled/v3/components/or-input-box-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +7 -5
- package/dist/bundled/v3/components/or-input-v3/index.js +11 -12
- package/dist/bundled/v3/components/or-label-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-link-v3/index.js +1 -1
- 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-radio-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-search-v3/index.js +13 -14
- package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +7 -5
- package/dist/bundled/v3/components/or-select-v3/index.js +15 -16
- 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-switch-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-tab-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-tabs-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-tag-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
- package/dist/bundled/v3/components/or-textarea-v3/index.js +8 -9
- 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 +202 -191
- package/dist/bundled/v3/{types-661a05a5.js → types-1d9f9c3f.js} +2 -2
- package/dist/esm/v2/{OrButton-c5ec96e7.js → OrButton-eaa2c409.js} +8 -6
- package/dist/esm/v2/{OrCardCollection-59455d23.js → OrCardCollection-230b25c0.js} +6 -6
- package/dist/esm/v2/{OrCheckbox-49d7d6b1.js → OrCheckbox-ac3cc642.js} +2 -2
- package/dist/esm/v2/{OrConfirm-b31e3d3d.js → OrConfirm-4e5c2906.js} +6 -8
- package/dist/esm/v2/{OrEmptyState-2481f13f.js → OrEmptyState-ab1a044d.js} +2 -2
- package/dist/esm/v2/{OrError-13845bb0.js → OrError-9e7976ef.js} +1 -3
- package/dist/esm/v2/{OrErrorTag-7cd5dc68.js → OrErrorTag-32ba5c0c.js} +1 -3
- package/dist/esm/v2/{OrHint-78b399cb.js → OrHint-272790e7.js} +1 -3
- package/dist/esm/v2/{OrIconButton-fa9bff07.js → OrIconButton-75e7b80c.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-36d79e50.js → OrInlineInput-6a3472f3.js} +15 -29
- package/dist/esm/v2/{OrInlineTextarea-e2d61e44.js → OrInlineTextarea-2c6f14da.js} +15 -29
- package/dist/esm/v2/{OrInput-06003aad.js → OrInput-eb2cf391.js} +17 -32
- package/dist/{bundled/v3/OrInputBox.vue_vue_type_script_lang-c4f9c8ef.js → esm/v2/OrInputBox-53d1f66d.js} +53 -3
- package/dist/esm/v2/{OrLabel-0945a4d9.js → OrLabel-49398089.js} +1 -1
- package/dist/esm/v2/{OrLink-597e0e18.js → OrLink-e2fd196e.js} +6 -2
- package/dist/esm/v2/{OrMenu-bb6e93bc.js → OrMenu-40013a4a.js} +10 -15
- package/dist/esm/v2/{OrModal-370cfc3b.js → OrModal-7e85a919.js} +1 -1
- package/dist/esm/v2/{OrNotification-76498693.js → OrNotification-32a7774e.js} +1 -1
- package/dist/esm/v2/{OrPagination-a9233838.js → OrPagination-67635368.js} +63 -24
- package/dist/esm/v2/{OrProgress-ff999494.js → OrProgress-59293ca5.js} +3 -3
- package/dist/esm/v2/{OrRadio-06a54f1e.js → OrRadio-ffd31026.js} +2 -2
- package/dist/esm/v2/{OrSearch-44645202.js → OrSearch-7612e05b.js} +2 -2
- package/dist/esm/v2/{OrSelect-a51044ed.js → OrSelect-6b2528f2.js} +16 -33
- package/dist/esm/v2/{OrSidebar-89711112.js → OrSidebar-5f5a5962.js} +3 -3
- package/dist/esm/v2/{OrSidebarCollapseButton-81c77db0.js → OrSidebarCollapseButton-81b32e0d.js} +1 -1
- package/dist/esm/v2/{OrSwitch-6129b63d.js → OrSwitch-6309430f.js} +2 -2
- package/dist/esm/v2/{OrTab-1ff87c76.js → OrTab-8e1e3751.js} +1 -1
- package/dist/esm/v2/{OrTabs-b501239f.js → OrTabs-411fc919.js} +3 -3
- package/dist/esm/v2/{OrTag-d559f34c.js → OrTag-7663d423.js} +3 -7
- package/dist/esm/v2/{OrTextarea-5fa93c9a.js → OrTextarea-6604925a.js} +15 -30
- package/dist/esm/v2/{OrTooltip-d9424f71.js → OrTooltip-5a02f34c.js} +1 -1
- package/dist/esm/v2/components/index.js +33 -34
- package/dist/esm/v2/components/or-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-card-collection-v3/index.js +11 -12
- package/dist/esm/v2/components/or-checkbox-v3/index.js +2 -2
- package/dist/esm/v2/components/or-confirm-v3/index.js +9 -10
- 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-error-v3/index.js +1 -1
- package/dist/esm/v2/components/or-fab-v3/index.js +1 -1
- package/dist/esm/v2/components/or-hint-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/OrInlineInput.vue.d.ts +7 -5
- package/dist/esm/v2/components/or-inline-input-v3/index.js +5 -5
- package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +5 -5
- package/dist/esm/v2/components/or-input-box-v3/index.js +2 -3
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +7 -5
- package/dist/esm/v2/components/or-input-v3/index.js +7 -8
- package/dist/esm/v2/components/or-label-v3/index.js +1 -1
- package/dist/esm/v2/components/or-link-v3/index.js +1 -1
- 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-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-radio-v3/index.js +2 -2
- package/dist/esm/v2/components/or-search-v3/index.js +8 -9
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +7 -5
- package/dist/esm/v2/components/or-select-v3/index.js +10 -11
- 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-switch-v3/index.js +2 -2
- package/dist/esm/v2/components/or-tab-v3/index.js +1 -1
- 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/OrTextarea.vue.d.ts +7 -5
- package/dist/esm/v2/components/or-textarea-v3/index.js +5 -6
- 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 +33 -34
- package/dist/esm/v2/{types-e9a54dcf.js → types-a12f6aef.js} +1 -1
- package/dist/esm/v3/{OrButton-9f059df6.js → OrButton-769333b2.js} +8 -6
- package/dist/esm/v3/{OrCardCollection-5c0d53e0.js → OrCardCollection-18cc099f.js} +5 -5
- package/dist/esm/v3/{OrCheckbox-a8388252.js → OrCheckbox-78b08b59.js} +2 -2
- package/dist/esm/v3/{OrConfirm-c7304c10.js → OrConfirm-1d16ec0e.js} +6 -8
- package/dist/esm/v3/{OrEmptyState-bb8e3145.js → OrEmptyState-cd3a4026.js} +2 -2
- package/dist/esm/v3/{OrError-19198748.js → OrError-5e926d62.js} +1 -3
- package/dist/esm/v3/{OrErrorTag-0025b17c.js → OrErrorTag-71fe44c2.js} +1 -3
- package/dist/esm/v3/{OrHint-6863124f.js → OrHint-031f9265.js} +1 -3
- package/dist/esm/v3/{OrIconButton-385e997c.js → OrIconButton-bbed669a.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-651c9155.js → OrInlineInput-7127bbf7.js} +18 -18
- package/dist/esm/v3/{OrInlineTextarea-d16af66a.js → OrInlineTextarea-6b166438.js} +18 -18
- package/dist/esm/v3/{OrInput-b3939d15.js → OrInput-98b85380.js} +18 -19
- package/dist/esm/v3/{OrLabel-f700f9fb.js → OrLabel-5a2f55fd.js} +1 -1
- package/dist/esm/v3/{OrLink-07f6f27d.js → OrLink-3e5e13d3.js} +6 -2
- package/dist/esm/v3/{OrMenu-b4e8136c.js → OrMenu-8c333ea1.js} +13 -17
- package/dist/esm/v3/{OrModal-f9f2279b.js → OrModal-80c32c22.js} +1 -1
- package/dist/esm/v3/{OrNotification-aab2e22a.js → OrNotification-6e4a7e5c.js} +1 -1
- package/dist/esm/v3/{OrPagination-183803e7.js → OrPagination-6ff8d71e.js} +66 -26
- package/dist/esm/v3/{OrProgress-f881a58a.js → OrProgress-2fea3fd7.js} +3 -3
- package/dist/esm/v3/{OrRadio-97fb105f.js → OrRadio-2ab7b845.js} +2 -2
- package/dist/esm/v3/{OrSearch-d16d0331.js → OrSearch-bae250ab.js} +1 -1
- package/dist/esm/v3/{OrSelect-19c2e7d2.js → OrSelect-6cacedb9.js} +19 -22
- package/dist/esm/v3/{OrSidebar-64703ef6.js → OrSidebar-08e628b7.js} +3 -3
- package/dist/esm/v3/{OrSidebarCollapseButton-506fc73c.js → OrSidebarCollapseButton-95365ca6.js} +1 -1
- package/dist/esm/v3/{OrSwitch-2a23a9b8.js → OrSwitch-00d21fb8.js} +2 -2
- package/dist/esm/v3/{OrTab-d3785ea4.js → OrTab-2206d2dc.js} +1 -1
- package/dist/esm/v3/{OrTabs-e639e96f.js → OrTabs-d6c6bc39.js} +3 -3
- package/dist/esm/v3/{OrTag-330457a7.js → OrTag-cd21a1bc.js} +3 -7
- package/dist/esm/v3/{OrTextarea-dfc6a453.js → OrTextarea-f23cfc20.js} +16 -17
- package/dist/esm/v3/{OrTooltip-e5fe74d6.js → OrTooltip-adece7b6.js} +1 -1
- package/dist/esm/v3/components/index.js +32 -32
- package/dist/esm/v3/components/or-button-v3/index.js +1 -1
- package/dist/esm/v3/components/or-card-collection-v3/index.js +10 -10
- package/dist/esm/v3/components/or-checkbox-v3/index.js +2 -2
- package/dist/esm/v3/components/or-confirm-v3/index.js +8 -8
- 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-error-v3/index.js +1 -1
- package/dist/esm/v3/components/or-fab-v3/index.js +1 -1
- package/dist/esm/v3/components/or-hint-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/OrInlineInput.vue.d.ts +7 -5
- package/dist/esm/v3/components/or-inline-input-v3/index.js +5 -5
- package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +5 -5
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +7 -5
- package/dist/esm/v3/components/or-input-v3/index.js +6 -6
- package/dist/esm/v3/components/or-label-v3/index.js +1 -1
- package/dist/esm/v3/components/or-link-v3/index.js +1 -1
- 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-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-radio-v3/index.js +2 -2
- package/dist/esm/v3/components/or-search-v3/index.js +7 -7
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +7 -5
- package/dist/esm/v3/components/or-select-v3/index.js +9 -9
- 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-switch-v3/index.js +2 -2
- package/dist/esm/v3/components/or-tab-v3/index.js +1 -1
- 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/OrTextarea.vue.d.ts +7 -5
- package/dist/esm/v3/components/or-textarea-v3/index.js +4 -4
- 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 +32 -32
- package/dist/esm/v3/{types-b9717ff2.js → types-872260a9.js} +1 -1
- package/package.json +2 -2
- package/src/components/or-button-v3/styles.ts +11 -8
- package/src/components/or-card-collection-v3/styles.ts +1 -1
- package/src/components/or-checkbox-v3/styles.ts +1 -2
- package/src/components/or-confirm-v3/styles.ts +5 -11
- package/src/components/or-empty-state-v3/styles.ts +2 -2
- package/src/components/or-error-tag-v3/OrErrorTag.vue +1 -1
- package/src/components/or-error-tag-v3/styles.ts +0 -3
- package/src/components/or-error-v3/styles.ts +1 -4
- package/src/components/or-fab-v3/styles.ts +3 -3
- package/src/components/or-hint-v3/styles.ts +1 -4
- package/src/components/or-icon-button-v3/styles.ts +1 -1
- package/src/components/or-inline-input-v3/OrInlineInput.vue +9 -12
- package/src/components/or-inline-input-v3/styles.ts +3 -3
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +9 -12
- package/src/components/or-inline-textarea-v3/styles.ts +3 -3
- package/src/components/or-input-v3/OrInput.vue +10 -13
- package/src/components/or-input-v3/styles.ts +2 -2
- package/src/components/or-label-v3/styles.ts +1 -1
- package/src/components/or-link-v3/styles.ts +8 -4
- package/src/components/or-menu-v3/OrMenu.vue +22 -26
- package/src/components/or-menu-v3/styles.ts +0 -5
- package/src/components/or-pagination-v3/OrPagination.vue +89 -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-radio-v3/styles.ts +1 -1
- package/src/components/or-select-v3/OrSelect.stories3.ts +0 -4
- package/src/components/or-select-v3/OrSelect.vue +9 -13
- package/src/components/or-select-v3/styles.ts +1 -4
- package/src/components/or-sidebar-v3/styles.ts +2 -2
- package/src/components/or-switch-v3/styles.ts +1 -1
- package/src/components/or-tab-v3/styles.ts +1 -1
- package/src/components/or-tabs-v3/styles.ts +2 -2
- package/src/components/or-tag-v3/OrTag.stories3.ts +5 -5
- package/src/components/or-tag-v3/OrTag.vue +1 -1
- package/src/components/or-tag-v3/styles.ts +0 -11
- package/src/components/or-textarea-v3/OrTextarea.vue +9 -12
- package/src/components/or-textarea-v3/styles.ts +2 -2
- package/src/components/or-tooltip-v3/styles.ts +1 -1
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
- package/dist/bundled/v2/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/bundled/v2/components/or-combined-input-v3/index.js +0 -162
- package/dist/bundled/v2/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/bundled/v2/components/or-combined-input-v3/styles.d.ts +0 -2
- package/dist/bundled/v2/props-78496a2d.js +0 -12
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
- package/dist/bundled/v3/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/bundled/v3/components/or-combined-input-v3/index.js +0 -131
- package/dist/bundled/v3/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/bundled/v3/components/or-combined-input-v3/styles.d.ts +0 -2
- package/dist/bundled/v3/props-78496a2d.js +0 -12
- package/dist/esm/v2/OrInputBox-5c4b3104.js +0 -43
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
- package/dist/esm/v2/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/esm/v2/components/or-combined-input-v3/index.js +0 -159
- package/dist/esm/v2/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/esm/v2/components/or-combined-input-v3/styles.d.ts +0 -2
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
- package/dist/esm/v3/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/esm/v3/components/or-combined-input-v3/index.js +0 -130
- package/dist/esm/v3/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/esm/v3/components/or-combined-input-v3/styles.d.ts +0 -2
- package/src/components/or-combined-input-v3/OrCombinedInput.docs.mdx +0 -7
- package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +0 -201
- package/src/components/or-combined-input-v3/OrCombinedInput.vue +0 -133
- package/src/components/or-combined-input-v3/index.ts +0 -2
- package/src/components/or-combined-input-v3/props.ts +0 -1
- package/src/components/or-combined-input-v3/styles.ts +0 -25
- package/dist/bundled/v2/{OrFab-a2e49eaa.js → OrFab-85bd9427.js} +2 -2
- package/dist/bundled/v3/{OrFab.vue_vue_type_script_lang-8f76f6b1.js → OrFab.vue_vue_type_script_lang-a4e3eef8.js} +2 -2
- package/dist/esm/v2/{OrFab-d5a37b22.js → OrFab-f71daa4f.js} +2 -2
- package/dist/esm/v3/{OrFab-588291bf.js → OrFab-6266b4de.js} +2 -2
|
@@ -1,201 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,133 +0,0 @@
|
|
|
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
|
-
:error="!!error"
|
|
24
|
-
:required="required"
|
|
25
|
-
:readonly="readonly"
|
|
26
|
-
:disabled="disabled"
|
|
27
|
-
:disable-default-styles="disableDefaultStyles"
|
|
28
|
-
/>
|
|
29
|
-
</div>
|
|
30
|
-
|
|
31
|
-
<div
|
|
32
|
-
v-show="!error"
|
|
33
|
-
:class="['contents']"
|
|
34
|
-
>
|
|
35
|
-
<template v-if="hint">
|
|
36
|
-
<OrHint :disabled="disabled">
|
|
37
|
-
{{ hint }}
|
|
38
|
-
</OrHint>
|
|
39
|
-
</template>
|
|
40
|
-
</div>
|
|
41
|
-
|
|
42
|
-
<div
|
|
43
|
-
v-show="typeof error === 'string'"
|
|
44
|
-
:class="['contents']"
|
|
45
|
-
>
|
|
46
|
-
<OrError :disabled="disabled">
|
|
47
|
-
{{ error }}
|
|
48
|
-
</OrError>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
</template>
|
|
52
|
-
|
|
53
|
-
<script lang="ts">
|
|
54
|
-
import { computed, defineComponent, PropType, ref } from 'vue-demi';
|
|
55
|
-
import { OrErrorV3 as OrError } from '../or-error-v3';
|
|
56
|
-
import { OrHintV3 as OrHint } from '../or-hint-v3';
|
|
57
|
-
import { OrLabelV3 as OrLabel } from '../or-label-v3';
|
|
58
|
-
import { CombinedInputSize } from './props';
|
|
59
|
-
import { CombinedInputControlGroup, CombinedInputRoot } from './styles';
|
|
60
|
-
|
|
61
|
-
export default defineComponent({
|
|
62
|
-
name: 'OrCombinedInput',
|
|
63
|
-
|
|
64
|
-
components: {
|
|
65
|
-
OrError,
|
|
66
|
-
OrHint,
|
|
67
|
-
OrLabel,
|
|
68
|
-
},
|
|
69
|
-
|
|
70
|
-
props: {
|
|
71
|
-
size: {
|
|
72
|
-
type: String as PropType<CombinedInputSize>,
|
|
73
|
-
default: CombinedInputSize.M,
|
|
74
|
-
},
|
|
75
|
-
|
|
76
|
-
label: {
|
|
77
|
-
type: String,
|
|
78
|
-
default: undefined,
|
|
79
|
-
},
|
|
80
|
-
|
|
81
|
-
hint: {
|
|
82
|
-
type: String,
|
|
83
|
-
default: undefined,
|
|
84
|
-
},
|
|
85
|
-
|
|
86
|
-
error: {
|
|
87
|
-
type: [String, Boolean],
|
|
88
|
-
default: undefined,
|
|
89
|
-
},
|
|
90
|
-
|
|
91
|
-
required: {
|
|
92
|
-
type: Boolean,
|
|
93
|
-
default: false,
|
|
94
|
-
},
|
|
95
|
-
|
|
96
|
-
readonly: {
|
|
97
|
-
type: Boolean,
|
|
98
|
-
default: false,
|
|
99
|
-
},
|
|
100
|
-
|
|
101
|
-
disabled: {
|
|
102
|
-
type: Boolean,
|
|
103
|
-
default: false,
|
|
104
|
-
},
|
|
105
|
-
|
|
106
|
-
disableDefaultStyles: {
|
|
107
|
-
type: Boolean,
|
|
108
|
-
default: false,
|
|
109
|
-
},
|
|
110
|
-
},
|
|
111
|
-
|
|
112
|
-
setup(props, context) {
|
|
113
|
-
// Refs
|
|
114
|
-
const root = ref<HTMLElement>();
|
|
115
|
-
|
|
116
|
-
// Styles
|
|
117
|
-
const rootStyles = computed(() => [
|
|
118
|
-
'or-combined-input',
|
|
119
|
-
...CombinedInputRoot,
|
|
120
|
-
]);
|
|
121
|
-
|
|
122
|
-
const controlGroup = computed(() => [
|
|
123
|
-
...CombinedInputControlGroup,
|
|
124
|
-
]);
|
|
125
|
-
|
|
126
|
-
return {
|
|
127
|
-
root,
|
|
128
|
-
rootStyles,
|
|
129
|
-
controlGroup,
|
|
130
|
-
};
|
|
131
|
-
},
|
|
132
|
-
});
|
|
133
|
-
</script>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { InputBoxSize as CombinedInputSize } from '../or-input-box-v3';
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
];
|
|
@@ -12,10 +12,10 @@ var FabColor;
|
|
|
12
12
|
const FabRoot = [
|
|
13
13
|
// Layout
|
|
14
14
|
'layout-inline-row justify-center',
|
|
15
|
-
// Shape
|
|
16
|
-
'rounded-full',
|
|
17
15
|
// Box
|
|
18
16
|
'w-[56px]', 'h-[56px]',
|
|
17
|
+
// Shape
|
|
18
|
+
'rounded-full',
|
|
19
19
|
// Elevation
|
|
20
20
|
'enabled:shadow-button', 'dark:enabled:shadow-button-dark'];
|
|
21
21
|
const FabRootColors = {
|
|
@@ -11,10 +11,10 @@ var FabColor;
|
|
|
11
11
|
const FabRoot = [
|
|
12
12
|
// Layout
|
|
13
13
|
'layout-inline-row justify-center',
|
|
14
|
-
// Shape
|
|
15
|
-
'rounded-full',
|
|
16
14
|
// Box
|
|
17
15
|
'w-[56px]', 'h-[56px]',
|
|
16
|
+
// Shape
|
|
17
|
+
'rounded-full',
|
|
18
18
|
// Elevation
|
|
19
19
|
'enabled:shadow-button', 'dark:enabled:shadow-button-dark'];
|
|
20
20
|
const FabRootColors = {
|
|
@@ -11,10 +11,10 @@ var FabColor;
|
|
|
11
11
|
const FabRoot = [
|
|
12
12
|
// Layout
|
|
13
13
|
'layout-inline-row justify-center',
|
|
14
|
-
// Shape
|
|
15
|
-
'rounded-full',
|
|
16
14
|
// Box
|
|
17
15
|
'w-[56px]', 'h-[56px]',
|
|
16
|
+
// Shape
|
|
17
|
+
'rounded-full',
|
|
18
18
|
// Elevation
|
|
19
19
|
'enabled:shadow-button', 'dark:enabled:shadow-button-dark'];
|
|
20
20
|
const FabRootColors = {
|
|
@@ -11,10 +11,10 @@ var FabColor;
|
|
|
11
11
|
const FabRoot = [
|
|
12
12
|
// Layout
|
|
13
13
|
'layout-inline-row justify-center',
|
|
14
|
-
// Shape
|
|
15
|
-
'rounded-full',
|
|
16
14
|
// Box
|
|
17
15
|
'w-[56px]', 'h-[56px]',
|
|
16
|
+
// Shape
|
|
17
|
+
'rounded-full',
|
|
18
18
|
// Elevation
|
|
19
19
|
'enabled:shadow-button', 'dark:enabled:shadow-button-dark'];
|
|
20
20
|
const FabRootColors = {
|