@almadar/core 10.79.0 → 10.80.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-09-02T02:13:40.776Z",
3
+ "exportedAt": "2026-09-02T20:03:03.703Z",
4
4
  "patterns": {
5
5
  "entity-table": {
6
6
  "type": "entity-table",
@@ -261,10 +261,6 @@
261
261
  "placement": {
262
262
  "types": [
263
263
  "string"
264
- ],
265
- "enumValues": [
266
- "row",
267
- "bulk"
268
264
  ]
269
265
  },
270
266
  "icon": {
@@ -276,13 +272,6 @@
276
272
  "variant": {
277
273
  "types": [
278
274
  "string"
279
- ],
280
- "enumValues": [
281
- "default",
282
- "primary",
283
- "secondary",
284
- "ghost",
285
- "danger"
286
275
  ]
287
276
  },
288
277
  "onClick": {
@@ -659,12 +648,6 @@
659
648
  "placement": {
660
649
  "types": [
661
650
  "string"
662
- ],
663
- "enumValues": [
664
- "row",
665
- "bulk",
666
- "card",
667
- "footer"
668
651
  ]
669
652
  },
670
653
  "variant": {
@@ -1174,22 +1157,11 @@
1174
1157
  "placement": {
1175
1158
  "types": [
1176
1159
  "string"
1177
- ],
1178
- "enumValues": [
1179
- "card",
1180
- "footer",
1181
- "row"
1182
1160
  ]
1183
1161
  },
1184
1162
  "variant": {
1185
1163
  "types": [
1186
1164
  "string"
1187
- ],
1188
- "enumValues": [
1189
- "primary",
1190
- "secondary",
1191
- "ghost",
1192
- "danger"
1193
1165
  ]
1194
1166
  }
1195
1167
  },
@@ -2114,11 +2086,7 @@
2114
2086
  "types": [
2115
2087
  "string"
2116
2088
  ],
2117
- "description": "Form mode — 'create' for new records, 'edit' for updating existing. Accepts `string` so schema-driven callers (whose `config.mode` is typed as `string` per the trait's declared config block) compile cleanly. The runtime treats anything other than 'edit' as 'create'.",
2118
- "enumValues": [
2119
- "create",
2120
- "edit"
2121
- ]
2089
+ "description": "Form mode — 'create' for new records, 'edit' for updating existing. Accepts `string` so schema-driven callers (whose `config.mode` is typed as `string` per the trait's declared config block) compile cleanly. The runtime treats anything other than 'edit' as 'create'."
2122
2090
  },
2123
2091
  "fields": {
2124
2092
  "types": [
@@ -3041,11 +3009,7 @@
3041
3009
  "types": [
3042
3010
  "string"
3043
3011
  ],
3044
- "description": "Form mode — 'create' for new records, 'edit' for updating existing. Accepts `string` so schema-driven callers (whose `config.mode` is typed as `string` per the trait's declared config block) compile cleanly. The runtime treats anything other than 'edit' as 'create'.",
3045
- "enumValues": [
3046
- "create",
3047
- "edit"
3048
- ]
3012
+ "description": "Form mode — 'create' for new records, 'edit' for updating existing. Accepts `string` so schema-driven callers (whose `config.mode` is typed as `string` per the trait's declared config block) compile cleanly. The runtime treats anything other than 'edit' as 'create'."
3049
3013
  },
3050
3014
  "fields": {
3051
3015
  "types": [
@@ -5599,12 +5563,6 @@
5599
5563
  "mode": {
5600
5564
  "types": [
5601
5565
  "string"
5602
- ],
5603
- "enumValues": [
5604
- "search_or_create",
5605
- "create_multiple",
5606
- "select_one",
5607
- "update"
5608
5566
  ]
5609
5567
  },
5610
5568
  "parentField": {
@@ -6458,13 +6416,6 @@
6458
6416
  "string"
6459
6417
  ],
6460
6418
  "description": "Width (CSS value or preset size)",
6461
- "enumValues": [
6462
- "sm",
6463
- "md",
6464
- "lg",
6465
- "xl",
6466
- "full"
6467
- ],
6468
6419
  "default": "md"
6469
6420
  },
6470
6421
  "showCloseButton": {
@@ -8086,15 +8037,7 @@
8086
8037
  "types": [
8087
8038
  "string"
8088
8039
  ],
8089
- "description": "Semantic palette token or an arbitrary Tailwind color class.",
8090
- "enumValues": [
8091
- "primary",
8092
- "secondary",
8093
- "success",
8094
- "warning",
8095
- "error",
8096
- "muted"
8097
- ]
8040
+ "description": "Semantic palette token or an arbitrary Tailwind color class."
8098
8041
  },
8099
8042
  "animation": {
8100
8043
  "types": [
@@ -8435,13 +8378,20 @@
8435
8378
  "types": [
8436
8379
  "string"
8437
8380
  ],
8438
- "description": "Declarative event name for trait dispatch",
8381
+ "description": "Declarative event name for trait dispatch.",
8439
8382
  "kind": "event-ref",
8440
8383
  "emitPayloadSchema": [
8441
8384
  {
8442
8385
  "name": "value",
8443
8386
  "type": "string",
8444
- "required": true
8387
+ "required": true,
8388
+ "typeWhen": [
8389
+ {
8390
+ "knob": "inputType",
8391
+ "equals": "number",
8392
+ "type": "number"
8393
+ }
8394
+ ]
8445
8395
  }
8446
8396
  ]
8447
8397
  },
@@ -8730,8 +8680,26 @@
8730
8680
  "types": [
8731
8681
  "string"
8732
8682
  ],
8733
- "description": "Declarative event name for trait dispatch",
8734
- "kind": "event"
8683
+ "description": "Declarative event name for trait dispatch — emits `{ value }` on selection commit (same gestures as `onChange`).",
8684
+ "kind": "event-ref",
8685
+ "emitPayloadSchema": [
8686
+ {
8687
+ "name": "value",
8688
+ "type": "string",
8689
+ "required": true,
8690
+ "schema": {
8691
+ "types": [
8692
+ "string",
8693
+ "array"
8694
+ ],
8695
+ "items": {
8696
+ "types": [
8697
+ "string"
8698
+ ]
8699
+ }
8700
+ }
8701
+ }
8702
+ ]
8735
8703
  },
8736
8704
  "error": {
8737
8705
  "types": [
@@ -11051,7 +11019,8 @@
11051
11019
  ],
11052
11020
  "description": "Payload to include with the dispatched action event.",
11053
11021
  "payloadFor": "action",
11054
- "freeform": true
11022
+ "freeform": true,
11023
+ "eventPayloadBrand": true
11055
11024
  },
11056
11025
  "actions": {
11057
11026
  "types": [
@@ -11150,14 +11119,6 @@
11150
11119
  "string"
11151
11120
  ],
11152
11121
  "description": "Button position",
11153
- "enumValues": [
11154
- "bottom-right",
11155
- "bottom-left",
11156
- "bottom-center",
11157
- "top-right",
11158
- "top-left",
11159
- "top-center"
11160
- ],
11161
11122
  "default": "bottom-right"
11162
11123
  },
11163
11124
  "className": {
@@ -11354,13 +11315,20 @@
11354
11315
  "types": [
11355
11316
  "string"
11356
11317
  ],
11357
- "description": "Declarative event name for trait dispatch",
11318
+ "description": "Declarative event name for trait dispatch.",
11358
11319
  "kind": "event-ref",
11359
11320
  "emitPayloadSchema": [
11360
11321
  {
11361
11322
  "name": "value",
11362
11323
  "type": "string",
11363
- "required": true
11324
+ "required": true,
11325
+ "typeWhen": [
11326
+ {
11327
+ "knob": "inputType",
11328
+ "equals": "number",
11329
+ "type": "number"
11330
+ }
11331
+ ]
11364
11332
  }
11365
11333
  ]
11366
11334
  },
@@ -25622,14 +25590,6 @@
25622
25590
  "string"
25623
25591
  ],
25624
25592
  "description": "Semantic palette token or a raw CSS color value for the stroke.",
25625
- "enumValues": [
25626
- "primary",
25627
- "secondary",
25628
- "success",
25629
- "warning",
25630
- "error",
25631
- "muted"
25632
- ],
25633
25593
  "default": "primary"
25634
25594
  },
25635
25595
  "strokeWidth": {
@@ -26917,8 +26877,7 @@
26917
26877
  },
26918
26878
  "targetQuestionId": {
26919
26879
  "types": [
26920
- "string",
26921
- "unknown"
26880
+ "string"
26922
26881
  ]
26923
26882
  }
26924
26883
  },
@@ -26984,8 +26943,7 @@
26984
26943
  },
26985
26944
  "targetQuestionId": {
26986
26945
  "types": [
26987
- "string",
26988
- "unknown"
26946
+ "string"
26989
26947
  ]
26990
26948
  }
26991
26949
  },
