@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.
- package/dist/component-mapping.json +1 -1
- package/dist/event-contracts.json +1 -1
- package/dist/index.d.ts +44 -2
- package/dist/index.js +51 -7
- package/dist/index.js.map +1 -1
- package/dist/patterns-registry.json +49 -5
- package/dist/registry.json +49 -5
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"exportedAt": "2026-05-
|
|
3
|
+
"exportedAt": "2026-05-14T13:39:01.007Z",
|
|
4
4
|
"patterns": {
|
|
5
5
|
"entity-table": {
|
|
6
6
|
"type": "entity-table",
|
|
@@ -2367,7 +2367,6 @@
|
|
|
2367
2367
|
"array"
|
|
2368
2368
|
],
|
|
2369
2369
|
"description": "Step definitions (compatible with WizardContainer's WizardStep). A string is shorthand for `{ id: str, title: str }`.",
|
|
2370
|
-
"required": true,
|
|
2371
2370
|
"items": {
|
|
2372
2371
|
"types": [
|
|
2373
2372
|
"object",
|
|
@@ -2499,19 +2498,58 @@
|
|
|
2499
2498
|
"types": [
|
|
2500
2499
|
"string"
|
|
2501
2500
|
],
|
|
2502
|
-
"description": "Event to emit on Back click"
|
|
2501
|
+
"description": "Event to emit on Back click — emits UI:{onBack} with { currentStep, totalSteps }",
|
|
2502
|
+
"kind": "event-ref",
|
|
2503
|
+
"emitPayloadSchema": [
|
|
2504
|
+
{
|
|
2505
|
+
"name": "currentStep",
|
|
2506
|
+
"type": "number",
|
|
2507
|
+
"required": true
|
|
2508
|
+
},
|
|
2509
|
+
{
|
|
2510
|
+
"name": "totalSteps",
|
|
2511
|
+
"type": "number",
|
|
2512
|
+
"required": true
|
|
2513
|
+
}
|
|
2514
|
+
]
|
|
2503
2515
|
},
|
|
2504
2516
|
"onNext": {
|
|
2505
2517
|
"types": [
|
|
2506
2518
|
"string"
|
|
2507
2519
|
],
|
|
2508
|
-
"description": "Event to emit on Next click"
|
|
2520
|
+
"description": "Event to emit on Next click — emits UI:{onNext} with { currentStep, totalSteps }",
|
|
2521
|
+
"kind": "event-ref",
|
|
2522
|
+
"emitPayloadSchema": [
|
|
2523
|
+
{
|
|
2524
|
+
"name": "currentStep",
|
|
2525
|
+
"type": "number",
|
|
2526
|
+
"required": true
|
|
2527
|
+
},
|
|
2528
|
+
{
|
|
2529
|
+
"name": "totalSteps",
|
|
2530
|
+
"type": "number",
|
|
2531
|
+
"required": true
|
|
2532
|
+
}
|
|
2533
|
+
]
|
|
2509
2534
|
},
|
|
2510
2535
|
"onComplete": {
|
|
2511
2536
|
"types": [
|
|
2512
2537
|
"string"
|
|
2513
2538
|
],
|
|
2514
|
-
"description": "Event to emit on Complete click"
|
|
2539
|
+
"description": "Event to emit on Complete click — emits UI:{onComplete} with { currentStep, totalSteps }",
|
|
2540
|
+
"kind": "event-ref",
|
|
2541
|
+
"emitPayloadSchema": [
|
|
2542
|
+
{
|
|
2543
|
+
"name": "currentStep",
|
|
2544
|
+
"type": "number",
|
|
2545
|
+
"required": true
|
|
2546
|
+
},
|
|
2547
|
+
{
|
|
2548
|
+
"name": "totalSteps",
|
|
2549
|
+
"type": "number",
|
|
2550
|
+
"required": true
|
|
2551
|
+
}
|
|
2552
|
+
]
|
|
2515
2553
|
},
|
|
2516
2554
|
"onBackClick": {
|
|
2517
2555
|
"types": [
|
|
@@ -4664,6 +4702,12 @@
|
|
|
4664
4702
|
"string"
|
|
4665
4703
|
],
|
|
4666
4704
|
"description": "Button label text (alternative to children for schema-driven rendering)"
|
|
4705
|
+
},
|
|
4706
|
+
"disabled": {
|
|
4707
|
+
"types": [
|
|
4708
|
+
"boolean"
|
|
4709
|
+
],
|
|
4710
|
+
"description": "Disable the button (greys out, blocks click events)"
|
|
4667
4711
|
}
|
|
4668
4712
|
}
|
|
4669
4713
|
},
|
package/dist/registry.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"exportedAt": "2026-05-
|
|
3
|
+
"exportedAt": "2026-05-14T13:39:01.007Z",
|
|
4
4
|
"patterns": {
|
|
5
5
|
"entity-table": {
|
|
6
6
|
"type": "entity-table",
|
|
@@ -2367,7 +2367,6 @@
|
|
|
2367
2367
|
"array"
|
|
2368
2368
|
],
|
|
2369
2369
|
"description": "Step definitions (compatible with WizardContainer's WizardStep). A string is shorthand for `{ id: str, title: str }`.",
|
|
2370
|
-
"required": true,
|
|
2371
2370
|
"items": {
|
|
2372
2371
|
"types": [
|
|
2373
2372
|
"object",
|
|
@@ -2499,19 +2498,58 @@
|
|
|
2499
2498
|
"types": [
|
|
2500
2499
|
"string"
|
|
2501
2500
|
],
|
|
2502
|
-
"description": "Event to emit on Back click"
|
|
2501
|
+
"description": "Event to emit on Back click — emits UI:{onBack} with { currentStep, totalSteps }",
|
|
2502
|
+
"kind": "event-ref",
|
|
2503
|
+
"emitPayloadSchema": [
|
|
2504
|
+
{
|
|
2505
|
+
"name": "currentStep",
|
|
2506
|
+
"type": "number",
|
|
2507
|
+
"required": true
|
|
2508
|
+
},
|
|
2509
|
+
{
|
|
2510
|
+
"name": "totalSteps",
|
|
2511
|
+
"type": "number",
|
|
2512
|
+
"required": true
|
|
2513
|
+
}
|
|
2514
|
+
]
|
|
2503
2515
|
},
|
|
2504
2516
|
"onNext": {
|
|
2505
2517
|
"types": [
|
|
2506
2518
|
"string"
|
|
2507
2519
|
],
|
|
2508
|
-
"description": "Event to emit on Next click"
|
|
2520
|
+
"description": "Event to emit on Next click — emits UI:{onNext} with { currentStep, totalSteps }",
|
|
2521
|
+
"kind": "event-ref",
|
|
2522
|
+
"emitPayloadSchema": [
|
|
2523
|
+
{
|
|
2524
|
+
"name": "currentStep",
|
|
2525
|
+
"type": "number",
|
|
2526
|
+
"required": true
|
|
2527
|
+
},
|
|
2528
|
+
{
|
|
2529
|
+
"name": "totalSteps",
|
|
2530
|
+
"type": "number",
|
|
2531
|
+
"required": true
|
|
2532
|
+
}
|
|
2533
|
+
]
|
|
2509
2534
|
},
|
|
2510
2535
|
"onComplete": {
|
|
2511
2536
|
"types": [
|
|
2512
2537
|
"string"
|
|
2513
2538
|
],
|
|
2514
|
-
"description": "Event to emit on Complete click"
|
|
2539
|
+
"description": "Event to emit on Complete click — emits UI:{onComplete} with { currentStep, totalSteps }",
|
|
2540
|
+
"kind": "event-ref",
|
|
2541
|
+
"emitPayloadSchema": [
|
|
2542
|
+
{
|
|
2543
|
+
"name": "currentStep",
|
|
2544
|
+
"type": "number",
|
|
2545
|
+
"required": true
|
|
2546
|
+
},
|
|
2547
|
+
{
|
|
2548
|
+
"name": "totalSteps",
|
|
2549
|
+
"type": "number",
|
|
2550
|
+
"required": true
|
|
2551
|
+
}
|
|
2552
|
+
]
|
|
2515
2553
|
},
|
|
2516
2554
|
"onBackClick": {
|
|
2517
2555
|
"types": [
|
|
@@ -4664,6 +4702,12 @@
|
|
|
4664
4702
|
"string"
|
|
4665
4703
|
],
|
|
4666
4704
|
"description": "Button label text (alternative to children for schema-driven rendering)"
|
|
4705
|
+
},
|
|
4706
|
+
"disabled": {
|
|
4707
|
+
"types": [
|
|
4708
|
+
"boolean"
|
|
4709
|
+
],
|
|
4710
|
+
"description": "Disable the button (greys out, blocks click events)"
|
|
4667
4711
|
}
|
|
4668
4712
|
}
|
|
4669
4713
|
},
|