@shoplflow/templates 0.2.37 → 0.2.38

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/dist/index.cjs CHANGED
@@ -104,7 +104,7 @@ var Header = ({
104
104
  const { color, typography } = getTypographyAndColor(depth);
105
105
  return /* @__PURE__ */ jsxRuntime.jsxs(base.Stack.Horizontal, { align: "center", children: [
106
106
  /* @__PURE__ */ jsxRuntime.jsxs(base.Stack.Horizontal, { spacing: "spacing04", align: "center", justify: "center", children: [
107
- /* @__PURE__ */ jsxRuntime.jsx(base.Text, { color, typography, wordBreak: "break-all", children: title }),
107
+ /* @__PURE__ */ jsxRuntime.jsx(base.Text, { color, typography, wordBreak: "break-all", role: "heading", children: title }),
108
108
  isRequired && /* @__PURE__ */ jsxRuntime.jsx(StyledRequired, { children: "*" }),
109
109
  Boolean(count) && /* @__PURE__ */ jsxRuntime.jsx(base.Text, { typography: "body1_700", color: "primary300", children: count })
110
110
  ] }),
package/dist/index.js CHANGED
@@ -98,7 +98,7 @@ var Header = ({
98
98
  const { color, typography } = getTypographyAndColor(depth);
99
99
  return /* @__PURE__ */ jsxs(Stack.Horizontal, { align: "center", children: [
100
100
  /* @__PURE__ */ jsxs(Stack.Horizontal, { spacing: "spacing04", align: "center", justify: "center", children: [
101
- /* @__PURE__ */ jsx(Text, { color, typography, wordBreak: "break-all", children: title }),
101
+ /* @__PURE__ */ jsx(Text, { color, typography, wordBreak: "break-all", role: "heading", children: title }),
102
102
  isRequired && /* @__PURE__ */ jsx(StyledRequired, { children: "*" }),
103
103
  Boolean(count) && /* @__PURE__ */ jsx(Text, { typography: "body1_700", color: "primary300", children: count })
104
104
  ] }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shoplflow/templates",
3
- "version": "0.2.37",
3
+ "version": "0.2.38",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",
@@ -71,7 +71,7 @@
71
71
  "react-datepicker": "^7.3.0",
72
72
  "react-dom": "^18.2.0",
73
73
  "simplebar-react": "^3.2.6",
74
- "@shoplflow/base": "^0.46.35",
74
+ "@shoplflow/base": "^0.46.36",
75
75
  "@shoplflow/hada-assets": "^0.1.10",
76
76
  "@shoplflow/shopl-assets": "^0.12.43",
77
77
  "@shoplflow/utils": "^0.8.0"