@@ -27055,8 +27013,7 @@
27055
27013
  },
27056
27014
  "targetQuestionId": {
27057
27015
  "types": [
27058
- "string",
27059
- "unknown"
27016
+ "string"
27060
27017
  ]
27061
27018
  }
27062
27019
  },
@@ -27158,7 +27115,8 @@
27158
27115
  "types": [
27159
27116
  "object",
27160
27117
  "array"
27161
- ]
27118
+ ],
27119
+ "cyclic": true
27162
27120
  }
27163
27121
  }
27164
27122
  },
@@ -28161,12 +28119,6 @@
28161
28119
  "string"
28162
28120
  ],
28163
28121
  "description": "Size variant",
28164
- "enumValues": [
28165
- "sm",
28166
- "md",
28167
- "lg",
28168
- "xl"
28169
- ],
28170
28122
  "default": "md"
28171
28123
  },
28172
28124
  "shape": {
@@ -28174,11 +28126,6 @@
28174
28126
  "string"
28175
28127
  ],
28176
28128
  "description": "Shape variant",
28177
- "enumValues": [
28178
- "circle",
28179
- "rounded",
28180
- "square"
28181
- ],
28182
28129
  "default": "circle"
28183
28130
  },
28184
28131
  "variant": {
@@ -28186,11 +28133,6 @@
28186
28133
  "string"
28187
28134
  ],
