@pixpilot/shadcn 0.4.0 → 0.6.0
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/button.cjs +3 -1
- package/dist/components/ui/button.js +3 -1
- 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.cjs +24 -4
- package/dist/components/ui/tabs.d.cts +15 -5
- package/dist/components/ui/tabs.d.ts +15 -5
- package/dist/components/ui/tabs.js +23 -4
- package/dist/components/ui/textarea.d.cts +2 -2
- package/dist/components/ui/textarea.d.ts +2 -2
- 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 +3 -3
|
@@ -6,24 +6,26 @@ const require_button = require('./button.cjs');
|
|
|
6
6
|
const require_calendar = require('./calendar.cjs');
|
|
7
7
|
const require_card = require('./card.cjs');
|
|
8
8
|
const require_checkbox = require('./checkbox.cjs');
|
|
9
|
+
const require_input = require('./input.cjs');
|
|
10
|
+
const require_popover = require('./popover.cjs');
|
|
11
|
+
const require_select = require('./select.cjs');
|
|
12
|
+
const require_color_picker = require('./color-picker.cjs');
|
|
9
13
|
const require_dialog = require('./dialog.cjs');
|
|
10
14
|
const require_command = require('./command.cjs');
|
|
11
15
|
const require_dropdown_menu = require('./dropdown-menu.cjs');
|
|
12
16
|
const require_file_upload = require('./file-upload.cjs');
|
|
13
17
|
const require_label = require('./label.cjs');
|
|
14
18
|
const require_form = require('./form.cjs');
|
|
15
|
-
const
|
|
19
|
+
const require_textarea = require('./textarea.cjs');
|
|
20
|
+
const require_input_group = require('./input-group.cjs');
|
|
16
21
|
const require_separator = require('./separator.cjs');
|
|
17
22
|
const require_OrContinueWithSeparator = require('./OrContinueWithSeparator.cjs');
|
|
18
23
|
const require_pagination = require('./pagination.cjs');
|
|
19
|
-
const require_popover = require('./popover.cjs');
|
|
20
24
|
const require_radio_group = require('./radio-group.cjs');
|
|
21
|
-
const require_select = require('./select.cjs');
|
|
22
25
|
const require_index = require('./shadcn-io/tags/index.cjs');
|
|
23
26
|
const require_index$1 = require('./shadcn-io/tags-input-inline/index.cjs');
|
|
24
27
|
const require_sheet = require('./sheet.cjs');
|
|
25
28
|
const require_slider = require('./slider.cjs');
|
|
26
29
|
const require_switch = require('./switch.cjs');
|
|
27
30
|
const require_tabs = require('./tabs.cjs');
|
|
28
|
-
const require_textarea = require('./textarea.cjs');
|
|
29
31
|
const require_tooltip = require('./tooltip.cjs');
|
|
@@ -6,18 +6,20 @@ import { Button, buttonVariants } from "./button.cjs";
|
|
|
6
6
|
import { Calendar, CalendarDayButton } from "./calendar.cjs";
|
|
7
7
|
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./card.cjs";
|
|
8
8
|
import { Checkbox } from "./checkbox.cjs";
|
|
9
|
+
import { Input } from "./input.cjs";
|
|
10
|
+
import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "./popover.cjs";
|
|
11
|
+
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./select.cjs";
|
|
12
|
+
import { ColorPicker, ColorPickerAlphaSlider, ColorPickerArea, ColorPickerContent, ColorPickerEyeDropper, ColorPickerFormatSelect, ColorPickerHueSlider, ColorPickerInput, ColorPickerProps, ColorPickerSwatch, ColorPickerTrigger, colorUtils, useStore } from "./color-picker.cjs";
|
|
9
13
|
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./dialog.cjs";
|
|
10
14
|
import { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from "./command.cjs";
|
|
11
15
|
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./dropdown-menu.cjs";
|
|
12
|
-
import { FileUploadClear, FileUploadDropzone, FileUploadItem, FileUploadItemDelete, FileUploadItemMetadata, FileUploadItemPreview, FileUploadItemProgress, FileUploadList, FileUploadRoot, FileUploadRootProps, FileUploadTrigger, useStore } from "./file-upload.cjs";
|
|
16
|
+
import { FileUploadClear, FileUploadDropzone, FileUploadItem, FileUploadItemDelete, FileUploadItemMetadata, FileUploadItemPreview, FileUploadItemProgress, FileUploadList, FileUploadRoot, FileUploadRootProps, FileUploadTrigger, useStore as useStore$1 } from "./file-upload.cjs";
|
|
13
17
|
import { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from "./form.cjs";
|
|
14
|
-
import {
|
|
18
|
+
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea } from "./input-group.cjs";
|
|
15
19
|
import { Label } from "./label.cjs";
|
|
16
20
|
import { OrContinueWithSeparator } from "./OrContinueWithSeparator.cjs";
|
|
17
21
|
import { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from "./pagination.cjs";
|
|
18
|
-
import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "./popover.cjs";
|
|
19
22
|
import { RadioGroup, RadioGroupItem } from "./radio-group.cjs";
|
|
20
|
-
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./select.cjs";
|
|
21
23
|
import { Separator } from "./separator.cjs";
|
|
22
24
|
import { Tags, TagsContent, TagsContentProps, TagsEmpty, TagsEmptyProps, TagsGroup, TagsGroupProps, TagsInput, TagsInputProps, TagsItem, TagsItemProps, TagsList, TagsListProps, TagsProps, TagsTrigger, TagsTriggerProps, TagsValue, TagsValueProps } from "./shadcn-io/tags/index.cjs";
|
|
23
25
|
import { TagsInputInLineClear, TagsInputInLineInput, TagsInputInLineItem, TagsInputInLineLabel, TagsInputInLineList, TagsInputInLineRoot } from "./shadcn-io/tags-input-inline/index.cjs";
|
|
@@ -6,18 +6,20 @@ import { Button, buttonVariants } from "./button.js";
|
|
|
6
6
|
import { Calendar, CalendarDayButton } from "./calendar.js";
|
|
7
7
|
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./card.js";
|
|
8
8
|
import { Checkbox } from "./checkbox.js";
|
|
9
|
+
import { Input } from "./input.js";
|
|
10
|
+
import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "./popover.js";
|
|
11
|
+
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./select.js";
|
|
12
|
+
import { ColorPicker, ColorPickerAlphaSlider, ColorPickerArea, ColorPickerContent, ColorPickerEyeDropper, ColorPickerFormatSelect, ColorPickerHueSlider, ColorPickerInput, ColorPickerProps, ColorPickerSwatch, ColorPickerTrigger, colorUtils, useStore } from "./color-picker.js";
|
|
9
13
|
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./dialog.js";
|
|
10
14
|
import { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from "./command.js";
|
|
11
15
|
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./dropdown-menu.js";
|
|
12
|
-
import { FileUploadClear, FileUploadDropzone, FileUploadItem, FileUploadItemDelete, FileUploadItemMetadata, FileUploadItemPreview, FileUploadItemProgress, FileUploadList, FileUploadRoot, FileUploadRootProps, FileUploadTrigger, useStore } from "./file-upload.js";
|
|
16
|
+
import { FileUploadClear, FileUploadDropzone, FileUploadItem, FileUploadItemDelete, FileUploadItemMetadata, FileUploadItemPreview, FileUploadItemProgress, FileUploadList, FileUploadRoot, FileUploadRootProps, FileUploadTrigger, useStore as useStore$1 } from "./file-upload.js";
|
|
13
17
|
import { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from "./form.js";
|
|
14
|
-
import {
|
|
18
|
+
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea } from "./input-group.js";
|
|
15
19
|
import { Label } from "./label.js";
|
|
16
20
|
import { OrContinueWithSeparator } from "./OrContinueWithSeparator.js";
|
|
17
21
|
import { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from "./pagination.js";
|
|
18
|
-
import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "./popover.js";
|
|
19
22
|
import { RadioGroup, RadioGroupItem } from "./radio-group.js";
|
|
20
|
-
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./select.js";
|
|
21
23
|
import { Separator } from "./separator.js";
|
|
22
24
|
import { Tags, TagsContent, TagsContentProps, TagsEmpty, TagsEmptyProps, TagsGroup, TagsGroupProps, TagsInput, TagsInputProps, TagsItem, TagsItemProps, TagsList, TagsListProps, TagsProps, TagsTrigger, TagsTriggerProps, TagsValue, TagsValueProps } from "./shadcn-io/tags/index.js";
|
|
23
25
|
import { TagsInputInLineClear, TagsInputInLineInput, TagsInputInLineItem, TagsInputInLineLabel, TagsInputInLineList, TagsInputInLineRoot } from "./shadcn-io/tags-input-inline/index.js";
|
|
@@ -6,24 +6,26 @@ import { Button, buttonVariants } from "./button.js";
|
|
|
6
6
|
import { Calendar, CalendarDayButton } from "./calendar.js";
|
|
7
7
|
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./card.js";
|
|
8
8
|
import { Checkbox } from "./checkbox.js";
|
|
9
|
+
import { Input } from "./input.js";
|
|
10
|
+
import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "./popover.js";
|
|
11
|
+
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./select.js";
|
|
12
|
+
import { ColorPicker, ColorPickerAlphaSlider, ColorPickerArea, ColorPickerContent, ColorPickerEyeDropper, ColorPickerFormatSelect, ColorPickerHueSlider, ColorPickerInput, ColorPickerSwatch, ColorPickerTrigger, colorUtils, useStore } from "./color-picker.js";
|
|
9
13
|
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./dialog.js";
|
|
10
14
|
import { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from "./command.js";
|
|
11
15
|
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./dropdown-menu.js";
|
|
12
|
-
import { FileUploadClear, FileUploadDropzone, FileUploadItem, FileUploadItemDelete, FileUploadItemMetadata, FileUploadItemPreview, FileUploadItemProgress, FileUploadList, FileUploadRoot, FileUploadTrigger, useStore } from "./file-upload.js";
|
|
16
|
+
import { FileUploadClear, FileUploadDropzone, FileUploadItem, FileUploadItemDelete, FileUploadItemMetadata, FileUploadItemPreview, FileUploadItemProgress, FileUploadList, FileUploadRoot, FileUploadTrigger, useStore as useStore$1 } from "./file-upload.js";
|
|
13
17
|
import { Label } from "./label.js";
|
|
14
18
|
import { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from "./form.js";
|
|
15
|
-
import {
|
|
19
|
+
import { Textarea } from "./textarea.js";
|
|
20
|
+
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea } from "./input-group.js";
|
|
16
21
|
import { Separator } from "./separator.js";
|
|
17
22
|
import { OrContinueWithSeparator } from "./OrContinueWithSeparator.js";
|
|
18
23
|
import { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from "./pagination.js";
|
|
19
|
-
import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "./popover.js";
|
|
20
24
|
import { RadioGroup, RadioGroupItem } from "./radio-group.js";
|
|
21
|
-
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./select.js";
|
|
22
25
|
import { Tags, TagsContent, TagsEmpty, TagsGroup, TagsInput, TagsItem, TagsList, TagsTrigger, TagsValue } from "./shadcn-io/tags/index.js";
|
|
23
26
|
import { TagsInputInLineClear, TagsInputInLineInput, TagsInputInLineItem, TagsInputInLineLabel, TagsInputInLineList, TagsInputInLineRoot } from "./shadcn-io/tags-input-inline/index.js";
|
|
24
27
|
import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from "./sheet.js";
|
|
25
28
|
import { Slider } from "./slider.js";
|
|
26
29
|
import { Switch } from "./switch.js";
|
|
27
30
|
import { Tabs, TabsContent, TabsList, TabsTrigger } from "./tabs.js";
|
|
28
|
-
import { Textarea } from "./textarea.js";
|
|
29
31
|
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./tooltip.js";
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_utils = require('../../lib/utils.cjs');
|
|
3
|
+
require('../../lib/index.cjs');
|
|
4
|
+
const require_button = require('./button.cjs');
|
|
5
|
+
const require_input = require('./input.cjs');
|
|
6
|
+
const require_textarea = require('./textarea.cjs');
|
|
7
|
+
let class_variance_authority = require("class-variance-authority");
|
|
8
|
+
class_variance_authority = require_rolldown_runtime.__toESM(class_variance_authority);
|
|
9
|
+
let react = require("react");
|
|
10
|
+
react = require_rolldown_runtime.__toESM(react);
|
|
11
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
12
|
+
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
13
|
+
|
|
14
|
+
//#region src/components/ui/input-group.tsx
|
|
15
|
+
function InputGroup({ className,...props }) {
|
|
16
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
17
|
+
"data-slot": "input-group",
|
|
18
|
+
role: "group",
|
|
19
|
+
className: require_utils.cn("group/input-group border-input dark:bg-input/30 relative flex w-full items-center rounded-md border shadow-xs transition-[color,box-shadow] outline-none", "h-9 min-w-0 has-[>textarea]:h-auto", "has-[>[data-align=inline-start]]:[&>input]:pl-2", "has-[>[data-align=inline-end]]:[&>input]:pr-2", "has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-start]]:[&>input]:pb-3", "has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3", "has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot=input-group-control]:focus-visible]:ring-[3px]", "has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40", className),
|
|
20
|
+
...props
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
const inputGroupAddonVariants = (0, class_variance_authority.cva)("text-muted-foreground flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium select-none [&>svg:not([class*='size-'])]:size-4 [&>kbd]:rounded-[calc(var(--radius)-5px)] group-data-[disabled=true]/input-group:opacity-50", {
|
|
24
|
+
variants: { align: {
|
|
25
|
+
"inline-start": "order-first pl-3 has-[>button]:ml-[-0.45rem] has-[>kbd]:ml-[-0.35rem]",
|
|
26
|
+
"inline-end": "order-last pr-3 has-[>button]:mr-[-0.45rem] has-[>kbd]:mr-[-0.35rem]",
|
|
27
|
+
"block-start": "order-first w-full justify-start px-3 pt-3 [.border-b]:pb-3 group-has-[>input]/input-group:pt-2.5",
|
|
28
|
+
"block-end": "order-last w-full justify-start px-3 pb-3 [.border-t]:pt-3 group-has-[>input]/input-group:pb-2.5"
|
|
29
|
+
} },
|
|
30
|
+
defaultVariants: { align: "inline-start" }
|
|
31
|
+
});
|
|
32
|
+
function InputGroupAddon({ className, align = "inline-start",...props }) {
|
|
33
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
34
|
+
role: "group",
|
|
35
|
+
"data-slot": "input-group-addon",
|
|
36
|
+
"data-align": align,
|
|
37
|
+
className: require_utils.cn(inputGroupAddonVariants({ align }), className),
|
|
38
|
+
onClick: (e) => {
|
|
39
|
+
if (e.target.closest("button")) return;
|
|
40
|
+
e.currentTarget.parentElement?.querySelector("input")?.focus();
|
|
41
|
+
},
|
|
42
|
+
...props
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
const inputGroupButtonVariants = (0, class_variance_authority.cva)("text-sm shadow-none flex gap-2 items-center", {
|
|
46
|
+
variants: { size: {
|
|
47
|
+
xs: "h-6 gap-1 px-2 rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-3.5 has-[>svg]:px-2",
|
|
48
|
+
sm: "h-8 px-2.5 gap-1.5 rounded-md has-[>svg]:px-2.5",
|
|
49
|
+
"icon-xs": "size-6 rounded-[calc(var(--radius)-5px)] p-0 has-[>svg]:p-0",
|
|
50
|
+
"icon-sm": "size-8 p-0 has-[>svg]:p-0"
|
|
51
|
+
} },
|
|
52
|
+
defaultVariants: { size: "xs" }
|
|
53
|
+
});
|
|
54
|
+
function InputGroupButton({ className, type = "button", variant = "ghost", size = "xs",...props }) {
|
|
55
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_button.Button, {
|
|
56
|
+
type,
|
|
57
|
+
"data-size": size,
|
|
58
|
+
variant,
|
|
59
|
+
className: require_utils.cn(inputGroupButtonVariants({ size }), className),
|
|
60
|
+
...props
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
function InputGroupText({ className,...props }) {
|
|
64
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
65
|
+
className: require_utils.cn("text-muted-foreground flex items-center gap-2 text-sm [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4", className),
|
|
66
|
+
...props
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
function InputGroupInput({ className,...props }) {
|
|
70
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_input.Input, {
|
|
71
|
+
"data-slot": "input-group-control",
|
|
72
|
+
className: require_utils.cn("flex-1 rounded-none border-0 bg-transparent shadow-none focus-visible:ring-0 dark:bg-transparent", className),
|
|
73
|
+
...props
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
function InputGroupTextarea({ className,...props }) {
|
|
77
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_textarea.Textarea, {
|
|
78
|
+
"data-slot": "input-group-control",
|
|
79
|
+
className: require_utils.cn("flex-1 resize-none rounded-none border-0 bg-transparent py-3 shadow-none focus-visible:ring-0 dark:bg-transparent", className),
|
|
80
|
+
...props
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
//#endregion
|
|
85
|
+
exports.InputGroup = InputGroup;
|
|
86
|
+
exports.InputGroupAddon = InputGroupAddon;
|
|
87
|
+
exports.InputGroupButton = InputGroupButton;
|
|
88
|
+
exports.InputGroupInput = InputGroupInput;
|
|
89
|
+
exports.InputGroupText = InputGroupText;
|
|
90
|
+
exports.InputGroupTextarea = InputGroupTextarea;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Button } from "./button.cjs";
|
|
2
|
+
import * as class_variance_authority_types2 from "class-variance-authority/types";
|
|
3
|
+
import * as react_jsx_runtime93 from "react/jsx-runtime";
|
|
4
|
+
import { VariantProps } from "class-variance-authority";
|
|
5
|
+
import * as React from "react";
|
|
6
|
+
|
|
7
|
+
//#region src/components/ui/input-group.d.ts
|
|
8
|
+
declare function InputGroup({
|
|
9
|
+
className,
|
|
10
|
+
...props
|
|
11
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime93.JSX.Element;
|
|
12
|
+
declare const inputGroupAddonVariants: (props?: ({
|
|
13
|
+
align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
|
|
14
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
15
|
+
declare function InputGroupAddon({
|
|
16
|
+
className,
|
|
17
|
+
align,
|
|
18
|
+
...props
|
|
19
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime93.JSX.Element;
|
|
20
|
+
declare const inputGroupButtonVariants: (props?: ({
|
|
21
|
+
size?: "sm" | "icon-sm" | "xs" | "icon-xs" | null | undefined;
|
|
22
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
23
|
+
declare function InputGroupButton({
|
|
24
|
+
className,
|
|
25
|
+
type,
|
|
26
|
+
variant,
|
|
27
|
+
size,
|
|
28
|
+
...props
|
|
29
|
+
}: Omit<React.ComponentProps<typeof Button>, 'size'> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime93.JSX.Element;
|
|
30
|
+
declare function InputGroupText({
|
|
31
|
+
className,
|
|
32
|
+
...props
|
|
33
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime93.JSX.Element;
|
|
34
|
+
declare function InputGroupInput({
|
|
35
|
+
className,
|
|
36
|
+
...props
|
|
37
|
+
}: React.ComponentProps<'input'>): react_jsx_runtime93.JSX.Element;
|
|
38
|
+
declare function InputGroupTextarea({
|
|
39
|
+
className,
|
|
40
|
+
...props
|
|
41
|
+
}: React.ComponentProps<'textarea'>): react_jsx_runtime93.JSX.Element;
|
|
42
|
+
//#endregion
|
|
43
|
+
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Button } from "./button.js";
|
|
2
|
+
import { VariantProps } from "class-variance-authority";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import * as react_jsx_runtime93 from "react/jsx-runtime";
|
|
5
|
+
import * as class_variance_authority_types2 from "class-variance-authority/types";
|
|
6
|
+
|
|
7
|
+
//#region src/components/ui/input-group.d.ts
|
|
8
|
+
declare function InputGroup({
|
|
9
|
+
className,
|
|
10
|
+
...props
|
|
11
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime93.JSX.Element;
|
|
12
|
+
declare const inputGroupAddonVariants: (props?: ({
|
|
13
|
+
align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
|
|
14
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
15
|
+
declare function InputGroupAddon({
|
|
16
|
+
className,
|
|
17
|
+
align,
|
|
18
|
+
...props
|
|
19
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime93.JSX.Element;
|
|
20
|
+
declare const inputGroupButtonVariants: (props?: ({
|
|
21
|
+
size?: "sm" | "icon-sm" | "xs" | "icon-xs" | null | undefined;
|
|
22
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
23
|
+
declare function InputGroupButton({
|
|
24
|
+
className,
|
|
25
|
+
type,
|
|
26
|
+
variant,
|
|
27
|
+
size,
|
|
28
|
+
...props
|
|
29
|
+
}: Omit<React.ComponentProps<typeof Button>, 'size'> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime93.JSX.Element;
|
|
30
|
+
declare function InputGroupText({
|
|
31
|
+
className,
|
|
32
|
+
...props
|
|
33
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime93.JSX.Element;
|
|
34
|
+
declare function InputGroupInput({
|
|
35
|
+
className,
|
|
36
|
+
...props
|
|
37
|
+
}: React.ComponentProps<'input'>): react_jsx_runtime93.JSX.Element;
|
|
38
|
+
declare function InputGroupTextarea({
|
|
39
|
+
className,
|
|
40
|
+
...props
|
|
41
|
+
}: React.ComponentProps<'textarea'>): react_jsx_runtime93.JSX.Element;
|
|
42
|
+
//#endregion
|
|
43
|
+
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea };
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { cn } from "../../lib/utils.js";
|
|
2
|
+
import "../../lib/index.js";
|
|
3
|
+
import { Button } from "./button.js";
|
|
4
|
+
import { Input } from "./input.js";
|
|
5
|
+
import { Textarea } from "./textarea.js";
|
|
6
|
+
import { cva } from "class-variance-authority";
|
|
7
|
+
import "react";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
|
|
10
|
+
//#region src/components/ui/input-group.tsx
|
|
11
|
+
function InputGroup({ className,...props }) {
|
|
12
|
+
return /* @__PURE__ */ jsx("div", {
|
|
13
|
+
"data-slot": "input-group",
|
|
14
|
+
role: "group",
|
|
15
|
+
className: cn("group/input-group border-input dark:bg-input/30 relative flex w-full items-center rounded-md border shadow-xs transition-[color,box-shadow] outline-none", "h-9 min-w-0 has-[>textarea]:h-auto", "has-[>[data-align=inline-start]]:[&>input]:pl-2", "has-[>[data-align=inline-end]]:[&>input]:pr-2", "has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-start]]:[&>input]:pb-3", "has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3", "has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot=input-group-control]:focus-visible]:ring-[3px]", "has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40", className),
|
|
16
|
+
...props
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
const inputGroupAddonVariants = cva("text-muted-foreground flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium select-none [&>svg:not([class*='size-'])]:size-4 [&>kbd]:rounded-[calc(var(--radius)-5px)] group-data-[disabled=true]/input-group:opacity-50", {
|
|
20
|
+
variants: { align: {
|
|
21
|
+
"inline-start": "order-first pl-3 has-[>button]:ml-[-0.45rem] has-[>kbd]:ml-[-0.35rem]",
|
|
22
|
+
"inline-end": "order-last pr-3 has-[>button]:mr-[-0.45rem] has-[>kbd]:mr-[-0.35rem]",
|
|
23
|
+
"block-start": "order-first w-full justify-start px-3 pt-3 [.border-b]:pb-3 group-has-[>input]/input-group:pt-2.5",
|
|
24
|
+
"block-end": "order-last w-full justify-start px-3 pb-3 [.border-t]:pt-3 group-has-[>input]/input-group:pb-2.5"
|
|
25
|
+
} },
|
|
26
|
+
defaultVariants: { align: "inline-start" }
|
|
27
|
+
});
|
|
28
|
+
function InputGroupAddon({ className, align = "inline-start",...props }) {
|
|
29
|
+
return /* @__PURE__ */ jsx("div", {
|
|
30
|
+
role: "group",
|
|
31
|
+
"data-slot": "input-group-addon",
|
|
32
|
+
"data-align": align,
|
|
33
|
+
className: cn(inputGroupAddonVariants({ align }), className),
|
|
34
|
+
onClick: (e) => {
|
|
35
|
+
if (e.target.closest("button")) return;
|
|
36
|
+
e.currentTarget.parentElement?.querySelector("input")?.focus();
|
|
37
|
+
},
|
|
38
|
+
...props
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
const inputGroupButtonVariants = cva("text-sm shadow-none flex gap-2 items-center", {
|
|
42
|
+
variants: { size: {
|
|
43
|
+
xs: "h-6 gap-1 px-2 rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-3.5 has-[>svg]:px-2",
|
|
44
|
+
sm: "h-8 px-2.5 gap-1.5 rounded-md has-[>svg]:px-2.5",
|
|
45
|
+
"icon-xs": "size-6 rounded-[calc(var(--radius)-5px)] p-0 has-[>svg]:p-0",
|
|
46
|
+
"icon-sm": "size-8 p-0 has-[>svg]:p-0"
|
|
47
|
+
} },
|
|
48
|
+
defaultVariants: { size: "xs" }
|
|
49
|
+
});
|
|
50
|
+
function InputGroupButton({ className, type = "button", variant = "ghost", size = "xs",...props }) {
|
|
51
|
+
return /* @__PURE__ */ jsx(Button, {
|
|
52
|
+
type,
|
|
53
|
+
"data-size": size,
|
|
54
|
+
variant,
|
|
55
|
+
className: cn(inputGroupButtonVariants({ size }), className),
|
|
56
|
+
...props
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
function InputGroupText({ className,...props }) {
|
|
60
|
+
return /* @__PURE__ */ jsx("span", {
|
|
61
|
+
className: cn("text-muted-foreground flex items-center gap-2 text-sm [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4", className),
|
|
62
|
+
...props
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
function InputGroupInput({ className,...props }) {
|
|
66
|
+
return /* @__PURE__ */ jsx(Input, {
|
|
67
|
+
"data-slot": "input-group-control",
|
|
68
|
+
className: cn("flex-1 rounded-none border-0 bg-transparent shadow-none focus-visible:ring-0 dark:bg-transparent", className),
|
|
69
|
+
...props
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
function InputGroupTextarea({ className,...props }) {
|
|
73
|
+
return /* @__PURE__ */ jsx(Textarea, {
|
|
74
|
+
"data-slot": "input-group-control",
|
|
75
|
+
className: cn("flex-1 resize-none rounded-none border-0 bg-transparent py-3 shadow-none focus-visible:ring-0 dark:bg-transparent", className),
|
|
76
|
+
...props
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
//#endregion
|
|
81
|
+
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime92 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ui/input.d.ts
|
|
@@ -6,6 +6,6 @@ declare function Input({
|
|
|
6
6
|
className,
|
|
7
7
|
type,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<'input'>):
|
|
9
|
+
}: React.ComponentProps<'input'>): react_jsx_runtime92.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Input };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime92 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ui/input.d.ts
|
|
5
5
|
declare function Input({
|
|
6
6
|
className,
|
|
7
7
|
type,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<'input'>):
|
|
9
|
+
}: React.ComponentProps<'input'>): react_jsx_runtime92.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Input };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime99 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
4
4
|
|
|
@@ -6,6 +6,6 @@ import * as LabelPrimitive from "@radix-ui/react-label";
|
|
|
6
6
|
declare function Label({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof LabelPrimitive.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime99.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Label };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime99 from "react/jsx-runtime";
|
|
3
3
|
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/label.d.ts
|
|
6
6
|
declare function Label({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof LabelPrimitive.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime99.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Label };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { Button } from "./button.cjs";
|
|
2
2
|
import "../../index.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime101 from "react/jsx-runtime";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/ui/pagination.d.ts
|
|
7
7
|
declare function Pagination({
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<'nav'>):
|
|
10
|
+
}: React.ComponentProps<'nav'>): react_jsx_runtime101.JSX.Element;
|
|
11
11
|
declare function PaginationContent({
|
|
12
12
|
className,
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<'ul'>):
|
|
14
|
+
}: React.ComponentProps<'ul'>): react_jsx_runtime101.JSX.Element;
|
|
15
15
|
declare function PaginationItem({
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<'li'>):
|
|
17
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime101.JSX.Element;
|
|
18
18
|
type PaginationLinkProps = {
|
|
19
19
|
isActive?: boolean;
|
|
20
20
|
} & Pick<React.ComponentProps<typeof Button>, 'size'> & React.ComponentProps<'a'>;
|
|
@@ -23,18 +23,18 @@ declare function PaginationLink({
|
|
|
23
23
|
isActive,
|
|
24
24
|
size,
|
|
25
25
|
...props
|
|
26
|
-
}: PaginationLinkProps):
|
|
26
|
+
}: PaginationLinkProps): react_jsx_runtime101.JSX.Element;
|
|
27
27
|
declare function PaginationPrevious({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
30
|
+
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime101.JSX.Element;
|
|
31
31
|
declare function PaginationNext({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
34
|
+
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime101.JSX.Element;
|
|
35
35
|
declare function PaginationEllipsis({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<'span'>):
|
|
38
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime101.JSX.Element;
|
|
39
39
|
//#endregion
|
|
40
40
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { Button } from "./button.js";
|
|
2
2
|
import "../../index.js";
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime101 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/ui/pagination.d.ts
|
|
7
7
|
declare function Pagination({
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<'nav'>):
|
|
10
|
+
}: React.ComponentProps<'nav'>): react_jsx_runtime101.JSX.Element;
|
|
11
11
|
declare function PaginationContent({
|
|
12
12
|
className,
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<'ul'>):
|
|
14
|
+
}: React.ComponentProps<'ul'>): react_jsx_runtime101.JSX.Element;
|
|
15
15
|
declare function PaginationItem({
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<'li'>):
|
|
17
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime101.JSX.Element;
|
|
18
18
|
type PaginationLinkProps = {
|
|
19
19
|
isActive?: boolean;
|
|
20
20
|
} & Pick<React.ComponentProps<typeof Button>, 'size'> & React.ComponentProps<'a'>;
|
|
@@ -23,18 +23,18 @@ declare function PaginationLink({
|
|
|
23
23
|
isActive,
|
|
24
24
|
size,
|
|
25
25
|
...props
|
|
26
|
-
}: PaginationLinkProps):
|
|
26
|
+
}: PaginationLinkProps): react_jsx_runtime101.JSX.Element;
|
|
27
27
|
declare function PaginationPrevious({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
30
|
+
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime101.JSX.Element;
|
|
31
31
|
declare function PaginationNext({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
34
|
+
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime101.JSX.Element;
|
|
35
35
|
declare function PaginationEllipsis({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<'span'>):
|
|
38
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime101.JSX.Element;
|
|
39
39
|
//#endregion
|
|
40
40
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime108 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/popover.d.ts
|
|
6
6
|
declare function Popover({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof PopoverPrimitive.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime108.JSX.Element;
|
|
9
9
|
declare function PopoverTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof PopoverPrimitive.Trigger>):
|
|
11
|
+
}: React.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime108.JSX.Element;
|
|
12
12
|
declare function PopoverContent({
|
|
13
13
|
className,
|
|
14
14
|
align,
|
|
15
15
|
sideOffset,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof PopoverPrimitive.Content>):
|
|
17
|
+
}: React.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime108.JSX.Element;
|
|
18
18
|
declare function PopoverAnchor({
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof PopoverPrimitive.Anchor>):
|
|
20
|
+
}: React.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime108.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime108 from "react/jsx-runtime";
|
|
3
3
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/popover.d.ts
|
|
6
6
|
declare function Popover({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof PopoverPrimitive.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime108.JSX.Element;
|
|
9
9
|
declare function PopoverTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof PopoverPrimitive.Trigger>):
|
|
11
|
+
}: React.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime108.JSX.Element;
|
|
12
12
|
declare function PopoverContent({
|
|
13
13
|
className,
|
|
14
14
|
align,
|
|
15
15
|
sideOffset,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof PopoverPrimitive.Content>):
|
|
17
|
+
}: React.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime108.JSX.Element;
|
|
18
18
|
declare function PopoverAnchor({
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof PopoverPrimitive.Anchor>):
|
|
20
|
+
}: React.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime108.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime112 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
4
4
|
|
|
@@ -6,10 +6,10 @@ import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
|
6
6
|
declare function RadioGroup({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof RadioGroupPrimitive.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime112.JSX.Element;
|
|
10
10
|
declare function RadioGroupItem({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof RadioGroupPrimitive.Item>):
|
|
13
|
+
}: React.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime112.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { RadioGroup, RadioGroupItem };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime112 from "react/jsx-runtime";
|
|
3
3
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/radio-group.d.ts
|
|
6
6
|
declare function RadioGroup({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof RadioGroupPrimitive.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime112.JSX.Element;
|
|
10
10
|
declare function RadioGroupItem({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof RadioGroupPrimitive.Item>):
|
|
13
|
+
}: React.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime112.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { RadioGroup, RadioGroupItem };
|