@onereach/ui-components 2.72.2-beta.2272.0 → 2.72.2-beta.2274.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 (264) hide show
  1. package/dist/bundled/v2/{OrButton-4862b98b.js → OrButton-d45772c1.js} +3 -3
  2. package/dist/bundled/v2/{OrCardCollection-55fd8cf6.js → OrCardCollection-4ac89ea5.js} +4 -4
  3. package/dist/bundled/v2/{OrConfirm-10e4fe6a.js → OrConfirm-8c0e957d.js} +2 -2
  4. package/dist/bundled/v2/{OrEmptyState-8a7feb99.js → OrEmptyState-9fb413f9.js} +2 -2
  5. package/dist/bundled/v2/{OrErrorTag-175a2c4f.js → OrErrorTag-97a9112b.js} +2 -0
  6. package/dist/bundled/v2/{OrIconButton-088ac8ec.js → OrIconButton-837d57f8.js} +1 -1
  7. package/dist/bundled/v2/{OrInlineInput-f2bd6b5c.js → OrInlineInput-57fccb41.js} +1 -1
  8. package/dist/bundled/v2/{OrInlineTextarea-813d4193.js → OrInlineTextarea-f8b86cf7.js} +1 -1
  9. package/dist/bundled/v2/{OrInput-9253f834.js → OrInput-00070eee.js} +1 -1
  10. package/dist/bundled/v2/{OrMenu-6ab53877.js → OrMenu-52da43bc.js} +15 -10
  11. package/dist/bundled/v2/{OrModal-d08fb037.js → OrModal-78f5d49e.js} +1 -1
  12. package/dist/bundled/v2/{OrNotification-bd008b65.js → OrNotification-458fe937.js} +1 -1
  13. package/dist/bundled/v2/{OrPagination-9bf3d797.js → OrPagination-daf25de2.js} +24 -60
  14. package/dist/bundled/v2/{OrProgress-5cf0a7e7.js → OrProgress-15fe65ec.js} +3 -3
  15. package/dist/bundled/v2/{OrSearch-a975639b.js → OrSearch-09fd004c.js} +1 -1
  16. package/dist/bundled/v2/{OrSelect-d3b5780a.js → OrSelect-2ececfc1.js} +2 -2
  17. package/dist/bundled/v2/{OrSidebar-b1442193.js → OrSidebar-a2bc21b9.js} +158 -37
  18. package/dist/bundled/v2/OrSidebarCollapseButton-8297ef86.js +125 -0
  19. package/dist/bundled/v2/{OrTabs-517e2f25.js → OrTabs-d69780fc.js} +1 -1
  20. package/dist/bundled/v2/{OrTag-2903c38e.js → OrTag-4085e8a7.js} +3 -1
  21. package/dist/bundled/v2/{OrTooltip-0c73d25d.js → OrTooltip-b1f38647.js} +1 -1
  22. package/dist/bundled/v2/components/index.js +22 -21
  23. package/dist/bundled/v2/components/or-button-v3/index.js +1 -1
  24. package/dist/bundled/v2/components/or-card-collection-v3/index.js +7 -7
  25. package/dist/bundled/v2/components/or-confirm-v3/index.js +5 -5
  26. package/dist/bundled/v2/components/or-empty-state-v3/index.js +1 -1
  27. package/dist/bundled/v2/components/or-error-tag-v3/index.js +1 -1
  28. package/dist/bundled/v2/components/or-icon-button-v3/index.js +2 -2
  29. package/dist/bundled/v2/components/or-inline-input-v3/index.js +3 -3
  30. package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +3 -3
  31. package/dist/bundled/v2/components/or-input-v3/index.js +3 -3
  32. package/dist/bundled/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -0
  33. package/dist/bundled/v2/components/or-menu-v3/index.js +1 -1
  34. package/dist/bundled/v2/components/or-menu-v3/styles.d.ts +1 -0
  35. package/dist/bundled/v2/components/or-modal-v3/index.js +3 -3
  36. package/dist/bundled/v2/components/or-notification-v3/index.js +3 -3
  37. package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -4
  38. package/dist/bundled/v2/components/or-pagination-v3/index.js +3 -3
  39. package/dist/bundled/v2/components/or-progress-v3/index.js +1 -1
  40. package/dist/bundled/v2/components/or-progress-v3/styles.d.ts +1 -1
  41. package/dist/bundled/v2/components/or-search-v3/index.js +4 -4
  42. package/dist/bundled/v2/components/or-select-v3/index.js +5 -5
  43. package/dist/bundled/v2/components/or-sidebar-v3/OrSidebar.stories3.d.ts +36 -1
  44. package/dist/bundled/v2/components/or-sidebar-v3/OrSidebar.vue.d.ts +49 -4
  45. package/dist/bundled/v2/components/or-sidebar-v3/index.js +13 -1
  46. package/dist/bundled/v2/components/or-sidebar-v3/partials/index.d.ts +1 -0
  47. package/dist/bundled/v2/components/or-sidebar-v3/partials/index.js +18 -0
  48. package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.stories3.d.ts +12 -0
  49. package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +53 -0
  50. package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +1 -0
  51. package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +18 -0
  52. package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +2 -0
  53. package/dist/bundled/v2/components/or-sidebar-v3/styles.d.ts +7 -1
  54. package/dist/bundled/v2/components/or-tabs-v3/index.js +2 -2
  55. package/dist/bundled/v2/components/or-tag-v3/index.js +3 -3
  56. package/dist/bundled/v2/components/or-toast-v3/index.js +3 -3
  57. package/dist/bundled/v2/components/or-tooltip-v3/index.js +1 -1
  58. package/dist/bundled/v2/index.js +23 -22
  59. package/dist/bundled/v2/{types-d6c9284d.js → types-309b7b94.js} +1 -1
  60. package/dist/bundled/v3/{OrButton-05766523.js → OrButton-a1448bfa.js} +1 -1
  61. package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-b53e78f5.js → OrButton.vue_vue_type_script_lang-3b1e442b.js} +3 -3
  62. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-40a5aa15.js → OrCardCollection.vue_vue_type_script_lang-f76c3264.js} +7 -7
  63. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-53503801.js → OrConfirm.vue_vue_type_script_lang-eb2bfce2.js} +4 -4
  64. package/dist/bundled/v3/{OrEmptyState.vue_vue_type_script_lang-8e58c67c.js → OrEmptyState.vue_vue_type_script_lang-da7d6c42.js} +2 -2
  65. package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-fa28d642.js → OrErrorTag.vue_vue_type_script_lang-e2fe7ca9.js} +2 -0
  66. package/dist/bundled/v3/{OrIconButton-72d4d349.js → OrIconButton-e0566ecf.js} +1 -1
  67. package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-28452eda.js → OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js} +1 -1
  68. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-96aef83e.js → OrInlineInput.vue_vue_type_script_lang-49ce3308.js} +2 -2
  69. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-8be03a08.js → OrInlineTextarea.vue_vue_type_script_lang-8fd761d7.js} +2 -2
  70. package/dist/bundled/v3/{OrInput-6f6c700a.js → OrInput-dcf2606e.js} +1 -1
  71. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-115050fc.js → OrInput.vue_vue_type_script_lang-27220623.js} +2 -2
  72. package/dist/bundled/v3/{OrMenu-bb432db5.js → OrMenu-6d7abe97.js} +10 -9
  73. package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-5a492eb3.js → OrMenu.vue_vue_type_script_lang-df35fd76.js} +8 -5
  74. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-230bc99d.js → OrModal.vue_vue_type_script_lang-6b1dc231.js} +2 -2
  75. package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-d9b2b5bf.js → OrNotification.vue_vue_type_script_lang-d0afc1d7.js} +2 -2
  76. package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-bdb0acc8.js → OrPagination.vue_vue_type_script_lang-f64827ef.js} +20 -35
  77. package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-17095060.js → OrProgress.vue_vue_type_script_lang-52f660d6.js} +3 -3
  78. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-5c683c38.js → OrSearch.vue_vue_type_script_lang-c054c8db.js} +2 -2
  79. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-84902694.js → OrSelect.vue_vue_type_script_lang-7fd5e2f0.js} +3 -3
  80. package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-7f3f1a16.js +291 -0
  81. package/dist/bundled/v3/OrSidebarCollapseButton.vue_vue_type_script_lang-9aeba2d4.js +75 -0
  82. package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-ae519161.js → OrTabs.vue_vue_type_script_lang-cb550e87.js} +2 -2
  83. package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-33767daa.js → OrTag.vue_vue_type_script_lang-a25a49ee.js} +4 -2
  84. package/dist/bundled/v3/{OrToastContainer-2247bc2a.js → OrToastContainer-6fe12712.js} +1 -1
  85. package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-250ecf1d.js → OrTooltip.vue_vue_type_script_lang-bf9935ef.js} +1 -1
  86. package/dist/bundled/v3/components/index.js +26 -25
  87. package/dist/bundled/v3/components/or-button-v3/index.js +1 -1
  88. package/dist/bundled/v3/components/or-card-collection-v3/index.js +11 -11
  89. package/dist/bundled/v3/components/or-confirm-v3/index.js +8 -8
  90. package/dist/bundled/v3/components/or-empty-state-v3/index.js +1 -1
  91. package/dist/bundled/v3/components/or-error-tag-v3/index.js +1 -1
  92. package/dist/bundled/v3/components/or-icon-button-v3/index.js +2 -2
  93. package/dist/bundled/v3/components/or-inline-input-v3/index.js +4 -4
  94. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +4 -4
  95. package/dist/bundled/v3/components/or-input-v3/index.js +4 -4
  96. package/dist/bundled/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -0
  97. package/dist/bundled/v3/components/or-menu-v3/index.js +1 -1
  98. package/dist/bundled/v3/components/or-menu-v3/styles.d.ts +1 -0
  99. package/dist/bundled/v3/components/or-modal-v3/index.js +4 -4
  100. package/dist/bundled/v3/components/or-notification-v3/index.js +4 -4
  101. package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -4
  102. package/dist/bundled/v3/components/or-pagination-v3/index.js +5 -5
  103. package/dist/bundled/v3/components/or-progress-v3/index.js +1 -1
  104. package/dist/bundled/v3/components/or-progress-v3/styles.d.ts +1 -1
  105. package/dist/bundled/v3/components/or-search-v3/index.js +6 -6
  106. package/dist/bundled/v3/components/or-select-v3/index.js +7 -7
  107. package/dist/bundled/v3/components/or-sidebar-v3/OrSidebar.stories3.d.ts +36 -1
  108. package/dist/bundled/v3/components/or-sidebar-v3/OrSidebar.vue.d.ts +49 -4
  109. package/dist/bundled/v3/components/or-sidebar-v3/index.js +16 -2
  110. package/dist/bundled/v3/components/or-sidebar-v3/partials/index.d.ts +1 -0
  111. package/dist/bundled/v3/components/or-sidebar-v3/partials/index.js +17 -0
  112. package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.stories3.d.ts +12 -0
  113. package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +53 -0
  114. package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +1 -0
  115. package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +17 -0
  116. package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +2 -0
  117. package/dist/bundled/v3/components/or-sidebar-v3/styles.d.ts +7 -1
  118. package/dist/bundled/v3/components/or-tabs-v3/index.js +3 -3
  119. package/dist/bundled/v3/components/or-tag-v3/index.js +4 -4
  120. package/dist/bundled/v3/components/or-toast-v3/index.js +5 -5
  121. package/dist/bundled/v3/components/or-tooltip-v3/index.js +1 -1
  122. package/dist/bundled/v3/index.js +70 -75
  123. package/dist/bundled/v3/{types-e10af3b0.js → types-22fbf9d6.js} +2 -2
  124. package/dist/esm/v2/{OrButton-18f4431c.js → OrButton-66964360.js} +3 -3
  125. package/dist/esm/v2/{OrCardCollection-322733bc.js → OrCardCollection-5a9eda35.js} +4 -4
  126. package/dist/esm/v2/{OrConfirm-61edc9a5.js → OrConfirm-9dbdedd7.js} +2 -2
  127. package/dist/esm/v2/{OrEmptyState-ab1a044d.js → OrEmptyState-2481f13f.js} +2 -2
  128. package/dist/esm/v2/{OrErrorTag-5346825b.js → OrErrorTag-80f82cdf.js} +2 -0
  129. package/dist/esm/v2/{OrIconButton-a648b35b.js → OrIconButton-04a3566d.js} +1 -1
  130. package/dist/esm/v2/{OrInlineInput-32c724b2.js → OrInlineInput-b85b84b4.js} +1 -1
  131. package/dist/esm/v2/{OrInlineTextarea-a7d1b655.js → OrInlineTextarea-afd33047.js} +1 -1
  132. package/dist/esm/v2/{OrInput-1510deaa.js → OrInput-59a15d80.js} +1 -1
  133. package/dist/esm/v2/{OrMenu-943e7760.js → OrMenu-c276db74.js} +15 -10
  134. package/dist/esm/v2/{OrModal-7b024663.js → OrModal-4e79e0d5.js} +1 -1
  135. package/dist/esm/v2/{OrNotification-4976dc40.js → OrNotification-eac3867f.js} +1 -1
  136. package/dist/esm/v2/{OrPagination-93d78a0d.js → OrPagination-1adbcadb.js} +24 -61
  137. package/dist/esm/v2/{OrProgress-9fc95bd7.js → OrProgress-b7d1c689.js} +3 -3
  138. package/dist/esm/v2/{OrSearch-37fac6da.js → OrSearch-7411388b.js} +1 -1
  139. package/dist/esm/v2/{OrSelect-45eb62ae.js → OrSelect-e31d1c8b.js} +2 -2
  140. package/dist/esm/v2/{OrSidebar-7c89f46c.js → OrSidebar-27236fbd.js} +158 -37
  141. package/dist/esm/v2/OrSidebarCollapseButton-cfe51a60.js +123 -0
  142. package/dist/esm/v2/{OrTabs-398348a5.js → OrTabs-96b0473d.js} +1 -1
  143. package/dist/esm/v2/{OrTag-a86928f2.js → OrTag-b2906865.js} +3 -1
  144. package/dist/esm/v2/{OrTooltip-4587b666.js → OrTooltip-629d44fc.js} +1 -1
  145. package/dist/esm/v2/components/index.js +22 -21
  146. package/dist/esm/v2/components/or-button-v3/index.js +1 -1
  147. package/dist/esm/v2/components/or-card-collection-v3/index.js +7 -7
  148. package/dist/esm/v2/components/or-confirm-v3/index.js +5 -5
  149. package/dist/esm/v2/components/or-empty-state-v3/index.js +1 -1
  150. package/dist/esm/v2/components/or-error-tag-v3/index.js +1 -1
  151. package/dist/esm/v2/components/or-icon-button-v3/index.js +2 -2
  152. package/dist/esm/v2/components/or-inline-input-v3/index.js +3 -3
  153. package/dist/esm/v2/components/or-inline-textarea-v3/index.js +3 -3
  154. package/dist/esm/v2/components/or-input-v3/index.js +3 -3
  155. package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -0
  156. package/dist/esm/v2/components/or-menu-v3/index.js +1 -1
  157. package/dist/esm/v2/components/or-menu-v3/styles.d.ts +1 -0
  158. package/dist/esm/v2/components/or-modal-v3/index.js +3 -3
  159. package/dist/esm/v2/components/or-notification-v3/index.js +3 -3
  160. package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -4
  161. package/dist/esm/v2/components/or-pagination-v3/index.js +5 -5
  162. package/dist/esm/v2/components/or-progress-v3/index.js +1 -1
  163. package/dist/esm/v2/components/or-progress-v3/styles.d.ts +1 -1
  164. package/dist/esm/v2/components/or-search-v3/index.js +4 -4
  165. package/dist/esm/v2/components/or-select-v3/index.js +5 -5
  166. package/dist/esm/v2/components/or-sidebar-v3/OrSidebar.stories3.d.ts +36 -1
  167. package/dist/esm/v2/components/or-sidebar-v3/OrSidebar.vue.d.ts +49 -4
  168. package/dist/esm/v2/components/or-sidebar-v3/index.js +13 -1
  169. package/dist/esm/v2/components/or-sidebar-v3/partials/index.d.ts +1 -0
  170. package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +16 -0
  171. package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.stories3.d.ts +12 -0
  172. package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +53 -0
  173. package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +1 -0
  174. package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +16 -0
  175. package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +2 -0
  176. package/dist/esm/v2/components/or-sidebar-v3/styles.d.ts +7 -1
  177. package/dist/esm/v2/components/or-tabs-v3/index.js +2 -2
  178. package/dist/esm/v2/components/or-tag-v3/index.js +3 -3
  179. package/dist/esm/v2/components/or-toast-v3/index.js +3 -3
  180. package/dist/esm/v2/components/or-tooltip-v3/index.js +1 -1
  181. package/dist/esm/v2/index.js +22 -21
  182. package/dist/esm/v2/{types-8c69b2c8.js → types-1f95d710.js} +1 -1
  183. package/dist/esm/v3/{OrButton-55dd2ad9.js → OrButton-c56998e7.js} +3 -3
  184. package/dist/esm/v3/{OrCardCollection-3a9ccb24.js → OrCardCollection-e4fde5b4.js} +4 -4
  185. package/dist/esm/v3/{OrConfirm-68068bd0.js → OrConfirm-37454a63.js} +2 -2
  186. package/dist/esm/v3/{OrEmptyState-cd3a4026.js → OrEmptyState-bb8e3145.js} +2 -2
  187. package/dist/esm/v3/{OrErrorTag-a3e6ef83.js → OrErrorTag-308119de.js} +2 -0
  188. package/dist/esm/v3/{OrIconButton-0047e3cd.js → OrIconButton-2dcfb83e.js} +1 -1
  189. package/dist/esm/v3/{OrInlineInput-6901da96.js → OrInlineInput-fbc35f85.js} +1 -1
  190. package/dist/esm/v3/{OrInlineTextarea-a618ec30.js → OrInlineTextarea-79da8697.js} +1 -1
  191. package/dist/esm/v3/{OrInput-27b9f02d.js → OrInput-bd054213.js} +1 -1
  192. package/dist/esm/v3/{OrMenu-fd2fe1e7.js → OrMenu-7f3ea117.js} +17 -13
  193. package/dist/esm/v3/{OrModal-70f2b811.js → OrModal-4219a6dc.js} +1 -1
  194. package/dist/esm/v3/{OrNotification-7173726b.js → OrNotification-0e682c7f.js} +1 -1
  195. package/dist/esm/v3/{OrPagination-781c119e.js → OrPagination-da9e5017.js} +26 -64
  196. package/dist/esm/v3/{OrProgress-4856808a.js → OrProgress-639ed5e8.js} +3 -3
  197. package/dist/esm/v3/{OrSearch-9e1efad2.js → OrSearch-5406bf03.js} +1 -1
  198. package/dist/esm/v3/{OrSelect-07834b65.js → OrSelect-466e50ca.js} +2 -2
  199. package/dist/esm/v3/OrSidebar-61d84c3e.js +313 -0
  200. package/dist/esm/v3/OrSidebarCollapseButton-1b9c83ef.js +94 -0
  201. package/dist/esm/v3/{OrTabs-34c67377.js → OrTabs-328d41b9.js} +1 -1
  202. package/dist/esm/v3/{OrTag-355e7a3e.js → OrTag-148ff9ae.js} +3 -1
  203. package/dist/esm/v3/{OrTooltip-4e670a38.js → OrTooltip-b07616f4.js} +1 -1
  204. package/dist/esm/v3/components/index.js +22 -21
  205. package/dist/esm/v3/components/or-button-v3/index.js +1 -1
  206. package/dist/esm/v3/components/or-card-collection-v3/index.js +7 -7
  207. package/dist/esm/v3/components/or-confirm-v3/index.js +5 -5
  208. package/dist/esm/v3/components/or-empty-state-v3/index.js +1 -1
  209. package/dist/esm/v3/components/or-error-tag-v3/index.js +1 -1
  210. package/dist/esm/v3/components/or-icon-button-v3/index.js +2 -2
  211. package/dist/esm/v3/components/or-inline-input-v3/index.js +3 -3
  212. package/dist/esm/v3/components/or-inline-textarea-v3/index.js +3 -3
  213. package/dist/esm/v3/components/or-input-v3/index.js +3 -3
  214. package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -0
  215. package/dist/esm/v3/components/or-menu-v3/index.js +1 -1
  216. package/dist/esm/v3/components/or-menu-v3/styles.d.ts +1 -0
  217. package/dist/esm/v3/components/or-modal-v3/index.js +3 -3
  218. package/dist/esm/v3/components/or-notification-v3/index.js +3 -3
  219. package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -4
  220. package/dist/esm/v3/components/or-pagination-v3/index.js +5 -5
  221. package/dist/esm/v3/components/or-progress-v3/index.js +1 -1
  222. package/dist/esm/v3/components/or-progress-v3/styles.d.ts +1 -1
  223. package/dist/esm/v3/components/or-search-v3/index.js +4 -4
  224. package/dist/esm/v3/components/or-select-v3/index.js +5 -5
  225. package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.stories3.d.ts +36 -1
  226. package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.vue.d.ts +49 -4
  227. package/dist/esm/v3/components/or-sidebar-v3/index.js +12 -1
  228. package/dist/esm/v3/components/or-sidebar-v3/partials/index.d.ts +1 -0
  229. package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +15 -0
  230. package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.stories3.d.ts +12 -0
  231. package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +53 -0
  232. package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +1 -0
  233. package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +15 -0
  234. package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +2 -0
  235. package/dist/esm/v3/components/or-sidebar-v3/styles.d.ts +7 -1
  236. package/dist/esm/v3/components/or-tabs-v3/index.js +2 -2
  237. package/dist/esm/v3/components/or-tag-v3/index.js +3 -3
  238. package/dist/esm/v3/components/or-toast-v3/index.js +3 -3
  239. package/dist/esm/v3/components/or-tooltip-v3/index.js +1 -1
  240. package/dist/esm/v3/index.js +22 -21
  241. package/dist/esm/v3/{types-c1956faf.js → types-b79e4387.js} +1 -1
  242. package/package.json +2 -2
  243. package/src/components/or-button-v3/styles.ts +3 -3
  244. package/src/components/or-empty-state-v3/styles.ts +2 -2
  245. package/src/components/or-error-tag-v3/styles.ts +3 -0
  246. package/src/components/or-menu-v3/OrMenu.vue +26 -22
  247. package/src/components/or-menu-v3/styles.ts +5 -0
  248. package/src/components/or-pagination-v3/OrPagination.vue +42 -86
  249. package/src/components/or-pagination-v3/styles.ts +1 -1
  250. package/src/components/or-progress-v3/styles.ts +4 -4
  251. package/src/components/or-sidebar-v3/OrSidebar.docs.mdx +6 -0
  252. package/src/components/or-sidebar-v3/OrSidebar.stories3.ts +253 -12
  253. package/src/components/or-sidebar-v3/OrSidebar.vue +130 -23
  254. package/src/components/or-sidebar-v3/partials/index.ts +1 -0
  255. package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.stories3.ts +48 -0
  256. package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue +79 -0
  257. package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.ts +1 -0
  258. package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.ts +50 -0
  259. package/src/components/or-sidebar-v3/styles.ts +117 -12
  260. package/src/components/or-tag-v3/OrTag.stories3.ts +5 -5
  261. package/src/components/or-tag-v3/styles.ts +3 -0
  262. package/src/components/or-tooltip-v3/styles.ts +1 -1
  263. package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-d298c2fa.js +0 -181
  264. package/dist/esm/v3/OrSidebar-5d97c7cc.js +0 -206
