@almadar/core 10.45.0 → 10.47.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "exportedAt": "2026-07-30T11:18:57.838Z",
3
+ "exportedAt": "2026-07-31T07:15:07.239Z",
4
4
  "patterns": {
5
5
  "entity-table": {
6
6
  "type": "entity-table",
@@ -35175,6 +35175,12 @@
35175
35175
  "string"
35176
35176
  ],
35177
35177
  "description": "Solid backdrop colour (drawn when no `backgroundImage`)."
35178
+ },
35179
+ "children": {
35180
+ "types": [
35181
+ "node"
35182
+ ],
35183
+ "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."
35178
35184
  }
35179
35185
  },
35180
35186
  "drawable": true,
@@ -39329,7 +39335,7 @@
39329
39335
  "types": [
39330
39336
  "number"
39331
39337
  ],
39332
- "description": "Fine nudge from the anchor point in world units."
39338
+ "description": "Fine nudge in world units — applies to every shape kind except `cell` (rect/ellipse from their anchor point; poly/path from the projected top-left)."
39333
39339
  },
39334
39340
  "offsetY": {
39335
39341
  "types": [
@@ -39360,6 +39366,103 @@
39360
39366
  ],
39361
39367
  "description": "fill prop"
39362
39368
  },
39369
+ "gradient": {
39370
+ "types": [
39371
+ "object"
39372
+ ],
39373
+ "description": "Gradient fill in world units; overrides `fill` when present.",
39374
+ "properties": {
39375
+ "kind": {
39376
+ "types": [
39377
+ "string"
39378
+ ],
39379
+ "enumValues": [
39380
+ "linear",
39381
+ "radial",
39382
+ "conic"
39383
+ ]
39384
+ },
39385
+ "from": {
39386
+ "types": [
39387
+ "object"
39388
+ ]
39389
+ },
39390
+ "to": {
39391
+ "types": [
39392
+ "object"
39393
+ ]
39394
+ },
39395
+ "center": {
39396
+ "types": [
39397
+ "object"
39398
+ ]
39399
+ },
39400
+ "radius": {
39401
+ "types": [
39402
+ "number"
39403
+ ]
39404
+ },
39405
+ "angle": {
39406
+ "types": [
39407
+ "number"
39408
+ ]
39409
+ },
39410
+ "stops": {
39411
+ "types": [
39412
+ "array"
39413
+ ],
39414
+ "items": {
39415
+ "types": [
39416
+ "object"
39417
+ ]
39418
+ }
39419
+ }
39420
+ },
39421
+ "propertyRequired": [
39422
+ "kind",
39423
+ "stops"
39424
+ ]
39425
+ },
39426
+ "fillPattern": {
39427
+ "types": [
39428
+ "object"
39429
+ ],
39430
+ "description": "Repeating texture painted over the fill (grain / tiling image).",
39431
+ "properties": {
39432
+ "kind": {
39433
+ "types": [
39434
+ "string"
39435
+ ],
39436
+ "enumValues": [
39437
+ "noise",
39438
+ "image"
39439
+ ]
39440
+ },
39441
+ "url": {
39442
+ "types": [
39443
+ "string"
39444
+ ]
39445
+ },
39446
+ "scale": {
39447
+ "types": [
39448
+ "number"
39449
+ ]
39450
+ },
39451
+ "alpha": {
39452
+ "types": [
39453
+ "number"
39454
+ ]
39455
+ },
39456
+ "color": {
39457
+ "types": [
39458
+ "string"
39459
+ ]
39460
+ }
39461
+ },
39462
+ "propertyRequired": [
39463
+ "kind"
39464
+ ]
39465
+ },
39363
39466
  "stroke": {
39364
39467
  "types": [
39365
39468
  "string"
@@ -39372,6 +39475,277 @@
39372
39475
  ],
39373
39476
  "description": "strokeWidth prop"
39374
39477
  },
