@onereach/ui-components 2.72.2-beta.2273.0 → 2.72.2-beta.2275.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 (235) hide show
  1. package/dist/bundled/v2/{OrButton-4862b98b.js → OrButton-d45772c1.js} +3 -3
  2. package/dist/bundled/v2/{OrCardCollection-fdd62d7f.js → OrCardCollection-80ac6444.js} +4 -4
  3. package/dist/bundled/v2/{OrConfirm-e9fc4bab.js → OrConfirm-ea6ea2f7.js} +2 -2
  4. package/dist/bundled/v2/{OrEmptyState-8a7feb99.js → OrEmptyState-9fb413f9.js} +2 -2
  5. package/dist/bundled/v2/{OrErrorTag-785d650a.js → OrErrorTag-97a9112b.js} +1 -1
  6. package/dist/bundled/v2/{OrIconButton-5e9d8efe.js → OrIconButton-837d57f8.js} +1 -1
  7. package/dist/bundled/v2/{OrInlineInput-38a99ef9.js → OrInlineInput-57fccb41.js} +1 -1
  8. package/dist/bundled/v2/{OrInlineTextarea-e0ff164c.js → OrInlineTextarea-f8b86cf7.js} +1 -1
  9. package/dist/bundled/v2/{OrInput-1db640f5.js → OrInput-57a47093.js} +29 -12
  10. package/dist/bundled/v2/{OrInputBox-2f559e98.js → OrInputBox-e54dcef9.js} +3 -3
  11. package/dist/bundled/v2/{OrMenu-6ab53877.js → OrMenu-52da43bc.js} +15 -10
  12. package/dist/bundled/v2/{OrModal-41f9e197.js → OrModal-78f5d49e.js} +1 -1
  13. package/dist/bundled/v2/{OrNotification-cbb374c5.js → OrNotification-458fe937.js} +1 -1
  14. package/dist/bundled/v2/{OrPagination-9bf3d797.js → OrPagination-daf25de2.js} +24 -60
  15. package/dist/bundled/v2/{OrProgress-5cf0a7e7.js → OrProgress-15fe65ec.js} +3 -3
  16. package/dist/bundled/v2/{OrSearch-79598105.js → OrSearch-2ff8cadd.js} +3 -4
  17. package/dist/bundled/v2/{OrSelect-5cbf39e6.js → OrSelect-359e891b.js} +3 -3
  18. package/dist/bundled/v2/{OrSidebar-b1442193.js → OrSidebar-c95ef614.js} +3 -3
  19. package/dist/bundled/v2/{OrTabs-517e2f25.js → OrTabs-d69780fc.js} +1 -1
  20. package/dist/bundled/v2/{OrTag-231eefa1.js → OrTag-4085e8a7.js} +2 -2
  21. package/dist/bundled/v2/{OrTextarea-5c57c02b.js → OrTextarea-1201353b.js} +1 -1
  22. package/dist/bundled/v2/{OrTooltip-121e28c5.js → OrTooltip-b1f38647.js} +1 -3
  23. package/dist/bundled/v2/components/index.js +24 -24
  24. package/dist/bundled/v2/components/or-button-v3/index.js +1 -1
  25. package/dist/bundled/v2/components/or-card-collection-v3/index.js +8 -8
  26. package/dist/bundled/v2/components/or-confirm-v3/index.js +6 -6
  27. package/dist/bundled/v2/components/or-empty-state-v3/index.js +1 -1
  28. package/dist/bundled/v2/components/or-error-tag-v3/index.js +1 -1
  29. package/dist/bundled/v2/components/or-icon-button-v3/index.js +2 -2
  30. package/dist/bundled/v2/components/or-inline-input-v3/index.js +3 -3
  31. package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +3 -3
  32. package/dist/bundled/v2/components/or-input-box-v3/index.js +1 -1
  33. package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +13 -0
  34. package/dist/bundled/v2/components/or-input-v3/index.js +5 -4
  35. package/dist/bundled/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -0
  36. package/dist/bundled/v2/components/or-menu-v3/index.js +1 -1
  37. package/dist/bundled/v2/components/or-menu-v3/styles.d.ts +1 -0
  38. package/dist/bundled/v2/components/or-modal-v3/index.js +3 -3
  39. package/dist/bundled/v2/components/or-notification-v3/index.js +3 -3
  40. package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -4
  41. package/dist/bundled/v2/components/or-pagination-v3/index.js +3 -3
  42. package/dist/bundled/v2/components/or-progress-v3/index.js +1 -1
  43. package/dist/bundled/v2/components/or-progress-v3/styles.d.ts +1 -1
  44. package/dist/bundled/v2/components/or-search-v3/index.js +6 -5
  45. package/dist/bundled/v2/components/or-select-v3/index.js +7 -6
  46. package/dist/bundled/v2/components/or-sidebar-v3/index.js +1 -1
  47. package/dist/bundled/v2/components/or-tabs-v3/index.js +2 -2
  48. package/dist/bundled/v2/components/or-tag-v3/index.js +3 -3
  49. package/dist/bundled/v2/components/or-textarea-v3/index.js +2 -2
  50. package/dist/bundled/v2/components/or-toast-v3/index.js +3 -3
  51. package/dist/bundled/v2/components/or-tooltip-v3/index.js +1 -1
  52. package/dist/bundled/v2/index.js +24 -24
  53. package/dist/bundled/v2/{types-c2d44cac.js → types-309b7b94.js} +1 -1
  54. package/dist/bundled/v3/{OrButton-05766523.js → OrButton-a1448bfa.js} +1 -1
  55. package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-b53e78f5.js → OrButton.vue_vue_type_script_lang-3b1e442b.js} +3 -3
  56. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-1dbf497a.js → OrCardCollection.vue_vue_type_script_lang-09e66060.js} +7 -7
  57. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-be5a3795.js → OrConfirm.vue_vue_type_script_lang-9aff9db3.js} +4 -4
  58. package/dist/bundled/v3/{OrEmptyState.vue_vue_type_script_lang-8e58c67c.js → OrEmptyState.vue_vue_type_script_lang-da7d6c42.js} +2 -2
  59. package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-3675dde9.js → OrErrorTag.vue_vue_type_script_lang-e2fe7ca9.js} +1 -1
  60. package/dist/bundled/v3/{OrIconButton-d6dfb9a4.js → OrIconButton-e0566ecf.js} +1 -1
  61. package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-5d1cb50c.js → OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js} +1 -1
  62. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-92640762.js → OrInlineInput.vue_vue_type_script_lang-49ce3308.js} +2 -2
  63. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-7358cb4f.js → OrInlineTextarea.vue_vue_type_script_lang-8fd761d7.js} +2 -2
  64. package/dist/bundled/v3/{OrInput-0b025fb9.js → OrInput-44a32124.js} +15 -6
  65. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-8806db67.js → OrInput.vue_vue_type_script_lang-4d9e2f4a.js} +17 -5
  66. package/dist/bundled/v3/{OrInputBox-4c7900c2.js → OrInputBox-358d4856.js} +1 -1
  67. package/dist/bundled/v3/{OrInputBox.vue_vue_type_script_lang-47d98e81.js → OrInputBox.vue_vue_type_script_lang-b387d4ba.js} +3 -3
  68. package/dist/bundled/v3/{OrMenu-bb432db5.js → OrMenu-6d7abe97.js} +10 -9
  69. package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-5a492eb3.js → OrMenu.vue_vue_type_script_lang-df35fd76.js} +8 -5
  70. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-5f45677f.js → OrModal.vue_vue_type_script_lang-6b1dc231.js} +2 -2
  71. package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-b9a8e938.js → OrNotification.vue_vue_type_script_lang-d0afc1d7.js} +2 -2
  72. package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-bdb0acc8.js → OrPagination.vue_vue_type_script_lang-f64827ef.js} +20 -35
  73. package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-17095060.js → OrProgress.vue_vue_type_script_lang-52f660d6.js} +3 -3
  74. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-2f124297.js → OrSearch.vue_vue_type_script_lang-faec384c.js} +4 -5
  75. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-923c3abe.js → OrSelect.vue_vue_type_script_lang-c7a9bec2.js} +5 -5
  76. package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-d298c2fa.js → OrSidebar.vue_vue_type_script_lang-ce0b152c.js} +3 -3
  77. package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-ae519161.js → OrTabs.vue_vue_type_script_lang-cb550e87.js} +2 -2
  78. package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-2410faf0.js → OrTag.vue_vue_type_script_lang-a25a49ee.js} +3 -3
  79. package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-296da567.js → OrTextarea.vue_vue_type_script_lang-de99a858.js} +2 -2
  80. package/dist/bundled/v3/{OrToastContainer-a435e015.js → OrToastContainer-6fe12712.js} +1 -1
  81. package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-7a64c90d.js → OrTooltip.vue_vue_type_script_lang-bf9935ef.js} +1 -3
  82. package/dist/bundled/v3/components/index.js +29 -29
  83. package/dist/bundled/v3/components/or-button-v3/index.js +1 -1
  84. package/dist/bundled/v3/components/or-card-collection-v3/index.js +13 -13
  85. package/dist/bundled/v3/components/or-confirm-v3/index.js +10 -10
  86. package/dist/bundled/v3/components/or-empty-state-v3/index.js +1 -1
  87. package/dist/bundled/v3/components/or-error-tag-v3/index.js +1 -1
  88. package/dist/bundled/v3/components/or-icon-button-v3/index.js +2 -2
  89. package/dist/bundled/v3/components/or-inline-input-v3/index.js +4 -4
  90. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +4 -4
  91. package/dist/bundled/v3/components/or-input-box-v3/index.js +1 -1
  92. package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +13 -0
  93. package/dist/bundled/v3/components/or-input-v3/index.js +8 -6
  94. package/dist/bundled/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -0
  95. package/dist/bundled/v3/components/or-menu-v3/index.js +1 -1
  96. package/dist/bundled/v3/components/or-menu-v3/styles.d.ts +1 -0
  97. package/dist/bundled/v3/components/or-modal-v3/index.js +4 -4
  98. package/dist/bundled/v3/components/or-notification-v3/index.js +4 -4
  99. package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -4
  100. package/dist/bundled/v3/components/or-pagination-v3/index.js +5 -5
  101. package/dist/bundled/v3/components/or-progress-v3/index.js +1 -1
  102. package/dist/bundled/v3/components/or-progress-v3/styles.d.ts +1 -1
  103. package/dist/bundled/v3/components/or-search-v3/index.js +10 -8
  104. package/dist/bundled/v3/components/or-select-v3/index.js +11 -9
  105. package/dist/bundled/v3/components/or-sidebar-v3/index.js +1 -1
  106. package/dist/bundled/v3/components/or-tabs-v3/index.js +3 -3
  107. package/dist/bundled/v3/components/or-tag-v3/index.js +4 -4
  108. package/dist/bundled/v3/components/or-textarea-v3/index.js +3 -3
  109. package/dist/bundled/v3/components/or-toast-v3/index.js +5 -5
  110. package/dist/bundled/v3/components/or-tooltip-v3/index.js +1 -1
  111. package/dist/bundled/v3/index.js +51 -73
  112. package/dist/bundled/v3/{types-f95c218d.js → types-22fbf9d6.js} +2 -2
  113. package/dist/esm/v2/{OrButton-18f4431c.js → OrButton-66964360.js} +3 -3
  114. package/dist/esm/v2/{OrCardCollection-0caaf650.js → OrCardCollection-079828a4.js} +5 -5
  115. package/dist/esm/v2/{OrConfirm-5e46d529.js → OrConfirm-7dc26526.js} +2 -2
  116. package/dist/esm/v2/{OrEmptyState-ab1a044d.js → OrEmptyState-2481f13f.js} +2 -2
  117. package/dist/esm/v2/{OrErrorTag-57140070.js → OrErrorTag-80f82cdf.js} +1 -1
  118. package/dist/esm/v2/{OrIconButton-14d80983.js → OrIconButton-04a3566d.js} +1 -1
  119. package/dist/esm/v2/{OrInlineInput-2746837c.js → OrInlineInput-b85b84b4.js} +1 -1
  120. package/dist/esm/v2/{OrInlineTextarea-3af829c7.js → OrInlineTextarea-afd33047.js} +1 -1
  121. package/dist/esm/v2/{OrInput-53bbe1da.js → OrInput-3d8c8925.js} +29 -12
  122. package/dist/esm/v2/{OrInputBox-9ceb9fc4.js → OrInputBox-53d1f66d.js} +3 -3
  123. package/dist/esm/v2/{OrMenu-943e7760.js → OrMenu-c276db74.js} +15 -10
  124. package/dist/esm/v2/{OrModal-e638986d.js → OrModal-4e79e0d5.js} +1 -1
  125. package/dist/esm/v2/{OrNotification-19c82a07.js → OrNotification-eac3867f.js} +1 -1
  126. package/dist/esm/v2/{OrPagination-93d78a0d.js → OrPagination-1adbcadb.js} +24 -61
  127. package/dist/esm/v2/{OrProgress-9fc95bd7.js → OrProgress-b7d1c689.js} +3 -3
  128. package/dist/esm/v2/{OrSearch-f56d6d2a.js → OrSearch-f9b7e168.js} +3 -4
  129. package/dist/esm/v2/{OrSelect-77df77b0.js → OrSelect-bdb9a78a.js} +3 -3
  130. package/dist/esm/v2/{OrSidebar-7c89f46c.js → OrSidebar-fabc7bc9.js} +3 -3
  131. package/dist/esm/v2/{OrTabs-398348a5.js → OrTabs-96b0473d.js} +1 -1
  132. package/dist/esm/v2/{OrTag-4a6cad6e.js → OrTag-b2906865.js} +2 -2
  133. package/dist/esm/v2/{OrTextarea-a5a3572b.js → OrTextarea-373d0554.js} +1 -1
  134. package/dist/esm/v2/{OrTooltip-233c67b9.js → OrTooltip-629d44fc.js} +1 -3
  135. package/dist/esm/v2/components/index.js +24 -24
  136. package/dist/esm/v2/components/or-button-v3/index.js +1 -1
  137. package/dist/esm/v2/components/or-card-collection-v3/index.js +8 -8
  138. package/dist/esm/v2/components/or-confirm-v3/index.js +7 -7
  139. package/dist/esm/v2/components/or-empty-state-v3/index.js +1 -1
  140. package/dist/esm/v2/components/or-error-tag-v3/index.js +1 -1
  141. package/dist/esm/v2/components/or-icon-button-v3/index.js +2 -2
  142. package/dist/esm/v2/components/or-inline-input-v3/index.js +3 -3
  143. package/dist/esm/v2/components/or-inline-textarea-v3/index.js +3 -3
  144. package/dist/esm/v2/components/or-input-box-v3/index.js +1 -1
  145. package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +13 -0
  146. package/dist/esm/v2/components/or-input-v3/index.js +6 -5
  147. package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -0
  148. package/dist/esm/v2/components/or-menu-v3/index.js +1 -1
  149. package/dist/esm/v2/components/or-menu-v3/styles.d.ts +1 -0
  150. package/dist/esm/v2/components/or-modal-v3/index.js +3 -3
  151. package/dist/esm/v2/components/or-notification-v3/index.js +3 -3
  152. package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -4
  153. package/dist/esm/v2/components/or-pagination-v3/index.js +5 -5
  154. package/dist/esm/v2/components/or-progress-v3/index.js +1 -1
  155. package/dist/esm/v2/components/or-progress-v3/styles.d.ts +1 -1
  156. package/dist/esm/v2/components/or-search-v3/index.js +7 -6
  157. package/dist/esm/v2/components/or-select-v3/index.js +8 -7
  158. package/dist/esm/v2/components/or-sidebar-v3/index.js +1 -1
  159. package/dist/esm/v2/components/or-tabs-v3/index.js +2 -2
  160. package/dist/esm/v2/components/or-tag-v3/index.js +3 -3
  161. package/dist/esm/v2/components/or-textarea-v3/index.js +2 -2
  162. package/dist/esm/v2/components/or-toast-v3/index.js +3 -3
  163. package/dist/esm/v2/components/or-tooltip-v3/index.js +1 -1
  164. package/dist/esm/v2/index.js +23 -23
  165. package/dist/esm/v2/{types-34f2e287.js → types-1f95d710.js} +1 -1
  166. package/dist/esm/v3/{OrButton-55dd2ad9.js → OrButton-c56998e7.js} +3 -3
  167. package/dist/esm/v3/{OrCardCollection-524c0df2.js → OrCardCollection-c3a7cc7a.js} +5 -5
  168. package/dist/esm/v3/{OrConfirm-98380cbd.js → OrConfirm-403896ca.js} +2 -2
  169. package/dist/esm/v3/{OrEmptyState-cd3a4026.js → OrEmptyState-bb8e3145.js} +2 -2
  170. package/dist/esm/v3/{OrErrorTag-f114e88b.js → OrErrorTag-308119de.js} +1 -1
  171. package/dist/esm/v3/{OrIconButton-3920ba54.js → OrIconButton-2dcfb83e.js} +1 -1
  172. package/dist/esm/v3/{OrInlineInput-86e4383b.js → OrInlineInput-fbc35f85.js} +1 -1
  173. package/dist/esm/v3/{OrInlineTextarea-10826fa6.js → OrInlineTextarea-79da8697.js} +1 -1
  174. package/dist/esm/v3/{OrInput-076efcde.js → OrInput-71075f51.js} +28 -8
  175. package/dist/esm/v3/{OrInputBox-e16ade90.js → OrInputBox-2467d7e4.js} +3 -3
  176. package/dist/esm/v3/{OrMenu-fd2fe1e7.js → OrMenu-7f3ea117.js} +17 -13
  177. package/dist/esm/v3/{OrModal-87eaff65.js → OrModal-4219a6dc.js} +1 -1
  178. package/dist/esm/v3/{OrNotification-7aab5f58.js → OrNotification-0e682c7f.js} +1 -1
  179. package/dist/esm/v3/{OrPagination-781c119e.js → OrPagination-da9e5017.js} +26 -64
  180. package/dist/esm/v3/{OrProgress-4856808a.js → OrProgress-639ed5e8.js} +3 -3
  181. package/dist/esm/v3/{OrSearch-ebd3d4b4.js → OrSearch-21ac89f3.js} +3 -4
  182. package/dist/esm/v3/{OrSelect-47f7bd92.js → OrSelect-c64eda46.js} +3 -3
  183. package/dist/esm/v3/{OrSidebar-5d97c7cc.js → OrSidebar-a62972f5.js} +3 -3
  184. package/dist/esm/v3/{OrTabs-34c67377.js → OrTabs-328d41b9.js} +1 -1
  185. package/dist/esm/v3/{OrTag-c5c305ed.js → OrTag-148ff9ae.js} +2 -2
  186. package/dist/esm/v3/{OrTextarea-37566985.js → OrTextarea-42d21f77.js} +1 -1
  187. package/dist/esm/v3/{OrTooltip-229c90d5.js → OrTooltip-b07616f4.js} +1 -3
  188. package/dist/esm/v3/components/index.js +24 -24
  189. package/dist/esm/v3/components/or-button-v3/index.js +1 -1
  190. package/dist/esm/v3/components/or-card-collection-v3/index.js +8 -8
  191. package/dist/esm/v3/components/or-confirm-v3/index.js +7 -7
  192. package/dist/esm/v3/components/or-empty-state-v3/index.js +1 -1
  193. package/dist/esm/v3/components/or-error-tag-v3/index.js +1 -1
  194. package/dist/esm/v3/components/or-icon-button-v3/index.js +2 -2
  195. package/dist/esm/v3/components/or-inline-input-v3/index.js +3 -3
  196. package/dist/esm/v3/components/or-inline-textarea-v3/index.js +3 -3
  197. package/dist/esm/v3/components/or-input-box-v3/index.js +1 -1
  198. package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +13 -0
  199. package/dist/esm/v3/components/or-input-v3/index.js +6 -5
  200. package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -0
  201. package/dist/esm/v3/components/or-menu-v3/index.js +1 -1
  202. package/dist/esm/v3/components/or-menu-v3/styles.d.ts +1 -0
  203. package/dist/esm/v3/components/or-modal-v3/index.js +3 -3
  204. package/dist/esm/v3/components/or-notification-v3/index.js +3 -3
  205. package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -4
  206. package/dist/esm/v3/components/or-pagination-v3/index.js +5 -5
  207. package/dist/esm/v3/components/or-progress-v3/index.js +1 -1
  208. package/dist/esm/v3/components/or-progress-v3/styles.d.ts +1 -1
  209. package/dist/esm/v3/components/or-search-v3/index.js +7 -6
  210. package/dist/esm/v3/components/or-select-v3/index.js +8 -7
  211. package/dist/esm/v3/components/or-sidebar-v3/index.js +1 -1
  212. package/dist/esm/v3/components/or-tabs-v3/index.js +2 -2
  213. package/dist/esm/v3/components/or-tag-v3/index.js +3 -3
  214. package/dist/esm/v3/components/or-textarea-v3/index.js +2 -2
  215. package/dist/esm/v3/components/or-toast-v3/index.js +3 -3
  216. package/dist/esm/v3/components/or-tooltip-v3/index.js +1 -1
  217. package/dist/esm/v3/index.js +23 -23
  218. package/dist/esm/v3/{types-225f772b.js → types-b79e4387.js} +1 -1
  219. package/package.json +1 -1
  220. package/src/components/or-button-v3/styles.ts +3 -3
  221. package/src/components/or-empty-state-v3/styles.ts +2 -2
  222. package/src/components/or-error-tag-v3/styles.ts +1 -1
  223. package/src/components/or-input-box-v3/styles.ts +3 -6
  224. package/src/components/or-input-v3/OrInput.stories3.ts +4 -0
  225. package/src/components/or-input-v3/OrInput.vue +39 -19
  226. package/src/components/or-menu-v3/OrMenu.vue +26 -22
  227. package/src/components/or-menu-v3/styles.ts +5 -0
  228. package/src/components/or-pagination-v3/OrPagination.vue +42 -86
  229. package/src/components/or-pagination-v3/styles.ts +1 -1
  230. package/src/components/or-progress-v3/styles.ts +4 -4
  231. package/src/components/or-search-v3/OrSearch.vue +1 -2
  232. package/src/components/or-sidebar-v3/styles.ts +3 -3
  233. package/src/components/or-tag-v3/OrTag.stories3.ts +5 -5
  234. package/src/components/or-tag-v3/styles.ts +1 -1
  235. package/src/components/or-tooltip-v3/styles.ts +1 -4
