@atlaskit/editor-plugin-table 23.0.1 → 23.0.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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/editor-plugin-table
2
2
 
3
+ ## 23.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`84066f0a13142`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/84066f0a13142) -
8
+ Update table sort icons
9
+ - Updated dependencies
10
+
3
11
  ## 23.0.1
4
12
 
5
13
  ### 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.ArrowDownIcon, {
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.ArrowUpIcon, {
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 { ArrowDownIcon, ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
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(ArrowDownIcon, {
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 { ArrowUpIcon, ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
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(ArrowUpIcon, {
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 { ArrowDownIcon, ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
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(ArrowDownIcon, {
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 { ArrowUpIcon, ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
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(ArrowUpIcon, {
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.1",
3
+ "version": "23.0.2",
4
4
  "description": "Table plugin for the @atlaskit/editor",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -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.9.0",
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",
@@ -75,7 +75,7 @@
75
75
  "uuid": "^3.1.0"
76
76
  },
77
77
  "peerDependencies": {
78
- "@atlaskit/editor-common": "^115.0.0",
78
+ "@atlaskit/editor-common": "^115.1.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"