@almadar/core 10.45.0 → 10.46.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.
@@ -3,7 +3,7 @@ import { z } from 'zod';
3
3
  // src/patterns/patterns-registry.json
4
4
  var patterns_registry_default = {
5
5
  version: "1.0.0",
6
- exportedAt: "2026-07-30T11:18:57.838Z",
6
+ exportedAt: "2026-07-31T03:04:39.259Z",
7
7
  patterns: {
8
8
  "entity-table": {
9
9
  type: "entity-table",
@@ -35178,6 +35178,12 @@ var patterns_registry_default = {
35178
35178
  "string"
35179
35179
  ],
35180
35180
  description: "Solid backdrop colour (drawn when no `backgroundImage`)."
35181
+ },
35182
+ children: {
35183
+ types: [
35184
+ "node"
35185
+ ],
35186
+ description: "Declarative JSX drawable children (`<DrawShape .../>` composed in paint order). When `drawables` is empty, each child registers its descriptor via the drawable registry context and the host paints them."
35181
35187
  }
35182
35188
  },
35183
35189
  drawable: true,
@@ -39332,7 +39338,7 @@ var patterns_registry_default = {
39332
39338
  types: [
39333
39339
  "number"
39334
39340
  ],
39335
- description: "Fine nudge from the anchor point in world units."
39341
+ description: "Fine nudge in world units \u2014 applies to every shape kind except `cell` (rect/ellipse from their anchor point; poly/path from the projected top-left)."
39336
39342
  },
39337
39343
  offsetY: {
39338
39344
  types: [
@@ -39363,6 +39369,57 @@ var patterns_registry_default = {
39363
39369
  ],
39364
39370
  description: "fill prop"
39365
39371
  },
39372
+ gradient: {
39373
+ types: [
39374
+ "object"
39375
+ ],
39376
+ description: "Gradient fill in world units; overrides `fill` when present.",
39377
+ properties: {
39378
+ kind: {
39379
+ types: [
39380
+ "string"
39381
+ ],
39382
+ enumValues: [
39383
+ "linear",
39384
+ "radial"
39385
+ ]
39386
+ },
39387
+ from: {
39388
+ types: [
39389
+ "object"
39390
+ ]
39391
+ },
39392
+ to: {
39393
+ types: [
39394
+ "object"
39395
+ ]
39396
+ },
39397
+ center: {
39398
+ types: [
39399
+ "object"
39400
+ ]
39401
+ },
39402
+ radius: {
39403
+ types: [
39404
+ "number"
39405
+ ]
39406
+ },
39407
+ stops: {
39408
+ types: [
39409
+ "array"
39410
+ ],
39411
+ items: {
39412
+ types: [
39413
+ "object"
39414
+ ]
39415
+ }
39416
+ }
39417
+ },
39418
+ propertyRequired: [
39419
+ "kind",
39420
+ "stops"
39421
+ ]
39422
+ },
39366
39423
  stroke: {
39367
39424
  types: [
39368
39425
  "string"
@@ -39375,6 +39432,158 @@ var patterns_registry_default = {
39375
39432
  ],
39376
39433
  description: "strokeWidth prop"
39377
39434
  },
39435
+ rotate: {
39436
+ types: [
39437
+ "number"
39438
+ ],
39439
+ description: "Rotation in radians (painter units, same as `draw-group`), about `pivot`."
39440
+ },
39441
+ pivot: {
39442
+ types: [
39443
+ "object"
39444
+ ],
39445
+ description: "Rotation pivot in world units relative to the cell's projected top-left; default `{x:0.5, y:0.5}` (cell center)."
39446
+ },
39447
+ shadow: {
39448
+ types: [
39449
+ "object"
39450
+ ],
39451
+ description: "Soft glow / drop-shadow behind the shape; `blur` in world units.",
39452
+ properties: {
39453
+ color: {
39454
+ types: [
39455
+ "string"
39456
+ ]
39457
+ },
39458
+ blur: {
39459
+ types: [
39460
+ "number"
39461
+ ]
39462
+ }
39463
+ },
39464
+ propertyRequired: [
39465
+ "color",
39466
+ "blur"
39467
+ ]
39468
+ },
39469
+ animation: {
39470
+ types: [
39471
+ "object"
39472
+ ],
39473
+ description: "Keyframe animation over this shape's props; the host runs a paint clock while present.",
39474
+ properties: {
39475
+ durationMs: {
39476
+ types: [
39477
+ "number"
39478
+ ]
39479
+ },
39480
+ loop: {
39481
+ types: [
39482
+ "boolean"
39483
+ ]
39484
+ },
39485
+ keyframes: {
39486
+ types: [
39487
+ "array"
39488
+ ],
39489
+ items: {
39490
+ types: [
39491
+ "object"
39492
+ ],
39493
+ properties: {
39494
+ at: {
39495
+ types: [
39496
+ "number"
39497
+ ]
39498
+ },
39499
+ offsetX: {
39500
+ types: [
39501
+ "number"
39502
+ ]
39503
+ },
39504
+ offsetY: {
39505
+ types: [
39506
+ "number"
39507
+ ]
39508
+ },
39509
+ rotate: {
39510
+ types: [
39511
+ "number"
39512
+ ]
39513
+ },
39514
+ opacity: {
39515
+ types: [
39516
+ "number"
39517
+ ]
39518
+ },
39519
+ radiusX: {
39520
+ types: [
39521
+ "number"
39522
+ ]
39523
+ },
39524
+ radiusY: {
39525
+ types: [
39526
+ "number"
39527
+ ]
39528
+ },
39529
+ width: {
39530
+ types: [
39531
+ "number"
39532
+ ]
39533
+ },
39534
+ height: {
39535
+ types: [
39536
+ "number"
39537
+ ]
39538
+ },
39539
+ strokeWidth: {
39540
+ types: [
39541
+ "number"
39542
+ ]
39543
+ },
39544
+ fill: {
39545
+ types: [
39546
+ "string"
39547
+ ]
39548
+ },
39549
+ stroke: {
39550
+ types: [
39551
+ "string"
39552
+ ]
39553
+ },
39554
+ shadow: {
39555
+ types: [
39556
+ "object"
39557
+ ],
39558
+ properties: {
39559
+ color: {
39560
+ types: [
39561
+ "string"
39562
+ ]
39563
+ },
39564
+ blur: {
39565
+ types: [
39566
+ "number"
39567
+ ]
39568
+ }
39569
+ },
39570
+ required: [
39571
+ "color",
39572
+ "blur"
39573
+ ]
39574
+ }
39575
+ },
39576
+ required: [
39577
+ "at"
39578
+ ]
39579
+ }
39580
+ }
39581
+ },
39582
+ propertyRequired: [
39583
+ "durationMs",
39584
+ "keyframes"
39585
+ ]
39586
+ },
39378
39587
  opacity: {
39379
39588
  types: [
39380
39589
  "number"
@@ -39843,6 +40052,56 @@ var patterns_registry_default = {
39843
40052
  "string"
39844
40053
  ]
39845
40054
  },
40055
+ gradient: {
40056
+ types: [
40057
+ "object"
40058
+ ],
40059
+ properties: {
40060
+ kind: {
40061
+ types: [
40062
+ "string"
40063
+ ],
40064
+ enumValues: [
40065
+ "linear",
40066
+ "radial"
40067
+ ]
40068
+ },
40069
+ from: {
40070
+ types: [
40071
+ "object"
40072
+ ]
40073
+ },
40074
+ to: {
40075
+ types: [
40076
+ "object"
40077
+ ]
40078
+ },
40079
+ center: {
40080
+ types: [
40081
+ "object"
40082
+ ]
40083
+ },
40084
+ radius: {
40085
+ types: [
40086
+ "number"
40087
+ ]
40088
+ },
40089
+ stops: {
40090
+ types: [
40091
+ "array"
40092
+ ],
40093
+ items: {
40094
+ types: [
40095
+ "object"
40096
+ ]
40097
+ }
40098
+ }
40099
+ },
40100
+ required: [
40101
+ "kind",
40102
+ "stops"
40103
+ ]
40104
+ },
39846
40105
  stroke: {
39847
40106
  types: [
39848
40107
  "string"
@@ -39853,6 +40112,154 @@ var patterns_registry_default = {
39853
40112
  "number"
39854
40113
  ]
39855
40114
  },
40115
+ rotate: {
40116
+ types: [
40117
+ "number"
40118
+ ]
40119
+ },
40120
+ pivot: {
40121
+ types: [
40122
+ "object"
40123
+ ]
40124
+ },
40125
+ shadow: {
40126
+ types: [
40127
+ "object"
40128
+ ],
40129
+ properties: {
40130
+ color: {
40131
+ types: [
40132
+ "string"
40133
+ ]
40134
+ },
40135
+ blur: {
40136
+ types: [
40137
+ "number"
40138
+ ]
40139
+ }
40140
+ },
40141
+ required: [
40142
+ "color",
40143
+ "blur"
40144
+ ]
40145
+ },
40146
+ animation: {
40147
+ types: [
40148
+ "object"
40149
+ ],
40150
+ properties: {
40151
+ durationMs: {
40152
+ types: [
40153
+ "number"
40154
+ ]
40155
+ },
40156
+ loop: {
40157
+ types: [
40158
+ "boolean"
40159
+ ]
40160
+ },
40161
+ keyframes: {
40162
+ types: [
40163
+ "array"
40164
+ ],
40165
+ items: {
40166
+ types: [
40167
+ "object"
40168
+ ],
40169
+ properties: {
40170
+ at: {
40171
+ types: [
40172
+ "number"
40173
+ ]
40174
+ },
40175
+ offsetX: {
40176
+ types: [
40177
+ "number"
40178
+ ]
40179
+ },
40180
+ offsetY: {
40181
+ types: [
40182
+ "number"
40183
+ ]
40184
+ },
40185
+ rotate: {
40186
+ types: [
40187
+ "number"
40188
+ ]
40189
+ },
40190
+ opacity: {
40191
+ types: [
40192
+ "number"
40193
+ ]
40194
+ },
40195
+ radiusX: {
40196
+ types: [
40197
+ "number"
40198
+ ]
40199
+ },
40200
+ radiusY: {
40201
+ types: [
40202
+ "number"
40203
+ ]
40204
+ },
40205
+ width: {
40206
+ types: [
40207
+ "number"
40208
+ ]
40209
+ },
40210
+ height: {
40211
+ types: [
40212
+ "number"
40213
+ ]
40214
+ },
40215
+ strokeWidth: {
40216
+ types: [
40217
+ "number"
40218
+ ]
40219
+ },
40220
+ fill: {
40221
+ types: [
40222
+ "string"
40223
+ ]
40224
+ },
40225
+ stroke: {
40226
+ types: [
40227
+ "string"
40228
+ ]
40229
+ },
40230
+ shadow: {
40231
+ types: [
40232
+ "object"
40233
+ ],
40234
+ properties: {
40235
+ color: {
40236
+ types: [
40237
+ "string"
40238
+ ]
40239
+ },
40240
+ blur: {
40241
+ types: [
40242
+ "number"
40243
+ ]
40244
+ }
40245
+ },
40246
+ required: [
40247
+ "color",
40248
+ "blur"
40249
+ ]
40250
+ }
40251
+ },
40252
+ required: [
40253
+ "at"
40254
+ ]
40255
+ }
40256
+ }
40257
+ },
40258
+ required: [
40259
+ "durationMs",
40260
+ "keyframes"
40261
+ ]
40262
+ },
39856
40263
  opacity: {
39857
40264
  types: [
39858
40265
  "number"
@@ -40571,6 +40978,12 @@ var patterns_registry_default = {
40571
40978
  "string"
40572
40979
  ]
40573
40980
  }
40981
+ },
40982
+ children: {
40983
+ types: [
40984
+ "node"
40985
+ ],
40986
+ description: "Declarative JSX drawable children (`<DrawShape .../>` composed in paint order). Forwarded to the 2D host, which collects them via drawable registry context."
40574
40987
  }
40575
40988
  },
40576
40989
  drawHost: true
@@ -42061,7 +42474,7 @@ var integrators_registry_default = {
42061
42474
  // src/patterns/component-mapping.json
42062
42475
  var component_mapping_default = {
42063
42476
  version: "1.0.0",
42064
- exportedAt: "2026-07-30T11:18:57.838Z",
42477
+ exportedAt: "2026-07-31T03:04:39.259Z",
42065
42478
  mappings: {
42066
42479
  "page-header": {
42067
42480
  component: "PageHeader",
@@ -43451,7 +43864,7 @@ var component_mapping_default = {
43451
43864
  // src/patterns/event-contracts.json
43452
43865
  var event_contracts_default = {
43453
43866
  version: "1.0.0",
43454
- exportedAt: "2026-07-30T11:18:57.838Z",
43867
+ exportedAt: "2026-07-31T03:04:39.259Z",
43455
43868
  contracts: {
43456
43869
  form: {
43457
43870
  emits: [