@@ -14,35 +14,31 @@
14
14
  <OrIcon :icon="'keyboard_arrow_left'" />
15
15
  </OrButton>
16
16
 
17
- <template v-if="isDesktop">
18
- <OrButton
19
- v-for="(page, index) in buttonGroup"
20
- :key="index"
21
- :class="itemStyles"
22
- :variant="'link'"
23
- :color="'inherit'"
24
- :activated="currentPage === page"
25
- @click.stop="typeof page === 'number' && toPage(page)"
26
- >
27
- {{ page }}
28
- </OrButton>
29
-
30
- <OrButton
31
- :class="itemStyles"
32
- :variant="'link'"
33
- :color="'inherit'"
34
- :disabled="currentPage === lastPage"
35
- @click.stop="toNextPage()"
36
- >
37
- <OrIcon :icon="'keyboard_arrow_right'" />
38
- </OrButton>
39
- </template>
17
+ <OrButton
18
+ v-for="(page, index) in buttonGroup"
19
+ :key="index"
20
+ :class="itemStyles"
21
+ :variant="'link'"
22
+ :color="'inherit'"
23
+ :activated="currentPage === page"
24
+ @click.stop="typeof page === 'number' && toPage(page)"
25
+ >
26
+ {{ page }}
27
+ </OrButton>
28
+
29
+ <OrButton
30
+ :class="itemStyles"
31
+ :variant="'link'"
32
+ :color="'inherit'"
33
+ :disabled="currentPage === lastPage"
34
+ @click.stop="toNextPage()"
35
+ >
36
+ <OrIcon :icon="'keyboard_arrow_right'" />
37
+ </OrButton>
40
38
  </div>
