@atlaskit/jql-editor 6.2.1 → 6.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/accessibility/styled.js +7 -1
  3. package/dist/cjs/analytics/util.js +1 -1
  4. package/dist/cjs/async.js +5 -1
  5. package/dist/cjs/common/styled.js +5 -1
  6. package/dist/cjs/plugins/autocomplete/components/autocomplete-dropdown/styled.js +16 -4
  7. package/dist/cjs/plugins/autocomplete/components/autocomplete-option/styled.js +25 -7
  8. package/dist/cjs/plugins/rich-inline-nodes/nodes/base/index.js +3 -1
  9. package/dist/cjs/plugins/rich-inline-nodes/nodes/goal/goal-node.js +2 -2
  10. package/dist/cjs/plugins/rich-inline-nodes/nodes/team/styled.js +14 -6
  11. package/dist/cjs/plugins/rich-inline-nodes/nodes/user/styled.js +11 -3
  12. package/dist/cjs/plugins/rich-inline-nodes/util/react-node-view.js +1 -0
  13. package/dist/cjs/schema/index.js +1 -1
  14. package/dist/cjs/state/index.js +3 -0
  15. package/dist/cjs/ui/index.js +2 -1
  16. package/dist/cjs/ui/jql-editor/index.js +2 -1
  17. package/dist/cjs/ui/jql-editor-controls-content/base-expand-toggle/styled.js +7 -1
  18. package/dist/cjs/ui/jql-editor-controls-content/base-syntax-help/styled.js +7 -1
  19. package/dist/cjs/ui/jql-editor-footer-content/jql-editor-help/styled.js +5 -1
  20. package/dist/cjs/ui/jql-editor-footer-content/jql-messages/format/styled.js +10 -2
  21. package/dist/cjs/ui/jql-editor-layout/styled.js +36 -17
  22. package/dist/cjs/ui/jql-editor-view/index.js +4 -1
  23. package/dist/cjs/ui/tooltip-tag/styled.js +7 -1
  24. package/dist/es2019/accessibility/styled.js +7 -1
  25. package/dist/es2019/analytics/util.js +1 -1
  26. package/dist/es2019/async.js +6 -1
  27. package/dist/es2019/common/styled.js +5 -1
  28. package/dist/es2019/plugins/autocomplete/components/autocomplete-dropdown/styled.js +16 -4
  29. package/dist/es2019/plugins/autocomplete/components/autocomplete-option/styled.js +25 -7
  30. package/dist/es2019/plugins/rich-inline-nodes/nodes/base/index.js +3 -1
  31. package/dist/es2019/plugins/rich-inline-nodes/nodes/goal/goal-node.js +2 -2
  32. package/dist/es2019/plugins/rich-inline-nodes/nodes/team/styled.js +14 -6
  33. package/dist/es2019/plugins/rich-inline-nodes/nodes/user/styled.js +11 -3
  34. package/dist/es2019/plugins/rich-inline-nodes/util/react-node-view.js +1 -0
  35. package/dist/es2019/schema/index.js +2 -0
  36. package/dist/es2019/state/index.js +3 -0
  37. package/dist/es2019/ui/index.js +2 -1
  38. package/dist/es2019/ui/jql-editor/index.js +2 -1
  39. package/dist/es2019/ui/jql-editor-controls-content/base-expand-toggle/styled.js +7 -1
  40. package/dist/es2019/ui/jql-editor-controls-content/base-syntax-help/styled.js +7 -1
  41. package/dist/es2019/ui/jql-editor-footer-content/jql-editor-help/styled.js +5 -1
  42. package/dist/es2019/ui/jql-editor-footer-content/jql-messages/format/styled.js +10 -2
  43. package/dist/es2019/ui/jql-editor-layout/styled.js +126 -113
  44. package/dist/es2019/ui/jql-editor-view/index.js +4 -0
  45. package/dist/es2019/ui/tooltip-tag/styled.js +7 -1
  46. package/dist/esm/accessibility/styled.js +7 -1
  47. package/dist/esm/analytics/util.js +1 -1
  48. package/dist/esm/async.js +6 -1
  49. package/dist/esm/common/styled.js +5 -1
  50. package/dist/esm/plugins/autocomplete/components/autocomplete-dropdown/styled.js +16 -4
  51. package/dist/esm/plugins/autocomplete/components/autocomplete-option/styled.js +25 -7
  52. package/dist/esm/plugins/rich-inline-nodes/nodes/base/index.js +3 -1
  53. package/dist/esm/plugins/rich-inline-nodes/nodes/goal/goal-node.js +2 -2
  54. package/dist/esm/plugins/rich-inline-nodes/nodes/team/styled.js +14 -6
  55. package/dist/esm/plugins/rich-inline-nodes/nodes/user/styled.js +11 -3
  56. package/dist/esm/plugins/rich-inline-nodes/util/react-node-view.js +1 -0
  57. package/dist/esm/schema/index.js +2 -0
  58. package/dist/esm/state/index.js +3 -0
  59. package/dist/esm/ui/index.js +2 -1
  60. package/dist/esm/ui/jql-editor/index.js +2 -1
  61. package/dist/esm/ui/jql-editor-controls-content/base-expand-toggle/styled.js +7 -1
  62. package/dist/esm/ui/jql-editor-controls-content/base-syntax-help/styled.js +7 -1
  63. package/dist/esm/ui/jql-editor-footer-content/jql-editor-help/styled.js +5 -1
  64. package/dist/esm/ui/jql-editor-footer-content/jql-messages/format/styled.js +10 -2
  65. package/dist/esm/ui/jql-editor-layout/styled.js +37 -17
  66. package/dist/esm/ui/jql-editor-view/index.js +4 -1
  67. package/dist/esm/ui/tooltip-tag/styled.js +7 -1
  68. package/dist/types/accessibility/styled.d.ts +6 -3
  69. package/dist/types/analytics/util.d.ts +2 -1
  70. package/dist/types/async.d.ts +2 -1
  71. package/dist/types/common/messages.d.ts +1 -1
  72. package/dist/types/common/styled.d.ts +7 -4
  73. package/dist/types/hooks/use-editor-theme/index.d.ts +2 -1
  74. package/dist/types/plugins/autocomplete/components/autocomplete-dropdown/styled.d.ts +15 -12
  75. package/dist/types/plugins/autocomplete/components/autocomplete-option/messages.d.ts +2 -2
  76. package/dist/types/plugins/autocomplete/components/autocomplete-option/styled.d.ts +24 -21
  77. package/dist/types/plugins/autocomplete/messages.d.ts +1 -1
  78. package/dist/types/plugins/common/plugin-keymap.d.ts +2 -1
  79. package/dist/types/plugins/jql-ast/messages.d.ts +64 -64
  80. package/dist/types/plugins/rich-inline-nodes/nodes/goal/goal-icon.d.ts +1 -1
  81. package/dist/types/plugins/rich-inline-nodes/nodes/index.d.ts +9 -4
  82. package/dist/types/plugins/rich-inline-nodes/nodes/project/messages.d.ts +1 -1
  83. package/dist/types/plugins/rich-inline-nodes/nodes/team/styled.d.ts +12 -9
  84. package/dist/types/plugins/rich-inline-nodes/nodes/user/styled.d.ts +12 -9
  85. package/dist/types/plugins/rich-inline-nodes/util/react-node-view.d.ts +3 -3
  86. package/dist/types/state/index.d.ts +59 -894
  87. package/dist/types/ui/index.d.ts +2 -2
  88. package/dist/types/ui/jql-editor/index.d.ts +3 -3
  89. package/dist/types/ui/jql-editor-controls-content/base-expand-toggle/styled.d.ts +6 -3
  90. package/dist/types/ui/jql-editor-controls-content/base-syntax-help/styled.d.ts +6 -3
  91. package/dist/types/ui/jql-editor-controls-content/expand-toggle/messages.d.ts +5 -5
  92. package/dist/types/ui/jql-editor-controls-content/search/messages.d.ts +1 -1
  93. package/dist/types/ui/jql-editor-controls-content/syntax-help/messages.d.ts +2 -2
  94. package/dist/types/ui/jql-editor-footer-content/jql-editor-help/messages.d.ts +5 -5
  95. package/dist/types/ui/jql-editor-footer-content/jql-editor-help/styled.d.ts +6 -3
  96. package/dist/types/ui/jql-editor-footer-content/jql-messages/errors/messages.d.ts +1 -1
  97. package/dist/types/ui/jql-editor-footer-content/jql-messages/format/styled.d.ts +9 -6
  98. package/dist/types/ui/jql-editor-footer-content/jql-messages/warnings/messages.d.ts +5 -5
  99. package/dist/types/ui/jql-editor-layout/styled.d.ts +29 -26
  100. package/dist/types/ui/jql-editor-portal-provider/context.d.ts +2 -1
  101. package/dist/types/ui/messages.d.ts +1 -1
  102. package/dist/types/ui/tooltip-tag/styled.d.ts +6 -3
  103. package/dist/types-ts4.5/accessibility/styled.d.ts +6 -3
  104. package/dist/types-ts4.5/analytics/util.d.ts +2 -1
  105. package/dist/types-ts4.5/async.d.ts +2 -1
  106. package/dist/types-ts4.5/common/messages.d.ts +1 -1
  107. package/dist/types-ts4.5/common/styled.d.ts +7 -4
  108. package/dist/types-ts4.5/hooks/use-editor-theme/index.d.ts +2 -1
  109. package/dist/types-ts4.5/plugins/autocomplete/components/autocomplete-dropdown/styled.d.ts +15 -12
  110. package/dist/types-ts4.5/plugins/autocomplete/components/autocomplete-option/messages.d.ts +2 -2
  111. package/dist/types-ts4.5/plugins/autocomplete/components/autocomplete-option/styled.d.ts +24 -21
  112. package/dist/types-ts4.5/plugins/autocomplete/messages.d.ts +1 -1
  113. package/dist/types-ts4.5/plugins/common/plugin-keymap.d.ts +2 -1
  114. package/dist/types-ts4.5/plugins/jql-ast/messages.d.ts +64 -64
  115. package/dist/types-ts4.5/plugins/rich-inline-nodes/nodes/goal/goal-icon.d.ts +1 -1
  116. package/dist/types-ts4.5/plugins/rich-inline-nodes/nodes/index.d.ts +9 -4
  117. package/dist/types-ts4.5/plugins/rich-inline-nodes/nodes/project/messages.d.ts +1 -1
  118. package/dist/types-ts4.5/plugins/rich-inline-nodes/nodes/team/styled.d.ts +12 -9
  119. package/dist/types-ts4.5/plugins/rich-inline-nodes/nodes/user/styled.d.ts +12 -9
  120. package/dist/types-ts4.5/plugins/rich-inline-nodes/util/react-node-view.d.ts +3 -3
  121. package/dist/types-ts4.5/state/index.d.ts +59 -894
  122. package/dist/types-ts4.5/ui/index.d.ts +2 -2
  123. package/dist/types-ts4.5/ui/jql-editor/index.d.ts +3 -3
  124. package/dist/types-ts4.5/ui/jql-editor-controls-content/base-expand-toggle/styled.d.ts +6 -3
  125. package/dist/types-ts4.5/ui/jql-editor-controls-content/base-syntax-help/styled.d.ts +6 -3
  126. package/dist/types-ts4.5/ui/jql-editor-controls-content/expand-toggle/messages.d.ts +5 -5
  127. package/dist/types-ts4.5/ui/jql-editor-controls-content/search/messages.d.ts +1 -1
  128. package/dist/types-ts4.5/ui/jql-editor-controls-content/syntax-help/messages.d.ts +2 -2
  129. package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-editor-help/messages.d.ts +5 -5
  130. package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-editor-help/styled.d.ts +6 -3
  131. package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-messages/errors/messages.d.ts +1 -1
  132. package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-messages/format/styled.d.ts +9 -6
  133. package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-messages/warnings/messages.d.ts +5 -5
  134. package/dist/types-ts4.5/ui/jql-editor-layout/styled.d.ts +29 -26
  135. package/dist/types-ts4.5/ui/jql-editor-portal-provider/context.d.ts +2 -1
  136. package/dist/types-ts4.5/ui/messages.d.ts +1 -1
  137. package/dist/types-ts4.5/ui/tooltip-tag/styled.d.ts +6 -3
  138. package/package.json +8 -8
