@histoire/app 0.17.6 → 0.17.9

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.
Files changed (42) hide show
  1. package/dist/bundled/App.vue2.js +1 -1
  2. package/dist/bundled/assets/histoire.svg.js +1 -1
  3. package/dist/bundled/components/app/AppHeader.vue2.js +1 -1
  4. package/dist/bundled/components/app/AppLogo.vue2.js +1 -1
  5. package/dist/bundled/components/app/Breadcrumb.vue2.js +1 -1
  6. package/dist/bundled/components/app/Breadcrumb.vue3.js +1 -4
  7. package/dist/bundled/components/app/InitialLoading.vue2.js +1 -1
  8. package/dist/bundled/components/base/BaseEmpty.vue.js +1 -1
  9. package/dist/bundled/components/base/BaseEmpty.vue2.js +1 -4
  10. package/dist/bundled/components/base/BaseIcon.vue3.js +1 -4
  11. package/dist/bundled/components/base/BaseListItemLink.vue.js +1 -1
  12. package/dist/bundled/components/base/BaseOverflowTab.vue.js +1 -1
  13. package/dist/bundled/components/base/BaseSplitPane.vue3.js +1 -4
  14. package/dist/bundled/components/base/BaseTab.vue.js +1 -1
  15. package/dist/bundled/components/base/BaseTag.vue.js +1 -1
  16. package/dist/bundled/components/command/CommandPromptsModal.vue2.js +1 -1
  17. package/dist/bundled/components/command/PromptSelect.vue2.js +1 -1
  18. package/dist/bundled/components/command/PromptText.vue2.js +1 -1
  19. package/dist/bundled/components/misc/HatchedPattern.vue2.js +1 -4
  20. package/dist/bundled/components/panel/StorySourceCode.vue3.js +1 -4
  21. package/dist/bundled/components/search/SearchItem.vue3.js +1 -4
  22. package/dist/bundled/components/search/SearchLoading.vue2.js +1 -1
  23. package/dist/bundled/components/search/SearchModal.vue2.js +1 -1
  24. package/dist/bundled/components/story/GenericMountStory.vue2.js +1 -1
  25. package/dist/bundled/components/story/StoryResponsivePreview.vue3.js +1 -4
  26. package/dist/bundled/components/story/StoryVariantGridItem.vue3.js +1 -4
  27. package/dist/bundled/components/story/StoryVariantListItem.vue3.js +1 -4
  28. package/dist/bundled/components/story/StoryVariantSingle.vue3.js +1 -4
  29. package/dist/bundled/components/story/StoryViewer.vue3.js +1 -4
  30. package/dist/bundled/components/toolbar/ToolbarBackground.vue3.js +1 -4
  31. package/dist/bundled/components/tree/StoryGroup.vue2.js +1 -1
  32. package/dist/bundled/components/tree/StoryList.vue2.js +1 -1
  33. package/dist/bundled/components/tree/StoryListFolder.vue2.js +1 -1
  34. package/dist/bundled/components/tree/StoryListFolder.vue3.js +1 -4
  35. package/dist/bundled/components/tree/StoryListItem.vue2.js +1 -1
  36. package/dist/bundled/components/tree/StoryListItem.vue3.js +1 -4
  37. package/dist/bundled/node_modules/.pnpm/flexsearch@0.7.21/node_modules/flexsearch/dist/module/lang/latin/simple.js +1 -1
  38. package/dist/bundled/sandbox.js +1 -1
  39. package/dist/bundled/style.css +17 -17
  40. package/dist/bundled/util/sandbox.js +2 -1
  41. package/package.json +6 -6
  42. package/src/app/util/sandbox.ts +2 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, computed, watch, onMounted, resolveComponent, openBlock, createElementBlock, Fragment, unref, createBlock, createCommentVNode, createElementVNode, normalizeStyle, createVNode, withCtx, Transition } from "@histoire/vendors/vue";
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
3
  import "./components/tree/StoryList.vue.js";
4
4
  import BaseSplitPane from "./components/base/BaseSplitPane.vue.js";
