@almadar/patterns 2.48.0 → 2.50.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-18T10:28:38.516Z",
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-18T10:28:38.516Z",
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,26 @@ 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
+ };
4562
4624
  };
4563
4625
  };
4564
4626
  checkbox: {
@@ -4932,6 +4994,14 @@ export declare const registry: {
4932
4994
  types: string[];
4933
4995
  description: string;
4934
4996
  };
4997
+ header: {
4998
+ types: string[];
4999
+ description: string;
5000
+ };
5001
+ footer: {
5002
+ types: string[];
5003
+ description: string;
5004
+ };
4935
5005
  };
4936
5006
  };
4937
5007
  accordion: {
@@ -27466,18 +27536,22 @@ export declare const registry: {
27466
27536
  assetLoader: {
27467
27537
  types: string[];
27468
27538
  description: string;
27539
+ nonAuthorable: boolean;
27469
27540
  };
27470
27541
  tileRenderer: {
27471
27542
  types: string[];
27472
27543
  description: string;
27544
+ nonAuthorable: boolean;
27473
27545
  };
27474
27546
  unitRenderer: {
27475
27547
  types: string[];
27476
27548
  description: string;
27549
+ nonAuthorable: boolean;
27477
27550
  };
27478
27551
  featureRenderer: {
27479
27552
  types: string[];
27480
27553
  description: string;
27554
+ nonAuthorable: boolean;
27481
27555
  };
27482
27556
  preloadAssets: {
27483
27557
  types: string[];
@@ -32231,6 +32305,10 @@ export declare const PATTERN_REGISTRY: {
32231
32305
  description: string;
32232
32306
  kind: string;
32233
32307
  };
32308
+ loading: {
32309
+ types: string[];
32310
+ description: string;
32311
+ };
32234
32312
  };
32235
32313
  };
32236
32314
  "progress-bar": {
@@ -32319,6 +32397,10 @@ export declare const PATTERN_REGISTRY: {
32319
32397
  enumValues: string[];
32320
32398
  default: string;
32321
32399
  };
32400
+ overlay: {
32401
+ types: string[];
32402
+ description: string;
32403
+ };
32322
32404
  };
32323
32405
  };
