@almadar/patterns 2.24.0 → 2.25.1

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-05-09T16:52:32.798Z",
3
+ "exportedAt": "2026-05-11T04:42:37.745Z",
4
4
  "patterns": {
5
5
  "entity-table": {
6
6
  "type": "entity-table",
@@ -15278,6 +15278,12 @@
15278
15278
  ],
15279
15279
  "description": "Array of markers to display"
15280
15280
  },
15281
+ "routes": {
15282
+ "types": [
15283
+ "array"
15284
+ ],
15285
+ "description": "Routes (polylines with optional popups) drawn over the tile layer"
15286
+ },
15281
15287
  "centerLat": {
15282
15288
  "types": [
15283
15289
  "number"
@@ -25881,198 +25887,212 @@
25881
25887
  "description": "Click handler for the body of the pill (filter toggle)",
25882
25888
  "kind": "callback",
25883
25889
  "callbackArgs": []
25890
+ },
25891
+ "clickEvent": {
25892
+ "types": [
25893
+ "string"
25894
+ ],
25895
+ "description": "Event name dispatched via event bus when the pill body is clicked. Payload: { label }",
25896
+ "kind": "event-ref",
25897
+ "emitPayloadSchema": [
25898
+ {
25899
+ "name": "label",
25900
+ "type": "string",
25901
+ "required": true
25902
+ }
25903
+ ]
25904
+ },
25905
+ "removeEvent": {
25906
+ "types": [
25907
+ "string"
25908
+ ],
25909
+ "description": "Event name dispatched via event bus when the remove (×) button is clicked. Payload: { label }",
25910
+ "kind": "event-ref",
25911
+ "emitPayloadSchema": [
25912
+ {
25913
+ "name": "label",
25914
+ "type": "string",
25915
+ "required": true
25916
+ }
25917
+ ]
25884
25918
  }
25885
25919
  }
25886
25920
  },
