@overmap-ai/blocks 1.0.22 → 1.0.23
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/blocks.umd.cjs
CHANGED
|
@@ -2906,14 +2906,14 @@
|
|
|
2906
2906
|
noTextHighlight,
|
|
2907
2907
|
checkboxHidden
|
|
2908
2908
|
};
|
|
2909
|
-
const _Checkbox = React.forwardRef(function Checkbox2({ className, labelClassName, label, checked, onCheckedChange, ...rest }, ref) {
|
|
2909
|
+
const _Checkbox = React.forwardRef(function Checkbox2({ className, labelClassName, label, checked, onCheckedChange, alwaysShow = true, ...rest }, ref) {
|
|
2910
2910
|
return /* @__PURE__ */ jsxRuntime.jsx(HoverUtility, { children: ({ isHovered, ...props }) => /* @__PURE__ */ jsxRuntime.jsxs(themes.Flex, { className: styles$2.checkboxContainer, ...props, children: [
|
|
2911
2911
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2912
2912
|
$e698a72e93240346$export$be92b6f5f03c0fe9,
|
|
2913
2913
|
{
|
|
2914
2914
|
className: classNames(
|
|
2915
2915
|
styles$2.checkbox,
|
|
2916
|
-
!isHovered && !checked && styles$2.checkboxHidden,
|
|
2916
|
+
!alwaysShow && !isHovered && !checked && styles$2.checkboxHidden,
|
|
2917
2917
|
className
|
|
2918
2918
|
),
|
|
2919
2919
|
checked,
|