@atlaskit/jql-editor 5.8.5 → 5.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/cjs/analytics/util.js +1 -1
  3. package/dist/cjs/plugins/rich-inline-nodes/nodes/user/index.js +7 -2
  4. package/dist/cjs/plugins/rich-inline-nodes/nodes/user/styled.js +18 -0
  5. package/dist/cjs/ui/jql-editor-layout/index.js +3 -1
  6. package/dist/es2019/analytics/util.js +1 -1
  7. package/dist/es2019/plugins/rich-inline-nodes/nodes/user/index.js +5 -2
  8. package/dist/es2019/plugins/rich-inline-nodes/nodes/user/styled.js +18 -0
  9. package/dist/es2019/ui/jql-editor-layout/index.js +3 -1
  10. package/dist/esm/analytics/util.js +1 -1
  11. package/dist/esm/plugins/rich-inline-nodes/nodes/user/index.js +5 -2
  12. package/dist/esm/plugins/rich-inline-nodes/nodes/user/styled.js +18 -0
  13. package/dist/esm/ui/jql-editor-layout/index.js +3 -1
  14. package/dist/types/plugins/autocomplete/components/autocomplete-dropdown/index.d.ts +1 -1
  15. package/dist/types/ui/index.d.ts +1 -1
  16. package/dist/types/ui/jql-editor/types.d.ts +1 -0
  17. package/dist/types/ui/jql-editor-controls-content/base-expand-toggle/index.d.ts +1 -1
  18. package/dist/types/ui/jql-editor-controls-content/base-search/index.d.ts +1 -1
  19. package/dist/types/ui/jql-editor-controls-content/base-syntax-help/index.d.ts +1 -1
  20. package/dist/types/ui/jql-editor-footer-content/jql-messages/format/index.d.ts +2 -2
  21. package/dist/types/ui/jql-editor-portal-provider/index.d.ts +1 -1
  22. package/dist/types/ui/jql-editor-view/index.d.ts +1 -1
  23. package/dist/types-ts4.5/plugins/autocomplete/components/autocomplete-dropdown/index.d.ts +1 -1
  24. package/dist/types-ts4.5/ui/index.d.ts +1 -1
  25. package/dist/types-ts4.5/ui/jql-editor/types.d.ts +1 -0
  26. package/dist/types-ts4.5/ui/jql-editor-controls-content/base-expand-toggle/index.d.ts +1 -1
  27. package/dist/types-ts4.5/ui/jql-editor-controls-content/base-search/index.d.ts +1 -1
  28. package/dist/types-ts4.5/ui/jql-editor-controls-content/base-syntax-help/index.d.ts +1 -1
  29. package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-messages/format/index.d.ts +2 -2
  30. package/dist/types-ts4.5/ui/jql-editor-portal-provider/index.d.ts +1 -1
  31. package/dist/types-ts4.5/ui/jql-editor-view/index.d.ts +1 -1
  32. package/package.json +9 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/jql-editor
2
2
 
3
+ ## 5.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`ba2562ba99b34`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ba2562ba99b34) -
8
+ display avatar appearance based on appType (e.g. hexagon for appType 'agent')
9
+
3
10
  ## 5.8.5
4
11
 
5
12
  ### Patch Changes
@@ -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", "0.0.0-development", _jqlEditorCommon.ANALYTICS_CHANNEL);
9
+ return (0, _jqlEditorCommon.useJqlPackageAnalytics)(analyticsSource, "@atlaskit/jql-editor", "5.8.5", _jqlEditorCommon.ANALYTICS_CHANNEL);
10
10
  };
@@ -1,16 +1,20 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ var _typeof = require("@babel/runtime/helpers/typeof");
4
5
  Object.defineProperty(exports, "__esModule", {
5
6
  value: true
6
7
  });
7
8
  exports.user = void 0;
8
9
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
9
10
  var _react = _interopRequireDefault(require("react"));
10
- var _avatar = _interopRequireDefault(require("@atlaskit/avatar"));
11
+ var _avatar = _interopRequireWildcard(require("@atlaskit/avatar"));
12
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
11
13
  var _state = require("../../../../state");
