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