@gympass/yoga 7.110.1 → 7.110.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/cjs/Banner/native/Banner.js +1 -1
- package/cjs/Banner/web/Banner.js +1 -1
- package/cjs/Slider/native/Tooltip.js +6 -3
- package/cjs/Slider/web/Tooltip.js +6 -3
- package/esm/Banner/native/Banner.js +1 -1
- package/esm/Banner/web/Banner.js +1 -1
- package/esm/Slider/native/Tooltip.js +6 -3
- package/esm/Slider/web/Tooltip.js +6 -3
- package/package.json +2 -2
|
@@ -124,7 +124,7 @@ const Banner = (0, import_react.forwardRef)((props, ref) => {
|
|
|
124
124
|
marginRight: "xxsmall"
|
|
125
125
|
}
|
|
126
126
|
),
|
|
127
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Text.default.
|
|
127
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Text.default.Body2, { flex: 1, marginTop: "xxsmall", marginBottom: "xxsmall", children: message }),
|
|
128
128
|
primaryButton && !secondaryButton && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BannerActionButton, { button: primaryButton, marginLeft: "xxsmall" })
|
|
129
129
|
] }),
|
|
130
130
|
primaryButton && secondaryButton && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
package/cjs/Banner/web/Banner.js
CHANGED
|
@@ -126,7 +126,7 @@ const Banner = (0, import_react.forwardRef)((props, ref) => {
|
|
|
126
126
|
marginRight: "xxsmall"
|
|
127
127
|
}
|
|
128
128
|
),
|
|
129
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Text.default.
|
|
129
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Text.default.Body2, { flex: 1, marginVertical: "xxsmall", children: message }),
|
|
130
130
|
primaryButton && !secondaryButton && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BannerActionButton, { button: primaryButton, marginLeft: "xxsmall" })
|
|
131
131
|
] }),
|
|
132
132
|
primaryButton && secondaryButton && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
@@ -97,7 +97,7 @@ const Tip = import_styled_components.default.View(
|
|
|
97
97
|
width: 95px;
|
|
98
98
|
`
|
|
99
99
|
);
|
|
100
|
-
const Title = (0, import_styled_components.default)(import_Text.default.
|
|
100
|
+
const Title = (0, import_styled_components.default)(import_Text.default.Body2)(
|
|
101
101
|
({
|
|
102
102
|
theme: {
|
|
103
103
|
yoga: {
|
|
@@ -110,7 +110,7 @@ const Title = (0, import_styled_components.default)(import_Text.default.Small)(
|
|
|
110
110
|
text-align: center;
|
|
111
111
|
`
|
|
112
112
|
);
|
|
113
|
-
const Description = (0, import_styled_components.default)(import_Text.default.
|
|
113
|
+
const Description = (0, import_styled_components.default)(import_Text.default.Body2)(
|
|
114
114
|
({
|
|
115
115
|
theme: {
|
|
116
116
|
yoga: {
|
|
@@ -159,7 +159,9 @@ const RibbonWrapper = import_styled_components.default.View(
|
|
|
159
159
|
position: relative;
|
|
160
160
|
`
|
|
161
161
|
);
|
|
162
|
-
const RibbonText = (0, import_styled_components.default)(import_Text.default.
|
|
162
|
+
const RibbonText = (0, import_styled_components.default)(import_Text.default.Body2).attrs(() => ({
|
|
163
|
+
bold: true
|
|
164
|
+
}))(
|
|
163
165
|
({
|
|
164
166
|
theme: {
|
|
165
167
|
yoga: {
|
|
@@ -170,6 +172,7 @@ const RibbonText = (0, import_styled_components.default)(import_Text.default.Bol
|
|
|
170
172
|
color: ${slider.tooltip.ribbon.font.color};
|
|
171
173
|
|
|
172
174
|
font-size: ${slider.tooltip.ribbon.font.size}px;
|
|
175
|
+
line-height: undefined;
|
|
173
176
|
|
|
174
177
|
text-align: center;
|
|
175
178
|
`
|
|
@@ -137,9 +137,12 @@ const Arrow = import_styled_components.default.div`
|
|
|
137
137
|
box-shadow: ${shadow};
|
|
138
138
|
`}
|
|
139
139
|
`;
|
|
140
|
-
const Ribbon = (0, import_styled_components.default)(import_Text.default.
|
|
140
|
+
const Ribbon = (0, import_styled_components.default)(import_Text.default.Body2).attrs(() => ({
|
|
141
|
+
bold: true
|
|
142
|
+
}))`
|
|
141
143
|
position: relative;
|
|
142
144
|
text-align: center;
|
|
145
|
+
line-height: normal;
|
|
143
146
|
display: block;
|
|
144
147
|
|
|
145
148
|
${({
|
|
@@ -158,7 +161,7 @@ const Ribbon = (0, import_styled_components.default)(import_Text.default.Bold)`
|
|
|
158
161
|
font-size: ${slider.tooltip.ribbon.font.size}px;
|
|
159
162
|
`}
|
|
160
163
|
`;
|
|
161
|
-
const Title = (0, import_styled_components.default)(import_Text.default.
|
|
164
|
+
const Title = (0, import_styled_components.default)(import_Text.default.Body2)`
|
|
162
165
|
display: block;
|
|
163
166
|
text-align: center;
|
|
164
167
|
${({
|
|
@@ -172,7 +175,7 @@ const Title = (0, import_styled_components.default)(import_Text.default.Small)`
|
|
|
172
175
|
font-weight: ${slider.tooltip.font.title.weight};
|
|
173
176
|
`}
|
|
174
177
|
`;
|
|
175
|
-
const Description = (0, import_styled_components.default)(import_Text.default.
|
|
178
|
+
const Description = (0, import_styled_components.default)(import_Text.default.Body2)`
|
|
176
179
|
display: block;
|
|
177
180
|
text-align: center;
|
|
178
181
|
${({
|
|
@@ -100,7 +100,7 @@ const Banner = forwardRef((props, ref) => {
|
|
|
100
100
|
marginRight: "xxsmall"
|
|
101
101
|
}
|
|
102
102
|
),
|
|
103
|
-
/* @__PURE__ */ jsx(Text.
|
|
103
|
+
/* @__PURE__ */ jsx(Text.Body2, { flex: 1, marginTop: "xxsmall", marginBottom: "xxsmall", children: message }),
|
|
104
104
|
primaryButton && !secondaryButton && /* @__PURE__ */ jsx(BannerActionButton, { button: primaryButton, marginLeft: "xxsmall" })
|
|
105
105
|
] }),
|
|
106
106
|
primaryButton && secondaryButton && /* @__PURE__ */ jsxs(
|
package/esm/Banner/web/Banner.js
CHANGED
|
@@ -104,7 +104,7 @@ const Banner = forwardRef((props, ref) => {
|
|
|
104
104
|
marginRight: "xxsmall"
|
|
105
105
|
}
|
|
106
106
|
),
|
|
107
|
-
/* @__PURE__ */ jsx(Text.
|
|
107
|
+
/* @__PURE__ */ jsx(Text.Body2, { flex: 1, marginVertical: "xxsmall", children: message }),
|
|
108
108
|
primaryButton && !secondaryButton && /* @__PURE__ */ jsx(BannerActionButton, { button: primaryButton, marginLeft: "xxsmall" })
|
|
109
109
|
] }),
|
|
110
110
|
primaryButton && secondaryButton && /* @__PURE__ */ jsxs(
|
|
@@ -66,7 +66,7 @@ const Tip = styled.View(
|
|
|
66
66
|
width: 95px;
|
|
67
67
|
`
|
|
68
68
|
);
|
|
69
|
-
const Title = styled(Text.
|
|
69
|
+
const Title = styled(Text.Body2)(
|
|
70
70
|
({
|
|
71
71
|
theme: {
|
|
72
72
|
yoga: {
|
|
@@ -79,7 +79,7 @@ const Title = styled(Text.Small)(
|
|
|
79
79
|
text-align: center;
|
|
80
80
|
`
|
|
81
81
|
);
|
|
82
|
-
const Description = styled(Text.
|
|
82
|
+
const Description = styled(Text.Body2)(
|
|
83
83
|
({
|
|
84
84
|
theme: {
|
|
85
85
|
yoga: {
|
|
@@ -128,7 +128,9 @@ const RibbonWrapper = styled.View(
|
|
|
128
128
|
position: relative;
|
|
129
129
|
`
|
|
130
130
|
);
|
|
131
|
-
const RibbonText = styled(Text.
|
|
131
|
+
const RibbonText = styled(Text.Body2).attrs(() => ({
|
|
132
|
+
bold: true
|
|
133
|
+
}))(
|
|
132
134
|
({
|
|
133
135
|
theme: {
|
|
134
136
|
yoga: {
|
|
@@ -139,6 +141,7 @@ const RibbonText = styled(Text.Bold)(
|
|
|
139
141
|
color: ${slider.tooltip.ribbon.font.color};
|
|
140
142
|
|
|
141
143
|
font-size: ${slider.tooltip.ribbon.font.size}px;
|
|
144
|
+
line-height: undefined;
|
|
142
145
|
|
|
143
146
|
text-align: center;
|
|
144
147
|
`
|
|
@@ -106,9 +106,12 @@ const Arrow = styled.div`
|
|
|
106
106
|
box-shadow: ${shadow};
|
|
107
107
|
`}
|
|
108
108
|
`;
|
|
109
|
-
const Ribbon = styled(Text.
|
|
109
|
+
const Ribbon = styled(Text.Body2).attrs(() => ({
|
|
110
|
+
bold: true
|
|
111
|
+
}))`
|
|
110
112
|
position: relative;
|
|
111
113
|
text-align: center;
|
|
114
|
+
line-height: normal;
|
|
112
115
|
display: block;
|
|
113
116
|
|
|
114
117
|
${({
|
|
@@ -127,7 +130,7 @@ const Ribbon = styled(Text.Bold)`
|
|
|
127
130
|
font-size: ${slider.tooltip.ribbon.font.size}px;
|
|
128
131
|
`}
|
|
129
132
|
`;
|
|
130
|
-
const Title = styled(Text.
|
|
133
|
+
const Title = styled(Text.Body2)`
|
|
131
134
|
display: block;
|
|
132
135
|
text-align: center;
|
|
133
136
|
${({
|
|
@@ -141,7 +144,7 @@ const Title = styled(Text.Small)`
|
|
|
141
144
|
font-weight: ${slider.tooltip.font.title.weight};
|
|
142
145
|
`}
|
|
143
146
|
`;
|
|
144
|
-
const Description = styled(Text.
|
|
147
|
+
const Description = styled(Text.Body2)`
|
|
145
148
|
display: block;
|
|
146
149
|
text-align: center;
|
|
147
150
|
${({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gympass/yoga",
|
|
3
|
-
"version": "7.110.
|
|
3
|
+
"version": "7.110.3",
|
|
4
4
|
"description": "Gympass component library",
|
|
5
5
|
"main": "./cjs",
|
|
6
6
|
"types": "./typings/index.d.ts",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"react-native": "0.72.3",
|
|
58
58
|
"styled-components": "^4.4.0"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "ec752cff3e390d614b5d583326480b297e954dd0",
|
|
61
61
|
"module": "./esm",
|
|
62
62
|
"private": false,
|
|
63
63
|
"react-native": "./cjs/index.native.js"
|