@atlaskit/link-datasource 1.22.2 → 1.22.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 +8 -0
- package/dist/cjs/ui/common/error-state/access-required.js +5 -4
- package/dist/es2019/ui/common/error-state/access-required.js +5 -4
- package/dist/esm/ui/common/error-state/access-required.js +5 -4
- package/dist/types/ui/assets-modal/types.d.ts +4 -13
- package/dist/types-ts4.5/ui/assets-modal/types.d.ts +4 -13
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 1.22.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572) [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) - Upgrading @atlaskit/editor-prosemirror dependency
|
|
8
|
+
- [#70460](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70460) [`2f37600156ae`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2f37600156ae) - The internal composition of a component in this package has changed. There is no expected change in behaviour.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 1.22.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -9,6 +9,7 @@ var _react = require("react");
|
|
|
9
9
|
var _react2 = require("@emotion/react");
|
|
10
10
|
var _reactIntlNext = require("react-intl-next");
|
|
11
11
|
var _emptyState = _interopRequireDefault(require("@atlaskit/empty-state"));
|
|
12
|
+
var _primitives = require("@atlaskit/primitives");
|
|
12
13
|
var _colors = require("@atlaskit/theme/colors");
|
|
13
14
|
var _analytics = require("../../../analytics");
|
|
14
15
|
var _accessRequiredSvg = require("./access-required-svg");
|
|
@@ -25,8 +26,8 @@ var descriptionMessageStyles = (0, _react2.css)({
|
|
|
25
26
|
flexDirection: 'column',
|
|
26
27
|
gap: "var(--ds-space-200, 16px)"
|
|
27
28
|
});
|
|
28
|
-
var iconContainerStyles = (0,
|
|
29
|
-
marginBottom:
|
|
29
|
+
var iconContainerStyles = (0, _primitives.xcss)({
|
|
30
|
+
marginBottom: 'space.200'
|
|
30
31
|
});
|
|
31
32
|
var Description = function Description(_ref) {
|
|
32
33
|
var message = _ref.message,
|
|
@@ -38,8 +39,8 @@ var Description = function Description(_ref) {
|
|
|
38
39
|
}, url), (0, _react2.jsx)("span", null, message));
|
|
39
40
|
};
|
|
40
41
|
var IconContainer = function IconContainer() {
|
|
41
|
-
return (0, _react2.jsx)(
|
|
42
|
-
|
|
42
|
+
return (0, _react2.jsx)(_primitives.Box, {
|
|
43
|
+
xcss: iconContainerStyles
|
|
43
44
|
}, (0, _react2.jsx)(_accessRequiredSvg.AccessRequiredSVG, null));
|
|
44
45
|
};
|
|
45
46
|
var AccessRequired = exports.AccessRequired = function AccessRequired(_ref2) {
|
|
@@ -3,6 +3,7 @@ import { useEffect } from 'react';
|
|
|
3
3
|
import { css, jsx } from '@emotion/react';
|
|
4
4
|
import { useIntl } from 'react-intl-next';
|
|
5
5
|
import EmptyState from '@atlaskit/empty-state';
|
|
6
|
+
import { Box, xcss } from '@atlaskit/primitives';
|
|
6
7
|
import { N400 } from '@atlaskit/theme/colors';
|
|
7
8
|
import { useDatasourceAnalyticsEvents } from '../../../analytics';
|
|
8
9
|
import { AccessRequiredSVG } from './access-required-svg';
|
|
@@ -17,8 +18,8 @@ const descriptionMessageStyles = css({
|
|
|
17
18
|
flexDirection: 'column',
|
|
18
19
|
gap: "var(--ds-space-200, 16px)"
|
|
19
20
|
});
|
|
20
|
-
const iconContainerStyles =
|
|
21
|
-
marginBottom:
|
|
21
|
+
const iconContainerStyles = xcss({
|
|
22
|
+
marginBottom: 'space.200'
|
|
22
23
|
});
|
|
23
24
|
const Description = ({
|
|
24
25
|
message,
|
|
@@ -30,8 +31,8 @@ const Description = ({
|
|
|
30
31
|
css: urlStyles
|
|
31
32
|
}, url), jsx("span", null, message));
|
|
32
33
|
};
|
|
33
|
-
const IconContainer = () => jsx(
|
|
34
|
-
|
|
34
|
+
const IconContainer = () => jsx(Box, {
|
|
35
|
+
xcss: iconContainerStyles
|
|
35
36
|
}, jsx(AccessRequiredSVG, null));
|
|
36
37
|
export const AccessRequired = ({
|
|
37
38
|
url
|
|
@@ -3,6 +3,7 @@ import { useEffect } from 'react';
|
|
|
3
3
|
import { css, jsx } from '@emotion/react';
|
|
4
4
|
import { useIntl } from 'react-intl-next';
|
|
5
5
|
import EmptyState from '@atlaskit/empty-state';
|
|
6
|
+
import { Box, xcss } from '@atlaskit/primitives';
|
|
6
7
|
import { N400 } from '@atlaskit/theme/colors';
|
|
7
8
|
import { useDatasourceAnalyticsEvents } from '../../../analytics';
|
|
8
9
|
import { AccessRequiredSVG } from './access-required-svg';
|
|
@@ -17,8 +18,8 @@ var descriptionMessageStyles = css({
|
|
|
17
18
|
flexDirection: 'column',
|
|
18
19
|
gap: "var(--ds-space-200, 16px)"
|
|
19
20
|
});
|
|
20
|
-
var iconContainerStyles =
|
|
21
|
-
marginBottom:
|
|
21
|
+
var iconContainerStyles = xcss({
|
|
22
|
+
marginBottom: 'space.200'
|
|
22
23
|
});
|
|
23
24
|
var Description = function Description(_ref) {
|
|
24
25
|
var message = _ref.message,
|
|
@@ -30,8 +31,8 @@ var Description = function Description(_ref) {
|
|
|
30
31
|
}, url), jsx("span", null, message));
|
|
31
32
|
};
|
|
32
33
|
var IconContainer = function IconContainer() {
|
|
33
|
-
return jsx(
|
|
34
|
-
|
|
34
|
+
return jsx(Box, {
|
|
35
|
+
xcss: iconContainerStyles
|
|
35
36
|
}, jsx(AccessRequiredSVG, null));
|
|
36
37
|
};
|
|
37
38
|
export var AccessRequired = function AccessRequired(_ref2) {
|
|
@@ -1,20 +1,11 @@
|
|
|
1
1
|
import type { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
-
import { DatasourceAdf,
|
|
3
|
-
export
|
|
2
|
+
import { DatasourceAdf, InlineCardAdf } from '@atlaskit/linking-common/types';
|
|
3
|
+
export type AssetsDatasourceParameters = {
|
|
4
4
|
workspaceId: string;
|
|
5
5
|
aql: string;
|
|
6
6
|
schemaId: string;
|
|
7
|
-
}
|
|
8
|
-
export
|
|
9
|
-
attrs: {
|
|
10
|
-
url?: string;
|
|
11
|
-
datasource: {
|
|
12
|
-
id: string;
|
|
13
|
-
parameters: AssetsDatasourceParameters;
|
|
14
|
-
views: DatasourceAdfView[];
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
}
|
|
7
|
+
};
|
|
8
|
+
export type AssetsDatasourceAdf = DatasourceAdf<AssetsDatasourceParameters>;
|
|
18
9
|
export interface AssetsConfigModalProps {
|
|
19
10
|
datasourceId: string;
|
|
20
11
|
visibleColumnKeys?: string[];
|
|
@@ -1,20 +1,11 @@
|
|
|
1
1
|
import type { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
-
import { DatasourceAdf,
|
|
3
|
-
export
|
|
2
|
+
import { DatasourceAdf, InlineCardAdf } from '@atlaskit/linking-common/types';
|
|
3
|
+
export type AssetsDatasourceParameters = {
|
|
4
4
|
workspaceId: string;
|
|
5
5
|
aql: string;
|
|
6
6
|
schemaId: string;
|
|
7
|
-
}
|
|
8
|
-
export
|
|
9
|
-
attrs: {
|
|
10
|
-
url?: string;
|
|
11
|
-
datasource: {
|
|
12
|
-
id: string;
|
|
13
|
-
parameters: AssetsDatasourceParameters;
|
|
14
|
-
views: DatasourceAdfView[];
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
}
|
|
7
|
+
};
|
|
8
|
+
export type AssetsDatasourceAdf = DatasourceAdf<AssetsDatasourceParameters>;
|
|
18
9
|
export interface AssetsConfigModalProps {
|
|
19
10
|
datasourceId: string;
|
|
20
11
|
visibleColumnKeys?: string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "1.22.
|
|
3
|
+
"version": "1.22.3",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"@atlaskit/avatar-group": "^9.5.0",
|
|
37
37
|
"@atlaskit/badge": "^15.2.0",
|
|
38
38
|
"@atlaskit/button": "^17.3.0",
|
|
39
|
-
"@atlaskit/dropdown-menu": "^12.
|
|
40
|
-
"@atlaskit/editor-prosemirror": "
|
|
39
|
+
"@atlaskit/dropdown-menu": "^12.5.0",
|
|
40
|
+
"@atlaskit/editor-prosemirror": "3.0.0",
|
|
41
41
|
"@atlaskit/empty-state": "^7.5.0",
|
|
42
42
|
"@atlaskit/form": "^9.0.3",
|
|
43
43
|
"@atlaskit/heading": "^1.6.0",
|