@atlaskit/editor-plugin-find-replace 1.7.21 → 1.7.22

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,11 @@
1
1
  # @atlaskit/editor-plugin-find-replace
2
2
 
3
+ ## 1.7.22
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 1.7.21
4
10
 
5
11
  ### Patch Changes
@@ -21,7 +21,7 @@ var _keymaps = require("@atlaskit/editor-common/keymaps");
21
21
  var _messages = require("@atlaskit/editor-common/messages");
22
22
  var _uiMenu = require("@atlaskit/editor-common/ui-menu");
23
23
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
24
- var _search = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/search"));
24
+ var _search = _interopRequireDefault(require("@atlaskit/icon/core/migration/search"));
25
25
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
26
26
  var _FindReplace = _interopRequireDefault(require("./FindReplace"));
27
27
  var _templateObject;
@@ -151,7 +151,8 @@ var FindReplaceToolbarButton = /*#__PURE__*/function (_React$PureComponent) {
151
151
  keymap: keymap
152
152
  }),
153
153
  iconBefore: (0, _react2.jsx)(_search.default, {
154
- label: title
154
+ label: title,
155
+ spacing: "spacious"
155
156
  }),
156
157
  onClick: this.toggleOpen,
157
158
  "aria-expanded": isActive,
@@ -169,7 +170,8 @@ var FindReplaceToolbarButton = /*#__PURE__*/function (_React$PureComponent) {
169
170
  keymap: keymap
170
171
  }),
171
172
  iconBefore: (0, _react2.jsx)(_search.default, {
172
- label: title
173
+ label: title,
174
+ spacing: "spacious"
173
175
  }),
174
176
  onClick: this.toggleOpen,
175
177
  "aria-expanded": isActive,
@@ -90,7 +90,7 @@ var textFieldWrapper = exports.textFieldWrapper = (0, _react.css)({
90
90
  label: {
91
91
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
92
92
  fontSize: (0, _editorSharedStyles.relativeFontSizeToBase16)(14),
93
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
93
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/use-tokens-typography -- Ignored via go/DSP-18766
94
94
  lineHeight: "".concat(gridSize * 2, "px")
95
95
  }
96
96
  });
@@ -15,7 +15,7 @@ import { findKeymapByDescription, getAriaKeyshortcuts, tooltip, ToolTipContent }
15
15
  import { findReplaceMessages as messages } from '@atlaskit/editor-common/messages';
16
16
  import { ArrowKeyNavigationType, Dropdown, TOOLBAR_BUTTON, ToolbarButton } from '@atlaskit/editor-common/ui-menu';
17
17
  import { akEditorFloatingPanelZIndex, akEditorMobileMaxWidth } from '@atlaskit/editor-shared-styles';
18
- import EditorSearchIcon from '@atlaskit/icon/glyph/editor/search';
18
+ import SearchIcon from '@atlaskit/icon/core/migration/search';
19
19
  import { fg } from '@atlaskit/platform-feature-flags';
20
20
  import FindReplace from './FindReplace';
21
21
 
@@ -140,8 +140,9 @@ class FindReplaceToolbarButton extends React.PureComponent {
140
140
  description: title,
141
141
  keymap: keymap
142
142
  }),
