@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 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: "UNSAFE_small",
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: "UNSAFE_small",
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 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
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: "UNSAFE_small",
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: "UNSAFE_small",
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 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
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',
@@ -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') {
@@ -65,7 +65,6 @@ export const SaveIndicator = ({
65
65
  }, jsx(CheckCircleIcon, {
66
66
  label: "Saving",
67
67
  color: `var(--ds-icon-success, ${G300})`,
68
- LEGACY_size: "small",
69
68
  spacing: "none"
70
69
  }), jsx(Box, {
71
70
  xcss: saveIndicatorTextStyles
@@ -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: "UNSAFE_small",
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: "UNSAFE_small",
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 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
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',
@@ -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') {
@@ -71,7 +71,6 @@ export var SaveIndicator = function SaveIndicator(_ref) {
71
71
  }, jsx(CheckCircleIcon, {
72
72
  label: "Saving",
73
73
  color: "var(--ds-icon-success, ".concat(G300, ")"),
74
- LEGACY_size: "small",
75
74
  spacing: "none"
76
75
  }), jsx(Box, {
77
76
  xcss: saveIndicatorTextStyles
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-extension",
3
- "version": "10.0.1",
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.6.0",
27
+ "@atlaskit/avatar": "^25.7.0",
28
28
  "@atlaskit/button": "^23.9.0",
29
- "@atlaskit/checkbox": "^17.2.0",
30
- "@atlaskit/datetime-picker": "^17.3.0",
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.2.0",
44
+ "@atlaskit/form": "^15.3.0",
45
45
  "@atlaskit/heading": "^5.2.0",
46
- "@atlaskit/icon": "^29.3.0",
47
- "@atlaskit/link": "^3.2.0",
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.0.0",
50
- "@atlaskit/radio": "^8.3.0",
51
- "@atlaskit/section-message": "^8.11.0",
52
- "@atlaskit/select": "^21.6.0",
53
- "@atlaskit/smart-user-picker": "^8.5.0",
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.3.0",
59
+ "@atlaskit/tmp-editor-statsig": "^16.24.0",
60
60
  "@atlaskit/toggle": "^15.2.0",
61
- "@atlaskit/tokens": "^9.0.0",
62
- "@atlaskit/tooltip": "^20.11.0",
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.0.0",
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
  },