storybook 10.1.0-beta.1 → 10.1.0-beta.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 (64) hide show
  1. package/dist/_browser-chunks/{chunk-L4RMQ7D7.js → chunk-BRX2HXH7.js} +75 -5
  2. package/dist/_node-chunks/{builder-manager-FTVC2JL7.js → builder-manager-OAF6SRKJ.js} +14 -579
  3. package/dist/_node-chunks/{camelcase-3SMT5WKC.js → camelcase-UG5ZJHCD.js} +7 -7
  4. package/dist/_node-chunks/{chunk-6L7FFBOW.js → chunk-473LXK7O.js} +6 -6
  5. package/dist/_node-chunks/chunk-5N3H43LE.js +23 -0
  6. package/dist/_node-chunks/{chunk-6DEMT5VX.js → chunk-6YYH64IJ.js} +13 -13
  7. package/dist/_node-chunks/{chunk-2OVULPK3.js → chunk-745GFLCZ.js} +6 -6
  8. package/dist/_node-chunks/{chunk-SQSFX47N.js → chunk-7WOMK33B.js} +7 -7
  9. package/dist/_node-chunks/{chunk-RURZIE3W.js → chunk-A5VW7257.js} +8 -8
  10. package/dist/_node-chunks/{chunk-Y4UYN72K.js → chunk-CRJ7M6EO.js} +22 -21
  11. package/dist/_node-chunks/chunk-DRN5YXX5.js +18 -0
  12. package/dist/_node-chunks/{chunk-AREL5IXS.js → chunk-H6HVK5J2.js} +7 -7
  13. package/dist/_node-chunks/{chunk-VRICJPXY.js → chunk-JOOO54RB.js} +6 -6
  14. package/dist/_node-chunks/chunk-LJRIVT23.js +61 -0
  15. package/dist/_node-chunks/{chunk-K673CX4Q.js → chunk-LZ2HPFRB.js} +7 -7
  16. package/dist/_node-chunks/{chunk-TURUTKVH.js → chunk-N5IE6WWR.js} +7 -7
  17. package/dist/_node-chunks/{chunk-IUYZQKSX.js → chunk-NKT3R6IH.js} +6 -6
  18. package/dist/_node-chunks/{chunk-N3BJOOY5.js → chunk-NOTIBODG.js} +6 -6
  19. package/dist/_node-chunks/{chunk-ZMCJS2GU.js → chunk-Q65ED3UK.js} +6 -6
  20. package/dist/_node-chunks/{chunk-3JJPSDXI.js → chunk-RABBUYPA.js} +9 -9
  21. package/dist/_node-chunks/{chunk-RVII4SK6.js → chunk-SKFAHEPX.js} +14 -14
  22. package/dist/_node-chunks/{chunk-O5FMCQHP.js → chunk-STYUJSG3.js} +10 -10
  23. package/dist/_node-chunks/{chunk-54NMJ4II.js → chunk-SUILKNPA.js} +8 -8
  24. package/dist/_node-chunks/{chunk-XGNRK7QB.js → chunk-TUQOGYET.js} +7 -7
  25. package/dist/_node-chunks/{chunk-5V4A6MSI.js → chunk-U24W5IIW.js} +7 -7
  26. package/dist/_node-chunks/{chunk-WIWWMCEU.js → chunk-UWK6Z4VL.js} +6 -6
  27. package/dist/_node-chunks/{chunk-S3PBHOVC.js → chunk-WBULWRM7.js} +34 -24
  28. package/dist/_node-chunks/{chunk-RIKQZHV3.js → chunk-WSIZMTN2.js} +6 -6
  29. package/dist/_node-chunks/{chunk-6ULDIDXV.js → chunk-WYLXFNIP.js} +9 -9
  30. package/dist/_node-chunks/{chunk-Y2FOTPAE.js → chunk-XS5QCZP7.js} +7 -7
  31. package/dist/_node-chunks/{chunk-FNYKBULZ.js → chunk-Y7VDA7NY.js} +7 -7
  32. package/dist/_node-chunks/{dist-TZLZ3T6L.js → dist-N33YQ3NH.js} +9 -9
  33. package/dist/_node-chunks/{globby-22GFCZQD.js → globby-5IBS67N3.js} +9 -9
  34. package/dist/_node-chunks/{lib-37NQ4ZIJ.js → lib-2XH6KQ2B.js} +7 -7
  35. package/dist/_node-chunks/{mdx-N42X6CFJ-2TRB7OEH.js → mdx-N42X6CFJ-3GGSRLVV.js} +8 -8
  36. package/dist/_node-chunks/{p-limit-UD7TYFDW.js → p-limit-Z3A7N5MY.js} +7 -7
  37. package/dist/babel/index.js +10 -10
  38. package/dist/bin/core.js +12 -12
  39. package/dist/bin/dispatcher.js +11 -11
  40. package/dist/bin/loader.js +9 -9
  41. package/dist/cli/index.d.ts +5 -4
  42. package/dist/cli/index.js +18 -18
  43. package/dist/common/index.js +19 -19
  44. package/dist/components/index.js +35 -29
  45. package/dist/core-server/index.js +33 -33
  46. package/dist/core-server/presets/common-manager.js +74 -108
  47. package/dist/core-server/presets/common-override-preset.js +9 -9
  48. package/dist/core-server/presets/common-preset.js +25 -25
  49. package/dist/csf-tools/index.js +9 -9
  50. package/dist/manager/globals-runtime.js +148 -74
  51. package/dist/manager/runtime.js +70 -20
  52. package/dist/manager-api/index.js +7 -10
  53. package/dist/mocking-utils/index.js +8 -8
  54. package/dist/node-logger/index.js +9 -9
  55. package/dist/server-errors.js +11 -11
  56. package/dist/telemetry/index.js +23 -23
  57. package/dist/theming/create.d.ts +1 -1
  58. package/dist/theming/create.js +1 -1
  59. package/dist/theming/index.d.ts +65 -2
  60. package/dist/theming/index.js +6 -3
  61. package/package.json +1 -2
  62. package/dist/_node-chunks/chunk-DWA53E73.js +0 -23
  63. package/dist/_node-chunks/chunk-KJAFCNZ3.js +0 -61
  64. package/dist/_node-chunks/chunk-Z4BMBA5L.js +0 -18
