@onereach/ui-components 2.70.2-beta.2219.0 → 2.70.2

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 (656) 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/{OrConfirm-ebff0b61.js → OrConfirm-23c3ce56.js} +4 -5
  8. package/dist/bundled/v2/{OrError-52f668a4.js → OrError-aad17598.js} +6 -3
  9. package/dist/bundled/v2/{OrErrorTag-97a9112b.js → OrErrorTag-d0c5bcf4.js} +7 -4
  10. package/dist/bundled/v2/{OrExpansionPanel-96b8f568.js → OrExpansionPanel-d9a260e2.js} +7 -4
  11. package/dist/bundled/v2/{OrFab-ed69dee1.js → OrFab-7cc75893.js} +4 -3
  12. package/dist/bundled/v2/{OrHint-fde53334.js → OrHint-f38a1940.js} +6 -3
  13. package/dist/bundled/v2/{OrIcon-458206aa.js → OrIcon-8625385f.js} +6 -3
  14. package/dist/bundled/v2/{OrIconButton-4bdd1566.js → OrIconButton-a2ba92df.js} +5 -3
  15. package/dist/bundled/v2/{OrInlineInput-b009a043.js → OrInlineInput-87589946.js} +39 -47
  16. package/dist/bundled/v2/{OrInlineInputBox-7a8e645b.js → OrInlineInputBox-f457210f.js} +6 -3
  17. package/dist/bundled/v2/{OrInlineTextarea-6e8c1f80.js → OrInlineTextarea-21b0e6fc.js} +35 -43
  18. package/dist/bundled/v2/{OrInput-5404a234.js → OrInput-82ccfe00.js} +50 -53
  19. package/dist/bundled/v2/{OrInputBox-2f559e98.js → OrInputBox-79ec54ad.js} +6 -3
  20. package/dist/bundled/v2/{OrLabel-aff09c39.js → OrLabel-172c4b89.js} +6 -3
  21. package/dist/bundled/v2/{OrLink-0d952e87.js → OrLink-e7b57307.js} +6 -3
  22. package/dist/bundled/v2/{OrLoader-864ef92a.js → OrLoader-6a1f937b.js} +6 -3
  23. package/dist/bundled/v2/{OrMenu-52da43bc.js → OrMenu-fa47c888.js} +7 -4
  24. package/dist/bundled/v2/{OrMenuItem-e2693a5f.js → OrMenuItem-26420908.js} +7 -4
  25. package/dist/bundled/v2/{OrModal-51b9f3e7.js → OrModal-af6677fd.js} +5 -3
  26. package/dist/bundled/v2/{OrNotification-7f761f25.js → OrNotification-3250f58b.js} +8 -5
  27. package/dist/bundled/v2/{OrOverlay-efa7992e.js → OrOverlay-3c89d622.js} +3 -1
  28. package/dist/bundled/v2/{OrPagination-daf25de2.js → OrPagination-379c10b8.js} +25 -15
  29. package/dist/bundled/v2/{OrPopover-4e8acb7b.js → OrPopover-5dc240f1.js} +4 -2
  30. package/dist/bundled/v2/{OrProgress-15fe65ec.js → OrProgress-cc397a38.js} +7 -4
  31. package/dist/bundled/v2/{OrRadio-fe23947a.js → OrRadio-cd39b20b.js} +32 -39
  32. package/dist/bundled/v2/{OrSearch-d1169241.js → OrSearch-53470b0e.js} +9 -6
  33. package/dist/bundled/v2/{OrSegmentedControl-878279bf.js → OrSegmentedControl-21cc914e.js} +22 -12
  34. package/dist/bundled/v2/{OrSelect-fef400f4.js → OrSelect-02fb39f0.js} +30 -22
  35. package/dist/bundled/v2/{OrSkeletonText-9a2f39dc.js → OrSkeletonText-516993b4.js} +18 -11
  36. package/dist/bundled/v2/{OrSortHeader-565ace92.js → OrSortHeader-9932d28f.js} +20 -12
  37. package/dist/bundled/v2/{OrSwitch-782d7b43.js → OrSwitch-237a2081.js} +33 -40
  38. package/dist/bundled/v2/{OrTab-8c5acf8a.js → OrTab-dd949240.js} +6 -3
  39. package/dist/bundled/v2/{OrTabs-d69780fc.js → OrTabs-42f7c52c.js} +19 -12
  40. package/dist/bundled/v2/{OrTag-4a098afa.js → OrTag-30fecee5.js} +8 -5
  41. package/dist/bundled/v2/{OrText-a665b991.js → OrText-eac4b9f5.js} +6 -3
  42. package/dist/bundled/v2/{OrTextarea-5c57c02b.js → OrTextarea-5593fbe9.js} +37 -49
  43. package/dist/bundled/v2/{OrTooltip-b1f38647.js → OrTooltip-fbfa05fd.js} +7 -4
  44. package/dist/bundled/v2/components/index.js +45 -46
  45. package/dist/bundled/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
  46. package/dist/bundled/v2/components/or-avatar-v3/index.js +3 -2
  47. package/dist/bundled/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
  48. package/dist/bundled/v2/components/or-bottom-sheet-v3/index.js +3 -2
  49. package/dist/bundled/v2/components/or-button-v3/OrButton.vue.d.ts +2 -2
  50. package/dist/bundled/v2/components/or-button-v3/index.js +3 -2
  51. package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
  52. package/dist/bundled/v2/components/or-card-collection-v3/index.js +18 -19
  53. package/dist/bundled/v2/components/or-card-v3/OrCard.vue.d.ts +2 -2
  54. package/dist/bundled/v2/components/or-card-v3/index.js +2 -1
  55. package/dist/bundled/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -23
  56. package/dist/bundled/v2/components/or-checkbox-v3/index.js +3 -3
  57. package/dist/bundled/v2/components/or-confirm-v3/index.js +17 -18
  58. package/dist/bundled/v2/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
  59. package/dist/bundled/v2/components/or-error-tag-v3/index.js +3 -2
  60. package/dist/bundled/v2/components/or-error-v3/OrError.vue.d.ts +2 -2
  61. package/dist/bundled/v2/components/or-error-v3/index.js +2 -1
  62. package/dist/bundled/v2/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
  63. package/dist/bundled/v2/components/or-expansion-panel-v3/index.js +3 -2
  64. package/dist/bundled/v2/components/or-fab-v3/index.js +3 -2
  65. package/dist/bundled/v2/components/or-hint-v3/OrHint.vue.d.ts +2 -2
  66. package/dist/bundled/v2/components/or-hint-v3/index.js +2 -1
  67. package/dist/bundled/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -2
  68. package/dist/bundled/v2/components/or-icon-button-v3/index.js +7 -6
  69. package/dist/bundled/v2/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
  70. package/dist/bundled/v2/components/or-icon-v3/index.js +2 -1
  71. package/dist/bundled/v2/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
  72. package/dist/bundled/v2/components/or-inline-input-box-v3/index.js +2 -1
  73. package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +19 -38
  74. package/dist/bundled/v2/components/or-inline-input-v3/index.js +11 -12
  75. package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +19 -38
  76. package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +11 -12
  77. package/dist/bundled/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
  78. package/dist/bundled/v2/components/or-input-box-v3/index.js +2 -1
  79. package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +21 -45
  80. package/dist/bundled/v2/components/or-input-v3/index.js +12 -13
  81. package/dist/bundled/v2/components/or-label-v3/OrLabel.vue.d.ts +2 -2
  82. package/dist/bundled/v2/components/or-label-v3/index.js +2 -1
  83. package/dist/bundled/v2/components/or-link-v3/OrLink.vue.d.ts +2 -2
  84. package/dist/bundled/v2/components/or-link-v3/index.js +2 -1
  85. package/dist/bundled/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
  86. package/dist/bundled/v2/components/or-loader-v3/index.js +2 -1
  87. package/dist/bundled/v2/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
  88. package/dist/bundled/v2/components/or-menu-item-v3/index.js +3 -2
  89. package/dist/bundled/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
  90. package/dist/bundled/v2/components/or-menu-v3/index.js +5 -4
  91. package/dist/bundled/v2/components/or-modal-v3/OrModal.vue.d.ts +2 -2
  92. package/dist/bundled/v2/components/or-modal-v3/index.js +8 -7
  93. package/dist/bundled/v2/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
  94. package/dist/bundled/v2/components/or-notification-v3/index.js +8 -7
  95. package/dist/bundled/v2/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
  96. package/dist/bundled/v2/components/or-overlay-v3/index.js +2 -1
  97. package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +13 -2
  98. package/dist/bundled/v2/components/or-pagination-v3/index.js +10 -9
  99. package/dist/bundled/v2/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
  100. package/dist/bundled/v2/components/or-popover-v3/index.js +4 -3
  101. package/dist/bundled/v2/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
  102. package/dist/bundled/v2/components/or-progress-v3/index.js +3 -2
  103. package/dist/bundled/v2/components/or-radio-v3/OrRadio.vue.d.ts +15 -20
  104. package/dist/bundled/v2/components/or-radio-v3/index.js +3 -3
  105. package/dist/bundled/v2/components/or-search-v3/OrSearch.vue.d.ts +2 -2
  106. package/dist/bundled/v2/components/or-search-v3/index.js +14 -15
  107. package/dist/bundled/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +16 -5
  108. 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
  109. package/dist/bundled/v2/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/styles.d.ts +0 -0
  110. package/dist/bundled/v2/components/or-segmented-control-v3/index.js +2 -1
  111. package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +16 -5
  112. package/dist/bundled/v2/components/or-select-v3/index.js +17 -18
  113. package/dist/bundled/v2/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
  114. package/dist/bundled/v2/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
  115. package/dist/bundled/v2/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
  116. package/dist/bundled/v2/components/or-skeleton-v3/index.js +3 -2
  117. package/dist/bundled/v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts +15 -4
  118. package/dist/bundled/v2/components/or-sort-header-v3/index.js +3 -2
  119. package/dist/bundled/v2/components/or-switch-v3/OrSwitch.vue.d.ts +18 -23
  120. package/dist/bundled/v2/components/or-switch-v3/index.js +4 -4
  121. package/dist/bundled/v2/components/or-tab-v3/OrTab.vue.d.ts +2 -2
  122. package/dist/bundled/v2/components/or-tab-v3/index.js +2 -1
  123. package/dist/bundled/v2/components/or-tabs-v3/OrTabs.vue.d.ts +15 -4
  124. package/dist/bundled/v2/components/or-tabs-v3/index.js +9 -8
  125. package/dist/bundled/v2/components/or-tag-v3/OrTag.vue.d.ts +2 -2
  126. package/dist/bundled/v2/components/or-tag-v3/index.js +8 -7
  127. package/dist/bundled/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
  128. package/dist/bundled/v2/components/or-text-v3/index.js +2 -1
  129. package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +19 -47
  130. package/dist/bundled/v2/components/or-textarea-v3/index.js +6 -7
  131. package/dist/bundled/v2/components/or-toast-v3/index.js +9 -8
  132. package/dist/bundled/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
  133. package/dist/bundled/v2/components/or-tooltip-v3/index.js +5 -4
  134. package/dist/bundled/v2/hooks/index.d.ts +1 -3
  135. package/dist/bundled/v2/hooks/index.js +1 -2
  136. package/dist/bundled/v2/hooks/useClassAttribute.d.ts +3 -0
  137. package/dist/bundled/v2/index.js +45 -46
  138. package/dist/bundled/v2/{types-79e5c18d.js → types-8fe4e345.js} +2 -2
  139. package/dist/bundled/v2/useClassAttribute-9bf33346.js +33 -0
  140. package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-582e74ae.js → OrAvatar.vue_vue_type_script_lang-0426862b.js} +6 -3
  141. package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-bdef5ca2.js → OrBottomSheet.vue_vue_type_script_lang-6fb49de9.js} +4 -2
  142. package/dist/bundled/v3/{OrButton-a1448bfa.js → OrButton-2b27c1fd.js} +8 -7
  143. package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-3b1e442b.js → OrButton.vue_vue_type_script_lang-8c44986c.js} +6 -3
  144. package/dist/bundled/v3/{OrCard.vue_vue_type_script_lang-b6685a34.js → OrCard.vue_vue_type_script_lang-165de137.js} +4 -1
  145. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-60403ae6.js → OrCardCollection.vue_vue_type_script_lang-2d78a51a.js} +46 -42
  146. package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-fc067611.js → OrCheckbox.vue_vue_type_script_lang-8b36e06c.js} +24 -31
  147. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-528380c1.js → OrConfirm.vue_vue_type_script_lang-05b21989.js} +7 -8
  148. package/dist/bundled/v3/{OrError.vue_vue_type_script_lang-53648a65.js → OrError.vue_vue_type_script_lang-cc6c135f.js} +4 -1
  149. package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-e2fe7ca9.js → OrErrorTag.vue_vue_type_script_lang-4828c387.js} +6 -3
  150. package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-2cc8964c.js → OrExpansionPanel.vue_vue_type_script_lang-5360f580.js} +6 -3
  151. package/dist/bundled/v3/{OrFab.vue_vue_type_script_lang-0fe4a921.js → OrFab.vue_vue_type_script_lang-2adeaed6.js} +3 -2
  152. package/dist/bundled/v3/{OrHint-5d5e4d99.js → OrHint-9592499e.js} +15 -13
  153. package/dist/bundled/v3/{OrHint.vue_vue_type_script_lang-e322f61e.js → OrHint.vue_vue_type_script_lang-8e657168.js} +4 -1
  154. package/dist/bundled/v3/OrIcon-d878b768.js +13 -0
  155. package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-bdbaad94.js → OrIcon.vue_vue_type_script_lang-a119a715.js} +4 -1
  156. package/dist/bundled/v3/{OrIconButton-428dd2cf.js → OrIconButton-cd62526d.js} +1 -1
  157. package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-ec6a3622.js → OrIconButton.vue_vue_type_script_lang-aefcf30d.js} +13 -10
  158. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-ab296efc.js → OrInlineInput.vue_vue_type_script_lang-67218502.js} +33 -41
  159. package/dist/bundled/v3/{OrInlineInputBox-f92a09d6.js → OrInlineInputBox-9d68ded1.js} +7 -6
  160. package/dist/bundled/v3/{OrInlineInputBox.vue_vue_type_script_lang-b1ae1f3d.js → OrInlineInputBox.vue_vue_type_script_lang-73750005.js} +4 -1
  161. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-3c3e1b4a.js → OrInlineTextarea.vue_vue_type_script_lang-a1831ab8.js} +33 -41
  162. package/dist/bundled/v3/{OrInput-2a7c6b57.js → OrInput-a4f220ed.js} +7 -7
  163. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-509de504.js → OrInput.vue_vue_type_script_lang-607d79d4.js} +41 -44
  164. package/dist/bundled/v3/{OrInputBox-4c7900c2.js → OrInputBox-eb54d73d.js} +7 -6
  165. package/dist/bundled/v3/{OrInputBox.vue_vue_type_script_lang-47d98e81.js → OrInputBox.vue_vue_type_script_lang-5ee4ee45.js} +4 -1
  166. package/dist/bundled/v3/{OrLabel-c556887e.js → OrLabel-c6873e79.js} +8 -7
  167. package/dist/bundled/v3/{OrLabel.vue_vue_type_script_lang-191d2304.js → OrLabel.vue_vue_type_script_lang-96f94c4e.js} +4 -1
  168. package/dist/bundled/v3/{OrLink.vue_vue_type_script_lang-05d4897b.js → OrLink.vue_vue_type_script_lang-9d3a32c7.js} +4 -1
  169. package/dist/bundled/v3/{OrLoader-123ef8c4.js → OrLoader-c4bbef2f.js} +8 -7
  170. package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-4c3c1ac9.js → OrLoader.vue_vue_type_script_lang-5405040c.js} +4 -1
  171. package/dist/bundled/v3/{OrMenu-6d7abe97.js → OrMenu-f26e8e55.js} +8 -7
  172. package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-df35fd76.js → OrMenu.vue_vue_type_script_lang-2446a69a.js} +6 -3
  173. package/dist/bundled/v3/{OrMenuItem-807e2a49.js → OrMenuItem-4feaba6c.js} +8 -7
  174. package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-2400ec2a.js → OrMenuItem.vue_vue_type_script_lang-0ffaef05.js} +6 -3
  175. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-5a71a851.js → OrModal.vue_vue_type_script_lang-55c864d1.js} +7 -5
  176. package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-6287244f.js → OrNotification.vue_vue_type_script_lang-c886ae51.js} +8 -5
  177. package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-7edd25f6.js → OrOverlay.vue_vue_type_script_lang-cb3aad0c.js} +3 -1
  178. package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-f64827ef.js → OrPagination.vue_vue_type_script_lang-c96d7cd7.js} +27 -17
  179. package/dist/bundled/v3/{OrPopover-1a488f88.js → OrPopover-c462ce77.js} +1 -1
  180. package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-b1102c1a.js → OrPopover.vue_vue_type_script_lang-54c7b11c.js} +5 -3
  181. package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-52f660d6.js → OrProgress.vue_vue_type_script_lang-a73c0acf.js} +5 -2
  182. package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-8dc0720c.js → OrRadio.vue_vue_type_script_lang-2e666a56.js} +24 -31
  183. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-ab2ef22c.js → OrSearch.vue_vue_type_script_lang-06f318ca.js} +8 -5
  184. package/dist/bundled/v3/{OrSegmentedControl.vue_vue_type_script_lang-38a00b68.js → OrSegmentedControl.vue_vue_type_script_lang-579406f5.js} +25 -14
  185. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-8ab7bc56.js → OrSelect.vue_vue_type_script_lang-83f15704.js} +54 -45
  186. package/dist/bundled/v3/{OrSkeletonText.vue_vue_type_script_lang-efcfbe21.js → OrSkeletonText.vue_vue_type_script_lang-577a1dc9.js} +12 -5
  187. package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-a20eae87.js → OrSortHeader.vue_vue_type_script_lang-75115125.js} +19 -11
  188. package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-31994be7.js → OrSwitch.vue_vue_type_script_lang-04829f64.js} +26 -33
  189. package/dist/bundled/v3/{OrTab.vue_vue_type_script_lang-f791efa0.js → OrTab.vue_vue_type_script_lang-134ad9d1.js} +4 -1
  190. package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-cb550e87.js → OrTabs.vue_vue_type_script_lang-61b79a5a.js} +28 -20
  191. package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-68af600d.js → OrTag.vue_vue_type_script_lang-3e30f662.js} +7 -4
  192. package/dist/bundled/v3/{OrText.vue_vue_type_script_lang-271fb345.js → OrText.vue_vue_type_script_lang-d9525d49.js} +4 -1
  193. package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-296da567.js → OrTextarea.vue_vue_type_script_lang-8e3531cd.js} +34 -45
  194. package/dist/bundled/v3/{OrToastContainer-ad5ae5af.js → OrToastContainer-34389303.js} +1 -1
  195. package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-bf9935ef.js → OrTooltip.vue_vue_type_script_lang-67cc86ed.js} +6 -3
  196. package/dist/bundled/v3/components/index.js +57 -58
  197. package/dist/bundled/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
  198. package/dist/bundled/v3/components/or-avatar-v3/index.js +4 -3
  199. package/dist/bundled/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
  200. package/dist/bundled/v3/components/or-bottom-sheet-v3/index.js +3 -2
  201. package/dist/bundled/v3/components/or-button-v3/OrButton.vue.d.ts +2 -2
  202. package/dist/bundled/v3/components/or-button-v3/index.js +4 -3
  203. package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
  204. package/dist/bundled/v3/components/or-card-collection-v3/index.js +29 -30
  205. package/dist/bundled/v3/components/or-card-v3/OrCard.vue.d.ts +2 -2
  206. package/dist/bundled/v3/components/or-card-v3/index.js +2 -1
  207. package/dist/bundled/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -23
  208. package/dist/bundled/v3/components/or-checkbox-v3/index.js +4 -4
  209. package/dist/bundled/v3/components/or-confirm-v3/index.js +25 -26
  210. package/dist/bundled/v3/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
  211. package/dist/bundled/v3/components/or-error-tag-v3/index.js +4 -3
  212. package/dist/bundled/v3/components/or-error-v3/OrError.vue.d.ts +2 -2
  213. package/dist/bundled/v3/components/or-error-v3/index.js +2 -1
  214. package/dist/bundled/v3/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
  215. package/dist/bundled/v3/components/or-expansion-panel-v3/index.js +4 -3
  216. package/dist/bundled/v3/components/or-fab-v3/index.js +4 -3
  217. package/dist/bundled/v3/components/or-hint-v3/OrHint.vue.d.ts +2 -2
  218. package/dist/bundled/v3/components/or-hint-v3/index.js +2 -1
  219. package/dist/bundled/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -2
  220. package/dist/bundled/v3/components/or-icon-button-v3/index.js +9 -8
  221. package/dist/bundled/v3/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
  222. package/dist/bundled/v3/components/or-icon-v3/index.js +2 -1
  223. package/dist/bundled/v3/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
  224. package/dist/bundled/v3/components/or-inline-input-box-v3/index.js +2 -1
  225. package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +19 -38
  226. package/dist/bundled/v3/components/or-inline-input-v3/index.js +16 -17
  227. package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +19 -38
  228. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +16 -17
  229. package/dist/bundled/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
  230. package/dist/bundled/v3/components/or-input-box-v3/index.js +2 -1
  231. package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +21 -45
  232. package/dist/bundled/v3/components/or-input-v3/index.js +18 -19
  233. package/dist/bundled/v3/components/or-label-v3/OrLabel.vue.d.ts +2 -2
  234. package/dist/bundled/v3/components/or-label-v3/index.js +2 -1
  235. package/dist/bundled/v3/components/or-link-v3/OrLink.vue.d.ts +2 -2
  236. package/dist/bundled/v3/components/or-link-v3/index.js +2 -1
  237. package/dist/bundled/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
  238. package/dist/bundled/v3/components/or-loader-v3/index.js +2 -1
  239. package/dist/bundled/v3/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
  240. package/dist/bundled/v3/components/or-menu-item-v3/index.js +4 -3
  241. package/dist/bundled/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
  242. package/dist/bundled/v3/components/or-menu-v3/index.js +6 -5
  243. package/dist/bundled/v3/components/or-modal-v3/OrModal.vue.d.ts +2 -2
  244. package/dist/bundled/v3/components/or-modal-v3/index.js +11 -10
  245. package/dist/bundled/v3/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
  246. package/dist/bundled/v3/components/or-notification-v3/index.js +11 -10
  247. package/dist/bundled/v3/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
  248. package/dist/bundled/v3/components/or-overlay-v3/index.js +2 -1
  249. package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +13 -2
  250. package/dist/bundled/v3/components/or-pagination-v3/index.js +16 -15
  251. package/dist/bundled/v3/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
  252. package/dist/bundled/v3/components/or-popover-v3/index.js +4 -3
  253. package/dist/bundled/v3/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
  254. package/dist/bundled/v3/components/or-progress-v3/index.js +3 -2
  255. package/dist/bundled/v3/components/or-radio-v3/OrRadio.vue.d.ts +15 -20
  256. package/dist/bundled/v3/components/or-radio-v3/index.js +4 -4
  257. package/dist/bundled/v3/components/or-search-v3/OrSearch.vue.d.ts +2 -2
  258. package/dist/bundled/v3/components/or-search-v3/index.js +21 -22
  259. package/dist/bundled/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +16 -5
  260. 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
  261. package/dist/bundled/v3/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/styles.d.ts +0 -0
  262. package/dist/bundled/v3/components/or-segmented-control-v3/index.js +2 -1
  263. package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +16 -5
  264. package/dist/bundled/v3/components/or-select-v3/index.js +25 -26
  265. package/dist/bundled/v3/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
  266. package/dist/bundled/v3/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
  267. package/dist/bundled/v3/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
  268. package/dist/bundled/v3/components/or-skeleton-v3/index.js +3 -2
  269. package/dist/bundled/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +15 -4
  270. package/dist/bundled/v3/components/or-sort-header-v3/index.js +4 -3
  271. package/dist/bundled/v3/components/or-switch-v3/OrSwitch.vue.d.ts +18 -23
  272. package/dist/bundled/v3/components/or-switch-v3/index.js +6 -6
  273. package/dist/bundled/v3/components/or-tab-v3/OrTab.vue.d.ts +2 -2
  274. package/dist/bundled/v3/components/or-tab-v3/index.js +2 -1
  275. package/dist/bundled/v3/components/or-tabs-v3/OrTabs.vue.d.ts +15 -4
  276. package/dist/bundled/v3/components/or-tabs-v3/index.js +13 -12
  277. package/dist/bundled/v3/components/or-tag-v3/OrTag.vue.d.ts +2 -2
  278. package/dist/bundled/v3/components/or-tag-v3/index.js +11 -10
  279. package/dist/bundled/v3/components/or-text-v3/OrText.vue.d.ts +2 -2
  280. package/dist/bundled/v3/components/or-text-v3/index.js +2 -1
  281. package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +19 -47
  282. package/dist/bundled/v3/components/or-textarea-v3/index.js +9 -10
  283. package/dist/bundled/v3/components/or-toast-v3/index.js +14 -13
  284. package/dist/bundled/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
  285. package/dist/bundled/v3/components/or-tooltip-v3/index.js +6 -5
  286. package/dist/bundled/v3/hooks/index.d.ts +1 -3
  287. package/dist/bundled/v3/hooks/index.js +1 -2
  288. package/dist/bundled/v3/hooks/useClassAttribute.d.ts +3 -0
  289. package/dist/bundled/v3/index.js +204 -191
  290. package/dist/bundled/v3/{types-1d25bb9a.js → types-f53434f2.js} +5 -5
  291. package/dist/bundled/v3/useClassAttribute-00888f78.js +9 -0
  292. package/dist/esm/v2/{OrAvatar-379ac72f.js → OrAvatar-3d155af3.js} +8 -4
  293. package/dist/esm/v2/{OrBottomSheet-37200385.js → OrBottomSheet-16c2e610.js} +4 -2
  294. package/dist/esm/v2/{OrButton-66964360.js → OrButton-835d4f11.js} +8 -4
  295. package/dist/esm/v2/{OrCard-e89c44ef.js → OrCard-de799db0.js} +7 -3
  296. package/dist/esm/v2/{OrCardCollection-bbdb6159.js → OrCardCollection-3c38fc85.js} +15 -11
  297. package/dist/esm/v2/{OrCheckbox-b380c131.js → OrCheckbox-567e387c.js} +34 -41
  298. package/dist/esm/v2/{OrConfirm-7fb515d4.js → OrConfirm-e2ab9b4c.js} +4 -5
  299. package/dist/esm/v2/{OrError-13845bb0.js → OrError-d267ee9a.js} +7 -3
  300. package/dist/esm/v2/{OrErrorTag-80f82cdf.js → OrErrorTag-782dd714.js} +8 -4
  301. package/dist/esm/v2/{OrExpansionPanel-729eb1e7.js → OrExpansionPanel-a123024e.js} +8 -4
  302. package/dist/esm/v2/{OrFab-1d095e33.js → OrFab-26106618.js} +4 -3
  303. package/dist/esm/v2/{OrHint-78b399cb.js → OrHint-42dc9ebb.js} +7 -3
  304. package/dist/esm/v2/{OrIcon-f34e0e6f.js → OrIcon-5e394c62.js} +7 -3
  305. package/dist/esm/v2/{OrIconButton-5fa56aec.js → OrIconButton-b3779042.js} +7 -4
  306. package/dist/esm/v2/{OrInlineInput-38645a8e.js → OrInlineInput-10205811.js} +39 -47
  307. package/dist/esm/v2/{OrInlineInputBox-46146af0.js → OrInlineInputBox-fefd4fbd.js} +7 -3
  308. package/dist/esm/v2/{OrInlineTextarea-b49a7107.js → OrInlineTextarea-7658611e.js} +35 -43
  309. package/dist/esm/v2/{OrInput-e8fe9102.js → OrInput-ada3a970.js} +50 -53
  310. package/dist/esm/v2/{OrInputBox-9ceb9fc4.js → OrInputBox-4d5a318d.js} +7 -3
  311. package/dist/esm/v2/{OrLabel-0945a4d9.js → OrLabel-2a9f1477.js} +7 -3
  312. package/dist/esm/v2/{OrLink-597e0e18.js → OrLink-80742a17.js} +7 -3
  313. package/dist/esm/v2/{OrLoader-76307488.js → OrLoader-f857d55b.js} +7 -3
  314. package/dist/esm/v2/{OrMenu-c276db74.js → OrMenu-df27d0ef.js} +8 -4
  315. package/dist/esm/v2/{OrMenuItem-7b7fbf8a.js → OrMenuItem-c7f28480.js} +8 -4
  316. package/dist/esm/v2/{OrModal-3b9d59de.js → OrModal-a7719843.js} +6 -3
  317. package/dist/esm/v2/{OrNotification-5e145880.js → OrNotification-8a4830a3.js} +9 -5
  318. package/dist/esm/v2/{OrOverlay-a019186f.js → OrOverlay-18ba2dc6.js} +3 -1
  319. package/dist/esm/v2/{OrPagination-1adbcadb.js → OrPagination-c0dbec6a.js} +27 -16
  320. package/dist/esm/v2/{OrPopover-d5d4f62a.js → OrPopover-9bafbdb4.js} +4 -2
  321. package/dist/esm/v2/{OrProgress-b7d1c689.js → OrProgress-c27c8946.js} +7 -4
  322. package/dist/esm/v2/{OrRadio-87a4d226.js → OrRadio-848ce55d.js} +32 -39
  323. package/dist/esm/v2/{OrSearch-4b774707.js → OrSearch-0f08f2f5.js} +9 -6
  324. package/dist/esm/v2/{OrSegmentedControl-7486115b.js → OrSegmentedControl-e8dce8f9.js} +23 -12
  325. package/dist/esm/v2/{OrSelect-871fae44.js → OrSelect-f8837f5d.js} +30 -22
  326. package/dist/esm/v2/{OrSkeletonText-6ee72718.js → OrSkeletonText-950be6a2.js} +19 -11
  327. package/dist/esm/v2/{OrSortHeader-592727dc.js → OrSortHeader-19bf94ca.js} +21 -12
  328. package/dist/esm/v2/{OrSwitch-8549219a.js → OrSwitch-13b6a7ee.js} +33 -40
  329. package/dist/esm/v2/{OrTab-1ff87c76.js → OrTab-702e7335.js} +7 -3
  330. package/dist/esm/v2/{OrTabs-96b0473d.js → OrTabs-71bd3fd2.js} +20 -13
  331. package/dist/esm/v2/{OrTag-56714605.js → OrTag-5c404031.js} +9 -5
  332. package/dist/esm/v2/{OrText-b12d0682.js → OrText-ba5a2b6c.js} +7 -3
  333. package/dist/esm/v2/{OrTextarea-a5a3572b.js → OrTextarea-6712a150.js} +37 -49
  334. package/dist/esm/v2/{OrTooltip-629d44fc.js → OrTooltip-513bee30.js} +7 -4
  335. package/dist/esm/v2/components/index.js +46 -47
  336. package/dist/esm/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
  337. package/dist/esm/v2/components/or-avatar-v3/index.js +4 -2
  338. package/dist/esm/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
  339. package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +3 -2
  340. package/dist/esm/v2/components/or-button-v3/OrButton.vue.d.ts +2 -2
  341. package/dist/esm/v2/components/or-button-v3/index.js +4 -2
  342. package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
  343. package/dist/esm/v2/components/or-card-collection-v3/index.js +19 -20
  344. package/dist/esm/v2/components/or-card-v3/OrCard.vue.d.ts +2 -2
  345. package/dist/esm/v2/components/or-card-v3/index.js +3 -1
  346. package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -23
  347. package/dist/esm/v2/components/or-checkbox-v3/index.js +3 -3
  348. package/dist/esm/v2/components/or-confirm-v3/index.js +19 -20
  349. package/dist/esm/v2/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
  350. package/dist/esm/v2/components/or-error-tag-v3/index.js +4 -2
  351. package/dist/esm/v2/components/or-error-v3/OrError.vue.d.ts +2 -2
  352. package/dist/esm/v2/components/or-error-v3/index.js +3 -1
  353. package/dist/esm/v2/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
  354. package/dist/esm/v2/components/or-expansion-panel-v3/index.js +4 -2
  355. package/dist/esm/v2/components/or-fab-v3/index.js +4 -2
  356. package/dist/esm/v2/components/or-hint-v3/OrHint.vue.d.ts +2 -2
  357. package/dist/esm/v2/components/or-hint-v3/index.js +3 -1
  358. package/dist/esm/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -2
  359. package/dist/esm/v2/components/or-icon-button-v3/index.js +7 -6
  360. package/dist/esm/v2/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
  361. package/dist/esm/v2/components/or-icon-v3/index.js +3 -1
  362. package/dist/esm/v2/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
  363. package/dist/esm/v2/components/or-inline-input-box-v3/index.js +3 -1
  364. package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +19 -38
  365. package/dist/esm/v2/components/or-inline-input-v3/index.js +11 -12
  366. package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +19 -38
  367. package/dist/esm/v2/components/or-inline-textarea-v3/index.js +11 -12
  368. package/dist/esm/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
  369. package/dist/esm/v2/components/or-input-box-v3/index.js +3 -1
  370. package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +21 -45
  371. package/dist/esm/v2/components/or-input-v3/index.js +12 -13
  372. package/dist/esm/v2/components/or-label-v3/OrLabel.vue.d.ts +2 -2
  373. package/dist/esm/v2/components/or-label-v3/index.js +3 -1
  374. package/dist/esm/v2/components/or-link-v3/OrLink.vue.d.ts +2 -2
  375. package/dist/esm/v2/components/or-link-v3/index.js +3 -1
  376. package/dist/esm/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
  377. package/dist/esm/v2/components/or-loader-v3/index.js +3 -1
  378. package/dist/esm/v2/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
  379. package/dist/esm/v2/components/or-menu-item-v3/index.js +4 -2
  380. package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
  381. package/dist/esm/v2/components/or-menu-v3/index.js +6 -5
  382. package/dist/esm/v2/components/or-modal-v3/OrModal.vue.d.ts +2 -2
  383. package/dist/esm/v2/components/or-modal-v3/index.js +9 -8
  384. package/dist/esm/v2/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
  385. package/dist/esm/v2/components/or-notification-v3/index.js +9 -8
  386. package/dist/esm/v2/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
  387. package/dist/esm/v2/components/or-overlay-v3/index.js +2 -1
  388. package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +13 -2
  389. package/dist/esm/v2/components/or-pagination-v3/index.js +11 -10
  390. package/dist/esm/v2/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
  391. package/dist/esm/v2/components/or-popover-v3/index.js +4 -3
  392. package/dist/esm/v2/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
  393. package/dist/esm/v2/components/or-progress-v3/index.js +3 -2
  394. package/dist/esm/v2/components/or-radio-v3/OrRadio.vue.d.ts +15 -20
  395. package/dist/esm/v2/components/or-radio-v3/index.js +3 -3
  396. package/dist/esm/v2/components/or-search-v3/OrSearch.vue.d.ts +2 -2
  397. package/dist/esm/v2/components/or-search-v3/index.js +14 -15
  398. package/dist/esm/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +16 -5
  399. package/dist/esm/v2/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
  400. package/dist/esm/v2/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/styles.d.ts +0 -0
  401. package/dist/esm/v2/components/or-segmented-control-v3/index.js +3 -1
  402. package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +16 -5
  403. package/dist/esm/v2/components/or-select-v3/index.js +17 -18
  404. package/dist/esm/v2/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
  405. package/dist/esm/v2/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
  406. package/dist/esm/v2/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
  407. package/dist/esm/v2/components/or-skeleton-v3/index.js +4 -2
  408. package/dist/esm/v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts +15 -4
  409. package/dist/esm/v2/components/or-sort-header-v3/index.js +4 -2
  410. package/dist/esm/v2/components/or-switch-v3/OrSwitch.vue.d.ts +18 -23
  411. package/dist/esm/v2/components/or-switch-v3/index.js +4 -4
  412. package/dist/esm/v2/components/or-tab-v3/OrTab.vue.d.ts +2 -2
  413. package/dist/esm/v2/components/or-tab-v3/index.js +3 -1
  414. package/dist/esm/v2/components/or-tabs-v3/OrTabs.vue.d.ts +15 -4
  415. package/dist/esm/v2/components/or-tabs-v3/index.js +9 -8
  416. package/dist/esm/v2/components/or-tag-v3/OrTag.vue.d.ts +2 -2
  417. package/dist/esm/v2/components/or-tag-v3/index.js +9 -8
  418. package/dist/esm/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
  419. package/dist/esm/v2/components/or-text-v3/index.js +3 -1
  420. package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +19 -47
  421. package/dist/esm/v2/components/or-textarea-v3/index.js +6 -7
  422. package/dist/esm/v2/components/or-toast-v3/index.js +9 -8
  423. package/dist/esm/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
  424. package/dist/esm/v2/components/or-tooltip-v3/index.js +5 -4
  425. package/dist/esm/v2/hooks/index.d.ts +1 -3
  426. package/dist/esm/v2/hooks/index.js +1 -2
  427. package/dist/esm/v2/hooks/useClassAttribute.d.ts +3 -0
  428. package/dist/esm/v2/index.js +45 -46
  429. package/dist/esm/v2/{types-856a804f.js → types-6c742e07.js} +2 -2
  430. package/dist/esm/v2/useClassAttribute-47fdb016.js +32 -0
  431. package/dist/esm/v3/{OrAvatar-6444e693.js → OrAvatar-53a4429d.js} +13 -8
  432. package/dist/esm/v3/{OrBottomSheet-13a416ef.js → OrBottomSheet-62817aec.js} +4 -2
  433. package/dist/esm/v3/{OrButton-c56998e7.js → OrButton-0fa67a0d.js} +13 -8
  434. package/dist/esm/v3/{OrCard-cd6af82e.js → OrCard-fd92f7c8.js} +11 -6
  435. package/dist/esm/v3/{OrCardCollection-47f61c40.js → OrCardCollection-dbb3e839.js} +19 -14
  436. package/dist/esm/v3/{OrCheckbox-16c1e2f4.js → OrCheckbox-3e139eac.js} +32 -40
  437. package/dist/esm/v3/{OrConfirm-8b7f29c2.js → OrConfirm-1bcd39b1.js} +4 -5
  438. package/dist/esm/v3/{OrError-19198748.js → OrError-ec8c709d.js} +12 -7
  439. package/dist/esm/v3/{OrErrorTag-308119de.js → OrErrorTag-98252eef.js} +13 -8
  440. package/dist/esm/v3/{OrExpansionPanel-3a4282da.js → OrExpansionPanel-f8d7ff8d.js} +13 -8
  441. package/dist/esm/v3/{OrFab-61131b31.js → OrFab-c8ae6e01.js} +9 -7
  442. package/dist/esm/v3/{OrHint-6863124f.js → OrHint-74bb732d.js} +12 -7
  443. package/dist/esm/v3/{OrIcon-34f59f73.js → OrIcon-b195169c.js} +11 -6
  444. package/dist/esm/v3/{OrIconButton-e5781317.js → OrIconButton-1a89fbf9.js} +7 -4
  445. package/dist/esm/v3/{OrInlineInput-09de432a.js → OrInlineInput-507fc99c.js} +33 -41
  446. package/dist/esm/v3/{OrInlineInputBox-09b33e18.js → OrInlineInputBox-8049f95a.js} +11 -6
  447. package/dist/esm/v3/{OrInlineTextarea-56328f22.js → OrInlineTextarea-53a9e027.js} +33 -41
  448. package/dist/esm/v3/{OrInput-6fb81556.js → OrInput-9c0426b9.js} +42 -45
  449. package/dist/esm/v3/{OrInputBox-e16ade90.js → OrInputBox-6d1b6059.js} +11 -6
  450. package/dist/esm/v3/{OrLabel-f700f9fb.js → OrLabel-bdaec602.js} +12 -7
  451. package/dist/esm/v3/{OrLink-07f6f27d.js → OrLink-338db3ca.js} +12 -7
  452. package/dist/esm/v3/{OrLoader-a53d2edf.js → OrLoader-b3cf4231.js} +12 -7
  453. package/dist/esm/v3/{OrMenu-7f3ea117.js → OrMenu-840038cd.js} +13 -8
  454. package/dist/esm/v3/{OrMenuItem-58707d47.js → OrMenuItem-9da279f6.js} +13 -8
  455. package/dist/esm/v3/{OrModal-10838da7.js → OrModal-7878cc39.js} +6 -3
  456. package/dist/esm/v3/{OrNotification-25da89ca.js → OrNotification-e1383681.js} +14 -9
  457. package/dist/esm/v3/{OrOverlay-afad3aa4.js → OrOverlay-738a44d5.js} +3 -1
  458. package/dist/esm/v3/{OrPagination-da9e5017.js → OrPagination-a703307d.js} +32 -20
  459. package/dist/esm/v3/{OrPopover-40217b49.js → OrPopover-1075dd38.js} +4 -2
  460. package/dist/esm/v3/{OrProgress-639ed5e8.js → OrProgress-407002e0.js} +12 -8
  461. package/dist/esm/v3/{OrRadio-bb9b37c1.js → OrRadio-54b6d0de.js} +29 -37
  462. package/dist/esm/v3/{OrSearch-e15955a7.js → OrSearch-9885d178.js} +13 -9
  463. package/dist/esm/v3/{OrSegmentedControl-880b4911.js → OrSegmentedControl-171cad78.js} +32 -19
  464. package/dist/esm/v3/{OrSelect-acf12fe6.js → OrSelect-8fbd88bc.js} +37 -28
  465. package/dist/esm/v3/{OrSkeletonText-afd3d007.js → OrSkeletonText-3965ff71.js} +33 -22
  466. package/dist/esm/v3/{OrSortHeader-a39f77f9.js → OrSortHeader-fe1a9cf8.js} +26 -16
  467. package/dist/esm/v3/{OrSwitch-1c2196da.js → OrSwitch-cca30aa0.js} +31 -38
  468. package/dist/esm/v3/{OrTab-d3785ea4.js → OrTab-c131cf60.js} +11 -6
  469. package/dist/esm/v3/{OrTabs-328d41b9.js → OrTabs-d0ee6cef.js} +20 -13
  470. package/dist/esm/v3/{OrTag-34bf1713.js → OrTag-5d54f37d.js} +14 -9
  471. package/dist/esm/v3/{OrText-6b4f7cd1.js → OrText-ecb46923.js} +12 -7
  472. package/dist/esm/v3/{OrTextarea-37566985.js → OrTextarea-bb9ef3f2.js} +35 -47
  473. package/dist/esm/v3/{OrTooltip-b07616f4.js → OrTooltip-50d27b4f.js} +12 -8
  474. package/dist/esm/v3/components/index.js +46 -47
  475. package/dist/esm/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
  476. package/dist/esm/v3/components/or-avatar-v3/index.js +4 -2
  477. package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
  478. package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +3 -2
  479. package/dist/esm/v3/components/or-button-v3/OrButton.vue.d.ts +2 -2
  480. package/dist/esm/v3/components/or-button-v3/index.js +4 -2
  481. package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
  482. package/dist/esm/v3/components/or-card-collection-v3/index.js +19 -20
  483. package/dist/esm/v3/components/or-card-v3/OrCard.vue.d.ts +2 -2
  484. package/dist/esm/v3/components/or-card-v3/index.js +3 -1
  485. package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -23
  486. package/dist/esm/v3/components/or-checkbox-v3/index.js +3 -3
  487. package/dist/esm/v3/components/or-confirm-v3/index.js +19 -20
  488. package/dist/esm/v3/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
  489. package/dist/esm/v3/components/or-error-tag-v3/index.js +4 -2
  490. package/dist/esm/v3/components/or-error-v3/OrError.vue.d.ts +2 -2
  491. package/dist/esm/v3/components/or-error-v3/index.js +3 -1
  492. package/dist/esm/v3/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
  493. package/dist/esm/v3/components/or-expansion-panel-v3/index.js +4 -2
  494. package/dist/esm/v3/components/or-fab-v3/index.js +4 -2
  495. package/dist/esm/v3/components/or-hint-v3/OrHint.vue.d.ts +2 -2
  496. package/dist/esm/v3/components/or-hint-v3/index.js +3 -1
  497. package/dist/esm/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -2
  498. package/dist/esm/v3/components/or-icon-button-v3/index.js +7 -6
  499. package/dist/esm/v3/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
  500. package/dist/esm/v3/components/or-icon-v3/index.js +3 -1
  501. package/dist/esm/v3/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
  502. package/dist/esm/v3/components/or-inline-input-box-v3/index.js +3 -1
  503. package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +19 -38
  504. package/dist/esm/v3/components/or-inline-input-v3/index.js +11 -12
  505. package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +19 -38
  506. package/dist/esm/v3/components/or-inline-textarea-v3/index.js +11 -12
  507. package/dist/esm/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
  508. package/dist/esm/v3/components/or-input-box-v3/index.js +3 -1
  509. package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +21 -45
  510. package/dist/esm/v3/components/or-input-v3/index.js +12 -13
  511. package/dist/esm/v3/components/or-label-v3/OrLabel.vue.d.ts +2 -2
  512. package/dist/esm/v3/components/or-label-v3/index.js +3 -1
  513. package/dist/esm/v3/components/or-link-v3/OrLink.vue.d.ts +2 -2
  514. package/dist/esm/v3/components/or-link-v3/index.js +3 -1
  515. package/dist/esm/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
  516. package/dist/esm/v3/components/or-loader-v3/index.js +3 -1
  517. package/dist/esm/v3/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
  518. package/dist/esm/v3/components/or-menu-item-v3/index.js +4 -2
  519. package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
  520. package/dist/esm/v3/components/or-menu-v3/index.js +6 -5
  521. package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +2 -2
  522. package/dist/esm/v3/components/or-modal-v3/index.js +9 -8
  523. package/dist/esm/v3/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
  524. package/dist/esm/v3/components/or-notification-v3/index.js +9 -8
  525. package/dist/esm/v3/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
  526. package/dist/esm/v3/components/or-overlay-v3/index.js +2 -1
  527. package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +13 -2
  528. package/dist/esm/v3/components/or-pagination-v3/index.js +11 -10
  529. package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
  530. package/dist/esm/v3/components/or-popover-v3/index.js +4 -3
  531. package/dist/esm/v3/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
  532. package/dist/esm/v3/components/or-progress-v3/index.js +3 -2
  533. package/dist/esm/v3/components/or-radio-v3/OrRadio.vue.d.ts +15 -20
  534. package/dist/esm/v3/components/or-radio-v3/index.js +3 -3
  535. package/dist/esm/v3/components/or-search-v3/OrSearch.vue.d.ts +2 -2
  536. package/dist/esm/v3/components/or-search-v3/index.js +14 -15
  537. package/dist/esm/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +16 -5
  538. 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
  539. package/dist/esm/v3/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/styles.d.ts +0 -0
  540. package/dist/esm/v3/components/or-segmented-control-v3/index.js +3 -1
  541. package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +16 -5
  542. package/dist/esm/v3/components/or-select-v3/index.js +17 -18
  543. package/dist/esm/v3/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
  544. package/dist/esm/v3/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
  545. package/dist/esm/v3/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
  546. package/dist/esm/v3/components/or-skeleton-v3/index.js +4 -2
  547. package/dist/esm/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +15 -4
  548. package/dist/esm/v3/components/or-sort-header-v3/index.js +4 -2
  549. package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +18 -23
  550. package/dist/esm/v3/components/or-switch-v3/index.js +4 -4
  551. package/dist/esm/v3/components/or-tab-v3/OrTab.vue.d.ts +2 -2
  552. package/dist/esm/v3/components/or-tab-v3/index.js +3 -1
  553. package/dist/esm/v3/components/or-tabs-v3/OrTabs.vue.d.ts +15 -4
  554. package/dist/esm/v3/components/or-tabs-v3/index.js +9 -8
  555. package/dist/esm/v3/components/or-tag-v3/OrTag.vue.d.ts +2 -2
  556. package/dist/esm/v3/components/or-tag-v3/index.js +9 -8
  557. package/dist/esm/v3/components/or-text-v3/OrText.vue.d.ts +2 -2
  558. package/dist/esm/v3/components/or-text-v3/index.js +3 -1
  559. package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +19 -47
  560. package/dist/esm/v3/components/or-textarea-v3/index.js +6 -7
  561. package/dist/esm/v3/components/or-toast-v3/index.js +9 -8
  562. package/dist/esm/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
  563. package/dist/esm/v3/components/or-tooltip-v3/index.js +5 -4
  564. package/dist/esm/v3/hooks/index.d.ts +1 -3
  565. package/dist/esm/v3/hooks/index.js +1 -2
  566. package/dist/esm/v3/hooks/useClassAttribute.d.ts +3 -0
  567. package/dist/esm/v3/index.js +45 -46
  568. package/dist/esm/v3/{types-7f17b4b2.js → types-2692e337.js} +2 -2
  569. package/dist/esm/v3/useClassAttribute-47fdb016.js +32 -0
  570. package/package.json +3 -2
  571. package/src/components/or-avatar-v3/OrAvatar.vue +9 -3
  572. package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +4 -0
  573. package/src/components/or-button-v3/OrButton.vue +7 -0
  574. package/src/components/or-card-collection-v3/OrCardCollection.vue +17 -9
  575. package/src/components/or-card-v3/OrCard.vue +7 -0
  576. package/src/components/or-checkbox-v3/OrCheckbox.stories3.ts +7 -3
  577. package/src/components/or-checkbox-v3/OrCheckbox.vue +26 -34
  578. package/src/components/or-confirm-v3/OrConfirm.vue +12 -19
  579. package/src/components/or-error-tag-v3/OrErrorTag.vue +7 -0
  580. package/src/components/or-error-v3/OrError.vue +7 -0
  581. package/src/components/or-expansion-panel-v3/OrExpansionPanel.vue +7 -0
  582. package/src/components/or-fab-v3/OrFab.vue +3 -0
  583. package/src/components/or-hint-v3/OrHint.vue +7 -0
  584. package/src/components/or-icon-button-v3/OrIconButton.vue +4 -0
  585. package/src/components/or-icon-v3/OrIcon.vue +7 -0
  586. package/src/components/or-inline-input-box-v3/OrInlineInputBox.vue +7 -0
  587. package/src/components/or-inline-input-v3/OrInlineInput.stories3.ts +4 -0
  588. package/src/components/or-inline-input-v3/OrInlineInput.vue +27 -36
  589. package/src/components/or-inline-textarea-v3/OrInlineTextarea.stories3.ts +4 -0
  590. package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +27 -36
  591. package/src/components/or-input-box-v3/OrInputBox.vue +7 -0
  592. package/src/components/or-input-v3/OrInput.stories3.ts +8 -4
  593. package/src/components/or-input-v3/OrInput.vue +34 -37
  594. package/src/components/or-label-v3/OrLabel.vue +7 -0
  595. package/src/components/or-link-v3/OrLink.vue +7 -0
  596. package/src/components/or-loader-v3/OrLoader.vue +8 -1
  597. package/src/components/or-menu-item-v3/OrMenuItem.vue +7 -0
  598. package/src/components/or-menu-v3/OrMenu.vue +7 -0
  599. package/src/components/or-modal-v3/OrModal.vue +4 -0
  600. package/src/components/or-notification-v3/OrNotification.vue +7 -0
  601. package/src/components/or-overlay-v3/OrOverlay.vue +4 -1
  602. package/src/components/or-pagination-v3/OrPagination.stories3.ts +4 -0
  603. package/src/components/or-pagination-v3/OrPagination.vue +27 -9
  604. package/src/components/or-popover-v3/OrPopover.vue +4 -1
  605. package/src/components/or-progress-v3/OrProgress.vue +20 -3
  606. package/src/components/or-radio-v3/OrRadio.stories3.ts +7 -3
  607. package/src/components/or-radio-v3/OrRadio.vue +25 -33
  608. package/src/components/or-search-v3/OrSearch.vue +8 -1
  609. package/src/components/or-segmented-control-v3/OrSegmentedControl.stories3.ts +4 -0
  610. package/src/components/or-segmented-control-v3/OrSegmentedControl.vue +18 -6
  611. package/src/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/OrSegmentedControlItem.vue +7 -0
  612. package/src/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/styles.ts +0 -0
  613. package/src/components/or-select-v3/OrSelect.stories3.ts +4 -0
  614. package/src/components/or-select-v3/OrSelect.vue +18 -8
  615. package/src/components/or-skeleton-v3/OrSkeletonCircle.vue +8 -2
  616. package/src/components/or-skeleton-v3/OrSkeletonRect.vue +8 -3
  617. package/src/components/or-skeleton-v3/OrSkeletonText.vue +9 -5
  618. package/src/components/or-sort-header-v3/OrSortHeader.stories3.ts +7 -3
  619. package/src/components/or-sort-header-v3/OrSortHeader.vue +19 -8
  620. package/src/components/or-switch-v3/OrSwitch.stories3.ts +7 -3
  621. package/src/components/or-switch-v3/OrSwitch.vue +25 -33
  622. package/src/components/or-tab-v3/OrTab.vue +7 -0
  623. package/src/components/or-tabs-v3/OrTabs.stories3.ts +4 -0
  624. package/src/components/or-tabs-v3/OrTabs.vue +16 -7
  625. package/src/components/or-tag-v3/OrTag.vue +7 -0
  626. package/src/components/or-tag-v3/styles.ts +3 -0
  627. package/src/components/or-text-v3/OrText.vue +7 -0
  628. package/src/components/or-textarea-v3/OrTextarea.stories3.ts +8 -4
  629. package/src/components/or-textarea-v3/OrTextarea.vue +28 -41
  630. package/src/components/or-tooltip-v3/OrTooltip.vue +7 -0
  631. package/src/hooks/index.ts +1 -3
  632. package/src/hooks/useClassAttribute.ts +39 -0
  633. package/dist/bundled/v2/hooks/useControlAttributes.d.ts +0 -8
  634. package/dist/bundled/v2/hooks/useIdAttribute.d.ts +0 -2
  635. package/dist/bundled/v2/hooks/useValidationAttributes.d.ts +0 -12
  636. package/dist/bundled/v2/useIdAttribute-cf61643f.js +0 -22
  637. package/dist/bundled/v2/useValidationAttributes-6df7bcf9.js +0 -17
  638. package/dist/bundled/v3/OrIcon-1a5c9091.js +0 -12
  639. package/dist/bundled/v3/hooks/useControlAttributes.d.ts +0 -8
  640. package/dist/bundled/v3/hooks/useIdAttribute.d.ts +0 -2
  641. package/dist/bundled/v3/hooks/useValidationAttributes.d.ts +0 -12
  642. package/dist/bundled/v3/useIdAttribute-b2e42f31.js +0 -21
  643. package/dist/bundled/v3/useValidationAttributes-5428d8fa.js +0 -16
  644. package/dist/esm/v2/hooks/useControlAttributes.d.ts +0 -8
  645. package/dist/esm/v2/hooks/useIdAttribute.d.ts +0 -2
  646. package/dist/esm/v2/hooks/useValidationAttributes.d.ts +0 -12
  647. package/dist/esm/v2/useIdAttribute-859439f0.js +0 -21
  648. package/dist/esm/v2/useValidationAttributes-d1abbe34.js +0 -16
  649. package/dist/esm/v3/hooks/useControlAttributes.d.ts +0 -8
  650. package/dist/esm/v3/hooks/useIdAttribute.d.ts +0 -2
  651. package/dist/esm/v3/hooks/useValidationAttributes.d.ts +0 -12
  652. package/dist/esm/v3/useIdAttribute-859439f0.js +0 -21
  653. package/dist/esm/v3/useValidationAttributes-d1abbe34.js +0 -16
  654. package/src/hooks/useControlAttributes.ts +0 -19
  655. package/src/hooks/useIdAttribute.ts +0 -9
  656. package/src/hooks/useValidationAttributes.ts +0 -25
