storybook 10.2.0-alpha.12 → 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 (59) hide show
  1. package/dist/_node-chunks/{builder-manager-G3T6FATF.js → builder-manager-YTW4R3NB.js} +12 -12
  2. package/dist/_node-chunks/{camelcase-NMVRRV6V.js → camelcase-ALOK3DTL.js} +7 -7
  3. package/dist/_node-chunks/{chunk-IQUZPWN3.js → chunk-2VHYFREG.js} +7 -7
  4. package/dist/_node-chunks/{chunk-VBIK2FN2.js → chunk-5CARBEGS.js} +9 -9
  5. package/dist/_node-chunks/{chunk-HVD2LZT3.js → chunk-5E6TIJW7.js} +6 -6
  6. package/dist/_node-chunks/chunk-5U7IR6W2.js +61 -0
  7. package/dist/_node-chunks/{chunk-KK73AHXT.js → chunk-AE6TGTGX.js} +7 -7
  8. package/dist/_node-chunks/{chunk-LMYWY6ZJ.js → chunk-AOMUVL33.js} +12 -12
  9. package/dist/_node-chunks/{chunk-G4RT3MO3.js → chunk-B3NH4IRY.js} +6 -6
  10. package/dist/_node-chunks/{chunk-ERDFVJJE.js → chunk-BIJENBOW.js} +9 -9
  11. package/dist/_node-chunks/{chunk-HSXHYDWU.js → chunk-FCBELYHM.js} +12 -12
  12. package/dist/_node-chunks/chunk-JUCUYWH2.js +23 -0
  13. package/dist/_node-chunks/chunk-KTAHXSER.js +18 -0
  14. package/dist/_node-chunks/{chunk-WMWMEGTL.js → chunk-KXFFKIVX.js} +6 -6
  15. package/dist/_node-chunks/{chunk-UEL7SAB5.js → chunk-L4JVY7CQ.js} +7 -7
  16. package/dist/_node-chunks/{chunk-HMDODR3W.js → chunk-NGFKU3PK.js} +7 -7
  17. package/dist/_node-chunks/{chunk-SEUBEMNQ.js → chunk-NL75DTGM.js} +6 -6
  18. package/dist/_node-chunks/{chunk-OJ2CMYDH.js → chunk-NRCGIPSW.js} +6 -6
  19. package/dist/_node-chunks/{chunk-IW5UJQJL.js → chunk-OOTLIMKW.js} +6 -6
  20. package/dist/_node-chunks/{chunk-MDDTIMMD.js → chunk-OWZXELHP.js} +13 -13
  21. package/dist/_node-chunks/{chunk-VL57YBAT.js → chunk-QMDFRT4S.js} +10 -10
  22. package/dist/_node-chunks/{chunk-MCTOTRJG.js → chunk-QV7LTTOW.js} +20 -20
  23. package/dist/_node-chunks/{chunk-FXCJJSMM.js → chunk-TOLCEUYZ.js} +7 -7
  24. package/dist/_node-chunks/{chunk-XE2EF6IL.js → chunk-TWCN75ID.js} +9 -9
  25. package/dist/_node-chunks/{chunk-QGMW4WKW.js → chunk-VOVBTC53.js} +6 -6
  26. package/dist/_node-chunks/{chunk-LF7P2YRI.js → chunk-WKDY7YZY.js} +7 -7
  27. package/dist/_node-chunks/{chunk-YPYOZM4G.js → chunk-X2PNK4N4.js} +7 -7
  28. package/dist/_node-chunks/chunk-XQU357NR.js +20 -0
  29. package/dist/_node-chunks/{chunk-EO2J5FE4.js → chunk-XX6B7MPS.js} +8 -8
  30. package/dist/_node-chunks/{chunk-TFFPC3VZ.js → chunk-ZSUT22UW.js} +7 -7
  31. package/dist/_node-chunks/{dist-4VO67SAZ.js → dist-I4XBT6AL.js} +9 -9
  32. package/dist/_node-chunks/{globby-4KANABX2.js → globby-RG2TFVNI.js} +9 -9
  33. package/dist/_node-chunks/{lib-2MKCQZND.js → lib-E2AGGQV3.js} +7 -7
  34. package/dist/_node-chunks/{mdx-N42X6CFJ-3ENJ5IE5.js → mdx-N42X6CFJ-SGUMZ4YL.js} +8 -8
  35. package/dist/_node-chunks/{p-limit-TLF7WD5L.js → p-limit-J4UZO65T.js} +7 -7
  36. package/dist/babel/index.js +10 -10
  37. package/dist/bin/core.js +12 -12
  38. package/dist/bin/dispatcher.js +11 -11
  39. package/dist/bin/loader.js +9 -9
  40. package/dist/cli/index.js +18 -18
  41. package/dist/common/index.js +19 -19
  42. package/dist/components/index.js +1 -0
  43. package/dist/core-server/index.js +33 -33
  44. package/dist/core-server/presets/common-manager.js +16 -12
  45. package/dist/core-server/presets/common-override-preset.js +9 -9
  46. package/dist/core-server/presets/common-preset.js +25 -25
  47. package/dist/csf-tools/index.js +10 -10
  48. package/dist/manager/globals-runtime.js +7 -3
  49. package/dist/manager-api/index.js +1 -1
  50. package/dist/mocking-utils/index.js +8 -8
  51. package/dist/node-logger/index.js +9 -9
  52. package/dist/server-errors.js +11 -11
  53. package/dist/telemetry/index.js +22 -22
  54. package/dist/theming/index.js +5 -2
  55. package/package.json +1 -1
  56. package/dist/_node-chunks/chunk-BDTFFW43.js +0 -18
  57. package/dist/_node-chunks/chunk-ENNXNDBF.js +0 -20
  58. package/dist/_node-chunks/chunk-OQ42LCEX.js +0 -61
  59. package/dist/_node-chunks/chunk-TKRINGRM.js +0 -23
