storybook 10.1.1 → 10.1.3

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 (62) hide show
  1. package/dist/_node-chunks/{builder-manager-C7JEYIYJ.js → builder-manager-N4D23FLX.js} +12 -12
  2. package/dist/_node-chunks/{camelcase-EKJLJYXS.js → camelcase-EXGV75P2.js} +7 -7
  3. package/dist/_node-chunks/{chunk-IG2ALTN6.js → chunk-2S4J6WRI.js} +12 -16
  4. package/dist/_node-chunks/{chunk-NYOGOMNG.js → chunk-3PAK6HOZ.js} +7 -7
  5. package/dist/_node-chunks/{chunk-22GRWY3A.js → chunk-4FES3Z32.js} +7 -7
  6. package/dist/_node-chunks/{chunk-HS7MLKJ7.js → chunk-4K33EHJJ.js} +13 -13
  7. package/dist/_node-chunks/chunk-6WT5T7D6.js +23 -0
  8. package/dist/_node-chunks/{chunk-GVZHV3RA.js → chunk-745ARPQW.js} +20 -20
  9. package/dist/_node-chunks/{chunk-U46HN6HR.js → chunk-A7QREOLM.js} +6 -6
  10. package/dist/_node-chunks/chunk-ABYOUG2G.js +18 -0
  11. package/dist/_node-chunks/{chunk-CPQFWCXT.js → chunk-CD52AW7X.js} +9 -9
  12. package/dist/_node-chunks/{chunk-HZC2SB7B.js → chunk-DUT2G4P5.js} +8 -8
  13. package/dist/_node-chunks/{chunk-JN2WIVPA.js → chunk-EE622TFR.js} +6 -6
  14. package/dist/_node-chunks/{chunk-4U2MVVKV.js → chunk-EY7WWLFP.js} +7 -7
  15. package/dist/_node-chunks/{chunk-GDGPRHGO.js → chunk-IHWETTDK.js} +7 -7
  16. package/dist/_node-chunks/{chunk-BHHIOLJA.js → chunk-J33WT6V7.js} +6 -6
  17. package/dist/_node-chunks/{chunk-GCHB45RE.js → chunk-KQCVPCQD.js} +6 -6
  18. package/dist/_node-chunks/chunk-NAZXVKZR.js +20 -0
  19. package/dist/_node-chunks/{chunk-GAA4H3VB.js → chunk-O5HLDMLW.js} +16 -16
  20. package/dist/_node-chunks/{chunk-EDWQNQRS.js → chunk-OBA5XT44.js} +7 -7
  21. package/dist/_node-chunks/{chunk-7GNG7DZN.js → chunk-PDCQDYS4.js} +10 -10
  22. package/dist/_node-chunks/{chunk-LIHOGGYQ.js → chunk-RCCMX64R.js} +6 -6
  23. package/dist/_node-chunks/{chunk-DJWEMHR5.js → chunk-RIFAW6Y4.js} +13 -13
  24. package/dist/_node-chunks/{chunk-O75LHYHE.js → chunk-TCNV3SSR.js} +7 -7
  25. package/dist/_node-chunks/{chunk-TXFQGVOT.js → chunk-TTAIHANB.js} +7 -7
  26. package/dist/_node-chunks/{chunk-VCTH7NVT.js → chunk-U6IY6QQN.js} +6 -6
  27. package/dist/_node-chunks/chunk-UQA3ZWVX.js +61 -0
  28. package/dist/_node-chunks/{chunk-N7ITOTDA.js → chunk-V6NSKAAJ.js} +7 -7
  29. package/dist/_node-chunks/{chunk-V55OPUPS.js → chunk-W77J252D.js} +9 -9
  30. package/dist/_node-chunks/{chunk-SCGML3ZY.js → chunk-YF6BQNR6.js} +6 -6
  31. package/dist/_node-chunks/{dist-U4P7LQQN.js → dist-BV4S5XPY.js} +9 -9
  32. package/dist/_node-chunks/{globby-MZKLH3YV.js → globby-MMDNVX5S.js} +9 -9
  33. package/dist/_node-chunks/{lib-2N65EL7H.js → lib-ZNCEKZ43.js} +7 -7
  34. package/dist/_node-chunks/{mdx-N42X6CFJ-BH36LL45.js → mdx-N42X6CFJ-KXIBNMFG.js} +8 -8
  35. package/dist/_node-chunks/{p-limit-IRSB2ECY.js → p-limit-RIAILNZP.js} +7 -7
  36. package/dist/babel/index.js +10 -10
  37. package/dist/bin/core.js +24 -18
  38. package/dist/bin/dispatcher.js +11 -11
  39. package/dist/bin/loader.js +9 -9
  40. package/dist/cli/index.d.ts +1 -0
  41. package/dist/cli/index.js +18 -18
  42. package/dist/common/index.js +19 -19
  43. package/dist/components/index.js +9 -17
  44. package/dist/core-server/index.js +33 -33
  45. package/dist/core-server/presets/common-override-preset.js +9 -9
  46. package/dist/core-server/presets/common-preset.js +40 -86
  47. package/dist/csf-tools/index.js +9 -9
  48. package/dist/manager/globals-runtime.js +10 -18
  49. package/dist/manager/runtime.js +3 -8
  50. package/dist/manager-api/index.js +1 -1
  51. package/dist/mocking-utils/index.js +8 -8
  52. package/dist/node-logger/index.d.ts +3 -3
  53. package/dist/node-logger/index.js +9 -9
  54. package/dist/server-errors.js +11 -11
  55. package/dist/telemetry/index.d.ts +1 -1
  56. package/dist/telemetry/index.js +23 -23
  57. package/dist/types/index.d.ts +3 -1
  58. package/package.json +1 -1
  59. package/dist/_node-chunks/chunk-3AUMHWKR.js +0 -18
  60. package/dist/_node-chunks/chunk-DPZJ3NQJ.js +0 -61
  61. package/dist/_node-chunks/chunk-JJ5YIJTU.js +0 -23
  62. package/dist/_node-chunks/chunk-Q4NGPXRM.js +0 -20
