@cjlapao/ui-kit 0.2.11 → 0.2.12
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-BfzZrqRA.d.cts → CapsuleBlueprint-BTIiqZAG.d.cts} +1 -1
- package/dist/{CapsuleBlueprint-BfzZrqRA.d.ts → CapsuleBlueprint-BTIiqZAG.d.ts} +1 -1
- package/dist/index.cjs +170 -41
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +25 -0
- package/dist/index.d.cts +29 -13
- package/dist/index.d.ts +29 -13
- package/dist/index.js +230 -101
- package/dist/index.js.map +1 -1
- package/dist/markdown.d.cts +2 -2
- package/dist/markdown.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -474,6 +474,9 @@
|
|
|
474
474
|
.-right-1\.5 {
|
|
475
475
|
right: calc(var(--spacing) * -1.5);
|
|
476
476
|
}
|
|
477
|
+
.-right-2 {
|
|
478
|
+
right: calc(var(--spacing) * -2);
|
|
479
|
+
}
|
|
477
480
|
.-right-10 {
|
|
478
481
|
right: calc(var(--spacing) * -10);
|
|
479
482
|
}
|
|
@@ -573,12 +576,18 @@
|
|
|
573
576
|
.left-2 {
|
|
574
577
|
left: calc(var(--spacing) * 2);
|
|
575
578
|
}
|
|
579
|
+
.left-4 {
|
|
580
|
+
left: calc(var(--spacing) * 4);
|
|
581
|
+
}
|
|
576
582
|
.left-10 {
|
|
577
583
|
left: calc(var(--spacing) * 10);
|
|
578
584
|
}
|
|
579
585
|
.left-\[-4px\] {
|
|
580
586
|
left: -4px;
|
|
581
587
|
}
|
|
588
|
+
.left-\[68px\] {
|
|
589
|
+
left: 68px;
|
|
590
|
+
}
|
|
582
591
|
.left-\[var\(--header-group-sep-x\)\] {
|
|
583
592
|
left: var(--header-group-sep-x);
|
|
584
593
|
}
|
|
@@ -1089,6 +1098,9 @@
|
|
|
1089
1098
|
.h-\[26rem\] {
|
|
1090
1099
|
height: 26rem;
|
|
1091
1100
|
}
|
|
1101
|
+
.h-\[32rem\] {
|
|
1102
|
+
height: 32rem;
|
|
1103
|
+
}
|
|
1092
1104
|
.h-\[34rem\] {
|
|
1093
1105
|
height: 34rem;
|
|
1094
1106
|
}
|
|
@@ -1353,6 +1365,9 @@
|
|
|
1353
1365
|
.w-\[68px\] {
|
|
1354
1366
|
width: 68px;
|
|
1355
1367
|
}
|
|
1368
|
+
.w-\[324px\] {
|
|
1369
|
+
width: 324px;
|
|
1370
|
+
}
|
|
1356
1371
|
.w-\[max-content\] {
|
|
1357
1372
|
width: max-content;
|
|
1358
1373
|
}
|
|
@@ -1455,6 +1470,9 @@
|
|
|
1455
1470
|
.max-w-\[1280px\] {
|
|
1456
1471
|
max-width: 1280px;
|
|
1457
1472
|
}
|
|
1473
|
+
.max-w-\[calc\(100vw-1rem\)\] {
|
|
1474
|
+
max-width: calc(100vw - 1rem);
|
|
1475
|
+
}
|
|
1458
1476
|
.max-w-\[calc\(100vw-2rem\)\] {
|
|
1459
1477
|
max-width: calc(100vw - 2rem);
|
|
1460
1478
|
}
|
|
@@ -2198,6 +2216,10 @@
|
|
|
2198
2216
|
border-top-left-radius: var(--radius-4xl);
|
|
2199
2217
|
border-bottom-left-radius: var(--radius-4xl);
|
|
2200
2218
|
}
|
|
2219
|
+
.rounded-l-full {
|
|
2220
|
+
border-top-left-radius: calc(infinity * 1px);
|
|
2221
|
+
border-bottom-left-radius: calc(infinity * 1px);
|
|
2222
|
+
}
|
|
2201
2223
|
.rounded-l-lg {
|
|
2202
2224
|
border-top-left-radius: var(--radius-lg);
|
|
2203
2225
|
border-bottom-left-radius: var(--radius-lg);
|
|
@@ -11393,6 +11415,9 @@
|
|
|
11393
11415
|
.text-neutral-900 {
|
|
11394
11416
|
color: var(--color-neutral-900);
|
|
11395
11417
|
}
|
|
11418
|
+
.text-neutral-950 {
|
|
11419
|
+
color: var(--color-neutral-950);
|
|
11420
|
+
}
|
|
11396
11421
|
.text-orange-50 {
|
|
11397
11422
|
color: var(--color-orange-50);
|
|
11398
11423
|
}
|
package/dist/index.d.cts
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 COLLAPSED_RAIL_WIDTH, U as CONTROL_SIZES, W as CapsuleBlueprintValueType, X as CheckboxControlTokens, Y as CheckboxVariantTokens, Z as CollapsibleHelpToneTokens, _ as ControlSizeTokens, $ as DEFAULT_CONTROL_CORNER, a0 as DEFAULT_GLOW_INTENSITY, a1 as DEFAULT_SURFACE_CORNER, a2 as DEFAULT_SURFACE_GUTTER, a3 as DEFAULT_SURFACE_PADDING, a4 as DEFAULT_SURFACE_TONE, a5 as DEFAULT_TOAST_GAP_PX, a6 as DEFAULT_TOAST_LIFE_MS, a7 as DEFAULT_TOAST_LIMIT, a8 as DEFAULT_TOAST_MODE, a9 as DEFAULT_TOAST_POSITION, aa as DEFAULT_TOAST_Z_INDEX, ab as DEFAULT_TRIGGER_CORNER, ac as FIELD_SIZE_STYLES, ad as FIELD_STATUS_CLASSES, ae as FieldSizeTokens, af as FieldToneTokens, ag as GLOW_INTENSITIES, ah as GlowTokens, ai as HelpButton, aj as HelpButtonPlacement, ak as INPUT_VARIANTS, al as INPUT_VARIANT_FOR_SURFACE, am as InputVariantOptions, an as InputVariantTokens, ao as NEUTRAL_TONES, ap as ORIENTATIONS, aq as PANEL_TONE_FOR_FIELD, ar as PANE_EMPTY_STATE_SIZE, as as PLAIN_SURFACE_VARIANTS, at as ProgressSpinnerToneTokens, au as SIDEBAR_COLLAPSIBLE_MODES, av as SIDEBAR_IDLE_COPY, aw as SIDEBAR_MOBILE_QUERY, ax as SIDEBAR_SIDES, ay as SIDEBAR_VARIANTS, az as SIDE_MENU_HEADER_FILL, aA as SIDE_MENU_HEADER_HEIGHT, aB as SIDE_MENU_HEADER_SEAM,
|
|
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-BTIiqZAG.cjs';
|
|
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 COLLAPSED_RAIL_WIDTH, U as CONTROL_SIZES, W as CapsuleBlueprintValueType, X as CheckboxControlTokens, Y as CheckboxVariantTokens, Z as CollapsibleHelpToneTokens, _ as ControlSizeTokens, $ as DEFAULT_CONTROL_CORNER, a0 as DEFAULT_GLOW_INTENSITY, a1 as DEFAULT_SURFACE_CORNER, a2 as DEFAULT_SURFACE_GUTTER, a3 as DEFAULT_SURFACE_PADDING, a4 as DEFAULT_SURFACE_TONE, a5 as DEFAULT_TOAST_GAP_PX, a6 as DEFAULT_TOAST_LIFE_MS, a7 as DEFAULT_TOAST_LIMIT, a8 as DEFAULT_TOAST_MODE, a9 as DEFAULT_TOAST_POSITION, aa as DEFAULT_TOAST_Z_INDEX, ab as DEFAULT_TRIGGER_CORNER, ac as FIELD_SIZE_STYLES, ad as FIELD_STATUS_CLASSES, ae as FieldSizeTokens, af as FieldToneTokens, ag as GLOW_INTENSITIES, ah as GlowTokens, ai as HelpButton, aj as HelpButtonPlacement, ak as INPUT_VARIANTS, al as INPUT_VARIANT_FOR_SURFACE, am as InputVariantOptions, an as InputVariantTokens, ao as NEUTRAL_TONES, ap as ORIENTATIONS, aq as PANEL_TONE_FOR_FIELD, ar as PANE_EMPTY_STATE_SIZE, as as PLAIN_SURFACE_VARIANTS, at as ProgressSpinnerToneTokens, au as SIDEBAR_COLLAPSIBLE_MODES, av as SIDEBAR_IDLE_COPY, aw as SIDEBAR_MOBILE_QUERY, ax as SIDEBAR_SIDES, ay as SIDEBAR_VARIANTS, az as SIDE_MENU_HEADER_FILL, aA as SIDE_MENU_HEADER_HEIGHT, aB as SIDE_MENU_HEADER_SEAM, aC as SIDE_PANEL_VARIANTS, aD as SLIDER_VARIANTS, U as SMART_GRID_SIZES, as as SMART_GRID_VARIANTS, aC as SPLIT_VIEW_VARIANTS, aE as SURFACE_CORNERS, aF as SURFACE_GLASS_RIM, aG as SURFACE_GUTTER_AXES, aH as SURFACE_PADDINGS, aI as SURFACE_TO_BUTTON_VARIANT, aC as SURFACE_VARIANTS, aJ as SURFACE_VARIANT_BASE, aK as SURFACE_VARIANT_FOR_FIELD, aL as SideMenuItemTokens, aM as SidebarIdleCopyKind, aN as SidebarSurfaceTokens, aO as SliderVariantTokens, aP as StatusSpinnerSizeTokens, aQ as StatusSpinnerToneTokens, aR as SurfaceGutterAxis, aS as SurfaceTriggerTokens, aT as SurfaceVariantOverrides, aU as TABLE_DENSITIES, aV as THIN_SCROLLBAR, aW as THIN_SCROLLBAR_FIELD, aX as TOAST_DEFAULT_WIDTH, aY as TOAST_MODES, aZ as TOAST_POSITIONS, a_ as TOGGLE_VARIANTS, a$ as TRANSLUCENT_SURFACE_VARIANTS, b0 as TRUE_COLORS, b1 as TRUE_COLOR_DOT_CLASSES, b2 as TRUE_COLOR_TEXT_CLASSES, b3 as TableDensityTokens, b4 as ToastSizeTokens, b5 as ToggleVariantTokens, b6 as VALIDATION_STATUSES, b7 as configureTheme, b8 as getAlertColorClasses, b9 as getAlertVariantTokens, ba as getAppDividerToneTokens, bb as getBadgeColorClasses, bc as getBreadcrumbSizeTokens, bd as getBreadcrumbToneTokens, be as getButtonActiveClasses, bf as getButtonActiveHoverClasses, bg as getButtonBaseClasses, bh as getButtonColorClasses, bi as getButtonHoverClasses, bj as getCheckboxColorClasses, bk as getCheckboxControlTokens, bl as getCheckboxGlassCheckedTokens, bm as getCheckboxVariantTokens, bn as getCollapsibleHelpToneTokens, bo as getControlSizeTokens, bp as getFieldSizeTokens, bq as getFieldToneTokens, br as getGlowTokens, bs as getInputVariantTokens, bt as getLoaderProgressColors, bu as getMultiToggleColorTokens, bv as getMultiToggleVariantTokens, bw as getPanelToneStyles, bx as getPillColorClasses, by as getProgressSpinnerToneTokens, bz as getSideMenuItemTokens, bA as getSidebarSurfaceTokens, bB as getSliderVariantTokens, bC as getSpinnerColorTokens, bD as getStatTileColorClasses, bE as getStatusSpinnerSizeTokens, bF as getStatusSpinnerToneTokens, bG as getStepperTonePalette, bH as getSurfaceCornerClass, bI as getSurfaceCornerRem, bJ as getSurfaceGutterClass, bK as getSurfacePaddingClass, bL as getSurfacePaddingClasses, bM as getSurfaceTextTokens, bN as getSurfaceTriggerTokens, bO as getSurfaceVariantClasses, bP as getTableDensityTokens, bQ as getTabsColorTokens, bR as getToastSizeTokens, bS as getToggleColorClasses, bT as getToggleVariantTokens, bU as getTrueColorDotClass, bV as getTrueColorTextClass, bW as hasTextColor, bX as iconRegistry, bY as isGlassSurface, bZ as resetTheme, b_ as resolveGlowGradient, b$ as stripBorderColor, c0 as stripFillClass, c1 as stripTextColor } from './CapsuleBlueprint-BTIiqZAG.cjs';
|
|
5
5
|
import { ITheme, ITerminalOptions } from '@xterm/xterm';
|
|
6
6
|
import { CurveFactory } from 'd3-shape';
|
|
7
7
|
|
|
@@ -5494,7 +5494,14 @@ interface SideMenuProps {
|
|
|
5494
5494
|
/** Text element shown next to the logoIcon when expanded */
|
|
5495
5495
|
logoText?: React__default.ReactNode;
|
|
5496
5496
|
items: SideMenuItem[];
|
|
5497
|
+
/** Optional selection override for menus whose items switch local content. */
|
|
5498
|
+
activeItemSlug?: string;
|
|
5499
|
+
/** Runs before link navigation; preventDefault to switch local content instead. */
|
|
5500
|
+
onItemSelect?: (item: SideMenuItemLink, event: React__default.MouseEvent<HTMLAnchorElement>) => void;
|
|
5497
5501
|
className?: string;
|
|
5502
|
+
/** Layout composition: pins the rail closed or the adjoining panel open.
|
|
5503
|
+
* SideMenuLayout sets this for its joined multi-menu mode. */
|
|
5504
|
+
joinedRole?: "rail" | "panel";
|
|
5498
5505
|
collapsed?: boolean;
|
|
5499
5506
|
onToggleCollapse?: () => void;
|
|
5500
5507
|
mobileOpen?: boolean;
|
|
@@ -5622,7 +5629,7 @@ interface SideMenuProps {
|
|
|
5622
5629
|
* own breakpoint can never disagree.
|
|
5623
5630
|
*/
|
|
5624
5631
|
declare const useSidebarIsMobile: (enabled?: boolean) => boolean;
|
|
5625
|
-
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;
|
|
5632
|
+
declare const SideMenu: ({ title, logoIcon, logoText, items, activeItemSlug, onItemSelect, className, joinedRole, 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;
|
|
5626
5633
|
|
|
5627
5634
|
interface SideMenuLayoutProps {
|
|
5628
5635
|
/** Props passed to the SideMenu component (including color). */
|
|
@@ -5634,10 +5641,14 @@ interface SideMenuLayoutProps {
|
|
|
5634
5641
|
rightSideMenuProps?: SideMenuProps;
|
|
5635
5642
|
/**
|
|
5636
5643
|
* Multi sidebars: an extra menu rendered next to the primary. While this is
|
|
5637
|
-
* set, the primary
|
|
5638
|
-
*
|
|
5644
|
+
* set, the primary defaults to a hover rail. Use multiMenuMode="joined"
|
|
5645
|
+
* for a permanent icon rail next to a permanently expanded panel.
|
|
5639
5646
|
*/
|
|
5640
5647
|
secondarySideMenuProps?: SideMenuProps;
|
|
5648
|
+
/** Multi-menu presentation. Joined pins the primary to an icon rail and
|
|
5649
|
+
* the secondary expanded, combining both in one responsive shell.
|
|
5650
|
+
* @default "hover" */
|
|
5651
|
+
multiMenuMode?: "hover" | "joined";
|
|
5641
5652
|
/** Content rendered in the fixed header bar at the top of the main area */
|
|
5642
5653
|
header?: React__default.ReactNode;
|
|
5643
5654
|
/** Main scrollable body content */
|
|
@@ -5659,7 +5670,7 @@ interface SideMenuLayoutProps {
|
|
|
5659
5670
|
*/
|
|
5660
5671
|
sidePanelActions?: React__default.ReactNode;
|
|
5661
5672
|
}
|
|
5662
|
-
declare const SideMenuLayout: ({ sideMenuProps, rightSideMenuProps, secondarySideMenuProps, header, children, className, headerClassName, bodyClassName, sideItemActions, sidePanelActions, }: SideMenuLayoutProps) => React__default.JSX.Element;
|
|
5673
|
+
declare const SideMenuLayout: ({ sideMenuProps, rightSideMenuProps, secondarySideMenuProps, multiMenuMode, header, children, className, headerClassName, bodyClassName, sideItemActions, sidePanelActions, }: SideMenuLayoutProps) => React__default.JSX.Element;
|
|
5663
5674
|
|
|
5664
5675
|
interface Props {
|
|
5665
5676
|
/** Shown in the fallback so a broken tile is identifiable. */
|
|
@@ -5855,11 +5866,7 @@ interface TableSettings {
|
|
|
5855
5866
|
stickyColumns?: Record<string, "left" | "right">;
|
|
5856
5867
|
}
|
|
5857
5868
|
|
|
5858
|
-
type SidePanelVariant = SidebarVariant;
|
|
5859
|
-
/**
|
|
5860
|
-
* Heading / muted copy for a sidebar variant. The glass surfaces need the
|
|
5861
|
-
* higher-contrast step; the rest read as solid panels.
|
|
5862
|
-
*/
|
|
5869
|
+
type SidePanelVariant = SurfaceVariant | SidebarVariant;
|
|
5863
5870
|
declare const getSidePanelTextTokens: (variant: SidePanelVariant) => SurfaceTextTokens;
|
|
5864
5871
|
/** Which edge the panel is docked to. */
|
|
5865
5872
|
declare const SIDE_PANEL_SIDES: readonly ["left", "right"];
|
|
@@ -5901,11 +5908,17 @@ interface SidePanelProps {
|
|
|
5901
5908
|
tone?: TrueColor;
|
|
5902
5909
|
/** @deprecated Use `tone`, which is what every other component calls it. */
|
|
5903
5910
|
color?: TrueColor;
|
|
5904
|
-
/**
|
|
5911
|
+
/** Shared Panel surfaces; legacy sidebar names also accepted. @default "outlined" */
|
|
5905
5912
|
variant?: SidePanelVariant;
|
|
5913
|
+
/** Glass fill opacity, matching Panel. @default "frosted" */
|
|
5914
|
+
glassOpacity?: PanelProps["glassOpacity"];
|
|
5915
|
+
/** Backdrop vibrancy, matching Panel. */
|
|
5916
|
+
vibrancy?: PanelProps["vibrancy"];
|
|
5917
|
+
/** Highlight treatment for translucent surfaces. */
|
|
5918
|
+
specularMode?: PanelSpecularMode;
|
|
5906
5919
|
/**
|
|
5907
5920
|
* Detach the panel from its container's edges, so it reads as a floating
|
|
5908
|
-
* card rather than a wall:
|
|
5921
|
+
* card rather than a wall: top/bottom gaps and content-facing rounded corners.
|
|
5909
5922
|
*
|
|
5910
5923
|
* Defaults to whatever the variant implies — `floating` and `floating-glass`
|
|
5911
5924
|
* carry an offset in their own tokens, exactly as they do on `SideMenu`, so
|
|
@@ -9725,6 +9738,9 @@ interface WorkflowTrackerRailControlsContext {
|
|
|
9725
9738
|
collapsed: boolean;
|
|
9726
9739
|
}
|
|
9727
9740
|
interface WorkflowTrackerRailProps extends WorkflowTrackerStyleProps {
|
|
9741
|
+
/** Docked edge. Collapsed corners face the content; expanded corners keep
|
|
9742
|
+
* the shared corner scale. Also mirrors the toggle and step popovers. */
|
|
9743
|
+
side?: "left" | "right";
|
|
9728
9744
|
/** Content below the steps, inside the rail's scroll area. Render a component
|
|
9729
9745
|
* here to preserve its local state as `collapsed` changes. The consumer owns
|
|
9730
9746
|
* its expanded/compact layout and accessible labels. Also available while loading. */
|
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 COLLAPSED_RAIL_WIDTH, U as CONTROL_SIZES, W as CapsuleBlueprintValueType, X as CheckboxControlTokens, Y as CheckboxVariantTokens, Z as CollapsibleHelpToneTokens, _ as ControlSizeTokens, $ as DEFAULT_CONTROL_CORNER, a0 as DEFAULT_GLOW_INTENSITY, a1 as DEFAULT_SURFACE_CORNER, a2 as DEFAULT_SURFACE_GUTTER, a3 as DEFAULT_SURFACE_PADDING, a4 as DEFAULT_SURFACE_TONE, a5 as DEFAULT_TOAST_GAP_PX, a6 as DEFAULT_TOAST_LIFE_MS, a7 as DEFAULT_TOAST_LIMIT, a8 as DEFAULT_TOAST_MODE, a9 as DEFAULT_TOAST_POSITION, aa as DEFAULT_TOAST_Z_INDEX, ab as DEFAULT_TRIGGER_CORNER, ac as FIELD_SIZE_STYLES, ad as FIELD_STATUS_CLASSES, ae as FieldSizeTokens, af as FieldToneTokens, ag as GLOW_INTENSITIES, ah as GlowTokens, ai as HelpButton, aj as HelpButtonPlacement, ak as INPUT_VARIANTS, al as INPUT_VARIANT_FOR_SURFACE, am as InputVariantOptions, an as InputVariantTokens, ao as NEUTRAL_TONES, ap as ORIENTATIONS, aq as PANEL_TONE_FOR_FIELD, ar as PANE_EMPTY_STATE_SIZE, as as PLAIN_SURFACE_VARIANTS, at as ProgressSpinnerToneTokens, au as SIDEBAR_COLLAPSIBLE_MODES, av as SIDEBAR_IDLE_COPY, aw as SIDEBAR_MOBILE_QUERY, ax as SIDEBAR_SIDES, ay as SIDEBAR_VARIANTS, az as SIDE_MENU_HEADER_FILL, aA as SIDE_MENU_HEADER_HEIGHT, aB as SIDE_MENU_HEADER_SEAM,
|
|
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-BTIiqZAG.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 COLLAPSED_RAIL_WIDTH, U as CONTROL_SIZES, W as CapsuleBlueprintValueType, X as CheckboxControlTokens, Y as CheckboxVariantTokens, Z as CollapsibleHelpToneTokens, _ as ControlSizeTokens, $ as DEFAULT_CONTROL_CORNER, a0 as DEFAULT_GLOW_INTENSITY, a1 as DEFAULT_SURFACE_CORNER, a2 as DEFAULT_SURFACE_GUTTER, a3 as DEFAULT_SURFACE_PADDING, a4 as DEFAULT_SURFACE_TONE, a5 as DEFAULT_TOAST_GAP_PX, a6 as DEFAULT_TOAST_LIFE_MS, a7 as DEFAULT_TOAST_LIMIT, a8 as DEFAULT_TOAST_MODE, a9 as DEFAULT_TOAST_POSITION, aa as DEFAULT_TOAST_Z_INDEX, ab as DEFAULT_TRIGGER_CORNER, ac as FIELD_SIZE_STYLES, ad as FIELD_STATUS_CLASSES, ae as FieldSizeTokens, af as FieldToneTokens, ag as GLOW_INTENSITIES, ah as GlowTokens, ai as HelpButton, aj as HelpButtonPlacement, ak as INPUT_VARIANTS, al as INPUT_VARIANT_FOR_SURFACE, am as InputVariantOptions, an as InputVariantTokens, ao as NEUTRAL_TONES, ap as ORIENTATIONS, aq as PANEL_TONE_FOR_FIELD, ar as PANE_EMPTY_STATE_SIZE, as as PLAIN_SURFACE_VARIANTS, at as ProgressSpinnerToneTokens, au as SIDEBAR_COLLAPSIBLE_MODES, av as SIDEBAR_IDLE_COPY, aw as SIDEBAR_MOBILE_QUERY, ax as SIDEBAR_SIDES, ay as SIDEBAR_VARIANTS, az as SIDE_MENU_HEADER_FILL, aA as SIDE_MENU_HEADER_HEIGHT, aB as SIDE_MENU_HEADER_SEAM, aC as SIDE_PANEL_VARIANTS, aD as SLIDER_VARIANTS, U as SMART_GRID_SIZES, as as SMART_GRID_VARIANTS, aC as SPLIT_VIEW_VARIANTS, aE as SURFACE_CORNERS, aF as SURFACE_GLASS_RIM, aG as SURFACE_GUTTER_AXES, aH as SURFACE_PADDINGS, aI as SURFACE_TO_BUTTON_VARIANT, aC as SURFACE_VARIANTS, aJ as SURFACE_VARIANT_BASE, aK as SURFACE_VARIANT_FOR_FIELD, aL as SideMenuItemTokens, aM as SidebarIdleCopyKind, aN as SidebarSurfaceTokens, aO as SliderVariantTokens, aP as StatusSpinnerSizeTokens, aQ as StatusSpinnerToneTokens, aR as SurfaceGutterAxis, aS as SurfaceTriggerTokens, aT as SurfaceVariantOverrides, aU as TABLE_DENSITIES, aV as THIN_SCROLLBAR, aW as THIN_SCROLLBAR_FIELD, aX as TOAST_DEFAULT_WIDTH, aY as TOAST_MODES, aZ as TOAST_POSITIONS, a_ as TOGGLE_VARIANTS, a$ as TRANSLUCENT_SURFACE_VARIANTS, b0 as TRUE_COLORS, b1 as TRUE_COLOR_DOT_CLASSES, b2 as TRUE_COLOR_TEXT_CLASSES, b3 as TableDensityTokens, b4 as ToastSizeTokens, b5 as ToggleVariantTokens, b6 as VALIDATION_STATUSES, b7 as configureTheme, b8 as getAlertColorClasses, b9 as getAlertVariantTokens, ba as getAppDividerToneTokens, bb as getBadgeColorClasses, bc as getBreadcrumbSizeTokens, bd as getBreadcrumbToneTokens, be as getButtonActiveClasses, bf as getButtonActiveHoverClasses, bg as getButtonBaseClasses, bh as getButtonColorClasses, bi as getButtonHoverClasses, bj as getCheckboxColorClasses, bk as getCheckboxControlTokens, bl as getCheckboxGlassCheckedTokens, bm as getCheckboxVariantTokens, bn as getCollapsibleHelpToneTokens, bo as getControlSizeTokens, bp as getFieldSizeTokens, bq as getFieldToneTokens, br as getGlowTokens, bs as getInputVariantTokens, bt as getLoaderProgressColors, bu as getMultiToggleColorTokens, bv as getMultiToggleVariantTokens, bw as getPanelToneStyles, bx as getPillColorClasses, by as getProgressSpinnerToneTokens, bz as getSideMenuItemTokens, bA as getSidebarSurfaceTokens, bB as getSliderVariantTokens, bC as getSpinnerColorTokens, bD as getStatTileColorClasses, bE as getStatusSpinnerSizeTokens, bF as getStatusSpinnerToneTokens, bG as getStepperTonePalette, bH as getSurfaceCornerClass, bI as getSurfaceCornerRem, bJ as getSurfaceGutterClass, bK as getSurfacePaddingClass, bL as getSurfacePaddingClasses, bM as getSurfaceTextTokens, bN as getSurfaceTriggerTokens, bO as getSurfaceVariantClasses, bP as getTableDensityTokens, bQ as getTabsColorTokens, bR as getToastSizeTokens, bS as getToggleColorClasses, bT as getToggleVariantTokens, bU as getTrueColorDotClass, bV as getTrueColorTextClass, bW as hasTextColor, bX as iconRegistry, bY as isGlassSurface, bZ as resetTheme, b_ as resolveGlowGradient, b$ as stripBorderColor, c0 as stripFillClass, c1 as stripTextColor } from './CapsuleBlueprint-BTIiqZAG.js';
|
|
5
5
|
import { ITheme, ITerminalOptions } from '@xterm/xterm';
|
|
6
6
|
import { CurveFactory } from 'd3-shape';
|
|
7
7
|
|
|
@@ -5494,7 +5494,14 @@ interface SideMenuProps {
|
|
|
5494
5494
|
/** Text element shown next to the logoIcon when expanded */
|
|
5495
5495
|
logoText?: React__default.ReactNode;
|
|
5496
5496
|
items: SideMenuItem[];
|
|
5497
|
+
/** Optional selection override for menus whose items switch local content. */
|
|
5498
|
+
activeItemSlug?: string;
|
|
5499
|
+
/** Runs before link navigation; preventDefault to switch local content instead. */
|
|
5500
|
+
onItemSelect?: (item: SideMenuItemLink, event: React__default.MouseEvent<HTMLAnchorElement>) => void;
|
|
5497
5501
|
className?: string;
|
|
5502
|
+
/** Layout composition: pins the rail closed or the adjoining panel open.
|
|
5503
|
+
* SideMenuLayout sets this for its joined multi-menu mode. */
|
|
5504
|
+
joinedRole?: "rail" | "panel";
|
|
5498
5505
|
collapsed?: boolean;
|
|
5499
5506
|
onToggleCollapse?: () => void;
|
|
5500
5507
|
mobileOpen?: boolean;
|
|
@@ -5622,7 +5629,7 @@ interface SideMenuProps {
|
|
|
5622
5629
|
* own breakpoint can never disagree.
|
|
5623
5630
|
*/
|
|
5624
5631
|
declare const useSidebarIsMobile: (enabled?: boolean) => boolean;
|
|
5625
|
-
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;
|
|
5632
|
+
declare const SideMenu: ({ title, logoIcon, logoText, items, activeItemSlug, onItemSelect, className, joinedRole, 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;
|
|
5626
5633
|
|
|
5627
5634
|
interface SideMenuLayoutProps {
|
|
5628
5635
|
/** Props passed to the SideMenu component (including color). */
|
|
@@ -5634,10 +5641,14 @@ interface SideMenuLayoutProps {
|
|
|
5634
5641
|
rightSideMenuProps?: SideMenuProps;
|
|
5635
5642
|
/**
|
|
5636
5643
|
* Multi sidebars: an extra menu rendered next to the primary. While this is
|
|
5637
|
-
* set, the primary
|
|
5638
|
-
*
|
|
5644
|
+
* set, the primary defaults to a hover rail. Use multiMenuMode="joined"
|
|
5645
|
+
* for a permanent icon rail next to a permanently expanded panel.
|
|
5639
5646
|
*/
|
|
5640
5647
|
secondarySideMenuProps?: SideMenuProps;
|
|
5648
|
+
/** Multi-menu presentation. Joined pins the primary to an icon rail and
|
|
5649
|
+
* the secondary expanded, combining both in one responsive shell.
|
|
5650
|
+
* @default "hover" */
|
|
5651
|
+
multiMenuMode?: "hover" | "joined";
|
|
5641
5652
|
/** Content rendered in the fixed header bar at the top of the main area */
|
|
5642
5653
|
header?: React__default.ReactNode;
|
|
5643
5654
|
/** Main scrollable body content */
|
|
@@ -5659,7 +5670,7 @@ interface SideMenuLayoutProps {
|
|
|
5659
5670
|
*/
|
|
5660
5671
|
sidePanelActions?: React__default.ReactNode;
|
|
5661
5672
|
}
|
|
5662
|
-
declare const SideMenuLayout: ({ sideMenuProps, rightSideMenuProps, secondarySideMenuProps, header, children, className, headerClassName, bodyClassName, sideItemActions, sidePanelActions, }: SideMenuLayoutProps) => React__default.JSX.Element;
|
|
5673
|
+
declare const SideMenuLayout: ({ sideMenuProps, rightSideMenuProps, secondarySideMenuProps, multiMenuMode, header, children, className, headerClassName, bodyClassName, sideItemActions, sidePanelActions, }: SideMenuLayoutProps) => React__default.JSX.Element;
|
|
5663
5674
|
|
|
5664
5675
|
interface Props {
|
|
5665
5676
|
/** Shown in the fallback so a broken tile is identifiable. */
|
|
@@ -5855,11 +5866,7 @@ interface TableSettings {
|
|
|
5855
5866
|
stickyColumns?: Record<string, "left" | "right">;
|
|
5856
5867
|
}
|
|
5857
5868
|
|
|
5858
|
-
type SidePanelVariant = SidebarVariant;
|
|
5859
|
-
/**
|
|
5860
|
-
* Heading / muted copy for a sidebar variant. The glass surfaces need the
|
|
5861
|
-
* higher-contrast step; the rest read as solid panels.
|
|
5862
|
-
*/
|
|
5869
|
+
type SidePanelVariant = SurfaceVariant | SidebarVariant;
|
|
5863
5870
|
declare const getSidePanelTextTokens: (variant: SidePanelVariant) => SurfaceTextTokens;
|
|
5864
5871
|
/** Which edge the panel is docked to. */
|
|
5865
5872
|
declare const SIDE_PANEL_SIDES: readonly ["left", "right"];
|
|
@@ -5901,11 +5908,17 @@ interface SidePanelProps {
|
|
|
5901
5908
|
tone?: TrueColor;
|
|
5902
5909
|
/** @deprecated Use `tone`, which is what every other component calls it. */
|
|
5903
5910
|
color?: TrueColor;
|
|
5904
|
-
/**
|
|
5911
|
+
/** Shared Panel surfaces; legacy sidebar names also accepted. @default "outlined" */
|
|
5905
5912
|
variant?: SidePanelVariant;
|
|
5913
|
+
/** Glass fill opacity, matching Panel. @default "frosted" */
|
|
5914
|
+
glassOpacity?: PanelProps["glassOpacity"];
|
|
5915
|
+
/** Backdrop vibrancy, matching Panel. */
|
|
5916
|
+
vibrancy?: PanelProps["vibrancy"];
|
|
5917
|
+
/** Highlight treatment for translucent surfaces. */
|
|
5918
|
+
specularMode?: PanelSpecularMode;
|
|
5906
5919
|
/**
|
|
5907
5920
|
* Detach the panel from its container's edges, so it reads as a floating
|
|
5908
|
-
* card rather than a wall:
|
|
5921
|
+
* card rather than a wall: top/bottom gaps and content-facing rounded corners.
|
|
5909
5922
|
*
|
|
5910
5923
|
* Defaults to whatever the variant implies — `floating` and `floating-glass`
|
|
5911
5924
|
* carry an offset in their own tokens, exactly as they do on `SideMenu`, so
|
|
@@ -9725,6 +9738,9 @@ interface WorkflowTrackerRailControlsContext {
|
|
|
9725
9738
|
collapsed: boolean;
|
|
9726
9739
|
}
|
|
9727
9740
|
interface WorkflowTrackerRailProps extends WorkflowTrackerStyleProps {
|
|
9741
|
+
/** Docked edge. Collapsed corners face the content; expanded corners keep
|
|
9742
|
+
* the shared corner scale. Also mirrors the toggle and step popovers. */
|
|
9743
|
+
side?: "left" | "right";
|
|
9728
9744
|
/** Content below the steps, inside the rail's scroll area. Render a component
|
|
9729
9745
|
* here to preserve its local state as `collapsed` changes. The consumer owns
|
|
9730
9746
|
* its expanded/compact layout and accessible labels. Also available while loading. */
|