@histoire/app 0.11.4 → 0.11.6

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 (157) hide show
  1. package/dist/app/style/{floating-vue.pcss → floating.pcss} +0 -0
  2. package/dist/app/style/main.pcss +46 -44
  3. package/dist/app/style/sandbox.css +1 -1
  4. package/dist/bundle-main-dev.js +4 -0
  5. package/dist/bundle-sandbox-dev.js +2 -0
  6. package/dist/bundled/App.vue_vue_type_script_setup_true_lang.js +1 -1
  7. package/dist/bundled/components/HomeView.vue_vue_type_script_setup_true_lang.js +1 -1
  8. package/dist/bundled/components/app/AppHeader.vue_vue_type_script_setup_true_lang.js +1 -1
  9. package/dist/bundled/components/app/AppLogo.vue_vue_type_script_setup_true_lang.js +1 -0
  10. package/dist/bundled/components/app/Breadcrumb.js +2 -2
  11. package/dist/bundled/components/app/Breadcrumb.vue_vue_type_script_setup_true_lang.js +10 -9
  12. package/dist/bundled/components/app/Breadcrumb.vue_vue_type_style_index_0_scoped_36846ccf_lang.js +4 -0
  13. package/dist/bundled/components/app/InitialLoading.vue_vue_type_script_setup_true_lang.js +1 -1
  14. package/dist/bundled/components/app/MobileOverlay.vue_vue_type_script_setup_true_lang.js +1 -1
  15. package/dist/bundled/components/base/BaseCheckbox.vue_vue_type_script_setup_true_lang.js +1 -1
  16. package/dist/bundled/components/base/BaseEmpty.js +4 -4
  17. package/dist/bundled/components/base/BaseEmpty.vue_vue_type_style_index_0_scoped_c5ecfead_lang.js +4 -0
  18. package/dist/bundled/components/base/BaseListItemLink.js +1 -1
  19. package/dist/bundled/components/base/BaseOverflowMenu.vue_vue_type_script_setup_true_lang.js +1 -1
  20. package/dist/bundled/components/base/BaseOverflowTab.js +1 -1
  21. package/dist/bundled/components/base/BaseSelect.vue_vue_type_script_setup_true_lang.js +4 -1
  22. package/dist/bundled/components/base/BaseSplitPane.js +2 -2
  23. package/dist/bundled/components/base/BaseSplitPane.vue_vue_type_script_setup_true_lang.js +2 -2
  24. package/dist/bundled/components/base/BaseSplitPane.vue_vue_type_style_index_0_scoped_ed925107_lang.js +4 -0
  25. package/dist/bundled/components/base/BaseTab.js +1 -1
  26. package/dist/bundled/components/base/BaseTag.js +13 -0
  27. package/dist/bundled/components/panel/ControlsComponentPropItem.vue_vue_type_script_setup_true_lang.js +1 -0
  28. package/dist/bundled/components/panel/ControlsComponentProps.vue_vue_type_script_setup_true_lang.js +8 -7
  29. package/dist/bundled/components/panel/PaneTabs.vue_vue_type_script_setup_true_lang.js +15 -12
  30. package/dist/bundled/components/panel/StatePresets.vue_vue_type_script_setup_true_lang.js +1 -1
  31. package/dist/bundled/components/panel/StoryControls.vue_vue_type_script_setup_true_lang.js +1 -1
  32. package/dist/bundled/components/panel/StoryDocs.vue_vue_type_script_setup_true_lang.js +17 -2
  33. package/dist/bundled/components/panel/StoryEvent.vue_vue_type_script_setup_true_lang.js +1 -1
  34. package/dist/bundled/components/panel/StoryEvents.vue_vue_type_script_setup_true_lang.js +2 -1
  35. package/dist/bundled/components/panel/StorySidePanel.vue_vue_type_script_setup_true_lang.js +9 -3
  36. package/dist/bundled/components/panel/StorySourceCode.js +2 -2
  37. package/dist/bundled/components/panel/StorySourceCode.vue_vue_type_script_setup_true_lang.js +2 -2
  38. package/dist/bundled/components/panel/StorySourceCode.vue_vue_type_style_index_0_scoped_36810e45_lang.js +4 -0
  39. package/dist/bundled/components/search/SearchItem.js +2 -2
  40. package/dist/bundled/components/search/SearchItem.vue_vue_type_script_setup_true_lang.js +3 -2
  41. package/dist/bundled/components/search/SearchItem.vue_vue_type_style_index_0_scoped_d95fcb03_lang.js +4 -0
  42. package/dist/bundled/components/search/SearchLoading.vue_vue_type_script_setup_true_lang.js +1 -1
  43. package/dist/bundled/components/search/SearchModal.vue_vue_type_script_setup_true_lang.js +1 -1
  44. package/dist/bundled/components/search/SearchPane.vue_vue_type_script_setup_true_lang.js +1 -1
  45. package/dist/bundled/components/story/GenericMountStory.vue_vue_type_script_setup_true_lang.js +1 -0
  46. package/dist/bundled/components/story/GenericRenderStory.vue_vue_type_script_setup_true_lang.js +1 -0
  47. package/dist/bundled/components/story/StoryResponsivePreview.js +2 -2
  48. package/dist/bundled/components/story/StoryResponsivePreview.vue_vue_type_script_setup_true_lang.js +41 -12
  49. package/dist/bundled/components/story/StoryResponsivePreview.vue_vue_type_style_index_0_scoped_a83b1911_lang.js +4 -0
  50. package/dist/bundled/components/story/StoryVariantGrid.vue_vue_type_script_setup_true_lang.js +4 -1
  51. package/dist/bundled/components/story/StoryVariantGridItem.js +2 -2
  52. package/dist/bundled/components/story/StoryVariantGridItem.vue_vue_type_script_setup_true_lang.js +21 -9
  53. package/dist/bundled/components/story/StoryVariantGridItem.vue_vue_type_style_index_0_scoped_f7c98176_lang.js +4 -0
  54. package/dist/bundled/components/story/StoryVariantListItem.js +2 -2
  55. package/dist/bundled/components/story/StoryVariantListItem.vue_vue_type_script_setup_true_lang.js +3 -2
  56. package/dist/bundled/components/story/StoryVariantListItem.vue_vue_type_style_index_0_scoped_ab890d9c_lang.js +4 -0
  57. package/dist/bundled/components/story/StoryVariantSingle.js +2 -2
  58. package/dist/bundled/components/story/StoryVariantSingle.vue_vue_type_script_setup_true_lang.js +3 -3
  59. package/dist/bundled/components/story/StoryVariantSingle.vue_vue_type_style_index_0_scoped_ddfc5b4f_lang.js +4 -0
  60. package/dist/bundled/components/story/StoryVariantSinglePreviewNative.vue_vue_type_script_setup_true_lang.js +19 -7
  61. package/dist/bundled/components/story/StoryVariantSinglePreviewRemote.vue_vue_type_script_setup_true_lang.js +4 -1
  62. package/dist/bundled/components/story/StoryVariantSingleView.vue_vue_type_script_setup_true_lang.js +1 -1
  63. package/dist/bundled/components/story/StoryView.vue_vue_type_script_setup_true_lang.js +5 -2
  64. package/dist/bundled/components/story/StoryViewer.js +2 -2
  65. package/dist/bundled/components/story/StoryViewer.vue_vue_type_script_setup_true_lang.js +3 -3
  66. package/dist/bundled/components/story/StoryViewer.vue_vue_type_style_index_0_scoped_6046525f_lang.js +4 -0
  67. package/dist/bundled/components/toolbar/ToolbarBackground.js +2 -2
  68. package/dist/bundled/components/toolbar/ToolbarBackground.vue_vue_type_script_setup_true_lang.js +32 -18
  69. package/dist/bundled/components/toolbar/ToolbarBackground.vue_vue_type_style_index_0_scoped_c48fb2b2_lang.js +4 -0
  70. package/dist/bundled/components/toolbar/ToolbarNewTab.vue_vue_type_script_setup_true_lang.js +1 -1
  71. package/dist/bundled/components/toolbar/ToolbarResponsiveSize.vue_vue_type_script_setup_true_lang.js +3 -3
  72. package/dist/bundled/components/toolbar/ToolbarTextDirection.vue_vue_type_script_setup_true_lang.js +1 -1
  73. package/dist/bundled/components/toolbar/ToolbarTitle.vue_vue_type_script_setup_true_lang.js +1 -1
  74. package/dist/bundled/components/tree/StoryGroup.vue_vue_type_script_setup_true_lang.js +1 -1
  75. package/dist/bundled/components/tree/StoryList.vue_vue_type_script_setup_true_lang.js +1 -1
  76. package/dist/bundled/components/tree/StoryListFolder.js +2 -2
  77. package/dist/bundled/components/tree/StoryListFolder.vue_vue_type_script_setup_true_lang.js +6 -3
  78. package/dist/bundled/components/tree/StoryListFolder.vue_vue_type_style_index_0_scoped_2fedbe45_lang.js +4 -0
  79. package/dist/bundled/components/tree/StoryListItem.js +2 -2
  80. package/dist/bundled/components/tree/StoryListItem.vue_vue_type_script_setup_true_lang.js +5 -4
  81. package/dist/bundled/components/tree/StoryListItem.vue_vue_type_style_index_0_scoped_19810958_lang.js +4 -0
  82. package/dist/bundled/style.css +48 -47
  83. package/dist/bundled/util/preview-settings.js +11 -0
  84. package/dist/style.css +55 -55
  85. package/package.json +4 -4
  86. package/src/app/App.vue +1 -1
  87. package/src/app/components/HomeView.vue +1 -1
  88. package/src/app/components/app/AppHeader.vue +1 -1
  89. package/src/app/components/app/AppLogo.vue +1 -0
  90. package/src/app/components/app/Breadcrumb.vue +1 -1
  91. package/src/app/components/app/InitialLoading.vue +1 -1
  92. package/src/app/components/app/MobileOverlay.vue +1 -1
  93. package/src/app/components/base/BaseCheckbox.vue +1 -1
  94. package/src/app/components/base/BaseCopyIcon.vue +1 -1
  95. package/src/app/components/base/BaseEmpty.vue +1 -1
  96. package/src/app/components/base/BaseListItemLink.vue +1 -0
  97. package/src/app/components/base/BaseOverflowMenu.vue +1 -1
  98. package/src/app/components/base/BaseOverflowTab.vue +1 -0
  99. package/src/app/components/base/BaseSelect.vue +1 -0
  100. package/src/app/components/base/BaseSplitPane.vue +1 -1
  101. package/src/app/components/base/BaseTab.vue +1 -0
  102. package/src/app/components/base/BaseTag.vue +5 -0
  103. package/src/app/components/panel/ControlsComponentPropItem.vue +1 -0
  104. package/src/app/components/panel/ControlsComponentProps.vue +1 -1
  105. package/src/app/components/panel/PaneTabs.vue +7 -12
  106. package/src/app/components/panel/StatePresets.vue +1 -1
  107. package/src/app/components/panel/StoryControls.vue +1 -1
  108. package/src/app/components/panel/StoryDocs.vue +30 -1
  109. package/src/app/components/panel/StoryEvent.vue +1 -1
  110. package/src/app/components/panel/StoryEvents.vue +4 -1
  111. package/src/app/components/panel/StorySidePanel.vue +9 -3
  112. package/src/app/components/panel/StorySourceCode.vue +1 -1
  113. package/src/app/components/search/SearchItem.vue +1 -0
  114. package/src/app/components/search/SearchLoading.vue +1 -1
  115. package/src/app/components/search/SearchModal.vue +1 -1
  116. package/src/app/components/search/SearchPane.vue +1 -1
  117. package/src/app/components/story/GenericMountStory.vue +1 -0
  118. package/src/app/components/story/GenericRenderStory.vue +1 -0
  119. package/src/app/components/story/StoryResponsivePreview.vue +11 -2
  120. package/src/app/components/story/StoryVariantGrid.vue +5 -1
  121. package/src/app/components/story/StoryVariantGridItem.vue +18 -4
  122. package/src/app/components/story/StoryVariantListItem.vue +1 -0
  123. package/src/app/components/story/StoryVariantSingle.vue +1 -1
  124. package/src/app/components/story/StoryVariantSinglePreviewNative.vue +17 -5
  125. package/src/app/components/story/StoryVariantSinglePreviewRemote.vue +1 -0
  126. package/src/app/components/story/StoryVariantSingleView.vue +1 -1
  127. package/src/app/components/story/StoryView.vue +5 -2
  128. package/src/app/components/story/StoryViewer.vue +1 -1
  129. package/src/app/components/toolbar/ToolbarBackground.vue +21 -7
  130. package/src/app/components/toolbar/ToolbarNewTab.vue +1 -1
  131. package/src/app/components/toolbar/ToolbarResponsiveSize.vue +3 -3
  132. package/src/app/components/toolbar/ToolbarTextDirection.vue +1 -1
  133. package/src/app/components/toolbar/ToolbarTitle.vue +1 -1
  134. package/src/app/components/tree/StoryGroup.vue +1 -1
  135. package/src/app/components/tree/StoryList.vue +1 -1
  136. package/src/app/components/tree/StoryListFolder.vue +4 -1
  137. package/src/app/components/tree/StoryListItem.vue +1 -0
  138. package/src/app/style/{floating-vue.pcss → floating.pcss} +0 -0
  139. package/src/app/style/main.pcss +46 -44
  140. package/src/app/style/sandbox.css +1 -1
  141. package/src/app/util/preview-settings.ts +13 -0
  142. package/src/bundle-main-dev.js +4 -0
  143. package/src/bundle-sandbox-dev.js +2 -0
  144. package/tailwind.config.cjs +1 -1
  145. package/dist/bundled/components/app/Breadcrumb.vue_vue_type_style_index_0_scoped_3c779b73_lang.js +0 -4
  146. package/dist/bundled/components/base/BaseEmpty.vue_vue_type_style_index_0_scoped_af3328a6_lang.js +0 -4
  147. package/dist/bundled/components/base/BaseSplitPane.vue_vue_type_style_index_0_scoped_bb6c600c_lang.js +0 -4
  148. package/dist/bundled/components/panel/StorySourceCode.vue_vue_type_style_index_0_scoped_0d096b10_lang.js +0 -4
  149. package/dist/bundled/components/search/SearchItem.vue_vue_type_style_index_0_scoped_b819ed97_lang.js +0 -4
  150. package/dist/bundled/components/story/StoryResponsivePreview.vue_vue_type_style_index_0_scoped_1375d05a_lang.js +0 -4
  151. package/dist/bundled/components/story/StoryVariantGridItem.vue_vue_type_style_index_0_scoped_601cc357_lang.js +0 -4
  152. package/dist/bundled/components/story/StoryVariantListItem.vue_vue_type_style_index_0_scoped_02816158_lang.js +0 -4
  153. package/dist/bundled/components/story/StoryVariantSingle.vue_vue_type_style_index_0_scoped_89489ae4_lang.js +0 -4
  154. package/dist/bundled/components/story/StoryViewer.vue_vue_type_style_index_0_scoped_54d5a557_lang.js +0 -4
  155. package/dist/bundled/components/toolbar/ToolbarBackground.vue_vue_type_style_index_0_scoped_8d0cb17e_lang.js +0 -4
  156. package/dist/bundled/components/tree/StoryListFolder.vue_vue_type_style_index_0_scoped_41fb5f7e_lang.js +0 -4
  157. package/dist/bundled/components/tree/StoryListItem.vue_vue_type_style_index_0_scoped_d1a05247_lang.js +0 -4
