@onereach/ui-components 2.69.7-beta.2170.0 → 2.69.7-beta.2172.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 (327) hide show
  1. package/dist/bundled/v2/{OrButton-a846fa7e.js → OrButton-4b99c680.js} +1 -10
  2. package/dist/bundled/v2/{OrCardCollection-15d11d05.js → OrCardCollection-9ab12583.js} +2 -2
  3. package/dist/bundled/v2/{OrConfirm-ec3feaf5.js → OrConfirm-58a0d0ae.js} +2 -2
  4. package/dist/bundled/v2/{OrInput-8b90e08f.js → OrInput-70a17476.js} +18 -10
  5. package/dist/bundled/v2/{OrSearch-76b002cf.js → OrSearch-e9fe9aba.js} +1 -1
  6. package/dist/bundled/v2/{OrSelect-8a4d227e.js → OrSelect-396692be.js} +9 -16
  7. package/dist/bundled/v2/{OrSwitch-237a2081.js → OrSwitch-337c4e40.js} +16 -8
  8. package/dist/bundled/v2/components/index.d.ts +0 -1
  9. package/dist/bundled/v2/components/index.js +9 -8
  10. package/dist/bundled/v2/components/or-button-v3/OrButton.vue.d.ts +0 -11
  11. package/dist/bundled/v2/components/or-button-v3/index.js +1 -1
  12. package/dist/bundled/v2/components/or-card-collection-v3/index.js +6 -4
  13. package/dist/bundled/v2/components/or-confirm-v3/index.js +5 -3
  14. package/dist/bundled/v2/components/or-input-v3/OrInput.stories3.d.ts +2 -0
  15. package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +6 -2
  16. package/dist/bundled/v2/components/or-input-v3/index.js +3 -1
  17. package/dist/bundled/v2/components/or-search-v3/index.js +4 -2
  18. package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +14 -25
  19. package/dist/bundled/v2/components/or-select-v3/index.d.ts +0 -1
  20. package/dist/bundled/v2/components/or-select-v3/index.js +4 -2
  21. package/dist/bundled/v2/components/or-select-v3/types.d.ts +1 -1
  22. package/dist/bundled/v2/components/or-switch-v3/OrSwitch.vue.d.ts +6 -2
  23. package/dist/bundled/v2/components/or-switch-v3/index.js +3 -1
  24. package/dist/bundled/v2/hooks/index.d.ts +1 -0
  25. package/dist/bundled/v2/hooks/index.js +2 -0
  26. package/dist/bundled/v2/hooks/useSlicedAttrs.d.ts +5 -0
  27. package/dist/bundled/v2/index.js +10 -9
  28. package/dist/bundled/v2/useSlicedAttrs-8d836c02.js +30 -0
  29. package/dist/bundled/v3/{OrButton-2b27c1fd.js → OrButton-a671b8a1.js} +2 -3
  30. package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-8c44986c.js → OrButton.vue_vue_type_script_lang-b0dc31ca.js} +1 -9
  31. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-bd852915.js → OrCardCollection.vue_vue_type_script_lang-d63ff1bf.js} +3 -3
  32. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-9e4e2884.js → OrConfirm.vue_vue_type_script_lang-e6d1a51f.js} +4 -4
  33. package/dist/bundled/v3/{OrInput-fa782fc1.js → OrInput-aee859e9.js} +5 -4
  34. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-f6d793d3.js → OrInput.vue_vue_type_script_lang-b687f7f9.js} +10 -3
  35. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-014ad470.js → OrSearch.vue_vue_type_script_lang-c3c18f88.js} +2 -2
  36. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-94063fc4.js → OrSelect.vue_vue_type_script_lang-639cf302.js} +4 -8
  37. package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-04829f64.js → OrSwitch.vue_vue_type_script_lang-e7c7f18b.js} +10 -3
  38. package/dist/bundled/v3/components/index.d.ts +0 -1
  39. package/dist/bundled/v3/components/index.js +11 -10
  40. package/dist/bundled/v3/components/or-button-v3/OrButton.vue.d.ts +0 -11
  41. package/dist/bundled/v3/components/or-button-v3/index.js +1 -1
  42. package/dist/bundled/v3/components/or-card-collection-v3/index.js +8 -6
  43. package/dist/bundled/v3/components/or-confirm-v3/index.js +7 -5
  44. package/dist/bundled/v3/components/or-input-v3/OrInput.stories3.d.ts +2 -0
  45. package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +6 -2
  46. package/dist/bundled/v3/components/or-input-v3/index.js +3 -1
  47. package/dist/bundled/v3/components/or-search-v3/index.js +5 -3
  48. package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +14 -25
  49. package/dist/bundled/v3/components/or-select-v3/index.d.ts +0 -1
  50. package/dist/bundled/v3/components/or-select-v3/index.js +5 -3
  51. package/dist/bundled/v3/components/or-select-v3/types.d.ts +1 -1
  52. package/dist/bundled/v3/components/or-switch-v3/OrSwitch.vue.d.ts +6 -2
  53. package/dist/bundled/v3/components/or-switch-v3/index.js +3 -1
  54. package/dist/bundled/v3/hooks/index.d.ts +1 -0
  55. package/dist/bundled/v3/hooks/index.js +2 -0
  56. package/dist/bundled/v3/hooks/useSlicedAttrs.d.ts +5 -0
  57. package/dist/bundled/v3/index.js +171 -259
  58. package/dist/bundled/v3/useSlicedAttrs-81ac6537.js +24 -0
  59. package/dist/esm/v2/{OrAvatar-3d155af3.js → OrAvatar-4d05d21f.js} +2 -1
  60. package/dist/esm/v2/{OrBottomSheet-16c2e610.js → OrBottomSheet-0386a623.js} +2 -1
  61. package/dist/esm/v2/{OrButton-835d4f11.js → OrButton-48c68216.js} +3 -11
  62. package/dist/esm/v2/{OrCard-de799db0.js → OrCard-3e794244.js} +1 -0
  63. package/dist/esm/v2/{OrCardCollection-f6b07557.js → OrCardCollection-1702319b.js} +2 -2
  64. package/dist/esm/v2/{OrCardCollection-024cfba9.js → OrCardCollection-d145adbe.js} +9 -8
  65. package/dist/esm/v2/{OrCheckbox-567e387c.js → OrCheckbox-197c4331.js} +2 -1
  66. package/dist/esm/v2/{OrConfirm-d7112dd3.js → OrConfirm-9e0fcf83.js} +1 -1
  67. package/dist/esm/v2/{OrConfirm-5e8dd4b6.js → OrConfirm-b62d2205.js} +3 -3
  68. package/dist/esm/v2/{OrError-d267ee9a.js → OrError-55b6feda.js} +1 -0
  69. package/dist/esm/v2/{OrErrorTag-782dd714.js → OrErrorTag-d0407d4e.js} +2 -1
  70. package/dist/esm/v2/{OrExpansionPanel-968ddc61.js → OrExpansionPanel-db7e325b.js} +2 -1
  71. package/dist/esm/v2/{OrFab-26106618.js → OrFab-77f5bb6e.js} +1 -1
  72. package/dist/esm/v2/{OrHint-42dc9ebb.js → OrHint-8ac527b2.js} +1 -0
  73. package/dist/esm/v2/{OrIcon-5e394c62.js → OrIcon-ed9e0063.js} +1 -0
  74. package/dist/esm/v2/{OrIconButton-e17e4944.js → OrIconButton-8d8bb874.js} +4 -3
  75. package/dist/esm/v2/{OrInlineInput-cfeeea33.js → OrInlineInput-a2e57f5c.js} +5 -4
  76. package/dist/esm/v2/{OrInlineInputBox-fefd4fbd.js → OrInlineInputBox-6a1d02c1.js} +1 -0
  77. package/dist/esm/v2/{OrInlineTextarea-897b5377.js → OrInlineTextarea-8ca157c7.js} +5 -4
  78. package/dist/esm/v2/{OrInput-2f16a7ac.js → OrInput-28f1c749.js} +24 -16
  79. package/dist/esm/v2/{OrInputBox-4d5a318d.js → OrInputBox-83980d24.js} +1 -0
  80. package/dist/esm/v2/{OrLabel-2a9f1477.js → OrLabel-0e300559.js} +1 -0
  81. package/dist/esm/v2/{OrLink-80742a17.js → OrLink-71e57969.js} +1 -0
  82. package/dist/esm/v2/{OrListOfInputs-50aa1ef1.js → OrListOfInputs-222bafd0.js} +1 -1
  83. package/dist/esm/v2/{OrLoader-f857d55b.js → OrLoader-5076d36b.js} +1 -0
  84. package/dist/esm/v2/{OrMenu-df27d0ef.js → OrMenu-f9b65b19.js} +2 -1
  85. package/dist/esm/v2/{OrMenuItem-c7f28480.js → OrMenuItem-26f5c30b.js} +2 -1
  86. package/dist/esm/v2/{OrModal-5b37a50a.js → OrModal-026a1889.js} +3 -2
  87. package/dist/esm/v2/{OrNotification-c765f111.js → OrNotification-f3c411f2.js} +3 -2
  88. package/dist/esm/v2/{OrOverlay-18ba2dc6.js → OrOverlay-c60af55e.js} +1 -0
  89. package/dist/esm/v2/{OrPassword-1fa97156.js → OrPassword-90a03124.js} +1 -1
  90. package/dist/esm/v2/{OrPopover-9bafbdb4.js → OrPopover-92cfde7e.js} +2 -1
  91. package/dist/esm/v2/{OrProgress-c27c8946.js → OrProgress-478b4e28.js} +1 -0
  92. package/dist/esm/v2/{OrRadio-848ce55d.js → OrRadio-f8c32b3a.js} +2 -1
  93. package/dist/esm/v2/{OrSearch-0589d17d.js → OrSearch-e0ffe9eb.js} +1 -1
  94. package/dist/esm/v2/{OrSearch-2f260b09.js → OrSearch-e935e64c.js} +3 -2
  95. package/dist/esm/v2/{OrSearch.vue_rollup-plugin-vue_script-197d77fc.js → OrSearch.vue_rollup-plugin-vue_script-2d694d30.js} +1 -0
  96. package/dist/esm/v2/{OrSegmentedControl-e8dce8f9.js → OrSegmentedControl-77a3e7d2.js} +1 -0
  97. package/dist/esm/v2/{OrSelect-641184f0.js → OrSelect-7c0417ed.js} +20 -26
  98. package/dist/esm/v2/{OrSkeletonText-950be6a2.js → OrSkeletonText-c1a4d7f2.js} +1 -0
  99. package/dist/esm/v2/{OrSortHeader-19bf94ca.js → OrSortHeader-0e6232da.js} +2 -1
  100. package/dist/esm/v2/{OrSwitch-13b6a7ee.js → OrSwitch-cbd0d767.js} +18 -10
  101. package/dist/esm/v2/{OrTab-702e7335.js → OrTab-6980c1dc.js} +1 -0
  102. package/dist/esm/v2/{OrTabs-71bd3fd2.js → OrTabs-bf200bc9.js} +6 -5
  103. package/dist/esm/v2/{OrTag-cf9c6195.js → OrTag-decd89a1.js} +2 -1
  104. package/dist/esm/v2/{OrText-ba5a2b6c.js → OrText-c78df05d.js} +1 -0
  105. package/dist/esm/v2/{OrTextarea-6712a150.js → OrTextarea-498efe98.js} +5 -4
  106. package/dist/esm/v2/{OrTextbox-2594c980.js → OrTextbox-f4f041ed.js} +1 -0
  107. package/dist/esm/v2/{OrTooltip-513bee30.js → OrTooltip-216920f0.js} +2 -1
  108. package/dist/esm/v2/components/index.d.ts +0 -1
  109. package/dist/esm/v2/components/index.js +52 -51
  110. package/dist/esm/v2/components/or-avatar-v3/index.js +3 -2
  111. package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +3 -2
  112. package/dist/esm/v2/components/or-button-v3/OrButton.vue.d.ts +0 -11
  113. package/dist/esm/v2/components/or-button-v3/index.js +3 -2
  114. package/dist/esm/v2/components/or-card-collection/index.js +4 -3
  115. package/dist/esm/v2/components/or-card-collection-v3/index.js +19 -17
  116. package/dist/esm/v2/components/or-card-v3/index.js +2 -1
  117. package/dist/esm/v2/components/or-checkbox-v3/index.js +3 -2
  118. package/dist/esm/v2/components/or-confirm/index.js +3 -2
  119. package/dist/esm/v2/components/or-confirm-v3/index.js +16 -14
  120. package/dist/esm/v2/components/or-error-tag-v3/index.js +3 -2
  121. package/dist/esm/v2/components/or-error-v3/index.js +2 -1
  122. package/dist/esm/v2/components/or-expansion-panel-v3/index.js +3 -2
  123. package/dist/esm/v2/components/or-fab-v3/index.js +3 -2
  124. package/dist/esm/v2/components/or-hint-v3/index.js +2 -1
  125. package/dist/esm/v2/components/or-icon-button-v3/index.js +7 -6
  126. package/dist/esm/v2/components/or-icon-v3/index.js +2 -1
  127. package/dist/esm/v2/components/or-inline-input-box-v3/index.js +2 -1
  128. package/dist/esm/v2/components/or-inline-input-v3/index.js +11 -10
  129. package/dist/esm/v2/components/or-inline-textarea-v3/index.js +11 -10
  130. package/dist/esm/v2/components/or-input-box-v3/index.js +2 -1
  131. package/dist/esm/v2/components/or-input-v3/OrInput.stories3.d.ts +2 -0
  132. package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +6 -2
  133. package/dist/esm/v2/components/or-input-v3/index.js +14 -12
  134. package/dist/esm/v2/components/or-inputs/index.js +4 -3
  135. package/dist/esm/v2/components/or-label-v3/index.js +2 -1
  136. package/dist/esm/v2/components/or-link-v3/index.js +2 -1
  137. package/dist/esm/v2/components/or-list-of-inputs/index.js +3 -2
  138. package/dist/esm/v2/components/or-loader-v3/index.js +2 -1
  139. package/dist/esm/v2/components/or-menu-item-v3/index.js +3 -2
  140. package/dist/esm/v2/components/or-menu-v3/index.js +5 -4
  141. package/dist/esm/v2/components/or-modal-v3/index.js +8 -7
  142. package/dist/esm/v2/components/or-notification-v3/index.js +8 -7
  143. package/dist/esm/v2/components/or-overlay-v3/index.js +2 -1
  144. package/dist/esm/v2/components/or-popover-v3/index.js +4 -3
  145. package/dist/esm/v2/components/or-progress-v3/index.js +2 -1
  146. package/dist/esm/v2/components/or-radio-v3/index.js +3 -2
  147. package/dist/esm/v2/components/or-search-v3/index.js +14 -12
  148. package/dist/esm/v2/components/or-segmented-control-v3/index.js +2 -1
  149. package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +14 -25
  150. package/dist/esm/v2/components/or-select-v3/index.d.ts +0 -1
  151. package/dist/esm/v2/components/or-select-v3/index.js +18 -16
  152. package/dist/esm/v2/components/or-select-v3/types.d.ts +1 -1
  153. package/dist/esm/v2/components/or-skeleton-v3/index.js +2 -1
  154. package/dist/esm/v2/components/or-sort-header-v3/index.js +3 -2
  155. package/dist/esm/v2/components/or-switch-v3/OrSwitch.vue.d.ts +6 -2
  156. package/dist/esm/v2/components/or-switch-v3/index.js +6 -4
  157. package/dist/esm/v2/components/or-tab-v3/index.js +2 -1
  158. package/dist/esm/v2/components/or-tabs-v3/index.js +9 -8
  159. package/dist/esm/v2/components/or-tag-v3/index.js +8 -7
  160. package/dist/esm/v2/components/or-text-v3/index.js +2 -1
  161. package/dist/esm/v2/components/or-textarea-v3/index.js +6 -5
  162. package/dist/esm/v2/components/or-textbox/index.js +2 -1
  163. package/dist/esm/v2/components/or-toast-v3/index.js +9 -8
  164. package/dist/esm/v2/components/or-tooltip-v3/index.js +5 -4
  165. package/dist/esm/v2/hooks/index.d.ts +1 -0
  166. package/dist/esm/v2/hooks/index.js +2 -0
  167. package/dist/esm/v2/hooks/useSlicedAttrs.d.ts +5 -0
  168. package/dist/esm/v2/index.js +52 -51
  169. package/dist/esm/v2/{types-8d58d7b5.js → types-1d68431e.js} +2 -2
  170. package/dist/esm/v2/useSlicedAttrs-91deb3b7.js +31 -0
  171. package/dist/esm/v3/{OrAvatar-53a4429d.js → OrAvatar-6c4ff382.js} +2 -1
  172. package/dist/esm/v3/{OrBottomSheet-62817aec.js → OrBottomSheet-11ab621e.js} +2 -1
  173. package/dist/esm/v3/{OrButton-0fa67a0d.js → OrButton-fd69e79e.js} +4 -12
  174. package/dist/esm/v3/{OrCard-fd92f7c8.js → OrCard-14c50722.js} +1 -0
  175. package/dist/esm/v3/{OrCardCollection-286d0f3f.js → OrCardCollection-45884ef2.js} +9 -8
  176. package/dist/esm/v3/{OrCardCollection-a5e326ef.js → OrCardCollection-989bb549.js} +1 -1
  177. package/dist/esm/v3/{OrCheckbox-3e139eac.js → OrCheckbox-cf989d15.js} +2 -1
  178. package/dist/esm/v3/{OrConfirm-f39bd784.js → OrConfirm-53788490.js} +1 -1
  179. package/dist/esm/v3/{OrConfirm-56ae1494.js → OrConfirm-8c4f080b.js} +3 -3
  180. package/dist/esm/v3/{OrError-ec8c709d.js → OrError-2ef63390.js} +1 -0
  181. package/dist/esm/v3/{OrErrorTag-98252eef.js → OrErrorTag-630205fc.js} +2 -1
  182. package/dist/esm/v3/{OrExpansionPanel-311e64cf.js → OrExpansionPanel-0151936a.js} +2 -1
  183. package/dist/esm/v3/{OrFab-c8ae6e01.js → OrFab-7c1780e5.js} +1 -1
  184. package/dist/esm/v3/{OrHint-74bb732d.js → OrHint-4f497295.js} +1 -0
  185. package/dist/esm/v3/{OrIcon-b195169c.js → OrIcon-085d2eb1.js} +1 -0
  186. package/dist/esm/v3/{OrIconButton-1eebcafc.js → OrIconButton-830faf78.js} +4 -3
  187. package/dist/esm/v3/{OrInlineInput-31026cd0.js → OrInlineInput-46fd890d.js} +5 -4
  188. package/dist/esm/v3/{OrInlineInputBox-8049f95a.js → OrInlineInputBox-226e29da.js} +1 -0
  189. package/dist/esm/v3/{OrInlineTextarea-b28c3d8c.js → OrInlineTextarea-837cb99a.js} +5 -4
  190. package/dist/esm/v3/{OrInput-41691fb3.js → OrInput-502b6d49.js} +20 -12
  191. package/dist/esm/v3/{OrInputBox-6d1b6059.js → OrInputBox-304481e7.js} +1 -0
  192. package/dist/esm/v3/{OrLabel-bdaec602.js → OrLabel-7989b72a.js} +1 -0
  193. package/dist/esm/v3/{OrLink-338db3ca.js → OrLink-b0d7d430.js} +1 -0
  194. package/dist/esm/v3/{OrListOfInputs-7a67440f.js → OrListOfInputs-7e8b4f20.js} +1 -1
  195. package/dist/esm/v3/{OrLoader-b3cf4231.js → OrLoader-ab6bb22c.js} +1 -0
  196. package/dist/esm/v3/{OrMenu-840038cd.js → OrMenu-60ff7732.js} +2 -1
  197. package/dist/esm/v3/{OrMenuItem-9da279f6.js → OrMenuItem-82b6700b.js} +2 -1
  198. package/dist/esm/v3/{OrModal-381554a6.js → OrModal-9724926c.js} +3 -2
  199. package/dist/esm/v3/{OrNotification-34d9c99b.js → OrNotification-bef23976.js} +3 -2
  200. package/dist/esm/v3/{OrOverlay-738a44d5.js → OrOverlay-4a300d88.js} +1 -0
  201. package/dist/esm/v3/{OrPopover-1075dd38.js → OrPopover-086817af.js} +2 -1
  202. package/dist/esm/v3/{OrProgress-407002e0.js → OrProgress-3710020b.js} +1 -0
  203. package/dist/esm/v3/{OrRadio-54b6d0de.js → OrRadio-aa2cbfa1.js} +2 -1
  204. package/dist/esm/v3/{OrSearch-7cb2c91c.js → OrSearch-b5f08401.js} +1 -0
  205. package/dist/esm/v3/{OrSearch-e5a2e93e.js → OrSearch-cb030d85.js} +3 -2
  206. package/dist/esm/v3/{OrSegmentedControl-171cad78.js → OrSegmentedControl-214e904c.js} +1 -0
  207. package/dist/esm/v3/{OrSelect-08bd0f60.js → OrSelect-24e213b6.js} +21 -30
  208. package/dist/esm/v3/{OrSkeletonText-3965ff71.js → OrSkeletonText-dd74b979.js} +1 -0
  209. package/dist/esm/v3/{OrSortHeader-fe1a9cf8.js → OrSortHeader-4aff1426.js} +2 -1
  210. package/dist/esm/v3/{OrSwitch-cca30aa0.js → OrSwitch-eb5bc7cc.js} +16 -8
  211. package/dist/esm/v3/{OrTab-c131cf60.js → OrTab-3fe86033.js} +1 -0
  212. package/dist/esm/v3/{OrTabs-d0ee6cef.js → OrTabs-5dcbf9ce.js} +6 -5
  213. package/dist/esm/v3/{OrTag-c0bbaa58.js → OrTag-35f948c1.js} +2 -1
  214. package/dist/esm/v3/{OrText-ecb46923.js → OrText-786b2aa4.js} +1 -0
  215. package/dist/esm/v3/{OrTextarea-bb9ef3f2.js → OrTextarea-c083501a.js} +5 -4
  216. package/dist/esm/v3/{OrTextbox-2f33e9c3.js → OrTextbox-929fc3a2.js} +1 -0
  217. package/dist/esm/v3/{OrTooltip-50d27b4f.js → OrTooltip-6f9147b6.js} +2 -1
  218. package/dist/esm/v3/components/index.d.ts +0 -1
  219. package/dist/esm/v3/components/index.js +50 -49
  220. package/dist/esm/v3/components/or-avatar-v3/index.js +3 -2
  221. package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +3 -2
  222. package/dist/esm/v3/components/or-button-v3/OrButton.vue.d.ts +0 -11
  223. package/dist/esm/v3/components/or-button-v3/index.js +3 -2
  224. package/dist/esm/v3/components/or-card-collection/index.js +3 -2
  225. package/dist/esm/v3/components/or-card-collection-v3/index.js +19 -17
  226. package/dist/esm/v3/components/or-card-v3/index.js +2 -1
  227. package/dist/esm/v3/components/or-checkbox-v3/index.js +3 -2
  228. package/dist/esm/v3/components/or-confirm/index.js +3 -2
  229. package/dist/esm/v3/components/or-confirm-v3/index.js +16 -14
  230. package/dist/esm/v3/components/or-error-tag-v3/index.js +3 -2
  231. package/dist/esm/v3/components/or-error-v3/index.js +2 -1
  232. package/dist/esm/v3/components/or-expansion-panel-v3/index.js +3 -2
  233. package/dist/esm/v3/components/or-fab-v3/index.js +3 -2
  234. package/dist/esm/v3/components/or-hint-v3/index.js +2 -1
  235. package/dist/esm/v3/components/or-icon-button-v3/index.js +7 -6
  236. package/dist/esm/v3/components/or-icon-v3/index.js +2 -1
  237. package/dist/esm/v3/components/or-inline-input-box-v3/index.js +2 -1
  238. package/dist/esm/v3/components/or-inline-input-v3/index.js +11 -10
  239. package/dist/esm/v3/components/or-inline-textarea-v3/index.js +11 -10
  240. package/dist/esm/v3/components/or-input-box-v3/index.js +2 -1
  241. package/dist/esm/v3/components/or-input-v3/OrInput.stories3.d.ts +2 -0
  242. package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +6 -2
  243. package/dist/esm/v3/components/or-input-v3/index.js +14 -12
  244. package/dist/esm/v3/components/or-inputs/index.js +2 -1
  245. package/dist/esm/v3/components/or-label-v3/index.js +2 -1
  246. package/dist/esm/v3/components/or-link-v3/index.js +2 -1
  247. package/dist/esm/v3/components/or-list-of-inputs/index.js +3 -2
  248. package/dist/esm/v3/components/or-loader-v3/index.js +2 -1
  249. package/dist/esm/v3/components/or-menu-item-v3/index.js +3 -2
  250. package/dist/esm/v3/components/or-menu-v3/index.js +5 -4
  251. package/dist/esm/v3/components/or-modal-v3/index.js +8 -7
  252. package/dist/esm/v3/components/or-notification-v3/index.js +8 -7
  253. package/dist/esm/v3/components/or-overlay-v3/index.js +2 -1
  254. package/dist/esm/v3/components/or-popover-v3/index.js +4 -3
  255. package/dist/esm/v3/components/or-progress-v3/index.js +2 -1
  256. package/dist/esm/v3/components/or-radio-v3/index.js +3 -2
  257. package/dist/esm/v3/components/or-search-v3/index.js +14 -12
  258. package/dist/esm/v3/components/or-segmented-control-v3/index.js +2 -1
  259. package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +14 -25
  260. package/dist/esm/v3/components/or-select-v3/index.d.ts +0 -1
  261. package/dist/esm/v3/components/or-select-v3/index.js +18 -16
  262. package/dist/esm/v3/components/or-select-v3/types.d.ts +1 -1
  263. package/dist/esm/v3/components/or-skeleton-v3/index.js +2 -1
  264. package/dist/esm/v3/components/or-sort-header-v3/index.js +3 -2
  265. package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +6 -2
  266. package/dist/esm/v3/components/or-switch-v3/index.js +6 -4
  267. package/dist/esm/v3/components/or-tab-v3/index.js +2 -1
  268. package/dist/esm/v3/components/or-tabs-v3/index.js +9 -8
  269. package/dist/esm/v3/components/or-tag-v3/index.js +8 -7
  270. package/dist/esm/v3/components/or-text-v3/index.js +2 -1
  271. package/dist/esm/v3/components/or-textarea-v3/index.js +6 -5
  272. package/dist/esm/v3/components/or-textbox/index.js +2 -1
  273. package/dist/esm/v3/components/or-toast-v3/index.js +9 -8
  274. package/dist/esm/v3/components/or-tooltip-v3/index.js +5 -4
  275. package/dist/esm/v3/hooks/index.d.ts +1 -0
  276. package/dist/esm/v3/hooks/index.js +2 -0
  277. package/dist/esm/v3/hooks/useSlicedAttrs.d.ts +5 -0
  278. package/dist/esm/v3/index.js +50 -49
  279. package/dist/esm/v3/{types-8a338300.js → types-a2cbb17e.js} +2 -2
  280. package/dist/esm/v3/useSlicedAttrs-91deb3b7.js +31 -0
  281. package/package.json +1 -1
  282. package/src/components/index.ts +0 -1
  283. package/src/components/or-button-v3/OrButton.stories3.ts +0 -4
  284. package/src/components/or-button-v3/OrButton.vue +0 -6
  285. package/src/components/or-button-v3/styles.ts +1 -9
  286. package/src/components/or-input-v3/OrInput.stories3.ts +53 -0
  287. package/src/components/or-input-v3/OrInput.vue +13 -5
  288. package/src/components/or-select-v3/OrSelect.vue +14 -26
  289. package/src/components/or-select-v3/index.ts +0 -1
  290. package/src/components/or-select-v3/types.ts +1 -1
  291. package/src/components/or-switch-v3/OrSwitch.vue +13 -4
  292. package/src/hooks/index.ts +1 -0
  293. package/src/hooks/useSlicedAttrs.ts +31 -0
  294. package/dist/bundled/v2/OrPagination-379c10b8.js +0 -308
  295. package/dist/bundled/v2/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
  296. package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -112
  297. package/dist/bundled/v2/components/or-pagination-v3/index.d.ts +0 -2
  298. package/dist/bundled/v2/components/or-pagination-v3/index.js +0 -20
  299. package/dist/bundled/v2/components/or-pagination-v3/styles.d.ts +0 -4
  300. package/dist/bundled/v2/components/or-pagination-v3/types.d.ts +0 -4
  301. package/dist/bundled/v3/OrPagination.vue_vue_type_script_lang-c96d7cd7.js +0 -187
  302. package/dist/bundled/v3/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
  303. package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -112
  304. package/dist/bundled/v3/components/or-pagination-v3/index.d.ts +0 -2
  305. package/dist/bundled/v3/components/or-pagination-v3/index.js +0 -22
  306. package/dist/bundled/v3/components/or-pagination-v3/styles.d.ts +0 -4
  307. package/dist/bundled/v3/components/or-pagination-v3/types.d.ts +0 -4
  308. package/dist/esm/v2/OrPagination-c0dbec6a.js +0 -308
  309. package/dist/esm/v2/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
  310. package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -112
  311. package/dist/esm/v2/components/or-pagination-v3/index.d.ts +0 -2
  312. package/dist/esm/v2/components/or-pagination-v3/index.js +0 -18
  313. package/dist/esm/v2/components/or-pagination-v3/styles.d.ts +0 -4
  314. package/dist/esm/v2/components/or-pagination-v3/types.d.ts +0 -4
  315. package/dist/esm/v3/OrPagination-a703307d.js +0 -269
  316. package/dist/esm/v3/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
  317. package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -112
  318. package/dist/esm/v3/components/or-pagination-v3/index.d.ts +0 -2
  319. package/dist/esm/v3/components/or-pagination-v3/index.js +0 -17
  320. package/dist/esm/v3/components/or-pagination-v3/styles.d.ts +0 -4
  321. package/dist/esm/v3/components/or-pagination-v3/types.d.ts +0 -4
  322. package/src/components/or-pagination-v3/OrPagination.docs.mdx +0 -7
  323. package/src/components/or-pagination-v3/OrPagination.stories3.ts +0 -87
  324. package/src/components/or-pagination-v3/OrPagination.vue +0 -270
  325. package/src/components/or-pagination-v3/index.ts +0 -2
  326. package/src/components/or-pagination-v3/styles.ts +0 -38
  327. package/src/components/or-pagination-v3/types.ts +0 -4
