infinity-ui-elements 1.9.9 → 1.9.10
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
|
@@ -2634,7 +2634,7 @@ const DatePicker = React__namespace.forwardRef(({ className, value: controlledVa
|
|
|
2634
2634
|
});
|
|
2635
2635
|
DatePicker.displayName = "DatePicker";
|
|
2636
2636
|
|
|
2637
|
-
const listItemVariants = classVarianceAuthority.cva("flex
|
|
2637
|
+
const listItemVariants = classVarianceAuthority.cva("flex gap-3 p-3 rounded-medium transition-colors cursor-pointer", {
|
|
2638
2638
|
variants: {
|
|
2639
2639
|
variant: {
|
|
2640
2640
|
default: `hover:bg-action-fill-neutral-faded
|
|
@@ -2700,7 +2700,7 @@ const ListItem = React__namespace.forwardRef(({ className, type = "single", lead
|
|
|
2700
2700
|
variant,
|
|
2701
2701
|
isDisabled,
|
|
2702
2702
|
isSelected: type === "multiple" ? internalSelected : false,
|
|
2703
|
-
}), containerClassName), onClick: handleClick, role: type === "multiple" ? "checkbox" : "button", "aria-checked": type === "multiple" ? internalSelected : undefined, "aria-disabled": isDisabled, tabIndex: isDisabled ? -1 : 0, ...props, children: [type === "multiple" && (jsxRuntime.jsx(Checkbox, { checked: internalSelected, onChange: handleCheckboxChange, isDisabled: isDisabled, size: checkboxSize, className: "shrink-0 mt-0.5" })), leadingIcon && (jsxRuntime.jsx("div", { className: cn(`shrink-0 flex items-center justify-center mt-0.5`, variant === "primary"
|
|
2703
|
+
}), description ? "items-start" : "items-center", containerClassName), onClick: handleClick, role: type === "multiple" ? "checkbox" : "button", "aria-checked": type === "multiple" ? internalSelected : undefined, "aria-disabled": isDisabled, tabIndex: isDisabled ? -1 : 0, ...props, children: [type === "multiple" && (jsxRuntime.jsx(Checkbox, { checked: internalSelected, onChange: handleCheckboxChange, isDisabled: isDisabled, size: checkboxSize, className: "shrink-0 mt-0.5" })), leadingIcon && (jsxRuntime.jsx("div", { className: cn(`shrink-0 flex items-center justify-center mt-0.5`, variant === "primary"
|
|
2704
2704
|
? "text-action-ink-primary-normal"
|
|
2705
2705
|
: variant === "negative"
|
|
2706
2706
|
? "text-action-ink-negative-normal"
|