@yenio-pld/blocks 1.2.0-rc.7 → 1.2.0-rc.8

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.cts CHANGED
@@ -1,4 +1,4 @@
1
- import * as react from 'react';
1
+ import * as React from 'react';
2
2
  import { ReactNode, ComponentType, ReactElement, FormEvent, KeyboardEvent, RefObject, CSSProperties, ComponentProps, ImgHTMLAttributes, SyntheticEvent } from 'react';
3
3
  import * as class_variance_authority_types from 'class-variance-authority/types';
4
4
  import { VariantProps } from 'class-variance-authority';
@@ -40,7 +40,7 @@ interface LanguageContextValue {
40
40
  * React context for language.
41
41
  * Blocks components will consume this context when available.
42
42
  */
43
- declare const LanguageContext: react.Context<LanguageContextValue | null>;
43
+ declare const LanguageContext: React.Context<LanguageContextValue | null>;
44
44
  /**
45
45
  * Hook to consume the language context.
46
46
  * Returns null if no provider is present (components should fall back to props).
@@ -57,16 +57,16 @@ type PageTitleProps = {
57
57
  /** Stacks full-width below `sm`, then sits beside the title. */
58
58
  actions?: ReactNode;
59
59
  };
60
- declare function PageTitle({ title, description, eyebrow, back, actions, }: PageTitleProps): react.JSX.Element;
60
+ declare function PageTitle({ title, description, eyebrow, back, actions, }: PageTitleProps): React.JSX.Element;
61
61
  declare function Field({ label, children, }: {
62
62
  label: string;
63
63
  children: ReactNode;
64
- }): react.JSX.Element;
65
- declare function ListSkeleton(): react.JSX.Element;
64
+ }): React.JSX.Element;
65
+ declare function ListSkeleton(): React.JSX.Element;
66
66
  declare function TableSkeleton({ columns, rows, }: {
67
67
  columns: number;
68
68
  rows?: number;
69
- }): react.JSX.Element;
69
+ }): React.JSX.Element;
70
70
 
71
71
  /** Fixed row height shared with `DataTableSkeleton` so list swaps do not jump. */
72
72
  declare const DATA_TABLE_ROW_CLASS = "h-14";
@@ -120,11 +120,11 @@ type AppShellProps = {
120
120
  children: ReactNode;
121
121
  className?: string;
122
122
  };
123
- declare function AppShell({ brand, nav, navLabel, sidebarFooter, headerEnd, defaultOpen, pathname, renderLink, children, className, }: AppShellProps): react.JSX.Element;
123
+ declare function AppShell({ brand, nav, navLabel, sidebarFooter, headerEnd, defaultOpen, pathname, renderLink, children, className, }: AppShellProps): React.JSX.Element;
124
124
  declare function PageContainer({ children, className, }: {
125
125
  children: ReactNode;
126
126
  className?: string;
127
- }): react.JSX.Element;
127
+ }): React.JSX.Element;
128
128
  type NavTab = {
129
129
  label: string;
130
130
  href: string;
@@ -137,7 +137,7 @@ type NavTabsProps = {
137
137
  renderLink?: ShellLinkRenderer;
138
138
  className?: string;
139
139
  };
140
- declare function NavTabs({ tabs, label, renderLink, className, }: NavTabsProps): react.JSX.Element;
140
+ declare function NavTabs({ tabs, label, renderLink, className, }: NavTabsProps): React.JSX.Element;
141
141
  type AccountMenuLabels = {
142
142
  menu?: string;
143
143
  account?: string;
@@ -156,7 +156,7 @@ type AccountMenuProps = {
156
156
  onAccount?: () => void;
157
157
  onSignOut?: () => void;
158
158
  };
159
- declare function AccountMenu({ name, email, imageSrc, imageAlt, labels: userLabels, onAccount, onSignOut, }: AccountMenuProps): react.JSX.Element;
159
+ declare function AccountMenu({ name, email, imageSrc, imageAlt, labels: userLabels, onAccount, onSignOut, }: AccountMenuProps): React.JSX.Element;
160
160
  type DataTableColumn<T> = {
161
161
  key: string;
162
162
  header: ReactNode;
@@ -183,7 +183,7 @@ type DataTableProps<T> = {
183
183
  label?: string;
184
184
  className?: string;
185
185
  };
186
- declare function DataTable<T>({ columns, rows, rowKey, toolbar, emptyTitle, emptyDescription, loading, skeletonRows, loadMore, label, className, }: DataTableProps<T>): react.JSX.Element;
186
+ declare function DataTable<T>({ columns, rows, rowKey, toolbar, emptyTitle, emptyDescription, loading, skeletonRows, loadMore, label, className, }: DataTableProps<T>): React.JSX.Element;
187
187
 
188
188
  /**
189
189
  * Ignore navigation-start signals for the rest of this turn. An in-flight
@@ -213,65 +213,65 @@ type NavigationProgressProps = {
213
213
  * or {@link signalNavigationStart}, and stays up while a visible
214
214
  * `[data-route-loading]` node is on screen.
215
215
  */
216
- declare function NavigationProgress({ pathname, search, ariaLabel, forceVisible, }: NavigationProgressProps): react.JSX.Element | null;
216
+ declare function NavigationProgress({ pathname, search, ariaLabel, forceVisible, }: NavigationProgressProps): React.JSX.Element | null;
217
217
  /** Marks a route `loading.tsx` so the top progress bar stays up until it unmounts. */
218
218
  declare function RouteLoading({ children }: {
219
219
  children: ReactNode;
220
- }): react.JSX.Element;
220
+ }): React.JSX.Element;
221
221
  declare function PageTitleSkeleton({ label, action, }: {
222
222
  label: string;
223
223
  action?: boolean;
224
- }): react.JSX.Element;
224
+ }): React.JSX.Element;
225
225
  declare function DataTableSkeleton({ label, rows, }: {
226
226
  label: string;
227
227
  rows?: number;
228
- }): react.JSX.Element;
228
+ }): React.JSX.Element;
229
229
  declare function DetailPageSkeleton({ label }: {
230
230
  label: string;
231
- }): react.JSX.Element;
231
+ }): React.JSX.Element;
232
232
  declare function FormCardSkeleton({ label, fields, }: {
233
233
  label: string;
234
234
  fields?: number;
235
- }): react.JSX.Element;
235
+ }): React.JSX.Element;
236
236
  declare function DashboardSkeleton({ label }: {
237
237
  label: string;
238
- }): react.JSX.Element;
238
+ }): React.JSX.Element;
239
239
 