25887
- "dunning-banner": {
25888
- "type": "dunning-banner",
25921
+ "likert-scale": {
25922
+ "type": "likert-scale",
25889
25923
  "category": "component",
25890
- "description": "DunningBanner component",
25924
+ "description": "LikertScale component",
25891
25925
  "suggestedFor": [
25892
- "dunning",
25893
- "banner",
25894
- "dunning banner"
25926
+ "likert",
25927
+ "scale",
25928
+ "likert scale"
25895
25929
  ],
25896
25930
  "typicalSize": "medium",
25897
25931
  "propsSchema": {
25898
- "severity": {
25932
+ "question": {
25899
25933
  "types": [
25900
25934
  "string"
25901
25935
  ],
25902
- "description": "severity prop",
25903
- "enumValues": [
25904
- "soft",
25905
- "urgent",
25906
- "final"
25907
- ]
25908
- },
25909
- "attemptNumber": {
25910
- "types": [
25911
- "number"
25912
- ],
25913
- "description": "attemptNumber prop"
25914
- },
25915
- "attemptsTotal": {
25916
- "types": [
25917
- "number"
25918
- ],
25919
- "description": "attemptsTotal prop"
25936
+ "description": "Optional row prompt above the scale"
25920
25937
  },
25921
- "failedAt": {
25938
+ "options": {
25922
25939
  "types": [
25923
- "string"
25940
+ "array"
25924
25941
  ],
25925
- "description": "failedAt prop"
25942
+ "description": "Scale points (defaults to a 5-point agree/disagree set)"
25926
25943
  },
25927
- "nextRetryAt": {
25944
+ "value": {
25928
25945
  "types": [
25946
+ "number",
25929
25947
  "string"
25930
25948
  ],
25931
- "description": "nextRetryAt prop"
25949
+ "description": "Selected value (controlled)"
25932
25950
  },
25933
- "amountDue": {
25951
+ "onChange": {
25934
25952
  "types": [
25935
- "number"
25953
+ "function"
25936
25954
  ],
25937
- "description": "amountDue prop"
25955
+ "description": "Change callback",
25956
+ "kind": "callback",
25957
+ "callbackArgs": [
25958
+ {
25959
+ "name": "value",
25960
+ "type": "number"
25961
+ }
25962
+ ]
25938
25963
  },
25939
- "currency": {
25964
+ "changeEvent": {
25940
25965
  "types": [
25941
25966
  "string"
25942
25967
  ],
25943
- "description": "currency prop"
25944
- },
25945
- "onUpdatePayment": {
25946
- "types": [
25947
- "function"
25948
- ],
25949
- "description": "onUpdatePayment prop",
25950
- "kind": "callback",
25951
- "callbackArgs": []
25968
+ "description": "Event name dispatched via event bus on change. Payload: { value: number | string }",
25969
+ "kind": "event-ref",
25970
+ "emitPayloadSchema": [
25971
+ {
25972
+ "name": "value",
25973
+ "type": "number",
25974
+ "required": true
25975
+ }
25976
+ ]
25952
25977
  },
25953
- "onContactSupport": {
25978
+ "disabled": {
25954
25979
  "types": [
25955
- "function"
25980
+ "boolean"
25956
25981
  ],
25957
- "description": "onContactSupport prop",
25958
- "kind": "callback",
25959
- "callbackArgs": []
25982
+ "description": "Disabled state"
25960
25983
  },
25961
- "onDismiss": {
25984
+ "size": {
25962
25985
  "types": [
25963
- "function"
25986
+ "string"
25964
25987
  ],
25965
- "description": "onDismiss prop",
25966
- "kind": "callback",
25967
- "callbackArgs": []
25988
+ "description": "Size variant",
25989
+ "enumValues": [
25990
+ "sm",
25991
+ "md",
25992
+ "lg"
25993
+ ]
25968
25994
  },
25969
- "dismissible": {
25995
+ "variant": {
25970
25996
  "types": [
25971
- "boolean"
25997
+ "string"
25972
25998
  ],
25973
- "description": "dismissible prop"
25999
+ "description": "Visual variant: classic radios or pill segmented buttons",
26000
+ "enumValues": [
26001
+ "radios",
26002
+ "buttons"
26003
+ ]
25974
26004
  },
25975
26005
  "className": {
25976
26006
  "types": [
25977
26007
  "string"
25978
26008
  ],
25979
- "description": "className prop"
26009
+ "description": "Additional CSS classes"
25980
26010
  }
25981
26011
  }
25982
26012
  },
25983
- "invoice": {
25984
- "type": "invoice",
26013
+ "matrix-question": {
26014
+ "type": "matrix-question",
25985
26015
  "category": "component",
25986
- "description": "Invoice component",
26016
+ "description": "MatrixQuestion component",
25987
26017
  "suggestedFor": [
25988
- "invoice"
26018
+ "matrix",
26019
+ "question",
26020
+ "matrix question"
25989
26021
  ],
25990
26022
  "typicalSize": "medium",
25991
26023
  "propsSchema": {
25992
- "invoiceNumber": {
25993
- "types": [
25994
- "string"
25995
- ],
25996
- "description": "invoiceNumber prop",
25997
- "required": true
25998
- },
25999
- "status": {
26000
- "types": [
26001
- "string"
26002
- ],
26003
- "description": "status prop",
26004
- "enumValues": [
26005
- "draft",
26006
- "sent",
26007
- "paid",
26008
- "overdue",
26009
- "void"
26010
- ]
26011
- },
26012
- "issuedAt": {
26013
- "types": [
26014
- "string"
26015
- ],
26016
- "description": "issuedAt prop",
26017
- "required": true
26018
- },
26019
- "dueAt": {
26024
+ "title": {
26020
26025
  "types": [
26021
26026
  "string"
26022
26027
  ],
26023
- "description": "dueAt prop",
26024
- "required": true
26025
- },
26026
- "from": {
26027
- "types": [
26028
- "object"
26029
- ],
26030
- "description": "from prop",
26031
- "required": true
26028
+ "description": "Optional title rendered above the matrix"
26032
26029
  },
26033
- "to": {
26030
+ "rows": {
26034
26031
  "types": [
26035
- "object"
26032
+ "array"
26036
26033
  ],
26037
- "description": "to prop",
26034
+ "description": "Question rows",
26038
26035
  "required": true
26039
26036
  },
26040
- "items": {
26037
+ "columns": {
26041
26038
  "types": [
26042
26039
  "array"
26043
26040
  ],
26044
- "description": "items prop",
26045
- "required": true
26041
+ "description": "Column definitions; defaults to 5-point Likert"
26046
26042
  },
26047
- "currency": {
26043
+ "values": {
26048
26044
  "types": [
26049
- "string"
26045
+ "object"
26050
26046
  ],
26051
- "description": "currency prop"
26047
+ "description": "Selected value per row, keyed by rowId"
26052
26048
  },
26053
- "taxRateDefault": {
26049
+ "onChange": {
26054
26050
  "types": [
26055
- "number"
26051
+ "function"
26056
26052
  ],
26057
- "description": "taxRateDefault prop"
26053
+ "description": "Change handler invoked with rowId and selected column value",
26054
+ "kind": "callback",
26055
+ "callbackArgs": [
26056
+ {
26057
+ "name": "rowId",
26058
+ "type": "string"
26059
+ },
26060
+ {
26061
+ "name": "value",
26062
+ "type": "number"
26063
+ }
26064
+ ]
26058
26065
  },
26059
- "notes": {
26066
+ "changeEvent": {
26060
26067
  "types": [
26061
26068
  "string"
26062
26069
  ],
26063
- "description": "notes prop"
26070
+ "description": "Event name dispatched via event bus when a row's value changes. Payload: { rowId, value }",
26071
+ "kind": "event-ref",
26072
+ "emitPayloadSchema": [
26073
+ {
26074
+ "name": "rowId",
26075
+ "type": "string",
26076
+ "required": true
26077
+ },
26078
+ {
26079
+ "name": "value",
26080
+ "type": "number",
26081
+ "required": true
26082
+ }
26083
+ ]
26064
26084
  },
26065
- "paymentUrl": {
26085
+ "disabled": {
26066
26086
  "types": [
26067
- "string"
26087
+ "boolean"
26068
26088
  ],
26069
- "description": "paymentUrl prop"
26089
+ "description": "Disable all inputs"
26070
26090
  },
26071
26091
  "size": {
26072
26092
  "types": [
26073
26093
  "string"
26074
26094
  ],
26075
- "description": "size prop",
26095
+ "description": "Visual size",
26076
26096
  "enumValues": [
26077
26097
  "sm",
26078
26098
  "md"
@@ -26082,636 +26102,83 @@
26082
26102
  "types": [
26083
26103
  "string"
26084
26104
  ],
26085
- "description": "className prop"
26105
+ "description": "Additional CSS classes"
26086
26106
  }
26087
26107
  }
26088
26108
  },
26089
- "kitchen-display-strip": {
26090
- "type": "kitchen-display-strip",
26109
+ "qr-scanner": {
26110
+ "type": "qr-scanner",
26091
26111
  "category": "component",
26092
- "description": "KitchenDisplayStrip component",
26112
+ "description": "QrScanner component",
26093
26113
  "suggestedFor": [
26094
- "kitchen",
26095
- "display",
26096
- "strip",
26097
- "kitchen display strip"
26114
+ "scanner",
26115
+ "qr scanner"
26098
26116
  ],
26099
26117
  "typicalSize": "medium",
26100
26118
  "propsSchema": {
26101
- "orderId": {
26102
- "types": [
26103
- "string"
26104
- ],
26105
- "description": "orderId prop",
26106
- "required": true
26107
- },
26108
- "tableLabel": {
26119
+ "onScan": {
26109
26120
  "types": [
26110
- "string"
26121
+ "function"
26111
26122
  ],
26112
- "description": "tableLabel prop"
26123
+ "description": "onScan prop",
26124
+ "kind": "callback",
26125
+ "callbackArgs": [
26126
+ {
26127
+ "name": "result",
26128
+ "type": "object"
26129
+ }
26130
+ ]
26113
26131
  },
26114
- "serverName": {
26132
+ "scanEvent": {
26115
26133
  "types": [
26116
26134
  "string"
26117
26135
  ],
26118
- "description": "serverName prop"
26136
+ "description": "scanEvent prop",
26137
+ "kind": "event-ref",
26138
+ "emitPayloadSchema": [
26139
+ {
26140
+ "name": "text",
26141
+ "type": "string",
26142
+ "required": true
26143
+ },
26144
+ {
26145
+ "name": "format",
26146
+ "type": "string",
26147
+ "required": true
26148
+ },
26149
+ {
26150
+ "name": "timestamp",
26151
+ "type": "number",
26152
+ "required": true
26153
+ }
26154
+ ]
26119
26155
  },
26120
- "items": {
26156
+ "onError": {
26121
26157
  "types": [
26122
- "array"
26158
+ "function"
26123
26159
  ],
26124
- "description": "items prop",
26125
- "required": true
26160
+ "description": "onError prop",
26161
+ "kind": "callback",
26162
+ "callbackArgs": [
26163
+ {
26164
+ "name": "error",
26165
+ "type": "object"
26166
+ }
26167
+ ]
26126
26168
  },
26127
- "status": {
26169
+ "facingMode": {
26128
26170
  "types": [
26129
26171
  "string"
26130
26172
  ],
26131
- "description": "status prop",
26173
+ "description": "facingMode prop",
26132
26174
  "enumValues": [
26133
- "pending",
26134
- "preparing",
26135
- "ready",
26136
- "served"
26175
+ "environment",
26176
+ "user"
26137
26177
  ]
26138
26178
  },
26139
- "receivedAt": {
26179
+ "paused": {
26140
26180
  "types": [
26141
- "number"
26142
- ],
26143
- "description": "receivedAt prop",
26144
- "required": true
26145
- },
26146
- "size": {
26147
- "types": [
26148
- "string"
26149
- ],
26150
- "description": "size prop",
26151
- "enumValues": [
26152
- "sm",
26153
- "md"
26154
- ]
26155
- },
26156
- "onMarkReady": {
26157
- "types": [
26158
- "function"
26159
- ],
26160
- "description": "onMarkReady prop",
26161
- "kind": "callback",
26162
- "callbackArgs": []
26163
- },
26164
- "onMarkServed": {
26165
- "types": [
26166
- "function"
26167
- ],
26168
- "description": "onMarkServed prop",
26169
- "kind": "callback",
26170
- "callbackArgs": []
26171
- },
26172
- "className": {
26173
- "types": [
26174
- "string"
26175
- ],
26176
- "description": "className prop"
26177
- }
26178
- }
26179
- },
26180
- "likert-scale": {
26181
- "type": "likert-scale",
26182
- "category": "component",
26183
- "description": "LikertScale component",
26184
- "suggestedFor": [
26185
- "likert",
26186
- "scale",
26187
- "likert scale"
26188
- ],
26189
- "typicalSize": "medium",
26190
- "propsSchema": {
26191
- "question": {
26192
- "types": [
26193
- "string"
26194
- ],
26195
- "description": "Optional row prompt above the scale"
26196
- },
26197
- "options": {
26198
- "types": [
26199
- "array"
26200
- ],
26201
- "description": "Scale points (defaults to a 5-point agree/disagree set)"
26202
- },
26203
- "value": {
26204
- "types": [
26205
- "number",
26206
- "string"
26207
- ],
26208
- "description": "Selected value (controlled)"
26209
- },
26210
- "onChange": {
26211
- "types": [
26212
- "function"
26213
- ],
26214
- "description": "Change callback",
26215
- "kind": "callback",
26216
- "callbackArgs": [
26217
- {
26218
- "name": "value",
26219
- "type": "number"
26220
- }
26221
- ]
26222
- },
26223
- "disabled": {
26224
- "types": [
26225
- "boolean"
26226
- ],
26227
- "description": "Disabled state"
26228
- },
26229
- "size": {
26230
- "types": [
26231
- "string"
26232
- ],
26233
- "description": "Size variant",
26234
- "enumValues": [
26235
- "sm",
26236
- "md",
26237
- "lg"
26238
- ]
26239
- },
26240
- "variant": {
26241
- "types": [
26242
- "string"
26243
- ],
26244
- "description": "Visual variant: classic radios or pill segmented buttons",
26245
- "enumValues": [
26246
- "radios",
26247
- "buttons"
26248
- ]
26249
- },
26250
- "className": {
26251
- "types": [
26252
- "string"
26253
- ],
26254
- "description": "Additional CSS classes"
26255
- }
26256
- }
26257
- },
26258
- "listing-card": {
26259
- "type": "listing-card",
26260
- "category": "display",
26261
- "description": "ListingCard component",
26262
- "suggestedFor": [
26263
- "listing",
26264
- "card",
26265
- "listing card"
26266
- ],
26267
- "typicalSize": "medium",
26268
- "propsSchema": {
26269
- "title": {
26270
- "types": [
26271
- "string"
26272
- ],
26273
- "description": "title prop",
26274
- "required": true
26275
- },
26276
- "imageUrl": {
26277
- "types": [
26278
- "string"
26279
- ],
26280
- "description": "imageUrl prop",
26281
- "required": true
26282
- },
26283
- "imageAlt": {
26284
- "types": [
26285
- "string"
26286
- ],
26287
- "description": "imageAlt prop"
26288
- },
26289
- "price": {
26290
- "types": [
26291
- "string"
26292
- ],
26293
- "description": "Pre-formatted price string (e.g. '$525,000', '$45/hr')"
26294
- },
26295
- "location": {
26296
- "types": [
26297
- "string"
26298
- ],
26299
- "description": "location prop"
26300
- },
26301
- "rating": {
26302
- "types": [
26303
- "number"
26304
- ],
26305
- "description": "Numeric rating 0-5"
26306
- },
26307
- "reviewCount": {
26308
- "types": [
26309
- "number"
26310
- ],
26311
- "description": "reviewCount prop"
26312
- },
26313
- "facts": {
26314
- "types": [
26315
- "array"
26316
- ],
26317
- "description": "2-4 quick stats with optional icons"
26318
- },
26319
- "badge": {
26320
- "types": [
26321
- "string"
26322
- ],
26323
- "description": "badge prop",
26324
- "enumValues": [
26325
- "new",
26326
- "featured",
26327
- "price-drop",
26328
- "sold",
26329
- "pending"
26330
- ]
26331
- },
26332
- "favorite": {
26333
- "types": [
26334
- "boolean"
26335
- ],
26336
- "description": "favorite prop"
26337
- },
26338
- "onFavoriteToggle": {
26339
- "types": [
26340
- "function"
26341
- ],
26342
- "description": "onFavoriteToggle prop",
26343
- "kind": "callback",
26344
- "callbackArgs": []
26345
- },
26346
- "onClick": {
26347
- "types": [
26348
- "function"
26349
- ],
26350
- "description": "onClick prop",
26351
- "kind": "callback",
26352
- "callbackArgs": []
26353
- },
26354
- "href": {
26355
- "types": [
26356
- "string"
26357
- ],
26358
- "description": "Optional link target. When provided, the card renders as an <a> wrapper."
26359
- },
26360
- "size": {
26361
- "types": [
26362
- "string"
26363
- ],
26364
- "description": "size prop",
26365
- "enumValues": [
26366
- "sm",
26367
- "md",
26368
- "lg"
26369
- ]
26370
- },
26371
- "layout": {
26372
- "types": [
26373
- "string"
26374
- ],
26375
- "description": "layout prop",
26376
- "enumValues": [
26377
- "vertical",
26378
- "horizontal"
26379
- ]
26380
- },
26381
- "className": {
26382
- "types": [
26383
- "string"
26384
- ],
26385
- "description": "className prop"
26386
- }
26387
- }
26388
- },
26389
- "matrix-question": {
26390
- "type": "matrix-question",
26391
- "category": "component",
26392
- "description": "MatrixQuestion component",
26393
- "suggestedFor": [
26394
- "matrix",
26395
- "question",
26396
- "matrix question"
26397
- ],
26398
- "typicalSize": "medium",
26399
- "propsSchema": {
26400
- "title": {
26401
- "types": [
26402
- "string"
26403
- ],
26404
- "description": "Optional title rendered above the matrix"
26405
- },
26406
- "rows": {
26407
- "types": [
26408
- "array"
26409
- ],
26410
- "description": "Question rows",
26411
- "required": true
26412
- },
26413
- "columns": {
26414
- "types": [
26415
- "array"
26416
- ],
26417
- "description": "Column definitions; defaults to 5-point Likert"
26418
- },
26419
- "values": {
26420
- "types": [
26421
- "object"
26422
- ],
26423
- "description": "Selected value per row, keyed by rowId"
26424
- },
26425
- "onChange": {
26426
- "types": [
26427
- "function"
26428
- ],
26429
- "description": "Change handler invoked with rowId and selected column value",
26430
- "kind": "callback",
26431
- "callbackArgs": [
26432
- {
26433
- "name": "rowId",
26434
- "type": "string"
26435
- },
26436
- {
26437
- "name": "value",
26438
- "type": "number"
26439
- }
26440
- ]
26441
- },
26442
- "disabled": {
26443
- "types": [
26444
- "boolean"
26445
- ],
26446
- "description": "Disable all inputs"
26447
- },
26448
- "size": {
26449
- "types": [
26450
- "string"
26451
- ],
26452
- "description": "Visual size",
26453
- "enumValues": [
26454
- "sm",
26455
- "md"
26456
- ]
26457
- },
26458
- "className": {
26459
- "types": [
26460
- "string"
26461
- ],
26462
- "description": "Additional CSS classes"
26463
- }
26464
- }
26465
- },
26466
- "moderation-queue-row": {
26467
- "type": "moderation-queue-row",
26468
- "category": "component",
26469
- "description": "ModerationQueueRow component",
26470
- "suggestedFor": [
26471
- "moderation",
26472
- "queue",
26473
- "row",
26474
- "moderation queue row"
26475
- ],
26476
- "typicalSize": "medium",
26477
- "propsSchema": {
26478
- "contentId": {
26479
- "types": [
26480
- "string"
26481
- ],
26482
- "description": "contentId prop",
26483
- "required": true
26484
- },
26485
- "authorName": {
26486
- "types": [
26487
- "string"
26488
- ],
26489
- "description": "authorName prop",
26490
- "required": true
26491
- },
26492
- "authorAvatarUrl": {
26493
- "types": [
26494
- "string"
26495
- ],
26496
- "description": "authorAvatarUrl prop"
26497
- },
26498
- "contentPreview": {
26499
- "types": [
26500
- "string"
26501
- ],
26502
- "description": "contentPreview prop",
26503
- "required": true
26504
- },
26505
- "contentType": {
26506
- "types": [
26507
- "string"
26508
- ],
26509
- "description": "contentType prop"
26510
- },
26511
- "flaggedAt": {
26512
- "types": [
26513
- "string"
26514
- ],
26515
- "description": "flaggedAt prop",
26516
- "required": true
26517
- },
26518
- "flagReason": {
26519
- "types": [
26520
- "string"
26521
- ],
26522
- "description": "flagReason prop",
26523
- "enumValues": [
26524
- "spam",
26525
- "abuse",
26526
- "off-topic",
26527
- "misinformation",
26528
- "nsfw",
26529
- "other"
26530
- ]
26531
- },
26532
- "flagCount": {
26533
- "types": [
26534
- "number"
26535
- ],
26536
- "description": "flagCount prop"
26537
- },
26538
- "reportedBy": {
26539
- "types": [
26540
- "string"
26541
- ],
26542
- "description": "reportedBy prop"
26543
- },
26544
- "onApprove": {
26545
- "types": [
26546
- "function"
26547
- ],
26548
- "description": "onApprove prop",
26549
- "kind": "callback",
26550
- "callbackArgs": []
26551
- },
26552
- "onReject": {
26553
- "types": [
26554
- "function"
26555
- ],
26556
- "description": "onReject prop",
26557
- "kind": "callback",
26558
- "callbackArgs": []
26559
- },
26560
- "onEscalate": {
26561
- "types": [
26562
- "function"
26563
- ],
26564
- "description": "onEscalate prop",
26565
- "kind": "callback",
26566
- "callbackArgs": []
26567
- },
26568
- "onView": {
26569
- "types": [
26570
- "function"
26571
- ],
26572
- "description": "onView prop",
26573
- "kind": "callback",
26574
- "callbackArgs": []
26575
- },
26576
- "className": {
26577
- "types": [
26578
- "string"
26579
- ],
26580
- "description": "className prop"
26581
- }
26582
- }
26583
- },
26584
- "modifier-group": {
26585
- "type": "modifier-group",
26586
- "category": "component",
26587
- "description": "ModifierGroup Molecule Component Restaurant POS item-customization selector with required/optional/multi constraints. Renders radio inputs for `single` constraint and checkboxes for `multi`. Reports validation errors inline when the current selection violates the constraint. **Atomic Design**: Composed using Typography atom and native form controls.",
26588
- "suggestedFor": [
26589
- "modifier",
26590
- "group",
26591
- "modifier group"
26592
- ],
26593
- "typicalSize": "medium",
26594
- "propsSchema": {
26595
- "groupId": {
26596
- "types": [
26597
- "string"
26598
- ],
26599
- "description": "groupId prop",
26600
- "required": true
26601
- },
26602
- "title": {
26603
- "types": [
26604
- "string"
26605
- ],
26606
- "description": "title prop",
26607
- "required": true
26608
- },
26609
- "description": {
26610
- "types": [
26611
- "string"
26612
- ],
26613
- "description": "description prop"
26614
- },
26615
- "options": {
26616
- "types": [
26617
- "array"
26618
- ],
26619
- "description": "options prop",
26620
- "required": true
26621
- },
26622
- "constraint": {
26623
- "types": [
26624
- "object"
26625
- ],
26626
- "description": "constraint prop",
26627
- "required": true
26628
- },
26629
- "selected": {
26630
- "types": [
26631
- "array"
26632
- ],
26633
- "description": "selected prop"
26634
- },
26635
- "onChange": {
26636
- "types": [
26637
- "function"
26638
- ],
26639
- "description": "onChange prop",
26640
- "kind": "callback",
26641
- "callbackArgs": [
26642
- {
26643
- "name": "selected",
26644
- "type": "array"
26645
- }
26646
- ]
26647
- },
26648
- "size": {
26649
- "types": [
26650
- "string"
26651
- ],
26652
- "description": "size prop",
26653
- "enumValues": [
26654
- "sm",
26655
- "md"
26656
- ]
26657
- },
26658
- "className": {
26659
- "types": [
26660
- "string"
26661
- ],
26662
- "description": "className prop"
26663
- }
26664
- }
26665
- },
26666
- "qr-scanner": {
26667
- "type": "qr-scanner",
26668
- "category": "component",
26669
- "description": "QrScanner component",
26670
- "suggestedFor": [
26671
- "scanner",
26672
- "qr scanner"
26673
- ],
26674
- "typicalSize": "medium",
26675
- "propsSchema": {
26676
- "onScan": {
26677
- "types": [
26678
- "function"
26679
- ],
26680
- "description": "onScan prop",
26681
- "kind": "callback",
26682
- "callbackArgs": [
26683
- {
26684
- "name": "result",
26685
- "type": "object"
26686
- }
26687
- ]
26688
- },
26689
- "onError": {
26690
- "types": [
26691
- "function"
26692
- ],
26693
- "description": "onError prop",
26694
- "kind": "callback",
26695
- "callbackArgs": [
26696
- {
26697
- "name": "error",
26698
- "type": "object"
26699
- }
26700
- ]
26701
- },
26702
- "facingMode": {
26703
- "types": [
26704
- "string"
26705
- ],
26706
- "description": "facingMode prop",
26707
- "enumValues": [
26708
- "environment",
26709
- "user"
26710
- ]
26711
- },
26712
- "paused": {
26713
- "types": [
26714
- "boolean"
26181
+ "boolean"
26715
26182
  ],
26716
26183
  "description": "paused prop"
26717
26184
  },
@@ -26741,108 +26208,6 @@
26741
26208
  }
26742
26209
  }
26743
26210
  },
26744
- "ticket-stub": {
26745
- "type": "ticket-stub",
26746
- "category": "component",
26747
- "description": "TicketStub component",
26748
- "suggestedFor": [
26749
- "ticket",
26750
- "stub",
26751
- "ticket stub"
26752
- ],
26753
- "typicalSize": "medium",
26754
- "propsSchema": {
26755
- "eventName": {
26756
- "types": [
26757
- "string"
26758
- ],
26759
- "description": "eventName prop",
26760
- "required": true
26761
- },
26762
- "date": {
26763
- "types": [
26764
- "string"
26765
- ],
26766
- "description": "date prop"
26767
- },
26768
- "venue": {
26769
- "types": [
26770
- "string"
26771
- ],
26772
- "description": "venue prop"
26773
- },
26774
- "tier": {
26775
- "types": [
26776
- "string"
26777
- ],
26778
- "description": "tier prop",
26779
- "required": true
26780
- },
26781
- "price": {
26782
- "types": [
26783
- "string",
26784
- "number"
26785
- ],
26786
- "description": "price prop",
26787
- "required": true
26788
- },
26789
- "currency": {
26790
- "types": [
26791
- "string"
26792
- ],
26793
- "description": "currency prop"
26794
- },
26795
- "attendeeName": {
26796
- "types": [
26797
- "string"
26798
- ],
26799
- "description": "attendeeName prop"
26800
- },
26801
- "ticketCode": {
26802
- "types": [
26803
- "string"
26804
- ],
26805
- "description": "ticketCode prop",
26806
- "required": true
26807
- },
26808
- "qrValue": {
26809
- "types": [
26810
- "string"
26811
- ],
26812
- "description": "qrValue prop"
26813
- },
26814
- "variant": {
26815
- "types": [
26816
- "string"
26817
- ],
26818
- "description": "variant prop",
26819
- "enumValues": [
26820
- "general",
26821
- "vip",
26822
- "early-bird",
26823
- "student",
26824
- "custom"
26825
- ]
26826
- },
26827
- "size": {
26828
- "types": [
26829
- "string"
26830
- ],
26831
- "description": "size prop",
26832
- "enumValues": [
26833
- "sm",
26834
- "md",
26835
- "lg"
26836
- ]
26837
- },
26838
- "className": {
26839
- "types": [
26840
- "string"
26841
- ],
26842
- "description": "className prop"
26843
- }
26844
- }
26845
- },
26846
26211
  "vote-stack": {
26847
26212
  "type": "vote-stack",
26848
26213
  "category": "component",
@@ -26868,7 +26233,8 @@
26868
26233
  "description": "Current user's vote (null = no vote cast)",
26869
26234
  "enumValues": [
26870
26235
  "up",
26871
- "down"
26236
+ "down",
26237
+ "none"
26872
26238
  ]
26873
26239
  },
26874
26240
  "onVote": {
@@ -26881,174 +26247,61 @@
26881
26247
  {
26882
26248
  "name": "next",
26883
26249
  "type": "string"
26884
- }
26885
- ]
26886
- },
26887
- "disabled": {
26888
- "types": [
26889
- "boolean"
26890
- ],
26891
- "description": "Disabled state"
26892
- },
26893
- "size": {
26894
- "types": [
26895
- "string"
26896
- ],
26897
- "description": "Size variant",
26898
- "enumValues": [
26899
- "sm",
26900
- "md",
26901
- "lg"
26902
- ]
26903
- },
26904
- "variant": {
26905
- "types": [
26906
- "string"
26907
- ],
26908
- "description": "Layout orientation. `vertical` = forum/Q&A column; `horizontal` = compact row.",
26909
- "enumValues": [
26910
- "vertical",
26911
- "horizontal"
26912
- ]
26913
- },
26914
- "className": {
26915
- "types": [
26916
- "string"
26917
- ],
26918
- "description": "Additional CSS classes"
26919
- },
26920
- "label": {
26921
- "types": [
26922
- "string"
26923
- ],
26924
- "description": "Accessible label for the group"
26925
- }
26926
- }
26927
- },
26928
- "work-order-card": {
26929
- "type": "work-order-card",
26930
- "category": "display",
26931
- "description": "WorkOrderCard component",
26932
- "suggestedFor": [
26933
- "work",
26934
- "order",
26935
- "card",
26936
- "work order card"
26937
- ],
26938
- "typicalSize": "medium",
26939
- "propsSchema": {
26940
- "orderId": {
26941
- "types": [
26942
- "string"
26943
- ],
26944
- "description": "Work order identifier (e.g. \"WO-1042\")",
26945
- "required": true
26946
- },
26947
- "customerName": {
26948
- "types": [
26949
- "string"
26950
- ],
26951
- "description": "Customer name",
26952
- "required": true
26953
- },
26954
- "serviceType": {
26955
- "types": [
26956
- "string"
26957
- ],
26958
- "description": "Service type description (e.g. \"Plumbing repair\")",
26959
- "required": true
26960
- },
26961
- "address": {
26962
- "types": [
26963
- "string"
26964
- ],
26965
- "description": "Service address",
26966
- "required": true
26967
- },
26968
- "scheduledAt": {
26969
- "types": [
26970
- "string"
26971
- ],
26972
- "description": "Scheduled date/time, rendered as-is"
26973
- },
26974
- "etaMinutes": {
26975
- "types": [
26976
- "number"
26977
- ],
26978
- "description": "ETA in minutes; surfaced only when status is 'en-route'"
26979
- },
26980
- "assignedTo": {
26981
- "types": [
26982
- "string"
26983
- ],
26984
- "description": "Assigned technician name; rendered as \"Unassigned\" when omitted"
26250
+ }
26251
+ ]
26985
26252
  },
26986
- "status": {
26253
+ "voteEvent": {
26987
26254
  "types": [
26988
26255
  "string"
26989
26256
  ],
26990
- "description": "Current dispatch status",
26991
- "enumValues": [
26992
- "created",
26993
- "assigned",
26994
- "en-route",
26995
- "on-site",
26996
- "completed",
26997
- "cancelled"
26257
+ "description": "Event name dispatched on the bus when a vote is cast. Payload: { next: VoteValue }.",
26258
+ "kind": "event-ref",
26259
+ "emitPayloadSchema": [
26260
+ {
26261
+ "name": "next",
26262
+ "type": "string",
26263
+ "required": true
26264
+ }
26998
26265
  ]
26999
26266
  },
27000
- "priority": {
26267
+ "disabled": {
27001
26268
  "types": [
27002
- "string"
26269
+ "boolean"
27003
26270
  ],
27004
- "description": "Priority level",
27005
- "enumValues": [
27006
- "low",
27007
- "normal",
27008
- "high",
27009
- "urgent"
27010
- ]
26271
+ "description": "Disabled state"
27011
26272
  },
27012
26273
  "size": {
27013
26274
  "types": [
27014
26275
  "string"
27015
26276
  ],
27016
- "description": "Card size affecting padding and typography",
26277
+ "description": "Size variant",
27017
26278
  "enumValues": [
27018
26279
  "sm",
27019
26280
  "md",
27020
26281
  "lg"
27021
26282
  ]
27022
26283
  },
27023
- "onAssign": {
27024
- "types": [
27025
- "function"
27026
- ],
27027
- "description": "Handler for the Assign action",
27028
- "kind": "callback",
27029
- "callbackArgs": []
27030
- },
27031
- "onViewRoute": {
26284
+ "variant": {
27032
26285
  "types": [
27033
- "function"
26286
+ "string"
27034
26287
  ],
27035
- "description": "Handler for the View Route action",
27036
- "kind": "callback",
27037
- "callbackArgs": []
26288
+ "description": "Layout orientation. `vertical` = forum/Q&A column; `horizontal` = compact row.",
26289
+ "enumValues": [
26290
+ "vertical",
26291
+ "horizontal"
26292
+ ]
27038
26293
  },
27039
- "onMarkCompleted": {
26294
+ "className": {
27040
26295
  "types": [
27041
- "function"
26296
+ "string"
27042
26297
  ],
27043
- "description": "Handler for the Mark Completed action",
27044
- "kind": "callback",
27045
- "callbackArgs": []
26298
+ "description": "Additional CSS classes"
27046
26299
  },
27047
- "className": {
26300
+ "label": {
27048
26301
  "types": [
27049
26302
  "string"
27050
26303
  ],
27051
- "description": "Additional class names"
26304
+ "description": "Accessible label for the group"
27052
26305
  }
27053
26306
  }
27054
26307
  },
@@ -27066,16 +26319,18 @@
27066
26319
  "propsSchema": {
27067
26320
  "questions": {
27068
26321
  "types": [
27069
- "array"
26322
+ "array",
26323
+ "object"
27070
26324
  ],
27071
26325
  "description": "questions prop",
27072
26326
  "required": true
27073
26327
  },
27074
26328
  "rules": {
27075
26329
  "types": [
27076
- "array"
26330
+ "array",
26331
+ "object"
27077
26332
  ],
27078
- "description": "rules prop",
26333
+ "description": "Rules. Accepts either a typed array (direct consumers) or the runtime payload shape from a render-ui binding (`@payload.data`). Narrowed to `[]` internally when the value isn't an array.",
27079
26334
  "required": true
27080
26335
  },
27081
26336
  "onRulesChange": {
@@ -27091,6 +26346,20 @@
27091
26346
  }
27092
26347
  ]
27093
26348
  },
26349
+ "rulesChangeEvent": {
26350
+ "types": [
26351
+ "string"
26352
+ ],
26353
+ "description": "Event name dispatched via event bus when rules change. Payload: `{ rules }`.",
26354
+ "kind": "event-ref",
26355
+ "emitPayloadSchema": [
26356
+ {
26357
+ "name": "rules",
26358
+ "type": "array",
26359
+ "required": true
26360
+ }
26361
+ ]
26362
+ },
27094
26363
  "readOnly": {
27095
26364
  "types": [
27096
26365
  "boolean"
@@ -27185,6 +26454,67 @@
27185
26454
  }
27186
26455
  ]
27187
26456
  },
26457
+ "voteEvent": {
26458
+ "types": [
26459
+ "string"
26460
+ ],
26461
+ "description": "voteEvent prop",
26462
+ "kind": "event-ref",
26463
+ "emitPayloadSchema": [
26464
+ {
26465
+ "name": "nodeId",
26466
+ "type": "string",
26467
+ "required": true
26468
+ },
26469
+ {
26470
+ "name": "vote",
26471
+ "type": "string",
26472
+ "required": true
26473
+ }
26474
+ ]
26475
+ },
26476
+ "replyEvent": {
26477
+ "types": [
26478
+ "string"
26479
+ ],
26480
+ "description": "replyEvent prop",
26481
+ "kind": "event-ref",
26482
+ "emitPayloadSchema": [
26483
+ {
26484
+ "name": "parentNodeId",
26485
+ "type": "string",
26486
+ "required": true
26487
+ }
26488
+ ]
26489
+ },
26490
+ "flagEvent": {
26491
+ "types": [
26492
+ "string"
26493
+ ],
26494
+ "description": "flagEvent prop",
26495
+ "kind": "event-ref",
26496
+ "emitPayloadSchema": [
26497
+ {
26498
+ "name": "nodeId",
26499
+ "type": "string",
26500
+ "required": true
26501
+ }
26502
+ ]
26503
+ },
26504
+ "continueThreadEvent": {
26505
+ "types": [
26506
+ "string"
26507
+ ],
26508
+ "description": "continueThreadEvent prop",
26509
+ "kind": "event-ref",
26510
+ "emitPayloadSchema": [
26511
+ {
26512
+ "name": "nodeId",
26513
+ "type": "string",
26514
+ "required": true
26515
+ }
26516
+ ]
26517
+ },
27188
26518
  "showActions": {
27189
26519
  "types": [
27190
26520
  "boolean"
@@ -27215,7 +26545,7 @@
27215
26545
  "types": [
27216
26546
  "array"
27217
26547
  ],
27218
- "description": "initialBlocks prop"
26548
+ "description": "Initial block payload. Accepts strongly-typed RichBlock[] from native callers and the wider EntityRow[] shape that orb-bound traits emit (orb `[object]` lowers to `Record<string, FieldValue | undefined>[]`, which is structurally EntityRow[]). Items missing id/type are normalized into paragraph blocks at mount."
27219
26549
  },
27220
26550
  "onChange": {
27221
26551
  "types": [
@@ -27230,118 +26560,270 @@
27230
26560
  }
27231
26561
  ]
27232
26562
  },
27233
- "readOnly": {
27234
- "types": [
27235
- "boolean"
27236
- ],
27237
- "description": "readOnly prop"
27238
- },
27239
- "placeholder": {
26563
+ "changeEvent": {
26564
+ "types": [
26565
+ "string"
26566
+ ],
26567
+ "description": "changeEvent prop",
26568
+ "kind": "event-ref",
26569
+ "emitPayloadSchema": [
26570
+ {
26571
+ "name": "blocks",
26572
+ "type": "array",
26573
+ "required": true
26574
+ }
26575
+ ]
26576
+ },
26577
+ "readOnly": {
26578
+ "types": [
26579
+ "boolean"
26580
+ ],
26581
+ "description": "readOnly prop"
26582
+ },
26583
+ "placeholder": {
26584
+ "types": [
26585
+ "string"
26586
+ ],
26587
+ "description": "placeholder prop"
26588
+ },
26589
+ "showToolbar": {
26590
+ "types": [
26591
+ "boolean"
26592
+ ],
26593
+ "description": "showToolbar prop"
26594
+ },
26595
+ "className": {
26596
+ "types": [
26597
+ "string"
26598
+ ],
26599
+ "description": "className prop"
26600
+ }
26601
+ }
26602
+ },
26603
+ "version-diff": {
26604
+ "type": "version-diff",
26605
+ "category": "display",
26606
+ "description": "VersionDiff component",
26607
+ "suggestedFor": [
26608
+ "version",
26609
+ "diff",
26610
+ "version diff"
26611
+ ],
26612
+ "typicalSize": "large",
26613
+ "propsSchema": {
26614
+ "revisions": {
26615
+ "types": [
26616
+ "array",
26617
+ "object"
26618
+ ],
26619
+ "description": "All available revisions (at least 2). Accepts either a typed array (direct consumers) or the runtime payload shape from a render-ui binding (`@payload.revisions`). Narrowed to `[]` internally when the value isn't an array.",
26620
+ "required": true
26621
+ },
26622
+ "beforeId": {
26623
+ "types": [
26624
+ "string"
26625
+ ],
26626
+ "description": "Currently selected \"before\" revision id."
26627
+ },
26628
+ "afterId": {
26629
+ "types": [
26630
+ "string"
26631
+ ],
26632
+ "description": "Currently selected \"after\" revision id."
26633
+ },
26634
+ "view": {
26635
+ "types": [
26636
+ "string"
26637
+ ],
26638
+ "description": "Display mode.",
26639
+ "enumValues": [
26640
+ "side-by-side",
26641
+ "inline"
26642
+ ]
26643
+ },
26644
+ "onSelectBefore": {
26645
+ "types": [
26646
+ "function"
26647
+ ],
26648
+ "description": "Called when the user picks a different \"before\" revision.",
26649
+ "kind": "callback",
26650
+ "callbackArgs": [
26651
+ {
26652
+ "name": "id",
26653
+ "type": "string"
26654
+ }
26655
+ ]
26656
+ },
26657
+ "onSelectAfter": {
26658
+ "types": [
26659
+ "function"
26660
+ ],
26661
+ "description": "Called when the user picks a different \"after\" revision.",
26662
+ "kind": "callback",
26663
+ "callbackArgs": [
26664
+ {
26665
+ "name": "id",
26666
+ "type": "string"
26667
+ }
26668
+ ]
26669
+ },
26670
+ "onRevert": {
26671
+ "types": [
26672
+ "function"
26673
+ ],
26674
+ "description": "Called when the user clicks the revert button (passes the \"before\" id).",
26675
+ "kind": "callback",
26676
+ "callbackArgs": [
26677
+ {
26678
+ "name": "id",
26679
+ "type": "string"
26680
+ }
26681
+ ]
26682
+ },
26683
+ "selectBeforeEvent": {
26684
+ "types": [
26685
+ "string"
26686
+ ],
26687
+ "description": "Event name dispatched via event bus when the \"before\" revision changes. Payload: { id }.",
26688
+ "kind": "event-ref",
26689
+ "emitPayloadSchema": [
26690
+ {
26691
+ "name": "id",
26692
+ "type": "string",
26693
+ "required": true
26694
+ }
26695
+ ]
26696
+ },
26697
+ "selectAfterEvent": {
26698
+ "types": [
26699
+ "string"
26700
+ ],
26701
+ "description": "Event name dispatched via event bus when the \"after\" revision changes. Payload: { id }.",
26702
+ "kind": "event-ref",
26703
+ "emitPayloadSchema": [
26704
+ {
26705
+ "name": "id",
26706
+ "type": "string",
26707
+ "required": true
26708
+ }
26709
+ ]
26710
+ },
26711
+ "revertEvent": {
27240
26712
  "types": [
27241
26713
  "string"
27242
26714
  ],
27243
- "description": "placeholder prop"
26715
+ "description": "Event name dispatched via event bus when the user clicks revert. Payload: { id }.",
26716
+ "kind": "event-ref",
26717
+ "emitPayloadSchema": [
26718
+ {
26719
+ "name": "id",
26720
+ "type": "string",
26721
+ "required": true
26722
+ }
26723
+ ]
27244
26724
  },
27245
- "showToolbar": {
26725
+ "language": {
27246
26726
  "types": [
27247
- "boolean"
26727
+ "string"
27248
26728
  ],
27249
- "description": "showToolbar prop"
26729
+ "description": "Language label (informational)."
27250
26730
  },
27251
26731
  "className": {
27252
26732
  "types": [
27253
26733
  "string"
27254
26734
  ],
27255
- "description": "className prop"
26735
+ "description": "Additional CSS classes."
27256
26736
  }
27257
26737
  }
27258
26738
  },
27259
- "route-map": {
27260
- "type": "route-map",
27261
- "category": "display",
27262
- "description": "RouteMap component",
26739
+ "option-constraint-group": {
26740
+ "type": "option-constraint-group",
26741
+ "category": "component",
26742
+ "description": "OptionConstraintGroup Molecule Component Generic constrained option selector (radio for \"single\", checkbox for \"multi\") with required/optional/multi constraints. Renders radio inputs for `single` constraint and checkboxes for `multi`. Reports validation errors inline when the current selection violates the constraint. **Atomic Design**: Composed using Typography atom and native form controls.",
27263
26743
  "suggestedFor": [
27264
- "route",
27265
- "map",
27266
- "route map"
26744
+ "option",
26745
+ "constraint",
26746
+ "group",
26747
+ "option constraint group"
27267
26748
  ],
27268
- "typicalSize": "large",
26749
+ "typicalSize": "medium",
27269
26750
  "propsSchema": {
27270
- "stops": {
26751
+ "groupId": {
27271
26752
  "types": [
27272
- "array"
26753
+ "string"
27273
26754
  ],
27274
- "description": "stops prop",
26755
+ "description": "groupId prop",
27275
26756
  "required": true
27276
26757
  },
27277
- "origin": {
26758
+ "title": {
27278
26759
  "types": [
27279
- "object"
26760
+ "string"
27280
26761
  ],
27281
- "description": "origin prop"
26762
+ "description": "title prop",
26763
+ "required": true
27282
26764
  },
27283
- "selectedStopId": {
26765
+ "description": {
27284
26766
  "types": [
27285
26767
  "string"
27286
26768
  ],
27287
- "description": "selectedStopId prop"
26769
+ "description": "description prop"
27288
26770
  },
27289
- "editable": {
26771
+ "options": {
27290
26772
  "types": [
27291
- "boolean"
26773
+ "array"
27292
26774
  ],
27293
- "description": "editable prop"
26775
+ "description": "options prop",
26776
+ "required": true
27294
26777
  },
27295
- "onSelectStop": {
26778
+ "constraint": {
27296
26779
  "types": [
27297
- "function"
26780
+ "object"
27298
26781
  ],
27299
- "description": "onSelectStop prop",
27300
- "kind": "callback",
27301
- "callbackArgs": [
27302
- {
27303
- "name": "id",
27304
- "type": "string"
27305
- }
27306
- ]
26782
+ "description": "constraint prop",
26783
+ "required": true
26784
+ },
26785
+ "selected": {
26786
+ "types": [
26787
+ "array"
26788
+ ],
26789
+ "description": "selected prop"
27307
26790
  },
27308
- "onReorderStops": {
26791
+ "onChange": {
27309
26792
  "types": [
27310
26793
  "function"
27311
26794
  ],
27312
- "description": "onReorderStops prop",
26795
+ "description": "onChange prop",
27313
26796
  "kind": "callback",
27314
26797
  "callbackArgs": [
27315
26798
  {
27316
- "name": "newOrder",
26799
+ "name": "selected",
27317
26800
  "type": "array"
27318
26801
  }
27319
26802
  ]
27320
26803
  },
27321
- "onSkipStop": {
26804
+ "changeEvent": {
27322
26805
  "types": [
27323
- "function"
26806
+ "string"
27324
26807
  ],
27325
- "description": "onSkipStop prop",
27326
- "kind": "callback",
27327
- "callbackArgs": [
26808
+ "description": "changeEvent prop",
26809
+ "kind": "event-ref",
26810
+ "emitPayloadSchema": [
27328
26811
  {
27329
- "name": "id",
27330
- "type": "string"
26812
+ "name": "selected",
26813
+ "type": "array",
26814
+ "required": true
27331
26815
  }
27332
26816
  ]
27333
26817
  },
27334
- "totalDistanceKm": {
27335
- "types": [
27336
- "number"
27337
- ],
27338
- "description": "totalDistanceKm prop"
27339
- },
27340
- "totalDurationMinutes": {
26818
+ "size": {
27341
26819
  "types": [
27342
- "number"
26820
+ "string"
27343
26821
  ],
27344
- "description": "totalDurationMinutes prop"
26822
+ "description": "size prop",
26823
+ "enumValues": [
26824
+ "sm",
26825
+ "md"
26826
+ ]
27345
26827
  },
27346
26828
  "className": {
27347
26829
  "types": [
@@ -27351,23 +26833,23 @@
27351
26833
  }
27352
26834
  }
27353
26835
  },
27354
- "table-floor-plan": {
27355
- "type": "table-floor-plan",
27356
- "category": "display",
27357
- "description": "TableFloorPlan component",
26836
+ "positioned-canvas": {
26837
+ "type": "positioned-canvas",
26838
+ "category": "game",
26839
+ "description": "PositionedCanvas component",
27358
26840
  "suggestedFor": [
27359
- "table",
27360
- "floor",
27361
- "plan",
27362
- "table floor plan"
26841
+ "positioned",
26842
+ "canvas",
26843
+ "positioned canvas"
27363
26844
  ],
27364
- "typicalSize": "large",
26845
+ "typicalSize": "medium",
27365
26846
  "propsSchema": {
27366
- "tables": {
26847
+ "items": {
27367
26848
  "types": [
27368
- "array"
26849
+ "array",
26850
+ "object"
27369
26851
  ],
27370
- "description": "tables prop",
26852
+ "description": "Items to render. Accepts either a typed array (direct consumers) or the runtime payload shape from a render-ui binding (`@payload.data`). The molecule narrows non-array values to `[]` and validates element shape at render time via the `id` / `x` / `y` guards.",
27371
26853
  "required": true
27372
26854
  },
27373
26855
  "width": {
@@ -27428,183 +26910,49 @@
27428
26910
  }
27429
26911
  ]
27430
26912
  },
27431
- "className": {
27432
- "types": [
27433
- "string"
27434
- ],
27435
- "description": "className prop"
27436
- }
27437
- }
27438
- },
27439
- "vendor-onboarding-stepper": {
27440
- "type": "vendor-onboarding-stepper",
27441
- "category": "game",
27442
- "description": "VendorOnboardingStepper component",
27443
- "suggestedFor": [
27444
- "vendor",
27445
- "onboarding",
27446
- "stepper",
27447
- "vendor onboarding stepper"
27448
- ],
27449
- "typicalSize": "large",
27450
- "propsSchema": {
27451
- "initialStep": {
26913
+ "selectEvent": {
27452
26914
  "types": [
27453
26915
  "string"
27454
26916
  ],
27455
- "description": "initialStep prop",
27456
- "enumValues": [
27457
- "business-info",
27458
- "tax-id",
27459
- "bank-link",
27460
- "identity-verify",
27461
- "review",
27462
- "submitted"
27463
- ]
27464
- },
27465
- "initialState": {
27466
- "types": [
27467
- "object"
27468
- ],
27469
- "description": "initialState prop"
27470
- },
27471
- "onSubmit": {
27472
- "types": [
27473
- "function"
27474
- ],
27475
- "description": "onSubmit prop",
27476
- "kind": "callback",
27477
- "callbackArgs": [
27478
- {
27479
- "name": "state",
27480
- "type": "object"
27481
- }
27482
- ]
27483
- },
27484
- "onStepChange": {
27485
- "types": [
27486
- "function"
27487
- ],
27488
- "description": "onStepChange prop",
27489
- "kind": "callback",
27490
- "callbackArgs": [
27491
- {
27492
- "name": "step",
27493
- "type": "string"
27494
- }
27495
- ]
27496
- },
27497
- "onSaveDraft": {
27498
- "types": [
27499
- "function"
27500
- ],
27501
- "description": "onSaveDraft prop",
27502
- "kind": "callback",
27503
- "callbackArgs": [
26917
+ "description": "selectEvent prop",
26918
+ "kind": "event-ref",
26919
+ "emitPayloadSchema": [
27504
26920
  {
27505
- "name": "state",
27506
- "type": "object"
26921
+ "name": "id",
26922
+ "type": "string",
26923
+ "required": true
27507
26924
  }
27508
26925
  ]
27509
26926
  },
27510
- "className": {
27511
- "types": [
27512
- "string"
27513
- ],
27514
- "description": "className prop"
27515
- }
27516
- }
27517
- },
27518
- "version-diff": {
27519
- "type": "version-diff",
27520
- "category": "display",
27521
- "description": "VersionDiff component",
27522
- "suggestedFor": [
27523
- "version",
27524
- "diff",
27525
- "version diff"
27526
- ],
27527
- "typicalSize": "large",
27528
- "propsSchema": {
27529
- "revisions": {
27530
- "types": [
27531
- "array"
27532
- ],
27533
- "description": "All available revisions (at least 2).",
27534
- "required": true
27535
- },
27536
- "beforeId": {
27537
- "types": [
27538
- "string"
27539
- ],
27540
- "description": "Currently selected \"before\" revision id."
27541
- },
27542
- "afterId": {
27543
- "types": [
27544
- "string"
27545
- ],
27546
- "description": "Currently selected \"after\" revision id."
27547
- },
27548
- "view": {
26927
+ "moveEvent": {
27549
26928
  "types": [
27550
26929
  "string"
27551
26930
  ],
27552
- "description": "Display mode.",
27553
- "enumValues": [
27554
- "side-by-side",
27555
- "inline"
27556
- ]
27557
- },
27558
- "onSelectBefore": {
27559
- "types": [
27560
- "function"
27561
- ],
27562
- "description": "Called when the user picks a different \"before\" revision.",
27563
- "kind": "callback",
27564
- "callbackArgs": [
26931
+ "description": "moveEvent prop",
26932
+ "kind": "event-ref",
26933
+ "emitPayloadSchema": [
27565
26934
  {
27566
26935
  "name": "id",
27567
- "type": "string"
27568
- }
27569
- ]
27570
- },
27571
- "onSelectAfter": {
27572
- "types": [
27573
- "function"
27574
- ],
27575
- "description": "Called when the user picks a different \"after\" revision.",
27576
- "kind": "callback",
27577
- "callbackArgs": [
26936
+ "type": "string",
26937
+ "required": true
26938
+ },
27578
26939
  {
27579
- "name": "id",
27580
- "type": "string"
27581
- }
27582
- ]
27583
- },
27584
- "onRevert": {
27585
- "types": [
27586
- "function"
27587
- ],
27588
- "description": "Called when the user clicks the revert button (passes the \"before\" id).",
27589
- "kind": "callback",
27590
- "callbackArgs": [
26940
+ "name": "x",
26941
+ "type": "number",
26942
+ "required": true
26943
+ },
27591
26944
  {
27592
- "name": "id",
27593
- "type": "string"
26945
+ "name": "y",
26946
+ "type": "number",
26947
+ "required": true
27594
26948
  }
27595
26949
  ]
27596
26950
  },
27597
- "language": {
27598
- "types": [
27599
- "string"
27600
- ],
27601
- "description": "Language label (informational)."
27602
- },
27603
26951
  "className": {
27604
26952
  "types": [
27605
26953
  "string"
27606
26954
  ],
27607
- "description": "Additional CSS classes."
26955
+ "description": "className prop"
27608
26956
  }
27609
26957
  }
27610
26958
  },