@onereach/ui-components 2.70.2-beta.2207.0 → 2.70.2-beta.2216.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 (643) hide show
  1. package/dist/bundled/v2/{OrAvatar-ae61bfb9.js → OrAvatar-ff144438.js} +2 -4
  2. package/dist/bundled/v2/{OrBottomSheet-1cd1ab4c.js → OrBottomSheet-ddba20c1.js} +2 -4
  3. package/dist/bundled/v2/{OrButton-a846fa7e.js → OrButton-ea2e223b.js} +2 -4
  4. package/dist/bundled/v2/{OrCard-29116e1f.js → OrCard-9b845916.js} +1 -3
  5. package/dist/bundled/v2/{OrCardCollection-0141a358.js → OrCardCollection-379d5151.js} +7 -9
  6. package/dist/bundled/v2/{OrCheckbox-dbef9f9a.js → OrCheckbox-9339bec8.js} +34 -21
  7. package/dist/bundled/v2/{OrConfirm-23c3ce56.js → OrConfirm-aa5393cb.js} +3 -3
  8. package/dist/bundled/v2/{OrError-aad17598.js → OrError-0c77e637.js} +1 -3
  9. package/dist/bundled/v2/{OrErrorTag-d0c5bcf4.js → OrErrorTag-0ba2f0b8.js} +2 -4
  10. package/dist/bundled/v2/{OrExpansionPanel-d9a260e2.js → OrExpansionPanel-7f88e33a.js} +2 -4
  11. package/dist/bundled/v2/{OrFab-7cc75893.js → OrFab-dbc03d57.js} +1 -1
  12. package/dist/bundled/v2/{OrHint-f38a1940.js → OrHint-405bfc3d.js} +1 -3
  13. package/dist/bundled/v2/{OrIcon-8625385f.js → OrIcon-97245ebd.js} +1 -3
  14. package/dist/bundled/v2/{OrIconButton-a2ba92df.js → OrIconButton-61f706b3.js} +3 -5
  15. package/dist/bundled/v2/{OrInlineInput-87589946.js → OrInlineInput-140ca4bd.js} +43 -29
  16. package/dist/bundled/v2/{OrInlineInputBox-f457210f.js → OrInlineInputBox-36167851.js} +1 -3
  17. package/dist/bundled/v2/{OrInlineTextarea-21b0e6fc.js → OrInlineTextarea-47cc9b4b.js} +39 -25
  18. package/dist/bundled/v2/{OrInput-82ccfe00.js → OrInput-9b7e3076.js} +49 -40
  19. package/dist/bundled/v2/{OrInputBox-79ec54ad.js → OrInputBox-9441debf.js} +1 -3
  20. package/dist/bundled/v2/{OrLabel-172c4b89.js → OrLabel-54ac625d.js} +1 -3
  21. package/dist/bundled/v2/{OrLink-e7b57307.js → OrLink-51f9fb97.js} +1 -3
  22. package/dist/bundled/v2/{OrLoader-6a1f937b.js → OrLoader-7901107b.js} +1 -3
  23. package/dist/bundled/v2/{OrMenu-fa47c888.js → OrMenu-ebe5a9b6.js} +2 -4
  24. package/dist/bundled/v2/{OrMenuItem-26420908.js → OrMenuItem-d4b0f086.js} +2 -4
  25. package/dist/bundled/v2/{OrModal-af6677fd.js → OrModal-62b1d914.js} +3 -5
  26. package/dist/bundled/v2/{OrNotification-3250f58b.js → OrNotification-95406a04.js} +3 -5
  27. package/dist/bundled/v2/{OrOverlay-3c89d622.js → OrOverlay-efa7992e.js} +1 -3
  28. package/dist/bundled/v2/{OrPagination-379c10b8.js → OrPagination-edc2c855.js} +6 -8
  29. package/dist/bundled/v2/{OrPopover-5dc240f1.js → OrPopover-4e8acb7b.js} +2 -4
  30. package/dist/bundled/v2/{OrProgress-cc397a38.js → OrProgress-cb9a2ab3.js} +2 -4
  31. package/dist/bundled/v2/{OrRadio-cd39b20b.js → OrRadio-8eb3854a.js} +32 -19
  32. package/dist/bundled/v2/{OrSearch-53470b0e.js → OrSearch-e851b0d9.js} +4 -6
  33. package/dist/bundled/v2/{OrSegmentedControl-21cc914e.js → OrSegmentedControl-3db42e46.js} +2 -5
  34. package/dist/bundled/v2/{OrSelect-02fb39f0.js → OrSelect-29374787.js} +12 -14
  35. package/dist/bundled/v2/{OrSkeletonText-516993b4.js → OrSkeletonText-8e64ed2e.js} +5 -9
  36. package/dist/bundled/v2/{OrSortHeader-9932d28f.js → OrSortHeader-00e61587.js} +2 -4
  37. package/dist/bundled/v2/{OrSwitch-237a2081.js → OrSwitch-05ef01ba.js} +33 -20
  38. package/dist/bundled/v2/{OrTab-dd949240.js → OrTab-598116b9.js} +1 -3
  39. package/dist/bundled/v2/{OrTabs-42f7c52c.js → OrTabs-c4abe18c.js} +6 -8
  40. package/dist/bundled/v2/{OrTag-30fecee5.js → OrTag-a2b46275.js} +3 -5
  41. package/dist/bundled/v2/{OrText-eac4b9f5.js → OrText-091e908e.js} +1 -3
  42. package/dist/bundled/v2/{OrTextarea-5593fbe9.js → OrTextarea-a2fa2335.js} +45 -27
  43. package/dist/bundled/v2/{OrTooltip-fbfa05fd.js → OrTooltip-fc46e6a5.js} +2 -4
  44. package/dist/bundled/v2/components/index.js +46 -45
  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 +20 -4
  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 -8
  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 -8
  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 +45 -10
  80. package/dist/bundled/v2/components/or-input-v3/index.js +13 -12
  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 -2
  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 -4
  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 -14
  107. package/dist/bundled/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +2 -2
  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 +2 -2
  111. package/dist/bundled/v2/components/or-select-v3/index.js +18 -17
  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 +2 -2
  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 +20 -4
  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 +2 -2
  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 -8
  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-6039ceaf.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-2292d8d6.js} +3 -5
  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-26f977a6.js} +1 -1
  145. package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-8c44986c.js → OrButton.vue_vue_type_script_lang-f6a86f73.js} +3 -5
  146. package/dist/bundled/v3/{OrCard.vue_vue_type_script_lang-165de137.js → OrCard.vue_vue_type_script_lang-75721881.js} +1 -3
  147. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-2d78a51a.js → OrCardCollection.vue_vue_type_script_lang-1e906723.js} +43 -45
  148. package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-8b36e06c.js → OrCheckbox.vue_vue_type_script_lang-286ceca1.js} +25 -12
  149. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-05b21989.js → OrConfirm.vue_vue_type_script_lang-b3e05ff1.js} +6 -6
  150. package/dist/bundled/v3/{OrError.vue_vue_type_script_lang-cc6c135f.js → OrError.vue_vue_type_script_lang-8d790d69.js} +1 -3
  151. package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-4828c387.js → OrErrorTag.vue_vue_type_script_lang-218ef7e7.js} +3 -5
  152. package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-5360f580.js → OrExpansionPanel.vue_vue_type_script_lang-32c313f6.js} +3 -5
  153. package/dist/bundled/v3/{OrFab.vue_vue_type_script_lang-2adeaed6.js → OrFab.vue_vue_type_script_lang-06430ea0.js} +2 -2
  154. package/dist/bundled/v3/{OrHint-9592499e.js → OrHint-5dce893e.js} +2 -2
  155. package/dist/bundled/v3/{OrHint.vue_vue_type_script_lang-8e657168.js → OrHint.vue_vue_type_script_lang-24edaf98.js} +1 -3
  156. package/dist/bundled/v3/{OrIcon-d878b768.js → OrIcon-854fddd5.js} +1 -1
  157. package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-a119a715.js → OrIcon.vue_vue_type_script_lang-7869de7b.js} +1 -3
  158. package/dist/bundled/v3/{OrIconButton-cd62526d.js → OrIconButton-7fcef28b.js} +1 -1
  159. package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-aefcf30d.js → OrIconButton.vue_vue_type_script_lang-012529f7.js} +4 -6
  160. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-67218502.js → OrInlineInput.vue_vue_type_script_lang-e69a240b.js} +35 -21
  161. package/dist/bundled/v3/{OrInlineInputBox-9d68ded1.js → OrInlineInputBox-091edd56.js} +1 -1
  162. package/dist/bundled/v3/{OrInlineInputBox.vue_vue_type_script_lang-73750005.js → OrInlineInputBox.vue_vue_type_script_lang-9c142008.js} +1 -3
  163. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a1831ab8.js → OrInlineTextarea.vue_vue_type_script_lang-4187eb81.js} +35 -21
  164. package/dist/bundled/v3/{OrInput-a4f220ed.js → OrInput-f2322cd2.js} +14 -13
  165. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-607d79d4.js → OrInput.vue_vue_type_script_lang-16d5c945.js} +38 -29
  166. package/dist/bundled/v3/{OrInputBox-eb54d73d.js → OrInputBox-72cfe1b2.js} +1 -1
  167. package/dist/bundled/v3/{OrInputBox.vue_vue_type_script_lang-5ee4ee45.js → OrInputBox.vue_vue_type_script_lang-9119bb6a.js} +1 -3
  168. package/dist/bundled/v3/{OrLabel-c6873e79.js → OrLabel-27202b49.js} +1 -1
  169. package/dist/bundled/v3/{OrLabel.vue_vue_type_script_lang-96f94c4e.js → OrLabel.vue_vue_type_script_lang-95984563.js} +1 -3
  170. package/dist/bundled/v3/{OrLink.vue_vue_type_script_lang-9d3a32c7.js → OrLink.vue_vue_type_script_lang-620a87bb.js} +1 -3
  171. package/dist/bundled/v3/{OrLoader-c4bbef2f.js → OrLoader-dec060b5.js} +1 -1
  172. package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-5405040c.js → OrLoader.vue_vue_type_script_lang-3e0df5df.js} +1 -3
  173. package/dist/bundled/v3/{OrMenu-f26e8e55.js → OrMenu-96157df7.js} +1 -1
  174. package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-2446a69a.js → OrMenu.vue_vue_type_script_lang-f03f3ab6.js} +3 -5
  175. package/dist/bundled/v3/{OrMenuItem-4feaba6c.js → OrMenuItem-bdc6e234.js} +1 -1
  176. package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-0ffaef05.js → OrMenuItem.vue_vue_type_script_lang-43cdee58.js} +3 -5
  177. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-55c864d1.js → OrModal.vue_vue_type_script_lang-851cfe0c.js} +5 -7
  178. package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-c886ae51.js → OrNotification.vue_vue_type_script_lang-837a582c.js} +5 -7
  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-5616c34d.js} +10 -12
  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-a8618aa6.js} +2 -4
  184. package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-2e666a56.js → OrRadio.vue_vue_type_script_lang-2d1e7bc1.js} +25 -12
  185. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-06f318ca.js → OrSearch.vue_vue_type_script_lang-f00d38e7.js} +5 -7
  186. package/dist/bundled/v3/{OrSegmentedControl.vue_vue_type_script_lang-579406f5.js → OrSegmentedControl.vue_vue_type_script_lang-1659cd1f.js} +3 -6
  187. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-83f15704.js → OrSelect.vue_vue_type_script_lang-2530c488.js} +33 -33
  188. package/dist/bundled/v3/{OrSkeletonText.vue_vue_type_script_lang-577a1dc9.js → OrSkeletonText.vue_vue_type_script_lang-480614cb.js} +5 -9
  189. package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-75115125.js → OrSortHeader.vue_vue_type_script_lang-f4671ba7.js} +3 -5
  190. package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-04829f64.js → OrSwitch.vue_vue_type_script_lang-fa2b68de.js} +27 -14
  191. package/dist/bundled/v3/{OrTab.vue_vue_type_script_lang-134ad9d1.js → OrTab.vue_vue_type_script_lang-e45f86f5.js} +1 -3
  192. package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-61b79a5a.js → OrTabs.vue_vue_type_script_lang-2dd1d8e2.js} +9 -11
  193. package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-3e30f662.js → OrTag.vue_vue_type_script_lang-75b95fda.js} +4 -6
  194. package/dist/bundled/v3/{OrText.vue_vue_type_script_lang-d9525d49.js → OrText.vue_vue_type_script_lang-3a758f8f.js} +1 -3
  195. package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-8e3531cd.js → OrTextarea.vue_vue_type_script_lang-f1003128.js} +39 -22
  196. package/dist/bundled/v3/{OrToastContainer-34389303.js → OrToastContainer-f727558c.js} +1 -1
  197. package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-67cc86ed.js → OrTooltip.vue_vue_type_script_lang-4ee2d4ec.js} +3 -5
  198. package/dist/bundled/v3/components/index.js +58 -57
  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 +20 -4
  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 -8
  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 -8
  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 +45 -10
  234. package/dist/bundled/v3/components/or-input-v3/index.js +19 -18
  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 -2
  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 -4
  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 -21
  261. package/dist/bundled/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +2 -2
  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 +2 -2
  265. package/dist/bundled/v3/components/or-select-v3/index.js +26 -25
  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 +2 -2
  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 +20 -4
  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 +2 -2
  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 -8
  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 +132 -124
  293. package/dist/bundled/v3/{types-f53434f2.js → types-d49b8692.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-ef5fcc0c.js} +2 -5
  297. package/dist/esm/v2/{OrBottomSheet-16c2e610.js → OrBottomSheet-37200385.js} +2 -4
  298. package/dist/esm/v2/{OrButton-835d4f11.js → OrButton-1763652d.js} +2 -5
  299. package/dist/esm/v2/{OrCard-de799db0.js → OrCard-4c281eeb.js} +1 -4
  300. package/dist/esm/v2/{OrCardCollection-3c38fc85.js → OrCardCollection-ba82c82b.js} +9 -12
  301. package/dist/esm/v2/{OrCheckbox-567e387c.js → OrCheckbox-bb8a51c8.js} +34 -21
  302. package/dist/esm/v2/{OrConfirm-e2ab9b4c.js → OrConfirm-de4104ea.js} +3 -3
  303. package/dist/esm/v2/{OrError-d267ee9a.js → OrError-45bd2ac3.js} +1 -4
  304. package/dist/esm/v2/{OrErrorTag-782dd714.js → OrErrorTag-8adc056c.js} +2 -5
  305. package/dist/esm/v2/{OrExpansionPanel-a123024e.js → OrExpansionPanel-82b5f34f.js} +2 -5
  306. package/dist/esm/v2/{OrFab-26106618.js → OrFab-40c8f199.js} +1 -1
  307. package/dist/esm/v2/{OrHint-42dc9ebb.js → OrHint-64c6c780.js} +1 -4
  308. package/dist/esm/v2/{OrIcon-5e394c62.js → OrIcon-d438c4d9.js} +1 -4
  309. package/dist/esm/v2/{OrIconButton-b3779042.js → OrIconButton-ca6603b3.js} +4 -7
  310. package/dist/esm/v2/{OrInlineInput-10205811.js → OrInlineInput-6023dc80.js} +43 -29
  311. package/dist/esm/v2/{OrInlineInputBox-fefd4fbd.js → OrInlineInputBox-5b768699.js} +1 -4
  312. package/dist/esm/v2/{OrInlineTextarea-7658611e.js → OrInlineTextarea-74318803.js} +39 -25
  313. package/dist/esm/v2/{OrInput-ada3a970.js → OrInput-2b8063e4.js} +49 -40
  314. package/dist/esm/v2/{OrInputBox-4d5a318d.js → OrInputBox-607ef524.js} +1 -4
  315. package/dist/esm/v2/{OrLabel-2a9f1477.js → OrLabel-85cfc243.js} +1 -4
  316. package/dist/esm/v2/{OrLink-80742a17.js → OrLink-dc1b6c61.js} +1 -4
  317. package/dist/esm/v2/{OrLoader-f857d55b.js → OrLoader-9853ec7e.js} +1 -4
  318. package/dist/esm/v2/{OrMenu-df27d0ef.js → OrMenu-be703ebe.js} +2 -5
  319. package/dist/esm/v2/{OrMenuItem-c7f28480.js → OrMenuItem-800f4e27.js} +2 -5
  320. package/dist/esm/v2/{OrModal-a7719843.js → OrModal-280c51e2.js} +3 -6
  321. package/dist/esm/v2/{OrNotification-8a4830a3.js → OrNotification-cda58aae.js} +3 -6
  322. package/dist/esm/v2/{OrOverlay-18ba2dc6.js → OrOverlay-a019186f.js} +1 -3
  323. package/dist/esm/v2/{OrPagination-c0dbec6a.js → OrPagination-7737c886.js} +7 -10
  324. package/dist/esm/v2/{OrPopover-9bafbdb4.js → OrPopover-d5d4f62a.js} +2 -4
  325. package/dist/esm/v2/{OrProgress-c27c8946.js → OrProgress-9ef9e689.js} +2 -4
  326. package/dist/esm/v2/{OrRadio-848ce55d.js → OrRadio-6c0b285c.js} +32 -19
  327. package/dist/esm/v2/{OrSearch-0f08f2f5.js → OrSearch-c0ca36a3.js} +4 -6
  328. package/dist/esm/v2/{OrSegmentedControl-e8dce8f9.js → OrSegmentedControl-0d6555d3.js} +2 -6
  329. package/dist/esm/v2/{OrSelect-f8837f5d.js → OrSelect-3f8791a6.js} +12 -14
  330. package/dist/esm/v2/{OrSkeletonText-950be6a2.js → OrSkeletonText-a1dae7b0.js} +5 -10
  331. package/dist/esm/v2/{OrSortHeader-19bf94ca.js → OrSortHeader-811adaa9.js} +2 -5
  332. package/dist/esm/v2/{OrSwitch-13b6a7ee.js → OrSwitch-4e54b920.js} +33 -20
  333. package/dist/esm/v2/{OrTab-702e7335.js → OrTab-f3fe7bd3.js} +1 -4
  334. package/dist/esm/v2/{OrTabs-71bd3fd2.js → OrTabs-8d2f6b0d.js} +7 -9
  335. package/dist/esm/v2/{OrTag-5c404031.js → OrTag-fa16d1c7.js} +3 -6
  336. package/dist/esm/v2/{OrText-ba5a2b6c.js → OrText-fa5ce3c7.js} +1 -4
  337. package/dist/esm/v2/{OrTextarea-6712a150.js → OrTextarea-7f53bd68.js} +45 -27
  338. package/dist/esm/v2/{OrTooltip-513bee30.js → OrTooltip-f25b4195.js} +2 -4
  339. package/dist/esm/v2/components/index.js +47 -46
  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 +20 -4
  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 -8
  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 -8
  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 +45 -10
  375. package/dist/esm/v2/components/or-input-v3/index.js +13 -12
  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 -2
  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 -4
  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 +15 -14
  402. package/dist/esm/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +2 -2
  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 +2 -2
  406. package/dist/esm/v2/components/or-select-v3/index.js +18 -17
  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 +2 -2
  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 +20 -4
  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 +2 -2
  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 -8
  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-b645281b.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-739f1e66.js} +2 -5
  438. package/dist/esm/v3/{OrBottomSheet-62817aec.js → OrBottomSheet-13a416ef.js} +2 -4
  439. package/dist/esm/v3/{OrButton-0fa67a0d.js → OrButton-9b46f289.js} +2 -5
  440. package/dist/esm/v3/{OrCard-fd92f7c8.js → OrCard-1e98792f.js} +1 -4
  441. package/dist/esm/v3/{OrCardCollection-dbb3e839.js → OrCardCollection-94354105.js} +9 -12
  442. package/dist/esm/v3/{OrCheckbox-3e139eac.js → OrCheckbox-4597be36.js} +38 -23
  443. package/dist/esm/v3/{OrConfirm-1bcd39b1.js → OrConfirm-34d05274.js} +3 -3
  444. package/dist/esm/v3/{OrError-ec8c709d.js → OrError-647809eb.js} +1 -4
  445. package/dist/esm/v3/{OrErrorTag-98252eef.js → OrErrorTag-4d1fa67e.js} +2 -5
  446. package/dist/esm/v3/{OrExpansionPanel-f8d7ff8d.js → OrExpansionPanel-2e5d5f57.js} +2 -5
  447. package/dist/esm/v3/{OrFab-c8ae6e01.js → OrFab-e7a75f63.js} +1 -1
  448. package/dist/esm/v3/{OrHint-74bb732d.js → OrHint-92ff8ebd.js} +1 -4
  449. package/dist/esm/v3/{OrIcon-b195169c.js → OrIcon-b2609f51.js} +1 -4
  450. package/dist/esm/v3/{OrIconButton-1a89fbf9.js → OrIconButton-179ef0c9.js} +4 -7
  451. package/dist/esm/v3/{OrInlineInput-507fc99c.js → OrInlineInput-078e8c3b.js} +42 -27
  452. package/dist/esm/v3/{OrInlineInputBox-8049f95a.js → OrInlineInputBox-7236795b.js} +1 -4
  453. package/dist/esm/v3/{OrInlineTextarea-53a9e027.js → OrInlineTextarea-2b2809df.js} +42 -27
  454. package/dist/esm/v3/{OrInput-9c0426b9.js → OrInput-3be6ca17.js} +46 -36
  455. package/dist/esm/v3/{OrInputBox-6d1b6059.js → OrInputBox-634c2408.js} +1 -4
  456. package/dist/esm/v3/{OrLabel-bdaec602.js → OrLabel-3b2fa2f6.js} +1 -4
  457. package/dist/esm/v3/{OrLink-338db3ca.js → OrLink-508906da.js} +1 -4
  458. package/dist/esm/v3/{OrLoader-b3cf4231.js → OrLoader-d1bb3d20.js} +1 -4
  459. package/dist/esm/v3/{OrMenu-840038cd.js → OrMenu-74f064d9.js} +2 -5
  460. package/dist/esm/v3/{OrMenuItem-9da279f6.js → OrMenuItem-e746a568.js} +2 -5
  461. package/dist/esm/v3/{OrModal-7878cc39.js → OrModal-3ff85197.js} +3 -6
  462. package/dist/esm/v3/{OrNotification-e1383681.js → OrNotification-87250a56.js} +3 -6
  463. package/dist/esm/v3/{OrOverlay-738a44d5.js → OrOverlay-afad3aa4.js} +1 -3
  464. package/dist/esm/v3/{OrPagination-a703307d.js → OrPagination-99ab43d2.js} +7 -10
  465. package/dist/esm/v3/{OrPopover-1075dd38.js → OrPopover-40217b49.js} +2 -4
  466. package/dist/esm/v3/{OrProgress-407002e0.js → OrProgress-39e4552b.js} +2 -4
  467. package/dist/esm/v3/{OrRadio-54b6d0de.js → OrRadio-a48e1034.js} +36 -21
  468. package/dist/esm/v3/{OrSearch-9885d178.js → OrSearch-012400c6.js} +4 -6
  469. package/dist/esm/v3/{OrSegmentedControl-171cad78.js → OrSegmentedControl-dca15e65.js} +3 -7
  470. package/dist/esm/v3/{OrSelect-8fbd88bc.js → OrSelect-17e3f6fe.js} +12 -14
  471. package/dist/esm/v3/{OrSkeletonText-3965ff71.js → OrSkeletonText-480bdab1.js} +5 -10
  472. package/dist/esm/v3/{OrSortHeader-fe1a9cf8.js → OrSortHeader-b56c3bde.js} +2 -5
  473. package/dist/esm/v3/{OrSwitch-cca30aa0.js → OrSwitch-4efdaf31.js} +37 -23
  474. package/dist/esm/v3/{OrTab-c131cf60.js → OrTab-5fe0f1e4.js} +1 -4
  475. package/dist/esm/v3/{OrTabs-d0ee6cef.js → OrTabs-256d5d56.js} +7 -9
  476. package/dist/esm/v3/{OrTag-5d54f37d.js → OrTag-6a8bb7fe.js} +3 -6
  477. package/dist/esm/v3/{OrText-ecb46923.js → OrText-0d118559.js} +1 -4
  478. package/dist/esm/v3/{OrTextarea-bb9ef3f2.js → OrTextarea-c940ad3e.js} +48 -29
  479. package/dist/esm/v3/{OrTooltip-50d27b4f.js → OrTooltip-50b4c0a7.js} +2 -4
  480. package/dist/esm/v3/components/index.js +47 -46
  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 +20 -4
  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 -8
  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 -8
  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 +45 -10
  516. package/dist/esm/v3/components/or-input-v3/index.js +13 -12
  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 -2
  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 -4
  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 +15 -14
  543. package/dist/esm/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +2 -2
  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 +2 -2
  547. package/dist/esm/v3/components/or-select-v3/index.js +18 -17
  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 +2 -2
  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 +20 -4
  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 +2 -2
  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 -8
  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-ede6036f.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 -6
  580. package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +0 -4
  581. package/src/components/or-button-v3/OrButton.vue +0 -4
  582. package/src/components/or-card-collection-v3/OrCardCollection.vue +6 -14
  583. package/src/components/or-card-v3/OrCard.vue +0 -4
  584. package/src/components/or-checkbox-v3/OrCheckbox.vue +28 -13
  585. package/src/components/or-error-tag-v3/OrErrorTag.vue +0 -4
  586. package/src/components/or-error-v3/OrError.vue +0 -4
  587. package/src/components/or-expansion-panel-v3/OrExpansionPanel.vue +0 -4
  588. package/src/components/or-hint-v3/OrHint.vue +0 -4
  589. package/src/components/or-icon-button-v3/OrIconButton.vue +0 -4
  590. package/src/components/or-icon-v3/OrIcon.vue +0 -4
  591. package/src/components/or-inline-input-box-v3/OrInlineInputBox.vue +0 -4
  592. package/src/components/or-inline-input-v3/OrInlineInput.vue +32 -16
  593. package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +32 -16
  594. package/src/components/or-input-box-v3/OrInputBox.vue +0 -4
  595. package/src/components/or-input-v3/OrInput.stories3.ts +4 -4
  596. package/src/components/or-input-v3/OrInput.vue +33 -23
  597. package/src/components/or-label-v3/OrLabel.vue +0 -4
  598. package/src/components/or-link-v3/OrLink.vue +0 -4
  599. package/src/components/or-loader-v3/OrLoader.vue +1 -5
  600. package/src/components/or-menu-item-v3/OrMenuItem.vue +0 -4
  601. package/src/components/or-menu-v3/OrMenu.vue +0 -4
  602. package/src/components/or-modal-v3/OrModal.vue +0 -4
  603. package/src/components/or-notification-v3/OrNotification.vue +0 -4
  604. package/src/components/or-overlay-v3/OrOverlay.vue +1 -4
  605. package/src/components/or-pagination-v3/OrPagination.vue +1 -5
  606. package/src/components/or-popover-v3/OrPopover.vue +1 -4
  607. package/src/components/or-progress-v3/OrProgress.vue +3 -17
  608. package/src/components/or-radio-v3/OrRadio.vue +27 -12
  609. package/src/components/or-search-v3/OrSearch.vue +1 -5
  610. package/src/components/or-segmented-control-v3/OrSegmentedControl.vue +1 -5
  611. package/src/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/OrSegmentedControlItem.vue +0 -4
  612. package/src/components/or-select-v3/OrSelect.vue +1 -4
  613. package/src/components/or-skeleton-v3/OrSkeletonCircle.vue +1 -5
  614. package/src/components/or-skeleton-v3/OrSkeletonRect.vue +1 -5
  615. package/src/components/or-skeleton-v3/OrSkeletonText.vue +1 -6
  616. package/src/components/or-sort-header-v3/OrSortHeader.vue +0 -4
  617. package/src/components/or-switch-v3/OrSwitch.vue +27 -12
  618. package/src/components/or-tab-v3/OrTab.vue +0 -4
  619. package/src/components/or-tabs-v3/OrTabs.vue +1 -5
  620. package/src/components/or-tag-v3/OrTag.vue +0 -4
  621. package/src/components/or-tag-v3/styles.ts +0 -3
  622. package/src/components/or-text-v3/OrText.vue +0 -4
  623. package/src/components/or-textarea-v3/OrTextarea.stories3.ts +4 -4
  624. package/src/components/or-textarea-v3/OrTextarea.vue +37 -17
  625. package/src/components/or-tooltip-v3/OrTooltip.vue +0 -4
  626. package/src/hooks/index.ts +3 -1
  627. package/src/hooks/useControlAttributes.ts +19 -0
  628. package/src/hooks/useIdAttribute.ts +9 -0
  629. package/src/hooks/useValidationAttributes.ts +25 -0
  630. package/dist/bundled/v2/hooks/useClassAttribute.d.ts +0 -3
  631. package/dist/bundled/v2/useClassAttribute-9bf33346.js +0 -33
  632. package/dist/bundled/v3/hooks/useClassAttribute.d.ts +0 -3
  633. package/dist/bundled/v3/useClassAttribute-00888f78.js +0 -9
  634. package/dist/esm/v2/hooks/useClassAttribute.d.ts +0 -3
  635. package/dist/esm/v2/useClassAttribute-47fdb016.js +0 -32
  636. package/dist/esm/v3/hooks/useClassAttribute.d.ts +0 -3
  637. package/dist/esm/v3/useClassAttribute-47fdb016.js +0 -32
  638. package/src/hooks/useClassAttribute.ts +0 -39
  639. /package/dist/bundled/v2/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.d.ts +0 -0
  640. /package/dist/bundled/v3/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.d.ts +0 -0
  641. /package/dist/esm/v2/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.d.ts +0 -0
  642. /package/dist/esm/v3/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.d.ts +0 -0
  643. /package/src/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.ts +0 -0
