@almadar/core 10.105.0 → 10.107.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "exportedAt": "2026-09-25T03:49:13.459Z",
3
+ "exportedAt": "2026-09-27T02:12:25.691Z",
4
4
  "patterns": {
5
5
  "entity-table": {
6
6
  "type": "entity-table",
@@ -9440,6 +9440,11 @@
9440
9440
  ],
9441
9441
  "kind": "event"
9442
9442
  },
9443
+ "href": {
9444
+ "types": [
9445
+ "string"
9446
+ ]
9447
+ },
9443
9448
  "url": {
9444
9449
  "types": [
9445
9450
  "string"
@@ -12082,6 +12087,7 @@
12082
12087
  "header": {
12083
12088
  "type": "header",
12084
12089
  "category": "header",
12090
+ "sourceFile": "components/core/molecules/Header.tsx",
12085
12091
  "tier": "molecules",
12086
12092
  "family": "core",
12087
12093
  "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.",
@@ -12150,6 +12156,18 @@
12150
12156
  "types": [
12151
12157
  "boolean"
12152
12158
  ]
12159
+ },
12160
+ "children": {
12161
+ "types": [
12162
+ "array"
12163
+ ],
12164
+ "items": {
12165
+ "types": [
12166
+ "object"
12167
+ ],
12168
+ "cyclic": true,
12169
+ "cyclicTypeName": "HeaderNavigationItem"
12170
+ }
12153
12171
  }
12154
12172
  },
12155
12173
  "required": [
@@ -23989,9 +24007,11 @@
23989
24007
  "version-diff": {
23990
24008
  "type": "version-diff",
23991
24009
  "category": "display",
24010
+ "sourceFile": "components/core/molecules/VersionDiff.tsx",
23992
24011
  "tier": "molecules",
23993
24012
  "family": "core",
23994
- "description": "VersionDiff component",
24013
+ "description": "A line diff between two versions — two whole texts, or a pre-computed diff such as one commit.",
24014
+ "capabilities": "version diff, compare revisions, what changed, before and after, code diff, commit diff, revision comparison",
23995
24015
  "suggestedFor": [
23996
24016
  "version",
23997
24017
  "diff",
@@ -24005,7 +24025,6 @@
24005
24025
  "object"
24006
24026
  ],
24007
24027
  "description": "All available revisions (at least 2). Accepts either a typed array (direct consumers) or the runtime payload shape from a render-ui binding (`@payload.revisions`). Narrowed to `[]` internally when the value isn't an array.",
24008
- "required": true,
24009
24028
  "items": {
24010
24029
  "types": [
24011
24030
  "object"
@@ -24044,6 +24063,70 @@
24044
24063
  ]
24045
24064
  }
24046
24065
  },
24066
+ "hunks": {
24067
+ "types": [
24068
+ "array"
24069
+ ],
24070
+ "description": "A pre-computed diff to render instead of diffing `revisions` (no revision pickers).",
24071
+ "items": {
24072
+ "types": [
24073
+ "object"
24074
+ ],
24075
+ "properties": {
24076
+ "header": {
24077
+ "types": [
24078
+ "string"
24079
+ ]
24080
+ },
24081
+ "lines": {
24082
+ "types": [
24083
+ "array"
24084
+ ],
24085
+ "items": {
24086
+ "types": [
24087
+ "object"
24088
+ ],
24089
+ "properties": {
24090
+ "type": {
24091
+ "types": [
24092
+ "string"
24093
+ ],
24094
+ "enumValues": [
24095
+ "added",
24096
+ "removed",
24097
+ "unchanged",
24098
+ "context"
24099
+ ]
24100
+ },
24101
+ "beforeLineNumber": {
24102
+ "types": [
24103
+ "number"
24104
+ ]
24105
+ },
24106
+ "afterLineNumber": {
24107
+ "types": [
24108
+ "number"
24109
+ ]
24110
+ },
24111
+ "content": {
24112
+ "types": [
24113
+ "string"
24114
+ ]
24115
+ }
24116
+ },
24117
+ "required": [
24118
+ "type",
24119
+ "content"
24120
+ ]
24121
+ }
24122
+ }
24123
+ },
24124
+ "required": [
24125
+ "header",
24126
+ "lines"
24127
+ ]
24128
+ }
24129
+ },
24047
24130
  "beforeId": {
24048
24131
  "types": [
24049
24132
  "string"
@@ -24060,7 +24143,7 @@
24060
24143
  "types": [
24061
24144
  "string"
24062
24145
  ],
24063
- "description": "Display mode.",
24146
+ "description": "Display mode to start in; the toggle switches it.",
24064
24147
  "enumValues": [
24065
24148
  "side-by-side",
24066
24149
  "inline"
@@ -48856,6 +48939,7 @@
48856
48939
  "dock-layout": {
48857
48940
  "type": "dock-layout",
48858
48941
  "category": "layout",
48942
+ "sourceFile": "components/core/organisms/layout/DockLayout.tsx",
48859
48943
  "tier": "organisms",
48860
48944
  "family": "core",
48861
48945
  "description": "DockLayout component",
@@ -48907,8 +48991,7 @@
48907
48991
  "types": [
48908
48992
  "number"
48909
48993
  ],
48910
- "description": "Width of `rail` in pixels. @default 56",
48911
- "default": 56
48994
+ "description": "Width of `rail` in pixels; the rail sizes the column itself when omitted."
48912
48995
  },
48913
48996
  "secondarySidebarWidth": {
48914
48997
  "types": [
@@ -48921,8 +49004,7 @@
48921
49004
  "types": [
48922
49005
  "boolean"
48923
49006
  ],
48924
- "description": "Whether `sidebar` is collapsed. @default false",
48925
- "default": false
49007
+ "description": "Whether `sidebar` is collapsed. @default false"
48926
49008
  },
48927
49009
  "onSidebarCollapsedChange": {
48928
49010
  "types": [
@@ -48968,8 +49050,7 @@
48968
49050
  "types": [
48969
49051
  "boolean"
48970
49052
  ],
48971
- "description": "Whether `bottomPanel` is collapsed. @default false",
48972
- "default": false
49053
+ "description": "Whether `bottomPanel` is collapsed. @default false"
48973
49054
  },
48974
49055
  "onBottomPanelCollapsedChange": {
48975
49056
  "types": [
@@ -49015,8 +49096,7 @@
49015
49096
  "types": [
49016
49097
  "boolean"
49017
49098
  ],
49018
- "description": "Whether `secondarySidebar` is collapsed. @default false",
49019
- "default": false
49099
+ "description": "Whether `secondarySidebar` is collapsed. @default false"
49020
49100
  },
49021
49101
  "onSecondarySidebarCollapsedChange": {
49022
49102
  "types": [
@@ -49031,6 +49111,44 @@
49031
49111
  }
49032
49112
  ]
49033
49113
  },
49114
+ "compact": {
49115
+ "types": [
49116
+ "boolean"
49117
+ ],
49118
+ "description": "The mobile variant; decided by the viewport (narrower than 1024px) when omitted."
49119
+ },
49120
+ "secondarySidebarLabel": {
49121
+ "types": [
49122
+ "string"
49123
+ ],
49124
+ "description": "Compact: the top-bar button that opens `secondarySidebar` (e.g. \"Inspector\", \"Chat\")."
49125
+ },
49126
+ "secondarySidebarIcon": {
49127
+ "types": [
49128
+ "icon",
49129
+ "string"
49130
+ ],
49131
+ "description": "secondarySidebarIcon prop"
49132
+ },
49133
+ "bottomPanelLabel": {
49134
+ "types": [
49135
+ "string"
49136
+ ],
49137
+ "description": "Compact: the top-bar button that opens `bottomPanel`."
49138
+ },
49139
+ "bottomPanelIcon": {
49140
+ "types": [
49141
+ "icon",
49142
+ "string"
49143
+ ],
49144
+ "description": "bottomPanelIcon prop"
49145
+ },
49146
+ "topBarActions": {
49147
+ "types": [
49148
+ "node"
49149
+ ],
49150
+ "description": "Compact: the host's own actions at the end of the top bar (e.g. Run)."
49151
+ },
49034
49152
  "className": {
49035
49153
  "types": [
49036
49154
  "string"
@@ -50301,6 +50419,531 @@
50301
50419
  "description": "className prop"
50302
50420
  }
50303
50421
  }
50422
+ },
50423
+ "icon-button": {
50424
+ "type": "icon-button",
50425
+ "category": "component",
50426
+ "sourceFile": "components/core/molecules/IconButton.tsx",
50427
+ "tier": "molecules",
50428
+ "family": "core",
50429
+ "description": "IconButton component",
50430
+ "suggestedFor": [
50431
+ "icon",
50432
+ "button",
50433
+ "icon button"
50434
+ ],
50435
+ "typicalSize": "medium",
50436
+ "propsSchema": {
50437
+ "className": {
50438
+ "types": [
50439
+ "string"
50440
+ ],
50441
+ "description": "Additional CSS classes applied to the root element."
50442
+ },
50443
+ "variant": {
50444
+ "types": [
50445
+ "string"
50446
+ ],
50447
+ "description": "variant prop",
50448
+ "enumValues": [
50449
+ "primary",
50450
+ "secondary",
50451
+ "ghost",
50452
+ "danger",
50453
+ "success",
50454
+ "warning",
50455
+ "default",
50456
+ "link"
50457
+ ],
50458
+ "default": "ghost"
50459
+ },
50460
+ "size": {
50461
+ "types": [
50462
+ "string"
50463
+ ],
50464
+ "description": "size prop",
50465
+ "enumValues": [
50466
+ "sm",
50467
+ "md",
50468
+ "lg"
50469
+ ],
50470
+ "default": "sm"
50471
+ },
50472
+ "isLoading": {
50473
+ "types": [
50474
+ "boolean"
50475
+ ],
50476
+ "description": "isLoading prop"
50477
+ },
50478
+ "iconAsset": {
50479
+ "types": [
50480
+ "object"
50481
+ ],
50482
+ "description": "Asset image rendered as the leading icon; takes precedence over icon/leftIcon when provided.",
50483
+ "properties": {
50484
+ "url": {
50485
+ "types": [
50486
+ "asset"
50487
+ ]
50488
+ },
50489
+ "role": {
50490
+ "types": [
50491
+ "string"
50492
+ ]
50493
+ },
50494
+ "category": {
50495
+ "types": [
50496
+ "string"
50497
+ ]
50498
+ },
50499
+ "animations": {
50500
+ "types": [
50501
+ "array"
50502
+ ],
50503
+ "items": {
50504
+ "types": [
50505
+ "string"
50506
+ ]
50507
+ }
50508
+ },
50509
+ "style": {
50510
+ "types": [
50511
+ "string"
50512
+ ],
50513
+ "enumValues": [
50514
+ "pixel",
50515
+ "vector",
50516
+ "hd",
50517
+ "1-bit",
50518
+ "isometric"
50519
+ ]
50520
+ },
50521
+ "variant": {
50522
+ "types": [
50523
+ "string"
50524
+ ]
50525
+ },
50526
+ "dimension": {
50527
+ "types": [
50528
+ "string"
50529
+ ],
50530
+ "enumValues": [
50531
+ "2d",
50532
+ "3d"
50533
+ ]
50534
+ },
50535
+ "aspect": {
50536
+ "types": [
50537
+ "string"
50538
+ ],
50539
+ "enumValues": [
50540
+ "1:1",
50541
+ "16:9",
50542
+ "5:7",
50543
+ "8:1",
50544
+ "4:1",
50545
+ "5:3",
50546
+ "1:2"
50547
+ ]
50548
+ },
50549
+ "atlas": {
50550
+ "types": [
50551
+ "asset"
50552
+ ]
50553
+ },
50554
+ "sprite": {
50555
+ "types": [
50556
+ "string"
50557
+ ]
50558
+ },
50559
+ "name": {
50560
+ "types": [
50561
+ "string"
50562
+ ]
50563
+ },
50564
+ "thumbnailUrl": {
50565
+ "types": [
50566
+ "string"
50567
+ ]
50568
+ }
50569
+ },
50570
+ "propertyRequired": [
50571
+ "url",
50572
+ "role",
50573
+ "category"
50574
+ ]
50575
+ },
50576
+ "action": {
50577
+ "types": [
50578
+ "string"
50579
+ ],
50580
+ "description": "Declarative event name — emits UI:{action} via eventBus on click",
50581
+ "kind": "event"
50582
+ },
50583
+ "actionPayload": {
50584
+ "types": [
50585
+ "object"
50586
+ ],
50587
+ "description": "Payload to include with the action event",
50588
+ "payloadFor": "action",
50589
+ "eventPayloadBrand": true
50590
+ },
50591
+ "disabled": {
50592
+ "types": [
50593
+ "boolean"
50594
+ ],
50595
+ "description": "Disable the button (greys out, blocks click events)"
50596
+ },
50597
+ "href": {
50598
+ "types": [
50599
+ "string"
50600
+ ],
50601
+ "description": "Makes the button a link: `#anchor` scrolls, an absolute URL loads, a path navigates in-app"
50602
+ },
50603
+ "data-testid": {
50604
+ "types": [
50605
+ "string"
50606
+ ],
50607
+ "description": "Test identifier for automated tests"
50608
+ },
50609
+ "icon": {
50610
+ "types": [
50611
+ "icon",
50612
+ "string"
50613
+ ],
50614
+ "description": "icon prop",
50615
+ "required": true
50616
+ },
50617
+ "label": {
50618
+ "types": [
50619
+ "string"
50620
+ ],
50621
+ "description": "What the button does — its accessible name and its tooltip.",
50622
+ "required": true
50623
+ },
50624
+ "tooltipPosition": {
50625
+ "types": [
50626
+ "string"
50627
+ ],
50628
+ "description": "Where the tooltip opens.",
50629
+ "enumValues": [
50630
+ "top",
50631
+ "bottom",
50632
+ "left",
50633
+ "right"
50634
+ ],
50635
+ "default": "right"
50636
+ }
50637
+ }
50638
+ },
50639
+ "top-nav-item": {
50640
+ "type": "top-nav-item",
50641
+ "category": "navigation",
50642
+ "sourceFile": "components/core/molecules/TopNavItem.tsx",
50643
+ "tier": "molecules",
50644
+ "family": "core",
50645
+ "description": "TopNavItem component",
50646
+ "suggestedFor": [
50647
+ "top",
50648
+ "nav",
50649
+ "item",
50650
+ "top nav item"
50651
+ ],
50652
+ "typicalSize": "medium",
50653
+ "propsSchema": {
50654
+ "item": {
50655
+ "types": [
50656
+ "object"
50657
+ ],
50658
+ "description": "item prop",
50659
+ "required": true,
50660
+ "properties": {
50661
+ "label": {
50662
+ "types": [
50663
+ "string"
50664
+ ]
50665
+ },
50666
+ "href": {
50667
+ "types": [
50668
+ "string"
50669
+ ]
50670
+ },
50671
+ "icon": {
50672
+ "types": [
50673
+ "icon",
50674
+ "string"
50675
+ ]
50676
+ },
50677
+ "badge": {
50678
+ "types": [
50679
+ "string",
50680
+ "number"
50681
+ ]
50682
+ },
50683
+ "active": {
50684
+ "types": [
50685
+ "boolean"
50686
+ ]
50687
+ },
50688
+ "onClick": {
50689
+ "types": [
50690
+ "function"
50691
+ ]
50692
+ },
50693
+ "children": {
50694
+ "types": [
50695
+ "array"
50696
+ ],
50697
+ "items": {
50698
+ "types": [
50699
+ "object"
50700
+ ],
50701
+ "cyclic": true,
50702
+ "cyclicTypeName": "TopNavItemData"
50703
+ }
50704
+ }
50705
+ },
50706
+ "propertyRequired": [
50707
+ "label"
50708
+ ]
50709
+ },
50710
+ "activeHref": {
50711
+ "types": [
50712
+ "string"
50713
+ ],
50714
+ "description": "The href of the active page, used to mark the item (or its parent) active."
50715
+ },
50716
+ "tone": {
50717
+ "types": [
50718
+ "string"
50719
+ ],
50720
+ "description": "Active styling: `solid` fills with the primary colour (dashboard top bar); `soft` tints it (site header).",
50721
+ "enumValues": [
50722
+ "solid",
50723
+ "soft"
50724
+ ],
50725
+ "default": "solid"
50726
+ },
50727
+ "className": {
50728
+ "types": [
50729
+ "string"
50730
+ ],
50731
+ "description": "className prop"
50732
+ }
50733
+ }
50734
+ },
50735
+ "change-list": {
50736
+ "type": "change-list",
50737
+ "category": "display",
50738
+ "sourceFile": "components/core/molecules/ChangeList.tsx",
50739
+ "tier": "molecules",
50740
+ "family": "core",
50741
+ "description": "The plain-language changes in one version (added / modified / removed).",
50742
+ "capabilities": "change summary, what changed, version changes, diff summary, release notes list, modification list",
50743
+ "suggestedFor": [
50744
+ "change",
50745
+ "list",
50746
+ "change list"
50747
+ ],
50748
+ "typicalSize": "medium",
50749
+ "propsSchema": {
50750
+ "changes": {
50751
+ "types": [
50752
+ "array",
50753
+ "object"
50754
+ ],
50755
+ "description": "The changes. Accepts a typed list or a render-ui payload binding.",
50756
+ "required": true,
50757
+ "items": {
50758
+ "types": [
50759
+ "object"
50760
+ ],
50761
+ "properties": {
50762
+ "type": {
50763
+ "types": [
50764
+ "string"
50765
+ ],
50766
+ "enumValues": [
50767
+ "added",
50768
+ "modified",
50769
+ "removed"
50770
+ ]
50771
+ },
50772
+ "title": {
50773
+ "types": [
50774
+ "string"
50775
+ ]
50776
+ },
50777
+ "description": {
50778
+ "types": [
50779
+ "string"
50780
+ ]
50781
+ },
50782
+ "before": {
50783
+ "types": [
50784
+ "string"
50785
+ ]
50786
+ },
50787
+ "after": {
50788
+ "types": [
50789
+ "string"
50790
+ ]
50791
+ }
50792
+ },
50793
+ "required": [
50794
+ "type",
50795
+ "title"
50796
+ ]
50797
+ }
50798
+ },
50799
+ "inspectEvent": {
50800
+ "types": [
50801
+ "string"
50802
+ ],
50803
+ "description": "Emitted by a change's Inspect button. Payload: { title, type }.",
50804
+ "kind": "event-ref",
50805
+ "emitPayloadSchema": [
50806
+ {
50807
+ "name": "title",
50808
+ "type": "string",
50809
+ "required": true
50810
+ },
50811
+ {
50812
+ "name": "type",
50813
+ "type": "string",
50814
+ "required": true,
50815
+ "enumValues": [
50816
+ "added",
50817
+ "modified",
50818
+ "removed"
50819
+ ]
50820
+ }
50821
+ ]
50822
+ },
50823
+ "className": {
50824
+ "types": [
50825
+ "string"
50826
+ ],
50827
+ "description": "className prop"
50828
+ }
50829
+ }
50830
+ },
50831
+ "commit-row": {
50832
+ "type": "commit-row",
50833
+ "category": "component",
50834
+ "sourceFile": "components/core/molecules/CommitRow.tsx",
50835
+ "tier": "molecules",
50836
+ "family": "core",
50837
+ "description": "One version in a history list — a commit row with select and restore.",
50838
+ "capabilities": "version history row, commit entry, revision list item, change log entry, restore point, undo history item",
50839
+ "suggestedFor": [
50840
+ "commit",
50841
+ "row",
50842
+ "commit row"
50843
+ ],
50844
+ "typicalSize": "medium",
50845
+ "propsSchema": {
50846
+ "sha": {
50847
+ "types": [
50848
+ "string"
50849
+ ],
50850
+ "description": "Commit id; the first 7 characters are shown, the whole id on hover.",
50851
+ "required": true
50852
+ },
50853
+ "message": {
50854
+ "types": [
50855
+ "string"
50856
+ ],
50857
+ "description": "Commit message.",
50858
+ "required": true
50859
+ },
50860
+ "author": {
50861
+ "types": [
50862
+ "string"
50863
+ ],
50864
+ "description": "author prop"
50865
+ },
50866
+ "timestamp": {
50867
+ "types": [
50868
+ "string"
50869
+ ],
50870
+ "description": "Display time (already formatted, e.g. \"2 min ago\")."
50871
+ },
50872
+ "kind": {
50873
+ "types": [
50874
+ "string"
50875
+ ],
50876
+ "description": "What made this version (a user save, an agent turn, a restore, an undo/redo, a snapshot).",
50877
+ "enumValues": [
50878
+ "user",
50879
+ "agent",
50880
+ "restore",
50881
+ "undo",
50882
+ "redo",
50883
+ "snapshot"
50884
+ ]
50885
+ },
50886
+ "additions": {
50887
+ "types": [
50888
+ "number"
50889
+ ],
50890
+ "description": "additions prop"
50891
+ },
50892
+ "deletions": {
50893
+ "types": [
50894
+ "number"
50895
+ ],
50896
+ "description": "deletions prop"
50897
+ },
50898
+ "selected": {
50899
+ "types": [
50900
+ "boolean"
50901
+ ],
50902
+ "description": "The row the user picked (shows its detail).",
50903
+ "default": false
50904
+ },
50905
+ "current": {
50906
+ "types": [
50907
+ "boolean"
50908
+ ],
50909
+ "description": "The version the app is at now — it cannot be restored to.",
50910
+ "default": false
50911
+ },
50912
+ "selectEvent": {
50913
+ "types": [
50914
+ "string"
50915
+ ],
50916
+ "description": "Emitted when the row is picked. Payload: { sha }.",
50917
+ "kind": "event-ref",
50918
+ "emitPayloadSchema": [
50919
+ {
50920
+ "name": "sha",
50921
+ "type": "string",
50922
+ "required": true
50923
+ }
50924
+ ]
50925
+ },
50926
+ "restoreEvent": {
50927
+ "types": [
50928
+ "string"
50929
+ ],
50930
+ "description": "Emitted by the Restore button. Payload: { sha }.",
50931
+ "kind": "event-ref",
50932
+ "emitPayloadSchema": [
50933
+ {
50934
+ "name": "sha",
50935
+ "type": "string",
50936
+ "required": true
50937
+ }
50938
+ ]
50939
+ },
50940
+ "className": {
50941
+ "types": [
50942
+ "string"
50943
+ ],
50944
+ "description": "className prop"
50945
+ }
50946
+ }
50304
50947
  }
50305
50948
  },
50306
50949
  "categories": [