@gntik-ai/blocks 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/index.d.ts +178 -70
  2. package/dist/index.js +621 -200
  3. package/dist/index.js.map +1 -1
  4. package/package.json +2 -2
  5. package/src/feedback/ConfirmDestructive/ConfirmDestructive.examples.test.tsx +25 -0
  6. package/src/feedback/ConfirmDestructive/ConfirmDestructive.extended.test.tsx +252 -0
  7. package/src/feedback/ConfirmDestructive/ConfirmDestructive.focus.test.tsx +178 -0
  8. package/src/feedback/ConfirmDestructive/ConfirmDestructive.tsx +219 -28
  9. package/src/feedback/ConfirmDestructive/block.meta.ts +2 -2
  10. package/src/feedback/ConfirmDestructive/examples/FailureStates.tsx +39 -0
  11. package/src/feedback/ConfirmDestructive/examples/PlainDeletion.tsx +6 -0
  12. package/src/feedback/ConfirmDestructive/examples/SecretRevocation.tsx +34 -0
  13. package/src/feedback/EmptyStates/EmptyStates.test.tsx +11 -1
  14. package/src/feedback/EmptyStates/EmptyStates.tsx +31 -1
  15. package/src/feedback/EmptyStates/block.meta.ts +1 -1
  16. package/src/feedback/EmptyStates/fixtures.ts +5 -0
  17. package/src/feedback/ErrorPanel/ErrorPanel.test.tsx +7 -0
  18. package/src/feedback/ErrorPanel/ErrorPanel.tsx +8 -3
  19. package/src/tables/CursorPagerFooter/CursorPagerFooter.examples.test.tsx +33 -0
  20. package/src/tables/CursorPagerFooter/CursorPagerFooter.test.tsx +51 -0
  21. package/src/tables/CursorPagerFooter/CursorPagerFooter.tsx +10 -0
  22. package/src/tables/CursorPagerFooter/block.meta.ts +23 -0
  23. package/src/tables/CursorPagerFooter/examples/Busy.tsx +7 -0
  24. package/src/tables/CursorPagerFooter/examples/CursorStack.tsx +40 -0
  25. package/src/tables/CursorPagerFooter/examples/Hidden.tsx +16 -0
  26. package/src/tables/CursorPagerFooter/examples/RowsPerPage.tsx +21 -0
  27. package/src/tables/CursorPagerFooter/fixtures.ts +13 -0
  28. package/src/tables/DataTable/DataTable.server-pagination.test.tsx +173 -0
  29. package/src/tables/DataTable/DataTable.tsx +20 -12
  30. package/src/tables/DataTable/block.meta.ts +2 -1
  31. package/src/tables/DataTable/data-table-props.ts +27 -4
  32. package/src/tables/DataTable/examples/server-pagination.tsx +68 -0
  33. package/src/tables/LoadMoreFooter/LoadMoreFooter.announcements.test.tsx +106 -0
  34. package/src/tables/LoadMoreFooter/LoadMoreFooter.examples.test.tsx +36 -0
  35. package/src/tables/LoadMoreFooter/LoadMoreFooter.labels.test.tsx +71 -0
  36. package/src/tables/LoadMoreFooter/LoadMoreFooter.test.tsx +184 -0
  37. package/src/tables/LoadMoreFooter/LoadMoreFooter.tsx +151 -0
  38. package/src/tables/LoadMoreFooter/block.meta.ts +28 -0
  39. package/src/tables/LoadMoreFooter/examples/cards.tsx +22 -0
  40. package/src/tables/LoadMoreFooter/examples/cursor.tsx +25 -0
  41. package/src/tables/LoadMoreFooter/examples/exhausted.tsx +6 -0
  42. package/src/tables/LoadMoreFooter/examples/failed.tsx +13 -0
  43. package/src/tables/LoadMoreFooter/examples/flag.tsx +33 -0
  44. package/src/tables/LoadMoreFooter/examples/useMockCursor.ts +30 -0
  45. package/src/tables/LoadMoreFooter/fixtures.ts +9 -0
  46. package/src/tables/LoadMoreFooter/useLoadMoreFooter.ts +56 -0
  47. package/src/tables/index.ts +4 -0
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
- import { ComponentType, HTMLAttributes, ReactElement, ReactNode, Ref } from "react";
2
+ import { ComponentType, HTMLAttributes, ReactElement, ReactNode, Ref, RefObject } from "react";
3
3
  import { LucideIcon } from "@gntik-ai/icons";
4
- import { AlertTone, BadgeTone, BreadcrumbItem, ButtonProps, CommandItem, DateInput, DateRange, DateRangePreset, MeterThresholds, MoreMenuAction, NavGroup, NavItem, NotificationItem, SparklineTone, StatusDefinition, StatusDotTone, TableDensity, UserMenuEntry, UserMenuUser, WizardLayoutProps, Workspace } from "@gntik-ai/ui";
4
+ import { AlertTone, BadgeTone, BreadcrumbItem, ButtonProps, CommandItem, CursorPaginationProps, DateInput, DateRange, DateRangePreset, MeterThresholds, MoreMenuAction, NavGroup, NavItem, NotificationItem, SparklineTone, StatusDefinition, StatusDotTone, TableDensity, UserMenuEntry, UserMenuUser, WizardLayoutProps, Workspace } from "@gntik-ai/ui";
5
5
  import { ChartColor, ChartStateProps, HeatmapProps, ValueFormatter } from "@gntik-ai/charts";
6
6
  import { FlowCanvasProps, FlowHandle, FlowNode, FlowNode as FlowNode$1, FlowNodeData, FlowNodeData as FlowNodeData$1, FlowNodeKind, FlowNodeKind as FlowNodeKind$1, FlowNodeRenderProps, FlowNodeRenderer, FlowNodeRenderer as FlowNodeRenderer$1, FlowTone, FlowTone as FlowTone$1 } from "@gntik-ai/flow";
7
7
  import { Monaco, MonacoLoader } from "@gntik-ai/editor";
