@pipelex/mthds-ui 0.30.1 → 0.32.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.
@@ -127,15 +127,14 @@
127
127
  margin-left: 0;
128
128
  }
129
129
 
130
+ /* Its size, line height and line count are set inline, from the fit the */
131
+ /* projection chose for it (`SIMPLE_STEP_TITLE_FITS`). */
130
132
  .simple-step-title {
131
- font-size: 15px;
132
133
  font-weight: 500;
133
- line-height: 20px;
134
134
  color: var(--text-primary);
135
135
  overflow: hidden;
136
136
  overflow-wrap: anywhere;
137
137
  display: -webkit-box;
138
- -webkit-line-clamp: 3;
139
138
  -webkit-box-orient: vertical;
140
139
  }
141
140
  .simple-step--template .simple-step-title,
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { A as ARROW_CLOSED_MARKER, B as BINDING_STEP_TYPE, y as BindingNode, z as BindingStepSpec, H as BindingStepType, I as CONTROLLER_PADDING_BOTTOM, J as CONTROLLER_PADDING_TOP, K as CONTROLLER_PADDING_X, s as CardNode, C as ConceptInfo, D as DataflowAnalysis, M as EDGE_TYPE, O as EDGE_TYPE_ROUTED, E as EdgeRoute, Q as EdgeType, R as FOLD_MODE, U as FieldResolution, F as FoldMode, n as FoldToggleOptions, W as GRAPH_DIRECTION, X as GRAPH_SPEC_MODE, Y as GRAPH_STYLE, Z as GRAPH_THEME, _ as GRAPH_THEME_MODE, f as GraphConfig, u as GraphData, g as GraphDirection, d as GraphEdge, e as GraphNode, c as GraphNodeData, x as GraphPoint, b as GraphSpec, $ as GraphSpecEdge, a0 as GraphSpecEdgeKind, a1 as GraphSpecMeta, p as GraphSpecMode, a2 as GraphSpecModelUsage, q as GraphSpecNode, a3 as GraphSpecNodeError, a4 as GraphSpecNodeIo, k as GraphSpecNodeIoItem, a5 as GraphSpecNodeTiming, a6 as GraphSpecNodeUsage, a7 as GraphSpecUsage, i as GraphStyleId, G as GraphTheme, h as GraphThemeMode, a8 as JudgmentQuestionSpec, a9 as KNOWN_PIPE_TYPES, L as LabelDescriptor, w as LayoutConfig, aa as NODE_TYPE_CONTROLLER, ab as NODE_TYPE_PIPE_CARD, ac as NODE_TYPE_SIMPLE_DECISION, ad as NODE_TYPE_SIMPLE_FRAME, ae as NODE_TYPE_SIMPLE_STEP, af as NODE_TYPE_SIMPLE_TERMINAL, ag as NODE_TYPE_STUFF, ah as NodeKind, o as NodePipeType, N as NodeValidationSummary, ai as PipeBatchBlueprint, aj as PipeBlueprintBase, P as PipeBlueprintUnion, t as PipeCallNode, v as PipeCardPayload, ak as PipeComposeBlueprint, al as PipeComposeConstructBlueprint, am as PipeComposeConstructField, an as PipeConditionBlueprint, m as PipeControllerType, ao as PipeDocGenBlueprint, ap as PipeExtractBlueprint, aq as PipeFuncBlueprint, ar as PipeImgGenBlueprint, as as PipeJudgeBlueprint, at as PipeLLMBlueprint, r as PipeOperatorType, au as PipeParallelBlueprint, av as PipeSearchBlueprint, aw as PipeSequenceBlueprint, ax as PipeSignatureBlueprint, j as PipeStatus, ay as PipeStructureBlueprint, az as PipeType, a as PresenceMarker, aA as STEP_CATEGORY, aB as STUFF_ID_PREFIX, aC as SequenceStepSpec, aD as SimpleNodePayload, S as StepCategory, aE as StuffMultiplicity, aF as StuffRegistryEntry, aG as StuffRole, aH as StuffSpecInfo, aI as SubPipeSpec, aJ as TOOLBAR_POSITION, aK as TemplateBlueprint, aL as ToolbarOrientation, T as ToolbarPosition, aM as ToolbarSide, aN as VALIDATION_STATE, V as ValidationIssue, l as ValidationState, aO as graphSpecMode, aP as isBindingNode, aQ as isBindingStepSpec, aR as isDryGraphSpec, aS as isPluralMultiplicity, aT as isStaticGraphSpec, aU as isStuffNodeId, aV as multiplicitySuffix, aW as nodeHeight, aX as nodeWidth, aY as stuffDigestFromId, aZ as stuffNodeId, a_ as toolbarOrientation, a$ as toolbarSide } from './types-BNqjYF_x.js';
2
- export { ControllerRect, DARK_PALETTE_COLORS, DEFAULT_GRAPH_CONFIG, ElkPositionResult, GRAPH_STYLES, GRAPH_STYLE_IDS, GRAPH_STYLE_PIPELINES, GraphSpecValidationError, GraphStyleCapabilities, GraphStyleDescriptor, GraphStylePipeline, LIGHT_PALETTE_COLORS, LayoutResult, MAX_VISIBLE_CONTROLLER_CHILDREN, ROUTE_CORNER_RADIUS_PX, ROUTE_ENDPOINT_TOLERANCE_PX, SIMPLE_DECISION_WIDTHS, SIMPLE_FOLD_DEPTH, SIMPLE_STEP_TITLE_FONT_PX, SIMPLE_STEP_WIDE_WIDTH, SIMPLE_STEP_WIDTH, SIMPLE_TERMINAL_WIDTH, SIMPLE_TITLE_MAX_LINES, STEP_CATEGORY_BY_PIPE_TYPE, STEP_CATEGORY_WORDS, SimpleProjection, SimpleProjectionInput, StuffLocation, StyleFrameArgs, StyleProjection, StyleProjectionArgs, WrapEstimate, aggregateStatus, applyControllers, applyFolds, applySimpleFrames, applyValidationDecorations, asCardNode, asPipeCallNode, buildChildToControllerMap, buildContainmentChain, buildControllerNodes, buildDataflowAnalysis, buildDataflowGraph, buildElkGraph, buildGraph, buildPipeCardPayload, buildValidationDecorations, conceptPlainName, estimateNodeDimensions, estimateWrap, extractAbsolutePositions, extractEdgeRoutes, findCousinControllers, findStuffByDigest, fitRoute, getConceptInfo, getLayoutedElements, getPaletteColors, getPaletteForTheme, getPipeBlueprint, humanizeIdentifier, inputPortId, isGenericConcept, isGraphStyleId, outcomeLabel, outermostFoldedAncestor, outputPortId, pipeRefOf, polylineMidpoint, projectSimpleGraph, resolveConceptRef, resolveGraphStyle, resolveIssueTargetNodeId, resolveStyleMenu, roundedPolylinePath, routeLabelCenter, sentenceCase, simpleDecisionSize, simpleDefaultFolds, simpleEdgeLabelSize, simpleStepSize, simpleTerminalSize, simpleTitleWrap, sortParentsFirst, stripDomain, textWidthPx, validateGraphSpec } from './graph/index.js';
1
+ export { A as ARROW_CLOSED_MARKER, B as BINDING_STEP_TYPE, z as BindingNode, H as BindingStepSpec, I as BindingStepType, J as CONTROLLER_PADDING_BOTTOM, K as CONTROLLER_PADDING_TOP, M as CONTROLLER_PADDING_X, r as CardNode, C as ConceptInfo, D as DataflowAnalysis, O as EDGE_TYPE, Q as EDGE_TYPE_ROUTED, E as EdgeRoute, R as EdgeType, U as FOLD_MODE, W as FieldResolution, F as FoldMode, n as FoldToggleOptions, X as GRAPH_DIRECTION, Y as GRAPH_SPEC_MODE, Z as GRAPH_STYLE, _ as GRAPH_THEME, $ as GRAPH_THEME_MODE, f as GraphConfig, t as GraphData, g as GraphDirection, d as GraphEdge, e as GraphNode, c as GraphNodeData, w as GraphPoint, b as GraphSpec, a0 as GraphSpecEdge, a1 as GraphSpecEdgeKind, a2 as GraphSpecMeta, u as GraphSpecMode, a3 as GraphSpecModelUsage, p as GraphSpecNode, a4 as GraphSpecNodeError, a5 as GraphSpecNodeIo, k as GraphSpecNodeIoItem, a6 as GraphSpecNodeTiming, a7 as GraphSpecNodeUsage, a8 as GraphSpecUsage, i as GraphStyleId, G as GraphTheme, h as GraphThemeMode, a9 as JudgmentQuestionSpec, aa as KNOWN_PIPE_TYPES, L as LabelDescriptor, v as LayoutConfig, ab as NODE_TYPE_CONTROLLER, ac as NODE_TYPE_PIPE_CARD, ad as NODE_TYPE_SIMPLE_DECISION, ae as NODE_TYPE_SIMPLE_FRAME, af as NODE_TYPE_SIMPLE_STEP, ag as NODE_TYPE_SIMPLE_TERMINAL, ah as NODE_TYPE_STUFF, ai as NodeKind, x as NodePipeType, N as NodeValidationSummary, aj as PipeBatchBlueprint, ak as PipeBlueprintBase, P as PipeBlueprintUnion, s as PipeCallNode, o as PipeCardPayload, al as PipeComposeBlueprint, am as PipeComposeConstructBlueprint, an as PipeComposeConstructField, ao as PipeConditionBlueprint, m as PipeControllerType, ap as PipeDocGenBlueprint, aq as PipeExtractBlueprint, ar as PipeFuncBlueprint, as as PipeImgGenBlueprint, at as PipeJudgeBlueprint, au as PipeLLMBlueprint, q as PipeOperatorType, av as PipeParallelBlueprint, aw as PipeSearchBlueprint, ax as PipeSequenceBlueprint, ay as PipeSignatureBlueprint, j as PipeStatus, az as PipeStructureBlueprint, aA as PipeType, a as PresenceMarker, aB as STEP_CATEGORY, aC as STUFF_ID_PREFIX, aD as SequenceStepSpec, aE as SimpleNodePayload, S as SimpleTitleFit, y as StepCategory, aF as StuffMultiplicity, aG as StuffRegistryEntry, aH as StuffRole, aI as StuffSpecInfo, aJ as SubPipeSpec, aK as TOOLBAR_POSITION, aL as TemplateBlueprint, aM as ToolbarOrientation, T as ToolbarPosition, aN as ToolbarSide, aO as VALIDATION_STATE, V as ValidationIssue, l as ValidationState, aP as graphSpecMode, aQ as isBindingNode, aR as isBindingStepSpec, aS as isDryGraphSpec, aT as isPluralMultiplicity, aU as isStaticGraphSpec, aV as isStuffNodeId, aW as multiplicitySuffix, aX as nodeHeight, aY as nodeWidth, aZ as stuffDigestFromId, a_ as stuffNodeId, a$ as toolbarOrientation, b0 as toolbarSide } from './types-MvxsDLCo.js';
2
+ export { ControllerRect, DARK_PALETTE_COLORS, DEFAULT_GRAPH_CONFIG, ElkPositionResult, GRAPH_STYLES, GRAPH_STYLE_IDS, GRAPH_STYLE_PIPELINES, GraphSpecValidationError, GraphStyleCapabilities, GraphStyleDescriptor, GraphStylePipeline, LIGHT_PALETTE_COLORS, LayoutResult, MAX_VISIBLE_CONTROLLER_CHILDREN, ROUTE_CORNER_RADIUS_PX, ROUTE_ENDPOINT_TOLERANCE_PX, SIMPLE_DECISION_WIDTHS, SIMPLE_FOLD_DEPTH, SIMPLE_STEP_TITLE_FITS, SIMPLE_STEP_WIDE_WIDTH, SIMPLE_STEP_WIDTH, SIMPLE_TERMINAL_WIDTH, STEP_CATEGORY_BY_PIPE_TYPE, STEP_CATEGORY_WORDS, SimpleProjection, SimpleProjectionInput, StuffLocation, StyleFrameArgs, StyleProjection, StyleProjectionArgs, WrapEstimate, aggregateStatus, applyControllers, applyFolds, applySimpleFrames, applyValidationDecorations, asCardNode, asPipeCallNode, buildChildToControllerMap, buildContainmentChain, buildControllerNodes, buildDataflowAnalysis, buildDataflowGraph, buildElkGraph, buildGraph, buildPipeCardPayload, buildValidationDecorations, conceptPlainName, estimateNodeDimensions, estimateWrap, extractAbsolutePositions, extractEdgeRoutes, findCousinControllers, findStuffByDigest, fitRoute, getConceptInfo, getLayoutedElements, getPaletteColors, getPaletteForTheme, getPipeBlueprint, humanizeIdentifier, inputPortId, isGenericConcept, isGraphStyleId, outcomeLabel, outermostFoldedAncestor, outputPortId, pipeRefOf, polylineMidpoint, projectSimpleGraph, resolveConceptRef, resolveGraphStyle, resolveIssueTargetNodeId, resolveNodeBlueprint, resolveStyleMenu, roundedPolylinePath, routeLabelCenter, sentenceCase, simpleDecisionSize, simpleDefaultFolds, simpleEdgeLabelSize, simpleStepSize, simpleTerminalSize, simpleTitleFit, simpleTitleWrap, sortParentsFirst, stripDomain, textWidthPx, validateGraphSpec } from './graph/index.js';
3
3
  export { P as ParsedPipeRef, m as makePipeRef, p as parsePipeRef } from './pipeRefs-BQJO5nh5.js';
