@onereach/ui-components 2.73.0-beta.2258.0 → 2.73.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 (117) hide show
  1. package/dist/bundled/v2/{OrCardCollection-06ecb8e1.js → OrCardCollection-4ac89ea5.js} +1 -1
  2. package/dist/bundled/v2/{OrCode-0cf7596d.js → OrCode-fc6876ec.js} +12 -184
  3. package/dist/bundled/v2/{OrNotification-2e2a1941.js → OrNotification-3909aaf2.js} +3 -3
  4. package/dist/bundled/v2/{OrSearch-bb87b34c.js → OrSearch-09fd004c.js} +2 -1
  5. package/dist/bundled/v2/{OrSidebar-c95ef614.js → OrSidebar-a2bc21b9.js} +155 -34
  6. package/dist/bundled/v2/OrSidebarCollapseButton-8297ef86.js +125 -0
  7. package/dist/bundled/v2/{OrSkeletonText-2f1a3cc7.js → OrSkeletonText-242d22f3.js} +3 -3
  8. package/dist/bundled/v2/components/index.js +7 -6
  9. package/dist/bundled/v2/components/or-card-collection-v3/index.js +2 -2
  10. package/dist/bundled/v2/components/or-code/OrCode.vue.d.ts +0 -10
  11. package/dist/bundled/v2/components/or-code/index.js +1 -1
  12. package/dist/bundled/v2/components/or-notification/index.js +1 -1
  13. package/dist/bundled/v2/components/or-search-v3/index.js +1 -1
  14. package/dist/bundled/v2/components/or-sidebar-v3/OrSidebar.stories3.d.ts +36 -1
  15. package/dist/bundled/v2/components/or-sidebar-v3/OrSidebar.vue.d.ts +49 -4
  16. package/dist/bundled/v2/components/or-sidebar-v3/index.js +13 -1
  17. package/dist/bundled/v2/components/or-sidebar-v3/partials/index.d.ts +1 -0
  18. package/dist/bundled/v2/components/or-sidebar-v3/partials/index.js +18 -0
  19. package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.stories3.d.ts +12 -0
  20. package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +53 -0
  21. package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +1 -0
  22. package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +18 -0
  23. package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +2 -0
  24. package/dist/bundled/v2/components/or-sidebar-v3/styles.d.ts +7 -1
  25. package/dist/bundled/v2/components/or-skeleton/index.js +1 -1
  26. package/dist/bundled/v2/index.js +8 -7
  27. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-e2980d04.js → OrCardCollection.vue_vue_type_script_lang-f76c3264.js} +1 -1
  28. package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-df150e3b.js → OrCode.vue_vue_type_script_lang-c55de81d.js} +8 -180
  29. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-321907ec.js → OrSearch.vue_vue_type_script_lang-c054c8db.js} +2 -1
  30. package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-7f3f1a16.js +291 -0
  31. package/dist/bundled/v3/OrSidebarCollapseButton.vue_vue_type_script_lang-9aeba2d4.js +75 -0
  32. package/dist/bundled/v3/components/index.js +5 -4
  33. package/dist/bundled/v3/components/or-card-collection-v3/index.js +2 -2
  34. package/dist/bundled/v3/components/or-code/OrCode.vue.d.ts +0 -10
  35. package/dist/bundled/v3/components/or-code/index.js +1 -1
  36. package/dist/bundled/v3/components/or-search-v3/index.js +1 -1
  37. package/dist/bundled/v3/components/or-sidebar-v3/OrSidebar.stories3.d.ts +36 -1
  38. package/dist/bundled/v3/components/or-sidebar-v3/OrSidebar.vue.d.ts +49 -4
  39. package/dist/bundled/v3/components/or-sidebar-v3/index.js +16 -2
  40. package/dist/bundled/v3/components/or-sidebar-v3/partials/index.d.ts +1 -0
  41. package/dist/bundled/v3/components/or-sidebar-v3/partials/index.js +17 -0
  42. package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.stories3.d.ts +12 -0
  43. package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +53 -0
  44. package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +1 -0
  45. package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +17 -0
  46. package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +2 -0
  47. package/dist/bundled/v3/components/or-sidebar-v3/styles.d.ts +7 -1
  48. package/dist/bundled/v3/index.js +36 -19
  49. package/dist/esm/v2/{OrCardCollection-251ab033.js → OrCardCollection-5a9eda35.js} +1 -1
  50. package/dist/esm/v2/{OrCode-e2ce05ea.js → OrCode-d4400b42.js} +12 -30
  51. package/dist/esm/v2/{OrNotification-a49e76d3.js → OrNotification-a9231a83.js} +3 -3
  52. package/dist/esm/v2/{OrSearch-f42d588d.js → OrSearch-7411388b.js} +2 -1
  53. package/dist/esm/v2/{OrSidebar-fabc7bc9.js → OrSidebar-27236fbd.js} +155 -34
  54. package/dist/esm/v2/OrSidebarCollapseButton-cfe51a60.js +123 -0
  55. package/dist/esm/v2/{OrSkeletonText-24509efe.js → OrSkeletonText-cc94bdc9.js} +3 -3
  56. package/dist/esm/v2/components/index.js +7 -7
  57. package/dist/esm/v2/components/or-card-collection-v3/index.js +2 -2
  58. package/dist/esm/v2/components/or-code/OrCode.vue.d.ts +0 -10
  59. package/dist/esm/v2/components/or-code/index.js +2 -3
  60. package/dist/esm/v2/components/or-notification/index.js +1 -1
  61. package/dist/esm/v2/components/or-search-v3/index.js +1 -1
  62. package/dist/esm/v2/components/or-sidebar-v3/OrSidebar.stories3.d.ts +36 -1
  63. package/dist/esm/v2/components/or-sidebar-v3/OrSidebar.vue.d.ts +49 -4
  64. package/dist/esm/v2/components/or-sidebar-v3/index.js +13 -1
  65. package/dist/esm/v2/components/or-sidebar-v3/partials/index.d.ts +1 -0
  66. package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +16 -0
  67. package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.stories3.d.ts +12 -0
  68. package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +53 -0
  69. package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +1 -0
  70. package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +16 -0
  71. package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +2 -0
  72. package/dist/esm/v2/components/or-sidebar-v3/styles.d.ts +7 -1
  73. package/dist/esm/v2/components/or-skeleton/index.js +1 -1
  74. package/dist/esm/v2/index.js +7 -7
  75. package/dist/esm/v3/{OrCardCollection-8b8e3745.js → OrCardCollection-e4fde5b4.js} +1 -1
  76. package/dist/esm/v3/{OrCode-72688173.js → OrCode-5ed69c23.js} +9 -27
  77. package/dist/esm/v3/{OrNotification-eb08de33.js → OrNotification-e85a4956.js} +1 -1
  78. package/dist/esm/v3/{OrSearch-4c5c44f2.js → OrSearch-5406bf03.js} +2 -1
  79. package/dist/esm/v3/OrSidebar-61d84c3e.js +313 -0
  80. package/dist/esm/v3/OrSidebarCollapseButton-1b9c83ef.js +94 -0
  81. package/dist/esm/v3/{OrSkeletonText-0546754d.js → OrSkeletonText-2b1610ce.js} +3 -3
  82. package/dist/esm/v3/components/index.js +7 -7
  83. package/dist/esm/v3/components/or-card-collection-v3/index.js +2 -2
  84. package/dist/esm/v3/components/or-code/OrCode.vue.d.ts +0 -10
  85. package/dist/esm/v3/components/or-code/index.js +2 -3
  86. package/dist/esm/v3/components/or-notification/index.js +1 -1
  87. package/dist/esm/v3/components/or-search-v3/index.js +1 -1
  88. package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.stories3.d.ts +36 -1
  89. package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.vue.d.ts +49 -4
  90. package/dist/esm/v3/components/or-sidebar-v3/index.js +12 -1
  91. package/dist/esm/v3/components/or-sidebar-v3/partials/index.d.ts +1 -0
  92. package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +15 -0
  93. package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.stories3.d.ts +12 -0
  94. package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +53 -0
  95. package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +1 -0
  96. package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +15 -0
  97. package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +2 -0
  98. package/dist/esm/v3/components/or-sidebar-v3/styles.d.ts +7 -1
  99. package/dist/esm/v3/components/or-skeleton/index.js +1 -1
  100. package/dist/esm/v3/index.js +7 -7
  101. package/package.json +4 -4
  102. package/src/components/or-code/OrCode.vue +6 -23
  103. package/src/components/or-notification/OrNotification.vue +1 -26
  104. package/src/components/or-search-v3/OrSearch.vue +2 -1
  105. package/src/components/or-sidebar-v3/OrSidebar.docs.mdx +6 -0
  106. package/src/components/or-sidebar-v3/OrSidebar.stories3.ts +253 -12
  107. package/src/components/or-sidebar-v3/OrSidebar.vue +130 -23
  108. package/src/components/or-sidebar-v3/partials/index.ts +1 -0
  109. package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.stories3.ts +48 -0
  110. package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue +79 -0
  111. package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.ts +1 -0
  112. package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.ts +50 -0
  113. package/src/components/or-sidebar-v3/styles.ts +114 -9
  114. package/src/components/or-skeleton/styles.scss +3 -18
  115. package/src/components/or-stepper/OrStepper.stories.ts +1 -1
  116. package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-ce0b152c.js +0 -181
  117. package/dist/esm/v3/OrSidebar-a62972f5.js +0 -206
