@clickpalm/react 1.2.4 → 1.2.6

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 CHANGED
@@ -4068,10 +4068,9 @@ type IconComponent = (props: SVGProps<SVGSVGElement>) => JSX.Element;
4068
4068
  declare const iconMap: Record<string, IconComponent>;
4069
4069
 
4070
4070
  type IconColor = 'black' | 'green' | 'white';
4071
- type IconSize = 8 | 16 | 24 | 64 | 104;
4072
4071
  interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'name' | 'color'> {
4073
4072
  name: keyof typeof iconMap;
4074
- size: IconSize;
4073
+ size?: number | string;
4075
4074
  color?: IconColor;
4076
4075
  }
4077
4076
 
package/dist/index.js CHANGED
@@ -767,7 +767,7 @@ function Icon({ name, size = 24, color = "black", ...rest }) {
767
767
  {
768
768
  width: size,
769
769
  height: size,
770
- color: fillColor,
770
+ fill: fillColor,
771
771
  "aria-hidden": true,
772
772
  ...rest
773
773
  }
@@ -1170,7 +1170,7 @@ var Checkbox2 = (0, import_react5.forwardRef)(
1170
1170
  onCheckedChange,
1171
1171
  hasError: !!errorMessage,
1172
1172
  ...rest,
1173
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(CheckboxIndicator, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Icon, { name: "Check", size: 16 }) })
1173
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(CheckboxIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Icon, { name: "Check", size: 16 }) })
1174
1174
  }
1175
1175
  ),
1176
1176
  /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(CheckboxLabel, { children: label })
@@ -1423,7 +1423,6 @@ var Datepicker = ({ label, value, onChange }) => {
1423
1423
  placeholder: "dd/mm/aaaa",
1424
1424
  onFocus: () => setOpen(true),
1425
1425
  value: value || "",
1426
- noMargin: true,
1427
1426
  readOnly: true,
1428
1427
  suffix: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Icon, { name: "Calendar", size: 16 })
1429
1428
  }
package/dist/index.mjs CHANGED
@@ -696,7 +696,7 @@ function Icon({ name, size = 24, color = "black", ...rest }) {
696
696
  {
697
697
  width: size,
698
698
  height: size,
699
- color: fillColor,
699
+ fill: fillColor,
700
700
  "aria-hidden": true,
701
701
  ...rest
702
702
  }
@@ -1099,7 +1099,7 @@ var Checkbox2 = forwardRef2(
1099
1099
  onCheckedChange,
1100
1100
  hasError: !!errorMessage,
1101
1101
  ...rest,
1102
- children: /* @__PURE__ */ jsx18(CheckboxIndicator, { asChild: true, children: /* @__PURE__ */ jsx18(Icon, { name: "Check", size: 16 }) })
1102
+ children: /* @__PURE__ */ jsx18(CheckboxIndicator, { children: /* @__PURE__ */ jsx18(Icon, { name: "Check", size: 16 }) })
1103
1103
  }
1104
1104
  ),
1105
1105
  /* @__PURE__ */ jsx18(CheckboxLabel, { children: label })
@@ -1352,7 +1352,6 @@ var Datepicker = ({ label, value, onChange }) => {
1352
1352
  placeholder: "dd/mm/aaaa",
1353
1353
  onFocus: () => setOpen(true),
1354
1354
  value: value || "",
1355
- noMargin: true,
1356
1355
  readOnly: true,
1357
1356
  suffix: /* @__PURE__ */ jsx20(Icon, { name: "Calendar", size: 16 })
1358
1357
  }
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.4",
6
+ "version": "1.2.6",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/clickpalm/clickpalm-designsystem-lib.git"