@almadar/patterns 2.48.0 → 2.49.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.
- package/dist/component-mapping.json +1 -1
- package/dist/event-contracts.json +1 -1
- package/dist/index.d.ts +160 -2
- package/dist/index.js +136 -12
- package/dist/index.js.map +1 -1
- package/dist/patterns-registry.json +134 -10
- package/dist/registry.json +134 -10
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"exportedAt": "2026-06-
|
|
3
|
+
"exportedAt": "2026-06-18T09:49:37.603Z",
|
|
4
4
|
"patterns": {
|
|
5
5
|
"entity-table": {
|
|
6
6
|
"type": "entity-table",
|
|
@@ -7067,6 +7067,12 @@
|
|
|
7067
7067
|
],
|
|
7068
7068
|
"description": "Declarative event key emitted on click for trait dispatch",
|
|
7069
7069
|
"kind": "event"
|
|
7070
|
+
},
|
|
7071
|
+
"loading": {
|
|
7072
|
+
"types": [
|
|
7073
|
+
"boolean"
|
|
7074
|
+
],
|
|
7075
|
+
"description": "Shows a skeleton/spinner overlay while true."
|
|
7070
7076
|
}
|
|
7071
7077
|
}
|
|
7072
7078
|
},
|
|
@@ -7215,6 +7221,12 @@
|
|
|
7215
7221
|
"lg"
|
|
7216
7222
|
],
|
|
7217
7223
|
"default": "md"
|
|
7224
|
+
},
|
|
7225
|
+
"overlay": {
|
|
7226
|
+
"types": [
|
|
7227
|
+
"boolean"
|
|
7228
|
+
],
|
|
7229
|
+
"description": "Renders a centered overlay backdrop instead of inline."
|
|
7218
7230
|
}
|
|
7219
7231
|
}
|
|
7220
7232
|
},
|
|
@@ -7284,6 +7296,18 @@
|
|
|
7284
7296
|
"textarea"
|
|
7285
7297
|
]
|
|
7286
7298
|
},
|
|
7299
|
+
"label": {
|
|
7300
|
+
"types": [
|
|
7301
|
+
"string"
|
|
7302
|
+
],
|
|
7303
|
+
"description": "label prop"
|
|
7304
|
+
},
|
|
7305
|
+
"helperText": {
|
|
7306
|
+
"types": [
|
|
7307
|
+
"string"
|
|
7308
|
+
],
|
|
7309
|
+
"description": "helperText prop"
|
|
7310
|
+
},
|
|
7287
7311
|
"error": {
|
|
7288
7312
|
"types": [
|
|
7289
7313
|
"string"
|
|
@@ -7443,8 +7467,7 @@
|
|
|
7443
7467
|
"types": [
|
|
7444
7468
|
"array"
|
|
7445
7469
|
],
|
|
7446
|
-
"description": "Select options",
|
|
7447
|
-
"required": true,
|
|
7470
|
+
"description": "Select options (flat list)",
|
|
7448
7471
|
"items": {
|
|
7449
7472
|
"types": [
|
|
7450
7473
|
"object"
|
|
@@ -7467,6 +7490,54 @@
|
|
|
7467
7490
|
]
|
|
7468
7491
|
}
|
|
7469
7492
|
},
|
|
7493
|
+
"groups": {
|
|
7494
|
+
"types": [
|
|
7495
|
+
"array"
|
|
7496
|
+
],
|
|
7497
|
+
"description": "Grouped options — rendered as <optgroup> in native mode, sections in rich mode.",
|
|
7498
|
+
"items": {
|
|
7499
|
+
"types": [
|
|
7500
|
+
"object"
|
|
7501
|
+
],
|
|
7502
|
+
"properties": {
|
|
7503
|
+
"label": {
|
|
7504
|
+
"types": [
|
|
7505
|
+
"string"
|
|
7506
|
+
]
|
|
7507
|
+
},
|
|
7508
|
+
"options": {
|
|
7509
|
+
"types": [
|
|
7510
|
+
"array"
|
|
7511
|
+
],
|
|
7512
|
+
"items": {
|
|
7513
|
+
"types": [
|
|
7514
|
+
"object"
|
|
7515
|
+
],
|
|
7516
|
+
"properties": {
|
|
7517
|
+
"value": {
|
|
7518
|
+
"types": [
|
|
7519
|
+
"string"
|
|
7520
|
+
]
|
|
7521
|
+
},
|
|
7522
|
+
"label": {
|
|
7523
|
+
"types": [
|
|
7524
|
+
"string"
|
|
7525
|
+
]
|
|
7526
|
+
}
|
|
7527
|
+
},
|
|
7528
|
+
"required": [
|
|
7529
|
+
"value",
|
|
7530
|
+
"label"
|
|
7531
|
+
]
|
|
7532
|
+
}
|
|
7533
|
+
}
|
|
7534
|
+
},
|
|
7535
|
+
"required": [
|
|
7536
|
+
"label",
|
|
7537
|
+
"options"
|
|
7538
|
+
]
|
|
7539
|
+
}
|
|
7540
|
+
},
|
|
7470
7541
|
"placeholder": {
|
|
7471
7542
|
"types": [
|
|
7472
7543
|
"string"
|
|
@@ -7475,9 +7546,15 @@
|
|
|
7475
7546
|
},
|
|
7476
7547
|
"value": {
|
|
7477
7548
|
"types": [
|
|
7478
|
-
"string"
|
|
7549
|
+
"string",
|
|
7550
|
+
"array"
|
|
7479
7551
|
],
|
|
7480
|
-
"description": "Current value"
|
|
7552
|
+
"description": "Current value (string for single, string[] for multiple)",
|
|
7553
|
+
"items": {
|
|
7554
|
+
"types": [
|
|
7555
|
+
"string"
|
|
7556
|
+
]
|
|
7557
|
+
}
|
|
7481
7558
|
},
|
|
7482
7559
|
"action": {
|
|
7483
7560
|
"types": [
|
|
@@ -7492,12 +7569,43 @@
|
|
|
7492
7569
|
],
|
|
7493
7570
|
"description": "Error message"
|
|
7494
7571
|
},
|
|
7572
|
+
"multiple": {
|
|
7573
|
+
"types": [
|
|
7574
|
+
"boolean"
|
|
7575
|
+
],
|
|
7576
|
+
"description": "Allow selecting multiple values — activates the rich dropdown."
|
|
7577
|
+
},
|
|
7578
|
+
"searchable": {
|
|
7579
|
+
"types": [
|
|
7580
|
+
"boolean"
|
|
7581
|
+
],
|
|
7582
|
+
"description": "Show a search input inside the dropdown — activates the rich dropdown."
|
|
7583
|
+
},
|
|
7584
|
+
"clearable": {
|
|
7585
|
+
"types": [
|
|
7586
|
+
"boolean"
|
|
7587
|
+
],
|
|
7588
|
+
"description": "Show a clear button when a value is selected."
|
|
7589
|
+
},
|
|
7495
7590
|
"onChange": {
|
|
7496
7591
|
"types": [
|
|
7497
7592
|
"function",
|
|
7498
7593
|
"string"
|
|
7499
7594
|
],
|
|
7500
|
-
"description": "onChange handler or declarative event key for trait dispatch"
|
|
7595
|
+
"description": "onChange handler (native ChangeEvent) or declarative event key for trait dispatch"
|
|
7596
|
+
},
|
|
7597
|
+
"onValueChange": {
|
|
7598
|
+
"types": [
|
|
7599
|
+
"function"
|
|
7600
|
+
],
|
|
7601
|
+
"description": "Value-based callback — receives the selected string (or string[] for multiple).",
|
|
7602
|
+
"kind": "callback",
|
|
7603
|
+
"callbackArgs": [
|
|
7604
|
+
{
|
|
7605
|
+
"name": "value",
|
|
7606
|
+
"type": "string"
|
|
7607
|
+
}
|
|
7608
|
+
]
|
|
7501
7609
|
}
|
|
7502
7610
|
}
|
|
7503
7611
|
},
|
|
@@ -8071,6 +8179,18 @@
|
|
|
8071
8179
|
"string"
|
|
8072
8180
|
],
|
|
8073
8181
|
"description": "Additional CSS classes"
|
|
8182
|
+
},
|
|
8183
|
+
"header": {
|
|
8184
|
+
"types": [
|
|
8185
|
+
"node"
|
|
8186
|
+
],
|
|
8187
|
+
"description": "Optional slot rendered above the items."
|
|
8188
|
+
},
|
|
8189
|
+
"footer": {
|
|
8190
|
+
"types": [
|
|
8191
|
+
"node"
|
|
8192
|
+
],
|
|
8193
|
+
"description": "Optional slot rendered below the items."
|
|
8074
8194
|
}
|
|
8075
8195
|
}
|
|
8076
8196
|
},
|
|
@@ -44662,25 +44782,29 @@
|
|
|
44662
44782
|
"types": [
|
|
44663
44783
|
"object"
|
|
44664
44784
|
],
|
|
44665
|
-
"description": "Asset loader instance (uses global singleton if not provided)"
|
|
44785
|
+
"description": "Asset loader instance (uses global singleton if not provided)",
|
|
44786
|
+
"nonAuthorable": true
|
|
44666
44787
|
},
|
|
44667
44788
|
"tileRenderer": {
|
|
44668
44789
|
"types": [
|
|
44669
44790
|
"object"
|
|
44670
44791
|
],
|
|
44671
|
-
"description": "Custom tile renderer component"
|
|
44792
|
+
"description": "Custom tile renderer component",
|
|
44793
|
+
"nonAuthorable": true
|
|
44672
44794
|
},
|
|
44673
44795
|
"unitRenderer": {
|
|
44674
44796
|
"types": [
|
|
44675
44797
|
"object"
|
|
44676
44798
|
],
|
|
44677
|
-
"description": "Custom unit renderer component"
|
|
44799
|
+
"description": "Custom unit renderer component",
|
|
44800
|
+
"nonAuthorable": true
|
|
44678
44801
|
},
|
|
44679
44802
|
"featureRenderer": {
|
|
44680
44803
|
"types": [
|
|
44681
44804
|
"object"
|
|
44682
44805
|
],
|
|
44683
|
-
"description": "Custom feature renderer component"
|
|
44806
|
+
"description": "Custom feature renderer component",
|
|
44807
|
+
"nonAuthorable": true
|
|
44684
44808
|
},
|
|
44685
44809
|
"preloadAssets": {
|
|
44686
44810
|
"types": [
|
package/dist/registry.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"exportedAt": "2026-06-
|
|
3
|
+
"exportedAt": "2026-06-18T09:49:37.603Z",
|
|
4
4
|
"patterns": {
|
|
5
5
|
"entity-table": {
|
|
6
6
|
"type": "entity-table",
|
|
@@ -7067,6 +7067,12 @@
|
|
|
7067
7067
|
],
|
|
7068
7068
|
"description": "Declarative event key emitted on click for trait dispatch",
|
|
7069
7069
|
"kind": "event"
|
|
7070
|
+
},
|
|
7071
|
+
"loading": {
|
|
7072
|
+
"types": [
|
|
7073
|
+
"boolean"
|
|
7074
|
+
],
|
|
7075
|
+
"description": "Shows a skeleton/spinner overlay while true."
|
|
7070
7076
|
}
|
|
7071
7077
|
}
|
|
7072
7078
|
},
|
|
@@ -7215,6 +7221,12 @@
|
|
|
7215
7221
|
"lg"
|
|
7216
7222
|
],
|
|
7217
7223
|
"default": "md"
|
|
7224
|
+
},
|
|
7225
|
+
"overlay": {
|
|
7226
|
+
"types": [
|
|
7227
|
+
"boolean"
|
|
7228
|
+
],
|
|
7229
|
+
"description": "Renders a centered overlay backdrop instead of inline."
|
|
7218
7230
|
}
|
|
7219
7231
|
}
|
|
7220
7232
|
},
|
|
@@ -7284,6 +7296,18 @@
|
|
|
7284
7296
|
"textarea"
|
|
7285
7297
|
]
|
|
7286
7298
|
},
|
|
7299
|
+
"label": {
|
|
7300
|
+
"types": [
|
|
7301
|
+
"string"
|
|
7302
|
+
],
|
|
7303
|
+
"description": "label prop"
|
|
7304
|
+
},
|
|
7305
|
+
"helperText": {
|
|
7306
|
+
"types": [
|
|
7307
|
+
"string"
|
|
7308
|
+
],
|
|
7309
|
+
"description": "helperText prop"
|
|
7310
|
+
},
|
|
7287
7311
|
"error": {
|
|
7288
7312
|
"types": [
|
|
7289
7313
|
"string"
|
|
@@ -7443,8 +7467,7 @@
|
|
|
7443
7467
|
"types": [
|
|
7444
7468
|
"array"
|
|
7445
7469
|
],
|
|
7446
|
-
"description": "Select options",
|
|
7447
|
-
"required": true,
|
|
7470
|
+
"description": "Select options (flat list)",
|
|
7448
7471
|
"items": {
|
|
7449
7472
|
"types": [
|
|
7450
7473
|
"object"
|
|
@@ -7467,6 +7490,54 @@
|
|
|
7467
7490
|
]
|
|
7468
7491
|
}
|
|
7469
7492
|
},
|
|
7493
|
+
"groups": {
|
|
7494
|
+
"types": [
|
|
7495
|
+
"array"
|
|
7496
|
+
],
|
|
7497
|
+
"description": "Grouped options — rendered as <optgroup> in native mode, sections in rich mode.",
|
|
7498
|
+
"items": {
|
|
7499
|
+
"types": [
|
|
7500
|
+
"object"
|
|
7501
|
+
],
|
|
7502
|
+
"properties": {
|
|
7503
|
+
"label": {
|
|
7504
|
+
"types": [
|
|
7505
|
+
"string"
|
|
7506
|
+
]
|
|
7507
|
+
},
|
|
7508
|
+
"options": {
|
|
7509
|
+
"types": [
|
|
7510
|
+
"array"
|
|
7511
|
+
],
|
|
7512
|
+
"items": {
|
|
7513
|
+
"types": [
|
|
7514
|
+
"object"
|
|
7515
|
+
],
|
|
7516
|
+
"properties": {
|
|
7517
|
+
"value": {
|
|
7518
|
+
"types": [
|
|
7519
|
+
"string"
|
|
7520
|
+
]
|
|
7521
|
+
},
|
|
7522
|
+
"label": {
|
|
7523
|
+
"types": [
|
|
7524
|
+
"string"
|
|
7525
|
+
]
|
|
7526
|
+
}
|
|
7527
|
+
},
|
|
7528
|
+
"required": [
|
|
7529
|
+
"value",
|
|
7530
|
+
"label"
|
|
7531
|
+
]
|
|
7532
|
+
}
|
|
7533
|
+
}
|
|
7534
|
+
},
|
|
7535
|
+
"required": [
|
|
7536
|
+
"label",
|
|
7537
|
+
"options"
|
|
7538
|
+
]
|
|
7539
|
+
}
|
|
7540
|
+
},
|
|
7470
7541
|
"placeholder": {
|
|
7471
7542
|
"types": [
|
|
7472
7543
|
"string"
|
|
@@ -7475,9 +7546,15 @@
|
|
|
7475
7546
|
},
|
|
7476
7547
|
"value": {
|
|
7477
7548
|
"types": [
|
|
7478
|
-
"string"
|
|
7549
|
+
"string",
|
|
7550
|
+
"array"
|
|
7479
7551
|
],
|
|
7480
|
-
"description": "Current value"
|
|
7552
|
+
"description": "Current value (string for single, string[] for multiple)",
|
|
7553
|
+
"items": {
|
|
7554
|
+
"types": [
|
|
7555
|
+
"string"
|
|
7556
|
+
]
|
|
7557
|
+
}
|
|
7481
7558
|
},
|
|
7482
7559
|
"action": {
|
|
7483
7560
|
"types": [
|
|
@@ -7492,12 +7569,43 @@
|
|
|
7492
7569
|
],
|
|
7493
7570
|
"description": "Error message"
|
|
7494
7571
|
},
|
|
7572
|
+
"multiple": {
|
|
7573
|
+
"types": [
|
|
7574
|
+
"boolean"
|
|
7575
|
+
],
|
|
7576
|
+
"description": "Allow selecting multiple values — activates the rich dropdown."
|
|
7577
|
+
},
|
|
7578
|
+
"searchable": {
|
|
7579
|
+
"types": [
|
|
7580
|
+
"boolean"
|
|
7581
|
+
],
|
|
7582
|
+
"description": "Show a search input inside the dropdown — activates the rich dropdown."
|
|
7583
|
+
},
|
|
7584
|
+
"clearable": {
|
|
7585
|
+
"types": [
|
|
7586
|
+
"boolean"
|
|
7587
|
+
],
|
|
7588
|
+
"description": "Show a clear button when a value is selected."
|
|
7589
|
+
},
|
|
7495
7590
|
"onChange": {
|
|
7496
7591
|
"types": [
|
|
7497
7592
|
"function",
|
|
7498
7593
|
"string"
|
|
7499
7594
|
],
|
|
7500
|
-
"description": "onChange handler or declarative event key for trait dispatch"
|
|
7595
|
+
"description": "onChange handler (native ChangeEvent) or declarative event key for trait dispatch"
|
|
7596
|
+
},
|
|
7597
|
+
"onValueChange": {
|
|
7598
|
+
"types": [
|
|
7599
|
+
"function"
|
|
7600
|
+
],
|
|
7601
|
+
"description": "Value-based callback — receives the selected string (or string[] for multiple).",
|
|
7602
|
+
"kind": "callback",
|
|
7603
|
+
"callbackArgs": [
|
|
7604
|
+
{
|
|
7605
|
+
"name": "value",
|
|
7606
|
+
"type": "string"
|
|
7607
|
+
}
|
|
7608
|
+
]
|
|
7501
7609
|
}
|
|
7502
7610
|
}
|
|
7503
7611
|
},
|
|
@@ -8071,6 +8179,18 @@
|
|
|
8071
8179
|
"string"
|
|
8072
8180
|
],
|
|
8073
8181
|
"description": "Additional CSS classes"
|
|
8182
|
+
},
|
|
8183
|
+
"header": {
|
|
8184
|
+
"types": [
|
|
8185
|
+
"node"
|
|
8186
|
+
],
|
|
8187
|
+
"description": "Optional slot rendered above the items."
|
|
8188
|
+
},
|
|
8189
|
+
"footer": {
|
|
8190
|
+
"types": [
|
|
8191
|
+
"node"
|
|
8192
|
+
],
|
|
8193
|
+
"description": "Optional slot rendered below the items."
|
|
8074
8194
|
}
|
|
8075
8195
|
}
|
|
8076
8196
|
},
|
|
@@ -44662,25 +44782,29 @@
|
|
|
44662
44782
|
"types": [
|
|
44663
44783
|
"object"
|
|
44664
44784
|
],
|
|
44665
|
-
"description": "Asset loader instance (uses global singleton if not provided)"
|
|
44785
|
+
"description": "Asset loader instance (uses global singleton if not provided)",
|
|
44786
|
+
"nonAuthorable": true
|
|
44666
44787
|
},
|
|
44667
44788
|
"tileRenderer": {
|
|
44668
44789
|
"types": [
|
|
44669
44790
|
"object"
|
|
44670
44791
|
],
|
|
44671
|
-
"description": "Custom tile renderer component"
|
|
44792
|
+
"description": "Custom tile renderer component",
|
|
44793
|
+
"nonAuthorable": true
|
|
44672
44794
|
},
|
|
44673
44795
|
"unitRenderer": {
|
|
44674
44796
|
"types": [
|
|
44675
44797
|
"object"
|
|
44676
44798
|
],
|
|
44677
|
-
"description": "Custom unit renderer component"
|
|
44799
|
+
"description": "Custom unit renderer component",
|
|
44800
|
+
"nonAuthorable": true
|
|
44678
44801
|
},
|
|
44679
44802
|
"featureRenderer": {
|
|
44680
44803
|
"types": [
|
|
44681
44804
|
"object"
|
|
44682
44805
|
],
|
|
44683
|
-
"description": "Custom feature renderer component"
|
|
44806
|
+
"description": "Custom feature renderer component",
|
|
44807
|
+
"nonAuthorable": true
|
|
44684
44808
|
},
|
|
44685
44809
|
"preloadAssets": {
|
|
44686
44810
|
"types": [
|