@histoire/app 0.17.17 → 1.0.0-alpha.1
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/app/style/main.pcss +1 -1
- package/dist/app/style/sandbox.css +1 -1
- package/dist/bundle-main-dev.js +1 -1
- package/dist/bundle-main.js +2 -2
- package/dist/bundled/App.vue2.js +11 -11
- package/dist/bundled/{style.css → app.css} +41 -41
- package/dist/bundled/components/HomeView.vue2.js +1 -1
- package/dist/bundled/components/app/AppHeader.vue2.js +2 -2
- package/dist/bundled/components/app/AppLogo.vue2.js +3 -3
- package/dist/bundled/components/app/Breadcrumb.vue.js +2 -2
- package/dist/bundled/components/app/Breadcrumb.vue2.js +7 -9
- package/dist/bundled/components/app/InitialLoading.vue2.js +1 -1
- package/dist/bundled/components/base/BaseEmpty.vue.js +2 -3
- package/dist/bundled/components/base/BaseIcon.vue.js +1 -1
- package/dist/bundled/components/base/BaseIcon.vue2.js +1 -2
- package/dist/bundled/components/base/BaseListItemLink.vue.js +1 -1
- package/dist/bundled/components/base/BaseOverflowMenu.vue2.js +1 -1
- package/dist/bundled/components/base/BaseOverflowTab.vue.js +1 -1
- package/dist/bundled/components/base/BaseSelect.vue2.js +2 -2
- package/dist/bundled/components/base/BaseSplitPane.vue.js +1 -1
- package/dist/bundled/components/base/BaseSplitPane.vue2.js +2 -4
- package/dist/bundled/components/base/BaseTab.vue.js +1 -1
- package/dist/bundled/components/base/BaseTag.vue.js +1 -1
- package/dist/bundled/components/command/CommandPrompts.vue2.js +3 -7
- package/dist/bundled/components/command/CommandPromptsModal.vue2.js +1 -1
- package/dist/bundled/components/command/PromptSelect.vue2.js +3 -3
- package/dist/bundled/components/command/PromptText.vue2.js +1 -1
- package/dist/bundled/components/misc/CheckerboardPattern.vue.js +31 -34
- package/dist/bundled/components/misc/HatchedPattern.vue.js +2 -3
- package/dist/bundled/components/panel/ControlsComponentPropItem.vue2.js +1 -1
- package/dist/bundled/components/panel/ControlsComponentProps.vue2.js +2 -4
- package/dist/bundled/components/panel/ControlsComponentState.vue2.js +1 -2
- package/dist/bundled/components/panel/PaneTabs.vue2.js +11 -11
- package/dist/bundled/components/panel/StatePresets.vue2.js +3 -4
- package/dist/bundled/components/panel/StoryControls.vue2.js +5 -6
- package/dist/bundled/components/panel/StoryDocs.vue2.js +4 -4
- package/dist/bundled/components/panel/StoryEvents.vue2.js +2 -2
- package/dist/bundled/components/panel/StorySidePanel.vue2.js +10 -12
- package/dist/bundled/components/panel/StorySourceCode.vue.js +2 -2
- package/dist/bundled/components/panel/StorySourceCode.vue2.js +15 -20
- package/dist/bundled/components/search/SearchItem.vue.js +2 -2
- package/dist/bundled/components/search/SearchItem.vue2.js +4 -6
- package/dist/bundled/components/search/SearchLoading.vue2.js +2 -2
- package/dist/bundled/components/search/SearchModal.vue2.js +1 -1
- package/dist/bundled/components/search/SearchPane.vue2.js +41 -59
- package/dist/bundled/components/search/search-docs-data.js +1 -1
- package/dist/bundled/components/search/search-title-data.js +1 -1
- package/dist/bundled/components/story/GenericMountStory.vue2.js +1 -1
- package/dist/bundled/components/story/StoryResponsivePreview.vue.js +2 -2
- package/dist/bundled/components/story/StoryResponsivePreview.vue2.js +7 -10
- package/dist/bundled/components/story/StoryVariantGrid.vue2.js +4 -7
- package/dist/bundled/components/story/StoryVariantGridItem.vue.js +2 -2
- package/dist/bundled/components/story/StoryVariantGridItem.vue2.js +13 -15
- package/dist/bundled/components/story/StoryVariantListItem.vue.js +2 -2
- package/dist/bundled/components/story/StoryVariantListItem.vue2.js +3 -4
- package/dist/bundled/components/story/StoryVariantSingle.vue.js +2 -2
- package/dist/bundled/components/story/StoryVariantSingle.vue2.js +2 -3
- package/dist/bundled/components/story/StoryVariantSinglePreviewNative.vue2.js +2 -2
- package/dist/bundled/components/story/StoryVariantSinglePreviewRemote.vue2.js +3 -3
- package/dist/bundled/components/story/StoryVariantSingleView.vue2.js +4 -4
- package/dist/bundled/components/story/StoryView.vue2.js +4 -4
- package/dist/bundled/components/story/StoryViewer.vue.js +2 -2
- package/dist/bundled/components/story/StoryViewer.vue2.js +3 -4
- package/dist/bundled/components/toolbar/ToolbarBackground.vue.js +1 -1
- package/dist/bundled/components/toolbar/ToolbarBackground.vue2.js +3 -4
- package/dist/bundled/components/toolbar/ToolbarResponsiveSize.vue2.js +16 -17
- package/dist/bundled/components/tree/StoryGroup.vue2.js +8 -10
- package/dist/bundled/components/tree/StoryList.vue2.js +3 -3
- package/dist/bundled/components/tree/StoryListFolder.vue.js +2 -2
- package/dist/bundled/components/tree/StoryListFolder.vue2.js +11 -13
- package/dist/bundled/components/tree/StoryListItem.vue.js +2 -2
- package/dist/bundled/components/tree/StoryListItem.vue2.js +4 -5
- package/dist/bundled/index.js +4 -4
- package/dist/bundled/plugin.js +1 -2
- package/dist/bundled/sandbox.js +14 -19
- package/dist/bundled/stores/folder.js +1 -1
- package/dist/bundled/stores/preview-settings.js +1 -1
- package/dist/bundled/util/dark.js +1 -1
- package/dist/bundled/util/events.js +2 -4
- package/dist/bundled/util/scroll.js +1 -1
- package/dist/style.css +281 -293
- package/package.json +22 -23
- package/src/app/App.vue +11 -11
- package/src/app/api.ts +2 -2
- package/src/app/components/HomeView.vue +1 -1
- 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 +2 -2
- package/src/app/components/base/BaseOverflowMenu.vue +2 -2
- package/src/app/components/base/BaseSelect.vue +2 -2
- package/src/app/components/command/CommandPrompts.vue +3 -6
- package/src/app/components/command/PromptSelect.vue +1 -1
- package/src/app/components/panel/ControlsComponentPropItem.vue +3 -3
- package/src/app/components/panel/ControlsComponentProps.vue +1 -1
- package/src/app/components/panel/ControlsComponentState.vue +2 -2
- package/src/app/components/panel/ControlsComponentStateItem.vue +2 -2
- package/src/app/components/panel/PaneTabs.vue +2 -2
- package/src/app/components/panel/StatePresets.vue +4 -4
- package/src/app/components/panel/StoryControls.vue +4 -4
- package/src/app/components/panel/StoryDocs.vue +5 -5
- package/src/app/components/panel/StoryEvent.vue +1 -1
- package/src/app/components/panel/StoryEvents.vue +2 -2
- package/src/app/components/panel/StorySidePanel.vue +2 -2
- package/src/app/components/panel/StorySourceCode.vue +4 -4
- package/src/app/components/search/SearchItem.vue +2 -2
- package/src/app/components/search/SearchItemContent.vue +1 -1
- package/src/app/components/search/SearchPane.vue +49 -61
- 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/search/types.ts +1 -1
- package/src/app/components/story/GenericMountStory.vue +1 -1
- package/src/app/components/story/GenericRenderStory.vue +1 -1
- package/src/app/components/story/StoryResponsivePreview.vue +5 -5
- package/src/app/components/story/StoryVariantGrid.vue +1 -1
- package/src/app/components/story/StoryVariantGridItem.vue +8 -8
- package/src/app/components/story/StoryVariantListItem.vue +3 -3
- package/src/app/components/story/StoryVariantSingle.vue +1 -1
- package/src/app/components/story/StoryVariantSinglePreviewNative.vue +3 -3
- package/src/app/components/story/StoryVariantSinglePreviewRemote.vue +6 -6
- package/src/app/components/story/StoryVariantSingleView.vue +4 -4
- package/src/app/components/story/StoryView.vue +4 -4
- package/src/app/components/story/StoryViewer.vue +1 -1
- package/src/app/components/toolbar/ToolbarNewTab.vue +1 -1
- package/src/app/components/toolbar/ToolbarTitle.vue +1 -1
- package/src/app/components/tree/StoryGroup.vue +2 -2
- package/src/app/components/tree/StoryList.vue +2 -2
- package/src/app/components/tree/StoryListFolder.vue +1 -1
- package/src/app/components/tree/StoryListItem.vue +2 -2
- package/src/app/index.ts +4 -4
- package/src/app/sandbox.ts +13 -17
- package/src/app/stores/folder.ts +1 -1
- package/src/app/stores/preview-settings.ts +2 -2
- package/src/app/stores/story.ts +1 -1
- package/src/app/style/main.pcss +1 -1
- package/src/app/style/sandbox.css +1 -1
- package/src/app/types.ts +1 -1
- package/src/app/util/dark.ts +1 -1
- package/src/app/util/docs.ts +1 -1
- package/src/app/util/keyboard.ts +1 -1
- package/src/app/util/mapping.ts +1 -1
- package/src/app/util/preview-settings.ts +1 -1
- package/src/app/util/sandbox.ts +1 -1
- package/src/app/util/scroll.ts +1 -1
- package/src/app/util/variant.ts +1 -1
- package/src/bundle-main-dev.js +1 -1
- package/src/bundle-main.js +2 -2
- package/tailwind.config.cjs +1 -1
- package/vite.config.ts +2 -2
- package/dist/bundled/components/app/Breadcrumb.vue3.js +0 -1
- package/dist/bundled/components/base/BaseEmpty.vue2.js +0 -1
- package/dist/bundled/components/base/BaseIcon.vue3.js +0 -1
- package/dist/bundled/components/base/BaseSplitPane.vue3.js +0 -1
- package/dist/bundled/components/misc/HatchedPattern.vue2.js +0 -1
- package/dist/bundled/components/panel/StorySourceCode.vue3.js +0 -1
- package/dist/bundled/components/search/SearchItem.vue3.js +0 -1
- package/dist/bundled/components/story/StoryResponsivePreview.vue3.js +0 -1
- package/dist/bundled/components/story/StoryVariantGridItem.vue3.js +0 -1
- package/dist/bundled/components/story/StoryVariantListItem.vue3.js +0 -1
- package/dist/bundled/components/story/StoryVariantSingle.vue3.js +0 -1
- package/dist/bundled/components/story/StoryViewer.vue3.js +0 -1
- package/dist/bundled/components/toolbar/ToolbarBackground.vue3.js +0 -1
- package/dist/bundled/components/tree/StoryListFolder.vue3.js +0 -1
- package/dist/bundled/components/tree/StoryListItem.vue3.js +0 -1
- package/dist/bundled/node_modules/.pnpm/flexsearch@0.7.21/node_modules/flexsearch/dist/module/common.js +0 -52
- package/dist/bundled/node_modules/.pnpm/flexsearch@0.7.21/node_modules/flexsearch/dist/module/lang/en.js +0 -10
- package/dist/bundled/node_modules/.pnpm/flexsearch@0.7.21/node_modules/flexsearch/dist/module/lang/latin/advanced.js +0 -16
- package/dist/bundled/node_modules/.pnpm/flexsearch@0.7.21/node_modules/flexsearch/dist/module/lang/latin/balance.js +0 -31
- package/dist/bundled/node_modules/.pnpm/flexsearch@0.7.21/node_modules/flexsearch/dist/module/lang/latin/simple.js +0 -15
- package/dist/bundled/node_modules/.pnpm/flexsearch@0.7.21/node_modules/flexsearch/dist/module/lang.js +0 -60
- package/dist/bundled/node_modules/.pnpm/flexsearch@0.7.21/node_modules/flexsearch/dist/module/type.js +0 -11
package/dist/app/style/main.pcss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Display&display=swap');
|
|
2
2
|
@import 'floating-vue/dist/style.css';
|
|
3
|
-
@import '@histoire/controls/dist/
|
|
3
|
+
@import '@histoire/controls/dist/index.es.css';
|
|
4
4
|
|
|
5
5
|
@import 'floating.pcss';
|
|
6
6
|
@import 'transitions.pcss';
|
package/dist/bundle-main-dev.js
CHANGED
package/dist/bundle-main.js
CHANGED
package/dist/bundled/App.vue2.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { ref, computed, watch, onMounted, resolveComponent, openBlock, Fragment, unref, createBlock,
|
|
2
|
-
import { files, tree, onUpdate } from "virtual:$histoire-stories";
|
|
1
|
+
import { defineComponent, ref, computed, watch, onMounted, resolveComponent, openBlock, createElementBlock, Fragment, unref, createBlock, createCommentVNode, createElementVNode, normalizeStyle, createVNode, withCtx, Transition } from "@histoire/vendors/vue";
|
|
3
2
|
import { useTitle } from "@histoire/vendors/vue-use";
|
|
4
|
-
import
|
|
5
|
-
import BaseSplitPane from "./components/base/BaseSplitPane.vue.js";
|
|
3
|
+
import { files, tree, onUpdate } from "virtual:$histoire-stories";
|
|
6
4
|
import "./components/app/AppHeader.vue.js";
|
|
5
|
+
import Breadcrumb from "./components/app/Breadcrumb.vue.js";
|
|
6
|
+
import "./components/app/InitialLoading.vue.js";
|
|
7
|
+
import BaseSplitPane from "./components/base/BaseSplitPane.vue.js";
|
|
8
|
+
import "./components/command/CommandPromptsModal.vue.js";
|
|
9
|
+
import "./components/search/SearchModal.vue.js";
|
|
10
|
+
import "./components/story/GenericMountStory.vue.js";
|
|
11
|
+
import "./components/tree/StoryList.vue.js";
|
|
12
|
+
import { useCommandStore } from "./stores/command.js";
|
|
7
13
|
import { useStoryStore } from "./stores/story.js";
|
|
8
|
-
import { mapFile } from "./util/mapping.js";
|
|
9
14
|
import { histoireConfig } from "./util/config.js";
|
|
10
15
|
import { onKeyboardShortcut } from "./util/keyboard.js";
|
|
16
|
+
import { mapFile } from "./util/mapping.js";
|
|
11
17
|
import { isMobile } from "./util/responsive.js";
|
|
12
|
-
import { useCommandStore } from "./stores/command.js";
|
|
13
|
-
import Breadcrumb from "./components/app/Breadcrumb.vue.js";
|
|
14
|
-
import "./components/search/SearchModal.vue.js";
|
|
15
|
-
import "./components/command/CommandPromptsModal.vue.js";
|
|
16
|
-
import "./components/app/InitialLoading.vue.js";
|
|
17
|
-
import "./components/story/GenericMountStory.vue.js";
|
|
18
18
|
import _sfc_main$1 from "./components/story/GenericMountStory.vue2.js";
|
|
19
19
|
import _sfc_main$2 from "./components/app/AppHeader.vue2.js";
|
|
20
20
|
import _sfc_main$3 from "./components/tree/StoryList.vue2.js";
|
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
|
|
2
|
+
.bind-tree-margin[data-v-048885b7] {
|
|
3
|
+
margin-left: var(--10fa28ae);
|
|
4
|
+
}
|
|
5
|
+
.bind-icon-color[data-v-048885b7] {
|
|
6
|
+
color: var(--8aa08936);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.bind-tree-padding[data-v-10840b73] {
|
|
10
|
+
padding-left: var(--224f37c4);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.bind-icon-color[data-v-d15ecb89] {
|
|
14
|
+
color: var(--a3f02f4e);
|
|
15
|
+
}
|
|
16
|
+
|
|
2
17
|
.landscape > div > .dragger[data-v-4f40a1bb] {
|
|
3
18
|
width: .625rem;
|
|
4
19
|
}
|
|
@@ -24,10 +39,6 @@
|
|
|
24
39
|
bottom: -.625rem;
|
|
25
40
|
}
|
|
26
41
|
|
|
27
|
-
.bind-icon-color[data-v-b8625753] {
|
|
28
|
-
color: var(--6509026e);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
42
|
.htw-base-empty[data-v-c5ecfead]:not(.no-animation) {
|
|
32
43
|
animation: htw-base-empty-c5ecfead .15s .2s both;
|
|
33
44
|
}
|
|
@@ -40,62 +51,51 @@
|
|
|
40
51
|
}
|
|
41
52
|
}
|
|
42
53
|
|
|
43
|
-
.
|
|
44
|
-
color:
|
|
54
|
+
.__histoire-code-placeholder[data-v-d17c2406] {
|
|
55
|
+
color: inherit;
|
|
56
|
+
font-size: inherit;
|
|
45
57
|
}
|
|
46
58
|
|
|
47
|
-
.bind-
|
|
48
|
-
|
|
59
|
+
.bind-preview-bg[data-v-c48fb2b2] {
|
|
60
|
+
background-color: var(--627bec82);
|
|
61
|
+
color: var(--35068428);
|
|
49
62
|
}
|
|
50
63
|
|
|
51
|
-
.bind-
|
|
52
|
-
|
|
64
|
+
.bind-icon-color[data-v-feff9239] {
|
|
65
|
+
color: var(--60afaf4d);
|
|
53
66
|
}
|
|
54
|
-
.bind-
|
|
55
|
-
color: var(--
|
|
67
|
+
.bind-preview-bg[data-v-feff9239] {
|
|
68
|
+
background-color: var(--3bd99e7e);
|
|
56
69
|
}
|
|
57
70
|
|
|
58
|
-
.bind-icon-color[data-v-
|
|
59
|
-
color: var(--
|
|
71
|
+
.bind-icon-color[data-v-1b279b85] {
|
|
72
|
+
color: var(--ab2181a2);
|
|
60
73
|
}
|
|
61
74
|
|
|
62
|
-
.
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
font-size: inherit;
|
|
75
|
+
.__histoire-hatched-pattern[data-v-91561117] {
|
|
76
|
+
background: repeating-linear-gradient(135deg,
|
|
77
|
+
transparent 0px,
|
|
78
|
+
transparent 32px,
|
|
79
|
+
currentColor 32px,
|
|
80
|
+
currentColor 64px);
|
|
69
81
|
}
|
|
70
82
|
|
|
71
|
-
.bind-
|
|
72
|
-
color: var(--
|
|
83
|
+
.bind-preview-bg[data-v-18122333] {
|
|
84
|
+
background-color: var(--5f6f4ee9);
|
|
73
85
|
}
|
|
74
86
|
|
|
75
|
-
.bind-
|
|
76
|
-
|
|
77
|
-
color: var(--35068428);
|
|
87
|
+
.bind-icon-color[data-v-c2a43485] {
|
|
88
|
+
color: var(--41c4d268);
|
|
78
89
|
}
|
|
79
90
|
|
|
80
|
-
.bind-icon-color[data-v-
|
|
81
|
-
color: var(--
|
|
82
|
-
}
|
|
83
|
-
.bind-preview-bg[data-v-d3ab4dd6] {
|
|
84
|
-
background-color: var(--8da98e9c);
|
|
91
|
+
.bind-icon-color[data-v-096f6d6e] {
|
|
92
|
+
color: var(--0f021d3c);
|
|
85
93
|
}
|
|
86
94
|
|
|
87
95
|
img.colorize-black[data-v-2114f510] {
|
|
88
96
|
filter: grayscale(100) brightness(0);
|
|
89
97
|
}
|
|
90
98
|
|
|
91
|
-
.bind-
|
|
92
|
-
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.__histoire-hatched-pattern[data-v-91561117] {
|
|
96
|
-
background: repeating-linear-gradient(135deg,
|
|
97
|
-
transparent 0px,
|
|
98
|
-
transparent 32px,
|
|
99
|
-
currentColor 32px,
|
|
100
|
-
currentColor 64px);
|
|
99
|
+
.bind-icon-color[data-v-9f94ad2b] {
|
|
100
|
+
color: var(--1f9aa6ca);
|
|
101
101
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, createVNode } from "@histoire/vendors/vue";
|
|
2
|
-
import { histoireConfig, customLogos } from "../util/config.js";
|
|
3
2
|
import HistoireLogo from "../assets/histoire.svg.js";
|
|
4
3
|
import { useStoryStore } from "../stores/story.js";
|
|
4
|
+
import { histoireConfig, customLogos } from "../util/config.js";
|
|
5
5
|
import "./app/HomeCounter.vue.js";
|
|
6
6
|
import _sfc_main$1 from "./app/HomeCounter.vue2.js";
|
|
7
7
|
"use strict";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { computed, resolveDirective, openBlock,
|
|
1
|
+
import { defineComponent, computed, resolveDirective, openBlock, createElementBlock, createElementVNode, unref, createVNode, withDirectives, createCommentVNode } from "@histoire/vendors/vue";
|
|
2
2
|
import { Icon } from "@histoire/vendors/iconify";
|
|
3
|
+
import { histoireConfig } from "../../util/config.js";
|
|
3
4
|
import { isDark, toggleDark } from "../../util/dark.js";
|
|
4
5
|
import { onKeyboardShortcut } from "../../util/keyboard.js";
|
|
5
6
|
import { makeTooltip } from "../../util/tooltip.js";
|
|
6
|
-
import { histoireConfig } from "../../util/config.js";
|
|
7
7
|
import "./AppLogo.vue.js";
|
|
8
8
|
import _sfc_main$1 from "./AppLogo.vue2.js";
|
|
9
9
|
"use strict";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { computed, openBlock, createElementBlock
|
|
2
|
-
import { isDark } from "../../util/dark.js";
|
|
3
|
-
import { histoireConfig, customLogos } from "../../util/config.js";
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock } from "@histoire/vendors/vue";
|
|
4
2
|
import HistoireLogoDark from "../../assets/histoire-text-dark.svg.js";
|
|
5
3
|
import HistoireLogoLight from "../../assets/histoire-text.svg.js";
|
|
4
|
+
import { histoireConfig, customLogos } from "../../util/config.js";
|
|
5
|
+
import { isDark } from "../../util/dark.js";
|
|
6
6
|
"use strict";
|
|
7
7
|
const _hoisted_1 = ["src", "alt"];
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _sfc_main from "./Breadcrumb.vue2.js";
|
|
2
|
-
|
|
2
|
+
/* empty css */
|
|
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-d15ecb89"]]);
|
|
6
6
|
export {
|
|
7
7
|
Breadcrumb as default
|
|
8
8
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineComponent, useCssVars, computed, ref, watch, openBlock, createElementBlock, Fragment, createElementVNode, renderList, toDisplayString, createVNode, unref, normalizeClass, createTextVNode, withCtx } from "@histoire/vendors/vue";
|
|
2
2
|
import { Icon } from "@histoire/vendors/iconify";
|
|
3
3
|
import { useStoryStore } from "../../stores/story.js";
|
|
4
4
|
import "../tree/StoryList.vue.js";
|
|
@@ -6,11 +6,9 @@ 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-b8625753"), n = n(), popScopeId(), n);
|
|
10
9
|
const _hoisted_1 = { class: "histoire-breadcrumb" };
|
|
11
|
-
const _hoisted_2 =
|
|
12
|
-
const _hoisted_3 = { class: "htw-
|
|
13
|
-
const _hoisted_4 = { class: "htw-opacity-40 htw-text-sm" };
|
|
10
|
+
const _hoisted_2 = { class: "htw-flex htw-items-center htw-gap-2" };
|
|
11
|
+
const _hoisted_3 = { class: "htw-opacity-40 htw-text-sm" };
|
|
14
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
15
13
|
__name: "Breadcrumb",
|
|
16
14
|
props: {
|
|
@@ -21,7 +19,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
19
|
useCssVars((_ctx) => {
|
|
22
20
|
var _a;
|
|
23
21
|
return {
|
|
24
|
-
"
|
|
22
|
+
"a3f02f4e": (_a = story.value) == null ? void 0 : _a.iconColor
|
|
25
23
|
};
|
|
26
24
|
});
|
|
27
25
|
const storyStore = useStoryStore();
|
|
@@ -50,10 +48,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
50
48
|
(openBlock(true), createElementBlock(Fragment, null, renderList(folders.value, (file, key) => {
|
|
51
49
|
return openBlock(), createElementBlock(Fragment, { key }, [
|
|
52
50
|
createElementVNode("span", null, toDisplayString(file), 1),
|
|
53
|
-
|
|
51
|
+
_cache[0] || (_cache[0] = createElementVNode("span", { class: "htw-opacity-40" }, " / ", -1))
|
|
54
52
|
], 64);
|
|
55
53
|
}), 128)),
|
|
56
|
-
createElementVNode("span",
|
|
54
|
+
createElementVNode("span", _hoisted_2, [
|
|
57
55
|
createVNode(unref(Icon), {
|
|
58
56
|
icon: story.value.icon ?? "carbon:cube",
|
|
59
57
|
class: normalizeClass(["htw-w-5 htw-h-5 htw-flex-none", {
|
|
@@ -62,7 +60,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
62
60
|
}])
|
|
63
61
|
}, null, 8, ["icon", "class"]),
|
|
64
62
|
createTextVNode(" " + toDisplayString(story.value.title) + " ", 1),
|
|
65
|
-
createElementVNode("span",
|
|
63
|
+
createElementVNode("span", _hoisted_3, toDisplayString(story.value.variants.length), 1)
|
|
66
64
|
])
|
|
67
65
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
68
66
|
createTextVNode(" Select a story... ")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { reactive, openBlock,
|
|
1
|
+
import { defineComponent, reactive, openBlock, createElementBlock, createVNode, Transition, withCtx, normalizeStyle, Fragment, renderList, createElementVNode, normalizeClass, createCommentVNode } from "@histoire/vendors/vue";
|
|
2
2
|
"use strict";
|
|
3
3
|
const _hoisted_1 = { class: "histoire-initial-loading htw-fixed htw-inset-0 htw-bg-white dark:htw-bg-gray-700 htw-flex htw-flex-col htw-gap-6 htw-items-center htw-justify-center" };
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { openBlock, createElementBlock, renderSlot } from "@histoire/vendors/vue";
|
|
2
|
+
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const _sfc_main = {};
|
|
5
|
-
const _withScopeId = (n) => (pushScopeId("data-v-c5ecfead"), n = n(), popScopeId(), n);
|
|
6
5
|
const _hoisted_1 = { class: "histoire-base-empty htw-base-empty htw-flex htw-flex-col htw-items-center htw-justify-center htw-space-y-4 htw-py-12 htw-h-full htw-text-center htw-text-gray-400 htw-text-lg" };
|
|
7
6
|
function _sfc_render(_ctx, _cache) {
|
|
8
7
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./BaseIcon.vue2.js";
|
|
2
|
-
|
|
2
|
+
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
"use strict";
|
|
5
5
|
const BaseIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2114f510"]]);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock, createBlock, unref
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, createBlock, unref } from "@histoire/vendors/vue";
|
|
2
2
|
import { Icon } from "@histoire/vendors/iconify";
|
|
3
3
|
"use strict";
|
|
4
|
-
const _withScopeId = (n) => (pushScopeId("data-v-2114f510"), n = n(), popScopeId(), n);
|
|
5
4
|
const _hoisted_1 = ["src", "alt"];
|
|
6
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
6
|
__name: "BaseIcon",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./BaseListItemLink.vue2.js";
|
|
2
|
-
import { resolveComponent, openBlock,
|
|
2
|
+
import { resolveComponent, openBlock, createBlock, mergeProps, withCtx, createElementVNode, normalizeClass, withKeys, renderSlot } from "@histoire/vendors/vue";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
"use strict";
|
|
5
5
|
const _hoisted_1 = ["href", "onClick", "onKeyup"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, renderSlot, createBlock, createElementVNode, unref, createCommentVNode, reactive, onBeforeUnmount, h } from "@histoire/vendors/vue";
|
|
2
|
-
import { useResizeObserver } from "@histoire/vendors/vue-use";
|
|
3
2
|
import { Icon } from "@histoire/vendors/iconify";
|
|
3
|
+
import { useResizeObserver } from "@histoire/vendors/vue-use";
|
|
4
4
|
"use strict";
|
|
5
5
|
const _hoisted_1 = {
|
|
6
6
|
role: "button",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./BaseOverflowTab.vue2.js";
|
|
2
|
-
import { resolveComponent, openBlock,
|
|
2
|
+
import { resolveComponent, openBlock, createBlock, mergeProps, withCtx, createElementVNode, renderSlot, createVNode, Transition, createElementBlock, createCommentVNode } from "@histoire/vendors/vue";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
"use strict";
|
|
5
5
|
const _hoisted_1 = ["href", "onClick"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createElementVNode, createElementBlock, Fragment, renderList, mergeProps, renderSlot, createTextVNode, toDisplayString, createVNode } from "@histoire/vendors/vue";
|
|
2
|
-
import { Dropdown } from "@histoire/vendors/floating-vue";
|
|
3
2
|
import { Icon } from "@histoire/vendors/iconify";
|
|
3
|
+
import { Dropdown } from "@histoire/vendors/floating-vue";
|
|
4
4
|
"use strict";
|
|
5
5
|
const _hoisted_1 = { class: "htw-cursor-pointer htw-w-full htw-outline-none htw-px-2 htw-h-[27px] -htw-my-1 htw-border htw-border-solid htw-border-black/25 dark:htw-border-white/25 hover:htw-border-primary-500 dark:hover:htw-border-primary-500 htw-rounded-sm htw-flex htw-gap-2 htw-items-center htw-leading-normal" };
|
|
6
6
|
const _hoisted_2 = { class: "htw-flex-1 htw-truncate" };
|
|
@@ -37,7 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
37
37
|
popper: withCtx(({ hide }) => [
|
|
38
38
|
createElementVNode("div", _hoisted_3, [
|
|
39
39
|
(openBlock(true), createElementBlock(Fragment, null, renderList(formattedOptions.value, (label, value) => {
|
|
40
|
-
return openBlock(), createElementBlock("div", mergeProps({ ..._ctx.$attrs, class: null, style: null }, {
|
|
40
|
+
return openBlock(), createElementBlock("div", mergeProps({ ref_for: true }, { ..._ctx.$attrs, class: null, style: null }, {
|
|
41
41
|
key: label,
|
|
42
42
|
class: ["htw-px-2 htw-py-1 htw-cursor-pointer hover:htw-bg-primary-100 dark:hover:htw-bg-primary-700", {
|
|
43
43
|
"htw-bg-primary-200 dark:htw-bg-primary-800": props.modelValue === value
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./BaseSplitPane.vue2.js";
|
|
2
|
-
|
|
2
|
+
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
"use strict";
|
|
5
5
|
const BaseSplitPane = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4f40a1bb"]]);
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, computed, onUnmounted, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, renderSlot, withModifiers
|
|
1
|
+
import { defineComponent, ref, watch, computed, onUnmounted, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, renderSlot, withModifiers } from "@histoire/vendors/vue";
|
|
2
2
|
"use strict";
|
|
3
|
-
const _withScopeId = (n) => (pushScopeId("data-v-4f40a1bb"), n = n(), popScopeId(), n);
|
|
4
|
-
const _hoisted_1 = ["onMousedown"];
|
|
5
3
|
const SAVE_PREFIX = "__histoire";
|
|
6
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
5
|
__name: "BaseSplitPane",
|
|
@@ -164,7 +162,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
164
162
|
"htw-bg-primary-500/25": dragging.value
|
|
165
163
|
}]),
|
|
166
164
|
onMousedown: withModifiers(dragStart, ["prevent"])
|
|
167
|
-
}, null,
|
|
165
|
+
}, null, 34)
|
|
168
166
|
], 6),
|
|
169
167
|
createElementVNode("div", {
|
|
170
168
|
class: normalizeClass(["htw-relative htw-bottom-0 htw-right-0", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./BaseTab.vue2.js";
|
|
2
|
-
import { resolveComponent, openBlock,
|
|
2
|
+
import { resolveComponent, openBlock, createBlock, mergeProps, withCtx, createElementVNode, renderSlot, createVNode, Transition, createElementBlock, createCommentVNode } from "@histoire/vendors/vue";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
"use strict";
|
|
5
5
|
const _hoisted_1 = ["href", "onClick"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock,
|
|
1
|
+
import { openBlock, createElementBlock, renderSlot } from "@histoire/vendors/vue";
|
|
2
2
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
3
|
const _sfc_main = {};
|
|
4
4
|
const _hoisted_1 = { class: "histoire-base-tag htw-text-center htw-text-xs htw-mx-1 htw-px-0.5 htw-h-4 htw-uppercase htw-min-w-4 htw-rounded-full htw-bg-primary-500 htw-text-white dark:htw-text-black" };
|
|
@@ -2,8 +2,8 @@ import { defineComponent, reactive, ref, onMounted, openBlock, createElementBloc
|
|
|
2
2
|
import { getCommandContext, executeCommand } from "../../util/commands.js";
|
|
3
3
|
import "../base/BaseButton.vue.js";
|
|
4
4
|
import "../base/BaseKeyboardShortcut.vue.js";
|
|
5
|
-
import "./PromptText.vue.js";
|
|
6
5
|
import "./PromptSelect.vue.js";
|
|
6
|
+
import "./PromptText.vue.js";
|
|
7
7
|
import _sfc_main$1 from "../base/BaseButton.vue2.js";
|
|
8
8
|
import _sfc_main$2 from "../base/BaseKeyboardShortcut.vue2.js";
|
|
9
9
|
import _sfc_main$3 from "./PromptText.vue2.js";
|
|
@@ -11,7 +11,6 @@ import _sfc_main$4 from "./PromptSelect.vue2.js";
|
|
|
11
11
|
"use strict";
|
|
12
12
|
const _hoisted_1 = { class: "htw-p-4 htw-opacity-70" };
|
|
13
13
|
const _hoisted_2 = { class: "htw-flex htw-justify-end htw-gap-2 htw-p-2" };
|
|
14
|
-
const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, "Submit", -1);
|
|
15
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
15
|
__name: "CommandPrompts",
|
|
17
16
|
props: {
|
|
@@ -36,10 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36
35
|
answers[prompt.field] = defaultValue;
|
|
37
36
|
}
|
|
38
37
|
function submit() {
|
|
39
|
-
const params = props.command.getParams ? props.command.getParams({
|
|
40
|
-
...getCommandContext(),
|
|
41
|
-
answers
|
|
42
|
-
}) : answers;
|
|
38
|
+
const params = props.command.getParams ? props.command.getParams({ ...getCommandContext(), answers }) : answers;
|
|
43
39
|
executeCommand(props.command, params);
|
|
44
40
|
emit("close");
|
|
45
41
|
}
|
|
@@ -82,7 +78,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
82
78
|
}, {
|
|
83
79
|
default: withCtx(() => [
|
|
84
80
|
createVNode(_sfc_main$2, { shortcut: "Enter" }),
|
|
85
|
-
|
|
81
|
+
_cache[2] || (_cache[2] = createElementVNode("span", null, "Submit", -1))
|
|
86
82
|
]),
|
|
87
83
|
_: 1
|
|
88
84
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineAsyncComponent, openBlock,
|
|
1
|
+
import { defineComponent, defineAsyncComponent, openBlock, createElementBlock, createElementVNode, createVNode, unref, createCommentVNode } from "@histoire/vendors/vue";
|
|
2
2
|
import { useCommandStore } from "../../stores/command.js";
|
|
3
3
|
"use strict";
|
|
4
4
|
const _hoisted_1 = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computed, ref, watchEffect, openBlock,
|
|
1
|
+
import { defineComponent, computed, ref, watchEffect, openBlock, createElementBlock, withDirectives, createElementVNode, vModelText, toDisplayString, createCommentVNode, createTextVNode, createVNode, withKeys, withModifiers, unref, Fragment, renderList, normalizeClass, createBlock } from "@histoire/vendors/vue";
|
|
2
2
|
import { Icon } from "@histoire/vendors/iconify";
|
|
3
3
|
import { useSelection } from "../../util/select.js";
|
|
4
4
|
import "../base/BaseKeyboardShortcut.vue.js";
|
|
@@ -95,9 +95,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
95
95
|
createElementVNode("span", null, toDisplayString(_ctx.prompt.label), 1),
|
|
96
96
|
_ctx.prompt.required ? (openBlock(), createElementBlock("span", _hoisted_5, "*")) : createCommentVNode("", true),
|
|
97
97
|
createElementVNode("span", _hoisted_6, [
|
|
98
|
-
createTextVNode(" Press "),
|
|
98
|
+
_cache[5] || (_cache[5] = createTextVNode(" Press ")),
|
|
99
99
|
createVNode(_sfc_main$1, { shortcut: "Space" }),
|
|
100
|
-
createTextVNode(" to select ")
|
|
100
|
+
_cache[6] || (_cache[6] = createTextVNode(" to select "))
|
|
101
101
|
])
|
|
102
102
|
]),
|
|
103
103
|
withDirectives(createElementVNode("input", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computed, ref, watch, openBlock,
|
|
1
|
+
import { defineComponent, computed, ref, watch, openBlock, createElementBlock, createElementVNode, toDisplayString, createCommentVNode, withDirectives, vModelText } from "@histoire/vendors/vue";
|
|
2
2
|
"use strict";
|
|
3
3
|
const _hoisted_1 = { class: "histoire-prompt-text" };
|
|
4
4
|
const _hoisted_2 = { class: "htw-flex htw-flex-col htw-gap-2 htw-p-2" };
|
|
@@ -1,41 +1,38 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { openBlock, createElementBlock, createElementVNode } from "@histoire/vendors/vue";
|
|
2
2
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
3
|
const _sfc_main = {};
|
|
4
4
|
const _hoisted_1 = { fill: "none" };
|
|
5
|
-
const _hoisted_2 = /* @__PURE__ */ createElementVNode("pattern", {
|
|
6
|
-
id: "checkerboard",
|
|
7
|
-
width: "64",
|
|
8
|
-
height: "64",
|
|
9
|
-
patternUnits: "userSpaceOnUse"
|
|
10
|
-
}, [
|
|
11
|
-
/* @__PURE__ */ createElementVNode("rect", {
|
|
12
|
-
x: "0",
|
|
13
|
-
y: "0",
|
|
14
|
-
width: "32",
|
|
15
|
-
height: "32",
|
|
16
|
-
fill: "currentColor"
|
|
17
|
-
}),
|
|
18
|
-
/* @__PURE__ */ createElementVNode("rect", {
|
|
19
|
-
x: "32",
|
|
20
|
-
y: "32",
|
|
21
|
-
width: "32",
|
|
22
|
-
height: "32",
|
|
23
|
-
fill: "currentColor"
|
|
24
|
-
})
|
|
25
|
-
], -1);
|
|
26
|
-
const _hoisted_3 = /* @__PURE__ */ createElementVNode("rect", {
|
|
27
|
-
x: "0",
|
|
28
|
-
y: "0",
|
|
29
|
-
width: "100%",
|
|
30
|
-
height: "100%",
|
|
31
|
-
fill: "url(#checkerboard)"
|
|
32
|
-
}, null, -1);
|
|
33
|
-
const _hoisted_4 = [
|
|
34
|
-
_hoisted_2,
|
|
35
|
-
_hoisted_3
|
|
36
|
-
];
|
|
37
5
|
function _sfc_render(_ctx, _cache) {
|
|
38
|
-
return openBlock(), createElementBlock("svg", _hoisted_1,
|
|
6
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
|
|
7
|
+
createElementVNode("pattern", {
|
|
8
|
+
id: "checkerboard",
|
|
9
|
+
width: "64",
|
|
10
|
+
height: "64",
|
|
11
|
+
patternUnits: "userSpaceOnUse"
|
|
12
|
+
}, [
|
|
13
|
+
createElementVNode("rect", {
|
|
14
|
+
x: "0",
|
|
15
|
+
y: "0",
|
|
16
|
+
width: "32",
|
|
17
|
+
height: "32",
|
|
18
|
+
fill: "currentColor"
|
|
19
|
+
}),
|
|
20
|
+
createElementVNode("rect", {
|
|
21
|
+
x: "32",
|
|
22
|
+
y: "32",
|
|
23
|
+
width: "32",
|
|
24
|
+
height: "32",
|
|
25
|
+
fill: "currentColor"
|
|
26
|
+
})
|
|
27
|
+
], -1),
|
|
28
|
+
createElementVNode("rect", {
|
|
29
|
+
x: "0",
|
|
30
|
+
y: "0",
|
|
31
|
+
width: "100%",
|
|
32
|
+
height: "100%",
|
|
33
|
+
fill: "url(#checkerboard)"
|
|
34
|
+
}, null, -1)
|
|
35
|
+
]));
|
|
39
36
|
}
|
|
40
37
|
const CheckerboardPattern = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
41
38
|
export {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { openBlock, createElementBlock } from "@histoire/vendors/vue";
|
|
2
|
+
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const _sfc_main = {};
|
|
5
|
-
const _withScopeId = (n) => (pushScopeId("data-v-91561117"), n = n(), popScopeId(), n);
|
|
6
5
|
const _hoisted_1 = { class: "__histoire-hatched-pattern" };
|
|
7
6
|
function _sfc_render(_ctx, _cache) {
|
|
8
7
|
return openBlock(), createElementBlock("div", _hoisted_1);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveDirective, openBlock, createBlock, resolveDynamicComponent, withCtx, withDirectives, createVNode, unref, normalizeClass, withModifiers, createCommentVNode } from "@histoire/vendors/vue";
|
|
2
|
-
import { Icon } from "@histoire/vendors/iconify";
|
|
3
2
|
import { HstJson, HstCheckbox, HstNumber, HstText } from "@histoire/controls";
|
|
3
|
+
import { Icon } from "@histoire/vendors/iconify";
|
|
4
4
|
"use strict";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "ControlsComponentPropItem",
|
|
@@ -5,8 +5,6 @@ import _sfc_main$1 from "./ControlsComponentPropItem.vue2.js";
|
|
|
5
5
|
"use strict";
|
|
6
6
|
const _hoisted_1 = { class: "histoire-controls-component-props" };
|
|
7
7
|
const _hoisted_2 = { class: "htw-font-mono htw-p-2 htw-flex htw-items-center htw-gap-1" };
|
|
8
|
-
const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", { class: "htw-opacity-30" }, "<", -1);
|
|
9
|
-
const _hoisted_4 = /* @__PURE__ */ createElementVNode("span", { class: "htw-opacity-30" }, ">", -1);
|
|
10
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
9
|
__name: "ControlsComponentProps",
|
|
12
10
|
props: {
|
|
@@ -25,9 +23,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25
23
|
[_directive_tooltip, "Auto-detected props"]
|
|
26
24
|
]),
|
|
27
25
|
createElementVNode("div", null, [
|
|
28
|
-
|
|
26
|
+
_cache[0] || (_cache[0] = createElementVNode("span", { class: "htw-opacity-30" }, "<", -1)),
|
|
29
27
|
createTextVNode(toDisplayString(_ctx.definition.name), 1),
|
|
30
|
-
|
|
28
|
+
_cache[1] || (_cache[1] = createElementVNode("span", { class: "htw-opacity-30" }, ">", -1))
|
|
31
29
|
])
|
|
32
30
|
]),
|
|
33
31
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.definition.props, (prop) => {
|
|
@@ -5,7 +5,6 @@ import _sfc_main$1 from "./ControlsComponentStateItem.vue2.js";
|
|
|
5
5
|
"use strict";
|
|
6
6
|
const _hoisted_1 = { class: "histoire-controls-component-init-state" };
|
|
7
7
|
const _hoisted_2 = { class: "htw-p-2 htw-flex htw-items-center htw-gap-1" };
|
|
8
|
-
const _hoisted_3 = /* @__PURE__ */ createElementVNode("div", null, " State ", -1);
|
|
9
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
9
|
__name: "ControlsComponentState",
|
|
11
10
|
props: {
|
|
@@ -24,7 +23,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24
23
|
}, null, 512), [
|
|
25
24
|
[_directive_tooltip, "Auto-detected state"]
|
|
26
25
|
]),
|
|
27
|
-
|
|
26
|
+
_cache[0] || (_cache[0] = createElementVNode("div", null, " State ", -1))
|
|
28
27
|
]),
|
|
29
28
|
(openBlock(true), createElementBlock(Fragment, null, renderList(stateKeys.value, (key) => {
|
|
30
29
|
return openBlock(), createBlock(_sfc_main$1, {
|