// @voltro/ui-shadcn — Voltro's first-party shadcn/ui kit. // // Surfaces: // // Widgets — `shadcnWidgets`: Tailwind-styled implementations of the // @voltro/ui widget seam. Drop into // `` to style every AutoForm. // // Primitives — Button/Card/Input/… wrap an HTML element with // theme-aware styles. Copy into your project if you want // to own them outright; importing here works when you // don't want to diverge from the framework's defaults. // // Compositions — opinionated layouts (LoginCard, HeroSection, DocShell, // AppShell, DocsLayout, ProfileMenu, ThemeToggle). // Updated as the framework evolves. Apps adopting them // get design refreshes for free. // // Cookies — the canonical `voltro:theme` / `voltro:locale` // preference-cookie helpers the framework's SSR theme + // i18n resolution agree on. // // Tokens live in `@voltro/ui-shadcn/tokens.css`. Import it once at the top // of your app's globals.css; add the kit `@source` so Tailwind scans the // kit's classes (see the tokens.css header / the styling docs). export const UI_SHADCN_NAME = 'framework-ui-shadcn' as const export { cn } from './cn' // ---- Widget seam ---- export { shadcnWidgets } from './widgets' // ---- User-preference cookies (theme + language) ---- export { THEME_COOKIE, LOCALE_COOKIE, getCookie, setCookie, deleteCookie, parsePreferenceCookies, applyTheme, } from './cookies' export type { ThemePreference, PreferenceCookies, SetCookieOptions, } from './cookies' // ---- Primitives ---- export { Button, buttonVariants } from './primitives/button' export type { ButtonProps } from './primitives/button' export { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter, } from './primitives/card' export { Input } from './primitives/input' export { Textarea } from './primitives/textarea' export { Checkbox, type CheckboxProps } from './primitives/checkbox' export { Label } from './primitives/label' export { Badge, badgeVariants } from './primitives/badge' export type { BadgeProps } from './primitives/badge' export { Separator } from './primitives/separator' export { Avatar } from './primitives/avatar' export { Skeleton } from './primitives/skeleton' export { Select } from './primitives/select' export { Dialog, DialogHeader, DialogTitle, DialogDescription, DialogFooter, } from './primitives/dialog' export { Tabs, TabsList, TabsTrigger, TabsContent, } from './primitives/tabs' export { Toast, ToastTitle, ToastDescription } from './primitives/toast' export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuLabel, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, } from './primitives/dropdownMenu' export { Toggle, toggleVariants } from './primitives/toggle' export { ToggleGroup, ToggleGroupItem } from './primitives/toggleGroup' export { LocaleSwitcher } from './primitives/localeSwitcher' export type { LocaleSwitcherProps, LocaleOption } from './primitives/localeSwitcher' // ---- Compositions ---- export { LoginCard } from './compositions/loginCard' export type { LoginCardLabels } from './compositions/loginCard' export { HeroSection } from './compositions/heroSection' export { FeatureGrid } from './compositions/featureGrid' export { DocShell } from './compositions/docShell' export type { DocNavEntry, DocNavGroup, ShellLinkProps } from './compositions/docShell' export { DocsLayout } from './compositions/docsLayout' export type { DocsNavItem, DocsNavGroup, DocsNavSubGroup, DocsTocEntry, DocsBreadcrumb, DocsLayoutLabels, } from './compositions/docsLayout' export { AppShell } from './compositions/appShell' export { PageHeader } from './compositions/pageHeader' export { ProfileMenu } from './compositions/profileMenu' export type { ProfileMenuProps, ProfileMenuLink, ProfileMenuLanguage, ProfileMenuLabels, } from './compositions/profileMenu' export { ThemeToggle, themeBootScript } from './compositions/themeToggle' // ---- Brand ---- export { VoltroMark, VoltroIcon, VoltroWordmark, VOLTRO_VIOLET, VOLTRO_BOLT_PATH, } from './brand/voltroLogo' export type { VoltroMarkProps, VoltroMarkVariant, VoltroIconProps, VoltroIconTone, VoltroWordmarkProps, } from './brand/voltroLogo' // ---- Landing-page compositions ---- export { LandingHero } from './compositions/landingHero' export { Bento, BentoCell } from './compositions/featureBento' export type { BentoCellProps } from './compositions/featureBento' export { CodeCompare } from './compositions/codeCompare' export { LandingStats } from './compositions/landingStats' export type { StatSpec } from './compositions/landingStats' export { LandingCta } from './compositions/landingCta' export { SiteFooter, StatusBadge } from './compositions/siteFooter' export type { SiteFooterColumn, SiteFooterLink, SiteFooterSocial, } from './compositions/siteFooter' // ---- Backdrop + animation primitives ---- export { MeshBackdrop } from './primitives/meshBackdrop' export { GridOverlay } from './primitives/gridOverlay' export { Sparkles } from './primitives/sparkles' export { CodeWindow } from './primitives/codeWindow' export { ScrollReveal } from './primitives/scrollReveal' export { AnimatedNumber } from './primitives/animatedNumber' export { HighlightedCode, whenHighlighterReady, SHIKI_LANGS, } from './primitives/highlightedCode' export type { ShikiLang } from './primitives/highlightedCode' // ---- Doc-content primitives ---- export { Callout } from './primitives/callout' export { CodeBlock } from './primitives/codeBlock' export { Steps, Step } from './primitives/steps' export { DocCard, DocCards } from './primitives/docCard' export { TocScrollSpy } from './primitives/tocScrollSpy' export { RocketIcon, CompassIcon, PackageIcon, FolderIcon, FileIcon, BroadcastIcon, PencilIcon, BellIcon, CogIcon, BuildingIcon, DatabaseIcon, LockIcon, BotIcon, TerminalIcon, LayersIcon, PuzzleIcon, HookIcon, GlobeIcon, CloudIcon, HomeIcon, ChevronLeftIcon, ChevronRightIcon, SearchIcon, ArrowReturnIcon, GitHubIcon, XIcon, DiscordIcon, LinkedInIcon, RssIcon, ChartIcon, } from './primitives/docIcons' export { SearchModal, SearchTrigger } from './primitives/searchModal' export type { SearchModalProps, SearchModalLabels } from './primitives/searchModal'