240
240
  declare function LoadingState({ label, className, }: {
241
241
  label?: string;
242
242
  className?: string;
243
- }): react.JSX.Element;
243
+ }): React.JSX.Element;
244
244
  declare function ErrorState({ title, description, action, className, }: {
245
245
  title?: string;
246
246
  description?: string;
247
- action?: react.ReactNode;
247
+ action?: React.ReactNode;
248
248
  className?: string;
249
- }): react.JSX.Element;
249
+ }): React.JSX.Element;
250
250
  /** Accept any icon component with a className prop — avoids LucideIcon
251
251
  * version skew between blocks peers and consuming apps. */
252
- type EmptyStateIcon = react.ComponentType<{
252
+ type EmptyStateIcon = React.ComponentType<{
253
253
  className?: string;
254
254
  "aria-hidden"?: boolean | "true" | "false";
255
255
  }>;
256
256
  type EmptyStateProps = {
257
257
  title: string;
258
258
  description?: string;
259
- action?: react.ReactNode;
259
+ action?: React.ReactNode;
260
260
  icon?: EmptyStateIcon;
261
261
  variant?: "default" | "compact";
262
262
  className?: string;
263
263
  };
264
- declare function EmptyState({ title, description, action, icon: Icon, variant, className, }: EmptyStateProps): react.JSX.Element;
264
+ declare function EmptyState({ title, description, action, icon: Icon, variant, className, }: EmptyStateProps): React.JSX.Element;
265
265
 
266
- declare function Empty({ className, ...props }: react.ComponentProps<"div">): react.JSX.Element;
267
- declare function EmptyHeader({ className, ...props }: react.ComponentProps<"div">): react.JSX.Element;
266
+ declare function Empty({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
267
+ declare function EmptyHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
268
268
  declare const emptyMediaVariants: (props?: ({
269
269
  variant?: "default" | "icon" | null | undefined;
270
270
  } & class_variance_authority_types.ClassProp) | undefined) => string;
271
- declare function EmptyMedia({ className, variant, ...props }: react.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): react.JSX.Element;
272
- declare function EmptyTitle({ className, ...props }: react.ComponentProps<"div">): react.JSX.Element;
273
- declare function EmptyDescription({ className, ...props }: react.ComponentProps<"p">): react.JSX.Element;
274
- declare function EmptyContent({ className, ...props }: react.ComponentProps<"div">): react.JSX.Element;
271
+ declare function EmptyMedia({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): React.JSX.Element;
272
+ declare function EmptyTitle({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
273
+ declare function EmptyDescription({ className, ...props }: React.ComponentProps<"p">): React.JSX.Element;
274
+ declare function EmptyContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
275
275
 
276
276
  type ConfirmDestructiveDialogProps = {
277
277
  open: boolean;
@@ -286,7 +286,7 @@ type ConfirmDestructiveDialogProps = {
286
286
  * Shared confirm step for destructive actions (delete, mute, etc.).
287
287
  * Prefer this over window.confirm so focus stays in the app and copy is clear.
288
288
  */
289
- declare function ConfirmDestructiveDialog({ open, onOpenChange, title, description, confirmLabel, cancelLabel, onConfirm, }: ConfirmDestructiveDialogProps): react.JSX.Element;
289
+ declare function ConfirmDestructiveDialog({ open, onOpenChange, title, description, confirmLabel, cancelLabel, onConfirm, }: ConfirmDestructiveDialogProps): React.JSX.Element;
290
290
 
291
291
  type NotificationBellItem = {
292
292
  id: string;
@@ -313,7 +313,7 @@ type NotificationBellProps = {
313
313
  align?: "start" | "end";
314
314
  className?: string;
315
315
  };
316
- declare function NotificationBell({ items, unreadCount, isLoading, labels: labelOverrides, viewAllHref, formatTime, onOpenChange, align, className, }: NotificationBellProps): react.JSX.Element;
316
+ declare function NotificationBell({ items, unreadCount, isLoading, labels: labelOverrides, viewAllHref, formatTime, onOpenChange, align, className, }: NotificationBellProps): React.JSX.Element;
317
317
 
318
318
  type EditableSectionMode = "reading" | "editing" | "saving";
319
319
  type EditableSectionLabels = {
@@ -444,7 +444,7 @@ type EditableSectionProps = UseEditableSectionOptions & {
444
444
  *
445
445
  * Does not render a Card — place `actions` wherever your layout needs them.
446
446
  */
447
- declare function EditableSection({ readView, editView, children, className, ...options }: EditableSectionProps): react.JSX.Element;
447
+ declare function EditableSection({ readView, editView, children, className, ...options }: EditableSectionProps): React.JSX.Element;
448
448
 
449
449
  /**
450
450
  * Read-mode description list. Column grid and label placement match the
@@ -452,7 +452,7 @@ declare function EditableSection({ readView, editView, children, className, ...o
452
452
  * so labels and values keep the same x-position across modes.
453
453
  */
454
454
  type DataListProps = ComponentProps<"dl">;
455
- declare function DataList({ className, ...props }: DataListProps): react.JSX.Element;
455
+ declare function DataList({ className, ...props }: DataListProps): React.JSX.Element;
456
456
  type DataListItemProps = {
457
457
  label: ReactNode;
458
458
  children?: ReactNode;
@@ -462,7 +462,7 @@ type DataListItemProps = {
462
462
  labelClassName?: string;
463
463
  valueClassName?: string;
464
464
  };
465
- declare function DataListItem({ label, children, empty, className, labelClassName, valueClassName, }: DataListItemProps): react.JSX.Element;
465
+ declare function DataListItem({ label, children, empty, className, labelClassName, valueClassName, }: DataListItemProps): React.JSX.Element;
466
466
 
467
467
  type FieldMessageProps = Omit<ComponentProps<"p">, "children"> & {
468
468
  children?: ReactNode;
@@ -477,7 +477,7 @@ type FieldMessageProps = Omit<ComponentProps<"p">, "children"> & {
477
477
  * so async errors do not shift fields under the pointer (CLS outside the
478
478
  * 500ms input exclusion window).
479
479
  */
480
- declare function FieldMessage({ id, children, className, ...props }: FieldMessageProps): react.JSX.Element;
480
+ declare function FieldMessage({ id, children, className, ...props }: FieldMessageProps): React.JSX.Element;
481
481
 
482
482
  type SafeImageProps = Omit<ImgHTMLAttributes<HTMLImageElement>, "src" | "onError"> & {
483
483
  src?: string | null;
@@ -489,7 +489,7 @@ type SafeImageProps = Omit<ImgHTMLAttributes<HTMLImageElement>, "src" | "onError
489
489
  * `<img>` that swaps to `fallback` when the source is missing or fails to load,
490
490
  * so the browser never shows its default broken-image glyph.
491
491
  */
492
- declare function SafeImage({ src, fallback, alt, onError, ...imgProps }: SafeImageProps): react.JSX.Element;
492
+ declare function SafeImage({ src, fallback, alt, onError, ...imgProps }: SafeImageProps): React.JSX.Element;
493
493
 
494
494
  type ThemeSwitcherLabels = {
495
495
  /** Accessible name for the theme trigger */
@@ -525,7 +525,7 @@ type ThemeSwitcherProps = {
525
525
  /** Translation labels - consumers can pass their own t() values */
526
526
  labels?: ThemeSwitcherLabels;
527
527
  };
528
- declare function ThemeSwitcher({ className, size, shape, align, side, labels: userLabels, }: ThemeSwitcherProps): react.JSX.Element;
528
+ declare function ThemeSwitcher({ className, size, shape, align, side, labels: userLabels, }: ThemeSwitcherProps): React.JSX.Element;
529
529
 
530
530
  type Language = {
531
531
  /** Language key/code (e.g., "en", "es") */
@@ -585,7 +585,7 @@ type LanguageSwitcherProps = {
585
585
  /** @deprecated No longer used; the trigger no longer renders a tooltip. */
586
586
  tooltipSideOffset?: number;
587
587
  };
588
- declare function LanguageSwitcher({ languages: propLanguages, currentLanguage: propCurrentLanguage, onLanguageChange: propOnLanguageChange, labels, className, size, shape, align, side, }: LanguageSwitcherProps): react.JSX.Element;
588
+ declare function LanguageSwitcher({ languages: propLanguages, currentLanguage: propCurrentLanguage, onLanguageChange: propOnLanguageChange, labels, className, size, shape, align, side, }: LanguageSwitcherProps): React.JSX.Element;
589
589
 
590
590
  type CountryLocale = "es-MX" | "en";
591
591
  type CountryRecord = {
@@ -630,7 +630,45 @@ type CountryPickerProps = {
630
630
  labels?: CountryPickerLabels;
631
631
  "aria-invalid"?: boolean;
632
632
  };
633
- declare function CountryPicker({ value, onValueChange, purpose, locale, id, name, disabled, required, allowEmpty, className, labels: labelsProp, "aria-invalid": ariaInvalid, }: CountryPickerProps): react.JSX.Element;
633
+ declare function CountryPicker({ value, onValueChange, purpose, locale, id, name, disabled, required, allowEmpty, className, labels: labelsProp, "aria-invalid": ariaInvalid, }: CountryPickerProps): React.JSX.Element;
634
+
635
+ type PaginatedComboboxItem = {
636
+ value: string;
637
+ label: string;
638
+ secondary?: string;
639
+ };
640
+ type PaginatedComboboxLabels = {
641
+ ariaLabel?: string;
642
+ placeholder?: string;
643
+ noResults?: string;
644
+ clear?: string;
645
+ open?: string;
646
+ loadMore?: string;
647
+ loading?: string;
648
+ };
649
+ type PaginatedComboboxProps = {
650
+ value: string;
651
+ onValueChange: (value: string, item: PaginatedComboboxItem | null) => void;
652
+ items: PaginatedComboboxItem[];
653
+ /** Label for the current value when it is not in the loaded page. */
654
+ selectedItem?: PaginatedComboboxItem | null;
655
+ onQueryChange: (query: string) => void;
656
+ loading?: boolean;
657
+ loadingMore?: boolean;
658
+ nextCursor?: string | null;
659
+ onLoadMore?: () => void;
660
+ onOpenChange?: (open: boolean) => void;
661
+ debounceMs?: number;
662
+ id?: string;
663
+ name?: string;
664
+ disabled?: boolean;
665
+ required?: boolean;
666
+ allowEmpty?: boolean;
667
+ className?: string;
668
+ labels?: PaginatedComboboxLabels;
669
+ "aria-invalid"?: boolean;
670
+ };
671
+ declare function PaginatedCombobox({ value, onValueChange, items, selectedItem, onQueryChange, loading, loadingMore, nextCursor, onLoadMore, onOpenChange, debounceMs, id, name, disabled, required, allowEmpty, className, labels: labelsProp, "aria-invalid": ariaInvalid, }: PaginatedComboboxProps): React.JSX.Element;
634
672
 
635
673
  type AvatarEditorLabels = {
636
674
  uploadAria?: string;
@@ -669,7 +707,7 @@ interface AvatarEditorProps {
669
707
  /** Override English chrome strings */
670
708
  labels?: AvatarEditorLabels;
671
709
  }
672
- declare function AvatarEditor({ value: _value, onChange, size, showGrid: initialShowGrid, outputSize, outputFormat, outputQuality, className, controlSize, labels, }: AvatarEditorProps): react.JSX.Element;
710
+ declare function AvatarEditor({ value: _value, onChange, size, showGrid: initialShowGrid, outputSize, outputFormat, outputQuality, className, controlSize, labels, }: AvatarEditorProps): React.JSX.Element;
673
711
 
674
712
  interface AvatarEditorDialogProps {
675
713
  /** Current avatar URL or data URL */
@@ -707,7 +745,7 @@ interface AvatarEditorDialogProps {
707
745
  /** Override AvatarEditor chrome strings */
708
746
  editorLabels?: AvatarEditorLabels;
709
747
  }
710
- declare function AvatarEditorDialog({ value, onChange, onSave, displaySize, editorSize, outputSize, placeholder, editLabel, dialogTitle, acceptText, cancelText, savingText, savedText, successMessage, errorMessage, className, editorLabels, }: AvatarEditorDialogProps): react.JSX.Element;
748
+ declare function AvatarEditorDialog({ value, onChange, onSave, displaySize, editorSize, outputSize, placeholder, editLabel, dialogTitle, acceptText, cancelText, savingText, savedText, successMessage, errorMessage, className, editorLabels, }: AvatarEditorDialogProps): React.JSX.Element;
711
749
 
712
750
  type MultipartUploadPart = {
713
751
  partNumber: number;
@@ -769,7 +807,7 @@ type FileDropzoneProps = {
769
807
  onReject?: (reason: "type" | "size") => void;
770
808
  className?: string;
771
809
  };
772
- declare function FileDropzone({ accept, maxSize, disabled, labels: labelOverrides, onFile, onReject, className, }: FileDropzoneProps): react.JSX.Element;
810
+ declare function FileDropzone({ accept, maxSize, disabled, labels: labelOverrides, onFile, onReject, className, }: FileDropzoneProps): React.JSX.Element;
773
811
 
774
812
  type FileUploadTrayProps = {
775
813
  jobs: UploadJob[];
@@ -779,7 +817,7 @@ type FileUploadTrayProps = {
779
817
  onCancel: (id: string) => void;
780
818
  className?: string;
781
819
  };
782
- declare function FileUploadTray({ jobs, labels: labelOverrides, onPause, onResume, onCancel, className, }: FileUploadTrayProps): react.JSX.Element | null;
820
+ declare function FileUploadTray({ jobs, labels: labelOverrides, onPause, onResume, onCancel, className, }: FileUploadTrayProps): React.JSX.Element | null;
783
821
 
784
822
  type FileUploadMenuProps = {
785
823
  jobs: UploadJob[];
@@ -792,7 +830,7 @@ type FileUploadMenuProps = {
792
830
  align?: "start" | "end";
793
831
  className?: string;
794
832
  };
795
- declare function FileUploadMenu({ jobs, labels: labelOverrides, onPause, onResume, onCancel, open, onOpenChange, align, className, }: FileUploadMenuProps): react.JSX.Element | null;
833
+ declare function FileUploadMenu({ jobs, labels: labelOverrides, onPause, onResume, onCancel, open, onOpenChange, align, className, }: FileUploadMenuProps): React.JSX.Element | null;
796
834
 
797
835
  type CreateMultipartUploadControllerOptions = {
798
836
  file: Blob;
@@ -831,30 +869,30 @@ declare function cn(...inputs: ClassValue[]): string;
831
869
 
832
870
  type StatHighlightCardProps = {
833
871
  label: string;
834
- value: react.ReactNode;
872
+ value: React.ReactNode;
835
873
  hint?: string;
836
874
  delta?: string;
837
875
  deltaTone?: "up" | "down" | "neutral";
838
876
  className?: string;
839
877
  };
840
- declare function StatHighlightCard({ label, value, hint, delta, deltaTone, className, }: StatHighlightCardProps): react.JSX.Element;
878
+ declare function StatHighlightCard({ label, value, hint, delta, deltaTone, className, }: StatHighlightCardProps): React.JSX.Element;
841
879
 
842
880
  type MetricChartCardProps = {
843
881
  title: string;
844
882
  description?: string;
845
- action?: react.ReactNode;
846
- children: react.ReactNode;
883
+ action?: React.ReactNode;
884
+ children: React.ReactNode;
847
885
  className?: string;
848
886
  };
849
- declare function MetricChartCard({ title, description, action, children, className, }: MetricChartCardProps): react.JSX.Element;
887
+ declare function MetricChartCard({ title, description, action, children, className, }: MetricChartCardProps): React.JSX.Element;
850
888
 
851
889
  type SparklineStatProps = {
852
890
  label: string;
853
- value: react.ReactNode;
891
+ value: React.ReactNode;
854
892
  points: number[];
855
893
  className?: string;
856
894
  };
857
- declare function SparklineStat({ label, value, points, className, }: SparklineStatProps): react.JSX.Element;
895
+ declare function SparklineStat({ label, value, points, className, }: SparklineStatProps): React.JSX.Element;
858
896
 
859
897
  declare const TIME_RANGE_OPTIONS: readonly ["day", "week", "month", "year"];
860
898
  type TimeRange = (typeof TIME_RANGE_OPTIONS)[number];
@@ -865,50 +903,50 @@ type TimeRangePickerProps = {
865
903
  labels?: TimeRangePickerLabels;
866
904
  className?: string;
867
905
  };
868
- declare function TimeRangePicker({ value, onChange, labels, className, }: TimeRangePickerProps): react.JSX.Element;
906
+ declare function TimeRangePicker({ value, onChange, labels, className, }: TimeRangePickerProps): React.JSX.Element;
869
907
 
870
908
  type DimensionBreakdownRow = {
871
909
  id: string;
872
910
  label: string;
873
- value: react.ReactNode;
911
+ value: React.ReactNode;
874
912
  share?: string;
875
913
  };
876
914
  type DimensionBreakdownTableProps = {
877
915
  title?: string;
878
916
  rows: DimensionBreakdownRow[];
879
- empty?: react.ReactNode;
917
+ empty?: React.ReactNode;
880
918
  className?: string;
881
919
  };
882
- declare function DimensionBreakdownTable({ title, rows, empty, className, }: DimensionBreakdownTableProps): react.JSX.Element;
920
+ declare function DimensionBreakdownTable({ title, rows, empty, className, }: DimensionBreakdownTableProps): React.JSX.Element;
883
921
 
884
922
  type CostBreakdownItem = {
885
923
  id: string;
886
924
  label: string;
887
- amount: react.ReactNode;
925
+ amount: React.ReactNode;
888
926
  basis?: string;
889
927
  };
890
928
  type CostBreakdownCardProps = {
891
929
  title: string;
892
- total?: react.ReactNode;
930
+ total?: React.ReactNode;
893
931
  items: CostBreakdownItem[];
894
932
  className?: string;
895
933
  };
896
- declare function CostBreakdownCard({ title, total, items, className, }: CostBreakdownCardProps): react.JSX.Element;
934
+ declare function CostBreakdownCard({ title, total, items, className, }: CostBreakdownCardProps): React.JSX.Element;
897
935
 
898
936
  type MetricEmptyStateProps = {
899
937
  title: string;
900
938
  description?: string;
901
- action?: react.ReactNode;
939
+ action?: React.ReactNode;
902
940
  icon?: EmptyStateIcon;
903
941
  className?: string;
904
942
  };
905
- declare function MetricEmptyState({ title, description, action, icon, className, }: MetricEmptyStateProps): react.JSX.Element;
943
+ declare function MetricEmptyState({ title, description, action, icon, className, }: MetricEmptyStateProps): React.JSX.Element;
906
944
 
907
945
  type MetricSkeletonProps = {
908
946
  className?: string;
909
947
  bars?: number;
910
948
  };
911
- declare function MetricSkeleton({ className, bars }: MetricSkeletonProps): react.JSX.Element;
949
+ declare function MetricSkeleton({ className, bars }: MetricSkeletonProps): React.JSX.Element;
912
950
 
913
951
  type CookieConsentBannerLabels = {
914
952
  message: string;
@@ -925,7 +963,7 @@ type CookieConsentBannerProps = {
925
963
  variant?: "default" | "embed";
926
964
  className?: string;
927
965
  };
928
- declare function CookieConsentBanner({ domain, policyHref, labels, onChoice, variant, className, }: CookieConsentBannerProps): react.JSX.Element | null;
966
+ declare function CookieConsentBanner({ domain, policyHref, labels, onChoice, variant, className, }: CookieConsentBannerProps): React.JSX.Element | null;
929
967
 
930
968
  type LegalAcceptDialogLabels = {
931
969
  title: string;
@@ -944,7 +982,7 @@ type LegalAcceptDialogProps = {
944
982
  labels?: Partial<LegalAcceptDialogLabels>;
945
983
  onAccept: () => void;
946
984
  };
947
- declare function LegalAcceptDialog({ open, termsHref, privacyHref, summary, accepting, labels, onAccept, }: LegalAcceptDialogProps): react.JSX.Element;
985
+ declare function LegalAcceptDialog({ open, termsHref, privacyHref, summary, accepting, labels, onAccept, }: LegalAcceptDialogProps): React.JSX.Element;
948
986
 
949
987
  type LegalAcceptCheckboxLabels = {
950
988
  label: string;
@@ -962,13 +1000,13 @@ type LegalAcceptCheckboxProps = {
962
1000
  disabled?: boolean;
963
1001
  className?: string;
964
1002
  };
965
- declare function LegalAcceptCheckbox({ id, checked, onCheckedChange, termsHref, privacyHref, labels, disabled, className, }: LegalAcceptCheckboxProps): react.JSX.Element;
1003
+ declare function LegalAcceptCheckbox({ id, checked, onCheckedChange, termsHref, privacyHref, labels, disabled, className, }: LegalAcceptCheckboxProps): React.JSX.Element;
966
1004
 
967
1005
  type LegalMarkdownProps = {
968
1006
  markdown: string;
969
1007
  className?: string;
970
1008
  };
971
- declare function LegalMarkdown({ markdown, className }: LegalMarkdownProps): react.JSX.Element;
1009
+ declare function LegalMarkdown({ markdown, className }: LegalMarkdownProps): React.JSX.Element;
972
1010
 
973
1011
  type AuditActor = {
974
1012
  kind: string;
@@ -1002,7 +1040,7 @@ type AuditTimelineProps = {
1002
1040
  className?: string;
1003
1041
  formatOccurredAt?: (occurredAt: number) => string;
1004
1042
  };
1005
- declare function AuditTimeline({ items, labels, emptyAction, className, formatOccurredAt: format, }: AuditTimelineProps): react.JSX.Element;
1043
+ declare function AuditTimeline({ items, labels, emptyAction, className, formatOccurredAt: format, }: AuditTimelineProps): React.JSX.Element;
1006
1044
 
1007
1045
  type RiskSeverity = "low" | "medium" | "high";
1008
1046
  type RiskBadgeLabels = {
@@ -1019,7 +1057,7 @@ type RiskBadgeProps = {
1019
1057
  labels?: Partial<RiskBadgeLabels>;
1020
1058
  className?: string;
1021
1059
  };
1022
- declare function RiskBadge({ severity, smeVerified, labels, className, }: RiskBadgeProps): react.JSX.Element;
1060
+ declare function RiskBadge({ severity, smeVerified, labels, className, }: RiskBadgeProps): React.JSX.Element;
1023
1061
 
1024
1062
  type EntityGraphNode = {
1025
1063
  id: string;
@@ -1048,7 +1086,7 @@ type EntityGraphProps = {
1048
1086
  emptyAction?: ReactNode;
1049
1087
  className?: string;
1050
1088
  };
1051
- declare function EntityGraph({ nodes, edges, labels, emptyAction, className, }: EntityGraphProps): react.JSX.Element;
1089
+ declare function EntityGraph({ nodes, edges, labels, emptyAction, className, }: EntityGraphProps): React.JSX.Element;
1052
1090
 
1053
1091
  type MatchReviewSource = {
1054
1092
  url: string;
@@ -1089,6 +1127,6 @@ type MatchReviewProps = {
1089
1127
  };
1090
1128
  declare function sourceUrlIsHttps(url: string): boolean;
1091
1129
  declare function matchClaimIsUnverified(hit: MatchReviewHit): boolean;
1092
- declare function MatchReview({ hit, onResolve, labels, sourceLabels, emptyAction, className, }: MatchReviewProps): react.JSX.Element;
1130
+ declare function MatchReview({ hit, onResolve, labels, sourceLabels, emptyAction, className, }: MatchReviewProps): React.JSX.Element;
1093
1131
 
1094
- export { AccountMenu, type AccountMenuLabels, type AccountMenuProps, type AppNavGroup, type AppNavItem, AppShell, type AppShellProps, type AuditActor, type AuditSubject, AuditTimeline, type AuditTimelineItem, type AuditTimelineLabels, type AuditTimelineProps, AvatarEditor, AvatarEditorDialog, type AvatarEditorDialogProps, type AvatarEditorLabels, type AvatarEditorProps, type BlocksLanguage, COUNTRY_OPTIONS, ConfirmDestructiveDialog, type ConfirmDestructiveDialogProps, type ControlKind, CookieConsentBanner, type CookieConsentBannerLabels, type CookieConsentBannerProps, CookieConsentValue, CostBreakdownCard, type CostBreakdownCardProps, type CostBreakdownItem, type CountryLocale, type CountryOption, CountryPicker, type CountryPickerItem, type CountryPickerLabels, type CountryPickerProps, type CountryPickerPurpose, type CountryRecord, type CreateMultipartUploadControllerOptions, DATA_TABLE_ROW_CLASS, DEFAULT_AUDIT_TIMELINE_LABELS, DEFAULT_COOKIE_CONSENT_BANNER_LABELS, DEFAULT_EDITABLE_SECTION_LABELS, DEFAULT_ENTITY_GRAPH_LABELS, DEFAULT_FILE_DROPZONE_LABELS, DEFAULT_FILE_UPLOAD_LABELS, DEFAULT_FILE_UPLOAD_TRAY_LABELS, DEFAULT_LEGAL_ACCEPT_CHECKBOX_LABELS, DEFAULT_LEGAL_ACCEPT_DIALOG_LABELS, DEFAULT_MATCH_REVIEW_LABELS, DEFAULT_NOTIFICATION_BELL_LABELS, DEFAULT_RISK_BADGE_LABELS, DashboardSkeleton, DataList, DataListItem, type DataListItemProps, type DataListProps, DataTable, type DataTableColumn, type DataTableProps, DataTableSkeleton, DetailPageSkeleton, type DimensionBreakdownRow, DimensionBreakdownTable, type DimensionBreakdownTableProps, EditableSection, type EditableSectionLabels, type EditableSectionMode, type EditableSectionProps, type EditableSectionSlots, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyState, type EmptyStateProps, EmptyTitle, EntityGraph, type EntityGraphEdge, type EntityGraphLabels, type EntityGraphNode, type EntityGraphProps, ErrorState, Field, FieldMessage, type FieldMessageProps, FileDropzone, type FileDropzoneLabels, type FileDropzoneProps, FileUploadMenu, type FileUploadMenuProps, FileUploadTray, type FileUploadTrayLabels, type FileUploadTrayProps, FormCardSkeleton, type Language, LanguageContext, type LanguageContextValue, LanguageSwitcher, type LanguageSwitcherLabels, type LanguageSwitcherProps, LegalAcceptCheckbox, type LegalAcceptCheckboxLabels, type LegalAcceptCheckboxProps, LegalAcceptDialog, type LegalAcceptDialogLabels, type LegalAcceptDialogProps, LegalMarkdown, type LegalMarkdownProps, ListSkeleton, LoadingState, MatchReview, type MatchReviewHit, type MatchReviewLabels, type MatchReviewProps, type MatchReviewSource, type MatchReviewStatus, MetricChartCard, type MetricChartCardProps, MetricEmptyState, type MetricEmptyStateProps, MetricSkeleton, type MetricSkeletonProps, type MultipartUploadAdapter, type MultipartUploadController, type MultipartUploadPart, type NavTab, NavTabs, type NavTabsProps, NavigationProgress, type NavigationProgressProps, NotificationBell, type NotificationBellItem, type NotificationBellLabels, type NotificationBellProps, PageContainer, PageTitle, type PageTitleProps, PageTitleSkeleton, type PartRange, RiskBadge, type RiskBadgeLabels, type RiskBadgeProps, type RiskSeverity, RouteLoading, SafeImage, type SafeImageProps, type ShellIcon, type ShellLinkProps, type ShellLinkRenderer, SparklineStat, type SparklineStatProps, StatHighlightCard, type StatHighlightCardProps, TIME_RANGE_OPTIONS, TableSkeleton, ThemeSwitcher, type ThemeSwitcherLabels, type ThemeSwitcherProps, type TimeRange, TimeRangePicker, type TimeRangePickerLabels, type TimeRangePickerProps, type UploadControllerStatus, type UploadJob, type UploadJobStatus, type UploadProgress, type UseEditableSectionOptions, type UseEditableSectionResult, cn, countryLabel, countryPickerItems, createMultipartUploadController, defaultLanguages, fileMatchesAccept, filterCountries, formatCountryOptionLabel, isKnownCountryCode, matchClaimIsUnverified, partRanges, progressFromBytes, renderShellLink, signalNavigationStart, sourceUrlIsHttps, suppressNavigationProgress, useEditableSection, useLanguageContext, useMediaQuery };
1132
+ export { AccountMenu, type AccountMenuLabels, type AccountMenuProps, type AppNavGroup, type AppNavItem, AppShell, type AppShellProps, type AuditActor, type AuditSubject, AuditTimeline, type AuditTimelineItem, type AuditTimelineLabels, type AuditTimelineProps, AvatarEditor, AvatarEditorDialog, type AvatarEditorDialogProps, type AvatarEditorLabels, type AvatarEditorProps, type BlocksLanguage, COUNTRY_OPTIONS, ConfirmDestructiveDialog, type ConfirmDestructiveDialogProps, type ControlKind, CookieConsentBanner, type CookieConsentBannerLabels, type CookieConsentBannerProps, CookieConsentValue, CostBreakdownCard, type CostBreakdownCardProps, type CostBreakdownItem, type CountryLocale, type CountryOption, CountryPicker, type CountryPickerItem, type CountryPickerLabels, type CountryPickerProps, type CountryPickerPurpose, type CountryRecord, type CreateMultipartUploadControllerOptions, DATA_TABLE_ROW_CLASS, DEFAULT_AUDIT_TIMELINE_LABELS, DEFAULT_COOKIE_CONSENT_BANNER_LABELS, DEFAULT_EDITABLE_SECTION_LABELS, DEFAULT_ENTITY_GRAPH_LABELS, DEFAULT_FILE_DROPZONE_LABELS, DEFAULT_FILE_UPLOAD_LABELS, DEFAULT_FILE_UPLOAD_TRAY_LABELS, DEFAULT_LEGAL_ACCEPT_CHECKBOX_LABELS, DEFAULT_LEGAL_ACCEPT_DIALOG_LABELS, DEFAULT_MATCH_REVIEW_LABELS, DEFAULT_NOTIFICATION_BELL_LABELS, DEFAULT_RISK_BADGE_LABELS, DashboardSkeleton, DataList, DataListItem, type DataListItemProps, type DataListProps, DataTable, type DataTableColumn, type DataTableProps, DataTableSkeleton, DetailPageSkeleton, type DimensionBreakdownRow, DimensionBreakdownTable, type DimensionBreakdownTableProps, EditableSection, type EditableSectionLabels, type EditableSectionMode, type EditableSectionProps, type EditableSectionSlots, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyState, type EmptyStateProps, EmptyTitle, EntityGraph, type EntityGraphEdge, type EntityGraphLabels, type EntityGraphNode, type EntityGraphProps, ErrorState, Field, FieldMessage, type FieldMessageProps, FileDropzone, type FileDropzoneLabels, type FileDropzoneProps, FileUploadMenu, type FileUploadMenuProps, FileUploadTray, type FileUploadTrayLabels, type FileUploadTrayProps, FormCardSkeleton, type Language, LanguageContext, type LanguageContextValue, LanguageSwitcher, type LanguageSwitcherLabels, type LanguageSwitcherProps, LegalAcceptCheckbox, type LegalAcceptCheckboxLabels, type LegalAcceptCheckboxProps, LegalAcceptDialog, type LegalAcceptDialogLabels, type LegalAcceptDialogProps, LegalMarkdown, type LegalMarkdownProps, ListSkeleton, LoadingState, MatchReview, type MatchReviewHit, type MatchReviewLabels, type MatchReviewProps, type MatchReviewSource, type MatchReviewStatus, MetricChartCard, type MetricChartCardProps, MetricEmptyState, type MetricEmptyStateProps, MetricSkeleton, type MetricSkeletonProps, type MultipartUploadAdapter, type MultipartUploadController, type MultipartUploadPart, type NavTab, NavTabs, type NavTabsProps, NavigationProgress, type NavigationProgressProps, NotificationBell, type NotificationBellItem, type NotificationBellLabels, type NotificationBellProps, PageContainer, PageTitle, type PageTitleProps, PageTitleSkeleton, PaginatedCombobox, type PaginatedComboboxItem, type PaginatedComboboxLabels, type PaginatedComboboxProps, type PartRange, RiskBadge, type RiskBadgeLabels, type RiskBadgeProps, type RiskSeverity, RouteLoading, SafeImage, type SafeImageProps, type ShellIcon, type ShellLinkProps, type ShellLinkRenderer, SparklineStat, type SparklineStatProps, StatHighlightCard, type StatHighlightCardProps, TIME_RANGE_OPTIONS, TableSkeleton, ThemeSwitcher, type ThemeSwitcherLabels, type ThemeSwitcherProps, type TimeRange, TimeRangePicker, type TimeRangePickerLabels, type TimeRangePickerProps, type UploadControllerStatus, type UploadJob, type UploadJobStatus, type UploadProgress, type UseEditableSectionOptions, type UseEditableSectionResult, cn, countryLabel, countryPickerItems, createMultipartUploadController, defaultLanguages, fileMatchesAccept, filterCountries, formatCountryOptionLabel, isKnownCountryCode, matchClaimIsUnverified, partRanges, progressFromBytes, renderShellLink, signalNavigationStart, sourceUrlIsHttps, suppressNavigationProgress, useEditableSection, useLanguageContext, useMediaQuery };