@yenio-pld/blocks 1.1.0 → 1.2.0-rc.10
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/consent.cjs +2 -2
- package/dist/consent.cjs.map +1 -1
- package/dist/consent.js +2 -2
- package/dist/consent.js.map +1 -1
- package/dist/index.cjs +5563 -2101
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +656 -64
- package/dist/index.d.ts +656 -64
- package/dist/index.js +5462 -2073
- package/dist/index.js.map +1 -1
- package/dist/theme-init.cjs +1 -1
- package/dist/theme-init.cjs.map +1 -1
- package/dist/theme-init.d.cts +1 -1
- package/dist/theme-init.d.ts +1 -1
- package/dist/theme-init.js +1 -1
- package/dist/theme-init.js.map +1 -1
- package/dist/ui/button.d.ts +2 -2
- package/dist/ui/button.js +7 -1
- package/dist/ui/button.js.map +1 -1
- package/dist/ui/checkbox.d.ts +16 -0
- package/dist/ui/checkbox.js +66 -0
- package/dist/ui/checkbox.js.map +1 -0
- package/dist/ui/combobox.d.ts +1 -0
- package/dist/ui/combobox.js +4 -0
- package/dist/ui/combobox.js.map +1 -0
- package/dist/ui/dialog.d.ts +1 -1
- package/dist/ui/dialog.js +27 -1
- package/dist/ui/dialog.js.map +1 -1
- package/dist/ui/select.d.ts +5 -1
- package/dist/ui/select.js +127 -10
- package/dist/ui/select.js.map +1 -1
- package/dist/ui/sheet.js +3 -3
- package/dist/ui/sheet.js.map +1 -1
- package/dist/ui/table.js +1 -1
- package/dist/ui/table.js.map +1 -1
- package/package.json +9 -1
- package/src/theme.css +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { ReactNode, FormEvent, KeyboardEvent, RefObject, CSSProperties, ComponentProps, ImgHTMLAttributes, SyntheticEvent } from 'react';
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ReactNode, ComponentType, ReactElement, FormEvent, KeyboardEvent, RefObject, CSSProperties, ComponentProps, ImgHTMLAttributes, SyntheticEvent, ButtonHTMLAttributes, HTMLAttributes } from 'react';
|
|
3
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
import { ClassValue } from 'clsx';
|
|
@@ -40,62 +40,275 @@ interface LanguageContextValue {
|
|
|
40
40
|
* React context for language.
|
|
41
41
|
* Blocks components will consume this context when available.
|
|
42
42
|
*/
|
|
43
|
-
declare const LanguageContext:
|
|
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).
|
|
47
47
|
*/
|
|
48
48
|
declare function useLanguageContext(): LanguageContextValue | null;
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
type PageTitleProps = {
|
|
51
51
|
title: string;
|
|
52
52
|
description?: string;
|
|
53
|
-
|
|
53
|
+
/** Small line above the title. */
|
|
54
|
+
eyebrow?: ReactNode;
|
|
55
|
+
/** Link or button the app renders. Stacks above the title. */
|
|
56
|
+
back?: ReactNode;
|
|
57
|
+
/** Stacks full-width below `sm`, then sits beside the title. */
|
|
58
|
+
actions?: ReactNode;
|
|
59
|
+
};
|
|
60
|
+
declare function PageTitle({ title, description, eyebrow, back, actions, }: PageTitleProps): react.JSX.Element;
|
|
54
61
|
declare function Field({ label, children, }: {
|
|
55
62
|
label: string;
|
|
56
63
|
children: ReactNode;
|
|
57
|
-
}):
|
|
58
|
-
declare function ListSkeleton():
|
|
64
|
+
}): react.JSX.Element;
|
|
65
|
+
declare function ListSkeleton(): react.JSX.Element;
|
|
59
66
|
declare function TableSkeleton({ columns, rows, }: {
|
|
60
67
|
columns: number;
|
|
61
68
|
rows?: number;
|
|
62
|
-
}):
|
|
69
|
+
}): react.JSX.Element;
|
|
70
|
+
|
|
71
|
+
/** Fixed row height shared with `DataTableSkeleton` so list swaps do not jump. */
|
|
72
|
+
declare const DATA_TABLE_ROW_CLASS = "h-14";
|
|
73
|
+
/** Default skeleton row count; body min-height locks to this box. */
|
|
74
|
+
declare const DATA_TABLE_DEFAULT_SKELETON_ROWS = 5;
|
|
75
|
+
/**
|
|
76
|
+
* Tailwind min-height for the default 5×`h-14` body box. Loading, empty, and
|
|
77
|
+
* short result sets share this so list swaps do not jump.
|
|
78
|
+
*/
|
|
79
|
+
declare const DATA_TABLE_BODY_MIN_CLASS = "min-h-[calc(5*3.5rem)]";
|
|
80
|
+
/** Body min-height for a given skeleton row count (`h-14` = 3.5rem). */
|
|
81
|
+
declare function dataTableBodyMinClass(rows?: number): string;
|
|
82
|
+
/** Any icon component. Avoids pinning a Lucide type across package copies. */
|
|
83
|
+
type ShellIcon = ComponentType<{
|
|
84
|
+
className?: string;
|
|
85
|
+
"aria-hidden"?: boolean | "true" | "false";
|
|
86
|
+
}>;
|
|
87
|
+
/**
|
|
88
|
+
* Props merged onto the element `renderLink` returns.
|
|
89
|
+
* Apps return `<Link href={href} className={className} {...rest}>{children}</Link>`.
|
|
90
|
+
*/
|
|
91
|
+
type ShellLinkProps = {
|
|
92
|
+
href: string;
|
|
93
|
+
className?: string;
|
|
94
|
+
children?: ReactNode;
|
|
95
|
+
"aria-current"?: "page";
|
|
96
|
+
onClick?: () => void;
|
|
97
|
+
};
|
|
98
|
+
/** Blocks does not import `next/link`. Apps supply the renderer. */
|
|
99
|
+
type ShellLinkRenderer = (props: ShellLinkProps) => ReactElement;
|
|
100
|
+
declare function renderShellLink({ href, className, children, ...rest }: ShellLinkProps): ReactElement;
|
|
101
|
+
type AppNavItem = {
|
|
102
|
+
label: string;
|
|
103
|
+
href: string;
|
|
104
|
+
icon: ShellIcon;
|
|
105
|
+
/** Computed by the app. The shell does not read the router. */
|
|
106
|
+
active?: boolean;
|
|
107
|
+
};
|
|
108
|
+
type AppNavGroup = {
|
|
109
|
+
label: string;
|
|
110
|
+
items: AppNavItem[];
|
|
111
|
+
/** When true, the group starts collapsed and can be toggled. */
|
|
112
|
+
collapsible?: boolean;
|
|
113
|
+
/** Optional badge next to the group label (e.g. pending compliance count). */
|
|
114
|
+
badge?: string | number;
|
|
115
|
+
/** Controlled open state for collapsible groups. Uncontrolled when omitted. */
|
|
116
|
+
defaultOpen?: boolean;
|
|
117
|
+
};
|
|
118
|
+
type AppShellProps = {
|
|
119
|
+
/** Sidebar header. Usually the mark, product name, and organization. */
|
|
120
|
+
brand: ReactNode;
|
|
121
|
+
nav: AppNavGroup[];
|
|
122
|
+
/** Accessible name for the single sidebar landmark. */
|
|
123
|
+
navLabel?: string;
|
|
124
|
+
sidebarFooter?: ReactNode;
|
|
125
|
+
/**
|
|
126
|
+
* Optional header lead (breadcrumbs). Sits after the sidebar trigger.
|
|
127
|
+
*/
|
|
128
|
+
headerStart?: ReactNode;
|
|
129
|
+
/**
|
|
130
|
+
* Flexible middle of the sticky header (rates ticker, search).
|
|
131
|
+
* Keeps utilities in `headerEnd` from competing for space.
|
|
132
|
+
*/
|
|
133
|
+
headerMiddle?: ReactNode;
|
|
134
|
+
/** Sticky header end slot (environment select, theme, language). */
|
|
135
|
+
headerEnd?: ReactNode;
|
|
136
|
+
/**
|
|
137
|
+
* Initial desktop open state. Read the `sidebar_state` cookie in the
|
|
138
|
+
* server layout and pass it here so the shell does not jump after hydration.
|
|
139
|
+
*/
|
|
140
|
+
defaultOpen?: boolean;
|
|
141
|
+
/** Current path. A change closes the mobile sheet. */
|
|
142
|
+
pathname: string;
|
|
143
|
+
renderLink?: ShellLinkRenderer;
|
|
144
|
+
children: ReactNode;
|
|
145
|
+
className?: string;
|
|
146
|
+
};
|
|
147
|
+
declare function AppShell({ brand, nav, navLabel, sidebarFooter, headerStart, headerMiddle, headerEnd, defaultOpen, pathname, renderLink, children, className, }: AppShellProps): react.JSX.Element;
|
|
148
|
+
declare function PageContainer({ children, className, }: {
|
|
149
|
+
children: ReactNode;
|
|
150
|
+
className?: string;
|
|
151
|
+
}): react.JSX.Element;
|
|
152
|
+
type NavTab = {
|
|
153
|
+
label: string;
|
|
154
|
+
href: string;
|
|
155
|
+
active?: boolean;
|
|
156
|
+
/** Optional count shown beside the label (Attio-style). */
|
|
157
|
+
count?: number;
|
|
158
|
+
};
|
|
159
|
+
type NavTabsProps = {
|
|
160
|
+
tabs: NavTab[];
|
|
161
|
+
/** Accessible name for the sub-route landmark. */
|
|
162
|
+
label?: string;
|
|
163
|
+
renderLink?: ShellLinkRenderer;
|
|
164
|
+
className?: string;
|
|
165
|
+
};
|
|
166
|
+
declare function NavTabs({ tabs, label, renderLink, className, }: NavTabsProps): react.JSX.Element;
|
|
167
|
+
type AccountMenuLabels = {
|
|
168
|
+
menu?: string;
|
|
169
|
+
account?: string;
|
|
170
|
+
signOut?: string;
|
|
171
|
+
};
|
|
172
|
+
type AccountMenuProps = {
|
|
173
|
+
name: string;
|
|
174
|
+
email: string;
|
|
175
|
+
/** Kept for callers; org belongs in the shell brand, not the account menu. */
|
|
176
|
+
organization?: string;
|
|
177
|
+
imageSrc?: string;
|
|
178
|
+
/** Passed to the avatar image. Empty when the image is decorative. */
|
|
179
|
+
imageAlt?: string;
|
|
180
|
+
labels?: AccountMenuLabels;
|
|
181
|
+
/** When set, shows an Account item above Sign out. */
|
|
182
|
+
onAccount?: () => void;
|
|
183
|
+
onSignOut?: () => void;
|
|
184
|
+
};
|
|
185
|
+
declare function AccountMenu({ name, email, imageSrc, imageAlt, labels: userLabels, onAccount, onSignOut, }: AccountMenuProps): react.JSX.Element;
|
|
186
|
+
type DataTableColumn<T> = {
|
|
187
|
+
key: string;
|
|
188
|
+
header: ReactNode;
|
|
189
|
+
cell: (row: T) => ReactNode;
|
|
190
|
+
/** Applied to the header and the cell. Use `hidden md:table-cell` to tuck minor columns. */
|
|
191
|
+
className?: string;
|
|
192
|
+
};
|
|
193
|
+
type DataTableProps<T> = {
|
|
194
|
+
columns: DataTableColumn<T>[];
|
|
195
|
+
rows: T[];
|
|
196
|
+
rowKey: (row: T) => string;
|
|
197
|
+
/** Search field or other toolbar controls. Filtering stays in the app. */
|
|
198
|
+
toolbar?: ReactNode;
|
|
199
|
+
emptyTitle: string;
|
|
200
|
+
emptyDescription?: string;
|
|
201
|
+
loading?: boolean;
|
|
202
|
+
skeletonRows?: number;
|
|
203
|
+
/** Omit when there is no next page. Keep it mounted, with `pending`, while a page appends. */
|
|
204
|
+
loadMore?: {
|
|
205
|
+
label: string;
|
|
206
|
+
pending?: boolean;
|
|
207
|
+
onLoadMore: () => void;
|
|
208
|
+
};
|
|
209
|
+
label?: string;
|
|
210
|
+
className?: string;
|
|
211
|
+
};
|
|
212
|
+
declare function DataTable<T>({ columns, rows, rowKey, toolbar, emptyTitle, emptyDescription, loading, skeletonRows, loadMore, label, className, }: DataTableProps<T>): react.JSX.Element;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Ignore navigation-start signals for the rest of this turn. An in-flight
|
|
216
|
+
* bar is left alone. Used when history changes are not a page load.
|
|
217
|
+
*/
|
|
218
|
+
declare function suppressNavigationProgress(): void;
|
|
219
|
+
/**
|
|
220
|
+
* Start the top bar for a navigation that did not come from a link click.
|
|
221
|
+
* `href` is the route React has committed, not `window.location`.
|
|
222
|
+
* No-ops when `href` is that same route, or when progress is suppressed.
|
|
223
|
+
*/
|
|
224
|
+
declare function signalNavigationStart(href?: string): void;
|
|
225
|
+
type NavigationProgressProps = {
|
|
226
|
+
/** App-supplied pathname. Blocks does not import `next/navigation`. */
|
|
227
|
+
pathname: string;
|
|
228
|
+
/** Query string without the leading `?`. */
|
|
229
|
+
search?: string;
|
|
230
|
+
/** Translated name for the progressbar. */
|
|
231
|
+
ariaLabel?: string;
|
|
232
|
+
/** Storybook and tests. Skips click listeners and stays visible. */
|
|
233
|
+
forceVisible?: boolean;
|
|
234
|
+
};
|
|
235
|
+
/**
|
|
236
|
+
* Indeterminate bar fixed to the top of the viewport. Apps pass the current
|
|
237
|
+
* route and wrap this in `<Suspense>` when `pathname` or `search` comes from
|
|
238
|
+
* `useSearchParams`. The bar starts on a same-origin link click, back/forward,
|
|
239
|
+
* or {@link signalNavigationStart}, and stays up while a visible
|
|
240
|
+
* `[data-route-loading]` node is on screen.
|
|
241
|
+
*/
|
|
242
|
+
declare function NavigationProgress({ pathname, search, ariaLabel, forceVisible, }: NavigationProgressProps): react.JSX.Element | null;
|
|
243
|
+
/** Marks a route `loading.tsx` so the top progress bar stays up until it unmounts. */
|
|
244
|
+
declare function RouteLoading({ children }: {
|
|
245
|
+
children: ReactNode;
|
|
246
|
+
}): react.JSX.Element;
|
|
247
|
+
declare function PageTitleSkeleton({ label, actions, action, }: {
|
|
248
|
+
label: string;
|
|
249
|
+
/** Number of action-button slots (0–3). Prefer this over `action`. */
|
|
250
|
+
actions?: number;
|
|
251
|
+
/** @deprecated Prefer `actions={1}`. */
|
|
252
|
+
action?: boolean;
|
|
253
|
+
}): react.JSX.Element;
|
|
254
|
+
declare function DataTableSkeleton({ label, rows, columns, showSearch, toolbarSkeleton, }: {
|
|
255
|
+
label: string;
|
|
256
|
+
rows?: number;
|
|
257
|
+
columns?: number;
|
|
258
|
+
showSearch?: boolean;
|
|
259
|
+
toolbarSkeleton?: ReactNode;
|
|
260
|
+
}): react.JSX.Element;
|
|
261
|
+
declare function DetailPageSkeleton({ label }: {
|
|
262
|
+
label: string;
|
|
263
|
+
}): react.JSX.Element;
|
|
264
|
+
declare function FormCardSkeleton({ label, fields, }: {
|
|
265
|
+
label: string;
|
|
266
|
+
fields?: number;
|
|
267
|
+
}): react.JSX.Element;
|
|
268
|
+
type DashboardSkeletonVariant = "store" | "admin";
|
|
269
|
+
declare function DashboardSkeleton({ label, variant, showTitle, }: {
|
|
270
|
+
label: string;
|
|
271
|
+
variant?: DashboardSkeletonVariant;
|
|
272
|
+
/** Store only. Omit when a real `PageTitle` already paints above. */
|
|
273
|
+
showTitle?: boolean;
|
|
274
|
+
}): react.JSX.Element;
|
|
63
275
|
|
|
64
276
|
declare function LoadingState({ label, className, }: {
|
|
277
|
+
/** Visible label. Prefer a translated phrase; omit for a spinner-only state. */
|
|
65
278
|
label?: string;
|
|
66
279
|
className?: string;
|
|
67
|
-
}):
|
|
280
|
+
}): react.JSX.Element;
|
|
68
281
|
declare function ErrorState({ title, description, action, className, }: {
|
|
69
282
|
title?: string;
|
|
70
283
|
description?: string;
|
|
71
|
-
action?:
|
|
284
|
+
action?: react.ReactNode;
|
|
72
285
|
className?: string;
|
|
73
|
-
}):
|
|
286
|
+
}): react.JSX.Element;
|
|
74
287
|
/** Accept any icon component with a className prop — avoids LucideIcon
|
|
75
288
|
* version skew between blocks peers and consuming apps. */
|
|
76
|
-
type EmptyStateIcon =
|
|
289
|
+
type EmptyStateIcon = react.ComponentType<{
|
|
77
290
|
className?: string;
|
|
78
291
|
"aria-hidden"?: boolean | "true" | "false";
|
|
79
292
|
}>;
|
|
80
293
|
type EmptyStateProps = {
|
|
81
294
|
title: string;
|
|
82
295
|
description?: string;
|
|
83
|
-
action?:
|
|
296
|
+
action?: react.ReactNode;
|
|
84
297
|
icon?: EmptyStateIcon;
|
|
85
298
|
variant?: "default" | "compact";
|
|
86
299
|
className?: string;
|
|
87
300
|
};
|
|
88
|
-
declare function EmptyState({ title, description, action, icon: Icon, variant, className, }: EmptyStateProps):
|
|
301
|
+
declare function EmptyState({ title, description, action, icon: Icon, variant, className, }: EmptyStateProps): react.JSX.Element;
|
|
89
302
|
|
|
90
|
-
declare function Empty({ className, ...props }:
|
|
91
|
-
declare function EmptyHeader({ className, ...props }:
|
|
303
|
+
declare function Empty({ className, ...props }: react.ComponentProps<"div">): react.JSX.Element;
|
|
304
|
+
declare function EmptyHeader({ className, ...props }: react.ComponentProps<"div">): react.JSX.Element;
|
|
92
305
|
declare const emptyMediaVariants: (props?: ({
|
|
93
306
|
variant?: "default" | "icon" | null | undefined;
|
|
94
307
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
95
|
-
declare function EmptyMedia({ className, variant, ...props }:
|
|
96
|
-
declare function EmptyTitle({ className, ...props }:
|
|
97
|
-
declare function EmptyDescription({ className, ...props }:
|
|
98
|
-
declare function EmptyContent({ className, ...props }:
|
|
308
|
+
declare function EmptyMedia({ className, variant, ...props }: react.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): react.JSX.Element;
|
|
309
|
+
declare function EmptyTitle({ className, ...props }: react.ComponentProps<"div">): react.JSX.Element;
|
|
310
|
+
declare function EmptyDescription({ className, ...props }: react.ComponentProps<"p">): react.JSX.Element;
|
|
311
|
+
declare function EmptyContent({ className, ...props }: react.ComponentProps<"div">): react.JSX.Element;
|
|
99
312
|
|
|
100
313
|
type ConfirmDestructiveDialogProps = {
|
|
101
314
|
open: boolean;
|
|
@@ -104,13 +317,16 @@ type ConfirmDestructiveDialogProps = {
|
|
|
104
317
|
description: string;
|
|
105
318
|
confirmLabel?: string;
|
|
106
319
|
cancelLabel?: string;
|
|
320
|
+
/** When false, confirm uses the primary button style (deliver/receive/convert). */
|
|
321
|
+
destructive?: boolean;
|
|
107
322
|
onConfirm: () => void;
|
|
108
323
|
};
|
|
109
324
|
/**
|
|
110
325
|
* Shared confirm step for destructive actions (delete, mute, etc.).
|
|
111
326
|
* Prefer this over window.confirm so focus stays in the app and copy is clear.
|
|
327
|
+
* Set `destructive={false}` for irreversible but constructive confirms.
|
|
112
328
|
*/
|
|
113
|
-
declare function ConfirmDestructiveDialog({ open, onOpenChange, title, description, confirmLabel, cancelLabel, onConfirm, }: ConfirmDestructiveDialogProps):
|
|
329
|
+
declare function ConfirmDestructiveDialog({ open, onOpenChange, title, description, confirmLabel, cancelLabel, destructive, onConfirm, }: ConfirmDestructiveDialogProps): react.JSX.Element;
|
|
114
330
|
|
|
115
331
|
type NotificationBellItem = {
|
|
116
332
|
id: string;
|
|
@@ -137,7 +353,7 @@ type NotificationBellProps = {
|
|
|
137
353
|
align?: "start" | "end";
|
|
138
354
|
className?: string;
|
|
139
355
|
};
|
|
140
|
-
declare function NotificationBell({ items, unreadCount, isLoading, labels: labelOverrides, viewAllHref, formatTime, onOpenChange, align, className, }: NotificationBellProps):
|
|
356
|
+
declare function NotificationBell({ items, unreadCount, isLoading, labels: labelOverrides, viewAllHref, formatTime, onOpenChange, align, className, }: NotificationBellProps): react.JSX.Element;
|
|
141
357
|
|
|
142
358
|
type EditableSectionMode = "reading" | "editing" | "saving";
|
|
143
359
|
type EditableSectionLabels = {
|
|
@@ -268,7 +484,7 @@ type EditableSectionProps = UseEditableSectionOptions & {
|
|
|
268
484
|
*
|
|
269
485
|
* Does not render a Card — place `actions` wherever your layout needs them.
|
|
270
486
|
*/
|
|
271
|
-
declare function EditableSection({ readView, editView, children, className, ...options }: EditableSectionProps):
|
|
487
|
+
declare function EditableSection({ readView, editView, children, className, ...options }: EditableSectionProps): react.JSX.Element;
|
|
272
488
|
|
|
273
489
|
/**
|
|
274
490
|
* Read-mode description list. Column grid and label placement match the
|
|
@@ -276,7 +492,7 @@ declare function EditableSection({ readView, editView, children, className, ...o
|
|
|
276
492
|
* so labels and values keep the same x-position across modes.
|
|
277
493
|
*/
|
|
278
494
|
type DataListProps = ComponentProps<"dl">;
|
|
279
|
-
declare function DataList({ className, ...props }: DataListProps):
|
|
495
|
+
declare function DataList({ className, ...props }: DataListProps): react.JSX.Element;
|
|
280
496
|
type DataListItemProps = {
|
|
281
497
|
label: ReactNode;
|
|
282
498
|
children?: ReactNode;
|
|
@@ -286,7 +502,7 @@ type DataListItemProps = {
|
|
|
286
502
|
labelClassName?: string;
|
|
287
503
|
valueClassName?: string;
|
|
288
504
|
};
|
|
289
|
-
declare function DataListItem({ label, children, empty, className, labelClassName, valueClassName, }: DataListItemProps):
|
|
505
|
+
declare function DataListItem({ label, children, empty, className, labelClassName, valueClassName, }: DataListItemProps): react.JSX.Element;
|
|
290
506
|
|
|
291
507
|
type FieldMessageProps = Omit<ComponentProps<"p">, "children"> & {
|
|
292
508
|
children?: ReactNode;
|
|
@@ -301,19 +517,22 @@ type FieldMessageProps = Omit<ComponentProps<"p">, "children"> & {
|
|
|
301
517
|
* so async errors do not shift fields under the pointer (CLS outside the
|
|
302
518
|
* 500ms input exclusion window).
|
|
303
519
|
*/
|
|
304
|
-
declare function FieldMessage({ id, children, className, ...props }: FieldMessageProps):
|
|
520
|
+
declare function FieldMessage({ id, children, className, ...props }: FieldMessageProps): react.JSX.Element;
|
|
305
521
|
|
|
306
522
|
type SafeImageProps = Omit<ImgHTMLAttributes<HTMLImageElement>, "src" | "onError"> & {
|
|
307
523
|
src?: string | null;
|
|
524
|
+
/**
|
|
525
|
+
* Tiny JPEG data URL painted as a clipped cover background until the image
|
|
526
|
+
* loads. No CSS `filter: blur()` — the LQIP is already soft, and filters
|
|
527
|
+
* paint outside the box even when a parent sets `overflow: hidden`.
|
|
528
|
+
* `null` and omission keep the image with no placeholder.
|
|
529
|
+
*/
|
|
530
|
+
blurDataUrl?: string | null;
|
|
308
531
|
/** Rendered when `src` is missing/empty or the image fails to load. */
|
|
309
532
|
fallback: ReactNode;
|
|
310
533
|
onError?: (event: SyntheticEvent<HTMLImageElement>) => void;
|
|
311
534
|
};
|
|
312
|
-
|
|
313
|
-
* `<img>` that swaps to `fallback` when the source is missing or fails to load,
|
|
314
|
-
* so the browser never shows its default broken-image glyph.
|
|
315
|
-
*/
|
|
316
|
-
declare function SafeImage({ src, fallback, alt, onError, ...imgProps }: SafeImageProps): React.JSX.Element;
|
|
535
|
+
declare function SafeImage({ src, fallback, alt, onError, onLoad, blurDataUrl, style, className, ...imgProps }: SafeImageProps): react.JSX.Element;
|
|
317
536
|
|
|
318
537
|
type ThemeSwitcherLabels = {
|
|
319
538
|
/** Accessible name for the theme trigger */
|
|
@@ -349,7 +568,7 @@ type ThemeSwitcherProps = {
|
|
|
349
568
|
/** Translation labels - consumers can pass their own t() values */
|
|
350
569
|
labels?: ThemeSwitcherLabels;
|
|
351
570
|
};
|
|
352
|
-
declare function ThemeSwitcher({ className, size, shape, align, side, labels: userLabels, }: ThemeSwitcherProps):
|
|
571
|
+
declare function ThemeSwitcher({ className, size, shape, align, side, labels: userLabels, }: ThemeSwitcherProps): react.JSX.Element;
|
|
353
572
|
|
|
354
573
|
type Language = {
|
|
355
574
|
/** Language key/code (e.g., "en", "es") */
|
|
@@ -409,7 +628,158 @@ type LanguageSwitcherProps = {
|
|
|
409
628
|
/** @deprecated No longer used; the trigger no longer renders a tooltip. */
|
|
410
629
|
tooltipSideOffset?: number;
|
|
411
630
|
};
|
|
412
|
-
declare function LanguageSwitcher({ languages: propLanguages, currentLanguage: propCurrentLanguage, onLanguageChange: propOnLanguageChange, labels, className, size, shape, align, side, }: LanguageSwitcherProps):
|
|
631
|
+
declare function LanguageSwitcher({ languages: propLanguages, currentLanguage: propCurrentLanguage, onLanguageChange: propOnLanguageChange, labels, className, size, shape, align, side, }: LanguageSwitcherProps): react.JSX.Element;
|
|
632
|
+
|
|
633
|
+
type CountryLocale = "es-MX" | "en";
|
|
634
|
+
type CountryRecord = {
|
|
635
|
+
code: string;
|
|
636
|
+
labelEs: string;
|
|
637
|
+
};
|
|
638
|
+
type CountryOption = {
|
|
639
|
+
code: string;
|
|
640
|
+
labelEs: string;
|
|
641
|
+
};
|
|
642
|
+
declare const COUNTRY_OPTIONS: readonly CountryOption[];
|
|
643
|
+
declare function isKnownCountryCode(code: string): boolean;
|
|
644
|
+
declare function countryLabel(code: string, locale: CountryLocale): string;
|
|
645
|
+
declare function formatCountryOptionLabel(code: string, locale: CountryLocale): string;
|
|
646
|
+
type CountryPickerItem = {
|
|
647
|
+
value: string;
|
|
648
|
+
label: string;
|
|
649
|
+
};
|
|
650
|
+
declare function countryPickerItems(locale: CountryLocale): CountryPickerItem[];
|
|
651
|
+
declare function filterCountries(query: string, locale: CountryLocale): CountryPickerItem[];
|
|
652
|
+
|
|
653
|
+
type CountryPickerPurpose = "country" | "nationality";
|
|
654
|
+
type CountryPickerLabels = {
|
|
655
|
+
ariaLabel?: string;
|
|
656
|
+
placeholder?: string;
|
|
657
|
+
search?: string;
|
|
658
|
+
noResults?: string;
|
|
659
|
+
clear?: string;
|
|
660
|
+
open?: string;
|
|
661
|
+
};
|
|
662
|
+
type CountryPickerProps = {
|
|
663
|
+
value: string;
|
|
664
|
+
onValueChange: (code: string) => void;
|
|
665
|
+
purpose: CountryPickerPurpose;
|
|
666
|
+
locale?: CountryLocale;
|
|
667
|
+
id?: string;
|
|
668
|
+
name?: string;
|
|
669
|
+
disabled?: boolean;
|
|
670
|
+
required?: boolean;
|
|
671
|
+
allowEmpty?: boolean;
|
|
672
|
+
className?: string;
|
|
673
|
+
labels?: CountryPickerLabels;
|
|
674
|
+
"aria-invalid"?: boolean;
|
|
675
|
+
};
|
|
676
|
+
declare function CountryPicker({ value, onValueChange, purpose, locale, id, name, disabled, required, allowEmpty, className, labels: labelsProp, "aria-invalid": ariaInvalid, }: CountryPickerProps): react.JSX.Element;
|
|
677
|
+
|
|
678
|
+
type SearchablePickerOption = {
|
|
679
|
+
id: string;
|
|
680
|
+
label: string;
|
|
681
|
+
sublabel?: string;
|
|
682
|
+
};
|
|
683
|
+
type SearchablePickerProps = {
|
|
684
|
+
value: string;
|
|
685
|
+
selectedLabel?: string | null;
|
|
686
|
+
onChange: (id: string, option?: SearchablePickerOption) => void;
|
|
687
|
+
options: SearchablePickerOption[];
|
|
688
|
+
query: string;
|
|
689
|
+
onQueryChange: (query: string) => void;
|
|
690
|
+
loading?: boolean;
|
|
691
|
+
loadingMore?: boolean;
|
|
692
|
+
hasMore?: boolean;
|
|
693
|
+
onLoadMore?: () => void;
|
|
694
|
+
placeholder?: string;
|
|
695
|
+
emptyLabel?: string;
|
|
696
|
+
loadMoreLabel?: string;
|
|
697
|
+
clearLabel?: string;
|
|
698
|
+
searchPlaceholder?: string;
|
|
699
|
+
openLabel?: string;
|
|
700
|
+
disabled?: boolean;
|
|
701
|
+
allowClear?: boolean;
|
|
702
|
+
title?: string;
|
|
703
|
+
id?: string;
|
|
704
|
+
className?: string;
|
|
705
|
+
"aria-invalid"?: boolean;
|
|
706
|
+
onOpenChange?: (open: boolean) => void;
|
|
707
|
+
};
|
|
708
|
+
declare function SearchablePicker({ value, selectedLabel, onChange, options, query, onQueryChange, loading, loadingMore, hasMore, onLoadMore, placeholder, emptyLabel, loadMoreLabel, clearLabel, searchPlaceholder, openLabel, disabled, allowClear, title, id, className, "aria-invalid": ariaInvalid, onOpenChange, }: SearchablePickerProps): react.JSX.Element;
|
|
709
|
+
|
|
710
|
+
type PaginatedComboboxItem = {
|
|
711
|
+
value: string;
|
|
712
|
+
label: string;
|
|
713
|
+
secondary?: string;
|
|
714
|
+
};
|
|
715
|
+
type PaginatedComboboxLabels = {
|
|
716
|
+
ariaLabel?: string;
|
|
717
|
+
placeholder?: string;
|
|
718
|
+
noResults?: string;
|
|
719
|
+
clear?: string;
|
|
720
|
+
open?: string;
|
|
721
|
+
loadMore?: string;
|
|
722
|
+
loading?: string;
|
|
723
|
+
};
|
|
724
|
+
type PaginatedComboboxProps = {
|
|
725
|
+
value: string;
|
|
726
|
+
onValueChange: (value: string, item: PaginatedComboboxItem | null) => void;
|
|
727
|
+
items: PaginatedComboboxItem[];
|
|
728
|
+
/** Label for the current value when it is not in the loaded page. */
|
|
729
|
+
selectedItem?: PaginatedComboboxItem | null;
|
|
730
|
+
onQueryChange: (query: string) => void;
|
|
731
|
+
loading?: boolean;
|
|
732
|
+
loadingMore?: boolean;
|
|
733
|
+
nextCursor?: string | null;
|
|
734
|
+
onLoadMore?: () => void;
|
|
735
|
+
onOpenChange?: (open: boolean) => void;
|
|
736
|
+
debounceMs?: number;
|
|
737
|
+
id?: string;
|
|
738
|
+
name?: string;
|
|
739
|
+
disabled?: boolean;
|
|
740
|
+
required?: boolean;
|
|
741
|
+
allowEmpty?: boolean;
|
|
742
|
+
className?: string;
|
|
743
|
+
labels?: PaginatedComboboxLabels;
|
|
744
|
+
"aria-invalid"?: boolean;
|
|
745
|
+
};
|
|
746
|
+
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;
|
|
747
|
+
|
|
748
|
+
/** Mexican RFC and CURP normalize + validate (UI + app shared). */
|
|
749
|
+
type PersonKindForRfc = "natural_person_mx" | "natural_person_foreign" | "legal_entity_mx" | "legal_entity_foreign" | "trust" | "other";
|
|
750
|
+
type RfcValidationError = "moral" | "natural" | "length";
|
|
751
|
+
type CurpValidationError = "format" | "check_digit";
|
|
752
|
+
declare const CURP_REGEX: RegExp;
|
|
753
|
+
declare function normalizeRfc(raw: string): string;
|
|
754
|
+
declare function rfcMaxLengthForPersonKind(personKind?: PersonKindForRfc | null): number;
|
|
755
|
+
declare function validateRfcForPersonKind(rfc: string, personKind: PersonKindForRfc): {
|
|
756
|
+
ok: true;
|
|
757
|
+
} | {
|
|
758
|
+
ok: false;
|
|
759
|
+
code: RfcValidationError;
|
|
760
|
+
};
|
|
761
|
+
/** Trim + uppercase. Does not require a valid CURP. */
|
|
762
|
+
declare function normalizeCurpInput(raw: string): string;
|
|
763
|
+
declare function curpCheckDigit(curp17: string): number;
|
|
764
|
+
declare function validateCurp(curp: string): {
|
|
765
|
+
ok: true;
|
|
766
|
+
} | {
|
|
767
|
+
ok: false;
|
|
768
|
+
code: CurpValidationError;
|
|
769
|
+
};
|
|
770
|
+
|
|
771
|
+
type RfcInputProps = Omit<react.ComponentProps<"input">, "value" | "onChange" | "type" | "maxLength" | "autoCapitalize" | "spellCheck"> & {
|
|
772
|
+
value: string;
|
|
773
|
+
onValueChange: (value: string) => void;
|
|
774
|
+
personKind?: PersonKindForRfc | null;
|
|
775
|
+
};
|
|
776
|
+
declare function RfcInput({ value, onValueChange, personKind, className, ...props }: RfcInputProps): react.JSX.Element;
|
|
777
|
+
|
|
778
|
+
type CurpInputProps = Omit<react.ComponentProps<"input">, "value" | "onChange" | "type" | "maxLength" | "autoCapitalize" | "spellCheck"> & {
|
|
779
|
+
value: string;
|
|
780
|
+
onValueChange: (value: string) => void;
|
|
781
|
+
};
|
|
782
|
+
declare function CurpInput({ value, onValueChange, className, ...props }: CurpInputProps): react.JSX.Element;
|
|
413
783
|
|
|
414
784
|
type AvatarEditorLabels = {
|
|
415
785
|
uploadAria?: string;
|
|
@@ -448,7 +818,7 @@ interface AvatarEditorProps {
|
|
|
448
818
|
/** Override English chrome strings */
|
|
449
819
|
labels?: AvatarEditorLabels;
|
|
450
820
|
}
|
|
451
|
-
declare function AvatarEditor({ value: _value, onChange, size, showGrid: initialShowGrid, outputSize, outputFormat, outputQuality, className, controlSize, labels, }: AvatarEditorProps):
|
|
821
|
+
declare function AvatarEditor({ value: _value, onChange, size, showGrid: initialShowGrid, outputSize, outputFormat, outputQuality, className, controlSize, labels, }: AvatarEditorProps): react.JSX.Element;
|
|
452
822
|
|
|
453
823
|
interface AvatarEditorDialogProps {
|
|
454
824
|
/** Current avatar URL or data URL */
|
|
@@ -486,7 +856,7 @@ interface AvatarEditorDialogProps {
|
|
|
486
856
|
/** Override AvatarEditor chrome strings */
|
|
487
857
|
editorLabels?: AvatarEditorLabels;
|
|
488
858
|
}
|
|
489
|
-
declare function AvatarEditorDialog({ value, onChange, onSave, displaySize, editorSize, outputSize, placeholder, editLabel, dialogTitle, acceptText, cancelText, savingText, savedText, successMessage, errorMessage, className, editorLabels, }: AvatarEditorDialogProps):
|
|
859
|
+
declare function AvatarEditorDialog({ value, onChange, onSave, displaySize, editorSize, outputSize, placeholder, editLabel, dialogTitle, acceptText, cancelText, savingText, savedText, successMessage, errorMessage, className, editorLabels, }: AvatarEditorDialogProps): react.JSX.Element;
|
|
490
860
|
|
|
491
861
|
type MultipartUploadPart = {
|
|
492
862
|
partNumber: number;
|
|
@@ -542,13 +912,15 @@ declare const DEFAULT_FILE_UPLOAD_LABELS: {
|
|
|
542
912
|
type FileDropzoneProps = {
|
|
543
913
|
accept?: string;
|
|
544
914
|
maxSize?: number;
|
|
915
|
+
/** When true, drop/browse can accept several files; `onFile` runs once per file. */
|
|
916
|
+
multiple?: boolean;
|
|
545
917
|
disabled?: boolean;
|
|
546
918
|
labels?: Partial<FileDropzoneLabels>;
|
|
547
919
|
onFile: (file: File) => void;
|
|
548
920
|
onReject?: (reason: "type" | "size") => void;
|
|
549
921
|
className?: string;
|
|
550
922
|
};
|
|
551
|
-
declare function FileDropzone({ accept, maxSize, disabled, labels: labelOverrides, onFile, onReject, className, }: FileDropzoneProps):
|
|
923
|
+
declare function FileDropzone({ accept, maxSize, multiple, disabled, labels: labelOverrides, onFile, onReject, className, }: FileDropzoneProps): react.JSX.Element;
|
|
552
924
|
|
|
553
925
|
type FileUploadTrayProps = {
|
|
554
926
|
jobs: UploadJob[];
|
|
@@ -558,7 +930,7 @@ type FileUploadTrayProps = {
|
|
|
558
930
|
onCancel: (id: string) => void;
|
|
559
931
|
className?: string;
|
|
560
932
|
};
|
|
561
|
-
declare function FileUploadTray({ jobs, labels: labelOverrides, onPause, onResume, onCancel, className, }: FileUploadTrayProps):
|
|
933
|
+
declare function FileUploadTray({ jobs, labels: labelOverrides, onPause, onResume, onCancel, className, }: FileUploadTrayProps): react.JSX.Element | null;
|
|
562
934
|
|
|
563
935
|
type FileUploadMenuProps = {
|
|
564
936
|
jobs: UploadJob[];
|
|
@@ -571,7 +943,7 @@ type FileUploadMenuProps = {
|
|
|
571
943
|
align?: "start" | "end";
|
|
572
944
|
className?: string;
|
|
573
945
|
};
|
|
574
|
-
declare function FileUploadMenu({ jobs, labels: labelOverrides, onPause, onResume, onCancel, open, onOpenChange, align, className, }: FileUploadMenuProps):
|
|
946
|
+
declare function FileUploadMenu({ jobs, labels: labelOverrides, onPause, onResume, onCancel, open, onOpenChange, align, className, }: FileUploadMenuProps): react.JSX.Element | null;
|
|
575
947
|
|
|
576
948
|
type CreateMultipartUploadControllerOptions = {
|
|
577
949
|
file: Blob;
|
|
@@ -610,30 +982,30 @@ declare function cn(...inputs: ClassValue[]): string;
|
|
|
610
982
|
|
|
611
983
|
type StatHighlightCardProps = {
|
|
612
984
|
label: string;
|
|
613
|
-
value:
|
|
985
|
+
value: react.ReactNode;
|
|
614
986
|
hint?: string;
|
|
615
987
|
delta?: string;
|
|
616
988
|
deltaTone?: "up" | "down" | "neutral";
|
|
617
989
|
className?: string;
|
|
618
990
|
};
|
|
619
|
-
declare function StatHighlightCard({ label, value, hint, delta, deltaTone, className, }: StatHighlightCardProps):
|
|
991
|
+
declare function StatHighlightCard({ label, value, hint, delta, deltaTone, className, }: StatHighlightCardProps): react.JSX.Element;
|
|
620
992
|
|
|
621
993
|
type MetricChartCardProps = {
|
|
622
994
|
title: string;
|
|
623
995
|
description?: string;
|
|
624
|
-
action?:
|
|
625
|
-
children:
|
|
996
|
+
action?: react.ReactNode;
|
|
997
|
+
children: react.ReactNode;
|
|
626
998
|
className?: string;
|
|
627
999
|
};
|
|
628
|
-
declare function MetricChartCard({ title, description, action, children, className, }: MetricChartCardProps):
|
|
1000
|
+
declare function MetricChartCard({ title, description, action, children, className, }: MetricChartCardProps): react.JSX.Element;
|
|
629
1001
|
|
|
630
1002
|
type SparklineStatProps = {
|
|
631
1003
|
label: string;
|
|
632
|
-
value:
|
|
1004
|
+
value: react.ReactNode;
|
|
633
1005
|
points: number[];
|
|
634
1006
|
className?: string;
|
|
635
1007
|
};
|
|
636
|
-
declare function SparklineStat({ label, value, points, className, }: SparklineStatProps):
|
|
1008
|
+
declare function SparklineStat({ label, value, points, className, }: SparklineStatProps): react.JSX.Element;
|
|
637
1009
|
|
|
638
1010
|
declare const TIME_RANGE_OPTIONS: readonly ["day", "week", "month", "year"];
|
|
639
1011
|
type TimeRange = (typeof TIME_RANGE_OPTIONS)[number];
|
|
@@ -644,50 +1016,50 @@ type TimeRangePickerProps = {
|
|
|
644
1016
|
labels?: TimeRangePickerLabels;
|
|
645
1017
|
className?: string;
|
|
646
1018
|
};
|
|
647
|
-
declare function TimeRangePicker({ value, onChange, labels, className, }: TimeRangePickerProps):
|
|
1019
|
+
declare function TimeRangePicker({ value, onChange, labels, className, }: TimeRangePickerProps): react.JSX.Element;
|
|
648
1020
|
|
|
649
1021
|
type DimensionBreakdownRow = {
|
|
650
1022
|
id: string;
|
|
651
1023
|
label: string;
|
|
652
|
-
value:
|
|
1024
|
+
value: react.ReactNode;
|
|
653
1025
|
share?: string;
|
|
654
1026
|
};
|
|
655
1027
|
type DimensionBreakdownTableProps = {
|
|
656
1028
|
title?: string;
|
|
657
1029
|
rows: DimensionBreakdownRow[];
|
|
658
|
-
empty?:
|
|
1030
|
+
empty?: react.ReactNode;
|
|
659
1031
|
className?: string;
|
|
660
1032
|
};
|
|
661
|
-
declare function DimensionBreakdownTable({ title, rows, empty, className, }: DimensionBreakdownTableProps):
|
|
1033
|
+
declare function DimensionBreakdownTable({ title, rows, empty, className, }: DimensionBreakdownTableProps): react.JSX.Element;
|
|
662
1034
|
|
|
663
1035
|
type CostBreakdownItem = {
|
|
664
1036
|
id: string;
|
|
665
1037
|
label: string;
|
|
666
|
-
amount:
|
|
1038
|
+
amount: react.ReactNode;
|
|
667
1039
|
basis?: string;
|
|
668
1040
|
};
|
|
669
1041
|
type CostBreakdownCardProps = {
|
|
670
1042
|
title: string;
|
|
671
|
-
total?:
|
|
1043
|
+
total?: react.ReactNode;
|
|
672
1044
|
items: CostBreakdownItem[];
|
|
673
1045
|
className?: string;
|
|
674
1046
|
};
|
|
675
|
-
declare function CostBreakdownCard({ title, total, items, className, }: CostBreakdownCardProps):
|
|
1047
|
+
declare function CostBreakdownCard({ title, total, items, className, }: CostBreakdownCardProps): react.JSX.Element;
|
|
676
1048
|
|
|
677
1049
|
type MetricEmptyStateProps = {
|
|
678
1050
|
title: string;
|
|
679
1051
|
description?: string;
|
|
680
|
-
action?:
|
|
1052
|
+
action?: react.ReactNode;
|
|
681
1053
|
icon?: EmptyStateIcon;
|
|
682
1054
|
className?: string;
|
|
683
1055
|
};
|
|
684
|
-
declare function MetricEmptyState({ title, description, action, icon, className, }: MetricEmptyStateProps):
|
|
1056
|
+
declare function MetricEmptyState({ title, description, action, icon, className, }: MetricEmptyStateProps): react.JSX.Element;
|
|
685
1057
|
|
|
686
1058
|
type MetricSkeletonProps = {
|
|
687
1059
|
className?: string;
|
|
688
1060
|
bars?: number;
|
|
689
1061
|
};
|
|
690
|
-
declare function MetricSkeleton({ className, bars }: MetricSkeletonProps):
|
|
1062
|
+
declare function MetricSkeleton({ className, bars }: MetricSkeletonProps): react.JSX.Element;
|
|
691
1063
|
|
|
692
1064
|
type CookieConsentBannerLabels = {
|
|
693
1065
|
message: string;
|
|
@@ -704,7 +1076,7 @@ type CookieConsentBannerProps = {
|
|
|
704
1076
|
variant?: "default" | "embed";
|
|
705
1077
|
className?: string;
|
|
706
1078
|
};
|
|
707
|
-
declare function CookieConsentBanner({ domain, policyHref, labels, onChoice, variant, className, }: CookieConsentBannerProps):
|
|
1079
|
+
declare function CookieConsentBanner({ domain, policyHref, labels, onChoice, variant, className, }: CookieConsentBannerProps): react.JSX.Element | null;
|
|
708
1080
|
|
|
709
1081
|
type LegalAcceptDialogLabels = {
|
|
710
1082
|
title: string;
|
|
@@ -723,7 +1095,7 @@ type LegalAcceptDialogProps = {
|
|
|
723
1095
|
labels?: Partial<LegalAcceptDialogLabels>;
|
|
724
1096
|
onAccept: () => void;
|
|
725
1097
|
};
|
|
726
|
-
declare function LegalAcceptDialog({ open, termsHref, privacyHref, summary, accepting, labels, onAccept, }: LegalAcceptDialogProps):
|
|
1098
|
+
declare function LegalAcceptDialog({ open, termsHref, privacyHref, summary, accepting, labels, onAccept, }: LegalAcceptDialogProps): react.JSX.Element;
|
|
727
1099
|
|
|
728
1100
|
type LegalAcceptCheckboxLabels = {
|
|
729
1101
|
label: string;
|
|
@@ -741,13 +1113,231 @@ type LegalAcceptCheckboxProps = {
|
|
|
741
1113
|
disabled?: boolean;
|
|
742
1114
|
className?: string;
|
|
743
1115
|
};
|
|
744
|
-
declare function LegalAcceptCheckbox({ id, checked, onCheckedChange, termsHref, privacyHref, labels, disabled, className, }: LegalAcceptCheckboxProps):
|
|
1116
|
+
declare function LegalAcceptCheckbox({ id, checked, onCheckedChange, termsHref, privacyHref, labels, disabled, className, }: LegalAcceptCheckboxProps): react.JSX.Element;
|
|
1117
|
+
|
|
1118
|
+
type StepProgressSegment = {
|
|
1119
|
+
id: string;
|
|
1120
|
+
label: string;
|
|
1121
|
+
};
|
|
1122
|
+
type StepProgressProps = {
|
|
1123
|
+
segments: readonly StepProgressSegment[];
|
|
1124
|
+
/** Zero-based index of the active segment. */
|
|
1125
|
+
current: number;
|
|
1126
|
+
className?: string;
|
|
1127
|
+
/** Accessible name for the progress region. */
|
|
1128
|
+
"aria-label"?: string;
|
|
1129
|
+
};
|
|
1130
|
+
/**
|
|
1131
|
+
* Segmented wizard progress (filled bars + current label).
|
|
1132
|
+
* Labels stay visible for the active segment only on narrow screens.
|
|
1133
|
+
*/
|
|
1134
|
+
declare function StepProgress({ segments, current, className, "aria-label": ariaLabel, }: StepProgressProps): react.JSX.Element;
|
|
1135
|
+
|
|
1136
|
+
type OptionRowProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> & {
|
|
1137
|
+
icon?: ReactNode;
|
|
1138
|
+
title: string;
|
|
1139
|
+
description?: string;
|
|
1140
|
+
badge?: string;
|
|
1141
|
+
badgeVariant?: "default" | "secondary" | "outline" | "success" | "warning";
|
|
1142
|
+
showChevron?: boolean;
|
|
1143
|
+
};
|
|
1144
|
+
/** List row with icon, title, description, optional badge, and chevron. */
|
|
1145
|
+
declare function OptionRow({ icon, title, description, badge, badgeVariant, showChevron, className, type, ...props }: OptionRowProps): react.JSX.Element;
|
|
1146
|
+
|
|
1147
|
+
type StickyActionBarProps = HTMLAttributes<HTMLDivElement> & {
|
|
1148
|
+
children: ReactNode;
|
|
1149
|
+
/** Optional secondary action on the left (e.g. decline / skip). */
|
|
1150
|
+
secondary?: ReactNode;
|
|
1151
|
+
};
|
|
1152
|
+
/**
|
|
1153
|
+
* Bottom-pinned action strip for mobile wizard steps.
|
|
1154
|
+
* Use inside a full-height flex column so it stays at the foot of the viewport.
|
|
1155
|
+
*/
|
|
1156
|
+
declare function StickyActionBar({ children, secondary, className, ...props }: StickyActionBarProps): react.JSX.Element;
|
|
1157
|
+
|
|
1158
|
+
type StatusTone = "neutral" | "info" | "success" | "warning" | "danger";
|
|
1159
|
+
type StatusBadgeProps = HTMLAttributes<HTMLSpanElement> & {
|
|
1160
|
+
label: string;
|
|
1161
|
+
tone?: StatusTone;
|
|
1162
|
+
};
|
|
1163
|
+
/** Shared status chip for list cells and detail headers. */
|
|
1164
|
+
declare function StatusBadge({ label, tone, className, ...props }: StatusBadgeProps): react.JSX.Element;
|
|
1165
|
+
|
|
1166
|
+
type DetailFact = {
|
|
1167
|
+
label: string;
|
|
1168
|
+
value?: ReactNode;
|
|
1169
|
+
};
|
|
1170
|
+
type DetailHeaderProps = {
|
|
1171
|
+
title: string;
|
|
1172
|
+
badge?: ReactNode;
|
|
1173
|
+
subtitle?: ReactNode;
|
|
1174
|
+
/** Key facts rendered as a DataList under the title row. */
|
|
1175
|
+
facts?: DetailFact[];
|
|
1176
|
+
/** Empty placeholder for fact values. Default: "—" */
|
|
1177
|
+
factsEmpty?: ReactNode;
|
|
1178
|
+
primaryAction?: ReactNode;
|
|
1179
|
+
/** Secondary actions beside the primary (callers typically pass ≤2). */
|
|
1180
|
+
secondaryActions?: ReactNode[];
|
|
1181
|
+
/** Overflow menu items (DropdownMenuItem children). */
|
|
1182
|
+
moreMenu?: ReactNode;
|
|
1183
|
+
moreLabel?: string;
|
|
1184
|
+
/** Optional tab strip (caller usually passes NavTabs). */
|
|
1185
|
+
tabs?: ReactNode;
|
|
1186
|
+
className?: string;
|
|
1187
|
+
};
|
|
1188
|
+
/**
|
|
1189
|
+
* Shared detail page chrome: title, status, facts, and action hierarchy.
|
|
1190
|
+
*/
|
|
1191
|
+
declare function DetailHeader({ title, badge, subtitle, facts, factsEmpty, primaryAction, secondaryActions, moreMenu, moreLabel, tabs, className, }: DetailHeaderProps): react.JSX.Element;
|
|
1192
|
+
|
|
1193
|
+
type FormSectionProps = HTMLAttributes<HTMLElement> & {
|
|
1194
|
+
title: string;
|
|
1195
|
+
description?: string;
|
|
1196
|
+
children: ReactNode;
|
|
1197
|
+
/** Extra content beside the title (e.g. a counter). */
|
|
1198
|
+
aside?: ReactNode;
|
|
1199
|
+
};
|
|
1200
|
+
/**
|
|
1201
|
+
* Labeled form section with a short reason and a one→two column field grid.
|
|
1202
|
+
*/
|
|
1203
|
+
declare function FormSection({ title, description, children, aside, className, ...props }: FormSectionProps): react.JSX.Element;
|
|
1204
|
+
|
|
1205
|
+
/**
|
|
1206
|
+
* Registers `beforeunload` while `dirty` is true.
|
|
1207
|
+
* App Router cannot block in-app navigation; pair with confirms on controlled links.
|
|
1208
|
+
*/
|
|
1209
|
+
declare function useDirtyGuard(dirty: boolean): void;
|
|
1210
|
+
|
|
1211
|
+
type WizardLayoutProps = {
|
|
1212
|
+
steps: readonly StepProgressSegment[];
|
|
1213
|
+
current: number;
|
|
1214
|
+
children: ReactNode;
|
|
1215
|
+
onBack?: () => void;
|
|
1216
|
+
onNext?: () => void;
|
|
1217
|
+
backLabel?: string;
|
|
1218
|
+
nextLabel?: string;
|
|
1219
|
+
nextDisabled?: boolean;
|
|
1220
|
+
pending?: boolean;
|
|
1221
|
+
/** Replaces the default Back button. */
|
|
1222
|
+
secondary?: ReactNode;
|
|
1223
|
+
/** Replaces the default Continue button. */
|
|
1224
|
+
primary?: ReactNode;
|
|
1225
|
+
progressLabel?: string;
|
|
1226
|
+
className?: string;
|
|
1227
|
+
};
|
|
1228
|
+
/**
|
|
1229
|
+
* Composes StepProgress + content + StickyActionBar for multi-step flows.
|
|
1230
|
+
*/
|
|
1231
|
+
declare function WizardLayout({ steps, current, children, onBack, onNext, backLabel, nextLabel, nextDisabled, pending, secondary, primary, progressLabel, className, }: WizardLayoutProps): react.JSX.Element;
|
|
1232
|
+
type SectionSummaryProps = {
|
|
1233
|
+
title: string;
|
|
1234
|
+
children: ReactNode;
|
|
1235
|
+
editLabel?: string;
|
|
1236
|
+
onEdit?: () => void;
|
|
1237
|
+
className?: string;
|
|
1238
|
+
};
|
|
1239
|
+
/** Review-step card with an Edit affordance that jumps back to a prior step. */
|
|
1240
|
+
declare function SectionSummary({ title, children, editLabel, onEdit, className, }: SectionSummaryProps): react.JSX.Element;
|
|
1241
|
+
|
|
1242
|
+
type QueueLayoutProps = {
|
|
1243
|
+
list: ReactNode;
|
|
1244
|
+
review: ReactNode;
|
|
1245
|
+
/** Shown in the review pane when nothing is selected. */
|
|
1246
|
+
emptyReview?: ReactNode;
|
|
1247
|
+
selectedId?: string | null;
|
|
1248
|
+
/** Accessible name for the split region. */
|
|
1249
|
+
"aria-label"?: string;
|
|
1250
|
+
className?: string;
|
|
1251
|
+
/** Optional shortcut hint under the list (e.g. "j / k to move"). */
|
|
1252
|
+
shortcutHint?: string;
|
|
1253
|
+
};
|
|
1254
|
+
/**
|
|
1255
|
+
* Split review queue: list left, review right. Stacks below `lg`.
|
|
1256
|
+
*/
|
|
1257
|
+
declare function QueueLayout({ list, review, emptyReview, selectedId, "aria-label": ariaLabel, className, shortcutHint, }: QueueLayoutProps): react.JSX.Element;
|
|
1258
|
+
type UseQueueKeysOptions = {
|
|
1259
|
+
enabled?: boolean;
|
|
1260
|
+
ids: readonly string[];
|
|
1261
|
+
selectedId: string | null | undefined;
|
|
1262
|
+
onSelect: (id: string | null) => void;
|
|
1263
|
+
};
|
|
1264
|
+
/**
|
|
1265
|
+
* `j` / `k` move selection, `Enter` keeps selection (focus review), `Esc` clears.
|
|
1266
|
+
* Ignored while typing in inputs or when a dialog is focused.
|
|
1267
|
+
*/
|
|
1268
|
+
declare function useQueueKeys({ enabled, ids, selectedId, onSelect, }: UseQueueKeysOptions): void;
|
|
1269
|
+
/** Optional helper for list rows that should advance with Enter. */
|
|
1270
|
+
declare function queueRowKeyDown(event: KeyboardEvent, onOpen: () => void): void;
|
|
1271
|
+
|
|
1272
|
+
type SectionCardTone = "default" | "danger";
|
|
1273
|
+
type SectionCardProps = {
|
|
1274
|
+
id: string;
|
|
1275
|
+
title: string;
|
|
1276
|
+
description?: string;
|
|
1277
|
+
badge?: ReactNode;
|
|
1278
|
+
headerAction?: ReactNode;
|
|
1279
|
+
footer?: ReactNode;
|
|
1280
|
+
children: ReactNode;
|
|
1281
|
+
tone?: SectionCardTone;
|
|
1282
|
+
className?: string;
|
|
1283
|
+
/** Skip entrance motion (useful in tests). */
|
|
1284
|
+
animate?: boolean;
|
|
1285
|
+
};
|
|
1286
|
+
/**
|
|
1287
|
+
* Settings / account section card with optional danger tone.
|
|
1288
|
+
* Motion honors prefers-reduced-motion via framer-motion.
|
|
1289
|
+
*/
|
|
1290
|
+
declare function SectionCard({ id, title, description, badge, headerAction, footer, children, tone, className, animate, }: SectionCardProps): react.JSX.Element;
|
|
1291
|
+
|
|
1292
|
+
type SectionNavItem = {
|
|
1293
|
+
id: string;
|
|
1294
|
+
label: string;
|
|
1295
|
+
};
|
|
1296
|
+
type UseSectionNavResult = {
|
|
1297
|
+
active: string;
|
|
1298
|
+
scrollToSection: (id: string) => void;
|
|
1299
|
+
};
|
|
1300
|
+
/**
|
|
1301
|
+
* IntersectionObserver-backed active section for a long settings page.
|
|
1302
|
+
*/
|
|
1303
|
+
declare function useSectionNav(sections: readonly SectionNavItem[]): UseSectionNavResult;
|
|
1304
|
+
type SectionNavListProps = {
|
|
1305
|
+
sections: readonly SectionNavItem[];
|
|
1306
|
+
active: string;
|
|
1307
|
+
onSelect: (id: string) => void;
|
|
1308
|
+
/** Localized accessible name for the nav landmark. */
|
|
1309
|
+
ariaLabel: string;
|
|
1310
|
+
className?: string;
|
|
1311
|
+
layout: "mobile" | "desktop";
|
|
1312
|
+
};
|
|
1313
|
+
declare function SectionNavList({ sections, active, onSelect, ariaLabel, className, layout, }: SectionNavListProps): react.JSX.Element;
|
|
1314
|
+
type SectionNavProps = {
|
|
1315
|
+
sections: readonly SectionNavItem[];
|
|
1316
|
+
ariaLabel: string;
|
|
1317
|
+
className?: string;
|
|
1318
|
+
};
|
|
1319
|
+
/**
|
|
1320
|
+
* Responsive settings section nav: chip strip on small screens, sticky list on md+.
|
|
1321
|
+
*/
|
|
1322
|
+
declare function SectionNav({ sections, ariaLabel, className, }: SectionNavProps): react.JSX.Element;
|
|
1323
|
+
|
|
1324
|
+
type SettingRowProps = {
|
|
1325
|
+
label: string;
|
|
1326
|
+
description?: string;
|
|
1327
|
+
control: ReactNode;
|
|
1328
|
+
className?: string;
|
|
1329
|
+
htmlFor?: string;
|
|
1330
|
+
};
|
|
1331
|
+
/**
|
|
1332
|
+
* Settings row: label + description on the left, control on the right.
|
|
1333
|
+
*/
|
|
1334
|
+
declare function SettingRow({ label, description, control, className, htmlFor, }: SettingRowProps): react.JSX.Element;
|
|
745
1335
|
|
|
746
1336
|
type LegalMarkdownProps = {
|
|
747
1337
|
markdown: string;
|
|
748
1338
|
className?: string;
|
|
749
1339
|
};
|
|
750
|
-
declare function LegalMarkdown({ markdown, className }: LegalMarkdownProps):
|
|
1340
|
+
declare function LegalMarkdown({ markdown, className }: LegalMarkdownProps): react.JSX.Element;
|
|
751
1341
|
|
|
752
1342
|
type AuditActor = {
|
|
753
1343
|
kind: string;
|
|
@@ -779,9 +1369,11 @@ type AuditTimelineProps = {
|
|
|
779
1369
|
/** Single primary action shown only when the timeline is empty. */
|
|
780
1370
|
emptyAction?: ReactNode;
|
|
781
1371
|
className?: string;
|
|
1372
|
+
/** BCP 47 locale for the default formatter (next-intl). Default: `en`. */
|
|
1373
|
+
locale?: string;
|
|
782
1374
|
formatOccurredAt?: (occurredAt: number) => string;
|
|
783
1375
|
};
|
|
784
|
-
declare function AuditTimeline({ items, labels, emptyAction, className, formatOccurredAt: format, }: AuditTimelineProps):
|
|
1376
|
+
declare function AuditTimeline({ items, labels, emptyAction, className, locale, formatOccurredAt: format, }: AuditTimelineProps): react.JSX.Element;
|
|
785
1377
|
|
|
786
1378
|
type RiskSeverity = "low" | "medium" | "high";
|
|
787
1379
|
type RiskBadgeLabels = {
|
|
@@ -798,7 +1390,7 @@ type RiskBadgeProps = {
|
|
|
798
1390
|
labels?: Partial<RiskBadgeLabels>;
|
|
799
1391
|
className?: string;
|
|
800
1392
|
};
|
|
801
|
-
declare function RiskBadge({ severity, smeVerified, labels, className, }: RiskBadgeProps):
|
|
1393
|
+
declare function RiskBadge({ severity, smeVerified, labels, className, }: RiskBadgeProps): react.JSX.Element;
|
|
802
1394
|
|
|
803
1395
|
type EntityGraphNode = {
|
|
804
1396
|
id: string;
|
|
@@ -827,7 +1419,7 @@ type EntityGraphProps = {
|
|
|
827
1419
|
emptyAction?: ReactNode;
|
|
828
1420
|
className?: string;
|
|
829
1421
|
};
|
|
830
|
-
declare function EntityGraph({ nodes, edges, labels, emptyAction, className, }: EntityGraphProps):
|
|
1422
|
+
declare function EntityGraph({ nodes, edges, labels, emptyAction, className, }: EntityGraphProps): react.JSX.Element;
|
|
831
1423
|
|
|
832
1424
|
type MatchReviewSource = {
|
|
833
1425
|
url: string;
|
|
@@ -868,6 +1460,6 @@ type MatchReviewProps = {
|
|
|
868
1460
|
};
|
|
869
1461
|
declare function sourceUrlIsHttps(url: string): boolean;
|
|
870
1462
|
declare function matchClaimIsUnverified(hit: MatchReviewHit): boolean;
|
|
871
|
-
declare function MatchReview({ hit, onResolve, labels, sourceLabels, emptyAction, className, }: MatchReviewProps):
|
|
1463
|
+
declare function MatchReview({ hit, onResolve, labels, sourceLabels, emptyAction, className, }: MatchReviewProps): react.JSX.Element;
|
|
872
1464
|
|
|
873
|
-
export { type AuditActor, type AuditSubject, AuditTimeline, type AuditTimelineItem, type AuditTimelineLabels, type AuditTimelineProps, AvatarEditor, AvatarEditorDialog, type AvatarEditorDialogProps, type AvatarEditorLabels, type AvatarEditorProps, type BlocksLanguage, ConfirmDestructiveDialog, type ConfirmDestructiveDialogProps, type ControlKind, CookieConsentBanner, type CookieConsentBannerLabels, type CookieConsentBannerProps, CookieConsentValue, CostBreakdownCard, type CostBreakdownCardProps, type CostBreakdownItem, type CreateMultipartUploadControllerOptions, 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, DataList, DataListItem, type DataListItemProps, type DataListProps, 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, 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, NotificationBell, type NotificationBellItem, type NotificationBellLabels, type NotificationBellProps, PageTitle, type PartRange, RiskBadge, type RiskBadgeLabels, type RiskBadgeProps, type RiskSeverity, SafeImage, type SafeImageProps, 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, createMultipartUploadController, defaultLanguages, fileMatchesAccept, matchClaimIsUnverified, partRanges, progressFromBytes, sourceUrlIsHttps, useEditableSection, useLanguageContext, useMediaQuery };
|
|
1465
|
+
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, CURP_REGEX, 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, CurpInput, type CurpInputProps, type CurpValidationError, DATA_TABLE_BODY_MIN_CLASS, DATA_TABLE_DEFAULT_SKELETON_ROWS, 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, type DashboardSkeletonVariant, DataList, DataListItem, type DataListItemProps, type DataListProps, DataTable, type DataTableColumn, type DataTableProps, DataTableSkeleton, type DetailFact, DetailHeader, type DetailHeaderProps, 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, FormSection, type FormSectionProps, 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, OptionRow, type OptionRowProps, PageContainer, PageTitle, type PageTitleProps, PageTitleSkeleton, PaginatedCombobox, type PaginatedComboboxItem, type PaginatedComboboxLabels, type PaginatedComboboxProps, type PartRange, type PersonKindForRfc, QueueLayout, type QueueLayoutProps, RfcInput, type RfcInputProps, type RfcValidationError, RiskBadge, type RiskBadgeLabels, type RiskBadgeProps, type RiskSeverity, RouteLoading, SafeImage, type SafeImageProps, SearchablePicker, type SearchablePickerOption, type SearchablePickerProps, SectionCard, type SectionCardProps, type SectionCardTone, SectionNav, type SectionNavItem, SectionNavList, type SectionNavListProps, type SectionNavProps, SectionSummary, type SectionSummaryProps, SettingRow, type SettingRowProps, type ShellIcon, type ShellLinkProps, type ShellLinkRenderer, SparklineStat, type SparklineStatProps, StatHighlightCard, type StatHighlightCardProps, StatusBadge, type StatusBadgeProps, type StatusTone, StepProgress, type StepProgressProps, type StepProgressSegment, StickyActionBar, type StickyActionBarProps, 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, type UseQueueKeysOptions, type UseSectionNavResult, WizardLayout, type WizardLayoutProps, cn, countryLabel, countryPickerItems, createMultipartUploadController, curpCheckDigit, dataTableBodyMinClass, defaultLanguages, fileMatchesAccept, filterCountries, formatCountryOptionLabel, isKnownCountryCode, matchClaimIsUnverified, normalizeCurpInput, normalizeRfc, partRanges, progressFromBytes, queueRowKeyDown, renderShellLink, rfcMaxLengthForPersonKind, signalNavigationStart, sourceUrlIsHttps, suppressNavigationProgress, useDirtyGuard, useEditableSection, useLanguageContext, useMediaQuery, useQueueKeys, useSectionNav, validateCurp, validateRfcForPersonKind };
|