@onereach/ui-components 2.71.1-beta.2227.0 → 2.71.1-beta.2232.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 (656) 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-f6c1318a.js → OrCardCollection-091e2193.js} +9 -12
  6. package/dist/bundled/v2/{OrCheckbox-dbef9f9a.js → OrCheckbox-9be450f9.js} +41 -34
  7. package/dist/bundled/v2/{OrConfirm-371a99bf.js → OrConfirm-bb2df177.js} +4 -3
  8. package/dist/bundled/v2/{OrError-aad17598.js → OrError-52f668a4.js} +3 -6
  9. package/dist/bundled/v2/{OrErrorTag-d0c5bcf4.js → OrErrorTag-97a9112b.js} +4 -7
  10. package/dist/bundled/v2/{OrExpansionPanel-d9a260e2.js → OrExpansionPanel-96b8f568.js} +4 -7
  11. package/dist/bundled/v2/{OrFab-7cc75893.js → OrFab-ed69dee1.js} +3 -4
  12. package/dist/bundled/v2/{OrHint-f38a1940.js → OrHint-fde53334.js} +3 -6
  13. package/dist/bundled/v2/{OrIcon-8625385f.js → OrIcon-458206aa.js} +3 -6
  14. package/dist/bundled/v2/{OrIconButton-a2ba92df.js → OrIconButton-4bdd1566.js} +3 -5
  15. package/dist/bundled/v2/{OrInlineInput-87589946.js → OrInlineInput-b009a043.js} +47 -39
  16. package/dist/bundled/v2/{OrInlineInputBox-f457210f.js → OrInlineInputBox-7a8e645b.js} +3 -6
  17. package/dist/bundled/v2/{OrInlineTextarea-21b0e6fc.js → OrInlineTextarea-6e8c1f80.js} +43 -35
  18. package/dist/bundled/v2/{OrInput-b0cdd2ae.js → OrInput-5404a234.js} +54 -68
  19. package/dist/bundled/v2/{OrInputBox-79ec54ad.js → OrInputBox-2f559e98.js} +3 -6
  20. package/dist/bundled/v2/{OrLabel-172c4b89.js → OrLabel-aff09c39.js} +3 -6
  21. package/dist/bundled/v2/{OrLink-e7b57307.js → OrLink-0d952e87.js} +3 -6
  22. package/dist/bundled/v2/{OrLoader-6a1f937b.js → OrLoader-864ef92a.js} +3 -6
  23. package/dist/bundled/v2/{OrMenu-fa47c888.js → OrMenu-52da43bc.js} +4 -7
  24. package/dist/bundled/v2/{OrMenuItem-26420908.js → OrMenuItem-e2693a5f.js} +4 -7
  25. package/dist/bundled/v2/{OrModal-af6677fd.js → OrModal-51b9f3e7.js} +3 -5
  26. package/dist/bundled/v2/{OrNotification-3250f58b.js → OrNotification-7f761f25.js} +5 -8
  27. package/dist/bundled/v2/{OrOverlay-3c89d622.js → OrOverlay-efa7992e.js} +1 -3
  28. package/dist/bundled/v2/{OrPagination-379c10b8.js → OrPagination-daf25de2.js} +15 -25
  29. package/dist/bundled/v2/{OrPopover-5dc240f1.js → OrPopover-4e8acb7b.js} +2 -4
  30. package/dist/bundled/v2/{OrProgress-cc397a38.js → OrProgress-15fe65ec.js} +4 -7
  31. package/dist/bundled/v2/{OrRadio-cd39b20b.js → OrRadio-fe23947a.js} +39 -32
  32. package/dist/bundled/v2/{OrSearch-fe562cfd.js → OrSearch-d1169241.js} +6 -9
  33. package/dist/bundled/v2/{OrSegmentedControl-21cc914e.js → OrSegmentedControl-878279bf.js} +12 -22
  34. package/dist/bundled/v2/{OrSelect-0c169a4f.js → OrSelect-5634790b.js} +22 -30
  35. package/dist/bundled/v2/{OrSkeletonText-516993b4.js → OrSkeletonText-9a2f39dc.js} +11 -18
  36. package/dist/bundled/v2/{OrSortHeader-9932d28f.js → OrSortHeader-565ace92.js} +12 -20
  37. package/dist/bundled/v2/{OrSwitch-237a2081.js → OrSwitch-782d7b43.js} +40 -33
  38. package/dist/bundled/v2/{OrTab-dd949240.js → OrTab-8c5acf8a.js} +3 -6
  39. package/dist/bundled/v2/{OrTabs-42f7c52c.js → OrTabs-d69780fc.js} +12 -19
  40. package/dist/bundled/v2/{OrTag-30fecee5.js → OrTag-8d738be6.js} +4 -7
  41. package/dist/bundled/v2/{OrText-eac4b9f5.js → OrText-a665b991.js} +3 -6
  42. package/dist/bundled/v2/{OrTextarea-5593fbe9.js → OrTextarea-5c57c02b.js} +49 -37
  43. package/dist/bundled/v2/{OrTooltip-fbfa05fd.js → OrTooltip-b1f38647.js} +4 -7
  44. package/dist/bundled/v2/components/index.js +47 -46
  45. package/dist/bundled/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
  46. package/dist/bundled/v2/components/or-avatar-v3/index.js +2 -3
  47. package/dist/bundled/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
  48. package/dist/bundled/v2/components/or-bottom-sheet-v3/index.js +2 -3
  49. package/dist/bundled/v2/components/or-button-v3/OrButton.vue.d.ts +2 -2
  50. package/dist/bundled/v2/components/or-button-v3/index.js +2 -3
  51. package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
  52. package/dist/bundled/v2/components/or-card-collection-v3/index.js +19 -18
  53. package/dist/bundled/v2/components/or-card-v3/OrCard.vue.d.ts +2 -2
  54. package/dist/bundled/v2/components/or-card-v3/index.js +1 -2
  55. package/dist/bundled/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +23 -18
  56. package/dist/bundled/v2/components/or-checkbox-v3/index.js +3 -3
  57. package/dist/bundled/v2/components/or-confirm-v3/index.js +16 -15
  58. package/dist/bundled/v2/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
  59. package/dist/bundled/v2/components/or-error-tag-v3/index.js +2 -3
  60. package/dist/bundled/v2/components/or-error-v3/OrError.vue.d.ts +2 -2
  61. package/dist/bundled/v2/components/or-error-v3/index.js +1 -2
  62. package/dist/bundled/v2/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
  63. package/dist/bundled/v2/components/or-expansion-panel-v3/index.js +2 -3
  64. package/dist/bundled/v2/components/or-fab-v3/index.js +2 -3
  65. package/dist/bundled/v2/components/or-hint-v3/OrHint.vue.d.ts +2 -2
  66. package/dist/bundled/v2/components/or-hint-v3/index.js +1 -2
  67. package/dist/bundled/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -2
  68. package/dist/bundled/v2/components/or-icon-button-v3/index.js +6 -7
  69. package/dist/bundled/v2/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
  70. package/dist/bundled/v2/components/or-icon-v3/index.js +1 -2
  71. package/dist/bundled/v2/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
  72. package/dist/bundled/v2/components/or-inline-input-box-v3/index.js +1 -2
  73. package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +38 -19
  74. package/dist/bundled/v2/components/or-inline-input-v3/index.js +12 -11
  75. package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +38 -19
  76. package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +12 -11
  77. package/dist/bundled/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
  78. package/dist/bundled/v2/components/or-input-box-v3/index.js +1 -2
  79. package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +41 -30
  80. package/dist/bundled/v2/components/or-input-v3/index.js +13 -13
  81. package/dist/bundled/v2/components/or-label-v3/OrLabel.vue.d.ts +2 -2
  82. package/dist/bundled/v2/components/or-label-v3/index.js +1 -2
  83. package/dist/bundled/v2/components/or-link-v3/OrLink.vue.d.ts +2 -2
  84. package/dist/bundled/v2/components/or-link-v3/index.js +1 -2
  85. package/dist/bundled/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
  86. package/dist/bundled/v2/components/or-loader-v3/index.js +1 -2
  87. package/dist/bundled/v2/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
  88. package/dist/bundled/v2/components/or-menu-item-v3/index.js +2 -3
  89. package/dist/bundled/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
  90. package/dist/bundled/v2/components/or-menu-v3/index.js +4 -5
  91. package/dist/bundled/v2/components/or-modal-v3/OrModal.vue.d.ts +2 -2
  92. package/dist/bundled/v2/components/or-modal-v3/index.js +7 -8
  93. package/dist/bundled/v2/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
  94. package/dist/bundled/v2/components/or-notification-v3/index.js +7 -8
  95. package/dist/bundled/v2/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
  96. package/dist/bundled/v2/components/or-overlay-v3/index.js +1 -2
  97. package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +2 -13
  98. package/dist/bundled/v2/components/or-pagination-v3/index.js +9 -10
  99. package/dist/bundled/v2/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
  100. package/dist/bundled/v2/components/or-popover-v3/index.js +3 -4
  101. package/dist/bundled/v2/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
  102. package/dist/bundled/v2/components/or-progress-v3/index.js +2 -3
  103. package/dist/bundled/v2/components/or-radio-v3/OrRadio.vue.d.ts +20 -15
  104. package/dist/bundled/v2/components/or-radio-v3/index.js +3 -3
  105. package/dist/bundled/v2/components/or-search-v3/OrSearch.vue.d.ts +2 -2
  106. package/dist/bundled/v2/components/or-search-v3/index.js +15 -15
  107. package/dist/bundled/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +5 -16
  108. package/dist/bundled/v2/components/or-segmented-control-v3/index.js +1 -2
  109. 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
  110. package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +5 -16
  111. package/dist/bundled/v2/components/or-select-v3/index.js +18 -18
  112. package/dist/bundled/v2/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
  113. package/dist/bundled/v2/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
  114. package/dist/bundled/v2/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
  115. package/dist/bundled/v2/components/or-skeleton-v3/index.js +2 -3
  116. package/dist/bundled/v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts +4 -15
  117. package/dist/bundled/v2/components/or-sort-header-v3/index.js +2 -3
  118. package/dist/bundled/v2/components/or-switch-v3/OrSwitch.vue.d.ts +23 -18
  119. package/dist/bundled/v2/components/or-switch-v3/index.js +4 -4
  120. package/dist/bundled/v2/components/or-tab-v3/OrTab.vue.d.ts +2 -2
  121. package/dist/bundled/v2/components/or-tab-v3/index.js +1 -2
  122. package/dist/bundled/v2/components/or-tabs-v3/OrTabs.vue.d.ts +4 -15
  123. package/dist/bundled/v2/components/or-tabs-v3/index.js +8 -9
  124. package/dist/bundled/v2/components/or-tag-v3/OrTag.vue.d.ts +2 -2
  125. package/dist/bundled/v2/components/or-tag-v3/index.js +7 -8
  126. package/dist/bundled/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
  127. package/dist/bundled/v2/components/or-text-v3/index.js +1 -2
  128. package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +47 -19
  129. package/dist/bundled/v2/components/or-textarea-v3/index.js +7 -6
  130. package/dist/bundled/v2/components/or-toast-v3/index.js +8 -9
  131. package/dist/bundled/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
  132. package/dist/bundled/v2/components/or-tooltip-v3/index.js +4 -5
  133. package/dist/bundled/v2/hooks/index.d.ts +3 -1
  134. package/dist/bundled/v2/hooks/index.js +2 -1
  135. package/dist/bundled/v2/hooks/useControlAttributes.d.ts +8 -0
  136. package/dist/bundled/v2/hooks/useIdAttribute.d.ts +2 -0
  137. package/dist/bundled/v2/hooks/useValidationAttributes.d.ts +12 -0
  138. package/dist/bundled/v2/index.js +46 -45
  139. package/dist/bundled/v2/{types-8fe4e345.js → types-79e5c18d.js} +2 -2
  140. package/dist/bundled/v2/useIdAttribute-cf61643f.js +22 -0
  141. package/dist/bundled/v2/useValidationAttributes-6df7bcf9.js +17 -0
  142. package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-0426862b.js → OrAvatar.vue_vue_type_script_lang-582e74ae.js} +3 -6
  143. package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-6fb49de9.js → OrBottomSheet.vue_vue_type_script_lang-bdef5ca2.js} +2 -4
  144. package/dist/bundled/v3/{OrButton-2b27c1fd.js → OrButton-a1448bfa.js} +7 -8
  145. package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-8c44986c.js → OrButton.vue_vue_type_script_lang-3b1e442b.js} +3 -6
  146. package/dist/bundled/v3/{OrCard.vue_vue_type_script_lang-165de137.js → OrCard.vue_vue_type_script_lang-b6685a34.js} +1 -4
  147. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-1fa9e6ce.js → OrCardCollection.vue_vue_type_script_lang-60403ae6.js} +42 -46
  148. package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-8b36e06c.js → OrCheckbox.vue_vue_type_script_lang-fc067611.js} +31 -24
  149. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-5eef57a2.js → OrConfirm.vue_vue_type_script_lang-9231d51e.js} +7 -6
  150. package/dist/bundled/v3/{OrError.vue_vue_type_script_lang-cc6c135f.js → OrError.vue_vue_type_script_lang-53648a65.js} +1 -4
  151. package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-4828c387.js → OrErrorTag.vue_vue_type_script_lang-e2fe7ca9.js} +3 -6
  152. package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-5360f580.js → OrExpansionPanel.vue_vue_type_script_lang-2cc8964c.js} +3 -6
  153. package/dist/bundled/v3/{OrFab.vue_vue_type_script_lang-2adeaed6.js → OrFab.vue_vue_type_script_lang-0fe4a921.js} +2 -3
  154. package/dist/bundled/v3/{OrHint-9592499e.js → OrHint-5d5e4d99.js} +13 -15
  155. package/dist/bundled/v3/{OrHint.vue_vue_type_script_lang-8e657168.js → OrHint.vue_vue_type_script_lang-e322f61e.js} +1 -4
  156. package/dist/bundled/v3/OrIcon-1a5c9091.js +12 -0
  157. package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-a119a715.js → OrIcon.vue_vue_type_script_lang-bdbaad94.js} +1 -4
  158. package/dist/bundled/v3/{OrIconButton-cd62526d.js → OrIconButton-428dd2cf.js} +1 -1
  159. package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-aefcf30d.js → OrIconButton.vue_vue_type_script_lang-ec6a3622.js} +10 -13
  160. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-67218502.js → OrInlineInput.vue_vue_type_script_lang-ab296efc.js} +41 -33
  161. package/dist/bundled/v3/{OrInlineInputBox-9d68ded1.js → OrInlineInputBox-f92a09d6.js} +6 -7
  162. package/dist/bundled/v3/{OrInlineInputBox.vue_vue_type_script_lang-73750005.js → OrInlineInputBox.vue_vue_type_script_lang-b1ae1f3d.js} +1 -4
  163. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a1831ab8.js → OrInlineTextarea.vue_vue_type_script_lang-3c3e1b4a.js} +41 -33
  164. package/dist/bundled/v3/{OrInput-04b89444.js → OrInput-2a7c6b57.js} +10 -19
  165. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-caab1e89.js → OrInput.vue_vue_type_script_lang-509de504.js} +43 -52
  166. package/dist/bundled/v3/{OrInputBox-eb54d73d.js → OrInputBox-4c7900c2.js} +6 -7
  167. package/dist/bundled/v3/{OrInputBox.vue_vue_type_script_lang-5ee4ee45.js → OrInputBox.vue_vue_type_script_lang-47d98e81.js} +1 -4
  168. package/dist/bundled/v3/{OrLabel-c6873e79.js → OrLabel-c556887e.js} +7 -8
  169. package/dist/bundled/v3/{OrLabel.vue_vue_type_script_lang-96f94c4e.js → OrLabel.vue_vue_type_script_lang-191d2304.js} +1 -4
  170. package/dist/bundled/v3/{OrLink.vue_vue_type_script_lang-9d3a32c7.js → OrLink.vue_vue_type_script_lang-05d4897b.js} +1 -4
  171. package/dist/bundled/v3/{OrLoader-c4bbef2f.js → OrLoader-123ef8c4.js} +7 -8
  172. package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-5405040c.js → OrLoader.vue_vue_type_script_lang-4c3c1ac9.js} +1 -4
  173. package/dist/bundled/v3/{OrMenu-f26e8e55.js → OrMenu-6d7abe97.js} +7 -8
  174. package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-2446a69a.js → OrMenu.vue_vue_type_script_lang-df35fd76.js} +3 -6
  175. package/dist/bundled/v3/{OrMenuItem-4feaba6c.js → OrMenuItem-807e2a49.js} +7 -8
  176. package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-0ffaef05.js → OrMenuItem.vue_vue_type_script_lang-2400ec2a.js} +3 -6
  177. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-55c864d1.js → OrModal.vue_vue_type_script_lang-5a71a851.js} +5 -7
  178. package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-c886ae51.js → OrNotification.vue_vue_type_script_lang-6287244f.js} +5 -8
  179. package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-cb3aad0c.js → OrOverlay.vue_vue_type_script_lang-7edd25f6.js} +1 -3
  180. package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-c96d7cd7.js → OrPagination.vue_vue_type_script_lang-f64827ef.js} +17 -27
  181. package/dist/bundled/v3/{OrPopover-c462ce77.js → OrPopover-1a488f88.js} +1 -1
  182. package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-54c7b11c.js → OrPopover.vue_vue_type_script_lang-b1102c1a.js} +3 -5
  183. package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-a73c0acf.js → OrProgress.vue_vue_type_script_lang-52f660d6.js} +2 -5
  184. package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-2e666a56.js → OrRadio.vue_vue_type_script_lang-8dc0720c.js} +31 -24
  185. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-10ff525e.js → OrSearch.vue_vue_type_script_lang-ab2ef22c.js} +5 -8
  186. package/dist/bundled/v3/{OrSegmentedControl.vue_vue_type_script_lang-579406f5.js → OrSegmentedControl.vue_vue_type_script_lang-38a00b68.js} +14 -25
  187. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-4fad2bfb.js → OrSelect.vue_vue_type_script_lang-54f683a2.js} +45 -54
  188. package/dist/bundled/v3/{OrSkeletonText.vue_vue_type_script_lang-577a1dc9.js → OrSkeletonText.vue_vue_type_script_lang-efcfbe21.js} +5 -12
  189. package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-75115125.js → OrSortHeader.vue_vue_type_script_lang-a20eae87.js} +11 -19
  190. package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-04829f64.js → OrSwitch.vue_vue_type_script_lang-31994be7.js} +33 -26
  191. package/dist/bundled/v3/{OrTab.vue_vue_type_script_lang-134ad9d1.js → OrTab.vue_vue_type_script_lang-f791efa0.js} +1 -4
  192. package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-61b79a5a.js → OrTabs.vue_vue_type_script_lang-cb550e87.js} +20 -28
  193. package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-3e30f662.js → OrTag.vue_vue_type_script_lang-cd3e040e.js} +3 -6
  194. package/dist/bundled/v3/{OrText.vue_vue_type_script_lang-d9525d49.js → OrText.vue_vue_type_script_lang-271fb345.js} +1 -4
  195. package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-8e3531cd.js → OrTextarea.vue_vue_type_script_lang-296da567.js} +45 -34
  196. package/dist/bundled/v3/{OrToastContainer-34389303.js → OrToastContainer-ad5ae5af.js} +1 -1
  197. package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-67cc86ed.js → OrTooltip.vue_vue_type_script_lang-bf9935ef.js} +3 -6
  198. package/dist/bundled/v3/components/index.js +59 -58
  199. package/dist/bundled/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
  200. package/dist/bundled/v3/components/or-avatar-v3/index.js +3 -4
  201. package/dist/bundled/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
  202. package/dist/bundled/v3/components/or-bottom-sheet-v3/index.js +2 -3
  203. package/dist/bundled/v3/components/or-button-v3/OrButton.vue.d.ts +2 -2
  204. package/dist/bundled/v3/components/or-button-v3/index.js +3 -4
  205. package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
  206. package/dist/bundled/v3/components/or-card-collection-v3/index.js +30 -29
  207. package/dist/bundled/v3/components/or-card-v3/OrCard.vue.d.ts +2 -2
  208. package/dist/bundled/v3/components/or-card-v3/index.js +1 -2
  209. package/dist/bundled/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +23 -18
  210. package/dist/bundled/v3/components/or-checkbox-v3/index.js +4 -4
  211. package/dist/bundled/v3/components/or-confirm-v3/index.js +25 -24
  212. package/dist/bundled/v3/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
  213. package/dist/bundled/v3/components/or-error-tag-v3/index.js +3 -4
  214. package/dist/bundled/v3/components/or-error-v3/OrError.vue.d.ts +2 -2
  215. package/dist/bundled/v3/components/or-error-v3/index.js +1 -2
  216. package/dist/bundled/v3/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
  217. package/dist/bundled/v3/components/or-expansion-panel-v3/index.js +3 -4
  218. package/dist/bundled/v3/components/or-fab-v3/index.js +3 -4
  219. package/dist/bundled/v3/components/or-hint-v3/OrHint.vue.d.ts +2 -2
  220. package/dist/bundled/v3/components/or-hint-v3/index.js +1 -2
  221. package/dist/bundled/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -2
  222. package/dist/bundled/v3/components/or-icon-button-v3/index.js +8 -9
  223. package/dist/bundled/v3/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
  224. package/dist/bundled/v3/components/or-icon-v3/index.js +1 -2
  225. package/dist/bundled/v3/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
  226. package/dist/bundled/v3/components/or-inline-input-box-v3/index.js +1 -2
  227. package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +38 -19
  228. package/dist/bundled/v3/components/or-inline-input-v3/index.js +17 -16
  229. package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +38 -19
  230. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +17 -16
  231. package/dist/bundled/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
  232. package/dist/bundled/v3/components/or-input-box-v3/index.js +1 -2
  233. package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +41 -30
  234. package/dist/bundled/v3/components/or-input-v3/index.js +19 -20
  235. package/dist/bundled/v3/components/or-label-v3/OrLabel.vue.d.ts +2 -2
  236. package/dist/bundled/v3/components/or-label-v3/index.js +1 -2
  237. package/dist/bundled/v3/components/or-link-v3/OrLink.vue.d.ts +2 -2
  238. package/dist/bundled/v3/components/or-link-v3/index.js +1 -2
  239. package/dist/bundled/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
  240. package/dist/bundled/v3/components/or-loader-v3/index.js +1 -2
  241. package/dist/bundled/v3/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
  242. package/dist/bundled/v3/components/or-menu-item-v3/index.js +3 -4
  243. package/dist/bundled/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
  244. package/dist/bundled/v3/components/or-menu-v3/index.js +5 -6
  245. package/dist/bundled/v3/components/or-modal-v3/OrModal.vue.d.ts +2 -2
  246. package/dist/bundled/v3/components/or-modal-v3/index.js +10 -11
  247. package/dist/bundled/v3/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
  248. package/dist/bundled/v3/components/or-notification-v3/index.js +10 -11
  249. package/dist/bundled/v3/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
  250. package/dist/bundled/v3/components/or-overlay-v3/index.js +1 -2
  251. package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +2 -13
  252. package/dist/bundled/v3/components/or-pagination-v3/index.js +15 -16
  253. package/dist/bundled/v3/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
  254. package/dist/bundled/v3/components/or-popover-v3/index.js +3 -4
  255. package/dist/bundled/v3/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
  256. package/dist/bundled/v3/components/or-progress-v3/index.js +2 -3
  257. package/dist/bundled/v3/components/or-radio-v3/OrRadio.vue.d.ts +20 -15
  258. package/dist/bundled/v3/components/or-radio-v3/index.js +4 -4
  259. package/dist/bundled/v3/components/or-search-v3/OrSearch.vue.d.ts +2 -2
  260. package/dist/bundled/v3/components/or-search-v3/index.js +22 -23
  261. package/dist/bundled/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +5 -16
  262. package/dist/bundled/v3/components/or-segmented-control-v3/index.js +1 -2
  263. 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
  264. package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +5 -16
  265. package/dist/bundled/v3/components/or-select-v3/index.js +26 -27
  266. package/dist/bundled/v3/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
  267. package/dist/bundled/v3/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
  268. package/dist/bundled/v3/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
  269. package/dist/bundled/v3/components/or-skeleton-v3/index.js +2 -3
  270. package/dist/bundled/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +4 -15
  271. package/dist/bundled/v3/components/or-sort-header-v3/index.js +3 -4
  272. package/dist/bundled/v3/components/or-switch-v3/OrSwitch.vue.d.ts +23 -18
  273. package/dist/bundled/v3/components/or-switch-v3/index.js +6 -6
  274. package/dist/bundled/v3/components/or-tab-v3/OrTab.vue.d.ts +2 -2
  275. package/dist/bundled/v3/components/or-tab-v3/index.js +1 -2
  276. package/dist/bundled/v3/components/or-tabs-v3/OrTabs.vue.d.ts +4 -15
  277. package/dist/bundled/v3/components/or-tabs-v3/index.js +12 -13
  278. package/dist/bundled/v3/components/or-tag-v3/OrTag.vue.d.ts +2 -2
  279. package/dist/bundled/v3/components/or-tag-v3/index.js +10 -11
  280. package/dist/bundled/v3/components/or-text-v3/OrText.vue.d.ts +2 -2
  281. package/dist/bundled/v3/components/or-text-v3/index.js +1 -2
  282. package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +47 -19
  283. package/dist/bundled/v3/components/or-textarea-v3/index.js +10 -9
  284. package/dist/bundled/v3/components/or-toast-v3/index.js +13 -14
  285. package/dist/bundled/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
  286. package/dist/bundled/v3/components/or-tooltip-v3/index.js +5 -6
  287. package/dist/bundled/v3/hooks/index.d.ts +3 -1
  288. package/dist/bundled/v3/hooks/index.js +2 -1
  289. package/dist/bundled/v3/hooks/useControlAttributes.d.ts +8 -0
  290. package/dist/bundled/v3/hooks/useIdAttribute.d.ts +2 -0
  291. package/dist/bundled/v3/hooks/useValidationAttributes.d.ts +12 -0
  292. package/dist/bundled/v3/index.js +191 -204
  293. package/dist/bundled/v3/{types-f53434f2.js → types-1d25bb9a.js} +5 -5
  294. package/dist/bundled/v3/useIdAttribute-b2e42f31.js +21 -0
  295. package/dist/bundled/v3/useValidationAttributes-5428d8fa.js +16 -0
  296. package/dist/esm/v2/{OrAvatar-3d155af3.js → OrAvatar-379ac72f.js} +4 -8
  297. package/dist/esm/v2/{OrBottomSheet-16c2e610.js → OrBottomSheet-37200385.js} +2 -4
  298. package/dist/esm/v2/{OrButton-835d4f11.js → OrButton-66964360.js} +4 -8
  299. package/dist/esm/v2/{OrCard-de799db0.js → OrCard-e89c44ef.js} +3 -7
  300. package/dist/esm/v2/{OrCardCollection-e08a4637.js → OrCardCollection-bbdb6159.js} +11 -15
  301. package/dist/esm/v2/{OrCheckbox-567e387c.js → OrCheckbox-b380c131.js} +41 -34
  302. package/dist/esm/v2/{OrConfirm-43f97635.js → OrConfirm-cfaf4266.js} +4 -3
  303. package/dist/esm/v2/{OrError-d267ee9a.js → OrError-13845bb0.js} +3 -7
  304. package/dist/esm/v2/{OrErrorTag-782dd714.js → OrErrorTag-80f82cdf.js} +4 -8
  305. package/dist/esm/v2/{OrExpansionPanel-a123024e.js → OrExpansionPanel-729eb1e7.js} +4 -8
  306. package/dist/esm/v2/{OrFab-26106618.js → OrFab-1d095e33.js} +3 -4
  307. package/dist/esm/v2/{OrHint-42dc9ebb.js → OrHint-78b399cb.js} +3 -7
  308. package/dist/esm/v2/{OrIcon-5e394c62.js → OrIcon-f34e0e6f.js} +3 -7
  309. package/dist/esm/v2/{OrIconButton-b3779042.js → OrIconButton-5fa56aec.js} +4 -7
  310. package/dist/esm/v2/{OrInlineInput-10205811.js → OrInlineInput-38645a8e.js} +47 -39
  311. package/dist/esm/v2/{OrInlineInputBox-fefd4fbd.js → OrInlineInputBox-46146af0.js} +3 -7
  312. package/dist/esm/v2/{OrInlineTextarea-7658611e.js → OrInlineTextarea-b49a7107.js} +43 -35
  313. package/dist/esm/v2/{OrInput-5e46af9a.js → OrInput-e8fe9102.js} +54 -68
  314. package/dist/esm/v2/{OrInputBox-4d5a318d.js → OrInputBox-9ceb9fc4.js} +3 -7
  315. package/dist/esm/v2/{OrLabel-2a9f1477.js → OrLabel-0945a4d9.js} +3 -7
  316. package/dist/esm/v2/{OrLink-80742a17.js → OrLink-597e0e18.js} +3 -7
  317. package/dist/esm/v2/{OrLoader-f857d55b.js → OrLoader-76307488.js} +3 -7
  318. package/dist/esm/v2/{OrMenu-df27d0ef.js → OrMenu-c276db74.js} +4 -8
  319. package/dist/esm/v2/{OrMenuItem-c7f28480.js → OrMenuItem-7b7fbf8a.js} +4 -8
  320. package/dist/esm/v2/{OrModal-a7719843.js → OrModal-3b9d59de.js} +3 -6
  321. package/dist/esm/v2/{OrNotification-8a4830a3.js → OrNotification-5e145880.js} +5 -9
  322. package/dist/esm/v2/{OrOverlay-18ba2dc6.js → OrOverlay-a019186f.js} +1 -3
  323. package/dist/esm/v2/{OrPagination-c0dbec6a.js → OrPagination-1adbcadb.js} +16 -27
  324. package/dist/esm/v2/{OrPopover-9bafbdb4.js → OrPopover-d5d4f62a.js} +2 -4
  325. package/dist/esm/v2/{OrProgress-c27c8946.js → OrProgress-b7d1c689.js} +4 -7
  326. package/dist/esm/v2/{OrRadio-848ce55d.js → OrRadio-87a4d226.js} +39 -32
  327. package/dist/esm/v2/{OrSearch-84143c15.js → OrSearch-4b774707.js} +6 -9
  328. package/dist/esm/v2/{OrSegmentedControl-e8dce8f9.js → OrSegmentedControl-7486115b.js} +12 -23
  329. package/dist/esm/v2/{OrSelect-5a2ff296.js → OrSelect-d7016575.js} +22 -30
  330. package/dist/esm/v2/{OrSkeletonText-950be6a2.js → OrSkeletonText-6ee72718.js} +11 -19
  331. package/dist/esm/v2/{OrSortHeader-19bf94ca.js → OrSortHeader-592727dc.js} +12 -21
  332. package/dist/esm/v2/{OrSwitch-13b6a7ee.js → OrSwitch-8549219a.js} +40 -33
  333. package/dist/esm/v2/{OrTab-702e7335.js → OrTab-1ff87c76.js} +3 -7
  334. package/dist/esm/v2/{OrTabs-71bd3fd2.js → OrTabs-96b0473d.js} +13 -20
  335. package/dist/esm/v2/{OrTag-5c404031.js → OrTag-765090df.js} +4 -8
  336. package/dist/esm/v2/{OrText-ba5a2b6c.js → OrText-b12d0682.js} +3 -7
  337. package/dist/esm/v2/{OrTextarea-6712a150.js → OrTextarea-a5a3572b.js} +49 -37
  338. package/dist/esm/v2/{OrTooltip-513bee30.js → OrTooltip-629d44fc.js} +4 -7
  339. package/dist/esm/v2/components/index.js +48 -47
  340. package/dist/esm/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
  341. package/dist/esm/v2/components/or-avatar-v3/index.js +2 -4
  342. package/dist/esm/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
  343. package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +2 -3
  344. package/dist/esm/v2/components/or-button-v3/OrButton.vue.d.ts +2 -2
  345. package/dist/esm/v2/components/or-button-v3/index.js +2 -4
  346. package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
  347. package/dist/esm/v2/components/or-card-collection-v3/index.js +20 -19
  348. package/dist/esm/v2/components/or-card-v3/OrCard.vue.d.ts +2 -2
  349. package/dist/esm/v2/components/or-card-v3/index.js +1 -3
  350. package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +23 -18
  351. package/dist/esm/v2/components/or-checkbox-v3/index.js +3 -3
  352. package/dist/esm/v2/components/or-confirm-v3/index.js +17 -16
  353. package/dist/esm/v2/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
  354. package/dist/esm/v2/components/or-error-tag-v3/index.js +2 -4
  355. package/dist/esm/v2/components/or-error-v3/OrError.vue.d.ts +2 -2
  356. package/dist/esm/v2/components/or-error-v3/index.js +1 -3
  357. package/dist/esm/v2/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
  358. package/dist/esm/v2/components/or-expansion-panel-v3/index.js +2 -4
  359. package/dist/esm/v2/components/or-fab-v3/index.js +2 -4
  360. package/dist/esm/v2/components/or-hint-v3/OrHint.vue.d.ts +2 -2
  361. package/dist/esm/v2/components/or-hint-v3/index.js +1 -3
  362. package/dist/esm/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -2
  363. package/dist/esm/v2/components/or-icon-button-v3/index.js +6 -7
  364. package/dist/esm/v2/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
  365. package/dist/esm/v2/components/or-icon-v3/index.js +1 -3
  366. package/dist/esm/v2/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
  367. package/dist/esm/v2/components/or-inline-input-box-v3/index.js +1 -3
  368. package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +38 -19
  369. package/dist/esm/v2/components/or-inline-input-v3/index.js +12 -11
  370. package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +38 -19
  371. package/dist/esm/v2/components/or-inline-textarea-v3/index.js +12 -11
  372. package/dist/esm/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
  373. package/dist/esm/v2/components/or-input-box-v3/index.js +1 -3
  374. package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +41 -30
  375. package/dist/esm/v2/components/or-input-v3/index.js +14 -14
  376. package/dist/esm/v2/components/or-label-v3/OrLabel.vue.d.ts +2 -2
  377. package/dist/esm/v2/components/or-label-v3/index.js +1 -3
  378. package/dist/esm/v2/components/or-link-v3/OrLink.vue.d.ts +2 -2
  379. package/dist/esm/v2/components/or-link-v3/index.js +1 -3
  380. package/dist/esm/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
  381. package/dist/esm/v2/components/or-loader-v3/index.js +1 -3
  382. package/dist/esm/v2/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
  383. package/dist/esm/v2/components/or-menu-item-v3/index.js +2 -4
  384. package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
  385. package/dist/esm/v2/components/or-menu-v3/index.js +5 -6
  386. package/dist/esm/v2/components/or-modal-v3/OrModal.vue.d.ts +2 -2
  387. package/dist/esm/v2/components/or-modal-v3/index.js +8 -9
  388. package/dist/esm/v2/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
  389. package/dist/esm/v2/components/or-notification-v3/index.js +8 -9
  390. package/dist/esm/v2/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
  391. package/dist/esm/v2/components/or-overlay-v3/index.js +1 -2
  392. package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +2 -13
  393. package/dist/esm/v2/components/or-pagination-v3/index.js +10 -11
  394. package/dist/esm/v2/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
  395. package/dist/esm/v2/components/or-popover-v3/index.js +3 -4
  396. package/dist/esm/v2/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
  397. package/dist/esm/v2/components/or-progress-v3/index.js +2 -3
  398. package/dist/esm/v2/components/or-radio-v3/OrRadio.vue.d.ts +20 -15
  399. package/dist/esm/v2/components/or-radio-v3/index.js +3 -3
  400. package/dist/esm/v2/components/or-search-v3/OrSearch.vue.d.ts +2 -2
  401. package/dist/esm/v2/components/or-search-v3/index.js +16 -16
  402. package/dist/esm/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +5 -16
  403. package/dist/esm/v2/components/or-segmented-control-v3/index.js +1 -3
  404. 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
  405. package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +5 -16
  406. package/dist/esm/v2/components/or-select-v3/index.js +19 -19
  407. package/dist/esm/v2/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
  408. package/dist/esm/v2/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
  409. package/dist/esm/v2/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
  410. package/dist/esm/v2/components/or-skeleton-v3/index.js +2 -4
  411. package/dist/esm/v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts +4 -15
  412. package/dist/esm/v2/components/or-sort-header-v3/index.js +2 -4
  413. package/dist/esm/v2/components/or-switch-v3/OrSwitch.vue.d.ts +23 -18
  414. package/dist/esm/v2/components/or-switch-v3/index.js +4 -4
  415. package/dist/esm/v2/components/or-tab-v3/OrTab.vue.d.ts +2 -2
  416. package/dist/esm/v2/components/or-tab-v3/index.js +1 -3
  417. package/dist/esm/v2/components/or-tabs-v3/OrTabs.vue.d.ts +4 -15
  418. package/dist/esm/v2/components/or-tabs-v3/index.js +8 -9
  419. package/dist/esm/v2/components/or-tag-v3/OrTag.vue.d.ts +2 -2
  420. package/dist/esm/v2/components/or-tag-v3/index.js +8 -9
  421. package/dist/esm/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
  422. package/dist/esm/v2/components/or-text-v3/index.js +1 -3
  423. package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +47 -19
  424. package/dist/esm/v2/components/or-textarea-v3/index.js +7 -6
  425. package/dist/esm/v2/components/or-toast-v3/index.js +8 -9
  426. package/dist/esm/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
  427. package/dist/esm/v2/components/or-tooltip-v3/index.js +4 -5
  428. package/dist/esm/v2/hooks/index.d.ts +3 -1
  429. package/dist/esm/v2/hooks/index.js +2 -1
  430. package/dist/esm/v2/hooks/useControlAttributes.d.ts +8 -0
  431. package/dist/esm/v2/hooks/useIdAttribute.d.ts +2 -0
  432. package/dist/esm/v2/hooks/useValidationAttributes.d.ts +12 -0
  433. package/dist/esm/v2/index.js +46 -45
  434. package/dist/esm/v2/{types-6c742e07.js → types-856a804f.js} +2 -2
  435. package/dist/esm/v2/useIdAttribute-859439f0.js +21 -0
  436. package/dist/esm/v2/useValidationAttributes-d1abbe34.js +16 -0
  437. package/dist/esm/v3/{OrAvatar-53a4429d.js → OrAvatar-6444e693.js} +8 -13
  438. package/dist/esm/v3/{OrBottomSheet-62817aec.js → OrBottomSheet-13a416ef.js} +2 -4
  439. package/dist/esm/v3/{OrButton-0fa67a0d.js → OrButton-c56998e7.js} +8 -13
  440. package/dist/esm/v3/{OrCard-fd92f7c8.js → OrCard-cd6af82e.js} +6 -11
  441. package/dist/esm/v3/{OrCardCollection-6912f897.js → OrCardCollection-47f61c40.js} +14 -19
  442. package/dist/esm/v3/{OrCheckbox-3e139eac.js → OrCheckbox-16c1e2f4.js} +40 -32
  443. package/dist/esm/v3/{OrConfirm-d1c05034.js → OrConfirm-e7cbf54c.js} +4 -3
  444. package/dist/esm/v3/{OrError-ec8c709d.js → OrError-19198748.js} +7 -12
  445. package/dist/esm/v3/{OrErrorTag-98252eef.js → OrErrorTag-308119de.js} +8 -13
  446. package/dist/esm/v3/{OrExpansionPanel-f8d7ff8d.js → OrExpansionPanel-3a4282da.js} +8 -13
  447. package/dist/esm/v3/{OrFab-c8ae6e01.js → OrFab-61131b31.js} +7 -9
  448. package/dist/esm/v3/{OrHint-74bb732d.js → OrHint-6863124f.js} +7 -12
  449. package/dist/esm/v3/{OrIcon-b195169c.js → OrIcon-34f59f73.js} +6 -11
  450. package/dist/esm/v3/{OrIconButton-1a89fbf9.js → OrIconButton-e5781317.js} +4 -7
  451. package/dist/esm/v3/{OrInlineInput-507fc99c.js → OrInlineInput-09de432a.js} +41 -33
  452. package/dist/esm/v3/{OrInlineInputBox-8049f95a.js → OrInlineInputBox-09b33e18.js} +6 -11
  453. package/dist/esm/v3/{OrInlineTextarea-53a9e027.js → OrInlineTextarea-56328f22.js} +41 -33
  454. package/dist/esm/v3/{OrInput-a2c4cfb5.js → OrInput-6fb81556.js} +47 -64
  455. package/dist/esm/v3/{OrInputBox-6d1b6059.js → OrInputBox-e16ade90.js} +6 -11
  456. package/dist/esm/v3/{OrLabel-bdaec602.js → OrLabel-f700f9fb.js} +7 -12
  457. package/dist/esm/v3/{OrLink-338db3ca.js → OrLink-07f6f27d.js} +7 -12
  458. package/dist/esm/v3/{OrLoader-b3cf4231.js → OrLoader-a53d2edf.js} +7 -12
  459. package/dist/esm/v3/{OrMenu-840038cd.js → OrMenu-7f3ea117.js} +8 -13
  460. package/dist/esm/v3/{OrMenuItem-9da279f6.js → OrMenuItem-58707d47.js} +8 -13
  461. package/dist/esm/v3/{OrModal-7878cc39.js → OrModal-10838da7.js} +3 -6
  462. package/dist/esm/v3/{OrNotification-e1383681.js → OrNotification-25da89ca.js} +9 -14
  463. package/dist/esm/v3/{OrOverlay-738a44d5.js → OrOverlay-afad3aa4.js} +1 -3
  464. package/dist/esm/v3/{OrPagination-a703307d.js → OrPagination-da9e5017.js} +20 -32
  465. package/dist/esm/v3/{OrPopover-1075dd38.js → OrPopover-40217b49.js} +2 -4
  466. package/dist/esm/v3/{OrProgress-407002e0.js → OrProgress-639ed5e8.js} +8 -12
  467. package/dist/esm/v3/{OrRadio-54b6d0de.js → OrRadio-bb9b37c1.js} +37 -29
  468. package/dist/esm/v3/{OrSearch-dbb07738.js → OrSearch-e15955a7.js} +9 -13
  469. package/dist/esm/v3/{OrSegmentedControl-171cad78.js → OrSegmentedControl-880b4911.js} +19 -32
  470. package/dist/esm/v3/{OrSelect-511acc24.js → OrSelect-027b5e8f.js} +28 -37
  471. package/dist/esm/v3/{OrSkeletonText-3965ff71.js → OrSkeletonText-afd3d007.js} +22 -33
  472. package/dist/esm/v3/{OrSortHeader-fe1a9cf8.js → OrSortHeader-a39f77f9.js} +16 -26
  473. package/dist/esm/v3/{OrSwitch-cca30aa0.js → OrSwitch-1c2196da.js} +38 -31
  474. package/dist/esm/v3/{OrTab-c131cf60.js → OrTab-d3785ea4.js} +6 -11
  475. package/dist/esm/v3/{OrTabs-d0ee6cef.js → OrTabs-328d41b9.js} +13 -20
  476. package/dist/esm/v3/{OrTag-5d54f37d.js → OrTag-21ba5e15.js} +8 -13
  477. package/dist/esm/v3/{OrText-ecb46923.js → OrText-6b4f7cd1.js} +7 -12
  478. package/dist/esm/v3/{OrTextarea-bb9ef3f2.js → OrTextarea-37566985.js} +47 -35
  479. package/dist/esm/v3/{OrTooltip-50d27b4f.js → OrTooltip-b07616f4.js} +8 -12
  480. package/dist/esm/v3/components/index.js +48 -47
  481. package/dist/esm/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
  482. package/dist/esm/v3/components/or-avatar-v3/index.js +2 -4
  483. package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
  484. package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +2 -3
  485. package/dist/esm/v3/components/or-button-v3/OrButton.vue.d.ts +2 -2
  486. package/dist/esm/v3/components/or-button-v3/index.js +2 -4
  487. package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
  488. package/dist/esm/v3/components/or-card-collection-v3/index.js +20 -19
  489. package/dist/esm/v3/components/or-card-v3/OrCard.vue.d.ts +2 -2
  490. package/dist/esm/v3/components/or-card-v3/index.js +1 -3
  491. package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +23 -18
  492. package/dist/esm/v3/components/or-checkbox-v3/index.js +3 -3
  493. package/dist/esm/v3/components/or-confirm-v3/index.js +17 -16
  494. package/dist/esm/v3/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
  495. package/dist/esm/v3/components/or-error-tag-v3/index.js +2 -4
  496. package/dist/esm/v3/components/or-error-v3/OrError.vue.d.ts +2 -2
  497. package/dist/esm/v3/components/or-error-v3/index.js +1 -3
  498. package/dist/esm/v3/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
  499. package/dist/esm/v3/components/or-expansion-panel-v3/index.js +2 -4
  500. package/dist/esm/v3/components/or-fab-v3/index.js +2 -4
  501. package/dist/esm/v3/components/or-hint-v3/OrHint.vue.d.ts +2 -2
  502. package/dist/esm/v3/components/or-hint-v3/index.js +1 -3
  503. package/dist/esm/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -2
  504. package/dist/esm/v3/components/or-icon-button-v3/index.js +6 -7
  505. package/dist/esm/v3/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
  506. package/dist/esm/v3/components/or-icon-v3/index.js +1 -3
  507. package/dist/esm/v3/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
  508. package/dist/esm/v3/components/or-inline-input-box-v3/index.js +1 -3
  509. package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +38 -19
  510. package/dist/esm/v3/components/or-inline-input-v3/index.js +12 -11
  511. package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +38 -19
  512. package/dist/esm/v3/components/or-inline-textarea-v3/index.js +12 -11
  513. package/dist/esm/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
  514. package/dist/esm/v3/components/or-input-box-v3/index.js +1 -3
  515. package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +41 -30
  516. package/dist/esm/v3/components/or-input-v3/index.js +14 -14
  517. package/dist/esm/v3/components/or-label-v3/OrLabel.vue.d.ts +2 -2
  518. package/dist/esm/v3/components/or-label-v3/index.js +1 -3
  519. package/dist/esm/v3/components/or-link-v3/OrLink.vue.d.ts +2 -2
  520. package/dist/esm/v3/components/or-link-v3/index.js +1 -3
  521. package/dist/esm/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
  522. package/dist/esm/v3/components/or-loader-v3/index.js +1 -3
  523. package/dist/esm/v3/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
  524. package/dist/esm/v3/components/or-menu-item-v3/index.js +2 -4
  525. package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
  526. package/dist/esm/v3/components/or-menu-v3/index.js +5 -6
  527. package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +2 -2
  528. package/dist/esm/v3/components/or-modal-v3/index.js +8 -9
  529. package/dist/esm/v3/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
  530. package/dist/esm/v3/components/or-notification-v3/index.js +8 -9
  531. package/dist/esm/v3/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
  532. package/dist/esm/v3/components/or-overlay-v3/index.js +1 -2
  533. package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +2 -13
  534. package/dist/esm/v3/components/or-pagination-v3/index.js +10 -11
  535. package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
  536. package/dist/esm/v3/components/or-popover-v3/index.js +3 -4
  537. package/dist/esm/v3/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
  538. package/dist/esm/v3/components/or-progress-v3/index.js +2 -3
  539. package/dist/esm/v3/components/or-radio-v3/OrRadio.vue.d.ts +20 -15
  540. package/dist/esm/v3/components/or-radio-v3/index.js +3 -3
  541. package/dist/esm/v3/components/or-search-v3/OrSearch.vue.d.ts +2 -2
  542. package/dist/esm/v3/components/or-search-v3/index.js +16 -16
  543. package/dist/esm/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +5 -16
  544. package/dist/esm/v3/components/or-segmented-control-v3/index.js +1 -3
  545. 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
  546. package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +5 -16
  547. package/dist/esm/v3/components/or-select-v3/index.js +19 -19
  548. package/dist/esm/v3/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
  549. package/dist/esm/v3/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
  550. package/dist/esm/v3/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
  551. package/dist/esm/v3/components/or-skeleton-v3/index.js +2 -4
  552. package/dist/esm/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +4 -15
  553. package/dist/esm/v3/components/or-sort-header-v3/index.js +2 -4
  554. package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +23 -18
  555. package/dist/esm/v3/components/or-switch-v3/index.js +4 -4
  556. package/dist/esm/v3/components/or-tab-v3/OrTab.vue.d.ts +2 -2
  557. package/dist/esm/v3/components/or-tab-v3/index.js +1 -3
  558. package/dist/esm/v3/components/or-tabs-v3/OrTabs.vue.d.ts +4 -15
  559. package/dist/esm/v3/components/or-tabs-v3/index.js +8 -9
  560. package/dist/esm/v3/components/or-tag-v3/OrTag.vue.d.ts +2 -2
  561. package/dist/esm/v3/components/or-tag-v3/index.js +8 -9
  562. package/dist/esm/v3/components/or-text-v3/OrText.vue.d.ts +2 -2
  563. package/dist/esm/v3/components/or-text-v3/index.js +1 -3
  564. package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +47 -19
  565. package/dist/esm/v3/components/or-textarea-v3/index.js +7 -6
  566. package/dist/esm/v3/components/or-toast-v3/index.js +8 -9
  567. package/dist/esm/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
  568. package/dist/esm/v3/components/or-tooltip-v3/index.js +4 -5
  569. package/dist/esm/v3/hooks/index.d.ts +3 -1
  570. package/dist/esm/v3/hooks/index.js +2 -1
  571. package/dist/esm/v3/hooks/useControlAttributes.d.ts +8 -0
  572. package/dist/esm/v3/hooks/useIdAttribute.d.ts +2 -0
  573. package/dist/esm/v3/hooks/useValidationAttributes.d.ts +12 -0
  574. package/dist/esm/v3/index.js +46 -45
  575. package/dist/esm/v3/{types-2692e337.js → types-7f17b4b2.js} +2 -2
  576. package/dist/esm/v3/useIdAttribute-859439f0.js +21 -0
  577. package/dist/esm/v3/useValidationAttributes-d1abbe34.js +16 -0
  578. package/package.json +1 -1
  579. package/src/components/or-avatar-v3/OrAvatar.vue +3 -9
  580. package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +0 -4
  581. package/src/components/or-button-v3/OrButton.vue +0 -7
  582. package/src/components/or-card-collection-v3/OrCardCollection.vue +9 -17
  583. package/src/components/or-card-v3/OrCard.vue +0 -7
  584. package/src/components/or-checkbox-v3/OrCheckbox.stories3.ts +3 -10
  585. package/src/components/or-checkbox-v3/OrCheckbox.vue +34 -26
  586. package/src/components/or-confirm-v3/OrConfirm.vue +15 -5
  587. package/src/components/or-error-tag-v3/OrErrorTag.vue +0 -7
  588. package/src/components/or-error-v3/OrError.vue +0 -7
  589. package/src/components/or-expansion-panel-v3/OrExpansionPanel.vue +0 -7
  590. package/src/components/or-fab-v3/OrFab.vue +0 -3
  591. package/src/components/or-hint-v3/OrHint.vue +0 -7
  592. package/src/components/or-icon-button-v3/OrIconButton.vue +0 -4
  593. package/src/components/or-icon-v3/OrIcon.vue +0 -7
  594. package/src/components/or-inline-input-box-v3/OrInlineInputBox.vue +0 -7
  595. package/src/components/or-inline-input-v3/OrInlineInput.stories3.ts +0 -6
  596. package/src/components/or-inline-input-v3/OrInlineInput.vue +36 -27
  597. package/src/components/or-inline-textarea-v3/OrInlineTextarea.stories3.ts +0 -6
  598. package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +36 -27
  599. package/src/components/or-input-box-v3/OrInputBox.vue +0 -7
  600. package/src/components/or-input-v3/OrInput.stories3.ts +2 -12
  601. package/src/components/or-input-v3/OrInput.vue +49 -66
  602. package/src/components/or-label-v3/OrLabel.vue +0 -7
  603. package/src/components/or-link-v3/OrLink.vue +0 -7
  604. package/src/components/or-loader-v3/OrLoader.vue +1 -8
  605. package/src/components/or-menu-item-v3/OrMenuItem.vue +0 -7
  606. package/src/components/or-menu-v3/OrMenu.vue +0 -7
  607. package/src/components/or-modal-v3/OrModal.vue +0 -4
  608. package/src/components/or-notification-v3/OrNotification.vue +0 -7
  609. package/src/components/or-overlay-v3/OrOverlay.vue +1 -4
  610. package/src/components/or-pagination-v3/OrPagination.stories3.ts +0 -6
  611. package/src/components/or-pagination-v3/OrPagination.vue +9 -27
  612. package/src/components/or-popover-v3/OrPopover.vue +1 -4
  613. package/src/components/or-progress-v3/OrProgress.vue +3 -20
  614. package/src/components/or-radio-v3/OrRadio.stories3.ts +3 -10
  615. package/src/components/or-radio-v3/OrRadio.vue +33 -25
  616. package/src/components/or-search-v3/OrSearch.stories3.ts +0 -2
  617. package/src/components/or-search-v3/OrSearch.vue +1 -8
  618. package/src/components/or-segmented-control-v3/OrSegmentedControl.stories3.ts +0 -6
  619. package/src/components/or-segmented-control-v3/OrSegmentedControl.vue +6 -18
  620. package/src/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/OrSegmentedControlItem.vue +0 -7
  621. package/src/components/or-select-v3/OrSelect.stories3.ts +0 -6
  622. package/src/components/or-select-v3/OrSelect.vue +8 -18
  623. package/src/components/or-skeleton-v3/OrSkeletonCircle.vue +2 -8
  624. package/src/components/or-skeleton-v3/OrSkeletonRect.vue +3 -8
  625. package/src/components/or-skeleton-v3/OrSkeletonText.vue +5 -9
  626. package/src/components/or-sort-header-v3/OrSortHeader.stories3.ts +3 -10
  627. package/src/components/or-sort-header-v3/OrSortHeader.vue +8 -19
  628. package/src/components/or-switch-v3/OrSwitch.stories3.ts +3 -10
  629. package/src/components/or-switch-v3/OrSwitch.vue +33 -25
  630. package/src/components/or-tab-v3/OrTab.vue +0 -7
  631. package/src/components/or-tabs-v3/OrTabs.stories3.ts +0 -6
  632. package/src/components/or-tabs-v3/OrTabs.vue +7 -16
  633. package/src/components/or-tag-v3/OrTag.vue +0 -7
  634. package/src/components/or-text-v3/OrText.vue +0 -7
  635. package/src/components/or-textarea-v3/OrTextarea.stories3.ts +4 -10
  636. package/src/components/or-textarea-v3/OrTextarea.vue +41 -28
  637. package/src/components/or-tooltip-v3/OrTooltip.vue +0 -7
  638. package/src/hooks/index.ts +3 -1
  639. package/src/hooks/useControlAttributes.ts +19 -0
  640. package/src/hooks/useIdAttribute.ts +9 -0
  641. package/src/hooks/useValidationAttributes.ts +25 -0
  642. package/dist/bundled/v2/hooks/useClassAttribute.d.ts +0 -3
  643. package/dist/bundled/v2/useClassAttribute-9bf33346.js +0 -33
  644. package/dist/bundled/v3/OrIcon-d878b768.js +0 -13
  645. package/dist/bundled/v3/hooks/useClassAttribute.d.ts +0 -3
  646. package/dist/bundled/v3/useClassAttribute-00888f78.js +0 -9
  647. package/dist/esm/v2/hooks/useClassAttribute.d.ts +0 -3
  648. package/dist/esm/v2/useClassAttribute-47fdb016.js +0 -32
  649. package/dist/esm/v3/hooks/useClassAttribute.d.ts +0 -3
  650. package/dist/esm/v3/useClassAttribute-47fdb016.js +0 -32
  651. package/src/hooks/useClassAttribute.ts +0 -39
  652. /package/dist/bundled/v2/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.d.ts +0 -0
  653. /package/dist/bundled/v3/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.d.ts +0 -0
  654. /package/dist/esm/v2/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.d.ts +0 -0
  655. /package/dist/esm/v3/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.d.ts +0 -0
  656. /package/src/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.ts +0 -0
