@salemcobalt/ui 0.2.0-rc.0 → 0.2.0-rc.2

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/index.d.ts CHANGED
@@ -1,9 +1,13 @@
1
1
  import * as react from 'react';
2
- import { ComponentPropsWithRef, ReactNode, ReactElement } from 'react';
2
+ import { ComponentPropsWithRef, ReactNode, ReactElement, CSSProperties } from 'react';
3
3
  import { useRender } from '@base-ui/react/use-render';
4
4
  import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
5
5
  import * as _base_ui_react from '@base-ui/react';
6
6
  import { Menu as Menu$1 } from '@base-ui/react/menu';
7
+ import { Checkbox as Checkbox$1 } from '@base-ui/react/checkbox';
8
+ import { Switch as Switch$1 } from '@base-ui/react/switch';
9
+ import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
10
+ import { Toolbar as Toolbar$1 } from '@base-ui/react/toolbar';
7
11
 
8
12
  type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'danger';
9
13
  type ButtonSize = 'sm' | 'md' | 'lg';
@@ -63,7 +67,7 @@ type SpacingSize = 'none' | '3xs' | '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '
63
67
 
64
68
  type StackAlign = 'stretch' | 'start' | 'center' | 'end';
65
69
  type StackJustify = 'start' | 'center' | 'end' | 'between';
