@atlaskit/editor-plugin-extension 31.0.0 → 31.0.1

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.
Files changed (36) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/ui/ConfigPanel/DescriptionSummary.js +14 -8
  3. package/dist/cjs/ui/ConfigPanel/FieldMessages.js +3 -3
  4. package/dist/cjs/ui/ConfigPanel/Fields/Boolean.js +3 -3
  5. package/dist/cjs/ui/ConfigPanel/Fields/ColorPicker.js +2 -2
  6. package/dist/cjs/ui/ConfigPanel/Fields/Fieldset.js +8 -4
  7. package/dist/cjs/ui/ConfigPanel/FormErrorBoundary.js +4 -3
  8. package/dist/cjs/ui/ConfigPanel/Header/HeaderAfterIconElement.js +14 -8
  9. package/dist/cjs/ui/ConfigPanel/Header/HeaderIcon.js +6 -3
  10. package/dist/cjs/ui/ConfigPanel/Header.js +14 -8
  11. package/dist/cjs/ui/SaveIndicator/SaveIndicator.js +10 -4
  12. package/dist/cjs/ui/useConfigPanelPluginHook.js +2 -2
  13. package/dist/es2019/ui/ConfigPanel/DescriptionSummary.js +5 -1
  14. package/dist/es2019/ui/ConfigPanel/FieldMessages.js +1 -1
  15. package/dist/es2019/ui/ConfigPanel/Fields/Boolean.js +2 -2
  16. package/dist/es2019/ui/ConfigPanel/Fields/ColorPicker.js +1 -1
  17. package/dist/es2019/ui/ConfigPanel/Fields/Fieldset.js +5 -1
  18. package/dist/es2019/ui/ConfigPanel/FormErrorBoundary.js +2 -1
  19. package/dist/es2019/ui/ConfigPanel/Header/HeaderAfterIconElement.js +5 -1
  20. package/dist/es2019/ui/ConfigPanel/Header/HeaderIcon.js +3 -1
  21. package/dist/es2019/ui/ConfigPanel/Header.js +5 -1
  22. package/dist/es2019/ui/SaveIndicator/SaveIndicator.js +5 -1
  23. package/dist/es2019/ui/useConfigPanelPluginHook.js +1 -1
  24. package/dist/esm/ui/ConfigPanel/DescriptionSummary.js +5 -1
  25. package/dist/esm/ui/ConfigPanel/FieldMessages.js +1 -1
  26. package/dist/esm/ui/ConfigPanel/Fields/Boolean.js +2 -2
  27. package/dist/esm/ui/ConfigPanel/Fields/ColorPicker.js +1 -1
  28. package/dist/esm/ui/ConfigPanel/Fields/Fieldset.js +5 -1
  29. package/dist/esm/ui/ConfigPanel/FormErrorBoundary.js +2 -1
  30. package/dist/esm/ui/ConfigPanel/Header/HeaderAfterIconElement.js +5 -1
  31. package/dist/esm/ui/ConfigPanel/Header/HeaderIcon.js +3 -1
  32. package/dist/esm/ui/ConfigPanel/Header.js +5 -1
  33. package/dist/esm/ui/SaveIndicator/SaveIndicator.js +5 -1
  34. package/dist/esm/ui/useConfigPanelPluginHook.js +1 -1
  35. package/example-utils/config-panel/ConfigPanelWithExtensionPicker.tsx +3 -1
  36. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/editor-plugin-extension
2
2
 
3
+ ## 31.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 31.0.0
4
10
 
5
11
  ### Patch Changes
@@ -8,18 +8,24 @@ exports.DescriptionSummary = DescriptionSummary;
8
8
  var _react = _interopRequireWildcard(require("react"));
9
9
  var _reactIntl = require("react-intl");
10
10
  var _extensions = require("@atlaskit/editor-common/extensions");
11
- var _primitives = require("@atlaskit/primitives");
11
+ var _box = require("@atlaskit/primitives/box");
12
+ var _text = require("@atlaskit/primitives/text");
13
+ var _xcss = require("@atlaskit/primitives/xcss/xcss");
12
14
  var _HelpLink = require("./HelpLink");
13
15
  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); }
14
16
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
15
17
 
18
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
19
+
20
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
21
+
16
22
  // Ignored via go/ees005
17
23
  // eslint-disable-next-line require-unicode-regexp
18
24
  var DESCRIPTION_PERIOD_REGEX = /([^.])$/;