41
39
 
42
40
  <div :class="limitControlStyles">
43
- <template v-if="isDesktop">
44
- Per page:
45
- </template>
41
+ Per page:
46
42
 
47
43
  <OrButton
48
44
  ref="limitButton"
@@ -52,44 +48,28 @@
52
48
  :activated="true"
53
49
  @click.stop="limitMenu.open()"
54
50
  >
55
- {{ currentLimit }} <OrIcon :icon="limitMenu && limitMenu.isOpen ? 'arrow_drop_up' : 'arrow_drop_down'" />
51
+ {{ currentLimit }} <OrIcon :icon="'arrow_drop_down'" />
56
52
  </OrButton>
57
53
 
58
54
  <OrMenu
59
55
  ref="limitMenu"
60
- :class="['min-w-[60px]']"
61
56
  :trigger="limitButtonRoot"
62
57
  :placement="'top'"
63
58
  >
64
59
  <OrMenuItem
65
60
  v-for="pageSize in pageSizeOptions"
66
61
  :key="pageSize"
67
- @click.stop="currentLimit = pageSize; limitMenu.close()"
62
+ @click.stop="currentLimit = pageSize"
68
63
  >
69
64
  {{ pageSize }}
70
65
  </OrMenuItem>
71
66
  </OrMenu>
