@atlaskit/editor-common 72.7.1 → 72.7.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/icons/index.js +7 -0
- package/dist/cjs/icons/shared/BorderIcon.js +33 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui-color/ColorPalette/Palettes/paletteMessages.js +10 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/icons/index.js +1 -0
- package/dist/es2019/icons/shared/BorderIcon.js +25 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui-color/ColorPalette/Palettes/paletteMessages.js +10 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/icons/index.js +1 -0
- package/dist/esm/icons/shared/BorderIcon.js +25 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui-color/ColorPalette/Palettes/paletteMessages.js +10 -0
- package/dist/esm/version.json +1 -1
- package/dist/types/icons/index.d.ts +1 -0
- package/dist/types/icons/shared/BorderIcon.d.ts +3 -0
- package/dist/types/ui-color/ColorPalette/Palettes/paletteMessages.d.ts +10 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/cjs/icons/index.js
CHANGED
|
@@ -4,6 +4,12 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
+
Object.defineProperty(exports, "BorderIcon", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function get() {
|
|
10
|
+
return _BorderIcon.BorderIcon;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
7
13
|
exports.IconTable = void 0;
|
|
8
14
|
Object.defineProperty(exports, "PanelErrorIcon", {
|
|
9
15
|
enumerable: true,
|
|
@@ -42,6 +48,7 @@ var _PanelWarningIcon = require("./shared/PanelWarningIcon");
|
|
|
42
48
|
var _PanelErrorIcon = require("./shared/PanelErrorIcon");
|
|
43
49
|
var _PanelSuccessIcon = require("./shared/PanelSuccessIcon");
|
|
44
50
|
var _PanelNoteIcon = require("./shared/PanelNoteIcon");
|
|
51
|
+
var _BorderIcon = require("./shared/BorderIcon");
|
|
45
52
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
46
53
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || (0, _typeof2.default)(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; }
|
|
47
54
|
var IconTable = (0, _reactLoadable.default)({
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.BorderIcon = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
var _icon = _interopRequireDefault(require("@atlaskit/icon"));
|
|
11
|
+
var BorderIconGlyph = function BorderIconGlyph(props) {
|
|
12
|
+
return /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({
|
|
13
|
+
width: "24",
|
|
14
|
+
height: "24",
|
|
15
|
+
viewBox: "0 0 24 24",
|
|
16
|
+
fill: "none",
|
|
17
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
18
|
+
}, props), /*#__PURE__*/_react.default.createElement("path", {
|
|
19
|
+
d: "M8.33333 8C8.15267 8 8 8.14933 8 8.33333V15.6667C8.0007 15.7549 8.03604 15.8392 8.0984 15.9016C8.16076 15.964 8.24514 15.9993 8.33333 16H15.6667C15.8473 16 16 15.8507 16 15.6667V8.33333C16 8.15267 15.8507 8 15.6667 8H8.33333Z",
|
|
20
|
+
fill: "currentColor"
|
|
21
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
+
fillRule: "evenodd",
|
|
23
|
+
clipRule: "evenodd",
|
|
24
|
+
d: "M4 7C4 5.34315 5.34315 4 7 4H17C18.6569 4 20 5.34315 20 7V17C20 18.6569 18.6569 20 17 20H7C5.34315 20 4 18.6569 4 17V7ZM7 6C6.44772 6 6 6.44772 6 7V17C6 17.5523 6.44772 18 7 18H17C17.5523 18 18 17.5523 18 17V7C18 6.44772 17.5523 6 17 6H7Z",
|
|
25
|
+
fill: "currentColor"
|
|
26
|
+
}));
|
|
27
|
+
};
|
|
28
|
+
var BorderIcon = function BorderIcon(props) {
|
|
29
|
+
return /*#__PURE__*/_react.default.createElement(_icon.default, (0, _extends2.default)({
|
|
30
|
+
glyph: BorderIconGlyph
|
|
31
|
+
}, props));
|
|
32
|
+
};
|
|
33
|
+
exports.BorderIcon = BorderIcon;
|
|
@@ -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; } }
|
|
26
26
|
var packageName = "@atlaskit/editor-common";
|
|
27
|
-
var packageVersion = "72.7.
|
|
27
|
+
var packageVersion = "72.7.2";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = "0, ".concat((0, _constants.gridSize)(), "px");
|
|
30
30
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -115,6 +115,16 @@ var _default = (0, _reactIntlNext.defineMessages)({
|
|
|
115
115
|
id: 'fabric.theme.dark-purple',
|
|
116
116
|
defaultMessage: 'Dark purple',
|
|
117
117
|
description: 'Name of a color'
|
|
118
|
+
},
|
|
119
|
+
'subtle-gray': {
|
|
120
|
+
id: 'fabric.theme.subtle-gray',
|
|
121
|
+
defaultMessage: 'Subtle gray',
|
|
122
|
+
description: 'Name of a color'
|
|
123
|
+
},
|
|
124
|
+
'bold-gray': {
|
|
125
|
+
id: 'fabric.theme.bold-gray',
|
|
126
|
+
defaultMessage: 'Bold gray',
|
|
127
|
+
description: 'Name of a color'
|
|
118
128
|
}
|
|
119
129
|
});
|
|
120
130
|
exports.default = _default;
|
package/dist/cjs/version.json
CHANGED
|
@@ -4,6 +4,7 @@ export { PanelWarningIcon } from './shared/PanelWarningIcon';
|
|
|
4
4
|
export { PanelErrorIcon } from './shared/PanelErrorIcon';
|
|
5
5
|
export { PanelSuccessIcon } from './shared/PanelSuccessIcon';
|
|
6
6
|
export { PanelNoteIcon } from './shared/PanelNoteIcon';
|
|
7
|
+
export { BorderIcon } from './shared/BorderIcon';
|
|
7
8
|
export const IconTable = Loadable({
|
|
8
9
|
loader: () => import( /* webpackChunkName: "@atlaskit-internal_editor-icon-table" */'../icons/shared/table').then(module => module.default),
|
|
9
10
|
loading: () => null
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@atlaskit/icon';
|
|
4
|
+
const BorderIconGlyph = props => {
|
|
5
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
|
+
width: "24",
|
|
7
|
+
height: "24",
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
12
|
+
d: "M8.33333 8C8.15267 8 8 8.14933 8 8.33333V15.6667C8.0007 15.7549 8.03604 15.8392 8.0984 15.9016C8.16076 15.964 8.24514 15.9993 8.33333 16H15.6667C15.8473 16 16 15.8507 16 15.6667V8.33333C16 8.15267 15.8507 8 15.6667 8H8.33333Z",
|
|
13
|
+
fill: "currentColor"
|
|
14
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
fillRule: "evenodd",
|
|
16
|
+
clipRule: "evenodd",
|
|
17
|
+
d: "M4 7C4 5.34315 5.34315 4 7 4H17C18.6569 4 20 5.34315 20 7V17C20 18.6569 18.6569 20 17 20H7C5.34315 20 4 18.6569 4 17V7ZM7 6C6.44772 6 6 6.44772 6 7V17C6 17.5523 6.44772 18 7 18H17C17.5523 18 18 17.5523 18 17V7C18 6.44772 17.5523 6 17 6H7Z",
|
|
18
|
+
fill: "currentColor"
|
|
19
|
+
}));
|
|
20
|
+
};
|
|
21
|
+
export const BorderIcon = props => {
|
|
22
|
+
return /*#__PURE__*/React.createElement(Icon, _extends({
|
|
23
|
+
glyph: BorderIconGlyph
|
|
24
|
+
}, props));
|
|
25
|
+
};
|
|
@@ -8,7 +8,7 @@ import { themed } from '@atlaskit/theme/components';
|
|
|
8
8
|
import { borderRadius, gridSize } from '@atlaskit/theme/constants';
|
|
9
9
|
import Layer from '../Layer';
|
|
10
10
|
const packageName = "@atlaskit/editor-common";
|
|
11
|
-
const packageVersion = "72.7.
|
|
11
|
+
const packageVersion = "72.7.2";
|
|
12
12
|
const halfFocusRing = 1;
|
|
13
13
|
const dropOffset = `0, ${gridSize()}px`;
|
|
14
14
|
class DropList extends Component {
|
|
@@ -109,5 +109,15 @@ export default defineMessages({
|
|
|
109
109
|
id: 'fabric.theme.dark-purple',
|
|
110
110
|
defaultMessage: 'Dark purple',
|
|
111
111
|
description: 'Name of a color'
|
|
112
|
+
},
|
|
113
|
+
'subtle-gray': {
|
|
114
|
+
id: 'fabric.theme.subtle-gray',
|
|
115
|
+
defaultMessage: 'Subtle gray',
|
|
116
|
+
description: 'Name of a color'
|
|
117
|
+
},
|
|
118
|
+
'bold-gray': {
|
|
119
|
+
id: 'fabric.theme.bold-gray',
|
|
120
|
+
defaultMessage: 'Bold gray',
|
|
121
|
+
description: 'Name of a color'
|
|
112
122
|
}
|
|
113
123
|
});
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/icons/index.js
CHANGED
|
@@ -4,6 +4,7 @@ export { PanelWarningIcon } from './shared/PanelWarningIcon';
|
|
|
4
4
|
export { PanelErrorIcon } from './shared/PanelErrorIcon';
|
|
5
5
|
export { PanelSuccessIcon } from './shared/PanelSuccessIcon';
|
|
6
6
|
export { PanelNoteIcon } from './shared/PanelNoteIcon';
|
|
7
|
+
export { BorderIcon } from './shared/BorderIcon';
|
|
7
8
|
export var IconTable = Loadable({
|
|
8
9
|
loader: function loader() {
|
|
9
10
|
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-table" */'../icons/shared/table').then(function (module) {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@atlaskit/icon';
|
|
4
|
+
var BorderIconGlyph = function BorderIconGlyph(props) {
|
|
5
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
|
+
width: "24",
|
|
7
|
+
height: "24",
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
12
|
+
d: "M8.33333 8C8.15267 8 8 8.14933 8 8.33333V15.6667C8.0007 15.7549 8.03604 15.8392 8.0984 15.9016C8.16076 15.964 8.24514 15.9993 8.33333 16H15.6667C15.8473 16 16 15.8507 16 15.6667V8.33333C16 8.15267 15.8507 8 15.6667 8H8.33333Z",
|
|
13
|
+
fill: "currentColor"
|
|
14
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
fillRule: "evenodd",
|
|
16
|
+
clipRule: "evenodd",
|
|
17
|
+
d: "M4 7C4 5.34315 5.34315 4 7 4H17C18.6569 4 20 5.34315 20 7V17C20 18.6569 18.6569 20 17 20H7C5.34315 20 4 18.6569 4 17V7ZM7 6C6.44772 6 6 6.44772 6 7V17C6 17.5523 6.44772 18 7 18H17C17.5523 18 18 17.5523 18 17V7C18 6.44772 17.5523 6 17 6H7Z",
|
|
18
|
+
fill: "currentColor"
|
|
19
|
+
}));
|
|
20
|
+
};
|
|
21
|
+
export var BorderIcon = function BorderIcon(props) {
|
|
22
|
+
return /*#__PURE__*/React.createElement(Icon, _extends({
|
|
23
|
+
glyph: BorderIconGlyph
|
|
24
|
+
}, props));
|
|
25
|
+
};
|
|
@@ -18,7 +18,7 @@ import { themed } from '@atlaskit/theme/components';
|
|
|
18
18
|
import { borderRadius, gridSize } from '@atlaskit/theme/constants';
|
|
19
19
|
import Layer from '../Layer';
|
|
20
20
|
var packageName = "@atlaskit/editor-common";
|
|
21
|
-
var packageVersion = "72.7.
|
|
21
|
+
var packageVersion = "72.7.2";
|
|
22
22
|
var halfFocusRing = 1;
|
|
23
23
|
var dropOffset = "0, ".concat(gridSize(), "px");
|
|
24
24
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -109,5 +109,15 @@ export default defineMessages({
|
|
|
109
109
|
id: 'fabric.theme.dark-purple',
|
|
110
110
|
defaultMessage: 'Dark purple',
|
|
111
111
|
description: 'Name of a color'
|
|
112
|
+
},
|
|
113
|
+
'subtle-gray': {
|
|
114
|
+
id: 'fabric.theme.subtle-gray',
|
|
115
|
+
defaultMessage: 'Subtle gray',
|
|
116
|
+
description: 'Name of a color'
|
|
117
|
+
},
|
|
118
|
+
'bold-gray': {
|
|
119
|
+
id: 'fabric.theme.bold-gray',
|
|
120
|
+
defaultMessage: 'Bold gray',
|
|
121
|
+
description: 'Name of a color'
|
|
112
122
|
}
|
|
113
123
|
});
|
package/dist/esm/version.json
CHANGED
|
@@ -6,4 +6,5 @@ export { PanelWarningIcon } from './shared/PanelWarningIcon';
|
|
|
6
6
|
export { PanelErrorIcon } from './shared/PanelErrorIcon';
|
|
7
7
|
export { PanelSuccessIcon } from './shared/PanelSuccessIcon';
|
|
8
8
|
export { PanelNoteIcon } from './shared/PanelNoteIcon';
|
|
9
|
+
export { BorderIcon } from './shared/BorderIcon';
|
|
9
10
|
export declare const IconTable: React.ComponentType<IconProps> & Loadable.LoadableComponent;
|
|
@@ -109,5 +109,15 @@ declare const _default: {
|
|
|
109
109
|
defaultMessage: string;
|
|
110
110
|
description: string;
|
|
111
111
|
};
|
|
112
|
+
'subtle-gray': {
|
|
113
|
+
id: string;
|
|
114
|
+
defaultMessage: string;
|
|
115
|
+
description: string;
|
|
116
|
+
};
|
|
117
|
+
'bold-gray': {
|
|
118
|
+
id: string;
|
|
119
|
+
defaultMessage: string;
|
|
120
|
+
description: string;
|
|
121
|
+
};
|
|
112
122
|
};
|
|
113
123
|
export default _default;
|
package/package.json
CHANGED