@onereach/ui-components 2.62.2 → 2.62.3-beta.1897.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 (234) hide show
  1. package/dist/v2/OrCardCollection-89a315ed.js +227 -0
  2. package/dist/v2/{OrConfirm-d561bf82.js → OrConfirm-3896bd11.js} +1 -1
  3. package/dist/v2/{OrInlineInput-e754cb9f.js → OrInlineInput-c1d6fb73.js} +5 -5
  4. package/dist/v2/{OrInlineTextarea-7dc58bb1.js → OrInlineTextarea-7ec4c40d.js} +5 -5
  5. package/dist/v2/{OrInput-0dcfba2a.js → OrInput-0508c3fb.js} +5 -5
  6. package/dist/v2/{OrSearch-45ea8c33.js → OrSearch-feca9f48.js} +1 -1
  7. package/dist/v2/{OrSelect-21247104.js → OrSelect-bb539517.js} +3 -3
  8. package/dist/v2/OrSortHeader-a6004b24.js +133 -0
  9. package/dist/v2/{OrTextarea-8773d494.js → OrTextarea-cc70afc9.js} +5 -5
  10. package/dist/v2/components/index.d.ts +2 -0
  11. package/dist/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +17 -0
  12. package/dist/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +98 -0
  13. package/dist/v2/components/or-card-collection-v3/index.d.ts +3 -0
  14. package/dist/v2/components/or-card-collection-v3/props.d.ts +4 -0
  15. package/dist/v2/components/or-card-collection-v3/styles.d.ts +6 -0
  16. package/dist/v2/components/or-card-collection-v3/types.d.ts +7 -0
  17. package/dist/v2/components/or-sort-header-v3/OrSortHeader.stories3.d.ts +12 -0
  18. package/dist/v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts +57 -0
  19. package/dist/v2/components/or-sort-header-v3/index.d.ts +2 -0
  20. package/dist/v2/components/or-sort-header-v3/styles.d.ts +1 -0
  21. package/dist/v2/components/or-sort-header-v3/types.d.ts +4 -0
  22. package/dist/v2/index.js +9 -7
  23. package/dist/v2/index11.js +20 -1
  24. package/dist/v2/index12.js +3 -12
  25. package/dist/v2/index13.js +3 -2
  26. package/dist/v2/index14.js +11 -5
  27. package/dist/v2/index15.js +5 -14
  28. package/dist/v2/index16.js +4 -19
  29. package/dist/v2/index17.js +28 -4
  30. package/dist/v2/index18.js +3 -7
  31. package/dist/v2/index19.js +5 -23
  32. package/dist/v2/index2.js +9 -7
  33. package/dist/v2/index20.js +25 -21
  34. package/dist/v2/index21.js +21 -18
  35. package/dist/v2/index22.js +20 -2
  36. package/dist/v2/index23.js +2 -4
  37. package/dist/v2/index24.js +2 -1
  38. package/dist/v2/index25.js +1 -2
  39. package/dist/v2/index26.js +2 -2
  40. package/dist/v2/index27.js +4 -7
  41. package/dist/v2/index28.js +6 -2
  42. package/dist/v2/index29.js +3 -3
  43. package/dist/v2/index30.js +3 -10
  44. package/dist/v2/index31.js +9 -12
  45. package/dist/v2/index32.js +11 -1
  46. package/dist/v2/index33.js +1 -1
  47. package/dist/v2/index34.js +1 -16
  48. package/dist/v2/index35.js +17 -17
  49. package/dist/v2/index36.js +17 -17
  50. package/dist/v2/index37.js +16 -1
  51. package/dist/v2/index38.js +1 -17
  52. package/dist/v2/index39.js +18 -22
  53. package/dist/v2/index40.js +22 -2
  54. package/dist/v2/index41.js +3 -3
  55. package/dist/v2/index42.js +1 -1
  56. package/dist/v2/index43.js +3 -20
  57. package/dist/v2/index44.js +1 -7
  58. package/dist/v2/index45.js +24 -1
  59. package/dist/v2/index46.js +3 -3
  60. package/dist/v2/index47.js +1 -2
  61. package/dist/v2/index48.js +2 -9
  62. package/dist/v2/index49.js +10 -17
  63. package/dist/v2/index50.js +17 -13
  64. package/dist/v2/index51.js +13 -14
  65. package/dist/v2/index52.js +14 -13
  66. package/dist/v2/index53.js +12 -15
  67. package/dist/v2/index54.js +16 -1
  68. package/dist/v2/index55.js +2 -6
  69. package/dist/v2/index56.js +1 -5
  70. package/dist/v2/index57.js +10 -3
  71. package/dist/v2/index58.js +2 -4
  72. package/dist/v2/index59.js +5 -3
  73. package/dist/v2/index60.js +2 -1
  74. package/dist/v2/index61.js +2 -5
  75. package/dist/v2/index62.js +3 -18
  76. package/dist/v2/index63.js +18 -15
  77. package/dist/v2/index64.js +15 -23
  78. package/dist/v2/index65.js +25 -4
  79. package/dist/v2/index66.js +2 -1
  80. package/dist/v2/index67.js +3 -4
  81. package/dist/v2/index68.js +3 -4
  82. package/dist/v2/index69.js +3 -10
  83. package/dist/v2/index70.js +3 -6
  84. package/dist/v2/index71.js +4 -4
  85. package/dist/v2/index72.js +15 -6
  86. package/dist/v2/index73.js +2 -2
  87. package/dist/v2/index74.js +6 -3
  88. package/dist/v2/index75.js +4 -3
  89. package/dist/v2/index76.js +1 -2
  90. package/dist/v2/index77.js +2 -14
  91. package/dist/v2/index78.js +2 -10
  92. package/dist/v2/index79.js +5 -4
  93. package/dist/v2/index80.js +12 -2
  94. package/dist/v2/index81.js +14 -2
  95. package/dist/v2/index82.js +2 -3
  96. package/dist/v2/index83.js +2 -8
  97. package/dist/v2/index84.js +2 -20
  98. package/dist/v2/index85.js +8 -18
  99. package/dist/v2/index86.js +21 -1
  100. package/dist/v2/index87.js +17 -16
  101. package/dist/v2/index88.js +1 -1
  102. package/dist/v2/index89.js +17 -9
  103. package/dist/v2/index90.js +2 -12
  104. package/dist/v2/index91.js +10 -6
  105. package/dist/v2/index92.js +11 -1
  106. package/dist/v2/index93.js +7 -0
  107. package/dist/v2/index94.js +3 -0
  108. package/dist/v3/OrCardCollection-85a00f6c.js +198 -0
  109. package/dist/v3/{OrConfirm-a9d3f157.js → OrConfirm-9990d64a.js} +1 -1
  110. package/dist/v3/{OrInlineInput-8f473205.js → OrInlineInput-bc5fa87a.js} +5 -3
  111. package/dist/v3/{OrInlineTextarea-86f4506d.js → OrInlineTextarea-c433b451.js} +5 -3
  112. package/dist/v3/{OrInput-f51916d4.js → OrInput-2b05a69c.js} +5 -3
  113. package/dist/v3/{OrSearch-e27cadbf.js → OrSearch-1272c3df.js} +1 -1
  114. package/dist/v3/{OrSelect-4cd90c6b.js → OrSelect-529b4567.js} +6 -4
  115. package/dist/v3/OrSortHeader-5eba50cd.js +104 -0
  116. package/dist/v3/{OrTextarea-09aa33dc.js → OrTextarea-98895b2a.js} +6 -4
  117. package/dist/v3/components/index.d.ts +2 -0
  118. package/dist/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +17 -0
  119. package/dist/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +98 -0
  120. package/dist/v3/components/or-card-collection-v3/index.d.ts +3 -0
  121. package/dist/v3/components/or-card-collection-v3/props.d.ts +4 -0
  122. package/dist/v3/components/or-card-collection-v3/styles.d.ts +6 -0
  123. package/dist/v3/components/or-card-collection-v3/types.d.ts +7 -0
  124. package/dist/v3/components/or-sort-header-v3/OrSortHeader.stories3.d.ts +12 -0
  125. package/dist/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +57 -0
  126. package/dist/v3/components/or-sort-header-v3/index.d.ts +2 -0
  127. package/dist/v3/components/or-sort-header-v3/styles.d.ts +1 -0
  128. package/dist/v3/components/or-sort-header-v3/types.d.ts +4 -0
  129. package/dist/v3/index.js +9 -7
  130. package/dist/v3/index11.js +19 -1
  131. package/dist/v3/index12.js +3 -11
  132. package/dist/v3/index13.js +3 -2
  133. package/dist/v3/index14.js +9 -4
  134. package/dist/v3/index15.js +4 -11
  135. package/dist/v3/index16.js +3 -17
  136. package/dist/v3/index17.js +25 -4
  137. package/dist/v3/index18.js +3 -6
  138. package/dist/v3/index19.js +5 -20
  139. package/dist/v3/index2.js +9 -7
  140. package/dist/v3/index20.js +21 -20
  141. package/dist/v3/index21.js +20 -15
  142. package/dist/v3/index22.js +16 -1
  143. package/dist/v3/index23.js +2 -4
  144. package/dist/v3/index24.js +2 -1
  145. package/dist/v3/index25.js +1 -2
  146. package/dist/v3/index26.js +2 -2
  147. package/dist/v3/index27.js +4 -6
  148. package/dist/v3/index28.js +5 -2
  149. package/dist/v3/index29.js +3 -3
  150. package/dist/v3/index30.js +3 -9
  151. package/dist/v3/index31.js +8 -11
  152. package/dist/v3/index32.js +10 -1
  153. package/dist/v3/index33.js +1 -1
  154. package/dist/v3/index34.js +1 -15
  155. package/dist/v3/index35.js +16 -14
  156. package/dist/v3/index36.js +14 -16
  157. package/dist/v3/index37.js +16 -2
  158. package/dist/v3/index38.js +2 -17
  159. package/dist/v3/index39.js +17 -17
  160. package/dist/v3/index40.js +16 -1
  161. package/dist/v3/index41.js +3 -3
  162. package/dist/v3/index42.js +1 -1
  163. package/dist/v3/index43.js +3 -16
  164. package/dist/v3/index44.js +1 -7
  165. package/dist/v3/index45.js +20 -1
  166. package/dist/v3/index46.js +3 -3
  167. package/dist/v3/index47.js +1 -2
  168. package/dist/v3/index48.js +2 -8
  169. package/dist/v3/index49.js +9 -14
  170. package/dist/v3/index50.js +14 -12
  171. package/dist/v3/index51.js +12 -11
  172. package/dist/v3/index52.js +11 -12
  173. package/dist/v3/index53.js +11 -11
  174. package/dist/v3/index54.js +12 -1
  175. package/dist/v3/index55.js +2 -5
  176. package/dist/v3/index56.js +1 -5
  177. package/dist/v3/index57.js +9 -3
  178. package/dist/v3/index58.js +2 -4
  179. package/dist/v3/index59.js +5 -3
  180. package/dist/v3/index60.js +2 -1
  181. package/dist/v3/index61.js +1 -4
  182. package/dist/v3/index62.js +3 -17
  183. package/dist/v3/index63.js +17 -14
  184. package/dist/v3/index64.js +13 -21
  185. package/dist/v3/index65.js +23 -3
  186. package/dist/v3/index66.js +2 -1
  187. package/dist/v3/index67.js +3 -4
  188. package/dist/v3/index68.js +3 -4
  189. package/dist/v3/index69.js +3 -9
  190. package/dist/v3/index70.js +3 -4
  191. package/dist/v3/index71.js +4 -4
  192. package/dist/v3/index72.js +11 -5
  193. package/dist/v3/index73.js +2 -2
  194. package/dist/v3/index74.js +5 -2
  195. package/dist/v3/index75.js +4 -3
  196. package/dist/v3/index76.js +1 -2
  197. package/dist/v3/index77.js +2 -13
  198. package/dist/v3/index78.js +2 -9
  199. package/dist/v3/index79.js +5 -4
  200. package/dist/v3/index80.js +11 -1
  201. package/dist/v3/index81.js +13 -1
  202. package/dist/v3/index82.js +1 -3
  203. package/dist/v3/index83.js +1 -8
  204. package/dist/v3/index84.js +2 -17
  205. package/dist/v3/index85.js +7 -14
  206. package/dist/v3/index86.js +18 -1
  207. package/dist/v3/index87.js +14 -15
  208. package/dist/v3/index88.js +1 -1
  209. package/dist/v3/index89.js +15 -6
  210. package/dist/v3/index90.js +2 -11
  211. package/dist/v3/index91.js +8 -6
  212. package/dist/v3/index92.js +10 -1
  213. package/dist/v3/index93.js +7 -0
  214. package/dist/v3/index94.js +3 -0
  215. package/package.json +2 -3
  216. package/src/components/index.ts +2 -0
  217. package/src/components/or-card-collection-v3/OrCardCollection.docs.mdx +3 -0
  218. package/src/components/or-card-collection-v3/OrCardCollection.stories3.ts +162 -0
  219. package/src/components/or-card-collection-v3/OrCardCollection.vue +210 -0
  220. package/src/components/or-card-collection-v3/index.ts +3 -0
  221. package/src/components/or-card-collection-v3/props.ts +4 -0
  222. package/src/components/or-card-collection-v3/styles.ts +53 -0
  223. package/src/components/or-card-collection-v3/types.ts +8 -0
  224. package/src/components/or-inline-input-v3/OrInlineInput.vue +12 -10
  225. package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +12 -10
  226. package/src/components/or-input-v3/OrInput.vue +12 -10
  227. package/src/components/or-select-v3/OrSelect.vue +5 -3
  228. package/src/components/or-sort-header-v3/OrSortHeader.docs.mdx +3 -0
  229. package/src/components/or-sort-header-v3/OrSortHeader.stories3.ts +132 -0
  230. package/src/components/or-sort-header-v3/OrSortHeader.vue +111 -0
  231. package/src/components/or-sort-header-v3/index.ts +2 -0
  232. package/src/components/or-sort-header-v3/styles.ts +23 -0
  233. package/src/components/or-sort-header-v3/types.ts +4 -0
  234. package/src/components/or-textarea-v3/OrTextarea.vue +12 -10
