@atlaskit/editor-core 215.17.3 → 215.18.0
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 +21 -0
- package/dist/cjs/ui/EditorContentContainer/styles/smartCardStyles.js +23 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/styles/smartCardStyles.js +34 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/EditorContentContainer/styles/smartCardStyles.js +23 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +7 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 215.18.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`a36ac8c9961b1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a36ac8c9961b1) -
|
|
8
|
+
[ux] [EDITOR-2608] updated show diff deleted block nodes design
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- [`f3bc89931d4a2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f3bc89931d4a2) -
|
|
13
|
+
Added a example page in editor-core with basic text formatting and media plugin only
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
16
|
+
## 215.17.4
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- [`840338033507a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/840338033507a) -
|
|
21
|
+
Migrating custom icons behind feature flag.
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
|
|
3
24
|
## 215.17.3
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
|
@@ -39,18 +39,39 @@ var smartCardDiffStyles = exports.smartCardDiffStyles = (0, _react.css)((0, _def
|
|
|
39
39
|
})));
|
|
40
40
|
|
|
41
41
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
42
|
-
var showDiffDeletedNodeStyles = exports.showDiffDeletedNodeStyles = (0, _react.css)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, ".".concat(SmartCardSharedCssClassName.EMBED_CARD_CONTAINER), (0, _defineProperty2.default)({}, "&.show-diff-deleted-node .".concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > div::after"), {
|
|
42
|
+
var showDiffDeletedNodeStyles = exports.showDiffDeletedNodeStyles = (0, _react.css)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, ".".concat(SmartCardSharedCssClassName.EMBED_CARD_CONTAINER), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, "&.show-diff-deleted-node .".concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > div::after"), {
|
|
43
43
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
44
44
|
boxShadow: "0 0 0 1px ".concat("var(--ds-border-accent-gray, #7D818A)"),
|
|
45
45
|
borderColor: 'transparent'
|
|
46
|
+
}), "&.show-diff-deleted-node-traditional .".concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > div::after"), {
|
|
47
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
48
|
+
boxShadow: "0 0 0 1px ".concat("var(--ds-border-accent-red, #E2483D)"),
|
|
49
|
+
borderColor: 'transparent'
|
|
50
|
+
}), "&.show-diff-deleted-node .".concat(SmartCardSharedCssClassName.LOADER_WRAPPER), {
|
|
51
|
+
opacity: 0.6
|
|
46
52
|
})), '.show-diff-deleted-node .media-card-wrapper', {
|
|
47
53
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
48
54
|
'& > div': {
|
|
49
55
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
50
56
|
boxShadow: "0 0 0 1px ".concat("var(--ds-border-accent-gray, #7D818A)"),
|
|
51
|
-
borderRadius: "
|
|
57
|
+
borderRadius: "var(--ds-radius-small, 4px)",
|
|
52
58
|
opacity: 0.6
|
|
53
59
|
}
|
|
60
|
+
}), '.show-diff-deleted-node-traditional .media-card-wrapper', {
|
|
61
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
62
|
+
'& > div': {
|
|
63
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
64
|
+
boxShadow: "0 0 0 1px ".concat("var(--ds-border-accent-red, #E2483D)"),
|
|
65
|
+
borderRadius: "var(--ds-radius-small, 4px)"
|
|
66
|
+
}
|
|
67
|
+
}), '[data-prosemirror-node-name="blockquote"].show-diff-deleted-node', {
|
|
68
|
+
textDecoration: 'line-through'
|
|
69
|
+
}), '[data-prosemirror-node-name="blockquote"].show-diff-deleted-node-traditional', {
|
|
70
|
+
textDecoration: 'line-through',
|
|
71
|
+
textDecorationColor: "var(--ds-border-accent-red, #E2483D)"
|
|
72
|
+
}), '[data-prosemirror-node-name="embedCard"].show-diff-deleted-node-traditional', {
|
|
73
|
+
textDecoration: 'line-through',
|
|
74
|
+
textDecorationColor: "var(--ds-border-accent-red, #E2483D)"
|
|
54
75
|
}));
|
|
55
76
|
|
|
56
77
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -47,6 +47,16 @@ export const showDiffDeletedNodeStyles = css({
|
|
|
47
47
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
48
48
|
boxShadow: `0 0 0 1px ${"var(--ds-border-accent-gray, #7D818A)"}`,
|
|
49
49
|
borderColor: 'transparent'
|
|
50
|
+
},
|
|
51
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values,@atlaskit/ui-styling-standard/no-nested-selectors
|
|
52
|
+
[`&.show-diff-deleted-node-traditional .${SmartCardSharedCssClassName.LOADER_WRAPPER} > div::after`]: {
|
|
53
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
54
|
+
boxShadow: `0 0 0 1px ${"var(--ds-border-accent-red, #E2483D)"}`,
|
|
55
|
+
borderColor: 'transparent'
|
|
56
|
+
},
|
|
57
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values,@atlaskit/ui-styling-standard/no-nested-selectors
|
|
58
|
+
[`&.show-diff-deleted-node .${SmartCardSharedCssClassName.LOADER_WRAPPER}`]: {
|
|
59
|
+
opacity: 0.6
|
|
50
60
|
}
|
|
51
61
|
},
|
|
52
62
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -55,9 +65,32 @@ export const showDiffDeletedNodeStyles = css({
|
|
|
55
65
|
'& > div': {
|
|
56
66
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
57
67
|
boxShadow: `0 0 0 1px ${"var(--ds-border-accent-gray, #7D818A)"}`,
|
|
58
|
-
borderRadius:
|
|
68
|
+
borderRadius: "var(--ds-radius-small, 4px)",
|
|
59
69
|
opacity: 0.6
|
|
60
70
|
}
|
|
71
|
+
},
|
|
72
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
73
|
+
'.show-diff-deleted-node-traditional .media-card-wrapper': {
|
|
74
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
75
|
+
'& > div': {
|
|
76
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
77
|
+
boxShadow: `0 0 0 1px ${"var(--ds-border-accent-red, #E2483D)"}`,
|
|
78
|
+
borderRadius: "var(--ds-radius-small, 4px)"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
82
|
+
'[data-prosemirror-node-name="blockquote"].show-diff-deleted-node': {
|
|
83
|
+
textDecoration: 'line-through'
|
|
84
|
+
},
|
|
85
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
86
|
+
'[data-prosemirror-node-name="blockquote"].show-diff-deleted-node-traditional': {
|
|
87
|
+
textDecoration: 'line-through',
|
|
88
|
+
textDecorationColor: "var(--ds-border-accent-red, #E2483D)"
|
|
89
|
+
},
|
|
90
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
91
|
+
'[data-prosemirror-node-name="embedCard"].show-diff-deleted-node-traditional': {
|
|
92
|
+
textDecoration: 'line-through',
|
|
93
|
+
textDecorationColor: "var(--ds-border-accent-red, #E2483D)"
|
|
61
94
|
}
|
|
62
95
|
});
|
|
63
96
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "
|
|
2
|
+
export const version = "0.0.0-development";
|
|
@@ -31,18 +31,39 @@ export var smartCardDiffStyles = css(_defineProperty({}, ".".concat(SmartCardSha
|
|
|
31
31
|
})));
|
|
32
32
|
|
|
33
33
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
34
|
-
export var showDiffDeletedNodeStyles = css(_defineProperty(_defineProperty({}, ".".concat(SmartCardSharedCssClassName.EMBED_CARD_CONTAINER), _defineProperty({}, "&.show-diff-deleted-node .".concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > div::after"), {
|
|
34
|
+
export var showDiffDeletedNodeStyles = css(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ".".concat(SmartCardSharedCssClassName.EMBED_CARD_CONTAINER), _defineProperty(_defineProperty(_defineProperty({}, "&.show-diff-deleted-node .".concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > div::after"), {
|
|
35
35
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
36
36
|
boxShadow: "0 0 0 1px ".concat("var(--ds-border-accent-gray, #7D818A)"),
|
|
37
37
|
borderColor: 'transparent'
|
|
38
|
+
}), "&.show-diff-deleted-node-traditional .".concat(SmartCardSharedCssClassName.LOADER_WRAPPER, " > div::after"), {
|
|
39
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
40
|
+
boxShadow: "0 0 0 1px ".concat("var(--ds-border-accent-red, #E2483D)"),
|
|
41
|
+
borderColor: 'transparent'
|
|
42
|
+
}), "&.show-diff-deleted-node .".concat(SmartCardSharedCssClassName.LOADER_WRAPPER), {
|
|
43
|
+
opacity: 0.6
|
|
38
44
|
})), '.show-diff-deleted-node .media-card-wrapper', {
|
|
39
45
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
40
46
|
'& > div': {
|
|
41
47
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
42
48
|
boxShadow: "0 0 0 1px ".concat("var(--ds-border-accent-gray, #7D818A)"),
|
|
43
|
-
borderRadius: "
|
|
49
|
+
borderRadius: "var(--ds-radius-small, 4px)",
|
|
44
50
|
opacity: 0.6
|
|
45
51
|
}
|
|
52
|
+
}), '.show-diff-deleted-node-traditional .media-card-wrapper', {
|
|
53
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
54
|
+
'& > div': {
|
|
55
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
56
|
+
boxShadow: "0 0 0 1px ".concat("var(--ds-border-accent-red, #E2483D)"),
|
|
57
|
+
borderRadius: "var(--ds-radius-small, 4px)"
|
|
58
|
+
}
|
|
59
|
+
}), '[data-prosemirror-node-name="blockquote"].show-diff-deleted-node', {
|
|
60
|
+
textDecoration: 'line-through'
|
|
61
|
+
}), '[data-prosemirror-node-name="blockquote"].show-diff-deleted-node-traditional', {
|
|
62
|
+
textDecoration: 'line-through',
|
|
63
|
+
textDecorationColor: "var(--ds-border-accent-red, #E2483D)"
|
|
64
|
+
}), '[data-prosemirror-node-name="embedCard"].show-diff-deleted-node-traditional', {
|
|
65
|
+
textDecoration: 'line-through',
|
|
66
|
+
textDecorationColor: "var(--ds-border-accent-red, #E2483D)"
|
|
46
67
|
}));
|
|
47
68
|
|
|
48
69
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "
|
|
2
|
+
export var version = "0.0.0-development";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "215.
|
|
3
|
+
"version": "215.18.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
65
65
|
"@atlaskit/react-ufo": "^4.15.0",
|
|
66
66
|
"@atlaskit/task-decision": "^19.2.0",
|
|
67
|
-
"@atlaskit/tmp-editor-statsig": "^14.
|
|
67
|
+
"@atlaskit/tmp-editor-statsig": "^14.7.0",
|
|
68
68
|
"@atlaskit/tokens": "^8.4.0",
|
|
69
69
|
"@atlaskit/tooltip": "^20.10.0",
|
|
70
70
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"uuid": "^3.1.0"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
84
|
-
"@atlaskit/editor-common": "^110.
|
|
84
|
+
"@atlaskit/editor-common": "^110.39.0",
|
|
85
85
|
"@atlaskit/link-provider": "^4.0.0",
|
|
86
86
|
"@atlaskit/media-core": "^37.0.0",
|
|
87
87
|
"react": "^18.2.0",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"@atlaskit/adf-utils": "^19.26.0",
|
|
95
95
|
"@atlaskit/analytics-listeners": "^9.1.0",
|
|
96
96
|
"@atlaskit/collab-provider": "^14.1.0",
|
|
97
|
-
"@atlaskit/editor-plugin-annotation": "^6.
|
|
97
|
+
"@atlaskit/editor-plugin-annotation": "^6.3.0",
|
|
98
98
|
"@atlaskit/editor-plugin-card": "^11.5.0",
|
|
99
99
|
"@atlaskit/editor-plugin-list": "^8.2.0",
|
|
100
100
|
"@atlaskit/editor-plugin-paste": "^7.4.0",
|
|
@@ -393,6 +393,9 @@
|
|
|
393
393
|
},
|
|
394
394
|
"rovo_chat_enable_skills_ui_m1": {
|
|
395
395
|
"type": "boolean"
|
|
396
|
+
},
|
|
397
|
+
"platform-custom-icon-migration": {
|
|
398
|
+
"type": "boolean"
|
|
396
399
|
}
|
|
397
400
|
},
|
|
398
401
|
"stricter": {
|