@aracreate/arm-ui 3.8.1 → 3.9.0

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/README.md CHANGED
@@ -76,6 +76,7 @@ is the way to actually look at them.
76
76
  | Shell | `Sidebar`, `Topbar`, `SearchOverlay` |
77
77
  | Data display | `DataTableRow`, `MetricCard`, `AppCard`, `ActivityRow`, `AccentHeader`, `CardFooter`, `IconTile` |
78
78
  | Feedback & state | `Toast`, `ConfirmDialog`, `Skeleton`, `EmptyCard`, `DashboardErrorCard` |
79
+ | Disclosure & sheets | `Accordion` (+ `AccordionItem`, `AccordionTrigger`, `AccordionContent`), `Drawer` (+ `DrawerContent`, `DrawerHeader`, `DrawerTitle`, `DrawerDescription`, `DrawerClose`, `DrawerDefaultClose`) — built on the Radix primitives Radix Themes lacks |
79
80
  | Icons | `ProviderIcon`, `GoogleIcon`, `MicrosoftIcon`, plus the whole Radix icon set (`Cross2Icon`, `ChevronDownIcon`, …) |
80
81
  | Basics | The Radix Themes components, re-exported — see below |
81
82
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/lib/theme.ts"],"names":["colors","theme","getColor","colorName","shade","colorGroup"],"mappings":"AACA,6EAAMA,CAAAA,CAAS,CAEb,OAAA,CAAS,CACP,EAAA,CAAI,SAAA,CACJ,GAAA,CAAK,SAAA,CACL,GAAA,CAAK,SAAA,CACL,GAAA,CAAK,SAAA,CACL,GAAA,CAAK,SAAA,CACL,GAAA,CAAK,SAAA,CACL,GAAA,CAAK,SAAA,CACL,GAAA,CAAK,SAAA,CACL,GAAA,CAAK,SAAA,CACL,GAAA,CAAK,SACP,CAAA,CAGA,SAAA,CAAW,CACT,EAAA,CAAI,SAAA,CACJ,GAAA,CAAK,SAAA,CACL,GAAA,CAAK,SAAA,CACL,GAAA,CAAK,SAAA,CACL,GAAA,CAAK,SAAA,CACL,GAAA,CAAK,SAAA,CACL,GAAA,CAAK,SAAA,CACL,GAAA,CAAK,S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AA,CACP,KAAA,CAAO,QACT,CAAA,CAGA,UAAA,CAAY,CACV,EAAA,CAAI,mBAAA,CACJ,EAAA,CAAI,mBAAA,CACJ,IAAA,CAAM,qBAAA,CACN,EAAA,CAAI,mBAAA,CACJ,EAAA,CAAI,mBAAA,CACJ,KAAA,CAAO,oBAAA,CACP,KAAA,CAAO,qBACT,CAAA,CAGA,UAAA,CAAY,CAEV,QAAA,CAAU,CACR,IAAA,CAAM,cAAA,CACN,MAAA,CAAQ,cAAA,CACR,IAAA,CAAM,cACR,CAAA,CAGA,MAAA,CAAQ,CACN,MAAA,CAAQ,aAAA,CACR,EAAA,CAAI,SAAA,CACJ,GAAA,CAAK,UAAA,CACL,KAAA,CAAO,aACT,CAAA,CAGA,MAAA,CAAQ,oBAAA,CACR,OAAA,CAAS,sBAAA,CACT,OAAA,CAAS,mCAAA,CACT,QAAA,CAAU,mCAAA,CACV,OAAA,CAAS,uBAAA,CACT,QAAA,CAAU,yBACZ,CAAA,CAGA,aAAA,CAAe,CAEb,MAAA,CAAQ,SAAA,CAGR,SAAA,CAAW,qEAAA,CAGX,YAAA,CAAc,iDAAA,CAGd,aAAA,CAAe,0DAAA,CAGf,WAAA,CAAa,mBACf,CACF,CAAA,CAGaE,CAAAA,aAAW,CACtBC,CAAAA,CACAC,CAAAA,CAAwF,GAAA,CAAA,EAC7E,CACX,IAAMC,CAAAA,CAAaL,CAAAA,CAAOG,CAAS,CAAA,CAEnC,OAAI,OAAOE,CAAAA,EAAe,QAAA,EAAYA,CAAAA,GAAe,IAAA,EAAQD,EAAAA,GAASC,CAAAA,CAC5DA,CAAAA,CAAsC,MAAA,CAAOD,CAAK,CAAC,CAAA,CAItDJ,CAAAA,CAAO,OAAA,CAAQ,GAAG,CAC3B,CAAA,CAAA,4CAAA","file":"/Users/kishor/Work/01-araCreate/arm/library/arm-ui-library/dist/chunk-TD6NGM5I.js","sourcesContent":["// Simplified single color palette\nconst colors = {\n // Primary brand colors\n primary: {\n 50: \"#fef7e6\",\n 100: \"#fdecc0\",\n 200: \"#fbd886\",\n 300: \"#f9c44c\",\n 400: \"#f7b01f\",\n 500: \"#F9BF3B\", // Main primary\n 600: \"#e6a82d\",\n 700: \"#cc8f1f\",\n 800: \"#b37611\",\n 900: \"#995d03\",\n },\n\n // Secondary colors\n secondary: {\n 50: \"#f8fafc\",\n 100: \"#f1f5f9\",\n 200: \"#e2e8f0\",\n 300: \"#cbd5e1\",\n 400: \"#94a3b8\",\n 500: \"#64748b\",\n 600: \"#475569\",\n 700: \"#334155\",\n 800: \"#1e293b\",\n 900: \"#0f172a\",\n },\n\n // Semantic colors\n success: {\n 50: \"#f0fdf4\",\n 100: \"#dcfce7\",\n 200: \"#bbf7d0\",\n 300: \"#86efac\",\n 400: \"#4ade80\",\n 500: \"#22c55e\",\n 600: \"#16a34a\",\n 700: \"#15803d\",\n 800: \"#166534\",\n 900: \"#14532d\",\n },\n\n error: {\n 50: \"#fef2f2\",\n 100: \"#fee2e2\",\n 200: \"#fecaca\",\n 300: \"#fca5a5\",\n 400: \"#f87171\",\n 500: \"#ef4444\",\n 600: \"#dc2626\",\n 700: \"#b91c1c\",\n 800: \"#991b1b\",\n 900: \"#7f1d1d\",\n },\n\n warning: {\n 50: \"#fffbeb\",\n 100: \"#fef3c7\",\n 200: \"#fde68a\",\n 300: \"#fcd34d\",\n 400: \"#fbbf24\",\n 500: \"#f59e0b\",\n 600: \"#d97706\",\n 700: \"#b45309\",\n 800: \"#92400e\",\n 900: \"#78350f\",\n },\n\n info: {\n 50: \"#eff6ff\",\n 100: \"#dbeafe\",\n 200: \"#bfdbfe\",\n 300: \"#93c5fd\",\n 400: \"#60a5fa\",\n 500: \"#3b82f6\",\n 600: \"#2563eb\",\n 700: \"#1d4ed8\",\n 800: \"#1e40af\",\n 900: \"#1e3a8a\",\n },\n\n // Neutral colors\n neutral: {\n 50: \"#fafafa\",\n 100: \"#f5f5f5\",\n 200: \"#e5e5e5\",\n 300: \"#d4d4d4\",\n 400: \"#a3a3a3\",\n 500: \"#737373\",\n 600: \"#525252\",\n 700: \"#404040\",\n 800: \"#262626\",\n 900: \"#171717\",\n },\n\n // Background and surface colors\n background: {\n primary: \"#ffffff\",\n secondary: \"#f8fafc\",\n tertiary: \"#f1f5f9\",\n },\n\n // Text colors\n text: {\n primary: \"#0f172a\",\n secondary: \"#475569\",\n tertiary: \"#64748b\",\n disabled: \"#94a3b8\",\n },\n\n // Border colors\n border: {\n primary: \"#e2e8f0\",\n secondary: \"#cbd5e1\",\n focus: \"#3b82f6\",\n error: \"#ef4444\",\n },\n} as const;\n\n// Simplified theme system\nexport const theme = {\n // Single color palette\n colors,\n\n // Enhanced base component styles with accessibility focus\n base: {\n // Transitions with reduced motion support\n transition: \"transition-all duration-200 ease-in-out motion-reduce:transition-none\",\n\n // Enhanced focus states meeting WCAG 2.1 AA standards\n focus:\n \"focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-background-primary focus-visible:ring-2\",\n\n // Disabled states with proper contrast\n disabled: \"disabled:opacity-60 disabled:cursor-not-allowed disabled:pointer-events-none\",\n\n // Interactive states\n interactive: \"cursor-pointer select-none\",\n\n // High contrast mode support\n highContrast: \"forced-colors:border forced-colors:border-solid\",\n },\n\n // Enhanced size system with consistent spacing\n sizes: {\n xs: {\n text: \"text-xs\",\n padding: \"px-2 py-1\",\n height: \"h-6\",\n icon: \"h-3 w-3\",\n gap: \"gap-1\",\n },\n sm: {\n text: \"text-sm\",\n padding: \"px-3 py-1.5\",\n height: \"h-8\",\n icon: \"h-4 w-4\",\n gap: \"gap-1.5\",\n },\n md: {\n text: \"text-base\",\n padding: \"px-4 py-2\",\n height: \"h-10\",\n icon: \"h-5 w-5\",\n gap: \"gap-2\",\n },\n lg: {\n text: \"text-lg\",\n padding: \"px-5 py-2.5\",\n height: \"h-12\",\n icon: \"h-6 w-6\",\n gap: \"gap-2.5\",\n },\n xl: {\n text: \"text-xl\",\n padding: \"px-6 py-3\",\n height: \"h-14\",\n icon: \"h-7 w-7\",\n gap: \"gap-3\",\n },\n },\n\n // Enhanced variants with accessibility support — Radix 1-12 scale\n variants: {\n primary: {\n // text-neutral-12 (static dark): yellow-9 fails WCAG with white text\n solid:\n \"bg-primary-9 text-neutral-12 hover:bg-primary-10 focus:ring-primary-8 active:bg-primary-10\",\n outline:\n \"border border-primary-8 text-primary-11 hover:bg-primary-3 hover:border-primary-9 focus:ring-primary-8\",\n ghost: \"text-primary-11 hover:bg-primary-3 hover:text-primary-12 focus:ring-primary-8\",\n soft: \"bg-primary-3 text-primary-11 hover:bg-primary-4 focus:ring-primary-8\",\n },\n secondary: {\n // Secondary still uses legacy 50-900 shades (Phase 12B will migrate)\n solid:\n \"bg-secondary-500 text-white hover:bg-secondary-600 focus:ring-secondary-500 active:bg-secondary-700\",\n outline:\n \"border border-secondary-300 text-secondary-700 hover:bg-secondary-50 hover:border-secondary-400 focus:ring-secondary-500\",\n ghost:\n \"text-secondary-700 hover:bg-secondary-100 hover:text-secondary-800 focus:ring-secondary-500\",\n soft: \"bg-secondary-100 text-secondary-800 hover:bg-secondary-200 focus:ring-secondary-500\",\n },\n destructive: {\n solid: \"bg-error-9 text-white hover:bg-error-10 focus:ring-error-8 active:bg-error-10\",\n outline:\n \"border border-error-8 text-error-11 hover:bg-error-3 hover:border-error-9 focus:ring-error-8\",\n ghost: \"text-error-11 hover:bg-error-3 hover:text-error-12 focus:ring-error-8\",\n soft: \"bg-error-3 text-error-11 hover:bg-error-4 focus:ring-error-8\",\n },\n success: {\n solid:\n \"bg-success-9 text-white hover:bg-success-10 focus:ring-success-8 active:bg-success-10\",\n outline:\n \"border border-success-8 text-success-11 hover:bg-success-3 hover:border-success-9 focus:ring-success-8\",\n ghost: \"text-success-11 hover:bg-success-3 hover:text-success-12 focus:ring-success-8\",\n soft: \"bg-success-3 text-success-11 hover:bg-success-4 focus:ring-success-8\",\n },\n warning: {\n // text-neutral-12 (static dark): amber-9 also too bright for white text\n solid:\n \"bg-warning-9 text-neutral-12 hover:bg-warning-10 focus:ring-warning-8 active:bg-warning-10\",\n outline:\n \"border border-warning-8 text-warning-11 hover:bg-warning-3 hover:border-warning-9 focus:ring-warning-8\",\n ghost: \"text-warning-11 hover:bg-warning-3 hover:text-warning-12 focus:ring-warning-8\",\n soft: \"bg-warning-3 text-warning-11 hover:bg-warning-4 focus:ring-warning-8\",\n },\n info: {\n solid: \"bg-info-9 text-white hover:bg-info-10 focus:ring-info-8 active:bg-info-10\",\n outline:\n \"border border-info-8 text-info-11 hover:bg-info-3 hover:border-info-9 focus:ring-info-8\",\n ghost: \"text-info-11 hover:bg-info-3 hover:text-info-12 focus:ring-info-8\",\n soft: \"bg-info-3 text-info-11 hover:bg-info-4 focus:ring-info-8\",\n },\n },\n\n // Enhanced border radius system\n radius: {\n none: \"rounded-none\",\n xs: \"rounded-xs\",\n sm: \"rounded-sm\",\n md: \"rounded-md\",\n lg: \"rounded-lg\",\n xl: \"rounded-xl\",\n \"2xl\": \"rounded-2xl\",\n \"3xl\": \"rounded-3xl\",\n full: \"rounded-full\",\n },\n\n // Enhanced spacing system\n spacing: {\n none: \"gap-0\",\n xs: \"gap-1\",\n sm: \"gap-2\",\n md: \"gap-3\",\n lg: \"gap-4\",\n xl: \"gap-6\",\n \"2xl\": \"gap-8\",\n \"3xl\": \"gap-12\",\n },\n\n // Typography scale\n typography: {\n xs: \"text-xs leading-4\",\n sm: \"text-sm leading-5\",\n base: \"text-base leading-6\",\n lg: \"text-lg leading-7\",\n xl: \"text-xl leading-8\",\n \"2xl\": \"text-2xl leading-9\",\n \"3xl\": \"text-3xl leading-10\",\n },\n\n // Animation system with reduced motion support\n animations: {\n // Durations\n duration: {\n fast: \"duration-150\",\n normal: \"duration-200\",\n slow: \"duration-300\",\n },\n\n // Easing functions\n easing: {\n linear: \"ease-linear\",\n in: \"ease-in\",\n out: \"ease-out\",\n inOut: \"ease-in-out\",\n },\n\n // Common animations\n fadeIn: \"animate-in fade-in\",\n fadeOut: \"animate-out fade-out\",\n slideIn: \"animate-in slide-in-from-bottom-2\",\n slideOut: \"animate-out slide-out-to-bottom-2\",\n scaleIn: \"animate-in zoom-in-95\",\n scaleOut: \"animate-out zoom-out-95\",\n },\n\n // Accessibility features\n accessibility: {\n // Screen reader only content\n srOnly: \"sr-only\",\n\n // Focus management\n focusTrap: \"focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2\",\n\n // High contrast mode\n highContrast: \"forced-colors:border forced-colors:border-solid\",\n\n // Reduced motion\n reducedMotion: \"motion-reduce:transition-none motion-reduce:animate-none\",\n\n // Touch targets (minimum 44px)\n touchTarget: \"min-h-11 min-w-11\",\n },\n} as const;\n\n// Helper function to get colors\nexport const getColor = (\n colorName: keyof typeof colors,\n shade: keyof typeof colors.primary | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 = 500\n): string => {\n const colorGroup = colors[colorName];\n\n if (typeof colorGroup === \"object\" && colorGroup !== null && shade in colorGroup) {\n return (colorGroup as Record<string, string>)[String(shade)];\n }\n\n // Fallback to primary color if not found\n return colors.primary[500];\n};\n\n// Type helpers for theme\nexport type ThemeSize = keyof typeof theme.sizes;\nexport type ThemeVariant = keyof typeof theme.variants;\nexport type ThemeVariantStyle = keyof typeof theme.variants.primary;\nexport type ThemeRadius = keyof typeof theme.radius;\nexport type ThemeSpacing = keyof typeof theme.spacing;\nexport type ThemeTypography = keyof typeof theme.typography;\nexport type ThemeColor = keyof typeof colors;\n// 1-12: Radix scale (new). 50-900: legacy shades (kept during Phase 12B migration).\nexport type ThemeColorShade =\n | 1\n | 2\n | 3\n | 4\n | 5\n | 6\n | 7\n | 8\n | 9\n | 10\n | 11\n | 12\n | 50\n | 100\n | 200\n | 300\n | 400\n | 500\n | 600\n | 700\n | 800\n | 900;\nexport type ThemeAnimation = keyof typeof theme.animations;\n\n// Export colors for external use\nexport { colors };\n"]}
1
+ {"version":3,"sources":["../src/lib/theme.ts"],"names":["colors","theme","getColor","colorName","shade","colorGroup"],"mappings":"AACA,6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,CAGaE,CAAAA,aAAW,CACtBC,CAAAA,CACAC,CAAAA,CAAwF,GAAA,CAAA,EAC7E,CACX,IAAMC,CAAAA,CAAaL,CAAAA,CAAOG,CAAS,CAAA,CAEnC,OAAI,OAAOE,CAAAA,EAAe,QAAA,EAAYA,CAAAA,GAAe,IAAA,EAAQD,EAAAA,GAASC,CAAAA,CAC5DA,CAAAA,CAAsC,MAAA,CAAOD,CAAK,CAAC,CAAA,CAItDJ,CAAAA,CAAO,OAAA,CAAQ,GAAG,CAC3B,CAAA,CAAA,4CAAA","file":"/Users/kishor/Work/01-araCreate/arm/library/arm-ui-library/.claude/worktrees/accordion-drawer/dist/chunk-TD6NGM5I.js","sourcesContent":["// Simplified single color palette\nconst colors = {\n // Primary brand colors\n primary: {\n 50: \"#fef7e6\",\n 100: \"#fdecc0\",\n 200: \"#fbd886\",\n 300: \"#f9c44c\",\n 400: \"#f7b01f\",\n 500: \"#F9BF3B\", // Main primary\n 600: \"#e6a82d\",\n 700: \"#cc8f1f\",\n 800: \"#b37611\",\n 900: \"#995d03\",\n },\n\n // Secondary colors\n secondary: {\n 50: \"#f8fafc\",\n 100: \"#f1f5f9\",\n 200: \"#e2e8f0\",\n 300: \"#cbd5e1\",\n 400: \"#94a3b8\",\n 500: \"#64748b\",\n 600: \"#475569\",\n 700: \"#334155\",\n 800: \"#1e293b\",\n 900: \"#0f172a\",\n },\n\n // Semantic colors\n success: {\n 50: \"#f0fdf4\",\n 100: \"#dcfce7\",\n 200: \"#bbf7d0\",\n 300: \"#86efac\",\n 400: \"#4ade80\",\n 500: \"#22c55e\",\n 600: \"#16a34a\",\n 700: \"#15803d\",\n 800: \"#166534\",\n 900: \"#14532d\",\n },\n\n error: {\n 50: \"#fef2f2\",\n 100: \"#fee2e2\",\n 200: \"#fecaca\",\n 300: \"#fca5a5\",\n 400: \"#f87171\",\n 500: \"#ef4444\",\n 600: \"#dc2626\",\n 700: \"#b91c1c\",\n 800: \"#991b1b\",\n 900: \"#7f1d1d\",\n },\n\n warning: {\n 50: \"#fffbeb\",\n 100: \"#fef3c7\",\n 200: \"#fde68a\",\n 300: \"#fcd34d\",\n 400: \"#fbbf24\",\n 500: \"#f59e0b\",\n 600: \"#d97706\",\n 700: \"#b45309\",\n 800: \"#92400e\",\n 900: \"#78350f\",\n },\n\n info: {\n 50: \"#eff6ff\",\n 100: \"#dbeafe\",\n 200: \"#bfdbfe\",\n 300: \"#93c5fd\",\n 400: \"#60a5fa\",\n 500: \"#3b82f6\",\n 600: \"#2563eb\",\n 700: \"#1d4ed8\",\n 800: \"#1e40af\",\n 900: \"#1e3a8a\",\n },\n\n // Neutral colors\n neutral: {\n 50: \"#fafafa\",\n 100: \"#f5f5f5\",\n 200: \"#e5e5e5\",\n 300: \"#d4d4d4\",\n 400: \"#a3a3a3\",\n 500: \"#737373\",\n 600: \"#525252\",\n 700: \"#404040\",\n 800: \"#262626\",\n 900: \"#171717\",\n },\n\n // Background and surface colors\n background: {\n primary: \"#ffffff\",\n secondary: \"#f8fafc\",\n tertiary: \"#f1f5f9\",\n },\n\n // Text colors\n text: {\n primary: \"#0f172a\",\n secondary: \"#475569\",\n tertiary: \"#64748b\",\n disabled: \"#94a3b8\",\n },\n\n // Border colors\n border: {\n primary: \"#e2e8f0\",\n secondary: \"#cbd5e1\",\n focus: \"#3b82f6\",\n error: \"#ef4444\",\n },\n} as const;\n\n// Simplified theme system\nexport const theme = {\n // Single color palette\n colors,\n\n // Enhanced base component styles with accessibility focus\n base: {\n // Transitions with reduced motion support\n transition: \"transition-all duration-200 ease-in-out motion-reduce:transition-none\",\n\n // Enhanced focus states meeting WCAG 2.1 AA standards\n focus:\n \"focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-background-primary focus-visible:ring-2\",\n\n // Disabled states with proper contrast\n disabled: \"disabled:opacity-60 disabled:cursor-not-allowed disabled:pointer-events-none\",\n\n // Interactive states\n interactive: \"cursor-pointer select-none\",\n\n // High contrast mode support\n highContrast: \"forced-colors:border forced-colors:border-solid\",\n },\n\n // Enhanced size system with consistent spacing\n sizes: {\n xs: {\n text: \"text-xs\",\n padding: \"px-2 py-1\",\n height: \"h-6\",\n icon: \"h-3 w-3\",\n gap: \"gap-1\",\n },\n sm: {\n text: \"text-sm\",\n padding: \"px-3 py-1.5\",\n height: \"h-8\",\n icon: \"h-4 w-4\",\n gap: \"gap-1.5\",\n },\n md: {\n text: \"text-base\",\n padding: \"px-4 py-2\",\n height: \"h-10\",\n icon: \"h-5 w-5\",\n gap: \"gap-2\",\n },\n lg: {\n text: \"text-lg\",\n padding: \"px-5 py-2.5\",\n height: \"h-12\",\n icon: \"h-6 w-6\",\n gap: \"gap-2.5\",\n },\n xl: {\n text: \"text-xl\",\n padding: \"px-6 py-3\",\n height: \"h-14\",\n icon: \"h-7 w-7\",\n gap: \"gap-3\",\n },\n },\n\n // Enhanced variants with accessibility support — Radix 1-12 scale\n variants: {\n primary: {\n // text-neutral-12 (static dark): yellow-9 fails WCAG with white text\n solid:\n \"bg-primary-9 text-neutral-12 hover:bg-primary-10 focus:ring-primary-8 active:bg-primary-10\",\n outline:\n \"border border-primary-8 text-primary-11 hover:bg-primary-3 hover:border-primary-9 focus:ring-primary-8\",\n ghost: \"text-primary-11 hover:bg-primary-3 hover:text-primary-12 focus:ring-primary-8\",\n soft: \"bg-primary-3 text-primary-11 hover:bg-primary-4 focus:ring-primary-8\",\n },\n secondary: {\n // Secondary still uses legacy 50-900 shades (Phase 12B will migrate)\n solid:\n \"bg-secondary-500 text-white hover:bg-secondary-600 focus:ring-secondary-500 active:bg-secondary-700\",\n outline:\n \"border border-secondary-300 text-secondary-700 hover:bg-secondary-50 hover:border-secondary-400 focus:ring-secondary-500\",\n ghost:\n \"text-secondary-700 hover:bg-secondary-100 hover:text-secondary-800 focus:ring-secondary-500\",\n soft: \"bg-secondary-100 text-secondary-800 hover:bg-secondary-200 focus:ring-secondary-500\",\n },\n destructive: {\n solid: \"bg-error-9 text-white hover:bg-error-10 focus:ring-error-8 active:bg-error-10\",\n outline:\n \"border border-error-8 text-error-11 hover:bg-error-3 hover:border-error-9 focus:ring-error-8\",\n ghost: \"text-error-11 hover:bg-error-3 hover:text-error-12 focus:ring-error-8\",\n soft: \"bg-error-3 text-error-11 hover:bg-error-4 focus:ring-error-8\",\n },\n success: {\n solid:\n \"bg-success-9 text-white hover:bg-success-10 focus:ring-success-8 active:bg-success-10\",\n outline:\n \"border border-success-8 text-success-11 hover:bg-success-3 hover:border-success-9 focus:ring-success-8\",\n ghost: \"text-success-11 hover:bg-success-3 hover:text-success-12 focus:ring-success-8\",\n soft: \"bg-success-3 text-success-11 hover:bg-success-4 focus:ring-success-8\",\n },\n warning: {\n // text-neutral-12 (static dark): amber-9 also too bright for white text\n solid:\n \"bg-warning-9 text-neutral-12 hover:bg-warning-10 focus:ring-warning-8 active:bg-warning-10\",\n outline:\n \"border border-warning-8 text-warning-11 hover:bg-warning-3 hover:border-warning-9 focus:ring-warning-8\",\n ghost: \"text-warning-11 hover:bg-warning-3 hover:text-warning-12 focus:ring-warning-8\",\n soft: \"bg-warning-3 text-warning-11 hover:bg-warning-4 focus:ring-warning-8\",\n },\n info: {\n solid: \"bg-info-9 text-white hover:bg-info-10 focus:ring-info-8 active:bg-info-10\",\n outline:\n \"border border-info-8 text-info-11 hover:bg-info-3 hover:border-info-9 focus:ring-info-8\",\n ghost: \"text-info-11 hover:bg-info-3 hover:text-info-12 focus:ring-info-8\",\n soft: \"bg-info-3 text-info-11 hover:bg-info-4 focus:ring-info-8\",\n },\n },\n\n // Enhanced border radius system\n radius: {\n none: \"rounded-none\",\n xs: \"rounded-xs\",\n sm: \"rounded-sm\",\n md: \"rounded-md\",\n lg: \"rounded-lg\",\n xl: \"rounded-xl\",\n \"2xl\": \"rounded-2xl\",\n \"3xl\": \"rounded-3xl\",\n full: \"rounded-full\",\n },\n\n // Enhanced spacing system\n spacing: {\n none: \"gap-0\",\n xs: \"gap-1\",\n sm: \"gap-2\",\n md: \"gap-3\",\n lg: \"gap-4\",\n xl: \"gap-6\",\n \"2xl\": \"gap-8\",\n \"3xl\": \"gap-12\",\n },\n\n // Typography scale\n typography: {\n xs: \"text-xs leading-4\",\n sm: \"text-sm leading-5\",\n base: \"text-base leading-6\",\n lg: \"text-lg leading-7\",\n xl: \"text-xl leading-8\",\n \"2xl\": \"text-2xl leading-9\",\n \"3xl\": \"text-3xl leading-10\",\n },\n\n // Animation system with reduced motion support\n animations: {\n // Durations\n duration: {\n fast: \"duration-150\",\n normal: \"duration-200\",\n slow: \"duration-300\",\n },\n\n // Easing functions\n easing: {\n linear: \"ease-linear\",\n in: \"ease-in\",\n out: \"ease-out\",\n inOut: \"ease-in-out\",\n },\n\n // Common animations\n fadeIn: \"animate-in fade-in\",\n fadeOut: \"animate-out fade-out\",\n slideIn: \"animate-in slide-in-from-bottom-2\",\n slideOut: \"animate-out slide-out-to-bottom-2\",\n scaleIn: \"animate-in zoom-in-95\",\n scaleOut: \"animate-out zoom-out-95\",\n },\n\n // Accessibility features\n accessibility: {\n // Screen reader only content\n srOnly: \"sr-only\",\n\n // Focus management\n focusTrap: \"focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2\",\n\n // High contrast mode\n highContrast: \"forced-colors:border forced-colors:border-solid\",\n\n // Reduced motion\n reducedMotion: \"motion-reduce:transition-none motion-reduce:animate-none\",\n\n // Touch targets (minimum 44px)\n touchTarget: \"min-h-11 min-w-11\",\n },\n} as const;\n\n// Helper function to get colors\nexport const getColor = (\n colorName: keyof typeof colors,\n shade: keyof typeof colors.primary | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 = 500\n): string => {\n const colorGroup = colors[colorName];\n\n if (typeof colorGroup === \"object\" && colorGroup !== null && shade in colorGroup) {\n return (colorGroup as Record<string, string>)[String(shade)];\n }\n\n // Fallback to primary color if not found\n return colors.primary[500];\n};\n\n// Type helpers for theme\nexport type ThemeSize = keyof typeof theme.sizes;\nexport type ThemeVariant = keyof typeof theme.variants;\nexport type ThemeVariantStyle = keyof typeof theme.variants.primary;\nexport type ThemeRadius = keyof typeof theme.radius;\nexport type ThemeSpacing = keyof typeof theme.spacing;\nexport type ThemeTypography = keyof typeof theme.typography;\nexport type ThemeColor = keyof typeof colors;\n// 1-12: Radix scale (new). 50-900: legacy shades (kept during Phase 12B migration).\nexport type ThemeColorShade =\n | 1\n | 2\n | 3\n | 4\n | 5\n | 6\n | 7\n | 8\n | 9\n | 10\n | 11\n | 12\n | 50\n | 100\n | 200\n | 300\n | 400\n | 500\n | 600\n | 700\n | 800\n | 900;\nexport type ThemeAnimation = keyof typeof theme.animations;\n\n// Export colors for external use\nexport { colors };\n"]}
package/dist/index.d.mts CHANGED
@@ -1,7 +1,9 @@
1
1
  import { ThemeProps } from '@radix-ui/themes';