@@ -1,4 +1,16 @@
1
- export { _ as OrTeleportV3 } from './OrTeleport.vue2-fb92f29f.js';
2
- import 'portal-vue';
1
+ export { _ as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-c42c3f9c.js';
3
2
  import 'vue-demi';
3
+ import './useClassAttribute-47fdb016.js';
4
+ import '@vueuse/core';
5
+ import './OrIconButton-1b34f3fa.js';
6
+ import './OrIcon-124f3bad.js';
4
7
  import './normalize-component-6e8e3d80.js';
8
+ import './OrTooltip-caeac590.js';
9
+ import './OrPopover-9080fc00.js';
10
+ import '@floating-ui/dom';
11
+ import './useElevation-0e973238.js';
12
+ import './useResponsive-a02e95b7.js';
13
+ import './OrBottomSheet-f09adbbb.js';
14
+ import './OrOverlay-4838a9b0.js';
15
+ import './OrTeleport.vue2-fb92f29f.js';
16
+ import 'portal-vue';
@@ -1,5 +1,4 @@
1
- export { _ as OrTextV3 } from './OrText-ba5a2b6c.js';
1
+ export { _ as OrTeleport } from './OrTeleportVue2-fce4676d.js';
2
2
  import 'vue-demi';
3
- import './useClassAttribute-47fdb016.js';
4
- import '@vueuse/core';
3
+ import 'vue';
5
4
  import './normalize-component-6e8e3d80.js';
@@ -1,10 +1,4 @@
1
- export { _ as OrTextareaV3 } from './OrTextarea-8773d494.js';
2
- export { a as TextareaSize } from './OrInputBox-208dceac.js';
1
+ export { _ as OrTeleportV3 } from './OrTeleport.vue2-fb92f29f.js';
2
+ import 'portal-vue';
3
3
  import 'vue-demi';
4
- import './useClassAttribute-47fdb016.js';
5
- import '@vueuse/core';
6
- import './OrError-be656098.js';
7
4
  import './normalize-component-6e8e3d80.js';
8
- import './OrHint-44356417.js';
9
- import './OrLabel-5670468e.js';
10
- import './style-inject.es-4c6f2515.js';
@@ -1,23 +1,5 @@
1
- export { _ as OrTextbox, T as TextboxTypes } from './OrTextbox-91382d58.js';
1
+ export { _ as OrTextV3 } from './OrText-ba5a2b6c.js';
2
2
  import 'vue-demi';
3
+ import './useClassAttribute-47fdb016.js';
3
4
  import '@vueuse/core';
4
- import './useToggle-29e4d7c7.js';
5
- import './px-to-rem-0b26b83e.js';
6
- import './dom-7a41831b.js';
7
- import 'lodash';
8
- import './OrLabel-931394a5.js';
9
- import './style-inject.es-4c6f2515.js';
10
5
  import './normalize-component-6e8e3d80.js';
11
- import './OrIconButton.vue_rollup-plugin-vue_styles.0-dc224e53.js';
12
- import './OrIcon-7cd10497.js';
13
- import './OrTooltip.vue_rollup-plugin-vue_styles.0-54c17910.js';
14
- import './OrFloating-b15309d1.js';
15
- import '@floating-ui/dom';
16
- import './OrTeleportVue2-fce4676d.js';
17
- import 'vue';
18
- import './OrLoader-212ef381.js';
19
- import './OrTooltip-b31bd78d.js';
20
- import './OrIconButton-cab39659.js';
21
- import './OrHint-fe65fbe6.js';
22
- import './OrError-efc74907.js';
23
- import './OrCollapse-50e3914c.js';
@@ -1,20 +1,10 @@
1
- export { _ as OrToast, a as OrToastContainer } from './OrToastContainer-e285a86c.js';
2
- export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
3
- import './OrIconButton.vue_rollup-plugin-vue_styles.0-dc224e53.js';
1
+ export { _ as OrTextareaV3 } from './OrTextarea-cc70afc9.js';
2
+ export { a as TextareaSize } from './OrInputBox-208dceac.js';
4
3
  import 'vue-demi';
5
- import './OrIcon-7cd10497.js';
6
- import 'lodash';
7
- import './OrTooltip.vue_rollup-plugin-vue_styles.0-54c17910.js';
8
- import './style-inject.es-4c6f2515.js';
9
- import './normalize-component-6e8e3d80.js';
10
- import './OrFloating-b15309d1.js';
11
- import '@floating-ui/dom';
12
- import './OrTeleportVue2-fce4676d.js';
13
- import 'vue';
14
- import './dom-7a41831b.js';
15
- import './px-to-rem-0b26b83e.js';
16
- import './OrLoader-212ef381.js';
17
- import './OrTooltip-b31bd78d.js';
18
- import './OrIconButton-cab39659.js';
19
- import './OrProgress-e6f20dc1.js';
4
+ import './useClassAttribute-47fdb016.js';
20
5
  import '@vueuse/core';
6
+ import './OrError-be656098.js';
7
+ import './normalize-component-6e8e3d80.js';
8
+ import './OrHint-44356417.js';
9
+ import './OrLabel-5670468e.js';
10
+ import './style-inject.es-4c6f2515.js';
@@ -1,3 +1,23 @@
1
- export { a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
1
+ export { _ as OrTextbox, T as TextboxTypes } from './OrTextbox-91382d58.js';
2
2
  import 'vue-demi';
3
3
  import '@vueuse/core';
4
+ import './useToggle-29e4d7c7.js';
5
+ import './px-to-rem-0b26b83e.js';
6
+ import './dom-7a41831b.js';
7
+ import 'lodash';
8
+ import './OrLabel-931394a5.js';
9
+ import './style-inject.es-4c6f2515.js';
10
+ import './normalize-component-6e8e3d80.js';
11
+ import './OrIconButton.vue_rollup-plugin-vue_styles.0-dc224e53.js';
12
+ import './OrIcon-7cd10497.js';
13
+ import './OrTooltip.vue_rollup-plugin-vue_styles.0-54c17910.js';
14
+ import './OrFloating-b15309d1.js';
15
+ import '@floating-ui/dom';
16
+ import './OrTeleportVue2-fce4676d.js';
17
+ import 'vue';
18
+ import './OrLoader-212ef381.js';
19
+ import './OrTooltip-b31bd78d.js';
20
+ import './OrIconButton-cab39659.js';
21
+ import './OrHint-fe65fbe6.js';
22
+ import './OrError-efc74907.js';
23
+ import './OrCollapse-50e3914c.js';
@@ -1,19 +1,20 @@
1
- export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-8ea6482d.js';
2
- export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
3
- import '@vueuse/core';
1
+ export { _ as OrToast, a as OrToastContainer } from './OrToastContainer-e285a86c.js';
2
+ export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
3
+ import './OrIconButton.vue_rollup-plugin-vue_styles.0-dc224e53.js';
4
4
  import 'vue-demi';
5
- import './OrTeleport.vue2-fb92f29f.js';
6
- import 'portal-vue';
5
+ import './OrIcon-7cd10497.js';
6
+ import 'lodash';
7
+ import './OrTooltip.vue_rollup-plugin-vue_styles.0-54c17910.js';
8
+ import './style-inject.es-4c6f2515.js';
7
9
  import './normalize-component-6e8e3d80.js';
8
- import './OrIconButton-1b34f3fa.js';
9
- import './useClassAttribute-47fdb016.js';
10
- import './OrIcon-124f3bad.js';
11
- import './OrTooltip-caeac590.js';
12
- import './OrPopover-9080fc00.js';
10
+ import './OrFloating-b15309d1.js';
13
11
  import '@floating-ui/dom';
14
- import './useElevation-0e973238.js';
15
- import './useResponsive-a02e95b7.js';
16
- import './OrBottomSheet-f09adbbb.js';
17
- import './OrOverlay-4838a9b0.js';
18
- import './OrLoader-bd088836.js';
19
- import './style-inject.es-4c6f2515.js';
12
+ import './OrTeleportVue2-fce4676d.js';
13
+ import 'vue';
14
+ import './dom-7a41831b.js';
15
+ import './px-to-rem-0b26b83e.js';
16
+ import './OrLoader-212ef381.js';
17
+ import './OrTooltip-b31bd78d.js';
18
+ import './OrIconButton-cab39659.js';
19
+ import './OrProgress-e6f20dc1.js';
20
+ import '@vueuse/core';
@@ -1,3 +1,3 @@
1
- export { a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
1
+ export { a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
2
2
  import 'vue-demi';
3
3
  import '@vueuse/core';
@@ -1,11 +1,19 @@
1
- export { _ as OrTooltip } from './OrTooltip-b31bd78d.js';
2
- export { _ as OrTooltipContent } from './OrTooltip.vue_rollup-plugin-vue_styles.0-54c17910.js';
3
- import './normalize-component-6e8e3d80.js';
1
+ export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-8ea6482d.js';
2
+ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
3
+ import '@vueuse/core';
4
4
  import 'vue-demi';
5
- import 'lodash';
6
- import './style-inject.es-4c6f2515.js';
7
- import './OrFloating-b15309d1.js';
5
+ import './OrTeleport.vue2-fb92f29f.js';
6
+ import 'portal-vue';
7
+ import './normalize-component-6e8e3d80.js';
8
+ import './OrIconButton-1b34f3fa.js';
9
+ import './useClassAttribute-47fdb016.js';
10
+ import './OrIcon-124f3bad.js';
11
+ import './OrTooltip-caeac590.js';
12
+ import './OrPopover-9080fc00.js';
8
13
  import '@floating-ui/dom';
9
- import './OrTeleportVue2-fce4676d.js';
10
- import 'vue';
11
- import './dom-7a41831b.js';
14
+ import './useElevation-0e973238.js';
15
+ import './useResponsive-a02e95b7.js';
16
+ import './OrBottomSheet-f09adbbb.js';
17
+ import './OrOverlay-4838a9b0.js';
18
+ import './OrLoader-bd088836.js';
19
+ import './style-inject.es-4c6f2515.js';
@@ -1,13 +1,3 @@
1
- export { _ as OrTooltipV3 } from './OrTooltip-caeac590.js';
2
- export { P as TooltipPlacement } from './OrPopover-9080fc00.js';
3
- import '@vueuse/core';
1
+ export { a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
4
2
  import 'vue-demi';
5
- import './useClassAttribute-47fdb016.js';
6
- import './normalize-component-6e8e3d80.js';
7
- import '@floating-ui/dom';
8
- import './useElevation-0e973238.js';
9
- import './useResponsive-a02e95b7.js';
10
- import './OrBottomSheet-f09adbbb.js';
11
- import './OrOverlay-4838a9b0.js';
12
- import './OrTeleport.vue2-fb92f29f.js';
13
- import 'portal-vue';
3
+ import '@vueuse/core';
@@ -1,7 +1,11 @@
1
- export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
2
- export { u as useElevation } from './useElevation-0e973238.js';
3
- export { u as useOverflow } from './useOverflow-ac506c65.js';
4
- export { u as useResponsive } from './useResponsive-a02e95b7.js';
5
- export { u as useToggle } from './useToggle-29e4d7c7.js';
1
+ export { _ as OrTooltip } from './OrTooltip-b31bd78d.js';
2
+ export { _ as OrTooltipContent } from './OrTooltip.vue_rollup-plugin-vue_styles.0-54c17910.js';
3
+ import './normalize-component-6e8e3d80.js';
6
4
  import 'vue-demi';
7
- import '@vueuse/core';
5
+ import 'lodash';
6
+ import './style-inject.es-4c6f2515.js';
7
+ import './OrFloating-b15309d1.js';
8
+ import '@floating-ui/dom';
9
+ import './OrTeleportVue2-fce4676d.js';
10
+ import 'vue';
11
+ import './dom-7a41831b.js';
@@ -1,3 +1,13 @@
1
- export { u as useResponsive } from './useResponsive-a02e95b7.js';
1
+ export { _ as OrTooltipV3 } from './OrTooltip-caeac590.js';
2
+ export { P as TooltipPlacement } from './OrPopover-9080fc00.js';
2
3
  import '@vueuse/core';
3
4
  import 'vue-demi';
5
+ import './useClassAttribute-47fdb016.js';
6
+ import './normalize-component-6e8e3d80.js';
7
+ import '@floating-ui/dom';
8
+ import './useElevation-0e973238.js';
9
+ import './useResponsive-a02e95b7.js';
10
+ import './OrBottomSheet-f09adbbb.js';
11
+ import './OrOverlay-4838a9b0.js';
12
+ import './OrTeleport.vue2-fb92f29f.js';
13
+ import 'portal-vue';
@@ -0,0 +1,7 @@
1
+ export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
2
+ export { u as useElevation } from './useElevation-0e973238.js';
3
+ export { u as useOverflow } from './useOverflow-ac506c65.js';
4
+ export { u as useResponsive } from './useResponsive-a02e95b7.js';
5
+ export { u as useToggle } from './useToggle-29e4d7c7.js';
6
+ import 'vue-demi';
7
+ import '@vueuse/core';
@@ -0,0 +1,3 @@
1
+ export { u as useResponsive } from './useResponsive-a02e95b7.js';
2
+ import '@vueuse/core';
3
+ import 'vue-demi';
@@ -0,0 +1,198 @@
1
+ import { defineComponent, ref, computed, watch } from 'vue-demi';
2
+ import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
3
+ import '@vueuse/core';
4
+ import { s as script$1 } from './OrCard-b63658a8.js';
5
+ import { s as script$2 } from './OrIconButton-f9226adf.js';
6
+ import { s as script$3 } from './OrInput-2b05a69c.js';
7
+ import { s as script$4 } from './OrSortHeader-5eba50cd.js';
8
+ import { resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, createVNode, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
9
+
10
+ var CardCollectionView;
11
+ (function (CardCollectionView) {
12
+ CardCollectionView["Grid"] = "grid";
13
+ CardCollectionView["List"] = "list";
14
+ })(CardCollectionView || (CardCollectionView = {}));
15
+
16
+ const CardCollectionRoot = [
17
+ // Layout
18
+ 'flex flex-col',
19
+ // Spacing
20
+ 'gap-md'];
21
+ const CardCollectionToolbar = [
22
+ // Layout
23
+ 'flex', 'justify-between', 'items-center',
24
+ // Typography
25
+ 'typography-body-2-regular',
26
+ // Theme
27
+ 'theme-foreground-default', 'dark:theme-foreground-default-dark'];
28
+ const CardCollectionToolbarPanel = [
29
+ // Layout
30
+ 'flex', 'justify-normal', 'items-center',
31
+ // Spacing
32
+ 'gap-sm'];
33
+ const CardCollectionContent = [
34
+ // Layout
35
+ 'grid',
36
+ // Spacing
37
+ 'gap-sm md:gap-md'];
38
+ const CardCollectionContentViews = {
39
+ 'grid': [
40
+ // Layout
41
+ 'sm:grid-cols-1', 'md:grid-cols-2', 'lg:grid-cols-4', 'xl:grid-cols-6'],
42
+ 'list': []
43
+ };
44
+
45
+ var script = defineComponent({
46
+ name: 'OrCardCollection',
47
+ components: {
48
+ OrCard: script$1,
49
+ OrIconButton: script$2,
50
+ OrInput: script$3,
51
+ OrSortHeader: script$4
52
+ },
53
+ inheritAttrs: false,
54
+ props: {
55
+ items: {
56
+ type: Array,
57
+ default: []
58
+ },
59
+ view: {
60
+ type: String,
61
+ default: CardCollectionView.Grid
62
+ },
63
+ sort: {
64
+ type: Object,
65
+ default: undefined
66
+ },
67
+ sortHeaders: {
68
+ type: Array,
69
+ default: undefined
70
+ },
71
+ search: {
72
+ type: String,
73
+ default: undefined
74
+ }
75
+ },
76
+ emits: ['viewChange', 'sortChange', 'searchChange'],
77
+ expose: ['root'],
78
+ setup(props, context) {
79
+ // Refs
80
+ const root = ref();
81
+ // Styles
82
+ const classAttribute = useClassAttribute();
83
+ const rootStyles = computed(() => ['or-card-collection', ...CardCollectionRoot, classAttribute.value]);
84
+ const toolbarStyles = computed(() => [...CardCollectionToolbar]);
85
+ const toolbarPanelStyles = computed(() => [...CardCollectionToolbarPanel]);
86
+ const contentStyles = computed(() => [...CardCollectionContent, ...CardCollectionContentViews[proxyView.value]]);
87
+ // State
88
+ const proxyView = ref(props.view);
89
+ const proxySort = ref(props.sort);
90
+ const proxySearch = ref(props.search);
91
+ // Methods
92
+ function switchToGridView() {
93
+ proxyView.value = CardCollectionView.Grid;
94
+ }
95
+ function switchToListView() {
96
+ proxyView.value = CardCollectionView.List;
97
+ }
98
+ // Effects
99
+ watch(() => props.view, value => {
100
+ proxyView.value = value;
101
+ });
102
+ watch(proxyView, value => {
103
+ context.emit('viewChange', value);
104
+ });
105
+ watch(() => props.sort, value => {
106
+ proxySort.value = value;
107
+ });
108
+ watch(proxySort, value => {
109
+ context.emit('sortChange', value);
110
+ });
111
+ watch(() => props.search, value => {
112
+ proxySearch.value = value;
113
+ });
114
+ watch(proxySearch, value => {
115
+ context.emit('searchChange', value);
116
+ });
117
+ return {
118
+ root,
119
+ rootStyles,
120
+ toolbarStyles,
121
+ toolbarPanelStyles,
122
+ contentStyles,
123
+ proxyView,
124
+ proxySort,
125
+ proxySearch,
126
+ switchToGridView,
127
+ switchToListView
128
+ };
129
+ }
130
+ });
131
+
132
+ function render(_ctx, _cache, $props, $setup, $data, $options) {
133
+ const _component_OrSortHeader = resolveComponent("OrSortHeader");
134
+ const _component_OrInput = resolveComponent("OrInput");
135
+ const _component_OrIconButton = resolveComponent("OrIconButton");
136
+ const _component_OrCard = resolveComponent("OrCard");
137
+ return openBlock(), createElementBlock("div", mergeProps({
138
+ ref: "root"
139
+ }, _ctx.$attrs, {
140
+ class: _ctx.rootStyles
141
+ }), [createElementVNode("div", {
142
+ class: normalizeClass(_ctx.toolbarStyles)
143
+ }, [createElementVNode("div", {
144
+ class: normalizeClass(_ctx.toolbarPanelStyles)
145
+ }, [_ctx.sortHeaders ? (openBlock(true), createElementBlock(Fragment, {
146
+ key: 0
147
+ }, renderList(_ctx.sortHeaders, header => {
148
+ return openBlock(), createBlock(_component_OrSortHeader, {
149
+ key: header.value,
150
+ modelValue: _ctx.proxySort,
151
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxySort = $event),
152
+ "input-value": header.value
153
+ }, {
154
+ default: withCtx(() => [createTextVNode(toDisplayString(header.label), 1 /* TEXT */)]),
155
+
156
+ _: 2 /* DYNAMIC */
157
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["modelValue", "input-value"]);
158
+ }), 128 /* KEYED_FRAGMENT */)) : createCommentVNode("v-if", true)], 2 /* CLASS */), createElementVNode("div", {
159
+ class: normalizeClass(_ctx.toolbarPanelStyles)
160
+ }, [createVNode(_component_OrInput, {
161
+ modelValue: _ctx.proxySearch,
162
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = $event => _ctx.proxySearch = $event),
163
+ type: 'search',
164
+ placeholder: 'Search',
165
+ size: 's'
166
+ }, null, 8 /* PROPS */, ["modelValue"]), createVNode(_component_OrIconButton, {
167
+ icon: 'grid_view',
168
+ onClick: _cache[2] || (_cache[2] = $event => _ctx.switchToGridView())
169
+ }), createVNode(_component_OrIconButton, {
170
+ icon: 'view_list',
171
+ onClick: _cache[3] || (_cache[3] = $event => _ctx.switchToListView())
172
+ }), renderSlot(_ctx.$slots, "addon")], 2 /* CLASS */)], 2 /* CLASS */), createElementVNode("div", {
173
+ class: normalizeClass(_ctx.contentStyles)
174
+ }, [_ctx.proxyView === 'grid' ? (openBlock(true), createElementBlock(Fragment, {
175
+ key: 0
176
+ }, renderList(_ctx.items, item => {
177
+ return openBlock(), createBlock(_component_OrCard, {
178
+ key: item.id
179
+ }, {
180
+ default: withCtx(() => [renderSlot(_ctx.$slots, "gridItem", normalizeProps(guardReactiveProps(item)))]),
181
+ _: 2 /* DYNAMIC */
182
+ }, 1024 /* DYNAMIC_SLOTS */);
183
+ }), 128 /* KEYED_FRAGMENT */)) : createCommentVNode("v-if", true), _ctx.proxyView === 'list' ? (openBlock(true), createElementBlock(Fragment, {
184
+ key: 1
185
+ }, renderList(_ctx.items, item => {
186
+ return openBlock(), createBlock(_component_OrCard, {
187
+ key: item.id
188
+ }, {
189
+ default: withCtx(() => [renderSlot(_ctx.$slots, "listItem", normalizeProps(guardReactiveProps(item)))]),
190
+ _: 2 /* DYNAMIC */
191
+ }, 1024 /* DYNAMIC_SLOTS */);
192
+ }), 128 /* KEYED_FRAGMENT */)) : createCommentVNode("v-if", true)], 2 /* CLASS */)], 16 /* FULL_PROPS */);
193
+ }
194
+
195
+ script.render = render;
196
+ script.__file = "src/components/or-card-collection-v3/OrCardCollection.vue";
197
+
198
+ export { CardCollectionView as C, script as s };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, computed, watch } from 'vue-demi';
2
2
  import { s as script$2, a as ButtonColor } from './OrButton-12b36e89.js';
3
3
  import { s as script$1 } from './OrOverlay-27050c19.js';
4
- import { s as script$3 } from './OrInput-f51916d4.js';
4
+ import { s as script$3 } from './OrInput-2b05a69c.js';
5
5
  import { useMagicKeys, whenever } from '@vueuse/core';
6
6
  import { logicAnd } from '@vueuse/math';
7
7
  import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from 'vue';
@@ -5,7 +5,7 @@ import { s as script$1 } from './OrError-19a62a18.js';
5
5
  import { s as script$2 } from './OrHint-73835593.js';
6
6
  import { s as script$3 } from './OrIconButton-f9226adf.js';
7
7
  import { s as script$4, I as InlineInputBoxSize } from './OrInlineInputBox-1b473796.js';
8
- import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelDynamic, withModifiers, createCommentVNode, createBlock, createSlots, createTextVNode, toDisplayString } from 'vue';
8
+ import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelDynamic, withModifiers, createCommentVNode, Fragment, createBlock, createSlots, createTextVNode, toDisplayString } from 'vue';
9
9
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
10
10
 
11
11
  var InlineInputType;
@@ -201,7 +201,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
201
201
  icon: 'close',
202
202
  color: 'inherit',
203
203
  onClick: withModifiers(_ctx.reset, ["stop"])
204
- }, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]), !_ctx.invalid ? (openBlock(), createBlock(_component_OrHint, {
204
+ }, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
205
+ key: 0
206
+ }, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
205
207
  key: 0
206
208
  }, createSlots({
207
209
  default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint) + " ", 1 /* TEXT */)]),
