@sentropic/design-system-svelte 0.41.3 → 0.41.5

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.
@@ -197,21 +197,21 @@
197
197
  is exactly layout.bodyWidth wide at layout.bodyX — −2 px / 436 px for
198
198
  leaf bodies (bodyInsetFromBar 14 vs headerInset 16), 16 px / 396 px
199
199
  for the centred collapsed-subtitle measure (§6.2.1: the subtitle is
200
- centred at 32 + 396/2 = 230, not over the wider content box). */
200
+ centred at 32 + 396/2 = 230, not over the wider content box).
201
+ Owner card-body-centring: the body block is centred horizontally
202
+ and vertically inside the remaining body box on every card — the
203
+ block grows into the spare space (flex: 1) and its lines centre
204
+ within it, mirroring the layoutCard bodyBlockTop/bodyLineX
205
+ geometry the SVG renderer paints. */
201
206
  min-width: 0;
202
- flex: 0 0 auto;
203
- font-size: var(--st-component-diagramCard-bodyFontSize, 24px);
204
- font-weight: var(--st-component-diagramCard-bodyFontWeight, 400);
205
- line-height: var(--st-component-diagramCard-bodyLineHeight, 1.3);
206
- }
207
- .st-diagramCard--subtitle .st-diagramCard-body {
208
- /* §6.2.1: the collapsed-zone subtitle block is centred horizontally
209
- and vertically inside the card body area. */
210
207
  flex: 1 1 auto;
211
208
  display: flex;
212
209
  flex-direction: column;
213
210
  justify-content: center;
214
211
  text-align: center;
212
+ font-size: var(--st-component-diagramCard-bodyFontSize, 24px);
213
+ font-weight: var(--st-component-diagramCard-bodyFontWeight, 400);
214
+ line-height: var(--st-component-diagramCard-bodyLineHeight, 1.3);
215
215
  }
216
216
  .st-diagramCard-line,
217
217
  .st-diagramCard-detail {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentropic/design-system-svelte",
3
- "version": "0.41.3",
3
+ "version": "0.41.5",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -65,7 +65,7 @@
65
65
  "@lucide/svelte": "^0.562.0",
66
66
  "@sentropic/design-system-rich-text": "0.1.1",
67
67
  "@sentropic/design-system-themes": "0.14.0",
68
- "@sentropic/diagram-canvas": "0.2.3",
68
+ "@sentropic/diagram-canvas": "0.2.5",
69
69
  "@sentropic/graph": "0.3.1"
70
70
  },
71
71
  "peerDependencies": {