@cambly/syntax-core 5.3.1 → 5.4.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
@@ -586,8 +586,28 @@ var ButtonGroup_default = ButtonGroup;
586
586
  // src/Card/Card.tsx
587
587
  import { jsx as jsx7 } from "react/jsx-runtime";
588
588
  var Card = ({
589
- children
590
- }) => /* @__PURE__ */ jsx7(Box_default, { rounding: "xl", padding: 7, smPadding: 9, backgroundColor: "white", children });
589
+ children,
590
+ size = "sm",
591
+ "data-testid": dataTestId
592
+ }) => {
593
+ const sizeWidth = {
594
+ sm: 352,
595
+ lg: 744
596
+ };
597
+ return /* @__PURE__ */ jsx7(
598
+ Box_default,
599
+ {
600
+ rounding: "xl",
601
+ padding: 7,
602
+ smPadding: 9,
603
+ maxWidth: sizeWidth[size],
604
+ width: "100%",
605
+ backgroundColor: "white",
606
+ "data-testid": dataTestId,
607
+ children
608
+ }
609
+ );
610
+ };
591
611
  var Card_default = Card;
592
612
 
593
613
  // css-module:./Divider.module.css#css-module