32324
32406
  input: {
@@ -32356,6 +32438,14 @@ export declare const PATTERN_REGISTRY: {
32356
32438
  description: string;
32357
32439
  enumValues: string[];
32358
32440
  };
32441
+ label: {
32442
+ types: string[];
32443
+ description: string;
32444
+ };
32445
+ helperText: {
32446
+ types: string[];
32447
+ description: string;
32448
+ };
32359
32449
  error: {
32360
32450
  types: string[];
32361
32451
  description: string;
@@ -32459,7 +32549,6 @@ export declare const PATTERN_REGISTRY: {
32459
32549
  options: {
32460
32550
  types: string[];
32461
32551
  description: string;
32462
- required: boolean;
32463
32552
  items: {
32464
32553
  types: string[];
32465
32554
  properties: {
@@ -32473,6 +32562,34 @@ export declare const PATTERN_REGISTRY: {
32473
32562
  required: string[];
32474
32563
  };
32475
32564
  };
32565
+ groups: {
32566
+ types: string[];
32567
+ description: string;
32568
+ items: {
32569
+ types: string[];
32570
+ properties: {
32571
+ label: {
32572
+ types: string[];
32573
+ };
32574
+ options: {
32575
+ types: string[];
32576
+ items: {
32577
+ types: string[];
32578
+ properties: {
32579
+ value: {
32580
+ types: string[];
32581
+ };
32582
+ label: {
32583
+ types: string[];
32584
+ };
32585
+ };
32586
+ required: string[];
32587
+ };
32588
+ };
32589
+ };
32590
+ required: string[];
32591
+ };
32592
+ };
32476
32593
  placeholder: {
32477
32594
  types: string[];
32478
32595
  description: string;
@@ -32480,6 +32597,9 @@ export declare const PATTERN_REGISTRY: {
32480
32597
  value: {
32481
32598
  types: string[];
32482
32599
  description: string;
32600
+ items: {
32601
+ types: string[];
32602
+ };
32483
32603
  };
32484
32604
  action: {
32485
32605
  types: string[];
@@ -32490,10 +32610,26 @@ export declare const PATTERN_REGISTRY: {
32490
32610
  types: string[];
32491
32611
  description: string;
32492
32612
  };
32613
+ multiple: {
32614
+ types: string[];
32615
+ description: string;
32616
+ };
32617
+ searchable: {
32618
+ types: string[];
32619
+ description: string;
32620
+ };
32621
+ clearable: {
32622
+ types: string[];
32623
+ description: string;
32624
+ };
32493
32625
  onChange: {
32494
32626
  types: string[];
32495
32627
  description: string;
32496
32628
  };
32629
+ onValueChange: {
32630
+ types: string[];
32631
+ description: string;
32632
+ };
32497
32633
  };
32498
32634
  };
32499
32635
  checkbox: {
@@ -32867,6 +33003,14 @@ export declare const PATTERN_REGISTRY: {
32867
33003
  types: string[];
32868
33004
  description: string;
32869
33005
  };
33006
+ header: {
33007
+ types: string[];
33008
+ description: string;
33009
+ };
33010
+ footer: {
33011
+ types: string[];
33012
+ description: string;
33013
+ };
32870
33014
  };
32871
33015
  };
32872
33016
  accordion: {
@@ -55401,18 +55545,22 @@ export declare const PATTERN_REGISTRY: {
55401
55545
  assetLoader: {
55402
55546
  types: string[];
55403
55547
  description: string;
55548
+ nonAuthorable: boolean;
55404
55549
  };
55405
55550
  tileRenderer: {
55406
55551
  types: string[];
55407
55552
  description: string;
55553
+ nonAuthorable: boolean;
55408
55554
  };
55409
55555
  unitRenderer: {
55410
55556
  types: string[];
55411
55557
  description: string;
55558
+ nonAuthorable: boolean;
55412
55559
  };
55413
55560
  featureRenderer: {
55414
55561
  types: string[];
55415
55562
  description: string;
55563
+ nonAuthorable: boolean;
55416
55564
  };
55417
55565
  preloadAssets: {
55418
55566
  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-18T10:28:38.516Z",
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,37 @@ 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
+ "string"
7602
+ ],
7603
+ description: "Value-based change: a React callback (internal use) OR a declarative event key that emits `{ value }` on the bus (render-ui / lolo authoring). Mirrors the `onChange` handler|event convention so it's an event-emitting prop, not a bare callback."
7502
7604
  }
7503
7605
  }
7504
7606
  },
@@ -8072,6 +8174,18 @@ var patterns_registry_default = {
8072
8174
  "string"
8073
8175
  ],
8074
8176
  description: "Additional CSS classes"
8177
+ },
8178
+ header: {
8179
+ types: [
8180
+ "node"
8181
+ ],
8182
+ description: "Optional slot rendered above the items."
8183
+ },
8184
+ footer: {
8185
+ types: [
8186
+ "node"
8187
+ ],
8188
+ description: "Optional slot rendered below the items."
8075
8189
  }
8076
8190
  }
8077
8191
  },
@@ -44663,25 +44777,29 @@ var patterns_registry_default = {
44663
44777
  types: [
44664
44778
  "object"
44665
44779
  ],
44666
- description: "Asset loader instance (uses global singleton if not provided)"
44780
+ description: "Asset loader instance (uses global singleton if not provided)",
44781
+ nonAuthorable: true
44667
44782
  },
44668
44783
  tileRenderer: {
44669
44784
  types: [
44670
44785
  "object"
44671
44786
  ],
44672
- description: "Custom tile renderer component"
44787
+ description: "Custom tile renderer component",
44788
+ nonAuthorable: true
44673
44789
  },
44674
44790
  unitRenderer: {
44675
44791
  types: [
44676
44792
  "object"
44677
44793
  ],
44678
- description: "Custom unit renderer component"
44794
+ description: "Custom unit renderer component",
44795
+ nonAuthorable: true
44679
44796
  },
44680
44797
  featureRenderer: {
44681
44798
  types: [
44682
44799
  "object"
44683
44800
  ],
44684
- description: "Custom feature renderer component"
44801
+ description: "Custom feature renderer component",
44802
+ nonAuthorable: true
44685
44803
  },
44686
44804
  preloadAssets: {
44687
44805
  types: [
@@ -46133,7 +46251,7 @@ var integrators_registry_default = {
46133
46251
  // src/component-mapping.json
46134
46252
  var component_mapping_default = {
46135
46253
  version: "1.0.0",
46136
- exportedAt: "2026-06-17T11:00:54.689Z",
46254
+ exportedAt: "2026-06-18T10:28:38.516Z",
46137
46255
  mappings: {
46138
46256
  "page-header": {
46139
46257
  component: "PageHeader",
@@ -47658,7 +47776,7 @@ var component_mapping_default = {
47658
47776
  // src/event-contracts.json
47659
47777
  var event_contracts_default = {
47660
47778
  version: "1.0.0",
47661
- exportedAt: "2026-06-17T11:00:54.689Z",
47779
+ exportedAt: "2026-06-18T10:28:38.516Z",
47662
47780
  contracts: {
47663
47781
  form: {
47664
47782
  emits: [