@pipelex/mthds-ui 0.9.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, 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, T as PipeBatchBlueprint, U as PipeBlueprintBase, o as PipeBlueprintUnion, n as PipeCallNode, q as PipeCardPayload, V as PipeComposeBlueprint, W as PipeComposeConstructBlueprint, X as PipeComposeConstructField, Y as PipeConditionBlueprint, h as PipeControllerType, Z as PipeExtractBlueprint, _ as PipeFuncBlueprint, $ as PipeImgGenBlueprint, a0 as PipeLLMBlueprint, m as PipeOperatorType, a1 as PipeParallelBlueprint, a2 as PipeSearchBlueprint, a3 as PipeSequenceBlueprint, a4 as PipeSignatureBlueprint, P as PipeStatus, j as PipeType, a5 as STUFF_ID_PREFIX, a6 as StuffRole, a7 as StuffSpecInfo, a8 as SubPipeSpec, a9 as TemplateBlueprint, aa as isStuffNodeId, ab as nodeHeight, ac as nodeWidth, ad as stuffDigestFromId, ae as stuffNodeId } from './types-uGRs3n4k.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
@@ -19,6 +19,7 @@ import {
19
19
  NODE_TYPE_PIPE_CARD,
20
20
  NODE_TYPE_STUFF,
21
21
  STUFF_ID_PREFIX,
22
+ TOOLBAR_POSITION,
22
23
  applyControllers,
23
24
  applyFolds,
24
25
  asPipeCallNode,
@@ -47,8 +48,10 @@ import {
47
48
  resolveConceptRef,
48
49
  stuffDigestFromId,
49
50
  stuffNodeId,
51
+ toolbarOrientation,
52
+ toolbarSide,
50
53
  validateGraphSpec
51
- } from "./chunk-WNSV4E7G.js";
54
+ } from "./chunk-D2ID5Z3Y.js";
52
55
  import "./chunk-2NMEKWO5.js";
53
56
  export {
54
57
  ARROW_CLOSED_MARKER,
@@ -70,6 +73,7 @@ export {
70
73
  NODE_TYPE_PIPE_CARD,
71
74
  NODE_TYPE_STUFF,
72
75
  STUFF_ID_PREFIX,
76
+ TOOLBAR_POSITION,
73
77
  applyControllers,
74
78
  applyFolds,
75
79
  asPipeCallNode,
@@ -98,6 +102,8 @@ export {
98
102
  resolveConceptRef,
99
103
  stuffDigestFromId,
100
104
  stuffNodeId,
105
+ toolbarOrientation,
106
+ toolbarSide,
101
107
  validateGraphSpec
102
108
  };
103
109
  //# sourceMappingURL=index.js.map