@atlaskit/editor-plugin-table 23.0.1 → 23.0.3
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 +14 -0
- package/dist/cjs/ui/TableMenu/column/items/SortDecreasingItem.js +1 -2
- package/dist/cjs/ui/TableMenu/column/items/SortIncreasingItem.js +1 -2
- package/dist/es2019/ui/TableMenu/column/items/SortDecreasingItem.js +2 -3
- package/dist/es2019/ui/TableMenu/column/items/SortIncreasingItem.js +2 -3
- package/dist/esm/ui/TableMenu/column/items/SortDecreasingItem.js +2 -3
- package/dist/esm/ui/TableMenu/column/items/SortIncreasingItem.js +2 -3
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 23.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 23.0.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`84066f0a13142`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/84066f0a13142) -
|
|
14
|
+
Update table sort icons
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 23.0.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -39,8 +39,7 @@ var SortDecreasingItem = exports.SortDecreasingItem = function SortDecreasingIte
|
|
|
39
39
|
return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarDropdownItem, {
|
|
40
40
|
onClick: handleClick,
|
|
41
41
|
isDisabled: Boolean(tableMenuContext === null || tableMenuContext === void 0 ? void 0 : tableMenuContext.hasMergedCellsInTable),
|
|
42
|
-
elemBefore: /*#__PURE__*/_react.default.createElement(_editorToolbar.
|
|
43
|
-
color: "currentColor",
|
|
42
|
+
elemBefore: /*#__PURE__*/_react.default.createElement(_editorToolbar.SortDescendingIcon, {
|
|
44
43
|
label: "",
|
|
45
44
|
size: "small"
|
|
46
45
|
})
|
|
@@ -39,8 +39,7 @@ var SortIncreasingItem = exports.SortIncreasingItem = function SortIncreasingIte
|
|
|
39
39
|
return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarDropdownItem, {
|
|
40
40
|
onClick: handleClick,
|
|
41
41
|
isDisabled: Boolean(tableMenuContext === null || tableMenuContext === void 0 ? void 0 : tableMenuContext.hasMergedCellsInTable),
|
|
42
|
-
elemBefore: /*#__PURE__*/_react.default.createElement(_editorToolbar.
|
|
43
|
-
color: "currentColor",
|
|
42
|
+
elemBefore: /*#__PURE__*/_react.default.createElement(_editorToolbar.SortAscendingIcon, {
|
|
44
43
|
label: "",
|
|
45
44
|
size: "small"
|
|
46
45
|
})
|
|
@@ -4,7 +4,7 @@ import { TableSortOrder as SortOrder } from '@atlaskit/custom-steps';
|
|
|
4
4
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
5
5
|
import { tableMessages as messages } from '@atlaskit/editor-common/messages';
|
|
6
6
|
import { getSelectionRect } from '@atlaskit/editor-tables/utils';
|
|
7
|
-
import {
|
|
7
|
+
import { SortDescendingIcon, ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
|
|
8
8
|
import { closeActiveTableMenu } from '../../../../pm-plugins/commands';
|
|
9
9
|
import { sortColumnWithAnalytics } from '../../../../pm-plugins/commands/commands-with-analytics';
|
|
10
10
|
import { useTableMenuContext } from '../../shared/TableMenuContext';
|
|
@@ -35,8 +35,7 @@ export const SortDecreasingItem = ({
|
|
|
35
35
|
return /*#__PURE__*/React.createElement(ToolbarDropdownItem, {
|
|
36
36
|
onClick: handleClick,
|
|
37
37
|
isDisabled: Boolean(tableMenuContext === null || tableMenuContext === void 0 ? void 0 : tableMenuContext.hasMergedCellsInTable),
|
|
38
|
-
elemBefore: /*#__PURE__*/React.createElement(
|
|
39
|
-
color: "currentColor",
|
|
38
|
+
elemBefore: /*#__PURE__*/React.createElement(SortDescendingIcon, {
|
|
40
39
|
label: "",
|
|
41
40
|
size: "small"
|
|
42
41
|
})
|
|
@@ -4,7 +4,7 @@ import { TableSortOrder as SortOrder } from '@atlaskit/custom-steps';
|
|
|
4
4
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
5
5
|
import { tableMessages as messages } from '@atlaskit/editor-common/messages';
|
|
6
6
|
import { getSelectionRect } from '@atlaskit/editor-tables/utils';
|
|
7
|
-
import {
|
|
7
|
+
import { SortAscendingIcon, ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
|
|
8
8
|
import { closeActiveTableMenu } from '../../../../pm-plugins/commands';
|
|
9
9
|
import { sortColumnWithAnalytics } from '../../../../pm-plugins/commands/commands-with-analytics';
|
|
10
10
|
import { useTableMenuContext } from '../../shared/TableMenuContext';
|
|
@@ -35,8 +35,7 @@ export const SortIncreasingItem = ({
|
|
|
35
35
|
return /*#__PURE__*/React.createElement(ToolbarDropdownItem, {
|
|
36
36
|
onClick: handleClick,
|
|
37
37
|
isDisabled: Boolean(tableMenuContext === null || tableMenuContext === void 0 ? void 0 : tableMenuContext.hasMergedCellsInTable),
|
|
38
|
-
elemBefore: /*#__PURE__*/React.createElement(
|
|
39
|
-
color: "currentColor",
|
|
38
|
+
elemBefore: /*#__PURE__*/React.createElement(SortAscendingIcon, {
|
|
40
39
|
label: "",
|
|
41
40
|
size: "small"
|
|
42
41
|
})
|
|
@@ -4,7 +4,7 @@ import { TableSortOrder as SortOrder } from '@atlaskit/custom-steps';
|
|
|
4
4
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
5
5
|
import { tableMessages as messages } from '@atlaskit/editor-common/messages';
|
|
6
6
|
import { getSelectionRect } from '@atlaskit/editor-tables/utils';
|
|
7
|
-
import {
|
|
7
|
+
import { SortDescendingIcon, ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
|
|
8
8
|
import { closeActiveTableMenu } from '../../../../pm-plugins/commands';
|
|
9
9
|
import { sortColumnWithAnalytics } from '../../../../pm-plugins/commands/commands-with-analytics';
|
|
10
10
|
import { useTableMenuContext } from '../../shared/TableMenuContext';
|
|
@@ -32,8 +32,7 @@ export var SortDecreasingItem = function SortDecreasingItem(_ref) {
|
|
|
32
32
|
return /*#__PURE__*/React.createElement(ToolbarDropdownItem, {
|
|
33
33
|
onClick: handleClick,
|
|
34
34
|
isDisabled: Boolean(tableMenuContext === null || tableMenuContext === void 0 ? void 0 : tableMenuContext.hasMergedCellsInTable),
|
|
35
|
-
elemBefore: /*#__PURE__*/React.createElement(
|
|
36
|
-
color: "currentColor",
|
|
35
|
+
elemBefore: /*#__PURE__*/React.createElement(SortDescendingIcon, {
|
|
37
36
|
label: "",
|
|
38
37
|
size: "small"
|
|
39
38
|
})
|
|
@@ -4,7 +4,7 @@ import { TableSortOrder as SortOrder } from '@atlaskit/custom-steps';
|
|
|
4
4
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
5
5
|
import { tableMessages as messages } from '@atlaskit/editor-common/messages';
|
|
6
6
|
import { getSelectionRect } from '@atlaskit/editor-tables/utils';
|
|
7
|
-
import {
|
|
7
|
+
import { SortAscendingIcon, ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
|
|
8
8
|
import { closeActiveTableMenu } from '../../../../pm-plugins/commands';
|
|
9
9
|
import { sortColumnWithAnalytics } from '../../../../pm-plugins/commands/commands-with-analytics';
|
|
10
10
|
import { useTableMenuContext } from '../../shared/TableMenuContext';
|
|
@@ -32,8 +32,7 @@ export var SortIncreasingItem = function SortIncreasingItem(_ref) {
|
|
|
32
32
|
return /*#__PURE__*/React.createElement(ToolbarDropdownItem, {
|
|
33
33
|
onClick: handleClick,
|
|
34
34
|
isDisabled: Boolean(tableMenuContext === null || tableMenuContext === void 0 ? void 0 : tableMenuContext.hasMergedCellsInTable),
|
|
35
|
-
elemBefore: /*#__PURE__*/React.createElement(
|
|
36
|
-
color: "currentColor",
|
|
35
|
+
elemBefore: /*#__PURE__*/React.createElement(SortAscendingIcon, {
|
|
37
36
|
label: "",
|
|
38
37
|
size: "small"
|
|
39
38
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "23.0.
|
|
3
|
+
"version": "23.0.3",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@atlaskit/editor-plugin-batch-attribute-updates": "^11.0.0",
|
|
38
38
|
"@atlaskit/editor-plugin-content-insertion": "^11.0.0",
|
|
39
39
|
"@atlaskit/editor-plugin-editor-viewmode": "^13.0.0",
|
|
40
|
-
"@atlaskit/editor-plugin-extension": "14.0.
|
|
40
|
+
"@atlaskit/editor-plugin-extension": "14.0.1",
|
|
41
41
|
"@atlaskit/editor-plugin-guideline": "^11.0.0",
|
|
42
42
|
"@atlaskit/editor-plugin-interaction": "^20.0.0",
|
|
43
43
|
"@atlaskit/editor-plugin-limited-mode": "^8.0.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
50
50
|
"@atlaskit/editor-shared-styles": "^3.11.0",
|
|
51
51
|
"@atlaskit/editor-tables": "^2.10.0",
|
|
52
|
-
"@atlaskit/editor-toolbar": "^1.
|
|
52
|
+
"@atlaskit/editor-toolbar": "^1.10.0",
|
|
53
53
|
"@atlaskit/editor-ui-control-model": "^1.2.0",
|
|
54
54
|
"@atlaskit/icon": "^35.4.0",
|
|
55
55
|
"@atlaskit/icon-lab": "^6.13.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^2.1.0",
|
|
61
61
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.2.0",
|
|
62
62
|
"@atlaskit/primitives": "^19.0.0",
|
|
63
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
63
|
+
"@atlaskit/tmp-editor-statsig": "^89.0.0",
|
|
64
64
|
"@atlaskit/toggle": "^16.1.0",
|
|
65
65
|
"@atlaskit/tokens": "^13.1.0",
|
|
66
66
|
"@atlaskit/tooltip": "^22.6.0",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"uuid": "^3.1.0"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
|
-
"@atlaskit/editor-common": "^115.
|
|
78
|
+
"@atlaskit/editor-common": "^115.2.0",
|
|
79
79
|
"react": "^18.2.0",
|
|
80
80
|
"react-dom": "^18.2.0",
|
|
81
81
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|