@dev-dga/react 0.5.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
3
  import { ReactNode } from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
- import { Checkbox as Checkbox$1, RadioGroup as RadioGroup$1, Switch as Switch$1, Select as Select$1, Avatar as Avatar$1, Tooltip as Tooltip$1, Dialog, Tabs as Tabs$1, Accordion as Accordion$1, Progress as Progress$1, DropdownMenu as DropdownMenu$1 } from 'radix-ui';
5
+ import { Checkbox as Checkbox$1, RadioGroup as RadioGroup$1, Switch as Switch$1, Select as Select$1, Avatar as Avatar$1, Tooltip as Tooltip$1, Dialog, Tabs as Tabs$1, Accordion as Accordion$1, Progress as Progress$1, DropdownMenu as DropdownMenu$1, Slider as Slider$1, Toggle as Toggle$1, ToggleGroup as ToggleGroup$1, Popover as Popover$1, ScrollArea as ScrollArea$1, Menubar as Menubar$1 } from 'radix-ui';
6
6
  import { Command } from 'cmdk';
7
7
  import { DgaTheme } from '@dev-dga/tokens';
8
8
  export { DgaTheme, PaletteName, ThemeColor } from '@dev-dga/tokens';
@@ -856,6 +856,585 @@ declare function ComboboxItem({ value, keywords, disabled, onSelect, className,
856
856
  declare function ComboboxGroup({ className, heading, ...props }: ComboboxGroupProps): react_jsx_runtime.JSX.Element;
857
857
  declare function ComboboxSeparator({ className, ...props }: ComboboxSeparatorProps): react_jsx_runtime.JSX.Element;
858
858
 
859
+ declare const datePickerTriggerVariants: (props?: ({
860
+ size?: "sm" | "md" | null | undefined;
861
+ error?: boolean | null | undefined;
862
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
863
+ declare const datePickerVariants: (props?: ({
864
+ size?: "sm" | "md" | null | undefined;
865
+ error?: boolean | null | undefined;
866
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
867
+ type CalendarSystem = 'gregorian' | 'hijri';
868
+ interface CalendarLabels {
869
+ gregorian: string;
870
+ hijri: string;
871
+ }
872
+ interface DatePickerProps extends VariantProps<typeof datePickerTriggerVariants> {
873
+ /** Currently selected date (controlled). Local Y/M/D. */
874
+ value?: Date | null;
875
+ /** Initial value when uncontrolled. */
876
+ defaultValue?: Date | null;
877
+ /** Fires whenever the user picks a day. `null` when cleared. */
878
+ onChange?: (value: Date | null) => void;
879
+ /** Earliest pickable date (inclusive). */
880
+ minValue?: Date;
881
+ /** Latest pickable date (inclusive). */
882
+ maxValue?: Date;
883
+ /** Visible label above the trigger. */
884
+ label?: ReactNode;
885
+ /** Hint shown below the trigger. Hidden while an error message is showing. */
886
+ helperText?: ReactNode;
887
+ /** Message shown below the trigger when `error` is true. */
888
+ errorMessage?: ReactNode;
889
+ /** Marks the field invalid — sets `aria-invalid` and error styling. */
890
+ error?: boolean;
891
+ /** Marks the field required — adds the asterisk + `aria-required`. */
892
+ required?: boolean;
893
+ /** Disables the trigger entirely. */
894
+ disabled?: boolean;
895
+ /** Caller-supplied id for the field. */
896
+ id?: string;
897
+ /** Forwarded to the Group (the trigger row), matching Input/Select. */
898
+ className?: string;
899
+ 'aria-label'?: string;
900
+ 'aria-labelledby'?: string;
901
+ /**
902
+ * Calendar system (controlled). Omit to let the user toggle freely with
903
+ * the in-popover switch.
904
+ */
905
+ calendar?: CalendarSystem;
906
+ /** Initial calendar system when uncontrolled. Defaults to `'gregorian'`. */
907
+ defaultCalendar?: CalendarSystem;
908
+ /** Fires whenever the calendar system toggles. */
909
+ onCalendarChange?: (calendar: CalendarSystem) => void;
910
+ /**
911
+ * Show the Gregorian↔Hijri toggle inside the popover. Defaults to `true`,
912
+ * but is forced off when `calendar` is controlled — a toggle that ignores
913
+ * its click is a worse footgun than no toggle.
914
+ */
915
+ showCalendarToggle?: boolean;
916
+ /** Override the toggle labels. Defaults are locale-aware (English / Arabic). */
917
+ calendarLabels?: CalendarLabels;
918
+ /**
919
+ * When `true`, each day cell also shows the *other* calendar's day number
920
+ * as small secondary text (e.g., Hijri active → Gregorian day shown small
921
+ * underneath). Helps users cross-reference dates between calendar systems
922
+ * without round-tripping the toggle. Defaults to `false`.
923
+ */
924
+ showSecondaryCalendar?: boolean;
925
+ }
926
+ declare function DatePicker({ value: controlledValue, defaultValue, onChange, minValue, maxValue, label, helperText, errorMessage, error, required, disabled, size, id, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, calendar: controlledCalendar, defaultCalendar, onCalendarChange, showCalendarToggle, calendarLabels, showSecondaryCalendar, }: DatePickerProps): react_jsx_runtime.JSX.Element;
927
+
928
+ type FileStatus = 'pending' | 'uploading' | 'success' | 'error';
929
+ /** Reason codes attached to a rejected file. */
930
+ type RejectionCode = 'file-too-large' | 'file-invalid-type' | 'too-many-files';
931
+ /**
932
+ * A controlled file entry. The consumer owns this array and is responsible for
933
+ * performing the actual upload, updating `status`/`progress`, and assigning a
934
+ * stable `id` (used as the React key and the `onRemove` target).
935
+ */
936
+ interface UploadFile {
937
+ /** Stable, consumer-assigned id. Used as the React key and remove target. */
938
+ id: string;
939
+ /** The native File. */
940
+ file: File;
941
+ /** Defaults to `'pending'`. Drives the per-row affordance. */
942
+ status?: FileStatus;
943
+ /** 0–100. Rendered as a {@link Progress} bar while `status === 'uploading'`. */
944
+ progress?: number;
945
+ /** Shown inline (red) while `status === 'error'`. */
946
+ error?: string;
947
+ }
948
+ interface FileRejection {
949
+ file: File;
950
+ errors: RejectionCode[];
951
+ }
952
+ interface FileUploadProps {
953
+ /** Controlled list of files to render. The consumer is the source of truth. */
954
+ files: UploadFile[];
955
+ /** Called with the files that passed validation. The consumer wraps each in
956
+ * an {@link UploadFile} (assigning an `id`) and starts the upload. */
957
+ onFilesAdded: (accepted: File[]) => void;
958
+ /** Called with files that failed validation. Never enter `files`. */
959
+ onFilesRejected?: (rejections: FileRejection[]) => void;
960
+ /** Per-row remove handler. Omit to hide the remove button. */
961
+ onRemove?: (id: string) => void;
962
+ /** Native `accept` string (e.g. `'image/*,.pdf'`). Also drives validation. */
963
+ accept?: string;
964
+ /** Maximum size per file, in bytes. */
965
+ maxSize?: number;
966
+ /** Maximum total files (existing + incoming). When `multiple` is false this
967
+ * is forced to 1. */
968
+ maxFiles?: number;
969
+ /** Allow selecting/dropping more than one file. Defaults to true. */
970
+ multiple?: boolean;
971
+ /** Disables the drop zone and the picker. */
972
+ disabled?: boolean;
973
+ /** Marks the field required: renders the asterisk and sets the input's
974
+ * `required` attribute. */
975
+ required?: boolean;
976
+ /** Visible field label, auto-associated to the input. */
977
+ label?: ReactNode;
978
+ /** Hint shown below the field. Hidden while an error message is showing. */
979
+ helperText?: ReactNode;
980
+ /** Message shown below the field when `error` is true. */
981
+ errorMessage?: ReactNode;
982
+ /** Marks the field invalid: sets `aria-invalid` and error styling. */
983
+ error?: boolean;
984
+ /** Drop-zone instructional copy. Defaults to a bilingual-friendly EN string. */
985
+ hint?: ReactNode;
986
+ /** Accessible label for the per-row remove button. Defaults to `'Remove'`. */
987
+ removeLabel?: string;
988
+ id?: string;
989
+ className?: string;
990
+ 'aria-label'?: string;
991
+ 'aria-labelledby'?: string;
992
+ }
993
+ declare function FileUpload({ files, onFilesAdded, onFilesRejected, onRemove, accept, maxSize, maxFiles, multiple, disabled, required, label, helperText, errorMessage, error, hint, removeLabel, id: externalId, className, ...props }: FileUploadProps): react_jsx_runtime.JSX.Element;
994
+
995
+ declare const sliderVariants: (props?: ({
996
+ size?: "sm" | "md" | null | undefined;
997
+ error?: boolean | null | undefined;
998
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
999
+ type SliderValue = number | number[];
1000
+ interface SliderProps extends Omit<React.ComponentProps<typeof Slider$1.Root>, 'value' | 'defaultValue' | 'onValueChange' | 'onValueCommit' | 'asChild'>, VariantProps<typeof sliderVariants> {
1001
+ /** Controlled value. `number` → single thumb, `number[]` → one thumb each. */
1002
+ value?: SliderValue;
1003
+ /** Uncontrolled initial value. Defaults to a single thumb at `min`. */
1004
+ defaultValue?: SliderValue;
1005
+ /** Fires continuously while dragging. Shape mirrors `value`/`defaultValue`. */
1006
+ onValueChange?: (value: SliderValue) => void;
1007
+ /** Fires once on release (pointer up / keyboard commit). */
1008
+ onValueCommit?: (value: SliderValue) => void;
1009
+ /** Visible field label, associated to the thumb(s) via `aria-labelledby`. */
1010
+ label?: ReactNode;
1011
+ /** Hint shown below the field. Hidden while an error message is showing. */
1012
+ helperText?: ReactNode;
1013
+ /** Message shown below the field when `error` is true. */
1014
+ errorMessage?: ReactNode;
1015
+ /** Marks the field invalid: sets `aria-invalid` and error styling. */
1016
+ error?: boolean;
1017
+ /** Render the current value(s) as text beside the label. */
1018
+ showValue?: boolean;
1019
+ /** Formats each value for `showValue` and the thumb's `aria-valuetext`
1020
+ * (e.g. percentages or currency). */
1021
+ formatValue?: (value: number) => string;
1022
+ /** Accessible names for the two range thumbs. Ignored for single thumbs.
1023
+ * Defaults to `['Minimum', 'Maximum']`. */
1024
+ thumbLabels?: [string, string];
1025
+ }
1026
+ declare function Slider({ id: externalId, value, defaultValue, onValueChange, onValueCommit, min, max, size, label, helperText, errorMessage, error, showValue, formatValue, thumbLabels, className, ...props }: SliderProps): react_jsx_runtime.JSX.Element;
1027
+
1028
+ declare const numberInputVariants: (props?: ({
1029
+ size?: "sm" | "md" | "lg" | null | undefined;
1030
+ error?: boolean | null | undefined;
1031
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1032
+ interface NumberInputProps extends Omit<React.ComponentProps<'input'>, 'value' | 'defaultValue' | 'onChange' | 'size' | 'type' | 'min' | 'max' | 'step'>, VariantProps<typeof numberInputVariants> {
1033
+ /** Controlled value. `null` represents an empty field. */
1034
+ value?: number | null;
1035
+ /** Uncontrolled initial value. */
1036
+ defaultValue?: number | null;
1037
+ /** Fires with the parsed value, or `null` when the field is cleared. */
1038
+ onValueChange?: (value: number | null) => void;
1039
+ /** Lower bound. Clamped on blur and at the stepper buttons. */
1040
+ min?: number;
1041
+ /** Upper bound. Clamped on blur and at the stepper buttons. */
1042
+ max?: number;
1043
+ /** Stepper / ArrowUp-Down increment. Defaults to 1. */
1044
+ step?: number;
1045
+ /** Hide the − / + buttons (keyboard + typing only). */
1046
+ hideControls?: boolean;
1047
+ /** Accessible label for the decrement button. Defaults to `'Decrease'`. */
1048
+ decrementLabel?: string;
1049
+ /** Accessible label for the increment button. Defaults to `'Increase'`. */
1050
+ incrementLabel?: string;
1051
+ /** Visible field label, auto-associated to the input via `htmlFor`/`id`. */
1052
+ label?: ReactNode;
1053
+ /** Hint shown below the field. Hidden while an error message is showing. */
1054
+ helperText?: ReactNode;
1055
+ /** Message shown below the field when `error` is true. */
1056
+ errorMessage?: ReactNode;
1057
+ /** Marks the field invalid: sets `aria-invalid` and error styling. */
1058
+ error?: boolean;
1059
+ }
1060
+ declare function NumberInput({ id: externalId, value, defaultValue, onValueChange, min, max, step, size, hideControls, decrementLabel, incrementLabel, label, helperText, errorMessage, error, required, disabled, className, onBlur, onKeyDown, ...props }: NumberInputProps): react_jsx_runtime.JSX.Element;
1061
+
1062
+ declare const ratingVariants: (props?: ({
1063
+ size?: "sm" | "md" | "lg" | null | undefined;
1064
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1065
+ interface RatingProps extends VariantProps<typeof ratingVariants> {
1066
+ /** Controlled value (0…max). `.5` increments are allowed when `allowHalf`. */
1067
+ value?: number;
1068
+ /** Uncontrolled initial value. Defaults to 0. */
1069
+ defaultValue?: number;
1070
+ /** Fires with the chosen rating. */
1071
+ onValueChange?: (value: number) => void;
1072
+ /** Number of stars. Defaults to 5. */
1073
+ max?: number;
1074
+ /** Allow half-star (`.5`) precision. */
1075
+ allowHalf?: boolean;
1076
+ /** Display only — no interaction, exposed as `role="img"`. */
1077
+ readOnly?: boolean;
1078
+ /** Non-interactive and dimmed. */
1079
+ disabled?: boolean;
1080
+ /** Visible field label. */
1081
+ label?: ReactNode;
1082
+ /** Hint shown below the field. Hidden while an error message is showing. */
1083
+ helperText?: ReactNode;
1084
+ /** Message shown below the field when `error` is true. */
1085
+ errorMessage?: ReactNode;
1086
+ /** Marks the field invalid: sets `aria-invalid` and error styling. */
1087
+ error?: boolean;
1088
+ /** Builds the accessible value text / read-only label. Defaults to
1089
+ * `"{value} out of {max} stars"`. Override for localization. */
1090
+ formatValueText?: (value: number, max: number) => string;
1091
+ id?: string;
1092
+ className?: string;
1093
+ 'aria-label'?: string;
1094
+ 'aria-labelledby'?: string;
1095
+ }
1096
+ declare function Rating({ id: externalId, value, defaultValue, onValueChange, max, allowHalf, readOnly, disabled, size, label, helperText, errorMessage, error, formatValueText, className, ...props }: RatingProps): react_jsx_runtime.JSX.Element;
1097
+
1098
+ declare const toggleVariants: (props?: ({
1099
+ variant?: "outline" | "default" | null | undefined;
1100
+ size?: "sm" | "md" | "lg" | null | undefined;
1101
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1102
+ declare const toggleGroupVariants: (props?: ({
1103
+ variant?: "outline" | "default" | null | undefined;
1104
+ size?: "sm" | "md" | "lg" | null | undefined;
1105
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1106
+ type ToggleProps = React.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>;
1107
+ type ToggleGroupRootProps = React.ComponentProps<typeof ToggleGroup$1.Root>;
1108
+ type ToggleGroupProps = ToggleGroupRootProps & VariantProps<typeof toggleGroupVariants>;
1109
+ type ToggleGroupItemProps = React.ComponentProps<typeof ToggleGroup$1.Item>;
1110
+ declare function Toggle({ variant, size, className, ...props }: ToggleProps): react_jsx_runtime.JSX.Element;
1111
+ declare function ToggleGroup({ variant, size, className, ...props }: ToggleGroupProps): react_jsx_runtime.JSX.Element;
1112
+ declare function ToggleGroupItem({ className, ...props }: ToggleGroupItemProps): react_jsx_runtime.JSX.Element;
1113
+
1114
+ declare const descriptionListVariants: (props?: ({
1115
+ orientation?: "horizontal" | "vertical" | null | undefined;
1116
+ divided?: boolean | null | undefined;
1117
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1118
+ interface DescriptionListProps extends React.ComponentProps<'dl'>, VariantProps<typeof descriptionListVariants> {
1119
+ }
1120
+ type DescriptionItemProps = React.ComponentProps<'div'>;
1121
+ type DescriptionTermProps = React.ComponentProps<'dt'>;
1122
+ type DescriptionDetailsProps = React.ComponentProps<'dd'>;
1123
+ declare function DescriptionList({ orientation, divided, className, ...props }: DescriptionListProps): react_jsx_runtime.JSX.Element;
1124
+ declare function DescriptionItem({ className, ...props }: DescriptionItemProps): react_jsx_runtime.JSX.Element;
1125
+ declare function DescriptionTerm({ className, ...props }: DescriptionTermProps): react_jsx_runtime.JSX.Element;
1126
+ declare function DescriptionDetails({ className, ...props }: DescriptionDetailsProps): react_jsx_runtime.JSX.Element;
1127
+
1128
+ declare const emptyStateVariants: (props?: ({
1129
+ variant?: "search" | "error" | "default" | "success" | null | undefined;
1130
+ size?: "sm" | "md" | "lg" | null | undefined;
1131
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1132
+ interface EmptyStateProps extends Omit<React.ComponentProps<'div'>, 'title'>, VariantProps<typeof emptyStateVariants> {
1133
+ /**
1134
+ * Leading media (icon or illustration). Pass `false` to hide the media.
1135
+ * Defaults to a variant-appropriate icon. Ignored when `children` is set.
1136
+ */
1137
+ icon?: ReactNode | false;
1138
+ /** Title. Ignored when `children` is set. */
1139
+ title?: ReactNode;
1140
+ /** Supporting description below the title. Ignored when `children` is set. */
1141
+ description?: ReactNode;
1142
+ /** Primary action, e.g. a `<Button>`. Ignored when `children` is set. */
1143
+ action?: ReactNode;
1144
+ /** Secondary action beside the primary one. Ignored when `children` is set. */
1145
+ secondaryAction?: ReactNode;
1146
+ }
1147
+ type EmptyStateMediaProps = React.ComponentProps<'div'>;
1148
+ interface EmptyStateTitleProps extends React.ComponentProps<'h3'> {
1149
+ /** Override the heading element (e.g. render an `<h2>` on full-page states). */
1150
+ asChild?: boolean;
1151
+ }
1152
+ type EmptyStateDescriptionProps = React.ComponentProps<'p'> & {
1153
+ asChild?: boolean;
1154
+ };
1155
+ type EmptyStateActionsProps = React.ComponentProps<'div'> & {
1156
+ asChild?: boolean;
1157
+ };
1158
+ declare function EmptyState({ variant, size, icon, title, description, action, secondaryAction, className, children, ...props }: EmptyStateProps): react_jsx_runtime.JSX.Element;
1159
+ declare function EmptyStateMedia({ className, ...props }: EmptyStateMediaProps): react_jsx_runtime.JSX.Element;
1160
+ declare function EmptyStateTitle({ asChild, className, ...props }: EmptyStateTitleProps): react_jsx_runtime.JSX.Element;
1161
+ declare function EmptyStateDescription({ asChild, className, ...props }: EmptyStateDescriptionProps): react_jsx_runtime.JSX.Element;
1162
+ declare function EmptyStateActions({ asChild, className, ...props }: EmptyStateActionsProps): react_jsx_runtime.JSX.Element;
1163
+
1164
+ declare const statVariants: (props?: ({
1165
+ variant?: "flat" | "elevated" | "accent" | null | undefined;
1166
+ size?: "sm" | "md" | "lg" | null | undefined;
1167
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1168
+ type Trend = 'up' | 'down' | 'flat';
1169
+ type Sentiment = 'positive' | 'negative' | 'neutral';
1170
+ interface StatProps extends React.ComponentProps<'div'>, VariantProps<typeof statVariants> {
1171
+ /** Small, muted label above the value. */
1172
+ label?: ReactNode;
1173
+ /** The metric, pre-formatted by the consumer (e.g. "3,204", "SAR 1.2M"). */
1174
+ value?: ReactNode;
1175
+ /** Change text — include the sign (e.g. "+12.5%") so AT conveys direction. */
1176
+ change?: ReactNode;
1177
+ /** Muted context beside the change (e.g. "vs last month"). */
1178
+ changeLabel?: ReactNode;
1179
+ /** Arrow direction: up → CaretUp, down → CaretDown, flat → Minus. */
1180
+ trend?: Trend;
1181
+ /** Change color. Omitted → derived from `trend`. Explicit always wins. */
1182
+ sentiment?: Sentiment;
1183
+ /** Optional icon at the inline-end of the label row (decorative). */
1184
+ icon?: ReactNode;
1185
+ }
1186
+ type StatLabelProps = React.ComponentProps<'div'>;
1187
+ type StatValueProps = React.ComponentProps<'div'>;
1188
+ interface StatChangeProps extends React.ComponentProps<'div'> {
1189
+ trend?: Trend;
1190
+ sentiment?: Sentiment;
1191
+ }
1192
+ declare function Stat({ variant, size, label, value, change, changeLabel, trend, sentiment, icon, className, children, ...props }: StatProps): react_jsx_runtime.JSX.Element;
1193
+ declare function StatLabel({ className, ...props }: StatLabelProps): react_jsx_runtime.JSX.Element;
1194
+ declare function StatValue({ className, ...props }: StatValueProps): react_jsx_runtime.JSX.Element;
1195
+ declare function StatChange({ trend, sentiment, className, children, ...props }: StatChangeProps): react_jsx_runtime.JSX.Element;
1196
+
1197
+ declare const statGroupVariants: (props?: ({
1198
+ orientation?: "horizontal" | "vertical" | null | undefined;
1199
+ gap?: "sm" | "md" | "lg" | null | undefined;
1200
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1201
+ interface StatGroupProps extends React.ComponentProps<'div'>, VariantProps<typeof statGroupVariants> {
1202
+ /**
1203
+ * Fixed column count for the horizontal grid (collapses to one column on
1204
+ * narrow screens). Omit for an auto-fit responsive grid.
1205
+ */
1206
+ columns?: number;
1207
+ }
1208
+ declare function StatGroup({ orientation, gap, columns, className, style, ...props }: StatGroupProps): react_jsx_runtime.JSX.Element;
1209
+
1210
+ declare const popoverContentVariants: (props?: ({
1211
+ size?: "sm" | "md" | null | undefined;
1212
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1213
+ type PopoverProps = React.ComponentProps<typeof Popover$1.Root>;
1214
+ type PopoverTriggerProps = React.ComponentProps<typeof Popover$1.Trigger>;
1215
+ type PopoverAnchorProps = React.ComponentProps<typeof Popover$1.Anchor>;
1216
+ interface PopoverContentProps extends Omit<React.ComponentProps<typeof Popover$1.Content>, 'asChild'>, VariantProps<typeof popoverContentVariants> {
1217
+ /** Show a small arrow pointing at the trigger. Defaults to false. */
1218
+ arrow?: boolean;
1219
+ }
1220
+ interface PopoverCloseProps extends React.ComponentProps<typeof Popover$1.Close> {
1221
+ /**
1222
+ * Localized label for the default corner-X button. Only used when no
1223
+ * `children` (and no `asChild`) are provided. Defaults to `"Close"`.
1224
+ */
1225
+ closeLabel?: string;
1226
+ }
1227
+ declare function Popover(props: PopoverProps): react_jsx_runtime.JSX.Element;
1228
+ declare function PopoverTrigger({ className, ...props }: PopoverTriggerProps): react_jsx_runtime.JSX.Element;
1229
+ declare function PopoverAnchor(props: PopoverAnchorProps): react_jsx_runtime.JSX.Element;
1230
+ declare function PopoverContent({ size, arrow, sideOffset, className, children, ...props }: PopoverContentProps): react_jsx_runtime.JSX.Element;
1231
+ declare function PopoverClose({ className, children, closeLabel, asChild, ...props }: PopoverCloseProps): react_jsx_runtime.JSX.Element;
1232
+
1233
+ interface SidebarContextValue {
1234
+ /** Desktop collapse state, derived from `open`. */
1235
+ state: 'expanded' | 'collapsed';
1236
+ /** Desktop expanded (true) / collapsed-to-rail (false). */
1237
+ open: boolean;
1238
+ setOpen: (open: boolean) => void;
1239
+ /** Mobile off-canvas drawer open state. */
1240
+ openMobile: boolean;
1241
+ setOpenMobile: (open: boolean) => void;
1242
+ /** True below the provider's `mobileBreakpoint`. */
1243
+ isMobile: boolean;
1244
+ /** Toggles `openMobile` on mobile, else `open`. */
1245
+ toggleSidebar: () => void;
1246
+ }
1247
+ declare function useSidebar(): SidebarContextValue;
1248
+
1249
+ interface SidebarProviderProps extends React.ComponentProps<'div'> {
1250
+ /** Uncontrolled initial desktop state. Default true (expanded). */
1251
+ defaultOpen?: boolean;
1252
+ /** Controlled desktop open state. */
1253
+ open?: boolean;
1254
+ onOpenChange?: (open: boolean) => void;
1255
+ /** Viewport width (px) below which the mobile Drawer engages. Default 768. */
1256
+ mobileBreakpoint?: number;
1257
+ /** Register Cmd/Ctrl+B to toggle. Default true. */
1258
+ keyboardShortcut?: boolean;
1259
+ }
1260
+ declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange, mobileBreakpoint, keyboardShortcut, className, style, children, ...props }: SidebarProviderProps): react_jsx_runtime.JSX.Element;
1261
+ interface SidebarProps extends React.ComponentProps<'div'> {
1262
+ variant?: 'sidebar' | 'floating' | 'inset';
1263
+ collapsible?: 'icon' | 'offcanvas' | 'none';
1264
+ /** Logical side; flips with dir. Default 'start'. */
1265
+ side?: 'start' | 'end';
1266
+ }
1267
+ declare function Sidebar({ variant, collapsible, side, className, children, 'aria-label': ariaLabel, ...props }: SidebarProps): react_jsx_runtime.JSX.Element;
1268
+ interface SidebarTriggerProps extends React.ComponentProps<'button'> {
1269
+ asChild?: boolean;
1270
+ }
1271
+ declare function SidebarTrigger({ asChild, className, onClick, children, 'aria-label': ariaLabel, ...props }: SidebarTriggerProps): react_jsx_runtime.JSX.Element;
1272
+ declare function SidebarRail({ className, 'aria-label': ariaLabel, ...props }: React.ComponentProps<'button'>): react_jsx_runtime.JSX.Element;
1273
+ interface SidebarInsetProps extends React.ComponentProps<'main'> {
1274
+ asChild?: boolean;
1275
+ }
1276
+ declare function SidebarInset({ asChild, className, ...props }: SidebarInsetProps): react_jsx_runtime.JSX.Element;
1277
+ type SidebarSectionProps = React.ComponentProps<'div'> & {
1278
+ asChild?: boolean;
1279
+ };
1280
+ declare function SidebarHeader({ asChild, className, ...props }: SidebarSectionProps): react_jsx_runtime.JSX.Element;
1281
+ declare function SidebarContent({ asChild, className, ...props }: SidebarSectionProps): react_jsx_runtime.JSX.Element;
1282
+ declare function SidebarFooter({ asChild, className, ...props }: SidebarSectionProps): react_jsx_runtime.JSX.Element;
1283
+ declare function SidebarSeparator({ className, ...props }: React.ComponentProps<'hr'>): react_jsx_runtime.JSX.Element;
1284
+
1285
+ /**
1286
+ * True when the viewport is narrower than `breakpoint`. SSR-safe: returns
1287
+ * `false` until the mount effect runs, so the desktop layout renders first
1288
+ * and the mobile Drawer (a client-only overlay) only engages after hydration.
1289
+ */
1290
+ declare function useIsMobile(breakpoint?: number): boolean;
1291
+
1292
+ type SidebarGroupDivProps = React.ComponentProps<'div'> & {
1293
+ asChild?: boolean;
1294
+ };
1295
+ declare function SidebarGroup({ asChild, className, ...props }: SidebarGroupDivProps): react_jsx_runtime.JSX.Element;
1296
+ declare function SidebarGroupLabel({ asChild, className, ...props }: SidebarGroupDivProps): react_jsx_runtime.JSX.Element;
1297
+ interface SidebarGroupActionProps extends React.ComponentProps<'button'> {
1298
+ asChild?: boolean;
1299
+ }
1300
+ declare function SidebarGroupAction({ asChild, className, ...props }: SidebarGroupActionProps): react_jsx_runtime.JSX.Element;
1301
+ declare function SidebarGroupContent({ asChild, className, ...props }: SidebarGroupDivProps): react_jsx_runtime.JSX.Element;
1302
+
1303
+ declare function SidebarMenu({ className, ...props }: React.ComponentProps<'ul'>): react_jsx_runtime.JSX.Element;
1304
+ declare function SidebarMenuItem({ className, ...props }: React.ComponentProps<'li'>): react_jsx_runtime.JSX.Element;
1305
+ declare const sidebarMenuButtonVariants: (props?: ({
1306
+ size?: "sm" | "md" | "lg" | null | undefined;
1307
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1308
+ interface SidebarMenuButtonProps extends React.ComponentProps<'button'>, VariantProps<typeof sidebarMenuButtonVariants> {
1309
+ asChild?: boolean;
1310
+ isActive?: boolean;
1311
+ /** Tooltip content shown only when the rail is collapsed (desktop). */
1312
+ tooltip?: React.ReactNode;
1313
+ }
1314
+ declare function SidebarMenuButton({ asChild, isActive, size, tooltip, className, ...props }: SidebarMenuButtonProps): react_jsx_runtime.JSX.Element;
1315
+ interface SidebarMenuActionProps extends React.ComponentProps<'button'> {
1316
+ asChild?: boolean;
1317
+ /** Reveal the action only on row hover/focus (CSS-driven). */
1318
+ showOnHover?: boolean;
1319
+ }
1320
+ declare function SidebarMenuAction({ asChild, showOnHover, className, ...props }: SidebarMenuActionProps): react_jsx_runtime.JSX.Element;
1321
+ declare function SidebarMenuBadge({ className, ...props }: React.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
1322
+ interface SidebarMenuSkeletonProps extends React.ComponentProps<'div'> {
1323
+ showIcon?: boolean;
1324
+ }
1325
+ declare function SidebarMenuSkeleton({ showIcon, className, ...props }: SidebarMenuSkeletonProps): react_jsx_runtime.JSX.Element;
1326
+ declare function SidebarMenuSub({ className, ...props }: React.ComponentProps<'ul'>): react_jsx_runtime.JSX.Element;
1327
+ declare function SidebarMenuSubItem({ className, ...props }: React.ComponentProps<'li'>): react_jsx_runtime.JSX.Element;
1328
+ declare const sidebarMenuSubButtonVariants: (props?: ({
1329
+ size?: "sm" | "md" | null | undefined;
1330
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1331
+ interface SidebarMenuSubButtonProps extends React.ComponentProps<'a'>, VariantProps<typeof sidebarMenuSubButtonVariants> {
1332
+ asChild?: boolean;
1333
+ isActive?: boolean;
1334
+ }
1335
+ declare function SidebarMenuSubButton({ asChild, isActive, size, className, ...props }: SidebarMenuSubButtonProps): react_jsx_runtime.JSX.Element;
1336
+
1337
+ declare const scrollAreaVariants: (props?: ({
1338
+ orientation?: "both" | "horizontal" | "vertical" | null | undefined;
1339
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1340
+ type ScrollAreaOrientation = 'vertical' | 'horizontal' | 'both';
1341
+ interface ScrollAreaProps extends Omit<React.ComponentProps<typeof ScrollArea$1.Root>, 'asChild' | 'orientation'>, Omit<VariantProps<typeof scrollAreaVariants>, 'orientation'> {
1342
+ /** Which scrollbar(s) to render. Default `'vertical'`. */
1343
+ orientation?: ScrollAreaOrientation;
1344
+ /** Ref to the scrollable viewport — use for programmatic scrolling. */
1345
+ viewportRef?: React.Ref<HTMLDivElement>;
1346
+ /**
1347
+ * Extra props forwarded to the viewport element (use `viewportRef` for the ref).
1348
+ * To drop the extra tab stop when the scrolled content is itself fully focusable
1349
+ * (e.g. a list of links), pass `viewportProps={{ tabIndex: -1 }}`.
1350
+ */
1351
+ viewportProps?: Omit<React.ComponentProps<'div'>, 'ref'>;
1352
+ /** Names the scroll region. Warns (dev only) if neither this nor `aria-labelledby` is set. */
1353
+ 'aria-label'?: string;
1354
+ 'aria-labelledby'?: string;
1355
+ }
1356
+ /**
1357
+ * Cross-browser, design-system-styled scroll container (wraps Radix ScrollArea).
1358
+ *
1359
+ * Set the bounding size (height / max-height) on the element via `className` /
1360
+ * `style` — without a bounded size nothing scrolls, exactly like native overflow.
1361
+ * The viewport is keyboard-focusable (`tabIndex={0}`) so keyboard users can scroll
1362
+ * with the arrow / Page keys; pass `aria-label` to name the region.
1363
+ *
1364
+ * Does not support `asChild`: it is a structural wrapper composing several Radix
1365
+ * parts, and the meaningful node — the viewport — is exposed via `viewportRef`.
1366
+ */
1367
+ declare function ScrollArea({ className, orientation, type, scrollHideDelay, viewportRef, viewportProps, children, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, ...props }: ScrollAreaProps): react_jsx_runtime.JSX.Element;
1368
+
1369
+ declare const menubarContentVariants: (props?: ({
1370
+ size?: "sm" | "md" | null | undefined;
1371
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1372
+ declare const menubarTriggerVariants: (props?: ({
1373
+ variant?: "outline" | "default" | null | undefined;
1374
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1375
+ type MenubarProps = React.ComponentProps<typeof Menubar$1.Root>;
1376
+ declare function Menubar({ className, ...props }: MenubarProps): react_jsx_runtime.JSX.Element;
1377
+ type MenubarMenuProps = React.ComponentProps<typeof Menubar$1.Menu>;
1378
+ declare function MenubarMenu(props: MenubarMenuProps): react_jsx_runtime.JSX.Element;
1379
+ type MenubarTriggerProps = React.ComponentProps<typeof Menubar$1.Trigger> & VariantProps<typeof menubarTriggerVariants>;
1380
+ declare function MenubarTrigger({ variant, className, ...props }: MenubarTriggerProps): react_jsx_runtime.JSX.Element;
1381
+ type MenubarContentProps = React.ComponentProps<typeof Menubar$1.Content> & VariantProps<typeof menubarContentVariants>;
1382
+ declare function MenubarContent({ size, className, sideOffset, ...props }: MenubarContentProps): react_jsx_runtime.JSX.Element;
1383
+ type MenubarItemProps = React.ComponentProps<typeof Menubar$1.Item> & {
1384
+ /** Style as a destructive action (red text, red hover). */
1385
+ destructive?: boolean;
1386
+ /** Icon rendered before the label. Sized to 1em. */
1387
+ startIcon?: ReactNode;
1388
+ /** Trailing text shown muted, e.g. a keyboard shortcut hint ("⌘K"). */
1389
+ shortcut?: ReactNode;
1390
+ };
1391
+ declare function MenubarItem({ className, destructive, startIcon, shortcut, children, ...props }: MenubarItemProps): react_jsx_runtime.JSX.Element;
1392
+ type MenubarCheckboxItemProps = React.ComponentProps<typeof Menubar$1.CheckboxItem>;
1393
+ declare function MenubarCheckboxItem({ className, children, onSelect, ...props }: MenubarCheckboxItemProps): react_jsx_runtime.JSX.Element;
1394
+ type MenubarRadioGroupProps = React.ComponentProps<typeof Menubar$1.RadioGroup>;
1395
+ declare function MenubarRadioGroup(props: MenubarRadioGroupProps): react_jsx_runtime.JSX.Element;
1396
+ type MenubarRadioItemProps = React.ComponentProps<typeof Menubar$1.RadioItem>;
1397
+ declare function MenubarRadioItem({ className, children, onSelect, ...props }: MenubarRadioItemProps): react_jsx_runtime.JSX.Element;
1398
+ type MenubarLabelProps = React.ComponentProps<typeof Menubar$1.Label>;
1399
+ declare function MenubarLabel({ className, ...props }: MenubarLabelProps): react_jsx_runtime.JSX.Element;
1400
+ type MenubarSeparatorProps = React.ComponentProps<typeof Menubar$1.Separator>;
1401
+ declare function MenubarSeparator({ className, ...props }: MenubarSeparatorProps): react_jsx_runtime.JSX.Element;
1402
+ type MenubarGroupProps = React.ComponentProps<typeof Menubar$1.Group>;
1403
+ declare function MenubarGroup(props: MenubarGroupProps): react_jsx_runtime.JSX.Element;
1404
+ type MenubarSubProps = React.ComponentProps<typeof Menubar$1.Sub>;
1405
+ declare function MenubarSub(props: MenubarSubProps): react_jsx_runtime.JSX.Element;
1406
+ type MenubarSubTriggerProps = React.ComponentProps<typeof Menubar$1.SubTrigger> & {
1407
+ startIcon?: ReactNode;
1408
+ };
1409
+ declare function MenubarSubTrigger({ className, startIcon, children, ...props }: MenubarSubTriggerProps): react_jsx_runtime.JSX.Element;
1410
+ type MenubarSubContentProps = React.ComponentProps<typeof Menubar$1.SubContent> & VariantProps<typeof menubarContentVariants>;
1411
+ declare function MenubarSubContent({ size, className, ...props }: MenubarSubContentProps): react_jsx_runtime.JSX.Element;
1412
+
1413
+ declare const timelineVariants: (props?: ({
1414
+ size?: "sm" | "md" | null | undefined;
1415
+ orientation?: "horizontal" | "vertical" | null | undefined;
1416
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1417
+ type TimelineStatus = 'default' | 'success' | 'error' | 'warning' | 'info';
1418
+ declare const timelineMarkerVariants: (props?: ({
1419
+ status?: "error" | "default" | "success" | "warning" | "info" | null | undefined;
1420
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
1421
+ interface TimelineProps extends React.ComponentProps<'ol'>, VariantProps<typeof timelineVariants> {
1422
+ }
1423
+ type TimelineItemProps = React.ComponentProps<'li'>;
1424
+ interface TimelineMarkerProps extends React.ComponentProps<'span'>, VariantProps<typeof timelineMarkerVariants> {
1425
+ }
1426
+ type TimelineContentProps = React.ComponentProps<'div'>;
1427
+ type TimelineTitleProps = React.ComponentProps<'span'>;
1428
+ type TimelineDescriptionProps = React.ComponentProps<'span'>;
1429
+ type TimelineTimeProps = React.ComponentProps<'time'>;
1430
+ declare function Timeline({ size, orientation, className, ...props }: TimelineProps): react_jsx_runtime.JSX.Element;
1431
+ declare function TimelineItem({ className, ...props }: TimelineItemProps): react_jsx_runtime.JSX.Element;
1432
+ declare function TimelineMarker({ status, className, children, ...props }: TimelineMarkerProps): react_jsx_runtime.JSX.Element;
1433
+ declare function TimelineContent({ className, ...props }: TimelineContentProps): react_jsx_runtime.JSX.Element;
1434
+ declare function TimelineTitle({ className, ...props }: TimelineTitleProps): react_jsx_runtime.JSX.Element;
1435
+ declare function TimelineDescription({ className, ...props }: TimelineDescriptionProps): react_jsx_runtime.JSX.Element;
1436
+ declare function TimelineTime({ className, ...props }: TimelineTimeProps): react_jsx_runtime.JSX.Element;
1437
+
859
1438
  type DgaRootElement = 'div' | 'main' | 'nav' | 'section' | 'article' | 'aside' | 'header' | 'footer';
860
1439
  interface DgaProviderProps {
861
1440
  dir?: 'ltr' | 'rtl';
@@ -881,18 +1460,40 @@ interface DgaContextValue {
881
1460
  locale: string;
882
1461
  mode: 'light' | 'dark';
883
1462
  /**
884
- * The DgaProvider root element. Portal-rendering components (Select, and
885
- * future Tooltip / Modal / Toast / Popover / DropdownMenu) MUST pass this
886
- * as their Radix `Portal container={…}` so that `data-theme`, custom
887
- * theme vars, and `.ddga-theme-*` classes set on the root inherit into
888
- * the portaled content. Without it, portals mount under <body> and
889
- * silently miss dark mode + custom themes.
1463
+ * The DgaProvider's rendered root element. Exposed for non-portaled
1464
+ * descendants that need to read theme attributes (e.g., layout decorators).
1465
+ *
1466
+ * **For overlay portals, prefer `portalEl`** `rootEl` lives inside the
1467
+ * consumer's normal DOM tree and inherits any `overflow: hidden` /
1468
+ * `transform` ancestors. Inside Storybook's autodocs preview block (or any
1469
+ * scoped wrapper a consumer might wrap us in), portaling into `rootEl`
1470
+ * makes the overlay get clipped by the wrapper and breaks `position: fixed`
1471
+ * positioning (a `transform` ancestor establishes a new containing block).
890
1472
  *
891
- * Exposed as state (not a ref) so consumers re-render once the element
892
- * mounts , a useRef wouldn't fire that update and the portal would
893
- * race to <body> on the first commit.
1473
+ * State (not ref) so subscribers re-render when the element mounts; a
1474
+ * useRef update wouldn't fire a render and `defaultOpen` portals would
1475
+ * race to the wrong target on first commit.
894
1476
  */
895
1477
  rootEl: HTMLElement | null;
1478
+ /**
1479
+ * Body-mounted portal container that mirrors this provider's theme
1480
+ * attributes (`data-theme`, `dir`) and CSS custom properties. Overlay
1481
+ * components (Modal / Drawer / DropdownMenu / Combobox / Select / Tooltip
1482
+ * / DatePicker) should portal into this so:
1483
+ *
1484
+ * 1. They escape any clipping (`overflow: hidden`) or transform ancestor
1485
+ * the consumer wraps the provider in.
1486
+ * 2. `position: fixed` semantics survive (no `transform` ancestor breaks
1487
+ * the viewport containing block).
1488
+ * 3. Theme inheritance still works — the container carries `data-theme`,
1489
+ * `dir`, and the same CSS variables as the provider's root, so
1490
+ * `var(--ddga-color-*)` lookups inside the portal resolve correctly.
1491
+ *
1492
+ * `null` until the DOM mount effect runs (e.g., during SSR or the very
1493
+ * first commit on the client). Components should fall back to `rootEl`
1494
+ * (and finally `document.body`) when this is null.
1495
+ */
1496
+ portalEl: HTMLElement | null;
896
1497
  }
897
1498
  declare function useDga(): DgaContextValue;
898
1499
 
@@ -945,4 +1546,4 @@ declare function FieldMessage({ id, variant, children }: FieldMessageProps): rea
945
1546
 
946
1547
  declare function cn(...inputs: ClassValue[]): string;
947
1548
 
948
- export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDescription, type AlertDescriptionProps, type AlertProps, type AlertSectionProps, AlertTitle, type AlertTitleProps, Avatar, AvatarFallback, type AvatarFallbackProps, AvatarGroup, type AvatarGroupProps, AvatarImage, type AvatarImageProps, type AvatarProps, type AvatarStatus, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Button, type ButtonProps, Card, CardContent, CardDescription, type CardDescriptionProps, CardFooter, CardHeader, CardImage, type CardImageProps, type CardProps, type CardSectionProps, CardTitle, type CardTitleProps, Checkbox, type CheckboxProps, CircularProgress, type CircularProgressProps, Combobox, ComboboxGroup, type ComboboxGroupProps, ComboboxItem, type ComboboxItemProps, type ComboboxProps, ComboboxSeparator, type ComboboxSeparatorProps, DgaProvider, type DgaProviderProps, Divider, type DividerProps, Drawer, DrawerBody, DrawerClose, type DrawerCloseProps, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, DrawerHeader, type DrawerProps, type DrawerSectionProps, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, type FieldA11y, FieldMessage, type FieldMessageProps, Input, type InputProps, Modal, ModalClose, type ModalCloseProps, ModalContent, type ModalContentProps, ModalDescription, type ModalDescriptionProps, ModalFooter, ModalHeader, type ModalProps, type ModalSectionProps, ModalTitle, type ModalTitleProps, ModalTrigger, type ModalTriggerProps, Pagination, PaginationContent, type PaginationContentProps, PaginationEllipsis, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, type PaginationLinkProps, PaginationNext, type PaginationNextProps, PaginationPrevious, type PaginationPreviousProps, type PaginationProps, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Select, SelectItem, type SelectItemProps, type SelectProps, Skeleton, type SkeletonProps, Spinner, type SpinnerProps, Step, StepDescription, type StepDescriptionProps, StepIndicator, type StepIndicatorProps, type StepProps, type StepState, StepTitle, type StepTitleProps, Steps, type StepsProps, Switch, type SwitchProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, Textarea, type TextareaProps, type ToastAction, type ToastData, type ToastOptions, type ToastPosition, type ToastStore, type ToastVariant, Toaster, type ToasterProps, Tooltip, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipTrigger, type TooltipTriggerProps, type UseFieldA11yOptions, accordionVariants, alertVariants, avatarVariants, badgeVariants, breadcrumbVariants, buttonVariants, cardVariants, checkboxVariants, circularProgressVariants, cn, comboboxTriggerVariants, comboboxVariants, createToast, createToastStore, dividerVariants, drawerVariants, dropdownMenuVariants, inputVariants, modalContentVariants, paginationLinkVariants, paginationVariants, progressVariants, radioGroupVariants, radioVariants, selectTriggerVariants, skeletonVariants, spinnerVariants, stepVariants, stepsVariants, switchVariants, tabsListVariants, tabsVariants, textareaVariants, toast, toastStore, toastVariants, toastViewportVariants, tooltipContentVariants, useDga, useDir, useFieldA11y };
1549
+ export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDescription, type AlertDescriptionProps, type AlertProps, type AlertSectionProps, AlertTitle, type AlertTitleProps, Avatar, AvatarFallback, type AvatarFallbackProps, AvatarGroup, type AvatarGroupProps, AvatarImage, type AvatarImageProps, type AvatarProps, type AvatarStatus, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Button, type ButtonProps, Card, CardContent, CardDescription, type CardDescriptionProps, CardFooter, CardHeader, CardImage, type CardImageProps, type CardProps, type CardSectionProps, CardTitle, type CardTitleProps, Checkbox, type CheckboxProps, CircularProgress, type CircularProgressProps, Combobox, ComboboxGroup, type ComboboxGroupProps, ComboboxItem, type ComboboxItemProps, type ComboboxProps, ComboboxSeparator, type ComboboxSeparatorProps, DatePicker, type DatePickerProps, DescriptionDetails, type DescriptionDetailsProps, DescriptionItem, type DescriptionItemProps, DescriptionList, type DescriptionListProps, DescriptionTerm, type DescriptionTermProps, DgaProvider, type DgaProviderProps, Divider, type DividerProps, Drawer, DrawerBody, DrawerClose, type DrawerCloseProps, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, DrawerHeader, type DrawerProps, type DrawerSectionProps, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, EmptyState, EmptyStateActions, type EmptyStateActionsProps, EmptyStateDescription, type EmptyStateDescriptionProps, EmptyStateMedia, type EmptyStateMediaProps, type EmptyStateProps, EmptyStateTitle, type EmptyStateTitleProps, type FieldA11y, FieldMessage, type FieldMessageProps, type FileRejection, type FileStatus, FileUpload, type FileUploadProps, Input, type InputProps, Menubar, MenubarCheckboxItem, type MenubarCheckboxItemProps, MenubarContent, type MenubarContentProps, MenubarGroup, type MenubarGroupProps, MenubarItem, type MenubarItemProps, MenubarLabel, type MenubarLabelProps, MenubarMenu, type MenubarMenuProps, type MenubarProps, MenubarRadioGroup, type MenubarRadioGroupProps, MenubarRadioItem, type MenubarRadioItemProps, MenubarSeparator, type MenubarSeparatorProps, MenubarSub, MenubarSubContent, type MenubarSubContentProps, type MenubarSubProps, MenubarSubTrigger, type MenubarSubTriggerProps, MenubarTrigger, type MenubarTriggerProps, Modal, ModalClose, type ModalCloseProps, ModalContent, type ModalContentProps, ModalDescription, type ModalDescriptionProps, ModalFooter, ModalHeader, type ModalProps, type ModalSectionProps, ModalTitle, type ModalTitleProps, ModalTrigger, type ModalTriggerProps, NumberInput, type NumberInputProps, Pagination, PaginationContent, type PaginationContentProps, PaginationEllipsis, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, type PaginationLinkProps, PaginationNext, type PaginationNextProps, PaginationPrevious, type PaginationPreviousProps, type PaginationProps, Popover, PopoverAnchor, type PopoverAnchorProps, PopoverClose, type PopoverCloseProps, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rating, type RatingProps, type RejectionCode, ScrollArea, type ScrollAreaOrientation, type ScrollAreaProps, Select, SelectItem, type SelectItemProps, type SelectProps, Sidebar, SidebarContent, type SidebarContextValue, SidebarFooter, SidebarGroup, SidebarGroupAction, type SidebarGroupActionProps, SidebarGroupContent, type SidebarGroupDivProps, SidebarGroupLabel, SidebarHeader, SidebarInset, type SidebarInsetProps, SidebarMenu, SidebarMenuAction, type SidebarMenuActionProps, SidebarMenuBadge, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuSkeleton, type SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, type SidebarSectionProps, SidebarSeparator, SidebarTrigger, type SidebarTriggerProps, Skeleton, type SkeletonProps, Slider, type SliderProps, type SliderValue, Spinner, type SpinnerProps, Stat, StatChange, type StatChangeProps, StatGroup, type StatGroupProps, StatLabel, type StatLabelProps, type StatProps, StatValue, type StatValueProps, Step, StepDescription, type StepDescriptionProps, StepIndicator, type StepIndicatorProps, type StepProps, type StepState, StepTitle, type StepTitleProps, Steps, type StepsProps, Switch, type SwitchProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, Textarea, type TextareaProps, Timeline, TimelineContent, type TimelineContentProps, TimelineDescription, type TimelineDescriptionProps, TimelineItem, type TimelineItemProps, TimelineMarker, type TimelineMarkerProps, type TimelineProps, type TimelineStatus, TimelineTime, type TimelineTimeProps, TimelineTitle, type TimelineTitleProps, type ToastAction, type ToastData, type ToastOptions, type ToastPosition, type ToastStore, type ToastVariant, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, Tooltip, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipTrigger, type TooltipTriggerProps, type UploadFile, type UseFieldA11yOptions, accordionVariants, alertVariants, avatarVariants, badgeVariants, breadcrumbVariants, buttonVariants, cardVariants, checkboxVariants, circularProgressVariants, cn, comboboxTriggerVariants, comboboxVariants, createToast, createToastStore, datePickerVariants, descriptionListVariants, dividerVariants, drawerVariants, dropdownMenuVariants, emptyStateVariants, inputVariants, menubarContentVariants, menubarTriggerVariants, modalContentVariants, numberInputVariants, paginationLinkVariants, paginationVariants, popoverContentVariants, progressVariants, radioGroupVariants, radioVariants, ratingVariants, scrollAreaVariants, selectTriggerVariants, sidebarMenuButtonVariants, sidebarMenuSubButtonVariants, skeletonVariants, sliderVariants, spinnerVariants, statGroupVariants, statVariants, stepVariants, stepsVariants, switchVariants, tabsListVariants, tabsVariants, textareaVariants, timelineMarkerVariants, timelineVariants, toast, toastStore, toastVariants, toastViewportVariants, toggleGroupVariants, toggleVariants, tooltipContentVariants, useDga, useDir, useFieldA11y, useIsMobile, useSidebar };