@@ -212,7 +214,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
212
214
  fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
213
215
 
214
216
  key: "0"
215
- } : undefined]), 1024 /* DYNAMIC_SLOTS */)) : (openBlock(), createBlock(_component_OrError, {
217
+ } : undefined]), 1024 /* DYNAMIC_SLOTS */)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
216
218
  key: 1
217
219
  }, createSlots({
218
220
  default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error) + " ", 1 /* TEXT */)]),
@@ -5,7 +5,7 @@ import { s as script$1 } from './OrError-19a62a18.js';
5
5
  import { s as script$2 } from './OrHint-73835593.js';
6
6
  import { s as script$3 } from './OrIconButton-f9226adf.js';
7
7
  import { s as script$4 } from './OrInlineInputBox-1b473796.js';
8
- import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelText, withModifiers, createCommentVNode, createBlock, createSlots, createTextVNode, toDisplayString } from 'vue';
8
+ import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelText, withModifiers, createCommentVNode, Fragment, createBlock, createSlots, createTextVNode, toDisplayString } from 'vue';
9
9
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
10
10
 
11
11
  const InlineTextareaRoot = [
@@ -186,7 +186,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
186
186
  icon: 'close',
187
187
  color: 'inherit',
188
188
  onClick: withModifiers(_ctx.reset, ["stop"])
189
- }, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]), !_ctx.invalid ? (openBlock(), createBlock(_component_OrHint, {
189
+ }, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
190
+ key: 0
191
+ }, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
190
192
  key: 0
191
193
  }, createSlots({
192
194
  default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint) + " ", 1 /* TEXT */)]),