@@ -1,4 +1,4 @@
1
- const HistoireLogo = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB3aW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20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%20version='1.1'%20id='svg5'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:svg='http://www.w3.org/2000/svg'%3e%3cdefs%20id='defs2'%20/%3e%3cg%20id='layer1'%3e%3crect%20style='opacity:0.5;fill:%2334d399;fill-opacity:1;stroke-width:1.00375'%20id='rect1372'%20width='314.30923'%20height='406.60901'%20x='-26.565063'%20y='134.75079'%20transform='rotate(-23.821262)'%20ry='8'%20/%3e%3crect%20style='fill:%2334d399;fill-opacity:1;stroke-width:1.00375'%20id='rect850'%20width='314.30923'%20height='406.60901'%20x='77.571838'%20y='72.808708'%20ry='8'%20transform='rotate(-4.5744534)'%20/%3e%3c/g%3e%3cg%20id='layer3'%3e%3cpath%20id='path1657-3'%20style='display:inline;fill:%23b4fae2;fill-opacity:1;stroke:%23b4fae2;stroke-width:8.34923;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20d='M%20359.38947,355.95134%20320.72935,176.52942%20238.34613,238.94118%20Z%20M%20273.64124,273.06608%20152.59788,156.05591%20191.25804,335.47786%20Z'%20/%3e%3c/g%3e%3cg%20id='layer2'%20style='display:none'%3e%3cpath%20id='path1657'%20style='fill:%23b4fae2;fill-opacity:1;stroke:%23b4fae2;stroke-width:8;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20d='m%20296,103.98242%20-135.53125,177.9668%20h%2088.70117%20z%20M%20262.83008,230.05078%20216,408.01758%20351.53125,230.05078%20Z'%20transform='rotate(-4.156553,256,256.00691)'%20/%3e%3c/g%3e%3c/svg%3e";
2
2
  export {
3
3
  HistoireLogo as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, resolveDirective, openBlock, createElementBlock, createElementVNode, unref, createVNode, withDirectives, createCommentVNode } from "@histoire/vendors/vue";
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
3
  import "./AppLogo.vue.js";
4
4
  import { isDark, toggleDark } from "../../util/dark.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, openBlock, createElementBlock } from "@histoire/vendors/vue";
1
+ import { computed, openBlock, createElementBlock, defineComponent } from "@histoire/vendors/vue";
2
2
  import { isDark } from "../../util/dark.js";
3
3
  import { histoireConfig, customLogos } from "../../util/config.js";
4
4
  import HistoireLogoDark from "../../assets/histoire-text-dark.svg.js";
@@ -1,4 +1,4 @@
1
- import { pushScopeId, popScopeId, createElementVNode, defineComponent, useCssVars, computed, ref, watch, openBlock, createElementBlock, Fragment, renderList, toDisplayString, createVNode, unref, normalizeClass, createTextVNode, withCtx } from "@histoire/vendors/vue";
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
4
  import "./MobileOverlay.vue.js";
@@ -1,4 +1 @@
1
- const Breadcrumb_vue_vue_type_style_index_0_scoped_36846ccf_lang = "";
2
- export {
3
- Breadcrumb_vue_vue_type_style_index_0_scoped_36846ccf_lang as default
4
- };
1
+
@@ -1,4 +1,4 @@
1
- import { defineComponent, reactive, openBlock, createElementBlock, createVNode, Transition, withCtx, normalizeStyle, Fragment, renderList, createElementVNode, normalizeClass, createCommentVNode } from "@histoire/vendors/vue";
1
+ import { reactive, openBlock, Transition, normalizeStyle, Fragment, normalizeClass, createElementVNode, createElementBlock, renderList, createCommentVNode, withCtx, createVNode, defineComponent } 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,4 +1,4 @@
1
- import { pushScopeId, popScopeId, openBlock, createElementBlock, renderSlot } from "@histoire/vendors/vue";
1
+ import { pushScopeId, popScopeId, openBlock, renderSlot, createElementBlock } from "@histoire/vendors/vue";
2
2
  import "./BaseEmpty.vue2.js";
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const _sfc_main = {};
@@ -1,4 +1 @@
1
- const BaseEmpty_vue_vue_type_style_index_0_scoped_c5ecfead_lang = "";
2
- export {
3
- BaseEmpty_vue_vue_type_style_index_0_scoped_c5ecfead_lang as default
4
- };
1
+
@@ -1,4 +1 @@
1
- const BaseIcon_vue_vue_type_style_index_0_scoped_74182813_lang = "";
2
- export {
3
- BaseIcon_vue_vue_type_style_index_0_scoped_74182813_lang as default
4
- };
1
+
@@ -1,5 +1,5 @@
1
1
  import _sfc_main from "./BaseListItemLink.vue2.js";
