@almadar/patterns 2.28.0 → 2.28.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-14T12:35:55.693Z",
3
+ "exportedAt": "2026-05-14T13:39:01.007Z",
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-05-14T12:35:55.693Z",
3
+ "exportedAt": "2026-05-14T13:39:01.007Z",
4
4
  "contracts": {
5
5
  "form": {
6
6
  "emits": [
package/dist/index.d.ts CHANGED
@@ -1485,7 +1485,6 @@ export declare const registry: {
1485
1485
  steps: {
1486
1486
  types: string[];
1487
1487
  description: string;
1488
- required: boolean;
1489
1488
  items: {
1490
1489
  types: string[];
1491
1490
  };
@@ -1576,14 +1575,32 @@ export declare const registry: {
1576
1575
  onBack: {
1577
1576
  types: string[];
1578
1577
  description: string;
1578
+ kind: string;
1579
+ emitPayloadSchema: {
1580
+ name: string;
1581
+ type: string;
1582
+ required: boolean;
1583
+ }[];
1579
1584
  };
1580
1585
  onNext: {
1581
1586
  types: string[];
1582
1587
  description: string;
1588
+ kind: string;
1589
+ emitPayloadSchema: {
1590
+ name: string;
1591
+ type: string;
1592
+ required: boolean;
1593
+ }[];
1583
1594
  };
1584
1595
  onComplete: {
1585
1596
  types: string[];
1586
1597
  description: string;
1598
+ kind: string;
1599
+ emitPayloadSchema: {
1600
+ name: string;
1601
+ type: string;
1602
+ required: boolean;
1603
+ }[];
1587
1604
  };
1588
1605
  onBackClick: {
1589
1606
  types: string[];
@@ -2878,6 +2895,10 @@ export declare const registry: {
2878
2895
  types: string[];
2879
2896
  description: string;
2880
2897
  };
2898
+ disabled: {
2899
+ types: string[];
2900
+ description: string;
2901
+ };
2881
2902
  };
2882
2903
  };
2883
2904
  badge: {
@@ -19710,7 +19731,6 @@ export declare const PATTERN_REGISTRY: {
19710
19731
  steps: {
19711
19732
  types: string[];
19712
19733
  description: string;
19713
- required: boolean;
19714
19734
  items: {
19715
19735
  types: string[];
19716
19736
  };
@@ -19801,14 +19821,32 @@ export declare const PATTERN_REGISTRY: {
19801
19821
  onBack: {
19802
19822
  types: string[];
19803
19823
  description: string;
19824
+ kind: string;
19825
+ emitPayloadSchema: {
19826
+ name: string;
19827
+ type: string;
19828
+ required: boolean;
19829
+ }[];
19804
19830
  };
19805
19831
  onNext: {
19806
19832
  types: string[];
19807
19833
  description: string;
19834
+ kind: string;
19835
+ emitPayloadSchema: {
19836
+ name: string;
19837
+ type: string;
19838
+ required: boolean;
19839
+ }[];
19808
19840
  };
19809
19841
  onComplete: {
19810
19842
  types: string[];
19811
19843
  description: string;
19844
+ kind: string;
19845
+ emitPayloadSchema: {
19846
+ name: string;
19847
+ type: string;
19848
+ required: boolean;
19849
+ }[];
19812
19850
  };
19813
19851
  onBackClick: {
19814
19852
  types: string[];
@@ -21103,6 +21141,10 @@ export declare const PATTERN_REGISTRY: {
21103
21141
  types: string[];
21104
21142
  description: string;
21105
21143
  };
21144
+ disabled: {
21145
+ types: string[];
21146
+ description: string;
21147
+ };
21106
21148
  };
21107
21149
  };
21108
21150
  badge: {
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-05-14T12:35:55.693Z",
4
+ exportedAt: "2026-05-14T13:39:01.007Z",
5
5
  patterns: {
6
6
  "entity-table": {
7
7
  type: "entity-table",
@@ -2368,7 +2368,6 @@ var patterns_registry_default = {
2368
2368
  "array"
2369
2369
  ],
2370
2370
  description: "Step definitions (compatible with WizardContainer's WizardStep). A string is shorthand for `{ id: str, title: str }`.",
2371
- required: true,
2372
2371
  items: {
2373
2372
  types: [
2374
2373
  "object",
@@ -2500,19 +2499,58 @@ var patterns_registry_default = {
2500
2499
  types: [
2501
2500
  "string"
2502
2501
  ],
2503
- description: "Event to emit on Back click"
2502
+ description: "Event to emit on Back click \u2014 emits UI:{onBack} with { currentStep, totalSteps }",
2503
+ kind: "event-ref",
2504
+ emitPayloadSchema: [
2505
+ {
2506
+ name: "currentStep",
2507
+ type: "number",
2508
+ required: true
2509
+ },
2510
+ {
2511
+ name: "totalSteps",
2512
+ type: "number",
2513
+ required: true
2514
+ }
2515
+ ]
2504
2516
  },
2505
2517
  onNext: {
2506
2518
  types: [
2507
2519
  "string"
2508
2520
  ],
2509
- description: "Event to emit on Next click"
2521
+ description: "Event to emit on Next click \u2014 emits UI:{onNext} with { currentStep, totalSteps }",
2522
+ kind: "event-ref",
2523
+ emitPayloadSchema: [
2524
+ {
2525
+ name: "currentStep",
2526
+ type: "number",
2527
+ required: true
2528
+ },
2529
+ {
2530
+ name: "totalSteps",
2531
+ type: "number",
2532
+ required: true
2533
+ }
2534
+ ]
2510
2535
  },
2511
2536
  onComplete: {
2512
2537
  types: [
2513
2538
  "string"
2514
2539
  ],
2515
- description: "Event to emit on Complete click"
2540
+ description: "Event to emit on Complete click \u2014 emits UI:{onComplete} with { currentStep, totalSteps }",
2541
+ kind: "event-ref",
2542
+ emitPayloadSchema: [
2543
+ {
2544
+ name: "currentStep",
2545
+ type: "number",
2546
+ required: true
2547
+ },
2548
+ {
2549
+ name: "totalSteps",
2550
+ type: "number",
2551
+ required: true
2552
+ }
2553
+ ]
2516
2554
  },
2517
2555
  onBackClick: {
2518
2556
  types: [
@@ -4665,6 +4703,12 @@ var patterns_registry_default = {
4665
4703
  "string"
4666
4704
  ],
4667
4705
  description: "Button label text (alternative to children for schema-driven rendering)"
4706
+ },
4707
+ disabled: {
4708
+ types: [
4709
+ "boolean"
4710
+ ],
4711
+ description: "Disable the button (greys out, blocks click events)"
4668
4712
  }
4669
4713
  }
4670
4714
  },
@@ -29998,7 +30042,7 @@ var integrators_registry_default = {
29998
30042
  // src/component-mapping.json
29999
30043
  var component_mapping_default = {
30000
30044
  version: "1.0.0",
30001
- exportedAt: "2026-05-14T12:35:55.693Z",
30045
+ exportedAt: "2026-05-14T13:39:01.007Z",
30002
30046
  mappings: {
30003
30047
  "page-header": {
30004
30048
  component: "PageHeader",
@@ -31503,7 +31547,7 @@ var component_mapping_default = {
31503
31547
  // src/event-contracts.json
31504
31548
  var event_contracts_default = {
31505
31549
  version: "1.0.0",
31506
- exportedAt: "2026-05-14T12:35:55.693Z",
31550
+ exportedAt: "2026-05-14T13:39:01.007Z",
31507
31551
  contracts: {
31508
31552
  form: {
31509
31553
  emits: [