@histoire/app 0.17.16 → 0.17.17
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/App.vue2.js +1 -1
- package/dist/bundled/components/app/AppHeader.vue2.js +1 -1
- package/dist/bundled/components/app/AppLogo.vue2.js +1 -1
- package/dist/bundled/components/app/Breadcrumb.vue.js +1 -1
- package/dist/bundled/components/app/Breadcrumb.vue2.js +3 -3
- package/dist/bundled/components/app/HomeCounter.vue2.js +2 -7
- package/dist/bundled/components/base/BaseCheckbox.vue2.js +1 -2
- package/dist/bundled/components/base/BaseIcon.vue.js +1 -1
- package/dist/bundled/components/base/BaseIcon.vue2.js +1 -1
- package/dist/bundled/components/base/BaseOverflowMenu.vue2.js +4 -4
- package/dist/bundled/components/base/BaseSplitPane.vue.js +1 -1
- package/dist/bundled/components/base/BaseSplitPane.vue2.js +2 -3
- package/dist/bundled/components/panel/PaneTabs.vue2.js +1 -1
- package/dist/bundled/components/panel/StoryDocs.vue2.js +4 -4
- package/dist/bundled/components/panel/StorySourceCode.vue.js +1 -1
- package/dist/bundled/components/panel/StorySourceCode.vue2.js +1 -1
- package/dist/bundled/components/search/SearchItem.vue.js +1 -1
- package/dist/bundled/components/search/SearchItem.vue2.js +2 -2
- package/dist/bundled/components/search/SearchPane.vue2.js +2 -2
- package/dist/bundled/components/story/StoryResponsivePreview.vue.js +1 -1
- package/dist/bundled/components/story/StoryResponsivePreview.vue2.js +5 -5
- package/dist/bundled/components/story/StoryVariantGrid.vue2.js +4 -4
- package/dist/bundled/components/story/StoryVariantGridItem.vue.js +1 -1
- package/dist/bundled/components/story/StoryVariantGridItem.vue2.js +6 -7
- package/dist/bundled/components/story/StoryVariantListItem.vue.js +1 -1
- package/dist/bundled/components/story/StoryVariantListItem.vue2.js +3 -3
- package/dist/bundled/components/story/StoryVariantSingle.vue.js +1 -1
- package/dist/bundled/components/story/StoryVariantSingle.vue2.js +5 -5
- package/dist/bundled/components/story/StoryVariantSinglePreviewNative.vue2.js +1 -1
- package/dist/bundled/components/story/StoryVariantSinglePreviewRemote.vue2.js +1 -1
- package/dist/bundled/components/story/StoryView.vue2.js +1 -1
- package/dist/bundled/components/story/StoryViewer.vue.js +1 -1
- package/dist/bundled/components/story/StoryViewer.vue2.js +3 -3
- package/dist/bundled/components/tree/StoryGroup.vue2.js +2 -2
- package/dist/bundled/components/tree/StoryListFolder.vue.js +1 -1
- package/dist/bundled/components/tree/StoryListFolder.vue2.js +4 -4
- package/dist/bundled/components/tree/StoryListItem.vue.js +1 -1
- package/dist/bundled/components/tree/StoryListItem.vue2.js +5 -5
- package/dist/bundled/sandbox.js +1 -1
- package/dist/bundled/style.css +50 -50
- package/dist/bundled/util/commands.js +1 -1
- package/dist/bundled/util/state.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +7 -7
- package/scripts/copy.mjs +1 -1
- package/scripts/watchAndCopy.mjs +4 -4
- package/src/app/App.vue +6 -6
- package/src/app/api.ts +1 -1
- package/src/app/components/HomeView.vue +4 -3
- package/src/app/components/app/AppHeader.vue +1 -1
- package/src/app/components/app/AppLogo.vue +3 -3
- package/src/app/components/app/Breadcrumb.vue +4 -4
- package/src/app/components/app/HomeCounter.vue +1 -10
- package/src/app/components/app/MobileOverlay.vue +1 -1
- package/src/app/components/base/BaseCheckbox.vue +2 -3
- package/src/app/components/base/BaseIcon.vue +2 -2
- package/src/app/components/base/BaseKeyboardShortcut.vue +1 -1
- package/src/app/components/base/BaseListItem.vue +2 -2
- package/src/app/components/base/BaseListItemLink.vue +3 -3
- package/src/app/components/base/BaseOverflowMenu.vue +4 -4
- package/src/app/components/base/BaseSelect.vue +5 -4
- package/src/app/components/base/BaseSplitPane.vue +19 -15
- package/src/app/components/command/CommandPrompts.vue +6 -5
- package/src/app/components/command/CommandPromptsModal.vue +2 -1
- package/src/app/components/command/PromptSelect.vue +6 -4
- package/src/app/components/command/PromptText.vue +4 -3
- package/src/app/components/panel/ControlsComponentPropItem.vue +1 -1
- package/src/app/components/panel/ControlsComponentProps.vue +1 -1
- package/src/app/components/panel/ControlsComponentState.vue +1 -1
- package/src/app/components/panel/PaneTabs.vue +1 -1
- package/src/app/components/panel/StatePresets.vue +13 -10
- package/src/app/components/panel/StoryControls.vue +2 -2
- package/src/app/components/panel/StoryDocs.vue +28 -24
- package/src/app/components/panel/StoryEvent.vue +2 -2
- package/src/app/components/panel/StoryEvents.vue +2 -2
- package/src/app/components/panel/StorySourceCode.vue +10 -6
- package/src/app/components/search/SearchItem.vue +4 -3
- package/src/app/components/search/SearchItemContent.vue +3 -3
- package/src/app/components/search/SearchModal.vue +2 -1
- package/src/app/components/search/SearchPane.vue +18 -18
- package/src/app/components/search/search-docs-data.ts +2 -2
- package/src/app/components/search/search-title-data.ts +2 -2
- package/src/app/components/story/GenericMountStory.vue +1 -1
- package/src/app/components/story/GenericRenderStory.vue +3 -2
- package/src/app/components/story/StoryResponsivePreview.vue +14 -13
- package/src/app/components/story/StoryVariantGrid.vue +9 -8
- package/src/app/components/story/StoryVariantGridItem.vue +7 -7
- package/src/app/components/story/StoryVariantListItem.vue +3 -2
- package/src/app/components/story/StoryVariantSingle.vue +3 -3
- package/src/app/components/story/StoryVariantSinglePreviewNative.vue +2 -2
- package/src/app/components/story/StoryVariantSinglePreviewRemote.vue +10 -10
- package/src/app/components/story/StoryView.vue +4 -4
- package/src/app/components/story/StoryViewer.vue +2 -3
- package/src/app/components/toolbar/ToolbarNewTab.vue +1 -1
- package/src/app/components/tree/StoryGroup.vue +4 -4
- package/src/app/components/tree/StoryList.vue +1 -1
- package/src/app/components/tree/StoryListFolder.vue +4 -4
- package/src/app/components/tree/StoryListItem.vue +3 -3
- package/src/app/index.ts +2 -3
- package/src/app/plugin.ts +4 -3
- package/src/app/router.ts +2 -2
- package/src/app/sandbox.ts +12 -11
- package/src/app/stores/command.ts +4 -3
- package/src/app/stores/events.ts +4 -4
- package/src/app/stores/folder.ts +9 -7
- package/src/app/stores/story.ts +4 -4
- package/src/app/types.ts +2 -2
- package/src/app/util/commands.ts +5 -4
- package/src/app/util/dark.ts +2 -2
- package/src/app/util/docs.ts +6 -4
- package/src/app/util/events.ts +4 -3
- package/src/app/util/keyboard.ts +9 -8
- package/src/app/util/mapping.ts +8 -5
- package/src/app/util/open-in-editor.ts +1 -1
- package/src/app/util/preview-settings.ts +3 -3
- package/src/app/util/sandbox.ts +2 -3
- package/src/app/util/scroll.ts +5 -4
- package/src/app/util/select.ts +5 -4
- package/src/app/util/state.ts +6 -5
- package/src/app/util/tooltip.ts +2 -2
- package/src/app/util/variant.ts +3 -2
- package/src/shim.d.ts +0 -6
- package/src/virtual.d.ts +1 -0
- package/tailwind.config.cjs +19 -20
- package/tsconfig.json +26 -26
- package/vite.config.ts +7 -6
package/dist/bundled/App.vue2.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ref, computed, watch, onMounted, resolveComponent, openBlock, Fragment, unref, createBlock, createElementBlock, createCommentVNode, normalizeStyle, createVNode, createElementVNode, withCtx, Transition, defineComponent } from "@histoire/vendors/vue";
|
|
2
2
|
import { files, tree, onUpdate } from "virtual:$histoire-stories";
|
|
3
|
+
import { useTitle } from "@histoire/vendors/vue-use";
|
|
3
4
|
import "./components/tree/StoryList.vue.js";
|
|
4
5
|
import BaseSplitPane from "./components/base/BaseSplitPane.vue.js";
|
|
5
6
|
import "./components/app/AppHeader.vue.js";
|
|
6
7
|
import { useStoryStore } from "./stores/story.js";
|
|
7
8
|
import { mapFile } from "./util/mapping.js";
|
|
8
|
-
import { useTitle } from "@histoire/vendors/vue-use";
|
|
9
9
|
import { histoireConfig } from "./util/config.js";
|
|
10
10
|
import { onKeyboardShortcut } from "./util/keyboard.js";
|
|
11
11
|
import { isMobile } from "./util/responsive.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { computed, resolveDirective, openBlock, unref, createVNode, createElementVNode, createElementBlock, withDirectives, createCommentVNode, defineComponent } from "@histoire/vendors/vue";
|
|
2
2
|
import { Icon } from "@histoire/vendors/iconify";
|
|
3
|
-
import "./AppLogo.vue.js";
|
|
4
3
|
import { isDark, toggleDark } from "../../util/dark.js";
|
|
5
4
|
import { onKeyboardShortcut } from "../../util/keyboard.js";
|
|
6
5
|
import { makeTooltip } from "../../util/tooltip.js";
|
|
7
6
|
import { histoireConfig } from "../../util/config.js";
|
|
7
|
+
import "./AppLogo.vue.js";
|
|
8
8
|
import _sfc_main$1 from "./AppLogo.vue2.js";
|
|
9
9
|
"use strict";
|
|
10
10
|
const _hoisted_1 = { class: "histoire-app-header htw-px-4 htw-h-16 htw-flex htw-items-center htw-gap-2" };
|
|
@@ -15,7 +15,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
15
15
|
}
|
|
16
16
|
return ((_b = histoireConfig.theme.logo) == null ? void 0 : _b.light) ? customLogos.light : HistoireLogoLight;
|
|
17
17
|
});
|
|
18
|
-
const altText = computed(() => histoireConfig.theme.title
|
|
18
|
+
const altText = computed(() => `${histoireConfig.theme.title} logo`);
|
|
19
19
|
return (_ctx, _cache) => {
|
|
20
20
|
return openBlock(), createElementBlock("img", {
|
|
21
21
|
class: "histoire-app-logo",
|
|
@@ -2,7 +2,7 @@ import _sfc_main from "./Breadcrumb.vue2.js";
|
|
|
2
2
|
import "./Breadcrumb.vue3.js";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
"use strict";
|
|
5
|
-
const Breadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const Breadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b8625753"]]);
|
|
6
6
|
export {
|
|
7
7
|
Breadcrumb as default
|
|
8
8
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { pushScopeId, popScopeId, createElementVNode, useCssVars, computed, ref, watch, openBlock, Fragment, toDisplayString, createElementBlock, renderList, unref, normalizeClass, createVNode, createTextVNode, withCtx, defineComponent } from "@histoire/vendors/vue";
|
|
2
2
|
import { Icon } from "@histoire/vendors/iconify";
|
|
3
3
|
import { useStoryStore } from "../../stores/story.js";
|
|
4
|
-
import "./MobileOverlay.vue.js";
|
|
5
4
|
import "../tree/StoryList.vue.js";
|
|
5
|
+
import "./MobileOverlay.vue.js";
|
|
6
6
|
import _sfc_main$1 from "./MobileOverlay.vue2.js";
|
|
7
7
|
import _sfc_main$2 from "../tree/StoryList.vue2.js";
|
|
8
8
|
"use strict";
|
|
9
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
9
|
+
const _withScopeId = (n) => (pushScopeId("data-v-b8625753"), n = n(), popScopeId(), n);
|
|
10
10
|
const _hoisted_1 = { class: "histoire-breadcrumb" };
|
|
11
11
|
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "htw-opacity-40" }, " / ", -1));
|
|
12
12
|
const _hoisted_3 = { class: "htw-flex htw-items-center htw-gap-2" };
|
|
@@ -21,7 +21,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
21
|
useCssVars((_ctx) => {
|
|
22
22
|
var _a;
|
|
23
23
|
return {
|
|
24
|
-
"
|
|
24
|
+
"6509026e": (_a = story.value) == null ? void 0 : _a.iconColor
|
|
25
25
|
};
|
|
26
26
|
});
|
|
27
27
|
const storyStore = useStoryStore();
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
2
|
-
import { useTransition, syncRefs } from "@histoire/vendors/vue-use";
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, createVNode, unref, createElementVNode, toDisplayString } from "@histoire/vendors/vue";
|
|
3
2
|
import { Icon } from "@histoire/vendors/iconify";
|
|
4
3
|
"use strict";
|
|
5
4
|
const _hoisted_1 = { class: "htw-p-2 htw-flex htw-items-center htw-gap-x-2" };
|
|
@@ -24,10 +23,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24
23
|
},
|
|
25
24
|
setup(__props) {
|
|
26
25
|
const props = __props;
|
|
27
|
-
const { count } = toRefs(props);
|
|
28
|
-
const delayedCount = ref(0);
|
|
29
|
-
const animatedCount = useTransition(delayedCount, { delay: 100, duration: 700 });
|
|
30
|
-
syncRefs(count, delayedCount);
|
|
31
26
|
return (_ctx, _cache) => {
|
|
32
27
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
33
28
|
createVNode(unref(Icon), {
|
|
@@ -35,7 +30,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
35
30
|
class: "htw-text-2xl htw-text-gray-700 dark:htw-text-gray-300 htw-flex-none"
|
|
36
31
|
}, null, 8, ["icon"]),
|
|
37
32
|
createElementVNode("div", _hoisted_2, [
|
|
38
|
-
createElementVNode("span", _hoisted_3, toDisplayString(
|
|
33
|
+
createElementVNode("span", _hoisted_3, toDisplayString(__props.count), 1),
|
|
39
34
|
createElementVNode("span", _hoisted_4, toDisplayString(__props.title), 1)
|
|
40
35
|
])
|
|
41
36
|
]);
|
|
@@ -17,8 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
emits: {
|
|
20
|
-
|
|
21
|
-
"update:modelValue": (newValue) => true
|
|
20
|
+
"update:modelValue": (_newValue) => true
|
|
22
21
|
},
|
|
23
22
|
setup(__props, { emit: __emit }) {
|
|
24
23
|
const props = __props;
|
|
@@ -2,7 +2,7 @@ import _sfc_main from "./BaseIcon.vue2.js";
|
|
|
2
2
|
import "./BaseIcon.vue3.js";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
"use strict";
|
|
5
|
-
const BaseIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const BaseIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2114f510"]]);
|
|
6
6
|
export {
|
|
7
7
|
BaseIcon as default
|
|
8
8
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, createBlock, unref, pushScopeId, popScopeId } from "@histoire/vendors/vue";
|
|
2
2
|
import { Icon } from "@histoire/vendors/iconify";
|
|
3
3
|
"use strict";
|
|
4
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
4
|
+
const _withScopeId = (n) => (pushScopeId("data-v-2114f510"), n = n(), popScopeId(), n);
|
|
5
5
|
const _hoisted_1 = ["src", "alt"];
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "BaseIcon",
|
|
@@ -49,14 +49,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
49
49
|
return () => h("div", { ref: el2, style: { visibility: visible.value ? "visible" : "hidden" } }, slots.default());
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
|
-
|
|
52
|
+
function ChildrenRender(props, { slots }) {
|
|
53
53
|
const [fragment] = slots.default();
|
|
54
54
|
return fragment.children.map((vnode, index) => h(ChildWrapper, { index }, () => [vnode]));
|
|
55
|
-
}
|
|
56
|
-
|
|
55
|
+
}
|
|
56
|
+
function ChildrenSlice(props, { slots }) {
|
|
57
57
|
const [fragment] = slots.default();
|
|
58
58
|
return fragment.children.slice(props.start, props.end);
|
|
59
|
-
}
|
|
59
|
+
}
|
|
60
60
|
return (_ctx, _cache) => {
|
|
61
61
|
const _component_VDropdown = resolveComponent("VDropdown");
|
|
62
62
|
return openBlock(), createElementBlock("div", {
|
|
@@ -2,7 +2,7 @@ import _sfc_main from "./BaseSplitPane.vue2.js";
|
|
|
2
2
|
import "./BaseSplitPane.vue3.js";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
"use strict";
|
|
5
|
-
const BaseSplitPane = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const BaseSplitPane = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4f40a1bb"]]);
|
|
6
6
|
export {
|
|
7
7
|
BaseSplitPane as default
|
|
8
8
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, computed, onUnmounted, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, renderSlot, withModifiers, pushScopeId, popScopeId } from "@histoire/vendors/vue";
|
|
2
2
|
"use strict";
|
|
3
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
3
|
+
const _withScopeId = (n) => (pushScopeId("data-v-4f40a1bb"), n = n(), popScopeId(), n);
|
|
4
4
|
const _hoisted_1 = ["onMousedown"];
|
|
5
5
|
const SAVE_PREFIX = "__histoire";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -42,8 +42,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
emits: {
|
|
45
|
-
|
|
46
|
-
"update:split": (value) => true
|
|
45
|
+
"update:split": (_value) => true
|
|
47
46
|
},
|
|
48
47
|
setup(__props, { emit: __emit }) {
|
|
49
48
|
const props = __props;
|
|
@@ -3,8 +3,8 @@ import BaseTab from "../base/BaseTab.vue.js";
|
|
|
3
3
|
import { useEventsStore } from "../../stores/events.js";
|
|
4
4
|
import "../base/BaseOverflowMenu.vue.js";
|
|
5
5
|
import BaseOverflowTab from "../base/BaseOverflowTab.vue.js";
|
|
6
|
-
import "./StoryDocs.vue.js";
|
|
7
6
|
import BaseTag from "../base/BaseTag.vue.js";
|
|
7
|
+
import "./StoryDocs.vue.js";
|
|
8
8
|
import { useStoryDoc } from "./StoryDocs.vue2.js";
|
|
9
9
|
import _sfc_main$1 from "../base/BaseOverflowMenu.vue2.js";
|
|
10
10
|
"use strict";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, toRefs, watch, ref, computed, openBlock, createElementBlock, unref, normalizeClass, createBlock, createCommentVNode, withCtx, createVNode, createTextVNode, watchEffect, nextTick } from "@histoire/vendors/vue";
|
|
2
|
+
import { markdownFiles } from "virtual:$histoire-markdown-files";
|
|
2
3
|
import { Icon } from "@histoire/vendors/iconify";
|
|
3
4
|
import { useRouter, useRoute } from "@histoire/vendors/vue-router";
|
|
4
|
-
import BaseEmpty from "../base/BaseEmpty.vue.js";
|
|
5
|
-
import { markdownFiles } from "virtual:$histoire-markdown-files";
|
|
6
5
|
import { histoireConfig } from "../../util/config.js";
|
|
7
6
|
import "../toolbar/DevOnlyToolbarOpenInEditor.vue.js";
|
|
7
|
+
import BaseEmpty from "../base/BaseEmpty.vue.js";
|
|
8
8
|
import _sfc_main$1 from "../toolbar/DevOnlyToolbarOpenInEditor.vue2.js";
|
|
9
9
|
"use strict";
|
|
10
10
|
const _hoisted_1 = ["innerHTML"];
|
|
@@ -52,7 +52,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
52
52
|
default: false
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
|
-
emits: ["
|
|
55
|
+
emits: ["scrollTop"],
|
|
56
56
|
setup(__props, { emit: __emit }) {
|
|
57
57
|
const props = __props;
|
|
58
58
|
const emit = __emit;
|
|
@@ -91,7 +91,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
91
91
|
return;
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
emit("
|
|
94
|
+
emit("scrollTop");
|
|
95
95
|
}
|
|
96
96
|
watch(renderedDoc, () => {
|
|
97
97
|
scrollToAnchor();
|
|
@@ -2,7 +2,7 @@ import _sfc_main from "./StorySourceCode.vue2.js";
|
|
|
2
2
|
import "./StorySourceCode.vue3.js";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
"use strict";
|
|
5
|
-
const StorySourceCode = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const StorySourceCode = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f7d2e46a"]]);
|
|
6
6
|
export {
|
|
7
7
|
StorySourceCode as default
|
|
8
8
|
};
|
|
@@ -7,7 +7,7 @@ import { clientSupportPlugins } from "virtual:$histoire-support-plugins-client";
|
|
|
7
7
|
import { isDark } from "../../util/dark.js";
|
|
8
8
|
import BaseEmpty from "../base/BaseEmpty.vue.js";
|
|
9
9
|
"use strict";
|
|
10
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
10
|
+
const _withScopeId = (n) => (pushScopeId("data-v-f7d2e46a"), n = n(), popScopeId(), n);
|
|
11
11
|
const _hoisted_1 = { class: "histoire-story-source-code htw-bg-gray-50 dark:htw-bg-gray-750 htw-h-full htw-overflow-hidden htw-flex htw-flex-col" };
|
|
12
12
|
const _hoisted_2 = {
|
|
13
13
|
key: 0,
|
|
@@ -2,7 +2,7 @@ import _sfc_main from "./SearchItem.vue2.js";
|
|
|
2
2
|
import "./SearchItem.vue3.js";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
"use strict";
|
|
5
|
-
const SearchItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const SearchItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d75a2748"]]);
|
|
6
6
|
export {
|
|
7
7
|
SearchItem as default
|
|
8
8
|
};
|
|
@@ -8,7 +8,7 @@ import "./SearchItemContent.vue.js";
|
|
|
8
8
|
import _sfc_main$1 from "./SearchItemContent.vue2.js";
|
|
9
9
|
import _sfc_main$2 from "../base/BaseListItem.vue2.js";
|
|
10
10
|
"use strict";
|
|
11
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
11
|
+
const _withScopeId = (n) => (pushScopeId("data-v-d75a2748"), n = n(), popScopeId(), n);
|
|
12
12
|
const _hoisted_1 = ["data-selected"];
|
|
13
13
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
14
|
__name: "SearchItem",
|
|
@@ -27,7 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
27
|
},
|
|
28
28
|
setup(__props, { emit: __emit }) {
|
|
29
29
|
useCssVars((_ctx) => ({
|
|
30
|
-
"
|
|
30
|
+
"ddaae392": __props.result.iconColor
|
|
31
31
|
}));
|
|
32
32
|
const props = __props;
|
|
33
33
|
const emit = __emit;
|
|
@@ -7,11 +7,11 @@ import language from "../../node_modules/.pnpm/flexsearch@0.7.21/node_modules/fl
|
|
|
7
7
|
import { registeredCommands } from "virtual:$histoire-commands";
|
|
8
8
|
import { useStoryStore } from "../../stores/story.js";
|
|
9
9
|
import BaseEmpty from "../base/BaseEmpty.vue.js";
|
|
10
|
-
import SearchItem from "./SearchItem.vue.js";
|
|
11
|
-
import { onUpdate, searchData } from "./search-title-data.js";
|
|
12
10
|
import { getCommandContext, builtinCommands } from "../../util/commands.js";
|
|
13
11
|
import { useCommandStore } from "../../stores/command.js";
|
|
14
12
|
import { useSelection } from "../../util/select.js";
|
|
13
|
+
import SearchItem from "./SearchItem.vue.js";
|
|
14
|
+
import { onUpdate, searchData } from "./search-title-data.js";
|
|
15
15
|
"use strict";
|
|
16
16
|
const _hoisted_1 = {
|
|
17
17
|
key: 1,
|
|
@@ -2,7 +2,7 @@ import _sfc_main from "./StoryResponsivePreview.vue2.js";
|
|
|
2
2
|
import "./StoryResponsivePreview.vue3.js";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
"use strict";
|
|
5
|
-
const StoryResponsivePreview = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const StoryResponsivePreview = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9bc3d486"]]);
|
|
6
6
|
export {
|
|
7
7
|
StoryResponsivePreview as default
|
|
8
8
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent, useCssVars, unref, ref, onUnmounted, computed, openBlock, createElementBlock, createVNode, createCommentVNode, createElementVNode, normalizeClass, createBlock, renderSlot, Fragment, withDirectives, pushScopeId, popScopeId, createStaticVNode } from "@histoire/vendors/vue";
|
|
2
2
|
import { useEventListener } from "@histoire/vendors/vue-use";
|
|
3
3
|
import { Icon } from "@histoire/vendors/iconify";
|
|
4
|
+
import { VTooltip } from "@histoire/vendors/floating-vue";
|
|
4
5
|
import HatchedPattern from "../misc/HatchedPattern.vue.js";
|
|
5
6
|
import CheckerboardPattern from "../misc/CheckerboardPattern.vue.js";
|
|
6
7
|
import { usePreviewSettingsStore } from "../../stores/preview-settings.js";
|
|
7
|
-
import { VTooltip } from "@histoire/vendors/floating-vue";
|
|
8
8
|
"use strict";
|
|
9
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
9
|
+
const _withScopeId = (n) => (pushScopeId("data-v-9bc3d486"), n = n(), popScopeId(), n);
|
|
10
10
|
const _hoisted_1 = { class: "histoire-story-responsive-preview htw-w-full htw-h-full htw-flex-1 htw-rounded-lg htw-relative htw-overflow-hidden" };
|
|
11
11
|
const _hoisted_2 = {
|
|
12
12
|
key: 0,
|
|
@@ -19,7 +19,7 @@ const _hoisted_3 = {
|
|
|
19
19
|
const _hoisted_4 = { class: "htw-p-8 htw-h-full htw-relative" };
|
|
20
20
|
const _hoisted_5 = { class: "htw-w-full htw-h-full htw-relative" };
|
|
21
21
|
const _hoisted_6 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "htw-absolute htw-inset-0" }, null, -1));
|
|
22
|
-
const _hoisted_7 = /* @__PURE__ */ createStaticVNode('<div class="htw-absolute htw-top-5 htw-left-8 htw-h-2 htw-w-px htw-bg-gray-400/25" data-v-
|
|
22
|
+
const _hoisted_7 = /* @__PURE__ */ createStaticVNode('<div class="htw-absolute htw-top-5 htw-left-8 htw-h-2 htw-w-px htw-bg-gray-400/25" data-v-9bc3d486></div><div class="htw-absolute htw-top-5 htw-right-8 htw-h-2 htw-w-px htw-bg-gray-400/25" data-v-9bc3d486></div><div class="htw-absolute htw-bottom-5 htw-left-8 htw-h-2 htw-w-px htw-bg-gray-400/25" data-v-9bc3d486></div><div class="htw-absolute htw-bottom-5 htw-right-8 htw-h-2 htw-w-px htw-bg-gray-400/25" data-v-9bc3d486></div><div class="htw-absolute htw-left-5 htw-top-8 htw-w-2 htw-h-px htw-bg-gray-400/25" data-v-9bc3d486></div><div class="htw-absolute htw-left-5 htw-bottom-8 htw-w-2 htw-h-px htw-bg-gray-400/25" data-v-9bc3d486></div><div class="htw-absolute htw-right-5 htw-top-8 htw-w-2 htw-h-px htw-bg-gray-400/25" data-v-9bc3d486></div><div class="htw-absolute htw-right-5 htw-bottom-8 htw-w-2 htw-h-px htw-bg-gray-400/25" data-v-9bc3d486></div>', 8);
|
|
23
23
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
24
24
|
__name: "StoryResponsivePreview",
|
|
25
25
|
props: {
|
|
@@ -27,7 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
27
|
},
|
|
28
28
|
setup(__props) {
|
|
29
29
|
useCssVars((_ctx) => ({
|
|
30
|
-
"
|
|
30
|
+
"321f9a07": unref(settings).backgroundColor
|
|
31
31
|
}));
|
|
32
32
|
const props = __props;
|
|
33
33
|
const settings = usePreviewSettingsStore().currentSettings;
|
|
@@ -115,7 +115,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
115
115
|
const finalWidth = computed(() => settings.rotate ? settings.responsiveHeight : settings.responsiveWidth);
|
|
116
116
|
const finalHeight = computed(() => settings.rotate ? settings.responsiveWidth : settings.responsiveHeight);
|
|
117
117
|
const isResponsiveEnabled = computed(() => !props.variant.responsiveDisabled);
|
|
118
|
-
const sizeTooltip = computed(() =>
|
|
118
|
+
const sizeTooltip = computed(() => `${responsiveWidth.value ?? "Auto"} × ${responsiveHeight.value ?? "Auto"}`);
|
|
119
119
|
return (_ctx, _cache) => {
|
|
120
120
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
121
121
|
isResponsiveEnabled.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
@@ -2,10 +2,10 @@ import { defineComponent, computed, ref, watch, onMounted, openBlock, createElem
|
|
|
2
2
|
import { useResizeObserver } from "@histoire/vendors/vue-use";
|
|
3
3
|
import { useStoryStore } from "../../stores/story.js";
|
|
4
4
|
import { isMobile } from "../../util/responsive.js";
|
|
5
|
-
import StoryVariantGridItem from "./StoryVariantGridItem.vue.js";
|
|
6
5
|
import ToolbarBackground from "../toolbar/ToolbarBackground.vue.js";
|
|
7
6
|
import "../toolbar/ToolbarTextDirection.vue.js";
|
|
8
7
|
import "../toolbar/DevOnlyToolbarOpenInEditor.vue.js";
|
|
8
|
+
import StoryVariantGridItem from "./StoryVariantGridItem.vue.js";
|
|
9
9
|
import _sfc_main$1 from "../toolbar/ToolbarTextDirection.vue2.js";
|
|
10
10
|
import _sfc_main$2 from "../toolbar/DevOnlyToolbarOpenInEditor.vue2.js";
|
|
11
11
|
"use strict";
|
|
@@ -30,7 +30,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
30
30
|
return "200px";
|
|
31
31
|
}
|
|
32
32
|
if (typeof layoutWidth === "number") {
|
|
33
|
-
return layoutWidth
|
|
33
|
+
return `${layoutWidth}px`;
|
|
34
34
|
}
|
|
35
35
|
return layoutWidth;
|
|
36
36
|
});
|
|
@@ -84,9 +84,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
84
84
|
if (!gridEl.value)
|
|
85
85
|
return;
|
|
86
86
|
if (gridTemplateWidth.value.endsWith("%")) {
|
|
87
|
-
gridColumnWidth.value = viewWidth.value * parseInt(gridTemplateWidth.value) / 100 - gap;
|
|
87
|
+
gridColumnWidth.value = viewWidth.value * Number.parseInt(gridTemplateWidth.value) / 100 - gap;
|
|
88
88
|
} else {
|
|
89
|
-
gridColumnWidth.value = parseInt(gridTemplateWidth.value);
|
|
89
|
+
gridColumnWidth.value = Number.parseInt(gridTemplateWidth.value);
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
onMounted(() => {
|
|
@@ -2,7 +2,7 @@ import _sfc_main from "./StoryVariantGridItem.vue2.js";
|
|
|
2
2
|
import "./StoryVariantGridItem.vue3.js";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
"use strict";
|
|
5
|
-
const StoryVariantGridItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const StoryVariantGridItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d3ab4dd6"]]);
|
|
6
6
|
export {
|
|
7
7
|
StoryVariantGridItem as default
|
|
8
8
|
};
|
|
@@ -10,13 +10,13 @@ import { getContrastColor } from "../../util/preview-settings.js";
|
|
|
10
10
|
import { histoireConfig } from "../../util/config.js";
|
|
11
11
|
import { isDark } from "../../util/dark.js";
|
|
12
12
|
import { getSourceCode } from "../../util/docs.js";
|
|
13
|
-
import "./GenericRenderStory.vue.js";
|
|
14
13
|
import "../toolbar/ToolbarNewTab.vue.js";
|
|
15
14
|
import CheckerboardPattern from "../misc/CheckerboardPattern.vue.js";
|
|
15
|
+
import "./GenericRenderStory.vue.js";
|
|
16
16
|
import _sfc_main$1 from "../toolbar/ToolbarNewTab.vue2.js";
|
|
17
17
|
import _sfc_main$2 from "./GenericRenderStory.vue2.js";
|
|
18
18
|
"use strict";
|
|
19
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
19
|
+
const _withScopeId = (n) => (pushScopeId("data-v-d3ab4dd6"), n = n(), popScopeId(), n);
|
|
20
20
|
const _hoisted_1 = { class: "htw-flex-none htw-flex htw-items-center" };
|
|
21
21
|
const _hoisted_2 = { class: "htw-truncate htw-flex-1" };
|
|
22
22
|
const _hoisted_3 = { class: "htw-flex-none htw-ml-auto htw-hidden group-hover:htw-flex htw-items-center" };
|
|
@@ -37,13 +37,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
emits: {
|
|
40
|
-
|
|
41
|
-
resize: (width, height) => true
|
|
40
|
+
resize: (_width, _height) => true
|
|
42
41
|
},
|
|
43
42
|
setup(__props, { emit: __emit }) {
|
|
44
43
|
useCssVars((_ctx) => ({
|
|
45
|
-
"
|
|
46
|
-
"
|
|
44
|
+
"bd0f30ce": unref(variant).iconColor,
|
|
45
|
+
"8da98e9c": unref(settings).backgroundColor
|
|
47
46
|
}));
|
|
48
47
|
const props = __props;
|
|
49
48
|
const emit = __emit;
|
|
@@ -132,7 +131,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
132
131
|
class: "htw-relative htw-h-full",
|
|
133
132
|
style: normalizeStyle({
|
|
134
133
|
"--histoire-contrast-color": contrastColor.value,
|
|
135
|
-
color: autoApplyContrastColor.value ? contrastColor.value : void 0
|
|
134
|
+
"color": autoApplyContrastColor.value ? contrastColor.value : void 0
|
|
136
135
|
})
|
|
137
136
|
}, [
|
|
138
137
|
(openBlock(), createBlock(_sfc_main$2, {
|
|
@@ -2,7 +2,7 @@ import _sfc_main from "./StoryVariantListItem.vue2.js";
|
|
|
2
2
|
import "./StoryVariantListItem.vue3.js";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
"use strict";
|
|
5
|
-
const StoryVariantListItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const StoryVariantListItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f8e09a03"]]);
|
|
6
6
|
export {
|
|
7
7
|
StoryVariantListItem as default
|
|
8
8
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, useCssVars, unref, toRefs, ref, openBlock, createElementBlock, createVNode, withCtx, normalizeClass, createElementVNode, toDisplayString, pushScopeId, popScopeId } from "@histoire/vendors/vue";
|
|
2
|
+
import { Icon } from "@histoire/vendors/iconify";
|
|
2
3
|
import { useCurrentVariantRoute } from "../../util/variant.js";
|
|
3
4
|
import BaseListItemLink from "../base/BaseListItemLink.vue.js";
|
|
4
|
-
import { Icon } from "@histoire/vendors/iconify";
|
|
5
5
|
import { useScrollOnActive } from "../../util/scroll.js";
|
|
6
6
|
"use strict";
|
|
7
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
7
|
+
const _withScopeId = (n) => (pushScopeId("data-v-f8e09a03"), n = n(), popScopeId(), n);
|
|
8
8
|
const _hoisted_1 = { class: "htw-truncate" };
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "StoryVariantListItem",
|
|
@@ -16,7 +16,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16
16
|
},
|
|
17
17
|
setup(__props) {
|
|
18
18
|
useCssVars((_ctx) => ({
|
|
19
|
-
"
|
|
19
|
+
"2762f67a": unref(variant).iconColor
|
|
20
20
|
}));
|
|
21
21
|
const props = __props;
|
|
22
22
|
const { variant } = toRefs(props);
|
|
@@ -2,7 +2,7 @@ import _sfc_main from "./StoryVariantSingle.vue2.js";
|
|
|
2
2
|
import "./StoryVariantSingle.vue3.js";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
"use strict";
|
|
5
|
-
const StoryVariantSingle = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const StoryVariantSingle = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-abf83c04"]]);
|
|
6
6
|
export {
|
|
7
7
|
StoryVariantSingle as default
|
|
8
8
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent, useCssVars, computed, openBlock, createElementBlock, createVNode, unref, Fragment, createElementVNode, normalizeClass, createTextVNode, toDisplayString, createCommentVNode, createBlock, withCtx, renderList, pushScopeId, popScopeId } from "@histoire/vendors/vue";
|
|
2
|
-
import { useStoryStore } from "../../stores/story.js";
|
|
3
2
|
import { Icon } from "@histoire/vendors/iconify";
|
|
3
|
+
import { useStoryStore } from "../../stores/story.js";
|
|
4
4
|
import { isMobile } from "../../util/responsive.js";
|
|
5
5
|
import BaseSplitPane from "../base/BaseSplitPane.vue.js";
|
|
6
6
|
import StoryVariantListItem from "./StoryVariantListItem.vue.js";
|
|
7
7
|
import "./StoryVariantSingleView.vue.js";
|
|
8
8
|
import _sfc_main$1 from "./StoryVariantSingleView.vue2.js";
|
|
9
9
|
"use strict";
|
|
10
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
10
|
+
const _withScopeId = (n) => (pushScopeId("data-v-abf83c04"), n = n(), popScopeId(), n);
|
|
11
11
|
const _hoisted_1 = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "histoire-story-variant-single htw-p-2 htw-h-full __histoire-pane-shadow-from-right"
|
|
@@ -28,13 +28,13 @@ const _hoisted_5 = {
|
|
|
28
28
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
29
29
|
__name: "StoryVariantSingle",
|
|
30
30
|
emits: {
|
|
31
|
-
|
|
31
|
+
openVariantMenu: () => true
|
|
32
32
|
},
|
|
33
33
|
setup(__props) {
|
|
34
34
|
useCssVars((_ctx) => {
|
|
35
35
|
var _a;
|
|
36
36
|
return {
|
|
37
|
-
"
|
|
37
|
+
"02b8e3da": (_a = variant.value) == null ? void 0 : _a.iconColor
|
|
38
38
|
};
|
|
39
39
|
});
|
|
40
40
|
const storyStore = useStoryStore();
|
|
@@ -53,7 +53,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
53
53
|
unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
54
54
|
createElementVNode("a", {
|
|
55
55
|
class: "htw-px-6 htw-h-12 hover:htw-text-primary-500 dark:hover:htw-text-primary-400 htw-cursor-pointer htw-flex htw-gap-2 htw-flex-wrap htw-w-full htw-items-center htw-flex-none",
|
|
56
|
-
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("
|
|
56
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("openVariantMenu"))
|
|
57
57
|
}, [
|
|
58
58
|
variant.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
59
59
|
createVNode(unref(Icon), {
|
|
@@ -40,7 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
40
40
|
} : { width: "100%", height: "100%" },
|
|
41
41
|
{
|
|
42
42
|
"--histoire-contrast-color": contrastColor.value,
|
|
43
|
-
color: autoApplyContrastColor.value ? contrastColor.value : void 0
|
|
43
|
+
"color": autoApplyContrastColor.value ? contrastColor.value : void 0
|
|
44
44
|
}
|
|
45
45
|
]),
|
|
46
46
|
class: "htw-relative",
|
|
@@ -5,8 +5,8 @@ import { SANDBOX_READY, EVENT_SEND, STATE_SYNC, PREVIEW_SETTINGS_SYNC } from "..
|
|
|
5
5
|
import { getSandboxUrl } from "../../util/sandbox.js";
|
|
6
6
|
import { usePreviewSettingsStore } from "../../stores/preview-settings.js";
|
|
7
7
|
import { useEventsStore } from "../../stores/events.js";
|
|
8
|
-
import StoryResponsivePreview from "./StoryResponsivePreview.vue.js";
|
|
9
8
|
import { toRawDeep } from "../../util/state.js";
|
|
9
|
+
import StoryResponsivePreview from "./StoryResponsivePreview.vue.js";
|
|
10
10
|
"use strict";
|
|
11
11
|
const _hoisted_1 = ["src"];
|
|
12
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -5,9 +5,9 @@ import { useStoryStore } from "../../stores/story.js";
|
|
|
5
5
|
import BaseSplitPane from "../base/BaseSplitPane.vue.js";
|
|
6
6
|
import BaseEmpty from "../base/BaseEmpty.vue.js";
|
|
7
7
|
import { isMobile } from "../../util/responsive.js";
|
|
8
|
-
import StoryViewer from "./StoryViewer.vue.js";
|
|
9
8
|
import "../panel/StorySidePanel.vue.js";
|
|
10
9
|
import "../panel/StoryDocs.vue.js";
|
|
10
|
+
import StoryViewer from "./StoryViewer.vue.js";
|
|
11
11
|
import _sfc_main$1 from "../panel/StoryDocs.vue2.js";
|
|
12
12
|
import _sfc_main$2 from "../panel/StorySidePanel.vue2.js";
|
|
13
13
|
"use strict";
|
|
@@ -2,7 +2,7 @@ import _sfc_main from "./StoryViewer.vue2.js";
|
|
|
2
2
|
import "./StoryViewer.vue3.js";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
"use strict";
|
|
5
|
-
const StoryViewer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const StoryViewer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a5a2e343"]]);
|
|
6
6
|
export {
|
|
7
7
|
StoryViewer as default
|
|
8
8
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent, useCssVars, computed, ref, watch, openBlock, createElementBlock, Fragment, createElementVNode, unref, createBlock, createCommentVNode, createVNode, withCtx, renderList, pushScopeId, popScopeId } from "@histoire/vendors/vue";
|
|
2
2
|
import { useStoryStore } from "../../stores/story.js";
|
|
3
|
-
import StoryVariantListItem from "./StoryVariantListItem.vue.js";
|
|
4
3
|
import "../app/MobileOverlay.vue.js";
|
|
4
|
+
import StoryVariantListItem from "./StoryVariantListItem.vue.js";
|
|
5
5
|
import "./StoryVariantGrid.vue.js";
|
|
6
6
|
import StoryVariantSingle from "./StoryVariantSingle.vue.js";
|
|
7
7
|
import _sfc_main$1 from "./StoryVariantGrid.vue2.js";
|
|
8
8
|
import _sfc_main$2 from "../app/MobileOverlay.vue2.js";
|
|
9
9
|
"use strict";
|
|
10
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
10
|
+
const _withScopeId = (n) => (pushScopeId("data-v-a5a2e343"), n = n(), popScopeId(), n);
|
|
11
11
|
const _hoisted_1 = { class: "histoire-story-viewer htw-bg-gray-50 htw-h-full dark:htw-bg-gray-750" };
|
|
12
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
13
13
|
__name: "StoryViewer",
|
|
@@ -15,7 +15,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
15
15
|
useCssVars((_ctx) => {
|
|
16
16
|
var _a;
|
|
17
17
|
return {
|
|
18
|
-
"
|
|
18
|
+
"597bf4c4": (_a = variant.value) == null ? void 0 : _a.iconColor
|
|
19
19
|
};
|
|
20
20
|
});
|
|
21
21
|
const storyStore = useStoryStore();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createElementVNode, computed, openBlock, Fragment, withKeys, unref, createVNode, toDisplayString, createElementBlock, createCommentVNode, createBlock, renderList, defineComponent } from "@histoire/vendors/vue";
|
|
2
|
-
import StoryListItem from "./StoryListItem.vue.js";
|
|
3
|
-
import StoryListFolder from "./StoryListFolder.vue.js";
|
|
4
2
|
import { Icon } from "@histoire/vendors/iconify";
|
|
5
3
|
import { useFolderStore } from "../../stores/folder.js";
|
|
4
|
+
import StoryListItem from "./StoryListItem.vue.js";
|
|
5
|
+
import StoryListFolder from "./StoryListFolder.vue.js";
|
|
6
6
|
"use strict";
|
|
7
7
|
const _hoisted_1 = {
|
|
8
8
|
"data-test-id": "story-group",
|
|
@@ -2,7 +2,7 @@ import _sfc_main from "./StoryListFolder.vue2.js";
|
|
|
2
2
|
import "./StoryListFolder.vue3.js";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
"use strict";
|
|
5
|
-
const StoryListFolder = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const StoryListFolder = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cace6303"]]);
|
|
6
6
|
export {
|
|
7
7
|
StoryListFolder as default
|
|
8
8
|
};
|