@@ -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
  };
@@ -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),
@@ -70,11 +62,11 @@ export default {
70
62
  control: { type: 'text' },
71
63
  },
72
64
 
73
- loading: {
65
+ required: {
74
66
  control: { type: 'boolean' },
75
67
  },
76
68
 
77
- required: {
69
+ readonly: {
78
70
  control: { type: 'boolean' },
79
71
  },
80
72
 
@@ -145,7 +137,6 @@ const Template: StoryFn<typeof OrInput> = (args) => ({
145
137
  args,
146
138
  model,
147
139
  onUpdateModelValue: action('update:modelValue'),
148
- onInput: action('input'),
149
140
  onKeydown: action('keydown'),
150
141
  onKeyup: action('keyup'),
151
142
  onFocus: action('focus'),
@@ -158,7 +149,6 @@ const Template: StoryFn<typeof OrInput> = (args) => ({
158
149
  v-model="model"
159
150
  v-bind="args"
160
151
  @update:modelValue="onUpdateModelValue"
161
- @input="onInput"
162
152
  @keydown="onKeydown"
163
153
  @keyup="onKeyup"
164
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)"
@@ -42,40 +42,30 @@
42
42
  >
43
43
 
44
44
  <div :class="['layout-row']">
45
- <template v-if="loading">
46
- <OrLoader
47
- :variant="'circular'"
48
- :color="'primary'"
49
- :size="isMobile ? 'm' : 's'"
45
+ <template v-if="type === 'password'">
46
+ <OrIconButton
47
+ :icon="{ icon: disclosed ? 'visibility_off' : 'visibility', variant: 'filled' }"
48
+ :color="'inherit'"
49
+ :disabled="disabled"
50
+ @click.stop="disclosed = !disclosed"
50
51
  />
51
52
  </template>
52
53
 
53
- <template v-else>
54
- <template v-if="type === 'password'">
54
+ <template v-if="type === 'search'">
55
+ <template v-if="modelValue">
55
56
  <OrIconButton
56
- :icon="{ icon: disclosed ? 'visibility_off' : 'visibility', variant: 'filled' }"
57
+ :icon="'close'"
57
58
  :color="'inherit'"
58
- :disabled="disabled"
59
- @click.stop="disclosed = !disclosed"
59
+ :disabled="readonly || disabled"
60
+ @click.stop="$emit('update:modelValue', '')"
60
61
  />
61
62
  </template>
62
63
 
63
- <template v-if="type === 'search'">
64
- <template v-if="modelValue">
65
- <OrIconButton
66
- :icon="'close'"
67
- :color="'inherit'"
68
- :disabled="disabled"
69
- @click.stop="$emit('update:modelValue', '')"
70
- />
71
- </template>
72
-
73
- <template v-else>
74
- <OrIcon
75
- :icon="'search'"
76
- :variant="'outlined'"
77
- />
78
- </template>
64
+ <template v-else>
65
+ <OrIcon
66
+ :icon="'search'"
67
+ :variant="'outlined'"
68
+ />
79
69
  </template>
80
70
  </template>
81
71
  </div>
@@ -112,15 +102,14 @@
112
102
  </template>
113
103
 
114
104
  <script lang="ts">
115
- import { computed, defineComponent, getCurrentInstance, PropType, ref } from 'vue-demi';
116
- import { useClassAttribute, useResponsive } from '../../hooks';
105
+ import { computed, defineComponent, PropType, reactive, ref } from 'vue-demi';
106
+ import { useControlAttributes, useIdAttribute, useValidationAttributes } from '../../hooks';
117
107
  import { OrErrorV3 as OrError } from '../or-error-v3';
118
108
  import { OrHintV3 as OrHint } from '../or-hint-v3';
119
109
  import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3';
120
110
  import { OrIconV3 as OrIcon } from '../or-icon-v3';
121
111
  import { OrInputBoxV3 as OrInputBox } from '../or-input-box-v3';
122
112
  import { OrLabelV3 as OrLabel } from '../or-label-v3';
123
- import { OrLoaderV3 as OrLoader } from '../or-loader-v3';
124
113
  import { InputSize, InputType } from './props';
125
114
  import { InputControl, InputRoot } from './styles';
126
115
 
@@ -134,10 +123,12 @@ export default defineComponent({
134
123
  OrIconButton,
135
124
  OrInputBox,
136
125
  OrLabel,
137
- OrLoader,
138
126
  },
139
127
 
140
- inheritAttrs: false,
128
+ model: {
129
+ prop: 'modelValue',
130
+ event: 'update:modelValue',
131
+ },
141
132
 
142
133
  props: {
143
134
  modelValue: {
@@ -145,11 +136,6 @@ export default defineComponent({
145
136
  default: undefined,
146
137
  },
147
138
 
148
- value: { // TODO: Remove Vue 2 fallback
149
- type: [String, Number],
150
- default: undefined,
151
- },
152
-
153
139
  type: {
154
140
  type: String as PropType<InputType>,
155
141
  default: InputType.Text,
@@ -180,12 +166,12 @@ export default defineComponent({
180
166
  default: undefined,
181
167
  },
182
168
 
183
- loading: {
169
+ required: {
184
170
  type: Boolean,
185
171
  default: false,
186
172
  },
187
173
 
188
- required: {
174
+ readonly: {
189
175
  type: Boolean,
190
176
  default: false,
191
177
  },
@@ -204,7 +190,6 @@ export default defineComponent({
204
190
  emits: [
205
191
  'update:modelValue',
206
192
 
207
- 'input',
208
193
  'keydown',
209
194
  'keyup',
210
195
  'focus',
@@ -213,23 +198,20 @@ export default defineComponent({
213
198
 
214
199
  expose: [
215
200
  'root',
201
+
216
202
  'focus',
203
+ 'blur',
217
204
  ],
218
205
 
219
206
  setup(props, context) {
220
- const currentInstance = getCurrentInstance()!;
221
-
222
207
  // Refs
223
208
  const root = ref<HTMLElement>();
224
- const input = ref<HTMLInputElement>();
209
+ const control = ref<HTMLInputElement>();
225
210
 
226
211
  // Styles
227
- const classAttribute = useClassAttribute();
228
-
229
212
  const rootStyles = computed(() => [
230
213
  'or-input',
231
214
  ...InputRoot,
232
- classAttribute.value,
233
215
  ]);
234
216
 
235
217
  const controlStyles = computed(() => [
@@ -237,48 +219,49 @@ export default defineComponent({
237
219
  ]);
238
220
 
239
221
  // State
240
- const controlId = ref(context.attrs.id as string ?? currentInstance.uid.toString());
222
+ const controlAttributes = reactive({
223
+ id: useIdAttribute(),
224
+ ...useControlAttributes(),
225
+ ...useValidationAttributes(),
226
+ });
241
227
 
242
228
  const proxyModelValue = computed({
243
- get: () => {
244
- return props.modelValue ?? props.value; // TODO: Remove Vue 2 fallback
245
- },
229
+ get: () => props.modelValue,
246
230
 
247
231
  set: (value) => {
248
- context.emit('input', value);
249
232
  context.emit('update:modelValue', value);
250
233
  },
251
234
  });
252
235
 
253
- const invalid = computed(() => !!props.error);
254
- const readonly = computed(() => context.attrs.readonly as boolean);
255
-
256
236
  const currentLength = computed(() => proxyModelValue.value?.toString().length ?? 0);
257
- const maxLength = computed(() => context.attrs.maxlength as number | undefined);
237
+ const maxLength = computed(() => controlAttributes.maxlength);
258
238
 
259
- const disclosed = ref(false);
239
+ const invalid = computed(() => !!props.error);
260
240
 
261
- const { isMobile } = useResponsive();
241
+ const disclosed = ref(false);
262
242
 
263
243
  // Methods
264
244
  function focus(): void {
265
- input.value?.focus();
245
+ control.value?.focus();
246
+ }
247
+
248
+ function blur(): void {
249
+ control.value?.blur();
266
250
  }
267
251
 
268
252
  return {
269
253
  root,
270
- input,
254
+ control,
271
255
  rootStyles,
272
256
  controlStyles,
273
- controlId,
257
+ controlAttributes,
274
258
  proxyModelValue,
275
- invalid,
276
- readonly,
277
259
  currentLength,
278
260
  maxLength,
261
+ invalid,
279
262
  disclosed,
280
- isMobile,
281
263
  focus,
264
+ blur,
282
265
  };
283
266
  },
284
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,6 @@
1
1
  <template>
2
2
  <div
3
3
  ref="root"
4
- v-bind="$attrs"
5
4
  :class="rootStyles"
6
5
  >
7
6
  <template v-if="title">
@@ -81,15 +80,12 @@
81
80
 
82
81
  <script lang="ts">
83
82
  import { computed, defineComponent, PropType, ref } from 'vue-demi';
84
- import { useClassAttribute } from '../../hooks';
85
83
  import { LoaderColor, LoaderSize, LoaderVariant } from './props';
86
- import { LoaderRoot, LoaderRootColors, LoaderTitle, LoaderDescription, LoaderContainer } from './styles';
84
+ import { LoaderContainer, LoaderDescription, LoaderRoot, LoaderRootColors, LoaderTitle } from './styles';
87
85
 
88
86
  export default defineComponent({
89
87
  name: 'OrLoader',
90
88
 
91
- inheritAttrs: false,
92
-
93
89
  props: {
94
90
  variant: {
95
91
  type: String as PropType<LoaderVariant>,
@@ -126,13 +122,10 @@ export default defineComponent({
126
122
  const root = ref<HTMLElement>();
127
123
 
128
124
  // Styles
129
- const classAttribute = useClassAttribute();
130
-
131
125
  const rootStyles = computed(() => [
132
126
  'or-loader',
133
127
  ...LoaderRoot,
134
128
  ...LoaderRootColors[props.color],
135
- classAttribute.value,
136
129
  ]);
137
130
 
138
131
  const titleStyles = computed(() => [
@@ -1,7 +1,6 @@
1
1
  <template>
2
2
  <div
3
3
  ref="root"
4
- v-bind="$attrs"
5
4
  :class="rootStyles"
6
5
  :tabindex="!disabled ? 0 : null"
7
6
  :selected="selected ? '' : null"
@@ -22,7 +21,6 @@
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 { OrIconV3 as OrIcon } from '../or-icon-v3';
27
25
  import { MenuItemRoot } from './styles';
28
26
 
@@ -33,8 +31,6 @@ export default defineComponent({
33
31
  OrIcon,
34
32
  },
35
33
 
36
- inheritAttrs: false,
37
-
38
34
  props: {
39
35
  icon: {
40
36
  type: [String, Object] as PropType<string | InstanceType<typeof OrIcon>['$props']>,
@@ -67,12 +63,9 @@ export default defineComponent({
67
63
  const root = ref<HTMLElement>();
68
64
 
69
65
  // Styles
70
- const classAttribute = useClassAttribute();
71
-
72
66
  const rootStyles = computed(() => [
73
67
  'or-menu-item',
74
68
  ...MenuItemRoot,
75
- classAttribute.value,
76
69
  ]);
77
70
 
78
71
  return {
@@ -1,7 +1,6 @@
1
1
  <template>
2
2
  <div
3
3
  ref="root"
4
- v-bind="$attrs"
5
4
  :class="rootStyles"
6
5
  >
7
6
  <OrPopover
@@ -25,7 +24,6 @@
25
24
 
26
25
  <script lang="ts">
27
26
  import { computed, defineComponent, PropType, ref } from 'vue-demi';
28
- import { useClassAttribute } from '../../hooks';
29
27
  import { OrPopoverV3 as OrPopover } from '../or-popover-v3';
30
28
  import { MenuPlacement } from './props';
31
29
  import { MenuBody, MenuRoot } from './styles';
@@ -37,8 +35,6 @@ export default defineComponent({
37
35
  OrPopover,
38
36
  },
39
37
 
40
- inheritAttrs: false,
41
-
42
38
  props: {
43
39
  trigger: {
44
40
  type: HTMLElement,
@@ -72,12 +68,9 @@ export default defineComponent({
72
68
  const isOpen = computed(() => popover.value?.isOpen);
73
69
 
74
70
  // Styles
75
- const classAttribute = useClassAttribute();
76
-
77
71
  const rootStyles = computed(() => [
78
72
  'or-menu',
79
73
  ...MenuRoot,
80
- classAttribute.value,
81
74
  ]);
82
75
 
83
76
  const bodyStyles = computed(() => [