@cambly/syntax-core 5.3.1 → 5.5.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 +18 -3
- package/dist/index.js +23 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +23 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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
|
-
|
|
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
|
|
@@ -979,7 +999,7 @@ var SelectList = ({
|
|
|
979
999
|
[SelectList_module_default.opacityOverlay]: disabled
|
|
980
1000
|
}),
|
|
981
1001
|
children: [
|
|
982
|
-
/* @__PURE__ */ jsx15("label", { htmlFor: id, className: SelectList_module_default.outerTextContainer, children: /* @__PURE__ */ jsx15(Typography_default, { size: 100, color: "gray700", children: label }) }),
|
|
1002
|
+
label && /* @__PURE__ */ jsx15("label", { htmlFor: id, className: SelectList_module_default.outerTextContainer, children: /* @__PURE__ */ jsx15(Typography_default, { size: 100, color: "gray700", children: label }) }),
|
|
983
1003
|
/* @__PURE__ */ jsxs4("div", { className: SelectList_module_default.selectWrapper, children: [
|
|
984
1004
|
/* @__PURE__ */ jsxs4(
|
|
985
1005
|
"select",
|