@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.
|
@@ -7,6 +7,7 @@ export interface CheckboxProps extends RadixCheckboxProps {
|
|
|
7
7
|
labelClassName?: string;
|
|
8
8
|
label?: ReactNode;
|
|
9
9
|
doesLabelCheck?: boolean;
|
|
10
|
+
alwaysShow?: boolean;
|
|
10
11
|
}
|
|
11
12
|
export interface SelectAllCheckboxProps extends Omit<CheckboxProps, "checked"> {
|
|
12
13
|
children: Array<ReactElement<CheckboxProps>>;
|
|
@@ -10,7 +10,7 @@ export interface TextAreaProps extends Omit<ComponentProps<typeof RadixTextArea>
|
|
|
10
10
|
* @default false
|
|
11
11
|
* */
|
|
12
12
|
showInputLength?: boolean;
|
|
13
|
-
resize: "vertical" | "horizontal" | "both";
|
|
13
|
+
resize: "vertical" | "horizontal" | "both" | "none";
|
|
14
14
|
inputLengthTemplate?: string;
|
|
15
15
|
variant?: ComponentProps<typeof RadixTextArea>["variant"] | "ghost";
|
|
16
16
|
}
|
package/dist/blocks.js
CHANGED
|
@@ -2907,14 +2907,14 @@ const styles$2 = {
|
|
|
2907
2907
|
noTextHighlight,
|
|
2908
2908
|
checkboxHidden
|
|
2909
2909
|
};
|
|
2910
|
-
const _Checkbox = forwardRef(function Checkbox2({ className, labelClassName, label, checked, onCheckedChange, ...rest }, ref) {
|
|
2910
|
+
const _Checkbox = forwardRef(function Checkbox2({ className, labelClassName, label, checked, onCheckedChange, alwaysShow = true, ...rest }, ref) {
|
|
2911
2911
|
return /* @__PURE__ */ jsx(HoverUtility, { children: ({ isHovered, ...props }) => /* @__PURE__ */ jsxs(Flex$1, { className: styles$2.checkboxContainer, ...props, children: [
|
|
2912
2912
|
/* @__PURE__ */ jsx(
|
|
2913
2913
|
$e698a72e93240346$export$be92b6f5f03c0fe9,
|
|
2914
2914
|
{
|
|
2915
2915
|
className: classNames(
|
|
2916
2916
|
styles$2.checkbox,
|
|
2917
|
-
!isHovered && !checked && styles$2.checkboxHidden,
|
|
2917
|
+
!alwaysShow && !isHovered && !checked && styles$2.checkboxHidden,
|
|
2918
2918
|
className
|
|
2919
2919
|
),
|
|
2920
2920
|
checked,
|