@onereach/ui-components 2.74.0-beta.2287.0 → 2.74.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 (103) hide show
  1. package/dist/bundled/v2/{OrCardCollection-4ac89ea5.js → OrCardCollection-9bc44ec5.js} +1 -1
  2. package/dist/bundled/v2/{OrCode-c0af38e3.js → OrCode-fc6876ec.js} +15 -179
  3. package/dist/bundled/v2/{OrConfirm-8c0e957d.js → OrConfirm-ea6ea2f7.js} +1 -1
  4. package/dist/bundled/v2/{OrInput-00070eee.js → OrInput-57a47093.js} +28 -11
  5. package/dist/bundled/v2/{OrInputBox-2f559e98.js → OrInputBox-e54dcef9.js} +3 -3
  6. package/dist/bundled/v2/{OrNotification-2e2a1941.js → OrNotification-3909aaf2.js} +3 -3
  7. package/dist/bundled/v2/{OrSearch-09fd004c.js → OrSearch-4072a079.js} +2 -2
  8. package/dist/bundled/v2/{OrSelect-2ececfc1.js → OrSelect-359e891b.js} +2 -2
  9. package/dist/bundled/v2/{OrSkeletonText-2f1a3cc7.js → OrSkeletonText-242d22f3.js} +3 -3
  10. package/dist/bundled/v2/{OrTextarea-5c57c02b.js → OrTextarea-1201353b.js} +1 -1
  11. package/dist/bundled/v2/components/index.js +11 -11
  12. package/dist/bundled/v2/components/or-card-collection-v3/index.js +4 -4
  13. package/dist/bundled/v2/components/or-code/index.js +1 -1
  14. package/dist/bundled/v2/components/or-confirm-v3/index.js +3 -3
  15. package/dist/bundled/v2/components/or-input-box-v3/index.js +1 -1
  16. package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +13 -0
  17. package/dist/bundled/v2/components/or-input-v3/index.js +3 -2
  18. package/dist/bundled/v2/components/or-notification/index.js +1 -1
  19. package/dist/bundled/v2/components/or-search-v3/index.js +4 -3
  20. package/dist/bundled/v2/components/or-select-v3/index.js +4 -3
  21. package/dist/bundled/v2/components/or-skeleton/index.js +1 -1
  22. package/dist/bundled/v2/components/or-textarea-v3/index.js +2 -2
  23. package/dist/bundled/v2/index.js +11 -11
  24. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-f76c3264.js → OrCardCollection.vue_vue_type_script_lang-62eb2543.js} +1 -1
  25. package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-79a42008.js → OrCode.vue_vue_type_script_lang-c55de81d.js} +11 -176
  26. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-eb2bfce2.js → OrConfirm.vue_vue_type_script_lang-9aff9db3.js} +2 -2
  27. package/dist/bundled/v3/{OrInput-dcf2606e.js → OrInput-44a32124.js} +15 -6
  28. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-27220623.js → OrInput.vue_vue_type_script_lang-4d9e2f4a.js} +15 -3
  29. package/dist/bundled/v3/{OrInputBox-4c7900c2.js → OrInputBox-358d4856.js} +1 -1
  30. package/dist/bundled/v3/{OrInputBox.vue_vue_type_script_lang-47d98e81.js → OrInputBox.vue_vue_type_script_lang-b387d4ba.js} +3 -3
  31. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-c054c8db.js → OrSearch.vue_vue_type_script_lang-0ddeada5.js} +3 -3
  32. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-7fd5e2f0.js → OrSelect.vue_vue_type_script_lang-c7a9bec2.js} +4 -4
  33. package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-296da567.js → OrTextarea.vue_vue_type_script_lang-de99a858.js} +2 -2
  34. package/dist/bundled/v3/components/index.js +11 -11
  35. package/dist/bundled/v3/components/or-card-collection-v3/index.js +6 -6
  36. package/dist/bundled/v3/components/or-code/index.js +1 -1
  37. package/dist/bundled/v3/components/or-confirm-v3/index.js +5 -5
  38. package/dist/bundled/v3/components/or-input-box-v3/index.js +1 -1
  39. package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +13 -0
  40. package/dist/bundled/v3/components/or-input-v3/index.js +5 -3
  41. package/dist/bundled/v3/components/or-search-v3/index.js +7 -5
  42. package/dist/bundled/v3/components/or-select-v3/index.js +7 -5
  43. package/dist/bundled/v3/components/or-textarea-v3/index.js +3 -3
  44. package/dist/bundled/v3/index.js +21 -21
  45. package/dist/esm/v2/{OrCardCollection-5a9eda35.js → OrCardCollection-4c909f4b.js} +2 -2
  46. package/dist/esm/v2/{OrCode-47331c24.js → OrCode-d4400b42.js} +17 -183
  47. package/dist/esm/v2/{OrConfirm-9dbdedd7.js → OrConfirm-7dc26526.js} +1 -1
  48. package/dist/esm/v2/{OrInput-59a15d80.js → OrInput-3d8c8925.js} +28 -11
  49. package/dist/esm/v2/{OrInputBox-9ceb9fc4.js → OrInputBox-53d1f66d.js} +3 -3
  50. package/dist/esm/v2/{OrNotification-a49e76d3.js → OrNotification-a9231a83.js} +3 -3
  51. package/dist/esm/v2/{OrSearch-7411388b.js → OrSearch-d6f1ba11.js} +2 -2
  52. package/dist/esm/v2/{OrSelect-e31d1c8b.js → OrSelect-bdb9a78a.js} +2 -2
  53. package/dist/esm/v2/{OrSkeletonText-24509efe.js → OrSkeletonText-cc94bdc9.js} +3 -3
  54. package/dist/esm/v2/{OrTextarea-a5a3572b.js → OrTextarea-373d0554.js} +1 -1
  55. package/dist/esm/v2/components/index.js +11 -13
  56. package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -4
  57. package/dist/esm/v2/components/or-code/index.js +2 -4
  58. package/dist/esm/v2/components/or-confirm-v3/index.js +4 -4
  59. package/dist/esm/v2/components/or-input-box-v3/index.js +1 -1
  60. package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +13 -0
  61. package/dist/esm/v2/components/or-input-v3/index.js +4 -3
  62. package/dist/esm/v2/components/or-notification/index.js +1 -1
  63. package/dist/esm/v2/components/or-search-v3/index.js +5 -4
  64. package/dist/esm/v2/components/or-select-v3/index.js +5 -4
  65. package/dist/esm/v2/components/or-skeleton/index.js +1 -1
  66. package/dist/esm/v2/components/or-textarea-v3/index.js +2 -2
  67. package/dist/esm/v2/index.js +10 -12
  68. package/dist/esm/v3/{OrCardCollection-e4fde5b4.js → OrCardCollection-803f67f7.js} +2 -2
  69. package/dist/esm/v3/{OrCode-effa9edb.js → OrCode-5ed69c23.js} +14 -180
  70. package/dist/esm/v3/{OrConfirm-37454a63.js → OrConfirm-403896ca.js} +1 -1
  71. package/dist/esm/v3/{OrInput-bd054213.js → OrInput-71075f51.js} +27 -7
  72. package/dist/esm/v3/{OrInputBox-e16ade90.js → OrInputBox-2467d7e4.js} +3 -3
  73. package/dist/esm/v3/{OrNotification-eb08de33.js → OrNotification-e85a4956.js} +1 -1
  74. package/dist/esm/v3/{OrSearch-5406bf03.js → OrSearch-4e180e34.js} +2 -2
  75. package/dist/esm/v3/{OrSelect-466e50ca.js → OrSelect-c64eda46.js} +2 -2
  76. package/dist/esm/v3/{OrSkeletonText-0546754d.js → OrSkeletonText-2b1610ce.js} +3 -3
  77. package/dist/esm/v3/{OrTextarea-37566985.js → OrTextarea-42d21f77.js} +1 -1
  78. package/dist/esm/v3/components/index.js +11 -13
  79. package/dist/esm/v3/components/or-card-collection-v3/index.js +4 -4
  80. package/dist/esm/v3/components/or-code/index.js +2 -4
  81. package/dist/esm/v3/components/or-confirm-v3/index.js +4 -4
  82. package/dist/esm/v3/components/or-input-box-v3/index.js +1 -1
  83. package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +13 -0
  84. package/dist/esm/v3/components/or-input-v3/index.js +4 -3
  85. package/dist/esm/v3/components/or-notification/index.js +1 -1
  86. package/dist/esm/v3/components/or-search-v3/index.js +5 -4
  87. package/dist/esm/v3/components/or-select-v3/index.js +5 -4
  88. package/dist/esm/v3/components/or-skeleton/index.js +1 -1
  89. package/dist/esm/v3/components/or-textarea-v3/index.js +2 -2
  90. package/dist/esm/v3/index.js +10 -12
  91. package/package.json +4 -3
  92. package/src/components/or-code/OrCode.vue +6 -8
  93. package/src/components/or-input-box-v3/styles.ts +3 -6
  94. package/src/components/or-input-v3/OrInput.stories3.ts +4 -0
  95. package/src/components/or-input-v3/OrInput.vue +39 -19
  96. package/src/components/or-notification/OrNotification.vue +1 -26
  97. package/src/components/or-skeleton/styles.scss +3 -18
  98. package/src/components/or-stepper/OrStepper.stories.ts +1 -1
  99. package/dist/bundled/v2/components/or-code/theme.d.ts +0 -24
  100. package/dist/bundled/v3/components/or-code/theme.d.ts +0 -24
  101. package/dist/esm/v2/components/or-code/theme.d.ts +0 -24
  102. package/dist/esm/v3/components/or-code/theme.d.ts +0 -24
  103. package/src/components/or-code/theme.ts +0 -213
