@gntik-ai/blocks 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/dist/index.d.ts +301 -40
  2. package/dist/index.js +1441 -297
  3. package/dist/index.js.map +1 -1
  4. package/package.json +6 -6
  5. package/src/auth/ForgotPasswordForm/ForgotPasswordForm.labels.test.tsx +179 -0
  6. package/src/auth/ForgotPasswordForm/ForgotPasswordForm.tsx +59 -24
  7. package/src/auth/ForgotPasswordForm/block.meta.ts +22 -1
  8. package/src/auth/ForgotPasswordForm/examples/Labels.tsx +29 -0
  9. package/src/auth/MfaChallenge/MfaChallenge.labels.test.tsx +139 -0
  10. package/src/auth/MfaChallenge/MfaChallenge.tsx +69 -23
  11. package/src/auth/MfaChallenge/block.meta.ts +29 -1
  12. package/src/auth/MfaChallenge/examples/Labels.tsx +28 -0
  13. package/src/auth/ResetPasswordForm/ResetPasswordForm.labels.test.tsx +104 -0
  14. package/src/auth/ResetPasswordForm/ResetPasswordForm.tsx +42 -15
  15. package/src/auth/ResetPasswordForm/block.meta.ts +17 -1
  16. package/src/auth/ResetPasswordForm/examples/Labels.tsx +28 -0
  17. package/src/auth/SignInForm/SignInForm.labels.test.tsx +137 -0
  18. package/src/auth/SignInForm/SignInForm.tsx +43 -16
  19. package/src/auth/SignInForm/block.meta.ts +22 -1
  20. package/src/auth/SignInForm/examples/Labels.tsx +29 -0
  21. package/src/auth/SignUpForm/SignUpForm.labels.test.tsx +217 -0
  22. package/src/auth/SignUpForm/SignUpForm.tsx +65 -26
  23. package/src/auth/SignUpForm/block.meta.ts +27 -1
  24. package/src/auth/SignUpForm/examples/Labels.tsx +29 -0
  25. package/src/auth/SsoButtons/SsoButtons.labels.test.tsx +30 -0
  26. package/src/auth/SsoButtons/SsoButtons.tsx +10 -2
  27. package/src/auth/SsoButtons/block.meta.ts +8 -1
  28. package/src/auth/SsoButtons/examples/Labels.tsx +24 -0
  29. package/src/auth/shared.i18n.test.tsx +71 -0
  30. package/src/auth/shared.tsx +48 -11
  31. package/src/builders/LogViewer/LogViewer.levels.test.tsx +49 -0
  32. package/src/builders/LogViewer/LogViewer.tsx +29 -8
  33. package/src/builders/LogViewer/LogViewer.wrap.test.tsx +181 -0
  34. package/src/builders/LogViewer/block.meta.ts +6 -1
  35. package/src/builders/LogViewer/examples/Wrap.tsx +62 -0
  36. package/src/builders/LogViewer/use-wrapped-log-rows.ts +42 -0
  37. package/src/data-display/DescriptionListCard/DescriptionListCard.options.test.tsx +64 -0
  38. package/src/data-display/DescriptionListCard/DescriptionListCard.tsx +38 -17
  39. package/src/data-display/DescriptionListCard/block.meta.ts +1 -1
  40. package/src/data-display/DescriptionListCard/examples/Spanish.tsx +7 -0
  41. package/src/feedback/EmptyStates/EmptyStates.tsx +32 -14
  42. package/src/feedback/EmptyStates/NoAccessEmpty.options.test.tsx +38 -0
  43. package/src/feedback/EmptyStates/block.meta.ts +1 -1
  44. package/src/feedback/EmptyStates/examples/Spanish.tsx +7 -0
  45. package/src/forms/CreateApiKeyDialog/CreateApiKeyDialog.labels.test.tsx +115 -0
  46. package/src/forms/CreateApiKeyDialog/CreateApiKeyDialog.tsx +63 -21
  47. package/src/forms/CreateApiKeyDialog/block.meta.ts +22 -1
  48. package/src/forms/CreateApiKeyDialog/examples/Labels.tsx +29 -0
  49. package/src/forms/CredentialDisclosureDialog/CredentialDisclosureDialog.labels.test.tsx +165 -0
  50. package/src/forms/CredentialDisclosureDialog/CredentialDisclosureDialog.tsx +31 -8
  51. package/src/forms/CredentialDisclosureDialog/SecretCopy.tsx +16 -8
  52. package/src/forms/CredentialDisclosureDialog/block.meta.ts +19 -1
  53. package/src/forms/CredentialDisclosureDialog/examples/Labels.tsx +38 -0
  54. package/src/forms/DangerZone/ConfirmDestructiveDialog.tsx +17 -3
  55. package/src/forms/DangerZone/DangerZone.labels.test.tsx +87 -0
  56. package/src/forms/DangerZone/DangerZone.tsx +20 -5
  57. package/src/forms/DangerZone/block.meta.ts +10 -1
  58. package/src/forms/DangerZone/examples/Labels.tsx +29 -0
  59. package/src/forms/DateRangeFilter/DateRangeFilter.labels.test.tsx +52 -0
  60. package/src/forms/DateRangeFilter/DateRangeFilter.tsx +11 -3
  61. package/src/forms/DateRangeFilter/block.meta.ts +8 -1
  62. package/src/forms/DateRangeFilter/examples/Labels.tsx +28 -0
  63. package/src/forms/DialogWizard/DialogWizard.labels.test.tsx +37 -0
  64. package/src/forms/DialogWizard/DialogWizard.tsx +13 -2
  65. package/src/forms/DialogWizard/block.meta.ts +7 -1
  66. package/src/forms/DialogWizard/examples/Labels.tsx +39 -0
  67. package/src/forms/FileUploadPanel/FileUploadPanel.labels.test.tsx +126 -0
  68. package/src/forms/FileUploadPanel/FileUploadPanel.tsx +81 -18
  69. package/src/forms/FileUploadPanel/block.meta.ts +22 -1
  70. package/src/forms/FileUploadPanel/examples/Labels.tsx +29 -0
  71. package/src/forms/FormSection/FormSection.labels.test.tsx +37 -0
  72. package/src/forms/FormSection/FormSection.tsx +14 -3
  73. package/src/forms/FormSection/block.meta.ts +7 -1
  74. package/src/forms/FormSection/examples/Labels.tsx +27 -0
  75. package/src/forms/InviteMembersDialog/InviteMembersDialog.labels.test.tsx +87 -0
  76. package/src/forms/InviteMembersDialog/InviteMembersDialog.tsx +51 -16
  77. package/src/forms/InviteMembersDialog/block.meta.ts +20 -1
  78. package/src/forms/InviteMembersDialog/examples/Labels.tsx +28 -0
  79. package/src/forms/SettingsRow/SettingsRow.labels.test.tsx +33 -0
  80. package/src/forms/SettingsRow/SettingsRow.tsx +14 -3
  81. package/src/forms/SettingsRow/block.meta.ts +7 -1
  82. package/src/forms/SettingsRow/examples/Labels.tsx +27 -0
  83. package/src/forms/ValidationSummary/ValidationSummary.labels.test.tsx +47 -0
  84. package/src/forms/ValidationSummary/ValidationSummary.tsx +9 -3
  85. package/src/forms/ValidationSummary/block.meta.ts +6 -1
  86. package/src/forms/ValidationSummary/examples/Labels.tsx +24 -0
  87. package/src/forms/index.ts +5 -1
  88. package/src/forms/translated-content.tsx +12 -0
  89. package/src/page-chrome/PageHeader/PageHeader.options.test.tsx +34 -0
  90. package/src/page-chrome/PageHeader/PageHeader.tsx +7 -1
  91. package/src/page-chrome/PageHeader/block.meta.ts +1 -1
  92. package/src/page-chrome/PageHeader/examples/Spanish.tsx +11 -0
  93. package/src/tables/DataTable/DataTable.cross-page-selection.test.tsx +322 -0
  94. package/src/tables/DataTable/DataTable.labels.test.tsx +74 -0
  95. package/src/tables/DataTable/DataTable.server-pagination.test.tsx +1 -1
  96. package/src/tables/DataTable/DataTable.single-select.test.tsx +47 -7
  97. package/src/tables/DataTable/DataTable.test.tsx +55 -0
  98. package/src/tables/DataTable/DataTable.tsx +134 -67
  99. package/src/tables/DataTable/block.meta.ts +21 -3
  100. package/src/tables/DataTable/data-table-props.ts +14 -5
  101. package/src/tables/DataTable/data-table-row.tsx +7 -3
  102. package/src/tables/DataTable/data-table-utils.ts +2 -0
  103. package/src/tables/DataTable/examples/client-selection.tsx +33 -0
  104. package/src/tables/DataTable/examples/paginated-single-selection.tsx +46 -0
  105. package/src/tables/DataTable/examples/server-pagination.tsx +55 -15
  106. package/src/tables/DataTable/labels.ts +4 -0
  107. package/src/tables/DataTable/selection-strip.tsx +31 -0
  108. package/src/tables/DataTable/single-selection.tsx +0 -7
  109. package/src/tables/DataTable/use-multiple-selection.ts +86 -0
  110. package/src/test/OptInDefaults.test.tsx +27 -0
  111. package/src/test/fixtures/opt-in-defaults.json +10 -0
