@atlaskit/jql-editor 4.14.1 → 4.14.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.
- package/CHANGELOG.md +6 -0
- package/dist/cjs/analytics/util.js +1 -1
- package/dist/es2019/analytics/util.js +1 -1
- package/dist/esm/analytics/util.js +1 -1
- package/dist/types/accessibility/styled.d.ts +1 -1
- package/dist/types/analytics/listener/jql-editor-analytics-listener.d.ts +1 -1
- package/dist/types/async.d.ts +2 -2
- package/dist/types/common/styled.d.ts +1 -1
- package/dist/types/plugins/autocomplete/components/autocomplete/index.d.ts +2 -2
- package/dist/types/plugins/autocomplete/components/autocomplete-dropdown/index.d.ts +2 -2
- package/dist/types/plugins/autocomplete/components/autocomplete-dropdown/styled.d.ts +4 -4
- package/dist/types/plugins/autocomplete/components/autocomplete-option/styled.d.ts +7 -7
- package/dist/types/plugins/rich-inline-nodes/nodes/user/styled.d.ts +3 -3
- package/dist/types/ui/error-boundary/index.d.ts +2 -2
- package/dist/types/ui/index.d.ts +1 -1
- package/dist/types/ui/intl-provider/index.d.ts +2 -2
- package/dist/types/ui/jql-editor-controls-content/base-expand-toggle/index.d.ts +2 -2
- package/dist/types/ui/jql-editor-controls-content/base-expand-toggle/styled.d.ts +1 -1
- package/dist/types/ui/jql-editor-controls-content/base-search/index.d.ts +2 -2
- package/dist/types/ui/jql-editor-controls-content/base-syntax-help/index.d.ts +2 -2
- package/dist/types/ui/jql-editor-controls-content/base-syntax-help/styled.d.ts +1 -1
- package/dist/types/ui/jql-editor-controls-content/expand-toggle/index.d.ts +2 -2
- package/dist/types/ui/jql-editor-controls-content/index.d.ts +2 -2
- package/dist/types/ui/jql-editor-controls-content/read-only-controls-content/index.d.ts +2 -2
- package/dist/types/ui/jql-editor-controls-content/search/index.d.ts +2 -2
- package/dist/types/ui/jql-editor-controls-content/syntax-help/index.d.ts +2 -2
- package/dist/types/ui/jql-editor-footer-content/index.d.ts +2 -2
- package/dist/types/ui/jql-editor-footer-content/jql-editor-help/index.d.ts +2 -2
- package/dist/types/ui/jql-editor-footer-content/jql-editor-help/styled.d.ts +1 -1
- package/dist/types/ui/jql-editor-footer-content/jql-messages/errors/index.d.ts +2 -2
- package/dist/types/ui/jql-editor-footer-content/jql-messages/format/index.d.ts +2 -2
- package/dist/types/ui/jql-editor-footer-content/jql-messages/format/styled.d.ts +2 -2
- package/dist/types/ui/jql-editor-footer-content/jql-messages/infos/index.d.ts +2 -2
- package/dist/types/ui/jql-editor-footer-content/jql-messages/warnings/index.d.ts +2 -2
- package/dist/types/ui/jql-editor-layout/index.d.ts +2 -2
- package/dist/types/ui/jql-editor-layout/styled.d.ts +8 -8
- package/dist/types/ui/jql-editor-portal-provider/index.d.ts +2 -2
- package/dist/types/ui/jql-editor-view/index.d.ts +1 -1
- package/dist/types/ui/tooltip-tag/styled.d.ts +1 -1
- package/dist/types-ts4.5/accessibility/styled.d.ts +1 -1
- package/dist/types-ts4.5/analytics/listener/jql-editor-analytics-listener.d.ts +1 -1
- package/dist/types-ts4.5/async.d.ts +2 -2
- package/dist/types-ts4.5/common/styled.d.ts +1 -1
- package/dist/types-ts4.5/plugins/autocomplete/components/autocomplete/index.d.ts +2 -2
- package/dist/types-ts4.5/plugins/autocomplete/components/autocomplete-dropdown/index.d.ts +2 -2
- package/dist/types-ts4.5/plugins/autocomplete/components/autocomplete-dropdown/styled.d.ts +4 -4
- package/dist/types-ts4.5/plugins/autocomplete/components/autocomplete-option/styled.d.ts +7 -7
- package/dist/types-ts4.5/plugins/rich-inline-nodes/nodes/user/styled.d.ts +3 -3
- package/dist/types-ts4.5/ui/error-boundary/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/intl-provider/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/jql-editor-controls-content/base-expand-toggle/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/jql-editor-controls-content/base-expand-toggle/styled.d.ts +1 -1
- package/dist/types-ts4.5/ui/jql-editor-controls-content/base-search/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/jql-editor-controls-content/base-syntax-help/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/jql-editor-controls-content/base-syntax-help/styled.d.ts +1 -1
- package/dist/types-ts4.5/ui/jql-editor-controls-content/expand-toggle/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/jql-editor-controls-content/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/jql-editor-controls-content/read-only-controls-content/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/jql-editor-controls-content/search/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/jql-editor-controls-content/syntax-help/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/jql-editor-footer-content/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-editor-help/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-editor-help/styled.d.ts +1 -1
- package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-messages/errors/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-messages/format/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-messages/format/styled.d.ts +2 -2
- package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-messages/infos/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-messages/warnings/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/jql-editor-layout/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/jql-editor-layout/styled.d.ts +8 -8
- package/dist/types-ts4.5/ui/jql-editor-portal-provider/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/jql-editor-view/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/tooltip-tag/styled.d.ts +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -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.14.
|
|
9
|
+
return (0, _jqlEditorCommon.useJqlPackageAnalytics)(analyticsSource, "@atlaskit/jql-editor", "4.14.2", _jqlEditorCommon.ANALYTICS_CHANNEL);
|
|
10
10
|
};
|
|
@@ -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.14.
|
|
3
|
+
return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "4.14.2", ANALYTICS_CHANNEL);
|
|
4
4
|
};
|
|
@@ -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", "4.14.
|
|
3
|
+
return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "4.14.2", ANALYTICS_CHANNEL);
|
|
4
4
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const ScreenReaderText: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
package/dist/types/async.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type JQLEditorProps } from './ui/types';
|
|
3
3
|
export declare const preloadJQLEditor: () => import("react-loosely-lazy/dist/types/cleanup").Cleanup;
|
|
4
|
-
export declare const JQLEditorAsync: (props: JQLEditorProps) => JSX.Element;
|
|
4
|
+
export declare const JQLEditorAsync: (props: JQLEditorProps) => React.JSX.Element;
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
export declare const hiddenMixin: import("@emotion/react").SerializedStyles;
|
|
3
3
|
export declare const TooltipContent: import("@emotion/styled").StyledComponent<{
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type AutocompleteProps } from '../types';
|
|
3
|
-
declare const Autocomplete: ({ keymap, onClick }: AutocompleteProps) => JSX.Element;
|
|
3
|
+
declare const Autocomplete: ({ keymap, onClick }: AutocompleteProps) => React.JSX.Element;
|
|
4
4
|
export default Autocomplete;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type PluginKeymap } from '../../../common/plugin-keymap';
|
|
3
3
|
import { type AutocompleteAnalyticsAttributes, type SelectableAutocompleteOption } from '../types';
|
|
4
4
|
type Props = {
|
|
@@ -7,5 +7,5 @@ type Props = {
|
|
|
7
7
|
keymap: PluginKeymap;
|
|
8
8
|
onClick: (option: SelectableAutocompleteOption, analyticsAttributes: AutocompleteAnalyticsAttributes) => void;
|
|
9
9
|
};
|
|
10
|
-
declare const AutocompleteDropdown: ({ options, loading, keymap, onClick }: Props) => JSX.Element;
|
|
10
|
+
declare const AutocompleteDropdown: ({ options, loading, keymap, onClick }: Props) => React.JSX.Element;
|
|
11
11
|
export default AutocompleteDropdown;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const AutocompleteContainer: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
} & {
|
|
6
6
|
isOpen: boolean;
|
|
7
7
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
8
8
|
export declare const AutocompleteOptionsContainer: import("@emotion/styled").StyledComponent<{
|
|
9
9
|
theme?: import("@emotion/react").Theme | undefined;
|
|
10
|
-
as?: import("react").ElementType<any> | undefined;
|
|
10
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
11
11
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
12
12
|
export declare const OptionList: import("@emotion/styled").StyledComponent<{
|
|
13
13
|
theme?: import("@emotion/react").Theme | undefined;
|
|
14
|
-
as?: import("react").ElementType<any> | undefined;
|
|
14
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
15
15
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
|
|
16
16
|
export declare const AutocompleteLoadingFooter: import("@emotion/styled").StyledComponent<{
|
|
17
17
|
theme?: import("@emotion/react").Theme | undefined;
|
|
18
|
-
as?: import("react").ElementType<any> | undefined;
|
|
18
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
19
19
|
} & {
|
|
20
20
|
hasOptions: boolean;
|
|
21
21
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const TooltipContent: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
6
|
export declare const OptionListItem: import("@emotion/styled").StyledComponent<{
|
|
7
7
|
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
-
as?: import("react").ElementType<any> | undefined;
|
|
8
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
9
|
} & {
|
|
10
10
|
isSelected: boolean;
|
|
11
11
|
isDeprecated: boolean;
|
|
12
12
|
}, import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
|
|
13
13
|
export declare const OptionName: import("@emotion/styled").StyledComponent<{
|
|
14
14
|
theme?: import("@emotion/react").Theme | undefined;
|
|
15
|
-
as?: import("react").ElementType<any> | undefined;
|
|
15
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
16
16
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
17
17
|
export declare const DeprecatedOptionContainer: import("@emotion/styled").StyledComponent<{
|
|
18
18
|
theme?: import("@emotion/react").Theme | undefined;
|
|
19
|
-
as?: import("react").ElementType<any> | undefined;
|
|
19
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
20
20
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
21
21
|
export declare const OptionHighlight: import("@emotion/styled").StyledComponent<{
|
|
22
22
|
theme?: import("@emotion/react").Theme | undefined;
|
|
23
|
-
as?: import("react").ElementType<any> | undefined;
|
|
23
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
24
24
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
25
25
|
export declare const FieldType: import("@emotion/styled").StyledComponent<{
|
|
26
26
|
theme?: import("@emotion/react").Theme | undefined;
|
|
27
|
-
as?: import("react").ElementType<any> | undefined;
|
|
27
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
28
28
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
29
29
|
export declare const FieldTypeIcon: import("@emotion/styled").StyledComponent<{
|
|
30
30
|
theme?: import("@emotion/react").Theme | undefined;
|
|
31
|
-
as?: import("react").ElementType<any> | undefined;
|
|
31
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
32
32
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const UserContainer: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
} & {
|
|
6
6
|
selected: boolean;
|
|
7
7
|
error: boolean;
|
|
8
8
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
9
9
|
export declare const NameContainer: import("@emotion/styled").StyledComponent<{
|
|
10
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
11
|
-
as?: import("react").ElementType<any> | undefined;
|
|
11
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
12
12
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
13
13
|
export declare const AvatarWrapper: import("@emotion/styled").StyledComponent<{
|
|
14
14
|
theme?: import("@emotion/react").Theme | undefined;
|
|
15
|
-
as?: import("react").ElementType<any> | undefined;
|
|
15
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
16
16
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ComponentClass, type FunctionComponent } from 'react';
|
|
1
|
+
import React, { type ComponentClass, type FunctionComponent } from 'react';
|
|
2
2
|
import { type JQLEditorUIProps } from '../jql-editor/types';
|
|
3
3
|
type WithErrorBoundaryProps = {
|
|
4
4
|
/**
|
|
@@ -21,5 +21,5 @@ type WithErrorBoundaryProps = {
|
|
|
21
21
|
*/
|
|
22
22
|
isCompact?: boolean;
|
|
23
23
|
};
|
|
24
|
-
export declare const withErrorBoundary: <Props extends WithErrorBoundaryProps>(WrappedComponent: FunctionComponent<Props> | ComponentClass<Props>) => (props: Props) => JSX.Element;
|
|
24
|
+
export declare const withErrorBoundary: <Props extends WithErrorBoundaryProps>(WrappedComponent: FunctionComponent<Props> | ComponentClass<Props>) => (props: Props) => React.JSX.Element;
|
|
25
25
|
export {};
|
package/dist/types/ui/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ComponentClass, type FunctionComponent } from 'react';
|
|
1
|
+
import React, { type ComponentClass, type FunctionComponent } from 'react';
|
|
2
2
|
type WithIntlProviderProps = {
|
|
3
3
|
/**
|
|
4
4
|
* React-intl locale. This should be set to "en" if alternate message sets are not being loaded higher in the React
|
|
@@ -6,5 +6,5 @@ type WithIntlProviderProps = {
|
|
|
6
6
|
*/
|
|
7
7
|
locale?: string;
|
|
8
8
|
};
|
|
9
|
-
export declare const withIntlProvider: <Props extends WithIntlProviderProps>(WrappedComponent: FunctionComponent<Omit<Props, 'locale'>> | ComponentClass<Omit<Props, 'locale'>>) => (props: Props) => JSX.Element;
|
|
9
|
+
export declare const withIntlProvider: <Props extends WithIntlProviderProps>(WrappedComponent: FunctionComponent<Omit<Props, 'locale'>> | ComponentClass<Omit<Props, 'locale'>>) => (props: Props) => React.JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
type Props = {
|
|
3
3
|
expanded: boolean;
|
|
4
4
|
editorId: 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) => JSX.Element;
|
|
9
|
+
export declare const BaseExpandToggle: ({ expanded, editorId, isDisabled, label, onClick }: Props) => React.JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const ExpandToggleContainer: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
type Props = {
|
|
3
3
|
isDisabled?: boolean;
|
|
4
4
|
isSearching?: boolean;
|
|
5
5
|
label: string;
|
|
6
6
|
onSearch: () => void;
|
|
7
7
|
};
|
|
8
|
-
export declare const BaseSearch: ({ isDisabled, isSearching, label, onSearch }: Props) => JSX.Element;
|
|
8
|
+
export declare const BaseSearch: ({ isDisabled, isSearching, label, onSearch }: Props) => React.JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { type MouseEvent } from 'react';
|
|
1
|
+
import React, { type MouseEvent } from 'react';
|
|
2
2
|
type Props = {
|
|
3
3
|
describedby?: string;
|
|
4
4
|
isDisabled?: boolean;
|
|
5
5
|
label: string;
|
|
6
6
|
onClick: (e: MouseEvent<HTMLElement>) => void;
|
|
7
7
|
};
|
|
8
|
-
export declare const BaseSyntaxHelp: ({ describedby, isDisabled, label, onClick }: Props) => JSX.Element;
|
|
8
|
+
export declare const BaseSyntaxHelp: ({ describedby, isDisabled, label, onClick }: Props) => React.JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const SyntaxHelpContainer: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const ExpandToggle: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const ExpandToggle: () => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const JQLEditorControlsContent: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const JQLEditorControlsContent: () => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const ReadOnlyControlsContent: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const ReadOnlyControlsContent: () => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const Search: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const Search: () => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const SyntaxHelp: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const SyntaxHelp: () => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
/**
|
|
3
3
|
* Message components are rendered by priority.
|
|
4
4
|
* Message component decides on its own what exactly to render (GQL vs external messages).
|
|
5
5
|
*/
|
|
6
|
-
export declare const JQLEditorFooterContent: () => JSX.Element;
|
|
6
|
+
export declare const JQLEditorFooterContent: () => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const JQLEditorHelp: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const JQLEditorHelp: () => React.JSX.Element;
|
|
@@ -4,6 +4,6 @@ type HelpContainerProps = {
|
|
|
4
4
|
};
|
|
5
5
|
export declare const HelpContainer: import("@emotion/styled").StyledComponent<{
|
|
6
6
|
theme?: import("@emotion/react").Theme | undefined;
|
|
7
|
-
as?: import("react").ElementType<any> | undefined;
|
|
7
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
8
8
|
} & HelpContainerProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
9
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const ErrorMessages: () => JSX.Element | null;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const ErrorMessages: () => React.JSX.Element | null;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { type ExternalMessage } from '../../../../state/types';
|
|
3
3
|
export declare const MessageContainer: ({ children }: {
|
|
4
4
|
children: React.ReactNode;
|
|
5
|
-
}) => JSX.Element;
|
|
5
|
+
}) => React.JSX.Element;
|
|
6
6
|
export declare const FormatMessages: ({ messages }: {
|
|
7
7
|
messages: ExternalMessage[];
|
|
8
|
-
}) => JSX.Element | null;
|
|
8
|
+
}) => React.JSX.Element | null;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const MessageContainer: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
} & {
|
|
6
6
|
isSearch: boolean;
|
|
7
7
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
8
8
|
export declare const MessageList: import("@emotion/styled").StyledComponent<{
|
|
9
9
|
theme?: import("@emotion/react").Theme | undefined;
|
|
10
|
-
as?: import("react").ElementType<any> | undefined;
|
|
10
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
11
11
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
2
|
export declare const useFormattedInfoMessage: () => ReactNode;
|
|
3
|
-
export declare const InfoMessages: () => JSX.Element | null;
|
|
3
|
+
export declare const InfoMessages: () => React.JSX.Element | null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
2
|
export declare const useFormattedWarningMessage: () => ReactNode;
|
|
3
|
-
export declare const WarningMessages: () => JSX.Element | null;
|
|
3
|
+
export declare const WarningMessages: () => React.JSX.Element | null;
|
|
@@ -53,12 +53,12 @@ type Props = {
|
|
|
53
53
|
*/
|
|
54
54
|
onEditorViewTransitionEnd?: () => void;
|
|
55
55
|
};
|
|
56
|
-
declare const JQLEditorLayout: (props: Props) => JSX.Element;
|
|
56
|
+
declare const JQLEditorLayout: (props: Props) => React.JSX.Element;
|
|
57
57
|
type ReadOnlyProps = {
|
|
58
58
|
query: string;
|
|
59
59
|
};
|
|
60
60
|
export declare const JQLEditorReadOnly: ({ isSearch, isCompact, ...props }: ReadOnlyProps & {
|
|
61
61
|
isSearch?: boolean | undefined;
|
|
62
62
|
isCompact?: boolean | undefined;
|
|
63
|
-
}) => JSX.Element;
|
|
63
|
+
}) => React.JSX.Element;
|
|
64
64
|
export default JQLEditorLayout;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const EditorMain: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
6
|
export declare const EditorFooter: import("@emotion/styled").StyledComponent<{
|
|
7
7
|
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
-
as?: import("react").ElementType<any> | undefined;
|
|
8
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
9
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
10
|
type EditorViewContainerProps = {
|
|
11
11
|
editorViewHasFocus?: boolean;
|
|
@@ -13,17 +13,17 @@ type EditorViewContainerProps = {
|
|
|
13
13
|
};
|
|
14
14
|
export declare const EditorViewContainer: import("@emotion/styled").StyledComponent<{
|
|
15
15
|
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
-
as?: import("react").ElementType<any> | undefined;
|
|
16
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
17
17
|
} & EditorViewContainerProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
18
18
|
export declare const ReadOnlyEditorViewContainer: import("@emotion/styled").StyledComponent<{
|
|
19
19
|
theme?: import("@emotion/react").Theme | undefined;
|
|
20
|
-
as?: import("react").ElementType<any> | undefined;
|
|
20
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
21
21
|
} & EditorViewContainerProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
22
22
|
theme?: import("@emotion/react").Theme | undefined;
|
|
23
23
|
}, {}, {}>;
|
|
24
24
|
export declare const LineNumberToolbar: import("@emotion/styled").StyledComponent<{
|
|
25
25
|
theme?: import("@emotion/react").Theme | undefined;
|
|
26
|
-
as?: import("react").ElementType<any> | undefined;
|
|
26
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
27
27
|
} & {
|
|
28
28
|
lineNumbersVisible: boolean;
|
|
29
29
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -32,7 +32,7 @@ export declare const LineNumberToolbar: import("@emotion/styled").StyledComponen
|
|
|
32
32
|
*/
|
|
33
33
|
export declare const EditorView: import("@emotion/styled").StyledComponent<{
|
|
34
34
|
theme?: import("@emotion/react").Theme | undefined;
|
|
35
|
-
as?: import("react").ElementType<any> | undefined;
|
|
35
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
36
36
|
} & {
|
|
37
37
|
defaultMaxRows: number;
|
|
38
38
|
expandedRows: number;
|
|
@@ -41,7 +41,7 @@ export declare const EditorView: import("@emotion/styled").StyledComponent<{
|
|
|
41
41
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
42
42
|
export declare const ReadOnlyEditorView: import("@emotion/styled").StyledComponent<{
|
|
43
43
|
theme?: import("@emotion/react").Theme | undefined;
|
|
44
|
-
as?: import("react").ElementType<any> | undefined;
|
|
44
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
45
45
|
} & {
|
|
46
46
|
defaultMaxRows: number;
|
|
47
47
|
expandedRows: number;
|
|
@@ -52,7 +52,7 @@ export declare const ReadOnlyEditorView: import("@emotion/styled").StyledCompone
|
|
|
52
52
|
}, {}, {}>;
|
|
53
53
|
export declare const EditorControls: import("@emotion/styled").StyledComponent<{
|
|
54
54
|
theme?: import("@emotion/react").Theme | undefined;
|
|
55
|
-
as?: import("react").ElementType<any> | undefined;
|
|
55
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
56
56
|
} & {
|
|
57
57
|
isSearch: boolean;
|
|
58
58
|
isCompact: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
1
|
+
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
5
|
export declare const JQLEditorPortalRenderer: ({ children }: {
|
|
6
6
|
children: ReactNode;
|
|
7
|
-
}) => JSX.Element;
|
|
7
|
+
}) => React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const StyledTooltipTag: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const ScreenReaderText: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type JQLEditorProps } from './ui/types';
|
|
3
3
|
export declare const preloadJQLEditor: () => import("react-loosely-lazy/dist/types/cleanup").Cleanup;
|
|
4
|
-
export declare const JQLEditorAsync: (props: JQLEditorProps) => JSX.Element;
|
|
4
|
+
export declare const JQLEditorAsync: (props: JQLEditorProps) => React.JSX.Element;
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
export declare const hiddenMixin: import("@emotion/react").SerializedStyles;
|
|
3
3
|
export declare const TooltipContent: import("@emotion/styled").StyledComponent<{
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type AutocompleteProps } from '../types';
|
|
3
|
-
declare const Autocomplete: ({ keymap, onClick }: AutocompleteProps) => JSX.Element;
|
|
3
|
+
declare const Autocomplete: ({ keymap, onClick }: AutocompleteProps) => React.JSX.Element;
|
|
4
4
|
export default Autocomplete;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type PluginKeymap } from '../../../common/plugin-keymap';
|
|
3
3
|
import { type AutocompleteAnalyticsAttributes, type SelectableAutocompleteOption } from '../types';
|
|
4
4
|
type Props = {
|
|
@@ -7,5 +7,5 @@ type Props = {
|
|
|
7
7
|
keymap: PluginKeymap;
|
|
8
8
|
onClick: (option: SelectableAutocompleteOption, analyticsAttributes: AutocompleteAnalyticsAttributes) => void;
|
|
9
9
|
};
|
|
10
|
-
declare const AutocompleteDropdown: ({ options, loading, keymap, onClick }: Props) => JSX.Element;
|
|
10
|
+
declare const AutocompleteDropdown: ({ options, loading, keymap, onClick }: Props) => React.JSX.Element;
|
|
11
11
|
export default AutocompleteDropdown;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const AutocompleteContainer: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
} & {
|
|
6
6
|
isOpen: boolean;
|
|
7
7
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
8
8
|
export declare const AutocompleteOptionsContainer: import("@emotion/styled").StyledComponent<{
|
|
9
9
|
theme?: import("@emotion/react").Theme | undefined;
|
|
10
|
-
as?: import("react").ElementType<any> | undefined;
|
|
10
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
11
11
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
12
12
|
export declare const OptionList: import("@emotion/styled").StyledComponent<{
|
|
13
13
|
theme?: import("@emotion/react").Theme | undefined;
|
|
14
|
-
as?: import("react").ElementType<any> | undefined;
|
|
14
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
15
15
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
|
|
16
16
|
export declare const AutocompleteLoadingFooter: import("@emotion/styled").StyledComponent<{
|
|
17
17
|
theme?: import("@emotion/react").Theme | undefined;
|
|
18
|
-
as?: import("react").ElementType<any> | undefined;
|
|
18
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
19
19
|
} & {
|
|
20
20
|
hasOptions: boolean;
|
|
21
21
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const TooltipContent: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
6
|
export declare const OptionListItem: import("@emotion/styled").StyledComponent<{
|
|
7
7
|
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
-
as?: import("react").ElementType<any> | undefined;
|
|
8
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
9
|
} & {
|
|
10
10
|
isSelected: boolean;
|
|
11
11
|
isDeprecated: boolean;
|
|
12
12
|
}, import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
|
|
13
13
|
export declare const OptionName: import("@emotion/styled").StyledComponent<{
|
|
14
14
|
theme?: import("@emotion/react").Theme | undefined;
|
|
15
|
-
as?: import("react").ElementType<any> | undefined;
|
|
15
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
16
16
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
17
17
|
export declare const DeprecatedOptionContainer: import("@emotion/styled").StyledComponent<{
|
|
18
18
|
theme?: import("@emotion/react").Theme | undefined;
|
|
19
|
-
as?: import("react").ElementType<any> | undefined;
|
|
19
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
20
20
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
21
21
|
export declare const OptionHighlight: import("@emotion/styled").StyledComponent<{
|
|
22
22
|
theme?: import("@emotion/react").Theme | undefined;
|
|
23
|
-
as?: import("react").ElementType<any> | undefined;
|
|
23
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
24
24
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
25
25
|
export declare const FieldType: import("@emotion/styled").StyledComponent<{
|
|
26
26
|
theme?: import("@emotion/react").Theme | undefined;
|
|
27
|
-
as?: import("react").ElementType<any> | undefined;
|
|
27
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
28
28
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
29
29
|
export declare const FieldTypeIcon: import("@emotion/styled").StyledComponent<{
|
|
30
30
|
theme?: import("@emotion/react").Theme | undefined;
|
|
31
|
-
as?: import("react").ElementType<any> | undefined;
|
|
31
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
32
32
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const UserContainer: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
} & {
|
|
6
6
|
selected: boolean;
|
|
7
7
|
error: boolean;
|
|
8
8
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
9
9
|
export declare const NameContainer: import("@emotion/styled").StyledComponent<{
|
|
10
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
11
|
-
as?: import("react").ElementType<any> | undefined;
|
|
11
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
12
12
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
13
13
|
export declare const AvatarWrapper: import("@emotion/styled").StyledComponent<{
|
|
14
14
|
theme?: import("@emotion/react").Theme | undefined;
|
|
15
|
-
as?: import("react").ElementType<any> | undefined;
|
|
15
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
16
16
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ComponentClass, type FunctionComponent } from 'react';
|
|
1
|
+
import React, { type ComponentClass, type FunctionComponent } from 'react';
|
|
2
2
|
import { type JQLEditorUIProps } from '../jql-editor/types';
|
|
3
3
|
type WithErrorBoundaryProps = {
|
|
4
4
|
/**
|
|
@@ -21,5 +21,5 @@ type WithErrorBoundaryProps = {
|
|
|
21
21
|
*/
|
|
22
22
|
isCompact?: boolean;
|
|
23
23
|
};
|
|
24
|
-
export declare const withErrorBoundary: <Props extends WithErrorBoundaryProps>(WrappedComponent: FunctionComponent<Props> | ComponentClass<Props>) => (props: Props) => JSX.Element;
|
|
24
|
+
export declare const withErrorBoundary: <Props extends WithErrorBoundaryProps>(WrappedComponent: FunctionComponent<Props> | ComponentClass<Props>) => (props: Props) => React.JSX.Element;
|
|
25
25
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ComponentClass, type FunctionComponent } from 'react';
|
|
1
|
+
import React, { type ComponentClass, type FunctionComponent } from 'react';
|
|
2
2
|
type WithIntlProviderProps = {
|
|
3
3
|
/**
|
|
4
4
|
* React-intl locale. This should be set to "en" if alternate message sets are not being loaded higher in the React
|
|
@@ -6,5 +6,5 @@ type WithIntlProviderProps = {
|
|
|
6
6
|
*/
|
|
7
7
|
locale?: string;
|
|
8
8
|
};
|
|
9
|
-
export declare const withIntlProvider: <Props extends WithIntlProviderProps>(WrappedComponent: FunctionComponent<Omit<Props, 'locale'>> | ComponentClass<Omit<Props, 'locale'>>) => (props: Props) => JSX.Element;
|
|
9
|
+
export declare const withIntlProvider: <Props extends WithIntlProviderProps>(WrappedComponent: FunctionComponent<Omit<Props, 'locale'>> | ComponentClass<Omit<Props, 'locale'>>) => (props: Props) => React.JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
type Props = {
|
|
3
3
|
expanded: boolean;
|
|
4
4
|
editorId: 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) => JSX.Element;
|
|
9
|
+
export declare const BaseExpandToggle: ({ expanded, editorId, isDisabled, label, onClick }: Props) => React.JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const ExpandToggleContainer: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
type Props = {
|
|
3
3
|
isDisabled?: boolean;
|
|
4
4
|
isSearching?: boolean;
|
|
5
5
|
label: string;
|
|
6
6
|
onSearch: () => void;
|
|
7
7
|
};
|
|
8
|
-
export declare const BaseSearch: ({ isDisabled, isSearching, label, onSearch }: Props) => JSX.Element;
|
|
8
|
+
export declare const BaseSearch: ({ isDisabled, isSearching, label, onSearch }: Props) => React.JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { type MouseEvent } from 'react';
|
|
1
|
+
import React, { type MouseEvent } from 'react';
|
|
2
2
|
type Props = {
|
|
3
3
|
describedby?: string;
|
|
4
4
|
isDisabled?: boolean;
|
|
5
5
|
label: string;
|
|
6
6
|
onClick: (e: MouseEvent<HTMLElement>) => void;
|
|
7
7
|
};
|
|
8
|
-
export declare const BaseSyntaxHelp: ({ describedby, isDisabled, label, onClick }: Props) => JSX.Element;
|
|
8
|
+
export declare const BaseSyntaxHelp: ({ describedby, isDisabled, label, onClick }: Props) => React.JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const SyntaxHelpContainer: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const ExpandToggle: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const ExpandToggle: () => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const JQLEditorControlsContent: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const JQLEditorControlsContent: () => React.JSX.Element;
|
package/dist/types-ts4.5/ui/jql-editor-controls-content/read-only-controls-content/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const ReadOnlyControlsContent: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const ReadOnlyControlsContent: () => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const Search: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const Search: () => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const SyntaxHelp: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const SyntaxHelp: () => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
/**
|
|
3
3
|
* Message components are rendered by priority.
|
|
4
4
|
* Message component decides on its own what exactly to render (GQL vs external messages).
|
|
5
5
|
*/
|
|
6
|
-
export declare const JQLEditorFooterContent: () => JSX.Element;
|
|
6
|
+
export declare const JQLEditorFooterContent: () => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const JQLEditorHelp: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const JQLEditorHelp: () => React.JSX.Element;
|
|
@@ -4,6 +4,6 @@ type HelpContainerProps = {
|
|
|
4
4
|
};
|
|
5
5
|
export declare const HelpContainer: import("@emotion/styled").StyledComponent<{
|
|
6
6
|
theme?: import("@emotion/react").Theme | undefined;
|
|
7
|
-
as?: import("react").ElementType<any> | undefined;
|
|
7
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
8
8
|
} & HelpContainerProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
9
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const ErrorMessages: () => JSX.Element | null;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const ErrorMessages: () => React.JSX.Element | null;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { type ExternalMessage } from '../../../../state/types';
|
|
3
3
|
export declare const MessageContainer: ({ children }: {
|
|
4
4
|
children: React.ReactNode;
|
|
5
|
-
}) => JSX.Element;
|
|
5
|
+
}) => React.JSX.Element;
|
|
6
6
|
export declare const FormatMessages: ({ messages }: {
|
|
7
7
|
messages: ExternalMessage[];
|
|
8
|
-
}) => JSX.Element | null;
|
|
8
|
+
}) => React.JSX.Element | null;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const MessageContainer: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
} & {
|
|
6
6
|
isSearch: boolean;
|
|
7
7
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
8
8
|
export declare const MessageList: import("@emotion/styled").StyledComponent<{
|
|
9
9
|
theme?: import("@emotion/react").Theme | undefined;
|
|
10
|
-
as?: import("react").ElementType<any> | undefined;
|
|
10
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
11
11
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
2
|
export declare const useFormattedInfoMessage: () => ReactNode;
|
|
3
|
-
export declare const InfoMessages: () => JSX.Element | null;
|
|
3
|
+
export declare const InfoMessages: () => React.JSX.Element | null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
2
|
export declare const useFormattedWarningMessage: () => ReactNode;
|
|
3
|
-
export declare const WarningMessages: () => JSX.Element | null;
|
|
3
|
+
export declare const WarningMessages: () => React.JSX.Element | null;
|
|
@@ -53,12 +53,12 @@ type Props = {
|
|
|
53
53
|
*/
|
|
54
54
|
onEditorViewTransitionEnd?: () => void;
|
|
55
55
|
};
|
|
56
|
-
declare const JQLEditorLayout: (props: Props) => JSX.Element;
|
|
56
|
+
declare const JQLEditorLayout: (props: Props) => React.JSX.Element;
|
|
57
57
|
type ReadOnlyProps = {
|
|
58
58
|
query: string;
|
|
59
59
|
};
|
|
60
60
|
export declare const JQLEditorReadOnly: ({ isSearch, isCompact, ...props }: ReadOnlyProps & {
|
|
61
61
|
isSearch?: boolean | undefined;
|
|
62
62
|
isCompact?: boolean | undefined;
|
|
63
|
-
}) => JSX.Element;
|
|
63
|
+
}) => React.JSX.Element;
|
|
64
64
|
export default JQLEditorLayout;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const EditorMain: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
6
|
export declare const EditorFooter: import("@emotion/styled").StyledComponent<{
|
|
7
7
|
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
-
as?: import("react").ElementType<any> | undefined;
|
|
8
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
9
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
10
|
type EditorViewContainerProps = {
|
|
11
11
|
editorViewHasFocus?: boolean;
|
|
@@ -13,17 +13,17 @@ type EditorViewContainerProps = {
|
|
|
13
13
|
};
|
|
14
14
|
export declare const EditorViewContainer: import("@emotion/styled").StyledComponent<{
|
|
15
15
|
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
-
as?: import("react").ElementType<any> | undefined;
|
|
16
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
17
17
|
} & EditorViewContainerProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
18
18
|
export declare const ReadOnlyEditorViewContainer: import("@emotion/styled").StyledComponent<{
|
|
19
19
|
theme?: import("@emotion/react").Theme | undefined;
|
|
20
|
-
as?: import("react").ElementType<any> | undefined;
|
|
20
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
21
21
|
} & EditorViewContainerProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
22
22
|
theme?: import("@emotion/react").Theme | undefined;
|
|
23
23
|
}, {}, {}>;
|
|
24
24
|
export declare const LineNumberToolbar: import("@emotion/styled").StyledComponent<{
|
|
25
25
|
theme?: import("@emotion/react").Theme | undefined;
|
|
26
|
-
as?: import("react").ElementType<any> | undefined;
|
|
26
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
27
27
|
} & {
|
|
28
28
|
lineNumbersVisible: boolean;
|
|
29
29
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -32,7 +32,7 @@ export declare const LineNumberToolbar: import("@emotion/styled").StyledComponen
|
|
|
32
32
|
*/
|
|
33
33
|
export declare const EditorView: import("@emotion/styled").StyledComponent<{
|
|
34
34
|
theme?: import("@emotion/react").Theme | undefined;
|
|
35
|
-
as?: import("react").ElementType<any> | undefined;
|
|
35
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
36
36
|
} & {
|
|
37
37
|
defaultMaxRows: number;
|
|
38
38
|
expandedRows: number;
|
|
@@ -41,7 +41,7 @@ export declare const EditorView: import("@emotion/styled").StyledComponent<{
|
|
|
41
41
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
42
42
|
export declare const ReadOnlyEditorView: import("@emotion/styled").StyledComponent<{
|
|
43
43
|
theme?: import("@emotion/react").Theme | undefined;
|
|
44
|
-
as?: import("react").ElementType<any> | undefined;
|
|
44
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
45
45
|
} & {
|
|
46
46
|
defaultMaxRows: number;
|
|
47
47
|
expandedRows: number;
|
|
@@ -52,7 +52,7 @@ export declare const ReadOnlyEditorView: import("@emotion/styled").StyledCompone
|
|
|
52
52
|
}, {}, {}>;
|
|
53
53
|
export declare const EditorControls: import("@emotion/styled").StyledComponent<{
|
|
54
54
|
theme?: import("@emotion/react").Theme | undefined;
|
|
55
|
-
as?: import("react").ElementType<any> | undefined;
|
|
55
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
56
56
|
} & {
|
|
57
57
|
isSearch: boolean;
|
|
58
58
|
isCompact: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
1
|
+
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
5
|
export declare const JQLEditorPortalRenderer: ({ children }: {
|
|
6
6
|
children: ReactNode;
|
|
7
|
-
}) => JSX.Element;
|
|
7
|
+
}) => React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const StyledTooltipTag: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/jql-editor",
|
|
3
|
-
"version": "4.14.
|
|
3
|
+
"version": "4.14.2",
|
|
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,10 +38,10 @@
|
|
|
38
38
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
39
39
|
"@atlaskit/analytics-next": "^10.3.0",
|
|
40
40
|
"@atlaskit/avatar": "^21.18.0",
|
|
41
|
-
"@atlaskit/button": "^20.
|
|
41
|
+
"@atlaskit/button": "^20.5.0",
|
|
42
42
|
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
43
43
|
"@atlaskit/form": "^11.1.0",
|
|
44
|
-
"@atlaskit/icon": "^23.
|
|
44
|
+
"@atlaskit/icon": "^23.7.0",
|
|
45
45
|
"@atlaskit/jql-ast": "^3.3.0",
|
|
46
46
|
"@atlaskit/jql-autocomplete": "^2.0.0",
|
|
47
47
|
"@atlaskit/jql-editor-common": "^2.2.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/platform-feature-flags": "^1.0.0",
|
|
51
51
|
"@atlaskit/primitives": "^13.4.0",
|
|
52
52
|
"@atlaskit/spinner": "^17.1.0",
|
|
53
|
-
"@atlaskit/theme": "^
|
|
53
|
+
"@atlaskit/theme": "^15.0.0",
|
|
54
54
|
"@atlaskit/tokens": "^3.3.0",
|
|
55
55
|
"@atlaskit/tooltip": "^19.1.0",
|
|
56
56
|
"@babel/runtime": "^7.0.0",
|