uilab-core 0.1.10 → 0.2.11
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/components/badge.d.ts +4 -4
- package/dist/components/button.d.ts +4 -4
- package/dist/components/calendar.d.ts +5 -5
- package/dist/components/card.d.ts +10 -8
- package/dist/components/dropdown-menu.d.ts +5 -5
- package/dist/components/input-group.d.ts +10 -10
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +39 -37
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/theme.css +1 -1
- package/package.json +5 -2
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import { Command as Command$1 } from 'cmdk';
|
|
|
14
14
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
15
15
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
16
16
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
17
|
-
import
|
|
17
|
+
import { DropdownMenu as DropdownMenu$1 } from 'radix-ui';
|
|
18
18
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
19
19
|
import * as react_hook_form from 'react-hook-form';
|
|
20
20
|
import { FieldValues, FieldPath, ControllerProps, FormProviderProps } from 'react-hook-form';
|
|
@@ -91,9 +91,9 @@ type AvatarFallbackProps = React$1.ComponentProps<typeof AvatarPrimitive.Fallbac
|
|
|
91
91
|
declare function AvatarFallback({ className, ...props }: AvatarFallbackProps): react_jsx_runtime.JSX.Element;
|
|
92
92
|
|
|
93
93
|
declare const badgeVariants: (props?: ({
|
|
94
|
-
variant?: "
|
|
94
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
95
95
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
96
|
-
declare function Badge({ className, variant, asChild, ...props }: React$1.ComponentProps<
|
|
96
|
+
declare function Badge({ className, variant, asChild, ...props }: React$1.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
97
97
|
asChild?: boolean;
|
|
98
98
|
}): react_jsx_runtime.JSX.Element;
|
|
99
99
|
|
|
@@ -120,24 +120,26 @@ declare function ButtonGroupSeparator({ className, orientation, ...props }: Reac
|
|
|
120
120
|
|
|
121
121
|
declare const buttonVariants: (props?: ({
|
|
122
122
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
123
|
-
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
123
|
+
size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
124
124
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
125
|
-
declare function Button({ className, variant, size, asChild, ...props }: React$1.ComponentProps<
|
|
125
|
+
declare function Button({ className, variant, size, asChild, ...props }: React$1.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
126
126
|
asChild?: boolean;
|
|
127
127
|
}): react_jsx_runtime.JSX.Element;
|
|
128
128
|
|
|
129
129
|
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
|
|
130
|
-
buttonVariant?: React$1.ComponentProps<typeof Button>[
|
|
130
|
+
buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
|
|
131
131
|
}): react_jsx_runtime.JSX.Element;
|
|
132
|
-
declare function CalendarDayButton({ className, day, modifiers, ...props }: React$1.ComponentProps<typeof DayButton>): react_jsx_runtime.JSX.Element;
|
|
132
|
+
declare function CalendarDayButton({ className, day, modifiers, ...props }: React$1.ComponentProps<typeof DayButton> & any): react_jsx_runtime.JSX.Element;
|
|
133
133
|
|
|
134
|
-
declare function Card({ className, ...props }: React$1.ComponentProps<
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
declare function
|
|
138
|
-
declare function
|
|
139
|
-
declare function
|
|
140
|
-
declare function
|
|
134
|
+
declare function Card({ className, size, ...props }: React$1.ComponentProps<"div"> & {
|
|
135
|
+
size?: "default" | "sm";
|
|
136
|
+
}): react_jsx_runtime.JSX.Element;
|
|
137
|
+
declare function CardHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
138
|
+
declare function CardTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
139
|
+
declare function CardDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
140
|
+
declare function CardAction({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
141
|
+
declare function CardContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
142
|
+
declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
141
143
|
|
|
142
144
|
declare function Checkbox({ className, ...props }: React$1.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
143
145
|
|
|
@@ -207,28 +209,28 @@ declare function DrawerFooter({ className, ...props }: React$1.ComponentProps<'d
|
|
|
207
209
|
declare function DrawerTitle({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime.JSX.Element;
|
|
208
210
|
declare function DrawerDescription({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime.JSX.Element;
|
|
209
211
|
|
|
210
|
-
declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof
|
|
211
|
-
declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof
|
|
212
|
-
declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof
|
|
213
|
-
declare function DropdownMenuContent({ className, sideOffset, ...props }: React$1.ComponentProps<typeof
|
|
214
|
-
declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof
|
|
215
|
-
declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof
|
|
212
|
+
declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime.JSX.Element;
|
|
213
|
+
declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
214
|
+
declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
215
|
+
declare function DropdownMenuContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Content>): react_jsx_runtime.JSX.Element;
|
|
216
|
+
declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Group>): react_jsx_runtime.JSX.Element;
|
|
217
|
+
declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Item> & {
|
|
216
218
|
inset?: boolean;
|
|
217
|
-
variant?:
|
|
219
|
+
variant?: "default" | "destructive";
|
|
218
220
|
}): react_jsx_runtime.JSX.Element;
|
|
219
|
-
declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof
|
|
220
|
-
declare function DropdownMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof
|
|
221
|
-
declare function DropdownMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof
|
|
222
|
-
declare function DropdownMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof
|
|
221
|
+
declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
222
|
+
declare function DropdownMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
223
|
+
declare function DropdownMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
224
|
+
declare function DropdownMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Label> & {
|
|
223
225
|
inset?: boolean;
|
|
224
226
|
}): react_jsx_runtime.JSX.Element;
|
|
225
|
-
declare function DropdownMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof
|
|
226
|
-
declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<
|
|
227
|
-
declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof
|
|
228
|
-
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof
|
|
227
|
+
declare function DropdownMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
228
|
+
declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
229
|
+
declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Sub>): react_jsx_runtime.JSX.Element;
|
|
230
|
+
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.SubTrigger> & {
|
|
229
231
|
inset?: boolean;
|
|
230
232
|
}): react_jsx_runtime.JSX.Element;
|
|
231
|
-
declare function DropdownMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof
|
|
233
|
+
declare function DropdownMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof DropdownMenu$1.SubContent>): react_jsx_runtime.JSX.Element;
|
|
232
234
|
|
|
233
235
|
declare function Empty({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
234
236
|
declare function EmptyHeader({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
@@ -288,18 +290,18 @@ declare function HoverCard({ ...props }: React$1.ComponentProps<typeof HoverCard
|
|
|
288
290
|
declare function HoverCardTrigger({ ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
289
291
|
declare function HoverCardContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
290
292
|
|
|
291
|
-
declare function InputGroup({ className, ...props }: React$1.ComponentProps<
|
|
293
|
+
declare function InputGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
292
294
|
declare const inputGroupAddonVariants: (props?: ({
|
|
293
295
|
align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
|
|
294
296
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
295
|
-
declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<
|
|
297
|
+
declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime.JSX.Element;
|
|
296
298
|
declare const inputGroupButtonVariants: (props?: ({
|
|
297
|
-
size?: "
|
|
299
|
+
size?: "xs" | "sm" | "icon-xs" | "icon-sm" | null | undefined;
|
|
298
300
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
299
|
-
declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React$1.ComponentProps<typeof Button>,
|
|
300
|
-
declare function InputGroupText({ className, ...props }: React$1.ComponentProps<
|
|
301
|
-
declare function InputGroupInput({ className, ...props }: React$1.ComponentProps<
|
|
302
|
-
declare function InputGroupTextarea({ className, ...props }: React$1.ComponentProps<
|
|
301
|
+
declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React$1.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime.JSX.Element;
|
|
302
|
+
declare function InputGroupText({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
303
|
+
declare function InputGroupInput({ className, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
304
|
+
declare function InputGroupTextarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
|
|
303
305
|
|
|
304
306
|
declare function InputOTP({ className, containerClassName, ...props }: React$1.ComponentProps<typeof OTPInput> & {
|
|
305
307
|
containerClassName?: string;
|