@almadar/std 16.239.0 → 16.242.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/behaviors/behaviors-registry.json +4814 -553
- package/behaviors/lolo/agent/atoms/std-agent-memory.lolo +38 -1
- package/behaviors/lolo/agent/atoms/std-agent-session.lolo +1074 -47
- package/behaviors/lolo/agent/atoms/std-agent-tool-loop.lolo +8 -7
- package/behaviors/lolo/agent/organisms/std-agent-assistant.lolo +56 -37
- package/behaviors/lolo/infra/atoms/std-page-open.lolo +59 -0
- package/behaviors/lolo/infra/atoms/std-page-search.lolo +134 -0
- package/behaviors/lolo/infra/atoms/std-page-treat.lolo +59 -0
- package/behaviors/lolo/infra/atoms/std-page-watch.lolo +86 -0
- package/behaviors/lolo/ui/core/atoms/std-board.lolo +53 -6
- package/behaviors/lolo/ui/core/atoms/std-book-reader.lolo +25 -1
- package/behaviors/lolo/ui/core/atoms/std-card-grid.lolo +9 -0
- package/behaviors/lolo/ui/core/atoms/std-doc-page.lolo +153 -0
- package/behaviors/lolo/ui/core/atoms/std-site-header.lolo +15 -3
- package/behaviors/lolo/ui/core/atoms/std-tag-strip.lolo +2 -2
- package/behaviors/lolo/ui/core/atoms/std-tag-taxonomy.lolo +7 -7
- package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-header.lolo +5 -0
- package/behaviors/lolo/ui/learning/atoms/std-learn-arrangement.lolo +124 -92
- package/behaviors/lolo/ui/learning/atoms/std-learn-classify.lolo +114 -55
- package/behaviors/lolo/ui/learning/atoms/std-learn-compare.lolo +40 -14
- package/behaviors/lolo/ui/learning/atoms/std-learn-coupled-sim.lolo +363 -123
- package/behaviors/lolo/ui/learning/atoms/std-learn-derivation.lolo +93 -48
- package/behaviors/lolo/ui/learning/atoms/std-learn-diagram.lolo +60 -28
- package/behaviors/lolo/ui/learning/atoms/std-learn-doser.lolo +193 -96
- package/behaviors/lolo/ui/learning/atoms/std-learn-estimate.lolo +75 -32
- package/behaviors/lolo/ui/learning/atoms/std-learn-goal-seek.lolo +142 -86
- package/behaviors/lolo/ui/learning/atoms/std-learn-grid-sim.lolo +266 -98
- package/behaviors/lolo/ui/learning/atoms/std-learn-hotspot.lolo +103 -65
- package/behaviors/lolo/ui/learning/atoms/std-learn-live-sim.lolo +223 -109
- package/behaviors/lolo/ui/learning/atoms/std-learn-measure.lolo +232 -64
- package/behaviors/lolo/ui/learning/atoms/std-learn-param-explorer.lolo +69 -29
- package/behaviors/lolo/ui/learning/atoms/std-learn-perturb.lolo +363 -123
- package/behaviors/lolo/ui/learning/atoms/std-learn-predict.lolo +73 -41
- package/behaviors/lolo/ui/learning/atoms/std-learn-sample-accumulator.lolo +96 -38
- package/behaviors/lolo/ui/learning/atoms/std-learn-sandbox.lolo +65 -45
- package/behaviors/lolo/ui/learning/atoms/std-learn-scatter-fit.lolo +243 -117
- package/behaviors/lolo/ui/learning/atoms/std-learn-scenario.lolo +76 -28
- package/behaviors/lolo/ui/learning/atoms/std-learn-sim-3d.lolo +228 -109
- package/behaviors/lolo/ui/learning/atoms/std-learn-speed-drill.lolo +95 -44
- package/behaviors/lolo/ui/learning/atoms/std-learn-stepper.lolo +199 -125
- package/behaviors/lolo/ui/learning/atoms/std-learn-tour-3d.lolo +92 -48
- package/behaviors/lolo/ui/learning/atoms/std-learn-trace-player.lolo +239 -78
- package/behaviors/lolo/ui/learning/atoms/std-learn-transport.lolo +147 -38
- package/behaviors/lolo/ui/learning/atoms/std-learn-tree.lolo +123 -58
- package/behaviors/lolo/ui/learning/atoms/ui-algo-graph-canvas.lolo +22 -0
- package/behaviors/lolo/ui/learning/atoms/ui-algorithm-canvas.lolo +26 -0
- package/behaviors/lolo/ui/learning/atoms/ui-biology-canvas.lolo +26 -0
- package/behaviors/lolo/ui/learning/atoms/ui-chemistry-canvas.lolo +27 -1
- package/behaviors/lolo/ui/learning/atoms/ui-learning-canvas.lolo +27 -1
- package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +29 -9
- package/behaviors/lolo/ui/learning/atoms/ui-physics-canvas.lolo +26 -0
- package/behaviors/lolo-behavior-contracts.json +1 -1
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +372 -2
- package/behaviors/registry/agent/atoms/std-agent-session.orb +4752 -348
- package/behaviors/registry/agent/atoms/std-agent-tool-loop.orb +54 -42
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +356 -122
- package/behaviors/registry/factory-signatures.json +1 -1
- package/behaviors/registry/infra/atoms/std-page-open.orb +435 -0
- package/behaviors/registry/infra/atoms/std-page-search.orb +867 -0
- package/behaviors/registry/infra/atoms/std-page-treat.orb +494 -0
- package/behaviors/registry/infra/atoms/std-page-watch.orb +554 -0
- package/behaviors/registry/ui/core/atoms/std-board.orb +110 -14
- package/behaviors/registry/ui/core/atoms/std-book-reader.orb +119 -0
- package/behaviors/registry/ui/core/atoms/std-card-grid.orb +61 -0
- package/behaviors/registry/ui/core/atoms/std-doc-page.orb +594 -0
- package/behaviors/registry/ui/core/atoms/std-site-header.orb +40 -2
- package/behaviors/registry/ui/core/atoms/std-tag-strip.orb +2 -0
- package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +24 -0
- package/behaviors/registry/ui/core/atoms/std-version-history.orb +8 -1
- package/behaviors/registry/ui/core/molecules/ui-header.orb +7 -0
- package/behaviors/registry/ui/learning/atoms/std-learn-arrangement.orb +903 -369
- package/behaviors/registry/ui/learning/atoms/std-learn-classify.orb +1002 -232
- package/behaviors/registry/ui/learning/atoms/std-learn-compare.orb +253 -74
- package/behaviors/registry/ui/learning/atoms/std-learn-coupled-sim.orb +3624 -921
- package/behaviors/registry/ui/learning/atoms/std-learn-derivation.orb +685 -144
- package/behaviors/registry/ui/learning/atoms/std-learn-diagram.orb +404 -52
- package/behaviors/registry/ui/learning/atoms/std-learn-doser.orb +1787 -210
- package/behaviors/registry/ui/learning/atoms/std-learn-estimate.orb +699 -71
- package/behaviors/registry/ui/learning/atoms/std-learn-goal-seek.orb +1102 -578
- package/behaviors/registry/ui/learning/atoms/std-learn-grid-sim.orb +2760 -872
- package/behaviors/registry/ui/learning/atoms/std-learn-hotspot.orb +689 -152
- package/behaviors/registry/ui/learning/atoms/std-learn-live-sim.orb +1431 -633
- package/behaviors/registry/ui/learning/atoms/std-learn-measure.orb +2485 -512
- package/behaviors/registry/ui/learning/atoms/std-learn-param-explorer.orb +501 -197
- package/behaviors/registry/ui/learning/atoms/std-learn-perturb.orb +3642 -928
- package/behaviors/registry/ui/learning/atoms/std-learn-predict.orb +705 -125
- package/behaviors/registry/ui/learning/atoms/std-learn-sample-accumulator.orb +624 -114
- package/behaviors/registry/ui/learning/atoms/std-learn-sandbox.orb +405 -153
- package/behaviors/registry/ui/learning/atoms/std-learn-scatter-fit.orb +1911 -611
- package/behaviors/registry/ui/learning/atoms/std-learn-scenario.orb +436 -128
- package/behaviors/registry/ui/learning/atoms/std-learn-sim-3d.orb +2482 -485
- package/behaviors/registry/ui/learning/atoms/std-learn-speed-drill.orb +896 -192
- package/behaviors/registry/ui/learning/atoms/std-learn-stepper.orb +2001 -759
- package/behaviors/registry/ui/learning/atoms/std-learn-tour-3d.orb +734 -228
- package/behaviors/registry/ui/learning/atoms/std-learn-trace-player.orb +2501 -764
- package/behaviors/registry/ui/learning/atoms/std-learn-transport.orb +1591 -173
- package/behaviors/registry/ui/learning/atoms/std-learn-tree.orb +883 -122
- package/behaviors/registry/ui/learning/atoms/ui-algo-graph-canvas.orb +176 -0
- package/behaviors/registry/ui/learning/atoms/ui-algorithm-canvas.orb +211 -0
- package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +211 -0
- package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +212 -1
- package/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +212 -1
- package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +203 -9
- package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +211 -0
- package/behaviors/signatures.lolo +325 -655
- package/canonical-operators.json +35 -1
- package/dist/behaviors/exports-reader.js +41980 -35508
- package/dist/behaviors/functions/index.d.ts +1063 -140
- package/dist/behaviors/functions/index.js +41951 -35506
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +41981 -35509
- package/dist/behaviors/query.js +41980 -35508
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +47 -27
- package/dist/behaviors-registry.json +4814 -553
- package/dist/index.d.ts +4 -4
- package/dist/index.js +42019 -35509
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +623 -263
- package/dist/modules/anim.d.ts +1 -1
- package/dist/modules/array.d.ts +1 -1
- package/dist/modules/async.d.ts +1 -1
- package/dist/modules/behavior.d.ts +1 -1
- package/dist/modules/browser.d.ts +1 -1
- package/dist/modules/composition.d.ts +1 -1
- package/dist/modules/contract.d.ts +1 -1
- package/dist/modules/core.d.ts +1 -1
- package/dist/modules/core.js +2 -0
- package/dist/modules/data.d.ts +1 -1
- package/dist/modules/ease.d.ts +1 -1
- package/dist/modules/format.d.ts +1 -1
- package/dist/modules/geo.d.ts +1 -1
- package/dist/modules/graph.d.ts +1 -1
- package/dist/modules/grid.d.ts +1 -1
- package/dist/modules/i18n.d.ts +17 -0
- package/dist/modules/i18n.js +22 -0
- package/dist/modules/index.d.ts +2 -1
- package/dist/modules/index.js +24 -1
- package/dist/modules/integration.d.ts +1 -1
- package/dist/modules/json.d.ts +1 -1
- package/dist/modules/llm.d.ts +1 -1
- package/dist/modules/math.d.ts +1 -1
- package/dist/modules/memory.d.ts +1 -1
- package/dist/modules/nn.d.ts +1 -1
- package/dist/modules/noise.d.ts +1 -1
- package/dist/modules/object.d.ts +1 -1
- package/dist/modules/os.d.ts +1 -1
- package/dist/modules/path.d.ts +1 -1
- package/dist/modules/prob.d.ts +1 -1
- package/dist/modules/session.d.ts +1 -1
- package/dist/modules/str.d.ts +1 -1
- package/dist/modules/tensor.d.ts +1 -1
- package/dist/modules/time.d.ts +1 -1
- package/dist/modules/trace.d.ts +1 -1
- package/dist/modules/train.d.ts +1 -1
- package/dist/modules/validate.d.ts +1 -1
- package/dist/modules/vector.d.ts +1 -1
- package/dist/modules/workspace.d.ts +1 -1
- package/dist/registry/factory-signatures.json +1 -1
- package/dist/registry.d.ts +10 -3
- package/dist/registry.js +31 -1
- package/dist/{types-DLx38UFZ.d.ts → types-Cdb321uM.d.ts} +9 -3
- package/i18n/ar.json +1 -0
- package/i18n/en.json +1 -0
- package/i18n/sl.json +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,594 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "std-doc-page — one page of a documentation site: a section sidebar with the current page marked, a breadcrumb, the page title and lede, an \"on this page\" contents list, the page's own content (a render slot the call site fills, live behaviors included) and previous/next links. Supports right-to-left pages. Pick for docs sites, handbooks, reference manuals and knowledge bases.",
|
|
3
|
+
"ledger": {
|
|
4
|
+
"entries": {
|
|
5
|
+
"ent_01M43K1FHRYTT5PNFT582WQXZW": {
|
|
6
|
+
"bakedName": "DocPageView",
|
|
7
|
+
"curName": "DocPageView",
|
|
8
|
+
"id": "ent_01M43K1FHRYTT5PNFT582WQXZW",
|
|
9
|
+
"kind": "entity",
|
|
10
|
+
"owner": "workspace",
|
|
11
|
+
"renames": []
|
|
12
|
+
},
|
|
13
|
+
"evt_01M43K1FHR92JR8S2DM4A21077": {
|
|
14
|
+
"bakedName": "INIT",
|
|
15
|
+
"curName": "INIT",
|
|
16
|
+
"id": "evt_01M43K1FHR92JR8S2DM4A21077",
|
|
17
|
+
"kind": "event",
|
|
18
|
+
"owner": "workspace",
|
|
19
|
+
"parent": "trt_01M43K1FHRYW1PQFJW58SCAR5G",
|
|
20
|
+
"renames": []
|
|
21
|
+
},
|
|
22
|
+
"orb_01M43K1FHR4DQC862G3EGD338S": {
|
|
23
|
+
"bakedName": "DocPageOrbital",
|
|
24
|
+
"curName": "DocPageOrbital",
|
|
25
|
+
"id": "orb_01M43K1FHR4DQC862G3EGD338S",
|
|
26
|
+
"kind": "orbital",
|
|
27
|
+
"owner": "workspace",
|
|
28
|
+
"renames": []
|
|
29
|
+
},
|
|
30
|
+
"pag_01M43K1FHRMA9XWQM1RNX61RP3": {
|
|
31
|
+
"bakedName": "DocPage",
|
|
32
|
+
"curName": "DocPage",
|
|
33
|
+
"id": "pag_01M43K1FHRMA9XWQM1RNX61RP3",
|
|
34
|
+
"kind": "page",
|
|
35
|
+
"owner": "workspace",
|
|
36
|
+
"renames": []
|
|
37
|
+
},
|
|
38
|
+
"trt_01M43K1FHRYW1PQFJW58SCAR5G": {
|
|
39
|
+
"bakedName": "DocPageRender",
|
|
40
|
+
"curName": "DocPageRender",
|
|
41
|
+
"id": "trt_01M43K1FHRYW1PQFJW58SCAR5G",
|
|
42
|
+
"kind": "trait",
|
|
43
|
+
"owner": "workspace",
|
|
44
|
+
"renames": []
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"schemaVersion": 1
|
|
48
|
+
},
|
|
49
|
+
"name": "std-doc-page",
|
|
50
|
+
"orbitals": [
|
|
51
|
+
{
|
|
52
|
+
"entity": {
|
|
53
|
+
"fields": [
|
|
54
|
+
{
|
|
55
|
+
"name": "id",
|
|
56
|
+
"required": true,
|
|
57
|
+
"type": "string"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"id": "ent_01M43K1FHRYTT5PNFT582WQXZW",
|
|
61
|
+
"name": "DocPageView",
|
|
62
|
+
"persistence": "runtime"
|
|
63
|
+
},
|
|
64
|
+
"id": "orb_01M43K1FHR4DQC862G3EGD338S",
|
|
65
|
+
"name": "DocPageOrbital",
|
|
66
|
+
"pages": [
|
|
67
|
+
{
|
|
68
|
+
"id": "pag_01M43K1FHRMA9XWQM1RNX61RP3",
|
|
69
|
+
"name": "DocPage",
|
|
70
|
+
"path": "/doc",
|
|
71
|
+
"traits": [
|
|
72
|
+
{
|
|
73
|
+
"ref": "DocPageRender",
|
|
74
|
+
"refId": "trt_01M43K1FHRYW1PQFJW58SCAR5G"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"traits": [
|
|
80
|
+
{
|
|
81
|
+
"category": "interaction",
|
|
82
|
+
"config": {
|
|
83
|
+
"content": {
|
|
84
|
+
"default": {
|
|
85
|
+
"children": [],
|
|
86
|
+
"direction": "vertical",
|
|
87
|
+
"gap": "lg",
|
|
88
|
+
"type": "stack"
|
|
89
|
+
},
|
|
90
|
+
"description": "The page body: markdown, code and live behaviors (trait references) in reading order",
|
|
91
|
+
"label": "Content",
|
|
92
|
+
"tier": "presentation",
|
|
93
|
+
"type": "render-ui"
|
|
94
|
+
},
|
|
95
|
+
"crumbs": {
|
|
96
|
+
"default": [],
|
|
97
|
+
"description": "Ancestors first, the current page last without a link; empty hides it",
|
|
98
|
+
"items": {
|
|
99
|
+
"properties": {
|
|
100
|
+
"href": {
|
|
101
|
+
"name": "href",
|
|
102
|
+
"required": false,
|
|
103
|
+
"type": "string"
|
|
104
|
+
},
|
|
105
|
+
"label": {
|
|
106
|
+
"name": "label",
|
|
107
|
+
"required": true,
|
|
108
|
+
"type": "string"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"type": "object"
|
|
112
|
+
},
|
|
113
|
+
"label": "Breadcrumb",
|
|
114
|
+
"tier": "presentation",
|
|
115
|
+
"type": "[DocCrumb]"
|
|
116
|
+
},
|
|
117
|
+
"direction": {
|
|
118
|
+
"default": "ltr",
|
|
119
|
+
"label": "Direction",
|
|
120
|
+
"tier": "presentation",
|
|
121
|
+
"type": "string",
|
|
122
|
+
"values": [
|
|
123
|
+
"ltr",
|
|
124
|
+
"rtl"
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
"lede": {
|
|
128
|
+
"default": "",
|
|
129
|
+
"description": "One or two sentences under the title; empty hides it",
|
|
130
|
+
"label": "Lede",
|
|
131
|
+
"tier": "presentation",
|
|
132
|
+
"type": "string"
|
|
133
|
+
},
|
|
134
|
+
"navItems": {
|
|
135
|
+
"default": [],
|
|
136
|
+
"description": "The documentation tree; mark the current page active",
|
|
137
|
+
"items": {
|
|
138
|
+
"properties": {
|
|
139
|
+
"active": {
|
|
140
|
+
"name": "active",
|
|
141
|
+
"required": false,
|
|
142
|
+
"type": "boolean"
|
|
143
|
+
},
|
|
144
|
+
"href": {
|
|
145
|
+
"name": "href",
|
|
146
|
+
"required": false,
|
|
147
|
+
"type": "string"
|
|
148
|
+
},
|
|
149
|
+
"items": {
|
|
150
|
+
"items": {
|
|
151
|
+
"type": "union",
|
|
152
|
+
"values": [
|
|
153
|
+
"DocNavItem"
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
"name": "items",
|
|
157
|
+
"required": false,
|
|
158
|
+
"type": "array"
|
|
159
|
+
},
|
|
160
|
+
"label": {
|
|
161
|
+
"name": "label",
|
|
162
|
+
"required": true,
|
|
163
|
+
"type": "string"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"type": "object"
|
|
167
|
+
},
|
|
168
|
+
"label": "Sidebar",
|
|
169
|
+
"tier": "presentation",
|
|
170
|
+
"type": "[DocNavItem]"
|
|
171
|
+
},
|
|
172
|
+
"next": {
|
|
173
|
+
"default": {
|
|
174
|
+
"href": "",
|
|
175
|
+
"label": ""
|
|
176
|
+
},
|
|
177
|
+
"description": "Empty href hides it",
|
|
178
|
+
"label": "Next page",
|
|
179
|
+
"properties": {
|
|
180
|
+
"category": {
|
|
181
|
+
"name": "category",
|
|
182
|
+
"required": false,
|
|
183
|
+
"type": "string"
|
|
184
|
+
},
|
|
185
|
+
"href": {
|
|
186
|
+
"name": "href",
|
|
187
|
+
"required": true,
|
|
188
|
+
"type": "string"
|
|
189
|
+
},
|
|
190
|
+
"label": {
|
|
191
|
+
"name": "label",
|
|
192
|
+
"required": true,
|
|
193
|
+
"type": "string"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"tier": "presentation",
|
|
197
|
+
"type": "DocLink"
|
|
198
|
+
},
|
|
199
|
+
"prev": {
|
|
200
|
+
"default": {
|
|
201
|
+
"href": "",
|
|
202
|
+
"label": ""
|
|
203
|
+
},
|
|
204
|
+
"description": "Empty href hides it",
|
|
205
|
+
"label": "Previous page",
|
|
206
|
+
"properties": {
|
|
207
|
+
"category": {
|
|
208
|
+
"name": "category",
|
|
209
|
+
"required": false,
|
|
210
|
+
"type": "string"
|
|
211
|
+
},
|
|
212
|
+
"href": {
|
|
213
|
+
"name": "href",
|
|
214
|
+
"required": true,
|
|
215
|
+
"type": "string"
|
|
216
|
+
},
|
|
217
|
+
"label": {
|
|
218
|
+
"name": "label",
|
|
219
|
+
"required": true,
|
|
220
|
+
"type": "string"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"tier": "presentation",
|
|
224
|
+
"type": "DocLink"
|
|
225
|
+
},
|
|
226
|
+
"sidebarLabel": {
|
|
227
|
+
"default": "Documentation",
|
|
228
|
+
"label": "Sidebar label",
|
|
229
|
+
"tier": "presentation",
|
|
230
|
+
"type": "string"
|
|
231
|
+
},
|
|
232
|
+
"title": {
|
|
233
|
+
"default": "Untitled page",
|
|
234
|
+
"label": "Title",
|
|
235
|
+
"tier": "presentation",
|
|
236
|
+
"type": "string"
|
|
237
|
+
},
|
|
238
|
+
"toc": {
|
|
239
|
+
"default": [],
|
|
240
|
+
"description": "Anchors of the page's sections (each section declares the same id); empty hides it",
|
|
241
|
+
"items": {
|
|
242
|
+
"properties": {
|
|
243
|
+
"id": {
|
|
244
|
+
"name": "id",
|
|
245
|
+
"required": true,
|
|
246
|
+
"type": "string"
|
|
247
|
+
},
|
|
248
|
+
"label": {
|
|
249
|
+
"name": "label",
|
|
250
|
+
"required": true,
|
|
251
|
+
"type": "string"
|
|
252
|
+
},
|
|
253
|
+
"level": {
|
|
254
|
+
"name": "level",
|
|
255
|
+
"required": true,
|
|
256
|
+
"type": "number"
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"type": "object"
|
|
260
|
+
},
|
|
261
|
+
"label": "On this page",
|
|
262
|
+
"tier": "presentation",
|
|
263
|
+
"type": "[DocTocEntry]"
|
|
264
|
+
},
|
|
265
|
+
"tocLabel": {
|
|
266
|
+
"default": "On this page",
|
|
267
|
+
"label": "Contents label",
|
|
268
|
+
"tier": "presentation",
|
|
269
|
+
"type": "string"
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
"effectRow": [
|
|
273
|
+
{
|
|
274
|
+
"kind": "render-ui",
|
|
275
|
+
"resource": "main"
|
|
276
|
+
}
|
|
277
|
+
],
|
|
278
|
+
"entityContract": {
|
|
279
|
+
"provides": [],
|
|
280
|
+
"requires": []
|
|
281
|
+
},
|
|
282
|
+
"entityRebindable": true,
|
|
283
|
+
"entityRefIds": {
|
|
284
|
+
"DocPageView": "ent_01M43K1FHRYTT5PNFT582WQXZW"
|
|
285
|
+
},
|
|
286
|
+
"id": "trt_01M43K1FHRYW1PQFJW58SCAR5G",
|
|
287
|
+
"linkedEntity": "DocPageView",
|
|
288
|
+
"linkedEntityId": "ent_01M43K1FHRYTT5PNFT582WQXZW",
|
|
289
|
+
"name": "DocPageRender",
|
|
290
|
+
"scope": "instance",
|
|
291
|
+
"stateMachine": {
|
|
292
|
+
"events": [
|
|
293
|
+
{
|
|
294
|
+
"id": "evt_01M43K1FHR92JR8S2DM4A21077",
|
|
295
|
+
"key": "INIT",
|
|
296
|
+
"name": "Initialize"
|
|
297
|
+
}
|
|
298
|
+
],
|
|
299
|
+
"states": [
|
|
300
|
+
{
|
|
301
|
+
"isInitial": true,
|
|
302
|
+
"name": "idle"
|
|
303
|
+
}
|
|
304
|
+
],
|
|
305
|
+
"transitions": [
|
|
306
|
+
{
|
|
307
|
+
"effects": [
|
|
308
|
+
[
|
|
309
|
+
"render-ui",
|
|
310
|
+
"main",
|
|
311
|
+
{
|
|
312
|
+
"children": [
|
|
313
|
+
{
|
|
314
|
+
"children": [
|
|
315
|
+
{
|
|
316
|
+
"children": [
|
|
317
|
+
{
|
|
318
|
+
"children": [
|
|
319
|
+
{
|
|
320
|
+
"className": [
|
|
321
|
+
"if",
|
|
322
|
+
[
|
|
323
|
+
"==",
|
|
324
|
+
"@config.sidebarLabel",
|
|
325
|
+
""
|
|
326
|
+
],
|
|
327
|
+
"hidden",
|
|
328
|
+
"px-3"
|
|
329
|
+
],
|
|
330
|
+
"content": "@config.sidebarLabel",
|
|
331
|
+
"type": "typography",
|
|
332
|
+
"variant": "label",
|
|
333
|
+
"weight": "semibold"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"aria-label": "@config.sidebarLabel",
|
|
337
|
+
"items": "@config.navItems",
|
|
338
|
+
"type": "doc-sidebar"
|
|
339
|
+
}
|
|
340
|
+
],
|
|
341
|
+
"className": "lg:sticky lg:top-6 self-start",
|
|
342
|
+
"direction": "vertical",
|
|
343
|
+
"gap": "sm",
|
|
344
|
+
"type": "stack"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"children": [
|
|
348
|
+
{
|
|
349
|
+
"className": [
|
|
350
|
+
"if",
|
|
351
|
+
[
|
|
352
|
+
"==",
|
|
353
|
+
[
|
|
354
|
+
"array/len",
|
|
355
|
+
"@config.crumbs"
|
|
356
|
+
],
|
|
357
|
+
0.0
|
|
358
|
+
],
|
|
359
|
+
"hidden",
|
|
360
|
+
""
|
|
361
|
+
],
|
|
362
|
+
"items": "@config.crumbs",
|
|
363
|
+
"type": "doc-breadcrumb"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"children": [
|
|
367
|
+
{
|
|
368
|
+
"className": "tracking-tight text-balance",
|
|
369
|
+
"content": "@config.title",
|
|
370
|
+
"type": "typography",
|
|
371
|
+
"variant": "h1",
|
|
372
|
+
"weight": "bold"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"className": [
|
|
376
|
+
"if",
|
|
377
|
+
[
|
|
378
|
+
"==",
|
|
379
|
+
"@config.lede",
|
|
380
|
+
""
|
|
381
|
+
],
|
|
382
|
+
"hidden",
|
|
383
|
+
"max-w-3xl text-pretty"
|
|
384
|
+
],
|
|
385
|
+
"color": "muted",
|
|
386
|
+
"content": "@config.lede",
|
|
387
|
+
"type": "typography",
|
|
388
|
+
"variant": "large"
|
|
389
|
+
}
|
|
390
|
+
],
|
|
391
|
+
"direction": "vertical",
|
|
392
|
+
"gap": "sm",
|
|
393
|
+
"type": "stack"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"bg": "muted",
|
|
397
|
+
"children": [
|
|
398
|
+
{
|
|
399
|
+
"children": [
|
|
400
|
+
{
|
|
401
|
+
"content": "@config.tocLabel",
|
|
402
|
+
"type": "typography",
|
|
403
|
+
"variant": "label",
|
|
404
|
+
"weight": "semibold"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"aria-label": "@config.tocLabel",
|
|
408
|
+
"items": "@config.toc",
|
|
409
|
+
"type": "doc-toc"
|
|
410
|
+
}
|
|
411
|
+
],
|
|
412
|
+
"direction": "vertical",
|
|
413
|
+
"gap": "xs",
|
|
414
|
+
"type": "stack"
|
|
415
|
+
}
|
|
416
|
+
],
|
|
417
|
+
"className": [
|
|
418
|
+
"if",
|
|
419
|
+
[
|
|
420
|
+
"==",
|
|
421
|
+
[
|
|
422
|
+
"array/len",
|
|
423
|
+
"@config.toc"
|
|
424
|
+
],
|
|
425
|
+
0.0
|
|
426
|
+
],
|
|
427
|
+
"hidden",
|
|
428
|
+
""
|
|
429
|
+
],
|
|
430
|
+
"padding": "md",
|
|
431
|
+
"rounded": "lg",
|
|
432
|
+
"type": "box"
|
|
433
|
+
},
|
|
434
|
+
"@config.content",
|
|
435
|
+
{
|
|
436
|
+
"type": "divider"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"next": [
|
|
440
|
+
"if",
|
|
441
|
+
[
|
|
442
|
+
"==",
|
|
443
|
+
[
|
|
444
|
+
"object/get",
|
|
445
|
+
"@config.next",
|
|
446
|
+
"href",
|
|
447
|
+
""
|
|
448
|
+
],
|
|
449
|
+
""
|
|
450
|
+
],
|
|
451
|
+
null,
|
|
452
|
+
"@config.next"
|
|
453
|
+
],
|
|
454
|
+
"prev": [
|
|
455
|
+
"if",
|
|
456
|
+
[
|
|
457
|
+
"==",
|
|
458
|
+
[
|
|
459
|
+
"object/get",
|
|
460
|
+
"@config.prev",
|
|
461
|
+
"href",
|
|
462
|
+
""
|
|
463
|
+
],
|
|
464
|
+
""
|
|
465
|
+
],
|
|
466
|
+
null,
|
|
467
|
+
"@config.prev"
|
|
468
|
+
],
|
|
469
|
+
"type": "doc-pagination"
|
|
470
|
+
}
|
|
471
|
+
],
|
|
472
|
+
"className": "min-w-0",
|
|
473
|
+
"direction": "vertical",
|
|
474
|
+
"gap": "lg",
|
|
475
|
+
"type": "stack"
|
|
476
|
+
}
|
|
477
|
+
],
|
|
478
|
+
"gap": "xl",
|
|
479
|
+
"ratio": "1:4",
|
|
480
|
+
"type": "split"
|
|
481
|
+
}
|
|
482
|
+
],
|
|
483
|
+
"maxWidth": "xl",
|
|
484
|
+
"padding": "lg",
|
|
485
|
+
"size": "xl",
|
|
486
|
+
"type": "container"
|
|
487
|
+
}
|
|
488
|
+
],
|
|
489
|
+
"dir": "@config.direction",
|
|
490
|
+
"fullWidth": true,
|
|
491
|
+
"paddingY": "lg",
|
|
492
|
+
"type": "box"
|
|
493
|
+
}
|
|
494
|
+
]
|
|
495
|
+
],
|
|
496
|
+
"event": "INIT",
|
|
497
|
+
"eventId": "evt_01M43K1FHR92JR8S2DM4A21077",
|
|
498
|
+
"from": "idle",
|
|
499
|
+
"to": "idle"
|
|
500
|
+
}
|
|
501
|
+
]
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
],
|
|
505
|
+
"types": {
|
|
506
|
+
"DocCrumb": [
|
|
507
|
+
{
|
|
508
|
+
"name": "label",
|
|
509
|
+
"required": true,
|
|
510
|
+
"type": "string"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"name": "href",
|
|
514
|
+
"type": "string"
|
|
515
|
+
}
|
|
516
|
+
],
|
|
517
|
+
"DocLink": [
|
|
518
|
+
{
|
|
519
|
+
"name": "label",
|
|
520
|
+
"required": true,
|
|
521
|
+
"type": "string"
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"name": "href",
|
|
525
|
+
"required": true,
|
|
526
|
+
"type": "string"
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"name": "category",
|
|
530
|
+
"type": "string"
|
|
531
|
+
}
|
|
532
|
+
],
|
|
533
|
+
"DocNavItem": [
|
|
534
|
+
{
|
|
535
|
+
"name": "label",
|
|
536
|
+
"required": true,
|
|
537
|
+
"type": "string"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"name": "href",
|
|
541
|
+
"type": "string"
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"name": "items",
|
|
545
|
+
"properties": [
|
|
546
|
+
{
|
|
547
|
+
"name": "label",
|
|
548
|
+
"required": true,
|
|
549
|
+
"type": "string"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"name": "href",
|
|
553
|
+
"type": "string"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"name": "items",
|
|
557
|
+
"properties": [],
|
|
558
|
+
"type": "[DocNavItem]"
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"name": "active",
|
|
562
|
+
"type": "boolean"
|
|
563
|
+
}
|
|
564
|
+
],
|
|
565
|
+
"type": "[object]"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"name": "active",
|
|
569
|
+
"type": "boolean"
|
|
570
|
+
}
|
|
571
|
+
],
|
|
572
|
+
"DocTocEntry": [
|
|
573
|
+
{
|
|
574
|
+
"name": "id",
|
|
575
|
+
"required": true,
|
|
576
|
+
"type": "string"
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"name": "label",
|
|
580
|
+
"required": true,
|
|
581
|
+
"type": "string"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"name": "level",
|
|
585
|
+
"required": true,
|
|
586
|
+
"type": "number"
|
|
587
|
+
}
|
|
588
|
+
]
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
],
|
|
592
|
+
"schemaVersion": 1,
|
|
593
|
+
"version": "1.0.0"
|
|
594
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "std-site-header — the sticky top bar of a public website: brand (logo + name), navigation links with the current page marked (a link with children opens a dropdown), an optional language picker (std-language-picker: the same page in each language, default language at the root and the others under /<code>/), and an optional call-to-action button. On small screens the links fold into a menu opened by a toggle, with child links indented under their parent and the call-to-action button at the bottom. Links follow `href` (in-app path, #anchor, or absolute URL); the header action and the small-screen menu links also emit NAV_CLICKED { href, label }. Pick for marketing sites, docs portals and product websites; for signed-in app chrome use std-app-layout.",
|
|
2
|
+
"description": "std-site-header — the sticky top bar of a public website: brand (logo + name, linking home when `homeHref` is set), navigation links with the current page marked (a link with children opens a dropdown), an optional light/dark toggle, an optional language picker (std-language-picker: the same page in each language, default language at the root and the others under /<code>/), and an optional call-to-action button. On small screens the links fold into a menu opened by a toggle, with child links indented under their parent and the call-to-action button at the bottom. Links follow `href` (in-app path, #anchor, or absolute URL); the header action and the small-screen menu links also emit NAV_CLICKED { href, label }. Pick for marketing sites, docs portals and product websites; for signed-in app chrome use std-app-layout.",
|
|
3
3
|
"ledger": {
|
|
4
4
|
"entries": {
|
|
5
5
|
"ent_01M3B9EHRNR3JQPJSD36PH5QV8": {
|
|
@@ -166,6 +166,16 @@
|
|
|
166
166
|
{
|
|
167
167
|
"actions": [
|
|
168
168
|
"@trait.SiteHeaderLanguages",
|
|
169
|
+
{
|
|
170
|
+
"className": [
|
|
171
|
+
"if",
|
|
172
|
+
"@config.showThemeToggle",
|
|
173
|
+
"",
|
|
174
|
+
"hidden"
|
|
175
|
+
],
|
|
176
|
+
"size": "sm",
|
|
177
|
+
"type": "theme-toggle"
|
|
178
|
+
},
|
|
169
179
|
{
|
|
170
180
|
"action": "NAV_LINK",
|
|
171
181
|
"actionPayload": {
|
|
@@ -189,6 +199,7 @@
|
|
|
189
199
|
"variant": "primary"
|
|
190
200
|
}
|
|
191
201
|
],
|
|
202
|
+
"brandHref": "@config.homeHref",
|
|
192
203
|
"brandName": "@config.brandName",
|
|
193
204
|
"className": "hidden lg:flex",
|
|
194
205
|
"logoSrc": "@config.logoSrc",
|
|
@@ -268,8 +279,19 @@
|
|
|
268
279
|
},
|
|
269
280
|
{
|
|
270
281
|
"actions": [
|
|
271
|
-
"@trait.SiteHeaderLanguages"
|
|
282
|
+
"@trait.SiteHeaderLanguages",
|
|
283
|
+
{
|
|
284
|
+
"className": [
|
|
285
|
+
"if",
|
|
286
|
+
"@config.showThemeToggle",
|
|
287
|
+
"",
|
|
288
|
+
"hidden"
|
|
289
|
+
],
|
|
290
|
+
"size": "sm",
|
|
291
|
+
"type": "theme-toggle"
|
|
292
|
+
}
|
|
272
293
|
],
|
|
294
|
+
"brandHref": "@config.homeHref",
|
|
273
295
|
"brandName": "@config.brandName",
|
|
274
296
|
"className": "lg:hidden",
|
|
275
297
|
"isMenuOpen": "@entity.menuOpen",
|
|
@@ -464,6 +486,14 @@
|
|
|
464
486
|
"tier": "internal",
|
|
465
487
|
"type": "render-ui"
|
|
466
488
|
},
|
|
489
|
+
"homeHref": {
|
|
490
|
+
"default": "",
|
|
491
|
+
"description": "Where the brand (logo + name) links to, usually the site's home page; empty leaves the brand unlinked",
|
|
492
|
+
"label": "Home link",
|
|
493
|
+
"synonyms": "logo link, home page, brand link",
|
|
494
|
+
"tier": "presentation",
|
|
495
|
+
"type": "string"
|
|
496
|
+
},
|
|
467
497
|
"languages": {
|
|
468
498
|
"default": [],
|
|
469
499
|
"description": "Every language this page exists in, each named in its own language, with the href of THIS page in that language (default language at the root, others under /<code>/). Empty hides the language picker.",
|
|
@@ -544,6 +574,14 @@
|
|
|
544
574
|
"label": "Logo image",
|
|
545
575
|
"tier": "presentation",
|
|
546
576
|
"type": "string"
|
|
577
|
+
},
|
|
578
|
+
"showThemeToggle": {
|
|
579
|
+
"default": false,
|
|
580
|
+
"description": "Show a button that switches the site between its light and dark mode",
|
|
581
|
+
"label": "Light/dark toggle",
|
|
582
|
+
"synonyms": "dark mode, theme switch, color mode",
|
|
583
|
+
"tier": "presentation",
|
|
584
|
+
"type": "boolean"
|
|
547
585
|
}
|
|
548
586
|
},
|
|
549
587
|
"effectRow": [
|