@momentumworld/ui-react 0.17.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/dist/chunk-2HQPCV2L.js +895 -0
- package/dist/chunk-2HQPCV2L.js.map +1 -0
- package/dist/form.d.ts +175 -0
- package/dist/form.js +356 -0
- package/dist/form.js.map +1 -0
- package/dist/index.d.ts +2162 -0
- package/dist/index.js +11640 -0
- package/dist/index.js.map +1 -0
- package/dist/input-JCZs61MO.d.ts +24 -0
- package/package.json +90 -0
- package/src/components/form/checkbox-group-field.tsx +101 -0
- package/src/components/form/date-field.tsx +79 -0
- package/src/components/form/date-range-field.tsx +106 -0
- package/src/components/form/form-context.ts +10 -0
- package/src/components/form/form.tsx +54 -0
- package/src/components/form/number-field.tsx +69 -0
- package/src/components/form/select-field.tsx +76 -0
- package/src/components/form/submit-button.tsx +28 -0
- package/src/components/form/text-field.tsx +107 -0
- package/src/components/layout/dashboard-header.tsx +54 -0
- package/src/components/layout/dashboard-panel.tsx +34 -0
- package/src/components/layout/dashboard-topbar.tsx +221 -0
- package/src/components/theme-provider.tsx +403 -0
- package/src/components/ui/accordion.tsx +69 -0
- package/src/components/ui/alert-dialog.tsx +169 -0
- package/src/components/ui/alert.tsx +80 -0
- package/src/components/ui/animated-counter.tsx +109 -0
- package/src/components/ui/animated-theme-toggler.tsx +265 -0
- package/src/components/ui/app-store-buttons.tsx +182 -0
- package/src/components/ui/aspect-ratio.tsx +23 -0
- package/src/components/ui/aurora-orb.tsx +163 -0
- package/src/components/ui/aurora-text.tsx +76 -0
- package/src/components/ui/autocomplete.tsx +296 -0
- package/src/components/ui/avatar-group.tsx +150 -0
- package/src/components/ui/avatar.tsx +285 -0
- package/src/components/ui/badge-group.tsx +160 -0
- package/src/components/ui/badge.tsx +172 -0
- package/src/components/ui/breadcrumb.tsx +112 -0
- package/src/components/ui/button.tsx +77 -0
- package/src/components/ui/calendar.tsx +137 -0
- package/src/components/ui/card.tsx +244 -0
- package/src/components/ui/carousel.tsx +258 -0
- package/src/components/ui/chart.tsx +379 -0
- package/src/components/ui/chat-divider.tsx +67 -0
- package/src/components/ui/chat.tsx +494 -0
- package/src/components/ui/checkbox-group.tsx +16 -0
- package/src/components/ui/checkbox.tsx +82 -0
- package/src/components/ui/collapsible.tsx +45 -0
- package/src/components/ui/color-picker.tsx +389 -0
- package/src/components/ui/combobox.tsx +411 -0
- package/src/components/ui/command.tsx +264 -0
- package/src/components/ui/confetti.tsx +196 -0
- package/src/components/ui/context-menu.tsx +271 -0
- package/src/components/ui/context-meter.tsx +134 -0
- package/src/components/ui/credit-card.tsx +214 -0
- package/src/components/ui/data-table-paged.tsx +163 -0
- package/src/components/ui/date-picker.tsx +154 -0
- package/src/components/ui/dialog.tsx +196 -0
- package/src/components/ui/drawer.tsx +135 -0
- package/src/components/ui/empty.tsx +127 -0
- package/src/components/ui/fab.tsx +45 -0
- package/src/components/ui/featured-icon.tsx +149 -0
- package/src/components/ui/field.tsx +88 -0
- package/src/components/ui/fieldset.tsx +29 -0
- package/src/components/ui/form.tsx +17 -0
- package/src/components/ui/frame.tsx +82 -0
- package/src/components/ui/generic-empty.tsx +142 -0
- package/src/components/ui/group.tsx +97 -0
- package/src/components/ui/help-tip.tsx +94 -0
- package/src/components/ui/horizontal-scroll-fader.tsx +228 -0
- package/src/components/ui/input-group.tsx +102 -0
- package/src/components/ui/input-otp.tsx +96 -0
- package/src/components/ui/input.tsx +66 -0
- package/src/components/ui/item.tsx +198 -0
- package/src/components/ui/kbd.tsx +30 -0
- package/src/components/ui/label.tsx +28 -0
- package/src/components/ui/markdown.tsx +188 -0
- package/src/components/ui/menu.tsx +312 -0
- package/src/components/ui/menubar.tsx +93 -0
- package/src/components/ui/meter.tsx +67 -0
- package/src/components/ui/multi-select.tsx +308 -0
- package/src/components/ui/navigation-menu.tsx +143 -0
- package/src/components/ui/number-field.tsx +160 -0
- package/src/components/ui/pagination-controls.tsx +74 -0
- package/src/components/ui/pagination.tsx +149 -0
- package/src/components/ui/pipeline.tsx +102 -0
- package/src/components/ui/popover.tsx +119 -0
- package/src/components/ui/preview-card.tsx +55 -0
- package/src/components/ui/progress.tsx +289 -0
- package/src/components/ui/qr-code.tsx +150 -0
- package/src/components/ui/radio-group.tsx +103 -0
- package/src/components/ui/resizable.tsx +56 -0
- package/src/components/ui/scroll-area.tsx +90 -0
- package/src/components/ui/scroller.tsx +38 -0
- package/src/components/ui/section-header.tsx +118 -0
- package/src/components/ui/segmented-control.tsx +83 -0
- package/src/components/ui/select.tsx +181 -0
- package/src/components/ui/separator.tsx +23 -0
- package/src/components/ui/sheet.tsx +224 -0
- package/src/components/ui/sidebar.tsx +774 -0
- package/src/components/ui/skeleton.tsx +16 -0
- package/src/components/ui/slider.tsx +108 -0
- package/src/components/ui/smooth-scroll.tsx +206 -0
- package/src/components/ui/social-button.tsx +247 -0
- package/src/components/ui/spinner-on-demand.tsx +32 -0
- package/src/components/ui/spinner.tsx +18 -0
- package/src/components/ui/stat.tsx +187 -0
- package/src/components/ui/stepper.tsx +167 -0
- package/src/components/ui/switch.tsx +56 -0
- package/src/components/ui/table.tsx +126 -0
- package/src/components/ui/tabs.tsx +90 -0
- package/src/components/ui/tag.tsx +242 -0
- package/src/components/ui/target-countdown.tsx +46 -0
- package/src/components/ui/text-editor.tsx +313 -0
- package/src/components/ui/textarea.tsx +51 -0
- package/src/components/ui/thinking-orb.tsx +6 -0
- package/src/components/ui/time-picker.tsx +308 -0
- package/src/components/ui/timeline.tsx +116 -0
- package/src/components/ui/toast.tsx +268 -0
- package/src/components/ui/toggle-group.tsx +101 -0
- package/src/components/ui/toggle.tsx +45 -0
- package/src/components/ui/toolbar.tsx +89 -0
- package/src/components/ui/tooltip.tsx +102 -0
- package/src/components/ui/vertical-scroll-fader.tsx +250 -0
- package/src/components/ui/video-player.tsx +275 -0
- package/src/components/upload/avatar-upload-base.tsx +131 -0
- package/src/components/upload/image-upload-base.tsx +112 -0
- package/src/form.ts +17 -0
- package/src/index.ts +143 -0
- package/src/lib/hooks/use-callback-ref.ts +15 -0
- package/src/lib/hooks/use-first-render.ts +11 -0
- package/src/lib/hooks/use-hover.ts +53 -0
- package/src/lib/hooks/use-is-tab-active.ts +17 -0
- package/src/lib/hooks/use-media-query.ts +164 -0
- package/src/lib/utils/css.ts +6 -0
- package/src/styles.css +329 -0
- package/src/types/helpers.ts +24 -0
- package/src/types/react.d.ts +7 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,2162 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
import React__default, { ReactNode } from 'react';
|
|
3
|
+
import { Accordion as Accordion$1 } from '@base-ui/react/accordion';
|
|
4
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
|
+
import { VariantProps } from 'class-variance-authority';
|
|
6
|
+
import * as _base_ui_react from '@base-ui/react';
|
|
7
|
+
import { AlertDialog as AlertDialog$1 } from '@base-ui/react/alert-dialog';
|
|
8
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
9
|
+
import { OrbState, OrbSize } from 'thinking-orbs';
|
|
10
|
+
export { OrbSize, OrbState, OrbTheme, ThinkingOrb, ThinkingOrbProps } from 'thinking-orbs';
|
|
11
|
+
import { Autocomplete as Autocomplete$1 } from '@base-ui/react/autocomplete';
|
|
12
|
+
import { Avatar as Avatar$1 } from '@base-ui/react/avatar';
|
|
13
|
+
import { B as Button, a as ButtonProps, b as InputProps, I as Input } from './input-JCZs61MO.js';
|
|
14
|
+
export { c as buttonVariants } from './input-JCZs61MO.js';
|
|
15
|
+
import { DayPicker, DateRange } from 'react-day-picker';
|
|
16
|
+
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
17
|
+
import * as RechartsPrimitive from 'recharts';
|
|
18
|
+
import { Checkbox as Checkbox$1 } from '@base-ui/react/checkbox';
|
|
19
|
+
import { CheckboxGroup as CheckboxGroup$1 } from '@base-ui/react/checkbox-group';
|
|
20
|
+
import { Collapsible as Collapsible$1 } from '@base-ui/react/collapsible';
|
|
21
|
+
import * as react_aria_components from 'react-aria-components';
|
|
22
|
+
import { ColorSlider, ColorArea as ColorArea$1, ColorPicker as ColorPicker$1, ColorThumb as ColorThumb$1, ColorSwatch as ColorSwatch$1, ColorField, ColorSwatchPicker } from 'react-aria-components';
|
|
23
|
+
export { getColorChannels, parseColor } from 'react-aria-components';
|
|
24
|
+
import { Combobox as Combobox$1 } from '@base-ui/react/combobox';
|
|
25
|
+
import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
|
|
26
|
+
import { Options, GlobalOptions } from 'canvas-confetti';
|
|
27
|
+
import { Drawer as Drawer$1 } from 'vaul';
|
|
28
|
+
import { ContextMenu as ContextMenu$1 } from '@base-ui/react/context-menu';
|
|
29
|
+
import { Field as Field$1 } from '@base-ui/react/field';
|
|
30
|
+
import { Fieldset as Fieldset$1 } from '@base-ui/react/fieldset';
|
|
31
|
+
import { Form as Form$1 } from '@base-ui/react/form';
|
|
32
|
+
import { Separator as Separator$1 } from '@base-ui/react/separator';
|
|
33
|
+
import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
|
|
34
|
+
import { OTPInput } from 'input-otp';
|
|
35
|
+
import { Menu as Menu$1 } from '@base-ui/react/menu';
|
|
36
|
+
import { MenubarProps } from '@base-ui/react/menubar';
|
|
37
|
+
import { Meter as Meter$1 } from '@base-ui/react/meter';
|
|
38
|
+
import { Select as Select$1 } from '@base-ui/react/select';
|
|
39
|
+
import { NavigationMenu as NavigationMenu$1 } from '@base-ui/react/navigation-menu';
|
|
40
|
+
import { NumberField as NumberField$1 } from '@base-ui/react/number-field';
|
|
41
|
+
import { Popover as Popover$1 } from '@base-ui/react/popover';
|
|
42
|
+
import { PreviewCard as PreviewCard$1 } from '@base-ui/react/preview-card';
|
|
43
|
+
import { Progress as Progress$1 } from '@base-ui/react/progress';
|
|
44
|
+
import { Options as Options$1 } from 'qr-code-styling';
|
|
45
|
+
import { Radio as Radio$1 } from '@base-ui/react/radio';
|
|
46
|
+
import { RadioGroup as RadioGroup$1 } from '@base-ui/react/radio-group';
|
|
47
|
+
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
48
|
+
import { ScrollArea as ScrollArea$1 } from '@base-ui/react/scroll-area';
|
|
49
|
+
import { Slider as Slider$1 } from '@base-ui/react/slider';
|
|
50
|
+
import { Loader2Icon } from 'lucide-react';
|
|
51
|
+
import { useSpinDelay } from 'spin-delay';
|
|
52
|
+
import { Switch as Switch$1 } from '@base-ui/react/switch';
|
|
53
|
+
import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
|
|
54
|
+
import { Duration } from 'date-fns';
|
|
55
|
+
import { Toast } from '@base-ui/react/toast';
|
|
56
|
+
import { Toggle as Toggle$2 } from '@base-ui/react/toggle';
|
|
57
|
+
import { ToggleGroup as ToggleGroup$1 } from '@base-ui/react/toggle-group';
|
|
58
|
+
import { Toolbar as Toolbar$1 } from '@base-ui/react/toolbar';
|
|
59
|
+
import { ClassValue } from 'clsx';
|
|
60
|
+
import '@base-ui/react/input';
|
|
61
|
+
|
|
62
|
+
declare function Accordion(props: Accordion$1.Root.Props): React$1.JSX.Element;
|
|
63
|
+
declare function AccordionItem({ className, ...props }: Accordion$1.Item.Props): React$1.JSX.Element;
|
|
64
|
+
declare function AccordionTrigger({ className, children, ...props }: Accordion$1.Trigger.Props): React$1.JSX.Element;
|
|
65
|
+
declare function AccordionPanel({ className, children, ...props }: Accordion$1.Panel.Props): React$1.JSX.Element;
|
|
66
|
+
|
|
67
|
+
declare const alertVariants: (props?: ({
|
|
68
|
+
variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
69
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
70
|
+
declare function Alert({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof alertVariants>): React$1.JSX.Element;
|
|
71
|
+
declare function AlertTitle({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
72
|
+
declare function AlertDescription({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
73
|
+
declare function AlertAction({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
74
|
+
|
|
75
|
+
declare const AlertDialogCreateHandle: typeof AlertDialog$1.createHandle;
|
|
76
|
+
declare const AlertDialog: typeof AlertDialog$1.Root;
|
|
77
|
+
declare const AlertDialogPortal: React$1.ForwardRefExoticComponent<Omit<_base_ui_react.DialogPortalProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
78
|
+
declare function AlertDialogTrigger(props: AlertDialog$1.Trigger.Props): React$1.JSX.Element;
|
|
79
|
+
declare function AlertDialogBackdrop({ className, ...props }: AlertDialog$1.Backdrop.Props): React$1.JSX.Element;
|
|
80
|
+
declare function AlertDialogViewport({ className, ...props }: AlertDialog$1.Viewport.Props): React$1.JSX.Element;
|
|
81
|
+
declare function AlertDialogPopup({ className, bottomStickOnMobile, ...props }: AlertDialog$1.Popup.Props & {
|
|
82
|
+
bottomStickOnMobile?: boolean;
|
|
83
|
+
}): React$1.JSX.Element;
|
|
84
|
+
declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
|
|
85
|
+
declare function AlertDialogFooter({ className, variant, ...props }: React.ComponentProps<"div"> & {
|
|
86
|
+
variant?: "default" | "bare";
|
|
87
|
+
}): React$1.JSX.Element;
|
|
88
|
+
declare function AlertDialogTitle({ className, ...props }: AlertDialog$1.Title.Props): React$1.JSX.Element;
|
|
89
|
+
declare function AlertDialogDescription({ className, ...props }: AlertDialog$1.Description.Props): React$1.JSX.Element;
|
|
90
|
+
declare function AlertDialogClose(props: AlertDialog$1.Close.Props): React$1.JSX.Element;
|
|
91
|
+
|
|
92
|
+
type ThemeTogglerVariant = "circle" | "square" | "triangle" | "diamond" | "hexagon" | "rectangle" | "star";
|
|
93
|
+
interface AnimatedThemeTogglerProps extends React.ComponentPropsWithoutRef<"button"> {
|
|
94
|
+
/** Duration of the reveal animation in milliseconds. */
|
|
95
|
+
duration?: number;
|
|
96
|
+
/** Clip-path shape used for the view-transition reveal. */
|
|
97
|
+
variant?: ThemeTogglerVariant;
|
|
98
|
+
/** Expand from the viewport center instead of the button center. */
|
|
99
|
+
fromCenter?: boolean;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Animated light/dark toggle using the View Transitions API.
|
|
103
|
+
*
|
|
104
|
+
* Drives the kit's `ThemeProvider` (via `useTheme`), so persistence and the
|
|
105
|
+
* `data-theme` attribute are handled for you. On browsers without the View
|
|
106
|
+
* Transitions API it falls back to an instant toggle.
|
|
107
|
+
*
|
|
108
|
+
* Requires the kit stylesheet (`@countryclub/ui-react/styles.css`), which
|
|
109
|
+
* defines the scoped `::view-transition` rules.
|
|
110
|
+
*/
|
|
111
|
+
declare function AnimatedThemeToggler({ className, duration, variant, fromCenter, ...props }: AnimatedThemeTogglerProps): React$1.JSX.Element;
|
|
112
|
+
|
|
113
|
+
declare const appStoreButtonVariants: (props?: ({
|
|
114
|
+
variant?: "default" | "outline" | null | undefined;
|
|
115
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
116
|
+
declare function GooglePlayLogoIcon(props: React$1.ComponentProps<"svg">): React$1.JSX.Element;
|
|
117
|
+
declare function AppleLogoIcon(props: React$1.ComponentProps<"svg">): React$1.JSX.Element;
|
|
118
|
+
declare function GalaxyStoreLogoIcon(props: React$1.ComponentProps<"svg">): React$1.JSX.Element;
|
|
119
|
+
declare function AppGalleryLogoIcon(props: React$1.ComponentProps<"svg">): React$1.JSX.Element;
|
|
120
|
+
type AppStoreButtonStore = "google-play" | "app-store" | "galaxy-store" | "app-gallery";
|
|
121
|
+
interface AppStoreButtonProps extends useRender.ComponentProps<"button"> {
|
|
122
|
+
/** Which store badge to render: google-play, app-store, galaxy-store or app-gallery. */
|
|
123
|
+
store: AppStoreButtonStore;
|
|
124
|
+
variant?: VariantProps<typeof appStoreButtonVariants>["variant"];
|
|
125
|
+
}
|
|
126
|
+
declare function AppStoreButton({ className, store, variant, render, ...props }: AppStoreButtonProps): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
127
|
+
|
|
128
|
+
declare function AspectRatio({ ratio, className, style, ...props }: React$1.ComponentProps<"div"> & {
|
|
129
|
+
ratio?: number;
|
|
130
|
+
}): React$1.JSX.Element;
|
|
131
|
+
|
|
132
|
+
interface AuroraOrbProps {
|
|
133
|
+
/**
|
|
134
|
+
* Which thinking-orbs animation to show: "working" | "searching" |
|
|
135
|
+
* "solving" | "listening" | "composing" | "shaping". Default "working".
|
|
136
|
+
*/
|
|
137
|
+
state?: OrbState;
|
|
138
|
+
/** Tuned size preset from thinking-orbs — 20 (inline) or 64 (avatar). Default 20. */
|
|
139
|
+
size?: OrbSize;
|
|
140
|
+
/** Animation speed multiplier on top of the preset's baked speed. Default 1. */
|
|
141
|
+
speed?: number;
|
|
142
|
+
/**
|
|
143
|
+
* Gradient stops swept across the dots, matching AuroraText's default RGB
|
|
144
|
+
* set (pink → purple → blue → sky). Vivid stops stay legible on both light
|
|
145
|
+
* and dark backgrounds — the dots are painted with these colors directly.
|
|
146
|
+
*/
|
|
147
|
+
colors?: string[];
|
|
148
|
+
className?: string;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* A `thinking-orbs` orb recolored with the aurora gradient — the dotted-orb
|
|
152
|
+
* counterpart to `AuroraText`.
|
|
153
|
+
*
|
|
154
|
+
* The stock `<ThinkingOrb>` has no color API (its canvas paints monochrome
|
|
155
|
+
* theme ink only), but the package exports its frame painters (`MODE_DRAWS` +
|
|
156
|
+
* `resolvePreset`) for custom rendering. So we run the same animation loop
|
|
157
|
+
* and, after each frame, composite a slowly rotating aurora gradient onto the
|
|
158
|
+
* dots via `source-in`: the dots' alpha (their depth shading) survives while
|
|
159
|
+
* their ink color is replaced by the gradient. Theme detection becomes
|
|
160
|
+
* unnecessary — the gradient works on light and dark backgrounds alike.
|
|
161
|
+
* Respects prefers-reduced-motion (renders a single still frame).
|
|
162
|
+
*
|
|
163
|
+
* @example
|
|
164
|
+
* <AuroraOrb state="solving" speed={0.7} />
|
|
165
|
+
* <AuroraOrb size={64} colors={["#22d3ee", "#a855f7", "#f43f5e"]} />
|
|
166
|
+
*/
|
|
167
|
+
declare function AuroraOrb({ className, colors, size, speed, state, }: AuroraOrbProps): React$1.JSX.Element;
|
|
168
|
+
|
|
169
|
+
interface AuroraTextProps {
|
|
170
|
+
children: ReactNode;
|
|
171
|
+
className?: string;
|
|
172
|
+
/**
|
|
173
|
+
* Gradient stops, cycled left→right and looped back to the first. The default
|
|
174
|
+
* is a vivid RGB set (pink → purple → blue → sky) chosen to stay legible on
|
|
175
|
+
* BOTH light and dark backgrounds — the text is painted with these colors
|
|
176
|
+
* (transparent fill + clipped gradient), so it never depends on the page bg.
|
|
177
|
+
*/
|
|
178
|
+
colors?: string[];
|
|
179
|
+
/** Animation speed multiplier. 1 ≈ a 10s loop; 2 is twice as fast. */
|
|
180
|
+
speed?: number;
|
|
181
|
+
/** Add a soft, blurred RGB halo behind the text (a subtle aura). */
|
|
182
|
+
glow?: boolean;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Animated RGB gradient text: the gradient slowly sweeps across the glyphs on a
|
|
186
|
+
* loop (via `background-position`, so it's GPU-composited and cheap — safe on
|
|
187
|
+
* mobile). Purely CSS; no JS ticking. The real text is kept in an `sr-only`
|
|
188
|
+
* span so it stays selectable/announced while the visible layer is decorative.
|
|
189
|
+
*
|
|
190
|
+
* @example
|
|
191
|
+
* <AuroraText>Thinking</AuroraText>
|
|
192
|
+
* <AuroraText glow speed={1.4} colors={["#22d3ee", "#a855f7", "#f43f5e"]}>Live</AuroraText>
|
|
193
|
+
*/
|
|
194
|
+
declare const AuroraText: React$1.NamedExoticComponent<AuroraTextProps>;
|
|
195
|
+
|
|
196
|
+
declare const Autocomplete: typeof Autocomplete$1.Root;
|
|
197
|
+
declare function AutocompleteInput({ className, showTrigger, showClear, startAddon, size, ...props }: Omit<Autocomplete$1.Input.Props, "size"> & {
|
|
198
|
+
showTrigger?: boolean;
|
|
199
|
+
showClear?: boolean;
|
|
200
|
+
startAddon?: React.ReactNode;
|
|
201
|
+
size?: "sm" | "default" | "lg" | number;
|
|
202
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
203
|
+
}): React$1.JSX.Element;
|
|
204
|
+
declare function AutocompletePopup({ className, children, sideOffset, ...props }: Autocomplete$1.Popup.Props & {
|
|
205
|
+
sideOffset?: number;
|
|
206
|
+
}): React$1.JSX.Element;
|
|
207
|
+
declare function AutocompleteItem({ className, children, ...props }: Autocomplete$1.Item.Props): React$1.JSX.Element;
|
|
208
|
+
declare function AutocompleteSeparator({ className, ...props }: Autocomplete$1.Separator.Props): React$1.JSX.Element;
|
|
209
|
+
declare function AutocompleteGroup({ className, ...props }: Autocomplete$1.Group.Props): React$1.JSX.Element;
|
|
210
|
+
declare function AutocompleteGroupLabel({ className, ...props }: Autocomplete$1.GroupLabel.Props): React$1.JSX.Element;
|
|
211
|
+
declare function AutocompleteEmpty({ className, ...props }: Autocomplete$1.Empty.Props): React$1.JSX.Element;
|
|
212
|
+
declare function AutocompleteRow({ className, ...props }: Autocomplete$1.Row.Props): React$1.JSX.Element;
|
|
213
|
+
declare function AutocompleteValue({ ...props }: Autocomplete$1.Value.Props): React$1.JSX.Element;
|
|
214
|
+
declare function AutocompleteList({ className, ...props }: Autocomplete$1.List.Props): React$1.JSX.Element;
|
|
215
|
+
declare function AutocompleteClear({ className, ...props }: Autocomplete$1.Clear.Props): React$1.JSX.Element;
|
|
216
|
+
declare function AutocompleteStatus({ className, ...props }: Autocomplete$1.Status.Props): React$1.JSX.Element;
|
|
217
|
+
declare function AutocompleteCollection({ ...props }: Autocomplete$1.Collection.Props): React$1.JSX.Element;
|
|
218
|
+
declare function AutocompleteTrigger({ className, ...props }: Autocomplete$1.Trigger.Props): React$1.JSX.Element;
|
|
219
|
+
declare const useAutocompleteFilter: (options?: _base_ui_react.AutocompleteFilterOptions) => _base_ui_react.AutocompleteFilter;
|
|
220
|
+
|
|
221
|
+
declare const avatarVariants: (props?: ({
|
|
222
|
+
size?: "lg" | "sm" | "xl" | "xs" | "md" | "2xl" | null | undefined;
|
|
223
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
224
|
+
type AvatarSize$1 = NonNullable<VariantProps<typeof avatarVariants>["size"]>;
|
|
225
|
+
interface AvatarProps extends Avatar$1.Root.Props, VariantProps<typeof avatarVariants> {
|
|
226
|
+
/** Image URL. When omitted or it fails to load, the fallback is shown. */
|
|
227
|
+
src?: string;
|
|
228
|
+
alt?: string;
|
|
229
|
+
/** Initials shown when there is no image. */
|
|
230
|
+
initials?: React$1.ReactNode;
|
|
231
|
+
/** Custom fallback node (overrides initials and the placeholder icon). */
|
|
232
|
+
placeholder?: React$1.ReactNode;
|
|
233
|
+
/** Icon component used as the fallback when nothing else is provided. */
|
|
234
|
+
placeholderIcon?: React$1.ElementType;
|
|
235
|
+
/** A presence dot in the bottom-right corner. */
|
|
236
|
+
status?: "online" | "offline";
|
|
237
|
+
/** Shows a verified tick in the bottom-right corner. */
|
|
238
|
+
verified?: boolean;
|
|
239
|
+
/** A node (e.g. <AvatarCompanyIcon />) shown in the top-right corner. */
|
|
240
|
+
badge?: React$1.ReactNode;
|
|
241
|
+
}
|
|
242
|
+
declare function Avatar({ className, size, src, alt, initials, placeholder, placeholderIcon: PlaceholderIcon, status, verified, badge, children, ...props }: AvatarProps): React$1.JSX.Element;
|
|
243
|
+
declare function AvatarImage({ className, ...props }: Avatar$1.Image.Props): React$1.JSX.Element;
|
|
244
|
+
declare function AvatarFallback({ className, ...props }: Avatar$1.Fallback.Props): React$1.JSX.Element;
|
|
245
|
+
/** A small company/brand logo badge, meant for the Avatar `badge` prop. */
|
|
246
|
+
declare function AvatarCompanyIcon({ className, size, alt, ...props }: React$1.ComponentProps<"img"> & {
|
|
247
|
+
size?: "sm" | "md" | "lg";
|
|
248
|
+
}): React$1.JSX.Element;
|
|
249
|
+
/** A dashed "add" button sized to match avatars — for avatar groups. */
|
|
250
|
+
declare function AvatarAddButton({ className, size, ...props }: React$1.ComponentProps<"button"> & {
|
|
251
|
+
size?: AvatarSize$1;
|
|
252
|
+
}): React$1.JSX.Element;
|
|
253
|
+
/** An avatar paired with a title and subtitle. */
|
|
254
|
+
declare function AvatarLabelGroup({ className, size, src, alt, initials, status, verified, title, subtitle, ...props }: React$1.ComponentProps<"div"> & {
|
|
255
|
+
size?: "sm" | "md" | "lg";
|
|
256
|
+
src?: string;
|
|
257
|
+
alt?: string;
|
|
258
|
+
initials?: string;
|
|
259
|
+
status?: "online" | "offline";
|
|
260
|
+
verified?: boolean;
|
|
261
|
+
title: React$1.ReactNode;
|
|
262
|
+
subtitle?: React$1.ReactNode;
|
|
263
|
+
}): React$1.JSX.Element;
|
|
264
|
+
/** A larger, framed profile photo with optional verified tick. */
|
|
265
|
+
declare function AvatarProfilePhoto({ className, size, ...props }: Omit<AvatarProps, "size"> & {
|
|
266
|
+
size?: "sm" | "md" | "lg";
|
|
267
|
+
}): React$1.JSX.Element;
|
|
268
|
+
|
|
269
|
+
type AvatarSize = NonNullable<VariantProps<typeof avatarVariants>["size"]>;
|
|
270
|
+
declare const avatarGroupVariants: (props?: ({
|
|
271
|
+
overlap?: "lg" | "sm" | "md" | null | undefined;
|
|
272
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
273
|
+
interface AvatarGroupItem {
|
|
274
|
+
src?: string;
|
|
275
|
+
/** Initials shown when there is no image. */
|
|
276
|
+
initials?: React$1.ReactNode;
|
|
277
|
+
alt?: string;
|
|
278
|
+
/**
|
|
279
|
+
* Label revealed on hover when `showNameOnHover` is set (e.g. the person's
|
|
280
|
+
* name). Falls back to `alt` when omitted.
|
|
281
|
+
*/
|
|
282
|
+
name?: React$1.ReactNode;
|
|
283
|
+
}
|
|
284
|
+
interface AvatarGroupProps extends React$1.ComponentProps<"div">, VariantProps<typeof avatarGroupVariants> {
|
|
285
|
+
/** Data-driven avatars. Omit to compose `<Avatar>` children yourself. */
|
|
286
|
+
items?: AvatarGroupItem[];
|
|
287
|
+
/** Cap the visible avatars; the rest collapse into a "+N" chip. */
|
|
288
|
+
max?: number;
|
|
289
|
+
size?: AvatarSize;
|
|
290
|
+
/**
|
|
291
|
+
* Reveal each avatar's `name` (or `alt`) in a tooltip above it on hover /
|
|
292
|
+
* focus. Only applies to the data-driven `items` path.
|
|
293
|
+
*/
|
|
294
|
+
showNameOnHover?: boolean;
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* A row of overlapping avatars with an overflow "+N" chip. Pass `items` for the
|
|
298
|
+
* data-driven path, or compose `<Avatar>` children directly for full control.
|
|
299
|
+
*
|
|
300
|
+
* With `showNameOnHover`, hovering (or focusing) an avatar reveals its `name`
|
|
301
|
+
* in a tooltip — e.g. hovering Amir's photo shows "Amir".
|
|
302
|
+
*/
|
|
303
|
+
declare function AvatarGroup({ className, items, max, size, overlap, showNameOnHover, children, ...props }: AvatarGroupProps): React$1.JSX.Element;
|
|
304
|
+
|
|
305
|
+
interface AnimatedCounterProps extends Omit<React$1.ComponentProps<"span">, "children"> {
|
|
306
|
+
/** The target value to animate to. */
|
|
307
|
+
value: number;
|
|
308
|
+
/** Tween duration in ms (default 650). */
|
|
309
|
+
duration?: number;
|
|
310
|
+
/** Decimal places to render (default 0). */
|
|
311
|
+
decimals?: number;
|
|
312
|
+
/** Prefix rendered before the number, e.g. "$". */
|
|
313
|
+
prefix?: string;
|
|
314
|
+
/** Suffix rendered after the number, e.g. "%". */
|
|
315
|
+
suffix?: string;
|
|
316
|
+
/** Group digits with thousands separators (default true). */
|
|
317
|
+
separator?: boolean;
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* A number that tweens smoothly from its previous value to the next whenever
|
|
321
|
+
* `value` changes — e.g. dashboard stats re-counting when the time range
|
|
322
|
+
* switches. Dependency-free (requestAnimationFrame), so it stays tiny and works
|
|
323
|
+
* anywhere. Respects `prefers-reduced-motion` by snapping to the final value.
|
|
324
|
+
*
|
|
325
|
+
* The animation is purely visual; the accessible text is always the final
|
|
326
|
+
* value (via `aria-label`) so screen readers never read the intermediate tween.
|
|
327
|
+
*/
|
|
328
|
+
declare function AnimatedCounter({ value, duration, decimals, prefix, suffix, separator, className, ...props }: AnimatedCounterProps): React$1.JSX.Element;
|
|
329
|
+
|
|
330
|
+
declare const badgeVariants: (props?: ({
|
|
331
|
+
shape?: "default" | "pill" | null | undefined;
|
|
332
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
333
|
+
variant?: "default" | "error" | "info" | "success" | "warning" | "destructive" | "outline" | "secondary" | "modern" | null | undefined;
|
|
334
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
335
|
+
interface BadgeProps extends useRender.ComponentProps<"span"> {
|
|
336
|
+
variant?: VariantProps<typeof badgeVariants>["variant"];
|
|
337
|
+
size?: VariantProps<typeof badgeVariants>["size"];
|
|
338
|
+
shape?: VariantProps<typeof badgeVariants>["shape"];
|
|
339
|
+
}
|
|
340
|
+
declare function Badge({ className, variant, size, shape, render, ...props }: BadgeProps): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
341
|
+
/** A small status dot. Inherits the badge's text color; recolor via className. */
|
|
342
|
+
declare function BadgeDot({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
343
|
+
/** A tiny round avatar image sized to sit inside a badge. */
|
|
344
|
+
declare function BadgeAvatar({ alt, className, ...props }: React$1.ComponentProps<"img">): React$1.JSX.Element;
|
|
345
|
+
/** A round country flag. `country` is an ISO 3166-1 alpha-2 code (e.g. "AU"). */
|
|
346
|
+
declare function BadgeFlag({ alt, className, country, src, ...props }: React$1.ComponentProps<"img"> & {
|
|
347
|
+
country?: string;
|
|
348
|
+
}): React$1.JSX.Element;
|
|
349
|
+
/** A small remove button for dismissible badges. Renders an X by default. */
|
|
350
|
+
declare function BadgeCloseButton({ children, className, ...props }: React$1.ComponentProps<"button">): React$1.JSX.Element;
|
|
351
|
+
|
|
352
|
+
declare const badgeGroupVariants: (props?: ({
|
|
353
|
+
align?: "leading" | "trailing" | null | undefined;
|
|
354
|
+
color?: "error" | "success" | "warning" | "gray" | "brand" | null | undefined;
|
|
355
|
+
variant?: "pill" | "modern" | null | undefined;
|
|
356
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
357
|
+
type BadgeGroupColor = NonNullable<VariantProps<typeof badgeGroupVariants>["color"]>;
|
|
358
|
+
interface BadgeGroupProps extends Omit<useRender.ComponentProps<"span">, "color"> {
|
|
359
|
+
/** `pill` is a tonal, fully-rounded chip; `modern` is a bordered card-style chip with a status dot. */
|
|
360
|
+
variant?: VariantProps<typeof badgeGroupVariants>["variant"];
|
|
361
|
+
color?: BadgeGroupColor;
|
|
362
|
+
/** Which side of the message the inner badge sits on. */
|
|
363
|
+
align?: VariantProps<typeof badgeGroupVariants>["align"];
|
|
364
|
+
/** Short label rendered inside the inner badge. */
|
|
365
|
+
badge: React$1.ReactNode;
|
|
366
|
+
/** Arrow shown after the message (leading) or inside the badge (trailing). Pass `null` to hide. */
|
|
367
|
+
icon?: React$1.ReactNode;
|
|
368
|
+
}
|
|
369
|
+
declare function BadgeGroup({ className, variant, color, align, badge, icon, children, render, ...props }: BadgeGroupProps): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
370
|
+
|
|
371
|
+
declare function Breadcrumb({ ...props }: React$1.ComponentProps<"nav">): React$1.JSX.Element;
|
|
372
|
+
declare function BreadcrumbList({ className, ...props }: React$1.ComponentProps<"ol">): React$1.JSX.Element;
|
|
373
|
+
declare function BreadcrumbItem({ className, ...props }: React$1.ComponentProps<"li">): React$1.JSX.Element;
|
|
374
|
+
declare function BreadcrumbLink({ className, render, ...props }: useRender.ComponentProps<"a">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
375
|
+
declare function BreadcrumbPage({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
376
|
+
declare function BreadcrumbSeparator({ children, className, ...props }: React$1.ComponentProps<"li">): React$1.JSX.Element;
|
|
377
|
+
declare function BreadcrumbEllipsis({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
378
|
+
|
|
379
|
+
declare function Calendar({ className, classNames, showOutsideDays, components: userComponents, ...props }: React$1.ComponentProps<typeof DayPicker>): React$1.JSX.Element;
|
|
380
|
+
|
|
381
|
+
interface DatePickerProps {
|
|
382
|
+
/** The selected date (controlled). */
|
|
383
|
+
value?: Date;
|
|
384
|
+
onValueChange?: (date: Date | undefined) => void;
|
|
385
|
+
placeholder?: string;
|
|
386
|
+
/** Trigger button `disabled`. */
|
|
387
|
+
disabled?: boolean;
|
|
388
|
+
/** Restrict selectable days (passed straight to react-day-picker). */
|
|
389
|
+
fromDate?: Date;
|
|
390
|
+
toDate?: Date;
|
|
391
|
+
/** date-fns format for the trigger label (default "LLL dd, y"). */
|
|
392
|
+
displayFormat?: string;
|
|
393
|
+
align?: "start" | "center" | "end";
|
|
394
|
+
className?: string;
|
|
395
|
+
id?: string;
|
|
396
|
+
"aria-label"?: string;
|
|
397
|
+
}
|
|
398
|
+
/**
|
|
399
|
+
* A single-date picker: a button that opens a calendar in a popover. The
|
|
400
|
+
* canonical way to take a date in this system — never a native `<input
|
|
401
|
+
* type="date">`. Controlled via `value` / `onValueChange`.
|
|
402
|
+
*/
|
|
403
|
+
declare function DatePicker({ value, onValueChange, placeholder, disabled, fromDate, toDate, displayFormat, align, className, id, ...props }: DatePickerProps): React$1.JSX.Element;
|
|
404
|
+
interface DateRangePickerProps {
|
|
405
|
+
value?: DateRange;
|
|
406
|
+
onValueChange?: (range: DateRange | undefined) => void;
|
|
407
|
+
placeholder?: string;
|
|
408
|
+
disabled?: boolean;
|
|
409
|
+
fromDate?: Date;
|
|
410
|
+
toDate?: Date;
|
|
411
|
+
numberOfMonths?: number;
|
|
412
|
+
displayFormat?: string;
|
|
413
|
+
align?: "start" | "center" | "end";
|
|
414
|
+
className?: string;
|
|
415
|
+
id?: string;
|
|
416
|
+
"aria-label"?: string;
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* A date-range picker: pick a start and (optionally) end date. Controlled via
|
|
420
|
+
* `value` / `onValueChange` with react-day-picker's `{from, to}` shape.
|
|
421
|
+
*/
|
|
422
|
+
declare function DateRangePicker({ value, onValueChange, placeholder, disabled, fromDate, toDate, numberOfMonths, displayFormat, align, className, id, ...props }: DateRangePickerProps): React$1.JSX.Element;
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* A time of day is a STRING here, not a `Date`.
|
|
426
|
+
*
|
|
427
|
+
* "Nine in the morning, every Tuesday" has no date, and giving it one forces every
|
|
428
|
+
* caller to invent a day and then remember to ignore it — which is how a weekly
|
|
429
|
+
* opening hour ends up shifted by a timezone that was never part of the question.
|
|
430
|
+
* `TimePicker` therefore speaks `"HH:mm"`, zero-padded and 24-hour, which is also
|
|
431
|
+
* what a DRF `TimeField` parses. `DateTimePicker` below takes a real `Date`, because
|
|
432
|
+
* an instant genuinely is one.
|
|
433
|
+
*/
|
|
434
|
+
type TimeValue = string;
|
|
435
|
+
interface TimePickerProps {
|
|
436
|
+
/** The selected time as `"HH:mm"` (controlled). */
|
|
437
|
+
value?: TimeValue | null;
|
|
438
|
+
onValueChange?: (value: TimeValue | undefined) => void;
|
|
439
|
+
placeholder?: string;
|
|
440
|
+
disabled?: boolean;
|
|
441
|
+
/** Minutes between offered times. 15 by default; 5 and 30 are the other useful ones. */
|
|
442
|
+
step?: number;
|
|
443
|
+
/** Bounds, inclusive, as `"HH:mm"`. */
|
|
444
|
+
min?: TimeValue;
|
|
445
|
+
max?: TimeValue;
|
|
446
|
+
/** `false` shows a 24-hour clock. The value on the wire is 24-hour either way. */
|
|
447
|
+
hour12?: boolean;
|
|
448
|
+
align?: "start" | "center" | "end";
|
|
449
|
+
className?: string;
|
|
450
|
+
id?: string;
|
|
451
|
+
"aria-label"?: string;
|
|
452
|
+
}
|
|
453
|
+
/**
|
|
454
|
+
* A time picker: a button that opens a list of times in a popover. The canonical way
|
|
455
|
+
* to take a time of day in this system — never a native `<input type="time">`, which
|
|
456
|
+
* draws the *browser's* control (light in dark mode, its own glyph, its own idea of a
|
|
457
|
+
* locale) in the middle of one of our forms, and asks somebody to type `--:-- --`.
|
|
458
|
+
*
|
|
459
|
+
* Deliberately a fixed list rather than two spinners: the times these are used for are
|
|
460
|
+
* office hours and appointment slots, which land on the quarter hour, and a list can be
|
|
461
|
+
* read and clicked in one gesture. Pass `step={5}` where a finer time is real.
|
|
462
|
+
*/
|
|
463
|
+
declare function TimePicker({ value, onValueChange, placeholder, disabled, step, min, max, hour12, align, className, id, ...props }: TimePickerProps): React$1.JSX.Element;
|
|
464
|
+
interface DateTimePickerProps {
|
|
465
|
+
/** The selected instant (controlled). */
|
|
466
|
+
value?: Date;
|
|
467
|
+
onValueChange?: (date: Date | undefined) => void;
|
|
468
|
+
placeholder?: string;
|
|
469
|
+
disabled?: boolean;
|
|
470
|
+
fromDate?: Date;
|
|
471
|
+
toDate?: Date;
|
|
472
|
+
step?: number;
|
|
473
|
+
hour12?: boolean;
|
|
474
|
+
/** The time a day picked before any time gets. */
|
|
475
|
+
defaultTime?: TimeValue;
|
|
476
|
+
/** date-fns format for the date half of the trigger label. */
|
|
477
|
+
displayFormat?: string;
|
|
478
|
+
align?: "start" | "center" | "end";
|
|
479
|
+
className?: string;
|
|
480
|
+
id?: string;
|
|
481
|
+
"aria-label"?: string;
|
|
482
|
+
}
|
|
483
|
+
/**
|
|
484
|
+
* A date *and* a time, in one popover: the calendar beside the list of times.
|
|
485
|
+
*
|
|
486
|
+
* One control and not two fields, because the two halves are one answer — "from when"
|
|
487
|
+
* — and two controls make it possible to submit half of it. Picking a day keeps the
|
|
488
|
+
* time already chosen (or `defaultTime`), and picking a time keeps the day, so the
|
|
489
|
+
* order they are pressed in does not matter.
|
|
490
|
+
*/
|
|
491
|
+
declare function DateTimePicker({ value, onValueChange, placeholder, disabled, fromDate, toDate, step, hour12, defaultTime, displayFormat, align, className, id, ...props }: DateTimePickerProps): React$1.JSX.Element;
|
|
492
|
+
|
|
493
|
+
declare function Card({ className, render, ...props }: useRender.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
494
|
+
declare function CardFrame({ className, render, ...props }: useRender.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
495
|
+
declare function CardFrameHeader({ className, render, ...props }: useRender.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
496
|
+
declare function CardFrameTitle({ className, render, ...props }: useRender.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
497
|
+
declare function CardFrameDescription({ className, render, ...props }: useRender.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
498
|
+
declare function CardFrameFooter({ className, render, ...props }: useRender.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
499
|
+
declare function CardHeader({ className, render, ...props }: useRender.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
500
|
+
declare function CardTitle({ className, render, ...props }: useRender.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
501
|
+
declare function CardDescription({ className, render, ...props }: useRender.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
502
|
+
declare function CardAction({ className, render, ...props }: useRender.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
503
|
+
declare function CardPanel({ className, render, ...props }: useRender.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
504
|
+
declare function CardFooter({ className, render, ...props }: useRender.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
505
|
+
|
|
506
|
+
type CarouselApi = UseEmblaCarouselType[1];
|
|
507
|
+
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
508
|
+
type CarouselOptions = UseCarouselParameters[0];
|
|
509
|
+
type CarouselPlugin = UseCarouselParameters[1];
|
|
510
|
+
type CarouselProps = {
|
|
511
|
+
opts?: CarouselOptions;
|
|
512
|
+
plugins?: CarouselPlugin;
|
|
513
|
+
orientation?: "horizontal" | "vertical";
|
|
514
|
+
setApi?: (api: CarouselApi) => void;
|
|
515
|
+
/** Fades the leading/trailing edges of the viewport for a soft overflow. */
|
|
516
|
+
fade?: boolean;
|
|
517
|
+
};
|
|
518
|
+
type CarouselContextProps = {
|
|
519
|
+
carouselRef: ReturnType<typeof useEmblaCarousel>[0];
|
|
520
|
+
api: ReturnType<typeof useEmblaCarousel>[1];
|
|
521
|
+
scrollPrev: () => void;
|
|
522
|
+
scrollNext: () => void;
|
|
523
|
+
canScrollPrev: boolean;
|
|
524
|
+
canScrollNext: boolean;
|
|
525
|
+
} & CarouselProps;
|
|
526
|
+
declare function useCarousel(): CarouselContextProps;
|
|
527
|
+
declare function Carousel({ orientation, opts, setApi, plugins, fade, className, children, ...props }: React$1.ComponentProps<"div"> & CarouselProps): React$1.JSX.Element;
|
|
528
|
+
declare function CarouselContent({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
529
|
+
declare function CarouselItem({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
530
|
+
declare function CarouselPrevious({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): React$1.JSX.Element;
|
|
531
|
+
declare function CarouselNext({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): React$1.JSX.Element;
|
|
532
|
+
|
|
533
|
+
declare const THEMES: {
|
|
534
|
+
readonly light: "";
|
|
535
|
+
readonly dark: "[data-theme=\"dark\"]";
|
|
536
|
+
};
|
|
537
|
+
type ChartConfig = {
|
|
538
|
+
[k in string]: {
|
|
539
|
+
label?: React$1.ReactNode;
|
|
540
|
+
icon?: React$1.ComponentType;
|
|
541
|
+
} & ({
|
|
542
|
+
color?: string;
|
|
543
|
+
theme?: never;
|
|
544
|
+
} | {
|
|
545
|
+
color?: never;
|
|
546
|
+
theme: Record<keyof typeof THEMES, string>;
|
|
547
|
+
});
|
|
548
|
+
};
|
|
549
|
+
declare function ChartContainer({ id, className, children, config, ...props }: React$1.ComponentProps<"div"> & {
|
|
550
|
+
config: ChartConfig;
|
|
551
|
+
children: React$1.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
552
|
+
}): React$1.JSX.Element;
|
|
553
|
+
declare const ChartStyle: ({ id, config }: {
|
|
554
|
+
id: string;
|
|
555
|
+
config: ChartConfig;
|
|
556
|
+
}) => React$1.JSX.Element | null;
|
|
557
|
+
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
558
|
+
type TooltipPayloadItem = {
|
|
559
|
+
dataKey?: string | number;
|
|
560
|
+
name?: string | number;
|
|
561
|
+
value?: number | string;
|
|
562
|
+
color?: string;
|
|
563
|
+
fill?: string;
|
|
564
|
+
payload?: Record<string, unknown> & {
|
|
565
|
+
fill?: string;
|
|
566
|
+
};
|
|
567
|
+
};
|
|
568
|
+
declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React$1.ComponentProps<"div"> & {
|
|
569
|
+
active?: boolean;
|
|
570
|
+
payload?: TooltipPayloadItem[];
|
|
571
|
+
indicator?: "line" | "dot" | "dashed";
|
|
572
|
+
hideLabel?: boolean;
|
|
573
|
+
hideIndicator?: boolean;
|
|
574
|
+
label?: unknown;
|
|
575
|
+
labelFormatter?: (value: React$1.ReactNode, payload: TooltipPayloadItem[]) => React$1.ReactNode;
|
|
576
|
+
labelClassName?: string;
|
|
577
|
+
formatter?: (value: number | string, name: string | number, item: TooltipPayloadItem, index: number, payload: TooltipPayloadItem["payload"]) => React$1.ReactNode;
|
|
578
|
+
color?: string;
|
|
579
|
+
nameKey?: string;
|
|
580
|
+
labelKey?: string;
|
|
581
|
+
}): React$1.JSX.Element | null;
|
|
582
|
+
declare const ChartLegend: React$1.MemoExoticComponent<(outsideProps: RechartsPrimitive.LegendProps) => React$1.ReactPortal | null>;
|
|
583
|
+
type LegendPayloadItem = {
|
|
584
|
+
value?: string | number;
|
|
585
|
+
dataKey?: string | number;
|
|
586
|
+
color?: string;
|
|
587
|
+
};
|
|
588
|
+
declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React$1.ComponentProps<"div"> & {
|
|
589
|
+
hideIcon?: boolean;
|
|
590
|
+
payload?: LegendPayloadItem[];
|
|
591
|
+
verticalAlign?: "top" | "bottom" | "middle";
|
|
592
|
+
nameKey?: string;
|
|
593
|
+
}): React$1.JSX.Element | null;
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* Chat primitives for AI-assistant experiences: a column layout, an
|
|
597
|
+
* auto-scrolling message viewport, role-styled message bubbles, header chrome,
|
|
598
|
+
* an empty-state hero with suggestion prompts, tool activity chips/cards,
|
|
599
|
+
* a typing indicator, and a submit-on-Enter composer. Purely presentational —
|
|
600
|
+
* bring your own state.
|
|
601
|
+
*/
|
|
602
|
+
declare function Chat({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
603
|
+
/**
|
|
604
|
+
* Header chrome for a chat panel: avatar + title on the left, icon actions on
|
|
605
|
+
* the right. Compose `ChatHeaderAvatar`, `ChatHeaderTitle` and
|
|
606
|
+
* `ChatHeaderActions` inside.
|
|
607
|
+
*/
|
|
608
|
+
declare function ChatHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
609
|
+
declare function ChatHeaderAvatar({ className, children, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
610
|
+
declare function ChatHeaderTitle({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
611
|
+
declare function ChatHeaderActions({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
612
|
+
declare function ChatMessages({ autoScroll, className, children, ...props }: React$1.ComponentProps<"div"> & {
|
|
613
|
+
/** Keep the viewport pinned to the bottom while new messages stream in. */
|
|
614
|
+
autoScroll?: boolean;
|
|
615
|
+
}): React$1.JSX.Element;
|
|
616
|
+
/**
|
|
617
|
+
* Centered hero shown when the conversation is empty. Compose
|
|
618
|
+
* `ChatEmptyStateIcon`, `ChatEmptyStateTitle`, `ChatEmptyStateDescription`
|
|
619
|
+
* and `ChatSuggestions` inside.
|
|
620
|
+
*/
|
|
621
|
+
declare function ChatEmptyState({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
622
|
+
declare function ChatEmptyStateIcon({ className, children, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
623
|
+
declare function ChatEmptyStateTitle({ className, ...props }: React$1.ComponentProps<"p">): React$1.JSX.Element;
|
|
624
|
+
declare function ChatEmptyStateDescription({ className, ...props }: React$1.ComponentProps<"p">): React$1.JSX.Element;
|
|
625
|
+
/** Vertical stack of `ChatSuggestion` prompts. */
|
|
626
|
+
declare function ChatSuggestions({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
627
|
+
interface ChatSuggestionProps extends React$1.ComponentProps<"button"> {
|
|
628
|
+
/** Leading icon; defaults to a sparkle. */
|
|
629
|
+
icon?: React$1.ReactNode;
|
|
630
|
+
/** Position in the list — staggers the entrance animation. */
|
|
631
|
+
index?: number;
|
|
632
|
+
}
|
|
633
|
+
/**
|
|
634
|
+
* One tappable suggested prompt: icon chip + label, with an arrow that slides
|
|
635
|
+
* in on hover and a staggered fade-in entrance (via `index`).
|
|
636
|
+
*/
|
|
637
|
+
declare function ChatSuggestion({ className, children, icon, index, style, ...props }: ChatSuggestionProps): React$1.JSX.Element;
|
|
638
|
+
declare const chatMessageVariants: (props?: ({
|
|
639
|
+
from?: "user" | "assistant" | null | undefined;
|
|
640
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
641
|
+
interface ChatMessageProps extends React$1.ComponentProps<"div">, VariantProps<typeof chatMessageVariants> {
|
|
642
|
+
}
|
|
643
|
+
declare function ChatMessage({ className, from, ...props }: ChatMessageProps): React$1.JSX.Element;
|
|
644
|
+
declare const chatMessageBubbleVariants: (props?: ({
|
|
645
|
+
from?: "user" | "assistant" | null | undefined;
|
|
646
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
647
|
+
interface ChatMessageBubbleProps extends React$1.ComponentProps<"div">, VariantProps<typeof chatMessageBubbleVariants> {
|
|
648
|
+
}
|
|
649
|
+
declare function ChatMessageBubble({ className, from, ...props }: ChatMessageBubbleProps): React$1.JSX.Element;
|
|
650
|
+
/**
|
|
651
|
+
* Small inline pill for tool activity ("Using X…", "X finished"). Pass the
|
|
652
|
+
* status icon (wrench, spinner, check) as `icon`.
|
|
653
|
+
*/
|
|
654
|
+
declare function ChatToolChip({ className, children, icon, ...props }: React$1.ComponentProps<"div"> & {
|
|
655
|
+
icon?: React$1.ReactNode;
|
|
656
|
+
}): React$1.JSX.Element;
|
|
657
|
+
/**
|
|
658
|
+
* Framed card for tool activity inside a conversation: running/finished tool
|
|
659
|
+
* calls, results, and write-action approval prompts. Compose with `Button`s
|
|
660
|
+
* in the `actions` area for approve/decline flows.
|
|
661
|
+
*/
|
|
662
|
+
declare function ChatToolCard({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
663
|
+
declare function ChatToolCardHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
664
|
+
declare function ChatToolCardActions({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
665
|
+
declare function ChatTypingIndicator({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
666
|
+
interface ChatInputProps extends Omit<React$1.ComponentProps<"textarea">, "onSubmit" | "value" | "onChange"> {
|
|
667
|
+
value: string;
|
|
668
|
+
onValueChange: (value: string) => void;
|
|
669
|
+
/** Called with the trimmed message when the user submits (Enter or button). */
|
|
670
|
+
onSubmit: (value: string) => void;
|
|
671
|
+
/** Disables both the textarea and the send button (e.g. while sending). */
|
|
672
|
+
disabled?: boolean;
|
|
673
|
+
}
|
|
674
|
+
/**
|
|
675
|
+
* Composer: a rounded card wrapping an auto-growing textarea and a round send
|
|
676
|
+
* button. Enter submits, Shift+Enter inserts a newline.
|
|
677
|
+
*/
|
|
678
|
+
declare function ChatInput({ className, disabled, onSubmit, onValueChange, placeholder, value, ...props }: ChatInputProps): React$1.JSX.Element;
|
|
679
|
+
|
|
680
|
+
type ChatDividerVariant = "default" | "summary" | "unread";
|
|
681
|
+
interface ChatDividerProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
682
|
+
/** Centered label, e.g. "New messages", "You're caught up", "Earlier messages summarized". */
|
|
683
|
+
label?: React$1.ReactNode;
|
|
684
|
+
/** Optional leading icon (e.g. a summary or sparkle glyph). */
|
|
685
|
+
icon?: React$1.ReactNode;
|
|
686
|
+
/**
|
|
687
|
+
* - `default` — neutral hairline with a muted label.
|
|
688
|
+
* - `summary` — marks where a rolling summary folds older history.
|
|
689
|
+
* - `unread` — the "new messages" baseline; accented so it stands out.
|
|
690
|
+
*/
|
|
691
|
+
variant?: ChatDividerVariant;
|
|
692
|
+
}
|
|
693
|
+
/**
|
|
694
|
+
* A centered, labeled divider for the message stream: the point a rolling summary
|
|
695
|
+
* folds history (`summary`), the unread baseline (`unread`), or a plain date/section
|
|
696
|
+
* break (`default`). Pairs with the backend `AgentSummaryCheckpoint` and each
|
|
697
|
+
* participant's `joined_seq`/`last_read_seq`.
|
|
698
|
+
*/
|
|
699
|
+
declare function ChatDivider({ label, icon, variant, className, ...props }: ChatDividerProps): React$1.JSX.Element;
|
|
700
|
+
|
|
701
|
+
declare const checkboxSizes: {
|
|
702
|
+
readonly sm: {
|
|
703
|
+
readonly box: "size-4.5 sm:size-4";
|
|
704
|
+
readonly icon: "size-3.5 sm:size-3";
|
|
705
|
+
};
|
|
706
|
+
readonly md: {
|
|
707
|
+
readonly box: "size-5";
|
|
708
|
+
readonly icon: "size-4";
|
|
709
|
+
};
|
|
710
|
+
};
|
|
711
|
+
interface CheckboxProps extends Checkbox$1.Root.Props {
|
|
712
|
+
/** Visual size of the checkbox. Defaults to "sm". */
|
|
713
|
+
size?: keyof typeof checkboxSizes;
|
|
714
|
+
}
|
|
715
|
+
declare function Checkbox({ className, size, ...props }: CheckboxProps): React$1.JSX.Element;
|
|
716
|
+
|
|
717
|
+
declare function CheckboxGroup({ className, ...props }: CheckboxGroup$1.Props): React$1.JSX.Element;
|
|
718
|
+
|
|
719
|
+
declare function Collapsible({ ...props }: Collapsible$1.Root.Props): React$1.JSX.Element;
|
|
720
|
+
declare function CollapsibleTrigger({ className, ...props }: Collapsible$1.Trigger.Props): React$1.JSX.Element;
|
|
721
|
+
declare function CollapsiblePanel({ className, ...props }: Collapsible$1.Panel.Props): React$1.JSX.Element;
|
|
722
|
+
|
|
723
|
+
declare function useColorPicker(): react_aria_components.ColorPickerState;
|
|
724
|
+
declare function ColorPickerProvider(props: React$1.ComponentProps<typeof ColorPicker$1>): React$1.JSX.Element;
|
|
725
|
+
declare function ColorArea({ className, ...props }: React$1.ComponentProps<typeof ColorArea$1>): React$1.JSX.Element;
|
|
726
|
+
declare function ColorThumb({ className, ...props }: React$1.ComponentProps<typeof ColorThumb$1>): React$1.JSX.Element;
|
|
727
|
+
/**
|
|
728
|
+
* Hue, in HSB whatever the colour arrived as.
|
|
729
|
+
*
|
|
730
|
+
* `colorSpace` is not decoration here. A slider reads its channel off the picker's
|
|
731
|
+
* current colour, and `hue` is not a channel an RGB colour has — so a picker handed
|
|
732
|
+
* `"#8c1515"`, which is every picker handed a hex, threw `Unknown color channel: hue`
|
|
733
|
+
* and took the page down with it. Naming the space converts on the way in instead,
|
|
734
|
+
* which is what a hue slider means by "hue" in the first place.
|
|
735
|
+
*
|
|
736
|
+
* A caller may still override it; HSL is the other space with a hue.
|
|
737
|
+
*/
|
|
738
|
+
declare function ColorHueSlider(props: Omit<React$1.ComponentProps<typeof ColorSlider>, "channel">): React$1.JSX.Element;
|
|
739
|
+
declare function ColorAlphaSlider(props: Omit<React$1.ComponentProps<typeof ColorSlider>, "channel">): React$1.JSX.Element;
|
|
740
|
+
declare function ColorSwatch({ className, ...props }: React$1.ComponentProps<typeof ColorSwatch$1>): React$1.JSX.Element;
|
|
741
|
+
declare function ColorValueInput({ className, ...props }: Omit<React$1.ComponentProps<typeof ColorField>, "children">): React$1.JSX.Element;
|
|
742
|
+
/**
|
|
743
|
+
* A grid of colours somebody can pick from, and optionally add to.
|
|
744
|
+
*
|
|
745
|
+
* `onAdd` is what makes it "saved colours" rather than a fixed palette: the plus tile
|
|
746
|
+
* only appears when there is somewhere for the current colour to go.
|
|
747
|
+
*/
|
|
748
|
+
declare function ColorSavedColors({ className, colors, onSelect, onAdd, size, ...props }: Omit<React$1.ComponentProps<typeof ColorSwatchPicker>, "onChange" | "children"> & {
|
|
749
|
+
colors: string[];
|
|
750
|
+
onSelect?: (color: string) => void;
|
|
751
|
+
onAdd?: () => void;
|
|
752
|
+
size?: "sm" | "md";
|
|
753
|
+
}): React$1.JSX.Element;
|
|
754
|
+
/**
|
|
755
|
+
* Pick a colour from anywhere on the screen.
|
|
756
|
+
*
|
|
757
|
+
* Renders nothing where the browser has no `EyeDropper` — Firefox and Safari do not,
|
|
758
|
+
* and a button that silently does nothing is worse than one that is not offered. The
|
|
759
|
+
* check runs in an effect rather than during render, because `window` is not there on
|
|
760
|
+
* the server and a hydration mismatch over a button is still a hydration mismatch.
|
|
761
|
+
*/
|
|
762
|
+
declare function ColorEyeDropper({ className, ...props }: React$1.ComponentProps<"button">): React$1.JSX.Element | null;
|
|
763
|
+
/** The current colour as a swatch — reads state, so it needs no props. */
|
|
764
|
+
declare function ColorPreview({ className }: {
|
|
765
|
+
className?: string;
|
|
766
|
+
}): React$1.JSX.Element;
|
|
767
|
+
/**
|
|
768
|
+
* The whole picker, already composed — plane, hue, alpha, eyedropper and a hex box.
|
|
769
|
+
*
|
|
770
|
+
* What a screen reaches for when it just wants "let them choose a colour". Anything
|
|
771
|
+
* more specific composes the parts above instead.
|
|
772
|
+
*/
|
|
773
|
+
declare function ColorPickerPanel({ className, withAlpha, savedColors, onSaveColor, ...props }: Omit<React$1.ComponentProps<typeof ColorPicker$1>, "children"> & {
|
|
774
|
+
/** Wraps the panel, not the provider — the provider renders no element. */
|
|
775
|
+
className?: string;
|
|
776
|
+
withAlpha?: boolean;
|
|
777
|
+
savedColors?: string[];
|
|
778
|
+
onSaveColor?: () => void;
|
|
779
|
+
}): React$1.JSX.Element;
|
|
780
|
+
/**
|
|
781
|
+
* The compound namespace.
|
|
782
|
+
*
|
|
783
|
+
* Exported as one object rather than a dozen loose names because the parts are only
|
|
784
|
+
* meaningful together, and `ColorPicker.Area` says which state it reads in a way that
|
|
785
|
+
* `ColorArea` does not.
|
|
786
|
+
*/
|
|
787
|
+
declare const ColorPicker: typeof ColorPickerPanel & {
|
|
788
|
+
Provider: typeof ColorPickerProvider;
|
|
789
|
+
Area: typeof ColorArea;
|
|
790
|
+
Thumb: typeof ColorThumb;
|
|
791
|
+
HueSlider: typeof ColorHueSlider;
|
|
792
|
+
AlphaSlider: typeof ColorAlphaSlider;
|
|
793
|
+
Swatch: typeof ColorSwatch;
|
|
794
|
+
Preview: typeof ColorPreview;
|
|
795
|
+
ValueInput: typeof ColorValueInput;
|
|
796
|
+
SavedColors: typeof ColorSavedColors;
|
|
797
|
+
EyeDropper: typeof ColorEyeDropper;
|
|
798
|
+
};
|
|
799
|
+
|
|
800
|
+
declare function Combobox<ItemValue, Multiple extends boolean | undefined = false>(props: Combobox$1.Root.Props<ItemValue, Multiple>): React$1.JSX.Element;
|
|
801
|
+
declare function ComboboxInput({ className, showTrigger, showClear, startAddon, size, ...props }: Omit<Combobox$1.Input.Props, "size"> & {
|
|
802
|
+
showTrigger?: boolean;
|
|
803
|
+
showClear?: boolean;
|
|
804
|
+
startAddon?: React$1.ReactNode;
|
|
805
|
+
size?: "sm" | "default" | "lg" | number;
|
|
806
|
+
ref?: React$1.Ref<HTMLInputElement>;
|
|
807
|
+
}): React$1.JSX.Element;
|
|
808
|
+
declare function ComboboxTrigger({ className, ...props }: Combobox$1.Trigger.Props): React$1.JSX.Element;
|
|
809
|
+
declare function ComboboxPopup({ className, children, sideOffset, ...props }: Combobox$1.Popup.Props & {
|
|
810
|
+
sideOffset?: number;
|
|
811
|
+
}): React$1.JSX.Element;
|
|
812
|
+
declare function ComboboxItem({ className, children, ...props }: Combobox$1.Item.Props): React$1.JSX.Element;
|
|
813
|
+
declare function ComboboxSeparator({ className, ...props }: Combobox$1.Separator.Props): React$1.JSX.Element;
|
|
814
|
+
declare function ComboboxGroup({ className, ...props }: Combobox$1.Group.Props): React$1.JSX.Element;
|
|
815
|
+
declare function ComboboxGroupLabel({ className, ...props }: Combobox$1.GroupLabel.Props): React$1.JSX.Element;
|
|
816
|
+
declare function ComboboxEmpty({ className, ...props }: Combobox$1.Empty.Props): React$1.JSX.Element;
|
|
817
|
+
declare function ComboboxRow({ className, ...props }: Combobox$1.Row.Props): React$1.JSX.Element;
|
|
818
|
+
declare function ComboboxValue({ ...props }: Combobox$1.Value.Props): React$1.JSX.Element;
|
|
819
|
+
declare function ComboboxList({ className, ...props }: Combobox$1.List.Props): React$1.JSX.Element;
|
|
820
|
+
declare function ComboboxClear({ className, ...props }: Combobox$1.Clear.Props): React$1.JSX.Element;
|
|
821
|
+
declare function ComboboxStatus({ className, ...props }: Combobox$1.Status.Props): React$1.JSX.Element;
|
|
822
|
+
declare function ComboboxCollection(props: Combobox$1.Collection.Props): React$1.JSX.Element;
|
|
823
|
+
declare function ComboboxChips({ className, children, startAddon, ...props }: Combobox$1.Chips.Props & {
|
|
824
|
+
startAddon?: React$1.ReactNode;
|
|
825
|
+
}): React$1.JSX.Element;
|
|
826
|
+
declare function ComboboxChip({ children, ...props }: Combobox$1.Chip.Props): React$1.JSX.Element;
|
|
827
|
+
declare const useComboboxFilter: typeof Combobox$1.useFilter;
|
|
828
|
+
|
|
829
|
+
declare const CommandDialog: typeof Dialog$1.Root;
|
|
830
|
+
declare const CommandCreateHandle: typeof Dialog$1.createHandle;
|
|
831
|
+
declare function CommandDialogTrigger(props: Dialog$1.Trigger.Props): React$1.JSX.Element;
|
|
832
|
+
declare function CommandDialogPopup({ className, children, ...props }: Dialog$1.Popup.Props): React$1.JSX.Element;
|
|
833
|
+
declare function Command({ autoHighlight, keepHighlight, ...props }: React$1.ComponentProps<typeof Autocomplete>): React$1.JSX.Element;
|
|
834
|
+
declare function CommandInput({ className, placeholder, ...props }: React$1.ComponentProps<typeof AutocompleteInput>): React$1.JSX.Element;
|
|
835
|
+
declare function CommandList({ className, ...props }: React$1.ComponentProps<typeof AutocompleteList>): React$1.JSX.Element;
|
|
836
|
+
declare function CommandEmpty({ className, ...props }: React$1.ComponentProps<typeof AutocompleteEmpty>): React$1.JSX.Element;
|
|
837
|
+
declare function CommandPanel({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
838
|
+
declare function CommandGroup({ className, ...props }: React$1.ComponentProps<typeof AutocompleteGroup>): React$1.JSX.Element;
|
|
839
|
+
declare function CommandGroupLabel({ className, ...props }: React$1.ComponentProps<typeof AutocompleteGroupLabel>): React$1.JSX.Element;
|
|
840
|
+
declare function CommandCollection({ ...props }: React$1.ComponentProps<typeof AutocompleteCollection>): React$1.JSX.Element;
|
|
841
|
+
declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof AutocompleteItem>): React$1.JSX.Element;
|
|
842
|
+
declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof AutocompleteSeparator>): React$1.JSX.Element;
|
|
843
|
+
declare function CommandShortcut({ className, ...props }: React$1.ComponentProps<"kbd">): React$1.JSX.Element;
|
|
844
|
+
declare function CommandFooter({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
845
|
+
|
|
846
|
+
/** The brand celebration palette — soft violet / pink / peach / cream. */
|
|
847
|
+
declare const CONFETTI_COLORS: readonly ["#a786ff", "#fd8bbc", "#eca184", "#f8deb1"];
|
|
848
|
+
interface SideCannonsOptions {
|
|
849
|
+
/** How long the cannons keep firing, in ms (default 3000). */
|
|
850
|
+
durationMs?: number;
|
|
851
|
+
/** Confetti colors (default {@link CONFETTI_COLORS}). */
|
|
852
|
+
colors?: readonly string[];
|
|
853
|
+
/** Particles emitted per side per frame (default 2). */
|
|
854
|
+
particleCount?: number;
|
|
855
|
+
/** z-index of the confetti canvas (default 100). */
|
|
856
|
+
zIndex?: number;
|
|
857
|
+
}
|
|
858
|
+
/**
|
|
859
|
+
* Fires confetti from the left and right edges of the viewport for a few
|
|
860
|
+
* seconds — the "side cannons" celebration. Purely imperative, so it can be
|
|
861
|
+
* triggered from an effect (e.g. the first time a page loads) without rendering
|
|
862
|
+
* anything. No-ops on the server and when the user prefers reduced motion.
|
|
863
|
+
*
|
|
864
|
+
* @example
|
|
865
|
+
* useEffect(() => { sideCannons(); }, []);
|
|
866
|
+
*/
|
|
867
|
+
declare function sideCannons(options?: SideCannonsOptions): void;
|
|
868
|
+
type ConfettiApi = {
|
|
869
|
+
/** Fire the confetti instance, merging `options` over the component's. */
|
|
870
|
+
fire: (options?: Options) => void;
|
|
871
|
+
};
|
|
872
|
+
type ConfettiRef = ConfettiApi | null;
|
|
873
|
+
type ConfettiProps = React$1.ComponentPropsWithRef<"canvas"> & {
|
|
874
|
+
/** Per-shot options merged into every `fire()` call. */
|
|
875
|
+
options?: Options;
|
|
876
|
+
/** Global options passed to `confetti.create` (resize / worker). */
|
|
877
|
+
globalOptions?: GlobalOptions;
|
|
878
|
+
/** Skip the automatic fire on mount — drive it via the ref instead. */
|
|
879
|
+
manualstart?: boolean;
|
|
880
|
+
children?: ReactNode;
|
|
881
|
+
};
|
|
882
|
+
declare const Confetti: React$1.ForwardRefExoticComponent<Omit<ConfettiProps, "ref"> & React$1.RefAttributes<ConfettiRef>>;
|
|
883
|
+
/** Access the nearest {@link Confetti}'s imperative `fire()` from a child. */
|
|
884
|
+
declare function useConfetti(): ConfettiApi;
|
|
885
|
+
interface ConfettiButtonProps extends ButtonProps {
|
|
886
|
+
/** Confetti options; origin defaults to the button's center. */
|
|
887
|
+
options?: Options & GlobalOptions & {
|
|
888
|
+
canvas?: HTMLCanvasElement;
|
|
889
|
+
};
|
|
890
|
+
}
|
|
891
|
+
/**
|
|
892
|
+
* A {@link Button} that bursts confetti from its own center on click. Handy for
|
|
893
|
+
* "Claim", "Done", or other one-off celebratory actions.
|
|
894
|
+
*/
|
|
895
|
+
declare function ConfettiButtonComponent({ options, children, onClick, ...props }: ConfettiButtonProps): React$1.JSX.Element;
|
|
896
|
+
declare namespace ConfettiButtonComponent {
|
|
897
|
+
var displayName: string;
|
|
898
|
+
}
|
|
899
|
+
declare const ConfettiButton: typeof ConfettiButtonComponent;
|
|
900
|
+
|
|
901
|
+
type ContextMeterState = "ok" | "warn" | "summarizing" | "full";
|
|
902
|
+
interface ContextMeterProps extends Omit<React$1.SVGProps<SVGSVGElement>, "children"> {
|
|
903
|
+
/** Tokens currently in context. Used with `budget` when `pct` is not given. */
|
|
904
|
+
used?: number;
|
|
905
|
+
/** The model's context budget in tokens. */
|
|
906
|
+
budget?: number;
|
|
907
|
+
/** Fill fraction 0..1. Takes precedence over `used`/`budget` when provided. */
|
|
908
|
+
pct?: number;
|
|
909
|
+
/** Visual state; derived from the thresholds below when omitted. */
|
|
910
|
+
state?: ContextMeterState;
|
|
911
|
+
/** Threshold fractions — mirror the backend `config.context` values. */
|
|
912
|
+
warnAt?: number;
|
|
913
|
+
summarizeAt?: number;
|
|
914
|
+
lockAt?: number;
|
|
915
|
+
/** Diameter in px. */
|
|
916
|
+
size?: number;
|
|
917
|
+
/** Ring thickness in px. */
|
|
918
|
+
strokeWidth?: number;
|
|
919
|
+
/** Render the rounded percentage in the ring's center. */
|
|
920
|
+
showLabel?: boolean;
|
|
921
|
+
className?: string;
|
|
922
|
+
}
|
|
923
|
+
/**
|
|
924
|
+
* A compact radial gauge for how full an agent conversation's context window is.
|
|
925
|
+
*
|
|
926
|
+
* Feed it the backend `context_meter` payload (`pct`/`state` + thresholds) or a
|
|
927
|
+
* raw `used`/`budget` pair. The ring colors shift as the conversation approaches
|
|
928
|
+
* the summarize (folds older messages) and lock (must start a new chat) points,
|
|
929
|
+
* mirroring Claude Code's context indicator. Theme-aware and accessible
|
|
930
|
+
* (`role="meter"`).
|
|
931
|
+
*/
|
|
932
|
+
declare function ContextMeter({ used, budget, pct, state, warnAt, summarizeAt, lockAt, size, strokeWidth, showLabel, className, ...props }: ContextMeterProps): React$1.JSX.Element;
|
|
933
|
+
|
|
934
|
+
type CreditCardType = "transparent" | "transparent-gradient" | "brand-dark" | "brand-light" | "gray-dark" | "gray-light" | "transparent-strip" | "gray-strip" | "gradient-strip" | "salmon-strip" | "gray-strip-vertical" | "gradient-strip-vertical" | "salmon-strip-vertical";
|
|
935
|
+
interface CreditCardProps extends React$1.ComponentProps<"div"> {
|
|
936
|
+
type?: CreditCardType;
|
|
937
|
+
company?: React$1.ReactNode;
|
|
938
|
+
cardNumber?: string;
|
|
939
|
+
cardHolder?: string;
|
|
940
|
+
cardExpiration?: string;
|
|
941
|
+
/** Rendered width in px — the height follows the 316 × 190 aspect ratio. */
|
|
942
|
+
width?: number;
|
|
943
|
+
}
|
|
944
|
+
declare function CreditCard({ className, style, type, company, cardNumber, cardHolder, cardExpiration, width, ...props }: CreditCardProps): React$1.JSX.Element;
|
|
945
|
+
|
|
946
|
+
interface DataTablePagedColumn {
|
|
947
|
+
key: string;
|
|
948
|
+
label?: string;
|
|
949
|
+
}
|
|
950
|
+
interface DataTablePagedProps {
|
|
951
|
+
/** Columns to render. Pass `label` to override the header text. */
|
|
952
|
+
columns: DataTablePagedColumn[];
|
|
953
|
+
/** Row objects; values are rendered with `String(...)` unless a ReactNode. */
|
|
954
|
+
rows: Record<string, unknown>[];
|
|
955
|
+
pageSize?: number;
|
|
956
|
+
/** Show the client-side search box (filters across all columns). */
|
|
957
|
+
searchable?: boolean;
|
|
958
|
+
searchPlaceholder?: string;
|
|
959
|
+
emptyLabel?: string;
|
|
960
|
+
/**
|
|
961
|
+
* Total row count when `rows` is only one page of a larger server-side set —
|
|
962
|
+
* shown as "n of total" in the footer.
|
|
963
|
+
*/
|
|
964
|
+
totalCount?: number;
|
|
965
|
+
className?: string;
|
|
966
|
+
}
|
|
967
|
+
/**
|
|
968
|
+
* Client-side paginated (and optionally searchable) data table. Designed for
|
|
969
|
+
* result sets a chat agent or API returns: pass plain row objects and column
|
|
970
|
+
* keys, get a themed table with pagination that never renders huge lists.
|
|
971
|
+
*/
|
|
972
|
+
declare function DataTablePaged({ className, columns, emptyLabel, pageSize, rows, searchable, searchPlaceholder, totalCount, }: DataTablePagedProps): React$1.JSX.Element;
|
|
973
|
+
|
|
974
|
+
declare function Drawer(props: React$1.ComponentProps<typeof Drawer$1.Root>): React$1.JSX.Element;
|
|
975
|
+
declare function DrawerTrigger(props: React$1.ComponentProps<typeof Drawer$1.Trigger>): React$1.JSX.Element;
|
|
976
|
+
declare function DrawerPortal(props: React$1.ComponentProps<typeof Drawer$1.Portal>): React$1.JSX.Element;
|
|
977
|
+
declare function DrawerClose(props: React$1.ComponentProps<typeof Drawer$1.Close>): React$1.JSX.Element;
|
|
978
|
+
declare function DrawerOverlay({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Overlay>): React$1.JSX.Element;
|
|
979
|
+
declare function DrawerContent({ className, children, ...props }: React$1.ComponentProps<typeof Drawer$1.Content>): React$1.JSX.Element;
|
|
980
|
+
declare function DrawerHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
981
|
+
declare function DrawerFooter({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
982
|
+
declare function DrawerTitle({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Title>): React$1.JSX.Element;
|
|
983
|
+
declare function DrawerDescription({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Description>): React$1.JSX.Element;
|
|
984
|
+
|
|
985
|
+
declare function ContextMenu({ ...props }: ContextMenu$1.Root.Props): React$1.JSX.Element;
|
|
986
|
+
declare function ContextMenuPortal({ ...props }: ContextMenu$1.Portal.Props): React$1.JSX.Element;
|
|
987
|
+
declare function ContextMenuTrigger({ className, ...props }: ContextMenu$1.Trigger.Props): React$1.JSX.Element;
|
|
988
|
+
declare function ContextMenuContent({ className, align, alignOffset, side, sideOffset, ...props }: ContextMenu$1.Popup.Props & Pick<ContextMenu$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): React$1.JSX.Element;
|
|
989
|
+
declare function ContextMenuGroup({ ...props }: ContextMenu$1.Group.Props): React$1.JSX.Element;
|
|
990
|
+
declare function ContextMenuLabel({ className, inset, ...props }: ContextMenu$1.GroupLabel.Props & {
|
|
991
|
+
inset?: boolean;
|
|
992
|
+
}): React$1.JSX.Element;
|
|
993
|
+
declare function ContextMenuItem({ className, inset, variant, ...props }: ContextMenu$1.Item.Props & {
|
|
994
|
+
inset?: boolean;
|
|
995
|
+
variant?: "default" | "destructive";
|
|
996
|
+
}): React$1.JSX.Element;
|
|
997
|
+
declare function ContextMenuSub({ ...props }: ContextMenu$1.SubmenuRoot.Props): React$1.JSX.Element;
|
|
998
|
+
declare function ContextMenuSubTrigger({ className, inset, children, ...props }: ContextMenu$1.SubmenuTrigger.Props & {
|
|
999
|
+
inset?: boolean;
|
|
1000
|
+
}): React$1.JSX.Element;
|
|
1001
|
+
declare function ContextMenuSubContent({ ...props }: React$1.ComponentProps<typeof ContextMenuContent>): React$1.JSX.Element;
|
|
1002
|
+
declare function ContextMenuCheckboxItem({ className, children, checked, inset, ...props }: ContextMenu$1.CheckboxItem.Props & {
|
|
1003
|
+
inset?: boolean;
|
|
1004
|
+
}): React$1.JSX.Element;
|
|
1005
|
+
declare function ContextMenuRadioGroup({ ...props }: ContextMenu$1.RadioGroup.Props): React$1.JSX.Element;
|
|
1006
|
+
declare function ContextMenuRadioItem({ className, children, inset, ...props }: ContextMenu$1.RadioItem.Props & {
|
|
1007
|
+
inset?: boolean;
|
|
1008
|
+
}): React$1.JSX.Element;
|
|
1009
|
+
declare function ContextMenuSeparator({ className, ...props }: ContextMenu$1.Separator.Props): React$1.JSX.Element;
|
|
1010
|
+
declare function ContextMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
1011
|
+
|
|
1012
|
+
declare const DialogCreateHandle: typeof Dialog$1.createHandle;
|
|
1013
|
+
declare const Dialog: typeof Dialog$1.Root;
|
|
1014
|
+
declare const DialogPortal: React$1.ForwardRefExoticComponent<Omit<_base_ui_react.DialogPortalProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1015
|
+
declare function DialogTrigger(props: Dialog$1.Trigger.Props): React$1.JSX.Element;
|
|
1016
|
+
declare function DialogClose(props: Dialog$1.Close.Props): React$1.JSX.Element;
|
|
1017
|
+
declare function DialogBackdrop({ className, ...props }: Dialog$1.Backdrop.Props): React$1.JSX.Element;
|
|
1018
|
+
declare function DialogViewport({ className, ...props }: Dialog$1.Viewport.Props): React$1.JSX.Element;
|
|
1019
|
+
declare function DialogPopup({ className, children, showCloseButton, bottomStickOnMobile, ...props }: Dialog$1.Popup.Props & {
|
|
1020
|
+
showCloseButton?: boolean;
|
|
1021
|
+
bottomStickOnMobile?: boolean;
|
|
1022
|
+
}): React$1.JSX.Element;
|
|
1023
|
+
declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
|
|
1024
|
+
declare function DialogFooter({ className, variant, ...props }: React.ComponentProps<"div"> & {
|
|
1025
|
+
variant?: "default" | "bare";
|
|
1026
|
+
}): React$1.JSX.Element;
|
|
1027
|
+
declare function DialogTitle({ className, ...props }: Dialog$1.Title.Props): React$1.JSX.Element;
|
|
1028
|
+
declare function DialogDescription({ className, ...props }: Dialog$1.Description.Props): React$1.JSX.Element;
|
|
1029
|
+
declare function DialogPanel({ className, scrollFade, ...props }: React.ComponentProps<"div"> & {
|
|
1030
|
+
scrollFade?: boolean;
|
|
1031
|
+
}): React$1.JSX.Element;
|
|
1032
|
+
|
|
1033
|
+
declare function Empty({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
|
|
1034
|
+
declare function EmptyHeader({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
|
|
1035
|
+
declare const emptyMediaVariants: (props?: ({
|
|
1036
|
+
variant?: "default" | "icon" | null | undefined;
|
|
1037
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1038
|
+
declare function EmptyMedia({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): React$1.JSX.Element;
|
|
1039
|
+
declare function EmptyTitle({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
|
|
1040
|
+
declare function EmptyDescription({ className, ...props }: React.ComponentProps<"p">): React$1.JSX.Element;
|
|
1041
|
+
declare function EmptyContent({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
|
|
1042
|
+
|
|
1043
|
+
declare const fabVariants: (props?: ({
|
|
1044
|
+
position?: "bottom-right" | "bottom-left" | "top-right" | "top-left" | null | undefined;
|
|
1045
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1046
|
+
interface FabProps extends ButtonProps {
|
|
1047
|
+
position?: VariantProps<typeof fabVariants>["position"];
|
|
1048
|
+
}
|
|
1049
|
+
/**
|
|
1050
|
+
* Floating action button — a fixed, round icon button used to summon overlays
|
|
1051
|
+
* such as chat widgets. Composes `Button`, so all button variants/sizes apply.
|
|
1052
|
+
*/
|
|
1053
|
+
declare function Fab({ className, position, size, ...props }: FabProps): React$1.JSX.Element;
|
|
1054
|
+
|
|
1055
|
+
declare const featuredIconVariants: (props?: ({
|
|
1056
|
+
color?: "error" | "success" | "warning" | "gray" | "brand" | null | undefined;
|
|
1057
|
+
size?: "lg" | "sm" | "xl" | "md" | null | undefined;
|
|
1058
|
+
theme?: "dark" | "light" | "outline" | "modern" | "modern-neue" | "gradient" | null | undefined;
|
|
1059
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1060
|
+
type FeaturedIconTheme = NonNullable<VariantProps<typeof featuredIconVariants>["theme"]>;
|
|
1061
|
+
type FeaturedIconColor = NonNullable<VariantProps<typeof featuredIconVariants>["color"]>;
|
|
1062
|
+
interface FeaturedIconProps extends Omit<React$1.ComponentProps<"span">, "color"> {
|
|
1063
|
+
theme?: FeaturedIconTheme;
|
|
1064
|
+
color?: FeaturedIconColor;
|
|
1065
|
+
size?: VariantProps<typeof featuredIconVariants>["size"];
|
|
1066
|
+
/** Icon component rendered inside (e.g. a lucide icon). Or pass children. */
|
|
1067
|
+
icon?: React$1.ElementType;
|
|
1068
|
+
}
|
|
1069
|
+
declare function FeaturedIcon({ className, theme, color, size, icon: Icon, children, ...props }: FeaturedIconProps): React$1.JSX.Element;
|
|
1070
|
+
|
|
1071
|
+
declare function Field({ className, ...props }: Field$1.Root.Props): React$1.JSX.Element;
|
|
1072
|
+
declare function FieldLabel({ className, ...props }: Field$1.Label.Props): React$1.JSX.Element;
|
|
1073
|
+
declare function FieldItem({ className, ...props }: Field$1.Item.Props): React$1.JSX.Element;
|
|
1074
|
+
declare function FieldDescription({ className, ...props }: Field$1.Description.Props): React$1.JSX.Element;
|
|
1075
|
+
declare function FieldError({ className, ...props }: Field$1.Error.Props): React$1.JSX.Element;
|
|
1076
|
+
declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
|
|
1077
|
+
declare const FieldControl: React$1.ForwardRefExoticComponent<Omit<_base_ui_react.FieldControlProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
1078
|
+
declare const FieldValidity: React$1.FC<_base_ui_react.FieldValidityProps>;
|
|
1079
|
+
|
|
1080
|
+
declare function Fieldset({ className, ...props }: Fieldset$1.Root.Props): React$1.JSX.Element;
|
|
1081
|
+
declare function FieldsetLegend({ className, ...props }: Fieldset$1.Legend.Props): React$1.JSX.Element;
|
|
1082
|
+
|
|
1083
|
+
declare function Form({ className, ...props }: Form$1.Props): React$1.JSX.Element;
|
|
1084
|
+
|
|
1085
|
+
declare function Frame({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1086
|
+
declare function FramePanel({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1087
|
+
declare function FrameHeader({ className, ...props }: React$1.ComponentProps<"header">): React$1.JSX.Element;
|
|
1088
|
+
declare function FrameTitle({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1089
|
+
declare function FrameDescription({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1090
|
+
declare function FrameFooter({ className, ...props }: React$1.ComponentProps<"footer">): React$1.JSX.Element;
|
|
1091
|
+
|
|
1092
|
+
interface ErrorOrEmptyStateProps extends Omit<React__default.ComponentProps<"div">, "title"> {
|
|
1093
|
+
title?: React__default.ReactNode;
|
|
1094
|
+
description?: React__default.ReactNode;
|
|
1095
|
+
actions?: React__default.ReactNode;
|
|
1096
|
+
media?: React__default.ReactNode;
|
|
1097
|
+
mediaVariant?: "icon" | "default";
|
|
1098
|
+
compact?: boolean;
|
|
1099
|
+
}
|
|
1100
|
+
declare function ErrorOrEmptyState({ title, description, actions, className, media, mediaVariant, compact, ...props }: ErrorOrEmptyStateProps): React__default.JSX.Element;
|
|
1101
|
+
type ErrorTemplateProps = Omit<ErrorOrEmptyStateProps, "image" | "title" | "description"> & {
|
|
1102
|
+
mediaClassName?: string;
|
|
1103
|
+
};
|
|
1104
|
+
declare function NotFoundErrorState({ mediaClassName, ...props }: ErrorTemplateProps): React__default.JSX.Element;
|
|
1105
|
+
declare function UnauthorizedErrorState({ mediaClassName, ...props }: ErrorTemplateProps): React__default.JSX.Element;
|
|
1106
|
+
declare function ForbiddenErrorState({ mediaClassName, ...props }: ErrorTemplateProps): React__default.JSX.Element;
|
|
1107
|
+
declare function InternalServerErrorState({ mediaClassName, ...props }: ErrorTemplateProps): React__default.JSX.Element;
|
|
1108
|
+
declare function OfflineErrorState({ mediaClassName, ...props }: ErrorTemplateProps): React__default.JSX.Element;
|
|
1109
|
+
declare function GeneralErrorState({ mediaClassName, ...props }: ErrorTemplateProps): React__default.JSX.Element;
|
|
1110
|
+
|
|
1111
|
+
declare function Separator({ className, orientation, ...props }: Separator$1.Props): React$1.JSX.Element;
|
|
1112
|
+
|
|
1113
|
+
declare const groupVariants: (props?: ({
|
|
1114
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
1115
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1116
|
+
declare function Group({ className, orientation, children, ...props }: {
|
|
1117
|
+
className?: string;
|
|
1118
|
+
orientation?: VariantProps<typeof groupVariants>["orientation"];
|
|
1119
|
+
children: React$1.ReactNode;
|
|
1120
|
+
} & React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1121
|
+
declare function GroupText({ className, render, ...props }: useRender.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1122
|
+
declare function GroupSeparator({ className, orientation, ...props }: {
|
|
1123
|
+
className?: string;
|
|
1124
|
+
} & React$1.ComponentProps<typeof Separator>): React$1.JSX.Element;
|
|
1125
|
+
|
|
1126
|
+
declare const TooltipCreateHandle: typeof Tooltip$1.createHandle;
|
|
1127
|
+
declare const TooltipProvider: React$1.FC<_base_ui_react.TooltipProviderProps>;
|
|
1128
|
+
declare const Tooltip: typeof Tooltip$1.Root;
|
|
1129
|
+
declare function TooltipTrigger(props: Tooltip$1.Trigger.Props): React$1.JSX.Element;
|
|
1130
|
+
declare function TooltipTitle({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): React$1.JSX.Element;
|
|
1131
|
+
declare function TooltipDescription({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): React$1.JSX.Element;
|
|
1132
|
+
declare function TooltipPopup({ className, align, sideOffset, side, arrow, children, ...props }: Tooltip$1.Popup.Props & {
|
|
1133
|
+
align?: Tooltip$1.Positioner.Props["align"];
|
|
1134
|
+
side?: Tooltip$1.Positioner.Props["side"];
|
|
1135
|
+
sideOffset?: Tooltip$1.Positioner.Props["sideOffset"];
|
|
1136
|
+
arrow?: boolean;
|
|
1137
|
+
}): React$1.JSX.Element;
|
|
1138
|
+
|
|
1139
|
+
interface HelpTipProps {
|
|
1140
|
+
/** The help text shown in the tooltip. */
|
|
1141
|
+
children?: React$1.ReactNode;
|
|
1142
|
+
/** Optional bold heading rendered above the description text. */
|
|
1143
|
+
title?: React$1.ReactNode;
|
|
1144
|
+
/** Which side of the trigger the tooltip opens on. Default "top". */
|
|
1145
|
+
side?: React$1.ComponentProps<typeof TooltipPopup>["side"];
|
|
1146
|
+
/** Alignment of the tooltip along the trigger. Default "center". */
|
|
1147
|
+
align?: React$1.ComponentProps<typeof TooltipPopup>["align"];
|
|
1148
|
+
/** Accessible label for the icon button. Default "More information". */
|
|
1149
|
+
label?: string;
|
|
1150
|
+
/** Hover / focus open delay in ms. Default 150. */
|
|
1151
|
+
delay?: number;
|
|
1152
|
+
/** Icon size in px. Default 16. */
|
|
1153
|
+
iconSize?: number;
|
|
1154
|
+
/** Extra classes for the trigger button. */
|
|
1155
|
+
className?: string;
|
|
1156
|
+
/** Extra classes for the tooltip popup. */
|
|
1157
|
+
popupClassName?: string;
|
|
1158
|
+
/** Render the little arrow pointing at the icon. Default false. */
|
|
1159
|
+
arrow?: boolean;
|
|
1160
|
+
}
|
|
1161
|
+
/**
|
|
1162
|
+
* A small "?" help affordance: an unobtrusive circular icon that reveals
|
|
1163
|
+
* supporting text in a tooltip on hover / focus. Use it next to a label,
|
|
1164
|
+
* heading, or field when a short explanation would help but shouldn't take up
|
|
1165
|
+
* permanent space.
|
|
1166
|
+
*
|
|
1167
|
+
* ```tsx
|
|
1168
|
+
* <span className="flex items-center gap-1.5">
|
|
1169
|
+
* My Events
|
|
1170
|
+
* <HelpTip>Every event Country Club has surfaced for you…</HelpTip>
|
|
1171
|
+
* </span>
|
|
1172
|
+
* ```
|
|
1173
|
+
*/
|
|
1174
|
+
declare function HelpTip({ children, title, side, align, label, delay, iconSize, className, popupClassName, arrow, }: HelpTipProps): React$1.JSX.Element;
|
|
1175
|
+
|
|
1176
|
+
declare const HorizontalScrollFader: React__default.ForwardRefExoticComponent<{
|
|
1177
|
+
asChild?: boolean;
|
|
1178
|
+
children?: React__default.ReactNode;
|
|
1179
|
+
} & Omit<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1180
|
+
declare const HorizontalScrollFaderContent: React__default.ForwardRefExoticComponent<{
|
|
1181
|
+
asChild?: boolean;
|
|
1182
|
+
children?: React__default.ReactNode;
|
|
1183
|
+
} & Omit<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1184
|
+
declare const HorizontalScrollFaderLeftScroller: React__default.ForwardRefExoticComponent<{
|
|
1185
|
+
asChild?: boolean;
|
|
1186
|
+
children?: React__default.ReactNode;
|
|
1187
|
+
} & Omit<React__default.DetailedHTMLProps<React__default.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1188
|
+
declare const HorizontalScrollFaderRightScroller: React__default.ForwardRefExoticComponent<{
|
|
1189
|
+
asChild?: boolean;
|
|
1190
|
+
children?: React__default.ReactNode;
|
|
1191
|
+
} & Omit<React__default.DetailedHTMLProps<React__default.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1192
|
+
|
|
1193
|
+
type TextareaProps = React$1.ComponentProps<"textarea"> & {
|
|
1194
|
+
size?: "sm" | "default" | "lg" | number;
|
|
1195
|
+
unstyled?: boolean;
|
|
1196
|
+
};
|
|
1197
|
+
declare function Textarea({ className, size, unstyled, ...props }: TextareaProps): React$1.JSX.Element;
|
|
1198
|
+
|
|
1199
|
+
declare function InputGroup({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1200
|
+
declare const inputGroupAddonVariants: (props?: ({
|
|
1201
|
+
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
1202
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1203
|
+
declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): React$1.JSX.Element;
|
|
1204
|
+
declare function InputGroupText({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
1205
|
+
declare function InputGroupInput({ className, ...props }: InputProps): React$1.JSX.Element;
|
|
1206
|
+
declare function InputGroupTextarea({ className, ...props }: TextareaProps): React$1.JSX.Element;
|
|
1207
|
+
|
|
1208
|
+
type InputOTPProps = React$1.ComponentProps<typeof OTPInput>;
|
|
1209
|
+
declare function InputOTP({ className, containerClassName, inputMode, pattern, ...props }: InputOTPProps): React$1.JSX.Element;
|
|
1210
|
+
declare function InputOTPGroup({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1211
|
+
declare const inputOTPSlotVariants: (props?: ({
|
|
1212
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
1213
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1214
|
+
declare function InputOTPSlot({ index, className, size, ...props }: React$1.ComponentProps<"div"> & {
|
|
1215
|
+
index: number;
|
|
1216
|
+
} & VariantProps<typeof inputOTPSlotVariants>): React$1.JSX.Element;
|
|
1217
|
+
declare function InputOTPSeparator({ ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1218
|
+
|
|
1219
|
+
declare function ItemGroup({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1220
|
+
declare function ItemSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): React$1.JSX.Element;
|
|
1221
|
+
declare const itemVariants: (props?: ({
|
|
1222
|
+
size?: "default" | "sm" | null | undefined;
|
|
1223
|
+
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
1224
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1225
|
+
interface ItemProps extends useRender.ComponentProps<"div"> {
|
|
1226
|
+
variant?: VariantProps<typeof itemVariants>["variant"];
|
|
1227
|
+
size?: VariantProps<typeof itemVariants>["size"];
|
|
1228
|
+
}
|
|
1229
|
+
declare function Item({ className, variant, size, render, ...props }: ItemProps): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1230
|
+
declare const itemMediaVariants: (props?: ({
|
|
1231
|
+
variant?: "image" | "default" | "icon" | null | undefined;
|
|
1232
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1233
|
+
declare function ItemMedia({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): React$1.JSX.Element;
|
|
1234
|
+
declare function ItemContent({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1235
|
+
declare function ItemTitle({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1236
|
+
declare function ItemDescription({ className, ...props }: React$1.ComponentProps<"p">): React$1.JSX.Element;
|
|
1237
|
+
declare function ItemActions({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1238
|
+
declare function ItemHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1239
|
+
declare function ItemFooter({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1240
|
+
|
|
1241
|
+
declare function Kbd({ className, ...props }: React$1.ComponentProps<"kbd">): React$1.JSX.Element;
|
|
1242
|
+
declare function KbdGroup({ className, ...props }: React$1.ComponentProps<"kbd">): React$1.JSX.Element;
|
|
1243
|
+
|
|
1244
|
+
declare function Label({ className, render, ...props }: useRender.ComponentProps<"label">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1245
|
+
|
|
1246
|
+
interface MarkdownProps {
|
|
1247
|
+
/** The markdown source to render. */
|
|
1248
|
+
children: string;
|
|
1249
|
+
className?: string;
|
|
1250
|
+
}
|
|
1251
|
+
/**
|
|
1252
|
+
* Markdown renderer for assistant/chat content (GitHub-flavored markdown).
|
|
1253
|
+
* Raw HTML in the source is NOT rendered — output is limited to markdown
|
|
1254
|
+
* elements, which keeps untrusted model output safe to display.
|
|
1255
|
+
*/
|
|
1256
|
+
declare function Markdown({ children, className }: MarkdownProps): React$1.JSX.Element;
|
|
1257
|
+
|
|
1258
|
+
declare const MenuCreateHandle: typeof Menu$1.createHandle;
|
|
1259
|
+
declare const Menu: typeof Menu$1.Root;
|
|
1260
|
+
declare const MenuPortal: React$1.ForwardRefExoticComponent<Omit<_base_ui_react.ContextMenuPortalProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1261
|
+
declare function MenuTrigger(props: Menu$1.Trigger.Props): React$1.JSX.Element;
|
|
1262
|
+
declare function MenuPopup({ children, className, sideOffset, align, alignOffset, side, ...props }: Menu$1.Popup.Props & {
|
|
1263
|
+
align?: Menu$1.Positioner.Props["align"];
|
|
1264
|
+
sideOffset?: Menu$1.Positioner.Props["sideOffset"];
|
|
1265
|
+
alignOffset?: Menu$1.Positioner.Props["alignOffset"];
|
|
1266
|
+
side?: Menu$1.Positioner.Props["side"];
|
|
1267
|
+
}): React$1.JSX.Element;
|
|
1268
|
+
declare function MenuGroup(props: Menu$1.Group.Props): React$1.JSX.Element;
|
|
1269
|
+
declare function MenuItem({ className, inset, variant, ...props }: Menu$1.Item.Props & {
|
|
1270
|
+
inset?: boolean;
|
|
1271
|
+
variant?: "default" | "destructive";
|
|
1272
|
+
}): React$1.JSX.Element;
|
|
1273
|
+
declare function MenuCheckboxItem({ className, children, checked, variant, ...props }: Menu$1.CheckboxItem.Props & {
|
|
1274
|
+
variant?: "default" | "switch";
|
|
1275
|
+
}): React$1.JSX.Element;
|
|
1276
|
+
declare function MenuRadioGroup(props: Menu$1.RadioGroup.Props): React$1.JSX.Element;
|
|
1277
|
+
declare function MenuRadioItem({ className, children, ...props }: Menu$1.RadioItem.Props): React$1.JSX.Element;
|
|
1278
|
+
declare function MenuGroupLabel({ className, inset, ...props }: Menu$1.GroupLabel.Props & {
|
|
1279
|
+
inset?: boolean;
|
|
1280
|
+
}): React$1.JSX.Element;
|
|
1281
|
+
declare function MenuSeparator({ className, ...props }: Menu$1.Separator.Props): React$1.JSX.Element;
|
|
1282
|
+
declare function MenuShortcut({ className, ...props }: React$1.ComponentProps<"kbd">): React$1.JSX.Element;
|
|
1283
|
+
declare function MenuSub(props: Menu$1.SubmenuRoot.Props): React$1.JSX.Element;
|
|
1284
|
+
declare function MenuSubTrigger({ className, inset, children, ...props }: Menu$1.SubmenuTrigger.Props & {
|
|
1285
|
+
inset?: boolean;
|
|
1286
|
+
}): React$1.JSX.Element;
|
|
1287
|
+
declare function MenuSubPopup({ className, sideOffset, alignOffset, align, ...props }: Menu$1.Popup.Props & {
|
|
1288
|
+
align?: Menu$1.Positioner.Props["align"];
|
|
1289
|
+
sideOffset?: Menu$1.Positioner.Props["sideOffset"];
|
|
1290
|
+
alignOffset?: Menu$1.Positioner.Props["alignOffset"];
|
|
1291
|
+
}): React$1.JSX.Element;
|
|
1292
|
+
|
|
1293
|
+
declare function Menubar({ className, ...props }: MenubarProps): React$1.JSX.Element;
|
|
1294
|
+
declare function MenubarMenu(props: Menu$1.Root.Props): React$1.JSX.Element;
|
|
1295
|
+
declare function MenubarTrigger({ className, ...props }: Menu$1.Trigger.Props): React$1.JSX.Element;
|
|
1296
|
+
declare function MenubarContent({ align, sideOffset, ...props }: React$1.ComponentProps<typeof MenuPopup>): React$1.JSX.Element;
|
|
1297
|
+
|
|
1298
|
+
declare function Meter({ className, children, ...props }: Meter$1.Root.Props): React$1.JSX.Element;
|
|
1299
|
+
declare function MeterLabel({ className, ...props }: Meter$1.Label.Props): React$1.JSX.Element;
|
|
1300
|
+
declare function MeterTrack({ className, ...props }: Meter$1.Track.Props): React$1.JSX.Element;
|
|
1301
|
+
declare function MeterIndicator({ className, ...props }: Meter$1.Indicator.Props): React$1.JSX.Element;
|
|
1302
|
+
declare function MeterValue({ className, ...props }: Meter$1.Value.Props): React$1.JSX.Element;
|
|
1303
|
+
|
|
1304
|
+
interface MultiSelectItem {
|
|
1305
|
+
label: string;
|
|
1306
|
+
value: string;
|
|
1307
|
+
disabled?: boolean;
|
|
1308
|
+
}
|
|
1309
|
+
interface MultiSelectProps {
|
|
1310
|
+
items: MultiSelectItem[];
|
|
1311
|
+
/** Controlled selected values. */
|
|
1312
|
+
value?: string[];
|
|
1313
|
+
/** Uncontrolled initial selected values. */
|
|
1314
|
+
defaultValue?: string[];
|
|
1315
|
+
onValueChange?: (value: string[]) => void;
|
|
1316
|
+
size?: "sm" | "default" | "lg";
|
|
1317
|
+
placeholder?: React$1.ReactNode;
|
|
1318
|
+
/** Extra context rendered next to the selected count, e.g. "of 12 users". */
|
|
1319
|
+
supportingText?: React$1.ReactNode;
|
|
1320
|
+
/** Formats the trigger text from the selected count. Defaults to `${count} selected`. */
|
|
1321
|
+
selectedCountFormatter?: (count: number) => React$1.ReactNode;
|
|
1322
|
+
showSearch?: boolean;
|
|
1323
|
+
searchPlaceholder?: string;
|
|
1324
|
+
showFooter?: boolean;
|
|
1325
|
+
selectAllLabel?: React$1.ReactNode;
|
|
1326
|
+
resetLabel?: React$1.ReactNode;
|
|
1327
|
+
emptyStateTitle?: React$1.ReactNode;
|
|
1328
|
+
emptyStateDescription?: React$1.ReactNode;
|
|
1329
|
+
disabled?: boolean;
|
|
1330
|
+
name?: string;
|
|
1331
|
+
required?: boolean;
|
|
1332
|
+
id?: string;
|
|
1333
|
+
/** Trigger class name. */
|
|
1334
|
+
className?: string;
|
|
1335
|
+
popupClassName?: string;
|
|
1336
|
+
sideOffset?: Select$1.Positioner.Props["sideOffset"];
|
|
1337
|
+
}
|
|
1338
|
+
declare function MultiSelect({ items, value: valueProp, defaultValue, onValueChange, size, placeholder, supportingText, selectedCountFormatter, showSearch, searchPlaceholder, showFooter, selectAllLabel, resetLabel, emptyStateTitle, emptyStateDescription, disabled, name, required, id, className, popupClassName, sideOffset, }: MultiSelectProps): React$1.JSX.Element;
|
|
1339
|
+
|
|
1340
|
+
declare function NavigationMenu({ className, children, ...props }: NavigationMenu$1.Root.Props): React$1.JSX.Element;
|
|
1341
|
+
declare function NavigationMenuList({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.List>): React$1.JSX.Element;
|
|
1342
|
+
declare function NavigationMenuItem({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Item>): React$1.JSX.Element;
|
|
1343
|
+
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
1344
|
+
declare function NavigationMenuTrigger({ className, children, ...props }: NavigationMenu$1.Trigger.Props): React$1.JSX.Element;
|
|
1345
|
+
declare function NavigationMenuContent({ className, ...props }: NavigationMenu$1.Content.Props): React$1.JSX.Element;
|
|
1346
|
+
declare function NavigationMenuLink({ className, ...props }: NavigationMenu$1.Link.Props): React$1.JSX.Element;
|
|
1347
|
+
|
|
1348
|
+
declare function NumberField({ id, className, size, ...props }: NumberField$1.Root.Props & {
|
|
1349
|
+
size?: "sm" | "default" | "lg";
|
|
1350
|
+
}): React$1.JSX.Element;
|
|
1351
|
+
declare function NumberFieldGroup({ className, ...props }: NumberField$1.Group.Props): React$1.JSX.Element;
|
|
1352
|
+
declare function NumberFieldDecrement({ className, ...props }: NumberField$1.Decrement.Props): React$1.JSX.Element;
|
|
1353
|
+
declare function NumberFieldIncrement({ className, ...props }: NumberField$1.Increment.Props): React$1.JSX.Element;
|
|
1354
|
+
declare function NumberFieldInput({ className, ...props }: NumberField$1.Input.Props): React$1.JSX.Element;
|
|
1355
|
+
declare function NumberFieldScrubArea({ className, label, ...props }: NumberField$1.ScrubArea.Props & {
|
|
1356
|
+
label: string;
|
|
1357
|
+
}): React$1.JSX.Element;
|
|
1358
|
+
|
|
1359
|
+
declare function Pagination({ className, ...props }: React$1.ComponentProps<"nav">): React$1.JSX.Element;
|
|
1360
|
+
declare function PaginationContent({ className, ...props }: React$1.ComponentProps<"ul">): React$1.JSX.Element;
|
|
1361
|
+
declare function PaginationItem({ className, ...props }: React$1.ComponentProps<"li">): React$1.JSX.Element;
|
|
1362
|
+
type PaginationLinkProps = {
|
|
1363
|
+
isActive?: boolean;
|
|
1364
|
+
disabled?: boolean;
|
|
1365
|
+
size?: React$1.ComponentProps<typeof Button>["size"];
|
|
1366
|
+
} & useRender.ComponentProps<"a">;
|
|
1367
|
+
declare function PaginationLink({ className, isActive, disabled, size, render, ...props }: PaginationLinkProps): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1368
|
+
declare function PaginationPrevious({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): React$1.JSX.Element;
|
|
1369
|
+
declare function PaginationNext({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): React$1.JSX.Element;
|
|
1370
|
+
declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
1371
|
+
|
|
1372
|
+
declare function PaginationControls(props: {
|
|
1373
|
+
page: number;
|
|
1374
|
+
pageCount: number;
|
|
1375
|
+
renderPageLink: (page: number) => PaginationLinkProps["render"];
|
|
1376
|
+
}): React$1.JSX.Element | null;
|
|
1377
|
+
|
|
1378
|
+
declare const PopoverCreateHandle: typeof Popover$1.createHandle;
|
|
1379
|
+
declare const Popover: typeof Popover$1.Root;
|
|
1380
|
+
declare function PopoverTrigger({ className, children, ...props }: Popover$1.Trigger.Props): React$1.JSX.Element;
|
|
1381
|
+
declare function PopoverPopup({ children, className, side, align, sideOffset, alignOffset, tooltipStyle, anchor, ...props }: Popover$1.Popup.Props & {
|
|
1382
|
+
side?: Popover$1.Positioner.Props["side"];
|
|
1383
|
+
align?: Popover$1.Positioner.Props["align"];
|
|
1384
|
+
sideOffset?: Popover$1.Positioner.Props["sideOffset"];
|
|
1385
|
+
alignOffset?: Popover$1.Positioner.Props["alignOffset"];
|
|
1386
|
+
tooltipStyle?: boolean;
|
|
1387
|
+
anchor?: Popover$1.Positioner.Props["anchor"];
|
|
1388
|
+
}): React$1.JSX.Element;
|
|
1389
|
+
declare function PopoverClose({ ...props }: Popover$1.Close.Props): React$1.JSX.Element;
|
|
1390
|
+
declare function PopoverTitle({ className, ...props }: Popover$1.Title.Props): React$1.JSX.Element;
|
|
1391
|
+
declare function PopoverDescription({ className, ...props }: Popover$1.Description.Props): React$1.JSX.Element;
|
|
1392
|
+
|
|
1393
|
+
declare const PreviewCard: typeof PreviewCard$1.Root;
|
|
1394
|
+
declare function PreviewCardTrigger({ ...props }: PreviewCard$1.Trigger.Props): React$1.JSX.Element;
|
|
1395
|
+
declare function PreviewCardPopup({ className, children, align, sideOffset, ...props }: PreviewCard$1.Popup.Props & {
|
|
1396
|
+
align?: PreviewCard$1.Positioner.Props["align"];
|
|
1397
|
+
sideOffset?: PreviewCard$1.Positioner.Props["sideOffset"];
|
|
1398
|
+
}): React$1.JSX.Element;
|
|
1399
|
+
|
|
1400
|
+
declare function Progress({ className, children, ...props }: Progress$1.Root.Props): React$1.JSX.Element;
|
|
1401
|
+
declare function ProgressLabel({ className, ...props }: Progress$1.Label.Props): React$1.JSX.Element;
|
|
1402
|
+
declare function ProgressTrack({ className, ...props }: Progress$1.Track.Props): React$1.JSX.Element;
|
|
1403
|
+
declare function ProgressIndicator({ className, ...props }: Progress$1.Indicator.Props): React$1.JSX.Element;
|
|
1404
|
+
declare function ProgressValue({ className, ...props }: Progress$1.Value.Props): React$1.JSX.Element;
|
|
1405
|
+
/**
|
|
1406
|
+
* A tooltip-like value bubble that floats above or below the track,
|
|
1407
|
+
* following the progress percentage. Render it next to a ProgressTrack
|
|
1408
|
+
* inside a `relative` wrapper.
|
|
1409
|
+
*/
|
|
1410
|
+
declare function ProgressFloatingValue({ className, side, value, max, children, style, ...props }: React$1.ComponentProps<"div"> & {
|
|
1411
|
+
side?: "top" | "bottom";
|
|
1412
|
+
value: number;
|
|
1413
|
+
max?: number;
|
|
1414
|
+
}): React$1.JSX.Element;
|
|
1415
|
+
declare const progressCircleSizes: {
|
|
1416
|
+
readonly sm: {
|
|
1417
|
+
readonly label: "text-[0.625rem]";
|
|
1418
|
+
readonly px: 64;
|
|
1419
|
+
readonly stroke: 6;
|
|
1420
|
+
readonly value: "text-sm";
|
|
1421
|
+
};
|
|
1422
|
+
readonly md: {
|
|
1423
|
+
readonly label: "text-xs";
|
|
1424
|
+
readonly px: 120;
|
|
1425
|
+
readonly stroke: 10;
|
|
1426
|
+
readonly value: "text-2xl";
|
|
1427
|
+
};
|
|
1428
|
+
readonly lg: {
|
|
1429
|
+
readonly label: "text-sm";
|
|
1430
|
+
readonly px: 160;
|
|
1431
|
+
readonly stroke: 12;
|
|
1432
|
+
readonly value: "text-3xl";
|
|
1433
|
+
};
|
|
1434
|
+
};
|
|
1435
|
+
type ProgressCircleSize = keyof typeof progressCircleSizes;
|
|
1436
|
+
interface ProgressCircleProps extends Progress$1.Root.Props {
|
|
1437
|
+
size?: ProgressCircleSize;
|
|
1438
|
+
/** A short caption rendered above the value, inside the circle. */
|
|
1439
|
+
label?: React$1.ReactNode;
|
|
1440
|
+
/** Hide the centered percentage. */
|
|
1441
|
+
showValue?: boolean;
|
|
1442
|
+
}
|
|
1443
|
+
/** A circular progress ring with an optional centered value and label. */
|
|
1444
|
+
declare function ProgressCircle({ className, size, label, showValue, value, max, ...props }: ProgressCircleProps): React$1.JSX.Element;
|
|
1445
|
+
/** A half-circle (gauge) progress arc with an optional value and label. */
|
|
1446
|
+
declare function ProgressHalfCircle({ className, size, label, showValue, value, max, ...props }: ProgressCircleProps): React$1.JSX.Element;
|
|
1447
|
+
|
|
1448
|
+
declare const qrCodeVariants: (props?: ({
|
|
1449
|
+
size?: "lg" | "sm" | "md" | null | undefined;
|
|
1450
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1451
|
+
interface QRCodeProps extends Omit<React$1.ComponentProps<"div">, "children">, VariantProps<typeof qrCodeVariants> {
|
|
1452
|
+
/** The text or URL encoded in the QR code. */
|
|
1453
|
+
value: string;
|
|
1454
|
+
/**
|
|
1455
|
+
* Extra qr-code-styling options merged over the themed defaults — e.g. a
|
|
1456
|
+
* center image, custom dot colors or shapes. See the qr-code-styling docs.
|
|
1457
|
+
*/
|
|
1458
|
+
options?: Partial<Options$1>;
|
|
1459
|
+
}
|
|
1460
|
+
/**
|
|
1461
|
+
* A themeable QR code rendered with qr-code-styling. Dots follow the
|
|
1462
|
+
* foreground color (and re-tint when the theme flips) unless overridden
|
|
1463
|
+
* via `options`.
|
|
1464
|
+
*/
|
|
1465
|
+
declare function QRCode({ className, size, value, options, ...props }: QRCodeProps): React$1.JSX.Element;
|
|
1466
|
+
/**
|
|
1467
|
+
* An animated scan-line overlay for a QR code. Render it inside a `relative`
|
|
1468
|
+
* wrapper around the `<QRCode />`.
|
|
1469
|
+
*/
|
|
1470
|
+
declare function QRCodeGradientScan({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1471
|
+
|
|
1472
|
+
declare function RadioGroup({ className, ...props }: RadioGroup$1.Props): React$1.JSX.Element;
|
|
1473
|
+
declare const radioSizes: {
|
|
1474
|
+
readonly sm: {
|
|
1475
|
+
readonly box: "size-4.5 sm:size-4";
|
|
1476
|
+
readonly indicator: "size-4.5 sm:size-4";
|
|
1477
|
+
readonly dot: "before:size-2 sm:before:size-1.5";
|
|
1478
|
+
readonly check: "size-3.5 sm:size-3";
|
|
1479
|
+
};
|
|
1480
|
+
readonly md: {
|
|
1481
|
+
readonly box: "size-5";
|
|
1482
|
+
readonly indicator: "size-5";
|
|
1483
|
+
readonly dot: "before:size-2";
|
|
1484
|
+
readonly check: "size-4";
|
|
1485
|
+
};
|
|
1486
|
+
};
|
|
1487
|
+
interface RadioProps extends Radio$1.Root.Props {
|
|
1488
|
+
/** Visual size of the radio. Defaults to "sm". */
|
|
1489
|
+
size?: keyof typeof radioSizes;
|
|
1490
|
+
/** Indicator style: the classic dot or a checkbox-style tick. Defaults to "dot". */
|
|
1491
|
+
variant?: "dot" | "check";
|
|
1492
|
+
}
|
|
1493
|
+
declare function Radio({ className, size, variant, ...props }: RadioProps): React$1.JSX.Element;
|
|
1494
|
+
|
|
1495
|
+
declare function ResizablePanelGroup({ className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>): React$1.JSX.Element;
|
|
1496
|
+
declare function ResizablePanel({ ...props }: React$1.ComponentProps<typeof ResizablePrimitive.Panel>): React$1.JSX.Element;
|
|
1497
|
+
declare function ResizableHandle({ withHandle, className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
|
|
1498
|
+
withHandle?: boolean;
|
|
1499
|
+
}): React$1.JSX.Element;
|
|
1500
|
+
|
|
1501
|
+
declare function ScrollArea({ className, children, scrollFade, scrollbarGutter, wheelToHorizontal, smooth, viewportClassName, ...props }: ScrollArea$1.Root.Props & {
|
|
1502
|
+
scrollFade?: boolean;
|
|
1503
|
+
scrollbarGutter?: boolean;
|
|
1504
|
+
/**
|
|
1505
|
+
* Translate vertical mouse-wheel scrolling into (eased) horizontal scrolling
|
|
1506
|
+
* while the pointer is over the viewport. The page only scrolls once this
|
|
1507
|
+
* element reaches its horizontal start/end.
|
|
1508
|
+
*/
|
|
1509
|
+
wheelToHorizontal?: boolean;
|
|
1510
|
+
/** Eased, momentum-style vertical wheel scrolling. */
|
|
1511
|
+
smooth?: boolean;
|
|
1512
|
+
viewportClassName?: string;
|
|
1513
|
+
}): React$1.JSX.Element;
|
|
1514
|
+
declare function ScrollBar({ className, orientation, ...props }: ScrollArea$1.Scrollbar.Props): React$1.JSX.Element;
|
|
1515
|
+
|
|
1516
|
+
type AsChildProps<T extends keyof React.JSX.IntrinsicElements> = {
|
|
1517
|
+
asChild?: boolean;
|
|
1518
|
+
children?: React.ReactNode;
|
|
1519
|
+
} & React.PropsWithoutRef<React.JSX.IntrinsicElements[T]>;
|
|
1520
|
+
type OmitUnknown<T> = {
|
|
1521
|
+
[K in keyof T as unknown extends T[K] ? never : K]: T[K];
|
|
1522
|
+
};
|
|
1523
|
+
type TailOptional<P extends any[]> = P extends [...infer H, infer T] ? [...H] | [...H, T] : never[];
|
|
1524
|
+
type RequiredSubset<T, K extends keyof T> = Required<Pick<T, K>> & Omit<T, K>;
|
|
1525
|
+
type Tail<P extends any[], H extends any[]> = P extends H ? void : P extends [...H, infer T] ? T : void;
|
|
1526
|
+
type NotNullValues<T> = {
|
|
1527
|
+
[K in keyof T]: Exclude<T[K], null>;
|
|
1528
|
+
};
|
|
1529
|
+
|
|
1530
|
+
declare const LeftScroller: ({ className, asChild, ...props }: AsChildProps<"button">) => React$1.JSX.Element;
|
|
1531
|
+
declare const RightScroller: ({ className, asChild, ...props }: AsChildProps<"button">) => React$1.JSX.Element;
|
|
1532
|
+
|
|
1533
|
+
declare const sectionHeaderTitleVariants: (props?: ({
|
|
1534
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
1535
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1536
|
+
declare const sectionHeaderDescriptionVariants: (props?: ({
|
|
1537
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
1538
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1539
|
+
interface SectionHeaderProps extends Omit<React$1.ComponentProps<"div">, "title">, VariantProps<typeof sectionHeaderTitleVariants> {
|
|
1540
|
+
title?: React$1.ReactNode;
|
|
1541
|
+
description?: React$1.ReactNode;
|
|
1542
|
+
/** Right-aligned actions (buttons, counts, menus). */
|
|
1543
|
+
actions?: React$1.ReactNode;
|
|
1544
|
+
/** A leading node — e.g. a `<FeaturedIcon />` or a count badge. */
|
|
1545
|
+
icon?: React$1.ReactNode;
|
|
1546
|
+
/** Adds a bottom hairline + padding, so the header sits above a list/grid. */
|
|
1547
|
+
border?: boolean;
|
|
1548
|
+
}
|
|
1549
|
+
/**
|
|
1550
|
+
* A titled section heading: title + optional description on the left, optional
|
|
1551
|
+
* actions on the right, with an optional leading icon. One altitude below the
|
|
1552
|
+
* page-level `DashboardHeader` — use it to introduce a card body, a list, or a
|
|
1553
|
+
* settings group.
|
|
1554
|
+
*/
|
|
1555
|
+
declare function SectionHeader({ className, title, description, actions, icon, size, border, children, ...props }: SectionHeaderProps): React$1.JSX.Element;
|
|
1556
|
+
|
|
1557
|
+
interface SmoothWheelOptions {
|
|
1558
|
+
/** Turn the behaviour on/off (so it can be called unconditionally). */
|
|
1559
|
+
enabled?: boolean;
|
|
1560
|
+
/** Translate vertical wheel movement into horizontal scrolling. */
|
|
1561
|
+
horizontal?: boolean;
|
|
1562
|
+
/** Scales the wheel delta — lower feels slower/heavier. Default 0.8. */
|
|
1563
|
+
multiplier?: number;
|
|
1564
|
+
/** Lerp factor toward the target each frame (0–1). Lower = smoother. */
|
|
1565
|
+
ease?: number;
|
|
1566
|
+
}
|
|
1567
|
+
/**
|
|
1568
|
+
* Eased, momentum-style wheel scrolling for any scrollable element. Instead of
|
|
1569
|
+
* jumping `scrollTop`/`scrollLeft` by the raw wheel delta (which feels fast and
|
|
1570
|
+
* abrupt), it animates toward an accumulated target with `requestAnimationFrame`.
|
|
1571
|
+
*
|
|
1572
|
+
* It only smooths genuine mouse wheels. Trackpads already scroll smoothly with
|
|
1573
|
+
* OS-level inertia, so layering our own easing on top makes it fight the native
|
|
1574
|
+
* momentum — the container sticks, or snaps back to where the animation was
|
|
1575
|
+
* still heading. In the default vertical mode a trackpad therefore keeps native
|
|
1576
|
+
* behaviour; in horizontal mode we still translate a vertical mouse wheel into
|
|
1577
|
+
* horizontal scrolling (the whole point of the mode) but let a real horizontal
|
|
1578
|
+
* trackpad swipe scroll natively. Every time control returns to native
|
|
1579
|
+
* scrolling — trackpad, or an edge — the in-flight animation is cancelled and
|
|
1580
|
+
* the target resynced so it can never pull the position back.
|
|
1581
|
+
*/
|
|
1582
|
+
declare function useSmoothWheel(ref: React$1.RefObject<HTMLElement | null>, { enabled, horizontal, multiplier, ease, }?: SmoothWheelOptions): void;
|
|
1583
|
+
interface SmoothScrollProps extends React$1.ComponentProps<"div"> {
|
|
1584
|
+
/** Scroll horizontally (vertical wheel is translated to horizontal). */
|
|
1585
|
+
horizontal?: boolean;
|
|
1586
|
+
/** Scales the wheel delta — lower feels slower/heavier. Default 0.8. */
|
|
1587
|
+
multiplier?: number;
|
|
1588
|
+
/** Lerp factor toward the target each frame (0–1). Lower = smoother. */
|
|
1589
|
+
ease?: number;
|
|
1590
|
+
}
|
|
1591
|
+
/**
|
|
1592
|
+
* A scroll container with eased, momentum-style wheel scrolling. Drop any
|
|
1593
|
+
* overflowing content inside; pass `horizontal` for a row that scrolls
|
|
1594
|
+
* smoothly with a normal mouse wheel.
|
|
1595
|
+
*/
|
|
1596
|
+
declare function SmoothScroll({ className, children, horizontal, multiplier, ease, ...props }: SmoothScrollProps): React$1.JSX.Element;
|
|
1597
|
+
|
|
1598
|
+
declare const socialButtonVariants: (props?: ({
|
|
1599
|
+
iconOnly?: boolean | null | undefined;
|
|
1600
|
+
theme?: "color" | "gray" | "brand" | null | undefined;
|
|
1601
|
+
provider?: "apple" | "dribbble" | "facebook" | "figma" | "google" | "twitter" | null | undefined;
|
|
1602
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1603
|
+
interface SocialLogoProps extends React$1.ComponentProps<"svg"> {
|
|
1604
|
+
/** Render the provider's full-color logo instead of currentColor. */
|
|
1605
|
+
colored?: boolean;
|
|
1606
|
+
}
|
|
1607
|
+
declare function GoogleLogoIcon({ colored, ...props }: SocialLogoProps): React$1.JSX.Element;
|
|
1608
|
+
declare function FacebookLogoIcon({ colored, ...props }: SocialLogoProps): React$1.JSX.Element;
|
|
1609
|
+
declare function XLogoIcon({ colored: _colored, ...props }: SocialLogoProps): React$1.JSX.Element;
|
|
1610
|
+
declare function FigmaLogoIcon({ colored, ...props }: SocialLogoProps): React$1.JSX.Element;
|
|
1611
|
+
declare function DribbbleLogoIcon({ colored, ...props }: SocialLogoProps): React$1.JSX.Element;
|
|
1612
|
+
type SocialButtonProvider = "google" | "facebook" | "apple" | "twitter" | "figma" | "dribbble";
|
|
1613
|
+
interface SocialButtonProps extends useRender.ComponentProps<"button"> {
|
|
1614
|
+
/** Which provider to render: google, facebook, apple, twitter, figma or dribbble. */
|
|
1615
|
+
provider: SocialButtonProvider;
|
|
1616
|
+
/** brand (provider-filled), color (outline + full-color logo) or gray (tonal). */
|
|
1617
|
+
theme?: VariantProps<typeof socialButtonVariants>["theme"];
|
|
1618
|
+
/** Render a square button with the logo only. */
|
|
1619
|
+
iconOnly?: boolean;
|
|
1620
|
+
}
|
|
1621
|
+
declare function SocialButton({ className, provider, theme, iconOnly, render, children, ...props }: SocialButtonProps): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1622
|
+
|
|
1623
|
+
type Orientation = "horizontal" | "vertical";
|
|
1624
|
+
declare function Stepper({ value, orientation, className, ...props }: React$1.ComponentProps<"div"> & {
|
|
1625
|
+
/** 1-based index of the active step. */
|
|
1626
|
+
value?: number;
|
|
1627
|
+
orientation?: Orientation;
|
|
1628
|
+
}): React$1.JSX.Element;
|
|
1629
|
+
declare function StepperItem({ step, completed, className, ...props }: React$1.ComponentProps<"div"> & {
|
|
1630
|
+
step: number;
|
|
1631
|
+
completed?: boolean;
|
|
1632
|
+
}): React$1.JSX.Element;
|
|
1633
|
+
declare function StepperTrigger({ className, ...props }: React$1.ComponentProps<"button">): React$1.JSX.Element;
|
|
1634
|
+
declare function StepperIndicator({ className, children, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
1635
|
+
declare function StepperTitle({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1636
|
+
declare function StepperDescription({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1637
|
+
declare function StepperSeparator({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1638
|
+
|
|
1639
|
+
interface PipelineStage {
|
|
1640
|
+
/** The headline number for the stage. */
|
|
1641
|
+
value: React$1.ReactNode;
|
|
1642
|
+
/** The stage caption, e.g. "Target accounts". */
|
|
1643
|
+
label: React$1.ReactNode;
|
|
1644
|
+
/** Render the value in the brand/primary color (e.g. a final stage). */
|
|
1645
|
+
accent?: boolean;
|
|
1646
|
+
}
|
|
1647
|
+
interface PipelineProps extends React$1.ComponentProps<"div"> {
|
|
1648
|
+
/** Ordered funnel stages, left to right. */
|
|
1649
|
+
stages: PipelineStage[];
|
|
1650
|
+
/**
|
|
1651
|
+
* Step-to-step conversion markers. `conversions[i]` is the share of stage `i`
|
|
1652
|
+
* that advances to stage `i + 1`, and is shown as a pill right beside stage
|
|
1653
|
+
* `i`'s number (length = `stages.length - 1`). Typically a percentage string.
|
|
1654
|
+
*/
|
|
1655
|
+
conversions?: React$1.ReactNode[];
|
|
1656
|
+
}
|
|
1657
|
+
/**
|
|
1658
|
+
* A conversion funnel — equal-width stages laid left to right. Each stage
|
|
1659
|
+
* carries its own step-to-step conversion in a pill next to the number, and a
|
|
1660
|
+
* chevron points to the next stage, so the row reads as a flow rather than a
|
|
1661
|
+
* set of loose stats.
|
|
1662
|
+
*
|
|
1663
|
+
* The component is its own container query context: when it gets narrow (e.g.
|
|
1664
|
+
* beside a docked panel) the chevrons hide and the stages reflow into a
|
|
1665
|
+
* two-column grid, staying readable without squashing the numbers.
|
|
1666
|
+
*/
|
|
1667
|
+
declare function Pipeline({ stages, conversions, className, ...props }: PipelineProps): React$1.JSX.Element;
|
|
1668
|
+
/** The conversion pill sitting beside a stage number. */
|
|
1669
|
+
declare function PipelineConversion({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
1670
|
+
|
|
1671
|
+
interface SegmentedControlOption<T extends string> {
|
|
1672
|
+
value: T;
|
|
1673
|
+
label: React$1.ReactNode;
|
|
1674
|
+
}
|
|
1675
|
+
interface SegmentedControlProps<T extends string> {
|
|
1676
|
+
/** The currently-selected option value. */
|
|
1677
|
+
value: T;
|
|
1678
|
+
/** Called with the newly-selected value (never with an empty selection). */
|
|
1679
|
+
onValueChange: (value: T) => void;
|
|
1680
|
+
/** The mutually-exclusive options, left to right. */
|
|
1681
|
+
options: SegmentedControlOption<T>[];
|
|
1682
|
+
size?: "sm" | "default" | "lg";
|
|
1683
|
+
variant?: "default" | "outline";
|
|
1684
|
+
className?: string;
|
|
1685
|
+
}
|
|
1686
|
+
/**
|
|
1687
|
+
* A single-select segmented control — a compact row of mutually-exclusive
|
|
1688
|
+
* options (e.g. a time-range switch: Past month / Past 3 months / Overall).
|
|
1689
|
+
*
|
|
1690
|
+
* A thin, typed wrapper over {@link ToggleGroup} that keeps exactly one option
|
|
1691
|
+
* selected — the active segment can't be toggled off into an empty state — and
|
|
1692
|
+
* hides Base UI's array-value plumbing. Pass `options`, `value`, and
|
|
1693
|
+
* `onValueChange`; the value is a string union you control.
|
|
1694
|
+
*/
|
|
1695
|
+
declare function SegmentedControl<T extends string>({ value, onValueChange, options, size, variant, className, }: SegmentedControlProps<T>): React$1.JSX.Element;
|
|
1696
|
+
|
|
1697
|
+
declare const Select: typeof Select$1.Root;
|
|
1698
|
+
declare function SelectTrigger({ className, size, children, ...props }: Select$1.Trigger.Props & {
|
|
1699
|
+
size?: "sm" | "default" | "lg";
|
|
1700
|
+
}): React$1.JSX.Element;
|
|
1701
|
+
declare function SelectValue({ className, ...props }: Select$1.Value.Props): React$1.JSX.Element;
|
|
1702
|
+
declare function SelectPopup({ className, children, sideOffset, alignItemWithTrigger, ...props }: Select$1.Popup.Props & {
|
|
1703
|
+
sideOffset?: Select$1.Positioner.Props["sideOffset"];
|
|
1704
|
+
alignItemWithTrigger?: Select$1.Positioner.Props["alignItemWithTrigger"];
|
|
1705
|
+
}): React$1.JSX.Element;
|
|
1706
|
+
declare function SelectItem({ className, children, ...props }: Select$1.Item.Props): React$1.JSX.Element;
|
|
1707
|
+
declare function SelectSeparator({ className, ...props }: Select$1.Separator.Props): React$1.JSX.Element;
|
|
1708
|
+
declare function SelectGroup(props: Select$1.Group.Props): React$1.JSX.Element;
|
|
1709
|
+
declare function SelectGroupLabel(props: Select$1.GroupLabel.Props): React$1.JSX.Element;
|
|
1710
|
+
|
|
1711
|
+
declare const Sheet: typeof Dialog$1.Root;
|
|
1712
|
+
declare const SheetPortal: React$1.ForwardRefExoticComponent<Omit<_base_ui_react.DialogPortalProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1713
|
+
declare function SheetTrigger(props: Dialog$1.Trigger.Props): React$1.JSX.Element;
|
|
1714
|
+
declare function SheetClose(props: Dialog$1.Close.Props): React$1.JSX.Element;
|
|
1715
|
+
declare function SheetBackdrop({ className, ...props }: Dialog$1.Backdrop.Props): React$1.JSX.Element;
|
|
1716
|
+
declare const sheetViewportVariants: (props?: ({
|
|
1717
|
+
side?: "top" | "left" | "right" | "bottom" | null | undefined;
|
|
1718
|
+
variant?: "default" | "inset" | null | undefined;
|
|
1719
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1720
|
+
declare function SheetViewport({ className, side, variant, ...props }: Dialog$1.Viewport.Props & {
|
|
1721
|
+
side?: "right" | "left" | "top" | "bottom";
|
|
1722
|
+
variant?: "default" | "inset";
|
|
1723
|
+
}): React$1.JSX.Element;
|
|
1724
|
+
declare const sheetPopupVariants: (props?: ({
|
|
1725
|
+
side?: "top" | "left" | "right" | "bottom" | null | undefined;
|
|
1726
|
+
variant?: "default" | "inset" | null | undefined;
|
|
1727
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1728
|
+
declare function SheetPopup({ className, children, showCloseButton, side, variant, ...props }: Dialog$1.Popup.Props & {
|
|
1729
|
+
showCloseButton?: boolean;
|
|
1730
|
+
side?: "right" | "left" | "top" | "bottom";
|
|
1731
|
+
variant?: "default" | "inset";
|
|
1732
|
+
}): React$1.JSX.Element;
|
|
1733
|
+
declare function SheetHeader({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
|
|
1734
|
+
declare function SheetFooter({ className, variant, ...props }: React.ComponentProps<"div"> & {
|
|
1735
|
+
variant?: "default" | "bare";
|
|
1736
|
+
}): React$1.JSX.Element;
|
|
1737
|
+
declare function SheetTitle({ className, ...props }: Dialog$1.Title.Props): React$1.JSX.Element;
|
|
1738
|
+
declare function SheetDescription({ className, ...props }: Dialog$1.Description.Props): React$1.JSX.Element;
|
|
1739
|
+
declare function SheetPanel({ className, scrollFade, ...props }: React.ComponentProps<"div"> & {
|
|
1740
|
+
scrollFade?: boolean;
|
|
1741
|
+
}): React$1.JSX.Element;
|
|
1742
|
+
|
|
1743
|
+
type SidebarContextProps = {
|
|
1744
|
+
state: "expanded" | "collapsed";
|
|
1745
|
+
open: boolean;
|
|
1746
|
+
setOpen: (open: boolean) => void;
|
|
1747
|
+
openMobile: boolean;
|
|
1748
|
+
setOpenMobile: (open: boolean) => void;
|
|
1749
|
+
isMobile: boolean;
|
|
1750
|
+
toggleSidebar: () => void;
|
|
1751
|
+
};
|
|
1752
|
+
declare function useSidebar(): SidebarContextProps;
|
|
1753
|
+
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, persistKey, className, style, children, ...props }: React$1.ComponentProps<"div"> & {
|
|
1754
|
+
defaultOpen?: boolean;
|
|
1755
|
+
open?: boolean;
|
|
1756
|
+
onOpenChange?: (open: boolean) => void;
|
|
1757
|
+
/**
|
|
1758
|
+
* Remember the expanded/collapsed state in `localStorage` under this key and
|
|
1759
|
+
* restore it on the next load (desktop rail only; the mobile sheet is always
|
|
1760
|
+
* closed on load). Opt-in — omit to keep the sidebar un-persisted. Ignored in
|
|
1761
|
+
* controlled mode (when `open` is provided). The restore runs before first
|
|
1762
|
+
* paint, so there's no expand→collapse flash.
|
|
1763
|
+
*/
|
|
1764
|
+
persistKey?: string;
|
|
1765
|
+
}): React$1.JSX.Element;
|
|
1766
|
+
declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React$1.ComponentProps<"div"> & {
|
|
1767
|
+
side?: "left" | "right";
|
|
1768
|
+
variant?: "sidebar" | "floating" | "inset";
|
|
1769
|
+
collapsible?: "offcanvas" | "icon" | "none";
|
|
1770
|
+
}): React$1.JSX.Element;
|
|
1771
|
+
declare function SidebarTrigger({ className, onClick, ...props }: React$1.ComponentProps<typeof Button>): React$1.JSX.Element;
|
|
1772
|
+
declare function SidebarRail({ className, ...props }: React$1.ComponentProps<"button">): React$1.JSX.Element;
|
|
1773
|
+
declare function SidebarInset({ className, ...props }: React$1.ComponentProps<"main">): React$1.JSX.Element;
|
|
1774
|
+
declare function SidebarInput({ className, ...props }: React$1.ComponentProps<typeof Input>): React$1.JSX.Element;
|
|
1775
|
+
declare function SidebarHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1776
|
+
declare function SidebarFooter({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1777
|
+
declare function SidebarSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): React$1.JSX.Element;
|
|
1778
|
+
declare function SidebarContent({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1779
|
+
declare function SidebarGroup({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1780
|
+
declare function SidebarGroupLabel({ className, render, ...props }: useRender.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1781
|
+
declare function SidebarGroupAction({ className, render, ...props }: useRender.ComponentProps<"button">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1782
|
+
declare function SidebarGroupContent({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1783
|
+
declare function SidebarMenu({ className, ...props }: React$1.ComponentProps<"ul">): React$1.JSX.Element;
|
|
1784
|
+
declare function SidebarMenuItem({ className, ...props }: React$1.ComponentProps<"li">): React$1.JSX.Element;
|
|
1785
|
+
declare const sidebarMenuButtonVariants: (props?: ({
|
|
1786
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
1787
|
+
variant?: "default" | "outline" | null | undefined;
|
|
1788
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1789
|
+
declare function SidebarMenuButton({ isActive, variant, size, tooltip, className, render, ...props }: useRender.ComponentProps<"button"> & {
|
|
1790
|
+
isActive?: boolean;
|
|
1791
|
+
tooltip?: string | React$1.ComponentProps<typeof TooltipPopup>;
|
|
1792
|
+
} & VariantProps<typeof sidebarMenuButtonVariants>): React$1.JSX.Element;
|
|
1793
|
+
declare function SidebarMenuAction({ className, showOnHover, render, ...props }: useRender.ComponentProps<"button"> & {
|
|
1794
|
+
showOnHover?: boolean;
|
|
1795
|
+
}): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1796
|
+
declare function SidebarMenuBadge({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1797
|
+
declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React$1.ComponentProps<"div"> & {
|
|
1798
|
+
showIcon?: boolean;
|
|
1799
|
+
}): React$1.JSX.Element;
|
|
1800
|
+
declare function SidebarMenuSub({ className, ...props }: React$1.ComponentProps<"ul">): React$1.JSX.Element;
|
|
1801
|
+
declare function SidebarMenuSubItem({ className, ...props }: React$1.ComponentProps<"li">): React$1.JSX.Element;
|
|
1802
|
+
declare function SidebarMenuSubButton({ size, isActive, className, render, ...props }: useRender.ComponentProps<"a"> & {
|
|
1803
|
+
size?: "sm" | "md";
|
|
1804
|
+
isActive?: boolean;
|
|
1805
|
+
}): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1806
|
+
|
|
1807
|
+
declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
|
|
1808
|
+
|
|
1809
|
+
type SliderLabelPosition = "bottom" | "floating";
|
|
1810
|
+
declare function Slider({ className, children, defaultValue, value, min, max, labelPosition, formatLabel, ...props }: Slider$1.Root.Props & {
|
|
1811
|
+
/** Render each thumb's value beneath it, or in a floating bubble above it. */
|
|
1812
|
+
labelPosition?: SliderLabelPosition;
|
|
1813
|
+
formatLabel?: (value: number) => React$1.ReactNode;
|
|
1814
|
+
}): React$1.JSX.Element;
|
|
1815
|
+
declare function SliderValue({ className, ...props }: Slider$1.Value.Props): React$1.JSX.Element;
|
|
1816
|
+
|
|
1817
|
+
declare function Spinner({ className, ...props }: React.ComponentProps<typeof Loader2Icon>): React$1.JSX.Element;
|
|
1818
|
+
|
|
1819
|
+
declare function SpinnerOnDemand({ className, options, isLoading, icon, ...props }: React.ComponentProps<typeof Loader2Icon> & {
|
|
1820
|
+
isLoading: boolean;
|
|
1821
|
+
options?: Parameters<typeof useSpinDelay>[1];
|
|
1822
|
+
icon?: React.ReactNode;
|
|
1823
|
+
}): string | number | bigint | true | React$1.JSX.Element | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | null;
|
|
1824
|
+
|
|
1825
|
+
declare const statVariants: (props?: ({
|
|
1826
|
+
variant?: "default" | "card" | "muted" | null | undefined;
|
|
1827
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1828
|
+
interface StatProps extends useRender.ComponentProps<"div"> {
|
|
1829
|
+
variant?: VariantProps<typeof statVariants>["variant"];
|
|
1830
|
+
}
|
|
1831
|
+
/**
|
|
1832
|
+
* A single headline metric (KPI). Compose it from `StatLabel`, `StatValue`,
|
|
1833
|
+
* `StatDescription` and an optional `StatTrend`. Drop bare `Stat`s into a
|
|
1834
|
+
* `StatGroup` for a divided row, or use `variant="muted" | "card"` for a
|
|
1835
|
+
* standalone tile.
|
|
1836
|
+
*/
|
|
1837
|
+
declare function Stat({ className, variant, render, ...props }: StatProps): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1838
|
+
/** The metric's caption, e.g. "Active members". */
|
|
1839
|
+
declare function StatLabel({ className, render, ...props }: useRender.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1840
|
+
/**
|
|
1841
|
+
* The headline number. Sans + tabular so digits stay aligned across a row;
|
|
1842
|
+
* drop `font-sans` from `className` to render it in the serif display face.
|
|
1843
|
+
*/
|
|
1844
|
+
declare function StatValue({ className, render, ...props }: useRender.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1845
|
+
/** Supporting copy under the value, e.g. "vs. 1,204 last month". */
|
|
1846
|
+
declare function StatDescription({ className, render, ...props }: useRender.ComponentProps<"p">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1847
|
+
declare const statTrendVariants: (props?: ({
|
|
1848
|
+
direction?: "up" | "down" | "neutral" | null | undefined;
|
|
1849
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1850
|
+
interface StatTrendProps extends React$1.ComponentProps<"span"> {
|
|
1851
|
+
direction?: VariantProps<typeof statTrendVariants>["direction"];
|
|
1852
|
+
/** Show the directional arrow before the children. Defaults to `true`. */
|
|
1853
|
+
showIcon?: boolean;
|
|
1854
|
+
}
|
|
1855
|
+
/**
|
|
1856
|
+
* A small delta chip — e.g. "+12.5%". Picks an up/down arrow from `direction`
|
|
1857
|
+
* and colors itself success/destructive/neutral.
|
|
1858
|
+
*/
|
|
1859
|
+
declare function StatTrend({ className, direction, showIcon, children, ...props }: StatTrendProps): React$1.JSX.Element;
|
|
1860
|
+
/**
|
|
1861
|
+
* Lays a set of bare `Stat`s out as a divided row (stacked on narrow screens),
|
|
1862
|
+
* wrapped in a bordered card surface with even padding per metric.
|
|
1863
|
+
*/
|
|
1864
|
+
declare function StatGroup({ className, render, ...props }: useRender.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
1865
|
+
|
|
1866
|
+
type SwitchProps = Switch$1.Root.Props & {
|
|
1867
|
+
size?: "sm" | "md" | "lg";
|
|
1868
|
+
slim?: boolean;
|
|
1869
|
+
};
|
|
1870
|
+
declare function Switch({ className, size, slim, ...props }: SwitchProps): React$1.JSX.Element;
|
|
1871
|
+
|
|
1872
|
+
declare function Table({ className, ...props }: React$1.ComponentProps<"table">): React$1.JSX.Element;
|
|
1873
|
+
declare function TableHeader({ className, ...props }: React$1.ComponentProps<"thead">): React$1.JSX.Element;
|
|
1874
|
+
declare function TableBody({ className, ...props }: React$1.ComponentProps<"tbody">): React$1.JSX.Element;
|
|
1875
|
+
declare function TableFooter({ className, ...props }: React$1.ComponentProps<"tfoot">): React$1.JSX.Element;
|
|
1876
|
+
declare function TableRow({ className, ...props }: React$1.ComponentProps<"tr">): React$1.JSX.Element;
|
|
1877
|
+
declare function TableHead({ className, ...props }: React$1.ComponentProps<"th">): React$1.JSX.Element;
|
|
1878
|
+
declare function TableCell({ className, ...props }: React$1.ComponentProps<"td">): React$1.JSX.Element;
|
|
1879
|
+
declare function TableCaption({ className, ...props }: React$1.ComponentProps<"caption">): React$1.JSX.Element;
|
|
1880
|
+
|
|
1881
|
+
type TabsVariant = "default" | "underline";
|
|
1882
|
+
declare function Tabs({ className, ...props }: Tabs$1.Root.Props): React$1.JSX.Element;
|
|
1883
|
+
declare function TabsList({ variant, className, children, ...props }: Tabs$1.List.Props & {
|
|
1884
|
+
variant?: TabsVariant;
|
|
1885
|
+
}): React$1.JSX.Element;
|
|
1886
|
+
declare function TabsTab({ className, ...props }: Tabs$1.Tab.Props): React$1.JSX.Element;
|
|
1887
|
+
declare function TabsPanel({ className, ...props }: Tabs$1.Panel.Props): React$1.JSX.Element;
|
|
1888
|
+
|
|
1889
|
+
type TagSize = "sm" | "md" | "lg";
|
|
1890
|
+
type TagSelectionMode = "none" | "single" | "multiple";
|
|
1891
|
+
interface TagGroupProps {
|
|
1892
|
+
size?: TagSize;
|
|
1893
|
+
selectionMode?: TagSelectionMode;
|
|
1894
|
+
defaultSelectedKeys?: Iterable<string>;
|
|
1895
|
+
selectedKeys?: Set<string>;
|
|
1896
|
+
onSelectionChange?: (keys: Set<string>) => void;
|
|
1897
|
+
onRemove?: (key: string) => void;
|
|
1898
|
+
className?: string;
|
|
1899
|
+
children?: React$1.ReactNode;
|
|
1900
|
+
}
|
|
1901
|
+
declare function TagGroup({ size, selectionMode, defaultSelectedKeys, selectedKeys: controlledKeys, onSelectionChange, onRemove, className, children, }: TagGroupProps): React$1.JSX.Element;
|
|
1902
|
+
interface TagProps extends Omit<React$1.ComponentProps<"span">, "children"> {
|
|
1903
|
+
/** Unique value used for selection and removal tracking. */
|
|
1904
|
+
value?: string;
|
|
1905
|
+
size?: TagSize;
|
|
1906
|
+
/** Numeric count displayed as a small pill beside the label. */
|
|
1907
|
+
count?: number;
|
|
1908
|
+
/** Called when the remove button is clicked. Renders the X button. */
|
|
1909
|
+
onRemove?: () => void;
|
|
1910
|
+
disabled?: boolean;
|
|
1911
|
+
children?: React$1.ReactNode;
|
|
1912
|
+
}
|
|
1913
|
+
declare function Tag({ value, size: sizeProp, count, onRemove: onRemoveProp, disabled, children, className, ...props }: TagProps): React$1.JSX.Element;
|
|
1914
|
+
|
|
1915
|
+
declare function TargetCountdown({ target, children, }: {
|
|
1916
|
+
target: Date | number;
|
|
1917
|
+
children: (duration: Duration | null, isFirstRender: boolean) => React.ReactNode;
|
|
1918
|
+
}): React$1.ReactNode;
|
|
1919
|
+
|
|
1920
|
+
declare function Timeline({ className, ...props }: React$1.ComponentProps<"ol">): React$1.JSX.Element;
|
|
1921
|
+
declare function TimelineItem({ className, ...props }: React$1.ComponentProps<"li">): React$1.JSX.Element;
|
|
1922
|
+
/** The marker column: a dot and the connecting line beneath it. */
|
|
1923
|
+
declare function TimelineDot({ className, children, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1924
|
+
declare function TimelineContent({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1925
|
+
declare function TimelineTitle({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1926
|
+
declare function TimelineTime({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1927
|
+
declare function TimelineDescription({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
1928
|
+
|
|
1929
|
+
interface TextEditorProps {
|
|
1930
|
+
/** Compact (sm) or standard (md) size */
|
|
1931
|
+
size?: "sm" | "md";
|
|
1932
|
+
/** Placeholder when the editor is empty */
|
|
1933
|
+
placeholder?: string;
|
|
1934
|
+
/** Initial HTML content */
|
|
1935
|
+
content?: string;
|
|
1936
|
+
/** Called with the updated HTML on every change */
|
|
1937
|
+
onChange?: (html: string) => void;
|
|
1938
|
+
/** Show tooltips on every toolbar button */
|
|
1939
|
+
withTooltips?: boolean;
|
|
1940
|
+
/** Replace the fixed toolbar with a selection-triggered floating toolbar */
|
|
1941
|
+
floatingToolbar?: boolean;
|
|
1942
|
+
/** Extra className for the outer wrapper */
|
|
1943
|
+
className?: string;
|
|
1944
|
+
}
|
|
1945
|
+
declare function TextEditor({ size, placeholder, content, onChange, withTooltips, floatingToolbar, className, }: TextEditorProps): React$1.JSX.Element;
|
|
1946
|
+
|
|
1947
|
+
declare const toastManager: _base_ui_react.ToastManager;
|
|
1948
|
+
declare const anchoredToastManager: _base_ui_react.ToastManager;
|
|
1949
|
+
type ToastPosition = "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
|
|
1950
|
+
interface ToastProviderProps extends Toast.Provider.Props {
|
|
1951
|
+
position?: ToastPosition;
|
|
1952
|
+
}
|
|
1953
|
+
declare function ToastProvider({ children, position, ...props }: ToastProviderProps): React$1.JSX.Element;
|
|
1954
|
+
declare function AnchoredToastProvider({ children, ...props }: Toast.Provider.Props): React$1.JSX.Element;
|
|
1955
|
+
|
|
1956
|
+
declare const toggleVariants: (props?: ({
|
|
1957
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
1958
|
+
variant?: "default" | "outline" | null | undefined;
|
|
1959
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1960
|
+
declare function Toggle$1({ className, variant, size, ...props }: Toggle$2.Props & VariantProps<typeof toggleVariants>): React$1.JSX.Element;
|
|
1961
|
+
|
|
1962
|
+
declare function ToggleGroup({ className, variant, size, orientation, children, ...props }: ToggleGroup$1.Props & VariantProps<typeof toggleVariants>): React$1.JSX.Element;
|
|
1963
|
+
declare function Toggle({ className, children, variant, size, ...props }: Toggle$2.Props & VariantProps<typeof toggleVariants>): React$1.JSX.Element;
|
|
1964
|
+
declare function ToggleGroupSeparator({ className, orientation, ...props }: {
|
|
1965
|
+
className?: string;
|
|
1966
|
+
} & React$1.ComponentProps<typeof Separator>): React$1.JSX.Element;
|
|
1967
|
+
|
|
1968
|
+
declare function Toolbar({ className, ...props }: Toolbar$1.Root.Props): React$1.JSX.Element;
|
|
1969
|
+
declare function ToolbarButton({ className, ...props }: Toolbar$1.Button.Props): React$1.JSX.Element;
|
|
1970
|
+
declare function ToolbarLink({ className, ...props }: Toolbar$1.Link.Props): React$1.JSX.Element;
|
|
1971
|
+
declare function ToolbarInput({ className, ...props }: Toolbar$1.Input.Props): React$1.JSX.Element;
|
|
1972
|
+
declare function ToolbarGroup({ className, ...props }: Toolbar$1.Group.Props): React$1.JSX.Element;
|
|
1973
|
+
declare function ToolbarSeparator({ className, ...props }: Toolbar$1.Separator.Props): React$1.JSX.Element;
|
|
1974
|
+
|
|
1975
|
+
declare const VerticalScrollFader: React__default.ForwardRefExoticComponent<{
|
|
1976
|
+
asChild?: boolean;
|
|
1977
|
+
children?: React__default.ReactNode;
|
|
1978
|
+
} & Omit<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1979
|
+
declare const VerticalScrollFaderContent: React__default.ForwardRefExoticComponent<{
|
|
1980
|
+
asChild?: boolean;
|
|
1981
|
+
children?: React__default.ReactNode;
|
|
1982
|
+
} & Omit<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1983
|
+
faderSize?: string;
|
|
1984
|
+
showScrollbar?: boolean;
|
|
1985
|
+
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
1986
|
+
declare const VerticalScrollFaderTopScroller: React__default.ForwardRefExoticComponent<{
|
|
1987
|
+
asChild?: boolean;
|
|
1988
|
+
children?: React__default.ReactNode;
|
|
1989
|
+
} & Omit<React__default.DetailedHTMLProps<React__default.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1990
|
+
declare const VerticalScrollFaderBottomScroller: React__default.ForwardRefExoticComponent<{
|
|
1991
|
+
asChild?: boolean;
|
|
1992
|
+
children?: React__default.ReactNode;
|
|
1993
|
+
} & Omit<React__default.DetailedHTMLProps<React__default.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1994
|
+
|
|
1995
|
+
declare const videoPlayerVariants: (props?: ({
|
|
1996
|
+
size?: "lg" | "sm" | "md" | null | undefined;
|
|
1997
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1998
|
+
interface VideoPlayerProps extends Omit<React$1.ComponentProps<"div">, "title">, VariantProps<typeof videoPlayerVariants> {
|
|
1999
|
+
src: string;
|
|
2000
|
+
poster?: string;
|
|
2001
|
+
title?: string;
|
|
2002
|
+
autoPlay?: boolean;
|
|
2003
|
+
loop?: boolean;
|
|
2004
|
+
}
|
|
2005
|
+
declare function VideoPlayer({ className, size, src, poster, title, autoPlay, loop, ...props }: VideoPlayerProps): React$1.JSX.Element;
|
|
2006
|
+
|
|
2007
|
+
interface DashboardHeaderProps extends Omit<AsChildProps<"div">, "title"> {
|
|
2008
|
+
title?: React.ReactNode;
|
|
2009
|
+
subtitle?: React.ReactNode;
|
|
2010
|
+
rightActions?: React.ReactNode;
|
|
2011
|
+
breadcrumb?: React.ReactNode;
|
|
2012
|
+
}
|
|
2013
|
+
declare function DashboardHeader({ title, subtitle, className, children, asChild, rightActions, breadcrumb, ...props }: DashboardHeaderProps): React$1.JSX.Element;
|
|
2014
|
+
|
|
2015
|
+
interface DashboardPanelProps extends AsChildProps<"div"> {
|
|
2016
|
+
header?: React.ReactNode;
|
|
2017
|
+
}
|
|
2018
|
+
declare function DashboardPanel({ className, asChild, children, header, ...props }: DashboardPanelProps): React$1.JSX.Element;
|
|
2019
|
+
|
|
2020
|
+
interface DashboardTopbarUser {
|
|
2021
|
+
/** Display name, shown in the account menu and used as the avatar alt text. */
|
|
2022
|
+
name: string;
|
|
2023
|
+
/** Optional email, shown under the name in the account menu. */
|
|
2024
|
+
email?: string;
|
|
2025
|
+
/** Optional avatar image URL. Falls back to initials when omitted. */
|
|
2026
|
+
avatarSrc?: string;
|
|
2027
|
+
/** Initials shown when there is no avatar image. */
|
|
2028
|
+
initials?: string;
|
|
2029
|
+
}
|
|
2030
|
+
interface DashboardTopbarProps {
|
|
2031
|
+
/** The signed-in user rendered in the account menu + avatar trigger. */
|
|
2032
|
+
user: DashboardTopbarUser;
|
|
2033
|
+
/** Opens the consumer's command palette. The search field is a button. */
|
|
2034
|
+
onSearch?: () => void;
|
|
2035
|
+
/** Placeholder text inside the search affordance. Defaults to "Search". */
|
|
2036
|
+
searchPlaceholder?: string;
|
|
2037
|
+
/**
|
|
2038
|
+
* Trailing shortcut hint inside the search affordance. Defaults to
|
|
2039
|
+
* `<KbdGroup><Kbd>⌘</Kbd><Kbd>K</Kbd></KbdGroup>`. Pass `null` to hide it.
|
|
2040
|
+
*/
|
|
2041
|
+
searchShortcut?: React$1.ReactNode;
|
|
2042
|
+
/** Account-menu "Settings" item handler. The item is omitted when undefined. */
|
|
2043
|
+
onSettings?: () => void;
|
|
2044
|
+
/** Account-menu "Log out" item handler. The item is omitted when undefined. */
|
|
2045
|
+
onLogout?: () => void;
|
|
2046
|
+
/** mailto/url for the support icon button. The button renders only when set. */
|
|
2047
|
+
supportHref?: string;
|
|
2048
|
+
/** Whether to render the animated light/dark theme toggle. Defaults to `true`. */
|
|
2049
|
+
showThemeToggle?: boolean;
|
|
2050
|
+
/** Optional extra controls rendered left of the theme toggle. */
|
|
2051
|
+
actions?: React$1.ReactNode;
|
|
2052
|
+
className?: string;
|
|
2053
|
+
}
|
|
2054
|
+
/**
|
|
2055
|
+
* Dashboard top bar shared by the host and sponsor dashboards.
|
|
2056
|
+
*
|
|
2057
|
+
* Zones: mobile/desktop sidebar trigger · a global search field styled as an
|
|
2058
|
+
* input that calls `onSearch` (the consumer owns the command palette + ⌘K key
|
|
2059
|
+
* handler) · optional extra `actions` · the animated theme toggle · an optional
|
|
2060
|
+
* support link · the account menu (Settings / Log out). The inner row shares a
|
|
2061
|
+
* `max-w-[1280px]` wrapper so the search field and avatar line up with the page.
|
|
2062
|
+
*/
|
|
2063
|
+
declare function DashboardTopbar({ user, onSearch, searchPlaceholder, searchShortcut, onSettings, onLogout, supportHref, showThemeToggle, actions, className, }: DashboardTopbarProps): React$1.JSX.Element;
|
|
2064
|
+
|
|
2065
|
+
interface ValueObject {
|
|
2066
|
+
[themeName: string]: string;
|
|
2067
|
+
}
|
|
2068
|
+
interface UseThemeProps {
|
|
2069
|
+
/** List of all available theme names */
|
|
2070
|
+
themes: string[];
|
|
2071
|
+
/** Forced theme name for the current page */
|
|
2072
|
+
forcedTheme?: string | undefined;
|
|
2073
|
+
/** Update the theme */
|
|
2074
|
+
setTheme: React.Dispatch<React.SetStateAction<string>>;
|
|
2075
|
+
/** Active theme name */
|
|
2076
|
+
theme?: string | undefined;
|
|
2077
|
+
/** If `enableSystem` is true and the active theme is "system", this returns whether the system preference resolved to "dark" or "light". Otherwise, identical to `theme` */
|
|
2078
|
+
resolvedTheme?: string | undefined;
|
|
2079
|
+
/** If enableSystem is true, returns the System theme preference ("dark" or "light"), regardless what the active theme is */
|
|
2080
|
+
systemTheme?: "dark" | "light" | undefined;
|
|
2081
|
+
}
|
|
2082
|
+
type Attribute = `data-${string}` | "class";
|
|
2083
|
+
interface ThemeProviderProps extends React.PropsWithChildren {
|
|
2084
|
+
/** List of all available theme names */
|
|
2085
|
+
themes?: string[] | undefined;
|
|
2086
|
+
/** Forced theme name for the current page */
|
|
2087
|
+
forcedTheme?: string | undefined;
|
|
2088
|
+
/** Whether to switch between dark and light themes based on prefers-color-scheme */
|
|
2089
|
+
enableSystem?: boolean | undefined;
|
|
2090
|
+
/** Disable all CSS transitions when switching themes */
|
|
2091
|
+
disableTransitionOnChange?: boolean | undefined;
|
|
2092
|
+
/** Whether to indicate to browsers which color scheme is used (dark or light) for built-in UI like inputs and buttons */
|
|
2093
|
+
enableColorScheme?: boolean | undefined;
|
|
2094
|
+
/** Key used to store theme setting in localStorage */
|
|
2095
|
+
storageKey?: string | undefined;
|
|
2096
|
+
/** Default theme name (for v0.0.12 and lower the default was light). If `enableSystem` is false, the default theme is light */
|
|
2097
|
+
defaultTheme?: string | undefined;
|
|
2098
|
+
/** HTML attribute modified based on the active theme. Accepts `class`, `data-*` (meaning any data attribute, `data-mode`, `data-color`, etc.), or an array which could include both */
|
|
2099
|
+
attribute?: Attribute | Attribute[] | undefined;
|
|
2100
|
+
/** Mapping of theme name to HTML attribute value. Object where key is the theme name and value is the attribute value */
|
|
2101
|
+
value?: ValueObject | undefined;
|
|
2102
|
+
/** Nonce string to pass to the inline script for CSP headers */
|
|
2103
|
+
nonce?: string | undefined;
|
|
2104
|
+
}
|
|
2105
|
+
declare const useTheme: () => UseThemeProps;
|
|
2106
|
+
declare const ThemeProvider: (props: ThemeProviderProps) => React.ReactNode;
|
|
2107
|
+
declare const ThemeContextOverride: ({ children, value, }: {
|
|
2108
|
+
children: React.ReactNode;
|
|
2109
|
+
value: string;
|
|
2110
|
+
}) => string | number | bigint | boolean | React$1.JSX.Element | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | null | undefined;
|
|
2111
|
+
declare const script: (...args: any[]) => void;
|
|
2112
|
+
|
|
2113
|
+
interface AvatarUploadBaseProps extends Omit<React.ComponentProps<typeof Avatar>, "onDrop" | "children"> {
|
|
2114
|
+
onDrop: (file: File) => void;
|
|
2115
|
+
onDelete?: () => void;
|
|
2116
|
+
disabled?: boolean;
|
|
2117
|
+
loading?: boolean;
|
|
2118
|
+
progress: number;
|
|
2119
|
+
imageUrl: string | undefined;
|
|
2120
|
+
initials: React.ReactNode;
|
|
2121
|
+
alt: string;
|
|
2122
|
+
avatarClassName?: string;
|
|
2123
|
+
mode?: "image" | "image&video";
|
|
2124
|
+
}
|
|
2125
|
+
declare function AvatarUploadBase({ onDrop, onDelete, disabled, loading, progress, imageUrl, initials, alt, className, avatarClassName, mode, ...props }: AvatarUploadBaseProps): React$1.JSX.Element;
|
|
2126
|
+
|
|
2127
|
+
interface ImageUploadBaseProps extends Omit<React.ComponentProps<"div">, "onDrop"> {
|
|
2128
|
+
onDrop: (file: File) => void;
|
|
2129
|
+
onDelete?: () => void;
|
|
2130
|
+
disabled?: boolean;
|
|
2131
|
+
loading?: boolean;
|
|
2132
|
+
progress: number;
|
|
2133
|
+
imageUrl: string | null;
|
|
2134
|
+
alt: string;
|
|
2135
|
+
}
|
|
2136
|
+
declare function ImageUploadBase({ onDrop, onDelete, disabled, loading, progress, imageUrl, alt, className, ...props }: ImageUploadBaseProps): React$1.JSX.Element;
|
|
2137
|
+
|
|
2138
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
2139
|
+
|
|
2140
|
+
declare function useCallbackRef<T extends (...args: Array<any>) => any>(fn: T): T;
|
|
2141
|
+
|
|
2142
|
+
declare function useFirstRender(): boolean;
|
|
2143
|
+
|
|
2144
|
+
declare function useHover<T extends Element>({ mounted, }?: {
|
|
2145
|
+
mounted?: boolean;
|
|
2146
|
+
}): readonly [(node: T | null) => void, boolean];
|
|
2147
|
+
|
|
2148
|
+
declare function useIsTabActive(): boolean;
|
|
2149
|
+
|
|
2150
|
+
declare function useSubscribeBreakpoints(): void;
|
|
2151
|
+
interface UseMediaQueryOptions {
|
|
2152
|
+
ssr?: boolean;
|
|
2153
|
+
defaultSSRValue?: boolean;
|
|
2154
|
+
}
|
|
2155
|
+
declare function useMediaQuery(query: string, { ssr, defaultSSRValue }?: UseMediaQueryOptions): boolean;
|
|
2156
|
+
declare function useIsSm({ ssr, defaultSSRValue, }?: UseMediaQueryOptions): boolean;
|
|
2157
|
+
declare function useIsMd({ ssr, defaultSSRValue, }?: UseMediaQueryOptions): boolean;
|
|
2158
|
+
declare function useIsLg({ ssr, defaultSSRValue, }?: UseMediaQueryOptions): boolean;
|
|
2159
|
+
declare function useIsXl({ ssr, defaultSSRValue, }?: UseMediaQueryOptions): boolean;
|
|
2160
|
+
declare function useIs2xl({ ssr, defaultSSRValue, }?: UseMediaQueryOptions): boolean;
|
|
2161
|
+
|
|
2162
|
+
export { Accordion, AccordionPanel as AccordionContent, AccordionItem, AccordionPanel, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogBackdrop, AlertDialogClose, AlertDialogPopup as AlertDialogContent, AlertDialogCreateHandle, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogBackdrop as AlertDialogOverlay, AlertDialogPopup, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertDialogViewport, AlertTitle, AnchoredToastProvider, AnimatedCounter, type AnimatedCounterProps, AnimatedThemeToggler, AppGalleryLogoIcon, AppStoreButton, type AppStoreButtonStore, AppleLogoIcon, type AsChildProps, AspectRatio, type Attribute, AuroraOrb, type AuroraOrbProps, AuroraText, type AuroraTextProps, Autocomplete, AutocompleteClear, AutocompleteCollection, AutocompleteEmpty, AutocompleteGroup, AutocompleteGroupLabel, AutocompleteInput, AutocompleteItem, AutocompleteList, AutocompletePopup, AutocompleteRow, AutocompleteSeparator, AutocompleteStatus, AutocompleteTrigger, AutocompleteValue, Avatar, AvatarAddButton, AvatarCompanyIcon, AvatarFallback, AvatarGroup, AvatarImage, AvatarLabelGroup, AvatarProfilePhoto, AvatarUploadBase, type AvatarUploadBaseProps, Badge, BadgeAvatar, BadgeCloseButton, BadgeDot, BadgeFlag, BadgeGroup, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Group as ButtonGroup, GroupSeparator as ButtonGroupSeparator, GroupText as ButtonGroupText, ButtonProps, CONFETTI_COLORS, Calendar, Card, CardAction, CardPanel as CardContent, CardDescription, CardFooter, CardFrame, CardFrameDescription, CardFrameFooter, CardFrameHeader, CardFrameTitle, CardHeader, CardPanel, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Chat, ChatDivider, type ChatDividerProps, type ChatDividerVariant, ChatEmptyState, ChatEmptyStateDescription, ChatEmptyStateIcon, ChatEmptyStateTitle, ChatHeader, ChatHeaderActions, ChatHeaderAvatar, ChatHeaderTitle, ChatInput, type ChatInputProps, ChatMessage, ChatMessageBubble, type ChatMessageBubbleProps, type ChatMessageProps, ChatMessages, ChatSuggestion, type ChatSuggestionProps, ChatSuggestions, ChatToolCard, ChatToolCardActions, ChatToolCardHeader, ChatToolChip, ChatTypingIndicator, Checkbox, CheckboxGroup, Collapsible, CollapsiblePanel as CollapsibleContent, CollapsiblePanel, CollapsibleTrigger, ColorAlphaSlider, ColorArea, ColorEyeDropper, ColorHueSlider, ColorPicker, ColorPickerPanel, ColorPickerProvider, ColorPreview, ColorSavedColors, ColorSwatch, ColorThumb, ColorValueInput, Combobox, ComboboxChip, ComboboxChips, ComboboxClear, ComboboxCollection, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxList, ComboboxPopup, ComboboxRow, ComboboxSeparator, ComboboxStatus, ComboboxTrigger, ComboboxValue, Command, CommandCollection, CommandCreateHandle, CommandDialog, CommandDialogPopup, CommandDialogTrigger, CommandEmpty, CommandFooter, CommandGroup, CommandGroupLabel, CommandInput, CommandItem, CommandList, CommandPanel, CommandSeparator, CommandShortcut, Confetti, ConfettiButton, type ConfettiButtonProps, type ConfettiProps, type ConfettiRef, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContextMeter, type ContextMeterProps, type ContextMeterState, CreditCard, type CreditCardProps, type CreditCardType, DashboardHeader, DashboardPanel, DashboardTopbar, type DashboardTopbarProps, type DashboardTopbarUser, DataTablePaged, type DataTablePagedColumn, type DataTablePagedProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, Dialog, DialogBackdrop, DialogClose, DialogPopup as DialogContent, DialogCreateHandle, DialogDescription, DialogFooter, DialogHeader, DialogBackdrop as DialogOverlay, DialogPanel, DialogPopup, DialogPortal, DialogTitle, DialogTrigger, DialogViewport, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DribbbleLogoIcon, Menu as DropdownMenu, MenuCheckboxItem as DropdownMenuCheckboxItem, MenuPopup as DropdownMenuContent, MenuCreateHandle as DropdownMenuCreateHandle, MenuGroup as DropdownMenuGroup, MenuItem as DropdownMenuItem, MenuGroupLabel as DropdownMenuLabel, MenuPortal as DropdownMenuPortal, MenuRadioGroup as DropdownMenuRadioGroup, MenuRadioItem as DropdownMenuRadioItem, MenuSeparator as DropdownMenuSeparator, MenuShortcut as DropdownMenuShortcut, MenuSub as DropdownMenuSub, MenuSubPopup as DropdownMenuSubContent, MenuSubTrigger as DropdownMenuSubTrigger, MenuTrigger as DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, ErrorOrEmptyState, Fab, type FabProps, FacebookLogoIcon, FeaturedIcon, Field, FieldControl, FieldDescription, FieldError, FieldGroup, FieldItem, FieldLabel, FieldValidity, Fieldset, FieldsetLegend, FigmaLogoIcon, ForbiddenErrorState, Form, Frame, FrameDescription, FrameFooter, FrameHeader, FramePanel, FrameTitle, GalaxyStoreLogoIcon, GeneralErrorState, GoogleLogoIcon, GooglePlayLogoIcon, Group, GroupSeparator, GroupText, HelpTip, type HelpTipProps, HorizontalScrollFader, HorizontalScrollFaderContent, HorizontalScrollFaderLeftScroller, HorizontalScrollFaderRightScroller, PreviewCard as HoverCard, PreviewCardPopup as HoverCardContent, PreviewCardTrigger as HoverCardTrigger, ImageUploadBase, type ImageUploadBaseProps, Input, InputGroup, InputGroupAddon, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InputProps, InternalServerErrorState, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, LeftScroller, Markdown, type MarkdownProps, Menu, MenuCheckboxItem, MenuCreateHandle, MenuGroup, MenuGroupLabel, MenuItem, MenuPopup, MenuPortal, MenuRadioGroup, MenuRadioItem, MenuSeparator, MenuShortcut, MenuSub, MenuSubPopup, MenuSubTrigger, MenuTrigger, Menubar, MenuCheckboxItem as MenubarCheckboxItem, MenubarContent, MenuGroup as MenubarGroup, MenuItem as MenubarItem, MenuGroupLabel as MenubarLabel, MenubarMenu, MenuPortal as MenubarPortal, MenuRadioGroup as MenubarRadioGroup, MenuRadioItem as MenubarRadioItem, MenuSeparator as MenubarSeparator, MenuShortcut as MenubarShortcut, MenuSub as MenubarSub, MenuSubPopup as MenubarSubContent, MenuSubTrigger as MenubarSubTrigger, MenubarTrigger, Meter, MeterIndicator, MeterLabel, MeterTrack, MeterValue, MultiSelect, type MultiSelectItem, type MultiSelectProps, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NotFoundErrorState, type NotNullValues, NumberField, NumberFieldDecrement, NumberFieldGroup, NumberFieldIncrement, NumberFieldInput, NumberFieldScrubArea, OfflineErrorState, type OmitUnknown, Pagination, PaginationContent, PaginationControls, PaginationEllipsis, PaginationItem, PaginationLink, type PaginationLinkProps, PaginationNext, PaginationPrevious, Pipeline, PipelineConversion, type PipelineProps, type PipelineStage, Popover, PopoverClose, PopoverPopup as PopoverContent, PopoverCreateHandle, PopoverDescription, PopoverPopup, PopoverTitle, PopoverTrigger, PreviewCard, PreviewCardPopup, PreviewCardTrigger, Progress, ProgressCircle, ProgressFloatingValue, ProgressHalfCircle, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, QRCode, QRCodeGradientScan, Radio, RadioGroup, Radio as RadioGroupItem, type RequiredSubset, ResizableHandle, ResizablePanel, ResizablePanelGroup, RightScroller, ScrollArea, ScrollBar, SectionHeader, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectPopup as SelectContent, SelectGroup, SelectGroupLabel, SelectItem, SelectPopup, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetBackdrop, SheetClose, SheetPopup as SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetBackdrop as SheetOverlay, SheetPanel, SheetPopup, SheetPortal, SheetTitle, SheetTrigger, SheetViewport, type SideCannonsOptions, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, SliderValue, SmoothScroll, type SmoothScrollProps, type SmoothWheelOptions, SocialButton, type SocialButtonProvider, Spinner, SpinnerOnDemand, Stat, StatDescription, StatGroup, StatLabel, StatTrend, StatValue, Stepper, StepperDescription, StepperIndicator, StepperItem, StepperSeparator, StepperTitle, StepperTrigger, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsPanel as TabsContent, TabsList, TabsPanel, TabsTab, TabsTab as TabsTrigger, Tag, TagGroup, type TagGroupProps, type TagProps, type TagSelectionMode, type TagSize, type Tail, type TailOptional, TargetCountdown, TextEditor, type TextEditorProps, Textarea, type TextareaProps, ThemeContextOverride, ThemeProvider, type ThemeProviderProps, type ThemeTogglerVariant, TimePicker, type TimePickerProps, type TimeValue, Timeline, TimelineContent, TimelineDescription, TimelineDot, TimelineItem, TimelineTime, TimelineTitle, type ToastPosition, ToastProvider, Toggle$1 as Toggle, ToggleGroup, Toggle as ToggleGroupItem, ToggleGroupSeparator, Toolbar, ToolbarButton, ToolbarGroup, ToolbarInput, ToolbarLink, ToolbarSeparator, Tooltip, TooltipPopup as TooltipContent, TooltipCreateHandle, TooltipDescription, TooltipPopup, TooltipProvider, TooltipTitle, TooltipTrigger, UnauthorizedErrorState, type UseThemeProps, VerticalScrollFader, VerticalScrollFaderBottomScroller, VerticalScrollFaderContent, VerticalScrollFaderTopScroller, VideoPlayer, XLogoIcon, anchoredToastManager, appStoreButtonVariants, avatarGroupVariants, avatarVariants, badgeGroupVariants, badgeVariants, chatMessageBubbleVariants, chatMessageVariants, cn, fabVariants, featuredIconVariants, groupVariants, itemVariants, navigationMenuTriggerStyle, qrCodeVariants, script, sectionHeaderDescriptionVariants, sectionHeaderTitleVariants, sheetPopupVariants, sheetViewportVariants, sideCannons, socialButtonVariants, statTrendVariants, statVariants, toastManager, toggleVariants, useAutocompleteFilter, useCallbackRef, useCarousel, useColorPicker, useComboboxFilter, useConfetti, useFirstRender, useHover, useIs2xl, useIsLg, useIsMd, useIsSm, useIsTabActive, useIsXl, useMediaQuery, useSidebar, useSmoothWheel, useSubscribeBreakpoints, useTheme, videoPlayerVariants };
|