@humu-tech/ui 0.3.0 → 0.4.1

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,6 +1,6 @@
1
1
  import { ClassValue } from 'clsx';
2
2
  import * as react from 'react';
3
- import { ReactNode, HTMLAttributes, ComponentPropsWithoutRef, ElementType, InputHTMLAttributes, ButtonHTMLAttributes, ReactElement, SVGAttributes, MouseEvent, TextareaHTMLAttributes, ForwardedRef, AnchorHTMLAttributes } from 'react';
3
+ import { ReactNode, HTMLAttributes, ComponentPropsWithoutRef, ElementType, InputHTMLAttributes, ButtonHTMLAttributes, MouseEvent, ReactElement, SVGAttributes, TextareaHTMLAttributes, ForwardedRef, AnchorHTMLAttributes, Component, ErrorInfo } from 'react';
4
4
  import * as class_variance_authority_types from 'class-variance-authority/types';
5
5
  import * as class_variance_authority from 'class-variance-authority';
6
6
  import { VariantProps } from 'class-variance-authority';
@@ -261,6 +261,7 @@ type ComboboxProps = Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'onChange
261
261
  renderItem?: ComboboxRenderItem;
262
262
  listAction?: ComboboxListAction;
263
263
  showFooter?: boolean;
264
+ showSearchIcon?: boolean;
264
265
  open?: boolean;
265
266
  defaultOpen?: boolean;
266
267
  onOpenChange?: (open: boolean) => void;
@@ -290,6 +291,7 @@ declare const Combobox: react.ForwardRefExoticComponent<Omit<react.HTMLAttribute
290
291
  renderItem?: ComboboxRenderItem;
291
292
  listAction?: ComboboxListAction;
292
293
  showFooter?: boolean;
294
+ showSearchIcon?: boolean;
293
295
  open?: boolean;
294
296
  defaultOpen?: boolean;
295
297
  onOpenChange?: (open: boolean) => void;
@@ -410,8 +412,34 @@ declare const DialogRoot: typeof DialogRootBase & {
410
412
  Description: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & react.RefAttributes<HTMLParagraphElement>, "ref"> & react.RefAttributes<HTMLParagraphElement>>;
411
413
  };
412
414
 
413
- type DocumentInputProps = Omit<MaskedInputProps, 'mask'>;
414
- declare function DocumentInput({ normalizeRaw, ...props }: DocumentInputProps): react.JSX.Element;
415
+ type DocumentInputType = 'any' | 'cpf' | 'cnpj';
416
+ type DocumentInputProps = Omit<MaskedInputProps, 'mask'> & {
417
+ documentType?: DocumentInputType;
418
+ };
419
+ declare function normalizeDocument(value?: string | null): string;
420
+ declare function DocumentInput({ normalizeRaw, documentType, ...props }: DocumentInputProps): react.JSX.Element;
421
+
422
+ type DownloadableFile = {
423
+ fileName: string;
424
+ fileType?: string;
425
+ base64?: string;
426
+ blob?: Blob;
427
+ url?: string;
428
+ };
429
+ declare function downloadFile({ fileName, fileType, base64, blob, url, }: DownloadableFile): void;
430
+
431
+ type DownloadButtonProps = Omit<ButtonProps, 'onClick' | 'loading'> & {
432
+ getFile: () => Promise<DownloadableFile>;
433
+ onError?: (error: unknown) => void;
434
+ onDownloaded?: (file: DownloadableFile) => void;
435
+ onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
436
+ };
437
+ declare const DownloadButton: react.ForwardRefExoticComponent<Omit<ButtonProps, "onClick" | "loading"> & {
438
+ getFile: () => Promise<DownloadableFile>;
439
+ onError?: (error: unknown) => void;
440
+ onDownloaded?: (file: DownloadableFile) => void;
441
+ onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
442
+ } & react.RefAttributes<HTMLButtonElement>>;
415
443
 
416
444
  type DrawerSide = 'right' | 'left' | 'top' | 'bottom';
417
445
  type DrawerSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
