@almadar/core 10.104.0 → 10.106.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/builders.d.ts +3 -3
- package/dist/{bus-DCYJF88B.d.ts → bus-CHi3QOOi.d.ts} +1 -1
- package/dist/{effect-DhsB3usU.d.ts → effect-DtAf51pB.d.ts} +32 -3
- package/dist/{entityAccess-CLWlioZ0.d.ts → entityAccess-Y0Hh6fCW.d.ts} +2 -2
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory/index.js +373 -8
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/fixtures.d.ts +2 -2
- package/dist/{index-B1az2E8z.d.ts → index-C6JxaoI5.d.ts} +5 -5
- package/dist/index.d.ts +12 -12
- package/dist/index.js +388 -11
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- package/dist/patterns/component-mapping.json +11 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +832 -21
- package/dist/patterns/index.js +388 -11
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +374 -9
- package/dist/patterns/registry.json +374 -9
- package/dist/{schema-CjwAD-Y4.d.ts → schema-aRqGRPE_.d.ts} +2 -2
- package/dist/{trait-DoFyUfui.d.ts → trait-CzhNoRw4.d.ts} +1 -1
- package/dist/types/index.d.ts +6 -6
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -1
- package/dist/{types-DBAbXfRk.d.ts → types-4EKT1Oco.d.ts} +2 -2
- package/package.json +2 -2
package/dist/patterns/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { z } from 'zod';
|
|
|
3
3
|
// src/patterns/patterns-registry.json
|
|
4
4
|
var patterns_registry_default = {
|
|
5
5
|
version: "1.0.0",
|
|
6
|
-
exportedAt: "2026-09-
|
|
6
|
+
exportedAt: "2026-09-26T10:53:57.077Z",
|
|
7
7
|
patterns: {
|
|
8
8
|
"entity-table": {
|
|
9
9
|
type: "entity-table",
|
|
@@ -9443,6 +9443,11 @@ var patterns_registry_default = {
|
|
|
9443
9443
|
],
|
|
9444
9444
|
kind: "event"
|
|
9445
9445
|
},
|
|
9446
|
+
href: {
|
|
9447
|
+
types: [
|
|
9448
|
+
"string"
|
|
9449
|
+
]
|
|
9450
|
+
},
|
|
9446
9451
|
url: {
|
|
9447
9452
|
types: [
|
|
9448
9453
|
"string"
|
|
@@ -12085,6 +12090,7 @@ var patterns_registry_default = {
|
|
|
12085
12090
|
header: {
|
|
12086
12091
|
type: "header",
|
|
12087
12092
|
category: "header",
|
|
12093
|
+
sourceFile: "components/core/molecules/Header.tsx",
|
|
12088
12094
|
tier: "molecules",
|
|
12089
12095
|
family: "core",
|
|
12090
12096
|
description: "Header Organism Component A header component for mobile/responsive layouts with menu toggle, brand, and user avatar. Styled to match the main Layout component's mobile header.",
|
|
@@ -12153,6 +12159,18 @@ var patterns_registry_default = {
|
|
|
12153
12159
|
types: [
|
|
12154
12160
|
"boolean"
|
|
12155
12161
|
]
|
|
12162
|
+
},
|
|
12163
|
+
children: {
|
|
12164
|
+
types: [
|
|
12165
|
+
"array"
|
|
12166
|
+
],
|
|
12167
|
+
items: {
|
|
12168
|
+
types: [
|
|
12169
|
+
"object"
|
|
12170
|
+
],
|
|
12171
|
+
cyclic: true,
|
|
12172
|
+
cyclicTypeName: "HeaderNavigationItem"
|
|
12173
|
+
}
|
|
12156
12174
|
}
|
|
12157
12175
|
},
|
|
12158
12176
|
required: [
|
|
@@ -48859,6 +48877,7 @@ var patterns_registry_default = {
|
|
|
48859
48877
|
"dock-layout": {
|
|
48860
48878
|
type: "dock-layout",
|
|
48861
48879
|
category: "layout",
|
|
48880
|
+
sourceFile: "components/core/organisms/layout/DockLayout.tsx",
|
|
48862
48881
|
tier: "organisms",
|
|
48863
48882
|
family: "core",
|
|
48864
48883
|
description: "DockLayout component",
|
|
@@ -48910,8 +48929,7 @@ var patterns_registry_default = {
|
|
|
48910
48929
|
types: [
|
|
48911
48930
|
"number"
|
|
48912
48931
|
],
|
|
48913
|
-
description: "Width of `rail` in pixels
|
|
48914
|
-
default: 56
|
|
48932
|
+
description: "Width of `rail` in pixels; the rail sizes the column itself when omitted."
|
|
48915
48933
|
},
|
|
48916
48934
|
secondarySidebarWidth: {
|
|
48917
48935
|
types: [
|
|
@@ -48924,8 +48942,7 @@ var patterns_registry_default = {
|
|
|
48924
48942
|
types: [
|
|
48925
48943
|
"boolean"
|
|
48926
48944
|
],
|
|
48927
|
-
description: "Whether `sidebar` is collapsed. @default false"
|
|
48928
|
-
default: false
|
|
48945
|
+
description: "Whether `sidebar` is collapsed. @default false"
|
|
48929
48946
|
},
|
|
48930
48947
|
onSidebarCollapsedChange: {
|
|
48931
48948
|
types: [
|
|
@@ -48971,8 +48988,7 @@ var patterns_registry_default = {
|
|
|
48971
48988
|
types: [
|
|
48972
48989
|
"boolean"
|
|
48973
48990
|
],
|
|
48974
|
-
description: "Whether `bottomPanel` is collapsed. @default false"
|
|
48975
|
-
default: false
|
|
48991
|
+
description: "Whether `bottomPanel` is collapsed. @default false"
|
|
48976
48992
|
},
|
|
48977
48993
|
onBottomPanelCollapsedChange: {
|
|
48978
48994
|
types: [
|
|
@@ -49018,8 +49034,7 @@ var patterns_registry_default = {
|
|
|
49018
49034
|
types: [
|
|
49019
49035
|
"boolean"
|
|
49020
49036
|
],
|
|
49021
|
-
description: "Whether `secondarySidebar` is collapsed. @default false"
|
|
49022
|
-
default: false
|
|
49037
|
+
description: "Whether `secondarySidebar` is collapsed. @default false"
|
|
49023
49038
|
},
|
|
49024
49039
|
onSecondarySidebarCollapsedChange: {
|
|
49025
49040
|
types: [
|
|
@@ -49034,6 +49049,44 @@ var patterns_registry_default = {
|
|
|
49034
49049
|
}
|
|
49035
49050
|
]
|
|
49036
49051
|
},
|
|
49052
|
+
compact: {
|
|
49053
|
+
types: [
|
|
49054
|
+
"boolean"
|
|
49055
|
+
],
|
|
49056
|
+
description: "The mobile variant; decided by the viewport (narrower than 1024px) when omitted."
|
|
49057
|
+
},
|
|
49058
|
+
secondarySidebarLabel: {
|
|
49059
|
+
types: [
|
|
49060
|
+
"string"
|
|
49061
|
+
],
|
|
49062
|
+
description: 'Compact: the top-bar button that opens `secondarySidebar` (e.g. "Inspector", "Chat").'
|
|
49063
|
+
},
|
|
49064
|
+
secondarySidebarIcon: {
|
|
49065
|
+
types: [
|
|
49066
|
+
"icon",
|
|
49067
|
+
"string"
|
|
49068
|
+
],
|
|
49069
|
+
description: "secondarySidebarIcon prop"
|
|
49070
|
+
},
|
|
49071
|
+
bottomPanelLabel: {
|
|
49072
|
+
types: [
|
|
49073
|
+
"string"
|
|
49074
|
+
],
|
|
49075
|
+
description: "Compact: the top-bar button that opens `bottomPanel`."
|
|
49076
|
+
},
|
|
49077
|
+
bottomPanelIcon: {
|
|
49078
|
+
types: [
|
|
49079
|
+
"icon",
|
|
49080
|
+
"string"
|
|
49081
|
+
],
|
|
49082
|
+
description: "bottomPanelIcon prop"
|
|
49083
|
+
},
|
|
49084
|
+
topBarActions: {
|
|
49085
|
+
types: [
|
|
49086
|
+
"node"
|
|
49087
|
+
],
|
|
49088
|
+
description: "Compact: the host's own actions at the end of the top bar (e.g. Run)."
|
|
49089
|
+
},
|
|
49037
49090
|
className: {
|
|
49038
49091
|
types: [
|
|
49039
49092
|
"string"
|
|
@@ -50304,6 +50357,318 @@ var patterns_registry_default = {
|
|
|
50304
50357
|
description: "className prop"
|
|
50305
50358
|
}
|
|
50306
50359
|
}
|
|
50360
|
+
},
|
|
50361
|
+
"icon-button": {
|
|
50362
|
+
type: "icon-button",
|
|
50363
|
+
category: "component",
|
|
50364
|
+
sourceFile: "components/core/molecules/IconButton.tsx",
|
|
50365
|
+
tier: "molecules",
|
|
50366
|
+
family: "core",
|
|
50367
|
+
description: "IconButton component",
|
|
50368
|
+
suggestedFor: [
|
|
50369
|
+
"icon",
|
|
50370
|
+
"button",
|
|
50371
|
+
"icon button"
|
|
50372
|
+
],
|
|
50373
|
+
typicalSize: "medium",
|
|
50374
|
+
propsSchema: {
|
|
50375
|
+
className: {
|
|
50376
|
+
types: [
|
|
50377
|
+
"string"
|
|
50378
|
+
],
|
|
50379
|
+
description: "Additional CSS classes applied to the root element."
|
|
50380
|
+
},
|
|
50381
|
+
variant: {
|
|
50382
|
+
types: [
|
|
50383
|
+
"string"
|
|
50384
|
+
],
|
|
50385
|
+
description: "variant prop",
|
|
50386
|
+
enumValues: [
|
|
50387
|
+
"primary",
|
|
50388
|
+
"secondary",
|
|
50389
|
+
"ghost",
|
|
50390
|
+
"danger",
|
|
50391
|
+
"success",
|
|
50392
|
+
"warning",
|
|
50393
|
+
"default",
|
|
50394
|
+
"link"
|
|
50395
|
+
],
|
|
50396
|
+
default: "ghost"
|
|
50397
|
+
},
|
|
50398
|
+
size: {
|
|
50399
|
+
types: [
|
|
50400
|
+
"string"
|
|
50401
|
+
],
|
|
50402
|
+
description: "size prop",
|
|
50403
|
+
enumValues: [
|
|
50404
|
+
"sm",
|
|
50405
|
+
"md",
|
|
50406
|
+
"lg"
|
|
50407
|
+
],
|
|
50408
|
+
default: "sm"
|
|
50409
|
+
},
|
|
50410
|
+
isLoading: {
|
|
50411
|
+
types: [
|
|
50412
|
+
"boolean"
|
|
50413
|
+
],
|
|
50414
|
+
description: "isLoading prop"
|
|
50415
|
+
},
|
|
50416
|
+
iconAsset: {
|
|
50417
|
+
types: [
|
|
50418
|
+
"object"
|
|
50419
|
+
],
|
|
50420
|
+
description: "Asset image rendered as the leading icon; takes precedence over icon/leftIcon when provided.",
|
|
50421
|
+
properties: {
|
|
50422
|
+
url: {
|
|
50423
|
+
types: [
|
|
50424
|
+
"asset"
|
|
50425
|
+
]
|
|
50426
|
+
},
|
|
50427
|
+
role: {
|
|
50428
|
+
types: [
|
|
50429
|
+
"string"
|
|
50430
|
+
]
|
|
50431
|
+
},
|
|
50432
|
+
category: {
|
|
50433
|
+
types: [
|
|
50434
|
+
"string"
|
|
50435
|
+
]
|
|
50436
|
+
},
|
|
50437
|
+
animations: {
|
|
50438
|
+
types: [
|
|
50439
|
+
"array"
|
|
50440
|
+
],
|
|
50441
|
+
items: {
|
|
50442
|
+
types: [
|
|
50443
|
+
"string"
|
|
50444
|
+
]
|
|
50445
|
+
}
|
|
50446
|
+
},
|
|
50447
|
+
style: {
|
|
50448
|
+
types: [
|
|
50449
|
+
"string"
|
|
50450
|
+
],
|
|
50451
|
+
enumValues: [
|
|
50452
|
+
"pixel",
|
|
50453
|
+
"vector",
|
|
50454
|
+
"hd",
|
|
50455
|
+
"1-bit",
|
|
50456
|
+
"isometric"
|
|
50457
|
+
]
|
|
50458
|
+
},
|
|
50459
|
+
variant: {
|
|
50460
|
+
types: [
|
|
50461
|
+
"string"
|
|
50462
|
+
]
|
|
50463
|
+
},
|
|
50464
|
+
dimension: {
|
|
50465
|
+
types: [
|
|
50466
|
+
"string"
|
|
50467
|
+
],
|
|
50468
|
+
enumValues: [
|
|
50469
|
+
"2d",
|
|
50470
|
+
"3d"
|
|
50471
|
+
]
|
|
50472
|
+
},
|
|
50473
|
+
aspect: {
|
|
50474
|
+
types: [
|
|
50475
|
+
"string"
|
|
50476
|
+
],
|
|
50477
|
+
enumValues: [
|
|
50478
|
+
"1:1",
|
|
50479
|
+
"16:9",
|
|
50480
|
+
"5:7",
|
|
50481
|
+
"8:1",
|
|
50482
|
+
"4:1",
|
|
50483
|
+
"5:3",
|
|
50484
|
+
"1:2"
|
|
50485
|
+
]
|
|
50486
|
+
},
|
|
50487
|
+
atlas: {
|
|
50488
|
+
types: [
|
|
50489
|
+
"asset"
|
|
50490
|
+
]
|
|
50491
|
+
},
|
|
50492
|
+
sprite: {
|
|
50493
|
+
types: [
|
|
50494
|
+
"string"
|
|
50495
|
+
]
|
|
50496
|
+
},
|
|
50497
|
+
name: {
|
|
50498
|
+
types: [
|
|
50499
|
+
"string"
|
|
50500
|
+
]
|
|
50501
|
+
},
|
|
50502
|
+
thumbnailUrl: {
|
|
50503
|
+
types: [
|
|
50504
|
+
"string"
|
|
50505
|
+
]
|
|
50506
|
+
}
|
|
50507
|
+
},
|
|
50508
|
+
propertyRequired: [
|
|
50509
|
+
"url",
|
|
50510
|
+
"role",
|
|
50511
|
+
"category"
|
|
50512
|
+
]
|
|
50513
|
+
},
|
|
50514
|
+
action: {
|
|
50515
|
+
types: [
|
|
50516
|
+
"string"
|
|
50517
|
+
],
|
|
50518
|
+
description: "Declarative event name \u2014 emits UI:{action} via eventBus on click",
|
|
50519
|
+
kind: "event"
|
|
50520
|
+
},
|
|
50521
|
+
actionPayload: {
|
|
50522
|
+
types: [
|
|
50523
|
+
"object"
|
|
50524
|
+
],
|
|
50525
|
+
description: "Payload to include with the action event",
|
|
50526
|
+
payloadFor: "action",
|
|
50527
|
+
eventPayloadBrand: true
|
|
50528
|
+
},
|
|
50529
|
+
disabled: {
|
|
50530
|
+
types: [
|
|
50531
|
+
"boolean"
|
|
50532
|
+
],
|
|
50533
|
+
description: "Disable the button (greys out, blocks click events)"
|
|
50534
|
+
},
|
|
50535
|
+
href: {
|
|
50536
|
+
types: [
|
|
50537
|
+
"string"
|
|
50538
|
+
],
|
|
50539
|
+
description: "Makes the button a link: `#anchor` scrolls, an absolute URL loads, a path navigates in-app"
|
|
50540
|
+
},
|
|
50541
|
+
"data-testid": {
|
|
50542
|
+
types: [
|
|
50543
|
+
"string"
|
|
50544
|
+
],
|
|
50545
|
+
description: "Test identifier for automated tests"
|
|
50546
|
+
},
|
|
50547
|
+
icon: {
|
|
50548
|
+
types: [
|
|
50549
|
+
"icon",
|
|
50550
|
+
"string"
|
|
50551
|
+
],
|
|
50552
|
+
description: "icon prop",
|
|
50553
|
+
required: true
|
|
50554
|
+
},
|
|
50555
|
+
label: {
|
|
50556
|
+
types: [
|
|
50557
|
+
"string"
|
|
50558
|
+
],
|
|
50559
|
+
description: "What the button does \u2014 its accessible name and its tooltip.",
|
|
50560
|
+
required: true
|
|
50561
|
+
},
|
|
50562
|
+
tooltipPosition: {
|
|
50563
|
+
types: [
|
|
50564
|
+
"string"
|
|
50565
|
+
],
|
|
50566
|
+
description: "Where the tooltip opens.",
|
|
50567
|
+
enumValues: [
|
|
50568
|
+
"top",
|
|
50569
|
+
"bottom",
|
|
50570
|
+
"left",
|
|
50571
|
+
"right"
|
|
50572
|
+
],
|
|
50573
|
+
default: "right"
|
|
50574
|
+
}
|
|
50575
|
+
}
|
|
50576
|
+
},
|
|
50577
|
+
"top-nav-item": {
|
|
50578
|
+
type: "top-nav-item",
|
|
50579
|
+
category: "navigation",
|
|
50580
|
+
sourceFile: "components/core/molecules/TopNavItem.tsx",
|
|
50581
|
+
tier: "molecules",
|
|
50582
|
+
family: "core",
|
|
50583
|
+
description: "TopNavItem component",
|
|
50584
|
+
suggestedFor: [
|
|
50585
|
+
"top",
|
|
50586
|
+
"nav",
|
|
50587
|
+
"item",
|
|
50588
|
+
"top nav item"
|
|
50589
|
+
],
|
|
50590
|
+
typicalSize: "medium",
|
|
50591
|
+
propsSchema: {
|
|
50592
|
+
item: {
|
|
50593
|
+
types: [
|
|
50594
|
+
"object"
|
|
50595
|
+
],
|
|
50596
|
+
description: "item prop",
|
|
50597
|
+
required: true,
|
|
50598
|
+
properties: {
|
|
50599
|
+
label: {
|
|
50600
|
+
types: [
|
|
50601
|
+
"string"
|
|
50602
|
+
]
|
|
50603
|
+
},
|
|
50604
|
+
href: {
|
|
50605
|
+
types: [
|
|
50606
|
+
"string"
|
|
50607
|
+
]
|
|
50608
|
+
},
|
|
50609
|
+
icon: {
|
|
50610
|
+
types: [
|
|
50611
|
+
"icon",
|
|
50612
|
+
"string"
|
|
50613
|
+
]
|
|
50614
|
+
},
|
|
50615
|
+
badge: {
|
|
50616
|
+
types: [
|
|
50617
|
+
"string",
|
|
50618
|
+
"number"
|
|
50619
|
+
]
|
|
50620
|
+
},
|
|
50621
|
+
active: {
|
|
50622
|
+
types: [
|
|
50623
|
+
"boolean"
|
|
50624
|
+
]
|
|
50625
|
+
},
|
|
50626
|
+
onClick: {
|
|
50627
|
+
types: [
|
|
50628
|
+
"function"
|
|
50629
|
+
]
|
|
50630
|
+
},
|
|
50631
|
+
children: {
|
|
50632
|
+
types: [
|
|
50633
|
+
"array"
|
|
50634
|
+
],
|
|
50635
|
+
items: {
|
|
50636
|
+
types: [
|
|
50637
|
+
"object"
|
|
50638
|
+
],
|
|
50639
|
+
cyclic: true,
|
|
50640
|
+
cyclicTypeName: "TopNavItemData"
|
|
50641
|
+
}
|
|
50642
|
+
}
|
|
50643
|
+
},
|
|
50644
|
+
propertyRequired: [
|
|
50645
|
+
"label"
|
|
50646
|
+
]
|
|
50647
|
+
},
|
|
50648
|
+
activeHref: {
|
|
50649
|
+
types: [
|
|
50650
|
+
"string"
|
|
50651
|
+
],
|
|
50652
|
+
description: "The href of the active page, used to mark the item (or its parent) active."
|
|
50653
|
+
},
|
|
50654
|
+
tone: {
|
|
50655
|
+
types: [
|
|
50656
|
+
"string"
|
|
50657
|
+
],
|
|
50658
|
+
description: "Active styling: `solid` fills with the primary colour (dashboard top bar); `soft` tints it (site header).",
|
|
50659
|
+
enumValues: [
|
|
50660
|
+
"solid",
|
|
50661
|
+
"soft"
|
|
50662
|
+
],
|
|
50663
|
+
default: "solid"
|
|
50664
|
+
},
|
|
50665
|
+
className: {
|
|
50666
|
+
types: [
|
|
50667
|
+
"string"
|
|
50668
|
+
],
|
|
50669
|
+
description: "className prop"
|
|
50670
|
+
}
|
|
50671
|
+
}
|
|
50307
50672
|
}
|
|
50308
50673
|
},
|
|
50309
50674
|
categories: [
|
|
@@ -54329,7 +54694,7 @@ var integrators_registry_default = {
|
|
|
54329
54694
|
// src/patterns/component-mapping.json
|
|
54330
54695
|
var component_mapping_default = {
|
|
54331
54696
|
version: "1.0.0",
|
|
54332
|
-
exportedAt: "2026-09-
|
|
54697
|
+
exportedAt: "2026-09-26T10:53:57.077Z",
|
|
54333
54698
|
mappings: {
|
|
54334
54699
|
"page-header": {
|
|
54335
54700
|
component: "PageHeader",
|
|
@@ -55602,6 +55967,16 @@ var component_mapping_default = {
|
|
|
55602
55967
|
component: "GeometricPattern",
|
|
55603
55968
|
importPath: "@/components/core/molecules/GeometricPattern",
|
|
55604
55969
|
category: "component"
|
|
55970
|
+
},
|
|
55971
|
+
"icon-button": {
|
|
55972
|
+
component: "IconButton",
|
|
55973
|
+
importPath: "@/components/core/molecules/IconButton",
|
|
55974
|
+
category: "component"
|
|
55975
|
+
},
|
|
55976
|
+
"top-nav-item": {
|
|
55977
|
+
component: "TopNavItem",
|
|
55978
|
+
importPath: "@/components/core/molecules/TopNavItem",
|
|
55979
|
+
category: "navigation"
|
|
55605
55980
|
}
|
|
55606
55981
|
}
|
|
55607
55982
|
};
|
|
@@ -55609,7 +55984,7 @@ var component_mapping_default = {
|
|
|
55609
55984
|
// src/patterns/event-contracts.json
|
|
55610
55985
|
var event_contracts_default = {
|
|
55611
55986
|
version: "1.0.0",
|
|
55612
|
-
exportedAt: "2026-09-
|
|
55987
|
+
exportedAt: "2026-09-26T10:53:57.077Z",
|
|
55613
55988
|
contracts: {
|
|
55614
55989
|
form: {
|
|
55615
55990
|
emits: [
|
|
@@ -56828,6 +57203,7 @@ var PATTERN_TYPES = [
|
|
|
56828
57203
|
"health-bar",
|
|
56829
57204
|
"hstack",
|
|
56830
57205
|
"icon",
|
|
57206
|
+
"icon-button",
|
|
56831
57207
|
"image",
|
|
56832
57208
|
"import-preview-tree",
|
|
56833
57209
|
"import-progress",
|
|
@@ -56938,6 +57314,7 @@ var PATTERN_TYPES = [
|
|
|
56938
57314
|
"timer-display",
|
|
56939
57315
|
"toast-slot",
|
|
56940
57316
|
"tooltip",
|
|
57317
|
+
"top-nav-item",
|
|
56941
57318
|
"trait-frame",
|
|
56942
57319
|
"trait-slot",
|
|
56943
57320
|
"trend-indicator",
|