@atlaskit/editor-plugin-find-replace 1.2.9 → 1.3.0

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.
@@ -17,14 +17,10 @@ import { injectIntl } from 'react-intl-next';
17
17
  import { TRIGGER_METHOD } from '@atlaskit/editor-common/analytics';
18
18
  import { findReplaceMessages as messages } from '@atlaskit/editor-common/messages';
19
19
  import { Label } from '@atlaskit/form';
20
- import EditorCloseIcon from '@atlaskit/icon/glyph/editor/close';
21
20
  import MatchCaseIcon from '@atlaskit/icon/glyph/emoji/keyboard';
22
- import ChevronDownIcon from '@atlaskit/icon/glyph/hipchat/chevron-down';
23
- import ChevronUpIcon from '@atlaskit/icon/glyph/hipchat/chevron-up';
24
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
25
21
  import Textfield from '@atlaskit/textfield';
26
22
  import { FindReplaceTooltipButton } from './FindReplaceTooltipButton';
27
- import { afterInputSection, countStyles, countStylesAlternateStyles, countWrapperStyles, matchCaseSection, sectionWrapperStyles, sectionWrapperStylesAlternate, textFieldWrapper } from './styles';
23
+ import { afterInputSection, countStyles, countStylesAlternateStyles, matchCaseSection, sectionWrapperStyles, sectionWrapperStylesAlternate, textFieldWrapper } from './styles';
28
24
  export var FIND_DEBOUNCE_MS = 100;
29
25
  // eslint-disable-next-line @repo/internal/react/no-class-components
30
26
  var Find = /*#__PURE__*/function (_React$Component) {
@@ -137,10 +133,7 @@ var Find = /*#__PURE__*/function (_React$Component) {
137
133
  });
138
134
  var formatMessage = props.intl.formatMessage;
139
135
  _this.find = formatMessage(messages.find);
140
- _this.closeFindReplaceDialog = formatMessage(messages.closeFindReplaceDialog);
141
136
  _this.noResultsFound = formatMessage(messages.noResultsFound);
142
- _this.findNext = formatMessage(messages.findNext);
143
- _this.findPrevious = formatMessage(messages.findPrevious);
144
137
  _this.matchCase = formatMessage(messages.matchCase);
145
138
 
146
139
  // We locally manage the value of the input inside this component in order to support compositions.
@@ -204,97 +197,46 @@ var Find = /*#__PURE__*/function (_React$Component) {
204
197
  selectedMatchPosition: count.index + 1,
205
198
  totalResultsCount: count.total
206
199
  });
