@cambly/syntax-core 7.13.0 → 8.0.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.d.ts +4 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -643,7 +643,7 @@ var ButtonGroup_default = ButtonGroup;
|
|
|
643
643
|
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
644
644
|
function Card({
|
|
645
645
|
children,
|
|
646
|
-
size
|
|
646
|
+
size,
|
|
647
647
|
"data-testid": dataTestId
|
|
648
648
|
}) {
|
|
649
649
|
const sizeWidth2 = {
|
|
@@ -656,7 +656,7 @@ function Card({
|
|
|
656
656
|
rounding: "xl",
|
|
657
657
|
padding: 7,
|
|
658
658
|
smPadding: 9,
|
|
659
|
-
maxWidth: sizeWidth2[size],
|
|
659
|
+
maxWidth: size && sizeWidth2[size],
|
|
660
660
|
width: "100%",
|
|
661
661
|
backgroundColor: "white",
|
|
662
662
|
"data-testid": dataTestId,
|