@@ -1,4 +1,4 @@
1
- export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-5a9eda35.js';
1
+ export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-4c909f4b.js';
2
2
  import 'vue-demi';
3
3
  import '../../OrButton-66964360.js';
4
4
  import '../../OrLoader-76307488.js';
@@ -17,12 +17,12 @@ import '../../OrTeleport.vue2-fb92f29f.js';
17
17
  import 'portal-vue';
18
18
  import '../../OrMenuItem-7b7fbf8a.js';
19
19
  import '../../OrMenu-c276db74.js';
20
- import '../../OrSearch-7411388b.js';
21
- import '../../OrInput-59a15d80.js';
20
+ import '../../OrSearch-d6f1ba11.js';
21
+ import '../../OrInput-3d8c8925.js';
22
22
  import '../../useIdAttribute-859439f0.js';
23
23
  import '../../useValidationAttributes-d1abbe34.js';
24
24
  import '../../OrError-13845bb0.js';
25
25
  import '../../OrHint-78b399cb.js';
26
- import '../../OrInputBox-9ceb9fc4.js';
26
+ import '../../OrInputBox-53d1f66d.js';
27
27
  import '../../OrLabel-0945a4d9.js';
28
28
  import '../../browser-82dea9ed.js';
@@ -1,9 +1,9 @@
1
- export { _ as OrCode, O as OrCodeLanguages } from '../../OrCode-47331c24.js';
1
+ export { _ as OrCode, O as OrCodeLanguages } from '../../OrCode-d4400b42.js';
2
2
  import '@codemirror/state';