@@ -108,6 +108,7 @@ export var ReactNodeView = /*#__PURE__*/function () {
108
108
  // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
109
109
  this.portalKey = uuid();
110
110
  // Creating span under the assumption that all node views will be inline elements in JQL Editor
111
+ // eslint-disable-next-line @atlaskit/platform/no-direct-document-usage -- ProseMirror NodeView requires a real DOM container
111
112
  this.dom = document.createElement('span');
112
113
  this.dom.setAttribute('data-testid', 'jql-editor-node-view');
113
114
  }
@@ -2,6 +2,8 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
4
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
+ /* eslint-disable @atlaskit/platform/no-direct-document-usage -- ProseMirror schema uses document to build DOM markers */
6
+
5
7
  import mapValues from 'lodash/mapValues';
6
8
  import { baseKeymap } from '@atlaskit/editor-prosemirror/commands';
7
9
  import { keydownHandler, keymap } from '@atlaskit/editor-prosemirror/keymap';
@@ -81,6 +81,9 @@ export var initialState = {
81
81
  var isLineNumbersVisible = function isLineNumbersVisible(editorState) {
82
82
  return editorState.doc.childCount > 1;
83
83
  };
84
+
85
+ // Explicit type declaration for actions is required for IsoDec compliance
86
+
84
87
  export var actions = {
85
88
  onEditorViewBlur: function onEditorViewBlur() {
86
89
  return function (_ref) {
@@ -1,4 +1,5 @@
1
1
  import { withErrorBoundary } from './error-boundary';
2
2
  import { withIntlProvider } from './intl-provider';
3
3
  import JQLEditorUI from './jql-editor';
4
- export default withIntlProvider(withErrorBoundary(JQLEditorUI));
4
+ var _default_1 = withIntlProvider(withErrorBoundary(JQLEditorUI));
5
+ export default _default_1;
@@ -66,4 +66,5 @@ var JQLEditorInner = function JQLEditorInner(_ref) {
66
66
  inputRef: inputRef
67
67
  }))));