66
- type StackElement = 'div' | 'section' | 'ul' | 'ol' | 'nav' | 'form';
70
+ type StackElement = 'div' | 'section' | 'article' | 'ul' | 'ol' | 'li' | 'nav' | 'form' | 'fieldset' | 'header' | 'footer' | 'main' | 'aside' | 'dl';
67
71
  interface StackProps extends ComponentPropsWithRef<'div'> {
68
72
  /** Gap from the spacing scale. Default `sm` (12px). */
69
73
  gap?: SpacingSize | undefined;
@@ -71,7 +75,7 @@ interface StackProps extends ComponentPropsWithRef<'div'> {
71
75
  align?: StackAlign | undefined;
72
76
  /** Main-axis distribution. Default `start`. */
73
77
  justify?: StackJustify | undefined;
74
- /** Element to render. Use `ul`/`ol` for lists so semantics survive the layout. */
78
+ /** Element to render. Use `ul`/`ol` for lists and `li` for an item that stacks its own content, so semantics survive the layout. */
75
79
  as?: StackElement | undefined;
76
80
  /** Lays out as `inline-flex`. */
77
81
  inline?: boolean | undefined;
@@ -369,7 +373,7 @@ declare function Stack({ gap, align, justify, as, inline, className, ...rest }:
369
373
 
370
374
  type InlineAlign = 'center' | 'start' | 'end' | 'baseline' | 'stretch';
371
375
  type InlineJustify = 'start' | 'center' | 'end' | 'between';
372
- type InlineElement = 'div' | 'span' | 'ul' | 'nav';
376
+ type InlineElement = 'div' | 'span' | 'ul' | 'ol' | 'li' | 'nav' | 'header' | 'footer' | 'p' | 'label' | 'dd';
373
377
  interface InlineProps extends ComponentPropsWithRef<'div'> {
374
378
  /** Gap from the spacing scale. Default `xs` (8px). */
375
379
  gap?: SpacingSize | undefined;
@@ -379,7 +383,7 @@ interface InlineProps extends ComponentPropsWithRef<'div'> {
379
383
  justify?: InlineJustify | undefined;
380
384
  /** Wraps by default; `false` for toolbars that scroll. */
381
385
  wrap?: boolean | undefined;
382
- /** Element to render. */
386
+ /** Element to render. Use `ul`/`ol` for a row of items and `li` for an item laid out as a row. */
383
387
  as?: InlineElement | undefined;
384
388
  children?: ReactNode | undefined;
385
389
  }
@@ -702,7 +706,7 @@ interface DialogRootProps {
702
706
  children?: ReactNode | undefined;
703
707
  }
704
708
  /** Owns the open state. Wrap a `Dialog.Trigger` and a `Dialog.Content`. */
705
- declare function Root$1({ dismissible, onOpenChange, open, defaultOpen, children }: DialogRootProps): react.JSX.Element;
709
+ declare function Root$4({ dismissible, onOpenChange, open, defaultOpen, children }: DialogRootProps): react.JSX.Element;
706
710
  interface DialogContentProps extends Omit<Dialog$1.Popup.Props, 'className'> {
707
711
  /** `sm` 400px for yes/no, `md` 560px (default) for a short form, `lg` 720px rarely. */
708
712
  size?: DialogSize | undefined;
@@ -722,7 +726,7 @@ interface DialogDescriptionProps extends Omit<Dialog$1.Description.Props, 'class
722
726
  declare function Description({ className, ...rest }: DialogDescriptionProps): react.JSX.Element;
723
727
  type DialogBodyProps = ComponentPropsWithRef<'div'>;
724
728
  /** Free content between the description and the actions. */
725
- declare function Body({ className, ...rest }: DialogBodyProps): react.JSX.Element;
729
+ declare function Body$1({ className, ...rest }: DialogBodyProps): react.JSX.Element;
726
730
  type DialogActionsProps = Omit<InlineProps, 'justify'>;
727
731
  /** Right-aligned row of Buttons. Put the confirming action last. */
728
732
  declare function Actions({ className, ...rest }: DialogActionsProps): react.JSX.Element;
@@ -733,12 +737,12 @@ interface DialogCloseProps extends Omit<Dialog$1.Close.Props, 'className'> {
733
737
  declare function Close({ className, children, render, ...rest }: DialogCloseProps): react.JSX.Element;
734
738
  /** A modal that interrupts for a decision or a short form. Built on Base UI's Dialog. */
735
739
  declare const Dialog: {
736
- Root: typeof Root$1;
740
+ Root: typeof Root$4;
737
741
  Trigger: Dialog$1.Trigger;
738
742
  Content: typeof Content$1;
739
743
  Title: typeof Title;
740
744
  Description: typeof Description;
741
- Body: typeof Body;
745
+ Body: typeof Body$1;
742
746
  Actions: typeof Actions;
743
747
  Close: typeof Close;
744
748
  };
@@ -762,10 +766,14 @@ declare function Icon({ size, title, className, children, ...rest }: IconProps):
762
766
 
763
767
  /** `archive` */
764
768
  declare function ArchiveIcon(props: IconGlyphProps): react.JSX.Element;
769
+ /** `arrow-down` */
770
+ declare function ArrowDownIcon(props: IconGlyphProps): react.JSX.Element;
765
771
  /** `arrow-left` */
766
772
  declare function ArrowLeftIcon(props: IconGlyphProps): react.JSX.Element;
767
773
  /** `arrow-right` */
768
774
  declare function ArrowRightIcon(props: IconGlyphProps): react.JSX.Element;
775
+ /** `arrow-up` */
776
+ declare function ArrowUpIcon(props: IconGlyphProps): react.JSX.Element;
769
777
  /** `bell` */
770
778
  declare function BellIcon(props: IconGlyphProps): react.JSX.Element;
771
779
  /** `briefcase` */
@@ -856,7 +864,7 @@ declare function WarningIcon(props: IconGlyphProps): react.JSX.Element;
856
864
  declare function XIcon(props: IconGlyphProps): react.JSX.Element;
857
865
 
858
866
  /** Every icon shipped by this package, as `<Name>Icon` components. */
859
- declare const iconNames: readonly ["archive", "arrow-left", "arrow-right", "bell", "briefcase", "calendar", "check", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "circle-check", "circle-x", "clock", "copy", "document", "download", "edit", "external-link", "eye", "filter", "flag", "inbox", "info", "link", "mail", "map-pin", "menu", "minus", "moon", "more-horizontal", "more-vertical", "pause", "play", "plus", "refresh", "search", "settings", "star", "sun", "thumbs-down", "thumbs-up", "trash", "undo", "user", "warning", "x"];
867
+ declare const iconNames: readonly ["archive", "arrow-down", "arrow-left", "arrow-right", "arrow-up", "bell", "briefcase", "calendar", "check", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "circle-check", "circle-x", "clock", "copy", "document", "download", "edit", "external-link", "eye", "filter", "flag", "inbox", "info", "link", "mail", "map-pin", "menu", "minus", "moon", "more-horizontal", "more-vertical", "pause", "play", "plus", "refresh", "search", "settings", "star", "sun", "thumbs-down", "thumbs-up", "trash", "undo", "user", "warning", "x"];
860
868
  type IconName = (typeof iconNames)[number];
861
869
 
862
870
  type TooltipSide = 'top' | 'bottom' | 'left' | 'right';
@@ -931,7 +939,7 @@ interface MenuRootProps {
931
939
  children?: ReactNode | undefined;
932
940
  }
933
941
  /** Owns the open state. Wrap a `Menu.Trigger` and a `Menu.Content`. */
934
- declare function Root({ open, defaultOpen, onOpenChange, disabled, modal, children }: MenuRootProps): react.JSX.Element;
942
+ declare function Root$3({ open, defaultOpen, onOpenChange, disabled, modal, children }: MenuRootProps): react.JSX.Element;
935
943
  interface MenuTriggerProps extends Omit<Menu$1.Trigger.Props, 'className'> {
936
944
  className?: string | undefined;
937
945
  }
@@ -1005,15 +1013,15 @@ interface MenuGroupProps extends Omit<Menu$1.Group.Props, 'className'> {
1005
1013
  className?: string | undefined;
1006
1014
  }
1007
1015
  /** Labels a run of items. */
1008
- declare function Group({ label, className, children, ...rest }: MenuGroupProps): react.JSX.Element;
1016
+ declare function Group$1({ label, className, children, ...rest }: MenuGroupProps): react.JSX.Element;
1009
1017
  interface MenuSeparatorProps extends Omit<Menu$1.Separator.Props, 'className'> {
1010
1018
  className?: string | undefined;
1011
1019
  }
1012
1020
  /** A hairline between runs of items. */
1013
- declare function Separator({ className, ...rest }: MenuSeparatorProps): react.JSX.Element;
1021
+ declare function Separator$1({ className, ...rest }: MenuSeparatorProps): react.JSX.Element;
1014
1022
  /** A dropdown of actions on a trigger, with full keyboard support. Built on Base UI's Menu. */
1015
1023
  declare const Menu: {
1016
- Root: typeof Root;
1024
+ Root: typeof Root$3;
1017
1025
  Trigger: typeof Trigger;
1018
1026
  Content: typeof Content;
1019
1027
  Item: typeof Item;
@@ -1021,11 +1029,975 @@ declare const Menu: {
1021
1029
  CheckboxItem: typeof CheckboxItem;
1022
1030
  RadioGroup: typeof RadioGroup;
1023
1031
  RadioItem: typeof RadioItem;
1032
+ Group: typeof Group$1;
1033
+ Separator: typeof Separator$1;
1034
+ };
1035
+
1036
+ type ControlSize = 'sm' | 'md' | 'lg';
1037
+ /** Props shared by every labelled form control: Input, Textarea, Select. */
1038
+ interface FieldProps {
1039
+ /** Required. The visible label; use `hideLabel` to keep it for assistive tech only. */
1040
+ label: ReactNode;
1041
+ /** Visually hides the label (a search box with an icon, a table filter). */
1042
+ hideLabel?: boolean | undefined;
1043
+ /** Help text under the control, wired with `aria-describedby`. */
1044
+ description?: ReactNode | undefined;
1045
+ /** The error message. When given the control is invalid and the message is announced. */
1046
+ error?: ReactNode | undefined;
1047
+ /** Marks the control invalid without a message. */
1048
+ invalid?: boolean | undefined;
1049
+ /** Shows a mark after the label and sets the native `required`. */
1050
+ required?: boolean | undefined;
1051
+ disabled?: boolean | undefined;
1052
+ /** Identifies the value when a form is submitted. */
1053
+ name?: string | undefined;
1054
+ /** Control height: 32, 40 (default) or 48px. Compact density shrinks each by one step. */
1055
+ size?: ControlSize | undefined;
1056
+ /** Class on the wrapper, not the control. */
1057
+ className?: string | undefined;
1058
+ }
1059
+
1060
+ interface InputProps extends Omit<ComponentPropsWithRef<'input'>, 'size' | 'name' | 'disabled' | 'required' | 'className'>, FieldProps {
1061
+ /** A 16px icon inside the start edge, for search and URL fields. Decorative. */
1062
+ iconStart?: ReactNode | undefined;
1063
+ /** A 16px icon inside the end edge. Decorative; use an `IconButton` outside the field for an action. */
1064
+ iconEnd?: ReactNode | undefined;
1065
+ /** Called with the string value on every change, beside the native `onChange`. */
1066
+ onValueChange?: ((value: string) => void) | undefined;
1067
+ }
1068
+ /** A labelled single-line text field. Renders a native `<input>` inside Base UI's Field. */
1069
+ declare function Input({ label, hideLabel, description, error, invalid, required, disabled, name, size, className, iconStart, iconEnd, onValueChange, ...rest }: InputProps): react.JSX.Element;
1070
+
1071
+ interface TextareaProps extends Omit<ComponentPropsWithRef<'textarea'>, 'name' | 'disabled' | 'required' | 'className'>, Omit<FieldProps, 'size'> {
1072
+ /** Visible lines. Default 3. */
1073
+ rows?: number | undefined;
1074
+ /** `vertical` (default) lets the user drag it taller; `none` fixes the height. */
1075
+ resize?: 'vertical' | 'none' | undefined;
1076
+ /** Called with the string value on every change, beside the native `onChange`. */
1077
+ onValueChange?: ((value: string) => void) | undefined;
1078
+ }
1079
+ /** A labelled multi-line text field. Renders a native `<textarea>` inside Base UI's Field. */
1080
+ declare function Textarea({ label, hideLabel, description, error, invalid, required, disabled, name, className, rows, resize, onValueChange, ...rest }: TextareaProps): react.JSX.Element;
1081
+
1082
+ interface SelectOption<Value extends string = string> {
1083
+ value: Value;
1084
+ label: ReactNode;
1085
+ disabled?: boolean | undefined;
1086
+ }
1087
+ interface SelectGroup<Value extends string = string> {
1088
+ /** Heading shown above the group's options. */
1089
+ label: ReactNode;
1090
+ options: SelectOption<Value>[];
1091
+ }
1092
+ interface SelectProps<Value extends string = string> extends FieldProps {
1093
+ /** Flat options, or groups of options with a heading. */
1094
+ options: Array<SelectOption<Value> | SelectGroup<Value>>;
1095
+ /** Controlled value; `null` for none. */
1096
+ value?: Value | null | undefined;
1097
+ /** Initial value when uncontrolled. */
1098
+ defaultValue?: Value | null | undefined;
1099
+ /** Called with the chosen value. */
1100
+ onValueChange?: ((value: Value | null) => void) | undefined;
1101
+ /** Shown in the trigger while nothing is chosen. */
1102
+ placeholder?: ReactNode | undefined;
1103
+ /** Prevents choosing a different option. */
1104
+ readOnly?: boolean | undefined;
1105
+ /** Stretches the trigger to the container. */
1106
+ fullWidth?: boolean | undefined;
1107
+ id?: string | undefined;
1108
+ }
1109
+ /**
1110
+ * A labelled single-choice dropdown. Built on Base UI's Select so the list is styled and keyboard
1111
+ * complete; submits like a native select through `name`.
1112
+ */
1113
+ declare function Select<Value extends string = string>({ label, hideLabel, description, error, invalid, required, disabled, name, size, className, options, value, defaultValue, onValueChange, placeholder, readOnly, fullWidth, id, }: SelectProps<Value>): react.JSX.Element;
1114
+
1115
+ interface CheckboxProps extends Omit<Checkbox$1.Root.Props, 'className' | 'onCheckedChange' | 'render' | 'children'> {
1116
+ /** Required. The visible label; clicking it toggles the box. */
1117
+ label: ReactNode;
1118
+ /** Help text under the label, wired with `aria-describedby`. */
1119
+ description?: ReactNode | undefined;
1120
+ /** Called with the next checked state. */
1121
+ onCheckedChange?: ((checked: boolean) => void) | undefined;
1122
+ className?: string | undefined;
1123
+ }
1124
+ /** A labelled checkbox. `indeterminate` shows a dash for "some of these". Built on Base UI's Checkbox. */
1125
+ declare function Checkbox({ label, description, onCheckedChange, className, disabled, ...rest }: CheckboxProps): react.JSX.Element;
1126
+
1127
+ interface SwitchProps extends Omit<Switch$1.Root.Props, 'className' | 'onCheckedChange' | 'render' | 'children'> {
1128
+ /** Required. The visible label; clicking it flips the switch. */
1129
+ label: ReactNode;
1130
+ /** Help text under the label, wired with `aria-describedby`. */
1131
+ description?: ReactNode | undefined;
1132
+ /** Called with the next checked state. */
1133
+ onCheckedChange?: ((checked: boolean) => void) | undefined;
1134
+ /** `end` (default) puts the switch before the label; `start` puts the label first and the switch at the row's end. */
1135
+ labelPosition?: 'start' | 'end' | undefined;
1136
+ className?: string | undefined;
1137
+ }
1138
+ /** A labelled on/off switch for settings that apply at once. Built on Base UI's Switch. */
1139
+ declare function Switch({ label, description, onCheckedChange, labelPosition, className, disabled, ...rest }: SwitchProps): react.JSX.Element;
1140
+
1141
+ interface TabsRootProps extends Omit<Tabs$1.Root.Props, 'className' | 'value' | 'defaultValue' | 'onValueChange'> {
1142
+ /** Controlled active tab. */
1143
+ value?: string | undefined;
1144
+ /** Initial active tab when uncontrolled. Defaults to the first enabled tab. */
1145
+ defaultValue?: string | undefined;
1146
+ /** Called with the value of the newly active tab. */
1147
+ onValueChange?: ((value: string) => void) | undefined;
1148
+ className?: string | undefined;
1149
+ }
1150
+ /** Owns the active tab. Wrap a `Tabs.List` and one `Tabs.Panel` per tab. */
1151
+ declare function Root$2({ className, onValueChange, ...rest }: TabsRootProps): react.JSX.Element;
1152
+ interface TabsListProps extends Omit<Tabs$1.List.Props, 'className'> {
1153
+ /** Names the set of tabs for assistive tech: "Inbox sections". */
1154
+ 'aria-label': string;
1155
+ /** Tabs share the width equally instead of sizing to their labels. */
1156
+ fill?: boolean | undefined;
1157
+ className?: string | undefined;
1158
+ }
1159
+ /** The row of tabs with the sliding indicator. Arrow keys move between tabs; Enter or Space activates. */
1160
+ declare function List({ fill, className, children, ...rest }: TabsListProps): react.JSX.Element;
1161
+ interface TabsTabProps extends Omit<Tabs$1.Tab.Props, 'className' | 'value'> {
1162
+ value: string;
1163
+ /** A 16px icon before the label. */
1164
+ icon?: ReactNode | undefined;
1165
+ /** A count after the label, muted: `12`. */
1166
+ count?: ReactNode | undefined;
1167
+ className?: string | undefined;
1168
+ }
1169
+ /** One tab. */
1170
+ declare function Tab({ icon, count, className, children, ...rest }: TabsTabProps): react.JSX.Element;
1171
+ interface TabsPanelProps extends Omit<Tabs$1.Panel.Props, 'className' | 'value'> {
1172
+ value: string;
1173
+ className?: string | undefined;
1174
+ }
1175
+ /** The content of one tab. Unmounted while hidden unless `keepMounted`. */
1176
+ declare function Panel({ className, ...rest }: TabsPanelProps): react.JSX.Element;
1177
+ /** Switches between sections of one view. Built on Base UI's Tabs. */
1178
+ declare const Tabs: {
1179
+ Root: typeof Root$2;
1180
+ List: typeof List;
1181
+ Tab: typeof Tab;
1182
+ Panel: typeof Panel;
1183
+ };
1184
+
1185
+ interface ToolbarRootProps extends Omit<Toolbar$1.Root.Props, 'className'> {
1186
+ /** Required. Names the toolbar for assistive tech: "Inbox actions". */
1187
+ 'aria-label': string;
1188
+ /** Wraps onto new lines on narrow widths (default). `false` keeps one line that overflows. */
1189
+ wrap?: boolean | undefined;
1190
+ /** Gap between items and groups. Default `xs`. */
1191
+ gap?: SpacingSize | undefined;
1192
+ className?: string | undefined;
1193
+ }
1194
+ /**
1195
+ * A row of controls with one tab stop: Tab enters, arrow keys move between items, Tab leaves. Put every
1196
+ * control through `Toolbar.Button` (`render={<IconButton … />}`) so it joins the roving focus.
1197
+ */
1198
+ declare function Root$1({ wrap, gap, className, ...rest }: ToolbarRootProps): react.JSX.Element;
1199
+ interface ToolbarGroupProps extends Omit<Toolbar$1.Group.Props, 'className'> {
1200
+ /** Names the group: "Playback". */
1201
+ 'aria-label'?: string | undefined;
1202
+ /** Gap inside the group. Default `2xs`. */
1203
+ gap?: SpacingSize | undefined;
1204
+ className?: string | undefined;
1205
+ }
1206
+ /** Keeps related controls together with a tighter gap. */
1207
+ declare function Group({ gap, className, ...rest }: ToolbarGroupProps): react.JSX.Element;
1208
+ interface ToolbarSeparatorProps extends Omit<Toolbar$1.Separator.Props, 'className'> {
1209
+ className?: string | undefined;
1210
+ }
1211
+ /** A hairline between groups. */
1212
+ declare function Separator({ className, ...rest }: ToolbarSeparatorProps): react.JSX.Element;
1213
+ interface ToolbarButtonProps extends Omit<Toolbar$1.Button.Props, 'className'> {
1214
+ className?: string | undefined;
1215
+ }
1216
+ interface ToolbarSpacerProps {
1217
+ className?: string | undefined;
1218
+ }
1219
+ /** Pushes what follows to the far end. */
1220
+ declare function Spacer({ className }: ToolbarSpacerProps): react.JSX.Element;
1221
+ /** A horizontal container of controls. Built on Base UI's Toolbar. */
1222
+ declare const Toolbar: {
1223
+ Root: typeof Root$1;
1024
1224
  Group: typeof Group;
1025
1225
  Separator: typeof Separator;
1226
+ Button: react.ForwardRefExoticComponent<Omit<_base_ui_react.ToolbarButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
1227
+ Spacer: typeof Spacer;
1026
1228
  };
1027
1229
 
1230
+ type BannerTone = 'info' | 'success' | 'warning' | 'danger' | 'neutral';
1231
+ interface BannerProps extends ComponentPropsWithRef<'div'> {
1232
+ /** Colour and default icon. `warning` and `danger` are announced as alerts; the rest as status. */
1233
+ tone?: BannerTone | undefined;
1234
+ /** Replaces the tone's icon; `false` removes it. */
1235
+ icon?: ReactNode | false | undefined;
1236
+ /** One Button, usually `variant="ghost" size="sm"`, at the end of the strip. */
1237
+ action?: ReactNode | undefined;
1238
+ /** Shows a close button that hides the banner. */
1239
+ dismissible?: boolean | undefined;
1240
+ /** Called when the close button is pressed. */
1241
+ onDismiss?: (() => void) | undefined;
1242
+ /** Controlled visibility when dismissible. */
1243
+ open?: boolean | undefined;
1244
+ /** Accessible name of the close button. Default "Dismiss". */
1245
+ dismissLabel?: string | undefined;
1246
+ }
1247
+ /** A single-line status strip across the top of a view: paused, offline, "3 new since you looked". */
1248
+ declare function Banner({ tone, icon, action, dismissible, onDismiss, open, dismissLabel, role, className, children, ...rest }: BannerProps): react.JSX.Element | null;
1249
+
1250
+ interface SpinnerProps extends ComponentPropsWithRef<'span'> {
1251
+ /** `xs` 12, `sm` 14, `md` 16 (default), `lg` 20, `xl` 24, or `em` to follow the font size. */
1252
+ size?: IconSize | undefined;
1253
+ /** What is happening, announced once as a status. Default "Loading". */
1254
+ label?: string | undefined;
1255
+ /** Hides it from assistive tech when the text beside it already says what is happening. */
1256
+ decorative?: boolean | undefined;
1257
+ }
1258
+ /** An indeterminate activity indicator in `currentColor`. Slows down, never stops, under reduced motion. */
1259
+ declare function Spinner({ size, label, decorative, className, ...rest }: SpinnerProps): react.JSX.Element;
1260
+
1261
+ type ProgressTone = 'accent' | 'success' | 'warning' | 'danger' | 'neutral';
1262
+ type ProgressSize = 'sm' | 'md';
1263
+ type ProgressVariant = 'bar' | 'inline';
1264
+ interface ProgressProps extends Omit<ComponentPropsWithRef<'div'>, 'children'> {
1265
+ /** Current value. Omit or pass `null` while the amount of work is unknown (indeterminate). */
1266
+ value?: number | null | undefined;
1267
+ /** Default 100. Pass the total so `value` can be a count: `value={460} max={859}`. */
1268
+ max?: number | undefined;
1269
+ /** Default 0. */
1270
+ min?: number | undefined;
1271
+ /** What is happening: "Verifying". Visible, and names the bar for assistive tech. */
1272
+ label?: ReactNode | undefined;
1273
+ /** Detail at the end: "460 of 859 · 3 min elapsed". A string also becomes `aria-valuetext`. */
1274
+ valueText?: ReactNode | undefined;
1275
+ /** Shows the percentage when `valueText` is not given. */
1276
+ showValue?: boolean | undefined;
1277
+ /** Fill colour. Default `accent`; `success` when done, `danger` when it failed. */
1278
+ tone?: ProgressTone | undefined;
1279
+ /** Bar thickness: `sm` 4px, `md` 8px (default). Inline uses the text size. */
1280
+ size?: ProgressSize | undefined;
1281
+ /** `bar` (default) is label, value and a track; `inline` is a Spinner beside the text for toolbars and buttons. */
1282
+ variant?: ProgressVariant | undefined;
1283
+ /** Names the bar when there is no `label`. */
1284
+ 'aria-label'?: string | undefined;
1285
+ }
1286
+ /**
1287
+ * Says that something is processing and, when known, how far along it is. Built on Base UI's Progress:
1288
+ * `role="progressbar"` with the aria value attributes, or none while indeterminate.
1289
+ */
1290
+ declare function Progress({ value, max, min, label, valueText, showValue, tone, size, variant, className, ...rest }: ProgressProps): react.JSX.Element;
1291
+
1292
+ type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
1293
+ type HeadingSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl';
1294
+ type HeadingElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div' | 'span' | 'p';
1295
+ type TextTone = 'default' | 'muted' | 'subtle' | 'accent' | 'success' | 'warning' | 'danger' | 'info';
1296
+ interface HeadingProps extends ComponentPropsWithRef<'h2'> {
1297
+ /** The outline level, rendered as `h1`–`h6`. Default 2. */
1298
+ level?: HeadingLevel | undefined;
1299
+ /** Visual size from the type scale, independent of the level. Defaults by level: 3xl, 2xl, xl, lg, md, sm. */
1300
+ size?: HeadingSize | undefined;
1301
+ /** Render a different element and keep the look; `div`/`span` for a card title that is not an outline entry. */
1302
+ as?: HeadingElement | undefined;
1303
+ /** Colour. Default is the text colour. */
1304
+ tone?: TextTone | undefined;
1305
+ /** One line with an ellipsis. */
1306
+ truncate?: boolean | undefined;
1307
+ }
1308
+ /** A heading from the type scale. `level` is the semantics, `size` the look; they are set separately on purpose. */
1309
+ declare function Heading({ level, size, as, tone, truncate, className, ...rest }: HeadingProps): react.DetailedReactHTMLElement<{
1310
+ ref?: react.Ref<HTMLHeadingElement> | undefined;
1311
+ key?: react.Key | null | undefined;
1312
+ defaultChecked?: boolean | undefined;
1313
+ defaultValue?: string | number | readonly string[] | undefined;
1314
+ suppressContentEditableWarning?: boolean | undefined;
1315
+ suppressHydrationWarning?: boolean | undefined;
1316
+ accessKey?: string | undefined;
1317
+ autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
1318
+ autoFocus?: boolean | undefined;
1319
+ contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
1320
+ contextMenu?: string | undefined;
1321
+ dir?: string | undefined;
1322
+ draggable?: (boolean | "true" | "false") | undefined;
1323
+ enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
1324
+ hidden?: boolean | undefined;
1325
+ id?: string | undefined;
1326
+ lang?: string | undefined;
1327
+ nonce?: string | undefined;
1328
+ slot?: string | undefined;
1329
+ spellCheck?: (boolean | "true" | "false") | undefined;
1330
+ style?: react.CSSProperties | undefined;
1331
+ tabIndex?: number | undefined;
1332
+ title?: string | undefined;
1333
+ translate?: "yes" | "no" | undefined;
1334
+ radioGroup?: string | undefined;
1335
+ role?: react.AriaRole | undefined;
1336
+ about?: string | undefined;
1337
+ content?: string | undefined;
1338
+ datatype?: string | undefined;
1339
+ inlist?: any;
1340
+ prefix?: string | undefined;
1341
+ property?: string | undefined;
1342
+ rel?: string | undefined;
1343
+ resource?: string | undefined;
1344
+ rev?: string | undefined;
1345
+ typeof?: string | undefined;
1346
+ vocab?: string | undefined;
1347
+ autoCorrect?: string | undefined;
1348
+ autoSave?: string | undefined;
1349
+ color?: string | undefined;
1350
+ itemProp?: string | undefined;
1351
+ itemScope?: boolean | undefined;
1352
+ itemType?: string | undefined;
1353
+ itemID?: string | undefined;
1354
+ itemRef?: string | undefined;
1355
+ results?: number | undefined;
1356
+ security?: string | undefined;
1357
+ unselectable?: "on" | "off" | undefined;
1358
+ popover?: "" | "auto" | "manual" | "hint" | undefined;
1359
+ popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
1360
+ popoverTarget?: string | undefined;
1361
+ inert?: boolean | undefined;
1362
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
1363
+ is?: string | undefined;
1364
+ exportparts?: string | undefined;
1365
+ part?: string | undefined;
1366
+ "aria-activedescendant"?: string | undefined;
1367
+ "aria-atomic"?: (boolean | "true" | "false") | undefined;
1368
+ "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
1369
+ "aria-braillelabel"?: string | undefined;
1370
+ "aria-brailleroledescription"?: string | undefined;
1371
+ "aria-busy"?: (boolean | "true" | "false") | undefined;
1372
+ "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
1373
+ "aria-colcount"?: number | undefined;
1374
+ "aria-colindex"?: number | undefined;
1375
+ "aria-colindextext"?: string | undefined;
1376
+ "aria-colspan"?: number | undefined;
1377
+ "aria-controls"?: string | undefined;
1378
+ "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
1379
+ "aria-describedby"?: string | undefined;
1380
+ "aria-description"?: string | undefined;
1381
+ "aria-details"?: string | undefined;
1382
+ "aria-disabled"?: (boolean | "true" | "false") | undefined;
1383
+ "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
1384
+ "aria-errormessage"?: string | undefined;
1385
+ "aria-expanded"?: (boolean | "true" | "false") | undefined;
1386
+ "aria-flowto"?: string | undefined;
1387
+ "aria-grabbed"?: (boolean | "true" | "false") | undefined;
1388
+ "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
1389
+ "aria-hidden"?: (boolean | "true" | "false") | undefined;
1390
+ "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
1391
+ "aria-keyshortcuts"?: string | undefined;
1392
+ "aria-label"?: string | undefined;
1393
+ "aria-labelledby"?: string | undefined;
1394
+ "aria-level"?: number | undefined;
1395
+ "aria-live"?: "off" | "assertive" | "polite" | undefined;
1396
+ "aria-modal"?: (boolean | "true" | "false") | undefined;
1397
+ "aria-multiline"?: (boolean | "true" | "false") | undefined;
1398
+ "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
1399
+ "aria-orientation"?: "horizontal" | "vertical" | undefined;
1400
+ "aria-owns"?: string | undefined;
1401
+ "aria-placeholder"?: string | undefined;
1402
+ "aria-posinset"?: number | undefined;
1403
+ "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
1404
+ "aria-readonly"?: (boolean | "true" | "false") | undefined;
1405
+ "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
1406
+ "aria-required"?: (boolean | "true" | "false") | undefined;
1407
+ "aria-roledescription"?: string | undefined;
1408
+ "aria-rowcount"?: number | undefined;
1409
+ "aria-rowindex"?: number | undefined;
1410
+ "aria-rowindextext"?: string | undefined;
1411
+ "aria-rowspan"?: number | undefined;
1412
+ "aria-selected"?: (boolean | "true" | "false") | undefined;
1413
+ "aria-setsize"?: number | undefined;
1414
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
1415
+ "aria-valuemax"?: number | undefined;
1416
+ "aria-valuemin"?: number | undefined;
1417
+ "aria-valuenow"?: number | undefined;
1418
+ "aria-valuetext"?: string | undefined;
1419
+ children?: react.ReactNode | undefined;
1420
+ dangerouslySetInnerHTML?: {
1421
+ __html: string | TrustedHTML;
1422
+ } | undefined;
1423
+ onCopy?: react.ClipboardEventHandler<HTMLHeadingElement> | undefined;
1424
+ onCopyCapture?: react.ClipboardEventHandler<HTMLHeadingElement> | undefined;
1425
+ onCut?: react.ClipboardEventHandler<HTMLHeadingElement> | undefined;
1426
+ onCutCapture?: react.ClipboardEventHandler<HTMLHeadingElement> | undefined;
1427
+ onPaste?: react.ClipboardEventHandler<HTMLHeadingElement> | undefined;
1428
+ onPasteCapture?: react.ClipboardEventHandler<HTMLHeadingElement> | undefined;
1429
+ onCompositionEnd?: react.CompositionEventHandler<HTMLHeadingElement> | undefined;
1430
+ onCompositionEndCapture?: react.CompositionEventHandler<HTMLHeadingElement> | undefined;
1431
+ onCompositionStart?: react.CompositionEventHandler<HTMLHeadingElement> | undefined;
1432
+ onCompositionStartCapture?: react.CompositionEventHandler<HTMLHeadingElement> | undefined;
1433
+ onCompositionUpdate?: react.CompositionEventHandler<HTMLHeadingElement> | undefined;
1434
+ onCompositionUpdateCapture?: react.CompositionEventHandler<HTMLHeadingElement> | undefined;
1435
+ onFocus?: react.FocusEventHandler<HTMLHeadingElement> | undefined;
1436
+ onFocusCapture?: react.FocusEventHandler<HTMLHeadingElement> | undefined;
1437
+ onBlur?: react.FocusEventHandler<HTMLHeadingElement> | undefined;
1438
+ onBlurCapture?: react.FocusEventHandler<HTMLHeadingElement> | undefined;
1439
+ onChange?: react.ChangeEventHandler<HTMLHeadingElement, Element> | undefined;
1440
+ onChangeCapture?: react.ChangeEventHandler<HTMLHeadingElement, Element> | undefined;
1441
+ onBeforeInput?: react.InputEventHandler<HTMLHeadingElement> | undefined;
1442
+ onBeforeInputCapture?: react.InputEventHandler<HTMLHeadingElement> | undefined;
1443
+ onInput?: react.InputEventHandler<HTMLHeadingElement> | undefined;
1444
+ onInputCapture?: react.InputEventHandler<HTMLHeadingElement> | undefined;
1445
+ onReset?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1446
+ onResetCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1447
+ onSubmit?: react.SubmitEventHandler<HTMLHeadingElement> | undefined;
1448
+ onSubmitCapture?: react.SubmitEventHandler<HTMLHeadingElement> | undefined;
1449
+ onInvalid?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1450
+ onInvalidCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1451
+ onLoad?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1452
+ onLoadCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1453
+ onError?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1454
+ onErrorCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1455
+ onKeyDown?: react.KeyboardEventHandler<HTMLHeadingElement> | undefined;
1456
+ onKeyDownCapture?: react.KeyboardEventHandler<HTMLHeadingElement> | undefined;
1457
+ onKeyPress?: react.KeyboardEventHandler<HTMLHeadingElement> | undefined;
1458
+ onKeyPressCapture?: react.KeyboardEventHandler<HTMLHeadingElement> | undefined;
1459
+ onKeyUp?: react.KeyboardEventHandler<HTMLHeadingElement> | undefined;
1460
+ onKeyUpCapture?: react.KeyboardEventHandler<HTMLHeadingElement> | undefined;
1461
+ onAbort?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1462
+ onAbortCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1463
+ onCanPlay?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1464
+ onCanPlayCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1465
+ onCanPlayThrough?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1466
+ onCanPlayThroughCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1467
+ onDurationChange?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1468
+ onDurationChangeCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1469
+ onEmptied?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1470
+ onEmptiedCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1471
+ onEncrypted?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1472
+ onEncryptedCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1473
+ onEnded?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1474
+ onEndedCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1475
+ onLoadedData?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1476
+ onLoadedDataCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1477
+ onLoadedMetadata?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1478
+ onLoadedMetadataCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1479
+ onLoadStart?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1480
+ onLoadStartCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1481
+ onPause?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1482
+ onPauseCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1483
+ onPlay?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1484
+ onPlayCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1485
+ onPlaying?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1486
+ onPlayingCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1487
+ onProgress?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1488
+ onProgressCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1489
+ onRateChange?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1490
+ onRateChangeCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1491
+ onSeeked?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1492
+ onSeekedCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1493
+ onSeeking?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1494
+ onSeekingCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1495
+ onStalled?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1496
+ onStalledCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1497
+ onSuspend?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1498
+ onSuspendCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1499
+ onTimeUpdate?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1500
+ onTimeUpdateCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1501
+ onVolumeChange?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1502
+ onVolumeChangeCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1503
+ onWaiting?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1504
+ onWaitingCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1505
+ onAuxClick?: react.MouseEventHandler<HTMLHeadingElement> | undefined;
1506
+ onAuxClickCapture?: react.MouseEventHandler<HTMLHeadingElement> | undefined;
1507
+ onClick?: react.MouseEventHandler<HTMLHeadingElement> | undefined;
1508
+ onClickCapture?: react.MouseEventHandler<HTMLHeadingElement> | undefined;
1509
+ onContextMenu?: react.MouseEventHandler<HTMLHeadingElement> | undefined;
1510
+ onContextMenuCapture?: react.MouseEventHandler<HTMLHeadingElement> | undefined;
1511
+ onDoubleClick?: react.MouseEventHandler<HTMLHeadingElement> | undefined;
1512
+ onDoubleClickCapture?: react.MouseEventHandler<HTMLHeadingElement> | undefined;
1513
+ onDrag?: react.DragEventHandler<HTMLHeadingElement> | undefined;
1514
+ onDragCapture?: react.DragEventHandler<HTMLHeadingElement> | undefined;
1515
+ onDragEnd?: react.DragEventHandler<HTMLHeadingElement> | undefined;
1516
+ onDragEndCapture?: react.DragEventHandler<HTMLHeadingElement> | undefined;
1517
+ onDragEnter?: react.DragEventHandler<HTMLHeadingElement> | undefined;
1518
+ onDragEnterCapture?: react.DragEventHandler<HTMLHeadingElement> | undefined;
1519
+ onDragExit?: react.DragEventHandler<HTMLHeadingElement> | undefined;
1520
+ onDragExitCapture?: react.DragEventHandler<HTMLHeadingElement> | undefined;
1521
+ onDragLeave?: react.DragEventHandler<HTMLHeadingElement> | undefined;
1522
+ onDragLeaveCapture?: react.DragEventHandler<HTMLHeadingElement> | undefined;
1523
+ onDragOver?: react.DragEventHandler<HTMLHeadingElement> | undefined;
1524
+ onDragOverCapture?: react.DragEventHandler<HTMLHeadingElement> | undefined;
1525
+ onDragStart?: react.DragEventHandler<HTMLHeadingElement> | undefined;
1526
+ onDragStartCapture?: react.DragEventHandler<HTMLHeadingElement> | undefined;
1527
+ onDrop?: react.DragEventHandler<HTMLHeadingElement> | undefined;
1528
+ onDropCapture?: react.DragEventHandler<HTMLHeadingElement> | undefined;
1529
+ onMouseDown?: react.MouseEventHandler<HTMLHeadingElement> | undefined;
1530
+ onMouseDownCapture?: react.MouseEventHandler<HTMLHeadingElement> | undefined;
1531
+ onMouseEnter?: react.MouseEventHandler<HTMLHeadingElement> | undefined;
1532
+ onMouseLeave?: react.MouseEventHandler<HTMLHeadingElement> | undefined;
1533
+ onMouseMove?: react.MouseEventHandler<HTMLHeadingElement> | undefined;
1534
+ onMouseMoveCapture?: react.MouseEventHandler<HTMLHeadingElement> | undefined;
1535
+ onMouseOut?: react.MouseEventHandler<HTMLHeadingElement> | undefined;
1536
+ onMouseOutCapture?: react.MouseEventHandler<HTMLHeadingElement> | undefined;
1537
+ onMouseOver?: react.MouseEventHandler<HTMLHeadingElement> | undefined;
1538
+ onMouseOverCapture?: react.MouseEventHandler<HTMLHeadingElement> | undefined;
1539
+ onMouseUp?: react.MouseEventHandler<HTMLHeadingElement> | undefined;
1540
+ onMouseUpCapture?: react.MouseEventHandler<HTMLHeadingElement> | undefined;
1541
+ onSelect?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1542
+ onSelectCapture?: react.ReactEventHandler<HTMLHeadingElement> | undefined;
1543
+ onTouchCancel?: react.TouchEventHandler<HTMLHeadingElement> | undefined;
1544
+ onTouchCancelCapture?: react.TouchEventHandler<HTMLHeadingElement> | undefined;
1545
+ onTouchEnd?: react.TouchEventHandler<HTMLHeadingElement> | undefined;
1546
+ onTouchEndCapture?: react.TouchEventHandler<HTMLHeadingElement> | undefined;
1547
+ onTouchMove?: react.TouchEventHandler<HTMLHeadingElement> | undefined;
1548
+ onTouchMoveCapture?: react.TouchEventHandler<HTMLHeadingElement> | undefined;
1549
+ onTouchStart?: react.TouchEventHandler<HTMLHeadingElement> | undefined;
1550
+ onTouchStartCapture?: react.TouchEventHandler<HTMLHeadingElement> | undefined;
1551
+ onPointerDown?: react.PointerEventHandler<HTMLHeadingElement> | undefined;
1552
+ onPointerDownCapture?: react.PointerEventHandler<HTMLHeadingElement> | undefined;
1553
+ onPointerMove?: react.PointerEventHandler<HTMLHeadingElement> | undefined;
1554
+ onPointerMoveCapture?: react.PointerEventHandler<HTMLHeadingElement> | undefined;
1555
+ onPointerUp?: react.PointerEventHandler<HTMLHeadingElement> | undefined;
1556
+ onPointerUpCapture?: react.PointerEventHandler<HTMLHeadingElement> | undefined;
1557
+ onPointerCancel?: react.PointerEventHandler<HTMLHeadingElement> | undefined;
1558
+ onPointerCancelCapture?: react.PointerEventHandler<HTMLHeadingElement> | undefined;
1559
+ onPointerEnter?: react.PointerEventHandler<HTMLHeadingElement> | undefined;
1560
+ onPointerLeave?: react.PointerEventHandler<HTMLHeadingElement> | undefined;
1561
+ onPointerOver?: react.PointerEventHandler<HTMLHeadingElement> | undefined;
1562
+ onPointerOverCapture?: react.PointerEventHandler<HTMLHeadingElement> | undefined;
1563
+ onPointerOut?: react.PointerEventHandler<HTMLHeadingElement> | undefined;
1564
+ onPointerOutCapture?: react.PointerEventHandler<HTMLHeadingElement> | undefined;
1565
+ onGotPointerCapture?: react.PointerEventHandler<HTMLHeadingElement> | undefined;
1566
+ onGotPointerCaptureCapture?: react.PointerEventHandler<HTMLHeadingElement> | undefined;
1567
+ onLostPointerCapture?: react.PointerEventHandler<HTMLHeadingElement> | undefined;
1568
+ onLostPointerCaptureCapture?: react.PointerEventHandler<HTMLHeadingElement> | undefined;
1569
+ onScroll?: react.UIEventHandler<HTMLHeadingElement> | undefined;
1570
+ onScrollCapture?: react.UIEventHandler<HTMLHeadingElement> | undefined;
1571
+ onScrollEnd?: react.UIEventHandler<HTMLHeadingElement> | undefined;
1572
+ onScrollEndCapture?: react.UIEventHandler<HTMLHeadingElement> | undefined;
1573
+ onWheel?: react.WheelEventHandler<HTMLHeadingElement> | undefined;
1574
+ onWheelCapture?: react.WheelEventHandler<HTMLHeadingElement> | undefined;
1575
+ onAnimationStart?: react.AnimationEventHandler<HTMLHeadingElement> | undefined;
1576
+ onAnimationStartCapture?: react.AnimationEventHandler<HTMLHeadingElement> | undefined;
1577
+ onAnimationEnd?: react.AnimationEventHandler<HTMLHeadingElement> | undefined;
1578
+ onAnimationEndCapture?: react.AnimationEventHandler<HTMLHeadingElement> | undefined;
1579
+ onAnimationIteration?: react.AnimationEventHandler<HTMLHeadingElement> | undefined;
1580
+ onAnimationIterationCapture?: react.AnimationEventHandler<HTMLHeadingElement> | undefined;
1581
+ onToggle?: react.ToggleEventHandler<HTMLHeadingElement> | undefined;
1582
+ onBeforeToggle?: react.ToggleEventHandler<HTMLHeadingElement> | undefined;
1583
+ onTransitionCancel?: react.TransitionEventHandler<HTMLHeadingElement> | undefined;
1584
+ onTransitionCancelCapture?: react.TransitionEventHandler<HTMLHeadingElement> | undefined;
1585
+ onTransitionEnd?: react.TransitionEventHandler<HTMLHeadingElement> | undefined;
1586
+ onTransitionEndCapture?: react.TransitionEventHandler<HTMLHeadingElement> | undefined;
1587
+ onTransitionRun?: react.TransitionEventHandler<HTMLHeadingElement> | undefined;
1588
+ onTransitionRunCapture?: react.TransitionEventHandler<HTMLHeadingElement> | undefined;
1589
+ onTransitionStart?: react.TransitionEventHandler<HTMLHeadingElement> | undefined;
1590
+ onTransitionStartCapture?: react.TransitionEventHandler<HTMLHeadingElement> | undefined;
1591
+ className: string;
1592
+ 'data-size': HeadingSize;
1593
+ 'data-tone': TextTone;
1594
+ 'data-truncate': true | undefined;
1595
+ }, HTMLHeadingElement>;
1596
+
1597
+ type TextSize = 'xs' | 'sm' | 'md' | 'lg';
1598
+ type TextWeight = 'regular' | 'medium' | 'semibold';
1599
+ type TextAlign = 'start' | 'center' | 'end';
1600
+ type TextElement = 'p' | 'span' | 'div' | 'label' | 'li' | 'dt' | 'dd' | 'strong' | 'em' | 'small' | 'time' | 'figcaption' | 'legend';
1601
+ interface TextProps extends ComponentPropsWithRef<'p'> {
1602
+ /** Element to render. Default `p`; `span` inside other text. */
1603
+ as?: TextElement | undefined;
1604
+ /** `xs` 12 captions, `sm` 14 UI text (default), `md` body copy, `lg` lede. */
1605
+ size?: TextSize | undefined;
1606
+ /** Colour. `muted` for metadata, `subtle` for placeholders, status tones for inline status. */
1607
+ tone?: TextTone | undefined;
1608
+ weight?: TextWeight | undefined;
1609
+ align?: TextAlign | undefined;
1610
+ /** `true` keeps one line with an ellipsis; a number clamps to that many lines. */
1611
+ truncate?: boolean | number | undefined;
1612
+ /** Tabular figures, for numbers that line up in columns. */
1613
+ numeric?: boolean | undefined;
1614
+ }
1615
+ /** Running text and labels from the type scale. Parents own spacing: Text has no margins. */
1616
+ declare function Text({ as, size, tone, weight, align, truncate, numeric, className, style, ...rest }: TextProps): ReactElement;
1617
+
1618
+ type TableAlign = 'start' | 'center' | 'end';
1619
+ type TableDensity = 'comfortable' | 'compact';
1620
+ interface TableRootProps extends Omit<ComponentPropsWithRef<'table'>, 'style'> {
1621
+ /** Column headers stay visible while the table scrolls. Give `maxHeight` to scroll inside the table; otherwise they stick to the page. */
1622
+ stickyHeader?: boolean | undefined;
1623
+ /** Limits the height and scrolls rows inside; pairs with `stickyHeader`. A CSS length. */
1624
+ maxHeight?: string | undefined;
1625
+ /** `compact` tightens row height and padding; `data-density="compact"` on an ancestor does the same. */
1626
+ density?: TableDensity | undefined;
1627
+ /** Hairlines between rows (default) or none. */
1628
+ divided?: boolean | undefined;
1629
+ /** `fixed` column widths from the first row, for truncating cells. Default `auto`. */
1630
+ layout?: 'auto' | 'fixed' | undefined;
1631
+ /** Style and class for the scrolling wrapper; `className` goes on the `<table>`. */
1632
+ wrapperClassName?: string | undefined;
1633
+ wrapperStyle?: CSSProperties | undefined;
1634
+ style?: CSSProperties | undefined;
1635
+ children?: ReactNode | undefined;
1636
+ }
1637
+ /** A semantic `<table>` in a horizontally scrolling wrapper. Compose `Table.Head`, `Table.Body`, `Table.Row`, `Table.Header`, `Table.Cell`. */
1638
+ declare function Root({ stickyHeader, maxHeight, density, divided, layout, wrapperClassName, wrapperStyle, className, style, children, ...rest }: TableRootProps): react.JSX.Element;
1639
+ type TableCaptionProps = ComponentPropsWithRef<'caption'>;
1640
+ /** Names the table for assistive tech; visually a muted line above it. */
1641
+ declare function Caption({ className, ...rest }: TableCaptionProps): react.JSX.Element;
1642
+ type TableHeadProps = ComponentPropsWithRef<'thead'>;
1643
+ declare function Head({ className, ...rest }: TableHeadProps): react.JSX.Element;
1644
+ type TableBodyProps = ComponentPropsWithRef<'tbody'>;
1645
+ declare function Body({ className, ...rest }: TableBodyProps): react.JSX.Element;
1646
+ type TableFootProps = ComponentPropsWithRef<'tfoot'>;
1647
+ declare function Foot({ className, ...rest }: TableFootProps): react.JSX.Element;
1648
+ interface TableRowProps extends ComponentPropsWithRef<'tr'> {
1649
+ /** Accent wash, for the current row. */
1650
+ selected?: boolean | undefined;
1651
+ /** Hover wash and pointer; make the primary cell a link or button for the real target. */
1652
+ interactive?: boolean | undefined;
1653
+ }
1654
+ declare function Row({ selected, interactive, className, ...rest }: TableRowProps): react.JSX.Element;
1655
+ interface CellSlots {
1656
+ /** Horizontal alignment. Default `start`; `end` for numbers. */
1657
+ align?: TableAlign | undefined;
1658
+ /** Tabular figures and end alignment. */
1659
+ numeric?: boolean | undefined;
1660
+ /** No wrapping. */
1661
+ nowrap?: boolean | undefined;
1662
+ /** One line with an ellipsis; needs `layout="fixed"` or a `width`. */
1663
+ truncate?: boolean | undefined;
1664
+ /** Column width as a CSS length, on headers. */
1665
+ width?: string | undefined;
1666
+ }
1667
+ interface TableHeaderProps extends Omit<ComponentPropsWithRef<'th'>, 'align' | 'width'>, CellSlots {
1668
+ }
1669
+ /** A `<th>`; `scope` defaults to `col` inside `Table.Head` usage and `row` when you say so. */
1670
+ declare function Header({ align, numeric, nowrap, truncate, width, scope, className, style, ...rest }: TableHeaderProps): react.JSX.Element;
1671
+ interface TableCellProps extends Omit<ComponentPropsWithRef<'td'>, 'align' | 'width'>, CellSlots {
1672
+ }
1673
+ declare function Cell({ align, numeric, nowrap, truncate, width, className, style, ...rest }: TableCellProps): react.JSX.Element;
1674
+ /** Rows of records with column headers. Native table elements, so screen readers get rows and columns. */
1675
+ declare const Table: {
1676
+ Root: typeof Root;
1677
+ Caption: typeof Caption;
1678
+ Head: typeof Head;
1679
+ Body: typeof Body;
1680
+ Foot: typeof Foot;
1681
+ Row: typeof Row;
1682
+ Header: typeof Header;
1683
+ Cell: typeof Cell;
1684
+ };
1685
+
1686
+ type StatTrend = 'up' | 'down' | 'flat';
1687
+ type StatDeltaTone = 'positive' | 'negative' | 'neutral';
1688
+ type StatElement = 'div' | 'li' | 'article';
1689
+ type StatVariant = 'outlined' | 'filled' | 'plain';
1690
+ type StatSize = 'sm' | 'md';
1691
+ interface StatProps extends Omit<ComponentPropsWithRef<'div'>, 'children'> {
1692
+ /** What the number is: "Applications", "Reply rate". */
1693
+ label: ReactNode;
1694
+ /** The number, already formatted: "1,204", "37%". */
1695
+ value: ReactNode;
1696
+ /** The change beside the value: "+12", "−3.1 pts", "same as last week". */
1697
+ delta?: ReactNode | undefined;
1698
+ /** Colour of the delta: `positive` green, `negative` red, `neutral` muted (default). Say which is good; up is not always good. */
1699
+ deltaTone?: StatDeltaTone | undefined;
1700
+ /** Arrow before the delta. */
1701
+ trend?: StatTrend | undefined;
1702
+ /** Muted line under the value: "last 7 days", "of 2,000 budget". */
1703
+ hint?: ReactNode | undefined;
1704
+ /** A 20px icon in the corner. Decorative. */
1705
+ icon?: ReactNode | undefined;
1706
+ /** `outlined` surface (default), `filled` inset, `plain` no surface for a row of stats inside a Card. */
1707
+ variant?: StatVariant | undefined;
1708
+ /** `md` (default) or `sm` for dense rows. */
1709
+ size?: StatSize | undefined;
1710
+ /** Element to render; `li` in a list of stats. */
1711
+ as?: StatElement | undefined;
1712
+ }
1713
+ /** One number with its label: a KPI tile. The value is text, so it reads as "Applications, 1,204, up 12". */
1714
+ declare function Stat({ label, value, delta, deltaTone, trend, hint, icon, variant, size, as, className, ...rest }: StatProps): react.DetailedReactHTMLElement<{
1715
+ slot?: string | undefined | undefined;
1716
+ style?: react.CSSProperties | undefined;
1717
+ title?: string | undefined | undefined;
1718
+ ref?: react.Ref<HTMLDivElement> | undefined;
1719
+ key?: react.Key | null | undefined;
1720
+ defaultChecked?: boolean | undefined | undefined;
1721
+ defaultValue?: string | number | readonly string[] | undefined;
1722
+ suppressContentEditableWarning?: boolean | undefined | undefined;
1723
+ suppressHydrationWarning?: boolean | undefined | undefined;
1724
+ accessKey?: string | undefined | undefined;
1725
+ autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
1726
+ autoFocus?: boolean | undefined | undefined;
1727
+ contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
1728
+ contextMenu?: string | undefined | undefined;
1729
+ dir?: string | undefined | undefined;
1730
+ draggable?: (boolean | "true" | "false") | undefined;
1731
+ enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
1732
+ hidden?: boolean | undefined | undefined;
1733
+ id?: string | undefined | undefined;
1734
+ lang?: string | undefined | undefined;
1735
+ nonce?: string | undefined | undefined;
1736
+ spellCheck?: (boolean | "true" | "false") | undefined;
1737
+ tabIndex?: number | undefined | undefined;
1738
+ translate?: "yes" | "no" | undefined | undefined;
1739
+ radioGroup?: string | undefined | undefined;
1740
+ role?: react.AriaRole | undefined;
1741
+ about?: string | undefined | undefined;
1742
+ content?: string | undefined | undefined;
1743
+ datatype?: string | undefined | undefined;
1744
+ inlist?: any;
1745
+ prefix?: string | undefined | undefined;
1746
+ property?: string | undefined | undefined;
1747
+ rel?: string | undefined | undefined;
1748
+ resource?: string | undefined | undefined;
1749
+ rev?: string | undefined | undefined;
1750
+ typeof?: string | undefined | undefined;
1751
+ vocab?: string | undefined | undefined;
1752
+ autoCorrect?: string | undefined | undefined;
1753
+ autoSave?: string | undefined | undefined;
1754
+ color?: string | undefined | undefined;
1755
+ itemProp?: string | undefined | undefined;
1756
+ itemScope?: boolean | undefined | undefined;
1757
+ itemType?: string | undefined | undefined;
1758
+ itemID?: string | undefined | undefined;
1759
+ itemRef?: string | undefined | undefined;
1760
+ results?: number | undefined | undefined;
1761
+ security?: string | undefined | undefined;
1762
+ unselectable?: "on" | "off" | undefined | undefined;
1763
+ popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
1764
+ popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
1765
+ popoverTarget?: string | undefined | undefined;
1766
+ inert?: boolean | undefined | undefined;
1767
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
1768
+ is?: string | undefined | undefined;
1769
+ exportparts?: string | undefined | undefined;
1770
+ part?: string | undefined | undefined;
1771
+ "aria-activedescendant"?: string | undefined | undefined;
1772
+ "aria-atomic"?: (boolean | "true" | "false") | undefined;
1773
+ "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
1774
+ "aria-braillelabel"?: string | undefined | undefined;
1775
+ "aria-brailleroledescription"?: string | undefined | undefined;
1776
+ "aria-busy"?: (boolean | "true" | "false") | undefined;
1777
+ "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
1778
+ "aria-colcount"?: number | undefined | undefined;
1779
+ "aria-colindex"?: number | undefined | undefined;
1780
+ "aria-colindextext"?: string | undefined | undefined;
1781
+ "aria-colspan"?: number | undefined | undefined;
1782
+ "aria-controls"?: string | undefined | undefined;
1783
+ "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
1784
+ "aria-describedby"?: string | undefined | undefined;
1785
+ "aria-description"?: string | undefined | undefined;
1786
+ "aria-details"?: string | undefined | undefined;
1787
+ "aria-disabled"?: (boolean | "true" | "false") | undefined;
1788
+ "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
1789
+ "aria-errormessage"?: string | undefined | undefined;
1790
+ "aria-expanded"?: (boolean | "true" | "false") | undefined;
1791
+ "aria-flowto"?: string | undefined | undefined;
1792
+ "aria-grabbed"?: (boolean | "true" | "false") | undefined;
1793
+ "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
1794
+ "aria-hidden"?: (boolean | "true" | "false") | undefined;
1795
+ "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
1796
+ "aria-keyshortcuts"?: string | undefined | undefined;
1797
+ "aria-label"?: string | undefined | undefined;
1798
+ "aria-labelledby"?: string | undefined | undefined;
1799
+ "aria-level"?: number | undefined | undefined;
1800
+ "aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
1801
+ "aria-modal"?: (boolean | "true" | "false") | undefined;
1802
+ "aria-multiline"?: (boolean | "true" | "false") | undefined;
1803
+ "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
1804
+ "aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
1805
+ "aria-owns"?: string | undefined | undefined;
1806
+ "aria-placeholder"?: string | undefined | undefined;
1807
+ "aria-posinset"?: number | undefined | undefined;
1808
+ "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
1809
+ "aria-readonly"?: (boolean | "true" | "false") | undefined;
1810
+ "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
1811
+ "aria-required"?: (boolean | "true" | "false") | undefined;
1812
+ "aria-roledescription"?: string | undefined | undefined;
1813
+ "aria-rowcount"?: number | undefined | undefined;
1814
+ "aria-rowindex"?: number | undefined | undefined;
1815
+ "aria-rowindextext"?: string | undefined | undefined;
1816
+ "aria-rowspan"?: number | undefined | undefined;
1817
+ "aria-selected"?: (boolean | "true" | "false") | undefined;
1818
+ "aria-setsize"?: number | undefined | undefined;
1819
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
1820
+ "aria-valuemax"?: number | undefined | undefined;
1821
+ "aria-valuemin"?: number | undefined | undefined;
1822
+ "aria-valuenow"?: number | undefined | undefined;
1823
+ "aria-valuetext"?: string | undefined | undefined;
1824
+ dangerouslySetInnerHTML?: {
1825
+ __html: string | TrustedHTML;
1826
+ } | undefined | undefined;
1827
+ onCopy?: react.ClipboardEventHandler<HTMLDivElement> | undefined;
1828
+ onCopyCapture?: react.ClipboardEventHandler<HTMLDivElement> | undefined;
1829
+ onCut?: react.ClipboardEventHandler<HTMLDivElement> | undefined;
1830
+ onCutCapture?: react.ClipboardEventHandler<HTMLDivElement> | undefined;
1831
+ onPaste?: react.ClipboardEventHandler<HTMLDivElement> | undefined;
1832
+ onPasteCapture?: react.ClipboardEventHandler<HTMLDivElement> | undefined;
1833
+ onCompositionEnd?: react.CompositionEventHandler<HTMLDivElement> | undefined;
1834
+ onCompositionEndCapture?: react.CompositionEventHandler<HTMLDivElement> | undefined;
1835
+ onCompositionStart?: react.CompositionEventHandler<HTMLDivElement> | undefined;
1836
+ onCompositionStartCapture?: react.CompositionEventHandler<HTMLDivElement> | undefined;
1837
+ onCompositionUpdate?: react.CompositionEventHandler<HTMLDivElement> | undefined;
1838
+ onCompositionUpdateCapture?: react.CompositionEventHandler<HTMLDivElement> | undefined;
1839
+ onFocus?: react.FocusEventHandler<HTMLDivElement> | undefined;
1840
+ onFocusCapture?: react.FocusEventHandler<HTMLDivElement> | undefined;
1841
+ onBlur?: react.FocusEventHandler<HTMLDivElement> | undefined;
1842
+ onBlurCapture?: react.FocusEventHandler<HTMLDivElement> | undefined;
1843
+ onChange?: react.ChangeEventHandler<HTMLDivElement, Element> | undefined;
1844
+ onChangeCapture?: react.ChangeEventHandler<HTMLDivElement, Element> | undefined;
1845
+ onBeforeInput?: react.InputEventHandler<HTMLDivElement> | undefined;
1846
+ onBeforeInputCapture?: react.InputEventHandler<HTMLDivElement> | undefined;
1847
+ onInput?: react.InputEventHandler<HTMLDivElement> | undefined;
1848
+ onInputCapture?: react.InputEventHandler<HTMLDivElement> | undefined;
1849
+ onReset?: react.ReactEventHandler<HTMLDivElement> | undefined;
1850
+ onResetCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1851
+ onSubmit?: react.SubmitEventHandler<HTMLDivElement> | undefined;
1852
+ onSubmitCapture?: react.SubmitEventHandler<HTMLDivElement> | undefined;
1853
+ onInvalid?: react.ReactEventHandler<HTMLDivElement> | undefined;
1854
+ onInvalidCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1855
+ onLoad?: react.ReactEventHandler<HTMLDivElement> | undefined;
1856
+ onLoadCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1857
+ onError?: react.ReactEventHandler<HTMLDivElement> | undefined;
1858
+ onErrorCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1859
+ onKeyDown?: react.KeyboardEventHandler<HTMLDivElement> | undefined;
1860
+ onKeyDownCapture?: react.KeyboardEventHandler<HTMLDivElement> | undefined;
1861
+ onKeyPress?: react.KeyboardEventHandler<HTMLDivElement> | undefined;
1862
+ onKeyPressCapture?: react.KeyboardEventHandler<HTMLDivElement> | undefined;
1863
+ onKeyUp?: react.KeyboardEventHandler<HTMLDivElement> | undefined;
1864
+ onKeyUpCapture?: react.KeyboardEventHandler<HTMLDivElement> | undefined;
1865
+ onAbort?: react.ReactEventHandler<HTMLDivElement> | undefined;
1866
+ onAbortCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1867
+ onCanPlay?: react.ReactEventHandler<HTMLDivElement> | undefined;
1868
+ onCanPlayCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1869
+ onCanPlayThrough?: react.ReactEventHandler<HTMLDivElement> | undefined;
1870
+ onCanPlayThroughCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1871
+ onDurationChange?: react.ReactEventHandler<HTMLDivElement> | undefined;
1872
+ onDurationChangeCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1873
+ onEmptied?: react.ReactEventHandler<HTMLDivElement> | undefined;
1874
+ onEmptiedCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1875
+ onEncrypted?: react.ReactEventHandler<HTMLDivElement> | undefined;
1876
+ onEncryptedCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1877
+ onEnded?: react.ReactEventHandler<HTMLDivElement> | undefined;
1878
+ onEndedCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1879
+ onLoadedData?: react.ReactEventHandler<HTMLDivElement> | undefined;
1880
+ onLoadedDataCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1881
+ onLoadedMetadata?: react.ReactEventHandler<HTMLDivElement> | undefined;
1882
+ onLoadedMetadataCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1883
+ onLoadStart?: react.ReactEventHandler<HTMLDivElement> | undefined;
1884
+ onLoadStartCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1885
+ onPause?: react.ReactEventHandler<HTMLDivElement> | undefined;
1886
+ onPauseCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1887
+ onPlay?: react.ReactEventHandler<HTMLDivElement> | undefined;
1888
+ onPlayCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1889
+ onPlaying?: react.ReactEventHandler<HTMLDivElement> | undefined;
1890
+ onPlayingCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1891
+ onProgress?: react.ReactEventHandler<HTMLDivElement> | undefined;
1892
+ onProgressCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1893
+ onRateChange?: react.ReactEventHandler<HTMLDivElement> | undefined;
1894
+ onRateChangeCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1895
+ onSeeked?: react.ReactEventHandler<HTMLDivElement> | undefined;
1896
+ onSeekedCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1897
+ onSeeking?: react.ReactEventHandler<HTMLDivElement> | undefined;
1898
+ onSeekingCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1899
+ onStalled?: react.ReactEventHandler<HTMLDivElement> | undefined;
1900
+ onStalledCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1901
+ onSuspend?: react.ReactEventHandler<HTMLDivElement> | undefined;
1902
+ onSuspendCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1903
+ onTimeUpdate?: react.ReactEventHandler<HTMLDivElement> | undefined;
1904
+ onTimeUpdateCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1905
+ onVolumeChange?: react.ReactEventHandler<HTMLDivElement> | undefined;
1906
+ onVolumeChangeCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1907
+ onWaiting?: react.ReactEventHandler<HTMLDivElement> | undefined;
1908
+ onWaitingCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1909
+ onAuxClick?: react.MouseEventHandler<HTMLDivElement> | undefined;
1910
+ onAuxClickCapture?: react.MouseEventHandler<HTMLDivElement> | undefined;
1911
+ onClick?: react.MouseEventHandler<HTMLDivElement> | undefined;
1912
+ onClickCapture?: react.MouseEventHandler<HTMLDivElement> | undefined;
1913
+ onContextMenu?: react.MouseEventHandler<HTMLDivElement> | undefined;
1914
+ onContextMenuCapture?: react.MouseEventHandler<HTMLDivElement> | undefined;
1915
+ onDoubleClick?: react.MouseEventHandler<HTMLDivElement> | undefined;
1916
+ onDoubleClickCapture?: react.MouseEventHandler<HTMLDivElement> | undefined;
1917
+ onDrag?: react.DragEventHandler<HTMLDivElement> | undefined;
1918
+ onDragCapture?: react.DragEventHandler<HTMLDivElement> | undefined;
1919
+ onDragEnd?: react.DragEventHandler<HTMLDivElement> | undefined;
1920
+ onDragEndCapture?: react.DragEventHandler<HTMLDivElement> | undefined;
1921
+ onDragEnter?: react.DragEventHandler<HTMLDivElement> | undefined;
1922
+ onDragEnterCapture?: react.DragEventHandler<HTMLDivElement> | undefined;
1923
+ onDragExit?: react.DragEventHandler<HTMLDivElement> | undefined;
1924
+ onDragExitCapture?: react.DragEventHandler<HTMLDivElement> | undefined;
1925
+ onDragLeave?: react.DragEventHandler<HTMLDivElement> | undefined;
1926
+ onDragLeaveCapture?: react.DragEventHandler<HTMLDivElement> | undefined;
1927
+ onDragOver?: react.DragEventHandler<HTMLDivElement> | undefined;
1928
+ onDragOverCapture?: react.DragEventHandler<HTMLDivElement> | undefined;
1929
+ onDragStart?: react.DragEventHandler<HTMLDivElement> | undefined;
1930
+ onDragStartCapture?: react.DragEventHandler<HTMLDivElement> | undefined;
1931
+ onDrop?: react.DragEventHandler<HTMLDivElement> | undefined;
1932
+ onDropCapture?: react.DragEventHandler<HTMLDivElement> | undefined;
1933
+ onMouseDown?: react.MouseEventHandler<HTMLDivElement> | undefined;
1934
+ onMouseDownCapture?: react.MouseEventHandler<HTMLDivElement> | undefined;
1935
+ onMouseEnter?: react.MouseEventHandler<HTMLDivElement> | undefined;
1936
+ onMouseLeave?: react.MouseEventHandler<HTMLDivElement> | undefined;
1937
+ onMouseMove?: react.MouseEventHandler<HTMLDivElement> | undefined;
1938
+ onMouseMoveCapture?: react.MouseEventHandler<HTMLDivElement> | undefined;
1939
+ onMouseOut?: react.MouseEventHandler<HTMLDivElement> | undefined;
1940
+ onMouseOutCapture?: react.MouseEventHandler<HTMLDivElement> | undefined;
1941
+ onMouseOver?: react.MouseEventHandler<HTMLDivElement> | undefined;
1942
+ onMouseOverCapture?: react.MouseEventHandler<HTMLDivElement> | undefined;
1943
+ onMouseUp?: react.MouseEventHandler<HTMLDivElement> | undefined;
1944
+ onMouseUpCapture?: react.MouseEventHandler<HTMLDivElement> | undefined;
1945
+ onSelect?: react.ReactEventHandler<HTMLDivElement> | undefined;
1946
+ onSelectCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
1947
+ onTouchCancel?: react.TouchEventHandler<HTMLDivElement> | undefined;
1948
+ onTouchCancelCapture?: react.TouchEventHandler<HTMLDivElement> | undefined;
1949
+ onTouchEnd?: react.TouchEventHandler<HTMLDivElement> | undefined;
1950
+ onTouchEndCapture?: react.TouchEventHandler<HTMLDivElement> | undefined;
1951
+ onTouchMove?: react.TouchEventHandler<HTMLDivElement> | undefined;
1952
+ onTouchMoveCapture?: react.TouchEventHandler<HTMLDivElement> | undefined;
1953
+ onTouchStart?: react.TouchEventHandler<HTMLDivElement> | undefined;
1954
+ onTouchStartCapture?: react.TouchEventHandler<HTMLDivElement> | undefined;
1955
+ onPointerDown?: react.PointerEventHandler<HTMLDivElement> | undefined;
1956
+ onPointerDownCapture?: react.PointerEventHandler<HTMLDivElement> | undefined;
1957
+ onPointerMove?: react.PointerEventHandler<HTMLDivElement> | undefined;
1958
+ onPointerMoveCapture?: react.PointerEventHandler<HTMLDivElement> | undefined;
1959
+ onPointerUp?: react.PointerEventHandler<HTMLDivElement> | undefined;
1960
+ onPointerUpCapture?: react.PointerEventHandler<HTMLDivElement> | undefined;
1961
+ onPointerCancel?: react.PointerEventHandler<HTMLDivElement> | undefined;
1962
+ onPointerCancelCapture?: react.PointerEventHandler<HTMLDivElement> | undefined;
1963
+ onPointerEnter?: react.PointerEventHandler<HTMLDivElement> | undefined;
1964
+ onPointerLeave?: react.PointerEventHandler<HTMLDivElement> | undefined;
1965
+ onPointerOver?: react.PointerEventHandler<HTMLDivElement> | undefined;
1966
+ onPointerOverCapture?: react.PointerEventHandler<HTMLDivElement> | undefined;
1967
+ onPointerOut?: react.PointerEventHandler<HTMLDivElement> | undefined;
1968
+ onPointerOutCapture?: react.PointerEventHandler<HTMLDivElement> | undefined;
1969
+ onGotPointerCapture?: react.PointerEventHandler<HTMLDivElement> | undefined;
1970
+ onGotPointerCaptureCapture?: react.PointerEventHandler<HTMLDivElement> | undefined;
1971
+ onLostPointerCapture?: react.PointerEventHandler<HTMLDivElement> | undefined;
1972
+ onLostPointerCaptureCapture?: react.PointerEventHandler<HTMLDivElement> | undefined;
1973
+ onScroll?: react.UIEventHandler<HTMLDivElement> | undefined;
1974
+ onScrollCapture?: react.UIEventHandler<HTMLDivElement> | undefined;
1975
+ onScrollEnd?: react.UIEventHandler<HTMLDivElement> | undefined;
1976
+ onScrollEndCapture?: react.UIEventHandler<HTMLDivElement> | undefined;
1977
+ onWheel?: react.WheelEventHandler<HTMLDivElement> | undefined;
1978
+ onWheelCapture?: react.WheelEventHandler<HTMLDivElement> | undefined;
1979
+ onAnimationStart?: react.AnimationEventHandler<HTMLDivElement> | undefined;
1980
+ onAnimationStartCapture?: react.AnimationEventHandler<HTMLDivElement> | undefined;
1981
+ onAnimationEnd?: react.AnimationEventHandler<HTMLDivElement> | undefined;
1982
+ onAnimationEndCapture?: react.AnimationEventHandler<HTMLDivElement> | undefined;
1983
+ onAnimationIteration?: react.AnimationEventHandler<HTMLDivElement> | undefined;
1984
+ onAnimationIterationCapture?: react.AnimationEventHandler<HTMLDivElement> | undefined;
1985
+ onToggle?: react.ToggleEventHandler<HTMLDivElement> | undefined;
1986
+ onBeforeToggle?: react.ToggleEventHandler<HTMLDivElement> | undefined;
1987
+ onTransitionCancel?: react.TransitionEventHandler<HTMLDivElement> | undefined;
1988
+ onTransitionCancelCapture?: react.TransitionEventHandler<HTMLDivElement> | undefined;
1989
+ onTransitionEnd?: react.TransitionEventHandler<HTMLDivElement> | undefined;
1990
+ onTransitionEndCapture?: react.TransitionEventHandler<HTMLDivElement> | undefined;
1991
+ onTransitionRun?: react.TransitionEventHandler<HTMLDivElement> | undefined;
1992
+ onTransitionRunCapture?: react.TransitionEventHandler<HTMLDivElement> | undefined;
1993
+ onTransitionStart?: react.TransitionEventHandler<HTMLDivElement> | undefined;
1994
+ onTransitionStartCapture?: react.TransitionEventHandler<HTMLDivElement> | undefined;
1995
+ className: string;
1996
+ 'data-variant': StatVariant;
1997
+ 'data-size': StatSize;
1998
+ }, HTMLDivElement>;
1999
+
1028
2000
  declare const version = "0.1.1";
1029
2001
 
1030
- export { ArchiveIcon, ArrowLeftIcon, ArrowRightIcon, Badge, BellIcon, BriefcaseIcon, Button, CalendarIcon, Card, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleCheckIcon, CircleXIcon, ClockIcon, CopyIcon, Dialog, DocumentIcon, DownloadIcon, EditIcon, ExternalLinkIcon, EyeIcon, FilterIcon, FlagIcon, Icon, IconButton, InboxIcon, InfoIcon, Inline, Kbd, LinkIcon, MailIcon, MapPinIcon, Menu, MenuIcon, MinusIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, PauseIcon, PlayIcon, PlusIcon, RefreshIcon, SearchIcon, SettingsIcon, Stack, StarIcon, SunIcon, ThumbsDownIcon, ThumbsUpIcon, Tooltip, TrashIcon, UndoIcon, UserIcon, WarningIcon, XIcon, iconNames, version };
1031
- export type { BadgeProps, BadgeSize, BadgeTone, BadgeVariant, ButtonProps, ButtonSize, ButtonVariant, CardElement, CardPadding, CardProps, CardVariant, DialogActionsProps, DialogBodyProps, DialogCloseProps, DialogContentProps, DialogDescriptionProps, DialogRootProps, DialogSize, DialogTitleProps, IconButtonProps, IconGlyphProps, IconName, IconProps, IconSize, InlineAlign, InlineElement, InlineJustify, InlineProps, KbdGroupProps, KbdProps, MenuAlign, MenuCheckboxItemProps, MenuContentProps, MenuGroupProps, MenuItemProps, MenuItemTone, MenuLinkItemProps, MenuRadioGroupProps, MenuRadioItemProps, MenuRootProps, MenuSeparatorProps, MenuSide, MenuTriggerProps, SpacingSize, StackAlign, StackElement, StackJustify, StackProps, TooltipAlign, TooltipProps, TooltipSide };
2002
+ export { ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, Badge, Banner, BellIcon, BriefcaseIcon, Button, CalendarIcon, Card, CheckIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleCheckIcon, CircleXIcon, ClockIcon, CopyIcon, Dialog, DocumentIcon, DownloadIcon, EditIcon, ExternalLinkIcon, EyeIcon, FilterIcon, FlagIcon, Heading, Icon, IconButton, InboxIcon, InfoIcon, Inline, Input, Kbd, LinkIcon, MailIcon, MapPinIcon, Menu, MenuIcon, MinusIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, PauseIcon, PlayIcon, PlusIcon, Progress, RefreshIcon, SearchIcon, Select, SettingsIcon, Spinner, Stack, StarIcon, Stat, SunIcon, Switch, Table, Tabs, Text, Textarea, ThumbsDownIcon, ThumbsUpIcon, Toolbar, Tooltip, TrashIcon, UndoIcon, UserIcon, WarningIcon, XIcon, iconNames, version };
2003
+ export type { BadgeProps, BadgeSize, BadgeTone, BadgeVariant, BannerProps, BannerTone, ButtonProps, ButtonSize, ButtonVariant, CardElement, CardPadding, CardProps, CardVariant, CheckboxProps, ControlSize, DialogActionsProps, DialogBodyProps, DialogCloseProps, DialogContentProps, DialogDescriptionProps, DialogRootProps, DialogSize, DialogTitleProps, FieldProps, HeadingElement, HeadingLevel, HeadingProps, HeadingSize, IconButtonProps, IconGlyphProps, IconName, IconProps, IconSize, InlineAlign, InlineElement, InlineJustify, InlineProps, InputProps, KbdGroupProps, KbdProps, MenuAlign, MenuCheckboxItemProps, MenuContentProps, MenuGroupProps, MenuItemProps, MenuItemTone, MenuLinkItemProps, MenuRadioGroupProps, MenuRadioItemProps, MenuRootProps, MenuSeparatorProps, MenuSide, MenuTriggerProps, ProgressProps, ProgressSize, ProgressTone, ProgressVariant, SelectGroup, SelectOption, SelectProps, SpacingSize, SpinnerProps, StackAlign, StackElement, StackJustify, StackProps, StatDeltaTone, StatElement, StatProps, StatSize, StatTrend, StatVariant, SwitchProps, TableAlign, TableBodyProps, TableCaptionProps, TableCellProps, TableDensity, TableFootProps, TableHeadProps, TableHeaderProps, TableRootProps, TableRowProps, TabsListProps, TabsPanelProps, TabsRootProps, TabsTabProps, TextAlign, TextElement, TextProps, TextSize, TextTone, TextWeight, TextareaProps, ToolbarButtonProps, ToolbarGroupProps, ToolbarRootProps, ToolbarSeparatorProps, ToolbarSpacerProps, TooltipAlign, TooltipProps, TooltipSide };