@onereach/ui-components 4.11.3-beta.2973.0 → 4.12.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 (268) hide show
  1. package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollection.js +59 -22
  2. package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollection.vue.d.ts +25 -2
  3. package/dist/bundled/v2/components/OrCardCollectionV3/index.js +4 -5
  4. package/dist/bundled/v2/components/OrCardCollectionV3/styles.js +5 -6
  5. package/dist/bundled/v2/components/OrCardCollectionV3/types.d.ts +4 -0
  6. package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +1 -1
  7. package/dist/bundled/v2/components/OrDatePickerV3/index.js +1 -1
  8. package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +1 -1
  9. package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +1 -1
  10. package/dist/bundled/v2/components/OrExpansionPanelV3/styles.js +8 -4
  11. package/dist/bundled/v2/components/OrIconButtonV3/styles.js +13 -11
  12. package/dist/bundled/v2/components/OrLinkV3/OrLink.js +1 -1
  13. package/dist/bundled/v2/components/OrLinkV3/styles.js +3 -1
  14. package/dist/bundled/v2/components/OrMenuItemV3/styles.js +3 -3
  15. package/dist/bundled/v2/components/OrTabV3/styles.js +1 -1
  16. package/dist/bundled/v2/components/OrTagsV3/OrTags.vue.d.ts +2 -2
  17. package/dist/bundled/v2/components/OrTeleport/OrTeleport.vue2.vue.d.ts +2 -2
  18. package/dist/bundled/v2/components/index.d.ts +0 -1
  19. package/dist/bundled/v2/components/index.js +1 -2
  20. package/dist/bundled/v2/hooks/useTheme.js +57 -12
  21. package/dist/bundled/v2/index.js +2 -3
  22. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-a833fe48.js → OrCardCollection.vue_vue_type_script_lang-9d20dd3c.js} +31 -6
  23. package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-ec51e1e8.js → OrCode.vue_vue_type_script_lang-005a6380.js} +2 -2
  24. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-2f107000.js → OrConfirm.vue_vue_type_script_lang-1ce271f7.js} +1 -1
  25. package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-17a4f0de.js → OrDatePicker.vue_vue_type_script_lang-d94c33ca.js} +2 -2
  26. package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-eae6683b.js → OrDateTimePicker.vue_vue_type_script_lang-46b1735a.js} +2 -2
  27. package/dist/bundled/v3/{OrDateTimePickerMonthSelect-14136fbd.js → OrDateTimePickerMonthSelect-57340c1e.js} +2 -2
  28. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-13269054.js → OrInlineInput.vue_vue_type_script_lang-c94cbe72.js} +1 -1
  29. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-3a251a7b.js → OrInlineTextarea.vue_vue_type_script_lang-77460342.js} +1 -1
  30. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-73c33e2e.js → OrInput.vue_vue_type_script_lang-9696e091.js} +1 -1
  31. package/dist/bundled/v3/{OrLink.vue_vue_type_script_lang-2d66ea4d.js → OrLink.vue_vue_type_script_lang-f813dee2.js} +1 -1
  32. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-5397e0dd.js → OrModal.vue_vue_type_script_lang-b853cc1e.js} +1 -1
  33. package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-a0b4041e.js → OrNotification.vue_vue_type_script_lang-093cb959.js} +1 -1
  34. package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-29423a33.js → OrPagination.vue_vue_type_script_lang-32a27808.js} +1 -1
  35. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-143806cd.js → OrSearch.vue_vue_type_script_lang-9d98ed4d.js} +1 -1
  36. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-cd8928f7.js → OrSelect.vue_vue_type_script_lang-69c5cd67.js} +4 -4
  37. package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-9298b6e0.js → OrSidebar.vue_vue_type_script_lang-a79c5901.js} +1 -1
  38. package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-ca608c74.js → OrTabs.vue_vue_type_script_lang-e9ea6c28.js} +2 -2
  39. package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-47c6bbdc.js → OrTag.vue_vue_type_script_lang-a04676a1.js} +1 -1
  40. package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-c2fc7f9a.js → OrTagInput.vue_vue_type_script_lang-7f991f8e.js} +2 -2
  41. package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-425bb731.js → OrTags.vue_vue_type_script_lang-1b9aabbb.js} +1 -1
  42. package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-c00997fc.js → OrTimePicker.vue_vue_type_script_lang-d558f82f.js} +1 -1
  43. package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +50 -25
  44. package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.vue.d.ts +5 -2
  45. package/dist/bundled/v3/components/OrCardCollectionV3/index.js +10 -12
  46. package/dist/bundled/v3/components/OrCardCollectionV3/styles.js +5 -6
  47. package/dist/bundled/v3/components/OrCardCollectionV3/types.d.ts +4 -0
  48. package/dist/bundled/v3/components/OrCodeV3/OrCode.js +4 -4
  49. package/dist/bundled/v3/components/OrCodeV3/index.js +3 -3
  50. package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +4 -4
  51. package/dist/bundled/v3/components/OrConfirmV3/index.js +3 -3
  52. package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +5 -5
  53. package/dist/bundled/v3/components/OrDatePickerV3/index.js +4 -4
  54. package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +5 -5
  55. package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +4 -4
  56. package/dist/bundled/v3/components/OrExpansionPanelV3/OrExpansionPanel.js +2 -2
  57. package/dist/bundled/v3/components/OrExpansionPanelV3/index.js +1 -1
  58. package/dist/bundled/v3/components/OrExpansionPanelV3/styles.js +8 -4
  59. package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +2 -2
  60. package/dist/bundled/v3/components/OrIconButtonV3/index.js +1 -1
  61. package/dist/bundled/v3/components/OrIconButtonV3/styles.js +13 -11
  62. package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +3 -3
  63. package/dist/bundled/v3/components/OrInlineInputV3/index.js +2 -2
  64. package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +3 -3
  65. package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +2 -2
  66. package/dist/bundled/v3/components/OrInputV3/OrInput.js +3 -3
  67. package/dist/bundled/v3/components/OrInputV3/index.js +2 -2
  68. package/dist/bundled/v3/components/OrLinkV3/OrLink.js +2 -2
  69. package/dist/bundled/v3/components/OrLinkV3/index.js +1 -1
  70. package/dist/bundled/v3/components/OrLinkV3/styles.js +3 -1
  71. package/dist/bundled/v3/components/OrMenuItemV3/OrMenuItem.js +2 -2
  72. package/dist/bundled/v3/components/OrMenuItemV3/index.js +1 -1
  73. package/dist/bundled/v3/components/OrMenuItemV3/styles.js +3 -3
  74. package/dist/bundled/v3/components/OrModalV3/OrModal.js +3 -3
  75. package/dist/bundled/v3/components/OrModalV3/index.js +2 -2
  76. package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +3 -3
  77. package/dist/bundled/v3/components/OrNotificationV3/index.js +2 -2
  78. package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +3 -3
  79. package/dist/bundled/v3/components/OrPaginationV3/index.js +2 -2
  80. package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +4 -4
  81. package/dist/bundled/v3/components/OrSearchV3/index.js +3 -3
  82. package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +7 -7
  83. package/dist/bundled/v3/components/OrSelectV3/index.js +6 -6
  84. package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +3 -3
  85. package/dist/bundled/v3/components/OrSidebarV3/index.js +2 -2
  86. package/dist/bundled/v3/components/OrTabV3/OrTab.js +2 -2
  87. package/dist/bundled/v3/components/OrTabV3/index.js +1 -1
  88. package/dist/bundled/v3/components/OrTabV3/styles.js +1 -1
  89. package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +4 -4
  90. package/dist/bundled/v3/components/OrTabsV3/index.js +3 -3
  91. package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +5 -5
  92. package/dist/bundled/v3/components/OrTagInputV3/index.js +4 -4
  93. package/dist/bundled/v3/components/OrTagV3/OrTag.js +3 -3
  94. package/dist/bundled/v3/components/OrTagV3/index.js +2 -2
  95. package/dist/bundled/v3/components/OrTagsV3/OrTags.js +4 -4
  96. package/dist/bundled/v3/components/OrTagsV3/index.js +3 -3
  97. package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +3 -3
  98. package/dist/bundled/v3/components/OrTimePickerV3/index.js +2 -2
  99. package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +3 -3
  100. package/dist/bundled/v3/components/OrToastContainerV3/index.js +2 -2
  101. package/dist/bundled/v3/components/OrToastV3/OrToast.js +1 -1
  102. package/dist/bundled/v3/components/OrToastV3/index.js +2 -2
  103. package/dist/bundled/v3/components/index.d.ts +0 -1
  104. package/dist/bundled/v3/components/index.js +27 -29
  105. package/dist/bundled/v3/hooks/useTheme.js +57 -12
  106. package/dist/bundled/v3/index.js +30 -32
  107. package/dist/esm/v2/{OrCardCollection-ad88e198.js → OrCardCollection-d29b850c.js} +63 -22
  108. package/dist/esm/v2/{OrCode-8d30c597.js → OrCode-f1dcf312.js} +2 -2
  109. package/dist/esm/v2/{OrConfirm-1cf67ea8.js → OrConfirm-d8d3b5e1.js} +1 -1
  110. package/dist/esm/v2/{OrDatePicker-a4f4a69b.js → OrDatePicker-365c393c.js} +2 -2
  111. package/dist/esm/v2/{OrDateTimePicker-42a90a27.js → OrDateTimePicker-665b1585.js} +1 -1
  112. package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-ee1a0777.js → OrDateTimePicker.vue_rollup-plugin-vue_script-a59d2087.js} +2 -2
  113. package/dist/esm/v2/{OrDateTimePickerPopoverHeader-482d6094.js → OrDateTimePickerPopoverHeader-3a99a29d.js} +2 -2
  114. package/dist/esm/v2/{OrExpansionPanel-acfffe82.js → OrExpansionPanel-f1d8fcc9.js} +8 -4
  115. package/dist/esm/v2/{OrIconButton-e7517e6d.js → OrIconButton-6fcd20b0.js} +13 -11
  116. package/dist/esm/v2/{OrInlineInput-82238b67.js → OrInlineInput-3fc16a74.js} +1 -1
  117. package/dist/esm/v2/{OrInlineTextarea-e79cfec1.js → OrInlineTextarea-311f5088.js} +1 -1
  118. package/dist/esm/v2/{OrInput-1517ccef.js → OrInput-386e9352.js} +1 -1
  119. package/dist/esm/v2/{OrLink-3679a61f.js → OrLink-cf3a0091.js} +4 -2
  120. package/dist/esm/v2/{OrMenuItem-c70cff8b.js → OrMenuItem-b5bb6e11.js} +3 -3
  121. package/dist/esm/v2/{OrModal-af72eb54.js → OrModal-1df91f15.js} +1 -1
  122. package/dist/esm/v2/{OrNotification-eaf8a4b4.js → OrNotification-121ce073.js} +1 -1
  123. package/dist/esm/v2/{OrPagination-fe81f687.js → OrPagination-b9a941dd.js} +1 -1
  124. package/dist/esm/v2/{OrSearch-f5258a9f.js → OrSearch-7f444d5c.js} +1 -1
  125. package/dist/esm/v2/{OrSelect-2a1e2171.js → OrSelect-9893819d.js} +4 -4
  126. package/dist/esm/v2/{OrSidebar-15fc8f69.js → OrSidebar-41c869c1.js} +1 -1
  127. package/dist/esm/v2/{OrSidebarCollapseButton-6a8079ea.js → OrSidebarCollapseButton-0d2e41c8.js} +1 -1
  128. package/dist/esm/v2/{OrTab-5b198746.js → OrTab-88036fe9.js} +1 -1
  129. package/dist/esm/v2/{OrTabs-1f6ce605.js → OrTabs-80db5b36.js} +2 -2
  130. package/dist/esm/v2/{OrTag-d619ed2b.js → OrTag-21683774.js} +1 -1
  131. package/dist/esm/v2/{OrTagInput-32ad4c5e.js → OrTagInput-d5400871.js} +2 -2
  132. package/dist/esm/v2/{OrTags-cf65a7fa.js → OrTags-61e4e52d.js} +1 -1
  133. package/dist/esm/v2/{OrTimePicker-6a9e6c50.js → OrTimePicker-13232692.js} +3 -3
  134. package/dist/esm/v2/components/index.d.ts +0 -1
  135. package/dist/esm/v2/components/index.js +28 -29
  136. package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +25 -2
  137. package/dist/esm/v2/components/or-card-collection-v3/index.js +10 -11
  138. package/dist/esm/v2/components/or-card-collection-v3/types.d.ts +4 -0
  139. package/dist/esm/v2/components/or-code-v3/index.js +3 -3
  140. package/dist/esm/v2/components/or-confirm-v3/index.js +3 -3
  141. package/dist/esm/v2/components/or-date-picker-v3/index.js +4 -4
  142. package/dist/esm/v2/components/or-date-time-picker-v3/index.js +5 -5
  143. package/dist/esm/v2/components/or-expansion-panel-v3/index.js +1 -1
  144. package/dist/esm/v2/components/or-icon-button-v3/index.js +1 -1
  145. package/dist/esm/v2/components/or-inline-input-v3/index.js +2 -2
  146. package/dist/esm/v2/components/or-inline-textarea-v3/index.js +2 -2
  147. package/dist/esm/v2/components/or-input-v3/index.js +2 -2
  148. package/dist/esm/v2/components/or-link-v3/index.js +1 -1
  149. package/dist/esm/v2/components/or-menu-item-v3/index.js +1 -1
  150. package/dist/esm/v2/components/or-modal-v3/index.js +2 -2
  151. package/dist/esm/v2/components/or-notification-v3/index.js +2 -2
  152. package/dist/esm/v2/components/or-pagination-v3/index.js +2 -2
  153. package/dist/esm/v2/components/or-search-v3/index.js +3 -3
  154. package/dist/esm/v2/components/or-select-v3/index.js +6 -6
  155. package/dist/esm/v2/components/or-sidebar-v3/index.js +3 -3
  156. package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +2 -2
  157. package/dist/esm/v2/components/or-tab-v3/index.js +1 -1
  158. package/dist/esm/v2/components/or-tabs-v3/index.js +3 -3
  159. package/dist/esm/v2/components/or-tag-input-v3/index.js +4 -4
  160. package/dist/esm/v2/components/or-tag-v3/index.js +2 -2
  161. package/dist/esm/v2/components/or-tags-v3/index.js +3 -3
  162. package/dist/esm/v2/components/or-time-picker-v3/index.js +5 -5
  163. package/dist/esm/v2/components/or-toast-v3/index.js +2 -2
  164. package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +2 -2
  165. package/dist/esm/v2/index.js +28 -29
  166. package/dist/esm/v2/{types-f010f8b9.js → types-ed6cc191.js} +1 -1
  167. package/dist/esm/v3/{OrCardCollection-655431a8.js → OrCardCollection-305a9a2d.js} +72 -23
  168. package/dist/esm/v3/{OrCode-d36e4b44.js → OrCode-fd6a9b54.js} +2 -2
  169. package/dist/esm/v3/{OrConfirm-6c4a7b89.js → OrConfirm-438e906e.js} +1 -1
  170. package/dist/esm/v3/{OrDatePicker-0d01feb7.js → OrDatePicker-aac79bce.js} +2 -2
  171. package/dist/esm/v3/{OrDateTimePicker-2c5de2e5.js → OrDateTimePicker-5a1af2fe.js} +2 -2
  172. package/dist/esm/v3/{OrDateTimePickerPopoverHeader-774c3a4f.js → OrDateTimePickerPopoverHeader-a478e254.js} +2 -2
  173. package/dist/esm/v3/{OrExpansionPanel-af3a0d63.js → OrExpansionPanel-891154e6.js} +8 -4
  174. package/dist/esm/v3/{OrIconButton-0edf0894.js → OrIconButton-80f76b73.js} +13 -11
  175. package/dist/esm/v3/{OrInlineInput-b88c01a6.js → OrInlineInput-857b5d2e.js} +1 -1
  176. package/dist/esm/v3/{OrInlineTextarea-71e96e67.js → OrInlineTextarea-21a92d18.js} +1 -1
  177. package/dist/esm/v3/{OrInput-1fc808c0.js → OrInput-05ac6369.js} +1 -1
  178. package/dist/esm/v3/{OrLink-7c4eedf0.js → OrLink-dcae31fb.js} +4 -2
  179. package/dist/esm/v3/{OrMenuItem-5d14ee25.js → OrMenuItem-331cb96b.js} +3 -3
  180. package/dist/esm/v3/{OrModal-53d4af81.js → OrModal-f1f38284.js} +1 -1
  181. package/dist/esm/v3/{OrNotification-42c3a0ec.js → OrNotification-8377ad89.js} +1 -1
  182. package/dist/esm/v3/{OrPagination-98319a31.js → OrPagination-1018acbc.js} +1 -1
  183. package/dist/esm/v3/{OrSearch-e690aff6.js → OrSearch-daab0e0b.js} +1 -1
  184. package/dist/esm/v3/{OrSelect-66a6aae2.js → OrSelect-a310d8be.js} +4 -4
  185. package/dist/esm/v3/{OrSidebar-dd7c025b.js → OrSidebar-fadc2431.js} +1 -1
  186. package/dist/esm/v3/{OrSidebarCollapseButton-2792a2b4.js → OrSidebarCollapseButton-e0cbeaa5.js} +1 -1
  187. package/dist/esm/v3/{OrTab-f7e51ffb.js → OrTab-2d567d8e.js} +1 -1
  188. package/dist/esm/v3/{OrTabs-7024930f.js → OrTabs-328f5a69.js} +2 -2
  189. package/dist/esm/v3/{OrTag-51add0ef.js → OrTag-d882091d.js} +1 -1
  190. package/dist/esm/v3/{OrTagInput-ca1811f7.js → OrTagInput-e4f50a88.js} +2 -2
  191. package/dist/esm/v3/{OrTags-f6ecdb32.js → OrTags-92b6ae86.js} +1 -1
  192. package/dist/esm/v3/{OrTimePicker-8b9c0ad6.js → OrTimePicker-aaf59858.js} +3 -3
  193. package/dist/esm/v3/components/index.d.ts +0 -1
  194. package/dist/esm/v3/components/index.js +27 -28
  195. package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +5 -2
  196. package/dist/esm/v3/components/or-card-collection-v3/index.js +10 -11
  197. package/dist/esm/v3/components/or-card-collection-v3/types.d.ts +4 -0
  198. package/dist/esm/v3/components/or-code-v3/index.js +3 -3
  199. package/dist/esm/v3/components/or-confirm-v3/index.js +3 -3
  200. package/dist/esm/v3/components/or-date-picker-v3/index.js +4 -4
  201. package/dist/esm/v3/components/or-date-time-picker-v3/index.js +4 -4
  202. package/dist/esm/v3/components/or-expansion-panel-v3/index.js +1 -1
  203. package/dist/esm/v3/components/or-icon-button-v3/index.js +1 -1
  204. package/dist/esm/v3/components/or-inline-input-v3/index.js +2 -2
  205. package/dist/esm/v3/components/or-inline-textarea-v3/index.js +2 -2
  206. package/dist/esm/v3/components/or-input-v3/index.js +2 -2
  207. package/dist/esm/v3/components/or-link-v3/index.js +1 -1
  208. package/dist/esm/v3/components/or-menu-item-v3/index.js +1 -1
  209. package/dist/esm/v3/components/or-modal-v3/index.js +2 -2
  210. package/dist/esm/v3/components/or-notification-v3/index.js +2 -2
  211. package/dist/esm/v3/components/or-pagination-v3/index.js +2 -2
  212. package/dist/esm/v3/components/or-search-v3/index.js +3 -3
  213. package/dist/esm/v3/components/or-select-v3/index.js +6 -6
  214. package/dist/esm/v3/components/or-sidebar-v3/index.js +3 -3
  215. package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +2 -2
  216. package/dist/esm/v3/components/or-tab-v3/index.js +1 -1
  217. package/dist/esm/v3/components/or-tabs-v3/index.js +3 -3
  218. package/dist/esm/v3/components/or-tag-input-v3/index.js +4 -4
  219. package/dist/esm/v3/components/or-tag-v3/index.js +2 -2
  220. package/dist/esm/v3/components/or-tags-v3/index.js +3 -3
  221. package/dist/esm/v3/components/or-time-picker-v3/index.js +5 -5
  222. package/dist/esm/v3/components/or-toast-v3/index.js +2 -2
  223. package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +2 -2
  224. package/dist/esm/v3/index.js +27 -28
  225. package/dist/esm/v3/{types-8d61f1d7.js → types-af0b6bbd.js} +1 -1
  226. package/package.json +4 -3
  227. package/src/components/index.ts +0 -1
  228. package/src/components/or-card-collection-v3/OrCardCollection.vue +53 -11
  229. package/src/components/or-card-collection-v3/styles.ts +8 -6
  230. package/src/components/or-card-collection-v3/types.ts +5 -0
  231. package/src/components/or-expansion-panel-v3/styles.ts +16 -8
  232. package/src/components/or-icon-button-v3/styles.ts +36 -24
  233. package/src/components/or-link-v3/OrLink.vue +1 -1
  234. package/src/components/or-link-v3/styles.ts +6 -2
  235. package/src/components/or-menu-item-v3/styles.ts +5 -5
  236. package/src/components/or-tab-v3/styles.ts +2 -2
  237. package/dist/bundled/v2/components/OrSortingV3/OrSortingV3.js +0 -148
  238. package/dist/bundled/v2/components/OrSortingV3/OrSortingV3.vue.d.ts +0 -63
  239. package/dist/bundled/v2/components/OrSortingV3/index.d.ts +0 -2
  240. package/dist/bundled/v2/components/OrSortingV3/index.js +0 -33
  241. package/dist/bundled/v2/components/OrSortingV3/types.d.ts +0 -4
  242. package/dist/bundled/v2/components/OrSortingV3/types.js +0 -1
  243. package/dist/bundled/v3/OrSortingV3.vue_vue_type_script_lang-9e8ccd25.js +0 -61
  244. package/dist/bundled/v3/components/OrSortingV3/OrSortingV3.js +0 -82
  245. package/dist/bundled/v3/components/OrSortingV3/OrSortingV3.vue.d.ts +0 -33
  246. package/dist/bundled/v3/components/OrSortingV3/index.d.ts +0 -2
  247. package/dist/bundled/v3/components/OrSortingV3/index.js +0 -41
  248. package/dist/bundled/v3/components/OrSortingV3/types.d.ts +0 -4
  249. package/dist/bundled/v3/components/OrSortingV3/types.js +0 -1
  250. package/dist/esm/v2/OrSortingV3-0c8d3268.js +0 -123
  251. package/dist/esm/v2/components/or-sorting-v3/OrSortingV3.vue.d.ts +0 -63
  252. package/dist/esm/v2/components/or-sorting-v3/index.d.ts +0 -2
  253. package/dist/esm/v2/components/or-sorting-v3/index.js +0 -20
  254. package/dist/esm/v2/components/or-sorting-v3/types.d.ts +0 -4
  255. package/dist/esm/v3/OrSortingV3-bbf11809.js +0 -99
  256. package/dist/esm/v3/components/or-sorting-v3/OrSortingV3.vue.d.ts +0 -33
  257. package/dist/esm/v3/components/or-sorting-v3/index.d.ts +0 -2
  258. package/dist/esm/v3/components/or-sorting-v3/index.js +0 -19
  259. package/dist/esm/v3/components/or-sorting-v3/types.d.ts +0 -4
  260. package/src/components/or-sorting-v3/OrSortingV3.vue +0 -95
  261. package/src/components/or-sorting-v3/index.ts +0 -2
  262. package/src/components/or-sorting-v3/types.ts +0 -4
  263. /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-c2fc09bb.js → OrDateTimePickerMonthSelect-232c4dda.js} +0 -0
  264. /package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-6ea94b95.js → OrExpansionPanel.vue_vue_type_script_lang-fa265d9a.js} +0 -0
  265. /package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-42887e92.js → OrIconButton.vue_vue_type_script_lang-fafcb023.js} +0 -0
  266. /package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-aed2c8e6.js → OrMenuItem.vue_vue_type_script_lang-f35dcab4.js} +0 -0
  267. /package/dist/bundled/v3/{OrTab.vue_vue_type_script_lang-79f2f523.js → OrTab.vue_vue_type_script_lang-8af58197.js} +0 -0
  268. /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-b2b61918.js → OrToastContainer.vue_vue_type_script_lang-7910c852.js} +0 -0