@@ -1,23 +1,23 @@
1
- import CJS_COMPAT_NODE_URL_0j7q77gppets from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_0j7q77gppets 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_0j7q77gppets.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  NODE_TARGET
14
- } from "../_node-chunks/chunk-IW5UJQJL.js";
14
+ } from "../_node-chunks/chunk-OOTLIMKW.js";
15
15
  import {
16
16
  require_dist
17
- } from "../_node-chunks/chunk-IQUZPWN3.js";
17
+ } from "../_node-chunks/chunk-2VHYFREG.js";
18
18
  import {
19
19
  __toESM
20
- } from "../_node-chunks/chunk-WMWMEGTL.js";
20
+ } from "../_node-chunks/chunk-KXFFKIVX.js";
21
21
 
22
22
  // src/bin/loader.ts
23
23
  var import_ts_dedent = __toESM(require_dist(), 1);
package/dist/cli/index.js CHANGED
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_0j7q77gppets from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_0j7q77gppets 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_0j7q77gppets.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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
@@ -33,24 +33,24 @@ import {
33
33
  readFileAsJson,
34
34
  suggestESLintPlugin,
35
35
  writeFileAsJson
36
- } from "../_node-chunks/chunk-HSXHYDWU.js";
36
+ } from "../_node-chunks/chunk-FCBELYHM.js";
37
37
  import {
38
38
  detectPnp
39
- } from "../_node-chunks/chunk-TKRINGRM.js";
39
+ } from "../_node-chunks/chunk-JUCUYWH2.js";
40
40
  import {
41
41
  Settings,
42
42
  _clearGlobalSettings,
43
43
  globalSettings
44
- } from "../_node-chunks/chunk-XE2EF6IL.js";
45
- import "../_node-chunks/chunk-QGMW4WKW.js";
46
- import "../_node-chunks/chunk-OJ2CMYDH.js";
47
- import "../_node-chunks/chunk-TFFPC3VZ.js";
48
- import "../_node-chunks/chunk-SEUBEMNQ.js";
49
- import "../_node-chunks/chunk-IQUZPWN3.js";
50
- import "../_node-chunks/chunk-VBIK2FN2.js";
51
- import "../_node-chunks/chunk-HMDODR3W.js";
52
- import "../_node-chunks/chunk-YPYOZM4G.js";
53
- import "../_node-chunks/chunk-WMWMEGTL.js";
44
+ } from "../_node-chunks/chunk-TWCN75ID.js";
45
+ import "../_node-chunks/chunk-VOVBTC53.js";
46
+ import "../_node-chunks/chunk-NRCGIPSW.js";
47
+ import "../_node-chunks/chunk-ZSUT22UW.js";
48
+ import "../_node-chunks/chunk-NL75DTGM.js";
49
+ import "../_node-chunks/chunk-2VHYFREG.js";
50
+ import "../_node-chunks/chunk-5CARBEGS.js";
51
+ import "../_node-chunks/chunk-NGFKU3PK.js";
52
+ import "../_node-chunks/chunk-X2PNK4N4.js";
53
+ import "../_node-chunks/chunk-KXFFKIVX.js";
54
54
  export {
55
55
  ANGULAR_JSON_PATH,
56
56
  AddonVitestService,
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_0j7q77gppets from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_0j7q77gppets 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_0j7q77gppets.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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
@@ -102,29 +102,29 @@ import {
102
102
  validateConfigurationFiles,
103
103
  validateFrameworkName,
104
104
  wrapValueWithGetAbsolutePathWrapper
105
- } from "../_node-chunks/chunk-MCTOTRJG.js";
105
+ } from "../_node-chunks/chunk-QV7LTTOW.js";
106
106
  import {
107
107
  versions_default
108
- } from "../_node-chunks/chunk-OQ42LCEX.js";
109
- import "../_node-chunks/chunk-UEL7SAB5.js";
110
- import "../_node-chunks/chunk-EO2J5FE4.js";
111
- import "../_node-chunks/chunk-QGMW4WKW.js";
108
+ } from "../_node-chunks/chunk-5U7IR6W2.js";
109
+ import "../_node-chunks/chunk-L4JVY7CQ.js";
110
+ import "../_node-chunks/chunk-XX6B7MPS.js";
111
+ import "../_node-chunks/chunk-VOVBTC53.js";
112
112
  import {
113
113
  groupBy,
114
114
  invariant
115
- } from "../_node-chunks/chunk-OJ2CMYDH.js";
115
+ } from "../_node-chunks/chunk-NRCGIPSW.js";
116
116
  import {
117
117
  importMetaResolve,
118
118
  importModule,
119
119
  resolvePackageDir,
120
120
  safeResolveModule
121
- } from "../_node-chunks/chunk-TFFPC3VZ.js";
122
- import "../_node-chunks/chunk-SEUBEMNQ.js";
123
- import "../_node-chunks/chunk-KK73AHXT.js";
124
- import "../_node-chunks/chunk-ENNXNDBF.js";
125
- import "../_node-chunks/chunk-IQUZPWN3.js";
126
- import "../_node-chunks/chunk-YPYOZM4G.js";
127
- import "../_node-chunks/chunk-WMWMEGTL.js";
121
+ } from "../_node-chunks/chunk-ZSUT22UW.js";
122
+ import "../_node-chunks/chunk-NL75DTGM.js";
123
+ import "../_node-chunks/chunk-AE6TGTGX.js";
124
+ import "../_node-chunks/chunk-XQU357NR.js";
125
+ import "../_node-chunks/chunk-2VHYFREG.js";
126
+ import "../_node-chunks/chunk-X2PNK4N4.js";
127
+ import "../_node-chunks/chunk-KXFFKIVX.js";
128
128
  export {
129
129
  DEFAULT_FILES_PATTERN,
130
130
  FileSystemCache,
@@ -9345,6 +9345,7 @@ var fadeIn = keyframes2({
9345
9345
  return React19.createElement(
9346
9346
  Button,
9347
9347
  {
9348
+ type: "button",
9348
9349
  padding: "small",
9349
9350
  ariaLabel: "Close modal",
9350
9351
  variant: "ghost",
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_0j7q77gppets from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_0j7q77gppets 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_0j7q77gppets.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  StatusTypeIdMismatchError
14
- } from "../_node-chunks/chunk-VL57YBAT.js";
14
+ } from "../_node-chunks/chunk-QMDFRT4S.js";
15
15
  import {
16
16
  debounce,
17
17
  getErrorLevel,
@@ -21,68 +21,68 @@ import {
21
21
  sendTelemetryError,
22
22
  useStatics,
23
23
  withTelemetry
24
- } from "../_node-chunks/chunk-MDDTIMMD.js";
24
+ } from "../_node-chunks/chunk-OWZXELHP.js";
25
25
  import {
26
26
  detectPnp
27
- } from "../_node-chunks/chunk-TKRINGRM.js";
28
- import "../_node-chunks/chunk-FXCJJSMM.js";
27
+ } from "../_node-chunks/chunk-JUCUYWH2.js";
28
+ import "../_node-chunks/chunk-TOLCEUYZ.js";
29
29
  import {
30
30
  StorybookError
31
- } from "../_node-chunks/chunk-HVD2LZT3.js";
31
+ } from "../_node-chunks/chunk-5E6TIJW7.js";
32
32
  import {
33
33
  telemetry
34
- } from "../_node-chunks/chunk-LMYWY6ZJ.js";
35
- import "../_node-chunks/chunk-BDTFFW43.js";
34
+ } from "../_node-chunks/chunk-AOMUVL33.js";
35
+ import "../_node-chunks/chunk-KTAHXSER.js";
36
36
  import {
37
37
  optionalEnvToBoolean,
38
38
  require_cross_spawn,
39
39
  resolveImport,
40
40
  supportedExtensions,
41
41
  userOrAutoTitleFromSpecifier
42
- } from "../_node-chunks/chunk-MCTOTRJG.js";
43
- import "../_node-chunks/chunk-OQ42LCEX.js";
44
- import "../_node-chunks/chunk-UEL7SAB5.js";
42
+ } from "../_node-chunks/chunk-QV7LTTOW.js";
43
+ import "../_node-chunks/chunk-5U7IR6W2.js";
44
+ import "../_node-chunks/chunk-L4JVY7CQ.js";
45
45
  import {
46
46
  require_pretty_hrtime
47
- } from "../_node-chunks/chunk-EO2J5FE4.js";
48
- import "../_node-chunks/chunk-XE2EF6IL.js";
47
+ } from "../_node-chunks/chunk-XX6B7MPS.js";
48
+ import "../_node-chunks/chunk-TWCN75ID.js";
49
49
  import {
50
50
  invariant,
51
51
  up2 as up
52
- } from "../_node-chunks/chunk-QGMW4WKW.js";
53
- import "../_node-chunks/chunk-OJ2CMYDH.js";
52
+ } from "../_node-chunks/chunk-VOVBTC53.js";
53
+ import "../_node-chunks/chunk-NRCGIPSW.js";
54
54
  import {
55
55
  importModule,
56
56
  resolvePackageDir
57
- } from "../_node-chunks/chunk-TFFPC3VZ.js";
57
+ } from "../_node-chunks/chunk-ZSUT22UW.js";
58
58
  import {
59
59
  dirname,
60
60
  join,
61
61
  relative,
62
62
  resolve
63
- } from "../_node-chunks/chunk-SEUBEMNQ.js";
64
- import "../_node-chunks/chunk-KK73AHXT.js";
63
+ } from "../_node-chunks/chunk-NL75DTGM.js";
64
+ import "../_node-chunks/chunk-AE6TGTGX.js";
65
65
  import {
66
66
  slash
67
- } from "../_node-chunks/chunk-ENNXNDBF.js";
67
+ } from "../_node-chunks/chunk-XQU357NR.js";
68
68
  import {
69
69
  Tag
70
- } from "../_node-chunks/chunk-G4RT3MO3.js";
70
+ } from "../_node-chunks/chunk-B3NH4IRY.js";
71
71
  import {
72
72
  require_dist
73
- } from "../_node-chunks/chunk-IQUZPWN3.js";
73
+ } from "../_node-chunks/chunk-2VHYFREG.js";
74
74
  import {
75
75
  require_lib,
76
76
  require_src
77
- } from "../_node-chunks/chunk-HMDODR3W.js";
77
+ } from "../_node-chunks/chunk-NGFKU3PK.js";
78
78
  import {
79
79
  require_picocolors
80
- } from "../_node-chunks/chunk-YPYOZM4G.js";
80
+ } from "../_node-chunks/chunk-X2PNK4N4.js";
81
81
  import {
82
82
  __commonJS,
83
83
  __require,
84
84
  __toESM
85
- } from "../_node-chunks/chunk-WMWMEGTL.js";
85
+ } from "../_node-chunks/chunk-KXFFKIVX.js";
86
86
 
