@atlaskit/editor-core 184.0.0 → 184.0.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/.eslintrc.js +7 -3
- package/CHANGELOG.md +6 -0
- package/dist/cjs/ui/ColorPickerButton/index.js +2 -2
- package/dist/cjs/ui/ConfigPanel/Fields/ColorPicker.js +6 -10
- package/dist/cjs/ui/styles.js +6 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/ui/ColorPickerButton/index.js +2 -2
- package/dist/es2019/ui/ConfigPanel/Fields/ColorPicker.js +5 -10
- package/dist/es2019/ui/styles.js +6 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/ui/ColorPickerButton/index.js +2 -2
- package/dist/esm/ui/ConfigPanel/Fields/ColorPicker.js +5 -10
- package/dist/esm/ui/styles.js +6 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/ui/ColorPickerButton/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/ColorPickerButton/index.d.ts +2 -2
- package/package.json +12 -12
package/.eslintrc.js
CHANGED
|
@@ -8,13 +8,13 @@ module.exports = {
|
|
|
8
8
|
target: 'packages/editor/editor-core/src/**/*',
|
|
9
9
|
from: `packages/editor/editor-core/src/plugins/*/!(types)*`,
|
|
10
10
|
message:
|
|
11
|
-
'[ELR101] Avoid importing dependencies from editor plugins. Move shared code to a common location. go/elr101',
|
|
11
|
+
'[ELR101] Avoid importing dependencies from editor plugins. Type-only imports are an exception. Move shared code to a common location. go/elr101',
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
14
|
target: 'packages/editor/editor-core/src/**/*',
|
|
15
15
|
from: `packages/editor/editor-core/src/plugins/*/!(types)**/*`,
|
|
16
16
|
message:
|
|
17
|
-
'[ELR101] Avoid importing dependencies from editor plugins. Move shared code to a common location. go/elr101',
|
|
17
|
+
'[ELR101] Avoid importing dependencies from editor plugins. Type-only imports are an exception. Move shared code to a common location. go/elr101',
|
|
18
18
|
},
|
|
19
19
|
],
|
|
20
20
|
},
|
|
@@ -23,7 +23,11 @@ module.exports = {
|
|
|
23
23
|
},
|
|
24
24
|
overrides: [
|
|
25
25
|
{
|
|
26
|
-
files: [
|
|
26
|
+
files: [
|
|
27
|
+
'**/__tests__/**/*.{js,ts,tsx}',
|
|
28
|
+
'examples/**/*.{js,ts,tsx}',
|
|
29
|
+
'**/*.{test,spec}.{js,ts,tsx}',
|
|
30
|
+
],
|
|
27
31
|
rules: {
|
|
28
32
|
'import/no-restricted-paths': ['off'],
|
|
29
33
|
'react/no-danger': 'off',
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 184.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`42486e5e512`](https://bitbucket.org/atlassian/atlassian-frontend/commits/42486e5e512) - Updated `ColorPickerButton`'s size prop type from number to string for width and height, allowing use of space tokens.
|
|
8
|
+
|
|
3
9
|
## 184.0.0
|
|
4
10
|
|
|
5
11
|
### Major Changes
|
|
@@ -166,8 +166,8 @@ var ColorPickerButton = function ColorPickerButton(props) {
|
|
|
166
166
|
};
|
|
167
167
|
var title = props.title || '';
|
|
168
168
|
var currentColor = props.currentColor && props.hexToPaletteColor ? props.hexToPaletteColor(props.currentColor) : props.currentColor;
|
|
169
|
-
var buttonStyle = (0, _react2.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n padding: 6px;\n background-color: ", ";\n ", "\n &:before {\n display: flex;\n justify-content: center;\n align-items: center;\n align-self: center;\n content: '';\n border: 1px solid ", ";\n border-radius: ", "px;\n background-color: ", ";\n width: ", "
|
|
170
|
-
!!((_props$size = props.size) !== null && _props$size !== void 0 && _props$size.height) && "height: inherit;", _common.DEFAULT_BORDER_COLOR, (0, _constants.borderRadius)(), currentColor || 'transparent', ((_props$size2 = props.size) === null || _props$size2 === void 0 ? void 0 : _props$size2.width) ||
|
|
169
|
+
var buttonStyle = (0, _react2.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n padding: 6px;\n background-color: ", ";\n ", "\n &:before {\n display: flex;\n justify-content: center;\n align-items: center;\n align-self: center;\n content: '';\n border: 1px solid ", ";\n border-radius: ", "px;\n background-color: ", ";\n width: ", ";\n height: ", ";\n padding: 0;\n }\n "])), "var(--ds-background-neutral, transparent)", /* If custom props size height, override the button base height property */
|
|
170
|
+
!!((_props$size = props.size) !== null && _props$size !== void 0 && _props$size.height) && "height: inherit;", _common.DEFAULT_BORDER_COLOR, (0, _constants.borderRadius)(), currentColor || 'transparent', ((_props$size2 = props.size) === null || _props$size2 === void 0 ? void 0 : _props$size2.width) || '14px', ((_props$size3 = props.size) === null || _props$size3 === void 0 ? void 0 : _props$size3.height) || '14px');
|
|
171
171
|
return (0, _react2.jsx)("div", {
|
|
172
172
|
css: colorPickerButtonWrapper
|
|
173
173
|
}, (0, _react2.jsx)(_tooltip.default, {
|
|
@@ -13,7 +13,6 @@ var _form = require("@atlaskit/form");
|
|
|
13
13
|
var _editorPalette = require("@atlaskit/editor-palette");
|
|
14
14
|
var _common = require("../../../ui/ColorPalette/Palettes/common");
|
|
15
15
|
var _utils = require("../utils");
|
|
16
|
-
var _constants = require("@atlaskit/theme/constants");
|
|
17
16
|
var _RequiredIndicator = require("./common/RequiredIndicator");
|
|
18
17
|
var _typography = require("@atlaskit/theme/typography");
|
|
19
18
|
var _FieldMessages = _interopRequireDefault(require("../FieldMessages"));
|
|
@@ -21,7 +20,7 @@ var _ColorPickerButton = _interopRequireDefault(require("../../ColorPickerButton
|
|
|
21
20
|
var _ColorPalette = require("../../../ui/ColorPalette");
|
|
22
21
|
var _templateObject, _templateObject2;
|
|
23
22
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
24
|
-
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) { (0, _defineProperty2.default)(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; } /** @jsx jsx */
|
|
23
|
+
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) { (0, _defineProperty2.default)(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; } /** @jsx jsx */
|
|
25
24
|
/*
|
|
26
25
|
NOTE: color used here are not yet in atlaskit code
|
|
27
26
|
this is part of extended color pack from ADG, which is yet to be release
|
|
@@ -377,13 +376,10 @@ var ColorPicker = function ColorPicker(props) {
|
|
|
377
376
|
showSomewhatSemanticTooltips: useSomewhatSemanticTextColorNames,
|
|
378
377
|
cols: EXPANDED_COLOR_PICKER_COLUMNS,
|
|
379
378
|
alignX: "right",
|
|
380
|
-
placement: "ConfigPanel"
|
|
381
|
-
// TODO: Migrate away from gridSize
|
|
382
|
-
// Recommendation: Update types of size object to accept string width/height and then replace gridSize with tokens
|
|
383
|
-
,
|
|
379
|
+
placement: "ConfigPanel",
|
|
384
380
|
size: {
|
|
385
|
-
width:
|
|
386
|
-
height:
|
|
381
|
+
width: "var(--ds-space-300, 24px)",
|
|
382
|
+
height: "var(--ds-space-300, 24px)"
|
|
387
383
|
}
|
|
388
384
|
}) : (0, _react.jsx)(_ColorPickerButton.default, {
|
|
389
385
|
title: title,
|
|
@@ -394,8 +390,8 @@ var ColorPicker = function ColorPicker(props) {
|
|
|
394
390
|
alignX: "right",
|
|
395
391
|
placement: "ConfigPanel",
|
|
396
392
|
size: {
|
|
397
|
-
width:
|
|
398
|
-
height:
|
|
393
|
+
width: "var(--ds-space-300, 24px)",
|
|
394
|
+
height: "var(--ds-space-300, 24px)"
|
|
399
395
|
}
|
|
400
396
|
});
|
|
401
397
|
};
|
package/dist/cjs/ui/styles.js
CHANGED
|
@@ -26,8 +26,14 @@ var _shortcut = require("@atlaskit/editor-shared-styles/shortcut");
|
|
|
26
26
|
var _scrollbar = require("@atlaskit/editor-shared-styles/scrollbar");
|
|
27
27
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10;
|
|
28
28
|
var buttonGroupStyle = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: inline-flex;\n align-items: center;\n\n & > div {\n display: flex;\n }\n"])));
|
|
29
|
+
|
|
30
|
+
// This style is copied to packages/editor/editor-plugin-ai/src/ui/components/AtlassianIntelligenceToolbarButton/styles.tsx
|
|
31
|
+
// If you make change here, change in above file as well.
|
|
29
32
|
exports.buttonGroupStyle = buttonGroupStyle;
|
|
30
33
|
var separatorStyles = (0, _react.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n background: ", ";\n width: 1px;\n height: 24px;\n display: inline-block;\n margin: 0 8px;\n user-select: none;\n"])), "var(--ds-border, ".concat(_colors.N30, ")"));
|
|
34
|
+
|
|
35
|
+
// This style is copied to packages/editor/editor-plugin-ai/src/ui/components/AtlassianIntelligenceToolbarButton/styles.tsx
|
|
36
|
+
// If you make change here, change in above file as well.
|
|
31
37
|
exports.separatorStyles = separatorStyles;
|
|
32
38
|
var wrapperStyle = (0, _react.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: center;\n\n > div,\n > span {\n display: flex;\n }\n\n > div > div {\n display: flex;\n }\n\n margin-left: 0;\n min-width: auto;\n"])));
|
|
33
39
|
exports.wrapperStyle = wrapperStyle;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.version = exports.nextMajorVersion = exports.name = void 0;
|
|
7
7
|
var name = "@atlaskit/editor-core";
|
|
8
8
|
exports.name = name;
|
|
9
|
-
var version = "184.0.
|
|
9
|
+
var version = "184.0.4";
|
|
10
10
|
exports.version = version;
|
|
11
11
|
var nextMajorVersion = function nextMajorVersion() {
|
|
12
12
|
return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
|
package/dist/cjs/version.json
CHANGED
|
@@ -165,8 +165,8 @@ const ColorPickerButton = props => {
|
|
|
165
165
|
border: 1px solid ${DEFAULT_BORDER_COLOR};
|
|
166
166
|
border-radius: ${borderRadius()}px;
|
|
167
167
|
background-color: ${currentColor || 'transparent'};
|
|
168
|
-
width: ${((_props$size2 = props.size) === null || _props$size2 === void 0 ? void 0 : _props$size2.width) ||
|
|
169
|
-
height: ${((_props$size3 = props.size) === null || _props$size3 === void 0 ? void 0 : _props$size3.height) ||
|
|
168
|
+
width: ${((_props$size2 = props.size) === null || _props$size2 === void 0 ? void 0 : _props$size2.width) || '14px'};
|
|
169
|
+
height: ${((_props$size3 = props.size) === null || _props$size3 === void 0 ? void 0 : _props$size3.height) || '14px'};
|
|
170
170
|
padding: 0;
|
|
171
171
|
}
|
|
172
172
|
`;
|
|
@@ -5,8 +5,6 @@ import { Field } from '@atlaskit/form';
|
|
|
5
5
|
import { hexToEditorTableChartsPaletteColor } from '@atlaskit/editor-palette';
|
|
6
6
|
import { DEFAULT_BORDER_COLOR } from '../../../ui/ColorPalette/Palettes/common';
|
|
7
7
|
import { validate } from '../utils';
|
|
8
|
-
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
9
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
10
8
|
import { requiredIndicator } from './common/RequiredIndicator';
|
|
11
9
|
import { headingSizes } from '@atlaskit/theme/typography';
|
|
12
10
|
import FieldMessages from '../FieldMessages';
|
|
@@ -373,13 +371,10 @@ const ColorPicker = props => {
|
|
|
373
371
|
showSomewhatSemanticTooltips: useSomewhatSemanticTextColorNames,
|
|
374
372
|
cols: EXPANDED_COLOR_PICKER_COLUMNS,
|
|
375
373
|
alignX: "right",
|
|
376
|
-
placement: "ConfigPanel"
|
|
377
|
-
// TODO: Migrate away from gridSize
|
|
378
|
-
// Recommendation: Update types of size object to accept string width/height and then replace gridSize with tokens
|
|
379
|
-
,
|
|
374
|
+
placement: "ConfigPanel",
|
|
380
375
|
size: {
|
|
381
|
-
width:
|
|
382
|
-
height:
|
|
376
|
+
width: "var(--ds-space-300, 24px)",
|
|
377
|
+
height: "var(--ds-space-300, 24px)"
|
|
383
378
|
}
|
|
384
379
|
}) : jsx(ColorPickerButton, {
|
|
385
380
|
title: title,
|
|
@@ -390,8 +385,8 @@ const ColorPicker = props => {
|
|
|
390
385
|
alignX: "right",
|
|
391
386
|
placement: "ConfigPanel",
|
|
392
387
|
size: {
|
|
393
|
-
width:
|
|
394
|
-
height:
|
|
388
|
+
width: "var(--ds-space-300, 24px)",
|
|
389
|
+
height: "var(--ds-space-300, 24px)"
|
|
395
390
|
}
|
|
396
391
|
});
|
|
397
392
|
};
|
package/dist/es2019/ui/styles.js
CHANGED
|
@@ -10,6 +10,9 @@ export const buttonGroupStyle = css`
|
|
|
10
10
|
display: flex;
|
|
11
11
|
}
|
|
12
12
|
`;
|
|
13
|
+
|
|
14
|
+
// This style is copied to packages/editor/editor-plugin-ai/src/ui/components/AtlassianIntelligenceToolbarButton/styles.tsx
|
|
15
|
+
// If you make change here, change in above file as well.
|
|
13
16
|
export const separatorStyles = css`
|
|
14
17
|
background: ${`var(--ds-border, ${N30})`};
|
|
15
18
|
width: 1px;
|
|
@@ -18,6 +21,9 @@ export const separatorStyles = css`
|
|
|
18
21
|
margin: 0 8px;
|
|
19
22
|
user-select: none;
|
|
20
23
|
`;
|
|
24
|
+
|
|
25
|
+
// This style is copied to packages/editor/editor-plugin-ai/src/ui/components/AtlassianIntelligenceToolbarButton/styles.tsx
|
|
26
|
+
// If you make change here, change in above file as well.
|
|
21
27
|
export const wrapperStyle = css`
|
|
22
28
|
display: flex;
|
|
23
29
|
align-items: center;
|
package/dist/es2019/version.json
CHANGED
|
@@ -159,8 +159,8 @@ var ColorPickerButton = function ColorPickerButton(props) {
|
|
|
159
159
|
};
|
|
160
160
|
var title = props.title || '';
|
|
161
161
|
var currentColor = props.currentColor && props.hexToPaletteColor ? props.hexToPaletteColor(props.currentColor) : props.currentColor;
|
|
162
|
-
var buttonStyle = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n padding: 6px;\n background-color: ", ";\n ", "\n &:before {\n display: flex;\n justify-content: center;\n align-items: center;\n align-self: center;\n content: '';\n border: 1px solid ", ";\n border-radius: ", "px;\n background-color: ", ";\n width: ", "
|
|
163
|
-
!!((_props$size = props.size) !== null && _props$size !== void 0 && _props$size.height) && "height: inherit;", DEFAULT_BORDER_COLOR, borderRadius(), currentColor || 'transparent', ((_props$size2 = props.size) === null || _props$size2 === void 0 ? void 0 : _props$size2.width) ||
|
|
162
|
+
var buttonStyle = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n padding: 6px;\n background-color: ", ";\n ", "\n &:before {\n display: flex;\n justify-content: center;\n align-items: center;\n align-self: center;\n content: '';\n border: 1px solid ", ";\n border-radius: ", "px;\n background-color: ", ";\n width: ", ";\n height: ", ";\n padding: 0;\n }\n "])), "var(--ds-background-neutral, transparent)", /* If custom props size height, override the button base height property */
|
|
163
|
+
!!((_props$size = props.size) !== null && _props$size !== void 0 && _props$size.height) && "height: inherit;", DEFAULT_BORDER_COLOR, borderRadius(), currentColor || 'transparent', ((_props$size2 = props.size) === null || _props$size2 === void 0 ? void 0 : _props$size2.width) || '14px', ((_props$size3 = props.size) === null || _props$size3 === void 0 ? void 0 : _props$size3.height) || '14px');
|
|
164
164
|
return jsx("div", {
|
|
165
165
|
css: colorPickerButtonWrapper
|
|
166
166
|
}, jsx(Tooltip, {
|
|
@@ -10,8 +10,6 @@ import { Field } from '@atlaskit/form';
|
|
|
10
10
|
import { hexToEditorTableChartsPaletteColor } from '@atlaskit/editor-palette';
|
|
11
11
|
import { DEFAULT_BORDER_COLOR } from '../../../ui/ColorPalette/Palettes/common';
|
|
12
12
|
import { validate as _validate } from '../utils';
|
|
13
|
-
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
14
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
15
13
|
import { requiredIndicator } from './common/RequiredIndicator';
|
|
16
14
|
import { headingSizes } from '@atlaskit/theme/typography';
|
|
17
15
|
import FieldMessages from '../FieldMessages';
|
|
@@ -368,13 +366,10 @@ var ColorPicker = function ColorPicker(props) {
|
|
|
368
366
|
showSomewhatSemanticTooltips: useSomewhatSemanticTextColorNames,
|
|
369
367
|
cols: EXPANDED_COLOR_PICKER_COLUMNS,
|
|
370
368
|
alignX: "right",
|
|
371
|
-
placement: "ConfigPanel"
|
|
372
|
-
// TODO: Migrate away from gridSize
|
|
373
|
-
// Recommendation: Update types of size object to accept string width/height and then replace gridSize with tokens
|
|
374
|
-
,
|
|
369
|
+
placement: "ConfigPanel",
|
|
375
370
|
size: {
|
|
376
|
-
width:
|
|
377
|
-
height:
|
|
371
|
+
width: "var(--ds-space-300, 24px)",
|
|
372
|
+
height: "var(--ds-space-300, 24px)"
|
|
378
373
|
}
|
|
379
374
|
}) : jsx(ColorPickerButton, {
|
|
380
375
|
title: title,
|
|
@@ -385,8 +380,8 @@ var ColorPicker = function ColorPicker(props) {
|
|
|
385
380
|
alignX: "right",
|
|
386
381
|
placement: "ConfigPanel",
|
|
387
382
|
size: {
|
|
388
|
-
width:
|
|
389
|
-
height:
|
|
383
|
+
width: "var(--ds-space-300, 24px)",
|
|
384
|
+
height: "var(--ds-space-300, 24px)"
|
|
390
385
|
}
|
|
391
386
|
});
|
|
392
387
|
};
|
package/dist/esm/ui/styles.js
CHANGED
|
@@ -5,7 +5,13 @@ import { N30 } from '@atlaskit/theme/colors';
|
|
|
5
5
|
export { shortcutStyle } from '@atlaskit/editor-shared-styles/shortcut';
|
|
6
6
|
export { scrollbarStyles } from '@atlaskit/editor-shared-styles/scrollbar';
|
|
7
7
|
export var buttonGroupStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: inline-flex;\n align-items: center;\n\n & > div {\n display: flex;\n }\n"])));
|
|
8
|
+
|
|
9
|
+
// This style is copied to packages/editor/editor-plugin-ai/src/ui/components/AtlassianIntelligenceToolbarButton/styles.tsx
|
|
10
|
+
// If you make change here, change in above file as well.
|
|
8
11
|
export var separatorStyles = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n background: ", ";\n width: 1px;\n height: 24px;\n display: inline-block;\n margin: 0 8px;\n user-select: none;\n"])), "var(--ds-border, ".concat(N30, ")"));
|
|
12
|
+
|
|
13
|
+
// This style is copied to packages/editor/editor-plugin-ai/src/ui/components/AtlassianIntelligenceToolbarButton/styles.tsx
|
|
14
|
+
// If you make change here, change in above file as well.
|
|
9
15
|
export var wrapperStyle = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n\n > div,\n > span {\n display: flex;\n }\n\n > div > div {\n display: flex;\n }\n\n margin-left: 0;\n min-width: auto;\n"])));
|
|
10
16
|
export var wrapperSmallStyle = css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n margin-left: 4px;\n min-width: 40px;\n"])));
|
|
11
17
|
export var expandIconWrapperStyle = css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n margin-left: -8px;\n"])));
|
package/dist/esm/version.json
CHANGED
|
@@ -11,8 +11,8 @@ type Props = WithAnalyticsEventsProps & {
|
|
|
11
11
|
cols?: number;
|
|
12
12
|
alignX?: 'left' | 'right' | 'center' | 'end';
|
|
13
13
|
size?: {
|
|
14
|
-
width:
|
|
15
|
-
height:
|
|
14
|
+
width: string;
|
|
15
|
+
height: string;
|
|
16
16
|
};
|
|
17
17
|
mountPoint?: HTMLElement;
|
|
18
18
|
setDisableParentScroll?: (disable: boolean) => void;
|
|
@@ -11,8 +11,8 @@ type Props = WithAnalyticsEventsProps & {
|
|
|
11
11
|
cols?: number;
|
|
12
12
|
alignX?: 'left' | 'right' | 'center' | 'end';
|
|
13
13
|
size?: {
|
|
14
|
-
width:
|
|
15
|
-
height:
|
|
14
|
+
width: string;
|
|
15
|
+
height: string;
|
|
16
16
|
};
|
|
17
17
|
mountPoint?: HTMLElement;
|
|
18
18
|
setDisableParentScroll?: (disable: boolean) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "184.0.
|
|
3
|
+
"version": "184.0.4",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"@atlaskit/icon": "^21.12.0",
|
|
68
68
|
"@atlaskit/icon-object": "^6.3.0",
|
|
69
69
|
"@atlaskit/link-analytics": "^8.0.0",
|
|
70
|
-
"@atlaskit/link-picker": "^1.
|
|
70
|
+
"@atlaskit/link-picker": "^1.22.0",
|
|
71
71
|
"@atlaskit/locale": "^2.5.0",
|
|
72
72
|
"@atlaskit/logo": "^13.14.0",
|
|
73
73
|
"@atlaskit/media-card": "^76.0.0",
|
|
@@ -85,15 +85,15 @@
|
|
|
85
85
|
"@atlaskit/prosemirror-input-rules": "^2.2.0",
|
|
86
86
|
"@atlaskit/radio": "^5.6.0",
|
|
87
87
|
"@atlaskit/section-message": "^6.4.0",
|
|
88
|
-
"@atlaskit/select": "^16.
|
|
88
|
+
"@atlaskit/select": "^16.4.0",
|
|
89
89
|
"@atlaskit/smart-card": "^26.3.0",
|
|
90
90
|
"@atlaskit/smart-user-picker": "^6.1.0",
|
|
91
91
|
"@atlaskit/spinner": "^15.5.0",
|
|
92
92
|
"@atlaskit/status": "^1.3.0",
|
|
93
93
|
"@atlaskit/tabs": "^13.4.0",
|
|
94
94
|
"@atlaskit/task-decision": "^17.6.0",
|
|
95
|
-
"@atlaskit/textarea": "^4.
|
|
96
|
-
"@atlaskit/textfield": "^5.
|
|
95
|
+
"@atlaskit/textarea": "^4.7.0",
|
|
96
|
+
"@atlaskit/textfield": "^5.5.0",
|
|
97
97
|
"@atlaskit/theme": "^12.5.0",
|
|
98
98
|
"@atlaskit/toggle": "^12.6.0",
|
|
99
99
|
"@atlaskit/tokens": "^1.4.0",
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
},
|
|
146
146
|
"devDependencies": {
|
|
147
147
|
"@af/integration-testing": "*",
|
|
148
|
-
"@atlaskit/atlassian-navigation": "^2.
|
|
148
|
+
"@atlaskit/atlassian-navigation": "^2.6.0",
|
|
149
149
|
"@atlaskit/breadcrumbs": "11.10.3",
|
|
150
150
|
"@atlaskit/code": "^14.6.0",
|
|
151
151
|
"@atlaskit/collab-provider": "9.0.0",
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
"@atlaskit/editor-card-provider": "^3.0.0",
|
|
157
157
|
"@atlaskit/editor-extension-dropbox": "^0.4.0",
|
|
158
158
|
"@atlaskit/editor-plugin-table": "^1.5.0",
|
|
159
|
-
"@atlaskit/editor-test-helpers": "^18.
|
|
159
|
+
"@atlaskit/editor-test-helpers": "^18.5.0",
|
|
160
160
|
"@atlaskit/flag": "^15.2.0",
|
|
161
161
|
"@atlaskit/inline-dialog": "^13.6.0",
|
|
162
162
|
"@atlaskit/link-provider": "^1.6.0",
|
|
@@ -168,23 +168,23 @@
|
|
|
168
168
|
"@atlaskit/menu": "^1.7.0",
|
|
169
169
|
"@atlaskit/page-layout": "^1.6.0",
|
|
170
170
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
171
|
-
"@atlaskit/profilecard": "^19.
|
|
171
|
+
"@atlaskit/profilecard": "^19.4.0",
|
|
172
172
|
"@atlaskit/pubsub": "^6.4.0",
|
|
173
173
|
"@atlaskit/renderer": "^108.1.0",
|
|
174
174
|
"@atlaskit/section-message": "^6.4.0",
|
|
175
175
|
"@atlaskit/share": "*",
|
|
176
176
|
"@atlaskit/smart-user-picker": "^6.1.0",
|
|
177
177
|
"@atlaskit/synchrony-test-helpers": "^2.3.0",
|
|
178
|
-
"@atlaskit/textarea": "^4.
|
|
178
|
+
"@atlaskit/textarea": "^4.7.0",
|
|
179
179
|
"@atlaskit/toggle": "^12.6.0",
|
|
180
180
|
"@atlaskit/ufo": "^0.2.0",
|
|
181
181
|
"@atlaskit/util-data-test": "^17.8.0",
|
|
182
182
|
"@atlaskit/visual-regression": "*",
|
|
183
183
|
"@atlaskit/webdriver-runner": "*",
|
|
184
184
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
185
|
-
"@atlassian/link-picker-atlassian-plugin": "^
|
|
186
|
-
"@atlassian/link-picker-plugins": "^
|
|
187
|
-
"@atlassian/search-provider": "2.4.
|
|
185
|
+
"@atlassian/link-picker-atlassian-plugin": "^32.1.0",
|
|
186
|
+
"@atlassian/link-picker-plugins": "^22.1.0",
|
|
187
|
+
"@atlassian/search-provider": "2.4.4",
|
|
188
188
|
"@atlassian/ufo": "^0.2.0",
|
|
189
189
|
"@emotion/jest": "^11.8.0",
|
|
190
190
|
"@storybook/addon-knobs": "^5.3.18",
|