@atlaskit/link-datasource 4.19.1 → 4.19.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.
- package/CHANGELOG.md +19 -0
- package/dist/cjs/ui/assets-modal/search-container/aql-search-input/index.js +2 -19
- package/dist/cjs/ui/assets-modal/search-container/object-schema-select/index.js +36 -24
- package/dist/cjs/ui/common/error-state/provider-auth-required.js +2 -9
- package/dist/cjs/ui/common/modal/basic-search-input/index.js +2 -18
- package/dist/cjs/ui/common/modal/popup-select/control.js +2 -1
- package/dist/es2019/ui/assets-modal/search-container/aql-search-input/index.js +2 -19
- package/dist/es2019/ui/assets-modal/search-container/object-schema-select/index.js +8 -2
- package/dist/es2019/ui/common/error-state/provider-auth-required.js +2 -9
- package/dist/es2019/ui/common/modal/basic-search-input/index.js +2 -18
- package/dist/es2019/ui/common/modal/popup-select/control.js +2 -1
- package/dist/esm/ui/assets-modal/search-container/aql-search-input/index.js +2 -19
- package/dist/esm/ui/assets-modal/search-container/object-schema-select/index.js +37 -25
- package/dist/esm/ui/common/error-state/provider-auth-required.js +2 -9
- package/dist/esm/ui/common/modal/basic-search-input/index.js +2 -18
- package/dist/esm/ui/common/modal/popup-select/control.js +2 -1
- package/dist/types/analytics/generated/create-event-payload.d.ts +1 -1
- package/dist/types/analytics/generated/use-analytics-events.d.ts +2 -1
- package/dist/types/analytics/index.d.ts +1 -1
- package/dist/types/analytics/wrappers/render-failed/datasourceRenderFailedAnalyticsWrapper.d.ts +0 -1
- package/dist/types/common/ui/common/render-svg.d.ts +0 -1
- package/dist/types/hooks/useErrorLogger.d.ts +4 -4
- package/dist/types/services/getAvailableSites.d.ts +1 -1
- package/dist/types/services/useAvailableSites.d.ts +1 -1
- package/dist/types/state/actions/index.d.ts +3 -3
- package/dist/types/ui/assets-modal/modal/index.d.ts +0 -1
- package/dist/types/ui/assets-modal/modal/render-assets-content/index.d.ts +0 -1
- package/dist/types/ui/assets-modal/modal/render-assets-content/initial-state-view/index.d.ts +0 -1
- package/dist/types/ui/assets-modal/search-container/aql-search-input/index.d.ts +0 -1
- package/dist/types/ui/assets-modal/search-container/index.d.ts +0 -1
- package/dist/types/ui/assets-modal/search-container/loading-state.d.ts +0 -1
- package/dist/types/ui/assets-modal/search-container/object-schema-select/index.d.ts +0 -1
- package/dist/types/ui/assets-modal/search-container/styled.d.ts +0 -1
- package/dist/types/ui/common/error-state/access-required.d.ts +0 -1
- package/dist/types/ui/common/error-state/loading-error.d.ts +0 -1
- package/dist/types/ui/common/error-state/modal-loading-error.d.ts +0 -1
- package/dist/types/ui/common/error-state/no-instances.d.ts +0 -1
- package/dist/types/ui/common/error-state/no-results.d.ts +0 -1
- package/dist/types/ui/common/error-state/provider-auth-required-svg.d.ts +0 -1
- package/dist/types/ui/common/error-state/provider-auth-required.d.ts +0 -1
- package/dist/types/ui/common/initial-state-view/index.d.ts +0 -1
- package/dist/types/ui/common/modal/basic-search-input/index.d.ts +0 -1
- package/dist/types/ui/common/modal/datasources-table-in-modal-preview/use-column-visibility/index.d.ts +0 -1
- package/dist/types/ui/common/modal/mode-switcher/index.d.ts +0 -1
- package/dist/types/ui/common/modal/popup-select/custom-checkbox-option.d.ts +0 -1
- package/dist/types/ui/common/modal/popup-select/menu-list/errorMessage.d.ts +1 -1
- package/dist/types/ui/common/modal/search-count/index.d.ts +1 -1
- package/dist/types/ui/common/modal/site-selector/index.d.ts +0 -1
- package/dist/types/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.d.ts +0 -1
- package/dist/types/ui/confluence-search-modal/basic-filters/filters/date-range-picker/utils.d.ts +2 -2
- package/dist/types/ui/datasource-table-view/datasourceTableView.d.ts +4 -5
- package/dist/types/ui/issue-like-table/column-picker/concatenated-menu-list.d.ts +0 -1
- package/dist/types/ui/issue-like-table/edit-type/index.d.ts +5 -5
- package/dist/types/ui/issue-like-table/empty-state/index.d.ts +0 -1
- package/dist/types/ui/issue-like-table/index.d.ts +0 -1
- package/dist/types/ui/issue-like-table/render-type/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/richtext/index.d.ts +0 -1
- package/dist/types/ui/issue-like-table/shared-components/icon/index.d.ts +0 -1
- package/dist/types/ui/issue-like-table/truncate-text-tag/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/utils.d.ts +2 -3
- package/dist/types/ui/jira-issues-modal/basic-filters/hooks/useFilterOptions.d.ts +1 -1
- package/dist/types/ui/jira-issues-modal/jira-search-container/index.d.ts +0 -1
- package/dist/types/ui/table-footer/index.d.ts +0 -1
- package/dist/types-ts4.5/analytics/generated/create-event-payload.d.ts +1 -1
- package/dist/types-ts4.5/analytics/generated/use-analytics-events.d.ts +2 -1
- package/dist/types-ts4.5/analytics/index.d.ts +1 -1
- package/dist/types-ts4.5/analytics/wrappers/render-failed/datasourceRenderFailedAnalyticsWrapper.d.ts +0 -1
- package/dist/types-ts4.5/common/ui/common/render-svg.d.ts +0 -1
- package/dist/types-ts4.5/hooks/useErrorLogger.d.ts +7 -4
- package/dist/types-ts4.5/services/getAvailableSites.d.ts +1 -1
- package/dist/types-ts4.5/services/useAvailableSites.d.ts +1 -1
- package/dist/types-ts4.5/state/actions/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/assets-modal/modal/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/assets-modal/modal/render-assets-content/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/assets-modal/modal/render-assets-content/initial-state-view/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/assets-modal/search-container/aql-search-input/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/assets-modal/search-container/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/assets-modal/search-container/loading-state.d.ts +0 -1
- package/dist/types-ts4.5/ui/assets-modal/search-container/object-schema-select/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/assets-modal/search-container/styled.d.ts +0 -1
- package/dist/types-ts4.5/ui/common/error-state/access-required.d.ts +0 -1
- package/dist/types-ts4.5/ui/common/error-state/loading-error.d.ts +0 -1
- package/dist/types-ts4.5/ui/common/error-state/modal-loading-error.d.ts +0 -1
- package/dist/types-ts4.5/ui/common/error-state/no-instances.d.ts +0 -1
- package/dist/types-ts4.5/ui/common/error-state/no-results.d.ts +0 -1
- package/dist/types-ts4.5/ui/common/error-state/provider-auth-required-svg.d.ts +0 -1
- package/dist/types-ts4.5/ui/common/error-state/provider-auth-required.d.ts +0 -1
- package/dist/types-ts4.5/ui/common/initial-state-view/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/common/modal/basic-search-input/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/common/modal/datasources-table-in-modal-preview/use-column-visibility/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/common/modal/mode-switcher/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/common/modal/popup-select/custom-checkbox-option.d.ts +0 -1
- package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/errorMessage.d.ts +1 -1
- package/dist/types-ts4.5/ui/common/modal/search-count/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/common/modal/site-selector/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.d.ts +0 -1
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/date-range-picker/utils.d.ts +2 -2
- package/dist/types-ts4.5/ui/datasource-table-view/datasourceTableView.d.ts +4 -5
- package/dist/types-ts4.5/ui/issue-like-table/column-picker/concatenated-menu-list.d.ts +0 -1
- package/dist/types-ts4.5/ui/issue-like-table/edit-type/index.d.ts +5 -5
- package/dist/types-ts4.5/ui/issue-like-table/empty-state/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/issue-like-table/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/issue-like-table/render-type/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/issue-like-table/render-type/richtext/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/issue-like-table/shared-components/icon/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/issue-like-table/truncate-text-tag/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/issue-like-table/utils.d.ts +2 -3
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/hooks/useFilterOptions.d.ts +1 -1
- package/dist/types-ts4.5/ui/jira-issues-modal/jira-search-container/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/table-footer/index.d.ts +0 -1
- package/package.json +2 -2
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type IssueLikeDataTableViewProps } from '../../../../issue-like-table/types';
|
|
3
2
|
export type ColumnVisibilityProps = Pick<IssueLikeDataTableViewProps, 'onVisibleColumnKeysChange'> & {
|
|
4
3
|
visibleColumnCount: React.MutableRefObject<number>;
|
|
@@ -6,6 +6,6 @@ interface TableSearchCountProps {
|
|
|
6
6
|
testId?: string;
|
|
7
7
|
styles?: React.CSSProperties;
|
|
8
8
|
}
|
|
9
|
-
export declare const AssetsItemCount: ({ searchCount, url, testId, }: Pick<TableSearchCountProps,
|
|
9
|
+
export declare const AssetsItemCount: ({ searchCount, url, testId, }: Pick<TableSearchCountProps, "testId" | "url" | "searchCount">) => React.JSX.Element;
|
|
10
10
|
declare const TableSearchCount: ({ url, searchCount, styles: additionalStyles, testId, prefixTextType, }: TableSearchCountProps) => React.JSX.Element;
|
|
11
11
|
export default TableSearchCount;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type IntlShape } from 'react-intl-next';
|
|
3
3
|
import { type DateRangeType } from '../../../../common/modal/popup-select/types';
|
|
4
|
-
export declare const getDropdownLabel: (option: DateRangeType | undefined, formatMessage: IntlShape[
|
|
5
|
-
export declare const getCurrentOptionLabel: (formatDate: IntlShape[
|
|
4
|
+
export declare const getDropdownLabel: (option: DateRangeType | undefined, formatMessage: IntlShape["formatMessage"]) => string;
|
|
5
|
+
export declare const getCurrentOptionLabel: (formatDate: IntlShape["formatDate"], formatMessage: IntlShape["formatMessage"], value?: DateRangeType, to?: string, from?: string) => string;
|
|
6
6
|
export declare const useInvalidDateRange: (from?: string, to?: string) => React.JSX.Element | null;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const DatasourceTableView: import("react").ForwardRefExoticComponent<{
|
|
3
2
|
datasourceId: string;
|
|
4
3
|
parameters: object;
|
|
5
|
-
url?: string
|
|
6
|
-
} & Partial<Pick<import("../issue-like-table/types").IssueLikeDataTableViewProps, "visibleColumnKeys" | "wrappedColumnKeys" | "columnCustomSizes" | "
|
|
4
|
+
url?: string;
|
|
5
|
+
} & Partial<Pick<import("../issue-like-table/types").IssueLikeDataTableViewProps, "visibleColumnKeys" | "wrappedColumnKeys" | "columnCustomSizes" | "onVisibleColumnKeysChange" | "scrollableContainerHeight" | "onColumnResize" | "onWrappedColumnChange">> & import("@atlaskit/analytics-next").WithContextProps & import("react").RefAttributes<any>>;
|
|
7
6
|
export declare const DataSourceTableViewNoSuspense: import("react").ForwardRefExoticComponent<{
|
|
8
7
|
datasourceId: string;
|
|
9
8
|
parameters: object;
|
|
10
|
-
url?: string
|
|
11
|
-
} & Partial<Pick<import("../issue-like-table/types").IssueLikeDataTableViewProps, "visibleColumnKeys" | "wrappedColumnKeys" | "columnCustomSizes" | "
|
|
9
|
+
url?: string;
|
|
10
|
+
} & Partial<Pick<import("../issue-like-table/types").IssueLikeDataTableViewProps, "visibleColumnKeys" | "wrappedColumnKeys" | "columnCustomSizes" | "onVisibleColumnKeysChange" | "scrollableContainerHeight" | "onColumnResize" | "onWrappedColumnChange">> & import("@atlaskit/analytics-next").WithContextProps & import("react").RefAttributes<any>>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type MenuListComponentProps, type OptionProps, type OptionType } from '@atlaskit/select';
|
|
3
2
|
export declare const SELECT_ITEMS_MAXIMUM_THRESHOLD = 200;
|
|
4
3
|
export declare const ConcatenatedMenuList: ({ children, ...props }: MenuListComponentProps<OptionType, true>) => JSX.Element;
|
|
@@ -6,10 +6,10 @@ import { type DatasourceTypeWithOnlyValues } from '../types';
|
|
|
6
6
|
export declare const editType: ({ defaultValue, currentValue, labelId, setEditValues, executeFetch, }: {
|
|
7
7
|
defaultValue: DatasourceTypeWithOnlyValues;
|
|
8
8
|
currentValue: DatasourceTypeWithOnlyValues;
|
|
9
|
-
labelId?: string
|
|
9
|
+
labelId?: string;
|
|
10
10
|
setEditValues: React.Dispatch<React.SetStateAction<DatasourceTypeWithOnlyValues>>;
|
|
11
|
-
executeFetch?: ExecuteFetch
|
|
12
|
-
}) => Pick<React.ComponentProps<typeof InlineEdit>,
|
|
13
|
-
export declare const isEditTypeSupported: (type: DatasourceType[
|
|
14
|
-
export declare const isEditTypeSelectable: (type: DatasourceType[
|
|
11
|
+
executeFetch?: ExecuteFetch;
|
|
12
|
+
}) => Pick<React.ComponentProps<typeof InlineEdit>, "defaultValue" | "editView">;
|
|
13
|
+
export declare const isEditTypeSupported: (type: DatasourceType["type"]) => boolean;
|
|
14
|
+
export declare const isEditTypeSelectable: (type: DatasourceType["type"]) => boolean;
|
|
15
15
|
export declare const toValueType: <T>(typeWithValues: DatasourceTypeWithOnlyValues) => T;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type DatasourceResponseSchemaProperty } from '@atlaskit/linking-types/datasource';
|
|
3
2
|
import { type IssueLikeDataTableViewProps } from './types';
|
|
4
3
|
export declare const getOrderedColumns: (columns: DatasourceResponseSchemaProperty[], visibleColumnKeys: string[]) => DatasourceResponseSchemaProperty[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type IntlShape } from 'react-intl-next';
|
|
2
2
|
import { type DatasourceType } from '@atlaskit/linking-types';
|
|
3
3
|
import { type TableViewPropsRenderType } from '../types';
|
|
4
|
-
export declare const stringifyType: ({ type, value }: DatasourceType, formatMessage: IntlShape[
|
|
4
|
+
export declare const stringifyType: ({ type, value }: DatasourceType, formatMessage: IntlShape["formatMessage"], formatDate: IntlShape["formatDate"]) => string;
|
|
5
5
|
export declare const renderType: TableViewPropsRenderType;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type FieldProps } from '@atlaskit/form';
|
|
3
2
|
import { DatasourceAction } from '../../analytics/types';
|
|
4
3
|
export declare const COLUMN_BASE_WIDTH = 8;
|
|
@@ -25,7 +24,7 @@ export declare const getColumnAction: (oldVisibleColumnKeys: string[], newVisibl
|
|
|
25
24
|
/**
|
|
26
25
|
* Remove deprecated `aria-labelledby` prop from select component props.
|
|
27
26
|
*/
|
|
28
|
-
export declare const getCleanedSelectProps: (props: Omit<FieldProps<string>,
|
|
27
|
+
export declare const getCleanedSelectProps: (props: Omit<FieldProps<string>, "value">) => {
|
|
29
28
|
name: string;
|
|
30
29
|
id: string;
|
|
31
30
|
'aria-describedby'?: string | undefined;
|
|
@@ -34,8 +33,8 @@ export declare const getCleanedSelectProps: (props: Omit<FieldProps<string>, 'va
|
|
|
34
33
|
onBlur: () => void;
|
|
35
34
|
onChange: (value: string | import("react").FormEvent<HTMLInputElement>) => void;
|
|
36
35
|
isDisabled: boolean;
|
|
37
|
-
isInvalid: boolean;
|
|
38
36
|
isRequired: boolean;
|
|
37
|
+
isInvalid: boolean;
|
|
39
38
|
};
|
|
40
39
|
/**
|
|
41
40
|
* Create id for table header to be used as aria-labelledby on form fields.
|
|
@@ -19,6 +19,6 @@ export interface FilterOptionsState {
|
|
|
19
19
|
status: 'empty' | 'loading' | 'resolved' | 'rejected' | 'loadingMore';
|
|
20
20
|
errors: unknown[];
|
|
21
21
|
}
|
|
22
|
-
export declare const getAssigneeUnassignedFilterOption: (formatMessage: IntlShape[
|
|
22
|
+
export declare const getAssigneeUnassignedFilterOption: (formatMessage: IntlShape["formatMessage"]) => AvatarLabelOption;
|
|
23
23
|
export declare const useFilterOptions: ({ filterType, site }: FilterOptionsProps) => FilterOptionsState;
|
|
24
24
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { JiraSearchMethod, Site } from '../../../common/types';
|
|
3
2
|
import { type SelectedOptionsMap } from '../basic-filters/types';
|
|
4
3
|
import { type JiraIssueDatasourceParameters, type JiraIssueDatasourceParametersQuery } from '../types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "4.19.
|
|
3
|
+
"version": "4.19.3",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@atlaskit/flag": "^17.3.0",
|
|
52
52
|
"@atlaskit/form": "^12.0.0",
|
|
53
53
|
"@atlaskit/heading": "^5.2.0",
|
|
54
|
-
"@atlaskit/icon": "^27.
|
|
54
|
+
"@atlaskit/icon": "^27.11.0",
|
|
55
55
|
"@atlaskit/icon-object": "^7.2.0",
|
|
56
56
|
"@atlaskit/image": "^3.0.0",
|
|
57
57
|
"@atlaskit/inline-edit": "^15.3.0",
|