@onereach/ui-components 2.72.0-beta.2234.0 → 2.72.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.
Files changed (825) hide show
  1. package/dist/bundled/v2/{OrAvatar-ae61bfb9.js → OrAvatar-586e417b.js} +4 -7
  2. package/dist/bundled/v2/{OrBottomSheet-1cd1ab4c.js → OrBottomSheet-ddba20c1.js} +2 -4
  3. package/dist/bundled/v2/{OrButton-a846fa7e.js → OrButton-d45772c1.js} +4 -7
  4. package/dist/bundled/v2/{OrCard-29116e1f.js → OrCard-45d5869b.js} +3 -6
  5. package/dist/bundled/v2/{OrCardCollection-0141a358.js → OrCardCollection-06ecb8e1.js} +9 -12
  6. package/dist/bundled/v2/{OrCardCollection-89428bbf.js → OrCardCollection-166cfcc6.js} +5 -5
  7. package/dist/bundled/v2/{OrCheckbox-dbef9f9a.js → OrCheckbox-9be450f9.js} +41 -34
  8. package/dist/bundled/v2/{OrCode-ad3edffd.js → OrCode-fc6876ec.js} +11 -183
  9. package/dist/bundled/v2/{OrConfirm-56d01cff.js → OrConfirm-55b89b17.js} +4 -4
  10. package/dist/bundled/v2/{OrConfirm-057e997e.js → OrConfirm-8c0e957d.js} +4 -3
  11. package/dist/bundled/v2/{OrError-aad17598.js → OrError-52f668a4.js} +3 -6
  12. package/dist/bundled/v2/{OrErrorTag-d0c5bcf4.js → OrErrorTag-97a9112b.js} +4 -7
  13. package/dist/bundled/v2/{OrExpansionPanel-d9a260e2.js → OrExpansionPanel-96b8f568.js} +4 -7
  14. package/dist/bundled/v2/{OrFab-7cc75893.js → OrFab-ed69dee1.js} +3 -4
  15. package/dist/bundled/v2/{OrHint-f38a1940.js → OrHint-fde53334.js} +3 -6
  16. package/dist/bundled/v2/{OrIcon-8625385f.js → OrIcon-458206aa.js} +3 -6
  17. package/dist/bundled/v2/{OrIconButton-a2ba92df.js → OrIconButton-837d57f8.js} +13 -8
  18. package/dist/bundled/v2/{OrInlineInput-87589946.js → OrInlineInput-57fccb41.js} +47 -39
  19. package/dist/bundled/v2/{OrInlineInputBox-f457210f.js → OrInlineInputBox-7a8e645b.js} +3 -6
  20. package/dist/bundled/v2/{OrInlineTextarea-21b0e6fc.js → OrInlineTextarea-f8b86cf7.js} +43 -35
  21. package/dist/bundled/v2/{OrInput-82ccfe00.js → OrInput-00070eee.js} +53 -50
  22. package/dist/bundled/v2/{OrInputBox-79ec54ad.js → OrInputBox-2f559e98.js} +3 -6
  23. package/dist/bundled/v2/{OrLabel-172c4b89.js → OrLabel-aff09c39.js} +3 -6
  24. package/dist/bundled/v2/{OrLink-e7b57307.js → OrLink-0d952e87.js} +3 -6
  25. package/dist/bundled/v2/{OrListOfInputs-8f076650.js → OrListOfInputs-ab7f9d97.js} +4 -4
  26. package/dist/bundled/v2/{OrLoader-6a1f937b.js → OrLoader-864ef92a.js} +3 -6
  27. package/dist/bundled/v2/{OrMenu-fa47c888.js → OrMenu-52da43bc.js} +4 -7
  28. package/dist/bundled/v2/{OrMenuItem-26420908.js → OrMenuItem-e2693a5f.js} +4 -7
  29. package/dist/bundled/v2/{OrModal-af6677fd.js → OrModal-78f5d49e.js} +3 -5
  30. package/dist/bundled/v2/{OrNotification-2e2a1941.js → OrNotification-3909aaf2.js} +3 -3
  31. package/dist/bundled/v2/{OrNotification-3250f58b.js → OrNotification-458fe937.js} +5 -8
  32. package/dist/bundled/v2/OrNumberInput-face8ccc.js +227 -0
  33. package/dist/bundled/v2/{OrOverlay-3c89d622.js → OrOverlay-efa7992e.js} +1 -3
  34. package/dist/bundled/v2/{OrPagination-379c10b8.js → OrPagination-daf25de2.js} +15 -25
  35. package/dist/bundled/v2/OrPassword-a818e7b5.js +227 -0
  36. package/dist/bundled/v2/{OrPopover-5dc240f1.js → OrPopover-4e8acb7b.js} +2 -4
  37. package/dist/bundled/v2/{OrProgress-cc397a38.js → OrProgress-15fe65ec.js} +4 -7
  38. package/dist/bundled/v2/{OrRadio-cd39b20b.js → OrRadio-fe23947a.js} +39 -32
  39. package/dist/bundled/v2/{OrSearch-f7cfa52f.js → OrSearch-832d7978.js} +4 -4
  40. package/dist/bundled/v2/{OrSearch-53470b0e.js → OrSearch-bb87b34c.js} +6 -9
  41. package/dist/bundled/v2/{OrSegmentedControl-21cc914e.js → OrSegmentedControl-878279bf.js} +12 -22
  42. package/dist/bundled/v2/{OrSelect-02fb39f0.js → OrSelect-2ececfc1.js} +22 -30
  43. package/dist/bundled/v2/{OrSkeletonText-2f1a3cc7.js → OrSkeletonText-242d22f3.js} +3 -3
  44. package/dist/bundled/v2/{OrSkeletonText-516993b4.js → OrSkeletonText-9a2f39dc.js} +11 -18
  45. package/dist/bundled/v2/{OrSortHeader-9932d28f.js → OrSortHeader-565ace92.js} +12 -20
  46. package/dist/bundled/v2/{OrSwitch-237a2081.js → OrSwitch-782d7b43.js} +40 -33
  47. package/dist/bundled/v2/{OrTab-dd949240.js → OrTab-8c5acf8a.js} +3 -6
  48. package/dist/bundled/v2/{OrTabs-42f7c52c.js → OrTabs-d69780fc.js} +12 -19
  49. package/dist/bundled/v2/{OrTag-30fecee5.js → OrTag-4085e8a7.js} +4 -7
  50. package/dist/bundled/v2/{OrText-eac4b9f5.js → OrText-a665b991.js} +3 -6
  51. package/dist/bundled/v2/{OrTextarea-5593fbe9.js → OrTextarea-5c57c02b.js} +49 -37
  52. package/dist/bundled/v2/{OrPassword-7da938aa.js → OrTextarea-71ff236d.js} +7 -449
  53. package/dist/bundled/v2/{OrTooltip-fbfa05fd.js → OrTooltip-b1f38647.js} +4 -7
  54. package/dist/bundled/v2/components/index.d.ts +5 -1
  55. package/dist/bundled/v2/components/index.js +58 -55
  56. package/dist/bundled/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
  57. package/dist/bundled/v2/components/or-avatar-v3/index.js +2 -3
  58. package/dist/bundled/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
  59. package/dist/bundled/v2/components/or-bottom-sheet-v3/index.js +2 -3
  60. package/dist/bundled/v2/components/or-button-v3/OrButton.vue.d.ts +2 -2
  61. package/dist/bundled/v2/components/or-button-v3/index.js +2 -3
  62. package/dist/bundled/v2/components/or-card-collection/index.js +4 -4
  63. package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
  64. package/dist/bundled/v2/components/or-card-collection-v3/index.js +19 -18
  65. package/dist/bundled/v2/components/or-card-v3/OrCard.vue.d.ts +2 -2
  66. package/dist/bundled/v2/components/or-card-v3/index.js +1 -2
  67. package/dist/bundled/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +23 -18
  68. package/dist/bundled/v2/components/or-checkbox-v3/index.js +3 -3
  69. package/dist/bundled/v2/components/or-code/OrCode.vue.d.ts +0 -10
  70. package/dist/bundled/v2/components/or-code/index.js +1 -1
  71. package/dist/bundled/v2/components/or-confirm/index.js +2 -2
  72. package/dist/bundled/v2/components/or-confirm-v3/index.js +16 -15
  73. package/dist/bundled/v2/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
  74. package/dist/bundled/v2/components/or-error-tag-v3/index.js +2 -3
  75. package/dist/bundled/v2/components/or-error-v3/OrError.vue.d.ts +2 -2
  76. package/dist/bundled/v2/components/or-error-v3/index.js +1 -2
  77. package/dist/bundled/v2/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
  78. package/dist/bundled/v2/components/or-expansion-panel-v3/index.js +2 -3
  79. package/dist/bundled/v2/components/or-fab-v3/index.js +2 -3
  80. package/dist/bundled/v2/components/or-hint-v3/OrHint.vue.d.ts +2 -2
  81. package/dist/bundled/v2/components/or-hint-v3/index.js +1 -2
  82. package/dist/bundled/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +13 -2
  83. package/dist/bundled/v2/components/or-icon-button-v3/index.js +6 -7
  84. package/dist/bundled/v2/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
  85. package/dist/bundled/v2/components/or-icon-v3/index.js +1 -2
  86. package/dist/bundled/v2/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
  87. package/dist/bundled/v2/components/or-inline-input-box-v3/index.js +1 -2
  88. package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +38 -19
  89. package/dist/bundled/v2/components/or-inline-input-v3/index.js +12 -11
  90. package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +38 -19
  91. package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +12 -11
  92. package/dist/bundled/v2/components/or-input/index.d.ts +1 -0
  93. package/dist/bundled/v2/components/or-input/index.js +13 -0
  94. package/dist/bundled/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
  95. package/dist/bundled/v2/components/or-input-box-v3/index.js +1 -2
  96. package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +45 -21
  97. package/dist/bundled/v2/components/or-input-v3/index.js +13 -12
  98. package/dist/bundled/v2/components/or-label-v3/OrLabel.vue.d.ts +2 -2
  99. package/dist/bundled/v2/components/or-label-v3/index.js +1 -2
  100. package/dist/bundled/v2/components/or-link-v3/OrLink.vue.d.ts +2 -2
  101. package/dist/bundled/v2/components/or-link-v3/index.js +1 -2
  102. package/dist/bundled/v2/components/or-list-of-inputs/index.js +2 -2
  103. package/dist/bundled/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
  104. package/dist/bundled/v2/components/or-loader-v3/index.js +1 -2
  105. package/dist/bundled/v2/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
  106. package/dist/bundled/v2/components/or-menu-item-v3/index.js +2 -3
  107. package/dist/bundled/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
  108. package/dist/bundled/v2/components/or-menu-v3/index.js +4 -5
  109. package/dist/bundled/v2/components/or-modal-v3/OrModal.vue.d.ts +2 -2
  110. package/dist/bundled/v2/components/or-modal-v3/index.js +7 -8
  111. package/dist/bundled/v2/components/or-notification/index.js +1 -1
  112. package/dist/bundled/v2/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
  113. package/dist/bundled/v2/components/or-notification-v3/index.js +7 -8
  114. package/dist/bundled/v2/components/or-number-input/index.d.ts +1 -0
  115. package/dist/bundled/v2/components/or-number-input/index.js +14 -0
  116. package/dist/bundled/v2/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
  117. package/dist/bundled/v2/components/or-overlay-v3/index.js +1 -2
  118. package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +2 -13
  119. package/dist/bundled/v2/components/or-pagination-v3/index.js +9 -10
  120. package/dist/bundled/v2/components/or-password/index.d.ts +1 -0
  121. package/dist/bundled/v2/components/{or-inputs → or-password}/index.js +3 -4
  122. package/dist/bundled/v2/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
  123. package/dist/bundled/v2/components/or-popover-v3/index.js +3 -4
  124. package/dist/bundled/v2/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
  125. package/dist/bundled/v2/components/or-progress-v3/index.js +2 -3
  126. package/dist/bundled/v2/components/or-radio-v3/OrRadio.vue.d.ts +20 -15
  127. package/dist/bundled/v2/components/or-radio-v3/index.js +3 -3
  128. package/dist/bundled/v2/components/or-search/index.d.ts +1 -0
  129. package/dist/bundled/v2/components/or-search/index.js +25 -0
  130. package/dist/bundled/v2/components/or-search-v3/OrSearch.vue.d.ts +2 -2
  131. package/dist/bundled/v2/components/or-search-v3/index.js +15 -14
  132. package/dist/bundled/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +5 -16
  133. package/dist/bundled/v2/components/or-segmented-control-v3/index.js +1 -2
  134. 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
  135. package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +5 -16
  136. package/dist/bundled/v2/components/or-select-v3/index.js +18 -17
  137. package/dist/bundled/v2/components/or-skeleton/index.js +1 -1
  138. package/dist/bundled/v2/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
  139. package/dist/bundled/v2/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
  140. package/dist/bundled/v2/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
  141. package/dist/bundled/v2/components/or-skeleton-v3/index.js +2 -3
  142. package/dist/bundled/v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts +4 -15
  143. package/dist/bundled/v2/components/or-sort-header-v3/index.js +2 -3
  144. package/dist/bundled/v2/components/or-switch-v3/OrSwitch.vue.d.ts +23 -18
  145. package/dist/bundled/v2/components/or-switch-v3/index.js +4 -4
  146. package/dist/bundled/v2/components/or-tab-v3/OrTab.vue.d.ts +2 -2
  147. package/dist/bundled/v2/components/or-tab-v3/index.js +1 -2
  148. package/dist/bundled/v2/components/or-tabs-v3/OrTabs.vue.d.ts +4 -15
  149. package/dist/bundled/v2/components/or-tabs-v3/index.js +8 -9
  150. package/dist/bundled/v2/components/or-tag-v3/OrTag.vue.d.ts +2 -2
  151. package/dist/bundled/v2/components/or-tag-v3/index.js +7 -8
  152. package/dist/bundled/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
  153. package/dist/bundled/v2/components/or-text-v3/index.js +1 -2
  154. package/dist/bundled/v2/components/or-textarea/index.d.ts +1 -0
  155. package/dist/bundled/v2/components/or-textarea/index.js +13 -0
  156. package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +47 -19
  157. package/dist/bundled/v2/components/or-textarea-v3/index.js +7 -6
  158. package/dist/bundled/v2/components/or-toast-v3/index.js +8 -9
  159. package/dist/bundled/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
  160. package/dist/bundled/v2/components/or-tooltip-v3/index.js +4 -5
  161. package/dist/bundled/v2/hooks/index.d.ts +3 -1
  162. package/dist/bundled/v2/hooks/index.js +2 -1
  163. package/dist/bundled/v2/hooks/useControlAttributes.d.ts +8 -0
  164. package/dist/bundled/v2/hooks/useIdAttribute.d.ts +2 -0
  165. package/dist/bundled/v2/hooks/useValidationAttributes.d.ts +12 -0
  166. package/dist/bundled/v2/index.js +58 -55
  167. package/dist/bundled/v2/{types-8fe4e345.js → types-309b7b94.js} +2 -2
  168. package/dist/bundled/v2/useIdAttribute-cf61643f.js +22 -0
  169. package/dist/bundled/v2/useValidationAttributes-6df7bcf9.js +17 -0
  170. package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-0426862b.js → OrAvatar.vue_vue_type_script_lang-582e74ae.js} +3 -6
  171. package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-6fb49de9.js → OrBottomSheet.vue_vue_type_script_lang-bdef5ca2.js} +2 -4
  172. package/dist/bundled/v3/{OrButton-2b27c1fd.js → OrButton-a1448bfa.js} +7 -8
  173. package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-8c44986c.js → OrButton.vue_vue_type_script_lang-3b1e442b.js} +3 -6
  174. package/dist/bundled/v3/{OrCard.vue_vue_type_script_lang-165de137.js → OrCard.vue_vue_type_script_lang-b6685a34.js} +1 -4
  175. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-d8124dda.js → OrCardCollection.vue_vue_type_script_lang-cd84f344.js} +4 -4
  176. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-2d78a51a.js → OrCardCollection.vue_vue_type_script_lang-e2980d04.js} +42 -46
  177. package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-8b36e06c.js → OrCheckbox.vue_vue_type_script_lang-fc067611.js} +31 -24
  178. package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-fcfdbb5b.js → OrCode.vue_vue_type_script_lang-c55de81d.js} +7 -179
  179. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-0f16fc67.js → OrConfirm.vue_vue_type_script_lang-41b4d791.js} +2 -1
  180. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-9d9a3917.js → OrConfirm.vue_vue_type_script_lang-eb2bfce2.js} +7 -6
  181. package/dist/bundled/v3/{OrError.vue_vue_type_script_lang-cc6c135f.js → OrError.vue_vue_type_script_lang-53648a65.js} +1 -4
  182. package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-4828c387.js → OrErrorTag.vue_vue_type_script_lang-e2fe7ca9.js} +3 -6
  183. package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-5360f580.js → OrExpansionPanel.vue_vue_type_script_lang-2cc8964c.js} +3 -6
  184. package/dist/bundled/v3/{OrFab.vue_vue_type_script_lang-2adeaed6.js → OrFab.vue_vue_type_script_lang-0fe4a921.js} +2 -3
  185. package/dist/bundled/v3/{OrHint-9592499e.js → OrHint-5d5e4d99.js} +13 -15
  186. package/dist/bundled/v3/{OrHint.vue_vue_type_script_lang-8e657168.js → OrHint.vue_vue_type_script_lang-e322f61e.js} +1 -4
  187. package/dist/bundled/v3/OrIcon-1a5c9091.js +12 -0
  188. package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-a119a715.js → OrIcon.vue_vue_type_script_lang-bdbaad94.js} +1 -4
  189. package/dist/bundled/v3/{OrIconButton-cd62526d.js → OrIconButton-e0566ecf.js} +3 -2
  190. package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-aefcf30d.js → OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js} +19 -16
  191. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-67218502.js → OrInlineInput.vue_vue_type_script_lang-49ce3308.js} +41 -33
  192. package/dist/bundled/v3/{OrInlineInputBox-9d68ded1.js → OrInlineInputBox-f92a09d6.js} +6 -7
  193. package/dist/bundled/v3/{OrInlineInputBox.vue_vue_type_script_lang-73750005.js → OrInlineInputBox.vue_vue_type_script_lang-b1ae1f3d.js} +1 -4
  194. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a1831ab8.js → OrInlineTextarea.vue_vue_type_script_lang-8fd761d7.js} +41 -33
  195. package/dist/bundled/v3/{OrInput-7d4b571a.js → OrInput-704e72ba.js} +5 -193
  196. package/dist/bundled/v3/{OrInput-a4f220ed.js → OrInput-dcf2606e.js} +7 -7
  197. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-607d79d4.js → OrInput.vue_vue_type_script_lang-27220623.js} +44 -41
  198. package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-409235cc.js +190 -0
  199. package/dist/bundled/v3/{OrInputBox-eb54d73d.js → OrInputBox-4c7900c2.js} +6 -7
  200. package/dist/bundled/v3/{OrInputBox.vue_vue_type_script_lang-5ee4ee45.js → OrInputBox.vue_vue_type_script_lang-47d98e81.js} +1 -4
  201. package/dist/bundled/v3/{OrLabel-c6873e79.js → OrLabel-c556887e.js} +7 -8
  202. package/dist/bundled/v3/{OrLabel.vue_vue_type_script_lang-96f94c4e.js → OrLabel.vue_vue_type_script_lang-191d2304.js} +1 -4
  203. package/dist/bundled/v3/{OrLink.vue_vue_type_script_lang-9d3a32c7.js → OrLink.vue_vue_type_script_lang-05d4897b.js} +1 -4
  204. package/dist/bundled/v3/{OrListOfInputs.vue_vue_type_script_lang-62dbf1e7.js → OrListOfInputs.vue_vue_type_script_lang-6c5cf7a5.js} +2 -1
  205. package/dist/bundled/v3/{OrLoader-c4bbef2f.js → OrLoader-123ef8c4.js} +7 -8
  206. package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-5405040c.js → OrLoader.vue_vue_type_script_lang-4c3c1ac9.js} +1 -4
  207. package/dist/bundled/v3/{OrMenu-f26e8e55.js → OrMenu-6d7abe97.js} +7 -8
  208. package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-2446a69a.js → OrMenu.vue_vue_type_script_lang-df35fd76.js} +3 -6
  209. package/dist/bundled/v3/{OrMenuItem-4feaba6c.js → OrMenuItem-807e2a49.js} +7 -8
  210. package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-0ffaef05.js → OrMenuItem.vue_vue_type_script_lang-2400ec2a.js} +3 -6
  211. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-55c864d1.js → OrModal.vue_vue_type_script_lang-6b1dc231.js} +5 -7
  212. package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-c886ae51.js → OrNotification.vue_vue_type_script_lang-d0afc1d7.js} +5 -8
  213. package/dist/bundled/v3/OrNumberInput.vue_vue_type_script_lang-f061d829.js +113 -0
  214. package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-cb3aad0c.js → OrOverlay.vue_vue_type_script_lang-7edd25f6.js} +1 -3
  215. package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-c96d7cd7.js → OrPagination.vue_vue_type_script_lang-f64827ef.js} +17 -27
  216. package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-b75f6543.js +99 -0
  217. package/dist/bundled/v3/{OrPopover-c462ce77.js → OrPopover-1a488f88.js} +1 -1
  218. package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-54c7b11c.js → OrPopover.vue_vue_type_script_lang-b1102c1a.js} +3 -5
  219. package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-a73c0acf.js → OrProgress.vue_vue_type_script_lang-52f660d6.js} +2 -5
  220. package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-2e666a56.js → OrRadio.vue_vue_type_script_lang-8dc0720c.js} +31 -24
  221. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-06f318ca.js → OrSearch.vue_vue_type_script_lang-321907ec.js} +5 -8
  222. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-16fbccc0.js → OrSearch.vue_vue_type_script_lang-5356fa79.js} +2 -1
  223. package/dist/bundled/v3/{OrSegmentedControl.vue_vue_type_script_lang-579406f5.js → OrSegmentedControl.vue_vue_type_script_lang-38a00b68.js} +14 -25
  224. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-83f15704.js → OrSelect.vue_vue_type_script_lang-7fd5e2f0.js} +45 -54
  225. package/dist/bundled/v3/{OrSkeletonText.vue_vue_type_script_lang-577a1dc9.js → OrSkeletonText.vue_vue_type_script_lang-efcfbe21.js} +5 -12
  226. package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-75115125.js → OrSortHeader.vue_vue_type_script_lang-a20eae87.js} +11 -19
  227. package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-04829f64.js → OrSwitch.vue_vue_type_script_lang-31994be7.js} +33 -26
  228. package/dist/bundled/v3/{OrTab.vue_vue_type_script_lang-134ad9d1.js → OrTab.vue_vue_type_script_lang-f791efa0.js} +1 -4
  229. package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-61b79a5a.js → OrTabs.vue_vue_type_script_lang-cb550e87.js} +20 -28
  230. package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-3e30f662.js → OrTag.vue_vue_type_script_lang-a25a49ee.js} +3 -6
  231. package/dist/bundled/v3/{OrText.vue_vue_type_script_lang-d9525d49.js → OrText.vue_vue_type_script_lang-271fb345.js} +1 -4
  232. package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-8e3531cd.js → OrTextarea.vue_vue_type_script_lang-296da567.js} +45 -34
  233. package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-69ea22e9.js +187 -0
  234. package/dist/bundled/v3/{OrToastContainer-34389303.js → OrToastContainer-6fe12712.js} +1 -1
  235. package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-67cc86ed.js → OrTooltip.vue_vue_type_script_lang-bf9935ef.js} +3 -6
  236. package/dist/bundled/v3/components/index.d.ts +5 -1
  237. package/dist/bundled/v3/components/index.js +69 -65
  238. package/dist/bundled/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
  239. package/dist/bundled/v3/components/or-avatar-v3/index.js +3 -4
  240. package/dist/bundled/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
  241. package/dist/bundled/v3/components/or-bottom-sheet-v3/index.js +2 -3
  242. package/dist/bundled/v3/components/or-button-v3/OrButton.vue.d.ts +2 -2
  243. package/dist/bundled/v3/components/or-button-v3/index.js +3 -4
  244. package/dist/bundled/v3/components/or-card-collection/index.js +5 -4
  245. package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
  246. package/dist/bundled/v3/components/or-card-collection-v3/index.js +30 -29
  247. package/dist/bundled/v3/components/or-card-v3/OrCard.vue.d.ts +2 -2
  248. package/dist/bundled/v3/components/or-card-v3/index.js +1 -2
  249. package/dist/bundled/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +23 -18
  250. package/dist/bundled/v3/components/or-checkbox-v3/index.js +4 -4
  251. package/dist/bundled/v3/components/or-code/OrCode.vue.d.ts +0 -10
  252. package/dist/bundled/v3/components/or-code/index.js +1 -1
  253. package/dist/bundled/v3/components/or-confirm/index.js +3 -2
  254. package/dist/bundled/v3/components/or-confirm-v3/index.js +25 -24
  255. package/dist/bundled/v3/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
  256. package/dist/bundled/v3/components/or-error-tag-v3/index.js +3 -4
  257. package/dist/bundled/v3/components/or-error-v3/OrError.vue.d.ts +2 -2
  258. package/dist/bundled/v3/components/or-error-v3/index.js +1 -2
  259. package/dist/bundled/v3/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
  260. package/dist/bundled/v3/components/or-expansion-panel-v3/index.js +3 -4
  261. package/dist/bundled/v3/components/or-fab-v3/index.js +3 -4
  262. package/dist/bundled/v3/components/or-hint-v3/OrHint.vue.d.ts +2 -2
  263. package/dist/bundled/v3/components/or-hint-v3/index.js +1 -2
  264. package/dist/bundled/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +13 -2
  265. package/dist/bundled/v3/components/or-icon-button-v3/index.js +8 -9
  266. package/dist/bundled/v3/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
  267. package/dist/bundled/v3/components/or-icon-v3/index.js +1 -2
  268. package/dist/bundled/v3/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
  269. package/dist/bundled/v3/components/or-inline-input-box-v3/index.js +1 -2
  270. package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +38 -19
  271. package/dist/bundled/v3/components/or-inline-input-v3/index.js +17 -16
  272. package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +38 -19
  273. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +17 -16
  274. package/dist/bundled/v3/components/or-input/index.d.ts +1 -0
  275. package/dist/bundled/v3/components/or-input/index.js +14 -0
  276. package/dist/bundled/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
  277. package/dist/bundled/v3/components/or-input-box-v3/index.js +1 -2
  278. package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +45 -21
  279. package/dist/bundled/v3/components/or-input-v3/index.js +19 -18
  280. package/dist/bundled/v3/components/or-label-v3/OrLabel.vue.d.ts +2 -2
  281. package/dist/bundled/v3/components/or-label-v3/index.js +1 -2
  282. package/dist/bundled/v3/components/or-link-v3/OrLink.vue.d.ts +2 -2
  283. package/dist/bundled/v3/components/or-link-v3/index.js +1 -2
  284. package/dist/bundled/v3/components/or-list-of-inputs/index.js +3 -2
  285. package/dist/bundled/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
  286. package/dist/bundled/v3/components/or-loader-v3/index.js +1 -2
  287. package/dist/bundled/v3/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
  288. package/dist/bundled/v3/components/or-menu-item-v3/index.js +3 -4
  289. package/dist/bundled/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
  290. package/dist/bundled/v3/components/or-menu-v3/index.js +5 -6
  291. package/dist/bundled/v3/components/or-modal-v3/OrModal.vue.d.ts +2 -2
  292. package/dist/bundled/v3/components/or-modal-v3/index.js +10 -11
  293. package/dist/bundled/v3/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
  294. package/dist/bundled/v3/components/or-notification-v3/index.js +10 -11
  295. package/dist/bundled/v3/components/or-number-input/index.d.ts +1 -0
  296. package/dist/bundled/v3/components/or-number-input/index.js +16 -0
  297. package/dist/bundled/v3/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
  298. package/dist/bundled/v3/components/or-overlay-v3/index.js +1 -2
  299. package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +2 -13
  300. package/dist/bundled/v3/components/or-pagination-v3/index.js +15 -16
  301. package/dist/bundled/v3/components/or-password/index.d.ts +1 -0
  302. package/dist/bundled/v3/components/or-password/index.js +31 -0
  303. package/dist/bundled/v3/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
  304. package/dist/bundled/v3/components/or-popover-v3/index.js +3 -4
  305. package/dist/bundled/v3/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
  306. package/dist/bundled/v3/components/or-progress-v3/index.js +2 -3
  307. package/dist/bundled/v3/components/or-radio-v3/OrRadio.vue.d.ts +20 -15
  308. package/dist/bundled/v3/components/or-radio-v3/index.js +4 -4
  309. package/dist/bundled/v3/components/or-search/index.d.ts +1 -0
  310. package/dist/bundled/v3/components/{or-inputs → or-search}/index.js +4 -5
  311. package/dist/bundled/v3/components/or-search-v3/OrSearch.vue.d.ts +2 -2
  312. package/dist/bundled/v3/components/or-search-v3/index.js +22 -21
  313. package/dist/bundled/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +5 -16
  314. package/dist/bundled/v3/components/or-segmented-control-v3/index.js +1 -2
  315. 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
  316. package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +5 -16
  317. package/dist/bundled/v3/components/or-select-v3/index.js +26 -25
  318. package/dist/bundled/v3/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
  319. package/dist/bundled/v3/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
  320. package/dist/bundled/v3/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
  321. package/dist/bundled/v3/components/or-skeleton-v3/index.js +2 -3
  322. package/dist/bundled/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +4 -15
  323. package/dist/bundled/v3/components/or-sort-header-v3/index.js +3 -4
  324. package/dist/bundled/v3/components/or-switch-v3/OrSwitch.vue.d.ts +23 -18
  325. package/dist/bundled/v3/components/or-switch-v3/index.js +6 -6
  326. package/dist/bundled/v3/components/or-tab-v3/OrTab.vue.d.ts +2 -2
  327. package/dist/bundled/v3/components/or-tab-v3/index.js +1 -2
  328. package/dist/bundled/v3/components/or-tabs-v3/OrTabs.vue.d.ts +4 -15
  329. package/dist/bundled/v3/components/or-tabs-v3/index.js +12 -13
  330. package/dist/bundled/v3/components/or-tag-v3/OrTag.vue.d.ts +2 -2
  331. package/dist/bundled/v3/components/or-tag-v3/index.js +10 -11
  332. package/dist/bundled/v3/components/or-text-v3/OrText.vue.d.ts +2 -2
  333. package/dist/bundled/v3/components/or-text-v3/index.js +1 -2
  334. package/dist/bundled/v3/components/or-textarea/index.d.ts +1 -0
  335. package/dist/bundled/v3/components/or-textarea/index.js +14 -0
  336. package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +47 -19
  337. package/dist/bundled/v3/components/or-textarea-v3/index.js +10 -9
  338. package/dist/bundled/v3/components/or-toast-v3/index.js +13 -14
  339. package/dist/bundled/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
  340. package/dist/bundled/v3/components/or-tooltip-v3/index.js +5 -6
  341. package/dist/bundled/v3/hooks/index.d.ts +3 -1
  342. package/dist/bundled/v3/hooks/index.js +2 -1
  343. package/dist/bundled/v3/hooks/useControlAttributes.d.ts +8 -0
  344. package/dist/bundled/v3/hooks/useIdAttribute.d.ts +2 -0
  345. package/dist/bundled/v3/hooks/useValidationAttributes.d.ts +12 -0
  346. package/dist/bundled/v3/index.js +823 -831
  347. package/dist/bundled/v3/{types-f53434f2.js → types-22fbf9d6.js} +5 -5
  348. package/dist/bundled/v3/useIdAttribute-b2e42f31.js +21 -0
  349. package/dist/bundled/v3/useValidationAttributes-5428d8fa.js +16 -0
  350. package/dist/esm/v2/{OrAvatar-3d155af3.js → OrAvatar-379ac72f.js} +4 -8
  351. package/dist/esm/v2/{OrBottomSheet-16c2e610.js → OrBottomSheet-37200385.js} +2 -4
  352. package/dist/esm/v2/{OrButton-835d4f11.js → OrButton-66964360.js} +4 -8
  353. package/dist/esm/v2/{OrCard-de799db0.js → OrCard-e89c44ef.js} +3 -7
  354. package/dist/esm/v2/{OrCardCollection-f6b07557.js → OrCardCollection-19582949.js} +6 -7
  355. package/dist/esm/v2/{OrCardCollection-3c38fc85.js → OrCardCollection-251ab033.js} +11 -15
  356. package/dist/esm/v2/{OrCheckbox-567e387c.js → OrCheckbox-b380c131.js} +41 -34
  357. package/dist/esm/v2/{OrCode-cae7f360.js → OrCode-d4400b42.js} +11 -29
  358. package/dist/esm/v2/{OrConfirm-047d4086.js → OrConfirm-9dbdedd7.js} +4 -3
  359. package/dist/esm/v2/{OrConfirm-d7112dd3.js → OrConfirm-ede619eb.js} +4 -4
  360. package/dist/esm/v2/{OrError-d267ee9a.js → OrError-13845bb0.js} +3 -7
  361. package/dist/esm/v2/{OrErrorTag-782dd714.js → OrErrorTag-80f82cdf.js} +4 -8
  362. package/dist/esm/v2/{OrExpansionPanel-a123024e.js → OrExpansionPanel-729eb1e7.js} +4 -8
  363. package/dist/esm/v2/{OrFab-26106618.js → OrFab-1d095e33.js} +3 -4
  364. package/dist/esm/v2/{OrHint-42dc9ebb.js → OrHint-78b399cb.js} +3 -7
  365. package/dist/esm/v2/{OrIcon-5e394c62.js → OrIcon-f34e0e6f.js} +3 -7
  366. package/dist/esm/v2/{OrIconButton-b3779042.js → OrIconButton-04a3566d.js} +14 -10
  367. package/dist/esm/v2/{OrInlineInput-10205811.js → OrInlineInput-b85b84b4.js} +47 -39
  368. package/dist/esm/v2/{OrInlineInputBox-fefd4fbd.js → OrInlineInputBox-46146af0.js} +3 -7
  369. package/dist/esm/v2/{OrInlineTextarea-7658611e.js → OrInlineTextarea-afd33047.js} +43 -35
  370. package/dist/esm/v2/{OrInput-ada3a970.js → OrInput-59a15d80.js} +53 -50
  371. package/dist/esm/v2/{OrSearch.vue_rollup-plugin-vue_script-197d77fc.js → OrInput-6e6cfd11.js} +4 -492
  372. package/dist/esm/v2/{OrInputBox-4d5a318d.js → OrInputBox-9ceb9fc4.js} +3 -7
  373. package/dist/esm/v2/{OrLabel-2a9f1477.js → OrLabel-0945a4d9.js} +3 -7
  374. package/dist/esm/v2/{OrLink-80742a17.js → OrLink-597e0e18.js} +3 -7
  375. package/dist/esm/v2/{OrListOfInputs-50aa1ef1.js → OrListOfInputs-4298fa2c.js} +5 -5
  376. package/dist/esm/v2/{OrLoader-f857d55b.js → OrLoader-76307488.js} +3 -7
  377. package/dist/esm/v2/{OrMenu-df27d0ef.js → OrMenu-c276db74.js} +4 -8
  378. package/dist/esm/v2/{OrMenuItem-c7f28480.js → OrMenuItem-7b7fbf8a.js} +4 -8
  379. package/dist/esm/v2/{OrModal-a7719843.js → OrModal-4e79e0d5.js} +3 -6
  380. package/dist/esm/v2/{OrNotification-a49e76d3.js → OrNotification-a9231a83.js} +3 -3
  381. package/dist/esm/v2/{OrNotification-8a4830a3.js → OrNotification-eac3867f.js} +5 -9
  382. package/dist/esm/v2/OrNumberInput-b20d75d2.js +225 -0
  383. package/dist/esm/v2/{OrOverlay-18ba2dc6.js → OrOverlay-a019186f.js} +1 -3
  384. package/dist/esm/v2/{OrPagination-c0dbec6a.js → OrPagination-1adbcadb.js} +16 -27
  385. package/dist/esm/v2/OrPassword-e6d5e968.js +225 -0
  386. package/dist/esm/v2/{OrPopover-9bafbdb4.js → OrPopover-d5d4f62a.js} +2 -4
  387. package/dist/esm/v2/{OrProgress-c27c8946.js → OrProgress-b7d1c689.js} +4 -7
  388. package/dist/esm/v2/{OrRadio-848ce55d.js → OrRadio-87a4d226.js} +39 -32
  389. package/dist/esm/v2/{OrSearch-0589d17d.js → OrSearch-b4f4d59b.js} +122 -5
  390. package/dist/esm/v2/{OrSearch-0f08f2f5.js → OrSearch-f42d588d.js} +6 -9
  391. package/dist/esm/v2/{OrSegmentedControl-e8dce8f9.js → OrSegmentedControl-7486115b.js} +12 -23
  392. package/dist/esm/v2/{OrSelect-f8837f5d.js → OrSelect-e31d1c8b.js} +22 -30
  393. package/dist/esm/v2/{OrSkeletonText-950be6a2.js → OrSkeletonText-6ee72718.js} +11 -19
  394. package/dist/esm/v2/{OrSkeletonText-24509efe.js → OrSkeletonText-cc94bdc9.js} +3 -3
  395. package/dist/esm/v2/{OrSortHeader-19bf94ca.js → OrSortHeader-592727dc.js} +12 -21
  396. package/dist/esm/v2/{OrSwitch-13b6a7ee.js → OrSwitch-8549219a.js} +40 -33
  397. package/dist/esm/v2/{OrTab-702e7335.js → OrTab-1ff87c76.js} +3 -7
  398. package/dist/esm/v2/{OrTabs-71bd3fd2.js → OrTabs-96b0473d.js} +13 -20
  399. package/dist/esm/v2/{OrTag-5c404031.js → OrTag-b2906865.js} +4 -8
  400. package/dist/esm/v2/{OrText-ba5a2b6c.js → OrText-b12d0682.js} +3 -7
  401. package/dist/esm/v2/{OrPassword-1fa97156.js → OrTextarea-91a95068.js} +187 -245
  402. package/dist/esm/v2/{OrTextarea-6712a150.js → OrTextarea-a5a3572b.js} +49 -37
  403. package/dist/esm/v2/{OrTooltip-513bee30.js → OrTooltip-629d44fc.js} +4 -7
  404. package/dist/esm/v2/components/index.d.ts +5 -1
  405. package/dist/esm/v2/components/index.js +59 -57
  406. package/dist/esm/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
  407. package/dist/esm/v2/components/or-avatar-v3/index.js +2 -4
  408. package/dist/esm/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
  409. package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +2 -3
  410. package/dist/esm/v2/components/or-button-v3/OrButton.vue.d.ts +2 -2
  411. package/dist/esm/v2/components/or-button-v3/index.js +2 -4
  412. package/dist/esm/v2/components/or-card-collection/index.js +3 -4
  413. package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
  414. package/dist/esm/v2/components/or-card-collection-v3/index.js +20 -19
  415. package/dist/esm/v2/components/or-card-v3/OrCard.vue.d.ts +2 -2
  416. package/dist/esm/v2/components/or-card-v3/index.js +1 -3
  417. package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +23 -18
  418. package/dist/esm/v2/components/or-checkbox-v3/index.js +3 -3
  419. package/dist/esm/v2/components/or-code/OrCode.vue.d.ts +0 -10
  420. package/dist/esm/v2/components/or-code/index.js +2 -3
  421. package/dist/esm/v2/components/or-confirm/index.js +2 -3
  422. package/dist/esm/v2/components/or-confirm-v3/index.js +16 -15
  423. package/dist/esm/v2/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
  424. package/dist/esm/v2/components/or-error-tag-v3/index.js +2 -4
  425. package/dist/esm/v2/components/or-error-v3/OrError.vue.d.ts +2 -2
  426. package/dist/esm/v2/components/or-error-v3/index.js +1 -3
  427. package/dist/esm/v2/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
  428. package/dist/esm/v2/components/or-expansion-panel-v3/index.js +2 -4
  429. package/dist/esm/v2/components/or-fab-v3/index.js +2 -4
  430. package/dist/esm/v2/components/or-hint-v3/OrHint.vue.d.ts +2 -2
  431. package/dist/esm/v2/components/or-hint-v3/index.js +1 -3
  432. package/dist/esm/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +13 -2
  433. package/dist/esm/v2/components/or-icon-button-v3/index.js +6 -7
  434. package/dist/esm/v2/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
  435. package/dist/esm/v2/components/or-icon-v3/index.js +1 -3
  436. package/dist/esm/v2/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
  437. package/dist/esm/v2/components/or-inline-input-box-v3/index.js +1 -3
  438. package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +38 -19
  439. package/dist/esm/v2/components/or-inline-input-v3/index.js +12 -11
  440. package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +38 -19
  441. package/dist/esm/v2/components/or-inline-textarea-v3/index.js +12 -11
  442. package/dist/esm/v2/components/or-input/index.d.ts +1 -0
  443. package/dist/esm/v2/components/or-input/index.js +11 -0
  444. package/dist/esm/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
  445. package/dist/esm/v2/components/or-input-box-v3/index.js +1 -3
  446. package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +45 -21
  447. package/dist/esm/v2/components/or-input-v3/index.js +13 -12
  448. package/dist/esm/v2/components/or-label-v3/OrLabel.vue.d.ts +2 -2
  449. package/dist/esm/v2/components/or-label-v3/index.js +1 -3
  450. package/dist/esm/v2/components/or-link-v3/OrLink.vue.d.ts +2 -2
  451. package/dist/esm/v2/components/or-link-v3/index.js +1 -3
  452. package/dist/esm/v2/components/or-list-of-inputs/index.js +2 -4
  453. package/dist/esm/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
  454. package/dist/esm/v2/components/or-loader-v3/index.js +1 -3
  455. package/dist/esm/v2/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
  456. package/dist/esm/v2/components/or-menu-item-v3/index.js +2 -4
  457. package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
  458. package/dist/esm/v2/components/or-menu-v3/index.js +5 -6
  459. package/dist/esm/v2/components/or-modal-v3/OrModal.vue.d.ts +2 -2
  460. package/dist/esm/v2/components/or-modal-v3/index.js +8 -9
  461. package/dist/esm/v2/components/or-notification/index.js +1 -1
  462. package/dist/esm/v2/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
  463. package/dist/esm/v2/components/or-notification-v3/index.js +8 -9
  464. package/dist/esm/v2/components/or-number-input/index.d.ts +1 -0
  465. package/dist/esm/v2/components/or-number-input/index.js +12 -0
  466. package/dist/esm/v2/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
  467. package/dist/esm/v2/components/or-overlay-v3/index.js +1 -2
  468. package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +2 -13
  469. package/dist/esm/v2/components/or-pagination-v3/index.js +10 -11
  470. package/dist/esm/v2/components/or-password/index.d.ts +1 -0
  471. package/dist/esm/v2/components/{or-inputs → or-password}/index.js +5 -6
  472. package/dist/esm/v2/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
  473. package/dist/esm/v2/components/or-popover-v3/index.js +3 -4
  474. package/dist/esm/v2/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
  475. package/dist/esm/v2/components/or-progress-v3/index.js +2 -3
  476. package/dist/esm/v2/components/or-radio-v3/OrRadio.vue.d.ts +20 -15
  477. package/dist/esm/v2/components/or-radio-v3/index.js +3 -3
  478. package/dist/esm/v2/components/or-search/index.d.ts +1 -0
  479. package/dist/esm/v2/components/or-search/index.js +23 -0
  480. package/dist/esm/v2/components/or-search-v3/OrSearch.vue.d.ts +2 -2
  481. package/dist/esm/v2/components/or-search-v3/index.js +15 -14
  482. package/dist/esm/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +5 -16
  483. package/dist/esm/v2/components/or-segmented-control-v3/index.js +1 -3
  484. 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
  485. package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +5 -16
  486. package/dist/esm/v2/components/or-select-v3/index.js +18 -17
  487. package/dist/esm/v2/components/or-skeleton/index.js +1 -1
  488. package/dist/esm/v2/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
  489. package/dist/esm/v2/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
  490. package/dist/esm/v2/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
  491. package/dist/esm/v2/components/or-skeleton-v3/index.js +2 -4
  492. package/dist/esm/v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts +4 -15
  493. package/dist/esm/v2/components/or-sort-header-v3/index.js +2 -4
  494. package/dist/esm/v2/components/or-switch-v3/OrSwitch.vue.d.ts +23 -18
  495. package/dist/esm/v2/components/or-switch-v3/index.js +4 -4
  496. package/dist/esm/v2/components/or-tab-v3/OrTab.vue.d.ts +2 -2
  497. package/dist/esm/v2/components/or-tab-v3/index.js +1 -3
  498. package/dist/esm/v2/components/or-tabs-v3/OrTabs.vue.d.ts +4 -15
  499. package/dist/esm/v2/components/or-tabs-v3/index.js +8 -9
  500. package/dist/esm/v2/components/or-tag-v3/OrTag.vue.d.ts +2 -2
  501. package/dist/esm/v2/components/or-tag-v3/index.js +8 -9
  502. package/dist/esm/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
  503. package/dist/esm/v2/components/or-text-v3/index.js +1 -3
  504. package/dist/esm/v2/components/or-textarea/index.d.ts +1 -0
  505. package/dist/esm/v2/components/or-textarea/index.js +11 -0
  506. package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +47 -19
  507. package/dist/esm/v2/components/or-textarea-v3/index.js +7 -6
  508. package/dist/esm/v2/components/or-toast-v3/index.js +8 -9
  509. package/dist/esm/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
  510. package/dist/esm/v2/components/or-tooltip-v3/index.js +4 -5
  511. package/dist/esm/v2/hooks/index.d.ts +3 -1
  512. package/dist/esm/v2/hooks/index.js +2 -1
  513. package/dist/esm/v2/hooks/useControlAttributes.d.ts +8 -0
  514. package/dist/esm/v2/hooks/useIdAttribute.d.ts +2 -0
  515. package/dist/esm/v2/hooks/useValidationAttributes.d.ts +12 -0
  516. package/dist/esm/v2/index.js +57 -55
  517. package/dist/esm/v2/{types-6c742e07.js → types-1f95d710.js} +2 -2
  518. package/dist/esm/v2/useIdAttribute-859439f0.js +21 -0
  519. package/dist/esm/v2/useValidationAttributes-d1abbe34.js +16 -0
  520. package/dist/esm/v3/{OrAvatar-53a4429d.js → OrAvatar-6444e693.js} +8 -13
  521. package/dist/esm/v3/{OrBottomSheet-62817aec.js → OrBottomSheet-13a416ef.js} +2 -4
  522. package/dist/esm/v3/{OrButton-0fa67a0d.js → OrButton-c56998e7.js} +8 -13
  523. package/dist/esm/v3/{OrCard-fd92f7c8.js → OrCard-cd6af82e.js} +6 -11
  524. package/dist/esm/v3/{OrCardCollection-a5e326ef.js → OrCardCollection-1e44c758.js} +2 -2
  525. package/dist/esm/v3/{OrCardCollection-dbb3e839.js → OrCardCollection-8b8e3745.js} +14 -19
  526. package/dist/esm/v3/{OrCheckbox-3e139eac.js → OrCheckbox-16c1e2f4.js} +40 -32
  527. package/dist/esm/v3/{OrCode-cd9a8fb2.js → OrCode-5ed69c23.js} +8 -26
  528. package/dist/esm/v3/{OrConfirm-fee3c859.js → OrConfirm-37454a63.js} +4 -3
  529. package/dist/esm/v3/{OrConfirm-f39bd784.js → OrConfirm-c11ee2ec.js} +1 -1
  530. package/dist/esm/v3/{OrError-ec8c709d.js → OrError-19198748.js} +7 -12
  531. package/dist/esm/v3/{OrErrorTag-98252eef.js → OrErrorTag-308119de.js} +8 -13
  532. package/dist/esm/v3/{OrExpansionPanel-f8d7ff8d.js → OrExpansionPanel-3a4282da.js} +8 -13
  533. package/dist/esm/v3/{OrFab-c8ae6e01.js → OrFab-61131b31.js} +7 -9
  534. package/dist/esm/v3/{OrHint-74bb732d.js → OrHint-6863124f.js} +7 -12
  535. package/dist/esm/v3/{OrIcon-b195169c.js → OrIcon-34f59f73.js} +6 -11
  536. package/dist/esm/v3/{OrIconButton-1a89fbf9.js → OrIconButton-2dcfb83e.js} +15 -11
  537. package/dist/esm/v3/{OrInlineInput-507fc99c.js → OrInlineInput-fbc35f85.js} +41 -33
  538. package/dist/esm/v3/{OrInlineInputBox-8049f95a.js → OrInlineInputBox-09b33e18.js} +6 -11
  539. package/dist/esm/v3/{OrInlineTextarea-53a9e027.js → OrInlineTextarea-79da8697.js} +41 -33
  540. package/dist/esm/v3/OrInput-81125804.js +295 -0
  541. package/dist/esm/v3/{OrInput-9c0426b9.js → OrInput-bd054213.js} +45 -42
  542. package/dist/esm/v3/{OrInputBox-6d1b6059.js → OrInputBox-e16ade90.js} +6 -11
  543. package/dist/esm/v3/{OrLabel-bdaec602.js → OrLabel-f700f9fb.js} +7 -12
  544. package/dist/esm/v3/{OrLink-338db3ca.js → OrLink-07f6f27d.js} +7 -12
  545. package/dist/esm/v3/{OrListOfInputs-7a67440f.js → OrListOfInputs-508e056f.js} +1 -1
  546. package/dist/esm/v3/{OrLoader-b3cf4231.js → OrLoader-a53d2edf.js} +7 -12
  547. package/dist/esm/v3/{OrMenu-840038cd.js → OrMenu-7f3ea117.js} +8 -13
  548. package/dist/esm/v3/{OrMenuItem-9da279f6.js → OrMenuItem-58707d47.js} +8 -13
  549. package/dist/esm/v3/{OrModal-7878cc39.js → OrModal-4219a6dc.js} +3 -6
  550. package/dist/esm/v3/{OrNotification-e1383681.js → OrNotification-0e682c7f.js} +9 -14
  551. package/dist/esm/v3/{OrNotification-eb08de33.js → OrNotification-e85a4956.js} +1 -1
  552. package/dist/esm/v3/OrNumberInput-b32b5ce3.js +170 -0
  553. package/dist/esm/v3/{OrOverlay-738a44d5.js → OrOverlay-afad3aa4.js} +1 -3
  554. package/dist/esm/v3/{OrPagination-a703307d.js → OrPagination-da9e5017.js} +20 -32
  555. package/dist/esm/v3/OrPassword-b0cbb578.js +162 -0
  556. package/dist/esm/v3/{OrPopover-1075dd38.js → OrPopover-40217b49.js} +2 -4
  557. package/dist/esm/v3/{OrProgress-407002e0.js → OrProgress-639ed5e8.js} +8 -12
  558. package/dist/esm/v3/{OrRadio-54b6d0de.js → OrRadio-bb9b37c1.js} +37 -29
  559. package/dist/esm/v3/OrSearch-11fdf667.js +188 -0
  560. package/dist/esm/v3/{OrSearch-9885d178.js → OrSearch-4c5c44f2.js} +9 -13
  561. package/dist/esm/v3/{OrSegmentedControl-171cad78.js → OrSegmentedControl-880b4911.js} +19 -32
  562. package/dist/esm/v3/{OrSelect-8fbd88bc.js → OrSelect-466e50ca.js} +28 -37
  563. package/dist/esm/v3/{OrSkeletonText-0546754d.js → OrSkeletonText-2b1610ce.js} +3 -3
  564. package/dist/esm/v3/{OrSkeletonText-3965ff71.js → OrSkeletonText-afd3d007.js} +22 -33
  565. package/dist/esm/v3/{OrSortHeader-fe1a9cf8.js → OrSortHeader-a39f77f9.js} +16 -26
  566. package/dist/esm/v3/{OrSwitch-cca30aa0.js → OrSwitch-1c2196da.js} +38 -31
  567. package/dist/esm/v3/{OrTab-c131cf60.js → OrTab-d3785ea4.js} +6 -11
  568. package/dist/esm/v3/{OrTabs-d0ee6cef.js → OrTabs-328d41b9.js} +13 -20
  569. package/dist/esm/v3/{OrTag-5d54f37d.js → OrTag-148ff9ae.js} +8 -13
  570. package/dist/esm/v3/{OrText-ecb46923.js → OrText-6b4f7cd1.js} +7 -12
  571. package/dist/esm/v3/OrTextarea-1f5c3be1.js +290 -0
  572. package/dist/esm/v3/{OrTextarea-bb9ef3f2.js → OrTextarea-37566985.js} +47 -35
  573. package/dist/esm/v3/{OrTooltip-50d27b4f.js → OrTooltip-b07616f4.js} +8 -12
  574. package/dist/esm/v3/components/index.d.ts +5 -1
  575. package/dist/esm/v3/components/index.js +59 -55
  576. package/dist/esm/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
  577. package/dist/esm/v3/components/or-avatar-v3/index.js +2 -4
  578. package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
  579. package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +2 -3
  580. package/dist/esm/v3/components/or-button-v3/OrButton.vue.d.ts +2 -2
  581. package/dist/esm/v3/components/or-button-v3/index.js +2 -4
  582. package/dist/esm/v3/components/or-card-collection/index.js +3 -3
  583. package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
  584. package/dist/esm/v3/components/or-card-collection-v3/index.js +20 -19
  585. package/dist/esm/v3/components/or-card-v3/OrCard.vue.d.ts +2 -2
  586. package/dist/esm/v3/components/or-card-v3/index.js +1 -3
  587. package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +23 -18
  588. package/dist/esm/v3/components/or-checkbox-v3/index.js +3 -3
  589. package/dist/esm/v3/components/or-code/OrCode.vue.d.ts +0 -10
  590. package/dist/esm/v3/components/or-code/index.js +2 -3
  591. package/dist/esm/v3/components/or-confirm/index.js +2 -3
  592. package/dist/esm/v3/components/or-confirm-v3/index.js +16 -15
  593. package/dist/esm/v3/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
  594. package/dist/esm/v3/components/or-error-tag-v3/index.js +2 -4
  595. package/dist/esm/v3/components/or-error-v3/OrError.vue.d.ts +2 -2
  596. package/dist/esm/v3/components/or-error-v3/index.js +1 -3
  597. package/dist/esm/v3/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
  598. package/dist/esm/v3/components/or-expansion-panel-v3/index.js +2 -4
  599. package/dist/esm/v3/components/or-fab-v3/index.js +2 -4
  600. package/dist/esm/v3/components/or-hint-v3/OrHint.vue.d.ts +2 -2
  601. package/dist/esm/v3/components/or-hint-v3/index.js +1 -3
  602. package/dist/esm/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +13 -2
  603. package/dist/esm/v3/components/or-icon-button-v3/index.js +6 -7
  604. package/dist/esm/v3/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
  605. package/dist/esm/v3/components/or-icon-v3/index.js +1 -3
  606. package/dist/esm/v3/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
  607. package/dist/esm/v3/components/or-inline-input-box-v3/index.js +1 -3
  608. package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +38 -19
  609. package/dist/esm/v3/components/or-inline-input-v3/index.js +12 -11
  610. package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +38 -19
  611. package/dist/esm/v3/components/or-inline-textarea-v3/index.js +12 -11
  612. package/dist/esm/v3/components/or-input/index.d.ts +1 -0
  613. package/dist/esm/v3/components/or-input/index.js +11 -0
  614. package/dist/esm/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
  615. package/dist/esm/v3/components/or-input-box-v3/index.js +1 -3
  616. package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +45 -21
  617. package/dist/esm/v3/components/or-input-v3/index.js +13 -12
  618. package/dist/esm/v3/components/or-label-v3/OrLabel.vue.d.ts +2 -2
  619. package/dist/esm/v3/components/or-label-v3/index.js +1 -3
  620. package/dist/esm/v3/components/or-link-v3/OrLink.vue.d.ts +2 -2
  621. package/dist/esm/v3/components/or-link-v3/index.js +1 -3
  622. package/dist/esm/v3/components/or-list-of-inputs/index.js +2 -4
  623. package/dist/esm/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
  624. package/dist/esm/v3/components/or-loader-v3/index.js +1 -3
  625. package/dist/esm/v3/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
  626. package/dist/esm/v3/components/or-menu-item-v3/index.js +2 -4
  627. package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
  628. package/dist/esm/v3/components/or-menu-v3/index.js +5 -6
  629. package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +2 -2
  630. package/dist/esm/v3/components/or-modal-v3/index.js +8 -9
  631. package/dist/esm/v3/components/or-notification/index.js +1 -1
  632. package/dist/esm/v3/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
  633. package/dist/esm/v3/components/or-notification-v3/index.js +8 -9
  634. package/dist/esm/v3/components/or-number-input/index.d.ts +1 -0
  635. package/dist/esm/v3/components/or-number-input/index.js +12 -0
  636. package/dist/esm/v3/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
  637. package/dist/esm/v3/components/or-overlay-v3/index.js +1 -2
  638. package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +2 -13
  639. package/dist/esm/v3/components/or-pagination-v3/index.js +10 -11
  640. package/dist/esm/v3/components/or-password/index.d.ts +1 -0
  641. package/dist/esm/v3/components/{or-inputs → or-password}/index.js +3 -2
  642. package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
  643. package/dist/esm/v3/components/or-popover-v3/index.js +3 -4
  644. package/dist/esm/v3/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
  645. package/dist/esm/v3/components/or-progress-v3/index.js +2 -3
  646. package/dist/esm/v3/components/or-radio-v3/OrRadio.vue.d.ts +20 -15
  647. package/dist/esm/v3/components/or-radio-v3/index.js +3 -3
  648. package/dist/esm/v3/components/or-search/index.d.ts +1 -0
  649. package/dist/esm/v3/components/or-search/index.js +20 -0
  650. package/dist/esm/v3/components/or-search-v3/OrSearch.vue.d.ts +2 -2
  651. package/dist/esm/v3/components/or-search-v3/index.js +15 -14
  652. package/dist/esm/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +5 -16
  653. package/dist/esm/v3/components/or-segmented-control-v3/index.js +1 -3
  654. 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
  655. package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +5 -16
  656. package/dist/esm/v3/components/or-select-v3/index.js +18 -17
  657. package/dist/esm/v3/components/or-skeleton/index.js +1 -1
  658. package/dist/esm/v3/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
  659. package/dist/esm/v3/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
  660. package/dist/esm/v3/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
  661. package/dist/esm/v3/components/or-skeleton-v3/index.js +2 -4
  662. package/dist/esm/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +4 -15
  663. package/dist/esm/v3/components/or-sort-header-v3/index.js +2 -4
  664. package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +23 -18
  665. package/dist/esm/v3/components/or-switch-v3/index.js +4 -4
  666. package/dist/esm/v3/components/or-tab-v3/OrTab.vue.d.ts +2 -2
  667. package/dist/esm/v3/components/or-tab-v3/index.js +1 -3
  668. package/dist/esm/v3/components/or-tabs-v3/OrTabs.vue.d.ts +4 -15
  669. package/dist/esm/v3/components/or-tabs-v3/index.js +8 -9
  670. package/dist/esm/v3/components/or-tag-v3/OrTag.vue.d.ts +2 -2
  671. package/dist/esm/v3/components/or-tag-v3/index.js +8 -9
  672. package/dist/esm/v3/components/or-text-v3/OrText.vue.d.ts +2 -2
  673. package/dist/esm/v3/components/or-text-v3/index.js +1 -3
  674. package/dist/esm/v3/components/or-textarea/index.d.ts +1 -0
  675. package/dist/esm/v3/components/or-textarea/index.js +11 -0
  676. package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +47 -19
  677. package/dist/esm/v3/components/or-textarea-v3/index.js +7 -6
  678. package/dist/esm/v3/components/or-toast-v3/index.js +8 -9
  679. package/dist/esm/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
  680. package/dist/esm/v3/components/or-tooltip-v3/index.js +4 -5
  681. package/dist/esm/v3/hooks/index.d.ts +3 -1
  682. package/dist/esm/v3/hooks/index.js +2 -1
  683. package/dist/esm/v3/hooks/useControlAttributes.d.ts +8 -0
  684. package/dist/esm/v3/hooks/useIdAttribute.d.ts +2 -0
  685. package/dist/esm/v3/hooks/useValidationAttributes.d.ts +12 -0
  686. package/dist/esm/v3/index.js +57 -53
  687. package/dist/esm/v3/{types-2692e337.js → types-b79e4387.js} +2 -2
  688. package/dist/esm/v3/useIdAttribute-859439f0.js +21 -0
  689. package/dist/esm/v3/useValidationAttributes-d1abbe34.js +16 -0
  690. package/package.json +4 -4
  691. package/src/components/index.ts +5 -1
  692. package/src/components/or-avatar-v3/OrAvatar.vue +3 -9
  693. package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +0 -4
  694. package/src/components/or-button-v3/OrButton.vue +0 -7
  695. package/src/components/or-card-collection/OrCardCollection.vue +8 -8
  696. package/src/components/or-card-collection-v3/OrCardCollection.vue +9 -17
  697. package/src/components/or-card-v3/OrCard.vue +0 -7
  698. package/src/components/or-checkbox-v3/OrCheckbox.stories3.ts +3 -10
  699. package/src/components/or-checkbox-v3/OrCheckbox.vue +34 -26
  700. package/src/components/or-code/OrCode.vue +5 -22
  701. package/src/components/or-confirm/OrConfirm.vue +1 -1
  702. package/src/components/or-confirm-v3/OrConfirm.vue +15 -5
  703. package/src/components/or-error-tag-v3/OrErrorTag.vue +0 -7
  704. package/src/components/or-error-v3/OrError.vue +0 -7
  705. package/src/components/or-expansion-panel-v3/OrExpansionPanel.vue +0 -7
  706. package/src/components/or-fab-v3/OrFab.vue +0 -3
  707. package/src/components/or-hint-v3/OrHint.vue +0 -7
  708. package/src/components/or-icon-button-v3/OrIconButton.stories3.ts +4 -0
  709. package/src/components/or-icon-button-v3/OrIconButton.vue +6 -4
  710. package/src/components/or-icon-button-v3/styles.ts +13 -0
  711. package/src/components/or-icon-v3/OrIcon.vue +0 -7
  712. package/src/components/or-inline-input-box-v3/OrInlineInputBox.vue +0 -7
  713. package/src/components/or-inline-input-v3/OrInlineInput.stories3.ts +0 -6
  714. package/src/components/or-inline-input-v3/OrInlineInput.vue +36 -27
  715. package/src/components/or-inline-textarea-v3/OrInlineTextarea.stories3.ts +0 -6
  716. package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +36 -27
  717. package/src/components/or-input/index.ts +1 -0
  718. package/src/components/or-input-box-v3/OrInputBox.vue +0 -7
  719. package/src/components/or-input-v3/OrInput.stories3.ts +4 -10
  720. package/src/components/or-input-v3/OrInput.vue +37 -34
  721. package/src/components/or-label-v3/OrLabel.vue +0 -7
  722. package/src/components/or-link-v3/OrLink.vue +0 -7
  723. package/src/components/or-list/OrList.stories.ts +1 -1
  724. package/src/components/or-list-of-inputs/OrListOfInputs.vue +1 -1
  725. package/src/components/or-loader-v3/OrLoader.vue +1 -8
  726. package/src/components/or-menu-item-v3/OrMenuItem.vue +0 -7
  727. package/src/components/or-menu-v3/OrMenu.vue +0 -7
  728. package/src/components/or-modal/OrModal.stories.ts +1 -1
  729. package/src/components/or-modal-v3/OrModal.vue +0 -4
  730. package/src/components/or-notification/OrNotification.vue +1 -26
  731. package/src/components/or-notification-v3/OrNotification.vue +0 -7
  732. package/src/components/{or-inputs → or-number-input}/OrNumberInput.vue +1 -1
  733. package/src/components/or-number-input/index.ts +1 -0
  734. package/src/components/or-overlay-v3/OrOverlay.vue +1 -4
  735. package/src/components/or-pagination-v3/OrPagination.stories3.ts +0 -6
  736. package/src/components/or-pagination-v3/OrPagination.vue +9 -27
  737. package/src/components/{or-inputs → or-password}/OrPassword.vue +1 -1
  738. package/src/components/or-password/index.ts +1 -0
  739. package/src/components/or-popover-v3/OrPopover.vue +1 -4
  740. package/src/components/or-progress-v3/OrProgress.vue +3 -20
  741. package/src/components/or-radio-v3/OrRadio.stories3.ts +3 -10
  742. package/src/components/or-radio-v3/OrRadio.vue +33 -25
  743. package/src/components/{or-inputs → or-search}/OrSearch.vue +1 -1
  744. package/src/components/or-search/index.ts +1 -0
  745. package/src/components/or-search-v3/OrSearch.stories3.ts +0 -2
  746. package/src/components/or-search-v3/OrSearch.vue +1 -8
  747. package/src/components/or-segmented-control-v3/OrSegmentedControl.stories3.ts +0 -6
  748. package/src/components/or-segmented-control-v3/OrSegmentedControl.vue +6 -18
  749. package/src/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/OrSegmentedControlItem.vue +0 -7
  750. package/src/components/or-select-v3/OrSelect.stories3.ts +0 -6
  751. package/src/components/or-select-v3/OrSelect.vue +8 -18
  752. package/src/components/or-skeleton/styles.scss +3 -18
  753. package/src/components/or-skeleton-v3/OrSkeletonCircle.vue +2 -8
  754. package/src/components/or-skeleton-v3/OrSkeletonRect.vue +3 -8
  755. package/src/components/or-skeleton-v3/OrSkeletonText.vue +5 -9
  756. package/src/components/or-sort-header-v3/OrSortHeader.stories3.ts +3 -10
  757. package/src/components/or-sort-header-v3/OrSortHeader.vue +8 -19
  758. package/src/components/or-stepper/OrStepper.stories.ts +1 -1
  759. package/src/components/or-switch-v3/OrSwitch.stories3.ts +3 -10
  760. package/src/components/or-switch-v3/OrSwitch.vue +33 -25
  761. package/src/components/or-tab-v3/OrTab.vue +0 -7
  762. package/src/components/or-tabs-v3/OrTabs.stories3.ts +0 -6
  763. package/src/components/or-tabs-v3/OrTabs.vue +7 -16
  764. package/src/components/or-tag-v3/OrTag.vue +0 -7
  765. package/src/components/or-text-v3/OrText.vue +0 -7
  766. package/src/components/{or-inputs → or-textarea}/OrTextarea.vue +225 -6
  767. package/src/components/or-textarea/index.ts +1 -0
  768. package/src/components/or-textarea-v3/OrTextarea.stories3.ts +4 -10
  769. package/src/components/or-textarea-v3/OrTextarea.vue +41 -28
  770. package/src/components/or-tooltip-v3/OrTooltip.vue +0 -7
  771. package/src/hooks/index.ts +3 -1
  772. package/src/hooks/useControlAttributes.ts +19 -0
  773. package/src/hooks/useIdAttribute.ts +9 -0
  774. package/src/hooks/useValidationAttributes.ts +25 -0
  775. package/dist/bundled/v2/components/or-inputs/index.d.ts +0 -5
  776. package/dist/bundled/v2/hooks/useClassAttribute.d.ts +0 -3
  777. package/dist/bundled/v2/useClassAttribute-9bf33346.js +0 -33
  778. package/dist/bundled/v3/OrIcon-d878b768.js +0 -13
  779. package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-13bc5b00.js +0 -390
  780. package/dist/bundled/v3/components/or-inputs/index.d.ts +0 -5
  781. package/dist/bundled/v3/hooks/useClassAttribute.d.ts +0 -3
  782. package/dist/bundled/v3/useClassAttribute-00888f78.js +0 -9
  783. package/dist/esm/v2/components/or-inputs/index.d.ts +0 -5
  784. package/dist/esm/v2/hooks/useClassAttribute.d.ts +0 -3
  785. package/dist/esm/v2/useClassAttribute-47fdb016.js +0 -32
  786. package/dist/esm/v3/OrSearch-7cb2c91c.js +0 -1075
  787. package/dist/esm/v3/components/or-inputs/index.d.ts +0 -5
  788. package/dist/esm/v3/hooks/useClassAttribute.d.ts +0 -3
  789. package/dist/esm/v3/useClassAttribute-47fdb016.js +0 -32
  790. package/src/components/or-inputs/index.ts +0 -5
  791. package/src/hooks/useClassAttribute.ts +0 -39
  792. /package/dist/bundled/v2/{OrInput-08f2f666.js → OrInput-df1a14fa.js} +0 -0
  793. /package/dist/bundled/v2/components/{or-inputs → or-input}/OrInput.vue.d.ts +0 -0
  794. /package/dist/bundled/v2/components/{or-inputs → or-number-input}/OrNumberInput.vue.d.ts +0 -0
  795. /package/dist/bundled/v2/components/{or-inputs → or-password}/OrPassword.vue.d.ts +0 -0
  796. /package/dist/bundled/v2/components/{or-inputs → or-search}/OrSearch.vue.d.ts +0 -0
  797. /package/dist/bundled/v2/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.d.ts +0 -0
  798. /package/dist/bundled/v2/components/{or-inputs → or-textarea}/OrTextarea.vue.d.ts +0 -0
  799. /package/dist/bundled/v3/components/{or-inputs → or-input}/OrInput.vue.d.ts +0 -0
  800. /package/dist/bundled/v3/components/{or-inputs → or-number-input}/OrNumberInput.vue.d.ts +0 -0
  801. /package/dist/bundled/v3/components/{or-inputs → or-password}/OrPassword.vue.d.ts +0 -0
  802. /package/dist/bundled/v3/components/{or-inputs → or-search}/OrSearch.vue.d.ts +0 -0
  803. /package/dist/bundled/v3/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.d.ts +0 -0
  804. /package/dist/bundled/v3/components/{or-inputs → or-textarea}/OrTextarea.vue.d.ts +0 -0
  805. /package/dist/esm/v2/components/{or-inputs → or-input}/OrInput.vue.d.ts +0 -0
  806. /package/dist/esm/v2/components/{or-inputs → or-number-input}/OrNumberInput.vue.d.ts +0 -0
  807. /package/dist/esm/v2/components/{or-inputs → or-password}/OrPassword.vue.d.ts +0 -0
  808. /package/dist/esm/v2/components/{or-inputs → or-search}/OrSearch.vue.d.ts +0 -0
  809. /package/dist/esm/v2/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.d.ts +0 -0
  810. /package/dist/esm/v2/components/{or-inputs → or-textarea}/OrTextarea.vue.d.ts +0 -0
  811. /package/dist/esm/v3/components/{or-inputs → or-input}/OrInput.vue.d.ts +0 -0
  812. /package/dist/esm/v3/components/{or-inputs → or-number-input}/OrNumberInput.vue.d.ts +0 -0
  813. /package/dist/esm/v3/components/{or-inputs → or-password}/OrPassword.vue.d.ts +0 -0
  814. /package/dist/esm/v3/components/{or-inputs → or-search}/OrSearch.vue.d.ts +0 -0
  815. /package/dist/esm/v3/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.d.ts +0 -0
  816. /package/dist/esm/v3/components/{or-inputs → or-textarea}/OrTextarea.vue.d.ts +0 -0
  817. /package/src/components/{or-inputs → or-input}/OrInput.stories.ts +0 -0
  818. /package/src/components/{or-inputs → or-input}/OrInput.vue +0 -0
  819. /package/src/components/{or-inputs → or-input}/or-textbox-migration.stories.mdx +0 -0
  820. /package/src/components/{or-inputs → or-input}/styles.scss +0 -0
  821. /package/src/components/{or-inputs → or-number-input}/OrNumberInput.stories.ts +0 -0
  822. /package/src/components/{or-inputs → or-password}/OrPassword.stories.ts +0 -0
  823. /package/src/components/{or-inputs → or-search}/OrSearch.stories.ts +0 -0
  824. /package/src/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.ts +0 -0
  825. /package/src/components/{or-inputs → or-textarea}/OrTextarea.stories.ts +0 -0
