@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
@@ -0,0 +1,104 @@
1
+ import { defineComponent, ref, computed } from 'vue-demi';
2
+ import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
3
+ import '@vueuse/core';
4
+ import { s as script$1 } from './OrIcon-b3906e35.js';
5
+ import { resolveComponent, openBlock, createElementBlock, mergeProps, withModifiers, renderSlot, createBlock, normalizeClass, createCommentVNode } from 'vue';
6
+
7
+ const SortHeaderRoot = [
8
+ // Layout
9
+ 'inline-flex', 'justify-normal', 'items-center',
10
+ // Interactivity
11
+ 'interactivity-auto',
12
+ // Typography
13
+ 'typography-caption-regular',
14
+ // Typography (activated)
15
+ 'activated:typography-caption-semibold',
16
+ // Theme
17
+ 'theme-foreground-outline', 'dark:theme-foreground-outline-dark',
18
+ // Theme (activated)
19
+ 'activated:theme-foreground-default', 'dark:activated:theme-foreground-default-dark'];
20
+
21
+ var script = defineComponent({
22
+ name: 'OrSortHeader',
23
+ components: {
24
+ OrIcon: script$1
25
+ },
26
+ inheritAttrs: false,
27
+ props: {
28
+ modelValue: {
29
+ type: Object,
30
+ default: undefined
31
+ },
32
+ value: {
33
+ type: Object,
34
+ default: undefined
35
+ },
36
+ inputValue: {
37
+ type: String,
38
+ required: true
39
+ }
40
+ },
41
+ emits: ['update:modelValue', 'input', 'focus', 'blur'],
42
+ expose: ['root'],
43
+ setup(props, context) {
44
+ // Refs
45
+ const root = ref();
46
+ // Styles
47
+ const classAttribute = useClassAttribute();
48
+ const rootStyles = computed(() => ['or-sort-header', ...SortHeaderRoot, classAttribute.value]);
49
+ // State
50
+ const proxyModelValue = computed({
51
+ get: () => {
52
+ var _a;
53
+ return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
54
+ },
55
+
56
+ set: value => {
57
+ context.emit('input', value);
58
+ context.emit('update:modelValue', value);
59
+ }
60
+ });
61
+ const activated = computed(() => {
62
+ var _a;
63
+ return ((_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.column) === props.inputValue;
64
+ });
65
+ // Methods
66
+ function toggleDirection() {
67
+ var _a;
68
+ proxyModelValue.value = {
69
+ column: props.inputValue,
70
+ direction: ((_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.direction) === 'asc' ? 'desc' : 'asc'
71
+ };
72
+ }
73
+ return {
74
+ root,
75
+ rootStyles,
76
+ proxyModelValue,
77
+ activated,
78
+ toggleDirection
79
+ };
80
+ }
81
+ });
82
+
83
+ const _hoisted_1 = ["activated"];
84
+ function render(_ctx, _cache, $props, $setup, $data, $options) {
85
+ const _component_OrIcon = resolveComponent("OrIcon");
86
+ return openBlock(), createElementBlock("div", mergeProps({
87
+ ref: "root"
88
+ }, _ctx.$attrs, {
89
+ class: _ctx.rootStyles,
90
+ activated: _ctx.activated ? '' : null,
91
+ onClick: _cache[0] || (_cache[0] = withModifiers($event => _ctx.toggleDirection(), ["stop"]))
92
+ }), [renderSlot(_ctx.$slots, "default"), _ctx.activated ? (openBlock(), createBlock(_component_OrIcon, {
93
+ key: 0,
94
+ class: normalizeClass({
95
+ 'rotate-180': _ctx.proxyModelValue.direction === 'asc'
96
+ }),
97
+ icon: 'arrow_downward'
98
+ }, null, 8 /* PROPS */, ["class"])) : createCommentVNode("v-if", true)], 16 /* FULL_PROPS */, _hoisted_1);
99
+ }
100
+
101
+ script.render = render;
102
+ script.__file = "src/components/or-sort-header-v3/OrSortHeader.vue";
103
+
104
+ export { script as s };
@@ -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, a as InputBoxSize } from './OrInputBox-634230b1.js';
7
7
  import { s as script$4 } from './OrLabel-7d4fe80b.js';
8
- import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelText, createSlots } from 'vue';
8
+ import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelText, Fragment, createSlots } from 'vue';
9
9
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
10
10
 
