@almadar/core 10.28.0 → 10.29.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-09T14:00:32.936Z",
3
+ "exportedAt": "2026-07-13T15:27:57.365Z",
4
4
  "patterns": {
5
5
  "entity-table": {
6
6
  "type": "entity-table",
@@ -10349,6 +10349,144 @@
10349
10349
  ],
10350
10350
  "typicalSize": "medium",
10351
10351
  "propsSchema": {
10352
+ "className": {
10353
+ "types": [
10354
+ "string"
10355
+ ],
10356
+ "description": "Additional CSS classes"
10357
+ },
10358
+ "placeholder": {
10359
+ "types": [
10360
+ "string"
10361
+ ],
10362
+ "description": "Placeholder text"
10363
+ },
10364
+ "value": {
10365
+ "types": [
10366
+ "string",
10367
+ "number"
10368
+ ],
10369
+ "description": "Current value"
10370
+ },
10371
+ "disabled": {
10372
+ "types": [
10373
+ "boolean"
10374
+ ],
10375
+ "description": "Whether input is disabled"
10376
+ },
10377
+ "action": {
10378
+ "types": [
10379
+ "string"
10380
+ ],
10381
+ "description": "Declarative event name for trait dispatch",
10382
+ "kind": "event"
10383
+ },
10384
+ "inputType": {
10385
+ "types": [
10386
+ "string"
10387
+ ],
10388
+ "description": "Input type - supports 'select' and 'textarea' in addition to standard types",
10389
+ "enumValues": [
10390
+ "text",
10391
+ "email",
10392
+ "password",
10393
+ "number",
10394
+ "tel",
10395
+ "url",
10396
+ "search",
10397
+ "date",
10398
+ "datetime-local",
10399
+ "time",
10400
+ "checkbox",
10401
+ "select",
10402
+ "textarea"
10403
+ ]
10404
+ },
10405
+ "label": {
10406
+ "types": [
10407
+ "string"
10408
+ ],
10409
+ "description": "label prop"
10410
+ },
10411
+ "helperText": {
10412
+ "types": [
10413
+ "string"
10414
+ ],
10415
+ "description": "helperText prop"
10416
+ },
10417
+ "error": {
10418
+ "types": [
10419
+ "string"
10420
+ ],
10421
+ "description": "error prop"
10422
+ },
10423
+ "leftIcon": {
10424
+ "types": [
10425
+ "icon",
10426
+ "string"
10427
+ ],
10428
+ "description": "leftIcon prop"
10429
+ },
10430
+ "rightIcon": {
10431
+ "types": [
10432
+ "icon",
10433
+ "string"
10434
+ ],
10435
+ "description": "rightIcon prop"
10436
+ },
10437
+ "clearable": {
10438
+ "types": [
10439
+ "boolean"
10440
+ ],
10441
+ "description": "Show clear button when input has value"
10442
+ },
10443
+ "onClear": {
10444
+ "types": [
10445
+ "function",
10446
+ "string"
10447
+ ],
10448
+ "description": "Callback or declarative event key when clear button is clicked"
10449
+ },
10450
+ "options": {
10451
+ "types": [
10452
+ "array"
10453
+ ],
10454
+ "description": "Options for select type",
10455
+ "items": {
10456
+ "types": [
10457
+ "object"
10458
+ ],
10459
+ "properties": {
10460
+ "value": {
10461
+ "types": [
10462
+ "string"
10463
+ ]
10464
+ },
10465
+ "label": {
10466
+ "types": [
10467
+ "string"
10468
+ ]
10469
+ }
10470
+ },
10471
+ "required": [
10472
+ "value",
10473
+ "label"
10474
+ ]
10475
+ }
10476
+ },
10477
+ "rows": {
10478
+ "types": [
10479
+ "number"
10480
+ ],
10481
+ "description": "Rows for textarea type"
10482
+ },
10483
+ "onChange": {
10484
+ "types": [
10485
+ "function",
10486
+ "string"
10487
+ ],
10488
+ "description": "onChange handler or declarative event key for trait dispatch"
10489
+ },
10352
10490
  "leftAddon": {
10353
10491
  "types": [
10354
10492
  "node",
@@ -10362,12 +10500,6 @@
10362
10500
  "icon"
10363
10501
  ],
10364
10502
  "description": "Right addon (icon, button, or text)"
10365
- },
10366
- "className": {
10367
- "types": [
10368
- "string"
10369
- ],
10370
- "description": "Additional CSS classes"
10371
10503
  }
10372
10504
  }
10373
10505
  },
@@ -34892,7 +35024,159 @@
34892
35024
  "v stack"
34893
35025
  ],
34894
35026
  "typicalSize": "small",
