@almadar/patterns 2.28.0 → 2.28.2

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-14T15:35:09.962Z",
4
4
  "patterns": {
5
5
  "entity-table": {
6
6
  "type": "entity-table",
@@ -1206,6 +1206,12 @@
1206
1206
  ],
1207
1207
  "description": "Show cancel button (defaults to true for schema forms)"
1208
1208
  },
1209
+ "showSubmit": {
1210
+ "types": [
1211
+ "boolean"
1212
+ ],
1213
+ "description": "Show submit button (defaults to true for schema forms). Set false when a parent atom owns the submit action externally (e.g. wizard footers)."
1214
+ },
1209
1215
  "title": {
1210
1216
  "types": [
1211
1217
  "string"
@@ -1597,6 +1603,12 @@
1597
1603
  ],
1598
1604
  "description": "Show cancel button (defaults to true for schema forms)"
1599
1605
  },
1606
+ "showSubmit": {
1607
+ "types": [
1608
+ "boolean"
1609
+ ],
1610
+ "description": "Show submit button (defaults to true for schema forms). Set false when a parent atom owns the submit action externally (e.g. wizard footers)."
1611
+ },
1600
1612
  "title": {
1601
1613
  "types": [
1602
1614
  "string"
@@ -2367,7 +2379,6 @@
2367
2379
  "array"
2368
2380
  ],
2369
2381
  "description": "Step definitions (compatible with WizardContainer's WizardStep). A string is shorthand for `{ id: str, title: str }`.",
2370
- "required": true,
2371
2382
  "items": {
2372
2383
  "types": [
2373
2384
  "object",
@@ -2499,19 +2510,58 @@
2499
2510
  "types": [
2500
2511
  "string"
2501
2512
  ],
2502
- "description": "Event to emit on Back click"
2513
+ "description": "Event to emit on Back click — emits UI:{onBack} with { currentStep, totalSteps }",
2514
+ "kind": "event-ref",
2515
+ "emitPayloadSchema": [
2516
+ {
2517
+ "name": "currentStep",
2518
+ "type": "number",
2519
+ "required": true
2520
+ },
2521
+ {
2522
+ "name": "totalSteps",
2523
+ "type": "number",
2524
+ "required": true
2525
+ }
2526
+ ]
2503
2527
  },
2504
2528
  "onNext": {
2505
2529
  "types": [
2506
2530
  "string"
2507
2531
  ],
2508
- "description": "Event to emit on Next click"
2532
+ "description": "Event to emit on Next click — emits UI:{onNext} with { currentStep, totalSteps }",
2533
+ "kind": "event-ref",
2534
+ "emitPayloadSchema": [
2535
+ {
2536
+ "name": "currentStep",
2537
+ "type": "number",
2538
+ "required": true
2539
+ },
2540
+ {
2541
+ "name": "totalSteps",
2542
+ "type": "number",
2543
+ "required": true
2544
+ }
2545
+ ]
2509
2546
  },
2510
2547
  "onComplete": {
2511
2548
  "types": [
2512
2549
  "string"
2513
2550
  ],
2514
- "description": "Event to emit on Complete click"
2551
+ "description": "Event to emit on Complete click — emits UI:{onComplete} with { currentStep, totalSteps }",
2552
+ "kind": "event-ref",
2553
+ "emitPayloadSchema": [
2554
+ {
2555
+ "name": "currentStep",
2556
+ "type": "number",
2557
+ "required": true
2558
+ },
2559
+ {
2560
+ "name": "totalSteps",
2561
+ "type": "number",
2562
+ "required": true
2563
+ }
2564
+ ]
2515
2565
  },
2516
2566
  "onBackClick": {
2517
2567
  "types": [
@@ -4664,6 +4714,12 @@
4664
4714
  "string"
4665
4715
  ],
4666
4716
  "description": "Button label text (alternative to children for schema-driven rendering)"
4717
+ },
4718
+ "disabled": {
4719
+ "types": [
4720
+ "boolean"
4721
+ ],
4722
+ "description": "Disable the button (greys out, blocks click events)"
4667
4723
  }
4668
4724
  }
4669
4725
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "exportedAt": "2026-05-14T12:35:55.693Z",
3
+ "exportedAt": "2026-05-14T15:35:09.962Z",
4
4
  "patterns": {
5
5
  "entity-table": {
6
6
  "type": "entity-table",
@@ -1206,6 +1206,12 @@
1206
1206
  ],
1207
1207
  "description": "Show cancel button (defaults to true for schema forms)"
1208
1208
  },
1209
+ "showSubmit": {
1210
+ "types": [
1211
+ "boolean"
1212
+ ],
1213
+ "description": "Show submit button (defaults to true for schema forms). Set false when a parent atom owns the submit action externally (e.g. wizard footers)."
1214
+ },
1209
1215
  "title": {
1210
1216
  "types": [
1211
1217
  "string"
@@ -1597,6 +1603,12 @@
1597
1603
  ],
1598
1604
  "description": "Show cancel button (defaults to true for schema forms)"
1599
1605
  },
1606
+ "showSubmit": {
1607
+ "types": [
1608
+ "boolean"
1609
+ ],
1610
+ "description": "Show submit button (defaults to true for schema forms). Set false when a parent atom owns the submit action externally (e.g. wizard footers)."
1611
+ },
1600
1612
  "title": {
1601
1613
  "types": [
1602
1614
  "string"
@@ -2367,7 +2379,6 @@
2367
2379
  "array"
2368
2380
  ],
2369
2381
  "description": "Step definitions (compatible with WizardContainer's WizardStep). A string is shorthand for `{ id: str, title: str }`.",
2370
- "required": true,
2371
2382
  "items": {
2372
2383
  "types": [
2373
2384
  "object",
@@ -2499,19 +2510,58 @@
2499
2510
  "types": [
2500
2511
  "string"
2501
2512
  ],
2502
- "description": "Event to emit on Back click"
2513
+ "description": "Event to emit on Back click — emits UI:{onBack} with { currentStep, totalSteps }",
2514
+ "kind": "event-ref",
2515
+ "emitPayloadSchema": [
2516
+ {
2517
+ "name": "currentStep",
2518
+ "type": "number",
2519
+ "required": true
2520
+ },
2521
+ {
2522
+ "name": "totalSteps",
2523
+ "type": "number",
2524
+ "required": true
2525
+ }
2526
+ ]
2503
2527
  },
2504
2528
  "onNext": {
2505
2529
  "types": [
2506
2530
  "string"
2507
2531
  ],
2508
- "description": "Event to emit on Next click"
2532
+ "description": "Event to emit on Next click — emits UI:{onNext} with { currentStep, totalSteps }",
2533
+ "kind": "event-ref",
2534
+ "emitPayloadSchema": [
2535
+ {
2536
+ "name": "currentStep",
2537
+ "type": "number",
2538
+ "required": true
2539
+ },
2540
+ {
2541
+ "name": "totalSteps",
2542
+ "type": "number",
2543
+ "required": true
2544
+ }
2545
+ ]
2509
2546
  },
2510
2547
  "onComplete": {
2511
2548
  "types": [
2512
2549
  "string"
2513
2550
  ],
2514
- "description": "Event to emit on Complete click"
2551
+ "description": "Event to emit on Complete click — emits UI:{onComplete} with { currentStep, totalSteps }",
2552
+ "kind": "event-ref",
2553
+ "emitPayloadSchema": [
2554
+ {
2555
+ "name": "currentStep",
2556
+ "type": "number",
2557
+ "required": true
2558
+ },
2559
+ {
2560
+ "name": "totalSteps",
2561
+ "type": "number",
2562
+ "required": true
2563
+ }
2564
+ ]
2515
2565
  },
2516
2566
  "onBackClick": {
2517
2567
  "types": [
@@ -4664,6 +4714,12 @@
4664
4714
  "string"
4665
4715
  ],
4666
4716
  "description": "Button label text (alternative to children for schema-driven rendering)"
4717
+ },
4718
+ "disabled": {
4719
+ "types": [
4720
+ "boolean"
4721
+ ],
4722
+ "description": "Disable the button (greys out, blocks click events)"
4667
4723
  }
4668
4724
  }
4669
4725
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/patterns",
3
- "version": "2.28.0",
3
+ "version": "2.28.2",
4
4
  "description": "Pattern registry and component mappings for Almadar",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",