@histoire/app 0.17.14 → 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-
|
|
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-
|
|
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-
|
|
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
|
-
"
|
|
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-
|
|
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])
|
package/dist/bundled/style.css
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
.bind-icon-color[data-v-36846ccf] {
|
|
3
|
-
color: var(--5792748b);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
2
|
.landscape > div > .dragger[data-v-ed925107] {
|
|
7
3
|
width: .625rem;
|
|
8
4
|
}
|
|
@@ -28,6 +24,10 @@
|
|
|
28
24
|
bottom: -.625rem;
|
|
29
25
|
}
|
|
30
26
|
|
|
27
|
+
.bind-icon-color[data-v-36846ccf] {
|
|
28
|
+
color: var(--5792748b);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
31
|
.htw-base-empty[data-v-c5ecfead]:not(.no-animation) {
|
|
32
32
|
animation: htw-base-empty-c5ecfead .15s .2s both;
|
|
33
33
|
}
|
|
@@ -55,22 +55,21 @@
|
|
|
55
55
|
padding-left: var(--6851b0a7);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
.bind-icon-color[data-v-ddfc5b4f] {
|
|
59
|
-
color: var(--4d25d048);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
58
|
.bind-icon-color[data-v-ab890d9c] {
|
|
63
59
|
color: var(--89126aaa);
|
|
64
60
|
}
|
|
65
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-
|
|
72
|
-
|
|
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-
|
|
84
|
-
color: var(--
|
|
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.
|
|
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.
|
|
31
|
-
"@histoire/shared": "^0.17.
|
|
32
|
-
"@histoire/vendors": "^0.17.
|
|
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-
|
|
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
|