2
2
  export { AccessibleIcon, AccessibleIconProps, AlertDialog, AspectRatio, AspectRatioProps, Avatar, AvatarProps, Badge, BadgeProps, Blockquote, BlockquoteProps, Box, BoxProps, Button, ButtonProps, Callout, Card, CardProps, Checkbox, CheckboxCards, CheckboxGroup, CheckboxProps, Code, CodeProps, Container, ContainerProps, ContextMenu, DataList, Dialog, DropdownMenu, Em, EmProps, Flex, FlexProps, Grid, GridProps, Heading, HeadingProps, HoverCard, IconButton, IconButtonProps, Inset, InsetProps, Kbd, KbdProps, Popover, Portal, PortalProps, Progress, ProgressProps, Quote, QuoteProps, Radio, RadioCards, RadioGroup, RadioProps, ScrollArea, ScrollAreaProps, Section, SectionProps, SegmentedControl, Select, Separator, SeparatorProps, Slider, SliderProps, Slot, Slottable, Spinner, SpinnerProps, Strong, StrongProps, Switch, SwitchProps, TabNav, Table, Tabs, Text, TextArea, TextAreaProps, TextField, Link as TextLink, LinkProps as TextLinkProps, TextProps, Tooltip, TooltipProps, VisuallyHidden, VisuallyHiddenProps } from '@radix-ui/themes';