@@ -2517,125 +2517,91 @@ var { window: globalWindow } = globalThis, Wrapper5 = styled9.div(({ theme: them
2517
2517
  import React13, { useMemo as useMemo2 } from "react";
2518
2518
  import { styled as styled10 } from "storybook/theming";
2519
2519
  var RangeInput = styled10.input(
2520
- ({ theme: theme3, min, max, value: value2, disabled }) => ({
2521
- // Resytled using http://danielstern.ca/range.css/#/
2522
- "&": {
2523
- width: "100%",
2524
- backgroundColor: "transparent",
2525
- appearance: "none"
2526
- },
2527
- "&::-webkit-slider-runnable-track": {
2520
+ ({ theme: theme3, min, max, value: value2, disabled }) => {
2521
+ let trackBaseStyles = {
2528
2522
  background: theme3.base === "light" ? `linear-gradient(to right,
2529
- ${theme3.color.green} 0%, ${theme3.color.green} ${(value2 - min) / (max - min) * 100}%,
2530
- ${curriedDarken$1(0.02, theme3.input.background)} ${(value2 - min) / (max - min) * 100}%,
2531
- ${curriedDarken$1(0.02, theme3.input.background)} 100%)` : `linear-gradient(to right,
2532
- ${theme3.color.green} 0%, ${theme3.color.green} ${(value2 - min) / (max - min) * 100}%,
2533
- ${curriedLighten$1(0.02, theme3.input.background)} ${(value2 - min) / (max - min) * 100}%,
2534
- ${curriedLighten$1(0.02, theme3.input.background)} 100%)`,
2535
- boxShadow: `${theme3.appBorderColor} 0 0 0 1px inset`,
2523
+ ${theme3.color.green} 0%, ${theme3.color.green} ${(value2 - min) / (max - min) * 100}%,
2524
+ ${curriedDarken$1(0.02, theme3.input.background)} ${(value2 - min) / (max - min) * 100}%,
2525
+ ${curriedDarken$1(0.02, theme3.input.background)} 100%)` : `linear-gradient(to right,
2526
+ ${theme3.color.green} 0%, ${theme3.color.green} ${(value2 - min) / (max - min) * 100}%,
2527
+ ${curriedLighten$1(0.02, theme3.input.background)} ${(value2 - min) / (max - min) * 100}%,
2528
+ ${curriedLighten$1(0.02, theme3.input.background)} 100%)`,
2536
2529
  borderRadius: 6,
2537
- width: "100%",
2530
+ boxShadow: `${theme3.base == "dark" ? "hsl(0 0 100 / 0.4)" : "hsl(0 0 0 / 0.44)"} 0 0 0 1px inset`,
2531
+ cursor: disabled ? "not-allowed" : "pointer",
2538
2532
  height: 6,
2539
- cursor: disabled ? "not-allowed" : "pointer"
2540
- },
2541
- "&::-webkit-slider-thumb": {
2542
- marginTop: "-6px",
2533
+ width: "100%"
2534
+ }, trackFocusStyles = {
2535
+ borderColor: rgba(theme3.color.secondary, 0.4)
2536
+ }, thumbBaseStyles = {
2543
2537
  width: 16,
2544
2538
  height: 16,
2545
- border: `1px solid ${theme3.appBorderColor}`,
2546
- borderRadius: "50px",
2547
- boxShadow: theme3.base === "light" ? `0 1px 3px 0px ${rgba(theme3.appBorderColor, 0.2)}` : "unset",
2539
+ borderRadius: 50,
2548
2540
  cursor: disabled ? "not-allowed" : "grab",
2549
- appearance: "none",
2550
2541
  background: theme3.input.background,
2551
- transition: "all 150ms ease-out",
2552
- "&:hover": {
2553
- background: `${curriedDarken$1(0.05, theme3.input.background)}`,
2554
- transform: "scale3d(1.1, 1.1, 1.1) translateY(-1px)",
2555
- transition: "all 50ms ease-out"
2542
+ border: `1px solid ${theme3.base == "dark" ? "hsl(0 0 100 / 0.4)" : "hsl(0 0 0 / 0.44)"}`,
2543
+ boxShadow: theme3.base === "light" ? `0 1px 3px 0px ${rgba(theme3.appBorderColor, 0.2)}` : "unset",
2544
+ transition: "all 150ms ease-out"
2545
+ }, thumbHoverStyles = {
2546
+ background: `${curriedDarken$1(0.05, theme3.input.background)}`,
2547
+ transform: "scale3d(1.1, 1.1, 1.1) translateY(-1px)",
2548
+ transition: "all 50ms ease-out"
2549
+ }, thumbActiveStyles = {
2550
+ background: `${theme3.input.background}`,
2551
+ transform: "scale3d(1, 1, 1) translateY(0px)"
2552
+ }, thumbFocusStyles = {
2553
+ borderColor: theme3.color.secondary,
2554
+ boxShadow: theme3.base === "light" ? `0 0px 5px 0px ${theme3.color.secondary}` : "unset"
2555
+ };
2556
+ return {
2557
+ // Restyled using http://danielstern.ca/range.css/#/
2558
+ appearance: "none",
2559
+ backgroundColor: "transparent",
2560
+ width: "100%",
2561
+ // Track styles
2562
+ "&::-webkit-slider-runnable-track": trackBaseStyles,
2563
+ "&::-moz-range-track": trackBaseStyles,
2564
+ "&::-ms-track": {
2565
+ ...trackBaseStyles,
2566
+ color: "transparent"
2556
2567
  },
2557
- "&:active": {
2558
- background: `${theme3.input.background}`,
2559
- transform: "scale3d(1, 1, 1) translateY(0px)",
2560
- cursor: disabled ? "not-allowed" : "grab"
2561
- }
2562
- },
2563
- "&:focus": {
2564
- outline: "none",
2565
- "&::-webkit-slider-runnable-track": {
2566
- borderColor: rgba(theme3.color.secondary, 0.4)
2568
+ // Thumb styles
2569
+ "&::-moz-range-thumb": {
2570
+ ...thumbBaseStyles,
2571
+ "&:hover": thumbHoverStyles,
2572
+ "&:active": thumbActiveStyles
2567
2573
  },
2568
2574
  "&::-webkit-slider-thumb": {
2569
- borderColor: theme3.color.secondary,
2570
- boxShadow: theme3.base === "light" ? `0 0px 5px 0px ${theme3.color.secondary}` : "unset"
2571
- }
2572
- },
2573
- "&::-moz-range-track": {
2574
- background: theme3.base === "light" ? `linear-gradient(to right,
2575
- ${theme3.color.green} 0%, ${theme3.color.green} ${(value2 - min) / (max - min) * 100}%,
2576
- ${curriedDarken$1(0.02, theme3.input.background)} ${(value2 - min) / (max - min) * 100}%,
2577
- ${curriedDarken$1(0.02, theme3.input.background)} 100%)` : `linear-gradient(to right,
2578
- ${theme3.color.green} 0%, ${theme3.color.green} ${(value2 - min) / (max - min) * 100}%,
2579
- ${curriedLighten$1(0.02, theme3.input.background)} ${(value2 - min) / (max - min) * 100}%,
2580
- ${curriedLighten$1(0.02, theme3.input.background)} 100%)`,
2581
- boxShadow: `${theme3.appBorderColor} 0 0 0 1px inset`,
2582
- borderRadius: 6,
2583
- width: "100%",
2584
- height: 6,
2585
- cursor: disabled ? "not-allowed" : "pointer",
2586
- outline: "none"
2587
- },
2588
- "&::-moz-range-thumb": {
2589
- width: 16,
2590
- height: 16,
2591
- border: `1px solid ${theme3.appBorderColor}`,
2592
- borderRadius: "50px",
2593
- boxShadow: theme3.base === "light" ? `0 1px 3px 0px ${rgba(theme3.appBorderColor, 0.2)}` : "unset",
2594
- cursor: disabled ? "not-allowed" : "grab",
2595
- background: theme3.input.background,
2596
- transition: "all 150ms ease-out",
2597
- "&:hover": {
2598
- background: `${curriedDarken$1(0.05, theme3.input.background)}`,
2599
- transform: "scale3d(1.1, 1.1, 1.1) translateY(-1px)",
2600
- transition: "all 50ms ease-out"
2575
+ ...thumbBaseStyles,
2576
+ marginTop: "-6px",
2577
+ appearance: "none",
2578
+ "&:hover": thumbHoverStyles,
2579
+ "&:active": thumbActiveStyles
2601
2580
  },
2602
- "&:active": {
2603
- background: `${theme3.input.background}`,
2604
- transform: "scale3d(1, 1, 1) translateY(0px)",
2605
- cursor: "grabbing"
2606
- }
2607
- },
2608
- "&::-ms-track": {
2609
- background: theme3.base === "light" ? `linear-gradient(to right,
2610
- ${theme3.color.green} 0%, ${theme3.color.green} ${(value2 - min) / (max - min) * 100}%,
2611
- ${curriedDarken$1(0.02, theme3.input.background)} ${(value2 - min) / (max - min) * 100}%,
2612
- ${curriedDarken$1(0.02, theme3.input.background)} 100%)` : `linear-gradient(to right,
2613
- ${theme3.color.green} 0%, ${theme3.color.green} ${(value2 - min) / (max - min) * 100}%,
2614
- ${curriedLighten$1(0.02, theme3.input.background)} ${(value2 - min) / (max - min) * 100}%,
2615
- ${curriedLighten$1(0.02, theme3.input.background)} 100%)`,
2616
- boxShadow: theme3.base === "light" ? `${theme3.appBorderColor} 0 0 0 1px inset` : "unset",
2617
- color: "transparent",
2618
- width: "100%",
2619
- height: "6px",
2620
- cursor: "pointer"
2621
- },
2622
- "&::-ms-fill-lower": {
2623
- borderRadius: 6
2624
- },
2625
- "&::-ms-fill-upper": {
2626
- borderRadius: 6
2627
- },
2628
- "&::-ms-thumb": {
2629
- width: 16,
2630
- height: 16,
2631
- background: theme3.input.background,
2632
- border: `1px solid ${rgba(theme3.appBorderColor, 0.2)}`,
2633
- borderRadius: 50,
2634
- cursor: disabled ? "not-allowed" : "grab",
2635
- marginTop: 0
2636
- },
2637
- "@supports (-ms-ime-align:auto)": { "input[type=range]": { margin: "0" } }
2638
- })
2581
+ "&::-ms-thumb": {
2582
+ ...thumbBaseStyles,
2583
+ marginTop: 0,
2584
+ "&:hover": thumbHoverStyles,
2585
+ "&:active": thumbActiveStyles
2586
+ },
2587
+ "&:focus": {
2588
+ outline: "none",
2589
+ "&::-webkit-slider-runnable-track": trackFocusStyles,
2590
+ "&::-moz-range-track": trackFocusStyles,
2591
+ "&::-ms-track": trackFocusStyles,
2592
+ "&::-webkit-slider-thumb": thumbFocusStyles,
2593
+ "&::-moz-range-thumb": thumbFocusStyles,
2594
+ "&::-ms-thumb": thumbFocusStyles
2595
+ },
2596
+ "&::-ms-fill-lower": {
2597
+ borderRadius: 6
2598
+ },
2599
+ "&::-ms-fill-upper": {
2600
+ borderRadius: 6
2601
+ },
2602
+ "@supports (-ms-ime-align:auto)": { "input[type=range]": { margin: "0" } }
2603
+ };
2604
+ }
2639
2605
  ), RangeLabel = styled10.span({
2640
2606
  paddingLeft: 5,
2641
2607
  paddingRight: 5,
@@ -1,21 +1,21 @@
1
- import CJS_COMPAT_NODE_URL_jdojl2z4eei from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_jdojl2z4eei from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_jdojl2z4eei from "node:module";
1
+ import CJS_COMPAT_NODE_URL_d4nrjz93tmm from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_d4nrjz93tmm from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_d4nrjz93tmm from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_jdojl2z4eei.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_jdojl2z4eei.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_jdojl2z4eei.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_d4nrjz93tmm.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_d4nrjz93tmm.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_d4nrjz93tmm.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-Y2FOTPAE.js";
14
+ } from "../../_node-chunks/chunk-XS5QCZP7.js";
15
15
  import {
16
16
  slash
17
- } from "../../_node-chunks/chunk-ZMCJS2GU.js";
18
- import "../../_node-chunks/chunk-2OVULPK3.js";
17
+ } from "../../_node-chunks/chunk-Q65ED3UK.js";
18
+ import "../../_node-chunks/chunk-745GFLCZ.js";
19
19
 
20
20
  // src/core-server/utils/remove-mdx-entries.ts
21
21
  import { isAbsolute, join, relative } from "node:path";
@@ -1,57 +1,57 @@
1
- import CJS_COMPAT_NODE_URL_jdojl2z4eei from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_jdojl2z4eei from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_jdojl2z4eei from "node:module";
1
+ import CJS_COMPAT_NODE_URL_d4nrjz93tmm from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_d4nrjz93tmm from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_d4nrjz93tmm from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_jdojl2z4eei.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_jdojl2z4eei.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_jdojl2z4eei.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_d4nrjz93tmm.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_d4nrjz93tmm.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_d4nrjz93tmm.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-S3PBHOVC.js";
12
+ import "../../_node-chunks/chunk-WBULWRM7.js";
13
13
  import {
14
14
  parseStaticDir,
15
15
  sendTelemetryError,
16
16
  throttle
17
- } from "../../_node-chunks/chunk-6DEMT5VX.js";
18
- import "../../_node-chunks/chunk-AREL5IXS.js";
19
- import "../../_node-chunks/chunk-DWA53E73.js";
20
- import "../../_node-chunks/chunk-N3BJOOY5.js";
17
+ } from "../../_node-chunks/chunk-6YYH64IJ.js";
18
+ import "../../_node-chunks/chunk-H6HVK5J2.js";
19
+ import "../../_node-chunks/chunk-5N3H43LE.js";
20
+ import "../../_node-chunks/chunk-NOTIBODG.js";
21
21
  import {
22
22
  getLastEvents,
23
23
  getSessionId
24
- } from "../../_node-chunks/chunk-VRICJPXY.js";
24
+ } from "../../_node-chunks/chunk-JOOO54RB.js";
25
25
  import {
26
26
  globalSettings
27
- } from "../../_node-chunks/chunk-3JJPSDXI.js";
27
+ } from "../../_node-chunks/chunk-RABBUYPA.js";
28
28
  import {
29
29
  invariant
30
- } from "../../_node-chunks/chunk-IUYZQKSX.js";
30
+ } from "../../_node-chunks/chunk-NKT3R6IH.js";
31
31
  import {
32
32
  resolvePackageDir
33
- } from "../../_node-chunks/chunk-FNYKBULZ.js";
34
- import "../../_node-chunks/chunk-RIKQZHV3.js";
33
+ } from "../../_node-chunks/chunk-Y7VDA7NY.js";
34
+ import "../../_node-chunks/chunk-WSIZMTN2.js";
35
35
  import {
36
36
  isAbsolute,
37
37
  join
38
- } from "../../_node-chunks/chunk-WIWWMCEU.js";
38
+ } from "../../_node-chunks/chunk-UWK6Z4VL.js";
39
39
  import {
40
40
  loadConfig
41
- } from "../../_node-chunks/chunk-54NMJ4II.js";
41
+ } from "../../_node-chunks/chunk-SUILKNPA.js";
42
42
  import {
43
43
  require_dist
44
- } from "../../_node-chunks/chunk-SQSFX47N.js";
45
- import "../../_node-chunks/chunk-6ULDIDXV.js";
46
- import "../../_node-chunks/chunk-K673CX4Q.js";
44
+ } from "../../_node-chunks/chunk-7WOMK33B.js";
45
+ import "../../_node-chunks/chunk-WYLXFNIP.js";
46
+ import "../../_node-chunks/chunk-LZ2HPFRB.js";
47
47
  import {
48
48
  require_picocolors
49
- } from "../../_node-chunks/chunk-XGNRK7QB.js";
49
+ } from "../../_node-chunks/chunk-TUQOGYET.js";
50
50
  import {
51
51
  __commonJS,
52
52
  __require,
53
53
  __toESM
54
- } from "../../_node-chunks/chunk-2OVULPK3.js";
54
+ } from "../../_node-chunks/chunk-745GFLCZ.js";
55
55
 
56
56
  // ../node_modules/shell-quote/quote.js
57
57
  var require_quote = __commonJS({
@@ -518,7 +518,7 @@ import { isCsfFactoryPreview } from "storybook/internal/csf-tools";
518
518
  var import_ts_dedent = __toESM(require_dist(), 1);
519
519
 
520
520
  // src/core-server/utils/get-component-variable-name.ts
521
- var getComponentVariableName = async (name) => (await import("../../_node-chunks/camelcase-3SMT5WKC.js")).default(name.replace(/^[^a-zA-Z_$]*/, ""), { pascalCase: !0 }).replace(/[^a-zA-Z_$]+/, "");
521
+ var getComponentVariableName = async (name) => (await import("../../_node-chunks/camelcase-UG5ZJHCD.js")).default(name.replace(/^[^a-zA-Z_$]*/, ""), { pascalCase: !0 }).replace(/[^a-zA-Z_$]+/, "");
522
522
 
523
523
  // src/core-server/utils/new-story-templates/csf-factory-template.ts
524
524
  async function getCsfFactoryTemplateForNewStoryFile(data) {
@@ -783,7 +783,7 @@ async function searchFiles({
783
783
  ignoredFiles = IGNORED_FILES,
784
784
  fileExtensions = FILE_EXTENSIONS
785
785
  }) {
786
- let { globby, isDynamicPattern } = await import("../../_node-chunks/globby-22GFCZQD.js"), hasSearchSpecialGlobChars = isDynamicPattern(searchQuery, { cwd }), searchQueryHasExtension = /(\.[a-z]+)$/i.test(searchQuery), fileExtensionsPattern = `{${fileExtensions.join(",")}}`, globbedSearchQuery = hasSearchSpecialGlobChars ? searchQuery : searchQueryHasExtension ? [`**/*${searchQuery}*`, `**/*${searchQuery}*/**`] : [
786
+ let { globby, isDynamicPattern } = await import("../../_node-chunks/globby-5IBS67N3.js"), hasSearchSpecialGlobChars = isDynamicPattern(searchQuery, { cwd }), searchQueryHasExtension = /(\.[a-z]+)$/i.test(searchQuery), fileExtensionsPattern = `{${fileExtensions.join(",")}}`, globbedSearchQuery = hasSearchSpecialGlobChars ? searchQuery : searchQueryHasExtension ? [`**/*${searchQuery}*`, `**/*${searchQuery}*/**`] : [
787
787
  `**/*${searchQuery}*.${fileExtensionsPattern}`,
788
788
  `**/*${searchQuery}*/**/*.${fileExtensionsPattern}`
789
789
  ];
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_jdojl2z4eei from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_jdojl2z4eei from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_jdojl2z4eei from "node:module";
1
+ import CJS_COMPAT_NODE_URL_d4nrjz93tmm from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_d4nrjz93tmm from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_d4nrjz93tmm from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_jdojl2z4eei.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_jdojl2z4eei.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_jdojl2z4eei.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_d4nrjz93tmm.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_d4nrjz93tmm.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_d4nrjz93tmm.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -38,9 +38,9 @@ import {
38
38
  vitestTransform,
39
39
  writeConfig,
40
40
  writeCsf
41
- } from "../_node-chunks/chunk-54NMJ4II.js";
42
- import "../_node-chunks/chunk-SQSFX47N.js";
43
- import "../_node-chunks/chunk-2OVULPK3.js";
41
+ } from "../_node-chunks/chunk-SUILKNPA.js";
42
+ import "../_node-chunks/chunk-7WOMK33B.js";
43
+ import "../_node-chunks/chunk-745GFLCZ.js";
44
44
  export {
45
45
  BadMetaError,
46
46
  ConfigFile,