@almadar/patterns 2.20.3 → 2.21.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 +1 -1
- package/dist/index.d.ts +12 -0
- package/dist/index.js +11 -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
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-05T13:33:44.073Z",
|
|
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-05T13:33:44.073Z",
|
|
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-05T13:33:44.073Z",
|
|
28537
28545
|
contracts: {
|
|
28538
28546
|
form: {
|
|
28539
28547
|
emits: [
|