3
3
  import '@codemirror/view';
4
4
  import '@codemirror/commands';
5
- import 'codemirror';
6
5
  import '@vueuse/core';
6
+ import 'codemirror';
7
7
  import 'lodash';
8
8
  import 'vue-demi';
9
9
  import '../../OrIconButton.vue_rollup-plugin-vue_script-9fb7b7ab.js';
@@ -31,5 +31,3 @@ import '@codemirror/lang-css';
31
31
  import '@codemirror/lang-json';
32
32
  import '@codemirror/lang-javascript';
33
33
  import '@codemirror/lang-markdown';
34
- import '@codemirror/language';
35
- import '@lezer/highlight';
@@ -1,12 +1,13 @@
1
- export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-9dbdedd7.js';
1
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-7dc26526.js';
2
2
  import '@vueuse/core';
3
3
  import '@vueuse/math';
4
4
  import 'vue-demi';
5
5
  import '../../OrButton-66964360.js';
6
6
  import '../../OrLoader-76307488.js';
7
7
  import '../../normalize-component-6e8e3d80.js';
8
- import '../../OrInput-59a15d80.js';
8
+ import '../../OrInput-3d8c8925.js';
9
9
  import '../../useIdAttribute-859439f0.js';
10
+ import '../../useResponsive-a02e95b7.js';
10
11
  import '../../useValidationAttributes-d1abbe34.js';
11
12
  import '../../OrError-13845bb0.js';
12
13
  import '../../OrHint-78b399cb.js';
@@ -16,11 +17,10 @@ import '../../OrTooltip-629d44fc.js';
16
17
  import '../../OrPopover-d5d4f62a.js';
17
18
  import '@floating-ui/dom';
18
19
  import '../../useElevation-31bfe1f6.js';
19
- import '../../useResponsive-a02e95b7.js';
20
20
  import '../../OrBottomSheet-37200385.js';
21
21
  import '../../OrOverlay-a019186f.js';
22
22
  import '../../OrTeleport.vue2-fb92f29f.js';
23
23
  import 'portal-vue';
24
- import '../../OrInputBox-9ceb9fc4.js';
24
+ import '../../OrInputBox-53d1f66d.js';
25
25
  import '../../OrLabel-0945a4d9.js';
26
26
  import '../../browser-82dea9ed.js';
@@ -1,3 +1,3 @@
1
- export { a as InputBoxSize, I as InputBoxVariant, _ as OrInputBoxV3 } from '../../OrInputBox-9ceb9fc4.js';
1
+ export { a as InputBoxSize, I as InputBoxVariant, _ as OrInputBoxV3 } from '../../OrInputBox-53d1f66d.js';
2
2
  import 'vue-demi';
3
3
  import '../../normalize-component-6e8e3d80.js';
@@ -23,6 +23,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
23
23
  maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
24
24
  invalid: import("@vue/composition-api").ComputedRef<boolean>;
25
25
  disclosed: import("@vue/composition-api").Ref<boolean>;
26
+ isMobile: import("@vue/composition-api").Ref<boolean>;
26
27
  focus: () => void;
27
28
  blur: () => void;
28
29
  }> & import("@vue/composition-api").Data, {}, {}, {
@@ -54,6 +55,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
54
55
  type: StringConstructor;
55
56
  default: undefined;
56
57
  };
58
+ loading: {
59
+ type: BooleanConstructor;
60
+ default: boolean;
61
+ };
57
62
  required: {
58
63
  type: BooleanConstructor;
59
64
  default: boolean;
@@ -99,6 +104,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
99
104
  type: StringConstructor;
100
105
  default: undefined;
101
106
  };
