@atlaskit/link-datasource 6.3.1 → 6.4.1

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 CHANGED
@@ -1,5 +1,22 @@
1
1
  # @atlaskit/link-datasource
2
2
 
3
+ ## 6.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 6.4.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`4fd26afe1912d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4fd26afe1912d) -
14
+ Update i18n NPM package versions for linking-platform,smart-experiences (Group 15)
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+
3
20
  ## 6.3.1
4
21
 
5
22
  ### Patch Changes
@@ -62,7 +62,7 @@ var AvatarOptionLabel = function AvatarOptionLabel(_ref3) {
62
62
  })) : /*#__PURE__*/_react.default.createElement(_avatar.default, {
63
63
  appearance: data.isSquare ? 'square' : 'circle',
64
64
  src: data.avatar,
65
- size: "xsmall"
65
+ size: "xxsmall"
66
66
  }), /*#__PURE__*/_react.default.createElement(_compiled.Box, {
67
67
  xcss: (0, _css.cx)(styles.commonLabelStyles, styles.avatarOptionLabelStyles)
68
68
  }, data.label));
@@ -60,7 +60,7 @@ const AvatarOptionLabel = ({
60
60
  })) : /*#__PURE__*/React.createElement(Avatar, {
61
61
  appearance: data.isSquare ? 'square' : 'circle',
62
62
  src: data.avatar,
63
- size: "xsmall"
63
+ size: "xxsmall"
64
64
  }), /*#__PURE__*/React.createElement(Box, {
65
65
  xcss: cx(styles.commonLabelStyles, styles.avatarOptionLabelStyles)
66
66
  }, data.label));
@@ -55,7 +55,7 @@ var AvatarOptionLabel = function AvatarOptionLabel(_ref3) {
55
55
  })) : /*#__PURE__*/React.createElement(Avatar, {
56
56
  appearance: data.isSquare ? 'square' : 'circle',
57
57
  src: data.avatar,
58
- size: "xsmall"
58
+ size: "xxsmall"
59
59
  }), /*#__PURE__*/React.createElement(Box, {
60
60
  xcss: cx(styles.commonLabelStyles, styles.avatarOptionLabelStyles)
61
61
  }, data.label));
@@ -15,6 +15,6 @@ interface UseErrorLoggerPropsActions {
15
15
  }
16
16
  export type UseErrorLoggerProps = UseErrorLoggerPropsDatasource | UseErrorLoggerPropsActions;
17
17
  declare const useErrorLogger: (loggerProps: UseErrorLoggerProps) => {
18
- captureError: (errorLocation: DatasourceOperationFailedAttributesType["errorLocation"], error: unknown) => void;
18
+ captureError: (errorLocation: DatasourceOperationFailedAttributesType['errorLocation'], error: unknown) => void;
19
19
  };
20
20
  export default useErrorLogger;
@@ -1,5 +1,5 @@
1
1
  export declare const mapFetchErrors: (error: any) => Error;
2
- export declare const getStatusCodeGroup: (error: Error) => "unknown" | "1xx" | "3xx" | "4xx" | "5xx";
2
+ export declare const getStatusCodeGroup: (error: Error) => 'unknown' | '1xx' | '3xx' | '4xx' | '5xx';
3
3
  export declare class PermissionError extends Error {
4
4
  constructor(message: string);
5
5
  }
@@ -1,2 +1,2 @@
1
1
  import type { Site } from '../common/types';
2
- export declare const getAccessibleProducts: (product: "jira" | "confluence") => Promise<Site[]>;
2
+ export declare const getAccessibleProducts: (product: 'jira' | 'confluence') => Promise<Site[]>;
@@ -1,5 +1,5 @@
1
1
  import type { Site } from '../common/types';
