@fileverse/ui 4.1.7-patch-13 → 4.1.7-patch-15

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.
@@ -13,6 +13,7 @@ import { EmojiStyle } from 'emoji-picker-react';
13
13
  import { ForwardRefExoticComponent } from 'react';
14
14
  import { GridProps as GridProps_2 } from '@radix-ui/themes';
15
15
  import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
16
+ import { InputHTMLAttributes } from 'react';
16
17
  import { JSX as JSX_2 } from 'react/jsx-runtime';
17
18
  import * as LabelPrimitive from '@radix-ui/react-label';
18
19
  import * as PopoverPrimitive from '@radix-ui/react-popover';
@@ -158,15 +159,12 @@ export declare type CardSize = "sm" | "md" | "lg";
158
159
 
159
160
  export declare const CardTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLHeadingElement> & React_2.RefAttributes<HTMLParagraphElement>>;
160
161
 
161
- export declare const Checkbox: ({ checked, onCheckedChange, className, disabled, }: CheckboxProps) => JSX_2.Element;
162
+ export declare const Checkbox: ({ checked, onCheckedChange, className, disabled, ...props }: CheckboxProps) => JSX_2.Element;
162
163
 
163
- export declare interface CheckboxProps {
164
- checked?: boolean;
164
+ export declare interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "onChange"> {
165
165
  onCheckedChange?: (event: default_2.ChangeEvent<HTMLInputElement>) => void;
166
- className?: string;
167
166
  label?: string;
168
167
  labelPosition?: "left" | "right";
169
- disabled?: boolean;
170
168
  }
171
169
 
172
170
  export declare function cn(...inputs: ClassValue[]): string;