@@ -5,7 +5,7 @@ import { _ as __vue_component__$6 } from './OrIcon-f34e0e6f.js';
5
5
  import { _ as __vue_component__$5 } from './OrMenuItem-7b7fbf8a.js';
6
6
  import { _ as __vue_component__$4 } from './OrMenu-c276db74.js';
7
7
  import './OrPopover-d5d4f62a.js';
8
- import { _ as __vue_component__$7 } from './OrSearch-f42d588d.js';
8
+ import { _ as __vue_component__$7 } from './OrSearch-7411388b.js';
9
9
  import './OrInputBox-9ceb9fc4.js';
10
10
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
11
11
 
@@ -1,9 +1,8 @@
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';
4
5
  import { basicSetup, EditorView } from 'codemirror';
5
- import { useMutationObserver, useElementHover } from '@vueuse/core';
6
- import { oneDark } from '@codemirror/theme-one-dark';
7
6
  import _ from 'lodash';
8
7
  import { defineComponent, ref } from 'vue-demi';
9
8
  import './OrIconButton.vue_rollup-plugin-vue_script-9fb7b7ab.js';
@@ -133,20 +132,6 @@ var script = defineComponent({
133
132
  setup(props, {
134
133
  emit
135
134
  }) {
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
150
135
  const root = ref();
151
136
  const target = ref();
152
137
  const fullscreenTarget = ref();
@@ -166,9 +151,7 @@ var script = defineComponent({
166
151
  target,
167
152
  fullscreenTarget,
168
153
  editor,
169
- isHovered,
170
- isDark,
171
- themeObserver
154
+ isHovered
172
155
  };
173
156
  },
174
157
  data() {
@@ -190,11 +173,9 @@ var script = defineComponent({
190
173
  allowPaste,
191
174
  lineWrapping
192
175
  } = this;
193
- const ext = _.compact([...(this.isDark ? [oneDark] : []),
176
+ const ext = _.compact([
194
177
  // Toggle light/dark mode
195
- this.isDark ? EditorView.theme({}, {
196
- dark: true
197
- }) : EditorView.baseTheme({}),
178
+ EditorView.baseTheme({}),
198
179
  // locale settings
199
180
  this.phrases ? EditorState.phrases.of(this.phrases) : undefined,
200
181
  // Parser language setting
@@ -221,8 +202,10 @@ var script = defineComponent({
221
202
  }
222
203
  }),
223
204
  // line wrapping
224
- lineWrapping ? EditorView.lineWrapping : undefined, keymap.of([indentWithTab]), ...this.extensions]);
225
- return [...ext];
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;
226
209
  },
227
210
  isShowingError() {
228
211
  return !!this.error && this.isInvalid;
@@ -265,7 +248,6 @@ var script = defineComponent({
265
248
  },
266
249
  beforeUnmount() {
267
250
  var _a;
268
- this.themeObserver.stop();
269
251
  (_a = this.editor) === null || _a === void 0 ? void 0 : _a.destroy();
270
252
  },
271
253
  methods: {
@@ -315,7 +297,7 @@ var __vue_render__ = function () {
315
297
  staticClass: "fullscreen-button",
316
298
  attrs: {
317
299
  "icon": "fullscreen",
318
- "icon-color": "neutral-4"
300
+ "icon-color": "neutral-3"
319
301
  },
320
302
  on: {
321
303
  "click": function ($event) {
@@ -383,14 +365,14 @@ var __vue_staticRenderFns__ = [];
383
365
  /* style */
384
366
  const __vue_inject_styles__ = function (inject) {
385
367
  if (!inject) return;
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}",
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}",
388
370
  map: undefined,
389
371
  media: undefined
390
372
  });
391
373
  };
392
374
  /* scoped */
393
- const __vue_scope_id__ = "data-v-c0fc62cc";
375
+ const __vue_scope_id__ = "data-v-2056db5f";
394
376
  /* module identifier */
395
377
  const __vue_module_identifier__ = undefined;
396
378
  /* 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-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)}",
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)}",
125
125
  map: undefined,
126
126
  media: undefined
127
127
  });
128
128
  };
129
129
  /* scoped */
130
- const __vue_scope_id__ = "data-v-6284d461";
130
+ const __vue_scope_id__ = "data-v-7bc0e6b5";
131
131
  /* module identifier */
132
132
  const __vue_module_identifier__ = undefined;
133
133
  /* functional template */
@@ -47,11 +47,12 @@ var script = defineComponent({
47
47
  // State
48
48
  const localModelValue = ref((_a = props.modelValue) !== null && _a !== void 0 ? _a : '');
49
49
  // Events
50
- debouncedWatch(localModelValue, () => context.emit('search', localModelValue.value), {
50
+ debouncedWatch(localModelValue, () => localModelValue.value.length > 0 && context.emit('search', localModelValue.value), {
51
51
  debounce: props.debounce
52
52
  });
53
53
  watch(localModelValue, (val, beforeVal) => {
54
54
  if (val.length === 0 && beforeVal.length > 0) {
55
+ context.emit('search');
55
56
  context.emit('clear');
56
57
  }
57
58
  });
@@ -1,34 +1,62 @@
1
1
  import { useDraggable, useElementBounding } from '@vueuse/core';
2
2
  import _ from 'lodash';
3
- import { defineComponent, ref, computed, watch } from 'vue-demi';
3
+ import { defineComponent, ref, computed, useSlots, watch } from 'vue-demi';
4
+ import { O as OrSidebarPlacement, _ as __vue_component__$1 } from './OrSidebarCollapseButton-cfe51a60.js';
4
5
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
5
6
 
6
- var OrSidebarPlacement;
7
- (function (OrSidebarPlacement) {
8
- OrSidebarPlacement["left"] = "left";
9
- OrSidebarPlacement["right"] = "right";
10
- })(OrSidebarPlacement || (OrSidebarPlacement = {}));
11
-
12
7
  const SidebarRoot = [
13
8
  // Position
14
9
  'relative',
15
10
  // Layout
16
- 'flex', 'flex-col', 'shrink-0',
11
+ 'flex', 'flex-row', 'shrink-0',
12
+ // Box
13
+ 'min-w-0', 'h-auto', 'p-0',
14
+ // Theme
15
+ 'bg-background', 'dark:bg-background-dark'];
16
+ const SidebarBar = [
17
+ // Position
18
+ 'relative',
19
+ // Layout
20
+ 'flex', 'flex-col', 'shrink-0', 'grow',
21
+ // Box
22
+ 'min-h-0', 'p-0',
23
+ // Theme
24
+ 'text-on-background', 'dark:text-on-background-dark',
25
+ // Transition
26
+ 'transition-[width]'];
27
+ const SidebarToolbar = [
28
+ // Position
29
+ 'relative',
30
+ // Layout
31
+ 'flex', 'flex-col', 'shrink-0', 'grow', 'overflow-auto', 'items-center',
32
+ // Sizing
33
+ 'gap-md',
17
34
  // Box
18
- 'min-h-0', 'p-0'];
19
- const SidebarRootSides = {
35
+ 'min-h-0', 'min-w-xl', 'p-[6px]', 'py-md+',
36
+ // Theme
37
+ 'text-outline', 'dark:text-outline-dark'];
38
+ const CollapsibleSidebarToolbar = ['pt-[56px]'];
39
+ const SidebarSides = {
20
40
  [OrSidebarPlacement.left]: [
21
41
  // Borders
22
- 'border-r-[1px]', 'border-r-solid', 'border-r-secondary dark:border-r-secondary-dark'],
42
+ 'border-r-[1px]', 'border-r-solid', 'border-r-outline-variant dark:border-r-outline-variant-dark'],
23
43
  [OrSidebarPlacement.right]: [
24
44
  // Borders
25
- 'border-l-[1px]', 'border-l-solid', 'border-l-secondary dark:border-l-secondary-dark']
45
+ 'border-l-[1px]', 'border-l-solid', 'border-l-outline-variant dark:border-l-outline-variant-dark']
46
+ };
47
+ const SidebarToolbarSides = {
48
+ [OrSidebarPlacement.left]: [
49
+ // Borders
50
+ 'border-r-[1px]', 'border-r-solid', 'border-r-outline-variant dark:border-r-outline-variant-dark'],
51
+ [OrSidebarPlacement.right]: [
52
+ // Borders
53
+ 'border-l-[1px]', 'border-l-solid', 'border-l-outline-variant dark:border-l-outline-variant-dark']
26
54
  };
27
55
  const SidebarResize = [
28
56
  // Position
29
57
  'absolute', 'inset-y-none', 'z-[1]',
30
58
  // Box
31
- 'w-[12px]', 'h-[100%]',
59
+ 'w-sm+', 'h-[100%]',
32
60
  // Cursor
33
61
  'cursor-ew-resize'];
34
62
  const SidebarResizeSides = {
@@ -36,57 +64,80 @@ const SidebarResizeSides = {
36
64
  // Position
37
65
  '-right-[1px]',
38
66
  // Borders
39
- 'hover:border-r-2', 'hover:border-r-primary hover:dark:border-r-primary-dark',
67
+ 'hover:border-r-2', 'hover:border-r-primary-hover hover:dark:border-r-primary-hover-dark',
40
68
  // Transition
41
69
  'transition-[border-right]'],
42
70
  [OrSidebarPlacement.right]: [
43
71
  // Position
44
72
  '-left-[1px]',
45
73
  // Borders
46
- 'hover:border-l-2', 'hover:border-l-primary hover:dark:border-l-primary-dark',
74
+ 'hover:border-l-2', 'hover:border-l-primary-hover hover:dark:border-l-primary-hover-dark',
47
75
  // Transition
48
76
  'transition-[border-left]']
49
77
  };
78
+ const SidebarCollapseButton = [
79
+ // Position
80
+ 'absolute', 'top-md', 'inset-y-none', 'z-[1]'];
81
+ const SidebarCollapseButtonSides = {
82
+ [OrSidebarPlacement.left]: [
83
+ // Position
84
+ '-right-[12px]'],
85
+ [OrSidebarPlacement.right]: [
86
+ // Position
87
+ '-left-[12px]']
88
+ };
50
89
  const SidebarResizingSides = {
51
90
  [OrSidebarPlacement.left]: [
52
91
  // Borders
53
- 'border-r-2', 'border-r-primary dark:border-r-primary-dark'],
92
+ 'border-r-2', 'border-r-primary-hover dark:border-r-primary-hover-dark'],
54
93
  [OrSidebarPlacement.right]: [
55
94
  // Borders
56
- 'border-l-2', 'border-l-primary dark:border-l-primary-dark']
95
+ 'border-l-2', 'border-l-primary-hover dark:border-l-primary-hover-dark']
57
96
  };
58
97
  const SidebarMain = [
59
98
  // Layout
60
- 'flex', 'flex-col', 'grow',
99
+ 'flex', 'flex-col', 'grow', 'overflow-x-hidden',
61
100
  // Box
62
101
  'min-h-0'];
63
102
  const SidebarHeader = [
103
+ // Layout
104
+ 'shrink-0', 'overflow-hidden',
64
105
  // Sizing
65
- 'p-md'];
106
+ 'p-md',
107
+ // Typography
108
+ 'typography-headline-2', 'whitespace-nowrap', 'text-ellipsis'];
66
109
  const SidebarContent = [
67
110
  // Layout
68
111
  'grow', 'overflow-auto',
69
112
  // Sizing
70
113
  'p-md'];
71
114
  const SidebarFooter = [
115
+ // Layout
116
+ 'shrink-0', 'overflow-x-hidden',
72
117
  // Sizing
73
118
  'p-md',
74
119
  // Borders
75
- 'border-t-[1px]', 'border-t-solid', 'border-t-secondary dark:border-t-secondary-dark'];
120
+ 'border-t-[1px]', 'border-t-solid', 'border-t-outline-variant dark:border-t-outline-variant-dark'];
76
121
 
77
122
  var script = defineComponent({
78
123
  name: 'OrSidebar',
124
+ components: {
125
+ OrSidebarCollapseButton: __vue_component__$1
126
+ },
79
127
  props: {
80
128
  width: {
81
129
  type: Number,
82
- required: false,
83
- default: 0,
130
+ default: 320,
84
131
  validator: value => _.isNumber(value) && value >= 0
85
132
  },
86
133
  minimumWidth: {
87
134
  type: Number,
88
- required: false,
89
- default: 350,
135
+ default: 256,
136
+ validator: value => _.isNumber(value) && value >= 0
137
+ },
138
+ maximumWidth: {
139
+ type: Number,
140
+ default: 384,
90
141
  validator: value => _.isNumber(value) && value >= 0
91
142
  },
92
143
  /**
@@ -100,9 +151,18 @@ var script = defineComponent({
100
151
  type: String,
101
152
  default: OrSidebarPlacement.right,
102
153
  validator: value => _.includes(_.values(OrSidebarPlacement), value)
154
+ },
155
+ draggable: {
156
+ type: Boolean,
157
+ default: true
158
+ },
159
+ collapsible: {
160
+ type: Boolean,
161
+ default: false
103
162
  }
104
163
  },
105
- emits: ['change:width'],
164
+ emits: ['change:width', 'open', 'close'],
165
+ expose: ['root', 'open', 'close'],
106
166
  setup(props, {
107
167
  emit
108
168
  }) {
@@ -113,16 +173,26 @@ var script = defineComponent({
113
173
  var _a;
114
174
  return (_a = root.value) === null || _a === void 0 ? void 0 : _a.parentElement;
115
175
  });
176
+ // Slots
177
+ const {
178
+ toolbar: toolbarSlot
179
+ } = useSlots();
116
180
  // State
117
181
  const startPositionX = ref(0);
118
182
  const isResizing = ref(false);
183
+ const isCollapsed = ref(false);
184
+ const maximumWidth = ref(props.maximumWidth || 384);
119
185
  const localWidth = ref(props.width >= props.minimumWidth ? props.width : props.minimumWidth);
186
+ const isShowingToolbar = computed(() => !!toolbarSlot);
120
187
  // Styles
121
188
  const sidebarStyle = computed(() => ({
122
- width: localWidth.value + 'px'
189
+ width: (isCollapsed.value ? 16 : localWidth.value) + 'px'
123
190
  }));
124
- const rootStyles = computed(() => ['or-sidebar', ...SidebarRoot, ...SidebarRootSides[props.side]]);
191
+ const rootStyles = computed(() => ['or-sidebar', ...SidebarRoot]);
192
+ const sidebarStyles = computed(() => [...SidebarBar, ...SidebarSides[props.side]]);
193
+ const toolbarStyles = computed(() => [...SidebarToolbar, ...(props.collapsible ? CollapsibleSidebarToolbar : []), ...SidebarToolbarSides[props.side]]);
125
194
  const resizeStyles = computed(() => [...SidebarResize, ...SidebarResizeSides[props.side], ...(isResizing.value ? SidebarResizingSides[props.side] : [])]);
195
+ const collapsibleButtonStyles = computed(() => [...SidebarCollapseButton, ...SidebarCollapseButtonSides[props.side]]);
126
196
  const mainStyles = computed(() => [...SidebarMain]);
127
197
  const headerStyles = computed(() => [...SidebarHeader]);
128
198
  const contentStyles = computed(() => [...SidebarContent]);
@@ -148,8 +218,15 @@ var script = defineComponent({
148
218
  isResizing.value = false;
149
219
  }
150
220
  });
221
+ // Methods
222
+ function open() {
223
+ isCollapsed.value = false;
224
+ }
225
+ function close() {
226
+ isCollapsed.value = true;
227
+ }
151
228
  const {
152
- width: maximumWidth
229
+ width: containerWidth
153
230
  } = useElementBounding(parentContainer);
154
231
  watch(() => props.width, newValue => {
155
232
  if (newValue !== localWidth.value) {
@@ -159,22 +236,36 @@ var script = defineComponent({
159
236
  watch(() => props.minimumWidth, newMinimum => {
160
237
  if (newMinimum > localWidth.value) localWidth.value = newMinimum;
161
238
  });
239
+ watch(() => props.maximumWidth, newMaximum => {
240
+ if (newMaximum < maximumWidth.value) maximumWidth.value = newMaximum;
241
+ });
242
+ watch(containerWidth, newMaximum => {
243
+ if (newMaximum < maximumWidth.value) maximumWidth.value = newMaximum;
244
+ });
162
245
  watch(maximumWidth, newMaximum => {
163
246
  if (newMaximum < localWidth.value) localWidth.value = newMaximum;
164
247
  });
165
248
  watch(localWidth, val => emit('change:width', val));
249
+ watch(isCollapsed, val => emit(val ? 'close' : 'open'));
166
250
  return {
167
251
  root,
168
252
  resizeBar,
169
253
  isResizing,
254
+ isCollapsed,
170
255
  localWidth,
256
+ isShowingToolbar,
171
257
  sidebarStyle,
172
258
  rootStyles,
259
+ sidebarStyles,
260
+ toolbarStyles,
173
261
  resizeStyles,
262
+ collapsibleButtonStyles,
174
263
  mainStyles,
175
264
  headerStyles,
176
265
  contentStyles,
177
- footerStyles
266
+ footerStyles,
267
+ open,
268
+ close
178
269
  };
179
270
  }
180
271
  });
@@ -189,20 +280,50 @@ var __vue_render__ = function () {
189
280
  var _c = _vm._self._c || _h;
190
281
  return _c('aside', {
191
282
  ref: "root",
192
- class: _vm.rootStyles,
283
+ class: _vm.rootStyles
284
+ }, [_vm.side === 'right' && _vm.isShowingToolbar ? _c('div', {
285
+ class: _vm.toolbarStyles
286
+ }, [_vm._t("toolbar")], 2) : _vm._e(), _vm._v(" "), _c('div', {
287
+ class: _vm.sidebarStyles,
193
288
  style: _vm.sidebarStyle
194
- }, [_c('div', {
289
+ }, [_vm.draggable && !_vm.isCollapsed ? _c('div', {
195
290
  ref: "resizeBar",
196
291
  class: _vm.resizeStyles
197
- }), _vm._v(" "), _c('div', {
292
+ }) : _vm._e(), _vm._v(" "), _vm.collapsible ? _c('or-sidebar-collapse-button', {
293
+ class: _vm.collapsibleButtonStyles,
294
+ attrs: {
295
+ "side": _vm.side
296
+ },
297
+ model: {
298
+ value: _vm.isCollapsed,
299
+ callback: function ($$v) {
300
+ _vm.isCollapsed = $$v;
301
+ },
302
+ expression: "isCollapsed"
303
+ }
304
+ }) : _vm._e(), _vm._v(" "), _c('div', {
305
+ directives: [{
306
+ name: "show",
307
+ rawName: "v-show",
308
+ value: !_vm.isCollapsed,
309
+ expression: "!isCollapsed"
310
+ }],
198
311
  class: _vm.mainStyles
199
312
  }, [_vm.$slots.header ? _c('div', {
200
313
  class: _vm.headerStyles
201
314
  }, [_vm._t("header")], 2) : _vm._e(), _vm._v(" "), _c('div', {
202
315
  class: _vm.contentStyles
203
316
  }, [_vm._t("default")], 2)]), _vm._v(" "), _vm.$slots.footer ? _c('div', {
317
+ directives: [{
318
+ name: "show",
319
+ rawName: "v-show",
320
+ value: !_vm.isCollapsed,
321
+ expression: "!isCollapsed"
322
+ }],
204
323
  class: _vm.footerStyles
205
- }, [_vm._t("footer")], 2) : _vm._e()]);
324
+ }, [_vm._t("footer")], 2) : _vm._e()], 1), _vm._v(" "), _vm.side === 'left' && _vm.isShowingToolbar ? _c('div', {
325
+ class: _vm.toolbarStyles
326
+ }, [_vm._t("toolbar")], 2) : _vm._e()]);
206
327
  };
207
328
  var __vue_staticRenderFns__ = [];
208
329
 
@@ -225,4 +346,4 @@ const __vue_component__ = /*#__PURE__*/normalizeComponent({
225
346
  staticRenderFns: __vue_staticRenderFns__
226
347
  }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
227
348
 
228
- export { OrSidebarPlacement as O, __vue_component__ as _ };
349
+ export { __vue_component__ as _ };
@@ -0,0 +1,123 @@
1
+ import _ from 'lodash';
2
+ import { defineComponent, ref, computed } from 'vue-demi';
3
+ import { _ as __vue_component__$1 } from './OrIconButton-04a3566d.js';
4
+ import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
5
+
6
+ var OrSidebarPlacement;
7
+ (function (OrSidebarPlacement) {
8
+ OrSidebarPlacement["left"] = "left";
9
+ OrSidebarPlacement["right"] = "right";
10
+ })(OrSidebarPlacement || (OrSidebarPlacement = {}));
11
+
12
+ const CollapseButtonContainer = [
13
+ // Box
14
+ 'w-[24px]', 'h-[24px]', 'rounded-full',
15
+ // Theme
16
+ 'text-primary dark:text-primary-dark', 'bg-background dark:bg-background-dark'];
17
+ const CollapseButton = [
18
+ // Box
19
+ 'w-[24px]', 'h-[24px]', 'rounded-full',
20
+ // Typography
21
+ '!text-[16px]',
22
+ // Borders
23
+ '!border-[1px]', '!border-solid',
24
+ // Theme
25
+ '!text-primary dark:!text-primary-dark', '!bg-background dark:!bg-background-dark', '!border-outline-variant dark:!border-outline-variant-dark', '!outline-none',
26
+ // Theme (hover)
27
+ 'hover:!text-primary hover:dark:!text-primary-dark', 'hover:!bg-primary-opacity-0-08 dark:hover:!bg-primary-opacity-0-08-dark', 'hover:!border-outline dark:hover:!border-outline-dark',
28
+ // Theme (active)
29
+ 'active:!text-primary active:dark:!text-primary-dark', 'active:!bg-primary-opacity-0-12 dark:active:!bg-primary-opacity-0-12-dark', 'active:!border-primary dark:active:!border-primary-dark',
30
+ // Theme (focus)
31
+ 'focus:!text-primary focus:dark:!text-primary-dark', 'focus:!bg-primary-opacity-0-12 dark:focus:!bg-primary-opacity-0-12-dark', 'focus:!border-outline dark:focus:!border-outline-dark',
32
+ // Theme (disabled)
33
+ 'disabled:!text-on-disabled disabled:dark:!text-on-disabled-dark', 'disabled:!bg-background disabled:dark:!bg-background-dark', 'disabled:!border-outline-variant disabled:dark:!border-outline-variant-dark'];
34
+
35
+ var script = defineComponent({
36
+ name: 'OrSidebarCollapseButton',
37
+ components: {
38
+ OrIconButton: __vue_component__$1
39
+ },
40
+ model: {
41
+ prop: 'modelValue',
42
+ event: 'update:modelValue'
43
+ },
44
+ props: {
45
+ /**
46
+ * Must be `true` if sidebar is collapsed.
47
+ */
48
+ modelValue: {
49
+ type: Boolean,
50
+ default: false
51
+ },
52
+ side: {
53
+ type: String,
54
+ default: OrSidebarPlacement.right,
55
+ validator: value => _.includes(_.values(OrSidebarPlacement), value)
56
+ }
57
+ },
58
+ emits: ['update:modelValue'],
59
+ expose: ['root'],
60
+ setup(props) {
61
+ // Refs
62
+ const root = ref();
63
+ const rootStyles = computed(() => ['or-sidebar-collapse-button', ...CollapseButtonContainer]);
64
+ const buttonStyles = computed(() => [...CollapseButton]);
65
+ const icon = computed(() => props.side === OrSidebarPlacement.left !== props.modelValue ? 'keyboard_arrow_left' : 'keyboard_arrow_right');
66
+ return {
67
+ root,
68
+ rootStyles,
69
+ buttonStyles,
70
+ icon
71
+ };
72
+ }
73
+ });
74
+
75
+ /* script */
76
+ const __vue_script__ = script;
77
+
78
+ /* template */
79
+ var __vue_render__ = function () {
80
+ var _vm = this;
81
+ var _h = _vm.$createElement;
82
+ var _c = _vm._self._c || _h;
83
+ return _c('div', {
84
+ ref: "root",
85
+ class: _vm.rootStyles
86
+ }, [_c('or-icon-button', {
87
+ class: _vm.buttonStyles,
88
+ attrs: {
89
+ "icon": {
90
+ icon: _vm.icon,
91
+ size: 'inherit'
92
+ },
93
+ "color": "inherit"
94
+ },
95
+ on: {
96
+ "click": function ($event) {
97
+ return _vm.$emit('update:modelValue', !_vm.modelValue);
98
+ }
99
+ }
100
+ })], 1);
101
+ };
102
+ var __vue_staticRenderFns__ = [];
103
+
104
+ /* style */
105
+ const __vue_inject_styles__ = undefined;
106
+ /* scoped */
107
+ const __vue_scope_id__ = undefined;
108
+ /* module identifier */
109
+ const __vue_module_identifier__ = undefined;
110
+ /* functional template */
111
+ const __vue_is_functional_template__ = false;
112
+ /* style inject */
113
+
114
+ /* style inject SSR */
115
+
116
+ /* style inject shadow dom */
117
+
118
+ const __vue_component__ = /*#__PURE__*/normalizeComponent({
119
+ render: __vue_render__,
120
+ staticRenderFns: __vue_staticRenderFns__
121
+ }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
122
+
123
+ export { OrSidebarPlacement as O, __vue_component__ as _ };
@@ -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}[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}",
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}",
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}[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)}",
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)}",
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}[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}",
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}",
239
239
  map: undefined,
240
240
  media: undefined
241
241
  });