@pipelex/mthds-ui 0.30.1 → 0.31.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, s 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, u as GraphData, g as GraphDirection, d as GraphEdge, e as GraphNode, c as GraphNodeData, x as GraphPoint, b as GraphSpec, a0 as GraphSpecEdge, a1 as GraphSpecEdgeKind, a2 as GraphSpecMeta, p as GraphSpecMode, a3 as GraphSpecModelUsage, q 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, w 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, o as NodePipeType, N as NodeValidationSummary, aj as PipeBatchBlueprint, ak as PipeBlueprintBase, P as PipeBlueprintUnion, t as PipeCallNode, v 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, r 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-KYRgLdlh.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, 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,
@@ -65,12 +64,13 @@ import {
65
64
  simpleEdgeLabelSize,
66
65
  simpleStepSize,
67
66
  simpleTerminalSize,
67
+ simpleTitleFit,
68
68
  simpleTitleWrap,
69
69
  sortParentsFirst,
70
70
  stripDomain,
71
71
  textWidthPx,
72
72
  validateGraphSpec
73
- } from "./chunk-3BXB6HSF.js";
73
+ } from "./chunk-BXRVND2C.js";
74
74
  import {
75
75
  makePipeRef,
76
76
  parsePipeRef
@@ -81,7 +81,7 @@ import {
81
81
  LIGHT_PALETTE_COLORS,
82
82
  getPaletteColors,
83
83
  getPaletteForTheme
84
- } from "./chunk-GAOBB3UT.js";
84
+ } from "./chunk-7H3RHOYA.js";
85
85
  import {
86
86
  ARROW_CLOSED_MARKER,
87
87
  BINDING_STEP_TYPE,
@@ -122,7 +122,7 @@ import {
122
122
  stuffNodeId,
123
123
  toolbarOrientation,
124
124
  toolbarSide
125
- } from "./chunk-PJTYQURQ.js";
125
+ } from "./chunk-QRO3TYZE.js";
126
126
  import "./chunk-2NMEKWO5.js";
127
127
  export {
128
128
  ARROW_CLOSED_MARKER,
@@ -158,11 +158,10 @@ export {
158
158
  ROUTE_ENDPOINT_TOLERANCE_PX,
159
159
  SIMPLE_DECISION_WIDTHS,
160
160
  SIMPLE_FOLD_DEPTH,
161
- SIMPLE_STEP_TITLE_FONT_PX,
161
+ SIMPLE_STEP_TITLE_FITS,
162
162
  SIMPLE_STEP_WIDE_WIDTH,
163
163
  SIMPLE_STEP_WIDTH,
164
164
  SIMPLE_TERMINAL_WIDTH,
165
- SIMPLE_TITLE_MAX_LINES,
166
165
  STEP_CATEGORY,
167
166
  STEP_CATEGORY_BY_PIPE_TYPE,
168
167
  STEP_CATEGORY_WORDS,
@@ -232,6 +231,7 @@ export {
232
231
  simpleEdgeLabelSize,
233
232
  simpleStepSize,
234
233
  simpleTerminalSize,
234
+ simpleTitleFit,
235
235
  simpleTitleWrap,
236
236
  sortParentsFirst,
237
237
  stripDomain,