3
- import * as react from 'react';
4
- import react__default, { CSSProperties, ReactNode } from 'react';
3
+ import * as React$1 from 'react';
4
+ import React__default, { CSSProperties, ReactNode } from 'react';
5
+ import * as RadixAccordion from '@radix-ui/react-accordion';
6
+ import * as RadixDialog from '@radix-ui/react-dialog';
5
7
  import { HeaderProps, ToolbarProps } from 'react-big-calendar';
6
8
  export { View } from 'react-big-calendar';
7
9
  import { ClassValue } from 'clsx';
@@ -25,7 +27,55 @@ interface SkeletonProps {
25
27
  className?: string;
26
28
  style?: CSSProperties;
27
29
  }
28
- declare function Skeleton({ width, height, radius, circle, mb, className, style, }: SkeletonProps): react.JSX.Element;
30
+ declare function Skeleton({ width, height, radius, circle, mb, className, style, }: SkeletonProps): React$1.JSX.Element;
31
+
32
+ /**
33
+ * Accordion — collapsible sections. Radix Themes has no accordion, so this is
34
+ * built on the raw `@radix-ui/react-accordion` primitive. Styles live in
35
+ * tokens.css (`.arm-accordion*`) — consumers' UnoCSS does not scan this
36
+ * package. Moved here from core-fe so no frontend imports a Radix primitive.
37
+ *
38
+ * <Accordion type="single" collapsible>
39
+ * <AccordionItem value="a">
40
+ * <AccordionTrigger>Title</AccordionTrigger>
41
+ * <AccordionContent>Body</AccordionContent>
42
+ * </AccordionItem>
43
+ * </Accordion>
44
+ */
45
+ declare const Accordion: React$1.ForwardRefExoticComponent<(Omit<RadixAccordion.AccordionSingleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> | Omit<RadixAccordion.AccordionMultipleProps & React$1.RefAttributes<HTMLDivElement>, "ref">) & React$1.RefAttributes<HTMLDivElement>>;
46
+ declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<RadixAccordion.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
47
+ declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<RadixAccordion.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
48
+ declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<RadixAccordion.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
49
+
50
+ /**
51
+ * Drawer — a side sheet. Not a Radix Themes concept, so it is built on the raw
52
+ * `@radix-ui/react-dialog` primitive (focus trap, Escape, overlay click). Styles
53
+ * live in tokens.css (`.arm-drawer*`) — consumers' UnoCSS does not scan this
54
+ * package. Moved here from core-fe so no frontend imports a Radix primitive.
55
+ *
56
+ * <Drawer open={open} onOpenChange={setOpen}>
57
+ * <DrawerContent side="right" size="md">
58
+ * <DrawerHeader><DrawerTitle>Notifications</DrawerTitle></DrawerHeader>
59
+ * …
60
+ * <DrawerDefaultClose />
61
+ * </DrawerContent>
62
+ * </Drawer>
63
+ */
64
+ declare const Drawer: React$1.FC<RadixDialog.DialogProps>;
65
+ declare const DrawerTrigger: React$1.ForwardRefExoticComponent<RadixDialog.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
66
+ declare const DrawerClose: React$1.ForwardRefExoticComponent<RadixDialog.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
67
+ type Side = "right" | "left";
68
+ /** sm 16rem · md 20rem · lg 480px */
69
+ type Size$1 = "sm" | "md" | "lg";
70
+ interface DrawerContentProps extends React$1.ComponentPropsWithoutRef<typeof RadixDialog.Content> {
71
+ side?: Side;
72
+ size?: Size$1;
73
+ }
74
+ declare const DrawerContent: React$1.ForwardRefExoticComponent<DrawerContentProps & React$1.RefAttributes<HTMLDivElement>>;
75
+ declare const DrawerHeader: React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>;
76
+ declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<RadixDialog.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
77
+ declare const DrawerDescription: React$1.ForwardRefExoticComponent<Omit<RadixDialog.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
78
+ declare const DrawerDefaultClose: React$1.FC;
29
79
 
