@histoire/app 0.17.13 → 0.17.15

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.
@@ -2,7 +2,7 @@ import _sfc_main from "./StoryResponsivePreview.vue2.js";
2
2
  import "./StoryResponsivePreview.vue3.js";
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  "use strict";
5
- const StoryResponsivePreview = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a83b1911"]]);
5
+ const StoryResponsivePreview = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1a896536"]]);
6
6
  export {
7
7
  StoryResponsivePreview as default
8
8
  };
@@ -6,7 +6,7 @@ import CheckerboardPattern from "../misc/CheckerboardPattern.vue.js";
6
6
  import { usePreviewSettingsStore } from "../../stores/preview-settings.js";
7
7
  import { VTooltip } from "@histoire/vendors/floating-vue";
8
8
  "use strict";
9
- const _withScopeId = (n) => (pushScopeId("data-v-a83b1911"), n = n(), popScopeId(), n);
9
+ const _withScopeId = (n) => (pushScopeId("data-v-1a896536"), n = n(), popScopeId(), n);
10
10
  const _hoisted_1 = { class: "histoire-story-responsive-preview htw-w-full htw-h-full htw-flex-1 htw-rounded-lg htw-relative htw-overflow-hidden" };
11
11
  const _hoisted_2 = {
12
12
  key: 0,
@@ -19,7 +19,7 @@ const _hoisted_3 = {
19
19
  const _hoisted_4 = { class: "htw-p-8 htw-h-full htw-relative" };
20
20
  const _hoisted_5 = { class: "htw-w-full htw-h-full htw-relative" };
21
21
  const _hoisted_6 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "htw-absolute htw-inset-0" }, null, -1));