39478
+ "strokeGradient": {
39479
+ "types": [
39480
+ "object"
39481
+ ],
39482
+ "description": "Gradient stroke in world units; overrides `stroke` when present.",
39483
+ "properties": {
39484
+ "kind": {
39485
+ "types": [
39486
+ "string"
39487
+ ],
39488
+ "enumValues": [
39489
+ "linear",
39490
+ "radial",
39491
+ "conic"
39492
+ ]
39493
+ },
39494
+ "from": {
39495
+ "types": [
39496
+ "object"
39497
+ ]
39498
+ },
39499
+ "to": {
39500
+ "types": [
39501
+ "object"
39502
+ ]
39503
+ },
39504
+ "center": {
39505
+ "types": [
39506
+ "object"
39507
+ ]
39508
+ },
39509
+ "radius": {
39510
+ "types": [
39511
+ "number"
39512
+ ]
39513
+ },
39514
+ "angle": {
39515
+ "types": [
39516
+ "number"
39517
+ ]
39518
+ },
39519
+ "stops": {
39520
+ "types": [
39521
+ "array"
39522
+ ],
39523
+ "items": {
39524
+ "types": [
39525
+ "object"
39526
+ ]
39527
+ }
39528
+ }
39529
+ },
39530
+ "propertyRequired": [
39531
+ "kind",
39532
+ "stops"
39533
+ ]
39534
+ },
39535
+ "strokeDash": {
39536
+ "types": [
39537
+ "array"
39538
+ ],
39539
+ "description": "Dash pattern in painter-px (constant under group scale, like `strokeWidth`).",
39540
+ "items": {
39541
+ "types": [
39542
+ "number"
39543
+ ]
39544
+ }
39545
+ },
39546
+ "strokeDashOffset": {
39547
+ "types": [
39548
+ "number"
39549
+ ],
39550
+ "description": "Dash phase offset in painter-px; animatable (marching ants)."
39551
+ },
39552
+ "blendMode": {
39553
+ "types": [
39554
+ "string"
39555
+ ],
39556
+ "description": "Composite/blend mode for this shape's draws (`lighter`, `multiply`, `screen`, …).",
39557
+ "enumValues": [
39558
+ "source-over",
39559
+ "lighter",
39560
+ "multiply",
39561
+ "screen",
39562
+ "overlay",
39563
+ "darken",
39564
+ "lighten",
39565
+ "color-dodge",
39566
+ "color-burn",
39567
+ "hard-light",
39568
+ "soft-light",
39569
+ "difference",
39570
+ "exclusion",
39571
+ "hue",
39572
+ "saturation",
39573
+ "color",
39574
+ "luminosity",
39575
+ "source-atop",
39576
+ "destination-over",
39577
+ "destination-out",
39578
+ "xor"
39579
+ ]
39580
+ },
39581
+ "blur": {
39582
+ "types": [
39583
+ "number"
39584
+ ],
39585
+ "description": "Gaussian blur in painter-px. Expensive — forces an intermediate raster; use sparingly."
39586
+ },
39587
+ "rotate": {
39588
+ "types": [
39589
+ "number"
39590
+ ],
39591
+ "description": "Rotation in radians (painter units, same as `draw-group`), about `pivot`."
39592
+ },
39593
+ "pivot": {
39594
+ "types": [
39595
+ "object"
39596
+ ],
39597
+ "description": "Rotation pivot in world units relative to the cell's projected top-left; default `{x:0.5, y:0.5}` (cell center)."
39598
+ },
39599
+ "shadow": {
39600
+ "types": [
39601
+ "object"
39602
+ ],
39603
+ "description": "Soft glow / drop-shadow behind the shape; `blur` in world units.",
39604
+ "properties": {
39605
+ "color": {
39606
+ "types": [
39607
+ "string"
39608
+ ]
39609
+ },
39610
+ "blur": {
39611
+ "types": [
39612
+ "number"
39613
+ ]
39614
+ }
39615
+ },
39616
+ "propertyRequired": [
39617
+ "color",
39618
+ "blur"
39619
+ ]
39620
+ },
39621
+ "animation": {
39622
+ "types": [
39623
+ "object"
39624
+ ],
39625
+ "description": "Keyframe animation over this shape's props; the host runs a paint clock while present.",
39626
+ "properties": {
39627
+ "durationMs": {
39628
+ "types": [
39629
+ "number"
39630
+ ]
39631
+ },
39632
+ "loop": {
39633
+ "types": [
39634
+ "boolean"
39635
+ ]
39636
+ },
39637
+ "keyframes": {
39638
+ "types": [
39639
+ "array"
39640
+ ],
39641
+ "items": {
39642
+ "types": [
39643
+ "object"
39644
+ ],
39645
+ "properties": {
39646
+ "at": {
39647
+ "types": [
39648
+ "number"
39649
+ ]
39650
+ },
39651
+ "offsetX": {
39652
+ "types": [
39653
+ "number"
39654
+ ]
39655
+ },
39656
+ "offsetY": {
39657
+ "types": [
39658
+ "number"
39659
+ ]
39660
+ },
39661
+ "rotate": {
39662
+ "types": [
39663
+ "number"
39664
+ ]
39665
+ },
39666
+ "opacity": {
39667
+ "types": [
39668
+ "number"
39669
+ ]
39670
+ },
39671
+ "radiusX": {
39672
+ "types": [
39673
+ "number"
39674
+ ]
39675
+ },
39676
+ "radiusY": {
39677
+ "types": [
39678
+ "number"
39679
+ ]
39680
+ },
39681
+ "width": {
39682
+ "types": [
39683
+ "number"
39684
+ ]
39685
+ },
39686
+ "height": {
39687
+ "types": [
39688
+ "number"
39689
+ ]
39690
+ },
39691
+ "strokeWidth": {
39692
+ "types": [
39693
+ "number"
39694
+ ]
39695
+ },
39696
+ "strokeDashOffset": {
39697
+ "types": [
39698
+ "number"
39699
+ ]
39700
+ },
39701
+ "blur": {
39702
+ "types": [
39703
+ "number"
39704
+ ]
39705
+ },
39706
+ "fill": {
39707
+ "types": [
39708
+ "string"
39709
+ ]
39710
+ },
39711
+ "stroke": {
39712
+ "types": [
39713
+ "string"
39714
+ ]
39715
+ },
39716
+ "shadow": {
39717
+ "types": [
39718
+ "object"
39719
+ ],
39720
+ "properties": {
39721
+ "color": {
39722
+ "types": [
39723
+ "string"
39724
+ ]
39725
+ },
39726
+ "blur": {
39727
+ "types": [
39728
+ "number"
39729
+ ]
39730
+ }
39731
+ },
39732
+ "required": [
39733
+ "color",
39734
+ "blur"
39735
+ ]
39736
+ }
39737
+ },
39738
+ "required": [
39739
+ "at"
39740
+ ]
39741
+ }
39742
+ }
39743
+ },
39744
+ "propertyRequired": [
39745
+ "durationMs",
39746
+ "keyframes"
39747
+ ]
39748
+ },
39375
39749
  "opacity": {
39376
39750
  "types": [
39377
39751
  "number"
@@ -39840,6 +40214,101 @@
39840
40214
  "string"
39841
40215
  ]
39842
40216
  },
