@dhis2-ui/select 8.2.2 → 8.2.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.
|
@@ -35,13 +35,13 @@ const Selection = _ref => {
|
|
|
35
35
|
const icon = selectedOption.props.icon;
|
|
36
36
|
const label = selectedOption.props.label;
|
|
37
37
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
38
|
-
className: _style.default.dynamic([["
|
|
38
|
+
className: _style.default.dynamic([["2249594316", [_uiConstants.spacers.dp8, _uiConstants.spacers.dp16, _uiConstants.spacers.dp16]]]) + " " + ((0, _classnames.default)(className, 'root') || "")
|
|
39
39
|
}, icon && /*#__PURE__*/_react.default.createElement("div", {
|
|
40
|
-
className: _style.default.dynamic([["
|
|
40
|
+
className: _style.default.dynamic([["2249594316", [_uiConstants.spacers.dp8, _uiConstants.spacers.dp16, _uiConstants.spacers.dp16]]]) + " " + "root-icon"
|
|
41
41
|
}, icon), label, /*#__PURE__*/_react.default.createElement(_style.default, {
|
|
42
|
-
id: "
|
|
42
|
+
id: "2249594316",
|
|
43
43
|
dynamic: [_uiConstants.spacers.dp8, _uiConstants.spacers.dp16, _uiConstants.spacers.dp16]
|
|
44
|
-
}, [".root.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}", ".root-icon.__jsx-style-dynamic-selector{margin-right:".concat(_uiConstants.spacers.dp8, ";width:").concat(_uiConstants.spacers.dp16, ";height:").concat(_uiConstants.spacers.dp16, ";overflow:hidden;}")]));
|
|
44
|
+
}, [".root.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}", ".root-icon.__jsx-style-dynamic-selector{margin-right:".concat(_uiConstants.spacers.dp8, ";width:").concat(_uiConstants.spacers.dp16, ";height:").concat(_uiConstants.spacers.dp16, ";overflow:hidden;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;}")]));
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
exports.Selection = Selection;
|
|
@@ -21,13 +21,13 @@ const Selection = _ref => {
|
|
|
21
21
|
const icon = selectedOption.props.icon;
|
|
22
22
|
const label = selectedOption.props.label;
|
|
23
23
|
return /*#__PURE__*/React.createElement("div", {
|
|
24
|
-
className: _JSXStyle.dynamic([["
|
|
24
|
+
className: _JSXStyle.dynamic([["2249594316", [spacers.dp8, spacers.dp16, spacers.dp16]]]) + " " + (cx(className, 'root') || "")
|
|
25
25
|
}, icon && /*#__PURE__*/React.createElement("div", {
|
|
26
|
-
className: _JSXStyle.dynamic([["
|
|
26
|
+
className: _JSXStyle.dynamic([["2249594316", [spacers.dp8, spacers.dp16, spacers.dp16]]]) + " " + "root-icon"
|
|
27
27
|
}, icon), label, /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
28
|
-
id: "
|
|
28
|
+
id: "2249594316",
|
|
29
29
|
dynamic: [spacers.dp8, spacers.dp16, spacers.dp16]
|
|
30
|
-
}, [".root.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}", ".root-icon.__jsx-style-dynamic-selector{margin-right:".concat(spacers.dp8, ";width:").concat(spacers.dp16, ";height:").concat(spacers.dp16, ";overflow:hidden;}")]));
|
|
30
|
+
}, [".root.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}", ".root-icon.__jsx-style-dynamic-selector{margin-right:".concat(spacers.dp8, ";width:").concat(spacers.dp16, ";height:").concat(spacers.dp16, ";overflow:hidden;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;}")]));
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
Selection.propTypes = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dhis2-ui/select",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.3",
|
|
4
4
|
"description": "UI Select",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,19 +33,19 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@dhis2/prop-types": "^3.0.0-beta.1",
|
|
36
|
-
"@dhis2-ui/box": "8.2.
|
|
37
|
-
"@dhis2-ui/button": "8.2.
|
|
38
|
-
"@dhis2-ui/card": "8.2.
|
|
39
|
-
"@dhis2-ui/checkbox": "8.2.
|
|
40
|
-
"@dhis2-ui/chip": "8.2.
|
|
41
|
-
"@dhis2-ui/field": "8.2.
|
|
42
|
-
"@dhis2-ui/input": "8.2.
|
|
43
|
-
"@dhis2-ui/layer": "8.2.
|
|
44
|
-
"@dhis2-ui/loader": "8.2.
|
|
45
|
-
"@dhis2-ui/popper": "8.2.
|
|
46
|
-
"@dhis2-ui/status-icon": "8.2.
|
|
47
|
-
"@dhis2/ui-constants": "8.2.
|
|
48
|
-
"@dhis2/ui-icons": "8.2.
|
|
36
|
+
"@dhis2-ui/box": "8.2.3",
|
|
37
|
+
"@dhis2-ui/button": "8.2.3",
|
|
38
|
+
"@dhis2-ui/card": "8.2.3",
|
|
39
|
+
"@dhis2-ui/checkbox": "8.2.3",
|
|
40
|
+
"@dhis2-ui/chip": "8.2.3",
|
|
41
|
+
"@dhis2-ui/field": "8.2.3",
|
|
42
|
+
"@dhis2-ui/input": "8.2.3",
|
|
43
|
+
"@dhis2-ui/layer": "8.2.3",
|
|
44
|
+
"@dhis2-ui/loader": "8.2.3",
|
|
45
|
+
"@dhis2-ui/popper": "8.2.3",
|
|
46
|
+
"@dhis2-ui/status-icon": "8.2.3",
|
|
47
|
+
"@dhis2/ui-constants": "8.2.3",
|
|
48
|
+
"@dhis2/ui-icons": "8.2.3",
|
|
49
49
|
"classnames": "^2.3.1",
|
|
50
50
|
"prop-types": "^15.7.2"
|
|
51
51
|
},
|