storybook 10.2.0-alpha.11 → 10.2.0-alpha.13

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.
Files changed (70) hide show
  1. package/dist/_browser-chunks/chunk-AFVOZMXQ.js +23 -0
  2. package/dist/_browser-chunks/{chunk-RBABWY22.js → chunk-BGSDJMFM.js} +6 -4
  3. package/dist/_node-chunks/{builder-manager-MNAUTRWW.js → builder-manager-YTW4R3NB.js} +13 -12
  4. package/dist/_node-chunks/{camelcase-6H4Z5R35.js → camelcase-ALOK3DTL.js} +7 -7
  5. package/dist/_node-chunks/{chunk-URWJMVZI.js → chunk-2VHYFREG.js} +7 -7
  6. package/dist/_node-chunks/{chunk-UYMZAYR4.js → chunk-5CARBEGS.js} +9 -9
  7. package/dist/_node-chunks/{chunk-2DZGIXSN.js → chunk-5E6TIJW7.js} +6 -6
  8. package/dist/_node-chunks/chunk-5U7IR6W2.js +61 -0
  9. package/dist/_node-chunks/{chunk-KU4SWNDM.js → chunk-AE6TGTGX.js} +7 -7
  10. package/dist/_node-chunks/{chunk-WHIAK7AH.js → chunk-AOMUVL33.js} +12 -12
  11. package/dist/_node-chunks/chunk-B3NH4IRY.js +35 -0
  12. package/dist/_node-chunks/{chunk-7FH4U6XC.js → chunk-BIJENBOW.js} +15 -12
  13. package/dist/_node-chunks/{chunk-O7O53MP7.js → chunk-FCBELYHM.js} +12 -12
  14. package/dist/_node-chunks/chunk-JUCUYWH2.js +23 -0
  15. package/dist/_node-chunks/chunk-KTAHXSER.js +18 -0
  16. package/dist/_node-chunks/{chunk-FWVZUHZX.js → chunk-KXFFKIVX.js} +6 -6
  17. package/dist/_node-chunks/{chunk-TFY6QV57.js → chunk-L4JVY7CQ.js} +7 -7
  18. package/dist/_node-chunks/{chunk-GRH5JFTX.js → chunk-NGFKU3PK.js} +7 -7
  19. package/dist/_node-chunks/{chunk-MAQAZSXK.js → chunk-NL75DTGM.js} +6 -6
  20. package/dist/_node-chunks/{chunk-L22DGLKT.js → chunk-NRCGIPSW.js} +6 -6
  21. package/dist/_node-chunks/{chunk-UNUWAUGG.js → chunk-OOTLIMKW.js} +6 -6
  22. package/dist/_node-chunks/{chunk-F3OHO2BC.js → chunk-OWZXELHP.js} +13 -13
  23. package/dist/_node-chunks/{chunk-TOMGRF4A.js → chunk-QMDFRT4S.js} +10 -10
  24. package/dist/_node-chunks/{chunk-HXFHXVEW.js → chunk-QV7LTTOW.js} +20 -20
  25. package/dist/_node-chunks/{chunk-UOHDPKIW.js → chunk-TOLCEUYZ.js} +7 -7
  26. package/dist/_node-chunks/{chunk-KAIK7772.js → chunk-TWCN75ID.js} +9 -9
  27. package/dist/_node-chunks/{chunk-CMQYFTBQ.js → chunk-VOVBTC53.js} +6 -6
  28. package/dist/_node-chunks/{chunk-MAMDH2R3.js → chunk-WKDY7YZY.js} +7 -7
  29. package/dist/_node-chunks/{chunk-WQ4WQYSZ.js → chunk-X2PNK4N4.js} +7 -7
  30. package/dist/_node-chunks/chunk-XQU357NR.js +20 -0
  31. package/dist/_node-chunks/{chunk-5L22ATN3.js → chunk-XX6B7MPS.js} +8 -8
  32. package/dist/_node-chunks/{chunk-RJY225Z5.js → chunk-ZSUT22UW.js} +7 -7
  33. package/dist/_node-chunks/{dist-ZOBQQCBA.js → dist-I4XBT6AL.js} +9 -9
  34. package/dist/_node-chunks/{globby-WNZSV3ZO.js → globby-RG2TFVNI.js} +9 -9
  35. package/dist/_node-chunks/{lib-YUWKNDR2.js → lib-E2AGGQV3.js} +7 -7
  36. package/dist/_node-chunks/{mdx-N42X6CFJ-K5BCUPEA.js → mdx-N42X6CFJ-SGUMZ4YL.js} +8 -8
  37. package/dist/_node-chunks/{p-limit-ROJSQI7F.js → p-limit-J4UZO65T.js} +7 -7
  38. package/dist/babel/index.js +10 -10
  39. package/dist/bin/core.js +12 -12
  40. package/dist/bin/dispatcher.js +11 -11
  41. package/dist/bin/loader.js +9 -9
  42. package/dist/cli/index.js +18 -18
  43. package/dist/common/index.js +19 -19
  44. package/dist/components/index.d.ts +1 -0
  45. package/dist/components/index.js +5 -0
  46. package/dist/core-server/index.d.ts +27 -2
  47. package/dist/core-server/index.js +45 -43
  48. package/dist/core-server/presets/common-manager.js +18 -14
  49. package/dist/core-server/presets/common-override-preset.js +9 -9
  50. package/dist/core-server/presets/common-preset.js +25 -24
  51. package/dist/csf/index.js +5 -2
  52. package/dist/csf-tools/index.js +10 -9
  53. package/dist/manager/globals-runtime.js +93 -25
  54. package/dist/manager/runtime.js +87 -886
  55. package/dist/manager-api/index.d.ts +86 -20
  56. package/dist/manager-api/index.js +52 -6
  57. package/dist/mocking-utils/index.js +8 -8
  58. package/dist/node-logger/index.js +9 -9
  59. package/dist/preview/runtime.js +24 -4
  60. package/dist/preview-api/index.d.ts +26 -1
  61. package/dist/preview-api/index.js +5 -1
  62. package/dist/server-errors.js +11 -11
  63. package/dist/telemetry/index.js +22 -22
  64. package/dist/theming/index.js +5 -2
  65. package/dist/types/index.d.ts +1 -0
  66. package/package.json +1 -1
  67. package/dist/_node-chunks/chunk-2CGMTALY.js +0 -61
  68. package/dist/_node-chunks/chunk-KX7OAVXY.js +0 -18
  69. package/dist/_node-chunks/chunk-P663SP7U.js +0 -20
  70. package/dist/_node-chunks/chunk-RI4IBKXZ.js +0 -23
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_aucdos01fk5 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_aucdos01fk5 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_aucdos01fk5 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_xc3mu1pf9x from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_xc3mu1pf9x from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_xc3mu1pf9x from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_aucdos01fk5.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_aucdos01fk5.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_aucdos01fk5.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_xc3mu1pf9x.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_xc3mu1pf9x.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_xc3mu1pf9x.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -25,22 +25,22 @@ import {
25
25
  sanitizeAddonName,
26
26
  sanitizeError,
27
27
  telemetry
28
- } from "../_node-chunks/chunk-WHIAK7AH.js";
29
- import "../_node-chunks/chunk-KX7OAVXY.js";
30
- import "../_node-chunks/chunk-HXFHXVEW.js";
31
- import "../_node-chunks/chunk-2CGMTALY.js";
32
- import "../_node-chunks/chunk-TFY6QV57.js";
33
- import "../_node-chunks/chunk-5L22ATN3.js";
34
- import "../_node-chunks/chunk-KAIK7772.js";
35
- import "../_node-chunks/chunk-CMQYFTBQ.js";
36
- import "../_node-chunks/chunk-L22DGLKT.js";
37
- import "../_node-chunks/chunk-RJY225Z5.js";
38
- import "../_node-chunks/chunk-MAQAZSXK.js";
39
- import "../_node-chunks/chunk-KU4SWNDM.js";
40
- import "../_node-chunks/chunk-P663SP7U.js";
41
- import "../_node-chunks/chunk-URWJMVZI.js";
42
- import "../_node-chunks/chunk-WQ4WQYSZ.js";
43
- import "../_node-chunks/chunk-FWVZUHZX.js";
28
+ } from "../_node-chunks/chunk-AOMUVL33.js";
29
+ import "../_node-chunks/chunk-KTAHXSER.js";
30
+ import "../_node-chunks/chunk-QV7LTTOW.js";
31
+ import "../_node-chunks/chunk-5U7IR6W2.js";
32
+ import "../_node-chunks/chunk-L4JVY7CQ.js";
33
+ import "../_node-chunks/chunk-XX6B7MPS.js";
34
+ import "../_node-chunks/chunk-TWCN75ID.js";
35
+ import "../_node-chunks/chunk-VOVBTC53.js";
36
+ import "../_node-chunks/chunk-NRCGIPSW.js";
37
+ import "../_node-chunks/chunk-ZSUT22UW.js";
38
+ import "../_node-chunks/chunk-NL75DTGM.js";
39
+ import "../_node-chunks/chunk-AE6TGTGX.js";
40
+ import "../_node-chunks/chunk-XQU357NR.js";
41
+ import "../_node-chunks/chunk-2VHYFREG.js";
42
+ import "../_node-chunks/chunk-X2PNK4N4.js";
43
+ import "../_node-chunks/chunk-KXFFKIVX.js";
44
44
  export {
45
45
  ErrorCollector,
46
46
  addToGlobalContext,
@@ -1678,9 +1678,12 @@ var import_memoizerific = __toESM(require_memoizerific(), 1), createReset = (0,
1678
1678
  ...resetStyles,
1679
1679
  body: {
1680
1680
  ...resetStyles.body,
1681
+ position: "fixed",
1682
+ width: "100vw",
1683
+ height: "100vh",
1684
+ overflow: "hidden",
1681
1685
  color: color2.defaultText,
1682
- background: background2.app,
1683
- overflow: "hidden"
1686
+ background: background2.app
1684
1687
  },
1685
1688
  hr: {
1686
1689
  ...resetStyles.hr,
@@ -684,6 +684,7 @@ interface API_Shortcuts {
684
684
  expandAll: API_KeyCollection;
685
685
  remount: API_KeyCollection;
686
686
  openInEditor: API_KeyCollection;
687
+ openInIsolation: API_KeyCollection;
687
688
  copyStoryLink: API_KeyCollection;
688
689
  }
689
690
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storybook",
3
- "version": "10.2.0-alpha.11",
3
+ "version": "10.2.0-alpha.13",
4
4
  "description": "Storybook: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -1,61 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_aucdos01fk5 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_aucdos01fk5 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_aucdos01fk5 from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_aucdos01fk5.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_aucdos01fk5.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_aucdos01fk5.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
-
13
- // src/common/versions.ts
14
- var versions_default = {
15
- "@storybook/addon-a11y": "10.2.0-alpha.11",
16
- "@storybook/addon-docs": "10.2.0-alpha.11",
17
- "@storybook/addon-links": "10.2.0-alpha.11",
18
- "@storybook/addon-onboarding": "10.2.0-alpha.11",
19
- "storybook-addon-pseudo-states": "10.2.0-alpha.11",
20
- "@storybook/addon-themes": "10.2.0-alpha.11",
21
- "@storybook/addon-vitest": "10.2.0-alpha.11",
22
- "@storybook/builder-vite": "10.2.0-alpha.11",
23
- "@storybook/builder-webpack5": "10.2.0-alpha.11",
24
- storybook: "10.2.0-alpha.11",
25
- "@storybook/angular": "10.2.0-alpha.11",
26
- "@storybook/ember": "10.2.0-alpha.11",
27
- "@storybook/html-vite": "10.2.0-alpha.11",
28
- "@storybook/nextjs": "10.2.0-alpha.11",
29
- "@storybook/nextjs-vite": "10.2.0-alpha.11",
30
- "@storybook/preact-vite": "10.2.0-alpha.11",
31
- "@storybook/react-native-web-vite": "10.2.0-alpha.11",
32
- "@storybook/react-vite": "10.2.0-alpha.11",
33
- "@storybook/react-webpack5": "10.2.0-alpha.11",
34
- "@storybook/server-webpack5": "10.2.0-alpha.11",
35
- "@storybook/svelte-vite": "10.2.0-alpha.11",
36
- "@storybook/sveltekit": "10.2.0-alpha.11",
37
- "@storybook/vue3-vite": "10.2.0-alpha.11",
38
- "@storybook/web-components-vite": "10.2.0-alpha.11",
39
- sb: "10.2.0-alpha.11",
40
- "@storybook/cli": "10.2.0-alpha.11",
41
- "@storybook/codemod": "10.2.0-alpha.11",
42
- "@storybook/core-webpack": "10.2.0-alpha.11",
43
- "create-storybook": "10.2.0-alpha.11",
44
- "@storybook/csf-plugin": "10.2.0-alpha.11",
45
- "eslint-plugin-storybook": "10.2.0-alpha.11",
46
- "@storybook/react-dom-shim": "10.2.0-alpha.11",
47
- "@storybook/preset-create-react-app": "10.2.0-alpha.11",
48
- "@storybook/preset-react-webpack": "10.2.0-alpha.11",
49
- "@storybook/preset-server-webpack": "10.2.0-alpha.11",
50
- "@storybook/html": "10.2.0-alpha.11",
51
- "@storybook/preact": "10.2.0-alpha.11",
52
- "@storybook/react": "10.2.0-alpha.11",
53
- "@storybook/server": "10.2.0-alpha.11",
54
- "@storybook/svelte": "10.2.0-alpha.11",
55
- "@storybook/vue3": "10.2.0-alpha.11",
56
- "@storybook/web-components": "10.2.0-alpha.11"
57
- };
58
-
59
- export {
60
- versions_default
61
- };
@@ -1,18 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_aucdos01fk5 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_aucdos01fk5 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_aucdos01fk5 from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_aucdos01fk5.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_aucdos01fk5.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_aucdos01fk5.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
-
13
- // package.json
14
- var version = "10.2.0-alpha.11";
15
-
16
- export {
17
- version
18
- };
@@ -1,20 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_aucdos01fk5 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_aucdos01fk5 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_aucdos01fk5 from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_aucdos01fk5.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_aucdos01fk5.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_aucdos01fk5.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
-
13
- // ../../node_modules/slash/index.js
14
- function slash(path) {
15
- return path.startsWith("\\\\?\\") ? path : path.replace(/\\/g, "/");
16
- }
17
-
18
- export {
19
- slash
20
- };
@@ -1,23 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_aucdos01fk5 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_aucdos01fk5 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_aucdos01fk5 from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_aucdos01fk5.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_aucdos01fk5.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_aucdos01fk5.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
- import {
13
- any
14
- } from "./chunk-CMQYFTBQ.js";
15
-
16
- // src/cli/detect.ts
17
- async function detectPnp() {
18
- return !!any([".pnp.js", ".pnp.cjs"]);
19
- }
20
-
21
- export {
22
- detectPnp
23
- };