@histoire/app 0.12.3 → 0.12.4

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.
@@ -64,7 +64,7 @@ button {
64
64
  }
65
65
  }
66
66
 
67
- .__histoire-render-story {
67
+ .__histoire-render-story:not(.__histoire-render-custom-controls) {
68
68
  overflow: auto;
69
69
  min-height: 100%;
70
70
  }
@@ -18,7 +18,7 @@ html {
18
18
  display: none;
19
19
  }
20
20
 
21
- .__histoire-render-story {
21
+ .__histoire-render-story:not(.__histoire-render-custom-controls) {
22
22
  overflow: auto;
23
23
  min-height: 100%;
24
24
  }
@@ -49,7 +49,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
49
49
  "slot-name": "controls",
50
50
  variant: __props.variant,
51
51
  story: __props.story,
52
- class: "htw-flex-none",
52
+ class: "__histoire-render-custom-controls htw-flex-none",
53
53
  onReady: _cache[0] || (_cache[0] = ($event) => ready.value = true)
54
54
  }, null, 8, ["variant", "story"])) : !((_b = (_a = __props.variant.state) == null ? void 0 : _a._hPropDefs) == null ? void 0 : _b.length) ? (openBlock(), createBlock(BaseEmpty, { key: 1 }, {
55
55
  default: withCtx(() => [
@@ -36,38 +36,38 @@
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
 
47
- .bind-icon-color[data-v-ddfc5b4f] {
48
- color: var(--4d25d048);
43
+ .bind-icon-color[data-v-36846ccf] {
44
+ color: var(--5792748b);
49
45
  }
50
46
 
51
- .__histoire-code-placeholder[data-v-f528bb1b] {
52
- color: inherit;
53
- font-size: inherit;
47
+ .bind-tree-margin[data-v-19810958] {
48
+ margin-left: var(--444efc12);
49
+ }
50
+ .bind-icon-color[data-v-19810958] {
51
+ color: var(--ae892164);
54
52
  }
55
53
 
56
54
  .bind-tree-padding[data-v-2d2e4786] {
57
55
  padding-left: var(--6851b0a7);
58
56
  }
59
57
 
60
- .bind-tree-margin[data-v-19810958] {
61
- margin-left: var(--444efc12);
62
- }
63
- .bind-icon-color[data-v-19810958] {
64
- color: var(--ae892164);
58
+ .__histoire-code-placeholder[data-v-f528bb1b] {
59
+ color: inherit;
60
+ font-size: inherit;
65
61
  }
66
62
 
67
63
  .bind-icon-color[data-v-ab890d9c] {
68
64
  color: var(--89126aaa);
69
65
  }
70
66
 
67
+ .bind-icon-color[data-v-ddfc5b4f] {
68
+ color: var(--4d25d048);
69
+ }
70
+
71
71
  .bind-preview-bg[data-v-c48fb2b2] {
72
72
  background-color: var(--627bec82);
73
73
  color: var(--35068428);
package/dist/style.css CHANGED
@@ -440,7 +440,7 @@ body {
440
440
  }
441
441
  }
442
442
 
443
- .__histoire-render-story {
443
+ .__histoire-render-story:not(.__histoire-render-custom-controls) {
444
444
  overflow: auto;
445
445
  min-height: 100%;
446
446
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@histoire/app",
3
- "version": "0.12.3",
3
+ "version": "0.12.4",
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.12.3",
28
- "@histoire/shared": "^0.12.3",
29
- "@histoire/vendors": "^0.12.3",
27
+ "@histoire/controls": "^0.12.4",
28
+ "@histoire/shared": "^0.12.4",
29
+ "@histoire/vendors": "^0.12.4",
30
30
  "@types/flexsearch": "^0.7.3",
31
31
  "flexsearch": "0.7.21",
32
32
  "shiki-es": "^0.1.2"
@@ -52,7 +52,7 @@ const hasCustomControls = computed(() => props.variant.slots().controls || props
52
52
  slot-name="controls"
53
53
  :variant="variant"
54
54
  :story="story"
55
- class="htw-flex-none"
55
+ class="__histoire-render-custom-controls htw-flex-none"
56
56
  @ready="ready = true"
57
57
  />
58
58
 
@@ -64,7 +64,7 @@ button {
64
64
  }
65
65
  }
66
66
 
67
- .__histoire-render-story {
67
+ .__histoire-render-story:not(.__histoire-render-custom-controls) {
68
68
  overflow: auto;
69
69
  min-height: 100%;
70
70
  }
@@ -18,7 +18,7 @@ html {
18
18
  display: none;
19
19
  }
20
20
 
21
- .__histoire-render-story {
21
+ .__histoire-render-story:not(.__histoire-render-custom-controls) {
22
22
  overflow: auto;
23
23
  min-height: 100%;
24
24
  }