xertica-ui 2.5.2 → 2.5.3
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/CHANGELOG.md +8 -0
- package/README.md +1 -1
- package/bin/language-config.ts +359 -359
- package/components/layout/sidebar/sidebar.tsx +10 -5
- package/components/pages/home-content/HomeContent.tsx +119 -120
- package/components/pages/template-content/TemplateContent.tsx +1353 -1354
- package/dist/AssistantChart-BW9JK6jw.cjs +3551 -0
- package/dist/AssistantChart-DNdwuS-t.js +3383 -0
- package/dist/VerifyEmailPage-Bci0bA-P.js +3296 -0
- package/dist/VerifyEmailPage-C7KiYXrm.cjs +3305 -0
- package/dist/assistant.cjs.js +1 -1
- package/dist/assistant.es.js +1 -1
- package/dist/index.cjs.js +8 -8
- package/dist/index.es.js +6 -6
- package/dist/input-B0_vbA3g.js +65 -0
- package/dist/input-ByYuOv8A.cjs +91 -0
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +1 -1
- package/dist/pages.cjs.js +1 -1
- package/dist/pages.es.js +1 -1
- package/dist/rich-text-editor-DV1SixzE.js +2890 -0
- package/dist/rich-text-editor-DnSDglzW.cjs +2964 -0
- package/dist/sidebar-CQn_rwxP.cjs +1150 -0
- package/dist/sidebar-QwCoeoZ_.js +1147 -0
- package/dist/ui.cjs.js +5 -5
- package/dist/ui.es.js +3 -3
- package/dist/xertica-assistant-BrF9jScR.cjs +2180 -0
- package/dist/xertica-assistant-CsBsxTsI.js +2173 -0
- package/llms-compact.txt +1 -1
- package/llms.txt +1 -1
- package/package.json +1 -1
- package/templates/package.json +2 -2
- package/templates/src/features/home/ui/HomeContent.tsx +116 -117
- package/templates/src/features/template/ui/TemplateContent.tsx +1321 -1322
package/dist/assistant.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const xerticaAssistant = require('./xertica-assistant-
|
|
5
|
+
const xerticaAssistant = require('./xertica-assistant-BrF9jScR.cjs');
|
|
6
6
|
const CodeBlock = require('./CodeBlock-EOvp9cVu.cjs');
|
|
7
7
|
|
|
8
8
|
const generateDemoResponse = (mensagemUsuario) => {
|
package/dist/assistant.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { F as FormattedDocument, M as MarkdownMessage, a as ModernChatInput, X as XerticaAssistant, u as useAssistant } from './xertica-assistant-
|
|
1
|
+
export { F as FormattedDocument, M as MarkdownMessage, a as ModernChatInput, X as XerticaAssistant, u as useAssistant } from './xertica-assistant-CsBsxTsI.js';
|
|
2
2
|
export { C as CodeBlock } from './CodeBlock-DYkTfR0f.js';
|
|
3
3
|
|
|
4
4
|
const generateDemoResponse = (mensagemUsuario) => {
|
package/dist/index.cjs.js
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const xerticaAssistant = require('./xertica-assistant-
|
|
5
|
+
const xerticaAssistant = require('./xertica-assistant-BrF9jScR.cjs');
|
|
6
6
|
const XerticaProvider = require('./XerticaProvider-CeS5G_n5.cjs');
|
|
7
|
-
const VerifyEmailPage = require('./VerifyEmailPage-
|
|
7
|
+
const VerifyEmailPage = require('./VerifyEmailPage-C7KiYXrm.cjs');
|
|
8
8
|
const button = require('./button-0BlA47It.cjs');
|
|
9
9
|
const skeleton = require('./skeleton-DjiHerJn.cjs');
|
|
10
10
|
const alertDialog = require('./alert-dialog-DhwPioBa.cjs');
|
|
11
|
-
const AssistantChart = require('./AssistantChart-
|
|
11
|
+
const AssistantChart = require('./AssistantChart-BW9JK6jw.cjs');
|
|
12
12
|
const breadcrumb = require('./breadcrumb-BKtHF4gk.cjs');
|
|
13
|
-
const input = require('./input-
|
|
14
|
-
const richTextEditor = require('./rich-text-editor-
|
|
13
|
+
const input = require('./input-ByYuOv8A.cjs');
|
|
14
|
+
const richTextEditor = require('./rich-text-editor-DnSDglzW.cjs');
|
|
15
15
|
const slider = require('./slider-B00b9SVK.cjs');
|
|
16
16
|
const select = require('./select-CH6v_KcQ.cjs');
|
|
17
17
|
const tooltip = require('./tooltip-D8n9UYoU.cjs');
|
|
@@ -26,7 +26,7 @@ const FeatureCardSkeleton = require('./FeatureCardSkeleton-pTa0YNKP.cjs');
|
|
|
26
26
|
const CodeBlock = require('./CodeBlock-EOvp9cVu.cjs');
|
|
27
27
|
const XerticaXLogo = require('./XerticaXLogo-qBPhwK3g.cjs');
|
|
28
28
|
const XerticaOrbe = require('./XerticaOrbe-Uk2JML1-.cjs');
|
|
29
|
-
const sidebar = require('./sidebar-
|
|
29
|
+
const sidebar = require('./sidebar-CQn_rwxP.cjs');
|
|
30
30
|
require('react');
|
|
31
31
|
const LayoutContext = require('./LayoutContext-BEq_-n98.cjs');
|
|
32
32
|
const ThemeContext = require('./ThemeContext-CMD3z2Dz.cjs');
|
|
@@ -238,8 +238,6 @@ exports.Popover = input.Popover;
|
|
|
238
238
|
exports.PopoverAnchor = input.PopoverAnchor;
|
|
239
239
|
exports.PopoverContent = input.PopoverContent;
|
|
240
240
|
exports.PopoverTrigger = input.PopoverTrigger;
|
|
241
|
-
exports.ScrollArea = input.ScrollArea;
|
|
242
|
-
exports.ScrollBar = input.ScrollBar;
|
|
243
241
|
exports.Alert = richTextEditor.Alert;
|
|
244
242
|
exports.AlertDescription = richTextEditor.AlertDescription;
|
|
245
243
|
exports.AlertTitle = richTextEditor.AlertTitle;
|
|
@@ -278,6 +276,8 @@ exports.PieMetricChart = richTextEditor.PieMetricChart;
|
|
|
278
276
|
exports.RadarMetricChart = richTextEditor.RadarMetricChart;
|
|
279
277
|
exports.RadialBarMetricChart = richTextEditor.RadialBarMetricChart;
|
|
280
278
|
exports.RichTextEditor = richTextEditor.RichTextEditor;
|
|
279
|
+
exports.ScrollArea = richTextEditor.ScrollArea;
|
|
280
|
+
exports.ScrollBar = richTextEditor.ScrollBar;
|
|
281
281
|
exports.SparklineChart = richTextEditor.SparklineChart;
|
|
282
282
|
exports.Table = richTextEditor.Table;
|
|
283
283
|
exports.TableBody = richTextEditor.TableBody;
|
package/dist/index.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { F as FormattedDocument, M as MarkdownMessage, a as ModernChatInput, X as XerticaAssistant, g as generateDemoResponse, g as gerarResposta } from './xertica-assistant-
|
|
1
|
+
export { F as FormattedDocument, M as MarkdownMessage, a as ModernChatInput, X as XerticaAssistant, g as generateDemoResponse, g as gerarResposta } from './xertica-assistant-CsBsxTsI.js';
|
|
2
2
|
export { X as XerticaProvider } from './XerticaProvider-ra2NciRq.js';
|
|
3
|
-
export { F as ForgotPasswordPage, H as HomeContent, a as HomePage, L as LoginPage, R as ResetPasswordPage, T as TemplateContent, b as TemplatePage, V as VerifyEmailPage } from './VerifyEmailPage-
|
|
3
|
+
export { F as ForgotPasswordPage, H as HomeContent, a as HomePage, L as LoginPage, R as ResetPasswordPage, T as TemplateContent, b as TemplatePage, V as VerifyEmailPage } from './VerifyEmailPage-Bci0bA-P.js';
|
|
4
4
|
export { B as Button, b as buttonVariants, c as cn } from './button-DZHzN1Gd.js';
|
|
5
5
|
export { C as Card, a as CardAction, b as CardContent, c as CardDescription, d as CardFooter, e as CardHeader, f as CardTitle, S as Skeleton } from './skeleton-DtR5tkYe.js';
|
|
6
6
|
export { A as AlertDialog, a as AlertDialogAction, b as AlertDialogCancel, c as AlertDialogContent, d as AlertDialogDescription, e as AlertDialogFooter, f as AlertDialogHeader, g as AlertDialogOverlay, h as AlertDialogPortal, i as AlertDialogTitle, j as AlertDialogTrigger, C as Checkbox, I as ImageWithFallback, L as Label, M as Map, P as PageHeader, k as PageHeaderDescription, l as PageHeaderHeading, R as RadioGroup, m as RadioGroupItem, S as Separator, n as Switch, T as Tabs, o as TabsContent, p as TabsList, q as TabsTrigger, u as useMapLayers } from './alert-dialog-DqlRW_An.js';
|
|
7
|
-
export { A as Accordion, a as AccordionContent, b as AccordionItem, c as AccordionTrigger, d as AspectRatio, e as AssistantChart, C as Calendar, f as CalendarDayButton, g as Carousel, h as CarouselContent, i as CarouselItem, j as CarouselNext, k as CarouselPrevious, l as Collapsible, m as CollapsibleContent, n as CollapsibleTrigger, o as Command, p as CommandDialog, q as CommandEmpty, r as CommandGroup, s as CommandInput, t as CommandItem, u as CommandList, v as CommandSeparator, w as CommandShortcut, x as ContextMenu, y as ContextMenuCheckboxItem, z as ContextMenuContent, B as ContextMenuGroup, D as ContextMenuItem, E as ContextMenuLabel, F as ContextMenuPortal, G as ContextMenuRadioGroup, H as ContextMenuRadioItem, I as ContextMenuSeparator, J as ContextMenuShortcut, K as ContextMenuSub, L as ContextMenuSubContent, M as ContextMenuSubTrigger, N as ContextMenuTrigger, O as Drawer, P as DrawerClose, Q as DrawerContent, R as DrawerDescription, S as DrawerFooter, T as DrawerHandle, U as DrawerHeader, V as DrawerOverlay, W as DrawerPortal, X as DrawerTitle, Y as DrawerTrigger, Z as FileUpload, _ as Form, $ as FormControl, a0 as FormDescription, a1 as FormField, a2 as FormItem, a3 as FormLabel, a4 as FormMessage, a5 as HoverCard, a6 as HoverCardContent, a7 as HoverCardTrigger, a8 as InputOTP, a9 as InputOTPGroup, aa as InputOTPSeparator, ab as InputOTPSlot, ac as Menubar, ad as MenubarCheckboxItem, ae as MenubarContent, af as MenubarGroup, ag as MenubarItem, ah as MenubarLabel, ai as MenubarMenu, aj as MenubarPortal, ak as MenubarRadioGroup, al as MenubarRadioItem, am as MenubarSeparator, an as MenubarShortcut, ao as MenubarSub, ap as MenubarSubContent, aq as MenubarSubTrigger, ar as MenubarTrigger, as as NavigationMenu, at as NavigationMenuContent, au as NavigationMenuIndicator, av as NavigationMenuItem, aw as NavigationMenuLink, ax as NavigationMenuList, ay as NavigationMenuTrigger, az as NavigationMenuViewport, aA as NotificationBadge, aB as Pagination, aC as PaginationContent, aD as PaginationEllipsis, aE as PaginationItem, aF as PaginationLink, aG as PaginationNext, aH as PaginationPrevious, aI as Rating, aJ as ResizableHandle, aK as ResizablePanel, aL as ResizablePanelGroup, aM as RouteMap, aN as Search, aO as Sheet, aP as SheetBody, aQ as SheetClose, aR as SheetContent, aS as SheetDescription, aT as SheetFooter, aU as SheetHeader, aV as SheetPortal, aW as SheetTitle, aX as SheetTrigger, aY as SimpleMap, aZ as StatsCard, a_ as StatsCardSkeleton, a$ as Step, b0 as Stepper, b1 as Timeline, b2 as TimelineContent, b3 as TimelineDescription, b4 as TimelineDot, b5 as TimelineHeading, b6 as TimelineItem, b7 as TimelineTime, b8 as Toggle, b9 as ToggleGroup, ba as ToggleGroupItem, bb as TreeView, bc as navigationMenuTriggerStyle, bd as toggleVariants, be as useFileUpload, bf as useFormField, bg as usePagination, bh as useStepper, bi as useStepperContext, bj as useTreeView } from './AssistantChart-
|
|
7
|
+
export { A as Accordion, a as AccordionContent, b as AccordionItem, c as AccordionTrigger, d as AspectRatio, e as AssistantChart, C as Calendar, f as CalendarDayButton, g as Carousel, h as CarouselContent, i as CarouselItem, j as CarouselNext, k as CarouselPrevious, l as Collapsible, m as CollapsibleContent, n as CollapsibleTrigger, o as Command, p as CommandDialog, q as CommandEmpty, r as CommandGroup, s as CommandInput, t as CommandItem, u as CommandList, v as CommandSeparator, w as CommandShortcut, x as ContextMenu, y as ContextMenuCheckboxItem, z as ContextMenuContent, B as ContextMenuGroup, D as ContextMenuItem, E as ContextMenuLabel, F as ContextMenuPortal, G as ContextMenuRadioGroup, H as ContextMenuRadioItem, I as ContextMenuSeparator, J as ContextMenuShortcut, K as ContextMenuSub, L as ContextMenuSubContent, M as ContextMenuSubTrigger, N as ContextMenuTrigger, O as Drawer, P as DrawerClose, Q as DrawerContent, R as DrawerDescription, S as DrawerFooter, T as DrawerHandle, U as DrawerHeader, V as DrawerOverlay, W as DrawerPortal, X as DrawerTitle, Y as DrawerTrigger, Z as FileUpload, _ as Form, $ as FormControl, a0 as FormDescription, a1 as FormField, a2 as FormItem, a3 as FormLabel, a4 as FormMessage, a5 as HoverCard, a6 as HoverCardContent, a7 as HoverCardTrigger, a8 as InputOTP, a9 as InputOTPGroup, aa as InputOTPSeparator, ab as InputOTPSlot, ac as Menubar, ad as MenubarCheckboxItem, ae as MenubarContent, af as MenubarGroup, ag as MenubarItem, ah as MenubarLabel, ai as MenubarMenu, aj as MenubarPortal, ak as MenubarRadioGroup, al as MenubarRadioItem, am as MenubarSeparator, an as MenubarShortcut, ao as MenubarSub, ap as MenubarSubContent, aq as MenubarSubTrigger, ar as MenubarTrigger, as as NavigationMenu, at as NavigationMenuContent, au as NavigationMenuIndicator, av as NavigationMenuItem, aw as NavigationMenuLink, ax as NavigationMenuList, ay as NavigationMenuTrigger, az as NavigationMenuViewport, aA as NotificationBadge, aB as Pagination, aC as PaginationContent, aD as PaginationEllipsis, aE as PaginationItem, aF as PaginationLink, aG as PaginationNext, aH as PaginationPrevious, aI as Rating, aJ as ResizableHandle, aK as ResizablePanel, aL as ResizablePanelGroup, aM as RouteMap, aN as Search, aO as Sheet, aP as SheetBody, aQ as SheetClose, aR as SheetContent, aS as SheetDescription, aT as SheetFooter, aU as SheetHeader, aV as SheetPortal, aW as SheetTitle, aX as SheetTrigger, aY as SimpleMap, aZ as StatsCard, a_ as StatsCardSkeleton, a$ as Step, b0 as Stepper, b1 as Timeline, b2 as TimelineContent, b3 as TimelineDescription, b4 as TimelineDot, b5 as TimelineHeading, b6 as TimelineItem, b7 as TimelineTime, b8 as Toggle, b9 as ToggleGroup, ba as ToggleGroupItem, bb as TreeView, bc as navigationMenuTriggerStyle, bd as toggleVariants, be as useFileUpload, bf as useFormField, bg as usePagination, bh as useStepper, bi as useStepperContext, bj as useTreeView } from './AssistantChart-DNdwuS-t.js';
|
|
8
8
|
export { B as Breadcrumb, a as BreadcrumbEllipsis, b as BreadcrumbItem, c as BreadcrumbLink, d as BreadcrumbList, e as BreadcrumbPage, f as BreadcrumbSeparator } from './breadcrumb-ifNsA7Zl.js';
|
|
9
|
-
export { I as Input, P as Popover, a as PopoverAnchor, b as PopoverContent, c as PopoverTrigger
|
|
10
|
-
export { A as Alert, a as AlertDescription, b as AlertTitle, C as ChartCard, c as ChartContainer, d as ChartLegend, e as ChartLegendContent, f as ChartStyle, g as ChartTooltip, h as ChartTooltipContent, i as ComboMetricChart, D as DashboardBarChart, j as DashboardLineChart, k as Dialog, l as DialogBody, m as DialogClose, n as DialogContent, o as DialogDescription, p as DialogFooter, q as DialogHeader, r as DialogOverlay, s as DialogPortal, t as DialogTitle, u as DialogTrigger, v as DonutBreakdownChart, E as Empty, w as EmptyAction, x as EmptyDescription, y as EmptyIcon, z as EmptyImage, B as EmptyTitle, G as GaugeChart, H as HorizontalBarChart, I as InteractiveTimeSeriesChart, P as PieMetricChart, R as RadarMetricChart, F as RadialBarMetricChart, J as RichTextEditor, S as SparklineChart, T as Table,
|
|
9
|
+
export { I as Input, P as Popover, a as PopoverAnchor, b as PopoverContent, c as PopoverTrigger } from './input-B0_vbA3g.js';
|
|
10
|
+
export { A as Alert, a as AlertDescription, b as AlertTitle, C as ChartCard, c as ChartContainer, d as ChartLegend, e as ChartLegendContent, f as ChartStyle, g as ChartTooltip, h as ChartTooltipContent, i as ComboMetricChart, D as DashboardBarChart, j as DashboardLineChart, k as Dialog, l as DialogBody, m as DialogClose, n as DialogContent, o as DialogDescription, p as DialogFooter, q as DialogHeader, r as DialogOverlay, s as DialogPortal, t as DialogTitle, u as DialogTrigger, v as DonutBreakdownChart, E as Empty, w as EmptyAction, x as EmptyDescription, y as EmptyIcon, z as EmptyImage, B as EmptyTitle, G as GaugeChart, H as HorizontalBarChart, I as InteractiveTimeSeriesChart, P as PieMetricChart, R as RadarMetricChart, F as RadialBarMetricChart, J as RichTextEditor, S as ScrollArea, K as ScrollBar, L as SparklineChart, T as Table, M as TableBody, N as TableCaption, O as TableCell, Q as TableFooter, U as TableHead, V as TableHeader, W as TableRow, X as Textarea, Y as useChart, Z as useRichTextEditor } from './rich-text-editor-DV1SixzE.js';
|
|
11
11
|
export { S as Slider } from './slider-DQCNUUMj.js';
|
|
12
12
|
export { S as Select, a as SelectContent, b as SelectGroup, c as SelectItem, d as SelectLabel, e as SelectScrollDownButton, f as SelectScrollUpButton, g as SelectSeparator, h as SelectTrigger, i as SelectValue } from './select-D-xvCZK2.js';
|
|
13
13
|
export { T as Tooltip, a as TooltipContent, b as TooltipProvider, c as TooltipTrigger } from './tooltip-RtbSmPYJ.js';
|
|
@@ -22,7 +22,7 @@ export { F as FeatureCardSkeleton } from './FeatureCardSkeleton-DZqc96mt.js';
|
|
|
22
22
|
export { C as CodeBlock } from './CodeBlock-DYkTfR0f.js';
|
|
23
23
|
export { L as LanguageSelector, T as ThemeToggle, X as XerticaLogo, a as XerticaXLogo } from './XerticaXLogo-BX3ueACh.js';
|
|
24
24
|
export { X as XerticaOrbe } from './XerticaOrbe-jA5T2iOk.js';
|
|
25
|
-
export { H as Header, S as Sidebar } from './sidebar-
|
|
25
|
+
export { H as Header, S as Sidebar } from './sidebar-QwCoeoZ_.js';
|
|
26
26
|
import 'react';
|
|
27
27
|
export { L as LayoutProvider, u as useLayout, a as useOptionalLayout } from './LayoutContext-DNl1xSoX.js';
|
|
28
28
|
export { D as DEFAULT_LANGUAGES, L as LanguageProvider, r as registerLanguageResource, u as useLanguage } from './ThemeContext-x_F2zsnv.js';
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
3
|
+
import { c as cn } from './button-DZHzN1Gd.js';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
|
|
6
|
+
function Popover({ ...props }) {
|
|
7
|
+
return /* @__PURE__ */ jsx(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
|
|
8
|
+
}
|
|
9
|
+
function PopoverTrigger({ ...props }) {
|
|
10
|
+
return /* @__PURE__ */ jsx(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
|
|
11
|
+
}
|
|
12
|
+
function PopoverContent({
|
|
13
|
+
className,
|
|
14
|
+
align = "center",
|
|
15
|
+
sideOffset = 4,
|
|
16
|
+
...props
|
|
17
|
+
}) {
|
|
18
|
+
return /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx(
|
|
19
|
+
PopoverPrimitive.Content,
|
|
20
|
+
{
|
|
21
|
+
"data-slot": "popover-content",
|
|
22
|
+
align,
|
|
23
|
+
sideOffset,
|
|
24
|
+
className: cn(
|
|
25
|
+
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",
|
|
26
|
+
className
|
|
27
|
+
),
|
|
28
|
+
...props
|
|
29
|
+
}
|
|
30
|
+
) });
|
|
31
|
+
}
|
|
32
|
+
function PopoverAnchor({ ...props }) {
|
|
33
|
+
return /* @__PURE__ */ jsx(PopoverPrimitive.Anchor, { "data-slot": "popover-anchor", ...props });
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
const Input = React.forwardRef(
|
|
37
|
+
({ className, type, size = "md", ...props }, ref) => {
|
|
38
|
+
const sizeClasses = {
|
|
39
|
+
sm: "h-8 px-2 py-1 text-sm",
|
|
40
|
+
md: "h-10 px-3 py-2 text-base",
|
|
41
|
+
lg: "h-12 px-4 py-3 text-base"
|
|
42
|
+
};
|
|
43
|
+
return /* @__PURE__ */ jsx(
|
|
44
|
+
"input",
|
|
45
|
+
{
|
|
46
|
+
type,
|
|
47
|
+
"data-slot": "input",
|
|
48
|
+
className: cn(
|
|
49
|
+
"flex w-full min-w-0 bg-background rounded-[var(--radius)] border border-border transition-colors outline-none text-foreground",
|
|
50
|
+
"placeholder:text-muted-foreground",
|
|
51
|
+
"focus:ring-2 focus:ring-primary focus:border-transparent",
|
|
52
|
+
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
53
|
+
"file:border-0 file:bg-transparent file:text-sm file:font-medium",
|
|
54
|
+
sizeClasses[size],
|
|
55
|
+
className
|
|
56
|
+
),
|
|
57
|
+
ref,
|
|
58
|
+
...props
|
|
59
|
+
}
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
);
|
|
63
|
+
Input.displayName = "Input";
|
|
64
|
+
|
|
65
|
+
export { Input as I, Popover as P, PopoverAnchor as a, PopoverContent as b, PopoverTrigger as c };
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
4
|
+
const PopoverPrimitive = require('@radix-ui/react-popover');
|
|
5
|
+
const button = require('./button-0BlA47It.cjs');
|
|
6
|
+
const React = require('react');
|
|
7
|
+
|
|
8
|
+
function _interopNamespaceDefault(e) {
|
|
9
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
|
|
10
|
+
if (e) {
|
|
11
|
+
for (const k in e) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: () => e[k]
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
n.default = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
const PopoverPrimitive__namespace = /*#__PURE__*/_interopNamespaceDefault(PopoverPrimitive);
|
|
26
|
+
const React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
|
27
|
+
|
|
28
|
+
function Popover({ ...props }) {
|
|
29
|
+
return /* @__PURE__ */ jsxRuntime.jsx(PopoverPrimitive__namespace.Root, { "data-slot": "popover", ...props });
|
|
30
|
+
}
|
|
31
|
+
function PopoverTrigger({ ...props }) {
|
|
32
|
+
return /* @__PURE__ */ jsxRuntime.jsx(PopoverPrimitive__namespace.Trigger, { "data-slot": "popover-trigger", ...props });
|
|
33
|
+
}
|
|
34
|
+
function PopoverContent({
|
|
35
|
+
className,
|
|
36
|
+
align = "center",
|
|
37
|
+
sideOffset = 4,
|
|
38
|
+
...props
|
|
39
|
+
}) {
|
|
40
|
+
return /* @__PURE__ */ jsxRuntime.jsx(PopoverPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
41
|
+
PopoverPrimitive__namespace.Content,
|
|
42
|
+
{
|
|
43
|
+
"data-slot": "popover-content",
|
|
44
|
+
align,
|
|
45
|
+
sideOffset,
|
|
46
|
+
className: button.cn(
|
|
47
|
+
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",
|
|
48
|
+
className
|
|
49
|
+
),
|
|
50
|
+
...props
|
|
51
|
+
}
|
|
52
|
+
) });
|
|
53
|
+
}
|
|
54
|
+
function PopoverAnchor({ ...props }) {
|
|
55
|
+
return /* @__PURE__ */ jsxRuntime.jsx(PopoverPrimitive__namespace.Anchor, { "data-slot": "popover-anchor", ...props });
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
const Input = React__namespace.forwardRef(
|
|
59
|
+
({ className, type, size = "md", ...props }, ref) => {
|
|
60
|
+
const sizeClasses = {
|
|
61
|
+
sm: "h-8 px-2 py-1 text-sm",
|
|
62
|
+
md: "h-10 px-3 py-2 text-base",
|
|
63
|
+
lg: "h-12 px-4 py-3 text-base"
|
|
64
|
+
};
|
|
65
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
66
|
+
"input",
|
|
67
|
+
{
|
|
68
|
+
type,
|
|
69
|
+
"data-slot": "input",
|
|
70
|
+
className: button.cn(
|
|
71
|
+
"flex w-full min-w-0 bg-background rounded-[var(--radius)] border border-border transition-colors outline-none text-foreground",
|
|
72
|
+
"placeholder:text-muted-foreground",
|
|
73
|
+
"focus:ring-2 focus:ring-primary focus:border-transparent",
|
|
74
|
+
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
75
|
+
"file:border-0 file:bg-transparent file:text-sm file:font-medium",
|
|
76
|
+
sizeClasses[size],
|
|
77
|
+
className
|
|
78
|
+
),
|
|
79
|
+
ref,
|
|
80
|
+
...props
|
|
81
|
+
}
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
);
|
|
85
|
+
Input.displayName = "Input";
|
|
86
|
+
|
|
87
|
+
exports.Input = Input;
|
|
88
|
+
exports.Popover = Popover;
|
|
89
|
+
exports.PopoverAnchor = PopoverAnchor;
|
|
90
|
+
exports.PopoverContent = PopoverContent;
|
|
91
|
+
exports.PopoverTrigger = PopoverTrigger;
|
package/dist/layout.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const sidebar = require('./sidebar-
|
|
5
|
+
const sidebar = require('./sidebar-CQn_rwxP.cjs');
|
|
6
6
|
const React = require('react');
|
|
7
7
|
const useMobile = require('./use-mobile-BdXTRb0Z.cjs');
|
|
8
8
|
|
package/dist/layout.es.js
CHANGED
package/dist/pages.cjs.js
CHANGED
package/dist/pages.es.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { F as ForgotPasswordPage, H as HomeContent, a as HomePage, L as LoginPage, R as ResetPasswordPage, T as TemplateContent, b as TemplatePage, V as VerifyEmailPage } from './VerifyEmailPage-
|
|
1
|
+
export { F as ForgotPasswordPage, H as HomeContent, a as HomePage, L as LoginPage, R as ResetPasswordPage, T as TemplateContent, b as TemplatePage, V as VerifyEmailPage } from './VerifyEmailPage-Bci0bA-P.js';
|