2
- export declare const useAvailableSites: (product: "confluence" | "jira", cloudId?: string) => {
2
+ export declare const useAvailableSites: (product: 'confluence' | 'jira', cloudId?: string) => {
3
3
  availableSites: Site[] | undefined;
4
4
  selectedSite: Site | undefined;
5
5
  };
@@ -38,8 +38,8 @@ export type AqlValidateResponse = {
38
38
  errors?: ValidationError;
39
39
  isValid: boolean;
40
40
  };
41
- export declare const objectSchemaKey: "objectSchema";
42
- export declare const aqlKey: "aql";
41
+ export declare const objectSchemaKey: 'objectSchema';
42
+ export declare const aqlKey: 'aql';
43
43
  export type SearchForm = {
44
44
  [aqlKey]: string;
45
45
  [objectSchemaKey]: ObjectSchemaOption | undefined | null;
@@ -6,6 +6,6 @@ interface TableSearchCountProps {
6
6
  testId?: string;
7
7
  url?: string;
8
8
  }
9
- export declare const AssetsItemCount: ({ searchCount, url, testId, }: Pick<TableSearchCountProps, "testId" | "url" | "searchCount">) => React.JSX.Element;
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';
3
3
  import { type DateRangeType } from '../../../../common/modal/popup-select/types';
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;
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;
@@ -9,7 +9,7 @@ export declare const editType: ({ defaultValue, currentValue, labelId, setEditVa
9
9
  executeFetch?: ExecuteFetch;
10
10
  labelId?: string;
11
11
  setEditValues: React.Dispatch<React.SetStateAction<DatasourceTypeWithOnlyValues>>;
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;
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,5 +1,5 @@
1
1
  import { type IntlShape } from 'react-intl';
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["formatMessage"], formatDate: IntlShape["formatDate"]) => string;
4
+ export declare const stringifyType: ({ type, value }: DatasourceType, formatMessage: IntlShape['formatMessage'], formatDate: IntlShape['formatDate']) => string;
5
5
  export declare const renderType: TableViewPropsRenderType;
@@ -25,11 +25,11 @@ export declare const getColumnAction: (oldVisibleColumnKeys: string[], newVisibl
25
25
  /**
26
26
  * Remove deprecated `aria-labelledby` prop from select component props.
27
27
  */
28
- export declare const getCleanedSelectProps: (props: Omit<FieldProps<string>, "value">) => {
28
+ export declare const getCleanedSelectProps: (props: Omit<FieldProps<string>, 'value'>) => {
29
29
  name: string;
30
30
  id: string;
31
- "aria-describedby"?: string | undefined;
32
- "aria-invalid": "true" | "false";
31
+ 'aria-describedby'?: string | undefined;
32
+ 'aria-invalid': 'true' | 'false';
33
33
  onFocus: () => void;
34
34
  onBlur: () => void;
35
35
  onChange: (value: string | FormEvent<HTMLInputElement>) => void;
@@ -19,6 +19,6 @@ export interface FilterOptionsState {
19
19
  status: 'empty' | 'loading' | 'resolved' | 'rejected' | 'loadingMore';
20
20
  totalCount: number;
21
21
  }
22
- export declare const getAssigneeUnassignedFilterOption: (formatMessage: IntlShape["formatMessage"]) => AvatarLabelOption;
22
+ export declare const getAssigneeUnassignedFilterOption: (formatMessage: IntlShape['formatMessage']) => AvatarLabelOption;
23
23
  export declare const useFilterOptions: ({ filterType, site }: FilterOptionsProps) => FilterOptionsState;
24
24
  export {};
@@ -4,12 +4,12 @@ export type SelectedOptionsMap = {
4
4
  [key in BasicFilterFieldType]?: SelectOption[];
5
5
  };
6
6
  export declare const appearanceMap: {
7
- readonly BLUE_GRAY: "default";
8
- readonly MEDIUM_GRAY: "default";
9
- readonly BROWN: "default";
10
- readonly GREEN: "success";
11
- readonly YELLOW: "inprogress";
12
- readonly WARM_RED: "removed";
7
+ readonly BLUE_GRAY: 'default';
8
+ readonly MEDIUM_GRAY: 'default';
9
+ readonly BROWN: 'default';
10
+ readonly GREEN: 'success';
11
+ readonly YELLOW: 'inprogress';
12
+ readonly WARM_RED: 'removed';
13
13
  };
14
14
  export type ColorName = keyof typeof appearanceMap;
15
15
  export type Appearance = (typeof appearanceMap)[ColorName];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "6.3.1",
3
+ "version": "6.4.1",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -36,23 +36,23 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@atlaskit/adf-schema": "^56.1.0",
39
- "@atlaskit/afm-i18n-platform-linking-platform-link-datasource": "2.7.0",
39
+ "@atlaskit/afm-i18n-platform-linking-platform-link-datasource": "2.201.0",
40
40
  "@atlaskit/analytics-next": "^12.3.0",
41
41
  "@atlaskit/atlassian-context": "^1.1.0",
42
- "@atlaskit/avatar": "^26.2.0",
43
- "@atlaskit/avatar-group": "^13.1.0",
44
- "@atlaskit/badge": "^19.1.0",
42
+ "@atlaskit/avatar": "^26.4.0",
43
+ "@atlaskit/avatar-group": "^13.2.0",
44
+ "@atlaskit/badge": "^20.0.0",
45
45
  "@atlaskit/button": "^24.3.0",
46
46
  "@atlaskit/css": "^1.0.0",
47
- "@atlaskit/datetime-picker": "^18.1.0",
48
- "@atlaskit/dropdown-menu": "^17.1.0",
47
+ "@atlaskit/datetime-picker": "^18.2.0",
48
+ "@atlaskit/dropdown-menu": "^17.2.0",
49
49
  "@atlaskit/editor-prosemirror": "^8.0.0",
50
50
  "@atlaskit/empty-state": "^11.1.0",
51
51
  "@atlaskit/feature-gate-js-client": "^6.0.0",
52
52
  "@atlaskit/flag": "^18.2.0",
53
53
  "@atlaskit/form": "^16.1.0",
54
- "@atlaskit/heading": "^6.2.0",
55
- "@atlaskit/icon": "^37.1.0",
54
+ "@atlaskit/heading": "^7.0.0",
55
+ "@atlaskit/icon": "^37.2.0",
56
56
  "@atlaskit/image": "^4.2.0",
57
57
  "@atlaskit/inline-edit": "^16.2.0",
58
58
  "@atlaskit/intl-messages-provider": "^4.2.0",
@@ -60,34 +60,34 @@
60
60
  "@atlaskit/jql-editor": "^7.4.0",
61
61
  "@atlaskit/jql-editor-autocomplete-rest": "^4.2.0",
62
62
  "@atlaskit/layering": "^5.0.0",
63
- "@atlaskit/link": "^4.3.0",
63
+ "@atlaskit/link": "^5.0.0",
64
64
  "@atlaskit/link-client-extension": "^7.1.0",
65
65
  "@atlaskit/link-provider": "^5.2.0",
66
66
  "@atlaskit/linking-common": "^11.0.0",
67
67
  "@atlaskit/linking-types": "^15.0.0",
68
68
  "@atlaskit/logo": "^21.4.0",
69
69
  "@atlaskit/lozenge": "^14.1.0",
70
- "@atlaskit/modal-dialog": "^16.1.0",
70
+ "@atlaskit/modal-dialog": "^16.2.0",
71
71
  "@atlaskit/object": "^2.2.0",
72
72
  "@atlaskit/outbound-auth-flow-client": "^4.1.0",
73
73
  "@atlaskit/platform-feature-flags": "^2.1.0",
74
- "@atlaskit/popup": "^5.1.0",
74
+ "@atlaskit/popup": "^5.2.0",
75
75
  "@atlaskit/pragmatic-drag-and-drop": "^2.0.0",
76
76
  "@atlaskit/pragmatic-drag-and-drop-hitbox": "^2.0.0",
77
77
  "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll": "^3.0.0",
78
78
  "@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^4.1.0",
79
79
  "@atlaskit/primitives": "^22.2.0",
80
80
  "@atlaskit/react-compiler-gating": "^0.2.0",
81
- "@atlaskit/react-select": "^4.6.0",
82
- "@atlaskit/select": "^22.5.0",
83
- "@atlaskit/smart-card": "^45.13.0",
84
- "@atlaskit/smart-user-picker": "^11.2.0",
81
+ "@atlaskit/react-select": "^4.7.0",
82
+ "@atlaskit/select": "^22.6.0",
83
+ "@atlaskit/smart-card": "^45.15.0",
84
+ "@atlaskit/smart-user-picker": "^11.3.0",
85
85
  "@atlaskit/spinner": "^20.1.0",
86
86
  "@atlaskit/tag": "^15.4.0",
87
87
  "@atlaskit/textfield": "^9.1.0",
88
88
  "@atlaskit/theme": "^26.1.0",
89
89
  "@atlaskit/tokens": "^16.3.0",
90
- "@atlaskit/tooltip": "^23.1.0",
90
+ "@atlaskit/tooltip": "^24.0.0",
91
91
  "@atlaskit/ufo": "^1.0.0",
92
92
  "@atlaskit/visually-hidden": "^4.2.0",
93
93
  "@atlaskit/width-detector": "^6.2.0",