@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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "exportedAt": "2026-06-17T11:00:54.689Z",
3
+ "exportedAt": "2026-06-18T09:49:37.603Z",
4
4
  "mappings": {
5
5
  "page-header": {
6
6
  "component": "PageHeader",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "exportedAt": "2026-06-17T11:00:54.689Z",
3
+ "exportedAt": "2026-06-18T09:49:37.603Z",
4
4
  "contracts": {
5
5
  "form": {
6
6
  "emits": [
package/dist/index.d.ts CHANGED
@@ -4296,6 +4296,10 @@ export declare const registry: {
4296
4296
  description: string;
4297
4297
  kind: string;
4298
4298
  };
4299
+ loading: {
4300
+ types: string[];
4301
+ description: string;
4302
+ };
4299
4303
  };
4300
4304
  };
4301
4305
  "progress-bar": {
@@ -4384,6 +4388,10 @@ export declare const registry: {
4384
4388
  enumValues: string[];
4385
4389
  default: string;
4386
4390
  };
4391
+ overlay: {
4392
+ types: string[];
4393
+ description: string;
4394
+ };
4387
4395
  };
4388
4396
  };
4389
4397
  input: {
@@ -4421,6 +4429,14 @@ export declare const registry: {
4421
4429
  description: string;
4422
4430
  enumValues: string[];
4423
4431
  };
4432
+ label: {
4433
+ types: string[];
4434
+ description: string;
4435
+ };
4436
+ helperText: {
4437
+ types: string[];
4438
+ description: string;
4439
+ };
4424
4440
  error: {
4425
4441
  types: string[];
4426
4442
  description: string;
@@ -4524,7 +4540,6 @@ export declare const registry: {
4524
4540
  options: {
4525
4541
  types: string[];
4526
4542
  description: string;
4527
- required: boolean;
4528
4543
  items: {
4529
4544
  types: string[];
4530
4545
  properties: {
@@ -4538,6 +4553,34 @@ export declare const registry: {
4538
4553
  required: string[];
4539
4554
  };
4540
4555
  };
4556
+ groups: {
4557
+ types: string[];
4558
+ description: string;
4559
+ items: {
4560
+ types: string[];
4561
+ properties: {
4562
+ label: {
4563
+ types: string[];
4564
+ };
4565
+ options: {
4566
+ types: string[];
4567
+ items: {
4568
+ types: string[];
4569
+ properties: {
4570
+ value: {
4571
+ types: string[];
4572
+ };
4573
+ label: {
4574
+ types: string[];
4575
+ };
4576
+ };
4577
+ required: string[];
4578
+ };
4579
+ };
4580
+ };
4581
+ required: string[];
4582
+ };
4583
+ };
4541
4584
  placeholder: {
4542
4585
  types: string[];
4543
4586
  description: string;
@@ -4545,6 +4588,9 @@ export declare const registry: {
4545
4588
  value: {
4546
4589
  types: string[];
4547
4590
  description: string;
4591
+ items: {
4592
+ types: string[];
4593
+ };
4548
4594
  };
4549
4595
  action: {
4550
4596
  types: string[];
@@ -4555,10 +4601,31 @@ export declare const registry: {
4555
4601
  types: string[];
4556
4602
  description: string;
4557
4603
  };
4604
+ multiple: {
4605
+ types: string[];
4606
+ description: string;
4607
+ };
4608
+ searchable: {
4609
+ types: string[];
4610
+ description: string;
4611
+ };
4612
+ clearable: {
4613
+ types: string[];
4614
+ description: string;
4615
+ };
4558
4616
  onChange: {
4559
4617
  types: string[];
4560
4618
  description: string;
4561
4619
  };
4620
+ onValueChange: {
4621
+ types: string[];
4622
+ description: string;
4623
+ kind: string;
4624
+ callbackArgs: {
4625
+ name: string;
4626
+ type: string;
4627
+ }[];
4628
+ };
4562
4629
  };
4563
4630
  };
4564
4631
  checkbox: {
@@ -4932,6 +4999,14 @@ export declare const registry: {
4932
4999
  types: string[];
4933
5000
  description: string;
4934
5001
  };
5002
+ header: {
5003
+ types: string[];
5004
+ description: string;
5005
+ };
5006
+ footer: {
5007
+ types: string[];
5008
+ description: string;
5009
+ };
4935
5010
  };
4936
5011
  };
4937
5012
  accordion: {
@@ -27466,18 +27541,22 @@ export declare const registry: {
27466
27541
  assetLoader: {
27467
27542
  types: string[];
27468
27543
  description: string;
27544
+ nonAuthorable: boolean;
27469
27545
  };
27470
27546
  tileRenderer: {
27471
27547
  types: string[];
27472
27548
  description: string;
27549
+ nonAuthorable: boolean;
27473
27550
  };
27474
27551
  unitRenderer: {
27475
27552
  types: string[];
27476
27553
  description: string;
27554
+ nonAuthorable: boolean;
27477
27555
  };
27478
27556
  featureRenderer: {
27479
27557
  types: string[];
27480
27558
  description: string;
27559
+ nonAuthorable: boolean;
27481
27560
  };
27482
27561
  preloadAssets: {
27483
27562
  types: string[];
@@ -32231,6 +32310,10 @@ export declare const PATTERN_REGISTRY: {
32231
32310
  description: string;
32232
32311
  kind: string;
32233
32312
  };
32313
+ loading: {
32314
+ types: string[];
32315
+ description: string;
32316
+ };
32234
32317
  };
32235
32318
  };
32236
32319
  "progress-bar": {
@@ -32319,6 +32402,10 @@ export declare const PATTERN_REGISTRY: {
32319
32402
  enumValues: string[];
32320
32403
  default: string;
32321
32404
  };
32405
+ overlay: {
32406
+ types: string[];
32407
+ description: string;
32408
+ };
32322
32409
  };
32323
32410
  };
32324
32411
  input: {
@@ -32356,6 +32443,14 @@ export declare const PATTERN_REGISTRY: {
32356
32443
  description: string;
32357
32444
  enumValues: string[];
32358
32445
  };
32446
+ label: {
32447
+ types: string[];
32448
+ description: string;
32449
+ };
32450
+ helperText: {
32451
+ types: string[];
32452
+ description: string;
32453
+ };
32359
32454
  error: {
32360
32455
  types: string[];
32361
32456
  description: string;
@@ -32459,7 +32554,6 @@ export declare const PATTERN_REGISTRY: {
32459
32554
  options: {
32460
32555
  types: string[];
32461
32556
  description: string;
32462
- required: boolean;
32463
32557
  items: {
32464
32558
  types: string[];
32465
32559
  properties: {
@@ -32473,6 +32567,34 @@ export declare const PATTERN_REGISTRY: {
32473
32567
  required: string[];
32474
32568
  };
32475
32569
  };
32570
+ groups: {
32571
+ types: string[];
32572
+ description: string;
32573
+ items: {
32574
+ types: string[];
32575
+ properties: {
32576
+ label: {
32577
+ types: string[];
32578
+ };
32579
+ options: {
32580
+ types: string[];
32581
+ items: {
32582
+ types: string[];
32583
+ properties: {
32584
+ value: {
32585
+ types: string[];
32586
+ };
32587
+ label: {
32588
+ types: string[];
32589
+ };
32590
+ };
32591
+ required: string[];
32592
+ };
32593
+ };
32594
+ };
32595
+ required: string[];
32596
+ };
32597
+ };
32476
32598
  placeholder: {
32477
32599
  types: string[];
32478
32600
  description: string;
@@ -32480,6 +32602,9 @@ export declare const PATTERN_REGISTRY: {
32480
32602
  value: {
32481
32603
  types: string[];
32482
32604
  description: string;
32605
+ items: {
32606
+ types: string[];
32607
+ };
32483
32608
  };
32484
32609
  action: {
32485
32610
  types: string[];
@@ -32490,10 +32615,31 @@ export declare const PATTERN_REGISTRY: {
32490
32615
  types: string[];
32491
32616
  description: string;
32492
32617
  };
32618
+ multiple: {
32619
+ types: string[];
32620
+ description: string;
32621
+ };
32622
+ searchable: {
32623
+ types: string[];
32624
+ description: string;
32625
+ };
32626
+ clearable: {
32627
+ types: string[];
32628
+ description: string;
32629
+ };
32493
32630
  onChange: {
32494
32631
  types: string[];
32495
32632
  description: string;
32496
32633
  };
32634
+ onValueChange: {
32635
+ types: string[];
32636
+ description: string;
32637
+ kind: string;
32638
+ callbackArgs: {
32639
+ name: string;
32640
+ type: string;
32641
+ }[];
32642
+ };
32497
32643
  };
32498
32644
  };
32499
32645
  checkbox: {
@@ -32867,6 +33013,14 @@ export declare const PATTERN_REGISTRY: {
32867
33013
  types: string[];
32868
33014
  description: string;
32869
33015
  };
33016
+ header: {
33017
+ types: string[];
33018
+ description: string;
33019
+ };
33020
+ footer: {
33021
+ types: string[];
33022
+ description: string;
33023
+ };
32870
33024
  };
32871
33025
  };
32872
33026
  accordion: {
@@ -55401,18 +55555,22 @@ export declare const PATTERN_REGISTRY: {
55401
55555
  assetLoader: {
55402
55556
  types: string[];
55403
55557
  description: string;
55558
+ nonAuthorable: boolean;
55404
55559
  };
55405
55560
  tileRenderer: {
55406
55561
  types: string[];
55407
55562
  description: string;
55563
+ nonAuthorable: boolean;
55408
55564
  };
55409
55565
  unitRenderer: {
55410
55566
  types: string[];
55411
55567
  description: string;
55568
+ nonAuthorable: boolean;
55412
55569
  };
55413
55570
  featureRenderer: {
55414
55571
  types: string[];
55415
55572
  description: string;
55573
+ nonAuthorable: boolean;
55416
55574
  };
55417
55575
  preloadAssets: {
55418
55576
  types: string[];
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // src/patterns-registry.json
2
2
  var patterns_registry_default = {
3
3
  version: "1.0.0",
4
- exportedAt: "2026-06-17T11:00:54.689Z",
4
+ exportedAt: "2026-06-18T09:49:37.603Z",
5
5
  patterns: {
6
6
  "entity-table": {
7
7
  type: "entity-table",
@@ -7068,6 +7068,12 @@ var patterns_registry_default = {
7068
7068
  ],
7069
7069
  description: "Declarative event key emitted on click for trait dispatch",
7070
7070
  kind: "event"
7071
+ },
7072
+ loading: {
7073
+ types: [
7074
+ "boolean"
7075
+ ],
7076
+ description: "Shows a skeleton/spinner overlay while true."
7071
7077
  }
7072
7078
  }
7073
7079
  },
@@ -7216,6 +7222,12 @@ var patterns_registry_default = {
7216
7222
  "lg"
7217
7223
  ],
7218
7224
  default: "md"
7225
+ },
7226
+ overlay: {
7227
+ types: [
7228
+ "boolean"
7229
+ ],
7230
+ description: "Renders a centered overlay backdrop instead of inline."
7219
7231
  }
7220
7232
  }
7221
7233
  },
@@ -7285,6 +7297,18 @@ var patterns_registry_default = {
7285
7297
  "textarea"
7286
7298
  ]
7287
7299
  },
7300
+ label: {
7301
+ types: [
7302
+ "string"
7303
+ ],
7304
+ description: "label prop"
7305
+ },
7306
+ helperText: {
7307
+ types: [
7308
+ "string"
7309
+ ],
7310
+ description: "helperText prop"
7311
+ },
7288
7312
  error: {
7289
7313
  types: [
7290
7314
  "string"
@@ -7444,8 +7468,7 @@ var patterns_registry_default = {
7444
7468
  types: [
7445
7469
  "array"
7446
7470
  ],
7447
- description: "Select options",
7448
- required: true,
7471
+ description: "Select options (flat list)",
7449
7472
  items: {
7450
7473
  types: [
7451
7474
  "object"
@@ -7468,6 +7491,54 @@ var patterns_registry_default = {
7468
7491
  ]
7469
7492
  }
7470
7493
  },
7494
+ groups: {
7495
+ types: [
7496
+ "array"
7497
+ ],
7498
+ description: "Grouped options \u2014 rendered as <optgroup> in native mode, sections in rich mode.",
7499
+ items: {
7500
+ types: [
7501
+ "object"
7502
+ ],
7503
+ properties: {
7504
+ label: {
7505
+ types: [
7506
+ "string"
7507
+ ]
7508
+ },
7509
+ options: {
7510
+ types: [
7511
+ "array"
7512
+ ],
7513
+ items: {
7514
+ types: [
7515
+ "object"
7516
+ ],
7517
+ properties: {
7518
+ value: {
7519
+ types: [
7520
+ "string"
7521
+ ]
7522
+ },
7523
+ label: {
7524
+ types: [
7525
+ "string"
7526
+ ]
7527
+ }
7528
+ },
7529
+ required: [
7530
+ "value",
7531
+ "label"
7532
+ ]
7533
+ }
7534
+ }
7535
+ },
7536
+ required: [
7537
+ "label",
7538
+ "options"
7539
+ ]
7540
+ }
7541
+ },
7471
7542
  placeholder: {
7472
7543
  types: [
7473
7544
  "string"
@@ -7476,9 +7547,15 @@ var patterns_registry_default = {
7476
7547
  },
7477
7548
  value: {
7478
7549
  types: [
7479
- "string"
7550
+ "string",
7551
+ "array"
7480
7552
  ],
7481
- description: "Current value"
7553
+ description: "Current value (string for single, string[] for multiple)",
7554
+ items: {
7555
+ types: [
7556
+ "string"
7557
+ ]
7558
+ }
7482
7559
  },
7483
7560
  action: {
7484
7561
  types: [
@@ -7493,12 +7570,43 @@ var patterns_registry_default = {
7493
7570
  ],
7494
7571
  description: "Error message"
7495
7572
  },
7573
+ multiple: {
7574
+ types: [
7575
+ "boolean"
7576
+ ],
7577
+ description: "Allow selecting multiple values \u2014 activates the rich dropdown."
7578
+ },
7579
+ searchable: {
7580
+ types: [
7581
+ "boolean"
7582
+ ],
7583
+ description: "Show a search input inside the dropdown \u2014 activates the rich dropdown."
7584
+ },
7585
+ clearable: {
7586
+ types: [
7587
+ "boolean"
7588
+ ],
7589
+ description: "Show a clear button when a value is selected."
7590
+ },
7496
7591
  onChange: {
7497
7592
  types: [
7498
7593
  "function",
7499
7594
  "string"
7500
7595
  ],
7501
- description: "onChange handler or declarative event key for trait dispatch"
7596
+ description: "onChange handler (native ChangeEvent) or declarative event key for trait dispatch"
7597
+ },
7598
+ onValueChange: {
7599
+ types: [
7600
+ "function"
7601
+ ],
7602
+ description: "Value-based callback \u2014 receives the selected string (or string[] for multiple).",
7603
+ kind: "callback",
7604
+ callbackArgs: [
7605
+ {
7606
+ name: "value",
7607
+ type: "string"
7608
+ }
7609
+ ]
7502
7610
  }
7503
7611
  }
7504
7612
  },
@@ -8072,6 +8180,18 @@ var patterns_registry_default = {
8072
8180
  "string"
8073
8181
  ],
8074
8182
  description: "Additional CSS classes"
8183
+ },
8184
+ header: {
8185
+ types: [
8186
+ "node"
8187
+ ],
8188
+ description: "Optional slot rendered above the items."
8189
+ },
8190
+ footer: {
8191
+ types: [
8192
+ "node"
8193
+ ],
8194
+ description: "Optional slot rendered below the items."
8075
8195
  }
8076
8196
  }
8077
8197
  },
@@ -44663,25 +44783,29 @@ var patterns_registry_default = {
44663
44783
  types: [
44664
44784
  "object"
44665
44785
  ],
44666
- description: "Asset loader instance (uses global singleton if not provided)"
44786
+ description: "Asset loader instance (uses global singleton if not provided)",
44787
+ nonAuthorable: true
44667
44788
  },
44668
44789
  tileRenderer: {
44669
44790
  types: [
44670
44791
  "object"
44671
44792
  ],
44672
- description: "Custom tile renderer component"
44793
+ description: "Custom tile renderer component",
44794
+ nonAuthorable: true
44673
44795
  },
44674
44796
  unitRenderer: {
44675
44797
  types: [
44676
44798
  "object"
44677
44799
  ],
44678
- description: "Custom unit renderer component"
44800
+ description: "Custom unit renderer component",
44801
+ nonAuthorable: true
44679
44802
  },
44680
44803
  featureRenderer: {
44681
44804
  types: [
44682
44805
  "object"
44683
44806
  ],
44684
- description: "Custom feature renderer component"
44807
+ description: "Custom feature renderer component",
44808
+ nonAuthorable: true
44685
44809
  },
44686
44810
  preloadAssets: {
44687
44811
  types: [
@@ -46133,7 +46257,7 @@ var integrators_registry_default = {
46133
46257
  // src/component-mapping.json
46134
46258
  var component_mapping_default = {
46135
46259
  version: "1.0.0",
46136
- exportedAt: "2026-06-17T11:00:54.689Z",
46260
+ exportedAt: "2026-06-18T09:49:37.603Z",
46137
46261
  mappings: {
46138
46262
  "page-header": {
46139
46263
  component: "PageHeader",
@@ -47658,7 +47782,7 @@ var component_mapping_default = {
47658
47782
  // src/event-contracts.json
47659
47783
  var event_contracts_default = {
47660
47784
  version: "1.0.0",
47661
- exportedAt: "2026-06-17T11:00:54.689Z",
47785
+ exportedAt: "2026-06-18T09:49:37.603Z",
47662
47786
  contracts: {
47663
47787
  form: {
47664
47788
  emits: [