22
- const _hoisted_7 = /* @__PURE__ */ createStaticVNode('<div class="htw-absolute htw-top-5 htw-left-8 htw-h-2 htw-w-px htw-bg-gray-400/25" data-v-a83b1911></div><div class="htw-absolute htw-top-5 htw-right-8 htw-h-2 htw-w-px htw-bg-gray-400/25" data-v-a83b1911></div><div class="htw-absolute htw-bottom-5 htw-left-8 htw-h-2 htw-w-px htw-bg-gray-400/25" data-v-a83b1911></div><div class="htw-absolute htw-bottom-5 htw-right-8 htw-h-2 htw-w-px htw-bg-gray-400/25" data-v-a83b1911></div><div class="htw-absolute htw-left-5 htw-top-8 htw-w-2 htw-h-px htw-bg-gray-400/25" data-v-a83b1911></div><div class="htw-absolute htw-left-5 htw-bottom-8 htw-w-2 htw-h-px htw-bg-gray-400/25" data-v-a83b1911></div><div class="htw-absolute htw-right-5 htw-top-8 htw-w-2 htw-h-px htw-bg-gray-400/25" data-v-a83b1911></div><div class="htw-absolute htw-right-5 htw-bottom-8 htw-w-2 htw-h-px htw-bg-gray-400/25" data-v-a83b1911></div>', 8);
22
+ const _hoisted_7 = /* @__PURE__ */ createStaticVNode('<div class="htw-absolute htw-top-5 htw-left-8 htw-h-2 htw-w-px htw-bg-gray-400/25" data-v-1a896536></div><div class="htw-absolute htw-top-5 htw-right-8 htw-h-2 htw-w-px htw-bg-gray-400/25" data-v-1a896536></div><div class="htw-absolute htw-bottom-5 htw-left-8 htw-h-2 htw-w-px htw-bg-gray-400/25" data-v-1a896536></div><div class="htw-absolute htw-bottom-5 htw-right-8 htw-h-2 htw-w-px htw-bg-gray-400/25" data-v-1a896536></div><div class="htw-absolute htw-left-5 htw-top-8 htw-w-2 htw-h-px htw-bg-gray-400/25" data-v-1a896536></div><div class="htw-absolute htw-left-5 htw-bottom-8 htw-w-2 htw-h-px htw-bg-gray-400/25" data-v-1a896536></div><div class="htw-absolute htw-right-5 htw-top-8 htw-w-2 htw-h-px htw-bg-gray-400/25" data-v-1a896536></div><div class="htw-absolute htw-right-5 htw-bottom-8 htw-w-2 htw-h-px htw-bg-gray-400/25" data-v-1a896536></div>', 8);
23
23
  const _sfc_main = /* @__PURE__ */ defineComponent({
24
24
  __name: "StoryResponsivePreview",
25
25
  props: {
@@ -27,7 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
27
  },
28
28
  setup(__props) {
29
29
  useCssVars((_ctx) => ({
30
- "03d1950e": unref(settings).backgroundColor
30
+ "bdd30f9a": unref(settings).backgroundColor
31
31
  }));
32
32
  const props = __props;
33
33
  const settings = usePreviewSettingsStore().currentSettings;
@@ -127,7 +127,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
127
127
  class: "htw-h-full htw-overflow-auto htw-relative"
128
128
  }, [
129
129
  createElementVNode("div", {
130
- class: normalizeClass(["htw-h-full htw-overflow-hidden htw-bg-white dark:htw-bg-gray-700 htw-rounded-lg htw-relative", isResponsiveEnabled.value ? {
130
+ class: normalizeClass(["htw-overflow-hidden htw-bg-white dark:htw-bg-gray-700 htw-rounded-lg htw-relative", isResponsiveEnabled.value ? {
131
131
  "htw-w-fit": !!finalWidth.value,
132
132
  "htw-h-fit": !!finalHeight.value
133
133
  } : void 0])
@@ -1,24 +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
- .bind-icon-color[data-v-6046525f] {
15
- color: var(--663732b6);
16
- }
17
-
18
- .bind-icon-color[data-v-36846ccf] {
19
- color: var(--5792748b);
20
- }
21
-
22
2
  .landscape > div > .dragger[data-v-ed925107] {
23
3
  width: .625rem;
24
4
  }
@@ -44,12 +24,24 @@
44
24
  bottom: -.625rem;
45
25
  }
46
26
 
47
- .bind-icon-color[data-v-ddfc5b4f] {
48
- color: var(--4d25d048);
27
+ .bind-icon-color[data-v-36846ccf] {
28
+ color: var(--5792748b);
49
29
  }
50
30
 
51
- .bind-icon-color[data-v-ab890d9c] {
52
- color: var(--89126aaa);
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
+ .bind-icon-color[data-v-6046525f] {
44
+ color: var(--663732b6);
53
45
  }
54
46
 
55
47
  .bind-tree-margin[data-v-19810958] {
@@ -63,14 +55,21 @@
63
55
  padding-left: var(--6851b0a7);
64
56
  }
65
57
 
58
+ .bind-icon-color[data-v-ab890d9c] {
59
+ color: var(--89126aaa);
60
+ }
61
+
62
+ .bind-icon-color[data-v-ddfc5b4f] {
63
+ color: var(--4d25d048);
64
+ }
65
+
66
66
  .__histoire-code-placeholder[data-v-1bdf9905] {
67
67
  color: inherit;
68
68
  font-size: inherit;
69
69
  }
70
70
 
71
- .bind-preview-bg[data-v-c48fb2b2] {
72
- background-color: var(--627bec82);
73
- color: var(--35068428);
71
+ .bind-icon-color[data-v-6c8e9661] {
72
+ color: var(--a8c1277e);
74
73
  }
75
74
 
76
75
  .bind-icon-color[data-v-cf76cd68] {
@@ -80,18 +79,19 @@
80
79
  background-color: var(--0eff7465);
81
80
  }
82
81
 
83
- .bind-icon-color[data-v-6c8e9661] {
84
- color: var(--a8c1277e);
85
- }
86
-
87
- .bind-preview-bg[data-v-a83b1911] {
88
- background-color: var(--03d1950e);
82
+ .bind-preview-bg[data-v-c48fb2b2] {
83
+ background-color: var(--627bec82);
84
+ color: var(--35068428);
89
85
  }
90
86
 
91
87
  img.colorize-black[data-v-74182813] {
92
88
  filter: grayscale(100) brightness(0);
93
89
  }
94
90
 
91
+ .bind-preview-bg[data-v-1a896536] {
92
+ background-color: var(--bdd30f9a);
93
+ }
94
+
95
95
  .__histoire-hatched-pattern[data-v-91561117] {
96
96
  background: repeating-linear-gradient(135deg,
97
97
  transparent 0px,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@histoire/app",
3
- "version": "0.17.13",
3
+ "version": "0.17.15",
4
4
  "description": "Pre-bundled UI for Histoire",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -27,9 +27,9 @@
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.9",
31
- "@histoire/shared": "^0.17.10",
32
- "@histoire/vendors": "^0.17.8"
30
+ "@histoire/controls": "^0.17.15",
31
+ "@histoire/shared": "^0.17.15",
32
+ "@histoire/vendors": "^0.17.15"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@tailwindcss/typography": "^0.5.10",
@@ -136,7 +136,7 @@ const sizeTooltip = computed(() => (responsiveWidth.value ?? 'Auto') + ' × ' +
136
136
  class="htw-h-full htw-overflow-auto htw-relative"
137
137
  >
138
138
  <div
139
- class="htw-h-full htw-overflow-hidden htw-bg-white dark:htw-bg-gray-700 htw-rounded-lg htw-relative"
139
+ class="htw-overflow-hidden htw-bg-white dark:htw-bg-gray-700 htw-rounded-lg htw-relative"
140
140
  :class="isResponsiveEnabled ? {
141
141
  'htw-w-fit': !!finalWidth,
142
142
  'htw-h-fit': !!finalHeight