@histoire/app 0.12.1 → 0.12.2

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 "./StoryListFolder.vue2.js";
2
2
  import "./StoryListFolder.vue3.js";
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  "use strict";
5
- const StoryListFolder = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e161f5e0"]]);
5
+ const StoryListFolder = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2d2e4786"]]);
6
6
  export {
7
7
  StoryListFolder as default
8
8
  };
@@ -3,14 +3,14 @@ import StoryListItem from "./StoryListItem.vue.js";
3
3
  import { Icon } from "@histoire/vendors/iconify";
4
4
  import { useFolderStore } from "../../stores/folder.js";
5
5
  "use strict";
6
- const _withScopeId = (n) => (pushScopeId("data-v-e161f5e0"), n = n(), popScopeId(), n);
6
+ const _withScopeId = (n) => (pushScopeId("data-v-2d2e4786"), n = n(), popScopeId(), n);
7
7
  const _hoisted_1 = {
8
8
  "data-test-id": "story-list-folder",
9
9
  class: "histoire-story-list-folder"
10
10
  };
11
11
  const _hoisted_2 = ["onKeyup"];
12
12
  const _hoisted_3 = { class: "bind-tree-padding htw-flex htw-items-center htw-gap-2 htw-min-w-0" };
13
- const _hoisted_4 = { class: "htw-flex htw-flex-none htw-items-center htw-opacity-30 [.histoire-story-list-folder-button:hover_&]:htw-opacity-100 htw-ml-4 htw-rounded-sm htw-border htw-border-gray-500/40" };
13
+ const _hoisted_4 = { class: "htw-flex htw-flex-none htw-items-center htw-opacity-30 [.histoire-story-list-folder-button:hover_&]:htw-opacity-100 htw-ml-4 htw-w-4 htw-h-4 htw-rounded-sm htw-border htw-border-gray-500/40" };
14
14
  const _hoisted_5 = { class: "htw-truncate" };
15
15
  const _hoisted_6 = { key: 0 };
16
16
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -24,7 +24,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
24
24
  setup(__props) {
25
25
  const props = __props;
26
26
  useCssVars((_ctx) => ({
27
- "e605dd68": unref(folderPadding)
27
+ "6851b0a7": unref(folderPadding)
28
28
  }));
29
29
  const folderStore = useFolderStore();
30
30
  const folderPath = computed(() => [...props.path, props.folder.title]);
@@ -52,7 +52,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
52
52
  createElementVNode("span", _hoisted_4, [
53
53
  createVNode(unref(Icon), {
54
54
  icon: "carbon:caret-right",
55
- class: normalizeClass(["htw-w-4 htw-h-4 htw-transition-transform htw-duration-150", {
55
+ class: normalizeClass(["htw-w-full htw-h-full htw-transition-transform htw-duration-150", {
56
56
  "htw-rotate-90": unref(isFolderOpen)
57
57
  }])
58
58
  }, null, 8, ["class"])
@@ -1,4 +1,4 @@
1
- const StoryListFolder_vue_vue_type_style_index_0_scoped_e161f5e0_lang = "";
1
+ const StoryListFolder_vue_vue_type_style_index_0_scoped_2d2e4786_lang = "";
2
2
  export {
3
- StoryListFolder_vue_vue_type_style_index_0_scoped_e161f5e0_lang as default
3
+ StoryListFolder_vue_vue_type_style_index_0_scoped_2d2e4786_lang as default
4
4
  };
@@ -1,4 +1,16 @@
1
1
 
2
+ .htw-base-empty[data-v-c5ecfead]:not(.no-animation) {
3
+ animation: htw-base-empty-c5ecfead .15s .2s both;
4
+ }
5
+ @keyframes htw-base-empty-c5ecfead {
6
+ 0% {
7
+ opacity: 0;
8
+ }
9
+ 100% {
10
+ opacity: 1;
11
+ }
12
+ }
13
+
2
14
  .landscape > div > .dragger[data-v-ed925107] {
3
15
  width: .625rem;
4
16
  }
@@ -28,24 +40,12 @@
28
40
  color: var(--5792748b);
29
41
  }
30
42
 
31
- .htw-base-empty[data-v-c5ecfead]:not(.no-animation) {
32
- animation: htw-base-empty-c5ecfead .15s .2s both;
33
- }
34
- @keyframes htw-base-empty-c5ecfead {
35
- 0% {
36
- opacity: 0;
37
- }
38
- 100% {
39
- opacity: 1;
40
- }
41
- }
42
-
43
43
  .bind-icon-color[data-v-6046525f] {
44
44
  color: var(--663732b6);
45
45
  }
46
46
 
47
- .bind-tree-padding[data-v-e161f5e0] {
48
- padding-left: var(--e605dd68);
47
+ .bind-tree-padding[data-v-2d2e4786] {
48
+ padding-left: var(--6851b0a7);
49
49
  }
50
50
 
51
51
  .bind-tree-margin[data-v-19810958] {
@@ -55,6 +55,10 @@
55
55
  color: var(--ae892164);
56
56
  }
57
57
 
58
+ .bind-icon-color[data-v-ddfc5b4f] {
59
+ color: var(--4d25d048);
60
+ }
61
+
58
62
  .bind-icon-color[data-v-ab890d9c] {
59
63
  color: var(--89126aaa);
60
64
  }
@@ -64,12 +68,9 @@
64
68
  font-size: inherit;
65
69
  }
66
70
 
67
- .bind-icon-color[data-v-ddfc5b4f] {
68
- color: var(--4d25d048);
69
- }
70
-
71
- .bind-icon-color[data-v-d95fcb03] {
72
- color: var(--beebbd52);
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@histoire/app",
3
- "version": "0.12.1",
3
+ "version": "0.12.2",
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.1",
28
- "@histoire/shared": "^0.12.1",
29
- "@histoire/vendors": "^0.12.1",
27
+ "@histoire/controls": "^0.12.2",
28
+ "@histoire/shared": "^0.12.2",
29
+ "@histoire/vendors": "^0.12.2",
30
30
  "@types/flexsearch": "^0.7.3",
31
31
  "flexsearch": "0.7.21",
32
32
  "shiki-es": "^0.1.2"
@@ -43,10 +43,10 @@ const folderPadding = computed(() => {
43
43
  @keyup.space="toggleOpen"
44
44
  >
45
45
  <span class="bind-tree-padding htw-flex htw-items-center htw-gap-2 htw-min-w-0">
46
- <span class="htw-flex htw-flex-none htw-items-center htw-opacity-30 [.histoire-story-list-folder-button:hover_&]:htw-opacity-100 htw-ml-4 htw-rounded-sm htw-border htw-border-gray-500/40">
46
+ <span class="htw-flex htw-flex-none htw-items-center htw-opacity-30 [.histoire-story-list-folder-button:hover_&]:htw-opacity-100 htw-ml-4 htw-w-4 htw-h-4 htw-rounded-sm htw-border htw-border-gray-500/40">
47
47
  <Icon
48
48
  icon="carbon:caret-right"
49
- class="htw-w-4 htw-h-4 htw-transition-transform htw-duration-150"
49
+ class="htw-w-full htw-h-full htw-transition-transform htw-duration-150"
50
50
  :class="{
51
51
  'htw-rotate-90': isFolderOpen,
52
52
  }"