@almadar/patterns 2.31.0 → 2.32.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 +26 -0
- package/dist/index.js +27 -3
- package/dist/index.js.map +1 -1
- package/dist/pattern-types.d.ts +4 -0
- package/dist/patterns-registry.json +135 -111
- package/dist/registry.json +135 -111
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8502,6 +8502,11 @@ export declare const registry: {
|
|
|
8502
8502
|
required: string[];
|
|
8503
8503
|
};
|
|
8504
8504
|
};
|
|
8505
|
+
itemClickEvent: {
|
|
8506
|
+
types: string[];
|
|
8507
|
+
description: string;
|
|
8508
|
+
kind: string;
|
|
8509
|
+
};
|
|
8505
8510
|
gap: {
|
|
8506
8511
|
types: string[];
|
|
8507
8512
|
description: string;
|
|
@@ -14951,6 +14956,14 @@ export declare const registry: {
|
|
|
14951
14956
|
types: string[];
|
|
14952
14957
|
description: string;
|
|
14953
14958
|
};
|
|
14959
|
+
tickEvent: {
|
|
14960
|
+
types: string[];
|
|
14961
|
+
description: string;
|
|
14962
|
+
};
|
|
14963
|
+
drawEvent: {
|
|
14964
|
+
types: string[];
|
|
14965
|
+
description: string;
|
|
14966
|
+
};
|
|
14954
14967
|
};
|
|
14955
14968
|
};
|
|
14956
14969
|
"game-hud": {
|
|
@@ -29032,6 +29045,11 @@ export declare const PATTERN_REGISTRY: {
|
|
|
29032
29045
|
required: string[];
|
|
29033
29046
|
};
|
|
29034
29047
|
};
|
|
29048
|
+
itemClickEvent: {
|
|
29049
|
+
types: string[];
|
|
29050
|
+
description: string;
|
|
29051
|
+
kind: string;
|
|
29052
|
+
};
|
|
29035
29053
|
gap: {
|
|
29036
29054
|
types: string[];
|
|
29037
29055
|
description: string;
|
|
@@ -35481,6 +35499,14 @@ export declare const PATTERN_REGISTRY: {
|
|
|
35481
35499
|
types: string[];
|
|
35482
35500
|
description: string;
|
|
35483
35501
|
};
|
|
35502
|
+
tickEvent: {
|
|
35503
|
+
types: string[];
|
|
35504
|
+
description: string;
|
|
35505
|
+
};
|
|
35506
|
+
drawEvent: {
|
|
35507
|
+
types: string[];
|
|
35508
|
+
description: string;
|
|
35509
|
+
};
|
|
35484
35510
|
};
|
|
35485
35511
|
};
|
|
35486
35512
|
"game-hud": {
|
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-29T02:49:56.240Z",
|
|
5
5
|
patterns: {
|
|
6
6
|
"entity-table": {
|
|
7
7
|
type: "entity-table",
|
|
@@ -13639,6 +13639,13 @@ var patterns_registry_default = {
|
|
|
13639
13639
|
]
|
|
13640
13640
|
}
|
|
13641
13641
|
},
|
|
13642
|
+
itemClickEvent: {
|
|
13643
|
+
types: [
|
|
13644
|
+
"string"
|
|
13645
|
+
],
|
|
13646
|
+
description: "When set, the whole row is clickable and emits UI:{itemClickEvent} with { id, row } (action-button clicks stopPropagation so they still win).",
|
|
13647
|
+
kind: "event"
|
|
13648
|
+
},
|
|
13642
13649
|
gap: {
|
|
13643
13650
|
types: [
|
|
13644
13651
|
"string"
|
|
@@ -19649,6 +19656,11 @@ var patterns_registry_default = {
|
|
|
19649
19656
|
name: "parentNodeId",
|
|
19650
19657
|
type: "string",
|
|
19651
19658
|
required: true
|
|
19659
|
+
},
|
|
19660
|
+
{
|
|
19661
|
+
name: "content",
|
|
19662
|
+
type: "string",
|
|
19663
|
+
required: true
|
|
19652
19664
|
}
|
|
19653
19665
|
]
|
|
19654
19666
|
},
|
|
@@ -23778,6 +23790,18 @@ var patterns_registry_default = {
|
|
|
23778
23790
|
"string"
|
|
23779
23791
|
],
|
|
23780
23792
|
description: "Additional CSS classes"
|
|
23793
|
+
},
|
|
23794
|
+
tickEvent: {
|
|
23795
|
+
types: [
|
|
23796
|
+
"string"
|
|
23797
|
+
],
|
|
23798
|
+
description: "Event name emitted each tick with { dt, frame } \u2014 for closed-circuit .orb integration"
|
|
23799
|
+
},
|
|
23800
|
+
drawEvent: {
|
|
23801
|
+
types: [
|
|
23802
|
+
"string"
|
|
23803
|
+
],
|
|
23804
|
+
description: "Event name emitted each draw frame with { frame } \u2014 for closed-circuit .orb integration"
|
|
23781
23805
|
}
|
|
23782
23806
|
}
|
|
23783
23807
|
},
|
|
@@ -33553,7 +33577,7 @@ var integrators_registry_default = {
|
|
|
33553
33577
|
// src/component-mapping.json
|
|
33554
33578
|
var component_mapping_default = {
|
|
33555
33579
|
version: "1.0.0",
|
|
33556
|
-
exportedAt: "2026-05-
|
|
33580
|
+
exportedAt: "2026-05-29T02:49:56.240Z",
|
|
33557
33581
|
mappings: {
|
|
33558
33582
|
"page-header": {
|
|
33559
33583
|
component: "PageHeader",
|
|
@@ -35093,7 +35117,7 @@ var component_mapping_default = {
|
|
|
35093
35117
|
// src/event-contracts.json
|
|
35094
35118
|
var event_contracts_default = {
|
|
35095
35119
|
version: "1.0.0",
|
|
35096
|
-
exportedAt: "2026-05-
|
|
35120
|
+
exportedAt: "2026-05-29T02:49:56.240Z",
|
|
35097
35121
|
contracts: {
|
|
35098
35122
|
form: {
|
|
35099
35123
|
emits: [
|