@moontra/moonui 2.0.5 → 2.0.7
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.js +98 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +92 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -5287,6 +5287,97 @@ var Label2 = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
|
5287
5287
|
}
|
|
5288
5288
|
));
|
|
5289
5289
|
Label2.displayName = LabelPrimitive.Root.displayName;
|
|
5290
|
+
var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx(
|
|
5291
|
+
"nav",
|
|
5292
|
+
{
|
|
5293
|
+
role: "navigation",
|
|
5294
|
+
"aria-label": "pagination",
|
|
5295
|
+
className: cn("mx-auto flex w-full justify-center", className),
|
|
5296
|
+
...props
|
|
5297
|
+
}
|
|
5298
|
+
);
|
|
5299
|
+
Pagination.displayName = "Pagination";
|
|
5300
|
+
var PaginationContent = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
5301
|
+
"ul",
|
|
5302
|
+
{
|
|
5303
|
+
ref,
|
|
5304
|
+
className: cn("flex flex-row items-center gap-1", className),
|
|
5305
|
+
...props
|
|
5306
|
+
}
|
|
5307
|
+
));
|
|
5308
|
+
PaginationContent.displayName = "PaginationContent";
|
|
5309
|
+
var PaginationItem = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, className: cn("", className), ...props }));
|
|
5310
|
+
PaginationItem.displayName = "PaginationItem";
|
|
5311
|
+
var PaginationLink = ({
|
|
5312
|
+
className,
|
|
5313
|
+
isActive,
|
|
5314
|
+
size = "icon",
|
|
5315
|
+
...props
|
|
5316
|
+
}) => /* @__PURE__ */ jsx(
|
|
5317
|
+
"a",
|
|
5318
|
+
{
|
|
5319
|
+
"aria-current": isActive ? "page" : void 0,
|
|
5320
|
+
className: cn(
|
|
5321
|
+
buttonVariants({
|
|
5322
|
+
variant: isActive ? "outline" : "ghost",
|
|
5323
|
+
size
|
|
5324
|
+
}),
|
|
5325
|
+
className
|
|
5326
|
+
),
|
|
5327
|
+
...props
|
|
5328
|
+
}
|
|
5329
|
+
);
|
|
5330
|
+
PaginationLink.displayName = "PaginationLink";
|
|
5331
|
+
var PaginationPrevious = ({
|
|
5332
|
+
className,
|
|
5333
|
+
...props
|
|
5334
|
+
}) => /* @__PURE__ */ jsxs(
|
|
5335
|
+
PaginationLink,
|
|
5336
|
+
{
|
|
5337
|
+
"aria-label": "Go to previous page",
|
|
5338
|
+
size: "default",
|
|
5339
|
+
className: cn("gap-1 pl-2.5", className),
|
|
5340
|
+
...props,
|
|
5341
|
+
children: [
|
|
5342
|
+
/* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4" }),
|
|
5343
|
+
/* @__PURE__ */ jsx("span", { children: "Previous" })
|
|
5344
|
+
]
|
|
5345
|
+
}
|
|
5346
|
+
);
|
|
5347
|
+
PaginationPrevious.displayName = "PaginationPrevious";
|
|
5348
|
+
var PaginationNext = ({
|
|
5349
|
+
className,
|
|
5350
|
+
...props
|
|
5351
|
+
}) => /* @__PURE__ */ jsxs(
|
|
5352
|
+
PaginationLink,
|
|
5353
|
+
{
|
|
5354
|
+
"aria-label": "Go to next page",
|
|
5355
|
+
size: "default",
|
|
5356
|
+
className: cn("gap-1 pr-2.5", className),
|
|
5357
|
+
...props,
|
|
5358
|
+
children: [
|
|
5359
|
+
/* @__PURE__ */ jsx("span", { children: "Next" }),
|
|
5360
|
+
/* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4" })
|
|
5361
|
+
]
|
|
5362
|
+
}
|
|
5363
|
+
);
|
|
5364
|
+
PaginationNext.displayName = "PaginationNext";
|
|
5365
|
+
var PaginationEllipsis = ({
|
|
5366
|
+
className,
|
|
5367
|
+
...props
|
|
5368
|
+
}) => /* @__PURE__ */ jsxs(
|
|
5369
|
+
"span",
|
|
5370
|
+
{
|
|
5371
|
+
"aria-hidden": true,
|
|
5372
|
+
className: cn("flex h-9 w-9 items-center justify-center", className),
|
|
5373
|
+
...props,
|
|
5374
|
+
children: [
|
|
5375
|
+
/* @__PURE__ */ jsx(MoreHorizontal, { className: "h-4 w-4" }),
|
|
5376
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "More pages" })
|
|
5377
|
+
]
|
|
5378
|
+
}
|
|
5379
|
+
);
|
|
5380
|
+
PaginationEllipsis.displayName = "PaginationEllipsis";
|
|
5290
5381
|
var progressVariants = cva(
|
|
5291
5382
|
"relative overflow-hidden bg-muted",
|
|
5292
5383
|
{
|
|
@@ -7138,6 +7229,6 @@ var SimpleTooltip = t.forwardRef(
|
|
|
7138
7229
|
);
|
|
7139
7230
|
SimpleTooltip.displayName = "SimpleTooltip";
|
|
7140
7231
|
|
|
7141
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarGroup, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxGroup, CheckboxLabel, CheckboxWithLabel, Collapsible2 as Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DatePicker, DateRangePicker, DateTimePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogForm, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, Label2 as Label, MonthPicker, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverFooter, PopoverHeader, PopoverSeparator, PopoverTrigger, Progress, RadioGroup2 as RadioGroup, RadioGroupItem, RadioItemWithLabel, RadioLabel, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator3 as Separator, SimpleTooltip, Skeleton, SkeletonAvatar, SkeletonCard, SkeletonText, Slider, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle2 as Toggle, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, aspectRatioVariants, badgeVariants, buttonVariants, cn, collapsibleContentVariants, collapsibleTriggerVariants, format, formatCurrency, formatDate, generateId, getClientIP, popoverContentVariants, progressVariants, separatorVariants, skeletonVariants, toast, toggleVariants, tooltipVariants, truncateText, useToast };
|
|
7232
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarGroup, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxGroup, CheckboxLabel, CheckboxWithLabel, Collapsible2 as Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DatePicker, DateRangePicker, DateTimePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogForm, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, Label2 as Label, MonthPicker, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverFooter, PopoverHeader, PopoverSeparator, PopoverTrigger, Progress, RadioGroup2 as RadioGroup, RadioGroupItem, RadioItemWithLabel, RadioLabel, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator3 as Separator, SimpleTooltip, Skeleton, SkeletonAvatar, SkeletonCard, SkeletonText, Slider, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle2 as Toggle, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, aspectRatioVariants, badgeVariants, buttonVariants, cn, collapsibleContentVariants, collapsibleTriggerVariants, format, formatCurrency, formatDate, generateId, getClientIP, popoverContentVariants, progressVariants, separatorVariants, skeletonVariants, toast, toggleVariants, tooltipVariants, truncateText, useToast };
|
|
7142
7233
|
//# sourceMappingURL=out.js.map
|
|
7143
7234
|
//# sourceMappingURL=index.mjs.map
|