@@ -8,10 +8,9 @@
8
8
  </template>
9
9
 
10
10
  <script lang="ts">
11
- import { computed, defineComponent, ref } from 'vue-demi';
12
11
  import _ from 'lodash';
12
+ import { computed, defineComponent, ref } from 'vue-demi';
13
13
  import { pxToRem } from '../../utils/functions/px-to-rem';
14
- import { useClassAttribute } from '../../hooks';
15
14
  import { SkeletonAnimated, SkeletonRect, SkeletonRoot } from './styles';
16
15
 
17
16
  export default defineComponent({
@@ -46,15 +45,12 @@ export default defineComponent({
46
45
  const root = ref<HTMLElement>();
47
46
 
48
47
  // Styles
49
- const classAttribute = useClassAttribute();
50
-
51
48
  const rootStyles = computed(() => [
52
49
  'or-skeleton',
53
50
  'or-skeleton-rect',
54
51
  ...SkeletonRoot,
55
52
  ...SkeletonRect,
56
53
  ...(props.animated ? SkeletonAnimated : []),
57
- classAttribute.value,
58
54
  ]);
59
55
 
60
56
  const rootStyle = computed(() => {
@@ -15,10 +15,9 @@
15
15
  </template>
16
16
 
17
17
  <script lang="ts">
18
- import { computed, defineComponent, ref } from 'vue-demi';
19
18
  import _ from 'lodash';
19
+ import { computed, defineComponent, ref } from 'vue-demi';
20
20
  import { pxToRem } from '../../utils/functions/px-to-rem';
21
- import { useClassAttribute } from '../../hooks';
22
21
  import { SkeletonAnimated, SkeletonRoot, SkeletonText, SkeletonTextContainerRoot } from './styles';
23
22
 
24
23
  export default defineComponent({
@@ -63,12 +62,9 @@ export default defineComponent({
63
62
  const root = ref<HTMLElement>();
64
63
 
65
64
  // Styles
66
- const classAttribute = useClassAttribute();
67
-
68
65
  const containerStyles = computed(() => [
69
66
  'or-skeleton-text-root',
70
67
  ...SkeletonTextContainerRoot,
71
- classAttribute.value,
72
68
  ]);
73
69
 
74
70
  const containerStyle = computed(() => {
@@ -85,7 +81,6 @@ export default defineComponent({
85
81
  ...SkeletonRoot,
86
82
  ...SkeletonText,
87
83
  ...(props.animated ? SkeletonAnimated : []),
88
- classAttribute.value,
89
84
  ]);
90
85
 
91
86
  const rowStyle = computed(() => {
@@ -19,7 +19,6 @@
19
19
 
20
20
  <script lang="ts">
21
21
  import { computed, defineComponent, PropType, ref } from 'vue-demi';
22
- import { useClassAttribute } from '../../hooks';
23
22
  import { OrIconV3 as OrIcon } from '../or-icon-v3';
24
23
  import { SortHeaderRoot } from './styles';
25
24
  import { SortHeaderModel } from './types';
@@ -67,12 +66,9 @@ export default defineComponent({
67
66
  const root = ref<HTMLElement>();
68
67
 
69
68
  // Styles
70
- const classAttribute = useClassAttribute();
71
-
72
69
  const rootStyles = computed(() => [
73
70
  'or-sort-header',
74
71
  ...SortHeaderRoot,
75
- classAttribute.value,
76
72
  ]);
77
73
 
78
74
  // State
@@ -1,13 +1,14 @@
1
1
  <template>
2
2
  <div
3
3
  ref="root"
4
+ v-bind="$attrs"
4
5
  :class="rootStyles"
5
6
  >
6
7
  <template v-if="!loading">
7
8
  <input
8
- v-bind="$attrs"
9
- :id="controlId"
9
+ ref="control"
10
10
  v-model="proxyModelValue"
11
+ v-bind="controlAttributes"
11
12
  :class="controlStyles"
12
13
  type="checkbox"
13
14
  :value="inputValue"
@@ -33,7 +34,7 @@
33
34
 
34
35
  <template v-if="$slots.default || label">
35
36
  <OrLabel
36
- :control-id="controlId"
37
+ :control-id="controlAttributes.id"
37
38
  :variant="labelVariant"
38
39
  :required="required"
39
40
  :disabled="disabled"
@@ -49,8 +50,8 @@
49
50
  </template>
50
51
 
51
52
  <script lang="ts">
52
- import { computed, defineComponent, getCurrentInstance, PropType, ref } from 'vue-demi';
53
- import { useClassAttribute } from '../../hooks';
53
+ import { computed, defineComponent, PropType, reactive, ref } from 'vue-demi';
54
+ import { useControlAttributes, useIdAttribute } from '../../hooks';
54
55
  import { LabelVariant, OrLabelV3 as OrLabel } from '../or-label-v3';
55
56
  import { OrLoaderV3 as OrLoader } from '../or-loader-v3';
56
57
  import { SwitchControl, SwitchControlHandle, SwitchLoader, SwitchLoaderHandle, SwitchRoot } from './styles';
@@ -117,21 +118,20 @@ export default defineComponent({
117
118
 
118
119
  expose: [
119
120
  'root',
121
+
122
+ 'focus',
123
+ 'blur',
120
124
  ],
121
125
 
122
126
  setup(props, context) {
123
- const currentInstance = getCurrentInstance()!;
124
-
125
127
  // Refs
126
128
  const root = ref<HTMLElement>();
129
+ const control = ref<HTMLInputElement>();
127
130
 
128
131
  // Styles
129
- const classAttribute = useClassAttribute();
130
-
131
132
  const rootStyles = computed(() => [
132
133
  'or-switch',
133
134
  ...SwitchRoot,
134
- classAttribute.value,
135
135
  ]);
136
136
 
137
137
  const controlStyles = computed(() => [
@@ -145,7 +145,10 @@ export default defineComponent({
145
145
  ]);
146
146
 
147
147
  // State
148
- const controlId = ref(context.attrs.id as string ?? currentInstance.uid.toString());
148
+ const controlAttributes = reactive({
149
+ id: useIdAttribute(),
150
+ ...useControlAttributes(),
151
+ });
149
152
 
150
153
  const proxyModelValue = computed({
151
154
  get: () => {
@@ -158,13 +161,25 @@ export default defineComponent({
158
161
  },
159
162
  });
160
163
 
164
+ // Methods
165
+ function focus(): void {
166
+ control.value?.focus();
167
+ }
168
+
169
+ function blur(): void {
170
+ control.value?.blur();
171
+ }
172
+
161
173
  return {
162
174
  root,
175
+ control,
163
176
  rootStyles,
164
177
  controlStyles,
165
178
  loaderStyles,
166
- controlId,
179
+ controlAttributes,
167
180
  proxyModelValue,
181
+ focus,
182
+ blur,
168
183
  };
169
184
  },
170
185
  });
@@ -15,7 +15,6 @@
15
15
 
16
16
  <script lang="ts">
17
17
  import { computed, defineComponent, ref } from 'vue-demi';
18
- import { useClassAttribute } from '../../hooks';
19
18
  import { TabRoot } from './styles';
20
19
 
21
20
  export default defineComponent({
@@ -45,12 +44,9 @@ export default defineComponent({
45
44
  const root = ref<HTMLElement>();
46
45
 
47
46
  // Styles
48
- const classAttribute = useClassAttribute();
49
-
50
47
  const rootStyles = computed(() => [
51
48
  'or-tab',
52
49
  ...TabRoot,
53
- classAttribute.value,
54
50
  ]);
55
51
 
56
52
  return {
@@ -47,7 +47,6 @@
47
47
  <script lang="ts">
48
48
  import { useResizeObserver } from '@vueuse/core';
49
49
  import { computed, defineComponent, nextTick, onMounted, PropType, reactive, ref, watch } from 'vue-demi';
50
- import { useClassAttribute } from '../../hooks';
51
50
  import { OrIconV3 as OrIcon } from '../or-icon-v3';
52
51
  import { OrMenuItemV3 as OrMenuItem } from '../or-menu-item-v3';
53
52
  import { OrMenuV3 as OrMenu } from '../or-menu-v3';
@@ -111,13 +110,10 @@ export default defineComponent({
111
110
  const overflowMenuRoot = computed(() => overflowMenu.value?.root);
112
111
 
113
112
  // Styles
114
- const classAttribute = useClassAttribute();
115
-
116
113
  const rootStyles = computed(() => [
117
114
  'or-tabs',
118
115
  ...TabsRoot,
119
116
  ...TabsRootVariants[props.variant],
120
- classAttribute.value,
121
117
  ]);
122
118
 
123
119
  // State
@@ -139,7 +135,7 @@ export default defineComponent({
139
135
 
140
136
  const activeTab = computed(() => props.items.find(({ value }) => value === proxyModelValue.value)!);
141
137
 
142
- // Functions
138
+ // Methods
143
139
  function rearrangeTabs(items: TabsItem[], activeTab: TabsItem, rootElement: Element): typeof tabs {
144
140
  const { children } = rootElement;
145
141
 
@@ -26,7 +26,6 @@
26
26
 
27
27
  <script lang="ts">
28
28
  import { computed, defineComponent, PropType, ref, unref, watchPostEffect } from 'vue-demi';
29
- import { useClassAttribute } from '../../hooks';
30
29
  import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3';
31
30
  import { TagColor, TagVariant } from './props';
32
31
  import { TagRoot, TagRootColors, TagRootVariants } from './styles';
@@ -74,14 +73,11 @@ export default defineComponent({
74
73
  const root = ref<HTMLElement>();
75
74
 
76
75
  // Styles
77
- const classAttribute = useClassAttribute();
78
-
79
76
  const rootStyles = computed(() => [
80
77
  'or-tag',
81
78
  ...TagRoot,
82
79
  ...TagRootVariants[props.variant],
83
80
  ...!custom.value ? TagRootColors[props.color as TagColor] : [],
84
- classAttribute.value,
85
81
  ]);
86
82
 
87
83
  // State
@@ -49,9 +49,6 @@ export const TagRootColors: Record<TagColor, string[]> = {
49
49
  // Theme
50
50
  'theme-preset-2-primary',
51
51
  'dark:theme-preset-2-primary-dark',
52
-
53
- 'theme-foreground-default',
54
- 'dark:theme-foreground-default-dark',
55
52
  ],
56
53
 
57
54
  'danger': [
@@ -16,7 +16,6 @@
16
16
 
17
17
  <script lang="ts">
18
18
  import { computed, defineComponent, ref } from 'vue-demi';
19
- import { useClassAttribute } from '../../hooks';
20
19
  import { MainText, RestText, TextRoot } from './styles';
21
20
 
22
21
  export default defineComponent({
@@ -45,12 +44,9 @@ export default defineComponent({
45
44
  const root = ref<HTMLElement>();
46
45
 
47
46
  // Styles
48
- const classAttribute = useClassAttribute();
49
-
50
47
  const rootStyles = computed(() => [
51
48
  'or-text',
52
49
  ...TextRoot,
53
- classAttribute.value,
54
50
  ]);
55
51
 
56
52
  const mainTextStyles = computed(() => [
@@ -16,10 +16,6 @@ export default {
16
16
  control: { type: 'text' },
17
17
  },
18
18
 
19
- readonly: {
20
- control: { type: 'boolean' },
21
- },
22
-
23
19
  maxlength: {
24
20
  control: { type: 'number' },
25
21
  },
@@ -68,6 +64,10 @@ export default {
68
64
  control: { type: 'boolean' },
69
65
  },
70
66
 
67
+ readonly: {
68
+ control: { type: 'boolean' },
69
+ },
70
+
71
71
  disabled: {
72
72
  control: { type: 'boolean' },
73
73
  },
@@ -1,11 +1,12 @@
1
1
  <template>
2
2
  <div
3
3
  ref="root"
4
+ v-bind="$attrs"
4
5
  :class="rootStyles"
5
6
  >
6
7
  <template v-if="label">
7
8
  <OrLabel
8
- :control-id="controlId"
9
+ :control-id="controlAttributes.id"
9
10
  :variant="'input'"
10
11
  :required="required"
11
12
  :disabled="disabled"
@@ -25,12 +26,13 @@
25
26
  :disabled="disabled"
26
27
  >
27
28
  <textarea
28
- :id="controlId"
29
+ ref="control"
29
30
  v-model="proxyModelValue"
30
- v-bind="$attrs"
31
+ v-bind="controlAttributes"
31
32
  :class="controlStyles"
32
33
  :placeholder="placeholder"
33
34
  :required="required"
35
+ :readonly="readonly"
34
36
  :disabled="disabled"
35
37
  @keydown="$emit('keydown', $event)"
36
38
  @keyup="$emit('keyup', $event)"
@@ -70,8 +72,8 @@
70
72
  </template>
71
73
 
72
74
  <script lang="ts">
73
- import { computed, defineComponent, getCurrentInstance, PropType, ref } from 'vue-demi';
74
- import { useClassAttribute } from '../../hooks';
75
+ import { computed, defineComponent, PropType, reactive, ref } from 'vue-demi';
76
+ import { useControlAttributes, useIdAttribute, useValidationAttributes } from '../../hooks';
75
77
  import { OrErrorV3 as OrError } from '../or-error-v3';
76
78
  import { OrHintV3 as OrHint } from '../or-hint-v3';
77
79
  import { OrInputBoxV3 as OrInputBox } from '../or-input-box-v3';
@@ -132,6 +134,11 @@ export default defineComponent({
132
134
  default: false,
133
135
  },
134
136
 
137
+ readonly: {
138
+ type: Boolean,
139
+ default: false,
140
+ },
141
+
135
142
  disabled: {
136
143
  type: Boolean,
137
144
  default: false,
@@ -150,21 +157,20 @@ export default defineComponent({
150
157
 
151
158
  expose: [
152
159
  'root',
160
+
161
+ 'focus',
162
+ 'blur',
153
163
  ],
154
164
 
155
165
  setup(props, context) {
156
- const currentInstance = getCurrentInstance()!;
157
-
158
166
  // Refs
159
167
  const root = ref<HTMLElement>();
168
+ const control = ref<HTMLTextAreaElement>();
160
169
 
161
170
  // Styles
162
- const classAttribute = useClassAttribute();
163
-
164
171
  const rootStyles = computed(() => [
165
172
  'or-textarea',
166
173
  ...TextareaRoot,
167
- classAttribute.value,
168
174
  ]);
169
175
 
170
176
  const controlStyles = computed(() => [
@@ -172,7 +178,11 @@ export default defineComponent({
172
178
  ]);
173
179
 
174
180
  // State
175
- const controlId = ref(context.attrs.id as string ?? currentInstance.uid.toString());
181
+ const controlAttributes = reactive({
182
+ id: useIdAttribute(),
183
+ ...useControlAttributes(),
184
+ ...useValidationAttributes(),
185
+ });
176
186
 
177
187
  const proxyModelValue = computed({
178
188
  get: () => {
@@ -185,22 +195,32 @@ export default defineComponent({
185
195
  },
186
196
  });
187
197
 
198
+ const currentLength = computed(() => proxyModelValue.value?.toString().length ?? 0);
199
+ const maxLength = computed(() => controlAttributes.maxlength);
200
+
188
201
  const invalid = computed(() => !!props.error);
189
- const readonly = computed(() => context.attrs.readonly as boolean);
190
202
 
191
- const currentLength = computed(() => proxyModelValue.value?.toString().length ?? 0);
192
- const maxLength = computed(() => context.attrs.maxlength as number | undefined);
203
+ // Methods
204
+ function focus(): void {
205
+ control.value?.focus();
206
+ }
207
+
208
+ function blur(): void {
209
+ control.value?.blur();
210
+ }
193
211
 
194
212
  return {
195
213
  root,
214
+ control,
196
215
  rootStyles,
197
216
  controlStyles,
198
- controlId,
217
+ controlAttributes,
199
218
  proxyModelValue,
200
- invalid,
201
- readonly,
202
219
  currentLength,
203
220
  maxLength,
221
+ invalid,
222
+ focus,
223
+ blur,
204
224
  };
205
225
  },
206
226
  });
@@ -27,7 +27,6 @@
27
27
  <script lang="ts">
28
28
  import { useDebounceFn, useElementHover } from '@vueuse/core';
29
29
  import { computed, defineComponent, PropType, ref, watch } from 'vue-demi';
30
- import { useClassAttribute } from '../../hooks';
31
30
  import { OrPopoverV3 as OrPopover } from '../or-popover-v3';
32
31
  import { TooltipPlacement } from './props';
33
32
  import { TooltipBody, TooltipBodyPlacements, TooltipRoot } from './styles';
@@ -71,12 +70,9 @@ export default defineComponent({
71
70
  const popoverRoot = computed(() => popover.value?.root);
72
71
 
73
72
  // Styles
74
- const classAttribute = useClassAttribute();
75
-
76
73
  const rootStyles = computed(() => [
77
74
  'or-tooltip',
78
75
  ...TooltipRoot,
79
- classAttribute.value,
80
76
  ]);
81
77
 
82
78
  const bodyStyles = computed(() => [
@@ -1,5 +1,7 @@
1
- export { useClassAttribute } from './useClassAttribute';
1
+ export { useControlAttributes } from './useControlAttributes';
2
2
  export { useElevation } from './useElevation';
3
+ export { useIdAttribute } from './useIdAttribute';
3
4
  export { useOverflow } from './useOverflow';
4
5
  export { useResponsive } from './useResponsive';
5
6
  export { default as useToggle } from './useToggle';
7
+ export { useValidationAttributes } from './useValidationAttributes';
@@ -0,0 +1,19 @@
1
+ import { computed, ComputedRef, useAttrs } from 'vue-demi';
2
+
3
+ interface ControlAttributes {
4
+ readonly: ComputedRef<boolean | undefined>;
5
+ disabled: ComputedRef<boolean | undefined>;
6
+
7
+ 'force-state': ComputedRef<string | undefined>;
8
+ }
9
+
10
+ export function useControlAttributes(): ControlAttributes {
11
+ const attributes = useAttrs();
12
+
13
+ return {
14
+ readonly: computed(() => attributes['readonly'] as boolean | undefined),
15
+ disabled: computed(() => attributes['disabled'] as boolean | undefined),
16
+
17
+ 'force-state': computed(() => attributes['force-state'] as string | undefined),
18
+ };
19
+ }
@@ -0,0 +1,9 @@
1
+ import { computed, ComputedRef, getCurrentInstance, useAttrs } from 'vue-demi';
2
+
3
+ export function useIdAttribute(): ComputedRef<string | undefined> {
4
+ const attributes = useAttrs(), component = getCurrentInstance();
5
+
6
+ return computed(() => {
7
+ return attributes['id'] as string | undefined ?? component?.uid.toString();
8
+ });
9
+ }
@@ -0,0 +1,25 @@
1
+ import { computed, ComputedRef, useAttrs } from 'vue-demi';
2
+
3
+ interface ValidationAttributes {
4
+ required: ComputedRef<boolean | undefined>;
5
+ minlength: ComputedRef<number | undefined>;
6
+ maxlength: ComputedRef<number | undefined>;
7
+ pattern: ComputedRef<string | undefined>;
8
+ min: ComputedRef<number | undefined>;
9
+ max: ComputedRef<number | undefined>;
10
+ step: ComputedRef<number | undefined>;
11
+ }
12
+
13
+ export function useValidationAttributes(): ValidationAttributes {
14
+ const attributes = useAttrs();
15
+
16
+ return {
17
+ required: computed(() => attributes['required'] as boolean | undefined),
18
+ minlength: computed(() => attributes['minlength'] as number | undefined),
19
+ maxlength: computed(() => attributes['maxlength'] as number | undefined),
20
+ pattern: computed(() => attributes['pattern'] as string | undefined),
21
+ min: computed(() => attributes['min'] as number | undefined),
22
+ max: computed(() => attributes['max'] as number | undefined),
23
+ step: computed(() => attributes['step'] as number | undefined),
24
+ };
25
+ }
@@ -1,3 +0,0 @@
1
- import { ComputedRef } from 'vue-demi';
2
- export declare type UseClassAttributeReturn = ComputedRef<string | undefined>;
3
- export declare function useClassAttribute(): UseClassAttributeReturn;
@@ -1,33 +0,0 @@
1
- import './index-fa6eb4ca.js';
2
- import { getCurrentInstance, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
3
-
4
- function useClassAttribute() {
5
- const currentInstance = getCurrentInstance();
6
- // Functions
7
- function composeClass() {
8
- var _a;
9
- const {
10
- staticClass = '',
11
- class: classProperty
12
- } = (_a = (currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.vnode).data) !== null && _a !== void 0 ? _a : {};
13
- if (!classProperty) {
14
- return staticClass || undefined;
15
- }
16
- switch (true) {
17
- case classProperty.constructor === Object:
18
- return Object.entries(classProperty).filter(([, value]) => !!value).map(([className]) => className).reduce((classList, className) => `${classList} ${className}`, staticClass).trim();
19
- case Array.isArray(classProperty):
20
- return `${staticClass} ${classProperty.join(' ')}`.trim();
21
- default:
22
- return `${staticClass} ${classProperty}`.trim();
23
- }
24
- }
25
- return computed(() => {
26
- var _a;
27
- {
28
- return (_a = currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.attrs.class) !== null && _a !== void 0 ? _a : composeClass();
29
- }
30
- });
31
- }
32
-
33
- export { useClassAttribute as u };
@@ -1,3 +0,0 @@
1
- import { ComputedRef } from 'vue-demi';
2
- export declare type UseClassAttributeReturn = ComputedRef<string | undefined>;
3
- export declare function useClassAttribute(): UseClassAttributeReturn;
@@ -1,9 +0,0 @@
1
- import { getCurrentInstance, computed } from 'vue';
2
-
3
- function useClassAttribute() {
4
- getCurrentInstance();
5
- return computed(() => {
6
- });
7
- }
8
-
9
- export { useClassAttribute as u };
@@ -1,3 +0,0 @@
1
- import { ComputedRef } from 'vue-demi';
2
- export declare type UseClassAttributeReturn = ComputedRef<string | undefined>;
3
- export declare function useClassAttribute(): UseClassAttributeReturn;
@@ -1,32 +0,0 @@
1
- import { getCurrentInstance, computed, isVue2 } from 'vue-demi';
2
-
3
- function useClassAttribute() {
4
- const currentInstance = getCurrentInstance();
5
- // Functions
6
- function composeClass() {
7
- var _a;
8
- const {
9
- staticClass = '',
10
- class: classProperty
11
- } = (_a = (currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.vnode).data) !== null && _a !== void 0 ? _a : {};
12
- if (!classProperty) {
13
- return staticClass || undefined;
14
- }
15
- switch (true) {
16
- case classProperty.constructor === Object:
17
- return Object.entries(classProperty).filter(([, value]) => !!value).map(([className]) => className).reduce((classList, className) => `${classList} ${className}`, staticClass).trim();
18
- case Array.isArray(classProperty):
19
- return `${staticClass} ${classProperty.join(' ')}`.trim();
20
- default:
21
- return `${staticClass} ${classProperty}`.trim();
22
- }
23
- }
24
- return computed(() => {
25
- var _a;
26
- if (isVue2) {
27
- return (_a = currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.attrs.class) !== null && _a !== void 0 ? _a : composeClass();
28
- }
29
- });
30
- }
31
-
32
- export { useClassAttribute as u };
@@ -1,3 +0,0 @@
1
- import { ComputedRef } from 'vue-demi';
2
- export declare type UseClassAttributeReturn = ComputedRef<string | undefined>;
3
- export declare function useClassAttribute(): UseClassAttributeReturn;
@@ -1,32 +0,0 @@
1
- import { getCurrentInstance, computed, isVue2 } from 'vue-demi';
2
-
3
- function useClassAttribute() {
4
- const currentInstance = getCurrentInstance();
5
- // Functions
6
- function composeClass() {
7
- var _a;
8
- const {
9
- staticClass = '',
10
- class: classProperty
11
- } = (_a = (currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.vnode).data) !== null && _a !== void 0 ? _a : {};
12
- if (!classProperty) {
13
- return staticClass || undefined;
14
- }
15
- switch (true) {
16
- case classProperty.constructor === Object:
17
- return Object.entries(classProperty).filter(([, value]) => !!value).map(([className]) => className).reduce((classList, className) => `${classList} ${className}`, staticClass).trim();
18
- case Array.isArray(classProperty):
19
- return `${staticClass} ${classProperty.join(' ')}`.trim();
20
- default:
21
- return `${staticClass} ${classProperty}`.trim();
22
- }
23
- }
24
- return computed(() => {
25
- var _a;
26
- if (isVue2) {
27
- return (_a = currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.attrs.class) !== null && _a !== void 0 ? _a : composeClass();
28
- }
29
- });
30
- }
31
-
32
- export { useClassAttribute as u };