@overmap-ai/blocks 1.0.23-alpha.1 → 1.0.24

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/README.md CHANGED
@@ -1,3 +1,3 @@
1
- # overmap-ai blocks
2
-
3
- Contains basic components used by overmap-ai libraries.
1
+ # overmap-ai blocks
2
+
3
+ Contains basic components used by overmap-ai libraries.
@@ -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
@@ -3294,14 +3294,14 @@ const styles$2 = {
3294
3294
  noTextHighlight,
3295
3295
  checkboxHidden
3296
3296
  };
3297
- const _Checkbox = forwardRef(function Checkbox2({ className, labelClassName, label, checked, onCheckedChange, ...rest }, ref) {
3297
+ const _Checkbox = forwardRef(function Checkbox2({ className, labelClassName, label, checked, onCheckedChange, alwaysShow = true, ...rest }, ref) {
3298
3298
  return /* @__PURE__ */ jsx(HoverUtility, { children: ({ isHovered, ...props }) => /* @__PURE__ */ jsxs(Flex$1, { className: styles$2.checkboxContainer, ...props, children: [
3299
3299
  /* @__PURE__ */ jsx(
3300
3300
  $e698a72e93240346$export$be92b6f5f03c0fe9,
3301
3301
  {
3302
3302
  className: classNames(
3303
3303
  styles$2.checkbox,
3304
- !isHovered && !checked && styles$2.checkboxHidden,
3304
+ !alwaysShow && !isHovered && !checked && styles$2.checkboxHidden,
3305
3305
  className
3306
3306
  ),
3307
3307
  checked,