@@ -1,8 +1,8 @@
1
- @import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');
1
+ @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Display&display=swap');
2
2
  @import 'floating-vue/dist/style.css';
3
3
  @import '@histoire/controls/dist/style.css';
4
4
 
5
- @import 'floating-vue.pcss';
5
+ @import 'floating.pcss';
6
6
  @import 'transitions.pcss';
7
7
 
8
8
  *,
@@ -37,61 +37,63 @@ button {
37
37
  @tailwind components;
38
38
  @tailwind utilities;
39
39
 
40
- body,
41
- pre {
42
- margin: 0;
43
- }
44
-
45
- html,
46
- body,
47
- #app {
48
- height: 100%;
49
- }
40
+ @layer base {
41
+ body,
42
+ pre {
43
+ margin: 0;
44
+ }
50
45
 
51
- html {
52
- font-family: 'Lato', sans-serif;
53
- font-size: 1rem;
54
- }
46
+ html,
47
+ body,
48
+ #app {
49
+ height: 100%;
50
+ }
55
51
 
56
- body {
57
- font-size: 1.125rem;
58
- }
52
+ html {
53
+ font-family: 'Noto Sans Display', system-ui, sans-serif;
54
+ font-size: 1rem;
55
+ }
59
56
 
60
- @media (min-width: 640px) {
61
57
  body {
62
- font-size: .875rem;
58
+ font-size: 1.125rem;
63
59
  }
64
- }
65
60
 