72
67
  </div>
73
-
74
- <template v-if="isMobile">
75
- <div :class="offsetControlStyles">
76
- <OrButton
77
- :class="itemStyles"
78
- :variant="'link'"
79
- :color="'inherit'"
80
- :disabled="currentPage === lastPage"
81
- @click.stop="toNextPage()"
82
- >
83
- <OrIcon :icon="'keyboard_arrow_right'" />
84
- </OrButton>
85
- </div>
86
- </template>
87
68
  </div>
88
69
  </template>
89
70
 
90
71
  <script lang="ts">
91
72
  import { computed, defineComponent, PropType, ref } from 'vue-demi';
92
- import { useResponsive } from '../../hooks';
93
73
  import { OrButtonV3 as OrButton } from '../or-button-v3';
94
74
  import { OrIconV3 as OrIcon } from '../or-icon-v3';
95
75
  import { OrMenuItemV3 as OrMenuItem } from '../or-menu-item-v3';
@@ -138,8 +118,6 @@ export default defineComponent({
138
118
  ],
139
119
 
140
120
  setup(props, context) {
141
- const { isDesktop, isMobile } = useResponsive();
142
-
143
121
  // Refs
144
122
  const root = ref<HTMLElement>();
145
123
 
@@ -215,43 +193,24 @@ export default defineComponent({
215
193
  });
216
194
 
217
195
  const buttonGroup = computed<(number | string)[]>(() => {
218
- const pages = Array.from({ length: lastPage.value }, (_, index) => index + 1);
219
-
220
- switch (true) {
221
- case currentPage.value < firstPage.value + 4:
222
- return [
223
- ...pages.slice(0, 5),
224
- '…',
225
- lastPage.value,
226
- ];
227
-
228
- case currentPage.value > lastPage.value - 4:
229
- return [
230
- firstPage.value,
231
- '…',
232
- ...pages.slice(-5),
233
- ];
234
-
235
- default:
236
- return pages
237
- .map((page) => {
238
- switch (true) {
239
- case page > firstPage.value && page < currentPage.value - 1:
240
- case page < lastPage.value && page > currentPage.value + 1:
241
- return '…';
242
-
243
- default:
244
- return page;
245
- }
246
- })
247
- .reduce((accumulator, page) => {
248
- if (accumulator[accumulator.length - 1] === page) {
249
- return accumulator;
250
- }
251
-
252
- return [...accumulator, page];
253
- }, [] as (number | string)[]);
254
- }
196
+ return Array.from({ length: lastPage.value }, (_, index) => index + 1)
197
+ .map((page) => {
198
+ switch (true) {
199
+ case page > firstPage.value && page < currentPage.value - 1:
200
+ case page > currentPage.value + 1 && page < lastPage.value:
201
+ return '…';
202
+
203
+ default:
204
+ return page;
205
+ }
206
+ })
207
+ .reduce((accumulator, page) => {
208
+ if (accumulator[accumulator.length - 1] === page) {
209
+ return accumulator;
210
+ }
211
+
212
+ return [...accumulator, page];
213
+ }, [] as (number | string)[]);
255
214
  });
256
215
 
257
216
  // Methods
@@ -268,9 +227,6 @@ export default defineComponent({
268
227
  }
269
228
 
270
229
  return {
271
- isDesktop,
272
- isMobile,
273
-
274
230
  root,
275
231
  limitButton,
276
232
  limitButtonRoot,
@@ -3,7 +3,7 @@ export const PaginationRoot: string[] = [
3
3
  'layout-row',
4
4
 
5
5
  // Spacing
6
- 'gap-lg md:gap-xl',
6
+ 'gap-xl',
7
7
 
8
8
  // Typography
9
9
  'typography-caption-regular',
@@ -1,4 +1,4 @@
1
- import { ProgressColor, ProgressType } from './props';
1
+ import { ProgressType, ProgressColor } from './props';
2
2
 
3
3
  export const ProgressRoot: string[] = [
4
4
  // Typography
@@ -31,7 +31,7 @@ export const ProgressHeader: string[] = [
31
31
  'flex',
32
32
  'flex-row',
33
33
 
34
- // Spacing
34
+ // Sizing
35
35
  'mb-[6px]',
36
36
  ];
37
37
 
@@ -45,7 +45,7 @@ export const ProgressHeaderLabel: string[] = [
45
45
  ];
46
46
 
47
47
  export const ProgressHeaderPercent: string[] = [
48
- // Spacing
48
+ // Sizing
49
49
  'ml-auto',
50
50
  ];
51
51
 
@@ -102,6 +102,6 @@ export const ProgressBarColors: Record<Exclude<ProgressColor, ProgressColor.Auto
102
102
  };
103
103
 
104
104
  export const ProgressFooter: string[] = [
105
- // Spacing
105
+ // Sizing
106
106
  'mt-[2px]',
107
107
  ];
@@ -94,13 +94,12 @@ export default defineComponent({
94
94
  // Events
95
95
  debouncedWatch(
96
96
  localModelValue,
97
- () => localModelValue.value.length > 0 && context.emit('search', localModelValue.value),
97
+ () => context.emit('search', localModelValue.value),
98
98
  { debounce: props.debounce },
99
99
  );
100
100
 
101
101
  watch(localModelValue, (val, beforeVal) => {
102
102
  if (val.length === 0 && beforeVal.length > 0) {
103
- context.emit('search');
104
103
  context.emit('clear');
105
104
  }
106
105
  });
@@ -92,7 +92,7 @@ export const SidebarMain: string[] = [
92
92
  ];
93
93
 
94
94
  export const SidebarHeader: string[] = [
95
- // Spacing
95
+ // Sizing
96
96
  'p-md',
97
97
  ];
98
98
 
@@ -101,12 +101,12 @@ export const SidebarContent: string[] = [
101
101
  'grow',
102
102
  'overflow-auto',
103
103
 
104
- // Spacing
104
+ // Sizing
105
105
  'p-md',
106
106
  ];
107
107
 
108
108
  export const SidebarFooter: string[] = [
109
- // Spacing
109
+ // Sizing
110
110
  'p-md',
111
111
 
112
112
  // Borders
@@ -1,13 +1,13 @@
1
1
  import { action } from '@storybook/addon-actions';
2
2
  import { Meta, StoryFn } from '@storybook/vue3';
3
3
  import Faker from 'faker';
4
- import { ref } from 'vue-demi';
5
- import { useOverflow } from '../../hooks';
6
- import { OrButtonV3 as OrButton } from '../or-button-v3';
7
- import { OrPopoverV3 as OrPopover } from '../or-popover-v3';
8
4
  import OrTagDocs from './OrTag.docs.mdx';
9
5
  import OrTag from './OrTag.vue';
10
6
  import { TagColor, TagVariant } from './props';
7
+ import { OrButtonV3 as OrButton } from '../or-button-v3';
8
+ import { OrPopoverV3 as OrPopover } from '../or-popover-v3';
9
+ import { useOverflow } from '../../hooks';
10
+ import { ref } from 'vue-demi';
11
11
 
12
12
  export default {
13
13
  title: 'Components/Tag',
@@ -77,7 +77,7 @@ const Template: StoryFn<typeof OrTag> = (args) => ({
77
77
  @blur="handleBlur"
78
78
  @reset="handleReset"
79
79
  >
80
- ${args.default}
80
+ ${args.default}
81
81
  </OrTag>
82
82
  `,
83
83
  });
@@ -5,7 +5,7 @@ export const TagRoot: string[] = [
5
5
  'layout-inline-row',
6
6
 
7
7
  // Box
8
- 'max-w-min',
8
+ 'max-w-fit',
9
9
 
10
10
  // Shape
11
11
  'rounded-full',
@@ -2,16 +2,13 @@ import { TooltipPlacement } from './props';
2
2
 
3
3
  export const TooltipRoot: string[] = [
4
4
  // Layout
5
- 'inline-block',
5
+ 'layout-inline-row justify-center',
6
6
  ];
7
7
 
8
8
  export const TooltipBody: string[] = [
9
9
  // Layout
10
10
  'layout-inline-row',
11
11
 
12
- // Box
13
- 'max-w-min',
14
-
15
12
  // Shape
16
13
  'rounded-sm',
17
14