package/dist/bin/core.js CHANGED
@@ -1,32 +1,32 @@
1
- import CJS_COMPAT_NODE_URL_rvkdaqpp8e from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_rvkdaqpp8e from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_rvkdaqpp8e from "node:module";
1
+ import CJS_COMPAT_NODE_URL_f2mg11kr5cs from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_f2mg11kr5cs from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_f2mg11kr5cs from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_rvkdaqpp8e.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_rvkdaqpp8e.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_rvkdaqpp8e.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_f2mg11kr5cs.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_f2mg11kr5cs.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_f2mg11kr5cs.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
  version
14
- } from "../_node-chunks/chunk-3AUMHWKR.js";
14
+ } from "../_node-chunks/chunk-ABYOUG2G.js";
15
15
  import {
16
16
  globalSettings
17
- } from "../_node-chunks/chunk-V55OPUPS.js";
18
- import "../_node-chunks/chunk-BHHIOLJA.js";
17
+ } from "../_node-chunks/chunk-W77J252D.js";
18
+ import "../_node-chunks/chunk-J33WT6V7.js";
19
19
  import {
20
20
  require_dist
21
- } from "../_node-chunks/chunk-TXFQGVOT.js";
21
+ } from "../_node-chunks/chunk-TTAIHANB.js";
22
22
  import {
23
23
  require_picocolors
24
- } from "../_node-chunks/chunk-22GRWY3A.js";
24
+ } from "../_node-chunks/chunk-4FES3Z32.js";
25
25
  import {
26
26
  __commonJS,
27
27
  __require,
28
28
  __toESM
29
- } from "../_node-chunks/chunk-SCGML3ZY.js";
29
+ } from "../_node-chunks/chunk-YF6BQNR6.js";
30
30
 
31
31
  // ../node_modules/commander/lib/error.js