68
68
  };
69
- export default injectIntl(JQLEditorInner);
69
+ var _default_1 = injectIntl(JQLEditorInner);
70
+ export default _default_1;
@@ -1,7 +1,13 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
+
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
+
1
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
6
  import styled from '@emotion/styled';
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
8
+ export var ExpandToggleContainer =
3
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
4
- export var ExpandToggleContainer = styled.div({
10
+ styled.div({
5
11
  /* Override background styles for our button to match designs */
6
12
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
7
13
  '> button': {
@@ -1,7 +1,13 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
+
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
+
1
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
6
  import styled from '@emotion/styled';
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
8
+ export var SyntaxHelpContainer =
3
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
4
- export var SyntaxHelpContainer = styled.div({
10
+ styled.div({
5
11
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
6
12
  '> a': {
7
13
  background: "var(--ds-background-neutral-bold, #292A2E)",
@@ -1,10 +1,14 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
+
1
3
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
4
  import { css } from '@emotion/react';
3
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import styled from '@emotion/styled';
5
7
  import { hiddenMixin } from '../../../common/styled';
8
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
9
+ export var HelpContainer =
6
10
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
7
- export var HelpContainer = styled.div({
11
+ styled.div({
8
12
  display: 'flex',
9
13
  marginLeft: 'auto',
10
14
  marginRight: 0,
@@ -1,15 +1,23 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
+
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
+
1
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
6
  import styled from '@emotion/styled';
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
8
+ export var MessageContainer =
3
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
4
- export var MessageContainer = styled.div(function (props) {
10
+ styled.div(function (props) {
5
11
  return {
6
12
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
7
13
  paddingLeft: props.isSearch ? "var(--ds-space-100, 8px)" : "var(--ds-space-0, 0px)"
8
14
  };
9
15
  });
10
16
 
17
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
18
+ export var MessageList =
11
19
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
12
- export var MessageList = styled.ul({
20
+ styled.ul({
13
21
  margin: 0,
14
22
  paddingLeft: "var(--ds-space-300, 24px)"
15
23
  });
@@ -1,5 +1,7 @@
1
1
  import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
2
- var _templateObject, _templateObject2, _templateObject3, _templateObject4;
2
+ var _templateObject, _templateObject2, _templateObject3;
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
+
3
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { css, keyframes } from '@emotion/react';
5
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -25,11 +27,14 @@ var fadeOut = keyframes({
25
27
  }
26
28
  });
27
29
 
28
- // 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
29
- export var EditorMain = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t/* CSS reset */\n\tfont-family: ", ";\n\tfont-size: 14px;\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: ", ";\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"])), "var(--ds-font-family-body, \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)", TOOLTIP_CLASSNAME, "var(--ds-background-neutral-bold, #292A2E)", "var(--ds-text-inverse, #FFFFFF)", "var(--ds-radius-small, 3px)", "var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)", "var(--ds-space-025, 2px)", "var(--ds-space-075, 6px)", layers.tooltip(), "var(--ds-space-200, 16px)", TOOLTIP_ENTER_CLASSNAME, fadeIn, TOOLTIP_EXIT_CLASSNAME, fadeOut);
30
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
31
+ export var EditorMain = // 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
32
+ styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t\t/* CSS reset */\n\t\tfont-family: ", ";\n\t\tfont-size: 14px;\n\t\tflex-grow: 1;\n\n\t\t/* These styles and animations are derived from @atlaskit/tooltip */\n\n\t\t.", " {\n\t\t\tbackground-color: ", ";\n\t\t\tcolor: ", ";\n\t\t\tborder-radius: ", ";\n\t\t\tbox-sizing: border-box;\n\t\t\tfont: ", ";\n\t\t\tline-height: 1.3;\n\t\t\tmax-width: 240px;\n\t\t\tpadding: ", " ", ";\n\t\t\tword-wrap: break-word;\n\t\t\toverflow-wrap: break-word;\n\t\t\tz-index: ", ";\n\t\t\tpointer-events: none;\n\t\t\tposition: absolute;\n\t\t\tvisibility: hidden;\n\n\t\t\t/* Horizontally center and vertically position above the target element */\n\t\t\ttransform: translate(-50%, calc(-100% - ", "));\n\n\t\t\t&.", " {\n\t\t\t\tanimation: ", " 350ms cubic-bezier(0.15, 1, 0.3, 1);\n\t\t\t\tvisibility: visible;\n\t\t\t}\n\n\t\t\t&.", " {\n\t\t\t\tanimation: ", " 350ms cubic-bezier(0.15, 1, 0.3, 1);\n\t\t\t}\n\t\t}\n\t"])), "var(--ds-font-family-body, \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)", TOOLTIP_CLASSNAME, "var(--ds-background-neutral-bold, #292A2E)", "var(--ds-text-inverse, #FFFFFF)", "var(--ds-radius-small, 3px)", "var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)", "var(--ds-space-025, 2px)", "var(--ds-space-075, 6px)", layers.tooltip(), "var(--ds-space-200, 16px)", TOOLTIP_ENTER_CLASSNAME, fadeIn, TOOLTIP_EXIT_CLASSNAME, fadeOut);
30
33
 
34
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
35
+ export var EditorFooter =
31
36
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
32
- export var EditorFooter = styled.div({
37
+ styled.div({
33
38
  display: 'flex',
34
39
  justifyContent: 'space-between',
35
40
  minHeight: '20px'
@@ -42,8 +47,10 @@ var getEditorInputVerticalPadding = function getEditorInputVerticalPadding(isCom
42
47
  return isCompact ? 3 : 7;
43
48
  };
44
49
  var editorInputHorizontalPadding = 6;
50
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
51
+ export var EditorViewContainer =
45
52
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
46
- export var EditorViewContainer = styled.div({
53
+ styled.div({
47
54
  backgroundColor: "var(--ds-background-input, #FFFFFF)",
48
55
  borderStyle: 'solid',
49
56
  borderWidth: "var(--ds-border-width, 1px)",
@@ -82,15 +89,19 @@ function (props) {
82
89
  });
83
90
  });
84
91
 
92
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
93
+ export var ReadOnlyEditorViewContainer =
85
94
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
86
- export var ReadOnlyEditorViewContainer = styled(EditorViewContainer)({
95
+ styled(EditorViewContainer)({
87
96
  backgroundColor: "var(--ds-background-disabled, #17171708)",
88
97
  color: "var(--ds-text-disabled, #080F214A)",
89
98
  pointerEvents: 'none'
90
99
  });
91
100
 
101
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
102
+ export var LineNumberToolbar =
92
103
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
93
- export var LineNumberToolbar = styled.div({
104
+ styled.div({
94
105
  backgroundColor: "var(--ds-background-neutral, #0515240F)",
95
106
  flexShrink: 0,
96
107
  width: '30px',
@@ -109,8 +120,9 @@ function (props) {
109
120
  /**
110
121
  * The main div which the Prosemirror editor will be rendered into.
111
122
  */
112
- // 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
113
- export var EditorView = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\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\tline-height: ", ";\n\t", "\n\t", "\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) {
123
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
124
+ export var EditorView = // 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
125
+ styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n\t\tcounter-reset: lineNumber;\n\t\tflex-grow: 1;\n\n\t\ttransition:\n\t\t\theight 250ms cubic-bezier(0.15, 1, 0.3, 1),\n\t\t\tmax-height 250ms cubic-bezier(0.15, 1, 0.3, 1);\n\t\tmax-height: ", "px;\n\t\tline-height: ", ";\n\t\t", "\n\t\t", "\n\tfont-family: ", ";\n\t\tword-break: break-word;\n\t\toverflow-wrap: anywhere;\n\t\twhite-space: pre-wrap;\n\n\t\t&[data-expanded] {\n\t\t\theight: ", "px;\n\t\t\tmax-height: ", "px;\n\t\t}\n\n\t\t.ProseMirror {\n\t\t\tcolor: ", ";\n\t\t\tpadding: ", "px\n\t\t\t\t", "px;\n\n\t\t\t&:focus {\n\t\t\t\toutline: none;\n\t\t\t}\n\n\t\t\t.mark-token-keyword {\n\t\t\t\tcolor: ", ";\n\t\t\t}\n\n\t\t\t.mark-token-field {\n\t\t\t\tcolor: ", ";\n\t\t\t}\n\n\t\t\t.mark-token-operator {\n\t\t\t\tcolor: ", ";\n\t\t\t}\n\n\t\t\t.mark-token-error {\n\t\t\t\tcolor: ", ";\n\t\t\t\ttext-decoration: wavy underline;\n\t\t\t\ttext-decoration-thickness: 1px;\n\t\t\t\ttext-decoration-skip-ink: none;\n\t\t\t}\n\t\t}\n\n\t\tp {\n\t\t\tmargin: 0;\n\t\t\tcounter-increment: lineNumber;\n\t\t\tposition: relative;\n\n\t\t\t/* Show the current line number before each paragraph block. */\n\n\t\t\t&::before {\n\t\t\t\tcontent: counter(lineNumber);\n\t\t\t\tcolor: ", ";\n\t\t\t\tfont-size: 10px;\n\t\t\t\tline-height: ", ";\n\t\t\t\tpadding: 0 ", " 0 ", ";\n\t\t\t\tposition: absolute;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\t/* Shift the line number tag 100% (plus 8px padding) to the left to position it inside the LineNumberToolbar */\n\t\t\t\ttransform: translateX(calc(-100% - ", "));\n\n\t\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\t\tmax-width: 30px;\n\t\t\t\ttext-overflow: ellipsis;\n\t\t\t\toverflow: hidden;\n\t\t\t\twhite-space: nowrap;\n\n\t\t\t\t", "\n\t\t\t}\n\t\t}\n\t"])), function (props) {
114
126
  return rowHeight * props.defaultMaxRows + getEditorInputVerticalPadding(props.isCompact) * 2;
115
127
  }, rowHeight / 14, function (props) {
116
128
  return props.defaultRows && fg('list_lovability_improving_filters') ? 'height: ' + (rowHeight * props.defaultRows + getEditorInputVerticalPadding(props.isCompact) * 2) + 'px;' : '';
@@ -124,19 +136,27 @@ export var EditorView = styled.div(_templateObject2 || (_templateObject2 = _tagg
124
136
  return getEditorInputVerticalPadding(props.isCompact);
125
137
  }, editorInputHorizontalPadding, "var(--ds-text-accent-purple, #803FA5)", "var(--ds-text-accent-blue, #1558BC)", "var(--ds-text-accent-green, #216E4E)", "var(--ds-text-danger, #AE2E24)", "var(--ds-text-subtlest, #6B6E76)", rowHeight / 10, "var(--ds-space-100, 8px)", "var(--ds-space-025, 2px)", "var(--ds-space-100, 8px)", function (props) {
126
138
  return !props.lineNumbersVisible && // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
127
- css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\t\t\t\t\tdisplay: none;\n\t\t\t\t"])));
139
+ css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\t\t\t\t\t\tdisplay: none;\n\t\t\t\t\t"])));
128
140
  });
129
141
 
130
142
  // FIXME: convert-props-syntax rule doesn't catch this
131
- // 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
132
- export var ReadOnlyEditorView = styled(EditorView)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\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) {
133
- return getEditorInputVerticalPadding(props.isCompact);
134
- }, editorInputHorizontalPadding, function (props) {
135
- return rowHeight * props.defaultMaxRows;
136
- }, rowHeight);
143
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
144
+ export var ReadOnlyEditorView = /* eslint-disable @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-dynamic-styles, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766 */
145
+ styled(EditorView)(function (props) {
146
+ return {
147
+ padding: "".concat(getEditorInputVerticalPadding(props.isCompact), "px ").concat(editorInputHorizontalPadding, "px"),
148
+ maxHeight: "".concat(rowHeight * props.defaultMaxRows, "px"),
149
+ '> p': {
150
+ minHeight: "".concat(rowHeight, "px")
151
+ }
152
+ };
153
+ });
154
+ /* eslint-enable @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-dynamic-styles, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-nested-selectors */
137
155
 
156
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
157
+ export var EditorControls =
138
158
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
139
- export var EditorControls = styled.div(function (props) {
159
+ styled.div(function (props) {
140
160
  return {
141
161
  alignItems: 'center',
142
162
  display: 'flex',
@@ -4,6 +4,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
4
4
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
5
  import React, { useCallback, useEffect, useImperativeHandle, useMemo, useRef } from 'react';
6
6
  import throttle from 'lodash/throttle';
7
+ import { fg } from '@atlaskit/platform-feature-flags';
7
8
  import { JQL_EDITOR_AUTOCOMPLETE_ID, JQL_EDITOR_HELP_CONTENT_ID, JQL_EDITOR_INPUT_ID, JQL_EDITOR_MAIN_ID, JQL_EDITOR_VALIDATION_ID } from '../../common/constants';
8
9
  import { useEditorThemeContext } from '../../hooks/use-editor-theme';
9
10
  import { useEditorViewIsInvalid } from '../../hooks/use-editor-view-is-invalid';
@@ -102,7 +103,7 @@ var JQLEditorView = function JQLEditorView(_ref) {
102
103
 
103
104
  // Compute HTML attributes to be applied to the Prosemirror editor view
104
105
  var getAttributes = useCallback(function () {
105
- return _objectSpread(_objectSpread({
106
+ return _objectSpread(_objectSpread(_objectSpread({
106
107
  id: editorId,
107
108
  'data-vc': JQL_EDITOR_INPUT_ID,
108
109
  'data-testid': 'jql-editor-input',
@@ -121,6 +122,8 @@ var JQLEditorView = function JQLEditorView(_ref) {
121
122
  'aria-activedescendant': selectedOptionId
122
123
  }), editorViewIsInvalid && {
123
124
  'aria-invalid': 'true'
125
+ }), fg('empanda_jql-editor_fix_tab_select_in_popup') && {
126
+ tabindex: '0'
124
127
  });
125
128
  }, [editorId, isAutocompleteOpen, intl, autocompleteId, editorViewIsInvalid, validationId, helpContentId, selectedOptionId]);
126
129
 
@@ -1,7 +1,13 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
+
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
+
1
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
6
  import styled from '@emotion/styled';
3
7
 
8
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
9
+ export var StyledTooltipTag =
4
10
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
5
- export var StyledTooltipTag = styled.div({
11
+ styled.div({
6
12
  display: 'flex'
7
13
  });
@@ -1,4 +1,7 @@
1
- export declare const ScreenReaderText: import("@emotion/styled").StyledComponent<{
2
- theme?: import("@emotion/react").Theme;
1
+ import type { DetailedHTMLProps, HTMLAttributes } from 'react';
2
+ import type { Theme } from '@emotion/react';
3
+ import { type StyledComponent } from '@emotion/styled';
4
+ export declare const ScreenReaderText: StyledComponent<{
3
5
  as?: React.ElementType;
4
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
+ theme?: Theme;
7
+ }, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,4 +1,5 @@
1
+ import { type JqlAnalyticsEvent } from '@atlaskit/jql-editor-common';
1
2
  import { type Action, type ActionSubject, type ActionSubjectId } from './constants';
2
3
  export declare const useJqlEditorAnalytics: (analyticsSource: string) => {
3
- createAndFireAnalyticsEvent: (payload: import("@atlaskit/jql-editor-common").JqlAnalyticsEvent<Action, ActionSubject, ActionSubjectId>) => void;
4
+ createAndFireAnalyticsEvent: (payload: JqlAnalyticsEvent<Action, ActionSubject, ActionSubjectId>) => void;
4
5
  };
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
2
  import { type JQLEditorProps } from './ui/types';
3
- export declare const preloadJQLEditor: () => import("react-loosely-lazy/dist/types/cleanup").Cleanup;
3
+ import type { Cleanup } from 'react-loosely-lazy/dist/types/cleanup';
4
+ export declare const preloadJQLEditor: () => Cleanup;
4
5
  export declare const JQLEditorAsync: (props: JQLEditorProps) => React.JSX.Element;
@@ -1,7 +1,7 @@
1
1
  export declare const commonMessages: {
2
2
  unknownError: {
3
- id: string;
4
3
  defaultMessage: string;
5
4
  description: string;
5
+ id: string;
6
6
  };
7
7
  };
@@ -1,5 +1,8 @@
1
- export declare const hiddenMixin: import("@emotion/utils").SerializedStyles;
2
- export declare const TooltipContent: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme;
1
+ import type { DetailedHTMLProps, HTMLAttributes } from 'react';
2
+ import { type SerializedStyles, type Theme } from '@emotion/react';
3
+ import { type StyledComponent } from '@emotion/styled';
4
+ export declare const hiddenMixin: SerializedStyles;
5
+ export declare const TooltipContent: StyledComponent<{
4
6
  as?: React.ElementType;
5
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
+ theme?: Theme;
8
+ }, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,3 +1,4 @@
1
+ import { type Context } from 'react';
1
2
  export type EditorTheme = {
2
3
  /**
3
4
  * The maximum number of rows that are visible in the default editor view.
@@ -30,7 +31,7 @@ export type EditorTheme = {
30
31
  */
31
32
  toggleExpanded: () => void;
32
33
  };
33
- export declare const EditorThemeContext: import("react").Context<EditorTheme>;
34
+ export declare const EditorThemeContext: Context<EditorTheme>;
34
35
  /**
35
36
  * Hook to manage the theming state of the editor.
36
37
  */
@@ -1,21 +1,24 @@
1
- export declare const AutocompleteContainer: import("@emotion/styled").StyledComponent<{
2
- theme?: import("@emotion/react").Theme;
1
+ import type { DetailedHTMLProps, HTMLAttributes } from 'react';
2
+ import type { Theme } from '@emotion/react';
3
+ import { type StyledComponent } from '@emotion/styled';
4
+ export declare const AutocompleteContainer: StyledComponent<{
3
5
  as?: React.ElementType;
6
+ theme?: Theme;
4
7
  } & {
5
8
  isOpen: boolean;
6
9
  usePopper?: boolean;
7
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
- export declare const AutocompleteOptionsContainer: import("@emotion/styled").StyledComponent<{
9
- theme?: import("@emotion/react").Theme;
10
+ }, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
+ export declare const AutocompleteOptionsContainer: StyledComponent<{
10
12
  as?: React.ElementType;
11
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
12
- export declare const OptionList: import("@emotion/styled").StyledComponent<{
13
- theme?: import("@emotion/react").Theme;
13
+ theme?: Theme;
14
+ }, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
15
+ export declare const OptionList: StyledComponent<{
14
16
  as?: React.ElementType;
15
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
16
- export declare const AutocompleteLoadingFooter: import("@emotion/styled").StyledComponent<{
17
- theme?: import("@emotion/react").Theme;
17
+ theme?: Theme;
18
+ }, DetailedHTMLProps<HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
19
+ export declare const AutocompleteLoadingFooter: StyledComponent<{
18
20
  as?: React.ElementType;
21
+ theme?: Theme;
19
22
  } & {
20
23
  hasOptions: boolean;
21
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
24
+ }, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,12 +1,12 @@
1
1
  export declare const messages: {
2
2
  deprecatedFieldTooltipDefaultMessage: {
3
- id: string;
4
3
  defaultMessage: string;
5
4
  description: string;
5
+ id: string;
6
6
  };
7
7
  deprecatedFieldTooltipParentReplacementMessage: {
8
- id: string;
9
8
  defaultMessage: string;
10
9
  description: string;
10
+ id: string;
11
11
  };
12
12
  };
@@ -1,31 +1,34 @@
1
- export declare const TooltipContent: import("@emotion/styled").StyledComponent<{
2
- theme?: import("@emotion/react").Theme;
1
+ import type { DetailedHTMLProps, HTMLAttributes, LiHTMLAttributes } from 'react';
2
+ import type { Theme } from '@emotion/react';
3
+ import { type StyledComponent } from '@emotion/styled';
4
+ export declare const TooltipContent: StyledComponent<{
3
5
  as?: React.ElementType;
4
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
- export declare const OptionListItem: import("@emotion/styled").StyledComponent<{
6
- theme?: import("@emotion/react").Theme;
6
+ theme?: Theme;
7
+ }, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
+ export declare const OptionListItem: StyledComponent<{
7
9
  as?: React.ElementType;
10
+ theme?: Theme;
8
11
  } & {
9
12
  isDeprecated: boolean;
10
13
  isSelected: boolean;
11
- }, import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
12
- export declare const OptionName: import("@emotion/styled").StyledComponent<{
13
- theme?: import("@emotion/react").Theme;
14
+ }, DetailedHTMLProps<LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
15
+ export declare const OptionName: StyledComponent<{
14
16
  as?: React.ElementType;
15
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
16
- export declare const DeprecatedOptionContainer: import("@emotion/styled").StyledComponent<{
17
- theme?: import("@emotion/react").Theme;
17
+ theme?: Theme;
18
+ }, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
19
+ export declare const DeprecatedOptionContainer: StyledComponent<{
18
20
  as?: React.ElementType;
19
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
20
- export declare const OptionHighlight: import("@emotion/styled").StyledComponent<{
21
- theme?: import("@emotion/react").Theme;
21
+ theme?: Theme;
22
+ }, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
23
+ export declare const OptionHighlight: StyledComponent<{
22
24
  as?: React.ElementType;
23
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
24
- export declare const FieldType: import("@emotion/styled").StyledComponent<{
25
- theme?: import("@emotion/react").Theme;
25
+ theme?: Theme;
26
+ }, DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
27
+ export declare const FieldType: StyledComponent<{
26
28
  as?: React.ElementType;
27
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
28
- export declare const FieldTypeIcon: import("@emotion/styled").StyledComponent<{
29
- theme?: import("@emotion/react").Theme;
29
+ theme?: Theme;
30
+ }, DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
31
+ export declare const FieldTypeIcon: StyledComponent<{
30
32
  as?: React.ElementType;
31
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
33
+ theme?: Theme;
34
+ }, DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
@@ -1,7 +1,7 @@
1
1
  export declare const messages: {
2
2
  optionsFound: {
3
- id: string;
4
3
  defaultMessage: string;
5
4
  description: string;
5
+ id: string;
6
6
  };
7
7
  };
@@ -1,7 +1,8 @@
1
+ import { type JQLEditorCommand } from '../../schema';
1
2
  export declare class PluginKeymap {
2
3
  private keymap;
3
4
  bindKey(key: string, handler: () => boolean): void;
4
5
  bindMultipleKeys(keys: string[], handler: () => boolean): void;
5
6
  unbindKey(key: string): void;
6
- getKeyBinding(key: string): import("../../schema").JQLEditorCommand;
7
+ getKeyBinding(key: string): JQLEditorCommand;
7
8
  }