@storybook/addon-docs 6.5.0-alpha.56 → 6.5.0-alpha.59
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/cjs/blocks/mdx.js +1 -1
- package/dist/esm/blocks/mdx.js +1 -1
- package/dist/modern/blocks/mdx.js +1 -1
- package/package.json +14 -14
package/dist/cjs/blocks/mdx.js
CHANGED
|
@@ -137,7 +137,7 @@ var AnchorMdx = function AnchorMdx(props) {
|
|
|
137
137
|
} // Links to other pages of SB should use the base URL of the top level iframe instead of the base URL of the preview iframe.
|
|
138
138
|
|
|
139
139
|
|
|
140
|
-
if (target !== '_blank') {
|
|
140
|
+
if (target !== '_blank' && !href.startsWith('https://')) {
|
|
141
141
|
return /*#__PURE__*/_react.default.createElement(A, _extends({
|
|
142
142
|
href: href,
|
|
143
143
|
onClick: function onClick(event) {
|
package/dist/esm/blocks/mdx.js
CHANGED
|
@@ -105,7 +105,7 @@ export var AnchorMdx = function AnchorMdx(props) {
|
|
|
105
105
|
} // Links to other pages of SB should use the base URL of the top level iframe instead of the base URL of the preview iframe.
|
|
106
106
|
|
|
107
107
|
|
|
108
|
-
if (target !== '_blank') {
|
|
108
|
+
if (target !== '_blank' && !href.startsWith('https://')) {
|
|
109
109
|
return /*#__PURE__*/React.createElement(A, _extends({
|
|
110
110
|
href: href,
|
|
111
111
|
onClick: function onClick(event) {
|
|
@@ -100,7 +100,7 @@ export const AnchorMdx = props => {
|
|
|
100
100
|
} // Links to other pages of SB should use the base URL of the top level iframe instead of the base URL of the preview iframe.
|
|
101
101
|
|
|
102
102
|
|
|
103
|
-
if (target !== '_blank') {
|
|
103
|
+
if (target !== '_blank' && !href.startsWith('https://')) {
|
|
104
104
|
return /*#__PURE__*/React.createElement(A, _extends({
|
|
105
105
|
href: href,
|
|
106
106
|
onClick: event => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/addon-docs",
|
|
3
|
-
"version": "6.5.0-alpha.
|
|
3
|
+
"version": "6.5.0-alpha.59",
|
|
4
4
|
"description": "Document component usage and properties in Markdown",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"addon",
|
|
@@ -59,20 +59,20 @@
|
|
|
59
59
|
"@babel/preset-env": "^7.12.11",
|
|
60
60
|
"@jest/transform": "^26.6.2",
|
|
61
61
|
"@mdx-js/react": "^1.6.22",
|
|
62
|
-
"@storybook/addons": "6.5.0-alpha.
|
|
63
|
-
"@storybook/api": "6.5.0-alpha.
|
|
64
|
-
"@storybook/components": "6.5.0-alpha.
|
|
65
|
-
"@storybook/core-common": "6.5.0-alpha.
|
|
66
|
-
"@storybook/core-events": "6.5.0-alpha.
|
|
62
|
+
"@storybook/addons": "6.5.0-alpha.59",
|
|
63
|
+
"@storybook/api": "6.5.0-alpha.59",
|
|
64
|
+
"@storybook/components": "6.5.0-alpha.59",
|
|
65
|
+
"@storybook/core-common": "6.5.0-alpha.59",
|
|
66
|
+
"@storybook/core-events": "6.5.0-alpha.59",
|
|
67
67
|
"@storybook/csf": "0.0.2--canary.7c6c115.0",
|
|
68
|
-
"@storybook/docs-tools": "6.5.0-alpha.
|
|
68
|
+
"@storybook/docs-tools": "6.5.0-alpha.59",
|
|
69
69
|
"@storybook/mdx1-csf": "canary",
|
|
70
|
-
"@storybook/node-logger": "6.5.0-alpha.
|
|
71
|
-
"@storybook/postinstall": "6.5.0-alpha.
|
|
72
|
-
"@storybook/preview-web": "6.5.0-alpha.
|
|
73
|
-
"@storybook/source-loader": "6.5.0-alpha.
|
|
74
|
-
"@storybook/store": "6.5.0-alpha.
|
|
75
|
-
"@storybook/theming": "6.5.0-alpha.
|
|
70
|
+
"@storybook/node-logger": "6.5.0-alpha.59",
|
|
71
|
+
"@storybook/postinstall": "6.5.0-alpha.59",
|
|
72
|
+
"@storybook/preview-web": "6.5.0-alpha.59",
|
|
73
|
+
"@storybook/source-loader": "6.5.0-alpha.59",
|
|
74
|
+
"@storybook/store": "6.5.0-alpha.59",
|
|
75
|
+
"@storybook/theming": "6.5.0-alpha.59",
|
|
76
76
|
"babel-loader": "^8.0.0",
|
|
77
77
|
"core-js": "^3.8.2",
|
|
78
78
|
"fast-deep-equal": "^3.1.3",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"publishConfig": {
|
|
109
109
|
"access": "public"
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "5c572a448ca6dee4e486944b7e1e3cb17b09d9a0",
|
|
112
112
|
"sbmodern": "dist/modern/index.js",
|
|
113
113
|
"storybook": {
|
|
114
114
|
"displayName": "Docs",
|