107
+ loading: {
108
+ type: BooleanConstructor;
109
+ default: boolean;
110
+ };
102
111
  required: {
103
112
  type: BooleanConstructor;
104
113
  default: boolean;
@@ -123,6 +132,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
123
132
  placeholder: string;
124
133
  hint: string;
125
134
  error: string;
135
+ loading: boolean;
126
136
  required: boolean;
127
137
  readonly: boolean;
128
138
  disabled: boolean;
@@ -152,6 +162,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
152
162
  maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
153
163
  invalid: import("@vue/composition-api").ComputedRef<boolean>;
154
164
  disclosed: import("@vue/composition-api").Ref<boolean>;
165
+ isMobile: import("@vue/composition-api").Ref<boolean>;
155
166
  focus: () => void;
156
167
  blur: () => void;
157
168
  }>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
@@ -162,6 +173,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
162
173
  placeholder: string;
163
174
  hint: string;
164
175
  error: string;
176
+ loading: boolean;
165
177
  required: boolean;
166
178
  readonly: boolean;
167
179
  disabled: boolean;
@@ -176,6 +188,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
176
188
  placeholder: string;
177
189
  hint: string;
178
190
  error: string;
191
+ loading: boolean;
179
192
  required: boolean;
180
193
  readonly: boolean;
181
194
  disabled: boolean;
@@ -1,8 +1,9 @@
1
- export { I as InputType, _ as OrInputV3 } from '../../OrInput-59a15d80.js';
2
- export { a as InputSize } from '../../OrInputBox-9ceb9fc4.js';
1
+ export { I as InputType, _ as OrInputV3 } from '../../OrInput-3d8c8925.js';
2
+ export { a as InputSize } from '../../OrInputBox-53d1f66d.js';
3
3
  import 'vue-demi';
4
4
  import '../../useIdAttribute-859439f0.js';
5
5
  import '@vueuse/core';
6
+ import '../../useResponsive-a02e95b7.js';
6
7
  import '../../useValidationAttributes-d1abbe34.js';
7
8
  import '../../OrError-13845bb0.js';
8
9
  import '../../normalize-component-6e8e3d80.js';
@@ -13,10 +14,10 @@ import '../../OrTooltip-629d44fc.js';
13
14
  import '../../OrPopover-d5d4f62a.js';
14
15
  import '@floating-ui/dom';
15
16
  import '../../useElevation-31bfe1f6.js';
16
- import '../../useResponsive-a02e95b7.js';
17
17
  import '../../OrBottomSheet-37200385.js';
18
18
  import '../../OrOverlay-a019186f.js';
19
19
  import '../../OrTeleport.vue2-fb92f29f.js';
20
20
  import 'portal-vue';
21
21
  import '../../OrLabel-0945a4d9.js';
22
+ import '../../OrLoader-76307488.js';
22
23
  import '../../browser-82dea9ed.js';
@@ -1,4 +1,4 @@
1
- export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from '../../OrNotification-a49e76d3.js';
1
+ export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from '../../OrNotification-a9231a83.js';
2
2
  import 'vue-demi';
3
3
  import '../../OrIcon-819166f6.js';
4
4
  import 'lodash';
@@ -1,9 +1,10 @@
1
- export { _ as OrSearchV3 } from '../../OrSearch-7411388b.js';
2
- export { a as SearchSize } from '../../OrInputBox-9ceb9fc4.js';
1
+ export { _ as OrSearchV3 } from '../../OrSearch-d6f1ba11.js';
2
+ export { a as SearchSize } from '../../OrInputBox-53d1f66d.js';
3
3
  import '@vueuse/core';
4
4
  import 'vue-demi';
5
- import '../../OrInput-59a15d80.js';
5
+ import '../../OrInput-3d8c8925.js';
6
6
  import '../../useIdAttribute-859439f0.js';
7
+ import '../../useResponsive-a02e95b7.js';
7
8
  import '../../useValidationAttributes-d1abbe34.js';
8
9
  import '../../OrError-13845bb0.js';
9
10
  import '../../normalize-component-6e8e3d80.js';
@@ -14,10 +15,10 @@ import '../../OrTooltip-629d44fc.js';
14
15
  import '../../OrPopover-d5d4f62a.js';
15
16
  import '@floating-ui/dom';
16
17
  import '../../useElevation-31bfe1f6.js';
17
- import '../../useResponsive-a02e95b7.js';
18
18
  import '../../OrBottomSheet-37200385.js';
19
19
  import '../../OrOverlay-a019186f.js';
20
20
  import '../../OrTeleport.vue2-fb92f29f.js';
21
21
  import 'portal-vue';
22
22
  import '../../OrLabel-0945a4d9.js';
23
+ import '../../OrLoader-76307488.js';
23
24
  import '../../browser-82dea9ed.js';
@@ -1,5 +1,5 @@
1
- export { _ as OrSelectV3 } from '../../OrSelect-e31d1c8b.js';
2
- export { a as SelectSize } from '../../OrInputBox-9ceb9fc4.js';
1
+ export { _ as OrSelectV3 } from '../../OrSelect-bdb9a78a.js';
2
+ export { a as SelectSize } from '../../OrInputBox-53d1f66d.js';
3
3
  import 'vue-demi';
4
4
  import '../../dropdown-open-0d314aa4.js';
5
5
  import '../../useOverflow-af6161c8.js';
@@ -13,17 +13,18 @@ import '../../OrError-13845bb0.js';
13
13
  import '../../OrExpansionPanel-729eb1e7.js';
