@atlaskit/editor-plugin-extension 10.0.0 → 10.0.2
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 +14 -0
- package/dist/cjs/ui/ConfigPanel/Fields/Fieldset.js +0 -1
- package/dist/cjs/ui/ConfigPanel/Header.js +1 -1
- package/dist/cjs/ui/ConfigPanel/NestedForms/RemovableField.js +1 -2
- package/dist/cjs/ui/ConfigPanel/utils.js +3 -1
- package/dist/cjs/ui/SaveIndicator/SaveIndicator.js +0 -1
- package/dist/es2019/ui/ConfigPanel/Fields/Fieldset.js +0 -1
- package/dist/es2019/ui/ConfigPanel/Header.js +1 -1
- package/dist/es2019/ui/ConfigPanel/NestedForms/RemovableField.js +1 -2
- package/dist/es2019/ui/ConfigPanel/utils.js +3 -1
- package/dist/es2019/ui/SaveIndicator/SaveIndicator.js +0 -1
- package/dist/esm/ui/ConfigPanel/Fields/Fieldset.js +0 -1
- package/dist/esm/ui/ConfigPanel/Header.js +1 -1
- package/dist/esm/ui/ConfigPanel/NestedForms/RemovableField.js +1 -2
- package/dist/esm/ui/ConfigPanel/utils.js +3 -1
- package/dist/esm/ui/SaveIndicator/SaveIndicator.js +0 -1
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-extension
|
|
2
2
|
|
|
3
|
+
## 10.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 10.0.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`b429c01ce6af9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b429c01ce6af9) -
|
|
14
|
+
icon migration entry point update
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 10.0.0
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -208,7 +208,6 @@ var FieldsetField = /*#__PURE__*/function (_React$Component) {
|
|
|
208
208
|
// Ignored via go/ees005
|
|
209
209
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
210
210
|
, (0, _extends2.default)({}, iconProps, {
|
|
211
|
-
LEGACY_size: "small",
|
|
212
211
|
spacing: "none",
|
|
213
212
|
label: intl.formatMessage(_extensions.configPanelMessages.addField)
|
|
214
213
|
}));
|
|
@@ -11,7 +11,7 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
11
11
|
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
|
-
var _cross = _interopRequireDefault(require("@atlaskit/icon/core/
|
|
14
|
+
var _cross = _interopRequireDefault(require("@atlaskit/icon/core/cross"));
|
|
15
15
|
var _primitives = require("@atlaskit/primitives");
|
|
16
16
|
var _colors = require("@atlaskit/theme/colors");
|
|
17
17
|
var _HelpLink = require("./HelpLink");
|
|
@@ -9,7 +9,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
var _react2 = require("@emotion/react");
|
|
10
10
|
var _reactIntlNext = require("react-intl-next");
|
|
11
11
|
var _extensions = require("@atlaskit/editor-common/extensions");
|
|
12
|
-
var _crossCircle = _interopRequireDefault(require("@atlaskit/icon/core/
|
|
12
|
+
var _crossCircle = _interopRequireDefault(require("@atlaskit/icon/core/cross-circle"));
|
|
13
13
|
var _colors = require("@atlaskit/theme/colors");
|
|
14
14
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
15
15
|
/**
|
|
@@ -63,7 +63,6 @@ var RemovableField = function RemovableField(_ref) {
|
|
|
63
63
|
content: intl.formatMessage(_extensions.configPanelMessages.removeField),
|
|
64
64
|
position: "left"
|
|
65
65
|
}, (0, _react2.jsx)(_crossCircle.default, {
|
|
66
|
-
LEGACY_size: "small",
|
|
67
66
|
spacing: "none",
|
|
68
67
|
label: intl.formatMessage(_extensions.configPanelMessages.removeField)
|
|
69
68
|
}))));
|
|
@@ -80,7 +80,9 @@ var getNameFromDuplicateField = exports.getNameFromDuplicateField = function get
|
|
|
80
80
|
};
|
|
81
81
|
|
|
82
82
|
// An overly cautious parser for sanitizing configuration parameters of UGC
|
|
83
|
-
var parseParamType = exports.parseParamType = function parseParamType(paramValue, paramField
|
|
83
|
+
var parseParamType = exports.parseParamType = function parseParamType(paramValue, paramField
|
|
84
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
85
|
+
) {
|
|
84
86
|
if (paramValue && paramField) {
|
|
85
87
|
if (paramField.type === 'string') {
|
|
86
88
|
if (paramField.name === 'types') {
|
|
@@ -80,7 +80,6 @@ var SaveIndicator = exports.SaveIndicator = function SaveIndicator(_ref) {
|
|
|
80
80
|
}, (0, _react2.jsx)(_statusSuccess.default, {
|
|
81
81
|
label: "Saving",
|
|
82
82
|
color: "var(--ds-icon-success, ".concat(_colors.G300, ")"),
|
|
83
|
-
LEGACY_size: "small",
|
|
84
83
|
spacing: "none"
|
|
85
84
|
}), (0, _react2.jsx)(_primitives.Box, {
|
|
86
85
|
xcss: saveIndicatorTextStyles
|
|
@@ -172,7 +172,6 @@ class FieldsetField extends React.Component {
|
|
|
172
172
|
// Ignored via go/ees005
|
|
173
173
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
174
174
|
, _extends({}, iconProps, {
|
|
175
|
-
LEGACY_size: "small",
|
|
176
175
|
spacing: "none",
|
|
177
176
|
label: intl.formatMessage(messages.addField)
|
|
178
177
|
})),
|
|
@@ -10,7 +10,7 @@ import { injectIntl } from 'react-intl-next';
|
|
|
10
10
|
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
|
-
import CrossIcon from '@atlaskit/icon/core/
|
|
13
|
+
import CrossIcon from '@atlaskit/icon/core/cross';
|
|
14
14
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
15
15
|
import { Box, Text, xcss } from '@atlaskit/primitives';
|
|
16
16
|
import { N200 } from '@atlaskit/theme/colors';
|
|
@@ -8,7 +8,7 @@ import React from 'react';
|
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
9
|
import { injectIntl } from 'react-intl-next';
|
|
10
10
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
11
|
-
import CrossCircleIcon from '@atlaskit/icon/core/
|
|
11
|
+
import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
|
|
12
12
|
import { N80, R300 } from '@atlaskit/theme/colors';
|
|
13
13
|
import Tooltip from '@atlaskit/tooltip';
|
|
14
14
|
const removableFieldWrapperStyles = css({
|
|
@@ -54,7 +54,6 @@ const RemovableField = ({
|
|
|
54
54
|
content: intl.formatMessage(messages.removeField),
|
|
55
55
|
position: "left"
|
|
56
56
|
}, jsx(CrossCircleIcon, {
|
|
57
|
-
LEGACY_size: "small",
|
|
58
57
|
spacing: "none",
|
|
59
58
|
label: intl.formatMessage(messages.removeField)
|
|
60
59
|
}))));
|
|
@@ -53,7 +53,9 @@ export const isDuplicateField = key => duplicateFieldRegex.test(key);
|
|
|
53
53
|
export const getNameFromDuplicateField = key => key.replace(duplicateFieldRegex, '');
|
|
54
54
|
|
|
55
55
|
// An overly cautious parser for sanitizing configuration parameters of UGC
|
|
56
|
-
export const parseParamType = (paramValue, paramField
|
|
56
|
+
export const parseParamType = (paramValue, paramField
|
|
57
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
58
|
+
) => {
|
|
57
59
|
if (paramValue && paramField) {
|
|
58
60
|
if (paramField.type === 'string') {
|
|
59
61
|
if (paramField.name === 'types') {
|
|
@@ -202,7 +202,6 @@ var FieldsetField = /*#__PURE__*/function (_React$Component) {
|
|
|
202
202
|
// Ignored via go/ees005
|
|
203
203
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
204
204
|
, _extends({}, iconProps, {
|
|
205
|
-
LEGACY_size: "small",
|
|
206
205
|
spacing: "none",
|
|
207
206
|
label: intl.formatMessage(messages.addField)
|
|
208
207
|
}));
|
|
@@ -10,7 +10,7 @@ import { injectIntl } from 'react-intl-next';
|
|
|
10
10
|
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
|
-
import CrossIcon from '@atlaskit/icon/core/
|
|
13
|
+
import CrossIcon from '@atlaskit/icon/core/cross';
|
|
14
14
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
15
15
|
import { Box, Text, xcss } from '@atlaskit/primitives';
|
|
16
16
|
import { N200 } from '@atlaskit/theme/colors';
|
|
@@ -8,7 +8,7 @@ import React from 'react';
|
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
9
|
import { injectIntl } from 'react-intl-next';
|
|
10
10
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
11
|
-
import CrossCircleIcon from '@atlaskit/icon/core/
|
|
11
|
+
import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
|
|
12
12
|
import { N80, R300 } from '@atlaskit/theme/colors';
|
|
13
13
|
import Tooltip from '@atlaskit/tooltip';
|
|
14
14
|
var removableFieldWrapperStyles = css({
|
|
@@ -55,7 +55,6 @@ var RemovableField = function RemovableField(_ref) {
|
|
|
55
55
|
content: intl.formatMessage(messages.removeField),
|
|
56
56
|
position: "left"
|
|
57
57
|
}, jsx(CrossCircleIcon, {
|
|
58
|
-
LEGACY_size: "small",
|
|
59
58
|
spacing: "none",
|
|
60
59
|
label: intl.formatMessage(messages.removeField)
|
|
61
60
|
}))));
|
|
@@ -73,7 +73,9 @@ export var getNameFromDuplicateField = function getNameFromDuplicateField(key) {
|
|
|
73
73
|
};
|
|
74
74
|
|
|
75
75
|
// An overly cautious parser for sanitizing configuration parameters of UGC
|
|
76
|
-
export var parseParamType = function parseParamType(paramValue, paramField
|
|
76
|
+
export var parseParamType = function parseParamType(paramValue, paramField
|
|
77
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
78
|
+
) {
|
|
77
79
|
if (paramValue && paramField) {
|
|
78
80
|
if (paramField.type === 'string') {
|
|
79
81
|
if (paramField.name === 'types') {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.2",
|
|
4
4
|
"description": "editor-plugin-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"@atlaskit/adf-schema": "^51.5.0",
|
|
25
25
|
"@atlaskit/adf-utils": "^19.26.0",
|
|
26
26
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
27
|
-
"@atlaskit/avatar": "^25.
|
|
27
|
+
"@atlaskit/avatar": "^25.7.0",
|
|
28
28
|
"@atlaskit/button": "^23.9.0",
|
|
29
|
-
"@atlaskit/checkbox": "^17.
|
|
30
|
-
"@atlaskit/datetime-picker": "^17.
|
|
29
|
+
"@atlaskit/checkbox": "^17.3.0",
|
|
30
|
+
"@atlaskit/datetime-picker": "^17.4.0",
|
|
31
31
|
"@atlaskit/editor-json-transformer": "^8.31.0",
|
|
32
32
|
"@atlaskit/editor-plugin-analytics": "^7.0.0",
|
|
33
33
|
"@atlaskit/editor-plugin-connectivity": "^7.0.0",
|
|
@@ -41,25 +41,25 @@
|
|
|
41
41
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
42
42
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
43
43
|
"@atlaskit/empty-state": "^10.1.0",
|
|
44
|
-
"@atlaskit/form": "^15.
|
|
44
|
+
"@atlaskit/form": "^15.3.0",
|
|
45
45
|
"@atlaskit/heading": "^5.2.0",
|
|
46
|
-
"@atlaskit/icon": "^29.
|
|
47
|
-
"@atlaskit/link": "^3.
|
|
46
|
+
"@atlaskit/icon": "^29.4.0",
|
|
47
|
+
"@atlaskit/link": "^3.3.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
49
|
-
"@atlaskit/primitives": "^17.
|
|
50
|
-
"@atlaskit/radio": "^8.
|
|
51
|
-
"@atlaskit/section-message": "^8.
|
|
52
|
-
"@atlaskit/select": "^21.
|
|
53
|
-
"@atlaskit/smart-user-picker": "^8.
|
|
49
|
+
"@atlaskit/primitives": "^17.1.0",
|
|
50
|
+
"@atlaskit/radio": "^8.4.0",
|
|
51
|
+
"@atlaskit/section-message": "^8.12.0",
|
|
52
|
+
"@atlaskit/select": "^21.7.0",
|
|
53
|
+
"@atlaskit/smart-user-picker": "^8.9.0",
|
|
54
54
|
"@atlaskit/spinner": "^19.0.0",
|
|
55
55
|
"@atlaskit/tabs": "^18.3.0",
|
|
56
56
|
"@atlaskit/textarea": "^8.2.0",
|
|
57
57
|
"@atlaskit/textfield": "^8.2.0",
|
|
58
58
|
"@atlaskit/theme": "^21.0.0",
|
|
59
|
-
"@atlaskit/tmp-editor-statsig": "^16.
|
|
59
|
+
"@atlaskit/tmp-editor-statsig": "^16.23.0",
|
|
60
60
|
"@atlaskit/toggle": "^15.2.0",
|
|
61
|
-
"@atlaskit/tokens": "^
|
|
62
|
-
"@atlaskit/tooltip": "^20.
|
|
61
|
+
"@atlaskit/tokens": "^10.0.0",
|
|
62
|
+
"@atlaskit/tooltip": "^20.14.0",
|
|
63
63
|
"@babel/runtime": "^7.0.0",
|
|
64
64
|
"@emotion/react": "^11.7.1",
|
|
65
65
|
"bind-event-listener": "^3.0.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"uuid": "^3.1.0"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
|
-
"@atlaskit/editor-common": "^111.
|
|
73
|
+
"@atlaskit/editor-common": "^111.8.0",
|
|
74
74
|
"react": "^18.2.0",
|
|
75
75
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
76
76
|
},
|