@pipelex/mthds-ui 0.8.0 → 0.10.0

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.
@@ -2,16 +2,31 @@
2
2
  /* Token-only styling: theme switching happens by swapping `--surface-*`, */
3
3
  /* `--text-*`, `--border-*`, and `--color-accent` values on the container. */
4
4
 
5
+ /* The ReactFlow <Panel> owns positioning now (anchor + margin). It sits above
6
+ the graph but the old code used z-index 11, so keep parity. */
7
+ .graph-toolbar-panel {
8
+ z-index: 11;
9
+ }
10
+
5
11
  .graph-toolbar {
6
- position: absolute;
7
- top: 8px;
8
12
  display: flex;
9
13
  align-items: center;
10
14
  gap: 4px;
11
- z-index: 11;
12
15
  pointer-events: auto;
13
16
  }
14
17
 
18
+ /* Vertical bar — `center-left` / `center-right` anchors. Stack the buttons in a
19
+ column and rotate the separators so they divide rows instead of columns. */
20
+ .graph-toolbar--vertical {
21
+ flex-direction: column;
22
+ }
23
+
24
+ .graph-toolbar--vertical .graph-toolbar-separator {
25
+ width: 18px;
26
+ height: 1px;
27
+ margin: 2px 0;
28
+ }
29
+
15
30
  .graph-toolbar-btn {
16
31
  all: unset;
17
32
  box-sizing: border-box;
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { A as ARROW_CLOSED_MARKER, r as CONTROLLER_PADDING_BOTTOM, s as CONTROLLER_PADDING_TOP, t as CONTROLLER_PADDING_X, C as ConceptInfo, D as DataflowAnalysis, E as EDGE_TYPE, u as EdgeType, v as FOLD_MODE, w as FieldResolution, F as FoldMode, h as FoldToggleOptions, x as GRAPH_DIRECTION, y as GRAPH_THEME, d as GraphConfig, o as GraphData, e as GraphDirection, a as GraphEdge, b as GraphNode, G as GraphNodeData, c as GraphSpec, z as GraphSpecEdge, B as GraphSpecEdgeKind, j as GraphSpecNode, H as GraphSpecNodeError, I as GraphSpecNodeIo, k as GraphSpecNodeIoItem, J as GraphSpecNodeTiming, f as GraphTheme, K as KNOWN_PIPE_TYPES, L as LabelDescriptor, q as LayoutConfig, N as NODE_TYPE_CONTROLLER, M as NODE_TYPE_PIPE_CARD, O as NODE_TYPE_STUFF, Q as NodeKind, R as PipeBatchBlueprint, S as PipeBlueprintBase, n as PipeBlueprintUnion, m as PipeCallNode, p as PipeCardPayload, T as PipeComposeBlueprint, U as PipeComposeConstructBlueprint, V as PipeComposeConstructField, W as PipeConditionBlueprint, g as PipeControllerType, X as PipeExtractBlueprint, Y as PipeFuncBlueprint, Z as PipeImgGenBlueprint, _ as PipeLLMBlueprint, l as PipeOperatorType, $ as PipeParallelBlueprint, a0 as PipeSearchBlueprint, a1 as PipeSequenceBlueprint, a2 as PipeSignatureBlueprint, P as PipeStatus, i as PipeType, a3 as STUFF_ID_PREFIX, a4 as StuffRole, a5 as StuffSpecInfo, a6 as SubPipeSpec, a7 as TemplateBlueprint, a8 as isStuffNodeId, a9 as nodeHeight, aa as nodeWidth, ab as stuffDigestFromId, ac as stuffNodeId } from './types-D7NALhbw.js';
1
+ export { A as ARROW_CLOSED_MARKER, s as CONTROLLER_PADDING_BOTTOM, t as CONTROLLER_PADDING_TOP, u as CONTROLLER_PADDING_X, C as ConceptInfo, D as DataflowAnalysis, E as EDGE_TYPE, v as EdgeType, w as FOLD_MODE, x as FieldResolution, F as FoldMode, i as FoldToggleOptions, y as GRAPH_DIRECTION, z as GRAPH_THEME, B as GRAPH_THEME_MODE, d as GraphConfig, p as GraphData, e as GraphDirection, a as GraphEdge, b as GraphNode, G as GraphNodeData, c as GraphSpec, H as GraphSpecEdge, I as GraphSpecEdgeKind, k as GraphSpecNode, J as GraphSpecNodeError, K as GraphSpecNodeIo, l as GraphSpecNodeIoItem, M as GraphSpecNodeTiming, g as GraphTheme, f as GraphThemeMode, N as KNOWN_PIPE_TYPES, L as LabelDescriptor, r as LayoutConfig, O as NODE_TYPE_CONTROLLER, Q as NODE_TYPE_PIPE_CARD, R as NODE_TYPE_STUFF, S as NodeKind, U as PipeBatchBlueprint, V as PipeBlueprintBase, o as PipeBlueprintUnion, n as PipeCallNode, q as PipeCardPayload, W as PipeComposeBlueprint, X as PipeComposeConstructBlueprint, Y as PipeComposeConstructField, Z as PipeConditionBlueprint, h as PipeControllerType, _ as PipeExtractBlueprint, $ as PipeFuncBlueprint, a0 as PipeImgGenBlueprint, a1 as PipeLLMBlueprint, m as PipeOperatorType, a2 as PipeParallelBlueprint, a3 as PipeSearchBlueprint, a4 as PipeSequenceBlueprint, a5 as PipeSignatureBlueprint, P as PipeStatus, j as PipeType, a6 as STUFF_ID_PREFIX, a7 as StuffRole, a8 as StuffSpecInfo, a9 as SubPipeSpec, aa as TOOLBAR_POSITION, ab as TemplateBlueprint, ac as ToolbarOrientation, T as ToolbarPosition, ad as ToolbarSide, ae as isStuffNodeId, af as nodeHeight, ag as nodeWidth, ah as stuffDigestFromId, ai as stuffNodeId, aj as toolbarOrientation, ak as toolbarSide } from './types-CEDZIAmh.js';
2
2
  export { ControllerRect, DARK_PALETTE_COLORS, DEFAULT_GRAPH_CONFIG, ElkPositionResult, GraphSpecValidationError, LIGHT_PALETTE_COLORS, LayoutResult, MAX_VISIBLE_CONTROLLER_CHILDREN, applyControllers, applyFolds, asPipeCallNode, buildChildToControllerMap, buildContainmentChain, buildControllerNodes, buildDataflowAnalysis, buildDataflowGraph, buildElkGraph, buildGraph, buildPipeCardPayload, estimateNodeDimensions, extractAbsolutePositions, findCousinControllers, getConceptInfo, getLayoutedElements, getPaletteColors, getPaletteForTheme, getPipeBlueprint, inputPortId, outermostFoldedAncestor, outputPortId, resolveConceptRef, validateGraphSpec } from './graph/index.js';
3
3
  import 'elkjs/lib/elk-api';
package/dist/index.js CHANGED
@@ -10,6 +10,7 @@ import {
10
10
  FOLD_MODE,
11
11
  GRAPH_DIRECTION,
12
12
  GRAPH_THEME,
13
+ GRAPH_THEME_MODE,
13
14
  GraphSpecValidationError,
14
15
  KNOWN_PIPE_TYPES,
15
16
  LIGHT_PALETTE_COLORS,
@@ -18,6 +19,7 @@ import {
18
19
  NODE_TYPE_PIPE_CARD,
19
20
  NODE_TYPE_STUFF,
20
21
  STUFF_ID_PREFIX,
22
+ TOOLBAR_POSITION,
21
23
  applyControllers,
22
24
  applyFolds,
23
25
  asPipeCallNode,
@@ -46,8 +48,10 @@ import {
46
48
  resolveConceptRef,
47
49
  stuffDigestFromId,
48
50
  stuffNodeId,
51
+ toolbarOrientation,
52
+ toolbarSide,
49
53
  validateGraphSpec
50
- } from "./chunk-7VQUZ35P.js";
54
+ } from "./chunk-D2ID5Z3Y.js";
51
55
  import "./chunk-2NMEKWO5.js";
52
56
  export {
53
57
  ARROW_CLOSED_MARKER,
@@ -60,6 +64,7 @@ export {
60
64
  FOLD_MODE,
61
65
  GRAPH_DIRECTION,
62
66
  GRAPH_THEME,
67
+ GRAPH_THEME_MODE,
63
68
  GraphSpecValidationError,
64
69
  KNOWN_PIPE_TYPES,
65
70
  LIGHT_PALETTE_COLORS,
@@ -68,6 +73,7 @@ export {
68
73
  NODE_TYPE_PIPE_CARD,
69
74
  NODE_TYPE_STUFF,
70
75
  STUFF_ID_PREFIX,
76
+ TOOLBAR_POSITION,
71
77
  applyControllers,
72
78
  applyFolds,
73
79
  asPipeCallNode,
@@ -96,6 +102,8 @@ export {
96
102
  resolveConceptRef,
97
103
  stuffDigestFromId,
98
104
  stuffNodeId,
105
+ toolbarOrientation,
106
+ toolbarSide,
99
107
  validateGraphSpec
100
108
  };
101
109
  //# sourceMappingURL=index.js.map