14
14
  import '../../OrIcon-f34e0e6f.js';
15
15
  import '../../OrHint-78b399cb.js';
16
- import '../../OrInput-59a15d80.js';
16
+ import '../../OrInput-3d8c8925.js';
17
+ import '../../useResponsive-a02e95b7.js';
17
18
  import '../../useValidationAttributes-d1abbe34.js';
18
19
  import '../../OrIconButton-04a3566d.js';
19
20
  import '../../OrTooltip-629d44fc.js';
20
21
  import '../../OrPopover-d5d4f62a.js';
21
22
  import '@floating-ui/dom';
22
23
  import '../../useElevation-31bfe1f6.js';
23
- import '../../useResponsive-a02e95b7.js';
24
24
  import '../../OrBottomSheet-37200385.js';
25
25
  import '../../OrOverlay-a019186f.js';
26
26
  import '../../OrTeleport.vue2-fb92f29f.js';
27
27
  import 'portal-vue';
28
+ import '../../OrLoader-76307488.js';
28
29
  import '../../OrMenuItem-7b7fbf8a.js';
29
30
  import '../../OrTag-b2906865.js';
@@ -1,4 +1,4 @@
1
- export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../../OrSkeletonText-24509efe.js';
1
+ export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../../OrSkeletonText-cc94bdc9.js';
2
2
  import 'vue-demi';
3
3
  import '../../px-to-rem-0b26b83e.js';
4
4
  import 'lodash';
@@ -1,5 +1,5 @@
1
- export { _ as OrTextareaV3 } from '../../OrTextarea-a5a3572b.js';
2
- export { a as TextareaSize } from '../../OrInputBox-9ceb9fc4.js';
1
+ export { _ as OrTextareaV3 } from '../../OrTextarea-373d0554.js';
2
+ export { a as TextareaSize } from '../../OrInputBox-53d1f66d.js';
3
3
  import 'vue-demi';
4
4
  import '../../useIdAttribute-859439f0.js';
5
5
  import '@vueuse/core';
@@ -8,18 +8,18 @@ export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTT
8
8
  export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from './OrButton-66964360.js';
9
9
  export { _ as OrCard } from './OrCard-b7268256.js';
10
10
  export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from './OrCardCollection-19582949.js';
11
- export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-5a9eda35.js';
11
+ export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-4c909f4b.js';
12
12
  export { _ as OrCardV3 } from './OrCard-e89c44ef.js';
13
13
  export { a as OrCarousel, _ as OrCarouselItem } from './OrCarouselItem-4e2cf3d8.js';
14
14
  export { _ as OrCheckbox } from './OrCheckbox-915f1f0a.js';
15
15
  export { _ as OrCheckboxV3 } from './OrCheckbox-b380c131.js';
16
16
  export { _ as OrChip } from './OrChips.vue_rollup-plugin-vue_script-aa8fedaa.js';
17
17
  export { _ as OrChips } from './OrChips-5e0063be.js';
18
- export { _ as OrCode, O as OrCodeLanguages } from './OrCode-47331c24.js';
18
+ export { _ as OrCode, O as OrCodeLanguages } from './OrCode-d4400b42.js';
19
19
  export { _ as OrCollapse } from './OrCollapse-4d892ca3.js';