2
- import { resolveComponent, openBlock, createBlock, mergeProps, withCtx, createElementVNode, normalizeClass, withKeys, renderSlot } from "@histoire/vendors/vue";
2
+ import { resolveComponent, openBlock, mergeProps, normalizeClass, withKeys, renderSlot, createElementVNode, withCtx, createBlock } 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,5 +1,5 @@
1
1
  import _sfc_main from "./BaseOverflowTab.vue2.js";
2
- import { resolveComponent, openBlock, createBlock, mergeProps, withCtx, createElementVNode, renderSlot, createVNode, Transition, createElementBlock, createCommentVNode } from "@histoire/vendors/vue";
2
+ import { resolveComponent, openBlock, mergeProps, renderSlot, Transition, createElementBlock, createCommentVNode, withCtx, createVNode, createElementVNode, createBlock } 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 @@
1
- const BaseSplitPane_vue_vue_type_style_index_0_scoped_ed925107_lang = "";
2
- export {
3
- BaseSplitPane_vue_vue_type_style_index_0_scoped_ed925107_lang as default
4
- };
1
+
@@ -1,5 +1,5 @@
1
1
  import _sfc_main from "./BaseTab.vue2.js";
2
- import { resolveComponent, openBlock, createBlock, mergeProps, withCtx, createElementVNode, renderSlot, createVNode, Transition, createElementBlock, createCommentVNode } from "@histoire/vendors/vue";
2
+ import { resolveComponent, openBlock, mergeProps, renderSlot, Transition, createElementBlock, createCommentVNode, withCtx, createVNode, createElementVNode, createBlock } 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, createElementBlock, renderSlot } from "@histoire/vendors/vue";
1
+ import { openBlock, renderSlot, createElementBlock } 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" };
@@ -1,4 +1,4 @@
1
- import { defineComponent, defineAsyncComponent, openBlock, createElementBlock, createElementVNode, createVNode, unref, createCommentVNode } from "@histoire/vendors/vue";
1
+ import { defineAsyncComponent, openBlock, createElementVNode, unref, createVNode, createElementBlock, createCommentVNode, defineComponent } 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 { defineComponent, computed, ref, watchEffect, openBlock, createElementBlock, withDirectives, createElementVNode, vModelText, toDisplayString, createCommentVNode, createTextVNode, createVNode, withKeys, withModifiers, unref, Fragment, renderList, normalizeClass, createBlock } from "@histoire/vendors/vue";
1
+ import { computed, ref, watchEffect, openBlock, createElementVNode, vModelText, withDirectives, toDisplayString, createElementBlock, createCommentVNode, createTextVNode, createVNode, unref, withModifiers, withKeys, Fragment, normalizeClass, createBlock, renderList, defineComponent } 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";
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, ref, watch, openBlock, createElementBlock, createElementVNode, toDisplayString, createCommentVNode, withDirectives, vModelText } from "@histoire/vendors/vue";
1
+ import { computed, ref, watch, openBlock, toDisplayString, createElementVNode, createElementBlock, createCommentVNode, vModelText, withDirectives, defineComponent } 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,4 +1 @@
1
- const HatchedPattern_vue_vue_type_style_index_0_scoped_91561117_lang = "";
2
- export {
3
- HatchedPattern_vue_vue_type_style_index_0_scoped_91561117_lang as default
4
- };
1
+
@@ -1,4 +1 @@
1
- const StorySourceCode_vue_vue_type_style_index_0_scoped_1bdf9905_lang = "";
2
- export {
3
- StorySourceCode_vue_vue_type_style_index_0_scoped_1bdf9905_lang as default
4
- };
1
+
@@ -1,4 +1 @@
1
- const SearchItem_vue_vue_type_style_index_0_scoped_6c8e9661_lang = "";
2
- export {
3
- SearchItem_vue_vue_type_style_index_0_scoped_6c8e9661_lang as default
4
- };
1
+
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createElementBlock, createVNode, unref, createTextVNode } from "@histoire/vendors/vue";
1
+ import { openBlock, unref, createVNode, createTextVNode, createElementBlock, defineComponent } from "@histoire/vendors/vue";
2
2
  import { Icon } from "@histoire/vendors/iconify";
