@atlaskit/editor-plugin-extension 1.12.3 → 1.13.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 +22 -0
- package/dist/cjs/ui/ConfigPanel/Fields/Fieldset.js +3 -1
- package/dist/cjs/ui/ConfigPanel/FormErrorBoundary.js +6 -1
- package/dist/es2019/ui/ConfigPanel/Fields/Fieldset.js +4 -2
- package/dist/es2019/ui/ConfigPanel/FormErrorBoundary.js +6 -1
- package/dist/esm/ui/ConfigPanel/Fields/Fieldset.js +4 -2
- package/dist/esm/ui/ConfigPanel/FormErrorBoundary.js +6 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-extension
|
|
2
2
|
|
|
3
|
+
## 1.13.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#128347](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/128347)
|
|
8
|
+
[`e33566cebd5d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e33566cebd5d1) -
|
|
9
|
+
[ED-24175] bump @atlaskit/adf-schema to 40.8.1 and @atlassian/adf-schema-json to 1.22.0 to
|
|
10
|
+
promotecodeblocks & media in quotes, and nested expands in expands to full schema, and allow
|
|
11
|
+
quotes in panels and decisions in lists in stage0 schema, and a validator spec change
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
17
|
+
## 1.12.4
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- [#127640](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/127640)
|
|
22
|
+
[`ccefb817c754a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ccefb817c754a) -
|
|
23
|
+
[ux] Migrate typography with new ADS token and primitive
|
|
24
|
+
|
|
3
25
|
## 1.12.3
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -269,7 +269,9 @@ function FieldsetError(_ref) {
|
|
|
269
269
|
xcss: sectionMessageWrapperStyles
|
|
270
270
|
}, (0, _react2.jsx)(_sectionMessage.default, {
|
|
271
271
|
appearance: "error"
|
|
272
|
-
}, (0, _react2.jsx)(
|
|
272
|
+
}, (0, _react2.jsx)(_primitives.Text, {
|
|
273
|
+
as: "p"
|
|
274
|
+
}, message)));
|
|
273
275
|
}
|
|
274
276
|
var sectionMessageWrapperStyles = (0, _primitives.xcss)({
|
|
275
277
|
marginBottom: 'space.300'
|
|
@@ -19,6 +19,7 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
19
19
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
20
20
|
var _analytics = require("@atlaskit/editor-common/analytics");
|
|
21
21
|
var _extensions = require("@atlaskit/editor-common/extensions");
|
|
22
|
+
var _primitives = require("@atlaskit/primitives");
|
|
22
23
|
var _sectionMessage = _interopRequireDefault(require("@atlaskit/section-message"));
|
|
23
24
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
24
25
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
@@ -131,7 +132,11 @@ var FormErrorBoundaryInner = /*#__PURE__*/function (_React$Component) {
|
|
|
131
132
|
return /*#__PURE__*/_react.default.createElement(_sectionMessage.default, {
|
|
132
133
|
title: intl.formatMessage(_extensions.configPanelMessages.errorBoundaryTitle),
|
|
133
134
|
appearance: "error"
|
|
134
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
135
|
+
}, /*#__PURE__*/_react.default.createElement(_primitives.Stack, null, /*#__PURE__*/_react.default.createElement(_primitives.Text, {
|
|
136
|
+
as: "p"
|
|
137
|
+
}, /*#__PURE__*/_react.default.createElement("i", null, error.message)), /*#__PURE__*/_react.default.createElement(_primitives.Text, {
|
|
138
|
+
as: "p"
|
|
139
|
+
}, intl.formatMessage(_extensions.configPanelMessages.errorBoundaryNote))));
|
|
135
140
|
}
|
|
136
141
|
}]);
|
|
137
142
|
return FormErrorBoundaryInner;
|
|
@@ -12,7 +12,7 @@ import { injectIntl } from 'react-intl-next';
|
|
|
12
12
|
import Button from '@atlaskit/button/new';
|
|
13
13
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
14
14
|
import AddCircleIcon from '@atlaskit/icon/glyph/add-circle';
|
|
15
|
-
import { Box, xcss } from '@atlaskit/primitives';
|
|
15
|
+
import { Box, Text, xcss } from '@atlaskit/primitives';
|
|
16
16
|
import SectionMessage from '@atlaskit/section-message';
|
|
17
17
|
import Select from '@atlaskit/select';
|
|
18
18
|
import { N40A } from '@atlaskit/theme/colors';
|
|
@@ -226,7 +226,9 @@ function FieldsetError({
|
|
|
226
226
|
xcss: sectionMessageWrapperStyles
|
|
227
227
|
}, jsx(SectionMessage, {
|
|
228
228
|
appearance: "error"
|
|
229
|
-
}, jsx(
|
|
229
|
+
}, jsx(Text, {
|
|
230
|
+
as: "p"
|
|
231
|
+
}, message)));
|
|
230
232
|
}
|
|
231
233
|
const sectionMessageWrapperStyles = xcss({
|
|
232
234
|
marginBottom: 'space.300'
|
|
@@ -4,6 +4,7 @@ import { injectIntl } from 'react-intl-next';
|
|
|
4
4
|
import { withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
5
5
|
import { ACTION, ACTION_SUBJECT, editorAnalyticsChannel, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
|
|
6
6
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
7
|
+
import { Stack, Text } from '@atlaskit/primitives';
|
|
7
8
|
import SectionMessage from '@atlaskit/section-message';
|
|
8
9
|
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
9
10
|
class FormErrorBoundaryInner extends React.Component {
|
|
@@ -93,7 +94,11 @@ class FormErrorBoundaryInner extends React.Component {
|
|
|
93
94
|
return /*#__PURE__*/React.createElement(SectionMessage, {
|
|
94
95
|
title: intl.formatMessage(messages.errorBoundaryTitle),
|
|
95
96
|
appearance: "error"
|
|
96
|
-
}, /*#__PURE__*/React.createElement(
|
|
97
|
+
}, /*#__PURE__*/React.createElement(Stack, null, /*#__PURE__*/React.createElement(Text, {
|
|
98
|
+
as: "p"
|
|
99
|
+
}, /*#__PURE__*/React.createElement("i", null, error.message)), /*#__PURE__*/React.createElement(Text, {
|
|
100
|
+
as: "p"
|
|
101
|
+
}, intl.formatMessage(messages.errorBoundaryNote))));
|
|
97
102
|
}
|
|
98
103
|
}
|
|
99
104
|
export const FormErrorBoundaryImpl = injectIntl(FormErrorBoundaryInner);
|
|
@@ -24,7 +24,7 @@ import { injectIntl } from 'react-intl-next';
|
|
|
24
24
|
import Button from '@atlaskit/button/new';
|
|
25
25
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
26
26
|
import AddCircleIcon from '@atlaskit/icon/glyph/add-circle';
|
|
27
|
-
import { Box, xcss } from '@atlaskit/primitives';
|
|
27
|
+
import { Box, Text, xcss } from '@atlaskit/primitives';
|
|
28
28
|
import SectionMessage from '@atlaskit/section-message';
|
|
29
29
|
import Select from '@atlaskit/select';
|
|
30
30
|
import { N40A } from '@atlaskit/theme/colors';
|
|
@@ -262,7 +262,9 @@ function FieldsetError(_ref) {
|
|
|
262
262
|
xcss: sectionMessageWrapperStyles
|
|
263
263
|
}, jsx(SectionMessage, {
|
|
264
264
|
appearance: "error"
|
|
265
|
-
}, jsx(
|
|
265
|
+
}, jsx(Text, {
|
|
266
|
+
as: "p"
|
|
267
|
+
}, message)));
|
|
266
268
|
}
|
|
267
269
|
var sectionMessageWrapperStyles = xcss({
|
|
268
270
|
marginBottom: 'space.300'
|
|
@@ -14,6 +14,7 @@ import { injectIntl } from 'react-intl-next';
|
|
|
14
14
|
import { withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
15
15
|
import { ACTION, ACTION_SUBJECT, editorAnalyticsChannel, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
|
|
16
16
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
17
|
+
import { Stack, Text } from '@atlaskit/primitives';
|
|
17
18
|
import SectionMessage from '@atlaskit/section-message';
|
|
18
19
|
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
19
20
|
var FormErrorBoundaryInner = /*#__PURE__*/function (_React$Component) {
|
|
@@ -124,7 +125,11 @@ var FormErrorBoundaryInner = /*#__PURE__*/function (_React$Component) {
|
|
|
124
125
|
return /*#__PURE__*/React.createElement(SectionMessage, {
|
|
125
126
|
title: intl.formatMessage(messages.errorBoundaryTitle),
|
|
126
127
|
appearance: "error"
|
|
127
|
-
}, /*#__PURE__*/React.createElement(
|
|
128
|
+
}, /*#__PURE__*/React.createElement(Stack, null, /*#__PURE__*/React.createElement(Text, {
|
|
129
|
+
as: "p"
|
|
130
|
+
}, /*#__PURE__*/React.createElement("i", null, error.message)), /*#__PURE__*/React.createElement(Text, {
|
|
131
|
+
as: "p"
|
|
132
|
+
}, intl.formatMessage(messages.errorBoundaryNote))));
|
|
128
133
|
}
|
|
129
134
|
}]);
|
|
130
135
|
return FormErrorBoundaryInner;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"description": "editor-plugin-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -24,16 +24,16 @@
|
|
|
24
24
|
".": "./src/index.ts"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@atlaskit/adf-schema": "^40.
|
|
28
|
-
"@atlaskit/adf-utils": "^19.
|
|
27
|
+
"@atlaskit/adf-schema": "^40.8.1",
|
|
28
|
+
"@atlaskit/adf-utils": "^19.7.0",
|
|
29
29
|
"@atlaskit/analytics-next": "^10.0.0",
|
|
30
|
-
"@atlaskit/avatar": "^21.
|
|
30
|
+
"@atlaskit/avatar": "^21.13.0",
|
|
31
31
|
"@atlaskit/button": "^19.1.0",
|
|
32
32
|
"@atlaskit/checkbox": "^13.6.0",
|
|
33
33
|
"@atlaskit/datetime-picker": "^13.8.0",
|
|
34
|
-
"@atlaskit/editor-common": "^87.
|
|
35
|
-
"@atlaskit/editor-json-transformer": "^8.
|
|
36
|
-
"@atlaskit/editor-plugin-analytics": "^1.
|
|
34
|
+
"@atlaskit/editor-common": "^87.6.0",
|
|
35
|
+
"@atlaskit/editor-json-transformer": "^8.18.0",
|
|
36
|
+
"@atlaskit/editor-plugin-analytics": "^1.7.0",
|
|
37
37
|
"@atlaskit/editor-plugin-context-identifier": "^1.2.0",
|
|
38
38
|
"@atlaskit/editor-plugin-context-panel": "^1.2.0",
|
|
39
39
|
"@atlaskit/editor-plugin-decorations": "^1.2.0",
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
"@atlaskit/editor-tables": "^2.8.0",
|
|
45
45
|
"@atlaskit/empty-state": "^7.10.0",
|
|
46
46
|
"@atlaskit/form": "^10.4.0",
|
|
47
|
-
"@atlaskit/icon": "^22.
|
|
47
|
+
"@atlaskit/icon": "^22.11.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
49
49
|
"@atlaskit/primitives": "^11.1.0",
|
|
50
50
|
"@atlaskit/radio": "^6.4.0",
|
|
51
51
|
"@atlaskit/section-message": "^6.5.0",
|
|
52
|
-
"@atlaskit/select": "^17.
|
|
52
|
+
"@atlaskit/select": "^17.12.0",
|
|
53
53
|
"@atlaskit/smart-user-picker": "^6.10.0",
|
|
54
54
|
"@atlaskit/spinner": "^16.2.0",
|
|
55
55
|
"@atlaskit/tabs": "^16.3.0",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@atlaskit/theme": "^12.11.0",
|
|
59
59
|
"@atlaskit/toggle": "^13.2.0",
|
|
60
60
|
"@atlaskit/tokens": "^1.57.0",
|
|
61
|
-
"@atlaskit/tooltip": "^18.
|
|
61
|
+
"@atlaskit/tooltip": "^18.6.0",
|
|
62
62
|
"@babel/runtime": "^7.0.0",
|
|
63
63
|
"@emotion/react": "^11.7.1",
|
|
64
64
|
"bind-event-listener": "^3.0.0",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@atlaskit/editor-test-helpers": "^18.
|
|
75
|
+
"@atlaskit/editor-test-helpers": "^18.30.0",
|
|
76
76
|
"react-select": "^5.4.0",
|
|
77
77
|
"typescript": "~5.4.2"
|
|
78
78
|
},
|