@clickpalm/react 1.2.3 → 1.2.4

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.js CHANGED
@@ -731,6 +731,7 @@ var iconMap = {
731
731
  TriangleRight: import_react_icons.TriangleRightIcon,
732
732
  EyeClosed: import_react_icons.EyeClosedIcon,
733
733
  EyeOpen: import_react_icons.EyeOpenIcon,
734
+ QuestionMark: import_react_icons.QuestionMarkIcon,
734
735
  Calendar,
735
736
  Closed,
736
737
  Dots,
@@ -1558,7 +1559,7 @@ var StyledDescription = styled(Dialog.Description, {
1558
1559
  marginTop: "$4",
1559
1560
  marginBottom: 0
1560
1561
  });
1561
- var StyledChildren = styled(Dialog.Description, {
1562
+ var StyledChildren = styled("div", {
1562
1563
  fontFamily: "$default",
1563
1564
  fontWeight: "$regular",
1564
1565
  fontSize: "$md",
@@ -1577,8 +1578,10 @@ var Modal = ({ open, onOpenChange, title, description, children }) => {
1577
1578
  /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledClose, { asChild: true, "aria-label": "Close", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Button, { variant: "secondary", size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Icon, { name: "Closed", size: 8 }) }) })
1578
1579
  ] }),
1579
1580
  /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledDivider, {}),
1580
- description && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledDescription, { children: description }),
1581
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledChildren, { children })
1581
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { children: [
1582
+ description && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledDescription, { children: description }),
1583
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(StyledChildren, { children })
1584
+ ] })
1582
1585
  ] })
1583
1586
  ] }) });
1584
1587
  };
@@ -1623,7 +1626,7 @@ var ProgressBar = ({ label, value = 0, max = 100, ...rest }) => {
1623
1626
  }, [value]);
1624
1627
  const valueLabel = `${Math.round(progress2 / max * 100)}%`;
1625
1628
  return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(StyledWrapper3, { children: [
1626
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("label", { style: { fontSize: 16, alignSelf: "flex-start" }, children: label }),
1629
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("label", { style: { fontSize: 16, alignSelf: "flex-start", color: "black" }, children: label }),
1627
1630
  /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1628
1631
  StyledRoot,
1629
1632
  {
@@ -3554,12 +3557,14 @@ var CarouselHeader = styled("div", {
3554
3557
  display: "flex",
3555
3558
  justifyContent: "space-between",
3556
3559
  alignItems: "center",
3557
- width: "100%"
3560
+ width: "100%",
3561
+ color: "$black"
3558
3562
  });
3559
3563
  var Title2 = styled("h3", {
3560
3564
  fontFamily: "$default",
3561
3565
  fontWeight: "$bold",
3562
3566
  fontSize: "$md",
3567
+ color: "$black",
3563
3568
  margin: "0px",
3564
3569
  variants: {
3565
3570
  variant: {
package/dist/index.mjs CHANGED
@@ -360,7 +360,8 @@ import {
360
360
  TriangleLeftIcon as TriangleLeft,
361
361
  TriangleRightIcon as TriangleRight,
362
362
  EyeClosedIcon as EyeClosed,
363
- EyeOpenIcon as EyeOpen
363
+ EyeOpenIcon as EyeOpen,
364
+ QuestionMarkIcon as QuestionMark
364
365
  } from "@radix-ui/react-icons";
365
366
 
366
367
  // src/components/Icon/Svgs/Calendar.tsx
@@ -659,6 +660,7 @@ var iconMap = {
659
660
  TriangleRight,
660
661
  EyeClosed,
661
662
  EyeOpen,
663
+ QuestionMark,
662
664
  Calendar,
663
665
  Closed,
664
666
  Dots,
@@ -1486,7 +1488,7 @@ var StyledDescription = styled(Dialog.Description, {
1486
1488
  marginTop: "$4",
1487
1489
  marginBottom: 0
1488
1490
  });
1489
- var StyledChildren = styled(Dialog.Description, {
1491
+ var StyledChildren = styled("div", {
1490
1492
  fontFamily: "$default",
1491
1493
  fontWeight: "$regular",
1492
1494
  fontSize: "$md",
@@ -1505,8 +1507,10 @@ var Modal = ({ open, onOpenChange, title, description, children }) => {
1505
1507
  /* @__PURE__ */ jsx22(StyledClose, { asChild: true, "aria-label": "Close", children: /* @__PURE__ */ jsx22(Button, { variant: "secondary", size: "sm", children: /* @__PURE__ */ jsx22(Icon, { name: "Closed", size: 8 }) }) })
1506
1508
  ] }),
1507
1509
  /* @__PURE__ */ jsx22(StyledDivider, {}),
1508
- description && /* @__PURE__ */ jsx22(StyledDescription, { children: description }),
1509
- /* @__PURE__ */ jsx22(StyledChildren, { children })
1510
+ /* @__PURE__ */ jsxs6("div", { children: [
1511
+ description && /* @__PURE__ */ jsx22(StyledDescription, { children: description }),
1512
+ /* @__PURE__ */ jsx22(StyledChildren, { children })
1513
+ ] })
1510
1514
  ] })
1511
1515
  ] }) });
1512
1516
  };
@@ -1551,7 +1555,7 @@ var ProgressBar = ({ label, value = 0, max = 100, ...rest }) => {
1551
1555
  }, [value]);
1552
1556
  const valueLabel = `${Math.round(progress2 / max * 100)}%`;
1553
1557
  return /* @__PURE__ */ jsxs7(StyledWrapper3, { children: [
1554
- /* @__PURE__ */ jsx23("label", { style: { fontSize: 16, alignSelf: "flex-start" }, children: label }),
1558
+ /* @__PURE__ */ jsx23("label", { style: { fontSize: 16, alignSelf: "flex-start", color: "black" }, children: label }),
1555
1559
  /* @__PURE__ */ jsx23(
1556
1560
  StyledRoot,
1557
1561
  {
@@ -3486,12 +3490,14 @@ var CarouselHeader = styled("div", {
3486
3490
  display: "flex",
3487
3491
  justifyContent: "space-between",
3488
3492
  alignItems: "center",
3489
- width: "100%"
3493
+ width: "100%",
3494
+ color: "$black"
3490
3495
  });
3491
3496
  var Title2 = styled("h3", {
3492
3497
  fontFamily: "$default",
3493
3498
  fontWeight: "$bold",
3494
3499
  fontSize: "$md",
3500
+ color: "$black",
3495
3501
  margin: "0px",
3496
3502
  variants: {
3497
3503
  variant: {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Design System da Clikpalm",
4
4
  "author": "Enisson Shilo",
5
5
  "license": "MIT",
6
- "version": "1.2.3",
6
+ "version": "1.2.4",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/clickpalm/clickpalm-designsystem-lib.git"