@onereach/ui-components 2.71.1-beta.2235.0 → 2.71.1

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