@gympass/yoga 7.119.0 → 7.120.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.
@@ -112,9 +112,9 @@ function ActionRequirement(props) {
112
112
  }
113
113
  defineCompoundComponents();
114
114
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(StyledActionRequirement, __spreadProps(__spreadValues({}, props), { children: [
115
- illustration && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BoxIllustration, { children: illustration }),
115
+ illustration && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BoxIllustration, { "aria-hidden": true, children: illustration }),
116
116
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Content, { children: [
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 }),
117
+ titleAsTextDisplay ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Text.default.Display2, { as: "h1", children: title }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ActionRequirementStyles.Title, { children: title }),
118
118
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Text.default.Body1, { mt: "small", color: "deep", children: description }),
119
119
  list && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Box.default, { mt: "large", children: list }),
120
120
  checkable && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Box.default, { mt: "xxlarge", children: checkable }),
@@ -40,7 +40,7 @@ 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: "h1",
44
44
  bold: true
45
45
  })`
46
46
  ${({
@@ -86,9 +86,9 @@ function ActionRequirement(props) {
86
86
  }
87
87
  defineCompoundComponents();
88
88
  return /* @__PURE__ */ jsxs(StyledActionRequirement, __spreadProps(__spreadValues({}, props), { children: [
89
- illustration && /* @__PURE__ */ jsx(BoxIllustration, { children: illustration }),
89
+ illustration && /* @__PURE__ */ jsx(BoxIllustration, { "aria-hidden": true, children: illustration }),
90
90
  /* @__PURE__ */ jsxs(Content, { children: [
91
- titleAsTextDisplay ? /* @__PURE__ */ jsx(Text.Display2, { children: title }) : /* @__PURE__ */ jsx(Title, { children: title }),
91
+ titleAsTextDisplay ? /* @__PURE__ */ jsx(Text.Display2, { as: "h1", children: title }) : /* @__PURE__ */ jsx(Title, { children: title }),
92
92
  /* @__PURE__ */ jsx(Text.Body1, { mt: "small", color: "deep", children: description }),
93
93
  list && /* @__PURE__ */ jsx(Box, { mt: "large", children: list }),
94
94
  checkable && /* @__PURE__ */ jsx(Box, { mt: "xxlarge", children: checkable }),
@@ -4,7 +4,7 @@ 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: "h1",
8
8
  bold: true
9
9
  })`
10
10
  ${({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gympass/yoga",
3
- "version": "7.119.0",
3
+ "version": "7.120.1",
4
4
  "description": "Gympass component library",
5
5
  "main": "./cjs",
6
6
  "types": "./typings/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "dependencies": {
29
29
  "@gympass/yoga-common": "^1.4.1",
30
30
  "@gympass/yoga-helpers": "^1.1.1",
31
- "@gympass/yoga-icons": "^1.27.0",
31
+ "@gympass/yoga-icons": "^1.28.0",
32
32
  "@gympass/yoga-illustrations": "^0.7.1",
33
33
  "@gympass/yoga-system": "^0.25.0",
34
34
  "@gympass/yoga-tokens": "^3.6.4",
@@ -58,7 +58,7 @@
58
58
  "react-native": "0.72.3",
59
59
  "styled-components": "^4.4.0"
60
60
  },
61
- "gitHead": "14c7d64e2380f7edaf06dcbe5953b516ee6edea5",
61
+ "gitHead": "5c9b87033561fb19b6f4ceab7092c3c9340ac720",
62
62
  "module": "./esm",
63
63
  "private": false,
64
64
  "react-native": "./cjs/index.native.js"