@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.js
CHANGED
|
@@ -43285,7 +43285,10 @@ var SideMenu = ({
|
|
|
43285
43285
|
logoIcon,
|
|
43286
43286
|
logoText,
|
|
43287
43287
|
items,
|
|
43288
|
+
activeItemSlug,
|
|
43289
|
+
onItemSelect,
|
|
43288
43290
|
className = "",
|
|
43291
|
+
joinedRole,
|
|
43289
43292
|
collapsed = false,
|
|
43290
43293
|
onToggleCollapse,
|
|
43291
43294
|
mobileOpen = false,
|
|
@@ -43327,7 +43330,7 @@ var SideMenu = ({
|
|
|
43327
43330
|
const [internalSearch, setInternalSearch] = useState52("");
|
|
43328
43331
|
const [hoverOpen, setHoverOpen] = useState52(false);
|
|
43329
43332
|
const collapseMode = collapsible === true ? "icon" : collapsible === false ? "none" : collapsible;
|
|
43330
|
-
const hoverRail = openOnHover && collapseMode !== "none";
|
|
43333
|
+
const hoverRail = !joinedRole && openOnHover && collapseMode !== "none";
|
|
43331
43334
|
const hoverTimer = useRef51(null);
|
|
43332
43335
|
useEffect53(() => {
|
|
43333
43336
|
return () => {
|
|
@@ -43356,11 +43359,21 @@ var SideMenu = ({
|
|
|
43356
43359
|
setInternalCollapsed((value) => !value);
|
|
43357
43360
|
}
|
|
43358
43361
|
};
|
|
43359
|
-
const effectiveMode = hoverRail ? "icon" : collapseMode;
|
|
43360
|
-
const expanded = isMobile ? true : hoverRail ? false : effectiveMode === "none" ? true : !collapsedState;
|
|
43361
|
-
const showCollapseControl = !isMobile && !hoverRail && effectiveMode !== "none";
|
|
43362
|
-
const showOffcanvasHandle = !isMobile && effectiveMode === "offcanvas" && !expanded;
|
|
43363
|
-
const
|
|
43362
|
+
const effectiveMode = joinedRole === "rail" ? "icon" : joinedRole === "panel" ? "none" : hoverRail ? "icon" : collapseMode;
|
|
43363
|
+
const expanded = isMobile ? true : joinedRole ? joinedRole === "panel" : hoverRail ? false : effectiveMode === "none" ? true : !collapsedState;
|
|
43364
|
+
const showCollapseControl = !isMobile && !joinedRole && !hoverRail && effectiveMode !== "none";
|
|
43365
|
+
const showOffcanvasHandle = !isMobile && !joinedRole && effectiveMode === "offcanvas" && !expanded;
|
|
43366
|
+
const baseSurface = getSidebarSurfaceTokens(variant, color);
|
|
43367
|
+
const surface = joinedRole && !isMobile ? {
|
|
43368
|
+
...baseSurface,
|
|
43369
|
+
fill: joinedRole === "rail" ? "bg-neutral-100 dark:bg-neutral-950" : "bg-transparent",
|
|
43370
|
+
offset: joinedRole === "panel" ? "my-2" : "",
|
|
43371
|
+
radius: joinedRole === "panel" ? "rounded-l-2xl" : "",
|
|
43372
|
+
border: "",
|
|
43373
|
+
borderSides: "all",
|
|
43374
|
+
shadow: "",
|
|
43375
|
+
shadowRight: ""
|
|
43376
|
+
} : baseSurface;
|
|
43364
43377
|
const idle = SIDEBAR_IDLE_COPY[surface.idleCopy];
|
|
43365
43378
|
const toneTokens3 = getSideMenuItemTokens(color);
|
|
43366
43379
|
const showSkeleton = loading && loaderType === "skeleton";
|
|
@@ -43417,8 +43430,9 @@ var SideMenu = ({
|
|
|
43417
43430
|
if (path === "/") return location.pathname === "/";
|
|
43418
43431
|
return location.pathname === path || location.pathname.startsWith(`${path}/`);
|
|
43419
43432
|
};
|
|
43433
|
+
const isActiveItem = (link) => activeItemSlug !== void 0 ? link.slug === activeItemSlug : isActivePath(link.path);
|
|
43420
43434
|
const hasActiveDescendant = (link) => !!link.children?.some(
|
|
43421
|
-
(child) =>
|
|
43435
|
+
(child) => isActiveItem(child) || hasActiveDescendant(child)
|
|
43422
43436
|
);
|
|
43423
43437
|
const [openSubmenus, setOpenSubmenus] = useState52(() => {
|
|
43424
43438
|
const initial = /* @__PURE__ */ new Set();
|
|
@@ -43510,14 +43524,14 @@ var SideMenu = ({
|
|
|
43510
43524
|
const panelPosition = isLeft ? "left-0" : "right-0";
|
|
43511
43525
|
const offcanvasHidden = effectiveMode === "offcanvas" && !expanded;
|
|
43512
43526
|
const desktopClasses = `
|
|
43513
|
-
relative flex-shrink-0 ${heightClass} ${isHoverMode ? RAIL_WIDTH : ""} ${surface.offset}
|
|
43527
|
+
relative ${joinedRole === "panel" ? "min-w-0 flex-1" : "flex-shrink-0"} ${heightClass} ${isHoverMode ? RAIL_WIDTH : ""} ${surface.offset}
|
|
43514
43528
|
`;
|
|
43515
43529
|
const asideClasses = isHoverMode ? `
|
|
43516
43530
|
absolute inset-y-0 ${panelPosition} z-40 overflow-hidden transition-[width] ease-in-out ${asideWidth}
|
|
43517
43531
|
${surface.radius} ${borderClasses} ${isLeft ? surface.shadow : surface.shadowRight}
|
|
43518
43532
|
${className}
|
|
43519
43533
|
` : `
|
|
43520
|
-
relative h-full overflow-hidden transition-all duration-300 ${asideWidth}
|
|
43534
|
+
relative h-full overflow-hidden transition-all duration-300 ${joinedRole === "panel" ? "w-full" : asideWidth}
|
|
43521
43535
|
${surface.radius} ${borderClasses} ${isLeft ? surface.shadow : surface.shadowRight}
|
|
43522
43536
|
${className}
|
|
43523
43537
|
`;
|
|
@@ -43532,7 +43546,7 @@ var SideMenu = ({
|
|
|
43532
43546
|
const logoSection = logoIcon || logoText ? (contentCollapsed2) => /* @__PURE__ */ jsxs146(
|
|
43533
43547
|
"div",
|
|
43534
43548
|
{
|
|
43535
|
-
className: `relative z-50 flex items-center
|
|
43549
|
+
className: `relative z-50 flex items-center px-4 py-4 ${SIDE_MENU_HEADER_HEIGHT} ${joinedRole && !isMobile ? "" : variant === "glass" || variant === "floating-glass" ? "border-b bg-white/20 border-white/30 dark:bg-white/5 dark:border-white/10" : `border-b ${SIDE_MENU_HEADER_FILL} ${SIDE_MENU_HEADER_SEAM}`} ${contentCollapsed2 ? "justify-center" : ""}`,
|
|
43536
43550
|
children: [
|
|
43537
43551
|
logoIcon && /* @__PURE__ */ jsx259("div", { className: "shrink-0", children: logoIcon }),
|
|
43538
43552
|
logoText && /* @__PURE__ */ jsx259(
|
|
@@ -43547,7 +43561,7 @@ var SideMenu = ({
|
|
|
43547
43561
|
) : null;
|
|
43548
43562
|
const renderLinkRow = (link, depth, key, contentCollapsed2) => {
|
|
43549
43563
|
const hasChildren = !!link.children?.length;
|
|
43550
|
-
const selfActive =
|
|
43564
|
+
const selfActive = isActiveItem(link);
|
|
43551
43565
|
const childActive = hasChildren ? hasActiveDescendant(link) : false;
|
|
43552
43566
|
const visibleChildren = searchActive ? (link.children ?? []).filter(matchesSubtree) : link.children ?? [];
|
|
43553
43567
|
const showChildren = hasChildren && (searchActive || openSubmenus.has(link.slug)) && visibleChildren.length > 0;
|
|
@@ -43556,7 +43570,7 @@ var SideMenu = ({
|
|
|
43556
43570
|
let revealLimit = paged ? childReveal[link.slug] ?? pageSize : visibleChildren.length;
|
|
43557
43571
|
if (paged) {
|
|
43558
43572
|
const activeIndex = visibleChildren.findIndex(
|
|
43559
|
-
(child) =>
|
|
43573
|
+
(child) => isActiveItem(child) || hasActiveDescendant(child)
|
|
43560
43574
|
);
|
|
43561
43575
|
if (activeIndex >= revealLimit) revealLimit = activeIndex + 1;
|
|
43562
43576
|
}
|
|
@@ -43580,7 +43594,8 @@ var SideMenu = ({
|
|
|
43580
43594
|
Link2,
|
|
43581
43595
|
{
|
|
43582
43596
|
to: link.path,
|
|
43583
|
-
onClick: () => {
|
|
43597
|
+
onClick: (event) => {
|
|
43598
|
+
onItemSelect?.(link, event);
|
|
43584
43599
|
if (mobileOpen) onCloseMobile?.();
|
|
43585
43600
|
if (hoverOpen) closeHover();
|
|
43586
43601
|
},
|
|
@@ -43921,6 +43936,7 @@ var SideMenu = ({
|
|
|
43921
43936
|
"div",
|
|
43922
43937
|
{
|
|
43923
43938
|
className: desktopClasses,
|
|
43939
|
+
"data-joined-role": joinedRole,
|
|
43924
43940
|
onKeyDown: (event) => {
|
|
43925
43941
|
if (event.key === "Escape" && hoverOpen) closeHover();
|
|
43926
43942
|
},
|
|
@@ -44032,11 +44048,12 @@ var SideMenuActionsProvider = ({ initialSideItemActions, initialSidePanelActions
|
|
|
44032
44048
|
var useSideMenuActions = () => useContext7(SideMenuActionsContext);
|
|
44033
44049
|
|
|
44034
44050
|
// src/components/SideMenuLayout.tsx
|
|
44035
|
-
import { jsx as jsx261, jsxs as jsxs147 } from "react/jsx-runtime";
|
|
44051
|
+
import { Fragment as Fragment34, jsx as jsx261, jsxs as jsxs147 } from "react/jsx-runtime";
|
|
44036
44052
|
var SideMenuLayout = ({
|
|
44037
44053
|
sideMenuProps,
|
|
44038
44054
|
rightSideMenuProps,
|
|
44039
44055
|
secondarySideMenuProps,
|
|
44056
|
+
multiMenuMode = "hover",
|
|
44040
44057
|
header,
|
|
44041
44058
|
children,
|
|
44042
44059
|
className,
|
|
@@ -44045,8 +44062,10 @@ var SideMenuLayout = ({
|
|
|
44045
44062
|
sideItemActions,
|
|
44046
44063
|
sidePanelActions
|
|
44047
44064
|
}) => {
|
|
44065
|
+
const t = useKitT();
|
|
44048
44066
|
const isMobile = useSidebarIsMobile(sideMenuProps.responsive ?? true);
|
|
44049
44067
|
const isMulti = !!secondarySideMenuProps;
|
|
44068
|
+
const isJoined = isMulti && multiMenuMode === "joined";
|
|
44050
44069
|
const [collapsed, setCollapsed] = useState54(sideMenuProps.collapsed ?? false);
|
|
44051
44070
|
const [rightCollapsed, setRightCollapsed] = useState54(
|
|
44052
44071
|
rightSideMenuProps?.collapsed ?? false
|
|
@@ -44106,7 +44125,7 @@ var SideMenuLayout = ({
|
|
|
44106
44125
|
// expanding as an overlay on hover. `openOnHover` owns that state, so the
|
|
44107
44126
|
// collapse wiring is not passed through — and since collapsing is opt-in
|
|
44108
44127
|
// on SideMenu, the layout opts the rail in itself.
|
|
44109
|
-
...isMulti ? { collapsible: "icon", openOnHover: true } : {
|
|
44128
|
+
...isJoined ? { joinedRole: "rail", responsive: false, mobileOpen: false } : isMulti ? { collapsible: "icon", openOnHover: true } : {
|
|
44110
44129
|
collapsed: isCollapsed,
|
|
44111
44130
|
onToggleCollapse: handleToggleCollapse
|
|
44112
44131
|
}
|
|
@@ -44125,8 +44144,27 @@ var SideMenuLayout = ({
|
|
|
44125
44144
|
side: "left",
|
|
44126
44145
|
collapsed: isSecondaryCollapsed,
|
|
44127
44146
|
onToggleCollapse: handleSecondaryToggleCollapse,
|
|
44128
|
-
fullHeight: true
|
|
44147
|
+
fullHeight: true,
|
|
44148
|
+
...isJoined ? {
|
|
44149
|
+
joinedRole: "panel",
|
|
44150
|
+
responsive: false,
|
|
44151
|
+
mobileOpen: isMobileOpen,
|
|
44152
|
+
onCloseMobile: handleCloseMobile,
|
|
44153
|
+
// Surface family comes from the primary; content/accent remain independent.
|
|
44154
|
+
variant: sideMenuProps.variant
|
|
44155
|
+
} : {}
|
|
44129
44156
|
};
|
|
44157
|
+
const joinedSurface = isJoined && /* @__PURE__ */ jsx261(
|
|
44158
|
+
"div",
|
|
44159
|
+
{
|
|
44160
|
+
"aria-hidden": "true",
|
|
44161
|
+
"data-joined-surface": true,
|
|
44162
|
+
className: classNames79(
|
|
44163
|
+
"pointer-events-none absolute inset-y-2 left-[68px] right-0 rounded-l-2xl",
|
|
44164
|
+
getSidebarSurfaceTokens(sideMenuProps.variant ?? "sidebar", sideMenuProps.color ?? "blue").fill
|
|
44165
|
+
)
|
|
44166
|
+
}
|
|
44167
|
+
);
|
|
44130
44168
|
return /* @__PURE__ */ jsx261(
|
|
44131
44169
|
SideMenuActionsProvider,
|
|
44132
44170
|
{
|
|
@@ -44136,13 +44174,56 @@ var SideMenuLayout = ({
|
|
|
44136
44174
|
"div",
|
|
44137
44175
|
{
|
|
44138
44176
|
className: classNames79(
|
|
44139
|
-
"flex h-full w-full overflow-hidden
|
|
44177
|
+
"relative flex h-full w-full overflow-hidden",
|
|
44178
|
+
isJoined ? "bg-neutral-100 dark:bg-neutral-950" : "bg-neutral-50 dark:bg-neutral-950",
|
|
44140
44179
|
className
|
|
44141
44180
|
),
|
|
44142
44181
|
children: [
|
|
44143
|
-
|
|
44144
|
-
|
|
44145
|
-
|
|
44182
|
+
isJoined && !isMobile && joinedSurface,
|
|
44183
|
+
isJoined ? /* @__PURE__ */ jsxs147(Fragment34, { children: [
|
|
44184
|
+
isMobile && isMobileOpen && // Pointer backdrop; the close button and Escape provide keyboard dismissal.
|
|
44185
|
+
// eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
|
|
44186
|
+
/* @__PURE__ */ jsx261("div", { className: "fixed inset-0 z-50 bg-black/20 backdrop-blur-sm", onClick: handleCloseMobile }),
|
|
44187
|
+
/* @__PURE__ */ jsxs147(
|
|
44188
|
+
"div",
|
|
44189
|
+
{
|
|
44190
|
+
"data-joined-menu": true,
|
|
44191
|
+
inert: isMobile && !isMobileOpen || void 0,
|
|
44192
|
+
onKeyDown: (event) => {
|
|
44193
|
+
if (isMobile && event.key === "Escape") handleCloseMobile();
|
|
44194
|
+
},
|
|
44195
|
+
className: classNames79(
|
|
44196
|
+
"flex w-[324px] max-w-[calc(100vw-1rem)] shrink-0",
|
|
44197
|
+
isMobile ? "fixed inset-y-0 left-0 z-[60] flex-col bg-neutral-100 transition-transform duration-300 dark:bg-neutral-950" : "h-full",
|
|
44198
|
+
isMobile && !isMobileOpen && "-translate-x-full"
|
|
44199
|
+
),
|
|
44200
|
+
children: [
|
|
44201
|
+
isMobile && /* @__PURE__ */ jsx261("div", { className: "flex shrink-0 justify-end px-3 pt-2", children: /* @__PURE__ */ jsx261(
|
|
44202
|
+
"button",
|
|
44203
|
+
{
|
|
44204
|
+
type: "button",
|
|
44205
|
+
onClick: handleCloseMobile,
|
|
44206
|
+
"aria-label": t("kit.sidemenu.closeAria"),
|
|
44207
|
+
className: "rounded-lg p-2 text-neutral-600 hover:bg-neutral-200 dark:text-neutral-300 dark:hover:bg-neutral-800",
|
|
44208
|
+
children: /* @__PURE__ */ jsx261(CustomIcon_default, { icon: "Close", className: "h-5 w-5" })
|
|
44209
|
+
}
|
|
44210
|
+
) }),
|
|
44211
|
+
/* @__PURE__ */ jsxs147("div", { className: "relative flex h-full min-h-0 min-w-0 flex-1", children: [
|
|
44212
|
+
isMobile && joinedSurface,
|
|
44213
|
+
/* @__PURE__ */ jsx261(SideMenu_default, { ...primaryProps }),
|
|
44214
|
+
/* @__PURE__ */ jsx261(SideMenu_default, { ...secondaryProps })
|
|
44215
|
+
] })
|
|
44216
|
+
]
|
|
44217
|
+
}
|
|
44218
|
+
)
|
|
44219
|
+
] }) : /* @__PURE__ */ jsxs147(Fragment34, { children: [
|
|
44220
|
+
/* @__PURE__ */ jsx261(SideMenu_default, { ...primaryProps }),
|
|
44221
|
+
secondarySideMenuProps && /* @__PURE__ */ jsx261(SideMenu_default, { ...secondaryProps })
|
|
44222
|
+
] }),
|
|
44223
|
+
/* @__PURE__ */ jsxs147("div", { className: classNames79(
|
|
44224
|
+
"relative flex min-w-0 flex-1 flex-col",
|
|
44225
|
+
isJoined && !isMobile ? "my-2 h-[calc(100%-1rem)]" : "h-full"
|
|
44226
|
+
), children: [
|
|
44146
44227
|
isMobile && /* @__PURE__ */ jsxs147("div", { className: "flex items-center gap-1 border-b border-neutral-200 bg-white px-4 py-2 dark:border-neutral-800 dark:bg-neutral-900", children: [
|
|
44147
44228
|
/* @__PURE__ */ jsx261(
|
|
44148
44229
|
"button",
|
|
@@ -44177,10 +44258,10 @@ var SideMenuLayout_default = SideMenuLayout;
|
|
|
44177
44258
|
|
|
44178
44259
|
// src/components/SmartGridTileBoundary.tsx
|
|
44179
44260
|
import React63 from "react";
|
|
44180
|
-
import { Fragment as
|
|
44261
|
+
import { Fragment as Fragment35, jsx as jsx262 } from "react/jsx-runtime";
|
|
44181
44262
|
var TileContent = ({
|
|
44182
44263
|
render
|
|
44183
|
-
}) => /* @__PURE__ */ jsx262(
|
|
44264
|
+
}) => /* @__PURE__ */ jsx262(Fragment35, { children: render() });
|
|
44184
44265
|
var SmartGridTileBoundaryImpl = class extends React63.Component {
|
|
44185
44266
|
constructor() {
|
|
44186
44267
|
super(...arguments);
|
|
@@ -44243,10 +44324,15 @@ function getNoiseBlendClasses(scheme = "auto") {
|
|
|
44243
44324
|
}
|
|
44244
44325
|
|
|
44245
44326
|
// src/components/SidePanel.tsx
|
|
44246
|
-
import { Fragment as
|
|
44247
|
-
var
|
|
44248
|
-
|
|
44249
|
-
|
|
44327
|
+
import { Fragment as Fragment36, jsx as jsx263, jsxs as jsxs148 } from "react/jsx-runtime";
|
|
44328
|
+
var LEGACY_PANEL_VARIANTS = {
|
|
44329
|
+
sidebar: "elevated",
|
|
44330
|
+
inset: "tonal",
|
|
44331
|
+
floating: "elevated",
|
|
44332
|
+
"floating-glass": "glass"
|
|
44333
|
+
};
|
|
44334
|
+
var resolvePanelVariant2 = (variant) => variant in LEGACY_PANEL_VARIANTS ? LEGACY_PANEL_VARIANTS[variant] : variant;
|
|
44335
|
+
var getSidePanelTextTokens = (variant) => getSurfaceTextTokens(resolvePanelVariant2(variant));
|
|
44250
44336
|
var INSET_GAP_Y_CLASS = "inset-y-4";
|
|
44251
44337
|
var INNER_CORNER = {
|
|
44252
44338
|
// (`"auto"` is absent by design: SidePanel's own default is `rounded`, and
|
|
@@ -44310,7 +44396,10 @@ var SidePanel = ({
|
|
|
44310
44396
|
maxWidth = 900,
|
|
44311
44397
|
tone,
|
|
44312
44398
|
color,
|
|
44313
|
-
variant = "
|
|
44399
|
+
variant = "outlined",
|
|
44400
|
+
glassOpacity,
|
|
44401
|
+
vibrancy,
|
|
44402
|
+
specularMode,
|
|
44314
44403
|
surfaceTone = "neutral",
|
|
44315
44404
|
size = "md",
|
|
44316
44405
|
side = "right",
|
|
@@ -44329,7 +44418,16 @@ var SidePanel = ({
|
|
|
44329
44418
|
warnIfMissingTitle("SidePanel", title);
|
|
44330
44419
|
const effectiveTone = tone ?? color ?? "neutral";
|
|
44331
44420
|
const sizeToken = SIZE_TOKENS4[size] ?? SIZE_TOKENS4.md;
|
|
44332
|
-
const
|
|
44421
|
+
const legacyVariant = variant in LEGACY_PANEL_VARIANTS;
|
|
44422
|
+
const panelVariant = resolvePanelVariant2(variant);
|
|
44423
|
+
const panelOuterChrome = classNames80(
|
|
44424
|
+
variantBaseStyles[panelVariant].split(" ").filter((token) => /^(dark:)?(shadow|ring)-/.test(token)),
|
|
44425
|
+
panelVariant === "liquid-glass" && getPanelToneStyles(surfaceTone).liquidShadow
|
|
44426
|
+
);
|
|
44427
|
+
const surface = getSidebarSurfaceTokens(
|
|
44428
|
+
legacyVariant ? variant : "sidebar",
|
|
44429
|
+
surfaceTone
|
|
44430
|
+
);
|
|
44333
44431
|
const surfaceText = getSidePanelTextTokens(variant);
|
|
44334
44432
|
const isInset = inset ?? surface.offset !== "";
|
|
44335
44433
|
const cornerClass = INNER_CORNER[corner === "auto" ? DEFAULT_SURFACE_CORNER : corner][side];
|
|
@@ -44452,7 +44550,7 @@ var SidePanel = ({
|
|
|
44452
44550
|
transition: isDragging ? void 0 : `${edgeProperty} ${OPEN_DURATION_MS}ms ${OPEN_EASING}, opacity ${OPEN_DURATION_MS}ms ${OPEN_EASING}`
|
|
44453
44551
|
};
|
|
44454
44552
|
const handleParked = isCollapsed;
|
|
44455
|
-
return /* @__PURE__ */ jsxs148(
|
|
44553
|
+
return /* @__PURE__ */ jsxs148(Fragment36, { children: [
|
|
44456
44554
|
/* @__PURE__ */ jsxs148(
|
|
44457
44555
|
"div",
|
|
44458
44556
|
{
|
|
@@ -44464,8 +44562,8 @@ var SidePanel = ({
|
|
|
44464
44562
|
isInset ? INSET_GAP_Y_CLASS : "top-0 h-full",
|
|
44465
44563
|
side === "right" ? "right-0" : "left-0",
|
|
44466
44564
|
cornerClass,
|
|
44467
|
-
borderClass,
|
|
44468
|
-
shadowClass
|
|
44565
|
+
legacyVariant && borderClass,
|
|
44566
|
+
legacyVariant ? shadowClass : panelOuterChrome
|
|
44469
44567
|
),
|
|
44470
44568
|
style: {
|
|
44471
44569
|
width: entered ? shellWidth : 0,
|
|
@@ -44486,8 +44584,22 @@ var SidePanel = ({
|
|
|
44486
44584
|
"data-sp-fill": "true",
|
|
44487
44585
|
className: classNames80(
|
|
44488
44586
|
"pointer-events-none absolute inset-0",
|
|
44489
|
-
surface.fill,
|
|
44587
|
+
legacyVariant && surface.fill,
|
|
44490
44588
|
cornerClass
|
|
44589
|
+
),
|
|
44590
|
+
children: !legacyVariant && /* @__PURE__ */ jsx263(
|
|
44591
|
+
Panel_default,
|
|
44592
|
+
{
|
|
44593
|
+
variant: panelVariant,
|
|
44594
|
+
tone: surfaceTone,
|
|
44595
|
+
glassOpacity,
|
|
44596
|
+
vibrancy,
|
|
44597
|
+
specularMode,
|
|
44598
|
+
padding: "none",
|
|
44599
|
+
corner: "none",
|
|
44600
|
+
className: "h-full w-full",
|
|
44601
|
+
style: { borderRadius: "inherit" }
|
|
44602
|
+
}
|
|
44491
44603
|
)
|
|
44492
44604
|
}
|
|
44493
44605
|
),
|
|
@@ -44983,7 +45095,7 @@ var importGridLayout = (raw) => {
|
|
|
44983
45095
|
};
|
|
44984
45096
|
|
|
44985
45097
|
// src/components/SmartGridLayout.tsx
|
|
44986
|
-
import { Fragment as
|
|
45098
|
+
import { Fragment as Fragment37, jsx as jsx265, jsxs as jsxs150 } from "react/jsx-runtime";
|
|
44987
45099
|
var COLUMN_BREAKPOINTS = [
|
|
44988
45100
|
{ key: "xl", min: 1280 },
|
|
44989
45101
|
{ key: "lg", min: 1024 },
|
|
@@ -47166,7 +47278,7 @@ var SmartGridLayout = ({
|
|
|
47166
47278
|
{
|
|
47167
47279
|
className: `flex shrink-0 items-center gap-2 ${showToolbar ? "" : "invisible"}`,
|
|
47168
47280
|
children: [
|
|
47169
|
-
isEditMode && historyLimit > 0 && /* @__PURE__ */ jsxs150(
|
|
47281
|
+
isEditMode && historyLimit > 0 && /* @__PURE__ */ jsxs150(Fragment37, { children: [
|
|
47170
47282
|
/* @__PURE__ */ jsx265(
|
|
47171
47283
|
Button_default,
|
|
47172
47284
|
{
|
|
@@ -47939,7 +48051,7 @@ var SmartGridLayout = ({
|
|
|
47939
48051
|
);
|
|
47940
48052
|
resetDragState();
|
|
47941
48053
|
},
|
|
47942
|
-
children: isEditMode && /* @__PURE__ */ jsx265(
|
|
48054
|
+
children: isEditMode && /* @__PURE__ */ jsx265(Fragment37, { children: neighborCell && neighbor && // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions -- ARIA 1.2 resizable separator: this div is the drag/keyboard resize target itself (WCAG 2.1.1); a button element here would conflict (interactive element with a non-interactive role)
|
|
47943
48055
|
/* @__PURE__ */ jsx265(
|
|
47944
48056
|
"div",
|
|
47945
48057
|
{
|
|
@@ -48413,7 +48525,7 @@ function useResizable({
|
|
|
48413
48525
|
}
|
|
48414
48526
|
|
|
48415
48527
|
// src/components/SplitView.tsx
|
|
48416
|
-
import { Fragment as
|
|
48528
|
+
import { Fragment as Fragment38, jsx as jsx266, jsxs as jsxs151 } from "react/jsx-runtime";
|
|
48417
48529
|
import { createElement } from "react";
|
|
48418
48530
|
var SPLIT_VIEW_LOADERS = ["skeleton", "spinner", "progress"];
|
|
48419
48531
|
var SEARCH_VARIANT_FOR_SURFACE = {
|
|
@@ -48717,7 +48829,7 @@ var SplitView = ({
|
|
|
48717
48829
|
const customActions = resolveHeaderSlot(headerProps.actions, item);
|
|
48718
48830
|
const promotedActions = options?.promoteItemActions ? item.actions : void 0;
|
|
48719
48831
|
const promotedListActions = options?.promoteItemActions ? listActions : void 0;
|
|
48720
|
-
const mergedActions = customActions || promotedActions || promotedListActions ? /* @__PURE__ */ jsxs151(
|
|
48832
|
+
const mergedActions = customActions || promotedActions || promotedListActions ? /* @__PURE__ */ jsxs151(Fragment38, { children: [
|
|
48721
48833
|
customActions,
|
|
48722
48834
|
promotedActions,
|
|
48723
48835
|
promotedListActions
|
|
@@ -48883,7 +48995,7 @@ var SplitView = ({
|
|
|
48883
48995
|
"flex flex-1 flex-col min-w-0 h-full overflow-hidden",
|
|
48884
48996
|
panelClassName
|
|
48885
48997
|
),
|
|
48886
|
-
children: singleItem ? /* @__PURE__ */ jsxs151(
|
|
48998
|
+
children: singleItem ? /* @__PURE__ */ jsxs151(Fragment38, { children: [
|
|
48887
48999
|
singleHeader ? /* @__PURE__ */ jsx266("div", { className: "shrink-0", children: singleHeader }) : listActions ? /* @__PURE__ */ jsx266(
|
|
48888
49000
|
"div",
|
|
48889
49001
|
{
|
|
@@ -48935,7 +49047,7 @@ var SplitView = ({
|
|
|
48935
49047
|
children: [
|
|
48936
49048
|
renderOverlay(),
|
|
48937
49049
|
skeletonOverride && loadingState,
|
|
48938
|
-
showSkeleton ? renderSkeleton(true) : /* @__PURE__ */ jsxs151(
|
|
49050
|
+
showSkeleton ? renderSkeleton(true) : /* @__PURE__ */ jsxs151(Fragment38, { children: [
|
|
48939
49051
|
/* @__PURE__ */ jsx266(
|
|
48940
49052
|
"div",
|
|
48941
49053
|
{
|
|
@@ -48977,7 +49089,7 @@ var SplitView = ({
|
|
|
48977
49089
|
"aria-label": t("kit.splitview.expandList")
|
|
48978
49090
|
}
|
|
48979
49091
|
) })
|
|
48980
|
-
) : /* @__PURE__ */ jsxs151(
|
|
49092
|
+
) : /* @__PURE__ */ jsxs151(Fragment38, { children: [
|
|
48981
49093
|
(listTitle || listActions || collapsible) && /* @__PURE__ */ jsxs151("div", { className: "shrink-0 px-4 pt-4 pb-2 flex items-center justify-between gap-2", children: [
|
|
48982
49094
|
listTitle && /* @__PURE__ */ jsx266(
|
|
48983
49095
|
"h3",
|
|
@@ -49314,7 +49426,7 @@ var SplitView = ({
|
|
|
49314
49426
|
"flex h-full min-w-0 flex-1 flex-col overflow-hidden",
|
|
49315
49427
|
panelClassName
|
|
49316
49428
|
),
|
|
49317
|
-
children: activeItem ? /* @__PURE__ */ jsxs151(
|
|
49429
|
+
children: activeItem ? /* @__PURE__ */ jsxs151(Fragment38, { children: [
|
|
49318
49430
|
activeHeader && /* @__PURE__ */ jsx266("div", { className: "shrink-0", children: activeHeader }),
|
|
49319
49431
|
/* @__PURE__ */ jsx266(
|
|
49320
49432
|
"div",
|
|
@@ -49522,7 +49634,7 @@ var createLegacyGroups = (options) => {
|
|
|
49522
49634
|
};
|
|
49523
49635
|
|
|
49524
49636
|
// src/components/SmartVariableParts.tsx
|
|
49525
|
-
import { Fragment as
|
|
49637
|
+
import { Fragment as Fragment39, jsx as jsx267, jsxs as jsxs152 } from "react/jsx-runtime";
|
|
49526
49638
|
var STATE_TONES = {
|
|
49527
49639
|
resolved: "emerald",
|
|
49528
49640
|
runtime: "violet",
|
|
@@ -49597,9 +49709,9 @@ var SmartValueParts = ({
|
|
|
49597
49709
|
...badgeProps
|
|
49598
49710
|
}) => {
|
|
49599
49711
|
if (!value) {
|
|
49600
|
-
return /* @__PURE__ */ jsx267(
|
|
49712
|
+
return /* @__PURE__ */ jsx267(Fragment39, { children: placeholder });
|
|
49601
49713
|
}
|
|
49602
|
-
return /* @__PURE__ */ jsx267(
|
|
49714
|
+
return /* @__PURE__ */ jsx267(Fragment39, { children: splitSmartValue(value).map(
|
|
49603
49715
|
(part) => part.kind === "text" ? /* @__PURE__ */ jsx267("span", { children: part.text }, `t-${part.index}`) : /* @__PURE__ */ jsx267(
|
|
49604
49716
|
SmartVariableBadge,
|
|
49605
49717
|
{
|
|
@@ -51818,7 +51930,7 @@ function useIsDarkMode() {
|
|
|
51818
51930
|
}
|
|
51819
51931
|
|
|
51820
51932
|
// src/components/StatGraphTile.tsx
|
|
51821
|
-
import { Fragment as
|
|
51933
|
+
import { Fragment as Fragment40, jsx as jsx277, jsxs as jsxs162 } from "react/jsx-runtime";
|
|
51822
51934
|
var STAT_GRAPH_CHART_TYPES = ["bar", "sparkline"];
|
|
51823
51935
|
var SPARK_VALUE = {
|
|
51824
51936
|
xs: "text-lg",
|
|
@@ -52044,7 +52156,7 @@ var StatGraphTile = ({
|
|
|
52044
52156
|
opacity: 0.5
|
|
52045
52157
|
}
|
|
52046
52158
|
),
|
|
52047
|
-
showAxes && /* @__PURE__ */ jsxs162(
|
|
52159
|
+
showAxes && /* @__PURE__ */ jsxs162(Fragment40, { children: [
|
|
52048
52160
|
/* @__PURE__ */ jsx277(
|
|
52049
52161
|
XAxis2,
|
|
52050
52162
|
{
|
|
@@ -53340,7 +53452,7 @@ var condenseStepperPlan = (steps, centreIndex, input = {}) => {
|
|
|
53340
53452
|
};
|
|
53341
53453
|
|
|
53342
53454
|
// src/components/CondensedStepper.tsx
|
|
53343
|
-
import { Fragment as
|
|
53455
|
+
import { Fragment as Fragment41, jsx as jsx281, jsxs as jsxs164 } from "react/jsx-runtime";
|
|
53344
53456
|
var CheckGlyph2 = iconRegistry.Check;
|
|
53345
53457
|
var SIZE_TOKENS9 = {
|
|
53346
53458
|
xs: {
|
|
@@ -53729,7 +53841,7 @@ var CondensedStepper = ({
|
|
|
53729
53841
|
surface,
|
|
53730
53842
|
toneClass
|
|
53731
53843
|
);
|
|
53732
|
-
const inner = /* @__PURE__ */ jsxs164(
|
|
53844
|
+
const inner = /* @__PURE__ */ jsxs164(Fragment41, { children: [
|
|
53733
53845
|
/* @__PURE__ */ jsx281("span", { className: classNames94("font-mono font-semibold", tokens.badgeText), children: index + 1 }),
|
|
53734
53846
|
/* @__PURE__ */ jsx281("span", { className: "cs-badge-track", children: /* @__PURE__ */ jsx281("span", { className: classNames94("min-w-0 overflow-hidden", tokens.badgeLeading), children: /* @__PURE__ */ jsx281(
|
|
53735
53847
|
"span",
|
|
@@ -53893,7 +54005,7 @@ var CondensedStepper = ({
|
|
|
53893
54005
|
var _a;
|
|
53894
54006
|
((_a = flankRefs.current)[zone] ?? (_a[zone] = { flank: null, clip: null, row: null })).row = el;
|
|
53895
54007
|
},
|
|
53896
|
-
children: mode === "panel" && /* @__PURE__ */ jsxs164(
|
|
54008
|
+
children: mode === "panel" && /* @__PURE__ */ jsxs164(Fragment41, { children: [
|
|
53897
54009
|
revealed.map((index) => /* @__PURE__ */ jsx281(
|
|
53898
54010
|
"span",
|
|
53899
54011
|
{
|
|
@@ -54021,12 +54133,12 @@ var CondensedStepper = ({
|
|
|
54021
54133
|
onKeyDown: handleKeyDown,
|
|
54022
54134
|
...rest,
|
|
54023
54135
|
children: [
|
|
54024
|
-
plan.hasPast && /* @__PURE__ */ jsxs164(
|
|
54136
|
+
plan.hasPast && /* @__PURE__ */ jsxs164(Fragment41, { children: [
|
|
54025
54137
|
renderFlank("past", plan.past, pastShift),
|
|
54026
54138
|
/* @__PURE__ */ jsx281(Dash, { tokens, side: "l" })
|
|
54027
54139
|
] }),
|
|
54028
54140
|
anchor,
|
|
54029
|
-
plan.hasFuture && /* @__PURE__ */ jsxs164(
|
|
54141
|
+
plan.hasFuture && /* @__PURE__ */ jsxs164(Fragment41, { children: [
|
|
54030
54142
|
/* @__PURE__ */ jsx281(Dash, { tokens, side: "r" }),
|
|
54031
54143
|
renderFlank("future", plan.future, futureShift)
|
|
54032
54144
|
] })
|
|
@@ -54165,7 +54277,7 @@ var decodeStoredSettings = (raw) => {
|
|
|
54165
54277
|
};
|
|
54166
54278
|
|
|
54167
54279
|
// src/components/Table.tsx
|
|
54168
|
-
import { Fragment as
|
|
54280
|
+
import { Fragment as Fragment42, jsx as jsx282, jsxs as jsxs165 } from "react/jsx-runtime";
|
|
54169
54281
|
var PORTAL_ROOT5 = typeof document !== "undefined" ? document.body : null;
|
|
54170
54282
|
var NEUTRAL_HEADER_CLASSES = "bg-neutral-50 text-neutral-700 dark:bg-neutral-800/70 dark:text-neutral-200 border-neutral-200 dark:border-neutral-700";
|
|
54171
54283
|
var STRIPED_ROW_BG = "bg-neutral-50/55 dark:bg-neutral-800/15";
|
|
@@ -55167,7 +55279,7 @@ function TableComponent({
|
|
|
55167
55279
|
headerTitle && /* @__PURE__ */ jsx282("div", { className: "text-sm font-semibold text-neutral-700 dark:text-neutral-200", children: headerTitle }),
|
|
55168
55280
|
/* @__PURE__ */ jsx282("div", { className: "flex-1" }),
|
|
55169
55281
|
/* @__PURE__ */ jsxs165("div", { className: "flex items-center gap-2", children: [
|
|
55170
|
-
showViewToggle && /* @__PURE__ */ jsxs165(
|
|
55282
|
+
showViewToggle && /* @__PURE__ */ jsxs165(Fragment42, { children: [
|
|
55171
55283
|
/* @__PURE__ */ jsx282(
|
|
55172
55284
|
IconButton_default,
|
|
55173
55285
|
{
|
|
@@ -55640,7 +55752,7 @@ function TableComponent({
|
|
|
55640
55752
|
columns: orderedVisibleColumns.length,
|
|
55641
55753
|
rows: skeletonRows
|
|
55642
55754
|
}
|
|
55643
|
-
) : /* @__PURE__ */ jsxs165(
|
|
55755
|
+
) : /* @__PURE__ */ jsxs165(Fragment42, { children: [
|
|
55644
55756
|
/* @__PURE__ */ jsxs165(
|
|
55645
55757
|
"table",
|
|
55646
55758
|
{
|
|
@@ -56717,7 +56829,7 @@ var CapsuleBlueprintValueType = /* @__PURE__ */ ((CapsuleBlueprintValueType2) =>
|
|
|
56717
56829
|
})(CapsuleBlueprintValueType || {});
|
|
56718
56830
|
|
|
56719
56831
|
// src/components/DynamicFormField.tsx
|
|
56720
|
-
import { Fragment as
|
|
56832
|
+
import { Fragment as Fragment43, jsx as jsx286, jsxs as jsxs168 } from "react/jsx-runtime";
|
|
56721
56833
|
var DYNAMIC_FORM_FIELD_VARIANTS = [
|
|
56722
56834
|
...SURFACE_VARIANTS,
|
|
56723
56835
|
"plain"
|
|
@@ -56886,7 +56998,7 @@ var DynamicFormField = ({
|
|
|
56886
56998
|
if (!isVisible || !parameter.value_type || control === null) return null;
|
|
56887
56999
|
const isCheckbox = parameter.value_type === "boolean" /* Boolean */;
|
|
56888
57000
|
const isKeyValue = parameter.value_type === "map" /* Map */;
|
|
56889
|
-
const body = /* @__PURE__ */ jsxs168(
|
|
57001
|
+
const body = /* @__PURE__ */ jsxs168(Fragment43, { children: [
|
|
56890
57002
|
isKeyValue ? control : /* @__PURE__ */ jsx286(
|
|
56891
57003
|
FormField_default,
|
|
56892
57004
|
{
|
|
@@ -57295,7 +57407,7 @@ function getTreeColorTokens(tone) {
|
|
|
57295
57407
|
}
|
|
57296
57408
|
|
|
57297
57409
|
// src/components/TimelinePanel/TimelinePanel.tsx
|
|
57298
|
-
import { Fragment as
|
|
57410
|
+
import { Fragment as Fragment44, jsx as jsx288, jsxs as jsxs170 } from "react/jsx-runtime";
|
|
57299
57411
|
function useIsDark() {
|
|
57300
57412
|
const detect = () => {
|
|
57301
57413
|
if (typeof document === "undefined") return false;
|
|
@@ -57556,7 +57668,7 @@ var OverflowButton = ({
|
|
|
57556
57668
|
const [open, setOpen] = useState73(false);
|
|
57557
57669
|
const ref = useRef63(null);
|
|
57558
57670
|
if (options.length === 0) return null;
|
|
57559
|
-
return /* @__PURE__ */ jsxs170(
|
|
57671
|
+
return /* @__PURE__ */ jsxs170(Fragment44, { children: [
|
|
57560
57672
|
/* @__PURE__ */ jsx288(
|
|
57561
57673
|
"button",
|
|
57562
57674
|
{
|
|
@@ -61767,7 +61879,7 @@ var ConnectionFlowEditor = forwardRef161(function ConnectionFlowEditor2({
|
|
|
61767
61879
|
var ConnectionFlowEditor_default = ConnectionFlowEditor;
|
|
61768
61880
|
|
|
61769
61881
|
// src/components/ConnectionFlow/ConnectionFlow.tsx
|
|
61770
|
-
import { Fragment as
|
|
61882
|
+
import { Fragment as Fragment45, jsx as jsx294, jsxs as jsxs176 } from "react/jsx-runtime";
|
|
61771
61883
|
var FIT_ICON = /* @__PURE__ */ jsxs176(
|
|
61772
61884
|
"svg",
|
|
61773
61885
|
{
|
|
@@ -62077,7 +62189,7 @@ var ConnectionFlow = React84.forwardRef(function ConnectionFlow2({
|
|
|
62077
62189
|
height: (drawing.height - drawing.offsetY) * scale
|
|
62078
62190
|
};
|
|
62079
62191
|
const body = /* @__PURE__ */ jsxs176("div", { className: "relative w-full min-w-0", children: [
|
|
62080
|
-
showHeader && (eyebrow || title || subtitle || icon || tag || progressType !== "none") && /* @__PURE__ */ jsxs176(
|
|
62192
|
+
showHeader && (eyebrow || title || subtitle || icon || tag || progressType !== "none") && /* @__PURE__ */ jsxs176(Fragment45, { children: [
|
|
62081
62193
|
/* @__PURE__ */ jsx294("div", { className: "px-4 pt-4 pb-3", children: /* @__PURE__ */ jsx294(
|
|
62082
62194
|
ConnectionFlowHeader_default,
|
|
62083
62195
|
{
|
|
@@ -62790,7 +62902,7 @@ import {
|
|
|
62790
62902
|
useState as useState78
|
|
62791
62903
|
} from "react";
|
|
62792
62904
|
import classNames107 from "classnames";
|
|
62793
|
-
import { Fragment as
|
|
62905
|
+
import { Fragment as Fragment46, jsx as jsx296, jsxs as jsxs178 } from "react/jsx-runtime";
|
|
62794
62906
|
var ORG_CHART_SELECTION_MODES = [
|
|
62795
62907
|
"none",
|
|
62796
62908
|
"single",
|
|
@@ -63006,7 +63118,7 @@ var OrganizationChart = ({
|
|
|
63006
63118
|
selected: isSelected,
|
|
63007
63119
|
expanded,
|
|
63008
63120
|
hasChildren
|
|
63009
|
-
}) : /* @__PURE__ */ jsxs178(
|
|
63121
|
+
}) : /* @__PURE__ */ jsxs178(Fragment46, { children: [
|
|
63010
63122
|
node.icon != null && /* @__PURE__ */ jsx296(
|
|
63011
63123
|
"span",
|
|
63012
63124
|
{
|
|
@@ -63305,7 +63417,7 @@ var TreeItemCard_default = TreeItemCard;
|
|
|
63305
63417
|
|
|
63306
63418
|
// src/components/TreeView/TreeFlowSvg.tsx
|
|
63307
63419
|
import { useEffect as useEffect70, useState as useState80 } from "react";
|
|
63308
|
-
import { Fragment as
|
|
63420
|
+
import { Fragment as Fragment47, jsx as jsx298, jsxs as jsxs180 } from "react/jsx-runtime";
|
|
63309
63421
|
function useIsDark2() {
|
|
63310
63422
|
const detectDark = () => {
|
|
63311
63423
|
if (typeof document === "undefined") return false;
|
|
@@ -63475,9 +63587,9 @@ var TreeFlowSvg = ({
|
|
|
63475
63587
|
},
|
|
63476
63588
|
`branch-${i}`
|
|
63477
63589
|
)),
|
|
63478
|
-
showConnectors && connectorStyle === "rings" && /* @__PURE__ */ jsxs180(
|
|
63590
|
+
showConnectors && connectorStyle === "rings" && /* @__PURE__ */ jsxs180(Fragment47, { children: [
|
|
63479
63591
|
isBracket ? /* @__PURE__ */ jsxs180("g", { children: [
|
|
63480
|
-
junctionStyle === "dot" && /* @__PURE__ */ jsxs180(
|
|
63592
|
+
junctionStyle === "dot" && /* @__PURE__ */ jsxs180(Fragment47, { children: [
|
|
63481
63593
|
/* @__PURE__ */ jsx298("circle", { cx: "12", cy: parentAnchorY, r: "4.5", fill: rootFill }),
|
|
63482
63594
|
/* @__PURE__ */ jsx298(
|
|
63483
63595
|
"circle",
|
|
@@ -63523,7 +63635,7 @@ var TreeFlowSvg = ({
|
|
|
63523
63635
|
),
|
|
63524
63636
|
showCenterDot && /* @__PURE__ */ jsx298("circle", { cx: indentPx, cy: parentAnchorY, r: "2", fill: rootDot })
|
|
63525
63637
|
] }) : hasParentStub ? /* @__PURE__ */ jsxs180("g", { children: [
|
|
63526
|
-
connectorHalf ? /* @__PURE__ */ jsxs180(
|
|
63638
|
+
connectorHalf ? /* @__PURE__ */ jsxs180(Fragment47, { children: [
|
|
63527
63639
|
/* @__PURE__ */ jsx298(
|
|
63528
63640
|
"path",
|
|
63529
63641
|
{
|
|
@@ -63543,7 +63655,7 @@ var TreeFlowSvg = ({
|
|
|
63543
63655
|
transform: `translate(0, ${rootConnectorY})`
|
|
63544
63656
|
}
|
|
63545
63657
|
)
|
|
63546
|
-
] }) : /* @__PURE__ */ jsxs180(
|
|
63658
|
+
] }) : /* @__PURE__ */ jsxs180(Fragment47, { children: [
|
|
63547
63659
|
/* @__PURE__ */ jsx298(
|
|
63548
63660
|
"circle",
|
|
63549
63661
|
{
|
|
@@ -63566,7 +63678,7 @@ var TreeFlowSvg = ({
|
|
|
63566
63678
|
)
|
|
63567
63679
|
] }),
|
|
63568
63680
|
showCenterDot && /* @__PURE__ */ jsx298("circle", { cx: "12", cy: rootConnectorY, r: "2", fill: rootDot })
|
|
63569
|
-
] }) : /* @__PURE__ */ jsxs180(
|
|
63681
|
+
] }) : /* @__PURE__ */ jsxs180(Fragment47, { children: [
|
|
63570
63682
|
/* @__PURE__ */ jsx298("circle", { cx: "12", cy: rootConnectorY, r: ringR, fill: rootFill }),
|
|
63571
63683
|
connectorHalf ? /* @__PURE__ */ jsx298(
|
|
63572
63684
|
"path",
|
|
@@ -63592,7 +63704,7 @@ var TreeFlowSvg = ({
|
|
|
63592
63704
|
showCenterDot && /* @__PURE__ */ jsx298("circle", { cx: "12", cy: rootConnectorY, r: "2", fill: rootDot })
|
|
63593
63705
|
] }),
|
|
63594
63706
|
midYs.map((my, i) => /* @__PURE__ */ jsxs180("g", { children: [
|
|
63595
|
-
junctionStyle === "dot" && /* @__PURE__ */ jsxs180(
|
|
63707
|
+
junctionStyle === "dot" && /* @__PURE__ */ jsxs180(Fragment47, { children: [
|
|
63596
63708
|
/* @__PURE__ */ jsx298("circle", { cx: "12", cy: my, r: "4.5", fill: cFill(i) }),
|
|
63597
63709
|
/* @__PURE__ */ jsx298(
|
|
63598
63710
|
"circle",
|
|
@@ -63631,7 +63743,7 @@ var TreeFlowSvg = ({
|
|
|
63631
63743
|
showCenterDot && /* @__PURE__ */ jsx298("circle", { cx: branchEndX, cy: my, r: "2", fill: cDot(i) })
|
|
63632
63744
|
] }, `conn-${i}`))
|
|
63633
63745
|
] }),
|
|
63634
|
-
showConnectors && connectorStyle === "dots" && /* @__PURE__ */ jsxs180(
|
|
63746
|
+
showConnectors && connectorStyle === "dots" && /* @__PURE__ */ jsxs180(Fragment47, { children: [
|
|
63635
63747
|
/* @__PURE__ */ jsx298(
|
|
63636
63748
|
"circle",
|
|
63637
63749
|
{
|
|
@@ -64522,7 +64634,7 @@ var getStatusTokens = (status, palette) => {
|
|
|
64522
64634
|
const STATUS_STYLES = {
|
|
64523
64635
|
done: {
|
|
64524
64636
|
tone: accent,
|
|
64525
|
-
node: `bg-${accent}-500
|
|
64637
|
+
node: `bg-${accent}-500 border-2 border-${accent}-500`,
|
|
64526
64638
|
glyph: "check",
|
|
64527
64639
|
glyphClass: "text-white",
|
|
64528
64640
|
connector: `bg-${accent}-500 dark:bg-${accent}-500`,
|
|
@@ -64647,14 +64759,15 @@ var WorkflowStatusNode = ({
|
|
|
64647
64759
|
"span",
|
|
64648
64760
|
{
|
|
64649
64761
|
"aria-hidden": "true",
|
|
64762
|
+
"data-workflow-status-node": true,
|
|
64650
64763
|
className: classNames111("relative inline-flex shrink-0", node, className),
|
|
64651
64764
|
children: [
|
|
64652
64765
|
tokens.pulse && /* @__PURE__ */ jsx301(
|
|
64653
64766
|
"span",
|
|
64654
64767
|
{
|
|
64655
64768
|
className: classNames111(
|
|
64656
|
-
"absolute inset-0 animate-ping rounded-full opacity-60 motion-reduce:hidden",
|
|
64657
|
-
`bg-${tokens.tone}-300 dark:bg-${tokens.tone}-
|
|
64769
|
+
"absolute inset-0 origin-center animate-ping rounded-full opacity-60 motion-reduce:hidden",
|
|
64770
|
+
`bg-${tokens.tone}-300 dark:bg-${tokens.tone}-400`
|
|
64658
64771
|
)
|
|
64659
64772
|
}
|
|
64660
64773
|
),
|
|
@@ -64662,7 +64775,7 @@ var WorkflowStatusNode = ({
|
|
|
64662
64775
|
"span",
|
|
64663
64776
|
{
|
|
64664
64777
|
className: classNames111(
|
|
64665
|
-
"
|
|
64778
|
+
"absolute inset-0 inline-flex h-full w-full items-center justify-center rounded-full",
|
|
64666
64779
|
tokens.node
|
|
64667
64780
|
),
|
|
64668
64781
|
children: [
|
|
@@ -64805,7 +64918,7 @@ var Tally = ({ count, label, surfaces }) => /* @__PURE__ */ jsxs184("span", { cl
|
|
|
64805
64918
|
] });
|
|
64806
64919
|
|
|
64807
64920
|
// src/components/WorkflowTracker/WorkflowTimeline.tsx
|
|
64808
|
-
import { Fragment as
|
|
64921
|
+
import { Fragment as Fragment48, jsx as jsx304, jsxs as jsxs185 } from "react/jsx-runtime";
|
|
64809
64922
|
var CONNECTOR_LEFT = 9;
|
|
64810
64923
|
var CONNECTOR_TOP = 24;
|
|
64811
64924
|
var NESTED_INDENT = 32;
|
|
@@ -64831,7 +64944,7 @@ var NestedSubSteps = ({
|
|
|
64831
64944
|
children: /* @__PURE__ */ jsx304("ul", { className: "space-y-2.5", children: subSteps.map((subStep) => {
|
|
64832
64945
|
const status = normalizeStatus(subStep.status);
|
|
64833
64946
|
const isActive = status === "running" || status === "in_progress";
|
|
64834
|
-
const content = /* @__PURE__ */ jsxs185(
|
|
64947
|
+
const content = /* @__PURE__ */ jsxs185(Fragment48, { children: [
|
|
64835
64948
|
/* @__PURE__ */ jsx304(WorkflowStatusNode_default, { status, palette, size: "sm" }),
|
|
64836
64949
|
/* @__PURE__ */ jsx304(
|
|
64837
64950
|
"span",
|
|
@@ -64862,6 +64975,7 @@ var WorkflowTimeline = ({
|
|
|
64862
64975
|
renderStepPopover,
|
|
64863
64976
|
stepPopoverProps,
|
|
64864
64977
|
collapsed = false,
|
|
64978
|
+
side = "left",
|
|
64865
64979
|
fillHeight = false,
|
|
64866
64980
|
steps,
|
|
64867
64981
|
activeStepId,
|
|
@@ -64988,12 +65102,13 @@ var WorkflowTimeline = ({
|
|
|
64988
65102
|
const isActive = step.id === activeStepId;
|
|
64989
65103
|
const isLast = index === steps.length - 1;
|
|
64990
65104
|
const nested = isActive && step.subSteps && step.subSteps.length > 0 ? step.subSteps : void 0;
|
|
64991
|
-
const rowContent = /* @__PURE__ */ jsxs185(
|
|
65105
|
+
const rowContent = /* @__PURE__ */ jsxs185(Fragment48, { children: [
|
|
64992
65106
|
/* @__PURE__ */ jsx304(
|
|
64993
65107
|
WorkflowStatusNode_default,
|
|
64994
65108
|
{
|
|
64995
65109
|
status,
|
|
64996
65110
|
palette,
|
|
65111
|
+
size: collapsed ? "sm" : "md",
|
|
64997
65112
|
className: collapsed ? void 0 : "mt-0.5"
|
|
64998
65113
|
}
|
|
64999
65114
|
),
|
|
@@ -65053,9 +65168,10 @@ var WorkflowTimeline = ({
|
|
|
65053
65168
|
type: "button",
|
|
65054
65169
|
onClick: () => onStepSelect(step.id),
|
|
65055
65170
|
className: classNames114(
|
|
65056
|
-
"relative flex text-left focus:outline-none focus-visible:ring-2 focus-visible:ring-neutral-400
|
|
65171
|
+
"relative flex text-left focus:outline-none focus-visible:ring-2 focus-visible:ring-neutral-400 dark:focus-visible:ring-neutral-500",
|
|
65172
|
+
collapsed ? "focus-visible:ring-inset" : "focus-visible:ring-offset-2",
|
|
65057
65173
|
collapsed ? "h-9 w-9 items-center justify-center rounded-xl" : "w-full items-start gap-3 rounded-sm",
|
|
65058
|
-
collapsed &&
|
|
65174
|
+
collapsed && "transition-colors hover:bg-neutral-100 dark:hover:bg-white/5"
|
|
65059
65175
|
),
|
|
65060
65176
|
children: rowContent
|
|
65061
65177
|
}
|
|
@@ -65064,9 +65180,10 @@ var WorkflowTimeline = ({
|
|
|
65064
65180
|
{
|
|
65065
65181
|
tabIndex: collapsed ? 0 : void 0,
|
|
65066
65182
|
className: classNames114(
|
|
65067
|
-
"relative flex focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-neutral-400",
|
|
65183
|
+
"relative flex focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-neutral-400 dark:focus-visible:ring-neutral-500",
|
|
65184
|
+
collapsed && "focus-visible:ring-inset",
|
|
65068
65185
|
collapsed ? "h-9 w-9 items-center justify-center rounded-xl" : "w-full items-start gap-3 rounded-sm",
|
|
65069
|
-
collapsed &&
|
|
65186
|
+
collapsed && "transition-colors hover:bg-neutral-100 dark:hover:bg-white/5"
|
|
65070
65187
|
),
|
|
65071
65188
|
children: rowContent
|
|
65072
65189
|
}
|
|
@@ -65084,7 +65201,12 @@ var WorkflowTimeline = ({
|
|
|
65084
65201
|
"span",
|
|
65085
65202
|
{
|
|
65086
65203
|
"aria-hidden": "true",
|
|
65087
|
-
|
|
65204
|
+
"data-workflow-selection-marker": true,
|
|
65205
|
+
style: { position: "absolute", pointerEvents: "none" },
|
|
65206
|
+
className: classNames114(
|
|
65207
|
+
`absolute top-1.5 h-6 w-1 bg-${palette.accent}-600`,
|
|
65208
|
+
side === "left" ? "-left-2 rounded-r-full" : "-right-2 rounded-l-full"
|
|
65209
|
+
)
|
|
65088
65210
|
}
|
|
65089
65211
|
),
|
|
65090
65212
|
!isLast && /* @__PURE__ */ jsx304(
|
|
@@ -65538,6 +65660,7 @@ var sampleWorkflow = {
|
|
|
65538
65660
|
// src/components/WorkflowTracker/WorkflowTrackerRail.tsx
|
|
65539
65661
|
import { jsx as jsx306, jsxs as jsxs187 } from "react/jsx-runtime";
|
|
65540
65662
|
var WorkflowTrackerRail = ({
|
|
65663
|
+
side = "left",
|
|
65541
65664
|
collapsible = false,
|
|
65542
65665
|
collapsed,
|
|
65543
65666
|
defaultCollapsed = false,
|
|
@@ -65590,7 +65713,11 @@ var WorkflowTrackerRail = ({
|
|
|
65590
65713
|
className,
|
|
65591
65714
|
cardClassName
|
|
65592
65715
|
),
|
|
65593
|
-
style: collapsible ? {
|
|
65716
|
+
style: collapsible ? {
|
|
65717
|
+
...style,
|
|
65718
|
+
width: isCollapsed ? COLLAPSED_RAIL_WIDTH : style?.width ?? 360,
|
|
65719
|
+
...isCollapsed ? side === "left" ? { borderTopLeftRadius: 0, borderBottomLeftRadius: 0 } : { borderTopRightRadius: 0, borderBottomRightRadius: 0 } : {}
|
|
65720
|
+
} : style,
|
|
65594
65721
|
"aria-busy": loading || void 0,
|
|
65595
65722
|
"data-collapsed": collapsible ? isCollapsed : void 0,
|
|
65596
65723
|
children: [
|
|
@@ -65599,16 +65726,16 @@ var WorkflowTrackerRail = ({
|
|
|
65599
65726
|
{
|
|
65600
65727
|
className: classNames115(
|
|
65601
65728
|
"absolute z-20 flex",
|
|
65602
|
-
isCollapsed ? "inset-x-0 top-2 justify-center" : "right-4 top-4"
|
|
65729
|
+
isCollapsed ? "inset-x-0 top-2 justify-center" : side === "left" ? "right-4 top-4" : "left-4 top-4"
|
|
65603
65730
|
),
|
|
65604
65731
|
children: /* @__PURE__ */ jsx306(
|
|
65605
65732
|
CollapseToggleButton,
|
|
65606
65733
|
{
|
|
65607
65734
|
collapsed: isCollapsed,
|
|
65608
|
-
edge:
|
|
65735
|
+
edge: side,
|
|
65609
65736
|
srLabel: isCollapsed ? expandLabel : collapseLabel,
|
|
65610
65737
|
tooltip: isCollapsed ? expandLabel : collapseLabel,
|
|
65611
|
-
tooltipPosition: "right",
|
|
65738
|
+
tooltipPosition: side === "left" ? "right" : "left",
|
|
65612
65739
|
"aria-controls": timelineId,
|
|
65613
65740
|
onClick: () => {
|
|
65614
65741
|
const next = !isCollapsed;
|
|
@@ -65630,9 +65757,11 @@ var WorkflowTrackerRail = ({
|
|
|
65630
65757
|
{
|
|
65631
65758
|
controls: renderControls?.({ collapsed: isCollapsed }),
|
|
65632
65759
|
collapsed: isCollapsed,
|
|
65760
|
+
side,
|
|
65633
65761
|
hasCollapseToggle: collapsible,
|
|
65634
65762
|
renderStepPopover,
|
|
65635
65763
|
stepPopoverProps: {
|
|
65764
|
+
placement: side === "left" ? "right" : "left",
|
|
65636
65765
|
variant: cardProps.variant,
|
|
65637
65766
|
tone: cardProps.tone,
|
|
65638
65767
|
corner: cardProps.corner,
|
|
@@ -65672,7 +65801,7 @@ import classNames117 from "classnames";
|
|
|
65672
65801
|
|
|
65673
65802
|
// src/components/WorkflowTracker/WorkflowDetailPanel.tsx
|
|
65674
65803
|
import classNames116 from "classnames";
|
|
65675
|
-
import { Fragment as
|
|
65804
|
+
import { Fragment as Fragment49, jsx as jsx307, jsxs as jsxs188 } from "react/jsx-runtime";
|
|
65676
65805
|
var WorkflowDetailPanel = ({
|
|
65677
65806
|
active,
|
|
65678
65807
|
totalSteps,
|
|
@@ -65767,7 +65896,7 @@ var WorkflowDetailPanel = ({
|
|
|
65767
65896
|
field.label
|
|
65768
65897
|
)) })
|
|
65769
65898
|
] }),
|
|
65770
|
-
subSteps.length > 0 && /* @__PURE__ */ jsxs188(
|
|
65899
|
+
subSteps.length > 0 && /* @__PURE__ */ jsxs188(Fragment49, { children: [
|
|
65771
65900
|
/* @__PURE__ */ jsxs188(
|
|
65772
65901
|
"div",
|
|
65773
65902
|
{
|
|
@@ -65804,7 +65933,7 @@ var WorkflowDetailPanel = ({
|
|
|
65804
65933
|
children: subSteps.map((subStep) => {
|
|
65805
65934
|
const subStatus = normalizeStatus(subStep.status);
|
|
65806
65935
|
const isRunning = subStatus === "running";
|
|
65807
|
-
const rowContent = /* @__PURE__ */ jsxs188(
|
|
65936
|
+
const rowContent = /* @__PURE__ */ jsxs188(Fragment49, { children: [
|
|
65808
65937
|
/* @__PURE__ */ jsx307(WorkflowStatusNode_default, { status: subStatus, palette }),
|
|
65809
65938
|
/* @__PURE__ */ jsxs188("div", { className: "min-w-0 flex-1", children: [
|
|
65810
65939
|
/* @__PURE__ */ jsx307("p", { className: "text-sm font-medium text-neutral-800 dark:text-neutral-100", children: subStep.label }),
|
|
@@ -67817,7 +67946,7 @@ GanttLinkLayer.displayName = "GanttLinkLayer";
|
|
|
67817
67946
|
// src/components/Gantt/GanttBodyRow.tsx
|
|
67818
67947
|
import { useMemo as useMemo58 } from "react";
|
|
67819
67948
|
import classNames124 from "classnames";
|
|
67820
|
-
import { Fragment as
|
|
67949
|
+
import { Fragment as Fragment50, jsx as jsx316, jsxs as jsxs194 } from "react/jsx-runtime";
|
|
67821
67950
|
var BAR_HEIGHT = 24;
|
|
67822
67951
|
var MILESTONE_SIZE = 14;
|
|
67823
67952
|
var GanttBodyRow = ({
|
|
@@ -67888,7 +68017,7 @@ var GanttBodyRow = ({
|
|
|
67888
68017
|
dividerClass,
|
|
67889
68018
|
liveProgress: liveLane
|
|
67890
68019
|
}
|
|
67891
|
-
) : /* @__PURE__ */ jsxs194(
|
|
68020
|
+
) : /* @__PURE__ */ jsxs194(Fragment50, { children: [
|
|
67892
68021
|
/* @__PURE__ */ jsxs194(
|
|
67893
68022
|
"div",
|
|
67894
68023
|
{
|
|
@@ -67979,7 +68108,7 @@ var LaneHeader = ({ row, columns, leftWidth, color, onCaretClick, dividerClass =
|
|
|
67979
68108
|
const laneColor = lane.color ?? color;
|
|
67980
68109
|
const tokens = getGanttLaneTokens(laneColor);
|
|
67981
68110
|
const isOpen = lane.open !== false;
|
|
67982
|
-
return /* @__PURE__ */ jsxs194(
|
|
68111
|
+
return /* @__PURE__ */ jsxs194(Fragment50, { children: [
|
|
67983
68112
|
/* @__PURE__ */ jsxs194(
|
|
67984
68113
|
"div",
|
|
67985
68114
|
{
|
|
@@ -68008,7 +68137,7 @@ var LaneHeader = ({ row, columns, leftWidth, color, onCaretClick, dividerClass =
|
|
|
68008
68137
|
dividerClass
|
|
68009
68138
|
),
|
|
68010
68139
|
style: { width: col.width ?? "160px" },
|
|
68011
|
-
children: i === 0 ? /* @__PURE__ */ jsxs194(
|
|
68140
|
+
children: i === 0 ? /* @__PURE__ */ jsxs194(Fragment50, { children: [
|
|
68012
68141
|
/* @__PURE__ */ jsx316("span", { className: classNames124("truncate text-[13px] font-semibold", tokens.label), children: lane.label }),
|
|
68013
68142
|
lane.description && /* @__PURE__ */ jsx316("span", { className: "hidden truncate text-[11px] text-neutral-500 dark:text-neutral-400 lg:inline", children: lane.description }),
|
|
68014
68143
|
row.childCount > 0 && /* @__PURE__ */ jsx316("span", { className: "shrink-0 rounded-full bg-white/70 px-1.5 py-0.5 text-[10px] font-semibold text-neutral-600 dark:bg-white/10 dark:text-neutral-300", children: row.childCount })
|
|
@@ -68037,7 +68166,7 @@ var Cell = ({ col, task, depth, isGroup, childCount, first, onCaretClick, render
|
|
|
68037
68166
|
width: col.width ?? "160px",
|
|
68038
68167
|
justifyContent: col.align === "center" ? "center" : col.align === "right" ? "flex-end" : "flex-start"
|
|
68039
68168
|
},
|
|
68040
|
-
children: first ? /* @__PURE__ */ jsxs194(
|
|
68169
|
+
children: first ? /* @__PURE__ */ jsxs194(Fragment50, { children: [
|
|
68041
68170
|
/* @__PURE__ */ jsx316("span", { className: "shrink-0", style: { width: depth * 14 + 18 }, children: isGroup && /* @__PURE__ */ jsx316(
|
|
68042
68171
|
"button",
|
|
68043
68172
|
{
|
|
@@ -68219,7 +68348,7 @@ var TaskBar = ({
|
|
|
68219
68348
|
}
|
|
68220
68349
|
),
|
|
68221
68350
|
showName && (renderBar != null ? /* @__PURE__ */ jsx316("div", { className: classNames124("pointer-events-none absolute inset-0 flex items-center px-1.5 text-[11px] font-medium", labelText), children: renderBar(task, { taskId: task.id, left, width, top, height: row.height, milestone: false }) }) : /* @__PURE__ */ jsx316("span", { className: classNames124("pointer-events-none absolute inset-0 flex items-center truncate px-1.5 text-[11px] font-medium", labelText), children: task.name })),
|
|
68222
|
-
canEdit && /* @__PURE__ */ jsxs194(
|
|
68351
|
+
canEdit && /* @__PURE__ */ jsxs194(Fragment50, { children: [
|
|
68223
68352
|
/* @__PURE__ */ jsx316(
|
|
68224
68353
|
"div",
|
|
68225
68354
|
{
|
|
@@ -68241,7 +68370,7 @@ var TaskBar = ({
|
|
|
68241
68370
|
}
|
|
68242
68371
|
)
|
|
68243
68372
|
] }),
|
|
68244
|
-
canEdit && /* @__PURE__ */ jsxs194(
|
|
68373
|
+
canEdit && /* @__PURE__ */ jsxs194(Fragment50, { children: [
|
|
68245
68374
|
/* @__PURE__ */ jsx316(
|
|
68246
68375
|
"button",
|
|
68247
68376
|
{
|
|
@@ -70210,7 +70339,7 @@ function useTaskBoard() {
|
|
|
70210
70339
|
}
|
|
70211
70340
|
|
|
70212
70341
|
// src/components/TaskBoard/TaskBoardCard.tsx
|
|
70213
|
-
import { Fragment as
|
|
70342
|
+
import { Fragment as Fragment51, jsx as jsx319, jsxs as jsxs197 } from "react/jsx-runtime";
|
|
70214
70343
|
var tagLabel = (t) => typeof t === "string" ? t : t.label;
|
|
70215
70344
|
function formatDue(due, locale) {
|
|
70216
70345
|
if (due === void 0 || due === null || due === "") return null;
|
|
@@ -70373,7 +70502,7 @@ var TaskBoardCard = React99.forwardRef(
|
|
|
70373
70502
|
},
|
|
70374
70503
|
children: [
|
|
70375
70504
|
renderCard ? renderCard(card, state) : /* @__PURE__ */ jsx319(TaskBoardCardBody, { card }),
|
|
70376
|
-
state.held && heldTone && /* @__PURE__ */ jsxs197(
|
|
70505
|
+
state.held && heldTone && /* @__PURE__ */ jsxs197(Fragment51, { children: [
|
|
70377
70506
|
/* @__PURE__ */ jsx319("span", { className: "sr-only", children: ctx.text("held", { name: state.held.name }) }),
|
|
70378
70507
|
/* @__PURE__ */ jsx319(
|
|
70379
70508
|
"span",
|
|
@@ -72034,7 +72163,7 @@ function safePublish(transport, event) {
|
|
|
72034
72163
|
import { useLayoutEffect as useLayoutEffect27, useState as useState92 } from "react";
|
|
72035
72164
|
import { createPortal as createPortal18 } from "react-dom";
|
|
72036
72165
|
import classNames135 from "classnames";
|
|
72037
|
-
import { Fragment as
|
|
72166
|
+
import { Fragment as Fragment52, jsx as jsx327, jsxs as jsxs203 } from "react/jsx-runtime";
|
|
72038
72167
|
var GHOST_HEIGHT = 40;
|
|
72039
72168
|
var TaskBoardRemoteGhosts = ({ rootRef, holds, selfId, cards, userById }) => {
|
|
72040
72169
|
const [ghosts, setGhosts] = useState92([]);
|
|
@@ -72080,7 +72209,7 @@ var TaskBoardRemoteGhosts = ({ rootRef, holds, selfId, cards, userById }) => {
|
|
|
72080
72209
|
}, [rootRef, holds, selfId, cards, userById, tick]);
|
|
72081
72210
|
if (!ghosts.length || typeof document === "undefined") return null;
|
|
72082
72211
|
return createPortal18(
|
|
72083
|
-
/* @__PURE__ */ jsx327(
|
|
72212
|
+
/* @__PURE__ */ jsx327(Fragment52, { children: ghosts.map((g) => {
|
|
72084
72213
|
const tokens = getTaskBoardPeerTokens(g.peer.color ?? peerColor(g.peer.id));
|
|
72085
72214
|
return /* @__PURE__ */ jsxs203(
|
|
72086
72215
|
"div",
|
|
@@ -75048,7 +75177,7 @@ export {
|
|
|
75048
75177
|
SIDE_MENU_HEADER_HEIGHT,
|
|
75049
75178
|
SIDE_MENU_HEADER_SEAM,
|
|
75050
75179
|
SIDE_PANEL_SIDES,
|
|
75051
|
-
|
|
75180
|
+
SURFACE_VARIANTS as SIDE_PANEL_VARIANTS,
|
|
75052
75181
|
SLIDER_ORIENTATIONS,
|
|
75053
75182
|
SLIDER_VARIANTS,
|
|
75054
75183
|
PALETTE_MIME as SMART_GRID_PALETTE_MIME,
|