@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
@@ -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
  <div :class="iconStyles">
@@ -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 { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3';
28
30
  import { OrIconV3 as OrIcon } from '../or-icon-v3';
29
31
  import { NotificationVariant } from './props';
@@ -37,6 +39,8 @@ export default defineComponent({
37
39
  OrIconButton,
38
40
  },
39
41
 
42
+ inheritAttrs: false,
43
+
40
44
  props: {
41
45
  variant: {
42
46
  type: String as PropType<NotificationVariant>,
@@ -53,10 +57,13 @@ export default defineComponent({
53
57
  const root = ref<HTMLElement>();
54
58
 
55
59
  // Styles
60
+ const classAttribute = useClassAttribute();
61
+
56
62
  const rootStyles = computed(() => [
57
63
  'or-notification',
58
64
  ...NotificationRoot,
59
65
  ...NotificationRootVariants[props.variant],
66
+ classAttribute.value,
60
67
  ]);
61
68
 
62
69
  const iconStyles = computed(() => [
@@ -13,7 +13,7 @@
13
13
  <script lang="ts">
14
14
  import { useScrollLock } from '@vueuse/core';
15
15
  import { computed, defineComponent, ref } from 'vue-demi';
16
- import { useElevation } from '../../hooks';
16
+ import { useClassAttribute, useElevation } from '../../hooks';
17
17
  import { OrTeleportV3 as OrTeleport } from '../or-teleport-v3';
18
18
  import { OverlayRoot } from './styles';
19
19
 
@@ -42,9 +42,12 @@ export default defineComponent({
42
42
  const root = ref<HTMLElement>();
43
43
 
44
44
  // Styles
45
+ const classAttribute = useClassAttribute();
46
+
45
47
  const rootStyles = computed(() => [
46
48
  'or-overlay',
47
49
  ...OverlayRoot,
50
+ classAttribute.value,
48
51
  ]);
49
52
 
50
53
  // Effects
@@ -15,6 +15,10 @@ export default {
15
15
  control: { type: 'text' },
16
16
  },
17
17
 
18
+ value: { // TODO: Remove Vue 2 fallback
19
+ table: { disable: true },
20
+ },
21
+
18
22
  length: {
19
23
  control: { type: 'number' },
20
24
  },
@@ -61,6 +65,7 @@ const Template: StoryFn<typeof OrPagination> = (args) => ({
61
65
  args,
62
66
  model,
63
67
  onUpdateModelValue: action('update:modelValue'),
68
+ onInput: action('input'),
64
69
  };
65
70
  },
66
71
 
@@ -69,6 +74,7 @@ const Template: StoryFn<typeof OrPagination> = (args) => ({
69
74
  v-model="model"
70
75
  v-bind="args"
71
76
  @update:modelValue="onUpdateModelValue"
77
+ @input="onInput"
72
78
  />
73
79
  `,
74
80
  });
@@ -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
  <div :class="offsetControlStyles">
@@ -70,6 +71,7 @@
70
71
 
71
72
  <script lang="ts">
72
73
  import { computed, defineComponent, PropType, ref } from 'vue-demi';
74
+ import { useClassAttribute } from '../../hooks';
73
75
  import { OrButtonV3 as OrButton } from '../or-button-v3';
74
76
  import { OrIconV3 as OrIcon } from '../or-icon-v3';
75
77
  import { OrMenuItemV3 as OrMenuItem } from '../or-menu-item-v3';
@@ -87,10 +89,7 @@ export default defineComponent({
87
89
  OrMenuItem,
88
90
  },
89
91
 
90
- model: {
91
- prop: 'modelValue',
92
- event: 'update:modelValue',
93
- },
92
+ inheritAttrs: false,
94
93
 
95
94
  props: {
96
95
  modelValue: {
@@ -98,6 +97,11 @@ export default defineComponent({
98
97
  default: undefined,
99
98
  },
100
99
 
100
+ value: { // TODO: Remove Vue 2 fallback
101
+ type: Object as PropType<PaginationModel>,
102
+ default: undefined,
103
+ },
104
+
101
105
  length: {
102
106
  type: Number,
103
107
  required: true,
@@ -111,6 +115,8 @@ export default defineComponent({
111
115
 
112
116
  emits: [
113
117
  'update:modelValue',
118
+
119
+ 'input',
114
120
  ],
115
121
 
116
122
  expose: [
@@ -128,9 +134,12 @@ export default defineComponent({
128
134
  const limitMenuRoot = computed(() => limitMenu.value?.root);
129
135
 
130
136
  // Styles
137
+ const classAttribute = useClassAttribute();
138
+
131
139
  const rootStyles = computed(() => [
132
140
  'or-pagination',
133
141
  ...PaginationRoot,
142
+ classAttribute.value,
134
143
  ]);
135
144
 
136
145
  const offsetControlStyles = computed(() => [
@@ -147,15 +156,20 @@ export default defineComponent({
147
156
 
148
157
  // State
149
158
  const proxyModelValue = computed({
150
- get: () => props.modelValue,
159
+ get: () => {
160
+ return props.modelValue ?? props.value; // TODO: Remove Vue 2 fallback
161
+ },
151
162
 
152
163
  set: (value) => {
164
+ context.emit('input', value);
153
165
  context.emit('update:modelValue', value);
154
166
  },
155
167
  });
156
168
 
157
169
  const currentLimit = computed<number>({
158
- get: () => proxyModelValue.value?.limit ?? props.pageSizeOptions[0],
170
+ get: () => {
171
+ return proxyModelValue.value?.limit ?? props.pageSizeOptions[0];
172
+ },
159
173
 
160
174
  set: (value) => {
161
175
  proxyModelValue.value = {
@@ -166,7 +180,9 @@ export default defineComponent({
166
180
  });
167
181
 
168
182
  const currentOffset = computed<number>({
169
- get: () => proxyModelValue.value?.offset ?? 0,
183
+ get: () => {
184
+ return proxyModelValue.value?.offset ?? 0;
185
+ },
170
186
 
171
187
  set: (value) => {
172
188
  proxyModelValue.value = {
@@ -177,7 +193,9 @@ export default defineComponent({
177
193
  });
178
194
 
179
195
  const currentPage = computed<number>({
180
- get: () => Math.floor(currentOffset.value / currentLimit.value) + 1,
196
+ get: () => {
197
+ return Math.floor(currentOffset.value / currentLimit.value) + 1;
198
+ },
181
199
 
182
200
  set: (value) => {
183
201
  currentOffset.value = (value - 1) * currentLimit.value;
@@ -213,7 +231,7 @@ export default defineComponent({
213
231
  }, [] as (number | string)[]);
214
232
  });
215
233
 
216
- // Methods
234
+ // Functions
217
235
  function toPreviousPage(): void {
218
236
  currentPage.value = currentPage.value - 1;
219
237
  }
@@ -33,7 +33,7 @@
33
33
  import { autoUpdate, computePosition, flip, hide, shift } from '@floating-ui/dom';
34
34
  import { onClickOutside } from '@vueuse/core';
35
35
  import { computed, defineComponent, nextTick, PropType, ref, toRef, unref, watch, watchPostEffect } from 'vue-demi';
36
- import { useElevation, useResponsive } from '../../hooks';
36
+ import { useClassAttribute, useElevation, useResponsive } from '../../hooks';
37
37
  import { OrBottomSheetV3 as OrBottomSheet } from '../or-bottom-sheet-v3';
38
38
  import { OrTeleportV3 as OrTeleport } from '../or-teleport-v3';
39
39
  import { PopoverPlacement, PopoverVariant } from './props';
@@ -98,9 +98,12 @@ export default defineComponent({
98
98
  const bottomSheetRoot = computed(() => bottomSheet.value?.root);
99
99
 
100
100
  // Styles
101
+ const classAttribute = useClassAttribute();
102
+
101
103
  const rootStyles = computed(() => [
102
104
  'or-popover',
103
105
  ...PopoverRoot,
106
+ classAttribute.value,
104
107
  ]);
105
108
 
106
109
  const bodyStyles = 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
  >
6
7
  <template v-if="isLinearType">
@@ -97,16 +98,29 @@
97
98
  </template>
98
99
 
99
100
  <script lang="ts">
100
- import { useElementBounding } from '@vueuse/core';
101
101
  import _ from 'lodash';
102
+ import { useElementBounding } from '@vueuse/core';
102
103
  import { computed, defineComponent, PropType, ref, useSlots } from 'vue-demi';
103
- import { useResponsive } from '../../hooks';
104
104
  import { ProgressColor, ProgressType } from './props';
105
- import { ProgressBarAnimationTypes, ProgressBarBackground, ProgressBarColors, ProgressBarMain, ProgressFooter, ProgressHeader, ProgressHeaderLabel, ProgressHeaderPercent, ProgressRoot, ProgressRootTypes } from './styles';
105
+ import { useClassAttribute, useResponsive } from '../../hooks';
106
+ import {
107
+ ProgressBarAnimationTypes,
108
+ ProgressBarBackground,
109
+ ProgressBarColors,
110
+ ProgressBarMain,
111
+ ProgressFooter,
112
+ ProgressHeader,
113
+ ProgressHeaderLabel,
114
+ ProgressHeaderPercent,
115
+ ProgressRoot,
116
+ ProgressRootTypes,
117
+ } from './styles';
106
118
 
107
119
  export default defineComponent({
108
120
  name: 'OrProgress',
109
121
 
122
+ inheritAttrs: false,
123
+
110
124
  props: {
111
125
  maxValue: {
112
126
  type: Number,
@@ -202,10 +216,13 @@ export default defineComponent({
202
216
  const computedSize = computed(() => isMobile.value ? 20 : 16);
203
217
 
204
218
  // Styles
219
+ const classAttribute = useClassAttribute();
220
+
205
221
  const rootStyles = computed(() => [
206
222
  'or-progress',
207
223
  ...ProgressRoot,
208
224
  ...ProgressRootTypes[props.type],
225
+ classAttribute.value,
209
226
  ]);
210
227
 
211
228
  const headerStyles = computed(() => [
@@ -26,7 +26,11 @@ export default {
26
26
  control: { type: 'text' },
27
27
  },
28
28
 
29
- value: {
29
+ value: { // TODO: Remove Vue 2 fallback
30
+ table: { disable: true },
31
+ },
32
+
33
+ inputValue: { // TODO: Rename to `value` after complete migration to Vue 3
30
34
  control: { type: 'text' },
31
35
  },
32
36
 
@@ -108,6 +112,7 @@ const Template: StoryFn<typeof OrRadio> = (args) => ({
108
112
  args,
109
113
  model,
110
114
  onUpdateModelValue: action('update:modelValue'),
115
+ onInput: action('input'),
111
116
  onFocus: action('focus'),
112
117
  onBlur: action('blur'),
113
118
  };
@@ -119,6 +124,7 @@ const Template: StoryFn<typeof OrRadio> = (args) => ({
119
124
  v-model="model"
120
125
  v-bind="args"
121
126
  @update:modelValue="onUpdateModelValue"
127
+ @input="onInput"
122
128
  @focus="onFocus"
123
129
  @blur="onBlur"
124
130
  >
@@ -129,9 +135,10 @@ const Template: StoryFn<typeof OrRadio> = (args) => ({
129
135
 
130
136
  <OrRadio
131
137
  v-model="model"
132
- value="radio-2"
138
+ input-value="radio-2"
133
139
  label="Radio 2"
134
140
  @update:modelValue="onUpdateModelValue"
141
+ @input="onInput"
135
142
  @focus="onFocus"
136
143
  @blur="onBlur"
137
144
  />
@@ -146,6 +153,6 @@ Radio.args = {
146
153
  addon: '<OrIcon icon="info" />',
147
154
 
148
155
  // Props
149
- value: 'radio-1',
156
+ inputValue: 'radio-1',
150
157
  label: 'Radio 1',
151
158
  };
@@ -4,12 +4,12 @@
4
4
  :class="rootStyles"
5
5
  >
6
6
  <input
7
- ref="control"
7
+ v-bind="$attrs"
8
+ :id="controlId"
8
9
  v-model="proxyModelValue"
9
- v-bind="controlAttributes"
10
10
  :class="controlStyles"
11
11
  type="radio"
12
- :value="value"
12
+ :value="inputValue"
13
13
  :required="required"
14
14
  :disabled="disabled"
15
15
  @focus="$emit('focus', $event)"
@@ -18,7 +18,7 @@
18
18
 
19
19
  <template v-if="$slots.default || label">
20
20
  <OrLabel
21
- :control-id="controlAttributes.id"
21
+ :control-id="controlId"
22
22
  :variant="labelVariant"
23
23
  :required="required"
24
24
  :disabled="disabled"
@@ -34,8 +34,8 @@
34
34
  </template>
35
35
 
36
36
  <script lang="ts">
37
- import { computed, defineComponent, PropType, reactive, ref } from 'vue-demi';
38
- import { useControlAttributes, useIdAttribute } from '../../hooks';
37
+ import { computed, defineComponent, getCurrentInstance, PropType, ref } from 'vue-demi';
38
+ import { useClassAttribute } from '../../hooks';
39
39
  import { LabelVariant, OrLabelV3 as OrLabel } from '../or-label-v3';
40
40
  import { RadioControl, RadioControlHandle, RadioRoot } from './styles';
41
41
 
@@ -46,10 +46,7 @@ export default defineComponent({
46
46
  OrLabel,
47
47
  },
48
48
 
49
- model: {
50
- prop: 'modelValue',
51
- event: 'update:modelValue',
52
- },
49
+ inheritAttrs: false,
53
50
 
54
51
  props: {
55
52
  modelValue: {
@@ -57,7 +54,12 @@ export default defineComponent({
57
54
  default: undefined,
58
55
  },
59
56
 
60
- value: {
57
+ value: { // TODO: Remove Vue 2 fallback
58
+ type: String,
59
+ default: undefined,
60
+ },
61
+
62
+ inputValue: { // TODO: Rename to `value` after complete migration to Vue 3
61
63
  type: String,
62
64
  required: true,
63
65
  },
@@ -86,26 +88,28 @@ export default defineComponent({
86
88
  emits: [
87
89
  'update:modelValue',
88
90
 
91
+ 'input',
89
92
  'focus',
90
93
  'blur',
91
94
  ],
92
95
 
93
96
  expose: [
94
97
  'root',
95
-
96
- 'focus',
97
- 'blur',
98
98
  ],
99
99
 
100
100
  setup(props, context) {
101
+ const currentInstance = getCurrentInstance()!;
102
+
101
103
  // Refs
102
104
  const root = ref<HTMLElement>();
103
- const control = ref<HTMLInputElement>();
104
105
 
105
106
  // Styles
107
+ const classAttribute = useClassAttribute();
108
+
106
109
  const rootStyles = computed(() => [
107
110
  'or-radio',
108
111
  ...RadioRoot,
112
+ classAttribute.value,
109
113
  ]);
110
114
 
111
115
  const controlStyles = computed(() => [
@@ -114,37 +118,25 @@ export default defineComponent({
114
118
  ]);
115
119
 
116
120
  // State
117
- const controlAttributes = reactive({
118
- id: useIdAttribute(),
119
- ...useControlAttributes(),
120
- });
121
+ const controlId = ref(context.attrs.id as string ?? currentInstance.uid.toString());
121
122
 
122
123
  const proxyModelValue = computed({
123
- get: () => props.modelValue,
124
+ get: () => {
125
+ return props.modelValue ?? props.value; // TODO: Remove Vue 2 fallback
126
+ },
124
127
 
125
128
  set: (value) => {
129
+ context.emit('input', value);
126
130
  context.emit('update:modelValue', value);
127
131
  },
128
132
  });
129
133
 
130
- // Methods
131
- function focus(): void {
132
- control.value?.focus();
133
- }
134
-
135
- function blur(): void {
136
- control.value?.blur();
137
- }
138
-
139
134
  return {
140
135
  root,
141
- control,
142
136
  rootStyles,
143
137
  controlStyles,
144
- controlAttributes,
138
+ controlId,
145
139
  proxyModelValue,
146
- focus,
147
- blur,
148
140
  };
149
141
  },
150
142
  });
@@ -92,6 +92,7 @@ const Template: StoryFn<typeof OrSearch> = (args) => ({
92
92
  return {
93
93
  args,
94
94
  onSearch: action('search'),
95
+ onInput: action('input'),
95
96
  onKeydown: action('keydown'),
96
97
  onKeyup: action('keyup'),
97
98
  onFocus: action('focus'),
@@ -105,6 +106,7 @@ const Template: StoryFn<typeof OrSearch> = (args) => ({
105
106
  v-bind="args"
106
107
  style="min-width: 150px"
107
108
  @search="onSearch"
109
+ @input="onInput"
108
110
  @keydown="onKeydown"
109
111
  @keyup="onKeyup"
110
112
  @focus="onFocus"
@@ -1,6 +1,7 @@
1
1
  <template>
2
2
  <OrInput
3
3
  ref="root"
4
+ v-bind="$attrs"
4
5
  v-model.trim="localModelValue"
5
6
  :class="rootStyles"
6
7
  :type="'search'"
@@ -18,8 +19,9 @@
18
19
  </template>
19
20
 
20
21
  <script lang="ts">
22
+ import { computed, watch, defineComponent, PropType, ref } from 'vue-demi';
21
23
  import { debouncedWatch } from '@vueuse/core';
22
- import { computed, defineComponent, PropType, ref, watch } from 'vue-demi';
24
+ import { useClassAttribute } from '../../hooks';
23
25
  import { OrInputV3 as OrInput } from '../or-input-v3';
24
26
  import { SearchSize } from './props';
25
27
 
@@ -30,6 +32,8 @@ export default defineComponent({
30
32
  OrInput,
31
33
  },
32
34
 
35
+ inheritAttrs: false,
36
+
33
37
  props: {
34
38
  modelValue: {
35
39
  type: String,
@@ -84,8 +88,11 @@ export default defineComponent({
84
88
  const root = ref<InstanceType<typeof OrInput>>();
85
89
 
86
90
  // Styles
91
+ const classAttribute = useClassAttribute();
92
+
87
93
  const rootStyles = computed(() => [
88
94
  'or-search',
95
+ classAttribute.value,
89
96
  ]);
90
97
 
91
98
  // State
@@ -20,6 +20,10 @@ export default {
20
20
  control: { type: 'text' },
21
21
  },
22
22
 
23
+ value: { // TODO: Remove Vue 2 fallback
24
+ table: { disable: true },
25
+ },
26
+
23
27
  size: {
24
28
  control: { type: 'select' },
25
29
  options: Object.values(SegmentedControlSize),
@@ -71,6 +75,7 @@ const Template: StoryFn<typeof OrSegmentedControl> = (args) => ({
71
75
  args,
72
76
  model,
73
77
  onUpdateModelValue: action('update:modelValue'),
78
+ onInput: action('input'),
74
79
  };
75
80
  },
76
81
 
@@ -79,6 +84,7 @@ const Template: StoryFn<typeof OrSegmentedControl> = (args) => ({
79
84
  v-model="model"
80
85
  v-bind="args"
81
86
  @update:modelValue="onUpdateModelValue"
87
+ @input="onInput"
82
88
  />
83
89
  `,
84
90
  });
@@ -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
  <OrSegmentedControlItem
@@ -18,7 +19,8 @@
18
19
 
19
20
  <script lang="ts">
20
21
  import { computed, defineComponent, PropType, ref } from 'vue-demi';
21
- import OrSegmentedControlItem from './partials/or-segmented-control-item/OrSegmentedControlItem.vue';
22
+ import { useClassAttribute } from '../../hooks';
23
+ import OrSegmentedControlItem from './components/or-segmented-control-item/OrSegmentedControlItem.vue';
22
24
  import { SegmentedControlSize } from './props';
23
25
  import { SegmentedControlRoot, SegmentedControlRootSizes } from './styles';
24
26
  import { SegmentedControlOption } from './types';
@@ -30,10 +32,7 @@ export default defineComponent({
30
32
  OrSegmentedControlItem,
31
33
  },
32
34
 
33
- model: {
34
- prop: 'modelValue',
35
- event: 'update:modelValue',
36
- },
35
+ inheritAttrs: false,
37
36
 
38
37
  props: {
39
38
  options: {
@@ -46,6 +45,11 @@ export default defineComponent({
46
45
  default: undefined,
47
46
  },
48
47
 
48
+ value: { // TODO: Remove Vue 2 fallback
49
+ type: String,
50
+ default: undefined,
51
+ },
52
+
49
53
  size: {
50
54
  type: String as PropType<SegmentedControlSize>,
51
55
  default: SegmentedControlSize.M,
@@ -59,6 +63,8 @@ export default defineComponent({
59
63
 
60
64
  emits: [
61
65
  'update:modelValue',
66
+
67
+ 'input',
62
68
  ],
63
69
 
64
70
  expose: [
@@ -70,17 +76,23 @@ export default defineComponent({
70
76
  const root = ref<HTMLElement>();
71
77
 
72
78
  // Styles
79
+ const classAttribute = useClassAttribute();
80
+
73
81
  const rootStyles = computed(() => [
74
82
  'or-segmented-control',
75
83
  ...SegmentedControlRoot,
76
84
  ...SegmentedControlRootSizes[props.size],
85
+ classAttribute.value,
77
86
  ]);
78
87
 
79
88
  // State
80
89
  const proxyModelValue = computed({
81
- get: () => props.modelValue,
90
+ get: () => {
91
+ return props.modelValue ?? props.value; // TODO: Remove Vue 2 fallback
92
+ },
82
93
 
83
94
  set: (value) => {
95
+ context.emit('input', value);
84
96
  context.emit('update:modelValue', value);
85
97
  },
86
98
  });
@@ -1,6 +1,7 @@
1
1
  <template>
2
2
  <div
3
3
  ref="root"
4
+ v-bind="$attrs"
4
5
  :class="rootStyles"
5
6
  :selected="selected ? '' : null"
6
7
  :disabled="disabled ? '' : null"
@@ -14,12 +15,15 @@
14
15
 
15
16
  <script lang="ts">
16
17
  import { computed, defineComponent, isVue2, PropType, ref } from 'vue-demi';
18
+ import { useClassAttribute } from '../../../../hooks';
17
19
  import { SegmentedControlSize } from '../../props';
18
20
  import { SegmentedControlItemRoot, SegmentedControlItemRootSizes } from './styles';
19
21
 
20
22
  export default defineComponent({
21
23
  name: 'OrSegmentedControlItem',
22
24
 
25
+ inheritAttrs: false,
26
+
23
27
  props: {
24
28
  size: {
25
29
  type: String as PropType<SegmentedControlSize>,
@@ -42,10 +46,13 @@ export default defineComponent({
42
46
  const root = ref<HTMLElement>();
43
47
 
44
48
  // Styles
49
+ const classAttribute = useClassAttribute();
50
+
45
51
  const rootStyles = computed(() => [
46
52
  'or-segmented-control-item',
47
53
  ...SegmentedControlItemRoot,
48
54
  ...SegmentedControlItemRootSizes[props.size],
55
+ classAttribute.value,
49
56
  ]);
50
57
 
51
58
  // Handlers
@@ -71,6 +71,10 @@ export default {
71
71
  control: { type: 'object' },
72
72
  },
73
73
 
74
+ value: { // TODO: Remove Vue 2 fallback
75
+ table: { disable: true },
76
+ },
77
+
74
78
  multiple: {
75
79
  control: { type: 'boolean' },
76
80
  },
@@ -186,6 +190,7 @@ const Template: StoryFn<typeof OrSelect> = (args) => ({
186
190
  model,
187
191
  searchOptions,
188
192
  onUpdate: action('update:modelValue'),
193
+ onInput: action('input'),
189
194
  onFocus: action('focus'),
190
195
  onBlur: action('blur'),
191
196
  onSearch,
@@ -198,6 +203,7 @@ const Template: StoryFn<typeof OrSelect> = (args) => ({
198
203
  v-bind="args"
199
204
  :search-options="searchOptions"
200
205
  @update:modelValue="onUpdate"
206
+ @input="onInput"
201
207
  @focus="onFocus"
202
208
  @blur="onBlur"
203
209
  @search="onSearch"