@almadar/std 16.228.0 → 16.230.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.
Files changed (170) hide show
  1. package/behaviors/behaviors-registry.json +97602 -98073
  2. package/behaviors/lolo/infra/atoms/std-notify-on-event.lolo +2 -2
  3. package/behaviors/lolo/ui/core/atoms/std-book-reader.lolo +316 -0
  4. package/behaviors/lolo/ui/core/atoms/std-card-grid.lolo +172 -0
  5. package/behaviors/lolo/ui/core/atoms/std-hero.lolo +247 -0
  6. package/behaviors/lolo/ui/core/atoms/std-media-section.lolo +154 -0
  7. package/behaviors/lolo/ui/core/atoms/std-pricing.lolo +177 -0
  8. package/behaviors/lolo/ui/core/atoms/std-prose.lolo +85 -0
  9. package/behaviors/lolo/ui/core/atoms/std-site-footer.lolo +159 -0
  10. package/behaviors/lolo/ui/core/atoms/std-site-header.lolo +131 -0
  11. package/behaviors/lolo/ui/core/atoms/std-stat-band.lolo +83 -0
  12. package/behaviors/lolo/ui/core/atoms/std-stats.lolo +4 -5
  13. package/behaviors/lolo/ui/core/atoms/std-steps.lolo +124 -0
  14. package/behaviors/lolo/ui/core/atoms/ui-box.lolo +5 -0
  15. package/behaviors/lolo/ui/core/atoms/ui-button.lolo +6 -1
  16. package/behaviors/lolo/ui/core/atoms/ui-image.lolo +64 -0
  17. package/behaviors/lolo/ui/{marketing/atoms → core/molecules}/ui-animated-counter.lolo +11 -6
  18. package/behaviors/lolo/ui/core/organisms/ui-chat-bar.lolo +5 -0
  19. package/behaviors/lolo/ui/game/atoms/ui-canvas-2d.lolo +1 -1
  20. package/behaviors/lolo-behavior-contracts.json +1 -1
  21. package/behaviors/registry/factory-signatures.json +1 -1
  22. package/behaviors/registry/infra/atoms/std-notify-on-event.orb +45 -9
  23. package/behaviors/registry/ui/core/atoms/std-book-reader.orb +1269 -0
  24. package/behaviors/registry/ui/core/atoms/std-card-grid.orb +826 -0
  25. package/behaviors/registry/ui/core/atoms/std-hero.orb +811 -0
  26. package/behaviors/registry/ui/core/atoms/std-media-section.orb +740 -0
  27. package/behaviors/registry/ui/core/atoms/std-pricing.orb +751 -0
  28. package/behaviors/registry/ui/core/atoms/std-prose.orb +264 -0
  29. package/behaviors/registry/ui/core/atoms/std-site-footer.orb +589 -0
  30. package/behaviors/registry/ui/core/atoms/std-site-header.orb +530 -0
  31. package/behaviors/registry/ui/core/atoms/std-stat-band.orb +311 -0
  32. package/behaviors/registry/ui/core/atoms/std-stats.orb +4 -5
  33. package/behaviors/registry/ui/core/atoms/std-steps.orb +532 -0
  34. package/behaviors/registry/ui/{marketing → core}/atoms/ui-animated-graphic.orb +20 -20
  35. package/behaviors/registry/ui/{marketing → core}/atoms/ui-animated-reveal.orb +20 -20
  36. package/behaviors/registry/ui/core/atoms/ui-box.orb +7 -0
  37. package/behaviors/registry/ui/core/atoms/ui-button.orb +9 -1
  38. package/behaviors/registry/ui/core/atoms/ui-image.orb +231 -0
  39. package/behaviors/registry/ui/{marketing → core}/atoms/ui-pattern-tile.orb +20 -20
  40. package/behaviors/registry/ui/{marketing/atoms → core/molecules}/ui-animated-counter.orb +33 -26
  41. package/behaviors/registry/ui/{marketing/atoms → core/molecules}/ui-feature-card.orb +20 -20
  42. package/behaviors/registry/ui/{marketing/atoms → core/molecules}/ui-geometric-pattern.orb +20 -20
  43. package/behaviors/registry/ui/core/organisms/ui-chat-bar.orb +7 -0
  44. package/behaviors/registry/ui/{marketing → core}/templates/ui-auth-layout.orb +20 -20
  45. package/behaviors/registry/ui/game/atoms/ui-canvas-2d.orb +1 -1
  46. package/behaviors/signatures.lolo +1070 -2984
  47. package/canonical-operators.json +3 -3
  48. package/dist/behaviors/exports-reader.js +3818 -10339
  49. package/dist/behaviors/functions/index.d.ts +3965 -6984
  50. package/dist/behaviors/functions/index.js +3786 -10195
  51. package/dist/behaviors/index.d.ts +1 -1
  52. package/dist/behaviors/index.js +3819 -10340
  53. package/dist/behaviors/query.js +3818 -10339
  54. package/dist/behaviors-embeddings.hash.json +3 -3
  55. package/dist/behaviors-embeddings.json +77 -237
  56. package/dist/behaviors-registry.json +97602 -98073
  57. package/dist/index.d.ts +1 -1
  58. package/dist/index.js +3821 -10342
  59. package/dist/knob-embeddings.hash.json +3 -3
  60. package/dist/knob-embeddings.json +352 -1212
  61. package/dist/modules/core.js +2 -2
  62. package/dist/modules/index.js +2 -2
  63. package/dist/registry/factory-signatures.json +1 -1
  64. package/dist/registry.js +2 -2
  65. package/i18n/ar.json +8 -4
  66. package/i18n/en.json +4 -0
  67. package/i18n/sl.json +8 -4
  68. package/package.json +4 -6
  69. package/behaviors/lolo/ui/marketing/atoms/std-marketing-article.lolo +0 -31
  70. package/behaviors/lolo/ui/marketing/atoms/std-marketing-cta.lolo +0 -93
  71. package/behaviors/lolo/ui/marketing/atoms/std-marketing-features.lolo +0 -83
  72. package/behaviors/lolo/ui/marketing/atoms/std-marketing-footer.lolo +0 -72
  73. package/behaviors/lolo/ui/marketing/atoms/std-marketing-hero.lolo +0 -131
  74. package/behaviors/lolo/ui/marketing/atoms/std-marketing-nav.lolo +0 -86
  75. package/behaviors/lolo/ui/marketing/atoms/std-marketing-pricing.lolo +0 -85
  76. package/behaviors/lolo/ui/marketing/atoms/std-marketing-showcase.lolo +0 -87
  77. package/behaviors/lolo/ui/marketing/atoms/std-marketing-split.lolo +0 -50
  78. package/behaviors/lolo/ui/marketing/atoms/std-marketing-stats.lolo +0 -43
  79. package/behaviors/lolo/ui/marketing/atoms/std-marketing-steps.lolo +0 -48
  80. package/behaviors/lolo/ui/marketing/atoms/std-marketing-team.lolo +0 -51
  81. package/behaviors/lolo/ui/marketing/atoms/ui-article-section.lolo +0 -44
  82. package/behaviors/lolo/ui/marketing/atoms/ui-case-study-card.lolo +0 -60
  83. package/behaviors/lolo/ui/marketing/atoms/ui-community-links.lolo +0 -67
  84. package/behaviors/lolo/ui/marketing/atoms/ui-content-section.lolo +0 -44
  85. package/behaviors/lolo/ui/marketing/atoms/ui-cta-banner.lolo +0 -68
  86. package/behaviors/lolo/ui/marketing/atoms/ui-hero-section.lolo +0 -112
  87. package/behaviors/lolo/ui/marketing/atoms/ui-install-box.lolo +0 -39
  88. package/behaviors/lolo/ui/marketing/atoms/ui-marketing-footer.lolo +0 -58
  89. package/behaviors/lolo/ui/marketing/atoms/ui-marketing-stat-card.lolo +0 -45
  90. package/behaviors/lolo/ui/marketing/atoms/ui-pricing-card.lolo +0 -70
  91. package/behaviors/lolo/ui/marketing/atoms/ui-pricing-grid.lolo +0 -49
  92. package/behaviors/lolo/ui/marketing/atoms/ui-pull-quote.lolo +0 -34
  93. package/behaviors/lolo/ui/marketing/atoms/ui-service-catalog.lolo +0 -40
  94. package/behaviors/lolo/ui/marketing/atoms/ui-showcase-card.lolo +0 -64
  95. package/behaviors/lolo/ui/marketing/atoms/ui-split-section.lolo +0 -69
  96. package/behaviors/lolo/ui/marketing/atoms/ui-stats-grid.lolo +0 -44
  97. package/behaviors/lolo/ui/marketing/atoms/ui-step-flow.lolo +0 -51
  98. package/behaviors/lolo/ui/marketing/atoms/ui-tag-cloud.lolo +0 -45
  99. package/behaviors/lolo/ui/marketing/atoms/ui-team-card.lolo +0 -54
  100. package/behaviors/lolo/ui/marketing/organisms/ui-book-chapter-view.lolo +0 -63
  101. package/behaviors/lolo/ui/marketing/organisms/ui-book-cover-page.lolo +0 -54
  102. package/behaviors/lolo/ui/marketing/organisms/ui-book-nav-bar.lolo +0 -49
  103. package/behaviors/lolo/ui/marketing/organisms/ui-book-table-of-contents.lolo +0 -70
  104. package/behaviors/lolo/ui/marketing/organisms/ui-book-viewer.lolo +0 -161
  105. package/behaviors/lolo/ui/marketing/organisms/ui-case-study-organism.lolo +0 -153
  106. package/behaviors/lolo/ui/marketing/organisms/ui-feature-grid-organism.lolo +0 -159
  107. package/behaviors/lolo/ui/marketing/organisms/ui-hero-organism.lolo +0 -162
  108. package/behaviors/lolo/ui/marketing/organisms/ui-pricing-organism.lolo +0 -155
  109. package/behaviors/lolo/ui/marketing/organisms/ui-showcase-organism.lolo +0 -164
  110. package/behaviors/lolo/ui/marketing/organisms/ui-stats-organism.lolo +0 -142
  111. package/behaviors/lolo/ui/marketing/organisms/ui-step-flow-organism.lolo +0 -165
  112. package/behaviors/lolo/ui/marketing/organisms/ui-team-organism.lolo +0 -152
  113. package/behaviors/lolo/ui/marketing/templates/ui-about-page-template.lolo +0 -105
  114. package/behaviors/lolo/ui/marketing/templates/ui-feature-detail-page-template.lolo +0 -93
  115. package/behaviors/lolo/ui/marketing/templates/ui-landing-page-template.lolo +0 -144
  116. package/behaviors/lolo/ui/marketing/templates/ui-pricing-page-template.lolo +0 -89
  117. package/behaviors/registry/ui/marketing/atoms/std-marketing-article.orb +0 -121
  118. package/behaviors/registry/ui/marketing/atoms/std-marketing-cta.orb +0 -360
  119. package/behaviors/registry/ui/marketing/atoms/std-marketing-features.orb +0 -305
  120. package/behaviors/registry/ui/marketing/atoms/std-marketing-footer.orb +0 -265
  121. package/behaviors/registry/ui/marketing/atoms/std-marketing-hero.orb +0 -424
  122. package/behaviors/registry/ui/marketing/atoms/std-marketing-nav.orb +0 -288
  123. package/behaviors/registry/ui/marketing/atoms/std-marketing-pricing.orb +0 -366
  124. package/behaviors/registry/ui/marketing/atoms/std-marketing-showcase.orb +0 -415
  125. package/behaviors/registry/ui/marketing/atoms/std-marketing-split.orb +0 -152
  126. package/behaviors/registry/ui/marketing/atoms/std-marketing-stats.orb +0 -151
  127. package/behaviors/registry/ui/marketing/atoms/std-marketing-steps.orb +0 -221
  128. package/behaviors/registry/ui/marketing/atoms/std-marketing-team.orb +0 -239
  129. package/behaviors/registry/ui/marketing/atoms/ui-article-section.orb +0 -176
  130. package/behaviors/registry/ui/marketing/atoms/ui-case-study-card.orb +0 -195
  131. package/behaviors/registry/ui/marketing/atoms/ui-community-links.orb +0 -254
  132. package/behaviors/registry/ui/marketing/atoms/ui-content-section.orb +0 -182
  133. package/behaviors/registry/ui/marketing/atoms/ui-cta-banner.orb +0 -254
  134. package/behaviors/registry/ui/marketing/atoms/ui-hero-section.orb +0 -345
  135. package/behaviors/registry/ui/marketing/atoms/ui-install-box.orb +0 -163
  136. package/behaviors/registry/ui/marketing/atoms/ui-marketing-footer.orb +0 -298
  137. package/behaviors/registry/ui/marketing/atoms/ui-marketing-stat-card.orb +0 -177
  138. package/behaviors/registry/ui/marketing/atoms/ui-pricing-card.orb +0 -237
  139. package/behaviors/registry/ui/marketing/atoms/ui-pricing-grid.orb +0 -313
  140. package/behaviors/registry/ui/marketing/atoms/ui-pull-quote.orb +0 -156
  141. package/behaviors/registry/ui/marketing/atoms/ui-service-catalog.orb +0 -205
  142. package/behaviors/registry/ui/marketing/atoms/ui-showcase-card.orb +0 -221
  143. package/behaviors/registry/ui/marketing/atoms/ui-split-section.orb +0 -239
  144. package/behaviors/registry/ui/marketing/atoms/ui-stats-grid.orb +0 -202
  145. package/behaviors/registry/ui/marketing/atoms/ui-step-flow.orb +0 -236
  146. package/behaviors/registry/ui/marketing/atoms/ui-tag-cloud.orb +0 -217
  147. package/behaviors/registry/ui/marketing/atoms/ui-team-card.orb +0 -186
  148. package/behaviors/registry/ui/marketing/organisms/ui-book-chapter-view.orb +0 -277
  149. package/behaviors/registry/ui/marketing/organisms/ui-book-cover-page.orb +0 -190
  150. package/behaviors/registry/ui/marketing/organisms/ui-book-nav-bar.orb +0 -183
  151. package/behaviors/registry/ui/marketing/organisms/ui-book-table-of-contents.orb +0 -286
  152. package/behaviors/registry/ui/marketing/organisms/ui-book-viewer.orb +0 -553
  153. package/behaviors/registry/ui/marketing/organisms/ui-case-study-organism.orb +0 -507
  154. package/behaviors/registry/ui/marketing/organisms/ui-feature-grid-organism.orb +0 -504
  155. package/behaviors/registry/ui/marketing/organisms/ui-hero-organism.orb +0 -635
  156. package/behaviors/registry/ui/marketing/organisms/ui-pricing-organism.orb +0 -539
  157. package/behaviors/registry/ui/marketing/organisms/ui-showcase-organism.orb +0 -542
  158. package/behaviors/registry/ui/marketing/organisms/ui-stats-organism.orb +0 -447
  159. package/behaviors/registry/ui/marketing/organisms/ui-step-flow-organism.orb +0 -505
  160. package/behaviors/registry/ui/marketing/organisms/ui-team-organism.orb +0 -494
  161. package/behaviors/registry/ui/marketing/templates/ui-about-page-template.orb +0 -752
  162. package/behaviors/registry/ui/marketing/templates/ui-feature-detail-page-template.orb +0 -638
  163. package/behaviors/registry/ui/marketing/templates/ui-landing-page-template.orb +0 -1028
  164. package/behaviors/registry/ui/marketing/templates/ui-pricing-page-template.orb +0 -603
  165. /package/behaviors/lolo/ui/{marketing → core}/atoms/ui-animated-graphic.lolo +0 -0
  166. /package/behaviors/lolo/ui/{marketing → core}/atoms/ui-animated-reveal.lolo +0 -0
  167. /package/behaviors/lolo/ui/{marketing → core}/atoms/ui-pattern-tile.lolo +0 -0
  168. /package/behaviors/lolo/ui/{marketing/atoms → core/molecules}/ui-feature-card.lolo +0 -0
  169. /package/behaviors/lolo/ui/{marketing/atoms → core/molecules}/ui-geometric-pattern.lolo +0 -0
  170. /package/behaviors/lolo/ui/{marketing → core}/templates/ui-auth-layout.lolo +0 -0
