@onereach/ui-components 2.71.3-beta.2245.0 → 2.72.0-beta.2247.0

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