@histoire/app 0.11.7 → 0.11.8

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,8 +64,9 @@ button {
64
64
  }
65
65
  }
66
66
 
67
- .htw-sandbox-contain {
68
- contain: content;
67
+ .__histoire-render-story {
68
+ overflow: auto;
69
+ min-height: 100%;
69
70
  }
70
71
 
71
72
  .__histoire-code .shiki {
@@ -18,6 +18,7 @@ html {
18
18
  display: none;
19
19
  }
20
20
 
21
- .htw-sandbox-contain {
22
- contain: content;
21
+ .__histoire-render-story {
22
+ overflow: auto;
23
+ min-height: 100%;
23
24
  }
@@ -29,7 +29,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
29
29
  return (_ctx, _cache) => {
30
30
  return openBlock(), createBlock(unref(Dropdown), {
31
31
  class: "histoire-base-select",
32
- "auto-size": ""
32
+ "auto-size": "",
33
+ "auto-boundary-max-size": ""
33
34
  }, {
34
35
  popper: withCtx(({ hide }) => [
35
36
  createElementVNode("div", _hoisted_3, [
@@ -23,7 +23,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
23
23
  return (_ctx, _cache) => {
24
24
  return mountComponent.value ? (openBlock(), createBlock(resolveDynamicComponent(mountComponent.value), mergeProps({
25
25
  key: 0,
26
- class: "histoire-generic-render-story htw-sandbox-contain",
26
+ class: "histoire-generic-render-story __histoire-render-story",
27
27
  story: __props.story
28
28
  }, _ctx.$attrs), null, 16, ["story"])) : createCommentVNode("", true);
29
29
  };
@@ -55,10 +55,6 @@
55
55
  color: var(--ae892164);
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
  }
@@ -68,8 +64,13 @@
68
64
  font-size: inherit;
69
65
  }
70
66
 
71
- .bind-icon-color[data-v-d95fcb03] {
72
- color: var(--beebbd52);
67
+ .bind-icon-color[data-v-ddfc5b4f] {
68
+ color: var(--4d25d048);
69
+ }
70
+
71
+ .bind-preview-bg[data-v-c48fb2b2] {
72
+ background-color: var(--627bec82);
73
+ color: var(--35068428);
73
74
  }
74
75
 
75
76
  .bind-icon-color[data-v-f7c98176] {
@@ -79,9 +80,8 @@
79
80
  background-color: var(--f4b27ac2);
80
81
  }
81
82
 
82
- .bind-preview-bg[data-v-c48fb2b2] {
83
- background-color: var(--627bec82);
84
- color: var(--35068428);
83
+ .bind-icon-color[data-v-d95fcb03] {
84
+ color: var(--beebbd52);
85
85
  }
86
86
 
87
87
  .bind-preview-bg[data-v-a83b1911] {
package/dist/style.css CHANGED
@@ -440,8 +440,9 @@ body {
440
440
  }
441
441
  }
442
442
 
443
- .htw-sandbox-contain {
444
- contain: content;
443
+ .__histoire-render-story {
444
+ overflow: auto;
445
+ min-height: 100%;
445
446
  }
446
447
 
447
448
  .__histoire-code .shiki {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@histoire/app",
3
- "version": "0.11.7",
3
+ "version": "0.11.8",
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.11.7",
28
- "@histoire/shared": "^0.11.7",
29
- "@histoire/vendors": "^0.11.7",
27
+ "@histoire/controls": "^0.11.8",
28
+ "@histoire/shared": "^0.11.8",
29
+ "@histoire/vendors": "^0.11.8",
30
30
  "@types/flexsearch": "^0.7.3",
31
31
  "flexsearch": "0.7.21",
32
32
  "shiki": "0.10.1"
@@ -33,6 +33,7 @@ function selectValue (value: string, hide: () => void) {
33
33
  <VDropdown
34
34
  class="histoire-base-select"
35
35
  auto-size
36
+ auto-boundary-max-size
36
37
  >
37
38
  <div
38
39
  class="htw-cursor-pointer htw-w-full htw-outline-none htw-px-2 htw-h-[27px] -htw-my-1 htw-border htw-border-solid htw-border-black/25 dark:htw-border-white/25 hover:htw-border-primary-500 dark:hover:htw-border-primary-500 htw-rounded-sm htw-flex htw-gap-2 htw-items-center htw-leading-normal"
@@ -29,7 +29,7 @@ watchEffect(async () => {
29
29
  <component
30
30
  :is="mountComponent"
31
31
  v-if="mountComponent"
32
- class="histoire-generic-render-story htw-sandbox-contain"
32
+ class="histoire-generic-render-story __histoire-render-story"
33
33
  :story="story"
34
34
  v-bind="$attrs"
35
35
  />
@@ -64,8 +64,9 @@ button {
64
64
  }
65
65
  }
66
66
 
67
- .htw-sandbox-contain {
68
- contain: content;
67
+ .__histoire-render-story {
68
+ overflow: auto;
69
+ min-height: 100%;
69
70
  }
70
71
 
71
72
  .__histoire-code .shiki {
@@ -18,6 +18,7 @@ html {
18
18
  display: none;
19
19
  }
20
20
 
21
- .htw-sandbox-contain {
22
- contain: content;
21
+ .__histoire-render-story {
22
+ overflow: auto;
23
+ min-height: 100%;
23
24
  }