@atlaskit/editor-plugin-extension 5.5.12 → 5.5.14
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 +17 -0
- package/dist/cjs/ui/ConfigPanel/DescriptionSummary.js +1 -2
- package/dist/cjs/ui/ConfigPanel/Fields/Boolean.js +2 -2
- package/dist/cjs/ui/ConfigPanel/Header.js +1 -2
- package/dist/es2019/ui/ConfigPanel/DescriptionSummary.js +1 -2
- package/dist/es2019/ui/ConfigPanel/Fields/Boolean.js +2 -2
- package/dist/es2019/ui/ConfigPanel/Header.js +1 -2
- package/dist/esm/ui/ConfigPanel/DescriptionSummary.js +1 -2
- package/dist/esm/ui/ConfigPanel/Fields/Boolean.js +2 -2
- package/dist/esm/ui/ConfigPanel/Header.js +1 -2
- package/package.json +5 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-extension
|
|
2
2
|
|
|
3
|
+
## 5.5.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#180417](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/180417)
|
|
8
|
+
[`4850015153c2f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4850015153c2f) -
|
|
9
|
+
[ux] Fixes A11Y issue by adding label to the checkbox that has toggle apperance in the Config
|
|
10
|
+
panel.
|
|
11
|
+
|
|
12
|
+
## 5.5.13
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#179090](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/179090)
|
|
17
|
+
[`5a7c6f6b155de`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5a7c6f6b155de) -
|
|
18
|
+
Clean up deprecation message feature flag
|
|
19
|
+
|
|
3
20
|
## 5.5.12
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -8,7 +8,6 @@ exports.DescriptionSummary = DescriptionSummary;
|
|
|
8
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
9
|
var _reactIntlNext = require("react-intl-next");
|
|
10
10
|
var _extensions = require("@atlaskit/editor-common/extensions");
|
|
11
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
11
|
var _primitives = require("@atlaskit/primitives");
|
|
13
12
|
var _HelpLink = require("./HelpLink");
|
|
14
13
|
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); }
|
|
@@ -37,7 +36,7 @@ function DescriptionSummary(_ref) {
|
|
|
37
36
|
}, description && /*#__PURE__*/_react.default.createElement(_react.Fragment, null,
|
|
38
37
|
// Ignored via go/ees005
|
|
39
38
|
// eslint-disable-next-line require-unicode-regexp
|
|
40
|
-
description.replace(/([^.])$/, '$1.'), ' '), (deprecation === null || deprecation === void 0 ? void 0 : deprecation.isDeprecated) && (deprecation === null || deprecation === void 0 ? void 0 : deprecation.message) &&
|
|
39
|
+
description.replace(/([^.])$/, '$1.'), ' '), (deprecation === null || deprecation === void 0 ? void 0 : deprecation.isDeprecated) && (deprecation === null || deprecation === void 0 ? void 0 : deprecation.message) && /*#__PURE__*/_react.default.createElement(_primitives.Box, {
|
|
41
40
|
paddingBlockStart: "space.150"
|
|
42
41
|
}, deprecation.message), documentationUrl && (enableHelpCTA ? /*#__PURE__*/_react.default.createElement(_primitives.Box, {
|
|
43
42
|
xcss: helpLinkStyles
|
|
@@ -123,7 +123,6 @@ function Toggle(_ref3) {
|
|
|
123
123
|
css: toggleFieldWrapperStyles
|
|
124
124
|
}, (0, _react2.jsx)("label", {
|
|
125
125
|
css: toggleLabelStyles,
|
|
126
|
-
id: id,
|
|
127
126
|
htmlFor: id
|
|
128
127
|
}, label, isRequired ? (0, _react2.jsx)(_compiled.Text, {
|
|
129
128
|
color: "color.text.danger",
|
|
@@ -135,7 +134,8 @@ function Toggle(_ref3) {
|
|
|
135
134
|
onChange: function onChange(event) {
|
|
136
135
|
return handleOnChange(fieldProps.onChange, onFieldChange, event);
|
|
137
136
|
},
|
|
138
|
-
isChecked: parseBoolean(isChecked)
|
|
137
|
+
isChecked: parseBoolean(isChecked),
|
|
138
|
+
id: id
|
|
139
139
|
}))), (0, _react2.jsx)(_FieldMessages.default, {
|
|
140
140
|
error: error,
|
|
141
141
|
description: description
|
|
@@ -12,7 +12,6 @@ var _new = require("@atlaskit/button/new");
|
|
|
12
12
|
var _extensions = require("@atlaskit/editor-common/extensions");
|
|
13
13
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
14
14
|
var _closeCross = _interopRequireDefault(require("@atlaskit/icon/core/migration/close--cross"));
|
|
15
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
16
15
|
var _primitives = require("@atlaskit/primitives");
|
|
17
16
|
var _colors = require("@atlaskit/theme/colors");
|
|
18
17
|
var _constants = require("@atlaskit/theme/constants");
|
|
@@ -151,7 +150,7 @@ var Header = function Header(_ref) {
|
|
|
151
150
|
}, description && (0, _react2.jsx)(_react.Fragment, null,
|
|
152
151
|
// Ignored via go/ees005
|
|
153
152
|
// eslint-disable-next-line require-unicode-regexp
|
|
154
|
-
description.replace(/([^.])$/, '$1.'), ' '), (deprecation === null || deprecation === void 0 ? void 0 : deprecation.isDeprecated) && (deprecation === null || deprecation === void 0 ? void 0 : deprecation.message) && (0,
|
|
153
|
+
description.replace(/([^.])$/, '$1.'), ' '), (deprecation === null || deprecation === void 0 ? void 0 : deprecation.isDeprecated) && (deprecation === null || deprecation === void 0 ? void 0 : deprecation.message) && (0, _react2.jsx)(_primitives.Box, {
|
|
155
154
|
paddingBlockStart: "space.150"
|
|
156
155
|
}, deprecation.message), documentationUrl && (enableHelpCTA ? (0, _react2.jsx)(_primitives.Box, {
|
|
157
156
|
xcss: helpLinkStyles
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React, { Fragment } from 'react';
|
|
2
2
|
import { useIntl } from 'react-intl-next';
|
|
3
3
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
4
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
4
|
import { Box, Text, xcss } from '@atlaskit/primitives';
|
|
6
5
|
import { HelpLink } from './HelpLink';
|
|
7
6
|
const descriptionStyles = xcss({
|
|
@@ -33,7 +32,7 @@ export function DescriptionSummary({
|
|
|
33
32
|
}, description && /*#__PURE__*/React.createElement(Fragment, null,
|
|
34
33
|
// Ignored via go/ees005
|
|
35
34
|
// eslint-disable-next-line require-unicode-regexp
|
|
36
|
-
description.replace(/([^.])$/, '$1.'), ' '), (deprecation === null || deprecation === void 0 ? void 0 : deprecation.isDeprecated) && (deprecation === null || deprecation === void 0 ? void 0 : deprecation.message) &&
|
|
35
|
+
description.replace(/([^.])$/, '$1.'), ' '), (deprecation === null || deprecation === void 0 ? void 0 : deprecation.isDeprecated) && (deprecation === null || deprecation === void 0 ? void 0 : deprecation.message) && /*#__PURE__*/React.createElement(Box, {
|
|
37
36
|
paddingBlockStart: "space.150"
|
|
38
37
|
}, deprecation.message), documentationUrl && (enableHelpCTA ? /*#__PURE__*/React.createElement(Box, {
|
|
39
38
|
xcss: helpLinkStyles
|
|
@@ -114,7 +114,6 @@ function Toggle({
|
|
|
114
114
|
css: toggleFieldWrapperStyles
|
|
115
115
|
}, jsx("label", {
|
|
116
116
|
css: toggleLabelStyles,
|
|
117
|
-
id: id,
|
|
118
117
|
htmlFor: id
|
|
119
118
|
}, label, isRequired ? jsx(Text, {
|
|
120
119
|
color: "color.text.danger",
|
|
@@ -124,7 +123,8 @@ function Toggle({
|
|
|
124
123
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
125
124
|
, _extends({}, restFieldProps, {
|
|
126
125
|
onChange: event => handleOnChange(fieldProps.onChange, onFieldChange, event),
|
|
127
|
-
isChecked: parseBoolean(isChecked)
|
|
126
|
+
isChecked: parseBoolean(isChecked),
|
|
127
|
+
id: id
|
|
128
128
|
}))), jsx(FieldMessages, {
|
|
129
129
|
error: error,
|
|
130
130
|
description: description
|
|
@@ -11,7 +11,6 @@ import { IconButton } from '@atlaskit/button/new';
|
|
|
11
11
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
12
12
|
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
13
13
|
import CrossIcon from '@atlaskit/icon/core/migration/close--cross';
|
|
14
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
14
|
import { Box, Text, xcss } from '@atlaskit/primitives';
|
|
16
15
|
import { N200 } from '@atlaskit/theme/colors';
|
|
17
16
|
import { borderRadius } from '@atlaskit/theme/constants';
|
|
@@ -142,7 +141,7 @@ const Header = ({
|
|
|
142
141
|
}, description && jsx(Fragment, null,
|
|
143
142
|
// Ignored via go/ees005
|
|
144
143
|
// eslint-disable-next-line require-unicode-regexp
|
|
145
|
-
description.replace(/([^.])$/, '$1.'), ' '), (deprecation === null || deprecation === void 0 ? void 0 : deprecation.isDeprecated) && (deprecation === null || deprecation === void 0 ? void 0 : deprecation.message) &&
|
|
144
|
+
description.replace(/([^.])$/, '$1.'), ' '), (deprecation === null || deprecation === void 0 ? void 0 : deprecation.isDeprecated) && (deprecation === null || deprecation === void 0 ? void 0 : deprecation.message) && jsx(Box, {
|
|
146
145
|
paddingBlockStart: "space.150"
|
|
147
146
|
}, deprecation.message), documentationUrl && (enableHelpCTA ? jsx(Box, {
|
|
148
147
|
xcss: helpLinkStyles
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React, { Fragment } from 'react';
|
|
2
2
|
import { useIntl } from 'react-intl-next';
|
|
3
3
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
4
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
4
|
import { Box, Text, xcss } from '@atlaskit/primitives';
|
|
6
5
|
import { HelpLink } from './HelpLink';
|
|
7
6
|
var descriptionStyles = xcss({
|
|
@@ -29,7 +28,7 @@ export function DescriptionSummary(_ref) {
|
|
|
29
28
|
}, description && /*#__PURE__*/React.createElement(Fragment, null,
|
|
30
29
|
// Ignored via go/ees005
|
|
31
30
|
// eslint-disable-next-line require-unicode-regexp
|
|
32
|
-
description.replace(/([^.])$/, '$1.'), ' '), (deprecation === null || deprecation === void 0 ? void 0 : deprecation.isDeprecated) && (deprecation === null || deprecation === void 0 ? void 0 : deprecation.message) &&
|
|
31
|
+
description.replace(/([^.])$/, '$1.'), ' '), (deprecation === null || deprecation === void 0 ? void 0 : deprecation.isDeprecated) && (deprecation === null || deprecation === void 0 ? void 0 : deprecation.message) && /*#__PURE__*/React.createElement(Box, {
|
|
33
32
|
paddingBlockStart: "space.150"
|
|
34
33
|
}, deprecation.message), documentationUrl && (enableHelpCTA ? /*#__PURE__*/React.createElement(Box, {
|
|
35
34
|
xcss: helpLinkStyles
|
|
@@ -115,7 +115,6 @@ function Toggle(_ref3) {
|
|
|
115
115
|
css: toggleFieldWrapperStyles
|
|
116
116
|
}, jsx("label", {
|
|
117
117
|
css: toggleLabelStyles,
|
|
118
|
-
id: id,
|
|
119
118
|
htmlFor: id
|
|
120
119
|
}, label, isRequired ? jsx(Text, {
|
|
121
120
|
color: "color.text.danger",
|
|
@@ -127,7 +126,8 @@ function Toggle(_ref3) {
|
|
|
127
126
|
onChange: function onChange(event) {
|
|
128
127
|
return handleOnChange(fieldProps.onChange, onFieldChange, event);
|
|
129
128
|
},
|
|
130
|
-
isChecked: parseBoolean(isChecked)
|
|
129
|
+
isChecked: parseBoolean(isChecked),
|
|
130
|
+
id: id
|
|
131
131
|
}))), jsx(FieldMessages, {
|
|
132
132
|
error: error,
|
|
133
133
|
description: description
|
|
@@ -11,7 +11,6 @@ import { IconButton } from '@atlaskit/button/new';
|
|
|
11
11
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
12
12
|
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
13
13
|
import CrossIcon from '@atlaskit/icon/core/migration/close--cross';
|
|
14
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
14
|
import { Box, Text, xcss } from '@atlaskit/primitives';
|
|
16
15
|
import { N200 } from '@atlaskit/theme/colors';
|
|
17
16
|
import { borderRadius } from '@atlaskit/theme/constants';
|
|
@@ -143,7 +142,7 @@ var Header = function Header(_ref) {
|
|
|
143
142
|
}, description && jsx(Fragment, null,
|
|
144
143
|
// Ignored via go/ees005
|
|
145
144
|
// eslint-disable-next-line require-unicode-regexp
|
|
146
|
-
description.replace(/([^.])$/, '$1.'), ' '), (deprecation === null || deprecation === void 0 ? void 0 : deprecation.isDeprecated) && (deprecation === null || deprecation === void 0 ? void 0 : deprecation.message) &&
|
|
145
|
+
description.replace(/([^.])$/, '$1.'), ' '), (deprecation === null || deprecation === void 0 ? void 0 : deprecation.isDeprecated) && (deprecation === null || deprecation === void 0 ? void 0 : deprecation.message) && jsx(Box, {
|
|
147
146
|
paddingBlockStart: "space.150"
|
|
148
147
|
}, deprecation.message), documentationUrl && (enableHelpCTA ? jsx(Box, {
|
|
149
148
|
xcss: helpLinkStyles
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.14",
|
|
4
4
|
"description": "editor-plugin-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"atlassian": {
|
|
11
11
|
"team": "Editor: Core Experiences",
|
|
12
|
-
"singleton": true
|
|
13
|
-
"runReact18": true
|
|
12
|
+
"singleton": true
|
|
14
13
|
},
|
|
15
14
|
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
16
15
|
"main": "dist/cjs/index.js",
|
|
@@ -32,7 +31,7 @@
|
|
|
32
31
|
"@atlaskit/button": "^23.2.0",
|
|
33
32
|
"@atlaskit/checkbox": "^17.1.0",
|
|
34
33
|
"@atlaskit/datetime-picker": "^17.0.0",
|
|
35
|
-
"@atlaskit/editor-common": "^107.
|
|
34
|
+
"@atlaskit/editor-common": "^107.4.0",
|
|
36
35
|
"@atlaskit/editor-json-transformer": "^8.24.0",
|
|
37
36
|
"@atlaskit/editor-plugin-analytics": "^2.3.0",
|
|
38
37
|
"@atlaskit/editor-plugin-connectivity": "^2.0.0",
|
|
@@ -50,7 +49,7 @@
|
|
|
50
49
|
"@atlaskit/icon": "^27.2.0",
|
|
51
50
|
"@atlaskit/link": "^3.2.0",
|
|
52
51
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
53
|
-
"@atlaskit/primitives": "^14.
|
|
52
|
+
"@atlaskit/primitives": "^14.10.0",
|
|
54
53
|
"@atlaskit/radio": "^8.1.0",
|
|
55
54
|
"@atlaskit/section-message": "^8.2.0",
|
|
56
55
|
"@atlaskit/select": "^21.0.0",
|
|
@@ -60,7 +59,7 @@
|
|
|
60
59
|
"@atlaskit/textarea": "^8.0.0",
|
|
61
60
|
"@atlaskit/textfield": "^8.0.0",
|
|
62
61
|
"@atlaskit/theme": "^18.0.0",
|
|
63
|
-
"@atlaskit/tmp-editor-statsig": "^8.
|
|
62
|
+
"@atlaskit/tmp-editor-statsig": "^8.6.0",
|
|
64
63
|
"@atlaskit/toggle": "^15.0.0",
|
|
65
64
|
"@atlaskit/tokens": "^5.4.0",
|
|
66
65
|
"@atlaskit/tooltip": "^20.3.0",
|
|
@@ -118,9 +117,6 @@
|
|
|
118
117
|
"platform_editor_ai_object_sidebar_injection": {
|
|
119
118
|
"type": "boolean"
|
|
120
119
|
},
|
|
121
|
-
"platform_editor_extension_deprecation_status": {
|
|
122
|
-
"type": "boolean"
|
|
123
|
-
},
|
|
124
120
|
"platform_editor_update_extension_local_id_on_reset": {
|
|
125
121
|
"type": "boolean"
|
|
126
122
|
},
|