32
32
  var require_error = __commonJS({
@@ -2745,8 +2745,12 @@ var dev = async (cliOptions) => {
2745
2745
  // src/bin/core.ts
2746
2746
  addToGlobalContext("cliVersion", version);
2747
2747
  var handleCommandFailure = async (logFilePath) => {
2748
- let logFile = await logTracker.writeToFile(logFilePath);
2749
- logger2.log(`Debug logs are written to: ${logFile}`), logger2.outro("Storybook exited with an error"), process.exit(1);
2748
+ try {
2749
+ let logFile = await logTracker.writeToFile(logFilePath);
2750
+ logger2.log(`Debug logs are written to: ${logFile}`);
2751
+ } catch {
2752
+ }
2753
+ logger2.outro("Storybook exited with an error"), process.exit(1);
2750
2754
  }, command = (name) => program.command(name).option(
2751
2755
  "--disable-telemetry",
2752
2756
  "Disable sending telemetry data",
@@ -2763,10 +2767,12 @@ var handleCommandFailure = async (logFilePath) => {
2763
2767
  ` + String(e));
2764
2768
  }
2765
2769
  }).hook("postAction", async (command2) => {
2766
- if (logTracker.shouldWriteLogsToFile) {
2767
- let logFile = await logTracker.writeToFile(command2.getOptionValue("logfile"));
2768
- logger2.outro(`Debug logs are written to: ${logFile}`);
2769
- }
2770
+ if (logTracker.shouldWriteLogsToFile)
2771
+ try {
2772
+ let logFile = await logTracker.writeToFile(command2.getOptionValue("logfile"));
2773
+ logger2.outro(`Debug logs are written to: ${logFile}`);
2774
+ } catch {
2775
+ }
2770
2776
  });
2771
2777
  command("dev").option("-p, --port <number>", "Port to run Storybook", (str) => parseInt(str, 10)).option("-h, --host <string>", "Host to run Storybook").option("-c, --config-dir <dir-name>", "Directory where to load Storybook configurations from").option(
2772
2778
  "--https",
@@ -1,30 +1,30 @@
1
1
  #!/usr/bin/env node
2
- import CJS_COMPAT_NODE_URL_rvkdaqpp8e from 'node:url';
3
- import CJS_COMPAT_NODE_PATH_rvkdaqpp8e from 'node:path';
4
- import CJS_COMPAT_NODE_MODULE_rvkdaqpp8e from "node:module";
2
+ import CJS_COMPAT_NODE_URL_f2mg11kr5cs from 'node:url';
3
+ import CJS_COMPAT_NODE_PATH_f2mg11kr5cs from 'node:path';
4
+ import CJS_COMPAT_NODE_MODULE_f2mg11kr5cs from "node:module";
5
5
 
6
- var __filename = CJS_COMPAT_NODE_URL_rvkdaqpp8e.fileURLToPath(import.meta.url);
7
- var __dirname = CJS_COMPAT_NODE_PATH_rvkdaqpp8e.dirname(__filename);
8
- var require = CJS_COMPAT_NODE_MODULE_rvkdaqpp8e.createRequire(import.meta.url);
6
+ var __filename = CJS_COMPAT_NODE_URL_f2mg11kr5cs.fileURLToPath(import.meta.url);
7
+ var __dirname = CJS_COMPAT_NODE_PATH_f2mg11kr5cs.dirname(__filename);
8
+ var require = CJS_COMPAT_NODE_MODULE_f2mg11kr5cs.createRequire(import.meta.url);
9
9
 
10
10
  // ------------------------------------------------------------
11
11
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
12
12
  // ------------------------------------------------------------
13
13
  import {
14
14
  versions_default
15
- } from "../_node-chunks/chunk-DPZJ3NQJ.js";
15
+ } from "../_node-chunks/chunk-UQA3ZWVX.js";
16
16
  import {
17
17
  resolvePackageDir
18
- } from "../_node-chunks/chunk-N7ITOTDA.js";
18
+ } from "../_node-chunks/chunk-V6NSKAAJ.js";
19
19
  import {
20
20
  join
21
- } from "../_node-chunks/chunk-JN2WIVPA.js";
21
+ } from "../_node-chunks/chunk-EE622TFR.js";
22
22
  import {
23
23
  require_dist
24
- } from "../_node-chunks/chunk-TXFQGVOT.js";
24
+ } from "../_node-chunks/chunk-TTAIHANB.js";
25
25
  import {
26
26
  __toESM
27
- } from "../_node-chunks/chunk-SCGML3ZY.js";
27
+ } from "../_node-chunks/chunk-YF6BQNR6.js";
28
28
 
29
29
  // src/bin/dispatcher.ts
30
30
  import { pathToFileURL } from "node:url";
@@ -1,23 +1,23 @@
1
- import CJS_COMPAT_NODE_URL_rvkdaqpp8e from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_rvkdaqpp8e from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_rvkdaqpp8e from "node:module";
1
+ import CJS_COMPAT_NODE_URL_f2mg11kr5cs from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_f2mg11kr5cs from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_f2mg11kr5cs from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_rvkdaqpp8e.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_rvkdaqpp8e.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_rvkdaqpp8e.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_f2mg11kr5cs.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_f2mg11kr5cs.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_f2mg11kr5cs.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-GCHB45RE.js";
14
+ } from "../_node-chunks/chunk-KQCVPCQD.js";
15
15
  import {
16
16
  require_dist
17
- } from "../_node-chunks/chunk-TXFQGVOT.js";
17
+ } from "../_node-chunks/chunk-TTAIHANB.js";
18
18
  import {
19
19
  __toESM
20
- } from "../_node-chunks/chunk-SCGML3ZY.js";
20
+ } from "../_node-chunks/chunk-YF6BQNR6.js";
21
21
 
22
22
  // src/bin/loader.ts
23
23
  var import_ts_dedent = __toESM(require_dist(), 1);
@@ -3179,6 +3179,7 @@ declare class AddonVitestService {
3179
3179
  yes?: boolean;
3180
3180
  }): Promise<{
3181
3181
  errors: string[];
3182
+ result: 'installed' | 'skipped' | 'aborted' | 'failed';
3182
3183
  }>;
3183
3184
  /**
3184
3185
  * Validate full compatibility for @storybook/addon-vitest
package/dist/cli/index.js CHANGED
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_rvkdaqpp8e from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_rvkdaqpp8e from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_rvkdaqpp8e from "node:module";
1
+ import CJS_COMPAT_NODE_URL_f2mg11kr5cs from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_f2mg11kr5cs from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_f2mg11kr5cs from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_rvkdaqpp8e.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_rvkdaqpp8e.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_rvkdaqpp8e.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_f2mg11kr5cs.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_f2mg11kr5cs.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_f2mg11kr5cs.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-GAA4H3VB.js";
36
+ } from "../_node-chunks/chunk-O5HLDMLW.js";
37
37
  import {
38
38
  detectPnp
39
- } from "../_node-chunks/chunk-JJ5YIJTU.js";
39
+ } from "../_node-chunks/chunk-6WT5T7D6.js";
40
40
  import {
41
41
  Settings,
42
42
  _clearGlobalSettings,
43
43
  globalSettings
44
- } from "../_node-chunks/chunk-V55OPUPS.js";
45
- import "../_node-chunks/chunk-U46HN6HR.js";
46
- import "../_node-chunks/chunk-N7ITOTDA.js";
47
- import "../_node-chunks/chunk-BHHIOLJA.js";
48
- import "../_node-chunks/chunk-JN2WIVPA.js";
49
- import "../_node-chunks/chunk-TXFQGVOT.js";
50
- import "../_node-chunks/chunk-CPQFWCXT.js";
51
- import "../_node-chunks/chunk-NYOGOMNG.js";
52
- import "../_node-chunks/chunk-22GRWY3A.js";
53
- import "../_node-chunks/chunk-SCGML3ZY.js";
44
+ } from "../_node-chunks/chunk-W77J252D.js";
45
+ import "../_node-chunks/chunk-A7QREOLM.js";
46
+ import "../_node-chunks/chunk-V6NSKAAJ.js";
47
+ import "../_node-chunks/chunk-J33WT6V7.js";
48
+ import "../_node-chunks/chunk-EE622TFR.js";
49
+ import "../_node-chunks/chunk-TTAIHANB.js";
50
+ import "../_node-chunks/chunk-CD52AW7X.js";
51
+ import "../_node-chunks/chunk-3PAK6HOZ.js";
52
+ import "../_node-chunks/chunk-4FES3Z32.js";
53
+ import "../_node-chunks/chunk-YF6BQNR6.js";
54
54
  export {
55
55
  ANGULAR_JSON_PATH,
56
56
  AddonVitestService,
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_rvkdaqpp8e from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_rvkdaqpp8e from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_rvkdaqpp8e from "node:module";
1
+ import CJS_COMPAT_NODE_URL_f2mg11kr5cs from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_f2mg11kr5cs from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_f2mg11kr5cs from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_rvkdaqpp8e.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_rvkdaqpp8e.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_rvkdaqpp8e.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_f2mg11kr5cs.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_f2mg11kr5cs.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_f2mg11kr5cs.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-GVZHV3RA.js";
105
+ } from "../_node-chunks/chunk-745ARPQW.js";
106
106
  import {
107
107
  versions_default
108
- } from "../_node-chunks/chunk-DPZJ3NQJ.js";
109
- import "../_node-chunks/chunk-EDWQNQRS.js";
110
- import "../_node-chunks/chunk-IG2ALTN6.js";
111
- import "../_node-chunks/chunk-U46HN6HR.js";
108
+ } from "../_node-chunks/chunk-UQA3ZWVX.js";
109
+ import "../_node-chunks/chunk-OBA5XT44.js";
110
+ import "../_node-chunks/chunk-2S4J6WRI.js";
111
+ import "../_node-chunks/chunk-A7QREOLM.js";
112
112
  import {
113
113
  importMetaResolve,
114
114
  importModule,
115
115
  resolvePackageDir,
116
116
  safeResolveModule
117
- } from "../_node-chunks/chunk-N7ITOTDA.js";
117
+ } from "../_node-chunks/chunk-V6NSKAAJ.js";
118
118
  import {
119
119
  groupBy,
120
120
  invariant
121
- } from "../_node-chunks/chunk-BHHIOLJA.js";
122
- import "../_node-chunks/chunk-JN2WIVPA.js";
123
- import "../_node-chunks/chunk-O75LHYHE.js";
124
- import "../_node-chunks/chunk-Q4NGPXRM.js";
125
- import "../_node-chunks/chunk-TXFQGVOT.js";
126
- import "../_node-chunks/chunk-22GRWY3A.js";
127
- import "../_node-chunks/chunk-SCGML3ZY.js";
121
+ } from "../_node-chunks/chunk-J33WT6V7.js";
122
+ import "../_node-chunks/chunk-EE622TFR.js";
123
+ import "../_node-chunks/chunk-TCNV3SSR.js";
124
+ import "../_node-chunks/chunk-NAZXVKZR.js";
125
+ import "../_node-chunks/chunk-TTAIHANB.js";
126
+ import "../_node-chunks/chunk-4FES3Z32.js";
127
+ import "../_node-chunks/chunk-YF6BQNR6.js";
128
128
  export {
129
129
  DEFAULT_FILES_PATTERN,
130
130
  FileSystemCache,
@@ -8557,7 +8557,7 @@ var TooltipProvider = ({
8557
8557
  placement,
8558
8558
  offset,
8559
8559
  onOpenChange,
8560
- style: { outlineColor: "transparent" },
8560
+ style: { outline: "none" },
8561
8561
  ...props
8562
8562
  },
8563
8563
  tooltip
@@ -14234,24 +14234,16 @@ var PopoverProvider = ({
14234
14234
  ...props
14235
14235
  },
14236
14236
  React38.createElement($3b117e43dc0ca95d$export$27c701ed9e449e99, null, children),
14237
- React38.createElement(
14238
- $07b14b47974efb58$export$5b6b19405a83ff9d,
14237
+ React38.createElement($07b14b47974efb58$export$5b6b19405a83ff9d, { placement, offset, style: { outline: "none" } }, React38.createElement(
14238
+ Popover,
14239
14239
  {
14240
- placement,
14241
- offset,
14242
- style: { outlineColor: "transparent" }
14240
+ hasChrome,
14241
+ hideLabel: closeLabel,
14242
+ onHide: hasCloseButton ? onHide : void 0,
14243
+ padding
14243
14244
  },
14244
- React38.createElement(
14245
- Popover,
14246
- {
14247
- hasChrome,
14248
- hideLabel: closeLabel,
14249
- onHide: hasCloseButton ? onHide : void 0,
14250
- padding
14251
- },
14252
- typeof popover == "function" ? popover({ onHide }) : popover
14253
- )
14254
- )
14245
+ typeof popover == "function" ? popover({ onHide }) : popover
14246
+ ))
14255
14247
  );
14256
14248
  };
14257
14249
 
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_rvkdaqpp8e from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_rvkdaqpp8e from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_rvkdaqpp8e from "node:module";
1
+ import CJS_COMPAT_NODE_URL_f2mg11kr5cs from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_f2mg11kr5cs from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_f2mg11kr5cs from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_rvkdaqpp8e.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_rvkdaqpp8e.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_rvkdaqpp8e.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_f2mg11kr5cs.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_f2mg11kr5cs.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_f2mg11kr5cs.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-7GNG7DZN.js";
14
+ } from "../_node-chunks/chunk-PDCQDYS4.js";
15
15
  import {
16
16
  debounce,
17
17
  getErrorLevel,
@@ -21,66 +21,66 @@ import {
21
21
  sendTelemetryError,
22
22
  useStatics,
23
23
  withTelemetry
24
- } from "../_node-chunks/chunk-HS7MLKJ7.js";
25
- import "../_node-chunks/chunk-GDGPRHGO.js";
24
+ } from "../_node-chunks/chunk-4K33EHJJ.js";
25
+ import "../_node-chunks/chunk-IHWETTDK.js";
26
26
  import {
27
27
  detectPnp
28
- } from "../_node-chunks/chunk-JJ5YIJTU.js";
28
+ } from "../_node-chunks/chunk-6WT5T7D6.js";
29
29
  import {
30
30
  StorybookError
31
- } from "../_node-chunks/chunk-VCTH7NVT.js";
31
+ } from "../_node-chunks/chunk-U6IY6QQN.js";
32
32
  import {
33
33
  telemetry
34
- } from "../_node-chunks/chunk-DJWEMHR5.js";
35
- import "../_node-chunks/chunk-3AUMHWKR.js";
34
+ } from "../_node-chunks/chunk-RIFAW6Y4.js";
35
+ import "../_node-chunks/chunk-ABYOUG2G.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-GVZHV3RA.js";
43
- import "../_node-chunks/chunk-DPZJ3NQJ.js";
44
- import "../_node-chunks/chunk-EDWQNQRS.js";
42
+ } from "../_node-chunks/chunk-745ARPQW.js";
43
+ import "../_node-chunks/chunk-UQA3ZWVX.js";
44
+ import "../_node-chunks/chunk-OBA5XT44.js";
45
45
  import {
46
46
  require_pretty_hrtime
47
- } from "../_node-chunks/chunk-IG2ALTN6.js";
48
- import "../_node-chunks/chunk-LIHOGGYQ.js";
49
- import "../_node-chunks/chunk-V55OPUPS.js";
47
+ } from "../_node-chunks/chunk-2S4J6WRI.js";
48
+ import "../_node-chunks/chunk-RCCMX64R.js";
49
+ import "../_node-chunks/chunk-W77J252D.js";
50
50
  import {
51
51
  invariant,
52
52
  up2 as up
53
- } from "../_node-chunks/chunk-U46HN6HR.js";
53
+ } from "../_node-chunks/chunk-A7QREOLM.js";
54
54
  import {
55
55
  importModule,
56
56
  resolvePackageDir
57
- } from "../_node-chunks/chunk-N7ITOTDA.js";
58
- import "../_node-chunks/chunk-BHHIOLJA.js";
57
+ } from "../_node-chunks/chunk-V6NSKAAJ.js";
58
+ import "../_node-chunks/chunk-J33WT6V7.js";
59
59
  import {
60
60
  dirname,
61
61
  join,
62
62
  relative,
63
63
  resolve
64
- } from "../_node-chunks/chunk-JN2WIVPA.js";
65
- import "../_node-chunks/chunk-O75LHYHE.js";
64
+ } from "../_node-chunks/chunk-EE622TFR.js";
65
+ import "../_node-chunks/chunk-TCNV3SSR.js";
66
66
  import {
67
67
  slash
68
- } from "../_node-chunks/chunk-Q4NGPXRM.js";
68
+ } from "../_node-chunks/chunk-NAZXVKZR.js";
69
69
  import {
70
70
  require_dist
71
- } from "../_node-chunks/chunk-TXFQGVOT.js";
71
+ } from "../_node-chunks/chunk-TTAIHANB.js";
72
72
  import {
73
73
  require_lib,
74
74
  require_src
75
- } from "../_node-chunks/chunk-NYOGOMNG.js";
75
+ } from "../_node-chunks/chunk-3PAK6HOZ.js";
76
76
  import {
77
77
  require_picocolors
78
- } from "../_node-chunks/chunk-22GRWY3A.js";
78
+ } from "../_node-chunks/chunk-4FES3Z32.js";
79
79
  import {
80
80
  __commonJS,
81
81
  __require,
82
82
  __toESM
83
- } from "../_node-chunks/chunk-SCGML3ZY.js";
83
+ } from "../_node-chunks/chunk-YF6BQNR6.js";
84
84
 
85
85
  // ../node_modules/tsconfig-paths/lib/filesystem.js
86
86
  var require_filesystem = __commonJS({
@@ -5147,7 +5147,7 @@ var makeAbsolute = (otherImport, normalizedPath, workingDir) => otherImport.star
5147
5147
  let cacheKey = this.getFindMatchingFilesCacheKey(specifier, workingDir, ignoreWarnings), cached = this.findMatchingFilesCache.get(cacheKey);
5148
5148
  if (cached)
5149
5149
  return cached;
5150
- let pathToSubIndex = {}, fullGlob = slash(join2(specifier.directory, specifier.files)), { globby } = await import("../_node-chunks/globby-MZKLH3YV.js"), files = await globby(fullGlob, {
5150
+ let pathToSubIndex = {}, fullGlob = slash(join2(specifier.directory, specifier.files)), { globby } = await import("../_node-chunks/globby-MMDNVX5S.js"), files = await globby(fullGlob, {
5151
5151
  absolute: !0,
5152
5152
  cwd: workingDir,
5153
5153
  ...commonGlobOptions(fullGlob)
@@ -5336,7 +5336,7 @@ var makeAbsolute = (otherImport, normalizedPath, workingDir) => otherImport.star
5336
5336
  async extractDocs(specifier, absolutePath, projectTags = []) {
5337
5337
  let relativePath = relative2(this.options.workingDir, absolutePath);
5338
5338
  try {
5339
- let normalizedPath = normalizeStoryPath(relativePath), importPath = slash(normalizedPath), content = await readFile(absolutePath, { encoding: "utf8" }), { analyze } = await import("../_node-chunks/dist-U4P7LQQN.js"), result = await analyze(content);
5339
+ let normalizedPath = normalizeStoryPath(relativePath), importPath = slash(normalizedPath), content = await readFile(absolutePath, { encoding: "utf8" }), { analyze } = await import("../_node-chunks/dist-BV4S5XPY.js"), result = await analyze(content);
5340
5340
  if (result.isTemplate)
5341
5341
  return !1;
5342
5342
  let absoluteImports = result.imports.map(
@@ -5596,7 +5596,7 @@ function print(p) {
5596
5596
  // src/core-server/utils/get-builders.ts
5597
5597
  import { MissingBuilderError } from "storybook/internal/server-errors";
5598
5598
  async function getManagerBuilder() {
5599
- return await import("../_node-chunks/builder-manager-C7JEYIYJ.js");
5599
+ return await import("../_node-chunks/builder-manager-N4D23FLX.js");
5600
5600
  }
5601
5601
  async function getPreviewBuilder(resolvedPreviewBuilder) {
5602
5602
  return await importModule(resolvedPreviewBuilder);
@@ -5696,7 +5696,7 @@ function watchStorySpecifiers(specifiers, options, onInvalidate) {
5696
5696
  // files can be e.g. '**/foo/*/*.js' so we just want the last bit,
5697
5697
  // because the directory could already be within the files part (e.g. './x/foo/bar')
5698
5698
  basename2(specifier.files)
5699
- ), { globby } = await import("../_node-chunks/globby-MZKLH3YV.js");
5699
+ ), { globby } = await import("../_node-chunks/globby-MMDNVX5S.js");
5700
5700
  (await globby(slash(dirGlob), commonGlobOptions2(dirGlob))).forEach((filePath) => {
5701
5701
  let fileImportPath = toImportPath(filePath);
5702
5702
  specifier.importPathMatcher.exec(fileImportPath) && onInvalidate(specifier, fileImportPath, removed);
@@ -1,21 +1,21 @@
1
- import CJS_COMPAT_NODE_URL_rvkdaqpp8e from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_rvkdaqpp8e from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_rvkdaqpp8e from "node:module";
1
+ import CJS_COMPAT_NODE_URL_f2mg11kr5cs from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_f2mg11kr5cs from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_f2mg11kr5cs from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_rvkdaqpp8e.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_rvkdaqpp8e.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_rvkdaqpp8e.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_f2mg11kr5cs.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_f2mg11kr5cs.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_f2mg11kr5cs.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-O75LHYHE.js";
14
+ } from "../../_node-chunks/chunk-TCNV3SSR.js";
15
15
  import {
16
16
  slash
17
- } from "../../_node-chunks/chunk-Q4NGPXRM.js";
18
- import "../../_node-chunks/chunk-SCGML3ZY.js";
17
+ } from "../../_node-chunks/chunk-NAZXVKZR.js";
18
+ import "../../_node-chunks/chunk-YF6BQNR6.js";
19
19
 
20
20
  // src/core-server/utils/remove-mdx-entries.ts
21
21
  import { isAbsolute, join, relative } from "node:path";