11
11
  const TextareaRoot = [
@@ -153,8 +153,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
153
153
  onBlur: _cache[4] || (_cache[4] = $event => _ctx.$emit('blur', $event))
154
154
  }), null, 16 /* FULL_PROPS */, _hoisted_1), [[vModelText, _ctx.proxyModelValue]])]),
155
155
  _: 1 /* STABLE */
156
- }, 8 /* PROPS */, ["size", "invalid", "readonly", "disabled"]), !_ctx.invalid ? (openBlock(), createBlock(_component_OrHint, {
157
- key: 1,
156
+ }, 8 /* PROPS */, ["size", "invalid", "readonly", "disabled"]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
157
+ key: 1
158
+ }, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
159
+ key: 0,
158
160
  disabled: _ctx.disabled
159
161
  }, createSlots({
160
162
  default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint) + " ", 1 /* TEXT */)]),
@@ -165,7 +167,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
165
167
  fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
166
168
 
167
169
  key: "0"
168
- } : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : (openBlock(), createBlock(_component_OrError, {
170
+ } : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
169
171
  key: 2,
170
172
  disabled: _ctx.disabled
171
173
  }, createSlots({
@@ -6,6 +6,7 @@ export * from './or-button-v2';
6
6
  export * from './or-button-v3';
7
7
  export * from './or-card';
8
8
  export * from './or-card-collection';
9
+ export * from './or-card-collection-v3';
9
10
  export * from './or-card-v3';
10
11
  export * from './or-carousel';
11
12
  export * from './or-checkbox';
@@ -65,6 +66,7 @@ export * from './or-sidebar-v3';
65
66
  export * from './or-skeleton';
66
67
  export * from './or-skeleton-v3';
67
68
  export * from './or-slider';
69
+ export * from './or-sort-header-v3';
68
70
  export * from './or-stepper';
69
71
  export * from './or-switch';
70
72
  export * from './or-switch-v3';
@@ -0,0 +1,17 @@
1
+ import { Meta, StoryFn } from '@storybook/vue3';
2
+ declare const _default: Meta<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, {
3
+ [x: string]: ((...args: any[]) => any) | null;
4
+ } | string[], {} & {}, {
5
+ [x: number]: string;
6
+ } | {}, true>)>;
7
+ export default _default;
8
+ export declare const Default: StoryFn<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, {
9
+ [x: string]: ((...args: any[]) => any) | null;
10
+ } | string[], {} & {}, {
11
+ [x: number]: string;
12
+ } | {}, true>)>;
13
+ export declare const WithSorting: StoryFn<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, {
14
+ [x: string]: ((...args: any[]) => any) | null;
15
+ } | string[], {} & {}, {
16
+ [x: number]: string;
17
+ } | {}, true>)>;
@@ -0,0 +1,98 @@
1
+ import { PropType } from 'vue-demi';
2
+ import { SortHeaderModel } from '../or-sort-header-v3';
3
+ import { CardCollectionView } from './props';
4
+ import { CardCollectionItem, CardCollectionSortHeader } from './types';
5
+ declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
6
+ root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
7
+ rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
8
+ toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
9
+ toolbarPanelStyles: import("@vue/composition-api").ComputedRef<string[]>;
10
+ contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
11
+ proxyView: import("@vue/composition-api").Ref<CardCollectionView>;
12
+ proxySort: import("@vue/composition-api").Ref<{
13
+ column: string;
14
+ direction: "asc" | "desc";
15
+ }>;
16
+ proxySearch: import("@vue/composition-api").Ref<string>;
17
+ switchToGridView: () => void;
18
+ switchToListView: () => void;
19
+ }> & import("@vue/composition-api").Data, {}, {}, {
20
+ items: {
21
+ type: PropType<CardCollectionItem[]>;
22
+ default: CardCollectionItem[];
23
+ };
24
+ view: {
25
+ type: PropType<CardCollectionView>;
26
+ default: CardCollectionView;
27
+ };
28
+ sort: {
29
+ type: PropType<SortHeaderModel>;
30
+ default: undefined;
31
+ };
32
+ sortHeaders: {
33
+ type: PropType<CardCollectionSortHeader[]>;
34
+ default: undefined;
35
+ };
36
+ search: {
37
+ type: StringConstructor;
38
+ default: undefined;
39
+ };
40
+ }, import("@vue/composition-api").ExtractPropTypes<{
41
+ items: {
42
+ type: PropType<CardCollectionItem[]>;
43
+ default: CardCollectionItem[];
44
+ };
45
+ view: {
46
+ type: PropType<CardCollectionView>;
47
+ default: CardCollectionView;
48
+ };
49
+ sort: {
50
+ type: PropType<SortHeaderModel>;
51
+ default: undefined;
52
+ };
53
+ sortHeaders: {
54
+ type: PropType<CardCollectionSortHeader[]>;
55
+ default: undefined;
56
+ };
57
+ search: {
58
+ type: StringConstructor;
59
+ default: undefined;
60
+ };
61
+ }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
62
+ sort: SortHeaderModel;
63
+ items: CardCollectionItem[];
64
+ view: CardCollectionView;
65
+ sortHeaders: CardCollectionSortHeader[];
66
+ search: string;
67
+ } & {} & {
68
+ [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
69
+ }, import("@vue/composition-api").ShallowUnwrapRef<{
70
+ root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
71
+ rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
72
+ toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
73
+ toolbarPanelStyles: import("@vue/composition-api").ComputedRef<string[]>;
74
+ contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
75
+ proxyView: import("@vue/composition-api").Ref<CardCollectionView>;
76
+ proxySort: import("@vue/composition-api").Ref<{
77
+ column: string;
78
+ direction: "asc" | "desc";
79
+ }>;
80
+ proxySearch: import("@vue/composition-api").Ref<string>;
81
+ switchToGridView: () => void;
82
+ switchToListView: () => void;
83
+ }>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
84
+ sort: SortHeaderModel;
85
+ items: CardCollectionItem[];
86
+ view: CardCollectionView;
87
+ sortHeaders: CardCollectionSortHeader[];
88
+ search: string;
89
+ } & {} & {
90
+ [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
91
+ }, {
92
+ sort: SortHeaderModel;
93
+ items: CardCollectionItem[];
94
+ view: CardCollectionView;
95
+ sortHeaders: CardCollectionSortHeader[];
96
+ search: string;
97
+ }, true>);
98
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export { default as OrCardCollectionV3 } from './OrCardCollection.vue';
2
+ export * from './props';
3
+ export * from './types';
@@ -0,0 +1,4 @@
1
+ export declare enum CardCollectionView {
2
+ Grid = "grid",
3
+ List = "list"
4
+ }
@@ -0,0 +1,6 @@
1
+ import { CardCollectionView } from './props';
2
+ export declare const CardCollectionRoot: string[];
3
+ export declare const CardCollectionToolbar: string[];
4
+ export declare const CardCollectionToolbarPanel: string[];
5
+ export declare const CardCollectionContent: string[];
6
+ export declare const CardCollectionContentViews: Record<CardCollectionView, string[]>;
@@ -0,0 +1,7 @@
1
+ export interface CardCollectionItem {
2
+ id: string;
3
+ }
4
+ export interface CardCollectionSortHeader {
5
+ value: string;
6
+ label: string;
7
+ }
@@ -0,0 +1,12 @@
1
+ import { Meta, StoryFn } from '@storybook/vue3';
2
+ declare const _default: Meta<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, {
3
+ [x: string]: ((...args: any[]) => any) | null;
4
+ } | string[], {} & {}, {
5
+ [x: number]: string;
6
+ } | {}, true>)>;
7
+ export default _default;
8
+ export declare const Default: StoryFn<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, {
9
+ [x: string]: ((...args: any[]) => any) | null;
10
+ } | string[], {} & {}, {
11
+ [x: number]: string;
12
+ } | {}, true>)>;
@@ -0,0 +1,57 @@
1
+ import { PropType } from 'vue-demi';
2
+ import { SortHeaderModel } from './types';
3
+ declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
4
+ root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
5
+ rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
6
+ proxyModelValue: import("@vue/composition-api").WritableComputedRef<SortHeaderModel>;
7
+ activated: import("@vue/composition-api").ComputedRef<boolean>;
8
+ toggleDirection: () => void;
9
+ }> & import("@vue/composition-api").Data, {}, {}, {
10
+ modelValue: {
11
+ type: PropType<SortHeaderModel>;
12
+ default: undefined;
13
+ };
14
+ value: {
15
+ type: PropType<SortHeaderModel>;
16
+ default: undefined;
17
+ };
18
+ inputValue: {
19
+ type: StringConstructor;
20
+ required: true;
21
+ };
22
+ }, import("@vue/composition-api").ExtractPropTypes<{
23
+ modelValue: {
24
+ type: PropType<SortHeaderModel>;
25
+ default: undefined;
26
+ };
27
+ value: {
28
+ type: PropType<SortHeaderModel>;
29
+ default: undefined;
30
+ };
31
+ inputValue: {
32
+ type: StringConstructor;
33
+ required: true;
34
+ };
35
+ }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
36
+ modelValue: SortHeaderModel;
37
+ value: SortHeaderModel;
38
+ inputValue: string;
39
+ } & {} & {
40
+ [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
41
+ }, import("@vue/composition-api").ShallowUnwrapRef<{
42
+ root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
43
+ rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
44
+ proxyModelValue: import("@vue/composition-api").WritableComputedRef<SortHeaderModel>;
45
+ activated: import("@vue/composition-api").ComputedRef<boolean>;
46
+ toggleDirection: () => void;
47
+ }>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
48
+ modelValue: SortHeaderModel;
49
+ value: SortHeaderModel;
50
+ inputValue: string;
51
+ } & {} & {
52
+ [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
53
+ }, {
54
+ modelValue: SortHeaderModel;
55
+ value: SortHeaderModel;
56
+ }, true>);
57
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as OrSortHeaderV3 } from './OrSortHeader.vue';
2
+ export * from './types';
@@ -0,0 +1 @@
1
+ export declare const SortHeaderRoot: string[];
@@ -0,0 +1,4 @@
1
+ export interface SortHeaderModel {
2
+ column: string;
3
+ direction: 'asc' | 'desc';
4
+ }
package/dist/v3/index.js CHANGED
@@ -6,6 +6,7 @@ export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTT
6
6
  export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-12b36e89.js';