@@ -76,12 +76,16 @@ export const ExpansionPanelHeaderColors: Record<ExpansionPanelColor, string[]> =
76
76
  'dark:theme-foreground-default-dark',
77
77
 
78
78
  // Theme (hover)
79
- 'hover:theme-foreground-primary-hover',
80
- 'dark:hover:theme-foreground-primary-hover-dark',
79
+ 'hover:md:theme-foreground-primary-hover',
80
+ 'dark:hover:md:theme-foreground-primary-hover-dark',
81
81
 
82
82
  // Theme (focus)
83
- 'focus:theme-foreground-primary-hover',
84
- 'dark:focus:theme-foreground-primary-hover-dark',
83
+ 'focus:md:theme-foreground-primary-hover',
84
+ 'dark:focus:md:theme-foreground-primary-hover-dark',
85
+
86
+ // Theme (active)
87
+ 'active:theme-foreground-primary-hover',
88
+ 'dark:active:theme-foreground-primary-hover-dark',
85
89
  ],
86
90
 
87
91
  'danger': [
@@ -90,12 +94,16 @@ export const ExpansionPanelHeaderColors: Record<ExpansionPanelColor, string[]> =
90
94
  'dark:theme-foreground-error-dark',
91
95
 
92
96
  // Theme (hover)
93
- 'hover:theme-foreground-error-hover',
94
- 'dark:hover:theme-foreground-error-hover-dark',
97
+ 'hover:md:theme-foreground-error-hover',
98
+ 'dark:hover:md:theme-foreground-error-hover-dark',
95
99
 
96
100
  // Theme (focus)
97
- 'focus:theme-foreground-error-hover',
98
- 'dark:focus:theme-foreground-error-hover-dark',
101
+ 'focus:md:theme-foreground-error-hover',
102
+ 'dark:focus:md:theme-foreground-error-hover-dark',
103
+
104
+ // Theme (active)
105
+ 'active:theme-foreground-error-hover',
106
+ 'dark:active:theme-foreground-error-hover-dark',
99
107
  ],