4
4
  import 'elkjs/lib/elk-api';
package/dist/index.js CHANGED
@@ -9,11 +9,10 @@ import {
9
9
  ROUTE_ENDPOINT_TOLERANCE_PX,
10
10
  SIMPLE_DECISION_WIDTHS,
11
11
  SIMPLE_FOLD_DEPTH,
12
- SIMPLE_STEP_TITLE_FONT_PX,
12
+ SIMPLE_STEP_TITLE_FITS,
13
13
  SIMPLE_STEP_WIDE_WIDTH,
14
14
  SIMPLE_STEP_WIDTH,
15
15
  SIMPLE_TERMINAL_WIDTH,
16
- SIMPLE_TITLE_MAX_LINES,
17
16
  STEP_CATEGORY_BY_PIPE_TYPE,
18
17
  STEP_CATEGORY_WORDS,
19
18
  aggregateStatus,
@@ -56,6 +55,7 @@ import {
56
55
  resolveConceptRef,
57
56
  resolveGraphStyle,
58
57
  resolveIssueTargetNodeId,
58
+ resolveNodeBlueprint,
59
59
  resolveStyleMenu,
60
60
  roundedPolylinePath,
61
61
  routeLabelCenter,
@@ -65,12 +65,13 @@ import {
65
65
  simpleEdgeLabelSize,
66
66
  simpleStepSize,
67
67
  simpleTerminalSize,
68
+ simpleTitleFit,
68
69
  simpleTitleWrap,
69
70
  sortParentsFirst,
70
71
  stripDomain,
71
72
  textWidthPx,
72
73
  validateGraphSpec
73
- } from "./chunk-3BXB6HSF.js";
74
+ } from "./chunk-T5Y7KNCZ.js";
74
75
  import {
75
76
  makePipeRef,
76
77
  parsePipeRef
@@ -81,7 +82,7 @@ import {
81
82
  LIGHT_PALETTE_COLORS,
82
83
  getPaletteColors,
83
84
  getPaletteForTheme
84
- } from "./chunk-GAOBB3UT.js";
85
+ } from "./chunk-K2C5FU4W.js";
85
86
  import {
86
87
  ARROW_CLOSED_MARKER,
87
88
  BINDING_STEP_TYPE,
@@ -122,7 +123,7 @@ import {
122
123
  stuffNodeId,
123
124
  toolbarOrientation,
124
125
  toolbarSide
125
- } from "./chunk-PJTYQURQ.js";
126
+ } from "./chunk-TMZ2JR2J.js";
126
127
  import "./chunk-2NMEKWO5.js";
127
128
  export {
128
129
  ARROW_CLOSED_MARKER,
@@ -158,11 +159,10 @@ export {
158
159
  ROUTE_ENDPOINT_TOLERANCE_PX,
159
160
  SIMPLE_DECISION_WIDTHS,
160
161
  SIMPLE_FOLD_DEPTH,
161
- SIMPLE_STEP_TITLE_FONT_PX,
162
+ SIMPLE_STEP_TITLE_FITS,
162
163
  SIMPLE_STEP_WIDE_WIDTH,
163
164
  SIMPLE_STEP_WIDTH,
164
165
  SIMPLE_TERMINAL_WIDTH,
165
- SIMPLE_TITLE_MAX_LINES,
166
166
  STEP_CATEGORY,
167
167
  STEP_CATEGORY_BY_PIPE_TYPE,
168
168
  STEP_CATEGORY_WORDS,
@@ -223,6 +223,7 @@ export {
223
223
  resolveConceptRef,
224
224
  resolveGraphStyle,
225
225
  resolveIssueTargetNodeId,
226
+ resolveNodeBlueprint,
226
227
  resolveStyleMenu,
227
228
  roundedPolylinePath,
228
229
  routeLabelCenter,
@@ -232,6 +233,7 @@ export {
232
233
  simpleEdgeLabelSize,
233
234
  simpleStepSize,
234
235
  simpleTerminalSize,
236
+ simpleTitleFit,
235
237
  simpleTitleWrap,
236
238
  sortParentsFirst,
237
239
  stripDomain,