@storybook/react 10.5.0-alpha.2 → 10.5.0-alpha.4

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.
package/dist/index.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __definePreview
3
- } from "./_browser-chunks/chunk-GUVY6QMW.js";
3
+ } from "./_browser-chunks/chunk-S7Q5R54F.js";
4
4
  import {
5
5
  entry_preview_exports,
6
6
  renderToCanvas
7
7
  } from "./_browser-chunks/chunk-L3JF7GGZ.js";
8
8
  import {
9
9
  entry_preview_argtypes_exports
10
- } from "./_browser-chunks/chunk-77RIPXG7.js";
11
- import "./_browser-chunks/chunk-CMP5DLKH.js";
10
+ } from "./_browser-chunks/chunk-K2MYE2K3.js";
11
+ import "./_browser-chunks/chunk-IMEABK32.js";
12
12
  import "./_browser-chunks/chunk-DDIRQRCA.js";
13
- import "./_browser-chunks/chunk-E4YOXNOQ.js";
13
+ import "./_browser-chunks/chunk-GOMPYXOS.js";
14
14
  import "./_browser-chunks/chunk-SL3VIQZ3.js";
15
15
 
16
16
  // src/globals.ts
package/dist/preset.js CHANGED
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_ivniobmmlzo from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_ivniobmmlzo from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_ivniobmmlzo from "node:module";
1
+ import CJS_COMPAT_NODE_URL_wrq8d81c1df from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_wrq8d81c1df from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_wrq8d81c1df from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_ivniobmmlzo.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_ivniobmmlzo.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_ivniobmmlzo.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_wrq8d81c1df.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_wrq8d81c1df.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_wrq8d81c1df.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -13858,7 +13858,7 @@ var defaultFunctionValue = inlineFunction, formatFunction = (function(fn, option
13858
13858
  var usedValue = hasValue ? value : defaultValue, useBooleanShorthandSyntax = options.useBooleanShorthandSyntax, tabStop = options.tabStop, formattedPropValue = formatPropValue(usedValue, inline, lvl, options), attributeFormattedInline = " ", attributeFormattedMultiline = `
13859
13859
  `.concat(spacer(lvl + 1, tabStop)), isMultilineAttribute = formattedPropValue.includes(`
13860
13860
  `);
13861
- return useBooleanShorthandSyntax && formattedPropValue === "{false}" && !hasDefaultValue ? (attributeFormattedInline = "", attributeFormattedMultiline = "") : useBooleanShorthandSyntax && formattedPropValue === "{true}" ? (attributeFormattedInline += "".concat(name), attributeFormattedMultiline += "".concat(name)) : (attributeFormattedInline += "".concat(name, "=").concat(formattedPropValue), attributeFormattedMultiline += "".concat(name, "=").concat(formattedPropValue)), {
13861
+ return useBooleanShorthandSyntax && formattedPropValue === "{true}" ? (attributeFormattedInline += "".concat(name), attributeFormattedMultiline += "".concat(name)) : (attributeFormattedInline += "".concat(name, "=").concat(formattedPropValue), attributeFormattedMultiline += "".concat(name, "=").concat(formattedPropValue)), {
13862
13862
  attributeFormattedInline,
13863
13863
  attributeFormattedMultiline,
13864
13864
  isMultilineAttribute