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