@atlaskit/editor-common 110.32.2 → 110.32.3
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.
- package/CHANGELOG.md +8 -0
- package/dist/cjs/card/ui/assets/card.js +12 -1
- package/dist/cjs/card/ui/assets/embed.js +12 -1
- package/dist/cjs/card/ui/assets/inline.js +12 -1
- package/dist/cjs/card/ui/assets/url.js +12 -1
- package/dist/cjs/icons/shared/BorderIcon.js +6 -1
- package/dist/cjs/icons/shared/PanelErrorIcon.compiled.css +3 -0
- package/dist/cjs/icons/shared/PanelErrorIcon.js +20 -4
- package/dist/cjs/icons/shared/PanelInfoIcon.compiled.css +3 -0
- package/dist/cjs/icons/shared/PanelInfoIcon.js +20 -4
- package/dist/cjs/icons/shared/PanelNoteIcon.compiled.css +3 -0
- package/dist/cjs/icons/shared/PanelNoteIcon.js +20 -4
- package/dist/cjs/icons/shared/PanelSuccessIcon.compiled.css +3 -0
- package/dist/cjs/icons/shared/PanelSuccessIcon.js +20 -4
- package/dist/cjs/icons/shared/PanelWarningIcon.compiled.css +3 -0
- package/dist/cjs/icons/shared/PanelWarningIcon.js +20 -4
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui-color/ColorPalette/Palettes/highlightColorPalette.js +13 -2
- package/dist/es2019/card/ui/assets/card.js +12 -1
- package/dist/es2019/card/ui/assets/embed.js +12 -1
- package/dist/es2019/card/ui/assets/inline.js +12 -1
- package/dist/es2019/card/ui/assets/url.js +12 -1
- package/dist/es2019/icons/shared/BorderIcon.js +6 -1
- package/dist/es2019/icons/shared/PanelErrorIcon.compiled.css +3 -0
- package/dist/es2019/icons/shared/PanelErrorIcon.js +16 -2
- package/dist/es2019/icons/shared/PanelInfoIcon.compiled.css +3 -0
- package/dist/es2019/icons/shared/PanelInfoIcon.js +16 -2
- package/dist/es2019/icons/shared/PanelNoteIcon.compiled.css +3 -0
- package/dist/es2019/icons/shared/PanelNoteIcon.js +16 -2
- package/dist/es2019/icons/shared/PanelSuccessIcon.compiled.css +3 -0
- package/dist/es2019/icons/shared/PanelSuccessIcon.js +16 -2
- package/dist/es2019/icons/shared/PanelWarningIcon.compiled.css +3 -0
- package/dist/es2019/icons/shared/PanelWarningIcon.js +16 -2
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui-color/ColorPalette/Palettes/highlightColorPalette.js +13 -2
- package/dist/esm/card/ui/assets/card.js +12 -1
- package/dist/esm/card/ui/assets/embed.js +12 -1
- package/dist/esm/card/ui/assets/inline.js +12 -1
- package/dist/esm/card/ui/assets/url.js +12 -1
- package/dist/esm/icons/shared/BorderIcon.js +6 -1
- package/dist/esm/icons/shared/PanelErrorIcon.compiled.css +3 -0
- package/dist/esm/icons/shared/PanelErrorIcon.js +16 -2
- package/dist/esm/icons/shared/PanelInfoIcon.compiled.css +3 -0
- package/dist/esm/icons/shared/PanelInfoIcon.js +16 -2
- package/dist/esm/icons/shared/PanelNoteIcon.compiled.css +3 -0
- package/dist/esm/icons/shared/PanelNoteIcon.js +16 -2
- package/dist/esm/icons/shared/PanelSuccessIcon.compiled.css +3 -0
- package/dist/esm/icons/shared/PanelSuccessIcon.js +16 -2
- package/dist/esm/icons/shared/PanelWarningIcon.compiled.css +3 -0
- package/dist/esm/icons/shared/PanelWarningIcon.js +16 -2
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui-color/ColorPalette/Palettes/highlightColorPalette.js +13 -2
- package/dist/types/icons/shared/PanelErrorIcon.d.ts +1 -2
- package/dist/types/icons/shared/PanelInfoIcon.d.ts +1 -2
- package/dist/types/icons/shared/PanelNoteIcon.d.ts +1 -2
- package/dist/types/icons/shared/PanelSuccessIcon.d.ts +1 -2
- package/dist/types/icons/shared/PanelWarningIcon.d.ts +1 -2
- package/dist/types/provider-factory.d.ts +0 -1
- package/dist/types-ts4.5/icons/shared/PanelErrorIcon.d.ts +1 -2
- package/dist/types-ts4.5/icons/shared/PanelInfoIcon.d.ts +1 -2
- package/dist/types-ts4.5/icons/shared/PanelNoteIcon.d.ts +1 -2
- package/dist/types-ts4.5/icons/shared/PanelSuccessIcon.d.ts +1 -2
- package/dist/types-ts4.5/icons/shared/PanelWarningIcon.d.ts +1 -2
- package/dist/types-ts4.5/provider-factory.d.ts +0 -1
- package/package.json +10 -7
- package/dist/cjs/provider-factory/synced-block-renderer-provider.js +0 -5
- package/dist/es2019/provider-factory/synced-block-renderer-provider.js +0 -1
- package/dist/esm/provider-factory/synced-block-renderer-provider.js +0 -1
- package/dist/types/provider-factory/synced-block-renderer-provider.d.ts +0 -12
- package/dist/types-ts4.5/provider-factory/synced-block-renderer-provider.d.ts +0 -12
|
@@ -2,6 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
/* eslint-disable @atlaskit/design-system/no-custom-icons */
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import Icon from '@atlaskit/icon';
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
6
|
const IconUrlGlyph = props => {
|
|
6
7
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
7
8
|
width: "32",
|
|
@@ -21,9 +22,19 @@ const IconUrlGlyph = props => {
|
|
|
21
22
|
}));
|
|
22
23
|
};
|
|
23
24
|
export const IconUrl = props => {
|
|
25
|
+
return fg('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement(IconUrlGlyph, {
|
|
26
|
+
"aria-label": props.label,
|
|
27
|
+
style: {
|
|
28
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
29
|
+
width: '24px',
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
31
|
+
height: '24px'
|
|
32
|
+
}
|
|
33
|
+
}) :
|
|
34
|
+
/*#__PURE__*/
|
|
24
35
|
// Ignored via go/ees005
|
|
25
36
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
26
|
-
|
|
37
|
+
React.createElement(Icon, _extends({
|
|
27
38
|
glyph: IconUrlGlyph
|
|
28
39
|
}, props));
|
|
29
40
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import Icon from '@atlaskit/icon';
|
|
4
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
5
|
const BorderIconGlyph = props => {
|
|
5
6
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
7
|
width: "24",
|
|
@@ -21,9 +22,13 @@ const BorderIconGlyph = props => {
|
|
|
21
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__*/
|
|
24
29
|
// Ignored via go/ees005
|
|
25
30
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
26
|
-
|
|
31
|
+
React.createElement(Icon, _extends({
|
|
27
32
|
glyph: BorderIconGlyph
|
|
28
33
|
}, props));
|
|
29
34
|
};
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
/* PanelErrorIcon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import
|
|
3
|
+
import "./PanelErrorIcon.compiled.css";
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
3
6
|
import Icon from '@atlaskit/icon';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
+
const iconStyles = null;
|
|
4
9
|
const PanelErrorGlyph = props => {
|
|
5
10
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
11
|
width: "24",
|
|
@@ -18,9 +23,18 @@ const PanelErrorGlyph = props => {
|
|
|
18
23
|
}));
|
|
19
24
|
};
|
|
20
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,
|
|
30
|
+
className: ax(["_1e0c1o8l _1o9zidpf _re2rglyw"])
|
|
31
|
+
}, /*#__PURE__*/React.createElement(PanelErrorGlyph, {
|
|
32
|
+
"aria-label": props.label
|
|
33
|
+
})) :
|
|
34
|
+
/*#__PURE__*/
|
|
21
35
|
// Ignored via go/ees005
|
|
22
36
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
23
|
-
|
|
37
|
+
React.createElement(Icon, _extends({
|
|
24
38
|
glyph: PanelErrorGlyph
|
|
25
39
|
}, props));
|
|
26
40
|
};
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
/* PanelInfoIcon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import
|
|
3
|
+
import "./PanelInfoIcon.compiled.css";
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
3
6
|
import Icon from '@atlaskit/icon';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
+
const iconStyles = null;
|
|
4
9
|
const PanelInfoGlyph = props => {
|
|
5
10
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
11
|
width: "24",
|
|
@@ -18,9 +23,18 @@ const PanelInfoGlyph = props => {
|
|
|
18
23
|
}));
|
|
19
24
|
};
|
|
20
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,
|
|
30
|
+
className: ax(["_1e0c1o8l _1o9zidpf _re2rglyw"])
|
|
31
|
+
}, /*#__PURE__*/React.createElement(PanelInfoGlyph, {
|
|
32
|
+
role: "presentation"
|
|
33
|
+
})) :
|
|
34
|
+
/*#__PURE__*/
|
|
21
35
|
// Ignored via go/ees005
|
|
22
36
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
23
|
-
|
|
37
|
+
React.createElement(Icon, _extends({
|
|
24
38
|
glyph: PanelInfoGlyph
|
|
25
39
|
}, props));
|
|
26
40
|
};
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
/* PanelNoteIcon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import
|
|
3
|
+
import "./PanelNoteIcon.compiled.css";
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
3
6
|
import Icon from '@atlaskit/icon';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
+
const iconStyles = null;
|
|
4
9
|
const PanelNoteGlyph = props => {
|
|
5
10
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
11
|
width: "24",
|
|
@@ -18,9 +23,18 @@ const PanelNoteGlyph = props => {
|
|
|
18
23
|
}));
|
|
19
24
|
};
|
|
20
25
|
export const PanelNoteIcon = 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,
|
|
30
|
+
className: ax(["_1e0c1o8l _1o9zidpf _re2rglyw"])
|
|
31
|
+
}, /*#__PURE__*/React.createElement(PanelNoteGlyph, {
|
|
32
|
+
"aria-label": props.label
|
|
33
|
+
})) :
|
|
34
|
+
/*#__PURE__*/
|
|
21
35
|
// Ignored via go/ees005
|
|
22
36
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
23
|
-
|
|
37
|
+
React.createElement(Icon, _extends({
|
|
24
38
|
glyph: PanelNoteGlyph
|
|
25
39
|
}, props));
|
|
26
40
|
};
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
/* PanelSuccessIcon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import
|
|
3
|
+
import "./PanelSuccessIcon.compiled.css";
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
3
6
|
import Icon from '@atlaskit/icon';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
+
const iconStyles = null;
|
|
4
9
|
const PanelSuccessGlyph = props => {
|
|
5
10
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
11
|
width: "24",
|
|
@@ -18,9 +23,18 @@ const PanelSuccessGlyph = props => {
|
|
|
18
23
|
}));
|
|
19
24
|
};
|
|
20
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,
|
|
30
|
+
className: ax(["_1e0c1o8l _1o9zidpf _re2rglyw"])
|
|
31
|
+
}, /*#__PURE__*/React.createElement(PanelSuccessGlyph, {
|
|
32
|
+
"aria-label": props.label
|
|
33
|
+
})) :
|
|
34
|
+
/*#__PURE__*/
|
|
21
35
|
// Ignored via go/ees005
|
|
22
36
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
23
|
-
|
|
37
|
+
React.createElement(Icon, _extends({
|
|
24
38
|
glyph: PanelSuccessGlyph
|
|
25
39
|
}, props));
|
|
26
40
|
};
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
/* PanelWarningIcon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import
|
|
3
|
+
import "./PanelWarningIcon.compiled.css";
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
3
6
|
import Icon from '@atlaskit/icon';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
+
const iconStyles = null;
|
|
4
9
|
const PanelWarningGlyph = props => {
|
|
5
10
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
11
|
width: "24",
|
|
@@ -18,9 +23,18 @@ const PanelWarningGlyph = props => {
|
|
|
18
23
|
}));
|
|
19
24
|
};
|
|
20
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,
|
|
30
|
+
className: ax(["_1e0c1o8l _1o9zidpf _re2rglyw"])
|
|
31
|
+
}, /*#__PURE__*/React.createElement(PanelWarningGlyph, {
|
|
32
|
+
"aria-label": props.label
|
|
33
|
+
})) :
|
|
34
|
+
/*#__PURE__*/
|
|
21
35
|
// Ignored via go/ees005
|
|
22
36
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
23
|
-
|
|
37
|
+
React.createElement(Icon, _extends({
|
|
24
38
|
glyph: PanelWarningGlyph
|
|
25
39
|
}, props));
|
|
26
40
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isFedRamp } from './environment';
|
|
2
2
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
3
3
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
4
|
-
const packageVersion = "
|
|
4
|
+
const packageVersion = "0.0.0-development";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// 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 = "
|
|
17
|
+
const packageVersion = "0.0.0-development";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -7,17 +7,21 @@
|
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
8
|
import { backgroundColorPalette, backgroundColorPaletteNext } from '@atlaskit/adf-schema';
|
|
9
9
|
import Icon from '@atlaskit/icon';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
11
|
import { useThemeObserver } from '@atlaskit/tokens';
|
|
11
12
|
import getColorMessage from './getColorMessage';
|
|
12
13
|
import paletteMessages from './paletteMessages';
|
|
13
14
|
import { mapPaletteColor } from './textColorPalette';
|
|
14
15
|
export const REMOVE_HIGHLIGHT_COLOR = '#00000000';
|
|
15
|
-
const DiagonalLineGlyph =
|
|
16
|
+
const DiagonalLineGlyph = props => jsx("svg", {
|
|
16
17
|
width: "24",
|
|
17
18
|
height: "24",
|
|
18
19
|
viewBox: "0 0 24 24",
|
|
19
20
|
fill: "none",
|
|
20
21
|
xmlns: "http://www.w3.org/2000/svg"
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
23
|
+
,
|
|
24
|
+
style: props.style
|
|
21
25
|
}, jsx("rect", {
|
|
22
26
|
width: "24",
|
|
23
27
|
height: "24",
|
|
@@ -35,7 +39,14 @@ export const EditorDiagonalLineIcon = () => {
|
|
|
35
39
|
colorMode
|
|
36
40
|
} = useThemeObserver();
|
|
37
41
|
const primaryColor = colorMode === 'dark' ? "var(--ds-background-accent-gray-bolder, #626F86)" : "var(--ds-background-accent-gray-subtle, #8590A2)";
|
|
38
|
-
return
|
|
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, {
|
|
39
50
|
glyph: DiagonalLineGlyph,
|
|
40
51
|
label: "",
|
|
41
52
|
primaryColor: primaryColor
|
|
@@ -2,6 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
/* eslint-disable @atlaskit/design-system/no-custom-icons */
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import Icon from '@atlaskit/icon';
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
6
|
var IconCardGlyph = function IconCardGlyph(props) {
|
|
6
7
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
7
8
|
width: "32",
|
|
@@ -19,9 +20,19 @@ var IconCardGlyph = function IconCardGlyph(props) {
|
|
|
19
20
|
}));
|
|
20
21
|
};
|
|
21
22
|
export var IconCard = function IconCard(props) {
|
|
23
|
+
return fg('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement(IconCardGlyph, {
|
|
24
|
+
"aria-label": props.label,
|
|
25
|
+
style: {
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
27
|
+
width: '24px',
|
|
28
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
29
|
+
height: '24px'
|
|
30
|
+
}
|
|
31
|
+
}) :
|
|
32
|
+
/*#__PURE__*/
|
|
22
33
|
// Ignored via go/ees005
|
|
23
34
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
24
|
-
|
|
35
|
+
React.createElement(Icon, _extends({
|
|
25
36
|
glyph: IconCardGlyph
|
|
26
37
|
}, props));
|
|
27
38
|
};
|
|
@@ -2,6 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
/* eslint-disable @atlaskit/design-system/no-custom-icons */
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import Icon from '@atlaskit/icon';
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
6
|
var IconEmbedGlyph = function IconEmbedGlyph(props) {
|
|
6
7
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
7
8
|
width: "32",
|
|
@@ -19,9 +20,19 @@ var IconEmbedGlyph = function IconEmbedGlyph(props) {
|
|
|
19
20
|
}));
|
|
20
21
|
};
|
|
21
22
|
export var IconEmbed = function IconEmbed(props) {
|
|
23
|
+
return fg('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement(IconEmbedGlyph, {
|
|
24
|
+
"aria-label": props.label,
|
|
25
|
+
style: {
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
27
|
+
width: '24px',
|
|
28
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
29
|
+
height: '24px'
|
|
30
|
+
}
|
|
31
|
+
}) :
|
|
32
|
+
/*#__PURE__*/
|
|
22
33
|
// Ignored via go/ees005
|
|
23
34
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
24
|
-
|
|
35
|
+
React.createElement(Icon, _extends({
|
|
25
36
|
glyph: IconEmbedGlyph
|
|
26
37
|
}, props));
|
|
27
38
|
};
|
|
@@ -2,6 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
/* eslint-disable @atlaskit/design-system/no-custom-icons */
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import Icon from '@atlaskit/icon';
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
6
|
var IconInlineGlyph = function IconInlineGlyph(props) {
|
|
6
7
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
7
8
|
width: "32",
|
|
@@ -19,9 +20,19 @@ var IconInlineGlyph = function IconInlineGlyph(props) {
|
|
|
19
20
|
}));
|
|
20
21
|
};
|
|
21
22
|
export var IconInline = function IconInline(props) {
|
|
23
|
+
return fg('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement(IconInlineGlyph, {
|
|
24
|
+
"aria-label": props.label,
|
|
25
|
+
style: {
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
27
|
+
width: '24px',
|
|
28
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
29
|
+
height: '24px'
|
|
30
|
+
}
|
|
31
|
+
}) :
|
|
32
|
+
/*#__PURE__*/
|
|
22
33
|
// Ignored via go/ees005
|
|
23
34
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
24
|
-
|
|
35
|
+
React.createElement(Icon, _extends({
|
|
25
36
|
glyph: IconInlineGlyph
|
|
26
37
|
}, props));
|
|
27
38
|
};
|
|
@@ -2,6 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
/* eslint-disable @atlaskit/design-system/no-custom-icons */
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import Icon from '@atlaskit/icon';
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
6
|
var IconUrlGlyph = function IconUrlGlyph(props) {
|
|
6
7
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
7
8
|
width: "32",
|
|
@@ -21,9 +22,19 @@ var IconUrlGlyph = function IconUrlGlyph(props) {
|
|
|
21
22
|
}));
|
|
22
23
|
};
|
|
23
24
|
export var IconUrl = function IconUrl(props) {
|
|
25
|
+
return fg('platform-custom-icon-migration') ? /*#__PURE__*/React.createElement(IconUrlGlyph, {
|
|
26
|
+
"aria-label": props.label,
|
|
27
|
+
style: {
|
|
28
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
29
|
+
width: '24px',
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
31
|
+
height: '24px'
|
|
32
|
+
}
|
|
33
|
+
}) :
|
|
34
|
+
/*#__PURE__*/
|
|
24
35
|
// Ignored via go/ees005
|
|
25
36
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
26
|
-
|
|
37
|
+
React.createElement(Icon, _extends({
|
|
27
38
|
glyph: IconUrlGlyph
|
|
28
39
|
}, props));
|
|
29
40
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import Icon from '@atlaskit/icon';
|
|
4
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
5
|
var BorderIconGlyph = function BorderIconGlyph(props) {
|
|
5
6
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
7
|
width: "24",
|
|
@@ -21,9 +22,13 @@ var BorderIconGlyph = function BorderIconGlyph(props) {
|
|
|
21
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__*/
|
|
24
29
|
// Ignored via go/ees005
|
|
25
30
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
26
|
-
|
|
31
|
+
React.createElement(Icon, _extends({
|
|
27
32
|
glyph: BorderIconGlyph
|
|
28
33
|
}, props));
|
|
29
34
|
};
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
/* PanelErrorIcon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import
|
|
3
|
+
import "./PanelErrorIcon.compiled.css";
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
3
6
|
import Icon from '@atlaskit/icon';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
+
var iconStyles = null;
|
|
4
9
|
var PanelErrorGlyph = function PanelErrorGlyph(props) {
|
|
5
10
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
11
|
width: "24",
|
|
@@ -18,9 +23,18 @@ var PanelErrorGlyph = function PanelErrorGlyph(props) {
|
|
|
18
23
|
}));
|
|
19
24
|
};
|
|
20
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,
|
|
30
|
+
className: ax(["_1e0c1o8l _1o9zidpf _re2rglyw"])
|
|
31
|
+
}, /*#__PURE__*/React.createElement(PanelErrorGlyph, {
|
|
32
|
+
"aria-label": props.label
|
|
33
|
+
})) :
|
|
34
|
+
/*#__PURE__*/
|
|
21
35
|
// Ignored via go/ees005
|
|
22
36
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
23
|
-
|
|
37
|
+
React.createElement(Icon, _extends({
|
|
24
38
|
glyph: PanelErrorGlyph
|
|
25
39
|
}, props));
|
|
26
40
|
};
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
/* PanelInfoIcon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import
|
|
3
|
+
import "./PanelInfoIcon.compiled.css";
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
3
6
|
import Icon from '@atlaskit/icon';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
+
var iconStyles = null;
|
|
4
9
|
var PanelInfoGlyph = function PanelInfoGlyph(props) {
|
|
5
10
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
11
|
width: "24",
|
|
@@ -18,9 +23,18 @@ var PanelInfoGlyph = function PanelInfoGlyph(props) {
|
|
|
18
23
|
}));
|
|
19
24
|
};
|
|
20
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,
|
|
30
|
+
className: ax(["_1e0c1o8l _1o9zidpf _re2rglyw"])
|
|
31
|
+
}, /*#__PURE__*/React.createElement(PanelInfoGlyph, {
|
|
32
|
+
role: "presentation"
|
|
33
|
+
})) :
|
|
34
|
+
/*#__PURE__*/
|
|
21
35
|
// Ignored via go/ees005
|
|
22
36
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
23
|
-
|
|
37
|
+
React.createElement(Icon, _extends({
|
|
24
38
|
glyph: PanelInfoGlyph
|
|
25
39
|
}, props));
|
|
26
40
|
};
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
/* PanelNoteIcon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import
|
|
3
|
+
import "./PanelNoteIcon.compiled.css";
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
3
6
|
import Icon from '@atlaskit/icon';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
+
var iconStyles = null;
|
|
4
9
|
var PanelNoteGlyph = function PanelNoteGlyph(props) {
|
|
5
10
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
11
|
width: "24",
|
|
@@ -18,9 +23,18 @@ var PanelNoteGlyph = function PanelNoteGlyph(props) {
|
|
|
18
23
|
}));
|
|
19
24
|
};
|
|
20
25
|
export var PanelNoteIcon = function PanelNoteIcon(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,
|
|
30
|
+
className: ax(["_1e0c1o8l _1o9zidpf _re2rglyw"])
|
|
31
|
+
}, /*#__PURE__*/React.createElement(PanelNoteGlyph, {
|
|
32
|
+
"aria-label": props.label
|
|
33
|
+
})) :
|
|
34
|
+
/*#__PURE__*/
|
|
21
35
|
// Ignored via go/ees005
|
|
22
36
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
23
|
-
|
|
37
|
+
React.createElement(Icon, _extends({
|
|
24
38
|
glyph: PanelNoteGlyph
|
|
25
39
|
}, props));
|
|
26
40
|
};
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
/* PanelSuccessIcon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import
|
|
3
|
+
import "./PanelSuccessIcon.compiled.css";
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
3
6
|
import Icon from '@atlaskit/icon';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
+
var iconStyles = null;
|
|
4
9
|
var PanelSuccessGlyph = function PanelSuccessGlyph(props) {
|
|
5
10
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
11
|
width: "24",
|
|
@@ -18,9 +23,18 @@ var PanelSuccessGlyph = function PanelSuccessGlyph(props) {
|
|
|
18
23
|
}));
|
|
19
24
|
};
|
|
20
25
|
export var PanelSuccessIcon = function 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,
|
|
30
|
+
className: ax(["_1e0c1o8l _1o9zidpf _re2rglyw"])
|
|
31
|
+
}, /*#__PURE__*/React.createElement(PanelSuccessGlyph, {
|
|
32
|
+
"aria-label": props.label
|
|
33
|
+
})) :
|
|
34
|
+
/*#__PURE__*/
|
|
21
35
|
// Ignored via go/ees005
|
|
22
36
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
23
|
-
|
|
37
|
+
React.createElement(Icon, _extends({
|
|
24
38
|
glyph: PanelSuccessGlyph
|
|
25
39
|
}, props));
|
|
26
40
|
};
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
/* PanelWarningIcon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import
|
|
3
|
+
import "./PanelWarningIcon.compiled.css";
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
3
6
|
import Icon from '@atlaskit/icon';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
+
var iconStyles = null;
|
|
4
9
|
var PanelWarningGlyph = function PanelWarningGlyph(props) {
|
|
5
10
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
11
|
width: "24",
|
|
@@ -18,9 +23,18 @@ var PanelWarningGlyph = function PanelWarningGlyph(props) {
|
|
|
18
23
|
}));
|
|
19
24
|
};
|
|
20
25
|
export var PanelWarningIcon = function 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,
|
|
30
|
+
className: ax(["_1e0c1o8l _1o9zidpf _re2rglyw"])
|
|
31
|
+
}, /*#__PURE__*/React.createElement(PanelWarningGlyph, {
|
|
32
|
+
"aria-label": props.label
|
|
33
|
+
})) :
|
|
34
|
+
/*#__PURE__*/
|
|
21
35
|
// Ignored via go/ees005
|
|
22
36
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
23
|
-
|
|
37
|
+
React.createElement(Icon, _extends({
|
|
24
38
|
glyph: PanelWarningGlyph
|
|
25
39
|
}, props));
|
|
26
40
|
};
|
|
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
7
7
|
import { isFedRamp } from './environment';
|
|
8
8
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
9
9
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
10
|
-
var packageVersion = "
|
|
10
|
+
var packageVersion = "0.0.0-development";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// Ignored via go/ees007
|