@atlaskit/jql-editor 4.3.0 → 4.3.2

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.
Files changed (177) hide show
  1. package/CHANGELOG.md +571 -561
  2. package/LICENSE.md +6 -8
  3. package/dist/cjs/accessibility/styled.js +3 -0
  4. package/dist/cjs/analytics/listener/analytics-web-client-wrapper.js +5 -5
  5. package/dist/cjs/analytics/util.js +1 -1
  6. package/dist/cjs/common/styled.js +7 -1
  7. package/dist/cjs/plugins/autocomplete/components/autocomplete-dropdown/styled.js +17 -2
  8. package/dist/cjs/plugins/autocomplete/components/autocomplete-option/styled.js +21 -2
  9. package/dist/cjs/plugins/rich-inline-nodes/nodes/user/styled.js +16 -2
  10. package/dist/cjs/ui/jql-editor-controls-content/base-expand-toggle/styled.js +5 -0
  11. package/dist/cjs/ui/jql-editor-controls-content/base-search/index.js +3 -1
  12. package/dist/cjs/ui/jql-editor-controls-content/base-syntax-help/styled.js +6 -0
  13. package/dist/cjs/ui/jql-editor-footer-content/jql-editor-help/styled.js +15 -3
  14. package/dist/cjs/ui/jql-editor-footer-content/jql-messages/format/styled.js +6 -0
  15. package/dist/cjs/ui/jql-editor-layout/styled.js +44 -17
  16. package/dist/cjs/ui/tooltip-tag/styled.js +3 -0
  17. package/dist/es2019/accessibility/styled.js +3 -0
  18. package/dist/es2019/analytics/listener/analytics-web-client-wrapper.js +5 -5
  19. package/dist/es2019/analytics/util.js +1 -1
  20. package/dist/es2019/common/styled.js +5 -1
  21. package/dist/es2019/plugins/autocomplete/components/autocomplete-dropdown/styled.js +15 -2
  22. package/dist/es2019/plugins/autocomplete/components/autocomplete-option/styled.js +20 -2
  23. package/dist/es2019/plugins/rich-inline-nodes/nodes/user/styled.js +14 -2
  24. package/dist/es2019/ui/jql-editor-controls-content/base-expand-toggle/styled.js +4 -0
  25. package/dist/es2019/ui/jql-editor-controls-content/base-search/index.js +3 -1
  26. package/dist/es2019/ui/jql-editor-controls-content/base-syntax-help/styled.js +5 -0
  27. package/dist/es2019/ui/jql-editor-footer-content/jql-editor-help/styled.js +12 -2
  28. package/dist/es2019/ui/jql-editor-footer-content/jql-messages/format/styled.js +5 -0
  29. package/dist/es2019/ui/jql-editor-layout/styled.js +157 -129
  30. package/dist/es2019/ui/tooltip-tag/styled.js +3 -0
  31. package/dist/esm/accessibility/styled.js +3 -0
  32. package/dist/esm/analytics/listener/analytics-web-client-wrapper.js +5 -5
  33. package/dist/esm/analytics/util.js +1 -1
  34. package/dist/esm/common/styled.js +5 -1
  35. package/dist/esm/plugins/autocomplete/components/autocomplete-dropdown/styled.js +15 -2
  36. package/dist/esm/plugins/autocomplete/components/autocomplete-option/styled.js +20 -2
  37. package/dist/esm/plugins/rich-inline-nodes/nodes/user/styled.js +14 -2
  38. package/dist/esm/ui/jql-editor-controls-content/base-expand-toggle/styled.js +4 -0
  39. package/dist/esm/ui/jql-editor-controls-content/base-search/index.js +3 -1
  40. package/dist/esm/ui/jql-editor-controls-content/base-syntax-help/styled.js +5 -0
  41. package/dist/esm/ui/jql-editor-footer-content/jql-editor-help/styled.js +13 -3
  42. package/dist/esm/ui/jql-editor-footer-content/jql-messages/format/styled.js +5 -0
  43. package/dist/esm/ui/jql-editor-layout/styled.js +44 -16
  44. package/dist/esm/ui/tooltip-tag/styled.js +3 -0
  45. package/dist/types/analytics/index.d.ts +2 -2
  46. package/dist/types/analytics/listener/analytics-web-client-wrapper.d.ts +3 -3
  47. package/dist/types/analytics/listener/handle-event.d.ts +3 -3
  48. package/dist/types/analytics/listener/jql-editor-analytics-listener.d.ts +3 -3
  49. package/dist/types/analytics/listener/process-event-payload.d.ts +2 -2
  50. package/dist/types/analytics/listener/types.d.ts +1 -1
  51. package/dist/types/analytics/types.d.ts +2 -2
  52. package/dist/types/analytics/util.d.ts +1 -1
  53. package/dist/types/async.d.ts +1 -1
  54. package/dist/types/commands/select-error-command/index.d.ts +1 -1
  55. package/dist/types/plugins/autocomplete/components/autocomplete/index.d.ts +1 -1
  56. package/dist/types/plugins/autocomplete/components/autocomplete-dropdown/index.d.ts +2 -2
  57. package/dist/types/plugins/autocomplete/components/autocomplete-option/index.d.ts +1 -1
  58. package/dist/types/plugins/autocomplete/components/types.d.ts +3 -3
  59. package/dist/types/plugins/autocomplete/constants.d.ts +1 -1
  60. package/dist/types/plugins/autocomplete/index.d.ts +1 -1
  61. package/dist/types/plugins/autocomplete/view.d.ts +6 -6
  62. package/dist/types/plugins/common/get-document-position/index.d.ts +1 -1
  63. package/dist/types/plugins/common/react-plugin-view.d.ts +3 -3
  64. package/dist/types/plugins/jql-ast/JQLEditorErrorStrategy.d.ts +4 -4
  65. package/dist/types/plugins/jql-ast/error-handlers/CustomFieldRuleErrorHandler.d.ts +1 -1
  66. package/dist/types/plugins/jql-ast/error-handlers/ExpectedTokensErrorHandler.d.ts +4 -4
  67. package/dist/types/plugins/jql-ast/error-handlers/FieldPropertyIdErrorHandler.d.ts +2 -2
  68. package/dist/types/plugins/jql-ast/error-handlers/FieldRuleErrorHandler.d.ts +2 -2
  69. package/dist/types/plugins/jql-ast/error-handlers/FunctionArgumentRuleErrorHandler.d.ts +2 -2
  70. package/dist/types/plugins/jql-ast/error-handlers/OperandRuleErrorHandler.d.ts +5 -5
  71. package/dist/types/plugins/jql-ast/error-handlers/OperatorRuleErrorHandler.d.ts +2 -2
  72. package/dist/types/plugins/jql-ast/index.d.ts +4 -4
  73. package/dist/types/plugins/jql-ast/utils.d.ts +2 -2
  74. package/dist/types/plugins/jql-syntax-highlighting/index.d.ts +1 -1
  75. package/dist/types/plugins/jql-syntax-highlighting/visitor.d.ts +3 -3
  76. package/dist/types/plugins/rich-inline-nodes/index.d.ts +1 -1
  77. package/dist/types/plugins/rich-inline-nodes/nodes/types.d.ts +3 -3
  78. package/dist/types/plugins/rich-inline-nodes/nodes/user/index.d.ts +1 -1
  79. package/dist/types/plugins/rich-inline-nodes/types.d.ts +1 -1
  80. package/dist/types/plugins/rich-inline-nodes/util/create-node-spec.d.ts +1 -1
  81. package/dist/types/plugins/rich-inline-nodes/util/react-node-view.d.ts +4 -4
  82. package/dist/types/plugins/rich-inline-nodes/util/replace-nodes-transaction.d.ts +2 -2
  83. package/dist/types/plugins/validation-tooltip/view.d.ts +2 -2
  84. package/dist/types/schema/index.d.ts +6 -6
  85. package/dist/types/state/analytics/index.d.ts +2 -2
  86. package/dist/types/state/autocomplete/index.d.ts +2 -2
  87. package/dist/types/state/hydration/index.d.ts +2 -2
  88. package/dist/types/state/hydration/util.d.ts +1 -1
  89. package/dist/types/state/index.d.ts +13 -13
  90. package/dist/types/state/types.d.ts +10 -10
  91. package/dist/types/state/util.d.ts +7 -7
  92. package/dist/types/types.d.ts +1 -1
  93. package/dist/types/ui/error-boundary/index.d.ts +2 -2
  94. package/dist/types/ui/index.d.ts +1 -1
  95. package/dist/types/ui/intl-provider/index.d.ts +1 -1
  96. package/dist/types/ui/jql-editor/index.d.ts +2 -2
  97. package/dist/types/ui/jql-editor/types.d.ts +4 -4
  98. package/dist/types/ui/jql-editor-controls-content/base-expand-toggle/index.d.ts +1 -1
  99. package/dist/types/ui/jql-editor-controls-content/base-search/index.d.ts +1 -1
  100. package/dist/types/ui/jql-editor-controls-content/base-syntax-help/index.d.ts +2 -2
  101. package/dist/types/ui/jql-editor-footer-content/jql-messages/format/index.d.ts +3 -3
  102. package/dist/types/ui/jql-editor-footer-content/jql-messages/infos/index.d.ts +1 -1
  103. package/dist/types/ui/jql-editor-footer-content/jql-messages/warnings/index.d.ts +1 -1
  104. package/dist/types/ui/jql-editor-layout/index.d.ts +1 -1
  105. package/dist/types/ui/jql-editor-portal-provider/context.d.ts +1 -1
  106. package/dist/types/ui/jql-editor-portal-provider/index.d.ts +2 -2
  107. package/dist/types/ui/jql-editor-portal-provider/types.d.ts +2 -2
  108. package/dist/types/ui/jql-editor-view/index.d.ts +1 -1
  109. package/dist/types/ui/types.d.ts +1 -1
  110. package/dist/types/utils/document-text/index.d.ts +1 -1
  111. package/dist/types-ts4.5/analytics/index.d.ts +2 -2
  112. package/dist/types-ts4.5/analytics/listener/analytics-web-client-wrapper.d.ts +3 -3
  113. package/dist/types-ts4.5/analytics/listener/handle-event.d.ts +3 -3
  114. package/dist/types-ts4.5/analytics/listener/jql-editor-analytics-listener.d.ts +3 -3
  115. package/dist/types-ts4.5/analytics/listener/process-event-payload.d.ts +2 -2
  116. package/dist/types-ts4.5/analytics/listener/types.d.ts +1 -1
  117. package/dist/types-ts4.5/analytics/types.d.ts +2 -2
  118. package/dist/types-ts4.5/analytics/util.d.ts +1 -1
  119. package/dist/types-ts4.5/async.d.ts +1 -1
  120. package/dist/types-ts4.5/commands/select-error-command/index.d.ts +1 -1
  121. package/dist/types-ts4.5/plugins/autocomplete/components/autocomplete/index.d.ts +1 -1
  122. package/dist/types-ts4.5/plugins/autocomplete/components/autocomplete-dropdown/index.d.ts +2 -2
  123. package/dist/types-ts4.5/plugins/autocomplete/components/autocomplete-option/index.d.ts +1 -1
  124. package/dist/types-ts4.5/plugins/autocomplete/components/types.d.ts +3 -3
  125. package/dist/types-ts4.5/plugins/autocomplete/constants.d.ts +1 -1
  126. package/dist/types-ts4.5/plugins/autocomplete/index.d.ts +1 -1
  127. package/dist/types-ts4.5/plugins/autocomplete/view.d.ts +6 -6
  128. package/dist/types-ts4.5/plugins/common/get-document-position/index.d.ts +1 -1
  129. package/dist/types-ts4.5/plugins/common/react-plugin-view.d.ts +3 -3
  130. package/dist/types-ts4.5/plugins/jql-ast/JQLEditorErrorStrategy.d.ts +4 -4
  131. package/dist/types-ts4.5/plugins/jql-ast/error-handlers/CustomFieldRuleErrorHandler.d.ts +1 -1
  132. package/dist/types-ts4.5/plugins/jql-ast/error-handlers/ExpectedTokensErrorHandler.d.ts +4 -4
  133. package/dist/types-ts4.5/plugins/jql-ast/error-handlers/FieldPropertyIdErrorHandler.d.ts +2 -2
  134. package/dist/types-ts4.5/plugins/jql-ast/error-handlers/FieldRuleErrorHandler.d.ts +2 -2
  135. package/dist/types-ts4.5/plugins/jql-ast/error-handlers/FunctionArgumentRuleErrorHandler.d.ts +2 -2
  136. package/dist/types-ts4.5/plugins/jql-ast/error-handlers/OperandRuleErrorHandler.d.ts +5 -5
  137. package/dist/types-ts4.5/plugins/jql-ast/error-handlers/OperatorRuleErrorHandler.d.ts +2 -2
  138. package/dist/types-ts4.5/plugins/jql-ast/index.d.ts +4 -4
  139. package/dist/types-ts4.5/plugins/jql-ast/utils.d.ts +2 -2
  140. package/dist/types-ts4.5/plugins/jql-syntax-highlighting/index.d.ts +1 -1
  141. package/dist/types-ts4.5/plugins/jql-syntax-highlighting/visitor.d.ts +3 -3
  142. package/dist/types-ts4.5/plugins/rich-inline-nodes/index.d.ts +1 -1
  143. package/dist/types-ts4.5/plugins/rich-inline-nodes/nodes/types.d.ts +3 -3
  144. package/dist/types-ts4.5/plugins/rich-inline-nodes/nodes/user/index.d.ts +1 -1
  145. package/dist/types-ts4.5/plugins/rich-inline-nodes/types.d.ts +1 -1
  146. package/dist/types-ts4.5/plugins/rich-inline-nodes/util/create-node-spec.d.ts +1 -1
  147. package/dist/types-ts4.5/plugins/rich-inline-nodes/util/react-node-view.d.ts +4 -4
  148. package/dist/types-ts4.5/plugins/rich-inline-nodes/util/replace-nodes-transaction.d.ts +2 -2
  149. package/dist/types-ts4.5/plugins/validation-tooltip/view.d.ts +2 -2
  150. package/dist/types-ts4.5/schema/index.d.ts +6 -6
  151. package/dist/types-ts4.5/state/analytics/index.d.ts +2 -2
  152. package/dist/types-ts4.5/state/autocomplete/index.d.ts +2 -2
  153. package/dist/types-ts4.5/state/hydration/index.d.ts +2 -2
  154. package/dist/types-ts4.5/state/hydration/util.d.ts +1 -1
  155. package/dist/types-ts4.5/state/index.d.ts +13 -13
  156. package/dist/types-ts4.5/state/types.d.ts +10 -10
  157. package/dist/types-ts4.5/state/util.d.ts +7 -7
  158. package/dist/types-ts4.5/types.d.ts +1 -1
  159. package/dist/types-ts4.5/ui/error-boundary/index.d.ts +2 -2
  160. package/dist/types-ts4.5/ui/index.d.ts +1 -1
  161. package/dist/types-ts4.5/ui/intl-provider/index.d.ts +1 -1
  162. package/dist/types-ts4.5/ui/jql-editor/index.d.ts +2 -2
  163. package/dist/types-ts4.5/ui/jql-editor/types.d.ts +4 -4
  164. package/dist/types-ts4.5/ui/jql-editor-controls-content/base-expand-toggle/index.d.ts +1 -1
  165. package/dist/types-ts4.5/ui/jql-editor-controls-content/base-search/index.d.ts +1 -1
  166. package/dist/types-ts4.5/ui/jql-editor-controls-content/base-syntax-help/index.d.ts +2 -2
  167. package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-messages/format/index.d.ts +3 -3
  168. package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-messages/infos/index.d.ts +1 -1
  169. package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-messages/warnings/index.d.ts +1 -1
  170. package/dist/types-ts4.5/ui/jql-editor-layout/index.d.ts +1 -1
  171. package/dist/types-ts4.5/ui/jql-editor-portal-provider/context.d.ts +1 -1
  172. package/dist/types-ts4.5/ui/jql-editor-portal-provider/index.d.ts +2 -2
  173. package/dist/types-ts4.5/ui/jql-editor-portal-provider/types.d.ts +2 -2
  174. package/dist/types-ts4.5/ui/jql-editor-view/index.d.ts +1 -1
  175. package/dist/types-ts4.5/ui/types.d.ts +1 -1
  176. package/dist/types-ts4.5/utils/document-text/index.d.ts +1 -1
  177. package/package.json +124 -126
