@atlaskit/editor-common 78.37.3 → 78.37.4
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 +12 -0
- package/dist/cjs/icons/index.js +7 -0
- package/dist/cjs/icons/shared/SteppedRainbowIconDecoration.js +61 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/icons/index.js +1 -0
- package/dist/es2019/icons/shared/SteppedRainbowIconDecoration.js +62 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/icons/index.js +1 -0
- package/dist/esm/icons/shared/SteppedRainbowIconDecoration.js +54 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/icons/index.d.ts +1 -0
- package/dist/types/icons/shared/SteppedRainbowIconDecoration.d.ts +10 -0
- package/dist/types-ts4.5/icons/index.d.ts +1 -0
- package/dist/types-ts4.5/icons/shared/SteppedRainbowIconDecoration.d.ts +10 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 78.37.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
|
|
8
|
+
[`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
|
|
9
|
+
[ED-23102] Bump ADF schema to version 35.12.2
|
|
10
|
+
- [#96613](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96613)
|
|
11
|
+
[`398961a2b0a1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/398961a2b0a1) -
|
|
12
|
+
[ux] [ED-23133] Moved stepped rainbow text colour icon styles to editor-common and refactored to
|
|
13
|
+
be reusable
|
|
14
|
+
|
|
3
15
|
## 78.37.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/cjs/icons/index.js
CHANGED
|
@@ -41,6 +41,12 @@ Object.defineProperty(exports, "PanelWarningIcon", {
|
|
|
41
41
|
return _PanelWarningIcon.PanelWarningIcon;
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
|
+
Object.defineProperty(exports, "SteppedRainbowIconDecoration", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function get() {
|
|
47
|
+
return _SteppedRainbowIconDecoration.SteppedRainbowIconDecoration;
|
|
48
|
+
}
|
|
49
|
+
});
|
|
44
50
|
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
45
51
|
var _reactLoadable = _interopRequireDefault(require("react-loadable"));
|
|
46
52
|
var _PanelInfoIcon = require("./shared/PanelInfoIcon");
|
|
@@ -49,6 +55,7 @@ var _PanelErrorIcon = require("./shared/PanelErrorIcon");
|
|
|
49
55
|
var _PanelSuccessIcon = require("./shared/PanelSuccessIcon");
|
|
50
56
|
var _PanelNoteIcon = require("./shared/PanelNoteIcon");
|
|
51
57
|
var _BorderIcon = require("./shared/BorderIcon");
|
|
58
|
+
var _SteppedRainbowIconDecoration = require("./shared/SteppedRainbowIconDecoration");
|
|
52
59
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
53
60
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != (0, _typeof2.default)(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
54
61
|
var IconTable = exports.IconTable = (0, _reactLoadable.default)({
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SteppedRainbowIconDecoration = void 0;
|
|
7
|
+
var _react = require("@emotion/react");
|
|
8
|
+
var _colors = require("@atlaskit/theme/colors");
|
|
9
|
+
/** @jsx jsx */
|
|
10
|
+
|
|
11
|
+
var createSteppedRainbow = function createSteppedRainbow(colors) {
|
|
12
|
+
return "\n linear-gradient(\n to right,\n ".concat(colors.map(function (color, i) {
|
|
13
|
+
var inc = 100 / colors.length;
|
|
14
|
+
var pos = i + 1;
|
|
15
|
+
if (i === 0) {
|
|
16
|
+
return "".concat(color, " ").concat(pos * inc, "%,");
|
|
17
|
+
}
|
|
18
|
+
if (i === colors.length - 1) {
|
|
19
|
+
return "".concat(color, " ").concat((pos - 1) * inc, "%");
|
|
20
|
+
}
|
|
21
|
+
return "\n ".concat(color, " ").concat((pos - 1) * inc, "%,\n ").concat(color, " ").concat(pos * inc, "%,\n ");
|
|
22
|
+
}).join('\n'), "\n )");
|
|
23
|
+
};
|
|
24
|
+
var rainbow = createSteppedRainbow([_colors.P300, _colors.T300, _colors.Y400, _colors.R400]);
|
|
25
|
+
var disabledRainbow = createSteppedRainbow([_colors.N80, _colors.N60, _colors.N40, _colors.N60]);
|
|
26
|
+
var barStyles = (0, _react.css)({
|
|
27
|
+
position: 'absolute',
|
|
28
|
+
left: 0,
|
|
29
|
+
right: 0,
|
|
30
|
+
top: "var(--ds-space-200, 16px)",
|
|
31
|
+
margin: 'auto',
|
|
32
|
+
width: '12px',
|
|
33
|
+
height: '3px',
|
|
34
|
+
borderRadius: "var(--ds-border-radius, 3px)"
|
|
35
|
+
});
|
|
36
|
+
var textColorIconWrapper = (0, _react.css)({
|
|
37
|
+
position: 'relative'
|
|
38
|
+
});
|
|
39
|
+
var getBackground = function getBackground(selectedColor, disabled) {
|
|
40
|
+
if (selectedColor) {
|
|
41
|
+
return selectedColor;
|
|
42
|
+
}
|
|
43
|
+
if (disabled) {
|
|
44
|
+
return disabledRainbow;
|
|
45
|
+
}
|
|
46
|
+
return rainbow;
|
|
47
|
+
};
|
|
48
|
+
var SteppedRainbowIconDecoration = exports.SteppedRainbowIconDecoration = function SteppedRainbowIconDecoration(_ref) {
|
|
49
|
+
var selectedColor = _ref.selectedColor,
|
|
50
|
+
disabled = _ref.disabled,
|
|
51
|
+
icon = _ref.icon;
|
|
52
|
+
return (0, _react.jsx)("div", {
|
|
53
|
+
css: textColorIconWrapper
|
|
54
|
+
}, icon, (0, _react.jsx)("div", {
|
|
55
|
+
"data-testid": "toolbar-icon-stepped-rainbow",
|
|
56
|
+
style: {
|
|
57
|
+
background: getBackground(selectedColor, disabled)
|
|
58
|
+
},
|
|
59
|
+
css: barStyles
|
|
60
|
+
}));
|
|
61
|
+
};
|
|
@@ -16,7 +16,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
16
16
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
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 = "78.37.
|
|
19
|
+
var packageVersion = "78.37.4";
|
|
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
|
|
@@ -20,7 +20,7 @@ var _Layer = _interopRequireDefault(require("../Layer"));
|
|
|
20
20
|
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); }; }
|
|
21
21
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "78.37.
|
|
23
|
+
var packageVersion = "78.37.4";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -5,6 +5,7 @@ export { PanelErrorIcon } from './shared/PanelErrorIcon';
|
|
|
5
5
|
export { PanelSuccessIcon } from './shared/PanelSuccessIcon';
|
|
6
6
|
export { PanelNoteIcon } from './shared/PanelNoteIcon';
|
|
7
7
|
export { BorderIcon } from './shared/BorderIcon';
|
|
8
|
+
export { SteppedRainbowIconDecoration } from './shared/SteppedRainbowIconDecoration';
|
|
8
9
|
export const IconTable = Loadable({
|
|
9
10
|
loader: () => import( /* webpackChunkName: "@atlaskit-internal_editor-icon-table" */'../icons/shared/table').then(module => module.default),
|
|
10
11
|
loading: () => null
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { css, jsx } from '@emotion/react';
|
|
3
|
+
import { N40, N60, N80, P300, R400, T300, Y400 } from '@atlaskit/theme/colors';
|
|
4
|
+
const createSteppedRainbow = colors => {
|
|
5
|
+
return `
|
|
6
|
+
linear-gradient(
|
|
7
|
+
to right,
|
|
8
|
+
${colors.map((color, i) => {
|
|
9
|
+
const inc = 100 / colors.length;
|
|
10
|
+
const pos = i + 1;
|
|
11
|
+
if (i === 0) {
|
|
12
|
+
return `${color} ${pos * inc}%,`;
|
|
13
|
+
}
|
|
14
|
+
if (i === colors.length - 1) {
|
|
15
|
+
return `${color} ${(pos - 1) * inc}%`;
|
|
16
|
+
}
|
|
17
|
+
return `
|
|
18
|
+
${color} ${(pos - 1) * inc}%,
|
|
19
|
+
${color} ${pos * inc}%,
|
|
20
|
+
`;
|
|
21
|
+
}).join('\n')}
|
|
22
|
+
)`;
|
|
23
|
+
};
|
|
24
|
+
const rainbow = createSteppedRainbow([P300, T300, Y400, R400]);
|
|
25
|
+
const disabledRainbow = createSteppedRainbow([N80, N60, N40, N60]);
|
|
26
|
+
const barStyles = css({
|
|
27
|
+
position: 'absolute',
|
|
28
|
+
left: 0,
|
|
29
|
+
right: 0,
|
|
30
|
+
top: "var(--ds-space-200, 16px)",
|
|
31
|
+
margin: 'auto',
|
|
32
|
+
width: '12px',
|
|
33
|
+
height: '3px',
|
|
34
|
+
borderRadius: "var(--ds-border-radius, 3px)"
|
|
35
|
+
});
|
|
36
|
+
const textColorIconWrapper = css({
|
|
37
|
+
position: 'relative'
|
|
38
|
+
});
|
|
39
|
+
const getBackground = (selectedColor, disabled) => {
|
|
40
|
+
if (selectedColor) {
|
|
41
|
+
return selectedColor;
|
|
42
|
+
}
|
|
43
|
+
if (disabled) {
|
|
44
|
+
return disabledRainbow;
|
|
45
|
+
}
|
|
46
|
+
return rainbow;
|
|
47
|
+
};
|
|
48
|
+
export const SteppedRainbowIconDecoration = ({
|
|
49
|
+
selectedColor,
|
|
50
|
+
disabled,
|
|
51
|
+
icon
|
|
52
|
+
}) => {
|
|
53
|
+
return jsx("div", {
|
|
54
|
+
css: textColorIconWrapper
|
|
55
|
+
}, icon, jsx("div", {
|
|
56
|
+
"data-testid": "toolbar-icon-stepped-rainbow",
|
|
57
|
+
style: {
|
|
58
|
+
background: getBackground(selectedColor, disabled)
|
|
59
|
+
},
|
|
60
|
+
css: barStyles
|
|
61
|
+
}));
|
|
62
|
+
};
|
|
@@ -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 = "78.37.
|
|
3
|
+
const packageVersion = "78.37.4";
|
|
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
|
|
@@ -7,7 +7,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
7
7
|
import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
8
8
|
import Layer from '../Layer';
|
|
9
9
|
const packageName = "@atlaskit/editor-common";
|
|
10
|
-
const packageVersion = "78.37.
|
|
10
|
+
const packageVersion = "78.37.4";
|
|
11
11
|
const halfFocusRing = 1;
|
|
12
12
|
const dropOffset = '0, 8';
|
|
13
13
|
class DropList extends Component {
|
package/dist/esm/icons/index.js
CHANGED
|
@@ -5,6 +5,7 @@ export { PanelErrorIcon } from './shared/PanelErrorIcon';
|
|
|
5
5
|
export { PanelSuccessIcon } from './shared/PanelSuccessIcon';
|
|
6
6
|
export { PanelNoteIcon } from './shared/PanelNoteIcon';
|
|
7
7
|
export { BorderIcon } from './shared/BorderIcon';
|
|
8
|
+
export { SteppedRainbowIconDecoration } from './shared/SteppedRainbowIconDecoration';
|
|
8
9
|
export var IconTable = Loadable({
|
|
9
10
|
loader: function loader() {
|
|
10
11
|
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-table" */'../icons/shared/table').then(function (module) {
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { css, jsx } from '@emotion/react';
|
|
3
|
+
import { N40, N60, N80, P300, R400, T300, Y400 } from '@atlaskit/theme/colors';
|
|
4
|
+
var createSteppedRainbow = function createSteppedRainbow(colors) {
|
|
5
|
+
return "\n linear-gradient(\n to right,\n ".concat(colors.map(function (color, i) {
|
|
6
|
+
var inc = 100 / colors.length;
|
|
7
|
+
var pos = i + 1;
|
|
8
|
+
if (i === 0) {
|
|
9
|
+
return "".concat(color, " ").concat(pos * inc, "%,");
|
|
10
|
+
}
|
|
11
|
+
if (i === colors.length - 1) {
|
|
12
|
+
return "".concat(color, " ").concat((pos - 1) * inc, "%");
|
|
13
|
+
}
|
|
14
|
+
return "\n ".concat(color, " ").concat((pos - 1) * inc, "%,\n ").concat(color, " ").concat(pos * inc, "%,\n ");
|
|
15
|
+
}).join('\n'), "\n )");
|
|
16
|
+
};
|
|
17
|
+
var rainbow = createSteppedRainbow([P300, T300, Y400, R400]);
|
|
18
|
+
var disabledRainbow = createSteppedRainbow([N80, N60, N40, N60]);
|
|
19
|
+
var barStyles = css({
|
|
20
|
+
position: 'absolute',
|
|
21
|
+
left: 0,
|
|
22
|
+
right: 0,
|
|
23
|
+
top: "var(--ds-space-200, 16px)",
|
|
24
|
+
margin: 'auto',
|
|
25
|
+
width: '12px',
|
|
26
|
+
height: '3px',
|
|
27
|
+
borderRadius: "var(--ds-border-radius, 3px)"
|
|
28
|
+
});
|
|
29
|
+
var textColorIconWrapper = css({
|
|
30
|
+
position: 'relative'
|
|
31
|
+
});
|
|
32
|
+
var getBackground = function getBackground(selectedColor, disabled) {
|
|
33
|
+
if (selectedColor) {
|
|
34
|
+
return selectedColor;
|
|
35
|
+
}
|
|
36
|
+
if (disabled) {
|
|
37
|
+
return disabledRainbow;
|
|
38
|
+
}
|
|
39
|
+
return rainbow;
|
|
40
|
+
};
|
|
41
|
+
export var SteppedRainbowIconDecoration = function SteppedRainbowIconDecoration(_ref) {
|
|
42
|
+
var selectedColor = _ref.selectedColor,
|
|
43
|
+
disabled = _ref.disabled,
|
|
44
|
+
icon = _ref.icon;
|
|
45
|
+
return jsx("div", {
|
|
46
|
+
css: textColorIconWrapper
|
|
47
|
+
}, icon, jsx("div", {
|
|
48
|
+
"data-testid": "toolbar-icon-stepped-rainbow",
|
|
49
|
+
style: {
|
|
50
|
+
background: getBackground(selectedColor, disabled)
|
|
51
|
+
},
|
|
52
|
+
css: barStyles
|
|
53
|
+
}));
|
|
54
|
+
};
|
|
@@ -6,7 +6,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
6
6
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
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 = "78.37.
|
|
9
|
+
var packageVersion = "78.37.4";
|
|
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
|
|
@@ -15,7 +15,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
15
15
|
import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
16
16
|
import Layer from '../Layer';
|
|
17
17
|
var packageName = "@atlaskit/editor-common";
|
|
18
|
-
var packageVersion = "78.37.
|
|
18
|
+
var packageVersion = "78.37.4";
|
|
19
19
|
var halfFocusRing = 1;
|
|
20
20
|
var dropOffset = '0, 8';
|
|
21
21
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -7,4 +7,5 @@ export { PanelErrorIcon } from './shared/PanelErrorIcon';
|
|
|
7
7
|
export { PanelSuccessIcon } from './shared/PanelSuccessIcon';
|
|
8
8
|
export { PanelNoteIcon } from './shared/PanelNoteIcon';
|
|
9
9
|
export { BorderIcon } from './shared/BorderIcon';
|
|
10
|
+
export { SteppedRainbowIconDecoration } from './shared/SteppedRainbowIconDecoration';
|
|
10
11
|
export declare const IconTable: React.ComponentType<React.PropsWithChildren<IconProps>> & Loadable.LoadableComponent;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/** @jsx jsx */
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
4
|
+
type SteppedRainbowIconDecorationProps = {
|
|
5
|
+
selectedColor?: string | null;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
icon: React.ReactNode;
|
|
8
|
+
};
|
|
9
|
+
export declare const SteppedRainbowIconDecoration: ({ selectedColor, disabled, icon, }: SteppedRainbowIconDecorationProps) => jsx.JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -7,4 +7,5 @@ export { PanelErrorIcon } from './shared/PanelErrorIcon';
|
|
|
7
7
|
export { PanelSuccessIcon } from './shared/PanelSuccessIcon';
|
|
8
8
|
export { PanelNoteIcon } from './shared/PanelNoteIcon';
|
|
9
9
|
export { BorderIcon } from './shared/BorderIcon';
|
|
10
|
+
export { SteppedRainbowIconDecoration } from './shared/SteppedRainbowIconDecoration';
|
|
10
11
|
export declare const IconTable: React.ComponentType<React.PropsWithChildren<IconProps>> & Loadable.LoadableComponent;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/** @jsx jsx */
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
4
|
+
type SteppedRainbowIconDecorationProps = {
|
|
5
|
+
selectedColor?: string | null;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
icon: React.ReactNode;
|
|
8
|
+
};
|
|
9
|
+
export declare const SteppedRainbowIconDecoration: ({ selectedColor, disabled, icon, }: SteppedRainbowIconDecorationProps) => jsx.JSX.Element;
|
|
10
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "78.37.
|
|
3
|
+
"version": "78.37.4",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
},
|
|
98
98
|
"dependencies": {
|
|
99
99
|
"@atlaskit/activity-provider": "^2.4.0",
|
|
100
|
-
"@atlaskit/adf-schema": "^35.12.
|
|
100
|
+
"@atlaskit/adf-schema": "^35.12.2",
|
|
101
101
|
"@atlaskit/adf-utils": "^19.0.0",
|
|
102
102
|
"@atlaskit/analytics-listeners": "^8.9.0",
|
|
103
103
|
"@atlaskit/analytics-namespaced-context": "^6.9.0",
|