@storybook/addon-links 6.3.2 → 6.3.6
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/README.md
CHANGED
|
@@ -143,4 +143,4 @@ It accepts all the props the `a` element does, plus `story` and `kind`. It the `
|
|
|
143
143
|
</LinkTo>
|
|
144
144
|
```
|
|
145
145
|
|
|
146
|
-
To implement such a component for another framework, you need to add special handling for `click` event on native `a` element. See [`RoutedLink` sources](https://github.com/storybookjs/storybook/blob/main/addons/links/src/react/components/RoutedLink.
|
|
146
|
+
To implement such a component for another framework, you need to add special handling for `click` event on native `a` element. See [`RoutedLink` sources](https://github.com/storybookjs/storybook/blob/main/addons/links/src/react/components/RoutedLink.tsx) for reference.
|
|
@@ -9,7 +9,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
11
|
|
|
12
|
-
// NOTE: this is a copy of `lib/components/src/navigation/RoutedLink.
|
|
12
|
+
// NOTE: this is a copy of `lib/components/src/navigation/RoutedLink.tsx`.
|
|
13
13
|
// It's duplicated here because that copy has an explicit dependency on
|
|
14
14
|
// React 16.3+, which breaks older versions of React running in the preview.
|
|
15
15
|
// The proper DRY solution is to create a new package that doesn't depend
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react'; // NOTE: this is a copy of `lib/components/src/navigation/RoutedLink.
|
|
1
|
+
import React from 'react'; // NOTE: this is a copy of `lib/components/src/navigation/RoutedLink.tsx`.
|
|
2
2
|
// It's duplicated here because that copy has an explicit dependency on
|
|
3
3
|
// React 16.3+, which breaks older versions of React running in the preview.
|
|
4
4
|
// The proper DRY solution is to create a new package that doesn't depend
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react'; // NOTE: this is a copy of `lib/components/src/navigation/RoutedLink.
|
|
1
|
+
import React from 'react'; // NOTE: this is a copy of `lib/components/src/navigation/RoutedLink.tsx`.
|
|
2
2
|
// It's duplicated here because that copy has an explicit dependency on
|
|
3
3
|
// React 16.3+, which breaks older versions of React running in the preview.
|
|
4
4
|
// The proper DRY solution is to create a new package that doesn't depend
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/addon-links",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.6",
|
|
4
4
|
"description": "Link stories together to build demos and prototypes with your UI components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"addon",
|
|
7
7
|
"storybook",
|
|
8
8
|
"organize"
|
|
9
9
|
],
|
|
10
|
-
"homepage": "https://github.com/storybookjs/storybook/tree/
|
|
10
|
+
"homepage": "https://github.com/storybookjs/storybook/tree/main/addons/links",
|
|
11
11
|
"bugs": {
|
|
12
12
|
"url": "https://github.com/storybookjs/storybook/issues"
|
|
13
13
|
},
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"prepare": "node ../../scripts/prepare.js"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@storybook/addons": "6.3.
|
|
45
|
-
"@storybook/client-logger": "6.3.
|
|
46
|
-
"@storybook/core-events": "6.3.
|
|
44
|
+
"@storybook/addons": "6.3.6",
|
|
45
|
+
"@storybook/client-logger": "6.3.6",
|
|
46
|
+
"@storybook/core-events": "6.3.6",
|
|
47
47
|
"@storybook/csf": "0.0.1",
|
|
48
|
-
"@storybook/router": "6.3.
|
|
48
|
+
"@storybook/router": "6.3.6",
|
|
49
49
|
"@types/qs": "^6.9.5",
|
|
50
50
|
"core-js": "^3.8.2",
|
|
51
51
|
"global": "^4.4.0",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"publishConfig": {
|
|
73
73
|
"access": "public"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "8c14e96e8ab21e6008e7c8458d7515539d448e06",
|
|
76
76
|
"sbmodern": "dist/modern/index.js",
|
|
77
77
|
"storybook": {
|
|
78
78
|
"displayName": "Links",
|