@cjlapao/ui-kit 0.2.6 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CapsuleBlueprint-BI0jdbTt.d.cts → CapsuleBlueprint-DzjbCo3k.d.cts} +29 -2
- package/dist/{CapsuleBlueprint-BI0jdbTt.d.ts → CapsuleBlueprint-DzjbCo3k.d.ts} +29 -2
- package/dist/index.cjs +12391 -4974
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1013 -165
- package/dist/index.d.cts +960 -16
- package/dist/index.d.ts +960 -16
- package/dist/index.js +12083 -4681
- package/dist/index.js.map +1 -1
- package/dist/markdown.cjs +489 -17
- package/dist/markdown.cjs.map +1 -1
- package/dist/markdown.d.cts +2 -2
- package/dist/markdown.d.ts +2 -2
- package/dist/markdown.js +489 -17
- package/dist/markdown.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { ButtonHTMLAttributes, ReactNode, HTMLAttributes, ReactElement, InputHTMLAttributes, TextareaHTMLAttributes, SelectHTMLAttributes, MouseEvent, CSSProperties, SVGProps } from 'react';
|
|
3
|
-
import { A as AlertIntent, T as TrueColor, a as AlertVariant, C as ControlSize, S as SurfaceCorner, b as AlertIconAlign, G as GlassOpacity, c as GlassVibrancy, d as SpecularMode, O as Orientation, B as ButtonVariant, e as ButtonWeight, f as SurfacePadding, g as SurfaceVariant, I as IconName, h as GlowIntensity, i as InputVariant, j as SliderVariant, V as ValidationStatus, k as ToggleVariant, P as PlainSurfaceVariant, l as ToastPosition, m as ToastMode, n as Size, o as SidebarVariant, p as SidebarSide, q as SidebarCollapsible, r as SurfaceTextTokens, H as HelpButtonProps, s as TableDensity, t as ApiErrorKind, u as CapsuleBlueprintParameter } from './CapsuleBlueprint-
|
|
4
|
-
export { v as ALERT_ICON_ALIGNMENTS, w as ALERT_INTENTS, x as ALERT_INTENT_CONFIG, y as ALERT_VARIANTS, z as API_ERROR_KINDS, D as API_ERROR_KIND_CONFIG, E as AlertIntentConfig, F as AlertVariantTokens, J as ApiErrorKindConfig, K as BUTTON_VARIANTS, L as BUTTON_WEIGHTS, M as BreadcrumbSizeTokens, N as BreadcrumbToneTokens, Q as CASCADE_EXPAND, R as CONTROL_SIZES, U as CapsuleBlueprintValueType, W as CheckboxControlTokens, X as CheckboxVariantTokens, Y as CollapsibleHelpToneTokens, Z as ControlSizeTokens, _ as DEFAULT_CONTROL_CORNER, $ as DEFAULT_GLOW_INTENSITY, a0 as DEFAULT_SURFACE_CORNER, a1 as DEFAULT_SURFACE_GUTTER, a2 as DEFAULT_SURFACE_PADDING, a3 as DEFAULT_SURFACE_TONE, a4 as DEFAULT_TOAST_GAP_PX, a5 as DEFAULT_TOAST_LIFE_MS, a6 as DEFAULT_TOAST_LIMIT, a7 as DEFAULT_TOAST_MODE, a8 as DEFAULT_TOAST_POSITION, a9 as DEFAULT_TOAST_Z_INDEX, aa as DEFAULT_TRIGGER_CORNER, ab as FIELD_SIZE_STYLES, ac as FIELD_STATUS_CLASSES, ad as FieldSizeTokens, ae as FieldToneTokens, af as GLOW_INTENSITIES, ag as GlowTokens, ah as HelpButton, ai as HelpButtonPlacement, aj as INPUT_VARIANTS, ak as INPUT_VARIANT_FOR_SURFACE, al as
|
|
3
|
+
import { A as AlertIntent, T as TrueColor, a as AlertVariant, C as ControlSize, S as SurfaceCorner, b as AlertIconAlign, G as GlassOpacity, c as GlassVibrancy, d as SpecularMode, O as Orientation, B as ButtonVariant, e as ButtonWeight, f as SurfacePadding, g as SurfaceVariant, I as IconName, h as GlowIntensity, i as InputVariant, j as SliderVariant, V as ValidationStatus, k as ToggleVariant, P as PlainSurfaceVariant, l as ToastPosition, m as ToastMode, n as Size, o as SidebarVariant, p as SidebarSide, q as SidebarCollapsible, r as SurfaceTextTokens, H as HelpButtonProps, s as TableDensity, t as ApiErrorKind, u as CapsuleBlueprintParameter } from './CapsuleBlueprint-DzjbCo3k.js';
|
|
4
|
+
export { v as ALERT_ICON_ALIGNMENTS, w as ALERT_INTENTS, x as ALERT_INTENT_CONFIG, y as ALERT_VARIANTS, z as API_ERROR_KINDS, D as API_ERROR_KIND_CONFIG, E as AlertIntentConfig, F as AlertVariantTokens, J as ApiErrorKindConfig, K as BUTTON_VARIANTS, L as BUTTON_WEIGHTS, M as BreadcrumbSizeTokens, N as BreadcrumbToneTokens, Q as CASCADE_EXPAND, R as CONTROL_SIZES, U as CapsuleBlueprintValueType, W as CheckboxControlTokens, X as CheckboxVariantTokens, Y as CollapsibleHelpToneTokens, Z as ControlSizeTokens, _ as DEFAULT_CONTROL_CORNER, $ as DEFAULT_GLOW_INTENSITY, a0 as DEFAULT_SURFACE_CORNER, a1 as DEFAULT_SURFACE_GUTTER, a2 as DEFAULT_SURFACE_PADDING, a3 as DEFAULT_SURFACE_TONE, a4 as DEFAULT_TOAST_GAP_PX, a5 as DEFAULT_TOAST_LIFE_MS, a6 as DEFAULT_TOAST_LIMIT, a7 as DEFAULT_TOAST_MODE, a8 as DEFAULT_TOAST_POSITION, a9 as DEFAULT_TOAST_Z_INDEX, aa as DEFAULT_TRIGGER_CORNER, ab as FIELD_SIZE_STYLES, ac as FIELD_STATUS_CLASSES, ad as FieldSizeTokens, ae as FieldToneTokens, af as GLOW_INTENSITIES, ag as GlowTokens, ah as HelpButton, ai as HelpButtonPlacement, aj as INPUT_VARIANTS, ak as INPUT_VARIANT_FOR_SURFACE, al as InputVariantOptions, am as InputVariantTokens, an as NEUTRAL_TONES, ao as ORIENTATIONS, ap as PANEL_TONE_FOR_FIELD, aq as PANE_EMPTY_STATE_SIZE, ar as PLAIN_SURFACE_VARIANTS, as as ProgressSpinnerToneTokens, at as SIDEBAR_COLLAPSIBLE_MODES, au as SIDEBAR_IDLE_COPY, av as SIDEBAR_MOBILE_QUERY, aw as SIDEBAR_SIDES, ax as SIDEBAR_VARIANTS, ay as SIDE_MENU_HEADER_FILL, az as SIDE_MENU_HEADER_HEIGHT, aA as SIDE_MENU_HEADER_SEAM, ax as SIDE_PANEL_VARIANTS, aB as SLIDER_VARIANTS, R as SMART_GRID_SIZES, ar as SMART_GRID_VARIANTS, aC as SPLIT_VIEW_VARIANTS, aD as SURFACE_CORNERS, aE as SURFACE_GLASS_RIM, aF as SURFACE_GUTTER_AXES, aG as SURFACE_PADDINGS, aH as SURFACE_TO_BUTTON_VARIANT, aC as SURFACE_VARIANTS, aI as SURFACE_VARIANT_BASE, aJ as SURFACE_VARIANT_FOR_FIELD, aK as SideMenuItemTokens, aL as SidebarIdleCopyKind, aM as SidebarSurfaceTokens, aN as SliderVariantTokens, aO as StatusSpinnerSizeTokens, aP as StatusSpinnerToneTokens, aQ as SurfaceGutterAxis, aR as SurfaceTriggerTokens, aS as SurfaceVariantOverrides, aT as TABLE_DENSITIES, aU as THIN_SCROLLBAR, aV as THIN_SCROLLBAR_FIELD, aW as TOAST_DEFAULT_WIDTH, aX as TOAST_MODES, aY as TOAST_POSITIONS, aZ as TOGGLE_VARIANTS, a_ as TRANSLUCENT_SURFACE_VARIANTS, a$ as TRUE_COLORS, b0 as TRUE_COLOR_DOT_CLASSES, b1 as TRUE_COLOR_TEXT_CLASSES, b2 as TableDensityTokens, b3 as ToastSizeTokens, b4 as ToggleVariantTokens, b5 as VALIDATION_STATUSES, b6 as configureTheme, b7 as getAlertColorClasses, b8 as getAlertVariantTokens, b9 as getAppDividerToneTokens, ba as getBadgeColorClasses, bb as getBreadcrumbSizeTokens, bc as getBreadcrumbToneTokens, bd as getButtonActiveClasses, be as getButtonActiveHoverClasses, bf as getButtonBaseClasses, bg as getButtonColorClasses, bh as getButtonHoverClasses, bi as getCheckboxColorClasses, bj as getCheckboxControlTokens, bk as getCheckboxGlassCheckedTokens, bl as getCheckboxVariantTokens, bm as getCollapsibleHelpToneTokens, bn as getControlSizeTokens, bo as getFieldSizeTokens, bp as getFieldToneTokens, bq as getGlowTokens, br as getInputVariantTokens, bs as getLoaderProgressColors, bt as getMultiToggleColorTokens, bu as getMultiToggleVariantTokens, bv as getPanelToneStyles, bw as getPillColorClasses, bx as getProgressSpinnerToneTokens, by as getSideMenuItemTokens, bz as getSidebarSurfaceTokens, bA as getSliderVariantTokens, bB as getSpinnerColorTokens, bC as getStatTileColorClasses, bD as getStatusSpinnerSizeTokens, bE as getStatusSpinnerToneTokens, bF as getStepperTonePalette, bG as getSurfaceCornerClass, bH as getSurfaceCornerRem, bI as getSurfaceGutterClass, bJ as getSurfacePaddingClass, bK as getSurfacePaddingClasses, bL as getSurfaceTextTokens, bM as getSurfaceTriggerTokens, bN as getSurfaceVariantClasses, bO as getTableDensityTokens, bP as getTabsColorTokens, bQ as getToastSizeTokens, bR as getToggleColorClasses, bS as getToggleVariantTokens, bT as getTrueColorDotClass, bU as getTrueColorTextClass, bV as hasTextColor, bW as iconRegistry, bX as isGlassSurface, bY as resetTheme, bZ as resolveGlowGradient, b_ as stripBorderColor, b$ as stripFillClass, c0 as stripTextColor } from './CapsuleBlueprint-DzjbCo3k.js';
|
|
5
5
|
import { CurveFactory } from 'd3-shape';
|
|
6
6
|
|
|
7
7
|
type AlertSize = ControlSize;
|
|
@@ -1124,6 +1124,17 @@ interface PanelProps extends Omit<React__default.HTMLAttributes<HTMLElement>, "t
|
|
|
1124
1124
|
* Defaults to `true` when an `onClick` handler is present, otherwise `false`.
|
|
1125
1125
|
*/
|
|
1126
1126
|
hoverable?: boolean;
|
|
1127
|
+
/**
|
|
1128
|
+
* Whether the card behaves as a single action: focusable, `role="button"`,
|
|
1129
|
+
* Enter and Space activate it, and it draws a tone-coloured inset focus
|
|
1130
|
+
* ring. Defaults to true when an `onClick` handler is present.
|
|
1131
|
+
*
|
|
1132
|
+
* Pass `false` for a card whose *body* owns the interaction — a form, a
|
|
1133
|
+
* list of links — where announcing the whole card as one button would be
|
|
1134
|
+
* wrong. The click guard applies either way: a click on a control inside
|
|
1135
|
+
* the card never activates the card.
|
|
1136
|
+
*/
|
|
1137
|
+
clickable?: boolean;
|
|
1127
1138
|
/**
|
|
1128
1139
|
* @deprecated Renamed to `tone`. Still honoured as an alias — when `tone`
|
|
1129
1140
|
* is absent it becomes the tone — so `color="rose"` finally does what it
|
|
@@ -1351,6 +1362,130 @@ interface DynamicImgProps extends Omit<React__default.HTMLAttributes<HTMLElement
|
|
|
1351
1362
|
}
|
|
1352
1363
|
declare const DynamicImg: React__default.FC<DynamicImgProps>;
|
|
1353
1364
|
|
|
1365
|
+
type ExpandableButtonRounded = "md" | "lg" | "xl" | "full";
|
|
1366
|
+
/**
|
|
1367
|
+
* What reveals the label.
|
|
1368
|
+
*
|
|
1369
|
+
* `hover`/`focus`/`hover+focus` are pure CSS (the button is never re-rendered
|
|
1370
|
+
* to animate), `click` puts the open state in React so it survives a tap and
|
|
1371
|
+
* answers to Enter/Space, and `always` renders the control expanded — useful
|
|
1372
|
+
* for a sidebar that has just been pinned open.
|
|
1373
|
+
*/
|
|
1374
|
+
declare const EXPAND_TRIGGERS: readonly ["hover", "focus", "hover+focus", "click", "always"];
|
|
1375
|
+
type ExpandTrigger = (typeof EXPAND_TRIGGERS)[number];
|
|
1376
|
+
/**
|
|
1377
|
+
* The spring curves, tuned by how far they overshoot.
|
|
1378
|
+
*
|
|
1379
|
+
* The `1.56` in the third position of the default curve is the whole trick:
|
|
1380
|
+
* a control point above 1 pushes the interpolated value past its target and
|
|
1381
|
+
* settles it back down, which is what reads as elastic. `precise` is the
|
|
1382
|
+
* same transition with the overshoot dialled off, for when a control should
|
|
1383
|
+
* feel engineered rather than playful.
|
|
1384
|
+
*/
|
|
1385
|
+
declare const EXPANDABLE_BUTTON_SPRINGS: readonly ["bouncy", "snappy", "gentle", "precise"];
|
|
1386
|
+
type ExpandableButtonSpring = (typeof EXPANDABLE_BUTTON_SPRINGS)[number];
|
|
1387
|
+
/**
|
|
1388
|
+
* How the glyph behaves while the label slides out.
|
|
1389
|
+
*
|
|
1390
|
+
* `pop-tilt` is the reference animation: scale past 1 and lean over, so the
|
|
1391
|
+
* icon reads as the thing pulling the label open.
|
|
1392
|
+
*/
|
|
1393
|
+
declare const EXPANDABLE_BUTTON_ICON_MOTIONS: readonly ["pop-tilt", "pop", "tilt", "lift", "none"];
|
|
1394
|
+
type ExpandableButtonIconMotion = (typeof EXPANDABLE_BUTTON_ICON_MOTIONS)[number];
|
|
1395
|
+
interface ExpandableButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "color"> {
|
|
1396
|
+
icon: string | React__default.ReactElement;
|
|
1397
|
+
/** The text that slides out. Rendered as real text, but the accessible name comes from `srLabel`/`aria-label` — see the docs page. */
|
|
1398
|
+
label: ReactNode;
|
|
1399
|
+
variant?: ButtonVariant;
|
|
1400
|
+
color?: ButtonColor;
|
|
1401
|
+
size?: ButtonSize;
|
|
1402
|
+
rounded?: ExpandableButtonRounded;
|
|
1403
|
+
/** Escape hatch replacing the computed padding/box class. Prefer `size`. */
|
|
1404
|
+
customSizeClass?: string;
|
|
1405
|
+
iconClassName?: string;
|
|
1406
|
+
/** Class for the label's inner content span (the one that fades and slides). */
|
|
1407
|
+
labelClassName?: string;
|
|
1408
|
+
loading?: boolean;
|
|
1409
|
+
spinnerVariant?: "solid" | "segments";
|
|
1410
|
+
spinnerColor?: SpinnerColor;
|
|
1411
|
+
/**
|
|
1412
|
+
* The accessible name. The label itself stays `aria-hidden` while collapsed
|
|
1413
|
+
* (a 0-width `overflow: hidden` box is unreliable across screen readers),
|
|
1414
|
+
* so this — not the visible text — is what gets announced.
|
|
1415
|
+
*/
|
|
1416
|
+
srLabel?: string;
|
|
1417
|
+
accent?: boolean;
|
|
1418
|
+
accentColor?: ButtonColor;
|
|
1419
|
+
/**
|
|
1420
|
+
* Raw CSS colour to tint the icon. Omit it and the icon inherits the
|
|
1421
|
+
* button's text colour (icons paint with `currentColor`), so the glyph
|
|
1422
|
+
* always matches; set it to override just the icon.
|
|
1423
|
+
*/
|
|
1424
|
+
iconColor?: string;
|
|
1425
|
+
/** When set, a styled tooltip is shown on hover (replaces the native title attribute). */
|
|
1426
|
+
tooltip?: string;
|
|
1427
|
+
/** Position of the tooltip relative to the button. Defaults to 'top'. */
|
|
1428
|
+
tooltipPosition?: TooltipPosition;
|
|
1429
|
+
/** When true, applies glass styling (fill + vibrancy + optional specular overlay). */
|
|
1430
|
+
glass?: boolean;
|
|
1431
|
+
/** Backdrop vibrancy level for glass surfaces. */
|
|
1432
|
+
vibrancy?: GlassVibrancy;
|
|
1433
|
+
/** Glass fill transparency level for glass surfaces. Defaults to "clear" for icon-style controls. */
|
|
1434
|
+
glassOpacity?: GlassOpacity;
|
|
1435
|
+
/** Specular highlight mode for glass surfaces. Defaults to "none". */
|
|
1436
|
+
specularMode?: SpecularMode;
|
|
1437
|
+
/** What reveals the label. Defaults to "hover". */
|
|
1438
|
+
expandOn?: ExpandTrigger;
|
|
1439
|
+
/**
|
|
1440
|
+
* Controlled open state. When set it owns the control outright: the hover
|
|
1441
|
+
* and focus triggers are switched off — glyph included, since the whole
|
|
1442
|
+
* reveal hangs off the same open switch — rather than left to animate a
|
|
1443
|
+
* label the caller has decided should stay shut.
|
|
1444
|
+
*/
|
|
1445
|
+
expanded?: boolean;
|
|
1446
|
+
/** Initial open state for the uncontrolled `expandOn="click"` mode. */
|
|
1447
|
+
defaultExpanded?: boolean;
|
|
1448
|
+
/**
|
|
1449
|
+
* Fired when the effective open state changes: once the pointer and focus
|
|
1450
|
+
* have *both* let go in the CSS modes (so a `hover+focus` control does not
|
|
1451
|
+
* report `true` twice on arrival, nor `false` on mouse-leave while focus
|
|
1452
|
+
* still holds the label open), and on every toggle in `click` mode. Nothing
|
|
1453
|
+
* comes from `always`, and nothing from a value you set yourself.
|
|
1454
|
+
*/
|
|
1455
|
+
onExpandedChange?: (expanded: boolean) => void;
|
|
1456
|
+
/** Spring preset driving the reveal. Defaults to "bouncy" (the overshoot curve). */
|
|
1457
|
+
spring?: ExpandableButtonSpring;
|
|
1458
|
+
/** Override the preset's duration in ms. The curve still comes from `spring`. */
|
|
1459
|
+
springDuration?: number;
|
|
1460
|
+
/**
|
|
1461
|
+
* How long the label takes to fade in, in ms. It rides a plain ease rather
|
|
1462
|
+
* than the spring — an opacity that overshoots 1 just clips — so it is
|
|
1463
|
+
* separable. Defaults to the stylesheet's 300ms.
|
|
1464
|
+
*/
|
|
1465
|
+
fadeDuration?: number;
|
|
1466
|
+
/**
|
|
1467
|
+
* The gap the label opens between itself and the glyph, as a CSS length.
|
|
1468
|
+
* Relative units are the point: `0.6em` keeps the spacing in proportion at
|
|
1469
|
+
* every `size`. Defaults to the stylesheet's `0.6em`.
|
|
1470
|
+
*/
|
|
1471
|
+
labelGap?: string;
|
|
1472
|
+
/**
|
|
1473
|
+
* How far back the label starts, so it appears to slide out from behind the
|
|
1474
|
+
* glyph rather than fade in on the spot. A CSS length; defaults to the
|
|
1475
|
+
* stylesheet's `0.8em`.
|
|
1476
|
+
*/
|
|
1477
|
+
labelSlide?: string;
|
|
1478
|
+
/** Static resting shadow + a deeper one on hover, both on the spring. Defaults to true. */
|
|
1479
|
+
elevate?: boolean;
|
|
1480
|
+
/** What the glyph does while the label slides out. Defaults to "pop-tilt". */
|
|
1481
|
+
iconMotion?: ExpandableButtonIconMotion;
|
|
1482
|
+
/** Press feedback: the button squishes to 94%. Defaults to true. */
|
|
1483
|
+
squish?: boolean;
|
|
1484
|
+
/** Where the label sits relative to the glyph. Defaults to "after". */
|
|
1485
|
+
labelPlacement?: "after" | "before";
|
|
1486
|
+
}
|
|
1487
|
+
declare const ExpandableButton: React__default.ForwardRefExoticComponent<ExpandableButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1488
|
+
|
|
1354
1489
|
type SpeedDialType = "linear" | "semi-circle" | "quarter-circle" | "circle";
|
|
1355
1490
|
type SpeedDialDirection = "up" | "down" | "left" | "right" | "up-left" | "up-right" | "down-left" | "down-right";
|
|
1356
1491
|
interface SpeedDialItem {
|
|
@@ -3146,6 +3281,14 @@ interface ScrollAreaProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
3146
3281
|
* @default false
|
|
3147
3282
|
*/
|
|
3148
3283
|
mask?: boolean;
|
|
3284
|
+
/**
|
|
3285
|
+
* Whether the region can scroll sideways. A region that scrolls on one
|
|
3286
|
+
* axis only — a nav list, a text column — should say so: content wider
|
|
3287
|
+
* than the viewport is then clipped instead of reachable, and `scrollWidth`
|
|
3288
|
+
* still reports it either way, so a bar drawn for it would scroll nothing.
|
|
3289
|
+
* @default true
|
|
3290
|
+
*/
|
|
3291
|
+
horizontal?: boolean;
|
|
3149
3292
|
/**
|
|
3150
3293
|
* Tab order entry for the scrollable viewport — keyboard users scroll the
|
|
3151
3294
|
* focused area with the arrows / Page / Home / End keys natively. Ignored
|
|
@@ -3183,7 +3326,7 @@ interface ScrollAreaProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
3183
3326
|
* overflows — a region that fits has no business one tab deep.
|
|
3184
3327
|
*/
|
|
3185
3328
|
declare const ScrollArea: {
|
|
3186
|
-
({ variant, mask, tabIndex, contentClassName, viewportClassName, viewportRef: viewportRefProp, children, className, ...rest }: ScrollAreaProps): React$1.JSX.Element;
|
|
3329
|
+
({ variant, mask, horizontal, tabIndex, contentClassName, viewportClassName, viewportRef: viewportRefProp, children, className, ...rest }: ScrollAreaProps): React$1.JSX.Element;
|
|
3187
3330
|
displayName: string;
|
|
3188
3331
|
};
|
|
3189
3332
|
|
|
@@ -5188,6 +5331,77 @@ interface SideMenuDropdownItem {
|
|
|
5188
5331
|
onSelect?: (item: DropdownMenuOption) => void;
|
|
5189
5332
|
badge?: React__default.ReactNode;
|
|
5190
5333
|
}
|
|
5334
|
+
/**
|
|
5335
|
+
* A CTA card's single action. `path` and `onClick` are alternatives — the
|
|
5336
|
+
* route wins when both are set, since it's the stronger promise.
|
|
5337
|
+
*/
|
|
5338
|
+
interface SideMenuCtaAction {
|
|
5339
|
+
label: string;
|
|
5340
|
+
/** Route — rendered as a router link carrying `Button`'s class recipe. */
|
|
5341
|
+
path?: string;
|
|
5342
|
+
/** Otherwise a solid `Button` of the card's tone calling this. */
|
|
5343
|
+
onClick?: () => void;
|
|
5344
|
+
/** Registry icon name shown before the label. */
|
|
5345
|
+
icon?: IconName;
|
|
5346
|
+
}
|
|
5347
|
+
/**
|
|
5348
|
+
* A promo/upsell card pinned between the navigation and the footer rows —
|
|
5349
|
+
* media, title, description and one action, built on `Panel`. Only rendered
|
|
5350
|
+
* while the panel is expanded; a stack taller than the (capped) zone
|
|
5351
|
+
* scrolls inside it, the nav keeping its own scroll.
|
|
5352
|
+
*/
|
|
5353
|
+
interface SideMenuCta {
|
|
5354
|
+
slug: string;
|
|
5355
|
+
title: string;
|
|
5356
|
+
description?: string;
|
|
5357
|
+
/** Rendered above the title; any node (image, illustration, icon). */
|
|
5358
|
+
media?: React__default.ReactNode;
|
|
5359
|
+
action?: SideMenuCtaAction;
|
|
5360
|
+
/** Accent tone. @default the menu's `color`. */
|
|
5361
|
+
tone?: TrueColor;
|
|
5362
|
+
/** When true, the card is not rendered */
|
|
5363
|
+
hidden?: boolean;
|
|
5364
|
+
/** Guard rules — ALL must pass (AND logic), as with nav items. */
|
|
5365
|
+
guards?: SideMenuItemGuard[];
|
|
5366
|
+
/**
|
|
5367
|
+
* When set, the card gets a corner ✕ calling this — the app owns
|
|
5368
|
+
* persistence (dismissed slugs, localStorage…). The ✕ renders iff this
|
|
5369
|
+
* is provided: a dismiss button without a handler is a dead control.
|
|
5370
|
+
*/
|
|
5371
|
+
onDismiss?: () => void;
|
|
5372
|
+
}
|
|
5373
|
+
/**
|
|
5374
|
+
* One row of the detail footer: left-hand copy (wraps freely) with a
|
|
5375
|
+
* right-hand pill or tinted value. `pill` wins when both are set.
|
|
5376
|
+
*/
|
|
5377
|
+
interface SideMenuDetailItem {
|
|
5378
|
+
slug: string;
|
|
5379
|
+
/** Left-hand copy — wraps onto as many lines as it needs. */
|
|
5380
|
+
text: React__default.ReactNode;
|
|
5381
|
+
/** Right-hand pill, rendered through the kit `Pill`. */
|
|
5382
|
+
pill?: {
|
|
5383
|
+
label: React__default.ReactNode;
|
|
5384
|
+
/** @default the menu's `color` */
|
|
5385
|
+
tone?: TrueColor;
|
|
5386
|
+
/** @default "soft" */
|
|
5387
|
+
variant?: PillVariant;
|
|
5388
|
+
/**
|
|
5389
|
+
* Badge shape. The flat status box reads best with the squarer badge,
|
|
5390
|
+
* which is why this departs from `Pill`'s own full-round default.
|
|
5391
|
+
* @default "md"
|
|
5392
|
+
*/
|
|
5393
|
+
corner?: PillCorner;
|
|
5394
|
+
uppercase?: boolean;
|
|
5395
|
+
/** Registry icon name. */
|
|
5396
|
+
icon?: IconName;
|
|
5397
|
+
};
|
|
5398
|
+
/** Right-hand tinted text, used when `pill` is absent. */
|
|
5399
|
+
value?: {
|
|
5400
|
+
label: React__default.ReactNode;
|
|
5401
|
+
/** @default the menu's `color` */
|
|
5402
|
+
color?: TrueColor;
|
|
5403
|
+
};
|
|
5404
|
+
}
|
|
5191
5405
|
interface SideMenuProps {
|
|
5192
5406
|
color?: TrueColor;
|
|
5193
5407
|
title?: string;
|
|
@@ -5255,6 +5469,25 @@ interface SideMenuProps {
|
|
|
5255
5469
|
topItem?: SideMenuDropdownItem;
|
|
5256
5470
|
/** A row pinned above the collapse control with its own dropdown menu. */
|
|
5257
5471
|
footerItem?: SideMenuDropdownItem;
|
|
5472
|
+
/**
|
|
5473
|
+
* Call-to-action cards pinned between the navigation and the footer rows.
|
|
5474
|
+
* Expanded-only; when the stack is taller than the (capped) zone, the
|
|
5475
|
+
* zone itself scrolls while the nav keeps its own scroll.
|
|
5476
|
+
*/
|
|
5477
|
+
ctas?: SideMenuCta[];
|
|
5478
|
+
/**
|
|
5479
|
+
* Status rows in a tone-washed panel pinned above the collapse control —
|
|
5480
|
+
* rows of left copy with a pill or tinted value on the right. Expanded-
|
|
5481
|
+
* only, and there is no per-row dismissal: the array is the whole
|
|
5482
|
+
* contract.
|
|
5483
|
+
*/
|
|
5484
|
+
footerDetails?: SideMenuDetailItem[];
|
|
5485
|
+
/**
|
|
5486
|
+
* Tone of the detail panel. Only the see-through variants tint with it —
|
|
5487
|
+
* the solid ones keep the neutral grey box, where a tone wash fought the
|
|
5488
|
+
* sidebar. @default the menu's `color`
|
|
5489
|
+
*/
|
|
5490
|
+
footerDetailsTone?: TrueColor;
|
|
5258
5491
|
/**
|
|
5259
5492
|
* Paint a subtle dither-noise (film-grain) texture over the panel
|
|
5260
5493
|
* background, behind the content. Reads best on dark surfaces.
|
|
@@ -5301,7 +5534,7 @@ interface SideMenuProps {
|
|
|
5301
5534
|
* own breakpoint can never disagree.
|
|
5302
5535
|
*/
|
|
5303
5536
|
declare const useSidebarIsMobile: (enabled?: boolean) => boolean;
|
|
5304
|
-
declare const SideMenu: ({ title, logoIcon, logoText, items, className, collapsed, onToggleCollapse, mobileOpen, onCloseMobile, fullHeight, guardEvaluator, activeModuleView, moduleViewOptions, color, variant, side, collapsible, openOnHover, hoverTransitionMs, responsive, topItem, footerItem, noise, loading, loaderType, loaderTitle, loaderMessage, loaderProgress, loaderColor, skeletonLines, search, searchValue, onSearchChange, searchPlaceholder, }: SideMenuProps) => React__default.JSX.Element;
|
|
5537
|
+
declare const SideMenu: ({ title, logoIcon, logoText, items, className, collapsed, onToggleCollapse, mobileOpen, onCloseMobile, fullHeight, guardEvaluator, activeModuleView, moduleViewOptions, color, variant, side, collapsible, openOnHover, hoverTransitionMs, responsive, topItem, footerItem, ctas, footerDetails, footerDetailsTone, noise, loading, loaderType, loaderTitle, loaderMessage, loaderProgress, loaderColor, skeletonLines, search, searchValue, onSearchChange, searchPlaceholder, }: SideMenuProps) => React__default.JSX.Element;
|
|
5305
5538
|
|
|
5306
5539
|
interface SideMenuLayoutProps {
|
|
5307
5540
|
/** Props passed to the SideMenu component (including color). */
|
|
@@ -6934,6 +7167,121 @@ interface StepperProps extends Omit<PanelProps, "title" | "subtitle" | "actions"
|
|
|
6934
7167
|
}
|
|
6935
7168
|
declare const Stepper: React__default.FC<StepperProps>;
|
|
6936
7169
|
|
|
7170
|
+
/**
|
|
7171
|
+
* The condense plan — the only clever part of CondensedStepper, and it has
|
|
7172
|
+
* no DOM in it.
|
|
7173
|
+
*
|
|
7174
|
+
* The strip is one line: the current step anchored in the middle, what has
|
|
7175
|
+
* been walked compressed to the left, what is queued compressed to the right.
|
|
7176
|
+
* How much of each flank stays compressed and how much the reveal can show
|
|
7177
|
+
* is arithmetic over the steps — counts, caps, the `+N` remainder, and the
|
|
7178
|
+
* degenerate rulings (no past, no future, all done, a single step). The
|
|
7179
|
+
* component measures nothing to decide these; it draws what this says.
|
|
7180
|
+
*/
|
|
7181
|
+
|
|
7182
|
+
type CondensedZone = "past" | "future";
|
|
7183
|
+
|
|
7184
|
+
/**
|
|
7185
|
+
* A stepper that fits on one line.
|
|
7186
|
+
*
|
|
7187
|
+
* The full `Stepper` is a panel with content areas and progress bars; this
|
|
7188
|
+
* is the readout for the places that have a strip of space and no appetite
|
|
7189
|
+
* for detail — run cards, side panels, dashboards. The current step is the
|
|
7190
|
+
* anchor in the middle; what has been walked compresses to the left, what
|
|
7191
|
+
* is queued compresses to the right. Each flank is an accordion riding
|
|
7192
|
+
* `ExpandableButton`'s spring table (imported, not copied — one physics
|
|
7193
|
+
* table for the kit): hover reveals, click pins, Esc closes, and the two
|
|
7194
|
+
* are exclusive by construction — one `open` value, never two booleans.
|
|
7195
|
+
*
|
|
7196
|
+
* The centre pill squishes declaratively: it is the only shrinkable thing
|
|
7197
|
+
* in the row, so as a flank springs open the label ellipsizes on its own
|
|
7198
|
+
* and the action chip fades. The wide panel and the card strip are the
|
|
7199
|
+
* same component — the container decides how much condenses, never the
|
|
7200
|
+
* behaviour.
|
|
7201
|
+
*/
|
|
7202
|
+
interface CondensedStepperProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
7203
|
+
/** Stepper's own step type — feed both components the same array. */
|
|
7204
|
+
steps: StepperStep[];
|
|
7205
|
+
/** Default: the first step that has not been completed. */
|
|
7206
|
+
currentIndex?: number;
|
|
7207
|
+
/** Wins over `currentIndex`. */
|
|
7208
|
+
currentStepId?: string;
|
|
7209
|
+
/**
|
|
7210
|
+
* What opens a flank: the pointer entering it (`hover`, the default —
|
|
7211
|
+
* click pins either way) or click only. Keyboard focus is hover's equal.
|
|
7212
|
+
* @default "hover"
|
|
7213
|
+
*/
|
|
7214
|
+
expandOn?: "hover" | "click";
|
|
7215
|
+
/** Quiet-state summaries; auto by default: "✓ {n} done" / "+{n} pending". */
|
|
7216
|
+
pastSummary?: React__default.ReactNode;
|
|
7217
|
+
futureSummary?: React__default.ReactNode;
|
|
7218
|
+
/** The chip on the active pill — "ACTION REQUIRED" in the mock. */
|
|
7219
|
+
actionLabel?: React__default.ReactNode;
|
|
7220
|
+
/** The anchor's dress: the pill's border, digits and pulse dot wear
|
|
7221
|
+
* the tone. Status still speaks semantically through what carries it —
|
|
7222
|
+
* the completed ✓ is emerald, the error dot is rose.
|
|
7223
|
+
* @default "blue" */
|
|
7224
|
+
tone?: TrueColor;
|
|
7225
|
+
/** The quiet disc colours, per flank. @default "emerald" / "gray" */
|
|
7226
|
+
doneColor?: TrueColor;
|
|
7227
|
+
nextColor?: TrueColor;
|
|
7228
|
+
/** Circle/pill density, shared control scale. @default "md" */
|
|
7229
|
+
size?: ControlSize;
|
|
7230
|
+
/**
|
|
7231
|
+
* How much condenses — and what "expanded" means. `panel` (default):
|
|
7232
|
+
* three solid past discs + two future discs quiet, hover accordion-
|
|
7233
|
+
* reveals the numbered items. `card`: one solid disc per flank quiet,
|
|
7234
|
+
* no accordion — expansion reveals the count and compresses the anchor
|
|
7235
|
+
* to its index alone.
|
|
7236
|
+
* @default "panel"
|
|
7237
|
+
*/
|
|
7238
|
+
mode?: "panel" | "card";
|
|
7239
|
+
/**
|
|
7240
|
+
* The surface dress for the centre pill and the revealed items — the
|
|
7241
|
+
* kit's shared SurfaceVariant vocabulary, the same one Panel wears.
|
|
7242
|
+
* @default "outlined"
|
|
7243
|
+
*/
|
|
7244
|
+
variant?: SurfaceVariant;
|
|
7245
|
+
/**
|
|
7246
|
+
* Fill the parent: the done flank pins to the left edge, the queue to
|
|
7247
|
+
* the right, the anchor stays dead centre, and the dashed lines carry
|
|
7248
|
+
* the distance between. An expansion eats the dashes down to their
|
|
7249
|
+
* minimum first — and only then compresses the centre.
|
|
7250
|
+
* @default panel: true, card: false — the panel's design is a ruler
|
|
7251
|
+
* across its container; a card keeps its compact dashes.
|
|
7252
|
+
*/
|
|
7253
|
+
stretch?: boolean;
|
|
7254
|
+
/** Revealed items per flank when expanded, before `+N` carries the
|
|
7255
|
+
* rest. @default 6 */
|
|
7256
|
+
maxSteps?: number;
|
|
7257
|
+
/** @default true */
|
|
7258
|
+
interactive?: boolean;
|
|
7259
|
+
onStepSelect?: (step: StepperStep, index: number) => void;
|
|
7260
|
+
/**
|
|
7261
|
+
* Zone hover, as pure observation — fired on pointer enter (`true`) and
|
|
7262
|
+
* leave (`false`) of the completed cluster, the centre anchor, and the
|
|
7263
|
+
* queued cluster. They report whether or not expansion is enabled, and
|
|
7264
|
+
* even while `openZone` is controlled: the strip always knows who is
|
|
7265
|
+
* being looked at.
|
|
7266
|
+
*/
|
|
7267
|
+
onDoneHover?: (hovered: boolean) => void;
|
|
7268
|
+
onCurrentHover?: (hovered: boolean) => void;
|
|
7269
|
+
onNextHover?: (hovered: boolean) => void;
|
|
7270
|
+
/**
|
|
7271
|
+
* Controlled reveal — when set, owns `open`; interactions stop mutating
|
|
7272
|
+
* it and report through `onOpenChange` instead. Lets a host (or a demo
|
|
7273
|
+
* playground's Expand Left/Right presets) force a flank open.
|
|
7274
|
+
*/
|
|
7275
|
+
openZone?: CondensedZone | null;
|
|
7276
|
+
onOpenChange?: (open: CondensedZone | null) => void;
|
|
7277
|
+
/** @default true */
|
|
7278
|
+
animated?: boolean;
|
|
7279
|
+
/** The shared spring table's preset. @default "bouncy" */
|
|
7280
|
+
spring?: ExpandableButtonSpring;
|
|
7281
|
+
springDuration?: number;
|
|
7282
|
+
}
|
|
7283
|
+
declare const CondensedStepper: React__default.FC<CondensedStepperProps>;
|
|
7284
|
+
|
|
6937
7285
|
/**
|
|
6938
7286
|
* The storage backend and key builder now live in `safeStorage.ts`, shared
|
|
6939
7287
|
* with `SmartGridLayout`. Re-exported here under their original names so
|
|
@@ -7815,6 +8163,14 @@ interface ConnectionFlowConnectorConfig {
|
|
|
7815
8163
|
/** Caption rendered along the edge. */
|
|
7816
8164
|
label?: string;
|
|
7817
8165
|
}
|
|
8166
|
+
/** Explicit topology. Supplying a connections array disables inferred edges. */
|
|
8167
|
+
interface ConnectionFlowConnection extends ConnectionFlowConnectorConfig {
|
|
8168
|
+
id: string;
|
|
8169
|
+
fromId: string;
|
|
8170
|
+
toId: string;
|
|
8171
|
+
fromSide?: PortSide;
|
|
8172
|
+
toSide?: PortSide;
|
|
8173
|
+
}
|
|
7818
8174
|
/**
|
|
7819
8175
|
* One of a card's two outcomes, as an edge. `success` without a `to` is the
|
|
7820
8176
|
* implicit next step and draws nothing extra — it only restyles the walk
|
|
@@ -7876,6 +8232,13 @@ interface ConnectionFlowNodeItem {
|
|
|
7876
8232
|
}
|
|
7877
8233
|
interface ConnectionFlowNode {
|
|
7878
8234
|
id: string;
|
|
8235
|
+
/** Optional logical cell for top-level editor nodes. Supply on every top-level
|
|
8236
|
+
* node to align rows across columns. Signed integer indices allow adding to
|
|
8237
|
+
* any side. Placement does not create connections; use explicit connections. */
|
|
8238
|
+
gridPosition?: {
|
|
8239
|
+
column: number;
|
|
8240
|
+
row: number;
|
|
8241
|
+
};
|
|
7879
8242
|
title?: string;
|
|
7880
8243
|
subtitle?: string;
|
|
7881
8244
|
description?: string;
|
|
@@ -8020,6 +8383,7 @@ interface LaidOutNode {
|
|
|
8020
8383
|
}
|
|
8021
8384
|
interface LaidOutEdge {
|
|
8022
8385
|
id: string;
|
|
8386
|
+
ringSize?: ConnectionFlowRingSize;
|
|
8023
8387
|
fromId: string | null;
|
|
8024
8388
|
toId: string;
|
|
8025
8389
|
state: ConnectionState;
|
|
@@ -8033,10 +8397,26 @@ interface LaidOutEdge {
|
|
|
8033
8397
|
* and the line they sit on can never disagree about the route.
|
|
8034
8398
|
*/
|
|
8035
8399
|
d: string;
|
|
8400
|
+
/** Measured, collision-free caption bounds in layout coordinates. */
|
|
8401
|
+
caption?: {
|
|
8402
|
+
x: number;
|
|
8403
|
+
y: number;
|
|
8404
|
+
width: number;
|
|
8405
|
+
height: number;
|
|
8406
|
+
lines: string[];
|
|
8407
|
+
lineHeight: number;
|
|
8408
|
+
};
|
|
8036
8409
|
sourceTone: TrueColor;
|
|
8037
8410
|
targetTone: TrueColor;
|
|
8038
8411
|
/** A bypass arc travels *over* skipped nodes rather than between neighbours. */
|
|
8039
8412
|
bypass: boolean;
|
|
8413
|
+
/**
|
|
8414
|
+
* The style this edge's corners are drawn in. The crossing-hop pass
|
|
8415
|
+
* rebuilds a crossing edge's path exactly as the router would have drawn
|
|
8416
|
+
* it, which needs the style the edge was routed with — `edgeStyle`
|
|
8417
|
+
* governs corners only, so hops are round on every style.
|
|
8418
|
+
*/
|
|
8419
|
+
style?: ConnectionFlowEdgeStyle;
|
|
8040
8420
|
/**
|
|
8041
8421
|
* Position in its source's emission round-robin, and how many edges share
|
|
8042
8422
|
* that round-robin.
|
|
@@ -8069,14 +8449,8 @@ interface LaidOutEdge {
|
|
|
8069
8449
|
/** Set when `kind` is `"branch"`. */
|
|
8070
8450
|
branchKind?: "success" | "failure";
|
|
8071
8451
|
}
|
|
8072
|
-
/**
|
|
8073
|
-
*
|
|
8074
|
-
*
|
|
8075
|
-
* These are layout output rather than something each edge draws for itself.
|
|
8076
|
-
* When three edges fan out of one card they share a single port, and an edge
|
|
8077
|
-
* that painted its own endpoints stamped three identical rings on that one
|
|
8078
|
-
* spot — which the highlight then dimmed three times over, so a "dimmed"
|
|
8079
|
-
* connector came out darker than a lit one.
|
|
8452
|
+
/** A distinct terminal for one edge endpoint, allocated on a node border.
|
|
8453
|
+
* Fan-in and fan-out edges retain independent anchors and highlight states.
|
|
8080
8454
|
*/
|
|
8081
8455
|
interface LaidOutConnector {
|
|
8082
8456
|
id: string;
|
|
@@ -8087,11 +8461,11 @@ interface LaidOutConnector {
|
|
|
8087
8461
|
/** Which border of the node it sits on. */
|
|
8088
8462
|
side: PortSide;
|
|
8089
8463
|
tone: TrueColor;
|
|
8090
|
-
/**
|
|
8464
|
+
/** State of the edge attached to this terminal. */
|
|
8091
8465
|
state: ConnectionState;
|
|
8092
8466
|
/** Something is flowing through this terminal. */
|
|
8093
8467
|
active: boolean;
|
|
8094
|
-
/**
|
|
8468
|
+
/** The single edge attached here; retained as an array for API compatibility. */
|
|
8095
8469
|
edgeIds: string[];
|
|
8096
8470
|
/** Radius of the border's bulge, in px. */
|
|
8097
8471
|
radius: number;
|
|
@@ -8165,7 +8539,12 @@ interface ConnectionFlowLayoutOptions {
|
|
|
8165
8539
|
childGap: number;
|
|
8166
8540
|
/** Horizontal indent for child nodes. */
|
|
8167
8541
|
childIndent: number;
|
|
8168
|
-
/**
|
|
8542
|
+
/**
|
|
8543
|
+
* Vertical gap between the rows of a chained child grid. Wider than the
|
|
8544
|
+
* child gap on purpose: the ladder has to read as a ladder, and the
|
|
8545
|
+
* engine's crossing hops need air in the corridors the rows define.
|
|
8546
|
+
* @default 20
|
|
8547
|
+
*/
|
|
8169
8548
|
rowGap: number;
|
|
8170
8549
|
/** Left inset of a chained child grid under its parent. @default childIndent */
|
|
8171
8550
|
gridIndent: number;
|
|
@@ -8174,6 +8553,12 @@ interface ConnectionFlowLayoutOptions {
|
|
|
8174
8553
|
cornerRadius: number;
|
|
8175
8554
|
/** How far above everything in the way a bypass arc travels. */
|
|
8176
8555
|
bypassLift: number;
|
|
8556
|
+
/**
|
|
8557
|
+
* How far outside a card the path engine will route. An edge whose naive
|
|
8558
|
+
* route crosses a card is re-routed through lanes at least this far from
|
|
8559
|
+
* every card face, so it clears the terminal bulges too. @default 12
|
|
8560
|
+
*/
|
|
8561
|
+
pathClearance: number;
|
|
8177
8562
|
/** Default size of the border bulge where an edge meets a node. */
|
|
8178
8563
|
ringSize: ConnectionFlowRingSize;
|
|
8179
8564
|
/** Rows a card shows before the rest collapse behind "show more". */
|
|
@@ -8421,6 +8806,8 @@ interface Column {
|
|
|
8421
8806
|
declare const buildColumns: (nodes: ConnectionFlowNode[]) => Column[];
|
|
8422
8807
|
interface LayoutInput {
|
|
8423
8808
|
nodes: ConnectionFlowNode[];
|
|
8809
|
+
/** When supplied, draw only these connections, including an empty array. */
|
|
8810
|
+
connections?: readonly ConnectionFlowConnection[];
|
|
8424
8811
|
options?: Partial<ConnectionFlowLayoutOptions>;
|
|
8425
8812
|
/** Fallback state for edges that do not declare one. */
|
|
8426
8813
|
flowState?: ConnectionState;
|
|
@@ -8466,8 +8853,32 @@ declare const fitToViewport: (layout: ConnectionFlowLayout, viewportWidth: numbe
|
|
|
8466
8853
|
/** True when the layout contains anything that needs to keep moving. */
|
|
8467
8854
|
declare const layoutIsAnimated: (layout: ConnectionFlowLayout) => boolean;
|
|
8468
8855
|
|
|
8856
|
+
type ConnectionFlowPlacement = {
|
|
8857
|
+
sourceId: string;
|
|
8858
|
+
side: PortSide;
|
|
8859
|
+
/** Persist on the new node when using a graph with explicit grid cells. */
|
|
8860
|
+
gridPosition?: {
|
|
8861
|
+
column: number;
|
|
8862
|
+
row: number;
|
|
8863
|
+
};
|
|
8864
|
+
};
|
|
8865
|
+
type ConnectionFlowConnectRequest = {
|
|
8866
|
+
sourceId: string;
|
|
8867
|
+
targetId: string;
|
|
8868
|
+
sourceSide: PortSide;
|
|
8869
|
+
targetSide: PortSide;
|
|
8870
|
+
};
|
|
8871
|
+
|
|
8469
8872
|
interface ConnectionFlowProps {
|
|
8470
8873
|
nodes: ConnectionFlowNode[];
|
|
8874
|
+
/** Draw only these links; omit to retain inferred workflow connections. */
|
|
8875
|
+
connections?: readonly ConnectionFlowConnection[];
|
|
8876
|
+
/** Request a link by dropping an edit connector on an existing node. */
|
|
8877
|
+
onConnect?: (connection: ConnectionFlowConnectRequest) => void;
|
|
8878
|
+
/** Reveal side connectors for creating draft nodes. @default false */
|
|
8879
|
+
editMode?: boolean;
|
|
8880
|
+
/** Open your editor. Supplying a real node with ghostId resolves the draft. */
|
|
8881
|
+
onNodeCreate?: (ghostId: string, placement: ConnectionFlowPlacement) => void;
|
|
8471
8882
|
variant?: PlainSurfaceVariant;
|
|
8472
8883
|
tone?: TrueColor;
|
|
8473
8884
|
size?: ControlSize;
|
|
@@ -8572,6 +8983,8 @@ interface ConnectionFlowProps {
|
|
|
8572
8983
|
renderNode?: (node: LaidOutNode) => React__default.ReactNode;
|
|
8573
8984
|
}
|
|
8574
8985
|
interface ConnectionFlowHandle {
|
|
8986
|
+
/** Remove an unresolved draft, for example when its configuration is canceled. */
|
|
8987
|
+
dismissGhost: (ghostId: string) => void;
|
|
8575
8988
|
zoomIn: () => void;
|
|
8576
8989
|
zoomOut: () => void;
|
|
8577
8990
|
fit: () => void;
|
|
@@ -9660,6 +10073,471 @@ interface GanttProps {
|
|
|
9660
10073
|
declare function mergeGanttLabels(overrides?: Partial<GanttLabels>): GanttLabels;
|
|
9661
10074
|
declare const Gantt: React__default.FC<GanttProps>;
|
|
9662
10075
|
|
|
10076
|
+
/**
|
|
10077
|
+
* TaskBoard — framework-agnostic data model.
|
|
10078
|
+
*
|
|
10079
|
+
* A flat `cards[]` (each card names its `column` and, on a swimlane board,
|
|
10080
|
+
* its `lane`) plus `columns[]` and optional `lanes[]`. Order inside a
|
|
10081
|
+
* column × lane bucket is the order of the cards array — the board never
|
|
10082
|
+
* keeps a second ordering, so the app stores one list and the engine derives
|
|
10083
|
+
* the slots (`bucketCards`).
|
|
10084
|
+
*/
|
|
10085
|
+
|
|
10086
|
+
/** A date accepted anywhere the model takes one: ISO string, Date or epoch ms. */
|
|
10087
|
+
type TaskBoardDate = string | Date | number;
|
|
10088
|
+
interface TaskBoardUser {
|
|
10089
|
+
id: string;
|
|
10090
|
+
name: string;
|
|
10091
|
+
avatarUrl?: string;
|
|
10092
|
+
/** Presence / avatar colour. Derived from the id when omitted (`peerColor`). */
|
|
10093
|
+
color?: TrueColor;
|
|
10094
|
+
}
|
|
10095
|
+
/** A tag — a bare string, or a label with its own colour. */
|
|
10096
|
+
type TaskBoardTag = string | {
|
|
10097
|
+
label: string;
|
|
10098
|
+
color?: TrueColor;
|
|
10099
|
+
};
|
|
10100
|
+
interface TaskBoardPriority {
|
|
10101
|
+
id: string;
|
|
10102
|
+
label: string;
|
|
10103
|
+
color: TrueColor;
|
|
10104
|
+
}
|
|
10105
|
+
interface TaskBoardCard {
|
|
10106
|
+
id: string;
|
|
10107
|
+
title: string;
|
|
10108
|
+
/** Column id the card sits in. */
|
|
10109
|
+
column: string;
|
|
10110
|
+
/** Lane id (swimlane boards). Missing / unknown → the first lane. */
|
|
10111
|
+
lane?: string;
|
|
10112
|
+
/** Free text; a card with notes shows the "has notes" glyph. */
|
|
10113
|
+
description?: string;
|
|
10114
|
+
tags?: TaskBoardTag[];
|
|
10115
|
+
/** Id into the board's `priorities`. */
|
|
10116
|
+
priority?: string;
|
|
10117
|
+
assignees?: TaskBoardUser[];
|
|
10118
|
+
due?: TaskBoardDate;
|
|
10119
|
+
checklist?: {
|
|
10120
|
+
done: number;
|
|
10121
|
+
total: number;
|
|
10122
|
+
};
|
|
10123
|
+
/** Estimate points (compact cards show them as `3p`). */
|
|
10124
|
+
points?: number;
|
|
10125
|
+
/** Per-card permission: a locked card cannot be moved. */
|
|
10126
|
+
locked?: boolean;
|
|
10127
|
+
/** Tints the card's surface — give cards different colours (status, type,
|
|
10128
|
+
* owner…). Omitted = the board's neutral card surface. */
|
|
10129
|
+
tone?: TrueColor;
|
|
10130
|
+
/** App payload, passed back untouched. */
|
|
10131
|
+
data?: Record<string, unknown>;
|
|
10132
|
+
}
|
|
10133
|
+
interface TaskBoardColumn {
|
|
10134
|
+
id: string;
|
|
10135
|
+
title: string;
|
|
10136
|
+
color?: TrueColor;
|
|
10137
|
+
/** Work-in-progress limit — a full column refuses new cards. */
|
|
10138
|
+
wipLimit?: number;
|
|
10139
|
+
/** A locked column accepts no drops and lets no card leave. */
|
|
10140
|
+
locked?: boolean;
|
|
10141
|
+
collapsed?: boolean;
|
|
10142
|
+
/** Transition rule: the column ids a card may arrive from. Omitted = any. */
|
|
10143
|
+
accepts?: string[];
|
|
10144
|
+
}
|
|
10145
|
+
interface TaskBoardLane {
|
|
10146
|
+
id: string;
|
|
10147
|
+
title: string;
|
|
10148
|
+
color?: TrueColor;
|
|
10149
|
+
collapsed?: boolean;
|
|
10150
|
+
wipLimit?: number;
|
|
10151
|
+
locked?: boolean;
|
|
10152
|
+
}
|
|
10153
|
+
/** One position on the board: a column × lane bucket and an index in it. */
|
|
10154
|
+
interface TaskBoardSlot {
|
|
10155
|
+
column: string;
|
|
10156
|
+
lane: string | null;
|
|
10157
|
+
index: number;
|
|
10158
|
+
}
|
|
10159
|
+
/** A card moving from one slot to another — the single commit unit. */
|
|
10160
|
+
interface TaskBoardMove {
|
|
10161
|
+
cardId: string;
|
|
10162
|
+
from: TaskBoardSlot;
|
|
10163
|
+
to: TaskBoardSlot;
|
|
10164
|
+
}
|
|
10165
|
+
/** Board layouts — runtime list so demos can enumerate them. */
|
|
10166
|
+
declare const TASKBOARD_LAYOUTS: readonly ["columns", "lanes"];
|
|
10167
|
+
type TaskBoardLayout = (typeof TASKBOARD_LAYOUTS)[number];
|
|
10168
|
+
/** Card presets. */
|
|
10169
|
+
declare const TASKBOARD_CARD_LAYOUTS: readonly ["detailed", "compact"];
|
|
10170
|
+
type TaskBoardCardLayout = (typeof TASKBOARD_CARD_LAYOUTS)[number];
|
|
10171
|
+
/** Built-in strings. The React layer fills them from the `kit.taskboard.*`
|
|
10172
|
+
* catalogs; `labels` overrides them per board. */
|
|
10173
|
+
interface TaskBoardLabels {
|
|
10174
|
+
root: string;
|
|
10175
|
+
loading: string;
|
|
10176
|
+
empty: string;
|
|
10177
|
+
error: string;
|
|
10178
|
+
retry: string;
|
|
10179
|
+
addCard: string;
|
|
10180
|
+
collapse: string;
|
|
10181
|
+
expand: string;
|
|
10182
|
+
cardCount: string;
|
|
10183
|
+
wip: string;
|
|
10184
|
+
grabbed: string;
|
|
10185
|
+
moved: string;
|
|
10186
|
+
movedLane: string;
|
|
10187
|
+
dropped: string;
|
|
10188
|
+
cancelled: string;
|
|
10189
|
+
held: string;
|
|
10190
|
+
heldShort: string;
|
|
10191
|
+
notAllowed: string;
|
|
10192
|
+
pending: string;
|
|
10193
|
+
online: string;
|
|
10194
|
+
notes: string;
|
|
10195
|
+
checklist: string;
|
|
10196
|
+
due: string;
|
|
10197
|
+
addColumn: string;
|
|
10198
|
+
columnName: string;
|
|
10199
|
+
moveColumn: string;
|
|
10200
|
+
columnGrabbed: string;
|
|
10201
|
+
columnMoved: string;
|
|
10202
|
+
editColumn: string;
|
|
10203
|
+
columnColor: string;
|
|
10204
|
+
wipLimit: string;
|
|
10205
|
+
wipLimitHint: string;
|
|
10206
|
+
lockColumn: string;
|
|
10207
|
+
lockColumnHint: string;
|
|
10208
|
+
acceptsFrom: string;
|
|
10209
|
+
acceptsAny: string;
|
|
10210
|
+
save: string;
|
|
10211
|
+
cancel: string;
|
|
10212
|
+
}
|
|
10213
|
+
declare const DEFAULT_TASKBOARD_LABELS: TaskBoardLabels;
|
|
10214
|
+
|
|
10215
|
+
/**
|
|
10216
|
+
* TaskBoard layout — derive the column × lane buckets from the flat cards
|
|
10217
|
+
* array, plus the counts and WIP state the headers display.
|
|
10218
|
+
*/
|
|
10219
|
+
|
|
10220
|
+
/** Stable key for one column × lane bucket (`lane` null on a columns board). */
|
|
10221
|
+
declare function bucketKey(column: string, lane: string | null): string;
|
|
10222
|
+
/**
|
|
10223
|
+
* Bucket the cards by column × lane, keeping array order inside each
|
|
10224
|
+
* bucket. Every known bucket is present (empty ones as `[]`); a card whose
|
|
10225
|
+
* column is unknown is left out of the view.
|
|
10226
|
+
*/
|
|
10227
|
+
declare function bucketCards(cards: TaskBoardCard[], columns: TaskBoardColumn[], lanes?: TaskBoardLane[]): Map<string, TaskBoardCard[]>;
|
|
10228
|
+
|
|
10229
|
+
/**
|
|
10230
|
+
* TaskBoard fixtures — the two reference boards: a product roadmap (columns)
|
|
10231
|
+
* and a field-operations dispatch board (swimlanes). Every call returns fresh
|
|
10232
|
+
* arrays so demos can mutate their own copy.
|
|
10233
|
+
*/
|
|
10234
|
+
|
|
10235
|
+
interface TaskBoardSample {
|
|
10236
|
+
columns: TaskBoardColumn[];
|
|
10237
|
+
lanes?: TaskBoardLane[];
|
|
10238
|
+
cards: TaskBoardCard[];
|
|
10239
|
+
priorities: TaskBoardPriority[];
|
|
10240
|
+
users: TaskBoardUser[];
|
|
10241
|
+
}
|
|
10242
|
+
declare function roadmap(): TaskBoardSample;
|
|
10243
|
+
declare function fieldOps(): TaskBoardSample;
|
|
10244
|
+
declare const sampleTaskBoard: {
|
|
10245
|
+
roadmap: typeof roadmap;
|
|
10246
|
+
fieldOps: typeof fieldOps;
|
|
10247
|
+
};
|
|
10248
|
+
|
|
10249
|
+
/**
|
|
10250
|
+
* TaskBoard moves — validation (locks, transition rules, WIP limits,
|
|
10251
|
+
* collaborative holds), applying a move to the flat cards array, resolving a
|
|
10252
|
+
* pointer into a drop index, and the keyboard's next valid slot.
|
|
10253
|
+
*
|
|
10254
|
+
* Slot indexes are always *final* positions in the target bucket, counted
|
|
10255
|
+
* without the moving card — the same number before and after the move lands.
|
|
10256
|
+
*/
|
|
10257
|
+
|
|
10258
|
+
interface MoveContext {
|
|
10259
|
+
cards: TaskBoardCard[];
|
|
10260
|
+
columns: TaskBoardColumn[];
|
|
10261
|
+
lanes?: TaskBoardLane[];
|
|
10262
|
+
/** cardId → userId of whoever currently holds the card (collab). */
|
|
10263
|
+
heldBy?: Map<string, string>;
|
|
10264
|
+
/** The local user's id — a hold by yourself does not block you. */
|
|
10265
|
+
selfId?: string;
|
|
10266
|
+
}
|
|
10267
|
+
type MoveBlockReason = "locked-card" | "locked-column" | "locked-lane" | "not-accepted" | "wip-column" | "wip-lane" | "held";
|
|
10268
|
+
type MoveVerdict = {
|
|
10269
|
+
ok: true;
|
|
10270
|
+
} | {
|
|
10271
|
+
ok: false;
|
|
10272
|
+
reason: MoveBlockReason;
|
|
10273
|
+
};
|
|
10274
|
+
declare function validateMove(ctx: MoveContext, move: TaskBoardMove): MoveVerdict;
|
|
10275
|
+
/**
|
|
10276
|
+
* Apply a move: the card takes the target column/lane and is placed in the
|
|
10277
|
+
* flat array so that `bucketCards` yields it at `to.index` (clamped). Every
|
|
10278
|
+
* other card keeps its relative order; the input array is not mutated.
|
|
10279
|
+
*/
|
|
10280
|
+
declare function applyMove(cards: TaskBoardCard[], move: TaskBoardMove, columns: TaskBoardColumn[], lanes?: TaskBoardLane[]): TaskBoardCard[];
|
|
10281
|
+
|
|
10282
|
+
/**
|
|
10283
|
+
* TaskBoard collaboration — the ephemeral "who holds what, and where is it
|
|
10284
|
+
* heading" channel.
|
|
10285
|
+
*
|
|
10286
|
+
* Card *data* never travels here: after a drop the app commits through its
|
|
10287
|
+
* own backend and every client receives the new `cards`. The transport only
|
|
10288
|
+
* carries presence and drag intent, so any pub/sub room (WebSocket, Supabase
|
|
10289
|
+
* Realtime, Firebase, Liveblocks, BroadcastChannel) fits in a few lines.
|
|
10290
|
+
*
|
|
10291
|
+
* Lock arbitration is a pure reducer that every client runs over the same
|
|
10292
|
+
* events, so they all agree on the holder without a server: the earliest
|
|
10293
|
+
* `grab` wins (`at`, ties broken by `userId`), and a holder that goes quiet
|
|
10294
|
+
* for `LOCK_TTL_MS` loses the lock.
|
|
10295
|
+
*/
|
|
10296
|
+
|
|
10297
|
+
/** How often a client announces itself. */
|
|
10298
|
+
declare const PRESENCE_HEARTBEAT_MS = 5000;
|
|
10299
|
+
/** A peer (and its holds) silent this long is gone — covers a closed laptop mid-drag. */
|
|
10300
|
+
declare const LOCK_TTL_MS = 8000;
|
|
10301
|
+
/** Minimum gap between published hover events (≤ 20 Hz). */
|
|
10302
|
+
declare const HOVER_THROTTLE_MS = 50;
|
|
10303
|
+
type TaskBoardCollabEvent = {
|
|
10304
|
+
type: "presence";
|
|
10305
|
+
user: TaskBoardUser;
|
|
10306
|
+
at: number;
|
|
10307
|
+
} | {
|
|
10308
|
+
type: "leave";
|
|
10309
|
+
userId: string;
|
|
10310
|
+
at: number;
|
|
10311
|
+
} | {
|
|
10312
|
+
type: "grab";
|
|
10313
|
+
userId: string;
|
|
10314
|
+
cardId: string;
|
|
10315
|
+
at: number;
|
|
10316
|
+
} | {
|
|
10317
|
+
type: "hover";
|
|
10318
|
+
userId: string;
|
|
10319
|
+
cardId: string;
|
|
10320
|
+
column: string;
|
|
10321
|
+
lane: string | null;
|
|
10322
|
+
index: number;
|
|
10323
|
+
at: number;
|
|
10324
|
+
} | {
|
|
10325
|
+
type: "release";
|
|
10326
|
+
userId: string;
|
|
10327
|
+
cardId: string;
|
|
10328
|
+
dropped: boolean;
|
|
10329
|
+
at: number;
|
|
10330
|
+
};
|
|
10331
|
+
/** Anything that can publish an event and deliver everyone else's. */
|
|
10332
|
+
interface TaskBoardTransport {
|
|
10333
|
+
publish(event: TaskBoardCollabEvent): void;
|
|
10334
|
+
/** Returns the unsubscribe function. */
|
|
10335
|
+
subscribe(handler: (event: TaskBoardCollabEvent) => void): () => void;
|
|
10336
|
+
}
|
|
10337
|
+
interface TaskBoardHold {
|
|
10338
|
+
userId: string;
|
|
10339
|
+
/** The grab's own timestamp — the arbitration key. */
|
|
10340
|
+
at: number;
|
|
10341
|
+
/** Local receive time of the holder's last sign of life. */
|
|
10342
|
+
seen: number;
|
|
10343
|
+
/** Where the holder is currently pointing the card. */
|
|
10344
|
+
hover?: TaskBoardSlot;
|
|
10345
|
+
}
|
|
10346
|
+
interface PresenceState {
|
|
10347
|
+
peers: Map<string, {
|
|
10348
|
+
user: TaskBoardUser;
|
|
10349
|
+
lastSeen: number;
|
|
10350
|
+
}>;
|
|
10351
|
+
holds: Map<string, TaskBoardHold>;
|
|
10352
|
+
}
|
|
10353
|
+
declare function emptyPresence(): PresenceState;
|
|
10354
|
+
/**
|
|
10355
|
+
* Fold one event into the presence state. Pure; malformed or unknown events
|
|
10356
|
+
* return the same reference, so callers can bail out of a re-render.
|
|
10357
|
+
*/
|
|
10358
|
+
declare function presenceReducer(state: PresenceState, raw: unknown, now: number): PresenceState;
|
|
10359
|
+
/** Drop peers and holds that have been silent for longer than `LOCK_TTL_MS`. */
|
|
10360
|
+
declare function expirePresence(state: PresenceState, now: number): PresenceState;
|
|
10361
|
+
declare function holderOf(state: PresenceState, cardId: string): string | null;
|
|
10362
|
+
/**
|
|
10363
|
+
* Reference transport: syncs tabs of the same browser over a
|
|
10364
|
+
* `BroadcastChannel` — no server, so the collaboration layer can be tried by
|
|
10365
|
+
* opening the page twice. A channel never receives its own messages.
|
|
10366
|
+
*/
|
|
10367
|
+
declare function createBroadcastChannelTransport(roomId: string): TaskBoardTransport & {
|
|
10368
|
+
close(): void;
|
|
10369
|
+
};
|
|
10370
|
+
|
|
10371
|
+
/**
|
|
10372
|
+
* TaskBoard history — a pure undo/redo stack over moves.
|
|
10373
|
+
*
|
|
10374
|
+
* The board does not own it: an undo has to reach the app's backend like any
|
|
10375
|
+
* other move, so the app calls `undo(cards)` and commits what comes back.
|
|
10376
|
+
*/
|
|
10377
|
+
|
|
10378
|
+
interface TaskBoardHistory {
|
|
10379
|
+
push(move: TaskBoardMove): void;
|
|
10380
|
+
/** Apply the inverse of the last move; null when there is nothing to undo. */
|
|
10381
|
+
undo(cards: TaskBoardCard[], columns: TaskBoardColumn[], lanes?: TaskBoardLane[]): TaskBoardCard[] | null;
|
|
10382
|
+
redo(cards: TaskBoardCard[], columns: TaskBoardColumn[], lanes?: TaskBoardLane[]): TaskBoardCard[] | null;
|
|
10383
|
+
readonly canUndo: boolean;
|
|
10384
|
+
readonly canRedo: boolean;
|
|
10385
|
+
/** Moves on the undo stack. */
|
|
10386
|
+
readonly size: number;
|
|
10387
|
+
clear(): void;
|
|
10388
|
+
}
|
|
10389
|
+
declare function createTaskBoardHistory(limit?: number): TaskBoardHistory;
|
|
10390
|
+
|
|
10391
|
+
/**
|
|
10392
|
+
* TaskBoard colour tokens — TrueColor → Tailwind class maps.
|
|
10393
|
+
*
|
|
10394
|
+
* Every dynamic class produced here is emitted by
|
|
10395
|
+
* `scripts/generate-safelist.mjs` (TaskBoard section), because the scanner
|
|
10396
|
+
* only sees static strings.
|
|
10397
|
+
*/
|
|
10398
|
+
|
|
10399
|
+
/** A stable colour for a user id (FNV-1a over the id). */
|
|
10400
|
+
declare function peerColor(userId: string): TrueColor;
|
|
10401
|
+
|
|
10402
|
+
/**
|
|
10403
|
+
* TaskBoard internal context — what every column, lane cell and card needs
|
|
10404
|
+
* from the board, so the layouts do not thread a dozen props each.
|
|
10405
|
+
*/
|
|
10406
|
+
|
|
10407
|
+
interface TaskBoardCardState {
|
|
10408
|
+
/** This card is the one being dragged locally. */
|
|
10409
|
+
dragging: boolean;
|
|
10410
|
+
/** Picked up with the keyboard (Space) and moving slot by slot. */
|
|
10411
|
+
grabbed?: boolean;
|
|
10412
|
+
/** A peer holds this card (collaboration). */
|
|
10413
|
+
held?: TaskBoardUser;
|
|
10414
|
+
/** A short-lived note on the card, e.g. "Ben has this" after losing a grab race. */
|
|
10415
|
+
notice?: string;
|
|
10416
|
+
/** Colour of the notice tag (the peer it is about). */
|
|
10417
|
+
noticeColor?: TrueColor;
|
|
10418
|
+
selected: boolean;
|
|
10419
|
+
/** A guarded move (`onBeforeMove`) is awaiting its answer. */
|
|
10420
|
+
pending: boolean;
|
|
10421
|
+
}
|
|
10422
|
+
interface TaskBoardContextMenuPayload {
|
|
10423
|
+
card: TaskBoardCard;
|
|
10424
|
+
column: string;
|
|
10425
|
+
lane: string | null;
|
|
10426
|
+
index: number;
|
|
10427
|
+
x: number;
|
|
10428
|
+
y: number;
|
|
10429
|
+
event: React__default.MouseEvent | React__default.KeyboardEvent;
|
|
10430
|
+
}
|
|
10431
|
+
|
|
10432
|
+
/**
|
|
10433
|
+
* TaskBoard — a kanban board with columns or swimlanes, real-time drag and
|
|
10434
|
+
* drop, and a collaboration layer that shows teammates' drags live.
|
|
10435
|
+
*
|
|
10436
|
+
* Built on the framework-agnostic engine in `common/taskboard`. Fully
|
|
10437
|
+
* controlled: `cards` / `columns` / `lanes` in, `onCardsChange` /
|
|
10438
|
+
* `onColumnsChange` / `onLanesChange` out. Editors, context menus and filters
|
|
10439
|
+
* stay in the app — the board emits the payloads they need.
|
|
10440
|
+
*
|
|
10441
|
+
* Usage:
|
|
10442
|
+
* ```tsx
|
|
10443
|
+
* <TaskBoard
|
|
10444
|
+
* cards={cards}
|
|
10445
|
+
* columns={columns}
|
|
10446
|
+
* onCardsChange={(next) => setCards(next)}
|
|
10447
|
+
* title="Horizon Roadmap"
|
|
10448
|
+
* />
|
|
10449
|
+
* ```
|
|
10450
|
+
*/
|
|
10451
|
+
|
|
10452
|
+
/** The board's container surface — any Panel variant, or `plain` (no chrome). */
|
|
10453
|
+
type TaskBoardVariant = PlainSurfaceVariant;
|
|
10454
|
+
type TaskBoardCorner = PanelCorner;
|
|
10455
|
+
type TaskBoardPadding = PanelPadding;
|
|
10456
|
+
interface TaskBoardProps {
|
|
10457
|
+
/** The cards (controlled). Order inside a column × lane is array order. */
|
|
10458
|
+
cards: TaskBoardCard[];
|
|
10459
|
+
columns: TaskBoardColumn[];
|
|
10460
|
+
/** Swimlanes — used by `layout="lanes"`. */
|
|
10461
|
+
lanes?: TaskBoardLane[];
|
|
10462
|
+
priorities?: TaskBoardPriority[];
|
|
10463
|
+
/** @default "columns" */
|
|
10464
|
+
layout?: TaskBoardLayout;
|
|
10465
|
+
/** @default "detailed" */
|
|
10466
|
+
cardLayout?: TaskBoardCardLayout;
|
|
10467
|
+
/** Replace a card's body. The card shell (drag, focus, selection) stays. */
|
|
10468
|
+
renderCard?: (card: TaskBoardCard, state: TaskBoardCardState) => ReactNode;
|
|
10469
|
+
/** The single commit event: the next cards array and the move that made it. */
|
|
10470
|
+
onCardsChange?: (next: TaskBoardCard[], move: TaskBoardMove) => void;
|
|
10471
|
+
onColumnsChange?: (next: TaskBoardColumn[]) => void;
|
|
10472
|
+
onLanesChange?: (next: TaskBoardLane[]) => void;
|
|
10473
|
+
/**
|
|
10474
|
+
* Guard a move. Return / resolve `false` (or throw) to refuse it — the card
|
|
10475
|
+
* goes back without any rollback on your side. Engine rules (locks, WIP,
|
|
10476
|
+
* `accepts`) are checked before this is called.
|
|
10477
|
+
*/
|
|
10478
|
+
onBeforeMove?: (move: TaskBoardMove) => boolean | Promise<boolean>;
|
|
10479
|
+
/** Pointer / keyboard moves. Defaults to `true` when `onCardsChange` is set. */
|
|
10480
|
+
editable?: boolean;
|
|
10481
|
+
/**
|
|
10482
|
+
* Board layout editing: an "Add column" slot after the last column and a
|
|
10483
|
+
* drag grip on every column header (pointer and keyboard). Needs
|
|
10484
|
+
* `onColumnsChange`, which receives the new order / the added column.
|
|
10485
|
+
* Off by default — the layout is fixed until the app turns this on.
|
|
10486
|
+
*/
|
|
10487
|
+
editMode?: boolean;
|
|
10488
|
+
/** Click or Enter on a card — open your editor. */
|
|
10489
|
+
onCardOpen?: (card: TaskBoardCard) => void;
|
|
10490
|
+
/** Right-click or the Menu key — render your menu at x / y. */
|
|
10491
|
+
onCardContextMenu?: (payload: TaskBoardContextMenuPayload) => void;
|
|
10492
|
+
/** Shows a column's "+ Add card" button when set. */
|
|
10493
|
+
onAddCard?: (target: {
|
|
10494
|
+
column: string;
|
|
10495
|
+
lane: string | null;
|
|
10496
|
+
}) => void;
|
|
10497
|
+
/** Controlled selection. Uncontrolled when omitted. */
|
|
10498
|
+
selectedIds?: string[];
|
|
10499
|
+
onSelectionChange?: (ids: string[]) => void;
|
|
10500
|
+
/** Collaboration channel — see `TaskBoardTransport`. */
|
|
10501
|
+
transport?: TaskBoardTransport;
|
|
10502
|
+
/** Who you are on the channel. Required for `transport` to do anything. */
|
|
10503
|
+
currentUser?: TaskBoardUser;
|
|
10504
|
+
icon?: ReactNode;
|
|
10505
|
+
title?: ReactNode;
|
|
10506
|
+
subtitle?: ReactNode;
|
|
10507
|
+
/** Summary pills between the title and the avatars. */
|
|
10508
|
+
summary?: ReactNode;
|
|
10509
|
+
actions?: ReactNode;
|
|
10510
|
+
loading?: boolean;
|
|
10511
|
+
/** `true` shows the built-in message; a node replaces it. */
|
|
10512
|
+
error?: ReactNode | boolean;
|
|
10513
|
+
onRetry?: () => void;
|
|
10514
|
+
/** Shown above the columns when there are no cards. */
|
|
10515
|
+
emptyState?: ReactNode;
|
|
10516
|
+
/** @default "elevated" */
|
|
10517
|
+
variant?: TaskBoardVariant;
|
|
10518
|
+
tone?: TrueColor;
|
|
10519
|
+
/** The board container's radius. @default "rounded-md" */
|
|
10520
|
+
corner?: TaskBoardCorner;
|
|
10521
|
+
/** Radius of the column wells — the same container scale as `corner`. @default "rounded-md" */
|
|
10522
|
+
columnCorner?: TaskBoardCorner;
|
|
10523
|
+
/** @default "none" */
|
|
10524
|
+
padding?: TaskBoardPadding;
|
|
10525
|
+
glassOpacity?: GlassOpacity;
|
|
10526
|
+
vibrancy?: GlassVibrancy;
|
|
10527
|
+
specularMode?: PanelSpecularMode;
|
|
10528
|
+
/** @default "skeleton" — a board-shaped skeleton; other types overlay Panel's loader. */
|
|
10529
|
+
loaderType?: PanelLoaderType;
|
|
10530
|
+
/** Accent for focus, selection and the drop line. @default "blue" */
|
|
10531
|
+
color?: TrueColor;
|
|
10532
|
+
/** Column width and card density. @default "md" */
|
|
10533
|
+
size?: ControlSize;
|
|
10534
|
+
labels?: Partial<TaskBoardLabels>;
|
|
10535
|
+
className?: string;
|
|
10536
|
+
/** Board height (the columns scroll inside it). */
|
|
10537
|
+
height?: number | string;
|
|
10538
|
+
}
|
|
10539
|
+
declare const TaskBoard: React__default.FC<TaskBoardProps>;
|
|
10540
|
+
|
|
9663
10541
|
interface ChartGroupProps {
|
|
9664
10542
|
children?: ReactNode;
|
|
9665
10543
|
}
|
|
@@ -13370,4 +14248,70 @@ declare const ThemeAuto: React$1.ForwardRefExoticComponent<Omit<SVGProps<SVGSVGE
|
|
|
13370
14248
|
|
|
13371
14249
|
declare const Rocket: React$1.ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & React$1.RefAttributes<SVGSVGElement>>;
|
|
13372
14250
|
|
|
13373
|
-
export { ANNOTATION_CARD_H, ANNOTATION_GAP, APP_DIVIDER_VARIANTS, AccessMatrix, type AccessMatrixPermission, type AccessMatrixProps, type Accessor, Accordion, type AccordionIndicator, type AccordionIndicatorPlacement, type AccordionItem, type AccordionProps, ActivityFeed, type ActivityFeedFilter, type ActivityFeedItem, type ActivityFeedProps, Alert, AlertIconAlign, AlertIntent, type AlertProps, type AlertSize, AlertVariant, type Animator, type AnimatorOptions, type AnnotationBounds, type AnnotationCardInput, type AnnotationCardRect, type AnnotationProps, type AnnotationSide, type AnyScale, ApiErrorKind, ApiErrorState, type ApiErrorStateProps, AppDivider, type AppDividerLabelPosition, type AppDividerOrientation, type AppDividerProps, type AppDividerVariant, ApplyConfirmModal, type ApplyConfirmModalProps, type AxisBadgesProps, BADGE_VARIANTS, BUILT_IN_CATALOGS, BUTTON_SIZES, Badge, BadgeIcon, type BadgeIconProps, type BadgeProps, type BadgeSize, type BadgeVariant, type BandScaleOptions, type BarGeometry, type BarGeometryInput, type BarMode, type BarOrientation, type BarSeriesProps, type BarValueDatum, type BaseIconName, BottomSheetProvider, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, BreakdownCard, type BreakdownCardProps, type BreakdownItem, type BreakdownStat, Button, type ButtonColor, type ButtonProps, ButtonSelector, type ButtonSelectorMode, type ButtonSelectorOption, type ButtonSelectorProps, type ButtonSize, ButtonVariant, ButtonWeight, CAROUSEL_ORIENTATIONS, CHECKBOX_ALIGNS, CHECKBOX_DESCRIPTION_PLACEMENTS, CHECKBOX_VALIDATION_STATUSES, COLLAPSIBLE_HELP_VARIANTS, COMBOBOX_TONE_CLASSES, COMBOBOX_VALIDATION_STATUSES, CONNECTION_FLOW_CHILD_LAYOUTS, CONNECTION_FLOW_EDGE_STYLES, CONNECTION_FLOW_ITEM_PROGRESS, CONNECTION_FLOW_LOADERS, CONNECTION_FLOW_NODE_KINDS, CONNECTION_FLOW_PROGRESS_TYPES, CONNECTION_FLOW_RING_SIZES, CONNECTION_FLOW_STATUSES, CONNECTION_STATES, CONNECTOR_RING_RADIUS, CURATED_LOCALES, type CandleGeometry, type CandleInput, type CandlestickGeometryInput, type CandlestickSeriesProps, type CandlestickVariant, CapsuleBlueprintParameter, type CaptionProps, Carousel, type CarouselOrientation, type CarouselProps, type CarouselResponsiveOption, type CategoricalScale, Chart, type ChartAnimation, type ChartAnimationType, type ChartArea, type ChartAreaFill, type ChartColor, type ChartGridSpec, type ChartHandle, type ChartLayout, type ChartMargins, type ChartRootProps, type ChartThemeMode$1 as ChartThemeMode, type ChartThemeTokens, Chat, type ChatEvent, type ChatFolder, type ChatListQuery, type ChatMessage, type ChatMeta, type ChatModel, type ChatPage, type ChatProps, type ChatRecord, type ChatStorage, type ChatUsage, Checkbox, type CheckboxAlign, type CheckboxDescriptionPlacement, type CheckboxProps, type CheckboxSize, type CheckboxValidationStatus, type CheckboxVariant, CollapsibleHelpText, type CollapsibleHelpTextProps, type CollapsibleHelpTextVariant, CollapsiblePanel, type CollapsiblePanelProps, ColorSwatches, type ColorSwatchesProps, type Column$1 as Column, Combobox, type ComboboxOption, type ComboboxOptionInput, type ComboboxProps, type ComboboxSize, type ComboboxToneClasses, type ComboboxValidationStatus, type ComboboxVariant, ConfirmInlinePanel, type ConfirmInlinePanelProps, ConfirmModal, type ConnectNulls, ConnectionFlow, type ConnectionFlowBranch, type ConnectionFlowChildLayout, type ConnectionFlowConnectorConfig, type ConnectionFlowEdgeStyle, type ConnectionFlowHandle, ConnectionFlowHeader, type ConnectionFlowItemProgress, type ConnectionFlowLayout, type ConnectionFlowLoader, type ConnectionFlowNode, ConnectionFlowNodeBody, type ConnectionFlowNodeItem, type ConnectionFlowNodeKind, type ConnectionFlowProgressType, type ConnectionFlowProps, type ConnectionFlowRingSize, ConnectionFlowSkeleton, type ConnectionFlowStatus, ConnectionFlowSvg, type ConnectionState, type ConnectorVisual, type ContinuousScale, ControlSize, CustomIcon, type CustomIconProps, DATEPICKER_APPEND_TO, DATEPICKER_SELECTION_MODES, DEFAULT_ANIMATION_DURATION, DEFAULT_EASING, DEFAULT_GANTT_LABELS, DEFAULT_LAYOUT_OPTIONS, DEFAULT_SERIES_PALETTE, DE_KIT_CATALOG, DYNAMIC_FORM_FIELD_VARIANTS, type DataLabelPosition, type DataLabelsProps, type DataSizeUnit, DatePicker, type DatePickerAppendTo, type DatePickerProps, type DatePickerSelectionMode, type DatePickerValue, DeleteConfirmInlinePanel, type DeleteConfirmInlinePanelProps, DeleteConfirmModal, type DeleteConfirmModalProps, type DependencyCondition, DetailItemCard, type DetailItemCardBadgesAlignment, type DetailItemCardProps, type DetailItemCardVariant, DropdownButton, type DropdownButtonOption, type DropdownButtonProps, DropdownMenu, type DropdownMenuOption, type DropdownMenuProps, DynamicFormField, type DynamicFormFieldOption, type DynamicFormFieldProps, type DynamicFormFieldValue, type DynamicFormFieldVariant, DynamicImg, type DynamicImgProps, type DynamicImgSize, EASING_PRESETS, ECG_STATE_COLORS, EMPTY_STATE_VARIANTS, EN_KIT_CATALOG, ES_KIT_CATALOG, type EasingFn, type EasingName, EcgMonitor, type EcgMonitorProps, type EcgMonitorState, EmptyState, type EmptyStateProps, type EmptyStateSize, type EmptyStateTone, type EmptyStateVariant, FR_KIT_CATALOG, FUNNEL_MAX_STAGES, type FileUploadData, type FocusHandlerOptions, type FormData, FormField, type FormFieldLayout, type FormFieldProps, type FormFieldValidationStatus, type FormFieldWidth, FormLayout, type FormLayoutAlign, type FormLayoutColumns, type FormLayoutProps, FormSection, type FormSectionProps, type PanelVariant as FormSectionVariant, type FormatCompactBytesOptions, type FormatDurationOptions, type FunnelArrow, type FunnelConnector, type FunnelGeometry, type FunnelItem, type FunnelOptions, type FunnelSeriesProps, type FunnelStage, GANTT_MAX_ZOOM, GANTT_MIN_ZOOM, GANTT_ZOOM_PRESETS, GAUGE_ZONE_SUBDIVISIONS, GRID_LAYOUT_STORAGE_VERSION, GRID_STORAGE_DEFAULT_PREFIX, Gantt, type GanttColumn, type GanttCorner, type GanttDate, type GanttLabels, type GanttLane, type GanttLink, type GanttLinkType, type GanttPadding, type GanttProps, type GanttSnap, type GanttTask, type GanttTaskType, type GanttVariant, type GanttZoom, type GaugeGeometry, type GaugeGeometryInput, type GaugeSeriesProps, type GaugeTicks, type GaugeZone, type GaugeZoneSegment, GlassBackground, type GlassBackgroundPosition, type GlassBackgroundProps, type GlassBlurIntensity, GlassOpacity, GlassVibrancy, GlowIntensity, type GradientColor, type GradientDirection, type GradientStop, type GridSpecOptions, type GridStorageAdapter, type GridStoredEnvelope, type GridStyle, HERO_TITLE_ELEMENTS, HERO_VARIANTS, type HeaderGlyph, HeaderGroup, type HeaderGroupProps, type HeaderSurface, type HeatmapAnnotation, type HeatmapArea, type HeatmapCellDatum, type HeatmapCells, type HeatmapLayout, type HeatmapLayoutOptions, type HeatmapSeriesProps, HelpButtonProps, Hero, type HeroPadding, type HeroProps, type HeroSubtitleSize, type HeroTitleElement, type HeroTitleSize, type HeroVariant, type HoverItem, type HoverProps, type HoverState, type I18nConfig, type I18nEngine, type I18nMessage, I18nProvider, type I18nProviderProps, INFO_ROW_LOADERS, INFO_ROW_VARIANTS, INPUT_GROUP_VALIDATION_STATUSES, INPUT_VALIDATION_STATUSES, IconButton, type IconButtonProps, IconContext, IconName, IconProvider, type IconProviderProps, type IconRenderer, type IconSize, type IcuNode, IcuParseError, type IcuStyle, IcuValueError, type InfiniteScrollLayout, InfiniteScrollPanel, type InfiniteScrollPanelProps, type InfiniteScrollPanelVariant, InfoRow, type InfoRowLoader, type InfoRowPadding, type InfoRowProps, type InfoRowSize, type InfoRowVariant, InlinePanel, type InlinePanelAnchor, type InlinePanelProps, Input, InputGroup, type InputGroupProps, type InputGroupSize, type InputGroupValidationStatus, type InputGroupVariant, InputOtp, type InputOtpCellContext, type InputOtpProps, type InputOtpSize, type InputOtpVariant, type InputProps, type InputSize, type InputValidationStatus, InputVariant, type ItemGlyph, KeyValueArrayField, type KeyValueArrayFieldProps, type KeyValueArrayFieldSize, type KeyValueArrayFieldVariant, type KeyValuePair, LAYOUT_SIZES, LOADER_GLASS_BLURS, LOADER_VARIANTS, type LaidOutConnector, type LaidOutEdge, type LaidOutNode, type LayoutRequest, type LegendProps, type LineCurve, type LineGeometry, type LineGeometryInput, type LinePoint, type LineSeriesProps, type LinearScaleOptions, Loader, type LoaderColor, type LoaderProps, type LoaderSize, type LoaderVariant, type LocaleTag, type LogScaleOptions, METERGROUP_ORIENTATIONS, MODAL_POSITIONS, MS_DAY, MULTI_TOGGLE_INDICATORS, MULTI_TOGGLE_VARIANTS, type MarkerShape, type MessageCatalog, MeterGroup, type MeterGroupLabelPosition, type MeterGroupOrientation, type MeterGroupProps, type MeterItem, MetricBar, type MetricBarProps, _default as Modal, ModalActions, type ModalPosition, type ModalProps, Moon, MultiProgressBar, type MultiProgressBarProps, type MultiProgressBarSeries, type MultiSelectPillOption, MultiSelectPills, type MultiSelectPillsProps, MultiToggle, type MultiToggleIndicator, type MultiToggleOption, type MultiToggleProps, type MultiToggleShape, type MultiToggleVariant, NODE_CORNER_RADIUS, NODE_METRICS, NOTIFICATION_TYPES, type NodeMetrics, type NodeSurface, NotificationModal, type NotificationModalProps, type NotificationType, ORG_CHART_SELECTION_MODES, OTP_VARIANTS, type OrgChartNode, type OrgChartRenderContext, type OrgChartSelectionMode, OrganizationChart, type OrganizationChartProps, Orientation, PAGED_PANEL_LOADERS, PANEL_HERO_TITLE_ELEMENTS, PANEL_HERO_VARIANTS, PILL_CORNERS, PILL_VARIANTS, POPOVER_PLACEMENTS, PROGRESS_CORNERS, PROGRESS_MOTIONS, PROGRESS_MOTION_DIRECTIONS, PROGRESS_MOTION_SPEEDS, PT_KIT_CATALOG, PageHeader, type PageHeaderProps, type PageHeaderVariant, PagedPanel, type PagedPanelLoader, type PagedPanelProps, type Pager, Panel, type PanelAction, type PanelActionLayout, type PanelCorner, type PanelDecoration, type PanelEdgeChrome, PanelHero, type PanelHeroPadding, type PanelHeroProps, type PanelHeroSubtitleSize, type PanelHeroTitleElement, type PanelHeroTitleSize, type PanelHeroVariant, type PanelLoaderType, type PanelMediaPlacement, type PanelPadding, type PanelProps, type PanelSpecularMode, type PanelTone, type PanelVariant, type ParsedImageSource, PasswordInput, type PasswordInputProps, Picker, type PickerFilter, type PickerItem, type PickerProps, type PickerTag, type PieCenterProps, type PieGeometry, type PieSeriesInput, type PieSeriesProps, type PieSlice, Pill, type PillCorner, type PillProps, type PillSize, type PillTone, type PillVariant, PlainSurfaceVariant, type PlottedPoint, type PointScaleOptions, type PolarAxisProps, type PolarCenterProps, type PolarGeometry, type PolarGeometryInput, type PolarGrid, type PolarGridInput, type PolarLayout, type PolarSegment, type PolarSeriesProps, Popover, type PopoverLoaderType, type PopoverPlacement, type PopoverProps, Progress, type ProgressCorner, type ProgressMotion, type ProgressMotionDirection, type ProgressMotionSpeed, type ProgressProps, type ProgressSize, ProgressSpinner, type ProgressSpinnerColor, type ProgressSpinnerProps, type ProgressSpinnerSize, RATING_ORIENTATIONS, type RadarAxisProps, type RadarGeometry, type RadarGeometryInput, type RadarGrid, type RadarGridInput, type RadarLayout, type RadarPoint, type RadarSeriesProps, type RandomThemeColorValue, type RangeAreaGeometry, type RangeAreaGeometryInput, type RangeAreaPlottedPoint, type RangeAreaPoint, type RangeAreaSeriesProps, Rating, type RatingIcon, type RatingOrientation, type RatingProps, type RatingSize, type Rect, type ReferenceBandProps, type ReferenceLineProps, type ResolvedColor, type ResolvedMargins, Rocket, SELECT_VALIDATION_STATUSES, SHIMMER_SPEEDS, SHIMMER_TONES, SIDE_PANEL_SIDES, SLIDER_ORIENTATIONS, PALETTE_MIME as SMART_GRID_PALETTE_MIME, SMART_VAR_REGEX, SPINNER_THICKNESSES, SPINNER_VARIANTS, SPLIT_VIEW_LOADERS, STATUS_ICON, STATUS_TONE, STAT_CARD_LOADERS, STAT_CARD_PROGRESS_TYPES, STAT_GRAPH_CHART_TYPES, STAT_PAGER_PLACEMENTS, SYSTEM_VARIABLES, type SanitizeSvgOptions, type ScatterGeometry, type ScatterGeometryInput, type ScatterPoint, type ScatterSeriesProps, ScrollArea, type ScrollAreaProps, type ScrollAreaVariant, SearchBar, type SearchBarProps, type SearchBarSize, type SearchBarVariant, Section, SectionCard, type SectionCardProps, type SectionCardSize, type SectionCardVariant, type SectionProps, type SectionSize, type SectionVariant, Select, type SelectProps, type SelectSize, type SelectValidationStatus, type SelectVariant, Shimmer, type ShimmerProps, type ShimmerSpeed, type ShimmerTone, SideMenu, type SideMenuActionsContextValue, SideMenuActionsProvider, type SideMenuActionsProviderProps, type SideMenuDropdownItem, type SideMenuGuardAllClaims, type SideMenuGuardAnyClaim, type SideMenuGuardAnyModule, type SideMenuGuardAnyRole, type SideMenuGuardClaim, type SideMenuGuardCustom, type SideMenuGuardModule, type SideMenuGuardRole, type SideMenuItem, type SideMenuItemDivider, type SideMenuItemGroup, type SideMenuItemGuard, type SideMenuItemLink, type SideMenuItemType, SideMenuLayout, type SideMenuLayoutProps, type SideMenuLoaderType, type SideMenuProps, type SideMenuSettings, SidePanel, type SidePanelProps, type SidePanelSide, type SidePanelVariant, SidebarCollapsible, SidebarSide, SidebarVariant, Size, Slider, type SliderOrientation, type SliderProps, type SliderValue, SliderVariant, type SmartGridItem, type SmartGridItemDefinition, SmartGridItemPalette, type SmartGridItemPaletteProps, SmartGridLayout, type SmartGridLayoutProps, type SmartGridLayoutState, type SmartGridRow, type SmartGridRowDefinition, type SmartGridSection, type SmartGridSectionDefinition, type SmartGridSize, SmartGridTileBoundary, type SmartGridVariant, SmartInput, type SmartInputProps, type SmartInputSize, SmartValue, type SmartValuePart, SmartValueParts, type SmartValuePartsProps, type SmartValueProps, type SmartVariable, SmartVariableBadge, type SmartVariableBadgeProps, type SmartVariableDefinition, type SmartVariableGroup, type SmartVariableResolution, type SmartVariableResolver, type SmartVariableSource, type SmartVariableState, type SmartVariableType, type SmartViewMode, SpecularMode, SpeedDial, type SpeedDialDirection, type SpeedDialItem, type SpeedDialProps, type SpeedDialType, Spinner, type SpinnerColor, type SpinnerProps, type SpinnerSize, type SpinnerThickness, type SpinnerVariant, SplitView, type SplitViewHeaderDetails, type SplitViewHeaderSlot, type SplitViewItem, type SplitViewItemBadge, type SplitViewLoader, type SplitViewPanelHeaderProps, type SplitViewProps, type SplitViewSize, type SplitViewVariant, type StartupStage, type StartupStageStatus, StartupStageStepper, type StartupStageStepperProps, StatCard, type StatCardError, type StatCardLoader, type StatCardMeta, type StatCardPage, type StatCardProgressType, type StatCardProps, type StatCardSize, type StatCardTrend, type StatChartDataset, type StatChartItem, StatChartTile, type StatChartTileProps, StatCountTile, type StatCountTileBreakdown, type StatCountTileProps, type StatGoalItem, StatGoalTile, type StatGoalTileProps, type StatGraphChartType, type StatGraphSeries, StatGraphTile, type StatGraphTileProps, StatHealthCard, type StatHealthCardProps, StatPager, type StatPagerPlacement, type StatPagerProps, StatTile, type StatTileError, type StatTileMeta, type StatTileProgress, type StatTileProps, type StatTileTrend, StatusSpinner, type StatusSpinnerProps, type StatusSpinnerSize, type StatusSpinnerTone, type Step, type StepStatus, Stepper, type StepperConnector, type StepperConnectorAlign, type StepperLoaderType, type StepperNodeCorner, type StepperOrientation, type StepperProgressBarPosition, type StepperProps, type StepperState, type StoredGridItem, type StoredGridLayout, type StoredGridRow, type StoredGridSection, Sun, SurfaceContext, SurfaceCorner, SurfacePadding, SurfaceProvider, type SurfaceProviderProps, SurfaceTextTokens, SurfaceVariant, TABLE_SETTINGS_STORAGE_VERSION, TABLE_STORAGE_DEFAULT_PREFIX, TOAST_EXIT_MS, TOOLTIP_POSITIONS, TOOLTIP_VARIANTS, INDENT_PX as TREE_INDENT_PX, NEUTRAL_TOKENS as TREE_NEUTRAL_TOKENS, TREE_SELECTION_MODES, TREE_SIZES, TRUE_COLOR_HEX, type TabItem, type TabItemAction, Table, type TableColumn, TableDensity, type TableLoaderType, type TablePaginationState, type TableProps, type TableSettings, type TableSortState, type TableStorageAdapter, type TableStoredSettings, type TableVariant, Tabs, type TabsJustify, type TabsOrientation, type TabsProps, type TabsRadius, type TabsSize, type TabsVariant, TagPanel, type TagPanelProps, type TagPanelTag, TagPicker, type TagPickerItem, type TagPickerProps, Textarea, type TextareaProps, type TextareaResize, type TextareaSize, type TextareaValidationStatus, type TextareaVariant, ThemeAuto, type ThemeMode, type TimeScaleOptions, TimelinePanel, type TimelinePanelAction, type PanelCorner as TimelinePanelCorner, type TimelinePanelHeaderAction, type TimelinePanelItem, type PanelLoaderType as TimelinePanelLoaderType, type TimelinePanelOverflowItem, type PanelPadding as TimelinePanelPadding, type TimelinePanelProps, type PanelVariant as TimelinePanelVariant, type TitleProps, type Toast, type ToastAction, type ToastApi, type ToastBreakpoints, type ToastCloseHandler, ToastContext, type ToastEvent, type ToastInput, type ToastLifeEndHandler, type ToastMessage, type ToastMessageAction, ToastMessageCard, type ToastMessageCardProps, ToastMode, ToastPosition, type ToastProgress, ToastProvider, type ToastProviderProps, type ToastSeverity, type ToastStore, type ToastType, type ToastUpdate, ToastViewport, type ToastViewportProps, Toggle, type ToggleAlign, type ToggleDescriptionPlacement, type TogglePadding, type ToggleProps, type ToggleSize, ToggleVariant, Toolbar, type ToolbarProps, Tooltip$1 as Tooltip, type TooltipMode, type TooltipPlacement, type TooltipPosition, type TooltipProps$1 as TooltipProps, type TooltipVariant, TooltipWrapper, type TooltipWrapperProps, Tree, TreeFlowSvg, type TreeFlowSvgProps, type TreeItem, TreeItemCard, type TreeItemCardProps, type TreeItemData, type TreeProps, type TreeReorderEvent, type TreeSelectionMode, type TreeSize, type TreeTone, TreeView, type TreeViewProps, type TreemapGroupInput, type TreemapGroupLayout, type TreemapHit, type TreemapLayout, type TreemapSeriesProps, TrueColor, TruncatedText, type TruncatedTextProps, USER_AVATAR_PRESET_SIZES, USER_AVATAR_SHAPES, type UseAccordionOptions, type UseAccordionResult, type UsePagerOptions, type UseResizableOptions, type UseResizableReturn, type UseStepperOptions, UserAvatar, type UserAvatarPresetSize, type UserAvatarProps, type UserAvatarShape, type UserAvatarSize, type UserAvatarUser, ValidationStatus, VariablePicker, type VariablePickerProps, type WaterfallLayer, type WaterfallSeriesProps, type WaterfallStep, type WaterfallStepsInput, type WorkflowAction, type WorkflowData, WorkflowDetailSkeleton, WorkflowHeaderSkeleton, type WorkflowNodeGlyph, type WorkflowPalette, WorkflowRailSkeleton, type WorkflowStatus, WorkflowStatusNode, type WorkflowStatusTokens, type WorkflowStep, type WorkflowSubStep, type WorkflowSubSummary, type WorkflowSurfaceTokens, type WorkflowTallies, WorkflowTracker, type PanelCorner as WorkflowTrackerCorner, WorkflowTrackerDetails, type WorkflowTrackerDetailsProps, type WorkflowTrackerLabels, type PanelPadding as WorkflowTrackerPadding, type WorkflowTrackerProps, WorkflowTrackerRail, type WorkflowTrackerRailProps, WorkflowTrackerRollups, type WorkflowTrackerRollupsProps, WorkflowTrackerStepDetails, type WorkflowTrackerStepDetailsProps, type PanelVariant as WorkflowTrackerVariant, type XAxisProps, type YAxisProps, areaPathFromPoints, bandAreaPath, buildColumns, buildGridStorageKey, buildTableStorageKey, cleanupFocusHandler, collectExpandableIds, computeBarGeometry, computeCandlestickGeometry, computeFunnelGeometry, computeGaugeGeometry, computeHeatmapCells, computeHeatmapLayout, computeLayout, computeLineGeometry, computePieGeometry, computePolarGeometry, computePolarGrid, computeProgress, computeRadarGeometry, computeRadarGrid, computeRangeAreaGeometry, computeScatterGeometry, computeStacks, computeSubSummary, computeTallies, computeTreemapLayout, computeWaterfallSteps, connectorDotRadius, connectorVisual, contrastTextColor, createAnimator, createBandScale, createDefaultResolver, createI18n, createIntelligentFocusHandler, createLegacyGroups, createLinearScale, createLocalChatStorage, createLogScale, createPointScale, createRestChatStorage, createSafeLocalStorage, createSmartToken, createTimeScale, createToastStore, createXScale, curveFactory, darkenStage, decimate, decodeStoredLayout, decodeStoredSettings, defaultIconRenderer, encodeStoredLayout, encodeStoredSettings, evaluateAllFieldVisibility, evaluateFieldVisibility, exportGridLayout, extractVariables, findDefinition, fitToViewport, flattenCatalog, flowProgress, formatBytes, formatBytesAs, formatCompact, formatCompactBytes, formatDate, formatDuration, formatDurationFromMs, formatDurationFromSeconds, formatFullDate, formatLogTime, formatMB, formatProgressBytes, formatSI, formatTimeTick, framePolarGeometry, framePolarSweep, frameRadarGeometry, frameRangeAreaGeometry, frameScatterGeometry, gaugePoint, getAttentionSteps, getChartTheme, getColorPalette, getColorPaletteNames, getComboboxToneClasses, getEasing, getGravatarUrl, getHeaderSurface, getNodeSurface, getPanelEdgeChrome, getRandomThemeColorClass, getRandomThemeColorValue, getRowHighlight, getSidePanelTextTokens, getSkippedSteps, getStatusTokens, getSurfaceTokens, getToastTimestamp, getToneClasses, getTooltipVariantTokens, getTreeColorTokens, gridDashArray, gridLineDash, groupToVariables, hasExplicitSize, hasSmartVariables, headerGlyph, headerReservesGlyph, heightTokenRegex, hitTestNode, hitTestPolar, hitTestScatter, hitTestTreemap, iconAccentActive, iconAccentHover, iconAccentRing, importGridLayout, interpolateArrays, isAnimationInstant, isDevelopment, isTimeDomain, isTranslucentVariant, itemGlyph, itemHasBar, itemTone, itemsReserveGlyph, labelAnchor, layoutAnnotationCards, layoutConnectionFlow, layoutIsAnimated, lerp, lerpColor, linePathFromPoints, linePathWithGaps, makeToast, measureBranch, measureHeader, measureItem, measureItems, measureNode, mergeClassTokens, mergeGanttLabels, mixHex, nicePolarMax, niceRadarMax, nodeHasFailed, nodeIcon, nodeIsActive, nodeIsSkipped, nodeProgress, nodeTone, normaliseOption as normaliseComboboxOption, normalizeDataSizeUnit, normalizeOptions as normalizeDynamicFormFieldOptions, normalizeStatus, normalizeString, normalizeStringToUpper, parseImageSource, parseMessage, parseSmartVariable, pickBestUnit, pieLabelPoint, pointInPolygon, polarAngle, prefersReducedMotion, radarAngle, radarPath, readAccessor, registerEasing, relLuminance, renderIcon, resetI18nProviderWarns, resolveActiveStep, resolveColor, resolveGrid, resolveMargins, resolveSmartValue, resolveToneHex, resolveTooltipPlacement, resolveTooltipSide, roundedAnnularSector, sampleColorStops, sampleEcg, sampleGantt, sampleGanttLanes, sampleGanttLinks, sampleGanttTasks, sampleWorkflow, sanitizeSvg, shadeColor, splitSmartValue, squarifyArea, timeTickFormat, timeTicks, tintColor, toBoolean, toDate, toRows, toSmartVariable, tracePathTo, usageTotals, useAccordion, useBottomSheet, useChart, useI18n, useIconRenderer, useIntelligentFocusHandler, useIsDarkMode, useKitEngine, useKitT, usePager, useResizable, useSideMenuActions, useSidebarIsMobile, useStepper, useSurfaceText, useTheme, useToast, useToastStore, visibleItems, widthTokenRegex };
|
|
14251
|
+
declare const ViewGrid: React$1.ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & React$1.RefAttributes<SVGSVGElement>>;
|
|
14252
|
+
|
|
14253
|
+
declare const Globe: React$1.ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & React$1.RefAttributes<SVGSVGElement>>;
|
|
14254
|
+
|
|
14255
|
+
interface NetworkGraphNode {
|
|
14256
|
+
id: string;
|
|
14257
|
+
label?: string;
|
|
14258
|
+
community?: string;
|
|
14259
|
+
tone?: TrueColor;
|
|
14260
|
+
/** World coordinates. Supply both to bypass automatic placement. */
|
|
14261
|
+
x?: number;
|
|
14262
|
+
y?: number;
|
|
14263
|
+
/** Radius in world units, clamped to 1–40. Default: 4. */
|
|
14264
|
+
radius?: number;
|
|
14265
|
+
}
|
|
14266
|
+
interface NetworkGraphEdge {
|
|
14267
|
+
id: string;
|
|
14268
|
+
source: string;
|
|
14269
|
+
target: string;
|
|
14270
|
+
tone?: TrueColor;
|
|
14271
|
+
}
|
|
14272
|
+
interface NetworkGraphCommunity {
|
|
14273
|
+
id: string;
|
|
14274
|
+
label: string;
|
|
14275
|
+
tone?: TrueColor;
|
|
14276
|
+
}
|
|
14277
|
+
interface NetworkGraphViewport {
|
|
14278
|
+
x: number;
|
|
14279
|
+
y: number;
|
|
14280
|
+
zoom: number;
|
|
14281
|
+
}
|
|
14282
|
+
interface NetworkGraphProps extends Pick<PanelProps, "variant" | "tone" | "corner" | "glassOpacity" | "vibrancy" | "specularMode" | "className" | "style" | "loading" | "disabled" | "title" | "description"> {
|
|
14283
|
+
nodes: readonly NetworkGraphNode[];
|
|
14284
|
+
edges: readonly NetworkGraphEdge[];
|
|
14285
|
+
communities?: readonly NetworkGraphCommunity[];
|
|
14286
|
+
/** Height of the graph viewport, in CSS pixels. Default: 480. */
|
|
14287
|
+
height?: number;
|
|
14288
|
+
selectedNodeId?: string | null;
|
|
14289
|
+
defaultSelectedNodeId?: string | null;
|
|
14290
|
+
onNodeSelect?: (node: NetworkGraphNode | null) => void;
|
|
14291
|
+
/** Omit for internal filtering. Unknown communities are inferred from nodes. */
|
|
14292
|
+
visibleCommunityIds?: readonly string[];
|
|
14293
|
+
onVisibleCommunitiesChange?: (ids: string[]) => void;
|
|
14294
|
+
highlightedEdgeIds?: readonly string[];
|
|
14295
|
+
showCommunities?: boolean;
|
|
14296
|
+
/** Wrap the legend in a Panel. Default: false. */
|
|
14297
|
+
legendPanel?: boolean;
|
|
14298
|
+
/** Legend Panel surface; auto follows the graph variant. Default: auto. */
|
|
14299
|
+
legendVariant?: "auto" | NonNullable<PanelProps["variant"]>;
|
|
14300
|
+
/** Legend Panel tone; auto follows the graph tone. Default: auto. */
|
|
14301
|
+
legendTone?: "auto" | TrueColor;
|
|
14302
|
+
/** Auto places the legend right at 600px available width, otherwise below. */
|
|
14303
|
+
legendPosition?: "auto" | "right" | "bottom";
|
|
14304
|
+
showLabels?: boolean;
|
|
14305
|
+
showControls?: boolean;
|
|
14306
|
+
/** Localized graph name. Other chrome uses the kit catalogs. */
|
|
14307
|
+
ariaLabel?: string;
|
|
14308
|
+
emptyMessage?: React.ReactNode;
|
|
14309
|
+
onViewportChange?: (viewport: NetworkGraphViewport) => void;
|
|
14310
|
+
}
|
|
14311
|
+
|
|
14312
|
+
declare function NetworkGraph({ nodes, edges, communities, height, selectedNodeId, defaultSelectedNodeId, onNodeSelect, visibleCommunityIds, onVisibleCommunitiesChange, highlightedEdgeIds, showCommunities, legendPosition, legendPanel, legendVariant, legendTone, showLabels, showControls, ariaLabel, emptyMessage, onViewportChange, tone, variant, disabled, loading, ...panelProps }: NetworkGraphProps): React__default.JSX.Element;
|
|
14313
|
+
|
|
14314
|
+
/** Returns edge IDs along the shortest unweighted, undirected path, or [] when disconnected. */
|
|
14315
|
+
declare function findNetworkPath(edges: readonly NetworkGraphEdge[], source: string, target: string): string[];
|
|
14316
|
+
|
|
14317
|
+
export { ANNOTATION_CARD_H, ANNOTATION_GAP, APP_DIVIDER_VARIANTS, AccessMatrix, type AccessMatrixPermission, type AccessMatrixProps, type Accessor, Accordion, type AccordionIndicator, type AccordionIndicatorPlacement, type AccordionItem, type AccordionProps, ActivityFeed, type ActivityFeedFilter, type ActivityFeedItem, type ActivityFeedProps, Alert, AlertIconAlign, AlertIntent, type AlertProps, type AlertSize, AlertVariant, type Animator, type AnimatorOptions, type AnnotationBounds, type AnnotationCardInput, type AnnotationCardRect, type AnnotationProps, type AnnotationSide, type AnyScale, ApiErrorKind, ApiErrorState, type ApiErrorStateProps, AppDivider, type AppDividerLabelPosition, type AppDividerOrientation, type AppDividerProps, type AppDividerVariant, ApplyConfirmModal, type ApplyConfirmModalProps, type AxisBadgesProps, BADGE_VARIANTS, BUILT_IN_CATALOGS, BUTTON_SIZES, Badge, BadgeIcon, type BadgeIconProps, type BadgeProps, type BadgeSize, type BadgeVariant, type BandScaleOptions, type BarGeometry, type BarGeometryInput, type BarMode, type BarOrientation, type BarSeriesProps, type BarValueDatum, type BaseIconName, BottomSheetProvider, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, BreakdownCard, type BreakdownCardProps, type BreakdownItem, type BreakdownStat, Button, type ButtonColor, type ButtonProps, ButtonSelector, type ButtonSelectorMode, type ButtonSelectorOption, type ButtonSelectorProps, type ButtonSize, ButtonVariant, ButtonWeight, CAROUSEL_ORIENTATIONS, CHECKBOX_ALIGNS, CHECKBOX_DESCRIPTION_PLACEMENTS, CHECKBOX_VALIDATION_STATUSES, COLLAPSIBLE_HELP_VARIANTS, COMBOBOX_TONE_CLASSES, COMBOBOX_VALIDATION_STATUSES, CONNECTION_FLOW_CHILD_LAYOUTS, CONNECTION_FLOW_EDGE_STYLES, CONNECTION_FLOW_ITEM_PROGRESS, CONNECTION_FLOW_LOADERS, CONNECTION_FLOW_NODE_KINDS, CONNECTION_FLOW_PROGRESS_TYPES, CONNECTION_FLOW_RING_SIZES, CONNECTION_FLOW_STATUSES, CONNECTION_STATES, CONNECTOR_RING_RADIUS, CURATED_LOCALES, type CandleGeometry, type CandleInput, type CandlestickGeometryInput, type CandlestickSeriesProps, type CandlestickVariant, CapsuleBlueprintParameter, type CaptionProps, Carousel, type CarouselOrientation, type CarouselProps, type CarouselResponsiveOption, type CategoricalScale, Chart, type ChartAnimation, type ChartAnimationType, type ChartArea, type ChartAreaFill, type ChartColor, type ChartGridSpec, type ChartHandle, type ChartLayout, type ChartMargins, type ChartRootProps, type ChartThemeMode$1 as ChartThemeMode, type ChartThemeTokens, Chat, type ChatEvent, type ChatFolder, type ChatListQuery, type ChatMessage, type ChatMeta, type ChatModel, type ChatPage, type ChatProps, type ChatRecord, type ChatStorage, type ChatUsage, Checkbox, type CheckboxAlign, type CheckboxDescriptionPlacement, type CheckboxProps, type CheckboxSize, type CheckboxValidationStatus, type CheckboxVariant, CollapsibleHelpText, type CollapsibleHelpTextProps, type CollapsibleHelpTextVariant, CollapsiblePanel, type CollapsiblePanelProps, ColorSwatches, type ColorSwatchesProps, type Column$1 as Column, Combobox, type ComboboxOption, type ComboboxOptionInput, type ComboboxProps, type ComboboxSize, type ComboboxToneClasses, type ComboboxValidationStatus, type ComboboxVariant, CondensedStepper, type CondensedStepperProps, type CondensedZone, ConfirmInlinePanel, type ConfirmInlinePanelProps, ConfirmModal, type ConnectNulls, ConnectionFlow, type ConnectionFlowBranch, type ConnectionFlowChildLayout, type ConnectionFlowConnectRequest, type ConnectionFlowConnection, type ConnectionFlowConnectorConfig, type ConnectionFlowEdgeStyle, type ConnectionFlowHandle, ConnectionFlowHeader, type ConnectionFlowItemProgress, type ConnectionFlowLayout, type ConnectionFlowLoader, type ConnectionFlowNode, ConnectionFlowNodeBody, type ConnectionFlowNodeItem, type ConnectionFlowNodeKind, type ConnectionFlowPlacement, type ConnectionFlowProgressType, type ConnectionFlowProps, type ConnectionFlowRingSize, ConnectionFlowSkeleton, type ConnectionFlowStatus, ConnectionFlowSvg, type ConnectionState, type ConnectorVisual, type ContinuousScale, ControlSize, CustomIcon, type CustomIconProps, DATEPICKER_APPEND_TO, DATEPICKER_SELECTION_MODES, DEFAULT_ANIMATION_DURATION, DEFAULT_EASING, DEFAULT_GANTT_LABELS, DEFAULT_LAYOUT_OPTIONS, DEFAULT_SERIES_PALETTE, DEFAULT_TASKBOARD_LABELS, DE_KIT_CATALOG, DYNAMIC_FORM_FIELD_VARIANTS, type DataLabelPosition, type DataLabelsProps, type DataSizeUnit, DatePicker, type DatePickerAppendTo, type DatePickerProps, type DatePickerSelectionMode, type DatePickerValue, DeleteConfirmInlinePanel, type DeleteConfirmInlinePanelProps, DeleteConfirmModal, type DeleteConfirmModalProps, type DependencyCondition, DetailItemCard, type DetailItemCardBadgesAlignment, type DetailItemCardProps, type DetailItemCardVariant, DropdownButton, type DropdownButtonOption, type DropdownButtonProps, DropdownMenu, type DropdownMenuOption, type DropdownMenuProps, DynamicFormField, type DynamicFormFieldOption, type DynamicFormFieldProps, type DynamicFormFieldValue, type DynamicFormFieldVariant, DynamicImg, type DynamicImgProps, type DynamicImgSize, EASING_PRESETS, ECG_STATE_COLORS, EMPTY_STATE_VARIANTS, EN_KIT_CATALOG, ES_KIT_CATALOG, EXPANDABLE_BUTTON_ICON_MOTIONS, EXPANDABLE_BUTTON_SPRINGS, EXPAND_TRIGGERS, type EasingFn, type EasingName, EcgMonitor, type EcgMonitorProps, type EcgMonitorState, EmptyState, type EmptyStateProps, type EmptyStateSize, type EmptyStateTone, type EmptyStateVariant, type ExpandTrigger, ExpandableButton, type ExpandableButtonIconMotion, type ExpandableButtonProps, type ExpandableButtonSpring, FR_KIT_CATALOG, FUNNEL_MAX_STAGES, type FileUploadData, type FocusHandlerOptions, type FormData, FormField, type FormFieldLayout, type FormFieldProps, type FormFieldValidationStatus, type FormFieldWidth, FormLayout, type FormLayoutAlign, type FormLayoutColumns, type FormLayoutProps, FormSection, type FormSectionProps, type PanelVariant as FormSectionVariant, type FormatCompactBytesOptions, type FormatDurationOptions, type FunnelArrow, type FunnelConnector, type FunnelGeometry, type FunnelItem, type FunnelOptions, type FunnelSeriesProps, type FunnelStage, GANTT_MAX_ZOOM, GANTT_MIN_ZOOM, GANTT_ZOOM_PRESETS, GAUGE_ZONE_SUBDIVISIONS, GRID_LAYOUT_STORAGE_VERSION, GRID_STORAGE_DEFAULT_PREFIX, Gantt, type GanttColumn, type GanttCorner, type GanttDate, type GanttLabels, type GanttLane, type GanttLink, type GanttLinkType, type GanttPadding, type GanttProps, type GanttSnap, type GanttTask, type GanttTaskType, type GanttVariant, type GanttZoom, type GaugeGeometry, type GaugeGeometryInput, type GaugeSeriesProps, type GaugeTicks, type GaugeZone, type GaugeZoneSegment, GlassBackground, type GlassBackgroundPosition, type GlassBackgroundProps, type GlassBlurIntensity, GlassOpacity, GlassVibrancy, Globe, GlowIntensity, type GradientColor, type GradientDirection, type GradientStop, type GridSpecOptions, type GridStorageAdapter, type GridStoredEnvelope, type GridStyle, HERO_TITLE_ELEMENTS, HERO_VARIANTS, HOVER_THROTTLE_MS, type HeaderGlyph, HeaderGroup, type HeaderGroupProps, type HeaderSurface, type HeatmapAnnotation, type HeatmapArea, type HeatmapCellDatum, type HeatmapCells, type HeatmapLayout, type HeatmapLayoutOptions, type HeatmapSeriesProps, HelpButtonProps, Hero, type HeroPadding, type HeroProps, type HeroSubtitleSize, type HeroTitleElement, type HeroTitleSize, type HeroVariant, type HoverItem, type HoverProps, type HoverState, type I18nConfig, type I18nEngine, type I18nMessage, I18nProvider, type I18nProviderProps, INFO_ROW_LOADERS, INFO_ROW_VARIANTS, INPUT_GROUP_VALIDATION_STATUSES, INPUT_VALIDATION_STATUSES, IconButton, type IconButtonProps, IconContext, IconName, IconProvider, type IconProviderProps, type IconRenderer, type IconSize, type IcuNode, IcuParseError, type IcuStyle, IcuValueError, type InfiniteScrollLayout, InfiniteScrollPanel, type InfiniteScrollPanelProps, type InfiniteScrollPanelVariant, InfoRow, type InfoRowLoader, type InfoRowPadding, type InfoRowProps, type InfoRowSize, type InfoRowVariant, InlinePanel, type InlinePanelAnchor, type InlinePanelProps, Input, InputGroup, type InputGroupProps, type InputGroupSize, type InputGroupValidationStatus, type InputGroupVariant, InputOtp, type InputOtpCellContext, type InputOtpProps, type InputOtpSize, type InputOtpVariant, type InputProps, type InputSize, type InputValidationStatus, InputVariant, type ItemGlyph, KeyValueArrayField, type KeyValueArrayFieldProps, type KeyValueArrayFieldSize, type KeyValueArrayFieldVariant, type KeyValuePair, LAYOUT_SIZES, LOADER_GLASS_BLURS, LOADER_VARIANTS, LOCK_TTL_MS, type LaidOutConnector, type LaidOutEdge, type LaidOutNode, type LayoutRequest, type LegendProps, type LineCurve, type LineGeometry, type LineGeometryInput, type LinePoint, type LineSeriesProps, type LinearScaleOptions, Loader, type LoaderColor, type LoaderProps, type LoaderSize, type LoaderVariant, type LocaleTag, type LogScaleOptions, METERGROUP_ORIENTATIONS, MODAL_POSITIONS, MS_DAY, MULTI_TOGGLE_INDICATORS, MULTI_TOGGLE_VARIANTS, type MarkerShape, type MessageCatalog, MeterGroup, type MeterGroupLabelPosition, type MeterGroupOrientation, type MeterGroupProps, type MeterItem, MetricBar, type MetricBarProps, _default as Modal, ModalActions, type ModalPosition, type ModalProps, Moon, type MoveContext, type MoveVerdict, MultiProgressBar, type MultiProgressBarProps, type MultiProgressBarSeries, type MultiSelectPillOption, MultiSelectPills, type MultiSelectPillsProps, MultiToggle, type MultiToggleIndicator, type MultiToggleOption, type MultiToggleProps, type MultiToggleShape, type MultiToggleVariant, NODE_CORNER_RADIUS, NODE_METRICS, NOTIFICATION_TYPES, NetworkGraph, type NetworkGraphCommunity, type NetworkGraphEdge, type NetworkGraphNode, type NetworkGraphProps, type NetworkGraphViewport, type NodeMetrics, type NodeSurface, NotificationModal, type NotificationModalProps, type NotificationType, ORG_CHART_SELECTION_MODES, OTP_VARIANTS, type OrgChartNode, type OrgChartRenderContext, type OrgChartSelectionMode, OrganizationChart, type OrganizationChartProps, Orientation, PAGED_PANEL_LOADERS, PANEL_HERO_TITLE_ELEMENTS, PANEL_HERO_VARIANTS, PILL_CORNERS, PILL_VARIANTS, POPOVER_PLACEMENTS, PRESENCE_HEARTBEAT_MS, PROGRESS_CORNERS, PROGRESS_MOTIONS, PROGRESS_MOTION_DIRECTIONS, PROGRESS_MOTION_SPEEDS, PT_KIT_CATALOG, PageHeader, type PageHeaderProps, type PageHeaderVariant, PagedPanel, type PagedPanelLoader, type PagedPanelProps, type Pager, Panel, type PanelAction, type PanelActionLayout, type PanelCorner, type PanelDecoration, type PanelEdgeChrome, PanelHero, type PanelHeroPadding, type PanelHeroProps, type PanelHeroSubtitleSize, type PanelHeroTitleElement, type PanelHeroTitleSize, type PanelHeroVariant, type PanelLoaderType, type PanelMediaPlacement, type PanelPadding, type PanelProps, type PanelSpecularMode, type PanelTone, type PanelVariant, type ParsedImageSource, PasswordInput, type PasswordInputProps, Picker, type PickerFilter, type PickerItem, type PickerProps, type PickerTag, type PieCenterProps, type PieGeometry, type PieSeriesInput, type PieSeriesProps, type PieSlice, Pill, type PillCorner, type PillProps, type PillSize, type PillTone, type PillVariant, PlainSurfaceVariant, type PlottedPoint, type PointScaleOptions, type PolarAxisProps, type PolarCenterProps, type PolarGeometry, type PolarGeometryInput, type PolarGrid, type PolarGridInput, type PolarLayout, type PolarSegment, type PolarSeriesProps, Popover, type PopoverLoaderType, type PopoverPlacement, type PopoverProps, type PresenceState, Progress, type ProgressCorner, type ProgressMotion, type ProgressMotionDirection, type ProgressMotionSpeed, type ProgressProps, type ProgressSize, ProgressSpinner, type ProgressSpinnerColor, type ProgressSpinnerProps, type ProgressSpinnerSize, RATING_ORIENTATIONS, type RadarAxisProps, type RadarGeometry, type RadarGeometryInput, type RadarGrid, type RadarGridInput, type RadarLayout, type RadarPoint, type RadarSeriesProps, type RandomThemeColorValue, type RangeAreaGeometry, type RangeAreaGeometryInput, type RangeAreaPlottedPoint, type RangeAreaPoint, type RangeAreaSeriesProps, Rating, type RatingIcon, type RatingOrientation, type RatingProps, type RatingSize, type Rect, type ReferenceBandProps, type ReferenceLineProps, type ResolvedColor, type ResolvedMargins, Rocket, SELECT_VALIDATION_STATUSES, SHIMMER_SPEEDS, SHIMMER_TONES, SIDE_PANEL_SIDES, SLIDER_ORIENTATIONS, PALETTE_MIME as SMART_GRID_PALETTE_MIME, SMART_VAR_REGEX, SPINNER_THICKNESSES, SPINNER_VARIANTS, SPLIT_VIEW_LOADERS, STATUS_ICON, STATUS_TONE, STAT_CARD_LOADERS, STAT_CARD_PROGRESS_TYPES, STAT_GRAPH_CHART_TYPES, STAT_PAGER_PLACEMENTS, SYSTEM_VARIABLES, type SanitizeSvgOptions, type ScatterGeometry, type ScatterGeometryInput, type ScatterPoint, type ScatterSeriesProps, ScrollArea, type ScrollAreaProps, type ScrollAreaVariant, SearchBar, type SearchBarProps, type SearchBarSize, type SearchBarVariant, Section, SectionCard, type SectionCardProps, type SectionCardSize, type SectionCardVariant, type SectionProps, type SectionSize, type SectionVariant, Select, type SelectProps, type SelectSize, type SelectValidationStatus, type SelectVariant, Shimmer, type ShimmerProps, type ShimmerSpeed, type ShimmerTone, SideMenu, type SideMenuActionsContextValue, SideMenuActionsProvider, type SideMenuActionsProviderProps, type SideMenuCta, type SideMenuCtaAction, type SideMenuDetailItem, type SideMenuDropdownItem, type SideMenuGuardAllClaims, type SideMenuGuardAnyClaim, type SideMenuGuardAnyModule, type SideMenuGuardAnyRole, type SideMenuGuardClaim, type SideMenuGuardCustom, type SideMenuGuardModule, type SideMenuGuardRole, type SideMenuItem, type SideMenuItemDivider, type SideMenuItemGroup, type SideMenuItemGuard, type SideMenuItemLink, type SideMenuItemType, SideMenuLayout, type SideMenuLayoutProps, type SideMenuLoaderType, type SideMenuProps, type SideMenuSettings, SidePanel, type SidePanelProps, type SidePanelSide, type SidePanelVariant, SidebarCollapsible, SidebarSide, SidebarVariant, Size, Slider, type SliderOrientation, type SliderProps, type SliderValue, SliderVariant, type SmartGridItem, type SmartGridItemDefinition, SmartGridItemPalette, type SmartGridItemPaletteProps, SmartGridLayout, type SmartGridLayoutProps, type SmartGridLayoutState, type SmartGridRow, type SmartGridRowDefinition, type SmartGridSection, type SmartGridSectionDefinition, type SmartGridSize, SmartGridTileBoundary, type SmartGridVariant, SmartInput, type SmartInputProps, type SmartInputSize, SmartValue, type SmartValuePart, SmartValueParts, type SmartValuePartsProps, type SmartValueProps, type SmartVariable, SmartVariableBadge, type SmartVariableBadgeProps, type SmartVariableDefinition, type SmartVariableGroup, type SmartVariableResolution, type SmartVariableResolver, type SmartVariableSource, type SmartVariableState, type SmartVariableType, type SmartViewMode, SpecularMode, SpeedDial, type SpeedDialDirection, type SpeedDialItem, type SpeedDialProps, type SpeedDialType, Spinner, type SpinnerColor, type SpinnerProps, type SpinnerSize, type SpinnerThickness, type SpinnerVariant, SplitView, type SplitViewHeaderDetails, type SplitViewHeaderSlot, type SplitViewItem, type SplitViewItemBadge, type SplitViewLoader, type SplitViewPanelHeaderProps, type SplitViewProps, type SplitViewSize, type SplitViewVariant, type StartupStage, type StartupStageStatus, StartupStageStepper, type StartupStageStepperProps, StatCard, type StatCardError, type StatCardLoader, type StatCardMeta, type StatCardPage, type StatCardProgressType, type StatCardProps, type StatCardSize, type StatCardTrend, type StatChartDataset, type StatChartItem, StatChartTile, type StatChartTileProps, StatCountTile, type StatCountTileBreakdown, type StatCountTileProps, type StatGoalItem, StatGoalTile, type StatGoalTileProps, type StatGraphChartType, type StatGraphSeries, StatGraphTile, type StatGraphTileProps, StatHealthCard, type StatHealthCardProps, StatPager, type StatPagerPlacement, type StatPagerProps, StatTile, type StatTileError, type StatTileMeta, type StatTileProgress, type StatTileProps, type StatTileTrend, StatusSpinner, type StatusSpinnerProps, type StatusSpinnerSize, type StatusSpinnerTone, type Step, type StepStatus, Stepper, type StepperConnector, type StepperConnectorAlign, type StepperLoaderType, type StepperNodeCorner, type StepperOrientation, type StepperProgressBarPosition, type StepperProps, type StepperState, type StepperStep, type StoredGridItem, type StoredGridLayout, type StoredGridRow, type StoredGridSection, Sun, SurfaceContext, SurfaceCorner, SurfacePadding, SurfaceProvider, type SurfaceProviderProps, SurfaceTextTokens, SurfaceVariant, TABLE_SETTINGS_STORAGE_VERSION, TABLE_STORAGE_DEFAULT_PREFIX, TASKBOARD_CARD_LAYOUTS, TASKBOARD_LAYOUTS, TOAST_EXIT_MS, TOOLTIP_POSITIONS, TOOLTIP_VARIANTS, INDENT_PX as TREE_INDENT_PX, NEUTRAL_TOKENS as TREE_NEUTRAL_TOKENS, TREE_SELECTION_MODES, TREE_SIZES, TRUE_COLOR_HEX, type TabItem, type TabItemAction, Table, type TableColumn, TableDensity, type TableLoaderType, type TablePaginationState, type TableProps, type TableSettings, type TableSortState, type TableStorageAdapter, type TableStoredSettings, type TableVariant, Tabs, type TabsJustify, type TabsOrientation, type TabsProps, type TabsRadius, type TabsSize, type TabsVariant, TagPanel, type TagPanelProps, type TagPanelTag, TagPicker, type TagPickerItem, type TagPickerProps, TaskBoard, type TaskBoardCard, type TaskBoardCardLayout, type TaskBoardCardState, type TaskBoardCollabEvent, type TaskBoardColumn, type TaskBoardContextMenuPayload, type TaskBoardCorner, type TaskBoardHistory, type TaskBoardLabels, type TaskBoardLane, type TaskBoardLayout, type TaskBoardMove, type TaskBoardPadding, type TaskBoardPriority, type TaskBoardProps, type TaskBoardSample, type TaskBoardSlot, type TaskBoardTag, type TaskBoardTransport, type TaskBoardUser, type TaskBoardVariant, Textarea, type TextareaProps, type TextareaResize, type TextareaSize, type TextareaValidationStatus, type TextareaVariant, ThemeAuto, type ThemeMode, type TimeScaleOptions, TimelinePanel, type TimelinePanelAction, type PanelCorner as TimelinePanelCorner, type TimelinePanelHeaderAction, type TimelinePanelItem, type PanelLoaderType as TimelinePanelLoaderType, type TimelinePanelOverflowItem, type PanelPadding as TimelinePanelPadding, type TimelinePanelProps, type PanelVariant as TimelinePanelVariant, type TitleProps, type Toast, type ToastAction, type ToastApi, type ToastBreakpoints, type ToastCloseHandler, ToastContext, type ToastEvent, type ToastInput, type ToastLifeEndHandler, type ToastMessage, type ToastMessageAction, ToastMessageCard, type ToastMessageCardProps, ToastMode, ToastPosition, type ToastProgress, ToastProvider, type ToastProviderProps, type ToastSeverity, type ToastStore, type ToastType, type ToastUpdate, ToastViewport, type ToastViewportProps, Toggle, type ToggleAlign, type ToggleDescriptionPlacement, type TogglePadding, type ToggleProps, type ToggleSize, ToggleVariant, Toolbar, type ToolbarProps, Tooltip$1 as Tooltip, type TooltipMode, type TooltipPlacement, type TooltipPosition, type TooltipProps$1 as TooltipProps, type TooltipVariant, TooltipWrapper, type TooltipWrapperProps, Tree, TreeFlowSvg, type TreeFlowSvgProps, type TreeItem, TreeItemCard, type TreeItemCardProps, type TreeItemData, type TreeProps, type TreeReorderEvent, type TreeSelectionMode, type TreeSize, type TreeTone, TreeView, type TreeViewProps, type TreemapGroupInput, type TreemapGroupLayout, type TreemapHit, type TreemapLayout, type TreemapSeriesProps, TrueColor, TruncatedText, type TruncatedTextProps, USER_AVATAR_PRESET_SIZES, USER_AVATAR_SHAPES, type UseAccordionOptions, type UseAccordionResult, type UsePagerOptions, type UseResizableOptions, type UseResizableReturn, type UseStepperOptions, UserAvatar, type UserAvatarPresetSize, type UserAvatarProps, type UserAvatarShape, type UserAvatarSize, type UserAvatarUser, ValidationStatus, VariablePicker, type VariablePickerProps, ViewGrid, type WaterfallLayer, type WaterfallSeriesProps, type WaterfallStep, type WaterfallStepsInput, type WorkflowAction, type WorkflowData, WorkflowDetailSkeleton, WorkflowHeaderSkeleton, type WorkflowNodeGlyph, type WorkflowPalette, WorkflowRailSkeleton, type WorkflowStatus, WorkflowStatusNode, type WorkflowStatusTokens, type WorkflowStep, type WorkflowSubStep, type WorkflowSubSummary, type WorkflowSurfaceTokens, type WorkflowTallies, WorkflowTracker, type PanelCorner as WorkflowTrackerCorner, WorkflowTrackerDetails, type WorkflowTrackerDetailsProps, type WorkflowTrackerLabels, type PanelPadding as WorkflowTrackerPadding, type WorkflowTrackerProps, WorkflowTrackerRail, type WorkflowTrackerRailProps, WorkflowTrackerRollups, type WorkflowTrackerRollupsProps, WorkflowTrackerStepDetails, type WorkflowTrackerStepDetailsProps, type PanelVariant as WorkflowTrackerVariant, type XAxisProps, type YAxisProps, applyMove, areaPathFromPoints, bandAreaPath, bucketCards, bucketKey, buildColumns, buildGridStorageKey, buildTableStorageKey, cleanupFocusHandler, collectExpandableIds, computeBarGeometry, computeCandlestickGeometry, computeFunnelGeometry, computeGaugeGeometry, computeHeatmapCells, computeHeatmapLayout, computeLayout, computeLineGeometry, computePieGeometry, computePolarGeometry, computePolarGrid, computeProgress, computeRadarGeometry, computeRadarGrid, computeRangeAreaGeometry, computeScatterGeometry, computeStacks, computeSubSummary, computeTallies, computeTreemapLayout, computeWaterfallSteps, connectorDotRadius, connectorVisual, contrastTextColor, createAnimator, createBandScale, createBroadcastChannelTransport, createDefaultResolver, createI18n, createIntelligentFocusHandler, createLegacyGroups, createLinearScale, createLocalChatStorage, createLogScale, createPointScale, createRestChatStorage, createSafeLocalStorage, createSmartToken, createTaskBoardHistory, createTimeScale, createToastStore, createXScale, curveFactory, darkenStage, decimate, decodeStoredLayout, decodeStoredSettings, defaultIconRenderer, emptyPresence, encodeStoredLayout, encodeStoredSettings, evaluateAllFieldVisibility, evaluateFieldVisibility, expirePresence, exportGridLayout, extractVariables, findDefinition, findNetworkPath, fitToViewport, flattenCatalog, flowProgress, formatBytes, formatBytesAs, formatCompact, formatCompactBytes, formatDate, formatDuration, formatDurationFromMs, formatDurationFromSeconds, formatFullDate, formatLogTime, formatMB, formatProgressBytes, formatSI, formatTimeTick, framePolarGeometry, framePolarSweep, frameRadarGeometry, frameRangeAreaGeometry, frameScatterGeometry, gaugePoint, getAttentionSteps, getChartTheme, getColorPalette, getColorPaletteNames, getComboboxToneClasses, getEasing, getGravatarUrl, getHeaderSurface, getNodeSurface, getPanelEdgeChrome, getRandomThemeColorClass, getRandomThemeColorValue, getRowHighlight, getSidePanelTextTokens, getSkippedSteps, getStatusTokens, getSurfaceTokens, getToastTimestamp, getToneClasses, getTooltipVariantTokens, getTreeColorTokens, gridDashArray, gridLineDash, groupToVariables, hasExplicitSize, hasSmartVariables, headerGlyph, headerReservesGlyph, heightTokenRegex, hitTestNode, hitTestPolar, hitTestScatter, hitTestTreemap, holderOf, iconAccentActive, iconAccentHover, iconAccentRing, importGridLayout, interpolateArrays, isAnimationInstant, isDevelopment, isTimeDomain, isTranslucentVariant, itemGlyph, itemHasBar, itemTone, itemsReserveGlyph, labelAnchor, layoutAnnotationCards, layoutConnectionFlow, layoutIsAnimated, lerp, lerpColor, linePathFromPoints, linePathWithGaps, makeToast, measureBranch, measureHeader, measureItem, measureItems, measureNode, mergeClassTokens, mergeGanttLabels, mixHex, nicePolarMax, niceRadarMax, nodeHasFailed, nodeIcon, nodeIsActive, nodeIsSkipped, nodeProgress, nodeTone, normaliseOption as normaliseComboboxOption, normalizeDataSizeUnit, normalizeOptions as normalizeDynamicFormFieldOptions, normalizeStatus, normalizeString, normalizeStringToUpper, parseImageSource, parseMessage, parseSmartVariable, peerColor, pickBestUnit, pieLabelPoint, pointInPolygon, polarAngle, prefersReducedMotion, presenceReducer, radarAngle, radarPath, readAccessor, registerEasing, relLuminance, renderIcon, resetI18nProviderWarns, resolveActiveStep, resolveColor, resolveGrid, resolveMargins, resolveSmartValue, resolveToneHex, resolveTooltipPlacement, resolveTooltipSide, roundedAnnularSector, sampleColorStops, sampleEcg, sampleGantt, sampleGanttLanes, sampleGanttLinks, sampleGanttTasks, sampleTaskBoard, sampleWorkflow, sanitizeSvg, shadeColor, splitSmartValue, squarifyArea, timeTickFormat, timeTicks, tintColor, toBoolean, toDate, toRows, toSmartVariable, tracePathTo, usageTotals, useAccordion, useBottomSheet, useChart, useI18n, useIconRenderer, useIntelligentFocusHandler, useIsDarkMode, useKitEngine, useKitT, usePager, useResizable, useSideMenuActions, useSidebarIsMobile, useStepper, useSurfaceText, useTheme, useToast, useToastStore, validateMove, visibleItems, widthTokenRegex };
|