@storybook/react 0.0.0-pr-35341-sha-e49cb7a9 → 0.0.0-pr-35482-sha-e0c7884d
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-7HUHAOMV.js → chunk-3HUEQMBJ.js} +7 -7
- package/dist/_browser-chunks/{chunk-64GECWYS.js → chunk-VYUIDWDB.js} +1 -1
- package/dist/_node-chunks/{chunk-PSH72EED.js → chunk-W53I7E46.js} +18 -18
- package/dist/docgen/docgen-worker.js +7 -7
- package/dist/entry-preview.js +1 -1
- package/dist/index.d.ts +1184 -6
- package/dist/index.js +2 -2
- package/dist/playwright.d.ts +1 -2
- package/dist/preset.js +7 -7
- package/dist/preview.d.ts +1154 -2
- package/dist/preview.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-ojHmM-yX.d.ts +0 -1104
|
@@ -180,9 +180,7 @@ var decorators = [
|
|
|
180
180
|
return await new Promise((resolve) => {
|
|
181
181
|
setTimeout(() => {
|
|
182
182
|
resolve();
|
|
183
|
-
}, 0);
|
|
184
|
-
let jestFakeTimers = getActiveJestFakeTimers(globalThis);
|
|
185
|
-
jestFakeTimers && jestFakeTimers.advanceTimersByTime(0);
|
|
183
|
+
}, 0), jestFakeTimersAreEnabled() && jest.advanceTimersByTime(0);
|
|
186
184
|
}), result;
|
|
187
185
|
} finally {
|
|
188
186
|
setReactActEnvironment(previousActEnvironment);
|
|
@@ -196,10 +194,12 @@ var decorators = [
|
|
|
196
194
|
} catch {
|
|
197
195
|
}
|
|
198
196
|
};
|
|
199
|
-
function
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
197
|
+
function jestFakeTimersAreEnabled() {
|
|
198
|
+
return typeof jest < "u" && jest !== null ? (
|
|
199
|
+
// legacy timers
|
|
200
|
+
setTimeout._isMockFunction === !0 || // modern timers
|
|
201
|
+
Object.prototype.hasOwnProperty.call(setTimeout, "clock")
|
|
202
|
+
) : !1;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6l0iwlg1un3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6l0iwlg1un3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6l0iwlg1un3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6l0iwlg1un3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6l0iwlg1un3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6l0iwlg1un3.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12369,18 +12369,18 @@ var require_core2 = __commonJS({
|
|
|
12369
12369
|
"node:sea": [">= 20.12 && < 21", ">= 21.7"],
|
|
12370
12370
|
smalloc: ">= 0.11.5 && < 3",
|
|
12371
12371
|
"node:sqlite": [">= 22.13 && < 23", ">= 23.4"],
|
|
12372
|
-
_stream_duplex: ">= 0.9.4
|
|
12373
|
-
"node:_stream_duplex": [">= 14.18 && < 15", ">= 16
|
|
12374
|
-
_stream_transform: ">= 0.9.4
|
|
12375
|
-
"node:_stream_transform": [">= 14.18 && < 15", ">= 16
|
|
12376
|
-
_stream_wrap: ">= 1.4.1
|
|
12377
|
-
"node:_stream_wrap": [">= 14.18 && < 15", ">= 16
|
|
12378
|
-
_stream_passthrough: ">= 0.9.4
|
|
12379
|
-
"node:_stream_passthrough": [">= 14.18 && < 15", ">= 16
|
|
12380
|
-
_stream_readable: ">= 0.9.4
|
|
12381
|
-
"node:_stream_readable": [">= 14.18 && < 15", ">= 16
|
|
12382
|
-
_stream_writable: ">= 0.9.4
|
|
12383
|
-
"node:_stream_writable": [">= 14.18 && < 15", ">= 16
|
|
12372
|
+
_stream_duplex: ">= 0.9.4",
|
|
12373
|
+
"node:_stream_duplex": [">= 14.18 && < 15", ">= 16"],
|
|
12374
|
+
_stream_transform: ">= 0.9.4",
|
|
12375
|
+
"node:_stream_transform": [">= 14.18 && < 15", ">= 16"],
|
|
12376
|
+
_stream_wrap: ">= 1.4.1",
|
|
12377
|
+
"node:_stream_wrap": [">= 14.18 && < 15", ">= 16"],
|
|
12378
|
+
_stream_passthrough: ">= 0.9.4",
|
|
12379
|
+
"node:_stream_passthrough": [">= 14.18 && < 15", ">= 16"],
|
|
12380
|
+
_stream_readable: ">= 0.9.4",
|
|
12381
|
+
"node:_stream_readable": [">= 14.18 && < 15", ">= 16"],
|
|
12382
|
+
_stream_writable: ">= 0.9.4",
|
|
12383
|
+
"node:_stream_writable": [">= 14.18 && < 15", ">= 16"],
|
|
12384
12384
|
stream: !0,
|
|
12385
12385
|
"node:stream": [">= 14.18 && < 15", ">= 16"],
|
|
12386
12386
|
"stream/consumers": ">= 16.7",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6l0iwlg1un3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6l0iwlg1un3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6l0iwlg1un3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6l0iwlg1un3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6l0iwlg1un3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6l0iwlg1un3.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
extractArgTypes,
|
|
16
16
|
path,
|
|
17
17
|
resolveStoryFileComponents
|
|
18
|
-
} from "../_node-chunks/chunk-
|
|
18
|
+
} from "../_node-chunks/chunk-W53I7E46.js";
|
|
19
19
|
|
|
20
20
|
// src/docgen/docgen-worker.ts
|
|
21
21
|
import { STORY_FILE_TEST_REGEXP, getStoryImportPathFromEntry as getStoryImportPathFromEntry2 } from "storybook/internal/common";
|