@beehexa/vueflow-tokens 2611.5.5 → 2611.6.1
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/README.md +10 -6
- package/dist/styles.css +55 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -58,11 +58,15 @@ glass/gradients, or override core controls in each consumer.
|
|
|
58
58
|
Preserve graph IDs, stored coordinates and relationship direction on theme changes.
|
|
59
59
|
Exports must capture the current graph surface/font rather than force white/system fonts.
|
|
60
60
|
|
|
61
|
-
Ordinary nodes, MiniMap cards and Controls use `radius.100`
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
61
|
+
Ordinary nodes, MiniMap cards and outer Controls/dock frames use `radius.100`
|
|
62
|
+
(8px). Individual compact control Buttons and menu items retain `radius.050` (4px);
|
|
63
|
+
floating zoom-menu surfaces use `radius.overlay` (8px), independently of those items.
|
|
64
|
+
MiniMap fills clip; Controls retain exposed focus rings. Native legend popovers
|
|
65
|
+
keep `radius.100`, while the native keyboard-shortcuts Dialog uses `radius.150`
|
|
66
|
+
(12px), independently of its control Buttons. Connector logos retain nested
|
|
67
|
+
`radius.075` (6px). Decision/loop nodes and graph handles keep their circular
|
|
68
|
+
geometry; `FLOW_EDGE.radius` remains edge-path geometry. Consumer-owned inspector
|
|
69
|
+
Cards use `radius.100`; dialogs/drawers use `radius.150`.
|
|
66
70
|
|
|
67
71
|
Bind `data-bh-high-contrast="true"` on the actual `bh-vue-flow` host when the user's
|
|
68
72
|
high-contrast setting is enabled. Native node/edge/path, graph buttons and custom
|
|
@@ -86,7 +90,7 @@ Tags in the Ant Design Vue family. Category labels are not execution status.
|
|
|
86
90
|
Resting handles use the neutral icon role, not keyboard-focus color. TaskFlow-style
|
|
87
91
|
graph fullscreen uses an isolated local stacking context at `z-index.modal` (400), allowing
|
|
88
92
|
global inspectors above it. Child chrome may use private z10/z15 within that context,
|
|
89
|
-
not global1001/1002.
|
|
93
|
+
not global1001/1002. Editor takeovers use the same `z-index.modal` layer.
|
|
90
94
|
|
|
91
95
|
## Build and validation
|
|
92
96
|
|
package/dist/styles.css
CHANGED
|
@@ -215,7 +215,6 @@
|
|
|
215
215
|
--wf-node-muted: var(--bh-diagram-node-desc);
|
|
216
216
|
--wf-node-border: var(--bh-diagram-node-border);
|
|
217
217
|
--wf-node-radius: var(--bh-radius-100);
|
|
218
|
-
--wf-node-selected-border: var(--bh-diagram-node-border);
|
|
219
218
|
--wf-node-ring: var(--bh-diagram-selection-ring);
|
|
220
219
|
--wf-node-shape-shadow: none;
|
|
221
220
|
--wf-node-shape-selected: none;
|
|
@@ -239,11 +238,43 @@
|
|
|
239
238
|
--wf-label-fg: var(--bh-color-text);
|
|
240
239
|
--wf-label-border: var(--bh-color-text);
|
|
241
240
|
--wf-node-border: var(--bh-color-text);
|
|
242
|
-
--wf-node-selected-border: var(--bh-color-border-focus);
|
|
243
241
|
--wf-node-muted: var(--bh-color-text);
|
|
244
242
|
--wf-node-kind-fg: var(--bh-color-text);
|
|
245
243
|
--wf-tone-fg: var(--bh-color-text);
|
|
246
244
|
}
|
|
245
|
+
/* Execution belongs to the node outline/content; the independent outer ring
|
|
246
|
+
continues to carry selection, hover and keyboard focus. */
|
|
247
|
+
.bh-workflow-canvas .wf-node {
|
|
248
|
+
--wf-node-selected-border: var(--wf-node-border);
|
|
249
|
+
}
|
|
250
|
+
.bh-workflow-canvas .wf-node[data-execution-state='ranOk'] {
|
|
251
|
+
--wf-node-border: var(--bh-diagram-state-ran-ok);
|
|
252
|
+
--wf-node-bg: var(--bh-diagram-ran-ok-fill);
|
|
253
|
+
--wf-node-state-ink: var(--bh-diagram-state-ran-ok);
|
|
254
|
+
}
|
|
255
|
+
.bh-workflow-canvas .wf-node[data-execution-state='ranFailed'] {
|
|
256
|
+
--wf-node-border: var(--bh-diagram-fail-stroke);
|
|
257
|
+
--wf-node-bg: var(--bh-diagram-fail-fill);
|
|
258
|
+
--wf-node-fg: var(--bh-diagram-fail-title);
|
|
259
|
+
--wf-node-muted: var(--bh-diagram-fail-desc);
|
|
260
|
+
}
|
|
261
|
+
.bh-workflow-canvas .wf-node[data-execution-state='neverReached'] {
|
|
262
|
+
--wf-node-border: var(--bh-diagram-unreached-stroke);
|
|
263
|
+
--wf-node-bg: var(--bh-diagram-unreached-fill);
|
|
264
|
+
--wf-node-fg: var(--bh-diagram-unreached-title);
|
|
265
|
+
--wf-node-muted: var(--bh-diagram-unreached-desc);
|
|
266
|
+
}
|
|
267
|
+
.bh-workflow-canvas .wf-node[data-execution-state='branchNotTaken'] {
|
|
268
|
+
--wf-node-border: var(--bh-diagram-nottaken-stroke);
|
|
269
|
+
--wf-node-bg: var(--bh-diagram-nottaken-fill);
|
|
270
|
+
--wf-node-fg: var(--bh-diagram-nottaken-title);
|
|
271
|
+
--wf-node-muted: var(--bh-diagram-nottaken-desc);
|
|
272
|
+
}
|
|
273
|
+
.bh-workflow-canvas .wf-node[data-execution-state='branchNotTaken'] .wf-node__outline {
|
|
274
|
+
stroke-dasharray: 6 3;
|
|
275
|
+
}
|
|
276
|
+
.bh-workflow-canvas .wf-node__execution { color: var(--wf-node-state-ink, var(--wf-node-fg)); }
|
|
277
|
+
.bh-workflow-canvas .wf-node__body { align-items: flex-start; }
|
|
247
278
|
.bh-workflow-canvas .wf-node__badge {
|
|
248
279
|
width: var(--bh-diagram-tile-size);
|
|
249
280
|
height: var(--bh-diagram-tile-size);
|
|
@@ -256,11 +287,23 @@
|
|
|
256
287
|
padding: 0;
|
|
257
288
|
background: transparent;
|
|
258
289
|
}
|
|
290
|
+
/* The native minimum is not enough for a Source title, glyph and run marker.
|
|
291
|
+
Grow to their intrinsic width; the native maximum still wraps long titles. */
|
|
292
|
+
.bh-workflow-canvas .wf-node.wf-node--shape-stadium { width: max-content; }
|
|
259
293
|
.bh-workflow-canvas .wf-node__title {
|
|
260
294
|
white-space: normal;
|
|
261
295
|
overflow-wrap: anywhere;
|
|
296
|
+
font: var(--bh-font-heading-xsmall);
|
|
262
297
|
}
|
|
263
298
|
.bh-workflow-canvas .wf-node__head { height: auto; }
|
|
299
|
+
.bh-workflow-canvas .wf-node__subtitle {
|
|
300
|
+
font: var(--bh-font-body-default);
|
|
301
|
+
min-height: 0;
|
|
302
|
+
}
|
|
303
|
+
.bh-workflow-canvas :is(.wf-node__kind, .wf-node__caption, .wf-node__indicators) {
|
|
304
|
+
font: var(--bh-font-body-small);
|
|
305
|
+
}
|
|
306
|
+
.bh-workflow-canvas .wf-node__foot { height: auto; }
|
|
264
307
|
.bh-workflow-canvas .wf-node__logos { padding-block-start: var(--bh-space-050); }
|
|
265
308
|
/* Native node image geometry has no independent aspect-ratio input. */
|
|
266
309
|
.bh-workflow-canvas .wf-node__logos > img {
|
|
@@ -288,6 +331,16 @@
|
|
|
288
331
|
padding-left: var(--bh-space-050);
|
|
289
332
|
border-left-width: var(--bh-border-width-default);
|
|
290
333
|
}
|
|
334
|
+
/* Floating menu surfaces use the overlay role, independently of compact controls. */
|
|
335
|
+
.bh-workflow-canvas .wf-dock__menu {
|
|
336
|
+
border-radius: var(--bh-radius-overlay);
|
|
337
|
+
}
|
|
338
|
+
.bh-workflow-canvas :is(.vue-flow__minimap, .wf-legend__box) {
|
|
339
|
+
border-radius: var(--bh-radius-100);
|
|
340
|
+
}
|
|
341
|
+
.bh-workflow-canvas .wf-shortcuts__dialog {
|
|
342
|
+
border-radius: var(--bh-radius-150);
|
|
343
|
+
}
|
|
291
344
|
.bh-workflow-canvas .wf-dock__btn {
|
|
292
345
|
gap: var(--bh-space-050);
|
|
293
346
|
padding-inline: var(--bh-space-075);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@beehexa/vueflow-tokens",
|
|
3
|
-
"version": "2611.
|
|
3
|
+
"version": "2611.6.1",
|
|
4
4
|
"description": "Source-backed Beehexa theme, semantic categories and geometry for VueFlow 1",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"./package.json": "./package.json"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@beehexa/design-tokens": "2611.
|
|
32
|
+
"@beehexa/design-tokens": "2611.6.1"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"@vue-flow/core": "^1.0.0",
|