@storybook/react-dom-shim 8.2.0-alpha.5 → 8.2.0-alpha.7

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.
Files changed (2) hide show
  1. package/dist/preset.d.ts +2 -0
  2. package/package.json +6 -6
package/dist/preset.d.ts CHANGED
@@ -785,6 +785,8 @@ type Indexer = BaseIndexer & {
785
785
  type BaseIndexInput = {
786
786
  /** The file to import from e.g. the story file. */
787
787
  importPath: Path;
788
+ /** The raw path/package of the file that provides meta.component, if one exists */
789
+ rawComponentPath?: Path;
788
790
  /** The name of the export to import. */
789
791
  exportName: ExportName;
790
792
  /** The name of the entry, auto-generated from {@link exportName} if unspecified. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-dom-shim",
3
- "version": "8.2.0-alpha.5",
3
+ "version": "8.2.0-alpha.7",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "storybook"
@@ -24,14 +24,14 @@
24
24
  ".": {
25
25
  "types": "./dist/react-18.d.ts",
26
26
  "node": "./dist/react-18.js",
27
- "require": "./dist/react-18.js",
28
- "import": "./dist/react-18.mjs"
27
+ "import": "./dist/react-18.mjs",
28
+ "require": "./dist/react-18.js"
29
29
  },
30
30
  "./dist/react-16": {
31
31
  "types": "./dist/react-16.d.ts",
32
32
  "node": "./dist/react-16.js",
33
- "require": "./dist/react-16.js",
34
- "import": "./dist/react-16.mjs"
33
+ "import": "./dist/react-16.mjs",
34
+ "require": "./dist/react-16.js"
35
35
  },
36
36
  "./dist/preset": {
37
37
  "types": "./dist/preset.d.ts",
@@ -54,7 +54,7 @@
54
54
  "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
55
55
  },
56
56
  "devDependencies": {
57
- "@storybook/types": "8.2.0-alpha.5",
57
+ "@storybook/types": "8.2.0-alpha.7",
58
58
  "typescript": "^5.3.2"
59
59
  },
60
60
  "peerDependencies": {