@gympass/yoga 7.37.0 → 7.37.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.
- package/cjs/Input/web/Field.js +1 -1
- package/cjs/Text/sharedTextStyle.js +1 -1
- package/cjs/Text/textStyle.android.js +1 -1
- package/cjs/Text/textStyle.ios.js +1 -1
- package/cjs/Text/textStyle.web.js +1 -1
- package/esm/Input/web/Field.js +1 -1
- package/esm/Text/sharedTextStyle.js +1 -1
- package/esm/Text/textStyle.android.js +1 -1
- package/esm/Text/textStyle.ios.js +1 -1
- package/esm/Text/textStyle.web.js +1 -1
- package/package.json +5 -5
package/cjs/Input/web/Field.js
CHANGED
|
@@ -32,7 +32,7 @@ var Field = _styledComponents["default"].input(_templateObject2 || (_templateObj
|
|
|
32
32
|
colors = _ref2$theme$yoga.colors,
|
|
33
33
|
baseFont = _ref2$theme$yoga.baseFont,
|
|
34
34
|
input = _ref2$theme$yoga.components.input;
|
|
35
|
-
return (0, _styledComponents.css)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteralLoose(["\n height: ", "px;\n padding-top: ", "px;\n padding-right: ", "px;\n padding-bottom: ", "px;\n padding-left: ", "px;\n\n color: ", ";\n font-family: ", ", sans-serif;\n font-size: ", "px;\n font-weight: ", ";\n\n &:focus {\n color: ", ";\n\n & ~ legend {\n max-width: max-content;\n transition-property: max-width;\n transition-duration: ", "ms;\n }\n\n & ~ label {\n ", "\n\n font-weight: ", ";\n color: ", ";\n
|
|
35
|
+
return (0, _styledComponents.css)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteralLoose(["\n height: ", "px;\n padding-top: ", "px;\n padding-right: ", "px;\n padding-bottom: ", "px;\n padding-left: ", "px;\n\n color: ", ";\n font-family: ", ", sans-serif;\n font-size: ", "px;\n font-weight: ", ";\n\n &:focus {\n color: ", ";\n\n & ~ legend {\n max-width: max-content;\n transition-property: max-width;\n transition-duration: ", "ms;\n }\n\n & ~ label {\n ", "\n\n font-weight: ", ";\n color: ", ";\n }\n\n &::placeholder {\n color: ", ";\n }\n }\n\n &:disabled {\n cursor: not-allowed;\n color: ", ";\n }\n\n ", "\n\n ", "\n "])), input.height, input.padding.top, cleanable ? ICON_SIZE + input.padding.right * 2 : input.padding.right, input.padding.bottom, input.padding.left, input.font.color.focus, baseFont.family, input.font.size, input.font.weight, input.font.color.focus, transition.duration[1], labelTransition, input.label.font.weight, error ? "" + colors.feedback.attention[1] : "" + colors.text.primary, input.label.color["default"], colors.text.disabled, placeholder && label ? (0, _styledComponents.css)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteralLoose(["\n &::placeholder {\n color: transparent;\n }\n "]))) : (0, _styledComponents.css)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteralLoose(["\n &::placeholder {\n color: ", ";\n }\n "])), input.label.color["default"]), value && (0, _styledComponents.css)(_templateObject6 || (_templateObject6 = _taggedTemplateLiteralLoose(["\n & ~ legend {\n max-width: max-content;\n }\n\n & ~ label {\n color: ", ";\n ", "\n }\n "])), error ? "" + colors.feedback.attention[1] : '', labelTransition));
|
|
36
36
|
});
|
|
37
37
|
|
|
38
38
|
var _default = Field;
|
|
@@ -11,7 +11,7 @@ function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.s
|
|
|
11
11
|
|
|
12
12
|
var textStyle = function textStyle(type) {
|
|
13
13
|
return function () {
|
|
14
|
-
return (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n
|
|
14
|
+
return (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n ", "\n "])), function (_ref) {
|
|
15
15
|
var light = _ref.light,
|
|
16
16
|
variant = _ref.variant,
|
|
17
17
|
inverted = _ref.inverted,
|
|
@@ -15,7 +15,7 @@ function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.s
|
|
|
15
15
|
|
|
16
16
|
var textStyle = function textStyle(type) {
|
|
17
17
|
return function () {
|
|
18
|
-
return (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n
|
|
18
|
+
return (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n ", ";\n ", "\n "])), (0, _sharedTextStyle["default"])(type), function (_ref) {
|
|
19
19
|
var light = _ref.light,
|
|
20
20
|
_ref$theme$yoga = _ref.theme.yoga,
|
|
21
21
|
baseFont = _ref$theme$yoga.baseFont,
|
|
@@ -15,7 +15,7 @@ function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.s
|
|
|
15
15
|
|
|
16
16
|
var textStyle = function textStyle(type) {
|
|
17
17
|
return function () {
|
|
18
|
-
return (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n
|
|
18
|
+
return (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n ", ";\n "])), (0, _sharedTextStyle["default"])(type));
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
21
|
|
|
@@ -15,7 +15,7 @@ function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.s
|
|
|
15
15
|
|
|
16
16
|
var textStyle = function textStyle(type) {
|
|
17
17
|
return function () {
|
|
18
|
-
return (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n
|
|
18
|
+
return (0, _styledComponents.css)(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n ", ";\n ", "\n "])), (0, _sharedTextStyle["default"])(type), function (_ref) {
|
|
19
19
|
var numberOfLines = _ref.numberOfLines;
|
|
20
20
|
return "\n " + (numberOfLines ? "\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: " + numberOfLines + ";\n overflow: hidden;\n " : '') + "\n ";
|
|
21
21
|
});
|
package/esm/Input/web/Field.js
CHANGED
|
@@ -21,6 +21,6 @@ var Field = styled.input(_templateObject2 || (_templateObject2 = _taggedTemplate
|
|
|
21
21
|
colors = _ref2$theme$yoga.colors,
|
|
22
22
|
baseFont = _ref2$theme$yoga.baseFont,
|
|
23
23
|
input = _ref2$theme$yoga.components.input;
|
|
24
|
-
return css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteralLoose(["\n height: ", "px;\n padding-top: ", "px;\n padding-right: ", "px;\n padding-bottom: ", "px;\n padding-left: ", "px;\n\n color: ", ";\n font-family: ", ", sans-serif;\n font-size: ", "px;\n font-weight: ", ";\n\n &:focus {\n color: ", ";\n\n & ~ legend {\n max-width: max-content;\n transition-property: max-width;\n transition-duration: ", "ms;\n }\n\n & ~ label {\n ", "\n\n font-weight: ", ";\n color: ", ";\n
|
|
24
|
+
return css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteralLoose(["\n height: ", "px;\n padding-top: ", "px;\n padding-right: ", "px;\n padding-bottom: ", "px;\n padding-left: ", "px;\n\n color: ", ";\n font-family: ", ", sans-serif;\n font-size: ", "px;\n font-weight: ", ";\n\n &:focus {\n color: ", ";\n\n & ~ legend {\n max-width: max-content;\n transition-property: max-width;\n transition-duration: ", "ms;\n }\n\n & ~ label {\n ", "\n\n font-weight: ", ";\n color: ", ";\n }\n\n &::placeholder {\n color: ", ";\n }\n }\n\n &:disabled {\n cursor: not-allowed;\n color: ", ";\n }\n\n ", "\n\n ", "\n "])), input.height, input.padding.top, cleanable ? ICON_SIZE + input.padding.right * 2 : input.padding.right, input.padding.bottom, input.padding.left, input.font.color.focus, baseFont.family, input.font.size, input.font.weight, input.font.color.focus, transition.duration[1], labelTransition, input.label.font.weight, error ? "" + colors.feedback.attention[1] : "" + colors.text.primary, input.label.color["default"], colors.text.disabled, placeholder && label ? css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteralLoose(["\n &::placeholder {\n color: transparent;\n }\n "]))) : css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteralLoose(["\n &::placeholder {\n color: ", ";\n }\n "])), input.label.color["default"]), value && css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteralLoose(["\n & ~ legend {\n max-width: max-content;\n }\n\n & ~ label {\n color: ", ";\n ", "\n }\n "])), error ? "" + colors.feedback.attention[1] : '', labelTransition));
|
|
25
25
|
});
|
|
26
26
|
export default Field;
|
|
@@ -6,7 +6,7 @@ import { css } from 'styled-components';
|
|
|
6
6
|
|
|
7
7
|
var textStyle = function textStyle(type) {
|
|
8
8
|
return function () {
|
|
9
|
-
return css(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n
|
|
9
|
+
return css(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n ", "\n "])), function (_ref) {
|
|
10
10
|
var light = _ref.light,
|
|
11
11
|
variant = _ref.variant,
|
|
12
12
|
inverted = _ref.inverted,
|
|
@@ -7,7 +7,7 @@ import defaultStyle from './sharedTextStyle';
|
|
|
7
7
|
|
|
8
8
|
var textStyle = function textStyle(type) {
|
|
9
9
|
return function () {
|
|
10
|
-
return css(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n
|
|
10
|
+
return css(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n ", ";\n ", "\n "])), defaultStyle(type), function (_ref) {
|
|
11
11
|
var light = _ref.light,
|
|
12
12
|
_ref$theme$yoga = _ref.theme.yoga,
|
|
13
13
|
baseFont = _ref$theme$yoga.baseFont,
|
|
@@ -7,7 +7,7 @@ import defaultStyle from './sharedTextStyle';
|
|
|
7
7
|
|
|
8
8
|
var textStyle = function textStyle(type) {
|
|
9
9
|
return function () {
|
|
10
|
-
return css(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n
|
|
10
|
+
return css(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n ", ";\n "])), defaultStyle(type));
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@ import defaultStyle from './sharedTextStyle';
|
|
|
7
7
|
|
|
8
8
|
var textStyle = function textStyle(type) {
|
|
9
9
|
return function () {
|
|
10
|
-
return css(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n
|
|
10
|
+
return css(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n ", ";\n ", "\n "])), defaultStyle(type), function (_ref) {
|
|
11
11
|
var numberOfLines = _ref.numberOfLines;
|
|
12
12
|
return "\n " + (numberOfLines ? "\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: " + numberOfLines + ";\n overflow: hidden;\n " : '') + "\n ";
|
|
13
13
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gympass/yoga",
|
|
3
|
-
"version": "7.37.
|
|
3
|
+
"version": "7.37.1",
|
|
4
4
|
"description": "Gympass component library",
|
|
5
5
|
"main": "./cjs",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@gympass/yoga-common": "^1.1.0",
|
|
29
|
-
"@gympass/yoga-helpers": "^1.0.
|
|
29
|
+
"@gympass/yoga-helpers": "^1.0.2",
|
|
30
30
|
"@gympass/yoga-icons": "^1.4.2",
|
|
31
|
-
"@gympass/yoga-system": "^0.10.
|
|
32
|
-
"@gympass/yoga-tokens": "^3.1.
|
|
31
|
+
"@gympass/yoga-system": "^0.10.1",
|
|
32
|
+
"@gympass/yoga-tokens": "^3.1.3",
|
|
33
33
|
"@ptomasroos/react-native-multi-slider": "^1.0.0",
|
|
34
34
|
"downshift": "^5.0.0",
|
|
35
35
|
"lodash.get": "^4.4.2",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"react": ">=16",
|
|
50
50
|
"styled-components": "^4.4.0"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "e2f029c16e7167d1a8d4f69f2a576d81e559ef8c",
|
|
53
53
|
"module": "./esm",
|
|
54
54
|
"private": false,
|
|
55
55
|
"react-native": "./cjs/index.native.js"
|