66
- .__histoire-sandbox {
67
- contain: content;
68
- }
61
+ @media (min-width: 640px) {
62
+ body {
63
+ font-size: .875rem;
64
+ }
65
+ }
69
66
 
70
- .__histoire-code .shiki {
71
- background: transparent !important;
72
- }
67
+ .__histoire-sandbox {
68
+ contain: content;
69
+ }
70
+
71
+ .__histoire-code .shiki {
72
+ background: transparent !important;
73
+ }
73
74
 
74
- .htw-prose {
75
- h1, h2, h3, h4 {
76
- &:not(:hover) {
77
- .header-anchor[aria-hidden="true"] {
78
- visibility: hidden;
75
+ .htw-prose {
76
+ h1, h2, h3, h4 {
77
+ &:not(:hover) {
78
+ .header-anchor[aria-hidden="true"] {
79
+ visibility: hidden;
80
+ }
79
81
  }
80
82
  }
81
- }
82
83
 
83
- hr {
84
- margin: 1rem 0;
84
+ hr {
85
+ margin: 1rem 0;
86
+ }
85
87
  }
86
- }
87
88
 
88
- .__histoire-pane-shadow-from-right {
89
- background-image: linear-gradient(to left, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0));
90
- background-size: 24px;
91
- background-repeat: no-repeat;
92
- background-position: right;
89
+ .__histoire-pane-shadow-from-right {
90
+ background-image: linear-gradient(to left, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0));
91
+ background-size: 24px;
92
+ background-repeat: no-repeat;
93
+ background-position: right;
93
94
 
94
- .htw-dark & {
95
- background-image: linear-gradient(to left, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
95
+ .htw-dark & {
96
+ background-image: linear-gradient(to left, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
97
+ }
96
98
  }
97
99
  }
@@ -11,7 +11,7 @@ body {
11
11
 
12
12
  html {
13
13
  font-size: 1rem;
14
- font-family: 'Lato', sans-serif;
14
+ font-family: 'Noto Sans Display', system-ui, sans-serif;
15
15
  }
16
16
 
17
17
  .htw-sandbox-hidden {
@@ -0,0 +1,4 @@
1
+ import './app/style/main.pcss'
2
+ import { mountMainApp } from './app/index'
3
+
4
+ mountMainApp()
@@ -0,0 +1,2 @@
1
+ import './app/style/sandbox.css'
2
+ import './app/sandbox'
@@ -20,7 +20,7 @@ import _sfc_main$4 from "./components/search/SearchModal.vue_vue_type_script_set
20
20
  import _sfc_main$5 from "./components/app/InitialLoading.vue_vue_type_script_setup_true_lang.js";
21
21
  const _hoisted_1 = {
22
22
  key: 0,
23
- class: "htw-hidden"
23
+ class: "histoire-app htw-hidden"
24
24
  };
25
25
  const _hoisted_2 = {
26
26
  key: 0,
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, unref } from "@histoire/vendors/vue";
2
2
  import { histoireConfig, customLogos } from "../util/config.js";
3
3
  import HistoireLogo from "../assets/histoire.js";
4
- const _hoisted_1 = { class: "htw-flex htw-items-center htw-justify-center htw-h-full" };
4
+ const _hoisted_1 = { class: "histoire-home-view htw-flex htw-items-center htw-justify-center htw-h-full" };
5
5
  const _hoisted_2 = ["src"];
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "HomeView",
@@ -6,7 +6,7 @@ import { onKeyboardShortcut } from "../../util/keyboard.js";
6
6
  import { makeTooltip } from "../../util/tooltip.js";
7
7
  import { histoireConfig } from "../../util/config.js";
8
8
  import _sfc_main$1 from "./AppLogo.vue_vue_type_script_setup_true_lang.js";
9
- const _hoisted_1 = { class: "htw-px-4 htw-h-16 htw-flex htw-items-center htw-gap-2" };
9
+ const _hoisted_1 = { class: "histoire-app-header htw-px-4 htw-h-16 htw-flex htw-items-center htw-gap-2" };
10
10
  const _hoisted_2 = { class: "htw-py-3 sm:htw-py-4 htw-flex-1 htw-h-full htw-flex htw-items-center htw-pr-2" };
11
11
  const _hoisted_3 = ["href"];
12
12
  const _hoisted_4 = { class: "htw-ml-auto htw-flex-none htw-flex" };
@@ -17,6 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  const altText = computed(() => histoireConfig.theme.title + " logo");
18
18
  return (_ctx, _cache) => {
19
19
  return openBlock(), createElementBlock("img", {
20
+ class: "histoire-app-logo",
20
21
  src: unref(logoUrl),
21
22
  alt: unref(altText)
22
23
  }, null, 8, _hoisted_1);
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./Breadcrumb.vue_vue_type_script_setup_true_lang.js";
2
- import "./Breadcrumb.vue_vue_type_style_index_0_scoped_3c779b73_lang.js";
2
+ import "./Breadcrumb.vue_vue_type_style_index_0_scoped_36846ccf_lang.js";
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
- const Breadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3c779b73"]]);
4
+ const Breadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-36846ccf"]]);
5
5
  export {
6
6
  Breadcrumb as default
7
7
  };
@@ -5,10 +5,11 @@ import "./MobileOverlay.js";
5
5
  import "../tree/StoryList.js";
6
6
  import _sfc_main$1 from "./MobileOverlay.vue_vue_type_script_setup_true_lang.js";
7
7
  import _sfc_main$2 from "../tree/StoryList.vue_vue_type_script_setup_true_lang.js";
8
- const _withScopeId = (n) => (pushScopeId("data-v-3c779b73"), n = n(), popScopeId(), n);
9
- const _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "htw-opacity-40" }, " / ", -1));
10
- const _hoisted_2 = { class: "htw-flex htw-items-center htw-gap-2" };
11
- const _hoisted_3 = { class: "htw-opacity-40 htw-text-sm" };
8
+ const _withScopeId = (n) => (pushScopeId("data-v-36846ccf"), n = n(), popScopeId(), n);
9
+ const _hoisted_1 = { class: "histoire-breadcrumb" };
10
+ const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "htw-opacity-40" }, " / ", -1));
11
+ const _hoisted_3 = { class: "htw-flex htw-items-center htw-gap-2" };
12
+ const _hoisted_4 = { class: "htw-opacity-40 htw-text-sm" };
12
13
  const _sfc_main = /* @__PURE__ */ defineComponent({
13
14
  __name: "Breadcrumb",
14
15
  props: {
@@ -19,7 +20,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
19
20
  useCssVars((_ctx) => {
20
21
  var _a;
21
22
  return {
22
- "0fe094b1": (_a = unref(story)) == null ? void 0 : _a.iconColor
23
+ "5792748b": (_a = unref(story)) == null ? void 0 : _a.iconColor
23
24
  };
24
25
  });
25
26
  const storyStore = useStoryStore();
@@ -40,7 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
40
41
  return (_ctx, _cache) => {
41
42
  var _a;
42
43
  return openBlock(), createElementBlock(Fragment, null, [
43
- createElementVNode("div", null, [
44
+ createElementVNode("div", _hoisted_1, [
44
45
  createElementVNode("a", {
45
46
  class: "htw-px-6 htw-h-12 hover:htw-text-primary-500 dark:hover:htw-text-primary-400 htw-cursor-pointer htw-flex htw-gap-2 htw-flex-wrap htw-w-full htw-items-center",
46
47
  onClick: openMenu
@@ -49,10 +50,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
49
50
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(folders), (file, key) => {
50
51
  return openBlock(), createElementBlock(Fragment, { key }, [
51
52
  createElementVNode("span", null, toDisplayString(file), 1),
52
- _hoisted_1
53
+ _hoisted_2
53
54
  ], 64);
54
55
  }), 128)),
55
- createElementVNode("span", _hoisted_2, [
56
+ createElementVNode("span", _hoisted_3, [
56
57
  createVNode(unref(Icon), {
57
58
  icon: (_a = unref(story).icon) != null ? _a : "carbon:cube",
58
59
  class: normalizeClass(["htw-w-5 htw-h-5 htw-flex-none", {
@@ -61,7 +62,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
61
62
  }])
62
63
  }, null, 8, ["icon", "class"]),
63
64
  createTextVNode(" " + toDisplayString(unref(story).title) + " ", 1),
64
- createElementVNode("span", _hoisted_3, toDisplayString(unref(story).variants.length), 1)
65
+ createElementVNode("span", _hoisted_4, toDisplayString(unref(story).variants.length), 1)
65
66
  ])
66
67
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
67
68
  createTextVNode(" Select a story... ")
@@ -0,0 +1,4 @@
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,5 +1,5 @@
1
1
  import { defineComponent, reactive, openBlock, createElementBlock, createVNode, Transition, withCtx, normalizeStyle, Fragment, renderList, createElementVNode, normalizeClass, createCommentVNode } from "@histoire/vendors/vue";
2
- const _hoisted_1 = { class: "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" };
2
+ 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" };
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "InitialLoading",
5
5
  setup(__props) {
@@ -2,7 +2,7 @@ import { defineComponent, openBlock, createBlock, Transition, withCtx, createEle
2
2
  import { Icon } from "@histoire/vendors/iconify";
3
3
  const _hoisted_1 = {
4
4
  key: 0,
5
- class: "htw-absolute htw-z-10 htw-bg-white dark:htw-bg-gray-700 htw-w-screen htw-h-screen htw-inset-0 htw-overflow-hidden htw-flex htw-flex-col"
5
+ class: "histoire-mobile-overlay htw-absolute htw-z-10 htw-bg-white dark:htw-bg-gray-700 htw-w-screen htw-h-screen htw-inset-0 htw-overflow-hidden htw-flex htw-flex-col"
6
6
  };
7
7
  const _hoisted_2 = { class: "htw-p-4 htw-h-16 htw-flex htw-border-b htw-border-gray-100 dark:htw-border-gray-800 htw-items-center htw-place-content-between" };
8
8
  const _hoisted_3 = { class: "htw-text-gray-500" };
@@ -37,7 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
37
37
  return openBlock(), createElementBlock("div", {
38
38
  role: "checkbox",
39
39
  tabindex: "0",
40
- class: "htw-flex htw-items-center htw-gap-2 htw-select-none htw-px-4 htw-py-3 htw-cursor-pointer hover:htw-bg-primary-100 dark:hover:htw-bg-primary-700",
40
+ class: "histoire-base-checkbox htw-flex htw-items-center htw-gap-2 htw-select-none htw-px-4 htw-py-3 htw-cursor-pointer hover:htw-bg-primary-100 dark:hover:htw-bg-primary-700",
41
41
  onClick: _cache[0] || (_cache[0] = ($event) => toggle()),
42
42
  onKeydown: [
43
43
  _cache[1] || (_cache[1] = withKeys(withModifiers(($event) => toggle(), ["prevent"]), ["enter"])),
@@ -1,15 +1,15 @@
1
1
  import { pushScopeId, popScopeId, openBlock, createElementBlock, renderSlot } from "@histoire/vendors/vue";
2
- import "./BaseEmpty.vue_vue_type_style_index_0_scoped_af3328a6_lang.js";
2
+ import "./BaseEmpty.vue_vue_type_style_index_0_scoped_c5ecfead_lang.js";
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const _sfc_main = {};
5
- const _withScopeId = (n) => (pushScopeId("data-v-af3328a6"), n = n(), popScopeId(), n);
6
- const _hoisted_1 = { class: "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" };
5
+ const _withScopeId = (n) => (pushScopeId("data-v-c5ecfead"), n = n(), popScopeId(), n);
6
+ 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
7
  function _sfc_render(_ctx, _cache) {
8
8
  return openBlock(), createElementBlock("div", _hoisted_1, [
9
9
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
10
10
  ]);
11
11
  }
12
- const BaseEmpty = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-af3328a6"]]);
12
+ const BaseEmpty = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-c5ecfead"]]);
13
13
  export {
14
14
  BaseEmpty as default
15
15
  };
@@ -0,0 +1,4 @@
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
+ };
@@ -4,7 +4,7 @@ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const _hoisted_1 = ["href", "onClick", "onKeyup"];
5
5
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
6
6
  const _component_RouterLink = resolveComponent("RouterLink");
7
- return openBlock(), createBlock(_component_RouterLink, mergeProps(_ctx.$attrs, { custom: "" }), {
7
+ return openBlock(), createBlock(_component_RouterLink, mergeProps({ class: "histoire-base-list-item-link" }, _ctx.$attrs, { custom: "" }), {
8
8
  default: withCtx(({ isActive: linkIsActive, href, navigate }) => [
9
9
  createElementVNode("a", {
10
10
  href,
@@ -61,7 +61,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
61
61
  return openBlock(), createElementBlock("div", {
62
62
  ref_key: "el",
63
63
  ref: el,
64
- class: "htw-flex htw-overflow-hidden htw-relative"
64
+ class: "histoire-base-overflow-menu htw-flex htw-overflow-hidden htw-relative"
65
65
  }, [
66
66
  createVNode(ChildrenRender, null, {
67
67
  default: withCtx(() => [
@@ -8,7 +8,7 @@ const _hoisted_2 = {
8
8
  };
9
9
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
10
10
  const _component_router_link = resolveComponent("router-link");
11
- return openBlock(), createBlock(_component_router_link, mergeProps(_ctx.$attrs, { custom: "" }), {
11
+ return openBlock(), createBlock(_component_router_link, mergeProps({ class: "histoire-base-overflow-tab" }, _ctx.$attrs, { custom: "" }), {
12
12
  default: withCtx(({ isActive, isExactActive, href, navigate }) => [
13
13
  createElementVNode("a", mergeProps(_ctx.$attrs, {
14
14
  href,
@@ -27,7 +27,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
27
  hide();
28
28
  }
29
29
  return (_ctx, _cache) => {
30
- return openBlock(), createBlock(unref(Dropdown), { "auto-size": "" }, {
30
+ return openBlock(), createBlock(unref(Dropdown), {
31
+ class: "histoire-base-select",
32
+ "auto-size": ""
33
+ }, {
31
34
  popper: withCtx(({ hide }) => [
32
35
  createElementVNode("div", _hoisted_3, [
33
36
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(formattedOptions), (label, value) => {
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./BaseSplitPane.vue_vue_type_script_setup_true_lang.js";
2
- import "./BaseSplitPane.vue_vue_type_style_index_0_scoped_bb6c600c_lang.js";
2
+ import "./BaseSplitPane.vue_vue_type_style_index_0_scoped_ed925107_lang.js";
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
- const BaseSplitPane = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bb6c600c"]]);
4
+ const BaseSplitPane = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ed925107"]]);
5
5
  export {
6
6
  BaseSplitPane as default
7
7
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, watch, computed, onUnmounted, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, unref, renderSlot, withModifiers, pushScopeId, popScopeId } from "@histoire/vendors/vue";
2
- const _withScopeId = (n) => (pushScopeId("data-v-bb6c600c"), n = n(), popScopeId(), n);
2
+ const _withScopeId = (n) => (pushScopeId("data-v-ed925107"), n = n(), popScopeId(), n);
3
3
  const _hoisted_1 = ["onMousedown"];
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "BaseSplitPane",
@@ -138,7 +138,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
138
138
  return openBlock(), createElementBlock("div", {
139
139
  ref_key: "el",
140
140
  ref: el,
141
- class: normalizeClass(["htw-flex htw-h-full htw-isolate htw-overflow-auto", {
141
+ class: normalizeClass(["histoire-base-split-pane htw-flex htw-h-full htw-isolate htw-overflow-auto", {
142
142
  "htw-flex-col": __props.orientation === "portrait",
143
143
  "htw-cursor-ew-resize": dragging.value && __props.orientation === "landscape",
144
144
  "htw-cursor-ns-resize": dragging.value && __props.orientation === "portrait",
@@ -0,0 +1,4 @@
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
+ };
@@ -8,7 +8,7 @@ const _hoisted_2 = {
8
8
  };
9
9
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
10
10
  const _component_router_link = resolveComponent("router-link");
11
- return openBlock(), createBlock(_component_router_link, mergeProps(_ctx.$attrs, { custom: "" }), {
11
+ return openBlock(), createBlock(_component_router_link, mergeProps({ class: "histoire-base-tab" }, _ctx.$attrs, { custom: "" }), {
12
12
  default: withCtx(({ isActive, isExactActive, href, navigate }) => [
13
13
  createElementVNode("a", mergeProps(_ctx.$attrs, {
14
14
  href,
@@ -0,0 +1,13 @@
1
+ import { openBlock, createElementBlock, renderSlot } from "@histoire/vendors/vue";
2
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
3
+ const _sfc_main = {};
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" };
5
+ function _sfc_render(_ctx, _cache) {
6
+ return openBlock(), createElementBlock("span", _hoisted_1, [
7
+ renderSlot(_ctx.$slots, "default")
8
+ ]);
9
+ }
10
+ const BaseTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
11
+ export {
12
+ BaseTag as default
13
+ };
@@ -51,6 +51,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
51
51
  key: 0,
52
52
  modelValue: unref(model),
53
53
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(model) ? model.value = $event : null),
54
+ class: "histoire-controls-component-prop-item",
54
55
  title: `${__props.definition.name}${unref(canReset) ? " *" : ""}`
55
56
  }, {
56
57
  actions: withCtx(() => [
@@ -2,9 +2,10 @@ import { defineComponent, resolveDirective, openBlock, createElementBlock, creat
2
2
  import { Icon } from "@histoire/vendors/iconify";
3
3
  import "./ControlsComponentPropItem.js";
4
4
  import _sfc_main$1 from "./ControlsComponentPropItem.vue_vue_type_script_setup_true_lang.js";
5
- const _hoisted_1 = { class: "htw-font-mono htw-p-2 htw-flex htw-items-center htw-gap-1" };
6
- const _hoisted_2 = /* @__PURE__ */ createElementVNode("span", { class: "htw-opacity-30" }, "<", -1);
7
- const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", { class: "htw-opacity-30" }, ">", -1);
5
+ const _hoisted_1 = { class: "histoire-controls-component-props" };
6
+ const _hoisted_2 = { class: "htw-font-mono htw-p-2 htw-flex htw-items-center htw-gap-1" };
7
+ const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", { class: "htw-opacity-30" }, "<", -1);
8
+ const _hoisted_4 = /* @__PURE__ */ createElementVNode("span", { class: "htw-opacity-30" }, ">", -1);
8
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
10
  __name: "ControlsComponentProps",
10
11
  props: {
@@ -14,8 +15,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
15
  setup(__props) {
15
16
  return (_ctx, _cache) => {
16
17
  const _directive_tooltip = resolveDirective("tooltip");
17
- return openBlock(), createElementBlock("div", null, [
18
- createElementVNode("div", _hoisted_1, [
18
+ return openBlock(), createElementBlock("div", _hoisted_1, [
19
+ createElementVNode("div", _hoisted_2, [
19
20
  withDirectives(createVNode(unref(Icon), {
20
21
  icon: "carbon:flash",
21
22
  class: "htw-w-4 htw-h-4 htw-text-primary-500 htw-flex-none"
@@ -23,9 +24,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
23
24
  [_directive_tooltip, "Auto-detected props"]
24
25
  ]),
25
26
  createElementVNode("div", null, [
26
- _hoisted_2,
27
+ _hoisted_3,
27
28
  createTextVNode(toDisplayString(__props.definition.name), 1),
28
- _hoisted_3
29
+ _hoisted_4
29
30
  ])
30
31
  ]),
31
32
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.definition.props, (prop) => {
@@ -1,19 +1,12 @@
1
- import { defineComponent, toRefs, computed, openBlock, createBlock, withCtx, createVNode, createTextVNode, normalizeClass, unref, createElementBlock, toDisplayString, createCommentVNode } from "@histoire/vendors/vue";
1
+ import { defineComponent, toRefs, computed, openBlock, createBlock, withCtx, createVNode, createTextVNode, normalizeClass, unref, toDisplayString, createCommentVNode } from "@histoire/vendors/vue";
2
2
  import BaseTab from "../base/BaseTab.js";
3
3
  import { useEventsStore } from "../../stores/events.js";
4
4
  import "../base/BaseOverflowMenu.js";
5
5
  import BaseOverflowTab from "../base/BaseOverflowTab.js";
6
6
  import "./StoryDocs.js";
7
+ import BaseTag from "../base/BaseTag.js";
7
8
  import { useStoryDoc } from "./StoryDocs.vue_vue_type_script_setup_true_lang.js";
8
9
  import _sfc_main$1 from "../base/BaseOverflowMenu.vue_vue_type_script_setup_true_lang.js";
9
- const _hoisted_1 = {
10
- key: 0,
11
- class: "htw-text-center htw-text-xs htw-mx-1 htw-px-0.5 htw-h-4 htw-min-w-4 htw-rounded-full active htw-bg-primary-500 htw-text-white dark:htw-text-black"
12
- };
13
- const _hoisted_2 = {
14
- key: 0,
15
- class: "htw-text-center htw-text-xs htw-mx-1 htw-px-0.5 htw-h-4 htw-min-w-4 htw-rounded-full active htw-bg-primary-500 htw-text-white dark:htw-text-black"
16
- };
17
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
18
11
  __name: "PaneTabs",
19
12
  props: {
@@ -27,7 +20,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
20
  const eventsStore = useEventsStore();
28
21
  const hasEvents = computed(() => eventsStore.events.length);
29
22
  return (_ctx, _cache) => {
30
- return openBlock(), createBlock(_sfc_main$1, { class: "htw-h-10 htw-flex-none htw-border-b htw-border-gray-100 dark:htw-border-gray-750" }, {
23
+ return openBlock(), createBlock(_sfc_main$1, { class: "histoire-pane-tabs htw-h-10 htw-flex-none htw-border-b htw-border-gray-100 dark:htw-border-gray-750" }, {
31
24
  overflow: withCtx(() => [
32
25
  createVNode(BaseOverflowTab, {
33
26
  to: { ..._ctx.$route, query: { ..._ctx.$route.query, tab: "" } },
@@ -59,7 +52,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
59
52
  }, {
60
53
  default: withCtx(() => [
61
54
  createTextVNode(" Events "),
62
- unref(eventsStore).unseen ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref(eventsStore).unseen <= 99 ? unref(eventsStore).unseen : "99+"), 1)) : createCommentVNode("", true)
55
+ unref(eventsStore).unseen ? (openBlock(), createBlock(BaseTag, { key: 0 }, {
56
+ default: withCtx(() => [
57
+ createTextVNode(toDisplayString(unref(eventsStore).unseen <= 99 ? unref(eventsStore).unseen : "99+"), 1)
58
+ ]),
59
+ _: 1
60
+ })) : createCommentVNode("", true)
63
61
  ]),
64
62
  _: 1
65
63
  }, 8, ["to", "matched", "class"])
@@ -95,7 +93,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
95
93
  }, {
96
94
  default: withCtx(() => [
97
95
  createTextVNode(" Events "),
98
- unref(eventsStore).unseen ? (openBlock(), createElementBlock("span", _hoisted_1, toDisplayString(unref(eventsStore).unseen <= 99 ? unref(eventsStore).unseen : "99+"), 1)) : createCommentVNode("", true)
96
+ unref(eventsStore).unseen ? (openBlock(), createBlock(BaseTag, { key: 0 }, {
97
+ default: withCtx(() => [
98
+ createTextVNode(toDisplayString(unref(eventsStore).unseen <= 99 ? unref(eventsStore).unseen : "99+"), 1)
99
+ ]),
100
+ _: 1
101
+ })) : createCommentVNode("", true)
99
102
  ]),
100
103
  _: 1
101
104
  }, 8, ["to", "matched", "class"])
@@ -5,7 +5,7 @@ import { clone, omit, applyState } from "@histoire/shared";
5
5
  import "../base/BaseSelect.js";
6
6
  import { toRawDeep } from "../../util/state.js";
7
7
  import _sfc_main$1 from "../base/BaseSelect.vue_vue_type_script_setup_true_lang.js";
8
- const _hoisted_1 = { class: "htw-flex htw-gap-2 htw-w-full htw-items-center" };
8
+ const _hoisted_1 = { class: "histoire-state-presets htw-flex htw-gap-2 htw-w-full htw-items-center" };
9
9
  const _hoisted_2 = ["onUpdate:modelValue"];
10
10
  const _hoisted_3 = {
11
11
  key: 1,
@@ -9,7 +9,7 @@ import _sfc_main$2 from "../story/GenericRenderStory.vue_vue_type_script_setup_t
9
9
  import _sfc_main$3 from "./ControlsComponentProps.vue_vue_type_script_setup_true_lang.js";
10
10
  const _hoisted_1 = {
11
11
  "data-test-id": "story-controls",
12
- class: "htw-flex htw-flex-col htw-divide-y htw-divide-gray-100 dark:htw-divide-gray-750"
12
+ class: "histoire-story-controls htw-flex htw-flex-col htw-divide-y htw-divide-gray-100 dark:htw-divide-gray-750"
13
13
  };
14
14
  const _hoisted_2 = { class: "htw-h-9 htw-flex-none htw-px-2 htw-flex htw-items-center" };
15
15
  const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, "No controls available for this story", -1);
@@ -1,5 +1,6 @@
1
1
  import { defineComponent, toRefs, openBlock, createElementBlock, unref, createBlock, withCtx, createVNode, createTextVNode, ref, watchEffect } from "@histoire/vendors/vue";
2
2
  import { Icon } from "@histoire/vendors/iconify";
3
+ import { useRouter } from "@histoire/vendors/vue-router";
3
4
  import BaseEmpty from "../base/BaseEmpty.js";
4
5
  import { markdownFiles } from "virtual:$histoire-markdown-files";
5
6
  const _hoisted_1 = ["innerHTML"];
@@ -47,8 +48,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
47
48
  const props = __props;
48
49
  const { story } = toRefs(props);
49
50
  const { renderedDoc } = useStoryDoc(story);
51
+ const router = useRouter();
52
+ const fakeHost = `http://a.com`;
53
+ function onClick(e) {
54
+ const link = e.target.closest("a");
55
+ if (link && link.getAttribute("data-route") && !e.ctrlKey && !e.shiftKey && !e.altKey && !e.metaKey && link.target !== `_blank`) {
56
+ e.preventDefault();
57
+ const url = new URL(link.href, fakeHost);
58
+ const targetHref = url.pathname + url.search + url.hash;
59
+ router.push(targetHref);
60
+ }
61
+ }
50
62
  return (_ctx, _cache) => {
51
- return openBlock(), createElementBlock("div", null, [
63
+ return openBlock(), createElementBlock("div", {
64
+ class: "histoire-story-docs",
65
+ onClickCapture: onClick
66
+ }, [
52
67
  !unref(renderedDoc) ? (openBlock(), createBlock(BaseEmpty, { key: 0 }, {
53
68
  default: withCtx(() => [
54
69
  createVNode(unref(Icon), {
@@ -64,7 +79,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
64
79
  "data-test-id": "story-docs",
65
80
  innerHTML: unref(renderedDoc)
66
81
  }, null, 8, _hoisted_1))
67
- ]);
82
+ ], 32);
68
83
  };
69
84
  }
70
85
  });
@@ -25,7 +25,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
25
25
  return (_ctx, _cache) => {
26
26
  const _component_VDropdown = resolveComponent("VDropdown");
27
27
  return openBlock(), createBlock(_component_VDropdown, {
28
- class: "htw-group",
28
+ class: "histoire-story-event htw-group",
29
29
  placement: "right",
30
30
  "data-test-id": "event-item"
31
31
  }, {
@@ -23,7 +23,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
23
23
  return (_ctx, _cache) => {
24
24
  return openBlock(), createElementBlock("div", {
25
25
  ref_key: "eventsElement",
26
- ref: eventsElement
26
+ ref: eventsElement,
27
+ class: "histoire-story-events"
27
28
  }, [
28
29
  !unref(hasEvents) ? (openBlock(), createBlock(BaseEmpty, { key: 0 }, {
29
30
  default: withCtx(() => [