40217
+ "gradient": {
40218
+ "types": [
40219
+ "object"
40220
+ ],
40221
+ "properties": {
40222
+ "kind": {
40223
+ "types": [
40224
+ "string"
40225
+ ],
40226
+ "enumValues": [
40227
+ "linear",
40228
+ "radial",
40229
+ "conic"
40230
+ ]
40231
+ },
40232
+ "from": {
40233
+ "types": [
40234
+ "object"
40235
+ ]
40236
+ },
40237
+ "to": {
40238
+ "types": [
40239
+ "object"
40240
+ ]
40241
+ },
40242
+ "center": {
40243
+ "types": [
40244
+ "object"
40245
+ ]
40246
+ },
40247
+ "radius": {
40248
+ "types": [
40249
+ "number"
40250
+ ]
40251
+ },
40252
+ "angle": {
40253
+ "types": [
40254
+ "number"
40255
+ ]
40256
+ },
40257
+ "stops": {
40258
+ "types": [
40259
+ "array"
40260
+ ],
40261
+ "items": {
40262
+ "types": [
40263
+ "object"
40264
+ ]
40265
+ }
40266
+ }
40267
+ },
40268
+ "required": [
40269
+ "kind",
40270
+ "stops"
40271
+ ]
40272
+ },
40273
+ "fillPattern": {
40274
+ "types": [
40275
+ "object"
40276
+ ],
40277
+ "properties": {
40278
+ "kind": {
40279
+ "types": [
40280
+ "string"
40281
+ ],
40282
+ "enumValues": [
40283
+ "noise",
40284
+ "image"
40285
+ ]
40286
+ },
40287
+ "url": {
40288
+ "types": [
40289
+ "string"
40290
+ ]
40291
+ },
40292
+ "scale": {
40293
+ "types": [
40294
+ "number"
40295
+ ]
40296
+ },
40297
+ "alpha": {
40298
+ "types": [
40299
+ "number"
40300
+ ]
40301
+ },
40302
+ "color": {
40303
+ "types": [
40304
+ "string"
40305
+ ]
40306
+ }
40307
+ },
40308
+ "required": [
40309
+ "kind"
40310
+ ]
40311
+ },
39843
40312
  "stroke": {
39844
40313
  "types": [
39845
40314
  "string"
@@ -39850,6 +40319,268 @@
39850
40319
  "number"
39851
40320
  ]
39852
40321
  },