3
3
  "use strict";
4
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" };
@@ -1,4 +1,4 @@
1
- import { defineComponent, defineAsyncComponent, withDirectives, openBlock, createElementBlock, createElementVNode, createVNode, unref, vShow } from "@histoire/vendors/vue";
1
+ import { defineAsyncComponent, openBlock, createElementVNode, unref, createVNode, createElementBlock, vShow, withDirectives, defineComponent } from "@histoire/vendors/vue";
2
2
  import "./SearchLoading.vue.js";
3
3
  import _sfc_main$1 from "./SearchLoading.vue2.js";
4
4
  "use strict";
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, watchEffect, markRaw, openBlock, createBlock, resolveDynamicComponent, mergeProps, createCommentVNode } from "@histoire/vendors/vue";
1
+ import { ref, markRaw, watchEffect, openBlock, resolveDynamicComponent, mergeProps, createBlock, createCommentVNode, defineComponent } from "@histoire/vendors/vue";
2
2
  import { clientSupportPlugins } from "virtual:$histoire-support-plugins-client";
3
3
  "use strict";
4
4
  const __default__ = {
@@ -1,4 +1 @@
1
- const StoryResponsivePreview_vue_vue_type_style_index_0_scoped_a83b1911_lang = "";
2
- export {
3
- StoryResponsivePreview_vue_vue_type_style_index_0_scoped_a83b1911_lang as default
4
- };
1
+
@@ -1,4 +1 @@
1
- const StoryVariantGridItem_vue_vue_type_style_index_0_scoped_cf76cd68_lang = "";
2
- export {
3
- StoryVariantGridItem_vue_vue_type_style_index_0_scoped_cf76cd68_lang as default
4
- };
1
+
@@ -1,4 +1 @@
1
- const StoryVariantListItem_vue_vue_type_style_index_0_scoped_ab890d9c_lang = "";
2
- export {
3
- StoryVariantListItem_vue_vue_type_style_index_0_scoped_ab890d9c_lang as default
4
- };
1
+
@@ -1,4 +1 @@
1
- const StoryVariantSingle_vue_vue_type_style_index_0_scoped_ddfc5b4f_lang = "";
2
- export {
3
- StoryVariantSingle_vue_vue_type_style_index_0_scoped_ddfc5b4f_lang as default
4
- };
1
+
@@ -1,4 +1 @@
1
- const StoryViewer_vue_vue_type_style_index_0_scoped_6046525f_lang = "";
2
- export {
3
- StoryViewer_vue_vue_type_style_index_0_scoped_6046525f_lang as default
4
- };
1
+
@@ -1,4 +1 @@
1
- const ToolbarBackground_vue_vue_type_style_index_0_scoped_c48fb2b2_lang = "";
2
- export {
3
- ToolbarBackground_vue_vue_type_style_index_0_scoped_c48fb2b2_lang as default
4
- };
1
+
@@ -1,4 +1,4 @@
1
- import { createElementVNode, defineComponent, computed, openBlock, createElementBlock, Fragment, withKeys, createVNode, unref, toDisplayString, createCommentVNode, renderList, createBlock } from "@histoire/vendors/vue";
1
+ import { createElementVNode, computed, openBlock, Fragment, withKeys, unref, createVNode, toDisplayString, createElementBlock, createCommentVNode, createBlock, renderList, defineComponent } from "@histoire/vendors/vue";
2
2
  import StoryListItem from "./StoryListItem.vue.js";
3
3
  import StoryListFolder from "./StoryListFolder.vue.js";
4
4
  import { Icon } from "@histoire/vendors/iconify";
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createElementBlock, Fragment, renderList, createBlock } from "@histoire/vendors/vue";
1
+ import { openBlock, Fragment, createBlock, createElementBlock, renderList, defineComponent } from "@histoire/vendors/vue";
2
2
  import StoryListItem from "./StoryListItem.vue.js";