20
20
  export { _ 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-75abefdd.js';
21
21
  export { _ as OrConfirm } from './OrConfirm-ede619eb.js';
22
- export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-9dbdedd7.js';
22
+ export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-7dc26526.js';
23
23
  export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-349df9b2.js';
24
24
  export { _ as OrError } from './OrError-081130bb.js';
25
25
  export { _ as OrErrorTagV3 } from './OrErrorTag-80f82cdf.js';
@@ -37,8 +37,8 @@ export { I as InlineInputBoxSize, I as InlineInputSize, _ as OrInlineInputBoxV3
37
37
  export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-b85b84b4.js';
38
38
  export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from './OrInlineTextEdit-b47cfc2d.js';
39
39
  export { _ as OrInlineTextareaV3 } from './OrInlineTextarea-afd33047.js';
40
- export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, _ as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-9ceb9fc4.js';
41
- export { I as InputType, _ as OrInputV3 } from './OrInput-59a15d80.js';
40
+ export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, _ as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-53d1f66d.js';
41
+ export { I as InputType, _ as OrInputV3 } from './OrInput-3d8c8925.js';
42
42
  export { _ as OrInput } from './OrInput-6e6cfd11.js';
43
43
  export { _ as OrLabel } from './OrLabel-33b41516.js';
44
44
  export { L as LabelVariant, _ as OrLabelV3 } from './OrLabel-0945a4d9.js';
@@ -52,7 +52,7 @@ export { _ as OrMenuV3 } from './OrMenu-c276db74.js';
52
52
  export { P as MenuPlacement, _ as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-d5d4f62a.js';
53
53
  export { _ as OrModal, O as OrModalSizes } from './OrModal-97e83549.js';
54
54
  export { M as ModalSize, _ as OrModalV3 } from './OrModal-4e79e0d5.js';
55
- export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from './OrNotification-a49e76d3.js';
55
+ export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from './OrNotification-a9231a83.js';
56
56
  export { N as NotificationVariant, _ as OrNotificationV3 } from './OrNotification-eac3867f.js';
57
57
  export { _ as OrNumberInput } from './OrNumberInput-b20d75d2.js';
58
58
  export { _ as OrOverflowMenu } from './OrOverflowMenu-10a4166a.js';
@@ -66,14 +66,14 @@ export { _ as OrRadio } from './OrRadio-e4198532.js';
66
66
  export { _ as OrRadioGroup } from './OrRadioGroup-d9d32cba.js';
67
67
  export { _ as OrRadioV3 } from './OrRadio-87a4d226.js';
68
68
  export { _ as OrSearch } from './OrSearch-b4f4d59b.js';
69
- export { _ as OrSearchV3 } from './OrSearch-7411388b.js';
69
+ export { _ as OrSearchV3 } from './OrSearch-d6f1ba11.js';
70
70
  export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-7486115b.js';
71
71
  export { _ as OrSelect } from './OrSelect-dae2b069.js';
72
- export { _ as OrSelectV3 } from './OrSelect-e31d1c8b.js';
72
+ export { _ as OrSelectV3 } from './OrSelect-bdb9a78a.js';
73
73
  export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-7d6125bb.js';
74
74
  export { _ as OrSidebarV3 } from './OrSidebar-27236fbd.js';
75
75
  export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-cfe51a60.js';
76
- export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-24509efe.js';
76
+ export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-cc94bdc9.js';
77
77
  export { _ as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from './OrSkeletonText-6ee72718.js';
78
78
  export { _ as OrSlider } from './OrSlider-f7b9c7c2.js';
79
79
  export { _ as OrSortHeaderV3 } from './OrSortHeader-592727dc.js';
@@ -91,7 +91,7 @@ export { _ as OrTeleport } from './OrTeleportVue2-8ef4ceca.js';
91
91
  export { _ as OrTeleportV3 } from './OrTeleport.vue2-fb92f29f.js';
92
92
  export { _ as OrTextV3 } from './OrText-b12d0682.js';
93
93
  export { _ as OrTextarea } from './OrTextarea-91a95068.js';
94
- export { _ as OrTextareaV3 } from './OrTextarea-a5a3572b.js';
94
+ export { _ as OrTextareaV3 } from './OrTextarea-373d0554.js';
95
95
  export { _ as OrTextbox, T as TextboxTypes } from './OrTextbox-2594c980.js';
96
96
  export { _ as OrToast, a as OrToastContainer } from './OrToastContainer-2fbd4358.js';
97
97
  export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
@@ -123,8 +123,6 @@ import '@codemirror/lang-css';
123
123
  import '@codemirror/lang-json';
124
124
  import '@codemirror/lang-javascript';
125
125
  import '@codemirror/lang-markdown';
126
- import '@codemirror/language';
127
- import '@lezer/highlight';
128
126
  import './px-to-rem-0b26b83e.js';
129
127
  import './dom-3a15d036.js';
130
128
  import '@vueuse/math';
@@ -5,8 +5,8 @@ import { s as script$6 } from './OrIcon-34f59f73.js';
5
5
  import { s as script$5 } from './OrMenuItem-58707d47.js';
6
6
  import { s as script$4 } from './OrMenu-7f3ea117.js';
7
7
  import './OrPopover-40217b49.js';
8
- import { s as script$7 } from './OrSearch-5406bf03.js';
9
- import './OrInputBox-e16ade90.js';
8
+ import { s as script$7 } from './OrSearch-4e180e34.js';
9
+ import './OrInputBox-2467d7e4.js';
10
10
  import { openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, mergeProps, createTextVNode, toDisplayString, resolveComponent, createElementVNode, createVNode, withCtx, createBlock, createCommentVNode, normalizeProps, guardReactiveProps } from 'vue';
11
11
 
12
12
  const CardCollectionRoot = [
@@ -1,8 +1,8 @@
1
1
  import { EditorState } from '@codemirror/state';
2
- import { EditorView, keymap } from '@codemirror/view';
2
+ import { keymap } from '@codemirror/view';
3
3
  import { indentWithTab } from '@codemirror/commands';
4
- import { basicSetup, EditorView as EditorView$1 } from 'codemirror';
5
4
  import { useElementHover } from '@vueuse/core';
5
+ import { basicSetup, EditorView } from 'codemirror';
6
6
  import _ from 'lodash';
7
7
  import { defineComponent, ref } from 'vue-demi';
8
8
  import { a as script$1 } from './OrIconButton-8be9c89f.js';
@@ -16,8 +16,6 @@ import { css } from '@codemirror/lang-css';
16
16
  import { json } from '@codemirror/lang-json';
17
17
  import { javascript } from '@codemirror/lang-javascript';
18
18
  import { markdown } from '@codemirror/lang-markdown';
19
- import { HighlightStyle, syntaxHighlighting } from '@codemirror/language';
20
- import { tags } from '@lezer/highlight';
21
19
  import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, renderSlot, createElementVNode, normalizeClass, createBlock, createCommentVNode, withDirectives, vShow } from 'vue';
22
20
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
23
21
 
@@ -50,173 +48,6 @@ var languages = {
50
48
  [OrCodeLanguages.MD]: MD
51
49
  };
52
50
 
53
- // Using https://github.com/one-dark/vscode-one-dark-theme/ as reference for the colors
54
- const chalky = 'var(--c-warning-darken-20)',
55
- coral = 'var(--c-error)',
56
- cyan = '#56b6c2',
57
- invalid = 'var(--c-white)',
58
- ivory = 'var(--c-neutral-6)',
59
- stone = 'var(--c-neutral-5)',
60
- // Brightened compared to original to increase contrast
61
- malibu = '#61afef',
62
- sage = 'var(--c-success)',
63
- whiskey = 'var(--c-warning-darken-5)',
64
- violet = '#c678dd',
65
- darkBackground = 'var(--c-neutral-1)',
66
- highlightBackground = 'var(--c-neutral-2)',
67
- background = 'var(--c-neutral-1)',
68
- tooltipBackground = 'var(--c-neutral-2)',
69
- selection = 'var(--c-neutral-3)',
70
- cursor = 'var(--c-primary)';
71
- /// The editor theme styles for One Dark.
72
- const orCodeTheme = EditorView.theme({
73
- '&': {
74
- color: ivory,
75
- backgroundColor: background
76
- },
77
- '.cm-content': {
78
- caretColor: cursor
79
- },
80
- '.cm-button': {
81
- background: highlightBackground,
82
- color: 'var(--c-neutral-6)',
83
- border: 0,
84
- borderRadius: 'var(--s-2)'
85
- },
86
- '.cm-panel.cm-search input[type=checkbox]': {
87
- display: 'inline-block',
88
- verticalAlign: 'middle'
89
- },
90
- '.cm-cursor, .cm-dropCursor': {
91
- borderLeftColor: cursor
92
- },
93
- '&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': {
94
- backgroundColor: selection
95
- },
96
- '.cm-panels': {
97
- backgroundColor: darkBackground,
98
- color: ivory
99
- },
100
- '.cm-panels.cm-panels-top': {
101
- borderBottom: '2px solid var(--c-neutral-2)'
102
- },
103
- '.cm-panels.cm-panels-bottom': {
104
- borderTop: '2px solid var(--c-neutral-2)'
105
- },
106
- '.cm-searchMatch': {
107
- backgroundColor: 'var(--c-neutral-1)',
108
- outline: '1px solid var(--c-neutral-2)'
109
- },
110
- '.cm-searchMatch.cm-searchMatch-selected': {
111
- backgroundColor: '#6199ff2f'
112
- },
113
- '.cm-activeLine': {
114
- backgroundColor: '#6699ff0b'
115
- },
116
- '.cm-selectionMatch': {
117
- backgroundColor: '#aafe661a'
118
- },
119
- '&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket': {
120
- backgroundColor: '#bad0f847'
121
- },
122
- '.cm-gutters': {
123
- backgroundColor: background,
124
- color: stone,
125
- border: 'none'
126
- },
127
- '.cm-activeLineGutter': {
128
- backgroundColor: highlightBackground
129
- },
130
- '.cm-foldPlaceholder': {
131
- backgroundColor: 'transparent',
132
- border: 'none',
133
- color: '#ddd'
134
- },
135
- '.cm-tooltip': {
136
- border: 'none',
137
- backgroundColor: tooltipBackground
138
- },
139
- '.cm-tooltip .cm-tooltip-arrow:before': {
140
- borderTopColor: 'transparent',
141
- borderBottomColor: 'transparent'
142
- },
143
- '.cm-tooltip .cm-tooltip-arrow:after': {
144
- borderTopColor: tooltipBackground,
145
- borderBottomColor: tooltipBackground
146
- },
147
- '.cm-tooltip-autocomplete': {
148
- '& > ul > li[aria-selected]': {
149
- backgroundColor: highlightBackground,
150
- color: ivory
151
- }
152
- },
153
- '.cm-textfield': {
154
- outline: 'none',
155
- background: background,
156
- color: 'var(--c-neutral-6)',
157
- backgroundColor: 'var(--c-neutral-1)',
158
- border: '1px solid var(--c-neutral-2)',
159
- borderRadius: 'var(--s-2)'
160
- }
161
- }, {
162
- dark: true
163
- });
164
- /// The highlighting style for code in the One Dark theme.
165
- const orCodeHighlightStyle = HighlightStyle.define([{
166
- tag: tags.keyword,
167
- color: violet
168
- }, {
169
- tag: [tags.name, tags.deleted, tags.character, tags.propertyName, tags.macroName],
170
- color: coral
171
- }, {
172
- tag: [tags.function(tags.variableName), tags.labelName],
173
- color: malibu
174
- }, {
175
- tag: [tags.color, tags.constant(tags.name), tags.standard(tags.name)],
176
- color: whiskey
177
- }, {
178
- tag: [tags.definition(tags.name), tags.separator],
179
- color: ivory
180
- }, {
181
- tag: [tags.typeName, tags.className, tags.number, tags.changed, tags.annotation, tags.modifier, tags.self, tags.namespace],
182
- color: chalky
183
- }, {
184
- tag: [tags.operator, tags.operatorKeyword, tags.url, tags.escape, tags.regexp, tags.link, tags.special(tags.string)],
185
- color: cyan
186
- }, {
187
- tag: [tags.meta, tags.comment],
188
- color: stone
189
- }, {
190
- tag: tags.strong,
191
- fontWeight: 'bold'
192
- }, {
193
- tag: tags.emphasis,
194
- fontStyle: 'italic'
195
- }, {
196
- tag: tags.strikethrough,
197
- textDecoration: 'line-through'
198
- }, {
199
- tag: tags.link,
200
- color: stone,
201
- textDecoration: 'underline'
202
- }, {
203
- tag: tags.heading,
204
- fontWeight: 'bold',
205
- color: coral
206
- }, {
207
- tag: [tags.atom, tags.bool, tags.special(tags.variableName)],
208
- color: whiskey
209
- }, {
210
- tag: [tags.processingInstruction, tags.string, tags.inserted],
211
- color: sage
212
- }, {
213
- tag: tags.invalid,
214
- color: invalid
215
- }]);
216
- /// Extension to enable the One Dark theme (both the editor theme and
217
- /// the highlight style).
218
- const theme = [orCodeTheme, syntaxHighlighting(orCodeHighlightStyle)];
219
-
220
51
  //partially based on https://github.com/logue/vue-codemirror6/blob/master/src/components/CodeMirror.vue
221
52
  var script = defineComponent({
222
53
  name: 'OrCode',
@@ -300,12 +131,11 @@ var script = defineComponent({
300
131
  setup(props, {
301
132
  emit
302
133
  }) {
303
- // editor config
304
134
  const root = ref();
305
135
  const target = ref();
306
136
  const fullscreenTarget = ref();
307
137
  const isHovered = useElementHover(root);
308
- const editor = new EditorView$1({
138
+ const editor = new EditorView({
309
139
  state: EditorState.create({
310
140
  doc: props.modelValue
311
141
  }),
@@ -342,19 +172,21 @@ var script = defineComponent({
342
172
  allowPaste,
343
173
  lineWrapping
344
174
  } = this;
345
- const ext = _.compact([theme, EditorView$1.baseTheme({}),
175
+ const ext = _.compact([
176
+ // Toggle light/dark mode
177
+ EditorView.baseTheme({}),
346
178
  // locale settings
347
179
  this.phrases ? EditorState.phrases.of(this.phrases) : undefined,
348
180
  // Parser language setting
349
181
  this.localLanguage,
350
182
  // Editable option
351
- EditorView$1.editable.of(!this.isReadonly),
183
+ EditorView.editable.of(!this.isReadonly),
352
184
  // Focus and blur listener
353
- EditorView$1.updateListener.of(viewUpdate => {
185
+ EditorView.updateListener.of(viewUpdate => {
354
186
  if (viewUpdate.focusChanged) {
355
187
  viewUpdate.view.hasFocus ? this.$emit('focus') : this.$emit('blur', viewUpdate.state.doc.toString());
356
188
  }
357
- }), EditorView$1.domEventHandlers({
189
+ }), EditorView.domEventHandlers({
358
190
  drop(event) {
359
191
  if (!allowDrop) {
360
192
  event.preventDefault();
@@ -369,8 +201,10 @@ var script = defineComponent({
369
201
  }
370
202
  }),
371
203
  // line wrapping
372
- lineWrapping ? EditorView$1.lineWrapping : undefined, keymap.of([indentWithTab]), ...this.extensions]);
373
- return [...ext];
204
+ lineWrapping ? EditorView.lineWrapping : undefined, keymap.of([indentWithTab])]);
205
+ // Append Extensions (such as basic-setup)
206
+ if (this.extensions.length !== 0) _.merge(ext, this.extensions);
207
+ return ext;
374
208
  },
375
209
  isShowingError() {
376
210
  return !!this.error && this.isInvalid;
@@ -468,7 +302,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
468
302
  }, () => [_ctx.isShowingFullscreen ? (openBlock(), createBlock(_component_or_icon_button, {
469
303
  key: 0,
470
304
  icon: "fullscreen",
471
- "icon-color": "neutral-4",
305
+ "icon-color": "neutral-3",
472
306
  class: "fullscreen-button",
473
307
  onClick: _cache[0] || (_cache[0] = $event => _ctx.toggleFullscreen(true))
474
308
  })) : createCommentVNode("v-if", true)])], 2 /* CLASS */)])) : createCommentVNode("v-if", true), createElementVNode("div", {
@@ -2,7 +2,7 @@ import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
2
2
  import { logicAnd } from '@vueuse/math';
3
3
  import { defineComponent, ref, computed, watch } from 'vue-demi';
4
4
  import { s as script$2, a as ButtonColor } from './OrButton-c56998e7.js';
5
- import { s as script$3 } from './OrInput-bd054213.js';
5
+ import { s as script$3 } from './OrInput-71075f51.js';
6
6
  import { s as script$1 } from './OrOverlay-afad3aa4.js';
7
7
  import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from 'vue';
8
8