@atlaskit/editor-common 110.46.0 → 110.46.2

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 (79) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/cjs/analytics/types/enums.js +1 -0
  3. package/dist/cjs/card/ui/assets/card.js +6 -14
  4. package/dist/cjs/card/ui/assets/embed.js +6 -14
  5. package/dist/cjs/card/ui/assets/inline.js +6 -14
  6. package/dist/cjs/card/ui/assets/url.js +6 -14
  7. package/dist/cjs/icons/shared/BorderIcon.js +6 -12
  8. package/dist/cjs/icons/shared/PanelErrorIcon.js +10 -15
  9. package/dist/cjs/icons/shared/PanelInfoIcon.js +9 -14
  10. package/dist/cjs/icons/shared/PanelNoteIcon.js +5 -11
  11. package/dist/cjs/icons/shared/PanelSuccessIcon.js +10 -15
  12. package/dist/cjs/icons/shared/PanelWarningIcon.js +10 -15
  13. package/dist/cjs/messages/find-replace.js +5 -0
  14. package/dist/cjs/monitoring/error.js +1 -1
  15. package/dist/cjs/quick-insert/messages.js +10 -0
  16. package/dist/cjs/ui/DropList/index.js +1 -1
  17. package/dist/cjs/ui/HoverLinkOverlay/index.js +2 -2
  18. package/dist/cjs/ui-color/ColorPalette/Palettes/highlightColorPalette.js +11 -14
  19. package/dist/es2019/analytics/types/enums.js +1 -0
  20. package/dist/es2019/card/ui/assets/card.js +8 -13
  21. package/dist/es2019/card/ui/assets/embed.js +8 -13
  22. package/dist/es2019/card/ui/assets/inline.js +8 -13
  23. package/dist/es2019/card/ui/assets/url.js +8 -13
  24. package/dist/es2019/icons/shared/BorderIcon.js +8 -12
  25. package/dist/es2019/icons/shared/PanelErrorIcon.js +11 -15
  26. package/dist/es2019/icons/shared/PanelInfoIcon.js +10 -14
  27. package/dist/es2019/icons/shared/PanelNoteIcon.js +5 -11
  28. package/dist/es2019/icons/shared/PanelSuccessIcon.js +11 -15
  29. package/dist/es2019/icons/shared/PanelWarningIcon.js +11 -15
  30. package/dist/es2019/messages/find-replace.js +5 -0
  31. package/dist/es2019/monitoring/error.js +1 -1
  32. package/dist/es2019/quick-insert/messages.js +10 -0
  33. package/dist/es2019/ui/DropList/index.js +1 -1
  34. package/dist/es2019/ui/HoverLinkOverlay/index.js +2 -2
  35. package/dist/es2019/ui-color/ColorPalette/Palettes/highlightColorPalette.js +11 -14
  36. package/dist/esm/analytics/types/enums.js +1 -0
  37. package/dist/esm/card/ui/assets/card.js +7 -13
  38. package/dist/esm/card/ui/assets/embed.js +7 -13
  39. package/dist/esm/card/ui/assets/inline.js +7 -13
  40. package/dist/esm/card/ui/assets/url.js +7 -13
  41. package/dist/esm/icons/shared/BorderIcon.js +7 -12
  42. package/dist/esm/icons/shared/PanelErrorIcon.js +10 -15
  43. package/dist/esm/icons/shared/PanelInfoIcon.js +9 -14
  44. package/dist/esm/icons/shared/PanelNoteIcon.js +5 -11
  45. package/dist/esm/icons/shared/PanelSuccessIcon.js +10 -15
  46. package/dist/esm/icons/shared/PanelWarningIcon.js +10 -15
  47. package/dist/esm/messages/find-replace.js +5 -0
  48. package/dist/esm/monitoring/error.js +1 -1
  49. package/dist/esm/quick-insert/messages.js +10 -0
  50. package/dist/esm/ui/DropList/index.js +1 -1
  51. package/dist/esm/ui/HoverLinkOverlay/index.js +2 -2
  52. package/dist/esm/ui-color/ColorPalette/Palettes/highlightColorPalette.js +11 -14
  53. package/dist/types/analytics/types/enums.d.ts +1 -0
  54. package/dist/types/analytics/types/general-events.d.ts +4 -1
  55. package/dist/types/card/ui/assets/card.d.ts +3 -2
  56. package/dist/types/card/ui/assets/embed.d.ts +3 -2
  57. package/dist/types/card/ui/assets/inline.d.ts +3 -2
  58. package/dist/types/card/ui/assets/url.d.ts +3 -2
  59. package/dist/types/icons/shared/BorderIcon.d.ts +3 -2
  60. package/dist/types/icons/shared/PanelErrorIcon.d.ts +3 -2
  61. package/dist/types/icons/shared/PanelInfoIcon.d.ts +3 -2
  62. package/dist/types/icons/shared/PanelSuccessIcon.d.ts +3 -2
  63. package/dist/types/icons/shared/PanelWarningIcon.d.ts +3 -2
  64. package/dist/types/messages/find-replace.d.ts +5 -0
  65. package/dist/types/quick-insert/messages.d.ts +10 -0
  66. package/dist/types-ts4.5/analytics/types/enums.d.ts +1 -0
  67. package/dist/types-ts4.5/analytics/types/general-events.d.ts +4 -1
  68. package/dist/types-ts4.5/card/ui/assets/card.d.ts +3 -2
  69. package/dist/types-ts4.5/card/ui/assets/embed.d.ts +3 -2
  70. package/dist/types-ts4.5/card/ui/assets/inline.d.ts +3 -2
  71. package/dist/types-ts4.5/card/ui/assets/url.d.ts +3 -2
  72. package/dist/types-ts4.5/icons/shared/BorderIcon.d.ts +3 -2
  73. package/dist/types-ts4.5/icons/shared/PanelErrorIcon.d.ts +3 -2
  74. package/dist/types-ts4.5/icons/shared/PanelInfoIcon.d.ts +3 -2
  75. package/dist/types-ts4.5/icons/shared/PanelSuccessIcon.d.ts +3 -2
  76. package/dist/types-ts4.5/icons/shared/PanelWarningIcon.d.ts +3 -2
  77. package/dist/types-ts4.5/messages/find-replace.d.ts +5 -0
  78. package/dist/types-ts4.5/quick-insert/messages.d.ts +10 -0
  79. package/package.json +2 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 110.46.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`53aef9589ca55`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/53aef9589ca55) -