7
7
  export { s as OrCard } from './OrCard-e3a5aea4.js';
8
8
  export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-737f073a.js';
9
+ export { C as CardCollectionView, s as OrCardCollectionV3 } from './OrCardCollection-85a00f6c.js';
9
10
  export { s as OrCardV3 } from './OrCard-b63658a8.js';
10
11
  export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem-ec8333c7.js';
11
12
  export { s as OrCheckbox } from './OrCheckbox-56e4171e.js';
@@ -15,7 +16,7 @@ export { s as OrCode, O as OrCodeLanguages } from './OrCode-feeec003.js';
15
16
  export { s as OrCollapse } from './OrCollapse-37a52e8f.js';
16
17
  export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-0a944d25.js';
17
18
  export { s as OrConfirm } from './OrConfirm-00134f53.js';
18
- export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-a9d3f157.js';
19
+ export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-9990d64a.js';
19
20
  export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-6c79a764.js';
20
21
  export { s as OrError } from './OrError-f90296db.js';
21
22
  export { s as OrErrorTagV3 } from './OrErrorTag-ceefd643.js';
@@ -29,11 +30,11 @@ export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-e23028
29
30
  export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-f9226adf.js';
30
31
  export { a as IconSize, I as IconVariant, s as OrIconV3 } from './OrIcon-b3906e35.js';
