@atlaskit/editor-plugin-extension 1.6.0 → 1.7.0

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 (48) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/cjs/pm-plugins/main.js +9 -5
  3. package/dist/cjs/ui/ConfigPanel/ErrorMessage/ErrorImage.js +1 -0
  4. package/dist/cjs/ui/ConfigPanel/Fields/Boolean.js +1 -0
  5. package/dist/cjs/ui/ConfigPanel/Fields/CheckboxGroup.js +1 -0
  6. package/dist/cjs/ui/ConfigPanel/Fields/ColorPicker.js +1 -1
  7. package/dist/cjs/ui/ConfigPanel/Fields/DateRange.js +1 -1
  8. package/dist/cjs/ui/ConfigPanel/Fields/Expand.js +2 -0
  9. package/dist/cjs/ui/ConfigPanel/Fields/Fieldset.js +1 -1
  10. package/dist/cjs/ui/ConfigPanel/Fields/SelectItem.js +1 -0
  11. package/dist/cjs/ui/ConfigPanel/Fields/TabGroup.js +2 -0
  12. package/dist/cjs/ui/ConfigPanel/Fields/common/RequiredIndicator.js +2 -0
  13. package/dist/cjs/ui/ConfigPanel/Header.js +2 -0
  14. package/dist/cjs/ui/ConfigPanel/LoadingState.js +1 -0
  15. package/dist/cjs/ui/ConfigPanel/NestedForms/RemovableField.js +2 -0
  16. package/dist/cjs/ui/SaveIndicator/SaveIndicator.js +2 -0
  17. package/dist/es2019/pm-plugins/main.js +9 -5
  18. package/dist/es2019/ui/ConfigPanel/ErrorMessage/ErrorImage.js +1 -0
  19. package/dist/es2019/ui/ConfigPanel/Fields/Boolean.js +2 -0
  20. package/dist/es2019/ui/ConfigPanel/Fields/CheckboxGroup.js +2 -0
  21. package/dist/es2019/ui/ConfigPanel/Fields/ColorPicker.js +2 -0
  22. package/dist/es2019/ui/ConfigPanel/Fields/DateRange.js +2 -0
  23. package/dist/es2019/ui/ConfigPanel/Fields/Expand.js +2 -0
  24. package/dist/es2019/ui/ConfigPanel/Fields/Fieldset.js +2 -0
  25. package/dist/es2019/ui/ConfigPanel/Fields/SelectItem.js +1 -0
  26. package/dist/es2019/ui/ConfigPanel/Fields/TabGroup.js +2 -0
  27. package/dist/es2019/ui/ConfigPanel/Fields/common/RequiredIndicator.js +1 -0
  28. package/dist/es2019/ui/ConfigPanel/Header.js +2 -0
  29. package/dist/es2019/ui/ConfigPanel/LoadingState.js +1 -0
  30. package/dist/es2019/ui/ConfigPanel/NestedForms/RemovableField.js +2 -0
  31. package/dist/es2019/ui/SaveIndicator/SaveIndicator.js +2 -0
  32. package/dist/esm/pm-plugins/main.js +9 -5
  33. package/dist/esm/ui/ConfigPanel/ErrorMessage/ErrorImage.js +1 -0
  34. package/dist/esm/ui/ConfigPanel/Fields/Boolean.js +2 -0
  35. package/dist/esm/ui/ConfigPanel/Fields/CheckboxGroup.js +2 -0
  36. package/dist/esm/ui/ConfigPanel/Fields/ColorPicker.js +2 -0
  37. package/dist/esm/ui/ConfigPanel/Fields/DateRange.js +2 -0
  38. package/dist/esm/ui/ConfigPanel/Fields/Expand.js +2 -0
  39. package/dist/esm/ui/ConfigPanel/Fields/Fieldset.js +2 -0
  40. package/dist/esm/ui/ConfigPanel/Fields/SelectItem.js +1 -0
  41. package/dist/esm/ui/ConfigPanel/Fields/TabGroup.js +2 -0
  42. package/dist/esm/ui/ConfigPanel/Fields/common/RequiredIndicator.js +1 -0
  43. package/dist/esm/ui/ConfigPanel/Header.js +2 -0
  44. package/dist/esm/ui/ConfigPanel/LoadingState.js +1 -0
  45. package/dist/esm/ui/ConfigPanel/NestedForms/RemovableField.js +2 -0
  46. package/dist/esm/ui/SaveIndicator/SaveIndicator.js +2 -0
  47. package/example-utils/config-panel/ConfigPanelWithExtensionPicker.tsx +1 -0
  48. package/package.json +42 -27
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @atlaskit/editor-plugin-extension
2
2
 
