@gympass/yoga 7.108.4 → 7.109.0

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.
@@ -70,8 +70,8 @@ function ActionRequirement(props) {
70
70
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(StyledActionRequirement, __spreadProps(__spreadValues({}, props), { children: [
71
71
  illustration && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Box.default, { children: illustration }),
72
72
  titleAsTextDisplay ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Text.default.Display2, { children: title }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ActionRequirementStyles.Title, { children: title }),
73
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Text.default, { mt: "small", color: "deep", children: description }),
74
- list && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Text.default, { mt: "small", color: "deep", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Box.default, { mt: "xxxlarge", children: list }) }),
73
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Text.default.Body1, { mt: "small", color: "deep", children: description }),
74
+ list && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Text.default.Body1, { mt: "small", color: "deep", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Box.default, { mt: "xxxlarge", children: list }) }),
75
75
  checkable && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Box.default, { mt: "xxxlarge", children: checkable }),
76
76
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_native.View, { children })
77
77
  ] }));
@@ -38,7 +38,9 @@ var import_styled_components = __toESM(require("styled-components"));
38
38
  var import_Text = __toESM(require("../../Text/index.native"));
39
39
  var import_Box = __toESM(require("../../Box/index.native"));
40
40
  var import_Button = __toESM(require("../../Button/index.native"));
41
- const Title = (0, import_styled_components.default)(import_Text.default.H4)`
41
+ const Title = (0, import_styled_components.default)(import_Text.default.H4).attrs({
42
+ bold: true
43
+ })`
42
44
  ${({
43
45
  theme: {
44
46
  yoga: { fontSizes }
@@ -115,8 +115,8 @@ function ActionRequirement(props) {
115
115
  illustration && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BoxIllustration, { children: illustration }),
116
116
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Content, { children: [
117
117
  titleAsTextDisplay ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Text.default.Display2, { children: title }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ActionRequirementStyles.Title, { children: title }),
118
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Text.default, { mt: "small", color: "deep", children: description }),
119
- list && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Text.default, { mt: "large", color: "deep", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Box.default, { children: list }) }),
118
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Text.default.Body1, { mt: "small", color: "deep", children: description }),
119
+ list && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Text.default.Body1, { mt: "large", color: "deep", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Box.default, { children: list }) }),
120
120
  checkable && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Box.default, { mt: "xxlarge", children: checkable }),