31
32
  export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-1b473796.js';
32
- export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-8f473205.js';
33
+ export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-bc5fa87a.js';
33
34
  export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-455a2d64.js';
34
- export { s as OrInlineTextareaV3 } from './OrInlineTextarea-86f4506d.js';
35
+ export { s as OrInlineTextareaV3 } from './OrInlineTextarea-c433b451.js';
35
36
  export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-634230b1.js';
36
- export { I as InputType, s as OrInputV3 } from './OrInput-f51916d4.js';
37
+ export { I as InputType, s as OrInputV3 } from './OrInput-2b05a69c.js';
37
38
  export { a as OrInput, b as OrNumberInput, c as OrPassword, d as OrSearch, s as OrTextarea } from './OrSearch-2874026c.js';
38
39
  export { s as OrLabel } from './OrLabel-876f8729.js';
39
40
  export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-7d4fe80b.js';
@@ -57,14 +58,15 @@ export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrPr
57
58
  export { s as OrRadio } from './OrRadio-c3ab11f2.js';
58
59
  export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
59
60
  export { s as OrRadioV3 } from './OrRadio-0c1883f2.js';
60
- export { s as OrSearchV3 } from './OrSearch-e27cadbf.js';
61
+ export { s as OrSearchV3 } from './OrSearch-1272c3df.js';
61
62
  export { s as OrSelect } from './OrSelect-056731af.js';
