@histoire/app 0.15.7 → 0.15.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.
|
@@ -84,7 +84,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
84
84
|
await nextTick();
|
|
85
85
|
const hash = getHash();
|
|
86
86
|
if (hash) {
|
|
87
|
-
const anchor = document.querySelector(hash);
|
|
87
|
+
const anchor = document.querySelector(decodeURIComponent(hash));
|
|
88
88
|
if (anchor) {
|
|
89
89
|
anchor.scrollIntoView();
|
|
90
90
|
return;
|
package/dist/bundled/style.css
CHANGED
|
@@ -11,10 +11,6 @@
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.bind-icon-color[data-v-36846ccf] {
|
|
15
|
-
color: var(--5792748b);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
14
|
.landscape > div > .dragger[data-v-ed925107] {
|
|
19
15
|
width: .625rem;
|
|
20
16
|
}
|
|
@@ -44,6 +40,10 @@
|
|
|
44
40
|
color: var(--663732b6);
|
|
45
41
|
}
|
|
46
42
|
|
|
43
|
+
.bind-icon-color[data-v-36846ccf] {
|
|
44
|
+
color: var(--5792748b);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
47
|
.bind-tree-margin[data-v-19810958] {
|
|
48
48
|
margin-left: var(--444efc12);
|
|
49
49
|
}
|
|
@@ -51,10 +51,6 @@
|
|
|
51
51
|
color: var(--ae892164);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
.bind-tree-padding[data-v-2d2e4786] {
|
|
55
|
-
padding-left: var(--6851b0a7);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
54
|
.bind-icon-color[data-v-ab890d9c] {
|
|
59
55
|
color: var(--89126aaa);
|
|
60
56
|
}
|
|
@@ -68,9 +64,8 @@
|
|
|
68
64
|
font-size: inherit;
|
|
69
65
|
}
|
|
70
66
|
|
|
71
|
-
.bind-
|
|
72
|
-
|
|
73
|
-
color: var(--35068428);
|
|
67
|
+
.bind-tree-padding[data-v-2d2e4786] {
|
|
68
|
+
padding-left: var(--6851b0a7);
|
|
74
69
|
}
|
|
75
70
|
|
|
76
71
|
.bind-icon-color[data-v-cf76cd68] {
|
|
@@ -80,6 +75,11 @@
|
|
|
80
75
|
background-color: var(--0eff7465);
|
|
81
76
|
}
|
|
82
77
|
|
|
78
|
+
.bind-preview-bg[data-v-c48fb2b2] {
|
|
79
|
+
background-color: var(--627bec82);
|
|
80
|
+
color: var(--35068428);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
83
|
.bind-icon-color[data-v-6c8e9661] {
|
|
84
84
|
color: var(--a8c1277e);
|
|
85
85
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@histoire/app",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.9",
|
|
4
4
|
"description": "Pre-bundled UI for Histoire",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
},
|
|
25
25
|
"types": "./src/index.ts",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@histoire/controls": "^0.15.
|
|
28
|
-
"@histoire/shared": "^0.15.
|
|
29
|
-
"@histoire/vendors": "^0.15.
|
|
27
|
+
"@histoire/controls": "^0.15.8",
|
|
28
|
+
"@histoire/shared": "^0.15.8",
|
|
29
|
+
"@histoire/vendors": "^0.15.8",
|
|
30
30
|
"@types/flexsearch": "^0.7.3",
|
|
31
31
|
"flexsearch": "0.7.21",
|
|
32
32
|
"shiki-es": "^0.2.0"
|
|
@@ -115,7 +115,7 @@ async function scrollToAnchor () {
|
|
|
115
115
|
await nextTick()
|
|
116
116
|
const hash = getHash()
|
|
117
117
|
if (hash) {
|
|
118
|
-
const anchor = document.querySelector(hash)
|
|
118
|
+
const anchor = document.querySelector(decodeURIComponent(hash))
|
|
119
119
|
if (anchor) {
|
|
120
120
|
anchor.scrollIntoView()
|
|
121
121
|
return
|