121
121
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_ActionRequirementStyles.Actions, { mt: "xlarge", children: [
122
122
  primaryButton,
@@ -40,7 +40,8 @@ var import_Text = __toESM(require("../../Text"));
40
40
  var import_Box = __toESM(require("../../Box"));
41
41
  var import_Button = __toESM(require("../../Button"));
42
42
  const Title = (0, import_styled_components.default)(import_Text.default.H4).attrs({
43
- as: "p"
43
+ as: "p",
44
+ bold: true
44
45
  })`
45
46
  ${({
46
47
  theme: {
@@ -72,7 +72,7 @@ var import_Divider = __toESM(require("../../../Divider"));
72
72
  const Wrapper = (0, import_styled_components.default)(import_Content.default)`
73
73
  flex: 1;
74
74
  `;
75
- const Title = (0, import_styled_components.default)(import_Text.default.Medium)`
75
+ const Title = (0, import_styled_components.default)(import_Text.default.Body1)`
76
76
  ${(props) => {
77
77
  const {
78
78
  components: { card, cardweb },
@@ -153,7 +153,7 @@ const PlanCardContent = (_a) => {
153
153
  ]);
154
154
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Wrapper, __spreadProps(__spreadValues({}, rest), { children: [
155
155
  subtitle && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Subtitle.default, { children: subtitle }),
156
- title && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Title, { badgeColor, children: title }),
156
+ title && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Title, { bold: true, badgeColor, children: title }),
157
157
  description && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Description, { children: description }),
158
158
  !!price && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Price, { children: [
159
159
  currency && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Text.default.H4, { as: "sup", children: currency }),
@@ -39,8 +39,8 @@ function ActionRequirement(props) {
39
39
  return /* @__PURE__ */ jsxs(StyledActionRequirement, __spreadProps(__spreadValues({}, props), { children: [
40
40
  illustration && /* @__PURE__ */ jsx(Box, { children: illustration }),
41
41
  titleAsTextDisplay ? /* @__PURE__ */ jsx(Text.Display2, { children: title }) : /* @__PURE__ */ jsx(Title, { children: title }),
42
- /* @__PURE__ */ jsx(Text, { mt: "small", color: "deep", children: description }),
43
- list && /* @__PURE__ */ jsx(Text, { mt: "small", color: "deep", children: /* @__PURE__ */ jsx(Box, { mt: "xxxlarge", children: list }) }),
42
+ /* @__PURE__ */ jsx(Text.Body1, { mt: "small", color: "deep", children: description }),
43
+ list && /* @__PURE__ */ jsx(Text.Body1, { mt: "small", color: "deep", children: /* @__PURE__ */ jsx(Box, { mt: "xxxlarge", children: list }) }),
44
44
  checkable && /* @__PURE__ */ jsx(Box, { mt: "xxxlarge", children: checkable }),
45
45
  /* @__PURE__ */ jsx(View, { children })
46
46
  ] }));
@@ -2,7 +2,9 @@ import styled, { css } from "styled-components";
2
2
  import Text from "../../Text/index.native";
3
3
  import Box from "../../Box/index.native";
4
4
  import Button from "../../Button/index.native";
5
- const Title = styled(Text.H4)`
5
+ const Title = styled(Text.H4).attrs({
6
+ bold: true
7
+ })`
6
8
  ${({
7
9
  theme: {
8
10
  yoga: { fontSizes }
@@ -89,8 +89,8 @@ function ActionRequirement(props) {
89
89
  illustration && /* @__PURE__ */ jsx(BoxIllustration, { children: illustration }),
90
90
  /* @__PURE__ */ jsxs(Content, { children: [
91
91
  titleAsTextDisplay ? /* @__PURE__ */ jsx(Text.Display2, { children: title }) : /* @__PURE__ */ jsx(Title, { children: title }),
92
- /* @__PURE__ */ jsx(Text, { mt: "small", color: "deep", children: description }),
93
- list && /* @__PURE__ */ jsx(Text, { mt: "large", color: "deep", children: /* @__PURE__ */ jsx(Box, { children: list }) }),
92
+ /* @__PURE__ */ jsx(Text.Body1, { mt: "small", color: "deep", children: description }),
93
+ list && /* @__PURE__ */ jsx(Text.Body1, { mt: "large", color: "deep", children: /* @__PURE__ */ jsx(Box, { children: list }) }),
94
94
  checkable && /* @__PURE__ */ jsx(Box, { mt: "xxlarge", children: checkable }),
95
95
  /* @__PURE__ */ jsxs(Actions, { mt: "xlarge", children: [
96
96
  primaryButton,
@@ -4,7 +4,8 @@ import Text from "../../Text";
4
4
  import Box from "../../Box";
5
5
  import Button from "../../Button";
6
6
  const Title = styled(Text.H4).attrs({
7
- as: "p"
7
+ as: "p",
8
+ bold: true
8
9
  })`
9
10
  ${({
10
11
  theme: {
@@ -41,7 +41,7 @@ import Divider from "../../../Divider";
41
41
  const Wrapper = styled(Content)`
42
42
  flex: 1;
43
43
  `;
44
- const Title = styled(Text.Medium)`
44
+ const Title = styled(Text.Body1)`
45
45
  ${(props) => {
46
46
  const {
47
47
  components: { card, cardweb },
@@ -122,7 +122,7 @@ const PlanCardContent = (_a) => {
122
122
  ]);
123
123
  return /* @__PURE__ */ jsxs(Wrapper, __spreadProps(__spreadValues({}, rest), { children: [
124
124
  subtitle && /* @__PURE__ */ jsx(Subtitle, { children: subtitle }),
125
- title && /* @__PURE__ */ jsx(Title, { badgeColor, children: title }),
125
+ title && /* @__PURE__ */ jsx(Title, { bold: true, badgeColor, children: title }),
126
126
  description && /* @__PURE__ */ jsx(Description, { children: description }),
127
127
  !!price && /* @__PURE__ */ jsxs(Price, { children: [
128
128
  currency && /* @__PURE__ */ jsx(Text.H4, { as: "sup", children: currency }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gympass/yoga",
3
- "version": "7.108.4",
3
+ "version": "7.109.0",
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": "5fa507839acccba3fb85343b7a4d5b6b8ad38a59",
60
+ "gitHead": "7920154424594eca67d71262188e9b0783d3b332",
61
61
  "module": "./esm",
62
62
  "private": false,
63
63
  "react-native": "./cjs/index.native.js"