@histoire/app 0.11.9 → 0.12.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/App.vue.js +6 -0
- package/dist/bundled/{App.vue_vue_type_script_setup_true_lang.js → App.vue2.js} +14 -13
- package/dist/bundled/api.js +1 -0
- package/dist/bundled/assets/{histoire-text-dark.js → histoire-text-dark.svg.js} +0 -0
- package/dist/bundled/assets/{histoire-text.js → histoire-text.svg.js} +0 -0
- package/dist/bundled/assets/{histoire.js → histoire.svg.js} +0 -0
- package/dist/bundled/components/HomeView.vue.js +6 -0
- package/dist/bundled/components/{HomeView.vue_vue_type_script_setup_true_lang.js → HomeView.vue2.js} +2 -1
- package/dist/bundled/components/app/AppHeader.vue.js +6 -0
- package/dist/bundled/components/app/{AppHeader.vue_vue_type_script_setup_true_lang.js → AppHeader.vue2.js} +3 -2
- package/dist/bundled/components/app/AppLogo.vue.js +6 -0
- package/dist/bundled/components/app/{AppLogo.vue_vue_type_script_setup_true_lang.js → AppLogo.vue2.js} +3 -2
- package/dist/bundled/components/app/{Breadcrumb.js → Breadcrumb.vue.js} +3 -2
- package/dist/bundled/components/app/{Breadcrumb.vue_vue_type_script_setup_true_lang.js → Breadcrumb.vue2.js} +6 -6
- package/dist/bundled/components/app/{Breadcrumb.vue_vue_type_style_index_0_scoped_36846ccf_lang.js → Breadcrumb.vue3.js} +0 -0
- package/dist/bundled/components/app/InitialLoading.vue.js +6 -0
- package/dist/bundled/components/app/{InitialLoading.vue_vue_type_script_setup_true_lang.js → InitialLoading.vue2.js} +1 -0
- package/dist/bundled/components/app/MobileOverlay.vue.js +6 -0
- package/dist/bundled/components/app/{MobileOverlay.vue_vue_type_script_setup_true_lang.js → MobileOverlay.vue2.js} +1 -0
- package/dist/bundled/components/base/BaseCheckbox.vue.js +6 -0
- package/dist/bundled/components/base/{BaseCheckbox.vue_vue_type_script_setup_true_lang.js → BaseCheckbox.vue2.js} +3 -2
- package/dist/bundled/components/base/{BaseEmpty.js → BaseEmpty.vue.js} +1 -1
- package/dist/bundled/components/base/{BaseEmpty.vue_vue_type_style_index_0_scoped_c5ecfead_lang.js → BaseEmpty.vue2.js} +0 -0
- package/dist/bundled/components/base/{BaseListItemLink.js → BaseListItemLink.vue.js} +2 -1
- package/dist/bundled/components/base/{BaseListItemLink.vue_vue_type_script_lang.js → BaseListItemLink.vue2.js} +1 -0
- package/dist/bundled/components/base/BaseOverflowMenu.vue.js +6 -0
- package/dist/bundled/components/base/{BaseOverflowMenu.vue_vue_type_script_setup_true_lang.js → BaseOverflowMenu.vue2.js} +1 -0
- package/dist/bundled/components/base/{BaseOverflowTab.js → BaseOverflowTab.vue.js} +2 -1
- package/dist/bundled/components/base/{BaseOverflowTab.vue_vue_type_script_lang.js → BaseOverflowTab.vue2.js} +1 -0
- package/dist/bundled/components/base/BaseSelect.vue.js +6 -0
- package/dist/bundled/components/base/{BaseSelect.vue_vue_type_script_setup_true_lang.js → BaseSelect.vue2.js} +1 -0
- package/dist/bundled/components/base/{BaseSplitPane.js → BaseSplitPane.vue.js} +3 -2
- package/dist/bundled/components/base/{BaseSplitPane.vue_vue_type_script_setup_true_lang.js → BaseSplitPane.vue2.js} +1 -0
- package/dist/bundled/components/base/{BaseSplitPane.vue_vue_type_style_index_0_scoped_ed925107_lang.js → BaseSplitPane.vue3.js} +0 -0
- package/dist/bundled/components/base/{BaseTab.js → BaseTab.vue.js} +2 -1
- package/dist/bundled/components/base/{BaseTab.vue_vue_type_script_lang.js → BaseTab.vue2.js} +1 -0
- package/dist/bundled/components/base/{BaseTag.js → BaseTag.vue.js} +0 -0
- package/dist/bundled/components/misc/{CheckerboardPattern.js → CheckerboardPattern.vue.js} +0 -0
- package/dist/bundled/components/misc/{HatchedPattern.js → HatchedPattern.vue.js} +1 -1
- package/dist/bundled/components/misc/{HatchedPattern.vue_vue_type_style_index_0_scoped_91561117_lang.js → HatchedPattern.vue2.js} +0 -0
- package/dist/bundled/components/panel/ControlsComponentPropItem.vue.js +6 -0
- package/dist/bundled/components/panel/{ControlsComponentPropItem.vue_vue_type_script_setup_true_lang.js → ControlsComponentPropItem.vue2.js} +1 -0
- package/dist/bundled/components/panel/ControlsComponentProps.vue.js +6 -0
- package/dist/bundled/components/panel/{ControlsComponentProps.vue_vue_type_script_setup_true_lang.js → ControlsComponentProps.vue2.js} +3 -2
- package/dist/bundled/components/panel/PaneTabs.vue.js +6 -0
- package/dist/bundled/components/panel/{PaneTabs.vue_vue_type_script_setup_true_lang.js → PaneTabs.vue2.js} +8 -7
- package/dist/bundled/components/panel/StatePresets.vue.js +6 -0
- package/dist/bundled/components/panel/{StatePresets.vue_vue_type_script_setup_true_lang.js → StatePresets.vue2.js} +3 -2
- package/dist/bundled/components/panel/StoryControls.vue.js +6 -0
- package/dist/bundled/components/panel/{StoryControls.vue_vue_type_script_setup_true_lang.js → StoryControls.vue2.js} +8 -7
- package/dist/bundled/components/panel/StoryDocs.vue.js +7 -0
- package/dist/bundled/components/panel/{StoryDocs.vue_vue_type_script_setup_true_lang.js → StoryDocs.vue2.js} +2 -1
- package/dist/bundled/components/panel/StoryEvent.vue.js +6 -0
- package/dist/bundled/components/panel/{StoryEvent.vue_vue_type_script_setup_true_lang.js → StoryEvent.vue2.js} +1 -0
- package/dist/bundled/components/panel/StoryEvents.vue.js +6 -0
- package/dist/bundled/components/panel/{StoryEvents.vue_vue_type_script_setup_true_lang.js → StoryEvents.vue2.js} +4 -3
- package/dist/bundled/components/panel/StorySidePanel.vue.js +6 -0
- package/dist/bundled/components/panel/{StorySidePanel.vue_vue_type_script_setup_true_lang.js → StorySidePanel.vue2.js} +12 -11
- package/dist/bundled/components/panel/{StorySourceCode.js → StorySourceCode.vue.js} +3 -2
- package/dist/bundled/components/panel/{StorySourceCode.vue_vue_type_script_setup_true_lang.js → StorySourceCode.vue2.js} +2 -1
- package/dist/bundled/components/panel/{StorySourceCode.vue_vue_type_style_index_0_scoped_f528bb1b_lang.js → StorySourceCode.vue3.js} +0 -0
- package/dist/bundled/components/search/{SearchItem.js → SearchItem.vue.js} +3 -2
- package/dist/bundled/components/search/{SearchItem.vue_vue_type_script_setup_true_lang.js → SearchItem.vue2.js} +5 -4
- package/dist/bundled/components/search/{SearchItem.vue_vue_type_style_index_0_scoped_d95fcb03_lang.js → SearchItem.vue3.js} +0 -0
- package/dist/bundled/components/search/SearchLoading.vue.js +6 -0
- package/dist/bundled/components/search/{SearchLoading.vue_vue_type_script_setup_true_lang.js → SearchLoading.vue2.js} +1 -0
- package/dist/bundled/components/search/SearchModal.vue.js +6 -0
- package/dist/bundled/components/search/{SearchModal.vue_vue_type_script_setup_true_lang.js → SearchModal.vue2.js} +4 -3
- package/dist/bundled/components/search/SearchPane.vue.js +6 -0
- package/dist/bundled/components/search/{SearchPane.vue_vue_type_script_setup_true_lang.js → SearchPane.vue2.js} +4 -4
- package/dist/bundled/components/search/search-docs-data.js +1 -0
- package/dist/bundled/components/search/search-title-data.js +1 -0
- package/dist/bundled/components/story/GenericMountStory.vue.js +6 -0
- package/dist/bundled/components/story/{GenericMountStory.vue_vue_type_script_setup_true_lang.js → GenericMountStory.vue2.js} +1 -0
- package/dist/bundled/components/story/GenericRenderStory.vue.js +6 -0
- package/dist/bundled/components/story/{GenericRenderStory.vue_vue_type_script_setup_true_lang.js → GenericRenderStory.vue2.js} +1 -0
- package/dist/bundled/components/story/{StoryResponsivePreview.js → StoryResponsivePreview.vue.js} +3 -2
- package/dist/bundled/components/story/{StoryResponsivePreview.vue_vue_type_script_setup_true_lang.js → StoryResponsivePreview.vue2.js} +5 -8
- package/dist/bundled/components/story/{StoryResponsivePreview.vue_vue_type_style_index_0_scoped_a83b1911_lang.js → StoryResponsivePreview.vue3.js} +0 -0
- package/dist/bundled/components/story/StoryVariantGrid.vue.js +6 -0
- package/dist/bundled/components/story/{StoryVariantGrid.vue_vue_type_script_setup_true_lang.js → StoryVariantGrid.vue2.js} +5 -4
- package/dist/bundled/components/story/{StoryVariantGridItem.js → StoryVariantGridItem.vue.js} +3 -2
- package/dist/bundled/components/story/{StoryVariantGridItem.vue_vue_type_script_setup_true_lang.js → StoryVariantGridItem.vue2.js} +16 -18
- package/dist/bundled/components/story/{StoryVariantGridItem.vue_vue_type_style_index_0_scoped_f7c98176_lang.js → StoryVariantGridItem.vue3.js} +0 -0
- package/dist/bundled/components/story/{StoryVariantListItem.js → StoryVariantListItem.vue.js} +3 -2
- package/dist/bundled/components/story/{StoryVariantListItem.vue_vue_type_script_setup_true_lang.js → StoryVariantListItem.vue2.js} +12 -14
- package/dist/bundled/components/story/{StoryVariantListItem.vue_vue_type_style_index_0_scoped_ab890d9c_lang.js → StoryVariantListItem.vue3.js} +0 -0
- package/dist/bundled/components/story/{StoryVariantSingle.js → StoryVariantSingle.vue.js} +3 -2
- package/dist/bundled/components/story/{StoryVariantSingle.vue_vue_type_script_setup_true_lang.js → StoryVariantSingle.vue2.js} +6 -6
- package/dist/bundled/components/story/{StoryVariantSingle.vue_vue_type_style_index_0_scoped_ddfc5b4f_lang.js → StoryVariantSingle.vue3.js} +0 -0
- package/dist/bundled/components/story/StoryVariantSinglePreviewNative.vue.js +6 -0
- package/dist/bundled/components/story/{StoryVariantSinglePreviewNative.vue_vue_type_script_setup_true_lang.js → StoryVariantSinglePreviewNative.vue2.js} +4 -3
- package/dist/bundled/components/story/StoryVariantSinglePreviewRemote.vue.js +6 -0
- package/dist/bundled/components/story/{StoryVariantSinglePreviewRemote.vue_vue_type_script_setup_true_lang.js → StoryVariantSinglePreviewRemote.vue2.js} +2 -1
- package/dist/bundled/components/story/StoryVariantSingleView.vue.js +6 -0
- package/dist/bundled/components/story/{StoryVariantSingleView.vue_vue_type_script_setup_true_lang.js → StoryVariantSingleView.vue2.js} +14 -13
- package/dist/bundled/components/story/StoryView.vue.js +6 -0
- package/dist/bundled/components/story/{StoryView.vue_vue_type_script_setup_true_lang.js → StoryView.vue2.js} +8 -7
- package/dist/bundled/components/story/{StoryViewer.js → StoryViewer.vue.js} +3 -2
- package/dist/bundled/components/story/{StoryViewer.vue_vue_type_script_setup_true_lang.js → StoryViewer.vue2.js} +7 -6
- package/dist/bundled/components/story/{StoryViewer.vue_vue_type_style_index_0_scoped_6046525f_lang.js → StoryViewer.vue3.js} +0 -0
- package/dist/bundled/components/toolbar/{ToolbarBackground.js → ToolbarBackground.vue.js} +3 -2
- package/dist/bundled/components/toolbar/{ToolbarBackground.vue_vue_type_script_setup_true_lang.js → ToolbarBackground.vue2.js} +3 -2
- package/dist/bundled/components/toolbar/{ToolbarBackground.vue_vue_type_style_index_0_scoped_c48fb2b2_lang.js → ToolbarBackground.vue3.js} +0 -0
- package/dist/bundled/components/toolbar/ToolbarNewTab.vue.js +6 -0
- package/dist/bundled/components/toolbar/{ToolbarNewTab.vue_vue_type_script_setup_true_lang.js → ToolbarNewTab.vue2.js} +1 -0
- package/dist/bundled/components/toolbar/ToolbarResponsiveSize.vue.js +6 -0
- package/dist/bundled/components/toolbar/{ToolbarResponsiveSize.vue_vue_type_script_setup_true_lang.js → ToolbarResponsiveSize.vue2.js} +4 -3
- package/dist/bundled/components/toolbar/ToolbarTextDirection.vue.js +6 -0
- package/dist/bundled/components/toolbar/{ToolbarTextDirection.vue_vue_type_script_setup_true_lang.js → ToolbarTextDirection.vue2.js} +1 -0
- package/dist/bundled/components/toolbar/ToolbarTitle.vue.js +6 -0
- package/dist/bundled/components/toolbar/{ToolbarTitle.vue_vue_type_script_setup_true_lang.js → ToolbarTitle.vue2.js} +2 -2
- package/dist/bundled/components/tree/StoryGroup.vue.js +6 -0
- package/dist/bundled/components/tree/{StoryGroup.vue_vue_type_script_setup_true_lang.js → StoryGroup.vue2.js} +27 -27
- package/dist/bundled/components/tree/StoryList.vue.js +6 -0
- package/dist/bundled/components/tree/{StoryList.vue_vue_type_script_setup_true_lang.js → StoryList.vue2.js} +5 -4
- package/dist/bundled/components/tree/StoryListFolder.vue.js +8 -0
- package/dist/bundled/components/tree/{StoryListFolder.vue_vue_type_script_setup_true_lang.js → StoryListFolder.vue2.js} +8 -11
- package/dist/bundled/components/tree/StoryListFolder.vue3.js +4 -0
- package/dist/bundled/components/tree/{StoryListItem.js → StoryListItem.vue.js} +3 -2
- package/dist/bundled/components/tree/{StoryListItem.vue_vue_type_script_setup_true_lang.js → StoryListItem.vue2.js} +15 -17
- package/dist/bundled/components/tree/{StoryListItem.vue_vue_type_style_index_0_scoped_19810958_lang.js → StoryListItem.vue3.js} +0 -0
- package/dist/bundled/index.js +3 -2
- package/dist/bundled/node_modules/.pnpm/flexsearch@0.7.21/node_modules/flexsearch/dist/module/lang/latin/balance.js +1 -1
- package/dist/bundled/node_modules/.pnpm/flexsearch@0.7.21/node_modules/flexsearch/dist/module/lang/latin/simple.js +1 -1
- package/dist/bundled/router.js +3 -2
- package/dist/bundled/sandbox.js +5 -4
- package/dist/bundled/stores/events.js +1 -0
- package/dist/bundled/stores/folder.js +2 -1
- package/dist/bundled/stores/preview-settings.js +1 -0
- package/dist/bundled/stores/story.js +1 -0
- package/dist/bundled/style.css +12 -12
- package/dist/bundled/util/config.js +1 -0
- package/dist/bundled/util/dark.js +1 -0
- package/dist/bundled/util/events.js +1 -0
- package/dist/bundled/util/keyboard.js +5 -5
- package/dist/bundled/util/mapping.js +1 -0
- package/dist/bundled/util/preview-settings.js +3 -2
- package/dist/bundled/util/responsive.js +1 -0
- package/dist/bundled/util/sandbox.js +1 -0
- package/dist/bundled/util/scroll.js +1 -0
- package/dist/bundled/util/state.js +1 -0
- package/dist/bundled/util/tooltip.js +1 -0
- package/dist/bundled/util/variant.js +1 -0
- package/dist/style.css +26 -5
- package/package.json +6 -6
- package/src/app/components/tree/StoryGroup.vue +18 -20
- package/src/app/components/tree/StoryListFolder.vue +3 -7
- package/dist/bundled/App.js +0 -5
- package/dist/bundled/components/HomeView.js +0 -5
- package/dist/bundled/components/app/AppHeader.js +0 -5
- package/dist/bundled/components/app/AppLogo.js +0 -5
- package/dist/bundled/components/app/InitialLoading.js +0 -5
- package/dist/bundled/components/app/MobileOverlay.js +0 -5
- package/dist/bundled/components/base/BaseCheckbox.js +0 -5
- package/dist/bundled/components/base/BaseOverflowMenu.js +0 -5
- package/dist/bundled/components/base/BaseSelect.js +0 -5
- package/dist/bundled/components/panel/ControlsComponentPropItem.js +0 -5
- package/dist/bundled/components/panel/ControlsComponentProps.js +0 -5
- package/dist/bundled/components/panel/PaneTabs.js +0 -5
- package/dist/bundled/components/panel/StatePresets.js +0 -5
- package/dist/bundled/components/panel/StoryControls.js +0 -5
- package/dist/bundled/components/panel/StoryDocs.js +0 -6
- package/dist/bundled/components/panel/StoryEvent.js +0 -5
- package/dist/bundled/components/panel/StoryEvents.js +0 -5
- package/dist/bundled/components/panel/StorySidePanel.js +0 -5
- package/dist/bundled/components/search/SearchLoading.js +0 -5
- package/dist/bundled/components/search/SearchModal.js +0 -5
- package/dist/bundled/components/search/SearchPane.js +0 -5
- package/dist/bundled/components/story/GenericMountStory.js +0 -5
- package/dist/bundled/components/story/GenericRenderStory.js +0 -5
- package/dist/bundled/components/story/StoryVariantGrid.js +0 -5
- package/dist/bundled/components/story/StoryVariantSinglePreviewNative.js +0 -5
- package/dist/bundled/components/story/StoryVariantSinglePreviewRemote.js +0 -5
- package/dist/bundled/components/story/StoryVariantSingleView.js +0 -5
- package/dist/bundled/components/story/StoryView.js +0 -5
- package/dist/bundled/components/toolbar/ToolbarNewTab.js +0 -5
- package/dist/bundled/components/toolbar/ToolbarResponsiveSize.js +0 -5
- package/dist/bundled/components/toolbar/ToolbarTextDirection.js +0 -5
- package/dist/bundled/components/toolbar/ToolbarTitle.js +0 -5
- package/dist/bundled/components/tree/StoryGroup.js +0 -5
- package/dist/bundled/components/tree/StoryList.js +0 -5
- package/dist/bundled/components/tree/StoryListFolder.js +0 -7
- package/dist/bundled/components/tree/StoryListFolder.vue_vue_type_style_index_0_scoped_2fedbe45_lang.js +0 -4
|
@@ -5,7 +5,8 @@ import { HstCopyIcon } from "@histoire/controls";
|
|
|
5
5
|
import { unindent } from "@histoire/shared";
|
|
6
6
|
import { clientSupportPlugins } from "virtual:$histoire-support-plugins-client";
|
|
7
7
|
import { isDark } from "../../util/dark.js";
|
|
8
|
-
import BaseEmpty from "../base/BaseEmpty.js";
|
|
8
|
+
import BaseEmpty from "../base/BaseEmpty.vue.js";
|
|
9
|
+
"use strict";
|
|
9
10
|
const _withScopeId = (n) => (pushScopeId("data-v-f528bb1b"), n = n(), popScopeId(), n);
|
|
10
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" };
|
|
11
12
|
const _hoisted_2 = {
|
|
File without changes
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import _sfc_main from "./SearchItem.
|
|
2
|
-
import "./SearchItem.
|
|
1
|
+
import _sfc_main from "./SearchItem.vue2.js";
|
|
2
|
+
import "./SearchItem.vue3.js";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
"use strict";
|
|
4
5
|
const SearchItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d95fcb03"]]);
|
|
5
6
|
export {
|
|
6
7
|
SearchItem as default
|
|
@@ -2,8 +2,9 @@ import { defineComponent, useCssVars, ref, toRefs, openBlock, createElementBlock
|
|
|
2
2
|
import { useRouter } from "@histoire/vendors/vue-router";
|
|
3
3
|
import { Icon } from "@histoire/vendors/iconify";
|
|
4
4
|
import { onKeyboardShortcut } from "../../util/keyboard.js";
|
|
5
|
-
import BaseListItemLink from "../base/BaseListItemLink.js";
|
|
5
|
+
import BaseListItemLink from "../base/BaseListItemLink.vue.js";
|
|
6
6
|
import { useScrollOnActive } from "../../util/scroll.js";
|
|
7
|
+
"use strict";
|
|
7
8
|
const _withScopeId = (n) => (pushScopeId("data-v-d95fcb03"), n = n(), popScopeId(), n);
|
|
8
9
|
const _hoisted_1 = ["data-selected"];
|
|
9
10
|
const _hoisted_2 = { class: "htw-flex-1" };
|
|
@@ -66,10 +67,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
66
67
|
onNavigate: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
|
|
67
68
|
}, {
|
|
68
69
|
default: withCtx(() => {
|
|
69
|
-
var _a
|
|
70
|
+
var _a;
|
|
70
71
|
return [
|
|
71
72
|
createVNode(unref(Icon), {
|
|
72
|
-
icon:
|
|
73
|
+
icon: __props.result.icon ?? defaultIcons[__props.result.kind],
|
|
73
74
|
class: normalizeClass(["htw-w-4 htw-h-4", [
|
|
74
75
|
!unref(selected) ? [
|
|
75
76
|
__props.result.iconColor ? "bind-icon-color" : {
|
|
@@ -84,7 +85,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
84
85
|
createTextVNode(toDisplayString(__props.result.title) + " ", 1),
|
|
85
86
|
createElementVNode("span", _hoisted_4, toDisplayString(kindLabels[__props.result.kind]), 1)
|
|
86
87
|
]),
|
|
87
|
-
((
|
|
88
|
+
((_a = __props.result.path) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
88
89
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.result.path, (p, index) => {
|
|
89
90
|
return openBlock(), createElementBlock("div", {
|
|
90
91
|
key: index,
|
|
File without changes
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createVNode, unref, createTextVNode } from "@histoire/vendors/vue";
|
|
2
2
|
import { Icon } from "@histoire/vendors/iconify";
|
|
3
|
+
"use strict";
|
|
3
4
|
const _hoisted_1 = { class: "histoire-search-loading htw-flex htw-items-center htw-gap-4 htw-pl-6 htw-border htw-border-transparent focus-visible:htw-border-primary-500 htw-h-[51px] htw-opacity-30" };
|
|
4
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
6
|
__name: "SearchLoading",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { defineComponent, defineAsyncComponent, withDirectives, openBlock, createElementBlock, createElementVNode, createVNode, unref, vShow } from "@histoire/vendors/vue";
|
|
2
|
-
import "./SearchLoading.js";
|
|
3
|
-
import _sfc_main$1 from "./SearchLoading.
|
|
2
|
+
import "./SearchLoading.vue.js";
|
|
3
|
+
import _sfc_main$1 from "./SearchLoading.vue2.js";
|
|
4
|
+
"use strict";
|
|
4
5
|
const _hoisted_1 = {
|
|
5
6
|
class: "histoire-search-modal htw-fixed htw-inset-0 htw-bg-white/80 dark:htw-bg-gray-700/80 htw-z-20",
|
|
6
7
|
"data-test-id": "search-modal"
|
|
@@ -19,7 +20,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19
20
|
},
|
|
20
21
|
setup(__props, { emit }) {
|
|
21
22
|
const SearchPane = defineAsyncComponent({
|
|
22
|
-
loader: () => import("./SearchPane.js"),
|
|
23
|
+
loader: () => import("./SearchPane.vue.js"),
|
|
23
24
|
loadingComponent: _sfc_main$1,
|
|
24
25
|
delay: 0
|
|
25
26
|
});
|
|
@@ -5,9 +5,10 @@ import * as flexsearch from "flexsearch";
|
|
|
5
5
|
import charset from "../../node_modules/.pnpm/flexsearch@0.7.21/node_modules/flexsearch/dist/module/lang/latin/advanced.js";
|
|
6
6
|
import language from "../../node_modules/.pnpm/flexsearch@0.7.21/node_modules/flexsearch/dist/module/lang/en.js";
|
|
7
7
|
import { useStoryStore } from "../../stores/story.js";
|
|
8
|
-
import BaseEmpty from "../base/BaseEmpty.js";
|
|
9
|
-
import SearchItem from "./SearchItem.js";
|
|
8
|
+
import BaseEmpty from "../base/BaseEmpty.vue.js";
|
|
9
|
+
import SearchItem from "./SearchItem.vue.js";
|
|
10
10
|
import { searchData, onUpdate } from "./search-title-data.js";
|
|
11
|
+
"use strict";
|
|
11
12
|
const _hoisted_1 = {
|
|
12
13
|
key: 1,
|
|
13
14
|
class: "htw-max-h-[400px] htw-overflow-y-auto htw-rounded-b-lg"
|
|
@@ -167,7 +168,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
167
168
|
};
|
|
168
169
|
}
|
|
169
170
|
function variantResultFactory(story, variant, rank, type = "title") {
|
|
170
|
-
var _a;
|
|
171
171
|
return {
|
|
172
172
|
kind: "variant",
|
|
173
173
|
rank,
|
|
@@ -183,7 +183,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
183
183
|
...type === "docs" ? { tab: "docs" } : {}
|
|
184
184
|
}
|
|
185
185
|
},
|
|
186
|
-
path: [...
|
|
186
|
+
path: [...story.file.path ?? [], story.title],
|
|
187
187
|
icon: variant.icon,
|
|
188
188
|
iconColor: variant.iconColor,
|
|
189
189
|
type
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, watchEffect, markRaw, openBlock, createBlock, resolveDynamicComponent, mergeProps, createCommentVNode } from "@histoire/vendors/vue";
|
|
2
2
|
import { clientSupportPlugins } from "virtual:$histoire-support-plugins-client";
|
|
3
|
+
"use strict";
|
|
3
4
|
const __default__ = {
|
|
4
5
|
inheritAttrs: false
|
|
5
6
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, watchEffect, markRaw, openBlock, createBlock, resolveDynamicComponent, mergeProps, createCommentVNode } from "@histoire/vendors/vue";
|
|
2
2
|
import { clientSupportPlugins } from "virtual:$histoire-support-plugins-client";
|
|
3
|
+
"use strict";
|
|
3
4
|
const __default__ = {
|
|
4
5
|
inheritAttrs: false
|
|
5
6
|
};
|
package/dist/bundled/components/story/{StoryResponsivePreview.js → StoryResponsivePreview.vue.js}
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import _sfc_main from "./StoryResponsivePreview.
|
|
2
|
-
import "./StoryResponsivePreview.
|
|
1
|
+
import _sfc_main from "./StoryResponsivePreview.vue2.js";
|
|
2
|
+
import "./StoryResponsivePreview.vue3.js";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
"use strict";
|
|
4
5
|
const StoryResponsivePreview = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a83b1911"]]);
|
|
5
6
|
export {
|
|
6
7
|
StoryResponsivePreview as default
|
|
@@ -1,10 +1,11 @@
|
|
|
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 HatchedPattern from "../misc/HatchedPattern.js";
|
|
5
|
-
import CheckerboardPattern from "../misc/CheckerboardPattern.js";
|
|
4
|
+
import HatchedPattern from "../misc/HatchedPattern.vue.js";
|
|
5
|
+
import CheckerboardPattern from "../misc/CheckerboardPattern.vue.js";
|
|
6
6
|
import { usePreviewSettingsStore } from "../../stores/preview-settings.js";
|
|
7
7
|
import { VTooltip } from "@histoire/vendors/floating-vue";
|
|
8
|
+
"use strict";
|
|
8
9
|
const _withScopeId = (n) => (pushScopeId("data-v-a83b1911"), n = n(), popScopeId(), n);
|
|
9
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" };
|
|
10
11
|
const _hoisted_2 = {
|
|
@@ -46,11 +47,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
46
47
|
}
|
|
47
48
|
function useDragger(el, value, min, max, axis) {
|
|
48
49
|
function onMouseDown(event) {
|
|
49
|
-
var _a;
|
|
50
50
|
event.preventDefault();
|
|
51
51
|
event.stopPropagation();
|
|
52
52
|
const start = axis === "x" ? event.clientX : event.clientY;
|
|
53
|
-
const startValue =
|
|
53
|
+
const startValue = value.value ?? (axis === "x" ? previewWrapper.value.clientWidth - 67 : previewWrapper.value.clientHeight - 70);
|
|
54
54
|
resizing.value = true;
|
|
55
55
|
const removeListeners = [
|
|
56
56
|
addWindowListener("mousemove", onMouseMove),
|
|
@@ -115,10 +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(() =>
|
|
119
|
-
var _a, _b;
|
|
120
|
-
return ((_a = responsiveWidth.value) != null ? _a : "Auto") + " \xD7 " + ((_b = responsiveHeight.value) != null ? _b : "Auto");
|
|
121
|
-
});
|
|
118
|
+
const sizeTooltip = computed(() => (responsiveWidth.value ?? "Auto") + " × " + (responsiveHeight.value ?? "Auto"));
|
|
122
119
|
return (_ctx, _cache) => {
|
|
123
120
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
124
121
|
unref(isResponsiveEnabled) ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
File without changes
|
|
@@ -2,10 +2,11 @@ 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.js";
|
|
6
|
-
import ToolbarBackground from "../toolbar/ToolbarBackground.js";
|
|
7
|
-
import "../toolbar/ToolbarTextDirection.js";
|
|
8
|
-
import _sfc_main$1 from "../toolbar/ToolbarTextDirection.
|
|
5
|
+
import StoryVariantGridItem from "./StoryVariantGridItem.vue.js";
|
|
6
|
+
import ToolbarBackground from "../toolbar/ToolbarBackground.vue.js";
|
|
7
|
+
import "../toolbar/ToolbarTextDirection.vue.js";
|
|
8
|
+
import _sfc_main$1 from "../toolbar/ToolbarTextDirection.vue2.js";
|
|
9
|
+
"use strict";
|
|
9
10
|
const _hoisted_1 = { class: "histoire-story-variant-grid htw-flex htw-flex-col htw-items-stretch htw-h-full __histoire-pane-shadow-from-right" };
|
|
10
11
|
const _hoisted_2 = {
|
|
11
12
|
key: 0,
|
package/dist/bundled/components/story/{StoryVariantGridItem.js → StoryVariantGridItem.vue.js}
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import _sfc_main from "./StoryVariantGridItem.
|
|
2
|
-
import "./StoryVariantGridItem.
|
|
1
|
+
import _sfc_main from "./StoryVariantGridItem.vue2.js";
|
|
2
|
+
import "./StoryVariantGridItem.vue3.js";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
"use strict";
|
|
4
5
|
const StoryVariantGridItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f7c98176"]]);
|
|
5
6
|
export {
|
|
6
7
|
StoryVariantGridItem as default
|
|
@@ -7,11 +7,12 @@ import { useScrollOnActive } from "../../util/scroll.js";
|
|
|
7
7
|
import { usePreviewSettingsStore } from "../../stores/preview-settings.js";
|
|
8
8
|
import { getContrastColor } from "../../util/preview-settings.js";
|
|
9
9
|
import { histoireConfig } from "../../util/config.js";
|
|
10
|
-
import "./GenericRenderStory.js";
|
|
11
|
-
import "../toolbar/ToolbarNewTab.js";
|
|
12
|
-
import CheckerboardPattern from "../misc/CheckerboardPattern.js";
|
|
13
|
-
import _sfc_main$1 from "../toolbar/ToolbarNewTab.
|
|
14
|
-
import _sfc_main$2 from "./GenericRenderStory.
|
|
10
|
+
import "./GenericRenderStory.vue.js";
|
|
11
|
+
import "../toolbar/ToolbarNewTab.vue.js";
|
|
12
|
+
import CheckerboardPattern from "../misc/CheckerboardPattern.vue.js";
|
|
13
|
+
import _sfc_main$1 from "../toolbar/ToolbarNewTab.vue2.js";
|
|
14
|
+
import _sfc_main$2 from "./GenericRenderStory.vue2.js";
|
|
15
|
+
"use strict";
|
|
15
16
|
const _withScopeId = (n) => (pushScopeId("data-v-f7c98176"), n = n(), popScopeId(), n);
|
|
16
17
|
const _hoisted_1 = { class: "htw-flex-none htw-flex htw-items-center" };
|
|
17
18
|
const _hoisted_2 = { class: "htw-truncate htw-flex-1" };
|
|
@@ -84,19 +85,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
84
85
|
"htw-bg-primary-200 hover:htw-bg-primary-300 htw-text-primary-800 dark:htw-bg-primary-700 dark:hover:htw-bg-primary-800 dark:htw-text-primary-200": unref(isActive)
|
|
85
86
|
}])
|
|
86
87
|
}, {
|
|
87
|
-
default: withCtx(() =>
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
createElementVNode("span", _hoisted_2, toDisplayString(unref(variant).title), 1)
|
|
98
|
-
];
|
|
99
|
-
}),
|
|
88
|
+
default: withCtx(() => [
|
|
89
|
+
createVNode(unref(Icon), {
|
|
90
|
+
icon: unref(variant).icon ?? "carbon:cube",
|
|
91
|
+
class: normalizeClass(["htw-w-4 htw-h-4 htw-opacity-50", {
|
|
92
|
+
"htw-text-gray-500": !unref(isActive) && !unref(variant).iconColor,
|
|
93
|
+
"bind-icon-color": !unref(isActive) && unref(variant).iconColor
|
|
94
|
+
}])
|
|
95
|
+
}, null, 8, ["icon", "class"]),
|
|
96
|
+
createElementVNode("span", _hoisted_2, toDisplayString(unref(variant).title), 1)
|
|
97
|
+
]),
|
|
100
98
|
_: 1
|
|
101
99
|
}, 8, ["to", "class"])), [
|
|
102
100
|
[_directive_tooltip, unref(variant).title]
|
|
File without changes
|
package/dist/bundled/components/story/{StoryVariantListItem.js → StoryVariantListItem.vue.js}
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import _sfc_main from "./StoryVariantListItem.
|
|
2
|
-
import "./StoryVariantListItem.
|
|
1
|
+
import _sfc_main from "./StoryVariantListItem.vue2.js";
|
|
2
|
+
import "./StoryVariantListItem.vue3.js";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
"use strict";
|
|
4
5
|
const StoryVariantListItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ab890d9c"]]);
|
|
5
6
|
export {
|
|
6
7
|
StoryVariantListItem as default
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineComponent, useCssVars, unref, toRefs, ref, openBlock, createElementBlock, createVNode, withCtx, normalizeClass, createElementVNode, toDisplayString, pushScopeId, popScopeId } from "@histoire/vendors/vue";
|
|
2
2
|
import { useCurrentVariantRoute } from "../../util/variant.js";
|
|
3
|
-
import BaseListItemLink from "../base/BaseListItemLink.js";
|
|
3
|
+
import BaseListItemLink from "../base/BaseListItemLink.vue.js";
|
|
4
4
|
import { Icon } from "@histoire/vendors/iconify";
|
|
5
5
|
import { useScrollOnActive } from "../../util/scroll.js";
|
|
6
|
+
"use strict";
|
|
6
7
|
const _withScopeId = (n) => (pushScopeId("data-v-ab890d9c"), n = n(), popScopeId(), n);
|
|
7
8
|
const _hoisted_1 = { class: "htw-truncate" };
|
|
8
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -34,19 +35,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
34
35
|
"is-active": unref(isActive),
|
|
35
36
|
class: "htw-px-2 htw-py-2 md:htw-py-1.5 htw-m-1 htw-rounded-sm htw-flex htw-items-center htw-gap-2"
|
|
36
37
|
}, {
|
|
37
|
-
default: withCtx(({ active }) =>
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
createElementVNode("span", _hoisted_1, toDisplayString(unref(variant).title), 1)
|
|
48
|
-
];
|
|
49
|
-
}),
|
|
38
|
+
default: withCtx(({ active }) => [
|
|
39
|
+
createVNode(unref(Icon), {
|
|
40
|
+
icon: unref(variant).icon ?? "carbon:cube",
|
|
41
|
+
class: normalizeClass(["htw-w-5 htw-h-5 sm:htw-w-4 sm:htw-h-4 htw-flex-none", {
|
|
42
|
+
"htw-text-gray-500": !active && !unref(variant).iconColor,
|
|
43
|
+
"bind-icon-color": !active && unref(variant).iconColor
|
|
44
|
+
}])
|
|
45
|
+
}, null, 8, ["icon", "class"]),
|
|
46
|
+
createElementVNode("span", _hoisted_1, toDisplayString(unref(variant).title), 1)
|
|
47
|
+
]),
|
|
50
48
|
_: 1
|
|
51
49
|
}, 8, ["to", "is-active"])
|
|
52
50
|
], 512);
|
|
File without changes
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import _sfc_main from "./StoryVariantSingle.
|
|
2
|
-
import "./StoryVariantSingle.
|
|
1
|
+
import _sfc_main from "./StoryVariantSingle.vue2.js";
|
|
2
|
+
import "./StoryVariantSingle.vue3.js";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
"use strict";
|
|
4
5
|
const StoryVariantSingle = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ddfc5b4f"]]);
|
|
5
6
|
export {
|
|
6
7
|
StoryVariantSingle as default
|
|
@@ -2,10 +2,11 @@ import { defineComponent, useCssVars, unref, computed, openBlock, createElementB
|
|
|
2
2
|
import { useStoryStore } from "../../stores/story.js";
|
|
3
3
|
import { Icon } from "@histoire/vendors/iconify";
|
|
4
4
|
import { isMobile } from "../../util/responsive.js";
|
|
5
|
-
import BaseSplitPane from "../base/BaseSplitPane.js";
|
|
6
|
-
import StoryVariantListItem from "./StoryVariantListItem.js";
|
|
7
|
-
import "./StoryVariantSingleView.js";
|
|
8
|
-
import _sfc_main$1 from "./StoryVariantSingleView.
|
|
5
|
+
import BaseSplitPane from "../base/BaseSplitPane.vue.js";
|
|
6
|
+
import StoryVariantListItem from "./StoryVariantListItem.vue.js";
|
|
7
|
+
import "./StoryVariantSingleView.vue.js";
|
|
8
|
+
import _sfc_main$1 from "./StoryVariantSingleView.vue2.js";
|
|
9
|
+
"use strict";
|
|
9
10
|
const _withScopeId = (n) => (pushScopeId("data-v-ddfc5b4f"), n = n(), popScopeId(), n);
|
|
10
11
|
const _hoisted_1 = {
|
|
11
12
|
key: 0,
|
|
@@ -43,7 +44,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
43
44
|
});
|
|
44
45
|
const variant = computed(() => storyStore.currentVariant);
|
|
45
46
|
return (_ctx, _cache) => {
|
|
46
|
-
var _a;
|
|
47
47
|
return unref(hasSingleVariant) && unref(variant) ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
48
48
|
createVNode(_sfc_main$1, {
|
|
49
49
|
variant: unref(variant),
|
|
@@ -57,7 +57,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
57
57
|
}, [
|
|
58
58
|
unref(variant) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
59
59
|
createVNode(unref(Icon), {
|
|
60
|
-
icon:
|
|
60
|
+
icon: unref(variant).icon ?? "carbon:cube",
|
|
61
61
|
class: normalizeClass(["htw-w-5 htw-h-5 htw-flex-none", {
|
|
62
62
|
"htw-text-gray-500": !unref(variant).iconColor,
|
|
63
63
|
"bind-icon-color": unref(variant).iconColor
|
|
File without changes
|
|
@@ -3,9 +3,10 @@ import { isDark } from "../../util/dark.js";
|
|
|
3
3
|
import { histoireConfig } from "../../util/config.js";
|
|
4
4
|
import { usePreviewSettingsStore } from "../../stores/preview-settings.js";
|
|
5
5
|
import { getContrastColor } from "../../util/preview-settings.js";
|
|
6
|
-
import "./GenericRenderStory.js";
|
|
7
|
-
import StoryResponsivePreview from "./StoryResponsivePreview.js";
|
|
8
|
-
import _sfc_main$1 from "./GenericRenderStory.
|
|
6
|
+
import "./GenericRenderStory.vue.js";
|
|
7
|
+
import StoryResponsivePreview from "./StoryResponsivePreview.vue.js";
|
|
8
|
+
import _sfc_main$1 from "./GenericRenderStory.vue2.js";
|
|
9
|
+
"use strict";
|
|
9
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
11
|
__name: "StoryVariantSinglePreviewNative",
|
|
11
12
|
props: {
|
|
@@ -5,8 +5,9 @@ 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.js";
|
|
8
|
+
import StoryResponsivePreview from "./StoryResponsivePreview.vue.js";
|
|
9
9
|
import { toRawDeep } from "../../util/state.js";
|
|
10
|
+
"use strict";
|
|
10
11
|
const _hoisted_1 = ["src"];
|
|
11
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
13
|
__name: "StoryVariantSinglePreviewRemote",
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, unref, createVNode, createBlock, createCommentVNode } from "@histoire/vendors/vue";
|
|
2
2
|
import { isMobile } from "../../util/responsive.js";
|
|
3
|
-
import "../toolbar/ToolbarTitle.js";
|
|
4
|
-
import "../toolbar/ToolbarResponsiveSize.js";
|
|
5
|
-
import ToolbarBackground from "../toolbar/ToolbarBackground.js";
|
|
6
|
-
import "../toolbar/ToolbarTextDirection.js";
|
|
7
|
-
import "../toolbar/ToolbarNewTab.js";
|
|
8
|
-
import "./StoryVariantSinglePreviewNative.js";
|
|
9
|
-
import "./StoryVariantSinglePreviewRemote.js";
|
|
10
|
-
import _sfc_main$1 from "../toolbar/ToolbarTitle.
|
|
11
|
-
import _sfc_main$2 from "../toolbar/ToolbarResponsiveSize.
|
|
12
|
-
import _sfc_main$3 from "../toolbar/ToolbarTextDirection.
|
|
13
|
-
import _sfc_main$4 from "../toolbar/ToolbarNewTab.
|
|
14
|
-
import _sfc_main$5 from "./StoryVariantSinglePreviewNative.
|
|
15
|
-
import _sfc_main$6 from "./StoryVariantSinglePreviewRemote.
|
|
3
|
+
import "../toolbar/ToolbarTitle.vue.js";
|
|
4
|
+
import "../toolbar/ToolbarResponsiveSize.vue.js";
|
|
5
|
+
import ToolbarBackground from "../toolbar/ToolbarBackground.vue.js";
|
|
6
|
+
import "../toolbar/ToolbarTextDirection.vue.js";
|
|
7
|
+
import "../toolbar/ToolbarNewTab.vue.js";
|
|
8
|
+
import "./StoryVariantSinglePreviewNative.vue.js";
|
|
9
|
+
import "./StoryVariantSinglePreviewRemote.vue.js";
|
|
10
|
+
import _sfc_main$1 from "../toolbar/ToolbarTitle.vue2.js";
|
|
11
|
+
import _sfc_main$2 from "../toolbar/ToolbarResponsiveSize.vue2.js";
|
|
12
|
+
import _sfc_main$3 from "../toolbar/ToolbarTextDirection.vue2.js";
|
|
13
|
+
import _sfc_main$4 from "../toolbar/ToolbarNewTab.vue2.js";
|
|
14
|
+
import _sfc_main$5 from "./StoryVariantSinglePreviewNative.vue2.js";
|
|
15
|
+
import _sfc_main$6 from "./StoryVariantSinglePreviewRemote.vue2.js";
|
|
16
|
+
"use strict";
|
|
16
17
|
const _hoisted_1 = {
|
|
17
18
|
class: "histoire-story-variant-single-view htw-h-full htw-flex htw-flex-col",
|
|
18
19
|
"data-test-id": "story-variant-single-view"
|
|
@@ -2,14 +2,15 @@ import { defineComponent, watch, unref, openBlock, createBlock, withCtx, createV
|
|
|
2
2
|
import { useRouter, useRoute } from "@histoire/vendors/vue-router";
|
|
3
3
|
import { Icon } from "@histoire/vendors/iconify";
|
|
4
4
|
import { useStoryStore } from "../../stores/story.js";
|
|
5
|
-
import BaseSplitPane from "../base/BaseSplitPane.js";
|
|
6
|
-
import BaseEmpty from "../base/BaseEmpty.js";
|
|
5
|
+
import BaseSplitPane from "../base/BaseSplitPane.vue.js";
|
|
6
|
+
import BaseEmpty from "../base/BaseEmpty.vue.js";
|
|
7
7
|
import { isMobile } from "../../util/responsive.js";
|
|
8
|
-
import StoryViewer from "./StoryViewer.js";
|
|
9
|
-
import "../panel/StorySidePanel.js";
|
|
10
|
-
import "../panel/StoryDocs.js";
|
|
11
|
-
import _sfc_main$1 from "../panel/StoryDocs.
|
|
12
|
-
import _sfc_main$2 from "../panel/StorySidePanel.
|
|
8
|
+
import StoryViewer from "./StoryViewer.vue.js";
|
|
9
|
+
import "../panel/StorySidePanel.vue.js";
|
|
10
|
+
import "../panel/StoryDocs.vue.js";
|
|
11
|
+
import _sfc_main$1 from "../panel/StoryDocs.vue2.js";
|
|
12
|
+
import _sfc_main$2 from "../panel/StorySidePanel.vue2.js";
|
|
13
|
+
"use strict";
|
|
13
14
|
const _hoisted_1 = {
|
|
14
15
|
key: 1,
|
|
15
16
|
class: "histoire-story-view histoire-with-story htw-h-full"
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import _sfc_main from "./StoryViewer.
|
|
2
|
-
import "./StoryViewer.
|
|
1
|
+
import _sfc_main from "./StoryViewer.vue2.js";
|
|
2
|
+
import "./StoryViewer.vue3.js";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
"use strict";
|
|
4
5
|
const StoryViewer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6046525f"]]);
|
|
5
6
|
export {
|
|
6
7
|
StoryViewer as default
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { defineComponent, useCssVars, unref, computed, ref, watch, openBlock, createElementBlock, Fragment, createElementVNode, createBlock, createCommentVNode, createVNode, withCtx, renderList, pushScopeId, popScopeId } from "@histoire/vendors/vue";
|
|
2
2
|
import { useStoryStore } from "../../stores/story.js";
|
|
3
|
-
import StoryVariantListItem from "./StoryVariantListItem.js";
|
|
4
|
-
import "../app/MobileOverlay.js";
|
|
5
|
-
import "./StoryVariantGrid.js";
|
|
6
|
-
import StoryVariantSingle from "./StoryVariantSingle.js";
|
|
7
|
-
import _sfc_main$1 from "./StoryVariantGrid.
|
|
8
|
-
import _sfc_main$2 from "../app/MobileOverlay.
|
|
3
|
+
import StoryVariantListItem from "./StoryVariantListItem.vue.js";
|
|
4
|
+
import "../app/MobileOverlay.vue.js";
|
|
5
|
+
import "./StoryVariantGrid.vue.js";
|
|
6
|
+
import StoryVariantSingle from "./StoryVariantSingle.vue.js";
|
|
7
|
+
import _sfc_main$1 from "./StoryVariantGrid.vue2.js";
|
|
8
|
+
import _sfc_main$2 from "../app/MobileOverlay.vue2.js";
|
|
9
|
+
"use strict";
|
|
9
10
|
const _withScopeId = (n) => (pushScopeId("data-v-6046525f"), n = n(), popScopeId(), n);
|
|
10
11
|
const _hoisted_1 = { class: "histoire-story-viewer htw-bg-gray-50 htw-h-full dark:htw-bg-gray-750" };
|
|
11
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
File without changes
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import _sfc_main from "./ToolbarBackground.
|
|
2
|
-
import "./ToolbarBackground.
|
|
1
|
+
import _sfc_main from "./ToolbarBackground.vue2.js";
|
|
2
|
+
import "./ToolbarBackground.vue3.js";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
"use strict";
|
|
4
5
|
const ToolbarBackground = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c48fb2b2"]]);
|
|
5
6
|
export {
|
|
6
7
|
ToolbarBackground as default
|