@atlaskit/editor-plugin-find-replace 6.0.7 → 6.0.9

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,19 @@
1
1
  # @atlaskit/editor-plugin-find-replace
2
2
 
3
+ ## 6.0.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [`6dca69f45fa7f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6dca69f45fa7f) -
8
+ [ED-29493] clean up references to platform_editor_find_replace_a11y_fixes
9
+ - Updated dependencies
10
+
11
+ ## 6.0.8
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 6.0.7
4
18
 
5
19
  ### Patch Changes
@@ -144,7 +144,7 @@ var Find = /*#__PURE__*/function (_React$Component) {
144
144
  return (0, _expValEquals.expValEquals)('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? (0, _react2.jsx)(_textLetterCase.default, {
145
145
  LEGACY_size: 'small',
146
146
  LEGACY_fallbackIcon: _textStyle.default,
147
- label: (0, _expValEquals.expValEquals)('platform_editor_find_replace_a11y_fixes', 'isEnabled', true) ? iconProps.label : _this.matchCase,
147
+ label: iconProps.label,
148
148
  size: "small"
149
149
  }) : (0, _react2.jsx)(_textStyleEmojiKeyboard.default, {
150
150
  LEGACY_size: 'small',
@@ -124,9 +124,9 @@ var FindReplace = /*#__PURE__*/function (_React$PureComponent) {
124
124
  onToggleMatchCase = _this$props.onToggleMatchCase;
125
125
  var focusToolbarButton = this.props.focusToolbarButton || function () {};
126
126
  return (0, _react2.jsx)("div", {
127
- role: (0, _expValEquals.expValEquals)('platform_editor_find_replace_a11y_fixes', 'isEnabled', true) ? 'dialog' : undefined,
128
- "aria-label": (0, _expValEquals.expValEquals)('platform_editor_find_replace_a11y_fixes', 'isEnabled', true) ? 'Find and Replace' : undefined,
129
- "aria-modal": (0, _expValEquals.expValEquals)('platform_editor_find_replace_a11y_fixes', 'isEnabled', true) ? false : undefined,
127
+ role: 'dialog',
128
+ "aria-label": 'Find and Replace',
129
+ "aria-modal": false,
130
130
  ref: this.modalRef
131
131
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
132
132
  ,
@@ -132,7 +132,7 @@ class Find extends React.Component {
132
132
  return expValEquals('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? jsx(TextLetterCaseIcon, {
133
133
  LEGACY_size: 'small',
134
134
  LEGACY_fallbackIcon: EditorTextStyleIcon,
135
- label: expValEquals('platform_editor_find_replace_a11y_fixes', 'isEnabled', true) ? iconProps.label : this.matchCase,
135
+ label: iconProps.label,
136
136
  size: "small"
137
137
  }) : jsx(MatchCaseIcon, {
138
138
  LEGACY_size: 'small',
@@ -102,9 +102,9 @@ class FindReplace extends React.PureComponent {
102
102
  } = this.props;
103
103
  const focusToolbarButton = this.props.focusToolbarButton || (() => {});
104
104
  return jsx("div", {
105
- role: expValEquals('platform_editor_find_replace_a11y_fixes', 'isEnabled', true) ? 'dialog' : undefined,
106
- "aria-label": expValEquals('platform_editor_find_replace_a11y_fixes', 'isEnabled', true) ? 'Find and Replace' : undefined,
107
- "aria-modal": expValEquals('platform_editor_find_replace_a11y_fixes', 'isEnabled', true) ? false : undefined,
105
+ role: 'dialog',
106
+ "aria-label": 'Find and Replace',
107
+ "aria-modal": false,
108
108
  ref: this.modalRef
109
109
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
110
110
  ,
@@ -141,7 +141,7 @@ var Find = /*#__PURE__*/function (_React$Component) {
141
141
  return expValEquals('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? jsx(TextLetterCaseIcon, {
142
142
  LEGACY_size: 'small',
143
143
  LEGACY_fallbackIcon: EditorTextStyleIcon,
144
- label: expValEquals('platform_editor_find_replace_a11y_fixes', 'isEnabled', true) ? iconProps.label : _this.matchCase,
144
+ label: iconProps.label,
145
145
  size: "small"
146
146
  }) : jsx(MatchCaseIcon, {
147
147
  LEGACY_size: 'small',
@@ -122,9 +122,9 @@ var FindReplace = /*#__PURE__*/function (_React$PureComponent) {
122
122
  onToggleMatchCase = _this$props.onToggleMatchCase;
123
123
  var focusToolbarButton = this.props.focusToolbarButton || function () {};
124
124
  return jsx("div", {
125
- role: expValEquals('platform_editor_find_replace_a11y_fixes', 'isEnabled', true) ? 'dialog' : undefined,
126
- "aria-label": expValEquals('platform_editor_find_replace_a11y_fixes', 'isEnabled', true) ? 'Find and Replace' : undefined,
127
- "aria-modal": expValEquals('platform_editor_find_replace_a11y_fixes', 'isEnabled', true) ? false : undefined,
125
+ role: 'dialog',
126
+ "aria-label": 'Find and Replace',
127
+ "aria-modal": false,
128
128
  ref: this.modalRef
129
129
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
130
130
  ,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-find-replace",
3
- "version": "6.0.7",
3
+ "version": "6.0.9",
4
4
  "description": "find replace plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -35,16 +35,16 @@
35
35
  "@atlaskit/editor-plugin-mentions": "^8.2.0",
36
36
  "@atlaskit/editor-plugin-primary-toolbar": "^7.0.0",
37
37
  "@atlaskit/editor-prosemirror": "7.0.0",
38
- "@atlaskit/editor-shared-styles": "^3.8.0",
38
+ "@atlaskit/editor-shared-styles": "^3.9.0",
39
39
  "@atlaskit/form": "^14.2.0",
40
- "@atlaskit/icon": "^28.5.0",
41
- "@atlaskit/icon-lab": "^5.11.0",
40
+ "@atlaskit/icon": "^29.0.0",
41
+ "@atlaskit/icon-lab": "^5.12.0",
42
42
  "@atlaskit/mention": "^24.4.0",
43
43
  "@atlaskit/platform-feature-flags": "^1.1.0",
44
44
  "@atlaskit/primitives": "^16.1.0",
45
45
  "@atlaskit/textfield": "^8.0.0",
46
46
  "@atlaskit/theme": "^21.0.0",
47
- "@atlaskit/tmp-editor-statsig": "^13.32.0",
47
+ "@atlaskit/tmp-editor-statsig": "^13.36.0",
48
48
  "@atlaskit/tokens": "^8.0.0",
49
49
  "@atlaskit/tooltip": "^20.8.0",
50
50
  "@babel/runtime": "^7.0.0",
@@ -64,7 +64,7 @@
64
64
  "react-dom": "^18.2.0"
65
65
  },
66
66
  "peerDependencies": {
67
- "@atlaskit/editor-common": "^110.24.0",
67
+ "@atlaskit/editor-common": "^110.27.0",
68
68
  "react": "^18.2.0",
69
69
  "react-intl-next": "npm:react-intl@^5.18.1"
70
70
  },