@storybook/react-dom-shim 10.6.0-alpha.0 → 10.6.0-alpha.1

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/preset.js CHANGED
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_22qnr4xti56 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_22qnr4xti56 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_22qnr4xti56 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_z1828m3cik from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_z1828m3cik from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_z1828m3cik from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_22qnr4xti56.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_22qnr4xti56.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_22qnr4xti56.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_z1828m3cik.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_z1828m3cik.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_z1828m3cik.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -1,7 +1,8 @@
1
- import { ReactElement } from 'react';
2
- import { RootOptions } from 'react-dom/client';
1
+ import { ReactElement } from "react";
2
+ import { RootOptions } from "react-dom/client";
3
3
 
4
+ //#region code/lib/react-dom-shim/.dts-emit/code/lib/react-dom-shim/src/react-18.d.ts
4
5
  declare const renderElement: (node: ReactElement, el: Element, rootOptions?: RootOptions) => Promise<void>;
5
6
  declare const unmountElement: (el: Element, shouldUseNewRootApi?: boolean) => void;
6
-
7
- export { renderElement, unmountElement };
7
+ //#endregion
8
+ export { renderElement, unmountElement };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-dom-shim",
3
- "version": "10.6.0-alpha.0",
3
+ "version": "10.6.0-alpha.1",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "storybook"
@@ -39,14 +39,14 @@
39
39
  "!src/**/*"
40
40
  ],
41
41
  "devDependencies": {
42
- "typescript": "^5.8.3"
42
+ "typescript": "^6.0.3"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
46
46
  "@types/react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
47
47
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
48
48
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
49
- "storybook": "^10.6.0-alpha.0"
49
+ "storybook": "^10.6.0-alpha.1"
50
50
  },
51
51
  "peerDependenciesMeta": {
52
52
  "@types/react": {