@clickpalm/react 1.2.2 → 1.2.3
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 +1 -1
- package/dist/index.js +13 -4
- package/dist/index.mjs +13 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2301,7 +2301,7 @@ declare const CheckboxContainer: _stitches_react_types_styled_component.StyledCo
|
|
|
2301
2301
|
|
|
2302
2302
|
interface CheckboxProps extends ComponentProps<typeof CheckboxContainer> {
|
|
2303
2303
|
label: string;
|
|
2304
|
-
checked
|
|
2304
|
+
checked?: boolean;
|
|
2305
2305
|
onCheckedChange: (checked: boolean) => void;
|
|
2306
2306
|
errorMessage?: string;
|
|
2307
2307
|
}
|
package/dist/index.js
CHANGED
|
@@ -1165,7 +1165,7 @@ var Checkbox2 = (0, import_react5.forwardRef)(
|
|
|
1165
1165
|
CheckboxContainer,
|
|
1166
1166
|
{
|
|
1167
1167
|
ref,
|
|
1168
|
-
checked,
|
|
1168
|
+
checked: !!checked,
|
|
1169
1169
|
onCheckedChange,
|
|
1170
1170
|
hasError: !!errorMessage,
|
|
1171
1171
|
...rest,
|
|
@@ -1547,14 +1547,23 @@ var StyledDivider = styled("hr", {
|
|
|
1547
1547
|
width: "100%",
|
|
1548
1548
|
border: "none",
|
|
1549
1549
|
borderTop: "1px solid $gray_mid",
|
|
1550
|
-
margin:
|
|
1550
|
+
margin: "0px"
|
|
1551
1551
|
});
|
|
1552
1552
|
var StyledDescription = styled(Dialog.Description, {
|
|
1553
1553
|
display: "flex",
|
|
1554
1554
|
fontFamily: "$default",
|
|
1555
1555
|
fontWeight: "$regular",
|
|
1556
1556
|
fontSize: "$md",
|
|
1557
|
-
|
|
1557
|
+
color: "$black",
|
|
1558
|
+
marginTop: "$4",
|
|
1559
|
+
marginBottom: 0
|
|
1560
|
+
});
|
|
1561
|
+
var StyledChildren = styled(Dialog.Description, {
|
|
1562
|
+
fontFamily: "$default",
|
|
1563
|
+
fontWeight: "$regular",
|
|
1564
|
+
fontSize: "$md",
|
|
1565
|
+
color: "$black",
|
|
1566
|
+
margin: "$4 0"
|
|
1558
1567
|
});
|
|
1559
1568
|
|
|
1560
1569
|
// src/components/Modal/index.tsx
|
|
@@ -1569,7 +1578,7 @@ var Modal = ({ open, onOpenChange, title, description, children }) => {
|
|
|
1569
1578
|
] }),
|
|
1570
1579
|
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledDivider, {}),
|
|
1571
1580
|
description && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledDescription, { children: description }),
|
|
1572
|
-
children
|
|
1581
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledChildren, { children })
|
|
1573
1582
|
] })
|
|
1574
1583
|
] }) });
|
|
1575
1584
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -1093,7 +1093,7 @@ var Checkbox2 = forwardRef2(
|
|
|
1093
1093
|
CheckboxContainer,
|
|
1094
1094
|
{
|
|
1095
1095
|
ref,
|
|
1096
|
-
checked,
|
|
1096
|
+
checked: !!checked,
|
|
1097
1097
|
onCheckedChange,
|
|
1098
1098
|
hasError: !!errorMessage,
|
|
1099
1099
|
...rest,
|
|
@@ -1475,14 +1475,23 @@ var StyledDivider = styled("hr", {
|
|
|
1475
1475
|
width: "100%",
|
|
1476
1476
|
border: "none",
|
|
1477
1477
|
borderTop: "1px solid $gray_mid",
|
|
1478
|
-
margin:
|
|
1478
|
+
margin: "0px"
|
|
1479
1479
|
});
|
|
1480
1480
|
var StyledDescription = styled(Dialog.Description, {
|
|
1481
1481
|
display: "flex",
|
|
1482
1482
|
fontFamily: "$default",
|
|
1483
1483
|
fontWeight: "$regular",
|
|
1484
1484
|
fontSize: "$md",
|
|
1485
|
-
|
|
1485
|
+
color: "$black",
|
|
1486
|
+
marginTop: "$4",
|
|
1487
|
+
marginBottom: 0
|
|
1488
|
+
});
|
|
1489
|
+
var StyledChildren = styled(Dialog.Description, {
|
|
1490
|
+
fontFamily: "$default",
|
|
1491
|
+
fontWeight: "$regular",
|
|
1492
|
+
fontSize: "$md",
|
|
1493
|
+
color: "$black",
|
|
1494
|
+
margin: "$4 0"
|
|
1486
1495
|
});
|
|
1487
1496
|
|
|
1488
1497
|
// src/components/Modal/index.tsx
|
|
@@ -1497,7 +1506,7 @@ var Modal = ({ open, onOpenChange, title, description, children }) => {
|
|
|
1497
1506
|
] }),
|
|
1498
1507
|
/* @__PURE__ */ jsx22(StyledDivider, {}),
|
|
1499
1508
|
description && /* @__PURE__ */ jsx22(StyledDescription, { children: description }),
|
|
1500
|
-
children
|
|
1509
|
+
/* @__PURE__ */ jsx22(StyledChildren, { children })
|
|
1501
1510
|
] })
|
|
1502
1511
|
] }) });
|
|
1503
1512
|
};
|
package/package.json
CHANGED