@atlaskit/editor-core 209.2.2 → 209.2.3
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 +9 -0
- package/dist/cjs/ui/ContentStyles/index.js +1 -1
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.js +1 -1
- package/dist/cjs/ui/EditorContentContainer/styles/link.js +1 -9
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/ContentStyles/index.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +2 -2
- package/dist/es2019/ui/EditorContentContainer/styles/link.js +0 -8
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/ContentStyles/index.js +1 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +2 -2
- package/dist/esm/ui/EditorContentContainer/styles/link.js +0 -8
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/ui/EditorContentContainer/styles/link.d.ts +0 -1
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/link.d.ts +0 -1
- package/package.json +1 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 209.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#188198](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/188198)
|
|
8
|
+
[`19d5545b5d8df`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/19d5545b5d8df) -
|
|
9
|
+
[ux] EDM-10717 Clean up platform_editor_hyperlink_underline
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 209.2.2
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -49,7 +49,7 @@ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _temp
|
|
|
49
49
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
50
50
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
51
51
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
52
|
-
var linkStyles = exports.linkStyles = (0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t.ProseMirror {\n\t\t", "\n\t}\n"])),
|
|
52
|
+
var linkStyles = exports.linkStyles = (0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t.ProseMirror {\n\t\t", "\n\t}\n"])), _styles.linkSharedStyle);
|
|
53
53
|
var ruleStyles = function ruleStyles() {
|
|
54
54
|
return (0, _react2.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n\t.ProseMirror {\n\t\t", ";\n\n\t\thr {\n\t\t\tcursor: pointer;\n\t\t\tpadding: ", " 0;\n\t\t\tmargin: ", " 0;\n\t\t\tbackground-clip: content-box;\n\n\t\t\t&.", " {\n\t\t\t\toutline: none;\n\t\t\t\tbackground-color: ", ";\n\t\t\t}\n\t\t}\n\t}\n"])), (0, _styles.ruleSharedStyles)(), "var(--ds-space-050, 4px)", "var(--ds-space-300, 24px)", _editorSharedStyles.akEditorSelectedNodeClassName, "var(--ds-border-selected, ".concat(_editorSharedStyles.akEditorSelectedBorderColor, ")"));
|
|
55
55
|
};
|
|
@@ -293,7 +293,7 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
|
|
|
293
293
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
294
294
|
_paragraphStyles.paragraphStylesOld,
|
|
295
295
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
296
|
-
|
|
296
|
+
_link.linkStyles,
|
|
297
297
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
298
298
|
_browser.browser.safari && _list.listsStylesSafariFix, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) ? (0, _platformFeatureFlags.fg)('platform_editor_breakout_resizing_width_changes') ?
|
|
299
299
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.linkStyles = exports.linkLegacyIconStylesFix = exports.hyperLinkFloatingToolbarStyles = void 0;
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
9
9
|
|
|
@@ -23,14 +23,6 @@ var linkStyles = exports.linkStyles = (0, _react.css)({
|
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
|
|
26
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
27
|
-
var linkStylesOld = exports.linkStylesOld = (0, _react.css)({
|
|
28
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
29
|
-
'.ProseMirror a.blockLink': {
|
|
30
|
-
display: 'block'
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
|
|
34
26
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
35
27
|
var hyperLinkFloatingToolbarStyles = exports.hyperLinkFloatingToolbarStyles = (0, _react.css)({
|
|
36
28
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -43,7 +43,7 @@ import { taskDecisionStyles, taskDecisionIconWithoutVisualRefresh as decisionIco
|
|
|
43
43
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
44
44
|
export const linkStyles = css`
|
|
45
45
|
.ProseMirror {
|
|
46
|
-
${linkSharedStyle
|
|
46
|
+
${linkSharedStyle}
|
|
47
47
|
}
|
|
48
48
|
`;
|
|
49
49
|
const ruleStyles = () => css`
|
|
@@ -41,7 +41,7 @@ import { gridStyles } from './styles/gridStyles';
|
|
|
41
41
|
import { indentationStyles } from './styles/indentationStyles';
|
|
42
42
|
import { InlineNodeViewSharedStyles } from './styles/inlineNodeViewSharedStyles';
|
|
43
43
|
import { layoutBaseStyles, layoutBaseStylesAdvanced, layoutBaseStylesFixesUnderNestedDnDFG, layoutColumnMartinTopFixesNew, layoutColumnMartinTopFixesOld, layoutColumnResponsiveStyles, layoutColumnStylesAdvanced, layoutColumnStylesNotAdvanced, layoutResponsiveBaseStyles, layoutResponsiveStylesForView, layoutSectionStylesAdvanced, layoutSectionStylesNotAdvanced, layoutSelectedStylesAdvanced, layoutSelectedStylesForViewAdvanced, layoutSelectedStylesForViewNotAdvanced, layoutSelectedStylesNotAdvanced, layoutStylesForView } from './styles/layout';
|
|
44
|
-
import { hyperLinkFloatingToolbarStyles, linkLegacyIconStylesFix, linkStyles
|
|
44
|
+
import { hyperLinkFloatingToolbarStyles, linkLegacyIconStylesFix, linkStyles } from './styles/link';
|
|
45
45
|
import { listsStyles, listsStylesSafariFix } from './styles/list';
|
|
46
46
|
import { mediaAlignmentStyles, mediaGroupStyles, mediaStyles } from './styles/mediaStyles';
|
|
47
47
|
import { mentionsStyles, mentionsSelectionStyles, mentionNodeStyles, mentionsStylesMixin_platform_editor_centre_mention_padding, mentionsSelectionStylesWithSearchMatch } from './styles/mentions';
|
|
@@ -288,7 +288,7 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
288
288
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
289
289
|
paragraphStylesOld,
|
|
290
290
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
291
|
-
|
|
291
|
+
linkStyles,
|
|
292
292
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
293
293
|
browser.safari && listsStylesSafariFix, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) ? fg('platform_editor_breakout_resizing_width_changes') ?
|
|
294
294
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -17,14 +17,6 @@ export const linkStyles = css({
|
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
|
|
20
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
21
|
-
export const linkStylesOld = css({
|
|
22
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
23
|
-
'.ProseMirror a.blockLink': {
|
|
24
|
-
display: 'block'
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
|
|
28
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
29
21
|
export const hyperLinkFloatingToolbarStyles = css({
|
|
30
22
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "209.2.
|
|
2
|
+
export const version = "209.2.2";
|
|
@@ -43,7 +43,7 @@ import { statusStyles, statusNodeStyles } from './status';
|
|
|
43
43
|
import { taskDecisionStyles, taskDecisionIconWithoutVisualRefresh as decisionIconWithoutVisualRefresh, taskDecisionIconWithVisualRefresh as decisionIconWithVisualRefresh, taskItemStyles } from './tasks-and-decisions';
|
|
44
44
|
|
|
45
45
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
46
|
-
export var linkStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t.ProseMirror {\n\t\t", "\n\t}\n"])), linkSharedStyle
|
|
46
|
+
export var linkStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t.ProseMirror {\n\t\t", "\n\t}\n"])), linkSharedStyle);
|
|
47
47
|
var ruleStyles = function ruleStyles() {
|
|
48
48
|
return css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n\t.ProseMirror {\n\t\t", ";\n\n\t\thr {\n\t\t\tcursor: pointer;\n\t\t\tpadding: ", " 0;\n\t\t\tmargin: ", " 0;\n\t\t\tbackground-clip: content-box;\n\n\t\t\t&.", " {\n\t\t\t\toutline: none;\n\t\t\t\tbackground-color: ", ";\n\t\t\t}\n\t\t}\n\t}\n"])), ruleSharedStyles(), "var(--ds-space-050, 4px)", "var(--ds-space-300, 24px)", akEditorSelectedNodeClassName, "var(--ds-border-selected, ".concat(akEditorSelectedBorderColor, ")"));
|
|
49
49
|
};
|
|
@@ -41,7 +41,7 @@ import { gridStyles } from './styles/gridStyles';
|
|
|
41
41
|
import { indentationStyles } from './styles/indentationStyles';
|
|
42
42
|
import { InlineNodeViewSharedStyles } from './styles/inlineNodeViewSharedStyles';
|
|
43
43
|
import { layoutBaseStyles, layoutBaseStylesAdvanced, layoutBaseStylesFixesUnderNestedDnDFG, layoutColumnMartinTopFixesNew, layoutColumnMartinTopFixesOld, layoutColumnResponsiveStyles, layoutColumnStylesAdvanced, layoutColumnStylesNotAdvanced, layoutResponsiveBaseStyles, layoutResponsiveStylesForView, layoutSectionStylesAdvanced, layoutSectionStylesNotAdvanced, layoutSelectedStylesAdvanced, layoutSelectedStylesForViewAdvanced, layoutSelectedStylesForViewNotAdvanced, layoutSelectedStylesNotAdvanced, layoutStylesForView } from './styles/layout';
|
|
44
|
-
import { hyperLinkFloatingToolbarStyles, linkLegacyIconStylesFix, linkStyles
|
|
44
|
+
import { hyperLinkFloatingToolbarStyles, linkLegacyIconStylesFix, linkStyles } from './styles/link';
|
|
45
45
|
import { listsStyles, listsStylesSafariFix } from './styles/list';
|
|
46
46
|
import { mediaAlignmentStyles, mediaGroupStyles, mediaStyles } from './styles/mediaStyles';
|
|
47
47
|
import { mentionsStyles, mentionsSelectionStyles, mentionNodeStyles, mentionsStylesMixin_platform_editor_centre_mention_padding, mentionsSelectionStylesWithSearchMatch } from './styles/mentions';
|
|
@@ -285,7 +285,7 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
|
|
|
285
285
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
286
286
|
paragraphStylesOld,
|
|
287
287
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
288
|
-
|
|
288
|
+
linkStyles,
|
|
289
289
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
290
290
|
browser.safari && listsStylesSafariFix, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) ? fg('platform_editor_breakout_resizing_width_changes') ?
|
|
291
291
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -17,14 +17,6 @@ export var linkStyles = css({
|
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
|
|
20
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
21
|
-
export var linkStylesOld = css({
|
|
22
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
23
|
-
'.ProseMirror a.blockLink': {
|
|
24
|
-
display: 'block'
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
|
|
28
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
29
21
|
export var hyperLinkFloatingToolbarStyles = css({
|
|
30
22
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "209.2.
|
|
2
|
+
export var version = "209.2.2";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export declare const linkStyles: import("@emotion/react").SerializedStyles;
|
|
2
|
-
export declare const linkStylesOld: import("@emotion/react").SerializedStyles;
|
|
3
2
|
export declare const hyperLinkFloatingToolbarStyles: import("@emotion/react").SerializedStyles;
|
|
4
3
|
export declare const linkLegacyIconStylesFix: import("@emotion/react").SerializedStyles;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export declare const linkStyles: import("@emotion/react").SerializedStyles;
|
|
2
|
-
export declare const linkStylesOld: import("@emotion/react").SerializedStyles;
|
|
3
2
|
export declare const hyperLinkFloatingToolbarStyles: import("@emotion/react").SerializedStyles;
|
|
4
3
|
export declare const linkLegacyIconStylesFix: import("@emotion/react").SerializedStyles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "209.2.
|
|
3
|
+
"version": "209.2.3",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -492,10 +492,6 @@
|
|
|
492
492
|
"type": "boolean",
|
|
493
493
|
"referenceOnly": true
|
|
494
494
|
},
|
|
495
|
-
"platform_editor_hyperlink_underline": {
|
|
496
|
-
"type": "boolean",
|
|
497
|
-
"referenceOnly": true
|
|
498
|
-
},
|
|
499
495
|
"platform_editor_breakout_resizing_width_changes": {
|
|
500
496
|
"type": "boolean"
|
|
501
497
|
},
|