@@ -1,206 +0,0 @@
1
- import { useDraggable, useElementBounding } from '@vueuse/core';
2
- import _ from 'lodash';
3
- import { defineComponent, ref, computed, watch } from 'vue-demi';
4
- import { openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot, createCommentVNode } from 'vue';
5
-
6
- var OrSidebarPlacement;
7
- (function (OrSidebarPlacement) {
8
- OrSidebarPlacement["left"] = "left";
9
- OrSidebarPlacement["right"] = "right";
10
- })(OrSidebarPlacement || (OrSidebarPlacement = {}));
11
-
12
- const SidebarRoot = [
13
- // Position
14
- 'relative',
15
- // Layout
16
- 'flex', 'flex-col', 'shrink-0',
17
- // Box
18
- 'min-h-0', 'p-0'];
19
- const SidebarRootSides = {
20
- [OrSidebarPlacement.left]: [
21
- // Borders
22
- 'border-r-[1px]', 'border-r-solid', 'border-r-secondary dark:border-r-secondary-dark'],
23
- [OrSidebarPlacement.right]: [
24
- // Borders
25
- 'border-l-[1px]', 'border-l-solid', 'border-l-secondary dark:border-l-secondary-dark']
26
- };
27
- const SidebarResize = [
28
- // Position
29
- 'absolute', 'inset-y-none', 'z-[1]',
30
- // Box
31
- 'w-[12px]', 'h-[100%]',
32
- // Cursor
33
- 'cursor-ew-resize'];
34
- const SidebarResizeSides = {
35
- [OrSidebarPlacement.left]: [
36
- // Position
37
- '-right-[1px]',
38
- // Borders
39
- 'hover:border-r-2', 'hover:border-r-primary hover:dark:border-r-primary-dark',
40
- // Transition
41
- 'transition-[border-right]'],
42
- [OrSidebarPlacement.right]: [
43
- // Position
44
- '-left-[1px]',
45
- // Borders
46
- 'hover:border-l-2', 'hover:border-l-primary hover:dark:border-l-primary-dark',
47
- // Transition
48
- 'transition-[border-left]']
49
- };
50
- const SidebarResizingSides = {
51
- [OrSidebarPlacement.left]: [
52
- // Borders
53
- 'border-r-2', 'border-r-primary dark:border-r-primary-dark'],
54
- [OrSidebarPlacement.right]: [
55
- // Borders
56
- 'border-l-2', 'border-l-primary dark:border-l-primary-dark']
57
- };
58
- const SidebarMain = [
59
- // Layout
60
- 'flex', 'flex-col', 'grow',
61
- // Box
62
- 'min-h-0'];
63
- const SidebarHeader = [
64
- // Spacing
65
- 'p-md'];
66
- const SidebarContent = [
67
- // Layout
68
- 'grow', 'overflow-auto',
69
- // Spacing
70
- 'p-md'];
71
- const SidebarFooter = [
72
- // Spacing
73
- 'p-md',
74
- // Borders
75
- 'border-t-[1px]', 'border-t-solid', 'border-t-secondary dark:border-t-secondary-dark'];
76
-
77
- var script = defineComponent({
78
- name: 'OrSidebar',
79
- props: {
80
- width: {
81
- type: Number,
82
- required: false,
83
- default: 0,
84
- validator: value => _.isNumber(value) && value >= 0
85
- },
86
- minimumWidth: {
87
- type: Number,
88
- required: false,
89
- default: 350,
90
- validator: value => _.isNumber(value) && value >= 0
91
- },
92
- /**
93
- * User may put the component on the right or the left side of a container.
94
- * This property mirrors the resizing behavior (drag direction) and styling (horizontal border) of the sidebar.
95
- *
96
- * Note: the property doesn't reposition the component in the parent container.
97
- * @values left, right
98
- */
99
- side: {
100
- type: String,
101
- default: OrSidebarPlacement.right,
102
- validator: value => _.includes(_.values(OrSidebarPlacement), value)
103
- }
104
- },
105
- emits: ['change:width'],
106
- setup(props, {
107
- emit
108
- }) {
109
- // Refs
110
- const root = ref();
111
- const resizeBar = ref(null);
112
- const parentContainer = computed(() => {
113
- var _a;
114
- return (_a = root.value) === null || _a === void 0 ? void 0 : _a.parentElement;
115
- });
116
- // State
117
- const startPositionX = ref(0);
118
- const isResizing = ref(false);
119
- const localWidth = ref(props.width >= props.minimumWidth ? props.width : props.minimumWidth);
120
- // Styles
121
- const sidebarStyle = computed(() => ({
122
- width: localWidth.value + 'px'
123
- }));
124
- const rootStyles = computed(() => ['or-sidebar', ...SidebarRoot, ...SidebarRootSides[props.side]]);
125
- const resizeStyles = computed(() => [...SidebarResize, ...SidebarResizeSides[props.side], ...(isResizing.value ? SidebarResizingSides[props.side] : [])]);
126
- const mainStyles = computed(() => [...SidebarMain]);
127
- const headerStyles = computed(() => [...SidebarHeader]);
128
- const contentStyles = computed(() => [...SidebarContent]);
129
- const footerStyles = computed(() => [...SidebarFooter]);
130
- // Effects
131
- useDraggable(resizeBar, {
132
- preventDefault: true,
133
- onStart: (position, event) => {
134
- document.body.style.cursor = 'ew-resize';
135
- document.body.style.userSelect = 'none';
136
- startPositionX.value = event.x;
137
- isResizing.value = true;
138
- },
139
- onMove: position => {
140
- const delta = (position.x - startPositionX.value) * (props.side === OrSidebarPlacement.left ? -1 : 1);
141
- const newWidth = localWidth.value - delta;
142
- localWidth.value = newWidth > maximumWidth.value ? maximumWidth.value : newWidth < props.minimumWidth ? props.minimumWidth : newWidth;
143
- startPositionX.value = position.x;
144
- },
145
- onEnd: () => {
146
- document.body.style.cursor = '';
147
- document.body.style.userSelect = '';
148
- isResizing.value = false;
149
- }
150
- });
151
- const {
152
- width: maximumWidth
153
- } = useElementBounding(parentContainer);
154
- watch(() => props.width, newValue => {
155
- if (newValue !== localWidth.value) {
156
- localWidth.value = newValue > maximumWidth.value ? maximumWidth.value : newValue < props.minimumWidth ? props.minimumWidth : newValue;
157
- }
158
- });
159
- watch(() => props.minimumWidth, newMinimum => {
160
- if (newMinimum > localWidth.value) localWidth.value = newMinimum;
161
- });
162
- watch(maximumWidth, newMaximum => {
163
- if (newMaximum < localWidth.value) localWidth.value = newMaximum;
164
- });
165
- watch(localWidth, val => emit('change:width', val));
166
- return {
167
- root,
168
- resizeBar,
169
- isResizing,
170
- localWidth,
171
- sidebarStyle,
172
- rootStyles,
173
- resizeStyles,
174
- mainStyles,
175
- headerStyles,
176
- contentStyles,
177
- footerStyles
178
- };
179
- }
180
- });
181
-
182
- function render(_ctx, _cache, $props, $setup, $data, $options) {
183
- return openBlock(), createElementBlock("aside", {
184
- ref: "root",
185
- class: normalizeClass(_ctx.rootStyles),
186
- style: normalizeStyle(_ctx.sidebarStyle)
187
- }, [createElementVNode("div", {
188
- ref: "resizeBar",
189
- class: normalizeClass(_ctx.resizeStyles)
190
- }, null, 2 /* CLASS */), createElementVNode("div", {
191
- class: normalizeClass(_ctx.mainStyles)
192
- }, [_ctx.$slots.header ? (openBlock(), createElementBlock("div", {
193
- key: 0,
194
- class: normalizeClass(_ctx.headerStyles)
195
- }, [renderSlot(_ctx.$slots, "header")], 2 /* CLASS */)) : createCommentVNode("v-if", true), createElementVNode("div", {
196
- class: normalizeClass(_ctx.contentStyles)
197
- }, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */)], 2 /* CLASS */), _ctx.$slots.footer ? (openBlock(), createElementBlock("div", {
198
- key: 0,
199
- class: normalizeClass(_ctx.footerStyles)
200
- }, [renderSlot(_ctx.$slots, "footer")], 2 /* CLASS */)) : createCommentVNode("v-if", true)], 6 /* CLASS, STYLE */);
201
- }
202
-
203
- script.render = render;
204
- script.__file = "src/components/or-sidebar-v3/OrSidebar.vue";
205
-
206
- export { OrSidebarPlacement as O, script as s };