@atlaskit/link-datasource 2.9.2 → 2.9.4
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 +18 -0
- package/dist/cjs/analytics/generated/use-analytics-events.js +1 -1
- package/dist/cjs/ui/issue-like-table/draggable-table-heading.js +14 -2
- package/dist/cjs/ui/issue-like-table/index.js +87 -70
- package/dist/cjs/ui/issue-like-table/styled.js +22 -3
- package/dist/cjs/ui/issue-like-table/table-cell-content/index.js +98 -23
- package/dist/es2019/analytics/generated/use-analytics-events.js +1 -1
- package/dist/es2019/ui/issue-like-table/draggable-table-heading.js +16 -1
- package/dist/es2019/ui/issue-like-table/index.js +27 -11
- package/dist/es2019/ui/issue-like-table/styled.js +28 -0
- package/dist/es2019/ui/issue-like-table/table-cell-content/index.js +96 -18
- package/dist/esm/analytics/generated/use-analytics-events.js +1 -1
- package/dist/esm/ui/issue-like-table/draggable-table-heading.js +14 -2
- package/dist/esm/ui/issue-like-table/index.js +88 -71
- package/dist/esm/ui/issue-like-table/styled.js +21 -2
- package/dist/esm/ui/issue-like-table/table-cell-content/index.js +98 -23
- package/dist/types/analytics/generated/analytics.types.d.ts +13 -8
- package/dist/types/ui/issue-like-table/styled.d.ts +4 -0
- package/dist/types/ui/issue-like-table/table-cell-content/index.d.ts +3 -2
- package/dist/types-ts4.5/analytics/generated/analytics.types.d.ts +13 -8
- package/dist/types-ts4.5/ui/issue-like-table/styled.d.ts +4 -0
- package/dist/types-ts4.5/ui/issue-like-table/table-cell-content/index.d.ts +3 -2
- package/package.json +6 -3
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generates Typescript types for analytics events from analytics.spec.yaml
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::a526398bbb8839b31c26c69ef2845c19>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen link-datasource
|
|
8
8
|
*/
|
|
9
9
|
export type ComponentMetaDataType = {
|
|
@@ -16,10 +16,6 @@ export type AnalyticsContextAttributesType = {
|
|
|
16
16
|
dataProvider: 'jira-issues' | 'jsm-assets' | 'confluence-search';
|
|
17
17
|
};
|
|
18
18
|
export type DatasourceModalDialogViewedAttributesType = {};
|
|
19
|
-
export type LinkClickedPoweredByAttributesType = {
|
|
20
|
-
extensionKey: string;
|
|
21
|
-
componentHierarchy: string;
|
|
22
|
-
};
|
|
23
19
|
export type ModalReadyDatasourceAttributesType = {
|
|
24
20
|
instancesCount: number | null;
|
|
25
21
|
schemasCount: number | null;
|
|
@@ -57,6 +53,8 @@ export type ButtonClickedCancelAttributesType = {
|
|
|
57
53
|
extensionKey: string | null;
|
|
58
54
|
actions: unknown[];
|
|
59
55
|
};
|
|
56
|
+
export type ButtonClickedWrapAttributesType = {};
|
|
57
|
+
export type ButtonClickedUnwrapAttributesType = {};
|
|
60
58
|
export type LinkClickedSingleItemAttributesType = {
|
|
61
59
|
extensionKey: string | null;
|
|
62
60
|
destinationObjectTypes: unknown[];
|
|
@@ -126,6 +124,7 @@ export type ButtonClickedBasicSearchDropdownAttributesType = {
|
|
|
126
124
|
type: 'showMore';
|
|
127
125
|
};
|
|
128
126
|
export type AqlEditorSearchedAttributesType = {};
|
|
127
|
+
export type LinkClickedPoweredByAttributesType = {};
|
|
129
128
|
export type GetWorkspaceIdSuccessAttributesType = {};
|
|
130
129
|
export type GetWorkspaceIdFailedAttributesType = {
|
|
131
130
|
statusCodeGroup: '1xx' | '3xx' | '4xx' | '5xx' | 'unknown';
|
|
@@ -170,6 +169,12 @@ export type AnalyticsEventAttributes = {
|
|
|
170
169
|
/**
|
|
171
170
|
* Fired on cancel button click */
|
|
172
171
|
'ui.button.clicked.cancel': ButtonClickedCancelAttributesType;
|
|
172
|
+
/**
|
|
173
|
+
* Fired on wrap button click */
|
|
174
|
+
'ui.button.clicked.wrap': ButtonClickedWrapAttributesType;
|
|
175
|
+
/**
|
|
176
|
+
* Fired on unwrap button click */
|
|
177
|
+
'ui.button.clicked.unwrap': ButtonClickedUnwrapAttributesType;
|
|
173
178
|
/**
|
|
174
179
|
* Fired when user clicks on datasource items */
|
|
175
180
|
'ui.link.clicked.singleItem': LinkClickedSingleItemAttributesType;
|
|
@@ -215,12 +220,12 @@ export type AnalyticsEventAttributes = {
|
|
|
215
220
|
/**
|
|
216
221
|
* Fired when the “show more” button inside the dropdown menu is clicked */
|
|
217
222
|
'ui.button.clicked.basicSearchDropdown': ButtonClickedBasicSearchDropdownAttributesType;
|
|
218
|
-
/**
|
|
219
|
-
* Fired when the “show more” button inside the dropdown menu is clicked */
|
|
220
|
-
'ui.link.clicked.poweredBy': LinkClickedPoweredByAttributesType;
|
|
221
223
|
/**
|
|
222
224
|
* Fired when search is initiated via the search icon or enter key press for aql editor input field. */
|
|
223
225
|
'ui.aqlEditor.searched': AqlEditorSearchedAttributesType;
|
|
226
|
+
/**
|
|
227
|
+
* Fired when the power by link on the issue like table footer is clicked. */
|
|
228
|
+
'ui.link.clicked.poweredBy': LinkClickedPoweredByAttributesType;
|
|
224
229
|
/**
|
|
225
230
|
* Fired when fetching a workspace Id is successful. */
|
|
226
231
|
'operational.getWorkspaceId.success': GetWorkspaceIdSuccessAttributesType;
|
|
@@ -22,3 +22,7 @@ export declare const TableCell: import("@emotion/styled").StyledComponent<{
|
|
|
22
22
|
theme?: import("@emotion/react").Theme | undefined;
|
|
23
23
|
as?: import("react").ElementType<any> | undefined;
|
|
24
24
|
}, import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, {}>;
|
|
25
|
+
export declare const InlineEditableTableCell: import("@emotion/styled").StyledComponent<{
|
|
26
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
27
|
+
as?: import("react").ElementType<any> | undefined;
|
|
28
|
+
}, import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, {}>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { type DatasourceType } from '@atlaskit/linking-types';
|
|
2
3
|
import { type TableViewPropsRenderType } from '../types';
|
|
3
4
|
interface TableCellContentProps {
|
|
4
5
|
id: string;
|
|
5
|
-
columnKey: string
|
|
6
|
-
columnType:
|
|
6
|
+
columnKey: string;
|
|
7
|
+
columnType: DatasourceType['type'];
|
|
7
8
|
/** Used to retrieve cell content from the store */
|
|
8
9
|
renderItem: TableViewPropsRenderType;
|
|
9
10
|
wrappedColumnKeys: string[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.4",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@atlaskit/empty-state": "^7.9.0",
|
|
48
48
|
"@atlaskit/form": "^10.4.0",
|
|
49
49
|
"@atlaskit/heading": "^2.4.0",
|
|
50
|
-
"@atlaskit/icon": "^22.
|
|
50
|
+
"@atlaskit/icon": "^22.10.0",
|
|
51
51
|
"@atlaskit/icon-object": "^6.4.0",
|
|
52
52
|
"@atlaskit/image": "^1.3.0",
|
|
53
53
|
"@atlaskit/intl-messages-provider": "^1.0.0",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"@atlaskit/tag": "^12.4.0",
|
|
76
76
|
"@atlaskit/textfield": "6.4.2",
|
|
77
77
|
"@atlaskit/theme": "^12.11.0",
|
|
78
|
-
"@atlaskit/tokens": "^1.
|
|
78
|
+
"@atlaskit/tokens": "^1.57.0",
|
|
79
79
|
"@atlaskit/tooltip": "^18.5.0",
|
|
80
80
|
"@atlaskit/ufo": "^0.2.4",
|
|
81
81
|
"@atlaskit/width-detector": "^4.2.0",
|
|
@@ -182,6 +182,9 @@
|
|
|
182
182
|
},
|
|
183
183
|
"platform-datasources-use-refactored-config-modal": {
|
|
184
184
|
"type": "boolean"
|
|
185
|
+
},
|
|
186
|
+
"platform-datasources-enable-two-way-sync": {
|
|
187
|
+
"type": "boolean"
|
|
185
188
|
}
|
|
186
189
|
}
|
|
187
190
|
}
|