62
- export { s as OrSelectV3 } from './OrSelect-4cd90c6b.js';
63
+ export { s as OrSelectV3 } from './OrSelect-529b4567.js';
63
64
  export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
64
65
  export { O as OrSidebarPlacement, s as OrSidebarV3 } from './OrSidebar-a62972f5.js';
65
66
  export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-2b1610ce.js';
66
67
  export { s as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from './OrSkeletonText-3965ff71.js';
67
68
  export { s as OrSlider } from './OrSlider-af80bac9.js';
69
+ export { s as OrSortHeaderV3 } from './OrSortHeader-5eba50cd.js';
68
70
  export { s as OrStepper } from './OrStepper-f355b7b7.js';
69
71
  export { s as OrSwitch } from './OrSwitch-c333ee32.js';
70
72
  export { s as OrSwitchV3 } from './OrSwitch-ec454b76.js';
@@ -78,7 +80,7 @@ export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-60585386.j
78
80
  export { s as OrTeleport } from './OrTeleportVue3-ad639f12.js';
79
81
  export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
80
82
  export { s as OrTextV3 } from './OrText-ecb46923.js';
81
- export { s as OrTextareaV3 } from './OrTextarea-09aa33dc.js';
83
+ export { s as OrTextareaV3 } from './OrTextarea-98895b2a.js';
82
84
  export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-faa4f81a.js';
83
85
  export { s as OrToast, a as OrToastContainer } from './OrToastContainer-fe6abe90.js';
84
86
  export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
@@ -1,5 +1,23 @@
1
- export { s as OrCardV3 } from './OrCard-b63658a8.js';
1
+ export { C as CardCollectionView, s as OrCardCollectionV3 } from './OrCardCollection-85a00f6c.js';
2
2
  import 'vue-demi';
3
3
  import './useClassAttribute-47fdb016.js';
4
4
  import '@vueuse/core';
5
+ import './OrCard-b63658a8.js';
5
6
  import 'vue';
7
+ import './OrIconButton-f9226adf.js';
8
+ import './OrIcon-b3906e35.js';
9
+ import './OrTooltip-30e05f9e.js';
10
+ import './OrPopover-3525c670.js';
11
+ import '@floating-ui/dom';
12
+ import './useElevation-0e973238.js';
13
+ import './useResponsive-a02e95b7.js';
14
+ import './OrBottomSheet-9de57dd0.js';
15
+ import './OrOverlay-27050c19.js';
16
+ import './OrTeleport.vue3-8099178c.js';
17
+ import './OrInput-2b05a69c.js';
18
+ import './OrError-19a62a18.js';
19
+ import './OrHint-73835593.js';
20
+ import './OrInputBox-634230b1.js';
21
+ import './OrLabel-7d4fe80b.js';
22
+ import './style-inject.es-4c6f2515.js';
23
+ import './OrSortHeader-5eba50cd.js';
@@ -1,13 +1,5 @@
1
- export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem-ec8333c7.js';
2
- import '@splidejs/splide';
3
- import './OrIcon-e23028f8.js';
1
+ export { s as OrCardV3 } from './OrCard-b63658a8.js';
4
2
  import 'vue-demi';
5
- import 'lodash';
6
- import './OrTooltip-121eae2b.js';
3
+ import './useClassAttribute-47fdb016.js';
4
+ import '@vueuse/core';
7
5
  import 'vue';
8
- import './style-inject.es-4c6f2515.js';
9
- import './OrFloating-3da814a2.js';
10
- import '@floating-ui/dom';
11
- import './OrTeleportVue3-ad639f12.js';
12
- import './dom-7a41831b.js';
13
- import './px-to-rem-0b26b83e.js';
@@ -1,7 +1,8 @@
1
- export { s as OrCheckbox } from './OrCheckbox-56e4171e.js';
1
+ export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem-ec8333c7.js';
2
+ import '@splidejs/splide';
3
+ import './OrIcon-e23028f8.js';
2
4
  import 'vue-demi';
3
5
  import 'lodash';
4
- import './OrIcon-e23028f8.js';
5
6
  import './OrTooltip-121eae2b.js';
6
7
  import 'vue';
7
8
  import './style-inject.es-4c6f2515.js';
@@ -1,7 +1,12 @@
1
- export { s as OrCheckboxV3 } from './OrCheckbox-a20fcc04.js';
1
+ export { s as OrCheckbox } from './OrCheckbox-56e4171e.js';
2
2
  import 'vue-demi';
3
- import './useClassAttribute-47fdb016.js';
4
- import '@vueuse/core';
5
- import './OrLabel-7d4fe80b.js';
3
+ import 'lodash';
4
+ import './OrIcon-e23028f8.js';
5
+ import './OrTooltip-121eae2b.js';
6
6
  import 'vue';
7
7
  import './style-inject.es-4c6f2515.js';
8
+ import './OrFloating-3da814a2.js';
9
+ import '@floating-ui/dom';
10
+ import './OrTeleportVue3-ad639f12.js';
11
+ import './dom-7a41831b.js';
12
+ import './px-to-rem-0b26b83e.js';
@@ -1,14 +1,7 @@
1
- export { s as OrChip, a as OrChips } from './OrChips-feab2a38.js';
1
+ export { s as OrCheckboxV3 } from './OrCheckbox-a20fcc04.js';
2
2
  import 'vue-demi';
3
- import './OrIcon-e23028f8.js';
4
- import 'lodash';
5
- import './OrTooltip-121eae2b.js';
3
+ import './useClassAttribute-47fdb016.js';
4
+ import '@vueuse/core';
5
+ import './OrLabel-7d4fe80b.js';
6
6
  import 'vue';
7
7
  import './style-inject.es-4c6f2515.js';
8
- import './OrFloating-3da814a2.js';
9
- import '@floating-ui/dom';
10
- import './OrTeleportVue3-ad639f12.js';
11
- import './dom-7a41831b.js';
12
- import './px-to-rem-0b26b83e.js';
13
- import './OrLabel-876f8729.js';
14
- import './OrError-f90296db.js';
@@ -1,11 +1,7 @@
1
- export { s as OrCode, O as OrCodeLanguages } from './OrCode-feeec003.js';
2
- import '@codemirror/state';
3
- import '@vueuse/core';
4
- import 'codemirror';
5
- import 'lodash';
1
+ export { s as OrChip, a as OrChips } from './OrChips-feab2a38.js';
6
2
  import 'vue-demi';
7
- import './OrIconButton-f72cb8d9.js';
8
3
  import './OrIcon-e23028f8.js';
4
+ import 'lodash';
9
5
  import './OrTooltip-121eae2b.js';
10
6
  import 'vue';
11
7
  import './style-inject.es-4c6f2515.js';
@@ -14,15 +10,5 @@ import '@floating-ui/dom';
14
10
  import './OrTeleportVue3-ad639f12.js';
15
11
  import './dom-7a41831b.js';
16
12
  import './px-to-rem-0b26b83e.js';
17
- import './OrLoader-15174477.js';
18
- import './OrError-f90296db.js';
19
- import './OrHint-1414c530.js';
20
13
  import './OrLabel-876f8729.js';
21
- import './OrModal-75c8e5b6.js';
22
- import './OrOverlay-451dce49.js';
23
- import '@vueuse/integrations/useFocusTrap';
24
- import '@codemirror/lang-html';
25
- import '@codemirror/lang-css';
26
- import '@codemirror/lang-json';
27
- import '@codemirror/lang-javascript';
28
- import '@codemirror/lang-markdown';
14
+ import './OrError-f90296db.js';
@@ -1,7 +1,28 @@
1
- export { s as OrCollapse } from './OrCollapse-37a52e8f.js';
2
- import 'vue-demi';
3
- import './px-to-rem-0b26b83e.js';
4
- import './dom-7a41831b.js';
1
+ export { s as OrCode, O as OrCodeLanguages } from './OrCode-feeec003.js';
2
+ import '@codemirror/state';
3
+ import '@vueuse/core';
4
+ import 'codemirror';
5
5
  import 'lodash';
6
+ import 'vue-demi';
7
+ import './OrIconButton-f72cb8d9.js';
8
+ import './OrIcon-e23028f8.js';
9
+ import './OrTooltip-121eae2b.js';
6
10
  import 'vue';
7
11
  import './style-inject.es-4c6f2515.js';
12
+ import './OrFloating-3da814a2.js';
13
+ import '@floating-ui/dom';
14
+ import './OrTeleportVue3-ad639f12.js';
15
+ import './dom-7a41831b.js';
16
+ import './px-to-rem-0b26b83e.js';
17
+ import './OrLoader-15174477.js';
18
+ import './OrError-f90296db.js';
19
+ import './OrHint-1414c530.js';
20
+ import './OrLabel-876f8729.js';
21
+ import './OrModal-75c8e5b6.js';
22
+ import './OrOverlay-451dce49.js';
23
+ import '@vueuse/integrations/useFocusTrap';
24
+ import '@codemirror/lang-html';
25
+ import '@codemirror/lang-css';
26
+ import '@codemirror/lang-json';
27
+ import '@codemirror/lang-javascript';
28
+ import '@codemirror/lang-markdown';
@@ -1,10 +1,7 @@
1
- export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-0a944d25.js';
1
+ export { s as OrCollapse } from './OrCollapse-37a52e8f.js';
2
2
  import 'vue-demi';
3
- import '@vueuse/core';
4
- import './OrFloating-3da814a2.js';
5
- import '@floating-ui/dom';
6
- import './OrTeleportVue3-ad639f12.js';
7
- import 'vue';
3
+ import './px-to-rem-0b26b83e.js';
8
4
  import './dom-7a41831b.js';
9
5
  import 'lodash';
6
+ import 'vue';
10
7
  import './style-inject.es-4c6f2515.js';