@@ -0,0 +1,31 @@
1
+ import { getCurrentInstance, computed, isVue2 } from 'vue-demi';
2
+ import ommit from 'lodash/omit';
3
+ import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
4
+
5
+ function useSlicedAttrs() {
6
+ const classAttribute = useClassAttribute();
7
+ const currentInstance = getCurrentInstance();
8
+ const classes = computed(() => {
9
+ if (isVue2) {
10
+ return classAttribute.value;
11
+ }
12
+ return currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.attrs.class;
13
+ });
14
+ const styles = computed(() => {
15
+ var _a, _b;
16
+ if (isVue2) {
17
+ return (_b = (_a = currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.vnode) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.staticStyle;
18
+ }
19
+ return currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.attrs.style;
20
+ });
21
+ const attrs = computed(() => {
22
+ return ommit(currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.attrs, 'style', 'class');
23
+ });
24
+ return {
25
+ classes,
26
+ styles,
27
+ attrs
28
+ };
29
+ }
30
+
31
+ export { useSlicedAttrs as u };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "2.69.7-beta.2170.0",
3
+ "version": "2.69.7-beta.2172.0",
4
4
  "description": "Vue components library for v2/3",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/auto/index.js",
@@ -53,7 +53,6 @@ export * from './or-notification-v3';
53
53
  export * from './or-overflow-menu';
54
54
  export * from './or-overlay';
55
55
  export * from './or-overlay-v3';
56
- export * from './or-pagination-v3';
57
56
  export * from './or-popover-v3';
58
57
  export * from './or-progress';
59
58
  export * from './or-progress-v3';
@@ -36,10 +36,6 @@ export default {
36
36
  options: Object.values(ButtonColor),
37
37
  },
38
38
 
39
- activated: {
40
- table: { disable: true },
41
- },
42
-
43
39
  disabled: {
44
40
  control: { type: 'boolean' },
45
41
  },
@@ -4,7 +4,6 @@
4
4
  v-bind="$attrs"
5
5
  :class="rootStyles"
6
6
  :type="type"
7
- :activated="activated ? '' : null"
8
7
  :disabled="disabled"
9
8
  @click="$emit('click', $event)"
10
9
  @focus="$emit('focus', $event)"
@@ -64,11 +63,6 @@ export default defineComponent({
64
63
  default: ButtonColor.Primary,
65
64
  },
66
65
 
67
- activated: {
68
- type: Boolean,
69
- default: false,
70
- },
71
-
72
66
  disabled: {
73
67
  type: Boolean,
74
68
  default: false,
@@ -116,13 +116,5 @@ export const ButtonRootColors: Record<`${ButtonColor}-${ButtonVariant}`, string[
116
116
  'dark:theme-preset-4-error-dark',
117
117
  ],
118
118
 
119
- 'inherit-link': [
120
- // Theme
121
- 'theme-foreground-inherit',
122
- 'dark:theme-foreground-inherit',
123
-
124
- // Theme (activated)
125
- 'activated:theme-foreground-default',
126
- 'dark:activated:theme-foreground-default-dark',
127
- ],
119
+ 'inherit-link': [],
128
120
  };
@@ -218,3 +218,56 @@ Search.args = {
218
218
  placeholder: 'Placeholder',
219
219
  hint: Faker.lorem.sentence(20),
220
220
  };
221
+
222
+ export const CustomClassesAndStyles: StoryFn<typeof OrInput> = (args) => ({
223
+ components: {
224
+ OrIcon,
225
+ OrInput,
226
+ },
227
+
228
+ setup() {
229
+ // State
230
+ const model = ref<string | number>();
231
+
232
+ // Effects
233
+ watch(model, (value) => {
234
+ console.debug(value);
235
+ });
236
+
237
+ return {
238
+ args,
239
+ model,
240
+ onUpdateModelValue: action('update:modelValue'),
241
+ onInput: action('input'),
242
+ onKeydown: action('keydown'),
243
+ onKeyup: action('keyup'),
244
+ onFocus: action('focus'),
245
+ onBlur: action('blur'),
246
+ };
247
+ },
248
+
249
+ template: `
250
+ <OrInput
251
+ v-model="model"
252
+ v-bind="args"
253
+ @update:modelValue="onUpdateModelValue"
254
+ @input="onInput"
255
+ @keydown="onKeydown"
256
+ @keyup="onKeyup"
257
+ @focus="onFocus"
258
+ @blur="onBlur"
259
+ class="test"
260
+ :class="'test1'"
261
+ style="margin-bottom: 10px"
262
+ :style="'margin-top: 10px'"
263
+ />
264
+ `,
265
+ });
266
+
267
+ CustomClassesAndStyles.args = {
268
+ // Slots
269
+ // Props
270
+ type: InputType.Text,
271
+ label: 'Input with margins and styles',
272
+ placeholder: 'conatcts test classes',
273
+ };
@@ -1,6 +1,7 @@
1
1
  <template>
2
2
  <div
3
3
  ref="root"
4
+ :style="inlineStyles"
4
5
  :class="rootStyles"
5
6
  >
6
7
  <template v-if="label">
@@ -29,7 +30,7 @@
29
30
  :id="controlId"
30
31
  ref="input"
31
32
  v-model="proxyModelValue"
32
- v-bind="$attrs"
33
+ v-bind="attrs"
33
34
  :class="controlStyles"
34
35
  :type="type === 'password' && disclosed ? 'text' : type"
35
36
  :placeholder="placeholder"
@@ -103,7 +104,7 @@
103
104
 
104
105
  <script lang="ts">
105
106
  import { computed, defineComponent, getCurrentInstance, PropType, ref } from 'vue-demi';
106
- import { useClassAttribute } from '../../hooks';
107
+ import { useSlicedAttrs } from '../../hooks';
107
108
  import { OrErrorV3 as OrError } from '../or-error-v3';
108
109
  import { OrHintV3 as OrHint } from '../or-hint-v3';
109
110
  import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3';
@@ -206,13 +207,18 @@ export default defineComponent({
206
207
  const root = ref<HTMLElement>();
207
208
  const input = ref<HTMLInputElement>();
208
209
 
209
- // Styles
210
- const classAttribute = useClassAttribute();
210
+ // Attrs
211
+ const {
212
+ attrs,
213
+ classes,
214
+ styles: inlineStyles,
215
+ } = useSlicedAttrs();
211
216
 
217
+ // Styles
212
218
  const rootStyles = computed(() => [
213
219
  'or-input',
214
220
  ...InputRoot,
215
- classAttribute.value,
221
+ classes.value,
216
222
  ]);
217
223
 
218
224
  const controlStyles = computed(() => [
@@ -249,6 +255,8 @@ export default defineComponent({
249
255
  return {
250
256
  root,
251
257
  input,
258
+ attrs,
259
+ inlineStyles,
252
260
  rootStyles,
253
261
  controlStyles,
254
262
  controlId,
@@ -24,7 +24,6 @@
24
24
  v-dropdown-open="toggle"
25
25
  v-dropdown-close="close"
26
26
  :class="[popoverState === 'open' && 'rounded-b-0']"
27
- :variant="disableDefaultStyles ? 'unstyled' : 'styled'"
28
27
  :size="size"
29
28
  :invalid="invalid"
30
29
  :readonly="readonly"
@@ -39,12 +38,12 @@
39
38
  @focus="$emit('focus', $event)"
40
39
  @blur="$emit('blur', $event)"
41
40
  >
42
- <template v-if="multiple">
43
- <slot
44
- name="valueTemplate"
45
- :model="proxyModelValue"
46
- >
47
- <template v-if="proxyModelValue && proxyModelValue.length > 0">
41
+ <template v-if="proxyModelValue && proxyModelValue.length > 0">
42
+ <template v-if="multiple">
43
+ <slot
44
+ name="valueTemplate"
45
+ :model="proxyModelValue"
46
+ >
48
47
  <OrTag
49
48
  v-for="option in selection"
50
49
  :key="option.value"
@@ -53,16 +52,10 @@
53
52
  >
54
53
  {{ option.label }}
55
54
  </OrTag>
56
- </template>
57
-
58
- <template v-else>
59
- <span :class="placeholderStyles">{{ placeholder }}</span>
60
- </template>
61
- </slot>
62
- </template>
55
+ </slot>
56
+ </template>
63
57
 
64
- <template v-else>
65
- <template v-if="proxyModelValue">
58
+ <template v-else>
66
59
  <slot
67
60
  name="valueTemplate"
68
61
  :model="proxyModelValue"
@@ -70,10 +63,10 @@
70
63
  {{ selection.label }}
71
64
  </slot>
72
65
  </template>
66
+ </template>
73
67
 
74
- <template v-else>
75
- <span :class="placeholderStyles">{{ placeholder }}</span>
76
- </template>
68
+ <template v-else>
69
+ <span :class="placeholderStyles">{{ placeholder }}</span>
77
70
  </template>
78
71
  </div>
79
72
 
@@ -272,12 +265,12 @@ export default defineComponent({
272
265
  },
273
266
 
274
267
  modelValue: {
275
- type: [String, Number, Array] as PropType<string | number | (string | number)[]>,
268
+ type: [String, Array] as PropType<string | string[]>,
276
269
  default: undefined,
277
270
  },
278
271
 
279
272
  value: { // TODO: Remove Vue 2 fallback
280
- type: [String, Number, Array] as PropType<string | number | (string | number)[]>,
273
+ type: [String, Array] as PropType<string | string[]>,
281
274
  default: undefined,
282
275
  },
283
276
 
@@ -321,11 +314,6 @@ export default defineComponent({
321
314
  default: false,
322
315
  },
323
316
 
324
- disableDefaultStyles: {
325
- type: Boolean,
326
- default: false,
327
- },
328
-
329
317
  enableSearch: {
330
318
  type: Boolean,
331
319
  default: false,
@@ -1,3 +1,2 @@
1
1
  export { default as OrSelectV3 } from './OrSelect.vue';
2
2
  export * from './props';
3
- export * from './types';
@@ -1,5 +1,5 @@
1
1
  export interface SelectOption {
2
- value: string | number;
2
+ value: string;
3
3
  label: string;
4
4
  }
5
5
 
@@ -1,11 +1,12 @@
1
1
  <template>
2
2
  <div
3
3
  ref="root"
4
+ :style="inlineStyles"
4
5
  :class="rootStyles"
5
6
  >
6
7
  <template v-if="!loading">
7
8
  <input
8
- v-bind="$attrs"
9
+ v-bind="attrs"
9
10
  :id="controlId"
10
11
  v-model="proxyModelValue"
11
12
  :class="controlStyles"
@@ -50,7 +51,7 @@
50
51
 
51
52
  <script lang="ts">
52
53
  import { computed, defineComponent, getCurrentInstance, PropType, ref } from 'vue-demi';
53
- import { useClassAttribute } from '../../hooks';
54
+ import { useSlicedAttrs } from '../../hooks';
54
55
  import { LabelVariant, OrLabelV3 as OrLabel } from '../or-label-v3';
55
56
  import { OrLoaderV3 as OrLoader } from '../or-loader-v3';
56
57
  import { SwitchControl, SwitchControlHandle, SwitchLoader, SwitchLoaderHandle, SwitchRoot } from './styles';
@@ -125,13 +126,19 @@ export default defineComponent({
125
126
  // Refs
126
127
  const root = ref<HTMLElement>();
127
128
 
129
+ // Attrs
130
+ const {
131
+ attrs,
132
+ classes,
133
+ styles: inlineStyles,
134
+ } = useSlicedAttrs();
135
+
128
136
  // Styles
129
- const classAttribute = useClassAttribute();
130
137
 
131
138
  const rootStyles = computed(() => [
132
139
  'or-switch',
133
140
  ...SwitchRoot,
134
- classAttribute.value,
141
+ classes.value,
135
142
  ]);
136
143
 
137
144
  const controlStyles = computed(() => [
@@ -163,6 +170,8 @@ export default defineComponent({
163
170
  rootStyles,
164
171
  controlStyles,
165
172
  loaderStyles,
173
+ inlineStyles,
174
+ attrs,
166
175
  controlId,
167
176
  proxyModelValue,
168
177
  };
@@ -2,4 +2,5 @@ export { useClassAttribute } from './useClassAttribute';
2
2
  export { useElevation } from './useElevation';
3
3
  export { useOverflow } from './useOverflow';
4
4
  export { useResponsive } from './useResponsive';
5
+ export { useSlicedAttrs } from './useSlicedAttrs';
5
6
  export { default as useToggle } from './useToggle';
@@ -0,0 +1,31 @@
1
+ import { computed, isVue2, getCurrentInstance } from 'vue-demi';
2
+ import ommit from 'lodash/omit';
3
+ import { useClassAttribute } from './useClassAttribute';
4
+ export function useSlicedAttrs() {
5
+ const classAttribute = useClassAttribute();
6
+ const currentInstance = getCurrentInstance();
7
+
8
+ const classes = computed(() => {
9
+ if (isVue2) {
10
+ return classAttribute.value;
11
+ }
12
+ return currentInstance?.attrs.class;
13
+ });
14
+
15
+ const styles = computed(() => {
16
+ if (isVue2) {
17
+ return currentInstance?.vnode?.data?.staticStyle;
18
+ }
19
+ return currentInstance?.attrs.style;
20
+ });
21
+
22
+ const attrs = computed(() => {
23
+ return ommit(currentInstance?.attrs, 'style', 'class');
24
+ });
25
+
26
+ return {
27
+ classes,
28
+ styles,
29
+ attrs,
30
+ };
31
+ }