@atlaskit/link-datasource 4.11.16 → 4.11.17
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 +6 -0
- package/dist/cjs/ui/common/modal/popup-select/control.compiled.css +1 -14
- package/dist/cjs/ui/common/modal/popup-select/control.js +12 -24
- package/dist/es2019/ui/common/modal/popup-select/control.compiled.css +1 -14
- package/dist/es2019/ui/common/modal/popup-select/control.js +12 -24
- package/dist/esm/ui/common/modal/popup-select/control.compiled.css +1 -14
- package/dist/esm/ui/common/modal/popup-select/control.js +12 -24
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
._19itglyw{border:none}
|
|
3
|
-
._2rko1l7b{border-radius:3px}._189ee4h9{border-width:var(--ds-border-width,1px)}
|
|
4
|
-
._1dqonqa1{border-style:solid}
|
|
5
|
-
._1h6drsbi{border-color:var(--ds-border-input,#8c8f97)}
|
|
6
|
-
._n7zlqag9{border-bottom:solid 1px var(--ds-border,#dfe1e6)}
|
|
7
|
-
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
8
1
|
._19bvh9hh{padding-left:var(--ds-space-100,4px)}
|
|
9
|
-
._1e0c1txw{display:flex}
|
|
10
|
-
._1tke1wug{min-height:auto}
|
|
11
2
|
._ca0q1b66{padding-top:var(--ds-space-050,4px)}
|
|
12
3
|
._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
|
|
13
|
-
._u5f31b66{padding-right:var(--ds-space-050,4px)}
|
|
14
4
|
._u5f3h9hh{padding-right:var(--ds-space-100,4px)}
|
|
15
|
-
.
|
|
16
|
-
._1ppenqa1:hover{border-style:solid}
|
|
17
|
-
._4cvxrsbi:hover{border-color:var(--ds-border-input,#8c8f97)}
|
|
18
|
-
._73q5qag9:hover{border-bottom:solid 1px var(--ds-border,#dfe1e6)}
|
|
5
|
+
._1u6lglyw:focus-within{box-shadow:none}
|
|
@@ -31,45 +31,33 @@ var popupCustomControlStyles = function popupCustomControlStyles() {
|
|
|
31
31
|
return {
|
|
32
32
|
display: 'flex',
|
|
33
33
|
borderRadius: '3px',
|
|
34
|
-
border: "solid 1px ".concat("var(--ds-border-input, #8C8F97)")
|
|
34
|
+
border: "solid 1px ".concat("var(--ds-border-input, #8C8F97)"),
|
|
35
|
+
minHeight: 'auto'
|
|
35
36
|
};
|
|
36
37
|
};
|
|
37
|
-
var
|
|
38
|
-
|
|
38
|
+
var popupCustomControlOldStyles = {
|
|
39
|
+
control: "_1u6lglyw"
|
|
39
40
|
};
|
|
40
|
-
var
|
|
41
|
-
|
|
41
|
+
var popupCustomControlVisualRefreshStyles = {
|
|
42
|
+
container: "_ca0q1b66 _n3td1b66 _19bvh9hh _u5f3h9hh",
|
|
43
|
+
control: "_1u6lglyw"
|
|
42
44
|
};
|
|
43
45
|
var CustomControlOld = exports.CustomControlOld = function CustomControlOld(_ref) {
|
|
44
46
|
var children = _ref.children,
|
|
45
47
|
innerProps = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
46
48
|
return /*#__PURE__*/_react.default.createElement(_select.components.Control, (0, _extends2.default)({}, innerProps, {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
appearance: 'none'
|
|
50
|
-
} :
|
|
51
|
-
// getStyles is not valid approach to override styles, see https://hello.atlassian.net/wiki/spaces/DST/pages/5289062999/New+way+to+style+Atlaskit+Select+with+Compiled+css
|
|
52
|
-
{
|
|
53
|
-
getStyles: popupCustomControlStylesOld
|
|
49
|
+
getStyles: popupCustomControlStylesOld,
|
|
50
|
+
xcss: popupCustomControlOldStyles.control
|
|
54
51
|
}), children);
|
|
55
52
|
};
|
|
56
|
-
var controlStyles = {
|
|
57
|
-
root: "_2rko1l7b _189ee4h9 _1dqonqa1 _1h6drsbi _1e0c1txw _1lhce4h9 _1ppenqa1 _4cvxrsbi"
|
|
58
|
-
};
|
|
59
53
|
var CustomControl = exports.CustomControl = function CustomControl(_ref2) {
|
|
60
54
|
var children = _ref2.children,
|
|
61
55
|
innerProps = (0, _objectWithoutProperties2.default)(_ref2, _excluded2);
|
|
62
56
|
return /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
63
57
|
xcss: popupCustomControlVisualRefreshStyles.container
|
|
64
|
-
}, /*#__PURE__*/_react.default.createElement(_select.components.Control, (0, _extends2.default)({}, innerProps,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} :
|
|
68
|
-
// getStyles is not valid approach to override styles, see https://hello.atlassian.net/wiki/spaces/DST/pages/5289062999/New+way+to+style+Atlaskit+Select+with+Compiled+css
|
|
69
|
-
{
|
|
70
|
-
getStyles: popupCustomControlStyles
|
|
71
|
-
}, {
|
|
72
|
-
xcss: controlStyles.root
|
|
58
|
+
}, /*#__PURE__*/_react.default.createElement(_select.components.Control, (0, _extends2.default)({}, innerProps, {
|
|
59
|
+
getStyles: popupCustomControlStyles,
|
|
60
|
+
xcss: popupCustomControlVisualRefreshStyles.control
|
|
73
61
|
}), children));
|
|
74
62
|
};
|
|
75
63
|
var _default = exports.default = (0, _withFeatureFlaggedComponent.withFeatureFlaggedComponent)(CustomControlOld, CustomControl, function () {
|
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
._19itglyw{border:none}
|
|
3
|
-
._2rko1l7b{border-radius:3px}._189ee4h9{border-width:var(--ds-border-width,1px)}
|
|
4
|
-
._1dqonqa1{border-style:solid}
|
|
5
|
-
._1h6drsbi{border-color:var(--ds-border-input,#8c8f97)}
|
|
6
|
-
._n7zlqag9{border-bottom:solid 1px var(--ds-border,#dfe1e6)}
|
|
7
|
-
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
8
1
|
._19bvh9hh{padding-left:var(--ds-space-100,4px)}
|
|
9
|
-
._1e0c1txw{display:flex}
|
|
10
|
-
._1tke1wug{min-height:auto}
|
|
11
2
|
._ca0q1b66{padding-top:var(--ds-space-050,4px)}
|
|
12
3
|
._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
|
|
13
|
-
._u5f31b66{padding-right:var(--ds-space-050,4px)}
|
|
14
4
|
._u5f3h9hh{padding-right:var(--ds-space-100,4px)}
|
|
15
|
-
.
|
|
16
|
-
._1ppenqa1:hover{border-style:solid}
|
|
17
|
-
._4cvxrsbi:hover{border-color:var(--ds-border-input,#8c8f97)}
|
|
18
|
-
._73q5qag9:hover{border-bottom:solid 1px var(--ds-border,#dfe1e6)}
|
|
5
|
+
._1u6lglyw:focus-within{box-shadow:none}
|
|
@@ -18,42 +18,30 @@ const popupCustomControlStylesOld = () => ({
|
|
|
18
18
|
const popupCustomControlStyles = () => ({
|
|
19
19
|
display: 'flex',
|
|
20
20
|
borderRadius: '3px',
|
|
21
|
-
border: `solid 1px ${"var(--ds-border-input, #8C8F97)"}
|
|
21
|
+
border: `solid 1px ${"var(--ds-border-input, #8C8F97)"}`,
|
|
22
|
+
minHeight: 'auto'
|
|
22
23
|
});
|
|
23
|
-
const
|
|
24
|
-
|
|
24
|
+
const popupCustomControlOldStyles = {
|
|
25
|
+
control: "_1u6lglyw"
|
|
25
26
|
};
|
|
26
|
-
const
|
|
27
|
-
|
|
27
|
+
const popupCustomControlVisualRefreshStyles = {
|
|
28
|
+
container: "_ca0q1b66 _n3td1b66 _19bvh9hh _u5f3h9hh",
|
|
29
|
+
control: "_1u6lglyw"
|
|
28
30
|
};
|
|
29
31
|
export const CustomControlOld = ({
|
|
30
32
|
children,
|
|
31
33
|
...innerProps
|
|
32
34
|
}) => /*#__PURE__*/React.createElement(components.Control, _extends({}, innerProps, {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
appearance: 'none'
|
|
36
|
-
} :
|
|
37
|
-
// getStyles is not valid approach to override styles, see https://hello.atlassian.net/wiki/spaces/DST/pages/5289062999/New+way+to+style+Atlaskit+Select+with+Compiled+css
|
|
38
|
-
{
|
|
39
|
-
getStyles: popupCustomControlStylesOld
|
|
35
|
+
getStyles: popupCustomControlStylesOld,
|
|
36
|
+
xcss: popupCustomControlOldStyles.control
|
|
40
37
|
}), children);
|
|
41
|
-
const controlStyles = {
|
|
42
|
-
root: "_2rko1l7b _189ee4h9 _1dqonqa1 _1h6drsbi _1e0c1txw _1lhce4h9 _1ppenqa1 _4cvxrsbi"
|
|
43
|
-
};
|
|
44
38
|
export const CustomControl = ({
|
|
45
39
|
children,
|
|
46
40
|
...innerProps
|
|
47
41
|
}) => /*#__PURE__*/React.createElement(Box, {
|
|
48
42
|
xcss: popupCustomControlVisualRefreshStyles.container
|
|
49
|
-
}, /*#__PURE__*/React.createElement(components.Control, _extends({}, innerProps,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} :
|
|
53
|
-
// getStyles is not valid approach to override styles, see https://hello.atlassian.net/wiki/spaces/DST/pages/5289062999/New+way+to+style+Atlaskit+Select+with+Compiled+css
|
|
54
|
-
{
|
|
55
|
-
getStyles: popupCustomControlStyles
|
|
56
|
-
}, {
|
|
57
|
-
xcss: controlStyles.root
|
|
43
|
+
}, /*#__PURE__*/React.createElement(components.Control, _extends({}, innerProps, {
|
|
44
|
+
getStyles: popupCustomControlStyles,
|
|
45
|
+
xcss: popupCustomControlVisualRefreshStyles.control
|
|
58
46
|
}), children));
|
|
59
47
|
export default withFeatureFlaggedComponent(CustomControlOld, CustomControl, () => fg('platform-linking-visual-refresh-sllv'));
|
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
._19itglyw{border:none}
|
|
3
|
-
._2rko1l7b{border-radius:3px}._189ee4h9{border-width:var(--ds-border-width,1px)}
|
|
4
|
-
._1dqonqa1{border-style:solid}
|
|
5
|
-
._1h6drsbi{border-color:var(--ds-border-input,#8c8f97)}
|
|
6
|
-
._n7zlqag9{border-bottom:solid 1px var(--ds-border,#dfe1e6)}
|
|
7
|
-
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
8
1
|
._19bvh9hh{padding-left:var(--ds-space-100,4px)}
|
|
9
|
-
._1e0c1txw{display:flex}
|
|
10
|
-
._1tke1wug{min-height:auto}
|
|
11
2
|
._ca0q1b66{padding-top:var(--ds-space-050,4px)}
|
|
12
3
|
._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
|
|
13
|
-
._u5f31b66{padding-right:var(--ds-space-050,4px)}
|
|
14
4
|
._u5f3h9hh{padding-right:var(--ds-space-100,4px)}
|
|
15
|
-
.
|
|
16
|
-
._1ppenqa1:hover{border-style:solid}
|
|
17
|
-
._4cvxrsbi:hover{border-color:var(--ds-border-input,#8c8f97)}
|
|
18
|
-
._73q5qag9:hover{border-bottom:solid 1px var(--ds-border,#dfe1e6)}
|
|
5
|
+
._1u6lglyw:focus-within{box-shadow:none}
|
|
@@ -24,45 +24,33 @@ var popupCustomControlStyles = function popupCustomControlStyles() {
|
|
|
24
24
|
return {
|
|
25
25
|
display: 'flex',
|
|
26
26
|
borderRadius: '3px',
|
|
27
|
-
border: "solid 1px ".concat("var(--ds-border-input, #8C8F97)")
|
|
27
|
+
border: "solid 1px ".concat("var(--ds-border-input, #8C8F97)"),
|
|
28
|
+
minHeight: 'auto'
|
|
28
29
|
};
|
|
29
30
|
};
|
|
30
|
-
var
|
|
31
|
-
|
|
31
|
+
var popupCustomControlOldStyles = {
|
|
32
|
+
control: "_1u6lglyw"
|
|
32
33
|
};
|
|
33
|
-
var
|
|
34
|
-
|
|
34
|
+
var popupCustomControlVisualRefreshStyles = {
|
|
35
|
+
container: "_ca0q1b66 _n3td1b66 _19bvh9hh _u5f3h9hh",
|
|
36
|
+
control: "_1u6lglyw"
|
|
35
37
|
};
|
|
36
38
|
export var CustomControlOld = function CustomControlOld(_ref) {
|
|
37
39
|
var children = _ref.children,
|
|
38
40
|
innerProps = _objectWithoutProperties(_ref, _excluded);
|
|
39
41
|
return /*#__PURE__*/React.createElement(components.Control, _extends({}, innerProps, {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
appearance: 'none'
|
|
43
|
-
} :
|
|
44
|
-
// getStyles is not valid approach to override styles, see https://hello.atlassian.net/wiki/spaces/DST/pages/5289062999/New+way+to+style+Atlaskit+Select+with+Compiled+css
|
|
45
|
-
{
|
|
46
|
-
getStyles: popupCustomControlStylesOld
|
|
42
|
+
getStyles: popupCustomControlStylesOld,
|
|
43
|
+
xcss: popupCustomControlOldStyles.control
|
|
47
44
|
}), children);
|
|
48
45
|
};
|
|
49
|
-
var controlStyles = {
|
|
50
|
-
root: "_2rko1l7b _189ee4h9 _1dqonqa1 _1h6drsbi _1e0c1txw _1lhce4h9 _1ppenqa1 _4cvxrsbi"
|
|
51
|
-
};
|
|
52
46
|
export var CustomControl = function CustomControl(_ref2) {
|
|
53
47
|
var children = _ref2.children,
|
|
54
48
|
innerProps = _objectWithoutProperties(_ref2, _excluded2);
|
|
55
49
|
return /*#__PURE__*/React.createElement(Box, {
|
|
56
50
|
xcss: popupCustomControlVisualRefreshStyles.container
|
|
57
|
-
}, /*#__PURE__*/React.createElement(components.Control, _extends({}, innerProps,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} :
|
|
61
|
-
// getStyles is not valid approach to override styles, see https://hello.atlassian.net/wiki/spaces/DST/pages/5289062999/New+way+to+style+Atlaskit+Select+with+Compiled+css
|
|
62
|
-
{
|
|
63
|
-
getStyles: popupCustomControlStyles
|
|
64
|
-
}, {
|
|
65
|
-
xcss: controlStyles.root
|
|
51
|
+
}, /*#__PURE__*/React.createElement(components.Control, _extends({}, innerProps, {
|
|
52
|
+
getStyles: popupCustomControlStyles,
|
|
53
|
+
xcss: popupCustomControlVisualRefreshStyles.control
|
|
66
54
|
}), children));
|
|
67
55
|
};
|
|
68
56
|
export default withFeatureFlaggedComponent(CustomControlOld, CustomControl, function () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "4.11.
|
|
3
|
+
"version": "4.11.17",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@atlaskit/flag": "^17.1.0",
|
|
53
53
|
"@atlaskit/form": "^12.0.0",
|
|
54
54
|
"@atlaskit/heading": "^5.2.0",
|
|
55
|
-
"@atlaskit/icon": "^27.
|
|
55
|
+
"@atlaskit/icon": "^27.2.0",
|
|
56
56
|
"@atlaskit/icon-object": "^7.1.0",
|
|
57
57
|
"@atlaskit/image": "^3.0.0",
|
|
58
58
|
"@atlaskit/inline-edit": "^15.2.0",
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll": "^2.0.0",
|
|
77
77
|
"@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^3.2.0",
|
|
78
78
|
"@atlaskit/primitives": "^14.9.0",
|
|
79
|
-
"@atlaskit/react-select": "^
|
|
80
|
-
"@atlaskit/select": "^
|
|
79
|
+
"@atlaskit/react-select": "^3.0.0",
|
|
80
|
+
"@atlaskit/select": "^21.0.0",
|
|
81
81
|
"@atlaskit/smart-card": "^38.14.0",
|
|
82
82
|
"@atlaskit/smart-user-picker": "^8.0.0",
|
|
83
83
|
"@atlaskit/spinner": "^18.0.0",
|