@atlaskit/editor-common 110.45.0 → 110.46.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 (64) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/cjs/card/ui/assets/card.js +6 -14
  3. package/dist/cjs/card/ui/assets/embed.js +6 -14
  4. package/dist/cjs/card/ui/assets/inline.js +6 -14
  5. package/dist/cjs/card/ui/assets/url.js +6 -14
  6. package/dist/cjs/icons/shared/BorderIcon.js +6 -12
  7. package/dist/cjs/icons/shared/PanelErrorIcon.js +10 -15
  8. package/dist/cjs/icons/shared/PanelInfoIcon.js +9 -14
  9. package/dist/cjs/icons/shared/PanelNoteIcon.js +5 -11
  10. package/dist/cjs/icons/shared/PanelSuccessIcon.js +10 -15
  11. package/dist/cjs/icons/shared/PanelWarningIcon.js +10 -15
  12. package/dist/cjs/messages/syncBlock.js +5 -0
  13. package/dist/cjs/monitoring/error.js +1 -1
  14. package/dist/cjs/ui/DropList/index.js +1 -1
  15. package/dist/cjs/ui-color/ColorPalette/Palettes/highlightColorPalette.js +11 -14
  16. package/dist/es2019/card/ui/assets/card.js +8 -13
  17. package/dist/es2019/card/ui/assets/embed.js +8 -13
  18. package/dist/es2019/card/ui/assets/inline.js +8 -13
  19. package/dist/es2019/card/ui/assets/url.js +8 -13
  20. package/dist/es2019/icons/shared/BorderIcon.js +8 -12
  21. package/dist/es2019/icons/shared/PanelErrorIcon.js +11 -15
  22. package/dist/es2019/icons/shared/PanelInfoIcon.js +10 -14
  23. package/dist/es2019/icons/shared/PanelNoteIcon.js +5 -11
  24. package/dist/es2019/icons/shared/PanelSuccessIcon.js +11 -15
  25. package/dist/es2019/icons/shared/PanelWarningIcon.js +11 -15
  26. package/dist/es2019/messages/syncBlock.js +5 -0
  27. package/dist/es2019/monitoring/error.js +1 -1
  28. package/dist/es2019/ui/DropList/index.js +1 -1
  29. package/dist/es2019/ui-color/ColorPalette/Palettes/highlightColorPalette.js +11 -14
  30. package/dist/esm/card/ui/assets/card.js +7 -13
  31. package/dist/esm/card/ui/assets/embed.js +7 -13
  32. package/dist/esm/card/ui/assets/inline.js +7 -13
  33. package/dist/esm/card/ui/assets/url.js +7 -13
  34. package/dist/esm/icons/shared/BorderIcon.js +7 -12
  35. package/dist/esm/icons/shared/PanelErrorIcon.js +10 -15
  36. package/dist/esm/icons/shared/PanelInfoIcon.js +9 -14
  37. package/dist/esm/icons/shared/PanelNoteIcon.js +5 -11
  38. package/dist/esm/icons/shared/PanelSuccessIcon.js +10 -15
  39. package/dist/esm/icons/shared/PanelWarningIcon.js +10 -15
  40. package/dist/esm/messages/syncBlock.js +5 -0
  41. package/dist/esm/monitoring/error.js +1 -1
  42. package/dist/esm/ui/DropList/index.js +1 -1
  43. package/dist/esm/ui-color/ColorPalette/Palettes/highlightColorPalette.js +11 -14
  44. package/dist/types/card/ui/assets/card.d.ts +3 -2
  45. package/dist/types/card/ui/assets/embed.d.ts +3 -2
  46. package/dist/types/card/ui/assets/inline.d.ts +3 -2
  47. package/dist/types/card/ui/assets/url.d.ts +3 -2
  48. package/dist/types/icons/shared/BorderIcon.d.ts +3 -2
  49. package/dist/types/icons/shared/PanelErrorIcon.d.ts +3 -2
  50. package/dist/types/icons/shared/PanelInfoIcon.d.ts +3 -2
  51. package/dist/types/icons/shared/PanelSuccessIcon.d.ts +3 -2
  52. package/dist/types/icons/shared/PanelWarningIcon.d.ts +3 -2
  53. package/dist/types/messages/syncBlock.d.ts +5 -0
  54. package/dist/types-ts4.5/card/ui/assets/card.d.ts +3 -2
  55. package/dist/types-ts4.5/card/ui/assets/embed.d.ts +3 -2
  56. package/dist/types-ts4.5/card/ui/assets/inline.d.ts +3 -2
  57. package/dist/types-ts4.5/card/ui/assets/url.d.ts +3 -2
  58. package/dist/types-ts4.5/icons/shared/BorderIcon.d.ts +3 -2
  59. package/dist/types-ts4.5/icons/shared/PanelErrorIcon.d.ts +3 -2
  60. package/dist/types-ts4.5/icons/shared/PanelInfoIcon.d.ts +3 -2
  61. package/dist/types-ts4.5/icons/shared/PanelSuccessIcon.d.ts +3 -2
  62. package/dist/types-ts4.5/icons/shared/PanelWarningIcon.d.ts +3 -2
  63. package/dist/types-ts4.5/messages/syncBlock.d.ts +5 -0
  64. package/package.json +4 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 110.46.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`9f03725ffb7b8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9f03725ffb7b8) -
8
+ Removing feature flag with changing internal use of custom icons.
9
+ - Updated dependencies
10
+
11
+ ## 110.46.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [`cbf58f8500db4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cbf58f8500db4) -
16
+ [https://hello.jira.atlassian.cloud/browse/EDITOR-3893](EDITOR-3893) - fix mussing <br /> in empty
17
+ textblocks in the `EditorSSRRenderer`
18
+
19
+ ## 110.45.1
20
+
21
+ ### Patch Changes
22
+
23
+ - [`099f1ef94c7c2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/099f1ef94c7c2) -
24
+ Not found error will not be retryable in UI (expected behaviour)
25
+ - Updated dependencies
26
+
3
27
  ## 110.45.0
4
28
 
5
29
  ### Minor Changes
@@ -7,10 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.IconCard = void 0;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
  var _react = _interopRequireDefault(require("react"));
10
- var _icon = _interopRequireDefault(require("@atlaskit/icon"));
11
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
- /* eslint-disable @atlaskit/design-system/no-custom-icons */
13
-
10
+ // Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
14
11
  var IconCardGlyph = function IconCardGlyph(props) {
15
12
  return /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({
16
13
  width: "32",
@@ -27,20 +24,15 @@ var IconCardGlyph = function IconCardGlyph(props) {
27
24
  fill: "currentColor"
28
25
  }));
29
26
  };
30
- var IconCard = exports.IconCard = function IconCard(props) {
31
- return (0, _platformFeatureFlags.fg)('platform-custom-icon-migration') ? /*#__PURE__*/_react.default.createElement(IconCardGlyph, {
32
- "aria-label": props.label,
27
+ var IconCard = exports.IconCard = function IconCard(_ref) {
28
+ var label = _ref.label;
29
+ return /*#__PURE__*/_react.default.createElement(IconCardGlyph, {
30
+ "aria-label": label,
33
31
  style: {
34
32
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
35
33
  width: '24px',
36
34
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
37
35
  height: '24px'
38
36
  }
39
- }) :
40
- /*#__PURE__*/
41
- // Ignored via go/ees005
42
- // eslint-disable-next-line react/jsx-props-no-spreading
43
- _react.default.createElement(_icon.default, (0, _extends2.default)({
44
- glyph: IconCardGlyph
45
- }, props));
37
+ });
46
38
  };
@@ -7,10 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.IconEmbed = void 0;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
  var _react = _interopRequireDefault(require("react"));
10
- var _icon = _interopRequireDefault(require("@atlaskit/icon"));
11
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
- /* eslint-disable @atlaskit/design-system/no-custom-icons */
13
-
10
+ // Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
14
11
  var IconEmbedGlyph = function IconEmbedGlyph(props) {
15
12
  return /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({
16
13
  width: "32",
@@ -27,20 +24,15 @@ var IconEmbedGlyph = function IconEmbedGlyph(props) {
27
24
  fill: "currentColor"
28
25
  }));
29
26
  };
30
- var IconEmbed = exports.IconEmbed = function IconEmbed(props) {
31
- return (0, _platformFeatureFlags.fg)('platform-custom-icon-migration') ? /*#__PURE__*/_react.default.createElement(IconEmbedGlyph, {
32
- "aria-label": props.label,
27
+ var IconEmbed = exports.IconEmbed = function IconEmbed(_ref) {
28
+ var label = _ref.label;
29
+ return /*#__PURE__*/_react.default.createElement(IconEmbedGlyph, {
30
+ "aria-label": label,
33
31
  style: {
34
32
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
35
33
  width: '24px',
36
34
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
37
35
  height: '24px'
38
36
  }
39
- }) :
40
- /*#__PURE__*/
41
- // Ignored via go/ees005
42
- // eslint-disable-next-line react/jsx-props-no-spreading
43
- _react.default.createElement(_icon.default, (0, _extends2.default)({
44
- glyph: IconEmbedGlyph
45
- }, props));
37
+ });
46
38
  };
@@ -7,10 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.IconInline = void 0;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
  var _react = _interopRequireDefault(require("react"));
10
- var _icon = _interopRequireDefault(require("@atlaskit/icon"));
11
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
- /* eslint-disable @atlaskit/design-system/no-custom-icons */
13
-
10
+ // Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
14
11
  var IconInlineGlyph = function IconInlineGlyph(props) {
15
12
  return /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({
16
13
  width: "32",
@@ -27,20 +24,15 @@ var IconInlineGlyph = function IconInlineGlyph(props) {
27
24
  fill: "currentColor"
28
25
  }));
29
26
  };
30
- var IconInline = exports.IconInline = function IconInline(props) {
31
- return (0, _platformFeatureFlags.fg)('platform-custom-icon-migration') ? /*#__PURE__*/_react.default.createElement(IconInlineGlyph, {
32
- "aria-label": props.label,
27
+ var IconInline = exports.IconInline = function IconInline(_ref) {
28
+ var label = _ref.label;
29
+ return /*#__PURE__*/_react.default.createElement(IconInlineGlyph, {
30
+ "aria-label": label,
33
31
  style: {
34
32
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
35
33
  width: '24px',
36
34
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
37
35
  height: '24px'
38
36
  }
39
- }) :
40
- /*#__PURE__*/
41
- // Ignored via go/ees005
42
- // eslint-disable-next-line react/jsx-props-no-spreading
43
- _react.default.createElement(_icon.default, (0, _extends2.default)({
44
- glyph: IconInlineGlyph
45
- }, props));
37
+ });
46
38
  };
@@ -7,10 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.IconUrl = void 0;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
  var _react = _interopRequireDefault(require("react"));
10
- var _icon = _interopRequireDefault(require("@atlaskit/icon"));
11
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
- /* eslint-disable @atlaskit/design-system/no-custom-icons */
13
-
10
+ // Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
14
11
  var IconUrlGlyph = function IconUrlGlyph(props) {
15
12
  return /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({
16
13
  width: "32",
@@ -29,20 +26,15 @@ var IconUrlGlyph = function IconUrlGlyph(props) {
29
26
  fill: "currentColor"
30
27
  }));
31
28
  };
32
- var IconUrl = exports.IconUrl = function IconUrl(props) {
33
- return (0, _platformFeatureFlags.fg)('platform-custom-icon-migration') ? /*#__PURE__*/_react.default.createElement(IconUrlGlyph, {
34
- "aria-label": props.label,
29
+ var IconUrl = exports.IconUrl = function IconUrl(_ref) {
30
+ var label = _ref.label;
31
+ return /*#__PURE__*/_react.default.createElement(IconUrlGlyph, {
32
+ "aria-label": label,
35
33
  style: {
36
34
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
37
35
  width: '24px',
38
36
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
39
37
  height: '24px'
40
38
  }
41
- }) :
42
- /*#__PURE__*/
43
- // Ignored via go/ees005
44
- // eslint-disable-next-line react/jsx-props-no-spreading
45
- _react.default.createElement(_icon.default, (0, _extends2.default)({
46
- glyph: IconUrlGlyph
47
- }, props));
39
+ });
48
40
  };
@@ -7,8 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.BorderIcon = void 0;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
  var _react = _interopRequireDefault(require("react"));
10
- var _icon = _interopRequireDefault(require("@atlaskit/icon"));
11
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
10
+ // Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
12
11
  var BorderIconGlyph = function BorderIconGlyph(props) {
13
12
  return /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({
14
13
  width: "24",
@@ -28,14 +27,9 @@ var BorderIconGlyph = function BorderIconGlyph(props) {
28
27
  fill: "currentColor"
29
28
  }));
30
29
  };
31
- var BorderIcon = exports.BorderIcon = function BorderIcon(props) {
32
- return (0, _platformFeatureFlags.fg)('platform-custom-icon-migration') ? /*#__PURE__*/_react.default.createElement(BorderIconGlyph, {
33
- "aria-label": props.label
34
- }) :
35
- /*#__PURE__*/
36
- // Ignored via go/ees005
37
- // eslint-disable-next-line react/jsx-props-no-spreading
38
- _react.default.createElement(_icon.default, (0, _extends2.default)({
39
- glyph: BorderIconGlyph
40
- }, props));
30
+ var BorderIcon = exports.BorderIcon = function BorderIcon(_ref) {
31
+ var label = _ref.label;
32
+ return /*#__PURE__*/_react.default.createElement(BorderIconGlyph, {
33
+ "aria-label": label
34
+ });
41
35
  };
@@ -11,10 +11,10 @@ require("./PanelErrorIcon.compiled.css");
11
11
  var React = _interopRequireWildcard(require("react"));
12
12
  var _runtime = require("@compiled/react/runtime");
13
13
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
14
- var _icon = _interopRequireDefault(require("@atlaskit/icon"));
15
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
16
14
  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); }
17
15
  var iconStyles = null;
16
+
17
+ // Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
18
18
  var PanelErrorGlyph = function PanelErrorGlyph(props) {
19
19
  return /*#__PURE__*/React.createElement("svg", (0, _extends2.default)({
20
20
  width: "24",
@@ -31,19 +31,14 @@ var PanelErrorGlyph = function PanelErrorGlyph(props) {
31
31
  fill: "currentColor"
32
32
  }));
33
33
  };
34
- var PanelErrorIcon = exports.PanelErrorIcon = function PanelErrorIcon(props) {
35
- return (0, _platformFeatureFlags.fg)('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement("span", {
36
- role: props.label ? 'img' : undefined,
37
- "aria-label": props.label ? props.label : undefined,
38
- "aria-hidden": props.label ? undefined : true,
34
+ var PanelErrorIcon = exports.PanelErrorIcon = function PanelErrorIcon(_ref) {
35
+ var label = _ref.label;
36
+ return /*#__PURE__*/React.createElement("span", {
37
+ role: label ? 'img' : undefined,
38
+ "aria-label": label ? label : undefined,
39
+ "aria-hidden": label ? undefined : true,
39
40
  className: (0, _runtime.ax)(["_1e0c1o8l _1o9zidpf _re2rglyw"])
40
41
  }, /*#__PURE__*/React.createElement(PanelErrorGlyph, {
41
- "aria-label": props.label
42
- })) :
43
- /*#__PURE__*/
44
- // Ignored via go/ees005
45
- // eslint-disable-next-line react/jsx-props-no-spreading
46
- React.createElement(_icon.default, (0, _extends2.default)({
47
- glyph: PanelErrorGlyph
48
- }, props));
42
+ role: "presentation"
43
+ }));
49
44
  };
@@ -11,10 +11,10 @@ require("./PanelInfoIcon.compiled.css");
11
11
  var React = _interopRequireWildcard(require("react"));
12
12
  var _runtime = require("@compiled/react/runtime");
13
13
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
14
- var _icon = _interopRequireDefault(require("@atlaskit/icon"));
15
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
16
14
  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); }
17
15
  var iconStyles = null;
16
+
17
+ // Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
18
18
  var PanelInfoGlyph = function PanelInfoGlyph(props) {
19
19
  return /*#__PURE__*/React.createElement("svg", (0, _extends2.default)({
20
20
  width: "24",
@@ -31,19 +31,14 @@ var PanelInfoGlyph = function PanelInfoGlyph(props) {
31
31
  fill: "currentColor"
32
32
  }));
33
33
  };
34
- var PanelInfoIcon = exports.PanelInfoIcon = function PanelInfoIcon(props) {
35
- return (0, _platformFeatureFlags.fg)('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement("span", {
36
- role: props.label ? 'img' : undefined,
37
- "aria-label": props.label ? props.label : undefined,
38
- "aria-hidden": props.label ? undefined : true,
34
+ var PanelInfoIcon = exports.PanelInfoIcon = function PanelInfoIcon(_ref) {
35
+ var label = _ref.label;
36
+ return /*#__PURE__*/React.createElement("span", {
37
+ role: label ? 'img' : undefined,
38
+ "aria-label": label ? label : undefined,
39
+ "aria-hidden": label ? undefined : true,
39
40
  className: (0, _runtime.ax)(["_1e0c1o8l _1o9zidpf _re2rglyw"])
40
41
  }, /*#__PURE__*/React.createElement(PanelInfoGlyph, {
41
42
  role: "presentation"
42
- })) :
43
- /*#__PURE__*/
44
- // Ignored via go/ees005
45
- // eslint-disable-next-line react/jsx-props-no-spreading
46
- React.createElement(_icon.default, (0, _extends2.default)({
47
- glyph: PanelInfoGlyph
48
- }, props));
43
+ }));
49
44
  };
@@ -11,10 +11,10 @@ require("./PanelNoteIcon.compiled.css");
11
11
  var React = _interopRequireWildcard(require("react"));
12
12
  var _runtime = require("@compiled/react/runtime");
13
13
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
14
- var _icon = _interopRequireDefault(require("@atlaskit/icon"));
15
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
16
14
  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); }
17
15
  var iconStyles = null;
16
+
17
+ // Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
18
18
  var PanelNoteGlyph = function PanelNoteGlyph(props) {
19
19
  return /*#__PURE__*/React.createElement("svg", (0, _extends2.default)({
20
20
  width: "24",
@@ -32,18 +32,12 @@ var PanelNoteGlyph = function PanelNoteGlyph(props) {
32
32
  }));
33
33
  };
34
34
  var PanelNoteIcon = exports.PanelNoteIcon = function PanelNoteIcon(props) {
35
- return (0, _platformFeatureFlags.fg)('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement("span", {
35
+ return /*#__PURE__*/React.createElement("span", {
36
36
  role: props.label ? 'img' : undefined,
37
37
  "aria-label": props.label ? props.label : undefined,
38
38
  "aria-hidden": props.label ? undefined : true,
39
39
  className: (0, _runtime.ax)(["_1e0c1o8l _1o9zidpf _re2rglyw"])
40
40
  }, /*#__PURE__*/React.createElement(PanelNoteGlyph, {
41
- "aria-label": props.label
42
- })) :
43
- /*#__PURE__*/
44
- // Ignored via go/ees005
45
- // eslint-disable-next-line react/jsx-props-no-spreading
46
- React.createElement(_icon.default, (0, _extends2.default)({
47
- glyph: PanelNoteGlyph
48
- }, props));
41
+ role: "presentation"
42
+ }));
49
43
  };
@@ -11,10 +11,10 @@ require("./PanelSuccessIcon.compiled.css");
11
11
  var React = _interopRequireWildcard(require("react"));
12
12
  var _runtime = require("@compiled/react/runtime");
13
13
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
14
- var _icon = _interopRequireDefault(require("@atlaskit/icon"));
15
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
16
14
  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); }
17
15
  var iconStyles = null;
16
+
17
+ // Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
18
18
  var PanelSuccessGlyph = function PanelSuccessGlyph(props) {
19
19
  return /*#__PURE__*/React.createElement("svg", (0, _extends2.default)({
20
20
  width: "24",
@@ -31,19 +31,14 @@ var PanelSuccessGlyph = function PanelSuccessGlyph(props) {
31
31
  fill: "currentColor"
32
32
  }));
33
33
  };
34
- var PanelSuccessIcon = exports.PanelSuccessIcon = function PanelSuccessIcon(props) {
35
- return (0, _platformFeatureFlags.fg)('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement("span", {
36
- role: props.label ? 'img' : undefined,
37
- "aria-label": props.label ? props.label : undefined,
38
- "aria-hidden": props.label ? undefined : true,
34
+ var PanelSuccessIcon = exports.PanelSuccessIcon = function PanelSuccessIcon(_ref) {
35
+ var label = _ref.label;
36
+ return /*#__PURE__*/React.createElement("span", {
37
+ role: label ? 'img' : undefined,
38
+ "aria-label": label ? label : undefined,
39
+ "aria-hidden": label ? undefined : true,
39
40
  className: (0, _runtime.ax)(["_1e0c1o8l _1o9zidpf _re2rglyw"])
40
41
  }, /*#__PURE__*/React.createElement(PanelSuccessGlyph, {
41
- "aria-label": props.label
42
- })) :
43
- /*#__PURE__*/
44
- // Ignored via go/ees005
45
- // eslint-disable-next-line react/jsx-props-no-spreading
46
- React.createElement(_icon.default, (0, _extends2.default)({
47
- glyph: PanelSuccessGlyph
48
- }, props));
42
+ role: "presentation"
43
+ }));
49
44
  };
@@ -11,10 +11,10 @@ require("./PanelWarningIcon.compiled.css");
11
11
  var React = _interopRequireWildcard(require("react"));
12
12
  var _runtime = require("@compiled/react/runtime");
13
13
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
14
- var _icon = _interopRequireDefault(require("@atlaskit/icon"));
15
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
16
14
  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); }
17
15
  var iconStyles = null;
16
+
17
+ // Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
18
18
  var PanelWarningGlyph = function PanelWarningGlyph(props) {
19
19
  return /*#__PURE__*/React.createElement("svg", (0, _extends2.default)({
20
20
  width: "24",
@@ -31,19 +31,14 @@ var PanelWarningGlyph = function PanelWarningGlyph(props) {
31
31
  fill: "currentColor"
32
32
  }));
33
33
  };
34
- var PanelWarningIcon = exports.PanelWarningIcon = function PanelWarningIcon(props) {
35
- return (0, _platformFeatureFlags.fg)('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement("span", {
36
- role: props.label ? 'img' : undefined,
37
- "aria-label": props.label ? props.label : undefined,
38
- "aria-hidden": props.label ? undefined : true,
34
+ var PanelWarningIcon = exports.PanelWarningIcon = function PanelWarningIcon(_ref) {
35
+ var label = _ref.label;
36
+ return /*#__PURE__*/React.createElement("span", {
37
+ role: label ? 'img' : undefined,
38
+ "aria-label": label ? label : undefined,
39
+ "aria-hidden": label ? undefined : true,
39
40
  className: (0, _runtime.ax)(["_1e0c1o8l _1o9zidpf _re2rglyw"])
40
41
  }, /*#__PURE__*/React.createElement(PanelWarningGlyph, {
41
- "aria-label": props.label
42
- })) :
43
- /*#__PURE__*/
44
- // Ignored via go/ees005
45
- // eslint-disable-next-line react/jsx-props-no-spreading
46
- React.createElement(_icon.default, (0, _extends2.default)({
47
- glyph: PanelWarningGlyph
48
- }, props));
42
+ role: "presentation"
43
+ }));
49
44
  };
@@ -171,6 +171,11 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntlNext.defineMes
171
171
  defaultMessage: 'Synced block not found.',
172
172
  description: 'Alt text for icon on error state where the synced block cannot be found or no longer exists'
173
173
  },
174
+ notFoundDescription: {
175
+ id: 'fabric.editor.syncedBlockNotFoundDescription.non-final',
176
+ defaultMessage: 'We’re unable to display this content as its source has been deleted or archived.',
177
+ description: 'Description for error state where the synced block cannot be found'
178
+ },
174
179
  retryButton: {
175
180
  id: 'fabric.editor.retrySyncedBlock',
176
181
  defaultMessage: 'Try again',
@@ -19,7 +19,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
19
19
  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); }
20
20
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
21
21
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
22
- var packageVersion = "110.44.3";
22
+ var packageVersion = "110.46.0";
23
23
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
24
24
  // Remove URL as it has UGC
25
25
  // Ignored via go/ees007
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
24
24
  * @jsx jsx
25
25
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
26
26
  var packageName = "@atlaskit/editor-common";
27
- var packageVersion = "110.44.3";
27
+ var packageVersion = "110.46.0";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -7,8 +7,6 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.highlightColorPaletteNext = exports.highlightColorPalette = exports.REMOVE_HIGHLIGHT_COLOR = exports.EditorDiagonalLineIcon = void 0;
8
8
  var _react = require("@emotion/react");
9
9
  var _adfSchema = require("@atlaskit/adf-schema");
10
- var _icon = _interopRequireDefault(require("@atlaskit/icon"));
11
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
10
  var _tokens = require("@atlaskit/tokens");
13
11
  var _getColorMessage = _interopRequireDefault(require("./getColorMessage"));
14
12
  var _paletteMessages = _interopRequireDefault(require("./paletteMessages"));
@@ -21,6 +19,8 @@ var _textColorPalette = require("./textColorPalette");
21
19
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
22
20
 
23
21
  var REMOVE_HIGHLIGHT_COLOR = exports.REMOVE_HIGHLIGHT_COLOR = '#00000000';
22
+
23
+ // Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
24
24
  var DiagonalLineGlyph = function DiagonalLineGlyph(props) {
25
25
  return (0, _react.jsx)("svg", {
26
26
  width: "24",
@@ -48,18 +48,15 @@ var EditorDiagonalLineIcon = exports.EditorDiagonalLineIcon = function EditorDia
48
48
  var _useThemeObserver = (0, _tokens.useThemeObserver)(),
49
49
  colorMode = _useThemeObserver.colorMode;
50
50
  var primaryColor = colorMode === 'dark' ? "var(--ds-background-accent-gray-bolder, #626F86)" : "var(--ds-background-accent-gray-subtle, #8590A2)";
51
- return (0, _platformFeatureFlags.fg)('platform-custom-icon-migration') ?
52
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
53
- (0, _react.jsx)(DiagonalLineGlyph, {
54
- "aria-label": "",
55
- style: {
56
- color: primaryColor
57
- }
58
- }) : (0, _react.jsx)(_icon.default, {
59
- glyph: DiagonalLineGlyph,
60
- label: "",
61
- primaryColor: primaryColor
62
- });
51
+ return (
52
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
53
+ (0, _react.jsx)(DiagonalLineGlyph, {
54
+ "aria-label": "",
55
+ style: {
56
+ color: primaryColor
57
+ }
58
+ })
59
+ );
63
60
  };
64
61
 
65
62
  // eslint-disable-next-line @repo/internal/deprecations/deprecation-ticket-required
@@ -1,8 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
- /* eslint-disable @atlaskit/design-system/no-custom-icons */
3
2
  import React from 'react';
4
- import Icon from '@atlaskit/icon';
5
- import { fg } from '@atlaskit/platform-feature-flags';
3
+
4
+ // Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
6
5
  const IconCardGlyph = props => {
7
6
  return /*#__PURE__*/React.createElement("svg", _extends({
8
7
  width: "32",
@@ -19,20 +18,16 @@ const IconCardGlyph = props => {
19
18
  fill: "currentColor"
20
19
  }));
21
20
  };
22
- export const IconCard = props => {
23
- return fg('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement(IconCardGlyph, {
24
- "aria-label": props.label,
21
+ export const IconCard = ({
22
+ label
23
+ }) => {
24
+ return /*#__PURE__*/React.createElement(IconCardGlyph, {
25
+ "aria-label": label,
25
26
  style: {
26
27
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
27
28
  width: '24px',
28
29
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
29
30
  height: '24px'
30
31
  }
31
- }) :
32
- /*#__PURE__*/
33
- // Ignored via go/ees005
34
- // eslint-disable-next-line react/jsx-props-no-spreading
35
- React.createElement(Icon, _extends({
36
- glyph: IconCardGlyph
37
- }, props));
32
+ });
38
33
  };
@@ -1,8 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
- /* eslint-disable @atlaskit/design-system/no-custom-icons */
3
2
  import React from 'react';
4
- import Icon from '@atlaskit/icon';
5
- import { fg } from '@atlaskit/platform-feature-flags';
3
+
4
+ // Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
6
5
  const IconEmbedGlyph = props => {
7
6
  return /*#__PURE__*/React.createElement("svg", _extends({
8
7
  width: "32",
@@ -19,20 +18,16 @@ const IconEmbedGlyph = props => {
19
18
  fill: "currentColor"
20
19
  }));
21
20
  };
22
- export const IconEmbed = props => {
23
- return fg('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement(IconEmbedGlyph, {
24
- "aria-label": props.label,
21
+ export const IconEmbed = ({
22
+ label
23
+ }) => {
24
+ return /*#__PURE__*/React.createElement(IconEmbedGlyph, {
25
+ "aria-label": label,
25
26
  style: {
26
27
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
27
28
  width: '24px',
28
29
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
29
30
  height: '24px'
30
31
  }
31
- }) :
32
- /*#__PURE__*/
33
- // Ignored via go/ees005
34
- // eslint-disable-next-line react/jsx-props-no-spreading
35
- React.createElement(Icon, _extends({
36
- glyph: IconEmbedGlyph
37
- }, props));
32
+ });
38
33
  };
@@ -1,8 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
- /* eslint-disable @atlaskit/design-system/no-custom-icons */
3
2
  import React from 'react';
4
- import Icon from '@atlaskit/icon';
5
- import { fg } from '@atlaskit/platform-feature-flags';
3
+
4
+ // Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
6
5
  const IconInlineGlyph = props => {
7
6
  return /*#__PURE__*/React.createElement("svg", _extends({
8
7
  width: "32",
@@ -19,20 +18,16 @@ const IconInlineGlyph = props => {
19
18
  fill: "currentColor"
20
19
  }));
21
20
  };
22
- export const IconInline = props => {
23
- return fg('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement(IconInlineGlyph, {
24
- "aria-label": props.label,
21
+ export const IconInline = ({
22
+ label
23
+ }) => {
24
+ return /*#__PURE__*/React.createElement(IconInlineGlyph, {
25
+ "aria-label": label,
25
26
  style: {
26
27
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
27
28
  width: '24px',
28
29
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
29
30
  height: '24px'
30
31
  }
31
- }) :
32
- /*#__PURE__*/
33
- // Ignored via go/ees005
34
- // eslint-disable-next-line react/jsx-props-no-spreading
35
- React.createElement(Icon, _extends({
36
- glyph: IconInlineGlyph
37
- }, props));
32
+ });
38
33
  };