40322
+ "strokeGradient": {
40323
+ "types": [
40324
+ "object"
40325
+ ],
40326
+ "properties": {
40327
+ "kind": {
40328
+ "types": [
40329
+ "string"
40330
+ ],
40331
+ "enumValues": [
40332
+ "linear",
40333
+ "radial",
40334
+ "conic"
40335
+ ]
40336
+ },
40337
+ "from": {
40338
+ "types": [
40339
+ "object"
40340
+ ]
40341
+ },
40342
+ "to": {
40343
+ "types": [
40344
+ "object"
40345
+ ]
40346
+ },
40347
+ "center": {
40348
+ "types": [
40349
+ "object"
40350
+ ]
40351
+ },
40352
+ "radius": {
40353
+ "types": [
40354
+ "number"
40355
+ ]
40356
+ },
40357
+ "angle": {
40358
+ "types": [
40359
+ "number"
40360
+ ]
40361
+ },
40362
+ "stops": {
40363
+ "types": [
40364
+ "array"
40365
+ ],
40366
+ "items": {
40367
+ "types": [
40368
+ "object"
40369
+ ]
40370
+ }
40371
+ }
40372
+ },
40373
+ "required": [
40374
+ "kind",
40375
+ "stops"
40376
+ ]
40377
+ },
40378
+ "strokeDash": {
40379
+ "types": [
40380
+ "array"
40381
+ ],
40382
+ "items": {
40383
+ "types": [
40384
+ "number"
40385
+ ]
40386
+ }
40387
+ },
40388
+ "strokeDashOffset": {
40389
+ "types": [
40390
+ "number"
40391
+ ]
40392
+ },
40393
+ "blendMode": {
40394
+ "types": [
40395
+ "string"
40396
+ ],
40397
+ "enumValues": [
40398
+ "source-over",
40399
+ "lighter",
40400
+ "multiply",
40401
+ "screen",
40402
+ "overlay",
40403
+ "darken",
40404
+ "lighten",
40405
+ "color-dodge",
40406
+ "color-burn",
40407
+ "hard-light",
40408
+ "soft-light",
40409
+ "difference",
40410
+ "exclusion",
40411
+ "hue",
40412
+ "saturation",
40413
+ "color",
40414
+ "luminosity",
40415
+ "source-atop",
40416
+ "destination-over",
40417
+ "destination-out",
40418
+ "xor"
40419
+ ]
40420
+ },
40421
+ "blur": {
40422
+ "types": [
40423
+ "number"
40424
+ ]
40425
+ },
40426
+ "rotate": {
40427
+ "types": [
40428
+ "number"
40429
+ ]
40430
+ },
40431
+ "pivot": {
40432
+ "types": [
40433
+ "object"
40434
+ ]
40435
+ },
40436
+ "shadow": {
40437
+ "types": [
40438
+ "object"
40439
+ ],
40440
+ "properties": {
40441
+ "color": {
40442
+ "types": [
40443
+ "string"
40444
+ ]
40445
+ },
40446
+ "blur": {
40447
+ "types": [
40448
+ "number"
40449
+ ]
40450
+ }
40451
+ },
40452
+ "required": [
40453
+ "color",
40454
+ "blur"
40455
+ ]
40456
+ },
40457
+ "animation": {
40458
+ "types": [
40459
+ "object"
40460
+ ],
40461
+ "properties": {
40462
+ "durationMs": {
40463
+ "types": [
40464
+ "number"
40465
+ ]
40466
+ },
40467
+ "loop": {
40468
+ "types": [
40469
+ "boolean"
40470
+ ]
40471
+ },
40472
+ "keyframes": {
40473
+ "types": [
40474
+ "array"
40475
+ ],
40476
+ "items": {
40477
+ "types": [
40478
+ "object"
40479
+ ],
40480
+ "properties": {
40481
+ "at": {
40482
+ "types": [
40483
+ "number"
40484
+ ]
40485
+ },
40486
+ "offsetX": {
40487
+ "types": [
40488
+ "number"
40489
+ ]
40490
+ },
40491
+ "offsetY": {
40492
+ "types": [
40493
+ "number"
40494
+ ]
40495
+ },
40496
+ "rotate": {
40497
+ "types": [
40498
+ "number"
40499
+ ]
40500
+ },
40501
+ "opacity": {
40502
+ "types": [
40503
+ "number"
40504
+ ]
40505
+ },
40506
+ "radiusX": {
40507
+ "types": [
40508
+ "number"
40509
+ ]
40510
+ },
40511
+ "radiusY": {
40512
+ "types": [
40513
+ "number"
40514
+ ]
40515
+ },
40516
+ "width": {
40517
+ "types": [
40518
+ "number"
40519
+ ]
40520
+ },
40521
+ "height": {
40522
+ "types": [
40523
+ "number"
40524
+ ]
40525
+ },
40526
+ "strokeWidth": {
40527
+ "types": [
40528
+ "number"
40529
+ ]
40530
+ },
40531
+ "strokeDashOffset": {
40532
+ "types": [
40533
+ "number"
40534
+ ]
40535
+ },
40536
+ "blur": {
40537
+ "types": [
40538
+ "number"
40539
+ ]
40540
+ },
40541
+ "fill": {
40542
+ "types": [
40543
+ "string"
40544
+ ]
40545
+ },
40546
+ "stroke": {
40547
+ "types": [
40548
+ "string"
40549
+ ]
40550
+ },
40551
+ "shadow": {
40552
+ "types": [
40553
+ "object"
40554
+ ],
40555
+ "properties": {
40556
+ "color": {
40557
+ "types": [
40558
+ "string"
40559
+ ]
40560
+ },
40561
+ "blur": {
40562
+ "types": [
40563
+ "number"
40564
+ ]
40565
+ }
40566
+ },
40567
+ "required": [
40568
+ "color",
40569
+ "blur"
40570
+ ]
40571
+ }
40572
+ },
40573
+ "required": [
40574
+ "at"
40575
+ ]
40576
+ }
40577
+ }
40578
+ },
40579
+ "required": [
40580
+ "durationMs",
40581
+ "keyframes"
40582
+ ]
40583
+ },
39853
40584
  "opacity": {
39854
40585
  "types": [
39855
40586
  "number"
@@ -40568,6 +41299,12 @@
40568
41299
  "string"
40569
41300
  ]
40570
41301
  }
41302
+ },
41303
+ "children": {
41304
+ "types": [
41305
+ "node"
41306
+ ],
41307
+ "description": "Declarative JSX drawable children (`<DrawShape .../>` composed in paint order). Forwarded to the 2D host, which collects them via drawable registry context."
40571
41308
  }
40572
41309
  },
40573
41310
  "drawHost": true
@@ -41067,6 +41804,12 @@
41067
41804
  ],
41068
41805
  "description": "0..1 opacity."
41069
41806
  },
41807
+ "clip": {
41808
+ "types": [
41809
+ "string"
41810
+ ],
41811
+ "description": "Clip the group's items to an SVG path (`d` syntax) in world units relative to the group origin — masked reveals, meters, portraits."
41812
+ },
41070
41813
  "items": {
41071
41814
  "types": [
41072
41815
  "array"