@atlaskit/editor-common 74.50.1 → 74.50.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.
- package/CHANGELOG.md +6 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/quick-insert/assets/panel-error.js +15 -6
- package/dist/cjs/quick-insert/assets/panel-note.js +15 -6
- package/dist/cjs/quick-insert/assets/panel-success.js +15 -6
- package/dist/cjs/quick-insert/assets/panel-warning.js +15 -6
- package/dist/cjs/quick-insert/assets/panel.js +23 -8
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/quick-insert/assets/panel-error.js +16 -5
- package/dist/es2019/quick-insert/assets/panel-note.js +16 -5
- package/dist/es2019/quick-insert/assets/panel-success.js +16 -5
- package/dist/es2019/quick-insert/assets/panel-warning.js +16 -5
- package/dist/es2019/quick-insert/assets/panel.js +24 -7
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/quick-insert/assets/panel-error.js +15 -5
- package/dist/esm/quick-insert/assets/panel-note.js +15 -5
- package/dist/esm/quick-insert/assets/panel-success.js +15 -5
- package/dist/esm/quick-insert/assets/panel-warning.js +15 -5
- package/dist/esm/quick-insert/assets/panel.js +23 -7
- package/dist/esm/ui/DropList/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -16,7 +16,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
16
16
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
17
17
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
18
18
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
19
|
-
var packageVersion = "74.50.
|
|
19
|
+
var packageVersion = "74.50.2";
|
|
20
20
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
21
21
|
// Remove URL as it has UGC
|
|
22
22
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -6,10 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = IconPanelError;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
|
-
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
11
|
-
|
|
9
|
+
var _useIconThemed2 = require("../use-icon-themed");
|
|
12
10
|
function IconPanelError() {
|
|
11
|
+
var _useIconThemed = (0, _useIconThemed2.useIconThemed)(),
|
|
12
|
+
iconThemed = _useIconThemed.iconThemed;
|
|
13
13
|
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
14
14
|
focusable: "false",
|
|
15
15
|
"aria-hidden": true,
|
|
@@ -19,10 +19,16 @@ function IconPanelError() {
|
|
|
19
19
|
fill: "none",
|
|
20
20
|
fillRule: "evenodd"
|
|
21
21
|
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
-
fill:
|
|
22
|
+
fill: iconThemed({
|
|
23
|
+
light: '#FFF',
|
|
24
|
+
dark: '#161A1D'
|
|
25
|
+
}),
|
|
23
26
|
d: "M0 0h40v40H0z"
|
|
24
27
|
}), /*#__PURE__*/_react.default.createElement("rect", {
|
|
25
|
-
fill:
|
|
28
|
+
fill: iconThemed({
|
|
29
|
+
light: '#FFEBE6',
|
|
30
|
+
dark: '#601D16'
|
|
31
|
+
}),
|
|
26
32
|
x: 8,
|
|
27
33
|
y: 12,
|
|
28
34
|
width: 32,
|
|
@@ -30,6 +36,9 @@ function IconPanelError() {
|
|
|
30
36
|
rx: 1
|
|
31
37
|
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
32
38
|
d: "M16.743 19.964l1.06-1.06a.5.5 0 00-.707-.707l-1.06 1.06-1.061-1.06a.5.5 0 00-.707.707l1.06 1.06-1.06 1.061a.5.5 0 10.707.707l1.06-1.06 1.061 1.06a.5.5 0 10.707-.707l-1.06-1.06zM16 24a4 4 0 110-8 4 4 0 010 8z",
|
|
33
|
-
fill:
|
|
39
|
+
fill: iconThemed({
|
|
40
|
+
light: '#DE350B',
|
|
41
|
+
dark: '#F97362'
|
|
42
|
+
})
|
|
34
43
|
})));
|
|
35
44
|
}
|
|
@@ -6,10 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = IconPanelNote;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
|
-
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
11
|
-
|
|
9
|
+
var _useIconThemed2 = require("../use-icon-themed");
|
|
12
10
|
function IconPanelNote() {
|
|
11
|
+
var _useIconThemed = (0, _useIconThemed2.useIconThemed)(),
|
|
12
|
+
iconThemed = _useIconThemed.iconThemed;
|
|
13
13
|
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
14
14
|
focusable: "false",
|
|
15
15
|
"aria-hidden": true,
|
|
@@ -19,10 +19,16 @@ function IconPanelNote() {
|
|
|
19
19
|
fill: "none",
|
|
20
20
|
fillRule: "evenodd"
|
|
21
21
|
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
-
fill:
|
|
22
|
+
fill: iconThemed({
|
|
23
|
+
light: '#FFF',
|
|
24
|
+
dark: '#161A1D'
|
|
25
|
+
}),
|
|
23
26
|
d: "M0 0h40v40H0z"
|
|
24
27
|
}), /*#__PURE__*/_react.default.createElement("rect", {
|
|
25
|
-
fill:
|
|
28
|
+
fill: iconThemed({
|
|
29
|
+
light: '#EAE6FF',
|
|
30
|
+
dark: '#352C63'
|
|
31
|
+
}),
|
|
26
32
|
x: 8,
|
|
27
33
|
y: 12,
|
|
28
34
|
width: 32,
|
|
@@ -30,6 +36,9 @@ function IconPanelNote() {
|
|
|
30
36
|
rx: 1
|
|
31
37
|
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
32
38
|
d: "M13 16h4a1 1 0 011 1v6a1 1 0 01-1 1h-4a1 1 0 01-1-1v-6a1 1 0 011-1zm1 2a.5.5 0 100 1h2a.5.5 0 100-1h-2zm0 2a.5.5 0 100 1h1a.5.5 0 100-1h-1z",
|
|
33
|
-
fill:
|
|
39
|
+
fill: iconThemed({
|
|
40
|
+
light: '#403294',
|
|
41
|
+
dark: '#8F7EE7'
|
|
42
|
+
})
|
|
34
43
|
})));
|
|
35
44
|
}
|
|
@@ -6,10 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = IconPanelSuccess;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
|
-
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
11
|
-
|
|
9
|
+
var _useIconThemed2 = require("../use-icon-themed");
|
|
12
10
|
function IconPanelSuccess() {
|
|
11
|
+
var _useIconThemed = (0, _useIconThemed2.useIconThemed)(),
|
|
12
|
+
iconThemed = _useIconThemed.iconThemed;
|
|
13
13
|
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
14
14
|
focusable: "false",
|
|
15
15
|
"aria-hidden": true,
|
|
@@ -19,10 +19,16 @@ function IconPanelSuccess() {
|
|
|
19
19
|
fill: "none",
|
|
20
20
|
fillRule: "evenodd"
|
|
21
21
|
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
-
fill:
|
|
22
|
+
fill: iconThemed({
|
|
23
|
+
light: '#FFF',
|
|
24
|
+
dark: '#161A1D'
|
|
25
|
+
}),
|
|
23
26
|
d: "M0 0h40v40H0z"
|
|
24
27
|
}), /*#__PURE__*/_react.default.createElement("rect", {
|
|
25
|
-
fill:
|
|
28
|
+
fill: iconThemed({
|
|
29
|
+
light: '#C3F8DF',
|
|
30
|
+
dark: '#164B35'
|
|
31
|
+
}),
|
|
26
32
|
x: 8,
|
|
27
33
|
y: 12,
|
|
28
34
|
width: 32,
|
|
@@ -30,6 +36,9 @@ function IconPanelSuccess() {
|
|
|
30
36
|
rx: 1
|
|
31
37
|
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
32
38
|
d: "M15 24a4 4 0 110-8 4 4 0 010 8zm.682-5.482l-1.076 2.055-.772-.695a.5.5 0 00-.668.744l1.25 1.125a.5.5 0 00.777-.14l1.375-2.625a.5.5 0 00-.886-.464z",
|
|
33
|
-
fill:
|
|
39
|
+
fill: iconThemed({
|
|
40
|
+
light: '#00875A',
|
|
41
|
+
dark: '#2ABB7F'
|
|
42
|
+
})
|
|
34
43
|
})));
|
|
35
44
|
}
|
|
@@ -6,10 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = IconPanelWarning;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
|
-
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
11
|
-
|
|
9
|
+
var _useIconThemed2 = require("../use-icon-themed");
|
|
12
10
|
function IconPanelWarning() {
|
|
11
|
+
var _useIconThemed = (0, _useIconThemed2.useIconThemed)(),
|
|
12
|
+
iconThemed = _useIconThemed.iconThemed;
|
|
13
13
|
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
14
14
|
focusable: "false",
|
|
15
15
|
"aria-hidden": true,
|
|
@@ -19,10 +19,16 @@ function IconPanelWarning() {
|
|
|
19
19
|
fill: "none",
|
|
20
20
|
fillRule: "evenodd"
|
|
21
21
|
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
-
fill:
|
|
22
|
+
fill: iconThemed({
|
|
23
|
+
light: '#FFF',
|
|
24
|
+
dark: '#161A1D'
|
|
25
|
+
}),
|
|
23
26
|
d: "M0 0h40v40H0z"
|
|
24
27
|
}), /*#__PURE__*/_react.default.createElement("rect", {
|
|
25
|
-
fill:
|
|
28
|
+
fill: iconThemed({
|
|
29
|
+
light: '#FFF0B3',
|
|
30
|
+
dark: '#5F3811'
|
|
31
|
+
}),
|
|
26
32
|
x: 8,
|
|
27
33
|
y: 12,
|
|
28
34
|
width: 32,
|
|
@@ -30,6 +36,9 @@ function IconPanelWarning() {
|
|
|
30
36
|
rx: 1
|
|
31
37
|
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
32
38
|
d: "M16.847 16.83l2.808 5.73a1 1 0 01-.898 1.44h-6.514a1 1 0 01-.898-1.44l2.808-5.73a1.5 1.5 0 012.694 0zm-1.347.46a.568.568 0 00-.564.635l.278 2.32a.288.288 0 00.572 0l.278-2.32a.568.568 0 00-.564-.635zm0 5.035c.318 0 .576-.293.576-.656 0-.362-.258-.656-.576-.656-.318 0-.576.294-.576.656 0 .363.258.656.576.656z",
|
|
33
|
-
fill:
|
|
39
|
+
fill: iconThemed({
|
|
40
|
+
light: '#FF8B00',
|
|
41
|
+
dark: '#EBB800'
|
|
42
|
+
})
|
|
34
43
|
})));
|
|
35
44
|
}
|
|
@@ -6,10 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = IconPanel;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
|
-
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
11
|
-
|
|
9
|
+
var _useIconThemed2 = require("../use-icon-themed");
|
|
12
10
|
function IconPanel() {
|
|
11
|
+
var _useIconThemed = (0, _useIconThemed2.useIconThemed)(),
|
|
12
|
+
iconThemed = _useIconThemed.iconThemed;
|
|
13
13
|
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
14
14
|
focusable: "false",
|
|
15
15
|
"aria-hidden": true,
|
|
@@ -19,10 +19,16 @@ function IconPanel() {
|
|
|
19
19
|
fill: "none",
|
|
20
20
|
fillRule: "evenodd"
|
|
21
21
|
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
-
fill:
|
|
22
|
+
fill: iconThemed({
|
|
23
|
+
light: '#FFF',
|
|
24
|
+
dark: '#161A1D'
|
|
25
|
+
}),
|
|
23
26
|
d: "M0 0h40v40H0z"
|
|
24
27
|
}), /*#__PURE__*/_react.default.createElement("rect", {
|
|
25
|
-
fill:
|
|
28
|
+
fill: iconThemed({
|
|
29
|
+
light: '#DEEBFF',
|
|
30
|
+
dark: '#09326C'
|
|
31
|
+
}),
|
|
26
32
|
x: 8,
|
|
27
33
|
y: 12,
|
|
28
34
|
width: 32,
|
|
@@ -30,10 +36,16 @@ function IconPanel() {
|
|
|
30
36
|
rx: 1
|
|
31
37
|
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
32
38
|
d: "M12 20a4 4 0 108 0 4 4 0 00-8 0z",
|
|
33
|
-
fill:
|
|
39
|
+
fill: iconThemed({
|
|
40
|
+
light: '#0052CC',
|
|
41
|
+
dark: '#388BFF'
|
|
42
|
+
}),
|
|
34
43
|
fillRule: "nonzero"
|
|
35
44
|
}), /*#__PURE__*/_react.default.createElement("rect", {
|
|
36
|
-
fill:
|
|
45
|
+
fill: iconThemed({
|
|
46
|
+
light: '#FFF',
|
|
47
|
+
dark: '#09326C'
|
|
48
|
+
}),
|
|
37
49
|
fillRule: "nonzero",
|
|
38
50
|
x: 15.556,
|
|
39
51
|
y: 19.722,
|
|
@@ -41,7 +53,10 @@ function IconPanel() {
|
|
|
41
53
|
height: 2.2,
|
|
42
54
|
rx: 0.5
|
|
43
55
|
}), /*#__PURE__*/_react.default.createElement("circle", {
|
|
44
|
-
fill:
|
|
56
|
+
fill: iconThemed({
|
|
57
|
+
light: '#FFF',
|
|
58
|
+
dark: '#09326C'
|
|
59
|
+
}),
|
|
45
60
|
fillRule: "nonzero",
|
|
46
61
|
cx: 16,
|
|
47
62
|
cy: 18.444,
|
|
@@ -24,7 +24,7 @@ var _templateObject, _templateObject2, _templateObject3;
|
|
|
24
24
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
25
25
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /** @jsx jsx */
|
|
26
26
|
var packageName = "@atlaskit/editor-common";
|
|
27
|
-
var packageVersion = "74.50.
|
|
27
|
+
var packageVersion = "74.50.2";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
2
2
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
3
|
-
const packageVersion = "74.50.
|
|
3
|
+
const packageVersion = "74.50.2";
|
|
4
4
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
5
5
|
// Remove URL as it has UGC
|
|
6
6
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
// TODO: https://product-fabric.atlassian.net/browse/DSP-4138
|
|
2
|
-
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
3
1
|
import React from 'react';
|
|
2
|
+
import { useIconThemed } from '../use-icon-themed';
|
|
4
3
|
export default function IconPanelError() {
|
|
4
|
+
const {
|
|
5
|
+
iconThemed
|
|
6
|
+
} = useIconThemed();
|
|
5
7
|
return /*#__PURE__*/React.createElement("svg", {
|
|
6
8
|
focusable: "false",
|
|
7
9
|
"aria-hidden": true,
|
|
@@ -11,10 +13,16 @@ export default function IconPanelError() {
|
|
|
11
13
|
fill: "none",
|
|
12
14
|
fillRule: "evenodd"
|
|
13
15
|
}, /*#__PURE__*/React.createElement("path", {
|
|
14
|
-
fill:
|
|
16
|
+
fill: iconThemed({
|
|
17
|
+
light: '#FFF',
|
|
18
|
+
dark: '#161A1D'
|
|
19
|
+
}),
|
|
15
20
|
d: "M0 0h40v40H0z"
|
|
16
21
|
}), /*#__PURE__*/React.createElement("rect", {
|
|
17
|
-
fill:
|
|
22
|
+
fill: iconThemed({
|
|
23
|
+
light: '#FFEBE6',
|
|
24
|
+
dark: '#601D16'
|
|
25
|
+
}),
|
|
18
26
|
x: 8,
|
|
19
27
|
y: 12,
|
|
20
28
|
width: 32,
|
|
@@ -22,6 +30,9 @@ export default function IconPanelError() {
|
|
|
22
30
|
rx: 1
|
|
23
31
|
}), /*#__PURE__*/React.createElement("path", {
|
|
24
32
|
d: "M16.743 19.964l1.06-1.06a.5.5 0 00-.707-.707l-1.06 1.06-1.061-1.06a.5.5 0 00-.707.707l1.06 1.06-1.06 1.061a.5.5 0 10.707.707l1.06-1.06 1.061 1.06a.5.5 0 10.707-.707l-1.06-1.06zM16 24a4 4 0 110-8 4 4 0 010 8z",
|
|
25
|
-
fill:
|
|
33
|
+
fill: iconThemed({
|
|
34
|
+
light: '#DE350B',
|
|
35
|
+
dark: '#F97362'
|
|
36
|
+
})
|
|
26
37
|
})));
|
|
27
38
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
// TODO: https://product-fabric.atlassian.net/browse/DSP-4138
|
|
2
|
-
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
3
1
|
import React from 'react';
|
|
2
|
+
import { useIconThemed } from '../use-icon-themed';
|
|
4
3
|
export default function IconPanelNote() {
|
|
4
|
+
const {
|
|
5
|
+
iconThemed
|
|
6
|
+
} = useIconThemed();
|
|
5
7
|
return /*#__PURE__*/React.createElement("svg", {
|
|
6
8
|
focusable: "false",
|
|
7
9
|
"aria-hidden": true,
|
|
@@ -11,10 +13,16 @@ export default function IconPanelNote() {
|
|
|
11
13
|
fill: "none",
|
|
12
14
|
fillRule: "evenodd"
|
|
13
15
|
}, /*#__PURE__*/React.createElement("path", {
|
|
14
|
-
fill:
|
|
16
|
+
fill: iconThemed({
|
|
17
|
+
light: '#FFF',
|
|
18
|
+
dark: '#161A1D'
|
|
19
|
+
}),
|
|
15
20
|
d: "M0 0h40v40H0z"
|
|
16
21
|
}), /*#__PURE__*/React.createElement("rect", {
|
|
17
|
-
fill:
|
|
22
|
+
fill: iconThemed({
|
|
23
|
+
light: '#EAE6FF',
|
|
24
|
+
dark: '#352C63'
|
|
25
|
+
}),
|
|
18
26
|
x: 8,
|
|
19
27
|
y: 12,
|
|
20
28
|
width: 32,
|
|
@@ -22,6 +30,9 @@ export default function IconPanelNote() {
|
|
|
22
30
|
rx: 1
|
|
23
31
|
}), /*#__PURE__*/React.createElement("path", {
|
|
24
32
|
d: "M13 16h4a1 1 0 011 1v6a1 1 0 01-1 1h-4a1 1 0 01-1-1v-6a1 1 0 011-1zm1 2a.5.5 0 100 1h2a.5.5 0 100-1h-2zm0 2a.5.5 0 100 1h1a.5.5 0 100-1h-1z",
|
|
25
|
-
fill:
|
|
33
|
+
fill: iconThemed({
|
|
34
|
+
light: '#403294',
|
|
35
|
+
dark: '#8F7EE7'
|
|
36
|
+
})
|
|
26
37
|
})));
|
|
27
38
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
// TODO: https://product-fabric.atlassian.net/browse/DSP-4138
|
|
2
|
-
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
3
1
|
import React from 'react';
|
|
2
|
+
import { useIconThemed } from '../use-icon-themed';
|
|
4
3
|
export default function IconPanelSuccess() {
|
|
4
|
+
const {
|
|
5
|
+
iconThemed
|
|
6
|
+
} = useIconThemed();
|
|
5
7
|
return /*#__PURE__*/React.createElement("svg", {
|
|
6
8
|
focusable: "false",
|
|
7
9
|
"aria-hidden": true,
|
|
@@ -11,10 +13,16 @@ export default function IconPanelSuccess() {
|
|
|
11
13
|
fill: "none",
|
|
12
14
|
fillRule: "evenodd"
|
|
13
15
|
}, /*#__PURE__*/React.createElement("path", {
|
|
14
|
-
fill:
|
|
16
|
+
fill: iconThemed({
|
|
17
|
+
light: '#FFF',
|
|
18
|
+
dark: '#161A1D'
|
|
19
|
+
}),
|
|
15
20
|
d: "M0 0h40v40H0z"
|
|
16
21
|
}), /*#__PURE__*/React.createElement("rect", {
|
|
17
|
-
fill:
|
|
22
|
+
fill: iconThemed({
|
|
23
|
+
light: '#C3F8DF',
|
|
24
|
+
dark: '#164B35'
|
|
25
|
+
}),
|
|
18
26
|
x: 8,
|
|
19
27
|
y: 12,
|
|
20
28
|
width: 32,
|
|
@@ -22,6 +30,9 @@ export default function IconPanelSuccess() {
|
|
|
22
30
|
rx: 1
|
|
23
31
|
}), /*#__PURE__*/React.createElement("path", {
|
|
24
32
|
d: "M15 24a4 4 0 110-8 4 4 0 010 8zm.682-5.482l-1.076 2.055-.772-.695a.5.5 0 00-.668.744l1.25 1.125a.5.5 0 00.777-.14l1.375-2.625a.5.5 0 00-.886-.464z",
|
|
25
|
-
fill:
|
|
33
|
+
fill: iconThemed({
|
|
34
|
+
light: '#00875A',
|
|
35
|
+
dark: '#2ABB7F'
|
|
36
|
+
})
|
|
26
37
|
})));
|
|
27
38
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
// TODO: https://product-fabric.atlassian.net/browse/DSP-4138
|
|
2
|
-
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
3
1
|
import React from 'react';
|
|
2
|
+
import { useIconThemed } from '../use-icon-themed';
|
|
4
3
|
export default function IconPanelWarning() {
|
|
4
|
+
const {
|
|
5
|
+
iconThemed
|
|
6
|
+
} = useIconThemed();
|
|
5
7
|
return /*#__PURE__*/React.createElement("svg", {
|
|
6
8
|
focusable: "false",
|
|
7
9
|
"aria-hidden": true,
|
|
@@ -11,10 +13,16 @@ export default function IconPanelWarning() {
|
|
|
11
13
|
fill: "none",
|
|
12
14
|
fillRule: "evenodd"
|
|
13
15
|
}, /*#__PURE__*/React.createElement("path", {
|
|
14
|
-
fill:
|
|
16
|
+
fill: iconThemed({
|
|
17
|
+
light: '#FFF',
|
|
18
|
+
dark: '#161A1D'
|
|
19
|
+
}),
|
|
15
20
|
d: "M0 0h40v40H0z"
|
|
16
21
|
}), /*#__PURE__*/React.createElement("rect", {
|
|
17
|
-
fill:
|
|
22
|
+
fill: iconThemed({
|
|
23
|
+
light: '#FFF0B3',
|
|
24
|
+
dark: '#5F3811'
|
|
25
|
+
}),
|
|
18
26
|
x: 8,
|
|
19
27
|
y: 12,
|
|
20
28
|
width: 32,
|
|
@@ -22,6 +30,9 @@ export default function IconPanelWarning() {
|
|
|
22
30
|
rx: 1
|
|
23
31
|
}), /*#__PURE__*/React.createElement("path", {
|
|
24
32
|
d: "M16.847 16.83l2.808 5.73a1 1 0 01-.898 1.44h-6.514a1 1 0 01-.898-1.44l2.808-5.73a1.5 1.5 0 012.694 0zm-1.347.46a.568.568 0 00-.564.635l.278 2.32a.288.288 0 00.572 0l.278-2.32a.568.568 0 00-.564-.635zm0 5.035c.318 0 .576-.293.576-.656 0-.362-.258-.656-.576-.656-.318 0-.576.294-.576.656 0 .363.258.656.576.656z",
|
|
25
|
-
fill:
|
|
33
|
+
fill: iconThemed({
|
|
34
|
+
light: '#FF8B00',
|
|
35
|
+
dark: '#EBB800'
|
|
36
|
+
})
|
|
26
37
|
})));
|
|
27
38
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
// TODO: https://product-fabric.atlassian.net/browse/DSP-4138
|
|
2
|
-
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
3
1
|
import React from 'react';
|
|
2
|
+
import { useIconThemed } from '../use-icon-themed';
|
|
4
3
|
export default function IconPanel() {
|
|
4
|
+
const {
|
|
5
|
+
iconThemed
|
|
6
|
+
} = useIconThemed();
|
|
5
7
|
return /*#__PURE__*/React.createElement("svg", {
|
|
6
8
|
focusable: "false",
|
|
7
9
|
"aria-hidden": true,
|
|
@@ -11,10 +13,16 @@ export default function IconPanel() {
|
|
|
11
13
|
fill: "none",
|
|
12
14
|
fillRule: "evenodd"
|
|
13
15
|
}, /*#__PURE__*/React.createElement("path", {
|
|
14
|
-
fill:
|
|
16
|
+
fill: iconThemed({
|
|
17
|
+
light: '#FFF',
|
|
18
|
+
dark: '#161A1D'
|
|
19
|
+
}),
|
|
15
20
|
d: "M0 0h40v40H0z"
|
|
16
21
|
}), /*#__PURE__*/React.createElement("rect", {
|
|
17
|
-
fill:
|
|
22
|
+
fill: iconThemed({
|
|
23
|
+
light: '#DEEBFF',
|
|
24
|
+
dark: '#09326C'
|
|
25
|
+
}),
|
|
18
26
|
x: 8,
|
|
19
27
|
y: 12,
|
|
20
28
|
width: 32,
|
|
@@ -22,10 +30,16 @@ export default function IconPanel() {
|
|
|
22
30
|
rx: 1
|
|
23
31
|
}), /*#__PURE__*/React.createElement("path", {
|
|
24
32
|
d: "M12 20a4 4 0 108 0 4 4 0 00-8 0z",
|
|
25
|
-
fill:
|
|
33
|
+
fill: iconThemed({
|
|
34
|
+
light: '#0052CC',
|
|
35
|
+
dark: '#388BFF'
|
|
36
|
+
}),
|
|
26
37
|
fillRule: "nonzero"
|
|
27
38
|
}), /*#__PURE__*/React.createElement("rect", {
|
|
28
|
-
fill:
|
|
39
|
+
fill: iconThemed({
|
|
40
|
+
light: '#FFF',
|
|
41
|
+
dark: '#09326C'
|
|
42
|
+
}),
|
|
29
43
|
fillRule: "nonzero",
|
|
30
44
|
x: 15.556,
|
|
31
45
|
y: 19.722,
|
|
@@ -33,7 +47,10 @@ export default function IconPanel() {
|
|
|
33
47
|
height: 2.2,
|
|
34
48
|
rx: 0.5
|
|
35
49
|
}), /*#__PURE__*/React.createElement("circle", {
|
|
36
|
-
fill:
|
|
50
|
+
fill: iconThemed({
|
|
51
|
+
light: '#FFF',
|
|
52
|
+
dark: '#09326C'
|
|
53
|
+
}),
|
|
37
54
|
fillRule: "nonzero",
|
|
38
55
|
cx: 16,
|
|
39
56
|
cy: 18.444,
|
|
@@ -8,7 +8,7 @@ import { themed } from '@atlaskit/theme/components';
|
|
|
8
8
|
import { borderRadius } from '@atlaskit/theme/constants';
|
|
9
9
|
import Layer from '../Layer';
|
|
10
10
|
const packageName = "@atlaskit/editor-common";
|
|
11
|
-
const packageVersion = "74.50.
|
|
11
|
+
const packageVersion = "74.50.2";
|
|
12
12
|
const halfFocusRing = 1;
|
|
13
13
|
const dropOffset = '0, 8';
|
|
14
14
|
class DropList extends Component {
|
|
@@ -6,7 +6,7 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
6
6
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7
7
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
8
8
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
9
|
-
var packageVersion = "74.50.
|
|
9
|
+
var packageVersion = "74.50.2";
|
|
10
10
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
11
11
|
// Remove URL as it has UGC
|
|
12
12
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
// TODO: https://product-fabric.atlassian.net/browse/DSP-4138
|
|
2
|
-
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
3
1
|
import React from 'react';
|
|
2
|
+
import { useIconThemed } from '../use-icon-themed';
|
|
4
3
|
export default function IconPanelError() {
|
|
4
|
+
var _useIconThemed = useIconThemed(),
|
|
5
|
+
iconThemed = _useIconThemed.iconThemed;
|
|
5
6
|
return /*#__PURE__*/React.createElement("svg", {
|
|
6
7
|
focusable: "false",
|
|
7
8
|
"aria-hidden": true,
|
|
@@ -11,10 +12,16 @@ export default function IconPanelError() {
|
|
|
11
12
|
fill: "none",
|
|
12
13
|
fillRule: "evenodd"
|
|
13
14
|
}, /*#__PURE__*/React.createElement("path", {
|
|
14
|
-
fill:
|
|
15
|
+
fill: iconThemed({
|
|
16
|
+
light: '#FFF',
|
|
17
|
+
dark: '#161A1D'
|
|
18
|
+
}),
|
|
15
19
|
d: "M0 0h40v40H0z"
|
|
16
20
|
}), /*#__PURE__*/React.createElement("rect", {
|
|
17
|
-
fill:
|
|
21
|
+
fill: iconThemed({
|
|
22
|
+
light: '#FFEBE6',
|
|
23
|
+
dark: '#601D16'
|
|
24
|
+
}),
|
|
18
25
|
x: 8,
|
|
19
26
|
y: 12,
|
|
20
27
|
width: 32,
|
|
@@ -22,6 +29,9 @@ export default function IconPanelError() {
|
|
|
22
29
|
rx: 1
|
|
23
30
|
}), /*#__PURE__*/React.createElement("path", {
|
|
24
31
|
d: "M16.743 19.964l1.06-1.06a.5.5 0 00-.707-.707l-1.06 1.06-1.061-1.06a.5.5 0 00-.707.707l1.06 1.06-1.06 1.061a.5.5 0 10.707.707l1.06-1.06 1.061 1.06a.5.5 0 10.707-.707l-1.06-1.06zM16 24a4 4 0 110-8 4 4 0 010 8z",
|
|
25
|
-
fill:
|
|
32
|
+
fill: iconThemed({
|
|
33
|
+
light: '#DE350B',
|
|
34
|
+
dark: '#F97362'
|
|
35
|
+
})
|
|
26
36
|
})));
|
|
27
37
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
// TODO: https://product-fabric.atlassian.net/browse/DSP-4138
|
|
2
|
-
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
3
1
|
import React from 'react';
|
|
2
|
+
import { useIconThemed } from '../use-icon-themed';
|
|
4
3
|
export default function IconPanelNote() {
|
|
4
|
+
var _useIconThemed = useIconThemed(),
|
|
5
|
+
iconThemed = _useIconThemed.iconThemed;
|
|
5
6
|
return /*#__PURE__*/React.createElement("svg", {
|
|
6
7
|
focusable: "false",
|
|
7
8
|
"aria-hidden": true,
|
|
@@ -11,10 +12,16 @@ export default function IconPanelNote() {
|
|
|
11
12
|
fill: "none",
|
|
12
13
|
fillRule: "evenodd"
|
|
13
14
|
}, /*#__PURE__*/React.createElement("path", {
|
|
14
|
-
fill:
|
|
15
|
+
fill: iconThemed({
|
|
16
|
+
light: '#FFF',
|
|
17
|
+
dark: '#161A1D'
|
|
18
|
+
}),
|
|
15
19
|
d: "M0 0h40v40H0z"
|
|
16
20
|
}), /*#__PURE__*/React.createElement("rect", {
|
|
17
|
-
fill:
|
|
21
|
+
fill: iconThemed({
|
|
22
|
+
light: '#EAE6FF',
|
|
23
|
+
dark: '#352C63'
|
|
24
|
+
}),
|
|
18
25
|
x: 8,
|
|
19
26
|
y: 12,
|
|
20
27
|
width: 32,
|
|
@@ -22,6 +29,9 @@ export default function IconPanelNote() {
|
|
|
22
29
|
rx: 1
|
|
23
30
|
}), /*#__PURE__*/React.createElement("path", {
|
|
24
31
|
d: "M13 16h4a1 1 0 011 1v6a1 1 0 01-1 1h-4a1 1 0 01-1-1v-6a1 1 0 011-1zm1 2a.5.5 0 100 1h2a.5.5 0 100-1h-2zm0 2a.5.5 0 100 1h1a.5.5 0 100-1h-1z",
|
|
25
|
-
fill:
|
|
32
|
+
fill: iconThemed({
|
|
33
|
+
light: '#403294',
|
|
34
|
+
dark: '#8F7EE7'
|
|
35
|
+
})
|
|
26
36
|
})));
|
|
27
37
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
// TODO: https://product-fabric.atlassian.net/browse/DSP-4138
|
|
2
|
-
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
3
1
|
import React from 'react';
|
|
2
|
+
import { useIconThemed } from '../use-icon-themed';
|
|
4
3
|
export default function IconPanelSuccess() {
|
|
4
|
+
var _useIconThemed = useIconThemed(),
|
|
5
|
+
iconThemed = _useIconThemed.iconThemed;
|
|
5
6
|
return /*#__PURE__*/React.createElement("svg", {
|
|
6
7
|
focusable: "false",
|
|
7
8
|
"aria-hidden": true,
|
|
@@ -11,10 +12,16 @@ export default function IconPanelSuccess() {
|
|
|
11
12
|
fill: "none",
|
|
12
13
|
fillRule: "evenodd"
|
|
13
14
|
}, /*#__PURE__*/React.createElement("path", {
|
|
14
|
-
fill:
|
|
15
|
+
fill: iconThemed({
|
|
16
|
+
light: '#FFF',
|
|
17
|
+
dark: '#161A1D'
|
|
18
|
+
}),
|
|
15
19
|
d: "M0 0h40v40H0z"
|
|
16
20
|
}), /*#__PURE__*/React.createElement("rect", {
|
|
17
|
-
fill:
|
|
21
|
+
fill: iconThemed({
|
|
22
|
+
light: '#C3F8DF',
|
|
23
|
+
dark: '#164B35'
|
|
24
|
+
}),
|
|
18
25
|
x: 8,
|
|
19
26
|
y: 12,
|
|
20
27
|
width: 32,
|
|
@@ -22,6 +29,9 @@ export default function IconPanelSuccess() {
|
|
|
22
29
|
rx: 1
|
|
23
30
|
}), /*#__PURE__*/React.createElement("path", {
|
|
24
31
|
d: "M15 24a4 4 0 110-8 4 4 0 010 8zm.682-5.482l-1.076 2.055-.772-.695a.5.5 0 00-.668.744l1.25 1.125a.5.5 0 00.777-.14l1.375-2.625a.5.5 0 00-.886-.464z",
|
|
25
|
-
fill:
|
|
32
|
+
fill: iconThemed({
|
|
33
|
+
light: '#00875A',
|
|
34
|
+
dark: '#2ABB7F'
|
|
35
|
+
})
|
|
26
36
|
})));
|
|
27
37
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
// TODO: https://product-fabric.atlassian.net/browse/DSP-4138
|
|
2
|
-
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
3
1
|
import React from 'react';
|
|
2
|
+
import { useIconThemed } from '../use-icon-themed';
|
|
4
3
|
export default function IconPanelWarning() {
|
|
4
|
+
var _useIconThemed = useIconThemed(),
|
|
5
|
+
iconThemed = _useIconThemed.iconThemed;
|
|
5
6
|
return /*#__PURE__*/React.createElement("svg", {
|
|
6
7
|
focusable: "false",
|
|
7
8
|
"aria-hidden": true,
|
|
@@ -11,10 +12,16 @@ export default function IconPanelWarning() {
|
|
|
11
12
|
fill: "none",
|
|
12
13
|
fillRule: "evenodd"
|
|
13
14
|
}, /*#__PURE__*/React.createElement("path", {
|
|
14
|
-
fill:
|
|
15
|
+
fill: iconThemed({
|
|
16
|
+
light: '#FFF',
|
|
17
|
+
dark: '#161A1D'
|
|
18
|
+
}),
|
|
15
19
|
d: "M0 0h40v40H0z"
|
|
16
20
|
}), /*#__PURE__*/React.createElement("rect", {
|
|
17
|
-
fill:
|
|
21
|
+
fill: iconThemed({
|
|
22
|
+
light: '#FFF0B3',
|
|
23
|
+
dark: '#5F3811'
|
|
24
|
+
}),
|
|
18
25
|
x: 8,
|
|
19
26
|
y: 12,
|
|
20
27
|
width: 32,
|
|
@@ -22,6 +29,9 @@ export default function IconPanelWarning() {
|
|
|
22
29
|
rx: 1
|
|
23
30
|
}), /*#__PURE__*/React.createElement("path", {
|
|
24
31
|
d: "M16.847 16.83l2.808 5.73a1 1 0 01-.898 1.44h-6.514a1 1 0 01-.898-1.44l2.808-5.73a1.5 1.5 0 012.694 0zm-1.347.46a.568.568 0 00-.564.635l.278 2.32a.288.288 0 00.572 0l.278-2.32a.568.568 0 00-.564-.635zm0 5.035c.318 0 .576-.293.576-.656 0-.362-.258-.656-.576-.656-.318 0-.576.294-.576.656 0 .363.258.656.576.656z",
|
|
25
|
-
fill:
|
|
32
|
+
fill: iconThemed({
|
|
33
|
+
light: '#FF8B00',
|
|
34
|
+
dark: '#EBB800'
|
|
35
|
+
})
|
|
26
36
|
})));
|
|
27
37
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
// TODO: https://product-fabric.atlassian.net/browse/DSP-4138
|
|
2
|
-
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
3
1
|
import React from 'react';
|
|
2
|
+
import { useIconThemed } from '../use-icon-themed';
|
|
4
3
|
export default function IconPanel() {
|
|
4
|
+
var _useIconThemed = useIconThemed(),
|
|
5
|
+
iconThemed = _useIconThemed.iconThemed;
|
|
5
6
|
return /*#__PURE__*/React.createElement("svg", {
|
|
6
7
|
focusable: "false",
|
|
7
8
|
"aria-hidden": true,
|
|
@@ -11,10 +12,16 @@ export default function IconPanel() {
|
|
|
11
12
|
fill: "none",
|
|
12
13
|
fillRule: "evenodd"
|
|
13
14
|
}, /*#__PURE__*/React.createElement("path", {
|
|
14
|
-
fill:
|
|
15
|
+
fill: iconThemed({
|
|
16
|
+
light: '#FFF',
|
|
17
|
+
dark: '#161A1D'
|
|
18
|
+
}),
|
|
15
19
|
d: "M0 0h40v40H0z"
|
|
16
20
|
}), /*#__PURE__*/React.createElement("rect", {
|
|
17
|
-
fill:
|
|
21
|
+
fill: iconThemed({
|
|
22
|
+
light: '#DEEBFF',
|
|
23
|
+
dark: '#09326C'
|
|
24
|
+
}),
|
|
18
25
|
x: 8,
|
|
19
26
|
y: 12,
|
|
20
27
|
width: 32,
|
|
@@ -22,10 +29,16 @@ export default function IconPanel() {
|
|
|
22
29
|
rx: 1
|
|
23
30
|
}), /*#__PURE__*/React.createElement("path", {
|
|
24
31
|
d: "M12 20a4 4 0 108 0 4 4 0 00-8 0z",
|
|
25
|
-
fill:
|
|
32
|
+
fill: iconThemed({
|
|
33
|
+
light: '#0052CC',
|
|
34
|
+
dark: '#388BFF'
|
|
35
|
+
}),
|
|
26
36
|
fillRule: "nonzero"
|
|
27
37
|
}), /*#__PURE__*/React.createElement("rect", {
|
|
28
|
-
fill:
|
|
38
|
+
fill: iconThemed({
|
|
39
|
+
light: '#FFF',
|
|
40
|
+
dark: '#09326C'
|
|
41
|
+
}),
|
|
29
42
|
fillRule: "nonzero",
|
|
30
43
|
x: 15.556,
|
|
31
44
|
y: 19.722,
|
|
@@ -33,7 +46,10 @@ export default function IconPanel() {
|
|
|
33
46
|
height: 2.2,
|
|
34
47
|
rx: 0.5
|
|
35
48
|
}), /*#__PURE__*/React.createElement("circle", {
|
|
36
|
-
fill:
|
|
49
|
+
fill: iconThemed({
|
|
50
|
+
light: '#FFF',
|
|
51
|
+
dark: '#09326C'
|
|
52
|
+
}),
|
|
37
53
|
fillRule: "nonzero",
|
|
38
54
|
cx: 16,
|
|
39
55
|
cy: 18.444,
|
|
@@ -18,7 +18,7 @@ import { themed } from '@atlaskit/theme/components';
|
|
|
18
18
|
import { borderRadius } from '@atlaskit/theme/constants';
|
|
19
19
|
import Layer from '../Layer';
|
|
20
20
|
var packageName = "@atlaskit/editor-common";
|
|
21
|
-
var packageVersion = "74.50.
|
|
21
|
+
var packageVersion = "74.50.2";
|
|
22
22
|
var halfFocusRing = 1;
|
|
23
23
|
var dropOffset = '0, 8';
|
|
24
24
|
var DropList = /*#__PURE__*/function (_Component) {
|
package/package.json
CHANGED