@atlaskit/renderer 112.6.10 → 112.6.12
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/CHANGELOG.md +14 -0
- package/dist/cjs/react/marks/link.js +4 -1
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/es2019/react/marks/link.js +4 -1
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/esm/react/marks/link.js +4 -1
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/package.json +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 112.6.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#171430](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/171430)
|
|
8
|
+
[`d100d121a8a38`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d100d121a8a38) -
|
|
9
|
+
[ux] Update editor's links to use design system's standards
|
|
10
|
+
|
|
11
|
+
## 112.6.11
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 112.6.10
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -13,6 +13,7 @@ var _colors = require("@atlaskit/theme/colors");
|
|
|
13
13
|
var _utils = require("../../utils");
|
|
14
14
|
var _events = require("../../analytics/events");
|
|
15
15
|
var _analytics = require("@atlaskit/editor-common/analytics");
|
|
16
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
16
17
|
var _linkUrl = _interopRequireDefault(require("@atlaskit/smart-card/link-url"));
|
|
17
18
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
18
19
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
@@ -80,5 +81,7 @@ function Link(props) {
|
|
|
80
81
|
handler(e, href);
|
|
81
82
|
}
|
|
82
83
|
}
|
|
83
|
-
}, anchorProps, dataAttributes
|
|
84
|
+
}, anchorProps, dataAttributes, (0, _platformFeatureFlags.fg)('platform_editor_hyperlink_underline') && {
|
|
85
|
+
isLinkComponent: true
|
|
86
|
+
}), props.children));
|
|
84
87
|
}
|
|
@@ -65,7 +65,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
65
65
|
var NORMAL_SEVERITY_THRESHOLD = exports.NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
66
66
|
var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
67
67
|
var packageName = "@atlaskit/renderer";
|
|
68
|
-
var packageVersion = "112.6.
|
|
68
|
+
var packageVersion = "112.6.12";
|
|
69
69
|
var setAsQueryContainerStyles = (0, _react2.css)({
|
|
70
70
|
containerName: 'ak-renderer-wrapper',
|
|
71
71
|
containerType: 'inline-size',
|
|
@@ -10,6 +10,7 @@ import { B400, B300, B500 } from '@atlaskit/theme/colors';
|
|
|
10
10
|
import { getEventHandler } from '../../utils';
|
|
11
11
|
import { PLATFORM, MODE } from '../../analytics/events';
|
|
12
12
|
import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
|
|
13
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
14
|
import LinkUrl from '@atlaskit/smart-card/link-url';
|
|
14
15
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
15
16
|
const anchorStyles = css({
|
|
@@ -70,5 +71,7 @@ export default function Link(props) {
|
|
|
70
71
|
handler(e, href);
|
|
71
72
|
}
|
|
72
73
|
}
|
|
73
|
-
}, anchorProps, dataAttributes
|
|
74
|
+
}, anchorProps, dataAttributes, fg('platform_editor_hyperlink_underline') && {
|
|
75
|
+
isLinkComponent: true
|
|
76
|
+
}), props.children));
|
|
74
77
|
}
|
|
@@ -45,7 +45,7 @@ import { countNodes } from './count-nodes';
|
|
|
45
45
|
export const NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
46
46
|
export const DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
47
47
|
const packageName = "@atlaskit/renderer";
|
|
48
|
-
const packageVersion = "112.6.
|
|
48
|
+
const packageVersion = "112.6.12";
|
|
49
49
|
const setAsQueryContainerStyles = css({
|
|
50
50
|
containerName: 'ak-renderer-wrapper',
|
|
51
51
|
containerType: 'inline-size',
|
|
@@ -10,6 +10,7 @@ import { B400, B300, B500 } from '@atlaskit/theme/colors';
|
|
|
10
10
|
import { getEventHandler } from '../../utils';
|
|
11
11
|
import { PLATFORM, MODE } from '../../analytics/events';
|
|
12
12
|
import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
|
|
13
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
14
|
import LinkUrl from '@atlaskit/smart-card/link-url';
|
|
14
15
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
15
16
|
var anchorStyles = css({
|
|
@@ -68,5 +69,7 @@ export default function Link(props) {
|
|
|
68
69
|
handler(e, href);
|
|
69
70
|
}
|
|
70
71
|
}
|
|
71
|
-
}, anchorProps, dataAttributes
|
|
72
|
+
}, anchorProps, dataAttributes, fg('platform_editor_hyperlink_underline') && {
|
|
73
|
+
isLinkComponent: true
|
|
74
|
+
}), props.children));
|
|
72
75
|
}
|
|
@@ -55,7 +55,7 @@ import { countNodes } from './count-nodes';
|
|
|
55
55
|
export var NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
56
56
|
export var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
57
57
|
var packageName = "@atlaskit/renderer";
|
|
58
|
-
var packageVersion = "112.6.
|
|
58
|
+
var packageVersion = "112.6.12";
|
|
59
59
|
var setAsQueryContainerStyles = css({
|
|
60
60
|
containerName: 'ak-renderer-wrapper',
|
|
61
61
|
containerType: 'inline-size',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "112.6.
|
|
3
|
+
"version": "112.6.12",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
30
30
|
"@atlaskit/button": "^20.3.0",
|
|
31
31
|
"@atlaskit/code": "^15.6.0",
|
|
32
|
-
"@atlaskit/editor-common": "^
|
|
32
|
+
"@atlaskit/editor-common": "^96.0.0",
|
|
33
33
|
"@atlaskit/editor-json-transformer": "^8.21.0",
|
|
34
34
|
"@atlaskit/editor-palette": "1.6.3",
|
|
35
35
|
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
@@ -152,6 +152,9 @@
|
|
|
152
152
|
},
|
|
153
153
|
"platform_editor_hide_external_media_badge": {
|
|
154
154
|
"type": "boolean"
|
|
155
|
+
},
|
|
156
|
+
"platform_editor_hyperlink_underline": {
|
|
157
|
+
"type": "boolean"
|
|
155
158
|
}
|
|
156
159
|
},
|
|
157
160
|
"af:exports": {
|