19
- var descriptionStyles = (0, _primitives.xcss)({
25
+ var descriptionStyles = (0, _xcss.xcss)({
20
26
  marginBottom: 'space.300'
21
27
  });
22
- var helpLinkStyles = (0, _primitives.xcss)({
28
+ var helpLinkStyles = (0, _xcss.xcss)({
23
29
  paddingTop: 'space.150'
24
30
  });
25
31
  function DescriptionSummary(_ref) {
@@ -33,16 +39,16 @@ function DescriptionSummary(_ref) {
33
39
  // This will be removed when Top 5 Modernized Macros updates are rolled out
34
40
  var modernizedMacrosList = ['children', 'recently-updated', 'excerpt'];
35
41
  var enableHelpCTA = modernizedMacrosList.includes(extensionManifest.key);
36
- return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, (description || documentationUrl) && /*#__PURE__*/_react.default.createElement(_primitives.Box, {
42
+ return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, (description || documentationUrl) && /*#__PURE__*/_react.default.createElement(_box.Box, {
37
43
  xcss: descriptionStyles
38
- }, /*#__PURE__*/_react.default.createElement(_primitives.Text, {
44
+ }, /*#__PURE__*/_react.default.createElement(_text.Text, {
39
45
  as: "p",
40
46
  testId: "config-panel-header-description"
41
- }, description && /*#__PURE__*/_react.default.createElement(_react.Fragment, null, description.replace(DESCRIPTION_PERIOD_REGEX, '$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, {
47
+ }, description && /*#__PURE__*/_react.default.createElement(_react.Fragment, null, description.replace(DESCRIPTION_PERIOD_REGEX, '$1.'), " "), (deprecation === null || deprecation === void 0 ? void 0 : deprecation.isDeprecated) && (deprecation === null || deprecation === void 0 ? void 0 : deprecation.message) && /*#__PURE__*/_react.default.createElement(_box.Box, {
42
48
  paddingBlockStart: "space.150"
43
- }, deprecation.message), documentationUrl && (enableHelpCTA ? /*#__PURE__*/_react.default.createElement(_primitives.Box, {
49
+ }, deprecation.message), documentationUrl && (enableHelpCTA ? /*#__PURE__*/_react.default.createElement(_box.Box, {
44
50
  xcss: helpLinkStyles
45
- }, /*#__PURE__*/_react.default.createElement(_primitives.Text, {
51
+ }, /*#__PURE__*/_react.default.createElement(_text.Text, {
46
52
  as: "p"
47
53
  }, /*#__PURE__*/_react.default.createElement(_HelpLink.HelpLink, {
48
54
  documentationUrl: documentationUrl,
@@ -10,7 +10,7 @@ var _reactIntl = require("react-intl");
10
10
  var _extensions = require("@atlaskit/editor-common/extensions");
11
11
  var _errorMessage = require("@atlaskit/form/error-message");
12
12
  var _helperMessage = require("@atlaskit/form/helper-message");
13
- var _compiled = require("@atlaskit/primitives/compiled");
13
+ var _text = require("@atlaskit/primitives/compiled/text");
14
14
  var _types = require("./types");
15
15
  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); }
16
16
  // sidestep XSS issues
@@ -43,14 +43,14 @@ function makeMarkup(fragment, key) {
43
43
  key: key
44
44
  }, children);
45
45
  case 'STRONG':
46
- return /*#__PURE__*/_react.default.createElement(_compiled.Text, {
46
+ return /*#__PURE__*/_react.default.createElement(_text.Text, {
47
47
  as: "strong",
48
48
  color: "color.text.subtlest",
49
49
  size: "small",
50
50
  key: key
51
51
  }, children);
52
52
  case 'EM':
53
- return /*#__PURE__*/_react.default.createElement(_compiled.Text, {
53
+ return /*#__PURE__*/_react.default.createElement(_text.Text, {
54
54
  as: "em",
55
55
  color: "color.text.subtlest",
56
56
  size: "small",
@@ -12,8 +12,8 @@ var _react = _interopRequireWildcard(require("react"));
12
12
  var _react2 = require("@emotion/react");
13
13
  var _checkbox = require("@atlaskit/checkbox/checkbox");
14
14
  var _field = _interopRequireDefault(require("@atlaskit/form/field"));
15
- var _compiled = require("@atlaskit/primitives/compiled");
16
- var _toggle = _interopRequireDefault(require("@atlaskit/toggle"));
15
+ var _text = require("@atlaskit/primitives/compiled/text");
16
+ var _toggle = _interopRequireDefault(require("@atlaskit/toggle/toggle"));
17
17
  var _FieldMessages = _interopRequireDefault(require("../FieldMessages"));
18
18
  var _types = require("../types");
19
19
  var _excluded = ["value"],
@@ -132,7 +132,7 @@ function Toggle(_ref3) {
132
132
  htmlFor: id
133
133
  }, label, isRequired ?
134
134
  // eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
135
- (0, _react2.jsx)(_compiled.Text, {
135
+ (0, _react2.jsx)(_text.Text, {
136
136
  color: "color.text.danger",
137
137
  "aria-hidden": "true"
138
138
  }, "*") : null), (0, _react2.jsx)(_toggle.default
@@ -12,7 +12,7 @@ var _paletteMessagesTokenModeNames = require("@atlaskit/editor-common/ui-color/C
12
12
  var _common = require("@atlaskit/editor-common/ui-color/ColorPalette/Palettes/common");
13
13
  var _ColorPickerButton = _interopRequireDefault(require("@atlaskit/editor-common/ui-menu/ColorPickerButton"));
14
14
  var _field = _interopRequireDefault(require("@atlaskit/form/field"));
15
- var _compiled = require("@atlaskit/primitives/compiled");
15
+ var _text = require("@atlaskit/primitives/compiled/text");
16
16
  var _FieldMessages = _interopRequireDefault(require("../FieldMessages"));
17
17
  var _utils = require("../utils");
18
18
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -402,7 +402,7 @@ var ColorPickerField = function ColorPickerField(_ref) {
402
402
  css: colorPickerWrapperStyles
403
403
  }, (0, _react2.jsx)("label", {
404
404
  css: colorPickerLabelStyles
405
- }, label, isRequired && (0, _react2.jsx)(_compiled.Text, {
405
+ }, label, isRequired && (0, _react2.jsx)(_text.Text, {
406
406
  color: "color.text.danger",
407
407
  "aria-hidden": "true"
408
408
  }, "*")), (0, _react2.jsx)(ColorPicker, {
@@ -22,7 +22,9 @@ var _button = _interopRequireDefault(require("@atlaskit/button/default/button"))
22
22
  var _extensions = require("@atlaskit/editor-common/extensions");
23
23
  var _heading = _interopRequireDefault(require("@atlaskit/heading/heading"));
24
24
  var _add = _interopRequireDefault(require("@atlaskit/icon/core/add"));
25
- var _primitives = require("@atlaskit/primitives");
25
+ var _box = require("@atlaskit/primitives/box");
26
+ var _text = require("@atlaskit/primitives/text");
27
+ var _xcss = require("@atlaskit/primitives/xcss/xcss");
26
28
  var _message = _interopRequireDefault(require("@atlaskit/section-message/message"));
27
29
  var _default2 = _interopRequireDefault(require("@atlaskit/select/default"));
28
30
  var _utils = require("../utils");
@@ -35,6 +37,8 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
35
37
  * @jsx jsx
36
38
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
37
39
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
40
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
41
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
38
42
  var actionsWrapperStyles = (0, _react2.css)({
39
43
  borderTop: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, #0B120E24)"),
40
44
  marginTop: "var(--ds-space-200, 16px)",
@@ -274,15 +278,15 @@ var FieldsetField = /*#__PURE__*/function (_React$Component) {
274
278
  }(_react.default.Component);
275
279
  function FieldsetError(_ref) {
276
280
  var message = _ref.message;
277
- return (0, _react2.jsx)(_primitives.Box, {
281
+ return (0, _react2.jsx)(_box.Box, {
278
282
  xcss: sectionMessageWrapperStyles
279
283
  }, (0, _react2.jsx)(_message.default, {
280
284
  appearance: "error"
281
- }, (0, _react2.jsx)(_primitives.Text, {
285
+ }, (0, _react2.jsx)(_text.Text, {
282
286
  as: "p"
283
287
  }, message)));
284
288
  }
285
- var sectionMessageWrapperStyles = (0, _primitives.xcss)({
289
+ var sectionMessageWrapperStyles = (0, _xcss.xcss)({
286
290
  marginBottom: 'space.300'
287
291
  });
288
292
 
@@ -20,7 +20,8 @@ var _withAnalyticsEvents = _interopRequireDefault(require("@atlaskit/analytics-n
20
20
  var _analytics = require("@atlaskit/editor-common/analytics");
21
21
  var _enums = require("@atlaskit/editor-common/analytics/types/enums");
22
22
  var _extensions = require("@atlaskit/editor-common/extensions");
23
- var _compiled = require("@atlaskit/primitives/compiled");
23
+ var _stack = require("@atlaskit/primitives/compiled/stack");
24
+ var _text = require("@atlaskit/primitives/compiled/text");
24
25
  var _message = _interopRequireDefault(require("@atlaskit/section-message/message"));
25
26
  function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
26
27
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
@@ -132,9 +133,9 @@ var FormErrorBoundaryInner = /*#__PURE__*/function (_React$Component) {
132
133
  return /*#__PURE__*/_react.default.createElement(_message.default, {
133
134
  title: intl.formatMessage(_extensions.configPanelMessages.errorBoundaryTitle),
134
135
  appearance: "error"
135
- }, /*#__PURE__*/_react.default.createElement(_compiled.Stack, null, /*#__PURE__*/_react.default.createElement(_compiled.Text, {
136
+ }, /*#__PURE__*/_react.default.createElement(_stack.Stack, null, /*#__PURE__*/_react.default.createElement(_text.Text, {
136
137
  as: "p"
137
- }, /*#__PURE__*/_react.default.createElement("i", null, error.message)), /*#__PURE__*/_react.default.createElement(_compiled.Text, {
138
+ }, /*#__PURE__*/_react.default.createElement("i", null, error.message)), /*#__PURE__*/_react.default.createElement(_text.Text, {
138
139
  as: "p"
139
140
  }, intl.formatMessage(_extensions.configPanelMessages.errorBoundaryNote))));
140
141
  }
@@ -6,11 +6,17 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
- var _primitives = require("@atlaskit/primitives");
9
+ var _box = require("@atlaskit/primitives/box");
10
+ var _flex = require("@atlaskit/primitives/components/flex");
11
+ var _xcss = require("@atlaskit/primitives/xcss/xcss");
10
12
  var _withExtensionManifest = require("../withExtensionManifest");
11
13
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
12
14
 
13
- var itemBodyStyles = (0, _primitives.xcss)({
15
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
16
+
17
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
18
+
19
+ var itemBodyStyles = (0, _xcss.xcss)({
14
20
  display: 'flex',
15
21
  flexDirection: 'row',
16
22
  flexWrap: 'nowrap',
@@ -18,11 +24,11 @@ var itemBodyStyles = (0, _primitives.xcss)({
18
24
  margin: 'space.200',
19
25
  flexGrow: 3
20
26
  });
21
- var itemTextStyles = (0, _primitives.xcss)({
27
+ var itemTextStyles = (0, _xcss.xcss)({
22
28
  maxWidth: '100%',
23
29
  whiteSpace: 'initial'
24
30
  });
25
- var summaryStyles = (0, _primitives.xcss)({
31
+ var summaryStyles = (0, _xcss.xcss)({
26
32
  font: 'font.body.small',
27
33
  color: 'color.text.subtlest',
28
34
  marginTop: 'space.050',
@@ -34,16 +40,16 @@ function HeaderAfterIconElement(_ref) {
34
40
  var extensionManifest = _ref.extensionManifest;
35
41
  var title = extensionManifest.title;
36
42
  var summary = extensionManifest.summary;
37
- return /*#__PURE__*/_react.default.createElement(_primitives.Box, {
43
+ return /*#__PURE__*/_react.default.createElement(_box.Box, {
38
44
  xcss: itemBodyStyles
39
- }, summary ? /*#__PURE__*/_react.default.createElement(_primitives.Box, {
45
+ }, summary ? /*#__PURE__*/_react.default.createElement(_box.Box, {
40
46
  xcss: itemTextStyles
41
47
  }, /*#__PURE__*/_react.default.createElement("div", {
42
48
  id: "context-panel-title",
43
49
  "data-testid": "context-panel-title"
44
- }, title), /*#__PURE__*/_react.default.createElement(_primitives.Box, {
50
+ }, title), /*#__PURE__*/_react.default.createElement(_box.Box, {
45
51
  xcss: summaryStyles
46
- }, summary)) : /*#__PURE__*/_react.default.createElement(_primitives.Flex, {
52
+ }, summary)) : /*#__PURE__*/_react.default.createElement(_flex.Flex, {
47
53
  direction: "column",
48
54
  alignItems: "center",
49
55
  testId: "context-panel-title"
@@ -6,13 +6,16 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _react = _interopRequireWildcard(require("react"));
9
- var _primitives = require("@atlaskit/primitives");
9
+ var _box = require("@atlaskit/primitives/box");
10
+ var _xcss = require("@atlaskit/primitives/xcss/xcss");
10
11
  var _withExtensionManifest = require("../withExtensionManifest");
11
12
  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); }
12
13
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
13
14
 
15
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
16
+
14
17
  var iconWidth = '40px';
15
- var itemIconStyles = (0, _primitives.xcss)({
18
+ var itemIconStyles = (0, _xcss.xcss)({
16
19
  width: iconWidth,
17
20
  height: iconWidth,
18
21
  overflow: 'hidden',
@@ -39,7 +42,7 @@ function HeaderIcon(_ref) {
39
42
  });
40
43
  });
41
44
  }, [icon]);
42
- return /*#__PURE__*/_react.default.createElement(_primitives.Box, {
45
+ return /*#__PURE__*/_react.default.createElement(_box.Box, {
43
46
  xcss: itemIconStyles
44
47
  }, /*#__PURE__*/_react.default.createElement(_react.Suspense, {
45
48
  fallback: null
@@ -12,7 +12,9 @@ var _button = _interopRequireDefault(require("@atlaskit/button/icon/button"));
12
12
  var _extensions = require("@atlaskit/editor-common/extensions");
13
13
  var _constants = require("@atlaskit/editor-shared-styles/constants");
14
14
  var _cross = _interopRequireDefault(require("@atlaskit/icon/core/cross"));
15
- var _primitives = require("@atlaskit/primitives");
15
+ var _box = require("@atlaskit/primitives/box");
16
+ var _text = require("@atlaskit/primitives/text");
17
+ var _xcss = require("@atlaskit/primitives/xcss/xcss");
16
18
  var _HelpLink = require("./HelpLink");
17
19
  /**
18
20
  * @jsxRuntime classic
@@ -25,6 +27,10 @@ var _HelpLink = require("./HelpLink");
25
27
 
26
28
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
27
29
 
30
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
31
+
32
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
33
+
28
34
  // Ignored via go/ees005
29
35
  // eslint-disable-next-line require-unicode-regexp
30
36
  var DESCRIPTION_PERIOD_REGEX = /([^.])$/;
@@ -83,10 +89,10 @@ var itemTextStyles = (0, _react2.css)({
83
89
  textOverflow: 'ellipsis'
84
90
  }
85
91
  });
86
- var descriptionStyles = (0, _primitives.xcss)({
92
+ var descriptionStyles = (0, _xcss.xcss)({
87
93
  marginBottom: 'space.300'
88
94
  });
89
- var helpLinkStyles = (0, _primitives.xcss)({
95
+ var helpLinkStyles = (0, _xcss.xcss)({
90
96
  paddingTop: 'space.150'
91
97
  });
92
98
  var closeButtonWrapperStyles = (0, _react2.css)({
@@ -146,16 +152,16 @@ var Header = function Header(_ref) {
146
152
  label: intl.formatMessage(_extensions.configPanelMessages.close),
147
153
  icon: _cross.default,
148
154
  onClick: onClose
149
- }))), (description || documentationUrl) && (0, _react2.jsx)(_primitives.Box, {
155
+ }))), (description || documentationUrl) && (0, _react2.jsx)(_box.Box, {
150
156
  xcss: descriptionStyles
151
- }, (0, _react2.jsx)(_primitives.Text, {
157
+ }, (0, _react2.jsx)(_text.Text, {
152
158
  as: "p",
153
159
  testId: "config-panel-header-description"
154
- }, description && (0, _react2.jsx)(_react.Fragment, null, description.replace(DESCRIPTION_PERIOD_REGEX, '$1.'), " "), (deprecation === null || deprecation === void 0 ? void 0 : deprecation.isDeprecated) && (deprecation === null || deprecation === void 0 ? void 0 : deprecation.message) && (0, _react2.jsx)(_primitives.Box, {
160
+ }, description && (0, _react2.jsx)(_react.Fragment, null, description.replace(DESCRIPTION_PERIOD_REGEX, '$1.'), " "), (deprecation === null || deprecation === void 0 ? void 0 : deprecation.isDeprecated) && (deprecation === null || deprecation === void 0 ? void 0 : deprecation.message) && (0, _react2.jsx)(_box.Box, {
155
161
  paddingBlockStart: "space.150"
156
- }, deprecation.message), documentationUrl && (enableHelpCTA ? (0, _react2.jsx)(_primitives.Box, {
162
+ }, deprecation.message), documentationUrl && (enableHelpCTA ? (0, _react2.jsx)(_box.Box, {
157
163
  xcss: helpLinkStyles
158
- }, (0, _react2.jsx)(_primitives.Text, {
164
+ }, (0, _react2.jsx)(_text.Text, {
159
165
  as: "p"
160
166
  }, (0, _react2.jsx)(_HelpLink.HelpLink, {
161
167
  documentationUrl: documentationUrl,
@@ -11,7 +11,9 @@ var _react2 = require("@emotion/react");
11
11
  var _reactIntl = require("react-intl");
12
12
  var _messages = require("@atlaskit/editor-common/extensions/messages");
13
13
  var _statusSuccess = _interopRequireDefault(require("@atlaskit/icon/core/status-success"));
14
- var _primitives = require("@atlaskit/primitives");
14
+ var _box = require("@atlaskit/primitives/box");
15
+ var _text = require("@atlaskit/primitives/text");
16
+ var _xcss = require("@atlaskit/primitives/xcss/xcss");
15
17
  /**
16
18
  * @jsxRuntime classic
17
19
  * @jsx jsx
@@ -21,6 +23,10 @@ var _primitives = require("@atlaskit/primitives");
21
23
 
22
24
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
23
25
 
26
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
27
+
28
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
29
+
24
30
  var noop = function noop() {};
25
31
  var saveIndicatorWrapperStyles = (0, _react2.css)({
26
32
  display: 'flex',
@@ -39,7 +45,7 @@ var saveIndicatorContentStyles = (0, _react2.css)({
39
45
  boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)",
40
46
  borderRadius: "var(--ds-radius-xxlarge, 16px)"
41
47
  });
42
- var saveIndicatorTextStyles = (0, _primitives.xcss)({
48
+ var saveIndicatorTextStyles = (0, _xcss.xcss)({
43
49
  paddingLeft: 'space.075'
44
50
  });
45
51
  var SaveIndicator = exports.SaveIndicator = function SaveIndicator(_ref) {
@@ -80,9 +86,9 @@ var SaveIndicator = exports.SaveIndicator = function SaveIndicator(_ref) {
80
86
  label: "Saving",
81
87
  color: "var(--ds-icon-success, #6A9A23)",
82
88
  spacing: "none"
83
- }), (0, _react2.jsx)(_primitives.Box, {
89
+ }), (0, _react2.jsx)(_box.Box, {
84
90
  xcss: saveIndicatorTextStyles
85
- }, (0, _react2.jsx)(_primitives.Text, null, (0, _react2.jsx)(_reactIntl.FormattedMessage
91
+ }, (0, _react2.jsx)(_text.Text, null, (0, _react2.jsx)(_reactIntl.FormattedMessage
86
92
  // Ignored via go/ees005
87
93
  // eslint-disable-next-line react/jsx-props-no-spreading
88
94
  , _messages.messages.saveIndicator))))));
@@ -16,7 +16,7 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
16
16
  var _react = _interopRequireWildcard(require("react"));
17
17
  var _manifestHelpers = require("@atlaskit/editor-common/extensions/manifest-helpers");
18
18
  var _useSharedPluginStateWithSelector = require("@atlaskit/editor-common/useSharedPluginStateWithSelector");
19
- var _compiled = require("@atlaskit/primitives/compiled");
19
+ var _box = require("@atlaskit/primitives/compiled/box");
20
20
  var _commands = require("../editor-commands/commands");
21
21
  var _pluginFactory = require("../pm-plugins/plugin-factory");
22
22
  var _utils = require("../pm-plugins/utils");
@@ -230,7 +230,7 @@ var getContextPanelBodyComponent = exports.getContextPanelBodyComponent = functi
230
230
  nodeKey = _getExtensionKeyAndNo4[1];
231
231
  var configParams = processParametersBefore ? processParametersBefore(parameters || {}) : parameters;
232
232
  return function () {
233
- return /*#__PURE__*/_react.default.createElement(_compiled.Box, {
233
+ return /*#__PURE__*/_react.default.createElement(_box.Box, {
234
234
  padding: "space.200"
235
235
  }, /*#__PURE__*/_react.default.createElement(_SaveIndicator.SaveIndicator, {
236
236
  duration: 5000,
@@ -2,7 +2,11 @@ import React, { Fragment } from 'react';
2
2
  import { useIntl } from 'react-intl';
3
3
  import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
4
4
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
5
- import { Box, Text, xcss } from '@atlaskit/primitives';
5
+ import { Box } from '@atlaskit/primitives/box';
6
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
7
+ import { Text } from '@atlaskit/primitives/text';
8
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
9
+ import { xcss } from '@atlaskit/primitives/xcss/xcss';
6
10
  import { HelpLink } from './HelpLink';
7
11
 
8
12
  // Ignored via go/ees005
@@ -3,7 +3,7 @@ import { injectIntl } from 'react-intl';
3
3
  import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
4
4
  import { ErrorMessage } from '@atlaskit/form/error-message';
5
5
  import { HelperMessage } from '@atlaskit/form/helper-message';
6
- import { Text } from '@atlaskit/primitives/compiled';
6
+ import { Text } from '@atlaskit/primitives/compiled/text';
7
7
  import { FieldTypeError, ValidationError } from './types';
8
8
 
9
9
  // sidestep XSS issues
@@ -9,8 +9,8 @@ import React, { Fragment } from 'react';
9
9
  import { css, jsx } from '@emotion/react';
10
10
  import { Checkbox as AKCheckbox } from '@atlaskit/checkbox/checkbox';
11
11
  import Field from '@atlaskit/form/field';
12
- import { Text } from '@atlaskit/primitives/compiled';
13
- import AKToggle from '@atlaskit/toggle';
12
+ import { Text } from '@atlaskit/primitives/compiled/text';
13
+ import AKToggle from '@atlaskit/toggle/toggle';
14
14
  import FieldMessages from '../FieldMessages';
15
15
  import { ValidationError } from '../types';
16
16
  const toggleFieldWrapperStyles = css({
@@ -10,7 +10,7 @@ import { chartsColorPaletteTooltipMessages } from '@atlaskit/editor-common/ui-co
10
10
  import { DEFAULT_BORDER_COLOR } from '@atlaskit/editor-common/ui-color/ColorPalette/Palettes/common';
11
11
  import ColorPickerButton from '@atlaskit/editor-common/ui-menu/ColorPickerButton';
12
12
  import Field from '@atlaskit/form/field';
13
- import { Text } from '@atlaskit/primitives/compiled';
13
+ import { Text } from '@atlaskit/primitives/compiled/text';
14
14
  import FieldMessages from '../FieldMessages';
15
15
  import { validate } from '../utils';
16
16
 
@@ -14,7 +14,11 @@ import { configPanelMessages as messages } from '@atlaskit/editor-common/extensi
14
14
  import Heading from '@atlaskit/heading/heading';
15
15
  import AddCircleIcon from '@atlaskit/icon/core/add';
16
16
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
17
- import { Box, Text, xcss } from '@atlaskit/primitives';
17
+ import { Box } from '@atlaskit/primitives/box';
18
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
19
+ import { Text } from '@atlaskit/primitives/text';
20
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
21
+ import { xcss } from '@atlaskit/primitives/xcss/xcss';
18
22
  import SectionMessage from '@atlaskit/section-message/message';
19
23
  import Select from '@atlaskit/select/default';
20
24
  import { getNameFromDuplicateField, isDuplicateField } from '../utils';
@@ -6,7 +6,8 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
6
6
  import { editorAnalyticsChannel } from '@atlaskit/editor-common/analytics';
7
7
  import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics/types/enums';
8
8
  import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
9
- import { Stack, Text } from '@atlaskit/primitives/compiled';
9
+ import { Stack } from '@atlaskit/primitives/compiled/stack';
10
+ import { Text } from '@atlaskit/primitives/compiled/text';
10
11
  import SectionMessage from '@atlaskit/section-message/message';
11
12
  // eslint-disable-next-line @repo/internal/react/no-class-components
12
13
  class FormErrorBoundaryInner extends React.Component {
@@ -1,6 +1,10 @@
1
1
  import React from 'react';
2
2
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
3
- import { Box, Flex, xcss } from '@atlaskit/primitives';
3
+ import { Box } from '@atlaskit/primitives/box';
4
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
5
+ import { Flex } from '@atlaskit/primitives/components/flex';
6
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
7
+ import { xcss } from '@atlaskit/primitives/xcss/xcss';
4
8
  import { withExtensionManifest } from '../withExtensionManifest';
5
9
  const itemBodyStyles = xcss({
6
10
  display: 'flex',
@@ -1,6 +1,8 @@
1
1
  import React, { Suspense, lazy, useMemo } from 'react';
2
2
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
3
- import { Box, xcss } from '@atlaskit/primitives';
3
+ import { Box } from '@atlaskit/primitives/box';
4
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
5
+ import { xcss } from '@atlaskit/primitives/xcss/xcss';
4
6
  import { withExtensionManifest } from '../withExtensionManifest';
5
7
  const iconWidth = '40px';
6
8
  const itemIconStyles = xcss({
@@ -14,7 +14,11 @@ import { configPanelMessages as messages } from '@atlaskit/editor-common/extensi
14
14
  import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles/constants';
15
15
  import CrossIcon from '@atlaskit/icon/core/cross';
16
16
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
17
- import { Box, Text, xcss } from '@atlaskit/primitives';
17
+ import { Box } from '@atlaskit/primitives/box';
18
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
19
+ import { Text } from '@atlaskit/primitives/text';
20
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
21
+ import { xcss } from '@atlaskit/primitives/xcss/xcss';
18
22
  import { HelpLink } from './HelpLink';
19
23
 
20
24
  // Ignored via go/ees005
@@ -10,7 +10,11 @@ import { FormattedMessage } from 'react-intl';
10
10
  import { messages } from '@atlaskit/editor-common/extensions/messages';
11
11
  import CheckCircleIcon from '@atlaskit/icon/core/status-success';
12
12
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
13
- import { Box, Text, xcss } from '@atlaskit/primitives';
13
+ import { Box } from '@atlaskit/primitives/box';
14
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
15
+ import { Text } from '@atlaskit/primitives/text';
16
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
17
+ import { xcss } from '@atlaskit/primitives/xcss/xcss';
14
18
  const noop = () => {};
15
19
  const saveIndicatorWrapperStyles = css({
16
20
  display: 'flex',
@@ -1,7 +1,7 @@
1
1
  import React, { useEffect } from 'react';
2
2
  import { getExtensionKeyAndNodeKey } from '@atlaskit/editor-common/extensions/manifest-helpers';
3
3
  import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/useSharedPluginStateWithSelector';
4
- import { Box } from '@atlaskit/primitives/compiled';
4
+ import { Box } from '@atlaskit/primitives/compiled/box';
5
5
  import { clearEditingContext, forceAutoSave } from '../editor-commands/commands';
6
6
  import { getPluginState } from '../pm-plugins/plugin-factory';
7
7
  import { getSelectedExtension } from '../pm-plugins/utils';
@@ -2,7 +2,11 @@ import React, { Fragment } from 'react';
2
2
  import { useIntl } from 'react-intl';
3
3
  import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
4
4
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
5
- import { Box, Text, xcss } from '@atlaskit/primitives';
5
+ import { Box } from '@atlaskit/primitives/box';
6
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
7
+ import { Text } from '@atlaskit/primitives/text';
8
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
9
+ import { xcss } from '@atlaskit/primitives/xcss/xcss';
6
10
  import { HelpLink } from './HelpLink';
7
11
 
8
12
  // Ignored via go/ees005
@@ -3,7 +3,7 @@ import { injectIntl } from 'react-intl';
3
3
  import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
4
4
  import { ErrorMessage } from '@atlaskit/form/error-message';
5
5
  import { HelperMessage } from '@atlaskit/form/helper-message';
6
- import { Text } from '@atlaskit/primitives/compiled';
6
+ import { Text } from '@atlaskit/primitives/compiled/text';
7
7
  import { FieldTypeError, ValidationError } from './types';
8
8
 
9
9
  // sidestep XSS issues
@@ -12,8 +12,8 @@ import React, { Fragment } from 'react';
12
12
  import { css, jsx } from '@emotion/react';
13
13
  import { Checkbox as AKCheckbox } from '@atlaskit/checkbox/checkbox';
14
14
  import Field from '@atlaskit/form/field';
15
- import { Text } from '@atlaskit/primitives/compiled';
16
- import AKToggle from '@atlaskit/toggle';
15
+ import { Text } from '@atlaskit/primitives/compiled/text';
16
+ import AKToggle from '@atlaskit/toggle/toggle';
17
17
  import FieldMessages from '../FieldMessages';
18
18
  import { ValidationError } from '../types';
19
19
  var toggleFieldWrapperStyles = css({
@@ -13,7 +13,7 @@ import { chartsColorPaletteTooltipMessages } from '@atlaskit/editor-common/ui-co
13
13
  import { DEFAULT_BORDER_COLOR } from '@atlaskit/editor-common/ui-color/ColorPalette/Palettes/common';
14
14
  import ColorPickerButton from '@atlaskit/editor-common/ui-menu/ColorPickerButton';
15
15
  import Field from '@atlaskit/form/field';
16
- import { Text } from '@atlaskit/primitives/compiled';
16
+ import { Text } from '@atlaskit/primitives/compiled/text';
17
17
  import FieldMessages from '../FieldMessages';
18
18
  import { validate as _validate } from '../utils';
19
19
 
@@ -25,7 +25,11 @@ import { configPanelMessages as messages } from '@atlaskit/editor-common/extensi
25
25
  import Heading from '@atlaskit/heading/heading';
26
26
  import AddCircleIcon from '@atlaskit/icon/core/add';
27
27
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
28
- import { Box, Text, xcss } from '@atlaskit/primitives';
28
+ import { Box } from '@atlaskit/primitives/box';
29
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
30
+ import { Text } from '@atlaskit/primitives/text';
31
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
32
+ import { xcss } from '@atlaskit/primitives/xcss/xcss';
29
33
  import SectionMessage from '@atlaskit/section-message/message';
30
34
  import Select from '@atlaskit/select/default';
31
35
  import { getNameFromDuplicateField, isDuplicateField } from '../utils';
@@ -15,7 +15,8 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
15
15
  import { editorAnalyticsChannel } from '@atlaskit/editor-common/analytics';
16
16
  import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics/types/enums';
17
17
  import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
18
- import { Stack, Text } from '@atlaskit/primitives/compiled';
18
+ import { Stack } from '@atlaskit/primitives/compiled/stack';
19
+ import { Text } from '@atlaskit/primitives/compiled/text';
19
20
  import SectionMessage from '@atlaskit/section-message/message';
20
21
  // eslint-disable-next-line @repo/internal/react/no-class-components
21
22
  var FormErrorBoundaryInner = /*#__PURE__*/function (_React$Component) {
@@ -1,6 +1,10 @@
1
1
  import React from 'react';
2
2
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
3
- import { Box, Flex, xcss } from '@atlaskit/primitives';
3
+ import { Box } from '@atlaskit/primitives/box';
4
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
5
+ import { Flex } from '@atlaskit/primitives/components/flex';
6
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
7
+ import { xcss } from '@atlaskit/primitives/xcss/xcss';
4
8
  import { withExtensionManifest } from '../withExtensionManifest';
5
9
  var itemBodyStyles = xcss({
6
10
  display: 'flex',
@@ -1,6 +1,8 @@
1
1
  import React, { Suspense, lazy, useMemo } from 'react';
2
2
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
3
- import { Box, xcss } from '@atlaskit/primitives';
3
+ import { Box } from '@atlaskit/primitives/box';
4
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
5
+ import { xcss } from '@atlaskit/primitives/xcss/xcss';
4
6
  import { withExtensionManifest } from '../withExtensionManifest';
5
7
  var iconWidth = '40px';
6
8
  var itemIconStyles = xcss({
@@ -14,7 +14,11 @@ import { configPanelMessages as messages } from '@atlaskit/editor-common/extensi
14
14
  import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles/constants';
15
15
  import CrossIcon from '@atlaskit/icon/core/cross';
16
16
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
17
- import { Box, Text, xcss } from '@atlaskit/primitives';
17
+ import { Box } from '@atlaskit/primitives/box';
18
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
19
+ import { Text } from '@atlaskit/primitives/text';
20
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
21
+ import { xcss } from '@atlaskit/primitives/xcss/xcss';
18
22
  import { HelpLink } from './HelpLink';
19
23
 
20
24
  // Ignored via go/ees005
@@ -11,7 +11,11 @@ import { FormattedMessage } from 'react-intl';
11
11
  import { messages } from '@atlaskit/editor-common/extensions/messages';
12
12
  import CheckCircleIcon from '@atlaskit/icon/core/status-success';
13
13
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
14
- import { Box, Text, xcss } from '@atlaskit/primitives';
14
+ import { Box } from '@atlaskit/primitives/box';
15
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
16
+ import { Text } from '@atlaskit/primitives/text';
17
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
18
+ import { xcss } from '@atlaskit/primitives/xcss/xcss';
15
19
  var noop = function noop() {};
16
20
  var saveIndicatorWrapperStyles = css({
17
21
  display: 'flex',
@@ -4,7 +4,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
4
4
  import React, { useEffect } from 'react';
5
5
  import { getExtensionKeyAndNodeKey } from '@atlaskit/editor-common/extensions/manifest-helpers';
6
6
  import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/useSharedPluginStateWithSelector';
7
- import { Box } from '@atlaskit/primitives/compiled';
7
+ import { Box } from '@atlaskit/primitives/compiled/box';
8
8
  import { clearEditingContext, forceAutoSave } from '../editor-commands/commands';
9
9
  import { getPluginState } from '../pm-plugins/plugin-factory';
10
10
  import { getSelectedExtension } from '../pm-plugins/utils';
@@ -18,7 +18,9 @@ import type { ExtensionProvider } from '@atlaskit/editor-common/extensions/exten
18
18
  import { getExtensionKeyAndNodeKey } from '@atlaskit/editor-common/extensions/manifest-helpers';
19
19
  import Heading from '@atlaskit/heading/heading';
20
20
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
21
- import { Box, xcss } from '@atlaskit/primitives';
21
+ import { Box } from '@atlaskit/primitives/box';
22
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
23
+ import { xcss } from '@atlaskit/primitives/xcss/xcss';
22
24
  import TextArea from '@atlaskit/textarea/text-area';
23
25
  import { token } from '@atlaskit/tokens';
24
26
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-extension",
3
- "version": "31.0.0",
3
+ "version": "31.0.1",
4
4
  "description": "editor-plugin-extension plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -69,7 +69,7 @@
69
69
  "@atlaskit/tabs": "^21.3.0",
70
70
  "@atlaskit/textarea": "^10.2.0",
71
71
  "@atlaskit/textfield": "^10.2.0",
72
- "@atlaskit/tmp-editor-statsig": "^240.0.0",
72
+ "@atlaskit/tmp-editor-statsig": "^241.0.0",
73
73
  "@atlaskit/toggle": "^17.3.0",
74
74
  "@atlaskit/tokens": "^20.6.0",
75
75
  "@atlaskit/tooltip": "^24.4.0",