@clickpalm/react 1.2.4 → 1.2.5
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 -2
- package/dist/index.js +0 -1
- package/dist/index.mjs +0 -1
- package/package.json +1 -1
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
|
|
4073
|
+
size?: number | string;
|
|
4075
4074
|
color?: IconColor;
|
|
4076
4075
|
}
|
|
4077
4076
|
|
package/dist/index.js
CHANGED
|
@@ -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
|
@@ -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