@@ -9,9 +9,9 @@
9
9
  :invalid="invalid"
10
10
  >
11
11
  <input
12
- :id="controlId"
12
+ ref="control"
13
13
  v-model="draftModelValue"
14
- v-bind="$attrs"
14
+ v-bind="controlAttributes"
15
15
  :class="controlStyles"
16
16
  :type="type"
17
17
  :placeholder="placeholder"
@@ -71,8 +71,8 @@
71
71
  </template>
72
72
 
73
73
  <script lang="ts">
74
- import { computed, defineComponent, getCurrentInstance, PropType, ref, watch } from 'vue-demi';
75
- import { useClassAttribute } from '../../hooks';
74
+ import { computed, defineComponent, PropType, reactive, ref, watch } from 'vue-demi';
75
+ import { useControlAttributes, useIdAttribute, useValidationAttributes } from '../../hooks';
76
76
  import { OrErrorV3 as OrError } from '../or-error-v3';
77
77
  import { OrHintV3 as OrHint } from '../or-hint-v3';
78
78
  import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3';
@@ -90,7 +90,10 @@ export default defineComponent({
90
90
  OrInlineInputBox,
91
91
  },
92
92
 
93
- inheritAttrs: false,
93
+ model: {
94
+ prop: 'modelValue',
95
+ event: 'update:modelValue',
96
+ },
94
97
 
95
98
  props: {
96
99
  modelValue: {
@@ -98,11 +101,6 @@ export default defineComponent({
98
101
  default: undefined,
99
102
  },
100
103
 
101
- value: { // TODO: Remove Vue 2 fallback
102
- type: [String, Number],
103
- default: undefined,
104
- },
105
-
106
104
  saveOnBlur: {
107
105
  type: Boolean,
108
106
  default: false,
@@ -137,7 +135,6 @@ export default defineComponent({
137
135
  emits: [
138
136
  'update:modelValue',
139
137
 
140
- 'input',
141
138
  'keydown',
142
139
  'keyup',
143
140
  'focus',
@@ -146,21 +143,20 @@ export default defineComponent({
146
143
 
147
144
  expose: [
148
145
  'root',
146
+
147
+ 'focus',
148
+ 'blur',
149
149
  ],
150
150
 
151
151
  setup(props, context) {
152
- const currentInstance = getCurrentInstance()!;
153
-
154
152
  // Refs
155
153
  const root = ref<HTMLElement>();
154
+ const control = ref<HTMLInputElement>();
156
155
 
157
156
  // Styles
158
- const classAttribute = useClassAttribute();
159
-
160
157
  const rootStyles = computed(() => [
161
158
  'or-inline-input',
162
159
  ...InlineInputRoot,
163
- classAttribute.value,
164
160
  ]);
165
161
 
166
162
  const controlStyles = computed(() => [
@@ -173,26 +169,28 @@ export default defineComponent({
173
169
  ]);
174
170
 
175
171
  // State
176
- const controlId = ref(context.attrs.id as string ?? currentInstance.uid.toString());
172
+ const controlAttributes = reactive({
173
+ id: useIdAttribute(),
174
+ ...useControlAttributes(),
175
+ ...useValidationAttributes(),
176
+ });
177
177
 
178
178
  const proxyModelValue = computed({
179
- get: () => {
180
- return props.modelValue ?? props.value; // TODO: Remove Vue 2 fallback
181
- },
179
+ get: () => props.modelValue,
182
180
 
183
181
  set: (value) => {
184
- context.emit('input', value);
185
182
  context.emit('update:modelValue', value);
186
183
  },
187
184
  });
188
185
 
189
186
  const draftModelValue = ref<string | number>('');
190
187
 
191
- const activated = ref(false);
188
+ const currentLength = computed(() => draftModelValue.value?.toString().length ?? 0);
189
+ const maxLength = computed(() => controlAttributes.maxlength);
190
+
192
191
  const invalid = computed(() => !!props.error);
193
192
 
194
- const currentLength = computed(() => draftModelValue.value?.toString().length ?? 0);
195
- const maxLength = computed(() => context.attrs.maxlength as number | undefined);
193
+ const activated = ref(false);
196
194
 
197
195
  // Handlers
198
196
  function onFocus(event: Event): void {
@@ -210,6 +208,14 @@ export default defineComponent({
210
208
  }
211
209
 
212
210
  // Methods
211
+ function focus(): void {
212
+ control.value?.focus();
213
+ }
214
+
215
+ function blur(): void {
216
+ control.value?.blur();
217
+ }
218
+
213
219
  function apply(): void {
214
220
  if (draftModelValue.value !== proxyModelValue.value) {
215
221
  proxyModelValue.value = draftModelValue.value;
@@ -233,18 +239,21 @@ export default defineComponent({
233
239
 
234
240
  return {
235
241
  root,
242
+ control,
236
243
  rootStyles,
237
244
  controlStyles,
238
245
  actionStyles,
239
- controlId,
246
+ controlAttributes,
240
247
  proxyModelValue,
241
248
  draftModelValue,
242
- activated,
243
- invalid,
244
249
  currentLength,
245
250
  maxLength,
251
+ invalid,
252
+ activated,
246
253
  onFocus,
247
254
  onBlur,
255
+ focus,
256
+ blur,
248
257
  apply,
249
258
  reset,
250
259
  };
@@ -23,10 +23,6 @@ export default {
23
23
  control: { type: 'text' },
24
24
  },
25
25
 
26
- value: { // TODO: Remove Vue 2 fallback
27
- table: { disable: true },
28
- },
29
-
30
26
  saveOnBlur: {
31
27
  control: { type: 'boolean' },
32
28
  },
@@ -101,7 +97,6 @@ const Template: StoryFn<typeof OrInlineTextarea> = (args) => ({
101
97
  args,
102
98
  model,
103
99
  onUpdateModelValue: action('update:modelValue'),
104
- onInput: action('input'),
105
100
  onKeydown: action('keydown'),
106
101
  onKeyup: action('keyup'),
107
102
  onFocus: action('focus'),
@@ -114,7 +109,6 @@ const Template: StoryFn<typeof OrInlineTextarea> = (args) => ({
114
109
  v-model="model"
115
110
  v-bind="args"
116
111
  @update:modelValue="onUpdateModelValue"
117
- @input="onInput"
118
112
  @keydown="onKeydown"
119
113
  @keyup="onKeyup"
120
114
  @focus="onFocus"
@@ -9,9 +9,9 @@
9
9
  :invalid="invalid"
10
10
  >
11
11
  <textarea
12
- :id="controlId"
12
+ ref="control"
13
13
  v-model="draftModelValue"
14
- v-bind="$attrs"
14
+ v-bind="controlAttributes"
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, getCurrentInstance, ref, watch } from 'vue-demi';
74
- import { useClassAttribute } from '../../hooks';
73
+ import { computed, defineComponent, reactive, ref, watch } from 'vue-demi';
74
+ import { useControlAttributes, useIdAttribute, useValidationAttributes } 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,7 +88,10 @@ export default defineComponent({
88
88
  OrInlineInputBox,
89
89
  },
90
90
 
91
- inheritAttrs: false,
91
+ model: {
92
+ prop: 'modelValue',
93
+ event: 'update:modelValue',
94
+ },
92
95
 
93
96
  props: {
94
97
  modelValue: {
@@ -96,11 +99,6 @@ export default defineComponent({
96
99
  default: undefined,
97
100
  },
98
101
 
99
- value: { // TODO: Remove Vue 2 fallback
100
- type: String,
101
- default: undefined,
102
- },
103
-
104
102
  saveOnBlur: {
105
103
  type: Boolean,
106
104
  default: false,
@@ -125,7 +123,6 @@ export default defineComponent({
125
123
  emits: [
126
124
  'update:modelValue',
127
125
 
128
- 'input',
129
126
  'keydown',
130
127
  'keyup',
131
128
  'focus',
@@ -134,21 +131,20 @@ export default defineComponent({
134
131
 
135
132
  expose: [
136
133
  'root',
134
+
135
+ 'focus',
136
+ 'blur',
137
137
  ],
138
138
 
139
139
  setup(props, context) {
140
- const currentInstance = getCurrentInstance()!;
141
-
142
140
  // Refs
143
141
  const root = ref<HTMLElement>();
142
+ const control = ref<HTMLTextAreaElement>();
144
143
 
145
144
  // Styles
146
- const classAttribute = useClassAttribute();
147
-
148
145
  const rootStyles = computed(() => [
149
146
  'or-inline-textarea',
150
147
  ...InlineTextareaRoot,
151
- classAttribute.value,
152
148
  ]);
153
149
 
154
150
  const controlStyles = computed(() => [
@@ -160,26 +156,28 @@ export default defineComponent({
160
156
  ]);
161
157
 
162
158
  // State
163
- const controlId = ref(context.attrs.id as string ?? currentInstance.uid.toString());
159
+ const controlAttributes = reactive({
160
+ id: useIdAttribute(),
161
+ ...useControlAttributes(),
162
+ ...useValidationAttributes(),
163
+ });
164
164
 
165
165
  const proxyModelValue = computed({
166
- get: () => {
167
- return props.modelValue ?? props.value; // TODO: Remove Vue 2 fallback
168
- },
166
+ get: () => props.modelValue,
169
167
 
170
168
  set: (value) => {
171
- context.emit('input', value);
172
169
  context.emit('update:modelValue', value);
173
170
  },
174
171
  });
175
172
 
176
173
  const draftModelValue = ref<string>('');
177
174
 
178
- const activated = ref(false);
175
+ const currentLength = computed(() => draftModelValue.value?.toString().length ?? 0);
176
+ const maxLength = computed(() => controlAttributes.maxlength);
177
+
179
178
  const invalid = computed(() => !!props.error);
180
179
 
181
- const currentLength = computed(() => draftModelValue.value?.toString().length ?? 0);
182
- const maxLength = computed(() => context.attrs.maxlength as number | undefined);
180
+ const activated = ref(false);
183
181
 
184
182
  // Handlers
185
183
  function onFocus(event: Event): void {
@@ -197,6 +195,14 @@ export default defineComponent({
197
195
  }
198
196
 
199
197
  // Methods
198
+ function focus(): void {
199
+ control.value?.focus();
200
+ }
201
+
202
+ function blur(): void {
203
+ control.value?.blur();
204
+ }
205
+
200
206
  function apply(): void {
201
207
  if (draftModelValue.value !== proxyModelValue.value) {
202
208
  proxyModelValue.value = draftModelValue.value;
@@ -220,18 +226,21 @@ export default defineComponent({
220
226
 
221
227
  return {
222
228
  root,
229
+ control,
223
230
  rootStyles,
224
231
  controlStyles,
225
232
  actionStyles,
226
- controlId,
233
+ controlAttributes,
227
234
  proxyModelValue,
228
235
  draftModelValue,
229
- activated,
230
- invalid,
231
236
  currentLength,
232
237
  maxLength,
238
+ invalid,
239
+ activated,
233
240
  onFocus,
234
241
  onBlur,
242
+ focus,
243
+ blur,
235
244
  apply,
236
245
  reset,
237
246
  };
@@ -0,0 +1 @@
1
+ export { default as OrInput } from './OrInput.vue';
@@ -1,7 +1,6 @@
1
1
  <template>
2
2
  <div
3
3
  ref="root"
4
- v-bind="$attrs"
5
4
  :class="rootStyles"
6
5
  :invalid="invalid ? '' : null"
7
6
  :readonly="readonly ? '' : null"
@@ -13,15 +12,12 @@
13
12
 
14
13
  <script lang="ts">
15
14
  import { computed, defineComponent, PropType, ref } from 'vue-demi';
16
- import { useClassAttribute } from '../../hooks';
17
15
  import { InputBoxSize, InputBoxVariant } from './props';
18
16
  import { InputBoxRoot, InputBoxRootSizes, InputBoxRootVariants } from './styles';
19
17
 
20
18
  export default defineComponent({
21
19
  name: 'OrInputBox',
22
20
 
23
- inheritAttrs: false,
24
-
25
21
  props: {
26
22
  variant: {
27
23
  type: String as PropType<InputBoxVariant>,
@@ -58,14 +54,11 @@ export default defineComponent({
58
54
  const root = ref<HTMLElement>();
59
55
 
60
56
  // Styles
61
- const classAttribute = useClassAttribute();
62
-
63
57
  const rootStyles = computed(() => [
64
58
  'or-input-box',
65
59
  ...InputBoxRoot,
66
60
  ...InputBoxRootVariants[props.variant],
67
61
  ...InputBoxRootSizes[props.size],
68
- classAttribute.value,
69
62
  ]);
70
63
 
71
64
  return {
@@ -17,10 +17,6 @@ export default {
17
17
  control: { type: 'text' },
18
18
  },
19
19
 
20
- readonly: {
21
- control: { type: 'boolean' },
22
- },
23
-
24
20
  maxlength: {
25
21
  control: { type: 'number' },
26
22
  },
@@ -40,10 +36,6 @@ export default {
40
36
  control: { type: 'text' },
41
37
  },
42
38
 
43
- value: { // TODO: Remove Vue 2 fallback
44
- table: { disable: true },
45
- },
46
-
47
39
  type: {
48
40
  control: { type: 'select' },
49
41
  options: Object.values(InputType),
@@ -74,6 +66,10 @@ export default {
74
66
  control: { type: 'boolean' },
75
67
  },
76
68
 
69
+ readonly: {
70
+ control: { type: 'boolean' },
71
+ },
72
+
77
73
  disabled: {
78
74
  control: { type: 'boolean' },
79
75
  },
@@ -141,7 +137,6 @@ const Template: StoryFn<typeof OrInput> = (args) => ({
141
137
  args,
142
138
  model,
143
139
  onUpdateModelValue: action('update:modelValue'),
144
- onInput: action('input'),
145
140
  onKeydown: action('keydown'),
146
141
  onKeyup: action('keyup'),
147
142
  onFocus: action('focus'),
@@ -154,7 +149,6 @@ const Template: StoryFn<typeof OrInput> = (args) => ({
154
149
  v-model="model"
155
150
  v-bind="args"
156
151
  @update:modelValue="onUpdateModelValue"
157
- @input="onInput"
158
152
  @keydown="onKeydown"
159
153
  @keyup="onKeyup"
160
154
  @focus="onFocus"
@@ -5,7 +5,7 @@
5
5
  >
6
6
  <template v-if="label">
7
7
  <OrLabel
8
- :control-id="controlId"
8
+ :control-id="controlAttributes.id"
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
- :id="controlId"
30
- ref="input"
29
+ ref="control"
31
30
  v-model="proxyModelValue"
32
- v-bind="$attrs"
31
+ v-bind="controlAttributes"
33
32
  :class="controlStyles"
34
33
  :type="type === 'password' && disclosed ? 'text' : type"
35
34
  :placeholder="placeholder"
36
35
  :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="disabled"
59
+ :disabled="readonly || 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, getCurrentInstance, PropType, ref } from 'vue-demi';
106
- import { useClassAttribute } from '../../hooks';
105
+ import { computed, defineComponent, PropType, reactive, ref } from 'vue-demi';
106
+ import { useControlAttributes, useIdAttribute, useValidationAttributes } 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,7 +125,10 @@ export default defineComponent({
125
125
  OrLabel,
126
126
  },
127
127
 
128
- inheritAttrs: false,
128
+ model: {
129
+ prop: 'modelValue',
130
+ event: 'update:modelValue',
131
+ },
129
132
 
130
133
  props: {
131
134
  modelValue: {
@@ -133,11 +136,6 @@ export default defineComponent({
133
136
  default: undefined,
134
137
  },
135
138
 
136
- value: { // TODO: Remove Vue 2 fallback
137
- type: [String, Number],
138
- default: undefined,
139
- },
140
-
141
139
  type: {
142
140
  type: String as PropType<InputType>,
143
141
  default: InputType.Text,
@@ -173,6 +171,11 @@ export default defineComponent({
173
171
  default: false,
174
172
  },
175
173
 
174
+ readonly: {
175
+ type: Boolean,
176
+ default: false,
177
+ },
178
+
176
179
  disabled: {
177
180
  type: Boolean,
178
181
  default: false,
@@ -187,7 +190,6 @@ export default defineComponent({
187
190
  emits: [
188
191
  'update:modelValue',
189
192
 
190
- 'input',
191
193
  'keydown',
192
194
  'keyup',
193
195
  'focus',
@@ -196,23 +198,20 @@ export default defineComponent({
196
198
 
197
199
  expose: [
198
200
  'root',
201
+
199
202
  'focus',
203
+ 'blur',
200
204
  ],
201
205
 
202
206
  setup(props, context) {
203
- const currentInstance = getCurrentInstance()!;
204
-
205
207
  // Refs
206
208
  const root = ref<HTMLElement>();
207
- const input = ref<HTMLInputElement>();
209
+ const control = ref<HTMLInputElement>();
208
210
 
209
211
  // Styles
210
- const classAttribute = useClassAttribute();
211
-
212
212
  const rootStyles = computed(() => [
213
213
  'or-input',
214
214
  ...InputRoot,
215
- classAttribute.value,
216
215
  ]);
217
216
 
218
217
  const controlStyles = computed(() => [
@@ -220,45 +219,49 @@ export default defineComponent({
220
219
  ]);
221
220
 
222
221
  // State
223
- const controlId = ref(context.attrs.id as string ?? currentInstance.uid.toString());
222
+ const controlAttributes = reactive({
223
+ id: useIdAttribute(),
224
+ ...useControlAttributes(),
225
+ ...useValidationAttributes(),
226
+ });
224
227
 
225
228
  const proxyModelValue = computed({
226
- get: () => {
227
- return props.modelValue ?? props.value; // TODO: Remove Vue 2 fallback
228
- },
229
+ get: () => props.modelValue,
229
230
 
230
231
  set: (value) => {
231
- context.emit('input', value);
232
232
  context.emit('update:modelValue', value);
233
233
  },
234
234
  });
235
235
 
236
- const invalid = computed(() => !!props.error);
237
- const readonly = computed(() => context.attrs.readonly as boolean);
238
-
239
236
  const currentLength = computed(() => proxyModelValue.value?.toString().length ?? 0);
240
- const maxLength = computed(() => context.attrs.maxlength as number | undefined);
237
+ const maxLength = computed(() => controlAttributes.maxlength);
238
+
239
+ const invalid = computed(() => !!props.error);
241
240
 
242
241
  const disclosed = ref(false);
243
242
 
244
243
  // Methods
245
244
  function focus(): void {
246
- input.value?.focus();
245
+ control.value?.focus();
246
+ }
247
+
248
+ function blur(): void {
249
+ control.value?.blur();
247
250
  }
248
251
 
249
252
  return {
250
253
  root,
251
- input,
254
+ control,
252
255
  rootStyles,
253
256
  controlStyles,
254
- controlId,
257
+ controlAttributes,
255
258
  proxyModelValue,
256
- invalid,
257
- readonly,
258
259
  currentLength,
259
260
  maxLength,
261
+ invalid,
260
262
  disclosed,
261
263
  focus,
264
+ blur,
262
265
  };
263
266
  },
264
267
  });
@@ -1,7 +1,6 @@
1
1
  <template>
2
2
  <div
3
3
  ref="root"
4
- v-bind="$attrs"
5
4
  :class="rootStyles"
6
5
  :disabled="disabled ? '' : null"
7
6
  >
@@ -22,15 +21,12 @@
22
21
 
23
22
  <script lang="ts">
24
23
  import { computed, defineComponent, PropType, ref } from 'vue-demi';
25
- import { useClassAttribute } from '../../hooks';
26
24
  import { LabelVariant } from './props';
27
25
  import { LabelAddon, LabelRoot, LabelRootVariants, LabelText } from './styles';
28
26
 
29
27
  export default defineComponent({
30
28
  name: 'OrLabel',
31
29
 
32
- inheritAttrs: false,
33
-
34
30
  props: {
35
31
  controlId: {
36
32
  type: String,
@@ -62,13 +58,10 @@ export default defineComponent({
62
58
  const root = ref<HTMLElement>();
63
59
 
64
60
  // Styles
65
- const classAttribute = useClassAttribute();
66
-
67
61
  const rootStyles = computed(() => [
68
62
  'or-label',
69
63
  ...LabelRoot,
70
64
  ...LabelRootVariants[props.variant],
71
- classAttribute.value,
72
65
  ]);
73
66
 
74
67
  const textStyles = computed(() => [
@@ -1,7 +1,6 @@
1
1
  <template>
2
2
  <a
3
3
  ref="root"
4
- v-bind="$attrs"
5
4
  :class="rootStyles"
6
5
  :href="href"
7
6
  :disabled="disabled ? '' : null"
@@ -18,15 +17,12 @@
18
17
 
19
18
  <script lang="ts">
20
19
  import { computed, defineComponent, PropType, ref } from 'vue-demi';
21
- import { useClassAttribute } from '../../hooks';
22
20
  import { LinkColor } from './props';
23
21
  import { LinkRoot, LinkRootColors } from './styles';
24
22
 
25
23
  export default defineComponent({
26
24
  name: 'OrLink',
27
25
 
28
- inheritAttrs: false,
29
-
30
26
  props: {
31
27
  href: {
32
28
  type: String,
@@ -68,15 +64,12 @@ export default defineComponent({
68
64
  const root = ref<HTMLButtonElement>();
69
65
 
70
66
  // Styles
71
- const classAttribute = useClassAttribute();
72
-
73
67
  const rootStyles = computed(() => [
74
68
  'or-link',
75
69
  ...LinkRoot,
76
70
  ...LinkRootColors[`${props.color}`],
77
71
  props.loading && 'interactivity-none',
78
72
  props.underlined && 'underline hover:no-underline',
79
- classAttribute.value,
80
73
  ]);
81
74
 
82
75
  return {
@@ -1,7 +1,7 @@
1
1
  import OrList from './OrList.vue';
2
2
  import { OrIcon } from '../or-icon';
3
3
  import { OrButtonV2 as OrButton } from '../or-button-v2';
4
- import { OrInput } from '../or-inputs';
4
+ import { OrInput } from '../or-input';
5
5
 
6
6
  import { ArgTypes, Story } from '@storybook/vue';
7
7
  import { action } from '@storybook/addon-actions';