@onereach/ui-components 2.71.1-beta.2235.0 → 2.71.1
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-ae61bfb9.js → OrAvatar-586e417b.js} +4 -7
- package/dist/bundled/v2/{OrBottomSheet-1cd1ab4c.js → OrBottomSheet-ddba20c1.js} +2 -4
- package/dist/bundled/v2/{OrButton-a846fa7e.js → OrButton-d45772c1.js} +4 -7
- package/dist/bundled/v2/{OrCard-29116e1f.js → OrCard-45d5869b.js} +3 -6
- package/dist/bundled/v2/{OrCardCollection-0141a358.js → OrCardCollection-091e2193.js} +9 -12
- package/dist/bundled/v2/{OrCardCollection-166cfcc6.js → OrCardCollection-89428bbf.js} +5 -5
- package/dist/bundled/v2/{OrCheckbox-dbef9f9a.js → OrCheckbox-9be450f9.js} +41 -34
- package/dist/bundled/v2/{OrConfirm-55b89b17.js → OrConfirm-56d01cff.js} +4 -4
- package/dist/bundled/v2/{OrConfirm-057e997e.js → OrConfirm-bb2df177.js} +4 -3
- package/dist/bundled/v2/{OrError-aad17598.js → OrError-52f668a4.js} +3 -6
- package/dist/bundled/v2/{OrErrorTag-d0c5bcf4.js → OrErrorTag-97a9112b.js} +4 -7
- package/dist/bundled/v2/{OrExpansionPanel-d9a260e2.js → OrExpansionPanel-96b8f568.js} +4 -7
- package/dist/bundled/v2/{OrFab-7cc75893.js → OrFab-ed69dee1.js} +3 -4
- package/dist/bundled/v2/{OrHint-f38a1940.js → OrHint-fde53334.js} +3 -6
- package/dist/bundled/v2/{OrIcon-8625385f.js → OrIcon-458206aa.js} +3 -6
- package/dist/bundled/v2/{OrIconButton-a2ba92df.js → OrIconButton-4bdd1566.js} +3 -5
- package/dist/bundled/v2/{OrInlineInput-87589946.js → OrInlineInput-b009a043.js} +47 -39
- package/dist/bundled/v2/{OrInlineInputBox-f457210f.js → OrInlineInputBox-7a8e645b.js} +3 -6
- package/dist/bundled/v2/{OrInlineTextarea-21b0e6fc.js → OrInlineTextarea-6e8c1f80.js} +43 -35
- package/dist/bundled/v2/{OrInput-82ccfe00.js → OrInput-5404a234.js} +53 -50
- package/dist/bundled/v2/{OrInputBox-79ec54ad.js → OrInputBox-2f559e98.js} +3 -6
- package/dist/bundled/v2/{OrLabel-172c4b89.js → OrLabel-aff09c39.js} +3 -6
- package/dist/bundled/v2/{OrLink-e7b57307.js → OrLink-0d952e87.js} +3 -6
- package/dist/bundled/v2/{OrListOfInputs-ab7f9d97.js → OrListOfInputs-8f076650.js} +4 -4
- package/dist/bundled/v2/{OrLoader-6a1f937b.js → OrLoader-864ef92a.js} +3 -6
- package/dist/bundled/v2/{OrMenu-fa47c888.js → OrMenu-52da43bc.js} +4 -7
- package/dist/bundled/v2/{OrMenuItem-26420908.js → OrMenuItem-e2693a5f.js} +4 -7
- package/dist/bundled/v2/{OrModal-af6677fd.js → OrModal-51b9f3e7.js} +3 -5
- package/dist/bundled/v2/{OrNotification-3250f58b.js → OrNotification-7f761f25.js} +5 -8
- package/dist/bundled/v2/{OrOverlay-3c89d622.js → OrOverlay-efa7992e.js} +1 -3
- package/dist/bundled/v2/{OrPagination-379c10b8.js → OrPagination-daf25de2.js} +15 -25
- package/dist/bundled/v2/{OrTextarea-71ff236d.js → OrPassword-7da938aa.js} +449 -7
- package/dist/bundled/v2/{OrPopover-5dc240f1.js → OrPopover-4e8acb7b.js} +2 -4
- package/dist/bundled/v2/{OrProgress-cc397a38.js → OrProgress-15fe65ec.js} +4 -7
- package/dist/bundled/v2/{OrRadio-cd39b20b.js → OrRadio-fe23947a.js} +39 -32
- package/dist/bundled/v2/{OrSearch-53470b0e.js → OrSearch-d1169241.js} +6 -9
- package/dist/bundled/v2/{OrSearch-832d7978.js → OrSearch-f7cfa52f.js} +4 -4
- package/dist/bundled/v2/{OrSegmentedControl-21cc914e.js → OrSegmentedControl-878279bf.js} +12 -22
- package/dist/bundled/v2/{OrSelect-02fb39f0.js → OrSelect-5634790b.js} +22 -30
- package/dist/bundled/v2/{OrSkeletonText-516993b4.js → OrSkeletonText-9a2f39dc.js} +11 -18
- package/dist/bundled/v2/{OrSortHeader-9932d28f.js → OrSortHeader-565ace92.js} +12 -20
- package/dist/bundled/v2/{OrSwitch-237a2081.js → OrSwitch-782d7b43.js} +40 -33
- package/dist/bundled/v2/{OrTab-dd949240.js → OrTab-8c5acf8a.js} +3 -6
- package/dist/bundled/v2/{OrTabs-42f7c52c.js → OrTabs-d69780fc.js} +12 -19
- package/dist/bundled/v2/{OrTag-30fecee5.js → OrTag-8d738be6.js} +4 -7
- package/dist/bundled/v2/{OrText-eac4b9f5.js → OrText-a665b991.js} +3 -6
- package/dist/bundled/v2/{OrTextarea-5593fbe9.js → OrTextarea-5c57c02b.js} +49 -37
- package/dist/bundled/v2/{OrTooltip-fbfa05fd.js → OrTooltip-b1f38647.js} +4 -7
- package/dist/bundled/v2/components/index.d.ts +1 -5
- package/dist/bundled/v2/components/index.js +53 -54
- package/dist/bundled/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-avatar-v3/index.js +2 -3
- 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 +2 -3
- package/dist/bundled/v2/components/or-button-v3/OrButton.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-button-v3/index.js +2 -3
- 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 +19 -18
- package/dist/bundled/v2/components/or-card-v3/OrCard.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-card-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +23 -18
- package/dist/bundled/v2/components/or-checkbox-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-confirm/index.js +2 -2
- package/dist/bundled/v2/components/or-confirm-v3/index.js +16 -15
- 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 +2 -3
- package/dist/bundled/v2/components/or-error-v3/OrError.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-error-v3/index.js +1 -2
- 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 +2 -3
- package/dist/bundled/v2/components/or-fab-v3/index.js +2 -3
- package/dist/bundled/v2/components/or-hint-v3/OrHint.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-hint-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-icon-button-v3/index.js +6 -7
- package/dist/bundled/v2/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-icon-v3/index.js +1 -2
- 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 +1 -2
- package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +38 -19
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +12 -11
- package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +38 -19
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +12 -11
- 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 +1 -2
- package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +45 -21
- package/dist/bundled/v2/components/or-input-v3/index.js +13 -12
- 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 +1 -2
- package/dist/bundled/v2/components/or-link-v3/OrLink.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-link-v3/index.js +1 -2
- 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 +1 -2
- 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 +2 -3
- package/dist/bundled/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-menu-v3/index.js +4 -5
- package/dist/bundled/v2/components/or-modal-v3/OrModal.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-modal-v3/index.js +7 -8
- package/dist/bundled/v2/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-notification-v3/index.js +7 -8
- package/dist/bundled/v2/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-overlay-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +2 -13
- package/dist/bundled/v2/components/or-pagination-v3/index.js +9 -10
- package/dist/bundled/v2/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-popover-v3/index.js +3 -4
- package/dist/bundled/v2/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-progress-v3/index.js +2 -3
- package/dist/bundled/v2/components/or-radio-v3/OrRadio.vue.d.ts +20 -15
- 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 +15 -14
- package/dist/bundled/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +5 -16
- package/dist/bundled/v2/components/or-segmented-control-v3/index.js +1 -2
- package/dist/{esm/v3/components/or-segmented-control-v3/components → bundled/v2/components/or-segmented-control-v3/partials}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +5 -16
- package/dist/bundled/v2/components/or-select-v3/index.js +18 -17
- 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 +2 -3
- package/dist/bundled/v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts +4 -15
- package/dist/bundled/v2/components/or-sort-header-v3/index.js +2 -3
- package/dist/bundled/v2/components/or-switch-v3/OrSwitch.vue.d.ts +23 -18
- 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 +1 -2
- package/dist/bundled/v2/components/or-tabs-v3/OrTabs.vue.d.ts +4 -15
- package/dist/bundled/v2/components/or-tabs-v3/index.js +8 -9
- package/dist/bundled/v2/components/or-tag-v3/OrTag.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-tag-v3/index.js +7 -8
- package/dist/bundled/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-text-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +47 -19
- package/dist/bundled/v2/components/or-textarea-v3/index.js +7 -6
- package/dist/bundled/v2/components/or-toast-v3/index.js +8 -9
- package/dist/bundled/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-tooltip-v3/index.js +4 -5
- package/dist/bundled/v2/hooks/index.d.ts +3 -1
- package/dist/bundled/v2/hooks/index.js +2 -1
- package/dist/bundled/v2/hooks/useControlAttributes.d.ts +8 -0
- package/dist/bundled/v2/hooks/useIdAttribute.d.ts +2 -0
- package/dist/bundled/v2/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/bundled/v2/index.js +52 -53
- package/dist/bundled/v2/{types-8fe4e345.js → types-79e5c18d.js} +2 -2
- package/dist/bundled/v2/useIdAttribute-cf61643f.js +22 -0
- package/dist/bundled/v2/useValidationAttributes-6df7bcf9.js +17 -0
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-0426862b.js → OrAvatar.vue_vue_type_script_lang-582e74ae.js} +3 -6
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-6fb49de9.js → OrBottomSheet.vue_vue_type_script_lang-bdef5ca2.js} +2 -4
- package/dist/bundled/v3/{OrButton-2b27c1fd.js → OrButton-a1448bfa.js} +7 -8
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-8c44986c.js → OrButton.vue_vue_type_script_lang-3b1e442b.js} +3 -6
- package/dist/bundled/v3/{OrCard.vue_vue_type_script_lang-165de137.js → OrCard.vue_vue_type_script_lang-b6685a34.js} +1 -4
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-2d78a51a.js → OrCardCollection.vue_vue_type_script_lang-60403ae6.js} +42 -46
- 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-8b36e06c.js → OrCheckbox.vue_vue_type_script_lang-fc067611.js} +31 -24
- 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-9d9a3917.js → OrConfirm.vue_vue_type_script_lang-9231d51e.js} +7 -6
- package/dist/bundled/v3/{OrError.vue_vue_type_script_lang-cc6c135f.js → OrError.vue_vue_type_script_lang-53648a65.js} +1 -4
- package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-4828c387.js → OrErrorTag.vue_vue_type_script_lang-e2fe7ca9.js} +3 -6
- package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-5360f580.js → OrExpansionPanel.vue_vue_type_script_lang-2cc8964c.js} +3 -6
- package/dist/bundled/v3/{OrFab.vue_vue_type_script_lang-2adeaed6.js → OrFab.vue_vue_type_script_lang-0fe4a921.js} +2 -3
- package/dist/bundled/v3/{OrHint-9592499e.js → OrHint-5d5e4d99.js} +13 -15
- package/dist/bundled/v3/{OrHint.vue_vue_type_script_lang-8e657168.js → OrHint.vue_vue_type_script_lang-e322f61e.js} +1 -4
- package/dist/bundled/v3/OrIcon-1a5c9091.js +12 -0
- package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-a119a715.js → OrIcon.vue_vue_type_script_lang-bdbaad94.js} +1 -4
- package/dist/bundled/v3/{OrIconButton-cd62526d.js → OrIconButton-428dd2cf.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-aefcf30d.js → OrIconButton.vue_vue_type_script_lang-ec6a3622.js} +10 -13
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-67218502.js → OrInlineInput.vue_vue_type_script_lang-ab296efc.js} +41 -33
- package/dist/bundled/v3/{OrInlineInputBox-9d68ded1.js → OrInlineInputBox-f92a09d6.js} +6 -7
- package/dist/bundled/v3/{OrInlineInputBox.vue_vue_type_script_lang-73750005.js → OrInlineInputBox.vue_vue_type_script_lang-b1ae1f3d.js} +1 -4
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a1831ab8.js → OrInlineTextarea.vue_vue_type_script_lang-3c3e1b4a.js} +41 -33
- package/dist/bundled/v3/{OrInput-a4f220ed.js → OrInput-2a7c6b57.js} +7 -7
- package/dist/bundled/v3/{OrInput-704e72ba.js → OrInput-7d4b571a.js} +193 -5
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-607d79d4.js → OrInput.vue_vue_type_script_lang-509de504.js} +44 -41
- package/dist/bundled/v3/{OrInputBox-eb54d73d.js → OrInputBox-4c7900c2.js} +6 -7
- package/dist/bundled/v3/{OrInputBox.vue_vue_type_script_lang-5ee4ee45.js → OrInputBox.vue_vue_type_script_lang-47d98e81.js} +1 -4
- package/dist/bundled/v3/{OrLabel-c6873e79.js → OrLabel-c556887e.js} +7 -8
- package/dist/bundled/v3/{OrLabel.vue_vue_type_script_lang-96f94c4e.js → OrLabel.vue_vue_type_script_lang-191d2304.js} +1 -4
- package/dist/bundled/v3/{OrLink.vue_vue_type_script_lang-9d3a32c7.js → OrLink.vue_vue_type_script_lang-05d4897b.js} +1 -4
- 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-c4bbef2f.js → OrLoader-123ef8c4.js} +7 -8
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-5405040c.js → OrLoader.vue_vue_type_script_lang-4c3c1ac9.js} +1 -4
- package/dist/bundled/v3/{OrMenu-f26e8e55.js → OrMenu-6d7abe97.js} +7 -8
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-2446a69a.js → OrMenu.vue_vue_type_script_lang-df35fd76.js} +3 -6
- package/dist/bundled/v3/{OrMenuItem-4feaba6c.js → OrMenuItem-807e2a49.js} +7 -8
- package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-0ffaef05.js → OrMenuItem.vue_vue_type_script_lang-2400ec2a.js} +3 -6
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-55c864d1.js → OrModal.vue_vue_type_script_lang-5a71a851.js} +5 -7
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-c886ae51.js → OrNotification.vue_vue_type_script_lang-6287244f.js} +5 -8
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-cb3aad0c.js → OrOverlay.vue_vue_type_script_lang-7edd25f6.js} +1 -3
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-c96d7cd7.js → OrPagination.vue_vue_type_script_lang-f64827ef.js} +17 -27
- package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-13bc5b00.js +390 -0
- package/dist/bundled/v3/{OrPopover-c462ce77.js → OrPopover-1a488f88.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-54c7b11c.js → OrPopover.vue_vue_type_script_lang-b1102c1a.js} +3 -5
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-a73c0acf.js → OrProgress.vue_vue_type_script_lang-52f660d6.js} +2 -5
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-2e666a56.js → OrRadio.vue_vue_type_script_lang-8dc0720c.js} +31 -24
- 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/{OrSearch.vue_vue_type_script_lang-06f318ca.js → OrSearch.vue_vue_type_script_lang-ab2ef22c.js} +5 -8
- package/dist/bundled/v3/{OrSegmentedControl.vue_vue_type_script_lang-579406f5.js → OrSegmentedControl.vue_vue_type_script_lang-38a00b68.js} +14 -25
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-83f15704.js → OrSelect.vue_vue_type_script_lang-54f683a2.js} +45 -54
- package/dist/bundled/v3/{OrSkeletonText.vue_vue_type_script_lang-577a1dc9.js → OrSkeletonText.vue_vue_type_script_lang-efcfbe21.js} +5 -12
- package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-75115125.js → OrSortHeader.vue_vue_type_script_lang-a20eae87.js} +11 -19
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-04829f64.js → OrSwitch.vue_vue_type_script_lang-31994be7.js} +33 -26
- package/dist/bundled/v3/{OrTab.vue_vue_type_script_lang-134ad9d1.js → OrTab.vue_vue_type_script_lang-f791efa0.js} +1 -4
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-61b79a5a.js → OrTabs.vue_vue_type_script_lang-cb550e87.js} +20 -28
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-3e30f662.js → OrTag.vue_vue_type_script_lang-cd3e040e.js} +3 -6
- package/dist/bundled/v3/{OrText.vue_vue_type_script_lang-d9525d49.js → OrText.vue_vue_type_script_lang-271fb345.js} +1 -4
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-8e3531cd.js → OrTextarea.vue_vue_type_script_lang-296da567.js} +45 -34
- package/dist/bundled/v3/{OrToastContainer-34389303.js → OrToastContainer-ad5ae5af.js} +1 -1
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-67cc86ed.js → OrTooltip.vue_vue_type_script_lang-bf9935ef.js} +3 -6
- package/dist/bundled/v3/components/index.d.ts +1 -5
- package/dist/bundled/v3/components/index.js +65 -67
- package/dist/bundled/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-avatar-v3/index.js +3 -4
- 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 +2 -3
- package/dist/bundled/v3/components/or-button-v3/OrButton.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-button-v3/index.js +3 -4
- 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 +30 -29
- package/dist/bundled/v3/components/or-card-v3/OrCard.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-card-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +23 -18
- package/dist/bundled/v3/components/or-checkbox-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-confirm/index.js +2 -3
- package/dist/bundled/v3/components/or-confirm-v3/index.js +25 -24
- 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 +3 -4
- package/dist/bundled/v3/components/or-error-v3/OrError.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-error-v3/index.js +1 -2
- 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 +3 -4
- package/dist/bundled/v3/components/or-fab-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-hint-v3/OrHint.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-hint-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-icon-button-v3/index.js +8 -9
- package/dist/bundled/v3/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-icon-v3/index.js +1 -2
- 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 +1 -2
- package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +38 -19
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +17 -16
- package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +38 -19
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +17 -16
- 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 +1 -2
- package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +45 -21
- package/dist/bundled/v3/components/or-input-v3/index.js +19 -18
- 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 +1 -2
- package/dist/bundled/v3/components/or-link-v3/OrLink.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-link-v3/index.js +1 -2
- 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 +1 -2
- 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 +3 -4
- package/dist/bundled/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-menu-v3/index.js +5 -6
- package/dist/bundled/v3/components/or-modal-v3/OrModal.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-modal-v3/index.js +10 -11
- package/dist/bundled/v3/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-notification-v3/index.js +10 -11
- package/dist/bundled/v3/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-overlay-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +2 -13
- package/dist/bundled/v3/components/or-pagination-v3/index.js +15 -16
- package/dist/bundled/v3/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-popover-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-progress-v3/index.js +2 -3
- package/dist/bundled/v3/components/or-radio-v3/OrRadio.vue.d.ts +20 -15
- 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 +22 -21
- package/dist/bundled/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +5 -16
- package/dist/bundled/v3/components/or-segmented-control-v3/index.js +1 -2
- package/dist/bundled/{v2/components/or-segmented-control-v3/components → v3/components/or-segmented-control-v3/partials}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +5 -16
- package/dist/bundled/v3/components/or-select-v3/index.js +26 -25
- 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 +2 -3
- package/dist/bundled/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +4 -15
- package/dist/bundled/v3/components/or-sort-header-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-switch-v3/OrSwitch.vue.d.ts +23 -18
- 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 +1 -2
- package/dist/bundled/v3/components/or-tabs-v3/OrTabs.vue.d.ts +4 -15
- package/dist/bundled/v3/components/or-tabs-v3/index.js +12 -13
- package/dist/bundled/v3/components/or-tag-v3/OrTag.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-tag-v3/index.js +10 -11
- package/dist/bundled/v3/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-text-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +47 -19
- package/dist/bundled/v3/components/or-textarea-v3/index.js +10 -9
- package/dist/bundled/v3/components/or-toast-v3/index.js +13 -14
- package/dist/bundled/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-tooltip-v3/index.js +5 -6
- package/dist/bundled/v3/hooks/index.d.ts +3 -1
- package/dist/bundled/v3/hooks/index.js +2 -1
- package/dist/bundled/v3/hooks/useControlAttributes.d.ts +8 -0
- package/dist/bundled/v3/hooks/useIdAttribute.d.ts +2 -0
- package/dist/bundled/v3/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/bundled/v3/index.js +815 -833
- package/dist/bundled/v3/{types-f53434f2.js → types-1d25bb9a.js} +5 -5
- package/dist/bundled/v3/useIdAttribute-b2e42f31.js +21 -0
- package/dist/bundled/v3/useValidationAttributes-5428d8fa.js +16 -0
- package/dist/esm/v2/{OrAvatar-3d155af3.js → OrAvatar-379ac72f.js} +4 -8
- package/dist/esm/v2/{OrBottomSheet-16c2e610.js → OrBottomSheet-37200385.js} +2 -4
- package/dist/esm/v2/{OrButton-835d4f11.js → OrButton-66964360.js} +4 -8
- package/dist/esm/v2/{OrCard-de799db0.js → OrCard-e89c44ef.js} +3 -7
- package/dist/esm/v2/{OrCardCollection-3c38fc85.js → OrCardCollection-bbdb6159.js} +11 -15
- package/dist/esm/v2/{OrCardCollection-19582949.js → OrCardCollection-f6b07557.js} +7 -6
- package/dist/esm/v2/{OrCheckbox-567e387c.js → OrCheckbox-b380c131.js} +41 -34
- package/dist/esm/v2/{OrConfirm-047d4086.js → OrConfirm-cfaf4266.js} +4 -3
- package/dist/esm/v2/{OrConfirm-ede619eb.js → OrConfirm-d7112dd3.js} +4 -4
- package/dist/esm/v2/{OrError-d267ee9a.js → OrError-13845bb0.js} +3 -7
- package/dist/esm/v2/{OrErrorTag-782dd714.js → OrErrorTag-80f82cdf.js} +4 -8
- package/dist/esm/v2/{OrExpansionPanel-a123024e.js → OrExpansionPanel-729eb1e7.js} +4 -8
- package/dist/esm/v2/{OrFab-26106618.js → OrFab-1d095e33.js} +3 -4
- package/dist/esm/v2/{OrHint-42dc9ebb.js → OrHint-78b399cb.js} +3 -7
- package/dist/esm/v2/{OrIcon-5e394c62.js → OrIcon-f34e0e6f.js} +3 -7
- package/dist/esm/v2/{OrIconButton-b3779042.js → OrIconButton-5fa56aec.js} +4 -7
- package/dist/esm/v2/{OrInlineInput-10205811.js → OrInlineInput-38645a8e.js} +47 -39
- package/dist/esm/v2/{OrInlineInputBox-fefd4fbd.js → OrInlineInputBox-46146af0.js} +3 -7
- package/dist/esm/v2/{OrInlineTextarea-7658611e.js → OrInlineTextarea-b49a7107.js} +43 -35
- package/dist/esm/v2/{OrInput-ada3a970.js → OrInput-e8fe9102.js} +53 -50
- package/dist/esm/v2/{OrInputBox-4d5a318d.js → OrInputBox-9ceb9fc4.js} +3 -7
- package/dist/esm/v2/{OrLabel-2a9f1477.js → OrLabel-0945a4d9.js} +3 -7
- package/dist/esm/v2/{OrLink-80742a17.js → OrLink-597e0e18.js} +3 -7
- package/dist/esm/v2/{OrListOfInputs-4298fa2c.js → OrListOfInputs-50aa1ef1.js} +5 -5
- package/dist/esm/v2/{OrLoader-f857d55b.js → OrLoader-76307488.js} +3 -7
- package/dist/esm/v2/{OrMenu-df27d0ef.js → OrMenu-c276db74.js} +4 -8
- package/dist/esm/v2/{OrMenuItem-c7f28480.js → OrMenuItem-7b7fbf8a.js} +4 -8
- package/dist/esm/v2/{OrModal-a7719843.js → OrModal-3b9d59de.js} +3 -6
- package/dist/esm/v2/{OrNotification-8a4830a3.js → OrNotification-5e145880.js} +5 -9
- package/dist/esm/v2/{OrOverlay-18ba2dc6.js → OrOverlay-a019186f.js} +1 -3
- package/dist/esm/v2/{OrPagination-c0dbec6a.js → OrPagination-1adbcadb.js} +16 -27
- package/dist/esm/v2/{OrTextarea-91a95068.js → OrPassword-1fa97156.js} +245 -187
- package/dist/esm/v2/{OrPopover-9bafbdb4.js → OrPopover-d5d4f62a.js} +2 -4
- package/dist/esm/v2/{OrProgress-c27c8946.js → OrProgress-b7d1c689.js} +4 -7
- package/dist/esm/v2/{OrRadio-848ce55d.js → OrRadio-87a4d226.js} +39 -32
- package/dist/esm/v2/{OrSearch-b4f4d59b.js → OrSearch-0589d17d.js} +5 -122
- package/dist/esm/v2/{OrSearch-0f08f2f5.js → OrSearch-4b774707.js} +6 -9
- package/dist/esm/v2/{OrInput-6e6cfd11.js → OrSearch.vue_rollup-plugin-vue_script-197d77fc.js} +492 -4
- package/dist/esm/v2/{OrSegmentedControl-e8dce8f9.js → OrSegmentedControl-7486115b.js} +12 -23
- package/dist/esm/v2/{OrSelect-f8837f5d.js → OrSelect-d7016575.js} +22 -30
- package/dist/esm/v2/{OrSkeletonText-950be6a2.js → OrSkeletonText-6ee72718.js} +11 -19
- package/dist/esm/v2/{OrSortHeader-19bf94ca.js → OrSortHeader-592727dc.js} +12 -21
- package/dist/esm/v2/{OrSwitch-13b6a7ee.js → OrSwitch-8549219a.js} +40 -33
- package/dist/esm/v2/{OrTab-702e7335.js → OrTab-1ff87c76.js} +3 -7
- package/dist/esm/v2/{OrTabs-71bd3fd2.js → OrTabs-96b0473d.js} +13 -20
- package/dist/esm/v2/{OrTag-5c404031.js → OrTag-765090df.js} +4 -8
- package/dist/esm/v2/{OrText-ba5a2b6c.js → OrText-b12d0682.js} +3 -7
- package/dist/esm/v2/{OrTextarea-6712a150.js → OrTextarea-a5a3572b.js} +49 -37
- package/dist/esm/v2/{OrTooltip-513bee30.js → OrTooltip-629d44fc.js} +4 -7
- package/dist/esm/v2/components/index.d.ts +1 -5
- package/dist/esm/v2/components/index.js +54 -55
- package/dist/esm/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-avatar-v3/index.js +2 -4
- 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 +2 -3
- package/dist/esm/v2/components/or-button-v3/OrButton.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-button-v3/index.js +2 -4
- 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 +20 -19
- package/dist/esm/v2/components/or-card-v3/OrCard.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-card-v3/index.js +1 -3
- package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +23 -18
- package/dist/esm/v2/components/or-checkbox-v3/index.js +3 -3
- package/dist/esm/v2/components/or-confirm/index.js +3 -2
- package/dist/esm/v2/components/or-confirm-v3/index.js +16 -15
- 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 +2 -4
- package/dist/esm/v2/components/or-error-v3/OrError.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-error-v3/index.js +1 -3
- 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 +2 -4
- package/dist/esm/v2/components/or-fab-v3/index.js +2 -4
- package/dist/esm/v2/components/or-hint-v3/OrHint.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-hint-v3/index.js +1 -3
- package/dist/esm/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-icon-button-v3/index.js +6 -7
- package/dist/esm/v2/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-icon-v3/index.js +1 -3
- 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 +1 -3
- package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +38 -19
- package/dist/esm/v2/components/or-inline-input-v3/index.js +12 -11
- package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +38 -19
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +12 -11
- 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 +1 -3
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +45 -21
- package/dist/esm/v2/components/or-input-v3/index.js +13 -12
- 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 +1 -3
- package/dist/esm/v2/components/or-link-v3/OrLink.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-link-v3/index.js +1 -3
- 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 +1 -3
- 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 +2 -4
- package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-menu-v3/index.js +5 -6
- package/dist/esm/v2/components/or-modal-v3/OrModal.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-modal-v3/index.js +8 -9
- package/dist/esm/v2/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-notification-v3/index.js +8 -9
- package/dist/esm/v2/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-overlay-v3/index.js +1 -2
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +2 -13
- package/dist/esm/v2/components/or-pagination-v3/index.js +10 -11
- package/dist/esm/v2/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-popover-v3/index.js +3 -4
- package/dist/esm/v2/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-progress-v3/index.js +2 -3
- package/dist/esm/v2/components/or-radio-v3/OrRadio.vue.d.ts +20 -15
- 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 +15 -14
- package/dist/esm/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +5 -16
- package/dist/esm/v2/components/or-segmented-control-v3/index.js +1 -3
- package/dist/{bundled/v3/components/or-segmented-control-v3/components → esm/v2/components/or-segmented-control-v3/partials}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +5 -16
- package/dist/esm/v2/components/or-select-v3/index.js +18 -17
- 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 +2 -4
- package/dist/esm/v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts +4 -15
- package/dist/esm/v2/components/or-sort-header-v3/index.js +2 -4
- package/dist/esm/v2/components/or-switch-v3/OrSwitch.vue.d.ts +23 -18
- 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 +1 -3
- package/dist/esm/v2/components/or-tabs-v3/OrTabs.vue.d.ts +4 -15
- package/dist/esm/v2/components/or-tabs-v3/index.js +8 -9
- package/dist/esm/v2/components/or-tag-v3/OrTag.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tag-v3/index.js +8 -9
- package/dist/esm/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-text-v3/index.js +1 -3
- package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +47 -19
- package/dist/esm/v2/components/or-textarea-v3/index.js +7 -6
- package/dist/esm/v2/components/or-toast-v3/index.js +8 -9
- package/dist/esm/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tooltip-v3/index.js +4 -5
- package/dist/esm/v2/hooks/index.d.ts +3 -1
- package/dist/esm/v2/hooks/index.js +2 -1
- package/dist/esm/v2/hooks/useControlAttributes.d.ts +8 -0
- package/dist/esm/v2/hooks/useIdAttribute.d.ts +2 -0
- package/dist/esm/v2/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/esm/v2/index.js +52 -53
- package/dist/esm/v2/{types-6c742e07.js → types-856a804f.js} +2 -2
- package/dist/esm/v2/useIdAttribute-859439f0.js +21 -0
- package/dist/esm/v2/useValidationAttributes-d1abbe34.js +16 -0
- package/dist/esm/v3/{OrAvatar-53a4429d.js → OrAvatar-6444e693.js} +8 -13
- package/dist/esm/v3/{OrBottomSheet-62817aec.js → OrBottomSheet-13a416ef.js} +2 -4
- package/dist/esm/v3/{OrButton-0fa67a0d.js → OrButton-c56998e7.js} +8 -13
- package/dist/esm/v3/{OrCard-fd92f7c8.js → OrCard-cd6af82e.js} +6 -11
- package/dist/esm/v3/{OrCardCollection-dbb3e839.js → OrCardCollection-47f61c40.js} +14 -19
- package/dist/esm/v3/{OrCardCollection-1e44c758.js → OrCardCollection-a5e326ef.js} +2 -2
- package/dist/esm/v3/{OrCheckbox-3e139eac.js → OrCheckbox-16c1e2f4.js} +40 -32
- package/dist/esm/v3/{OrConfirm-fee3c859.js → OrConfirm-e7cbf54c.js} +4 -3
- package/dist/esm/v3/{OrConfirm-c11ee2ec.js → OrConfirm-f39bd784.js} +1 -1
- package/dist/esm/v3/{OrError-ec8c709d.js → OrError-19198748.js} +7 -12
- package/dist/esm/v3/{OrErrorTag-98252eef.js → OrErrorTag-308119de.js} +8 -13
- package/dist/esm/v3/{OrExpansionPanel-f8d7ff8d.js → OrExpansionPanel-3a4282da.js} +8 -13
- package/dist/esm/v3/{OrFab-c8ae6e01.js → OrFab-61131b31.js} +7 -9
- package/dist/esm/v3/{OrHint-74bb732d.js → OrHint-6863124f.js} +7 -12
- package/dist/esm/v3/{OrIcon-b195169c.js → OrIcon-34f59f73.js} +6 -11
- package/dist/esm/v3/{OrIconButton-1a89fbf9.js → OrIconButton-e5781317.js} +4 -7
- package/dist/esm/v3/{OrInlineInput-507fc99c.js → OrInlineInput-09de432a.js} +41 -33
- package/dist/esm/v3/{OrInlineInputBox-8049f95a.js → OrInlineInputBox-09b33e18.js} +6 -11
- package/dist/esm/v3/{OrInlineTextarea-53a9e027.js → OrInlineTextarea-56328f22.js} +41 -33
- package/dist/esm/v3/{OrInput-9c0426b9.js → OrInput-6fb81556.js} +45 -42
- package/dist/esm/v3/{OrInputBox-6d1b6059.js → OrInputBox-e16ade90.js} +6 -11
- package/dist/esm/v3/{OrLabel-bdaec602.js → OrLabel-f700f9fb.js} +7 -12
- package/dist/esm/v3/{OrLink-338db3ca.js → OrLink-07f6f27d.js} +7 -12
- package/dist/esm/v3/{OrListOfInputs-508e056f.js → OrListOfInputs-7a67440f.js} +1 -1
- package/dist/esm/v3/{OrLoader-b3cf4231.js → OrLoader-a53d2edf.js} +7 -12
- package/dist/esm/v3/{OrMenu-840038cd.js → OrMenu-7f3ea117.js} +8 -13
- package/dist/esm/v3/{OrMenuItem-9da279f6.js → OrMenuItem-58707d47.js} +8 -13
- package/dist/esm/v3/{OrModal-7878cc39.js → OrModal-10838da7.js} +3 -6
- package/dist/esm/v3/{OrNotification-e1383681.js → OrNotification-25da89ca.js} +9 -14
- package/dist/esm/v3/{OrOverlay-738a44d5.js → OrOverlay-afad3aa4.js} +1 -3
- package/dist/esm/v3/{OrPagination-a703307d.js → OrPagination-da9e5017.js} +20 -32
- package/dist/esm/v3/{OrPopover-1075dd38.js → OrPopover-40217b49.js} +2 -4
- package/dist/esm/v3/{OrProgress-407002e0.js → OrProgress-639ed5e8.js} +8 -12
- package/dist/esm/v3/{OrRadio-54b6d0de.js → OrRadio-bb9b37c1.js} +37 -29
- package/dist/esm/v3/OrSearch-7cb2c91c.js +1075 -0
- package/dist/esm/v3/{OrSearch-9885d178.js → OrSearch-e15955a7.js} +9 -13
- package/dist/esm/v3/{OrSegmentedControl-171cad78.js → OrSegmentedControl-880b4911.js} +19 -32
- package/dist/esm/v3/{OrSelect-8fbd88bc.js → OrSelect-027b5e8f.js} +28 -37
- package/dist/esm/v3/{OrSkeletonText-3965ff71.js → OrSkeletonText-afd3d007.js} +22 -33
- package/dist/esm/v3/{OrSortHeader-fe1a9cf8.js → OrSortHeader-a39f77f9.js} +16 -26
- package/dist/esm/v3/{OrSwitch-cca30aa0.js → OrSwitch-1c2196da.js} +38 -31
- package/dist/esm/v3/{OrTab-c131cf60.js → OrTab-d3785ea4.js} +6 -11
- package/dist/esm/v3/{OrTabs-d0ee6cef.js → OrTabs-328d41b9.js} +13 -20
- package/dist/esm/v3/{OrTag-5d54f37d.js → OrTag-21ba5e15.js} +8 -13
- package/dist/esm/v3/{OrText-ecb46923.js → OrText-6b4f7cd1.js} +7 -12
- package/dist/esm/v3/{OrTextarea-bb9ef3f2.js → OrTextarea-37566985.js} +47 -35
- package/dist/esm/v3/{OrTooltip-50d27b4f.js → OrTooltip-b07616f4.js} +8 -12
- package/dist/esm/v3/components/index.d.ts +1 -5
- package/dist/esm/v3/components/index.js +52 -55
- package/dist/esm/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-avatar-v3/index.js +2 -4
- 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 +2 -3
- package/dist/esm/v3/components/or-button-v3/OrButton.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-button-v3/index.js +2 -4
- 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 +20 -19
- package/dist/esm/v3/components/or-card-v3/OrCard.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-card-v3/index.js +1 -3
- package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +23 -18
- package/dist/esm/v3/components/or-checkbox-v3/index.js +3 -3
- package/dist/esm/v3/components/or-confirm/index.js +3 -2
- package/dist/esm/v3/components/or-confirm-v3/index.js +16 -15
- 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 +2 -4
- package/dist/esm/v3/components/or-error-v3/OrError.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-error-v3/index.js +1 -3
- 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 +2 -4
- package/dist/esm/v3/components/or-fab-v3/index.js +2 -4
- package/dist/esm/v3/components/or-hint-v3/OrHint.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-hint-v3/index.js +1 -3
- package/dist/esm/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-icon-button-v3/index.js +6 -7
- package/dist/esm/v3/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-icon-v3/index.js +1 -3
- 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 +1 -3
- package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +38 -19
- package/dist/esm/v3/components/or-inline-input-v3/index.js +12 -11
- package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +38 -19
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +12 -11
- 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 +1 -3
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +45 -21
- package/dist/esm/v3/components/or-input-v3/index.js +13 -12
- 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 +1 -3
- package/dist/esm/v3/components/or-link-v3/OrLink.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-link-v3/index.js +1 -3
- 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 +1 -3
- 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 +2 -4
- package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-menu-v3/index.js +5 -6
- package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-modal-v3/index.js +8 -9
- package/dist/esm/v3/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-notification-v3/index.js +8 -9
- package/dist/esm/v3/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-overlay-v3/index.js +1 -2
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +2 -13
- package/dist/esm/v3/components/or-pagination-v3/index.js +10 -11
- package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-popover-v3/index.js +3 -4
- package/dist/esm/v3/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-progress-v3/index.js +2 -3
- package/dist/esm/v3/components/or-radio-v3/OrRadio.vue.d.ts +20 -15
- 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 +15 -14
- package/dist/esm/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +5 -16
- package/dist/esm/v3/components/or-segmented-control-v3/index.js +1 -3
- package/dist/esm/{v2/components/or-segmented-control-v3/components → v3/components/or-segmented-control-v3/partials}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +5 -16
- package/dist/esm/v3/components/or-select-v3/index.js +18 -17
- 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 +2 -4
- package/dist/esm/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +4 -15
- package/dist/esm/v3/components/or-sort-header-v3/index.js +2 -4
- package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +23 -18
- 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 +1 -3
- package/dist/esm/v3/components/or-tabs-v3/OrTabs.vue.d.ts +4 -15
- package/dist/esm/v3/components/or-tabs-v3/index.js +8 -9
- package/dist/esm/v3/components/or-tag-v3/OrTag.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-tag-v3/index.js +8 -9
- package/dist/esm/v3/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-text-v3/index.js +1 -3
- package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +47 -19
- package/dist/esm/v3/components/or-textarea-v3/index.js +7 -6
- package/dist/esm/v3/components/or-toast-v3/index.js +8 -9
- package/dist/esm/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-tooltip-v3/index.js +4 -5
- package/dist/esm/v3/hooks/index.d.ts +3 -1
- package/dist/esm/v3/hooks/index.js +2 -1
- package/dist/esm/v3/hooks/useControlAttributes.d.ts +8 -0
- package/dist/esm/v3/hooks/useIdAttribute.d.ts +2 -0
- package/dist/esm/v3/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/esm/v3/index.js +50 -53
- package/dist/esm/v3/{types-2692e337.js → types-7f17b4b2.js} +2 -2
- package/dist/esm/v3/useIdAttribute-859439f0.js +21 -0
- package/dist/esm/v3/useValidationAttributes-d1abbe34.js +16 -0
- package/package.json +3 -2
- package/src/components/index.ts +1 -5
- package/src/components/or-avatar-v3/OrAvatar.vue +3 -9
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +0 -4
- package/src/components/or-button-v3/OrButton.vue +0 -7
- package/src/components/or-card-collection/OrCardCollection.vue +8 -8
- package/src/components/or-card-collection-v3/OrCardCollection.vue +9 -17
- package/src/components/or-card-v3/OrCard.vue +0 -7
- package/src/components/or-checkbox-v3/OrCheckbox.stories3.ts +3 -10
- package/src/components/or-checkbox-v3/OrCheckbox.vue +34 -26
- package/src/components/or-confirm/OrConfirm.vue +1 -1
- package/src/components/or-confirm-v3/OrConfirm.vue +15 -5
- package/src/components/or-error-tag-v3/OrErrorTag.vue +0 -7
- package/src/components/or-error-v3/OrError.vue +0 -7
- package/src/components/or-expansion-panel-v3/OrExpansionPanel.vue +0 -7
- package/src/components/or-fab-v3/OrFab.vue +0 -3
- package/src/components/or-hint-v3/OrHint.vue +0 -7
- package/src/components/or-icon-button-v3/OrIconButton.vue +0 -4
- package/src/components/or-icon-v3/OrIcon.vue +0 -7
- package/src/components/or-inline-input-box-v3/OrInlineInputBox.vue +0 -7
- package/src/components/or-inline-input-v3/OrInlineInput.stories3.ts +0 -6
- package/src/components/or-inline-input-v3/OrInlineInput.vue +36 -27
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.stories3.ts +0 -6
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +36 -27
- package/src/components/or-input-box-v3/OrInputBox.vue +0 -7
- package/src/components/or-input-v3/OrInput.stories3.ts +4 -10
- package/src/components/or-input-v3/OrInput.vue +37 -34
- 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 +0 -7
- package/src/components/or-link-v3/OrLink.vue +0 -7
- 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 +1 -8
- package/src/components/or-menu-item-v3/OrMenuItem.vue +0 -7
- package/src/components/or-menu-v3/OrMenu.vue +0 -7
- package/src/components/or-modal/OrModal.stories.ts +1 -1
- package/src/components/or-modal-v3/OrModal.vue +0 -4
- package/src/components/or-notification-v3/OrNotification.vue +0 -7
- package/src/components/or-overlay-v3/OrOverlay.vue +1 -4
- package/src/components/or-pagination-v3/OrPagination.stories3.ts +0 -6
- package/src/components/or-pagination-v3/OrPagination.vue +9 -27
- package/src/components/or-popover-v3/OrPopover.vue +1 -4
- package/src/components/or-progress-v3/OrProgress.vue +3 -20
- package/src/components/or-radio-v3/OrRadio.stories3.ts +3 -10
- package/src/components/or-radio-v3/OrRadio.vue +33 -25
- package/src/components/or-search-v3/OrSearch.stories3.ts +0 -2
- package/src/components/or-search-v3/OrSearch.vue +1 -8
- package/src/components/or-segmented-control-v3/OrSegmentedControl.stories3.ts +0 -6
- package/src/components/or-segmented-control-v3/OrSegmentedControl.vue +6 -18
- package/src/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/OrSegmentedControlItem.vue +0 -7
- package/src/components/or-select-v3/OrSelect.stories3.ts +0 -6
- package/src/components/or-select-v3/OrSelect.vue +8 -18
- package/src/components/or-skeleton-v3/OrSkeletonCircle.vue +2 -8
- package/src/components/or-skeleton-v3/OrSkeletonRect.vue +3 -8
- package/src/components/or-skeleton-v3/OrSkeletonText.vue +5 -9
- package/src/components/or-sort-header-v3/OrSortHeader.stories3.ts +3 -10
- package/src/components/or-sort-header-v3/OrSortHeader.vue +8 -19
- package/src/components/or-switch-v3/OrSwitch.stories3.ts +3 -10
- package/src/components/or-switch-v3/OrSwitch.vue +33 -25
- package/src/components/or-tab-v3/OrTab.vue +0 -7
- package/src/components/or-tabs-v3/OrTabs.stories3.ts +0 -6
- package/src/components/or-tabs-v3/OrTabs.vue +7 -16
- package/src/components/or-tag-v3/OrTag.vue +0 -7
- package/src/components/or-text-v3/OrText.vue +0 -7
- package/src/components/or-textarea-v3/OrTextarea.stories3.ts +4 -10
- package/src/components/or-textarea-v3/OrTextarea.vue +41 -28
- package/src/components/or-tooltip-v3/OrTooltip.vue +0 -7
- package/src/hooks/index.ts +3 -1
- package/src/hooks/useControlAttributes.ts +19 -0
- package/src/hooks/useIdAttribute.ts +9 -0
- package/src/hooks/useValidationAttributes.ts +25 -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/useClassAttribute.d.ts +0 -3
- package/dist/bundled/v2/useClassAttribute-9bf33346.js +0 -33
- package/dist/bundled/v3/OrIcon-d878b768.js +0 -13
- 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/useClassAttribute.d.ts +0 -3
- package/dist/bundled/v3/useClassAttribute-00888f78.js +0 -9
- 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/useClassAttribute.d.ts +0 -3
- package/dist/esm/v2/useClassAttribute-47fdb016.js +0 -32
- 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/useClassAttribute.d.ts +0 -3
- package/dist/esm/v3/useClassAttribute-47fdb016.js +0 -32
- 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/useClassAttribute.ts +0 -39
- /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/{components → partials}/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/{components → partials}/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/{components → partials}/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/{components → partials}/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/{components → partials}/or-segmented-control-item/styles.ts +0 -0
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { O as OrIcon, I as IconSize } from './OrIcon-
|
|
3
|
-
import { O as OrTooltip } from './OrTooltip-
|
|
4
|
-
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
2
|
+
import { O as OrIcon, I as IconSize } from './OrIcon-458206aa.js';
|
|
3
|
+
import { O as OrTooltip } from './OrTooltip-b1f38647.js';
|
|
5
4
|
import { defineComponent, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
6
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
7
6
|
|
|
@@ -94,8 +93,7 @@ var script = defineComponent({
|
|
|
94
93
|
// Refs
|
|
95
94
|
const root = ref();
|
|
96
95
|
// Styles
|
|
97
|
-
const
|
|
98
|
-
const rootStyles = computed(() => ['or-icon-button', ...IconButtonRoot, ...IconButtonRootColors[props.color], classAttribute.value]);
|
|
96
|
+
const rootStyles = computed(() => ['or-icon-button', ...IconButtonRoot, ...IconButtonRootColors[props.color]]);
|
|
99
97
|
return {
|
|
100
98
|
root,
|
|
101
99
|
rootStyles
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { O as OrError } from './OrError-
|
|
3
|
-
import { O as OrHint } from './OrHint-
|
|
4
|
-
import { O as OrIconButton } from './OrIconButton-
|
|
5
|
-
import { O as OrInlineInputBox, I as InlineInputBoxSize } from './OrInlineInputBox-
|
|
6
|
-
import { u as
|
|
7
|
-
import {
|
|
2
|
+
import { O as OrError } from './OrError-52f668a4.js';
|
|
3
|
+
import { O as OrHint } from './OrHint-fde53334.js';
|
|
4
|
+
import { O as OrIconButton } from './OrIconButton-4bdd1566.js';
|
|
5
|
+
import { O as OrInlineInputBox, I as InlineInputBoxSize } from './OrInlineInputBox-7a8e645b.js';
|
|
6
|
+
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-cf61643f.js';
|
|
7
|
+
import { u as useValidationAttributes } from './useValidationAttributes-6df7bcf9.js';
|
|
8
|
+
import { defineComponent, ref, computed, reactive, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
8
9
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
9
10
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
10
11
|
|
|
@@ -50,16 +51,15 @@ var script = defineComponent({
|
|
|
50
51
|
OrIconButton,
|
|
51
52
|
OrInlineInputBox
|
|
52
53
|
},
|
|
53
|
-
|
|
54
|
+
model: {
|
|
55
|
+
prop: 'modelValue',
|
|
56
|
+
event: 'update:modelValue'
|
|
57
|
+
},
|
|
54
58
|
props: {
|
|
55
59
|
modelValue: {
|
|
56
60
|
type: [String, Number],
|
|
57
61
|
default: undefined
|
|
58
62
|
},
|
|
59
|
-
value: {
|
|
60
|
-
type: [String, Number],
|
|
61
|
-
default: undefined
|
|
62
|
-
},
|
|
63
63
|
saveOnBlur: {
|
|
64
64
|
type: Boolean,
|
|
65
65
|
default: false
|
|
@@ -85,39 +85,36 @@ var script = defineComponent({
|
|
|
85
85
|
default: undefined
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
|
-
emits: ['update:modelValue', '
|
|
89
|
-
expose: ['root'],
|
|
88
|
+
emits: ['update:modelValue', 'keydown', 'keyup', 'focus', 'blur'],
|
|
89
|
+
expose: ['root', 'focus', 'blur'],
|
|
90
90
|
setup(props, context) {
|
|
91
|
-
var _a;
|
|
92
|
-
const currentInstance = getCurrentInstance();
|
|
93
91
|
// Refs
|
|
94
92
|
const root = ref();
|
|
93
|
+
const control = ref();
|
|
95
94
|
// Styles
|
|
96
|
-
const
|
|
97
|
-
const rootStyles = computed(() => ['or-inline-input', ...InlineInputRoot, classAttribute.value]);
|
|
95
|
+
const rootStyles = computed(() => ['or-inline-input', ...InlineInputRoot]);
|
|
98
96
|
const controlStyles = computed(() => [...InlineInputControl]);
|
|
99
97
|
const actionStyles = computed(() => [...InlineInputAction, ...InlineInputActionSizes[props.size]]);
|
|
100
98
|
// State
|
|
101
|
-
const
|
|
99
|
+
const controlAttributes = reactive({
|
|
100
|
+
id: useIdAttribute(),
|
|
101
|
+
...useControlAttributes(),
|
|
102
|
+
...useValidationAttributes()
|
|
103
|
+
});
|
|
102
104
|
const proxyModelValue = computed({
|
|
103
|
-
get: () =>
|
|
104
|
-
var _a;
|
|
105
|
-
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
106
|
-
},
|
|
107
|
-
|
|
105
|
+
get: () => props.modelValue,
|
|
108
106
|
set: value => {
|
|
109
|
-
context.emit('input', value);
|
|
110
107
|
context.emit('update:modelValue', value);
|
|
111
108
|
}
|
|
112
109
|
});
|
|
113
110
|
const draftModelValue = ref('');
|
|
114
|
-
const activated = ref(false);
|
|
115
|
-
const invalid = computed(() => !!props.error);
|
|
116
111
|
const currentLength = computed(() => {
|
|
117
112
|
var _a, _b;
|
|
118
113
|
return (_b = (_a = draftModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
|
|
119
114
|
});
|
|
120
|
-
const maxLength = computed(() =>
|
|
115
|
+
const maxLength = computed(() => controlAttributes.maxlength);
|
|
116
|
+
const invalid = computed(() => !!props.error);
|
|
117
|
+
const activated = ref(false);
|
|
121
118
|
// Handlers
|
|
122
119
|
function onFocus(event) {
|
|
123
120
|
activated.value = true;
|
|
@@ -130,6 +127,14 @@ var script = defineComponent({
|
|
|
130
127
|
context.emit('blur', event);
|
|
131
128
|
}
|
|
132
129
|
// Methods
|
|
130
|
+
function focus() {
|
|
131
|
+
var _a;
|
|
132
|
+
(_a = control.value) === null || _a === void 0 ? void 0 : _a.focus();
|
|
133
|
+
}
|
|
134
|
+
function blur() {
|
|
135
|
+
var _a;
|
|
136
|
+
(_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
137
|
+
}
|
|
133
138
|
function apply() {
|
|
134
139
|
if (draftModelValue.value !== proxyModelValue.value) {
|
|
135
140
|
proxyModelValue.value = draftModelValue.value;
|
|
@@ -151,18 +156,21 @@ var script = defineComponent({
|
|
|
151
156
|
});
|
|
152
157
|
return {
|
|
153
158
|
root,
|
|
159
|
+
control,
|
|
154
160
|
rootStyles,
|
|
155
161
|
controlStyles,
|
|
156
162
|
actionStyles,
|
|
157
|
-
|
|
163
|
+
controlAttributes,
|
|
158
164
|
proxyModelValue,
|
|
159
165
|
draftModelValue,
|
|
160
|
-
activated,
|
|
161
|
-
invalid,
|
|
162
166
|
currentLength,
|
|
163
167
|
maxLength,
|
|
168
|
+
invalid,
|
|
169
|
+
activated,
|
|
164
170
|
onFocus,
|
|
165
171
|
onBlur,
|
|
172
|
+
focus,
|
|
173
|
+
blur,
|
|
166
174
|
apply,
|
|
167
175
|
reset
|
|
168
176
|
};
|
|
@@ -194,9 +202,9 @@ var __vue_render__ = function () {
|
|
|
194
202
|
value: _vm.draftModelValue,
|
|
195
203
|
expression: "draftModelValue"
|
|
196
204
|
}],
|
|
205
|
+
ref: "control",
|
|
197
206
|
class: _vm.controlStyles,
|
|
198
207
|
attrs: {
|
|
199
|
-
"id": _vm.controlId,
|
|
200
208
|
"placeholder": _vm.placeholder,
|
|
201
209
|
"activated": _vm.activated ? '' : null,
|
|
202
210
|
"type": "checkbox"
|
|
@@ -230,16 +238,16 @@ var __vue_render__ = function () {
|
|
|
230
238
|
}
|
|
231
239
|
}
|
|
232
240
|
}
|
|
233
|
-
}, 'input', _vm
|
|
241
|
+
}, 'input', _vm.controlAttributes, false)) : _vm.type === 'radio' ? _c('input', _vm._b({
|
|
234
242
|
directives: [{
|
|
235
243
|
name: "model",
|
|
236
244
|
rawName: "v-model",
|
|
237
245
|
value: _vm.draftModelValue,
|
|
238
246
|
expression: "draftModelValue"
|
|
239
247
|
}],
|
|
248
|
+
ref: "control",
|
|
240
249
|
class: _vm.controlStyles,
|
|
241
250
|
attrs: {
|
|
242
|
-
"id": _vm.controlId,
|
|
243
251
|
"placeholder": _vm.placeholder,
|
|
244
252
|
"activated": _vm.activated ? '' : null,
|
|
245
253
|
"type": "radio"
|
|
@@ -260,16 +268,16 @@ var __vue_render__ = function () {
|
|
|
260
268
|
_vm.draftModelValue = null;
|
|
261
269
|
}
|
|
262
270
|
}
|
|
263
|
-
}, 'input', _vm
|
|
271
|
+
}, 'input', _vm.controlAttributes, false)) : _c('input', _vm._b({
|
|
264
272
|
directives: [{
|
|
265
273
|
name: "model",
|
|
266
274
|
rawName: "v-model",
|
|
267
275
|
value: _vm.draftModelValue,
|
|
268
276
|
expression: "draftModelValue"
|
|
269
277
|
}],
|
|
278
|
+
ref: "control",
|
|
270
279
|
class: _vm.controlStyles,
|
|
271
280
|
attrs: {
|
|
272
|
-
"id": _vm.controlId,
|
|
273
281
|
"placeholder": _vm.placeholder,
|
|
274
282
|
"activated": _vm.activated ? '' : null,
|
|
275
283
|
"type": _vm.type
|
|
@@ -293,7 +301,7 @@ var __vue_render__ = function () {
|
|
|
293
301
|
_vm.draftModelValue = $event.target.value;
|
|
294
302
|
}
|
|
295
303
|
}
|
|
296
|
-
}, 'input', _vm
|
|
304
|
+
}, 'input', _vm.controlAttributes, false))]), _vm._v(" "), _vm.activated && !_vm.saveOnBlur ? [_c('div', {
|
|
297
305
|
class: _vm.actionStyles
|
|
298
306
|
}, [_c('OrIconButton', {
|
|
299
307
|
attrs: {
|
|
@@ -340,14 +348,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
340
348
|
/* style */
|
|
341
349
|
const __vue_inject_styles__ = function (inject) {
|
|
342
350
|
if (!inject) return;
|
|
343
|
-
inject("data-v-
|
|
344
|
-
source: "input[data-v-
|
|
351
|
+
inject("data-v-a3451ac6_0", {
|
|
352
|
+
source: "input[data-v-a3451ac6]{min-width:0;background:0 0;outline:0}input[type=number][data-v-a3451ac6]::-webkit-inner-spin-button{display:none}input[type=search][data-v-a3451ac6]::-webkit-search-cancel-button{display:none}",
|
|
345
353
|
map: undefined,
|
|
346
354
|
media: undefined
|
|
347
355
|
});
|
|
348
356
|
};
|
|
349
357
|
/* scoped */
|
|
350
|
-
const __vue_scope_id__ = "data-v-
|
|
358
|
+
const __vue_scope_id__ = "data-v-a3451ac6";
|
|
351
359
|
/* module identifier */
|
|
352
360
|
const __vue_module_identifier__ = undefined;
|
|
353
361
|
/* functional template */
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
3
2
|
import { defineComponent, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
4
3
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
4
|
|
|
@@ -33,7 +32,6 @@ const InlineInputBoxRootSizes = {
|
|
|
33
32
|
|
|
34
33
|
var script = defineComponent({
|
|
35
34
|
name: 'OrInlineInputBox',
|
|
36
|
-
inheritAttrs: false,
|
|
37
35
|
props: {
|
|
38
36
|
size: {
|
|
39
37
|
type: String,
|
|
@@ -49,8 +47,7 @@ var script = defineComponent({
|
|
|
49
47
|
// Refs
|
|
50
48
|
const root = ref();
|
|
51
49
|
// Styles
|
|
52
|
-
const
|
|
53
|
-
const rootStyles = computed(() => ['or-inline-input-box', ...InlineInputBoxRoot, ...InlineInputBoxRootSizes[props.size], classAttribute.value]);
|
|
50
|
+
const rootStyles = computed(() => ['or-inline-input-box', ...InlineInputBoxRoot, ...InlineInputBoxRootSizes[props.size]]);
|
|
54
51
|
return {
|
|
55
52
|
root,
|
|
56
53
|
rootStyles
|
|
@@ -66,13 +63,13 @@ var __vue_render__ = function () {
|
|
|
66
63
|
var _vm = this;
|
|
67
64
|
var _h = _vm.$createElement;
|
|
68
65
|
var _c = _vm._self._c || _h;
|
|
69
|
-
return _c('div',
|
|
66
|
+
return _c('div', {
|
|
70
67
|
ref: "root",
|
|
71
68
|
class: _vm.rootStyles,
|
|
72
69
|
attrs: {
|
|
73
70
|
"invalid": _vm.invalid ? '' : null
|
|
74
71
|
}
|
|
75
|
-
},
|
|
72
|
+
}, [_vm._t("default")], 2);
|
|
76
73
|
};
|
|
77
74
|
var __vue_staticRenderFns__ = [];
|
|
78
75
|
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { O as OrError } from './OrError-
|
|
3
|
-
import { O as OrHint } from './OrHint-
|
|
4
|
-
import { O as OrIconButton } from './OrIconButton-
|
|
5
|
-
import { O as OrInlineInputBox } from './OrInlineInputBox-
|
|
6
|
-
import { u as
|
|
7
|
-
import {
|
|
2
|
+
import { O as OrError } from './OrError-52f668a4.js';
|
|
3
|
+
import { O as OrHint } from './OrHint-fde53334.js';
|
|
4
|
+
import { O as OrIconButton } from './OrIconButton-4bdd1566.js';
|
|
5
|
+
import { O as OrInlineInputBox } from './OrInlineInputBox-7a8e645b.js';
|
|
6
|
+
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-cf61643f.js';
|
|
7
|
+
import { u as useValidationAttributes } from './useValidationAttributes-6df7bcf9.js';
|
|
8
|
+
import { defineComponent, ref, computed, reactive, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
8
9
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
9
10
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
10
11
|
|
|
@@ -36,16 +37,15 @@ var script = defineComponent({
|
|
|
36
37
|
OrIconButton,
|
|
37
38
|
OrInlineInputBox
|
|
38
39
|
},
|
|
39
|
-
|
|
40
|
+
model: {
|
|
41
|
+
prop: 'modelValue',
|
|
42
|
+
event: 'update:modelValue'
|
|
43
|
+
},
|
|
40
44
|
props: {
|
|
41
45
|
modelValue: {
|
|
42
46
|
type: String,
|
|
43
47
|
default: undefined
|
|
44
48
|
},
|
|
45
|
-
value: {
|
|
46
|
-
type: String,
|
|
47
|
-
default: undefined
|
|
48
|
-
},
|
|
49
49
|
saveOnBlur: {
|
|
50
50
|
type: Boolean,
|
|
51
51
|
default: false
|
|
@@ -63,39 +63,36 @@ var script = defineComponent({
|
|
|
63
63
|
default: undefined
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
|
-
emits: ['update:modelValue', '
|
|
67
|
-
expose: ['root'],
|
|
66
|
+
emits: ['update:modelValue', 'keydown', 'keyup', 'focus', 'blur'],
|
|
67
|
+
expose: ['root', 'focus', 'blur'],
|
|
68
68
|
setup(props, context) {
|
|
69
|
-
var _a;
|
|
70
|
-
const currentInstance = getCurrentInstance();
|
|
71
69
|
// Refs
|
|
72
70
|
const root = ref();
|
|
71
|
+
const control = ref();
|
|
73
72
|
// Styles
|
|
74
|
-
const
|
|
75
|
-
const rootStyles = computed(() => ['or-inline-textarea', ...InlineTextareaRoot, classAttribute.value]);
|
|
73
|
+
const rootStyles = computed(() => ['or-inline-textarea', ...InlineTextareaRoot]);
|
|
76
74
|
const controlStyles = computed(() => [...InlineTextareaControl]);
|
|
77
75
|
const actionStyles = computed(() => [...InlineTextareaAction]);
|
|
78
76
|
// State
|
|
79
|
-
const
|
|
77
|
+
const controlAttributes = reactive({
|
|
78
|
+
id: useIdAttribute(),
|
|
79
|
+
...useControlAttributes(),
|
|
80
|
+
...useValidationAttributes()
|
|
81
|
+
});
|
|
80
82
|
const proxyModelValue = computed({
|
|
81
|
-
get: () =>
|
|
82
|
-
var _a;
|
|
83
|
-
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
84
|
-
},
|
|
85
|
-
|
|
83
|
+
get: () => props.modelValue,
|
|
86
84
|
set: value => {
|
|
87
|
-
context.emit('input', value);
|
|
88
85
|
context.emit('update:modelValue', value);
|
|
89
86
|
}
|
|
90
87
|
});
|
|
91
88
|
const draftModelValue = ref('');
|
|
92
|
-
const activated = ref(false);
|
|
93
|
-
const invalid = computed(() => !!props.error);
|
|
94
89
|
const currentLength = computed(() => {
|
|
95
90
|
var _a, _b;
|
|
96
91
|
return (_b = (_a = draftModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
|
|
97
92
|
});
|
|
98
|
-
const maxLength = computed(() =>
|
|
93
|
+
const maxLength = computed(() => controlAttributes.maxlength);
|
|
94
|
+
const invalid = computed(() => !!props.error);
|
|
95
|
+
const activated = ref(false);
|
|
99
96
|
// Handlers
|
|
100
97
|
function onFocus(event) {
|
|
101
98
|
activated.value = true;
|
|
@@ -108,6 +105,14 @@ var script = defineComponent({
|
|
|
108
105
|
context.emit('blur', event);
|
|
109
106
|
}
|
|
110
107
|
// Methods
|
|
108
|
+
function focus() {
|
|
109
|
+
var _a;
|
|
110
|
+
(_a = control.value) === null || _a === void 0 ? void 0 : _a.focus();
|
|
111
|
+
}
|
|
112
|
+
function blur() {
|
|
113
|
+
var _a;
|
|
114
|
+
(_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
115
|
+
}
|
|
111
116
|
function apply() {
|
|
112
117
|
if (draftModelValue.value !== proxyModelValue.value) {
|
|
113
118
|
proxyModelValue.value = draftModelValue.value;
|
|
@@ -129,18 +134,21 @@ var script = defineComponent({
|
|
|
129
134
|
});
|
|
130
135
|
return {
|
|
131
136
|
root,
|
|
137
|
+
control,
|
|
132
138
|
rootStyles,
|
|
133
139
|
controlStyles,
|
|
134
140
|
actionStyles,
|
|
135
|
-
|
|
141
|
+
controlAttributes,
|
|
136
142
|
proxyModelValue,
|
|
137
143
|
draftModelValue,
|
|
138
|
-
activated,
|
|
139
|
-
invalid,
|
|
140
144
|
currentLength,
|
|
141
145
|
maxLength,
|
|
146
|
+
invalid,
|
|
147
|
+
activated,
|
|
142
148
|
onFocus,
|
|
143
149
|
onBlur,
|
|
150
|
+
focus,
|
|
151
|
+
blur,
|
|
144
152
|
apply,
|
|
145
153
|
reset
|
|
146
154
|
};
|
|
@@ -172,9 +180,9 @@ var __vue_render__ = function () {
|
|
|
172
180
|
value: _vm.draftModelValue,
|
|
173
181
|
expression: "draftModelValue"
|
|
174
182
|
}],
|
|
183
|
+
ref: "control",
|
|
175
184
|
class: _vm.controlStyles,
|
|
176
185
|
attrs: {
|
|
177
|
-
"id": _vm.controlId,
|
|
178
186
|
"placeholder": _vm.placeholder,
|
|
179
187
|
"activated": _vm.activated ? '' : null
|
|
180
188
|
},
|
|
@@ -197,7 +205,7 @@ var __vue_render__ = function () {
|
|
|
197
205
|
_vm.draftModelValue = $event.target.value;
|
|
198
206
|
}
|
|
199
207
|
}
|
|
200
|
-
}, 'textarea', _vm
|
|
208
|
+
}, 'textarea', _vm.controlAttributes, false))]), _vm._v(" "), _vm.activated && !_vm.saveOnBlur ? [_c('div', {
|
|
201
209
|
class: _vm.actionStyles
|
|
202
210
|
}, [_c('OrIconButton', {
|
|
203
211
|
attrs: {
|
|
@@ -244,14 +252,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
244
252
|
/* style */
|
|
245
253
|
const __vue_inject_styles__ = function (inject) {
|
|
246
254
|
if (!inject) return;
|
|
247
|
-
inject("data-v-
|
|
248
|
-
source: "textarea[data-v-
|
|
255
|
+
inject("data-v-03ea829d_0", {
|
|
256
|
+
source: "textarea[data-v-03ea829d]{min-width:0;background:0 0;outline:0}",
|
|
249
257
|
map: undefined,
|
|
250
258
|
media: undefined
|
|
251
259
|
});
|
|
252
260
|
};
|
|
253
261
|
/* scoped */
|
|
254
|
-
const __vue_scope_id__ = "data-v-
|
|
262
|
+
const __vue_scope_id__ = "data-v-03ea829d";
|
|
255
263
|
/* module identifier */
|
|
256
264
|
const __vue_module_identifier__ = undefined;
|
|
257
265
|
/* functional template */
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { O as OrError } from './OrError-
|
|
3
|
-
import { O as OrHint } from './OrHint-
|
|
4
|
-
import { O as OrIcon } from './OrIcon-
|
|
5
|
-
import { O as OrIconButton } from './OrIconButton-
|
|
6
|
-
import { O as OrInputBox, a as InputBoxSize } from './OrInputBox-
|
|
7
|
-
import { O as OrLabel } from './OrLabel-
|
|
8
|
-
import { u as
|
|
9
|
-
import {
|
|
2
|
+
import { O as OrError } from './OrError-52f668a4.js';
|
|
3
|
+
import { O as OrHint } from './OrHint-fde53334.js';
|
|
4
|
+
import { O as OrIcon } from './OrIcon-458206aa.js';
|
|
5
|
+
import { O as OrIconButton } from './OrIconButton-4bdd1566.js';
|
|
6
|
+
import { O as OrInputBox, a as InputBoxSize } from './OrInputBox-2f559e98.js';
|
|
7
|
+
import { O as OrLabel } from './OrLabel-aff09c39.js';
|
|
8
|
+
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-cf61643f.js';
|
|
9
|
+
import { u as useValidationAttributes } from './useValidationAttributes-6df7bcf9.js';
|
|
10
|
+
import { defineComponent, ref, computed, reactive } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
10
11
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
11
12
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
12
13
|
|
|
@@ -41,16 +42,15 @@ var script = defineComponent({
|
|
|
41
42
|
OrInputBox,
|
|
42
43
|
OrLabel
|
|
43
44
|
},
|
|
44
|
-
|
|
45
|
+
model: {
|
|
46
|
+
prop: 'modelValue',
|
|
47
|
+
event: 'update:modelValue'
|
|
48
|
+
},
|
|
45
49
|
props: {
|
|
46
50
|
modelValue: {
|
|
47
51
|
type: [String, Number],
|
|
48
52
|
default: undefined
|
|
49
53
|
},
|
|
50
|
-
value: {
|
|
51
|
-
type: [String, Number],
|
|
52
|
-
default: undefined
|
|
53
|
-
},
|
|
54
54
|
type: {
|
|
55
55
|
type: String,
|
|
56
56
|
default: InputType.Text
|
|
@@ -79,6 +79,10 @@ var script = defineComponent({
|
|
|
79
79
|
type: Boolean,
|
|
80
80
|
default: false
|
|
81
81
|
},
|
|
82
|
+
readonly: {
|
|
83
|
+
type: Boolean,
|
|
84
|
+
default: false
|
|
85
|
+
},
|
|
82
86
|
disabled: {
|
|
83
87
|
type: Boolean,
|
|
84
88
|
default: false
|
|
@@ -88,57 +92,56 @@ var script = defineComponent({
|
|
|
88
92
|
default: false
|
|
89
93
|
}
|
|
90
94
|
},
|
|
91
|
-
emits: ['update:modelValue', '
|
|
92
|
-
expose: ['root', 'focus'],
|
|
95
|
+
emits: ['update:modelValue', 'keydown', 'keyup', 'focus', 'blur'],
|
|
96
|
+
expose: ['root', 'focus', 'blur'],
|
|
93
97
|
setup(props, context) {
|
|
94
|
-
var _a;
|
|
95
|
-
const currentInstance = getCurrentInstance();
|
|
96
98
|
// Refs
|
|
97
99
|
const root = ref();
|
|
98
|
-
const
|
|
100
|
+
const control = ref();
|
|
99
101
|
// Styles
|
|
100
|
-
const
|
|
101
|
-
const rootStyles = computed(() => ['or-input', ...InputRoot, classAttribute.value]);
|
|
102
|
+
const rootStyles = computed(() => ['or-input', ...InputRoot]);
|
|
102
103
|
const controlStyles = computed(() => [...InputControl]);
|
|
103
104
|
// State
|
|
104
|
-
const
|
|
105
|
+
const controlAttributes = reactive({
|
|
106
|
+
id: useIdAttribute(),
|
|
107
|
+
...useControlAttributes(),
|
|
108
|
+
...useValidationAttributes()
|
|
109
|
+
});
|
|
105
110
|
const proxyModelValue = computed({
|
|
106
|
-
get: () =>
|
|
107
|
-
var _a;
|
|
108
|
-
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
109
|
-
},
|
|
110
|
-
|
|
111
|
+
get: () => props.modelValue,
|
|
111
112
|
set: value => {
|
|
112
|
-
context.emit('input', value);
|
|
113
113
|
context.emit('update:modelValue', value);
|
|
114
114
|
}
|
|
115
115
|
});
|
|
116
|
-
const invalid = computed(() => !!props.error);
|
|
117
|
-
const readonly = computed(() => context.attrs.readonly);
|
|
118
116
|
const currentLength = computed(() => {
|
|
119
117
|
var _a, _b;
|
|
120
118
|
return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
|
|
121
119
|
});
|
|
122
|
-
const maxLength = computed(() =>
|
|
120
|
+
const maxLength = computed(() => controlAttributes.maxlength);
|
|
121
|
+
const invalid = computed(() => !!props.error);
|
|
123
122
|
const disclosed = ref(false);
|
|
124
123
|
// Methods
|
|
125
124
|
function focus() {
|
|
126
125
|
var _a;
|
|
127
|
-
(_a =
|
|
126
|
+
(_a = control.value) === null || _a === void 0 ? void 0 : _a.focus();
|
|
127
|
+
}
|
|
128
|
+
function blur() {
|
|
129
|
+
var _a;
|
|
130
|
+
(_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
128
131
|
}
|
|
129
132
|
return {
|
|
130
133
|
root,
|
|
131
|
-
|
|
134
|
+
control,
|
|
132
135
|
rootStyles,
|
|
133
136
|
controlStyles,
|
|
134
|
-
|
|
137
|
+
controlAttributes,
|
|
135
138
|
proxyModelValue,
|
|
136
|
-
invalid,
|
|
137
|
-
readonly,
|
|
138
139
|
currentLength,
|
|
139
140
|
maxLength,
|
|
141
|
+
invalid,
|
|
140
142
|
disclosed,
|
|
141
|
-
focus
|
|
143
|
+
focus,
|
|
144
|
+
blur
|
|
142
145
|
};
|
|
143
146
|
}
|
|
144
147
|
});
|
|
@@ -156,7 +159,7 @@ var __vue_render__ = function () {
|
|
|
156
159
|
class: _vm.rootStyles
|
|
157
160
|
}, [_vm.label ? [_c('OrLabel', {
|
|
158
161
|
attrs: {
|
|
159
|
-
"control-id": _vm.
|
|
162
|
+
"control-id": _vm.controlAttributes.id,
|
|
160
163
|
"variant": 'input',
|
|
161
164
|
"required": _vm.required,
|
|
162
165
|
"disabled": _vm.disabled
|
|
@@ -183,12 +186,12 @@ var __vue_render__ = function () {
|
|
|
183
186
|
value: _vm.proxyModelValue,
|
|
184
187
|
expression: "proxyModelValue"
|
|
185
188
|
}],
|
|
186
|
-
ref: "
|
|
189
|
+
ref: "control",
|
|
187
190
|
class: _vm.controlStyles,
|
|
188
191
|
attrs: {
|
|
189
|
-
"id": _vm.controlId,
|
|
190
192
|
"placeholder": _vm.placeholder,
|
|
191
193
|
"required": _vm.required,
|
|
194
|
+
"readonly": _vm.readonly,
|
|
192
195
|
"disabled": _vm.disabled,
|
|
193
196
|
"type": "checkbox"
|
|
194
197
|
},
|
|
@@ -225,19 +228,19 @@ var __vue_render__ = function () {
|
|
|
225
228
|
}
|
|
226
229
|
}
|
|
227
230
|
}
|
|
228
|
-
}, 'input', _vm
|
|
231
|
+
}, 'input', _vm.controlAttributes, false)) : (_vm.type === 'password' && _vm.disclosed ? 'text' : _vm.type) === 'radio' ? _c('input', _vm._b({
|
|
229
232
|
directives: [{
|
|
230
233
|
name: "model",
|
|
231
234
|
rawName: "v-model",
|
|
232
235
|
value: _vm.proxyModelValue,
|
|
233
236
|
expression: "proxyModelValue"
|
|
234
237
|
}],
|
|
235
|
-
ref: "
|
|
238
|
+
ref: "control",
|
|
236
239
|
class: _vm.controlStyles,
|
|
237
240
|
attrs: {
|
|
238
|
-
"id": _vm.controlId,
|
|
239
241
|
"placeholder": _vm.placeholder,
|
|
240
242
|
"required": _vm.required,
|
|
243
|
+
"readonly": _vm.readonly,
|
|
241
244
|
"disabled": _vm.disabled,
|
|
242
245
|
"type": "radio"
|
|
243
246
|
},
|
|
@@ -261,19 +264,19 @@ var __vue_render__ = function () {
|
|
|
261
264
|
_vm.proxyModelValue = null;
|
|
262
265
|
}
|
|
263
266
|
}
|
|
264
|
-
}, 'input', _vm
|
|
267
|
+
}, 'input', _vm.controlAttributes, false)) : _c('input', _vm._b({
|
|
265
268
|
directives: [{
|
|
266
269
|
name: "model",
|
|
267
270
|
rawName: "v-model",
|
|
268
271
|
value: _vm.proxyModelValue,
|
|
269
272
|
expression: "proxyModelValue"
|
|
270
273
|
}],
|
|
271
|
-
ref: "
|
|
274
|
+
ref: "control",
|
|
272
275
|
class: _vm.controlStyles,
|
|
273
276
|
attrs: {
|
|
274
|
-
"id": _vm.controlId,
|
|
275
277
|
"placeholder": _vm.placeholder,
|
|
276
278
|
"required": _vm.required,
|
|
279
|
+
"readonly": _vm.readonly,
|
|
277
280
|
"disabled": _vm.disabled,
|
|
278
281
|
"type": _vm.type === 'password' && _vm.disclosed ? 'text' : _vm.type
|
|
279
282
|
},
|
|
@@ -300,7 +303,7 @@ var __vue_render__ = function () {
|
|
|
300
303
|
_vm.proxyModelValue = $event.target.value;
|
|
301
304
|
}
|
|
302
305
|
}
|
|
303
|
-
}, 'input', _vm
|
|
306
|
+
}, 'input', _vm.controlAttributes, false)), _vm._v(" "), _c('div', {
|
|
304
307
|
class: ['layout-row']
|
|
305
308
|
}, [_vm.type === 'password' ? [_c('OrIconButton', {
|
|
306
309
|
attrs: {
|
|
@@ -321,7 +324,7 @@ var __vue_render__ = function () {
|
|
|
321
324
|
attrs: {
|
|
322
325
|
"icon": 'close',
|
|
323
326
|
"color": 'inherit',
|
|
324
|
-
"disabled": _vm.disabled
|
|
327
|
+
"disabled": _vm.readonly || _vm.disabled
|
|
325
328
|
},
|
|
326
329
|
on: {
|
|
327
330
|
"click": function ($event) {
|
|
@@ -363,14 +366,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
363
366
|
/* style */
|
|
364
367
|
const __vue_inject_styles__ = function (inject) {
|
|
365
368
|
if (!inject) return;
|
|
366
|
-
inject("data-v-
|
|
367
|
-
source: "input[data-v-
|
|
369
|
+
inject("data-v-1243ae22_0", {
|
|
370
|
+
source: "input[data-v-1243ae22]{min-width:0;background:0 0;outline:0}input[type=number][data-v-1243ae22]::-webkit-inner-spin-button{display:none}input[type=search][data-v-1243ae22]::-webkit-search-cancel-button{display:none}",
|
|
368
371
|
map: undefined,
|
|
369
372
|
media: undefined
|
|
370
373
|
});
|
|
371
374
|
};
|
|
372
375
|
/* scoped */
|
|
373
|
-
const __vue_scope_id__ = "data-v-
|
|
376
|
+
const __vue_scope_id__ = "data-v-1243ae22";
|
|
374
377
|
/* module identifier */
|
|
375
378
|
const __vue_module_identifier__ = undefined;
|
|
376
379
|
/* functional template */
|