8
+ [EDITOR-3786] Make sure that for any check of `cc_editor_ai_content_mode` &&
9
+ `platform_editor_content_mode_button_mvp` in the code we are also checking
10
+ `confluence_compact_text_format`
11
+ - [`06de6cb74b477`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/06de6cb74b477) -
12
+ [ux] [ENGHEALTH-47507] internationalise strings behind feature gate platform_editor_dec_a11y_fixes
13
+ - [`c32dc3155a31a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c32dc3155a31a) -
14
+ Added an organic changes monitor which will reported anayltics when an organic change occurs. The
15
+ new analytic will contain extra information regarding only the transaction which caused the
16
+ organic change.
17
+ - Updated dependencies
18
+
19
+ ## 110.46.1
20
+
21
+ ### Patch Changes
22
+
23
+ - [`9f03725ffb7b8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9f03725ffb7b8) -
24
+ Removing feature flag with changing internal use of custom icons.
25
+ - Updated dependencies
26
+
3
27
  ## 110.46.0
4
28
 
5
29
  ### Minor Changes
@@ -166,6 +166,7 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
166
166
  ACTION["SORT_COLUMN_NOT_ALLOWED"] = "sortColumnNotAllowed";
167
167
  ACTION["NCS_SESSION_STEP_METRICS"] = "ncsSessionStepMetrics";
168
168
  ACTION["STEPS_TRACKED"] = "stepsTracked";
169
+ ACTION["ORGANIC_CHANGES_TRACKED"] = "organicChangesTracked";
169
170
  ACTION["STEPS_FILTERED"] = "stepsFiltered";
170
171
  ACTION["CREATE_NOT_ALLOWED"] = "createNotAllowed";
171
172
  ACTION["UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED"] = "unsupportedContentLevelsTrackingSucceeded";
@@ -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
  };
@@ -26,6 +26,11 @@ var findReplaceMessages = exports.findReplaceMessages = (0, _reactIntlNext.defin
26
26
  defaultMessage: 'Find previous',
27
27
  description: 'Locate the previous occurrence of the word or phrase that was searched for'
28
28
  },
