@trafilea/afrodita-components 6.54.10 → 6.54.11
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/build/index.esm.js +3 -1
- package/build/index.esm.js.map +1 -1
- package/build/index.js +3 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -5799,7 +5799,9 @@ var Checkbox = function (_a) {
|
|
|
5799
5799
|
}
|
|
5800
5800
|
onChange(e.target.checked);
|
|
5801
5801
|
};
|
|
5802
|
-
return (jsxRuntime.jsxs(Container$1o, { children: [jsxRuntime.jsx(Input$5, { type: "checkbox", checked: checked, disabled: disabled, onChange: handleChange, id: id }, void 0), jsxRuntime.jsx(CustomCheckbox, __assign$1({ theme: theme, size: size, disabled: disabled, isChecked: checked, "data-testid": "checkbox", variant: variant, backgroundColor: backgroundColor, text: text }, { children: checked && jsxRuntime.jsx(Icon.Actions.Check, { fill:
|
|
5802
|
+
return (jsxRuntime.jsxs(Container$1o, { children: [jsxRuntime.jsx(Input$5, { type: "checkbox", checked: checked, disabled: disabled, onChange: handleChange, id: id }, void 0), jsxRuntime.jsx(CustomCheckbox, __assign$1({ theme: theme, size: size, disabled: disabled, isChecked: checked, "data-testid": "checkbox", variant: variant, backgroundColor: backgroundColor, text: text }, { children: checked && (jsxRuntime.jsx(Icon.Actions.Check, { fill: text === 'White'
|
|
5803
|
+
? theme.colors.shades['black'].color
|
|
5804
|
+
: theme.colors.shades['white'].color }, void 0)) }), void 0), jsxRuntime.jsx(Label$6, __assign$1({ "data-testid": "checkbox-text", size: sizeLabel, style: { color: colorLabel ? colorLabel : theme.colors.shades['700'].color }, variant: checked ? 'demi' : 'regular', htmlFor: id, disabled: disabled }, { children: text }), void 0)] }, void 0));
|
|
5803
5805
|
};
|
|
5804
5806
|
var templateObject_1$2b, templateObject_2$1D;
|
|
5805
5807
|
|