28188
28135
  "description": "Visual variant",
28189
- "enumValues": [
28190
- "primary",
28191
- "secondary",
28192
- "ghost"
28193
- ],
28194
28136
  "default": "secondary"
28195
28137
  },
28196
28138
  "onPress": {
@@ -30461,15 +30403,7 @@
30461
30403
  "types": [
30462
30404
  "string"
30463
30405
  ],
30464
- "description": "Semantic palette token or a raw CSS color value. Defaults to 'primary'.",
30465
- "enumValues": [
30466
- "primary",
30467
- "secondary",
30468
- "success",
30469
- "warning",
30470
- "error",
30471
- "muted"
30472
- ]
30406
+ "description": "Semantic palette token or a raw CSS color value. Defaults to 'primary'."
30473
30407
  },
30474
30408
  "className": {
30475
30409
  "types": [
@@ -31263,12 +31197,7 @@
31263
31197
  "types": [
31264
31198
  "string"
31265
31199
  ],
31266
- "description": "Position of the HUD",
31267
- "enumValues": [
31268
- "top",
31269
- "bottom",
31270
- "corners"
31271
- ]
31200
+ "description": "Position of the HUD"
31272
31201
  },
31273
31202
  "stats": {
31274
31203
  "types": [
@@ -31565,11 +31494,6 @@
31565
31494
  "variant": {
31566
31495
  "types": [
31567
31496
  "string"
31568
- ],
31569
- "enumValues": [
31570
- "primary",
31571
- "secondary",
31572
- "ghost"
31573
31497
  ]
31574
31498
  },
31575
31499
  "disabled": {
@@ -31623,11 +31547,6 @@
31623
31547
  "variant": {
31624
31548
  "types": [
31625
31549
  "string"
31626
- ],
31627
- "enumValues": [
31628
- "primary",
31629
- "secondary",
31630
- "ghost"
31631
31550
  ]
31632
31551
  },
31633
31552
  "disabled": {
@@ -31684,11 +31603,6 @@
31684
31603
  "variant": {
31685
31604
  "types": [
31686
31605
  "string"
31687
- ],
31688
- "enumValues": [
31689
- "primary",
31690
- "secondary",
31691
- "ghost"
31692
31606
  ]
31693
31607
  },
31694
31608
  "disabled": {
@@ -32058,12 +31972,6 @@
32058
31972
  "string"
32059
31973
  ],
32060
31974
  "description": "Display format",
32061
- "enumValues": [
32062
- "number",
32063
- "hearts",
32064
- "bar",
32065
- "text"
32066
- ],
32067
31975
  "default": "number"
32068
31976
  },
32069
31977
  "icon": {
@@ -32078,11 +31986,6 @@
32078
31986
  "string"
32079
31987
  ],
32080
31988
  "description": "Size variant",
32081
- "enumValues": [
32082
- "sm",
32083
- "md",
32084
- "lg"
32085
- ],
32086
31989
  "default": "md"
32087
31990
  },
32088
31991
  "variant": {
@@ -32090,13 +31993,6 @@
32090
31993
  "string"
32091
31994
  ],
32092
31995
  "description": "Visual variant",
32093
- "enumValues": [
32094
- "default",
32095
- "primary",
32096
- "success",
32097
- "warning",
32098
- "danger"
32099
- ],
32100
31996
  "default": "default"
32101
31997
  },
32102
31998
  "className": {
@@ -36846,11 +36742,6 @@
36846
36742
  "format": {
36847
36743
  "types": [
36848
36744
  "string"
36849
- ],
36850
- "enumValues": [
36851
- "currency",
36852
- "percent",
36853
- "number"
36854
36745
  ]
36855
36746
  }
36856
36747
  },
@@ -38142,11 +38033,6 @@
38142
38033
  "variant": {
38143
38034
  "types": [
38144
38035
  "string"
38145
- ],
38146
- "enumValues": [
38147
- "primary",
38148
- "secondary",
38149
- "ghost"
38150
38036
  ]
38151
38037
  }
38152
38038
  },