@atlaskit/editor-core 193.14.1 → 193.14.4
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 +20 -0
- package/dist/cjs/ui/ContentStyles/ai-panels.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/ContentStyles/ai-panels.js +10 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/ContentStyles/ai-panels.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 193.14.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#96680](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96680)
|
|
8
|
+
[`cc258c4f500b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cc258c4f500b) -
|
|
9
|
+
[ux] [EDF-695] Remove panel title in edit mode and replace with call to action
|
|
10
|
+
- [#97205](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97205)
|
|
11
|
+
[`ae1af3c8ff1e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ae1af3c8ff1e) -
|
|
12
|
+
[EDF-696] Remove extra padding on top of action items when in an action item block
|
|
13
|
+
- [#97393](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97393)
|
|
14
|
+
[`52a3ec5f5624`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/52a3ec5f5624) -
|
|
15
|
+
[ux] Fixes label styling when inline extension has different alignments
|
|
16
|
+
- [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
|
|
17
|
+
[`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
|
|
18
|
+
[HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
|
|
19
|
+
language triggering composition on an empty line.This was fixed in a patch bump of
|
|
20
|
+
prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
|
|
3
23
|
## 193.14.1
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -55,5 +55,5 @@ var prismBorderStyles = function prismBorderStyles(colorMode, sizeOffset, positi
|
|
|
55
55
|
});
|
|
56
56
|
};
|
|
57
57
|
var aiPanelStyles = exports.aiPanelStyles = function aiPanelStyles(colorMode) {
|
|
58
|
-
return (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n @property --panel-gradient-angle {\n syntax: '<angle>';\n initial-value: 180deg;\n inherits: false;\n }\n\n // The .with-border style is only present when the new macro styles are applied\n // TODO: Remove this once new macro styles have been adopted\n div[extensiontype='com.atlassian.ai-blocks'] {\n &.", ":has(.streaming) {\n & .extension-container {\n box-shadow: none !important;\n ", "\n }\n }\n\n .danger > .extension-container {\n background-color: ", ";\n }\n\n .extension-container {\n overflow: visible;\n background-color: ", ";\n position: relative;\n border-radius: 4px;\n &::before,\n &::after {\n ", "\n }\n .extension-overflow-wrapper {\n border-radius: inherit;\n box-shadow: inherit;\n background-color: inherit;\n }\n &.with-border {\n border: 1px solid ", ";\n }\n &.with-hover-border {\n border: 1px solid ", ";\n }\n }\n }\n\n div[extensiontype='com.atlassian.ai-blocks']:has(.with-border) {\n .extension-container {\n background-color: ", ";\n .extension-overflow-wrapper {\n box-shadow: none !important;\n }\n }\n\n &:not(.", "),\n &:not(.danger) {\n .extension-container {\n &::before,\n &::after {\n ", "\n }\n &.wider-layout {\n &::after,\n &::before {\n ", "\n }\n }\n }\n }\n\n &.", ", &.danger {\n .extension-container {\n &.wider-layout {\n &::after,\n &::before {\n content: none;\n }\n }\n }\n }\n }\n"])), _editorSharedStyles.akEditorSelectedNodeClassName, prismBorderAnimationStyles, "var(--ds-background-danger, ".concat(_editorSharedStyles.akEditorDeleteBackground, ")"), "var(--ds-background-accent-gray-subtlest, ".concat(_colors.N20, ")"), prismBorderStyles(colorMode, 2, -1), "var(--ds-surface-overlay, ".concat(_colors.N0, ")"), "var(--ds-surface-overlay, ".concat(_colors.N0, ")"), "var(--ds-surface-overlay, ".concat(_colors.N0, ")"), _editorSharedStyles.akEditorSelectedNodeClassName, prismBorderStyles(colorMode, 4, -2), prismBorderStyles(colorMode, 2, -1), _editorSharedStyles.akEditorSelectedNodeClassName);
|
|
58
|
+
return (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n @property --panel-gradient-angle {\n syntax: '<angle>';\n initial-value: 180deg;\n inherits: false;\n }\n\n // The .with-border style is only present when the new macro styles are applied\n // TODO: Remove this once new macro styles have been adopted\n div[extensiontype='com.atlassian.ai-blocks'] {\n &.", ":has(.streaming) {\n & .extension-container {\n box-shadow: none !important;\n ", "\n }\n }\n\n .danger > .extension-container {\n background-color: ", ";\n }\n\n .extension-container {\n overflow: visible;\n background-color: ", ";\n position: relative;\n border-radius: 4px;\n &::before,\n &::after {\n ", "\n }\n .extension-overflow-wrapper {\n border-radius: inherit;\n box-shadow: inherit;\n background-color: inherit;\n }\n &.with-border {\n border: 1px solid ", ";\n }\n &.with-hover-border {\n border: 1px solid ", ";\n }\n }\n }\n\n div[extensiontype='com.atlassian.ai-blocks']:has(.with-border) {\n .extension-container {\n background-color: ", ";\n .extension-overflow-wrapper {\n box-shadow: none !important;\n }\n }\n\n .extension-title {\n display: none !important;\n }\n\n &:not(.", "),\n &:not(.danger) {\n .extension-container {\n &::before,\n &::after {\n ", "\n }\n &.wider-layout {\n &::after,\n &::before {\n ", "\n }\n }\n }\n }\n\n &.", ", &.danger {\n .extension-container {\n &.wider-layout {\n &::after,\n &::before {\n content: none;\n }\n }\n }\n }\n }\n\n div[extensiontype='com.atlassian.ai-blocks'][extensionkey='ai-action-items-block:aiActionItemsBodiedExtension'] {\n div[data-node-type='actionList'] {\n margin: 0 !important;\n }\n }\n"])), _editorSharedStyles.akEditorSelectedNodeClassName, prismBorderAnimationStyles, "var(--ds-background-danger, ".concat(_editorSharedStyles.akEditorDeleteBackground, ")"), "var(--ds-background-accent-gray-subtlest, ".concat(_colors.N20, ")"), prismBorderStyles(colorMode, 2, -1), "var(--ds-surface-overlay, ".concat(_colors.N0, ")"), "var(--ds-surface-overlay, ".concat(_colors.N0, ")"), "var(--ds-surface-overlay, ".concat(_colors.N0, ")"), _editorSharedStyles.akEditorSelectedNodeClassName, prismBorderStyles(colorMode, 4, -2), prismBorderStyles(colorMode, 2, -1), _editorSharedStyles.akEditorSelectedNodeClassName);
|
|
59
59
|
};
|
|
@@ -99,6 +99,10 @@ export const aiPanelStyles = colorMode => css`
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
+
.extension-title {
|
|
103
|
+
display: none !important;
|
|
104
|
+
}
|
|
105
|
+
|
|
102
106
|
&:not(.${akEditorSelectedNodeClassName}),
|
|
103
107
|
&:not(.danger) {
|
|
104
108
|
.extension-container {
|
|
@@ -126,4 +130,10 @@ export const aiPanelStyles = colorMode => css`
|
|
|
126
130
|
}
|
|
127
131
|
}
|
|
128
132
|
}
|
|
133
|
+
|
|
134
|
+
div[extensiontype='com.atlassian.ai-blocks'][extensionkey='ai-action-items-block:aiActionItemsBodiedExtension'] {
|
|
135
|
+
div[data-node-type='actionList'] {
|
|
136
|
+
margin: 0 !important;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
129
139
|
`;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "193.14.
|
|
2
|
+
export const version = "193.14.4";
|
|
@@ -48,5 +48,5 @@ var prismBorderStyles = function prismBorderStyles(colorMode, sizeOffset, positi
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
export var aiPanelStyles = function aiPanelStyles(colorMode) {
|
|
51
|
-
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n @property --panel-gradient-angle {\n syntax: '<angle>';\n initial-value: 180deg;\n inherits: false;\n }\n\n // The .with-border style is only present when the new macro styles are applied\n // TODO: Remove this once new macro styles have been adopted\n div[extensiontype='com.atlassian.ai-blocks'] {\n &.", ":has(.streaming) {\n & .extension-container {\n box-shadow: none !important;\n ", "\n }\n }\n\n .danger > .extension-container {\n background-color: ", ";\n }\n\n .extension-container {\n overflow: visible;\n background-color: ", ";\n position: relative;\n border-radius: 4px;\n &::before,\n &::after {\n ", "\n }\n .extension-overflow-wrapper {\n border-radius: inherit;\n box-shadow: inherit;\n background-color: inherit;\n }\n &.with-border {\n border: 1px solid ", ";\n }\n &.with-hover-border {\n border: 1px solid ", ";\n }\n }\n }\n\n div[extensiontype='com.atlassian.ai-blocks']:has(.with-border) {\n .extension-container {\n background-color: ", ";\n .extension-overflow-wrapper {\n box-shadow: none !important;\n }\n }\n\n &:not(.", "),\n &:not(.danger) {\n .extension-container {\n &::before,\n &::after {\n ", "\n }\n &.wider-layout {\n &::after,\n &::before {\n ", "\n }\n }\n }\n }\n\n &.", ", &.danger {\n .extension-container {\n &.wider-layout {\n &::after,\n &::before {\n content: none;\n }\n }\n }\n }\n }\n"])), akEditorSelectedNodeClassName, prismBorderAnimationStyles, "var(--ds-background-danger, ".concat(akEditorDeleteBackground, ")"), "var(--ds-background-accent-gray-subtlest, ".concat(N20, ")"), prismBorderStyles(colorMode, 2, -1), "var(--ds-surface-overlay, ".concat(N0, ")"), "var(--ds-surface-overlay, ".concat(N0, ")"), "var(--ds-surface-overlay, ".concat(N0, ")"), akEditorSelectedNodeClassName, prismBorderStyles(colorMode, 4, -2), prismBorderStyles(colorMode, 2, -1), akEditorSelectedNodeClassName);
|
|
51
|
+
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n @property --panel-gradient-angle {\n syntax: '<angle>';\n initial-value: 180deg;\n inherits: false;\n }\n\n // The .with-border style is only present when the new macro styles are applied\n // TODO: Remove this once new macro styles have been adopted\n div[extensiontype='com.atlassian.ai-blocks'] {\n &.", ":has(.streaming) {\n & .extension-container {\n box-shadow: none !important;\n ", "\n }\n }\n\n .danger > .extension-container {\n background-color: ", ";\n }\n\n .extension-container {\n overflow: visible;\n background-color: ", ";\n position: relative;\n border-radius: 4px;\n &::before,\n &::after {\n ", "\n }\n .extension-overflow-wrapper {\n border-radius: inherit;\n box-shadow: inherit;\n background-color: inherit;\n }\n &.with-border {\n border: 1px solid ", ";\n }\n &.with-hover-border {\n border: 1px solid ", ";\n }\n }\n }\n\n div[extensiontype='com.atlassian.ai-blocks']:has(.with-border) {\n .extension-container {\n background-color: ", ";\n .extension-overflow-wrapper {\n box-shadow: none !important;\n }\n }\n\n .extension-title {\n display: none !important;\n }\n\n &:not(.", "),\n &:not(.danger) {\n .extension-container {\n &::before,\n &::after {\n ", "\n }\n &.wider-layout {\n &::after,\n &::before {\n ", "\n }\n }\n }\n }\n\n &.", ", &.danger {\n .extension-container {\n &.wider-layout {\n &::after,\n &::before {\n content: none;\n }\n }\n }\n }\n }\n\n div[extensiontype='com.atlassian.ai-blocks'][extensionkey='ai-action-items-block:aiActionItemsBodiedExtension'] {\n div[data-node-type='actionList'] {\n margin: 0 !important;\n }\n }\n"])), akEditorSelectedNodeClassName, prismBorderAnimationStyles, "var(--ds-background-danger, ".concat(akEditorDeleteBackground, ")"), "var(--ds-background-accent-gray-subtlest, ".concat(N20, ")"), prismBorderStyles(colorMode, 2, -1), "var(--ds-surface-overlay, ".concat(N0, ")"), "var(--ds-surface-overlay, ".concat(N0, ")"), "var(--ds-surface-overlay, ".concat(N0, ")"), akEditorSelectedNodeClassName, prismBorderStyles(colorMode, 4, -2), prismBorderStyles(colorMode, 2, -1), akEditorSelectedNodeClassName);
|
|
52
52
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "193.14.
|
|
2
|
+
export var version = "193.14.4";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "193.14.
|
|
3
|
+
"version": "193.14.4",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
46
46
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
47
47
|
"@atlaskit/button": "^17.14.0",
|
|
48
|
-
"@atlaskit/editor-common": "^79.
|
|
48
|
+
"@atlaskit/editor-common": "^79.1.0",
|
|
49
49
|
"@atlaskit/editor-json-transformer": "^8.11.0",
|
|
50
50
|
"@atlaskit/editor-plugins": "^2.5.0",
|
|
51
|
-
"@atlaskit/editor-prosemirror": "4.0.
|
|
51
|
+
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
52
52
|
"@atlaskit/editor-shared-styles": "^2.10.0",
|
|
53
53
|
"@atlaskit/emoji": "^67.6.0",
|
|
54
54
|
"@atlaskit/icon": "^22.1.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@atlaskit/tokens": "^1.45.0",
|
|
62
62
|
"@atlaskit/tooltip": "^18.3.0",
|
|
63
63
|
"@atlaskit/ufo": "^0.2.0",
|
|
64
|
-
"@atlaskit/width-detector": "^4.
|
|
64
|
+
"@atlaskit/width-detector": "^4.2.0",
|
|
65
65
|
"@babel/runtime": "^7.0.0",
|
|
66
66
|
"@emotion/react": "^11.7.1",
|
|
67
67
|
"@types/react-loadable": "^5.4.1",
|
|
@@ -87,15 +87,15 @@
|
|
|
87
87
|
"@atlaskit/adf-utils": "^19.0.0",
|
|
88
88
|
"@atlaskit/analytics-listeners": "^8.9.1",
|
|
89
89
|
"@atlaskit/checkbox": "^13.3.0",
|
|
90
|
-
"@atlaskit/collab-provider": "9.28.
|
|
90
|
+
"@atlaskit/collab-provider": "9.28.4",
|
|
91
91
|
"@atlaskit/dropdown-menu": "^12.10.0",
|
|
92
|
-
"@atlaskit/editor-plugin-annotation": "1.7.
|
|
92
|
+
"@atlaskit/editor-plugin-annotation": "1.7.1",
|
|
93
93
|
"@atlaskit/editor-plugin-card": "^1.10.0",
|
|
94
94
|
"@atlaskit/editor-plugin-editor-viewmode": "^1.1.0",
|
|
95
95
|
"@atlaskit/editor-plugin-list": "^3.2.0",
|
|
96
96
|
"@atlaskit/editor-plugin-paste": "^1.1.0",
|
|
97
97
|
"@atlaskit/editor-test-helpers": "*",
|
|
98
|
-
"@atlaskit/flag": "^15.
|
|
98
|
+
"@atlaskit/flag": "^15.5.0",
|
|
99
99
|
"@atlaskit/link-provider": "^1.9.0",
|
|
100
100
|
"@atlaskit/link-test-helpers": "^7.0.0",
|
|
101
101
|
"@atlaskit/logo": "^13.15.0",
|
|
@@ -103,17 +103,17 @@
|
|
|
103
103
|
"@atlaskit/media-integration-test-helpers": "^3.0.0",
|
|
104
104
|
"@atlaskit/media-test-helpers": "^33.0.27",
|
|
105
105
|
"@atlaskit/modal-dialog": "^12.13.0",
|
|
106
|
-
"@atlaskit/primitives": "^
|
|
107
|
-
"@atlaskit/renderer": "^109.
|
|
108
|
-
"@atlaskit/select": "^17.
|
|
109
|
-
"@atlaskit/smart-card": "^26.
|
|
106
|
+
"@atlaskit/primitives": "^6.1.0",
|
|
107
|
+
"@atlaskit/renderer": "^109.25.0",
|
|
108
|
+
"@atlaskit/select": "^17.9.0",
|
|
109
|
+
"@atlaskit/smart-card": "^26.60.0",
|
|
110
110
|
"@atlaskit/synchrony-test-helpers": "^2.4.0",
|
|
111
111
|
"@atlaskit/util-data-test": "^17.9.0",
|
|
112
112
|
"@atlaskit/visual-regression": "*",
|
|
113
113
|
"@atlassian/adf-schema-json": "^1.0.7",
|
|
114
114
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
115
115
|
"@atlassian/link-picker-plugins": "^24.0.0",
|
|
116
|
-
"@atlassian/search-provider": "2.4.
|
|
116
|
+
"@atlassian/search-provider": "2.4.63",
|
|
117
117
|
"@atlassian/ufo": "^0.2.0",
|
|
118
118
|
"@emotion/jest": "^11.8.0",
|
|
119
119
|
"@storybook/addon-knobs": "^5.3.18",
|