@atlaskit/link-datasource 7.12.2 → 7.12.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
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 7.12.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`8ec7e4654ec86`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8ec7e4654ec86) -
|
|
8
|
+
Update the Assets modal loading skeleton header alignment to match the new UI behind the
|
|
9
|
+
`astral_assets_macro_table_ui_uplift` feature gate
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 7.12.2
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -13,12 +13,18 @@ var React = _react;
|
|
|
13
13
|
var _runtime = require("@compiled/react/runtime");
|
|
14
14
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
15
15
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
16
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
17
|
+
var _flex = require("@atlaskit/primitives/compiled/flex");
|
|
16
18
|
var _loadingState = require("./aql-search-input/loading-state");
|
|
17
19
|
var _loadingState2 = require("./object-schema-select/loading-state");
|
|
18
20
|
var _styled = require("./styled");
|
|
19
21
|
var _excluded = ["as", "style"],
|
|
20
22
|
_excluded2 = ["as", "style"];
|
|
21
23
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
24
|
+
var styles = {
|
|
25
|
+
flexStyles: "_1bsb1osq"
|
|
26
|
+
};
|
|
27
|
+
|
|
22
28
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled
|
|
23
29
|
var SchemaSelectContainer = (0, _react.forwardRef)(function (_ref, __cmplr) {
|
|
24
30
|
var _ref$as = _ref.as,
|
|
@@ -53,7 +59,12 @@ var AssetsSearchContainerLoading = exports.AssetsSearchContainerLoading = functi
|
|
|
53
59
|
var modalTitle = _ref3.modalTitle;
|
|
54
60
|
return /*#__PURE__*/React.createElement(FormContainer, {
|
|
55
61
|
"data-testid": "assets-datasource-modal--search-container-skeleton"
|
|
56
|
-
}, /*#__PURE__*/React.createElement(
|
|
62
|
+
}, (0, _fg.fg)('astral_assets_macro_table_ui_uplift') ? /*#__PURE__*/React.createElement(_flex.Flex, {
|
|
63
|
+
gap: "space.100",
|
|
64
|
+
alignItems: "center",
|
|
65
|
+
justifyContent: "space-between",
|
|
66
|
+
xcss: styles.flexStyles
|
|
67
|
+
}, modalTitle, /*#__PURE__*/React.createElement(SchemaSelectContainer, null, /*#__PURE__*/React.createElement(_loadingState2.AssetsObjectSchemaSelectSkeleton, null))) : /*#__PURE__*/React.createElement(_styled.FormRowContainer, {
|
|
57
68
|
isNarrowGap: true
|
|
58
69
|
}, modalTitle, /*#__PURE__*/React.createElement(SchemaSelectContainer, null, /*#__PURE__*/React.createElement(_loadingState2.AssetsObjectSchemaSelectSkeleton, null))), /*#__PURE__*/React.createElement(_styled.FormRowContainer, null, /*#__PURE__*/React.createElement(_loadingState.AssetsAqlSearchInputSkeleton, null)));
|
|
59
70
|
};
|
|
@@ -4,9 +4,15 @@ import "./loading-state.compiled.css";
|
|
|
4
4
|
import { forwardRef } from 'react';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { ax, ix } from "@compiled/react/runtime";
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
8
|
+
import { Flex } from '@atlaskit/primitives/compiled/flex';
|
|
7
9
|
import { AssetsAqlSearchInputSkeleton } from './aql-search-input/loading-state';
|
|
8
10
|
import { AssetsObjectSchemaSelectSkeleton } from './object-schema-select/loading-state';
|
|
9
11
|
import { FormRowContainer } from './styled';
|
|
12
|
+
const styles = {
|
|
13
|
+
flexStyles: "_1bsb1osq"
|
|
14
|
+
};
|
|
15
|
+
|
|
10
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled
|
|
11
17
|
const SchemaSelectContainer = forwardRef(({
|
|
12
18
|
as: C = "div",
|
|
@@ -42,7 +48,12 @@ export const AssetsSearchContainerLoading = ({
|
|
|
42
48
|
}) => {
|
|
43
49
|
return /*#__PURE__*/React.createElement(FormContainer, {
|
|
44
50
|
"data-testid": "assets-datasource-modal--search-container-skeleton"
|
|
45
|
-
}, /*#__PURE__*/React.createElement(
|
|
51
|
+
}, fg('astral_assets_macro_table_ui_uplift') ? /*#__PURE__*/React.createElement(Flex, {
|
|
52
|
+
gap: "space.100",
|
|
53
|
+
alignItems: "center",
|
|
54
|
+
justifyContent: "space-between",
|
|
55
|
+
xcss: styles.flexStyles
|
|
56
|
+
}, modalTitle, /*#__PURE__*/React.createElement(SchemaSelectContainer, null, /*#__PURE__*/React.createElement(AssetsObjectSchemaSelectSkeleton, null))) : /*#__PURE__*/React.createElement(FormRowContainer, {
|
|
46
57
|
isNarrowGap: true
|
|
47
58
|
}, modalTitle, /*#__PURE__*/React.createElement(SchemaSelectContainer, null, /*#__PURE__*/React.createElement(AssetsObjectSchemaSelectSkeleton, null))), /*#__PURE__*/React.createElement(FormRowContainer, null, /*#__PURE__*/React.createElement(AssetsAqlSearchInputSkeleton, null)));
|
|
48
59
|
};
|
|
@@ -7,9 +7,15 @@ import "./loading-state.compiled.css";
|
|
|
7
7
|
import { forwardRef } from 'react';
|
|
8
8
|
import * as React from 'react';
|
|
9
9
|
import { ax, ix } from "@compiled/react/runtime";
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
11
|
+
import { Flex } from '@atlaskit/primitives/compiled/flex';
|
|
10
12
|
import { AssetsAqlSearchInputSkeleton } from './aql-search-input/loading-state';
|
|
11
13
|
import { AssetsObjectSchemaSelectSkeleton } from './object-schema-select/loading-state';
|
|
12
14
|
import { FormRowContainer } from './styled';
|
|
15
|
+
var styles = {
|
|
16
|
+
flexStyles: "_1bsb1osq"
|
|
17
|
+
};
|
|
18
|
+
|
|
13
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled
|
|
14
20
|
var SchemaSelectContainer = forwardRef(function (_ref, __cmplr) {
|
|
15
21
|
var _ref$as = _ref.as,
|
|
@@ -44,7 +50,12 @@ export var AssetsSearchContainerLoading = function AssetsSearchContainerLoading(
|
|
|
44
50
|
var modalTitle = _ref3.modalTitle;
|
|
45
51
|
return /*#__PURE__*/React.createElement(FormContainer, {
|
|
46
52
|
"data-testid": "assets-datasource-modal--search-container-skeleton"
|
|
47
|
-
}, /*#__PURE__*/React.createElement(
|
|
53
|
+
}, fg('astral_assets_macro_table_ui_uplift') ? /*#__PURE__*/React.createElement(Flex, {
|
|
54
|
+
gap: "space.100",
|
|
55
|
+
alignItems: "center",
|
|
56
|
+
justifyContent: "space-between",
|
|
57
|
+
xcss: styles.flexStyles
|
|
58
|
+
}, modalTitle, /*#__PURE__*/React.createElement(SchemaSelectContainer, null, /*#__PURE__*/React.createElement(AssetsObjectSchemaSelectSkeleton, null))) : /*#__PURE__*/React.createElement(FormRowContainer, {
|
|
48
59
|
isNarrowGap: true
|
|
49
60
|
}, modalTitle, /*#__PURE__*/React.createElement(SchemaSelectContainer, null, /*#__PURE__*/React.createElement(AssetsObjectSchemaSelectSkeleton, null))), /*#__PURE__*/React.createElement(FormRowContainer, null, /*#__PURE__*/React.createElement(AssetsAqlSearchInputSkeleton, null)));
|
|
50
61
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "7.12.
|
|
3
|
+
"version": "7.12.3",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"@atlaskit/smart-card": "^46.13.0",
|
|
91
91
|
"@atlaskit/smart-user-picker": "^12.11.0",
|
|
92
92
|
"@atlaskit/spinner": "^20.4.0",
|
|
93
|
-
"@atlaskit/tag": "^17.
|
|
93
|
+
"@atlaskit/tag": "^17.1.0",
|
|
94
94
|
"@atlaskit/teams-avatar": "^4.2.0",
|
|
95
95
|
"@atlaskit/textfield": "^10.3.0",
|
|
96
96
|
"@atlaskit/theme": "^28.2.0",
|