3
3
  import StoryListFolder from "./StoryListFolder.vue.js";
4
4
  import "./StoryGroup.vue.js";
@@ -1,4 +1,4 @@
1
- import { pushScopeId, popScopeId, defineComponent, useCssVars, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, withKeys, createVNode, unref, normalizeClass, toDisplayString, Fragment, renderList, createBlock, createCommentVNode } from "@histoire/vendors/vue";
1
+ import { pushScopeId, popScopeId, useCssVars, computed, resolveComponent, openBlock, withKeys, unref, normalizeClass, createVNode, createElementVNode, toDisplayString, Fragment, createBlock, createElementBlock, renderList, createCommentVNode, defineComponent } from "@histoire/vendors/vue";
2
2
  import StoryListItem from "./StoryListItem.vue.js";
3
3
  import { Icon } from "@histoire/vendors/iconify";
4
4
  import { useFolderStore } from "../../stores/folder.js";
@@ -1,4 +1 @@
1
- const StoryListFolder_vue_vue_type_style_index_0_scoped_2d2e4786_lang = "";
2
- export {
3
- StoryListFolder_vue_vue_type_style_index_0_scoped_2d2e4786_lang as default
4
- };
1
+
@@ -1,4 +1,4 @@
1
- import { pushScopeId, popScopeId, defineComponent, useCssVars, computed, ref, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, unref, normalizeClass, toDisplayString, createCommentVNode } from "@histoire/vendors/vue";
1
+ import { pushScopeId, popScopeId, useCssVars, computed, ref, openBlock, unref, normalizeClass, createVNode, toDisplayString, createElementVNode, createElementBlock, createCommentVNode, withCtx, defineComponent } from "@histoire/vendors/vue";
2
2
  import BaseListItemLink from "../base/BaseListItemLink.vue.js";
3
3
  import { Icon } from "@histoire/vendors/iconify";
4
4
  import { useRoute } from "@histoire/vendors/vue-router";
@@ -1,4 +1 @@
1
- const StoryListItem_vue_vue_type_style_index_0_scoped_19810958_lang = "";
2
- export {
3
- StoryListItem_vue_vue_type_style_index_0_scoped_19810958_lang as default
4
- };
1
+
@@ -1,5 +1,5 @@
1
1
  import "../../type.js";
2
- import { regex, pipeline, normalize, regex_whitespace } from "../../lang.js";
2
+ import { regex, normalize, regex_whitespace, pipeline } from "../../lang.js";
3
3
  const rtl = false;
4
4
  const tokenize = "";
5
5
  const simple = { encode, rtl: false, tokenize: "" };
@@ -1,5 +1,5 @@
1
1
  import { parseQuery } from "@histoire/vendors/vue-router";
2
- import { ref, createApp, computed, watch, onMounted, h } from "@histoire/vendors/vue";
2
+ import { ref, computed, watch, onMounted, h, createApp } from "@histoire/vendors/vue";
3
3
  import { createPinia } from "@histoire/vendors/pinia";
4
4
  import { applyState } from "@histoire/shared";
5
5
  import "./components/story/GenericMountStory.vue.js";
@@ -1,16 +1,4 @@
1
1
 
2
- .htw-base-empty[data-v-c5ecfead]:not(.no-animation) {
3
- animation: htw-base-empty-c5ecfead .15s .2s both;
4
- }
5
- @keyframes htw-base-empty-c5ecfead {
6
- 0% {
7
- opacity: 0;
8
- }
9
- 100% {
10
- opacity: 1;
11
- }
12
- }
13
-
14
2
  .landscape > div > .dragger[data-v-ed925107] {
15
3
  width: .625rem;
16
4
  }
