@almadar/patterns 2.30.11 → 2.30.12
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 +126 -2
- package/dist/index.js +155 -5
- package/dist/index.js.map +1 -1
- package/dist/patterns-registry.json +153 -3
- package/dist/registry.json +153 -3
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"exportedAt": "2026-05-26T02:
|
|
3
|
+
"exportedAt": "2026-05-26T02:27:33.609Z",
|
|
4
4
|
"patterns": {
|
|
5
5
|
"entity-table": {
|
|
6
6
|
"type": "entity-table",
|
|
@@ -237,6 +237,20 @@
|
|
|
237
237
|
],
|
|
238
238
|
"description": "Show total count in pagination",
|
|
239
239
|
"default": true
|
|
240
|
+
},
|
|
241
|
+
"look": {
|
|
242
|
+
"types": [
|
|
243
|
+
"string"
|
|
244
|
+
],
|
|
245
|
+
"description": "Layer 2 visual treatment — orthogonal to the semantic variant.",
|
|
246
|
+
"enumValues": [
|
|
247
|
+
"dense",
|
|
248
|
+
"spacious",
|
|
249
|
+
"striped",
|
|
250
|
+
"borderless",
|
|
251
|
+
"card-rows"
|
|
252
|
+
],
|
|
253
|
+
"default": "dense"
|
|
240
254
|
}
|
|
241
255
|
}
|
|
242
256
|
},
|
|
@@ -2111,6 +2125,20 @@
|
|
|
2111
2125
|
"boolean"
|
|
2112
2126
|
],
|
|
2113
2127
|
"description": "Loading state indicator"
|
|
2128
|
+
},
|
|
2129
|
+
"look": {
|
|
2130
|
+
"types": [
|
|
2131
|
+
"string"
|
|
2132
|
+
],
|
|
2133
|
+
"description": "Layer 2 visual treatment — orthogonal to the semantic variant.",
|
|
2134
|
+
"enumValues": [
|
|
2135
|
+
"toolbar",
|
|
2136
|
+
"chips",
|
|
2137
|
+
"pills",
|
|
2138
|
+
"popover-trigger",
|
|
2139
|
+
"inline-column-header"
|
|
2140
|
+
],
|
|
2141
|
+
"default": "toolbar"
|
|
2114
2142
|
}
|
|
2115
2143
|
}
|
|
2116
2144
|
},
|
|
@@ -3416,6 +3444,19 @@
|
|
|
3416
3444
|
"description": "Declarative action event — emits UI:{actionEvent} via eventBus when action button is clicked",
|
|
3417
3445
|
"kind": "event-ref",
|
|
3418
3446
|
"emitPayloadSchema": []
|
|
3447
|
+
},
|
|
3448
|
+
"look": {
|
|
3449
|
+
"types": [
|
|
3450
|
+
"string"
|
|
3451
|
+
],
|
|
3452
|
+
"description": "Layer 2 visual treatment — orthogonal to the semantic variant (which carries status color).",
|
|
3453
|
+
"enumValues": [
|
|
3454
|
+
"illustrated",
|
|
3455
|
+
"icon-only",
|
|
3456
|
+
"text-only",
|
|
3457
|
+
"mascot"
|
|
3458
|
+
],
|
|
3459
|
+
"default": "icon-only"
|
|
3419
3460
|
}
|
|
3420
3461
|
}
|
|
3421
3462
|
},
|
|
@@ -3748,6 +3789,19 @@
|
|
|
3748
3789
|
],
|
|
3749
3790
|
"description": "Enable swipe-down-to-close on mobile bottom sheet (default: true)",
|
|
3750
3791
|
"default": true
|
|
3792
|
+
},
|
|
3793
|
+
"look": {
|
|
3794
|
+
"types": [
|
|
3795
|
+
"string"
|
|
3796
|
+
],
|
|
3797
|
+
"description": "Layer 2 visual treatment — orthogonal to the semantic variant.",
|
|
3798
|
+
"enumValues": [
|
|
3799
|
+
"centered-card",
|
|
3800
|
+
"top-sheet",
|
|
3801
|
+
"side-drawer",
|
|
3802
|
+
"full-screen"
|
|
3803
|
+
],
|
|
3804
|
+
"default": "centered-card"
|
|
3751
3805
|
}
|
|
3752
3806
|
}
|
|
3753
3807
|
},
|
|
@@ -7315,6 +7369,20 @@
|
|
|
7315
7369
|
"label"
|
|
7316
7370
|
]
|
|
7317
7371
|
}
|
|
7372
|
+
},
|
|
7373
|
+
"look": {
|
|
7374
|
+
"types": [
|
|
7375
|
+
"string"
|
|
7376
|
+
],
|
|
7377
|
+
"description": "Layer 2 visual treatment for the action-cluster (form-actions) pattern. @default 'right-aligned-buttons'",
|
|
7378
|
+
"enumValues": [
|
|
7379
|
+
"right-aligned-buttons",
|
|
7380
|
+
"floating-bar",
|
|
7381
|
+
"inline-row",
|
|
7382
|
+
"dropdown-menu",
|
|
7383
|
+
"command-palette-trigger"
|
|
7384
|
+
],
|
|
7385
|
+
"default": "right-aligned-buttons"
|
|
7318
7386
|
}
|
|
7319
7387
|
}
|
|
7320
7388
|
},
|
|
@@ -8299,6 +8367,20 @@
|
|
|
8299
8367
|
],
|
|
8300
8368
|
"default": "mobile"
|
|
8301
8369
|
},
|
|
8370
|
+
"look": {
|
|
8371
|
+
"types": [
|
|
8372
|
+
"string"
|
|
8373
|
+
],
|
|
8374
|
+
"description": "Layer 2 visual treatment — orthogonal to the structural variant (which currently flips mobile vs desktop).",
|
|
8375
|
+
"enumValues": [
|
|
8376
|
+
"hero",
|
|
8377
|
+
"compact-bar",
|
|
8378
|
+
"breadcrumb",
|
|
8379
|
+
"contextual",
|
|
8380
|
+
"editorial-banner"
|
|
8381
|
+
],
|
|
8382
|
+
"default": "compact-bar"
|
|
8383
|
+
},
|
|
8302
8384
|
"onLogoClick": {
|
|
8303
8385
|
"types": [
|
|
8304
8386
|
"function"
|
|
@@ -9872,7 +9954,7 @@
|
|
|
9872
9954
|
"types": [
|
|
9873
9955
|
"string"
|
|
9874
9956
|
],
|
|
9875
|
-
"description": "Chart type",
|
|
9957
|
+
"description": "Chart type (legacy alias for `look`).",
|
|
9876
9958
|
"enumValues": [
|
|
9877
9959
|
"bar",
|
|
9878
9960
|
"line",
|
|
@@ -9881,8 +9963,23 @@
|
|
|
9881
9963
|
"donut",
|
|
9882
9964
|
"scatter",
|
|
9883
9965
|
"histogram"
|
|
9966
|
+
]
|
|
9967
|
+
},
|
|
9968
|
+
"look": {
|
|
9969
|
+
"types": [
|
|
9970
|
+
"string"
|
|
9884
9971
|
],
|
|
9885
|
-
"
|
|
9972
|
+
"description": "Layer 2 visual treatment — drives the chart sub-renderer (bar / line / pie / etc.).",
|
|
9973
|
+
"enumValues": [
|
|
9974
|
+
"bar-vertical",
|
|
9975
|
+
"bar-horizontal",
|
|
9976
|
+
"line",
|
|
9977
|
+
"area",
|
|
9978
|
+
"pie",
|
|
9979
|
+
"donut",
|
|
9980
|
+
"scatter",
|
|
9981
|
+
"histogram"
|
|
9982
|
+
]
|
|
9886
9983
|
},
|
|
9887
9984
|
"series": {
|
|
9888
9985
|
"types": [
|
|
@@ -10475,6 +10572,19 @@
|
|
|
10475
10572
|
"label"
|
|
10476
10573
|
]
|
|
10477
10574
|
}
|
|
10575
|
+
},
|
|
10576
|
+
"look": {
|
|
10577
|
+
"types": [
|
|
10578
|
+
"string"
|
|
10579
|
+
],
|
|
10580
|
+
"description": "Layer 2 visual treatment.",
|
|
10581
|
+
"enumValues": [
|
|
10582
|
+
"vertical-compact",
|
|
10583
|
+
"vertical-spacious",
|
|
10584
|
+
"horizontal",
|
|
10585
|
+
"swimlane"
|
|
10586
|
+
],
|
|
10587
|
+
"default": "vertical-spacious"
|
|
10478
10588
|
}
|
|
10479
10589
|
}
|
|
10480
10590
|
},
|
|
@@ -13218,6 +13328,19 @@
|
|
|
13218
13328
|
],
|
|
13219
13329
|
"description": "Max items to show before \"Show More\" button. Defaults to 0 (disabled).",
|
|
13220
13330
|
"default": 0
|
|
13331
|
+
},
|
|
13332
|
+
"look": {
|
|
13333
|
+
"types": [
|
|
13334
|
+
"string"
|
|
13335
|
+
],
|
|
13336
|
+
"description": "Layer 2 visual treatment — mirrors the `entity-table` look enum so data-grid / data-list / entity-table share one knob name from authors.",
|
|
13337
|
+
"enumValues": [
|
|
13338
|
+
"dense",
|
|
13339
|
+
"spacious",
|
|
13340
|
+
"striped",
|
|
13341
|
+
"borderless",
|
|
13342
|
+
"card-rows"
|
|
13343
|
+
]
|
|
13221
13344
|
}
|
|
13222
13345
|
}
|
|
13223
13346
|
},
|
|
@@ -13620,6 +13743,19 @@
|
|
|
13620
13743
|
],
|
|
13621
13744
|
"description": "Max items to show before \"Show More\" button. Defaults to 5. Set to 0 to disable.",
|
|
13622
13745
|
"default": 5
|
|
13746
|
+
},
|
|
13747
|
+
"look": {
|
|
13748
|
+
"types": [
|
|
13749
|
+
"string"
|
|
13750
|
+
],
|
|
13751
|
+
"description": "Layer 2 visual treatment — mirrors the `entity-table` look enum so data-grid / data-list / entity-table share one knob name from authors.",
|
|
13752
|
+
"enumValues": [
|
|
13753
|
+
"dense",
|
|
13754
|
+
"spacious",
|
|
13755
|
+
"striped",
|
|
13756
|
+
"borderless",
|
|
13757
|
+
"card-rows"
|
|
13758
|
+
]
|
|
13623
13759
|
}
|
|
13624
13760
|
}
|
|
13625
13761
|
},
|
|
@@ -15222,6 +15358,20 @@
|
|
|
15222
15358
|
"description": "Compact mode (inline, no card wrapper)",
|
|
15223
15359
|
"default": false
|
|
15224
15360
|
},
|
|
15361
|
+
"look": {
|
|
15362
|
+
"types": [
|
|
15363
|
+
"string"
|
|
15364
|
+
],
|
|
15365
|
+
"description": "Layer 2 visual treatment.",
|
|
15366
|
+
"enumValues": [
|
|
15367
|
+
"elevated",
|
|
15368
|
+
"flat",
|
|
15369
|
+
"progress-backed",
|
|
15370
|
+
"gauge",
|
|
15371
|
+
"sparkline"
|
|
15372
|
+
],
|
|
15373
|
+
"default": "elevated"
|
|
15374
|
+
},
|
|
15225
15375
|
"className": {
|
|
15226
15376
|
"types": [
|
|
15227
15377
|
"string"
|
package/dist/registry.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"exportedAt": "2026-05-26T02:
|
|
3
|
+
"exportedAt": "2026-05-26T02:27:33.609Z",
|
|
4
4
|
"patterns": {
|
|
5
5
|
"entity-table": {
|
|
6
6
|
"type": "entity-table",
|
|
@@ -237,6 +237,20 @@
|
|
|
237
237
|
],
|
|
238
238
|
"description": "Show total count in pagination",
|
|
239
239
|
"default": true
|
|
240
|
+
},
|
|
241
|
+
"look": {
|
|
242
|
+
"types": [
|
|
243
|
+
"string"
|
|
244
|
+
],
|
|
245
|
+
"description": "Layer 2 visual treatment — orthogonal to the semantic variant.",
|
|
246
|
+
"enumValues": [
|
|
247
|
+
"dense",
|
|
248
|
+
"spacious",
|
|
249
|
+
"striped",
|
|
250
|
+
"borderless",
|
|
251
|
+
"card-rows"
|
|
252
|
+
],
|
|
253
|
+
"default": "dense"
|
|
240
254
|
}
|
|
241
255
|
}
|
|
242
256
|
},
|
|
@@ -2111,6 +2125,20 @@
|
|
|
2111
2125
|
"boolean"
|
|
2112
2126
|
],
|
|
2113
2127
|
"description": "Loading state indicator"
|
|
2128
|
+
},
|
|
2129
|
+
"look": {
|
|
2130
|
+
"types": [
|
|
2131
|
+
"string"
|
|
2132
|
+
],
|
|
2133
|
+
"description": "Layer 2 visual treatment — orthogonal to the semantic variant.",
|
|
2134
|
+
"enumValues": [
|
|
2135
|
+
"toolbar",
|
|
2136
|
+
"chips",
|
|
2137
|
+
"pills",
|
|
2138
|
+
"popover-trigger",
|
|
2139
|
+
"inline-column-header"
|
|
2140
|
+
],
|
|
2141
|
+
"default": "toolbar"
|
|
2114
2142
|
}
|
|
2115
2143
|
}
|
|
2116
2144
|
},
|
|
@@ -3416,6 +3444,19 @@
|
|
|
3416
3444
|
"description": "Declarative action event — emits UI:{actionEvent} via eventBus when action button is clicked",
|
|
3417
3445
|
"kind": "event-ref",
|
|
3418
3446
|
"emitPayloadSchema": []
|
|
3447
|
+
},
|
|
3448
|
+
"look": {
|
|
3449
|
+
"types": [
|
|
3450
|
+
"string"
|
|
3451
|
+
],
|
|
3452
|
+
"description": "Layer 2 visual treatment — orthogonal to the semantic variant (which carries status color).",
|
|
3453
|
+
"enumValues": [
|
|
3454
|
+
"illustrated",
|
|
3455
|
+
"icon-only",
|
|
3456
|
+
"text-only",
|
|
3457
|
+
"mascot"
|
|
3458
|
+
],
|
|
3459
|
+
"default": "icon-only"
|
|
3419
3460
|
}
|
|
3420
3461
|
}
|
|
3421
3462
|
},
|
|
@@ -3748,6 +3789,19 @@
|
|
|
3748
3789
|
],
|
|
3749
3790
|
"description": "Enable swipe-down-to-close on mobile bottom sheet (default: true)",
|
|
3750
3791
|
"default": true
|
|
3792
|
+
},
|
|
3793
|
+
"look": {
|
|
3794
|
+
"types": [
|
|
3795
|
+
"string"
|
|
3796
|
+
],
|
|
3797
|
+
"description": "Layer 2 visual treatment — orthogonal to the semantic variant.",
|
|
3798
|
+
"enumValues": [
|
|
3799
|
+
"centered-card",
|
|
3800
|
+
"top-sheet",
|
|
3801
|
+
"side-drawer",
|
|
3802
|
+
"full-screen"
|
|
3803
|
+
],
|
|
3804
|
+
"default": "centered-card"
|
|
3751
3805
|
}
|
|
3752
3806
|
}
|
|
3753
3807
|
},
|
|
@@ -7315,6 +7369,20 @@
|
|
|
7315
7369
|
"label"
|
|
7316
7370
|
]
|
|
7317
7371
|
}
|
|
7372
|
+
},
|
|
7373
|
+
"look": {
|
|
7374
|
+
"types": [
|
|
7375
|
+
"string"
|
|
7376
|
+
],
|
|
7377
|
+
"description": "Layer 2 visual treatment for the action-cluster (form-actions) pattern. @default 'right-aligned-buttons'",
|
|
7378
|
+
"enumValues": [
|
|
7379
|
+
"right-aligned-buttons",
|
|
7380
|
+
"floating-bar",
|
|
7381
|
+
"inline-row",
|
|
7382
|
+
"dropdown-menu",
|
|
7383
|
+
"command-palette-trigger"
|
|
7384
|
+
],
|
|
7385
|
+
"default": "right-aligned-buttons"
|
|
7318
7386
|
}
|
|
7319
7387
|
}
|
|
7320
7388
|
},
|
|
@@ -8299,6 +8367,20 @@
|
|
|
8299
8367
|
],
|
|
8300
8368
|
"default": "mobile"
|
|
8301
8369
|
},
|
|
8370
|
+
"look": {
|
|
8371
|
+
"types": [
|
|
8372
|
+
"string"
|
|
8373
|
+
],
|
|
8374
|
+
"description": "Layer 2 visual treatment — orthogonal to the structural variant (which currently flips mobile vs desktop).",
|
|
8375
|
+
"enumValues": [
|
|
8376
|
+
"hero",
|
|
8377
|
+
"compact-bar",
|
|
8378
|
+
"breadcrumb",
|
|
8379
|
+
"contextual",
|
|
8380
|
+
"editorial-banner"
|
|
8381
|
+
],
|
|
8382
|
+
"default": "compact-bar"
|
|
8383
|
+
},
|
|
8302
8384
|
"onLogoClick": {
|
|
8303
8385
|
"types": [
|
|
8304
8386
|
"function"
|
|
@@ -9872,7 +9954,7 @@
|
|
|
9872
9954
|
"types": [
|
|
9873
9955
|
"string"
|
|
9874
9956
|
],
|
|
9875
|
-
"description": "Chart type",
|
|
9957
|
+
"description": "Chart type (legacy alias for `look`).",
|
|
9876
9958
|
"enumValues": [
|
|
9877
9959
|
"bar",
|
|
9878
9960
|
"line",
|
|
@@ -9881,8 +9963,23 @@
|
|
|
9881
9963
|
"donut",
|
|
9882
9964
|
"scatter",
|
|
9883
9965
|
"histogram"
|
|
9966
|
+
]
|
|
9967
|
+
},
|
|
9968
|
+
"look": {
|
|
9969
|
+
"types": [
|
|
9970
|
+
"string"
|
|
9884
9971
|
],
|
|
9885
|
-
"
|
|
9972
|
+
"description": "Layer 2 visual treatment — drives the chart sub-renderer (bar / line / pie / etc.).",
|
|
9973
|
+
"enumValues": [
|
|
9974
|
+
"bar-vertical",
|
|
9975
|
+
"bar-horizontal",
|
|
9976
|
+
"line",
|
|
9977
|
+
"area",
|
|
9978
|
+
"pie",
|
|
9979
|
+
"donut",
|
|
9980
|
+
"scatter",
|
|
9981
|
+
"histogram"
|
|
9982
|
+
]
|
|
9886
9983
|
},
|
|
9887
9984
|
"series": {
|
|
9888
9985
|
"types": [
|
|
@@ -10475,6 +10572,19 @@
|
|
|
10475
10572
|
"label"
|
|
10476
10573
|
]
|
|
10477
10574
|
}
|
|
10575
|
+
},
|
|
10576
|
+
"look": {
|
|
10577
|
+
"types": [
|
|
10578
|
+
"string"
|
|
10579
|
+
],
|
|
10580
|
+
"description": "Layer 2 visual treatment.",
|
|
10581
|
+
"enumValues": [
|
|
10582
|
+
"vertical-compact",
|
|
10583
|
+
"vertical-spacious",
|
|
10584
|
+
"horizontal",
|
|
10585
|
+
"swimlane"
|
|
10586
|
+
],
|
|
10587
|
+
"default": "vertical-spacious"
|
|
10478
10588
|
}
|
|
10479
10589
|
}
|
|
10480
10590
|
},
|
|
@@ -13218,6 +13328,19 @@
|
|
|
13218
13328
|
],
|
|
13219
13329
|
"description": "Max items to show before \"Show More\" button. Defaults to 0 (disabled).",
|
|
13220
13330
|
"default": 0
|
|
13331
|
+
},
|
|
13332
|
+
"look": {
|
|
13333
|
+
"types": [
|
|
13334
|
+
"string"
|
|
13335
|
+
],
|
|
13336
|
+
"description": "Layer 2 visual treatment — mirrors the `entity-table` look enum so data-grid / data-list / entity-table share one knob name from authors.",
|
|
13337
|
+
"enumValues": [
|
|
13338
|
+
"dense",
|
|
13339
|
+
"spacious",
|
|
13340
|
+
"striped",
|
|
13341
|
+
"borderless",
|
|
13342
|
+
"card-rows"
|
|
13343
|
+
]
|
|
13221
13344
|
}
|
|
13222
13345
|
}
|
|
13223
13346
|
},
|
|
@@ -13620,6 +13743,19 @@
|
|
|
13620
13743
|
],
|
|
13621
13744
|
"description": "Max items to show before \"Show More\" button. Defaults to 5. Set to 0 to disable.",
|
|
13622
13745
|
"default": 5
|
|
13746
|
+
},
|
|
13747
|
+
"look": {
|
|
13748
|
+
"types": [
|
|
13749
|
+
"string"
|
|
13750
|
+
],
|
|
13751
|
+
"description": "Layer 2 visual treatment — mirrors the `entity-table` look enum so data-grid / data-list / entity-table share one knob name from authors.",
|
|
13752
|
+
"enumValues": [
|
|
13753
|
+
"dense",
|
|
13754
|
+
"spacious",
|
|
13755
|
+
"striped",
|
|
13756
|
+
"borderless",
|
|
13757
|
+
"card-rows"
|
|
13758
|
+
]
|
|
13623
13759
|
}
|
|
13624
13760
|
}
|
|
13625
13761
|
},
|
|
@@ -15222,6 +15358,20 @@
|
|
|
15222
15358
|
"description": "Compact mode (inline, no card wrapper)",
|
|
15223
15359
|
"default": false
|
|
15224
15360
|
},
|
|
15361
|
+
"look": {
|
|
15362
|
+
"types": [
|
|
15363
|
+
"string"
|
|
15364
|
+
],
|
|
15365
|
+
"description": "Layer 2 visual treatment.",
|
|
15366
|
+
"enumValues": [
|
|
15367
|
+
"elevated",
|
|
15368
|
+
"flat",
|
|
15369
|
+
"progress-backed",
|
|
15370
|
+
"gauge",
|
|
15371
|
+
"sparkline"
|
|
15372
|
+
],
|
|
15373
|
+
"default": "elevated"
|
|
15374
|
+
},
|
|
15225
15375
|
"className": {
|
|
15226
15376
|
"types": [
|
|
15227
15377
|
"string"
|