package/dist/index.d.ts CHANGED
@@ -352,6 +352,10 @@ interface AuthSignUpField {
352
352
  invalid?: string;
353
353
  };
354
354
  }
355
+ interface AuthSignUpFieldLabels {
356
+ fieldRequired: (label: string) => string;
357
+ fieldInvalid: string;
358
+ }
355
359
  /** Consumer-owned copy and optional action when account creation is unavailable. */
356
360
  interface AuthUnavailableState {
357
361
  title: ReactNode;
@@ -368,7 +372,25 @@ interface AuthSignUpValidationMessages {
368
372
  export interface ForgotPasswordFormRef {
369
373
  focus(field: 'identifier'): void;
370
374
  }
375
+ export interface ForgotPasswordFormLabels extends Required<Omit<AuthValidationMessages, 'passwordRequired'>> {
376
+ formLabel: string;
377
+ eyebrow: string;
378
+ title: string;
379
+ description: string;
380
+ sentTitle: string;
381
+ sentDescription: (email: string) => ReactNode;
382
+ addressFallback: string;
383
+ sentStatus: string;
384
+ fallbackError: string;
385
+ backToSignIn: string;
386
+ resend: string;
387
+ changeEmail: string;
388
+ identifierLabel: string;
389
+ identifierPlaceholder: string;
390
+ submit: string;
391
+ }
371
392
  export interface ForgotPasswordFormProps extends AuthFormAccessibilityProps {
393
+ labels?: Partial<ForgotPasswordFormLabels>;
372
394
  /** React 19 ref for focus after a server response; available in the request state. */
373
395
  ref?: Ref<ForgotPasswordFormRef>;
374
396
  identifier?: AuthIdentifierConfig;
@@ -396,14 +418,37 @@ export interface ForgotPasswordFormProps extends AuthFormAccessibilityProps {
396
418
  className?: string;
397
419
  }
398
420
  /** Request a reset link by email, then a "check your inbox" state with resend and a way back. */
399
- export declare function ForgotPasswordForm({ identifier, messages, ref, fieldInvalid, feedbackId, 'aria-describedby': describedBy, 'aria-label': ariaLabel, 'aria-labelledby': labelledBy, onSubmit, error: errorProp, defaultEmail, defaultSent, signInHref, onBackToSignIn, eyebrow, title, description, sentTitle, sentDescription, sentStatus, resendActions, headingLevel, className }: ForgotPasswordFormProps): import("react").JSX.Element;
421
+ export declare function ForgotPasswordForm({ labels, identifier, messages, ref, fieldInvalid, feedbackId, 'aria-describedby': describedBy, 'aria-label': ariaLabelProp, 'aria-labelledby': labelledBy, onSubmit, error: errorProp, defaultEmail, defaultSent, signInHref, onBackToSignIn, eyebrow: eyebrowProp, title: titleProp, description: descriptionProp, sentTitle: sentTitleProp, sentDescription, sentStatus: sentStatusProp, resendActions, headingLevel, className }: ForgotPasswordFormProps): import("react").JSX.Element;
400
422
  //#endregion
401
423
  //#region src/auth/ForgotPasswordForm/block.meta.d.ts
402
424
  declare const meta$30: BlockMeta;
403
425
  //#endregion
404
426
  //#region src/auth/MfaChallenge/MfaChallenge.d.ts
405
427
  export type MfaMethod = 'code' | 'backup';
428
+ export interface MfaChallengeLabels {
429
+ eyebrow: string;
430
+ title: string;
431
+ backupTitle: string;
432
+ backupDescription: string;
433
+ destinationDescription: (length: number, destination: string) => string;
434
+ description: (length: number) => string;
435
+ formLabel: string;
436
+ codeLabel: string;
437
+ codeRequired: (length: number) => string;
438
+ backupLabel: string;
439
+ backupPlaceholder: string;
440
+ backupHint: string;
441
+ backupRequired: string;
442
+ submit: string;
443
+ useCode: string;
444
+ resendIn: (remaining: number) => string;
445
+ resend: string;
446
+ resent: string;
447
+ backToSignIn: string;
448
+ fallbackError: string;
449
+ }
406
450
  export interface MfaChallengeProps {
451
+ labels?: Partial<MfaChallengeLabels>;
407
452
  /** Verifies the code. A returned promise shows the loading state; a rejection shows in the alert. */
408
453
  onVerify?: (code: string, method: MfaMethod) => void | Promise<void>;
409
454
  /** Sends a new code; the resend button then waits `resendCooldown` seconds. */
@@ -428,13 +473,29 @@ export interface MfaChallengeProps {
428
473
  * Second-factor step: a one-time code (auto-submits when complete), a switch to a backup code,
429
474
  * and a resend button with a countdown.
430
475
  */
431
- export declare function MfaChallenge({ onVerify, onResend, resendCooldown, initialCooldown, length, destination, error: errorProp, loading: loadingProp, onCancel, eyebrow, title, className }: MfaChallengeProps): import("react").JSX.Element;
476
+ export declare function MfaChallenge({ labels, onVerify, onResend, resendCooldown, initialCooldown, length, destination, error: errorProp, loading: loadingProp, onCancel, eyebrow: eyebrowProp, title: titleProp, className }: MfaChallengeProps): import("react").JSX.Element;
432
477
  //#endregion
433
478
  //#region src/auth/MfaChallenge/block.meta.d.ts
434
479
  declare const meta$42: BlockMeta;
435
480
  //#endregion
436
481
  //#region src/auth/ResetPasswordForm/ResetPasswordForm.d.ts
482
+ export interface ResetPasswordFormLabels {
483
+ eyebrow: string;
484
+ title: string;
485
+ description: (minimum: number) => string;
486
+ newPassword: string;
487
+ confirmPassword: string;
488
+ passwordTooShort: (minimum: number) => string;
489
+ passwordMismatch: string;
490
+ submit: string;
491
+ successTitle: string;
492
+ successDescription: string;
493
+ successStatus: string;
494
+ continue: string;
495
+ fallbackError: string;
496
+ }
437
497
  export interface ResetPasswordFormProps {
498
+ labels?: Partial<ResetPasswordFormLabels>;
438
499
  /** Saves the new password. A returned promise shows the loading state; a rejection shows in the alert. */
439
500
  onSubmit?: (password: string) => void | Promise<void>;
440
501
  error?: string | null;
@@ -445,7 +506,7 @@ export interface ResetPasswordFormProps {
445
506
  className?: string;
446
507
  }
447
508
  /** New password + confirmation with length and mismatch validation, then a success state. */
448
- export declare function ResetPasswordForm({ onSubmit, error: errorProp, minPasswordLength, onContinue, eyebrow, className }: ResetPasswordFormProps): import("react").JSX.Element;
509
+ export declare function ResetPasswordForm({ labels, onSubmit, error: errorProp, minPasswordLength, onContinue, eyebrow: eyebrowProp, className }: ResetPasswordFormProps): import("react").JSX.Element;
449
510
  //#endregion
450
511
  //#region src/auth/ResetPasswordForm/block.meta.d.ts
451
512
  declare const meta$57: BlockMeta;
@@ -461,7 +522,25 @@ export interface SignInValues {
461
522
  export interface SignInFormRef {
462
523
  focus(field: 'identifier' | 'password'): void;
463
524
  }
525
+ export interface SignInFormLabels extends Required<AuthValidationMessages> {
526
+ eyebrow: string;
527
+ title: string;
528
+ description: string;
529
+ formLabel: string;
530
+ identifierLabel: string;
531
+ identifierPlaceholder: string;
532
+ password: string;
533
+ forgotPassword: string;
534
+ passwordRequired: string;
535
+ remember: string;
536
+ submit: string;
537
+ divider: string;
538
+ signUpPrompt: string;
539
+ signUp: string;
540
+ fallbackError: string;
541
+ }
464
542
  export interface SignInFormProps extends AuthFormAccessibilityProps {
543
+ labels?: Partial<SignInFormLabels>;
465
544
  /** React 19 ref for focus after a server response. */
466
545
  ref?: Ref<SignInFormRef>;
467
546
  identifier?: AuthIdentifierConfig;
@@ -492,7 +571,7 @@ export interface SignInFormProps extends AuthFormAccessibilityProps {
492
571
  className?: string;
493
572
  }
494
573
  /** Email + password sign-in with remember me, forgot-password link, SSO slot, error alert and loading. */
495
- export declare function SignInForm({ identifier, messages, passwordHelp, passwordHelpId, ref, fieldInvalid, feedbackId, 'aria-describedby': describedBy, 'aria-label': ariaLabel, 'aria-labelledby': labelledBy, onSubmit, error: errorProp, loading: loadingProp, defaultEmail, forgotPasswordHref, onForgotPassword, signUpHref, onSignUp, signUpPrompt, sso, eyebrow, title, description, headingLevel, className }: SignInFormProps): import("react").JSX.Element;
574
+ export declare function SignInForm({ labels, identifier, messages, passwordHelp, passwordHelpId, ref, fieldInvalid, feedbackId, 'aria-describedby': describedBy, 'aria-label': ariaLabelProp, 'aria-labelledby': labelledBy, onSubmit, error: errorProp, loading: loadingProp, defaultEmail, forgotPasswordHref, onForgotPassword, signUpHref, onSignUp, signUpPrompt, sso, eyebrow: eyebrowProp, title: titleProp, description: descriptionProp, headingLevel, className }: SignInFormProps): import("react").JSX.Element;
496
575
  //#endregion
497
576
  //#region src/auth/SignInForm/block.meta.d.ts
498
577
  declare const meta$62: BlockMeta;
@@ -505,7 +584,31 @@ export interface SignUpValues {
505
584
  /** Present only in configured mode. Text/email values are trimmed and keyed by field id. */
506
585
  fields?: Record<string, string>;
507
586
  }
587
+ export interface SignUpFormLabels extends AuthSignUpFieldLabels {
588
+ eyebrow: string;
589
+ title: string;
590
+ description: string;
591
+ name: string;
592
+ namePlaceholder: string;
593
+ nameRequired: string;
594
+ email: string;
595
+ emailPlaceholder: string;
596
+ password: string;
597
+ passwordTooShort: (minimum: number) => string;
598
+ termsRequired: string;
599
+ terms: string;
600
+ privacy: string;
601
+ termsConsent: (terms: ReactNode, privacy: ReactNode) => ReactNode;
602
+ submit: string;
603
+ divider: string;
604
+ signInPrompt: string;
605
+ signIn: string;
606
+ policyLoading: string;
607
+ fallbackError: string;
608
+ emailInvalid: string;
609
+ }
508
610
  export interface SignUpFormProps {
611
+ labels?: Partial<SignUpFormLabels>;
509
612
  /** Ordered text/email inputs before Password. Omit to keep the default fields and payload. */
510
613
  fields?: readonly AuthSignUpField[];
511
614
  messages?: AuthSignUpValidationMessages;
@@ -535,7 +638,7 @@ export interface SignUpFormProps {
535
638
  className?: string;
536
639
  }
537
640
  /** Account creation: name, work email, password with a strength meter and a required terms checkbox. */
538
- export declare function SignUpForm({ fields, messages, unavailable, policyLoading, onSubmit, error: errorProp, loading: loadingProp, minPasswordLength, passwordHelp, terms: termsProp, termsHref, privacyHref, signInHref, onSignIn, sso, eyebrow, title, description, className }: SignUpFormProps): import("react").JSX.Element;
641
+ export declare function SignUpForm({ labels, fields, messages, unavailable, policyLoading, onSubmit, error: errorProp, loading: loadingProp, minPasswordLength, passwordHelp, terms: termsProp, termsHref, privacyHref, signInHref, onSignIn, sso, eyebrow: eyebrowProp, title: titleProp, description: descriptionProp, className }: SignUpFormProps): import("react").JSX.Element;
539
642
  //#endregion
540
643
  //#region src/auth/SignUpForm/block.meta.d.ts
541
644
  declare const meta$63: BlockMeta;
@@ -551,7 +654,11 @@ interface SsoProvider {
551
654
  export declare const ssoProviders: SsoProvider[];
552
655
  //#endregion
553
656
  //#region src/auth/SsoButtons/SsoButtons.d.ts
657
+ export interface SsoButtonsLabels {
658
+ label: string;
659
+ }
554
660
  export interface SsoButtonsProps {
661
+ labels?: Partial<SsoButtonsLabels>;
555
662
  providers?: SsoProvider[];
556
663
  /** Called with the provider id. */
557
664
  onSelect?: (providerId: string) => void;
@@ -565,7 +672,7 @@ export interface SsoButtonsProps {
565
672
  className?: string;
566
673
  }
567
674
  /** Neutral single-sign-on buttons: text labels and lucide icons, no brand colours or logos. */
568
- export declare function SsoButtons({ providers, onSelect, loadingId, disabled, layout, label, className }: SsoButtonsProps): import("react").JSX.Element;
675
+ export declare function SsoButtons({ labels, providers, onSelect, loadingId, disabled, layout, label: labelProp, className }: SsoButtonsProps): import("react").JSX.Element;
569
676
  //#endregion
570
677
  //#region src/auth/SsoButtons/block.meta.d.ts
571
678
  declare const meta$66: BlockMeta;
@@ -1069,6 +1176,7 @@ interface LogLine {
1069
1176
  //#region src/builders/LogViewer/LogViewer.d.ts
1070
1177
  export declare const LOG_LEVELS: LogLevel[];
1071
1178
  export interface LogViewerLabels {
1179
+ levels?: Partial<Record<LogLevel, string>>;
1072
1180
  title: string;
1073
1181
  levelFilter: string;
1074
1182
  searchLabel: string;
@@ -1091,6 +1199,8 @@ export interface LogViewerProps {
1091
1199
  height?: number;
1092
1200
  /** Fixed row height in px (the windowing math relies on it). */
1093
1201
  rowHeight?: number;
1202
+ /** Wrap full messages and measure variable-height rows. Default false; rowHeight estimates unmeasured rows. */
1203
+ wrap?: boolean;
1094
1204
  /** Rows rendered above and below the visible window. */
1095
1205
  overscan?: number;
1096
1206
  /** Levels shown initially. */
@@ -1114,7 +1224,7 @@ export interface LogViewerProps {
1114
1224
  * so it stays fast with thousands of lines. Level filter, search with highlighted matches,
1115
1225
  * follow-tail and per-line copy.
1116
1226
  */
1117
- export declare function LogViewer({ lines, title: titleProp, labels, height, rowHeight, overscan, defaultLevels, defaultFollow, onCopyLine, onSelectLine, selectedLineId, announceLines, titleAs: TitleTag, className }: LogViewerProps): import("react").JSX.Element;
1227
+ export declare function LogViewer({ lines, title: titleProp, labels, height, rowHeight, wrap, overscan, defaultLevels, defaultFollow, onCopyLine, onSelectLine, selectedLineId, announceLines, titleAs: TitleTag, className }: LogViewerProps): import("react").JSX.Element;
1118
1228
  //#endregion
1119
1229
  //#region src/builders/LogViewer/block.meta.d.ts
1120
1230
  declare const meta$40: BlockMeta;
@@ -1343,6 +1453,10 @@ export interface DescriptionListCardProps {
1343
1453
  title?: string;
1344
1454
  description?: string;
1345
1455
  items?: readonly DescriptionItem[];
1456
+ /** Wrap values, including long unbroken strings, instead of truncating (default false). */
1457
+ wrap?: boolean;
1458
+ /** Responsive columns; items fill top to bottom in contiguous groups (default 1). */
1459
+ columns?: 1 | 2 | 3;
1346
1460
  /** Shows an Edit button in the header. */
1347
1461
  onEdit?: () => void;
1348
1462
  editLabel?: string;
@@ -1353,7 +1467,7 @@ export interface DescriptionListCardProps {
1353
1467
  className?: string;
1354
1468
  }
1355
1469
  /** Key–value detail card: label column, values (mono, status or rich), copy buttons and an Edit action. */
1356
- export declare function DescriptionListCard({ title: titleProp, labels, description: descriptionProp, items, onEdit, editLabel: editLabelProp, onCopy, titleAs, className }: DescriptionListCardProps): import("react").JSX.Element;
1470
+ export declare function DescriptionListCard({ title: titleProp, labels, description: descriptionProp, items, wrap, columns, onEdit, editLabel: editLabelProp, onCopy, titleAs, className }: DescriptionListCardProps): import("react").JSX.Element;
1357
1471
  //#endregion
1358
1472
  //#region src/data-display/DescriptionListCard/block.meta.d.ts
1359
1473
  declare const meta$19: BlockMeta;
@@ -1676,11 +1790,18 @@ export interface NoAccessEmptyProps extends SharedEmptyProps {
1676
1790
  owner?: string;
1677
1791
  /** Called on "Request access"; may return a promise (the button shows a spinner). */
1678
1792
  onRequestAccess?: () => void | Promise<void>;
1793
+ /** Show the request button and its status announcement (default true). */
1794
+ showRequestAccess?: boolean;
1795
+ /** One href link; secondary to the request button, or primary when the button is hidden. */
1796
+ action?: {
1797
+ label: string;
1798
+ href: string;
1799
+ };
1679
1800
  /** Start in the "requested" state (e.g. a pending request exists). */
1680
1801
  defaultRequested?: boolean;
1681
1802
  }
1682
1803
  /** Permission state: the viewer lacks access; explains who can grant it and lets them ask. */
1683
- export declare function NoAccessEmpty({ resource, labels, owner, onRequestAccess, defaultRequested, titleAs, bordered, className }: NoAccessEmptyProps): import("react").JSX.Element;
1804
+ export declare function NoAccessEmpty({ resource, labels, owner, onRequestAccess, showRequestAccess, action, defaultRequested, titleAs, bordered, className }: NoAccessEmptyProps): import("react").JSX.Element;
1684
1805
  //#endregion
1685
1806
  //#region src/feedback/EmptyStates/fixtures.d.ts
1686
1807
  /** Neutral sample copy for the empty states. */
@@ -1828,6 +1949,27 @@ export declare function ErrorPanel({ icon: Icon, title: titleProp, labels, messa
1828
1949
  //#region src/feedback/ErrorPanel/block.meta.d.ts
1829
1950
  declare const meta$23: BlockMeta;
1830
1951
  //#endregion
1952
+ //#region src/forms/DangerZone/ConfirmDestructiveDialog.d.ts
1953
+ interface ConfirmDestructiveDialogLabels {
1954
+ confirmPrompt: (text: ReactNode) => ReactNode;
1955
+ cancel: string;
1956
+ fallbackError: string;
1957
+ }
1958
+ interface ConfirmDestructiveDialogProps {
1959
+ labels?: Partial<ConfirmDestructiveDialogLabels>;
1960
+ open: boolean;
1961
+ onOpenChange: (open: boolean) => void;
1962
+ title: ReactNode;
1963
+ description: ReactNode;
1964
+ /** Text that must be typed exactly to enable the confirming button. */
1965
+ confirmText?: string;
1966
+ confirmLabel: string;
1967
+ /** Runs on confirm; a returned promise shows a loading state and keeps the dialog open until it settles. */
1968
+ onConfirm?: () => void | Promise<void>;
1969
+ }
1970
+ /** Destructive confirmation (alertdialog) that can require typing the resource name first. */
1971
+ export declare function ConfirmDestructiveDialog({ labels, open, onOpenChange, title, description, confirmText, confirmLabel, onConfirm }: ConfirmDestructiveDialogProps): import("react").JSX.Element;
1972
+ //#endregion
1831
1973
  //#region src/forms/DangerZone/fixtures.d.ts
1832
1974
  interface DangerZoneAction {
1833
1975
  id: string;
@@ -1843,7 +1985,13 @@ interface DangerZoneAction {
1843
1985
  export declare const dangerZoneActions: DangerZoneAction[];
1844
1986
  //#endregion
1845
1987
  //#region src/forms/DangerZone/DangerZone.d.ts
1988
+ export interface DangerZoneLabels extends ConfirmDestructiveDialogLabels {
1989
+ title: string;
1990
+ description: string;
1991
+ confirmationTitle: (title: string) => string;
1992
+ }
1846
1993
  export interface DangerZoneProps {
1994
+ labels?: Partial<DangerZoneLabels>;
1847
1995
  title?: ReactNode;
1848
1996
  description?: ReactNode;
1849
1997
  actions?: DangerZoneAction[];
@@ -1856,7 +2004,7 @@ export interface DangerZoneProps {
1856
2004
  * Bordered destructive section. Each action opens a confirmation dialog; actions with
1857
2005
  * `confirmText` require typing it (e.g. the project name) before the confirm button enables.
1858
2006
  */
1859
- export declare function DangerZone({ title, description, actions, onConfirm, headingLevel: Heading, className }: DangerZoneProps): import("react").JSX.Element;
2007
+ export declare function DangerZone({ labels, title: titleProp, description: descriptionProp, actions, onConfirm, headingLevel: Heading, className }: DangerZoneProps): import("react").JSX.Element;
1860
2008
  //#endregion
1861
2009
  //#region src/forms/DangerZone/block.meta.d.ts
1862
2010
  declare const meta$16: BlockMeta;
@@ -1882,7 +2030,28 @@ export interface CreateApiKeyInput {
1882
2030
  scopes: string[];
1883
2031
  expiry: string;
1884
2032
  }
2033
+ export interface CreateApiKeyDialogLabels {
2034
+ title: string;
2035
+ description: string;
2036
+ name: string;
2037
+ namePlaceholder: string;
2038
+ nameRequired: string;
2039
+ scopes: string;
2040
+ scopesRequired: string;
2041
+ expiration: string;
2042
+ errorTitle: string;
2043
+ fallbackError: string;
2044
+ cancel: string;
2045
+ submit: string;
2046
+ successTitle: string;
2047
+ successDescription: string;
2048
+ warningTitle: string;
2049
+ warningDescription: string;
2050
+ secretLabel: string;
2051
+ done: string;
2052
+ }
1885
2053
  export interface CreateApiKeyDialogProps {
2054
+ labels?: Partial<CreateApiKeyDialogLabels>;
1886
2055
  scopes?: ApiKeyScope[];
1887
2056
  expiries?: ApiKeyExpiry[];
1888
2057
  defaultExpiry?: string;
@@ -1898,7 +2067,7 @@ export interface CreateApiKeyDialogProps {
1898
2067
  * Two-step API key dialog: name, scopes and expiry, then the secret shown once in a CodeBlock
1899
2068
  * with copy. Closing the dialog discards the secret; it can't be shown again.
1900
2069
  */
1901
- export declare function CreateApiKeyDialog({ scopes, expiries, defaultExpiry, onCreate, open: openProp, defaultOpen, onOpenChange, trigger }: CreateApiKeyDialogProps): import("react").JSX.Element;
2070
+ export declare function CreateApiKeyDialog({ labels, scopes, expiries, defaultExpiry, onCreate, open: openProp, defaultOpen, onOpenChange, trigger }: CreateApiKeyDialogProps): import("react").JSX.Element;
1902
2071
  //#endregion
1903
2072
  //#region src/forms/CreateApiKeyDialog/block.meta.d.ts
1904
2073
  declare const meta$13: BlockMeta;
@@ -1918,7 +2087,25 @@ export interface CredentialDisclosure {
1918
2087
  expiresAt: ReactNode;
1919
2088
  secret: string;
1920
2089
  }
2090
+ export interface CredentialDisclosureDialogLabels {
2091
+ title: string;
2092
+ description: string;
2093
+ credentialIdLabel: string;
2094
+ expiryLabel: string;
2095
+ secretLabel: string;
2096
+ showLabel: string;
2097
+ hideLabel: string;
2098
+ copyLabel: string;
2099
+ copiedLabel: string;
2100
+ successAnnouncement: string;
2101
+ failureAnnouncement: string;
2102
+ warningTitle: string;
2103
+ warningText: string;
2104
+ closeLabel: string;
2105
+ copiedAnnouncementFor: (label: string, copied: string) => string;
2106
+ }
1921
2107
  export interface CredentialDisclosureDialogProps {
2108
+ labels?: Partial<CredentialDisclosureDialogLabels>;
1922
2109
  /** Additional masked values; ids must be unique, non-empty and not "secret". */
1923
2110
  additionalSecrets?: readonly CredentialSecret[];
1924
2111
  /** Mask a fresh primary secret; read at the start of each session. */
@@ -1966,7 +2153,13 @@ export declare function CredentialDisclosureDialog(props: CredentialDisclosureDi
1966
2153
  declare const meta$14: BlockMeta;
1967
2154
  //#endregion
1968
2155
  //#region src/forms/DateRangeFilter/DateRangeFilter.d.ts
2156
+ export interface DateRangeFilterLabels {
2157
+ label: string;
2158
+ placeholder: string;
2159
+ clear: (label: string) => string;
2160
+ }
1969
2161
  export interface DateRangeFilterProps {
2162
+ labels?: Partial<DateRangeFilterLabels>;
1970
2163
  value?: DateRange;
1971
2164
  /** Initial range; defaults to the "Last 7 days" preset. Pass `{ start: null, end: null }` for none. */
1972
2165
  defaultValue?: DateRange;
@@ -1984,7 +2177,7 @@ export interface DateRangeFilterProps {
1984
2177
  className?: string;
1985
2178
  }
1986
2179
  /** Compact DateRangePicker for toolbars: small trigger, short dates, presets and a clear button. */
1987
- export declare function DateRangeFilter({ value, defaultValue, onValueChange, presets, today, label: labelProp, placeholder: placeholderProp, clearable, disabled, className }: DateRangeFilterProps): import("react").JSX.Element;
2180
+ export declare function DateRangeFilter({ labels, value, defaultValue, onValueChange, presets, today, label: labelProp, placeholder: placeholderProp, clearable, disabled, className }: DateRangeFilterProps): import("react").JSX.Element;
1988
2181
  //#endregion
1989
2182
  //#region src/forms/DateRangeFilter/block.meta.d.ts
1990
2183
  declare const meta$18: BlockMeta;
@@ -2007,7 +2200,28 @@ export declare const uploadItems: UploadItem[];
2007
2200
  export declare function simulateUpload(_file: File, onProgress: (pct: number) => void): Promise<void>;
2008
2201
  //#endregion
2009
2202
  //#region src/forms/FileUploadPanel/FileUploadPanel.d.ts
2203
+ export interface FileUploadPanelLabels {
2204
+ label: string;
2205
+ drop: string;
2206
+ browse: string;
2207
+ files: string;
2208
+ failed: string;
2209
+ typeRejected: string;
2210
+ hint: (types: string, size: string) => string;
2211
+ tooLarge: (size: string) => string;
2212
+ done: (name: string) => string;
2213
+ error: (name: string) => string;
2214
+ added: (count: number) => string;
2215
+ rejected: (count: number) => string;
2216
+ removed: (name: string) => string;
2217
+ uploading: (name: string) => string;
2218
+ notUploaded: (error: string) => string;
2219
+ uploaded: (size: string) => string;
2220
+ retry: (name: string) => string;
2221
+ remove: (name: string) => string;
2222
+ }
2010
2223
  export interface FileUploadPanelProps {
2224
+ labels?: Partial<FileUploadPanelLabels>;
2011
2225
  /** Accepted types, as for `<input accept>` (".csv,.json", "image/*"). */
2012
2226
  accept?: string;
2013
2227
  /** Maximum size per file in bytes. */
@@ -2029,13 +2243,18 @@ export interface FileUploadPanelProps {
2029
2243
  * Drop zone with a Browse button, accept and size validation, and a file list with progress,
2030
2244
  * retry and remove. Rejected files stay in the list with the reason.
2031
2245
  */
2032
- export declare function FileUploadPanel({ accept, maxSize, multiple, defaultFiles, onUpload, onRemove, label: labelProp, hint, disabled, className }: FileUploadPanelProps): import("react").JSX.Element;
2246
+ export declare function FileUploadPanel({ labels, accept, maxSize, multiple, defaultFiles, onUpload, onRemove, label: labelProp, hint, disabled, className }: FileUploadPanelProps): import("react").JSX.Element;
2033
2247
  //#endregion
2034
2248
  //#region src/forms/FileUploadPanel/block.meta.d.ts
2035
2249
  declare const meta$27: BlockMeta;
2036
2250
  //#endregion
2037
2251
  //#region src/forms/FormSection/FormSection.d.ts
2252
+ export interface FormSectionLabels {
2253
+ title: string;
2254
+ description: string;
2255
+ }
2038
2256
  export interface FormSectionProps extends Omit<HTMLAttributes<HTMLElement>, 'title' | 'className'> {
2257
+ labels?: Partial<FormSectionLabels>;
2039
2258
  /** Section title shown in the left column; also names the section landmark. */
2040
2259
  title?: ReactNode;
2041
2260
  /** Help text under the title. */
@@ -2054,7 +2273,7 @@ export interface FormSectionProps extends Omit<HTMLAttributes<HTMLElement>, 'tit
2054
2273
  * Two-column form section: title and help on the left, fields on the right. Stacks into a
2055
2274
  * single column on small screens.
2056
2275
  */
2057
- export declare function FormSection({ title, description, children, actions, headingLevel: Heading, divided, className, ...props }: FormSectionProps): import("react").JSX.Element;
2276
+ export declare function FormSection({ labels, title: titleProp, description: descriptionProp, children, actions, headingLevel: Heading, divided, className, ...props }: FormSectionProps): import("react").JSX.Element;
2058
2277
  //#endregion
2059
2278
  //#region src/forms/FormSection/block.meta.d.ts
2060
2279
  declare const meta$31: BlockMeta;
@@ -2073,7 +2292,26 @@ export interface InvitePayload {
2073
2292
  role: string;
2074
2293
  message: string;
2075
2294
  }
2295
+ export interface InviteMembersDialogLabels {
2296
+ title: string;
2297
+ description: string;
2298
+ emails: string;
2299
+ placeholder: string;
2300
+ listLabel: string;
2301
+ role: string;
2302
+ message: string;
2303
+ messagePlaceholder: string;
2304
+ emailRequired: string;
2305
+ emailInvalid: (email: string) => string;
2306
+ fixInvalid: (count: number) => string;
2307
+ errorTitle: string;
2308
+ fallbackError: string;
2309
+ cancel: string;
2310
+ submit: string;
2311
+ submitMany: (count: number) => string;
2312
+ }
2076
2313
  export interface InviteMembersDialogProps {
2314
+ labels?: Partial<InviteMembersDialogLabels>;
2077
2315
  roles?: RoleOption[];
2078
2316
  defaultRole?: string;
2079
2317
  /** Sends the invitations. A returned promise shows a loading state; a rejection shows its message. */
@@ -2089,7 +2327,7 @@ export interface InviteMembersDialogProps {
2089
2327
  description?: string;
2090
2328
  }
2091
2329
  /** Invite dialog: email chips with validation, a role and an optional message; submit with loading. */
2092
- export declare function InviteMembersDialog({ roles, defaultRole, onInvite, maxInvites, open: openProp, defaultOpen, onOpenChange, trigger, title, description }: InviteMembersDialogProps): import("react").JSX.Element;
2330
+ export declare function InviteMembersDialog({ labels, roles, defaultRole, onInvite, maxInvites, open: openProp, defaultOpen, onOpenChange, trigger, title: titleProp, description: descriptionProp }: InviteMembersDialogProps): import("react").JSX.Element;
2093
2331
  //#endregion
2094
2332
  //#region src/forms/InviteMembersDialog/block.meta.d.ts
2095
2333
  declare const meta$36: BlockMeta;
@@ -2101,7 +2339,12 @@ export interface SettingsRowControlIds {
2101
2339
  /** Id of the description element (when there is one): pass it as `aria-describedby`. */
2102
2340
  descriptionId: string | undefined;
2103
2341
  }
2342
+ export interface SettingsRowLabels {
2343
+ label: string;
2344
+ description: string;
2345
+ }
2104
2346
  export interface SettingsRowProps {
2347
+ labels?: Partial<SettingsRowLabels>;
2105
2348
  label?: ReactNode;
2106
2349
  description?: ReactNode;
2107
2350
  /**
@@ -2118,7 +2361,7 @@ export interface SettingsRowProps {
2118
2361
  className?: string;
2119
2362
  }
2120
2363
  /** One setting: label and description on the left, its control (a Switch by default) on the right. */
2121
- export declare function SettingsRow({ label, description, control, checked, defaultChecked, onCheckedChange, disabled, children, className }: SettingsRowProps): import("react").JSX.Element;
2364
+ export declare function SettingsRow({ labels, label: labelProp, description: descriptionProp, control, checked, defaultChecked, onCheckedChange, disabled, children, className }: SettingsRowProps): import("react").JSX.Element;
2122
2365
  //#endregion
2123
2366
  //#region src/forms/SettingsRow/block.meta.d.ts
2124
2367
  declare const meta$61: BlockMeta;
@@ -2134,7 +2377,11 @@ interface ValidationIssue {
2134
2377
  declare const validationIssues$1: ValidationIssue[];
2135
2378
  //#endregion
2136
2379
  //#region src/forms/ValidationSummary/ValidationSummary.d.ts
2380
+ export interface ValidationSummaryLabels {
2381
+ title: (count: number) => string;
2382
+ }
2137
2383
  export interface ValidationSummaryProps {
2384
+ labels?: Partial<ValidationSummaryLabels>;
2138
2385
  errors?: ValidationIssue[];
2139
2386
  /** Increment on every submit attempt: the summary takes focus when there are errors. */
2140
2387
  submitCount?: number;
@@ -2146,10 +2393,16 @@ export interface ValidationSummaryProps {
2146
2393
  * Error summary for long forms: lists every problem with a link that moves focus to the field.
2147
2394
  * After a failed submit it takes focus, so screen readers announce it.
2148
2395
  */
2149
- export declare function ValidationSummary({ errors, submitCount, title, className }: ValidationSummaryProps): import("react").JSX.Element | null;
2396
+ export declare function ValidationSummary({ labels, errors, submitCount, title, className }: ValidationSummaryProps): import("react").JSX.Element | null;
2150
2397
  //#endregion
2151
2398
  //#region src/forms/DialogWizard/DialogWizard.d.ts
2399
+ export interface DialogWizardLabels {
2400
+ title: string;
2401
+ details: string;
2402
+ review: string;
2403
+ }
2152
2404
  export interface DialogWizardProps extends Omit<WizardLayoutProps, 'mode' | 'steps' | 'current'> {
2405
+ labels?: Partial<DialogWizardLabels>;
2153
2406
  steps?: WizardLayoutProps['steps'];
2154
2407
  current?: number;
2155
2408
  /** Step-local validation surface, normally a ValidationSummary with consumer copy. */
@@ -2158,7 +2411,7 @@ export interface DialogWizardProps extends Omit<WizardLayoutProps, 'mode' | 'ste
2158
2411
  reviewStep?: ReactNode;
2159
2412
  }
2160
2413
  /** Modal variant of create-wizard for a flow over its parent page. State stays consumer-owned. */
2161
- export declare function DialogWizard({ steps, current, size, stepError, reviewStep, children, title, ...props }: DialogWizardProps): import("react").JSX.Element;
2414
+ export declare function DialogWizard({ labels, steps, current, size, stepError, reviewStep, children, title, ...props }: DialogWizardProps): import("react").JSX.Element;
2162
2415
  //#endregion
2163
2416
  //#region src/forms/DialogWizard/block.meta.d.ts
2164
2417
  declare const meta$20: BlockMeta;
@@ -2193,21 +2446,6 @@ export declare const dialogWizardCopy: {
2193
2446
  //#region src/forms/ValidationSummary/block.meta.d.ts
2194
2447
  declare const meta$76: BlockMeta;
2195
2448
  //#endregion
2196
- //#region src/forms/DangerZone/ConfirmDestructiveDialog.d.ts
2197
- interface ConfirmDestructiveDialogProps {
2198
- open: boolean;
2199
- onOpenChange: (open: boolean) => void;
2200
- title: ReactNode;
2201
- description: ReactNode;
2202
- /** Text that must be typed exactly to enable the confirming button. */
2203
- confirmText?: string;
2204
- confirmLabel: string;
2205
- /** Runs on confirm; a returned promise shows a loading state and keeps the dialog open until it settles. */
2206
- onConfirm?: () => void | Promise<void>;
2207
- }
2208
- /** Destructive confirmation (alertdialog) that can require typing the resource name first. */
2209
- export declare function ConfirmDestructiveDialog({ open, onOpenChange, title, description, confirmText, confirmLabel, onConfirm }: ConfirmDestructiveDialogProps): import("react").JSX.Element;
2210
- //#endregion
2211
2449
  //#region src/marketing/actions.d.ts
2212
2450
  type IconComponent = ComponentType<{
2213
2451
  size?: number;
@@ -2486,6 +2724,8 @@ export interface PageHeaderProps {
2486
2724
  /** Location trail above the title; `null` hides it. */
2487
2725
  breadcrumbs?: BreadcrumbItem[] | null;
2488
2726
  title?: ReactNode;
2727
+ /** Wrap the title, including long unbroken words, instead of truncating (default false). */
2728
+ wrapTitle?: boolean;
2489
2729
  /** h1 focus target: adds tabIndex=-1 for titleRef.current.focus(), outside the Tab order. */
2490
2730
  titleRef?: Ref<HTMLHeadingElement>;
2491
2731
  description?: ReactNode;
@@ -2507,7 +2747,7 @@ export interface PageHeaderProps {
2507
2747
  className?: string;
2508
2748
  }
2509
2749
  /** Screen header: breadcrumb, title + status, description, meta row, actions and optional tabs. */
2510
- export declare function PageHeader({ as: Root, breadcrumbs, title: titleProp, labels, titleRef, description: descriptionProp, status, statuses, meta, actions, tabs, tab, defaultTab, onTabChange, className }: PageHeaderProps): import("react").JSX.Element;
2750
+ export declare function PageHeader({ as: Root, breadcrumbs, title: titleProp, wrapTitle, labels, titleRef, description: descriptionProp, status, statuses, meta, actions, tabs, tab, defaultTab, onTabChange, className }: PageHeaderProps): import("react").JSX.Element;
2511
2751
  //#endregion
2512
2752
  //#region src/page-chrome/PageHeader/fixtures.d.ts
2513
2753
  export declare const pageHeaderBreadcrumbs: BreadcrumbItem[];
@@ -2950,6 +3190,14 @@ declare const meta$32: BlockMeta;
2950
3190
  //#endregion
2951
3191
  //#region src/tables/DataTable/data-table-utils.d.ts
2952
3192
  export type SortDirectionValue = 'ascending' | 'descending';
3193
+ /** Include lists selected ids; exclude selects every match except the listed ids. */
3194
+ export type DataTableSelectionModel = {
3195
+ type: 'include';
3196
+ ids: string[];
3197
+ } | {
3198
+ type: 'exclude';
3199
+ ids: string[];
3200
+ };
2953
3201
  export type CellValue = string | number | boolean | Date | null | undefined;
2954
3202
  export type DataTableColumnVariant = 'default' | 'mono' | 'muted' | 'numeric';
2955
3203
  /** Body-cell classes of each column variant. */
@@ -3118,6 +3366,10 @@ interface DataTableLabels extends PaginationFooterLabels {
3118
3366
  /** Non-virtual table overflow region; virtualized regions keep the caller caption. */
3119
3367
  scrollRegion: string;
3120
3368
  selectionCount: (count: number) => string;
3369
+ pageSelected: (count: number) => string;
3370
+ selectAllMatching: (count: number) => string;
3371
+ allMatchingSelected: (count: number) => string;
3372
+ clearSelection: string;
3121
3373
  columns: string;
3122
3374
  visibleColumns: string;
3123
3375
  pinColumns: string;
@@ -3262,8 +3514,18 @@ interface DataTableCommonProps<T> {
3262
3514
  selectedIds?: readonly string[];
3263
3515
  defaultSelectedIds?: readonly string[];
3264
3516
  onSelectionChange?: (ids: string[]) => void;
3517
+ /** Keep ids absent from rows. Defaults to true for server pagination, false for client pagination. */
3518
+ preserveSelection?: boolean;
3519
+ /** Offer to extend a selected page to all matching rows (default false). */
3520
+ selectAllMatching?: boolean;
3521
+ /** Hide the page select-all checkbox, retaining row controls and the column heading. */
3522
+ hideSelectAll?: boolean;
3523
+ /** Controlled model; takes precedence over selectedIds. */
3524
+ selectionModel?: DataTableSelectionModel;
3525
+ /** Required to offer select-all-matching with server pagination. */
3526
+ onSelectionModelChange?: (model: DataTableSelectionModel) => void;
3265
3527
  /** Rendered in the toolbar while rows are selected. */
3266
- bulkActions?: (selectedIds: string[]) => ReactNode;
3528
+ bulkActions?: (selectedIds: string[], selection: DataTableSelectionModel) => ReactNode;
3267
3529
  /**
3268
3530
  * Shows the "N selected" text in the toolbar while rows are selected (default true). Turn it
3269
3531
  * off when the page renders its own count, e.g. a BulkActionBar.
@@ -3379,13 +3641,12 @@ interface ServerPaginationProps {
3379
3641
  }
3380
3642
  type DataTableProps<T> = DataTableCommonProps<T> & (({
3381
3643
  selectionMode: 'single';
3382
- paginated?: false;
3644
+ paginated?: boolean;
3383
3645
  /** Consumer-supplied accessible group label; the kit adds no default. */
3384
3646
  legend?: ReactNode;
3385
3647
  'aria-label'?: string;
3386
3648
  'aria-labelledby'?: string;
3387
- paginationMode?: never;
3388
- } & ClientPaginationProps) | ({
3649
+ } & (ClientPaginationProps | ServerPaginationProps)) | ({
3389
3650
  selectionMode?: 'none' | 'multiple';
3390
3651
  paginated?: boolean;
3391
3652
  legend?: never;
@@ -3417,7 +3678,7 @@ export declare const DEPLOYMENT_COLUMNS: DataTableColumn<DeploymentRow>[];
3417
3678
  * and empty states, client-side sort + pagination, optional collapsible row groups (`groupBy`),
3418
3679
  * column resize and pinning, row virtualization, inline cell editing and saved views.
3419
3680
  */
3420
- export declare function DataTable<T = (typeof DEPLOYMENT_ROWS)[number]>({ rows, columns, getRowId, getRowLabel, caption, showCaption, selectable: selectableProp, selectionMode, selectionName, legend, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, selectedId, defaultSelectedId, onSelectedIdChange, isRowDisabled, selectedIds, defaultSelectedIds, onSelectionChange, bulkActions, selectionSummary, rowActions, sort: sortProp, defaultSort, onSortChange, manualSorting, paginated: paginatedProp, paginationMode, rowCount, page: controlledPage, pageSize: controlledPageSize, onPageChange, onPageSizeChange, defaultPageSize, pageSizeOptions, density: densityProp, defaultDensity, onDensityChange, showDensityToggle, showColumnMenu, loading, loadingRows, emptyState, groupBy, groupLabel, collapsibleGroups, collapsedGroups: collapsedProp, defaultCollapsedGroups, onCollapsedGroupsChange, onGroupByChange, hiddenColumns: hiddenProp, onHiddenColumnsChange, resizable, columnWidths: widthsProp, defaultColumnWidths, onColumnWidthsChange, pinnedColumns: pinnedProp, defaultPinnedColumns, onPinnedColumnsChange, showPinMenu, virtualize, virtualizeThreshold, rowHeight: rowHeightProp, virtualContainerClassName, onCellEdit, views: viewsProp, defaultViews, onViewsChange, activeViewId, defaultActiveViewId, onActiveViewChange, showViewSwitcher, filters, onFiltersChange, toolbar, className, labels }: DataTableProps<T>): import("react").JSX.Element;
3681
+ export declare function DataTable<T = (typeof DEPLOYMENT_ROWS)[number]>({ rows, columns, getRowId, getRowLabel, caption, showCaption, selectable: selectableProp, selectionMode, selectionName, legend, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, selectedId, defaultSelectedId, onSelectedIdChange, isRowDisabled, selectedIds, defaultSelectedIds, onSelectionChange, preserveSelection, selectAllMatching, hideSelectAll, selectionModel, onSelectionModelChange, bulkActions, selectionSummary, rowActions, sort: sortProp, defaultSort, onSortChange, manualSorting, paginated: paginatedProp, paginationMode, rowCount, page: controlledPage, pageSize: controlledPageSize, onPageChange, onPageSizeChange, defaultPageSize, pageSizeOptions, density: densityProp, defaultDensity, onDensityChange, showDensityToggle, showColumnMenu, loading, loadingRows, emptyState, groupBy, groupLabel, collapsibleGroups, collapsedGroups: collapsedProp, defaultCollapsedGroups, onCollapsedGroupsChange, onGroupByChange, hiddenColumns: hiddenProp, onHiddenColumnsChange, resizable, columnWidths: widthsProp, defaultColumnWidths, onColumnWidthsChange, pinnedColumns: pinnedProp, defaultPinnedColumns, onPinnedColumnsChange, showPinMenu, virtualize, virtualizeThreshold, rowHeight: rowHeightProp, virtualContainerClassName, onCellEdit, views: viewsProp, defaultViews, onViewsChange, activeViewId, defaultActiveViewId, onActiveViewChange, showViewSwitcher, filters, onFiltersChange, toolbar, className, labels }: DataTableProps<T>): import("react").JSX.Element;
3421
3682
  //#endregion
3422
3683
  //#region src/tables/DataTable/column-menu.d.ts
3423
3684
  interface ColumnVisibilityMenuProps<T> {
@@ -3867,5 +4128,5 @@ export declare function SessionsDevices({ sessions, onRevoke, onRevokeOthers, ti
3867
4128
  //#region src/team/SessionsDevices/block.meta.d.ts
3868
4129
  declare const meta$60: BlockMeta;
3869
4130
  //#endregion
3870
- export { type ApiKeyExpiry, type ApiKeyScope, type Assistant, type AssistantStatus, type AuthFormAccessibilityProps, type AuthHeaderProps, type AuthIdentifierConfig, type AuthSignUpField, type AuthSignUpValidationMessages, type AuthUnavailableState, type AuthValidationMessages, type BlockMeta, type CodeFile, type CodePanelMarker, type CodeProblem, type ColumnResizeHandleProps, type ColumnVisibilityMenuProps, type ColumnWidths, type ConfirmDestructiveDialogProps, type ConsoleEntry, type CostPoint, type CredentialSecret, type DangerZoneAction, type DataTableCellEdit, type DataTableCellEditHandler, type DataTableCellEditResult, type DataTableLabels, type DataTableProps, type DataTableView, type DataTableViewState, ViewSwitcher as DataTableViewSwitcher, type ViewSwitcherProps as DataTableViewSwitcherProps, type DensityToggleProps, type DeploymentRow, type DeviceKind, type DeviceSession, type EditableMember, type EvalMetric, type EvalRow, type EventKind, type EventTone, type FeedbackAction, type FlowConnection, type FlowConnectionRejection, type FlowEdge, type FlowHandle, type FlowNode, type FlowNodeData, type FlowNodeKind, type FlowNodeRenderProps, type FlowNodeRenderer, type FlowTone, type FlowValidationIssue, type Invitation, type LogLevel, type LogLine, type MarketingAction, type Member, type ModelKey, type ModelKeyStatus, type MonacoReady, type NodeInspectorProps, type NodePaletteProps, type NotificationChannel, type NotificationEvent, type NotificationMatrixValue, type PageChromeAction, type PaletteItem, type PanelHeading, type PinSide, type PinnedColumns, type PlanSummaryProps, type ProblemSeverity, type Profile, type ProfileMetaItem, type RoleOption, type RunConsoleProps, type ScheduleEvent, type SpanDetailsProps, type SpanKind, type SsoProvider, type SummaryPlan, type TokenUsagePeriod, type TraceSpan, type TrafficRow, type UploadItem, type UploadStatus, type ValidationIssue, meta$1 as activityFeedMeta, meta$2 as agendaListMeta, meta$3 as appSidebarMeta, meta$4 as appTopbarMeta, meta$5 as assistantCardGridMeta, meta$6 as bulkActionBarMeta, meta$7 as chartCardMeta, meta$8 as codePanelMeta, meta$9 as commentThreadMeta, meta$10 as comparisonTableMeta, meta$11 as confirmDestructiveMeta, meta$12 as costBreakdownMeta, meta$13 as createApiKeyDialogMeta, meta$14 as credentialDisclosureDialogMeta, meta$15 as cursorPagerFooterMeta, meta$16 as dangerZoneMeta, meta$17 as dataTableMeta, meta$18 as dateRangeFilterMeta, meta$19 as descriptionListCardMeta, meta$20 as dialogWizardMeta, meta$21 as emptyStatesMeta, meta$22 as environmentBadgeMeta, meta$23 as errorPanelMeta, meta$24 as evaluationScorecardMeta, meta$25 as faqMeta, meta$26 as featureGridMeta, meta$27 as fileUploadPanelMeta, meta$28 as filterBarMeta, meta$29 as flowBuilderMeta, meta$30 as forgotPasswordFormMeta, meta$31 as formSectionMeta, meta$32 as globalSearchMeta, meta$33 as heroMeta, meta$34 as inlineCalloutMeta, meta$35 as inlineEditRowMeta, meta$36 as inviteMembersDialogMeta, meta$37 as invoiceTableMeta, meta$38 as kpiRowMeta, meta$39 as loadMoreFooterMeta, meta$40 as logViewerMeta, meta$41 as membersTableMeta, meta$42 as mfaChallengeMeta, meta$43 as modelKeysListMeta, meta$44 as monthCalendarMeta, meta$45 as notificationMatrixMeta, meta$46 as pageHeaderMeta, meta$47 as pageToolbarMeta, meta$48 as paginationFooterMeta, meta$49 as paymentMethodCardMeta, meta$50 as pendingInvitationsMeta, meta$51 as planCardMeta, meta$52 as planDefinitionCardMeta, meta$53 as pricingTableMeta, meta$54 as profileHeaderMeta, meta$55 as promptEditorMeta, meta$56 as quotaMetersMeta, meta$57 as resetPasswordFormMeta, meta$58 as resourceCardGridMeta, deviceSessions as sampleDeviceSessions, invitations$1 as sampleInvitations, members$1 as sampleMembers, profile$1 as sampleProfile, sampleEvents as sampleScheduleEvents, sampleToday as sampleScheduleToday, meta$59 as sectionHeaderMeta, meta$60 as sessionsDevicesMeta, meta$61 as settingsRowMeta, meta$62 as signInFormMeta, meta$63 as signUpFormMeta, meta$64 as skeletonsMeta, meta$65 as spendVsBudgetMeta, meta$66 as ssoButtonsMeta, meta$67 as statCardMeta, meta$68 as statusTimelineMeta, meta$69 as stickyActionBarMeta, meta$70 as subordinateListMeta, meta$71 as systemBannerMeta, meta$72 as timeSlotPickerMeta, meta$73 as tokenCostCardMeta, meta$74 as traceWaterfallMeta, meta$75 as truncatedCollectionFooterMeta, validationIssues$1 as validationIssues, meta$76 as validationSummaryMeta, meta$77 as weekCalendarMeta };
4131
+ export { type ApiKeyExpiry, type ApiKeyScope, type Assistant, type AssistantStatus, type AuthFormAccessibilityProps, type AuthHeaderProps, type AuthIdentifierConfig, type AuthSignUpField, type AuthSignUpValidationMessages, type AuthUnavailableState, type AuthValidationMessages, type BlockMeta, type CodeFile, type CodePanelMarker, type CodeProblem, type ColumnResizeHandleProps, type ColumnVisibilityMenuProps, type ColumnWidths, type ConfirmDestructiveDialogLabels, type ConfirmDestructiveDialogProps, type ConsoleEntry, type CostPoint, type CredentialSecret, type DangerZoneAction, type DataTableCellEdit, type DataTableCellEditHandler, type DataTableCellEditResult, type DataTableLabels, type DataTableProps, type DataTableView, type DataTableViewState, ViewSwitcher as DataTableViewSwitcher, type ViewSwitcherProps as DataTableViewSwitcherProps, type DensityToggleProps, type DeploymentRow, type DeviceKind, type DeviceSession, type EditableMember, type EvalMetric, type EvalRow, type EventKind, type EventTone, type FeedbackAction, type FlowConnection, type FlowConnectionRejection, type FlowEdge, type FlowHandle, type FlowNode, type FlowNodeData, type FlowNodeKind, type FlowNodeRenderProps, type FlowNodeRenderer, type FlowTone, type FlowValidationIssue, type Invitation, type LogLevel, type LogLine, type MarketingAction, type Member, type ModelKey, type ModelKeyStatus, type MonacoReady, type NodeInspectorProps, type NodePaletteProps, type NotificationChannel, type NotificationEvent, type NotificationMatrixValue, type PageChromeAction, type PaletteItem, type PanelHeading, type PinSide, type PinnedColumns, type PlanSummaryProps, type ProblemSeverity, type Profile, type ProfileMetaItem, type RoleOption, type RunConsoleProps, type ScheduleEvent, type SpanDetailsProps, type SpanKind, type SsoProvider, type SummaryPlan, type TokenUsagePeriod, type TraceSpan, type TrafficRow, type UploadItem, type UploadStatus, type ValidationIssue, meta$1 as activityFeedMeta, meta$2 as agendaListMeta, meta$3 as appSidebarMeta, meta$4 as appTopbarMeta, meta$5 as assistantCardGridMeta, meta$6 as bulkActionBarMeta, meta$7 as chartCardMeta, meta$8 as codePanelMeta, meta$9 as commentThreadMeta, meta$10 as comparisonTableMeta, meta$11 as confirmDestructiveMeta, meta$12 as costBreakdownMeta, meta$13 as createApiKeyDialogMeta, meta$14 as credentialDisclosureDialogMeta, meta$15 as cursorPagerFooterMeta, meta$16 as dangerZoneMeta, meta$17 as dataTableMeta, meta$18 as dateRangeFilterMeta, meta$19 as descriptionListCardMeta, meta$20 as dialogWizardMeta, meta$21 as emptyStatesMeta, meta$22 as environmentBadgeMeta, meta$23 as errorPanelMeta, meta$24 as evaluationScorecardMeta, meta$25 as faqMeta, meta$26 as featureGridMeta, meta$27 as fileUploadPanelMeta, meta$28 as filterBarMeta, meta$29 as flowBuilderMeta, meta$30 as forgotPasswordFormMeta, meta$31 as formSectionMeta, meta$32 as globalSearchMeta, meta$33 as heroMeta, meta$34 as inlineCalloutMeta, meta$35 as inlineEditRowMeta, meta$36 as inviteMembersDialogMeta, meta$37 as invoiceTableMeta, meta$38 as kpiRowMeta, meta$39 as loadMoreFooterMeta, meta$40 as logViewerMeta, meta$41 as membersTableMeta, meta$42 as mfaChallengeMeta, meta$43 as modelKeysListMeta, meta$44 as monthCalendarMeta, meta$45 as notificationMatrixMeta, meta$46 as pageHeaderMeta, meta$47 as pageToolbarMeta, meta$48 as paginationFooterMeta, meta$49 as paymentMethodCardMeta, meta$50 as pendingInvitationsMeta, meta$51 as planCardMeta, meta$52 as planDefinitionCardMeta, meta$53 as pricingTableMeta, meta$54 as profileHeaderMeta, meta$55 as promptEditorMeta, meta$56 as quotaMetersMeta, meta$57 as resetPasswordFormMeta, meta$58 as resourceCardGridMeta, deviceSessions as sampleDeviceSessions, invitations$1 as sampleInvitations, members$1 as sampleMembers, profile$1 as sampleProfile, sampleEvents as sampleScheduleEvents, sampleToday as sampleScheduleToday, meta$59 as sectionHeaderMeta, meta$60 as sessionsDevicesMeta, meta$61 as settingsRowMeta, meta$62 as signInFormMeta, meta$63 as signUpFormMeta, meta$64 as skeletonsMeta, meta$65 as spendVsBudgetMeta, meta$66 as ssoButtonsMeta, meta$67 as statCardMeta, meta$68 as statusTimelineMeta, meta$69 as stickyActionBarMeta, meta$70 as subordinateListMeta, meta$71 as systemBannerMeta, meta$72 as timeSlotPickerMeta, meta$73 as tokenCostCardMeta, meta$74 as traceWaterfallMeta, meta$75 as truncatedCollectionFooterMeta, validationIssues$1 as validationIssues, meta$76 as validationSummaryMeta, meta$77 as weekCalendarMeta };
3871
4132
  //# sourceMappingURL=index.d.ts.map