@@ -40,6 +28,18 @@
40
28
  color: var(--5792748b);
41
29
  }
42
30
 
31
+ .htw-base-empty[data-v-c5ecfead]:not(.no-animation) {
32
+ animation: htw-base-empty-c5ecfead .15s .2s both;
33
+ }
34
+ @keyframes htw-base-empty-c5ecfead {
35
+ 0% {
36
+ opacity: 0;
37
+ }
38
+ 100% {
39
+ opacity: 1;
40
+ }
41
+ }
42
+
43
43
  .bind-icon-color[data-v-6046525f] {
44
44
  color: var(--663732b6);
45
45
  }
@@ -72,11 +72,6 @@
72
72
  color: var(--a8c1277e);
73
73
  }
74
74
 
75
- .bind-preview-bg[data-v-c48fb2b2] {
76
- background-color: var(--627bec82);
77
- color: var(--35068428);
78
- }
79
-
80
75
  .bind-icon-color[data-v-cf76cd68] {
81
76
  color: var(--29d8c174);
82
77
  }
@@ -84,6 +79,11 @@
84
79
  background-color: var(--0eff7465);
85
80
  }
86
81
 
82
+ .bind-preview-bg[data-v-c48fb2b2] {
83
+ background-color: var(--627bec82);
84
+ color: var(--35068428);
85
+ }
86
+
87
87
  img.colorize-black[data-v-74182813] {
88
88
  filter: grayscale(100) brightness(0);
89
89
  }
@@ -4,7 +4,8 @@ function getSandboxUrl(story, variant) {
4
4
  const url = new URLSearchParams();
5
5
  url.append("storyId", story.id);
6
6
  url.append("variantId", variant.id);
7
- return `${base}__sandbox.html?${url.toString()}`;
7
+ const baseUrl = base === "/" ? base : base + "/";
8
+ return `${baseUrl}__sandbox.html?${url.toString()}`;
8
9
  }
9
10
  export {
10
11
  getSandboxUrl
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@histoire/app",
3
- "version": "0.17.6",
3
+ "version": "0.17.9",
4
4
  "description": "Pre-bundled UI for Histoire",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -27,14 +27,14 @@
27
27
  "@types/flexsearch": "^0.7.6",
28
28
  "flexsearch": "0.7.21",
29
29
  "shiki-es": "^0.2.0",
30
- "@histoire/controls": "^0.17.6",
31
- "@histoire/vendors": "^0.17.6",
32
- "@histoire/shared": "^0.17.6"
30
+ "@histoire/controls": "^0.17.9",
31
+ "@histoire/shared": "^0.17.9",
32
+ "@histoire/vendors": "^0.17.8"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@tailwindcss/typography": "^0.5.10",
36
36
  "@types/fs-extra": "^9.0.13",
37
- "@types/node": "^17.0.45",
37
+ "@types/node": "^18.11.9",
38
38
  "@vitejs/plugin-vue": "^4.5.0",
39
39
  "autoprefixer": "^10.4.16",
40
40
  "chokidar": "^3.5.3",
@@ -46,7 +46,7 @@
46
46
  "postcss-import": "^14.1.0",
47
47
  "tailwindcss": "^3.3.5",
48
48
  "typescript": "^4.9.5",
49
- "vite": "^4.5.0",
49
+ "vite": "^5.0.11",
50
50
  "vue": "^3.3.8"
51
51
  },
52
52
  "scripts": {
@@ -6,5 +6,6 @@ export function getSandboxUrl (story: Story, variant: Variant) {
6
6
  const url = new URLSearchParams()
7
7
  url.append('storyId', story.id)
8
8
  url.append('variantId', variant.id)
9
- return `${base}__sandbox.html?${url.toString()}`
9
+ const baseUrl = base === '/' ? base : base + '/'
10
+ return `${baseUrl}__sandbox.html?${url.toString()}`
10
11
  }