@cambly/syntax-core 7.1.0 → 7.3.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.
package/dist/index.mjs CHANGED
@@ -160,6 +160,7 @@ var Typography = ({
160
160
  as = "div",
161
161
  children,
162
162
  color = "gray900",
163
+ "data-testid": dataTestId,
163
164
  inline = false,
164
165
  lineClamp = void 0,
165
166
  size = 200,
@@ -183,6 +184,7 @@ var Typography = ({
183
184
  underline && Typography_module_default.underline,
184
185
  lineClamp != null && Typography_module_default.lineClamp
185
186
  ),
187
+ "data-testid": dataTestId,
186
188
  style: {
187
189
  WebkitLineClamp: lineClamp
188
190
  },
@@ -860,10 +862,22 @@ var Heading = ({
860
862
  as = "h1",
861
863
  children,
862
864
  color = "gray900",
865
+ "data-testid": dataTestId,
863
866
  size = 500
864
867
  }) => {
865
868
  const weight = [700, 800].includes(size) ? "heavy" : "bold";
866
- return /* @__PURE__ */ jsx10(Typography_default, { align, as, color, size, weight, children });
869
+ return /* @__PURE__ */ jsx10(
870
+ Typography_default,
871
+ {
872
+ align,
873
+ as,
874
+ color,
875
+ "data-testid": dataTestId,
876
+ size,
877
+ weight,
878
+ children
879
+ }
880
+ );
867
881
  };
868
882
  var Heading_default = Heading;
869
883