@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.
- package/dist/_browser-chunks/{chunk-HBQ5Y6GW.js → chunk-APL3BLM6.js} +1 -1
- package/dist/_browser-chunks/{chunk-O24TFCLO.js → chunk-LBDZ5UD7.js} +1 -1
- package/dist/entry-preview-docs.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/preset.js +5821 -411
- package/dist/preview.d.ts +1 -1
- package/dist/preview.js +2 -2
- package/package.json +7 -4
|
@@ -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 }
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
applyDecorators,
|
|
3
3
|
decorators,
|
|
4
4
|
parameters
|
|
5
|
-
} from "./_browser-chunks/chunk-
|
|
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-
|
|
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-
|
|
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 {
|