@@ -135,7 +135,7 @@ export interface TraceWaterfallProps {
135
135
  export declare function TraceWaterfall({ spans, title, selectedId: selectedProp, defaultSelectedId, onSelect, onSelectedIdChange, defaultCollapsed, showDetails, renderDetails, titleAs: TitleTag, className }: TraceWaterfallProps): import("react").JSX.Element;
136
136
  //#endregion
137
137
  //#region src/ai/TraceWaterfall/block.meta.d.ts
138
- declare const meta$72: BlockMeta;
138
+ declare const meta$74: BlockMeta;
139
139
  //#endregion
140
140
  //#region src/ai/TokenCostCard/fixtures.d.ts
141
141
  interface TokenUsagePeriod {
@@ -169,7 +169,7 @@ export interface TokenCostCardProps {
169
169
  export declare function TokenCostCard({ periods, defaultPeriod, currency, title, description, titleAs, className }: TokenCostCardProps): import("react").JSX.Element | null;
170
170
  //#endregion
171
171
  //#region src/ai/TokenCostCard/block.meta.d.ts
172
- declare const meta$71: BlockMeta;
172
+ declare const meta$73: BlockMeta;
173
173
  //#endregion
174
174
  //#region src/ai/PromptEditor/PromptEditor.d.ts
175
175
  export interface PromptRunInput {
@@ -206,7 +206,7 @@ export declare function extractPromptVariables(...texts: string[]): string[];
206
206
  export declare function PromptEditor({ title, defaultSystem, defaultUser, defaultVariables, variables: variablesProp, onVariablesChange, defaultTemperature, defaultMaxTokens, maxTokensLimit, onRun, titleAs: TitleTag, className }: PromptEditorProps): import("react").JSX.Element;
207
207
  //#endregion
208
208
  //#region src/ai/PromptEditor/block.meta.d.ts
209
- declare const meta$53: BlockMeta;
209
+ declare const meta$55: BlockMeta;
210
210
  //#endregion
211
211
  //#region src/ai/EvaluationScorecard/fixtures.d.ts
212
212
  interface EvalMetric {
@@ -250,7 +250,7 @@ export interface EvaluationScorecardProps {
250
250
  export declare function EvaluationScorecard({ metrics, rows, title, baselineLabel, passRateTolerance, titleAs: TitleTag, className }: EvaluationScorecardProps): import("react").JSX.Element;
251
251
  //#endregion
252
252
  //#region src/ai/EvaluationScorecard/block.meta.d.ts
253
- declare const meta$23: BlockMeta;
253
+ declare const meta$24: BlockMeta;
254
254
  //#endregion
255
255
  //#region src/ai/ModelKeysList/fixtures.d.ts
256
256
  type ModelKeyStatus = 'connected' | 'failing' | 'untested' | 'revoked';
@@ -288,7 +288,7 @@ export interface ModelKeysListProps {
288
288
  export declare function ModelKeysList({ keys, title, onTest, onRevoke, onAdd, titleAs, className }: ModelKeysListProps): import("react").JSX.Element;
289
289
  //#endregion
290
290
  //#region src/ai/ModelKeysList/block.meta.d.ts
291
- declare const meta$41: BlockMeta;
291
+ declare const meta$43: BlockMeta;
292
292
  //#endregion
293
293
  //#region src/auth/shared.d.ts
294
294
  interface AuthHeaderProps {
@@ -399,7 +399,7 @@ export interface ForgotPasswordFormProps extends AuthFormAccessibilityProps {
399
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;
400
400
  //#endregion
401
401
  //#region src/auth/ForgotPasswordForm/block.meta.d.ts
402
- declare const meta$29: BlockMeta;
402
+ declare const meta$30: BlockMeta;
403
403
  //#endregion
404
404
  //#region src/auth/MfaChallenge/MfaChallenge.d.ts
405
405
  export type MfaMethod = 'code' | 'backup';
@@ -431,7 +431,7 @@ export interface MfaChallengeProps {
431
431
  export declare function MfaChallenge({ onVerify, onResend, resendCooldown, initialCooldown, length, destination, error: errorProp, loading: loadingProp, onCancel, eyebrow, title, className }: MfaChallengeProps): import("react").JSX.Element;
432
432
  //#endregion
433
433
  //#region src/auth/MfaChallenge/block.meta.d.ts
434
- declare const meta$40: BlockMeta;
434
+ declare const meta$42: BlockMeta;
435
435
  //#endregion
436
436
  //#region src/auth/ResetPasswordForm/ResetPasswordForm.d.ts
437
437
  export interface ResetPasswordFormProps {
@@ -448,7 +448,7 @@ export interface ResetPasswordFormProps {
448
448
  export declare function ResetPasswordForm({ onSubmit, error: errorProp, minPasswordLength, onContinue, eyebrow, className }: ResetPasswordFormProps): import("react").JSX.Element;
449
449
  //#endregion
450
450
  //#region src/auth/ResetPasswordForm/block.meta.d.ts
451
- declare const meta$55: BlockMeta;
451
+ declare const meta$57: BlockMeta;
452
452
  //#endregion
453
453
  //#region src/auth/SignInForm/SignInForm.d.ts
454
454
  export interface SignInValues {
@@ -495,7 +495,7 @@ export interface SignInFormProps extends AuthFormAccessibilityProps {
495
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;
496
496
  //#endregion
497
497
  //#region src/auth/SignInForm/block.meta.d.ts
498
- declare const meta$60: BlockMeta;
498
+ declare const meta$62: BlockMeta;
499
499
  //#endregion
500
500
  //#region src/auth/SignUpForm/SignUpForm.d.ts
501
501
  export interface SignUpValues {
@@ -538,7 +538,7 @@ export interface SignUpFormProps {
538
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;
539
539
  //#endregion
540
540
  //#region src/auth/SignUpForm/block.meta.d.ts
541
- declare const meta$61: BlockMeta;
541
+ declare const meta$63: BlockMeta;
542
542
  //#endregion
543
543
  //#region src/auth/SsoButtons/fixtures.d.ts
544
544
  interface SsoProvider {
@@ -568,7 +568,7 @@ export interface SsoButtonsProps {
568
568
  export declare function SsoButtons({ providers, onSelect, loadingId, disabled, layout, label, className }: SsoButtonsProps): import("react").JSX.Element;
569
569
  //#endregion
570
570
  //#region src/auth/SsoButtons/block.meta.d.ts
571
- declare const meta$64: BlockMeta;
571
+ declare const meta$66: BlockMeta;
572
572
  //#endregion
573
573
  //#region src/billing/format.d.ts
574
574
  /** Shared formatting for the billing blocks (en-US, Intl). */
@@ -637,7 +637,7 @@ export type PlanCardProps = BillingPlanCardProps | PlanSummaryProps;
637
637
  export declare function PlanCard(props: PlanCardProps): import("react").JSX.Element;
638
638
  //#endregion
639
639
  //#region src/billing/PlanCard/block.meta.d.ts
640
- declare const meta$49: BlockMeta;
640
+ declare const meta$51: BlockMeta;
641
641
  //#endregion
642
642
  //#region src/billing/PlanCard/fixtures.d.ts
643
643
  /** Sample current plan (neutral workspace data). */
@@ -668,7 +668,7 @@ export interface PlanDefinitionCardProps {
668
668
  export declare function PlanDefinitionCard({ plan, density, actions, statusLabels, titleAs: TitleTag, className }: PlanDefinitionCardProps): import("react").JSX.Element;
669
669
  //#endregion
670
670
  //#region src/billing/PlanDefinitionCard/block.meta.d.ts
671
- declare const meta$50: BlockMeta;
671
+ declare const meta$52: BlockMeta;
672
672
  //#endregion
673
673
  //#region src/billing/PlanDefinitionCard/fixtures.d.ts
674
674
  export declare const samplePlanDefinition: PlanDefinition;
@@ -705,7 +705,7 @@ export interface QuotaMetersProps {
705
705
  export declare function QuotaMeters({ quotas, title, thresholds, formatValue, defaultScope, onScopeChange, titleAs: TitleTag, className }: QuotaMetersProps): import("react").JSX.Element;
706
706
  //#endregion
707
707
  //#region src/billing/QuotaMeters/block.meta.d.ts
708
- declare const meta$54: BlockMeta;
708
+ declare const meta$56: BlockMeta;
709
709
  //#endregion
710
710
  //#region src/billing/QuotaMeters/fixtures.d.ts
711
711
  /** Sample plan quotas: usage so far this cycle and the end-of-cycle projection. */
@@ -738,7 +738,7 @@ export interface SpendVsBudgetProps {
738
738
  export declare function SpendVsBudget({ data, budget, currency, title, period, height, titleAs: TitleTag, className }: SpendVsBudgetProps): import("react").JSX.Element;
739
739
  //#endregion
740
740
  //#region src/billing/SpendVsBudget/block.meta.d.ts
741
- declare const meta$63: BlockMeta;
741
+ declare const meta$65: BlockMeta;
742
742
  //#endregion
743
743
  //#region src/billing/SpendVsBudget/fixtures.d.ts
744
744
  /**
@@ -779,7 +779,7 @@ export interface InvoiceTableProps {
779
779
  export declare function InvoiceTable({ invoices, caption, showCaption, currency, onDownload, density, className }: InvoiceTableProps): import("react").JSX.Element;
780
780
  //#endregion
781
781
  //#region src/billing/InvoiceTable/block.meta.d.ts
782
- declare const meta$36: BlockMeta;
782
+ declare const meta$37: BlockMeta;
783
783
  //#endregion
784
784
  //#region src/billing/InvoiceTable/fixtures.d.ts
785
785
  /** Sample invoice history. */
@@ -813,7 +813,7 @@ export interface PaymentMethodCardProps {
813
813
  export declare function PaymentMethodCard({ method, title, description, onUpdate, onRemove, updateLabel, titleAs, className }: PaymentMethodCardProps): import("react").JSX.Element;
814
814
  //#endregion
815
815
  //#region src/billing/PaymentMethodCard/block.meta.d.ts
816
- declare const meta$47: BlockMeta;
816
+ declare const meta$49: BlockMeta;
817
817
  //#endregion
818
818
  //#region src/billing/PaymentMethodCard/fixtures.d.ts
819
819
  /** Sample default payment method. */
@@ -967,7 +967,7 @@ interface RunConsoleProps {
967
967
  export declare function RunConsole({ entries, onClear, titleAs: TitleTag }: RunConsoleProps): import("react").JSX.Element;
968
968
  //#endregion
969
969
  //#region src/builders/FlowBuilder/block.meta.d.ts
970
- declare const meta$28: BlockMeta;
970
+ declare const meta$29: BlockMeta;
971
971
  //#endregion
972
972
  //#region src/builders/CodePanel/fixtures.d.ts
973
973
  interface CodeFile {
@@ -1089,7 +1089,7 @@ export interface LogViewerProps {
1089
1089
  export declare function LogViewer({ lines, title, height, rowHeight, overscan, defaultLevels, defaultFollow, onCopyLine, onSelectLine, selectedLineId, announceLines, titleAs: TitleTag, className }: LogViewerProps): import("react").JSX.Element;
1090
1090
  //#endregion
1091
1091
  //#region src/builders/LogViewer/block.meta.d.ts
1092
- declare const meta$38: BlockMeta;
1092
+ declare const meta$40: BlockMeta;
1093
1093
  //#endregion
1094
1094
  //#region src/data-display/shared/TrendDelta.d.ts
1095
1095
  /** Arrow shape of a change. */
@@ -1142,7 +1142,7 @@ export interface KpiRowProps {
1142
1142
  export declare function KpiRow({ items, variant, showTrends, label, className }: KpiRowProps): import("react").JSX.Element;
1143
1143
  //#endregion
1144
1144
  //#region src/data-display/KpiRow/block.meta.d.ts
1145
- declare const meta$37: BlockMeta;
1145
+ declare const meta$38: BlockMeta;
1146
1146
  //#endregion
1147
1147
  //#region src/data-display/KpiRow/fixtures.d.ts
1148
1148
  /** Four project KPIs: note latency and spend — same arrow logic, different sentiment. */
@@ -1188,7 +1188,7 @@ export interface StatCardProps {
1188
1188
  export declare function StatCard({ label, icon: IconCmp, ranges, defaultRange, range: rangeProp, onRangeChange, chart, tone, action, titleAs: TitleTag, className }: StatCardProps): import("react").JSX.Element;
1189
1189
  //#endregion
1190
1190
  //#region src/data-display/StatCard/block.meta.d.ts
1191
- declare const meta$65: BlockMeta;
1191
+ declare const meta$67: BlockMeta;
1192
1192
  //#endregion
1193
1193
  //#region src/data-display/StatCard/fixtures.d.ts
1194
1194
  /** Requests per range: the value and delta recalculate when the range changes. */
@@ -1318,7 +1318,7 @@ export interface DescriptionListCardProps {
1318
1318
  export declare function DescriptionListCard({ title, description, items, onEdit, editLabel, onCopy, titleAs, className }: DescriptionListCardProps): import("react").JSX.Element;
1319
1319
  //#endregion
1320
1320
  //#region src/data-display/DescriptionListCard/block.meta.d.ts
1321
- declare const meta$18: BlockMeta;
1321
+ declare const meta$19: BlockMeta;
1322
1322
  //#endregion
1323
1323
  //#region src/data-display/DescriptionListCard/fixtures.d.ts
1324
1324
  /** Configuration of a deployment. */
@@ -1363,7 +1363,7 @@ export interface ResourceCardGridProps {
1363
1363
  export declare function ResourceCardGrid({ items, label, onAction, getActions, columns, titleAs: TitleTag, className }: ResourceCardGridProps): import("react").JSX.Element;
1364
1364
  //#endregion
1365
1365
  //#region src/data-display/ResourceCardGrid/block.meta.d.ts
1366
- declare const meta$56: BlockMeta;
1366
+ declare const meta$58: BlockMeta;
1367
1367
  //#endregion
1368
1368
  //#region src/data-display/ResourceCardGrid/fixtures.d.ts
1369
1369
  /** Project resources. */
@@ -1406,7 +1406,7 @@ export interface StatusTimelineProps {
1406
1406
  export declare function StatusTimeline({ events, label: labelProp, emptyLabel: emptyLabelProp, showFewerLabel: showFewerLabelProp, showEarlierLabel: showEarlierLabelProp, actorLabel: actorLabelProp, maxVisible, timeFormat, className }: StatusTimelineProps): import("react").JSX.Element;
1407
1407
  //#endregion
1408
1408
  //#region src/data-display/StatusTimeline/block.meta.d.ts
1409
- declare const meta$66: BlockMeta;
1409
+ declare const meta$68: BlockMeta;
1410
1410
  //#endregion
1411
1411
  //#region src/data-display/StatusTimeline/fixtures.d.ts
1412
1412
  /** State changes of a deployment, newest first. */
@@ -1529,7 +1529,7 @@ export interface SystemBannerProps {
1529
1529
  export declare function SystemBanner({ kind, title, message, action, dismissible, open, onDismiss, className }: SystemBannerProps): import("react").JSX.Element | null;
1530
1530
  //#endregion
1531
1531
  //#region src/feedback/SystemBanner/block.meta.d.ts
1532
- declare const meta$69: BlockMeta;
1532
+ declare const meta$71: BlockMeta;
1533
1533
  //#endregion
1534
1534
  //#region src/feedback/InlineCallout/InlineCallout.d.ts
1535
1535
  export interface InlineCalloutProps {
@@ -1550,7 +1550,7 @@ export interface InlineCalloutProps {
1550
1550
  export declare function InlineCallout({ tone, title, description, actions, icon, dismissible, open, onDismiss, className }: InlineCalloutProps): import("react").JSX.Element | null;
1551
1551
  //#endregion
1552
1552
  //#region src/feedback/InlineCallout/block.meta.d.ts
1553
- declare const meta$33: BlockMeta;
1553
+ declare const meta$34: BlockMeta;
1554
1554
  //#endregion
1555
1555
  //#region src/feedback/EmptyStates/EmptyStates.d.ts
1556
1556
  interface SharedEmptyProps {
@@ -1560,6 +1560,14 @@ interface SharedEmptyProps {
1560
1560
  bordered?: boolean;
1561
1561
  className?: string;
1562
1562
  }
1563
+ export interface NotFoundEmptyProps extends SharedEmptyProps {
1564
+ icon?: LucideIcon;
1565
+ title?: ReactNode;
1566
+ description?: ReactNode;
1567
+ action?: ReactNode;
1568
+ }
1569
+ /** Missing resource state; consumers may supply an optional way back. */
1570
+ export declare function NotFoundEmpty({ icon, title, description, action, titleAs, bordered, className }: NotFoundEmptyProps): import("react").JSX.Element;
1563
1571
  export interface FirstRunEmptyProps extends SharedEmptyProps {
1564
1572
  icon?: LucideIcon;
1565
1573
  title?: ReactNode;
@@ -1613,9 +1621,13 @@ export declare const noAccessSample: {
1613
1621
  readonly resource: "Billing";
1614
1622
  readonly owner: "an organization admin";
1615
1623
  };
1624
+ export declare const notFoundSample: {
1625
+ readonly title: "Resource not found";
1626
+ readonly description: "This resource may have been deleted or moved.";
1627
+ };
1616
1628
  //#endregion
1617
1629
  //#region src/feedback/EmptyStates/block.meta.d.ts
1618
- declare const meta$20: BlockMeta;
1630
+ declare const meta$21: BlockMeta;
1619
1631
  //#endregion
1620
1632
  //#region src/feedback/Skeletons/Skeletons.d.ts
1621
1633
  export interface TableSkeletonProps {
@@ -1646,9 +1658,24 @@ export interface PageSkeletonProps {
1646
1658
  export declare function PageSkeleton({ stats, rows, label: labelProp, className }: PageSkeletonProps): import("react").JSX.Element;
1647
1659
  //#endregion
1648
1660
  //#region src/feedback/Skeletons/block.meta.d.ts
1649
- declare const meta$62: BlockMeta;
1661
+ declare const meta$64: BlockMeta;
1650
1662
  //#endregion
1651
1663
  //#region src/feedback/ConfirmDestructive/ConfirmDestructive.d.ts
1664
+ export type ConfirmDestructiveFailure = {
1665
+ kind: 'server';
1666
+ title: string;
1667
+ message?: string;
1668
+ status?: number;
1669
+ requestId?: string;
1670
+ } | {
1671
+ kind: 'network';
1672
+ title: string;
1673
+ message?: string;
1674
+ } | {
1675
+ kind: 'no-access' | 'not-found';
1676
+ title: string;
1677
+ description?: string;
1678
+ };
1652
1679
  export interface ConfirmDestructiveProps {
1653
1680
  /** Exact name the user must type to unlock the action. */
1654
1681
  resourceName?: string;
@@ -1667,12 +1694,18 @@ export interface ConfirmDestructiveProps {
1667
1694
  onOpenChange?: (open: boolean) => void;
1668
1695
  /** Runs on confirm. Returning a promise keeps the dialog open with a spinner until it settles; a rejection shows its message. */
1669
1696
  onConfirm?: () => void | Promise<void>;
1697
+ /** Extra fields inside the form, outside its accessible description. */
1698
+ children?: ReactNode;
1699
+ /** Additional consumer validity; the exact typed-name match is always required. */
1700
+ canConfirm?: boolean;
1701
+ /** Focus destination when there is no internal trigger. Defaults to the opener. */
1702
+ returnFocusRef?: RefObject<HTMLElement | null>;
1670
1703
  }
1671
1704
  /**
1672
1705
  * Typed-confirmation for irreversible actions: an AlertDialog whose destructive button stays
1673
1706
  * disabled until the resource name is typed exactly.
1674
1707
  */
1675
- export declare function ConfirmDestructive({ resourceName, resourceType, title, description, consequences, confirmLabel, triggerLabel, open, defaultOpen, onOpenChange, onConfirm }: ConfirmDestructiveProps): import("react").JSX.Element;
1708
+ export declare function ConfirmDestructive({ resourceName, resourceType, title, description, consequences, confirmLabel, triggerLabel, open, defaultOpen, onOpenChange, onConfirm, children, canConfirm, returnFocusRef }: ConfirmDestructiveProps): import("react").JSX.Element;
1676
1709
  //#endregion
1677
1710
  //#region src/feedback/ConfirmDestructive/block.meta.d.ts
1678
1711
  declare const meta$11: BlockMeta;
@@ -1698,12 +1731,14 @@ export interface ErrorPanelProps {
1698
1731
  secondaryAction?: FeedbackAction | null;
1699
1732
  titleAs?: 'h2' | 'h3';
1700
1733
  className?: string;
1734
+ /** Disable the status region when a parent owns announcements. */
1735
+ announce?: boolean;
1701
1736
  }
1702
1737
  /** Error summary for a failed load or action: what happened, request id, retry and technical details. */
1703
- export declare function ErrorPanel({ icon: Icon, title, message, code, requestId, details, onRetry, retrying, retryLabel: retryLabelProp, secondaryAction, titleAs: Heading, className }: ErrorPanelProps): import("react").JSX.Element;
1738
+ export declare function ErrorPanel({ icon: Icon, title, message, code, requestId, details, onRetry, retrying, retryLabel: retryLabelProp, secondaryAction, titleAs: Heading, className, announce }: ErrorPanelProps): import("react").JSX.Element;
1704
1739
  //#endregion
1705
1740
  //#region src/feedback/ErrorPanel/block.meta.d.ts
1706
- declare const meta$22: BlockMeta;
1741
+ declare const meta$23: BlockMeta;
1707
1742
  //#endregion
1708
1743
  //#region src/forms/DangerZone/fixtures.d.ts
1709
1744
  interface DangerZoneAction {
@@ -1736,7 +1771,7 @@ export interface DangerZoneProps {
1736
1771
  export declare function DangerZone({ title, description, actions, onConfirm, headingLevel: Heading, className }: DangerZoneProps): import("react").JSX.Element;
1737
1772
  //#endregion
1738
1773
  //#region src/forms/DangerZone/block.meta.d.ts
1739
- declare const meta$15: BlockMeta;
1774
+ declare const meta$16: BlockMeta;
1740
1775
  //#endregion
1741
1776
  //#region src/forms/CreateApiKeyDialog/fixtures.d.ts
1742
1777
  interface ApiKeyScope {
@@ -1844,7 +1879,7 @@ export interface DateRangeFilterProps {
1844
1879
  export declare function DateRangeFilter({ value, defaultValue, onValueChange, presets, today, label: labelProp, placeholder: placeholderProp, clearable, disabled, className }: DateRangeFilterProps): import("react").JSX.Element;
1845
1880
  //#endregion
1846
1881
  //#region src/forms/DateRangeFilter/block.meta.d.ts
1847
- declare const meta$17: BlockMeta;
1882
+ declare const meta$18: BlockMeta;
1848
1883
  //#endregion
1849
1884
  //#region src/forms/FileUploadPanel/fixtures.d.ts
1850
1885
  type UploadStatus = 'uploading' | 'done' | 'error';
@@ -1889,7 +1924,7 @@ export interface FileUploadPanelProps {
1889
1924
  export declare function FileUploadPanel({ accept, maxSize, multiple, defaultFiles, onUpload, onRemove, label: labelProp, hint, disabled, className }: FileUploadPanelProps): import("react").JSX.Element;
1890
1925
  //#endregion
1891
1926
  //#region src/forms/FileUploadPanel/block.meta.d.ts
1892
- declare const meta$26: BlockMeta;
1927
+ declare const meta$27: BlockMeta;
1893
1928
  //#endregion
1894
1929
  //#region src/forms/FormSection/FormSection.d.ts
1895
1930
  export interface FormSectionProps extends Omit<HTMLAttributes<HTMLElement>, 'title' | 'className'> {
@@ -1914,7 +1949,7 @@ export interface FormSectionProps extends Omit<HTMLAttributes<HTMLElement>, 'tit
1914
1949
  export declare function FormSection({ title, description, children, actions, headingLevel: Heading, divided, className, ...props }: FormSectionProps): import("react").JSX.Element;
1915
1950
  //#endregion
1916
1951
  //#region src/forms/FormSection/block.meta.d.ts
1917
- declare const meta$30: BlockMeta;
1952
+ declare const meta$31: BlockMeta;
1918
1953
  //#endregion
1919
1954
  //#region src/forms/InviteMembersDialog/fixtures.d.ts
1920
1955
  interface RoleOption {
@@ -1949,7 +1984,7 @@ export interface InviteMembersDialogProps {
1949
1984
  export declare function InviteMembersDialog({ roles, defaultRole, onInvite, maxInvites, open: openProp, defaultOpen, onOpenChange, trigger, title, description }: InviteMembersDialogProps): import("react").JSX.Element;
1950
1985
  //#endregion
1951
1986
  //#region src/forms/InviteMembersDialog/block.meta.d.ts
1952
- declare const meta$35: BlockMeta;
1987
+ declare const meta$36: BlockMeta;
1953
1988
  //#endregion
1954
1989
  //#region src/forms/SettingsRow/SettingsRow.d.ts
1955
1990
  export interface SettingsRowControlIds {
@@ -1978,7 +2013,7 @@ export interface SettingsRowProps {
1978
2013
  export declare function SettingsRow({ label, description, control, checked, defaultChecked, onCheckedChange, disabled, children, className }: SettingsRowProps): import("react").JSX.Element;
1979
2014
  //#endregion
1980
2015
  //#region src/forms/SettingsRow/block.meta.d.ts
1981
- declare const meta$59: BlockMeta;
2016
+ declare const meta$61: BlockMeta;
1982
2017
  //#endregion
1983
2018
  //#region src/forms/ValidationSummary/fixtures.d.ts
1984
2019
  interface ValidationIssue {
@@ -2018,7 +2053,7 @@ export interface DialogWizardProps extends Omit<WizardLayoutProps, 'mode' | 'ste
2018
2053
  export declare function DialogWizard({ steps, current, size, stepError, reviewStep, children, title, ...props }: DialogWizardProps): import("react").JSX.Element;
2019
2054
  //#endregion
2020
2055
  //#region src/forms/DialogWizard/block.meta.d.ts
2021
- declare const meta$19: BlockMeta;
2056
+ declare const meta$20: BlockMeta;
2022
2057
  //#endregion
2023
2058
  //#region src/forms/DialogWizard/fixtures.d.ts
2024
2059
  /** Example data only; consumers own every label and all step state. */
@@ -2048,7 +2083,7 @@ export declare const dialogWizardCopy: {
2048
2083
  };
2049
2084
  //#endregion
2050
2085
  //#region src/forms/ValidationSummary/block.meta.d.ts
2051
- declare const meta$74: BlockMeta;
2086
+ declare const meta$76: BlockMeta;
2052
2087
  //#endregion
2053
2088
  //#region src/forms/DangerZone/ConfirmDestructiveDialog.d.ts
2054
2089
  interface ConfirmDestructiveDialogProps {
@@ -2103,7 +2138,7 @@ export declare function HeroScreenshotPlaceholder({ className }: {
2103
2138
  export declare function Hero({ variant, eyebrow, title, description, primaryAction, secondaryAction, media, headingLevel: Heading, className }: HeroProps): import("react").JSX.Element;
2104
2139
  //#endregion
2105
2140
  //#region src/marketing/Hero/block.meta.d.ts
2106
- declare const meta$32: BlockMeta;
2141
+ declare const meta$33: BlockMeta;
2107
2142
  //#endregion
2108
2143
  //#region src/marketing/FeatureGrid/FeatureGrid.d.ts
2109
2144
  export interface Feature {
@@ -2126,7 +2161,7 @@ export interface FeatureGridProps {
2126
2161
  export declare function FeatureGrid({ features, eyebrow, title, description, columns, headingLevel: Heading, className }: FeatureGridProps): import("react").JSX.Element;
2127
2162
  //#endregion
2128
2163
  //#region src/marketing/FeatureGrid/block.meta.d.ts
2129
- declare const meta$25: BlockMeta;
2164
+ declare const meta$26: BlockMeta;
2130
2165
  //#endregion
2131
2166
  //#region src/marketing/FeatureGrid/fixtures.d.ts
2132
2167
  /** Sample product-agnostic features. */
@@ -2196,7 +2231,7 @@ export interface PricingTableProps {
2196
2231
  export declare function PricingTable({ tiers, eyebrow, title, description, currency, defaultCycle, onCycleChange, onSelectTier, annualNote, headingLevel: Heading, showCycleToggle, columns, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, currentTierId, currentPlanLabel, selectable, value, defaultValue, onValueChange, className }: PricingTableProps): import("react").JSX.Element;
2197
2232
  //#endregion
2198
2233
  //#region src/marketing/PricingTable/block.meta.d.ts
2199
- declare const meta$51: BlockMeta;
2234
+ declare const meta$53: BlockMeta;
2200
2235
  //#endregion
2201
2236
  //#region src/marketing/PricingTable/fixtures.d.ts
2202
2237
  /** Sample three-tier pricing. Prices are per month; annual is per month billed yearly. */
@@ -2225,7 +2260,7 @@ export interface FaqProps {
2225
2260
  export declare function Faq({ items, title, description, layout, defaultOpen, multiple, headingLevel: Heading, className }: FaqProps): import("react").JSX.Element;
2226
2261
  //#endregion
2227
2262
  //#region src/marketing/Faq/block.meta.d.ts
2228
- declare const meta$24: BlockMeta;
2263
+ declare const meta$25: BlockMeta;
2229
2264
  //#endregion
2230
2265
  //#region src/marketing/Faq/fixtures.d.ts
2231
2266
  /** Sample product-agnostic questions. */
@@ -2364,7 +2399,7 @@ export declare const pageHeaderActions: PageChromeAction[];
2364
2399
  export declare const pageHeaderTabs: PageHeaderTab[];
2365
2400
  //#endregion
2366
2401
  //#region src/page-chrome/PageHeader/block.meta.d.ts
2367
- declare const meta$44: BlockMeta;
2402
+ declare const meta$46: BlockMeta;
2368
2403
  //#endregion
2369
2404
  //#region src/page-chrome/SectionHeader/SectionHeader.d.ts
2370
2405
  export interface SectionHeaderProps {
@@ -2386,7 +2421,7 @@ export interface SectionHeaderProps {
2386
2421
  export declare function SectionHeader({ title, description, count, actions, as: Heading, bordered, headingId, className }: SectionHeaderProps): import("react").JSX.Element;
2387
2422
  //#endregion
2388
2423
  //#region src/page-chrome/SectionHeader/block.meta.d.ts
2389
- declare const meta$57: BlockMeta;
2424
+ declare const meta$59: BlockMeta;
2390
2425
  //#endregion
2391
2426
  //#region src/page-chrome/PageToolbar/PageToolbar.d.ts
2392
2427
  export interface PageToolbarView {
@@ -2424,7 +2459,7 @@ export declare function PageToolbar({ search, defaultSearch, onSearchChange, sea
2424
2459
  export declare const pageToolbarViews: PageToolbarView[];
2425
2460
  //#endregion
2426
2461
  //#region src/page-chrome/PageToolbar/block.meta.d.ts
2427
- declare const meta$45: BlockMeta;
2462
+ declare const meta$47: BlockMeta;
2428
2463
  //#endregion
2429
2464
  //#region src/page-chrome/StickyActionBar/StickyActionBar.d.ts
2430
2465
  export interface StickyActionBarProps {
@@ -2450,7 +2485,7 @@ export interface StickyActionBarProps {
2450
2485
  export declare function StickyActionBar({ dirty, saving, onSave, onCancel, dirtyMessage: dirtyMessageProp, cleanMessage: cleanMessageProp, saveLabel: saveLabelProp, cancelLabel: cancelLabelProp, hideWhenClean, 'aria-label': ariaLabelProp, className }: StickyActionBarProps): import("react").JSX.Element | null;
2451
2486
  //#endregion
2452
2487
  //#region src/page-chrome/StickyActionBar/block.meta.d.ts
2453
- declare const meta$67: BlockMeta;
2488
+ declare const meta$69: BlockMeta;
2454
2489
  //#endregion
2455
2490
  //#region src/page-chrome/BulkActionBar/BulkActionBar.d.ts
2456
2491
  export interface BulkActionBarProps {
@@ -2520,7 +2555,7 @@ export interface MonthCalendarProps {
2520
2555
  export declare function MonthCalendar({ events, today, defaultMonth, onMonthChange, defaultSelected, onSelectDate, kinds, maxEventsPerDay, actions, className }: MonthCalendarProps): import("react").JSX.Element;
2521
2556
  //#endregion
2522
2557
  //#region src/scheduling/MonthCalendar/block.meta.d.ts
2523
- declare const meta$42: BlockMeta;
2558
+ declare const meta$44: BlockMeta;
2524
2559
  //#endregion
2525
2560
  //#region src/scheduling/WeekCalendar/WeekCalendar.d.ts
2526
2561
  export interface WeekCalendarProps {
@@ -2549,7 +2584,7 @@ export interface WeekCalendarProps {
2549
2584
  export declare function WeekCalendar({ events, today, now, defaultWeek, onWeekChange, onEventClick, kinds, scrollToHour, hourHeight, height, actions, className }: WeekCalendarProps): import("react").JSX.Element;
2550
2585
  //#endregion
2551
2586
  //#region src/scheduling/WeekCalendar/block.meta.d.ts
2552
- declare const meta$75: BlockMeta;
2587
+ declare const meta$77: BlockMeta;
2553
2588
  //#endregion
2554
2589
  //#region src/scheduling/AgendaList/AgendaList.d.ts
2555
2590
  export interface AgendaListProps {
@@ -2613,7 +2648,7 @@ export interface TimeSlotPickerProps {
2613
2648
  export declare function TimeSlotPicker({ slots, value, defaultValue, onValueChange, legend: legendProp, description, name, columns, maxHeight, className }: TimeSlotPickerProps): import("react").JSX.Element;
2614
2649
  //#endregion
2615
2650
  //#region src/scheduling/TimeSlotPicker/block.meta.d.ts
2616
- declare const meta$70: BlockMeta;
2651
+ declare const meta$72: BlockMeta;
2617
2652
  //#endregion
2618
2653
  //#region src/scheduling/TimeSlotPicker/fixtures.d.ts
2619
2654
  /** Half-hour slots from 09:00 to 21:00 with a few already taken. */
@@ -2746,7 +2781,7 @@ export declare const appTopbarNotifications: NotificationItem[];
2746
2781
  declare const meta$4: BlockMeta;
2747
2782
  //#endregion
2748
2783
  //#region src/shell/EnvironmentBadge/block.meta.d.ts
2749
- declare const meta$21: BlockMeta;
2784
+ declare const meta$22: BlockMeta;
2750
2785
  //#endregion
2751
2786
  //#region src/shell/GlobalSearch/GlobalSearch.d.ts
2752
2787
  export type GlobalSearchGroup = 'pages' | 'records' | 'actions' | 'recent';
@@ -2781,7 +2816,7 @@ export declare const globalSearchActions: CommandItem[];
2781
2816
  export declare const globalSearchRecent: CommandItem[];
2782
2817
  //#endregion
2783
2818
  //#region src/shell/GlobalSearch/block.meta.d.ts
2784
- declare const meta$31: BlockMeta;
2819
+ declare const meta$32: BlockMeta;
2785
2820
  //#endregion
2786
2821
  //#region src/tables/DataTable/data-table-utils.d.ts
2787
2822
  export type SortDirectionValue = 'ascending' | 'descending';
@@ -3185,20 +3220,41 @@ interface DataTableCommonProps<T> {
3185
3220
  toolbar?: ReactNode;
3186
3221
  className?: string;
3187
3222
  }
3188
- type DataTableProps<T> = DataTableCommonProps<T> & ({
3223
+ interface ClientPaginationProps {
3224
+ paginationMode?: 'client';
3225
+ rowCount?: never;
3226
+ page?: never;
3227
+ pageSize?: never;
3228
+ onPageChange?: never;
3229
+ onPageSizeChange?: never;
3230
+ }
3231
+ interface ServerPaginationProps {
3232
+ /** Rows arrive as one server page: no client sorting or slicing, and no sortable headers. */
3233
+ paginationMode: 'server';
3234
+ /** Total number of rows across all pages; required even for an empty result. */
3235
+ rowCount: number;
3236
+ /** Current page, 1-based. Out-of-range pages are clamped for display without callbacks. */
3237
+ page: number;
3238
+ pageSize: number;
3239
+ onPageChange?: (page: number) => void;
3240
+ /** The footer may also request a page change to keep the first visible row on screen. */
3241
+ onPageSizeChange?: (size: number) => void;
3242
+ }
3243
+ type DataTableProps<T> = DataTableCommonProps<T> & (({
3189
3244
  selectionMode: 'single';
3190
3245
  paginated?: false;
3191
3246
  /** Consumer-supplied accessible group label; the kit adds no default. */
3192
3247
  legend?: ReactNode;
3193
3248
  'aria-label'?: string;
3194
3249
  'aria-labelledby'?: string;
3195
- } | {
3250
+ paginationMode?: never;
3251
+ } & ClientPaginationProps) | ({
3196
3252
  selectionMode?: 'none' | 'multiple';
3197
3253
  paginated?: boolean;
3198
3254
  legend?: never;
3199
3255
  'aria-label'?: never;
3200
3256
  'aria-labelledby'?: never;
3201
- });
3257
+ } & (ClientPaginationProps | ServerPaginationProps)));
3202
3258
  //#endregion
3203
3259
  //#region src/tables/DataTable/fixtures.d.ts
3204
3260
  interface DeploymentRow {
@@ -3224,7 +3280,7 @@ export declare const DEPLOYMENT_COLUMNS: DataTableColumn<DeploymentRow>[];
3224
3280
  * and empty states, client-side sort + pagination, optional collapsible row groups (`groupBy`),
3225
3281
  * column resize and pinning, row virtualization, inline cell editing and saved views.
3226
3282
  */
3227
- 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, 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;
3283
+ 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;
3228
3284
  //#endregion
3229
3285
  //#region src/tables/DataTable/column-menu.d.ts
3230
3286
  interface ColumnVisibilityMenuProps<T> {
@@ -3272,7 +3328,7 @@ interface ColumnResizeHandleProps {
3272
3328
  export declare function ColumnResizeHandle({ label, width, min, max, onResize, onResizeEnd, labels }: ColumnResizeHandleProps): import("react").JSX.Element;
3273
3329
  //#endregion
3274
3330
  //#region src/tables/DataTable/block.meta.d.ts
3275
- declare const meta$16: BlockMeta;
3331
+ declare const meta$17: BlockMeta;
3276
3332
  //#endregion
3277
3333
  //#region src/tables/FilterBar/FilterBar.d.ts
3278
3334
  export interface FilterField {
@@ -3332,15 +3388,67 @@ export interface FilterBarProps {
3332
3388
  export declare function FilterBar({ fields, query: queryProp, defaultQuery, onQueryChange, filters: filtersProp, defaultFilters, onFiltersChange, views, defaultView, onViewChange, searchLabel: searchLabelProp, placeholder: placeholderProp, resultCount, className, labels }: FilterBarProps): import("react").JSX.Element;
3333
3389
  //#endregion
3334
3390
  //#region src/tables/FilterBar/block.meta.d.ts
3335
- declare const meta$27: BlockMeta;
3391
+ declare const meta$28: BlockMeta;
3336
3392
  //#endregion
3337
3393
  //#region src/tables/FilterBar/fixtures.d.ts
3338
3394
  export declare const DEPLOYMENT_FILTER_FIELDS: FilterField[];
3339
3395
  export declare const DEPLOYMENT_DEFAULT_FILTERS: ActiveFilter[];
3340
3396
  export declare const DEPLOYMENT_SAVED_VIEWS: SavedView[];
3341
3397
  //#endregion
3398
+ //#region src/tables/CursorPagerFooter/CursorPagerFooter.d.ts
3399
+ /** The complete CursorPaginationProps contract, or no props for the fixture preview. */
3400
+ export type CursorPagerFooterProps = CursorPaginationProps | { [K in keyof CursorPaginationProps]?: never; };
3401
+ /** Responsive table footer. Forwards every cursor-pagination prop without storing cursor state. */
3402
+ export declare function CursorPagerFooter(props?: CursorPagerFooterProps): import("react").JSX.Element;
3403
+ //#endregion
3404
+ //#region src/tables/CursorPagerFooter/block.meta.d.ts
3405
+ declare const meta$15: BlockMeta;
3406
+ //#endregion
3342
3407
  //#region src/tables/PaginationFooter/block.meta.d.ts
3343
- declare const meta$46: BlockMeta;
3408
+ declare const meta$48: BlockMeta;
3409
+ //#endregion
3410
+ //#region src/tables/LoadMoreFooter/LoadMoreFooter.d.ts
3411
+ export interface LoadMoreFooterLabels {
3412
+ loadMore: string;
3413
+ loading: string;
3414
+ retry: string;
3415
+ group: string;
3416
+ moreAvailable: string;
3417
+ summary: (count: number) => string;
3418
+ loadedAnnouncement: (count: number) => string;
3419
+ }
3420
+ /**
3421
+ * Each attempt must settle in one update: loading=false together with its result
3422
+ * (error, or an empty error on success). Split settles are unsupported.
3423
+ */
3424
+ export interface LoadMoreFooterProps {
3425
+ /** Undefined selects flag mode; null or an empty string exhausts cursor mode. */
3426
+ nextCursor?: string | null;
3427
+ hasMore?: boolean;
3428
+ loading?: boolean;
3429
+ error?: string;
3430
+ onLoadMore?: (cursor?: string) => void;
3431
+ onRetry?: (cursor?: string) => void;
3432
+ loadedCount?: number;
3433
+ /** Increasing sequence for successful appends only; leave unchanged on replacement or failure. */
3434
+ lastAppend?: {
3435
+ seq: number;
3436
+ count: number;
3437
+ };
3438
+ exhaustedFocusTarget?: 'summary' | 'root';
3439
+ labels?: Partial<LoadMoreFooterLabels>;
3440
+ className?: string;
3441
+ }
3442
+ /**
3443
+ * Load more for appended lists without a total or page count. The consumer owns rows and requests.
3444
+ * With no props, renders a static catalogue preview using fixture data. Supplying any prop selects
3445
+ * the consumer contract: undefined nextCursor means flag mode and requires hasMore=true.
3446
+ * loadedCount defaults to the preview fixture; consumers should pass their actual loaded count.
3447
+ */
3448
+ export declare function LoadMoreFooter(props?: LoadMoreFooterProps): import("react").JSX.Element;
3449
+ //#endregion
3450
+ //#region src/tables/LoadMoreFooter/block.meta.d.ts
3451
+ declare const meta$39: BlockMeta;
3344
3452
  //#endregion
3345
3453
  //#region src/tables/TruncatedCollectionFooter/TruncatedCollectionFooter.d.ts
3346
3454
  export interface TruncatedCollectionFooterProps {
@@ -3366,7 +3474,7 @@ export interface TruncatedCollectionFooterProps {
3366
3474
  export declare function TruncatedCollectionFooter({ visibleCount, hasMore, noun: nounProp, locale: localeProp, summaryLabel, formatCount, truncationNote, noteId, className }: TruncatedCollectionFooterProps): import("react").JSX.Element;
3367
3475
  //#endregion
3368
3476
  //#region src/tables/TruncatedCollectionFooter/block.meta.d.ts
3369
- declare const meta$73: BlockMeta;
3477
+ declare const meta$75: BlockMeta;
3370
3478
  //#endregion
3371
3479
  //#region src/tables/InlineEditRow/fixtures.d.ts
3372
3480
  interface EditableMember {
@@ -3418,7 +3526,7 @@ export interface InlineEditTableProps<T extends object> {
3418
3526
  export declare function InlineEditTable<T extends object = EditableMember>({ rows: initialRows, fields, getRowId, caption, onRowSave, className }: InlineEditTableProps<T>): import("react").JSX.Element;
3419
3527
  //#endregion
3420
3528
  //#region src/tables/InlineEditRow/block.meta.d.ts
3421
- declare const meta$34: BlockMeta;
3529
+ declare const meta$35: BlockMeta;
3422
3530
  //#endregion
3423
3531
  //#region src/tables/SubordinateList/SubordinateList.d.ts
3424
3532
  export interface SubordinateListPagination {
@@ -3454,7 +3562,7 @@ export interface SubordinateListProps<T> {
3454
3562
  export declare function SubordinateList<T>({ title, headingLevel, count, columns, rows, getRowId, pagination, loading, error, onRetry, emptyState }: SubordinateListProps<T>): import("react").JSX.Element;
3455
3563
  //#endregion
3456
3564
  //#region src/tables/SubordinateList/block.meta.d.ts
3457
- declare const meta$68: BlockMeta;
3565
+ declare const meta$70: BlockMeta;
3458
3566
  //#endregion
3459
3567
  //#region src/team/MembersTable/fixtures.d.ts
3460
3568
  interface Member {
@@ -3485,7 +3593,7 @@ export interface MembersTableProps {
3485
3593
  export declare function MembersTable({ members, roles, currentUserId, onRoleChange, onRemove, onEmail, caption, className }: MembersTableProps): import("react").JSX.Element;
3486
3594
  //#endregion
3487
3595
  //#region src/team/MembersTable/block.meta.d.ts
3488
- declare const meta$39: BlockMeta;
3596
+ declare const meta$41: BlockMeta;
3489
3597
  //#endregion
3490
3598
  //#region src/team/NotificationMatrix/fixtures.d.ts
3491
3599
  interface NotificationChannel {
@@ -3522,7 +3630,7 @@ export interface NotificationMatrixProps {
3522
3630
  export declare function NotificationMatrix({ channels, events, value: valueProp, defaultValue, onValueChange, caption, className }: NotificationMatrixProps): import("react").JSX.Element;
3523
3631
  //#endregion
3524
3632
  //#region src/team/NotificationMatrix/block.meta.d.ts
3525
- declare const meta$43: BlockMeta;
3633
+ declare const meta$45: BlockMeta;
3526
3634
  //#endregion
3527
3635
  //#region src/team/PendingInvitations/fixtures.d.ts
3528
3636
  interface Invitation {
@@ -3551,7 +3659,7 @@ export interface PendingInvitationsProps {
3551
3659
  export declare function PendingInvitations({ invitations, onResend, onRevoke, title, headingLevel: Heading, className }: PendingInvitationsProps): import("react").JSX.Element;
3552
3660
  //#endregion
3553
3661
  //#region src/team/PendingInvitations/block.meta.d.ts
3554
- declare const meta$48: BlockMeta;
3662
+ declare const meta$50: BlockMeta;
3555
3663
  //#endregion
3556
3664
  //#region src/team/ProfileHeader/fixtures.d.ts
3557
3665
  interface ProfileMetaItem {
@@ -3585,7 +3693,7 @@ export interface ProfileHeaderProps {
3585
3693
  export declare function ProfileHeader({ profile, onAvatarChange, onEdit, actions, headingLevel: Heading, className }: ProfileHeaderProps): import("react").JSX.Element;
3586
3694
  //#endregion
3587
3695
  //#region src/team/ProfileHeader/block.meta.d.ts
3588
- declare const meta$52: BlockMeta;
3696
+ declare const meta$54: BlockMeta;
3589
3697
  //#endregion
3590
3698
  //#region src/team/SessionsDevices/fixtures.d.ts
3591
3699
  type DeviceKind = 'desktop' | 'mobile' | 'tablet';
@@ -3620,7 +3728,7 @@ export interface SessionsDevicesProps {
3620
3728
  export declare function SessionsDevices({ sessions, onRevoke, onRevokeOthers, title, description, headingLevel: Heading, className }: SessionsDevicesProps): import("react").JSX.Element;
3621
3729
  //#endregion
3622
3730
  //#region src/team/SessionsDevices/block.meta.d.ts
3623
- declare const meta$58: BlockMeta;
3731
+ declare const meta$60: BlockMeta;
3624
3732
  //#endregion
3625
- 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 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 dangerZoneMeta, meta$16 as dataTableMeta, meta$17 as dateRangeFilterMeta, meta$18 as descriptionListCardMeta, meta$19 as dialogWizardMeta, meta$20 as emptyStatesMeta, meta$21 as environmentBadgeMeta, meta$22 as errorPanelMeta, meta$23 as evaluationScorecardMeta, meta$24 as faqMeta, meta$25 as featureGridMeta, meta$26 as fileUploadPanelMeta, meta$27 as filterBarMeta, meta$28 as flowBuilderMeta, meta$29 as forgotPasswordFormMeta, meta$30 as formSectionMeta, meta$31 as globalSearchMeta, meta$32 as heroMeta, meta$33 as inlineCalloutMeta, meta$34 as inlineEditRowMeta, meta$35 as inviteMembersDialogMeta, meta$36 as invoiceTableMeta, meta$37 as kpiRowMeta, meta$38 as logViewerMeta, meta$39 as membersTableMeta, meta$40 as mfaChallengeMeta, meta$41 as modelKeysListMeta, meta$42 as monthCalendarMeta, meta$43 as notificationMatrixMeta, meta$44 as pageHeaderMeta, meta$45 as pageToolbarMeta, meta$46 as paginationFooterMeta, meta$47 as paymentMethodCardMeta, meta$48 as pendingInvitationsMeta, meta$49 as planCardMeta, meta$50 as planDefinitionCardMeta, meta$51 as pricingTableMeta, meta$52 as profileHeaderMeta, meta$53 as promptEditorMeta, meta$54 as quotaMetersMeta, meta$55 as resetPasswordFormMeta, meta$56 as resourceCardGridMeta, deviceSessions as sampleDeviceSessions, invitations$1 as sampleInvitations, members$1 as sampleMembers, profile$1 as sampleProfile, sampleEvents as sampleScheduleEvents, sampleToday as sampleScheduleToday, meta$57 as sectionHeaderMeta, meta$58 as sessionsDevicesMeta, meta$59 as settingsRowMeta, meta$60 as signInFormMeta, meta$61 as signUpFormMeta, meta$62 as skeletonsMeta, meta$63 as spendVsBudgetMeta, meta$64 as ssoButtonsMeta, meta$65 as statCardMeta, meta$66 as statusTimelineMeta, meta$67 as stickyActionBarMeta, meta$68 as subordinateListMeta, meta$69 as systemBannerMeta, meta$70 as timeSlotPickerMeta, meta$71 as tokenCostCardMeta, meta$72 as traceWaterfallMeta, meta$73 as truncatedCollectionFooterMeta, validationIssues$1 as validationIssues, meta$74 as validationSummaryMeta, meta$75 as weekCalendarMeta };
3733
+ 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 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 };
3626
3734
  //# sourceMappingURL=index.d.ts.map