87
87
  // ../../node_modules/glob-to-regexp/index.js
88
88
  var require_glob_to_regexp = __commonJS({
@@ -4539,7 +4539,7 @@ function print(p) {
4539
4539
  // src/core-server/utils/get-builders.ts
4540
4540
  import { MissingBuilderError } from "storybook/internal/server-errors";
4541
4541
  async function getManagerBuilder() {
4542
- return await import("../_node-chunks/builder-manager-G3T6FATF.js");
4542
+ return await import("../_node-chunks/builder-manager-YTW4R3NB.js");
4543
4543
  }
4544
4544
  async function getPreviewBuilder(resolvedPreviewBuilder) {
4545
4545
  return await importModule(resolvedPreviewBuilder);
@@ -4603,7 +4603,7 @@ function watchStorySpecifiers(specifiers, options, onInvalidate) {
4603
4603
  // files can be e.g. '**/foo/*/*.js' so we just want the last bit,
4604
4604
  // because the directory could already be within the files part (e.g. './x/foo/bar')
4605
4605
  basename(specifier.files)
4606
- ), { globby } = await import("../_node-chunks/globby-4KANABX2.js");
4606
+ ), { globby } = await import("../_node-chunks/globby-RG2TFVNI.js");
4607
4607
  (await globby(slash(dirGlob), commonGlobOptions(dirGlob))).forEach((filePath) => {
4608
4608
  let fileImportPath = toImportPath(filePath);
4609
4609
  specifier.importPathMatcher.exec(fileImportPath) && onInvalidate(fileImportPath, removed);
@@ -5658,7 +5658,7 @@ var makeAbsolute = (otherImport, normalizedPath, workingDir) => otherImport.star
5658
5658
  let cacheKey = this.getFindMatchingFilesCacheKey(specifier, workingDir, ignoreWarnings), cached = this.findMatchingFilesCache.get(cacheKey);
5659
5659
  if (cached)
5660
5660
  return cached;
5661
- let pathToSubIndex = {}, globCwd = slash(resolve3(workingDir, specifier.directory)), globPattern = specifier.files.startsWith("!") ? `./${specifier.files}` : specifier.files, { globby } = await import("../_node-chunks/globby-4KANABX2.js"), files = await globby(globPattern, {
5661
+ let pathToSubIndex = {}, globCwd = slash(resolve3(workingDir, specifier.directory)), globPattern = specifier.files.startsWith("!") ? `./${specifier.files}` : specifier.files, { globby } = await import("../_node-chunks/globby-RG2TFVNI.js"), files = await globby(globPattern, {
5662
5662
  absolute: !0,
5663
5663
  cwd: globCwd,
5664
5664
  ...commonGlobOptions2(globPattern)
@@ -5845,7 +5845,7 @@ var makeAbsolute = (otherImport, normalizedPath, workingDir) => otherImport.star
5845
5845
  async extractDocs(specifier, absolutePath, projectTags = []) {
5846
5846
  let relativePath = relative4(this.options.workingDir, absolutePath);
5847
5847
  try {
5848
- let normalizedPath = normalizeStoryPath(relativePath), importPath = slash(normalizedPath), content = await readFile(absolutePath, { encoding: "utf8" }), { analyze } = await import("../_node-chunks/dist-4VO67SAZ.js"), result = await analyze(content);
5848
+ let normalizedPath = normalizeStoryPath(relativePath), importPath = slash(normalizedPath), content = await readFile(absolutePath, { encoding: "utf8" }), { analyze } = await import("../_node-chunks/dist-I4XBT6AL.js"), result = await analyze(content);
5849
5849
  if (result.isTemplate)
5850
5850
  return !1;
5851
5851
  let absoluteImports = result.imports.map(
@@ -75,7 +75,6 @@ import { color } from "storybook/theming";
75
75
 
76
76
  // src/controls/components/ControlsPanel.tsx
77
77
  import React26, { useEffect as useEffect8, useMemo as useMemo3, useState as useState11 } from "react";
78
- import { ScrollArea } from "storybook/internal/components";
79
78
  import { global } from "@storybook/global";
80
79
  import {
81
80
  useArgTypes,
@@ -3240,7 +3239,7 @@ var TableWrapper2 = styled19.table(({ theme: theme3, compact, inAddonPanel, inTa
3240
3239
  },
3241
3240
  // End Resets
3242
3241
  fontSize: theme3.typography.size.s2 - 1,
3243
- lineHeight: "20px",
3242
+ lineHeight: "19px",
3244
3243
  textAlign: "left",
3245
3244
  width: "100%",
3246
3245
  // Margin collapse
@@ -3501,8 +3500,9 @@ var slideIn = keyframes({
3501
3500
  to: {}
3502
3501
  }), Container2 = styled20.div({
3503
3502
  containerType: "size",
3504
- position: "sticky",
3503
+ position: "absolute",
3505
3504
  bottom: 0,
3505
+ width: "100%",
3506
3506
  height: 41,
3507
3507
  overflow: "hidden",
3508
3508
  zIndex: 1
@@ -3521,6 +3521,7 @@ var slideIn = keyframes({
3521
3521
  display: "flex",
3522
3522
  flex: "99 0 auto",
3523
3523
  alignItems: "center",
3524
+ marginInlineStart: 7,
3524
3525
  marginInlineEnd: 10,
3525
3526
  gap: 6
3526
3527
  }), Actions = styled20.div(({ theme: theme3 }) => ({
@@ -3605,11 +3606,14 @@ var slideIn = keyframes({
3605
3606
  var clean = (obj) => Object.entries(obj).reduce(
3606
3607
  (acc, [key, value2]) => value2 !== void 0 ? Object.assign(acc, { [key]: value2 }) : acc,
3607
3608
  {}
3608
- ), AddonWrapper = styled21.div(({ showSaveFromUI }) => ({
3609
- display: "grid",
3610
- gridTemplateRows: showSaveFromUI ? "1fr 41px" : "1fr",
3609
+ ), AddonWrapper = styled21.div(({ showSaveFromUI, theme: theme3 }) => ({
3611
3610
  height: "100%",
3612
- maxHeight: "100vh"
3611
+ maxHeight: "100vh",
3612
+ paddingBottom: showSaveFromUI ? 41 : 0,
3613
+ backgroundColor: theme3.background.content,
3614
+ table: {
3615
+ backgroundColor: theme3.background.app
3616
+ }
3613
3617
  })), ControlsPanel = ({ saveStory, createStory }) => {
3614
3618
  let api = useStorybookApi(), [isLoading, setIsLoading] = useState11(!0), [args, updateArgs, resetArgs, initialArgs] = useArgs(), [globals] = useGlobals(), rows = useArgTypes(), {
3615
3619
  expanded,
@@ -3627,7 +3631,7 @@ var clean = (obj) => Object.entries(obj).reduce(
3627
3631
  () => !!args && !!initialArgs && !dequal(clean(args), clean(initialArgs)),
3628
3632
  [args, initialArgs]
3629
3633
  ), showSaveFromUI = hasControls && storyData.type === "story" && storyData.subtype !== "test" && hasUpdatedArgs && global.CONFIG_TYPE === "DEVELOPMENT" && disableSaveFromUI !== !0;
3630
- return React26.createElement(AddonWrapper, { showSaveFromUI }, React26.createElement(ScrollArea, { vertical: !0 }, React26.createElement(
3634
+ return React26.createElement(AddonWrapper, { showSaveFromUI }, React26.createElement(
3631
3635
  ArgsTable,
3632
3636
  {
3633
3637
  key: path,
@@ -3641,7 +3645,7 @@ var clean = (obj) => Object.entries(obj).reduce(
3641
3645
  sort,
3642
3646
  isLoading
3643
3647
  }
3644
- )), showSaveFromUI && React26.createElement(SaveStory, { resetArgs, saveStory, createStory }));
3648
+ ), showSaveFromUI && React26.createElement(SaveStory, { resetArgs, saveStory, createStory }));
3645
3649
  };
3646
3650
 
3647
3651
  // src/controls/components/Title.tsx
@@ -3721,7 +3725,7 @@ var manager_default = addons.register(ADDON_ID6, (api) => {
3721
3725
  title: Title,
3722
3726
  type: types.PANEL,
3723
3727
  paramKey: PARAM_KEY5,
3724
- render: ({ active }) => !active || !api.getCurrentStoryData() ? null : React28.createElement(AddonPanel, { active, hasScrollbar: !1 }, React28.createElement(ControlsPanel, { saveStory, createStory }))
3728
+ render: ({ active }) => !active || !api.getCurrentStoryData() ? null : React28.createElement(AddonPanel, { active }, React28.createElement(ControlsPanel, { saveStory, createStory }))
3725
3729
  }), channel.on(SAVE_STORY_RESPONSE, (data) => {
3726
3730
  if (!data.success)
3727
3731
  return;
@@ -3763,7 +3767,7 @@ import { STORY_CHANGED as STORY_CHANGED2 } from "storybook/internal/core-events"
3763
3767
 
3764
3768
  // src/actions/components/ActionLogger/index.tsx
3765
3769
  import React31, { Fragment, forwardRef, useEffect as useEffect9, useRef as useRef5 } from "react";
3766
- import { ActionBar, ScrollArea as ScrollArea2 } from "storybook/internal/components";
3770
+ import { ActionBar, ScrollArea } from "storybook/internal/components";
3767
3771
 
3768
3772
  // ../../node_modules/react-inspector/dist/index.mjs
3769
3773
  import React92 from "react";
@@ -4766,7 +4770,7 @@ var Action = styled22.div({
4766
4770
 
4767
4771
  // src/actions/components/ActionLogger/index.tsx
4768
4772
  var UnstyledWrapped = forwardRef(
4769
- ({ children, className }, ref) => React31.createElement(ScrollArea2, { ref, horizontal: !0, vertical: !0, className }, children)
4773
+ ({ children, className }, ref) => React31.createElement(ScrollArea, { ref, horizontal: !0, vertical: !0, className }, children)
4770
4774
  );
4771
4775
  UnstyledWrapped.displayName = "UnstyledWrapped";
4772
4776
  var Wrapper8 = styled23(UnstyledWrapped)({
@@ -1,21 +1,21 @@
1
- import CJS_COMPAT_NODE_URL_0j7q77gppets from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_0j7q77gppets 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_0j7q77gppets.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  glob
14
- } from "../../_node-chunks/chunk-KK73AHXT.js";
14
+ } from "../../_node-chunks/chunk-AE6TGTGX.js";
15
15
  import {
16
16
  slash
17
- } from "../../_node-chunks/chunk-ENNXNDBF.js";
18
- import "../../_node-chunks/chunk-WMWMEGTL.js";
17
+ } from "../../_node-chunks/chunk-XQU357NR.js";
18
+ import "../../_node-chunks/chunk-KXFFKIVX.js";
19
19
 
20
20
  // src/core-server/utils/remove-mdx-entries.ts
21
21
  import { isAbsolute, join, relative } from "node:path";
@@ -1,54 +1,54 @@
1
- import CJS_COMPAT_NODE_URL_0j7q77gppets from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_0j7q77gppets 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_0j7q77gppets.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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
11
11
  // ------------------------------------------------------------
12
- import "../../_node-chunks/chunk-HSXHYDWU.js";
12
+ import "../../_node-chunks/chunk-FCBELYHM.js";
13
13
  import {
14
14
  parseStaticDir,
15
15
  sendTelemetryError,
16
16
  throttle
17
- } from "../../_node-chunks/chunk-MDDTIMMD.js";
18
- import "../../_node-chunks/chunk-TKRINGRM.js";
19
- import "../../_node-chunks/chunk-FXCJJSMM.js";
20
- import "../../_node-chunks/chunk-HVD2LZT3.js";
17
+ } from "../../_node-chunks/chunk-OWZXELHP.js";
18
+ import "../../_node-chunks/chunk-JUCUYWH2.js";
19
+ import "../../_node-chunks/chunk-TOLCEUYZ.js";
20
+ import "../../_node-chunks/chunk-5E6TIJW7.js";
21
21
  import {
22
22
  globalSettings
23
- } from "../../_node-chunks/chunk-XE2EF6IL.js";
23
+ } from "../../_node-chunks/chunk-TWCN75ID.js";
24
24
  import {
25
25
  invariant
26
- } from "../../_node-chunks/chunk-QGMW4WKW.js";
27
- import "../../_node-chunks/chunk-OJ2CMYDH.js";
26
+ } from "../../_node-chunks/chunk-VOVBTC53.js";
27
+ import "../../_node-chunks/chunk-NRCGIPSW.js";
28
28
  import {
29
29
  resolvePackageDir
30
- } from "../../_node-chunks/chunk-TFFPC3VZ.js";
30
+ } from "../../_node-chunks/chunk-ZSUT22UW.js";
31
31
  import {
32
32
  isAbsolute,
33
33
  join
34
- } from "../../_node-chunks/chunk-SEUBEMNQ.js";
34
+ } from "../../_node-chunks/chunk-NL75DTGM.js";
35
35
  import {
36
36
  loadConfig
37
- } from "../../_node-chunks/chunk-ERDFVJJE.js";
38
- import "../../_node-chunks/chunk-G4RT3MO3.js";
37
+ } from "../../_node-chunks/chunk-BIJENBOW.js";
38
+ import "../../_node-chunks/chunk-B3NH4IRY.js";
39
39
  import {
40
40
  require_dist
41
- } from "../../_node-chunks/chunk-IQUZPWN3.js";
42
- import "../../_node-chunks/chunk-VBIK2FN2.js";
43
- import "../../_node-chunks/chunk-HMDODR3W.js";
41
+ } from "../../_node-chunks/chunk-2VHYFREG.js";
42
+ import "../../_node-chunks/chunk-5CARBEGS.js";
43
+ import "../../_node-chunks/chunk-NGFKU3PK.js";
44
44
  import {
45
45
  require_picocolors
46
- } from "../../_node-chunks/chunk-YPYOZM4G.js";
46
+ } from "../../_node-chunks/chunk-X2PNK4N4.js";
47
47
  import {
48
48
  __commonJS,
49
49
  __require,
50
50
  __toESM
51
- } from "../../_node-chunks/chunk-WMWMEGTL.js";
51
+ } from "../../_node-chunks/chunk-KXFFKIVX.js";
52
52
 
53
53
  // ../../node_modules/shell-quote/quote.js
54
54
  var require_quote = __commonJS({
@@ -516,7 +516,7 @@ import { isCsfFactoryPreview } from "storybook/internal/csf-tools";
516
516
  var import_ts_dedent = __toESM(require_dist(), 1);
517
517
 
518
518
  // src/core-server/utils/get-component-variable-name.ts
519
- var getComponentVariableName = async (name) => (await import("../../_node-chunks/camelcase-NMVRRV6V.js")).default(name.replace(/^[^a-zA-Z_$]*/, ""), { pascalCase: !0 }).replace(/[^a-zA-Z_$]+/, "");
519
+ var getComponentVariableName = async (name) => (await import("../../_node-chunks/camelcase-ALOK3DTL.js")).default(name.replace(/^[^a-zA-Z_$]*/, ""), { pascalCase: !0 }).replace(/[^a-zA-Z_$]+/, "");
520
520
 
521
521
  // src/core-server/utils/new-story-templates/csf-factory-template.ts
522
522
  async function getCsfFactoryTemplateForNewStoryFile(data) {
@@ -781,7 +781,7 @@ async function searchFiles({
781
781
  ignoredFiles = IGNORED_FILES,
782
782
  fileExtensions = FILE_EXTENSIONS
783
783
  }) {
784
- let { globby, isDynamicPattern } = await import("../../_node-chunks/globby-4KANABX2.js"), hasSearchSpecialGlobChars = isDynamicPattern(searchQuery, { cwd }), searchQueryHasExtension = /(\.[a-z]+)$/i.test(searchQuery), fileExtensionsPattern = `{${fileExtensions.join(",")}}`, globbedSearchQuery = hasSearchSpecialGlobChars ? searchQuery : searchQueryHasExtension ? [`**/*${searchQuery}*`, `**/*${searchQuery}*/**`] : [
784
+ let { globby, isDynamicPattern } = await import("../../_node-chunks/globby-RG2TFVNI.js"), hasSearchSpecialGlobChars = isDynamicPattern(searchQuery, { cwd }), searchQueryHasExtension = /(\.[a-z]+)$/i.test(searchQuery), fileExtensionsPattern = `{${fileExtensions.join(",")}}`, globbedSearchQuery = hasSearchSpecialGlobChars ? searchQuery : searchQueryHasExtension ? [`**/*${searchQuery}*`, `**/*${searchQuery}*/**`] : [
785
785
  `**/*${searchQuery}*.${fileExtensionsPattern}`,
786
786
  `**/*${searchQuery}*/**/*.${fileExtensionsPattern}`
787
787
  ];
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_0j7q77gppets from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_0j7q77gppets 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_0j7q77gppets.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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
@@ -38,10 +38,10 @@ import {
38
38
  vitestTransform,
39
39
  writeConfig,
40
40
  writeCsf
41
- } from "../_node-chunks/chunk-ERDFVJJE.js";
42
- import "../_node-chunks/chunk-G4RT3MO3.js";
43
- import "../_node-chunks/chunk-IQUZPWN3.js";
44
- import "../_node-chunks/chunk-WMWMEGTL.js";
41
+ } from "../_node-chunks/chunk-BIJENBOW.js";
42
+ import "../_node-chunks/chunk-B3NH4IRY.js";
43
+ import "../_node-chunks/chunk-2VHYFREG.js";
44
+ import "../_node-chunks/chunk-KXFFKIVX.js";
45
45
  export {
46
46
  BadMetaError,
47
47
  ConfigFile,
@@ -7868,9 +7868,12 @@ var import_memoizerific, createReset, createGlobal, init_global = __esm({
7868
7868
  ...resetStyles,
7869
7869
  body: {
7870
7870
  ...resetStyles.body,
7871
+ position: "fixed",
7872
+ width: "100vw",
7873
+ height: "100vh",
7874
+ overflow: "hidden",
7871
7875
  color: color2.defaultText,
7872
- background: background2.app,
7873
- overflow: "hidden"
7876
+ background: background2.app
7874
7877
  },
7875
7878
  hr: {
7876
7879
  ...resetStyles.hr,
@@ -62127,7 +62130,7 @@ init_dist();
62127
62130
  var import_memoizerific8 = __toESM(require_memoizerific(), 1), import_semver = __toESM(require_semver2(), 1);
62128
62131
 
62129
62132
  // src/manager-api/version.ts
62130
- var version = "10.2.0-alpha.12";
62133
+ var version = "10.2.0-alpha.13";
62131
62134
 
62132
62135
  // src/manager-api/modules/versions.ts
62133
62136
  var { VERSIONCHECK } = scope, getVersionCheckData = (0, import_memoizerific8.default)(1)(() => {
@@ -70772,6 +70775,7 @@ var fadeIn = keyframes({
70772
70775
  return import_react104.default.createElement(
70773
70776
  Button,
70774
70777
  {
70778
+ type: "button",
70775
70779
  padding: "small",
70776
70780
  ariaLabel: "Close modal",
70777
70781
  variant: "ghost",
@@ -2382,7 +2382,7 @@ import { global as global8 } from "@storybook/global";
2382
2382
  import semver from "semver";
2383
2383
 
2384
2384
  // src/manager-api/version.ts
2385
- var version = "10.2.0-alpha.12";
2385
+ var version = "10.2.0-alpha.13";
2386
2386
 
2387
2387
  // src/manager-api/modules/versions.ts
2388
2388
  var { VERSIONCHECK } = global8, getVersionCheckData = (0, import_memoizerific2.default)(1)(() => {
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_0j7q77gppets from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_0j7q77gppets from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_0j7q77gppets 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_0j7q77gppets.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_0j7q77gppets.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_0j7q77gppets.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
@@ -16,8 +16,8 @@ import {
16
16
  join,
17
17
  normalize,
18
18
  resolve
19
- } from "../_node-chunks/chunk-SEUBEMNQ.js";
20
- import "../_node-chunks/chunk-WMWMEGTL.js";
19
+ } from "../_node-chunks/chunk-NL75DTGM.js";
20
+ import "../_node-chunks/chunk-KXFFKIVX.js";
21
21
 
22
22
  // ../../node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
23
23
  var comma = 44, semicolon = 59, chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", intToChar = new Uint8Array(64), charToInt = new Uint8Array(128);