luaniverse 4.1.0 → 4.1.2
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.cjs +204 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +199 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -1
package/dist/index.d.cts
CHANGED
|
@@ -16,6 +16,8 @@ import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
|
16
16
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
17
17
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
18
18
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
19
|
+
import { DayPicker, DayButton } from 'react-day-picker';
|
|
20
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
19
21
|
|
|
20
22
|
declare const buttonVariants: (props?: ({
|
|
21
23
|
variant?: "default" | "primary" | "outline" | "tertiary" | "secondary" | "muted" | "destructive" | null | undefined;
|
|
@@ -1244,6 +1246,16 @@ declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.C
|
|
|
1244
1246
|
|
|
1245
1247
|
declare const Slider: React.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
1246
1248
|
|
|
1249
|
+
declare function CalendarDayButton({ className, day, modifiers, ...props }: React.ComponentProps<typeof DayButton>): react_jsx_runtime.JSX.Element;
|
|
1250
|
+
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, formatters, components, ...props }: React.ComponentProps<typeof DayPicker>): react_jsx_runtime.JSX.Element;
|
|
1251
|
+
declare namespace Calendar {
|
|
1252
|
+
var displayName: string;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
|
|
1256
|
+
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1257
|
+
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1258
|
+
|
|
1247
1259
|
/** @type {import('tailwindcss').Config} */
|
|
1248
1260
|
declare const luaniversePreset: any;
|
|
1249
1261
|
|
|
@@ -1255,4 +1267,4 @@ declare const luaniversePreset: any;
|
|
|
1255
1267
|
*/
|
|
1256
1268
|
declare const luaniverseSafelist: string[];
|
|
1257
1269
|
|
|
1258
|
-
export { AEP, AI, AVI, aep as AepIcon, ai as AiIcon, ArrowClockwiseIcon, ArrowLeft, ArrowRight, ArrowSquareOut, ArrowUp, ArrowsClockwiseIcon, avi as AviIcon, Badge, type BadgeProps, Blend, blend as BlendIcon, BooksIcon, Button, type ButtonProps, C4D, c4d as C4dIcon, CDR, CSS, CSV, Camera, Caption, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDown, CaretRight, CaretUpIcon, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, cdr as CdrIcon, ChartBar, Chat, ChatsCircle, Check, CheckSquareIcon, Checkbox, Circle, ClipboardTextIcon, Clock, CopySimpleIcon, CreditCard, css as CssIcon, csv as CsvIcon, CurrencyCircleDollar, DMG, DOC, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, dmg as DmgIcon, doc as DocIcon, DotsSixVerticalIcon, DotsThree, DotsThreeVertical, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EXE, exe as ExeIcon, FacebookLogo, Fig, fig as FigIcon, FolderIcon, FolderSimpleLockIcon, GIF, Gear, GearSix, gif as GifIcon, GitCommit, HTML, Heading1, Heading2, Heading3, Heading4, Heading5, Heading6, Headset, html as HtmlIcon, ICO, ico as IcoIcon, IconButton, type IconButtonProps, type IconProps, ImageIcon, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, InstagramLogo, JPEG, JPG, JS, JSON, Java, java as JavaIcon, jpeg as JpegIcon, jpg as JpgIcon, js as JsIcon, json as JsonIcon, KeyIcon, Label, Link, LinkIcon, type LinkProps, LinkSimple, LockSimple, Logo, LogoSpinner, MOV, MP3, MP4, MPG, MagnifyingGlass, MapPin, Microphone, Minus, MinusCircleIcon, mov as MovIcon, mp3 as Mp3Icon, mp4 as Mp4Icon, mpg as MpgIcon, MultiSelect, type MultiSelectOption, type MultiSelectProps, Overline, PDF, PNG, PPT, PSD, PackageIcon, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaperPlane, PaperPlaneTilt, Paperclip, pdf as PdfIcon, PencilSimple, PlugsRegular, Plus, png as PngIcon, ppt as PptIcon, psd as PsdIcon, RadioGroup, RadioGroupItem, Rar, rar as RarIcon, RecordIcon, SVG, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, ShoppingCartIcon, SidebarSimple, SignOut, Sketch, sketch as SketchIcon, Slider, Storefront, svg as SvgIcon, Switch, TIFF, TXT, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableWrapper, Tabs, TabsContent, TabsList, TabsTrigger, Tag, Text, TextIcon, Textarea, type TextareaProps, Ticket, tiff as TiffIcon, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, Trash, txt as TxtIcon, Typography, type TypographyProps, UserCircle, UserIcon, Users, VideoCamera, WAV, WEBP, WarningOctagon, WarningTriangle, wav as WavIcon, Waveform, webp as WebpIcon, WhatsAppLogo, WrenchIcon, XIcon, XLS, xls as XlsIcon, Zip, zip as ZipIcon, badgeVariants, buttonVariants, cn, luaniversePreset as default, getAccessibilityProps, getDefaultAriaLabel, iconButtonVariants, luaniversePreset, luaniverseSafelist };
|
|
1270
|
+
export { AEP, AI, AVI, aep as AepIcon, ai as AiIcon, ArrowClockwiseIcon, ArrowLeft, ArrowRight, ArrowSquareOut, ArrowUp, ArrowsClockwiseIcon, avi as AviIcon, Badge, type BadgeProps, Blend, blend as BlendIcon, BooksIcon, Button, type ButtonProps, C4D, c4d as C4dIcon, CDR, CSS, CSV, Calendar, CalendarDayButton, Camera, Caption, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDown, CaretRight, CaretUpIcon, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, cdr as CdrIcon, ChartBar, Chat, ChatsCircle, Check, CheckSquareIcon, Checkbox, Circle, ClipboardTextIcon, Clock, CopySimpleIcon, CreditCard, css as CssIcon, csv as CsvIcon, CurrencyCircleDollar, DMG, DOC, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, dmg as DmgIcon, doc as DocIcon, DotsSixVerticalIcon, DotsThree, DotsThreeVertical, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EXE, exe as ExeIcon, FacebookLogo, Fig, fig as FigIcon, FolderIcon, FolderSimpleLockIcon, GIF, Gear, GearSix, gif as GifIcon, GitCommit, HTML, Heading1, Heading2, Heading3, Heading4, Heading5, Heading6, Headset, html as HtmlIcon, ICO, ico as IcoIcon, IconButton, type IconButtonProps, type IconProps, ImageIcon, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, InstagramLogo, JPEG, JPG, JS, JSON, Java, java as JavaIcon, jpeg as JpegIcon, jpg as JpgIcon, js as JsIcon, json as JsonIcon, KeyIcon, Label, Link, LinkIcon, type LinkProps, LinkSimple, LockSimple, Logo, LogoSpinner, MOV, MP3, MP4, MPG, MagnifyingGlass, MapPin, Microphone, Minus, MinusCircleIcon, mov as MovIcon, mp3 as Mp3Icon, mp4 as Mp4Icon, mpg as MpgIcon, MultiSelect, type MultiSelectOption, type MultiSelectProps, Overline, PDF, PNG, PPT, PSD, PackageIcon, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaperPlane, PaperPlaneTilt, Paperclip, pdf as PdfIcon, PencilSimple, PlugsRegular, Plus, png as PngIcon, Popover, PopoverContent, PopoverTrigger, ppt as PptIcon, psd as PsdIcon, RadioGroup, RadioGroupItem, Rar, rar as RarIcon, RecordIcon, SVG, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, ShoppingCartIcon, SidebarSimple, SignOut, Sketch, sketch as SketchIcon, Slider, Storefront, svg as SvgIcon, Switch, TIFF, TXT, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableWrapper, Tabs, TabsContent, TabsList, TabsTrigger, Tag, Text, TextIcon, Textarea, type TextareaProps, Ticket, tiff as TiffIcon, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, Trash, txt as TxtIcon, Typography, type TypographyProps, UserCircle, UserIcon, Users, VideoCamera, WAV, WEBP, WarningOctagon, WarningTriangle, wav as WavIcon, Waveform, webp as WebpIcon, WhatsAppLogo, WrenchIcon, XIcon, XLS, xls as XlsIcon, Zip, zip as ZipIcon, badgeVariants, buttonVariants, cn, luaniversePreset as default, getAccessibilityProps, getDefaultAriaLabel, iconButtonVariants, luaniversePreset, luaniverseSafelist };
|
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,8 @@ import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
|
16
16
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
17
17
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
18
18
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
19
|
+
import { DayPicker, DayButton } from 'react-day-picker';
|
|
20
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
19
21
|
|
|
20
22
|
declare const buttonVariants: (props?: ({
|
|
21
23
|
variant?: "default" | "primary" | "outline" | "tertiary" | "secondary" | "muted" | "destructive" | null | undefined;
|
|
@@ -1244,6 +1246,16 @@ declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.C
|
|
|
1244
1246
|
|
|
1245
1247
|
declare const Slider: React.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
1246
1248
|
|
|
1249
|
+
declare function CalendarDayButton({ className, day, modifiers, ...props }: React.ComponentProps<typeof DayButton>): react_jsx_runtime.JSX.Element;
|
|
1250
|
+
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, formatters, components, ...props }: React.ComponentProps<typeof DayPicker>): react_jsx_runtime.JSX.Element;
|
|
1251
|
+
declare namespace Calendar {
|
|
1252
|
+
var displayName: string;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
|
|
1256
|
+
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1257
|
+
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1258
|
+
|
|
1247
1259
|
/** @type {import('tailwindcss').Config} */
|
|
1248
1260
|
declare const luaniversePreset: any;
|
|
1249
1261
|
|
|
@@ -1255,4 +1267,4 @@ declare const luaniversePreset: any;
|
|
|
1255
1267
|
*/
|
|
1256
1268
|
declare const luaniverseSafelist: string[];
|
|
1257
1269
|
|
|
1258
|
-
export { AEP, AI, AVI, aep as AepIcon, ai as AiIcon, ArrowClockwiseIcon, ArrowLeft, ArrowRight, ArrowSquareOut, ArrowUp, ArrowsClockwiseIcon, avi as AviIcon, Badge, type BadgeProps, Blend, blend as BlendIcon, BooksIcon, Button, type ButtonProps, C4D, c4d as C4dIcon, CDR, CSS, CSV, Camera, Caption, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDown, CaretRight, CaretUpIcon, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, cdr as CdrIcon, ChartBar, Chat, ChatsCircle, Check, CheckSquareIcon, Checkbox, Circle, ClipboardTextIcon, Clock, CopySimpleIcon, CreditCard, css as CssIcon, csv as CsvIcon, CurrencyCircleDollar, DMG, DOC, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, dmg as DmgIcon, doc as DocIcon, DotsSixVerticalIcon, DotsThree, DotsThreeVertical, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EXE, exe as ExeIcon, FacebookLogo, Fig, fig as FigIcon, FolderIcon, FolderSimpleLockIcon, GIF, Gear, GearSix, gif as GifIcon, GitCommit, HTML, Heading1, Heading2, Heading3, Heading4, Heading5, Heading6, Headset, html as HtmlIcon, ICO, ico as IcoIcon, IconButton, type IconButtonProps, type IconProps, ImageIcon, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, InstagramLogo, JPEG, JPG, JS, JSON, Java, java as JavaIcon, jpeg as JpegIcon, jpg as JpgIcon, js as JsIcon, json as JsonIcon, KeyIcon, Label, Link, LinkIcon, type LinkProps, LinkSimple, LockSimple, Logo, LogoSpinner, MOV, MP3, MP4, MPG, MagnifyingGlass, MapPin, Microphone, Minus, MinusCircleIcon, mov as MovIcon, mp3 as Mp3Icon, mp4 as Mp4Icon, mpg as MpgIcon, MultiSelect, type MultiSelectOption, type MultiSelectProps, Overline, PDF, PNG, PPT, PSD, PackageIcon, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaperPlane, PaperPlaneTilt, Paperclip, pdf as PdfIcon, PencilSimple, PlugsRegular, Plus, png as PngIcon, ppt as PptIcon, psd as PsdIcon, RadioGroup, RadioGroupItem, Rar, rar as RarIcon, RecordIcon, SVG, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, ShoppingCartIcon, SidebarSimple, SignOut, Sketch, sketch as SketchIcon, Slider, Storefront, svg as SvgIcon, Switch, TIFF, TXT, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableWrapper, Tabs, TabsContent, TabsList, TabsTrigger, Tag, Text, TextIcon, Textarea, type TextareaProps, Ticket, tiff as TiffIcon, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, Trash, txt as TxtIcon, Typography, type TypographyProps, UserCircle, UserIcon, Users, VideoCamera, WAV, WEBP, WarningOctagon, WarningTriangle, wav as WavIcon, Waveform, webp as WebpIcon, WhatsAppLogo, WrenchIcon, XIcon, XLS, xls as XlsIcon, Zip, zip as ZipIcon, badgeVariants, buttonVariants, cn, luaniversePreset as default, getAccessibilityProps, getDefaultAriaLabel, iconButtonVariants, luaniversePreset, luaniverseSafelist };
|
|
1270
|
+
export { AEP, AI, AVI, aep as AepIcon, ai as AiIcon, ArrowClockwiseIcon, ArrowLeft, ArrowRight, ArrowSquareOut, ArrowUp, ArrowsClockwiseIcon, avi as AviIcon, Badge, type BadgeProps, Blend, blend as BlendIcon, BooksIcon, Button, type ButtonProps, C4D, c4d as C4dIcon, CDR, CSS, CSV, Calendar, CalendarDayButton, Camera, Caption, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDown, CaretRight, CaretUpIcon, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, cdr as CdrIcon, ChartBar, Chat, ChatsCircle, Check, CheckSquareIcon, Checkbox, Circle, ClipboardTextIcon, Clock, CopySimpleIcon, CreditCard, css as CssIcon, csv as CsvIcon, CurrencyCircleDollar, DMG, DOC, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, dmg as DmgIcon, doc as DocIcon, DotsSixVerticalIcon, DotsThree, DotsThreeVertical, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EXE, exe as ExeIcon, FacebookLogo, Fig, fig as FigIcon, FolderIcon, FolderSimpleLockIcon, GIF, Gear, GearSix, gif as GifIcon, GitCommit, HTML, Heading1, Heading2, Heading3, Heading4, Heading5, Heading6, Headset, html as HtmlIcon, ICO, ico as IcoIcon, IconButton, type IconButtonProps, type IconProps, ImageIcon, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, InstagramLogo, JPEG, JPG, JS, JSON, Java, java as JavaIcon, jpeg as JpegIcon, jpg as JpgIcon, js as JsIcon, json as JsonIcon, KeyIcon, Label, Link, LinkIcon, type LinkProps, LinkSimple, LockSimple, Logo, LogoSpinner, MOV, MP3, MP4, MPG, MagnifyingGlass, MapPin, Microphone, Minus, MinusCircleIcon, mov as MovIcon, mp3 as Mp3Icon, mp4 as Mp4Icon, mpg as MpgIcon, MultiSelect, type MultiSelectOption, type MultiSelectProps, Overline, PDF, PNG, PPT, PSD, PackageIcon, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaperPlane, PaperPlaneTilt, Paperclip, pdf as PdfIcon, PencilSimple, PlugsRegular, Plus, png as PngIcon, Popover, PopoverContent, PopoverTrigger, ppt as PptIcon, psd as PsdIcon, RadioGroup, RadioGroupItem, Rar, rar as RarIcon, RecordIcon, SVG, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, ShoppingCartIcon, SidebarSimple, SignOut, Sketch, sketch as SketchIcon, Slider, Storefront, svg as SvgIcon, Switch, TIFF, TXT, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableWrapper, Tabs, TabsContent, TabsList, TabsTrigger, Tag, Text, TextIcon, Textarea, type TextareaProps, Ticket, tiff as TiffIcon, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, Trash, txt as TxtIcon, Typography, type TypographyProps, UserCircle, UserIcon, Users, VideoCamera, WAV, WEBP, WarningOctagon, WarningTriangle, wav as WavIcon, Waveform, webp as WebpIcon, WhatsAppLogo, WrenchIcon, XIcon, XLS, xls as XlsIcon, Zip, zip as ZipIcon, badgeVariants, buttonVariants, cn, luaniversePreset as default, getAccessibilityProps, getDefaultAriaLabel, iconButtonVariants, luaniversePreset, luaniverseSafelist };
|
package/dist/index.js
CHANGED
|
@@ -17,6 +17,9 @@ import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
|
17
17
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
18
18
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
19
19
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
20
|
+
import { ChevronLeftIcon, ChevronRightIcon, ChevronDownIcon } from 'lucide-react';
|
|
21
|
+
import { getDefaultClassNames, DayPicker } from 'react-day-picker';
|
|
22
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
20
23
|
|
|
21
24
|
var __defProp = Object.defineProperty;
|
|
22
25
|
var __export = (target, all) => {
|
|
@@ -5975,6 +5978,201 @@ var Slider = React118.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
5975
5978
|
}
|
|
5976
5979
|
));
|
|
5977
5980
|
Slider.displayName = SliderPrimitive.Root.displayName;
|
|
5981
|
+
function CalendarRoot({ className, rootRef, ...props }) {
|
|
5982
|
+
return /* @__PURE__ */ jsx(
|
|
5983
|
+
"div",
|
|
5984
|
+
{
|
|
5985
|
+
"data-slot": "calendar",
|
|
5986
|
+
ref: rootRef,
|
|
5987
|
+
className: cn(className),
|
|
5988
|
+
...props
|
|
5989
|
+
}
|
|
5990
|
+
);
|
|
5991
|
+
}
|
|
5992
|
+
function CalendarChevron({
|
|
5993
|
+
className,
|
|
5994
|
+
orientation,
|
|
5995
|
+
...props
|
|
5996
|
+
}) {
|
|
5997
|
+
if (orientation === "left") {
|
|
5998
|
+
return /* @__PURE__ */ jsx(ChevronLeftIcon, { className: cn("lua:size-3", className), ...props });
|
|
5999
|
+
}
|
|
6000
|
+
if (orientation === "right") {
|
|
6001
|
+
return /* @__PURE__ */ jsx(ChevronRightIcon, { className: cn("lua:size-3", className), ...props });
|
|
6002
|
+
}
|
|
6003
|
+
return /* @__PURE__ */ jsx(ChevronDownIcon, { className: cn("lua:size-3", className), ...props });
|
|
6004
|
+
}
|
|
6005
|
+
function CalendarWeekNumber({ children, ...props }) {
|
|
6006
|
+
return /* @__PURE__ */ jsx("td", { ...props, children: /* @__PURE__ */ jsx("div", { className: "lua:flex lua:size-[--cell-size] lua:items-center lua:justify-center lua:text-center lua:font-onest", children }) });
|
|
6007
|
+
}
|
|
6008
|
+
function CalendarDayButton({
|
|
6009
|
+
className,
|
|
6010
|
+
day,
|
|
6011
|
+
modifiers,
|
|
6012
|
+
...props
|
|
6013
|
+
}) {
|
|
6014
|
+
const defaultClassNames = getDefaultClassNames();
|
|
6015
|
+
const ref = React118.useRef(null);
|
|
6016
|
+
React118.useEffect(() => {
|
|
6017
|
+
if (modifiers.focused) ref.current?.focus();
|
|
6018
|
+
}, [modifiers.focused]);
|
|
6019
|
+
return /* @__PURE__ */ jsx(
|
|
6020
|
+
"button",
|
|
6021
|
+
{
|
|
6022
|
+
ref,
|
|
6023
|
+
type: "button",
|
|
6024
|
+
"data-day": day.date.toLocaleDateString(),
|
|
6025
|
+
"data-selected-single": modifiers.selected && !modifiers.range_start && !modifiers.range_end && !modifiers.range_middle,
|
|
6026
|
+
"data-range-start": modifiers.range_start,
|
|
6027
|
+
"data-range-end": modifiers.range_end,
|
|
6028
|
+
"data-range-middle": modifiers.range_middle,
|
|
6029
|
+
className: cn(defaultClassNames.day, className),
|
|
6030
|
+
...props
|
|
6031
|
+
}
|
|
6032
|
+
);
|
|
6033
|
+
}
|
|
6034
|
+
function Calendar({
|
|
6035
|
+
className,
|
|
6036
|
+
classNames,
|
|
6037
|
+
showOutsideDays = true,
|
|
6038
|
+
captionLayout = "label",
|
|
6039
|
+
formatters,
|
|
6040
|
+
components,
|
|
6041
|
+
...props
|
|
6042
|
+
}) {
|
|
6043
|
+
const defaultClassNames = getDefaultClassNames();
|
|
6044
|
+
return /* @__PURE__ */ jsx(
|
|
6045
|
+
DayPicker,
|
|
6046
|
+
{
|
|
6047
|
+
showOutsideDays,
|
|
6048
|
+
className: cn(
|
|
6049
|
+
"lua:group/calendar lua:p-1.5 lua:rounded-md [--cell-size:1.5rem] lua:font-onest",
|
|
6050
|
+
String.raw`rtl:**:[.rdp-button\_next>svg]:lua:rotate-180`,
|
|
6051
|
+
String.raw`rtl:**:[.rdp-button\_previous>svg]:lua:rotate-180`,
|
|
6052
|
+
className
|
|
6053
|
+
),
|
|
6054
|
+
captionLayout,
|
|
6055
|
+
formatters: {
|
|
6056
|
+
formatMonthDropdown: (date) => date.toLocaleString("default", { month: "short" }),
|
|
6057
|
+
...formatters
|
|
6058
|
+
},
|
|
6059
|
+
classNames: {
|
|
6060
|
+
root: cn("lua:w-fit", defaultClassNames.root),
|
|
6061
|
+
months: cn(
|
|
6062
|
+
"lua:relative lua:flex lua:flex-col lua:gap-2 md:lua:flex-row",
|
|
6063
|
+
defaultClassNames.months
|
|
6064
|
+
),
|
|
6065
|
+
month: cn(
|
|
6066
|
+
"lua:flex lua:w-full lua:flex-col lua:gap-2",
|
|
6067
|
+
defaultClassNames.month
|
|
6068
|
+
),
|
|
6069
|
+
nav: cn(
|
|
6070
|
+
"lua:absolute lua:inset-x-0 lua:top-0 lua:flex lua:w-full lua:items-center lua:justify-between lua:gap-1",
|
|
6071
|
+
defaultClassNames.nav
|
|
6072
|
+
),
|
|
6073
|
+
button_previous: cn(defaultClassNames.button_previous),
|
|
6074
|
+
button_next: cn(
|
|
6075
|
+
// Luaniverse button style
|
|
6076
|
+
"lua:inline-flex lua:items-center lua:justify-center lua:rounded-full lua:transition-all lua:duration-200",
|
|
6077
|
+
"lua:text-gray-900 hover:lua:bg-gray-100",
|
|
6078
|
+
"focus-visible:lua:outline-hidden focus-visible:lua:ring-1 focus-visible:lua:ring-gray-900 focus-visible:lua:ring-offset-1 focus-visible:lua:ring-offset-white",
|
|
6079
|
+
"lua:h-[--cell-size] lua:w-[--cell-size] lua:select-none lua:p-0 aria-disabled:lua:opacity-50",
|
|
6080
|
+
defaultClassNames.button_next
|
|
6081
|
+
),
|
|
6082
|
+
month_caption: cn(
|
|
6083
|
+
"lua:flex lua:h-[--cell-size] lua:w-full lua:items-center lua:justify-center lua:px-[--cell-size]",
|
|
6084
|
+
defaultClassNames.month_caption
|
|
6085
|
+
),
|
|
6086
|
+
dropdowns: cn(
|
|
6087
|
+
"lua:flex lua:h-[--cell-size] lua:w-full lua:items-center lua:justify-center lua:gap-1 lua:text-sm lua:font-onest lua:font-semibold lua:text-gray-900",
|
|
6088
|
+
defaultClassNames.dropdowns
|
|
6089
|
+
),
|
|
6090
|
+
dropdown_root: cn(
|
|
6091
|
+
"has-focus:lua:border-gray-300 lua:border-gray-300 has-focus:lua:ring-gray-900/50 has-focus:lua:ring-2 lua:relative lua:rounded-md lua:border",
|
|
6092
|
+
defaultClassNames.dropdown_root
|
|
6093
|
+
),
|
|
6094
|
+
dropdown: cn(
|
|
6095
|
+
"lua:absolute lua:inset-0 lua:opacity-0",
|
|
6096
|
+
defaultClassNames.dropdown
|
|
6097
|
+
),
|
|
6098
|
+
caption_label: cn(
|
|
6099
|
+
"lua:select-none lua:font-onest lua:font-semibold lua:text-gray-900",
|
|
6100
|
+
captionLayout === "label" ? "lua:text-xs" : "[&>svg]:lua:text-gray-600 lua:flex lua:h-6 lua:items-center lua:gap-1 lua:rounded-md lua:pl-2 lua:pr-1 lua:text-xs [&>svg]:lua:size-3",
|
|
6101
|
+
defaultClassNames.caption_label
|
|
6102
|
+
),
|
|
6103
|
+
table: "lua:w-full lua:border-collapse",
|
|
6104
|
+
weekdays: cn("lua:flex", defaultClassNames.weekdays),
|
|
6105
|
+
weekday: cn(
|
|
6106
|
+
"lua:text-gray-600 lua:flex-1 lua:select-none lua:text-xs lua:font-onest lua:font-medium",
|
|
6107
|
+
defaultClassNames.weekday
|
|
6108
|
+
),
|
|
6109
|
+
week: cn("lua:mt-1 lua:flex lua:w-full", defaultClassNames.week),
|
|
6110
|
+
week_number_header: cn(
|
|
6111
|
+
"lua:w-[--cell-size] lua:select-none",
|
|
6112
|
+
defaultClassNames.week_number_header
|
|
6113
|
+
),
|
|
6114
|
+
week_number: cn(
|
|
6115
|
+
"lua:text-gray-600 lua:select-none lua:text-xs lua:font-onest",
|
|
6116
|
+
defaultClassNames.week_number
|
|
6117
|
+
),
|
|
6118
|
+
day: cn(
|
|
6119
|
+
"lua:relative lua:w-full lua:h-full lua:p-0 lua:text-center lua:group/day lua:aspect-square lua:select-none",
|
|
6120
|
+
defaultClassNames.day
|
|
6121
|
+
),
|
|
6122
|
+
range_start: cn("lua:bg-gray-100", defaultClassNames.range_start),
|
|
6123
|
+
range_middle: cn("lua:bg-gray-50", defaultClassNames.range_middle),
|
|
6124
|
+
range_end: cn("lua:bg-gray-100", defaultClassNames.range_end),
|
|
6125
|
+
today: cn(
|
|
6126
|
+
"lua:bg-gray-100 lua:text-gray-900 lua:font-bold",
|
|
6127
|
+
defaultClassNames.today
|
|
6128
|
+
),
|
|
6129
|
+
outside: cn(
|
|
6130
|
+
"lua:text-gray-400 aria-selected:lua:text-gray-400",
|
|
6131
|
+
defaultClassNames.outside
|
|
6132
|
+
),
|
|
6133
|
+
disabled: cn(
|
|
6134
|
+
"lua:text-gray-400 lua:opacity-50",
|
|
6135
|
+
defaultClassNames.disabled
|
|
6136
|
+
),
|
|
6137
|
+
hidden: cn("lua:invisible", defaultClassNames.hidden),
|
|
6138
|
+
...classNames
|
|
6139
|
+
},
|
|
6140
|
+
components: {
|
|
6141
|
+
Root: CalendarRoot,
|
|
6142
|
+
Chevron: CalendarChevron,
|
|
6143
|
+
DayButton: CalendarDayButton,
|
|
6144
|
+
WeekNumber: CalendarWeekNumber,
|
|
6145
|
+
...components
|
|
6146
|
+
},
|
|
6147
|
+
...props
|
|
6148
|
+
}
|
|
6149
|
+
);
|
|
6150
|
+
}
|
|
6151
|
+
Calendar.displayName = "Calendar";
|
|
6152
|
+
var Popover = PopoverPrimitive.Root;
|
|
6153
|
+
var PopoverTrigger = PopoverPrimitive.Trigger;
|
|
6154
|
+
var PopoverContent = React118.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx(
|
|
6155
|
+
PopoverPrimitive.Content,
|
|
6156
|
+
{
|
|
6157
|
+
ref,
|
|
6158
|
+
align,
|
|
6159
|
+
sideOffset,
|
|
6160
|
+
className: cn(
|
|
6161
|
+
// Base styles - Luaniverse design
|
|
6162
|
+
"lua:z-50 lua:rounded-md lua:border lua:border-gray-200 lua:bg-white lua:shadow-lg lua:font-onest",
|
|
6163
|
+
// Animation
|
|
6164
|
+
"lua:transition-all lua:duration-200",
|
|
6165
|
+
"data-[state=open]:lua:animate-in data-[state=open]:lua:fade-in-0 data-[state=open]:lua:zoom-in-95",
|
|
6166
|
+
"data-[state=closed]:lua:animate-out data-[state=closed]:lua:fade-out-0 data-[state=closed]:lua:zoom-out-95",
|
|
6167
|
+
"data-[side=bottom]:lua:slide-in-from-top-2 data-[side=left]:lua:slide-in-from-right-2 data-[side=right]:lua:slide-in-from-left-2 data-[side=top]:lua:slide-in-from-bottom-2",
|
|
6168
|
+
// Focus
|
|
6169
|
+
"focus-visible:lua:outline-none focus-visible:lua:ring-2 focus-visible:lua:ring-gray-900 focus-visible:lua:ring-offset-2",
|
|
6170
|
+
className
|
|
6171
|
+
),
|
|
6172
|
+
...props
|
|
6173
|
+
}
|
|
6174
|
+
) }));
|
|
6175
|
+
PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
|
5978
6176
|
|
|
5979
6177
|
// src/safelist.js
|
|
5980
6178
|
var luaniverseSafelist = [
|
|
@@ -6366,6 +6564,6 @@ var luaniversePreset = {
|
|
|
6366
6564
|
}
|
|
6367
6565
|
};
|
|
6368
6566
|
|
|
6369
|
-
export { AEP, AI, AVI, aep_exports as AepIcon, ai_exports as AiIcon, ArrowClockwiseIcon, ArrowLeft, ArrowRight, ArrowSquareOut, ArrowUp, ArrowsClockwiseIcon, avi_exports as AviIcon, Badge, Blend, blend_exports as BlendIcon, BooksIcon, Button, C4D, c4d_exports as C4dIcon, CDR, CSS, CSV, Camera, Caption, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDown, CaretRight, CaretUpIcon, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, cdr_exports as CdrIcon, ChartBar, Chat, ChatsCircle, Check, CheckSquareIcon, Checkbox, Circle, ClipboardTextIcon, Clock, CopySimpleIcon, CreditCard, css_exports as CssIcon, csv_exports as CsvIcon, CurrencyCircleDollar, DMG, DOC, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, dmg_exports as DmgIcon, doc_exports as DocIcon, DotsSixVerticalIcon, DotsThree, DotsThreeVertical, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EXE, exe_exports as ExeIcon, FacebookLogo, Fig, fig_exports as FigIcon, FolderIcon, FolderSimpleLockIcon, GIF, Gear, GearSix, gif_exports as GifIcon, GitCommit, HTML, Heading1, Heading2, Heading3, Heading4, Heading5, Heading6, Headset, html_exports as HtmlIcon, ICO, ico_exports as IcoIcon, IconButton, ImageIcon, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InstagramLogo, JPEG, JPG, JS, JSON, Java, java_exports as JavaIcon, jpeg_exports as JpegIcon, jpg_exports as JpgIcon, js_exports as JsIcon, json_exports as JsonIcon, KeyIcon, Label3 as Label, Link, LinkIcon, LinkSimple, LockSimple, Logo, LogoSpinner, MOV, MP3, MP4, MPG, MagnifyingGlass, MapPin, Microphone, Minus, MinusCircleIcon, mov_exports as MovIcon, mp3_exports as Mp3Icon, mp4_exports as Mp4Icon, mpg_exports as MpgIcon, MultiSelect, Overline, PDF, PNG, PPT, PSD, PackageIcon, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaperPlane, PaperPlaneTilt, Paperclip, pdf_exports as PdfIcon, PencilSimple, PlugsRegular, Plus, png_exports as PngIcon, ppt_exports as PptIcon, psd_exports as PsdIcon, RadioGroup2 as RadioGroup, RadioGroupItem, Rar, rar_exports as RarIcon, RecordIcon, SVG, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, ShoppingCartIcon, SidebarSimple, SignOut, Sketch, sketch_exports as SketchIcon, Slider, Storefront, svg_exports as SvgIcon, Switch, TIFF, TXT, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableWrapper, Tabs, TabsContent, TabsList, TabsTrigger, Tag, Text, TextIcon, Textarea, Ticket, tiff_exports as TiffIcon, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, Trash, txt_exports as TxtIcon, Typography, UserCircle, UserIcon, Users, VideoCamera, WAV, WEBP, WarningOctagon, WarningTriangle, wav_exports as WavIcon, Waveform, webp_exports as WebpIcon, WhatsAppLogo, WrenchIcon, XIcon, XLS, xls_exports as XlsIcon, Zip, zip_exports as ZipIcon, badgeVariants, buttonVariants, cn, luaniversePreset as default, getAccessibilityProps, getDefaultAriaLabel, iconButtonVariants, luaniversePreset, luaniverseSafelist };
|
|
6567
|
+
export { AEP, AI, AVI, aep_exports as AepIcon, ai_exports as AiIcon, ArrowClockwiseIcon, ArrowLeft, ArrowRight, ArrowSquareOut, ArrowUp, ArrowsClockwiseIcon, avi_exports as AviIcon, Badge, Blend, blend_exports as BlendIcon, BooksIcon, Button, C4D, c4d_exports as C4dIcon, CDR, CSS, CSV, Calendar, CalendarDayButton, Camera, Caption, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDown, CaretRight, CaretUpIcon, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, cdr_exports as CdrIcon, ChartBar, Chat, ChatsCircle, Check, CheckSquareIcon, Checkbox, Circle, ClipboardTextIcon, Clock, CopySimpleIcon, CreditCard, css_exports as CssIcon, csv_exports as CsvIcon, CurrencyCircleDollar, DMG, DOC, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, dmg_exports as DmgIcon, doc_exports as DocIcon, DotsSixVerticalIcon, DotsThree, DotsThreeVertical, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EXE, exe_exports as ExeIcon, FacebookLogo, Fig, fig_exports as FigIcon, FolderIcon, FolderSimpleLockIcon, GIF, Gear, GearSix, gif_exports as GifIcon, GitCommit, HTML, Heading1, Heading2, Heading3, Heading4, Heading5, Heading6, Headset, html_exports as HtmlIcon, ICO, ico_exports as IcoIcon, IconButton, ImageIcon, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InstagramLogo, JPEG, JPG, JS, JSON, Java, java_exports as JavaIcon, jpeg_exports as JpegIcon, jpg_exports as JpgIcon, js_exports as JsIcon, json_exports as JsonIcon, KeyIcon, Label3 as Label, Link, LinkIcon, LinkSimple, LockSimple, Logo, LogoSpinner, MOV, MP3, MP4, MPG, MagnifyingGlass, MapPin, Microphone, Minus, MinusCircleIcon, mov_exports as MovIcon, mp3_exports as Mp3Icon, mp4_exports as Mp4Icon, mpg_exports as MpgIcon, MultiSelect, Overline, PDF, PNG, PPT, PSD, PackageIcon, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaperPlane, PaperPlaneTilt, Paperclip, pdf_exports as PdfIcon, PencilSimple, PlugsRegular, Plus, png_exports as PngIcon, Popover, PopoverContent, PopoverTrigger, ppt_exports as PptIcon, psd_exports as PsdIcon, RadioGroup2 as RadioGroup, RadioGroupItem, Rar, rar_exports as RarIcon, RecordIcon, SVG, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, ShoppingCartIcon, SidebarSimple, SignOut, Sketch, sketch_exports as SketchIcon, Slider, Storefront, svg_exports as SvgIcon, Switch, TIFF, TXT, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableWrapper, Tabs, TabsContent, TabsList, TabsTrigger, Tag, Text, TextIcon, Textarea, Ticket, tiff_exports as TiffIcon, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, Trash, txt_exports as TxtIcon, Typography, UserCircle, UserIcon, Users, VideoCamera, WAV, WEBP, WarningOctagon, WarningTriangle, wav_exports as WavIcon, Waveform, webp_exports as WebpIcon, WhatsAppLogo, WrenchIcon, XIcon, XLS, xls_exports as XlsIcon, Zip, zip_exports as ZipIcon, badgeVariants, buttonVariants, cn, luaniversePreset as default, getAccessibilityProps, getDefaultAriaLabel, iconButtonVariants, luaniversePreset, luaniverseSafelist };
|
|
6370
6568
|
//# sourceMappingURL=index.js.map
|
|
6371
6569
|
//# sourceMappingURL=index.js.map
|