@pixpilot/shadcn 0.5.0 → 0.6.1
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/index.cjs +6 -4
- package/dist/components/index.d.cts +6 -4
- package/dist/components/index.d.ts +6 -4
- package/dist/components/index.js +7 -5
- package/dist/components/ui/OrContinueWithSeparator.d.cts +2 -2
- package/dist/components/ui/OrContinueWithSeparator.d.ts +2 -2
- package/dist/components/ui/alert-dialog.d.cts +12 -12
- package/dist/components/ui/alert.d.cts +4 -4
- package/dist/components/ui/avatar.d.cts +4 -4
- package/dist/components/ui/badge.d.cts +2 -2
- package/dist/components/ui/button.cjs +3 -1
- package/dist/components/ui/button.d.cts +2 -2
- package/dist/components/ui/button.js +3 -1
- package/dist/components/ui/calendar.d.cts +3 -3
- package/dist/components/ui/card.d.cts +8 -8
- package/dist/components/ui/checkbox.d.cts +2 -2
- package/dist/components/ui/color-picker.cjs +1171 -0
- package/dist/components/ui/color-picker.d.cts +94 -0
- package/dist/components/ui/color-picker.d.ts +94 -0
- package/dist/components/ui/color-picker.js +1152 -0
- package/dist/components/ui/command.d.cts +10 -10
- package/dist/components/ui/command.d.ts +10 -10
- package/dist/components/ui/dialog.d.cts +11 -11
- package/dist/components/ui/dialog.d.ts +11 -11
- package/dist/components/ui/dropdown-menu.d.cts +16 -16
- package/dist/components/ui/dropdown-menu.d.ts +16 -16
- package/dist/components/ui/file-upload.d.cts +11 -11
- package/dist/components/ui/file-upload.d.ts +11 -11
- package/dist/components/ui/form.d.cts +7 -7
- package/dist/components/ui/form.d.ts +7 -7
- package/dist/components/ui/index.cjs +6 -4
- package/dist/components/ui/index.d.cts +6 -4
- package/dist/components/ui/index.d.ts +6 -4
- package/dist/components/ui/index.js +7 -5
- package/dist/components/ui/input-group.cjs +90 -0
- package/dist/components/ui/input-group.d.cts +43 -0
- package/dist/components/ui/input-group.d.ts +43 -0
- package/dist/components/ui/input-group.js +81 -0
- package/dist/components/ui/input.d.cts +2 -2
- package/dist/components/ui/input.d.ts +2 -2
- package/dist/components/ui/label.d.cts +2 -2
- package/dist/components/ui/label.d.ts +2 -2
- package/dist/components/ui/pagination.d.cts +8 -8
- package/dist/components/ui/pagination.d.ts +8 -8
- package/dist/components/ui/popover.d.cts +5 -5
- package/dist/components/ui/popover.d.ts +5 -5
- package/dist/components/ui/radio-group.d.cts +3 -3
- package/dist/components/ui/radio-group.d.ts +3 -3
- package/dist/components/ui/select.d.cts +11 -11
- package/dist/components/ui/select.d.ts +11 -11
- package/dist/components/ui/separator.d.cts +2 -2
- package/dist/components/ui/separator.d.ts +2 -2
- package/dist/components/ui/shadcn-io/tags/index.cjs +1 -1
- package/dist/components/ui/shadcn-io/tags/index.d.cts +10 -10
- package/dist/components/ui/shadcn-io/tags/index.d.ts +10 -10
- package/dist/components/ui/shadcn-io/tags/index.js +1 -1
- package/dist/components/ui/shadcn-io/tags-input-inline/index.d.cts +7 -7
- package/dist/components/ui/shadcn-io/tags-input-inline/index.d.ts +7 -7
- package/dist/components/ui/sheet.d.cts +9 -9
- package/dist/components/ui/sheet.d.ts +9 -9
- package/dist/components/ui/slider.d.cts +2 -2
- package/dist/components/ui/slider.d.ts +2 -2
- package/dist/components/ui/switch.d.cts +2 -2
- package/dist/components/ui/switch.d.ts +2 -2
- package/dist/components/ui/tabs.d.cts +8 -8
- package/dist/components/ui/tabs.d.ts +8 -8
- package/dist/components/ui/textarea.d.cts +2 -2
- package/dist/components/ui/textarea.d.ts +2 -2
- package/dist/components/ui/tooltip.d.cts +5 -5
- package/dist/components/visually-hidden-input.cjs +116 -0
- package/dist/components/visually-hidden-input.js +113 -0
- package/dist/hooks/use-as-ref.cjs +16 -0
- package/dist/hooks/use-as-ref.js +14 -0
- package/dist/hooks/use-isomorphic-layout-effect.cjs +9 -0
- package/dist/hooks/use-isomorphic-layout-effect.js +7 -0
- package/dist/hooks/use-lazy-ref.cjs +13 -0
- package/dist/hooks/use-lazy-ref.js +11 -0
- package/dist/index.cjs +24 -4
- package/dist/index.d.cts +7 -5
- package/dist/index.d.ts +7 -5
- package/dist/index.js +8 -6
- package/dist/lib/compose-refs.cjs +44 -0
- package/dist/lib/compose-refs.js +42 -0
- package/package.json +1 -1
|
@@ -6,25 +6,27 @@ const require_button = require('./ui/button.cjs');
|
|
|
6
6
|
const require_calendar = require('./ui/calendar.cjs');
|
|
7
7
|
const require_card = require('./ui/card.cjs');
|
|
8
8
|
const require_checkbox = require('./ui/checkbox.cjs');
|
|
9
|
+
const require_input = require('./ui/input.cjs');
|
|
10
|
+
const require_popover = require('./ui/popover.cjs');
|
|
11
|
+
const require_select = require('./ui/select.cjs');
|
|
12
|
+
const require_color_picker = require('./ui/color-picker.cjs');
|
|
9
13
|
const require_dialog = require('./ui/dialog.cjs');
|
|
10
14
|
const require_command = require('./ui/command.cjs');
|
|
11
15
|
const require_dropdown_menu = require('./ui/dropdown-menu.cjs');
|
|
12
16
|
const require_file_upload = require('./ui/file-upload.cjs');
|
|
13
17
|
const require_label = require('./ui/label.cjs');
|
|
14
18
|
const require_form = require('./ui/form.cjs');
|
|
15
|
-
const
|
|
19
|
+
const require_textarea = require('./ui/textarea.cjs');
|
|
20
|
+
const require_input_group = require('./ui/input-group.cjs');
|
|
16
21
|
const require_separator = require('./ui/separator.cjs');
|
|
17
22
|
const require_OrContinueWithSeparator = require('./ui/OrContinueWithSeparator.cjs');
|
|
18
23
|
const require_pagination = require('./ui/pagination.cjs');
|
|
19
|
-
const require_popover = require('./ui/popover.cjs');
|
|
20
24
|
const require_radio_group = require('./ui/radio-group.cjs');
|
|
21
|
-
const require_select = require('./ui/select.cjs');
|
|
22
25
|
const require_index = require('./ui/shadcn-io/tags/index.cjs');
|
|
23
26
|
const require_index$1 = require('./ui/shadcn-io/tags-input-inline/index.cjs');
|
|
24
27
|
const require_sheet = require('./ui/sheet.cjs');
|
|
25
28
|
const require_slider = require('./ui/slider.cjs');
|
|
26
29
|
const require_switch = require('./ui/switch.cjs');
|
|
27
30
|
const require_tabs = require('./ui/tabs.cjs');
|
|
28
|
-
const require_textarea = require('./ui/textarea.cjs');
|
|
29
31
|
const require_tooltip = require('./ui/tooltip.cjs');
|
|
30
32
|
require('./ui/index.cjs');
|
|
@@ -6,18 +6,20 @@ import { Button, buttonVariants } from "./ui/button.cjs";
|
|
|
6
6
|
import { Calendar, CalendarDayButton } from "./ui/calendar.cjs";
|
|
7
7
|
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./ui/card.cjs";
|
|
8
8
|
import { Checkbox } from "./ui/checkbox.cjs";
|
|
9
|
+
import { Input } from "./ui/input.cjs";
|
|
10
|
+
import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "./ui/popover.cjs";
|
|
11
|
+
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./ui/select.cjs";
|
|
12
|
+
import { ColorPicker, ColorPickerAlphaSlider, ColorPickerArea, ColorPickerContent, ColorPickerEyeDropper, ColorPickerFormatSelect, ColorPickerHueSlider, ColorPickerInput, ColorPickerProps, ColorPickerSwatch, ColorPickerTrigger, colorUtils, useStore } from "./ui/color-picker.cjs";
|
|
9
13
|
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./ui/dialog.cjs";
|
|
10
14
|
import { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from "./ui/command.cjs";
|
|
11
15
|
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./ui/dropdown-menu.cjs";
|
|
12
|
-
import { FileUploadClear, FileUploadDropzone, FileUploadItem, FileUploadItemDelete, FileUploadItemMetadata, FileUploadItemPreview, FileUploadItemProgress, FileUploadList, FileUploadRoot, FileUploadRootProps, FileUploadTrigger, useStore } from "./ui/file-upload.cjs";
|
|
16
|
+
import { FileUploadClear, FileUploadDropzone, FileUploadItem, FileUploadItemDelete, FileUploadItemMetadata, FileUploadItemPreview, FileUploadItemProgress, FileUploadList, FileUploadRoot, FileUploadRootProps, FileUploadTrigger, useStore as useStore$1 } from "./ui/file-upload.cjs";
|
|
13
17
|
import { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from "./ui/form.cjs";
|
|
14
|
-
import {
|
|
18
|
+
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea } from "./ui/input-group.cjs";
|
|
15
19
|
import { Label } from "./ui/label.cjs";
|
|
16
20
|
import { OrContinueWithSeparator } from "./ui/OrContinueWithSeparator.cjs";
|
|
17
21
|
import { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from "./ui/pagination.cjs";
|
|
18
|
-
import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "./ui/popover.cjs";
|
|
19
22
|
import { RadioGroup, RadioGroupItem } from "./ui/radio-group.cjs";
|
|
20
|
-
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./ui/select.cjs";
|
|
21
23
|
import { Separator } from "./ui/separator.cjs";
|
|
22
24
|
import { Tags, TagsContent, TagsContentProps, TagsEmpty, TagsEmptyProps, TagsGroup, TagsGroupProps, TagsInput, TagsInputProps, TagsItem, TagsItemProps, TagsList, TagsListProps, TagsProps, TagsTrigger, TagsTriggerProps, TagsValue, TagsValueProps } from "./ui/shadcn-io/tags/index.cjs";
|
|
23
25
|
import { TagsInputInLineClear, TagsInputInLineInput, TagsInputInLineItem, TagsInputInLineLabel, TagsInputInLineList, TagsInputInLineRoot } from "./ui/shadcn-io/tags-input-inline/index.cjs";
|
|
@@ -6,18 +6,20 @@ import { Button, buttonVariants } from "./ui/button.js";
|
|
|
6
6
|
import { Calendar, CalendarDayButton } from "./ui/calendar.js";
|
|
7
7
|
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./ui/card.js";
|
|
8
8
|
import { Checkbox } from "./ui/checkbox.js";
|
|
9
|
+
import { Input } from "./ui/input.js";
|
|
10
|
+
import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "./ui/popover.js";
|
|
11
|
+
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./ui/select.js";
|
|
12
|
+
import { ColorPicker, ColorPickerAlphaSlider, ColorPickerArea, ColorPickerContent, ColorPickerEyeDropper, ColorPickerFormatSelect, ColorPickerHueSlider, ColorPickerInput, ColorPickerProps, ColorPickerSwatch, ColorPickerTrigger, colorUtils, useStore } from "./ui/color-picker.js";
|
|
9
13
|
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./ui/dialog.js";
|
|
10
14
|
import { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from "./ui/command.js";
|
|
11
15
|
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./ui/dropdown-menu.js";
|
|
12
|
-
import { FileUploadClear, FileUploadDropzone, FileUploadItem, FileUploadItemDelete, FileUploadItemMetadata, FileUploadItemPreview, FileUploadItemProgress, FileUploadList, FileUploadRoot, FileUploadRootProps, FileUploadTrigger, useStore } from "./ui/file-upload.js";
|
|
16
|
+
import { FileUploadClear, FileUploadDropzone, FileUploadItem, FileUploadItemDelete, FileUploadItemMetadata, FileUploadItemPreview, FileUploadItemProgress, FileUploadList, FileUploadRoot, FileUploadRootProps, FileUploadTrigger, useStore as useStore$1 } from "./ui/file-upload.js";
|
|
13
17
|
import { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from "./ui/form.js";
|
|
14
|
-
import {
|
|
18
|
+
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea } from "./ui/input-group.js";
|
|
15
19
|
import { Label } from "./ui/label.js";
|
|
16
20
|
import { OrContinueWithSeparator } from "./ui/OrContinueWithSeparator.js";
|
|
17
21
|
import { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from "./ui/pagination.js";
|
|
18
|
-
import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "./ui/popover.js";
|
|
19
22
|
import { RadioGroup, RadioGroupItem } from "./ui/radio-group.js";
|
|
20
|
-
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./ui/select.js";
|
|
21
23
|
import { Separator } from "./ui/separator.js";
|
|
22
24
|
import { Tags, TagsContent, TagsContentProps, TagsEmpty, TagsEmptyProps, TagsGroup, TagsGroupProps, TagsInput, TagsInputProps, TagsItem, TagsItemProps, TagsList, TagsListProps, TagsProps, TagsTrigger, TagsTriggerProps, TagsValue, TagsValueProps } from "./ui/shadcn-io/tags/index.js";
|
|
23
25
|
import { TagsInputInLineClear, TagsInputInLineInput, TagsInputInLineItem, TagsInputInLineLabel, TagsInputInLineList, TagsInputInLineRoot } from "./ui/shadcn-io/tags-input-inline/index.js";
|
package/dist/components/index.js
CHANGED
|
@@ -6,25 +6,27 @@ import { Button, buttonVariants } from "./ui/button.js";
|
|
|
6
6
|
import { Calendar, CalendarDayButton } from "./ui/calendar.js";
|
|
7
7
|
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./ui/card.js";
|
|
8
8
|
import { Checkbox } from "./ui/checkbox.js";
|
|
9
|
+
import { Input } from "./ui/input.js";
|
|
10
|
+
import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "./ui/popover.js";
|
|
11
|
+
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./ui/select.js";
|
|
12
|
+
import { ColorPicker, ColorPickerAlphaSlider, ColorPickerArea, ColorPickerContent, ColorPickerEyeDropper, ColorPickerFormatSelect, ColorPickerHueSlider, ColorPickerInput, ColorPickerSwatch, ColorPickerTrigger, colorUtils, useStore } from "./ui/color-picker.js";
|
|
9
13
|
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./ui/dialog.js";
|
|
10
14
|
import { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from "./ui/command.js";
|
|
11
15
|
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./ui/dropdown-menu.js";
|
|
12
|
-
import { FileUploadClear, FileUploadDropzone, FileUploadItem, FileUploadItemDelete, FileUploadItemMetadata, FileUploadItemPreview, FileUploadItemProgress, FileUploadList, FileUploadRoot, FileUploadTrigger, useStore } from "./ui/file-upload.js";
|
|
16
|
+
import { FileUploadClear, FileUploadDropzone, FileUploadItem, FileUploadItemDelete, FileUploadItemMetadata, FileUploadItemPreview, FileUploadItemProgress, FileUploadList, FileUploadRoot, FileUploadTrigger, useStore as useStore$1 } from "./ui/file-upload.js";
|
|
13
17
|
import { Label } from "./ui/label.js";
|
|
14
18
|
import { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from "./ui/form.js";
|
|
15
|
-
import {
|
|
19
|
+
import { Textarea } from "./ui/textarea.js";
|
|
20
|
+
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea } from "./ui/input-group.js";
|
|
16
21
|
import { Separator } from "./ui/separator.js";
|
|
17
22
|
import { OrContinueWithSeparator } from "./ui/OrContinueWithSeparator.js";
|
|
18
23
|
import { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from "./ui/pagination.js";
|
|
19
|
-
import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "./ui/popover.js";
|
|
20
24
|
import { RadioGroup, RadioGroupItem } from "./ui/radio-group.js";
|
|
21
|
-
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./ui/select.js";
|
|
22
25
|
import { Tags, TagsContent, TagsEmpty, TagsGroup, TagsInput, TagsItem, TagsList, TagsTrigger, TagsValue } from "./ui/shadcn-io/tags/index.js";
|
|
23
26
|
import { TagsInputInLineClear, TagsInputInLineInput, TagsInputInLineItem, TagsInputInLineLabel, TagsInputInLineList, TagsInputInLineRoot } from "./ui/shadcn-io/tags-input-inline/index.js";
|
|
24
27
|
import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from "./ui/sheet.js";
|
|
25
28
|
import { Slider } from "./ui/slider.js";
|
|
26
29
|
import { Switch } from "./ui/switch.js";
|
|
27
30
|
import { Tabs, TabsContent, TabsList, TabsTrigger } from "./ui/tabs.js";
|
|
28
|
-
import { Textarea } from "./ui/textarea.js";
|
|
29
31
|
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./ui/tooltip.js";
|
|
30
32
|
import "./ui/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime100 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/ui/OrContinueWithSeparator.d.ts
|
|
4
4
|
|
|
@@ -6,6 +6,6 @@ import * as react_jsx_runtime80 from "react/jsx-runtime";
|
|
|
6
6
|
* A separator with a label for alternative sign-in methods.
|
|
7
7
|
* Used in authentication forms to visually separate sections.
|
|
8
8
|
*/
|
|
9
|
-
declare function OrContinueWithSeparator():
|
|
9
|
+
declare function OrContinueWithSeparator(): react_jsx_runtime100.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { OrContinueWithSeparator };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime100 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/ui/OrContinueWithSeparator.d.ts
|
|
4
4
|
|
|
@@ -6,6 +6,6 @@ import * as react_jsx_runtime84 from "react/jsx-runtime";
|
|
|
6
6
|
* A separator with a label for alternative sign-in methods.
|
|
7
7
|
* Used in authentication forms to visually separate sections.
|
|
8
8
|
*/
|
|
9
|
-
declare function OrContinueWithSeparator():
|
|
9
|
+
declare function OrContinueWithSeparator(): react_jsx_runtime100.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { OrContinueWithSeparator };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/alert-dialog.d.ts
|
|
6
6
|
declare function AlertDialog({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime6.JSX.Element;
|
|
9
9
|
declare function AlertDialogTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>):
|
|
11
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime6.JSX.Element;
|
|
12
12
|
declare function AlertDialogPortal({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Portal>):
|
|
14
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime6.JSX.Element;
|
|
15
15
|
declare function AlertDialogOverlay({
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>):
|
|
18
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime6.JSX.Element;
|
|
19
19
|
declare function AlertDialogContent({
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Content>):
|
|
22
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime6.JSX.Element;
|
|
23
23
|
declare function AlertDialogHeader({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<'div'>):
|
|
26
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime6.JSX.Element;
|
|
27
27
|
declare function AlertDialogFooter({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<'div'>):
|
|
30
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime6.JSX.Element;
|
|
31
31
|
declare function AlertDialogTitle({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Title>):
|
|
34
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime6.JSX.Element;
|
|
35
35
|
declare function AlertDialogDescription({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Description>):
|
|
38
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime6.JSX.Element;
|
|
39
39
|
declare function AlertDialogAction({
|
|
40
40
|
className,
|
|
41
41
|
...props
|
|
42
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Action>):
|
|
42
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Action>): react_jsx_runtime6.JSX.Element;
|
|
43
43
|
declare function AlertDialogCancel({
|
|
44
44
|
className,
|
|
45
45
|
...props
|
|
46
|
-
}: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>):
|
|
46
|
+
}: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>): react_jsx_runtime6.JSX.Element;
|
|
47
47
|
//#endregion
|
|
48
48
|
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
|
|
@@ -11,14 +11,14 @@ declare function Alert({
|
|
|
11
11
|
className,
|
|
12
12
|
variant,
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof alertVariants>):
|
|
14
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof alertVariants>): react_jsx_runtime3.JSX.Element;
|
|
15
15
|
declare function AlertTitle({
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: React.ComponentProps<'div'>):
|
|
18
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime3.JSX.Element;
|
|
19
19
|
declare function AlertDescription({
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<'div'>):
|
|
22
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime3.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { Alert, AlertDescription, AlertTitle };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
4
4
|
|
|
@@ -6,14 +6,14 @@ import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
|
6
6
|
declare function Avatar({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof AvatarPrimitive.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime17.JSX.Element;
|
|
10
10
|
declare function AvatarImage({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof AvatarPrimitive.Image>):
|
|
13
|
+
}: React.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime17.JSX.Element;
|
|
14
14
|
declare function AvatarFallback({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof AvatarPrimitive.Fallback>):
|
|
17
|
+
}: React.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime17.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { Avatar, AvatarFallback, AvatarImage };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
|
|
@@ -14,6 +14,6 @@ declare function Badge({
|
|
|
14
14
|
...props
|
|
15
15
|
}: React.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
|
|
16
16
|
asChild?: boolean;
|
|
17
|
-
}):
|
|
17
|
+
}): react_jsx_runtime20.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { Badge, badgeVariants };
|
|
@@ -35,9 +35,11 @@ const buttonVariants = (0, class_variance_authority.cva)("inline-flex items-cent
|
|
|
35
35
|
size: "default"
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
|
-
function Button({ className, variant, size, asChild = false,...props }) {
|
|
38
|
+
function Button({ className, variant = "default", size = "default", asChild = false,...props }) {
|
|
39
39
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(asChild ? __radix_ui_react_slot.Slot : "button", {
|
|
40
40
|
"data-slot": "button",
|
|
41
|
+
"data-variant": variant,
|
|
42
|
+
"data-size": size,
|
|
41
43
|
className: require_utils.cn(buttonVariants({
|
|
42
44
|
variant,
|
|
43
45
|
size,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as class_variance_authority_types1 from "class-variance-authority/types";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
|
|
@@ -16,6 +16,6 @@ declare function Button({
|
|
|
16
16
|
...props
|
|
17
17
|
}: React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
|
|
18
18
|
asChild?: boolean;
|
|
19
|
-
}):
|
|
19
|
+
}): react_jsx_runtime21.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { Button, buttonVariants };
|
|
@@ -30,9 +30,11 @@ const buttonVariants = cva("inline-flex items-center justify-center gap-2 whites
|
|
|
30
30
|
size: "default"
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
|
-
function Button({ className, variant, size, asChild = false,...props }) {
|
|
33
|
+
function Button({ className, variant = "default", size = "default", asChild = false,...props }) {
|
|
34
34
|
return /* @__PURE__ */ jsx(asChild ? Slot : "button", {
|
|
35
35
|
"data-slot": "button",
|
|
36
|
+
"data-variant": variant,
|
|
37
|
+
"data-size": size,
|
|
36
38
|
className: cn(buttonVariants({
|
|
37
39
|
variant,
|
|
38
40
|
size,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Button } from "./button.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { DayButton, DayPicker } from "react-day-picker";
|
|
5
5
|
|
|
@@ -15,12 +15,12 @@ declare function Calendar({
|
|
|
15
15
|
...props
|
|
16
16
|
}: React.ComponentProps<typeof DayPicker> & {
|
|
17
17
|
buttonVariant?: React.ComponentProps<typeof Button>['variant'];
|
|
18
|
-
}):
|
|
18
|
+
}): react_jsx_runtime22.JSX.Element;
|
|
19
19
|
declare function CalendarDayButton({
|
|
20
20
|
className,
|
|
21
21
|
day,
|
|
22
22
|
modifiers,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<typeof DayButton>):
|
|
24
|
+
}: React.ComponentProps<typeof DayButton>): react_jsx_runtime22.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { Calendar, CalendarDayButton };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ui/card.d.ts
|
|
5
5
|
declare function Card({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<'div'>):
|
|
8
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime24.JSX.Element;
|
|
9
9
|
declare function CardHeader({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<'div'>):
|
|
12
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime24.JSX.Element;
|
|
13
13
|
declare function CardTitle({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<'div'>):
|
|
16
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime24.JSX.Element;
|
|
17
17
|
declare function CardDescription({
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<'div'>):
|
|
20
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime24.JSX.Element;
|
|
21
21
|
declare function CardAction({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<'div'>):
|
|
24
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime24.JSX.Element;
|
|
25
25
|
declare function CardContent({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<'div'>):
|
|
28
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime24.JSX.Element;
|
|
29
29
|
declare function CardFooter({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<'div'>):
|
|
32
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime24.JSX.Element;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
4
4
|
|
|
@@ -6,6 +6,6 @@ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
|
6
6
|
declare function Checkbox({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof CheckboxPrimitive.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime31.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Checkbox };
|