100
108
  };
101
109
 
@@ -17,10 +17,13 @@ export const IconButtonRoot: string[] = [
17
17
  'iconography-outlined',
18
18
 
19
19
  // Iconography (hover)
20
- 'hover:iconography-filled',
20
+ 'hover:md:iconography-filled',
21
21
 
22
22
  // Iconography (focus)
23
- 'focus:iconography-filled',
23
+ 'focus:md:iconography-filled',
24
+
25
+ // Iconography (active)
26
+ 'active:iconography-filled',
24
27
 
25
28
  // Theme
26
29
  '!outline outline-2 outline-transparent',
@@ -36,22 +39,25 @@ export const IconButtonRootColors: Record<IconButtonColor, string[]> = {
36
39
  'dark:theme-foreground-outline-dark',
37
40
 
38
41
  // Theme (hover)
39
- 'hover:outline-primary-opacity-0-08',
40
- 'dark:hover:outline-primary-opacity-0-08-dark',
42
+ 'hover:md:outline-primary-opacity-0-08',
43
+ 'dark:hover:md:outline-primary-opacity-0-08-dark',
41
44
 
42
- 'hover:theme-foreground-default',
43
- 'dark:hover:theme-foreground-default-dark',
45
+ 'hover:md:theme-foreground-default',
46
+ 'dark:hover:md:theme-foreground-default-dark',
44
47
 
45
48
  // Theme (focus)
46
- 'focus:outline-primary-opacity-0-08',
47
- 'dark:focus:outline-primary-opacity-0-08-dark',
49
+ 'focus:md:outline-primary-opacity-0-08',
50
+ 'dark:focus:md:outline-primary-opacity-0-08-dark',
48
51
 
49
- 'focus:theme-foreground-default',
50
- 'dark:focus:theme-foreground-default-dark',
52
+ 'focus:md:theme-foreground-default',
53
+ 'dark:focus:md:theme-foreground-default-dark',
51
54
 
52
55
  // Theme (active)
53
- 'active:outline-primary-opacity-0-16',
54
- 'dark:active:outline-primary-opacity-0-16-dark',
56
+ 'active:outline-primary-opacity-0-08',
57
+ 'dark:active:outline-primary-opacity-0-08-dark',
58
+
59
+ 'active:md:outline-primary-opacity-0-16',
60
+ 'dark:active:md:outline-primary-opacity-0-16-dark',
55
61
 
56
62
  'active:theme-foreground-default',
57
63
  'dark:active:theme-foreground-default-dark',
@@ -67,16 +73,19 @@ export const IconButtonRootColors: Record<IconButtonColor, string[]> = {
67
73
  'dark:theme-preset-3-error-dark',
68
74
 
69
75
  // Theme (hover)
70
- 'hover:outline-error-opacity-0-08',
71
- 'dark:hover:outline-error-opacity-0-08-dark',
76
+ 'hover:md:outline-error-opacity-0-08',
77
+ 'dark:hover:md:outline-error-opacity-0-08-dark',
72
78
 
73
79
  // Theme (focus)
74
- 'focus:outline-error-opacity-0-08',
75
- 'dark:focus:outline-error-opacity-0-08-dark',
80
+ 'focus:md:outline-error-opacity-0-08',
81
+ 'dark:focus:md:outline-error-opacity-0-08-dark',
76
82
 
77
83
  // Theme (active)
78
- 'active:outline-error-opacity-0-16',
79
- 'dark:active:outline-error-opacity-0-16-dark',
84
+ 'active:outline-error-opacity-0-08',
85
+ 'dark:active:outline-error-opacity-0-08-dark',
86
+
87
+ 'active:md:outline-error-opacity-0-16',
88
+ 'dark:active:md:outline-error-opacity-0-16-dark',
80
89
  ],
81
90
 
82
91
  'inherit': [
@@ -88,15 +97,18 @@ export const IconButtonRootColors: Record<IconButtonColor, string[]> = {
88
97
  'dark:theme-foreground-inherit-dark',
89
98
 
90
99
  // Theme (hover)
91
- 'hover:outline-primary-opacity-0-08',
92
- 'dark:hover:outline-primary-opacity-0-08-dark',
100
+ 'hover:md:outline-primary-opacity-0-08',
101
+ 'dark:hover:md:outline-primary-opacity-0-08-dark',
93
102
 
94
103
  // Theme (focus)
95
- 'focus:outline-primary-opacity-0-08',
96
- 'dark:focus:outline-primary-opacity-0-08-dark',
104
+ 'focus:md:outline-primary-opacity-0-08',
105
+ 'dark:focus:md:outline-primary-opacity-0-08-dark',
97
106
 
98
107
  // Theme (active)
99
- 'active:outline-primary-opacity-0-16',
100
- 'dark:active:outline-primary-opacity-0-16-dark',
108
+ 'active:outline-primary-opacity-0-08',
109
+ 'dark:active:outline-primary-opacity-0-08-dark',
110
+
111
+ 'active:md:outline-primary-opacity-0-16',
112
+ 'dark:active:md:outline-primary-opacity-0-16-dark',
101
113
  ],
102
114
  };
@@ -69,7 +69,7 @@ export default defineComponent({
69
69
  ...LinkRoot,
70
70
  ...LinkRootColors[`${props.color}`],
71
71
  props.loading && 'interactivity-none',
72
- props.underlined && 'underline hover:no-underline',
72
+ props.underlined && 'underline hover:md:no-underline active:no-underline',
73
73
  ]);
74
74
 
75
75
  return {
@@ -45,7 +45,11 @@ export const LinkRootColors: Record<LinkColor, string[]> = {
45
45
  'dark:theme-foreground-inherit-dark',
46
46
 
47
47
  // Theme (hover)
48
- 'hover:theme-foreground-primary-hover',
49
- 'dark:hover:theme-foreground-primary-hover-dark',
48
+ 'hover:md:theme-foreground-primary-hover',
49
+ 'dark:hover:md:theme-foreground-primary-hover-dark',
50
+
51
+ // Theme (active)
52
+ 'active:theme-foreground-primary-hover',
53
+ 'dark:active:theme-foreground-primary-hover-dark',
50
54
  ],
51
55
  };
@@ -25,10 +25,10 @@ export const MenuItemRoot: string[] = [
25
25
  'dark:theme-foreground-outline-dark',
26
26
 
27
27
  // Theme (hover)
28
- 'hover:theme-foreground-default',
29
- 'dark:hover:theme-foreground-default-dark',
28
+ 'hover:md:theme-foreground-default',
29
+ 'dark:hover:md:theme-foreground-default-dark',
30
30
 
31
-
32
- // Typography (selected)
33
- 'selected:text-on-background dark:selected:text-on-background-dark',
31
+ // Theme (active)
32
+ 'active:theme-foreground-default',
33
+ 'dark:active:theme-foreground-default-dark',
34
34
  ];
@@ -21,8 +21,8 @@ export const TabRoot: string[] = [
21
21
  'theme-border-underline',
22
22
 
23
23
  // Theme (hover)
24
- 'hover:theme-foreground-default',
25
- 'dark:hover:theme-foreground-default-dark',
24
+ 'hover:md:theme-foreground-default',
25
+ 'dark:hover:md:theme-foreground-default-dark',
26
26
 
27
27
  // Theme (active)
28
28
  'active:theme-foreground-default',
@@ -1,148 +0,0 @@
1
- import { defineComponent, ref, computed, watch } from 'vue-demi';
2
- import __vue_component__$1 from '../OrMenuV3/OrMenu.js';
3
- import __vue_component__$2 from '../OrMenuItemV3/OrMenuItem.js';
4
- import __vue_component__$3 from '../OrButtonV3/OrButton.js';
5
- import __vue_component__$4 from '../OrIconV3/OrIcon.js';
6
- import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
7
- import '../OrMenuV3/styles.js';
8
- import '../OrPopoverV3/OrPopover.js';
9
- import '../../floating-ui.dom.esm-83eba816.js';
10
- import '../../index-760079e7.js';
11
- import '../../index-ec92055d.js';
12
- import '../OrPopoverV3/props.js';
13
- import '../OrPopoverV3/styles.js';
14
- import '../OrBottomSheetV3/OrBottomSheet.js';
15
- import '../OrBottomSheetV3/props.js';
16
- import '../OrBottomSheetV3/styles.js';
17
- import '../OrOverlayV3/OrOverlay.js';
18
- import '../OrOverlayV3/styles.js';
19
- import '../OrTeleportV3/OrTeleport.js';
20
- import 'vue';
21
- import '../../hooks/useElevation.js';
22
- import '../../utils/isVisible.js';
23
- import '../../hooks/usePopoverState.js';
24
- import '../../hooks/useResponsive/useResponsive.js';
25
- import '../OrMenuItemV3/styles.js';
26
- import '../OrIconV3/props.js';
27
- import '../OrIconV3/styles.js';
28
- import '../OrButtonV3/props.js';
29
- import '../OrButtonV3/styles.js';
30
- import '../OrLoaderV3/OrLoader.js';
31
- import '../OrLoaderV3/props.js';
32
- import '../OrLoaderV3/styles.js';
33
-
34
- var script = defineComponent({
35
- name: 'OrSorting',
36
- components: {
37
- OrMenu: __vue_component__$1,
38
- OrMenuItem: __vue_component__$2,
39
- OrButton: __vue_component__$3,
40
- OrIcon: __vue_component__$4
41
- },
42
- props: {
43
- sort: {
44
- type: String,
45
- default: undefined
46
- },
47
- options: {
48
- type: Array,
49
- default: () => []
50
- }
51
- },
52
- emits: ['change'],
53
- setup(props, context) {
54
- // Refs
55
- const sortMenu = ref();
56
- const sortButton = ref();
57
- // State
58
- const proxySort = ref(props.sort);
59
- const sortLabel = computed(() => {
60
- var _a;
61
- return (_a = props.options.find(item => item.value === props.sort)) === null || _a === void 0 ? void 0 : _a.label;
62
- });
63
- // Methods
64
- function handleSort(sort) {
65
- proxySort.value = sort;
66
- }
67
- // Effects
68
- watch(() => props.sort, value => {
69
- proxySort.value = value;
70
- });
71
- watch(proxySort, value => {
72
- context.emit('change', value);
73
- });
74
- return {
75
- sortMenu,
76
- sortButton,
77
- sortLabel,
78
- proxySort,
79
- handleSort
80
- };
81
- }
82
- });
83
-
84
- /* script */
85
- const __vue_script__ = script;
86
-
87
- /* template */
88
- var __vue_render__ = function () {
89
- var _vm = this;
90
- var _h = _vm.$createElement;
91
- var _c = _vm._self._c || _h;
92
- return _c('div', [_c('OrButton', {
93
- ref: "sortButton",
94
- attrs: {
95
- "variant": "link",
96
- "color": "inherit"
97
- },
98
- on: {
99
- "click": function ($event) {
100
- return _vm.sortMenu.toggle();
101
- }
102
- }
103
- }, [_vm._v("\n " + _vm._s(_vm.sortLabel) + "\n "), _vm.sortMenu ? _c('OrIcon', {
104
- attrs: {
105
- "icon": _vm.sortMenu.state === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'
106
- }
107
- }) : _vm._e()], 1), _vm._v(" "), _c('OrMenu', {
108
- ref: "sortMenu",
109
- attrs: {
110
- "trigger": _vm.sortButton && _vm.sortButton.root,
111
- "placement": "bottom-start"
112
- }
113
- }, _vm._l(_vm.options, function (item) {
114
- return _c('OrMenuItem', {
115
- key: item.value,
116
- attrs: {
117
- "selected": item.value === _vm.proxySort
118
- },
119
- on: {
120
- "click": function ($event) {
121
- return _vm.handleSort(item.value);
122
- }
123
- }
124
- }, [_vm._v("\n " + _vm._s(item.label) + "\n ")]);
125
- }), 1)], 1);
126
- };
127
- var __vue_staticRenderFns__ = [];
128
-
129
- /* style */
130
- const __vue_inject_styles__ = undefined;
131
- /* scoped */
132
- const __vue_scope_id__ = undefined;
133
- /* module identifier */
134
- const __vue_module_identifier__ = undefined;
135
- /* functional template */
136
- const __vue_is_functional_template__ = false;
137
- /* style inject */
138
-
139
- /* style inject SSR */
140
-
141
- /* style inject shadow dom */
142
-
143
- const __vue_component__ = /*#__PURE__*/normalizeComponent({
144
- render: __vue_render__,
145
- staticRenderFns: __vue_staticRenderFns__
146
- }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
147
-
148
- export { __vue_component__ as default };
@@ -1,63 +0,0 @@
1
- import { PropType } from 'vue-demi';
2
- import { SortOption } from './types';
3
- declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
4
- sortMenu: import("@vue/composition-api").Ref<(import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
5
- [x: string]: ((...args: any[]) => any) | null;
6
- } | string[], {} & {}, {
7
- [x: number]: string;
8
- } | {}, true>)) | undefined>;
9
- sortButton: import("@vue/composition-api").Ref<(import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
10
- [x: string]: ((...args: any[]) => any) | null;
11
- } | string[], {} & {}, {
12
- [x: number]: string;
13
- } | {}, true>)) | undefined>;
14
- sortLabel: import("@vue/composition-api").ComputedRef<string | undefined>;
15
- proxySort: import("@vue/composition-api").Ref<string>;
16
- handleSort: (sort: string) => void;
17
- }> & import("@vue/composition-api").Data, {}, {}, {
18
- sort: {
19
- type: StringConstructor;
20
- default: undefined;
21
- };
22
- options: {
23
- type: PropType<SortOption[]>;
24
- default: () => never[];
25
- };
26
- }, import("@vue/composition-api").ExtractPropTypes<{
27
- sort: {
28
- type: StringConstructor;
29
- default: undefined;
30
- };
31
- options: {
32
- type: PropType<SortOption[]>;
33
- default: () => never[];
34
- };
35
- }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
36
- sort: string;
37
- options: SortOption[];
38
- } & {} & {
39
- [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
40
- }, import("@vue/composition-api").ShallowUnwrapRef<{
41
- sortMenu: import("@vue/composition-api").Ref<(import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
42
- [x: string]: ((...args: any[]) => any) | null;
43
- } | string[], {} & {}, {
44
- [x: number]: string;
45
- } | {}, true>)) | undefined>;
46
- sortButton: import("@vue/composition-api").Ref<(import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
47
- [x: string]: ((...args: any[]) => any) | null;
48
- } | string[], {} & {}, {
49
- [x: number]: string;
50
- } | {}, true>)) | undefined>;
51
- sortLabel: import("@vue/composition-api").ComputedRef<string | undefined>;
52
- proxySort: import("@vue/composition-api").Ref<string>;
53
- handleSort: (sort: string) => void;
54
- }>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
55
- sort: string;
56
- options: SortOption[];
57
- } & {} & {
58
- [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
59
- }, {
60
- sort: string;
61
- options: SortOption[];
62
- }, true>);
63
- export default _default;
@@ -1,2 +0,0 @@
1
- export { default as OrSortingV3 } from './OrSortingV3.vue';
2
- export * from './types';
@@ -1,33 +0,0 @@
1
- export { default as OrSortingV3 } from './OrSortingV3.js';
2
- import 'vue-demi';
3
- import '../OrMenuV3/OrMenu.js';
4
- import '../OrMenuV3/styles.js';
5
- import '../OrPopoverV3/OrPopover.js';
6
- import '../../floating-ui.dom.esm-83eba816.js';
7
- import '../../index-760079e7.js';
8
- import '../../index-ec92055d.js';
9
- import '../OrPopoverV3/props.js';
10
- import '../OrPopoverV3/styles.js';
11
- import '../OrBottomSheetV3/OrBottomSheet.js';
12
- import '../OrBottomSheetV3/props.js';
13
- import '../OrBottomSheetV3/styles.js';
14
- import '../OrOverlayV3/OrOverlay.js';
15
- import '../OrOverlayV3/styles.js';
16
- import '../OrTeleportV3/OrTeleport.js';
17
- import 'vue';
18
- import '../../normalize-component-6e8e3d80.js';
19
- import '../../hooks/useElevation.js';
20
- import '../../utils/isVisible.js';
21
- import '../../hooks/usePopoverState.js';
22
- import '../../hooks/useResponsive/useResponsive.js';
23
- import '../OrMenuItemV3/OrMenuItem.js';
24
- import '../OrMenuItemV3/styles.js';
25
- import '../OrIconV3/OrIcon.js';
26
- import '../OrIconV3/props.js';
27
- import '../OrIconV3/styles.js';
28
- import '../OrButtonV3/OrButton.js';
29
- import '../OrButtonV3/props.js';
30
- import '../OrButtonV3/styles.js';
31
- import '../OrLoaderV3/OrLoader.js';
32
- import '../OrLoaderV3/props.js';
33
- import '../OrLoaderV3/styles.js';
@@ -1,4 +0,0 @@
1
- export interface SortOption {
2
- label: string;
3
- value: string;
4
- }
@@ -1,61 +0,0 @@
1
- import { defineComponent, ref, computed, watch } from 'vue-demi';
2
- import './components/OrMenuV3/OrMenu.js';
3
- import { s as script$1 } from './OrMenu.vue_vue_type_script_lang-f8611f9d.js';
4
- import './components/OrMenuItemV3/OrMenuItem.js';
5
- import { s as script$2 } from './OrMenuItem.vue_vue_type_script_lang-aed2c8e6.js';
6
- import './components/OrButtonV3/OrButton.js';
7
- import { s as script$3 } from './OrButton.vue_vue_type_script_lang-7370e903.js';
8
- import './components/OrIconV3/OrIcon.js';
9
- import { s as script$4 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
10
-
11
- var script = defineComponent({
12
- name: 'OrSorting',
13
- components: {
14
- OrMenu: script$1,
15
- OrMenuItem: script$2,
16
- OrButton: script$3,
17
- OrIcon: script$4
18
- },
19
- props: {
20
- sort: {
21
- type: String,
22
- default: undefined
23
- },
24
- options: {
25
- type: Array,
26
- default: () => []
27
- }
28
- },
29
- emits: ['change'],
30
- setup(props, context) {
31
- // Refs
32
- const sortMenu = ref();
33
- const sortButton = ref();
34
- // State
35
- const proxySort = ref(props.sort);
36
- const sortLabel = computed(() => {
37
- var _a;
38
- return (_a = props.options.find(item => item.value === props.sort)) === null || _a === void 0 ? void 0 : _a.label;
39
- });
40
- // Methods
41
- function handleSort(sort) {
42
- proxySort.value = sort;
43
- }
44
- // Effects
45
- watch(() => props.sort, value => {
46
- proxySort.value = value;
47
- });
48
- watch(proxySort, value => {
49
- context.emit('change', value);
50
- });
51
- return {
52
- sortMenu,
53
- sortButton,
54
- sortLabel,
55
- proxySort,
56
- handleSort
57
- };
58
- }
59
- });
60
-
61
- export { script as s };
@@ -1,82 +0,0 @@
1
- import { s as script } from '../../OrSortingV3.vue_vue_type_script_lang-9e8ccd25.js';
2
- export { s as default } from '../../OrSortingV3.vue_vue_type_script_lang-9e8ccd25.js';
3
- import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createTextVNode, toDisplayString, createBlock, createCommentVNode, Fragment, renderList } from 'vue';
4
- import 'vue-demi';
5
- import '../OrMenuV3/OrMenu.js';
6
- import '../../OrMenu.vue_vue_type_script_lang-f8611f9d.js';
7
- import '../OrMenuV3/styles.js';
8
- import '../OrPopoverV3/OrPopover.js';
9
- import '../../OrPopover.vue_vue_type_script_lang-d15ec5cb.js';
10
- import '../../floating-ui.dom.esm-83eba816.js';
11
- import '../../index-e11e05e2.js';
12
- import '../../index-f4d8e24c.js';
13
- import '../OrPopoverV3/props.js';
14
- import '../OrPopoverV3/styles.js';
15
- import '../OrBottomSheetV3/OrBottomSheet.js';
16
- import '../../OrBottomSheet.vue_vue_type_script_lang-ec375126.js';
17
- import '../OrBottomSheetV3/props.js';
18
- import '../OrBottomSheetV3/styles.js';
19
- import '../OrOverlayV3/OrOverlay.js';
20
- import '../../OrOverlay.vue_vue_type_script_lang-9036d75d.js';
21
- import '../OrOverlayV3/styles.js';
22
- import '../OrTeleportV3/OrTeleport.js';
23
- import '../../OrTeleport.vue3.vue_vue_type_script_lang-a6ce162e.js';
24
- import '../../hooks/useElevation.js';
25
- import '../../utils/isVisible.js';
26
- import '../../hooks/usePopoverState.js';
27
- import '../../hooks/useResponsive/useResponsive.js';
28
- import '../OrMenuItemV3/OrMenuItem.js';
29
- import '../../OrMenuItem.vue_vue_type_script_lang-aed2c8e6.js';
30
- import '../OrMenuItemV3/styles.js';
31
- import '../OrIconV3/OrIcon.js';
32
- import '../../OrIcon.vue_vue_type_script_lang-73f9cc63.js';
33
- import '../OrIconV3/props.js';
34
- import '../OrIconV3/styles.js';
35
- import '../OrButtonV3/OrButton.js';
36
- import '../../OrButton.vue_vue_type_script_lang-7370e903.js';
37
- import '../OrButtonV3/props.js';
38
- import '../OrButtonV3/styles.js';
39
- import '../OrLoaderV3/OrLoader.js';
40
- import '../../OrLoader.vue_vue_type_script_lang-a21dc976.js';
41
- import '../OrLoaderV3/props.js';
42
- import '../OrLoaderV3/styles.js';
43
-
44
- function render(_ctx, _cache, $props, $setup, $data, $options) {
45
- const _component_OrIcon = resolveComponent("OrIcon");
46
- const _component_OrButton = resolveComponent("OrButton");
47
- const _component_OrMenuItem = resolveComponent("OrMenuItem");
48
- const _component_OrMenu = resolveComponent("OrMenu");
49
- return openBlock(), createElementBlock("div", null, [createVNode(_component_OrButton, {
50
- ref: "sortButton",
51
- variant: "link",
52
- color: "inherit",
53
- onClick: _cache[0] || (_cache[0] = $event => _ctx.sortMenu.toggle())
54
- }, {
55
- default: withCtx(() => [createTextVNode(toDisplayString(_ctx.sortLabel) + " ", 1 /* TEXT */), _ctx.sortMenu ? (openBlock(), createBlock(_component_OrIcon, {
56
- key: 0,
57
- icon: _ctx.sortMenu.state === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'
58
- }, null, 8 /* PROPS */, ["icon"])) : createCommentVNode("v-if", true)]),
59
- _: 1 /* STABLE */
60
- }, 512 /* NEED_PATCH */), createVNode(_component_OrMenu, {
61
- ref: "sortMenu",
62
- trigger: _ctx.sortButton && _ctx.sortButton.root,
63
- placement: "bottom-start"
64
- }, {
65
- default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, item => {
66
- return openBlock(), createBlock(_component_OrMenuItem, {
67
- key: item.value,
68
- selected: item.value === _ctx.proxySort,
69
- onClick: $event => _ctx.handleSort(item.value)
70
- }, {
71
- default: withCtx(() => [createTextVNode(toDisplayString(item.label), 1 /* TEXT */)]),
72
-
73
- _: 2 /* DYNAMIC */
74
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["selected", "onClick"]);
75
- }), 128 /* KEYED_FRAGMENT */))]),
76
-
77
- _: 1 /* STABLE */
78
- }, 8 /* PROPS */, ["trigger"])]);
79
- }
80
-
81
- script.render = render;
82
- script.__file = "src/components/or-sorting-v3/OrSortingV3.vue";
@@ -1,33 +0,0 @@
1
- import { PropType } from 'vue-demi';
2
- import { SortOption } from './types';
3
- declare const _default: import("vue-demi").DefineComponent<{
4
- sort: {
5
- type: StringConstructor;
6
- default: undefined;
7
- };
8
- options: {
9
- type: PropType<SortOption[]>;
10
- default: () => never[];
11
- };
12
- }, {
13
- sortMenu: import("vue-demi").Ref<any>;
14
- sortButton: import("vue-demi").Ref<any>;
15
- sortLabel: import("vue-demi").ComputedRef<string | undefined>;
16
- proxySort: import("vue-demi").Ref<string | undefined>;
17
- handleSort: (sort: string) => void;
18
- }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, "change"[], "change", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
19
- sort: {
20
- type: StringConstructor;
21
- default: undefined;
22
- };
23
- options: {
24
- type: PropType<SortOption[]>;
25
- default: () => never[];
26
- };
27
- }>> & {
28
- onChange?: ((...args: any[]) => any) | undefined;
29
- }, {
30
- sort: string;
31
- options: SortOption[];
32
- }>;
33
- export default _default;
@@ -1,2 +0,0 @@
1
- export { default as OrSortingV3 } from './OrSortingV3.vue';
2
- export * from './types';