207
- if (getBooleanFF('platform.editor.a11y-find-replace')) {
208
- var elemAfterInput = jsx("div", {
209
- css: afterInputSection
210
- }, jsx("div", {
211
- "aria-live": "polite"
212
- }, findText && jsx("span", {
213
- "data-testid": "textfield-count",
214
- css: [countStyles, countStylesAlternateStyles]
215
- }, count.total === 0 ? this.noResultsFound : resultsCount)), jsx("div", {
216
- css: matchCaseSection
217
- }, jsx(FindReplaceTooltipButton, {
218
- title: this.matchCase,
219
- appearance: "default",
220
- icon: MatchCaseIcon,
221
- iconLabel: this.matchCase,
222
- iconSize: getBooleanFF('platform.editor.a11y-find-replace') ? 'small' : undefined,
223
- onClick: this.handleMatchCaseClick,
224
- isPressed: shouldMatchCase
225
- })));
226
- return jsx("div", {
227
- css: [sectionWrapperStyles, sectionWrapperStylesAlternate]
228
- }, jsx("div", {
229
- css: textFieldWrapper
230
- }, jsx(Label, {
231
- htmlFor: "find-text-field"
232
- }, this.find), jsx(Textfield, {
233
- name: "find",
234
- id: "find-text-field",
235
- appearance: "standard",
236
- value: this.state.localFindText,
237
- ref: this.findTextfieldRef,
238
- autoComplete: "off",
239
- onChange: this.handleFindChange,
240
- onKeyDown: this.handleFindKeyDown,
241
- onKeyUp: this.handleFindKeyUp,
242
- onBlur: this.props.onFindBlur,
243
- onCompositionStart: this.handleCompositionStart,
244
- onCompositionEnd: this.handleCompositionEnd,
245
- elemAfterInput: elemAfterInput
246
- })));
247
- } else {
248
- return jsx("div", {
249
- css: sectionWrapperStyles
250
- }, jsx(Textfield, {
251
- name: "find",
252
- appearance: "none",
253
- placeholder: this.find,
254
- value: this.state.localFindText,
255
- ref: this.findTextfieldRef,
256
- autoComplete: "off",
257
- onChange: this.handleFindChange,
258
- onKeyDown: this.handleFindKeyDown,
259
- onKeyUp: this.handleFindKeyUp,
260
- onBlur: this.props.onFindBlur,
261
- onCompositionStart: this.handleCompositionStart,
262
- onCompositionEnd: this.handleCompositionEnd
263
- }), jsx("div", {
264
- css: countWrapperStyles,
265
- "aria-live": "polite"
266
- }, findText && jsx("span", {
267
- "data-testid": "textfield-count",
268
- css: countStyles
269
- }, count.total === 0 ? this.noResultsFound : resultsCount)), jsx(FindReplaceTooltipButton, {
270
- title: this.matchCase,
271
- icon: MatchCaseIcon,
272
- iconLabel: this.matchCase,
273
- iconSize: getBooleanFF('platform.editor.a11y-find-replace') ? 'small' : undefined,
274
- onClick: this.handleMatchCaseClick,
275
- isPressed: shouldMatchCase
276
- }), jsx(FindReplaceTooltipButton, {
277
- title: this.findNext,
278
- icon: ChevronDownIcon,
279
- iconLabel: this.findNext,
280
- keymapDescription: 'Enter',
281
- onClick: this.handleFindNextClick,
282
- disabled: count.total <= 1
283
- }), jsx(FindReplaceTooltipButton, {
284
- title: this.findPrevious,
285
- icon: ChevronUpIcon,
286
- iconLabel: this.findPrevious,
287
- keymapDescription: 'Shift Enter',
288
- onClick: this.handleFindPrevClick,
289
- disabled: count.total <= 1
290
- }), jsx(FindReplaceTooltipButton, {
291
- title: this.closeFindReplaceDialog,
292
- icon: EditorCloseIcon,
293
- iconLabel: this.closeFindReplaceDialog,
294
- keymapDescription: 'Escape',
295
- onClick: this.clearSearch
296
- }));
297
- }
200
+ var elemAfterInput = jsx("div", {
201
+ css: afterInputSection
202
+ }, jsx("div", {
203
+ "aria-live": "polite"
204
+ }, findText && jsx("span", {
205
+ "data-testid": "textfield-count",
206
+ css: [countStyles, countStylesAlternateStyles]
207
+ }, count.total === 0 ? this.noResultsFound : resultsCount)), jsx("div", {
208
+ css: matchCaseSection
209
+ }, jsx(FindReplaceTooltipButton, {
210
+ title: this.matchCase,
211
+ appearance: "default",
212
+ icon: MatchCaseIcon,
213
+ iconLabel: this.matchCase,
214
+ iconSize: 'small',
215
+ onClick: this.handleMatchCaseClick,
216
+ isPressed: shouldMatchCase
217
+ })));
218
+ return jsx("div", {
219
+ css: [sectionWrapperStyles, sectionWrapperStylesAlternate]
220
+ }, jsx("div", {
221
+ css: textFieldWrapper
222
+ }, jsx(Label, {
223
+ htmlFor: "find-text-field"
224
+ }, this.find), jsx(Textfield, {
225
+ name: "find",
226
+ id: "find-text-field",
227
+ testId: "find-field",
228
+ appearance: "standard",
229
+ value: this.state.localFindText,
230
+ ref: this.findTextfieldRef,
231
+ autoComplete: "off",
232
+ onChange: this.handleFindChange,
233
+ onKeyDown: this.handleFindKeyDown,
234
+ onKeyUp: this.handleFindKeyUp,
235
+ onBlur: this.props.onFindBlur,
236
+ onCompositionStart: this.handleCompositionStart,
237
+ onCompositionEnd: this.handleCompositionEnd,
238
+ elemAfterInput: elemAfterInput
239
+ })));
298
240
  }
