@onereach/ui-components 2.71.3-beta.2245.0 → 2.72.0-beta.2247.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-586e417b.js → OrAvatar-ae61bfb9.js} +7 -4
- package/dist/bundled/v2/{OrBottomSheet-ddba20c1.js → OrBottomSheet-1cd1ab4c.js} +4 -2
- package/dist/bundled/v2/{OrButton-d45772c1.js → OrButton-a846fa7e.js} +7 -4
- package/dist/bundled/v2/{OrCard-45d5869b.js → OrCard-29116e1f.js} +6 -3
- package/dist/bundled/v2/{OrCardCollection-06ecb8e1.js → OrCardCollection-0141a358.js} +12 -9
- package/dist/bundled/v2/{OrCardCollection-166cfcc6.js → OrCardCollection-89428bbf.js} +5 -5
- package/dist/bundled/v2/{OrCheckbox-9be450f9.js → OrCheckbox-dbef9f9a.js} +34 -41
- package/dist/bundled/v2/{OrCode-fc6876ec.js → OrCode-0cf7596d.js} +184 -12
- package/dist/bundled/v2/{OrConfirm-8c0e957d.js → OrConfirm-057e997e.js} +3 -4
- package/dist/bundled/v2/{OrConfirm-55b89b17.js → OrConfirm-56d01cff.js} +4 -4
- package/dist/bundled/v2/{OrError-52f668a4.js → OrError-aad17598.js} +6 -3
- package/dist/bundled/v2/{OrErrorTag-97a9112b.js → OrErrorTag-d0c5bcf4.js} +7 -4
- package/dist/bundled/v2/{OrExpansionPanel-96b8f568.js → OrExpansionPanel-d9a260e2.js} +7 -4
- package/dist/bundled/v2/{OrFab-ed69dee1.js → OrFab-7cc75893.js} +4 -3
- package/dist/bundled/v2/{OrHint-fde53334.js → OrHint-f38a1940.js} +6 -3
- package/dist/bundled/v2/{OrIcon-458206aa.js → OrIcon-8625385f.js} +6 -3
- package/dist/bundled/v2/{OrIconButton-837d57f8.js → OrIconButton-a2ba92df.js} +8 -13
- package/dist/bundled/v2/{OrInlineInput-57fccb41.js → OrInlineInput-87589946.js} +39 -47
- package/dist/bundled/v2/{OrInlineInputBox-7a8e645b.js → OrInlineInputBox-f457210f.js} +6 -3
- package/dist/bundled/v2/{OrInlineTextarea-f8b86cf7.js → OrInlineTextarea-21b0e6fc.js} +35 -43
- package/dist/bundled/v2/{OrInput-00070eee.js → OrInput-82ccfe00.js} +50 -53
- package/dist/bundled/v2/{OrInputBox-2f559e98.js → OrInputBox-79ec54ad.js} +6 -3
- package/dist/bundled/v2/{OrLabel-aff09c39.js → OrLabel-172c4b89.js} +6 -3
- package/dist/bundled/v2/{OrLink-0d952e87.js → OrLink-e7b57307.js} +6 -3
- package/dist/bundled/v2/{OrListOfInputs-ab7f9d97.js → OrListOfInputs-8f076650.js} +4 -4
- package/dist/bundled/v2/{OrLoader-864ef92a.js → OrLoader-6a1f937b.js} +6 -3
- package/dist/bundled/v2/{OrMenu-52da43bc.js → OrMenu-fa47c888.js} +7 -4
- package/dist/bundled/v2/{OrMenuItem-e2693a5f.js → OrMenuItem-26420908.js} +7 -4
- package/dist/bundled/v2/{OrModal-78f5d49e.js → OrModal-af6677fd.js} +5 -3
- package/dist/bundled/v2/{OrNotification-3909aaf2.js → OrNotification-2e2a1941.js} +3 -3
- package/dist/bundled/v2/{OrNotification-458fe937.js → OrNotification-3250f58b.js} +8 -5
- package/dist/bundled/v2/{OrOverlay-efa7992e.js → OrOverlay-3c89d622.js} +3 -1
- package/dist/bundled/v2/{OrPagination-daf25de2.js → OrPagination-379c10b8.js} +25 -15
- package/dist/bundled/v2/{OrTextarea-71ff236d.js → OrPassword-7da938aa.js} +449 -7
- package/dist/bundled/v2/{OrPopover-4e8acb7b.js → OrPopover-5dc240f1.js} +4 -2
- package/dist/bundled/v2/{OrProgress-15fe65ec.js → OrProgress-cc397a38.js} +7 -4
- package/dist/bundled/v2/{OrRadio-fe23947a.js → OrRadio-cd39b20b.js} +32 -39
- package/dist/bundled/v2/{OrSearch-bb87b34c.js → OrSearch-53470b0e.js} +9 -6
- package/dist/bundled/v2/{OrSearch-832d7978.js → OrSearch-f7cfa52f.js} +4 -4
- package/dist/bundled/v2/{OrSegmentedControl-878279bf.js → OrSegmentedControl-21cc914e.js} +22 -12
- package/dist/bundled/v2/{OrSelect-2ececfc1.js → OrSelect-02fb39f0.js} +30 -22
- package/dist/bundled/v2/{OrSkeletonText-242d22f3.js → OrSkeletonText-2f1a3cc7.js} +3 -3
- package/dist/bundled/v2/{OrSkeletonText-9a2f39dc.js → OrSkeletonText-516993b4.js} +18 -11
- package/dist/bundled/v2/{OrSortHeader-565ace92.js → OrSortHeader-9932d28f.js} +20 -12
- package/dist/bundled/v2/{OrSwitch-782d7b43.js → OrSwitch-237a2081.js} +33 -40
- package/dist/bundled/v2/{OrTab-8c5acf8a.js → OrTab-dd949240.js} +6 -3
- package/dist/bundled/v2/{OrTabs-d69780fc.js → OrTabs-42f7c52c.js} +19 -12
- package/dist/bundled/v2/{OrTag-4085e8a7.js → OrTag-30fecee5.js} +7 -4
- package/dist/bundled/v2/{OrText-a665b991.js → OrText-eac4b9f5.js} +6 -3
- package/dist/bundled/v2/{OrTextarea-5c57c02b.js → OrTextarea-5593fbe9.js} +37 -49
- package/dist/bundled/v2/{OrTooltip-b1f38647.js → OrTooltip-fbfa05fd.js} +7 -4
- package/dist/bundled/v2/components/index.d.ts +1 -5
- package/dist/bundled/v2/components/index.js +55 -58
- package/dist/bundled/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-avatar-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-bottom-sheet-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-button-v3/OrButton.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-button-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-card-collection/index.js +4 -4
- package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +18 -19
- package/dist/bundled/v2/components/or-card-v3/OrCard.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-card-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -23
- package/dist/bundled/v2/components/or-checkbox-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-code/OrCode.vue.d.ts +10 -0
- package/dist/bundled/v2/components/or-code/index.js +1 -1
- package/dist/bundled/v2/components/or-confirm/index.js +2 -2
- package/dist/bundled/v2/components/or-confirm-v3/index.js +15 -16
- package/dist/bundled/v2/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-error-tag-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-error-v3/OrError.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-error-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-expansion-panel-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-fab-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-hint-v3/OrHint.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-hint-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -13
- package/dist/bundled/v2/components/or-icon-button-v3/index.js +7 -6
- package/dist/bundled/v2/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-icon-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-inline-input-box-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +19 -38
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +11 -12
- package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +19 -38
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +11 -12
- package/dist/bundled/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-input-box-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +21 -45
- package/dist/bundled/v2/components/or-input-v3/index.js +12 -13
- package/dist/bundled/v2/components/or-inputs/index.d.ts +5 -0
- package/dist/bundled/v2/components/{or-password → or-inputs}/index.js +4 -3
- package/dist/bundled/v2/components/or-label-v3/OrLabel.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-label-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-link-v3/OrLink.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-link-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-list-of-inputs/index.js +2 -2
- package/dist/bundled/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-loader-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-menu-item-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-menu-v3/index.js +5 -4
- package/dist/bundled/v2/components/or-modal-v3/OrModal.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-modal-v3/index.js +8 -7
- package/dist/bundled/v2/components/or-notification/index.js +1 -1
- package/dist/bundled/v2/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-notification-v3/index.js +8 -7
- package/dist/bundled/v2/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-overlay-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +13 -2
- package/dist/bundled/v2/components/or-pagination-v3/index.js +10 -9
- package/dist/bundled/v2/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-popover-v3/index.js +4 -3
- package/dist/bundled/v2/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-progress-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-radio-v3/OrRadio.vue.d.ts +15 -20
- package/dist/bundled/v2/components/or-radio-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-search-v3/index.js +14 -15
- package/dist/bundled/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +16 -5
- package/dist/bundled/{v3/components/or-segmented-control-v3/partials → v2/components/or-segmented-control-v3/components}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-segmented-control-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +16 -5
- package/dist/bundled/v2/components/or-select-v3/index.js +17 -18
- package/dist/bundled/v2/components/or-skeleton/index.js +1 -1
- package/dist/bundled/v2/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
- package/dist/bundled/v2/components/or-skeleton-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts +15 -4
- package/dist/bundled/v2/components/or-sort-header-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-switch-v3/OrSwitch.vue.d.ts +18 -23
- package/dist/bundled/v2/components/or-switch-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-tab-v3/OrTab.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-tab-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-tabs-v3/OrTabs.vue.d.ts +15 -4
- package/dist/bundled/v2/components/or-tabs-v3/index.js +9 -8
- package/dist/bundled/v2/components/or-tag-v3/OrTag.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-tag-v3/index.js +8 -7
- package/dist/bundled/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-text-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +19 -47
- package/dist/bundled/v2/components/or-textarea-v3/index.js +6 -7
- package/dist/bundled/v2/components/or-toast-v3/index.js +9 -8
- package/dist/bundled/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-tooltip-v3/index.js +5 -4
- package/dist/bundled/v2/hooks/index.d.ts +1 -3
- package/dist/bundled/v2/hooks/index.js +1 -2
- package/dist/bundled/v2/hooks/useClassAttribute.d.ts +3 -0
- package/dist/bundled/v2/index.js +55 -58
- package/dist/bundled/v2/{types-309b7b94.js → types-8fe4e345.js} +2 -2
- package/dist/bundled/v2/useClassAttribute-9bf33346.js +33 -0
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-582e74ae.js → OrAvatar.vue_vue_type_script_lang-0426862b.js} +6 -3
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-bdef5ca2.js → OrBottomSheet.vue_vue_type_script_lang-6fb49de9.js} +4 -2
- package/dist/bundled/v3/{OrButton-a1448bfa.js → OrButton-2b27c1fd.js} +8 -7
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-3b1e442b.js → OrButton.vue_vue_type_script_lang-8c44986c.js} +6 -3
- package/dist/bundled/v3/{OrCard.vue_vue_type_script_lang-b6685a34.js → OrCard.vue_vue_type_script_lang-165de137.js} +4 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-e2980d04.js → OrCardCollection.vue_vue_type_script_lang-2d78a51a.js} +46 -42
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-cd84f344.js → OrCardCollection.vue_vue_type_script_lang-d8124dda.js} +4 -4
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-fc067611.js → OrCheckbox.vue_vue_type_script_lang-8b36e06c.js} +24 -31
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-c55de81d.js → OrCode.vue_vue_type_script_lang-df150e3b.js} +180 -8
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-41b4d791.js → OrConfirm.vue_vue_type_script_lang-0f16fc67.js} +1 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-eb2bfce2.js → OrConfirm.vue_vue_type_script_lang-9d9a3917.js} +6 -7
- package/dist/bundled/v3/{OrError.vue_vue_type_script_lang-53648a65.js → OrError.vue_vue_type_script_lang-cc6c135f.js} +4 -1
- package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-e2fe7ca9.js → OrErrorTag.vue_vue_type_script_lang-4828c387.js} +6 -3
- package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-2cc8964c.js → OrExpansionPanel.vue_vue_type_script_lang-5360f580.js} +6 -3
- package/dist/bundled/v3/{OrFab.vue_vue_type_script_lang-0fe4a921.js → OrFab.vue_vue_type_script_lang-2adeaed6.js} +3 -2
- package/dist/bundled/v3/{OrHint-5d5e4d99.js → OrHint-9592499e.js} +15 -13
- package/dist/bundled/v3/{OrHint.vue_vue_type_script_lang-e322f61e.js → OrHint.vue_vue_type_script_lang-8e657168.js} +4 -1
- package/dist/bundled/v3/OrIcon-d878b768.js +13 -0
- package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-bdbaad94.js → OrIcon.vue_vue_type_script_lang-a119a715.js} +4 -1
- package/dist/bundled/v3/{OrIconButton-e0566ecf.js → OrIconButton-cd62526d.js} +2 -3
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js → OrIconButton.vue_vue_type_script_lang-aefcf30d.js} +16 -19
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-49ce3308.js → OrInlineInput.vue_vue_type_script_lang-67218502.js} +33 -41
- package/dist/bundled/v3/{OrInlineInputBox-f92a09d6.js → OrInlineInputBox-9d68ded1.js} +7 -6
- package/dist/bundled/v3/{OrInlineInputBox.vue_vue_type_script_lang-b1ae1f3d.js → OrInlineInputBox.vue_vue_type_script_lang-73750005.js} +4 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-8fd761d7.js → OrInlineTextarea.vue_vue_type_script_lang-a1831ab8.js} +33 -41
- package/dist/bundled/v3/{OrInput-704e72ba.js → OrInput-7d4b571a.js} +193 -5
- package/dist/bundled/v3/{OrInput-dcf2606e.js → OrInput-a4f220ed.js} +7 -7
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-27220623.js → OrInput.vue_vue_type_script_lang-607d79d4.js} +41 -44
- package/dist/bundled/v3/{OrInputBox-4c7900c2.js → OrInputBox-eb54d73d.js} +7 -6
- package/dist/bundled/v3/{OrInputBox.vue_vue_type_script_lang-47d98e81.js → OrInputBox.vue_vue_type_script_lang-5ee4ee45.js} +4 -1
- package/dist/bundled/v3/{OrLabel-c556887e.js → OrLabel-c6873e79.js} +8 -7
- package/dist/bundled/v3/{OrLabel.vue_vue_type_script_lang-191d2304.js → OrLabel.vue_vue_type_script_lang-96f94c4e.js} +4 -1
- package/dist/bundled/v3/{OrLink.vue_vue_type_script_lang-05d4897b.js → OrLink.vue_vue_type_script_lang-9d3a32c7.js} +4 -1
- package/dist/bundled/v3/{OrListOfInputs.vue_vue_type_script_lang-6c5cf7a5.js → OrListOfInputs.vue_vue_type_script_lang-62dbf1e7.js} +1 -2
- package/dist/bundled/v3/{OrLoader-123ef8c4.js → OrLoader-c4bbef2f.js} +8 -7
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-4c3c1ac9.js → OrLoader.vue_vue_type_script_lang-5405040c.js} +4 -1
- package/dist/bundled/v3/{OrMenu-6d7abe97.js → OrMenu-f26e8e55.js} +8 -7
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-df35fd76.js → OrMenu.vue_vue_type_script_lang-2446a69a.js} +6 -3
- package/dist/bundled/v3/{OrMenuItem-807e2a49.js → OrMenuItem-4feaba6c.js} +8 -7
- package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-2400ec2a.js → OrMenuItem.vue_vue_type_script_lang-0ffaef05.js} +6 -3
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-6b1dc231.js → OrModal.vue_vue_type_script_lang-55c864d1.js} +7 -5
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-d0afc1d7.js → OrNotification.vue_vue_type_script_lang-c886ae51.js} +8 -5
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-7edd25f6.js → OrOverlay.vue_vue_type_script_lang-cb3aad0c.js} +3 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-f64827ef.js → OrPagination.vue_vue_type_script_lang-c96d7cd7.js} +27 -17
- package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-13bc5b00.js +390 -0
- package/dist/bundled/v3/{OrPopover-1a488f88.js → OrPopover-c462ce77.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-b1102c1a.js → OrPopover.vue_vue_type_script_lang-54c7b11c.js} +5 -3
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-52f660d6.js → OrProgress.vue_vue_type_script_lang-a73c0acf.js} +5 -2
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-8dc0720c.js → OrRadio.vue_vue_type_script_lang-2e666a56.js} +24 -31
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-321907ec.js → OrSearch.vue_vue_type_script_lang-06f318ca.js} +8 -5
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-5356fa79.js → OrSearch.vue_vue_type_script_lang-16fbccc0.js} +1 -2
- package/dist/bundled/v3/{OrSegmentedControl.vue_vue_type_script_lang-38a00b68.js → OrSegmentedControl.vue_vue_type_script_lang-579406f5.js} +25 -14
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-7fd5e2f0.js → OrSelect.vue_vue_type_script_lang-83f15704.js} +54 -45
- package/dist/bundled/v3/{OrSkeletonText.vue_vue_type_script_lang-efcfbe21.js → OrSkeletonText.vue_vue_type_script_lang-577a1dc9.js} +12 -5
- package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-a20eae87.js → OrSortHeader.vue_vue_type_script_lang-75115125.js} +19 -11
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-31994be7.js → OrSwitch.vue_vue_type_script_lang-04829f64.js} +26 -33
- package/dist/bundled/v3/{OrTab.vue_vue_type_script_lang-f791efa0.js → OrTab.vue_vue_type_script_lang-134ad9d1.js} +4 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-cb550e87.js → OrTabs.vue_vue_type_script_lang-61b79a5a.js} +28 -20
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-a25a49ee.js → OrTag.vue_vue_type_script_lang-3e30f662.js} +6 -3
- package/dist/bundled/v3/{OrText.vue_vue_type_script_lang-271fb345.js → OrText.vue_vue_type_script_lang-d9525d49.js} +4 -1
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-296da567.js → OrTextarea.vue_vue_type_script_lang-8e3531cd.js} +34 -45
- package/dist/bundled/v3/{OrToastContainer-6fe12712.js → OrToastContainer-34389303.js} +1 -1
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-bf9935ef.js → OrTooltip.vue_vue_type_script_lang-67cc86ed.js} +6 -3
- package/dist/bundled/v3/components/index.d.ts +1 -5
- package/dist/bundled/v3/components/index.js +65 -69
- package/dist/bundled/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-avatar-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-bottom-sheet-v3/index.js +3 -2
- package/dist/bundled/v3/components/or-button-v3/OrButton.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-button-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-card-collection/index.js +4 -5
- package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +29 -30
- package/dist/bundled/v3/components/or-card-v3/OrCard.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-card-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -23
- package/dist/bundled/v3/components/or-checkbox-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-code/OrCode.vue.d.ts +10 -0
- package/dist/bundled/v3/components/or-code/index.js +1 -1
- package/dist/bundled/v3/components/or-confirm/index.js +2 -3
- package/dist/bundled/v3/components/or-confirm-v3/index.js +24 -25
- package/dist/bundled/v3/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-error-tag-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-error-v3/OrError.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-error-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-expansion-panel-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-fab-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-hint-v3/OrHint.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-hint-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -13
- package/dist/bundled/v3/components/or-icon-button-v3/index.js +9 -8
- package/dist/bundled/v3/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-icon-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-inline-input-box-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +19 -38
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +16 -17
- package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +19 -38
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +16 -17
- package/dist/bundled/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-input-box-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +21 -45
- package/dist/bundled/v3/components/or-input-v3/index.js +18 -19
- package/dist/bundled/v3/components/or-inputs/index.d.ts +5 -0
- package/dist/bundled/v3/components/{or-search → or-inputs}/index.js +5 -4
- package/dist/bundled/v3/components/or-label-v3/OrLabel.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-label-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-link-v3/OrLink.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-link-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-list-of-inputs/index.js +2 -3
- package/dist/bundled/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-loader-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-menu-item-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-menu-v3/index.js +6 -5
- package/dist/bundled/v3/components/or-modal-v3/OrModal.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-modal-v3/index.js +11 -10
- package/dist/bundled/v3/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-notification-v3/index.js +11 -10
- package/dist/bundled/v3/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-overlay-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +13 -2
- package/dist/bundled/v3/components/or-pagination-v3/index.js +16 -15
- package/dist/bundled/v3/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-popover-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-progress-v3/index.js +3 -2
- package/dist/bundled/v3/components/or-radio-v3/OrRadio.vue.d.ts +15 -20
- package/dist/bundled/v3/components/or-radio-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-search-v3/index.js +21 -22
- package/dist/bundled/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +16 -5
- package/dist/{esm/v3/components/or-segmented-control-v3/partials → bundled/v3/components/or-segmented-control-v3/components}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-segmented-control-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +16 -5
- package/dist/bundled/v3/components/or-select-v3/index.js +25 -26
- package/dist/bundled/v3/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
- package/dist/bundled/v3/components/or-skeleton-v3/index.js +3 -2
- package/dist/bundled/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +15 -4
- package/dist/bundled/v3/components/or-sort-header-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-switch-v3/OrSwitch.vue.d.ts +18 -23
- package/dist/bundled/v3/components/or-switch-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-tab-v3/OrTab.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-tab-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-tabs-v3/OrTabs.vue.d.ts +15 -4
- package/dist/bundled/v3/components/or-tabs-v3/index.js +13 -12
- package/dist/bundled/v3/components/or-tag-v3/OrTag.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-tag-v3/index.js +11 -10
- package/dist/bundled/v3/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-text-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +19 -47
- package/dist/bundled/v3/components/or-textarea-v3/index.js +9 -10
- package/dist/bundled/v3/components/or-toast-v3/index.js +14 -13
- package/dist/bundled/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-tooltip-v3/index.js +6 -5
- package/dist/bundled/v3/hooks/index.d.ts +1 -3
- package/dist/bundled/v3/hooks/index.js +1 -2
- package/dist/bundled/v3/hooks/useClassAttribute.d.ts +3 -0
- package/dist/bundled/v3/index.js +832 -824
- package/dist/bundled/v3/{types-22fbf9d6.js → types-f53434f2.js} +5 -5
- package/dist/bundled/v3/useClassAttribute-00888f78.js +9 -0
- package/dist/esm/v2/{OrAvatar-379ac72f.js → OrAvatar-3d155af3.js} +8 -4
- package/dist/esm/v2/{OrBottomSheet-37200385.js → OrBottomSheet-16c2e610.js} +4 -2
- package/dist/esm/v2/{OrButton-66964360.js → OrButton-835d4f11.js} +8 -4
- package/dist/esm/v2/{OrCard-e89c44ef.js → OrCard-de799db0.js} +7 -3
- package/dist/esm/v2/{OrCardCollection-251ab033.js → OrCardCollection-3c38fc85.js} +15 -11
- package/dist/esm/v2/{OrCardCollection-19582949.js → OrCardCollection-f6b07557.js} +7 -6
- package/dist/esm/v2/{OrCheckbox-b380c131.js → OrCheckbox-567e387c.js} +34 -41
- package/dist/esm/v2/{OrCode-d4400b42.js → OrCode-e2ce05ea.js} +30 -12
- package/dist/esm/v2/{OrConfirm-9dbdedd7.js → OrConfirm-047d4086.js} +3 -4
- package/dist/esm/v2/{OrConfirm-ede619eb.js → OrConfirm-d7112dd3.js} +4 -4
- package/dist/esm/v2/{OrError-13845bb0.js → OrError-d267ee9a.js} +7 -3
- package/dist/esm/v2/{OrErrorTag-80f82cdf.js → OrErrorTag-782dd714.js} +8 -4
- package/dist/esm/v2/{OrExpansionPanel-729eb1e7.js → OrExpansionPanel-a123024e.js} +8 -4
- package/dist/esm/v2/{OrFab-1d095e33.js → OrFab-26106618.js} +4 -3
- package/dist/esm/v2/{OrHint-78b399cb.js → OrHint-42dc9ebb.js} +7 -3
- package/dist/esm/v2/{OrIcon-f34e0e6f.js → OrIcon-5e394c62.js} +7 -3
- package/dist/esm/v2/{OrIconButton-04a3566d.js → OrIconButton-b3779042.js} +10 -14
- package/dist/esm/v2/{OrInlineInput-b85b84b4.js → OrInlineInput-10205811.js} +39 -47
- package/dist/esm/v2/{OrInlineInputBox-46146af0.js → OrInlineInputBox-fefd4fbd.js} +7 -3
- package/dist/esm/v2/{OrInlineTextarea-afd33047.js → OrInlineTextarea-7658611e.js} +35 -43
- package/dist/esm/v2/{OrInput-59a15d80.js → OrInput-ada3a970.js} +50 -53
- package/dist/esm/v2/{OrInputBox-9ceb9fc4.js → OrInputBox-4d5a318d.js} +7 -3
- package/dist/esm/v2/{OrLabel-0945a4d9.js → OrLabel-2a9f1477.js} +7 -3
- package/dist/esm/v2/{OrLink-597e0e18.js → OrLink-80742a17.js} +7 -3
- package/dist/esm/v2/{OrListOfInputs-4298fa2c.js → OrListOfInputs-50aa1ef1.js} +5 -5
- package/dist/esm/v2/{OrLoader-76307488.js → OrLoader-f857d55b.js} +7 -3
- package/dist/esm/v2/{OrMenu-c276db74.js → OrMenu-df27d0ef.js} +8 -4
- package/dist/esm/v2/{OrMenuItem-7b7fbf8a.js → OrMenuItem-c7f28480.js} +8 -4
- package/dist/esm/v2/{OrModal-4e79e0d5.js → OrModal-a7719843.js} +6 -3
- package/dist/esm/v2/{OrNotification-eac3867f.js → OrNotification-8a4830a3.js} +9 -5
- package/dist/esm/v2/{OrNotification-a9231a83.js → OrNotification-a49e76d3.js} +3 -3
- package/dist/esm/v2/{OrOverlay-a019186f.js → OrOverlay-18ba2dc6.js} +3 -1
- package/dist/esm/v2/{OrPagination-1adbcadb.js → OrPagination-c0dbec6a.js} +27 -16
- package/dist/esm/v2/{OrTextarea-91a95068.js → OrPassword-1fa97156.js} +245 -187
- package/dist/esm/v2/{OrPopover-d5d4f62a.js → OrPopover-9bafbdb4.js} +4 -2
- package/dist/esm/v2/{OrProgress-b7d1c689.js → OrProgress-c27c8946.js} +7 -4
- package/dist/esm/v2/{OrRadio-87a4d226.js → OrRadio-848ce55d.js} +32 -39
- package/dist/esm/v2/{OrSearch-b4f4d59b.js → OrSearch-0589d17d.js} +5 -122
- package/dist/esm/v2/{OrSearch-f42d588d.js → OrSearch-0f08f2f5.js} +9 -6
- package/dist/esm/v2/{OrInput-6e6cfd11.js → OrSearch.vue_rollup-plugin-vue_script-197d77fc.js} +492 -4
- package/dist/esm/v2/{OrSegmentedControl-7486115b.js → OrSegmentedControl-e8dce8f9.js} +23 -12
- package/dist/esm/v2/{OrSelect-e31d1c8b.js → OrSelect-f8837f5d.js} +30 -22
- package/dist/esm/v2/{OrSkeletonText-cc94bdc9.js → OrSkeletonText-24509efe.js} +3 -3
- package/dist/esm/v2/{OrSkeletonText-6ee72718.js → OrSkeletonText-950be6a2.js} +19 -11
- package/dist/esm/v2/{OrSortHeader-592727dc.js → OrSortHeader-19bf94ca.js} +21 -12
- package/dist/esm/v2/{OrSwitch-8549219a.js → OrSwitch-13b6a7ee.js} +33 -40
- package/dist/esm/v2/{OrTab-1ff87c76.js → OrTab-702e7335.js} +7 -3
- package/dist/esm/v2/{OrTabs-96b0473d.js → OrTabs-71bd3fd2.js} +20 -13
- package/dist/esm/v2/{OrTag-b2906865.js → OrTag-5c404031.js} +8 -4
- package/dist/esm/v2/{OrText-b12d0682.js → OrText-ba5a2b6c.js} +7 -3
- package/dist/esm/v2/{OrTextarea-a5a3572b.js → OrTextarea-6712a150.js} +37 -49
- package/dist/esm/v2/{OrTooltip-629d44fc.js → OrTooltip-513bee30.js} +7 -4
- package/dist/esm/v2/components/index.d.ts +1 -5
- package/dist/esm/v2/components/index.js +57 -59
- package/dist/esm/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-avatar-v3/index.js +4 -2
- package/dist/esm/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +3 -2
- package/dist/esm/v2/components/or-button-v3/OrButton.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-button-v3/index.js +4 -2
- package/dist/esm/v2/components/or-card-collection/index.js +4 -3
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-card-collection-v3/index.js +19 -20
- package/dist/esm/v2/components/or-card-v3/OrCard.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-card-v3/index.js +3 -1
- package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -23
- package/dist/esm/v2/components/or-checkbox-v3/index.js +3 -3
- package/dist/esm/v2/components/or-code/OrCode.vue.d.ts +10 -0
- package/dist/esm/v2/components/or-code/index.js +3 -2
- package/dist/esm/v2/components/or-confirm/index.js +3 -2
- package/dist/esm/v2/components/or-confirm-v3/index.js +15 -16
- package/dist/esm/v2/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-error-tag-v3/index.js +4 -2
- package/dist/esm/v2/components/or-error-v3/OrError.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-error-v3/index.js +3 -1
- package/dist/esm/v2/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-expansion-panel-v3/index.js +4 -2
- package/dist/esm/v2/components/or-fab-v3/index.js +4 -2
- package/dist/esm/v2/components/or-hint-v3/OrHint.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-hint-v3/index.js +3 -1
- package/dist/esm/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -13
- package/dist/esm/v2/components/or-icon-button-v3/index.js +7 -6
- package/dist/esm/v2/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-icon-v3/index.js +3 -1
- package/dist/esm/v2/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-inline-input-box-v3/index.js +3 -1
- package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +19 -38
- package/dist/esm/v2/components/or-inline-input-v3/index.js +11 -12
- package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +19 -38
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +11 -12
- package/dist/esm/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-input-box-v3/index.js +3 -1
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +21 -45
- package/dist/esm/v2/components/or-input-v3/index.js +12 -13
- package/dist/esm/v2/components/or-inputs/index.d.ts +5 -0
- package/dist/esm/v2/components/{or-password → or-inputs}/index.js +6 -5
- package/dist/esm/v2/components/or-label-v3/OrLabel.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-label-v3/index.js +3 -1
- package/dist/esm/v2/components/or-link-v3/OrLink.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-link-v3/index.js +3 -1
- package/dist/esm/v2/components/or-list-of-inputs/index.js +4 -2
- package/dist/esm/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-loader-v3/index.js +3 -1
- package/dist/esm/v2/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-menu-item-v3/index.js +4 -2
- package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-menu-v3/index.js +6 -5
- package/dist/esm/v2/components/or-modal-v3/OrModal.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-modal-v3/index.js +9 -8
- package/dist/esm/v2/components/or-notification/index.js +1 -1
- package/dist/esm/v2/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-notification-v3/index.js +9 -8
- package/dist/esm/v2/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-overlay-v3/index.js +2 -1
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +13 -2
- package/dist/esm/v2/components/or-pagination-v3/index.js +11 -10
- package/dist/esm/v2/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-popover-v3/index.js +4 -3
- package/dist/esm/v2/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-progress-v3/index.js +3 -2
- package/dist/esm/v2/components/or-radio-v3/OrRadio.vue.d.ts +15 -20
- package/dist/esm/v2/components/or-radio-v3/index.js +3 -3
- package/dist/esm/v2/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-search-v3/index.js +14 -15
- package/dist/esm/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +16 -5
- package/dist/esm/v2/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-segmented-control-v3/index.js +3 -1
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +16 -5
- package/dist/esm/v2/components/or-select-v3/index.js +17 -18
- package/dist/esm/v2/components/or-skeleton/index.js +1 -1
- package/dist/esm/v2/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
- package/dist/esm/v2/components/or-skeleton-v3/index.js +4 -2
- package/dist/esm/v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts +15 -4
- package/dist/esm/v2/components/or-sort-header-v3/index.js +4 -2
- package/dist/esm/v2/components/or-switch-v3/OrSwitch.vue.d.ts +18 -23
- package/dist/esm/v2/components/or-switch-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tab-v3/OrTab.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tab-v3/index.js +3 -1
- package/dist/esm/v2/components/or-tabs-v3/OrTabs.vue.d.ts +15 -4
- package/dist/esm/v2/components/or-tabs-v3/index.js +9 -8
- package/dist/esm/v2/components/or-tag-v3/OrTag.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tag-v3/index.js +9 -8
- package/dist/esm/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-text-v3/index.js +3 -1
- package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +19 -47
- package/dist/esm/v2/components/or-textarea-v3/index.js +6 -7
- package/dist/esm/v2/components/or-toast-v3/index.js +9 -8
- package/dist/esm/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tooltip-v3/index.js +5 -4
- package/dist/esm/v2/hooks/index.d.ts +1 -3
- package/dist/esm/v2/hooks/index.js +1 -2
- package/dist/esm/v2/hooks/useClassAttribute.d.ts +3 -0
- package/dist/esm/v2/index.js +55 -57
- package/dist/esm/v2/{types-1f95d710.js → types-6c742e07.js} +2 -2
- package/dist/esm/v2/useClassAttribute-47fdb016.js +32 -0
- package/dist/esm/v3/{OrAvatar-6444e693.js → OrAvatar-53a4429d.js} +13 -8
- package/dist/esm/v3/{OrBottomSheet-13a416ef.js → OrBottomSheet-62817aec.js} +4 -2
- package/dist/esm/v3/{OrButton-c56998e7.js → OrButton-0fa67a0d.js} +13 -8
- package/dist/esm/v3/{OrCard-cd6af82e.js → OrCard-fd92f7c8.js} +11 -6
- package/dist/esm/v3/{OrCardCollection-1e44c758.js → OrCardCollection-a5e326ef.js} +2 -2
- package/dist/esm/v3/{OrCardCollection-8b8e3745.js → OrCardCollection-dbb3e839.js} +19 -14
- package/dist/esm/v3/{OrCheckbox-16c1e2f4.js → OrCheckbox-3e139eac.js} +32 -40
- package/dist/esm/v3/{OrCode-5ed69c23.js → OrCode-72688173.js} +27 -9
- package/dist/esm/v3/{OrConfirm-c11ee2ec.js → OrConfirm-f39bd784.js} +1 -1
- package/dist/esm/v3/{OrConfirm-37454a63.js → OrConfirm-fee3c859.js} +3 -4
- package/dist/esm/v3/{OrError-19198748.js → OrError-ec8c709d.js} +12 -7
- package/dist/esm/v3/{OrErrorTag-308119de.js → OrErrorTag-98252eef.js} +13 -8
- package/dist/esm/v3/{OrExpansionPanel-3a4282da.js → OrExpansionPanel-f8d7ff8d.js} +13 -8
- package/dist/esm/v3/{OrFab-61131b31.js → OrFab-c8ae6e01.js} +9 -7
- package/dist/esm/v3/{OrHint-6863124f.js → OrHint-74bb732d.js} +12 -7
- package/dist/esm/v3/{OrIcon-34f59f73.js → OrIcon-b195169c.js} +11 -6
- package/dist/esm/v3/{OrIconButton-2dcfb83e.js → OrIconButton-1a89fbf9.js} +11 -15
- package/dist/esm/v3/{OrInlineInput-fbc35f85.js → OrInlineInput-507fc99c.js} +33 -41
- package/dist/esm/v3/{OrInlineInputBox-09b33e18.js → OrInlineInputBox-8049f95a.js} +11 -6
- package/dist/esm/v3/{OrInlineTextarea-79da8697.js → OrInlineTextarea-53a9e027.js} +33 -41
- package/dist/esm/v3/{OrInput-bd054213.js → OrInput-9c0426b9.js} +42 -45
- package/dist/esm/v3/{OrInputBox-e16ade90.js → OrInputBox-6d1b6059.js} +11 -6
- package/dist/esm/v3/{OrLabel-f700f9fb.js → OrLabel-bdaec602.js} +12 -7
- package/dist/esm/v3/{OrLink-07f6f27d.js → OrLink-338db3ca.js} +12 -7
- package/dist/esm/v3/{OrListOfInputs-508e056f.js → OrListOfInputs-7a67440f.js} +1 -1
- package/dist/esm/v3/{OrLoader-a53d2edf.js → OrLoader-b3cf4231.js} +12 -7
- package/dist/esm/v3/{OrMenu-7f3ea117.js → OrMenu-840038cd.js} +13 -8
- package/dist/esm/v3/{OrMenuItem-58707d47.js → OrMenuItem-9da279f6.js} +13 -8
- package/dist/esm/v3/{OrModal-4219a6dc.js → OrModal-7878cc39.js} +6 -3
- package/dist/esm/v3/{OrNotification-0e682c7f.js → OrNotification-e1383681.js} +14 -9
- package/dist/esm/v3/{OrNotification-e85a4956.js → OrNotification-eb08de33.js} +1 -1
- package/dist/esm/v3/{OrOverlay-afad3aa4.js → OrOverlay-738a44d5.js} +3 -1
- package/dist/esm/v3/{OrPagination-da9e5017.js → OrPagination-a703307d.js} +32 -20
- package/dist/esm/v3/{OrPopover-40217b49.js → OrPopover-1075dd38.js} +4 -2
- package/dist/esm/v3/{OrProgress-639ed5e8.js → OrProgress-407002e0.js} +12 -8
- package/dist/esm/v3/{OrRadio-bb9b37c1.js → OrRadio-54b6d0de.js} +29 -37
- package/dist/esm/v3/OrSearch-7cb2c91c.js +1075 -0
- package/dist/esm/v3/{OrSearch-4c5c44f2.js → OrSearch-9885d178.js} +13 -9
- package/dist/esm/v3/{OrSegmentedControl-880b4911.js → OrSegmentedControl-171cad78.js} +32 -19
- package/dist/esm/v3/{OrSelect-466e50ca.js → OrSelect-8fbd88bc.js} +37 -28
- package/dist/esm/v3/{OrSkeletonText-2b1610ce.js → OrSkeletonText-0546754d.js} +3 -3
- package/dist/esm/v3/{OrSkeletonText-afd3d007.js → OrSkeletonText-3965ff71.js} +33 -22
- package/dist/esm/v3/{OrSortHeader-a39f77f9.js → OrSortHeader-fe1a9cf8.js} +26 -16
- package/dist/esm/v3/{OrSwitch-1c2196da.js → OrSwitch-cca30aa0.js} +31 -38
- package/dist/esm/v3/{OrTab-d3785ea4.js → OrTab-c131cf60.js} +11 -6
- package/dist/esm/v3/{OrTabs-328d41b9.js → OrTabs-d0ee6cef.js} +20 -13
- package/dist/esm/v3/{OrTag-148ff9ae.js → OrTag-5d54f37d.js} +13 -8
- package/dist/esm/v3/{OrText-6b4f7cd1.js → OrText-ecb46923.js} +12 -7
- package/dist/esm/v3/{OrTextarea-37566985.js → OrTextarea-bb9ef3f2.js} +35 -47
- package/dist/esm/v3/{OrTooltip-b07616f4.js → OrTooltip-50d27b4f.js} +12 -8
- package/dist/esm/v3/components/index.d.ts +1 -5
- package/dist/esm/v3/components/index.js +55 -59
- package/dist/esm/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-avatar-v3/index.js +4 -2
- package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +3 -2
- package/dist/esm/v3/components/or-button-v3/OrButton.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-button-v3/index.js +4 -2
- package/dist/esm/v3/components/or-card-collection/index.js +3 -3
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-card-collection-v3/index.js +19 -20
- package/dist/esm/v3/components/or-card-v3/OrCard.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-card-v3/index.js +3 -1
- package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -23
- package/dist/esm/v3/components/or-checkbox-v3/index.js +3 -3
- package/dist/esm/v3/components/or-code/OrCode.vue.d.ts +10 -0
- package/dist/esm/v3/components/or-code/index.js +3 -2
- package/dist/esm/v3/components/or-confirm/index.js +3 -2
- package/dist/esm/v3/components/or-confirm-v3/index.js +15 -16
- package/dist/esm/v3/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-error-tag-v3/index.js +4 -2
- package/dist/esm/v3/components/or-error-v3/OrError.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-error-v3/index.js +3 -1
- package/dist/esm/v3/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-expansion-panel-v3/index.js +4 -2
- package/dist/esm/v3/components/or-fab-v3/index.js +4 -2
- package/dist/esm/v3/components/or-hint-v3/OrHint.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-hint-v3/index.js +3 -1
- package/dist/esm/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -13
- package/dist/esm/v3/components/or-icon-button-v3/index.js +7 -6
- package/dist/esm/v3/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-icon-v3/index.js +3 -1
- package/dist/esm/v3/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-inline-input-box-v3/index.js +3 -1
- package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +19 -38
- package/dist/esm/v3/components/or-inline-input-v3/index.js +11 -12
- package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +19 -38
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +11 -12
- package/dist/esm/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-input-box-v3/index.js +3 -1
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +21 -45
- package/dist/esm/v3/components/or-input-v3/index.js +12 -13
- package/dist/esm/v3/components/or-inputs/index.d.ts +5 -0
- package/dist/esm/v3/components/{or-password → or-inputs}/index.js +2 -3
- package/dist/esm/v3/components/or-label-v3/OrLabel.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-label-v3/index.js +3 -1
- package/dist/esm/v3/components/or-link-v3/OrLink.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-link-v3/index.js +3 -1
- package/dist/esm/v3/components/or-list-of-inputs/index.js +4 -2
- package/dist/esm/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-loader-v3/index.js +3 -1
- package/dist/esm/v3/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-menu-item-v3/index.js +4 -2
- package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-menu-v3/index.js +6 -5
- package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-modal-v3/index.js +9 -8
- package/dist/esm/v3/components/or-notification/index.js +1 -1
- package/dist/esm/v3/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-notification-v3/index.js +9 -8
- package/dist/esm/v3/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-overlay-v3/index.js +2 -1
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +13 -2
- package/dist/esm/v3/components/or-pagination-v3/index.js +11 -10
- package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-popover-v3/index.js +4 -3
- package/dist/esm/v3/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-progress-v3/index.js +3 -2
- package/dist/esm/v3/components/or-radio-v3/OrRadio.vue.d.ts +15 -20
- package/dist/esm/v3/components/or-radio-v3/index.js +3 -3
- package/dist/esm/v3/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-search-v3/index.js +14 -15
- package/dist/esm/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +16 -5
- package/dist/{bundled/v2/components/or-segmented-control-v3/partials → esm/v3/components/or-segmented-control-v3/components}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-segmented-control-v3/index.js +3 -1
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +16 -5
- package/dist/esm/v3/components/or-select-v3/index.js +17 -18
- package/dist/esm/v3/components/or-skeleton/index.js +1 -1
- package/dist/esm/v3/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
- package/dist/esm/v3/components/or-skeleton-v3/index.js +4 -2
- package/dist/esm/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +15 -4
- package/dist/esm/v3/components/or-sort-header-v3/index.js +4 -2
- package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +18 -23
- package/dist/esm/v3/components/or-switch-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tab-v3/OrTab.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-tab-v3/index.js +3 -1
- package/dist/esm/v3/components/or-tabs-v3/OrTabs.vue.d.ts +15 -4
- package/dist/esm/v3/components/or-tabs-v3/index.js +9 -8
- package/dist/esm/v3/components/or-tag-v3/OrTag.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-tag-v3/index.js +9 -8
- package/dist/esm/v3/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-text-v3/index.js +3 -1
- package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +19 -47
- package/dist/esm/v3/components/or-textarea-v3/index.js +6 -7
- package/dist/esm/v3/components/or-toast-v3/index.js +9 -8
- package/dist/esm/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-tooltip-v3/index.js +5 -4
- package/dist/esm/v3/hooks/index.d.ts +1 -3
- package/dist/esm/v3/hooks/index.js +1 -2
- package/dist/esm/v3/hooks/useClassAttribute.d.ts +3 -0
- package/dist/esm/v3/index.js +53 -57
- package/dist/esm/v3/{types-b79e4387.js → types-2692e337.js} +2 -2
- package/dist/esm/v3/useClassAttribute-47fdb016.js +32 -0
- package/package.json +3 -2
- package/src/components/index.ts +1 -5
- package/src/components/or-avatar-v3/OrAvatar.vue +9 -3
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +4 -0
- package/src/components/or-button-v3/OrButton.vue +7 -0
- package/src/components/or-card-collection/OrCardCollection.vue +8 -8
- package/src/components/or-card-collection-v3/OrCardCollection.vue +17 -9
- package/src/components/or-card-v3/OrCard.vue +7 -0
- package/src/components/or-checkbox-v3/OrCheckbox.stories3.ts +10 -3
- package/src/components/or-checkbox-v3/OrCheckbox.vue +26 -34
- package/src/components/or-code/OrCode.vue +23 -6
- package/src/components/or-confirm/OrConfirm.vue +1 -1
- package/src/components/or-confirm-v3/OrConfirm.vue +5 -15
- package/src/components/or-error-tag-v3/OrErrorTag.vue +7 -0
- package/src/components/or-error-v3/OrError.vue +7 -0
- package/src/components/or-expansion-panel-v3/OrExpansionPanel.vue +7 -0
- package/src/components/or-fab-v3/OrFab.vue +3 -0
- package/src/components/or-hint-v3/OrHint.vue +7 -0
- package/src/components/or-icon-button-v3/OrIconButton.stories3.ts +0 -4
- package/src/components/or-icon-button-v3/OrIconButton.vue +4 -6
- package/src/components/or-icon-button-v3/styles.ts +0 -13
- package/src/components/or-icon-v3/OrIcon.vue +7 -0
- package/src/components/or-inline-input-box-v3/OrInlineInputBox.vue +7 -0
- package/src/components/or-inline-input-v3/OrInlineInput.stories3.ts +6 -0
- package/src/components/or-inline-input-v3/OrInlineInput.vue +27 -36
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.stories3.ts +6 -0
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +27 -36
- package/src/components/or-input-box-v3/OrInputBox.vue +7 -0
- package/src/components/or-input-v3/OrInput.stories3.ts +10 -4
- package/src/components/or-input-v3/OrInput.vue +34 -37
- package/src/components/{or-number-input → or-inputs}/OrNumberInput.vue +1 -1
- package/src/components/{or-password → or-inputs}/OrPassword.vue +1 -1
- package/src/components/{or-search → or-inputs}/OrSearch.vue +1 -1
- package/src/components/{or-textarea → or-inputs}/OrTextarea.vue +6 -225
- package/src/components/or-inputs/index.ts +5 -0
- package/src/components/or-label-v3/OrLabel.vue +7 -0
- package/src/components/or-link-v3/OrLink.vue +7 -0
- package/src/components/or-list/OrList.stories.ts +1 -1
- package/src/components/or-list-of-inputs/OrListOfInputs.vue +1 -1
- package/src/components/or-loader-v3/OrLoader.vue +8 -1
- package/src/components/or-menu-item-v3/OrMenuItem.vue +7 -0
- package/src/components/or-menu-v3/OrMenu.vue +7 -0
- package/src/components/or-modal/OrModal.stories.ts +1 -1
- package/src/components/or-modal-v3/OrModal.vue +4 -0
- package/src/components/or-notification/OrNotification.vue +26 -1
- package/src/components/or-notification-v3/OrNotification.vue +7 -0
- package/src/components/or-overlay-v3/OrOverlay.vue +4 -1
- package/src/components/or-pagination-v3/OrPagination.stories3.ts +6 -0
- package/src/components/or-pagination-v3/OrPagination.vue +27 -9
- package/src/components/or-popover-v3/OrPopover.vue +4 -1
- package/src/components/or-progress-v3/OrProgress.vue +20 -3
- package/src/components/or-radio-v3/OrRadio.stories3.ts +10 -3
- package/src/components/or-radio-v3/OrRadio.vue +25 -33
- package/src/components/or-search-v3/OrSearch.stories3.ts +2 -0
- package/src/components/or-search-v3/OrSearch.vue +8 -1
- package/src/components/or-segmented-control-v3/OrSegmentedControl.stories3.ts +6 -0
- package/src/components/or-segmented-control-v3/OrSegmentedControl.vue +18 -6
- package/src/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/OrSegmentedControlItem.vue +7 -0
- package/src/components/or-select-v3/OrSelect.stories3.ts +6 -0
- package/src/components/or-select-v3/OrSelect.vue +18 -8
- package/src/components/or-skeleton/styles.scss +18 -3
- package/src/components/or-skeleton-v3/OrSkeletonCircle.vue +8 -2
- package/src/components/or-skeleton-v3/OrSkeletonRect.vue +8 -3
- package/src/components/or-skeleton-v3/OrSkeletonText.vue +9 -5
- package/src/components/or-sort-header-v3/OrSortHeader.stories3.ts +10 -3
- package/src/components/or-sort-header-v3/OrSortHeader.vue +19 -8
- package/src/components/or-stepper/OrStepper.stories.ts +1 -1
- package/src/components/or-switch-v3/OrSwitch.stories3.ts +10 -3
- package/src/components/or-switch-v3/OrSwitch.vue +25 -33
- package/src/components/or-tab-v3/OrTab.vue +7 -0
- package/src/components/or-tabs-v3/OrTabs.stories3.ts +6 -0
- package/src/components/or-tabs-v3/OrTabs.vue +16 -7
- package/src/components/or-tag-v3/OrTag.vue +7 -0
- package/src/components/or-text-v3/OrText.vue +7 -0
- package/src/components/or-textarea-v3/OrTextarea.stories3.ts +10 -4
- package/src/components/or-textarea-v3/OrTextarea.vue +28 -41
- package/src/components/or-tooltip-v3/OrTooltip.vue +7 -0
- package/src/hooks/index.ts +1 -3
- package/src/hooks/useClassAttribute.ts +39 -0
- package/dist/bundled/v2/OrNumberInput-face8ccc.js +0 -227
- package/dist/bundled/v2/OrPassword-a818e7b5.js +0 -227
- package/dist/bundled/v2/components/or-input/index.d.ts +0 -1
- package/dist/bundled/v2/components/or-input/index.js +0 -13
- package/dist/bundled/v2/components/or-number-input/index.d.ts +0 -1
- package/dist/bundled/v2/components/or-number-input/index.js +0 -14
- package/dist/bundled/v2/components/or-password/index.d.ts +0 -1
- package/dist/bundled/v2/components/or-search/index.d.ts +0 -1
- package/dist/bundled/v2/components/or-search/index.js +0 -25
- package/dist/bundled/v2/components/or-textarea/index.d.ts +0 -1
- package/dist/bundled/v2/components/or-textarea/index.js +0 -13
- package/dist/bundled/v2/hooks/useControlAttributes.d.ts +0 -8
- package/dist/bundled/v2/hooks/useIdAttribute.d.ts +0 -2
- package/dist/bundled/v2/hooks/useValidationAttributes.d.ts +0 -12
- package/dist/bundled/v2/useIdAttribute-cf61643f.js +0 -22
- package/dist/bundled/v2/useValidationAttributes-6df7bcf9.js +0 -17
- package/dist/bundled/v3/OrIcon-1a5c9091.js +0 -12
- package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-409235cc.js +0 -190
- package/dist/bundled/v3/OrNumberInput.vue_vue_type_script_lang-f061d829.js +0 -113
- package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-b75f6543.js +0 -99
- package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-69ea22e9.js +0 -187
- package/dist/bundled/v3/components/or-input/index.d.ts +0 -1
- package/dist/bundled/v3/components/or-input/index.js +0 -14
- package/dist/bundled/v3/components/or-number-input/index.d.ts +0 -1
- package/dist/bundled/v3/components/or-number-input/index.js +0 -16
- package/dist/bundled/v3/components/or-password/index.d.ts +0 -1
- package/dist/bundled/v3/components/or-password/index.js +0 -31
- package/dist/bundled/v3/components/or-search/index.d.ts +0 -1
- package/dist/bundled/v3/components/or-textarea/index.d.ts +0 -1
- package/dist/bundled/v3/components/or-textarea/index.js +0 -14
- package/dist/bundled/v3/hooks/useControlAttributes.d.ts +0 -8
- package/dist/bundled/v3/hooks/useIdAttribute.d.ts +0 -2
- package/dist/bundled/v3/hooks/useValidationAttributes.d.ts +0 -12
- package/dist/bundled/v3/useIdAttribute-b2e42f31.js +0 -21
- package/dist/bundled/v3/useValidationAttributes-5428d8fa.js +0 -16
- package/dist/esm/v2/OrNumberInput-b20d75d2.js +0 -225
- package/dist/esm/v2/OrPassword-e6d5e968.js +0 -225
- package/dist/esm/v2/components/or-input/index.d.ts +0 -1
- package/dist/esm/v2/components/or-input/index.js +0 -11
- package/dist/esm/v2/components/or-number-input/index.d.ts +0 -1
- package/dist/esm/v2/components/or-number-input/index.js +0 -12
- package/dist/esm/v2/components/or-password/index.d.ts +0 -1
- package/dist/esm/v2/components/or-search/index.d.ts +0 -1
- package/dist/esm/v2/components/or-search/index.js +0 -23
- package/dist/esm/v2/components/or-textarea/index.d.ts +0 -1
- package/dist/esm/v2/components/or-textarea/index.js +0 -11
- package/dist/esm/v2/hooks/useControlAttributes.d.ts +0 -8
- package/dist/esm/v2/hooks/useIdAttribute.d.ts +0 -2
- package/dist/esm/v2/hooks/useValidationAttributes.d.ts +0 -12
- package/dist/esm/v2/useIdAttribute-859439f0.js +0 -21
- package/dist/esm/v2/useValidationAttributes-d1abbe34.js +0 -16
- package/dist/esm/v3/OrInput-81125804.js +0 -295
- package/dist/esm/v3/OrNumberInput-b32b5ce3.js +0 -170
- package/dist/esm/v3/OrPassword-b0cbb578.js +0 -162
- package/dist/esm/v3/OrSearch-11fdf667.js +0 -188
- package/dist/esm/v3/OrTextarea-1f5c3be1.js +0 -290
- package/dist/esm/v3/components/or-input/index.d.ts +0 -1
- package/dist/esm/v3/components/or-input/index.js +0 -11
- package/dist/esm/v3/components/or-number-input/index.d.ts +0 -1
- package/dist/esm/v3/components/or-number-input/index.js +0 -12
- package/dist/esm/v3/components/or-password/index.d.ts +0 -1
- package/dist/esm/v3/components/or-search/index.d.ts +0 -1
- package/dist/esm/v3/components/or-search/index.js +0 -20
- package/dist/esm/v3/components/or-textarea/index.d.ts +0 -1
- package/dist/esm/v3/components/or-textarea/index.js +0 -11
- package/dist/esm/v3/hooks/useControlAttributes.d.ts +0 -8
- package/dist/esm/v3/hooks/useIdAttribute.d.ts +0 -2
- package/dist/esm/v3/hooks/useValidationAttributes.d.ts +0 -12
- package/dist/esm/v3/useIdAttribute-859439f0.js +0 -21
- package/dist/esm/v3/useValidationAttributes-d1abbe34.js +0 -16
- package/src/components/or-input/index.ts +0 -1
- package/src/components/or-number-input/index.ts +0 -1
- package/src/components/or-password/index.ts +0 -1
- package/src/components/or-search/index.ts +0 -1
- package/src/components/or-textarea/index.ts +0 -1
- package/src/hooks/useControlAttributes.ts +0 -19
- package/src/hooks/useIdAttribute.ts +0 -9
- package/src/hooks/useValidationAttributes.ts +0 -25
- /package/dist/bundled/v2/{OrInput-df1a14fa.js → OrInput-08f2f666.js} +0 -0
- /package/dist/bundled/v2/components/{or-input → or-inputs}/OrInput.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{or-number-input → or-inputs}/OrNumberInput.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{or-password → or-inputs}/OrPassword.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{or-search → or-inputs}/OrSearch.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{or-textarea → or-inputs}/OrTextarea.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/{or-input → or-inputs}/OrInput.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{or-number-input → or-inputs}/OrNumberInput.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{or-password → or-inputs}/OrPassword.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{or-search → or-inputs}/OrSearch.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{or-textarea → or-inputs}/OrTextarea.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/styles.d.ts +0 -0
- /package/dist/esm/v2/components/{or-input → or-inputs}/OrInput.vue.d.ts +0 -0
- /package/dist/esm/v2/components/{or-number-input → or-inputs}/OrNumberInput.vue.d.ts +0 -0
- /package/dist/esm/v2/components/{or-password → or-inputs}/OrPassword.vue.d.ts +0 -0
- /package/dist/esm/v2/components/{or-search → or-inputs}/OrSearch.vue.d.ts +0 -0
- /package/dist/esm/v2/components/{or-textarea → or-inputs}/OrTextarea.vue.d.ts +0 -0
- /package/dist/esm/v2/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/styles.d.ts +0 -0
- /package/dist/esm/v3/components/{or-input → or-inputs}/OrInput.vue.d.ts +0 -0
- /package/dist/esm/v3/components/{or-number-input → or-inputs}/OrNumberInput.vue.d.ts +0 -0
- /package/dist/esm/v3/components/{or-password → or-inputs}/OrPassword.vue.d.ts +0 -0
- /package/dist/esm/v3/components/{or-search → or-inputs}/OrSearch.vue.d.ts +0 -0
- /package/dist/esm/v3/components/{or-textarea → or-inputs}/OrTextarea.vue.d.ts +0 -0
- /package/dist/esm/v3/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/styles.d.ts +0 -0
- /package/src/components/{or-input → or-inputs}/OrInput.stories.ts +0 -0
- /package/src/components/{or-input → or-inputs}/OrInput.vue +0 -0
- /package/src/components/{or-number-input → or-inputs}/OrNumberInput.stories.ts +0 -0
- /package/src/components/{or-password → or-inputs}/OrPassword.stories.ts +0 -0
- /package/src/components/{or-search → or-inputs}/OrSearch.stories.ts +0 -0
- /package/src/components/{or-textarea → or-inputs}/OrTextarea.stories.ts +0 -0
- /package/src/components/{or-input → or-inputs}/or-textbox-migration.stories.mdx +0 -0
- /package/src/components/{or-input → or-inputs}/styles.scss +0 -0
- /package/src/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/styles.ts +0 -0
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
:invalid="invalid"
|
|
10
10
|
>
|
|
11
11
|
<textarea
|
|
12
|
-
|
|
12
|
+
:id="controlId"
|
|
13
13
|
v-model="draftModelValue"
|
|
14
|
-
v-bind="
|
|
14
|
+
v-bind="$attrs"
|
|
15
15
|
:class="controlStyles"
|
|
16
16
|
:placeholder="placeholder"
|
|
17
17
|
:activated="activated ? '' : null"
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
</template>
|
|
71
71
|
|
|
72
72
|
<script lang="ts">
|
|
73
|
-
import { computed, defineComponent,
|
|
74
|
-
import {
|
|
73
|
+
import { computed, defineComponent, getCurrentInstance, ref, watch } from 'vue-demi';
|
|
74
|
+
import { useClassAttribute } from '../../hooks';
|
|
75
75
|
import { OrErrorV3 as OrError } from '../or-error-v3';
|
|
76
76
|
import { OrHintV3 as OrHint } from '../or-hint-v3';
|
|
77
77
|
import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3';
|
|
@@ -88,10 +88,7 @@ export default defineComponent({
|
|
|
88
88
|
OrInlineInputBox,
|
|
89
89
|
},
|
|
90
90
|
|
|
91
|
-
|
|
92
|
-
prop: 'modelValue',
|
|
93
|
-
event: 'update:modelValue',
|
|
94
|
-
},
|
|
91
|
+
inheritAttrs: false,
|
|
95
92
|
|
|
96
93
|
props: {
|
|
97
94
|
modelValue: {
|
|
@@ -99,6 +96,11 @@ export default defineComponent({
|
|
|
99
96
|
default: undefined,
|
|
100
97
|
},
|
|
101
98
|
|
|
99
|
+
value: { // TODO: Remove Vue 2 fallback
|
|
100
|
+
type: String,
|
|
101
|
+
default: undefined,
|
|
102
|
+
},
|
|
103
|
+
|
|
102
104
|
saveOnBlur: {
|
|
103
105
|
type: Boolean,
|
|
104
106
|
default: false,
|
|
@@ -123,6 +125,7 @@ export default defineComponent({
|
|
|
123
125
|
emits: [
|
|
124
126
|
'update:modelValue',
|
|
125
127
|
|
|
128
|
+
'input',
|
|
126
129
|
'keydown',
|
|
127
130
|
'keyup',
|
|
128
131
|
'focus',
|
|
@@ -131,20 +134,21 @@ export default defineComponent({
|
|
|
131
134
|
|
|
132
135
|
expose: [
|
|
133
136
|
'root',
|
|
134
|
-
|
|
135
|
-
'focus',
|
|
136
|
-
'blur',
|
|
137
137
|
],
|
|
138
138
|
|
|
139
139
|
setup(props, context) {
|
|
140
|
+
const currentInstance = getCurrentInstance()!;
|
|
141
|
+
|
|
140
142
|
// Refs
|
|
141
143
|
const root = ref<HTMLElement>();
|
|
142
|
-
const control = ref<HTMLTextAreaElement>();
|
|
143
144
|
|
|
144
145
|
// Styles
|
|
146
|
+
const classAttribute = useClassAttribute();
|
|
147
|
+
|
|
145
148
|
const rootStyles = computed(() => [
|
|
146
149
|
'or-inline-textarea',
|
|
147
150
|
...InlineTextareaRoot,
|
|
151
|
+
classAttribute.value,
|
|
148
152
|
]);
|
|
149
153
|
|
|
150
154
|
const controlStyles = computed(() => [
|
|
@@ -156,28 +160,26 @@ export default defineComponent({
|
|
|
156
160
|
]);
|
|
157
161
|
|
|
158
162
|
// State
|
|
159
|
-
const
|
|
160
|
-
id: useIdAttribute(),
|
|
161
|
-
...useControlAttributes(),
|
|
162
|
-
...useValidationAttributes(),
|
|
163
|
-
});
|
|
163
|
+
const controlId = ref(context.attrs.id as string ?? currentInstance.uid.toString());
|
|
164
164
|
|
|
165
165
|
const proxyModelValue = computed({
|
|
166
|
-
get: () =>
|
|
166
|
+
get: () => {
|
|
167
|
+
return props.modelValue ?? props.value; // TODO: Remove Vue 2 fallback
|
|
168
|
+
},
|
|
167
169
|
|
|
168
170
|
set: (value) => {
|
|
171
|
+
context.emit('input', value);
|
|
169
172
|
context.emit('update:modelValue', value);
|
|
170
173
|
},
|
|
171
174
|
});
|
|
172
175
|
|
|
173
176
|
const draftModelValue = ref<string>('');
|
|
174
177
|
|
|
175
|
-
const
|
|
176
|
-
const maxLength = computed(() => controlAttributes.maxlength);
|
|
177
|
-
|
|
178
|
+
const activated = ref(false);
|
|
178
179
|
const invalid = computed(() => !!props.error);
|
|
179
180
|
|
|
180
|
-
const
|
|
181
|
+
const currentLength = computed(() => draftModelValue.value?.toString().length ?? 0);
|
|
182
|
+
const maxLength = computed(() => context.attrs.maxlength as number | undefined);
|
|
181
183
|
|
|
182
184
|
// Handlers
|
|
183
185
|
function onFocus(event: Event): void {
|
|
@@ -195,14 +197,6 @@ export default defineComponent({
|
|
|
195
197
|
}
|
|
196
198
|
|
|
197
199
|
// Methods
|
|
198
|
-
function focus(): void {
|
|
199
|
-
control.value?.focus();
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
function blur(): void {
|
|
203
|
-
control.value?.blur();
|
|
204
|
-
}
|
|
205
|
-
|
|
206
200
|
function apply(): void {
|
|
207
201
|
if (draftModelValue.value !== proxyModelValue.value) {
|
|
208
202
|
proxyModelValue.value = draftModelValue.value;
|
|
@@ -226,21 +220,18 @@ export default defineComponent({
|
|
|
226
220
|
|
|
227
221
|
return {
|
|
228
222
|
root,
|
|
229
|
-
control,
|
|
230
223
|
rootStyles,
|
|
231
224
|
controlStyles,
|
|
232
225
|
actionStyles,
|
|
233
|
-
|
|
226
|
+
controlId,
|
|
234
227
|
proxyModelValue,
|
|
235
228
|
draftModelValue,
|
|
229
|
+
activated,
|
|
230
|
+
invalid,
|
|
236
231
|
currentLength,
|
|
237
232
|
maxLength,
|
|
238
|
-
invalid,
|
|
239
|
-
activated,
|
|
240
233
|
onFocus,
|
|
241
234
|
onBlur,
|
|
242
|
-
focus,
|
|
243
|
-
blur,
|
|
244
235
|
apply,
|
|
245
236
|
reset,
|
|
246
237
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
3
|
ref="root"
|
|
4
|
+
v-bind="$attrs"
|
|
4
5
|
:class="rootStyles"
|
|
5
6
|
:invalid="invalid ? '' : null"
|
|
6
7
|
:readonly="readonly ? '' : null"
|
|
@@ -12,12 +13,15 @@
|
|
|
12
13
|
|
|
13
14
|
<script lang="ts">
|
|
14
15
|
import { computed, defineComponent, PropType, ref } from 'vue-demi';
|
|
16
|
+
import { useClassAttribute } from '../../hooks';
|
|
15
17
|
import { InputBoxSize, InputBoxVariant } from './props';
|
|
16
18
|
import { InputBoxRoot, InputBoxRootSizes, InputBoxRootVariants } from './styles';
|
|
17
19
|
|
|
18
20
|
export default defineComponent({
|
|
19
21
|
name: 'OrInputBox',
|
|
20
22
|
|
|
23
|
+
inheritAttrs: false,
|
|
24
|
+
|
|
21
25
|
props: {
|
|
22
26
|
variant: {
|
|
23
27
|
type: String as PropType<InputBoxVariant>,
|
|
@@ -54,11 +58,14 @@ export default defineComponent({
|
|
|
54
58
|
const root = ref<HTMLElement>();
|
|
55
59
|
|
|
56
60
|
// Styles
|
|
61
|
+
const classAttribute = useClassAttribute();
|
|
62
|
+
|
|
57
63
|
const rootStyles = computed(() => [
|
|
58
64
|
'or-input-box',
|
|
59
65
|
...InputBoxRoot,
|
|
60
66
|
...InputBoxRootVariants[props.variant],
|
|
61
67
|
...InputBoxRootSizes[props.size],
|
|
68
|
+
classAttribute.value,
|
|
62
69
|
]);
|
|
63
70
|
|
|
64
71
|
return {
|
|
@@ -17,6 +17,10 @@ export default {
|
|
|
17
17
|
control: { type: 'text' },
|
|
18
18
|
},
|
|
19
19
|
|
|
20
|
+
readonly: {
|
|
21
|
+
control: { type: 'boolean' },
|
|
22
|
+
},
|
|
23
|
+
|
|
20
24
|
maxlength: {
|
|
21
25
|
control: { type: 'number' },
|
|
22
26
|
},
|
|
@@ -36,6 +40,10 @@ export default {
|
|
|
36
40
|
control: { type: 'text' },
|
|
37
41
|
},
|
|
38
42
|
|
|
43
|
+
value: { // TODO: Remove Vue 2 fallback
|
|
44
|
+
table: { disable: true },
|
|
45
|
+
},
|
|
46
|
+
|
|
39
47
|
type: {
|
|
40
48
|
control: { type: 'select' },
|
|
41
49
|
options: Object.values(InputType),
|
|
@@ -66,10 +74,6 @@ export default {
|
|
|
66
74
|
control: { type: 'boolean' },
|
|
67
75
|
},
|
|
68
76
|
|
|
69
|
-
readonly: {
|
|
70
|
-
control: { type: 'boolean' },
|
|
71
|
-
},
|
|
72
|
-
|
|
73
77
|
disabled: {
|
|
74
78
|
control: { type: 'boolean' },
|
|
75
79
|
},
|
|
@@ -137,6 +141,7 @@ const Template: StoryFn<typeof OrInput> = (args) => ({
|
|
|
137
141
|
args,
|
|
138
142
|
model,
|
|
139
143
|
onUpdateModelValue: action('update:modelValue'),
|
|
144
|
+
onInput: action('input'),
|
|
140
145
|
onKeydown: action('keydown'),
|
|
141
146
|
onKeyup: action('keyup'),
|
|
142
147
|
onFocus: action('focus'),
|
|
@@ -149,6 +154,7 @@ const Template: StoryFn<typeof OrInput> = (args) => ({
|
|
|
149
154
|
v-model="model"
|
|
150
155
|
v-bind="args"
|
|
151
156
|
@update:modelValue="onUpdateModelValue"
|
|
157
|
+
@input="onInput"
|
|
152
158
|
@keydown="onKeydown"
|
|
153
159
|
@keyup="onKeyup"
|
|
154
160
|
@focus="onFocus"
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
>
|
|
6
6
|
<template v-if="label">
|
|
7
7
|
<OrLabel
|
|
8
|
-
:control-id="
|
|
8
|
+
:control-id="controlId"
|
|
9
9
|
:variant="'input'"
|
|
10
10
|
:required="required"
|
|
11
11
|
:disabled="disabled"
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
:disabled="disabled"
|
|
27
27
|
>
|
|
28
28
|
<input
|
|
29
|
-
|
|
29
|
+
:id="controlId"
|
|
30
|
+
ref="input"
|
|
30
31
|
v-model="proxyModelValue"
|
|
31
|
-
v-bind="
|
|
32
|
+
v-bind="$attrs"
|
|
32
33
|
:class="controlStyles"
|
|
33
34
|
:type="type === 'password' && disclosed ? 'text' : type"
|
|
34
35
|
:placeholder="placeholder"
|
|
35
36
|
:required="required"
|
|
36
|
-
:readonly="readonly"
|
|
37
37
|
:disabled="disabled"
|
|
38
38
|
@keydown="$emit('keydown', $event)"
|
|
39
39
|
@keyup="$emit('keyup', $event)"
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
<OrIconButton
|
|
57
57
|
:icon="'close'"
|
|
58
58
|
:color="'inherit'"
|
|
59
|
-
:disabled="
|
|
59
|
+
:disabled="disabled"
|
|
60
60
|
@click.stop="$emit('update:modelValue', '')"
|
|
61
61
|
/>
|
|
62
62
|
</template>
|
|
@@ -102,8 +102,8 @@
|
|
|
102
102
|
</template>
|
|
103
103
|
|
|
104
104
|
<script lang="ts">
|
|
105
|
-
import { computed, defineComponent,
|
|
106
|
-
import {
|
|
105
|
+
import { computed, defineComponent, getCurrentInstance, PropType, ref } from 'vue-demi';
|
|
106
|
+
import { useClassAttribute } from '../../hooks';
|
|
107
107
|
import { OrErrorV3 as OrError } from '../or-error-v3';
|
|
108
108
|
import { OrHintV3 as OrHint } from '../or-hint-v3';
|
|
109
109
|
import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3';
|
|
@@ -125,10 +125,7 @@ export default defineComponent({
|
|
|
125
125
|
OrLabel,
|
|
126
126
|
},
|
|
127
127
|
|
|
128
|
-
|
|
129
|
-
prop: 'modelValue',
|
|
130
|
-
event: 'update:modelValue',
|
|
131
|
-
},
|
|
128
|
+
inheritAttrs: false,
|
|
132
129
|
|
|
133
130
|
props: {
|
|
134
131
|
modelValue: {
|
|
@@ -136,6 +133,11 @@ export default defineComponent({
|
|
|
136
133
|
default: undefined,
|
|
137
134
|
},
|
|
138
135
|
|
|
136
|
+
value: { // TODO: Remove Vue 2 fallback
|
|
137
|
+
type: [String, Number],
|
|
138
|
+
default: undefined,
|
|
139
|
+
},
|
|
140
|
+
|
|
139
141
|
type: {
|
|
140
142
|
type: String as PropType<InputType>,
|
|
141
143
|
default: InputType.Text,
|
|
@@ -171,11 +173,6 @@ export default defineComponent({
|
|
|
171
173
|
default: false,
|
|
172
174
|
},
|
|
173
175
|
|
|
174
|
-
readonly: {
|
|
175
|
-
type: Boolean,
|
|
176
|
-
default: false,
|
|
177
|
-
},
|
|
178
|
-
|
|
179
176
|
disabled: {
|
|
180
177
|
type: Boolean,
|
|
181
178
|
default: false,
|
|
@@ -190,6 +187,7 @@ export default defineComponent({
|
|
|
190
187
|
emits: [
|
|
191
188
|
'update:modelValue',
|
|
192
189
|
|
|
190
|
+
'input',
|
|
193
191
|
'keydown',
|
|
194
192
|
'keyup',
|
|
195
193
|
'focus',
|
|
@@ -198,20 +196,23 @@ export default defineComponent({
|
|
|
198
196
|
|
|
199
197
|
expose: [
|
|
200
198
|
'root',
|
|
201
|
-
|
|
202
199
|
'focus',
|
|
203
|
-
'blur',
|
|
204
200
|
],
|
|
205
201
|
|
|
206
202
|
setup(props, context) {
|
|
203
|
+
const currentInstance = getCurrentInstance()!;
|
|
204
|
+
|
|
207
205
|
// Refs
|
|
208
206
|
const root = ref<HTMLElement>();
|
|
209
|
-
const
|
|
207
|
+
const input = ref<HTMLInputElement>();
|
|
210
208
|
|
|
211
209
|
// Styles
|
|
210
|
+
const classAttribute = useClassAttribute();
|
|
211
|
+
|
|
212
212
|
const rootStyles = computed(() => [
|
|
213
213
|
'or-input',
|
|
214
214
|
...InputRoot,
|
|
215
|
+
classAttribute.value,
|
|
215
216
|
]);
|
|
216
217
|
|
|
217
218
|
const controlStyles = computed(() => [
|
|
@@ -219,49 +220,45 @@ export default defineComponent({
|
|
|
219
220
|
]);
|
|
220
221
|
|
|
221
222
|
// State
|
|
222
|
-
const
|
|
223
|
-
id: useIdAttribute(),
|
|
224
|
-
...useControlAttributes(),
|
|
225
|
-
...useValidationAttributes(),
|
|
226
|
-
});
|
|
223
|
+
const controlId = ref(context.attrs.id as string ?? currentInstance.uid.toString());
|
|
227
224
|
|
|
228
225
|
const proxyModelValue = computed({
|
|
229
|
-
get: () =>
|
|
226
|
+
get: () => {
|
|
227
|
+
return props.modelValue ?? props.value; // TODO: Remove Vue 2 fallback
|
|
228
|
+
},
|
|
230
229
|
|
|
231
230
|
set: (value) => {
|
|
231
|
+
context.emit('input', value);
|
|
232
232
|
context.emit('update:modelValue', value);
|
|
233
233
|
},
|
|
234
234
|
});
|
|
235
235
|
|
|
236
|
-
const currentLength = computed(() => proxyModelValue.value?.toString().length ?? 0);
|
|
237
|
-
const maxLength = computed(() => controlAttributes.maxlength);
|
|
238
|
-
|
|
239
236
|
const invalid = computed(() => !!props.error);
|
|
237
|
+
const readonly = computed(() => context.attrs.readonly as boolean);
|
|
238
|
+
|
|
239
|
+
const currentLength = computed(() => proxyModelValue.value?.toString().length ?? 0);
|
|
240
|
+
const maxLength = computed(() => context.attrs.maxlength as number | undefined);
|
|
240
241
|
|
|
241
242
|
const disclosed = ref(false);
|
|
242
243
|
|
|
243
244
|
// Methods
|
|
244
245
|
function focus(): void {
|
|
245
|
-
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
function blur(): void {
|
|
249
|
-
control.value?.blur();
|
|
246
|
+
input.value?.focus();
|
|
250
247
|
}
|
|
251
248
|
|
|
252
249
|
return {
|
|
253
250
|
root,
|
|
254
|
-
|
|
251
|
+
input,
|
|
255
252
|
rootStyles,
|
|
256
253
|
controlStyles,
|
|
257
|
-
|
|
254
|
+
controlId,
|
|
258
255
|
proxyModelValue,
|
|
256
|
+
invalid,
|
|
257
|
+
readonly,
|
|
259
258
|
currentLength,
|
|
260
259
|
maxLength,
|
|
261
|
-
invalid,
|
|
262
260
|
disclosed,
|
|
263
261
|
focus,
|
|
264
|
-
blur,
|
|
265
262
|
};
|
|
266
263
|
},
|
|
267
264
|
});
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
</template>
|
|
65
65
|
<script lang="ts">
|
|
66
66
|
import { defineComponent, ref } from 'vue-demi';
|
|
67
|
+
import OrInput from './OrInput.vue';
|
|
67
68
|
import { useVModel } from '@vueuse/core';
|
|
68
|
-
import { OrInput } from '../or-input';
|
|
69
69
|
import { useToggle } from '../../hooks';
|
|
70
70
|
import { BUTTON_SIZE, OrIconButton } from '../or-button-v2';
|
|
71
71
|
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
</template>
|
|
67
67
|
<script lang="ts">
|
|
68
68
|
import { defineComponent, ref } from 'vue-demi';
|
|
69
|
-
import
|
|
69
|
+
import OrInput from './OrInput.vue';
|
|
70
70
|
import { debouncedWatch } from '@vueuse/core';
|
|
71
71
|
import { BUTTON_SIZE, OrIconButton } from '../or-button-v2';
|
|
72
72
|
|
|
@@ -114,7 +114,11 @@
|
|
|
114
114
|
</template>
|
|
115
115
|
|
|
116
116
|
<script lang="ts">
|
|
117
|
-
import {
|
|
117
|
+
import {
|
|
118
|
+
defineComponent,
|
|
119
|
+
ref,
|
|
120
|
+
getCurrentInstance,
|
|
121
|
+
} from 'vue-demi';
|
|
118
122
|
import { pxToRem } from '../../utils/functions/px-to-rem';
|
|
119
123
|
import {
|
|
120
124
|
cancelAF,
|
|
@@ -315,228 +319,5 @@ export default defineComponent({
|
|
|
315
319
|
</script>
|
|
316
320
|
|
|
317
321
|
<style lang="scss" scoped>
|
|
318
|
-
@
|
|
319
|
-
|
|
320
|
-
.or-textbox {
|
|
321
|
-
display: flex;
|
|
322
|
-
align-items: flex-start;
|
|
323
|
-
justify-content: flex-start;
|
|
324
|
-
width: 100%;
|
|
325
|
-
|
|
326
|
-
&.is-show-info.has-label {
|
|
327
|
-
align-items: center;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
&.has-label {
|
|
331
|
-
align-items: flex-end;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
.or-label {
|
|
335
|
-
margin-bottom: $s-1;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
&--append,
|
|
339
|
-
&--prepend {
|
|
340
|
-
position: relative;
|
|
341
|
-
display: flex;
|
|
342
|
-
align-items: center;
|
|
343
|
-
height: px-to-rem(36);
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
&--append {
|
|
347
|
-
margin-left: px-to-rem(10);
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
&--prepend {
|
|
351
|
-
margin-right: px-to-rem(10);
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
&--wrapper {
|
|
355
|
-
width: 100%;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
&--input {
|
|
359
|
-
width: 100%;
|
|
360
|
-
min-width: px-to-rem(114);
|
|
361
|
-
height: px-to-rem(36);
|
|
362
|
-
padding: px-to-rem(10);
|
|
363
|
-
font-family: inherit;
|
|
364
|
-
font-size: $fs-1;
|
|
365
|
-
background-color: $c-neutral-1;
|
|
366
|
-
border: 1px solid $c-neutral-2;
|
|
367
|
-
border-radius: $s-2;
|
|
368
|
-
outline: none;
|
|
369
|
-
|
|
370
|
-
@include transition(border-color, background-color, -webkit-box-shadow);
|
|
371
|
-
|
|
372
|
-
&-textarea {
|
|
373
|
-
/* stylelint-disable-next-line scss/at-extend-no-missing-placeholder */
|
|
374
|
-
@extend .or-textbox--input;
|
|
375
|
-
|
|
376
|
-
min-height: px-to-rem(79);
|
|
377
|
-
max-height: px-to-rem(142);
|
|
378
|
-
overflow-x: hidden;
|
|
379
|
-
overflow-y: auto;
|
|
380
|
-
resize: none;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
&-wrapper {
|
|
384
|
-
position: relative;
|
|
385
|
-
width: 100%;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
&::placeholder {
|
|
389
|
-
color: $c-neutral-4;
|
|
390
|
-
|
|
391
|
-
@include transition(opacity);
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
&:-webkit-autofill {
|
|
395
|
-
-webkit-box-shadow: inset 0 0 0 50px $c-neutral-1;
|
|
396
|
-
|
|
397
|
-
@include focus {
|
|
398
|
-
-webkit-box-shadow: inset 0 0 0 50px $c-white;
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
@include hover {
|
|
403
|
-
background-color: $c-white;
|
|
404
|
-
border-color: $c-neutral-2-darken-3;
|
|
405
|
-
-webkit-box-shadow: inset 0 0 0 50px $c-white;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
@include active {
|
|
409
|
-
&:not(:focus) {
|
|
410
|
-
border-color: $c-neutral-2-darken-5;
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
@include focus {
|
|
415
|
-
background-color: $c-white;
|
|
416
|
-
border-color: $c-primary;
|
|
417
|
-
|
|
418
|
-
&::placeholder {
|
|
419
|
-
opacity: 0;
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
@include disabled {
|
|
424
|
-
background-color: $c-neutral-2;
|
|
425
|
-
border-color: $c-neutral-2;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
@include has-error {
|
|
429
|
-
border-color: $c-error;
|
|
430
|
-
|
|
431
|
-
@include hover {
|
|
432
|
-
border-color: $c-error-darken-3;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
@include focus {
|
|
436
|
-
border-color: $c-error-darken-5;
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
@include disabled {
|
|
440
|
-
border-color: $c-error-lighten-20;
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
&--textarea {
|
|
446
|
-
/* stylelint-disable-next-line scss/at-extend-no-missing-placeholder */
|
|
447
|
-
@extend .or-textbox--input;
|
|
448
|
-
|
|
449
|
-
min-height: px-to-rem(79);
|
|
450
|
-
max-height: px-to-rem(142);
|
|
451
|
-
overflow-x: hidden;
|
|
452
|
-
overflow-y: auto;
|
|
453
|
-
resize: none;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
&--info {
|
|
457
|
-
width: 100%;
|
|
458
|
-
margin: 0;
|
|
459
|
-
|
|
460
|
-
@include transition(height, opacity);
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
&--counter {
|
|
464
|
-
flex-shrink: 0;
|
|
465
|
-
margin-left: auto;
|
|
466
|
-
font-size: $fs-0;
|
|
467
|
-
line-height: px-to-rem(14);
|
|
468
|
-
color: $c-neutral-4;
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
&--hint,
|
|
472
|
-
&-error {
|
|
473
|
-
flex-shrink: 1;
|
|
474
|
-
|
|
475
|
-
@include transition(height, opacity);
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
&.is-small {
|
|
479
|
-
.or-textbox {
|
|
480
|
-
&--input {
|
|
481
|
-
height: px-to-rem(30);
|
|
482
|
-
padding: px-to-rem(8) px-to-rem(10);
|
|
483
|
-
font-size: $fs-0;
|
|
484
|
-
|
|
485
|
-
&-toggle-btn {
|
|
486
|
-
.material-icons {
|
|
487
|
-
font-size: $fs-1;
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
&.has-counter {
|
|
495
|
-
.or-textbox {
|
|
496
|
-
&--hint,
|
|
497
|
-
&--error {
|
|
498
|
-
padding-right: px-to-rem(15);
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
&.is-show-info {
|
|
504
|
-
.or-textbox {
|
|
505
|
-
&--info {
|
|
506
|
-
display: flex;
|
|
507
|
-
align-items: flex-start;
|
|
508
|
-
justify-content: space-between;
|
|
509
|
-
padding-top: px-to-rem(4);
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
@include disabled {
|
|
515
|
-
.or-textbox {
|
|
516
|
-
&--input-toggle-btn {
|
|
517
|
-
pointer-events: none;
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
@include has-error {
|
|
523
|
-
.or-textbox {
|
|
524
|
-
&--input {
|
|
525
|
-
border-color: $c-error;
|
|
526
|
-
|
|
527
|
-
@include hover {
|
|
528
|
-
border-color: $c-error-darken-3;
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
@include focus {
|
|
532
|
-
border-color: $c-error-darken-5;
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
@include disabled {
|
|
536
|
-
border-color: $c-error;
|
|
537
|
-
}
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
}
|
|
322
|
+
@import "./styles.scss";
|
|
542
323
|
</style>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as OrTextarea } from './OrTextarea.vue';
|
|
2
|
+
export { default as OrInput } from './OrInput.vue';
|
|
3
|
+
export { default as OrNumberInput } from './OrNumberInput.vue';
|
|
4
|
+
export { default as OrPassword } from './OrPassword.vue';
|
|
5
|
+
export { default as OrSearch } from './OrSearch.vue';
|