@onereach/ui-components 2.72.1 → 2.73.0-beta.2258.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 (37) hide show
  1. package/dist/bundled/v2/{OrCode-fc6876ec.js → OrCode-0cf7596d.js} +184 -12
  2. package/dist/bundled/v2/{OrNotification-3909aaf2.js → OrNotification-2e2a1941.js} +3 -3
  3. package/dist/bundled/v2/{OrSkeletonText-242d22f3.js → OrSkeletonText-2f1a3cc7.js} +3 -3
  4. package/dist/bundled/v2/components/index.js +3 -3
  5. package/dist/bundled/v2/components/or-code/OrCode.vue.d.ts +10 -0
  6. package/dist/bundled/v2/components/or-code/index.js +1 -1
  7. package/dist/bundled/v2/components/or-notification/index.js +1 -1
  8. package/dist/bundled/v2/components/or-skeleton/index.js +1 -1
  9. package/dist/bundled/v2/index.js +4 -4
  10. package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-c55de81d.js → OrCode.vue_vue_type_script_lang-df150e3b.js} +180 -8
  11. package/dist/bundled/v3/components/index.js +1 -1
  12. package/dist/bundled/v3/components/or-code/OrCode.vue.d.ts +10 -0
  13. package/dist/bundled/v3/components/or-code/index.js +1 -1
  14. package/dist/bundled/v3/index.js +8 -8
  15. package/dist/esm/v2/{OrCode-d4400b42.js → OrCode-e2ce05ea.js} +30 -12
  16. package/dist/esm/v2/{OrNotification-a9231a83.js → OrNotification-a49e76d3.js} +3 -3
  17. package/dist/esm/v2/{OrSkeletonText-cc94bdc9.js → OrSkeletonText-24509efe.js} +3 -3
  18. package/dist/esm/v2/components/index.js +4 -3
  19. package/dist/esm/v2/components/or-code/OrCode.vue.d.ts +10 -0
  20. package/dist/esm/v2/components/or-code/index.js +3 -2
  21. package/dist/esm/v2/components/or-notification/index.js +1 -1
  22. package/dist/esm/v2/components/or-skeleton/index.js +1 -1
  23. package/dist/esm/v2/index.js +4 -3
  24. package/dist/esm/v3/{OrCode-5ed69c23.js → OrCode-72688173.js} +27 -9
  25. package/dist/esm/v3/{OrNotification-e85a4956.js → OrNotification-eb08de33.js} +1 -1
  26. package/dist/esm/v3/{OrSkeletonText-2b1610ce.js → OrSkeletonText-0546754d.js} +3 -3
  27. package/dist/esm/v3/components/index.js +4 -3
  28. package/dist/esm/v3/components/or-code/OrCode.vue.d.ts +10 -0
  29. package/dist/esm/v3/components/or-code/index.js +3 -2
  30. package/dist/esm/v3/components/or-notification/index.js +1 -1
  31. package/dist/esm/v3/components/or-skeleton/index.js +1 -1
  32. package/dist/esm/v3/index.js +4 -3
  33. package/package.json +4 -4
  34. package/src/components/or-code/OrCode.vue +23 -6
  35. package/src/components/or-notification/OrNotification.vue +26 -1
  36. package/src/components/or-skeleton/styles.scss +18 -3
  37. package/src/components/or-stepper/OrStepper.stories.ts +1 -1
@@ -1,8 +1,9 @@
1
1
  import { EditorState } from '@codemirror/state';
2
2
  import { keymap } from '@codemirror/view';
3
3
  import { indentWithTab } from '@codemirror/commands';
4
- import { useElementHover } from '@vueuse/core';
5
4
  import { basicSetup, EditorView } from 'codemirror';
5
+ import { useMutationObserver, useElementHover } from '@vueuse/core';
6
+ import { oneDark } from '@codemirror/theme-one-dark';
6
7
  import _ from 'lodash';
7
8
  import { defineComponent, ref } from 'vue-demi';
8
9
  import './OrIconButton.vue_rollup-plugin-vue_script-9fb7b7ab.js';
