@almadar/core 10.69.0 → 10.71.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/{effect-CNaVPA4-.d.ts → effect-CrsTJ7h8.d.ts} +33 -7
- package/dist/{entityAccess-9IWedk_w.d.ts → entityAccess-B0r5mJ43.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/{index-DsuQRFEl.d.ts → index-DOU3UsI-.d.ts} +4 -4
- package/dist/index.d.ts +20 -10
- package/dist/index.js +427 -95
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +17 -10
- package/dist/mock/index.js +29 -4
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +16 -6
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +928 -218
- package/dist/patterns/index.js +414 -94
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +394 -86
- package/dist/patterns/registry.json +394 -86
- package/dist/{schema-8Mhua_qQ.d.ts → schema-CrlpehQq.d.ts} +2 -2
- package/dist/{trait-SUGkA3Jn.d.ts → trait-CdcDJqPW.d.ts} +1 -1
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.js +3 -1
- package/dist/types/index.js.map +1 -1
- package/dist/{types-CUDHzSOr.d.ts → types--R-KklLv.d.ts} +2 -2
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"exportedAt": "2026-08-
|
|
3
|
+
"exportedAt": "2026-08-28T09:02:57.076Z",
|
|
4
4
|
"patterns": {
|
|
5
5
|
"entity-table": {
|
|
6
6
|
"type": "entity-table",
|
|
@@ -26399,91 +26399,6 @@
|
|
|
26399
26399
|
}
|
|
26400
26400
|
}
|
|
26401
26401
|
},
|
|
26402
|
-
"rich-block-editor": {
|
|
26403
|
-
"type": "rich-block-editor",
|
|
26404
|
-
"category": "display",
|
|
26405
|
-
"tier": "molecules",
|
|
26406
|
-
"family": "core",
|
|
26407
|
-
"description": "RichBlockEditor component",
|
|
26408
|
-
"suggestedFor": [
|
|
26409
|
-
"rich",
|
|
26410
|
-
"block",
|
|
26411
|
-
"editor",
|
|
26412
|
-
"rich block editor"
|
|
26413
|
-
],
|
|
26414
|
-
"typicalSize": "large",
|
|
26415
|
-
"propsSchema": {
|
|
26416
|
-
"initialBlocks": {
|
|
26417
|
-
"types": [
|
|
26418
|
-
"object",
|
|
26419
|
-
"array"
|
|
26420
|
-
],
|
|
26421
|
-
"description": "Initial block payload — the rows that orb-bound traits emit. Items missing id/type are normalized into paragraph blocks at mount.",
|
|
26422
|
-
"kind": "entity",
|
|
26423
|
-
"cardinality": "collection"
|
|
26424
|
-
},
|
|
26425
|
-
"onChange": {
|
|
26426
|
-
"types": [
|
|
26427
|
-
"function"
|
|
26428
|
-
],
|
|
26429
|
-
"description": "onChange prop",
|
|
26430
|
-
"kind": "callback",
|
|
26431
|
-
"callbackArgs": [
|
|
26432
|
-
{
|
|
26433
|
-
"name": "blocks",
|
|
26434
|
-
"type": "array"
|
|
26435
|
-
}
|
|
26436
|
-
]
|
|
26437
|
-
},
|
|
26438
|
-
"changeEvent": {
|
|
26439
|
-
"types": [
|
|
26440
|
-
"string"
|
|
26441
|
-
],
|
|
26442
|
-
"description": "changeEvent prop",
|
|
26443
|
-
"kind": "event-ref",
|
|
26444
|
-
"emitPayloadSchema": [
|
|
26445
|
-
{
|
|
26446
|
-
"name": "blocks",
|
|
26447
|
-
"type": "array",
|
|
26448
|
-
"required": true
|
|
26449
|
-
}
|
|
26450
|
-
]
|
|
26451
|
-
},
|
|
26452
|
-
"readOnly": {
|
|
26453
|
-
"types": [
|
|
26454
|
-
"boolean"
|
|
26455
|
-
],
|
|
26456
|
-
"description": "readOnly prop",
|
|
26457
|
-
"default": false
|
|
26458
|
-
},
|
|
26459
|
-
"placeholder": {
|
|
26460
|
-
"types": [
|
|
26461
|
-
"string"
|
|
26462
|
-
],
|
|
26463
|
-
"description": "placeholder prop"
|
|
26464
|
-
},
|
|
26465
|
-
"enableBlocks": {
|
|
26466
|
-
"types": [
|
|
26467
|
-
"boolean"
|
|
26468
|
-
],
|
|
26469
|
-
"description": "Opt-in to the Notion-style block authoring chrome (insert toolbar, per-row +/menu gutter, turn-into menu). Off by default: the editor renders as a plain rich text surface that edits block content inline without any add-block affordances.",
|
|
26470
|
-
"default": true
|
|
26471
|
-
},
|
|
26472
|
-
"showToolbar": {
|
|
26473
|
-
"types": [
|
|
26474
|
-
"boolean"
|
|
26475
|
-
],
|
|
26476
|
-
"description": "showToolbar prop",
|
|
26477
|
-
"default": true
|
|
26478
|
-
},
|
|
26479
|
-
"className": {
|
|
26480
|
-
"types": [
|
|
26481
|
-
"string"
|
|
26482
|
-
],
|
|
26483
|
-
"description": "className prop"
|
|
26484
|
-
}
|
|
26485
|
-
}
|
|
26486
|
-
},
|
|
26487
26402
|
"version-diff": {
|
|
26488
26403
|
"type": "version-diff",
|
|
26489
26404
|
"category": "display",
|
|
@@ -47749,6 +47664,399 @@
|
|
|
47749
47664
|
},
|
|
47750
47665
|
"drawable": true,
|
|
47751
47666
|
"drawHost": true
|
|
47667
|
+
},
|
|
47668
|
+
"rich-text-editor": {
|
|
47669
|
+
"type": "rich-text-editor",
|
|
47670
|
+
"category": "component",
|
|
47671
|
+
"tier": "molecules",
|
|
47672
|
+
"family": "core",
|
|
47673
|
+
"description": "RichTextEditor component",
|
|
47674
|
+
"suggestedFor": [
|
|
47675
|
+
"rich",
|
|
47676
|
+
"text",
|
|
47677
|
+
"editor",
|
|
47678
|
+
"rich text editor"
|
|
47679
|
+
],
|
|
47680
|
+
"typicalSize": "medium",
|
|
47681
|
+
"propsSchema": {
|
|
47682
|
+
"value": {
|
|
47683
|
+
"types": [
|
|
47684
|
+
"string"
|
|
47685
|
+
],
|
|
47686
|
+
"description": "The rich text content as HTML. Sanitized before rendering and on every change."
|
|
47687
|
+
},
|
|
47688
|
+
"onChange": {
|
|
47689
|
+
"types": [
|
|
47690
|
+
"function"
|
|
47691
|
+
],
|
|
47692
|
+
"description": "onChange prop",
|
|
47693
|
+
"kind": "callback",
|
|
47694
|
+
"callbackArgs": [
|
|
47695
|
+
{
|
|
47696
|
+
"name": "value",
|
|
47697
|
+
"type": "string"
|
|
47698
|
+
}
|
|
47699
|
+
]
|
|
47700
|
+
},
|
|
47701
|
+
"changeEvent": {
|
|
47702
|
+
"types": [
|
|
47703
|
+
"string"
|
|
47704
|
+
],
|
|
47705
|
+
"description": "changeEvent prop",
|
|
47706
|
+
"kind": "event-ref",
|
|
47707
|
+
"emitPayloadSchema": [
|
|
47708
|
+
{
|
|
47709
|
+
"name": "value",
|
|
47710
|
+
"type": "string",
|
|
47711
|
+
"required": true
|
|
47712
|
+
}
|
|
47713
|
+
]
|
|
47714
|
+
},
|
|
47715
|
+
"readOnly": {
|
|
47716
|
+
"types": [
|
|
47717
|
+
"boolean"
|
|
47718
|
+
],
|
|
47719
|
+
"description": "readOnly prop",
|
|
47720
|
+
"default": false
|
|
47721
|
+
},
|
|
47722
|
+
"placeholder": {
|
|
47723
|
+
"types": [
|
|
47724
|
+
"string"
|
|
47725
|
+
],
|
|
47726
|
+
"description": "placeholder prop"
|
|
47727
|
+
},
|
|
47728
|
+
"showToolbar": {
|
|
47729
|
+
"types": [
|
|
47730
|
+
"boolean"
|
|
47731
|
+
],
|
|
47732
|
+
"description": "showToolbar prop",
|
|
47733
|
+
"default": true
|
|
47734
|
+
},
|
|
47735
|
+
"className": {
|
|
47736
|
+
"types": [
|
|
47737
|
+
"string"
|
|
47738
|
+
],
|
|
47739
|
+
"description": "className prop"
|
|
47740
|
+
}
|
|
47741
|
+
}
|
|
47742
|
+
},
|
|
47743
|
+
"document-panel": {
|
|
47744
|
+
"type": "document-panel",
|
|
47745
|
+
"category": "component",
|
|
47746
|
+
"tier": "molecules",
|
|
47747
|
+
"family": "core",
|
|
47748
|
+
"description": "DocumentPanel — a record rendered as one continuous document: editable title over the rich-text body, editing controls tucked into the header corner.",
|
|
47749
|
+
"capabilities": "document page, note editor, wiki page, article editor, writing surface, rich text document, content editing canvas",
|
|
47750
|
+
"suggestedFor": [
|
|
47751
|
+
"document",
|
|
47752
|
+
"panel",
|
|
47753
|
+
"document panel"
|
|
47754
|
+
],
|
|
47755
|
+
"typicalSize": "medium",
|
|
47756
|
+
"propsSchema": {
|
|
47757
|
+
"entity": {
|
|
47758
|
+
"types": [
|
|
47759
|
+
"object"
|
|
47760
|
+
],
|
|
47761
|
+
"description": "The loaded record — supplies the id every commit event carries.",
|
|
47762
|
+
"kind": "entity",
|
|
47763
|
+
"cardinality": "record"
|
|
47764
|
+
},
|
|
47765
|
+
"title": {
|
|
47766
|
+
"types": [
|
|
47767
|
+
"string"
|
|
47768
|
+
],
|
|
47769
|
+
"description": "Document title (falls back to \"Untitled\" for a blank draft)"
|
|
47770
|
+
},
|
|
47771
|
+
"subtitle": {
|
|
47772
|
+
"types": [
|
|
47773
|
+
"string"
|
|
47774
|
+
],
|
|
47775
|
+
"description": "Muted byline under the title; hidden when empty"
|
|
47776
|
+
},
|
|
47777
|
+
"value": {
|
|
47778
|
+
"types": [
|
|
47779
|
+
"string"
|
|
47780
|
+
],
|
|
47781
|
+
"description": "The document body as rich-text HTML"
|
|
47782
|
+
},
|
|
47783
|
+
"actions": {
|
|
47784
|
+
"types": [
|
|
47785
|
+
"array"
|
|
47786
|
+
],
|
|
47787
|
+
"description": "Header actions (settings, history, …). At most one explicit primary stays inline; the rest live under a single \"⋯\" menu — the title owns its row.",
|
|
47788
|
+
"kind": "event-list",
|
|
47789
|
+
"eventField": "event",
|
|
47790
|
+
"items": {
|
|
47791
|
+
"types": [
|
|
47792
|
+
"object"
|
|
47793
|
+
],
|
|
47794
|
+
"properties": {
|
|
47795
|
+
"label": {
|
|
47796
|
+
"types": [
|
|
47797
|
+
"string"
|
|
47798
|
+
]
|
|
47799
|
+
},
|
|
47800
|
+
"event": {
|
|
47801
|
+
"types": [
|
|
47802
|
+
"string"
|
|
47803
|
+
]
|
|
47804
|
+
},
|
|
47805
|
+
"icon": {
|
|
47806
|
+
"types": [
|
|
47807
|
+
"icon",
|
|
47808
|
+
"string"
|
|
47809
|
+
]
|
|
47810
|
+
},
|
|
47811
|
+
"variant": {
|
|
47812
|
+
"types": [
|
|
47813
|
+
"string"
|
|
47814
|
+
],
|
|
47815
|
+
"enumValues": [
|
|
47816
|
+
"primary",
|
|
47817
|
+
"secondary",
|
|
47818
|
+
"ghost",
|
|
47819
|
+
"danger"
|
|
47820
|
+
]
|
|
47821
|
+
}
|
|
47822
|
+
},
|
|
47823
|
+
"required": [
|
|
47824
|
+
"label"
|
|
47825
|
+
]
|
|
47826
|
+
}
|
|
47827
|
+
},
|
|
47828
|
+
"maxInlineActions": {
|
|
47829
|
+
"types": [
|
|
47830
|
+
"number"
|
|
47831
|
+
],
|
|
47832
|
+
"description": "0 collapses even the primary action into the menu"
|
|
47833
|
+
},
|
|
47834
|
+
"editing": {
|
|
47835
|
+
"types": [
|
|
47836
|
+
"boolean"
|
|
47837
|
+
],
|
|
47838
|
+
"description": "false = read surface with click-to-edit body; true = live editor",
|
|
47839
|
+
"default": false
|
|
47840
|
+
},
|
|
47841
|
+
"titleCommitEvent": {
|
|
47842
|
+
"types": [
|
|
47843
|
+
"string"
|
|
47844
|
+
],
|
|
47845
|
+
"description": "Emitted when the title commits: { title, id }",
|
|
47846
|
+
"kind": "event-ref",
|
|
47847
|
+
"emitPayloadSchema": [
|
|
47848
|
+
{
|
|
47849
|
+
"name": "title",
|
|
47850
|
+
"type": "string",
|
|
47851
|
+
"required": true
|
|
47852
|
+
},
|
|
47853
|
+
{
|
|
47854
|
+
"name": "id",
|
|
47855
|
+
"type": "string",
|
|
47856
|
+
"required": true
|
|
47857
|
+
}
|
|
47858
|
+
]
|
|
47859
|
+
},
|
|
47860
|
+
"contentChangeEvent": {
|
|
47861
|
+
"types": [
|
|
47862
|
+
"string"
|
|
47863
|
+
],
|
|
47864
|
+
"description": "Forwarded to the embedded RichTextEditor's autosave stream: { value }",
|
|
47865
|
+
"kind": "event-ref",
|
|
47866
|
+
"emitPayloadSchema": [
|
|
47867
|
+
{
|
|
47868
|
+
"name": "value",
|
|
47869
|
+
"type": "string",
|
|
47870
|
+
"required": true
|
|
47871
|
+
}
|
|
47872
|
+
]
|
|
47873
|
+
},
|
|
47874
|
+
"editEvent": {
|
|
47875
|
+
"types": [
|
|
47876
|
+
"string"
|
|
47877
|
+
],
|
|
47878
|
+
"description": "Emitted by the header Edit affordance and a click on the read body: { id }",
|
|
47879
|
+
"kind": "event-ref",
|
|
47880
|
+
"emitPayloadSchema": [
|
|
47881
|
+
{
|
|
47882
|
+
"name": "id",
|
|
47883
|
+
"type": "string",
|
|
47884
|
+
"required": true
|
|
47885
|
+
}
|
|
47886
|
+
]
|
|
47887
|
+
},
|
|
47888
|
+
"doneEvent": {
|
|
47889
|
+
"types": [
|
|
47890
|
+
"string"
|
|
47891
|
+
],
|
|
47892
|
+
"description": "Emitted by the Done button that ends the editing session: { id }",
|
|
47893
|
+
"kind": "event-ref",
|
|
47894
|
+
"emitPayloadSchema": [
|
|
47895
|
+
{
|
|
47896
|
+
"name": "id",
|
|
47897
|
+
"type": "string",
|
|
47898
|
+
"required": true
|
|
47899
|
+
}
|
|
47900
|
+
]
|
|
47901
|
+
},
|
|
47902
|
+
"editLabel": {
|
|
47903
|
+
"types": [
|
|
47904
|
+
"string"
|
|
47905
|
+
],
|
|
47906
|
+
"description": "editLabel prop"
|
|
47907
|
+
},
|
|
47908
|
+
"doneLabel": {
|
|
47909
|
+
"types": [
|
|
47910
|
+
"string"
|
|
47911
|
+
],
|
|
47912
|
+
"description": "doneLabel prop"
|
|
47913
|
+
},
|
|
47914
|
+
"autosaveHint": {
|
|
47915
|
+
"types": [
|
|
47916
|
+
"string"
|
|
47917
|
+
],
|
|
47918
|
+
"description": "Muted caption beside Done telling the author work persists on its own"
|
|
47919
|
+
},
|
|
47920
|
+
"placeholder": {
|
|
47921
|
+
"types": [
|
|
47922
|
+
"string"
|
|
47923
|
+
],
|
|
47924
|
+
"description": "Placeholder for an empty body"
|
|
47925
|
+
},
|
|
47926
|
+
"className": {
|
|
47927
|
+
"types": [
|
|
47928
|
+
"string"
|
|
47929
|
+
],
|
|
47930
|
+
"description": "className prop"
|
|
47931
|
+
}
|
|
47932
|
+
}
|
|
47933
|
+
},
|
|
47934
|
+
"document-details": {
|
|
47935
|
+
"type": "document-details",
|
|
47936
|
+
"category": "display",
|
|
47937
|
+
"tier": "molecules",
|
|
47938
|
+
"family": "core",
|
|
47939
|
+
"description": "DocumentDetails — the document's metadata as a compact settings card for the rail beside a DocumentPanel, each property committing in place.",
|
|
47940
|
+
"capabilities": "document settings, page details, post settings sidebar, metadata panel, document properties, publish settings",
|
|
47941
|
+
"suggestedFor": [
|
|
47942
|
+
"document",
|
|
47943
|
+
"details",
|
|
47944
|
+
"document details"
|
|
47945
|
+
],
|
|
47946
|
+
"typicalSize": "medium",
|
|
47947
|
+
"propsSchema": {
|
|
47948
|
+
"entity": {
|
|
47949
|
+
"types": [
|
|
47950
|
+
"object"
|
|
47951
|
+
],
|
|
47952
|
+
"description": "The loaded record — supplies the id every commit carries and the values the rows read.",
|
|
47953
|
+
"kind": "entity",
|
|
47954
|
+
"cardinality": "record"
|
|
47955
|
+
},
|
|
47956
|
+
"fields": {
|
|
47957
|
+
"types": [
|
|
47958
|
+
"array"
|
|
47959
|
+
],
|
|
47960
|
+
"description": "The properties shown; empty renders nothing.",
|
|
47961
|
+
"items": {
|
|
47962
|
+
"types": [
|
|
47963
|
+
"object"
|
|
47964
|
+
],
|
|
47965
|
+
"properties": {
|
|
47966
|
+
"name": {
|
|
47967
|
+
"types": [
|
|
47968
|
+
"string"
|
|
47969
|
+
]
|
|
47970
|
+
},
|
|
47971
|
+
"key": {
|
|
47972
|
+
"types": [
|
|
47973
|
+
"string"
|
|
47974
|
+
]
|
|
47975
|
+
},
|
|
47976
|
+
"label": {
|
|
47977
|
+
"types": [
|
|
47978
|
+
"string"
|
|
47979
|
+
]
|
|
47980
|
+
},
|
|
47981
|
+
"header": {
|
|
47982
|
+
"types": [
|
|
47983
|
+
"string"
|
|
47984
|
+
]
|
|
47985
|
+
},
|
|
47986
|
+
"icon": {
|
|
47987
|
+
"types": [
|
|
47988
|
+
"icon",
|
|
47989
|
+
"string"
|
|
47990
|
+
]
|
|
47991
|
+
},
|
|
47992
|
+
"kind": {
|
|
47993
|
+
"types": [
|
|
47994
|
+
"string"
|
|
47995
|
+
],
|
|
47996
|
+
"enumValues": [
|
|
47997
|
+
"text",
|
|
47998
|
+
"boolean",
|
|
47999
|
+
"select",
|
|
48000
|
+
"readonly"
|
|
48001
|
+
]
|
|
48002
|
+
},
|
|
48003
|
+
"options": {
|
|
48004
|
+
"types": [
|
|
48005
|
+
"array"
|
|
48006
|
+
],
|
|
48007
|
+
"items": {
|
|
48008
|
+
"types": [
|
|
48009
|
+
"string"
|
|
48010
|
+
]
|
|
48011
|
+
}
|
|
48012
|
+
},
|
|
48013
|
+
"format": {
|
|
48014
|
+
"types": [
|
|
48015
|
+
"string"
|
|
48016
|
+
],
|
|
48017
|
+
"enumValues": [
|
|
48018
|
+
"date",
|
|
48019
|
+
"currency",
|
|
48020
|
+
"number",
|
|
48021
|
+
"boolean",
|
|
48022
|
+
"percent"
|
|
48023
|
+
]
|
|
48024
|
+
}
|
|
48025
|
+
}
|
|
48026
|
+
}
|
|
48027
|
+
},
|
|
48028
|
+
"metaCommitEvent": {
|
|
48029
|
+
"types": [
|
|
48030
|
+
"string"
|
|
48031
|
+
],
|
|
48032
|
+
"description": "Emitted when a property commits: { id, patch } — patch carries the id plus the one changed field, ready for a partial persist update.",
|
|
48033
|
+
"kind": "event-ref",
|
|
48034
|
+
"emitPayloadSchema": [
|
|
48035
|
+
{
|
|
48036
|
+
"name": "id",
|
|
48037
|
+
"type": "string",
|
|
48038
|
+
"required": true
|
|
48039
|
+
},
|
|
48040
|
+
{
|
|
48041
|
+
"name": "patch",
|
|
48042
|
+
"type": "object",
|
|
48043
|
+
"required": true
|
|
48044
|
+
}
|
|
48045
|
+
]
|
|
48046
|
+
},
|
|
48047
|
+
"title": {
|
|
48048
|
+
"types": [
|
|
48049
|
+
"string"
|
|
48050
|
+
],
|
|
48051
|
+
"description": "Card heading (defaults to the localized \"Details\")"
|
|
48052
|
+
},
|
|
48053
|
+
"className": {
|
|
48054
|
+
"types": [
|
|
48055
|
+
"string"
|
|
48056
|
+
],
|
|
48057
|
+
"description": "className prop"
|
|
48058
|
+
}
|
|
48059
|
+
}
|
|
47752
48060
|
}
|
|
47753
48061
|
},
|
|
47754
48062
|
"categories": [
|