@almadar/patterns 2.30.12 → 2.31.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-05-26T02:27:33.609Z",
3
+ "exportedAt": "2026-05-29T00:33:20.610Z",
4
4
  "patterns": {
5
5
  "entity-table": {
6
6
  "type": "entity-table",
@@ -4168,6 +4168,12 @@
4168
4168
  ],
4169
4169
  "typicalSize": "medium",
4170
4170
  "propsSchema": {
4171
+ "className": {
4172
+ "types": [
4173
+ "string"
4174
+ ],
4175
+ "description": "Additional CSS classes applied to the root element."
4176
+ },
4171
4177
  "padding": {
4172
4178
  "types": [
4173
4179
  "string"
@@ -4792,6 +4798,12 @@
4792
4798
  ],
4793
4799
  "typicalSize": "tiny",
4794
4800
  "propsSchema": {
4801
+ "className": {
4802
+ "types": [
4803
+ "string"
4804
+ ],
4805
+ "description": "Additional CSS classes applied to the root element."
4806
+ },
4795
4807
  "variant": {
4796
4808
  "types": [
4797
4809
  "string"
@@ -4897,6 +4909,12 @@
4897
4909
  ],
4898
4910
  "typicalSize": "tiny",
4899
4911
  "propsSchema": {
4912
+ "className": {
4913
+ "types": [
4914
+ "string"
4915
+ ],
4916
+ "description": "Additional CSS classes applied to the root element."
4917
+ },
4900
4918
  "variant": {
4901
4919
  "types": [
4902
4920
  "string"
@@ -5151,6 +5169,12 @@
5151
5169
  ],
5152
5170
  "typicalSize": "small",
5153
5171
  "propsSchema": {
5172
+ "className": {
5173
+ "types": [
5174
+ "string"
5175
+ ],
5176
+ "description": "Additional CSS classes applied to the root element."
5177
+ },
5154
5178
  "variant": {
5155
5179
  "types": [
5156
5180
  "string"
@@ -5205,7 +5229,7 @@
5205
5229
  "types": [
5206
5230
  "string"
5207
5231
  ],
5208
- "description": "Layer 2 visual treatment. Picks the chrome (border, shadow, radius, padding-intent) independently of the semantic variant. Resolution chain lives in the compiler — see docs/Almadar_Std_Variations.md §3.1.",
5232
+ "description": "Layer 2 visual treatment orthogonal to the semantic variant.",
5209
5233
  "enumValues": [
5210
5234
  "elevated",
5211
5235
  "flat-bordered",
@@ -5346,6 +5370,12 @@
5346
5370
  ],
5347
5371
  "typicalSize": "tiny",
5348
5372
  "propsSchema": {
5373
+ "className": {
5374
+ "types": [
5375
+ "string"
5376
+ ],
5377
+ "description": "Additional CSS classes applied to the root element."
5378
+ },
5349
5379
  "size": {
5350
5380
  "types": [
5351
5381
  "string"
@@ -5372,6 +5402,12 @@
5372
5402
  ],
5373
5403
  "typicalSize": "tiny",
5374
5404
  "propsSchema": {
5405
+ "className": {
5406
+ "types": [
5407
+ "string"
5408
+ ],
5409
+ "description": "Additional CSS classes applied to the root element."
5410
+ },
5375
5411
  "placeholder": {
5376
5412
  "types": [
5377
5413
  "string"
@@ -5510,6 +5546,12 @@
5510
5546
  ],
5511
5547
  "typicalSize": "small",
5512
5548
  "propsSchema": {
5549
+ "className": {
5550
+ "types": [
5551
+ "string"
5552
+ ],
5553
+ "description": "Additional CSS classes applied to the root element."
5554
+ },
5513
5555
  "placeholder": {
5514
5556
  "types": [
5515
5557
  "string"
@@ -5548,6 +5590,12 @@
5548
5590
  ],
5549
5591
  "typicalSize": "tiny",
5550
5592
  "propsSchema": {
5593
+ "className": {
5594
+ "types": [
5595
+ "string"
5596
+ ],
5597
+ "description": "Additional CSS classes applied to the root element."
5598
+ },
5551
5599
  "options": {
5552
5600
  "types": [
5553
5601
  "array"
@@ -5614,6 +5662,12 @@
5614
5662
  ],
5615
5663
  "typicalSize": "tiny",
5616
5664
  "propsSchema": {
5665
+ "className": {
5666
+ "types": [
5667
+ "string"
5668
+ ],
5669
+ "description": "Additional CSS classes applied to the root element."
5670
+ },
5617
5671
  "checked": {
5618
5672
  "types": [
5619
5673
  "boolean"
@@ -5644,6 +5698,12 @@
5644
5698
  ],
5645
5699
  "typicalSize": "tiny",
5646
5700
  "propsSchema": {
5701
+ "className": {
5702
+ "types": [
5703
+ "string"
5704
+ ],
5705
+ "description": "Additional CSS classes applied to the root element."
5706
+ },
5647
5707
  "options": {
5648
5708
  "types": [
5649
5709
  "array"
@@ -5780,6 +5840,12 @@
5780
5840
  ],
5781
5841
  "typicalSize": "tiny",
5782
5842
  "propsSchema": {
5843
+ "className": {
5844
+ "types": [
5845
+ "string"
5846
+ ],
5847
+ "description": "Additional CSS classes applied to the root element."
5848
+ },
5783
5849
  "text": {
5784
5850
  "types": [
5785
5851
  "string"
@@ -13340,7 +13406,8 @@
13340
13406
  "striped",
13341
13407
  "borderless",
13342
13408
  "card-rows"
13343
- ]
13409
+ ],
13410
+ "default": "dense"
13344
13411
  }
13345
13412
  }
13346
13413
  },
@@ -13755,7 +13822,8 @@
13755
13822
  "striped",
13756
13823
  "borderless",
13757
13824
  "card-rows"
13758
- ]
13825
+ ],
13826
+ "default": "dense"
13759
13827
  }
13760
13828
  }
13761
13829
  },
@@ -14034,6 +14102,12 @@
14034
14102
  ],
14035
14103
  "typicalSize": "small",
14036
14104
  "propsSchema": {
14105
+ "className": {
14106
+ "types": [
14107
+ "string"
14108
+ ],
14109
+ "description": "Additional CSS classes applied to the root element."
14110
+ },
14037
14111
  "min": {
14038
14112
  "types": [
14039
14113
  "number"
@@ -14153,6 +14227,12 @@
14153
14227
  ],
14154
14228
  "typicalSize": "small",
14155
14229
  "propsSchema": {
14230
+ "className": {
14231
+ "types": [
14232
+ "string"
14233
+ ],
14234
+ "description": "Additional CSS classes applied to the root element."
14235
+ },
14156
14236
  "status": {
14157
14237
  "types": [
14158
14238
  "string"
@@ -14206,6 +14286,12 @@
14206
14286
  ],
14207
14287
  "typicalSize": "small",
14208
14288
  "propsSchema": {
14289
+ "className": {
14290
+ "types": [
14291
+ "string"
14292
+ ],
14293
+ "description": "Additional CSS classes applied to the root element."
14294
+ },
14209
14295
  "value": {
14210
14296
  "types": [
14211
14297
  "number"
@@ -18054,6 +18140,12 @@
18054
18140
  ],
18055
18141
  "typicalSize": "small",
18056
18142
  "propsSchema": {
18143
+ "className": {
18144
+ "types": [
18145
+ "string"
18146
+ ],
18147
+ "description": "Additional CSS classes applied to the root element."
18148
+ },
18057
18149
  "src": {
18058
18150
  "types": [
18059
18151
  "string"
@@ -18152,6 +18244,12 @@
18152
18244
  ],
18153
18245
  "typicalSize": "small",
18154
18246
  "propsSchema": {
18247
+ "className": {
18248
+ "types": [
18249
+ "string"
18250
+ ],
18251
+ "description": "Additional CSS classes applied to the root element."
18252
+ },
18155
18253
  "trigger": {
18156
18254
  "types": [
18157
18255
  "string"
@@ -18734,6 +18832,12 @@
18734
18832
  ],
18735
18833
  "typicalSize": "small",
18736
18834
  "propsSchema": {
18835
+ "className": {
18836
+ "types": [
18837
+ "string"
18838
+ ],
18839
+ "description": "Additional CSS classes applied to the root element."
18840
+ },
18737
18841
  "variant": {
18738
18842
  "types": [
18739
18843
  "string"
@@ -32087,6 +32191,433 @@
32087
32191
  }
32088
32192
  }
32089
32193
  },
32194
+ "table-view": {
32195
+ "type": "table-view",
32196
+ "category": "display",
32197
+ "description": "TableView component",
32198
+ "suggestedFor": [
32199
+ "table",
32200
+ "view",
32201
+ "table view"
32202
+ ],
32203
+ "typicalSize": "medium",
32204
+ "propsSchema": {
32205
+ "dragGroup": {
32206
+ "types": [
32207
+ "string"
32208
+ ],
32209
+ "description": "When set, items in this container are draggable and announce this group as their source"
32210
+ },
32211
+ "accepts": {
32212
+ "types": [
32213
+ "string"
32214
+ ],
32215
+ "description": "When set, the container accepts drops whose dragGroup matches this value (or '*' for any group)"
32216
+ },
32217
+ "sortable": {
32218
+ "types": [
32219
+ "boolean"
32220
+ ],
32221
+ "description": "Enable in-container reorder; items can be dragged to new positions among siblings"
32222
+ },
32223
+ "dropEvent": {
32224
+ "types": [
32225
+ "string"
32226
+ ],
32227
+ "description": "Bus event fired on cross-container drop. Payload: { id, sourceGroup, targetGroup, newIndex }"
32228
+ },
32229
+ "reorderEvent": {
32230
+ "types": [
32231
+ "string"
32232
+ ],
32233
+ "description": "Bus event fired on in-container reorder. Payload: { id, oldIndex, newIndex }"
32234
+ },
32235
+ "positionEvent": {
32236
+ "types": [
32237
+ "string"
32238
+ ],
32239
+ "description": "Bus event fired N times per drop (one per item in affected zones) so the trait can persist new positions for the WHOLE zone, not just the moved item. Payload: { id, position }"
32240
+ },
32241
+ "dndItemIdField": {
32242
+ "types": [
32243
+ "string"
32244
+ ],
32245
+ "description": "Row field used as the @dnd-kit draggable id (default 'id')"
32246
+ },
32247
+ "dndRoot": {
32248
+ "types": [
32249
+ "boolean"
32250
+ ],
32251
+ "description": "Mark this container as the DnD root for its subtree — descendant zones share one DndContext (cross-container drag). Use on an outer container whose own items are not draggable."
32252
+ },
32253
+ "entity": {
32254
+ "types": [
32255
+ "object",
32256
+ "array"
32257
+ ],
32258
+ "description": "Schema entity data — single record or collection.",
32259
+ "required": true
32260
+ },
32261
+ "columns": {
32262
+ "types": [
32263
+ "array"
32264
+ ],
32265
+ "description": "Column definitions. The compiler emits `columns`; `fields` is the alias.",
32266
+ "items": {
32267
+ "types": [
32268
+ "object"
32269
+ ],
32270
+ "properties": {
32271
+ "key": {
32272
+ "types": [
32273
+ "string"
32274
+ ]
32275
+ },
32276
+ "field": {
32277
+ "types": [
32278
+ "string"
32279
+ ]
32280
+ },
32281
+ "header": {
32282
+ "types": [
32283
+ "string"
32284
+ ]
32285
+ },
32286
+ "label": {
32287
+ "types": [
32288
+ "string"
32289
+ ]
32290
+ },
32291
+ "width": {
32292
+ "types": [
32293
+ "string"
32294
+ ]
32295
+ },
32296
+ "align": {
32297
+ "types": [
32298
+ "string"
32299
+ ],
32300
+ "enumValues": [
32301
+ "left",
32302
+ "center",
32303
+ "right"
32304
+ ]
32305
+ },
32306
+ "className": {
32307
+ "types": [
32308
+ "string"
32309
+ ]
32310
+ },
32311
+ "weight": {
32312
+ "types": [
32313
+ "string"
32314
+ ],
32315
+ "enumValues": [
32316
+ "normal",
32317
+ "medium",
32318
+ "semibold"
32319
+ ]
32320
+ },
32321
+ "format": {
32322
+ "types": [
32323
+ "string"
32324
+ ],
32325
+ "enumValues": [
32326
+ "badge",
32327
+ "date",
32328
+ "currency",
32329
+ "number",
32330
+ "percent",
32331
+ "boolean"
32332
+ ]
32333
+ },
32334
+ "icon": {
32335
+ "types": [
32336
+ "string"
32337
+ ]
32338
+ },
32339
+ "sortable": {
32340
+ "types": [
32341
+ "boolean"
32342
+ ]
32343
+ }
32344
+ },
32345
+ "required": [
32346
+ "key"
32347
+ ]
32348
+ }
32349
+ },
32350
+ "fields": {
32351
+ "types": [
32352
+ "array"
32353
+ ],
32354
+ "description": "Alias for `columns`.",
32355
+ "items": {
32356
+ "types": [
32357
+ "object"
32358
+ ],
32359
+ "properties": {
32360
+ "key": {
32361
+ "types": [
32362
+ "string"
32363
+ ]
32364
+ },
32365
+ "field": {
32366
+ "types": [
32367
+ "string"
32368
+ ]
32369
+ },
32370
+ "header": {
32371
+ "types": [
32372
+ "string"
32373
+ ]
32374
+ },
32375
+ "label": {
32376
+ "types": [
32377
+ "string"
32378
+ ]
32379
+ },
32380
+ "width": {
32381
+ "types": [
32382
+ "string"
32383
+ ]
32384
+ },
32385
+ "align": {
32386
+ "types": [
32387
+ "string"
32388
+ ],
32389
+ "enumValues": [
32390
+ "left",
32391
+ "center",
32392
+ "right"
32393
+ ]
32394
+ },
32395
+ "className": {
32396
+ "types": [
32397
+ "string"
32398
+ ]
32399
+ },
32400
+ "weight": {
32401
+ "types": [
32402
+ "string"
32403
+ ],
32404
+ "enumValues": [
32405
+ "normal",
32406
+ "medium",
32407
+ "semibold"
32408
+ ]
32409
+ },
32410
+ "format": {
32411
+ "types": [
32412
+ "string"
32413
+ ],
32414
+ "enumValues": [
32415
+ "badge",
32416
+ "date",
32417
+ "currency",
32418
+ "number",
32419
+ "percent",
32420
+ "boolean"
32421
+ ]
32422
+ },
32423
+ "icon": {
32424
+ "types": [
32425
+ "string"
32426
+ ]
32427
+ },
32428
+ "sortable": {
32429
+ "types": [
32430
+ "boolean"
32431
+ ]
32432
+ }
32433
+ },
32434
+ "required": [
32435
+ "key"
32436
+ ]
32437
+ }
32438
+ },
32439
+ "itemActions": {
32440
+ "types": [
32441
+ "array"
32442
+ ],
32443
+ "description": "Per-row action buttons (trailing column).",
32444
+ "kind": "event-list",
32445
+ "eventField": "event",
32446
+ "items": {
32447
+ "types": [
32448
+ "object"
32449
+ ],
32450
+ "properties": {
32451
+ "label": {
32452
+ "types": [
32453
+ "string"
32454
+ ]
32455
+ },
32456
+ "event": {
32457
+ "types": [
32458
+ "string"
32459
+ ]
32460
+ },
32461
+ "icon": {
32462
+ "types": [
32463
+ "string"
32464
+ ]
32465
+ },
32466
+ "variant": {
32467
+ "types": [
32468
+ "string"
32469
+ ],
32470
+ "enumValues": [
32471
+ "primary",
32472
+ "secondary",
32473
+ "ghost",
32474
+ "danger"
32475
+ ]
32476
+ }
32477
+ },
32478
+ "required": [
32479
+ "label",
32480
+ "event"
32481
+ ]
32482
+ }
32483
+ },
32484
+ "selectable": {
32485
+ "types": [
32486
+ "boolean"
32487
+ ],
32488
+ "description": "Render a leading checkbox column. Selection changes emit `selectEvent`.",
32489
+ "default": false
32490
+ },
32491
+ "selectEvent": {
32492
+ "types": [
32493
+ "string"
32494
+ ],
32495
+ "description": "Event emitted on selection change: UI:{selectEvent} with { ids, rows }.",
32496
+ "kind": "event"
32497
+ },
32498
+ "selectedIds": {
32499
+ "types": [
32500
+ "array"
32501
+ ],
32502
+ "description": "Currently-selected ids (controlled). Falls back to local state when omitted.",
32503
+ "items": {
32504
+ "types": [
32505
+ "string"
32506
+ ]
32507
+ }
32508
+ },
32509
+ "sortEvent": {
32510
+ "types": [
32511
+ "string"
32512
+ ],
32513
+ "description": "Event emitted on sortable-header click: UI:{sortEvent} with { column, direction }.",
32514
+ "kind": "event"
32515
+ },
32516
+ "sortColumn": {
32517
+ "types": [
32518
+ "string"
32519
+ ],
32520
+ "description": "Current sort column (display hint for the active header arrow)."
32521
+ },
32522
+ "sortDirection": {
32523
+ "types": [
32524
+ "string"
32525
+ ],
32526
+ "description": "Current sort direction (display hint).",
32527
+ "enumValues": [
32528
+ "asc",
32529
+ "desc"
32530
+ ]
32531
+ },
32532
+ "className": {
32533
+ "types": [
32534
+ "string"
32535
+ ],
32536
+ "description": "Additional CSS classes applied to the table root."
32537
+ },
32538
+ "emptyMessage": {
32539
+ "types": [
32540
+ "string"
32541
+ ],
32542
+ "description": "Message shown when there are no rows."
32543
+ },
32544
+ "isLoading": {
32545
+ "types": [
32546
+ "boolean"
32547
+ ],
32548
+ "description": "Loading state.",
32549
+ "default": false
32550
+ },
32551
+ "error": {
32552
+ "types": [
32553
+ "object"
32554
+ ],
32555
+ "description": "Error state.",
32556
+ "default": null
32557
+ },
32558
+ "groupBy": {
32559
+ "types": [
32560
+ "string"
32561
+ ],
32562
+ "description": "Group rows under section headers by a field value."
32563
+ },
32564
+ "pageSize": {
32565
+ "types": [
32566
+ "number"
32567
+ ],
32568
+ "description": "Max rows before a \"Show More\" button. Defaults to 0 (show all).",
32569
+ "default": 0
32570
+ },
32571
+ "children": {
32572
+ "types": [
32573
+ "function"
32574
+ ],
32575
+ "description": "Custom per-row render. When provided, the whole row content is delegated to this function (columns are ignored for the body; the header still renders). Mirrors DataList's children render prop.",
32576
+ "kind": "callback",
32577
+ "callbackArgs": [
32578
+ {
32579
+ "name": "item",
32580
+ "type": "object"
32581
+ },
32582
+ {
32583
+ "name": "index",
32584
+ "type": "number"
32585
+ }
32586
+ ]
32587
+ },
32588
+ "renderItem": {
32589
+ "types": [
32590
+ "function"
32591
+ ],
32592
+ "description": "Per-row render function (schema alias). In .orb: [\"fn\",\"item\",{...}]. The compiler converts this to the children render prop. @deprecated Use children in React code; exists for pattern registry sync.",
32593
+ "kind": "callback",
32594
+ "callbackArgs": [
32595
+ {
32596
+ "name": "item",
32597
+ "type": "object"
32598
+ },
32599
+ {
32600
+ "name": "index",
32601
+ "type": "number"
32602
+ }
32603
+ ]
32604
+ },
32605
+ "look": {
32606
+ "types": [
32607
+ "string"
32608
+ ],
32609
+ "description": "Layer 2 visual treatment — mirrors the data-list / entity-table look enum so authors share one knob name across row renderers.",
32610
+ "enumValues": [
32611
+ "dense",
32612
+ "spacious",
32613
+ "striped",
32614
+ "borderless",
32615
+ "bordered"
32616
+ ],
32617
+ "default": "dense"
32618
+ }
32619
+ }
32620
+ },
32090
32621
  "heading": {
32091
32622
  "type": "heading",
32092
32623
  "category": "component",