@@ -197,7 +199,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
197
199
  fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
198
200
 
199
201
  key: "0"
200
- } : undefined]), 1024 /* DYNAMIC_SLOTS */)) : (openBlock(), createBlock(_component_OrError, {
202
+ } : undefined]), 1024 /* DYNAMIC_SLOTS */)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
201
203
  key: 1
202
204
  }, createSlots({
203
205
  default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error) + " ", 1 /* TEXT */)]),
@@ -209,8 +209,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
209
209
  variant: 'outlined'
210
210
  }))], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)]),
211
211
  _: 1 /* STABLE */
212
- }, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"]), !_ctx.invalid ? (openBlock(), createBlock(_component_OrHint, {
213
- key: 1,
212
+ }, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
213
+ key: 1
214
+ }, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
215
+ key: 0,
214
216
  disabled: _ctx.disabled
215
217
  }, createSlots({
216
218
  default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint) + " ", 1 /* TEXT */)]),
@@ -221,7 +223,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
221
223
  fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
222
224
 
223
225
  key: "0"
224
- } : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : (openBlock(), createBlock(_component_OrError, {
226
+ } : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
225
227
  key: 2,
226
228
  disabled: _ctx.disabled
227
229
  }, createSlots({
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, computed } from 'vue-demi';
2
2
  import { debouncedWatch } from '@vueuse/core';
3
3
  import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
4
- import { s as script$1 } from './OrInput-f51916d4.js';
4
+ import { s as script$1 } from './OrInput-2b05a69c.js';
5
5
  import { a as InputBoxSize } from './OrInputBox-634230b1.js';
6
6
  import { resolveComponent, openBlock, createBlock, mergeProps } from 'vue';
7
7
 
@@ -8,7 +8,7 @@ import { s as script$3 } from './OrExpansionPanel-1e2a6375.js';
8
8
  import { s as script$4 } from './OrHint-73835593.js';
9
9
  import { s as script$5 } from './OrIcon-b3906e35.js';
10
10
  import { s as script$7, a as InputBoxSize } from './OrInputBox-634230b1.js';
11
- import { s as script$6 } from './OrInput-f51916d4.js';
11
+ import { s as script$6 } from './OrInput-2b05a69c.js';
12
12
  import { s as script$8 } from './OrLabel-7d4fe80b.js';
13
13
  import { s as script$9 } from './OrMenuItem-8773d073.js';
14
14
  import { s as script$a } from './OrPopover-3525c670.js';
@@ -484,14 +484,16 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
484
484
  _: 3 /* FORWARDED */
485
485
  }, 8 /* PROPS */, ["class", "trigger"])]),
486
486
  _: 3 /* FORWARDED */
487
- }, 8 /* PROPS */, ["class", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.open], [_directive_dropdown_close, _ctx.close]]), !_ctx.invalid ? (openBlock(), createBlock(_component_OrHint, {
488
- key: 1,
487
+ }, 8 /* PROPS */, ["class", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.open], [_directive_dropdown_close, _ctx.close]]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
488
+ key: 1
489
+ }, [_ctx.hint ? (openBlock(), createBlock(_component_OrHint, {
490
+ key: 0,
489
491
  disabled: _ctx.disabled
490
492
  }, {
491
493
  default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint), 1 /* TEXT */)]),
492
494
 
493
495
  _: 1 /* STABLE */
494
- }, 8 /* PROPS */, ["disabled"])) : (openBlock(), createBlock(_component_OrError, {
496
+ }, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
495
497
  key: 2,
496
498
  disabled: _ctx.disabled
497
499
  }, {