29
+ findReplaceDialogAriaLabel: {
30
+ id: 'fabric.editor.findReplaceDialogAriaLabel',
31
+ defaultMessage: 'Find and Replace',
32
+ description: 'Aria label for the "Find and Replace" dialog'
33
+ },
29
34
  closeFindReplaceDialog: {
30
35
  id: 'fabric.editor.closeFindReplaceDialog',
31
36
  defaultMessage: 'Close',
@@ -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.45.1";
22
+ var packageVersion = "110.46.1";
23
23
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
24
24
  // Remove URL as it has UGC
25
25
  // Ignored via go/ees007
@@ -11,6 +11,16 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
11
11
  defaultMessage: 'Help',
12
12
  description: 'Element browser help button label'
13
13
  },
14
+ insert: {
15
+ id: 'fabric.editor.elementbrowser.modal.insert',
16
+ defaultMessage: 'Insert',
17
+ description: 'Element browser insert button label'
18
+ },
19
+ close: {
20
+ id: 'fabric.editor.elementbrowser.modal.close',
21
+ defaultMessage: 'Close',
22
+ description: 'Element browser close button label'
23
+ },
14
24
  all: {
15
25
  id: 'fabric.editor.elementbrowser.categorylist.category-all',
16
26
  defaultMessage: 'All',
@@ -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.45.1";
27
+ var packageVersion = "110.46.1";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -273,7 +273,7 @@ var HoverLinkOverlayOriginal = function HoverLinkOverlayOriginal(_ref) {
273
273
  href: url,
274
274
  target: "_blank",
275
275
  style: {
276
- paddingBlock: compactPadding ? '1px' : (0, _expValEquals.expValEquals)('cc_editor_ai_content_mode', 'variant', 'test') && (0, _platformFeatureFlags.fg)('platform_editor_content_mode_button_mvp') ? DYNAMIC_PADDING_BLOCK : "var(--ds-space-025, 2px)"
276
+ paddingBlock: compactPadding ? '1px' : (0, _expValEquals.expValEquals)('confluence_compact_text_format', 'isEnabled', true) || (0, _expValEquals.expValEquals)('cc_editor_ai_content_mode', 'variant', 'test') && (0, _platformFeatureFlags.fg)('platform_editor_content_mode_button_mvp') ? DYNAMIC_PADDING_BLOCK : "var(--ds-space-025, 2px)"
277
277
  },
278
278
  onClick: handleClick,
279
279
  testId: "inline-card-hoverlink-overlay"
@@ -412,7 +412,7 @@ var HoverLinkOverlayNew = function HoverLinkOverlayNew(_ref2) {
412
412
  href: url,
413
413
  target: "_blank",
414
414
  style: {
415
- paddingBlock: compactPadding ? '1px' : (0, _expValEquals.expValEquals)('cc_editor_ai_content_mode', 'variant', 'test') && (0, _platformFeatureFlags.fg)('platform_editor_content_mode_button_mvp') ? DYNAMIC_PADDING_BLOCK : "var(--ds-space-025, 2px)"
415
+ paddingBlock: compactPadding ? '1px' : (0, _expValEquals.expValEquals)('confluence_compact_text_format', 'isEnabled', true) || (0, _expValEquals.expValEquals)('cc_editor_ai_content_mode', 'variant', 'test') && (0, _platformFeatureFlags.fg)('platform_editor_content_mode_button_mvp') ? DYNAMIC_PADDING_BLOCK : "var(--ds-space-025, 2px)"
416
416
  },
417
417
  onClick: handleClick,
418
418
  testId: "inline-card-hoverlink-overlay"
@@ -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
@@ -160,6 +160,7 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
160
160
  ACTION["SORT_COLUMN_NOT_ALLOWED"] = "sortColumnNotAllowed";
161
161
  ACTION["NCS_SESSION_STEP_METRICS"] = "ncsSessionStepMetrics";
162
162
  ACTION["STEPS_TRACKED"] = "stepsTracked";
163
+ ACTION["ORGANIC_CHANGES_TRACKED"] = "organicChangesTracked";
163
164
  ACTION["STEPS_FILTERED"] = "stepsFiltered";
164
165
  ACTION["CREATE_NOT_ALLOWED"] = "createNotAllowed";
165
166
  ACTION["UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED"] = "unsupportedContentLevelsTrackingSucceeded";
@@ -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
  };