34895
- "propsSchema": {}
35027
+ "propsSchema": {
35028
+ "gap": {
35029
+ "types": [
35030
+ "string"
35031
+ ],
35032
+ "description": "Gap between children",
35033
+ "enumValues": [
35034
+ "none",
35035
+ "xs",
35036
+ "sm",
35037
+ "md",
35038
+ "lg",
35039
+ "xl",
35040
+ "2xl"
35041
+ ],
35042
+ "default": "md"
35043
+ },
35044
+ "align": {
35045
+ "types": [
35046
+ "string"
35047
+ ],
35048
+ "description": "Align items on the cross axis",
35049
+ "enumValues": [
35050
+ "start",
35051
+ "center",
35052
+ "end",
35053
+ "stretch",
35054
+ "baseline"
35055
+ ],
35056
+ "default": "stretch"
35057
+ },
35058
+ "justify": {
35059
+ "types": [
35060
+ "string"
35061
+ ],
35062
+ "description": "Justify items on the main axis",
35063
+ "enumValues": [
35064
+ "start",
35065
+ "center",
35066
+ "end",
35067
+ "between",
35068
+ "around",
35069
+ "evenly"
35070
+ ],
35071
+ "default": "start"
35072
+ },
35073
+ "wrap": {
35074
+ "types": [
35075
+ "boolean"
35076
+ ],
35077
+ "description": "Allow items to wrap",
35078
+ "default": false
35079
+ },
35080
+ "reverse": {
35081
+ "types": [
35082
+ "boolean"
35083
+ ],
35084
+ "description": "Reverse the order of children",
35085
+ "default": false
35086
+ },
35087
+ "flex": {
35088
+ "types": [
35089
+ "boolean"
35090
+ ],
35091
+ "description": "Fill available space (flex: 1)",
35092
+ "default": false
35093
+ },
35094
+ "className": {
35095
+ "types": [
35096
+ "string"
35097
+ ],
35098
+ "description": "Custom class name"
35099
+ },
35100
+ "style": {
35101
+ "types": [
35102
+ "object"
35103
+ ],
35104
+ "description": "Inline styles"
35105
+ },
35106
+ "children": {
35107
+ "types": [
35108
+ "node"
35109
+ ],
35110
+ "description": "Children elements"
35111
+ },
35112
+ "as": {
35113
+ "types": [
35114
+ "component"
35115
+ ],
35116
+ "description": "HTML element to render as"
35117
+ },
35118
+ "onClick": {
35119
+ "types": [
35120
+ "function"
35121
+ ],
35122
+ "description": "Click handler",
35123
+ "kind": "callback",
35124
+ "callbackArgs": [
35125
+ {
35126
+ "name": "e",
35127
+ "type": "object"
35128
+ }
35129
+ ],
35130
+ "nonEmittable": true
35131
+ },
35132
+ "onKeyDown": {
35133
+ "types": [
35134
+ "function"
35135
+ ],
35136
+ "description": "Keyboard handler",
35137
+ "kind": "callback",
35138
+ "callbackArgs": [
35139
+ {
35140
+ "name": "e",
35141
+ "type": "object"
35142
+ }
35143
+ ],
35144
+ "nonEmittable": true
35145
+ },
35146
+ "role": {
35147
+ "types": [
35148
+ "string"
35149
+ ],
35150
+ "description": "Role for accessibility"
35151
+ },
35152
+ "tabIndex": {
35153
+ "types": [
35154
+ "number"
35155
+ ],
35156
+ "description": "Tab index for focus management"
35157
+ },
35158
+ "action": {
35159
+ "types": [
35160
+ "string"
35161
+ ],
35162
+ "description": "Declarative event name — emits UI:{action} via eventBus on click",
35163
+ "kind": "event"
35164
+ },
35165
+ "actionPayload": {
35166
+ "types": [
35167
+ "object"
35168
+ ],
35169
+ "description": "Payload to include with the action event",
35170
+ "freeform": true
35171
+ },
35172
+ "responsive": {
35173
+ "types": [
35174
+ "boolean"
35175
+ ],
35176
+ "description": "When true, horizontal stacks flip to vertical below the md breakpoint (768px)",
35177
+ "default": false
35178
+ }
35179
+ }
34896
35180
  },
34897
35181
  "hstack": {
34898
35182
  "type": "hstack",
@@ -34905,7 +35189,159 @@
34905
35189
  "h stack"
34906
35190
  ],
34907
35191
  "typicalSize": "small",
