@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
@@ -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 IconUrlGlyph = props => {
7
6
  return /*#__PURE__*/React.createElement("svg", _extends({
8
7
  width: "32",
@@ -21,20 +20,16 @@ const IconUrlGlyph = props => {
21
20
  fill: "currentColor"
22
21
  }));
23
22
  };
24
- export const IconUrl = props => {
25
- return fg('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement(IconUrlGlyph, {
26
- "aria-label": props.label,
23
+ export const IconUrl = ({
24
+ label
25
+ }) => {
26
+ return /*#__PURE__*/React.createElement(IconUrlGlyph, {
27
+ "aria-label": label,
27
28
  style: {
28
29
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
29
30
  width: '24px',
30
31
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
31
32
  height: '24px'
32
33
  }
33
- }) :
34
- /*#__PURE__*/
35
- // Ignored via go/ees005
36
- // eslint-disable-next-line react/jsx-props-no-spreading
37
- React.createElement(Icon, _extends({
38
- glyph: IconUrlGlyph
39
- }, props));
34
+ });
40
35
  };
@@ -1,7 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@atlaskit/icon';
4
- 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
5
5
  const BorderIconGlyph = props => {
6
6
  return /*#__PURE__*/React.createElement("svg", _extends({
7
7
  width: "24",
@@ -21,14 +21,10 @@ const BorderIconGlyph = props => {
21
21
  fill: "currentColor"
22
22
  }));
23
23
  };
24
- export const BorderIcon = props => {
25
- return fg('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement(BorderIconGlyph, {
26
- "aria-label": props.label
27
- }) :
28
- /*#__PURE__*/
29
- // Ignored via go/ees005
30
- // eslint-disable-next-line react/jsx-props-no-spreading
31
- React.createElement(Icon, _extends({
32
- glyph: BorderIconGlyph
33
- }, props));
24
+ export const BorderIcon = ({
25
+ label
26
+ }) => {
27
+ return /*#__PURE__*/React.createElement(BorderIconGlyph, {
28
+ "aria-label": label
29
+ });
34
30
  };
@@ -3,9 +3,9 @@ import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./PanelErrorIcon.compiled.css";
4
4
  import * as React from 'react';
5
5
  import { ax, ix } from "@compiled/react/runtime";
6
- import Icon from '@atlaskit/icon';
7
- import { fg } from '@atlaskit/platform-feature-flags';
8
6
  const iconStyles = null;
7
+
8
+ // 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
9
9
  const PanelErrorGlyph = props => {
10
10
  return /*#__PURE__*/React.createElement("svg", _extends({
11
11
  width: "24",
@@ -22,19 +22,15 @@ const PanelErrorGlyph = props => {
22
22
  fill: "currentColor"
23
23
  }));
24
24
  };
25
- export const PanelErrorIcon = props => {
26
- return fg('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement("span", {
27
- role: props.label ? 'img' : undefined,
28
- "aria-label": props.label ? props.label : undefined,
29
- "aria-hidden": props.label ? undefined : true,
25
+ export const PanelErrorIcon = ({
26
+ label
27
+ }) => {
28
+ return /*#__PURE__*/React.createElement("span", {
29
+ role: label ? 'img' : undefined,
30
+ "aria-label": label ? label : undefined,
31
+ "aria-hidden": label ? undefined : true,
30
32
  className: ax(["_1e0c1o8l _1o9zidpf _re2rglyw"])
31
33
  }, /*#__PURE__*/React.createElement(PanelErrorGlyph, {
32
- "aria-label": props.label
33
- })) :
34
- /*#__PURE__*/
35
- // Ignored via go/ees005
36
- // eslint-disable-next-line react/jsx-props-no-spreading
37
- React.createElement(Icon, _extends({
38
- glyph: PanelErrorGlyph
39
- }, props));
34
+ role: "presentation"
35
+ }));
40
36
  };
@@ -3,9 +3,9 @@ import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./PanelInfoIcon.compiled.css";
4
4
  import * as React from 'react';
5
5
  import { ax, ix } from "@compiled/react/runtime";
6
- import Icon from '@atlaskit/icon';
7
- import { fg } from '@atlaskit/platform-feature-flags';
8
6
  const iconStyles = null;
7
+
8
+ // 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
9
9
  const PanelInfoGlyph = props => {
10
10
  return /*#__PURE__*/React.createElement("svg", _extends({
11
11
  width: "24",
@@ -22,19 +22,15 @@ const PanelInfoGlyph = props => {
22
22
  fill: "currentColor"
23
23
  }));
24
24
  };
25
- export const PanelInfoIcon = props => {
26
- return fg('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement("span", {
27
- role: props.label ? 'img' : undefined,
28
- "aria-label": props.label ? props.label : undefined,
29
- "aria-hidden": props.label ? undefined : true,
25
+ export const PanelInfoIcon = ({
26
+ label
27
+ }) => {
28
+ return /*#__PURE__*/React.createElement("span", {
29
+ role: label ? 'img' : undefined,
30
+ "aria-label": label ? label : undefined,
31
+ "aria-hidden": label ? undefined : true,
30
32
  className: ax(["_1e0c1o8l _1o9zidpf _re2rglyw"])
31
33
  }, /*#__PURE__*/React.createElement(PanelInfoGlyph, {
32
34
  role: "presentation"
33
- })) :
34
- /*#__PURE__*/
35
- // Ignored via go/ees005
36
- // eslint-disable-next-line react/jsx-props-no-spreading
37
- React.createElement(Icon, _extends({
38
- glyph: PanelInfoGlyph
39
- }, props));
35
+ }));
40
36
  };
@@ -3,9 +3,9 @@ import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./PanelNoteIcon.compiled.css";
4
4
  import * as React from 'react';
5
5
  import { ax, ix } from "@compiled/react/runtime";
6
- import Icon from '@atlaskit/icon';
7
- import { fg } from '@atlaskit/platform-feature-flags';
8
6
  const iconStyles = null;
7
+
8
+ // 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
9
9
  const PanelNoteGlyph = props => {
10
10
  return /*#__PURE__*/React.createElement("svg", _extends({
11
11
  width: "24",
@@ -23,18 +23,12 @@ const PanelNoteGlyph = props => {
23
23
  }));
24
24
  };
25
25
  export const PanelNoteIcon = props => {
26
- return fg('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement("span", {
26
+ return /*#__PURE__*/React.createElement("span", {
27
27
  role: props.label ? 'img' : undefined,
28
28
  "aria-label": props.label ? props.label : undefined,
29
29
  "aria-hidden": props.label ? undefined : true,
30
30
  className: ax(["_1e0c1o8l _1o9zidpf _re2rglyw"])
31
31
  }, /*#__PURE__*/React.createElement(PanelNoteGlyph, {
32
- "aria-label": props.label
33
- })) :
34
- /*#__PURE__*/
35
- // Ignored via go/ees005
36
- // eslint-disable-next-line react/jsx-props-no-spreading
37
- React.createElement(Icon, _extends({
38
- glyph: PanelNoteGlyph
39
- }, props));
32
+ role: "presentation"
33
+ }));
40
34
  };
@@ -3,9 +3,9 @@ import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./PanelSuccessIcon.compiled.css";
4
4
  import * as React from 'react';
5
5
  import { ax, ix } from "@compiled/react/runtime";
6
- import Icon from '@atlaskit/icon';
7
- import { fg } from '@atlaskit/platform-feature-flags';
8
6
  const iconStyles = null;
7
+
8
+ // 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
9
9
  const PanelSuccessGlyph = props => {
10
10
  return /*#__PURE__*/React.createElement("svg", _extends({
11
11
  width: "24",
@@ -22,19 +22,15 @@ const PanelSuccessGlyph = props => {
22
22
  fill: "currentColor"
23
23
  }));
24
24
  };
25
- export const PanelSuccessIcon = props => {
26
- return fg('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement("span", {
27
- role: props.label ? 'img' : undefined,
28
- "aria-label": props.label ? props.label : undefined,
29
- "aria-hidden": props.label ? undefined : true,
25
+ export const PanelSuccessIcon = ({
26
+ label
27
+ }) => {
28
+ return /*#__PURE__*/React.createElement("span", {
29
+ role: label ? 'img' : undefined,
30
+ "aria-label": label ? label : undefined,
31
+ "aria-hidden": label ? undefined : true,
30
32
  className: ax(["_1e0c1o8l _1o9zidpf _re2rglyw"])
31
33
  }, /*#__PURE__*/React.createElement(PanelSuccessGlyph, {
32
- "aria-label": props.label
33
- })) :
34
- /*#__PURE__*/
35
- // Ignored via go/ees005
36
- // eslint-disable-next-line react/jsx-props-no-spreading
37
- React.createElement(Icon, _extends({
38
- glyph: PanelSuccessGlyph
39
- }, props));
34
+ role: "presentation"
35
+ }));
40
36
  };
@@ -3,9 +3,9 @@ import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./PanelWarningIcon.compiled.css";
4
4
  import * as React from 'react';
5
5
  import { ax, ix } from "@compiled/react/runtime";
6
- import Icon from '@atlaskit/icon';
7
- import { fg } from '@atlaskit/platform-feature-flags';
8
6
  const iconStyles = null;
7
+
8
+ // 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
9
9
  const PanelWarningGlyph = props => {
10
10
  return /*#__PURE__*/React.createElement("svg", _extends({
11
11
  width: "24",
@@ -22,19 +22,15 @@ const PanelWarningGlyph = props => {
22
22
  fill: "currentColor"
23
23
  }));
24
24
  };
25
- export const PanelWarningIcon = props => {
26
- return fg('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement("span", {
27
- role: props.label ? 'img' : undefined,
28
- "aria-label": props.label ? props.label : undefined,
29
- "aria-hidden": props.label ? undefined : true,
25
+ export const PanelWarningIcon = ({
26
+ label
27
+ }) => {
28
+ return /*#__PURE__*/React.createElement("span", {
29
+ role: label ? 'img' : undefined,
30
+ "aria-label": label ? label : undefined,
31
+ "aria-hidden": label ? undefined : true,
30
32
  className: ax(["_1e0c1o8l _1o9zidpf _re2rglyw"])
31
33
  }, /*#__PURE__*/React.createElement(PanelWarningGlyph, {
32
- "aria-label": props.label
33
- })) :
34
- /*#__PURE__*/
35
- // Ignored via go/ees005
36
- // eslint-disable-next-line react/jsx-props-no-spreading
37
- React.createElement(Icon, _extends({
38
- glyph: PanelWarningGlyph
39
- }, props));
34
+ role: "presentation"
35
+ }));
40
36
  };
@@ -165,6 +165,11 @@ export const syncBlockMessages = defineMessages({
165
165
  defaultMessage: 'Synced block not found.',
166
166
  description: 'Alt text for icon on error state where the synced block cannot be found or no longer exists'
167
167
  },
168
+ notFoundDescription: {
169
+ id: 'fabric.editor.syncedBlockNotFoundDescription.non-final',
170
+ defaultMessage: 'We’re unable to display this content as its source has been deleted or archived.',
171
+ description: 'Description for error state where the synced block cannot be found'
172
+ },
168
173
  retryButton: {
169
174
  id: 'fabric.editor.retrySyncedBlock',
170
175
  defaultMessage: 'Try again',
@@ -4,7 +4,7 @@ import { isFedRamp } from './environment';
4
4
  import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
5
5
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
6
6
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
7
- const packageVersion = "110.44.3";
7
+ const packageVersion = "110.46.0";
8
8
  const sanitiseSentryEvents = (data, _hint) => {
9
9
  // Remove URL as it has UGC
10
10
  // Ignored via go/ees007
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import { fg } from '@atlaskit/platform-feature-flags';
15
15
  import Layer from '../Layer';
16
16
  const packageName = "@atlaskit/editor-common";
17
- const packageVersion = "110.44.3";
17
+ const packageVersion = "110.46.0";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -6,13 +6,13 @@
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { jsx } from '@emotion/react';
8
8
  import { backgroundColorPalette, backgroundColorPaletteNext } from '@atlaskit/adf-schema';
9
- import Icon from '@atlaskit/icon';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
9
  import { useThemeObserver } from '@atlaskit/tokens';
12
10
  import getColorMessage from './getColorMessage';
13
11
  import paletteMessages from './paletteMessages';
14
12
  import { mapPaletteColor } from './textColorPalette';
15
13
  export const REMOVE_HIGHLIGHT_COLOR = '#00000000';
14
+
15
+ // 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
16
16
  const DiagonalLineGlyph = props => jsx("svg", {
17
17
  width: "24",
18
18
  height: "24",
@@ -39,18 +39,15 @@ export const EditorDiagonalLineIcon = () => {
39
39
  colorMode
40
40
  } = useThemeObserver();
41
41
  const primaryColor = colorMode === 'dark' ? "var(--ds-background-accent-gray-bolder, #626F86)" : "var(--ds-background-accent-gray-subtle, #8590A2)";
42
- return fg('platform-custom-icon-migration') ?
43
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
44
- jsx(DiagonalLineGlyph, {
45
- "aria-label": "",
46
- style: {
47
- color: primaryColor
48
- }
49
- }) : jsx(Icon, {
50
- glyph: DiagonalLineGlyph,
51
- label: "",
52
- primaryColor: primaryColor
53
- });
42
+ return (
43
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
44
+ jsx(DiagonalLineGlyph, {
45
+ "aria-label": "",
46
+ style: {
47
+ color: primaryColor
48
+ }
49
+ })
50
+ );
54
51
  };
55
52
 
56
53
  // 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
  var IconCardGlyph = function IconCardGlyph(props) {
7
6
  return /*#__PURE__*/React.createElement("svg", _extends({
8
7
  width: "32",
@@ -19,20 +18,15 @@ var IconCardGlyph = function IconCardGlyph(props) {
19
18
  fill: "currentColor"
20
19
  }));
21
20
  };
22
- export var IconCard = function IconCard(props) {
23
- return fg('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement(IconCardGlyph, {
24
- "aria-label": props.label,
21
+ export var IconCard = function IconCard(_ref) {
22
+ var label = _ref.label;
23
+ return /*#__PURE__*/React.createElement(IconCardGlyph, {
24
+ "aria-label": label,
25
25
  style: {
26
26
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
27
27
  width: '24px',
28
28
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
29
29
  height: '24px'
30
30
  }
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));
31
+ });
38
32
  };
@@ -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
  var IconEmbedGlyph = function IconEmbedGlyph(props) {
7
6
  return /*#__PURE__*/React.createElement("svg", _extends({
8
7
  width: "32",
@@ -19,20 +18,15 @@ var IconEmbedGlyph = function IconEmbedGlyph(props) {
19
18
  fill: "currentColor"
20
19
  }));
21
20
  };
22
- export var IconEmbed = function IconEmbed(props) {
23
- return fg('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement(IconEmbedGlyph, {
24
- "aria-label": props.label,
21
+ export var IconEmbed = function IconEmbed(_ref) {
22
+ var label = _ref.label;
23
+ return /*#__PURE__*/React.createElement(IconEmbedGlyph, {
24
+ "aria-label": label,
25
25
  style: {
26
26
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
27
27
  width: '24px',
28
28
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
29
29
  height: '24px'
30
30
  }
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));
31
+ });
38
32
  };
@@ -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
  var IconInlineGlyph = function IconInlineGlyph(props) {
7
6
  return /*#__PURE__*/React.createElement("svg", _extends({
8
7
  width: "32",
@@ -19,20 +18,15 @@ var IconInlineGlyph = function IconInlineGlyph(props) {
19
18
  fill: "currentColor"
20
19
  }));
21
20
  };
22
- export var IconInline = function IconInline(props) {
23
- return fg('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement(IconInlineGlyph, {
24
- "aria-label": props.label,
21
+ export var IconInline = function IconInline(_ref) {
22
+ var label = _ref.label;
23
+ return /*#__PURE__*/React.createElement(IconInlineGlyph, {
24
+ "aria-label": label,
25
25
  style: {
26
26
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
27
27
  width: '24px',
28
28
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
29
29
  height: '24px'
30
30
  }
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));
31
+ });
38
32
  };
@@ -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
  var IconUrlGlyph = function IconUrlGlyph(props) {
7
6
  return /*#__PURE__*/React.createElement("svg", _extends({
8
7
  width: "32",
@@ -21,20 +20,15 @@ var IconUrlGlyph = function IconUrlGlyph(props) {
21
20
  fill: "currentColor"
22
21
  }));
23
22
  };
24
- export var IconUrl = function IconUrl(props) {
25
- return fg('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement(IconUrlGlyph, {
26
- "aria-label": props.label,
23
+ export var IconUrl = function IconUrl(_ref) {
24
+ var label = _ref.label;
25
+ return /*#__PURE__*/React.createElement(IconUrlGlyph, {
26
+ "aria-label": label,
27
27
  style: {
28
28
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
29
29
  width: '24px',
30
30
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
31
31
  height: '24px'
32
32
  }
33
- }) :
34
- /*#__PURE__*/
35
- // Ignored via go/ees005
36
- // eslint-disable-next-line react/jsx-props-no-spreading
37
- React.createElement(Icon, _extends({
38
- glyph: IconUrlGlyph
39
- }, props));
33
+ });
40
34
  };
@@ -1,7 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@atlaskit/icon';
4
- 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
5
5
  var BorderIconGlyph = function BorderIconGlyph(props) {
6
6
  return /*#__PURE__*/React.createElement("svg", _extends({
7
7
  width: "24",
@@ -21,14 +21,9 @@ var BorderIconGlyph = function BorderIconGlyph(props) {
21
21
  fill: "currentColor"
22
22
  }));
23
23
  };
24
- export var BorderIcon = function BorderIcon(props) {
25
- return fg('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement(BorderIconGlyph, {
26
- "aria-label": props.label
27
- }) :
28
- /*#__PURE__*/
29
- // Ignored via go/ees005
30
- // eslint-disable-next-line react/jsx-props-no-spreading
31
- React.createElement(Icon, _extends({
32
- glyph: BorderIconGlyph
33
- }, props));
24
+ export var BorderIcon = function BorderIcon(_ref) {
25
+ var label = _ref.label;
26
+ return /*#__PURE__*/React.createElement(BorderIconGlyph, {
27
+ "aria-label": label
28
+ });
34
29
  };
@@ -3,9 +3,9 @@ import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./PanelErrorIcon.compiled.css";
4
4
  import * as React from 'react';
5
5
  import { ax, ix } from "@compiled/react/runtime";
6
- import Icon from '@atlaskit/icon';
7
- import { fg } from '@atlaskit/platform-feature-flags';
8
6
  var iconStyles = null;
7
+
8
+ // 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
9
9
  var PanelErrorGlyph = function PanelErrorGlyph(props) {
10
10
  return /*#__PURE__*/React.createElement("svg", _extends({
11
11
  width: "24",
@@ -22,19 +22,14 @@ var PanelErrorGlyph = function PanelErrorGlyph(props) {
22
22
  fill: "currentColor"
23
23
  }));
24
24
  };
25
- export var PanelErrorIcon = function PanelErrorIcon(props) {
26
- return fg('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement("span", {
27
- role: props.label ? 'img' : undefined,
28
- "aria-label": props.label ? props.label : undefined,
29
- "aria-hidden": props.label ? undefined : true,
25
+ export var PanelErrorIcon = function PanelErrorIcon(_ref) {
26
+ var label = _ref.label;
27
+ return /*#__PURE__*/React.createElement("span", {
28
+ role: label ? 'img' : undefined,
29
+ "aria-label": label ? label : undefined,
30
+ "aria-hidden": label ? undefined : true,
30
31
  className: ax(["_1e0c1o8l _1o9zidpf _re2rglyw"])
31
32
  }, /*#__PURE__*/React.createElement(PanelErrorGlyph, {
32
- "aria-label": props.label
33
- })) :
34
- /*#__PURE__*/
35
- // Ignored via go/ees005
36
- // eslint-disable-next-line react/jsx-props-no-spreading
37
- React.createElement(Icon, _extends({
38
- glyph: PanelErrorGlyph
39
- }, props));
33
+ role: "presentation"
34
+ }));
40
35
  };
@@ -3,9 +3,9 @@ import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./PanelInfoIcon.compiled.css";
4
4
  import * as React from 'react';
5
5
  import { ax, ix } from "@compiled/react/runtime";
6
- import Icon from '@atlaskit/icon';
7
- import { fg } from '@atlaskit/platform-feature-flags';
8
6
  var iconStyles = null;
7
+
8
+ // 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
9
9
  var PanelInfoGlyph = function PanelInfoGlyph(props) {
10
10
  return /*#__PURE__*/React.createElement("svg", _extends({
11
11
  width: "24",
@@ -22,19 +22,14 @@ var PanelInfoGlyph = function PanelInfoGlyph(props) {
22
22
  fill: "currentColor"
23
23
  }));
24
24
  };
25
- export var PanelInfoIcon = function PanelInfoIcon(props) {
26
- return fg('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement("span", {
27
- role: props.label ? 'img' : undefined,
28
- "aria-label": props.label ? props.label : undefined,
29
- "aria-hidden": props.label ? undefined : true,
25
+ export var PanelInfoIcon = function PanelInfoIcon(_ref) {
26
+ var label = _ref.label;
27
+ return /*#__PURE__*/React.createElement("span", {
28
+ role: label ? 'img' : undefined,
29
+ "aria-label": label ? label : undefined,
30
+ "aria-hidden": label ? undefined : true,
30
31
  className: ax(["_1e0c1o8l _1o9zidpf _re2rglyw"])
31
32
  }, /*#__PURE__*/React.createElement(PanelInfoGlyph, {
32
33
  role: "presentation"
33
- })) :
34
- /*#__PURE__*/
35
- // Ignored via go/ees005
36
- // eslint-disable-next-line react/jsx-props-no-spreading
37
- React.createElement(Icon, _extends({
38
- glyph: PanelInfoGlyph
39
- }, props));
34
+ }));
40
35
  };