@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.
- package/dist/builders.d.ts +3 -3
- package/dist/{bus-DCYJF88B.d.ts → bus-LOS3PhAg.d.ts} +1 -1
- package/dist/{effect-DhsB3usU.d.ts → effect-CXEHwilA.d.ts} +55 -4
- package/dist/{entityAccess-CLWlioZ0.d.ts → entityAccess-B3DEJe_j.d.ts} +2 -2
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory/index.js +654 -11
- 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-Dv2PNH42.d.ts} +5 -5
- package/dist/index.d.ts +12 -12
- package/dist/index.js +699 -18
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- package/dist/patterns/component-mapping.json +21 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +1511 -30
- package/dist/patterns/index.js +699 -18
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/integrators-registry.json +18 -4
- package/dist/patterns/patterns-registry.json +655 -12
- package/dist/patterns/registry.json +655 -12
- package/dist/patterns/services-registry.json +33 -6
- package/dist/{schema-CjwAD-Y4.d.ts → schema-Bpel0-Do.d.ts} +2 -2
- package/dist/{trait-DoFyUfui.d.ts → trait-C97MPrMf.d.ts} +1 -1
- package/dist/types/index.d.ts +6 -6
- package/dist/types/index.js +4 -0
- package/dist/types/index.js.map +1 -1
- package/dist/{types-DBAbXfRk.d.ts → types-CoFKpB6f.d.ts} +2 -2
- package/package.json +1 -1
package/dist/factory/index.js
CHANGED
|
@@ -10360,6 +10360,11 @@ var patterns_registry_default = {
|
|
|
10360
10360
|
],
|
|
10361
10361
|
kind: "event"
|
|
10362
10362
|
},
|
|
10363
|
+
href: {
|
|
10364
|
+
types: [
|
|
10365
|
+
"string"
|
|
10366
|
+
]
|
|
10367
|
+
},
|
|
10363
10368
|
url: {
|
|
10364
10369
|
types: [
|
|
10365
10370
|
"string"
|
|
@@ -13002,6 +13007,7 @@ var patterns_registry_default = {
|
|
|
13002
13007
|
header: {
|
|
13003
13008
|
type: "header",
|
|
13004
13009
|
category: "header",
|
|
13010
|
+
sourceFile: "components/core/molecules/Header.tsx",
|
|
13005
13011
|
tier: "molecules",
|
|
13006
13012
|
family: "core",
|
|
13007
13013
|
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.",
|
|
@@ -13070,6 +13076,18 @@ var patterns_registry_default = {
|
|
|
13070
13076
|
types: [
|
|
13071
13077
|
"boolean"
|
|
13072
13078
|
]
|
|
13079
|
+
},
|
|
13080
|
+
children: {
|
|
13081
|
+
types: [
|
|
13082
|
+
"array"
|
|
13083
|
+
],
|
|
13084
|
+
items: {
|
|
13085
|
+
types: [
|
|
13086
|
+
"object"
|
|
13087
|
+
],
|
|
13088
|
+
cyclic: true,
|
|
13089
|
+
cyclicTypeName: "HeaderNavigationItem"
|
|
13090
|
+
}
|
|
13073
13091
|
}
|
|
13074
13092
|
},
|
|
13075
13093
|
required: [
|
|
@@ -24909,9 +24927,11 @@ var patterns_registry_default = {
|
|
|
24909
24927
|
"version-diff": {
|
|
24910
24928
|
type: "version-diff",
|
|
24911
24929
|
category: "display",
|
|
24930
|
+
sourceFile: "components/core/molecules/VersionDiff.tsx",
|
|
24912
24931
|
tier: "molecules",
|
|
24913
24932
|
family: "core",
|
|
24914
|
-
description: "
|
|
24933
|
+
description: "A line diff between two versions \u2014 two whole texts, or a pre-computed diff such as one commit.",
|
|
24934
|
+
capabilities: "version diff, compare revisions, what changed, before and after, code diff, commit diff, revision comparison",
|
|
24915
24935
|
suggestedFor: [
|
|
24916
24936
|
"version",
|
|
24917
24937
|
"diff",
|
|
@@ -24925,7 +24945,6 @@ var patterns_registry_default = {
|
|
|
24925
24945
|
"object"
|
|
24926
24946
|
],
|
|
24927
24947
|
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.",
|
|
24928
|
-
required: true,
|
|
24929
24948
|
items: {
|
|
24930
24949
|
types: [
|
|
24931
24950
|
"object"
|
|
@@ -24964,6 +24983,70 @@ var patterns_registry_default = {
|
|
|
24964
24983
|
]
|
|
24965
24984
|
}
|
|
24966
24985
|
},
|
|
24986
|
+
hunks: {
|
|
24987
|
+
types: [
|
|
24988
|
+
"array"
|
|
24989
|
+
],
|
|
24990
|
+
description: "A pre-computed diff to render instead of diffing `revisions` (no revision pickers).",
|
|
24991
|
+
items: {
|
|
24992
|
+
types: [
|
|
24993
|
+
"object"
|
|
24994
|
+
],
|
|
24995
|
+
properties: {
|
|
24996
|
+
header: {
|
|
24997
|
+
types: [
|
|
24998
|
+
"string"
|
|
24999
|
+
]
|
|
25000
|
+
},
|
|
25001
|
+
lines: {
|
|
25002
|
+
types: [
|
|
25003
|
+
"array"
|
|
25004
|
+
],
|
|
25005
|
+
items: {
|
|
25006
|
+
types: [
|
|
25007
|
+
"object"
|
|
25008
|
+
],
|
|
25009
|
+
properties: {
|
|
25010
|
+
type: {
|
|
25011
|
+
types: [
|
|
25012
|
+
"string"
|
|
25013
|
+
],
|
|
25014
|
+
enumValues: [
|
|
25015
|
+
"added",
|
|
25016
|
+
"removed",
|
|
25017
|
+
"unchanged",
|
|
25018
|
+
"context"
|
|
25019
|
+
]
|
|
25020
|
+
},
|
|
25021
|
+
beforeLineNumber: {
|
|
25022
|
+
types: [
|
|
25023
|
+
"number"
|
|
25024
|
+
]
|
|
25025
|
+
},
|
|
25026
|
+
afterLineNumber: {
|
|
25027
|
+
types: [
|
|
25028
|
+
"number"
|
|
25029
|
+
]
|
|
25030
|
+
},
|
|
25031
|
+
content: {
|
|
25032
|
+
types: [
|
|
25033
|
+
"string"
|
|
25034
|
+
]
|
|
25035
|
+
}
|
|
25036
|
+
},
|
|
25037
|
+
required: [
|
|
25038
|
+
"type",
|
|
25039
|
+
"content"
|
|
25040
|
+
]
|
|
25041
|
+
}
|
|
25042
|
+
}
|
|
25043
|
+
},
|
|
25044
|
+
required: [
|
|
25045
|
+
"header",
|
|
25046
|
+
"lines"
|
|
25047
|
+
]
|
|
25048
|
+
}
|
|
25049
|
+
},
|
|
24967
25050
|
beforeId: {
|
|
24968
25051
|
types: [
|
|
24969
25052
|
"string"
|
|
@@ -24980,7 +25063,7 @@ var patterns_registry_default = {
|
|
|
24980
25063
|
types: [
|
|
24981
25064
|
"string"
|
|
24982
25065
|
],
|
|
24983
|
-
description: "Display mode.",
|
|
25066
|
+
description: "Display mode to start in; the toggle switches it.",
|
|
24984
25067
|
enumValues: [
|
|
24985
25068
|
"side-by-side",
|
|
24986
25069
|
"inline"
|
|
@@ -49776,6 +49859,7 @@ var patterns_registry_default = {
|
|
|
49776
49859
|
"dock-layout": {
|
|
49777
49860
|
type: "dock-layout",
|
|
49778
49861
|
category: "layout",
|
|
49862
|
+
sourceFile: "components/core/organisms/layout/DockLayout.tsx",
|
|
49779
49863
|
tier: "organisms",
|
|
49780
49864
|
family: "core",
|
|
49781
49865
|
description: "DockLayout component",
|
|
@@ -49827,8 +49911,7 @@ var patterns_registry_default = {
|
|
|
49827
49911
|
types: [
|
|
49828
49912
|
"number"
|
|
49829
49913
|
],
|
|
49830
|
-
description: "Width of `rail` in pixels
|
|
49831
|
-
default: 56
|
|
49914
|
+
description: "Width of `rail` in pixels; the rail sizes the column itself when omitted."
|
|
49832
49915
|
},
|
|
49833
49916
|
secondarySidebarWidth: {
|
|
49834
49917
|
types: [
|
|
@@ -49841,8 +49924,7 @@ var patterns_registry_default = {
|
|
|
49841
49924
|
types: [
|
|
49842
49925
|
"boolean"
|
|
49843
49926
|
],
|
|
49844
|
-
description: "Whether `sidebar` is collapsed. @default false"
|
|
49845
|
-
default: false
|
|
49927
|
+
description: "Whether `sidebar` is collapsed. @default false"
|
|
49846
49928
|
},
|
|
49847
49929
|
onSidebarCollapsedChange: {
|
|
49848
49930
|
types: [
|
|
@@ -49888,8 +49970,7 @@ var patterns_registry_default = {
|
|
|
49888
49970
|
types: [
|
|
49889
49971
|
"boolean"
|
|
49890
49972
|
],
|
|
49891
|
-
description: "Whether `bottomPanel` is collapsed. @default false"
|
|
49892
|
-
default: false
|
|
49973
|
+
description: "Whether `bottomPanel` is collapsed. @default false"
|
|
49893
49974
|
},
|
|
49894
49975
|
onBottomPanelCollapsedChange: {
|
|
49895
49976
|
types: [
|
|
@@ -49935,8 +50016,7 @@ var patterns_registry_default = {
|
|
|
49935
50016
|
types: [
|
|
49936
50017
|
"boolean"
|
|
49937
50018
|
],
|
|
49938
|
-
description: "Whether `secondarySidebar` is collapsed. @default false"
|
|
49939
|
-
default: false
|
|
50019
|
+
description: "Whether `secondarySidebar` is collapsed. @default false"
|
|
49940
50020
|
},
|
|
49941
50021
|
onSecondarySidebarCollapsedChange: {
|
|
49942
50022
|
types: [
|
|
@@ -49951,6 +50031,44 @@ var patterns_registry_default = {
|
|
|
49951
50031
|
}
|
|
49952
50032
|
]
|
|
49953
50033
|
},
|
|
50034
|
+
compact: {
|
|
50035
|
+
types: [
|
|
50036
|
+
"boolean"
|
|
50037
|
+
],
|
|
50038
|
+
description: "The mobile variant; decided by the viewport (narrower than 1024px) when omitted."
|
|
50039
|
+
},
|
|
50040
|
+
secondarySidebarLabel: {
|
|
50041
|
+
types: [
|
|
50042
|
+
"string"
|
|
50043
|
+
],
|
|
50044
|
+
description: 'Compact: the top-bar button that opens `secondarySidebar` (e.g. "Inspector", "Chat").'
|
|
50045
|
+
},
|
|
50046
|
+
secondarySidebarIcon: {
|
|
50047
|
+
types: [
|
|
50048
|
+
"icon",
|
|
50049
|
+
"string"
|
|
50050
|
+
],
|
|
50051
|
+
description: "secondarySidebarIcon prop"
|
|
50052
|
+
},
|
|
50053
|
+
bottomPanelLabel: {
|
|
50054
|
+
types: [
|
|
50055
|
+
"string"
|
|
50056
|
+
],
|
|
50057
|
+
description: "Compact: the top-bar button that opens `bottomPanel`."
|
|
50058
|
+
},
|
|
50059
|
+
bottomPanelIcon: {
|
|
50060
|
+
types: [
|
|
50061
|
+
"icon",
|
|
50062
|
+
"string"
|
|
50063
|
+
],
|
|
50064
|
+
description: "bottomPanelIcon prop"
|
|
50065
|
+
},
|
|
50066
|
+
topBarActions: {
|
|
50067
|
+
types: [
|
|
50068
|
+
"node"
|
|
50069
|
+
],
|
|
50070
|
+
description: "Compact: the host's own actions at the end of the top bar (e.g. Run)."
|
|
50071
|
+
},
|
|
49954
50072
|
className: {
|
|
49955
50073
|
types: [
|
|
49956
50074
|
"string"
|
|
@@ -51221,6 +51339,531 @@ var patterns_registry_default = {
|
|
|
51221
51339
|
description: "className prop"
|
|
51222
51340
|
}
|
|
51223
51341
|
}
|
|
51342
|
+
},
|
|
51343
|
+
"icon-button": {
|
|
51344
|
+
type: "icon-button",
|
|
51345
|
+
category: "component",
|
|
51346
|
+
sourceFile: "components/core/molecules/IconButton.tsx",
|
|
51347
|
+
tier: "molecules",
|
|
51348
|
+
family: "core",
|
|
51349
|
+
description: "IconButton component",
|
|
51350
|
+
suggestedFor: [
|
|
51351
|
+
"icon",
|
|
51352
|
+
"button",
|
|
51353
|
+
"icon button"
|
|
51354
|
+
],
|
|
51355
|
+
typicalSize: "medium",
|
|
51356
|
+
propsSchema: {
|
|
51357
|
+
className: {
|
|
51358
|
+
types: [
|
|
51359
|
+
"string"
|
|
51360
|
+
],
|
|
51361
|
+
description: "Additional CSS classes applied to the root element."
|
|
51362
|
+
},
|
|
51363
|
+
variant: {
|
|
51364
|
+
types: [
|
|
51365
|
+
"string"
|
|
51366
|
+
],
|
|
51367
|
+
description: "variant prop",
|
|
51368
|
+
enumValues: [
|
|
51369
|
+
"primary",
|
|
51370
|
+
"secondary",
|
|
51371
|
+
"ghost",
|
|
51372
|
+
"danger",
|
|
51373
|
+
"success",
|
|
51374
|
+
"warning",
|
|
51375
|
+
"default",
|
|
51376
|
+
"link"
|
|
51377
|
+
],
|
|
51378
|
+
default: "ghost"
|
|
51379
|
+
},
|
|
51380
|
+
size: {
|
|
51381
|
+
types: [
|
|
51382
|
+
"string"
|
|
51383
|
+
],
|
|
51384
|
+
description: "size prop",
|
|
51385
|
+
enumValues: [
|
|
51386
|
+
"sm",
|
|
51387
|
+
"md",
|
|
51388
|
+
"lg"
|
|
51389
|
+
],
|
|
51390
|
+
default: "sm"
|
|
51391
|
+
},
|
|
51392
|
+
isLoading: {
|
|
51393
|
+
types: [
|
|
51394
|
+
"boolean"
|
|
51395
|
+
],
|
|
51396
|
+
description: "isLoading prop"
|
|
51397
|
+
},
|
|
51398
|
+
iconAsset: {
|
|
51399
|
+
types: [
|
|
51400
|
+
"object"
|
|
51401
|
+
],
|
|
51402
|
+
description: "Asset image rendered as the leading icon; takes precedence over icon/leftIcon when provided.",
|
|
51403
|
+
properties: {
|
|
51404
|
+
url: {
|
|
51405
|
+
types: [
|
|
51406
|
+
"asset"
|
|
51407
|
+
]
|
|
51408
|
+
},
|
|
51409
|
+
role: {
|
|
51410
|
+
types: [
|
|
51411
|
+
"string"
|
|
51412
|
+
]
|
|
51413
|
+
},
|
|
51414
|
+
category: {
|
|
51415
|
+
types: [
|
|
51416
|
+
"string"
|
|
51417
|
+
]
|
|
51418
|
+
},
|
|
51419
|
+
animations: {
|
|
51420
|
+
types: [
|
|
51421
|
+
"array"
|
|
51422
|
+
],
|
|
51423
|
+
items: {
|
|
51424
|
+
types: [
|
|
51425
|
+
"string"
|
|
51426
|
+
]
|
|
51427
|
+
}
|
|
51428
|
+
},
|
|
51429
|
+
style: {
|
|
51430
|
+
types: [
|
|
51431
|
+
"string"
|
|
51432
|
+
],
|
|
51433
|
+
enumValues: [
|
|
51434
|
+
"pixel",
|
|
51435
|
+
"vector",
|
|
51436
|
+
"hd",
|
|
51437
|
+
"1-bit",
|
|
51438
|
+
"isometric"
|
|
51439
|
+
]
|
|
51440
|
+
},
|
|
51441
|
+
variant: {
|
|
51442
|
+
types: [
|
|
51443
|
+
"string"
|
|
51444
|
+
]
|
|
51445
|
+
},
|
|
51446
|
+
dimension: {
|
|
51447
|
+
types: [
|
|
51448
|
+
"string"
|
|
51449
|
+
],
|
|
51450
|
+
enumValues: [
|
|
51451
|
+
"2d",
|
|
51452
|
+
"3d"
|
|
51453
|
+
]
|
|
51454
|
+
},
|
|
51455
|
+
aspect: {
|
|
51456
|
+
types: [
|
|
51457
|
+
"string"
|
|
51458
|
+
],
|
|
51459
|
+
enumValues: [
|
|
51460
|
+
"1:1",
|
|
51461
|
+
"16:9",
|
|
51462
|
+
"5:7",
|
|
51463
|
+
"8:1",
|
|
51464
|
+
"4:1",
|
|
51465
|
+
"5:3",
|
|
51466
|
+
"1:2"
|
|
51467
|
+
]
|
|
51468
|
+
},
|
|
51469
|
+
atlas: {
|
|
51470
|
+
types: [
|
|
51471
|
+
"asset"
|
|
51472
|
+
]
|
|
51473
|
+
},
|
|
51474
|
+
sprite: {
|
|
51475
|
+
types: [
|
|
51476
|
+
"string"
|
|
51477
|
+
]
|
|
51478
|
+
},
|
|
51479
|
+
name: {
|
|
51480
|
+
types: [
|
|
51481
|
+
"string"
|
|
51482
|
+
]
|
|
51483
|
+
},
|
|
51484
|
+
thumbnailUrl: {
|
|
51485
|
+
types: [
|
|
51486
|
+
"string"
|
|
51487
|
+
]
|
|
51488
|
+
}
|
|
51489
|
+
},
|
|
51490
|
+
propertyRequired: [
|
|
51491
|
+
"url",
|
|
51492
|
+
"role",
|
|
51493
|
+
"category"
|
|
51494
|
+
]
|
|
51495
|
+
},
|
|
51496
|
+
action: {
|
|
51497
|
+
types: [
|
|
51498
|
+
"string"
|
|
51499
|
+
],
|
|
51500
|
+
description: "Declarative event name \u2014 emits UI:{action} via eventBus on click",
|
|
51501
|
+
kind: "event"
|
|
51502
|
+
},
|
|
51503
|
+
actionPayload: {
|
|
51504
|
+
types: [
|
|
51505
|
+
"object"
|
|
51506
|
+
],
|
|
51507
|
+
description: "Payload to include with the action event",
|
|
51508
|
+
payloadFor: "action",
|
|
51509
|
+
eventPayloadBrand: true
|
|
51510
|
+
},
|
|
51511
|
+
disabled: {
|
|
51512
|
+
types: [
|
|
51513
|
+
"boolean"
|
|
51514
|
+
],
|
|
51515
|
+
description: "Disable the button (greys out, blocks click events)"
|
|
51516
|
+
},
|
|
51517
|
+
href: {
|
|
51518
|
+
types: [
|
|
51519
|
+
"string"
|
|
51520
|
+
],
|
|
51521
|
+
description: "Makes the button a link: `#anchor` scrolls, an absolute URL loads, a path navigates in-app"
|
|
51522
|
+
},
|
|
51523
|
+
"data-testid": {
|
|
51524
|
+
types: [
|
|
51525
|
+
"string"
|
|
51526
|
+
],
|
|
51527
|
+
description: "Test identifier for automated tests"
|
|
51528
|
+
},
|
|
51529
|
+
icon: {
|
|
51530
|
+
types: [
|
|
51531
|
+
"icon",
|
|
51532
|
+
"string"
|
|
51533
|
+
],
|
|
51534
|
+
description: "icon prop",
|
|
51535
|
+
required: true
|
|
51536
|
+
},
|
|
51537
|
+
label: {
|
|
51538
|
+
types: [
|
|
51539
|
+
"string"
|
|
51540
|
+
],
|
|
51541
|
+
description: "What the button does \u2014 its accessible name and its tooltip.",
|
|
51542
|
+
required: true
|
|
51543
|
+
},
|
|
51544
|
+
tooltipPosition: {
|
|
51545
|
+
types: [
|
|
51546
|
+
"string"
|
|
51547
|
+
],
|
|
51548
|
+
description: "Where the tooltip opens.",
|
|
51549
|
+
enumValues: [
|
|
51550
|
+
"top",
|
|
51551
|
+
"bottom",
|
|
51552
|
+
"left",
|
|
51553
|
+
"right"
|
|
51554
|
+
],
|
|
51555
|
+
default: "right"
|
|
51556
|
+
}
|
|
51557
|
+
}
|
|
51558
|
+
},
|
|
51559
|
+
"top-nav-item": {
|
|
51560
|
+
type: "top-nav-item",
|
|
51561
|
+
category: "navigation",
|
|
51562
|
+
sourceFile: "components/core/molecules/TopNavItem.tsx",
|
|
51563
|
+
tier: "molecules",
|
|
51564
|
+
family: "core",
|
|
51565
|
+
description: "TopNavItem component",
|
|
51566
|
+
suggestedFor: [
|
|
51567
|
+
"top",
|
|
51568
|
+
"nav",
|
|
51569
|
+
"item",
|
|
51570
|
+
"top nav item"
|
|
51571
|
+
],
|
|
51572
|
+
typicalSize: "medium",
|
|
51573
|
+
propsSchema: {
|
|
51574
|
+
item: {
|
|
51575
|
+
types: [
|
|
51576
|
+
"object"
|
|
51577
|
+
],
|
|
51578
|
+
description: "item prop",
|
|
51579
|
+
required: true,
|
|
51580
|
+
properties: {
|
|
51581
|
+
label: {
|
|
51582
|
+
types: [
|
|
51583
|
+
"string"
|
|
51584
|
+
]
|
|
51585
|
+
},
|
|
51586
|
+
href: {
|
|
51587
|
+
types: [
|
|
51588
|
+
"string"
|
|
51589
|
+
]
|
|
51590
|
+
},
|
|
51591
|
+
icon: {
|
|
51592
|
+
types: [
|
|
51593
|
+
"icon",
|
|
51594
|
+
"string"
|
|
51595
|
+
]
|
|
51596
|
+
},
|
|
51597
|
+
badge: {
|
|
51598
|
+
types: [
|
|
51599
|
+
"string",
|
|
51600
|
+
"number"
|
|
51601
|
+
]
|
|
51602
|
+
},
|
|
51603
|
+
active: {
|
|
51604
|
+
types: [
|
|
51605
|
+
"boolean"
|
|
51606
|
+
]
|
|
51607
|
+
},
|
|
51608
|
+
onClick: {
|
|
51609
|
+
types: [
|
|
51610
|
+
"function"
|
|
51611
|
+
]
|
|
51612
|
+
},
|
|
51613
|
+
children: {
|
|
51614
|
+
types: [
|
|
51615
|
+
"array"
|
|
51616
|
+
],
|
|
51617
|
+
items: {
|
|
51618
|
+
types: [
|
|
51619
|
+
"object"
|
|
51620
|
+
],
|
|
51621
|
+
cyclic: true,
|
|
51622
|
+
cyclicTypeName: "TopNavItemData"
|
|
51623
|
+
}
|
|
51624
|
+
}
|
|
51625
|
+
},
|
|
51626
|
+
propertyRequired: [
|
|
51627
|
+
"label"
|
|
51628
|
+
]
|
|
51629
|
+
},
|
|
51630
|
+
activeHref: {
|
|
51631
|
+
types: [
|
|
51632
|
+
"string"
|
|
51633
|
+
],
|
|
51634
|
+
description: "The href of the active page, used to mark the item (or its parent) active."
|
|
51635
|
+
},
|
|
51636
|
+
tone: {
|
|
51637
|
+
types: [
|
|
51638
|
+
"string"
|
|
51639
|
+
],
|
|
51640
|
+
description: "Active styling: `solid` fills with the primary colour (dashboard top bar); `soft` tints it (site header).",
|
|
51641
|
+
enumValues: [
|
|
51642
|
+
"solid",
|
|
51643
|
+
"soft"
|
|
51644
|
+
],
|
|
51645
|
+
default: "solid"
|
|
51646
|
+
},
|
|
51647
|
+
className: {
|
|
51648
|
+
types: [
|
|
51649
|
+
"string"
|
|
51650
|
+
],
|
|
51651
|
+
description: "className prop"
|
|
51652
|
+
}
|
|
51653
|
+
}
|
|
51654
|
+
},
|
|
51655
|
+
"change-list": {
|
|
51656
|
+
type: "change-list",
|
|
51657
|
+
category: "display",
|
|
51658
|
+
sourceFile: "components/core/molecules/ChangeList.tsx",
|
|
51659
|
+
tier: "molecules",
|
|
51660
|
+
family: "core",
|
|
51661
|
+
description: "The plain-language changes in one version (added / modified / removed).",
|
|
51662
|
+
capabilities: "change summary, what changed, version changes, diff summary, release notes list, modification list",
|
|
51663
|
+
suggestedFor: [
|
|
51664
|
+
"change",
|
|
51665
|
+
"list",
|
|
51666
|
+
"change list"
|
|
51667
|
+
],
|
|
51668
|
+
typicalSize: "medium",
|
|
51669
|
+
propsSchema: {
|
|
51670
|
+
changes: {
|
|
51671
|
+
types: [
|
|
51672
|
+
"array",
|
|
51673
|
+
"object"
|
|
51674
|
+
],
|
|
51675
|
+
description: "The changes. Accepts a typed list or a render-ui payload binding.",
|
|
51676
|
+
required: true,
|
|
51677
|
+
items: {
|
|
51678
|
+
types: [
|
|
51679
|
+
"object"
|
|
51680
|
+
],
|
|
51681
|
+
properties: {
|
|
51682
|
+
type: {
|
|
51683
|
+
types: [
|
|
51684
|
+
"string"
|
|
51685
|
+
],
|
|
51686
|
+
enumValues: [
|
|
51687
|
+
"added",
|
|
51688
|
+
"modified",
|
|
51689
|
+
"removed"
|
|
51690
|
+
]
|
|
51691
|
+
},
|
|
51692
|
+
title: {
|
|
51693
|
+
types: [
|
|
51694
|
+
"string"
|
|
51695
|
+
]
|
|
51696
|
+
},
|
|
51697
|
+
description: {
|
|
51698
|
+
types: [
|
|
51699
|
+
"string"
|
|
51700
|
+
]
|
|
51701
|
+
},
|
|
51702
|
+
before: {
|
|
51703
|
+
types: [
|
|
51704
|
+
"string"
|
|
51705
|
+
]
|
|
51706
|
+
},
|
|
51707
|
+
after: {
|
|
51708
|
+
types: [
|
|
51709
|
+
"string"
|
|
51710
|
+
]
|
|
51711
|
+
}
|
|
51712
|
+
},
|
|
51713
|
+
required: [
|
|
51714
|
+
"type",
|
|
51715
|
+
"title"
|
|
51716
|
+
]
|
|
51717
|
+
}
|
|
51718
|
+
},
|
|
51719
|
+
inspectEvent: {
|
|
51720
|
+
types: [
|
|
51721
|
+
"string"
|
|
51722
|
+
],
|
|
51723
|
+
description: "Emitted by a change's Inspect button. Payload: { title, type }.",
|
|
51724
|
+
kind: "event-ref",
|
|
51725
|
+
emitPayloadSchema: [
|
|
51726
|
+
{
|
|
51727
|
+
name: "title",
|
|
51728
|
+
type: "string",
|
|
51729
|
+
required: true
|
|
51730
|
+
},
|
|
51731
|
+
{
|
|
51732
|
+
name: "type",
|
|
51733
|
+
type: "string",
|
|
51734
|
+
required: true,
|
|
51735
|
+
enumValues: [
|
|
51736
|
+
"added",
|
|
51737
|
+
"modified",
|
|
51738
|
+
"removed"
|
|
51739
|
+
]
|
|
51740
|
+
}
|
|
51741
|
+
]
|
|
51742
|
+
},
|
|
51743
|
+
className: {
|
|
51744
|
+
types: [
|
|
51745
|
+
"string"
|
|
51746
|
+
],
|
|
51747
|
+
description: "className prop"
|
|
51748
|
+
}
|
|
51749
|
+
}
|
|
51750
|
+
},
|
|
51751
|
+
"commit-row": {
|
|
51752
|
+
type: "commit-row",
|
|
51753
|
+
category: "component",
|
|
51754
|
+
sourceFile: "components/core/molecules/CommitRow.tsx",
|
|
51755
|
+
tier: "molecules",
|
|
51756
|
+
family: "core",
|
|
51757
|
+
description: "One version in a history list \u2014 a commit row with select and restore.",
|
|
51758
|
+
capabilities: "version history row, commit entry, revision list item, change log entry, restore point, undo history item",
|
|
51759
|
+
suggestedFor: [
|
|
51760
|
+
"commit",
|
|
51761
|
+
"row",
|
|
51762
|
+
"commit row"
|
|
51763
|
+
],
|
|
51764
|
+
typicalSize: "medium",
|
|
51765
|
+
propsSchema: {
|
|
51766
|
+
sha: {
|
|
51767
|
+
types: [
|
|
51768
|
+
"string"
|
|
51769
|
+
],
|
|
51770
|
+
description: "Commit id; the first 7 characters are shown, the whole id on hover.",
|
|
51771
|
+
required: true
|
|
51772
|
+
},
|
|
51773
|
+
message: {
|
|
51774
|
+
types: [
|
|
51775
|
+
"string"
|
|
51776
|
+
],
|
|
51777
|
+
description: "Commit message.",
|
|
51778
|
+
required: true
|
|
51779
|
+
},
|
|
51780
|
+
author: {
|
|
51781
|
+
types: [
|
|
51782
|
+
"string"
|
|
51783
|
+
],
|
|
51784
|
+
description: "author prop"
|
|
51785
|
+
},
|
|
51786
|
+
timestamp: {
|
|
51787
|
+
types: [
|
|
51788
|
+
"string"
|
|
51789
|
+
],
|
|
51790
|
+
description: 'Display time (already formatted, e.g. "2 min ago").'
|
|
51791
|
+
},
|
|
51792
|
+
kind: {
|
|
51793
|
+
types: [
|
|
51794
|
+
"string"
|
|
51795
|
+
],
|
|
51796
|
+
description: "What made this version (a user save, an agent turn, a restore, an undo/redo, a snapshot).",
|
|
51797
|
+
enumValues: [
|
|
51798
|
+
"user",
|
|
51799
|
+
"agent",
|
|
51800
|
+
"restore",
|
|
51801
|
+
"undo",
|
|
51802
|
+
"redo",
|
|
51803
|
+
"snapshot"
|
|
51804
|
+
]
|
|
51805
|
+
},
|
|
51806
|
+
additions: {
|
|
51807
|
+
types: [
|
|
51808
|
+
"number"
|
|
51809
|
+
],
|
|
51810
|
+
description: "additions prop"
|
|
51811
|
+
},
|
|
51812
|
+
deletions: {
|
|
51813
|
+
types: [
|
|
51814
|
+
"number"
|
|
51815
|
+
],
|
|
51816
|
+
description: "deletions prop"
|
|
51817
|
+
},
|
|
51818
|
+
selected: {
|
|
51819
|
+
types: [
|
|
51820
|
+
"boolean"
|
|
51821
|
+
],
|
|
51822
|
+
description: "The row the user picked (shows its detail).",
|
|
51823
|
+
default: false
|
|
51824
|
+
},
|
|
51825
|
+
current: {
|
|
51826
|
+
types: [
|
|
51827
|
+
"boolean"
|
|
51828
|
+
],
|
|
51829
|
+
description: "The version the app is at now \u2014 it cannot be restored to.",
|
|
51830
|
+
default: false
|
|
51831
|
+
},
|
|
51832
|
+
selectEvent: {
|
|
51833
|
+
types: [
|
|
51834
|
+
"string"
|
|
51835
|
+
],
|
|
51836
|
+
description: "Emitted when the row is picked. Payload: { sha }.",
|
|
51837
|
+
kind: "event-ref",
|
|
51838
|
+
emitPayloadSchema: [
|
|
51839
|
+
{
|
|
51840
|
+
name: "sha",
|
|
51841
|
+
type: "string",
|
|
51842
|
+
required: true
|
|
51843
|
+
}
|
|
51844
|
+
]
|
|
51845
|
+
},
|
|
51846
|
+
restoreEvent: {
|
|
51847
|
+
types: [
|
|
51848
|
+
"string"
|
|
51849
|
+
],
|
|
51850
|
+
description: "Emitted by the Restore button. Payload: { sha }.",
|
|
51851
|
+
kind: "event-ref",
|
|
51852
|
+
emitPayloadSchema: [
|
|
51853
|
+
{
|
|
51854
|
+
name: "sha",
|
|
51855
|
+
type: "string",
|
|
51856
|
+
required: true
|
|
51857
|
+
}
|
|
51858
|
+
]
|
|
51859
|
+
},
|
|
51860
|
+
className: {
|
|
51861
|
+
types: [
|
|
51862
|
+
"string"
|
|
51863
|
+
],
|
|
51864
|
+
description: "className prop"
|
|
51865
|
+
}
|
|
51866
|
+
}
|
|
51224
51867
|
}
|
|
51225
51868
|
}};
|
|
51226
51869
|
var JsonValueSchema = z.lazy(
|