@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.
@@ -538,7 +538,7 @@ var defaultFunctionValue = inlineFunction, formatFunction = (function(fn, option
538
538
  var usedValue = hasValue ? value : defaultValue, useBooleanShorthandSyntax = options.useBooleanShorthandSyntax, tabStop = options.tabStop, formattedPropValue = formatPropValue(usedValue, inline, lvl, options), attributeFormattedInline = " ", attributeFormattedMultiline = `
539
539
  `.concat(spacer(lvl + 1, tabStop)), isMultilineAttribute = formattedPropValue.includes(`
540
540
  `);
541
- 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)), {
541
+ return useBooleanShorthandSyntax && formattedPropValue === "{true}" ? (attributeFormattedInline += "".concat(name), attributeFormattedMultiline += "".concat(name)) : (attributeFormattedInline += "".concat(name, "=").concat(formattedPropValue), attributeFormattedMultiline += "".concat(name, "=").concat(formattedPropValue)), {
542
542
  attributeFormattedInline,
543
543
  attributeFormattedMultiline,
544
544
  isMultilineAttribute
@@ -5,7 +5,7 @@ import {
5
5
  isForwardRef,
6
6
  isMemo,
7
7
  reactElementToJsxString
8
- } from "./chunk-E4YOXNOQ.js";
8
+ } from "./chunk-GOMPYXOS.js";
9
9
  import {
10
10
  __export
11
11
  } from "./chunk-SL3VIQZ3.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isMemo,
3
3
  reactElementToJsxString
4
- } from "./chunk-E4YOXNOQ.js";
4
+ } from "./chunk-GOMPYXOS.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __export,
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-L3JF7GGZ.js";
4
4
  import {
5
5
  entry_preview_argtypes_exports
6
- } from "./chunk-77RIPXG7.js";
6
+ } from "./chunk-K2MYE2K3.js";
7
7
  import {
8
8
  entry_preview_docs_exports
9
- } from "./chunk-CMP5DLKH.js";
9
+ } from "./chunk-IMEABK32.js";
10
10
 
11
11
  // src/preview.tsx
12
12
  import { definePreview as definePreviewBase } from "storybook/internal/csf";
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  argTypesEnhancers,
3
3
  parameters
4
- } from "./_browser-chunks/chunk-77RIPXG7.js";
5
- import "./_browser-chunks/chunk-E4YOXNOQ.js";
4
+ } from "./_browser-chunks/chunk-K2MYE2K3.js";
5
+ import "./_browser-chunks/chunk-GOMPYXOS.js";
6
6
  import "./_browser-chunks/chunk-SL3VIQZ3.js";
7
7
  export {
8
8
  argTypesEnhancers,
@@ -2,9 +2,9 @@ import {
2
2
  applyDecorators,
3
3
  decorators,
4
4
  parameters
5
- } from "./_browser-chunks/chunk-CMP5DLKH.js";
5
+ } from "./_browser-chunks/chunk-IMEABK32.js";
6
6
  import "./_browser-chunks/chunk-DDIRQRCA.js";
7
- import "./_browser-chunks/chunk-E4YOXNOQ.js";
7
+ import "./_browser-chunks/chunk-GOMPYXOS.js";
8
8
  import "./_browser-chunks/chunk-SL3VIQZ3.js";
9
9
  export {
10
10
  applyDecorators,