34908
- "propsSchema": {}
35192
+ "propsSchema": {
35193
+ "gap": {
35194
+ "types": [
35195
+ "string"
35196
+ ],
35197
+ "description": "Gap between children",
35198
+ "enumValues": [
35199
+ "none",
35200
+ "xs",
35201
+ "sm",
35202
+ "md",
35203
+ "lg",
35204
+ "xl",
35205
+ "2xl"
35206
+ ],
35207
+ "default": "md"
35208
+ },
35209
+ "align": {
35210
+ "types": [
35211
+ "string"
35212
+ ],
35213
+ "description": "Align items on the cross axis",
35214
+ "enumValues": [
35215
+ "start",
35216
+ "center",
35217
+ "end",
35218
+ "stretch",
35219
+ "baseline"
35220
+ ],
35221
+ "default": "stretch"
35222
+ },
35223
+ "justify": {
35224
+ "types": [
35225
+ "string"
35226
+ ],
35227
+ "description": "Justify items on the main axis",
35228
+ "enumValues": [
35229
+ "start",
35230
+ "center",
35231
+ "end",
35232
+ "between",
35233
+ "around",
35234
+ "evenly"
35235
+ ],
35236
+ "default": "start"
35237
+ },
35238
+ "wrap": {
35239
+ "types": [
35240
+ "boolean"
35241
+ ],
35242
+ "description": "Allow items to wrap",
35243
+ "default": false
35244
+ },
35245
+ "reverse": {
35246
+ "types": [
35247
+ "boolean"
35248
+ ],
35249
+ "description": "Reverse the order of children",
35250
+ "default": false
35251
+ },
35252
+ "flex": {
35253
+ "types": [
35254
+ "boolean"
35255
+ ],
35256
+ "description": "Fill available space (flex: 1)",
35257
+ "default": false
35258
+ },
35259
+ "className": {
35260
+ "types": [
35261
+ "string"
35262
+ ],
35263
+ "description": "Custom class name"
35264
+ },
35265
+ "style": {
35266
+ "types": [
35267
+ "object"
35268
+ ],
35269
+ "description": "Inline styles"
35270
+ },
35271
+ "children": {
35272
+ "types": [
35273
+ "node"
35274
+ ],
35275
+ "description": "Children elements"
35276
+ },
35277
+ "as": {
35278
+ "types": [
35279
+ "component"
35280
+ ],
35281
+ "description": "HTML element to render as"
35282
+ },
35283
+ "onClick": {
35284
+ "types": [
35285
+ "function"
35286
+ ],
35287
+ "description": "Click handler",
35288
+ "kind": "callback",
35289
+ "callbackArgs": [
35290
+ {
35291
+ "name": "e",
35292
+ "type": "object"
35293
+ }
35294
+ ],
35295
+ "nonEmittable": true
35296
+ },
35297
+ "onKeyDown": {
35298
+ "types": [
35299
+ "function"
35300
+ ],
35301
+ "description": "Keyboard handler",
35302
+ "kind": "callback",
35303
+ "callbackArgs": [
35304
+ {
35305
+ "name": "e",
35306
+ "type": "object"
35307
+ }
35308
+ ],
35309
+ "nonEmittable": true
35310
+ },
35311
+ "role": {
35312
+ "types": [
35313
+ "string"
35314
+ ],
35315
+ "description": "Role for accessibility"
35316
+ },
35317
+ "tabIndex": {
35318
+ "types": [
35319
+ "number"
35320
+ ],
35321
+ "description": "Tab index for focus management"
35322
+ },
35323
+ "action": {
35324
+ "types": [
35325
+ "string"
35326
+ ],
35327
+ "description": "Declarative event name — emits UI:{action} via eventBus on click",
35328
+ "kind": "event"
35329
+ },
35330
+ "actionPayload": {
35331
+ "types": [
35332
+ "object"
35333
+ ],
35334
+ "description": "Payload to include with the action event",
35335
+ "freeform": true
35336
+ },
35337
+ "responsive": {
35338
+ "types": [
35339
+ "boolean"
35340
+ ],
35341
+ "description": "When true, horizontal stacks flip to vertical below the md breakpoint (768px)",
35342
+ "default": false
35343
+ }
35344
+ }
34909
35345
  },
34910
35346
  "form-layout": {
34911
35347
  "type": "form-layout",
@@ -38384,13 +38820,13 @@
38384
38820
  "types": [
38385
38821
  "number"
38386
38822
  ],
38387
- "description": "Draw width in px (2D) / world units (3D); omitted → resolved source width."
38823
+ "description": "Draw width in world units (fractions of `projector.tileWidth`); omitted → resolved source width in px."
38388
38824
  },
38389
38825
  "height": {
38390
38826
  "types": [
38391
38827
  "number"
38392
38828
  ],
38393
- "description": "Draw height in px (2D) / world units (3D); omitted → resolved source height."
38829
+ "description": "Draw height in world units (fractions of `projector.tileWidth`); omitted → resolved source height in px."
38394
38830
  },
38395
38831
  "frame": {
38396
38832
  "types": [
@@ -38398,6 +38834,12 @@
38398
38834
  ],
38399
38835
  "description": "Explicit atlas sub-rect override (px); omitted → resolved from `asset.atlas`/`asset.sprite`."
38400
38836
  },
38837
+ "animation": {
38838
+ "types": [
38839
+ "string"
38840
+ ],
38841
+ "description": "Named GLB animation clip to play (3D backend only; the 2D painter animates via `frame`). Matched case-insensitively against the model's clips."
38842
+ },
38401
38843
  "flipX": {
38402
38844
  "types": [
38403
38845
  "boolean"
@@ -38875,6 +39317,11 @@
38875
39317
  "object"
38876
39318
  ]
38877
39319
  },
39320
+ "animation": {
39321
+ "types": [
39322
+ "string"
39323
+ ]
39324
+ },
38878
39325
  "flipX": {
38879
39326
  "types": [
38880
39327
  "boolean"