@@ -132,6 +133,20 @@ var script = defineComponent({
132
133
  setup(props, {
133
134
  emit
134
135
  }) {
136
+ var _a;
137
+ // theming refs
138
+ const parent = document.querySelector('[data-theme]') || document.querySelector('html');
139
+ const themeEl = ref(parent);
140
+ const isDark = ref(((_a = parent === null || parent === void 0 ? void 0 : parent.getAttribute) === null || _a === void 0 ? void 0 : _a.call(parent, 'data-theme')) === 'dark');
141
+ const themeObserver = useMutationObserver(themeEl, mutations => {
142
+ var _a, _b;
143
+ const mutation = mutations.find(m => m.attributeName === 'data-theme');
144
+ if (!mutation) return;
145
+ isDark.value = ((_b = (_a = mutation.target) === null || _a === void 0 ? void 0 : _a.getAttribute) === null || _b === void 0 ? void 0 : _b.call(_a, 'data-theme')) === 'dark';
146
+ }, {
147
+ attributes: true
148
+ });
149
+ // editor config
135
150
  const root = ref();
136
151
  const target = ref();
137
152
  const fullscreenTarget = ref();
@@ -151,7 +166,9 @@ var script = defineComponent({
151
166
  target,
152
167
  fullscreenTarget,
153
168
  editor,
154
- isHovered
169
+ isHovered,
170
+ isDark,
171
+ themeObserver
155
172
  };
156
173
  },
157
174
  data() {
@@ -173,9 +190,11 @@ var script = defineComponent({
173
190
  allowPaste,
174
191
  lineWrapping
175
192
  } = this;
176
- const ext = _.compact([
193
+ const ext = _.compact([...(this.isDark ? [oneDark] : []),
177
194
  // Toggle light/dark mode
178
- EditorView.baseTheme({}),
195
+ this.isDark ? EditorView.theme({}, {
196
+ dark: true
197
+ }) : EditorView.baseTheme({}),
179
198
  // locale settings
180
199
  this.phrases ? EditorState.phrases.of(this.phrases) : undefined,
181
200
  // Parser language setting
@@ -202,10 +221,8 @@ var script = defineComponent({
202
221
  }
203
222
  }),
204
223
  // line wrapping
205
- lineWrapping ? EditorView.lineWrapping : undefined, keymap.of([indentWithTab])]);
206
- // Append Extensions (such as basic-setup)
207
- if (this.extensions.length !== 0) _.merge(ext, this.extensions);
208
- return ext;
224
+ lineWrapping ? EditorView.lineWrapping : undefined, keymap.of([indentWithTab]), ...this.extensions]);
225
+ return [...ext];
209
226
  },
210
227
  isShowingError() {
211
228
  return !!this.error && this.isInvalid;
@@ -248,6 +265,7 @@ var script = defineComponent({
248
265
  },
249
266
  beforeUnmount() {
250
267
  var _a;
268
+ this.themeObserver.stop();
251
269
  (_a = this.editor) === null || _a === void 0 ? void 0 : _a.destroy();
252
270
  },
253
271
  methods: {
@@ -297,7 +315,7 @@ var __vue_render__ = function () {
297
315
  staticClass: "fullscreen-button",
298
316
  attrs: {
299
317
  "icon": "fullscreen",
300
- "icon-color": "neutral-3"
318
+ "icon-color": "neutral-4"
301
319
  },
302
320
  on: {
303
321
  "click": function ($event) {
@@ -365,14 +383,14 @@ var __vue_staticRenderFns__ = [];
365
383
  /* style */
366
384
  const __vue_inject_styles__ = function (inject) {
367
385
  if (!inject) return;
368
- inject("data-v-2056db5f_0", {
369
- source: "@keyframes spinAround-data-v-2056db5f{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-2056db5f{from{opacity:1}to{opacity:0}}.or-code .fullscreen-button[data-v-2056db5f]{width:2.25rem;height:2.25rem}.or-code .fullscreen-button>.or-icon[data-v-2056db5f]{font-size:1.5rem}.or-code .footer .or-code-error[data-v-2056db5f],.or-code .footer .or-code-hint[data-v-2056db5f]{flex-shrink:1;transition-timing-function:var(--t-func);transition-duration:var(--t-duration);transition-property:height,opacity}.header[data-v-2056db5f]{display:flex;flex-direction:row;align-items:center;height:36px}.header .actions[data-v-2056db5f]{margin-left:auto}.header .actions[data-v-2056db5f]:not(.is-visible){display:none}.or-code-editor[data-v-2056db5f]{min-height:calc(1.4em + 8px);overflow:auto;font-size:var(--fs-0);border:1px solid var(--c-neutral-2);border-radius:var(--s-2)}.or-code-editor.is-invalid[data-v-2056db5f]{border-color:var(--c-error)}.or-code-editor[data-v-2056db5f]> *{width:100%;height:100%}.or-code[data-v-2056db5f],.or-modal[data-v-2056db5f] .content{display:flex;flex-direction:column}.or-code .or-code-editor[data-v-2056db5f],.or-modal[data-v-2056db5f] .content .or-code-editor{flex-grow:1;text-align:left!important}",
386
+ inject("data-v-c0fc62cc_0", {
387
+ source: "@keyframes spinAround-data-v-c0fc62cc{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-c0fc62cc{from{opacity:1}to{opacity:0}}.or-code .fullscreen-button[data-v-c0fc62cc]{width:2.25rem;height:2.25rem}.or-code .fullscreen-button>.or-icon[data-v-c0fc62cc]{font-size:1.5rem}.or-code .footer .or-code-error[data-v-c0fc62cc],.or-code .footer .or-code-hint[data-v-c0fc62cc]{flex-shrink:1;transition-timing-function:var(--t-func);transition-duration:var(--t-duration);transition-property:height,opacity}.header[data-v-c0fc62cc]{display:flex;flex-direction:row;align-items:center;height:36px}.header .actions[data-v-c0fc62cc]{margin-left:auto}.header .actions[data-v-c0fc62cc]:not(.is-visible){display:none}.or-code-editor[data-v-c0fc62cc]{min-height:calc(1.4em + 8px);overflow:auto;font-size:var(--fs-0);border:1px solid var(--c-neutral-2);border-radius:var(--s-2)}.or-code-editor.is-invalid[data-v-c0fc62cc]{border-color:var(--c-error)}.or-code-editor[data-v-c0fc62cc]> *{width:100%;height:100%}.or-code[data-v-c0fc62cc],.or-modal[data-v-c0fc62cc] .content{display:flex;flex-direction:column}.or-code .or-code-editor[data-v-c0fc62cc],.or-modal[data-v-c0fc62cc] .content .or-code-editor{flex-grow:1;text-align:left!important}",
370
388
  map: undefined,
371
389
  media: undefined
372
390
  });
373
391
  };
374
392
  /* scoped */
375
- const __vue_scope_id__ = "data-v-2056db5f";
393
+ const __vue_scope_id__ = "data-v-c0fc62cc";
376
394
  /* module identifier */
377
395
  const __vue_module_identifier__ = undefined;
378
396
  /* functional template */
@@ -120,14 +120,14 @@ var __vue_staticRenderFns__ = [];
120
120
  /* style */
121
121
  const __vue_inject_styles__ = function (inject) {
122
122
  if (!inject) return;
123
- inject("data-v-7bc0e6b5_0", {
124
- source: "@keyframes spinAround-data-v-7bc0e6b5{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-7bc0e6b5{from{opacity:1}to{opacity:0}}.or-notification[data-v-7bc0e6b5]{--alignment-height:var(--lh-1);display:flex;align-items:flex-start;width:100%;padding:var(--s-4);background-color:var(--c-white);border-radius:.25rem;box-shadow:0 .0625rem .25rem .0625rem rgba(0,0,0,.08);transition-timing-function:var(--t-func);transition-duration:var(--t-duration);transition-property:background-color}.or-notification.is-size-default[data-v-7bc0e6b5]{max-width:48rem}.or-notification.is-size-inline[data-v-7bc0e6b5]{max-width:27.875rem}.or-notification a[data-v-7bc0e6b5]{font-weight:var(--fw-2);color:var(--c-black)}.or-notification--icon[data-v-7bc0e6b5]{display:flex;align-items:center;min-height:var(--alignment-height);margin-right:var(--s-4)}.or-notification--icon[data-v-7bc0e6b5] .or-icon{font-size:1rem}.or-notification--content[data-v-7bc0e6b5]{flex:1 1 100%;word-break:break-word}.or-notification--close[data-v-7bc0e6b5]{display:flex;height:var(--alignment-height);margin-left:1rem}.or-notification--close[data-v-7bc0e6b5] .or-icon{font-size:1rem!important}.or-notification.is-type-info[data-v-7bc0e6b5]{background-color:var(--c-primary-lighten-45)}.or-notification.is-type-info a[data-v-7bc0e6b5]{color:var(--c-primary)}.or-notification.is-type-error[data-v-7bc0e6b5]{background-color:var(--c-error-lighten-45)}.or-notification.is-type-error a[data-v-7bc0e6b5]{color:var(--c-error)}.or-notification.is-type-warning[data-v-7bc0e6b5]{background-color:var(--c-warning-lighten-45)}.or-notification.is-type-warning a[data-v-7bc0e6b5]{color:var(--c-warning)}.or-notification.is-type-success[data-v-7bc0e6b5]{background-color:var(--c-success-lighten-45)}.or-notification.is-type-success a[data-v-7bc0e6b5]{color:var(--c-success)}",
123
+ inject("data-v-6284d461_0", {
124
+ source: "@keyframes spinAround-data-v-6284d461{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-6284d461{from{opacity:1}to{opacity:0}}.or-notification[data-v-6284d461]{--alignment-height:var(--lh-1);display:flex;align-items:flex-start;width:100%;padding:var(--s-4);background-color:var(--c-white);border-radius:.25rem;box-shadow:0 .0625rem .25rem .0625rem rgba(0,0,0,.08);transition-timing-function:var(--t-func);transition-duration:var(--t-duration);transition-property:background-color}.or-notification.is-size-default[data-v-6284d461]{max-width:48rem}.or-notification.is-size-inline[data-v-6284d461]{max-width:27.875rem}.or-notification a[data-v-6284d461]{font-weight:var(--fw-2);color:var(--c-black)}.or-notification--icon[data-v-6284d461]{display:flex;align-items:center;min-height:var(--alignment-height);margin-right:var(--s-4)}.or-notification--icon[data-v-6284d461] .or-icon{font-size:1rem}.or-notification--content[data-v-6284d461]{flex:1 1 100%;word-break:break-word}.or-notification--close[data-v-6284d461]{display:flex;height:var(--alignment-height);margin-left:1rem}.or-notification--close[data-v-6284d461] .or-icon{font-size:1rem!important}.or-notification.is-type-info[data-v-6284d461]{background-color:var(--c-primary-lighten-45)}.or-notification.is-type-info a[data-v-6284d461]{color:var(--c-primary)}.or-notification.is-type-error[data-v-6284d461]{background-color:var(--c-error-lighten-45)}.or-notification.is-type-error a[data-v-6284d461]{color:var(--c-error)}.or-notification.is-type-warning[data-v-6284d461]{background-color:var(--c-warning-lighten-45)}.or-notification.is-type-warning a[data-v-6284d461]{color:var(--c-warning)}.or-notification.is-type-success[data-v-6284d461]{background-color:var(--c-success-lighten-45)}.or-notification.is-type-success a[data-v-6284d461]{color:var(--c-success)}[data-theme=dark] .or-notification .or-icon[data-v-6284d461]{color:var(--c-neutral-1)}[data-theme=dark] .or-notification.is-type-info[data-v-6284d461]{background-color:var(--c-primary-darken-45);color:var(--c-neutral-6)}[data-theme=dark] .or-notification.is-type-info a[data-v-6284d461]{color:var(--c-neutral-6)}[data-theme=dark] .or-notification.is-type-error[data-v-6284d461]{background-color:var(--c-error-darken-45);color:var(--c-neutral-6)}[data-theme=dark] .or-notification.is-type-error a[data-v-6284d461]{color:var(--c-neutral-6)}[data-theme=dark] .or-notification.is-type-warning[data-v-6284d461]{background-color:var(--c-warning-darken-45);color:var(--c-neutral-6)}[data-theme=dark] .or-notification.is-type-warning a[data-v-6284d461]{color:var(--c-neutral-6)}[data-theme=dark] .or-notification.is-type-success[data-v-6284d461]{background-color:var(--c-success-darken-45);color:var(--c-neutral-6)}[data-theme=dark] .or-notification.is-type-success a[data-v-6284d461]{color:var(--c-neutral-6)}",
125
125
  map: undefined,
126
126
  media: undefined
127
127
  });
128
128
  };
129
129
  /* scoped */
130
- const __vue_scope_id__ = "data-v-7bc0e6b5";
130
+ const __vue_scope_id__ = "data-v-6284d461";
131
131
  /* module identifier */
132
132
  const __vue_module_identifier__ = undefined;
133
133
  /* functional template */
@@ -58,7 +58,7 @@ var __vue_staticRenderFns__$2 = [];
58
58
  const __vue_inject_styles__$2 = function (inject) {
59
59
  if (!inject) return;
60
60
  inject("data-v-2bdce55a_0", {
61
- source: "@keyframes spinAround-data-v-2bdce55a{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-2bdce55a{from{opacity:1}to{opacity:0}}@keyframes spinAround-data-v-2bdce55a{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-2bdce55a{from{opacity:1}to{opacity:0}}@keyframes wave-data-v-2bdce55a{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}.or-skeleton[data-v-2bdce55a]{overflow:hidden;position:relative;padding:0;background:#f6f8fd;border:0}.or-skeleton.is-animated[data-v-2bdce55a]::before{content:\"\";display:block;position:absolute;left:0;right:0;bottom:0;top:0;background:linear-gradient(90.14deg,#f6f8fd .1%,#fff 49.98%,#f6f8fd 99.06%);animation:wave-data-v-2bdce55a 1.5s linear .5s infinite}.or-skeleton-circle[data-v-2bdce55a]{border-radius:9999px!important}",
61
+ source: "@keyframes spinAround-data-v-2bdce55a{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-2bdce55a{from{opacity:1}to{opacity:0}}@keyframes spinAround-data-v-2bdce55a{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-2bdce55a{from{opacity:1}to{opacity:0}}@keyframes wave-data-v-2bdce55a{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}.or-skeleton[data-v-2bdce55a]{overflow:hidden;position:relative;padding:0;background:#f6f8fd;border:0}.or-skeleton.is-animated[data-v-2bdce55a]::before{content:\"\";display:block;position:absolute;left:0;right:0;bottom:0;top:0;background:linear-gradient(90.14deg,#f6f8fd .1%,#fff 49.98%,#f6f8fd 99.06%);animation:wave-data-v-2bdce55a 1.5s linear .5s infinite}[data-theme=dark] .or-skeleton[data-v-2bdce55a]{background:var(--c-neutral-3)}[data-theme=dark] .or-skeleton.is-animated[data-v-2bdce55a]::before{background:linear-gradient(90.14deg,var(--c-neutral-3) .1%,var(--c-neutral-2) 49.98%,var(--c-neutral-3) 99.06%)}.or-skeleton-circle[data-v-2bdce55a]{border-radius:9999px!important}",
62
62
  map: undefined,
63
63
  media: undefined
64
64
  });
@@ -135,7 +135,7 @@ var __vue_staticRenderFns__$1 = [];
135
135
  const __vue_inject_styles__$1 = function (inject) {
136
136
  if (!inject) return;
137
137
  inject("data-v-570f1e07_0", {
138
- source: "@keyframes spinAround-data-v-570f1e07{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-570f1e07{from{opacity:1}to{opacity:0}}@keyframes spinAround-data-v-570f1e07{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-570f1e07{from{opacity:1}to{opacity:0}}@keyframes wave-data-v-570f1e07{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}.or-skeleton[data-v-570f1e07]{overflow:hidden;position:relative;padding:0;background:#f6f8fd;border:0}.or-skeleton.is-animated[data-v-570f1e07]::before{content:\"\";display:block;position:absolute;left:0;right:0;bottom:0;top:0;background:linear-gradient(90.14deg,#f6f8fd .1%,#fff 49.98%,#f6f8fd 99.06%);animation:wave-data-v-570f1e07 1.5s linear .5s infinite}.or-skeleton-rect[data-v-570f1e07]{border-radius:var(--s-2)}",
138
+ source: "@keyframes spinAround-data-v-570f1e07{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-570f1e07{from{opacity:1}to{opacity:0}}@keyframes spinAround-data-v-570f1e07{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-570f1e07{from{opacity:1}to{opacity:0}}@keyframes wave-data-v-570f1e07{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}.or-skeleton[data-v-570f1e07]{overflow:hidden;position:relative;padding:0;background:#f6f8fd;border:0}.or-skeleton.is-animated[data-v-570f1e07]::before{content:\"\";display:block;position:absolute;left:0;right:0;bottom:0;top:0;background:linear-gradient(90.14deg,#f6f8fd .1%,#fff 49.98%,#f6f8fd 99.06%);animation:wave-data-v-570f1e07 1.5s linear .5s infinite}[data-theme=dark] .or-skeleton[data-v-570f1e07]{background:var(--c-neutral-3)}[data-theme=dark] .or-skeleton.is-animated[data-v-570f1e07]::before{background:linear-gradient(90.14deg,var(--c-neutral-3) .1%,var(--c-neutral-2) 49.98%,var(--c-neutral-3) 99.06%)}.or-skeleton-rect[data-v-570f1e07]{border-radius:var(--s-2)}",
139
139
  map: undefined,
140
140
  media: undefined
141
141
  });
@@ -235,7 +235,7 @@ var __vue_staticRenderFns__ = [];
235
235
  const __vue_inject_styles__ = function (inject) {
236
236
  if (!inject) return;
237
237
  inject("data-v-1ddb38df_0", {
238
- source: "@keyframes spinAround-data-v-1ddb38df{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-1ddb38df{from{opacity:1}to{opacity:0}}@keyframes spinAround-data-v-1ddb38df{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-1ddb38df{from{opacity:1}to{opacity:0}}@keyframes wave-data-v-1ddb38df{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}.or-skeleton[data-v-1ddb38df]{overflow:hidden;position:relative;padding:0;background:#f6f8fd;border:0}.or-skeleton.is-animated[data-v-1ddb38df]::before{content:\"\";display:block;position:absolute;left:0;right:0;bottom:0;top:0;background:linear-gradient(90.14deg,#f6f8fd .1%,#fff 49.98%,#f6f8fd 99.06%);animation:wave-data-v-1ddb38df 1.5s linear .5s infinite}.or-skeleton-text-root[data-v-1ddb38df]{height:auto;display:flex;flex-direction:column}.or-skeleton-text-root .or-skeleton-text[data-v-1ddb38df]{border-radius:var(--s-2);width:100%}.or-skeleton-text-root .or-skeleton-text-headline-1[data-v-1ddb38df]{height:1.5rem;margin:.145rem 0}.or-skeleton-text-root .or-skeleton-text-headline-2[data-v-1ddb38df]{height:1.25rem;margin:.03125rem 0}.or-skeleton-text-root .or-skeleton-text-headline-3[data-v-1ddb38df]{height:1rem;margin:.25rem 0}.or-skeleton-text-root .or-skeleton-text-body-1[data-v-1ddb38df]{height:1rem;margin:.25rem 0}.or-skeleton-text-root .or-skeleton-text-body-2[data-v-1ddb38df]{height:.875rem;margin:.21875rem 0}.or-skeleton-text-root .or-skeleton-text-button[data-v-1ddb38df]{height:.875rem;margin:.1875rem 0}.or-skeleton-text-root .or-skeleton-text-caption[data-v-1ddb38df]{height:.75rem;margin:.1875rem 0}",
238
+ source: "@keyframes spinAround-data-v-1ddb38df{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-1ddb38df{from{opacity:1}to{opacity:0}}@keyframes spinAround-data-v-1ddb38df{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-1ddb38df{from{opacity:1}to{opacity:0}}@keyframes wave-data-v-1ddb38df{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}.or-skeleton[data-v-1ddb38df]{overflow:hidden;position:relative;padding:0;background:#f6f8fd;border:0}.or-skeleton.is-animated[data-v-1ddb38df]::before{content:\"\";display:block;position:absolute;left:0;right:0;bottom:0;top:0;background:linear-gradient(90.14deg,#f6f8fd .1%,#fff 49.98%,#f6f8fd 99.06%);animation:wave-data-v-1ddb38df 1.5s linear .5s infinite}[data-theme=dark] .or-skeleton[data-v-1ddb38df]{background:var(--c-neutral-3)}[data-theme=dark] .or-skeleton.is-animated[data-v-1ddb38df]::before{background:linear-gradient(90.14deg,var(--c-neutral-3) .1%,var(--c-neutral-2) 49.98%,var(--c-neutral-3) 99.06%)}.or-skeleton-text-root[data-v-1ddb38df]{height:auto;display:flex;flex-direction:column}.or-skeleton-text-root .or-skeleton-text[data-v-1ddb38df]{border-radius:var(--s-2);width:100%}.or-skeleton-text-root .or-skeleton-text-headline-1[data-v-1ddb38df]{height:1.5rem;margin:.145rem 0}.or-skeleton-text-root .or-skeleton-text-headline-2[data-v-1ddb38df]{height:1.25rem;margin:.03125rem 0}.or-skeleton-text-root .or-skeleton-text-headline-3[data-v-1ddb38df]{height:1rem;margin:.25rem 0}.or-skeleton-text-root .or-skeleton-text-body-1[data-v-1ddb38df]{height:1rem;margin:.25rem 0}.or-skeleton-text-root .or-skeleton-text-body-2[data-v-1ddb38df]{height:.875rem;margin:.21875rem 0}.or-skeleton-text-root .or-skeleton-text-button[data-v-1ddb38df]{height:.875rem;margin:.1875rem 0}.or-skeleton-text-root .or-skeleton-text-caption[data-v-1ddb38df]{height:.75rem;margin:.1875rem 0}",
239
239
  map: undefined,
240
240
  media: undefined
241
241
  });
@@ -15,7 +15,7 @@ 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-d4400b42.js';
18
+ export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-e2ce05ea.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';
@@ -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-a9231a83.js';
55
+ export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from '../OrNotification-a49e76d3.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';
@@ -72,7 +72,7 @@ export { _ as OrSelect } from '../OrSelect-dae2b069.js';
72
72
  export { _ as OrSelectV3 } from '../OrSelect-e31d1c8b.js';
73
73
  export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-7d6125bb.js';
74
74
  export { O as OrSidebarPlacement, _ as OrSidebarV3 } from '../OrSidebar-fabc7bc9.js';
75
- export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-cc94bdc9.js';
75
+ export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-24509efe.js';
76
76
  export { _ as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from '../OrSkeletonText-6ee72718.js';
77
77
  export { _ as OrSlider } from '../OrSlider-f7b9c7c2.js';
78
78
  export { _ as OrSortHeaderV3 } from '../OrSortHeader-592727dc.js';
@@ -111,6 +111,7 @@ import '@codemirror/state';
111
111
  import '@codemirror/view';
112
112
  import '@codemirror/commands';
113
113
  import 'codemirror';
114
+ import '@codemirror/theme-one-dark';
114
115
  import '@codemirror/lang-html';
115
116
  import '@codemirror/lang-css';
116
117
  import '@codemirror/lang-json';
@@ -9,6 +9,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
9
9
  fullscreenTarget: Ref<HTMLDivElement | undefined>;
10
10
  editor: EditorView;
11
11
  isHovered: Ref<boolean>;
12
+ isDark: Ref<boolean>;
13
+ themeObserver: {
14
+ isSupported: Ref<boolean>;
15
+ stop: () => void;
16
+ };
12
17
  }> & {
13
18
  isFullscreen: boolean;
14
19
  }, {
@@ -168,6 +173,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
168
173
  fullscreenTarget: Ref<HTMLDivElement | undefined>;
169
174
  editor: EditorView;
170
175
  isHovered: Ref<boolean>;
176
+ isDark: Ref<boolean>;
177
+ themeObserver: {
178
+ isSupported: Ref<boolean>;
179
+ stop: () => void;
180
+ };
171
181
  }>, {
172
182
  isFullscreen: boolean;
173
183
  }, {
@@ -1,9 +1,10 @@
1
- export { _ as OrCode, O as OrCodeLanguages } from '../../OrCode-d4400b42.js';
1
+ export { _ as OrCode, O as OrCodeLanguages } from '../../OrCode-e2ce05ea.js';
2
2
  import '@codemirror/state';
3
3
  import '@codemirror/view';
4
4
  import '@codemirror/commands';
5
- import '@vueuse/core';
6
5
  import 'codemirror';
6
+ import '@vueuse/core';
7
+ import '@codemirror/theme-one-dark';
7
8
  import 'lodash';
8
9
  import 'vue-demi';
9
10
  import '../../OrIconButton.vue_rollup-plugin-vue_script-9fb7b7ab.js';
@@ -1,4 +1,4 @@
1
- export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from '../../OrNotification-a9231a83.js';
1
+ export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from '../../OrNotification-a49e76d3.js';
2
2
  import 'vue-demi';
3
3
  import '../../OrIcon-819166f6.js';
4
4
  import 'lodash';
@@ -1,4 +1,4 @@
1
- export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../../OrSkeletonText-cc94bdc9.js';
1
+ export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../../OrSkeletonText-24509efe.js';
2
2
  import 'vue-demi';
3
3
  import '../../px-to-rem-0b26b83e.js';
4
4
  import 'lodash';
@@ -15,7 +15,7 @@ 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-d4400b42.js';
18
+ export { _ as OrCode, O as OrCodeLanguages } from './OrCode-e2ce05ea.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';
@@ -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-a9231a83.js';
55
+ export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from './OrNotification-a49e76d3.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';
@@ -72,7 +72,7 @@ export { _ as OrSelect } from './OrSelect-dae2b069.js';
72
72
  export { _ as OrSelectV3 } from './OrSelect-e31d1c8b.js';
73
73
  export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-7d6125bb.js';
74
74
  export { O as OrSidebarPlacement, _ as OrSidebarV3 } from './OrSidebar-fabc7bc9.js';
75
- export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-cc94bdc9.js';
75
+ export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-24509efe.js';
76
76
  export { _ as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from './OrSkeletonText-6ee72718.js';
77
77
  export { _ as OrSlider } from './OrSlider-f7b9c7c2.js';
78
78
  export { _ as OrSortHeaderV3 } from './OrSortHeader-592727dc.js';
@@ -117,6 +117,7 @@ import '@codemirror/state';
117
117
  import '@codemirror/view';
118
118
  import '@codemirror/commands';
119
119
  import 'codemirror';
120
+ import '@codemirror/theme-one-dark';
120
121
  import '@codemirror/lang-html';
121
122
  import '@codemirror/lang-css';
122
123
  import '@codemirror/lang-json';
@@ -1,8 +1,9 @@
1
1
  import { EditorState } from '@codemirror/state';
2
2
  import { keymap } from '@codemirror/view';
3
3
  import { indentWithTab } from '@codemirror/commands';
4
- import { useElementHover } from '@vueuse/core';
5
4
  import { basicSetup, EditorView } from 'codemirror';
5
+ import { useMutationObserver, useElementHover } from '@vueuse/core';
6
+ import { oneDark } from '@codemirror/theme-one-dark';
6
7
  import _ from 'lodash';
7
8
  import { defineComponent, ref } from 'vue-demi';
8
9
  import { a as script$1 } from './OrIconButton-8be9c89f.js';
@@ -131,6 +132,20 @@ var script = defineComponent({
131
132
  setup(props, {
132
133
  emit
133
134
  }) {
135
+ var _a;
136
+ // theming refs
137
+ const parent = document.querySelector('[data-theme]') || document.querySelector('html');
138
+ const themeEl = ref(parent);
139
+ const isDark = ref(((_a = parent === null || parent === void 0 ? void 0 : parent.getAttribute) === null || _a === void 0 ? void 0 : _a.call(parent, 'data-theme')) === 'dark');
140
+ const themeObserver = useMutationObserver(themeEl, mutations => {
141
+ var _a, _b;
142
+ const mutation = mutations.find(m => m.attributeName === 'data-theme');
143
+ if (!mutation) return;
144
+ isDark.value = ((_b = (_a = mutation.target) === null || _a === void 0 ? void 0 : _a.getAttribute) === null || _b === void 0 ? void 0 : _b.call(_a, 'data-theme')) === 'dark';
145
+ }, {
146
+ attributes: true
147
+ });
148
+ // editor config
134
149
  const root = ref();
135
150
  const target = ref();
136
151
  const fullscreenTarget = ref();
@@ -150,7 +165,9 @@ var script = defineComponent({
150
165
  target,
151
166
  fullscreenTarget,
152
167
  editor,
153
- isHovered
168
+ isHovered,
169
+ isDark,
170
+ themeObserver
154
171
  };
155
172
  },
156
173
  data() {
@@ -172,9 +189,11 @@ var script = defineComponent({
172
189
  allowPaste,
173
190
  lineWrapping
174
191
  } = this;
175
- const ext = _.compact([
192
+ const ext = _.compact([...(this.isDark ? [oneDark] : []),
176
193
  // Toggle light/dark mode
177
- EditorView.baseTheme({}),
194
+ this.isDark ? EditorView.theme({}, {
195
+ dark: true
196
+ }) : EditorView.baseTheme({}),
178
197
  // locale settings
179
198
  this.phrases ? EditorState.phrases.of(this.phrases) : undefined,
180
199
  // Parser language setting
@@ -201,10 +220,8 @@ var script = defineComponent({
201
220
  }
202
221
  }),
203
222
  // line wrapping
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;
223
+ lineWrapping ? EditorView.lineWrapping : undefined, keymap.of([indentWithTab]), ...this.extensions]);
224
+ return [...ext];
208
225
  },
209
226
  isShowingError() {
210
227
  return !!this.error && this.isInvalid;
@@ -247,6 +264,7 @@ var script = defineComponent({
247
264
  },
248
265
  beforeUnmount() {
249
266
  var _a;
267
+ this.themeObserver.stop();
250
268
  (_a = this.editor) === null || _a === void 0 ? void 0 : _a.destroy();
251
269
  },
252
270
  methods: {
@@ -302,7 +320,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
302
320
  }, () => [_ctx.isShowingFullscreen ? (openBlock(), createBlock(_component_or_icon_button, {
303
321
  key: 0,
304
322
  icon: "fullscreen",
305
- "icon-color": "neutral-3",
323
+ "icon-color": "neutral-4",
306
324
  class: "fullscreen-button",
307
325
  onClick: _cache[0] || (_cache[0] = $event => _ctx.toggleFullscreen(true))
308
326
  })) : createCommentVNode("v-if", true)])], 2 /* CLASS */)])) : createCommentVNode("v-if", true), createElementVNode("div", {
@@ -104,7 +104,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
104
104
  })) : createCommentVNode("v-if", true)], 2 /* CLASS */);
105
105
  }
106
106
 
107
- var css_248z = "/**\n * A simple way to manage mobile breakpoints described in https://davidwalsh.name/write-media-queries-sass.\n * Can be further extended using following approach https://rimdev.io/making-media-query-mixins-with-sass/\n */\n@keyframes spinAround-2a8b1558 {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-2a8b1558 {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n.or-notification[data-v-2a8b1558] {\n /** TODO: Override when mobile design is ready to guarantee alignment of icons with first text row */\n --alignment-height: var(--lh-1);\n display: flex;\n align-items: flex-start;\n width: 100%;\n padding: var(--s-4);\n background-color: var(--c-white);\n border-radius: 0.25rem;\n box-shadow: 0 0.0625rem 0.25rem 0.0625rem rgba(0, 0, 0, 0.08);\n transition-timing-function: var(--t-func);\n transition-duration: var(--t-duration);\n transition-property: background-color;\n}\n.or-notification.is-size-default[data-v-2a8b1558] {\n max-width: 48rem;\n}\n.or-notification.is-size-inline[data-v-2a8b1558] {\n max-width: 27.875rem;\n}\n.or-notification a[data-v-2a8b1558] {\n font-weight: var(--fw-2);\n color: var(--c-black);\n}\n.or-notification--icon[data-v-2a8b1558] {\n display: flex;\n align-items: center;\n min-height: var(--alignment-height);\n margin-right: var(--s-4);\n}\n.or-notification--icon[data-v-2a8b1558] .or-icon {\n font-size: 1rem;\n}\n.or-notification--content[data-v-2a8b1558] {\n flex: 1 1 100%;\n word-break: break-word;\n}\n.or-notification--close[data-v-2a8b1558] {\n display: flex;\n height: var(--alignment-height);\n margin-left: 1rem;\n}\n.or-notification--close[data-v-2a8b1558] .or-icon {\n font-size: 1rem !important;\n}\n.or-notification.is-type-info[data-v-2a8b1558] {\n background-color: var(--c-primary-lighten-45);\n}\n.or-notification.is-type-info a[data-v-2a8b1558] {\n color: var(--c-primary);\n}\n.or-notification.is-type-error[data-v-2a8b1558] {\n background-color: var(--c-error-lighten-45);\n}\n.or-notification.is-type-error a[data-v-2a8b1558] {\n color: var(--c-error);\n}\n.or-notification.is-type-warning[data-v-2a8b1558] {\n background-color: var(--c-warning-lighten-45);\n}\n.or-notification.is-type-warning a[data-v-2a8b1558] {\n color: var(--c-warning);\n}\n.or-notification.is-type-success[data-v-2a8b1558] {\n background-color: var(--c-success-lighten-45);\n}\n.or-notification.is-type-success a[data-v-2a8b1558] {\n color: var(--c-success);\n}";
107
+ var css_248z = "/**\n * A simple way to manage mobile breakpoints described in https://davidwalsh.name/write-media-queries-sass.\n * Can be further extended using following approach https://rimdev.io/making-media-query-mixins-with-sass/\n */\n@keyframes spinAround-2a8b1558 {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-2a8b1558 {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n.or-notification[data-v-2a8b1558] {\n /** TODO: Override when mobile design is ready to guarantee alignment of icons with first text row */\n --alignment-height: var(--lh-1);\n display: flex;\n align-items: flex-start;\n width: 100%;\n padding: var(--s-4);\n background-color: var(--c-white);\n border-radius: 0.25rem;\n box-shadow: 0 0.0625rem 0.25rem 0.0625rem rgba(0, 0, 0, 0.08);\n transition-timing-function: var(--t-func);\n transition-duration: var(--t-duration);\n transition-property: background-color;\n}\n.or-notification.is-size-default[data-v-2a8b1558] {\n max-width: 48rem;\n}\n.or-notification.is-size-inline[data-v-2a8b1558] {\n max-width: 27.875rem;\n}\n.or-notification a[data-v-2a8b1558] {\n font-weight: var(--fw-2);\n color: var(--c-black);\n}\n.or-notification--icon[data-v-2a8b1558] {\n display: flex;\n align-items: center;\n min-height: var(--alignment-height);\n margin-right: var(--s-4);\n}\n.or-notification--icon[data-v-2a8b1558] .or-icon {\n font-size: 1rem;\n}\n.or-notification--content[data-v-2a8b1558] {\n flex: 1 1 100%;\n word-break: break-word;\n}\n.or-notification--close[data-v-2a8b1558] {\n display: flex;\n height: var(--alignment-height);\n margin-left: 1rem;\n}\n.or-notification--close[data-v-2a8b1558] .or-icon {\n font-size: 1rem !important;\n}\n.or-notification.is-type-info[data-v-2a8b1558] {\n background-color: var(--c-primary-lighten-45);\n}\n.or-notification.is-type-info a[data-v-2a8b1558] {\n color: var(--c-primary);\n}\n.or-notification.is-type-error[data-v-2a8b1558] {\n background-color: var(--c-error-lighten-45);\n}\n.or-notification.is-type-error a[data-v-2a8b1558] {\n color: var(--c-error);\n}\n.or-notification.is-type-warning[data-v-2a8b1558] {\n background-color: var(--c-warning-lighten-45);\n}\n.or-notification.is-type-warning a[data-v-2a8b1558] {\n color: var(--c-warning);\n}\n.or-notification.is-type-success[data-v-2a8b1558] {\n background-color: var(--c-success-lighten-45);\n}\n.or-notification.is-type-success a[data-v-2a8b1558] {\n color: var(--c-success);\n}\n[data-theme=dark] .or-notification .or-icon[data-v-2a8b1558] {\n color: var(--c-neutral-1);\n}\n[data-theme=dark] .or-notification.is-type-info[data-v-2a8b1558] {\n background-color: var(--c-primary-darken-45);\n color: var(--c-neutral-6);\n}\n[data-theme=dark] .or-notification.is-type-info a[data-v-2a8b1558] {\n color: var(--c-neutral-6);\n}\n[data-theme=dark] .or-notification.is-type-error[data-v-2a8b1558] {\n background-color: var(--c-error-darken-45);\n color: var(--c-neutral-6);\n}\n[data-theme=dark] .or-notification.is-type-error a[data-v-2a8b1558] {\n color: var(--c-neutral-6);\n}\n[data-theme=dark] .or-notification.is-type-warning[data-v-2a8b1558] {\n background-color: var(--c-warning-darken-45);\n color: var(--c-neutral-6);\n}\n[data-theme=dark] .or-notification.is-type-warning a[data-v-2a8b1558] {\n color: var(--c-neutral-6);\n}\n[data-theme=dark] .or-notification.is-type-success[data-v-2a8b1558] {\n background-color: var(--c-success-darken-45);\n color: var(--c-neutral-6);\n}\n[data-theme=dark] .or-notification.is-type-success a[data-v-2a8b1558] {\n color: var(--c-neutral-6);\n}";
108
108
  styleInject(css_248z);
109
109
 
110
110
  script.render = render;
@@ -45,7 +45,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
45
45
  }, null, 6 /* CLASS, STYLE */);
46
46
  }
47
47
 
48
- var css_248z$2 = "/**\n * A simple way to manage mobile breakpoints described in https://davidwalsh.name/write-media-queries-sass.\n * Can be further extended using following approach https://rimdev.io/making-media-query-mixins-with-sass/\n */\n@keyframes spinAround-374502f0 {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-374502f0 {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n/**\n * A simple way to manage mobile breakpoints described in https://davidwalsh.name/write-media-queries-sass.\n * Can be further extended using following approach https://rimdev.io/making-media-query-mixins-with-sass/\n */\n@keyframes spinAround-374502f0 {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-374502f0 {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n@keyframes wave-374502f0 {\n0% {\n transform: translateX(-100%);\n}\n100% {\n transform: translateX(100%);\n}\n}\n.or-skeleton[data-v-374502f0] {\n overflow: hidden;\n position: relative;\n padding: 0;\n background: #f6f8fd;\n border: 0;\n}\n.or-skeleton.is-animated[data-v-374502f0]::before {\n content: \"\";\n display: block;\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n background: linear-gradient(90.14deg, #f6f8fd 0.1%, #fff 49.98%, #f6f8fd 99.06%);\n animation: wave-374502f0 1.5s linear 0.5s infinite;\n}\n.or-skeleton-circle[data-v-374502f0] {\n border-radius: 9999px !important;\n}";
48
+ var css_248z$2 = "/**\n * A simple way to manage mobile breakpoints described in https://davidwalsh.name/write-media-queries-sass.\n * Can be further extended using following approach https://rimdev.io/making-media-query-mixins-with-sass/\n */\n@keyframes spinAround-374502f0 {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-374502f0 {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n/**\n * A simple way to manage mobile breakpoints described in https://davidwalsh.name/write-media-queries-sass.\n * Can be further extended using following approach https://rimdev.io/making-media-query-mixins-with-sass/\n */\n@keyframes spinAround-374502f0 {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-374502f0 {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n@keyframes wave-374502f0 {\n0% {\n transform: translateX(-100%);\n}\n100% {\n transform: translateX(100%);\n}\n}\n.or-skeleton[data-v-374502f0] {\n overflow: hidden;\n position: relative;\n padding: 0;\n background: #f6f8fd;\n border: 0;\n}\n.or-skeleton.is-animated[data-v-374502f0]::before {\n content: \"\";\n display: block;\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n background: linear-gradient(90.14deg, #f6f8fd 0.1%, #fff 49.98%, #f6f8fd 99.06%);\n animation: wave-374502f0 1.5s linear 0.5s infinite;\n}\n[data-theme=dark] .or-skeleton[data-v-374502f0] {\n background: var(--c-neutral-3);\n}\n[data-theme=dark] .or-skeleton.is-animated[data-v-374502f0]::before {\n background: linear-gradient(90.14deg, var(--c-neutral-3) 0.1%, var(--c-neutral-2) 49.98%, var(--c-neutral-3) 99.06%);\n}\n.or-skeleton-circle[data-v-374502f0] {\n border-radius: 9999px !important;\n}";
49
49
  styleInject(css_248z$2);
50
50
 
51
51
  script$2.render = render$2;
@@ -96,7 +96,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
96
96
  }, null, 6 /* CLASS, STYLE */);
97
97
  }
98
98
 
99
- var css_248z$1 = "/**\n * A simple way to manage mobile breakpoints described in https://davidwalsh.name/write-media-queries-sass.\n * Can be further extended using following approach https://rimdev.io/making-media-query-mixins-with-sass/\n */\n@keyframes spinAround-043cb99c {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-043cb99c {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n/**\n * A simple way to manage mobile breakpoints described in https://davidwalsh.name/write-media-queries-sass.\n * Can be further extended using following approach https://rimdev.io/making-media-query-mixins-with-sass/\n */\n@keyframes spinAround-043cb99c {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-043cb99c {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n@keyframes wave-043cb99c {\n0% {\n transform: translateX(-100%);\n}\n100% {\n transform: translateX(100%);\n}\n}\n.or-skeleton[data-v-043cb99c] {\n overflow: hidden;\n position: relative;\n padding: 0;\n background: #f6f8fd;\n border: 0;\n}\n.or-skeleton.is-animated[data-v-043cb99c]::before {\n content: \"\";\n display: block;\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n background: linear-gradient(90.14deg, #f6f8fd 0.1%, #fff 49.98%, #f6f8fd 99.06%);\n animation: wave-043cb99c 1.5s linear 0.5s infinite;\n}\n.or-skeleton-rect[data-v-043cb99c] {\n border-radius: var(--s-2);\n}";
99
+ var css_248z$1 = "/**\n * A simple way to manage mobile breakpoints described in https://davidwalsh.name/write-media-queries-sass.\n * Can be further extended using following approach https://rimdev.io/making-media-query-mixins-with-sass/\n */\n@keyframes spinAround-043cb99c {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-043cb99c {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n/**\n * A simple way to manage mobile breakpoints described in https://davidwalsh.name/write-media-queries-sass.\n * Can be further extended using following approach https://rimdev.io/making-media-query-mixins-with-sass/\n */\n@keyframes spinAround-043cb99c {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-043cb99c {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n@keyframes wave-043cb99c {\n0% {\n transform: translateX(-100%);\n}\n100% {\n transform: translateX(100%);\n}\n}\n.or-skeleton[data-v-043cb99c] {\n overflow: hidden;\n position: relative;\n padding: 0;\n background: #f6f8fd;\n border: 0;\n}\n.or-skeleton.is-animated[data-v-043cb99c]::before {\n content: \"\";\n display: block;\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n background: linear-gradient(90.14deg, #f6f8fd 0.1%, #fff 49.98%, #f6f8fd 99.06%);\n animation: wave-043cb99c 1.5s linear 0.5s infinite;\n}\n[data-theme=dark] .or-skeleton[data-v-043cb99c] {\n background: var(--c-neutral-3);\n}\n[data-theme=dark] .or-skeleton.is-animated[data-v-043cb99c]::before {\n background: linear-gradient(90.14deg, var(--c-neutral-3) 0.1%, var(--c-neutral-2) 49.98%, var(--c-neutral-3) 99.06%);\n}\n.or-skeleton-rect[data-v-043cb99c] {\n border-radius: var(--s-2);\n}";
100
100
  styleInject(css_248z$1);
101
101
 
102
102
  script$1.render = render$1;
@@ -170,7 +170,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
170
170
  }), 128 /* KEYED_FRAGMENT */))], 4 /* STYLE */);
171
171
  }
172
172
 
173
- var css_248z = "/**\n * A simple way to manage mobile breakpoints described in https://davidwalsh.name/write-media-queries-sass.\n * Can be further extended using following approach https://rimdev.io/making-media-query-mixins-with-sass/\n */\n@keyframes spinAround-10564f36 {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-10564f36 {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n/**\n * A simple way to manage mobile breakpoints described in https://davidwalsh.name/write-media-queries-sass.\n * Can be further extended using following approach https://rimdev.io/making-media-query-mixins-with-sass/\n */\n@keyframes spinAround-10564f36 {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-10564f36 {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n@keyframes wave-10564f36 {\n0% {\n transform: translateX(-100%);\n}\n100% {\n transform: translateX(100%);\n}\n}\n.or-skeleton[data-v-10564f36] {\n overflow: hidden;\n position: relative;\n padding: 0;\n background: #f6f8fd;\n border: 0;\n}\n.or-skeleton.is-animated[data-v-10564f36]::before {\n content: \"\";\n display: block;\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n background: linear-gradient(90.14deg, #f6f8fd 0.1%, #fff 49.98%, #f6f8fd 99.06%);\n animation: wave-10564f36 1.5s linear 0.5s infinite;\n}\n.or-skeleton-text-root[data-v-10564f36] {\n height: auto;\n display: flex;\n flex-direction: column;\n}\n.or-skeleton-text-root .or-skeleton-text[data-v-10564f36] {\n border-radius: var(--s-2);\n width: 100%;\n}\n.or-skeleton-text-root .or-skeleton-text-headline-1[data-v-10564f36] {\n height: 1.5rem;\n margin: 0.145rem 0;\n}\n.or-skeleton-text-root .or-skeleton-text-headline-2[data-v-10564f36] {\n height: 1.25rem;\n margin: 0.03125rem 0;\n}\n.or-skeleton-text-root .or-skeleton-text-headline-3[data-v-10564f36] {\n height: 1rem;\n margin: 0.25rem 0;\n}\n.or-skeleton-text-root .or-skeleton-text-body-1[data-v-10564f36] {\n height: 1rem;\n margin: 0.25rem 0;\n}\n.or-skeleton-text-root .or-skeleton-text-body-2[data-v-10564f36] {\n height: 0.875rem;\n margin: 0.21875rem 0;\n}\n.or-skeleton-text-root .or-skeleton-text-button[data-v-10564f36] {\n height: 0.875rem;\n margin: 0.1875rem 0;\n}\n.or-skeleton-text-root .or-skeleton-text-caption[data-v-10564f36] {\n height: 0.75rem;\n margin: 0.1875rem 0;\n}";
173
+ var css_248z = "/**\n * A simple way to manage mobile breakpoints described in https://davidwalsh.name/write-media-queries-sass.\n * Can be further extended using following approach https://rimdev.io/making-media-query-mixins-with-sass/\n */\n@keyframes spinAround-10564f36 {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-10564f36 {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n/**\n * A simple way to manage mobile breakpoints described in https://davidwalsh.name/write-media-queries-sass.\n * Can be further extended using following approach https://rimdev.io/making-media-query-mixins-with-sass/\n */\n@keyframes spinAround-10564f36 {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-10564f36 {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n@keyframes wave-10564f36 {\n0% {\n transform: translateX(-100%);\n}\n100% {\n transform: translateX(100%);\n}\n}\n.or-skeleton[data-v-10564f36] {\n overflow: hidden;\n position: relative;\n padding: 0;\n background: #f6f8fd;\n border: 0;\n}\n.or-skeleton.is-animated[data-v-10564f36]::before {\n content: \"\";\n display: block;\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n background: linear-gradient(90.14deg, #f6f8fd 0.1%, #fff 49.98%, #f6f8fd 99.06%);\n animation: wave-10564f36 1.5s linear 0.5s infinite;\n}\n[data-theme=dark] .or-skeleton[data-v-10564f36] {\n background: var(--c-neutral-3);\n}\n[data-theme=dark] .or-skeleton.is-animated[data-v-10564f36]::before {\n background: linear-gradient(90.14deg, var(--c-neutral-3) 0.1%, var(--c-neutral-2) 49.98%, var(--c-neutral-3) 99.06%);\n}\n.or-skeleton-text-root[data-v-10564f36] {\n height: auto;\n display: flex;\n flex-direction: column;\n}\n.or-skeleton-text-root .or-skeleton-text[data-v-10564f36] {\n border-radius: var(--s-2);\n width: 100%;\n}\n.or-skeleton-text-root .or-skeleton-text-headline-1[data-v-10564f36] {\n height: 1.5rem;\n margin: 0.145rem 0;\n}\n.or-skeleton-text-root .or-skeleton-text-headline-2[data-v-10564f36] {\n height: 1.25rem;\n margin: 0.03125rem 0;\n}\n.or-skeleton-text-root .or-skeleton-text-headline-3[data-v-10564f36] {\n height: 1rem;\n margin: 0.25rem 0;\n}\n.or-skeleton-text-root .or-skeleton-text-body-1[data-v-10564f36] {\n height: 1rem;\n margin: 0.25rem 0;\n}\n.or-skeleton-text-root .or-skeleton-text-body-2[data-v-10564f36] {\n height: 0.875rem;\n margin: 0.21875rem 0;\n}\n.or-skeleton-text-root .or-skeleton-text-button[data-v-10564f36] {\n height: 0.875rem;\n margin: 0.1875rem 0;\n}\n.or-skeleton-text-root .or-skeleton-text-caption[data-v-10564f36] {\n height: 0.75rem;\n margin: 0.1875rem 0;\n}";
174
174
  styleInject(css_248z);
175
175
 
176
176
  script.render = render;
@@ -12,7 +12,7 @@ export { a as OrCarousel, s as OrCarouselItem } from '../OrCarouselItem-636d99a1
12
12
  export { s as OrCheckbox } from '../OrCheckbox-ed4a19cf.js';
13
13
  export { s as OrCheckboxV3 } from '../OrCheckbox-16c1e2f4.js';
14
14
  export { s as OrChip, a as OrChips } from '../OrChips-9afba42f.js';
15
- export { s as OrCode, O as OrCodeLanguages } from '../OrCode-5ed69c23.js';
15
+ export { s as OrCode, O as OrCodeLanguages } from '../OrCode-72688173.js';
16
16
  export { s as OrCollapse } from '../OrCollapse-445141ab.js';
17
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-189cb097.js';
18
18
  export { s as OrConfirm } from '../OrConfirm-c11ee2ec.js';
@@ -49,7 +49,7 @@ export { s as OrMenuV3 } from '../OrMenu-7f3ea117.js';
49
49
  export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from '../OrPopover-40217b49.js';
50
50
  export { s as OrModal, O as OrModalSizes } from '../OrModal-8b074b0c.js';
51
51
  export { M as ModalSize, s as OrModalV3 } from '../OrModal-4219a6dc.js';
52
- export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from '../OrNotification-e85a4956.js';
52
+ export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from '../OrNotification-eb08de33.js';
53
53
  export { N as NotificationVariant, s as OrNotificationV3 } from '../OrNotification-0e682c7f.js';
54
54
  export { s as OrNumberInput } from '../OrNumberInput-b32b5ce3.js';
55
55
  export { s as OrOverflowMenu } from '../OrOverflowMenu-e82cbcbe.js';
@@ -69,7 +69,7 @@ export { s as OrSelect } from '../OrSelect-0821b907.js';
69
69
  export { s as OrSelectV3 } from '../OrSelect-466e50ca.js';
70
70
  export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar-375c85a3.js';
71
71
  export { O as OrSidebarPlacement, s as OrSidebarV3 } from '../OrSidebar-a62972f5.js';
72
- export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-2b1610ce.js';
72
+ export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-0546754d.js';
73
73
  export { s as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from '../OrSkeletonText-afd3d007.js';
74
74
  export { s as OrSlider } from '../OrSlider-87e2da8c.js';
75
75
  export { s as OrSortHeaderV3 } from '../OrSortHeader-a39f77f9.js';
@@ -107,6 +107,7 @@ import '@codemirror/state';
107
107
  import '@codemirror/view';
108
108
  import '@codemirror/commands';
109
109
  import 'codemirror';
110
+ import '@codemirror/theme-one-dark';
110
111
  import '@codemirror/lang-html';
111
112
  import '@codemirror/lang-css';
112
113
  import '@codemirror/lang-json';
@@ -9,6 +9,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
9
9
  fullscreenTarget: Ref<HTMLDivElement | undefined>;
10
10
  editor: EditorView;
11
11
  isHovered: Ref<boolean>;
12
+ isDark: Ref<boolean>;
13
+ themeObserver: {
14
+ isSupported: Ref<boolean>;
15
+ stop: () => void;
16
+ };
12
17
  }> & {
13
18
  isFullscreen: boolean;
14
19
  }, {
@@ -168,6 +173,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
168
173
  fullscreenTarget: Ref<HTMLDivElement | undefined>;
169
174
  editor: EditorView;
170
175
  isHovered: Ref<boolean>;
176
+ isDark: Ref<boolean>;
177
+ themeObserver: {
178
+ isSupported: Ref<boolean>;
179
+ stop: () => void;
180
+ };
171
181
  }>, {
172
182
  isFullscreen: boolean;
173
183
  }, {
@@ -1,9 +1,10 @@
1
- export { s as OrCode, O as OrCodeLanguages } from '../../OrCode-5ed69c23.js';
1
+ export { s as OrCode, O as OrCodeLanguages } from '../../OrCode-72688173.js';
2
2
  import '@codemirror/state';
3
3
  import '@codemirror/view';
4
4
  import '@codemirror/commands';
5
- import '@vueuse/core';
6
5
  import 'codemirror';
6
+ import '@vueuse/core';
7
+ import '@codemirror/theme-one-dark';
7
8
  import 'lodash';
8
9
  import 'vue-demi';
9
10
  import '../../OrIconButton-8be9c89f.js';
@@ -1,4 +1,4 @@
1
- export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from '../../OrNotification-e85a4956.js';
1
+ export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from '../../OrNotification-eb08de33.js';
2
2
  import 'vue-demi';
3
3
  import '../../OrIcon-669503c3.js';
4
4
  import 'lodash';
@@ -1,4 +1,4 @@
1
- export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../../OrSkeletonText-2b1610ce.js';
1
+ export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../../OrSkeletonText-0546754d.js';
2
2
  import 'vue-demi';
3
3
  import '../../px-to-rem-0b26b83e.js';
4
4
  import 'lodash';
@@ -12,7 +12,7 @@ export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem-636d99a1.
12
12
  export { s as OrCheckbox } from './OrCheckbox-ed4a19cf.js';
13
13
  export { s as OrCheckboxV3 } from './OrCheckbox-16c1e2f4.js';
14
14
  export { s as OrChip, a as OrChips } from './OrChips-9afba42f.js';
15
- export { s as OrCode, O as OrCodeLanguages } from './OrCode-5ed69c23.js';
15
+ export { s as OrCode, O as OrCodeLanguages } from './OrCode-72688173.js';
16
16
  export { s as OrCollapse } from './OrCollapse-445141ab.js';
17
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-189cb097.js';
18
18
  export { s as OrConfirm } from './OrConfirm-c11ee2ec.js';
@@ -49,7 +49,7 @@ export { s as OrMenuV3 } from './OrMenu-7f3ea117.js';
49
49
  export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-40217b49.js';
50
50
  export { s as OrModal, O as OrModalSizes } from './OrModal-8b074b0c.js';
51
51
  export { M as ModalSize, s as OrModalV3 } from './OrModal-4219a6dc.js';
52
- export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from './OrNotification-e85a4956.js';
52
+ export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from './OrNotification-eb08de33.js';
53
53
  export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-0e682c7f.js';
54
54
  export { s as OrNumberInput } from './OrNumberInput-b32b5ce3.js';
55
55
  export { s as OrOverflowMenu } from './OrOverflowMenu-e82cbcbe.js';
@@ -69,7 +69,7 @@ export { s as OrSelect } from './OrSelect-0821b907.js';
69
69
  export { s as OrSelectV3 } from './OrSelect-466e50ca.js';
70
70
  export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
71
71
  export { O as OrSidebarPlacement, s as OrSidebarV3 } from './OrSidebar-a62972f5.js';
72
- export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-2b1610ce.js';
72
+ export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-0546754d.js';
73
73
  export { s as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from './OrSkeletonText-afd3d007.js';
74
74
  export { s as OrSlider } from './OrSlider-87e2da8c.js';
75
75
  export { s as OrSortHeaderV3 } from './OrSortHeader-a39f77f9.js';
@@ -113,6 +113,7 @@ import '@codemirror/state';
113
113
  import '@codemirror/view';
114
114
  import '@codemirror/commands';
115
115
  import 'codemirror';
116
+ import '@codemirror/theme-one-dark';
116
117
  import '@codemirror/lang-html';
117
118
  import '@codemirror/lang-css';
118
119
  import '@codemirror/lang-json';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "2.72.1",
3
+ "version": "2.73.0-beta.2258.0",
4
4
  "description": "Vue components library for v2/3",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/auto/index.js",
@@ -37,8 +37,9 @@
37
37
  "@codemirror/lang-javascript": "6.0.2",
38
38
  "@codemirror/lang-json": "6.0.0",
39
39
  "@codemirror/lang-markdown": "6.0.1",
40
+ "@codemirror/theme-one-dark": "^6.1.1",
40
41
  "@floating-ui/dom": "0.3.1",
41
- "@onereach/styles": "^2.34.0",
42
+ "@onereach/styles": "^2.35.0-beta.2258.0",
42
43
  "@splidejs/splide": "4.0.6",
43
44
  "@types/lodash": "4.14.173",
44
45
  "@types/sortablejs": "1.10.7",
@@ -124,6 +125,5 @@
124
125
  "default": "./dist/bundled/v3/components/*/index.js"
125
126
  },
126
127
  "./package.json": "./package.json"
127
- },
128
- "gitHead": "e1abb7f3ed16d6229ae322fb52905cedd9907c18"
128
+ }
129
129
  }