12
14
  var _styled = require("./styled");
15
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
13
16
  var User = function User(_ref) {
17
+ var _user$appType;
14
18
  var id = _ref.id,
15
19
  name = _ref.name,
16
20
  fieldName = _ref.fieldName,
@@ -28,7 +32,8 @@ var User = function User(_ref) {
28
32
  }, /*#__PURE__*/_react.default.createElement(_styled.AvatarWrapper, null, /*#__PURE__*/_react.default.createElement(_avatar.default, {
29
33
  src: user === null || user === void 0 ? void 0 : user.avatarUrl,
30
34
  borderColor: "transparent",
31
- size: "xsmall"
35
+ size: "xsmall",
36
+ appearance: (0, _platformFeatureFlags.fg)('jira_ai_agent_avatar_with_apptype_for_jql') ? (0, _avatar.getAppearanceForAppType)((_user$appType = user === null || user === void 0 ? void 0 : user.appType) !== null && _user$appType !== void 0 ? _user$appType : null) : undefined
32
37
  })), /*#__PURE__*/_react.default.createElement(_styled.NameContainer, null, name));
33
38
  };
34
39
  var user = exports.user = {
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.UserContainer = exports.NameContainer = exports.AvatarWrapper = void 0;
8
8
  var _react = require("@emotion/react");
9
9
  var _styled = _interopRequireDefault(require("@emotion/styled"));
10
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
10
11
  var _colors = require("@atlaskit/theme/colors");
11
12
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
12
13
 
@@ -96,4 +97,21 @@ var AvatarWrapper = exports.AvatarWrapper = _styled.default.div({
96
97
  position: 'relative',
97
98
  top: '-2px'
98
99
  }
100
+ },
101
+ // Feature-flagged styles for hexagon avatar alignment
102
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
103
+ function () {
104
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
105
+ if ((0, _platformFeatureFlags.fg)('jira_ai_agent_avatar_with_apptype_for_jql')) {
106
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
107
+ return (0, _react.css)({
108
+ // Fix hexagon avatar alignment by targeting the hexagon focus container
109
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
110
+ '> div [data-testid="hexagon-focus-container"]': {
111
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-space -- This design is very particular, and there is not a design token for this
112
+ marginTop: '-3.5px'
113
+ }
114
+ });
115
+ }
116
+ return null;
99
117
  });
@@ -93,7 +93,9 @@ var JQLEditorReadOnlyWithoutTheme = function JQLEditorReadOnlyWithoutTheme(_ref)
93
93
  // Therefore the autocomplete combobox is never shown to the users
94
94
  ,
95
95
  "aria-expanded": false,
96
- "aria-controls": "dummy-jql-editor-auto-complete-id",
96
+ "aria-controls": "dummy-jql-editor-auto-complete-id"
97
+ // eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
98
+ ,
97
99
  "aria-label": "JQL query",
98
100
  defaultRows: defaultRows
99
101
  }, blocks.map(function (block, index) {
@@ -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", "0.0.0-development", ANALYTICS_CHANNEL);
3
+ return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "5.8.5", ANALYTICS_CHANNEL);
4
4
  };
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
- import Avatar from '@atlaskit/avatar';
2
+ import Avatar, { getAppearanceForAppType } from '@atlaskit/avatar';
3
+ import { fg } from '@atlaskit/platform-feature-flags';
3
4
  import { useHydratedUser } from '../../../../state';
4
5
  import { AvatarWrapper, NameContainer, UserContainer } from './styled';