299
241
  }]);
300
242
  return Find;
@@ -12,7 +12,6 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
12
12
  /** @jsx jsx */
13
13
  import React from 'react';
14
14
  import { jsx } from '@emotion/react';
15
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
16
15
  import Find from './Find';
17
16
  import Replace from './Replace';
18
17
  import { ruleStyles, wrapperPaddingStyles, wrapperStyles } from './styles';
@@ -53,11 +52,9 @@ var FindReplace = /*#__PURE__*/function (_React$PureComponent) {
53
52
  findTyped: false
54
53
  });
55
54
  _defineProperty(_assertThisInitialized(_this), "setFindTyped", function (value) {
56
- if (getBooleanFF('platform.editor.a11y-find-replace')) {
57
- _this.setState({
58
- findTyped: value
59
- });
60
- }
55
+ _this.setState({
56
+ findTyped: value
57
+ });
61
58
  });
62
59
  _defineProperty(_assertThisInitialized(_this), "setFindTextfieldRef", function (findTextfieldRef) {
63
60
  _this.findTextfield = findTextfieldRef.current;
@@ -81,18 +78,14 @@ var FindReplace = /*#__PURE__*/function (_React$PureComponent) {
81
78
  _createClass(FindReplace, [{
82
79
  key: "componentDidMount",
83
80
  value: function componentDidMount() {
84
- if (getBooleanFF('platform.editor.a11y-find-replace')) {
85
- // eslint-disable-next-line
86
- window.addEventListener('keydown', this.handleTabNavigation);
87
- }
81
+ // eslint-disable-next-line
82
+ window.addEventListener('keydown', this.handleTabNavigation);
88
83
  }
89
84
  }, {
90
85
  key: "componentWillUnmount",
91
86
  value: function componentWillUnmount() {
92
- if (getBooleanFF('platform.editor.a11y-find-replace')) {
93
- // eslint-disable-next-line
94
- window.removeEventListener('keydown', this.handleTabNavigation);
95
- }
87
+ // eslint-disable-next-line
88
+ window.removeEventListener('keydown', this.handleTabNavigation);
96
89
  }
97
90
  }, {
98
91
  key: "render",
@@ -113,10 +106,10 @@ var FindReplace = /*#__PURE__*/function (_React$PureComponent) {
113
106
  allowMatchCase = _this$props.allowMatchCase,
114
107
  shouldMatchCase = _this$props.shouldMatchCase,
115
108
  onToggleMatchCase = _this$props.onToggleMatchCase;
116
- var focusToolbarButton = getBooleanFF('platform.editor.a11y-find-replace') ? this.props.focusToolbarButton || function () {} : function () {};
109
+ var focusToolbarButton = this.props.focusToolbarButton || function () {};
117
110
  return jsx("div", {
118
111
  ref: this.modalRef,
119
- css: getBooleanFF('platform.editor.a11y-find-replace') ? [wrapperStyles, wrapperPaddingStyles] : wrapperStyles
112
+ css: [wrapperStyles, wrapperPaddingStyles]
120
113
  }, jsx(Find, {
121
114
  allowMatchCase: allowMatchCase,
122
115
  shouldMatchCase: shouldMatchCase,
@@ -133,7 +126,7 @@ var FindReplace = /*#__PURE__*/function (_React$PureComponent) {
133
126
  onArrowDown: this.setFocusToReplace,
134
127
  findTyped: this.state.findTyped,
135
128
  setFindTyped: this.setFindTyped
136
- }), !getBooleanFF('platform.editor.a11y-find-replace') && jsx("hr", {
129
+ }), jsx("hr", {
137
130
  css: ruleStyles,
138
131
  id: "replace-hr-element"
139
132
  }), jsx(Replace, {
@@ -21,7 +21,6 @@ import { findReplaceMessages as messages } from '@atlaskit/editor-common/message
21
21
  import { ArrowKeyNavigationType, Dropdown, TOOLBAR_BUTTON, ToolbarButton } from '@atlaskit/editor-common/ui-menu';
22
22
  import { akEditorFloatingPanelZIndex, akEditorMobileMaxWidth } from '@atlaskit/editor-shared-styles';
23
23
  import EditorSearchIcon from '@atlaskit/icon/glyph/editor/search';
24
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
25
24
  import FindReplace from './FindReplace';
26
25
 
27
26
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation
@@ -34,7 +33,6 @@ var wrapper = css({
34
33
  flexDirection: 'column'
35
34
  });
36
35
  var dropdownWidthNewDesign = 382;
37
- var dropdownWidthOldDesign = 352;
38
36
  // eslint-disable-next-line @repo/internal/react/no-class-components
39
37
  var FindReplaceToolbarButton = /*#__PURE__*/function (_React$PureComponent) {
40
38
  _inherits(FindReplaceToolbarButton, _React$PureComponent);
@@ -103,17 +101,15 @@ var FindReplaceToolbarButton = /*#__PURE__*/function (_React$PureComponent) {
103
101
  _this2.props.onCancel({
104
102
  triggerMethod: TRIGGER_METHOD.KEYBOARD
105
103
  });
106
- if (getBooleanFF('platform.editor.a11y-find-replace')) {
107
- if (_this2.state.openedByClick && _this2.toolbarButtonRef.current) {
108
- _this2.toolbarButtonRef.current.focus();
109
- }
110
- _this2.setState({
111
- openedByClick: false
112
- });
104
+ if (_this2.state.openedByClick && _this2.toolbarButtonRef.current) {
105
+ _this2.toolbarButtonRef.current.focus();
113
106
  }
107
+ _this2.setState({
108
+ openedByClick: false
109
+ });
114
110
  }
115
111
  },
116
- fitWidth: getBooleanFF('platform.editor.a11y-find-replace') ? dropdownWidthNewDesign : dropdownWidthOldDesign,
112
+ fitWidth: dropdownWidthNewDesign,
117
113
  zIndex: stackBelowOtherEditorFloatingPanels,
118
114
  arrowKeyNavigationProviderOptions: {
119
115
  type: ArrowKeyNavigationType.MENU,
@@ -135,7 +131,7 @@ var FindReplaceToolbarButton = /*#__PURE__*/function (_React$PureComponent) {
135
131
  "aria-haspopup": true,
136
132
  "aria-label": keymap ? tooltip(keymap, title) : title,
137
133
  "aria-keyshortcuts": getAriaKeyshortcuts(keymap),
138
- ref: getBooleanFF('platform.editor.a11y-find-replace') ? this.toolbarButtonRef : null
134
+ ref: this.toolbarButtonRef
139
135
  })
140
136
  }, jsx("div", {
141
137
  css: wrapper
@@ -18,7 +18,6 @@ import { findReplaceMessages as messages } from '@atlaskit/editor-common/message
18
18
  import { Label, ValidMessage } from '@atlaskit/form';
19
19
  import ChevronDownIcon from '@atlaskit/icon/glyph/hipchat/chevron-down';
20
20
  import ChevronUpIcon from '@atlaskit/icon/glyph/hipchat/chevron-up';
21
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
22
21
  import { Inline, xcss } from '@atlaskit/primitives';
23
22
  import Textfield from '@atlaskit/textfield';
24
23
  import { FindReplaceTooltipButton } from './FindReplaceTooltipButton';
@@ -145,7 +144,6 @@ var Replace = /*#__PURE__*/function (_React$PureComponent) {
145
144
  fakeSuccessReplacementMessageUpdate: false,
146
145
  replaceCount: 0
147
146
  };
148
- _this.replaceWith = formatMessage(messages.replaceWith);
149
147
  _this.replace = formatMessage(messages.replace);
150
148
  _this.replaceAll = formatMessage(messages.replaceAll);
151
149
  _this.findNext = formatMessage(messages.findNext);
@@ -169,13 +167,11 @@ var Replace = /*#__PURE__*/function (_React$PureComponent) {
169
167
  isComposing: false
170
168
  });
171
169
  }
172
- if (getBooleanFF('platform.editor.a11y-find-replace')) {
173
- var findTextField = document.getElementById('find-text-field');
174
- var replaceButton = document.getElementById('replace-button');
175
- var replaceAllButton = document.getElementById('replaceAll-button');
176
- if (((replaceButton === null || replaceButton === void 0 ? void 0 : replaceButton.tabIndex) === -1 || (replaceAllButton === null || replaceAllButton === void 0 ? void 0 : replaceAllButton.tabIndex) === -1) && findTextField) {
177
- findTextField.focus();
178
- }
170
+ var findTextField = document.getElementById('find-text-field');
171
+ var replaceButton = document.getElementById('replace-button');
172
+ var replaceAllButton = document.getElementById('replaceAll-button');
173
+ if (((replaceButton === null || replaceButton === void 0 ? void 0 : replaceButton.tabIndex) === -1 || (replaceAllButton === null || replaceAllButton === void 0 ? void 0 : replaceAllButton.tabIndex) === -1) && findTextField) {
174
+ findTextField.focus();
179
175
  }
180
176
  }
181
177
  }, {
@@ -207,7 +203,7 @@ var Replace = /*#__PURE__*/function (_React$PureComponent) {
207
203
  var resultsReplace = formatMessage(messages.replaceSuccess, {
208
204
  numberOfMatches: replaceCount
209
205
  });
210
- return getBooleanFF('platform.editor.a11y-find-replace') ? jsx(Fragment, null, jsx("div", {
206
+ return jsx(Fragment, null, jsx("div", {
211
207
  css: [sectionWrapperStyles, sectionWrapperStylesAlternate]
212
208
  }, jsx("div", {
213
209
  css: textFieldWrapper
@@ -216,6 +212,7 @@ var Replace = /*#__PURE__*/function (_React$PureComponent) {
216
212
  }, "Replace with"), jsx(Textfield, {
217
213
  name: "replace",
218
214
  id: "replace-text-field",
215
+ testId: "replace-field",
219
216
  appearance: "standard",
220
217
  defaultValue: replaceText,
221
218
  ref: this.replaceTextfieldRef,
@@ -230,9 +227,9 @@ var Replace = /*#__PURE__*/function (_React$PureComponent) {
230
227
  testId: "message-success-replacement"
231
228
  },
232
229
  /*
233
- Replacement needed to trigger the SR announcement if message hasn't changed. e.g Replace button clicked twice.
234
- '\u00a0' is value for &nbsp
235
- */
230
+ Replacement needed to trigger the SR announcement if message hasn't changed. e.g Replace button clicked twice.
231
+ '\u00a0' is value for &nbsp
232
+ */
236
233
  this.state.fakeSuccessReplacementMessageUpdate ? resultsReplace.replace(/ /, "\xA0") : resultsReplace)))), jsx("div", {
237
234
  css: [sectionWrapperStyles, sectionWrapperStylesAlternate, sectionWrapperJustified]
238
235
  }, jsx("div", {
@@ -280,30 +277,7 @@ var Replace = /*#__PURE__*/function (_React$PureComponent) {
280
277
  appearance: "subtle",
281
278
  testId: this.closeFindReplaceDialog,
282
279
  onClick: this.clearSearch
283
- }, this.closeFindReplaceDialog)))) : jsx("div", {
284
- css: sectionWrapperStyles
285
- }, jsx(Textfield, {
286
- name: "replace",
287
- appearance: "none",
288
- placeholder: this.replaceWith,
289
- defaultValue: replaceText,
290
- ref: this.replaceTextfieldRef,
291
- autoComplete: "off",
292
- onChange: this.handleReplaceChange,
293
- onKeyDown: this.handleReplaceKeyDown,
294
- onCompositionStart: this.handleCompositionStart,
295
- onCompositionEnd: this.handleCompositionEnd
296
- }), jsx(Inline, {
297
- space: "space.050"
298
- }, jsx(Button, {
299
- testId: this.replace,
300
- onClick: this.handleReplaceClick,
301
- isDisabled: !canReplace
302
- }, this.replace), jsx(Button, {
303
- testId: this.replaceAll,
304
- onClick: this.handleReplaceAllClick,
305
- isDisabled: !canReplace
306
- }, this.replaceAll)));
280
+ }, this.closeFindReplaceDialog))));
307
281
  }
308
282
  }]);
309
283
  return Replace;
@@ -9,6 +9,8 @@ import { fontSize as getFontSize,
9
9
  gridSize as getGridSize } from '@atlaskit/theme/constants';
10
10
  var fontSize = getFontSize();
11
11
  var gridSize = getGridSize();
12
+
13
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
12
14
  export var ruleStyles = css({
13
15
  width: '100%',
14
16
  border: 'none',
@@ -17,67 +19,99 @@ export var ruleStyles = css({
17
19
  height: '1px',
18
20
  borderRadius: '1px'
19
21
  });
22
+
23
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
20
24
  export var wrapperStyles = css({
21
25
  display: 'flex',
22
26
  flexDirection: 'column',
27
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
23
28
  '> *:not(#replace-hr-element)': {
24
29
  margin: "0px ".concat("var(--ds-space-050, 4px)")
25
30
  }
26
31
  });
32
+
33
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
27
34
  export var wrapperPaddingStyles = css({
28
35
  padding: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-050, 4px)")
29
36
  });
37
+
38
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
30
39
  export var sectionWrapperStyles = css({
31
40
  display: 'flex',
41
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
32
42
  '& > *': {
33
43
  display: 'inline-flex',
34
44
  height: '32px',
35
45
  flex: '0 0 auto'
36
46
  },
47
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
37
48
  '& > [data-ds--text-field--container]': {
38
49
  display: 'flex',
39
50
  flex: '1 1 auto'
40
51
  }
41
52
  });
53
+
54
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
42
55
  export var sectionWrapperStylesAlternate = css({
43
56
  display: 'flex',
44
57
  padding: "var(--ds-space-100, 8px)",
58
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
45
59
  '& > *': {
46
60
  height: 'unset'
47
61
  }
48
62
  });
63
+
64
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
49
65
  export var sectionWrapperJustified = css({
50
66
  justifyContent: 'space-between',
67
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
51
68
  fontSize: relativeFontSizeToBase16(14)
52
69
  });
70
+
71
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
53
72
  export var textFieldWrapper = css({
54
73
  flex: '1 100%',
55
74
  flexWrap: 'wrap',
75
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
56
76
  '#find-text-field, #replace-text-field': {
77
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
57
78
  height: "".concat(gridSize * 4.5 / fontSize, "em")
58
79
  },
80
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
59
81
  label: {
82
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
60
83
  fontSize: relativeFontSizeToBase16(14),
84
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
61
85
  lineHeight: "".concat(gridSize * 2, "px")
62
86
  }
63
87
  });
88
+
89
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
64
90
  export var afterInputSection = css({
65
91
  display: 'flex',
66
92
  flex: '0 0 auto',
67
93
  alignItems: 'center'
68
94
  });
95
+
96
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
69
97
  export var matchCaseSection = css({
70
98
  paddingRight: "var(--ds-space-100, 8px)",
99
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
71
100
  button: {
72
101
  width: '20px',
73
102
  height: '20px'
74
103
  }
75
104
  });
105
+
106
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
76
107
  export var nextPreviousItemStyles = css({
77
108
  padding: "0px ".concat("var(--ds-space-025, 2px)")
78
109
  });
110
+
111
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
79
112
  export var countStyles = css({
80
113
  color: "var(--ds-text-subtlest, #626F86)",
114
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
81
115
  fontSize: "".concat(relativeFontSizeToBase16(12)),
82
116
  flex: '0 0 auto',
83
117
  justifyContent: 'center',
@@ -85,17 +119,25 @@ export var countStyles = css({
85
119
  marginLeft: "var(--ds-space-050, 4px)",
86
120
  marginRight: "var(--ds-space-100, 8px)"
87
121
  });
122
+
123
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
88
124
  export var countStylesAlternateStyles = css({
89
125
  display: 'inline-flex',
90
126
  height: '32px'
91
127
  });
128
+
129
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
92
130
  export var countWrapperStyles = css({
93
131
  alignItems: 'center'
94
132
  });
133
+
134
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
95
135
  export var orderZeroStyles = css({
96
136
  order: '0',
97
137
  marginInline: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-025, 2px)")
98
138
  });
139
+
140
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
99
141
  export var orderOneStyles = css({
100
142
  order: '1'
101
143
  });