@almadar/patterns 2.29.0 → 2.30.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 +11 -1
- package/dist/event-contracts.json +1 -1
- package/dist/index.d.ts +100 -0
- package/dist/index.js +79 -7
- package/dist/index.js.map +1 -1
- package/dist/patterns-registry.json +67 -5
- package/dist/registry.json +67 -5
- package/dist/services-registry.json +29 -131
- 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-16T15:27:31.928Z",
|
|
4
4
|
"mappings": {
|
|
5
5
|
"page-header": {
|
|
6
6
|
"component": "PageHeader",
|
|
@@ -1499,6 +1499,16 @@
|
|
|
1499
1499
|
"importPath": "@/components/molecules/DateRangePicker",
|
|
1500
1500
|
"category": "component"
|
|
1501
1501
|
},
|
|
1502
|
+
"aside": {
|
|
1503
|
+
"component": "Aside",
|
|
1504
|
+
"importPath": "@/components/atoms/Aside",
|
|
1505
|
+
"category": "component"
|
|
1506
|
+
},
|
|
1507
|
+
"dialog": {
|
|
1508
|
+
"component": "Dialog",
|
|
1509
|
+
"importPath": "@/components/atoms/Dialog",
|
|
1510
|
+
"category": "container"
|
|
1511
|
+
},
|
|
1502
1512
|
"heading": {
|
|
1503
1513
|
"component": "Typography",
|
|
1504
1514
|
"importPath": "@/components/atoms/Typography",
|
package/dist/index.d.ts
CHANGED
|
@@ -1371,6 +1371,9 @@ export declare const registry: {
|
|
|
1371
1371
|
id: {
|
|
1372
1372
|
types: string[];
|
|
1373
1373
|
};
|
|
1374
|
+
value: {
|
|
1375
|
+
types: string[];
|
|
1376
|
+
};
|
|
1374
1377
|
label: {
|
|
1375
1378
|
types: string[];
|
|
1376
1379
|
};
|
|
@@ -1405,6 +1408,9 @@ export declare const registry: {
|
|
|
1405
1408
|
id: {
|
|
1406
1409
|
types: string[];
|
|
1407
1410
|
};
|
|
1411
|
+
value: {
|
|
1412
|
+
types: string[];
|
|
1413
|
+
};
|
|
1408
1414
|
label: {
|
|
1409
1415
|
types: string[];
|
|
1410
1416
|
};
|
|
@@ -7725,6 +7731,11 @@ export declare const registry: {
|
|
|
7725
7731
|
kind: string;
|
|
7726
7732
|
emitPayloadSchema: never[];
|
|
7727
7733
|
};
|
|
7734
|
+
dayWindow: {
|
|
7735
|
+
types: string[];
|
|
7736
|
+
description: string;
|
|
7737
|
+
default: string;
|
|
7738
|
+
};
|
|
7728
7739
|
};
|
|
7729
7740
|
};
|
|
7730
7741
|
"chart-legend": {
|
|
@@ -19016,6 +19027,40 @@ export declare const registry: {
|
|
|
19016
19027
|
};
|
|
19017
19028
|
};
|
|
19018
19029
|
};
|
|
19030
|
+
aside: {
|
|
19031
|
+
type: string;
|
|
19032
|
+
category: string;
|
|
19033
|
+
description: string;
|
|
19034
|
+
suggestedFor: string[];
|
|
19035
|
+
typicalSize: string;
|
|
19036
|
+
propsSchema: {
|
|
19037
|
+
className: {
|
|
19038
|
+
types: string[];
|
|
19039
|
+
description: string;
|
|
19040
|
+
};
|
|
19041
|
+
children: {
|
|
19042
|
+
types: string[];
|
|
19043
|
+
description: string;
|
|
19044
|
+
};
|
|
19045
|
+
};
|
|
19046
|
+
};
|
|
19047
|
+
dialog: {
|
|
19048
|
+
type: string;
|
|
19049
|
+
category: string;
|
|
19050
|
+
description: string;
|
|
19051
|
+
suggestedFor: string[];
|
|
19052
|
+
typicalSize: string;
|
|
19053
|
+
propsSchema: {
|
|
19054
|
+
className: {
|
|
19055
|
+
types: string[];
|
|
19056
|
+
description: string;
|
|
19057
|
+
};
|
|
19058
|
+
children: {
|
|
19059
|
+
types: string[];
|
|
19060
|
+
description: string;
|
|
19061
|
+
};
|
|
19062
|
+
};
|
|
19063
|
+
};
|
|
19019
19064
|
heading: {
|
|
19020
19065
|
type: string;
|
|
19021
19066
|
category: string;
|
|
@@ -20536,6 +20581,9 @@ export declare const PATTERN_REGISTRY: {
|
|
|
20536
20581
|
id: {
|
|
20537
20582
|
types: string[];
|
|
20538
20583
|
};
|
|
20584
|
+
value: {
|
|
20585
|
+
types: string[];
|
|
20586
|
+
};
|
|
20539
20587
|
label: {
|
|
20540
20588
|
types: string[];
|
|
20541
20589
|
};
|
|
@@ -20570,6 +20618,9 @@ export declare const PATTERN_REGISTRY: {
|
|
|
20570
20618
|
id: {
|
|
20571
20619
|
types: string[];
|
|
20572
20620
|
};
|
|
20621
|
+
value: {
|
|
20622
|
+
types: string[];
|
|
20623
|
+
};
|
|
20573
20624
|
label: {
|
|
20574
20625
|
types: string[];
|
|
20575
20626
|
};
|
|
@@ -26890,6 +26941,11 @@ export declare const PATTERN_REGISTRY: {
|
|
|
26890
26941
|
kind: string;
|
|
26891
26942
|
emitPayloadSchema: never[];
|
|
26892
26943
|
};
|
|
26944
|
+
dayWindow: {
|
|
26945
|
+
types: string[];
|
|
26946
|
+
description: string;
|
|
26947
|
+
default: string;
|
|
26948
|
+
};
|
|
26893
26949
|
};
|
|
26894
26950
|
};
|
|
26895
26951
|
"chart-legend": {
|
|
@@ -38181,6 +38237,40 @@ export declare const PATTERN_REGISTRY: {
|
|
|
38181
38237
|
};
|
|
38182
38238
|
};
|
|
38183
38239
|
};
|
|
38240
|
+
aside: {
|
|
38241
|
+
type: string;
|
|
38242
|
+
category: string;
|
|
38243
|
+
description: string;
|
|
38244
|
+
suggestedFor: string[];
|
|
38245
|
+
typicalSize: string;
|
|
38246
|
+
propsSchema: {
|
|
38247
|
+
className: {
|
|
38248
|
+
types: string[];
|
|
38249
|
+
description: string;
|
|
38250
|
+
};
|
|
38251
|
+
children: {
|
|
38252
|
+
types: string[];
|
|
38253
|
+
description: string;
|
|
38254
|
+
};
|
|
38255
|
+
};
|
|
38256
|
+
};
|
|
38257
|
+
dialog: {
|
|
38258
|
+
type: string;
|
|
38259
|
+
category: string;
|
|
38260
|
+
description: string;
|
|
38261
|
+
suggestedFor: string[];
|
|
38262
|
+
typicalSize: string;
|
|
38263
|
+
propsSchema: {
|
|
38264
|
+
className: {
|
|
38265
|
+
types: string[];
|
|
38266
|
+
description: string;
|
|
38267
|
+
};
|
|
38268
|
+
children: {
|
|
38269
|
+
types: string[];
|
|
38270
|
+
description: string;
|
|
38271
|
+
};
|
|
38272
|
+
};
|
|
38273
|
+
};
|
|
38184
38274
|
heading: {
|
|
38185
38275
|
type: string;
|
|
38186
38276
|
category: string;
|
|
@@ -40403,6 +40493,16 @@ export declare const COMPONENT_MAPPING: {
|
|
|
40403
40493
|
importPath: string;
|
|
40404
40494
|
category: string;
|
|
40405
40495
|
};
|
|
40496
|
+
aside: {
|
|
40497
|
+
component: string;
|
|
40498
|
+
importPath: string;
|
|
40499
|
+
category: string;
|
|
40500
|
+
};
|
|
40501
|
+
dialog: {
|
|
40502
|
+
component: string;
|
|
40503
|
+
importPath: string;
|
|
40504
|
+
category: string;
|
|
40505
|
+
};
|
|
40406
40506
|
heading: {
|
|
40407
40507
|
component: string;
|
|
40408
40508
|
importPath: 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-16T15:27:31.928Z",
|
|
5
5
|
patterns: {
|
|
6
6
|
"entity-table": {
|
|
7
7
|
type: "entity-table",
|
|
@@ -2155,6 +2155,11 @@ var patterns_registry_default = {
|
|
|
2155
2155
|
"string"
|
|
2156
2156
|
]
|
|
2157
2157
|
},
|
|
2158
|
+
value: {
|
|
2159
|
+
types: [
|
|
2160
|
+
"string"
|
|
2161
|
+
]
|
|
2162
|
+
},
|
|
2158
2163
|
label: {
|
|
2159
2164
|
types: [
|
|
2160
2165
|
"string"
|
|
@@ -2194,7 +2199,6 @@ var patterns_registry_default = {
|
|
|
2194
2199
|
}
|
|
2195
2200
|
},
|
|
2196
2201
|
required: [
|
|
2197
|
-
"id",
|
|
2198
2202
|
"label"
|
|
2199
2203
|
]
|
|
2200
2204
|
}
|
|
@@ -2214,6 +2218,11 @@ var patterns_registry_default = {
|
|
|
2214
2218
|
"string"
|
|
2215
2219
|
]
|
|
2216
2220
|
},
|
|
2221
|
+
value: {
|
|
2222
|
+
types: [
|
|
2223
|
+
"string"
|
|
2224
|
+
]
|
|
2225
|
+
},
|
|
2217
2226
|
label: {
|
|
2218
2227
|
types: [
|
|
2219
2228
|
"string"
|
|
@@ -2253,7 +2262,6 @@ var patterns_registry_default = {
|
|
|
2253
2262
|
}
|
|
2254
2263
|
},
|
|
2255
2264
|
required: [
|
|
2256
|
-
"id",
|
|
2257
2265
|
"label"
|
|
2258
2266
|
]
|
|
2259
2267
|
}
|
|
@@ -7902,8 +7910,8 @@ var patterns_registry_default = {
|
|
|
7902
7910
|
types: [
|
|
7903
7911
|
"string"
|
|
7904
7912
|
],
|
|
7905
|
-
description: "Panel width @default 'w-96'",
|
|
7906
|
-
default: "w-96"
|
|
7913
|
+
description: "Panel width as Tailwind class string. Default fills the viewport on mobile and snaps to `w-96` (384 px) at `sm:` and above so phones don't lose content to a fixed 384 px column. Consumers passing a custom value should include a `w-full` mobile fallback in the same string (e.g. `\"w-full sm:w-[480px]\"`) \u2014 Tailwind's JIT can't see dynamically-concatenated class names. @default 'w-full sm:w-96'",
|
|
7914
|
+
default: "w-full sm:w-96"
|
|
7907
7915
|
},
|
|
7908
7916
|
position: {
|
|
7909
7917
|
types: [
|
|
@@ -12308,6 +12316,14 @@ var patterns_registry_default = {
|
|
|
12308
12316
|
description: "Event emitted on swipe right (prev week): UI:{swipeRightEvent}",
|
|
12309
12317
|
kind: "event-ref",
|
|
12310
12318
|
emitPayloadSchema: []
|
|
12319
|
+
},
|
|
12320
|
+
dayWindow: {
|
|
12321
|
+
types: [
|
|
12322
|
+
"number",
|
|
12323
|
+
"string"
|
|
12324
|
+
],
|
|
12325
|
+
description: "Override the viewport-driven day window. `'auto'` (default) tracks `window.innerWidth` \u2014 1 day on mobile, 3 on tablet, 7 on laptop+. Pass an explicit number to force a fixed window (useful for print layouts or screenshot tests).",
|
|
12326
|
+
default: "auto"
|
|
12311
12327
|
}
|
|
12312
12328
|
}
|
|
12313
12329
|
},
|
|
@@ -30151,6 +30167,52 @@ var patterns_registry_default = {
|
|
|
30151
30167
|
}
|
|
30152
30168
|
}
|
|
30153
30169
|
},
|
|
30170
|
+
aside: {
|
|
30171
|
+
type: "aside",
|
|
30172
|
+
category: "component",
|
|
30173
|
+
description: "Aside Atom Component Semantic wrapper for the native `<aside>` landmark. Owns raw HTML so molecules (SidePanel, navigation rails, callouts) can compose the semantic-aside primitive without falling back to a raw element.",
|
|
30174
|
+
suggestedFor: [
|
|
30175
|
+
"aside"
|
|
30176
|
+
],
|
|
30177
|
+
typicalSize: "small",
|
|
30178
|
+
propsSchema: {
|
|
30179
|
+
className: {
|
|
30180
|
+
types: [
|
|
30181
|
+
"string"
|
|
30182
|
+
],
|
|
30183
|
+
description: "Additional CSS classes"
|
|
30184
|
+
},
|
|
30185
|
+
children: {
|
|
30186
|
+
types: [
|
|
30187
|
+
"node"
|
|
30188
|
+
],
|
|
30189
|
+
description: "Aside contents"
|
|
30190
|
+
}
|
|
30191
|
+
}
|
|
30192
|
+
},
|
|
30193
|
+
dialog: {
|
|
30194
|
+
type: "dialog",
|
|
30195
|
+
category: "container",
|
|
30196
|
+
description: 'Dialog Atom Component Semantic wrapper for the native `<dialog>` element. Owns the raw HTML rendering so molecules (Modal, ConfirmDialog, etc.) can compose the dialog primitive without dropping back to raw HTML. Defaults `role="dialog"` and `aria-modal="true"`; both overridable for non-modal use cases.',
|
|
30197
|
+
suggestedFor: [
|
|
30198
|
+
"dialog"
|
|
30199
|
+
],
|
|
30200
|
+
typicalSize: "small",
|
|
30201
|
+
propsSchema: {
|
|
30202
|
+
className: {
|
|
30203
|
+
types: [
|
|
30204
|
+
"string"
|
|
30205
|
+
],
|
|
30206
|
+
description: "Additional CSS classes"
|
|
30207
|
+
},
|
|
30208
|
+
children: {
|
|
30209
|
+
types: [
|
|
30210
|
+
"node"
|
|
30211
|
+
],
|
|
30212
|
+
description: "Dialog contents"
|
|
30213
|
+
}
|
|
30214
|
+
}
|
|
30215
|
+
},
|
|
30154
30216
|
heading: {
|
|
30155
30217
|
type: "heading",
|
|
30156
30218
|
category: "component",
|
|
@@ -31085,7 +31147,7 @@ var integrators_registry_default = {
|
|
|
31085
31147
|
// src/component-mapping.json
|
|
31086
31148
|
var component_mapping_default = {
|
|
31087
31149
|
version: "1.0.0",
|
|
31088
|
-
exportedAt: "2026-05-
|
|
31150
|
+
exportedAt: "2026-05-16T15:27:31.928Z",
|
|
31089
31151
|
mappings: {
|
|
31090
31152
|
"page-header": {
|
|
31091
31153
|
component: "PageHeader",
|
|
@@ -32584,6 +32646,16 @@ var component_mapping_default = {
|
|
|
32584
32646
|
importPath: "@/components/molecules/DateRangePicker",
|
|
32585
32647
|
category: "component"
|
|
32586
32648
|
},
|
|
32649
|
+
aside: {
|
|
32650
|
+
component: "Aside",
|
|
32651
|
+
importPath: "@/components/atoms/Aside",
|
|
32652
|
+
category: "component"
|
|
32653
|
+
},
|
|
32654
|
+
dialog: {
|
|
32655
|
+
component: "Dialog",
|
|
32656
|
+
importPath: "@/components/atoms/Dialog",
|
|
32657
|
+
category: "container"
|
|
32658
|
+
},
|
|
32587
32659
|
heading: {
|
|
32588
32660
|
component: "Typography",
|
|
32589
32661
|
importPath: "@/components/atoms/Typography",
|
|
@@ -32600,7 +32672,7 @@ var component_mapping_default = {
|
|
|
32600
32672
|
// src/event-contracts.json
|
|
32601
32673
|
var event_contracts_default = {
|
|
32602
32674
|
version: "1.0.0",
|
|
32603
|
-
exportedAt: "2026-05-
|
|
32675
|
+
exportedAt: "2026-05-16T15:27:31.928Z",
|
|
32604
32676
|
contracts: {
|
|
32605
32677
|
form: {
|
|
32606
32678
|
emits: [
|