143
- iconBefore: jsx(EditorSearchIcon, {
144
- label: title
143
+ iconBefore: jsx(SearchIcon, {
144
+ label: title,
145
+ spacing: "spacious"
145
146
  }),
146
147
  onClick: this.toggleOpen,
147
148
  "aria-expanded": isActive,
@@ -158,8 +159,9 @@ class FindReplaceToolbarButton extends React.PureComponent {
158
159
  description: title,
159
160
  keymap: keymap
160
161
  }),
161
- iconBefore: jsx(EditorSearchIcon, {
162
- label: title
162
+ iconBefore: jsx(SearchIcon, {
163
+ label: title,
164
+ spacing: "spacious"
163
165
  }),
164
166
  onClick: this.toggleOpen,
165
167
  "aria-expanded": isActive,
@@ -85,7 +85,7 @@ export const textFieldWrapper = css({
85
85
  label: {
86
86
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
87
87
  fontSize: relativeFontSizeToBase16(14),
88
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
88
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/use-tokens-typography -- Ignored via go/DSP-18766
89
89
  lineHeight: `${gridSize * 2}px`
90
90
  }
91
91
  });
@@ -24,7 +24,7 @@ import { findKeymapByDescription, getAriaKeyshortcuts, tooltip, ToolTipContent }
24
24
  import { findReplaceMessages as messages } from '@atlaskit/editor-common/messages';
25
25
  import { ArrowKeyNavigationType, Dropdown, TOOLBAR_BUTTON, ToolbarButton } from '@atlaskit/editor-common/ui-menu';
26
26
  import { akEditorFloatingPanelZIndex, akEditorMobileMaxWidth } from '@atlaskit/editor-shared-styles';
27
- import EditorSearchIcon from '@atlaskit/icon/glyph/editor/search';
27
+ import SearchIcon from '@atlaskit/icon/core/migration/search';
28
28
  import { fg } from '@atlaskit/platform-feature-flags';
29
29
  import FindReplace from './FindReplace';
30
30
 
@@ -145,8 +145,9 @@ var FindReplaceToolbarButton = /*#__PURE__*/function (_React$PureComponent) {
145
145
  description: title,
146
146
  keymap: keymap
147
147
  }),
148
- iconBefore: jsx(EditorSearchIcon, {
149
- label: title
148
+ iconBefore: jsx(SearchIcon, {
149
+ label: title,
150
+ spacing: "spacious"
150
151
  }),
151
152
  onClick: this.toggleOpen,
152
153
  "aria-expanded": isActive,
@@ -163,8 +164,9 @@ var FindReplaceToolbarButton = /*#__PURE__*/function (_React$PureComponent) {
163
164
  description: title,
164
165
  keymap: keymap
165
166
  }),
166
- iconBefore: jsx(EditorSearchIcon, {
167
- label: title
167
+ iconBefore: jsx(SearchIcon, {
168
+ label: title,
169
+ spacing: "spacious"
168
170
  }),
169
171
  onClick: this.toggleOpen,
170
172
  "aria-expanded": isActive,
@@ -85,7 +85,7 @@ export var textFieldWrapper = css({
85
85
  label: {
86
86
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
87
87
  fontSize: relativeFontSizeToBase16(14),
88
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
88
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/use-tokens-typography -- Ignored via go/DSP-18766
89
89
  lineHeight: "".concat(gridSize * 2, "px")
90
90
  }
91
91
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-find-replace",
3
- "version": "1.7.21",
3
+ "version": "1.7.22",
4
4
  "description": "find replace plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,18 +33,18 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@atlaskit/button": "^20.3.0",
36
- "@atlaskit/editor-common": "^98.0.0",
36
+ "@atlaskit/editor-common": "^99.0.0",
37
37
  "@atlaskit/editor-plugin-analytics": "^1.10.0",
38
38
  "@atlaskit/editor-plugin-primary-toolbar": "^2.1.0",
39
39
  "@atlaskit/editor-prosemirror": "6.2.1",
40
40
  "@atlaskit/editor-shared-styles": "^3.2.0",
41
41
  "@atlaskit/form": "^11.0.0",
42
- "@atlaskit/icon": "^23.1.0",
42
+ "@atlaskit/icon": "^23.3.0",
43
43
  "@atlaskit/platform-feature-flags": "^0.3.0",
44
44
  "@atlaskit/primitives": "^13.3.0",
45
45
  "@atlaskit/textfield": "^6.7.0",
46
46
  "@atlaskit/theme": "^14.0.0",
47
- "@atlaskit/tokens": "^2.5.0",
47
+ "@atlaskit/tokens": "^3.0.0",
48
48
  "@atlaskit/tooltip": "^19.0.0",
49
49
  "@babel/runtime": "^7.0.0",
50
50
  "@emotion/react": "^11.7.1",