package/LICENSE.md CHANGED
@@ -1,13 +1,11 @@
1
1
  Copyright 2023 Atlassian Pty Ltd
2
2
 
3
- Licensed under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License.
5
- You may obtain a copy of the License at
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
4
+ compliance with the License. You may obtain a copy of the License at
6
5
 
7
6
  http://www.apache.org/licenses/LICENSE-2.0
8
7
 
9
- Unless required by applicable law or agreed to in writing, software
10
- distributed under the License is distributed on an "AS IS" BASIS,
11
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- See the License for the specific language governing permissions and
13
- limitations under the License.
8
+ Unless required by applicable law or agreed to in writing, software distributed under the License is
9
+ distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
10
+ implied. See the License for the specific language governing permissions and limitations under the
11
+ License.
@@ -7,4 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.ScreenReaderText = void 0;
8
8
  var _styled = _interopRequireDefault(require("@emotion/styled"));
9
9
  var _styled2 = require("../common/styled");
10
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
+
12
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
10
13
  var ScreenReaderText = exports.ScreenReaderText = _styled.default.div(_styled2.hiddenMixin);
@@ -22,11 +22,11 @@ var sendEvent = exports.sendEvent = function sendEvent(logger, client) {
22
22
  if (client) {
23
23
  var gasEvent = _objectSpread({}, event);
24
24
  /*
25
- Merging this ts-ignore is not going to affect the type definitions of the package
26
- there's a whole lot more wrong going on here than just this delete.
27
- All the send methods on the client take a GasPurePayload object which requires actionSubject
28
- actionSubject is missing on GasPayload | GasScreenEventPayload
29
- */
25
+ Merging this ts-ignore is not going to affect the type definitions of the package
26
+ there's a whole lot more wrong going on here than just this delete.
27
+ All the send methods on the client take a GasPurePayload object which requires actionSubject
28
+ actionSubject is missing on GasPayload | GasScreenEventPayload
29
+ */
30
30
  // @ts-ignore mergeable @fixme TypeScript 4.2.4 upgrade
31
31
  delete gasEvent.eventType;
32
32
  var withClient = function withClient(cb) {
@@ -6,5 +6,5 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.useJqlEditorAnalytics = void 0;
7
7
  var _jqlEditorCommon = require("@atlaskit/jql-editor-common");
8
8
  var useJqlEditorAnalytics = exports.useJqlEditorAnalytics = function useJqlEditorAnalytics(analyticsSource) {
9
- return (0, _jqlEditorCommon.useJqlPackageAnalytics)(analyticsSource, "@atlaskit/jql-editor", "4.3.0", _jqlEditorCommon.ANALYTICS_CHANNEL);
9
+ return (0, _jqlEditorCommon.useJqlPackageAnalytics)(analyticsSource, "@atlaskit/jql-editor", "4.3.2", _jqlEditorCommon.ANALYTICS_CHANNEL);
10
10
  };
@@ -8,7 +8,11 @@ exports.hiddenMixin = exports.TooltipContent = void 0;
8
8
  var _react = require("@emotion/react");
9
9
  var _styled = _interopRequireDefault(require("@emotion/styled"));
10
10
  var _constants = require("@atlaskit/theme/constants");
11
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
11
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
12
+
13
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
14
+
15
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
12
16
  var hiddenMixin = exports.hiddenMixin = (0, _react.css)({
13
17
  clip: 'rect(1px, 1px, 1px, 1px)',
14
18
  clipPath: 'inset(50%)',
@@ -20,6 +24,8 @@ var hiddenMixin = exports.hiddenMixin = (0, _react.css)({
20
24
  padding: 0,
21
25
  position: 'absolute'
22
26
  });
27
+
28
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
23
29
  var TooltipContent = exports.TooltipContent = _styled.default.div({
24
30
  fontFamily: (0, _constants.fontFamily)()
25
31
  });
@@ -9,6 +9,11 @@ var _react = require("@emotion/react");
9
9
  var _styled = _interopRequireDefault(require("@emotion/styled"));
10
10
  var _colors = require("@atlaskit/theme/colors");
11
11
  var _constants = require("@atlaskit/theme/constants");
12
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
13
+
14
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
15
+
16
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
12
17
  var AutocompleteContainer = exports.AutocompleteContainer = _styled.default.div({
13
18
  position: 'absolute',
14
19
  backgroundColor: "var(--ds-surface-overlay, white)",
@@ -24,7 +29,9 @@ var AutocompleteContainer = exports.AutocompleteContainer = _styled.default.div(
24
29
  },
25
30
  marginLeft: "var(--ds-space-negative-100, -8px)",
26
31
  marginTop: "var(--ds-space-200, 16px)"
27
- }, function (_ref) {
32
+ },
33
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-dynamic-styles, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
34
+ function (_ref) {
28
35
  var isOpen = _ref.isOpen;
29
36
  return isOpen ? (0, _react.css)({
30
37
  visibility: 'visible'
@@ -32,15 +39,21 @@ var AutocompleteContainer = exports.AutocompleteContainer = _styled.default.div(
32
39
  visibility: 'hidden'
33
40
  });
34
41
  });
42
+
43
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
35
44
  var AutocompleteOptionsContainer = exports.AutocompleteOptionsContainer = _styled.default.div({
36
45
  maxHeight: '288px',
37
46
  overflow: 'auto'
38
47
  });
48
+
49
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
39
50
  var OptionList = exports.OptionList = _styled.default.ul({
40
51
  listStyle: 'none',
41
52
  margin: "var(--ds-space-0, 0)",
42
53
  padding: "var(--ds-space-0, 0)"
43
54
  });
55
+
56
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
44
57
  var AutocompleteLoadingFooter = exports.AutocompleteLoadingFooter = _styled.default.div({
45
58
  display: 'flex',
46
59
  justifyContent: 'center',
@@ -48,7 +61,9 @@ var AutocompleteLoadingFooter = exports.AutocompleteLoadingFooter = _styled.defa
48
61
  fontStyle: 'italic',
49
62
  padding: "var(--ds-space-150, 12px)",
50
63
  textAlign: 'center'
51
- }, function (_ref2) {
64
+ },
65
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
66
+ function (_ref2) {
52
67
  var hasOptions = _ref2.hasOptions;
53
68
  return hasOptions && {
54
69
  borderTop: "solid 1px ".concat("var(--ds-border, ".concat(_colors.N40, ")")),
@@ -8,26 +8,37 @@ exports.TooltipContent = exports.OptionName = exports.OptionListItem = exports.O
8
8
  var _styled = _interopRequireDefault(require("@emotion/styled"));
9
9
  var _colors = require("@atlaskit/theme/colors");
10
10
  var _constants = require("@atlaskit/theme/constants");
11
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
12
+
13
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
11
14
  var TooltipContent = exports.TooltipContent = _styled.default.div({
12
15
  fontFamily: (0, _constants.fontFamily)()
13
16
  });
17
+
18
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
14
19
  var OptionListItem = exports.OptionListItem = _styled.default.li({
15
20
  cursor: 'pointer',
16
21
  padding: "var(--ds-space-075, 6px)".concat(" ", "var(--ds-space-100, 8px)"),
17
22
  fontFamily: (0, _constants.codeFontFamily)(),
18
23
  lineHeight: '24px'
19
- }, function (_ref) {
24
+ },
25
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
26
+ function (_ref) {
20
27
  var isSelected = _ref.isSelected;
21
28
  return isSelected && {
22
29
  background: "var(--ds-background-neutral-subtle-hovered, ".concat(_colors.N20, ")")
23
30
  };
24
- }, function (_ref2) {
31
+ },
32
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
33
+ function (_ref2) {
25
34
  var isDeprecated = _ref2.isDeprecated;
26
35
  return isDeprecated && {
27
36
  cursor: 'default',
28
37
  color: "var(--ds-text-disabled, ".concat(_colors.N50, ")")
29
38
  };
30
39
  });
40
+
41
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
31
42
  var OptionName = exports.OptionName = _styled.default.div({
32
43
  color: "var(--ds-text, ".concat(_colors.N800, ")"),
33
44
  overflow: 'hidden',
@@ -36,21 +47,29 @@ var OptionName = exports.OptionName = _styled.default.div({
36
47
  // Added so that overflowed option names do not squish the deprecated info icon
37
48
  flex: 1
38
49
  });
50
+
51
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
39
52
  var DeprecatedOptionContainer = exports.DeprecatedOptionContainer = _styled.default.div({
40
53
  color: "var(--ds-text-disabled, ".concat(_colors.N50, ")"),
41
54
  display: 'flex',
42
55
  justifyContent: 'space-between',
43
56
  opacity: 0.6
44
57
  });
58
+
59
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
45
60
  var OptionHighlight = exports.OptionHighlight = _styled.default.span({
46
61
  fontWeight: 'bold'
47
62
  });
63
+
64
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
48
65
  var FieldType = exports.FieldType = _styled.default.div({
49
66
  display: 'flex',
50
67
  alignItems: 'center',
51
68
  marginTop: "var(--ds-space-negative-025, -2px)",
52
69
  color: "var(--ds-text-subtlest, ".concat(_colors.N100, ")")
53
70
  });
71
+
72
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
54
73
  var FieldTypeIcon = exports.FieldTypeIcon = _styled.default.span({
55
74
  display: 'flex',
56
75
  marginRight: "var(--ds-space-050, 4px)"
@@ -8,6 +8,11 @@ exports.UserContainer = exports.NameContainer = exports.AvatarWrapper = void 0;
8
8
  var _react = require("@emotion/react");
9
9
  var _styled = _interopRequireDefault(require("@emotion/styled"));
10
10
  var _colors = require("@atlaskit/theme/colors");
11
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
12
+
13
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
14
+
15
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
11
16
  var UserContainer = exports.UserContainer = _styled.default.span({
12
17
  display: 'inline-flex',
13
18
  alignItems: 'baseline',
@@ -15,11 +20,14 @@ var UserContainer = exports.UserContainer = _styled.default.span({
15
20
  borderRadius: '10px',
16
21
  cursor: 'pointer',
17
22
  userSelect: 'none'
18
- }, function (_ref) {
23
+ },
24
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
25
+ function (_ref) {
19
26
  var selected = _ref.selected,
20
27
  error = _ref.error;
21
28
  if (selected) {
22
29
  if (error) {
30
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
23
31
  return (0, _react.css)({
24
32
  color: "var(--ds-text-inverse, ".concat(_colors.N0, ")"),
25
33
  backgroundColor: "var(--ds-background-danger-bold, ".concat(_colors.R400, ")"),
@@ -29,6 +37,7 @@ var UserContainer = exports.UserContainer = _styled.default.span({
29
37
  textDecorationColor: "var(--ds-text-inverse, ".concat(_colors.N0, ")")
30
38
  });
31
39
  } else {
40
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
32
41
  return (0, _react.css)({
33
42
  color: "var(--ds-text, ".concat(_colors.N0, ")"),
34
43
  backgroundColor: "var(--ds-background-selected, ".concat(_colors.N500, ")"),
@@ -37,6 +46,7 @@ var UserContainer = exports.UserContainer = _styled.default.span({
37
46
  }
38
47
  } else {
39
48
  if (error) {
49
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
40
50
  return (0, _react.css)({
41
51
  color: "var(--ds-text-subtle, ".concat(_colors.N500, ")"),
42
52
  backgroundColor: "var(--ds-background-neutral, ".concat(_colors.N40, ")"),
@@ -49,6 +59,7 @@ var UserContainer = exports.UserContainer = _styled.default.span({
49
59
  }
50
60
  });
51
61
  } else {
62
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
52
63
  return (0, _react.css)({
53
64
  color: "var(--ds-text-subtle, ".concat(_colors.N500, ")"),
54
65
  backgroundColor: "var(--ds-background-neutral, ".concat(_colors.N40, ")"),
@@ -59,6 +70,8 @@ var UserContainer = exports.UserContainer = _styled.default.span({
59
70
  }
60
71
  }
61
72
  });
73
+
74
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
62
75
  var NameContainer = exports.NameContainer = _styled.default.span({
63
76
  marginLeft: "var(--ds-space-075, 6px)",
64
77
  marginRight: "var(--ds-space-100, 8px)",
@@ -66,11 +79,12 @@ var NameContainer = exports.NameContainer = _styled.default.span({
66
79
  });
67
80
 
68
81
  /* Override Avatar styles to match design spec */
69
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
82
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
70
83
  var AvatarWrapper = exports.AvatarWrapper = _styled.default.div({
71
84
  height: "var(--ds-space-200, 16px)",
72
85
  width: "var(--ds-space-200, 16px)",
73
86
  alignSelf: 'center',
87
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
74
88
  '> div span': {
75
89
  margin: "var(--ds-space-0, 0px)"
76
90
  }
@@ -7,8 +7,12 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.ExpandToggleContainer = void 0;
8
8
  var _styled = _interopRequireDefault(require("@emotion/styled"));
9
9
  var _colors = require("@atlaskit/theme/colors");
10
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
+
12
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
10
13
  var ExpandToggleContainer = exports.ExpandToggleContainer = _styled.default.div({
11
14
  /* Override background styles for our button to match designs */
15
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
12
16
  '> button': {
13
17
  borderRadius: '100%',
14
18
  /* Fill the remaining vertical space for a single line in our editor and space between buttons */
@@ -16,6 +20,7 @@ var ExpandToggleContainer = exports.ExpandToggleContainer = _styled.default.div(
16
20
  '&:hover': {
17
21
  background: "var(--ds-background-neutral-subtle-hovered, ".concat(_colors.N40, ")")
18
22
  },
23
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
19
24
  "&:active, &[data-firefox-is-active='true']": {
20
25
  background: "var(--ds-background-neutral-subtle-pressed, ".concat(_colors.N50, ")")
21
26
  }
@@ -29,7 +29,9 @@ var BaseSearch = exports.BaseSearch = function BaseSearch(_ref) {
29
29
  return /*#__PURE__*/_react.default.createElement(_button.LoadingButton, {
30
30
  "aria-label": label,
31
31
  isDisabled: isDisabled,
32
- testId: "jql-editor-search",
32
+ testId: "jql-editor-search"
33
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
34
+ ,
33
35
  style: style,
34
36
  appearance: 'primary',
35
37
  spacing: 'none',
@@ -7,7 +7,11 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.SyntaxHelpContainer = void 0;
8
8
  var _styled = _interopRequireDefault(require("@emotion/styled"));
9
9
  var _colors = require("@atlaskit/theme/colors");
10
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
+
12
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
10
13
  var SyntaxHelpContainer = exports.SyntaxHelpContainer = _styled.default.div({
14
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
11
15
  '> a': {
12
16
  background: "var(--ds-background-neutral-bold, ".concat(_colors.N70, ")"),
13
17
  borderRadius: '100%',
@@ -18,9 +22,11 @@ var SyntaxHelpContainer = exports.SyntaxHelpContainer = _styled.default.div({
18
22
  '&:focus': {
19
23
  background: "var(--ds-background-neutral-bold, ".concat(_colors.N70, ")")
20
24
  },
25
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
21
26
  "&:active, &[data-firefox-is-active='true']": {
22
27
  background: "var(--ds-background-neutral-bold-pressed, ".concat(_colors.N600, ")")
23
28
  },
29
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
24
30
  '&[disabled]': {
25
31
  background: "var(--ds-background-disabled, ".concat(_colors.N50, ")")
26
32
  }
@@ -8,21 +8,33 @@ exports.HelpContainer = void 0;
8
8
  var _react = require("@emotion/react");
9
9
  var _styled = _interopRequireDefault(require("@emotion/styled"));
10
10
  var _styled2 = require("../../../common/styled");
11
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
12
+
13
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
14
+
15
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
11
16
  var HelpContainer = exports.HelpContainer = _styled.default.div({
12
17
  display: 'flex',
13
18
  marginLeft: 'auto',
14
19
  marginRight: 0,
15
20
  flexShrink: 0,
16
21
  padding: "0 ".concat("var(--ds-space-100, 8px)"),
22
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
17
23
  '> * + *': {
18
24
  marginLeft: "var(--ds-space-200, 16px)"
19
25
  }
20
- }, function (props) {
21
- return props.isVisible ? (0, _react.css)({
26
+ },
27
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
28
+ function (props) {
29
+ return props.isVisible ?
30
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
31
+ (0, _react.css)({
22
32
  visibility: 'visible',
23
33
  opacity: 1,
24
34
  transition: 'opacity 250ms cubic-bezier(0.15, 1, 0.3, 1)'
25
- }) : (0, _react.css)(_styled2.hiddenMixin, {
35
+ }) :
36
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
37
+ (0, _react.css)(_styled2.hiddenMixin, {
26
38
  opacity: 0
27
39
  });
28
40
  });
@@ -6,11 +6,17 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.MessageList = exports.MessageContainer = void 0;
8
8
  var _styled = _interopRequireDefault(require("@emotion/styled"));
9
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
10
+
11
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
9
12
  var MessageContainer = exports.MessageContainer = _styled.default.div(function (props) {
10
13
  return {
14
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
11
15
  paddingLeft: props.isSearch ? "var(--ds-space-100, 8px)" : "var(--ds-space-0, 0px)"
12
16
  };
13
17
  });
18
+
19
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
14
20
  var MessageList = exports.MessageList = _styled.default.ul({
15
21
  margin: 0,
16
22
  paddingLeft: "var(--ds-space-300, 24px)"
@@ -11,7 +11,8 @@ var _styled = _interopRequireDefault(require("@emotion/styled"));
11
11
  var _colors = require("@atlaskit/theme/colors");
12
12
  var _constants = require("@atlaskit/theme/constants");
13
13
  var _constants2 = require("../../plugins/validation-tooltip/constants");
14
- var _templateObject, _templateObject2, _templateObject3, _templateObject4;
14
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4; // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
15
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
15
16
  var fadeIn = (0, _react.keyframes)({
16
17
  from: {
17
18
  opacity: 0
@@ -30,8 +31,10 @@ var fadeOut = (0, _react.keyframes)({
30
31
  }
31
32
  });
32
33
 
33
- // eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression -- needs manual remediation
34
- var EditorMain = exports.EditorMain = _styled.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n /* CSS reset */\n font-family: ", ";\n font-size: ", "px;\n flex-grow: 1;\n\n /* These styles and animations are derived from @atlaskit/tooltip */\n\n .", " {\n background-color: ", ";\n color: ", ";\n border-radius: ", ";\n box-sizing: border-box;\n font-size: 12px;\n line-height: 1.3;\n max-width: 240px;\n padding: ", " ", ";\n word-wrap: break-word;\n overflow-wrap: break-word;\n z-index: ", ";\n pointer-events: none;\n position: absolute;\n visibility: hidden;\n\n /* Horizontally center and vertically position above the target element */\n transform: translate(-50%, calc(-100% - ", "));\n\n &.", " {\n animation: ", " 350ms cubic-bezier(0.15, 1, 0.3, 1);\n visibility: visible;\n }\n\n &.", " {\n animation: ", " 350ms cubic-bezier(0.15, 1, 0.3, 1);\n }\n }\n"])), _constants.fontFamily, _constants.fontSize, _constants2.TOOLTIP_CLASSNAME, "var(--ds-background-neutral-bold, ".concat(_colors.N800, ")"), "var(--ds-text-inverse, ".concat(_colors.N0, ")"), "var(--ds-border-radius-100, 3px)", "var(--ds-space-025, 2px)", "var(--ds-space-075, 6px)", _constants.layers.tooltip(), "var(--ds-space-200, 16px)", _constants2.TOOLTIP_ENTER_CLASSNAME, fadeIn, _constants2.TOOLTIP_EXIT_CLASSNAME, fadeOut);
34
+ // eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
35
+ var EditorMain = exports.EditorMain = _styled.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t/* CSS reset */\n\tfont-family: ", ";\n\tfont-size: ", "px;\n\tflex-grow: 1;\n\n\t/* These styles and animations are derived from @atlaskit/tooltip */\n\n\t.", " {\n\t\tbackground-color: ", ";\n\t\tcolor: ", ";\n\t\tborder-radius: ", ";\n\t\tbox-sizing: border-box;\n\t\tfont-size: 12px;\n\t\tline-height: 1.3;\n\t\tmax-width: 240px;\n\t\tpadding: ", " ", ";\n\t\tword-wrap: break-word;\n\t\toverflow-wrap: break-word;\n\t\tz-index: ", ";\n\t\tpointer-events: none;\n\t\tposition: absolute;\n\t\tvisibility: hidden;\n\n\t\t/* Horizontally center and vertically position above the target element */\n\t\ttransform: translate(-50%, calc(-100% - ", "));\n\n\t\t&.", " {\n\t\t\tanimation: ", " 350ms cubic-bezier(0.15, 1, 0.3, 1);\n\t\t\tvisibility: visible;\n\t\t}\n\n\t\t&.", " {\n\t\t\tanimation: ", " 350ms cubic-bezier(0.15, 1, 0.3, 1);\n\t\t}\n\t}\n"])), (0, _constants.fontFamily)(), (0, _constants.fontSize)(), _constants2.TOOLTIP_CLASSNAME, "var(--ds-background-neutral-bold, ".concat(_colors.N800, ")"), "var(--ds-text-inverse, ".concat(_colors.N0, ")"), "var(--ds-border-radius-100, 3px)", "var(--ds-space-025, 2px)", "var(--ds-space-075, 6px)", _constants.layers.tooltip(), "var(--ds-space-200, 16px)", _constants2.TOOLTIP_ENTER_CLASSNAME, fadeIn, _constants2.TOOLTIP_EXIT_CLASSNAME, fadeOut);
36
+
37
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
35
38
  var EditorFooter = exports.EditorFooter = _styled.default.div({
36
39
  display: 'flex',
37
40
  justifyContent: 'space-between',
@@ -45,6 +48,7 @@ var getEditorInputVerticalPadding = function getEditorInputVerticalPadding(isCom
45
48
  return isCompact ? 3 : 7;
46
49
  };
47
50
  var editorInputHorizontalPadding = 6;
51
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
48
52
  var EditorViewContainer = exports.EditorViewContainer = _styled.default.div({
49
53
  backgroundColor: "var(--ds-background-input, ".concat(_colors.N10, ")"),
50
54
  borderStyle: 'solid',
@@ -57,35 +61,53 @@ var EditorViewContainer = exports.EditorViewContainer = _styled.default.div({
57
61
  display: 'flex',
58
62
  overflow: 'auto',
59
63
  transition: 'background-color 0.2s ease-in-out, border-color 0.2s ease-in-out'
60
- }, function (props) {
61
- return props.editorViewIsInvalid && (0, _react.css)({
64
+ },
65
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
66
+ function (props) {
67
+ return props.editorViewIsInvalid &&
68
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
69
+ (0, _react.css)({
62
70
  borderColor: "var(--ds-border-danger, ".concat(_colors.R400, ")"),
63
71
  boxShadow: "inset 0 0 0 ".concat("var(--ds-border-width, 1px)", " ", "var(--ds-border-danger, ".concat(_colors.R400, ")"))
64
72
  });
65
- }, function (props) {
66
- return props.editorViewHasFocus ? (0, _react.css)({
73
+ },
74
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
75
+ function (props) {
76
+ return props.editorViewHasFocus ?
77
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
78
+ (0, _react.css)({
67
79
  backgroundColor: "var(--ds-surface, ".concat(_colors.N0, ")"),
68
80
  borderColor: "var(--ds-border-focused, ".concat(_colors.B200, ")"),
69
81
  boxShadow: "inset 0 0 0 ".concat("var(--ds-border-width, 1px)", " ", "var(--ds-border-focused, ".concat(_colors.B200, ")"))
70
- }) : (0, _react.css)({
71
- ':hover': {
82
+ }) :
83
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
84
+ (0, _react.css)({
85
+ '&:hover': {
72
86
  backgroundColor: "var(--ds-background-input-hovered, ".concat(_colors.N30, ")")
73
87
  }
74
88
  });
75
89
  });
90
+
91
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
76
92
  var ReadOnlyEditorViewContainer = exports.ReadOnlyEditorViewContainer = (0, _styled.default)(EditorViewContainer)({
77
93
  backgroundColor: "var(--ds-background-disabled, ".concat(_colors.N30, ")"),
78
94
  color: "var(--ds-text-disabled, ".concat(_colors.N100, ")"),
79
95
  pointerEvents: 'none'
80
96
  });
97
+
98
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
81
99
  var LineNumberToolbar = exports.LineNumberToolbar = _styled.default.div({
82
100
  backgroundColor: "var(--ds-background-neutral, ".concat(_colors.N30, ")"),
83
101
  flexShrink: 0,
84
102
  width: '30px',
85
103
  position: 'sticky',
86
104
  top: 0
87
- }, function (props) {
88
- return !props.lineNumbersVisible && (0, _react.css)({
105
+ },
106
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
107
+ function (props) {
108
+ return !props.lineNumbersVisible &&
109
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
110
+ (0, _react.css)({
89
111
  display: 'none'
90
112
  });
91
113
  });
@@ -93,8 +115,8 @@ var LineNumberToolbar = exports.LineNumberToolbar = _styled.default.div({
93
115
  /**
94
116
  * The main div which the Prosemirror editor will be rendered into.
95
117
  */
96
- // eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression -- needs manual remediation
97
- var EditorView = exports.EditorView = _styled.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n counter-reset: lineNumber;\n flex-grow: 1;\n\n transition:\n height 250ms cubic-bezier(0.15, 1, 0.3, 1),\n max-height 250ms cubic-bezier(0.15, 1, 0.3, 1);\n max-height: ", "px;\n\n line-height: ", ";\n font-family: ", ";\n word-break: break-word;\n overflow-wrap: anywhere;\n white-space: pre-wrap;\n\n &[data-expanded] {\n height: ", "px;\n max-height: ", "px;\n }\n\n .ProseMirror {\n color: ", ";\n padding: ", "px\n ", "px;\n\n &:focus {\n outline: none;\n }\n\n .mark-token-keyword {\n color: ", ";\n }\n\n .mark-token-field {\n color: ", ";\n }\n\n .mark-token-operator {\n color: ", ";\n }\n\n .mark-token-error {\n color: ", ";\n text-decoration: wavy underline;\n text-decoration-thickness: 1px;\n text-decoration-skip-ink: none;\n }\n }\n\n p {\n margin: 0;\n counter-increment: lineNumber;\n position: relative;\n\n /* Show the current line number before each paragraph block. */\n\n &::before {\n content: counter(lineNumber);\n color: ", ";\n font-size: 10px;\n line-height: ", ";\n padding: 0 ", " 0 ", ";\n position: absolute;\n box-sizing: border-box;\n /* Shift the line number tag 100% (plus 8px padding) to the left to position it inside the LineNumberToolbar */\n transform: translateX(calc(-100% - ", "));\n\n /* We can fit 3 digits before ellipses. This is not very responsive but saves us having to add expensive width\n recalculation logic to the LineNumberToolbar for a scenario that *should* never happen. */\n max-width: 30px;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n\n ", "\n }\n }\n"])), function (props) {
118
+ // eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
119
+ var EditorView = exports.EditorView = _styled.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n\tcounter-reset: lineNumber;\n\tflex-grow: 1;\n\n\ttransition:\n\t\theight 250ms cubic-bezier(0.15, 1, 0.3, 1),\n\t\tmax-height 250ms cubic-bezier(0.15, 1, 0.3, 1);\n\tmax-height: ", "px;\n\n\tline-height: ", ";\n\tfont-family: ", ";\n\tword-break: break-word;\n\toverflow-wrap: anywhere;\n\twhite-space: pre-wrap;\n\n\t&[data-expanded] {\n\t\theight: ", "px;\n\t\tmax-height: ", "px;\n\t}\n\n\t.ProseMirror {\n\t\tcolor: ", ";\n\t\tpadding: ", "px\n\t\t\t", "px;\n\n\t\t&:focus {\n\t\t\toutline: none;\n\t\t}\n\n\t\t.mark-token-keyword {\n\t\t\tcolor: ", ";\n\t\t}\n\n\t\t.mark-token-field {\n\t\t\tcolor: ", ";\n\t\t}\n\n\t\t.mark-token-operator {\n\t\t\tcolor: ", ";\n\t\t}\n\n\t\t.mark-token-error {\n\t\t\tcolor: ", ";\n\t\t\ttext-decoration: wavy underline;\n\t\t\ttext-decoration-thickness: 1px;\n\t\t\ttext-decoration-skip-ink: none;\n\t\t}\n\t}\n\n\tp {\n\t\tmargin: 0;\n\t\tcounter-increment: lineNumber;\n\t\tposition: relative;\n\n\t\t/* Show the current line number before each paragraph block. */\n\n\t\t&::before {\n\t\t\tcontent: counter(lineNumber);\n\t\t\tcolor: ", ";\n\t\t\tfont-size: 10px;\n\t\t\tline-height: ", ";\n\t\t\tpadding: 0 ", " 0 ", ";\n\t\t\tposition: absolute;\n\t\t\tbox-sizing: border-box;\n\t\t\t/* Shift the line number tag 100% (plus 8px padding) to the left to position it inside the LineNumberToolbar */\n\t\t\ttransform: translateX(calc(-100% - ", "));\n\n\t\t\t/* We can fit 3 digits before ellipses. This is not very responsive but saves us having to add expensive width\n recalculation logic to the LineNumberToolbar for a scenario that *should* never happen. */\n\t\t\tmax-width: 30px;\n\t\t\ttext-overflow: ellipsis;\n\t\t\toverflow: hidden;\n\t\t\twhite-space: nowrap;\n\n\t\t\t", "\n\t\t}\n\t}\n"])), function (props) {
98
120
  return rowHeight * props.defaultMaxRows + getEditorInputVerticalPadding(props.isCompact) * 2;
99
121
  }, rowHeight / (0, _constants.fontSize)(), (0, _constants.codeFontFamily)(), function (props) {
100
122
  return rowHeight * props.expandedRows + getEditorInputVerticalPadding(props.isCompact) * 2;
@@ -104,27 +126,32 @@ var EditorView = exports.EditorView = _styled.default.div(_templateObject2 || (_
104
126
  return getEditorInputVerticalPadding(props.isCompact);
105
127
  }, editorInputHorizontalPadding, "var(--ds-text-accent-purple, ".concat(_colors.P400, ")"), "var(--ds-text-accent-blue, ".concat(_colors.B300, ")"), "var(--ds-text-accent-green, ".concat(_colors.G300, ")"), "var(--ds-text-danger, ".concat(_colors.R400, ")"), "var(--ds-text-subtlest, ".concat(_colors.N100, ")"), rowHeight / 10, "var(--ds-space-100, 8px)", "var(--ds-space-025, 2px)", "var(--ds-space-100, 8px)", function (props) {
106
128
  return !props.lineNumbersVisible && // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
107
- (0, _react.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n display: none;\n "])));
129
+ (0, _react.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t\tdisplay: none;\n\t\t\t\t"])));
108
130
  });
109
131
 
110
132
  // FIXME: convert-props-syntax rule doesn't catch this
111
- // eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression
112
- var ReadOnlyEditorView = exports.ReadOnlyEditorView = (0, _styled.default)(EditorView)(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n /* We need to replicate padding from the inner prosemirror element in our read only state. That means we also need\n recompute max height excluding the child padding. */\n padding: ", "px\n ", "px;\n max-height: ", "px;\n\n > p {\n /* Prevent collapsing empty paragraphs */\n min-height: ", "px;\n }\n"])), function (props) {
133
+ // eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
134
+ var ReadOnlyEditorView = exports.ReadOnlyEditorView = (0, _styled.default)(EditorView)(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n\t/* We need to replicate padding from the inner prosemirror element in our read only state. That means we also need\n recompute max height excluding the child padding. */\n\tpadding: ", "px\n\t\t", "px;\n\tmax-height: ", "px;\n\n\t> p {\n\t\t/* Prevent collapsing empty paragraphs */\n\t\tmin-height: ", "px;\n\t}\n"])), function (props) {
113
135
  return getEditorInputVerticalPadding(props.isCompact);
114
136
  }, editorInputHorizontalPadding, function (props) {
115
137
  return rowHeight * props.defaultMaxRows;
116
138
  }, rowHeight);
139
+
140
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
117
141
  var EditorControls = exports.EditorControls = _styled.default.div(function (props) {
118
142
  return {
119
143
  alignItems: 'center',
120
144
  display: 'flex',
121
145
  flexShrink: 0,
122
146
  marginLeft: 'auto',
123
- marginRight: "".concat(props.isSearch ? getEditorInputVerticalPadding(props.isCompact) - 1 // the search button needs the same vertical & horizontal spacing
147
+ marginRight: "".concat(
148
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
149
+ props.isSearch ? getEditorInputVerticalPadding(props.isCompact) - 1 // the search button needs the same vertical & horizontal spacing
124
150
  : editorInputHorizontalPadding - 3, "px"),
125
151
  lineHeight: 'normal',
126
152
  position: 'sticky',
127
153
  top: 0,
154
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
128
155
  height: "".concat(rowHeight + 2 * getEditorInputVerticalPadding(props.isCompact), "px")
129
156
  };
130
157
  });
@@ -6,6 +6,9 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.StyledTooltipTag = void 0;
8
8
  var _styled = _interopRequireDefault(require("@emotion/styled"));
9
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
10
+
11
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
9
12
  var StyledTooltipTag = exports.StyledTooltipTag = _styled.default.div({
10
13
  display: 'flex'
11
14
  });
@@ -1,3 +1,6 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import styled from '@emotion/styled';
2
3
  import { hiddenMixin } from '../common/styled';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
3
6
  export const ScreenReaderText = styled.div(hiddenMixin);
@@ -13,11 +13,11 @@ export const sendEvent = (logger, client) => event => {
13
13
  ...event
14
14
  };
15
15
  /*
16
- Merging this ts-ignore is not going to affect the type definitions of the package
17
- there's a whole lot more wrong going on here than just this delete.
18
- All the send methods on the client take a GasPurePayload object which requires actionSubject
19
- actionSubject is missing on GasPayload | GasScreenEventPayload
20
- */
16
+ Merging this ts-ignore is not going to affect the type definitions of the package
17
+ there's a whole lot more wrong going on here than just this delete.
18
+ All the send methods on the client take a GasPurePayload object which requires actionSubject
19
+ actionSubject is missing on GasPayload | GasScreenEventPayload
20
+ */
21
21
  // @ts-ignore mergeable @fixme TypeScript 4.2.4 upgrade
22
22
  delete gasEvent.eventType;
23
23
  const withClient = cb => {
@@ -1,4 +1,4 @@
1
1
  import { ANALYTICS_CHANNEL, useJqlPackageAnalytics } from '@atlaskit/jql-editor-common';
2
2
  export const useJqlEditorAnalytics = analyticsSource => {
3
- return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "4.3.0", ANALYTICS_CHANNEL);
3
+ return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "4.3.2", ANALYTICS_CHANNEL);
4
4
  };
@@ -1,8 +1,10 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
4
  import styled from '@emotion/styled';
3
5
  import { fontFamily } from '@atlaskit/theme/constants';
4
6
 
5
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
7
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
6
8
  export const hiddenMixin = css({
7
9
  clip: 'rect(1px, 1px, 1px, 1px)',
8
10
  clipPath: 'inset(50%)',
@@ -14,6 +16,8 @@ export const hiddenMixin = css({
14
16
  padding: 0,
15
17
  position: 'absolute'
16
18
  });
19
+
20
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
17
21
  export const TooltipContent = styled.div({
18
22
  fontFamily: fontFamily()
19
23
  });