@atlaskit/editor-plugin-find-replace 1.4.1 → 1.4.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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # @atlaskit/editor-plugin-find-replace
2
2
 
3
+ ## 1.4.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#121978](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/121978)
8
+ [`740b45d7d559f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/740b45d7d559f) -
9
+ [ux] Removing the `id` from the editor toolbar button as it does not meet accessibility
10
+ compliance. Updating cases where it was used. These buttons can be referenced better via their
11
+ role or data test id.
12
+
13
+ ## 1.4.2
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+
3
19
  ## 1.4.1
4
20
 
5
21
  ### Patch Changes
@@ -124,6 +124,7 @@ var FindReplaceToolbarButton = /*#__PURE__*/function (_React$PureComponent) {
124
124
  },
125
125
  trigger: (0, _react2.jsx)(_uiMenu.ToolbarButton, {
126
126
  buttonId: _uiMenu.TOOLBAR_BUTTON.FIND_REPLACE,
127
+ testId: "editor-toolbar__".concat(_uiMenu.TOOLBAR_BUTTON.FIND_REPLACE),
127
128
  spacing: isReducedSpacing ? 'none' : 'default',
128
129
  selected: isActive,
129
130
  title: (0, _react2.jsx)(_keymaps.ToolTipContent, {
@@ -112,6 +112,7 @@ class FindReplaceToolbarButton extends React.PureComponent {
112
112
  },
113
113
  trigger: jsx(ToolbarButton, {
114
114
  buttonId: TOOLBAR_BUTTON.FIND_REPLACE,
115
+ testId: `editor-toolbar__${TOOLBAR_BUTTON.FIND_REPLACE}`,
115
116
  spacing: isReducedSpacing ? 'none' : 'default',
116
117
  selected: isActive,
117
118
  title: jsx(ToolTipContent, {
@@ -119,6 +119,7 @@ var FindReplaceToolbarButton = /*#__PURE__*/function (_React$PureComponent) {
119
119
  },
120
120
  trigger: jsx(ToolbarButton, {
121
121
  buttonId: TOOLBAR_BUTTON.FIND_REPLACE,
122
+ testId: "editor-toolbar__".concat(TOOLBAR_BUTTON.FIND_REPLACE),
122
123
  spacing: isReducedSpacing ? 'none' : 'default',
123
124
  selected: isActive,
124
125
  title: jsx(ToolTipContent, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-find-replace",
3
- "version": "1.4.1",
3
+ "version": "1.4.3",
4
4
  "description": "find replace plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,8 +34,8 @@
34
34
  "./styles": "./src/styles.ts"
35
35
  },
36
36
  "dependencies": {
37
- "@atlaskit/button": "^18.4.0",
38
- "@atlaskit/editor-common": "^86.0.0",
37
+ "@atlaskit/button": "^19.0.0",
38
+ "@atlaskit/editor-common": "^86.3.0",
39
39
  "@atlaskit/editor-plugin-analytics": "^1.4.0",
40
40
  "@atlaskit/editor-plugin-primary-toolbar": "^1.2.0",
41
41
  "@atlaskit/editor-prosemirror": "4.0.1",
@@ -45,7 +45,7 @@
45
45
  "@atlaskit/primitives": "^11.0.0",
46
46
  "@atlaskit/textfield": "^6.4.0",
47
47
  "@atlaskit/theme": "^12.11.0",
48
- "@atlaskit/tokens": "^1.55.0",
48
+ "@atlaskit/tokens": "^1.56.0",
49
49
  "@atlaskit/tooltip": "^18.5.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1",