@@ -1,7 +1,8 @@
1
- import { useElementBounding } from '@vueuse/core';
2
1
  import _ from 'lodash';
2
+ import { useElementBounding } from '@vueuse/core';
3
3
  import { defineComponent, ref, useSlots, computed } from 'vue';
4
4
  import { u as useResponsive } from './useResponsive-9d397e2a.js';
5
+ import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
5
6
 
6
7
  var ProgressColor;
7
8
  (function (ProgressColor) {
@@ -79,6 +80,7 @@ const ProgressFooter = [
79
80
 
80
81
  var script = defineComponent({
81
82
  name: 'OrProgress',
83
+ inheritAttrs: false,
82
84
  props: {
83
85
  maxValue: {
84
86
  type: Number,
@@ -166,7 +168,8 @@ var script = defineComponent({
166
168
  });
167
169
  const computedSize = computed(() => isMobile.value ? 20 : 16);
168
170
  // Styles
169
- const rootStyles = computed(() => ['or-progress', ...ProgressRoot, ...ProgressRootTypes[props.type]]);
171
+ const classAttribute = useClassAttribute();
172
+ const rootStyles = computed(() => ['or-progress', ...ProgressRoot, ...ProgressRootTypes[props.type], classAttribute.value]);
170
173
  const headerStyles = computed(() => [...ProgressHeader]);
171
174
  const labelStyles = computed(() => [...ProgressHeaderLabel]);
172
175
  const percentStyles = computed(() => [...ProgressHeaderPercent]);
@@ -1,7 +1,7 @@
1
- import { defineComponent, ref, computed, reactive } from 'vue';
2
- import './OrLabel-c556887e.js';
3
- import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-b2e42f31.js';
4
- import { s as script$1, L as LabelVariant } from './OrLabel.vue_vue_type_script_lang-191d2304.js';
1
+ import { defineComponent, getCurrentInstance, ref, computed } from 'vue';
2
+ import './OrLabel-c6873e79.js';
3
+ import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
4
+ import { s as script$1, L as LabelVariant } from './OrLabel.vue_vue_type_script_lang-96f94c4e.js';
5
5
 
6
6
  const RadioRoot = [
7
7
  // Layout
@@ -38,16 +38,17 @@ var script = defineComponent({
38
38
  components: {
39
39
  OrLabel: script$1
40
40
  },
41
- model: {
42
- prop: 'modelValue',
43
- event: 'update:modelValue'
44
- },
41
+ inheritAttrs: false,
45
42
  props: {
46
43
  modelValue: {
47
44
  type: String,
48
45
  default: undefined
49
46
  },
50
47
  value: {
48
+ type: String,
49
+ default: undefined
50
+ },
51
+ inputValue: {
51
52
  type: String,
52
53
  required: true
53
54
  },
@@ -68,44 +69,36 @@ var script = defineComponent({
68
69
  default: false
69
70
  }
70
71
  },
71
- emits: ['update:modelValue', 'focus', 'blur'],
72
- expose: ['root', 'focus', 'blur'],
72
+ emits: ['update:modelValue', 'input', 'focus', 'blur'],
73
+ expose: ['root'],
73
74
  setup(props, context) {
75
+ var _a;
76
+ const currentInstance = getCurrentInstance();
74
77
  // Refs
75
78
  const root = ref();
76
- const control = ref();
77
79
  // Styles
78
- const rootStyles = computed(() => ['or-radio', ...RadioRoot]);
80
+ const classAttribute = useClassAttribute();
81
+ const rootStyles = computed(() => ['or-radio', ...RadioRoot, classAttribute.value]);
79
82
  const controlStyles = computed(() => [...RadioControl, ...RadioControlHandle]);
80
83
  // State
81
- const controlAttributes = reactive({
82
- id: useIdAttribute(),
83
- ...useControlAttributes()
84
- });
84
+ const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
85
85
  const proxyModelValue = computed({
86
- get: () => props.modelValue,
86
+ get: () => {
87
+ var _a;
88
+ return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
89
+ },
90
+
87
91
  set: value => {
92
+ context.emit('input', value);
88
93
  context.emit('update:modelValue', value);
89
94
  }
90
95
  });
91
- // Methods
92
- function focus() {
93
- var _a;
94
- (_a = control.value) === null || _a === void 0 ? void 0 : _a.focus();
95
- }
96
- function blur() {
97
- var _a;
98
- (_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
99
- }
100
96
  return {
101
97
  root,
102
- control,
103
98
  rootStyles,
104
99
  controlStyles,
105
- controlAttributes,
106
- proxyModelValue,
107
- focus,
108
- blur
100
+ controlId,
101
+ proxyModelValue
109
102
  };
110
103
  }
111
104
  });
@@ -1,14 +1,16 @@
1
- import { debouncedWatch } from '@vueuse/core';
2
1
  import { defineComponent, ref, computed, watch } from 'vue';
3
- import './OrInput-2a7c6b57.js';
4
- import { s as script$1 } from './OrInput.vue_vue_type_script_lang-509de504.js';
5
- import { a as InputBoxSize } from './OrInputBox.vue_vue_type_script_lang-47d98e81.js';
2
+ import { debouncedWatch } from '@vueuse/core';
3
+ import './OrInput-a4f220ed.js';
4
+ import { s as script$1 } from './OrInput.vue_vue_type_script_lang-607d79d4.js';
5
+ import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
6
+ import { a as InputBoxSize } from './OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
6
7
 
7
8
  var script = defineComponent({
8
9
  name: 'OrSearch',
9
10
  components: {
10
11
  OrInput: script$1
11
12
  },
13
+ inheritAttrs: false,
12
14
  props: {
13
15
  modelValue: {
14
16
  type: String,
@@ -43,7 +45,8 @@ var script = defineComponent({
43
45
  // Refs
44
46
  const root = ref();
45
47
  // Styles
46
- const rootStyles = computed(() => ['or-search']);
48
+ const classAttribute = useClassAttribute();
49
+ const rootStyles = computed(() => ['or-search', classAttribute.value]);
47
50
  // State
48
51
  const localModelValue = ref((_a = props.modelValue) !== null && _a !== void 0 ? _a : '');
49
52
  // Events
@@ -1,4 +1,5 @@
1
- import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot } from 'vue';
1
+ import { defineComponent, ref, computed, openBlock, createElementBlock, mergeProps, createElementVNode, renderSlot, normalizeClass } from 'vue';
2
+ import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
2
3
 
3
4
  const SegmentedControlItemRoot = [
4
5
  // Layout
@@ -32,6 +33,7 @@ const SegmentedControlItemRootSizes = {
32
33
 
33
34
  var script$1 = defineComponent({
34
35
  name: 'OrSegmentedControlItem',
36
+ inheritAttrs: false,
35
37
  props: {
36
38
  size: {
37
39
  type: String,
@@ -50,7 +52,8 @@ var script$1 = defineComponent({
50
52
  // Refs
51
53
  const root = ref();
52
54
  // Styles
53
- const rootStyles = computed(() => ['or-segmented-control-item', ...SegmentedControlItemRoot, ...SegmentedControlItemRootSizes[props.size]]);
55
+ const classAttribute = useClassAttribute();
56
+ const rootStyles = computed(() => ['or-segmented-control-item', ...SegmentedControlItemRoot, ...SegmentedControlItemRootSizes[props.size], classAttribute.value]);
54
57
  // Handlers
55
58
  function onClick(event) {
56
59
  }
@@ -67,17 +70,18 @@ const _hoisted_2 = {
67
70
  class: /*#__PURE__*/normalizeClass(['truncate'])
68
71
  };
69
72
  function render(_ctx, _cache, $props, $setup, $data, $options) {
70
- return openBlock(), createElementBlock("div", {
71
- ref: "root",
72
- class: normalizeClass(_ctx.rootStyles),
73
+ return openBlock(), createElementBlock("div", mergeProps({
74
+ ref: "root"
75
+ }, _ctx.$attrs, {
76
+ class: _ctx.rootStyles,
73
77
  selected: _ctx.selected ? '' : null,
74
78
  disabled: _ctx.disabled ? '' : null,
75
79
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
76
- }, [createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default")])], 10 /* CLASS, PROPS */, _hoisted_1);
80
+ }), [createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default")])], 16 /* FULL_PROPS */, _hoisted_1);
77
81
  }
78
82
 
79
83
  script$1.render = render;
80
- script$1.__file = "src/components/or-segmented-control-v3/partials/or-segmented-control-item/OrSegmentedControlItem.vue";
84
+ script$1.__file = "src/components/or-segmented-control-v3/components/or-segmented-control-item/OrSegmentedControlItem.vue";
81
85
 
82
86
  var SegmentedControlSize;
83
87
  (function (SegmentedControlSize) {
@@ -104,10 +108,7 @@ var script = defineComponent({
104
108
  components: {
105
109
  OrSegmentedControlItem: script$1
106
110
  },
107
- model: {
108
- prop: 'modelValue',
109
- event: 'update:modelValue'
110
- },
111
+ inheritAttrs: false,
111
112
  props: {
112
113
  options: {
113
114
  type: Array,
@@ -117,6 +118,10 @@ var script = defineComponent({
117
118
  type: String,
118
119
  default: undefined
119
120
  },
121
+ value: {
122
+ type: String,
123
+ default: undefined
124
+ },
120
125
  size: {
121
126
  type: String,
122
127
  default: SegmentedControlSize.M
@@ -126,17 +131,23 @@ var script = defineComponent({
126
131
  default: false
127
132
  }
128
133
  },
129
- emits: ['update:modelValue'],
134
+ emits: ['update:modelValue', 'input'],
130
135
  expose: ['root'],
131
136
  setup(props, context) {
132
137
  // Refs
133
138
  const root = ref();
134
139
  // Styles
135
- const rootStyles = computed(() => ['or-segmented-control', ...SegmentedControlRoot, ...SegmentedControlRootSizes[props.size]]);
140
+ const classAttribute = useClassAttribute();
141
+ const rootStyles = computed(() => ['or-segmented-control', ...SegmentedControlRoot, ...SegmentedControlRootSizes[props.size], classAttribute.value]);
136
142
  // State
137
143
  const proxyModelValue = computed({
138
- get: () => props.modelValue,
144
+ get: () => {
145
+ var _a;
146
+ return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
147
+ },
148
+
139
149
  set: value => {
150
+ context.emit('input', value);
140
151
  context.emit('update:modelValue', value);
141
152
  }
142
153
  });
@@ -1,47 +1,47 @@
1
- import { resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, createElementVNode, mergeProps, vModelDynamic, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withModifiers, createVNode, vShow, defineComponent, getCurrentInstance, ref, computed, onMounted, watch } from 'vue';
2
- import { s as script$1 } from './OrCheckbox.vue_vue_type_script_lang-fc067611.js';
1
+ import { resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, createElementVNode, mergeProps, vModelCheckbox, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withModifiers, createVNode, vShow, defineComponent, getCurrentInstance, ref, computed, onMounted, watch } from 'vue';
2
+ import { s as script$1 } from './OrCheckbox.vue_vue_type_script_lang-8b36e06c.js';
3
3
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
4
- import './OrHint-5d5e4d99.js';
5
- import { s as script$2 } from './OrExpansionPanel.vue_vue_type_script_lang-2cc8964c.js';
6
- import './OrIcon-1a5c9091.js';
7
- import './OrInput-2a7c6b57.js';
8
- import './OrInputBox-4c7900c2.js';
9
- import './OrLabel-c556887e.js';
10
- import './OrMenuItem-807e2a49.js';
11
- import './OrPopover-1a488f88.js';
12
- import { s as script$3 } from './OrTag.vue_vue_type_script_lang-68af600d.js';
4
+ import './OrHint-9592499e.js';
5
+ import { s as script$2 } from './OrExpansionPanel.vue_vue_type_script_lang-5360f580.js';
6
+ import './OrIcon-d878b768.js';
7
+ import './OrInput-a4f220ed.js';
8
+ import './OrInputBox-eb54d73d.js';
9
+ import './OrLabel-c6873e79.js';
10
+ import './OrMenuItem-4feaba6c.js';
11
+ import './OrPopover-c462ce77.js';
12
+ import { s as script$3 } from './OrTag.vue_vue_type_script_lang-3e30f662.js';
13
13
  import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-293d2de2.js';
14
+ import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
14
15
  import { u as useOverflow } from './useOverflow-6dce216b.js';
15
- import { s as script$4 } from './OrError.vue_vue_type_script_lang-53648a65.js';
16
- import { s as script$5 } from './OrHint.vue_vue_type_script_lang-e322f61e.js';
17
- import { s as script$6 } from './OrIcon.vue_vue_type_script_lang-bdbaad94.js';
18
- import { s as script$7 } from './OrInput.vue_vue_type_script_lang-509de504.js';
19
- import { s as script$8, a as InputBoxSize } from './OrInputBox.vue_vue_type_script_lang-47d98e81.js';
20
- import { s as script$9 } from './OrLabel.vue_vue_type_script_lang-191d2304.js';
21
- import { s as script$a } from './OrMenuItem.vue_vue_type_script_lang-2400ec2a.js';
22
- import { s as script$b } from './OrPopover.vue_vue_type_script_lang-b1102c1a.js';
16
+ import { s as script$4 } from './OrError.vue_vue_type_script_lang-cc6c135f.js';
17
+ import { s as script$5 } from './OrHint.vue_vue_type_script_lang-8e657168.js';
18
+ import { s as script$6 } from './OrIcon.vue_vue_type_script_lang-a119a715.js';
19
+ import { s as script$7 } from './OrInput.vue_vue_type_script_lang-607d79d4.js';
20
+ import { s as script$8, a as InputBoxSize } from './OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
21
+ import { s as script$9 } from './OrLabel.vue_vue_type_script_lang-96f94c4e.js';
22
+ import { s as script$a } from './OrMenuItem.vue_vue_type_script_lang-0ffaef05.js';
23
+ import { s as script$b } from './OrPopover.vue_vue_type_script_lang-54c7b11c.js';
23
24
 
24
- const _hoisted_1$2 = ["value", "indeterminate", "required", "disabled"];
25
+ const _hoisted_1$2 = ["id", "value", "indeterminate", "required", "disabled"];
25
26
  function render$2(_ctx, _cache, $props, $setup, $data, $options) {
26
27
  const _component_OrLabel = resolveComponent("OrLabel");
27
28
  return openBlock(), createElementBlock("div", {
28
29
  ref: "root",
29
30
  class: normalizeClass(_ctx.rootStyles)
30
- }, [withDirectives(createElementVNode("input", mergeProps({
31
- ref: "control",
32
- "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
33
- }, _ctx.controlAttributes, {
31
+ }, [withDirectives(createElementVNode("input", mergeProps(_ctx.$attrs, {
32
+ id: _ctx.controlId,
33
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event),
34
34
  class: _ctx.controlStyles,
35
- type: 'checkbox',
36
- value: _ctx.value,
35
+ type: "checkbox",
36
+ value: _ctx.inputValue,
37
37
  indeterminate: _ctx.indeterminate,
38
38
  required: _ctx.required,
39
39
  disabled: _ctx.disabled,
40
40
  onFocus: _cache[1] || (_cache[1] = $event => _ctx.$emit('focus', $event)),
41
41
  onBlur: _cache[2] || (_cache[2] = $event => _ctx.$emit('blur', $event))
42
- }), null, 16 /* FULL_PROPS */, _hoisted_1$2), [[vModelDynamic, _ctx.proxyModelValue]]), _ctx.$slots.default || _ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
42
+ }), null, 16 /* FULL_PROPS */, _hoisted_1$2), [[vModelCheckbox, _ctx.proxyModelValue]]), _ctx.$slots.default || _ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
43
43
  key: 0,
44
- "control-id": _ctx.controlAttributes.id,
44
+ "control-id": _ctx.controlId,
45
45
  variant: _ctx.labelVariant,
46
46
  required: _ctx.required,
47
47
  disabled: _ctx.disabled
@@ -67,11 +67,12 @@ const _hoisted_2$1 = {
67
67
  const _hoisted_3 = ["tabindex", "disabled"];
68
68
  function render$1(_ctx, _cache, $props, $setup, $data, $options) {
69
69
  const _component_OrIcon = resolveComponent("OrIcon");
70
- return openBlock(), createElementBlock("div", {
71
- ref: "root",
72
- class: normalizeClass(_ctx.rootStyles),
70
+ return openBlock(), createElementBlock("div", mergeProps({
71
+ ref: "root"
72
+ }, _ctx.$attrs, {
73
+ class: _ctx.rootStyles,
73
74
  disabled: _ctx.disabled ? '' : null
74
- }, [createElementVNode("div", _hoisted_2$1, [createElementVNode("div", {
75
+ }), [createElementVNode("div", _hoisted_2$1, [createElementVNode("div", {
75
76
  class: normalizeClass(_ctx.headerStyles),
76
77
  tabindex: !_ctx.disabled ? 0 : null,
77
78
  disabled: _ctx.disabled ? '' : null,
@@ -82,7 +83,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
82
83
  variant: 'filled-bold'
83
84
  }, null, 8 /* PROPS */, ["class"]), createTextVNode(" " + toDisplayString(_ctx.label), 1 /* TEXT */)], 10 /* CLASS, PROPS */, _hoisted_3), createElementVNode("div", {
84
85
  class: normalizeClass(_ctx.addonStyles)
85
- }, [renderSlot(_ctx.$slots, "addon")], 2 /* CLASS */)]), withDirectives(createElementVNode("div", null, [renderSlot(_ctx.$slots, "default")], 512 /* NEED_PATCH */), [[vShow, _ctx.expanded]])], 10 /* CLASS, PROPS */, _hoisted_1$1);
86
+ }, [renderSlot(_ctx.$slots, "addon")], 2 /* CLASS */)]), withDirectives(createElementVNode("div", null, [renderSlot(_ctx.$slots, "default")], 512 /* NEED_PATCH */), [[vShow, _ctx.expanded]])], 16 /* FULL_PROPS */, _hoisted_1$1);
86
87
  }
87
88
 
88
89
  script$2.render = render$1;
@@ -95,20 +96,21 @@ const _hoisted_2 = {
95
96
  };
96
97
  function render(_ctx, _cache, $props, $setup, $data, $options) {
97
98
  const _component_OrIconButton = resolveComponent("OrIconButton");
98
- return openBlock(), createElementBlock("div", {
99
- ref: "root",
100
- class: normalizeClass(_ctx.rootStyles),
99
+ return openBlock(), createElementBlock("div", mergeProps({
100
+ ref: "root"
101
+ }, _ctx.$attrs, {
102
+ class: _ctx.rootStyles,
101
103
  tabindex: !_ctx.disabled && _ctx.variant === 'button' ? 0 : null,
102
104
  disabled: _ctx.disabled ? '' : null,
103
105
  onClick: _cache[1] || (_cache[1] = $event => _ctx.$emit('click', $event)),
104
106
  onFocus: _cache[2] || (_cache[2] = $event => _ctx.$emit('focus', $event)),
105
107
  onBlur: _cache[3] || (_cache[3] = $event => _ctx.$emit('blur', $event))
106
- }, [renderSlot(_ctx.$slots, "default"), _ctx.variant === 'reset' ? (openBlock(), createElementBlock("div", _hoisted_2, [createVNode(_component_OrIconButton, {
108
+ }), [renderSlot(_ctx.$slots, "default"), _ctx.variant === 'reset' ? (openBlock(), createElementBlock("div", _hoisted_2, [createVNode(_component_OrIconButton, {
107
109
  icon: 'close',
108
110
  color: _ctx.custom ? 'inherit' : _ctx.color,
109
111
  disabled: _ctx.disabled,
110
112
  onClick: _cache[0] || (_cache[0] = withModifiers($event => _ctx.$emit('reset'), ["stop"]))
111
- }, null, 8 /* PROPS */, ["color", "disabled"])])) : createCommentVNode("v-if", true)], 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_1);
113
+ }, null, 8 /* PROPS */, ["color", "disabled"])])) : createCommentVNode("v-if", true)], 16 /* FULL_PROPS */, _hoisted_1);
112
114
  }
113
115
 
114
116
  script$3.render = render;
@@ -169,10 +171,7 @@ var script = defineComponent({
169
171
  DropdownClose,
170
172
  DropdownOpen
171
173
  },
172
- model: {
173
- prop: 'modelValue',
174
- event: 'update:modelValue'
175
- },
174
+ inheritAttrs: false,
176
175
  props: {
177
176
  options: {
178
177
  type: Array,
@@ -186,6 +185,10 @@ var script = defineComponent({
186
185
  type: [String, Number, Array],
187
186
  default: undefined
188
187
  },
188
+ value: {
189
+ type: [String, Number, Array],
190
+ default: undefined
191
+ },
189
192
  multiple: {
190
193
  type: Boolean,
191
194
  default: false
@@ -243,7 +246,7 @@ var script = defineComponent({
243
246
  default: false
244
247
  }
245
248
  },
246
- emits: ['update:modelValue', 'focus', 'blur', 'search'],
249
+ emits: ['update:modelValue', 'input', 'focus', 'blur', 'search'],
247
250
  expose: ['root'],
248
251
  setup(props, context) {
249
252
  var _a;
@@ -266,7 +269,8 @@ var script = defineComponent({
266
269
  return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.state;
267
270
  });
268
271
  // Styles
269
- const rootStyles = computed(() => ['or-select', ...SelectRoot]);
272
+ const classAttribute = useClassAttribute();
273
+ const rootStyles = computed(() => ['or-select', ...SelectRoot, classAttribute.value]);
270
274
  const controlStyles = computed(() => [...SelectControl]);
271
275
  const placeholderStyles = computed(() => [...SelectPlaceholder]);
272
276
  const dropdownStyles = computed(() => [...SelectDropdown]);
@@ -274,8 +278,13 @@ var script = defineComponent({
274
278
  // State
275
279
  const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
276
280
  const proxyModelValue = computed({
277
- get: () => props.modelValue,
281
+ get: () => {
282
+ var _a;
283
+ return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
284
+ },
285
+
278
286
  set: value => {
287
+ context.emit('input', value);
279
288
  context.emit('update:modelValue', value);
280
289
  }
281
290
  });
@@ -1,6 +1,7 @@
1
- import _ from 'lodash';
2
1
  import { defineComponent, ref, computed } from 'vue';
2
+ import _ from 'lodash';
3
3
  import { p as pxToRem } from './px-to-rem-0b26b83e.js';
4
+ import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
4
5
 
5
6
  const SkeletonRoot = [
6
7
  // Position
@@ -37,6 +38,7 @@ const SkeletonAnimated = [
37
38
 
38
39
  var script$2 = defineComponent({
39
40
  name: 'OrSkeletonCircle',
41
+ inheritAttrs: false,
40
42
  props: {
41
43
  animated: {
42
44
  type: Boolean,
@@ -54,7 +56,8 @@ var script$2 = defineComponent({
54
56
  // Refs
55
57
  const root = ref();
56
58
  // Styles
57
- const rootStyles = computed(() => ['or-skeleton', 'or-skeleton-circle', ...SkeletonRoot, ...SkeletonCircle, ...(props.animated ? SkeletonAnimated : [])]);
59
+ const classAttribute = useClassAttribute();
60
+ const rootStyles = computed(() => ['or-skeleton', 'or-skeleton-circle', ...SkeletonRoot, ...SkeletonCircle, ...(props.animated ? SkeletonAnimated : []), classAttribute.value]);
58
61
  const rootStyle = computed(() => {
59
62
  var _a;
60
63
  const size = (_a = props.size) !== null && _a !== void 0 ? _a : 40; // 40px - medium OrAvatar
@@ -76,6 +79,7 @@ var script$2 = defineComponent({
76
79
 
77
80
  var script$1 = defineComponent({
78
81
  name: 'OrSkeletonRect',
82
+ inheritAttrs: false,
79
83
  props: {
80
84
  animated: {
81
85
  type: Boolean,
@@ -98,7 +102,8 @@ var script$1 = defineComponent({
98
102
  // Refs
99
103
  const root = ref();
100
104
  // Styles
101
- const rootStyles = computed(() => ['or-skeleton', 'or-skeleton-rect', ...SkeletonRoot, ...SkeletonRect, ...(props.animated ? SkeletonAnimated : [])]);
105
+ const classAttribute = useClassAttribute();
106
+ const rootStyles = computed(() => ['or-skeleton', 'or-skeleton-rect', ...SkeletonRoot, ...SkeletonRect, ...(props.animated ? SkeletonAnimated : []), classAttribute.value]);
102
107
  const rootStyle = computed(() => {
103
108
  var _a, _b;
104
109
  const width = (_a = props.width) !== null && _a !== void 0 ? _a : '100%';
@@ -118,6 +123,7 @@ var script$1 = defineComponent({
118
123
 
119
124
  var script = defineComponent({
120
125
  name: 'OrSkeletonText',
126
+ inheritAttrs: false,
121
127
  props: {
122
128
  animated: {
123
129
  type: Boolean,
@@ -150,7 +156,8 @@ var script = defineComponent({
150
156
  // Refs
151
157
  const root = ref();
152
158
  // Styles
153
- const containerStyles = computed(() => ['or-skeleton-text-root', ...SkeletonTextContainerRoot]);
159
+ const classAttribute = useClassAttribute();
160
+ const containerStyles = computed(() => ['or-skeleton-text-root', ...SkeletonTextContainerRoot, classAttribute.value]);
154
161
  const containerStyle = computed(() => {
155
162
  var _a;
156
163
  const width = (_a = props.width) !== null && _a !== void 0 ? _a : '100%';
@@ -158,7 +165,7 @@ var script = defineComponent({
158
165
  'width': _.isNumber(width) ? pxToRem(width) : width
159
166
  };
160
167
  });
161
- const rowStyles = computed(() => ['or-skeleton', 'or-skeleton-text', ...SkeletonRoot, ...SkeletonText, ...(props.animated ? SkeletonAnimated : [])]);
168
+ const rowStyles = computed(() => ['or-skeleton', 'or-skeleton-text', ...SkeletonRoot, ...SkeletonText, ...(props.animated ? SkeletonAnimated : []), classAttribute.value]);
162
169
  const rowStyle = computed(() => {
163
170
  var _a, _b;
164
171
  const height = (_a = props.fontSize) !== null && _a !== void 0 ? _a : 16;
@@ -1,6 +1,7 @@
1
1
  import { defineComponent, ref, computed } from 'vue';
2
- import './OrIcon-1a5c9091.js';
3
- import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-bdbaad94.js';
2
+ import './OrIcon-d878b768.js';
3
+ import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
4
+ import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-a119a715.js';
4
5
 
5
6
  const SortHeaderRoot = [
6
7
  // Layout
@@ -21,43 +22,50 @@ var script = defineComponent({
21
22
  components: {
22
23
  OrIcon: script$1
23
24
  },
24
- model: {
25
- prop: 'modelValue',
26
- event: 'update:modelValue'
27
- },
25
+ inheritAttrs: false,
28
26
  props: {
29
27
  modelValue: {
30
28
  type: Object,
31
29
  default: undefined
32
30
  },
33
31
  value: {
32
+ type: Object,
33
+ default: undefined
34
+ },
35
+ inputValue: {
34
36
  type: String,
35
37
  required: true
36
38
  }
37
39
  },
38
- emits: ['update:modelValue', 'focus', 'blur'],
40
+ emits: ['update:modelValue', 'input', 'focus', 'blur'],
39
41
  expose: ['root'],
40
42
  setup(props, context) {
41
43
  // Refs
42
44
  const root = ref();
43
45
  // Styles
44
- const rootStyles = computed(() => ['or-sort-header', ...SortHeaderRoot]);
46
+ const classAttribute = useClassAttribute();
47
+ const rootStyles = computed(() => ['or-sort-header', ...SortHeaderRoot, classAttribute.value]);
45
48
  // State
46
49
  const proxyModelValue = computed({
47
- get: () => props.modelValue,
50
+ get: () => {
51
+ var _a;
52
+ return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
53
+ },
54
+
48
55
  set: value => {
56
+ context.emit('input', value);
49
57
  context.emit('update:modelValue', value);
50
58
  }
51
59
  });
52
60
  const activated = computed(() => {
53
61
  var _a;
54
- return ((_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.column) === props.value;
62
+ return ((_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.column) === props.inputValue;
55
63
  });
56
64
  // Methods
57
65
  function toggleDirection() {
58
66
  var _a;
59
67
  proxyModelValue.value = {
60
- column: props.value,
68
+ column: props.inputValue,
61
69
  direction: ((_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.direction) === 'asc' ? 'desc' : 'asc'
62
70
  };
63
71
  }