30
80
  /**
31
81
  * AccentHeader — the amber two-tone title bar Figma uses on cards, dialogs,
@@ -42,7 +92,7 @@ interface AccentHeaderProps {
42
92
  trailing?: ReactNode;
43
93
  style?: CSSProperties;
44
94
  }
45
- declare function AccentHeader({ title, trailing, style }: AccentHeaderProps): react.JSX.Element;
95
+ declare function AccentHeader({ title, trailing, style }: AccentHeaderProps): React$1.JSX.Element;
46
96
  /**
47
97
  * AccentCard — white panel with an AccentHeader bar and rounded corners
48
98
  * (measured r≈14 @1728 → var(--radius-5)) plus the soft card shadow seen on
@@ -53,7 +103,7 @@ interface AccentCardProps extends AccentHeaderProps {
53
103
  /** Radix padding scale for the body. Defaults to "4"; use "0" for flush content. */
54
104
  bodyPadding?: "0" | "1" | "2" | "3" | "4" | "5" | "6";
55
105
  }
56
- declare function AccentCard({ title, trailing, children, bodyPadding, style, }: AccentCardProps): react.JSX.Element;
106
+ declare function AccentCard({ title, trailing, children, bodyPadding, style, }: AccentCardProps): React$1.JSX.Element;
57
107
 
