@fileverse/ui 4.1.7-patch-14 → 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.
- package/dist/index.es.d.ts +3 -5
- package/dist/index.es.js +4 -2
- package/package.json +1 -1
package/dist/index.es.d.ts
CHANGED
|
@@ -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;
|
package/dist/index.es.js
CHANGED
|
@@ -37657,7 +37657,8 @@ const ALe = ({
|
|
|
37657
37657
|
checked: e,
|
|
37658
37658
|
onCheckedChange: t,
|
|
37659
37659
|
className: n,
|
|
37660
|
-
disabled: a
|
|
37660
|
+
disabled: a,
|
|
37661
|
+
...o
|
|
37661
37662
|
}) => /* @__PURE__ */ d.jsxs("div", { className: "flex w-fit", children: [
|
|
37662
37663
|
/* @__PURE__ */ d.jsx(
|
|
37663
37664
|
"input",
|
|
@@ -37670,7 +37671,8 @@ const ALe = ({
|
|
|
37670
37671
|
type: "checkbox",
|
|
37671
37672
|
onChange: t,
|
|
37672
37673
|
checked: e,
|
|
37673
|
-
disabled: a
|
|
37674
|
+
disabled: a,
|
|
37675
|
+
...o
|
|
37674
37676
|
}
|
|
37675
37677
|
),
|
|
37676
37678
|
/* @__PURE__ */ d.jsx(
|