@almadar/patterns 2.20.3 → 2.22.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.
- package/dist/component-mapping.json +1 -1
- package/dist/event-contracts.json +15 -1
- package/dist/index.d.ts +12 -0
- package/dist/index.js +25 -3
- package/dist/index.js.map +1 -1
- package/dist/patterns-registry.json +9 -1
- package/dist/registry.json +9 -1
- 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-05T16:04:13.902Z",
|
|
4
4
|
"contracts": {
|
|
5
5
|
"form": {
|
|
6
6
|
"emits": [
|
|
@@ -25,6 +25,13 @@
|
|
|
25
25
|
"type": "object"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
|
+
{
|
|
29
|
+
"event": "VALIDATION_FAILED",
|
|
30
|
+
"trigger": "action",
|
|
31
|
+
"payload": {
|
|
32
|
+
"type": "object"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
28
35
|
{
|
|
29
36
|
"event": "CLOSE",
|
|
30
37
|
"trigger": "action",
|
|
@@ -62,6 +69,13 @@
|
|
|
62
69
|
"type": "object"
|
|
63
70
|
}
|
|
64
71
|
},
|
|
72
|
+
{
|
|
73
|
+
"event": "VALIDATION_FAILED",
|
|
74
|
+
"trigger": "action",
|
|
75
|
+
"payload": {
|
|
76
|
+
"type": "object"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
65
79
|
{
|
|
66
80
|
"event": "CLOSE",
|
|
67
81
|
"trigger": "action",
|
package/dist/index.d.ts
CHANGED
|
@@ -5524,6 +5524,12 @@ export declare const registry: {
|
|
|
5524
5524
|
type: string;
|
|
5525
5525
|
}[];
|
|
5526
5526
|
};
|
|
5527
|
+
topBarActions: {
|
|
5528
|
+
types: string[];
|
|
5529
|
+
description: string;
|
|
5530
|
+
kind: string;
|
|
5531
|
+
eventField: string;
|
|
5532
|
+
};
|
|
5527
5533
|
notifications: {
|
|
5528
5534
|
types: string[];
|
|
5529
5535
|
description: string;
|
|
@@ -22216,6 +22222,12 @@ export declare const PATTERN_REGISTRY: {
|
|
|
22216
22222
|
type: string;
|
|
22217
22223
|
}[];
|
|
22218
22224
|
};
|
|
22225
|
+
topBarActions: {
|
|
22226
|
+
types: string[];
|
|
22227
|
+
description: string;
|
|
22228
|
+
kind: string;
|
|
22229
|
+
eventField: string;
|
|
22230
|
+
};
|
|
22219
22231
|
notifications: {
|
|
22220
22232
|
types: string[];
|
|
22221
22233
|
description: 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-05-
|
|
4
|
+
exportedAt: "2026-05-05T16:04:13.902Z",
|
|
5
5
|
patterns: {
|
|
6
6
|
"entity-table": {
|
|
7
7
|
type: "entity-table",
|
|
@@ -8759,6 +8759,14 @@ var patterns_registry_default = {
|
|
|
8759
8759
|
}
|
|
8760
8760
|
]
|
|
8761
8761
|
},
|
|
8762
|
+
topBarActions: {
|
|
8763
|
+
types: [
|
|
8764
|
+
"array"
|
|
8765
|
+
],
|
|
8766
|
+
description: "Generic top-bar action buttons rendered between the search bar and the notifications bell. Each entry: `{icon, label?, event, badge?, variant?}`. Domain-agnostic \u2014 consumers add a cart icon, profile button, help-bubble, or any other top-bar action by appending entries. Empty array (default) renders nothing.",
|
|
8767
|
+
kind: "event-list",
|
|
8768
|
+
eventField: "event"
|
|
8769
|
+
},
|
|
8762
8770
|
notifications: {
|
|
8763
8771
|
types: [
|
|
8764
8772
|
"array"
|
|
@@ -26722,7 +26730,7 @@ var integrators_registry_default = {
|
|
|
26722
26730
|
// src/component-mapping.json
|
|
26723
26731
|
var component_mapping_default = {
|
|
26724
26732
|
version: "1.0.0",
|
|
26725
|
-
exportedAt: "2026-05-
|
|
26733
|
+
exportedAt: "2026-05-05T16:04:13.902Z",
|
|
26726
26734
|
mappings: {
|
|
26727
26735
|
"page-header": {
|
|
26728
26736
|
component: "PageHeader",
|
|
@@ -28533,7 +28541,7 @@ var component_mapping_default = {
|
|
|
28533
28541
|
// src/event-contracts.json
|
|
28534
28542
|
var event_contracts_default = {
|
|
28535
28543
|
version: "1.0.0",
|
|
28536
|
-
exportedAt: "2026-05-
|
|
28544
|
+
exportedAt: "2026-05-05T16:04:13.902Z",
|
|
28537
28545
|
contracts: {
|
|
28538
28546
|
form: {
|
|
28539
28547
|
emits: [
|
|
@@ -28558,6 +28566,13 @@ var event_contracts_default = {
|
|
|
28558
28566
|
type: "object"
|
|
28559
28567
|
}
|
|
28560
28568
|
},
|
|
28569
|
+
{
|
|
28570
|
+
event: "VALIDATION_FAILED",
|
|
28571
|
+
trigger: "action",
|
|
28572
|
+
payload: {
|
|
28573
|
+
type: "object"
|
|
28574
|
+
}
|
|
28575
|
+
},
|
|
28561
28576
|
{
|
|
28562
28577
|
event: "CLOSE",
|
|
28563
28578
|
trigger: "action",
|
|
@@ -28595,6 +28610,13 @@ var event_contracts_default = {
|
|
|
28595
28610
|
type: "object"
|
|
28596
28611
|
}
|
|
28597
28612
|
},
|
|
28613
|
+
{
|
|
28614
|
+
event: "VALIDATION_FAILED",
|
|
28615
|
+
trigger: "action",
|
|
28616
|
+
payload: {
|
|
28617
|
+
type: "object"
|
|
28618
|
+
}
|
|
28619
|
+
},
|
|
28598
28620
|
{
|
|
28599
28621
|
event: "CLOSE",
|
|
28600
28622
|
trigger: "action",
|