@atom63/ui-react 0.2.0-beta.11 → 0.2.0-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/dist/button-DMnQeAEL.d.ts +22 -0
- package/dist/calendar/index.d.ts +2 -1
- package/dist/calendar/index.js +16 -1
- package/dist/calendar/index.js.map +1 -1
- package/dist/{chunk-J77BAGTA.js → chunk-IFBF2IA3.js} +17 -6
- package/dist/chunk-IFBF2IA3.js.map +1 -0
- package/dist/{chunk-NBHGMMQN.js → chunk-R7IQ3IL5.js} +26 -4
- package/dist/chunk-R7IQ3IL5.js.map +1 -0
- package/dist/{chunk-GDUMA6FI.js → chunk-RLF45GBS.js} +443 -275
- package/dist/chunk-RLF45GBS.js.map +1 -0
- package/dist/{chunk-R67OZVA2.js → chunk-WL27K6MO.js} +3 -2
- package/dist/chunk-WL27K6MO.js.map +1 -0
- package/dist/{chunk-X5L5DEUZ.js → chunk-ZEY2VU4O.js} +3 -3
- package/dist/{chunk-X5L5DEUZ.js.map → chunk-ZEY2VU4O.js.map} +1 -1
- package/dist/{destination-link-DMLeR-oF.d.ts → destination-link-BHVQyWry.d.ts} +2 -1
- package/dist/{index-BDzW8upQ.d.ts → index-CbgpSG4j.d.ts} +47 -8
- package/dist/index.d.ts +513 -141
- package/dist/index.js +1126 -235
- package/dist/index.js.map +1 -1
- package/dist/layout/index.d.ts +73 -1
- package/dist/layout/index.js +78 -2
- package/dist/layout/index.js.map +1 -1
- package/dist/media/index.d.ts +5 -4
- package/dist/media/index.js +35 -7
- package/dist/media/index.js.map +1 -1
- package/dist/media/media-lightbox/parts/index.d.ts +5 -4
- package/dist/media/media-lightbox/parts/index.js +2 -2
- package/dist/preview/index.d.ts +2 -3
- package/dist/preview/index.js +2 -2
- package/dist/theme/index.d.ts +3 -2
- package/dist/theme/index.js +2 -2
- package/dist/{types-Dxe5IzjE.d.ts → types-KQLxlHQZ.d.ts} +21 -0
- package/package.json +36 -26
- package/src/components/alert/alert.css +21 -18
- package/src/components/amount/amount.css +60 -0
- package/src/components/app-view/app-view.css +232 -0
- package/src/components/autocomplete/autocomplete.css +21 -5
- package/src/components/avatar/avatar.css +64 -8
- package/src/components/badge/badge.css +65 -0
- package/src/components/button/button.css +160 -31
- package/src/components/calendar/calendar.css +7 -3
- package/src/components/card/card.css +26 -10
- package/src/components/carousel/carousel.css +90 -5
- package/src/components/chat-composer/chat-composer.css +69 -0
- package/src/components/chat-message/chat-message.css +93 -0
- package/src/components/chat-steps/chat-steps.css +132 -0
- package/src/components/chat-typing-indicator/chat-typing-indicator.css +83 -0
- package/src/components/checkbox/checkbox.css +14 -1
- package/src/components/command/command.css +35 -5
- package/src/components/connected-panel/connected-panel.css +4 -19
- package/src/components/destination-link/destination-link.css +28 -0
- package/src/components/dialog/dialog.css +2 -2
- package/src/components/drawer/drawer.css +15 -2
- package/src/components/empty/empty.css +2 -4
- package/src/components/field/field.css +14 -9
- package/src/components/form/form.css +1 -1
- package/src/components/frame/frame.css +1 -1
- package/src/components/input/input.css +72 -4
- package/src/components/input-otp/input-otp.css +2 -2
- package/src/components/item/item.css +72 -2
- package/src/components/load-more-trigger/load-more-trigger.css +17 -0
- package/src/components/marquee/marquee.css +25 -3
- package/src/components/menu/menu.css +36 -1
- package/src/components/message/message.css +170 -0
- package/src/components/navigation-menu/navigation-menu.css +22 -4
- package/src/components/panel-setting-button/panel-setting-button.css +14 -0
- package/src/components/progress/progress.css +31 -1
- package/src/components/radio/radio.css +32 -5
- package/src/components/rating/rating.css +120 -0
- package/src/components/resizable/resizable.css +1 -1
- package/src/components/scroll-area/scroll-area.css +1 -1
- package/src/components/scrollable-list/scrollable-list.css +10 -5
- package/src/components/segmented-control/segmented-control.css +14 -0
- package/src/components/select/select.css +11 -3
- package/src/components/separator/separator.css +3 -1
- package/src/components/sheet/sheet.css +8 -4
- package/src/components/sidebar/sidebar.css +54 -24
- package/src/components/sidebar-nav-tree/sidebar-nav-tree.css +38 -5
- package/src/components/slider/slider.css +11 -6
- package/src/components/switch/switch.css +30 -11
- package/src/components/table/table.css +118 -10
- package/src/components/tabs/tabs.css +10 -0
- package/src/components/textarea/textarea.css +3 -3
- package/src/components/toaster/toaster.css +32 -0
- package/src/components/toggle/toggle.css +20 -8
- package/src/components/toggle-group/toggle-group.css +79 -1
- package/src/media/media-lightbox/media-lightbox.css +32 -2
- package/src/styles/recipes.css +10 -0
- package/src/styles/reset.css +13 -2
- package/src/styles/utilities.css +41 -28
- package/dist/button-CfLIHg-R.d.ts +0 -13
- package/dist/chunk-GDUMA6FI.js.map +0 -1
- package/dist/chunk-J77BAGTA.js.map +0 -1
- package/dist/chunk-NBHGMMQN.js.map +0 -1
- package/dist/chunk-R67OZVA2.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { Accordion as Accordion$1 } from '@base-ui/react/accordion';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
3
|
import React__default, { RefObject, ReactElement, ReactNode, ComponentPropsWithoutRef, ComponentProps } from 'react';
|
|
4
|
-
import { AlertVariant, AvatarSize, BadgeVariant, BadgeSize, SeparatorVariant, ButtonGroupOrientation, ButtonGroupSize, CheckboxSize, ConnectedPanelAlign, CopyButtonSize, CopyButtonVariant, DrawerDirection, DrawerFooterVariant, EmptyMediaVariant, FeedbackStateSize, FeedbackStateKind, FieldOrientation, FieldLegendVariant, FrameVariant, FrameTray, FramePanelSurface, FrameBorder,
|
|
5
|
-
export { AvatarSize, Density, DesignLanguage, DestinationKind, DialogFooterVariant, DialogMobilePlacement, DialogSize, EmptyMediaVariant, FeedbackStateKind, FeedbackStateSize, FieldOrientation, InputGroupAlign, LoadMoreTriggerState, LoadMoreTriggerVariant, Mode, PointerInput, Theme, UIEnvironment } from '@atom63/ui-foundation';
|
|
6
|
-
import { T as TooltipPopup } from './index-
|
|
7
|
-
export { A as ATOM63_FLYOUT_TRANSITION, a as ATOM63_FLYOUT_TRANSITION_CSS, b as ATOM63_MOTION_EASE, c as ATOM63_MOTION_EASE_CSS, d as ATOM63_OVERLAY_MOTION_DURATION_CSS, e as ATOM63_OVERLAY_MOTION_DURATION_MS, f as ATOM63_OVERLAY_MOTION_EASE, g as ATOM63_OVERLAY_MOTION_EASE_CSS, h as AlertDialog, i as AlertDialogAction, j as AlertDialogBackdrop, k as AlertDialogCancel, l as AlertDialogClose, m as AlertDialogContent, n as AlertDialogCreateHandle, o as AlertDialogDescription, p as AlertDialogFooter, q as AlertDialogHeader, r as AlertDialogMedia, j as AlertDialogOverlay, m as AlertDialogPopup, s as AlertDialogPortal, t as AlertDialogTitle, u as AlertDialogTrigger, v as AlertDialogViewport, B as ButtonGroupProvider, C as Card, w as CardAction, x as CardContent, y as CardContentProps, z as CardCursorLabel, D as CardDescription, E as CardDescriptionProps, F as CardFooter, G as CardFooterProps, H as CardHeader, I as CardHeaderProps, J as CardLabel, K as CardMedia, L as CardMediaOverlay, M as CardMediaOverlayBottom, N as CardMediaOverlayIconButton, O as CardMediaOverlayImage, P as CardMediaOverlayProps, Q as CardMediaOverlayScrim, R as CardMediaOverlayTopRight, S as CardMediaProps, U as CardProps, V as CardResponsivePadding, W as CardTags, X as CardTitle, Y as CardTitleProps, Z as Command, _ as CommandCollection, $ as CommandCreateHandle, a0 as CommandDialog, a1 as CommandDialogBackdrop, a2 as CommandDialogPopup, a3 as CommandDialogPortal, a4 as CommandDialogTrigger, a5 as CommandDialogViewport, a6 as CommandEmpty, a7 as CommandFooter, a8 as CommandGroup, a9 as CommandGroupLabel, aa as CommandInput, ab as
|
|
4
|
+
import { AlertVariant, AmountSize, AmountFraction, AnimatedCheckVariant, AvatarRing, AvatarShape, AvatarSize, BadgeVariant, BadgeSize, BadgeDotColor, SeparatorVariant, ButtonGroupOrientation, ButtonGroupSize, CarouselDotShape, CarouselDotTone, TextareaSize, InputSize, InputVariant, InputGroupAlign, ChatComposerLayout, ChatComposerStatus, ChatMessageRole, ChatMessageAppearance, ChatStepStatus, CheckboxIndicator, CheckboxSize, ConnectedPanelAlign, CopyButtonSize, CopyButtonVariant, DrawerDirection, DrawerFooterVariant, EmptyMediaVariant, FeedbackStateSize, FeedbackStateKind, FieldOrientation, FieldLegendVariant, FrameVariant, FrameTray, FramePanelSurface, FrameBorder, ItemVariant, ItemSize, ItemTone, ItemGroupVariant, ItemGroupSurface, ItemMediaVariant, KbdSize, LoadMoreTriggerState, LoadMoreTriggerVariant, MessageDirection, MessagePosition, MessageDeliveryState, ProgressTone, ProgressiveBlurPosition, RadioIndicator, RadioSize, RatingSize, ResizableVariant, SegmentedControlSize, SegmentedControlTone, SegmentedControlVariant, SheetSide as SheetSide$1, SheetVariant as SheetVariant$1, SheetFooterVariant, SidebarSide, SidebarVariant, SidebarCollapsible, SidebarState, SidebarMenuButtonVariant, SidebarMenuButtonSize, SidebarMenuButtonTone, SidebarMenuSubButtonSize, SidebarNavTreeTone, SliderTone, SwitchSize, TableSize, TableTone, TableVariant, TableStickyEdge, TabsSize, TabsVariant, TextTickerVariant, ToasterVariant, ToggleSize, ToggleTone, ToggleGroupVariant, UIEnvironment, Mode, Theme } from '@atom63/ui-foundation';
|
|
5
|
+
export { AvatarSize, Density, DesignLanguage, DestinationKind, DialogFooterVariant, DialogMobilePlacement, DialogSize, EmptyMediaVariant, FeedbackStateKind, FeedbackStateSize, FieldOrientation, InputGroupAlign, LoadMoreTriggerState, LoadMoreTriggerVariant, Mode, PointerInput, ProgressiveBlurPosition, Theme, UIEnvironment } from '@atom63/ui-foundation';
|
|
6
|
+
import { T as TooltipPopup } from './index-CbgpSG4j.js';
|
|
7
|
+
export { A as ATOM63_FLYOUT_TRANSITION, a as ATOM63_FLYOUT_TRANSITION_CSS, b as ATOM63_MOTION_EASE, c as ATOM63_MOTION_EASE_CSS, d as ATOM63_OVERLAY_MOTION_DURATION_CSS, e as ATOM63_OVERLAY_MOTION_DURATION_MS, f as ATOM63_OVERLAY_MOTION_EASE, g as ATOM63_OVERLAY_MOTION_EASE_CSS, h as AlertDialog, i as AlertDialogAction, j as AlertDialogBackdrop, k as AlertDialogCancel, l as AlertDialogClose, m as AlertDialogContent, n as AlertDialogCreateHandle, o as AlertDialogDescription, p as AlertDialogFooter, q as AlertDialogHeader, r as AlertDialogMedia, j as AlertDialogOverlay, m as AlertDialogPopup, s as AlertDialogPortal, t as AlertDialogTitle, u as AlertDialogTrigger, v as AlertDialogViewport, B as ButtonGroupProvider, C as Card, w as CardAction, x as CardContent, y as CardContentProps, z as CardCursorLabel, D as CardDescription, E as CardDescriptionProps, F as CardFooter, G as CardFooterProps, H as CardHeader, I as CardHeaderProps, J as CardLabel, K as CardMedia, L as CardMediaOverlay, M as CardMediaOverlayBottom, N as CardMediaOverlayIconButton, O as CardMediaOverlayImage, P as CardMediaOverlayProps, Q as CardMediaOverlayScrim, R as CardMediaOverlayTopRight, S as CardMediaProps, U as CardProps, V as CardResponsivePadding, W as CardTags, X as CardTitle, Y as CardTitleProps, Z as Command, _ as CommandCollection, $ as CommandCreateHandle, a0 as CommandDialog, a1 as CommandDialogBackdrop, a2 as CommandDialogPopup, a3 as CommandDialogPortal, a4 as CommandDialogTrigger, a5 as CommandDialogViewport, a6 as CommandEmpty, a7 as CommandFooter, a8 as CommandGroup, a9 as CommandGroupLabel, aa as CommandInput, ab as CommandInputProps, ac as CommandItem, ad as CommandList, ae as CommandPanel, af as CommandSeparator, ag as CommandShortcut, ah as Dialog, ai as DialogBackdrop, aj as DialogClose, ak as DialogContent, al as DialogCreateHandle, am as DialogDescription, an as DialogFooter, ao as DialogHeader, ai as DialogOverlay, ap as DialogPanel, ak as DialogPopup, aq as DialogPortal, ar as DialogTitle, as as DialogTrigger, at as DialogViewport, au as NavigationMenu, av as NavigationMenuContent, aw as NavigationMenuIndicator, ax as NavigationMenuItem, ay as NavigationMenuLink, az as NavigationMenuList, aA as NavigationMenuPositioner, aB as NavigationMenuPositionerProps, aC as NavigationMenuProps, aD as NavigationMenuTrigger, aE as NavigationMenuViewport, aF as ReactRendererConformanceEvidence, aG as ReactVerifiedContractId, aH as ScrollableList, aI as ScrollableListProps, aJ as Select, aK as SelectContent, aL as SelectGroup, aM as SelectGroupLabel, aN as SelectItem, aO as SelectPopup, aP as SelectPopupProps, aQ as SelectSeparator, aR as SelectTrigger, aS as SelectTriggerProps, aT as SelectValue, aU as Tooltip, aV as TooltipContentProps, aW as TooltipCreateHandle, aX as TooltipPopupProps, aY as TooltipProvider, aZ as TooltipTrigger, a_ as cardLinkClassName, a$ as getReactRendererConformance, b0 as navigationMenuTriggerStyle, b1 as reactRendererConformance, b2 as scrollableListControlClassNames, b3 as selectTriggerDefaultClassName, b4 as useButtonGroupContext } from './index-CbgpSG4j.js';
|
|
8
8
|
import { Autocomplete as Autocomplete$1 } from '@base-ui/react/autocomplete';
|
|
9
9
|
export { Autocomplete as AutocompletePrimitive } from '@base-ui/react/autocomplete';
|
|
10
10
|
import { Avatar as Avatar$1 } from '@base-ui/react/avatar';
|
|
11
11
|
export { Avatar as AvatarPrimitive } from '@base-ui/react/avatar';
|
|
12
12
|
import { useRender } from '@base-ui/react/use-render';
|
|
13
|
-
import { a as ButtonProps, B as Button } from './button-
|
|
13
|
+
import { a as ButtonProps, B as Button } from './button-DMnQeAEL.js';
|
|
14
14
|
import { Separator as Separator$1 } from '@base-ui/react/separator';
|
|
15
15
|
export { Separator as SeparatorPrimitive } from '@base-ui/react/separator';
|
|
16
16
|
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
17
|
-
import {
|
|
17
|
+
import { Input as Input$1 } from '@base-ui/react/input';
|
|
18
|
+
export { Input as InputPrimitive } from '@base-ui/react/input';
|
|
18
19
|
import { Collapsible as Collapsible$1 } from '@base-ui/react/collapsible';
|
|
20
|
+
import { Checkbox as Checkbox$1 } from '@base-ui/react/checkbox';
|
|
19
21
|
import { HTMLMotionProps } from 'motion/react';
|
|
20
22
|
import { ContextMenu as ContextMenu$1 } from '@base-ui/react/context-menu';
|
|
21
|
-
export { a as DestinationIndicator, D as DestinationLink, b as DestinationLinkProps } from './destination-link-
|
|
23
|
+
export { a as DestinationIndicator, D as DestinationLink, b as DestinationLinkProps } from './destination-link-BHVQyWry.js';
|
|
22
24
|
import { Drawer as Drawer$1 } from '@base-ui/react/drawer';
|
|
23
25
|
import { Menu } from '@base-ui/react/menu';
|
|
24
26
|
import * as lucide_react from 'lucide-react';
|
|
25
27
|
import * as react_hook_form from 'react-hook-form';
|
|
26
28
|
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
27
29
|
import { PreviewCard as PreviewCard$1 } from '@base-ui/react/preview-card';
|
|
28
|
-
import { Input as Input$1 } from '@base-ui/react/input';
|
|
29
|
-
export { Input as InputPrimitive } from '@base-ui/react/input';
|
|
30
30
|
import { OTPInput } from 'input-otp';
|
|
31
31
|
import { Menubar as Menubar$1 } from '@base-ui/react/menubar';
|
|
32
32
|
import { Popover as Popover$1 } from '@base-ui/react/popover';
|
|
@@ -36,18 +36,17 @@ import { Radio as Radio$1 } from '@base-ui/react/radio';
|
|
|
36
36
|
import { RadioGroup as RadioGroup$1 } from '@base-ui/react/radio-group';
|
|
37
37
|
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
38
38
|
import { ScrollArea as ScrollArea$1 } from '@base-ui/react/scroll-area';
|
|
39
|
+
import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
|
|
39
40
|
import { Dialog } from '@base-ui/react/dialog';
|
|
40
41
|
export { Dialog as DialogPrimitive, Dialog as SheetPrimitive } from '@base-ui/react/dialog';
|
|
41
42
|
import { Slider as Slider$1 } from '@base-ui/react/slider';
|
|
42
43
|
import { Switch as Switch$1 } from '@base-ui/react/switch';
|
|
43
|
-
import {
|
|
44
|
-
|
|
45
|
-
export { ToasterProps, toast } from 'sonner';
|
|
44
|
+
import { ToasterProps as ToasterProps$1 } from 'sonner';
|
|
45
|
+
export { toast } from 'sonner';
|
|
46
46
|
import { Toggle as Toggle$1 } from '@base-ui/react/toggle';
|
|
47
47
|
import { ToggleGroup as ToggleGroup$1 } from '@base-ui/react/toggle-group';
|
|
48
48
|
export { AlertDialog as AlertDialogPrimitive } from '@base-ui/react/alert-dialog';
|
|
49
49
|
export { Tooltip as TooltipPrimitive } from '@base-ui/react/tooltip';
|
|
50
|
-
import '@base-ui/react';
|
|
51
50
|
import '@base-ui/react/navigation-menu';
|
|
52
51
|
import '@base-ui/react/select';
|
|
53
52
|
|
|
@@ -69,17 +68,50 @@ declare function AccordionContent({ children, className, hiddenUntilFound: hidde
|
|
|
69
68
|
type AlertProps = React$1.ComponentProps<'div'> & {
|
|
70
69
|
variant?: AlertVariant;
|
|
71
70
|
};
|
|
71
|
+
/**
|
|
72
|
+
* A status callout: a neutral default plus the error, info, success and warning
|
|
73
|
+
* tones. AlertIcon and AlertAction re-flow its grid columns.
|
|
74
|
+
*
|
|
75
|
+
* It is a live region whose politeness follows the tone: error and warning
|
|
76
|
+
* render `role="alert"` (assertive), default, info and success render
|
|
77
|
+
* `role="status"` (polite). Pass `role` to override. Colour alone does not
|
|
78
|
+
* carry the tone, so name it in AlertTitle ("Saved", "Couldn't save").
|
|
79
|
+
*/
|
|
72
80
|
declare function Alert({ className, variant, ...props }: AlertProps): React$1.ReactElement;
|
|
73
81
|
declare function AlertTitle({ className, ...props }: React$1.ComponentProps<'div'>): React$1.ReactElement;
|
|
74
82
|
declare function AlertIcon({ className, ...props }: React$1.ComponentProps<'div'>): React$1.ReactElement;
|
|
75
83
|
declare function AlertDescription({ className, ...props }: React$1.ComponentProps<'div'>): React$1.ReactElement;
|
|
76
84
|
declare function AlertAction({ className, ...props }: React$1.ComponentProps<'div'>): React$1.ReactElement;
|
|
77
85
|
|
|
86
|
+
type AmountProps = Omit<React$1.ComponentProps<'span'>, 'children'> & {
|
|
87
|
+
/** The amount, such as `13.25`. */
|
|
88
|
+
value: number;
|
|
89
|
+
/** An ISO 4217 currency code, such as `"USD"` or `"EUR"`. */
|
|
90
|
+
currency: string;
|
|
91
|
+
/** Formats for this locale instead of the browser's, such as `"de-DE"`. */
|
|
92
|
+
locale?: string;
|
|
93
|
+
/** `md` is the display text role (40px); `lg` is display-large (56px). */
|
|
94
|
+
size?: AmountSize;
|
|
95
|
+
/** The emphasized weight of the role. */
|
|
96
|
+
strong?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Where the half-size fraction sits: `raised` (the default) lifts it like a
|
|
99
|
+
* superscript; `baseline` keeps it on the baseline of the integer digits.
|
|
100
|
+
*/
|
|
101
|
+
fraction?: AmountFraction;
|
|
102
|
+
};
|
|
103
|
+
declare function Amount({ className, currency, fraction, locale, size, strong, value, ...props }: AmountProps): React$1.ReactElement;
|
|
104
|
+
|
|
78
105
|
interface AnimatedCheckProps extends Omit<React$1.ComponentProps<'svg'>, 'animate' | 'children'> {
|
|
79
|
-
/**
|
|
106
|
+
/**
|
|
107
|
+
* `animated` draws the checkmark in on mount (suppressed when the user prefers
|
|
108
|
+
* reduced motion); `static` shows it at once. Defaults to `animated`.
|
|
109
|
+
*/
|
|
110
|
+
variant?: AnimatedCheckVariant;
|
|
111
|
+
/** @deprecated Use `variant="static"` instead of `animate={false}`. */
|
|
80
112
|
animate?: boolean;
|
|
81
113
|
}
|
|
82
|
-
declare function AnimatedCheck({ animate, className, ...props }: AnimatedCheckProps): React$1.ReactElement;
|
|
114
|
+
declare function AnimatedCheck({ variant, animate, className, ...props }: AnimatedCheckProps): React$1.ReactElement;
|
|
83
115
|
|
|
84
116
|
declare const Autocomplete: typeof Autocomplete$1.Root;
|
|
85
117
|
interface AutocompleteInputProps extends Omit<Autocomplete$1.Input.Props, 'size'> {
|
|
@@ -87,11 +119,14 @@ interface AutocompleteInputProps extends Omit<Autocomplete$1.Input.Props, 'size'
|
|
|
87
119
|
showClear?: boolean;
|
|
88
120
|
startAddon?: React$1.ReactNode;
|
|
89
121
|
size?: 'sm' | 'default' | 'lg' | number;
|
|
122
|
+
/** Draws the danger edge and sets `aria-invalid`, as `Input`'s `invalid` does.
|
|
123
|
+
* `aria-invalid` on its own draws the same state. */
|
|
124
|
+
invalid?: boolean;
|
|
90
125
|
ref?: React$1.Ref<HTMLInputElement>;
|
|
91
126
|
triggerProps?: Autocomplete$1.Trigger.Props;
|
|
92
127
|
clearProps?: Autocomplete$1.Clear.Props;
|
|
93
128
|
}
|
|
94
|
-
declare function AutocompleteInput({ className, clearProps, showClear, showTrigger, size, startAddon, triggerProps, ...props }: AutocompleteInputProps): React$1.ReactElement;
|
|
129
|
+
declare function AutocompleteInput({ 'aria-invalid': ariaInvalid, className, clearProps, invalid, showClear, showTrigger, size, startAddon, triggerProps, ...props }: AutocompleteInputProps): React$1.ReactElement;
|
|
95
130
|
interface AutocompletePopupProps extends Autocomplete$1.Popup.Props {
|
|
96
131
|
align?: Autocomplete$1.Positioner.Props['align'];
|
|
97
132
|
sideOffset?: Autocomplete$1.Positioner.Props['sideOffset'];
|
|
@@ -116,9 +151,18 @@ declare function AutocompleteTrigger({ children, className, ...props }: Autocomp
|
|
|
116
151
|
declare const useAutocompleteFilter: typeof Autocomplete$1.useFilter;
|
|
117
152
|
|
|
118
153
|
type AvatarProps = Avatar$1.Root.Props & {
|
|
154
|
+
/**
|
|
155
|
+
* A ring for a story or new activity, set off from the face by a gap of the
|
|
156
|
+
* page surface. `unseen` (or `true`) draws `--a63-avatar-ring-fill`, the
|
|
157
|
+
* accent unless a product sets it, for example to a gradient of the category
|
|
158
|
+
* palette; `seen` draws a thin border-coloured ring.
|
|
159
|
+
*/
|
|
160
|
+
ring?: boolean | AvatarRing;
|
|
161
|
+
/** `square` suits organisations and apps; people stay `circle`. */
|
|
162
|
+
shape?: AvatarShape;
|
|
119
163
|
size?: AvatarSize;
|
|
120
164
|
};
|
|
121
|
-
declare function Avatar({ className, size, ...props }: AvatarProps): React$1.ReactElement;
|
|
165
|
+
declare function Avatar({ className, ring, shape, size, ...props }: AvatarProps): React$1.ReactElement;
|
|
122
166
|
declare function AvatarImage({ className, ...props }: Avatar$1.Image.Props): React$1.ReactElement;
|
|
123
167
|
declare function AvatarFallback({ className, ...props }: Avatar$1.Fallback.Props): React$1.ReactElement;
|
|
124
168
|
declare function AvatarBadge({ className, ...props }: React$1.ComponentProps<'span'>): React$1.ReactElement;
|
|
@@ -128,8 +172,10 @@ declare function AvatarGroupCount({ className, ...props }: React$1.ComponentProp
|
|
|
128
172
|
type BadgeProps = useRender.ComponentProps<'span'> & {
|
|
129
173
|
variant?: BadgeVariant;
|
|
130
174
|
size?: BadgeSize;
|
|
175
|
+
/** A leading dot: `true` draws it in the text color, a palette hue in that hue. */
|
|
176
|
+
dot?: boolean | BadgeDotColor;
|
|
131
177
|
};
|
|
132
|
-
declare function Badge({ className, render, variant, size, ...props }: BadgeProps): React$1.ReactElement;
|
|
178
|
+
declare function Badge({ className, render, variant, size, dot, children, ...props }: BadgeProps): React$1.ReactElement;
|
|
133
179
|
|
|
134
180
|
declare function Breadcrumb({ className, ...props }: React$1.ComponentProps<'nav'>): React$1.ReactElement;
|
|
135
181
|
declare function BreadcrumbList({ className, ...props }: React$1.ComponentProps<'ol'>): React$1.ReactElement;
|
|
@@ -223,17 +269,186 @@ type CarouselContextProps = {
|
|
|
223
269
|
canScrollNext: boolean;
|
|
224
270
|
} & CarouselProps;
|
|
225
271
|
declare function useCarousel(): CarouselContextProps;
|
|
272
|
+
/**
|
|
273
|
+
* A paged row or column of slides, scrolled in place on the page.
|
|
274
|
+
*
|
|
275
|
+
* For a full-screen photo viewer use `MediaLightbox` from
|
|
276
|
+
* `@atom63/ui-react/media`; do not put a Carousel inside a fixed overlay. That
|
|
277
|
+
* overlay has no scroll lock and no `touch-action`, so a swipe on a phone
|
|
278
|
+
* scrolls the page behind it and the slides drift vertically.
|
|
279
|
+
*/
|
|
226
280
|
declare function Carousel({ orientation, opts, setApi, plugins, className, children, cursorIndicator, ...props }: React$1.ComponentProps<'div'> & CarouselProps): React$1.ReactElement;
|
|
227
281
|
declare function CarouselContent({ className, ...props }: React$1.ComponentProps<'div'>): React$1.ReactElement;
|
|
228
282
|
declare function CarouselItem({ className, ...props }: React$1.ComponentProps<'div'>): React$1.ReactElement;
|
|
229
283
|
declare function CarouselPrevious({ className, ...props }: React$1.ComponentProps<'button'>): React$1.ReactElement;
|
|
230
284
|
declare function CarouselNext({ className, ...props }: React$1.ComponentProps<'button'>): React$1.ReactElement;
|
|
285
|
+
type CarouselDotsProps = React$1.ComponentProps<'div'> & {
|
|
286
|
+
/** The name of each dot; "Slide 2 of 5" by default. */
|
|
287
|
+
getLabel?: (index: number, count: number) => string;
|
|
288
|
+
/** `dot` (default): every page a round dot, the current one marked by colour. `pill`: the current dot stretches into a pill. */
|
|
289
|
+
shape?: CarouselDotShape;
|
|
290
|
+
/** `neutral` (default) marks the current dot in the primary text colour, `accent` in the primary action colour; `on-media` draws white dots over photos or video. */
|
|
291
|
+
tone?: CarouselDotTone;
|
|
292
|
+
};
|
|
293
|
+
declare function CarouselDots({ className, getLabel, shape, tone, ...props }: CarouselDotsProps): React$1.ReactElement;
|
|
231
294
|
|
|
232
|
-
type
|
|
295
|
+
type TextareaProps = Omit<React$1.ComponentProps<'textarea'>, 'className'> & {
|
|
296
|
+
/** Class applied to the control wrapper. */
|
|
233
297
|
className?: string;
|
|
234
|
-
|
|
298
|
+
/** Marks the field invalid and switches focus feedback to the danger color. */
|
|
299
|
+
invalid?: boolean;
|
|
300
|
+
/** Control-ramp size used for padding, type, and minimum height. */
|
|
301
|
+
size?: TextareaSize;
|
|
302
|
+
/** Drop the recessed field shadow on flat or translucent parent surfaces. */
|
|
303
|
+
shadow?: boolean;
|
|
304
|
+
/** Class applied directly to the native textarea element. */
|
|
305
|
+
textareaClassName?: string;
|
|
306
|
+
/** Drop the field chrome (border/bg/shadow) so it can nest inside a parent
|
|
307
|
+
* that provides the chrome. The control wrapper collapses to `display:
|
|
308
|
+
* contents`. */
|
|
309
|
+
unstyled?: boolean;
|
|
310
|
+
};
|
|
311
|
+
declare function Textarea({ 'aria-invalid': ariaInvalid, className, disabled, invalid, shadow, size, textareaClassName, unstyled, ...props }: TextareaProps): React$1.ReactElement;
|
|
312
|
+
|
|
313
|
+
type InputProps = Omit<Input$1.Props & React$1.RefAttributes<HTMLInputElement>, 'size' | 'className'> & {
|
|
314
|
+
className?: string;
|
|
315
|
+
invalid?: boolean;
|
|
316
|
+
/** Control ramp size, or a `number` forwarded to the native `size` attribute
|
|
317
|
+
* for character-width sizing (prod parity — `<Input size={20} />`). */
|
|
318
|
+
size?: InputSize | number;
|
|
319
|
+
/** Drop the field chrome (border/bg/shadow) so the input nests inside an
|
|
320
|
+
* InputGroup, which provides the chrome. The control wrapper collapses to
|
|
321
|
+
* `display: contents`. */
|
|
322
|
+
unstyled?: boolean;
|
|
323
|
+
/** Render a plain `<input>` instead of Base UI Input (prod parity for
|
|
324
|
+
* composition sites that need a native element). */
|
|
325
|
+
nativeInput?: boolean;
|
|
326
|
+
/** Extra class merged onto the inner `.a63-Input-field` (prod parity). Use for
|
|
327
|
+
* field-level tweaks the control-box `className` can't reach — e.g. `pl-9` to
|
|
328
|
+
* clear an absolutely-positioned leading icon. */
|
|
329
|
+
inputClassName?: string;
|
|
330
|
+
/** Drop the recessed field shadow (`--field-shadow`) — for inputs on
|
|
331
|
+
* translucent/flat chrome (search bars, toolbars). Defaults to true. */
|
|
332
|
+
shadow?: boolean;
|
|
333
|
+
/** Field chrome: `default` (outlined, for form fields), `filled` (a muted fill
|
|
334
|
+
* with no resting border, for search and filter fields with an icon and
|
|
335
|
+
* placeholder) or `plain` (no border or fill and a separator below, for a
|
|
336
|
+
* field inside a menu, popover or command palette). */
|
|
337
|
+
variant?: InputVariant;
|
|
235
338
|
};
|
|
236
|
-
declare function
|
|
339
|
+
declare function Input({ 'aria-invalid': ariaInvalid, className, disabled, inputClassName, invalid, nativeInput, shadow, size, unstyled, variant, ...props }: InputProps): React$1.ReactElement;
|
|
340
|
+
|
|
341
|
+
interface InputGroupProps extends Omit<React$1.ComponentProps<'div'>, 'className'> {
|
|
342
|
+
className?: string;
|
|
343
|
+
disabled?: boolean;
|
|
344
|
+
invalid?: boolean;
|
|
345
|
+
size?: InputSize;
|
|
346
|
+
/** Drop the recessed field shadow — for groups on translucent/flat chrome
|
|
347
|
+
* (search bars, toolbars). Mirrors Input's `shadow`. Defaults to true. */
|
|
348
|
+
shadow?: boolean;
|
|
349
|
+
/** Field chrome, as on Input: `default` for form fields, `filled` for search
|
|
350
|
+
* and filter fields with an icon and placeholder, `plain` for a field inside a
|
|
351
|
+
* menu, popover or command palette. */
|
|
352
|
+
variant?: InputVariant;
|
|
353
|
+
}
|
|
354
|
+
declare function InputGroup({ children, className, disabled, invalid, shadow, size, variant, ...props }: InputGroupProps): React$1.ReactElement;
|
|
355
|
+
type InputGroupAddonAlign = InputGroupAlign;
|
|
356
|
+
interface InputGroupAddonProps extends Omit<React$1.ComponentProps<'div'>, 'className'> {
|
|
357
|
+
align?: InputGroupAddonAlign;
|
|
358
|
+
className?: string;
|
|
359
|
+
}
|
|
360
|
+
declare function InputGroupAddon({ align, children, className, onMouseDown, ...props }: InputGroupAddonProps): React$1.ReactElement;
|
|
361
|
+
type InputGroupInputProps = Omit<InputProps, 'unstyled' | 'variant'>;
|
|
362
|
+
declare function InputGroupInput({ disabled, invalid, size, ...props }: InputGroupInputProps): React$1.ReactElement;
|
|
363
|
+
type InputGroupTextareaProps = Omit<TextareaProps, 'unstyled'>;
|
|
364
|
+
declare function InputGroupTextarea({ disabled, ...props }: InputGroupTextareaProps): React$1.ReactElement;
|
|
365
|
+
type InputGroupButtonProps = ButtonProps;
|
|
366
|
+
declare function InputGroupButton({ size, variant, ...props }: InputGroupButtonProps): React$1.ReactElement;
|
|
367
|
+
type InputGroupTextProps = Omit<React$1.ComponentProps<'span'>, 'className'> & {
|
|
368
|
+
className?: string;
|
|
369
|
+
};
|
|
370
|
+
declare function InputGroupText({ children, className, ...props }: InputGroupTextProps): React$1.ReactElement;
|
|
371
|
+
|
|
372
|
+
type ChatComposerProps = Omit<React$1.ComponentProps<'form'>, 'children' | 'defaultValue' | 'onChange' | 'onSubmit'> & {
|
|
373
|
+
/** Controls after the attach slot and before the send button, such as a model picker or a mic button. */
|
|
374
|
+
actions?: React$1.ReactNode;
|
|
375
|
+
/** A leading control, usually a `+` button that attaches a file. */
|
|
376
|
+
attach?: React$1.ReactNode;
|
|
377
|
+
/** The starting text when the composer owns its value. */
|
|
378
|
+
defaultValue?: string;
|
|
379
|
+
/** Disables the field and the send button. */
|
|
380
|
+
disabled?: boolean;
|
|
381
|
+
/** A line under the field, such as "AI can make mistakes. Check important info." */
|
|
382
|
+
footnote?: React$1.ReactNode;
|
|
383
|
+
/** The field's accessible name. Defaults to "Message". */
|
|
384
|
+
label?: string;
|
|
385
|
+
/**
|
|
386
|
+
* `inline` (the default) is one pill row: the attach slot, the field, then the
|
|
387
|
+
* actions and the send button. It grows into a block, the controls in a row
|
|
388
|
+
* under the text, once the text wraps. `stacked` always keeps the controls in
|
|
389
|
+
* a row under the field.
|
|
390
|
+
*/
|
|
391
|
+
layout?: ChatComposerLayout;
|
|
392
|
+
/** Called with the new text on every change. */
|
|
393
|
+
onValueChange?: (value: string) => void;
|
|
394
|
+
/** Called when the reader stops a reply with the stop button. */
|
|
395
|
+
onStop?: () => void;
|
|
396
|
+
/**
|
|
397
|
+
* Starts voice mode. When it is given, an empty idle composer shows a voice
|
|
398
|
+
* button in place of the send button, as most assistants do.
|
|
399
|
+
*/
|
|
400
|
+
onVoice?: () => void;
|
|
401
|
+
/**
|
|
402
|
+
* Called with the text when the reader sends it, with the send button or
|
|
403
|
+
* Enter. When the composer owns its value it clears the field after.
|
|
404
|
+
*/
|
|
405
|
+
onSubmit?: (value: string) => void;
|
|
406
|
+
placeholder?: string;
|
|
407
|
+
/** Replaces the send icon (an arrow). */
|
|
408
|
+
sendIcon?: React$1.ReactNode;
|
|
409
|
+
/** The send button's accessible name. Defaults to "Send message". */
|
|
410
|
+
sendLabel?: string;
|
|
411
|
+
/** `submitted` or `streaming` turns the send button into a stop button. Defaults to idle. */
|
|
412
|
+
status?: ChatComposerStatus;
|
|
413
|
+
/** Replaces the stop icon (a square). */
|
|
414
|
+
stopIcon?: React$1.ReactNode;
|
|
415
|
+
/** The stop button's accessible name. Defaults to "Stop response". */
|
|
416
|
+
stopLabel?: string;
|
|
417
|
+
/** Props for the textarea, such as `ref`, `name`, `autoFocus` or `maxLength`. */
|
|
418
|
+
textareaProps?: Omit<InputGroupTextareaProps, 'defaultValue' | 'disabled' | 'onChange' | 'placeholder' | 'value'>;
|
|
419
|
+
/** The text, when the host owns it (pair it with `onValueChange`). */
|
|
420
|
+
value?: string;
|
|
421
|
+
/** Replaces the voice icon (sound bars). */
|
|
422
|
+
voiceIcon?: React$1.ReactNode;
|
|
423
|
+
/** The voice button's accessible name. Defaults to "Start voice mode". */
|
|
424
|
+
voiceLabel?: string;
|
|
425
|
+
};
|
|
426
|
+
declare function ChatComposer({ actions, attach, className, defaultValue, disabled, footnote, label, layout, onStop, onVoice, onSubmit, onValueChange, placeholder, sendIcon, sendLabel, status, stopIcon, stopLabel, textareaProps, value: valueProp, voiceIcon, voiceLabel, ...props }: ChatComposerProps): React$1.ReactElement;
|
|
427
|
+
|
|
428
|
+
type ChatMessageListProps = React$1.ComponentProps<'div'>;
|
|
429
|
+
declare function ChatMessageList({ className, ...props }: ChatMessageListProps): React$1.ReactElement;
|
|
430
|
+
type ChatMessageProps = React$1.ComponentProps<'article'> & {
|
|
431
|
+
/** Who wrote the message: the conversation role, such as `message.role` from `@atom63/agent`. */
|
|
432
|
+
from: ChatMessageRole;
|
|
433
|
+
/** Buttons under the message, such as copy, retry and feedback. */
|
|
434
|
+
actions?: React$1.ReactNode;
|
|
435
|
+
/** Draws the assistant's message as plain text (the default) or in a bubble. The user's message is always a bubble. */
|
|
436
|
+
appearance?: ChatMessageAppearance;
|
|
437
|
+
/** An Avatar beside the message. */
|
|
438
|
+
avatar?: React$1.ReactNode;
|
|
439
|
+
/**
|
|
440
|
+
* The accessible name of the message, so a screen reader says who is
|
|
441
|
+
* speaking. Defaults to "You" for the user and "Assistant" for the assistant.
|
|
442
|
+
*/
|
|
443
|
+
label?: string;
|
|
444
|
+
/**
|
|
445
|
+
* Marks a reply that is still arriving (`aria-busy`), so assistive technology waits for the whole
|
|
446
|
+
* text. While a direct child is a ChatTypingIndicator, `aria-busy` is left off so its status is
|
|
447
|
+
* announced.
|
|
448
|
+
*/
|
|
449
|
+
streaming?: boolean;
|
|
450
|
+
};
|
|
451
|
+
declare function ChatMessage({ actions, appearance, avatar, children, className, from, label, streaming, ...props }: ChatMessageProps): React$1.ReactElement;
|
|
237
452
|
|
|
238
453
|
type CollapsibleProps = Collapsible$1.Root.Props;
|
|
239
454
|
type CollapsibleTriggerProps = Collapsible$1.Trigger.Props;
|
|
@@ -243,6 +458,42 @@ declare function CollapsibleTrigger({ className, ...props }: CollapsibleTriggerP
|
|
|
243
458
|
declare function CollapsibleIndicator({ children, className, ...props }: React$1.ComponentProps<'span'>): React$1.ReactElement;
|
|
244
459
|
declare function CollapsibleContent({ className, ...props }: CollapsibleContentProps): React$1.ReactElement;
|
|
245
460
|
|
|
461
|
+
type ChatStepsProps = Omit<CollapsibleProps, 'children' | 'className'> & {
|
|
462
|
+
/** The steps: ChatStep elements. */
|
|
463
|
+
children?: React$1.ReactNode;
|
|
464
|
+
className?: string;
|
|
465
|
+
/** An icon before the label, such as a sparkle or a wrench. */
|
|
466
|
+
icon?: React$1.ReactNode;
|
|
467
|
+
/** The trigger text: "Thinking", "Used 3 tools", "Thought for 12 seconds". */
|
|
468
|
+
label: React$1.ReactNode;
|
|
469
|
+
};
|
|
470
|
+
declare function ChatSteps({ children, className, icon, label, ...props }: ChatStepsProps): React$1.ReactElement;
|
|
471
|
+
type ChatStepProps = Omit<React$1.ComponentProps<'li'>, 'title'> & {
|
|
472
|
+
/** A line under the step, such as the query a tool ran or its result. */
|
|
473
|
+
description?: React$1.ReactNode;
|
|
474
|
+
/** Replaces the status icon. */
|
|
475
|
+
icon?: React$1.ReactNode;
|
|
476
|
+
/** Where the step is. Defaults to complete. */
|
|
477
|
+
status?: ChatStepStatus;
|
|
478
|
+
/** The status read to screen readers before the step. Defaults to the English status name. */
|
|
479
|
+
statusLabel?: string;
|
|
480
|
+
};
|
|
481
|
+
declare function ChatStep({ children, className, description, icon, status, statusLabel, ...props }: ChatStepProps): React$1.ReactElement;
|
|
482
|
+
|
|
483
|
+
type ChatTypingIndicatorProps = Omit<React$1.ComponentProps<'span'>, 'children'> & {
|
|
484
|
+
/** What a screen reader announces. Defaults to "Assistant is typing". */
|
|
485
|
+
label?: string;
|
|
486
|
+
};
|
|
487
|
+
declare function ChatTypingIndicator({ className, label, ...props }: ChatTypingIndicatorProps): React$1.ReactElement;
|
|
488
|
+
|
|
489
|
+
type CheckboxProps = Omit<Checkbox$1.Root.Props, 'className'> & {
|
|
490
|
+
className?: string;
|
|
491
|
+
/** `hidden` keeps the checkbox focusable and announced but draws no box, for choice cards. */
|
|
492
|
+
indicator?: CheckboxIndicator;
|
|
493
|
+
size?: CheckboxSize;
|
|
494
|
+
};
|
|
495
|
+
declare function Checkbox({ className, indicator, size, ...props }: CheckboxProps): React$1.ReactElement;
|
|
496
|
+
|
|
246
497
|
type ConnectedPanelVariant = 'button-group' | 'default';
|
|
247
498
|
interface ConnectedPanelProps extends Omit<HTMLMotionProps<'div'>, 'children'> {
|
|
248
499
|
align?: ConnectedPanelAlign;
|
|
@@ -313,15 +564,12 @@ declare function ContextMenuLabel({ className, inset, ...props }: ContextMenuLab
|
|
|
313
564
|
declare function ContextMenuSeparator({ className, ...props }: ContextMenu$1.Separator.Props): React$1.ReactElement;
|
|
314
565
|
declare function ContextMenuShortcut({ className, ...props }: React$1.ComponentProps<'span'>): React$1.ReactElement;
|
|
315
566
|
|
|
316
|
-
interface CopyButtonProps {
|
|
317
|
-
'aria-hidden'?: boolean;
|
|
567
|
+
interface CopyButtonProps extends Omit<ButtonProps, 'children' | 'size' | 'value' | 'variant'> {
|
|
318
568
|
children?: React$1.ReactNode;
|
|
319
|
-
className?: string;
|
|
320
569
|
copiedLabel?: string;
|
|
321
570
|
label?: string;
|
|
322
571
|
size?: CopyButtonSize;
|
|
323
572
|
successMessage?: string;
|
|
324
|
-
tabIndex?: number;
|
|
325
573
|
value: string;
|
|
326
574
|
variant?: CopyButtonVariant;
|
|
327
575
|
}
|
|
@@ -329,7 +577,7 @@ interface CopyButtonFeedbackProps {
|
|
|
329
577
|
children?: React$1.ReactNode;
|
|
330
578
|
copied: boolean;
|
|
331
579
|
}
|
|
332
|
-
declare function CopyButton({
|
|
580
|
+
declare function CopyButton({ children, className, copiedLabel, label, onClick, size, successMessage, value, variant, ...props }: CopyButtonProps): React$1.ReactElement;
|
|
333
581
|
/** Controlled copy/check feedback for copy flows that manage their own async work. */
|
|
334
582
|
declare function CopyButtonFeedback({ children, copied, }: CopyButtonFeedbackProps): React$1.ReactElement;
|
|
335
583
|
|
|
@@ -423,14 +671,14 @@ declare function EmptyErrorDetail({ className, error, ...props }: React$1.Compon
|
|
|
423
671
|
declare function Spinner({ className, ...props }: React$1.ComponentProps<'svg'>): React$1.ReactElement;
|
|
424
672
|
|
|
425
673
|
declare const feedbackIcons: {
|
|
426
|
-
alertTriangle:
|
|
427
|
-
clock:
|
|
428
|
-
fileSearch:
|
|
429
|
-
inbox:
|
|
430
|
-
refreshCw:
|
|
431
|
-
searchX:
|
|
674
|
+
alertTriangle: lucide_react.LucideIcon;
|
|
675
|
+
clock: lucide_react.LucideIcon;
|
|
676
|
+
fileSearch: lucide_react.LucideIcon;
|
|
677
|
+
inbox: lucide_react.LucideIcon;
|
|
678
|
+
refreshCw: lucide_react.LucideIcon;
|
|
679
|
+
searchX: lucide_react.LucideIcon;
|
|
432
680
|
spinner: typeof Spinner;
|
|
433
|
-
wifiOff:
|
|
681
|
+
wifiOff: lucide_react.LucideIcon;
|
|
434
682
|
};
|
|
435
683
|
/** A built-in icon name, or any element (for icons outside the built-in set). */
|
|
436
684
|
type FeedbackStateIconName = keyof typeof feedbackIcons;
|
|
@@ -448,13 +696,15 @@ interface FeedbackStateProps {
|
|
|
448
696
|
description?: string;
|
|
449
697
|
error?: unknown;
|
|
450
698
|
icon?: FeedbackStateIcon;
|
|
699
|
+
/** Heading level of the title, to fit the page outline. Defaults to 3. */
|
|
700
|
+
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
451
701
|
query?: string;
|
|
452
702
|
showIcon?: boolean;
|
|
453
703
|
size?: FeedbackStateSize;
|
|
454
704
|
state?: FeedbackStateKind;
|
|
455
705
|
title?: string;
|
|
456
706
|
}
|
|
457
|
-
declare function FeedbackState({ actions, className, description, error, icon, query, showIcon, size, state, title, }: FeedbackStateProps): React$1.ReactElement;
|
|
707
|
+
declare function FeedbackState({ actions, className, description, error, icon, level, query, showIcon, size, state, title, }: FeedbackStateProps): React$1.ReactElement;
|
|
458
708
|
|
|
459
709
|
type LabelProps = React$1.ComponentProps<'label'>;
|
|
460
710
|
declare function Label({ className, ...props }: LabelProps): React$1.ReactElement;
|
|
@@ -471,7 +721,7 @@ declare function FieldGroup({ className, ...props }: FieldGroupProps): React$1.R
|
|
|
471
721
|
type FieldProps = React$1.ComponentProps<'div'> & {
|
|
472
722
|
orientation?: FieldOrientation;
|
|
473
723
|
};
|
|
474
|
-
declare function Field({ className, orientation, ...props }: FieldProps): React$1.ReactElement;
|
|
724
|
+
declare function Field({ className, orientation, ref, ...props }: FieldProps): React$1.ReactElement;
|
|
475
725
|
type FieldContentProps = React$1.ComponentProps<'div'>;
|
|
476
726
|
declare function FieldContent({ className, ...props }: FieldContentProps): React$1.ReactElement;
|
|
477
727
|
type FieldLabelProps = React$1.ComponentProps<typeof Label>;
|
|
@@ -479,7 +729,7 @@ declare function FieldLabel({ className, ...props }: FieldLabelProps): React$1.R
|
|
|
479
729
|
type FieldTitleProps = React$1.ComponentProps<'div'>;
|
|
480
730
|
declare function FieldTitle({ className, ...props }: FieldTitleProps): React$1.ReactElement;
|
|
481
731
|
type FieldDescriptionProps = React$1.ComponentProps<'p'>;
|
|
482
|
-
declare function FieldDescription({ className, ...props }: FieldDescriptionProps): React$1.ReactElement;
|
|
732
|
+
declare function FieldDescription({ className, id: idProp, ...props }: FieldDescriptionProps): React$1.ReactElement;
|
|
483
733
|
type FieldSeparatorProps = React$1.ComponentProps<'div'> & {
|
|
484
734
|
children?: React$1.ReactNode;
|
|
485
735
|
};
|
|
@@ -489,16 +739,16 @@ type FieldErrorProps = React$1.ComponentProps<'div'> & {
|
|
|
489
739
|
message?: string;
|
|
490
740
|
} | undefined>;
|
|
491
741
|
};
|
|
492
|
-
declare function FieldError({ className, children, errors, ...props }: FieldErrorProps): React$1.ReactElement | null;
|
|
742
|
+
declare function FieldError({ className, children, errors, id: idProp, ...props }: FieldErrorProps): React$1.ReactElement | null;
|
|
493
743
|
|
|
494
|
-
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>({ children, watch, getValues, getFieldState, setError, clearErrors, setValue, setValues, trigger, formState, resetField, reset, handleSubmit, unregister, control, register, setFocus, subscribe, }: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
744
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>({ children, watch, getValues, getErrors, getFieldState, setError, clearErrors, setValue, setValues, trigger, formState, resetField, reset, resetDefaultValues, handleSubmit, unregister, control, register, setFocus, subscribe, }: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
495
745
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => React$1.JSX.Element;
|
|
496
746
|
declare const useFormField: () => {
|
|
497
747
|
invalid: boolean;
|
|
498
748
|
isDirty: boolean;
|
|
499
749
|
isTouched: boolean;
|
|
500
750
|
isValidating: boolean;
|
|
501
|
-
error?: react_hook_form.FieldError;
|
|
751
|
+
error?: react_hook_form.FieldError | undefined;
|
|
502
752
|
id: string;
|
|
503
753
|
name: string;
|
|
504
754
|
formItemId: string;
|
|
@@ -546,74 +796,6 @@ type HoverCardContentProps = PreviewCard$1.Popup.Props & {
|
|
|
546
796
|
};
|
|
547
797
|
declare function HoverCardContent({ className, align, portalContainer, side, sideOffset, ...props }: HoverCardContentProps): React$1.ReactElement;
|
|
548
798
|
|
|
549
|
-
type InputProps = Omit<Input$1.Props & React$1.RefAttributes<HTMLInputElement>, 'size' | 'className'> & {
|
|
550
|
-
className?: string;
|
|
551
|
-
invalid?: boolean;
|
|
552
|
-
/** Control ramp size, or a `number` forwarded to the native `size` attribute
|
|
553
|
-
* for character-width sizing (prod parity — `<Input size={20} />`). */
|
|
554
|
-
size?: InputSize | number;
|
|
555
|
-
/** Drop the field chrome (border/bg/shadow) so the input nests inside an
|
|
556
|
-
* InputGroup, which provides the chrome. The control wrapper collapses to
|
|
557
|
-
* `display: contents`. */
|
|
558
|
-
unstyled?: boolean;
|
|
559
|
-
/** Render a plain `<input>` instead of Base UI Input (prod parity for
|
|
560
|
-
* composition sites that need a native element). */
|
|
561
|
-
nativeInput?: boolean;
|
|
562
|
-
/** Extra class merged onto the inner `.a63-Input-field` (prod parity). Use for
|
|
563
|
-
* field-level tweaks the control-box `className` can't reach — e.g. `pl-9` to
|
|
564
|
-
* clear an absolutely-positioned leading icon. */
|
|
565
|
-
inputClassName?: string;
|
|
566
|
-
/** Drop the recessed field shadow (`--field-shadow`) — for inputs on
|
|
567
|
-
* translucent/flat chrome (search bars, toolbars). Defaults to true. */
|
|
568
|
-
shadow?: boolean;
|
|
569
|
-
};
|
|
570
|
-
declare function Input({ 'aria-invalid': ariaInvalid, className, disabled, inputClassName, invalid, nativeInput, shadow, size, unstyled, ...props }: InputProps): React$1.ReactElement;
|
|
571
|
-
|
|
572
|
-
type TextareaProps = Omit<React$1.ComponentProps<'textarea'>, 'className'> & {
|
|
573
|
-
/** Class applied to the control wrapper. */
|
|
574
|
-
className?: string;
|
|
575
|
-
/** Marks the field invalid and switches focus feedback to the danger color. */
|
|
576
|
-
invalid?: boolean;
|
|
577
|
-
/** Control-ramp size used for padding, type, and minimum height. */
|
|
578
|
-
size?: TextareaSize;
|
|
579
|
-
/** Drop the recessed field shadow on flat or translucent parent surfaces. */
|
|
580
|
-
shadow?: boolean;
|
|
581
|
-
/** Class applied directly to the native textarea element. */
|
|
582
|
-
textareaClassName?: string;
|
|
583
|
-
/** Drop the field chrome (border/bg/shadow) so it can nest inside a parent
|
|
584
|
-
* that provides the chrome. The control wrapper collapses to `display:
|
|
585
|
-
* contents`. */
|
|
586
|
-
unstyled?: boolean;
|
|
587
|
-
};
|
|
588
|
-
declare function Textarea({ 'aria-invalid': ariaInvalid, className, disabled, invalid, shadow, size, textareaClassName, unstyled, ...props }: TextareaProps): React$1.ReactElement;
|
|
589
|
-
|
|
590
|
-
interface InputGroupProps extends Omit<React$1.ComponentProps<'div'>, 'className'> {
|
|
591
|
-
className?: string;
|
|
592
|
-
disabled?: boolean;
|
|
593
|
-
invalid?: boolean;
|
|
594
|
-
size?: InputSize;
|
|
595
|
-
/** Drop the recessed field shadow — for groups on translucent/flat chrome
|
|
596
|
-
* (search bars, toolbars). Mirrors Input's `shadow`. Defaults to true. */
|
|
597
|
-
shadow?: boolean;
|
|
598
|
-
}
|
|
599
|
-
declare function InputGroup({ children, className, disabled, invalid, shadow, size, ...props }: InputGroupProps): React$1.ReactElement;
|
|
600
|
-
type InputGroupAddonAlign = InputGroupAlign;
|
|
601
|
-
interface InputGroupAddonProps extends Omit<React$1.ComponentProps<'div'>, 'className'> {
|
|
602
|
-
align?: InputGroupAddonAlign;
|
|
603
|
-
className?: string;
|
|
604
|
-
}
|
|
605
|
-
declare function InputGroupAddon({ align, children, className, onMouseDown, ...props }: InputGroupAddonProps): React$1.ReactElement;
|
|
606
|
-
type InputGroupInputProps = Omit<InputProps, 'unstyled'>;
|
|
607
|
-
declare function InputGroupInput({ disabled, invalid, size, ...props }: InputGroupInputProps): React$1.ReactElement;
|
|
608
|
-
type InputGroupTextareaProps = Omit<TextareaProps, 'unstyled'>;
|
|
609
|
-
declare function InputGroupTextarea({ disabled, ...props }: InputGroupTextareaProps): React$1.ReactElement;
|
|
610
|
-
type InputGroupButtonProps = ButtonProps;
|
|
611
|
-
declare function InputGroupButton({ size, variant, ...props }: InputGroupButtonProps): React$1.ReactElement;
|
|
612
|
-
type InputGroupTextProps = Omit<React$1.ComponentProps<'span'>, 'className'> & {
|
|
613
|
-
className?: string;
|
|
614
|
-
};
|
|
615
|
-
declare function InputGroupText({ children, className, ...props }: InputGroupTextProps): React$1.ReactElement;
|
|
616
|
-
|
|
617
799
|
declare function InputOTP({ className, containerClassName, ...props }: React$1.ComponentProps<typeof OTPInput> & {
|
|
618
800
|
containerClassName?: string;
|
|
619
801
|
}): React$1.JSX.Element;
|
|
@@ -623,14 +805,29 @@ declare function InputOTPSlot({ index, className, ...props }: React$1.ComponentP
|
|
|
623
805
|
}): React$1.JSX.Element;
|
|
624
806
|
declare function InputOTPSeparator({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
|
|
625
807
|
|
|
626
|
-
|
|
808
|
+
type ItemGroupProps = React$1.ComponentProps<'div'> & {
|
|
809
|
+
/** `inset` draws the group as a rounded card with hairline dividers (a grouped settings list). */
|
|
810
|
+
variant?: ItemGroupVariant;
|
|
811
|
+
/**
|
|
812
|
+
* The fill of an `inset` group. `card` (the default) is the panel fill, for a grey page
|
|
813
|
+
* (`bg-background`); `muted` is the grey fill, for a white page (`bg-card`).
|
|
814
|
+
*/
|
|
815
|
+
surface?: ItemGroupSurface;
|
|
816
|
+
};
|
|
817
|
+
declare function ItemGroup({ className, variant, surface, ...props }: ItemGroupProps): React$1.ReactElement;
|
|
627
818
|
type ItemSeparatorProps = React$1.ComponentProps<typeof Separator>;
|
|
628
819
|
declare function ItemSeparator({ className, ...props }: ItemSeparatorProps): React$1.ReactElement;
|
|
629
820
|
type ItemProps = useRender.ComponentProps<'div'> & {
|
|
630
821
|
variant?: ItemVariant;
|
|
631
822
|
size?: ItemSize;
|
|
823
|
+
/**
|
|
824
|
+
* How a selected or current row (`aria-current`, `data-selected`) is coloured.
|
|
825
|
+
* `neutral` (the default) is a muted fill with primary text; `accent` is a light
|
|
826
|
+
* primary wash with accent text.
|
|
827
|
+
*/
|
|
828
|
+
tone?: ItemTone;
|
|
632
829
|
};
|
|
633
|
-
declare function Item({ className, variant, size, render, ...props }: ItemProps): React$1.ReactElement;
|
|
830
|
+
declare function Item({ className, variant, size, tone, render, ...props }: ItemProps): React$1.ReactElement;
|
|
634
831
|
type ItemMediaProps = React$1.ComponentProps<'div'> & {
|
|
635
832
|
variant?: ItemMediaVariant;
|
|
636
833
|
};
|
|
@@ -667,14 +864,22 @@ declare const LoadMoreTrigger: React$1.ForwardRefExoticComponent<LoadMoreTrigger
|
|
|
667
864
|
type MarqueeProps = ComponentPropsWithoutRef<'div'> & {
|
|
668
865
|
className?: string;
|
|
669
866
|
reverse?: boolean;
|
|
867
|
+
/** Pause while the strip is hovered or holds focus. Defaults to true. */
|
|
670
868
|
pauseOnHover?: boolean;
|
|
869
|
+
/**
|
|
870
|
+
* Pause the strip from outside. Passing it (true or false) hands pausing to
|
|
871
|
+
* you: the built-in pause toggle is not rendered, so give users your own
|
|
872
|
+
* control (WCAG 2.2.2).
|
|
873
|
+
*/
|
|
671
874
|
paused?: boolean;
|
|
875
|
+
/** Accessible name of the built-in pause toggle. Defaults to "Pause". */
|
|
876
|
+
pauseLabel?: string;
|
|
672
877
|
children: ReactNode;
|
|
673
878
|
vertical?: boolean;
|
|
674
879
|
repeat?: number;
|
|
675
880
|
gap?: string;
|
|
676
881
|
};
|
|
677
|
-
declare function Marquee({ className, reverse, pauseOnHover, paused, style, children, vertical, repeat, gap, ...props }: MarqueeProps): ReactElement;
|
|
882
|
+
declare function Marquee({ className, reverse, pauseOnHover, paused, pauseLabel, style, children, vertical, repeat, gap, ...props }: MarqueeProps): ReactElement;
|
|
678
883
|
|
|
679
884
|
declare function Menubar({ className, ...props }: Menubar$1.Props): React$1.ReactElement;
|
|
680
885
|
declare function MenubarMenu(props: React$1.ComponentProps<typeof DropdownMenu>): React$1.ReactElement;
|
|
@@ -699,6 +904,39 @@ declare function MenubarShortcut({ className, ...props }: React$1.ComponentProps
|
|
|
699
904
|
declare function MenubarSubTrigger({ className, inset, ...props }: DropdownMenuSubTriggerProps): React$1.ReactElement;
|
|
700
905
|
declare function MenubarSubContent({ alignOffset, className, sideOffset, ...props }: DropdownMenuSubContentProps): React$1.ReactElement;
|
|
701
906
|
|
|
907
|
+
type MessageListProps = React$1.ComponentProps<'div'>;
|
|
908
|
+
declare function MessageList({ className, ...props }: MessageListProps): React$1.ReactElement;
|
|
909
|
+
type MessageProps = Omit<React$1.ComponentProps<'article'>, 'children'> & {
|
|
910
|
+
/** The message text. */
|
|
911
|
+
children?: React$1.ReactNode;
|
|
912
|
+
/** `incoming` (the default): from someone else, on the leading side. `outgoing`: from you, on the trailing side. */
|
|
913
|
+
direction?: MessageDirection;
|
|
914
|
+
/**
|
|
915
|
+
* Where the message sits in a run of consecutive messages from one sender.
|
|
916
|
+
* `single` (the default) and `last` draw the tail and show the avatar;
|
|
917
|
+
* `first` and `middle` join the next message.
|
|
918
|
+
*/
|
|
919
|
+
position?: MessagePosition;
|
|
920
|
+
/** The sender's name, which names the message for assistive technology. */
|
|
921
|
+
label: string;
|
|
922
|
+
/** An Avatar for an incoming message. Pass it on every message of the run: it shows on the last one and keeps the column on the others. */
|
|
923
|
+
avatar?: React$1.ReactNode;
|
|
924
|
+
/** A photo or other media above the text, drawn with the bubble's corners. */
|
|
925
|
+
media?: React$1.ReactNode;
|
|
926
|
+
/** When it was sent, as shown (`12:04`). */
|
|
927
|
+
time?: React$1.ReactNode;
|
|
928
|
+
/** The delivery status of an outgoing message. */
|
|
929
|
+
status?: MessageDeliveryState;
|
|
930
|
+
/** Labels for the delivery statuses, to translate them. */
|
|
931
|
+
statusLabels?: Partial<Record<MessageDeliveryState, string>>;
|
|
932
|
+
};
|
|
933
|
+
declare function Message({ avatar, children, className, direction, label, media, position, status, statusLabels, time, ...props }: MessageProps): React$1.ReactElement;
|
|
934
|
+
type MessageEventProps = React$1.ComponentProps<'div'> & {
|
|
935
|
+
/** An icon before the text, such as a phone for a call. */
|
|
936
|
+
icon?: React$1.ReactNode;
|
|
937
|
+
};
|
|
938
|
+
declare function MessageEvent({ children, className, icon, ...props }: MessageEventProps): React$1.ReactElement;
|
|
939
|
+
|
|
702
940
|
type PaginationProps = React$1.ComponentProps<'nav'>;
|
|
703
941
|
declare function Pagination({ className, ...props }: PaginationProps): React$1.ReactElement;
|
|
704
942
|
type PaginationContentProps = React$1.ComponentProps<'ul'>;
|
|
@@ -759,13 +997,19 @@ interface PreviewCardPopupProps extends PreviewCard$1.Popup.Props {
|
|
|
759
997
|
}
|
|
760
998
|
declare function PreviewCardPopup({ align, children, className, portalContainer, side, sideOffset, ...props }: PreviewCardPopupProps): React$1.ReactElement;
|
|
761
999
|
|
|
762
|
-
|
|
1000
|
+
type ProgressProps = Progress$1.Root.Props & {
|
|
1001
|
+
/**
|
|
1002
|
+
* The indicator's colour. `accent` (the default) is the brand primary;
|
|
1003
|
+
* `neutral` is the primary text colour on a muted track.
|
|
1004
|
+
*/
|
|
1005
|
+
tone?: ProgressTone;
|
|
1006
|
+
};
|
|
1007
|
+
declare function Progress({ className, children, tone, ...props }: ProgressProps): React$1.ReactElement;
|
|
763
1008
|
declare function ProgressLabel({ className, ...props }: Progress$1.Label.Props): React$1.ReactElement;
|
|
764
1009
|
declare function ProgressTrack({ className, ...props }: Progress$1.Track.Props): React$1.ReactElement;
|
|
765
1010
|
declare function ProgressIndicator({ className, ...props }: Progress$1.Indicator.Props): React$1.ReactElement;
|
|
766
1011
|
declare function ProgressValue({ className, ...props }: Progress$1.Value.Props): React$1.ReactElement;
|
|
767
1012
|
|
|
768
|
-
type ProgressiveBlurPosition = 'both' | 'bottom' | 'top';
|
|
769
1013
|
interface ProgressiveBlurProps {
|
|
770
1014
|
/** Blur radii in px, weakest first. Each gets an equal band of the height. */
|
|
771
1015
|
blurLevels?: number[];
|
|
@@ -799,9 +1043,27 @@ type RadioGroupProps = Omit<RadioGroup$1.Props, 'className'> & {
|
|
|
799
1043
|
declare function RadioGroup({ className, ...props }: RadioGroupProps): React$1.ReactElement;
|
|
800
1044
|
type RadioProps = Omit<Radio$1.Root.Props, 'className'> & {
|
|
801
1045
|
className?: string;
|
|
1046
|
+
/** `hidden` keeps the radio focusable and announced but draws no dot, for choice cards. */
|
|
1047
|
+
indicator?: RadioIndicator;
|
|
802
1048
|
size?: RadioSize;
|
|
803
1049
|
};
|
|
804
|
-
declare function Radio({ className, size, ...props }: RadioProps): React$1.ReactElement;
|
|
1050
|
+
declare function Radio({ className, indicator, size, ...props }: RadioProps): React$1.ReactElement;
|
|
1051
|
+
|
|
1052
|
+
type RatingProps = Omit<React$1.ComponentProps<'div'>, 'defaultValue' | 'onChange'> & {
|
|
1053
|
+
/** The score, from 0 to `max`. Read-only ratings take halves (4.5). */
|
|
1054
|
+
value: number;
|
|
1055
|
+
/** The number of stars. */
|
|
1056
|
+
max?: number;
|
|
1057
|
+
/** Makes the rating an input: a radio group with one radio per star. */
|
|
1058
|
+
onValueChange?: (value: number) => void;
|
|
1059
|
+
/** The accessible name: what a read-only rating says, or what an input rating asks. */
|
|
1060
|
+
label?: string;
|
|
1061
|
+
disabled?: boolean;
|
|
1062
|
+
/** Replaces the built-in star. */
|
|
1063
|
+
icon?: React$1.ReactNode;
|
|
1064
|
+
size?: RatingSize;
|
|
1065
|
+
};
|
|
1066
|
+
declare function Rating({ className, value, max, onValueChange, label, disabled, icon, size, ...props }: RatingProps): React$1.ReactElement;
|
|
805
1067
|
|
|
806
1068
|
type ResizableOrientation = 'horizontal' | 'vertical';
|
|
807
1069
|
type ResizablePanelGroupProps = Omit<React$1.ComponentProps<typeof ResizablePrimitive.Group>, 'orientation'> & {
|
|
@@ -812,9 +1074,12 @@ declare function ResizablePanelGroup({ children, className, direction, orientati
|
|
|
812
1074
|
type ResizablePanelProps = React$1.ComponentProps<typeof ResizablePrimitive.Panel>;
|
|
813
1075
|
declare function ResizablePanel({ ...props }: ResizablePanelProps): React$1.ReactElement;
|
|
814
1076
|
type ResizableHandleProps = React$1.ComponentProps<typeof ResizablePrimitive.Separator> & {
|
|
1077
|
+
/** `line` draws the separator alone; `grip` adds a grip chip. Defaults to `line`. */
|
|
1078
|
+
variant?: ResizableVariant;
|
|
1079
|
+
/** @deprecated Use `variant="grip"`. */
|
|
815
1080
|
withHandle?: boolean;
|
|
816
1081
|
};
|
|
817
|
-
declare function ResizableHandle({ 'aria-label': ariaLabel, withHandle, className, ...props }: ResizableHandleProps): React$1.ReactElement;
|
|
1082
|
+
declare function ResizableHandle({ 'aria-label': ariaLabel, variant, withHandle, className, ...props }: ResizableHandleProps): React$1.ReactElement;
|
|
818
1083
|
|
|
819
1084
|
type ScrollAreaViewportProps = Omit<ScrollArea$1.Viewport.Props, 'children' | 'className' | 'ref'> & {
|
|
820
1085
|
[key: `data-${string}`]: boolean | number | string | undefined;
|
|
@@ -834,12 +1099,17 @@ interface SearchFieldProps extends Omit<InputGroupInputProps, 'className' | 'def
|
|
|
834
1099
|
clearLabel?: string;
|
|
835
1100
|
className?: string;
|
|
836
1101
|
defaultValue?: string;
|
|
1102
|
+
/** Content after the field, such as a browse or filter button. */
|
|
1103
|
+
endAddon?: React$1.ReactNode;
|
|
837
1104
|
inputClassName?: string;
|
|
838
1105
|
onClear?: () => void;
|
|
839
1106
|
onValueChange?: (value: string) => void;
|
|
840
1107
|
value?: string;
|
|
1108
|
+
/** Field chrome. `filled` (a muted fill, no resting border) suits a search or
|
|
1109
|
+
* filter field on a page; `plain` suits one inside a menu or popover. */
|
|
1110
|
+
variant?: InputVariant;
|
|
841
1111
|
}
|
|
842
|
-
declare function SearchField({ autoComplete, className, clearLabel, defaultValue, disabled, inputClassName, onClear, onValueChange, spellCheck, value, ...props }: SearchFieldProps): React$1.ReactElement;
|
|
1112
|
+
declare function SearchField({ autoComplete, className, clearLabel, defaultValue, disabled, endAddon, inputClassName, invalid, onClear, onValueChange, ref, size, spellCheck, value, variant, ...props }: SearchFieldProps): React$1.ReactElement;
|
|
843
1113
|
|
|
844
1114
|
interface SegmentedControlItem {
|
|
845
1115
|
disabled?: boolean;
|
|
@@ -847,22 +1117,27 @@ interface SegmentedControlItem {
|
|
|
847
1117
|
label: string;
|
|
848
1118
|
value: string;
|
|
849
1119
|
}
|
|
850
|
-
interface SegmentedControlProps {
|
|
1120
|
+
interface SegmentedControlProps extends Omit<Tabs$1.Root.Props, 'children' | 'className' | 'defaultValue' | 'onValueChange' | 'orientation' | 'value'> {
|
|
851
1121
|
/** Animate the sliding indicator between segments (default true). */
|
|
852
1122
|
animateBackplate?: boolean;
|
|
853
1123
|
className?: string;
|
|
1124
|
+
/** The initially selected segment when the control is uncontrolled. */
|
|
1125
|
+
defaultValue?: string;
|
|
854
1126
|
/** Stretch the track to fill its container with equal-width segments. */
|
|
855
1127
|
fullWidth?: boolean;
|
|
856
1128
|
items: SegmentedControlItem[];
|
|
857
|
-
onValueChange
|
|
1129
|
+
onValueChange?: (value: string) => void;
|
|
1130
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
858
1131
|
size?: SegmentedControlSize;
|
|
859
1132
|
/** Per-segment class escape hatch merged onto every tab. */
|
|
860
1133
|
tabClassName?: string;
|
|
861
1134
|
tone?: SegmentedControlTone;
|
|
862
|
-
|
|
1135
|
+
/** The selected segment. Leave it out, with `defaultValue`, for an
|
|
1136
|
+
* uncontrolled control. */
|
|
1137
|
+
value?: string;
|
|
863
1138
|
variant?: SegmentedControlVariant;
|
|
864
1139
|
}
|
|
865
|
-
declare function SegmentedControl({ animateBackplate, className, fullWidth, items, onValueChange, size, tabClassName, tone, value, variant, }: SegmentedControlProps): React$1.ReactElement;
|
|
1140
|
+
declare function SegmentedControl({ animateBackplate, className, defaultValue, fullWidth, items, onValueChange, size, tabClassName, tone, value, variant, ...props }: SegmentedControlProps): React$1.ReactElement;
|
|
866
1141
|
|
|
867
1142
|
type SheetSide = SheetSide$1;
|
|
868
1143
|
type SheetVariant = SheetVariant$1;
|
|
@@ -910,8 +1185,10 @@ type SidebarProviderProps = React$1.ComponentProps<'div'> & {
|
|
|
910
1185
|
defaultOpen?: boolean;
|
|
911
1186
|
open?: boolean;
|
|
912
1187
|
onOpenChange?: (open: boolean) => void;
|
|
1188
|
+
/** Key that toggles the sidebar with Cmd/Ctrl. `false` turns the shortcut off. */
|
|
1189
|
+
keyboardShortcut?: string | false;
|
|
913
1190
|
};
|
|
914
|
-
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: SidebarProviderProps): React$1.ReactElement;
|
|
1191
|
+
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, keyboardShortcut, className, style, children, ...props }: SidebarProviderProps): React$1.ReactElement;
|
|
915
1192
|
type SidebarProps = React$1.ComponentProps<'div'> & {
|
|
916
1193
|
side?: SidebarSide;
|
|
917
1194
|
variant?: SidebarVariant;
|
|
@@ -942,9 +1219,14 @@ type SidebarMenuButtonProps = useRender.ComponentProps<'button'> & React$1.Compo
|
|
|
942
1219
|
isActive?: boolean;
|
|
943
1220
|
variant?: SidebarMenuButtonVariant;
|
|
944
1221
|
size?: SidebarMenuButtonSize;
|
|
1222
|
+
/**
|
|
1223
|
+
* How the active state (`isActive`) is coloured. `neutral` (the default) is the
|
|
1224
|
+
* hover plate with primary text; `accent` is a light primary wash with accent text.
|
|
1225
|
+
*/
|
|
1226
|
+
tone?: SidebarMenuButtonTone;
|
|
945
1227
|
tooltip?: string | React$1.ComponentProps<typeof TooltipPopup>;
|
|
946
1228
|
};
|
|
947
|
-
declare function SidebarMenuButton({ asChild, render: renderProp, children, isActive, variant, size, tooltip, className, ...props }: SidebarMenuButtonProps): React$1.ReactElement;
|
|
1229
|
+
declare function SidebarMenuButton({ asChild, render: renderProp, children, isActive, variant, size, tone, tooltip, className, ...props }: SidebarMenuButtonProps): React$1.ReactElement;
|
|
948
1230
|
declare function SidebarMenuAction({ className, asChild, render: renderProp, children, showOnHover, ...props }: useRender.ComponentProps<'button'> & React$1.ComponentProps<'button'> & {
|
|
949
1231
|
asChild?: boolean;
|
|
950
1232
|
showOnHover?: boolean;
|
|
@@ -959,38 +1241,83 @@ type SidebarMenuSubButtonProps = useRender.ComponentProps<'a'> & React$1.Compone
|
|
|
959
1241
|
asChild?: boolean;
|
|
960
1242
|
size?: SidebarMenuSubButtonSize;
|
|
961
1243
|
isActive?: boolean;
|
|
1244
|
+
/**
|
|
1245
|
+
* How the active state (`isActive`) is coloured. `neutral` (the default) is the
|
|
1246
|
+
* hover plate with primary text; `accent` is a light primary wash with accent text.
|
|
1247
|
+
*/
|
|
1248
|
+
tone?: SidebarMenuButtonTone;
|
|
962
1249
|
};
|
|
963
|
-
declare function SidebarMenuSubButton({ asChild, render: renderProp, children, size, isActive, className, ...props }: SidebarMenuSubButtonProps): React$1.ReactElement;
|
|
1250
|
+
declare function SidebarMenuSubButton({ asChild, render: renderProp, children, size, isActive, tone, className, ...props }: SidebarMenuSubButtonProps): React$1.ReactElement;
|
|
964
1251
|
|
|
965
1252
|
interface SidebarNavGroupProps {
|
|
966
1253
|
children: React$1.ReactNode;
|
|
967
1254
|
className?: string;
|
|
968
1255
|
label: React$1.ReactNode;
|
|
1256
|
+
/** Lets the label fold the group: it becomes a disclosure button with a chevron. */
|
|
1257
|
+
collapsible?: boolean;
|
|
1258
|
+
/** Whether a collapsible group starts open when uncontrolled. */
|
|
1259
|
+
defaultOpen?: boolean;
|
|
1260
|
+
/** Open state of a controlled collapsible group. */
|
|
1261
|
+
open?: boolean;
|
|
1262
|
+
onOpenChange?: (open: boolean) => void;
|
|
969
1263
|
}
|
|
970
|
-
declare function SidebarNavGroup({ children, className, label }: SidebarNavGroupProps): React$1.ReactElement;
|
|
1264
|
+
declare function SidebarNavGroup({ children, className, label, collapsible, defaultOpen, open, onOpenChange, }: SidebarNavGroupProps): React$1.ReactElement;
|
|
971
1265
|
interface SidebarNavLinkItemProps {
|
|
972
|
-
|
|
1266
|
+
/**
|
|
1267
|
+
* The label when `href` or `render` is set. Otherwise the link element itself
|
|
1268
|
+
* (`<a href>…</a>`): the item merges its class, data attributes and ref into it,
|
|
1269
|
+
* so a custom link component must spread the props it receives onto the element
|
|
1270
|
+
* it renders and forward its ref.
|
|
1271
|
+
*/
|
|
1272
|
+
children: React$1.ReactNode;
|
|
973
1273
|
className?: string;
|
|
1274
|
+
/** Destination of the link. The item renders the anchor, with `icon` and the label inside. */
|
|
1275
|
+
href?: string;
|
|
1276
|
+
/** An icon before the label, used with `href` or `render`. */
|
|
1277
|
+
icon?: React$1.ReactNode;
|
|
974
1278
|
isActive?: boolean;
|
|
1279
|
+
/**
|
|
1280
|
+
* A link element to render instead of `<a>`, such as a router link
|
|
1281
|
+
* (`<Link to="/inbox" />`). The item passes it the icon and label as children.
|
|
1282
|
+
* It must spread the props it receives and forward its ref.
|
|
1283
|
+
*/
|
|
1284
|
+
render?: React$1.ReactElement;
|
|
1285
|
+
/**
|
|
1286
|
+
* How the active row is coloured: `neutral` (the default) is a full neutral
|
|
1287
|
+
* plate with primary text, `accent` is accent text on a clear row.
|
|
1288
|
+
*/
|
|
1289
|
+
tone?: SidebarNavTreeTone;
|
|
975
1290
|
}
|
|
976
|
-
declare function SidebarNavLinkItem({ children, className, isActive, }: SidebarNavLinkItemProps): React$1.ReactElement;
|
|
1291
|
+
declare function SidebarNavLinkItem({ children, className, href, icon, isActive, render, tone, }: SidebarNavLinkItemProps): React$1.ReactElement;
|
|
977
1292
|
interface SidebarNavCollapsibleItemProps {
|
|
978
1293
|
children: React$1.ReactNode;
|
|
979
1294
|
className?: string;
|
|
1295
|
+
/** An icon before the label on a trigger-only row. With `link`, put the icon inside the link. */
|
|
1296
|
+
icon?: React$1.ReactNode;
|
|
980
1297
|
isActive?: boolean;
|
|
981
1298
|
label: string;
|
|
982
1299
|
/** Destination for the section itself. Omit it when the section has no page: the whole row becomes the toggle. */
|
|
983
1300
|
link?: React$1.ReactElement;
|
|
984
1301
|
onOpenChange: (open: boolean) => void;
|
|
985
1302
|
open: boolean;
|
|
1303
|
+
/**
|
|
1304
|
+
* How the active row is coloured: `neutral` (the default) is a full neutral
|
|
1305
|
+
* plate with primary text, `accent` is accent text on a clear row.
|
|
1306
|
+
*/
|
|
1307
|
+
tone?: SidebarNavTreeTone;
|
|
986
1308
|
}
|
|
987
|
-
declare function SidebarNavCollapsibleItem({ children, className, isActive, label, link, onOpenChange, open, }: SidebarNavCollapsibleItemProps): React$1.ReactElement;
|
|
1309
|
+
declare function SidebarNavCollapsibleItem({ children, className, icon, isActive, label, link, onOpenChange, open, tone, }: SidebarNavCollapsibleItemProps): React$1.ReactElement;
|
|
988
1310
|
interface SidebarNavSubLinkItemProps {
|
|
989
1311
|
children: React$1.ReactElement;
|
|
990
1312
|
className?: string;
|
|
991
1313
|
isActive?: boolean;
|
|
1314
|
+
/**
|
|
1315
|
+
* How the active row is coloured: `neutral` (the default) is a full neutral
|
|
1316
|
+
* plate with primary text, `accent` is accent text on a clear row.
|
|
1317
|
+
*/
|
|
1318
|
+
tone?: SidebarNavTreeTone;
|
|
992
1319
|
}
|
|
993
|
-
declare function SidebarNavSubLinkItem({ children, className, isActive, }: SidebarNavSubLinkItemProps): React$1.ReactElement;
|
|
1320
|
+
declare function SidebarNavSubLinkItem({ children, className, isActive, tone, }: SidebarNavSubLinkItemProps): React$1.ReactElement;
|
|
994
1321
|
interface SidebarNavSubListProps {
|
|
995
1322
|
children: React$1.ReactNode;
|
|
996
1323
|
className?: string;
|
|
@@ -1009,15 +1336,27 @@ interface SliderProps extends Omit<SliderRootProps, 'value' | 'defaultValue' | '
|
|
|
1009
1336
|
value?: number | readonly number[];
|
|
1010
1337
|
defaultValue?: number | readonly number[];
|
|
1011
1338
|
/**
|
|
1012
|
-
* Convenience change handler
|
|
1013
|
-
* `number
|
|
1339
|
+
* Convenience change handler for a single-thumb slider: you receive a plain
|
|
1340
|
+
* `number`. For a ranged slider it receives the first thumb's value only; use
|
|
1341
|
+
* `onValuesChange` to control a ranged slider.
|
|
1014
1342
|
*/
|
|
1015
1343
|
onValueChange?: (value: number) => void;
|
|
1344
|
+
/**
|
|
1345
|
+
* Change handler that receives every thumb's value, in thumb order. Use it to
|
|
1346
|
+
* control a ranged slider (`value={[from, to]}`).
|
|
1347
|
+
*/
|
|
1348
|
+
onValuesChange?: (values: number[], eventDetails: Slider$1.Root.ChangeEventDetails) => void;
|
|
1016
1349
|
/** Accessible label for each thumb, especially useful for ranged sliders. */
|
|
1017
1350
|
getThumbAriaLabel?: (index: number) => string;
|
|
1351
|
+
/**
|
|
1352
|
+
* The filled part's colour. `accent` (the default) is the brand primary;
|
|
1353
|
+
* `neutral` is the primary text colour, for players and tool bars where the
|
|
1354
|
+
* accent is spent elsewhere.
|
|
1355
|
+
*/
|
|
1356
|
+
tone?: SliderTone;
|
|
1018
1357
|
'aria-label'?: string;
|
|
1019
1358
|
}
|
|
1020
|
-
declare function Slider({ className, children, value, defaultValue, getThumbAriaLabel, onValueChange, min, max, 'aria-label': ariaLabel, ...props }: SliderProps): React$1.ReactElement;
|
|
1359
|
+
declare function Slider({ className, children, value, defaultValue, getThumbAriaLabel, onValueChange, onValuesChange, min, max, tone, 'aria-label': ariaLabel, ...props }: SliderProps): React$1.ReactElement;
|
|
1021
1360
|
declare function SliderValue({ className, ...props }: Slider$1.Value.Props): React$1.ReactElement;
|
|
1022
1361
|
|
|
1023
1362
|
type SwitchProps = Omit<Switch$1.Root.Props, 'className'> & {
|
|
@@ -1028,8 +1367,17 @@ type SwitchProps = Omit<Switch$1.Root.Props, 'className'> & {
|
|
|
1028
1367
|
};
|
|
1029
1368
|
declare function Switch({ children, className, size, ...props }: SwitchProps): React$1.ReactElement;
|
|
1030
1369
|
|
|
1031
|
-
type TableProps = React$1.ComponentProps<'table'
|
|
1032
|
-
|
|
1370
|
+
type TableProps = React$1.ComponentProps<'table'> & {
|
|
1371
|
+
size?: TableSize;
|
|
1372
|
+
/**
|
|
1373
|
+
* How selected rows (`data-state="selected"`) are coloured. `neutral` (the
|
|
1374
|
+
* default) is a muted fill with primary text; `accent` is a light primary wash
|
|
1375
|
+
* with accent text.
|
|
1376
|
+
*/
|
|
1377
|
+
tone?: TableTone;
|
|
1378
|
+
variant?: TableVariant;
|
|
1379
|
+
};
|
|
1380
|
+
declare function Table({ className, size, tone, variant, ...props }: TableProps): React$1.ReactElement;
|
|
1033
1381
|
type TableHeaderProps = React$1.ComponentProps<'thead'>;
|
|
1034
1382
|
declare function TableHeader({ className, ...props }: TableHeaderProps): React$1.ReactElement;
|
|
1035
1383
|
type TableBodyProps = React$1.ComponentProps<'tbody'>;
|
|
@@ -1038,10 +1386,14 @@ type TableFooterProps = React$1.ComponentProps<'tfoot'>;
|
|
|
1038
1386
|
declare function TableFooter({ className, ...props }: TableFooterProps): React$1.ReactElement;
|
|
1039
1387
|
type TableRowProps = React$1.ComponentProps<'tr'>;
|
|
1040
1388
|
declare function TableRow({ className, ...props }: TableRowProps): React$1.ReactElement;
|
|
1041
|
-
type TableHeadProps = React$1.ComponentProps<'th'
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
declare function
|
|
1389
|
+
type TableHeadProps = React$1.ComponentProps<'th'> & {
|
|
1390
|
+
sticky?: TableStickyEdge;
|
|
1391
|
+
};
|
|
1392
|
+
declare function TableHead({ className, sticky, ...props }: TableHeadProps): React$1.ReactElement;
|
|
1393
|
+
type TableCellProps = React$1.ComponentProps<'td'> & {
|
|
1394
|
+
sticky?: TableStickyEdge;
|
|
1395
|
+
};
|
|
1396
|
+
declare function TableCell({ className, sticky, ...props }: TableCellProps): React$1.ReactElement;
|
|
1045
1397
|
type TableCaptionProps = React$1.ComponentProps<'caption'>;
|
|
1046
1398
|
declare function TableCaption({ className, ...props }: TableCaptionProps): React$1.ReactElement;
|
|
1047
1399
|
|
|
@@ -1061,6 +1413,9 @@ interface TabsPanelProps extends Tabs$1.Panel.Props {
|
|
|
1061
1413
|
declare function TabsPanel({ animated, className, ...props }: TabsPanelProps): React$1.ReactElement;
|
|
1062
1414
|
|
|
1063
1415
|
interface TextTickerProps extends Omit<ComponentProps<'span'>, 'children'> {
|
|
1416
|
+
/** `truncate` ends overflowing text with an ellipsis; `marquee` scrolls it. Defaults to `truncate`. */
|
|
1417
|
+
variant?: TextTickerVariant;
|
|
1418
|
+
/** @deprecated Use `variant="marquee"`. */
|
|
1064
1419
|
animationType?: 'marquee';
|
|
1065
1420
|
/**
|
|
1066
1421
|
* When true and the text overflows, the marquee runs continuously
|
|
@@ -1071,9 +1426,17 @@ interface TextTickerProps extends Omit<ComponentProps<'span'>, 'children'> {
|
|
|
1071
1426
|
marqueeDelay?: number;
|
|
1072
1427
|
marqueeSpeed?: number;
|
|
1073
1428
|
}
|
|
1074
|
-
declare function TextTicker({ children, className, animationType, autoPlay, marqueeDelay, marqueeSpeed, style, ...props }: TextTickerProps): React$1.JSX.Element;
|
|
1429
|
+
declare function TextTicker({ children, className, variant, animationType, autoPlay, marqueeDelay, marqueeSpeed, style, ...props }: TextTickerProps): React$1.JSX.Element;
|
|
1075
1430
|
|
|
1076
|
-
|
|
1431
|
+
interface ToasterProps extends ToasterProps$1 {
|
|
1432
|
+
/**
|
|
1433
|
+
* `default` draws a card on the overlay surface. `inverse` draws a compact
|
|
1434
|
+
* pill in the inverse colours (dark on a light app, light on a dark one) with
|
|
1435
|
+
* the icon after the message, for a short status such as "Scheduling message…".
|
|
1436
|
+
*/
|
|
1437
|
+
variant?: ToasterVariant;
|
|
1438
|
+
}
|
|
1439
|
+
declare function Toaster({ style, toastOptions, variant, ...props }: ToasterProps): React$1.ReactElement;
|
|
1077
1440
|
|
|
1078
1441
|
type ToggleProps = Omit<Toggle$1.Props, 'className'> & {
|
|
1079
1442
|
className?: string;
|
|
@@ -1086,8 +1449,9 @@ interface ToggleGroupProps extends Omit<ToggleGroup$1.Props, 'className'> {
|
|
|
1086
1449
|
className?: string;
|
|
1087
1450
|
size?: ToggleSize;
|
|
1088
1451
|
tone?: ToggleTone;
|
|
1452
|
+
variant?: ToggleGroupVariant;
|
|
1089
1453
|
}
|
|
1090
|
-
declare function ToggleGroup({ children, className, orientation, size, tone, ...props }: ToggleGroupProps): React$1.ReactElement;
|
|
1454
|
+
declare function ToggleGroup({ children, className, orientation, size, tone, variant, ...props }: ToggleGroupProps): React$1.ReactElement;
|
|
1091
1455
|
interface ToggleGroupItemProps extends ToggleProps {
|
|
1092
1456
|
value: string;
|
|
1093
1457
|
}
|
|
@@ -1189,8 +1553,15 @@ interface UseExtractColorReturn {
|
|
|
1189
1553
|
declare function useExtractColor(imageUrl: string, options?: UseExtractColorOptions): UseExtractColorReturn;
|
|
1190
1554
|
|
|
1191
1555
|
interface UIProviderProps extends useRender.ComponentProps<'div'>, Partial<UIEnvironment> {
|
|
1556
|
+
/**
|
|
1557
|
+
* Text direction for this scope. Sets the `dir` attribute, and with `ltr` or
|
|
1558
|
+
* `rtl` also tells the Base UI parts inside (Slider drag and arrow keys,
|
|
1559
|
+
* RadioGroup, Tabs, Menu) which way is forward. Set `dir="rtl"` here rather
|
|
1560
|
+
* than only on `<html>`, or those parts keep stepping left-to-right.
|
|
1561
|
+
*/
|
|
1562
|
+
dir?: 'ltr' | 'rtl' | 'auto';
|
|
1192
1563
|
}
|
|
1193
|
-
declare function UIProvider({ brand, className, density, designLanguage, input, mode, render, surface, theme, ...props }: UIProviderProps): React$1.ReactElement;
|
|
1564
|
+
declare function UIProvider({ brand, className, density, designLanguage, dir, input, mode, render, surface, theme, ...props }: UIProviderProps): React$1.ReactElement;
|
|
1194
1565
|
declare function useUIEnvironment(): UIEnvironment;
|
|
1195
1566
|
|
|
1196
1567
|
type Atom63ThemeMode = Exclude<Mode, 'system'>;
|
|
@@ -1200,4 +1571,5 @@ interface Atom63ThemeProps extends useRender.ComponentProps<'div'> {
|
|
|
1200
1571
|
}
|
|
1201
1572
|
declare function Atom63Theme({ className, mode, render, theme, ...props }: Atom63ThemeProps): React$1.ReactElement;
|
|
1202
1573
|
|
|
1203
|
-
export { Accordion, AccordionContent, AccordionItem,
|
|
1574
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertIcon, AlertTitle, Amount, AnimatedCheck, Atom63Theme, Autocomplete, AutocompleteClear, AutocompleteCollection, AutocompleteEmpty, AutocompleteGroup, AutocompleteGroupLabel, AutocompleteInput, AutocompleteItem, AutocompleteList, AutocompletePopup, AutocompleteRow, AutocompleteSeparator, AutocompleteStatus, AutocompleteTrigger, AutocompleteValue, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, ButtonProps, Carousel, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious, ChatComposer, ChatMessage, ChatMessageList, ChatStep, ChatSteps, ChatTypingIndicator, Checkbox, Collapsible, CollapsibleContent, CollapsibleIndicator, CollapsibleTrigger, ConnectedPanel, ConnectedPanelBody, ConnectedPanelContent, ConnectedPanelDescription, ConnectedPanelFooter, ConnectedPanelHeader, ConnectedPanelTitle, ConnectedPanelTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, CopyButtonFeedback, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHandle, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyErrorDetail, EmptyHeader, EmptyMedia, EmptyTitle, FeedbackState, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Frame, FrameDescription, FrameFooter, FrameHeader, FramePanel, FrameTitle, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, LoadMoreTrigger, Marquee, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MessageEvent, MessageList, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PanelSettingButton, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverDescription, PopoverHeader, PopoverPortal, PopoverTitle, PopoverTrigger, PortalContainerProvider, PreviewCard, PreviewCardPopup, PreviewCardTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, ProgressiveBlur, Radio, RadioGroup, Radio as RadioGroupItem, Rating, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, SearchField, SegmentedControl, Separator, Sheet, SheetBackdrop, SheetClose, SheetPopup as SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetBackdrop as SheetOverlay, SheetPanel, SheetPopup, SheetPortal, SheetTitle, SheetTrigger, SheetViewport, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarNavCollapsibleItem, SidebarNavGroup, SidebarNavLinkItem, SidebarNavSubLinkItem, SidebarNavSubList, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, SliderValue, Spinner, Switch, TINT_MAX_LUMINANCE, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsPanel as TabsContent, TabsList, TabsPanel, TabsTab, TabsTab as TabsTrigger, TextTicker, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupSeparator, TooltipPopup as TooltipContent, TooltipPopup, UIProvider, capColorForContrast, colorCacheKey, extractColorFromImage, extractColorFromLoadedImage, getCachedColor, loadAndExtractColor, useAutocompleteFilter, useCardCursor, useCarousel, useExtractColor, useFormField, usePortalContainer, useSidebar, useUIEnvironment };
|
|
1575
|
+
export type { AccordionProps, AccordionTriggerProps, AlertProps, AmountProps, AnimatedCheckProps, Atom63ThemeMode, Atom63ThemeProps, AutocompleteInputProps, AutocompletePopupProps, AvatarProps, BadgeProps, BreadcrumbLinkProps, ButtonGroupProps, ButtonGroupSeparatorProps, CardCursorBinding, CarouselApi, CarouselContextProps, CarouselDotsProps, CarouselOptions, CarouselPlugin, CarouselProps, ChatComposerProps, ChatMessageListProps, ChatMessageProps, ChatStepProps, ChatStepsProps, ChatTypingIndicatorProps, CheckboxProps, CollapsibleContentProps, CollapsibleProps, CollapsibleTriggerProps, ColorSampleRegion, ConnectedPanelContentProps, ConnectedPanelProps, ConnectedPanelTriggerProps, ConnectedPanelVariant, ContextMenuContentProps, ContextMenuItemProps, ContextMenuLabelProps, ContextMenuSubContentProps, ContextMenuSubTriggerProps, CopyButtonFeedbackProps, CopyButtonProps, DrawerAsChildProps, DrawerCloseProps, DrawerContentProps, DrawerRootProps, DrawerTriggerProps, DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuLabelProps, DropdownMenuSubContentProps, DropdownMenuSubTriggerProps, ExtractColorOptions, ExtractedColor, FeedbackStateAction, FeedbackStateIcon, FeedbackStateIconName, FeedbackStateProps, FieldContentProps, FieldDescriptionProps, FieldErrorProps, FieldGroupProps, FieldLabelProps, FieldLegendProps, FieldProps, FieldSeparatorProps, FieldSetProps, FieldTitleProps, FramePanelProps, FrameProps, HoverCardContentProps, InputGroupAddonAlign, InputGroupAddonProps, InputGroupButtonProps, InputGroupInputProps, InputGroupProps, InputGroupTextProps, InputGroupTextareaProps, InputProps, ItemGroupProps, ItemMediaProps, ItemProps, ItemSeparatorProps, KbdProps, LabelProps, LoadMoreTriggerProps, MarqueeProps, MenubarCheckboxItemProps, MenubarRadioItemProps, MessageEventProps, MessageListProps, MessageProps, PaginationContentProps, PaginationEllipsisProps, PaginationItemProps, PaginationLinkProps, PaginationNextProps, PaginationPreviousProps, PaginationProps, PanelSettingButtonProps, PopoverContentProps, PortalContainer, PortalContainerProviderProps, PreviewCardPopupProps, ProgressProps, ProgressiveBlurProps, RadioGroupProps, RadioProps, RatingProps, ResizableHandleProps, ResizableOrientation, ResizablePanelGroupProps, ResizablePanelProps, ScrollAreaViewportProps, SearchFieldProps, SegmentedControlItem, SegmentedControlProps, SeparatorProps, SheetFooterProps, SheetPanelProps, SheetPopupProps, SheetSide, SheetVariant, SheetViewportProps, SidebarContextProps, SidebarMenuButtonProps, SidebarMenuSubButtonProps, SidebarNavCollapsibleItemProps, SidebarNavGroupProps, SidebarNavLinkItemProps, SidebarNavSubLinkItemProps, SidebarNavSubListProps, SidebarProps, SidebarProviderProps, SliderProps, SliderRootProps, SwitchProps, TableBodyProps, TableCaptionProps, TableCellProps, TableFooterProps, TableHeadProps, TableHeaderProps, TableProps, TableRowProps, TabsListProps, TabsPanelProps, TabsTabProps, TextTickerProps, TextareaProps, ToasterProps, ToggleGroupItemProps, ToggleGroupProps, ToggleGroupSeparatorProps, ToggleProps, UIProviderProps, UseCardCursorOptions, UseExtractColorOptions, UseExtractColorReturn };
|