@deot/docs-playground 1.0.7 → 1.0.8

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/index.cjs CHANGED
@@ -114,25 +114,37 @@ var PLAYGROUND_ICON_PATHS = {
114
114
  };
115
115
  //#endregion
116
116
  //#region packages/playground/src/icon/icon.vue?vue&type=script&setup=true&lang.ts
117
- var _hoisted_1$5 = {
118
- class: "docs-playground-icon",
119
- viewBox: "0 0 24 24",
120
- fill: "none",
121
- stroke: "currentColor",
122
- "stroke-width": "1.8",
123
- "stroke-linecap": "round",
124
- "stroke-linejoin": "round",
125
- "aria-hidden": "true"
126
- };
127
- var _hoisted_2$4 = ["d"];
117
+ var _hoisted_1$5 = ["d"];
128
118
  //#endregion
129
119
  //#region packages/playground/src/icon/icon.vue
130
120
  var icon_default = /* @__PURE__ */ (0, vue.defineComponent)({
131
121
  __name: "icon",
132
- props: { name: {} },
122
+ props: {
123
+ name: {},
124
+ size: {}
125
+ },
133
126
  setup(__props) {
127
+ const props = __props;
128
+ const sizeStyle = (0, vue.computed)(() => {
129
+ if (props.size == null) return;
130
+ const value = typeof props.size === "number" ? `${props.size}px` : props.size;
131
+ return {
132
+ width: value,
133
+ height: value
134
+ };
135
+ });
134
136
  return (_ctx, _cache) => {
135
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$5, [(0, vue.createElementVNode)("path", { d: (0, vue.unref)(PLAYGROUND_ICON_PATHS)[__props.name] }, null, 8, _hoisted_2$4)]);
137
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("svg", {
138
+ class: "docs-playground-icon",
139
+ viewBox: "0 0 24 24",
140
+ style: (0, vue.normalizeStyle)(sizeStyle.value),
141
+ fill: "none",
142
+ stroke: "currentColor",
143
+ "stroke-width": "1.8",
144
+ "stroke-linecap": "round",
145
+ "stroke-linejoin": "round",
146
+ "aria-hidden": "true"
147
+ }, [(0, vue.createElementVNode)("path", { d: (0, vue.unref)(PLAYGROUND_ICON_PATHS)[__props.name] }, null, 8, _hoisted_1$5)], 4);
136
148
  };
137
149
  }
138
150
  });