58
108
  /**
59
109
  * ConfirmDialog — the confirm/cancel prompt used for destructive or
@@ -79,7 +129,7 @@ interface ConfirmDialogProps {
79
129
  open?: boolean;
80
130
  onOpenChange?: (open: boolean) => void;
81
131
  }
82
- declare function ConfirmDialog({ title, description, confirmLabel, cancelLabel, onConfirm, trigger, open, onOpenChange, }: ConfirmDialogProps): react.JSX.Element;
132
+ declare function ConfirmDialog({ title, description, confirmLabel, cancelLabel, onConfirm, trigger, open, onOpenChange, }: ConfirmDialogProps): React$1.JSX.Element;
83
133
 
84
134
  /**
85
135
  * PausedBadge — small outline pill marking a paused account. Sits top-left
@@ -101,7 +151,7 @@ interface PausedBadgeProps {
101
151
  label?: string;
102
152
  style?: CSSProperties;
103
153
  }
104
- declare function PausedBadge({ label, style }: PausedBadgeProps): react.JSX.Element;
154
+ declare function PausedBadge({ label, style }: PausedBadgeProps): React$1.JSX.Element;
105
155
 
106
156
  /**
107
157
  * AccountCard — the account tile used on the accounts grid: avatar + name +
@@ -129,7 +179,7 @@ interface AccountCardProps {
129
179
  accentColor?: string;
130
180
  style?: CSSProperties;
131
181
  }
132
- declare function AccountCard({ name, email, avatarSrc, paused, onPause, onResume, onDelete, onClick, badge, accentColor, style, }: AccountCardProps): react.JSX.Element;
182
+ declare function AccountCard({ name, email, avatarSrc, paused, onPause, onResume, onDelete, onClick, badge, accentColor, style, }: AccountCardProps): React$1.JSX.Element;
133
183
 
134
184
  /**
135
185
  * MonthGrid — the month calendar grid from the Preview card (Target/Source
@@ -158,7 +208,7 @@ interface MonthGridProps {
158
208
  onSelectDay?: (date: Date) => void;
159
209
  style?: CSSProperties;
160
210
  }
161
- declare function MonthGrid({ month, onMonthChange, events, dayDots, today, onSelectDay, style, }: MonthGridProps): react.JSX.Element;
211
+ declare function MonthGrid({ month, onMonthChange, events, dayDots, today, onSelectDay, style, }: MonthGridProps): React$1.JSX.Element;
162
212
 
163
213
  interface ToastProps {
164
214
  msg: string;
@@ -169,7 +219,7 @@ interface ToastProps {
169
219
  /** Fixed bottom-right auto-dismissing confirmation — the shared shape for
170
220
  * "did my save work" feedback across the app (previously a one-off local
171
221
  * component on AdminUserDetailPage only). */
172
- declare function Toast({ msg, color, onDone, durationMs }: ToastProps): react.JSX.Element;
222
+ declare function Toast({ msg, color, onDone, durationMs }: ToastProps): React$1.JSX.Element;
173
223
 
174
224
  /**
175
225
  * IconTile — the app's one icon-well treatment: a bordered rounded-square
@@ -183,7 +233,7 @@ interface IconTileProps {
183
233
  /** Tile size — defaults to var(--space-7), the size used across the app. */
184
234
  size?: string;
185
235
  }
186
- declare function IconTile({ children, size }: IconTileProps): react.JSX.Element;
236
+ declare function IconTile({ children, size }: IconTileProps): React$1.JSX.Element;
187
237
 
