@histoire/app 0.15.8 → 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;
@@ -36,14 +36,14 @@
36
36
  bottom: -.625rem;
37
37
  }
38
38
 
39
- .bind-icon-color[data-v-36846ccf] {
40
- color: var(--5792748b);
41
- }
42
-
43
39
  .bind-icon-color[data-v-6046525f] {
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,8 +51,12 @@
51
51
  color: var(--ae892164);
52
52
  }
53
53
 
54
- .bind-tree-padding[data-v-2d2e4786] {
55
- padding-left: var(--6851b0a7);
54
+ .bind-icon-color[data-v-ab890d9c] {
55
+ color: var(--89126aaa);
56
+ }
57
+
58
+ .bind-icon-color[data-v-ddfc5b4f] {
59
+ color: var(--4d25d048);
56
60
  }
57
61
 
58
62
  .__histoire-code-placeholder[data-v-1bdf9905] {
@@ -60,12 +64,8 @@
60
64
  font-size: inherit;
61
65
  }
62
66
 
63
- .bind-icon-color[data-v-ab890d9c] {
64
- color: var(--89126aaa);
65
- }
66
-
67
- .bind-icon-color[data-v-ddfc5b4f] {
68
- color: var(--4d25d048);
67
+ .bind-tree-padding[data-v-2d2e4786] {
68
+ padding-left: var(--6851b0a7);
69
69
  }
70
70
 
71
71
  .bind-icon-color[data-v-cf76cd68] {
@@ -88,6 +88,10 @@
88
88
  background-color: var(--03d1950e);
89
89
  }
90
90
 
91
+ img.colorize-black[data-v-74182813] {
92
+ filter: grayscale(100) brightness(0);
93
+ }
94
+
91
95
  .__histoire-hatched-pattern[data-v-91561117] {
92
96
  background: repeating-linear-gradient(135deg,
93
97
  transparent 0px,
@@ -95,7 +99,3 @@
95
99
  currentColor 32px,
96
100
  currentColor 64px);
97
101
  }
98
-
99
- img.colorize-black[data-v-74182813] {
100
- filter: grayscale(100) brightness(0);
101
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@histoire/app",
3
- "version": "0.15.8",
3
+ "version": "0.15.9",
4
4
  "description": "Pre-bundled UI for Histoire",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -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