@clickpalm/react 1.2.5 → 1.2.8
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 +5 -2
- package/dist/index.mjs +5 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -375,6 +375,9 @@ var StyledButton = styled("button", {
|
|
|
375
375
|
},
|
|
376
376
|
"&:disabled": {
|
|
377
377
|
opacity: "0.6"
|
|
378
|
+
},
|
|
379
|
+
svg: {
|
|
380
|
+
fill: "$ignite_light"
|
|
378
381
|
}
|
|
379
382
|
}
|
|
380
383
|
},
|
|
@@ -767,7 +770,7 @@ function Icon({ name, size = 24, color = "black", ...rest }) {
|
|
|
767
770
|
{
|
|
768
771
|
width: size,
|
|
769
772
|
height: size,
|
|
770
|
-
|
|
773
|
+
fill: fillColor,
|
|
771
774
|
"aria-hidden": true,
|
|
772
775
|
...rest
|
|
773
776
|
}
|
|
@@ -1170,7 +1173,7 @@ var Checkbox2 = (0, import_react5.forwardRef)(
|
|
|
1170
1173
|
onCheckedChange,
|
|
1171
1174
|
hasError: !!errorMessage,
|
|
1172
1175
|
...rest,
|
|
1173
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(CheckboxIndicator, {
|
|
1176
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(CheckboxIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Icon, { name: "Check", size: 16, color: "white" }) })
|
|
1174
1177
|
}
|
|
1175
1178
|
),
|
|
1176
1179
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(CheckboxLabel, { children: label })
|
package/dist/index.mjs
CHANGED
|
@@ -296,6 +296,9 @@ var StyledButton = styled("button", {
|
|
|
296
296
|
},
|
|
297
297
|
"&:disabled": {
|
|
298
298
|
opacity: "0.6"
|
|
299
|
+
},
|
|
300
|
+
svg: {
|
|
301
|
+
fill: "$ignite_light"
|
|
299
302
|
}
|
|
300
303
|
}
|
|
301
304
|
},
|
|
@@ -696,7 +699,7 @@ function Icon({ name, size = 24, color = "black", ...rest }) {
|
|
|
696
699
|
{
|
|
697
700
|
width: size,
|
|
698
701
|
height: size,
|
|
699
|
-
|
|
702
|
+
fill: fillColor,
|
|
700
703
|
"aria-hidden": true,
|
|
701
704
|
...rest
|
|
702
705
|
}
|
|
@@ -1099,7 +1102,7 @@ var Checkbox2 = forwardRef2(
|
|
|
1099
1102
|
onCheckedChange,
|
|
1100
1103
|
hasError: !!errorMessage,
|
|
1101
1104
|
...rest,
|
|
1102
|
-
children: /* @__PURE__ */ jsx18(CheckboxIndicator, {
|
|
1105
|
+
children: /* @__PURE__ */ jsx18(CheckboxIndicator, { children: /* @__PURE__ */ jsx18(Icon, { name: "Check", size: 16, color: "white" }) })
|
|
1103
1106
|
}
|
|
1104
1107
|
),
|
|
1105
1108
|
/* @__PURE__ */ jsx18(CheckboxLabel, { children: label })
|
package/package.json
CHANGED