@atlaskit/editor-plugin-table 14.0.2 → 14.1.1
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,24 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 14.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`99f67e6caf2b2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/99f67e6caf2b2) -
|
|
8
|
+
Add aria-label to table floating insert buttons to address button-name A11Y violation
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 14.1.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [`64ec65231b4cf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/64ec65231b4cf) -
|
|
16
|
+
EDITOR-1568 bump adf-schema for afm
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 14.0.2
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -14,6 +14,7 @@ var _messages = require("@atlaskit/editor-common/messages");
|
|
|
14
14
|
var _styles = require("@atlaskit/editor-common/styles");
|
|
15
15
|
var _utils = require("@atlaskit/editor-common/utils");
|
|
16
16
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
17
|
+
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
17
18
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
18
19
|
var _types = require("../../types");
|
|
19
20
|
var _consts = require("../consts");
|
|
@@ -144,7 +145,8 @@ var InsertButton = function InsertButton(_ref3) {
|
|
|
144
145
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
145
146
|
,
|
|
146
147
|
className: _types.TableCssClassName.CONTROLS_INSERT_BUTTON,
|
|
147
|
-
onMouseDown: onMouseDown
|
|
148
|
+
onMouseDown: onMouseDown,
|
|
149
|
+
"aria-label": (0, _expValEquals.expValEquals)('platform_editor_fix_button_name_violation_in_table', 'isEnabled', true) ? formatMessage(tooltipMessageByType(type)) : undefined
|
|
148
150
|
}, /*#__PURE__*/_react.default.createElement("svg", {
|
|
149
151
|
className: _types.TableCssClassName.CONTROLS_BUTTON_ICON
|
|
150
152
|
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
@@ -8,6 +8,7 @@ import { tableMessages as messages } from '@atlaskit/editor-common/messages';
|
|
|
8
8
|
import { tableMarginTop } from '@atlaskit/editor-common/styles';
|
|
9
9
|
import { closestElement } from '@atlaskit/editor-common/utils';
|
|
10
10
|
import { akEditorTableNumberColumnWidth } from '@atlaskit/editor-shared-styles';
|
|
11
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
11
12
|
import Tooltip from '@atlaskit/tooltip';
|
|
12
13
|
import { TableCssClassName as ClassName } from '../../types';
|
|
13
14
|
import { tableToolbarSize } from '../consts';
|
|
@@ -149,7 +150,8 @@ const InsertButton = ({
|
|
|
149
150
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
150
151
|
,
|
|
151
152
|
className: ClassName.CONTROLS_INSERT_BUTTON,
|
|
152
|
-
onMouseDown: onMouseDown
|
|
153
|
+
onMouseDown: onMouseDown,
|
|
154
|
+
"aria-label": expValEquals('platform_editor_fix_button_name_violation_in_table', 'isEnabled', true) ? formatMessage(tooltipMessageByType(type)) : undefined
|
|
153
155
|
}, /*#__PURE__*/React.createElement("svg", {
|
|
154
156
|
className: ClassName.CONTROLS_BUTTON_ICON
|
|
155
157
|
}, /*#__PURE__*/React.createElement("path", {
|
|
@@ -9,6 +9,7 @@ import { tableMessages as messages } from '@atlaskit/editor-common/messages';
|
|
|
9
9
|
import { tableMarginTop } from '@atlaskit/editor-common/styles';
|
|
10
10
|
import { closestElement } from '@atlaskit/editor-common/utils';
|
|
11
11
|
import { akEditorTableNumberColumnWidth } from '@atlaskit/editor-shared-styles';
|
|
12
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
12
13
|
import Tooltip from '@atlaskit/tooltip';
|
|
13
14
|
import { TableCssClassName as ClassName } from '../../types';
|
|
14
15
|
import { tableToolbarSize } from '../consts';
|
|
@@ -137,7 +138,8 @@ var InsertButton = function InsertButton(_ref3) {
|
|
|
137
138
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
138
139
|
,
|
|
139
140
|
className: ClassName.CONTROLS_INSERT_BUTTON,
|
|
140
|
-
onMouseDown: onMouseDown
|
|
141
|
+
onMouseDown: onMouseDown,
|
|
142
|
+
"aria-label": expValEquals('platform_editor_fix_button_name_violation_in_table', 'isEnabled', true) ? formatMessage(tooltipMessageByType(type)) : undefined
|
|
141
143
|
}, /*#__PURE__*/React.createElement("svg", {
|
|
142
144
|
className: ClassName.CONTROLS_BUTTON_ICON
|
|
143
145
|
}, /*#__PURE__*/React.createElement("path", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.1.1",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
"singleton": true
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@atlaskit/adf-schema": "^51.
|
|
31
|
+
"@atlaskit/adf-schema": "^51.1.1",
|
|
32
32
|
"@atlaskit/button": "^23.4.0",
|
|
33
|
-
"@atlaskit/custom-steps": "^0.
|
|
33
|
+
"@atlaskit/custom-steps": "^0.12.0",
|
|
34
34
|
"@atlaskit/editor-palette": "^2.1.0",
|
|
35
35
|
"@atlaskit/editor-plugin-accessibility-utils": "^5.0.0",
|
|
36
|
-
"@atlaskit/editor-plugin-analytics": "^5.
|
|
37
|
-
"@atlaskit/editor-plugin-batch-attribute-updates": "^5.
|
|
36
|
+
"@atlaskit/editor-plugin-analytics": "^5.1.0",
|
|
37
|
+
"@atlaskit/editor-plugin-batch-attribute-updates": "^5.1.0",
|
|
38
38
|
"@atlaskit/editor-plugin-content-insertion": "^5.0.0",
|
|
39
39
|
"@atlaskit/editor-plugin-editor-viewmode": "^7.0.0",
|
|
40
|
-
"@atlaskit/editor-plugin-extension": "8.0
|
|
40
|
+
"@atlaskit/editor-plugin-extension": "8.1.0",
|
|
41
41
|
"@atlaskit/editor-plugin-guideline": "^5.0.0",
|
|
42
42
|
"@atlaskit/editor-plugin-interaction": "^7.0.0",
|
|
43
43
|
"@atlaskit/editor-plugin-limited-mode": "^2.0.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@atlaskit/primitives": "^14.14.0",
|
|
60
60
|
"@atlaskit/react-ufo": "^4.6.0",
|
|
61
61
|
"@atlaskit/theme": "^21.0.0",
|
|
62
|
-
"@atlaskit/tmp-editor-statsig": "^12.
|
|
62
|
+
"@atlaskit/tmp-editor-statsig": "^12.16.0",
|
|
63
63
|
"@atlaskit/toggle": "^15.1.0",
|
|
64
64
|
"@atlaskit/tokens": "^6.3.0",
|
|
65
65
|
"@atlaskit/tooltip": "^20.4.0",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"uuid": "^3.1.0"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
75
|
-
"@atlaskit/editor-common": "^109.
|
|
75
|
+
"@atlaskit/editor-common": "^109.3.0",
|
|
76
76
|
"react": "^18.2.0",
|
|
77
77
|
"react-dom": "^18.2.0",
|
|
78
78
|
"react-intl-next": "npm:react-intl@^5.18.1"
|