@@ -0,0 +1,530 @@
1
+ {
2
+ "description": "std-site-header — the sticky top bar of a public website: brand (logo + name), navigation links with the current page marked, and an optional call-to-action button. On small screens the links fold into a menu opened by a toggle. 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
+ "ledger": {
4
+ "entries": {
5
+ "ent_01M3B9EHRNR3JQPJSD36PH5QV8": {
6
+ "bakedName": "SiteHeaderView",
7
+ "curName": "SiteHeaderView",
8
+ "id": "ent_01M3B9EHRNR3JQPJSD36PH5QV8",
9
+ "kind": "entity",
10
+ "owner": "workspace",
11
+ "renames": []
12
+ },
13
+ "evt_01M3B9EHRN2FS91GX1P63Y9HRV": {
14
+ "bakedName": "INIT",
15
+ "curName": "INIT",
16
+ "id": "evt_01M3B9EHRN2FS91GX1P63Y9HRV",
17
+ "kind": "event",
18
+ "owner": "workspace",
19
+ "parent": "trt_01M3B9EHRNJ40F0K1EDRJN2X0H",
20
+ "renames": []
21
+ },
22
+ "evt_01M3B9EHRN59ANSWM8VVE2BPDM": {
23
+ "bakedName": "NAV_CLICKED",
24
+ "curName": "NAV_CLICKED",
25
+ "id": "evt_01M3B9EHRN59ANSWM8VVE2BPDM",
26
+ "kind": "event",
27
+ "owner": "workspace",
28
+ "parent": "trt_01M3B9EHRNJ40F0K1EDRJN2X0H",
29
+ "renames": []
30
+ },
31
+ "evt_01M3B9EHRNS7CQG2J4SRCQPJNV": {
32
+ "bakedName": "MENU_TOGGLE",
33
+ "curName": "MENU_TOGGLE",
34
+ "id": "evt_01M3B9EHRNS7CQG2J4SRCQPJNV",
35
+ "kind": "event",
36
+ "owner": "workspace",
37
+ "parent": "trt_01M3B9EHRNJ40F0K1EDRJN2X0H",
38
+ "renames": []
39
+ },
40
+ "evt_01M3B9EHRNW2S9ZFCCVXC2TK2K": {
41
+ "bakedName": "NAV_LINK",
42
+ "curName": "NAV_LINK",
43
+ "id": "evt_01M3B9EHRNW2S9ZFCCVXC2TK2K",
44
+ "kind": "event",
45
+ "owner": "workspace",
46
+ "parent": "trt_01M3B9EHRNJ40F0K1EDRJN2X0H",
47
+ "renames": []
48
+ },
49
+ "orb_01M3B9EHRNA3ZZE0AQPDDH12RF": {
50
+ "bakedName": "SiteHeaderOrbital",
51
+ "curName": "SiteHeaderOrbital",
52
+ "id": "orb_01M3B9EHRNA3ZZE0AQPDDH12RF",
53
+ "kind": "orbital",
54
+ "owner": "workspace",
55
+ "renames": []
56
+ },
57
+ "pag_01M3B9EHRNH24TA5C22SN781S4": {
58
+ "bakedName": "SiteHeaderPage",
59
+ "curName": "SiteHeaderPage",
60
+ "id": "pag_01M3B9EHRNH24TA5C22SN781S4",
61
+ "kind": "page",
62
+ "owner": "workspace",
63
+ "renames": []
64
+ },
65
+ "trt_01M3B9EHRNJ40F0K1EDRJN2X0H": {
66
+ "bakedName": "SiteHeaderRender",
67
+ "curName": "SiteHeaderRender",
68
+ "id": "trt_01M3B9EHRNJ40F0K1EDRJN2X0H",
69
+ "kind": "trait",
70
+ "owner": "workspace",
71
+ "renames": []
72
+ }
73
+ },
74
+ "schemaVersion": 1
75
+ },
76
+ "name": "std-site-header",
77
+ "orbitals": [
78
+ {
79
+ "entity": {
80
+ "fields": [
81
+ {
82
+ "name": "id",
83
+ "required": true,
84
+ "type": "string"
85
+ },
86
+ {
87
+ "default": false,
88
+ "name": "menuOpen",
89
+ "type": "boolean"
90
+ }
91
+ ],
92
+ "id": "ent_01M3B9EHRNR3JQPJSD36PH5QV8",
93
+ "name": "SiteHeaderView",
94
+ "persistence": "runtime"
95
+ },
96
+ "id": "orb_01M3B9EHRNA3ZZE0AQPDDH12RF",
97
+ "name": "SiteHeaderOrbital",
98
+ "pages": [
99
+ {
100
+ "id": "pag_01M3B9EHRNH24TA5C22SN781S4",
101
+ "name": "SiteHeaderPage",
102
+ "path": "/site-header",
103
+ "traits": [
104
+ {
105
+ "ref": "SiteHeaderRender",
106
+ "refId": "trt_01M3B9EHRNJ40F0K1EDRJN2X0H"
107
+ }
108
+ ]
109
+ }
110
+ ],
111
+ "traits": [
112
+ {
113
+ "category": "interaction",
114
+ "config": {
115
+ "actionHref": {
116
+ "default": "",
117
+ "label": "Header action link",
118
+ "tier": "presentation",
119
+ "type": "string"
120
+ },
121
+ "actionLabel": {
122
+ "default": "",
123
+ "description": "Call-to-action button at the right; empty hides it",
124
+ "label": "Header action label",
125
+ "synonyms": "cta, sign up button, get started",
126
+ "tier": "presentation",
127
+ "type": "string"
128
+ },
129
+ "brandName": {
130
+ "default": "Almadar",
131
+ "label": "Brand name",
132
+ "synonyms": "site name, company, logo text",
133
+ "tier": "presentation",
134
+ "type": "string"
135
+ },
136
+ "currentPath": {
137
+ "default": "/",
138
+ "description": "Marks the matching link as active",
139
+ "label": "Current page path",
140
+ "tier": "presentation",
141
+ "type": "string"
142
+ },
143
+ "headerContent": {
144
+ "default": {
145
+ "children": [
146
+ {
147
+ "actions": {
148
+ "action": "NAV_LINK",
149
+ "actionPayload": {
150
+ "href": "@config.actionHref",
151
+ "label": "@config.actionLabel"
152
+ },
153
+ "className": [
154
+ "if",
155
+ [
156
+ "==",
157
+ "@config.actionLabel",
158
+ ""
159
+ ],
160
+ "hidden",
161
+ ""
162
+ ],
163
+ "href": "@config.actionHref",
164
+ "label": "@config.actionLabel",
165
+ "size": "sm",
166
+ "type": "button",
167
+ "variant": "primary"
168
+ },
169
+ "brandName": "@config.brandName",
170
+ "className": "hidden md:flex",
171
+ "logoSrc": "@config.logoSrc",
172
+ "navigationItems": [
173
+ "array/map",
174
+ "@config.links",
175
+ [
176
+ "fn",
177
+ "entry",
178
+ {
179
+ "active": [
180
+ "==",
181
+ [
182
+ "object/get",
183
+ "@entry",
184
+ "href",
185
+ ""
186
+ ],
187
+ "@config.currentPath"
188
+ ],
189
+ "href": [
190
+ "object/get",
191
+ "@entry",
192
+ "href",
193
+ ""
194
+ ],
195
+ "label": [
196
+ "object/get",
197
+ "@entry",
198
+ "label",
199
+ ""
200
+ ]
201
+ }
202
+ ]
203
+ ],
204
+ "showMenuToggle": false,
205
+ "sticky": false,
206
+ "type": "header",
207
+ "variant": "desktop"
208
+ },
209
+ {
210
+ "brandName": "@config.brandName",
211
+ "className": "md:hidden",
212
+ "isMenuOpen": "@entity.menuOpen",
213
+ "logoSrc": "@config.logoSrc",
214
+ "onMenuToggle": "MENU_TOGGLE",
215
+ "showMenuToggle": true,
216
+ "sticky": false,
217
+ "type": "header",
218
+ "variant": "mobile"
219
+ },
220
+ {
221
+ "align": "stretch",
222
+ "children": [
223
+ "array/map",
224
+ "@config.links",
225
+ [
226
+ "fn",
227
+ "entry",
228
+ {
229
+ "action": "NAV_LINK",
230
+ "actionPayload": {
231
+ "href": [
232
+ "object/get",
233
+ "@entry",
234
+ "href",
235
+ ""
236
+ ],
237
+ "label": [
238
+ "object/get",
239
+ "@entry",
240
+ "label",
241
+ ""
242
+ ]
243
+ },
244
+ "className": "justify-start",
245
+ "href": [
246
+ "object/get",
247
+ "@entry",
248
+ "href",
249
+ ""
250
+ ],
251
+ "label": [
252
+ "object/get",
253
+ "@entry",
254
+ "label",
255
+ ""
256
+ ],
257
+ "type": "button",
258
+ "variant": [
259
+ "if",
260
+ [
261
+ "==",
262
+ [
263
+ "object/get",
264
+ "@entry",
265
+ "href",
266
+ ""
267
+ ],
268
+ "@config.currentPath"
269
+ ],
270
+ "secondary",
271
+ "ghost"
272
+ ]
273
+ }
274
+ ]
275
+ ],
276
+ "className": [
277
+ "if",
278
+ "@entity.menuOpen",
279
+ "md:hidden border-b border-border bg-card px-4 py-3",
280
+ "hidden"
281
+ ],
282
+ "direction": "vertical",
283
+ "gap": "xs",
284
+ "type": "stack"
285
+ }
286
+ ],
287
+ "className": "sticky top-0 z-50",
288
+ "direction": "vertical",
289
+ "gap": "none",
290
+ "type": "stack"
291
+ },
292
+ "label": "Header body",
293
+ "tier": "internal",
294
+ "type": "render-ui"
295
+ },
296
+ "links": {
297
+ "default": [
298
+ {
299
+ "href": "/features",
300
+ "label": "Features"
301
+ },
302
+ {
303
+ "href": "/pricing",
304
+ "label": "Pricing"
305
+ },
306
+ {
307
+ "href": "/about",
308
+ "label": "About"
309
+ }
310
+ ],
311
+ "items": {
312
+ "properties": {
313
+ "href": {
314
+ "name": "href",
315
+ "required": true,
316
+ "type": "string"
317
+ },
318
+ "label": {
319
+ "name": "label",
320
+ "required": true,
321
+ "type": "string"
322
+ }
323
+ },
324
+ "type": "object"
325
+ },
326
+ "label": "Navigation links",
327
+ "synonyms": "menu, nav items, top navigation",
328
+ "tier": "presentation",
329
+ "type": "[SiteNavLink]"
330
+ },
331
+ "logoSrc": {
332
+ "default": "",
333
+ "description": "Logo URL; empty shows the name only",
334
+ "label": "Logo image",
335
+ "tier": "presentation",
336
+ "type": "string"
337
+ }
338
+ },
339
+ "effectRow": [
340
+ {
341
+ "kind": "emit",
342
+ "resource": "NAV_CLICKED"
343
+ },
344
+ {
345
+ "kind": "render-ui",
346
+ "resource": "main"
347
+ },
348
+ {
349
+ "kind": "set",
350
+ "resource": "@entity.menuOpen"
351
+ }
352
+ ],
353
+ "emits": [
354
+ {
355
+ "description": "A navigation link or the header action was clicked; carries its href and label.",
356
+ "event": "NAV_CLICKED",
357
+ "eventId": "evt_01M3B9EHRN59ANSWM8VVE2BPDM",
358
+ "payloadSchema": [
359
+ {
360
+ "name": "href",
361
+ "type": "string"
362
+ },
363
+ {
364
+ "name": "label",
365
+ "type": "string"
366
+ }
367
+ ],
368
+ "scope": "external",
369
+ "synonyms": "menu click, nav click, header link",
370
+ "tier": "domain"
371
+ }
372
+ ],
373
+ "entityContract": {
374
+ "provides": [
375
+ "menuOpen"
376
+ ],
377
+ "requires": []
378
+ },
379
+ "entityRebindable": true,
380
+ "entityRefIds": {
381
+ "SiteHeaderView": "ent_01M3B9EHRNR3JQPJSD36PH5QV8"
382
+ },
383
+ "id": "trt_01M3B9EHRNJ40F0K1EDRJN2X0H",
384
+ "linkedEntity": "SiteHeaderView",
385
+ "linkedEntityId": "ent_01M3B9EHRNR3JQPJSD36PH5QV8",
386
+ "name": "SiteHeaderRender",
387
+ "scope": "instance",
388
+ "stateMachine": {
389
+ "events": [
390
+ {
391
+ "id": "evt_01M3B9EHRN2FS91GX1P63Y9HRV",
392
+ "key": "INIT",
393
+ "name": "Initialize"
394
+ },
395
+ {
396
+ "id": "evt_01M3B9EHRNS7CQG2J4SRCQPJNV",
397
+ "key": "MENU_TOGGLE",
398
+ "name": "Menu Toggle"
399
+ },
400
+ {
401
+ "description": "Navigation link click.",
402
+ "id": "evt_01M3B9EHRNW2S9ZFCCVXC2TK2K",
403
+ "key": "NAV_LINK",
404
+ "name": "Nav Link",
405
+ "payloadSchema": [
406
+ {
407
+ "name": "href",
408
+ "type": "string"
409
+ },
410
+ {
411
+ "name": "label",
412
+ "type": "string"
413
+ }
414
+ ],
415
+ "tier": "internal"
416
+ },
417
+ {
418
+ "description": "A navigation link or the header action was clicked; carries its href and label.",
419
+ "id": "evt_01M3B9EHRN59ANSWM8VVE2BPDM",
420
+ "key": "NAV_CLICKED",
421
+ "name": "Nav Clicked",
422
+ "payloadSchema": [
423
+ {
424
+ "name": "href",
425
+ "type": "string"
426
+ },
427
+ {
428
+ "name": "label",
429
+ "type": "string"
430
+ }
431
+ ],
432
+ "synonyms": "menu click, nav click, header link",
433
+ "tier": "domain"
434
+ }
435
+ ],
436
+ "states": [
437
+ {
438
+ "isInitial": true,
439
+ "name": "idle"
440
+ }
441
+ ],
442
+ "transitions": [
443
+ {
444
+ "effects": [
445
+ [
446
+ "set",
447
+ "@entity.menuOpen",
448
+ false
449
+ ],
450
+ [
451
+ "render-ui",
452
+ "main",
453
+ "@config.headerContent"
454
+ ]
455
+ ],
456
+ "event": "INIT",
457
+ "eventId": "evt_01M3B9EHRN2FS91GX1P63Y9HRV",
458
+ "from": "idle",
459
+ "to": "idle"
460
+ },
461
+ {
462
+ "effects": [
463
+ [
464
+ "set",
465
+ "@entity.menuOpen",
466
+ [
467
+ "not",
468
+ "@entity.menuOpen"
469
+ ]
470
+ ],
471
+ [
472
+ "render-ui",
473
+ "main",
474
+ "@config.headerContent"
475
+ ]
476
+ ],
477
+ "event": "MENU_TOGGLE",
478
+ "eventId": "evt_01M3B9EHRNS7CQG2J4SRCQPJNV",
479
+ "from": "idle",
480
+ "to": "idle"
481
+ },
482
+ {
483
+ "effects": [
484
+ [
485
+ "set",
486
+ "@entity.menuOpen",
487
+ false
488
+ ],
489
+ [
490
+ "render-ui",
491
+ "main",
492
+ "@config.headerContent"
493
+ ],
494
+ [
495
+ "emit",
496
+ "NAV_CLICKED",
497
+ {
498
+ "href": "@payload.href",
499
+ "label": "@payload.label"
500
+ }
501
+ ]
502
+ ],
503
+ "event": "NAV_LINK",
504
+ "eventId": "evt_01M3B9EHRNW2S9ZFCCVXC2TK2K",
505
+ "from": "idle",
506
+ "to": "idle"
507
+ }
508
+ ]
509
+ }
510
+ }
511
+ ],
512
+ "types": {
513
+ "SiteNavLink": [
514
+ {
515
+ "name": "label",
516
+ "required": true,
517
+ "type": "string"
518
+ },
519
+ {
520
+ "name": "href",
521
+ "required": true,
522
+ "type": "string"
523
+ }
524
+ ]
525
+ }
526
+ }
527
+ ],
528
+ "schemaVersion": 1,
529
+ "version": "1.0.0"
530
+ }