3
+ ## 1.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#112575](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/112575)
8
+ [`63dcaae87255b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/63dcaae87255b) -
9
+ Passes new FF for new experiment to macro code and updates type to be object from boolean to
10
+ account for multiple FFs
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
16
+ ## 1.6.1
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies
21
+
3
22
  ## 1.6.0
4
23
 
5
24
  ### Minor Changes
@@ -187,7 +187,7 @@ var handleUpdate = exports.handleUpdate = function handleUpdate(_ref3) {
187
187
  return true;
188
188
  };
189
189
  var createPlugin = exports.createPlugin = function createPlugin(dispatch, providerFactory, extensionHandlers, portalProviderAPI, eventDispatcher, pluginInjectionApi) {
190
- var _featureFlags$macroIn, _featureFlags$macroIn2, _featureFlags$macroIn3, _featureFlags$macroIn4;
190
+ var _featureFlags$macroIn, _featureFlags$macroIn2;
191
191
  var useLongPressSelection = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : false;
192
192
  var options = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : {};
193
193
  var featureFlags = arguments.length > 8 ? arguments[8] : undefined;
@@ -198,6 +198,10 @@ var createPlugin = exports.createPlugin = function createPlugin(dispatch, provid
198
198
  var extensionNodeViewOptions = {
199
199
  appearance: options.appearance
200
200
  };
201
+ var macroInteractionDesignFeatureFlags = {
202
+ showMacroInteractionDesignUpdates: (_featureFlags$macroIn = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionUpdates) !== null && _featureFlags$macroIn !== void 0 ? _featureFlags$macroIn : false,
203
+ showMacroButtonUpdates: (_featureFlags$macroIn2 = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionButtonUpdates) !== null && _featureFlags$macroIn2 !== void 0 ? _featureFlags$macroIn2 : false
204
+ };
201
205
  return new _safePlugin.SafePlugin({
202
206
  state: state,
203
207
  view: function view(editorView) {
@@ -294,12 +298,12 @@ var createPlugin = exports.createPlugin = function createPlugin(dispatch, provid
294
298
  },
295
299
  nodeViews: {
296
300
  // WARNING: referentiality-plugin also creates these nodeviews
297
- extension: (0, _extensibility.ExtensionNodeView)(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, (_featureFlags$macroIn = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionUpdates) !== null && _featureFlags$macroIn !== void 0 ? _featureFlags$macroIn : false),
301
+ extension: (0, _extensibility.ExtensionNodeView)(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, macroInteractionDesignFeatureFlags),
298
302
  // WARNING: referentiality-plugin also creates these nodeviews
299
- bodiedExtension: (0, _extensibility.ExtensionNodeView)(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, (_featureFlags$macroIn2 = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionUpdates) !== null && _featureFlags$macroIn2 !== void 0 ? _featureFlags$macroIn2 : false),
303
+ bodiedExtension: (0, _extensibility.ExtensionNodeView)(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, macroInteractionDesignFeatureFlags),
300
304
  // WARNING: referentiality-plugin also creates these nodeviews
301
- inlineExtension: (0, _extensibility.ExtensionNodeView)(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, (_featureFlags$macroIn3 = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionUpdates) !== null && _featureFlags$macroIn3 !== void 0 ? _featureFlags$macroIn3 : false),
302
- multiBodiedExtension: (0, _extensibility.ExtensionNodeView)(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, (_featureFlags$macroIn4 = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionUpdates) !== null && _featureFlags$macroIn4 !== void 0 ? _featureFlags$macroIn4 : false)
305
+ inlineExtension: (0, _extensibility.ExtensionNodeView)(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, macroInteractionDesignFeatureFlags),
306
+ multiBodiedExtension: (0, _extensibility.ExtensionNodeView)(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, macroInteractionDesignFeatureFlags)
303
307
  },
304
308
  createSelectionBetween: function createSelectionBetween(view, anchor, head) {
305
309
  if (!(0, _platformFeatureFlags.getBooleanFF)('platform.editor.multi-bodied-extension_0rygg')) {
@@ -8,6 +8,7 @@ var _react = require("@emotion/react");
8
8
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
9
9
  // Quality Ticket: https://product-fabric.atlassian.net/browse/DSP-4249
10
10
  /** @jsx jsx */
11
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
12
 
12
13
  var imageContainerStyles = (0, _react.css)({
13
14
  margin: "0 auto ".concat("var(--ds-space-300, 24px)"),
@@ -19,6 +19,7 @@ var _RequiredIndicator = require("./common/RequiredIndicator");
19
19
  var _excluded = ["value"],
20
20
  _excluded2 = ["id", "value"];
21
21
  /** @jsx jsx */
22
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
22
23
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
23
24
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
24
25
  var toggleFieldWrapperStyles = (0, _react2.css)({
@@ -16,6 +16,7 @@ var _FieldMessages = _interopRequireDefault(require("../FieldMessages"));
16
16
  var _types = require("../types");
17
17
  var _excluded = ["onChange", "value"];
18
18
  /** @jsx jsx */
19
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
19
20
  function _validate(value, isRequired) {
20
21
  if (isRequired && !(value !== null && value !== void 0 && value.length)) {
21
22
  return _types.ValidationError.Required;
@@ -16,7 +16,7 @@ var _FieldMessages = _interopRequireDefault(require("../FieldMessages"));
16
16
  var _utils = require("../utils");
17
17
  var _RequiredIndicator = require("./common/RequiredIndicator");
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; }
19
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /** @jsx jsx */
19
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /** @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
20
20
  /*
21
21
  NOTE: color used here are not yet in atlaskit code
22
22
  this is part of extended color pack from ADG, which is yet to be release
@@ -20,7 +20,7 @@ var _textfield = _interopRequireDefault(require("@atlaskit/textfield"));
20
20
  var _FieldMessages = _interopRequireDefault(require("../FieldMessages"));
21
21
  var _utils = require("../utils");
22
22
  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; }
23
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /** @jsx jsx */
23
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /** @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
24
24
  var horizontalFieldsStyles = (0, _react2.css)({
25
25
  display: 'flex',
26
26
  flexDirection: 'row',
@@ -19,6 +19,8 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
19
19
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
20
20
  /** @jsx jsx */
21
21
 
22
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
23
+
22
24
  var expandContainerStyles = (0, _react2.css)({
23
25
  borderBottom: "1px solid ".concat("var(--ds-border, ".concat(_colors.N40, ")"))
24
26
  });
@@ -31,7 +31,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
31
31
  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; }
32
32
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
33
33
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
34
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */
34
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
35
35
  var actionsWrapperStyles = (0, _react2.css)({
36
36
  borderTop: "1px solid ".concat("var(--ds-border, ".concat(_colors.N40A, ")")),
37
37
  marginTop: "var(--ds-space-200, 16px)",
@@ -8,6 +8,7 @@ exports.formatOptionLabel = void 0;
8
8
  var _react = require("@emotion/react");
9
9
  var _avatar = _interopRequireDefault(require("@atlaskit/avatar"));
10
10
  /** @jsx jsx */
11
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
12
 
12
13
  var itemWrapperStyles = (0, _react.css)({
13
14
  display: 'flex',
@@ -15,6 +15,8 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
15
15
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
16
16
  /** @jsx jsx */
17
17
 
18
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
19
+
18
20
  var panelWrapperStyles = (0, _react2.css)({
19
21
  flexGrow: 1,
20
22
  maxWidth: '100%'
@@ -6,6 +6,8 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.requiredIndicator = void 0;
7
7
  var _react = require("@emotion/react");
8
8
  var _colors = require("@atlaskit/theme/colors");
9
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
10
+
9
11
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
10
12
  var requiredIndicator = exports.requiredIndicator = (0, _react.css)({
11
13
  color: "var(--ds-text-danger, ".concat(_colors.R500, ")")
@@ -17,6 +17,8 @@ var _colors = require("@atlaskit/theme/colors");
17
17
  var _constants = require("@atlaskit/theme/constants");
18
18
  /** @jsx jsx */
19
19
 
20
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
21
+
20
22
  var iconWidth = 40;
21
23
  var buttonWidth = 40;
22
24
  var margin = 16;
@@ -8,6 +8,7 @@ exports.default = void 0;
8
8
  var _react = require("@emotion/react");
9
9
  var _spinner = _interopRequireDefault(require("@atlaskit/spinner"));
10
10
  /** @jsx jsx */
11
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
12
 
12
13
  var spinnerWrapperStyles = (0, _react.css)({
13
14
  display: 'flex',
@@ -14,6 +14,8 @@ var _colors = require("@atlaskit/theme/colors");
14
14
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
15
15
  /** @jsx jsx */
16
16
 
17
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
18
+
17
19
  var removableFieldWrapperStyles = (0, _react2.css)({
18
20
  position: 'relative',
19
21
  marginBottom: 0
@@ -14,6 +14,8 @@ var _checkCircle = _interopRequireDefault(require("@atlaskit/icon/glyph/check-ci
14
14
  var _colors = require("@atlaskit/theme/colors");
15
15
  /** @jsx jsx */
16
16
 
17
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
18
+
17
19
  var noop = function noop() {};
18
20
  var saveIndicatorWrapperStyles = (0, _react2.css)({
19
21
  display: 'flex',
@@ -116,7 +116,7 @@ export const handleUpdate = ({
116
116
  return true;
117
117
  };
118
118
  const createPlugin = (dispatch, providerFactory, extensionHandlers, portalProviderAPI, eventDispatcher, pluginInjectionApi, useLongPressSelection = false, options = {}, featureFlags) => {
119
- var _featureFlags$macroIn, _featureFlags$macroIn2, _featureFlags$macroIn3, _featureFlags$macroIn4;
119
+ var _featureFlags$macroIn, _featureFlags$macroIn2;
120
120
  const state = createPluginState(dispatch, {
121
121
  showEditButton: false,
122
122
  showContextPanel: false
@@ -124,6 +124,10 @@ const createPlugin = (dispatch, providerFactory, extensionHandlers, portalProvid
124
124
  const extensionNodeViewOptions = {
125
125
  appearance: options.appearance
126
126
  };
127
+ const macroInteractionDesignFeatureFlags = {
128
+ showMacroInteractionDesignUpdates: (_featureFlags$macroIn = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionUpdates) !== null && _featureFlags$macroIn !== void 0 ? _featureFlags$macroIn : false,
129
+ showMacroButtonUpdates: (_featureFlags$macroIn2 = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionButtonUpdates) !== null && _featureFlags$macroIn2 !== void 0 ? _featureFlags$macroIn2 : false
130
+ };
127
131
  return new SafePlugin({
128
132
  state,
129
133
  view: editorView => {
@@ -229,12 +233,12 @@ const createPlugin = (dispatch, providerFactory, extensionHandlers, portalProvid
229
233
  },
230
234
  nodeViews: {
231
235
  // WARNING: referentiality-plugin also creates these nodeviews
232
- extension: ExtensionNodeView(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, (_featureFlags$macroIn = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionUpdates) !== null && _featureFlags$macroIn !== void 0 ? _featureFlags$macroIn : false),
236
+ extension: ExtensionNodeView(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, macroInteractionDesignFeatureFlags),
233
237
  // WARNING: referentiality-plugin also creates these nodeviews
234
- bodiedExtension: ExtensionNodeView(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, (_featureFlags$macroIn2 = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionUpdates) !== null && _featureFlags$macroIn2 !== void 0 ? _featureFlags$macroIn2 : false),
238
+ bodiedExtension: ExtensionNodeView(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, macroInteractionDesignFeatureFlags),
235
239
  // WARNING: referentiality-plugin also creates these nodeviews
236
- inlineExtension: ExtensionNodeView(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, (_featureFlags$macroIn3 = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionUpdates) !== null && _featureFlags$macroIn3 !== void 0 ? _featureFlags$macroIn3 : false),
237
- multiBodiedExtension: ExtensionNodeView(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, (_featureFlags$macroIn4 = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionUpdates) !== null && _featureFlags$macroIn4 !== void 0 ? _featureFlags$macroIn4 : false)
240
+ inlineExtension: ExtensionNodeView(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, macroInteractionDesignFeatureFlags),
241
+ multiBodiedExtension: ExtensionNodeView(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, macroInteractionDesignFeatureFlags)
238
242
  },
239
243
  createSelectionBetween: function (view, anchor, head) {
240
244
  if (!getBooleanFF('platform.editor.multi-bodied-extension_0rygg')) {
@@ -1,6 +1,7 @@
1
1
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
2
2
  // Quality Ticket: https://product-fabric.atlassian.net/browse/DSP-4249
3
3
  /** @jsx jsx */
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
5
  import { css, jsx } from '@emotion/react';
5
6
  const imageContainerStyles = css({
6
7
  margin: `0 auto ${"var(--ds-space-300, 24px)"}`,
@@ -1,6 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
3
  import React, { Fragment } from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { css, jsx } from '@emotion/react';
5
7
  import { Checkbox as AKCheckbox } from '@atlaskit/checkbox';
6
8
  import { Field } from '@atlaskit/form';
@@ -2,6 +2,8 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
3
 
4
4
  import { Fragment, useCallback } from 'react';
5
+
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
7
  import { css, jsx } from '@emotion/react';
6
8
  import { Checkbox as AKCheckbox } from '@atlaskit/checkbox';
7
9
  import { Fieldset as AKFieldset, Field } from '@atlaskit/form';
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import { Fragment } from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { css, jsx } from '@emotion/react';
4
6
  import { chartsColorPaletteTooltipMessages, DEFAULT_BORDER_COLOR } from '@atlaskit/editor-common/ui-color';
5
7
  import { ColorPickerButton } from '@atlaskit/editor-common/ui-menu';
@@ -1,6 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
3
  import { Fragment, useEffect, useMemo, useState } from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { css, jsx } from '@emotion/react';
5
7
  import { injectIntl } from 'react-intl-next';
6
8
  import { DatePicker } from '@atlaskit/datetime-picker';
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React, { useState } from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { css, jsx } from '@emotion/react';
4
6
  import { injectIntl } from 'react-intl-next';
5
7
  import Button from '@atlaskit/button';
@@ -1,6 +1,8 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  /** @jsx jsx */
3
3
  import React, { Fragment } from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { css, jsx } from '@emotion/react';
5
7
  import { injectIntl } from 'react-intl-next';
6
8
  import Button from '@atlaskit/button/custom-theme-button';
@@ -1,4 +1,5 @@
1
1
  /** @jsx jsx */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import { css, jsx } from '@emotion/react';
3
4
  import Avatar from '@atlaskit/avatar';
4
5
  const itemWrapperStyles = css({
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React, { useState } from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { css, jsx } from '@emotion/react';
4
6
  import { injectIntl } from 'react-intl-next';
5
7
  import Tabs, { Tab, TabList, TabPanel } from '@atlaskit/tabs';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { R500 } from '@atlaskit/theme/colors';
3
4
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import { Fragment } from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { css, jsx } from '@emotion/react';
4
6
  import { injectIntl } from 'react-intl-next';
5
7
  import Loadable from 'react-loadable';
@@ -1,4 +1,5 @@
1
1
  /** @jsx jsx */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import { css, jsx } from '@emotion/react';
3
4
  import Spinner from '@atlaskit/spinner';
4
5
  const spinnerWrapperStyles = css({
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { css, jsx } from '@emotion/react';
4
6
  import { injectIntl } from 'react-intl-next';
5
7
  import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import { Fragment, useCallback, useEffect, useRef, useState } from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { css, jsx } from '@emotion/react';
4
6
  import { FormattedMessage } from 'react-intl-next';
5
7
  import { messages } from '@atlaskit/editor-common/extensions';
@@ -161,7 +161,7 @@ export var handleUpdate = function handleUpdate(_ref3) {
161
161
  return true;
162
162
  };
163
163
  var createPlugin = function createPlugin(dispatch, providerFactory, extensionHandlers, portalProviderAPI, eventDispatcher, pluginInjectionApi) {
164
- var _featureFlags$macroIn, _featureFlags$macroIn2, _featureFlags$macroIn3, _featureFlags$macroIn4;
164
+ var _featureFlags$macroIn, _featureFlags$macroIn2;
165
165
  var useLongPressSelection = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : false;
166
166
  var options = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : {};
167
167
  var featureFlags = arguments.length > 8 ? arguments[8] : undefined;
@@ -172,6 +172,10 @@ var createPlugin = function createPlugin(dispatch, providerFactory, extensionHan
172
172
  var extensionNodeViewOptions = {
173
173
  appearance: options.appearance
174
174
  };
175
+ var macroInteractionDesignFeatureFlags = {
176
+ showMacroInteractionDesignUpdates: (_featureFlags$macroIn = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionUpdates) !== null && _featureFlags$macroIn !== void 0 ? _featureFlags$macroIn : false,
177
+ showMacroButtonUpdates: (_featureFlags$macroIn2 = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionButtonUpdates) !== null && _featureFlags$macroIn2 !== void 0 ? _featureFlags$macroIn2 : false
178
+ };
175
179
  return new SafePlugin({
176
180
  state: state,
177
181
  view: function view(editorView) {
@@ -268,12 +272,12 @@ var createPlugin = function createPlugin(dispatch, providerFactory, extensionHan
268
272
  },
269
273
  nodeViews: {
270
274
  // WARNING: referentiality-plugin also creates these nodeviews
271
- extension: ExtensionNodeView(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, (_featureFlags$macroIn = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionUpdates) !== null && _featureFlags$macroIn !== void 0 ? _featureFlags$macroIn : false),
275
+ extension: ExtensionNodeView(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, macroInteractionDesignFeatureFlags),
272
276
  // WARNING: referentiality-plugin also creates these nodeviews
273
- bodiedExtension: ExtensionNodeView(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, (_featureFlags$macroIn2 = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionUpdates) !== null && _featureFlags$macroIn2 !== void 0 ? _featureFlags$macroIn2 : false),
277
+ bodiedExtension: ExtensionNodeView(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, macroInteractionDesignFeatureFlags),
274
278
  // WARNING: referentiality-plugin also creates these nodeviews
275
- inlineExtension: ExtensionNodeView(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, (_featureFlags$macroIn3 = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionUpdates) !== null && _featureFlags$macroIn3 !== void 0 ? _featureFlags$macroIn3 : false),
276
- multiBodiedExtension: ExtensionNodeView(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, (_featureFlags$macroIn4 = featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.macroInteractionUpdates) !== null && _featureFlags$macroIn4 !== void 0 ? _featureFlags$macroIn4 : false)
279
+ inlineExtension: ExtensionNodeView(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, macroInteractionDesignFeatureFlags),
280
+ multiBodiedExtension: ExtensionNodeView(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, macroInteractionDesignFeatureFlags)
277
281
  },
278
282
  createSelectionBetween: function createSelectionBetween(view, anchor, head) {
279
283
  if (!getBooleanFF('platform.editor.multi-bodied-extension_0rygg')) {
@@ -1,6 +1,7 @@
1
1
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
2
2
  // Quality Ticket: https://product-fabric.atlassian.net/browse/DSP-4249
3
3
  /** @jsx jsx */
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
5
  import { css, jsx } from '@emotion/react';
5
6
  var imageContainerStyles = css({
6
7
  margin: "0 auto ".concat("var(--ds-space-300, 24px)"),
@@ -4,6 +4,8 @@ var _excluded = ["value"],
4
4
  _excluded2 = ["id", "value"];
5
5
  /** @jsx jsx */
6
6
  import React, { Fragment } from 'react';
7
+
8
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
9
  import { css, jsx } from '@emotion/react';
8
10
  import { Checkbox as AKCheckbox } from '@atlaskit/checkbox';
9
11
  import { Field } from '@atlaskit/form';
@@ -5,6 +5,8 @@ var _excluded = ["onChange", "value"];
5
5
  /** @jsx jsx */
6
6
 
7
7
  import { Fragment, useCallback } from 'react';
8
+
9
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
10
  import { css, jsx } from '@emotion/react';
9
11
  import { Checkbox as AKCheckbox } from '@atlaskit/checkbox';
10
12
  import { Fieldset as AKFieldset, Field } from '@atlaskit/form';
@@ -3,6 +3,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
3
3
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
4
  /** @jsx jsx */
5
5
  import { Fragment } from 'react';
6
+
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
8
  import { css, jsx } from '@emotion/react';
7
9
  import { chartsColorPaletteTooltipMessages, DEFAULT_BORDER_COLOR } from '@atlaskit/editor-common/ui-color';
8
10
  import { ColorPickerButton } from '@atlaskit/editor-common/ui-menu';
@@ -6,6 +6,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
6
6
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
7
  /** @jsx jsx */
8
8
  import { Fragment, useEffect, useMemo, useState } from 'react';
9
+
10
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
11
  import { css, jsx } from '@emotion/react';
10
12
  import { injectIntl } from 'react-intl-next';
11
13
  import { DatePicker } from '@atlaskit/datetime-picker';
@@ -1,6 +1,8 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
2
  /** @jsx jsx */
3
3
  import React, { useState } from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { css, jsx } from '@emotion/react';
5
7
  import { injectIntl } from 'react-intl-next';
6
8
  import Button from '@atlaskit/button';
@@ -13,6 +13,8 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
13
13
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
14
14
  /** @jsx jsx */
15
15
  import React, { Fragment } from 'react';
16
+
17
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
16
18
  import { css, jsx } from '@emotion/react';
17
19
  import { injectIntl } from 'react-intl-next';
18
20
  import Button from '@atlaskit/button/custom-theme-button';
@@ -1,4 +1,5 @@
1
1
  /** @jsx jsx */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import { css, jsx } from '@emotion/react';
3
4
  import Avatar from '@atlaskit/avatar';
4
5
  var itemWrapperStyles = css({
@@ -1,6 +1,8 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
2
  /** @jsx jsx */
3
3
  import React, { useState } from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { css, jsx } from '@emotion/react';
5
7
  import { injectIntl } from 'react-intl-next';
6
8
  import Tabs, { Tab, TabList, TabPanel } from '@atlaskit/tabs';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { R500 } from '@atlaskit/theme/colors';
3
4
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import { Fragment } from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { css, jsx } from '@emotion/react';
4
6
  import { injectIntl } from 'react-intl-next';
5
7
  import Loadable from 'react-loadable';
@@ -1,4 +1,5 @@
1
1
  /** @jsx jsx */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import { css, jsx } from '@emotion/react';
3
4
  import Spinner from '@atlaskit/spinner';
4
5
  var spinnerWrapperStyles = css({
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { css, jsx } from '@emotion/react';
4
6
  import { injectIntl } from 'react-intl-next';
5
7
  import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
@@ -1,6 +1,8 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
2
  /** @jsx jsx */
3
3
  import { Fragment, useCallback, useEffect, useRef, useState } from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { css, jsx } from '@emotion/react';
5
7
  import { FormattedMessage } from 'react-intl-next';
6
8
  import { messages } from '@atlaskit/editor-common/extensions';
@@ -2,6 +2,7 @@
2
2
  /** @jsx jsx */
3
3
  import { useEffect, useState } from 'react';
4
4
 
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
6
  import { css, jsx } from '@emotion/react';
6
7
  import { IntlProvider } from 'react-intl-next';
7
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-extension",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "description": "editor-plugin-extension plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -27,11 +27,11 @@
27
27
  "@atlaskit/adf-schema": "^36.10.7",
28
28
  "@atlaskit/adf-utils": "^19.2.0",
29
29
  "@atlaskit/analytics-next": "^9.3.0",
30
- "@atlaskit/avatar": "^21.9.0",
31
- "@atlaskit/button": "^17.17.0",
32
- "@atlaskit/checkbox": "^13.4.0",
33
- "@atlaskit/datetime-picker": "^13.5.0",
34
- "@atlaskit/editor-common": "^82.6.0",
30
+ "@atlaskit/avatar": "^21.10.0",
31
+ "@atlaskit/button": "^17.23.0",
32
+ "@atlaskit/checkbox": "^13.5.0",
33
+ "@atlaskit/datetime-picker": "^13.6.0",
34
+ "@atlaskit/editor-common": "^82.10.0",
35
35
  "@atlaskit/editor-json-transformer": "^8.13.0",
36
36
  "@atlaskit/editor-plugin-analytics": "^1.2.0",
37
37
  "@atlaskit/editor-plugin-context-identifier": "^1.1.0",
@@ -42,23 +42,23 @@
42
42
  "@atlaskit/editor-prosemirror": "4.0.1",
43
43
  "@atlaskit/editor-shared-styles": "^2.12.0",
44
44
  "@atlaskit/editor-tables": "^2.7.0",
45
- "@atlaskit/empty-state": "^7.8.0",
46
- "@atlaskit/form": "^10.3.0",
47
- "@atlaskit/icon": "^22.3.0",
45
+ "@atlaskit/empty-state": "^7.9.0",
46
+ "@atlaskit/form": "^10.4.0",
47
+ "@atlaskit/icon": "^22.4.0",
48
48
  "@atlaskit/platform-feature-flags": "^0.2.0",
49
- "@atlaskit/primitives": "^7.2.0",
50
- "@atlaskit/radio": "^6.3.0",
49
+ "@atlaskit/primitives": "^8.0.0",
50
+ "@atlaskit/radio": "^6.4.0",
51
51
  "@atlaskit/section-message": "^6.5.0",
52
- "@atlaskit/select": "^17.10.0",
52
+ "@atlaskit/select": "^17.11.0",
53
53
  "@atlaskit/smart-user-picker": "^6.9.0",
54
- "@atlaskit/spinner": "^16.1.0",
55
- "@atlaskit/tabs": "^16.1.0",
56
- "@atlaskit/textarea": "^5.4.0",
57
- "@atlaskit/textfield": "^6.3.0",
58
- "@atlaskit/theme": "^12.9.0",
59
- "@atlaskit/toggle": "^13.1.0",
60
- "@atlaskit/tokens": "^1.50.0",
61
- "@atlaskit/tooltip": "^18.4.0",
54
+ "@atlaskit/spinner": "^16.2.0",
55
+ "@atlaskit/tabs": "^16.2.0",
56
+ "@atlaskit/textarea": "^5.5.0",
57
+ "@atlaskit/textfield": "^6.4.0",
58
+ "@atlaskit/theme": "^12.11.0",
59
+ "@atlaskit/toggle": "^13.2.0",
60
+ "@atlaskit/tokens": "^1.51.0",
61
+ "@atlaskit/tooltip": "^18.5.0",
62
62
  "@babel/runtime": "^7.0.0",
63
63
  "@emotion/react": "^11.7.1",
64
64
  "is-number": "^7.0.0",
@@ -77,17 +77,32 @@
77
77
  },
78
78
  "techstack": {
79
79
  "@atlassian/frontend": {
80
- "import-structure": ["atlassian-conventions"],
81
- "circular-dependencies": ["file-and-folder-level"]
80
+ "import-structure": [
81
+ "atlassian-conventions"
82
+ ],
83
+ "circular-dependencies": [
84
+ "file-and-folder-level"
85
+ ]
82
86
  },
83
87
  "@repo/internal": {
84
88
  "dom-events": "use-bind-event-listener",
85
- "analytics": ["analytics-next"],
86
- "design-tokens": ["color"],
87
- "theming": ["react-context"],
88
- "ui-components": ["lite-mode"],
89
+ "analytics": [
90
+ "analytics-next"
91
+ ],
92
+ "design-tokens": [
93
+ "color"
94
+ ],
95
+ "theming": [
96
+ "react-context"
97
+ ],
98
+ "ui-components": [
99
+ "lite-mode"
100
+ ],
89
101
  "deprecation": "no-deprecated-imports",
90
- "styling": ["emotion", "emotion"]
102
+ "styling": [
103
+ "emotion",
104
+ "emotion"
105
+ ]
91
106
  }
92
107
  },
93
108
  "stricter": {