5
6
  const User = ({
@@ -9,6 +10,7 @@ const User = ({
9
10
  selected,
10
11
  error
11
12
  }) => {
13
+ var _user$appType;
12
14
  const [user] = useHydratedUser({
13
15
  id,
14
16
  fieldName
@@ -19,7 +21,8 @@ const User = ({
19
21
  }, /*#__PURE__*/React.createElement(AvatarWrapper, null, /*#__PURE__*/React.createElement(Avatar, {
20
22
  src: user === null || user === void 0 ? void 0 : user.avatarUrl,
21
23
  borderColor: "transparent",
22
- size: "xsmall"
24
+ size: "xsmall",
25
+ appearance: fg('jira_ai_agent_avatar_with_apptype_for_jql') ? getAppearanceForAppType((_user$appType = user === null || user === void 0 ? void 0 : user.appType) !== null && _user$appType !== void 0 ? _user$appType : null) : undefined
23
26
  })), /*#__PURE__*/React.createElement(NameContainer, null, name));
24
27
  };
25
28
  export const user = {
@@ -2,6 +2,7 @@
2
2
  import { css } from '@emotion/react';
3
3
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
4
  import styled from '@emotion/styled';
5
+ import { fg } from '@atlaskit/platform-feature-flags';
5
6
  import { N0, N40, N50, N500, R400 } from '@atlaskit/theme/colors';
6
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
7
8
  export const UserContainer = styled.span({
@@ -88,4 +89,21 @@ export const AvatarWrapper = styled.div({
88
89
  position: 'relative',
89
90
  top: '-2px'
90
91
  }
92
+ },
93
+ // Feature-flagged styles for hexagon avatar alignment
94
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
95
+ () => {
96
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
97
+ if (fg('jira_ai_agent_avatar_with_apptype_for_jql')) {
98
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
99
+ return css({
100
+ // Fix hexagon avatar alignment by targeting the hexagon focus container
101
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
102
+ '> div [data-testid="hexagon-focus-container"]': {
103
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-space -- This design is very particular, and there is not a design token for this
104
+ marginTop: '-3.5px'
105
+ }
106
+ });
107
+ }
108
+ return null;
91
109
  });
@@ -90,7 +90,9 @@ const JQLEditorReadOnlyWithoutTheme = ({
90
90
  // Therefore the autocomplete combobox is never shown to the users
91
91
  ,
92
92
  "aria-expanded": false,
93
- "aria-controls": "dummy-jql-editor-auto-complete-id",
93
+ "aria-controls": "dummy-jql-editor-auto-complete-id"
94
+ // eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
95
+ ,
94
96
  "aria-label": "JQL query",
95
97
  defaultRows: defaultRows
96
98
  }, blocks.map((block, index) => /*#__PURE__*/React.createElement(Box, {
@@ -1,4 +1,4 @@
1
1
  import { ANALYTICS_CHANNEL, useJqlPackageAnalytics } from '@atlaskit/jql-editor-common';
2
2
  export var useJqlEditorAnalytics = function useJqlEditorAnalytics(analyticsSource) {
3
- return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "0.0.0-development", ANALYTICS_CHANNEL);
3
+ return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "5.8.5", ANALYTICS_CHANNEL);
4
4
  };
@@ -1,9 +1,11 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
2
  import React from 'react';
3
- import Avatar from '@atlaskit/avatar';
3
+ import Avatar, { getAppearanceForAppType } from '@atlaskit/avatar';
4
+ import { fg } from '@atlaskit/platform-feature-flags';
4
5
  import { useHydratedUser } from '../../../../state';
5
6
  import { AvatarWrapper, NameContainer, UserContainer } from './styled';
6
7
  var User = function User(_ref) {
8
+ var _user$appType;
7
9
  var id = _ref.id,
8
10
  name = _ref.name,
9
11
  fieldName = _ref.fieldName,
@@ -21,7 +23,8 @@ var User = function User(_ref) {
21
23
  }, /*#__PURE__*/React.createElement(AvatarWrapper, null, /*#__PURE__*/React.createElement(Avatar, {
22
24
  src: user === null || user === void 0 ? void 0 : user.avatarUrl,
23
25
  borderColor: "transparent",
24
- size: "xsmall"
26
+ size: "xsmall",
27
+ appearance: fg('jira_ai_agent_avatar_with_apptype_for_jql') ? getAppearanceForAppType((_user$appType = user === null || user === void 0 ? void 0 : user.appType) !== null && _user$appType !== void 0 ? _user$appType : null) : undefined
25
28
  })), /*#__PURE__*/React.createElement(NameContainer, null, name));
26
29
  };
27
30
  export var user = {
@@ -2,6 +2,7 @@
2
2
  import { css } from '@emotion/react';
3
3
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
4
  import styled from '@emotion/styled';
5
+ import { fg } from '@atlaskit/platform-feature-flags';
5
6
  import { N0, N40, N50, N500, R400 } from '@atlaskit/theme/colors';
6
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
7
8
  export var UserContainer = styled.span({
@@ -87,4 +88,21 @@ export var AvatarWrapper = styled.div({
87
88
  position: 'relative',
88
89
  top: '-2px'
89
90
  }
91
+ },
92
+ // Feature-flagged styles for hexagon avatar alignment
93
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
94
+ function () {
95
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
96
+ if (fg('jira_ai_agent_avatar_with_apptype_for_jql')) {
97
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
98
+ return css({
99
+ // Fix hexagon avatar alignment by targeting the hexagon focus container
100
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
101
+ '> div [data-testid="hexagon-focus-container"]': {
102
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-space -- This design is very particular, and there is not a design token for this
103
+ marginTop: '-3.5px'
104
+ }
105
+ });
106
+ }
107
+ return null;
90
108
  });
@@ -87,7 +87,9 @@ var JQLEditorReadOnlyWithoutTheme = function JQLEditorReadOnlyWithoutTheme(_ref)
87
87
  // Therefore the autocomplete combobox is never shown to the users
88
88
  ,
89
89
  "aria-expanded": false,
90
- "aria-controls": "dummy-jql-editor-auto-complete-id",
90
+ "aria-controls": "dummy-jql-editor-auto-complete-id"
91
+ // eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
92
+ ,
91
93
  "aria-label": "JQL query",
92
94
  defaultRows: defaultRows
93
95
  }, blocks.map(function (block, index) {
@@ -7,5 +7,5 @@ type Props = {
7
7
  onClick: (option: SelectableAutocompleteOption, analyticsAttributes: AutocompleteAnalyticsAttributes) => void;
8
8
  options: SelectableAutocompleteOption[];
9
9
  };
10
- declare const AutocompleteDropdown: ({ options, loading, keymap, onClick }: Props) => React.JSX.Element | null;
10
+ declare const AutocompleteDropdown: ({ options, loading, keymap, onClick, }: Props) => React.JSX.Element | null;
11
11
  export default AutocompleteDropdown;
@@ -1,3 +1,3 @@
1
1
  import { type JQLEditorProps } from './types';
2
- declare const _default: (props: JQLEditorProps) => import("react").JSX.Element;
2
+ declare const _default: (props: JQLEditorProps) => React.JSX.Element;
3
3
  export default _default;
@@ -7,6 +7,7 @@ export type HydratedUser = {
7
7
  id: string;
8
8
  name: string;
9
9
  type: 'user';
10
+ appType?: string | null;
10
11
  };
11
12
  export type HydratedTeam = {
12
13
  avatarUrl: string;
@@ -6,5 +6,5 @@ type Props = {
6
6
  label: string;
7
7
  onClick: () => void;
8
8
  };
9
- export declare const BaseExpandToggle: ({ expanded, editorId, isDisabled, label, onClick }: Props) => React.JSX.Element;
9
+ export declare const BaseExpandToggle: ({ expanded, editorId, isDisabled, label, onClick, }: Props) => React.JSX.Element;
10
10
  export {};
@@ -5,5 +5,5 @@ type Props = {
5
5
  label: string;
6
6
  onSearch: () => void;
7
7
  };
8
- export declare const BaseSearch: ({ isDisabled, isSearching, label, onSearch }: Props) => React.JSX.Element;
8
+ export declare const BaseSearch: ({ isDisabled, isSearching, label, onSearch, }: Props) => React.JSX.Element;
9
9
  export {};
@@ -5,5 +5,5 @@ type Props = {
5
5
  label: string;
6
6
  onClick: (e: MouseEvent<HTMLElement>) => void;
7
7
  };
8
- export declare const BaseSyntaxHelp: ({ describedby, isDisabled, label, onClick }: Props) => React.JSX.Element;
8
+ export declare const BaseSyntaxHelp: ({ describedby, isDisabled, label, onClick, }: Props) => React.JSX.Element;
9
9
  export {};
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import { type ExternalMessage } from '../../../../state/types';
3
- export declare const MessageContainer: ({ children }: {
3
+ export declare const MessageContainer: ({ children, }: {
4
4
  children: React.ReactNode;
5
5
  }) => React.JSX.Element;
6
- export declare const FormatMessages: ({ messages }: {
6
+ export declare const FormatMessages: ({ messages, }: {
7
7
  messages: ExternalMessage[];
8
8
  }) => React.JSX.Element | null;
9
9
  /**
@@ -2,6 +2,6 @@ import React, { type ReactNode } from 'react';
2
2
  /**
3
3
  * Provides actions to manage portals via context and renders portalled components into the React tree.
4
4
  */
5
- export declare const JQLEditorPortalRenderer: ({ children }: {
5
+ export declare const JQLEditorPortalRenderer: ({ children, }: {
6
6
  children: ReactNode;
7
7
  }) => React.JSX.Element;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  /**
3
3
  * This wraps ProseMirror's EditorView as a React component.
4
4
  */
5
- declare const JQLEditorView: ({ inputRef }: {
5
+ declare const JQLEditorView: ({ inputRef, }: {
6
6
  inputRef?: React.Ref<{
7
7
  focus: () => void;
8
8
  }>;
@@ -7,5 +7,5 @@ type Props = {
7
7
  onClick: (option: SelectableAutocompleteOption, analyticsAttributes: AutocompleteAnalyticsAttributes) => void;
8
8
  options: SelectableAutocompleteOption[];
9
9
  };
10
- declare const AutocompleteDropdown: ({ options, loading, keymap, onClick }: Props) => React.JSX.Element | null;
10
+ declare const AutocompleteDropdown: ({ options, loading, keymap, onClick, }: Props) => React.JSX.Element | null;
11
11
  export default AutocompleteDropdown;
@@ -1,3 +1,3 @@
1
1
  import { type JQLEditorProps } from './types';
2
- declare const _default: (props: JQLEditorProps) => import("react").JSX.Element;
2
+ declare const _default: (props: JQLEditorProps) => React.JSX.Element;
3
3
  export default _default;
@@ -7,6 +7,7 @@ export type HydratedUser = {
7
7
  id: string;
8
8
  name: string;
9
9
  type: 'user';
10
+ appType?: string | null;
10
11
  };
11
12
  export type HydratedTeam = {
12
13
  avatarUrl: string;
@@ -6,5 +6,5 @@ type Props = {
6
6
  label: string;
7
7
  onClick: () => void;
8
8
  };
9
- export declare const BaseExpandToggle: ({ expanded, editorId, isDisabled, label, onClick }: Props) => React.JSX.Element;
9
+ export declare const BaseExpandToggle: ({ expanded, editorId, isDisabled, label, onClick, }: Props) => React.JSX.Element;
10
10
  export {};
@@ -5,5 +5,5 @@ type Props = {
5
5
  label: string;
6
6
  onSearch: () => void;
7
7
  };
8
- export declare const BaseSearch: ({ isDisabled, isSearching, label, onSearch }: Props) => React.JSX.Element;
8
+ export declare const BaseSearch: ({ isDisabled, isSearching, label, onSearch, }: Props) => React.JSX.Element;
9
9
  export {};
@@ -5,5 +5,5 @@ type Props = {
5
5
  label: string;
6
6
  onClick: (e: MouseEvent<HTMLElement>) => void;
7
7
  };
8
- export declare const BaseSyntaxHelp: ({ describedby, isDisabled, label, onClick }: Props) => React.JSX.Element;
8
+ export declare const BaseSyntaxHelp: ({ describedby, isDisabled, label, onClick, }: Props) => React.JSX.Element;
9
9
  export {};
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import { type ExternalMessage } from '../../../../state/types';
3
- export declare const MessageContainer: ({ children }: {
3
+ export declare const MessageContainer: ({ children, }: {
4
4
  children: React.ReactNode;
5
5
  }) => React.JSX.Element;
6
- export declare const FormatMessages: ({ messages }: {
6
+ export declare const FormatMessages: ({ messages, }: {
7
7
  messages: ExternalMessage[];
8
8
  }) => React.JSX.Element | null;
9
9
  /**
@@ -2,6 +2,6 @@ import React, { type ReactNode } from 'react';
2
2
  /**
3
3
  * Provides actions to manage portals via context and renders portalled components into the React tree.
4
4
  */
5
- export declare const JQLEditorPortalRenderer: ({ children }: {
5
+ export declare const JQLEditorPortalRenderer: ({ children, }: {
6
6
  children: ReactNode;
7
7
  }) => React.JSX.Element;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  /**
3
3
  * This wraps ProseMirror's EditorView as a React component.
4
4
  */
5
- declare const JQLEditorView: ({ inputRef }: {
5
+ declare const JQLEditorView: ({ inputRef, }: {
6
6
  inputRef?: React.Ref<{
7
7
  focus: () => void;
8
8
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/jql-editor",
3
- "version": "5.8.5",
3
+ "version": "5.9.0",
4
4
  "description": "This package allows consumers to render an advanced JQL editor component to enable autocomplete-assisted authoring and validation of JQL queries.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -38,7 +38,7 @@
38
38
  "@atlaskit/avatar": "^25.5.0",
39
39
  "@atlaskit/button": "^23.6.0",
40
40
  "@atlaskit/editor-prosemirror": "7.0.0",
41
- "@atlaskit/form": "^14.2.0",
41
+ "@atlaskit/form": "^14.3.0",
42
42
  "@atlaskit/icon": "^29.0.0",
43
43
  "@atlaskit/jql-ast": "^3.3.0",
44
44
  "@atlaskit/jql-autocomplete": "^2.0.0",
@@ -48,13 +48,13 @@
48
48
  "@atlaskit/link": "^3.2.0",
49
49
  "@atlaskit/platform-feature-flags": "^1.1.0",
50
50
  "@atlaskit/popper": "^7.1.0",
51
- "@atlaskit/primitives": "^16.1.0",
51
+ "@atlaskit/primitives": "^16.4.0",
52
52
  "@atlaskit/prosemirror-history": "^0.2.0",
53
53
  "@atlaskit/spinner": "^19.0.0",
54
54
  "@atlaskit/teams-avatar": "^2.4.0",
55
55
  "@atlaskit/theme": "^21.0.0",
56
- "@atlaskit/tokens": "^8.0.0",
57
- "@atlaskit/tooltip": "^20.8.0",
56
+ "@atlaskit/tokens": "^8.4.0",
57
+ "@atlaskit/tooltip": "^20.10.0",
58
58
  "@babel/runtime": "^7.0.0",
59
59
  "@emotion/react": "^11.7.1",
60
60
  "@emotion/styled": "^11.0.0",
@@ -76,6 +76,7 @@
76
76
  },
77
77
  "devDependencies": {
78
78
  "@af/integration-testing": "workspace:^",
79
+ "@af/visual-regression": "workspace:^",
79
80
  "@atlaskit/docs": "^11.2.0",
80
81
  "@atlaskit/jql-editor-autocomplete-rest": "^3.0.0",
81
82
  "@atlassian/feature-flags-storybook-utils": "^0.3.0",
@@ -147,6 +148,9 @@
147
148
  },
148
149
  "list_lovability_improving_filters": {
149
150
  "type": "boolean"
151
+ },
152
+ "jira_ai_agent_avatar_with_apptype_for_jql": {
153
+ "type": "boolean"
150
154
  }
151
155
  }
152
156
  }