@atlaskit/editor-core 172.2.1 → 172.3.0
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 +10 -0
- package/dist/cjs/plugins/quick-insert/assets/index.js +1 -14
- package/dist/cjs/plugins/table/index.js +2 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/plugins/quick-insert/assets/index.js +0 -6
- package/dist/es2019/plugins/table/index.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/plugins/quick-insert/assets/index.js +0 -12
- package/dist/esm/plugins/table/index.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/plugins/quick-insert/assets/index.d.ts +0 -1
- package/dist/types/plugins/quick-insert/types.d.ts +1 -3
- package/dist/types-ts4.0/plugins/quick-insert/assets/index.d.ts +0 -1
- package/dist/types-ts4.0/plugins/quick-insert/types.d.ts +1 -3
- package/package.json +3 -3
- package/dist/cjs/plugins/quick-insert/assets/table.js +0 -42
- package/dist/es2019/plugins/quick-insert/assets/table.js +0 -32
- package/dist/esm/plugins/quick-insert/assets/table.js +0 -32
- package/dist/types/plugins/quick-insert/assets/table.d.ts +0 -2
- package/dist/types-ts4.0/plugins/quick-insert/assets/table.d.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 172.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`06ae7af103f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/06ae7af103f) - [ux][ed-15739] Bring back the table icon to the typeahead menu by moving IconTable component to shared package
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 172.2.1
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.IconStatus = exports.IconQuote = exports.IconPanelWarning = exports.IconPanelSuccess = exports.IconPanelNote = exports.IconPanelError = exports.IconPanel = exports.IconMention = exports.IconListNumber = exports.IconList = exports.IconLink = exports.IconLayout = exports.IconImages = exports.IconHeading = exports.IconFeedback = exports.IconFallback = exports.IconExpand = exports.IconEmoji = exports.IconDivider = exports.IconDecision = exports.IconDate = exports.IconCustomPanel = exports.IconCode = exports.IconAction = void 0;
|
|
9
9
|
|
|
10
10
|
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
11
11
|
|
|
@@ -281,19 +281,6 @@ var IconStatus = (0, _reactLoadable.default)({
|
|
|
281
281
|
}
|
|
282
282
|
});
|
|
283
283
|
exports.IconStatus = IconStatus;
|
|
284
|
-
var IconTable = (0, _reactLoadable.default)({
|
|
285
|
-
loader: function loader() {
|
|
286
|
-
return Promise.resolve().then(function () {
|
|
287
|
-
return _interopRequireWildcard(require('./table'));
|
|
288
|
-
}).then(function (module) {
|
|
289
|
-
return module.default;
|
|
290
|
-
});
|
|
291
|
-
},
|
|
292
|
-
loading: function loading() {
|
|
293
|
-
return null;
|
|
294
|
-
}
|
|
295
|
-
});
|
|
296
|
-
exports.IconTable = IconTable;
|
|
297
284
|
var IconFallback = (0, _reactLoadable.default)({
|
|
298
285
|
loader: function loader() {
|
|
299
286
|
return Promise.resolve().then(function () {
|
|
@@ -25,7 +25,7 @@ var _analytics = require("@atlaskit/editor-common/analytics");
|
|
|
25
25
|
|
|
26
26
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _icons = require("@atlaskit/editor-common/icons");
|
|
29
29
|
|
|
30
30
|
var _createPluginConfig = require("./create-plugin-config");
|
|
31
31
|
|
|
@@ -321,7 +321,7 @@ var tablesPlugin = function tablesPlugin(options) {
|
|
|
321
321
|
priority: 600,
|
|
322
322
|
keyshortcut: (0, _keymaps.tooltip)(_keymaps.toggleTable),
|
|
323
323
|
icon: function icon() {
|
|
324
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
324
|
+
return /*#__PURE__*/_react.default.createElement(_icons.IconTable, null);
|
|
325
325
|
},
|
|
326
326
|
action: function action(insert, state) {
|
|
327
327
|
var _options$editorAnalyt;
|
|
@@ -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 = "172.
|
|
9
|
+
var version = "172.3.0";
|
|
10
10
|
exports.version = version;
|
|
11
11
|
|
|
12
12
|
var nextMajorVersion = function nextMajorVersion() {
|
package/dist/cjs/version.json
CHANGED
|
@@ -120,12 +120,6 @@ export const IconStatus = Loadable({
|
|
|
120
120
|
'./status').then(module => module.default),
|
|
121
121
|
loading: () => null
|
|
122
122
|
});
|
|
123
|
-
export const IconTable = Loadable({
|
|
124
|
-
loader: () => import(
|
|
125
|
-
/* webpackChunkName: "@atlaskit-internal_editor-icon-table" */
|
|
126
|
-
'./table').then(module => module.default),
|
|
127
|
-
loading: () => null
|
|
128
|
-
});
|
|
129
123
|
export const IconFallback = Loadable({
|
|
130
124
|
loader: () => import(
|
|
131
125
|
/* webpackChunkName: "@atlaskit-internal_editor-icon-fallback" */
|
|
@@ -7,7 +7,7 @@ import { toggleTable, tooltip } from '../../keymaps';
|
|
|
7
7
|
import WithPluginState from '../../ui/WithPluginState';
|
|
8
8
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
9
9
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
10
|
-
import { IconTable } from '
|
|
10
|
+
import { IconTable } from '@atlaskit/editor-common/icons';
|
|
11
11
|
import { pluginConfig } from './create-plugin-config';
|
|
12
12
|
import { createPlugin as createTableLocalIdPlugin } from './pm-plugins/table-local-id';
|
|
13
13
|
import { createPlugin as createTableSafariDelayedDomSelectionSyncingWorkaroundPlugin } from './pm-plugins/safari-delayed-dom-selection-syncing-workaround';
|
package/dist/es2019/version.json
CHANGED
|
@@ -242,18 +242,6 @@ export var IconStatus = Loadable({
|
|
|
242
242
|
return null;
|
|
243
243
|
}
|
|
244
244
|
});
|
|
245
|
-
export var IconTable = Loadable({
|
|
246
|
-
loader: function loader() {
|
|
247
|
-
return import(
|
|
248
|
-
/* webpackChunkName: "@atlaskit-internal_editor-icon-table" */
|
|
249
|
-
'./table').then(function (module) {
|
|
250
|
-
return module.default;
|
|
251
|
-
});
|
|
252
|
-
},
|
|
253
|
-
loading: function loading() {
|
|
254
|
-
return null;
|
|
255
|
-
}
|
|
256
|
-
});
|
|
257
245
|
export var IconFallback = Loadable({
|
|
258
246
|
loader: function loader() {
|
|
259
247
|
return import(
|
|
@@ -7,7 +7,7 @@ import { toggleTable, tooltip } from '../../keymaps';
|
|
|
7
7
|
import WithPluginState from '../../ui/WithPluginState';
|
|
8
8
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
9
9
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
10
|
-
import { IconTable } from '
|
|
10
|
+
import { IconTable } from '@atlaskit/editor-common/icons';
|
|
11
11
|
import { pluginConfig } from './create-plugin-config';
|
|
12
12
|
import { createPlugin as createTableLocalIdPlugin } from './pm-plugins/table-local-id';
|
|
13
13
|
import { createPlugin as createTableSafariDelayedDomSelectionSyncingWorkaroundPlugin } from './pm-plugins/safari-delayed-dom-selection-syncing-workaround';
|
package/dist/esm/version.json
CHANGED
|
@@ -22,7 +22,6 @@ export declare const IconPanel: React.ComponentType<IconProps> & Loadable.Loadab
|
|
|
22
22
|
export declare const IconCustomPanel: React.ComponentType<IconProps> & Loadable.LoadableComponent;
|
|
23
23
|
export declare const IconQuote: React.ComponentType<IconProps> & Loadable.LoadableComponent;
|
|
24
24
|
export declare const IconStatus: React.ComponentType<IconProps> & Loadable.LoadableComponent;
|
|
25
|
-
export declare const IconTable: React.ComponentType<IconProps> & Loadable.LoadableComponent;
|
|
26
25
|
export declare const IconFallback: React.ComponentType<IconProps> & Loadable.LoadableComponent;
|
|
27
26
|
declare type HeadingProps = IconProps & {
|
|
28
27
|
level: HeadingLevels;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { IntlShape } from 'react-intl-next';
|
|
2
2
|
import { QuickInsertItem, QuickInsertProvider } from '@atlaskit/editor-common/provider-factory';
|
|
3
|
+
export type { IconProps } from '@atlaskit/editor-common/types';
|
|
3
4
|
import { EmptyStateHandler } from '../../types/empty-state-handler';
|
|
4
5
|
export type { QuickInsertActionInsert, QuickInsertItem, QuickInsertProvider, } from '@atlaskit/editor-common/provider-factory';
|
|
5
6
|
export declare type QuickInsertOptions = boolean | {
|
|
6
7
|
provider: Promise<QuickInsertProvider>;
|
|
7
8
|
};
|
|
8
9
|
export declare type QuickInsertHandler = Array<QuickInsertItem> | ((intl: IntlShape) => Array<QuickInsertItem>);
|
|
9
|
-
export declare type IconProps = {
|
|
10
|
-
label?: string;
|
|
11
|
-
};
|
|
12
10
|
export declare type QuickInsertPluginState = {
|
|
13
11
|
isElementBrowserModalOpen: boolean;
|
|
14
12
|
lazyDefaultItems: () => QuickInsertItem[];
|
|
@@ -22,7 +22,6 @@ export declare const IconPanel: React.ComponentType<IconProps> & Loadable.Loadab
|
|
|
22
22
|
export declare const IconCustomPanel: React.ComponentType<IconProps> & Loadable.LoadableComponent;
|
|
23
23
|
export declare const IconQuote: React.ComponentType<IconProps> & Loadable.LoadableComponent;
|
|
24
24
|
export declare const IconStatus: React.ComponentType<IconProps> & Loadable.LoadableComponent;
|
|
25
|
-
export declare const IconTable: React.ComponentType<IconProps> & Loadable.LoadableComponent;
|
|
26
25
|
export declare const IconFallback: React.ComponentType<IconProps> & Loadable.LoadableComponent;
|
|
27
26
|
declare type HeadingProps = IconProps & {
|
|
28
27
|
level: HeadingLevels;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { IntlShape } from 'react-intl-next';
|
|
2
2
|
import { QuickInsertItem, QuickInsertProvider } from '@atlaskit/editor-common/provider-factory';
|
|
3
|
+
export type { IconProps } from '@atlaskit/editor-common/types';
|
|
3
4
|
import { EmptyStateHandler } from '../../types/empty-state-handler';
|
|
4
5
|
export type { QuickInsertActionInsert, QuickInsertItem, QuickInsertProvider, } from '@atlaskit/editor-common/provider-factory';
|
|
5
6
|
export declare type QuickInsertOptions = boolean | {
|
|
6
7
|
provider: Promise<QuickInsertProvider>;
|
|
7
8
|
};
|
|
8
9
|
export declare type QuickInsertHandler = Array<QuickInsertItem> | ((intl: IntlShape) => Array<QuickInsertItem>);
|
|
9
|
-
export declare type IconProps = {
|
|
10
|
-
label?: string;
|
|
11
|
-
};
|
|
12
10
|
export declare type QuickInsertPluginState = {
|
|
13
11
|
isElementBrowserModalOpen: boolean;
|
|
14
12
|
lazyDefaultItems: () => QuickInsertItem[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "172.
|
|
3
|
+
"version": "172.3.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@atlaskit/code": "^14.3.0",
|
|
49
49
|
"@atlaskit/date": "^0.9.0",
|
|
50
50
|
"@atlaskit/datetime-picker": "^12.2.0",
|
|
51
|
-
"@atlaskit/editor-common": "^69.
|
|
51
|
+
"@atlaskit/editor-common": "^69.4.0",
|
|
52
52
|
"@atlaskit/editor-json-transformer": "^8.8.0",
|
|
53
53
|
"@atlaskit/editor-markdown-transformer": "^4.1.0",
|
|
54
54
|
"@atlaskit/editor-shared-styles": "^2.2.0",
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
"@atlaskit/droplist": "^11.0.0",
|
|
152
152
|
"@atlaskit/editor-bitbucket-transformer": "^7.2.0",
|
|
153
153
|
"@atlaskit/editor-extension-dropbox": "^0.3.0",
|
|
154
|
-
"@atlaskit/editor-plugin-table": "^0.0.
|
|
154
|
+
"@atlaskit/editor-plugin-table": "^0.0.4",
|
|
155
155
|
"@atlaskit/editor-test-helpers": "^17.2.0",
|
|
156
156
|
"@atlaskit/flag": "^14.7.0",
|
|
157
157
|
"@atlaskit/inline-dialog": "^13.4.0",
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = IconTable;
|
|
9
|
-
|
|
10
|
-
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
|
-
function IconTable() {
|
|
13
|
-
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
14
|
-
focusable: "false",
|
|
15
|
-
"aria-hidden": true,
|
|
16
|
-
width: 40,
|
|
17
|
-
height: 40
|
|
18
|
-
}, /*#__PURE__*/_react.default.createElement("g", {
|
|
19
|
-
fill: "none",
|
|
20
|
-
fillRule: "evenodd"
|
|
21
|
-
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
-
fill: "#FFF",
|
|
23
|
-
d: "M0 0h40v40H0z"
|
|
24
|
-
}), /*#__PURE__*/_react.default.createElement("g", {
|
|
25
|
-
stroke: "#C1C7D0"
|
|
26
|
-
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
27
|
-
fill: "#FFF",
|
|
28
|
-
d: "M20 16h14v8H20z"
|
|
29
|
-
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
30
|
-
d: "M20 8h13a1 1 0 011 1v7H20V8z",
|
|
31
|
-
fill: "#DFE1E6"
|
|
32
|
-
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
33
|
-
d: "M20 24h14v7a1 1 0 01-1 1H20v-8zM6 16h14v8H6z",
|
|
34
|
-
fill: "#FFF"
|
|
35
|
-
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
36
|
-
d: "M7 8h13v8H6V9a1 1 0 011-1z",
|
|
37
|
-
fill: "#DFE1E6"
|
|
38
|
-
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
39
|
-
d: "M6 24h14v8H7a1 1 0 01-1-1v-7z",
|
|
40
|
-
fill: "#FFF"
|
|
41
|
-
}))));
|
|
42
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export default function IconTable() {
|
|
3
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
4
|
-
focusable: "false",
|
|
5
|
-
"aria-hidden": true,
|
|
6
|
-
width: 40,
|
|
7
|
-
height: 40
|
|
8
|
-
}, /*#__PURE__*/React.createElement("g", {
|
|
9
|
-
fill: "none",
|
|
10
|
-
fillRule: "evenodd"
|
|
11
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
12
|
-
fill: "#FFF",
|
|
13
|
-
d: "M0 0h40v40H0z"
|
|
14
|
-
}), /*#__PURE__*/React.createElement("g", {
|
|
15
|
-
stroke: "#C1C7D0"
|
|
16
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
17
|
-
fill: "#FFF",
|
|
18
|
-
d: "M20 16h14v8H20z"
|
|
19
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
20
|
-
d: "M20 8h13a1 1 0 011 1v7H20V8z",
|
|
21
|
-
fill: "#DFE1E6"
|
|
22
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
23
|
-
d: "M20 24h14v7a1 1 0 01-1 1H20v-8zM6 16h14v8H6z",
|
|
24
|
-
fill: "#FFF"
|
|
25
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
26
|
-
d: "M7 8h13v8H6V9a1 1 0 011-1z",
|
|
27
|
-
fill: "#DFE1E6"
|
|
28
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
29
|
-
d: "M6 24h14v8H7a1 1 0 01-1-1v-7z",
|
|
30
|
-
fill: "#FFF"
|
|
31
|
-
}))));
|
|
32
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export default function IconTable() {
|
|
3
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
4
|
-
focusable: "false",
|
|
5
|
-
"aria-hidden": true,
|
|
6
|
-
width: 40,
|
|
7
|
-
height: 40
|
|
8
|
-
}, /*#__PURE__*/React.createElement("g", {
|
|
9
|
-
fill: "none",
|
|
10
|
-
fillRule: "evenodd"
|
|
11
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
12
|
-
fill: "#FFF",
|
|
13
|
-
d: "M0 0h40v40H0z"
|
|
14
|
-
}), /*#__PURE__*/React.createElement("g", {
|
|
15
|
-
stroke: "#C1C7D0"
|
|
16
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
17
|
-
fill: "#FFF",
|
|
18
|
-
d: "M20 16h14v8H20z"
|
|
19
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
20
|
-
d: "M20 8h13a1 1 0 011 1v7H20V8z",
|
|
21
|
-
fill: "#DFE1E6"
|
|
22
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
23
|
-
d: "M20 24h14v7a1 1 0 01-1 1H20v-8zM6 16h14v8H6z",
|
|
24
|
-
fill: "#FFF"
|
|
25
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
26
|
-
d: "M7 8h13v8H6V9a1 1 0 011-1z",
|
|
27
|
-
fill: "#DFE1E6"
|
|
28
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
29
|
-
d: "M6 24h14v8H7a1 1 0 01-1-1v-7z",
|
|
30
|
-
fill: "#FFF"
|
|
31
|
-
}))));
|
|
32
|
-
}
|