@storybook/addon-links 8.2.0-alpha.0 → 8.2.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/package.json +15 -15
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@ interface ParamsCombo {
11
11
  }
12
12
  declare const navigate: (params: ParamsId | ParamsCombo) => void;
13
13
  declare const hrefTo: (title: ComponentTitle, name: StoryName) => Promise<string>;
14
- declare const linkTo: (idOrTitle: string | ((...args: any[]) => string), nameInput?: string | ((...args: any[]) => string) | undefined) => (...args: any[]) => void;
14
+ declare const linkTo: (idOrTitle: string | ((...args: any[]) => string), nameInput?: string | ((...args: any[]) => string)) => (...args: any[]) => void;
15
15
  declare const withLinks: (...args: any) => any;
16
16
 
17
17
  export { hrefTo, linkTo, navigate, withLinks };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-links",
3
- "version": "8.2.0-alpha.0",
3
+ "version": "8.2.0-alpha.10",
4
4
  "description": "Link stories together to build demos and prototypes with your UI components",
5
5
  "keywords": [
6
6
  "addon",
@@ -25,18 +25,18 @@
25
25
  ".": {
26
26
  "types": "./dist/index.d.ts",
27
27
  "node": "./dist/index.js",
28
- "require": "./dist/index.js",
29
- "import": "./dist/index.mjs"
28
+ "import": "./dist/index.mjs",
29
+ "require": "./dist/index.js"
30
30
  },
31
31
  "./react": {
32
32
  "types": "./dist/react/index.d.ts",
33
- "require": "./dist/react/index.js",
34
- "import": "./dist/react/index.mjs"
33
+ "import": "./dist/react/index.mjs",
34
+ "require": "./dist/react/index.js"
35
35
  },
36
36
  "./preview": {
37
37
  "types": "./dist/preview.d.ts",
38
- "require": "./dist/preview.js",
39
- "import": "./dist/preview.mjs"
38
+ "import": "./dist/preview.mjs",
39
+ "require": "./dist/preview.js"
40
40
  },
41
41
  "./manager": "./dist/manager.js",
42
42
  "./register": "./dist/manager.js",
@@ -67,17 +67,17 @@
67
67
  "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/addon-bundle.ts"
68
68
  },
69
69
  "dependencies": {
70
- "@storybook/csf": "^0.1.7",
70
+ "@storybook/csf": "^0.1.8",
71
71
  "@storybook/global": "^5.0.0",
72
72
  "ts-dedent": "^2.0.0"
73
73
  },
74
74
  "devDependencies": {
75
- "@storybook/client-logger": "8.2.0-alpha.0",
76
- "@storybook/core-events": "8.2.0-alpha.0",
77
- "@storybook/manager-api": "8.2.0-alpha.0",
78
- "@storybook/preview-api": "8.2.0-alpha.0",
79
- "@storybook/router": "8.2.0-alpha.0",
80
- "@storybook/types": "8.2.0-alpha.0",
75
+ "@storybook/client-logger": "8.2.0-alpha.10",
76
+ "@storybook/core-events": "8.2.0-alpha.10",
77
+ "@storybook/manager-api": "8.2.0-alpha.10",
78
+ "@storybook/preview-api": "8.2.0-alpha.10",
79
+ "@storybook/router": "8.2.0-alpha.10",
80
+ "@storybook/types": "8.2.0-alpha.10",
81
81
  "fs-extra": "^11.1.0",
82
82
  "typescript": "^5.3.2"
83
83
  },
@@ -105,7 +105,7 @@
105
105
  ],
106
106
  "post": "./scripts/fix-preview-api-reference.ts"
107
107
  },
108
- "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17",
108
+ "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16",
109
109
  "storybook": {
110
110
  "displayName": "Links",
111
111
  "icon": "https://user-images.githubusercontent.com/263385/101991673-48355c80-3c7c-11eb-9b6e-b627c96a75f6.png",