@@ -692,7 +704,10 @@ var editor_default = /* @__PURE__ */ (0, vue.defineComponent)({
692
704
  ref_key: "bar",
693
705
  ref: bar,
694
706
  class: "docs-playground-editor__header"
695
- }, [_cache[3] || (_cache[3] = (0, vue.createElementVNode)("span", null, "</>", -1)), (0, vue.createElementVNode)("span", {
707
+ }, [(0, vue.createVNode)((0, vue.unref)(icon_default), {
708
+ name: "editor",
709
+ size: 24
710
+ }), (0, vue.createElementVNode)("span", {
696
711
  title: (0, vue.unref)(t)("playground.common.close"),
697
712
  style: { "cursor": "pointer" },
698
713
  onClick: handleHide
@@ -1532,6 +1547,7 @@ var runtime_default = /* @__PURE__ */ (0, vue.defineComponent)({
1532
1547
  views: { default: () => ["runtime"] },
1533
1548
  activeView: { default: "runtime" },
1534
1549
  options: {},
1550
+ previewInset: { default: 10 },
1535
1551
  previewOptions: {},
1536
1552
  styleless: {
1537
1553
  type: Boolean,
@@ -1594,7 +1610,19 @@ var runtime_default = /* @__PURE__ */ (0, vue.defineComponent)({
1594
1610
  const viewportMenuVisible = (0, vue.ref)(false);
1595
1611
  const viewportLabel = (0, vue.computed)(() => formatViewportLabel(props.viewport, t("playground.runtime.auto")));
1596
1612
  const desiredViewportHeight = (0, vue.computed)(() => getViewportHeight(props.viewport) || runtimeHeight.value);
1597
- const previewStyle = (0, vue.computed)(() => ({ height: `${desiredViewportHeight.value + 20}px` }));
1613
+ const normalizedPreviewInset = (0, vue.computed)(() => {
1614
+ const value = props.previewInset;
1615
+ if (typeof value === "number") return Number.isFinite(value) && value >= 0 ? [value, value] : [10, 10];
1616
+ if (Array.isArray(value) && value.length === 2 && value.every((item) => typeof item === "number" && Number.isFinite(item) && item >= 0)) return [value[0], value[1]];
1617
+ return [10, 10];
1618
+ });
1619
+ const previewStyle = (0, vue.computed)(() => {
1620
+ const [vertical, horizontal] = normalizedPreviewInset.value;
1621
+ return {
1622
+ height: `${desiredViewportHeight.value + vertical * 2}px`,
1623
+ padding: vertical === horizontal ? `${vertical}px` : `${vertical}px ${horizontal}px`
1624
+ };
1625
+ });
1598
1626
  const stylelessStyle = (0, vue.computed)(() => errorText.value ? void 0 : { height: `${desiredViewportHeight.value}px` });
1599
1627
  const viewportStyle = (0, vue.computed)(() => {
1600
1628
  const width = getViewportWidth(props.viewport);
@@ -1801,6 +1829,7 @@ var playground_default = /* @__PURE__ */ (0, vue.defineComponent)({
1801
1829
  default: false
1802
1830
  },
1803
1831
  options: { default: () => ({}) },
1832
+ previewInset: { default: 0 },
1804
1833
  previewOptions: {},
1805
1834
  locale: {}
1806
1835
  },
@@ -1933,6 +1962,7 @@ var playground_default = /* @__PURE__ */ (0, vue.defineComponent)({
1933
1962
  entry: currentEntry.value,
1934
1963
  options: __props.options,
1935
1964
  "preview-options": __props.previewOptions,
1965
+ "preview-inset": __props.previewInset,
1936
1966
  styleless: true,
1937
1967
  viewport: activeViewport.value,
1938
1968
  "viewport-options": selectableViewportOptions.value,
@@ -1944,6 +1974,7 @@ var playground_default = /* @__PURE__ */ (0, vue.defineComponent)({
1944
1974
  "entry",
1945
1975
  "options",
1946
1976
  "preview-options",
1977
+ "preview-inset",
1947
1978
  "viewport",
1948
1979
  "viewport-options"
1949
1980
  ])) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
@@ -1957,6 +1988,7 @@ var playground_default = /* @__PURE__ */ (0, vue.defineComponent)({
1957
1988
  entry: currentEntry.value,
1958
1989
  options: __props.options,
1959
1990
  "preview-options": __props.previewOptions,
1991
+ "preview-inset": __props.previewInset,
1960
1992
  "active-view": activeView.value,
1961
1993
  views: normalizedViews.value,
1962
1994
  viewport: activeViewport.value,
@@ -1970,6 +2002,7 @@ var playground_default = /* @__PURE__ */ (0, vue.defineComponent)({
1970
2002
  "entry",
1971
2003
  "options",
1972
2004
  "preview-options",
2005
+ "preview-inset",
1973
2006
  "active-view",
1974
2007
  "views",
1975
2008
  "viewport",
package/dist/index.d.ts CHANGED
@@ -36,6 +36,7 @@ entry: string;
36
36
  views: readonly string[];
37
37
  modelValue: string;
38
38
  options: PlaygroundOptions;
39
+ previewInset: PlaygroundPreviewInset;
39
40
  styleless: boolean;
40
41
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
41
42
 
@@ -56,6 +57,7 @@ declare type __VLS_Props_2 = {
56
57
  viewportOptions?: readonly unknown[];
57
58
  styleless?: boolean;
58
59
  options?: PlaygroundOptions;
60
+ previewInset?: PlaygroundPreviewInset;
59
61
  previewOptions?: PlaygroundPreviewOptions;
60
62
  locale?: Language;
61
63
  };
@@ -166,6 +168,8 @@ export declare type PlaygroundOptions = Omit<Partial<StoreState>, 'builtinImport
166
168
  builtinImportMap?: ImportMap;
167
169
  };
168
170
 
171
+ export declare type PlaygroundPreviewInset = number | [vertical: number, horizontal: number];
172
+
169
173
  export declare type PlaygroundPreviewOptions = SandboxProps['previewOptions'];
170
174
 
171
175
  export declare type PlaygroundView = 'runtime' | 'files';
package/dist/index.js CHANGED
@@ -90,25 +90,37 @@ var PLAYGROUND_ICON_PATHS = {
90
90
  };
91
91
  //#endregion
92
92
  //#region packages/playground/src/icon/icon.vue?vue&type=script&setup=true&lang.ts
93
- var _hoisted_1$5 = {
94
- class: "docs-playground-icon",
95
- viewBox: "0 0 24 24",
96
- fill: "none",
97
- stroke: "currentColor",
98
- "stroke-width": "1.8",
99
- "stroke-linecap": "round",
100
- "stroke-linejoin": "round",
101
- "aria-hidden": "true"
102
- };
103
- var _hoisted_2$4 = ["d"];
93
+ var _hoisted_1$5 = ["d"];
104
94
  //#endregion
105
95
  //#region packages/playground/src/icon/icon.vue
106
96
  var icon_default = /* @__PURE__ */ defineComponent({
107
97
  __name: "icon",
108
- props: { name: {} },
98
+ props: {
99
+ name: {},
100
+ size: {}
101
+ },
109
102
  setup(__props) {
103
+ const props = __props;
104
+ const sizeStyle = computed(() => {
105
+ if (props.size == null) return;
106
+ const value = typeof props.size === "number" ? `${props.size}px` : props.size;
107
+ return {
108
+ width: value,
109
+ height: value
110
+ };
111
+ });
110
112
  return (_ctx, _cache) => {
111
- return openBlock(), createElementBlock("svg", _hoisted_1$5, [createElementVNode("path", { d: unref(PLAYGROUND_ICON_PATHS)[__props.name] }, null, 8, _hoisted_2$4)]);
113
+ return openBlock(), createElementBlock("svg", {
114
+ class: "docs-playground-icon",
115
+ viewBox: "0 0 24 24",
116
+ style: normalizeStyle(sizeStyle.value),
117
+ fill: "none",
118
+ stroke: "currentColor",
119
+ "stroke-width": "1.8",
120
+ "stroke-linecap": "round",
121
+ "stroke-linejoin": "round",
122
+ "aria-hidden": "true"
123
+ }, [createElementVNode("path", { d: unref(PLAYGROUND_ICON_PATHS)[__props.name] }, null, 8, _hoisted_1$5)], 4);
112
124
  };
113
125
  }
114
126
  });
@@ -668,7 +680,10 @@ var Editor = new Portal(/* @__PURE__ */ defineComponent({
668
680
  ref_key: "bar",
669
681
  ref: bar,
670
682
  class: "docs-playground-editor__header"
671
- }, [_cache[3] || (_cache[3] = createElementVNode("span", null, "</>", -1)), createElementVNode("span", {
683
+ }, [createVNode(unref(icon_default), {
684
+ name: "editor",
685
+ size: 24
686
+ }), createElementVNode("span", {
672
687
  title: unref(t)("playground.common.close"),
673
688
  style: { "cursor": "pointer" },
674
689
  onClick: handleHide
@@ -1505,6 +1520,7 @@ var runtime_default = /* @__PURE__ */ defineComponent({
1505
1520
  views: { default: () => ["runtime"] },
1506
1521
  activeView: { default: "runtime" },
1507
1522
  options: {},
1523
+ previewInset: { default: 10 },
1508
1524
  previewOptions: {},
1509
1525
  styleless: {
1510
1526
  type: Boolean,
@@ -1567,7 +1583,19 @@ var runtime_default = /* @__PURE__ */ defineComponent({
1567
1583
  const viewportMenuVisible = ref(false);
1568
1584
  const viewportLabel = computed(() => formatViewportLabel(props.viewport, t("playground.runtime.auto")));
1569
1585
  const desiredViewportHeight = computed(() => getViewportHeight(props.viewport) || runtimeHeight.value);
1570
- const previewStyle = computed(() => ({ height: `${desiredViewportHeight.value + 20}px` }));
1586
+ const normalizedPreviewInset = computed(() => {
1587
+ const value = props.previewInset;
1588
+ if (typeof value === "number") return Number.isFinite(value) && value >= 0 ? [value, value] : [10, 10];
1589
+ if (Array.isArray(value) && value.length === 2 && value.every((item) => typeof item === "number" && Number.isFinite(item) && item >= 0)) return [value[0], value[1]];
1590
+ return [10, 10];
1591
+ });
1592
+ const previewStyle = computed(() => {
1593
+ const [vertical, horizontal] = normalizedPreviewInset.value;
1594
+ return {
1595
+ height: `${desiredViewportHeight.value + vertical * 2}px`,
1596
+ padding: vertical === horizontal ? `${vertical}px` : `${vertical}px ${horizontal}px`
1597
+ };
1598
+ });
1571
1599
  const stylelessStyle = computed(() => errorText.value ? void 0 : { height: `${desiredViewportHeight.value}px` });
1572
1600
  const viewportStyle = computed(() => {
1573
1601
  const width = getViewportWidth(props.viewport);
@@ -1774,6 +1802,7 @@ var playground_default = /* @__PURE__ */ defineComponent({
1774
1802
  default: false
1775
1803
  },
1776
1804
  options: { default: () => ({}) },
1805
+ previewInset: { default: 0 },
1777
1806
  previewOptions: {},
1778
1807
  locale: {}
1779
1808
  },
@@ -1906,6 +1935,7 @@ var playground_default = /* @__PURE__ */ defineComponent({
1906
1935
  entry: currentEntry.value,
1907
1936
  options: __props.options,
1908
1937
  "preview-options": __props.previewOptions,
1938
+ "preview-inset": __props.previewInset,
1909
1939
  styleless: true,
1910
1940
  viewport: activeViewport.value,
1911
1941
  "viewport-options": selectableViewportOptions.value,
@@ -1917,6 +1947,7 @@ var playground_default = /* @__PURE__ */ defineComponent({
1917
1947
  "entry",
1918
1948
  "options",
1919
1949
  "preview-options",
1950
+ "preview-inset",
1920
1951
  "viewport",
1921
1952
  "viewport-options"
1922
1953
  ])) : (openBlock(), createElementBlock("div", {
@@ -1930,6 +1961,7 @@ var playground_default = /* @__PURE__ */ defineComponent({
1930
1961
  entry: currentEntry.value,
1931
1962
  options: __props.options,
1932
1963
  "preview-options": __props.previewOptions,
1964
+ "preview-inset": __props.previewInset,
1933
1965
  "active-view": activeView.value,
1934
1966
  views: normalizedViews.value,
1935
1967
  viewport: activeViewport.value,
@@ -1943,6 +1975,7 @@ var playground_default = /* @__PURE__ */ defineComponent({
1943
1975
  "entry",
1944
1976
  "options",
1945
1977
  "preview-options",
1978
+ "preview-inset",
1946
1979
  "active-view",
1947
1980
  "views",
1948
1981
  "viewport",
@@ -1 +1 @@
1
- .docs-playground-icon{display:block;width:18px;height:18px}.docs-playground-files{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:100%;max-height:100%;min-height:0;overflow:hidden;background:var(--docs-background-color-soft,var(--vc-background-color,#f7f8fa));-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.docs-playground-files__toolbar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-shadow:inset 0 -1px var(--docs-border-color,var(--vc-color-light-deeper,#dedede));box-shadow:inset 0 -1px var(--docs-border-color,var(--vc-color-light-deeper,#dedede));-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-flex:0;-webkit-flex:0 0 44px;-ms-flex:0 0 44px;flex:0 0 44px}.docs-playground-files__scroller{width:0;height:44px;min-width:0;overflow:hidden;background:var(--docs-background-color-soft,var(--vc-background-color,#f7f8fa));-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.docs-playground-files__scroller .vc-scroller__wrapper{height:44px;overflow-y:hidden!important;scrollbar-width:none}.docs-playground-files__scroller .vc-scroller__wrapper::-webkit-scrollbar{display:none}.docs-playground-files__scroller .vc-scroller-track.is-y{display:none!important}.docs-playground-files__tabs{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;height:44px;min-width:100%;padding:0 10px;-webkit-box-sizing:border-box;box-sizing:border-box;gap:4px}.docs-playground-files__tab{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;height:44px;padding:0 14px;font:inherit;font-size:15px;line-height:44px;color:var(--docs-foreground-color-light,var(--vc-color-dark-lighter,#52525b));white-space:nowrap;cursor:pointer;background:transparent;border:0;-webkit-box-sizing:border-box;box-sizing:border-box;gap:5px;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.docs-playground-files__tab.is-active{color:var(--docs-foreground-color,var(--vc-foreground-color,#18181b))}.docs-playground-files__tab.is-active:after{position:absolute;right:8px;bottom:0;left:8px;height:3px;background:#5495f6;border-radius:2px 2px 0 0;content:""}.docs-playground-files__entry{font-size:10px;line-height:16px;color:var(--docs-foreground-color-mute,var(--vc-color-dark-extralight,#71717a))}.docs-playground-files__actions{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:44px;background:var(--docs-background-color-soft,var(--vc-background-color,#f7f8fa));-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.docs-playground-files__body{min-height:0;border-radius:0;-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.docs-playground__views--files{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:44px;padding:0 12px;-webkit-box-sizing:border-box;box-sizing:border-box;gap:4px;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.docs-playground__view{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:28px;height:28px;padding:0;font:inherit;color:var(--docs-foreground-color-mute,var(--vc-color-dark-lightest,#64748b));cursor:pointer;background:transparent;border:0;border-radius:8px;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.docs-playground__view.is-active{color:#fff;background:#2563eb}.docs-playground-editor button{padding:3px 7px;color:var(--docs-foreground-color-light,var(--vc-color-dark-lighter));white-space:nowrap;cursor:pointer;background:var(--docs-background-color,var(--vc-background-color-light));border:1px solid var(--docs-border-color,var(--vc-color-light-deeper));border-radius:8px}.docs-playground-editor button:disabled{cursor:not-allowed;opacity:.5}.docs-playground-editor__wrapper{position:fixed;right:10px;bottom:10px;z-index:1001;width:680px;font-size:13px;color:var(--docs-foreground-color-light,var(--vc-color-dark-lighter));background:var(--docs-background-color,var(--vc-background-color-light));border-radius:8px;opacity:1;-webkit-box-shadow:0 0 50px rgba(0,0,0,.2);box-shadow:0 0 50px rgba(0,0,0,.2)}.docs-playground-editor__header{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:10px;font-size:20px;line-height:20px;cursor:move;background:var(--docs-background-color-soft,var(--vc-background-color))!important;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.docs-playground-editor__files{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;min-width:0;padding:6px 8px;overflow:hidden;background:var(--docs-background-color-soft,var(--vc-background-color));border-top:1px solid var(--docs-border-color,var(--vc-color-light-deeper));border-bottom:1px solid var(--docs-border-color,var(--vc-color-light-deeper));-webkit-box-sizing:border-box;box-sizing:border-box;gap:8px;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.docs-playground-editor__actions{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;gap:4px}.docs-playground-editor__scroller{width:0;min-width:0;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1 1;-ms-flex:1 1;flex:1 1}.docs-playground-editor__scroller .vc-scroller__wrapper{scrollbar-width:none}.docs-playground-editor__scroller .vc-scroller__wrapper::-webkit-scrollbar{display:none}.docs-playground-editor__tabs{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;min-width:100%;padding:6px 6px 0 0;-webkit-box-sizing:border-box;box-sizing:border-box;gap:8px}.docs-playground-editor__tab{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;height:26px;padding:3px 12px 3px 7px;line-height:18px;white-space:nowrap;cursor:pointer;background:var(--docs-background-color,var(--vc-background-color-light));border:1px solid var(--docs-border-color,var(--vc-color-light-deeper));border-radius:8px;-webkit-box-sizing:border-box;box-sizing:border-box;gap:5px;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.docs-playground-editor__tab.is-active{color:#fff;background:#2563eb;border-color:#2563eb}.docs-playground-editor__filename{width:100px;height:18px;padding:0 3px;font:inherit;line-height:16px;color:var(--docs-foreground-color-light,var(--vc-color-dark-lighter));background:var(--docs-background-color,var(--vc-background-color-light));border:1px solid var(--docs-border-color,var(--vc-color-light-deeper));-webkit-box-sizing:border-box;box-sizing:border-box}.docs-playground-editor__close{position:absolute;top:-6px;right:-6px;z-index:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:14px;height:14px;padding:0;font-size:0;line-height:0;color:#fff;background-color:#5495f6!important;border:0;border-radius:7px;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.docs-playground-editor__close:after,.docs-playground-editor__close:before{position:absolute;top:50%;left:50%;width:8px;height:1px;background-color:currentcolor;content:""}.docs-playground-editor__close:before{-webkit-transform:translate(-50%,-50%) rotate(45deg);-ms-transform:translate(-50%,-50%) rotate(45deg);transform:translate(-50%,-50%) rotate(45deg)}.docs-playground-editor__close:after{-webkit-transform:translate(-50%,-50%) rotate(-45deg);-ms-transform:translate(-50%,-50%) rotate(-45deg);transform:translate(-50%,-50%) rotate(-45deg)}.docs-playground-editor__delete{position:static!important}.docs-playground-editor__error{padding:5px 10px;color:var(--vc-color-error,#b91c1c);white-space:pre-wrap;background:var(--docs-error-background,#fef2f2)}.docs-playground-editor__editor{min-height:240px;padding:1px;background:var(--docs-code-background,var(--vc-background-color))!important}.docs-playground-runtime{-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.docs-playground-runtime,.docs-playground-runtime--styleless{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;min-height:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.docs-playground-runtime--styleless{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.docs-playground-runtime--styleless .docs-playground__runtime-error{-webkit-align-self:stretch;-ms-flex-item-align:stretch;align-self:stretch}.docs-playground-runtime__viewport-stage{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;height:100%;min-width:0;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.docs-playground-runtime__viewport{position:relative;height:100%;min-width:0;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-flex:0;-webkit-flex:0 1 auto;-ms-flex:0 1 auto;flex:0 1 auto}.docs-playground__header{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:0 12px;background:var(--docs-background-color-soft,var(--vc-background-color,#f7f8fa))!important;-webkit-box-shadow:inset 0 -1px var(--docs-border-color,var(--vc-color-light-deeper,#edeff1));box-shadow:inset 0 -1px var(--docs-border-color,var(--vc-color-light-deeper,#edeff1));-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:0;-webkit-flex:0 0 44px;-ms-flex:0 0 44px;flex:0 0 44px}.docs-playground__views{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:4px}.docs-playground__view{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:28px;height:28px;padding:0;font:inherit;color:var(--docs-foreground-color-mute,var(--vc-color-dark-lightest,#64748b));cursor:pointer;background:transparent;border:0;border-radius:8px;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.docs-playground__view.is-active{color:var(--vc-color-light,#fff);background:#2563eb}.docs-playground__tools{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-right:4px;margin-left:auto;font-size:14px;line-height:20px;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.docs-playground__tool{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:28px;height:28px;padding:0;font:inherit;color:var(--docs-foreground-color-mute,var(--vc-color-dark-lightest,#64748b));cursor:pointer;background:transparent;border:0;border-radius:8px;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.docs-playground__tool.is-active,.docs-playground__tool:hover{color:#2563eb;background:var(--docs-primary-color-light,var(--vc-color-primary-lighter,#e8eef8))}.docs-playground__viewport-menu{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex}.docs-playground__viewport-trigger .docs-playground-icon{width:20px;height:20px}.docs-playground__viewport-options{min-width:136px}.docs-playground__viewport-option{white-space:nowrap}.docs-playground__editor .docs-playground-icon{width:22px;height:22px}.docs-playground__preview{min-height:0;padding:10px;overflow:hidden;background:var(--docs-background-color,var(--vc-background-color-light,#fff));-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.docs-playground__runtime-error{max-height:240px;padding:12px 16px;margin:0;overflow:auto;font:inherit;font-size:13px;line-height:1.6;color:var(--vc-color-error,#b91c1c);white-space:pre-wrap;background:var(--docs-error-background,#fef2f2);border-top:1px solid #f5c2c2;-webkit-box-sizing:border-box;box-sizing:border-box;overflow-wrap:anywhere}@media (prefers-color-scheme:light){:root{--docs-background-color:#fff;--docs-background-color-soft:#f7f8fa;--docs-background-color-mute:#f2f3f5;--docs-foreground-color:#17233d;--docs-foreground-color-light:#515a6e;--docs-foreground-color-mute:#808695;--docs-border-color:#e8eaec;--docs-border-color-light:#f0f1f2;--docs-primary-color:#873bf4;--docs-primary-color-light:#f2ebfe;--docs-link-color:#2d8cf0;--docs-mask-color:hsla(0,0%,100%,.72);--docs-shadow-color:rgba(0,0,0,.14);--docs-code-background:#f6f8fa;--docs-footer-background:#141313;--docs-footer-foreground:#999;--docs-tip-background:#f9f0ff;--docs-warning-background:#fff6f7;--docs-error-color:#ed4014;--docs-error-background:#fef2f2}}@media (prefers-color-scheme:dark){:root{--docs-background-color:#171b24;--docs-background-color-soft:#252b3a;--docs-background-color-mute:#303748;--docs-foreground-color:#f8f8f8;--docs-foreground-color-light:#d9d9d9;--docs-foreground-color-mute:#b9b9b9;--docs-border-color:#3b4355;--docs-border-color-light:#303748;--docs-primary-color:#873bf4;--docs-primary-color-light:#35244d;--docs-link-color:#6daeff;--docs-mask-color:rgba(10,13,18,.76);--docs-shadow-color:rgba(0,0,0,.45);--docs-code-background:#202630;--docs-footer-background:#0d0f14;--docs-footer-foreground:#999;--docs-tip-background:#30223f;--docs-warning-background:#3d2529;--docs-error-color:#ff6b6b;--docs-error-background:#41272b}}[data-doc-theme=light],[data-vc-theme=light]{--docs-background-color:#fff;--docs-background-color-soft:#f7f8fa;--docs-background-color-mute:#f2f3f5;--docs-foreground-color:#17233d;--docs-foreground-color-light:#515a6e;--docs-foreground-color-mute:#808695;--docs-border-color:#e8eaec;--docs-border-color-light:#f0f1f2;--docs-primary-color:#873bf4;--docs-primary-color-light:#f2ebfe;--docs-link-color:#2d8cf0;--docs-mask-color:hsla(0,0%,100%,.72);--docs-shadow-color:rgba(0,0,0,.14);--docs-code-background:#f6f8fa;--docs-footer-background:#141313;--docs-footer-foreground:#999;--docs-tip-background:#f9f0ff;--docs-warning-background:#fff6f7;--docs-error-color:#ed4014;--docs-error-background:#fef2f2}[data-doc-theme=dark],[data-vc-theme=dark]{--docs-background-color:#171b24;--docs-background-color-soft:#252b3a;--docs-background-color-mute:#303748;--docs-foreground-color:#f8f8f8;--docs-foreground-color-light:#d9d9d9;--docs-foreground-color-mute:#b9b9b9;--docs-border-color:#3b4355;--docs-border-color-light:#303748;--docs-primary-color:#873bf4;--docs-primary-color-light:#35244d;--docs-link-color:#6daeff;--docs-mask-color:rgba(10,13,18,.76);--docs-shadow-color:rgba(0,0,0,.45);--docs-code-background:#202630;--docs-footer-background:#0d0f14;--docs-footer-foreground:#999;--docs-tip-background:#30223f;--docs-warning-background:#3d2529;--docs-error-color:#ff6b6b;--docs-error-background:#41272b}.docs-playground{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;margin-bottom:16px;overflow:hidden;border-radius:8px;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.docs-playground--files{height:100%;min-height:0;overflow:hidden;background:var(--docs-code-background,var(--vc-background-color,#f6f8fa));-webkit-box-shadow:none;box-shadow:none}.docs-playground__error{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:100%;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}/*$vite$:1*/
1
+ .docs-playground-icon{display:block;width:18px;height:18px;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.docs-playground-files{height:100%;max-height:100%;min-height:0;-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.docs-playground-files,.docs-playground-files__toolbar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;background:var(--docs-background-color-soft,var(--vc-background-color,#f7f8fa))}.docs-playground-files__toolbar{border-bottom:1px solid var(--docs-border-color,var(--vc-color-light-deeper,#e5e7eb));-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-flex:0;-webkit-flex:0 0 44px;-ms-flex:0 0 44px;flex:0 0 44px}.docs-playground-files__scroller{width:0;height:44px;min-width:0;overflow:hidden;background:var(--docs-background-color-soft,var(--vc-background-color,#f7f8fa));-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.docs-playground-files__scroller .vc-scroller__wrapper{height:44px;overflow-y:hidden!important;scrollbar-width:none}.docs-playground-files__scroller .vc-scroller__wrapper::-webkit-scrollbar{display:none}.docs-playground-files__scroller .vc-scroller-track.is-y{display:none!important}.docs-playground-files__tabs{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;height:44px;min-width:100%;padding:0 10px;-webkit-box-sizing:border-box;box-sizing:border-box;gap:4px}.docs-playground-files__tab{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;height:44px;padding:0 14px;font:inherit;font-size:15px;line-height:44px;color:var(--docs-foreground-color-light,var(--vc-color-dark-lighter,#52525b));white-space:nowrap;cursor:pointer;background:transparent;border:0;-webkit-box-sizing:border-box;box-sizing:border-box;gap:5px;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.docs-playground-files__tab.is-active{color:var(--docs-foreground-color,var(--vc-foreground-color,#18181b))}.docs-playground-files__tab.is-active:after{position:absolute;right:8px;bottom:0;left:8px;height:3px;background:var(--docs-primary-color,var(--vc-color-primary,#5495f6));border-radius:2px 2px 0 0;content:""}.docs-playground-files__entry{font-size:10px;line-height:16px;color:var(--docs-foreground-color-mute,var(--vc-color-dark-extralight,#71717a))}.docs-playground-files__actions{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:44px;background:var(--docs-background-color-soft,var(--vc-background-color,#f7f8fa));-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.docs-playground-files__body{min-height:0;border-radius:0;-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.docs-playground__views--files{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:28px;padding:0 12px 0 8px;margin-left:4px;border-left:1px solid var(--docs-border-color,var(--vc-color-light-deeper,#e5e7eb));-webkit-box-sizing:border-box;box-sizing:border-box;gap:4px;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.docs-playground__view{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:28px;height:28px;padding:0;font:inherit;color:var(--docs-foreground-color-mute,var(--vc-color-dark-lightest,#64748b));cursor:pointer;background:transparent;border:0;border-radius:8px;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-transition:color .15s ease,background-color .15s ease;transition:color .15s ease,background-color .15s ease}.docs-playground__view .docs-playground-icon{width:18px;height:18px}.docs-playground__view:hover{color:var(--docs-primary-color,var(--vc-color-primary,#2563eb));background:var(--docs-primary-color-light,var(--vc-color-primary-lighter,#e8eef8))}.docs-playground__view:focus-visible{outline:2px solid var(--docs-primary-color,var(--vc-color-primary,#2563eb));outline-offset:1px}.docs-playground__view.is-active{color:var(--docs-primary-color,var(--vc-color-primary,#2563eb));background:var(--docs-primary-color-light,var(--vc-color-primary-lighter,#e8eef8))}.docs-playground-editor button{padding:3px 7px;color:var(--docs-foreground-color-light,var(--vc-color-dark-lighter));white-space:nowrap;cursor:pointer;background:var(--docs-background-color,var(--vc-background-color-light));border:1px solid var(--docs-border-color,var(--vc-color-light-deeper));border-radius:8px}.docs-playground-editor button:disabled{cursor:not-allowed;opacity:.5}.docs-playground-editor__wrapper{position:fixed;right:10px;bottom:10px;z-index:1001;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:680px;max-height:calc(100vh - 20px);overflow:hidden;font-size:13px;color:var(--docs-foreground-color-light,var(--vc-color-dark-lighter));background:var(--docs-background-color,var(--vc-background-color-light));border-radius:8px;opacity:1;-webkit-box-shadow:0 0 50px rgba(0,0,0,.2);box-shadow:0 0 50px rgba(0,0,0,.2);-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.docs-playground-editor__header{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:10px;font-size:20px;line-height:20px;cursor:move;background:var(--docs-background-color-soft,var(--vc-background-color))!important;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.docs-playground-editor__files{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;min-width:0;padding:6px 8px;overflow:hidden;background:var(--docs-background-color-soft,var(--vc-background-color));border-top:1px solid var(--docs-border-color,var(--vc-color-light-deeper));border-bottom:1px solid var(--docs-border-color,var(--vc-color-light-deeper));-webkit-box-sizing:border-box;box-sizing:border-box;gap:8px;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.docs-playground-editor__actions{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;gap:4px}.docs-playground-editor__scroller{width:0;min-width:0;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1 1;-ms-flex:1 1;flex:1 1}.docs-playground-editor__scroller .vc-scroller__wrapper{scrollbar-width:none}.docs-playground-editor__scroller .vc-scroller__wrapper::-webkit-scrollbar{display:none}.docs-playground-editor__tabs{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;min-width:100%;padding:6px 6px 0 0;-webkit-box-sizing:border-box;box-sizing:border-box;gap:8px}.docs-playground-editor__tab{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;height:26px;padding:3px 12px 3px 7px;line-height:18px;white-space:nowrap;cursor:pointer;background:var(--docs-background-color,var(--vc-background-color-light));border:1px solid var(--docs-border-color,var(--vc-color-light-deeper));border-radius:8px;-webkit-box-sizing:border-box;box-sizing:border-box;gap:5px;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.docs-playground-editor__tab.is-active{color:#fff;background:#2563eb;border-color:#2563eb}.docs-playground-editor__filename{width:100px;height:18px;padding:0 3px;font:inherit;line-height:16px;color:var(--docs-foreground-color-light,var(--vc-color-dark-lighter));background:var(--docs-background-color,var(--vc-background-color-light));border:1px solid var(--docs-border-color,var(--vc-color-light-deeper));-webkit-box-sizing:border-box;box-sizing:border-box}.docs-playground-editor__close{position:absolute;top:-6px;right:-6px;z-index:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:14px;height:14px;padding:0;font-size:0;line-height:0;color:#fff;background-color:#5495f6!important;border:0;border-radius:7px;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.docs-playground-editor__close:after,.docs-playground-editor__close:before{position:absolute;top:50%;left:50%;width:8px;height:1px;background-color:currentcolor;content:""}.docs-playground-editor__close:before{-webkit-transform:translate(-50%,-50%) rotate(45deg);-ms-transform:translate(-50%,-50%) rotate(45deg);transform:translate(-50%,-50%) rotate(45deg)}.docs-playground-editor__close:after{-webkit-transform:translate(-50%,-50%) rotate(-45deg);-ms-transform:translate(-50%,-50%) rotate(-45deg);transform:translate(-50%,-50%) rotate(-45deg)}.docs-playground-editor__delete{position:static!important}.docs-playground-editor__error{max-height:min(160px,25vh);padding:5px 10px;overflow:auto;color:var(--vc-color-error,#b91c1c);white-space:pre-wrap;overflow-wrap:anywhere;background:var(--docs-error-background,#fef2f2);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-flex:0;-webkit-flex:0 1 auto;-ms-flex:0 1 auto;flex:0 1 auto}.docs-playground-editor__editor{min-height:240px;padding:1px;overflow:hidden;background:var(--docs-code-background,var(--vc-background-color))!important;-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.docs-playground-editor__editor .cm-editor{height:100%}.docs-playground-editor__editor .cm-scroller{overflow:auto}.docs-playground-runtime{-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.docs-playground-runtime,.docs-playground-runtime--styleless{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;min-height:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.docs-playground-runtime--styleless{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.docs-playground-runtime--styleless .docs-playground__runtime-error{-webkit-align-self:stretch;-ms-flex-item-align:stretch;align-self:stretch}.docs-playground-runtime__viewport-stage{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;height:100%;min-width:0;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.docs-playground-runtime__viewport{position:relative;height:100%;min-width:0;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-flex:0;-webkit-flex:0 1 auto;-ms-flex:0 1 auto;flex:0 1 auto}.docs-playground .iframe-container,.docs-playground .iframe-container iframe{width:100%;height:100%}.docs-playground .iframe-container iframe{display:block;border:0}.docs-playground__header{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:0 12px;background:var(--docs-background-color-soft,var(--vc-background-color,#f7f8fa))!important;border-bottom:1px solid var(--docs-border-color,var(--vc-color-light-deeper,#e5e7eb));-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:0;-webkit-flex:0 0 44px;-ms-flex:0 0 44px;flex:0 0 44px}.docs-playground__views{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding-left:8px;margin-left:4px;border-left:1px solid var(--docs-border-color,var(--vc-color-light-deeper,#e5e7eb));gap:4px}.docs-playground__view{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:28px;height:28px;padding:0;font:inherit;color:var(--docs-foreground-color-mute,var(--vc-color-dark-lightest,#64748b));cursor:pointer;background:transparent;border:0;border-radius:8px;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-transition:color .15s ease,background-color .15s ease;transition:color .15s ease,background-color .15s ease}.docs-playground__view:hover{color:var(--docs-primary-color,var(--vc-color-primary,#2563eb));background:var(--docs-primary-color-light,var(--vc-color-primary-lighter,#e8eef8))}.docs-playground__view:focus-visible{outline:2px solid var(--docs-primary-color,var(--vc-color-primary,#2563eb));outline-offset:1px}.docs-playground__view.is-active{color:var(--docs-primary-color,var(--vc-color-primary,#2563eb));background:var(--docs-primary-color-light,var(--vc-color-primary-lighter,#e8eef8))}.docs-playground__tools{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-left:auto;font-size:14px;line-height:20px;gap:2px;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.docs-playground__tool{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:28px;height:28px;padding:0;font:inherit;color:var(--docs-foreground-color-mute,var(--vc-color-dark-lightest,#64748b));cursor:pointer;background:transparent;border:0;border-radius:8px;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-transition:color .15s ease,background-color .15s ease;transition:color .15s ease,background-color .15s ease}.docs-playground__tool .docs-playground-icon{width:18px;height:18px}.docs-playground__tool:hover{color:var(--docs-primary-color,var(--vc-color-primary,#2563eb));background:var(--docs-primary-color-light,var(--vc-color-primary-lighter,#e8eef8))}.docs-playground__tool:focus-visible{outline:2px solid var(--docs-primary-color,var(--vc-color-primary,#2563eb));outline-offset:1px}.docs-playground__tool.is-active{color:var(--docs-primary-color,var(--vc-color-primary,#2563eb));background:var(--docs-primary-color-light,var(--vc-color-primary-lighter,#e8eef8))}.docs-playground__viewport-menu{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex}.docs-playground__viewport-trigger .docs-playground-icon{width:18px;height:18px}.docs-playground__viewport-options{min-width:136px}.docs-playground__viewport-option{white-space:nowrap}.docs-playground__editor .docs-playground-icon{width:18px;height:18px}.docs-playground__preview{min-height:0;overflow:hidden;background:var(--docs-background-color,var(--vc-background-color-light,#fff));-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto}.docs-playground__runtime-error{max-height:240px;padding:12px 16px;margin:0;overflow:auto;font:inherit;font-size:13px;line-height:1.6;color:var(--vc-color-error,#b91c1c);white-space:pre-wrap;background:var(--docs-error-background,#fef2f2);border-top:1px solid #f5c2c2;-webkit-box-sizing:border-box;box-sizing:border-box;overflow-wrap:anywhere}@media (prefers-color-scheme:light){:root{--docs-background-color:#fff;--docs-background-color-soft:#f7f8fa;--docs-background-color-mute:#f2f3f5;--docs-foreground-color:#17233d;--docs-foreground-color-light:#515a6e;--docs-foreground-color-mute:#808695;--docs-border-color:#e8eaec;--docs-border-color-light:#f0f1f2;--docs-primary-color:#873bf4;--docs-primary-color-light:#f2ebfe;--docs-link-color:#2d8cf0;--docs-mask-color:hsla(0,0%,100%,.72);--docs-shadow-color:rgba(0,0,0,.14);--docs-code-background:#f6f8fa;--docs-footer-background:#141313;--docs-footer-foreground:#999;--docs-tip-background:#f9f0ff;--docs-warning-background:#fff6f7;--docs-error-color:#ed4014;--docs-error-background:#fef2f2}}@media (prefers-color-scheme:dark){:root{--docs-background-color:#171b24;--docs-background-color-soft:#252b3a;--docs-background-color-mute:#303748;--docs-foreground-color:#f8f8f8;--docs-foreground-color-light:#d9d9d9;--docs-foreground-color-mute:#b9b9b9;--docs-border-color:#3b4355;--docs-border-color-light:#303748;--docs-primary-color:#873bf4;--docs-primary-color-light:#35244d;--docs-link-color:#6daeff;--docs-mask-color:rgba(10,13,18,.76);--docs-shadow-color:rgba(0,0,0,.45);--docs-code-background:#202630;--docs-footer-background:#0d0f14;--docs-footer-foreground:#999;--docs-tip-background:#30223f;--docs-warning-background:#3d2529;--docs-error-color:#ff6b6b;--docs-error-background:#41272b}}[data-doc-theme=light],[data-vc-theme=light]{--docs-background-color:#fff;--docs-background-color-soft:#f7f8fa;--docs-background-color-mute:#f2f3f5;--docs-foreground-color:#17233d;--docs-foreground-color-light:#515a6e;--docs-foreground-color-mute:#808695;--docs-border-color:#e8eaec;--docs-border-color-light:#f0f1f2;--docs-primary-color:#873bf4;--docs-primary-color-light:#f2ebfe;--docs-link-color:#2d8cf0;--docs-mask-color:hsla(0,0%,100%,.72);--docs-shadow-color:rgba(0,0,0,.14);--docs-code-background:#f6f8fa;--docs-footer-background:#141313;--docs-footer-foreground:#999;--docs-tip-background:#f9f0ff;--docs-warning-background:#fff6f7;--docs-error-color:#ed4014;--docs-error-background:#fef2f2}[data-doc-theme=dark],[data-vc-theme=dark]{--docs-background-color:#171b24;--docs-background-color-soft:#252b3a;--docs-background-color-mute:#303748;--docs-foreground-color:#f8f8f8;--docs-foreground-color-light:#d9d9d9;--docs-foreground-color-mute:#b9b9b9;--docs-border-color:#3b4355;--docs-border-color-light:#303748;--docs-primary-color:#873bf4;--docs-primary-color-light:#35244d;--docs-link-color:#6daeff;--docs-mask-color:rgba(10,13,18,.76);--docs-shadow-color:rgba(0,0,0,.45);--docs-code-background:#202630;--docs-footer-background:#0d0f14;--docs-footer-foreground:#999;--docs-tip-background:#30223f;--docs-warning-background:#3d2529;--docs-error-color:#ff6b6b;--docs-error-background:#41272b}.docs-playground{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;margin-bottom:16px;overflow:hidden;background:var(--docs-background-color,var(--vc-background-color-light,#fff));border-radius:8px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.02),0 3px 10px rgba(0,0,0,.03);box-shadow:0 1px 2px rgba(0,0,0,.02),0 3px 10px rgba(0,0,0,.03);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.docs-playground--files{height:100%;min-height:0;overflow:hidden;background:var(--docs-code-background,var(--vc-background-color,#f6f8fa))}.docs-playground__error{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:100%;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}/*$vite$:1*/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deot/docs-playground",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {