@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.
- package/dist/bundled/v2/{OrCode-fc6876ec.js → OrCode-0cf7596d.js} +184 -12
- package/dist/bundled/v2/{OrNotification-3909aaf2.js → OrNotification-2e2a1941.js} +3 -3
- package/dist/bundled/v2/{OrSkeletonText-242d22f3.js → OrSkeletonText-2f1a3cc7.js} +3 -3
- package/dist/bundled/v2/components/index.js +3 -3
- package/dist/bundled/v2/components/or-code/OrCode.vue.d.ts +10 -0
- package/dist/bundled/v2/components/or-code/index.js +1 -1
- package/dist/bundled/v2/components/or-notification/index.js +1 -1
- package/dist/bundled/v2/components/or-skeleton/index.js +1 -1
- package/dist/bundled/v2/index.js +4 -4
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-c55de81d.js → OrCode.vue_vue_type_script_lang-df150e3b.js} +180 -8
- package/dist/bundled/v3/components/index.js +1 -1
- package/dist/bundled/v3/components/or-code/OrCode.vue.d.ts +10 -0
- package/dist/bundled/v3/components/or-code/index.js +1 -1
- package/dist/bundled/v3/index.js +8 -8
- package/dist/esm/v2/{OrCode-d4400b42.js → OrCode-e2ce05ea.js} +30 -12
- package/dist/esm/v2/{OrNotification-a9231a83.js → OrNotification-a49e76d3.js} +3 -3
- package/dist/esm/v2/{OrSkeletonText-cc94bdc9.js → OrSkeletonText-24509efe.js} +3 -3
- package/dist/esm/v2/components/index.js +4 -3
- package/dist/esm/v2/components/or-code/OrCode.vue.d.ts +10 -0
- package/dist/esm/v2/components/or-code/index.js +3 -2
- package/dist/esm/v2/components/or-notification/index.js +1 -1
- package/dist/esm/v2/components/or-skeleton/index.js +1 -1
- package/dist/esm/v2/index.js +4 -3
- package/dist/esm/v3/{OrCode-5ed69c23.js → OrCode-72688173.js} +27 -9
- package/dist/esm/v3/{OrNotification-e85a4956.js → OrNotification-eb08de33.js} +1 -1
- package/dist/esm/v3/{OrSkeletonText-2b1610ce.js → OrSkeletonText-0546754d.js} +3 -3
- package/dist/esm/v3/components/index.js +4 -3
- package/dist/esm/v3/components/or-code/OrCode.vue.d.ts +10 -0
- package/dist/esm/v3/components/or-code/index.js +3 -2
- package/dist/esm/v3/components/or-notification/index.js +1 -1
- package/dist/esm/v3/components/or-skeleton/index.js +1 -1
- package/dist/esm/v3/index.js +4 -3
- package/package.json +4 -4
- package/src/components/or-code/OrCode.vue +23 -6
- package/src/components/or-notification/OrNotification.vue +26 -1
- package/src/components/or-skeleton/styles.scss +18 -3
- package/src/components/or-stepper/OrStepper.stories.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useElementHover } from '@vueuse/core';
|
|
1
|
+
import { useMutationObserver, useElementHover } from '@vueuse/core';
|
|
2
2
|
import _ from 'lodash';
|
|
3
3
|
import './index-fa6eb4ca.js';
|
|
4
4
|
import { O as OrTeleport } from './OrTeleportVue2-3544f185.js';
|
|
@@ -23378,6 +23378,161 @@ const basicSetup = /*@__PURE__*/(() => [lineNumbers(), highlightActiveLineGutter
|
|
|
23378
23378
|
fallback: true
|
|
23379
23379
|
}), bracketMatching(), closeBrackets(), autocompletion(), rectangularSelection(), crosshairCursor(), highlightActiveLine(), highlightSelectionMatches(), keymap.of([...closeBracketsKeymap, ...defaultKeymap, ...searchKeymap, ...historyKeymap, ...foldKeymap, ...completionKeymap, ...lintKeymap])])();
|
|
23380
23380
|
|
|
23381
|
+
// Using https://github.com/one-dark/vscode-one-dark-theme/ as reference for the colors
|
|
23382
|
+
const chalky = "#e5c07b",
|
|
23383
|
+
coral = "#e06c75",
|
|
23384
|
+
cyan = "#56b6c2",
|
|
23385
|
+
invalid = "#ffffff",
|
|
23386
|
+
ivory = "#abb2bf",
|
|
23387
|
+
stone = "#7d8799",
|
|
23388
|
+
// Brightened compared to original to increase contrast
|
|
23389
|
+
malibu = "#61afef",
|
|
23390
|
+
sage = "#98c379",
|
|
23391
|
+
whiskey = "#d19a66",
|
|
23392
|
+
violet = "#c678dd",
|
|
23393
|
+
darkBackground = "#21252b",
|
|
23394
|
+
highlightBackground = "#2c313a",
|
|
23395
|
+
background = "#282c34",
|
|
23396
|
+
tooltipBackground = "#353a42",
|
|
23397
|
+
selection = "#3E4451",
|
|
23398
|
+
cursor = "#528bff";
|
|
23399
|
+
/**
|
|
23400
|
+
The editor theme styles for One Dark.
|
|
23401
|
+
*/
|
|
23402
|
+
const oneDarkTheme = /*@__PURE__*/EditorView.theme({
|
|
23403
|
+
"&": {
|
|
23404
|
+
color: ivory,
|
|
23405
|
+
backgroundColor: background
|
|
23406
|
+
},
|
|
23407
|
+
".cm-content": {
|
|
23408
|
+
caretColor: cursor
|
|
23409
|
+
},
|
|
23410
|
+
".cm-cursor, .cm-dropCursor": {
|
|
23411
|
+
borderLeftColor: cursor
|
|
23412
|
+
},
|
|
23413
|
+
"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection": {
|
|
23414
|
+
backgroundColor: selection
|
|
23415
|
+
},
|
|
23416
|
+
".cm-panels": {
|
|
23417
|
+
backgroundColor: darkBackground,
|
|
23418
|
+
color: ivory
|
|
23419
|
+
},
|
|
23420
|
+
".cm-panels.cm-panels-top": {
|
|
23421
|
+
borderBottom: "2px solid black"
|
|
23422
|
+
},
|
|
23423
|
+
".cm-panels.cm-panels-bottom": {
|
|
23424
|
+
borderTop: "2px solid black"
|
|
23425
|
+
},
|
|
23426
|
+
".cm-searchMatch": {
|
|
23427
|
+
backgroundColor: "#72a1ff59",
|
|
23428
|
+
outline: "1px solid #457dff"
|
|
23429
|
+
},
|
|
23430
|
+
".cm-searchMatch.cm-searchMatch-selected": {
|
|
23431
|
+
backgroundColor: "#6199ff2f"
|
|
23432
|
+
},
|
|
23433
|
+
".cm-activeLine": {
|
|
23434
|
+
backgroundColor: "#6699ff0b"
|
|
23435
|
+
},
|
|
23436
|
+
".cm-selectionMatch": {
|
|
23437
|
+
backgroundColor: "#aafe661a"
|
|
23438
|
+
},
|
|
23439
|
+
"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket": {
|
|
23440
|
+
backgroundColor: "#bad0f847"
|
|
23441
|
+
},
|
|
23442
|
+
".cm-gutters": {
|
|
23443
|
+
backgroundColor: background,
|
|
23444
|
+
color: stone,
|
|
23445
|
+
border: "none"
|
|
23446
|
+
},
|
|
23447
|
+
".cm-activeLineGutter": {
|
|
23448
|
+
backgroundColor: highlightBackground
|
|
23449
|
+
},
|
|
23450
|
+
".cm-foldPlaceholder": {
|
|
23451
|
+
backgroundColor: "transparent",
|
|
23452
|
+
border: "none",
|
|
23453
|
+
color: "#ddd"
|
|
23454
|
+
},
|
|
23455
|
+
".cm-tooltip": {
|
|
23456
|
+
border: "none",
|
|
23457
|
+
backgroundColor: tooltipBackground
|
|
23458
|
+
},
|
|
23459
|
+
".cm-tooltip .cm-tooltip-arrow:before": {
|
|
23460
|
+
borderTopColor: "transparent",
|
|
23461
|
+
borderBottomColor: "transparent"
|
|
23462
|
+
},
|
|
23463
|
+
".cm-tooltip .cm-tooltip-arrow:after": {
|
|
23464
|
+
borderTopColor: tooltipBackground,
|
|
23465
|
+
borderBottomColor: tooltipBackground
|
|
23466
|
+
},
|
|
23467
|
+
".cm-tooltip-autocomplete": {
|
|
23468
|
+
"& > ul > li[aria-selected]": {
|
|
23469
|
+
backgroundColor: highlightBackground,
|
|
23470
|
+
color: ivory
|
|
23471
|
+
}
|
|
23472
|
+
}
|
|
23473
|
+
}, {
|
|
23474
|
+
dark: true
|
|
23475
|
+
});
|
|
23476
|
+
/**
|
|
23477
|
+
The highlighting style for code in the One Dark theme.
|
|
23478
|
+
*/
|
|
23479
|
+
const oneDarkHighlightStyle = /*@__PURE__*/HighlightStyle.define([{
|
|
23480
|
+
tag: tags$1.keyword,
|
|
23481
|
+
color: violet
|
|
23482
|
+
}, {
|
|
23483
|
+
tag: [tags$1.name, tags$1.deleted, tags$1.character, tags$1.propertyName, tags$1.macroName],
|
|
23484
|
+
color: coral
|
|
23485
|
+
}, {
|
|
23486
|
+
tag: [/*@__PURE__*/tags$1.function(tags$1.variableName), tags$1.labelName],
|
|
23487
|
+
color: malibu
|
|
23488
|
+
}, {
|
|
23489
|
+
tag: [tags$1.color, /*@__PURE__*/tags$1.constant(tags$1.name), /*@__PURE__*/tags$1.standard(tags$1.name)],
|
|
23490
|
+
color: whiskey
|
|
23491
|
+
}, {
|
|
23492
|
+
tag: [/*@__PURE__*/tags$1.definition(tags$1.name), tags$1.separator],
|
|
23493
|
+
color: ivory
|
|
23494
|
+
}, {
|
|
23495
|
+
tag: [tags$1.typeName, tags$1.className, tags$1.number, tags$1.changed, tags$1.annotation, tags$1.modifier, tags$1.self, tags$1.namespace],
|
|
23496
|
+
color: chalky
|
|
23497
|
+
}, {
|
|
23498
|
+
tag: [tags$1.operator, tags$1.operatorKeyword, tags$1.url, tags$1.escape, tags$1.regexp, tags$1.link, /*@__PURE__*/tags$1.special(tags$1.string)],
|
|
23499
|
+
color: cyan
|
|
23500
|
+
}, {
|
|
23501
|
+
tag: [tags$1.meta, tags$1.comment],
|
|
23502
|
+
color: stone
|
|
23503
|
+
}, {
|
|
23504
|
+
tag: tags$1.strong,
|
|
23505
|
+
fontWeight: "bold"
|
|
23506
|
+
}, {
|
|
23507
|
+
tag: tags$1.emphasis,
|
|
23508
|
+
fontStyle: "italic"
|
|
23509
|
+
}, {
|
|
23510
|
+
tag: tags$1.strikethrough,
|
|
23511
|
+
textDecoration: "line-through"
|
|
23512
|
+
}, {
|
|
23513
|
+
tag: tags$1.link,
|
|
23514
|
+
color: stone,
|
|
23515
|
+
textDecoration: "underline"
|
|
23516
|
+
}, {
|
|
23517
|
+
tag: tags$1.heading,
|
|
23518
|
+
fontWeight: "bold",
|
|
23519
|
+
color: coral
|
|
23520
|
+
}, {
|
|
23521
|
+
tag: [tags$1.atom, tags$1.bool, /*@__PURE__*/tags$1.special(tags$1.variableName)],
|
|
23522
|
+
color: whiskey
|
|
23523
|
+
}, {
|
|
23524
|
+
tag: [tags$1.processingInstruction, tags$1.string, tags$1.inserted],
|
|
23525
|
+
color: sage
|
|
23526
|
+
}, {
|
|
23527
|
+
tag: tags$1.invalid,
|
|
23528
|
+
color: invalid
|
|
23529
|
+
}]);
|
|
23530
|
+
/**
|
|
23531
|
+
Extension to enable the One Dark theme (both the editor theme and
|
|
23532
|
+
the highlight style).
|
|
23533
|
+
*/
|
|
23534
|
+
const oneDark = [oneDarkTheme, /*@__PURE__*/syntaxHighlighting(oneDarkHighlightStyle)];
|
|
23535
|
+
|
|
23381
23536
|
var OrCodeLanguages;
|
|
23382
23537
|
(function (OrCodeLanguages) {
|
|
23383
23538
|
OrCodeLanguages["JS"] = "javascript";
|
|
@@ -29473,6 +29628,20 @@ var script = defineComponent({
|
|
|
29473
29628
|
setup(props, {
|
|
29474
29629
|
emit
|
|
29475
29630
|
}) {
|
|
29631
|
+
var _a;
|
|
29632
|
+
// theming refs
|
|
29633
|
+
const parent = document.querySelector('[data-theme]') || document.querySelector('html');
|
|
29634
|
+
const themeEl = ref(parent);
|
|
29635
|
+
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');
|
|
29636
|
+
const themeObserver = useMutationObserver(themeEl, mutations => {
|
|
29637
|
+
var _a, _b;
|
|
29638
|
+
const mutation = mutations.find(m => m.attributeName === 'data-theme');
|
|
29639
|
+
if (!mutation) return;
|
|
29640
|
+
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';
|
|
29641
|
+
}, {
|
|
29642
|
+
attributes: true
|
|
29643
|
+
});
|
|
29644
|
+
// editor config
|
|
29476
29645
|
const root = ref();
|
|
29477
29646
|
const target = ref();
|
|
29478
29647
|
const fullscreenTarget = ref();
|
|
@@ -29492,7 +29661,9 @@ var script = defineComponent({
|
|
|
29492
29661
|
target,
|
|
29493
29662
|
fullscreenTarget,
|
|
29494
29663
|
editor,
|
|
29495
|
-
isHovered
|
|
29664
|
+
isHovered,
|
|
29665
|
+
isDark,
|
|
29666
|
+
themeObserver
|
|
29496
29667
|
};
|
|
29497
29668
|
},
|
|
29498
29669
|
data() {
|
|
@@ -29514,9 +29685,11 @@ var script = defineComponent({
|
|
|
29514
29685
|
allowPaste,
|
|
29515
29686
|
lineWrapping
|
|
29516
29687
|
} = this;
|
|
29517
|
-
const ext = _.compact([
|
|
29688
|
+
const ext = _.compact([...(this.isDark ? [oneDark] : []),
|
|
29518
29689
|
// Toggle light/dark mode
|
|
29519
|
-
EditorView.
|
|
29690
|
+
this.isDark ? EditorView.theme({}, {
|
|
29691
|
+
dark: true
|
|
29692
|
+
}) : EditorView.baseTheme({}),
|
|
29520
29693
|
// locale settings
|
|
29521
29694
|
this.phrases ? EditorState.phrases.of(this.phrases) : undefined,
|
|
29522
29695
|
// Parser language setting
|
|
@@ -29543,10 +29716,8 @@ var script = defineComponent({
|
|
|
29543
29716
|
}
|
|
29544
29717
|
}),
|
|
29545
29718
|
// line wrapping
|
|
29546
|
-
lineWrapping ? EditorView.lineWrapping : undefined, keymap.of([indentWithTab])]);
|
|
29547
|
-
|
|
29548
|
-
if (this.extensions.length !== 0) _.merge(ext, this.extensions);
|
|
29549
|
-
return ext;
|
|
29719
|
+
lineWrapping ? EditorView.lineWrapping : undefined, keymap.of([indentWithTab]), ...this.extensions]);
|
|
29720
|
+
return [...ext];
|
|
29550
29721
|
},
|
|
29551
29722
|
isShowingError() {
|
|
29552
29723
|
return !!this.error && this.isInvalid;
|
|
@@ -29589,6 +29760,7 @@ var script = defineComponent({
|
|
|
29589
29760
|
},
|
|
29590
29761
|
beforeUnmount() {
|
|
29591
29762
|
var _a;
|
|
29763
|
+
this.themeObserver.stop();
|
|
29592
29764
|
(_a = this.editor) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
29593
29765
|
},
|
|
29594
29766
|
methods: {
|
|
@@ -29638,7 +29810,7 @@ var __vue_render__ = function () {
|
|
|
29638
29810
|
staticClass: "fullscreen-button",
|
|
29639
29811
|
attrs: {
|
|
29640
29812
|
"icon": "fullscreen",
|
|
29641
|
-
"icon-color": "neutral-
|
|
29813
|
+
"icon-color": "neutral-4"
|
|
29642
29814
|
},
|
|
29643
29815
|
on: {
|
|
29644
29816
|
"click": function ($event) {
|
|
@@ -29706,14 +29878,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
29706
29878
|
/* style */
|
|
29707
29879
|
const __vue_inject_styles__ = function (inject) {
|
|
29708
29880
|
if (!inject) return;
|
|
29709
|
-
inject("data-v-
|
|
29710
|
-
source: "@keyframes spinAround-data-v-
|
|
29881
|
+
inject("data-v-c0fc62cc_0", {
|
|
29882
|
+
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}",
|
|
29711
29883
|
map: undefined,
|
|
29712
29884
|
media: undefined
|
|
29713
29885
|
});
|
|
29714
29886
|
};
|
|
29715
29887
|
/* scoped */
|
|
29716
|
-
const __vue_scope_id__ = "data-v-
|
|
29888
|
+
const __vue_scope_id__ = "data-v-c0fc62cc";
|
|
29717
29889
|
/* module identifier */
|
|
29718
29890
|
const __vue_module_identifier__ = undefined;
|
|
29719
29891
|
/* 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-
|
|
124
|
-
source: "@keyframes spinAround-data-v-
|
|
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-
|
|
130
|
+
const __vue_scope_id__ = "data-v-6284d461";
|
|
131
131
|
/* module identifier */
|
|
132
132
|
const __vue_module_identifier__ = undefined;
|
|
133
133
|
/* functional template */
|
|
@@ -59,7 +59,7 @@ var __vue_staticRenderFns__$2 = [];
|
|
|
59
59
|
const __vue_inject_styles__$2 = function (inject) {
|
|
60
60
|
if (!inject) return;
|
|
61
61
|
inject("data-v-2bdce55a_0", {
|
|
62
|
-
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
|
+
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}",
|
|
63
63
|
map: undefined,
|
|
64
64
|
media: undefined
|
|
65
65
|
});
|
|
@@ -137,7 +137,7 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
137
137
|
const __vue_inject_styles__$1 = function (inject) {
|
|
138
138
|
if (!inject) return;
|
|
139
139
|
inject("data-v-570f1e07_0", {
|
|
140
|
-
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)}",
|
|
140
|
+
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)}",
|
|
141
141
|
map: undefined,
|
|
142
142
|
media: undefined
|
|
143
143
|
});
|
|
@@ -238,7 +238,7 @@ var __vue_staticRenderFns__ = [];
|
|
|
238
238
|
const __vue_inject_styles__ = function (inject) {
|
|
239
239
|
if (!inject) return;
|
|
240
240
|
inject("data-v-1ddb38df_0", {
|
|
241
|
-
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}",
|
|
241
|
+
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}",
|
|
242
242
|
map: undefined,
|
|
243
243
|
media: undefined
|
|
244
244
|
});
|
|
@@ -15,7 +15,7 @@ export { O as OrCheckbox } from '../OrCheckbox-4cbddd67.js';
|
|
|
15
15
|
export { O as OrCheckboxV3 } from '../OrCheckbox-9be450f9.js';
|
|
16
16
|
export { O as OrChip } from '../OrChip-000fe7b5.js';
|
|
17
17
|
export { _ as OrChips } from '../OrChips-890b8476.js';
|
|
18
|
-
export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-
|
|
18
|
+
export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-0cf7596d.js';
|
|
19
19
|
export { O as OrCollapse } from '../OrCollapse-3aa9a9b7.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-a1a37e83.js';
|
|
21
21
|
export { _ as OrConfirm } from '../OrConfirm-55b89b17.js';
|
|
@@ -52,7 +52,7 @@ export { O as OrMenuV3 } from '../OrMenu-52da43bc.js';
|
|
|
52
52
|
export { P as MenuPlacement, O as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from '../OrPopover-4e8acb7b.js';
|
|
53
53
|
export { O as OrModal, a as OrModalSizes } from '../OrModal-a5411b0d.js';
|
|
54
54
|
export { M as ModalSize, _ as OrModalV3 } from '../OrModal-78f5d49e.js';
|
|
55
|
-
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from '../OrNotification-
|
|
55
|
+
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from '../OrNotification-2e2a1941.js';
|
|
56
56
|
export { N as NotificationVariant, _ as OrNotificationV3 } from '../OrNotification-458fe937.js';
|
|
57
57
|
export { _ as OrNumberInput } from '../OrNumberInput-face8ccc.js';
|
|
58
58
|
export { _ as OrOverflowMenu } from '../OrOverflowMenu-711e460e.js';
|
|
@@ -72,7 +72,7 @@ export { _ as OrSelect } from '../OrSelect-a23d4210.js';
|
|
|
72
72
|
export { _ as OrSelectV3 } from '../OrSelect-2ececfc1.js';
|
|
73
73
|
export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-e2b2c9ec.js';
|
|
74
74
|
export { O as OrSidebarPlacement, _ as OrSidebarV3 } from '../OrSidebar-c95ef614.js';
|
|
75
|
-
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-
|
|
75
|
+
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-2f1a3cc7.js';
|
|
76
76
|
export { _ as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from '../OrSkeletonText-9a2f39dc.js';
|
|
77
77
|
export { _ as OrSlider } from '../OrSlider-59d05856.js';
|
|
78
78
|
export { _ as OrSortHeaderV3 } from '../OrSortHeader-565ace92.js';
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from '../../OrNotification-
|
|
1
|
+
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from '../../OrNotification-2e2a1941.js';
|
|
2
2
|
import '../../index-fa6eb4ca.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../../OrSkeletonText-
|
|
1
|
+
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../../OrSkeletonText-2f1a3cc7.js';
|
|
2
2
|
import '../../index-fa6eb4ca.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|