@@ -519,8 +547,11 @@ type FilePreviewContentProps = {
519
547
  declare function FilePreviewContent({ source, mimeType, name, }: FilePreviewContentProps): react.JSX.Element;
520
548
 
521
549
  type CommonProps = {
522
- trigger: ReactNode;
550
+ trigger?: ReactNode;
523
551
  title?: string;
552
+ open?: boolean;
553
+ defaultOpen?: boolean;
554
+ onOpenChange?: (open: boolean) => void;
524
555
  };
525
556
  type FileProps = CommonProps & {
526
557
  file: File;
@@ -530,7 +561,10 @@ type SourceProps = CommonProps & {
530
561
  mimeType: string;
531
562
  name?: string;
532
563
  };
533
- type FilePreviewDialogProps = FileProps | SourceProps;
564
+ type ContentProps = CommonProps & {
565
+ children: ReactNode;
566
+ };
567
+ type FilePreviewDialogProps = FileProps | SourceProps | ContentProps;
534
568
  declare function FilePreviewDialog(props: FilePreviewDialogProps): react.JSX.Element;
535
569
 
536
570
  type FileViewCardField = {
@@ -801,7 +835,7 @@ declare const ProgressTitle: react.ForwardRefExoticComponent<Omit<Omit<react.Det
801
835
  progressLabel?: string;
802
836
  } & react.RefAttributes<HTMLDivElement>>;
803
837
 
804
- type ChecklistStatus = 'approved' | 'review' | 'pending';
838
+ type ChecklistStatus = 'approved' | 'review' | 'pending' | 'critical' | 'active';
805
839
  type ChecklistItem = {
806
840
  id: string;
807
841
  label: ReactNode;
@@ -811,16 +845,22 @@ type ChecklistItem = {
811
845
  };
812
846
  type ChecklistProps = Omit<ComponentPropsWithoutRef<'ul'>, 'children'> & {
813
847
  items: ChecklistItem[];
848
+ variant?: 'card' | 'compact';
849
+ showAction?: boolean;
814
850
  };
815
851
  declare const Checklist: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref">, "children"> & {
816
852
  items: ChecklistItem[];
853
+ variant?: "card" | "compact";
854
+ showAction?: boolean;
817
855
  } & react.RefAttributes<HTMLUListElement>>;
818
856
 
819
857
  type FullScreenLoadingProps = {
820
858
  message?: ReactNode;
859
+ label?: string;
860
+ opaque?: boolean;
821
861
  className?: string;
822
862
  };
823
- declare function FullScreenLoading({ message, className, }: FullScreenLoadingProps): react.JSX.Element;
863
+ declare function FullScreenLoading({ message, label, opaque, className, }: FullScreenLoadingProps): react.JSX.Element;
824
864
  declare namespace FullScreenLoading {
825
865
  var displayName: string;
826
866
  }
@@ -959,6 +999,7 @@ type MultiComboboxProps = Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'onC
959
999
  renderItem?: ComboboxRenderItem;
960
1000
  listAction?: ComboboxListAction;
961
1001
  showFooter?: boolean;
1002
+ showSearchIcon?: boolean;
962
1003
  open?: boolean;
963
1004
  defaultOpen?: boolean;
964
1005
  onOpenChange?: (open: boolean) => void;
@@ -988,6 +1029,7 @@ declare const MultiCombobox: react.ForwardRefExoticComponent<Omit<react.HTMLAttr
988
1029
  renderItem?: ComboboxRenderItem;
989
1030
  listAction?: ComboboxListAction;
990
1031
  showFooter?: boolean;
1032
+ showSearchIcon?: boolean;
991
1033
  open?: boolean;
992
1034
  defaultOpen?: boolean;
993
1035
  onOpenChange?: (open: boolean) => void;
@@ -1015,6 +1057,45 @@ declare const OtpInput: react.ForwardRefExoticComponent<OtpInputProps & react.Re
1015
1057
  type PasswordInputProps = Omit<InputProps, 'type' | 'rightIcon'>;
1016
1058
  declare const PasswordInput: react.ForwardRefExoticComponent<PasswordInputProps & react.RefAttributes<HTMLInputElement>>;
1017
1059
 
1060
+ type PasswordPromptDialogProps = {
1061
+ open?: boolean;
1062
+ defaultOpen?: boolean;
1063
+ onOpenChange?: (open: boolean) => void;
1064
+ title: string;
1065
+ description?: ReactNode;
1066
+ confirmLabel?: string;
1067
+ cancelLabel?: string;
1068
+ label?: string;
1069
+ placeholder?: string;
1070
+ autoComplete?: string;
1071
+ maxLength?: number;
1072
+ error?: string;
1073
+ loading?: boolean;
1074
+ closeOnConfirm?: boolean;
1075
+ trigger?: ReactNode;
1076
+ onConfirm: (password: string) => void;
1077
+ };
1078
+ declare function PasswordPromptDialog({ open, defaultOpen, onOpenChange, title, description, confirmLabel, cancelLabel, label, placeholder, autoComplete, maxLength, error, loading, closeOnConfirm, trigger, onConfirm, }: PasswordPromptDialogProps): react.JSX.Element;
1079
+
1080
+ type PasswordRule = {
1081
+ id: string;
1082
+ label: string;
1083
+ test: (value: string) => boolean;
1084
+ };
1085
+ declare const PASSWORD_MIN_LENGTH = 8;
1086
+ declare const DEFAULT_PASSWORD_RULES: ReadonlyArray<PasswordRule>;
1087
+ declare function meetsPasswordRules(value: string, rules?: ReadonlyArray<PasswordRule>): boolean;
1088
+
1089
+ type PasswordRequirementsProps = {
1090
+ value: string;
1091
+ rules?: ReadonlyArray<PasswordRule>;
1092
+ title?: ReactNode;
1093
+ showProgress?: boolean;
1094
+ metLabel?: string;
1095
+ className?: string;
1096
+ };
1097
+ declare function PasswordRequirements({ value, rules, title, showProgress, metLabel, className, }: PasswordRequirementsProps): react.JSX.Element;
1098
+
1018
1099
  type PercentInputProps = Omit<InputProps, 'value' | 'onChange'> & {
1019
1100
  value?: string;
1020
1101
  onValueChange?: (formatted: string, raw: string) => void;
@@ -1022,7 +1103,8 @@ type PercentInputProps = Omit<InputProps, 'value' | 'onChange'> & {
1022
1103
  declare function PercentInput({ value, onValueChange, ...props }: PercentInputProps): react.JSX.Element;
1023
1104
 
1024
1105
  type PhoneInputProps = Omit<MaskedInputProps, 'mask'>;
1025
- declare function PhoneInput(props: PhoneInputProps): react.JSX.Element;
1106
+ declare function brazilianPhoneDigits(value: string): string;
1107
+ declare function PhoneInput({ normalizeRaw, ...props }: PhoneInputProps): react.JSX.Element;
1026
1108
 
1027
1109
  declare const popoverContentStyles: (props?: ({
1028
1110
  size?: "auto" | "sm" | "md" | "lg" | null | undefined;
@@ -1107,13 +1189,13 @@ declare const Stepper: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes
1107
1189
  } & react.RefAttributes<HTMLOListElement>>;
1108
1190
 
1109
1191
  declare const skeletonStyles: (props?: ({
1110
- shape?: "text" | "circle" | "rect" | null | undefined;
1192
+ shape?: "text" | "circle" | "rect" | "field" | null | undefined;
1111
1193
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1112
1194
  type SkeletonProps = ComponentPropsWithoutRef<'div'> & VariantProps<typeof skeletonStyles> & {
1113
1195
  loading?: boolean;
1114
1196
  };
1115
1197
  declare const Skeleton: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & VariantProps<(props?: ({
1116
- shape?: "text" | "circle" | "rect" | null | undefined;
1198
+ shape?: "text" | "circle" | "rect" | "field" | null | undefined;
1117
1199
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
1118
1200
  loading?: boolean;
1119
1201
  } & react.RefAttributes<HTMLDivElement>>;
@@ -1143,15 +1225,21 @@ declare function Sparkline({ values, color, height, width, variant, ariaLabel, c
1143
1225
  type SparklineBadgeDirection = 'up' | 'down' | 'flat';
1144
1226
  type SparklineBadgeTone = 'auto' | 'success' | 'danger' | 'muted' | 'warning' | 'info';
1145
1227
  type SparklineBadgeProps = Omit<HTMLAttributes<HTMLSpanElement>, 'children'> & {
1146
- value: string;
1147
- direction: SparklineBadgeDirection;
1228
+ value?: ReactNode;
1229
+ direction?: SparklineBadgeDirection;
1230
+ isNew?: boolean;
1231
+ newLabel?: ReactNode;
1232
+ srPrefix?: string;
1148
1233
  tone?: SparklineBadgeTone;
1149
1234
  size?: 'sm' | 'md';
1150
1235
  };
1151
1236
 
1152
1237
  declare const SparklineBadge: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLSpanElement>, "children"> & {
1153
- value: string;
1154
- direction: SparklineBadgeDirection;
1238
+ value?: react.ReactNode;
1239
+ direction?: SparklineBadgeDirection;
1240
+ isNew?: boolean;
1241
+ newLabel?: react.ReactNode;
1242
+ srPrefix?: string;
1155
1243
  tone?: SparklineBadgeTone;
1156
1244
  size?: "sm" | "md";
1157
1245
  } & react.RefAttributes<HTMLSpanElement>>;
@@ -1173,25 +1261,33 @@ type TabsTriggerProps = ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger> &
1173
1261
  icon?: ReactNode;
1174
1262
  count?: ReactNode;
1175
1263
  tone?: TabsTriggerTone;
1264
+ hasError?: boolean;
1265
+ errorLabel?: string;
1176
1266
  };
1177
1267
  type TabsProps = ComponentPropsWithoutRef<typeof TabsPrimitive.Root> & {
1178
1268
  children?: ReactNode;
1179
1269
  };
1180
1270
  type TabsListProps = ComponentPropsWithoutRef<typeof TabsPrimitive.List> & {
1181
1271
  variant?: TabsVariant;
1272
+ overflow?: 'menu' | 'none';
1273
+ moreLabel?: string;
1182
1274
  };
1183
- declare function TabsRoot({ children, className, ...props }: TabsProps): react.JSX.Element;
1275
+ declare function TabsRoot({ children, className, value, defaultValue, onValueChange, ...props }: TabsProps): react.JSX.Element;
1184
1276
  declare namespace TabsRoot {
1185
1277
  var displayName: string;
1186
1278
  }
1187
1279
  declare const Tabs: typeof TabsRoot & {
1188
1280
  List: react.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
1189
1281
  variant?: TabsVariant;
1282
+ overflow?: "menu" | "none";
1283
+ moreLabel?: string;
1190
1284
  } & react.RefAttributes<HTMLDivElement>>;
1191
1285
  Trigger: react.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & react.RefAttributes<HTMLButtonElement>, "ref"> & {
1192
1286
  icon?: ReactNode;
1193
1287
  count?: ReactNode;
1194
1288
  tone?: TabsTriggerTone;
1289
+ hasError?: boolean;
1290
+ errorLabel?: string;
1195
1291
  } & react.RefAttributes<HTMLButtonElement>>;
1196
1292
  Content: react.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
1197
1293
  };
@@ -1635,6 +1731,9 @@ type NotificationCenterProps = {
1635
1731
  onMarkAllRead?: () => void;
1636
1732
  onItemClick?: (notification: Notification) => void;
1637
1733
  emptyMessage?: string;
1734
+ emptyDescription?: ReactNode;
1735
+ emptyIcon?: ReactNode;
1736
+ emptyState?: ReactNode;
1638
1737
  triggerAriaLabel?: string;
1639
1738
  relativeTime?: (iso: string) => string;
1640
1739
  };
@@ -1711,9 +1810,11 @@ declare const ErrorPageLayout: react.ForwardRefExoticComponent<Omit<PublicPageLa
1711
1810
  primaryAction?: {
1712
1811
  label: string;
1713
1812
  onClick: () => void;
1813
+ icon?: react.ReactNode;
1714
1814
  } | {
1715
1815
  label: string;
1716
1816
  href: string;
1817
+ icon?: react.ReactNode;
1717
1818
  };
1718
1819
  illustration?: react.ReactNode;
1719
1820
  } & react.RefAttributes<HTMLDivElement>>;
@@ -1725,9 +1826,11 @@ type ErrorPageLayoutProps = Omit<PublicPageLayoutProps, 'children'> & {
1725
1826
  primaryAction?: {
1726
1827
  label: string;
1727
1828
  onClick: () => void;
1829
+ icon?: ReactNode;
1728
1830
  } | {
1729
1831
  label: string;
1730
1832
  href: string;
1833
+ icon?: ReactNode;
1731
1834
  };
1732
1835
  illustration?: ReactNode;
1733
1836
  };
@@ -1963,23 +2066,161 @@ declare const EmptyState: react.ForwardRefExoticComponent<Omit<react.HTMLAttribu
1963
2066
  action?: react.ReactNode;
1964
2067
  } & react.RefAttributes<HTMLDivElement>>;
1965
2068
 
2069
+ type ActionBarProps = Omit<ComponentPropsWithoutRef<'section'>, 'children'> & {
2070
+ start?: ReactNode;
2071
+ end?: ReactNode;
2072
+ children?: ReactNode;
2073
+ sticky?: boolean;
2074
+ };
2075
+ declare const ActionBar: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">, "children"> & {
2076
+ start?: ReactNode;
2077
+ end?: ReactNode;
2078
+ children?: ReactNode;
2079
+ sticky?: boolean;
2080
+ } & react.RefAttributes<HTMLElement>>;
2081
+
2082
+ type CookieConsentProps = {
2083
+ cookieName: string;
2084
+ message?: ReactNode;
2085
+ policyLink?: ReactNode;
2086
+ acceptLabel?: string;
2087
+ maxAgeDays?: number;
2088
+ onAccept?: () => void;
2089
+ className?: string;
2090
+ };
2091
+ declare function CookieConsent({ cookieName, message, policyLink, acceptLabel, maxAgeDays, onAccept, className, }: CookieConsentProps): react.JSX.Element | null;
2092
+
2093
+ type ErrorBoundaryProps = {
2094
+ children: ReactNode;
2095
+ fallback?: (reset: () => void, error: Error | null) => ReactNode;
2096
+ onError?: (error: Error, info: ErrorInfo) => void;
2097
+ onReset?: () => void;
2098
+ title?: string;
2099
+ description?: string;
2100
+ retryLabel?: string;
2101
+ };
2102
+ type ErrorBoundaryState = {
2103
+ error: Error | null;
2104
+ };
2105
+ declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
2106
+ static displayName: string;
2107
+ state: ErrorBoundaryState;
2108
+ static getDerivedStateFromError(error: Error): ErrorBoundaryState;
2109
+ componentDidCatch(error: Error, info: ErrorInfo): void;
2110
+ reset: () => void;
2111
+ render(): string | number | boolean | Iterable<ReactNode> | react.JSX.Element | null | undefined;
2112
+ }
2113
+
2114
+ type QuickFilterItem = {
2115
+ id: string;
2116
+ label: string;
2117
+ icon?: ReactNode;
2118
+ tone?: ToggleChipTone;
2119
+ count?: number;
2120
+ priority?: 0 | 1 | 2 | 3;
2121
+ };
2122
+ type QuickFiltersProps = {
2123
+ items: QuickFilterItem[];
2124
+ value: string | null;
2125
+ onValueChange: (id: string | null) => void;
2126
+ moreLabel?: string;
2127
+ };
2128
+ declare function QuickFilters({ items, value, onValueChange, moreLabel, }: QuickFiltersProps): react.JSX.Element | null;
2129
+
2130
+ type SectionHeadingProps = Omit<ComponentPropsWithoutRef<'div'>, 'title'> & {
2131
+ title: ReactNode;
2132
+ description?: ReactNode;
2133
+ level?: 2 | 3 | 4 | 5;
2134
+ actions?: ReactNode;
2135
+ divider?: boolean;
2136
+ };
2137
+ declare const SectionHeading: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "title"> & {
2138
+ title: ReactNode;
2139
+ description?: ReactNode;
2140
+ level?: 2 | 3 | 4 | 5;
2141
+ actions?: ReactNode;
2142
+ divider?: boolean;
2143
+ } & react.RefAttributes<HTMLDivElement>>;
2144
+
2145
+ type SpeedometerProps = {
2146
+ value: number;
2147
+ min: number;
2148
+ max: number;
2149
+ label?: string;
2150
+ isReverse?: boolean;
2151
+ segments?: string[];
2152
+ stops?: number[];
2153
+ formatValue?: (value: number) => ReactNode;
2154
+ className?: string;
2155
+ };
2156
+ declare function Speedometer({ value, min, max, label, isReverse, segments, stops, formatValue, className, }: SpeedometerProps): react.JSX.Element;
2157
+
2158
+ type StatusBadgeMeta = {
2159
+ label: ReactNode;
2160
+ variant: NonNullable<BadgeProps['variant']>;
2161
+ subtle?: boolean;
2162
+ description?: ReactNode;
2163
+ icon?: ReactNode;
2164
+ };
2165
+ type StatusBadgeMap<S extends string = string> = Record<S, StatusBadgeMeta>;
2166
+ type StatusBadgeProps<S extends string = string> = {
2167
+ status: NoInfer<S> | (string & {});
2168
+ map: Partial<StatusBadgeMap<S>>;
2169
+ size?: BadgeProps['size'];
2170
+ tooltip?: boolean;
2171
+ icon?: ReactNode;
2172
+ unknownLabel?: (status: string) => ReactNode;
2173
+ onUnknownStatus?: (status: string) => void;
2174
+ className?: string;
2175
+ };
2176
+ declare function StatusBadge<S extends string = string>({ status, map, size, tooltip, icon, unknownLabel, onUnknownStatus, className, }: StatusBadgeProps<S>): react.JSX.Element;
2177
+
2178
+ type ToggleTileProps = {
2179
+ label: ReactNode;
2180
+ helper?: string;
2181
+ checked: boolean;
2182
+ onCheckedChange: (checked: boolean) => void;
2183
+ disabled?: boolean;
2184
+ id?: string;
2185
+ 'aria-label'?: string;
2186
+ as?: 'li' | 'div';
2187
+ className?: string;
2188
+ };
2189
+ declare const ToggleTile: react.ForwardRefExoticComponent<ToggleTileProps & react.RefAttributes<HTMLElement>>;
2190
+
1966
2191
  type WizardShellStep = {
1967
2192
  id: string;
1968
2193
  label: string;
1969
2194
  description?: string;
1970
2195
  state: StepState;
1971
2196
  optional?: boolean;
2197
+ disabled?: boolean;
1972
2198
  };
1973
2199
  type WizardShellProps = {
1974
2200
  steps: WizardShellStep[];
1975
2201
  currentStepId: string;
1976
2202
  onStepChange?: (stepId: string) => void;
1977
2203
  title: string;
1978
- subtitle?: string;
2204
+ subtitle?: ReactNode;
1979
2205
  children: ReactNode;
1980
2206
  aside?: ReactNode;
1981
2207
  footer?: ReactNode;
1982
2208
  className?: string;
2209
+ layout?: 'card' | 'page';
2210
+ onBack?: () => void;
2211
+ backLabel?: string;
2212
+ headerActions?: ReactNode;
2213
+ stepsLabel?: string;
2214
+ contentLabel?: string;
2215
+ contentBordered?: boolean;
2216
+ footerStart?: ReactNode;
2217
+ footerEnd?: ReactNode;
2218
+ footerLabel?: string;
2219
+ stickyFooter?: boolean;
2220
+ asideTitle?: string;
2221
+ asideCollapsible?: boolean;
2222
+ asideCollapsedContent?: ReactNode;
2223
+ asideDefaultCollapsed?: boolean;
1983
2224
  };
1984
2225
 
1985
2226
  declare function WizardShell(props: WizardShellProps): react.JSX.Element;
@@ -2007,9 +2248,16 @@ type DataFieldProps = {
2007
2248
  value: ReactNode;
2008
2249
  icon?: ReactNode;
2009
2250
  hint?: ReactNode;
2251
+ emphasis?: boolean;
2252
+ mono?: boolean;
2253
+ numeric?: boolean;
2254
+ truncate?: boolean;
2255
+ as?: 'div' | 'span';
2256
+ emptyValue?: ReactNode;
2257
+ valueClassName?: string;
2010
2258
  className?: string;
2011
2259
  };
2012
- declare function DataField({ label, value, icon, hint, className, }: DataFieldProps): react.JSX.Element;
2260
+ declare function DataField({ label, value, icon, hint, emphasis, mono, numeric, truncate, as: Tag, emptyValue, valueClassName, className, }: DataFieldProps): react.JSX.Element;
2013
2261
 
2014
2262
  type FilterFieldBase = {
2015
2263
  name: string;
@@ -2259,10 +2507,12 @@ declare const TimelineItem: react.ForwardRefExoticComponent<Omit<Omit<react.Deta
2259
2507
  } & react.RefAttributes<HTMLLIElement>>;
2260
2508
  type TimelineDaySeparatorProps = ComponentPropsWithoutRef<'li'> & {
2261
2509
  label: ReactNode;
2510
+ as?: 'li' | 'div';
2262
2511
  };
2263
2512
  declare const TimelineDaySeparator: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
2264
2513
  label: ReactNode;
2265
- } & react.RefAttributes<HTMLLIElement>>;
2514
+ as?: "li" | "div";
2515
+ } & react.RefAttributes<HTMLElement>>;
2266
2516
  type TimelineSectionProps = Omit<ComponentPropsWithoutRef<'section'>, 'title'> & {
2267
2517
  title: ReactNode;
2268
2518
  };
@@ -2270,4 +2520,4 @@ declare const TimelineSection: react.ForwardRefExoticComponent<Omit<Omit<react.D
2270
2520
  title: ReactNode;
2271
2521
  } & react.RefAttributes<HTMLElement>>;
2272
2522
 
2273
- export { AppShell, type AppShellProps, Avatar, type AvatarColor, type AvatarProps, type AvatarSize, type AvatarTone, Badge, type BadgeProps, type BadgeVariant, Box, type BoxProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonProps, Card, type CardProps, CepInput, type CepInputProps, ChartTimeSeries, type ChartTimeSeriesPoint, type ChartTimeSeriesProps, Checkbox, type CheckboxProps, Checklist, type ChecklistItem, type ChecklistProps, type ChecklistStatus, ColorPicker, type ColorPickerProps, Combobox, type ComboboxItem, type ComboboxListAction, type ComboboxProps, type ComboboxRenderItem, type ComboboxRenderItemState, type ComboboxSelectionIndicator, type CommandGroup, type CommandItem, CommandPalette, type CommandPaletteProps, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogVariant, ContentCard, type ContentCardProps, ContextMenu, type ContextMenuContentProps, type ContextMenuItemProps, type ContextMenuProps, CopyButton, type CopyButtonProps, DSAccordion, type DSAccordionRootProps, type DSAccordionTriggerProps, DashboardBlock, type DashboardBlockData, type DashboardBlockProps, type DashboardReason, DataField, type DataFieldProps, DataTable, DataTableActionButton, type DataTableActionButtonProps, type DataTableColumn, type DataTableDensity, DataTableDocumentCell, type DataTableDocumentCellProps, DataTableLinkCell, type DataTableLinkCellProps, DataTablePagination, type DataTablePaginationProps, type DataTableProps, type DataTableSortDirection, DataTableTextCell, type DataTableTextCellProps, DateInput, type DateInputProps, type DateRange, type DateRangeFilterField, DateRangeInput, type DateRangeInputProps, DefaultLink, type DetailsDialog, DialogRoot as Dialog, type DialogContentProps, type DialogProps, DocumentInput, type DocumentInputProps, DocumentUploadCard, type DocumentUploadCardProps, type DocumentUploadCardSentFile, type DocumentUploadCardTone, DonutChart, type DonutChartProps, type DonutChartSlice, DrawerRoot as Drawer, type DrawerContentProps, type DrawerFooterProps, type DrawerProps, type DrawerSide, type DrawerSize, Dropdown, type DropdownCheckboxItemProps, type DropdownContentProps, type DropdownItemProps, type DropdownProps, type DsLinkComponent, EmptyState, type EmptyStateProps, type EmptyStateVariant, ErrorPageLayout, type ErrorPageLayoutProps, FieldsCard, type FieldsCardField, type FieldsCardProps, type FieldsCardVariant, FileInfoCard, type FileInfoCardProps, FilePreviewContent, type FilePreviewContentProps, FilePreviewDialog, type FilePreviewDialogProps, FileThumbnail, type FileThumbnailProps, FileUpload, type FileUploadProps, FileViewCard, type FileViewCardField, type FileViewCardProps, FilterBar, type FilterBarProps, FilterBar as FilterBarV2, type FilterBarProps as FilterBarV2Props, type FilterField, type FilterFormValues, FilterToolbar, type FilterToolbarProps, FormAlert, type FormAlertProps, type FormAsideSection, FormSection, type FormSectionProps, FormWithAside, type FormWithAsideProps, FullScreenLoading, type FullScreenLoadingProps, Heading, type HeadingProps, HelpHint, type HelpHintProps, type HelpHintSize, HorizontalBarChart, type HorizontalBarChartProps, type HorizontalBarItem, ImageUpload, type ImageUploadPreviewBg, type ImageUploadProps, InfoBox, type InfoBoxProps, type InfoBoxVariant, Input, type InputProps, KpiCard, type KpiCardProgress, type KpiCardProgressTone, type KpiCardProps, type KpiCardVariant, KpiHero, type KpiHeroProps, type KpiHeroTone, type KpiHeroTrend, type KpiHeroTrendDirection, Label, type LabelProps, type LegalDocumentContent, LegalDocumentRenderer, type LegalDocumentRendererProps, LineChart, type LineChartProps, type LineSeries, Logo, type LogoProps, type LogoTone, type LogoVariant, type MaskFilterField, MaskedInput, type MaskedInputProps, MoneyInput, type MoneyInputProps, MultiCombobox, type MultiComboboxItem, type MultiComboboxProps, type MultiComboboxSelectAll, type MultiSelectFilterField, NavigatorTile, NavigatorTileGrid, type NavigatorTileGridProps, type NavigatorTileProps, type Notification, NotificationCenter, type NotificationCenterProps, type NotificationSeverity, type NumberRangeFilterField, OtpInput, type OtpInputProps, PageTitle, type PageTitleInfoItem, type PageTitleProps, PanelCard, type PanelCardProps, PasswordInput, type PasswordInputProps, PercentInput, type PercentInputProps, PhoneInput, type PhoneInputProps, Popover, type PopoverContentProps, type PopoverProps, Progress, type ProgressItem, type ProgressProps, ProgressTitle, type ProgressTitleProps, PublicPageLayout, type PublicPageLayoutProps, RadioGroup, type RadioGroupProps, type ReadOnlyColumn, ReadOnlyDataView, type ReadOnlyDataViewProps, type ResolvedTheme, SectionCard, type SectionCardProps, type SelectFilterField, SelectableCard, type SelectableCardIndicator, type SelectableCardProps, Separator, type SeparatorProps, Sidebar, type SidebarGroup, type SidebarItem, type SidebarProps, Skeleton, type SkeletonProps, type SortDirection$1 as SortDirection, SortableColumnHeader, type SortableColumnHeaderProps, Sparkline, SparklineBadge, type SparklineBadgeDirection, type SparklineBadgeProps, type SparklineBadgeTone, type SparklineProps, Spinner, type SpinnerProps, type StackSeries, StackedBarChart, type StackedBarChartProps, type StepState, Stepper, type StepperProps, type StepperStep, SuspenseSkeleton, Switch, type SwitchProps, THEME_STORAGE_KEY, Tabs, type TabsListProps, type TabsProps, type TabsTriggerProps, type TabsTriggerTone, type TabsVariant, Text, TextArea, type TextAreaProps, type TextFilterField, type TextProps, type ThemeContextValue, type ThemeOptions, type ThemePreference, ThemeProvider, type ThemeProviderProps, ThemeToggle, type ThemeToggleProps, Timeline, TimelineDaySeparator, type TimelineDaySeparatorProps, TimelineItem, type TimelineItemProps, type TimelineProps, TimelineSection, type TimelineSectionProps, type TimelineTone, TitleSelect, type TitleSelectOption, type TitleSelectProps, type ToastOptions, type ToastRecord, type ToastVariant, Toaster, type ToasterProps, ToggleChip, type ToggleChipProps, type ToggleChipTone, Tooltip, type TooltipProps, Topbar, TopbarIconButton, type TopbarIconButtonProps, type TopbarProps, TopbarSearchButton, type TopbarSearchButtonProps, TutorialCard, type TutorialCardProps, WizardShell, type WizardShellProps, type WizardShellStep, WorkflowDesigner, type WorkflowDesignerProps, type WorkflowEdge, type WorkflowEdgeTrigger, type WorkflowNode, type WorkflowNodeAction, type WorkflowNodeKind, type WorkflowNodeRule, cn, dismissToast, getShortcutKeys, getShortcutLabel, getThemeBootstrapScript, isImageFile, isMacOS, isPdfFile, toast, useTheme, useToast };
2523
+ export { ActionBar, type ActionBarProps, AppShell, type AppShellProps, Avatar, type AvatarColor, type AvatarProps, type AvatarSize, type AvatarTone, Badge, type BadgeProps, type BadgeVariant, Box, type BoxProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonProps, Card, type CardProps, CepInput, type CepInputProps, ChartTimeSeries, type ChartTimeSeriesPoint, type ChartTimeSeriesProps, Checkbox, type CheckboxProps, Checklist, type ChecklistItem, type ChecklistProps, type ChecklistStatus, ColorPicker, type ColorPickerProps, Combobox, type ComboboxItem, type ComboboxListAction, type ComboboxProps, type ComboboxRenderItem, type ComboboxRenderItemState, type ComboboxSelectionIndicator, type CommandGroup, type CommandItem, CommandPalette, type CommandPaletteProps, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogVariant, ContentCard, type ContentCardProps, ContextMenu, type ContextMenuContentProps, type ContextMenuItemProps, type ContextMenuProps, CookieConsent, type CookieConsentProps, CopyButton, type CopyButtonProps, DEFAULT_PASSWORD_RULES, DSAccordion, type DSAccordionRootProps, type DSAccordionTriggerProps, DashboardBlock, type DashboardBlockData, type DashboardBlockProps, type DashboardReason, DataField, type DataFieldProps, DataTable, DataTableActionButton, type DataTableActionButtonProps, type DataTableColumn, type DataTableDensity, DataTableDocumentCell, type DataTableDocumentCellProps, DataTableLinkCell, type DataTableLinkCellProps, DataTablePagination, type DataTablePaginationProps, type DataTableProps, type DataTableSortDirection, DataTableTextCell, type DataTableTextCellProps, DateInput, type DateInputProps, type DateRange, type DateRangeFilterField, DateRangeInput, type DateRangeInputProps, DefaultLink, type DetailsDialog, DialogRoot as Dialog, type DialogContentProps, type DialogProps, DocumentInput, type DocumentInputProps, type DocumentInputType, DocumentUploadCard, type DocumentUploadCardProps, type DocumentUploadCardSentFile, type DocumentUploadCardTone, DonutChart, type DonutChartProps, type DonutChartSlice, DownloadButton, type DownloadButtonProps, type DownloadableFile, DrawerRoot as Drawer, type DrawerContentProps, type DrawerFooterProps, type DrawerProps, type DrawerSide, type DrawerSize, Dropdown, type DropdownCheckboxItemProps, type DropdownContentProps, type DropdownItemProps, type DropdownProps, type DsLinkComponent, EmptyState, type EmptyStateProps, type EmptyStateVariant, ErrorBoundary, type ErrorBoundaryProps, ErrorPageLayout, type ErrorPageLayoutProps, FieldsCard, type FieldsCardField, type FieldsCardProps, type FieldsCardVariant, FileInfoCard, type FileInfoCardProps, FilePreviewContent, type FilePreviewContentProps, FilePreviewDialog, type FilePreviewDialogProps, FileThumbnail, type FileThumbnailProps, FileUpload, type FileUploadProps, FileViewCard, type FileViewCardField, type FileViewCardProps, FilterBar, type FilterBarProps, FilterBar as FilterBarV2, type FilterBarProps as FilterBarV2Props, type FilterField, type FilterFormValues, FilterToolbar, type FilterToolbarProps, FormAlert, type FormAlertProps, type FormAsideSection, FormSection, type FormSectionProps, FormWithAside, type FormWithAsideProps, FullScreenLoading, type FullScreenLoadingProps, Heading, type HeadingProps, HelpHint, type HelpHintProps, type HelpHintSize, HorizontalBarChart, type HorizontalBarChartProps, type HorizontalBarItem, ImageUpload, type ImageUploadPreviewBg, type ImageUploadProps, InfoBox, type InfoBoxProps, type InfoBoxVariant, Input, type InputProps, KpiCard, type KpiCardProgress, type KpiCardProgressTone, type KpiCardProps, type KpiCardVariant, KpiHero, type KpiHeroProps, type KpiHeroTone, type KpiHeroTrend, type KpiHeroTrendDirection, Label, type LabelProps, type LegalDocumentContent, LegalDocumentRenderer, type LegalDocumentRendererProps, LineChart, type LineChartProps, type LineSeries, Logo, type LogoProps, type LogoTone, type LogoVariant, type MaskFilterField, MaskedInput, type MaskedInputProps, MoneyInput, type MoneyInputProps, MultiCombobox, type MultiComboboxItem, type MultiComboboxProps, type MultiComboboxSelectAll, type MultiSelectFilterField, NavigatorTile, NavigatorTileGrid, type NavigatorTileGridProps, type NavigatorTileProps, type Notification, NotificationCenter, type NotificationCenterProps, type NotificationSeverity, type NumberRangeFilterField, OtpInput, type OtpInputProps, PASSWORD_MIN_LENGTH, PageTitle, type PageTitleInfoItem, type PageTitleProps, PanelCard, type PanelCardProps, PasswordInput, type PasswordInputProps, PasswordPromptDialog, type PasswordPromptDialogProps, PasswordRequirements, type PasswordRequirementsProps, type PasswordRule, PercentInput, type PercentInputProps, PhoneInput, type PhoneInputProps, Popover, type PopoverContentProps, type PopoverProps, Progress, type ProgressItem, type ProgressProps, ProgressTitle, type ProgressTitleProps, PublicPageLayout, type PublicPageLayoutProps, type QuickFilterItem, QuickFilters, type QuickFiltersProps, RadioGroup, type RadioGroupProps, type ReadOnlyColumn, ReadOnlyDataView, type ReadOnlyDataViewProps, type ResolvedTheme, SectionCard, type SectionCardProps, SectionHeading, type SectionHeadingProps, type SelectFilterField, SelectableCard, type SelectableCardIndicator, type SelectableCardProps, Separator, type SeparatorProps, Sidebar, type SidebarGroup, type SidebarItem, type SidebarProps, Skeleton, type SkeletonProps, type SortDirection$1 as SortDirection, SortableColumnHeader, type SortableColumnHeaderProps, Sparkline, SparklineBadge, type SparklineBadgeDirection, type SparklineBadgeProps, type SparklineBadgeTone, type SparklineProps, Speedometer, type SpeedometerProps, Spinner, type SpinnerProps, type StackSeries, StackedBarChart, type StackedBarChartProps, StatusBadge, type StatusBadgeMap, type StatusBadgeMeta, type StatusBadgeProps, type StepState, Stepper, type StepperProps, type StepperStep, SuspenseSkeleton, Switch, type SwitchProps, THEME_STORAGE_KEY, Tabs, type TabsListProps, type TabsProps, type TabsTriggerProps, type TabsTriggerTone, type TabsVariant, Text, TextArea, type TextAreaProps, type TextFilterField, type TextProps, type ThemeContextValue, type ThemeOptions, type ThemePreference, ThemeProvider, type ThemeProviderProps, ThemeToggle, type ThemeToggleProps, Timeline, TimelineDaySeparator, type TimelineDaySeparatorProps, TimelineItem, type TimelineItemProps, type TimelineProps, TimelineSection, type TimelineSectionProps, type TimelineTone, TitleSelect, type TitleSelectOption, type TitleSelectProps, type ToastOptions, type ToastRecord, type ToastVariant, Toaster, type ToasterProps, ToggleChip, type ToggleChipProps, type ToggleChipTone, ToggleTile, type ToggleTileProps, Tooltip, type TooltipProps, Topbar, TopbarIconButton, type TopbarIconButtonProps, type TopbarProps, TopbarSearchButton, type TopbarSearchButtonProps, TutorialCard, type TutorialCardProps, WizardShell, type WizardShellProps, type WizardShellStep, WorkflowDesigner, type WorkflowDesignerProps, type WorkflowEdge, type WorkflowEdgeTrigger, type WorkflowNode, type WorkflowNodeAction, type WorkflowNodeKind, type WorkflowNodeRule, brazilianPhoneDigits, cn, dismissToast, downloadFile, getShortcutKeys, getShortcutLabel, getThemeBootstrapScript, isImageFile, isMacOS, isPdfFile, meetsPasswordRules, normalizeDocument, toast, useTheme, useToast };