footprint-explainable-ui 0.26.1 → 0.26.2
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/flowchart.cjs +17 -15
- package/dist/flowchart.cjs.map +1 -1
- package/dist/flowchart.js +17 -15
- package/dist/flowchart.js.map +1 -1
- package/dist/index.cjs +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4346,8 +4346,8 @@ function SubflowBreadcrumbBar({ entries, onNavigate }) {
|
|
|
4346
4346
|
gap: 6,
|
|
4347
4347
|
padding: "6px 12px",
|
|
4348
4348
|
fontSize: 11,
|
|
4349
|
-
background:
|
|
4350
|
-
borderBottom: `1px solid ${
|
|
4349
|
+
background: theme.bgSecondary,
|
|
4350
|
+
borderBottom: `1px solid ${theme.border}`,
|
|
4351
4351
|
flexShrink: 0
|
|
4352
4352
|
},
|
|
4353
4353
|
"aria-label": "Subflow breadcrumb",
|
|
@@ -4370,7 +4370,7 @@ function SubflowBreadcrumbBar({ entries, onNavigate }) {
|
|
|
4370
4370
|
padding: 0,
|
|
4371
4371
|
fontSize: 11,
|
|
4372
4372
|
fontWeight: isLast ? 600 : 500,
|
|
4373
|
-
color: isLast ?
|
|
4373
|
+
color: isLast ? theme.textPrimary : theme.primary,
|
|
4374
4374
|
cursor: isLast ? "default" : "pointer",
|
|
4375
4375
|
textDecoration: isLast ? "none" : "underline",
|
|
4376
4376
|
fontFamily: "inherit"
|
|
@@ -4378,7 +4378,7 @@ function SubflowBreadcrumbBar({ entries, onNavigate }) {
|
|
|
4378
4378
|
children: entry.label
|
|
4379
4379
|
}
|
|
4380
4380
|
),
|
|
4381
|
-
!isLast && /* @__PURE__ */ jsx17("span", { style: { color:
|
|
4381
|
+
!isLast && /* @__PURE__ */ jsx17("span", { style: { color: theme.textMuted }, children: "\u203A" })
|
|
4382
4382
|
]
|
|
4383
4383
|
},
|
|
4384
4384
|
entry.subflowId ?? "__top__"
|
|
@@ -4391,10 +4391,9 @@ function SubflowBreadcrumbBar({ entries, onNavigate }) {
|
|
|
4391
4391
|
// src/components/GroupContainerNode/GroupContainerNode.tsx
|
|
4392
4392
|
import { Handle as Handle2, Position as Position2 } from "@xyflow/react";
|
|
4393
4393
|
import { jsx as jsx18, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
4394
|
-
var C = rawDefaults.colors;
|
|
4395
4394
|
function GroupContainerNode({ data }) {
|
|
4396
4395
|
const d = data;
|
|
4397
|
-
const borderColor = d.error ?
|
|
4396
|
+
const borderColor = d.error ? theme.error : d.active ? theme.primary : d.done ? theme.nodeVisited : theme.border;
|
|
4398
4397
|
return /* @__PURE__ */ jsxs17(
|
|
4399
4398
|
"div",
|
|
4400
4399
|
{
|
|
@@ -4404,8 +4403,9 @@ function GroupContainerNode({ data }) {
|
|
|
4404
4403
|
boxSizing: "border-box",
|
|
4405
4404
|
border: `1.5px ${d.active || d.done || d.error ? "solid" : "dashed"} ${borderColor}`,
|
|
4406
4405
|
borderRadius: 12,
|
|
4407
|
-
// Translucent so the dotted background + nested children
|
|
4408
|
-
|
|
4406
|
+
// Translucent (theme-derived) so the dotted background + nested children
|
|
4407
|
+
// read clearly, while still following dark/light.
|
|
4408
|
+
background: `color-mix(in srgb, ${theme.textMuted} 7%, transparent)`,
|
|
4409
4409
|
opacity: d.dimmed ? 0.4 : 1,
|
|
4410
4410
|
position: "relative"
|
|
4411
4411
|
},
|
|
@@ -4420,7 +4420,7 @@ function GroupContainerNode({ data }) {
|
|
|
4420
4420
|
padding: "8px 12px",
|
|
4421
4421
|
fontSize: 12,
|
|
4422
4422
|
fontWeight: 600,
|
|
4423
|
-
color:
|
|
4423
|
+
color: theme.textMuted,
|
|
4424
4424
|
letterSpacing: 0.2
|
|
4425
4425
|
},
|
|
4426
4426
|
children: [
|