@onereach/ui-components 2.74.16-beta.2375.0 → 2.75.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-cdde94a4.js → OrCode-5b43ba50.js} +178 -14
- package/dist/bundled/v2/{OrModal-5f094323.js → OrModal-d845da2d.js} +4 -4
- package/dist/bundled/v2/{OrNotification-76491313.js → OrNotification-209972e7.js} +2 -2
- package/dist/bundled/v2/{OrSkeletonText-feb27b8c.js → OrSkeletonText-1bf08dbc.js} +3 -3
- package/dist/bundled/v2/components/index.js +4 -4
- package/dist/bundled/v2/components/or-code/index.js +1 -1
- package/dist/bundled/v2/components/or-code/theme.d.ts +24 -0
- package/dist/bundled/v2/components/or-modal-v3/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 +5 -5
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-1fbe8517.js → OrCode.vue_vue_type_script_lang-7723c4a8.js} +176 -11
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-92339e0f.js → OrModal.vue_vue_type_script_lang-3f3ce339.js} +4 -4
- package/dist/bundled/v3/components/index.js +2 -2
- package/dist/bundled/v3/components/or-code/index.js +1 -1
- package/dist/bundled/v3/components/or-code/theme.d.ts +24 -0
- package/dist/bundled/v3/components/or-modal-v3/index.js +1 -1
- package/dist/bundled/v3/index.js +10 -10
- package/dist/esm/v2/{OrCode-9a2cdc0c.js → OrCode-930709c5.js} +182 -16
- package/dist/esm/v2/{OrModal-407f3ac7.js → OrModal-370cfc3b.js} +4 -4
- package/dist/esm/v2/{OrNotification-f905da81.js → OrNotification-0b22c94c.js} +2 -2
- package/dist/esm/v2/{OrSkeletonText-38aef640.js → OrSkeletonText-6a6f285d.js} +3 -3
- package/dist/esm/v2/components/index.js +6 -4
- package/dist/esm/v2/components/or-code/index.js +4 -2
- package/dist/esm/v2/components/or-code/theme.d.ts +24 -0
- package/dist/esm/v2/components/or-modal-v3/index.js +1 -1
- 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 +6 -4
- package/dist/esm/v3/{OrCode-033d49f4.js → OrCode-fe49ca8e.js} +180 -14
- package/dist/esm/v3/{OrModal-17c3a1cb.js → OrModal-f9f2279b.js} +4 -4
- package/dist/esm/v3/{OrNotification-b90cf406.js → OrNotification-2d77aae4.js} +1 -1
- package/dist/esm/v3/{OrSkeletonText-2b1610ce.js → OrSkeletonText-0546754d.js} +3 -3
- package/dist/esm/v3/components/index.js +6 -4
- package/dist/esm/v3/components/or-code/index.js +4 -2
- package/dist/esm/v3/components/or-code/theme.d.ts +24 -0
- package/dist/esm/v3/components/or-modal-v3/index.js +1 -1
- 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 +6 -4
- package/package.json +4 -3
- package/src/components/or-code/OrCode.vue +8 -6
- package/src/components/or-code/theme.ts +213 -0
- package/src/components/or-modal-v3/OrModal.stories3.ts +0 -19
- package/src/components/or-modal-v3/styles.ts +4 -1
- 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
|
@@ -9311,7 +9311,7 @@ function scaleBlock(block, scaler) {
|
|
|
9311
9311
|
bBottom = scaler.toDOM(block.bottom);
|
|
9312
9312
|
return new BlockInfo(block.from, block.length, bTop, bBottom - bTop, Array.isArray(block.type) ? block.type.map(b => scaleBlock(b, scaler)) : block.type);
|
|
9313
9313
|
}
|
|
9314
|
-
const theme = /*@__PURE__*/Facet.define({
|
|
9314
|
+
const theme$1 = /*@__PURE__*/Facet.define({
|
|
9315
9315
|
combine: strs => strs.join(" ")
|
|
9316
9316
|
});
|
|
9317
9317
|
const darkTheme = /*@__PURE__*/Facet.define({
|
|
@@ -10455,7 +10455,7 @@ class EditorView {
|
|
|
10455
10455
|
this.updateState = 0 /* UpdateState.Idle */;
|
|
10456
10456
|
}
|
|
10457
10457
|
|
|
10458
|
-
if (update.startState.facet(theme) != update.state.facet(theme)) this.viewState.mustMeasureContent = true;
|
|
10458
|
+
if (update.startState.facet(theme$1) != update.state.facet(theme$1)) this.viewState.mustMeasureContent = true;
|
|
10459
10459
|
if (redrawn || attrsChanged || scrollTarget || this.viewState.mustEnforceCursorAssoc || this.viewState.mustMeasureContent) this.requestMeasure();
|
|
10460
10460
|
if (!update.empty) for (let listener of this.state.facet(updateListener)) listener(update);
|
|
10461
10461
|
if (domChange) {
|
|
@@ -10602,7 +10602,7 @@ class EditorView {
|
|
|
10602
10602
|
Get the CSS classes for the currently active editor themes.
|
|
10603
10603
|
*/
|
|
10604
10604
|
get themeClasses() {
|
|
10605
|
-
return baseThemeID + " " + (this.state.facet(darkTheme) ? baseDarkID : baseLightID) + " " + this.state.facet(theme);
|
|
10605
|
+
return baseThemeID + " " + (this.state.facet(darkTheme) ? baseDarkID : baseLightID) + " " + this.state.facet(theme$1);
|
|
10606
10606
|
}
|
|
10607
10607
|
updateAttrs() {
|
|
10608
10608
|
let editorAttrs = attrsFromFacet(this, editorAttributes, {
|
|
@@ -10989,7 +10989,7 @@ class EditorView {
|
|
|
10989
10989
|
*/
|
|
10990
10990
|
static theme(spec, options) {
|
|
10991
10991
|
let prefix = StyleModule.newName();
|
|
10992
|
-
let result = [theme.of(prefix), styleModule.of(buildTheme(`.${prefix}`, spec))];
|
|
10992
|
+
let result = [theme$1.of(prefix), styleModule.of(buildTheme(`.${prefix}`, spec))];
|
|
10993
10993
|
if (options && options.dark) result.push(darkTheme.of(true));
|
|
10994
10994
|
return result;
|
|
10995
10995
|
}
|
|
@@ -29390,6 +29390,173 @@ var languages = {
|
|
|
29390
29390
|
[OrCodeLanguages.MD]: MD
|
|
29391
29391
|
};
|
|
29392
29392
|
|
|
29393
|
+
// Using https://github.com/one-dark/vscode-one-dark-theme/ as reference for the colors
|
|
29394
|
+
const chalky = 'var(--c-warning-darken-20)',
|
|
29395
|
+
coral = 'var(--c-error)',
|
|
29396
|
+
cyan = '#56b6c2',
|
|
29397
|
+
invalid = 'var(--c-white)',
|
|
29398
|
+
ivory = 'var(--c-neutral-6)',
|
|
29399
|
+
stone = 'var(--c-neutral-5)',
|
|
29400
|
+
// Brightened compared to original to increase contrast
|
|
29401
|
+
malibu = '#61afef',
|
|
29402
|
+
sage = 'var(--c-success)',
|
|
29403
|
+
whiskey = 'var(--c-warning-darken-5)',
|
|
29404
|
+
violet = '#c678dd',
|
|
29405
|
+
darkBackground = 'var(--c-neutral-1)',
|
|
29406
|
+
highlightBackground = 'var(--c-neutral-2)',
|
|
29407
|
+
background = 'var(--c-neutral-1)',
|
|
29408
|
+
tooltipBackground = 'var(--c-neutral-2)',
|
|
29409
|
+
selection = 'var(--c-neutral-3)',
|
|
29410
|
+
cursor = 'var(--c-primary)';
|
|
29411
|
+
/// The editor theme styles for One Dark.
|
|
29412
|
+
const orCodeTheme = EditorView.theme({
|
|
29413
|
+
'&': {
|
|
29414
|
+
color: ivory,
|
|
29415
|
+
backgroundColor: background
|
|
29416
|
+
},
|
|
29417
|
+
'.cm-content': {
|
|
29418
|
+
caretColor: cursor
|
|
29419
|
+
},
|
|
29420
|
+
'.cm-button': {
|
|
29421
|
+
background: highlightBackground,
|
|
29422
|
+
color: 'var(--c-neutral-6)',
|
|
29423
|
+
border: 0,
|
|
29424
|
+
borderRadius: 'var(--s-2)'
|
|
29425
|
+
},
|
|
29426
|
+
'.cm-panel.cm-search input[type=checkbox]': {
|
|
29427
|
+
display: 'inline-block',
|
|
29428
|
+
verticalAlign: 'middle'
|
|
29429
|
+
},
|
|
29430
|
+
'.cm-cursor, .cm-dropCursor': {
|
|
29431
|
+
borderLeftColor: cursor
|
|
29432
|
+
},
|
|
29433
|
+
'&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': {
|
|
29434
|
+
backgroundColor: selection
|
|
29435
|
+
},
|
|
29436
|
+
'.cm-panels': {
|
|
29437
|
+
backgroundColor: darkBackground,
|
|
29438
|
+
color: ivory
|
|
29439
|
+
},
|
|
29440
|
+
'.cm-panels.cm-panels-top': {
|
|
29441
|
+
borderBottom: '2px solid var(--c-neutral-2)'
|
|
29442
|
+
},
|
|
29443
|
+
'.cm-panels.cm-panels-bottom': {
|
|
29444
|
+
borderTop: '2px solid var(--c-neutral-2)'
|
|
29445
|
+
},
|
|
29446
|
+
'.cm-searchMatch': {
|
|
29447
|
+
backgroundColor: 'var(--c-neutral-1)',
|
|
29448
|
+
outline: '1px solid var(--c-neutral-2)'
|
|
29449
|
+
},
|
|
29450
|
+
'.cm-searchMatch.cm-searchMatch-selected': {
|
|
29451
|
+
backgroundColor: '#6199ff2f'
|
|
29452
|
+
},
|
|
29453
|
+
'.cm-activeLine': {
|
|
29454
|
+
backgroundColor: '#6699ff0b'
|
|
29455
|
+
},
|
|
29456
|
+
'.cm-selectionMatch': {
|
|
29457
|
+
backgroundColor: '#aafe661a'
|
|
29458
|
+
},
|
|
29459
|
+
'&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket': {
|
|
29460
|
+
backgroundColor: '#bad0f847'
|
|
29461
|
+
},
|
|
29462
|
+
'.cm-gutters': {
|
|
29463
|
+
backgroundColor: background,
|
|
29464
|
+
color: stone,
|
|
29465
|
+
border: 'none'
|
|
29466
|
+
},
|
|
29467
|
+
'.cm-activeLineGutter': {
|
|
29468
|
+
backgroundColor: highlightBackground
|
|
29469
|
+
},
|
|
29470
|
+
'.cm-foldPlaceholder': {
|
|
29471
|
+
backgroundColor: 'transparent',
|
|
29472
|
+
border: 'none',
|
|
29473
|
+
color: '#ddd'
|
|
29474
|
+
},
|
|
29475
|
+
'.cm-tooltip': {
|
|
29476
|
+
border: 'none',
|
|
29477
|
+
backgroundColor: tooltipBackground
|
|
29478
|
+
},
|
|
29479
|
+
'.cm-tooltip .cm-tooltip-arrow:before': {
|
|
29480
|
+
borderTopColor: 'transparent',
|
|
29481
|
+
borderBottomColor: 'transparent'
|
|
29482
|
+
},
|
|
29483
|
+
'.cm-tooltip .cm-tooltip-arrow:after': {
|
|
29484
|
+
borderTopColor: tooltipBackground,
|
|
29485
|
+
borderBottomColor: tooltipBackground
|
|
29486
|
+
},
|
|
29487
|
+
'.cm-tooltip-autocomplete': {
|
|
29488
|
+
'& > ul > li[aria-selected]': {
|
|
29489
|
+
backgroundColor: highlightBackground,
|
|
29490
|
+
color: ivory
|
|
29491
|
+
}
|
|
29492
|
+
},
|
|
29493
|
+
'.cm-textfield': {
|
|
29494
|
+
outline: 'none',
|
|
29495
|
+
background: background,
|
|
29496
|
+
color: 'var(--c-neutral-6)',
|
|
29497
|
+
backgroundColor: 'var(--c-neutral-1)',
|
|
29498
|
+
border: '1px solid var(--c-neutral-2)',
|
|
29499
|
+
borderRadius: 'var(--s-2)'
|
|
29500
|
+
}
|
|
29501
|
+
}, {
|
|
29502
|
+
dark: true
|
|
29503
|
+
});
|
|
29504
|
+
/// The highlighting style for code in the One Dark theme.
|
|
29505
|
+
const orCodeHighlightStyle = HighlightStyle.define([{
|
|
29506
|
+
tag: tags$1.keyword,
|
|
29507
|
+
color: violet
|
|
29508
|
+
}, {
|
|
29509
|
+
tag: [tags$1.name, tags$1.deleted, tags$1.character, tags$1.propertyName, tags$1.macroName],
|
|
29510
|
+
color: coral
|
|
29511
|
+
}, {
|
|
29512
|
+
tag: [tags$1.function(tags$1.variableName), tags$1.labelName],
|
|
29513
|
+
color: malibu
|
|
29514
|
+
}, {
|
|
29515
|
+
tag: [tags$1.color, tags$1.constant(tags$1.name), tags$1.standard(tags$1.name)],
|
|
29516
|
+
color: whiskey
|
|
29517
|
+
}, {
|
|
29518
|
+
tag: [tags$1.definition(tags$1.name), tags$1.separator],
|
|
29519
|
+
color: ivory
|
|
29520
|
+
}, {
|
|
29521
|
+
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],
|
|
29522
|
+
color: chalky
|
|
29523
|
+
}, {
|
|
29524
|
+
tag: [tags$1.operator, tags$1.operatorKeyword, tags$1.url, tags$1.escape, tags$1.regexp, tags$1.link, tags$1.special(tags$1.string)],
|
|
29525
|
+
color: cyan
|
|
29526
|
+
}, {
|
|
29527
|
+
tag: [tags$1.meta, tags$1.comment],
|
|
29528
|
+
color: stone
|
|
29529
|
+
}, {
|
|
29530
|
+
tag: tags$1.strong,
|
|
29531
|
+
fontWeight: 'bold'
|
|
29532
|
+
}, {
|
|
29533
|
+
tag: tags$1.emphasis,
|
|
29534
|
+
fontStyle: 'italic'
|
|
29535
|
+
}, {
|
|
29536
|
+
tag: tags$1.strikethrough,
|
|
29537
|
+
textDecoration: 'line-through'
|
|
29538
|
+
}, {
|
|
29539
|
+
tag: tags$1.link,
|
|
29540
|
+
color: stone,
|
|
29541
|
+
textDecoration: 'underline'
|
|
29542
|
+
}, {
|
|
29543
|
+
tag: tags$1.heading,
|
|
29544
|
+
fontWeight: 'bold',
|
|
29545
|
+
color: coral
|
|
29546
|
+
}, {
|
|
29547
|
+
tag: [tags$1.atom, tags$1.bool, tags$1.special(tags$1.variableName)],
|
|
29548
|
+
color: whiskey
|
|
29549
|
+
}, {
|
|
29550
|
+
tag: [tags$1.processingInstruction, tags$1.string, tags$1.inserted],
|
|
29551
|
+
color: sage
|
|
29552
|
+
}, {
|
|
29553
|
+
tag: tags$1.invalid,
|
|
29554
|
+
color: invalid
|
|
29555
|
+
}]);
|
|
29556
|
+
/// Extension to enable the One Dark theme (both the editor theme and
|
|
29557
|
+
/// the highlight style).
|
|
29558
|
+
const theme = [orCodeTheme, syntaxHighlighting(orCodeHighlightStyle)];
|
|
29559
|
+
|
|
29393
29560
|
//partially based on https://github.com/logue/vue-codemirror6/blob/master/src/components/CodeMirror.vue
|
|
29394
29561
|
var script = defineComponent({
|
|
29395
29562
|
name: 'OrCode',
|
|
@@ -29473,6 +29640,7 @@ var script = defineComponent({
|
|
|
29473
29640
|
setup(props, {
|
|
29474
29641
|
emit
|
|
29475
29642
|
}) {
|
|
29643
|
+
// editor config
|
|
29476
29644
|
const root = ref();
|
|
29477
29645
|
const target = ref();
|
|
29478
29646
|
const fullscreenTarget = ref();
|
|
@@ -29514,9 +29682,7 @@ var script = defineComponent({
|
|
|
29514
29682
|
allowPaste,
|
|
29515
29683
|
lineWrapping
|
|
29516
29684
|
} = this;
|
|
29517
|
-
const ext = _.compact([
|
|
29518
|
-
// Toggle light/dark mode
|
|
29519
|
-
EditorView.baseTheme({}),
|
|
29685
|
+
const ext = _.compact([theme, EditorView.baseTheme({}),
|
|
29520
29686
|
// locale settings
|
|
29521
29687
|
this.phrases ? EditorState.phrases.of(this.phrases) : undefined,
|
|
29522
29688
|
// Parser language setting
|
|
@@ -29543,10 +29709,8 @@ var script = defineComponent({
|
|
|
29543
29709
|
}
|
|
29544
29710
|
}),
|
|
29545
29711
|
// line wrapping
|
|
29546
|
-
lineWrapping ? EditorView.lineWrapping : undefined, keymap.of([indentWithTab])]);
|
|
29547
|
-
|
|
29548
|
-
if (this.extensions.length !== 0) _.merge(ext, this.extensions);
|
|
29549
|
-
return ext;
|
|
29712
|
+
lineWrapping ? EditorView.lineWrapping : undefined, keymap.of([indentWithTab]), ...this.extensions]);
|
|
29713
|
+
return [...ext];
|
|
29550
29714
|
},
|
|
29551
29715
|
isShowingError() {
|
|
29552
29716
|
return !!this.error && this.isInvalid;
|
|
@@ -29604,7 +29768,7 @@ var script = defineComponent({
|
|
|
29604
29768
|
}
|
|
29605
29769
|
});
|
|
29606
29770
|
|
|
29607
|
-
var css_248z = "@keyframes spinAround-data-v-
|
|
29771
|
+
var css_248z = "@keyframes spinAround-data-v-0e7eeac0{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-0e7eeac0{from{opacity:1}to{opacity:0}}.or-code .fullscreen-button[data-v-0e7eeac0]{width:2.25rem;height:2.25rem}.or-code .fullscreen-button>.or-icon[data-v-0e7eeac0]{font-size:1.5rem}.or-code .footer .or-code-error[data-v-0e7eeac0],.or-code .footer .or-code-hint[data-v-0e7eeac0]{flex-shrink:1;transition-timing-function:var(--t-func);transition-duration:var(--t-duration);transition-property:height,opacity}.header[data-v-0e7eeac0]{display:flex;flex-direction:row;align-items:center;height:36px}.header .actions[data-v-0e7eeac0]{margin-left:auto}.header .actions[data-v-0e7eeac0]:not(.is-visible){display:none}.or-code-editor[data-v-0e7eeac0]{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-0e7eeac0]{border-color:var(--c-error)}.or-code-editor[data-v-0e7eeac0]> *{width:100%;height:100%}.or-code[data-v-0e7eeac0],.or-modal[data-v-0e7eeac0] .content{display:flex;flex-direction:column}.or-code .or-code-editor[data-v-0e7eeac0],.or-modal[data-v-0e7eeac0] .content .or-code-editor{text-align:left!important}.or-code .or-code-editor[data-v-0e7eeac0],.or-modal[data-v-0e7eeac0] .content .or-code-editor{flex-grow:1}";
|
|
29608
29772
|
styleInject(css_248z);
|
|
29609
29773
|
|
|
29610
29774
|
/* script */
|
|
@@ -29640,7 +29804,7 @@ var __vue_render__ = function () {
|
|
|
29640
29804
|
staticClass: "fullscreen-button",
|
|
29641
29805
|
attrs: {
|
|
29642
29806
|
"icon": "fullscreen",
|
|
29643
|
-
"icon-color": "neutral-
|
|
29807
|
+
"icon-color": "neutral-4"
|
|
29644
29808
|
},
|
|
29645
29809
|
on: {
|
|
29646
29810
|
"click": function ($event) {
|
|
@@ -29708,7 +29872,7 @@ var __vue_staticRenderFns__ = [];
|
|
|
29708
29872
|
/* style */
|
|
29709
29873
|
const __vue_inject_styles__ = undefined;
|
|
29710
29874
|
/* scoped */
|
|
29711
|
-
const __vue_scope_id__ = "data-v-
|
|
29875
|
+
const __vue_scope_id__ = "data-v-0e7eeac0";
|
|
29712
29876
|
/* module identifier */
|
|
29713
29877
|
const __vue_module_identifier__ = undefined;
|
|
29714
29878
|
/* functional template */
|
|
@@ -15,7 +15,7 @@ const ModalRoot = [
|
|
|
15
15
|
// Layout
|
|
16
16
|
'layout-column',
|
|
17
17
|
// Box
|
|
18
|
-
'w-full', 'h-full
|
|
18
|
+
'w-full', 'h-full',
|
|
19
19
|
// Shape
|
|
20
20
|
'md:rounded-md',
|
|
21
21
|
// Spacing
|
|
@@ -29,13 +29,13 @@ const ModalRoot = [
|
|
|
29
29
|
const ModalRootSizes = {
|
|
30
30
|
'l': [
|
|
31
31
|
// Box
|
|
32
|
-
'md:w-[1050px]'],
|
|
32
|
+
'md:w-[1050px]', 'md:h-auto'],
|
|
33
33
|
'm': [
|
|
34
34
|
// Box
|
|
35
|
-
'md:w-[700px]'],
|
|
35
|
+
'md:w-[700px]', 'md:h-auto'],
|
|
36
36
|
's': [
|
|
37
37
|
// Box
|
|
38
|
-
'md:w-[480px]']
|
|
38
|
+
'md:w-[480px]', 'md:h-auto']
|
|
39
39
|
};
|
|
40
40
|
const ModalHeader = [
|
|
41
41
|
// Layouot
|
|
@@ -80,7 +80,7 @@ var script = defineComponent({
|
|
|
80
80
|
}
|
|
81
81
|
});
|
|
82
82
|
|
|
83
|
-
var css_248z = "@keyframes spinAround-data-v-
|
|
83
|
+
var css_248z = "@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)}";
|
|
84
84
|
styleInject(css_248z);
|
|
85
85
|
|
|
86
86
|
/* script */
|
|
@@ -122,7 +122,7 @@ var __vue_staticRenderFns__ = [];
|
|
|
122
122
|
/* style */
|
|
123
123
|
const __vue_inject_styles__ = undefined;
|
|
124
124
|
/* scoped */
|
|
125
|
-
const __vue_scope_id__ = "data-v-
|
|
125
|
+
const __vue_scope_id__ = "data-v-6284d461";
|
|
126
126
|
/* module identifier */
|
|
127
127
|
const __vue_module_identifier__ = undefined;
|
|
128
128
|
/* functional template */
|
|
@@ -39,7 +39,7 @@ var script$2 = defineComponent({
|
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
var css_248z$2 = "@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}";
|
|
42
|
+
var css_248z$2 = "@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}";
|
|
43
43
|
styleInject(css_248z$2);
|
|
44
44
|
|
|
45
45
|
/* script */
|
|
@@ -114,7 +114,7 @@ var script$1 = defineComponent({
|
|
|
114
114
|
}
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
var css_248z$1 = "@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)}";
|
|
117
|
+
var css_248z$1 = "@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)}";
|
|
118
118
|
styleInject(css_248z$1);
|
|
119
119
|
|
|
120
120
|
/* script */
|
|
@@ -207,7 +207,7 @@ var script = defineComponent({
|
|
|
207
207
|
}
|
|
208
208
|
});
|
|
209
209
|
|
|
210
|
-
var css_248z = "@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}";
|
|
210
|
+
var css_248z = "@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}";
|
|
211
211
|
styleInject(css_248z);
|
|
212
212
|
|
|
213
213
|
/* script */
|
|
@@ -15,7 +15,7 @@ export { O as OrCheckbox } from '../OrCheckbox-76849460.js';
|
|
|
15
15
|
export { O as OrCheckboxV3 } from '../OrCheckbox-384760cb.js';
|
|
16
16
|
export { O as OrChip } from '../OrChip-ce81b0c6.js';
|
|
17
17
|
export { _ as OrChips } from '../OrChips-bd939cdf.js';
|
|
18
|
-
export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-
|
|
18
|
+
export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-5b43ba50.js';
|
|
19
19
|
export { O as OrCollapse } from '../OrCollapse-f7cbcd25.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-8fa65edd.js';
|
|
21
21
|
export { _ as OrConfirm } from '../OrConfirm-cd2f5dcc.js';
|
|
@@ -51,8 +51,8 @@ export { O as OrMenuItemV3 } from '../OrMenuItem-f295292e.js';
|
|
|
51
51
|
export { O as OrMenuV3 } from '../OrMenu-82c77b2c.js';
|
|
52
52
|
export { P as MenuPlacement, O as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from '../OrPopover-597ad11f.js';
|
|
53
53
|
export { O as OrModal, a as OrModalSizes } from '../OrModal-e6a18d12.js';
|
|
54
|
-
export { M as ModalSize, _ as OrModalV3 } from '../OrModal-
|
|
55
|
-
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from '../OrNotification-
|
|
54
|
+
export { M as ModalSize, _ as OrModalV3 } from '../OrModal-d845da2d.js';
|
|
55
|
+
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from '../OrNotification-209972e7.js';
|
|
56
56
|
export { N as NotificationVariant, _ as OrNotificationV3 } from '../OrNotification-e102f0d7.js';
|
|
57
57
|
export { _ as OrNumberInput } from '../OrNumberInput-6b183931.js';
|
|
58
58
|
export { _ as OrOverflowMenu } from '../OrOverflowMenu-36eb66df.js';
|
|
@@ -73,7 +73,7 @@ export { _ as OrSelectV3 } from '../OrSelect-752bdd3b.js';
|
|
|
73
73
|
export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-9e7fe79c.js';
|
|
74
74
|
export { _ as OrSidebarV3 } from '../OrSidebar-5ddf0e24.js';
|
|
75
75
|
export { O as OrSidebarPlacement } from '../OrSidebarCollapseButton-d6ebc2aa.js';
|
|
76
|
-
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-
|
|
76
|
+
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-1bf08dbc.js';
|
|
77
77
|
export { _ as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from '../OrSkeletonText-9a2f39dc.js';
|
|
78
78
|
export { _ as OrSlider } from '../OrSlider-e1408560.js';
|
|
79
79
|
export { _ as OrSortHeaderV3 } from '../OrSortHeader-b1b961fc.js';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Extension } from '@codemirror/state';
|
|
2
|
+
import { HighlightStyle } from '@codemirror/language';
|
|
3
|
+
export declare const color: {
|
|
4
|
+
chalky: string;
|
|
5
|
+
coral: string;
|
|
6
|
+
cyan: string;
|
|
7
|
+
invalid: string;
|
|
8
|
+
ivory: string;
|
|
9
|
+
stone: string;
|
|
10
|
+
malibu: string;
|
|
11
|
+
sage: string;
|
|
12
|
+
whiskey: string;
|
|
13
|
+
violet: string;
|
|
14
|
+
darkBackground: string;
|
|
15
|
+
highlightBackground: string;
|
|
16
|
+
background: string;
|
|
17
|
+
tooltipBackground: string;
|
|
18
|
+
selection: string;
|
|
19
|
+
cursor: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const orCodeTheme: Extension;
|
|
22
|
+
export declare const orCodeHighlightStyle: HighlightStyle;
|
|
23
|
+
declare const theme: Extension;
|
|
24
|
+
export default theme;
|
|
@@ -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-209972e7.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-1bf08dbc.js';
|
|
2
2
|
import '../../index-fa6eb4ca.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|