@gympass/yoga 7.83.0 → 7.83.1
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.
|
@@ -40,8 +40,8 @@ var IconWrapper = _styledComponents["default"].div(_templateObject3 || (_templat
|
|
|
40
40
|
|
|
41
41
|
var Item = _styledComponents["default"].li(_templateObject4 || (_templateObject4 = _taggedTemplateLiteralLoose(["\n :not(:last-child) {\n margin-bottom: ", "px;\n }\n"])), card.plan.list.item.margin.bottom);
|
|
42
42
|
|
|
43
|
-
var Wrapper = (0, _styledComponents["default"])(_Box["default"])(_templateObject5 || (_templateObject5 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n
|
|
44
|
-
return props.as === 'button' && (0, _styledComponents.css)(_templateObject6 || (_templateObject6 = _taggedTemplateLiteralLoose(["\n border: none;\n padding: 0;\n background: transparent;\n cursor: pointer;\n "])));
|
|
43
|
+
var Wrapper = (0, _styledComponents["default"])(_Box["default"])(_templateObject5 || (_templateObject5 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n width: 100%;\n\n ", "\n\n svg {\n flex-shrink: 0;\n }\n"])), function (props) {
|
|
44
|
+
return props.as === 'button' && (0, _styledComponents.css)(_templateObject6 || (_templateObject6 = _taggedTemplateLiteralLoose(["\n border: none;\n padding: 0;\n background: transparent;\n cursor: pointer;\n text-align: start;\n "])));
|
|
45
45
|
});
|
|
46
46
|
var ItemText = (0, _styledComponents["default"])(_Text["default"].Small)(_templateObject7 || (_templateObject7 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n height: 100%;\n vertical-align: middle;\n\n color: ", ";\n\n ", "\n"])), card.plan.list.item.font.color, function (props) {
|
|
47
47
|
return props.truncate && truncateStyle;
|
|
@@ -64,7 +64,8 @@ var ListItem = (0, _styledComponents.withTheme)(function (props) {
|
|
|
64
64
|
} : {};
|
|
65
65
|
return /*#__PURE__*/_react["default"].createElement(Item, null, /*#__PURE__*/_react["default"].createElement(Wrapper, wrapperProps, /*#__PURE__*/_react["default"].createElement(_Box["default"], {
|
|
66
66
|
display: "flex",
|
|
67
|
-
alignItems: "flex-start"
|
|
67
|
+
alignItems: "flex-start",
|
|
68
|
+
width: "100%"
|
|
68
69
|
}, Icon && /*#__PURE__*/_react["default"].createElement(IconWrapper, null, /*#__PURE__*/(0, _react.isValidElement)(Icon) ? Icon : /*#__PURE__*/_react["default"].createElement(Icon, {
|
|
69
70
|
width: 16,
|
|
70
71
|
height: 16,
|
|
@@ -17,8 +17,8 @@ var IconWrapper = styled.div(_templateObject3 || (_templateObject3 = _taggedTemp
|
|
|
17
17
|
return props.theme.yoga.spacing.medium;
|
|
18
18
|
});
|
|
19
19
|
var Item = styled.li(_templateObject4 || (_templateObject4 = _taggedTemplateLiteralLoose(["\n :not(:last-child) {\n margin-bottom: ", "px;\n }\n"])), card.plan.list.item.margin.bottom);
|
|
20
|
-
var Wrapper = styled(Box)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n
|
|
21
|
-
return props.as === 'button' && css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteralLoose(["\n border: none;\n padding: 0;\n background: transparent;\n cursor: pointer;\n "])));
|
|
20
|
+
var Wrapper = styled(Box)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n width: 100%;\n\n ", "\n\n svg {\n flex-shrink: 0;\n }\n"])), function (props) {
|
|
21
|
+
return props.as === 'button' && css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteralLoose(["\n border: none;\n padding: 0;\n background: transparent;\n cursor: pointer;\n text-align: start;\n "])));
|
|
22
22
|
});
|
|
23
23
|
var ItemText = styled(Text.Small)(_templateObject7 || (_templateObject7 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n height: 100%;\n vertical-align: middle;\n\n color: ", ";\n\n ", "\n"])), card.plan.list.item.font.color, function (props) {
|
|
24
24
|
return props.truncate && truncateStyle;
|
|
@@ -39,7 +39,8 @@ var ListItem = withTheme(function (props) {
|
|
|
39
39
|
} : {};
|
|
40
40
|
return /*#__PURE__*/React.createElement(Item, null, /*#__PURE__*/React.createElement(Wrapper, wrapperProps, /*#__PURE__*/React.createElement(Box, {
|
|
41
41
|
display: "flex",
|
|
42
|
-
alignItems: "flex-start"
|
|
42
|
+
alignItems: "flex-start",
|
|
43
|
+
width: "100%"
|
|
43
44
|
}, Icon && /*#__PURE__*/React.createElement(IconWrapper, null, /*#__PURE__*/isValidElement(Icon) ? Icon : /*#__PURE__*/React.createElement(Icon, {
|
|
44
45
|
width: 16,
|
|
45
46
|
height: 16,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gympass/yoga",
|
|
3
|
-
"version": "7.83.
|
|
3
|
+
"version": "7.83.1",
|
|
4
4
|
"description": "Gympass component library",
|
|
5
5
|
"main": "./cjs",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"react-native": "0.72.3",
|
|
56
56
|
"styled-components": "^4.4.0"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "4cbae54a4a40e7081461982b3e17fc70be057349",
|
|
59
59
|
"module": "./esm",
|
|
60
60
|
"types": "./typings/index.d.ts",
|
|
61
61
|
"private": false,
|