@storybook/react 10.1.0-alpha.0 → 10.1.0-alpha.10

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.
@@ -194,7 +194,7 @@ var applyDecorators2 = /* @__PURE__ */ __name((storyFn, decorators2) => {
194
194
  }, "applyDecorators");
195
195
 
196
196
  // src/entry-preview-docs.ts
197
- var decorators = [jsxDecorator];
197
+ var decorators = "FEATURES" in globalThis && globalThis?.FEATURES?.experimentalCodeExamples ? [] : [jsxDecorator];
198
198
  var parameters = {
199
199
  docs: {
200
200
  story: { inline: true }
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-SKEPQA2F.js";
7
7
  import {
8
8
  entry_preview_docs_exports
9
- } from "./chunk-HBQ5Y6GW.js";
9
+ } from "./chunk-APL3BLM6.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-L5NVL7MD.js";
@@ -2,7 +2,7 @@ import {
2
2
  applyDecorators,
3
3
  decorators,
4
4
  parameters
5
- } from "./_browser-chunks/chunk-HBQ5Y6GW.js";
5
+ } from "./_browser-chunks/chunk-APL3BLM6.js";
6
6
  import "./_browser-chunks/chunk-BUAOEMNB.js";
7
7
  import "./_browser-chunks/chunk-VVH2AMAL.js";
8
8
  import "./_browser-chunks/chunk-L5NVL7MD.js";
package/dist/index.d.ts CHANGED
@@ -531,4 +531,4 @@ interface ReactStory<T extends ReactTypes, TInput extends StoryAnnotations<T, T[
531
531
  Component: ComponentType<Partial<T['args']>>;
532
532
  }
533
533
 
534
- export { type AddMocks, type Decorator, INTERNAL_DEFAULT_PROJECT_ANNOTATIONS, type Loader, type Meta, type Preview, type ReactPreview, type ReactRenderer, type ReactStory, type ReactTypes, type StoryContext, type StoryFn, type StoryObj, __definePreview, composeStories, composeStory, setProjectAnnotations };
534
+ export { type AddMocks, type Decorator, INTERNAL_DEFAULT_PROJECT_ANNOTATIONS, type Loader, type Meta, type Preview, type ReactMeta, type ReactPreview, type ReactRenderer, type ReactStory, type ReactTypes, type StoryContext, type StoryFn, type StoryObj, __definePreview, composeStories, composeStory, setProjectAnnotations };
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __definePreview
3
- } from "./_browser-chunks/chunk-O24TFCLO.js";
3
+ } from "./_browser-chunks/chunk-LBDZ5UD7.js";
4
4
  import {
5
5
  entry_preview_exports,
6
6
  renderToCanvas
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  entry_preview_argtypes_exports
10
10
  } from "./_browser-chunks/chunk-SKEPQA2F.js";
11
- import "./_browser-chunks/chunk-HBQ5Y6GW.js";
11
+ import "./_browser-chunks/chunk-APL3BLM6.js";
12
12
  import "./_browser-chunks/chunk-BUAOEMNB.js";
13
13
  import "./_browser-chunks/chunk-VVH2AMAL.js";
14
14
  import {