xertica-ui 2.8.0 → 2.9.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/CHANGELOG.md +108 -0
- package/README.md +1 -1
- package/bin/cli.ts +327 -87
- package/bin/language-config.ts +58 -18
- package/components/blocks/auth/AuthPageShell.tsx +63 -18
- package/components/blocks/auth/SocialLoginButtons.tsx +3 -3
- package/components/blocks/index.ts +1 -0
- package/components/blocks/marketing/CTASection.tsx +73 -0
- package/components/blocks/marketing/ComplianceBadgeRow.tsx +49 -0
- package/components/blocks/marketing/EvidenceTimeline.tsx +91 -0
- package/components/blocks/marketing/FeatureRow.tsx +78 -0
- package/components/blocks/marketing/Hero.tsx +125 -0
- package/components/blocks/marketing/HowItWorksSteps.tsx +90 -0
- package/components/blocks/marketing/LogoCloud.tsx +47 -0
- package/components/blocks/marketing/MarketingFooter.tsx +109 -0
- package/components/blocks/marketing/MarketingNavbar.tsx +192 -0
- package/components/blocks/marketing/PillBadge.tsx +96 -0
- package/components/blocks/marketing/SectionHeading.tsx +82 -0
- package/components/blocks/marketing/ServiceCardGrid.tsx +238 -0
- package/components/blocks/marketing/StatBand.tsx +99 -0
- package/components/blocks/marketing/TopAccentCards.tsx +91 -0
- package/components/blocks/marketing/index.ts +41 -0
- package/components/brand/index.ts +1 -0
- package/components/brand/isotype/Isotype.tsx +64 -0
- package/components/brand/isotype/IsotypeDiagonal.tsx +51 -0
- package/components/brand/isotype/IsotypeFrames.tsx +82 -0
- package/components/brand/isotype/IsotypeMini.tsx +65 -0
- package/components/brand/isotype/IsotypeTwist.tsx +68 -0
- package/components/brand/isotype/frame-variants.ts +20 -0
- package/components/brand/isotype/index.ts +9 -0
- package/components/brand/isotype/isotype-diagonal.mdx +52 -0
- package/components/brand/isotype/isotype-diagonal.stories.tsx +44 -0
- package/components/brand/isotype/isotype-diagonal.test.tsx +180 -0
- package/components/brand/isotype/isotype-frames.mdx +50 -0
- package/components/brand/isotype/isotype-frames.stories.tsx +63 -0
- package/components/brand/isotype/isotype-frames.test.tsx +92 -0
- package/components/brand/isotype/isotype-mini.mdx +61 -0
- package/components/brand/isotype/isotype-mini.stories.tsx +75 -0
- package/components/brand/isotype/isotype-mini.test.tsx +45 -0
- package/components/brand/isotype/isotype-twist.test.tsx +71 -0
- package/components/brand/isotype/isotype.mdx +61 -0
- package/components/brand/isotype/isotype.stories.tsx +74 -0
- package/components/brand/isotype/isotype.test.tsx +41 -0
- package/components/brand/isotype/mini-patterns.ts +50 -0
- package/components/brand/isotype/patterns.ts +83 -0
- package/components/brand/isotype/twist-variants.ts +20 -0
- package/components/pages/forgot-password-page/ForgotPasswordPage.tsx +3 -6
- package/components/pages/index.ts +1 -0
- package/components/pages/landing-page/LandingPage.tsx +360 -0
- package/components/pages/landing-page/index.ts +1 -0
- package/components/pages/login-page/LoginPage.tsx +3 -6
- package/components/pages/reset-password-page/ResetPasswordPage.tsx +1 -4
- package/components/pages/verify-email-page/VerifyEmailPage.tsx +2 -5
- package/components/ui/button/button.test.tsx +1 -1
- package/components/ui/button/button.tsx +7 -6
- package/components/ui/card/card.test.tsx +12 -0
- package/components/ui/card/card.tsx +5 -3
- package/components/ui/input-otp/input-otp.test.tsx +14 -1
- package/contexts/BrandColorsContext.tsx +9 -5
- package/contexts/theme-data.ts +32 -5
- package/dist/AssistantChart-BU48lxL2.js +3383 -0
- package/dist/AssistantChart-CoN6ga6Z.js +3383 -0
- package/dist/AssistantChart-DIRYJ7WY.js +3383 -0
- package/dist/AssistantChart-DOnY1ZlD.cjs +3551 -0
- package/dist/AssistantChart-DjM3qnp5.cjs +3551 -0
- package/dist/AssistantChart-hxPyE1S9.cjs +3551 -0
- package/dist/AudioPlayer-CpihsbaD.js +1278 -0
- package/dist/AudioPlayer-CvGajzMC.cjs +1282 -0
- package/dist/AudioPlayer-CvHpFqDG.cjs +1282 -0
- package/dist/AudioPlayer-D4S7GQou.js +1278 -0
- package/dist/BrandColorsContext-BNKLUVcU.js +829 -0
- package/dist/BrandColorsContext-DNZGHItQ.cjs +836 -0
- package/dist/BrandColorsContext-Ug_TZ8yn.cjs +846 -0
- package/dist/BrandColorsContext-z0O2LlZz.js +839 -0
- package/dist/CodeBlock-BkaZf-R8.cjs +223 -0
- package/dist/CodeBlock-CKu8LgbP.cjs +223 -0
- package/dist/CodeBlock-DiLS5LLI.js +221 -0
- package/dist/CodeBlock-zdylBGdZ.js +221 -0
- package/dist/CustomTooltipContent-BAR5qCQg.js +33 -0
- package/dist/CustomTooltipContent-CBLHBxX8.cjs +54 -0
- package/dist/CustomTooltipContent-CjWm3jjV.js +33 -0
- package/dist/CustomTooltipContent-DTV9MN9E.cjs +54 -0
- package/dist/EvidenceTimeline-DrRk4yqb.cjs +560 -0
- package/dist/EvidenceTimeline-l4MaV4C7.js +546 -0
- package/dist/FeatureCard-CIbBHqeY.cjs +497 -0
- package/dist/FeatureCard-DtoKPSfW.cjs +497 -0
- package/dist/FeatureCard-P4iEpBmB.js +485 -0
- package/dist/FeatureCard-e3f8bnF0.js +485 -0
- package/dist/ImageWithFallback-C1ww9Hg3.cjs +122 -0
- package/dist/ImageWithFallback-CBrkAEo3.cjs +122 -0
- package/dist/ImageWithFallback-CGk5zPH-.js +98 -0
- package/dist/ImageWithFallback-CfnoFFSP.js +98 -0
- package/dist/Isotype--fRZWwS6.js +85 -0
- package/dist/Isotype-0dpLqetB.js +85 -0
- package/dist/Isotype-B8XLEXSB.cjs +92 -0
- package/dist/Isotype-ChKwN7e-.cjs +91 -0
- package/dist/IsotypeDiagonal-CuPYPP4f.js +84 -0
- package/dist/IsotypeDiagonal-eNcOXRAc.cjs +91 -0
- package/dist/IsotypeDiagonal-oiwpXZhE.js +104 -0
- package/dist/IsotypeDiagonal-xMFoFXkb.cjs +109 -0
- package/dist/IsotypeFrames-BcWtyAWp.cjs +83 -0
- package/dist/IsotypeFrames-BnvSJKiH.cjs +73 -0
- package/dist/IsotypeFrames-iDRTRuIu.js +79 -0
- package/dist/IsotypeFrames-qoXOvOJt.js +69 -0
- package/dist/IsotypeMini-CQtWVo3h.js +126 -0
- package/dist/IsotypeMini-Cu_sW5yN.cjs +134 -0
- package/dist/IsotypeTwist-BTdNL4iV.js +106 -0
- package/dist/IsotypeTwist-DvsUgZs_.cjs +115 -0
- package/dist/LanguageContext-B1aOXO-K.js +1987 -0
- package/dist/LanguageContext-BP0k7AzI.js +1993 -0
- package/dist/LanguageContext-CChcIHIG.cjs +1998 -0
- package/dist/LanguageContext-ubC7TSs_.cjs +1992 -0
- package/dist/LanguageSelector-BLFPXGo8.cjs +48 -0
- package/dist/LanguageSelector-CYRzWkRZ.cjs +48 -0
- package/dist/LanguageSelector-CyHjZgC4.cjs +48 -0
- package/dist/LanguageSelector-DE8lIySO.js +46 -0
- package/dist/LanguageSelector-DUr1hjBW.js +46 -0
- package/dist/LanguageSelector-DjbWIKWC.js +46 -0
- package/dist/LogoCloud-C_uMKVNg.cjs +513 -0
- package/dist/LogoCloud-DJsMPNPh.js +500 -0
- package/dist/MarketingFooter-B_ycEdTJ.cjs +727 -0
- package/dist/MarketingFooter-Bhx-2Vlr.cjs +727 -0
- package/dist/MarketingFooter-Br1MGK9e.js +699 -0
- package/dist/MarketingFooter-BwE1vmeX.cjs +700 -0
- package/dist/MarketingFooter-CsZ1_xL9.js +709 -0
- package/dist/MarketingFooter-DCwf78Q4.cjs +716 -0
- package/dist/MarketingFooter-KH2r-OOL.js +709 -0
- package/dist/MarketingFooter-nB7G7gQ5.js +682 -0
- package/dist/SectionHeading-DEeOKcAd.cjs +857 -0
- package/dist/SectionHeading-DMNObcwm.js +838 -0
- package/dist/ThemeToggle--CGJjQJv.cjs +219 -0
- package/dist/ThemeToggle-Bn_7Pmfe.js +215 -0
- package/dist/ThemeToggle-CoL8Ady7.js +215 -0
- package/dist/ThemeToggle-D2Wzm5bn.cjs +219 -0
- package/dist/VerifyEmailPage-90lK6pP4.js +3258 -0
- package/dist/VerifyEmailPage-BJX1Rter.cjs +3320 -0
- package/dist/VerifyEmailPage-BSWvOgry.js +3310 -0
- package/dist/VerifyEmailPage-CDqIkhx-.js +3224 -0
- package/dist/VerifyEmailPage-Crxje3ZB.js +3323 -0
- package/dist/VerifyEmailPage-D2ShbuEN.cjs +3333 -0
- package/dist/VerifyEmailPage-DEBZXQ7c.cjs +3310 -0
- package/dist/VerifyEmailPage-DGaX-jZv.cjs +3268 -0
- package/dist/VerifyEmailPage-ZtOPkgOA.cjs +3234 -0
- package/dist/VerifyEmailPage-s927GSiR.js +3300 -0
- package/dist/XerticaOrbe-BHex09xs.js +1925 -0
- package/dist/XerticaOrbe-BKW3LJEz.js +1925 -0
- package/dist/XerticaOrbe-Br2i99U_.cjs +1927 -0
- package/dist/XerticaOrbe-kjFmuyx-.cjs +1927 -0
- package/dist/XerticaProvider-Bi5lKC9N.js +44 -0
- package/dist/XerticaProvider-BrPMVhiv.js +44 -0
- package/dist/XerticaProvider-CnX5kt5W.cjs +46 -0
- package/dist/XerticaProvider-DEKNJTlN.js +44 -0
- package/dist/XerticaProvider-X_wavDYA.cjs +46 -0
- package/dist/XerticaProvider-b3n_oL8w.cjs +46 -0
- package/dist/alert-dialog--qdlmB5i.cjs +872 -0
- package/dist/alert-dialog-C48TOdYU.cjs +872 -0
- package/dist/alert-dialog-CEPpnpXt.js +819 -0
- package/dist/alert-dialog-NjflitDa.js +819 -0
- package/dist/assistant.cjs.js +2 -2
- package/dist/assistant.es.js +2 -2
- package/dist/avatar-CtEKgg7s.cjs +77 -0
- package/dist/avatar-D03MNQxs.js +54 -0
- package/dist/avatar-Df7KgSvs.js +54 -0
- package/dist/avatar-Gy0_Xu9i.cjs +77 -0
- package/dist/blocks.cjs.js +33 -18
- package/dist/blocks.es.js +2 -2
- package/dist/brand.cjs.js +110 -4
- package/dist/brand.es.js +98 -4
- package/dist/breadcrumb-BGO5PZPG.js +90 -0
- package/dist/breadcrumb-BvGAY4ne.cjs +98 -0
- package/dist/breadcrumb-CU-punra.js +90 -0
- package/dist/breadcrumb-DjV9wfX1.cjs +98 -0
- package/dist/button-B05czY_8.js +62 -0
- package/dist/button-B3SE1liJ.js +62 -0
- package/dist/button-BMDlWZR8.cjs +85 -0
- package/dist/button-DVhloDtr.cjs +85 -0
- package/dist/cli.js +280 -62
- package/dist/components/blocks/auth/AuthPageShell.d.ts +21 -5
- package/dist/components/blocks/index.d.ts +1 -0
- package/dist/components/blocks/marketing/CTASection.d.ts +28 -0
- package/dist/components/blocks/marketing/ComplianceBadgeRow.d.ts +23 -0
- package/dist/components/blocks/marketing/EvidenceTimeline.d.ts +26 -0
- package/dist/components/blocks/marketing/FeatureRow.d.ts +25 -0
- package/dist/components/blocks/marketing/Hero.d.ts +35 -0
- package/dist/components/blocks/marketing/HowItWorksSteps.d.ts +29 -0
- package/dist/components/blocks/marketing/LogoCloud.d.ts +22 -0
- package/dist/components/blocks/marketing/MarketingFooter.d.ts +42 -0
- package/dist/components/blocks/marketing/MarketingNavbar.d.ts +47 -0
- package/dist/components/blocks/marketing/PillBadge.d.ts +21 -0
- package/dist/components/blocks/marketing/SectionHeading.d.ts +23 -0
- package/dist/components/blocks/marketing/ServiceCardGrid.d.ts +65 -0
- package/dist/components/blocks/marketing/StatBand.d.ts +25 -0
- package/dist/components/blocks/marketing/TopAccentCards.d.ts +29 -0
- package/dist/components/blocks/marketing/index.d.ts +28 -0
- package/dist/components/brand/index.d.ts +1 -0
- package/dist/components/brand/isotype/Isotype.d.ts +27 -0
- package/dist/components/brand/isotype/IsotypeDiagonal.d.ts +19 -0
- package/dist/components/brand/isotype/IsotypeFrames.d.ts +21 -0
- package/dist/components/brand/isotype/IsotypeMini.d.ts +26 -0
- package/dist/components/brand/isotype/IsotypeTwist.d.ts +22 -0
- package/dist/components/brand/isotype/frame-variants.d.ts +11 -0
- package/dist/components/brand/isotype/index.d.ts +9 -0
- package/dist/components/brand/isotype/mini-patterns.d.ts +25 -0
- package/dist/components/brand/isotype/patterns.d.ts +42 -0
- package/dist/components/brand/isotype/twist-variants.d.ts +11 -0
- package/dist/components/pages/forgot-password-page/ForgotPasswordPage.d.ts +2 -2
- package/dist/components/pages/index.d.ts +1 -0
- package/dist/components/pages/landing-page/LandingPage.d.ts +18 -0
- package/dist/components/pages/landing-page/index.d.ts +1 -0
- package/dist/components/pages/login-page/LoginPage.d.ts +2 -2
- package/dist/components/pages/verify-email-page/VerifyEmailPage.d.ts +1 -1
- package/dist/components/ui/card/card.d.ts +3 -1
- package/dist/contexts/theme-data.d.ts +6 -0
- package/dist/dropdown-menu-ChQa9zW3.cjs +225 -0
- package/dist/dropdown-menu-DRvnsQAt.cjs +225 -0
- package/dist/dropdown-menu-DUk81i5Y.js +190 -0
- package/dist/dropdown-menu-NlUHhVmK.js +190 -0
- package/dist/hooks.cjs.js +2 -2
- package/dist/hooks.es.js +2 -2
- package/dist/index.cjs.js +57 -41
- package/dist/index.es.js +25 -25
- package/dist/input-Csp_Metb.cjs +91 -0
- package/dist/input-DVRwGVLx.js +65 -0
- package/dist/input-Dqyj7Hdw.cjs +91 -0
- package/dist/input-dOgrFQ-3.js +65 -0
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +1 -1
- package/dist/media.cjs.js +1 -1
- package/dist/media.es.js +1 -1
- package/dist/pages.cjs.js +2 -1
- package/dist/pages.es.js +1 -1
- package/dist/rich-text-editor-7K7UjLJN.cjs +2968 -0
- package/dist/rich-text-editor-B3jLP2bm.cjs +2968 -0
- package/dist/rich-text-editor-BntMVQsB.js +2894 -0
- package/dist/rich-text-editor-Diz_onyB.js +2894 -0
- package/dist/rich-text-editor-RWvK4hd3.cjs +2968 -0
- package/dist/rich-text-editor-gauEkzPM.js +2894 -0
- package/dist/select-B6PygS38.cjs +161 -0
- package/dist/select-BD763J5Y.cjs +161 -0
- package/dist/select-QJDKZITN.js +130 -0
- package/dist/select-q7aDfuPn.js +130 -0
- package/dist/sidebar-Bkk1YAsD.cjs +1154 -0
- package/dist/sidebar-CuzYeOSz.cjs +1154 -0
- package/dist/sidebar-CwlW3LXE.js +1151 -0
- package/dist/sidebar-DNkf-Ug6.js +1151 -0
- package/dist/sidebar-DaS3fplw.cjs +1154 -0
- package/dist/sidebar-FDCY42oP.js +1151 -0
- package/dist/skeleton-BtBwJ39W.js +79 -0
- package/dist/skeleton-CJyg0eJ1.cjs +88 -0
- package/dist/skeleton-D8WaauK0.cjs +88 -0
- package/dist/skeleton-DBYtjaZW.cjs +88 -0
- package/dist/skeleton-DY_lSFWf.js +79 -0
- package/dist/skeleton-Df65Ox10.js +79 -0
- package/dist/slider-BKV_vvsh.cjs +78 -0
- package/dist/slider-B_lUjFNa.cjs +78 -0
- package/dist/slider-CtBpIaU4.js +56 -0
- package/dist/slider-KgWmSJbx.js +56 -0
- package/dist/tooltip-BPttuPxU.js +48 -0
- package/dist/tooltip-CIKRzQqE.cjs +72 -0
- package/dist/tooltip-CoDByjE_.cjs +72 -0
- package/dist/tooltip-_MAwsiOL.js +48 -0
- package/dist/ui.cjs.js +13 -13
- package/dist/ui.es.js +13 -13
- package/dist/xertica-assistant-B1xAl2Vn.js +2173 -0
- package/dist/xertica-assistant-BBUMaUXw.js +2173 -0
- package/dist/xertica-assistant-CWuBwfzt.cjs +2180 -0
- package/dist/xertica-assistant-D2hlwiEP.js +2173 -0
- package/dist/xertica-assistant-DN2J_sQQ.cjs +2180 -0
- package/dist/xertica-assistant-DdYS6WXT.cjs +2180 -0
- package/dist/xertica-ui.css +1 -1
- package/llms-compact.txt +1 -1
- package/llms.txt +1 -1
- package/package.json +4 -2
- package/styles/xertica/base.css +8 -0
- package/styles/xertica/tokens.css +1 -0
- package/templates/package.json +1 -1
- package/templates/src/app/components/AuthGuard.tsx +6 -0
- package/templates/src/features/auth/ui/ForgotPasswordContent.tsx +1 -4
- package/templates/src/features/auth/ui/LoginContent.tsx +1 -4
- package/templates/src/features/auth/ui/ResetPasswordContent.tsx +1 -4
- package/templates/src/features/auth/ui/VerifyEmailContent.tsx +1 -4
- package/templates/src/locales/en/pages/landing.json +175 -0
- package/templates/src/locales/es/pages/landing.json +175 -0
- package/templates/src/locales/pt-BR/pages/landing.json +175 -0
- package/templates/src/pages/LandingPage.tsx +349 -0
- package/templates/src/styles/xertica/tokens.css +1 -0
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
3
|
+
import { CheckIcon, CircleIcon, ChevronRightIcon } from 'lucide-react';
|
|
4
|
+
import { c as cn } from './button-B05czY_8.js';
|
|
5
|
+
|
|
6
|
+
function DropdownMenu({ ...props }) {
|
|
7
|
+
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
|
|
8
|
+
}
|
|
9
|
+
function DropdownMenuPortal({
|
|
10
|
+
...props
|
|
11
|
+
}) {
|
|
12
|
+
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { "data-slot": "dropdown-menu-portal", ...props });
|
|
13
|
+
}
|
|
14
|
+
function DropdownMenuTrigger({
|
|
15
|
+
...props
|
|
16
|
+
}) {
|
|
17
|
+
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Trigger, { "data-slot": "dropdown-menu-trigger", ...props });
|
|
18
|
+
}
|
|
19
|
+
function DropdownMenuContent({
|
|
20
|
+
className,
|
|
21
|
+
sideOffset = 4,
|
|
22
|
+
...props
|
|
23
|
+
}) {
|
|
24
|
+
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
|
|
25
|
+
DropdownMenuPrimitive.Content,
|
|
26
|
+
{
|
|
27
|
+
"data-slot": "dropdown-menu-content",
|
|
28
|
+
sideOffset,
|
|
29
|
+
className: cn(
|
|
30
|
+
"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 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",
|
|
31
|
+
className
|
|
32
|
+
),
|
|
33
|
+
...props
|
|
34
|
+
}
|
|
35
|
+
) });
|
|
36
|
+
}
|
|
37
|
+
function DropdownMenuGroup({ ...props }) {
|
|
38
|
+
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Group, { "data-slot": "dropdown-menu-group", ...props });
|
|
39
|
+
}
|
|
40
|
+
function DropdownMenuItem({
|
|
41
|
+
className,
|
|
42
|
+
inset,
|
|
43
|
+
variant = "default",
|
|
44
|
+
...props
|
|
45
|
+
}) {
|
|
46
|
+
return /* @__PURE__ */ jsx(
|
|
47
|
+
DropdownMenuPrimitive.Item,
|
|
48
|
+
{
|
|
49
|
+
"data-slot": "dropdown-menu-item",
|
|
50
|
+
"data-inset": inset,
|
|
51
|
+
"data-variant": variant,
|
|
52
|
+
className: cn(
|
|
53
|
+
"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
54
|
+
className
|
|
55
|
+
),
|
|
56
|
+
...props
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
function DropdownMenuCheckboxItem({
|
|
61
|
+
className,
|
|
62
|
+
children,
|
|
63
|
+
checked,
|
|
64
|
+
...props
|
|
65
|
+
}) {
|
|
66
|
+
return /* @__PURE__ */ jsxs(
|
|
67
|
+
DropdownMenuPrimitive.CheckboxItem,
|
|
68
|
+
{
|
|
69
|
+
"data-slot": "dropdown-menu-checkbox-item",
|
|
70
|
+
className: cn(
|
|
71
|
+
"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
72
|
+
className
|
|
73
|
+
),
|
|
74
|
+
checked,
|
|
75
|
+
...props,
|
|
76
|
+
children: [
|
|
77
|
+
/* @__PURE__ */ jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CheckIcon, { className: "size-4" }) }) }),
|
|
78
|
+
children
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
function DropdownMenuRadioGroup({
|
|
84
|
+
...props
|
|
85
|
+
}) {
|
|
86
|
+
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.RadioGroup, { "data-slot": "dropdown-menu-radio-group", ...props });
|
|
87
|
+
}
|
|
88
|
+
function DropdownMenuRadioItem({
|
|
89
|
+
className,
|
|
90
|
+
children,
|
|
91
|
+
...props
|
|
92
|
+
}) {
|
|
93
|
+
return /* @__PURE__ */ jsxs(
|
|
94
|
+
DropdownMenuPrimitive.RadioItem,
|
|
95
|
+
{
|
|
96
|
+
"data-slot": "dropdown-menu-radio-item",
|
|
97
|
+
className: cn(
|
|
98
|
+
"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
99
|
+
className
|
|
100
|
+
),
|
|
101
|
+
...props,
|
|
102
|
+
children: [
|
|
103
|
+
/* @__PURE__ */ jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CircleIcon, { className: "size-2 fill-current" }) }) }),
|
|
104
|
+
children
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
function DropdownMenuLabel({
|
|
110
|
+
className,
|
|
111
|
+
inset,
|
|
112
|
+
...props
|
|
113
|
+
}) {
|
|
114
|
+
return /* @__PURE__ */ jsx(
|
|
115
|
+
DropdownMenuPrimitive.Label,
|
|
116
|
+
{
|
|
117
|
+
"data-slot": "dropdown-menu-label",
|
|
118
|
+
"data-inset": inset,
|
|
119
|
+
className: cn("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", className),
|
|
120
|
+
...props
|
|
121
|
+
}
|
|
122
|
+
);
|
|
123
|
+
}
|
|
124
|
+
function DropdownMenuSeparator({
|
|
125
|
+
className,
|
|
126
|
+
...props
|
|
127
|
+
}) {
|
|
128
|
+
return /* @__PURE__ */ jsx(
|
|
129
|
+
DropdownMenuPrimitive.Separator,
|
|
130
|
+
{
|
|
131
|
+
"data-slot": "dropdown-menu-separator",
|
|
132
|
+
className: cn("bg-border -mx-1 my-1 h-px", className),
|
|
133
|
+
...props
|
|
134
|
+
}
|
|
135
|
+
);
|
|
136
|
+
}
|
|
137
|
+
function DropdownMenuShortcut({ className, ...props }) {
|
|
138
|
+
return /* @__PURE__ */ jsx(
|
|
139
|
+
"span",
|
|
140
|
+
{
|
|
141
|
+
"data-slot": "dropdown-menu-shortcut",
|
|
142
|
+
className: cn("text-muted-foreground ml-auto text-xs tracking-widest", className),
|
|
143
|
+
...props
|
|
144
|
+
}
|
|
145
|
+
);
|
|
146
|
+
}
|
|
147
|
+
function DropdownMenuSub({ ...props }) {
|
|
148
|
+
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Sub, { "data-slot": "dropdown-menu-sub", ...props });
|
|
149
|
+
}
|
|
150
|
+
function DropdownMenuSubTrigger({
|
|
151
|
+
className,
|
|
152
|
+
inset,
|
|
153
|
+
children,
|
|
154
|
+
...props
|
|
155
|
+
}) {
|
|
156
|
+
return /* @__PURE__ */ jsxs(
|
|
157
|
+
DropdownMenuPrimitive.SubTrigger,
|
|
158
|
+
{
|
|
159
|
+
"data-slot": "dropdown-menu-sub-trigger",
|
|
160
|
+
"data-inset": inset,
|
|
161
|
+
className: cn(
|
|
162
|
+
"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8",
|
|
163
|
+
className
|
|
164
|
+
),
|
|
165
|
+
...props,
|
|
166
|
+
children: [
|
|
167
|
+
children,
|
|
168
|
+
/* @__PURE__ */ jsx(ChevronRightIcon, { className: "ml-auto size-4" })
|
|
169
|
+
]
|
|
170
|
+
}
|
|
171
|
+
);
|
|
172
|
+
}
|
|
173
|
+
function DropdownMenuSubContent({
|
|
174
|
+
className,
|
|
175
|
+
...props
|
|
176
|
+
}) {
|
|
177
|
+
return /* @__PURE__ */ jsx(
|
|
178
|
+
DropdownMenuPrimitive.SubContent,
|
|
179
|
+
{
|
|
180
|
+
"data-slot": "dropdown-menu-sub-content",
|
|
181
|
+
className: cn(
|
|
182
|
+
"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 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",
|
|
183
|
+
className
|
|
184
|
+
),
|
|
185
|
+
...props
|
|
186
|
+
}
|
|
187
|
+
);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export { DropdownMenu as D, DropdownMenuCheckboxItem as a, DropdownMenuContent as b, DropdownMenuGroup as c, DropdownMenuItem as d, DropdownMenuLabel as e, DropdownMenuPortal as f, DropdownMenuRadioGroup as g, DropdownMenuRadioItem as h, DropdownMenuSeparator as i, DropdownMenuShortcut as j, DropdownMenuSub as k, DropdownMenuSubContent as l, DropdownMenuSubTrigger as m, DropdownMenuTrigger as n };
|
package/dist/hooks.cjs.js
CHANGED
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
4
4
|
|
|
5
5
|
const LayoutContext = require('./LayoutContext-BEq_-n98.cjs');
|
|
6
6
|
const ThemeContext = require('./ThemeContext-CEY9pCn-.cjs');
|
|
7
|
-
const LanguageContext = require('./LanguageContext-
|
|
8
|
-
const BrandColorsContext = require('./BrandColorsContext-
|
|
7
|
+
const LanguageContext = require('./LanguageContext-ubC7TSs_.cjs');
|
|
8
|
+
const BrandColorsContext = require('./BrandColorsContext-Ug_TZ8yn.cjs');
|
|
9
9
|
const useMobile = require('./use-mobile-BdXTRb0Z.cjs');
|
|
10
10
|
const React = require('react');
|
|
11
11
|
const useAudioPlayer = require('./use-audio-player-DGvhPrgR.cjs');
|
package/dist/hooks.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { u as useLayout } from './LayoutContext-DNl1xSoX.js';
|
|
2
2
|
export { L as LayoutProvider, a as useOptionalLayout } from './LayoutContext-DNl1xSoX.js';
|
|
3
3
|
export { T as ThemeProvider, u as useTheme } from './ThemeContext-Dk3tH7Ym.js';
|
|
4
|
-
export { D as DEFAULT_LANGUAGES, L as LanguageProvider, u as useLanguage } from './LanguageContext-
|
|
5
|
-
export { A as ApiKeyProvider, a as AssistenteProvider, B as BrandColorsProvider, u as useApiKey, b as useAssistente, c as useBrandColors } from './BrandColorsContext-
|
|
4
|
+
export { D as DEFAULT_LANGUAGES, L as LanguageProvider, u as useLanguage } from './LanguageContext-B1aOXO-K.js';
|
|
5
|
+
export { A as ApiKeyProvider, a as AssistenteProvider, B as BrandColorsProvider, u as useApiKey, b as useAssistente, c as useBrandColors } from './BrandColorsContext-z0O2LlZz.js';
|
|
6
6
|
export { u as useIsMobile, a as useMobile } from './use-mobile-Ce2cBAQe.js';
|
|
7
7
|
import { useEffect } from 'react';
|
|
8
8
|
export { u as useAudioPlayer } from './use-audio-player-B78fd2ct.js';
|
package/dist/index.cjs.js
CHANGED
|
@@ -2,36 +2,36 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const xerticaAssistant = require('./xertica-assistant-
|
|
6
|
-
const XerticaProvider = require('./XerticaProvider-
|
|
7
|
-
const VerifyEmailPage = require('./VerifyEmailPage-
|
|
8
|
-
const button = require('./button-
|
|
9
|
-
const skeleton = require('./skeleton-
|
|
10
|
-
const alertDialog = require('./alert-dialog-
|
|
11
|
-
const AssistantChart = require('./AssistantChart-
|
|
12
|
-
const breadcrumb = require('./breadcrumb-
|
|
13
|
-
const input = require('./input-
|
|
14
|
-
const richTextEditor = require('./rich-text-editor-
|
|
15
|
-
const slider = require('./slider-
|
|
16
|
-
const select = require('./select-
|
|
17
|
-
const tooltip = require('./tooltip-
|
|
18
|
-
const dropdownMenu = require('./dropdown-menu-
|
|
19
|
-
const ImageWithFallback = require('./ImageWithFallback-
|
|
5
|
+
const xerticaAssistant = require('./xertica-assistant-DdYS6WXT.cjs');
|
|
6
|
+
const XerticaProvider = require('./XerticaProvider-b3n_oL8w.cjs');
|
|
7
|
+
const VerifyEmailPage = require('./VerifyEmailPage-DGaX-jZv.cjs');
|
|
8
|
+
const button = require('./button-BMDlWZR8.cjs');
|
|
9
|
+
const skeleton = require('./skeleton-D8WaauK0.cjs');
|
|
10
|
+
const alertDialog = require('./alert-dialog-C48TOdYU.cjs');
|
|
11
|
+
const AssistantChart = require('./AssistantChart-DjM3qnp5.cjs');
|
|
12
|
+
const breadcrumb = require('./breadcrumb-BvGAY4ne.cjs');
|
|
13
|
+
const input = require('./input-Csp_Metb.cjs');
|
|
14
|
+
const richTextEditor = require('./rich-text-editor-RWvK4hd3.cjs');
|
|
15
|
+
const slider = require('./slider-BKV_vvsh.cjs');
|
|
16
|
+
const select = require('./select-BD763J5Y.cjs');
|
|
17
|
+
const tooltip = require('./tooltip-CIKRzQqE.cjs');
|
|
18
|
+
const dropdownMenu = require('./dropdown-menu-ChQa9zW3.cjs');
|
|
19
|
+
const ImageWithFallback = require('./ImageWithFallback-C1ww9Hg3.cjs');
|
|
20
20
|
const sonner = require('./sonner-B-jWlik1.cjs');
|
|
21
|
-
const avatar = require('./avatar-
|
|
21
|
+
const avatar = require('./avatar-CtEKgg7s.cjs');
|
|
22
22
|
const googleMapsLoader = require('./google-maps-loader-DfeBRI8Q.cjs');
|
|
23
23
|
const useMobile = require('./use-mobile-BdXTRb0Z.cjs');
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
const CodeBlock = require('./CodeBlock-
|
|
27
|
-
const ThemeToggle = require('./ThemeToggle
|
|
28
|
-
const XerticaOrbe = require('./XerticaOrbe-
|
|
29
|
-
const sidebar = require('./sidebar-
|
|
24
|
+
const EvidenceTimeline = require('./EvidenceTimeline-DrRk4yqb.cjs');
|
|
25
|
+
const SectionHeading = require('./SectionHeading-DEeOKcAd.cjs');
|
|
26
|
+
const CodeBlock = require('./CodeBlock-BkaZf-R8.cjs');
|
|
27
|
+
const ThemeToggle = require('./ThemeToggle--CGJjQJv.cjs');
|
|
28
|
+
const XerticaOrbe = require('./XerticaOrbe-Br2i99U_.cjs');
|
|
29
|
+
const sidebar = require('./sidebar-Bkk1YAsD.cjs');
|
|
30
30
|
require('react');
|
|
31
|
-
const LanguageSelector = require('./LanguageSelector-
|
|
31
|
+
const LanguageSelector = require('./LanguageSelector-CYRzWkRZ.cjs');
|
|
32
32
|
const LayoutContext = require('./LayoutContext-BEq_-n98.cjs');
|
|
33
|
-
const LanguageContext = require('./LanguageContext-
|
|
34
|
-
const AudioPlayer = require('./AudioPlayer-
|
|
33
|
+
const LanguageContext = require('./LanguageContext-ubC7TSs_.cjs');
|
|
34
|
+
const AudioPlayer = require('./AudioPlayer-CvGajzMC.cjs');
|
|
35
35
|
const i18n = require('i18next');
|
|
36
36
|
|
|
37
37
|
|
|
@@ -46,6 +46,7 @@ exports.XerticaProvider = XerticaProvider.XerticaProvider;
|
|
|
46
46
|
exports.ForgotPasswordPage = VerifyEmailPage.ForgotPasswordPage;
|
|
47
47
|
exports.HomeContent = VerifyEmailPage.HomeContent;
|
|
48
48
|
exports.HomePage = VerifyEmailPage.HomePage;
|
|
49
|
+
exports.LandingPage = VerifyEmailPage.LandingPage;
|
|
49
50
|
exports.LoginPage = VerifyEmailPage.LoginPage;
|
|
50
51
|
exports.ResetPasswordPage = VerifyEmailPage.ResetPasswordPage;
|
|
51
52
|
exports.TemplateContent = VerifyEmailPage.TemplateContent;
|
|
@@ -336,22 +337,37 @@ exports.reloadGoogleMaps = googleMapsLoader.reloadGoogleMaps;
|
|
|
336
337
|
exports.useGoogleMapsLoader = googleMapsLoader.useGoogleMapsLoader;
|
|
337
338
|
exports.useIsMobile = useMobile.useIsMobile;
|
|
338
339
|
exports.useMobile = useMobile.useMobile;
|
|
339
|
-
exports.ActivityCard =
|
|
340
|
-
exports.ActivityCardSkeleton =
|
|
341
|
-
exports.
|
|
342
|
-
exports.
|
|
343
|
-
exports.
|
|
344
|
-
exports.
|
|
345
|
-
exports.
|
|
346
|
-
exports.
|
|
347
|
-
exports.
|
|
348
|
-
exports.
|
|
349
|
-
exports.
|
|
350
|
-
exports.
|
|
351
|
-
exports.
|
|
352
|
-
exports.
|
|
353
|
-
exports.
|
|
354
|
-
exports.
|
|
340
|
+
exports.ActivityCard = EvidenceTimeline.ActivityCard;
|
|
341
|
+
exports.ActivityCardSkeleton = EvidenceTimeline.ActivityCardSkeleton;
|
|
342
|
+
exports.EvidenceTimeline = EvidenceTimeline.EvidenceTimeline;
|
|
343
|
+
exports.FeatureCard = EvidenceTimeline.FeatureCard;
|
|
344
|
+
exports.LogoCloud = EvidenceTimeline.LogoCloud;
|
|
345
|
+
exports.NotificationCard = EvidenceTimeline.NotificationCard;
|
|
346
|
+
exports.NotificationCardSkeleton = EvidenceTimeline.NotificationCardSkeleton;
|
|
347
|
+
exports.ProfileCard = EvidenceTimeline.ProfileCard;
|
|
348
|
+
exports.ProfileCardSkeleton = EvidenceTimeline.ProfileCardSkeleton;
|
|
349
|
+
exports.ProjectCard = EvidenceTimeline.ProjectCard;
|
|
350
|
+
exports.ProjectCardSkeleton = EvidenceTimeline.ProjectCardSkeleton;
|
|
351
|
+
exports.QuickActionCard = EvidenceTimeline.QuickActionCard;
|
|
352
|
+
exports.QuickActionCardSkeleton = EvidenceTimeline.QuickActionCardSkeleton;
|
|
353
|
+
exports.AuthPageShell = SectionHeading.AuthPageShell;
|
|
354
|
+
exports.CTASection = SectionHeading.CTASection;
|
|
355
|
+
exports.ComplianceBadgeRow = SectionHeading.ComplianceBadgeRow;
|
|
356
|
+
exports.FeatureCardSkeleton = SectionHeading.FeatureCardSkeleton;
|
|
357
|
+
exports.FeatureRow = SectionHeading.FeatureRow;
|
|
358
|
+
exports.Hero = SectionHeading.Hero;
|
|
359
|
+
exports.HowItWorksSteps = SectionHeading.HowItWorksSteps;
|
|
360
|
+
exports.MarketingFooter = SectionHeading.MarketingFooter;
|
|
361
|
+
exports.MarketingNavbar = SectionHeading.MarketingNavbar;
|
|
362
|
+
exports.PasswordStrengthMeter = SectionHeading.PasswordStrengthMeter;
|
|
363
|
+
exports.PillBadge = SectionHeading.PillBadge;
|
|
364
|
+
exports.SectionHeading = SectionHeading.SectionHeading;
|
|
365
|
+
exports.ServiceCard = SectionHeading.ServiceCard;
|
|
366
|
+
exports.ServiceCardGrid = SectionHeading.ServiceCardGrid;
|
|
367
|
+
exports.SocialLoginButtons = SectionHeading.SocialLoginButtons;
|
|
368
|
+
exports.StatBand = SectionHeading.StatBand;
|
|
369
|
+
exports.TopAccentCards = SectionHeading.TopAccentCards;
|
|
370
|
+
exports.usePasswordStrength = SectionHeading.usePasswordStrength;
|
|
355
371
|
exports.CodeBlock = CodeBlock.CodeBlock;
|
|
356
372
|
exports.ThemeToggle = ThemeToggle.ThemeToggle;
|
|
357
373
|
exports.XerticaLogo = ThemeToggle.XerticaLogo;
|
package/dist/index.es.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
export { F as FormattedDocument, M as MarkdownMessage, a as ModernChatInput, X as XerticaAssistant, g as generateDemoResponse, g as gerarResposta } from './xertica-assistant-
|
|
2
|
-
export { X as XerticaProvider } from './XerticaProvider-
|
|
3
|
-
export { F as ForgotPasswordPage, H as HomeContent, a as HomePage, L as LoginPage, R as ResetPasswordPage, T as TemplateContent,
|
|
4
|
-
export { B as Button, b as buttonVariants, c as cn } from './button-
|
|
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-
|
|
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, 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-
|
|
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-
|
|
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-
|
|
9
|
-
export { I as Input, P as Popover, a as PopoverAnchor, b as PopoverContent, c as PopoverTrigger } from './input-
|
|
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-
|
|
11
|
-
export { S as Slider } from './slider-
|
|
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-
|
|
13
|
-
export { T as Tooltip, a as TooltipContent, b as TooltipProvider, c as TooltipTrigger } from './tooltip-
|
|
14
|
-
export { D as DropdownMenu, a as DropdownMenuCheckboxItem, b as DropdownMenuContent, c as DropdownMenuGroup, d as DropdownMenuItem, e as DropdownMenuLabel, f as DropdownMenuPortal, g as DropdownMenuRadioGroup, h as DropdownMenuRadioItem, i as DropdownMenuSeparator, j as DropdownMenuShortcut, k as DropdownMenuSub, l as DropdownMenuSubContent, m as DropdownMenuSubTrigger, n as DropdownMenuTrigger } from './dropdown-menu-
|
|
15
|
-
export { B as Badge, I as ImageWithFallback, P as Progress, b as badgeVariants } from './ImageWithFallback-
|
|
1
|
+
export { F as FormattedDocument, M as MarkdownMessage, a as ModernChatInput, X as XerticaAssistant, g as generateDemoResponse, g as gerarResposta } from './xertica-assistant-B1xAl2Vn.js';
|
|
2
|
+
export { X as XerticaProvider } from './XerticaProvider-Bi5lKC9N.js';
|
|
3
|
+
export { F as ForgotPasswordPage, H as HomeContent, a as HomePage, L as LandingPage, b as LoginPage, R as ResetPasswordPage, T as TemplateContent, c as TemplatePage, V as VerifyEmailPage } from './VerifyEmailPage-90lK6pP4.js';
|
|
4
|
+
export { B as Button, b as buttonVariants, c as cn } from './button-B05czY_8.js';
|
|
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-BtBwJ39W.js';
|
|
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, 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-NjflitDa.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-CoN6ga6Z.js';
|
|
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-BGO5PZPG.js';
|
|
9
|
+
export { I as Input, P as Popover, a as PopoverAnchor, b as PopoverContent, c as PopoverTrigger } from './input-DVRwGVLx.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-gauEkzPM.js';
|
|
11
|
+
export { S as Slider } from './slider-KgWmSJbx.js';
|
|
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-q7aDfuPn.js';
|
|
13
|
+
export { T as Tooltip, a as TooltipContent, b as TooltipProvider, c as TooltipTrigger } from './tooltip-_MAwsiOL.js';
|
|
14
|
+
export { D as DropdownMenu, a as DropdownMenuCheckboxItem, b as DropdownMenuContent, c as DropdownMenuGroup, d as DropdownMenuItem, e as DropdownMenuLabel, f as DropdownMenuPortal, g as DropdownMenuRadioGroup, h as DropdownMenuRadioItem, i as DropdownMenuSeparator, j as DropdownMenuShortcut, k as DropdownMenuSub, l as DropdownMenuSubContent, m as DropdownMenuSubTrigger, n as DropdownMenuTrigger } from './dropdown-menu-NlUHhVmK.js';
|
|
15
|
+
export { B as Badge, I as ImageWithFallback, P as Progress, b as badgeVariants } from './ImageWithFallback-CGk5zPH-.js';
|
|
16
16
|
export { T as Toaster } from './sonner-C9tiqj4f.js';
|
|
17
|
-
export { A as Avatar, a as AvatarFallback, b as AvatarImage } from './avatar-
|
|
17
|
+
export { A as Avatar, a as AvatarFallback, b as AvatarImage } from './avatar-Df7KgSvs.js';
|
|
18
18
|
export { G as GOOGLE_MAPS_ID, a as GOOGLE_MAPS_LIBRARIES, b as GoogleMapsLoaderProvider, c as GoogleMapsProvider, r as reloadGoogleMaps, u as useGoogleMapsLoader } from './google-maps-loader-BOug999f.js';
|
|
19
19
|
export { u as useIsMobile, a as useMobile } from './use-mobile-Ce2cBAQe.js';
|
|
20
|
-
export { A as ActivityCard, a as ActivityCardSkeleton, F as FeatureCard, N as NotificationCard, b as NotificationCardSkeleton, P as ProfileCard, c as ProfileCardSkeleton, d as ProjectCard, e as ProjectCardSkeleton, Q as QuickActionCard, f as QuickActionCardSkeleton } from './
|
|
21
|
-
export { A as AuthPageShell, F as FeatureCardSkeleton, P as PasswordStrengthMeter, S as SocialLoginButtons, u as usePasswordStrength } from './
|
|
22
|
-
export { C as CodeBlock } from './CodeBlock-
|
|
23
|
-
export { T as ThemeToggle, X as XerticaLogo, a as XerticaXLogo } from './ThemeToggle-
|
|
24
|
-
export { X as XerticaOrbe } from './XerticaOrbe-
|
|
25
|
-
export { H as Header, S as Sidebar } from './sidebar-
|
|
20
|
+
export { A as ActivityCard, a as ActivityCardSkeleton, E as EvidenceTimeline, F as FeatureCard, L as LogoCloud, N as NotificationCard, b as NotificationCardSkeleton, P as ProfileCard, c as ProfileCardSkeleton, d as ProjectCard, e as ProjectCardSkeleton, Q as QuickActionCard, f as QuickActionCardSkeleton } from './EvidenceTimeline-l4MaV4C7.js';
|
|
21
|
+
export { A as AuthPageShell, C as CTASection, a as ComplianceBadgeRow, F as FeatureCardSkeleton, b as FeatureRow, H as Hero, c as HowItWorksSteps, M as MarketingFooter, d as MarketingNavbar, P as PasswordStrengthMeter, e as PillBadge, S as SectionHeading, f as ServiceCard, g as ServiceCardGrid, h as SocialLoginButtons, i as StatBand, T as TopAccentCards, u as usePasswordStrength } from './SectionHeading-DMNObcwm.js';
|
|
22
|
+
export { C as CodeBlock } from './CodeBlock-zdylBGdZ.js';
|
|
23
|
+
export { T as ThemeToggle, X as XerticaLogo, a as XerticaXLogo } from './ThemeToggle-Bn_7Pmfe.js';
|
|
24
|
+
export { X as XerticaOrbe } from './XerticaOrbe-BHex09xs.js';
|
|
25
|
+
export { H as Header, S as Sidebar } from './sidebar-CwlW3LXE.js';
|
|
26
26
|
import 'react';
|
|
27
|
-
export { L as LanguageSelector } from './LanguageSelector-
|
|
27
|
+
export { L as LanguageSelector } from './LanguageSelector-DjbWIKWC.js';
|
|
28
28
|
export { L as LayoutProvider, u as useLayout, a as useOptionalLayout } from './LayoutContext-DNl1xSoX.js';
|
|
29
|
-
export { D as DEFAULT_LANGUAGES, L as LanguageProvider, r as registerLanguageResource, u as useLanguage } from './LanguageContext-
|
|
30
|
-
export { A as AudioPlayer, F as FloatingMediaWrapper, V as VideoPlayer } from './AudioPlayer-
|
|
29
|
+
export { D as DEFAULT_LANGUAGES, L as LanguageProvider, r as registerLanguageResource, u as useLanguage } from './LanguageContext-B1aOXO-K.js';
|
|
30
|
+
export { A as AudioPlayer, F as FloatingMediaWrapper, V as VideoPlayer } from './AudioPlayer-D4S7GQou.js';
|
|
31
31
|
export { default as i18n } from 'i18next';
|
|
@@ -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-BMDlWZR8.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-input-stroke 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;
|
|
@@ -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-B05czY_8.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-input-stroke 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 };
|