188
238
  interface CardFooterProps {
189
239
  children: ReactNode;
@@ -205,7 +255,7 @@ interface CardFooterProps {
205
255
  * Card's own padding so it reads as a distinct footer strip, same shape as
206
256
  * ImportCalendarsDialog's button row. Use for any Card/Dialog that ends in
207
257
  * one or more buttons instead of a plain Separator + Flex. */
208
- declare function CardFooter({ children, justify, noTopMargin, pad, radius, }: CardFooterProps): react.JSX.Element;
258
+ declare function CardFooter({ children, justify, noTopMargin, pad, radius, }: CardFooterProps): React$1.JSX.Element;
209
259
 
210
260
  interface EventBlockProps {
211
261
  title: string;
@@ -218,7 +268,7 @@ interface EventBlockProps {
218
268
  * color with white text, matching OneCal's SYNC PREVIEW mockups. Used
219
269
  * anywhere a real (or sample) event needs to read as "this calendar's
220
270
  * color", not a thin accent bar + badge. */
221
- declare function EventBlock({ title, time, detail, color, locked }: EventBlockProps): react.JSX.Element;
271
+ declare function EventBlock({ title, time, detail, color, locked }: EventBlockProps): React$1.JSX.Element;
222
272
 
223
273
  interface DataTableRowProps {
224
274
  children: ReactNode;
@@ -244,7 +294,7 @@ interface DataTableRowProps {
244
294
  * so `style` carries the grid/flex shape and `children` carries the cells;
245
295
  * this component only owns the classes and interaction/border wiring that
246
296
  * were previously hand-copied into five separate page files. */
247
- declare function DataTableRow({ children, style, showBorder, onActivate, selected, className, "aria-label": ariaLabel, }: DataTableRowProps): react.JSX.Element;
297
+ declare function DataTableRow({ children, style, showBorder, onActivate, selected, className, "aria-label": ariaLabel, }: DataTableRowProps): React$1.JSX.Element;
248
298
 
249
299
  interface MetricCardProps {
250
300
  label: string;
@@ -262,7 +312,7 @@ interface MetricCardProps {
262
312
  }
263
313
  /** Admin/platform stat tile: label + status dot, big value, delta indicator,
264
314
  * inline sparkline. Used for dashboard "platform health" grids. */
265
- declare function MetricCard({ label, value, delta, deltaDir, goodDirection, statusColor, sparkline, }: MetricCardProps): react.JSX.Element;
315
+ declare function MetricCard({ label, value, delta, deltaDir, goodDirection, statusColor, sparkline, }: MetricCardProps): React$1.JSX.Element;
266
316
 
267
317
  interface AppCardProps {
268
318
  href: string;
@@ -272,7 +322,7 @@ interface AppCardProps {
272
322
  }
273
323
  /** Workspace-shortcut tile: icon + name header, description, "Open" CTA
274
324
  * footer. Used for the home dashboard's granted-apps grid. */
275
- declare function AppCard({ href, icon, name, description }: AppCardProps): react.JSX.Element;
325
+ declare function AppCard({ href, icon, name, description }: AppCardProps): React$1.JSX.Element;
276
326
 
277
327
  interface ActivityRowProps {
278
328
  /** Short colored tag, e.g. "AUTH", "ROLE", "PROV" — matches an audit-log
@@ -289,7 +339,7 @@ interface ActivityRowProps {
289
339
  /** Sentry-style dense activity-feed row: colored type tag, message + actor,
290
340
  * optional relative time, and a right-aligned monospace timestamp. Built on
291
341
  * DataTableRow for the shared hover/border plumbing. */
292
- declare function ActivityRow({ tag, tagColor, msg, actor, timeAgo, timestamp, showBorder, }: ActivityRowProps): react.JSX.Element;
342
+ declare function ActivityRow({ tag, tagColor, msg, actor, timeAgo, timestamp, showBorder, }: ActivityRowProps): React$1.JSX.Element;
293
343
 
294
344
  interface DashboardErrorCardProps {
295
345
  onRetry: () => void;
@@ -297,7 +347,7 @@ interface DashboardErrorCardProps {
297
347
  message?: string;
298
348
  }
299
349
  /** Generic "failed to load" state: warning icon, message, Retry CTA. */
300
- declare function DashboardErrorCard({ onRetry, message }: DashboardErrorCardProps): react.JSX.Element;
350
+ declare function DashboardErrorCard({ onRetry, message }: DashboardErrorCardProps): React$1.JSX.Element;
301
351
 
302
352
  interface PaginationProps {
303
353
  /** 1-based. */
@@ -311,7 +361,7 @@ interface PaginationProps {
311
361
  /** Radix control size. */
312
362
  size?: "1" | "2";
313
363
  }
314
- declare function Pagination({ currentPage, totalPages, onPageChange, siblingCount, showFirstLast, size, }: PaginationProps): react.JSX.Element;
364
+ declare function Pagination({ currentPage, totalPages, onPageChange, siblingCount, showFirstLast, size, }: PaginationProps): React$1.JSX.Element;
315
365
 
316
366
  /** Radix space-scale layout widths. Originally a subset of the app's
317
367
  * src/lib/layout-tokens.ts covering only what this package's own components
@@ -425,7 +475,7 @@ interface SidebarProps {
425
475
  onDevRoleSelect?: (email: string) => void;
426
476
  showDevRoles?: boolean;
427
477
  }
428
- declare function Sidebar({ collapsed, onToggle, onClose, items, utilityHrefs: utilityHrefsProp, user, onSignOut, hasCalendarAccounts, brandLogoExpandedSrc, brandLogoCollapsedSrc, helpHref, devRoles, onDevRoleSelect, showDevRoles, }: SidebarProps): react.JSX.Element;
478
+ declare function Sidebar({ collapsed, onToggle, onClose, items, utilityHrefs: utilityHrefsProp, user, onSignOut, hasCalendarAccounts, brandLogoExpandedSrc, brandLogoCollapsedSrc, helpHref, devRoles, onDevRoleSelect, showDevRoles, }: SidebarProps): React$1.JSX.Element;
429
479
 
430
480
  /**
431
481
  * Single source of truth for status / role / activity / audit colors.
@@ -498,19 +548,19 @@ declare function auditActionMeta(action: string): {
498
548
 
499
549
  declare function AuthCard({ children }: {
500
550
  children: React.ReactNode;
501
- }): react.JSX.Element;
551
+ }): React$1.JSX.Element;
502
552
 
503
- declare function BrandPanel(): react.JSX.Element;
553
+ declare function BrandPanel(): React$1.JSX.Element;
504
554
 
505
- declare function GoogleIcon(): react.JSX.Element;
555
+ declare function GoogleIcon(): React$1.JSX.Element;
506
556
 
507
- declare function MicrosoftIcon(): react.JSX.Element;
557
+ declare function MicrosoftIcon(): React$1.JSX.Element;
508
558
 
509
559
  declare function OtpInput({ value, onChange, disabled }: {
510
560
  value: string;
511
561
  onChange: (v: string) => void;
512
562
  disabled?: boolean;
513
- }): react.JSX.Element;
563
+ }): React$1.JSX.Element;
514
564
 
515
565
  interface OtpVerifyStepProps {
516
566
  email: string;
@@ -534,7 +584,7 @@ interface OtpVerifyStepProps {
534
584
  onResend: () => void;
535
585
  onUseDifferentEmail: () => void;
536
586
  }
537
- declare function OtpVerifyStep({ email, title, subtitle, code, onCodeChange, otpDevHint, error, errorAction, busy, otpExpiresAt, otpSecondsLeft, resendCooldown, onResend, onUseDifferentEmail, }: OtpVerifyStepProps): react.JSX.Element;
587
+ declare function OtpVerifyStep({ email, title, subtitle, code, onCodeChange, otpDevHint, error, errorAction, busy, otpExpiresAt, otpSecondsLeft, resendCooldown, onResend, onUseDifferentEmail, }: OtpVerifyStepProps): React$1.JSX.Element;
538
588
 
539
589
  /** Duplicated from the app's src/lib/mock.ts (not imported) so this package
540
590
  * has no dependency back into the app. Keep in sync if the app's type changes. */
@@ -545,7 +595,7 @@ type CalendarProvider = "google" | "microsoft";
545
595
  * you WHICH account; this icon tells you WHICH provider). */
546
596
  declare function ProviderIcon({ provider }: {
547
597
  provider: CalendarProvider;
548
- }): react.JSX.Element;
598
+ }): React$1.JSX.Element;
549
599
  /** Human-readable provider names for consent copy and the chooser. */
550
600
  declare const PROVIDER_LABEL: Record<CalendarProvider, string>;
551
601
 
@@ -565,7 +615,7 @@ interface TopbarProps {
565
615
  titles?: TopbarTitleRow[];
566
616
  adminTitles?: TopbarAdminTitleRow[];
567
617
  }
568
- declare function Topbar({ onSearchOpen, onMenuOpen, showMenu, titles, adminTitles, }: TopbarProps): react.JSX.Element;
618
+ declare function Topbar({ onSearchOpen, onMenuOpen, showMenu, titles, adminTitles, }: TopbarProps): React$1.JSX.Element;
569
619
 
570
620
  type SearchResultType = "app" | "people" | "page";
571
621
  interface SearchResult {
@@ -585,7 +635,7 @@ interface SearchOverlayProps {
585
635
  title?: string;
586
636
  placeholder?: string;
587
637
  }
588
- declare function SearchOverlay({ open, onClose, results: resultPool, onSelectResult, title, placeholder, }: SearchOverlayProps): react.JSX.Element;
638
+ declare function SearchOverlay({ open, onClose, results: resultPool, onSelectResult, title, placeholder, }: SearchOverlayProps): React$1.JSX.Element;
589
639
 
590
640
  /** Duplicated from the app's src/lib/calendar-mock.ts (not imported) so this
591
641
  * package has no dependency back into the app. Keep in sync if the app's
@@ -662,7 +712,7 @@ interface CalendarDayHeaderProps extends HeaderProps {
662
712
  * weekday caption + a filled amber circle on today's date number, matching
663
713
  * the OneCal reference's today marker instead of the near-invisible
664
714
  * `.rbc-today` background wash. */
665
- declare function CalendarDayHeader({ date, today }: CalendarDayHeaderProps): react.JSX.Element;
715
+ declare function CalendarDayHeader({ date, today }: CalendarDayHeaderProps): React$1.JSX.Element;
666
716
 
667
717
  /** OneCal-style flat calendar list (logo + name/email + control). */
668
718
  declare function CalendarPickList({ accounts, mode, sourceCalendarIds, targetCalendarId, takenSourceIds, onToggleSource, onSelectTarget, fill, }: {
@@ -675,14 +725,14 @@ declare function CalendarPickList({ accounts, mode, sourceCalendarIds, targetCal
675
725
  onSelectTarget: (calendarId: string) => void;
676
726
  /** Fill parent and scroll internally (step 2 dual lists). */
677
727
  fill?: boolean;
678
- }): react.JSX.Element;
728
+ }): React$1.JSX.Element;
679
729
 
680
730
  /** DS-native replacement for react-big-calendar's default toolbar — pill nav
681
731
  * arrows + Today button (left), label (center), Week/Month switch (right).
682
732
  * All logic stays RBC's; this only swaps the rendered chrome.
683
733
  * Props typed loosely (any event/resource) since RBC's Components<TEvent>
684
734
  * requires the toolbar to accept ToolbarProps<TEvent>, not our own event type. */
685
- declare function CalendarToolbar({ label, view, onNavigate, onView, }: ToolbarProps<object, object>): react.JSX.Element;
735
+ declare function CalendarToolbar({ label, view, onNavigate, onView, }: ToolbarProps<object, object>): React$1.JSX.Element;
686
736
 
687
737
  declare const PROVIDER_META: Record<CalendarProvider, {
688
738
  label: string;
@@ -697,7 +747,7 @@ declare function ConnectProviderList({ connectingProvider, failedProvider, exhau
697
747
  * not a real error, so Retry can't help and the copy should say so. */
698
748
  exhausted?: boolean;
699
749
  onConnect: (provider: CalendarProvider) => void;
700
- }): react.JSX.Element;
750
+ }): React$1.JSX.Element;
701
751
 
702
752
  /** Compact horizontal connected-account card — fills its grid cell (max 4 / row). */
703
753
  declare function ConnectedAccountCard({ account, onRemove, onReconnect, onClick, }: {
@@ -706,7 +756,7 @@ declare function ConnectedAccountCard({ account, onRemove, onReconnect, onClick,
706
756
  onReconnect?: () => void;
707
757
  /** Opens account detail (calendars) — kebab clicks do not fire this. */
708
758
  onClick?: () => void;
709
- }): react.JSX.Element;
759
+ }): React$1.JSX.Element;
710
760
 
711
761
  interface EmptyCardProps {
712
762
  icon: ReactNode;
@@ -733,7 +783,7 @@ interface EmptyCardProps {
733
783
  * background/shadow, matching Vercel's flat "Continue to X" / "Connect a
734
784
  * calendar" pattern (see ConnectProviderRows, which uses the same shape)
735
785
  * instead of a bordered box floating in the page. */
736
- declare function EmptyCard({ icon, title, description, action, headingAs, }: EmptyCardProps): react.JSX.Element;
786
+ declare function EmptyCard({ icon, title, description, action, headingAs, }: EmptyCardProps): React$1.JSX.Element;
737
787
 
738
788
  interface ImportCalendarsDialogProps {
739
789
  /** Account catalog whose calendars are offered. Null closes the dialog. */
@@ -764,7 +814,7 @@ interface ImportCalendarsDialogProps {
764
814
  }
765
815
  /** Choose / change which calendars belong to a connected account — OneCal
766
816
  * import step; also reused from the account detail popup to edit selection. */
767
- declare function ImportCalendarsDialog({ account, onOpenChange, onImport, initiallySelectedIds, disabledIds, disabledReason, title, description, confirmLabel, }: ImportCalendarsDialogProps): react.JSX.Element;
817
+ declare function ImportCalendarsDialog({ account, onOpenChange, onImport, initiallySelectedIds, disabledIds, disabledReason, title, description, confirmLabel, }: ImportCalendarsDialogProps): React$1.JSX.Element;
768
818
 
769
819
  /** The stand-in event the preview transforms. Not the user's data — see
770
820
  * `SyncPreviewRailProps.sampleEvent`. */
@@ -816,17 +866,17 @@ interface SyncPreviewRailProps {
816
866
  * sync settings, and its title always carries the sync's tag (the tag alone
817
867
  * when titles are off, `Gym - (Busy)` when they are on).
818
868
  */
819
- declare function SyncPreviewRail({ hasSources, hasTarget, sourceLabel, targetLabel, showTitle, showDescription, showLocation, tagLabel, accentColor, sampleEvent, }: SyncPreviewRailProps): react.JSX.Element;
869
+ declare function SyncPreviewRail({ hasSources, hasTarget, sourceLabel, targetLabel, showTitle, showDescription, showLocation, tagLabel, accentColor, sampleEvent, }: SyncPreviewRailProps): React$1.JSX.Element;
820
870
 
821
871
  /** Guided first-run stepper on /calendar — OneCal numbered steps, our DS. */
822
872
  declare function OnboardingStepper({ current }: {
823
873
  current: number;
824
- }): react.JSX.Element;
874
+ }): React$1.JSX.Element;
825
875
  /** @deprecated Prefer OnboardingStepper. */
826
876
  declare function OnboardingStepDots({ current, total }: {
827
877
  current: number;
828
878
  total?: number;
829
- }): react.JSX.Element;
879
+ }): React$1.JSX.Element;
830
880
 
831
881
  interface MiniMonthPickerProps {
832
882
  cursor: Date;
@@ -839,7 +889,7 @@ interface MiniMonthPickerProps {
839
889
  * (month nav + 7-col day grid, selected day filled), rebuilt on our own
840
890
  * tokens/colors (amber selection, not blue). Clicking a day jumps the main
841
891
  * grid's cursor to that date. */
842
- declare function MiniMonthPicker({ cursor, onSelect, today }: MiniMonthPickerProps): react.JSX.Element;
892
+ declare function MiniMonthPicker({ cursor, onSelect, today }: MiniMonthPickerProps): React$1.JSX.Element;
843
893
 
844
894
  interface WizardStepMeta {
845
895
  n: string;
@@ -854,7 +904,7 @@ interface WizardStepMeta {
854
904
  declare function WizardStepper({ steps, current, }: {
855
905
  steps: readonly WizardStepMeta[];
856
906
  current: number;
857
- }): react.JSX.Element;
907
+ }): React$1.JSX.Element;
858
908
 
859
909
  interface AccountCalendarsDialogProps {
860
910
  /** The account to show, resolved by the app — null closes the dialog. */
@@ -868,7 +918,7 @@ interface AccountCalendarsDialogProps {
868
918
  onReconnect?: (accountId: string) => void;
869
919
  }
870
920
  /** Account detail popup — view calendars, remove one, or change which are imported. */
871
- declare function AccountCalendarsDialog({ account, catalog, onOpenChange, onRemoveCalendar, onSaveCalendars, onReconnect, }: AccountCalendarsDialogProps): react.JSX.Element;
921
+ declare function AccountCalendarsDialog({ account, catalog, onOpenChange, onRemoveCalendar, onSaveCalendars, onReconnect, }: AccountCalendarsDialogProps): React$1.JSX.Element;
872
922
 
873
923
  interface BigCalendarViewProps {
874
924
  blocks: ResolvedBlock[];
@@ -889,7 +939,7 @@ interface BigCalendarViewProps {
889
939
  * see big-calendar-overrides.css. Renders our own event card (title, time
890
940
  * range, location) via `components.event`, colored per calendar via
891
941
  * `eventPropGetter`. */
892
- declare function BigCalendarView({ blocks, view, onViewChange, date, onNavigate, accounts, today, }: BigCalendarViewProps): react.JSX.Element;
942
+ declare function BigCalendarView({ blocks, view, onViewChange, date, onNavigate, accounts, today, }: BigCalendarViewProps): React$1.JSX.Element;
893
943
 
894
944
  interface SyncDetailsDialogProps {
895
945
  sync: CalendarSync | null;
@@ -899,7 +949,7 @@ interface SyncDetailsDialogProps {
899
949
  onEdit: (syncId: string) => void;
900
950
  }
901
951
  /** OneCal-style View Details — flat label/value summary of sync config. */
902
- declare function SyncDetailsDialog({ sync, accounts, onOpenChange, onEdit }: SyncDetailsDialogProps): react.JSX.Element;
952
+ declare function SyncDetailsDialog({ sync, accounts, onOpenChange, onEdit }: SyncDetailsDialogProps): React$1.JSX.Element;
903
953
 
904
954
  interface UseConnectAccountOptions {
905
955
  /** Currently connected accounts — passed to `connectProvider` so it can
@@ -939,13 +989,13 @@ interface AddAccountMenuProps extends UseConnectAccountOptions {
939
989
  /** "+ Connect Account" — button or dashed tile; opens provider picker then
940
990
  * ImportCalendarsDialog. Trigger must be a single React element (Radix
941
991
  * Themes DropdownMenu.Trigger always uses asChild). */
942
- declare function AddAccountMenu({ variant, trigger, accounts, connectProvider, onAccountAdded, onImported, }: AddAccountMenuProps): react.JSX.Element;
992
+ declare function AddAccountMenu({ variant, trigger, accounts, connectProvider, onAccountAdded, onImported, }: AddAccountMenuProps): React$1.JSX.Element;
943
993
 
944
994
  type ConnectProviderRowsProps = UseConnectAccountOptions;
945
995
  /** Connect-first UI — used on Manage Syncs (section home) and Accounts when
946
996
  * no accounts are connected yet. Fills the content slot and centers as one
947
997
  * composition; inner spacing matches Home empty cards (`py="6"`, `gap="3"`). */
948
- declare function ConnectProviderRows({ accounts, connectProvider, onAccountAdded, onImported }: ConnectProviderRowsProps): react.JSX.Element;
998
+ declare function ConnectProviderRows({ accounts, connectProvider, onAccountAdded, onImported }: ConnectProviderRowsProps): React$1.JSX.Element;
949
999
 
950
1000
  interface CalendarMergedViewProps {
951
1001
  accounts: CalendarAccount[];
@@ -971,7 +1021,7 @@ interface CalendarMergedViewProps {
971
1021
  * manage) + week/month hour grid. All calendar data and app navigation are
972
1022
  * supplied by the caller; this component owns only its own UI state
973
1023
  * (cursor date, collapsed account groups, narrow-viewport sidebar toggle). */
974
- declare function CalendarMergedView({ accounts, view, setView, hideClones, setHideClones, mergedCalendarIds, visibleCalendarIds, toggleCalendarVisible, getVisibleBlocksInRange, manageAccountsHref, today, }: CalendarMergedViewProps): react.JSX.Element;
1024
+ declare function CalendarMergedView({ accounts, view, setView, hideClones, setHideClones, mergedCalendarIds, visibleCalendarIds, toggleCalendarVisible, getVisibleBlocksInRange, manageAccountsHref, today, }: CalendarMergedViewProps): React$1.JSX.Element;
975
1025
 
976
1026
  declare const colors: {
977
1027
  readonly primary: {
@@ -1332,13 +1382,13 @@ interface BaseProps {
1332
1382
  /** Additional CSS class names */
1333
1383
  className?: string;
1334
1384
  /** Child elements */
1335
- children?: react.ReactNode;
1385
+ children?: React$1.ReactNode;
1336
1386
  /** Unique identifier for the component */
1337
1387
  id?: string;
1338
1388
  /** Test identifier for testing purposes */
1339
1389
  testId?: string;
1340
1390
  /** Custom styles */
1341
- style?: react.CSSProperties;
1391
+ style?: React$1.CSSProperties;
1342
1392
  }
1343
1393
  interface InteractiveProps extends BaseProps {
1344
1394
  /** Whether the component is disabled */
@@ -1346,13 +1396,13 @@ interface InteractiveProps extends BaseProps {
1346
1396
  /** Whether the component is in a loading state */
1347
1397
  loading?: boolean;
1348
1398
  /** Callback fired when the component is clicked */
1349
- onClick?: (event: react.MouseEvent) => void;
1399
+ onClick?: (event: React$1.MouseEvent) => void;
1350
1400
  /** Callback fired when the component receives focus */
1351
- onFocus?: (event: react.FocusEvent) => void;
1401
+ onFocus?: (event: React$1.FocusEvent) => void;
1352
1402
  /** Callback fired when the component loses focus */
1353
- onBlur?: (event: react.FocusEvent) => void;
1403
+ onBlur?: (event: React$1.FocusEvent) => void;
1354
1404
  /** Callback fired on key down events */
1355
- onKeyDown?: (event: react.KeyboardEvent) => void;
1405
+ onKeyDown?: (event: React$1.KeyboardEvent) => void;
1356
1406
  }
1357
1407
  type Size = ThemeSize;
1358
1408
  type Variant = ThemeVariant;
@@ -1376,14 +1426,14 @@ interface FormFieldProps extends InteractiveProps {
1376
1426
  /** Auto-focus the field on mount */
1377
1427
  autoFocus?: boolean;
1378
1428
  }
1379
- type PolymorphicRef<T extends react.ElementType> = react.ComponentPropsWithRef<T>["ref"];
1380
- type PolymorphicComponentProps<T extends react.ElementType, P = object> = P & Omit<react.ComponentPropsWithoutRef<T>, keyof P> & {
1429
+ type PolymorphicRef<T extends React$1.ElementType> = React$1.ComponentPropsWithRef<T>["ref"];
1430
+ type PolymorphicComponentProps<T extends React$1.ElementType, P = object> = P & Omit<React$1.ComponentPropsWithoutRef<T>, keyof P> & {
1381
1431
  /** The element type to render as */
1382
1432
  as?: T;
1383
1433
  };
1384
- type PolymorphicComponent<T extends react.ElementType, P = object> = <C extends react.ElementType = T>(props: PolymorphicComponentProps<C, P> & {
1434
+ type PolymorphicComponent<T extends React$1.ElementType, P = object> = <C extends React$1.ElementType = T>(props: PolymorphicComponentProps<C, P> & {
1385
1435
  ref?: PolymorphicRef<C>;
1386
- }) => react.ReactElement | null;
1436
+ }) => React$1.ReactElement | null;
1387
1437
  interface InteractionStates {
1388
1438
  /** Whether the component is in hover state */
1389
1439
  hover?: boolean;
@@ -1414,7 +1464,7 @@ interface ComponentState<T = unknown> {
1414
1464
  /** Default value */
1415
1465
  defaultValue?: T;
1416
1466
  /** Callback fired when value changes */
1417
- onChange?: (value: T, event?: react.ChangeEvent | react.MouseEvent) => void;
1467
+ onChange?: (value: T, event?: React$1.ChangeEvent | React$1.MouseEvent) => void;
1418
1468
  /** Validation function */
1419
1469
  validate?: (value: T) => string | string[] | null;
1420
1470
  /** Whether the field has been touched */
@@ -1511,7 +1561,7 @@ declare function handleArrowNavigation(event: KeyboardEvent, elements: HTMLEleme
1511
1561
  interface UIProviderProps extends Omit<Partial<ThemeProps>, "children"> {
1512
1562
  children: ReactNode;
1513
1563
  }
1514
- declare function UIProvider({ children, appearance, radius, scaling, accentColor, grayColor, panelBackground, className, }: UIProviderProps): react__default.JSX.Element;
1564
+ declare function UIProvider({ children, appearance, radius, scaling, accentColor, grayColor, panelBackground, className, }: UIProviderProps): React__default.JSX.Element;
1515
1565
 
1516
1566
  declare function useControllableState<T>({ value, defaultValue, onChange, }: {
1517
1567
  value?: T;
@@ -1529,6 +1579,6 @@ declare function useDisclosure(defaultOpen?: boolean): {
1529
1579
  onToggle: () => void;
1530
1580
  };
1531
1581
 
1532
- declare function useClickOutside<T extends HTMLElement = HTMLElement>(handler: () => void, enabled?: boolean): react.RefObject<T | null>;
1582
+ declare function useClickOutside<T extends HTMLElement = HTMLElement>(handler: () => void, enabled?: boolean): React$1.RefObject<T | null>;
1533
1583
 
1534
- export { ACTIVITY_META, AUDIT_ACTION_META, AccentCard, type AccentCardProps, AccentHeader, type AccentHeaderProps, type AccessibilityProps, AccountCalendarsDialog, type AccountCalendarsDialogProps, AccountCard, type AccountCardProps, ActivityRow, type ActivityRowProps, type ActivityType, AddAccountMenu, type AddAccountMenuProps, AppCard, type AppCardProps, type AuditAction, AuthCard, type AvailabilityBlock, type BaseProps, BigCalendarView, type BigCalendarViewProps, BrandPanel, type CalendarAccount, type CalendarAccountCalendar, CalendarDayHeader, type CalendarDayHeaderProps, CalendarMergedView, type CalendarMergedViewProps, CalendarPickList, type CalendarProvider, type CalendarSync, CalendarToolbar, CardFooter, type CardFooterProps, type ComponentState, ConfirmDialog, type ConfirmDialogProps, ConnectProviderList, ConnectProviderRows, type ConnectProviderRowsProps, ConnectedAccountCard, DashboardErrorCard, type DashboardErrorCardProps, DataTableRow, type DataTableRowProps, type DatedAvailabilityBlock, EmptyCard, type EmptyCardProps, EventBlock, type EventBlockProps, type FormFieldProps, GoogleIcon, type HeadingLevel, IconTile, type IconTileProps, ImportCalendarsDialog, type ImportCalendarsDialogProps, type InteractionStates, METRIC_STATUS_COLOR, MetricCard, type MetricCardProps, type MetricStatus, MicrosoftIcon, MiniMonthPicker, type MiniMonthPickerProps, MonthGrid, type MonthGridProps, type NavItem, OnboardingStepDots, OnboardingStepper, OtpInput, OtpVerifyStep, type OtpVerifyStepProps, PROVIDER_LABEL, PROVIDER_META, Pagination, type PaginationProps, PausedBadge, type PausedBadgeProps, type PolymorphicComponent, type PolymorphicComponentProps, ProviderIcon, ROLE_LABELS, ROLE_META, type ResolvedBlock, type ResponsiveValue, type Role, SHELL_HEADER_H, STATUS_META, SearchOverlay, type SearchOverlayProps, type SearchResult, type SearchResultType, Sidebar, type SidebarDevRole, type SidebarProps, type SidebarUser, type Size, Skeleton, type SkeletonProps, SyncDetailsDialog, type SyncDetailsDialogProps, SyncPreviewRail, type SyncStatus, Toast, type ToastProps, Topbar, type TopbarAdminTitleRow, type TopbarProps, type TopbarTitleRow, UIProvider, type UseConnectAccountOptions, type UserStatus, type Variant, type WizardStepMeta, WizardStepper, auditActionMeta, cn, colors, conditionalClass, createCompoundVariants, createVariantGenerator, findCalendar, getAccessibilityStyles, getAnimationClass, getBaseStyles, getBgClass, getBorderClass, getColor, getFocusRingClass, getFocusableElements, getHoverBgClass, getHoverTextClass, getInteractiveStyles, getRadiusClass, getResponsiveClasses, getSizeStyles, getSpacingClass, getTextClass, getTypographyClass, getVariantStyles, handleArrowNavigation, headingSize, layout, mergeProps, theme, useClickOutside, useConnectAccount, useControllableState, useDisclosure };
1584
+ export { ACTIVITY_META, AUDIT_ACTION_META, AccentCard, type AccentCardProps, AccentHeader, type AccentHeaderProps, type AccessibilityProps, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountCalendarsDialog, type AccountCalendarsDialogProps, AccountCard, type AccountCardProps, ActivityRow, type ActivityRowProps, type ActivityType, AddAccountMenu, type AddAccountMenuProps, AppCard, type AppCardProps, type AuditAction, AuthCard, type AvailabilityBlock, type BaseProps, BigCalendarView, type BigCalendarViewProps, BrandPanel, type CalendarAccount, type CalendarAccountCalendar, CalendarDayHeader, type CalendarDayHeaderProps, CalendarMergedView, type CalendarMergedViewProps, CalendarPickList, type CalendarProvider, type CalendarSync, CalendarToolbar, CardFooter, type CardFooterProps, type ComponentState, ConfirmDialog, type ConfirmDialogProps, ConnectProviderList, ConnectProviderRows, type ConnectProviderRowsProps, ConnectedAccountCard, DashboardErrorCard, type DashboardErrorCardProps, DataTableRow, type DataTableRowProps, type DatedAvailabilityBlock, Drawer, DrawerClose, DrawerContent, type DrawerContentProps, DrawerDefaultClose, DrawerDescription, DrawerHeader, DrawerTitle, DrawerTrigger, EmptyCard, type EmptyCardProps, EventBlock, type EventBlockProps, type FormFieldProps, GoogleIcon, type HeadingLevel, IconTile, type IconTileProps, ImportCalendarsDialog, type ImportCalendarsDialogProps, type InteractionStates, METRIC_STATUS_COLOR, MetricCard, type MetricCardProps, type MetricStatus, MicrosoftIcon, MiniMonthPicker, type MiniMonthPickerProps, MonthGrid, type MonthGridProps, type NavItem, OnboardingStepDots, OnboardingStepper, OtpInput, OtpVerifyStep, type OtpVerifyStepProps, PROVIDER_LABEL, PROVIDER_META, Pagination, type PaginationProps, PausedBadge, type PausedBadgeProps, type PolymorphicComponent, type PolymorphicComponentProps, ProviderIcon, ROLE_LABELS, ROLE_META, type ResolvedBlock, type ResponsiveValue, type Role, SHELL_HEADER_H, STATUS_META, SearchOverlay, type SearchOverlayProps, type SearchResult, type SearchResultType, Sidebar, type SidebarDevRole, type SidebarProps, type SidebarUser, type Size, Skeleton, type SkeletonProps, SyncDetailsDialog, type SyncDetailsDialogProps, SyncPreviewRail, type SyncStatus, Toast, type ToastProps, Topbar, type TopbarAdminTitleRow, type TopbarProps, type TopbarTitleRow, UIProvider, type UseConnectAccountOptions, type UserStatus, type Variant, type WizardStepMeta, WizardStepper, auditActionMeta, cn, colors, conditionalClass, createCompoundVariants, createVariantGenerator, findCalendar, getAccessibilityStyles, getAnimationClass, getBaseStyles, getBgClass, getBorderClass, getColor, getFocusRingClass, getFocusableElements, getHoverBgClass, getHoverTextClass, getInteractiveStyles, getRadiusClass, getResponsiveClasses, getSizeStyles, getSpacingClass, getTextClass, getTypographyClass, getVariantStyles, handleArrowNavigation, headingSize, layout, mergeProps, theme, useClickOutside, useConnectAccount, useControllableState, useDisclosure };