@gntik-ai/blocks 0.5.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.
- package/dist/index.d.ts +337 -97
- package/dist/index.js +1311 -384
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/auth/SignUpForm/SignUpForm.configured.test.tsx +316 -0
- package/src/auth/SignUpForm/SignUpForm.tsx +194 -50
- package/src/auth/SignUpForm/block.meta.ts +15 -2
- package/src/auth/SignUpForm/examples/CustomFields.tsx +56 -0
- package/src/auth/SignUpForm/examples/Error.tsx +5 -0
- package/src/auth/SignUpForm/examples/Loading.tsx +6 -0
- package/src/auth/SignUpForm/examples/NoTerms.tsx +6 -0
- package/src/auth/SignUpForm/examples/Submitting.tsx +5 -0
- package/src/auth/SignUpForm/examples/Unavailable.tsx +15 -0
- package/src/auth/index.ts +1 -0
- package/src/auth/shared.tsx +34 -0
- package/src/feedback/ConfirmDestructive/ConfirmDestructive.examples.test.tsx +25 -0
- package/src/feedback/ConfirmDestructive/ConfirmDestructive.extended.test.tsx +252 -0
- package/src/feedback/ConfirmDestructive/ConfirmDestructive.focus.test.tsx +178 -0
- package/src/feedback/ConfirmDestructive/ConfirmDestructive.tsx +219 -28
- package/src/feedback/ConfirmDestructive/block.meta.ts +2 -2
- package/src/feedback/ConfirmDestructive/examples/FailureStates.tsx +39 -0
- package/src/feedback/ConfirmDestructive/examples/PlainDeletion.tsx +6 -0
- package/src/feedback/ConfirmDestructive/examples/SecretRevocation.tsx +34 -0
- package/src/feedback/EmptyStates/EmptyStates.test.tsx +11 -1
- package/src/feedback/EmptyStates/EmptyStates.tsx +31 -1
- package/src/feedback/EmptyStates/block.meta.ts +1 -1
- package/src/feedback/EmptyStates/fixtures.ts +5 -0
- package/src/feedback/ErrorPanel/ErrorPanel.test.tsx +7 -0
- package/src/feedback/ErrorPanel/ErrorPanel.tsx +8 -3
- package/src/meta.ts +2 -0
- package/src/tables/CursorPagerFooter/CursorPagerFooter.examples.test.tsx +33 -0
- package/src/tables/CursorPagerFooter/CursorPagerFooter.test.tsx +51 -0
- package/src/tables/CursorPagerFooter/CursorPagerFooter.tsx +10 -0
- package/src/tables/CursorPagerFooter/block.meta.ts +23 -0
- package/src/tables/CursorPagerFooter/examples/Busy.tsx +7 -0
- package/src/tables/CursorPagerFooter/examples/CursorStack.tsx +40 -0
- package/src/tables/CursorPagerFooter/examples/Hidden.tsx +16 -0
- package/src/tables/CursorPagerFooter/examples/RowsPerPage.tsx +21 -0
- package/src/tables/CursorPagerFooter/fixtures.ts +13 -0
- package/src/tables/DataTable/DataTable.labels.test.tsx +291 -0
- package/src/tables/DataTable/DataTable.overflow-labels.test.tsx +59 -0
- package/src/tables/DataTable/DataTable.server-pagination.test.tsx +173 -0
- package/src/tables/DataTable/DataTable.tsx +40 -21
- package/src/tables/DataTable/block.meta.ts +104 -1
- package/src/tables/DataTable/column-menu.tsx +10 -7
- package/src/tables/DataTable/data-table-body.tsx +3 -2
- package/src/tables/DataTable/data-table-props.ts +30 -4
- package/src/tables/DataTable/data-table-row.tsx +15 -4
- package/src/tables/DataTable/density-toggle.tsx +7 -4
- package/src/tables/DataTable/editable-cell.tsx +21 -8
- package/src/tables/DataTable/examples/server-pagination.tsx +68 -0
- package/src/tables/DataTable/header-cell.tsx +4 -0
- package/src/tables/DataTable/labels.ts +54 -0
- package/src/tables/DataTable/resize-handle.tsx +6 -3
- package/src/tables/DataTable/views.tsx +21 -14
- package/src/tables/FilterBar/FilterBar.labels.test.tsx +69 -0
- package/src/tables/FilterBar/FilterBar.tsx +45 -12
- package/src/tables/FilterBar/block.meta.ts +22 -0
- package/src/tables/LoadMoreFooter/LoadMoreFooter.announcements.test.tsx +106 -0
- package/src/tables/LoadMoreFooter/LoadMoreFooter.examples.test.tsx +36 -0
- package/src/tables/LoadMoreFooter/LoadMoreFooter.labels.test.tsx +71 -0
- package/src/tables/LoadMoreFooter/LoadMoreFooter.test.tsx +184 -0
- package/src/tables/LoadMoreFooter/LoadMoreFooter.tsx +151 -0
- package/src/tables/LoadMoreFooter/block.meta.ts +28 -0
- package/src/tables/LoadMoreFooter/examples/cards.tsx +22 -0
- package/src/tables/LoadMoreFooter/examples/cursor.tsx +25 -0
- package/src/tables/LoadMoreFooter/examples/exhausted.tsx +6 -0
- package/src/tables/LoadMoreFooter/examples/failed.tsx +13 -0
- package/src/tables/LoadMoreFooter/examples/flag.tsx +33 -0
- package/src/tables/LoadMoreFooter/examples/useMockCursor.ts +30 -0
- package/src/tables/LoadMoreFooter/fixtures.ts +9 -0
- package/src/tables/LoadMoreFooter/useLoadMoreFooter.ts +56 -0
- package/src/tables/PaginationFooter/PaginationFooter.labels.test.tsx +57 -0
- package/src/tables/PaginationFooter/PaginationFooter.tsx +31 -7
- package/src/tables/PaginationFooter/block.meta.ts +23 -0
- 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";
|
|
@@ -15,6 +15,12 @@ interface BlockMeta {
|
|
|
15
15
|
description: string;
|
|
16
16
|
/** @gntik-ai/ui (and other kit) components it composes, for docs and agents. */
|
|
17
17
|
uses: string[];
|
|
18
|
+
/** Optional per-instance copy contract, listed in docs and kit metadata. */
|
|
19
|
+
labels?: Array<{
|
|
20
|
+
key: string;
|
|
21
|
+
type: string;
|
|
22
|
+
state: string;
|
|
23
|
+
}>;
|
|
18
24
|
}
|
|
19
25
|
//#endregion
|
|
20
26
|
//#region src/ai/AssistantCardGrid/fixtures.d.ts
|
|
@@ -129,7 +135,7 @@ export interface TraceWaterfallProps {
|
|
|
129
135
|
export declare function TraceWaterfall({ spans, title, selectedId: selectedProp, defaultSelectedId, onSelect, onSelectedIdChange, defaultCollapsed, showDetails, renderDetails, titleAs: TitleTag, className }: TraceWaterfallProps): import("react").JSX.Element;
|
|
130
136
|
//#endregion
|
|
131
137
|
//#region src/ai/TraceWaterfall/block.meta.d.ts
|
|
132
|
-
declare const meta$
|
|
138
|
+
declare const meta$74: BlockMeta;
|
|
133
139
|
//#endregion
|
|
134
140
|
//#region src/ai/TokenCostCard/fixtures.d.ts
|
|
135
141
|
interface TokenUsagePeriod {
|
|
@@ -163,7 +169,7 @@ export interface TokenCostCardProps {
|
|
|
163
169
|
export declare function TokenCostCard({ periods, defaultPeriod, currency, title, description, titleAs, className }: TokenCostCardProps): import("react").JSX.Element | null;
|
|
164
170
|
//#endregion
|
|
165
171
|
//#region src/ai/TokenCostCard/block.meta.d.ts
|
|
166
|
-
declare const meta$
|
|
172
|
+
declare const meta$73: BlockMeta;
|
|
167
173
|
//#endregion
|
|
168
174
|
//#region src/ai/PromptEditor/PromptEditor.d.ts
|
|
169
175
|
export interface PromptRunInput {
|
|
@@ -200,7 +206,7 @@ export declare function extractPromptVariables(...texts: string[]): string[];
|
|
|
200
206
|
export declare function PromptEditor({ title, defaultSystem, defaultUser, defaultVariables, variables: variablesProp, onVariablesChange, defaultTemperature, defaultMaxTokens, maxTokensLimit, onRun, titleAs: TitleTag, className }: PromptEditorProps): import("react").JSX.Element;
|
|
201
207
|
//#endregion
|
|
202
208
|
//#region src/ai/PromptEditor/block.meta.d.ts
|
|
203
|
-
declare const meta$
|
|
209
|
+
declare const meta$55: BlockMeta;
|
|
204
210
|
//#endregion
|
|
205
211
|
//#region src/ai/EvaluationScorecard/fixtures.d.ts
|
|
206
212
|
interface EvalMetric {
|
|
@@ -244,7 +250,7 @@ export interface EvaluationScorecardProps {
|
|
|
244
250
|
export declare function EvaluationScorecard({ metrics, rows, title, baselineLabel, passRateTolerance, titleAs: TitleTag, className }: EvaluationScorecardProps): import("react").JSX.Element;
|
|
245
251
|
//#endregion
|
|
246
252
|
//#region src/ai/EvaluationScorecard/block.meta.d.ts
|
|
247
|
-
declare const meta$
|
|
253
|
+
declare const meta$24: BlockMeta;
|
|
248
254
|
//#endregion
|
|
249
255
|
//#region src/ai/ModelKeysList/fixtures.d.ts
|
|
250
256
|
type ModelKeyStatus = 'connected' | 'failing' | 'untested' | 'revoked';
|
|
@@ -282,7 +288,7 @@ export interface ModelKeysListProps {
|
|
|
282
288
|
export declare function ModelKeysList({ keys, title, onTest, onRevoke, onAdd, titleAs, className }: ModelKeysListProps): import("react").JSX.Element;
|
|
283
289
|
//#endregion
|
|
284
290
|
//#region src/ai/ModelKeysList/block.meta.d.ts
|
|
285
|
-
declare const meta$
|
|
291
|
+
declare const meta$43: BlockMeta;
|
|
286
292
|
//#endregion
|
|
287
293
|
//#region src/auth/shared.d.ts
|
|
288
294
|
interface AuthHeaderProps {
|
|
@@ -331,6 +337,32 @@ interface AuthFormAccessibilityProps {
|
|
|
331
337
|
'aria-label'?: string;
|
|
332
338
|
'aria-labelledby'?: string;
|
|
333
339
|
}
|
|
340
|
+
/** Ordered text/email fields collected before the sign-up password. Ids must be unique. */
|
|
341
|
+
interface AuthSignUpField {
|
|
342
|
+
id: string;
|
|
343
|
+
label: string;
|
|
344
|
+
placeholder?: string;
|
|
345
|
+
help?: ReactNode;
|
|
346
|
+
required?: boolean;
|
|
347
|
+
type?: 'text' | 'email';
|
|
348
|
+
autoComplete?: string;
|
|
349
|
+
/** Consumer copy for kit-owned validation. */
|
|
350
|
+
messages?: {
|
|
351
|
+
required?: string;
|
|
352
|
+
invalid?: string;
|
|
353
|
+
};
|
|
354
|
+
}
|
|
355
|
+
/** Consumer-owned copy and optional action when account creation is unavailable. */
|
|
356
|
+
interface AuthUnavailableState {
|
|
357
|
+
title: ReactNode;
|
|
358
|
+
message: ReactNode;
|
|
359
|
+
action?: ReactNode;
|
|
360
|
+
}
|
|
361
|
+
/** Kit-owned sign-up validation with consumer-owned copy. */
|
|
362
|
+
interface AuthSignUpValidationMessages {
|
|
363
|
+
passwordTooShort?: (minimum: number) => string;
|
|
364
|
+
termsRequired?: string;
|
|
365
|
+
}
|
|
334
366
|
//#endregion
|
|
335
367
|
//#region src/auth/ForgotPasswordForm/ForgotPasswordForm.d.ts
|
|
336
368
|
export interface ForgotPasswordFormRef {
|
|
@@ -367,7 +399,7 @@ export interface ForgotPasswordFormProps extends AuthFormAccessibilityProps {
|
|
|
367
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;
|
|
368
400
|
//#endregion
|
|
369
401
|
//#region src/auth/ForgotPasswordForm/block.meta.d.ts
|
|
370
|
-
declare const meta$
|
|
402
|
+
declare const meta$30: BlockMeta;
|
|
371
403
|
//#endregion
|
|
372
404
|
//#region src/auth/MfaChallenge/MfaChallenge.d.ts
|
|
373
405
|
export type MfaMethod = 'code' | 'backup';
|
|
@@ -399,7 +431,7 @@ export interface MfaChallengeProps {
|
|
|
399
431
|
export declare function MfaChallenge({ onVerify, onResend, resendCooldown, initialCooldown, length, destination, error: errorProp, loading: loadingProp, onCancel, eyebrow, title, className }: MfaChallengeProps): import("react").JSX.Element;
|
|
400
432
|
//#endregion
|
|
401
433
|
//#region src/auth/MfaChallenge/block.meta.d.ts
|
|
402
|
-
declare const meta$
|
|
434
|
+
declare const meta$42: BlockMeta;
|
|
403
435
|
//#endregion
|
|
404
436
|
//#region src/auth/ResetPasswordForm/ResetPasswordForm.d.ts
|
|
405
437
|
export interface ResetPasswordFormProps {
|
|
@@ -416,7 +448,7 @@ export interface ResetPasswordFormProps {
|
|
|
416
448
|
export declare function ResetPasswordForm({ onSubmit, error: errorProp, minPasswordLength, onContinue, eyebrow, className }: ResetPasswordFormProps): import("react").JSX.Element;
|
|
417
449
|
//#endregion
|
|
418
450
|
//#region src/auth/ResetPasswordForm/block.meta.d.ts
|
|
419
|
-
declare const meta$
|
|
451
|
+
declare const meta$57: BlockMeta;
|
|
420
452
|
//#endregion
|
|
421
453
|
//#region src/auth/SignInForm/SignInForm.d.ts
|
|
422
454
|
export interface SignInValues {
|
|
@@ -463,21 +495,34 @@ export interface SignInFormProps extends AuthFormAccessibilityProps {
|
|
|
463
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;
|
|
464
496
|
//#endregion
|
|
465
497
|
//#region src/auth/SignInForm/block.meta.d.ts
|
|
466
|
-
declare const meta$
|
|
498
|
+
declare const meta$62: BlockMeta;
|
|
467
499
|
//#endregion
|
|
468
500
|
//#region src/auth/SignUpForm/SignUpForm.d.ts
|
|
469
501
|
export interface SignUpValues {
|
|
470
502
|
name: string;
|
|
471
503
|
email: string;
|
|
472
504
|
password: string;
|
|
505
|
+
/** Present only in configured mode. Text/email values are trimmed and keyed by field id. */
|
|
506
|
+
fields?: Record<string, string>;
|
|
473
507
|
}
|
|
474
508
|
export interface SignUpFormProps {
|
|
509
|
+
/** Ordered text/email inputs before Password. Omit to keep the default fields and payload. */
|
|
510
|
+
fields?: readonly AuthSignUpField[];
|
|
511
|
+
messages?: AuthSignUpValidationMessages;
|
|
512
|
+
/** Replaces all account creation controls with a consumer-supplied callout. */
|
|
513
|
+
unavailable?: AuthUnavailableState;
|
|
514
|
+
/** Resolving policy, separate from loading (an account submission). No form is rendered. */
|
|
515
|
+
policyLoading?: boolean;
|
|
475
516
|
/** Creates the account. A returned promise shows the loading state; a rejection shows in the alert. */
|
|
476
517
|
onSubmit?: (values: SignUpValues) => void | Promise<void>;
|
|
477
518
|
error?: string | null;
|
|
478
519
|
loading?: boolean;
|
|
479
|
-
/**
|
|
520
|
+
/** Optional password guidance; receives the current minimum length when a function is supplied. */
|
|
521
|
+
passwordHelp?: ReactNode | ((minimum: number) => ReactNode);
|
|
522
|
+
/** Minimum password length. Defaults to 8. */
|
|
480
523
|
minPasswordLength?: number;
|
|
524
|
+
/** Omit to require consent; false removes the checkbox and consent validation. */
|
|
525
|
+
terms?: false;
|
|
481
526
|
termsHref?: string;
|
|
482
527
|
privacyHref?: string;
|
|
483
528
|
signInHref?: string;
|
|
@@ -490,10 +535,10 @@ export interface SignUpFormProps {
|
|
|
490
535
|
className?: string;
|
|
491
536
|
}
|
|
492
537
|
/** Account creation: name, work email, password with a strength meter and a required terms checkbox. */
|
|
493
|
-
export declare function SignUpForm({ onSubmit, error: errorProp, loading: loadingProp, minPasswordLength, termsHref, privacyHref, signInHref, onSignIn, sso, eyebrow, title, description, className }: SignUpFormProps): import("react").JSX.Element;
|
|
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;
|
|
494
539
|
//#endregion
|
|
495
540
|
//#region src/auth/SignUpForm/block.meta.d.ts
|
|
496
|
-
declare const meta$
|
|
541
|
+
declare const meta$63: BlockMeta;
|
|
497
542
|
//#endregion
|
|
498
543
|
//#region src/auth/SsoButtons/fixtures.d.ts
|
|
499
544
|
interface SsoProvider {
|
|
@@ -523,7 +568,7 @@ export interface SsoButtonsProps {
|
|
|
523
568
|
export declare function SsoButtons({ providers, onSelect, loadingId, disabled, layout, label, className }: SsoButtonsProps): import("react").JSX.Element;
|
|
524
569
|
//#endregion
|
|
525
570
|
//#region src/auth/SsoButtons/block.meta.d.ts
|
|
526
|
-
declare const meta$
|
|
571
|
+
declare const meta$66: BlockMeta;
|
|
527
572
|
//#endregion
|
|
528
573
|
//#region src/billing/format.d.ts
|
|
529
574
|
/** Shared formatting for the billing blocks (en-US, Intl). */
|
|
@@ -592,7 +637,7 @@ export type PlanCardProps = BillingPlanCardProps | PlanSummaryProps;
|
|
|
592
637
|
export declare function PlanCard(props: PlanCardProps): import("react").JSX.Element;
|
|
593
638
|
//#endregion
|
|
594
639
|
//#region src/billing/PlanCard/block.meta.d.ts
|
|
595
|
-
declare const meta$
|
|
640
|
+
declare const meta$51: BlockMeta;
|
|
596
641
|
//#endregion
|
|
597
642
|
//#region src/billing/PlanCard/fixtures.d.ts
|
|
598
643
|
/** Sample current plan (neutral workspace data). */
|
|
@@ -623,7 +668,7 @@ export interface PlanDefinitionCardProps {
|
|
|
623
668
|
export declare function PlanDefinitionCard({ plan, density, actions, statusLabels, titleAs: TitleTag, className }: PlanDefinitionCardProps): import("react").JSX.Element;
|
|
624
669
|
//#endregion
|
|
625
670
|
//#region src/billing/PlanDefinitionCard/block.meta.d.ts
|
|
626
|
-
declare const meta$
|
|
671
|
+
declare const meta$52: BlockMeta;
|
|
627
672
|
//#endregion
|
|
628
673
|
//#region src/billing/PlanDefinitionCard/fixtures.d.ts
|
|
629
674
|
export declare const samplePlanDefinition: PlanDefinition;
|
|
@@ -660,7 +705,7 @@ export interface QuotaMetersProps {
|
|
|
660
705
|
export declare function QuotaMeters({ quotas, title, thresholds, formatValue, defaultScope, onScopeChange, titleAs: TitleTag, className }: QuotaMetersProps): import("react").JSX.Element;
|
|
661
706
|
//#endregion
|
|
662
707
|
//#region src/billing/QuotaMeters/block.meta.d.ts
|
|
663
|
-
declare const meta$
|
|
708
|
+
declare const meta$56: BlockMeta;
|
|
664
709
|
//#endregion
|
|
665
710
|
//#region src/billing/QuotaMeters/fixtures.d.ts
|
|
666
711
|
/** Sample plan quotas: usage so far this cycle and the end-of-cycle projection. */
|
|
@@ -693,7 +738,7 @@ export interface SpendVsBudgetProps {
|
|
|
693
738
|
export declare function SpendVsBudget({ data, budget, currency, title, period, height, titleAs: TitleTag, className }: SpendVsBudgetProps): import("react").JSX.Element;
|
|
694
739
|
//#endregion
|
|
695
740
|
//#region src/billing/SpendVsBudget/block.meta.d.ts
|
|
696
|
-
declare const meta$
|
|
741
|
+
declare const meta$65: BlockMeta;
|
|
697
742
|
//#endregion
|
|
698
743
|
//#region src/billing/SpendVsBudget/fixtures.d.ts
|
|
699
744
|
/**
|
|
@@ -734,7 +779,7 @@ export interface InvoiceTableProps {
|
|
|
734
779
|
export declare function InvoiceTable({ invoices, caption, showCaption, currency, onDownload, density, className }: InvoiceTableProps): import("react").JSX.Element;
|
|
735
780
|
//#endregion
|
|
736
781
|
//#region src/billing/InvoiceTable/block.meta.d.ts
|
|
737
|
-
declare const meta$
|
|
782
|
+
declare const meta$37: BlockMeta;
|
|
738
783
|
//#endregion
|
|
739
784
|
//#region src/billing/InvoiceTable/fixtures.d.ts
|
|
740
785
|
/** Sample invoice history. */
|
|
@@ -768,7 +813,7 @@ export interface PaymentMethodCardProps {
|
|
|
768
813
|
export declare function PaymentMethodCard({ method, title, description, onUpdate, onRemove, updateLabel, titleAs, className }: PaymentMethodCardProps): import("react").JSX.Element;
|
|
769
814
|
//#endregion
|
|
770
815
|
//#region src/billing/PaymentMethodCard/block.meta.d.ts
|
|
771
|
-
declare const meta$
|
|
816
|
+
declare const meta$49: BlockMeta;
|
|
772
817
|
//#endregion
|
|
773
818
|
//#region src/billing/PaymentMethodCard/fixtures.d.ts
|
|
774
819
|
/** Sample default payment method. */
|
|
@@ -922,7 +967,7 @@ interface RunConsoleProps {
|
|
|
922
967
|
export declare function RunConsole({ entries, onClear, titleAs: TitleTag }: RunConsoleProps): import("react").JSX.Element;
|
|
923
968
|
//#endregion
|
|
924
969
|
//#region src/builders/FlowBuilder/block.meta.d.ts
|
|
925
|
-
declare const meta$
|
|
970
|
+
declare const meta$29: BlockMeta;
|
|
926
971
|
//#endregion
|
|
927
972
|
//#region src/builders/CodePanel/fixtures.d.ts
|
|
928
973
|
interface CodeFile {
|
|
@@ -1044,7 +1089,7 @@ export interface LogViewerProps {
|
|
|
1044
1089
|
export declare function LogViewer({ lines, title, height, rowHeight, overscan, defaultLevels, defaultFollow, onCopyLine, onSelectLine, selectedLineId, announceLines, titleAs: TitleTag, className }: LogViewerProps): import("react").JSX.Element;
|
|
1045
1090
|
//#endregion
|
|
1046
1091
|
//#region src/builders/LogViewer/block.meta.d.ts
|
|
1047
|
-
declare const meta$
|
|
1092
|
+
declare const meta$40: BlockMeta;
|
|
1048
1093
|
//#endregion
|
|
1049
1094
|
//#region src/data-display/shared/TrendDelta.d.ts
|
|
1050
1095
|
/** Arrow shape of a change. */
|
|
@@ -1097,7 +1142,7 @@ export interface KpiRowProps {
|
|
|
1097
1142
|
export declare function KpiRow({ items, variant, showTrends, label, className }: KpiRowProps): import("react").JSX.Element;
|
|
1098
1143
|
//#endregion
|
|
1099
1144
|
//#region src/data-display/KpiRow/block.meta.d.ts
|
|
1100
|
-
declare const meta$
|
|
1145
|
+
declare const meta$38: BlockMeta;
|
|
1101
1146
|
//#endregion
|
|
1102
1147
|
//#region src/data-display/KpiRow/fixtures.d.ts
|
|
1103
1148
|
/** Four project KPIs: note latency and spend — same arrow logic, different sentiment. */
|
|
@@ -1143,7 +1188,7 @@ export interface StatCardProps {
|
|
|
1143
1188
|
export declare function StatCard({ label, icon: IconCmp, ranges, defaultRange, range: rangeProp, onRangeChange, chart, tone, action, titleAs: TitleTag, className }: StatCardProps): import("react").JSX.Element;
|
|
1144
1189
|
//#endregion
|
|
1145
1190
|
//#region src/data-display/StatCard/block.meta.d.ts
|
|
1146
|
-
declare const meta$
|
|
1191
|
+
declare const meta$67: BlockMeta;
|
|
1147
1192
|
//#endregion
|
|
1148
1193
|
//#region src/data-display/StatCard/fixtures.d.ts
|
|
1149
1194
|
/** Requests per range: the value and delta recalculate when the range changes. */
|
|
@@ -1273,7 +1318,7 @@ export interface DescriptionListCardProps {
|
|
|
1273
1318
|
export declare function DescriptionListCard({ title, description, items, onEdit, editLabel, onCopy, titleAs, className }: DescriptionListCardProps): import("react").JSX.Element;
|
|
1274
1319
|
//#endregion
|
|
1275
1320
|
//#region src/data-display/DescriptionListCard/block.meta.d.ts
|
|
1276
|
-
declare const meta$
|
|
1321
|
+
declare const meta$19: BlockMeta;
|
|
1277
1322
|
//#endregion
|
|
1278
1323
|
//#region src/data-display/DescriptionListCard/fixtures.d.ts
|
|
1279
1324
|
/** Configuration of a deployment. */
|
|
@@ -1318,7 +1363,7 @@ export interface ResourceCardGridProps {
|
|
|
1318
1363
|
export declare function ResourceCardGrid({ items, label, onAction, getActions, columns, titleAs: TitleTag, className }: ResourceCardGridProps): import("react").JSX.Element;
|
|
1319
1364
|
//#endregion
|
|
1320
1365
|
//#region src/data-display/ResourceCardGrid/block.meta.d.ts
|
|
1321
|
-
declare const meta$
|
|
1366
|
+
declare const meta$58: BlockMeta;
|
|
1322
1367
|
//#endregion
|
|
1323
1368
|
//#region src/data-display/ResourceCardGrid/fixtures.d.ts
|
|
1324
1369
|
/** Project resources. */
|
|
@@ -1361,7 +1406,7 @@ export interface StatusTimelineProps {
|
|
|
1361
1406
|
export declare function StatusTimeline({ events, label: labelProp, emptyLabel: emptyLabelProp, showFewerLabel: showFewerLabelProp, showEarlierLabel: showEarlierLabelProp, actorLabel: actorLabelProp, maxVisible, timeFormat, className }: StatusTimelineProps): import("react").JSX.Element;
|
|
1362
1407
|
//#endregion
|
|
1363
1408
|
//#region src/data-display/StatusTimeline/block.meta.d.ts
|
|
1364
|
-
declare const meta$
|
|
1409
|
+
declare const meta$68: BlockMeta;
|
|
1365
1410
|
//#endregion
|
|
1366
1411
|
//#region src/data-display/StatusTimeline/fixtures.d.ts
|
|
1367
1412
|
/** State changes of a deployment, newest first. */
|
|
@@ -1484,7 +1529,7 @@ export interface SystemBannerProps {
|
|
|
1484
1529
|
export declare function SystemBanner({ kind, title, message, action, dismissible, open, onDismiss, className }: SystemBannerProps): import("react").JSX.Element | null;
|
|
1485
1530
|
//#endregion
|
|
1486
1531
|
//#region src/feedback/SystemBanner/block.meta.d.ts
|
|
1487
|
-
declare const meta$
|
|
1532
|
+
declare const meta$71: BlockMeta;
|
|
1488
1533
|
//#endregion
|
|
1489
1534
|
//#region src/feedback/InlineCallout/InlineCallout.d.ts
|
|
1490
1535
|
export interface InlineCalloutProps {
|
|
@@ -1505,7 +1550,7 @@ export interface InlineCalloutProps {
|
|
|
1505
1550
|
export declare function InlineCallout({ tone, title, description, actions, icon, dismissible, open, onDismiss, className }: InlineCalloutProps): import("react").JSX.Element | null;
|
|
1506
1551
|
//#endregion
|
|
1507
1552
|
//#region src/feedback/InlineCallout/block.meta.d.ts
|
|
1508
|
-
declare const meta$
|
|
1553
|
+
declare const meta$34: BlockMeta;
|
|
1509
1554
|
//#endregion
|
|
1510
1555
|
//#region src/feedback/EmptyStates/EmptyStates.d.ts
|
|
1511
1556
|
interface SharedEmptyProps {
|
|
@@ -1515,6 +1560,14 @@ interface SharedEmptyProps {
|
|
|
1515
1560
|
bordered?: boolean;
|
|
1516
1561
|
className?: string;
|
|
1517
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;
|
|
1518
1571
|
export interface FirstRunEmptyProps extends SharedEmptyProps {
|
|
1519
1572
|
icon?: LucideIcon;
|
|
1520
1573
|
title?: ReactNode;
|
|
@@ -1568,9 +1621,13 @@ export declare const noAccessSample: {
|
|
|
1568
1621
|
readonly resource: "Billing";
|
|
1569
1622
|
readonly owner: "an organization admin";
|
|
1570
1623
|
};
|
|
1624
|
+
export declare const notFoundSample: {
|
|
1625
|
+
readonly title: "Resource not found";
|
|
1626
|
+
readonly description: "This resource may have been deleted or moved.";
|
|
1627
|
+
};
|
|
1571
1628
|
//#endregion
|
|
1572
1629
|
//#region src/feedback/EmptyStates/block.meta.d.ts
|
|
1573
|
-
declare const meta$
|
|
1630
|
+
declare const meta$21: BlockMeta;
|
|
1574
1631
|
//#endregion
|
|
1575
1632
|
//#region src/feedback/Skeletons/Skeletons.d.ts
|
|
1576
1633
|
export interface TableSkeletonProps {
|
|
@@ -1601,9 +1658,24 @@ export interface PageSkeletonProps {
|
|
|
1601
1658
|
export declare function PageSkeleton({ stats, rows, label: labelProp, className }: PageSkeletonProps): import("react").JSX.Element;
|
|
1602
1659
|
//#endregion
|
|
1603
1660
|
//#region src/feedback/Skeletons/block.meta.d.ts
|
|
1604
|
-
declare const meta$
|
|
1661
|
+
declare const meta$64: BlockMeta;
|
|
1605
1662
|
//#endregion
|
|
1606
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
|
+
};
|
|
1607
1679
|
export interface ConfirmDestructiveProps {
|
|
1608
1680
|
/** Exact name the user must type to unlock the action. */
|
|
1609
1681
|
resourceName?: string;
|
|
@@ -1622,12 +1694,18 @@ export interface ConfirmDestructiveProps {
|
|
|
1622
1694
|
onOpenChange?: (open: boolean) => void;
|
|
1623
1695
|
/** Runs on confirm. Returning a promise keeps the dialog open with a spinner until it settles; a rejection shows its message. */
|
|
1624
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>;
|
|
1625
1703
|
}
|
|
1626
1704
|
/**
|
|
1627
1705
|
* Typed-confirmation for irreversible actions: an AlertDialog whose destructive button stays
|
|
1628
1706
|
* disabled until the resource name is typed exactly.
|
|
1629
1707
|
*/
|
|
1630
|
-
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;
|
|
1631
1709
|
//#endregion
|
|
1632
1710
|
//#region src/feedback/ConfirmDestructive/block.meta.d.ts
|
|
1633
1711
|
declare const meta$11: BlockMeta;
|
|
@@ -1653,12 +1731,14 @@ export interface ErrorPanelProps {
|
|
|
1653
1731
|
secondaryAction?: FeedbackAction | null;
|
|
1654
1732
|
titleAs?: 'h2' | 'h3';
|
|
1655
1733
|
className?: string;
|
|
1734
|
+
/** Disable the status region when a parent owns announcements. */
|
|
1735
|
+
announce?: boolean;
|
|
1656
1736
|
}
|
|
1657
1737
|
/** Error summary for a failed load or action: what happened, request id, retry and technical details. */
|
|
1658
|
-
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;
|
|
1659
1739
|
//#endregion
|
|
1660
1740
|
//#region src/feedback/ErrorPanel/block.meta.d.ts
|
|
1661
|
-
declare const meta$
|
|
1741
|
+
declare const meta$23: BlockMeta;
|
|
1662
1742
|
//#endregion
|
|
1663
1743
|
//#region src/forms/DangerZone/fixtures.d.ts
|
|
1664
1744
|
interface DangerZoneAction {
|
|
@@ -1691,7 +1771,7 @@ export interface DangerZoneProps {
|
|
|
1691
1771
|
export declare function DangerZone({ title, description, actions, onConfirm, headingLevel: Heading, className }: DangerZoneProps): import("react").JSX.Element;
|
|
1692
1772
|
//#endregion
|
|
1693
1773
|
//#region src/forms/DangerZone/block.meta.d.ts
|
|
1694
|
-
declare const meta$
|
|
1774
|
+
declare const meta$16: BlockMeta;
|
|
1695
1775
|
//#endregion
|
|
1696
1776
|
//#region src/forms/CreateApiKeyDialog/fixtures.d.ts
|
|
1697
1777
|
interface ApiKeyScope {
|
|
@@ -1799,7 +1879,7 @@ export interface DateRangeFilterProps {
|
|
|
1799
1879
|
export declare function DateRangeFilter({ value, defaultValue, onValueChange, presets, today, label: labelProp, placeholder: placeholderProp, clearable, disabled, className }: DateRangeFilterProps): import("react").JSX.Element;
|
|
1800
1880
|
//#endregion
|
|
1801
1881
|
//#region src/forms/DateRangeFilter/block.meta.d.ts
|
|
1802
|
-
declare const meta$
|
|
1882
|
+
declare const meta$18: BlockMeta;
|
|
1803
1883
|
//#endregion
|
|
1804
1884
|
//#region src/forms/FileUploadPanel/fixtures.d.ts
|
|
1805
1885
|
type UploadStatus = 'uploading' | 'done' | 'error';
|
|
@@ -1844,7 +1924,7 @@ export interface FileUploadPanelProps {
|
|
|
1844
1924
|
export declare function FileUploadPanel({ accept, maxSize, multiple, defaultFiles, onUpload, onRemove, label: labelProp, hint, disabled, className }: FileUploadPanelProps): import("react").JSX.Element;
|
|
1845
1925
|
//#endregion
|
|
1846
1926
|
//#region src/forms/FileUploadPanel/block.meta.d.ts
|
|
1847
|
-
declare const meta$
|
|
1927
|
+
declare const meta$27: BlockMeta;
|
|
1848
1928
|
//#endregion
|
|
1849
1929
|
//#region src/forms/FormSection/FormSection.d.ts
|
|
1850
1930
|
export interface FormSectionProps extends Omit<HTMLAttributes<HTMLElement>, 'title' | 'className'> {
|
|
@@ -1869,7 +1949,7 @@ export interface FormSectionProps extends Omit<HTMLAttributes<HTMLElement>, 'tit
|
|
|
1869
1949
|
export declare function FormSection({ title, description, children, actions, headingLevel: Heading, divided, className, ...props }: FormSectionProps): import("react").JSX.Element;
|
|
1870
1950
|
//#endregion
|
|
1871
1951
|
//#region src/forms/FormSection/block.meta.d.ts
|
|
1872
|
-
declare const meta$
|
|
1952
|
+
declare const meta$31: BlockMeta;
|
|
1873
1953
|
//#endregion
|
|
1874
1954
|
//#region src/forms/InviteMembersDialog/fixtures.d.ts
|
|
1875
1955
|
interface RoleOption {
|
|
@@ -1904,7 +1984,7 @@ export interface InviteMembersDialogProps {
|
|
|
1904
1984
|
export declare function InviteMembersDialog({ roles, defaultRole, onInvite, maxInvites, open: openProp, defaultOpen, onOpenChange, trigger, title, description }: InviteMembersDialogProps): import("react").JSX.Element;
|
|
1905
1985
|
//#endregion
|
|
1906
1986
|
//#region src/forms/InviteMembersDialog/block.meta.d.ts
|
|
1907
|
-
declare const meta$
|
|
1987
|
+
declare const meta$36: BlockMeta;
|
|
1908
1988
|
//#endregion
|
|
1909
1989
|
//#region src/forms/SettingsRow/SettingsRow.d.ts
|
|
1910
1990
|
export interface SettingsRowControlIds {
|
|
@@ -1933,7 +2013,7 @@ export interface SettingsRowProps {
|
|
|
1933
2013
|
export declare function SettingsRow({ label, description, control, checked, defaultChecked, onCheckedChange, disabled, children, className }: SettingsRowProps): import("react").JSX.Element;
|
|
1934
2014
|
//#endregion
|
|
1935
2015
|
//#region src/forms/SettingsRow/block.meta.d.ts
|
|
1936
|
-
declare const meta$
|
|
2016
|
+
declare const meta$61: BlockMeta;
|
|
1937
2017
|
//#endregion
|
|
1938
2018
|
//#region src/forms/ValidationSummary/fixtures.d.ts
|
|
1939
2019
|
interface ValidationIssue {
|
|
@@ -1973,7 +2053,7 @@ export interface DialogWizardProps extends Omit<WizardLayoutProps, 'mode' | 'ste
|
|
|
1973
2053
|
export declare function DialogWizard({ steps, current, size, stepError, reviewStep, children, title, ...props }: DialogWizardProps): import("react").JSX.Element;
|
|
1974
2054
|
//#endregion
|
|
1975
2055
|
//#region src/forms/DialogWizard/block.meta.d.ts
|
|
1976
|
-
declare const meta$
|
|
2056
|
+
declare const meta$20: BlockMeta;
|
|
1977
2057
|
//#endregion
|
|
1978
2058
|
//#region src/forms/DialogWizard/fixtures.d.ts
|
|
1979
2059
|
/** Example data only; consumers own every label and all step state. */
|
|
@@ -2003,7 +2083,7 @@ export declare const dialogWizardCopy: {
|
|
|
2003
2083
|
};
|
|
2004
2084
|
//#endregion
|
|
2005
2085
|
//#region src/forms/ValidationSummary/block.meta.d.ts
|
|
2006
|
-
declare const meta$
|
|
2086
|
+
declare const meta$76: BlockMeta;
|
|
2007
2087
|
//#endregion
|
|
2008
2088
|
//#region src/forms/DangerZone/ConfirmDestructiveDialog.d.ts
|
|
2009
2089
|
interface ConfirmDestructiveDialogProps {
|
|
@@ -2058,7 +2138,7 @@ export declare function HeroScreenshotPlaceholder({ className }: {
|
|
|
2058
2138
|
export declare function Hero({ variant, eyebrow, title, description, primaryAction, secondaryAction, media, headingLevel: Heading, className }: HeroProps): import("react").JSX.Element;
|
|
2059
2139
|
//#endregion
|
|
2060
2140
|
//#region src/marketing/Hero/block.meta.d.ts
|
|
2061
|
-
declare const meta$
|
|
2141
|
+
declare const meta$33: BlockMeta;
|
|
2062
2142
|
//#endregion
|
|
2063
2143
|
//#region src/marketing/FeatureGrid/FeatureGrid.d.ts
|
|
2064
2144
|
export interface Feature {
|
|
@@ -2081,7 +2161,7 @@ export interface FeatureGridProps {
|
|
|
2081
2161
|
export declare function FeatureGrid({ features, eyebrow, title, description, columns, headingLevel: Heading, className }: FeatureGridProps): import("react").JSX.Element;
|
|
2082
2162
|
//#endregion
|
|
2083
2163
|
//#region src/marketing/FeatureGrid/block.meta.d.ts
|
|
2084
|
-
declare const meta$
|
|
2164
|
+
declare const meta$26: BlockMeta;
|
|
2085
2165
|
//#endregion
|
|
2086
2166
|
//#region src/marketing/FeatureGrid/fixtures.d.ts
|
|
2087
2167
|
/** Sample product-agnostic features. */
|
|
@@ -2151,7 +2231,7 @@ export interface PricingTableProps {
|
|
|
2151
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;
|
|
2152
2232
|
//#endregion
|
|
2153
2233
|
//#region src/marketing/PricingTable/block.meta.d.ts
|
|
2154
|
-
declare const meta$
|
|
2234
|
+
declare const meta$53: BlockMeta;
|
|
2155
2235
|
//#endregion
|
|
2156
2236
|
//#region src/marketing/PricingTable/fixtures.d.ts
|
|
2157
2237
|
/** Sample three-tier pricing. Prices are per month; annual is per month billed yearly. */
|
|
@@ -2180,7 +2260,7 @@ export interface FaqProps {
|
|
|
2180
2260
|
export declare function Faq({ items, title, description, layout, defaultOpen, multiple, headingLevel: Heading, className }: FaqProps): import("react").JSX.Element;
|
|
2181
2261
|
//#endregion
|
|
2182
2262
|
//#region src/marketing/Faq/block.meta.d.ts
|
|
2183
|
-
declare const meta$
|
|
2263
|
+
declare const meta$25: BlockMeta;
|
|
2184
2264
|
//#endregion
|
|
2185
2265
|
//#region src/marketing/Faq/fixtures.d.ts
|
|
2186
2266
|
/** Sample product-agnostic questions. */
|
|
@@ -2319,7 +2399,7 @@ export declare const pageHeaderActions: PageChromeAction[];
|
|
|
2319
2399
|
export declare const pageHeaderTabs: PageHeaderTab[];
|
|
2320
2400
|
//#endregion
|
|
2321
2401
|
//#region src/page-chrome/PageHeader/block.meta.d.ts
|
|
2322
|
-
declare const meta$
|
|
2402
|
+
declare const meta$46: BlockMeta;
|
|
2323
2403
|
//#endregion
|
|
2324
2404
|
//#region src/page-chrome/SectionHeader/SectionHeader.d.ts
|
|
2325
2405
|
export interface SectionHeaderProps {
|
|
@@ -2341,7 +2421,7 @@ export interface SectionHeaderProps {
|
|
|
2341
2421
|
export declare function SectionHeader({ title, description, count, actions, as: Heading, bordered, headingId, className }: SectionHeaderProps): import("react").JSX.Element;
|
|
2342
2422
|
//#endregion
|
|
2343
2423
|
//#region src/page-chrome/SectionHeader/block.meta.d.ts
|
|
2344
|
-
declare const meta$
|
|
2424
|
+
declare const meta$59: BlockMeta;
|
|
2345
2425
|
//#endregion
|
|
2346
2426
|
//#region src/page-chrome/PageToolbar/PageToolbar.d.ts
|
|
2347
2427
|
export interface PageToolbarView {
|
|
@@ -2379,7 +2459,7 @@ export declare function PageToolbar({ search, defaultSearch, onSearchChange, sea
|
|
|
2379
2459
|
export declare const pageToolbarViews: PageToolbarView[];
|
|
2380
2460
|
//#endregion
|
|
2381
2461
|
//#region src/page-chrome/PageToolbar/block.meta.d.ts
|
|
2382
|
-
declare const meta$
|
|
2462
|
+
declare const meta$47: BlockMeta;
|
|
2383
2463
|
//#endregion
|
|
2384
2464
|
//#region src/page-chrome/StickyActionBar/StickyActionBar.d.ts
|
|
2385
2465
|
export interface StickyActionBarProps {
|
|
@@ -2405,7 +2485,7 @@ export interface StickyActionBarProps {
|
|
|
2405
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;
|
|
2406
2486
|
//#endregion
|
|
2407
2487
|
//#region src/page-chrome/StickyActionBar/block.meta.d.ts
|
|
2408
|
-
declare const meta$
|
|
2488
|
+
declare const meta$69: BlockMeta;
|
|
2409
2489
|
//#endregion
|
|
2410
2490
|
//#region src/page-chrome/BulkActionBar/BulkActionBar.d.ts
|
|
2411
2491
|
export interface BulkActionBarProps {
|
|
@@ -2475,7 +2555,7 @@ export interface MonthCalendarProps {
|
|
|
2475
2555
|
export declare function MonthCalendar({ events, today, defaultMonth, onMonthChange, defaultSelected, onSelectDate, kinds, maxEventsPerDay, actions, className }: MonthCalendarProps): import("react").JSX.Element;
|
|
2476
2556
|
//#endregion
|
|
2477
2557
|
//#region src/scheduling/MonthCalendar/block.meta.d.ts
|
|
2478
|
-
declare const meta$
|
|
2558
|
+
declare const meta$44: BlockMeta;
|
|
2479
2559
|
//#endregion
|
|
2480
2560
|
//#region src/scheduling/WeekCalendar/WeekCalendar.d.ts
|
|
2481
2561
|
export interface WeekCalendarProps {
|
|
@@ -2504,7 +2584,7 @@ export interface WeekCalendarProps {
|
|
|
2504
2584
|
export declare function WeekCalendar({ events, today, now, defaultWeek, onWeekChange, onEventClick, kinds, scrollToHour, hourHeight, height, actions, className }: WeekCalendarProps): import("react").JSX.Element;
|
|
2505
2585
|
//#endregion
|
|
2506
2586
|
//#region src/scheduling/WeekCalendar/block.meta.d.ts
|
|
2507
|
-
declare const meta$
|
|
2587
|
+
declare const meta$77: BlockMeta;
|
|
2508
2588
|
//#endregion
|
|
2509
2589
|
//#region src/scheduling/AgendaList/AgendaList.d.ts
|
|
2510
2590
|
export interface AgendaListProps {
|
|
@@ -2568,7 +2648,7 @@ export interface TimeSlotPickerProps {
|
|
|
2568
2648
|
export declare function TimeSlotPicker({ slots, value, defaultValue, onValueChange, legend: legendProp, description, name, columns, maxHeight, className }: TimeSlotPickerProps): import("react").JSX.Element;
|
|
2569
2649
|
//#endregion
|
|
2570
2650
|
//#region src/scheduling/TimeSlotPicker/block.meta.d.ts
|
|
2571
|
-
declare const meta$
|
|
2651
|
+
declare const meta$72: BlockMeta;
|
|
2572
2652
|
//#endregion
|
|
2573
2653
|
//#region src/scheduling/TimeSlotPicker/fixtures.d.ts
|
|
2574
2654
|
/** Half-hour slots from 09:00 to 21:00 with a few already taken. */
|
|
@@ -2701,7 +2781,7 @@ export declare const appTopbarNotifications: NotificationItem[];
|
|
|
2701
2781
|
declare const meta$4: BlockMeta;
|
|
2702
2782
|
//#endregion
|
|
2703
2783
|
//#region src/shell/EnvironmentBadge/block.meta.d.ts
|
|
2704
|
-
declare const meta$
|
|
2784
|
+
declare const meta$22: BlockMeta;
|
|
2705
2785
|
//#endregion
|
|
2706
2786
|
//#region src/shell/GlobalSearch/GlobalSearch.d.ts
|
|
2707
2787
|
export type GlobalSearchGroup = 'pages' | 'records' | 'actions' | 'recent';
|
|
@@ -2736,7 +2816,7 @@ export declare const globalSearchActions: CommandItem[];
|
|
|
2736
2816
|
export declare const globalSearchRecent: CommandItem[];
|
|
2737
2817
|
//#endregion
|
|
2738
2818
|
//#region src/shell/GlobalSearch/block.meta.d.ts
|
|
2739
|
-
declare const meta$
|
|
2819
|
+
declare const meta$32: BlockMeta;
|
|
2740
2820
|
//#endregion
|
|
2741
2821
|
//#region src/tables/DataTable/data-table-utils.d.ts
|
|
2742
2822
|
export type SortDirectionValue = 'ascending' | 'descending';
|
|
@@ -2863,6 +2943,92 @@ export declare function setColumnPin(pinned: PinnedColumns, id: string, side: Pi
|
|
|
2863
2943
|
/** Display order: start-pinned columns (pin order), unpinned columns (column order), end-pinned columns. */
|
|
2864
2944
|
export declare function orderColumns<T>(columns: ReadonlyArray<DataTableColumn<T>>, pinned: PinnedColumns): Array<DataTableColumn<T>>;
|
|
2865
2945
|
//#endregion
|
|
2946
|
+
//#region src/tables/PaginationFooter/PaginationFooter.d.ts
|
|
2947
|
+
export interface PaginationFooterLabels {
|
|
2948
|
+
rowsPerPage: string;
|
|
2949
|
+
rowsPerPageLabel: string;
|
|
2950
|
+
rangeSummary: (from: number, to: number, total: number) => string;
|
|
2951
|
+
paginationNav: (noun: string) => string;
|
|
2952
|
+
previous: string;
|
|
2953
|
+
next: string;
|
|
2954
|
+
page: (page: number) => string;
|
|
2955
|
+
}
|
|
2956
|
+
export interface PaginationFooterProps {
|
|
2957
|
+
/** Per-key overrides; omitted keys retain the existing provider translations and defaults. */
|
|
2958
|
+
labels?: Partial<PaginationFooterLabels>;
|
|
2959
|
+
/** Total number of rows. */
|
|
2960
|
+
total?: number;
|
|
2961
|
+
/** Current page, 1-based (controlled). */
|
|
2962
|
+
page?: number;
|
|
2963
|
+
defaultPage?: number;
|
|
2964
|
+
onPageChange?: (page: number) => void;
|
|
2965
|
+
/** Rows per page (controlled). */
|
|
2966
|
+
pageSize?: number;
|
|
2967
|
+
defaultPageSize?: number;
|
|
2968
|
+
onPageSizeChange?: (pageSize: number) => void;
|
|
2969
|
+
pageSizeOptions?: readonly number[];
|
|
2970
|
+
/** What the rows are, for the accessible names ("Deployments"). */
|
|
2971
|
+
noun?: string;
|
|
2972
|
+
locale?: string;
|
|
2973
|
+
className?: string;
|
|
2974
|
+
}
|
|
2975
|
+
/** Table footer: rows-per-page Select, a "1–10 of 97" summary and numbered Pagination. Stacks on small screens. */
|
|
2976
|
+
export declare function PaginationFooter({ total, page: pageProp, defaultPage, onPageChange, pageSize: sizeProp, defaultPageSize, onPageSizeChange, pageSizeOptions, noun: nounProp, locale: localeProp, className, labels }: PaginationFooterProps): import("react").JSX.Element;
|
|
2977
|
+
//#endregion
|
|
2978
|
+
//#region src/tables/DataTable/labels.d.ts
|
|
2979
|
+
/** Per-instance table chrome, including the composed PaginationFooter. Caller data stays caller-owned. */
|
|
2980
|
+
interface DataTableLabels extends PaginationFooterLabels {
|
|
2981
|
+
/** Non-virtual table overflow region; virtualized regions keep the caller caption. */
|
|
2982
|
+
scrollRegion: string;
|
|
2983
|
+
selectionCount: (count: number) => string;
|
|
2984
|
+
columns: string;
|
|
2985
|
+
visibleColumns: string;
|
|
2986
|
+
pinColumns: string;
|
|
2987
|
+
pinnedLeft: string;
|
|
2988
|
+
pinnedRight: string;
|
|
2989
|
+
pinLeft: string;
|
|
2990
|
+
pinRight: string;
|
|
2991
|
+
unpinned: string;
|
|
2992
|
+
density: string;
|
|
2993
|
+
comfortable: string;
|
|
2994
|
+
compact: string;
|
|
2995
|
+
resizeColumn: (label: string) => string;
|
|
2996
|
+
columnWidth: (width: number) => string;
|
|
2997
|
+
defaultView: string;
|
|
2998
|
+
defaultViewOption: string;
|
|
2999
|
+
modified: string;
|
|
3000
|
+
views: string;
|
|
3001
|
+
saveChanges: string;
|
|
3002
|
+
saveAs: string;
|
|
3003
|
+
renameView: string;
|
|
3004
|
+
deleteView: string;
|
|
3005
|
+
resetChanges: string;
|
|
3006
|
+
saveViewTitle: string;
|
|
3007
|
+
renameViewTitle: string;
|
|
3008
|
+
viewName: string;
|
|
3009
|
+
cancel: string;
|
|
3010
|
+
saveView: string;
|
|
3011
|
+
rename: string;
|
|
3012
|
+
closeDialog: string;
|
|
3013
|
+
selection: string;
|
|
3014
|
+
selectAll: string;
|
|
3015
|
+
selectRow: (label: string) => string;
|
|
3016
|
+
selectGroup: (group: string) => string;
|
|
3017
|
+
groupRows: (count: number) => string;
|
|
3018
|
+
noGroup: string;
|
|
3019
|
+
actions: string;
|
|
3020
|
+
rowActions: (label: string) => string;
|
|
3021
|
+
emptyTitle: string;
|
|
3022
|
+
emptyDescription: string;
|
|
3023
|
+
loading: (caption: string) => string;
|
|
3024
|
+
editHint: string;
|
|
3025
|
+
editLabel: (column: string, row: string) => string;
|
|
3026
|
+
editError: string;
|
|
3027
|
+
enterNumber: string;
|
|
3028
|
+
minimumValue: (min: number) => string;
|
|
3029
|
+
maximumValue: (max: number) => string;
|
|
3030
|
+
}
|
|
3031
|
+
//#endregion
|
|
2866
3032
|
//#region src/tables/DataTable/editable-cell.d.ts
|
|
2867
3033
|
/** One committed cell edit, as `onCellEdit` receives it. */
|
|
2868
3034
|
interface DataTableCellEdit<T> {
|
|
@@ -2882,6 +3048,7 @@ interface DataTableCellEdit<T> {
|
|
|
2882
3048
|
type DataTableCellEditResult = void | boolean | string;
|
|
2883
3049
|
type DataTableCellEditHandler<T> = (edit: DataTableCellEdit<T>) => DataTableCellEditResult | Promise<DataTableCellEditResult>;
|
|
2884
3050
|
interface EditableCellProps<T> {
|
|
3051
|
+
labels?: Partial<DataTableLabels>;
|
|
2885
3052
|
row: T;
|
|
2886
3053
|
rowId: string;
|
|
2887
3054
|
rowLabel: string;
|
|
@@ -2897,7 +3064,7 @@ interface EditableCellProps<T> {
|
|
|
2897
3064
|
* edits); while editing, an input or a select: Enter or Tab commits, Escape cancels. `onCellEdit`
|
|
2898
3065
|
* can reject the value with a message, shown inline under the editor.
|
|
2899
3066
|
*/
|
|
2900
|
-
export declare function EditableCell<T>({ row, rowId, rowLabel, column, onCellEdit, hintId, children }: EditableCellProps<T>): import("react").JSX.Element;
|
|
3067
|
+
export declare function EditableCell<T>({ row, rowId, rowLabel, column, onCellEdit, hintId, children, labels }: EditableCellProps<T>): import("react").JSX.Element;
|
|
2901
3068
|
//#endregion
|
|
2902
3069
|
//#region src/tables/DataTable/views.d.ts
|
|
2903
3070
|
/** What a saved view captures. Every field is optional: a missing field keeps the table's default. */
|
|
@@ -2919,6 +3086,7 @@ interface DataTableView {
|
|
|
2919
3086
|
/** Whether two view states are equivalent (key order and empty values ignored). */
|
|
2920
3087
|
export declare function sameViewState(a: DataTableViewState, b: DataTableViewState): boolean;
|
|
2921
3088
|
interface ViewSwitcherProps {
|
|
3089
|
+
labels?: Partial<DataTableLabels>;
|
|
2922
3090
|
views: readonly DataTableView[];
|
|
2923
3091
|
activeId: string | null;
|
|
2924
3092
|
/** The table differs from the active view (or from the defaults when none is active). */
|
|
@@ -2931,10 +3099,12 @@ interface ViewSwitcherProps {
|
|
|
2931
3099
|
onReset: () => void;
|
|
2932
3100
|
}
|
|
2933
3101
|
/** "Views" menu: switch between saved views, save the current table as a view, rename, delete, reset. */
|
|
2934
|
-
declare function ViewSwitcher({ views, activeId, dirty, onSelect, onSaveAs, onSave, onRename, onDelete, onReset }: ViewSwitcherProps): import("react").JSX.Element;
|
|
3102
|
+
declare function ViewSwitcher({ labels, views, activeId, dirty, onSelect, onSaveAs, onSave, onRename, onDelete, onReset }: ViewSwitcherProps): import("react").JSX.Element;
|
|
2935
3103
|
//#endregion
|
|
2936
3104
|
//#region src/tables/DataTable/data-table-props.d.ts
|
|
2937
3105
|
interface DataTableCommonProps<T> {
|
|
3106
|
+
/** Per-key overrides; omitted keys keep existing defaults and provider translations. */
|
|
3107
|
+
labels?: Partial<DataTableLabels>;
|
|
2938
3108
|
rows?: readonly T[];
|
|
2939
3109
|
columns?: ReadonlyArray<DataTableColumn<T>>;
|
|
2940
3110
|
/** Stable row id (defaults to `row.id`). */
|
|
@@ -3050,20 +3220,41 @@ interface DataTableCommonProps<T> {
|
|
|
3050
3220
|
toolbar?: ReactNode;
|
|
3051
3221
|
className?: string;
|
|
3052
3222
|
}
|
|
3053
|
-
|
|
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> & (({
|
|
3054
3244
|
selectionMode: 'single';
|
|
3055
3245
|
paginated?: false;
|
|
3056
3246
|
/** Consumer-supplied accessible group label; the kit adds no default. */
|
|
3057
3247
|
legend?: ReactNode;
|
|
3058
3248
|
'aria-label'?: string;
|
|
3059
3249
|
'aria-labelledby'?: string;
|
|
3060
|
-
|
|
3250
|
+
paginationMode?: never;
|
|
3251
|
+
} & ClientPaginationProps) | ({
|
|
3061
3252
|
selectionMode?: 'none' | 'multiple';
|
|
3062
3253
|
paginated?: boolean;
|
|
3063
3254
|
legend?: never;
|
|
3064
3255
|
'aria-label'?: never;
|
|
3065
3256
|
'aria-labelledby'?: never;
|
|
3066
|
-
});
|
|
3257
|
+
} & (ClientPaginationProps | ServerPaginationProps)));
|
|
3067
3258
|
//#endregion
|
|
3068
3259
|
//#region src/tables/DataTable/fixtures.d.ts
|
|
3069
3260
|
interface DeploymentRow {
|
|
@@ -3089,7 +3280,7 @@ export declare const DEPLOYMENT_COLUMNS: DataTableColumn<DeploymentRow>[];
|
|
|
3089
3280
|
* and empty states, client-side sort + pagination, optional collapsible row groups (`groupBy`),
|
|
3090
3281
|
* column resize and pinning, row virtualization, inline cell editing and saved views.
|
|
3091
3282
|
*/
|
|
3092
|
-
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 }: 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;
|
|
3093
3284
|
//#endregion
|
|
3094
3285
|
//#region src/tables/DataTable/column-menu.d.ts
|
|
3095
3286
|
interface ColumnVisibilityMenuProps<T> {
|
|
@@ -3097,6 +3288,7 @@ interface ColumnVisibilityMenuProps<T> {
|
|
|
3097
3288
|
hidden: ReadonlySet<string>;
|
|
3098
3289
|
onToggle: (columnId: string, visible: boolean) => void;
|
|
3099
3290
|
label?: string;
|
|
3291
|
+
labels?: Partial<DataTableLabels>;
|
|
3100
3292
|
/** Pin side of a column; with `onPin`, the menu gets a "Pin columns" section. */
|
|
3101
3293
|
pinOf?: (columnId: string) => PinSide | null;
|
|
3102
3294
|
onPin?: (columnId: string, side: PinSide | null) => void;
|
|
@@ -3105,18 +3297,20 @@ interface ColumnVisibilityMenuProps<T> {
|
|
|
3105
3297
|
* "Columns" menu: one checkbox item per hideable column (the last visible column cannot be
|
|
3106
3298
|
* hidden) and, when pinning is on, a submenu per visible column to pin it left, right or unpin it.
|
|
3107
3299
|
*/
|
|
3108
|
-
export declare function ColumnVisibilityMenu<T>({ columns, hidden, onToggle, label: labelProp, pinOf, onPin }: ColumnVisibilityMenuProps<T>): import("react").JSX.Element;
|
|
3300
|
+
export declare function ColumnVisibilityMenu<T>({ columns, hidden, onToggle, label: labelProp, labels, pinOf, onPin }: ColumnVisibilityMenuProps<T>): import("react").JSX.Element;
|
|
3109
3301
|
//#endregion
|
|
3110
3302
|
//#region src/tables/DataTable/density-toggle.d.ts
|
|
3111
3303
|
interface DensityToggleProps {
|
|
3304
|
+
labels?: Partial<DataTableLabels>;
|
|
3112
3305
|
value: TableDensity;
|
|
3113
3306
|
onChange: (density: TableDensity) => void;
|
|
3114
3307
|
}
|
|
3115
3308
|
/** Two-icon segmented control: comfortable or compact rows. */
|
|
3116
|
-
export declare function DensityToggle({ value, onChange }: DensityToggleProps): import("react").JSX.Element;
|
|
3309
|
+
export declare function DensityToggle({ value, onChange, labels }: DensityToggleProps): import("react").JSX.Element;
|
|
3117
3310
|
//#endregion
|
|
3118
3311
|
//#region src/tables/DataTable/resize-handle.d.ts
|
|
3119
3312
|
interface ColumnResizeHandleProps {
|
|
3313
|
+
labels?: Partial<DataTableLabels>;
|
|
3120
3314
|
/** Column name for the accessible label ("Resize Region column"). */
|
|
3121
3315
|
label: string;
|
|
3122
3316
|
width: number;
|
|
@@ -3131,10 +3325,10 @@ interface ColumnResizeHandleProps {
|
|
|
3131
3325
|
* aria-valuenow/min/max (the width in px). Drag it with a pointer; from the keyboard,
|
|
3132
3326
|
* ArrowLeft/ArrowRight change the width by 10px (Shift: 50px), Home/End jump to the limits.
|
|
3133
3327
|
*/
|
|
3134
|
-
export declare function ColumnResizeHandle({ label, width, min, max, onResize, onResizeEnd }: ColumnResizeHandleProps): import("react").JSX.Element;
|
|
3328
|
+
export declare function ColumnResizeHandle({ label, width, min, max, onResize, onResizeEnd, labels }: ColumnResizeHandleProps): import("react").JSX.Element;
|
|
3135
3329
|
//#endregion
|
|
3136
3330
|
//#region src/tables/DataTable/block.meta.d.ts
|
|
3137
|
-
declare const meta$
|
|
3331
|
+
declare const meta$17: BlockMeta;
|
|
3138
3332
|
//#endregion
|
|
3139
3333
|
//#region src/tables/FilterBar/FilterBar.d.ts
|
|
3140
3334
|
export interface FilterField {
|
|
@@ -3152,7 +3346,22 @@ export interface SavedView {
|
|
|
3152
3346
|
query?: string;
|
|
3153
3347
|
filters: readonly ActiveFilter[];
|
|
3154
3348
|
}
|
|
3349
|
+
export interface FilterBarLabels {
|
|
3350
|
+
searchLandmark: string;
|
|
3351
|
+
searchLabel: string;
|
|
3352
|
+
searchPlaceholder: string;
|
|
3353
|
+
savedViewLabel: string;
|
|
3354
|
+
savedViewPlaceholder: string;
|
|
3355
|
+
addFilter: string;
|
|
3356
|
+
activeFilters: string;
|
|
3357
|
+
filters: string;
|
|
3358
|
+
clearAll: string;
|
|
3359
|
+
removeFilter: (field: string, value: string) => string;
|
|
3360
|
+
resultCount: (count: number) => string;
|
|
3361
|
+
}
|
|
3155
3362
|
export interface FilterBarProps {
|
|
3363
|
+
/** Per-key overrides take precedence over the legacy search props and provider catalog. */
|
|
3364
|
+
labels?: Partial<FilterBarLabels>;
|
|
3156
3365
|
fields?: readonly FilterField[];
|
|
3157
3366
|
/** Search text (controlled). */
|
|
3158
3367
|
query?: string;
|
|
@@ -3176,39 +3385,70 @@ export interface FilterBarProps {
|
|
|
3176
3385
|
* Filter bar: search Input, saved views Select, an "Add filter" Menu (multi-select per field),
|
|
3177
3386
|
* removable filter chips (Token) and Clear all.
|
|
3178
3387
|
*/
|
|
3179
|
-
export declare function FilterBar({ fields, query: queryProp, defaultQuery, onQueryChange, filters: filtersProp, defaultFilters, onFiltersChange, views, defaultView, onViewChange, searchLabel: searchLabelProp, placeholder, resultCount, className }: FilterBarProps): import("react").JSX.Element;
|
|
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;
|
|
3180
3389
|
//#endregion
|
|
3181
3390
|
//#region src/tables/FilterBar/block.meta.d.ts
|
|
3182
|
-
declare const meta$
|
|
3391
|
+
declare const meta$28: BlockMeta;
|
|
3183
3392
|
//#endregion
|
|
3184
3393
|
//#region src/tables/FilterBar/fixtures.d.ts
|
|
3185
3394
|
export declare const DEPLOYMENT_FILTER_FIELDS: FilterField[];
|
|
3186
3395
|
export declare const DEPLOYMENT_DEFAULT_FILTERS: ActiveFilter[];
|
|
3187
3396
|
export declare const DEPLOYMENT_SAVED_VIEWS: SavedView[];
|
|
3188
3397
|
//#endregion
|
|
3189
|
-
//#region src/tables/
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
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
|
|
3407
|
+
//#region src/tables/PaginationFooter/block.meta.d.ts
|
|
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>;
|
|
3205
3440
|
className?: string;
|
|
3206
3441
|
}
|
|
3207
|
-
/**
|
|
3208
|
-
|
|
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;
|
|
3209
3449
|
//#endregion
|
|
3210
|
-
//#region src/tables/
|
|
3211
|
-
declare const meta$
|
|
3450
|
+
//#region src/tables/LoadMoreFooter/block.meta.d.ts
|
|
3451
|
+
declare const meta$39: BlockMeta;
|
|
3212
3452
|
//#endregion
|
|
3213
3453
|
//#region src/tables/TruncatedCollectionFooter/TruncatedCollectionFooter.d.ts
|
|
3214
3454
|
export interface TruncatedCollectionFooterProps {
|
|
@@ -3234,7 +3474,7 @@ export interface TruncatedCollectionFooterProps {
|
|
|
3234
3474
|
export declare function TruncatedCollectionFooter({ visibleCount, hasMore, noun: nounProp, locale: localeProp, summaryLabel, formatCount, truncationNote, noteId, className }: TruncatedCollectionFooterProps): import("react").JSX.Element;
|
|
3235
3475
|
//#endregion
|
|
3236
3476
|
//#region src/tables/TruncatedCollectionFooter/block.meta.d.ts
|
|
3237
|
-
declare const meta$
|
|
3477
|
+
declare const meta$75: BlockMeta;
|
|
3238
3478
|
//#endregion
|
|
3239
3479
|
//#region src/tables/InlineEditRow/fixtures.d.ts
|
|
3240
3480
|
interface EditableMember {
|
|
@@ -3286,7 +3526,7 @@ export interface InlineEditTableProps<T extends object> {
|
|
|
3286
3526
|
export declare function InlineEditTable<T extends object = EditableMember>({ rows: initialRows, fields, getRowId, caption, onRowSave, className }: InlineEditTableProps<T>): import("react").JSX.Element;
|
|
3287
3527
|
//#endregion
|
|
3288
3528
|
//#region src/tables/InlineEditRow/block.meta.d.ts
|
|
3289
|
-
declare const meta$
|
|
3529
|
+
declare const meta$35: BlockMeta;
|
|
3290
3530
|
//#endregion
|
|
3291
3531
|
//#region src/tables/SubordinateList/SubordinateList.d.ts
|
|
3292
3532
|
export interface SubordinateListPagination {
|
|
@@ -3322,7 +3562,7 @@ export interface SubordinateListProps<T> {
|
|
|
3322
3562
|
export declare function SubordinateList<T>({ title, headingLevel, count, columns, rows, getRowId, pagination, loading, error, onRetry, emptyState }: SubordinateListProps<T>): import("react").JSX.Element;
|
|
3323
3563
|
//#endregion
|
|
3324
3564
|
//#region src/tables/SubordinateList/block.meta.d.ts
|
|
3325
|
-
declare const meta$
|
|
3565
|
+
declare const meta$70: BlockMeta;
|
|
3326
3566
|
//#endregion
|
|
3327
3567
|
//#region src/team/MembersTable/fixtures.d.ts
|
|
3328
3568
|
interface Member {
|
|
@@ -3353,7 +3593,7 @@ export interface MembersTableProps {
|
|
|
3353
3593
|
export declare function MembersTable({ members, roles, currentUserId, onRoleChange, onRemove, onEmail, caption, className }: MembersTableProps): import("react").JSX.Element;
|
|
3354
3594
|
//#endregion
|
|
3355
3595
|
//#region src/team/MembersTable/block.meta.d.ts
|
|
3356
|
-
declare const meta$
|
|
3596
|
+
declare const meta$41: BlockMeta;
|
|
3357
3597
|
//#endregion
|
|
3358
3598
|
//#region src/team/NotificationMatrix/fixtures.d.ts
|
|
3359
3599
|
interface NotificationChannel {
|
|
@@ -3390,7 +3630,7 @@ export interface NotificationMatrixProps {
|
|
|
3390
3630
|
export declare function NotificationMatrix({ channels, events, value: valueProp, defaultValue, onValueChange, caption, className }: NotificationMatrixProps): import("react").JSX.Element;
|
|
3391
3631
|
//#endregion
|
|
3392
3632
|
//#region src/team/NotificationMatrix/block.meta.d.ts
|
|
3393
|
-
declare const meta$
|
|
3633
|
+
declare const meta$45: BlockMeta;
|
|
3394
3634
|
//#endregion
|
|
3395
3635
|
//#region src/team/PendingInvitations/fixtures.d.ts
|
|
3396
3636
|
interface Invitation {
|
|
@@ -3419,7 +3659,7 @@ export interface PendingInvitationsProps {
|
|
|
3419
3659
|
export declare function PendingInvitations({ invitations, onResend, onRevoke, title, headingLevel: Heading, className }: PendingInvitationsProps): import("react").JSX.Element;
|
|
3420
3660
|
//#endregion
|
|
3421
3661
|
//#region src/team/PendingInvitations/block.meta.d.ts
|
|
3422
|
-
declare const meta$
|
|
3662
|
+
declare const meta$50: BlockMeta;
|
|
3423
3663
|
//#endregion
|
|
3424
3664
|
//#region src/team/ProfileHeader/fixtures.d.ts
|
|
3425
3665
|
interface ProfileMetaItem {
|
|
@@ -3453,7 +3693,7 @@ export interface ProfileHeaderProps {
|
|
|
3453
3693
|
export declare function ProfileHeader({ profile, onAvatarChange, onEdit, actions, headingLevel: Heading, className }: ProfileHeaderProps): import("react").JSX.Element;
|
|
3454
3694
|
//#endregion
|
|
3455
3695
|
//#region src/team/ProfileHeader/block.meta.d.ts
|
|
3456
|
-
declare const meta$
|
|
3696
|
+
declare const meta$54: BlockMeta;
|
|
3457
3697
|
//#endregion
|
|
3458
3698
|
//#region src/team/SessionsDevices/fixtures.d.ts
|
|
3459
3699
|
type DeviceKind = 'desktop' | 'mobile' | 'tablet';
|
|
@@ -3488,7 +3728,7 @@ export interface SessionsDevicesProps {
|
|
|
3488
3728
|
export declare function SessionsDevices({ sessions, onRevoke, onRevokeOthers, title, description, headingLevel: Heading, className }: SessionsDevicesProps): import("react").JSX.Element;
|
|
3489
3729
|
//#endregion
|
|
3490
3730
|
//#region src/team/SessionsDevices/block.meta.d.ts
|
|
3491
|
-
declare const meta$
|
|
3731
|
+
declare const meta$60: BlockMeta;
|
|
3492
3732
|
//#endregion
|
|
3493
|
-
export { type ApiKeyExpiry, type ApiKeyScope, type Assistant, type AssistantStatus, type AuthFormAccessibilityProps, type AuthHeaderProps, type AuthIdentifierConfig, 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 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
|
|
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 };
|
|
3494
3734
|
//# sourceMappingURL=index.d.ts.map
|