@atlaskit/editor-plugin-extension 10.0.1 → 10.0.3
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 +13 -0
- package/dist/cjs/ui/ConfigPanel/FieldMessages.js +2 -2
- package/dist/cjs/ui/ConfigPanel/Fields/ColorPicker.js +1 -1
- package/dist/cjs/ui/ConfigPanel/Fields/Fieldset.js +0 -1
- package/dist/cjs/ui/ConfigPanel/Header/HeaderAfterIconElement.js +1 -1
- package/dist/cjs/ui/ConfigPanel/NestedForms/RemovableField.js +0 -1
- package/dist/cjs/ui/ConfigPanel/utils.js +3 -1
- package/dist/cjs/ui/SaveIndicator/SaveIndicator.js +0 -1
- package/dist/es2019/ui/ConfigPanel/FieldMessages.js +2 -2
- package/dist/es2019/ui/ConfigPanel/Fields/ColorPicker.js +1 -1
- package/dist/es2019/ui/ConfigPanel/Fields/Fieldset.js +0 -1
- package/dist/es2019/ui/ConfigPanel/Header/HeaderAfterIconElement.js +1 -1
- package/dist/es2019/ui/ConfigPanel/NestedForms/RemovableField.js +0 -1
- package/dist/es2019/ui/ConfigPanel/utils.js +3 -1
- package/dist/es2019/ui/SaveIndicator/SaveIndicator.js +0 -1
- package/dist/esm/ui/ConfigPanel/FieldMessages.js +2 -2
- package/dist/esm/ui/ConfigPanel/Fields/ColorPicker.js +1 -1
- package/dist/esm/ui/ConfigPanel/Fields/Fieldset.js +0 -1
- package/dist/esm/ui/ConfigPanel/Header/HeaderAfterIconElement.js +1 -1
- package/dist/esm/ui/ConfigPanel/NestedForms/RemovableField.js +0 -1
- 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,18 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-extension
|
|
2
2
|
|
|
3
|
+
## 10.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`db16d1751c5ad`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/db16d1751c5ad) -
|
|
8
|
+
Internal changes to typography.
|
|
9
|
+
|
|
10
|
+
## 10.0.2
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 10.0.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -45,14 +45,14 @@ function makeMarkup(fragment, key) {
|
|
|
45
45
|
return /*#__PURE__*/_react.default.createElement(_compiled.Text, {
|
|
46
46
|
as: "strong",
|
|
47
47
|
color: "color.text.subtlest",
|
|
48
|
-
size: "
|
|
48
|
+
size: "small",
|
|
49
49
|
key: key
|
|
50
50
|
}, children);
|
|
51
51
|
case 'EM':
|
|
52
52
|
return /*#__PURE__*/_react.default.createElement(_compiled.Text, {
|
|
53
53
|
as: "em",
|
|
54
54
|
color: "color.text.subtlest",
|
|
55
|
-
size: "
|
|
55
|
+
size: "small",
|
|
56
56
|
key: key
|
|
57
57
|
}, children);
|
|
58
58
|
case 'CODE':
|
|
@@ -334,7 +334,7 @@ var colorPickerWrapperStyles = (0, _react2.css)({
|
|
|
334
334
|
paddingRight: "var(--ds-space-100, 8px)"
|
|
335
335
|
});
|
|
336
336
|
var colorPickerLabelStyles = (0, _react2.css)({
|
|
337
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
337
|
+
font: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
338
338
|
});
|
|
339
339
|
var EXPANDED_COLOR_PICKER_COLUMNS = exports.EXPANDED_COLOR_PICKER_COLUMNS = 9;
|
|
340
340
|
var ORIGINAL_COLOR_PICKER_COLUMNS = exports.ORIGINAL_COLOR_PICKER_COLUMNS = 5;
|
|
@@ -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
|
}));
|
|
@@ -23,7 +23,7 @@ var itemTextStyles = (0, _primitives.xcss)({
|
|
|
23
23
|
whiteSpace: 'initial'
|
|
24
24
|
});
|
|
25
25
|
var summaryStyles = (0, _primitives.xcss)({
|
|
26
|
-
font: "var(--ds-font-body-small, normal 400
|
|
26
|
+
font: "var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
27
27
|
color: 'color.text.subtlest',
|
|
28
28
|
marginTop: 'space.050',
|
|
29
29
|
whiteSpace: 'nowrap',
|
|
@@ -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
|
|
@@ -40,14 +40,14 @@ function makeMarkup(fragment, key) {
|
|
|
40
40
|
return /*#__PURE__*/React.createElement(Text, {
|
|
41
41
|
as: "strong",
|
|
42
42
|
color: "color.text.subtlest",
|
|
43
|
-
size: "
|
|
43
|
+
size: "small",
|
|
44
44
|
key: key
|
|
45
45
|
}, children);
|
|
46
46
|
case 'EM':
|
|
47
47
|
return /*#__PURE__*/React.createElement(Text, {
|
|
48
48
|
as: "em",
|
|
49
49
|
color: "color.text.subtlest",
|
|
50
|
-
size: "
|
|
50
|
+
size: "small",
|
|
51
51
|
key: key
|
|
52
52
|
}, children);
|
|
53
53
|
case 'CODE':
|
|
@@ -326,7 +326,7 @@ const colorPickerWrapperStyles = css({
|
|
|
326
326
|
paddingRight: "var(--ds-space-100, 8px)"
|
|
327
327
|
});
|
|
328
328
|
const colorPickerLabelStyles = css({
|
|
329
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
329
|
+
font: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
330
330
|
});
|
|
331
331
|
export const EXPANDED_COLOR_PICKER_COLUMNS = 9;
|
|
332
332
|
export const ORIGINAL_COLOR_PICKER_COLUMNS = 5;
|
|
@@ -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
|
})),
|
|
@@ -15,7 +15,7 @@ const itemTextStyles = xcss({
|
|
|
15
15
|
whiteSpace: 'initial'
|
|
16
16
|
});
|
|
17
17
|
const summaryStyles = xcss({
|
|
18
|
-
font: "var(--ds-font-body-small, normal 400
|
|
18
|
+
font: "var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
19
19
|
color: 'color.text.subtlest',
|
|
20
20
|
marginTop: 'space.050',
|
|
21
21
|
whiteSpace: 'nowrap',
|
|
@@ -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') {
|
|
@@ -38,14 +38,14 @@ function makeMarkup(fragment, key) {
|
|
|
38
38
|
return /*#__PURE__*/React.createElement(Text, {
|
|
39
39
|
as: "strong",
|
|
40
40
|
color: "color.text.subtlest",
|
|
41
|
-
size: "
|
|
41
|
+
size: "small",
|
|
42
42
|
key: key
|
|
43
43
|
}, children);
|
|
44
44
|
case 'EM':
|
|
45
45
|
return /*#__PURE__*/React.createElement(Text, {
|
|
46
46
|
as: "em",
|
|
47
47
|
color: "color.text.subtlest",
|
|
48
|
-
size: "
|
|
48
|
+
size: "small",
|
|
49
49
|
key: key
|
|
50
50
|
}, children);
|
|
51
51
|
case 'CODE':
|
|
@@ -331,7 +331,7 @@ var colorPickerWrapperStyles = css({
|
|
|
331
331
|
paddingRight: "var(--ds-space-100, 8px)"
|
|
332
332
|
});
|
|
333
333
|
var colorPickerLabelStyles = css({
|
|
334
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
334
|
+
font: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
335
335
|
});
|
|
336
336
|
export var EXPANDED_COLOR_PICKER_COLUMNS = 9;
|
|
337
337
|
export var ORIGINAL_COLOR_PICKER_COLUMNS = 5;
|
|
@@ -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
|
}));
|
|
@@ -15,7 +15,7 @@ var itemTextStyles = xcss({
|
|
|
15
15
|
whiteSpace: 'initial'
|
|
16
16
|
});
|
|
17
17
|
var summaryStyles = xcss({
|
|
18
|
-
font: "var(--ds-font-body-small, normal 400
|
|
18
|
+
font: "var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
19
19
|
color: 'color.text.subtlest',
|
|
20
20
|
marginTop: 'space.050',
|
|
21
21
|
whiteSpace: 'nowrap',
|
|
@@ -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.3",
|
|
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.24.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
|
},
|