histoire 0.14.0 → 0.14.1

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.
@@ -13,6 +13,7 @@ export function useCollectStories(options, ctx) {
13
13
  deps: {
14
14
  inline: [
15
15
  /histoire\/dist/,
16
+ /histoire\/client/,
16
17
  /@histoire\/[\w\d-]+\/dist/,
17
18
  /histoire-[\w\d-]+\/dist/,
18
19
  /@vue\/devtools-api/,
@@ -38,6 +38,7 @@ export function getDefaultConfig() {
38
38
  },
39
39
  defaultColorScheme: 'auto',
40
40
  storeColorScheme: true,
41
+ darkClass: 'dark',
41
42
  },
42
43
  responsivePresets: [
43
44
  {
@@ -32,7 +32,6 @@ export const RESOLVED_SUPPORT_PLUGINS_COLLECT = `/__resolved__${SUPPORT_PLUGINS_
32
32
  export const MARKDOWN_FILES = 'virtual:$histoire-markdown-files';
33
33
  export const RESOLVED_MARKDOWN_FILES = `/__resolved__${MARKDOWN_FILES}`;
34
34
  // export const RESOLVED_MARKDOWN_FILES = `\0${MARKDOWN_FILES}`
35
- // @TODO virtual module id
36
35
  export const COMMANDS = 'virtual:$histoire-commands';
37
36
  export const RESOLVED_COMMANDS = `/__resolved__${COMMANDS}`;
38
37
  export * from './markdown.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "histoire",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "A fast story book powered by Vite",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -37,10 +37,10 @@
37
37
  "histoire": "./bin.mjs"
38
38
  },
39
39
  "dependencies": {
40
- "@histoire/app": "^0.14.0",
41
- "@histoire/controls": "^0.14.0",
42
- "@histoire/shared": "^0.14.0",
43
- "@histoire/vendors": "^0.14.0",
40
+ "@histoire/app": "^0.14.1",
41
+ "@histoire/controls": "^0.14.1",
42
+ "@histoire/shared": "^0.14.1",
43
+ "@histoire/vendors": "^0.14.1",
44
44
  "@types/flexsearch": "^0.7.3",
45
45
  "@types/markdown-it": "^12.2.3",
46
46
  "birpc": "^0.1.1",
@@ -26,6 +26,7 @@ export function useCollectStories (options: UseCollectStoriesOptions, ctx: Conte
26
26
  deps: {
27
27
  inline: [
28
28
  /histoire\/dist/,
29
+ /histoire\/client/,
29
30
  /@histoire\/[\w\d-]+\/dist/,
30
31
  /histoire-[\w\d-]+\/dist/,
31
32
  /@vue\/devtools-api/,
@@ -50,6 +50,7 @@ export function getDefaultConfig (): HistoireConfig {
50
50
  },
51
51
  defaultColorScheme: 'auto',
52
52
  storeColorScheme: true,
53
+ darkClass: 'dark',
53
54
  },
54
55
  responsivePresets: [
55
56
  {
@@ -32,7 +32,6 @@ export const RESOLVED_SUPPORT_PLUGINS_COLLECT = `/__resolved__${SUPPORT_PLUGINS_
32
32
  export const MARKDOWN_FILES = 'virtual:$histoire-markdown-files'
33
33
  export const RESOLVED_MARKDOWN_FILES = `/__resolved__${MARKDOWN_FILES}`
34
34
  // export const RESOLVED_MARKDOWN_FILES = `\0${MARKDOWN_FILES}`
35
- // @TODO virtual module id
36
35
  export const COMMANDS = 'virtual:$histoire-commands'
37
36
  export const RESOLVED_COMMANDS = `/__resolved__${COMMANDS}`
38
37