@almadar/std 16.228.0 → 16.229.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
@@ -1,68 +0,0 @@
1
- app ui-cta-banner "1.0.0"
2
- "CtaBanner — UI factory (1:1 with the @almadar/ui cta-banner pattern)."
3
- ;; @pattern "cta-banner"
4
- orbital CtaBannerOrbital {
5
- type CtaBannerPrimaryAction = {
6
- label : string!
7
- href : string!
8
- }
9
- type CtaBannerSecondaryAction = {
10
- label : string!
11
- href : string!
12
- }
13
-
14
- entity CtaBannerItem [runtime] {
15
- id : string!
16
- }
17
-
18
- trait CtaBannerRender -> @rebindable CtaBannerItem [interaction, instance] {
19
- initial: idle
20
-
21
- state idle {
22
- INIT -> idle
23
- (render-ui main {
24
- title: @config.title
25
- subtitle: @config.subtitle
26
- primaryAction: @config.primaryAction
27
- secondaryAction: @config.secondaryAction
28
- background: @config.background
29
- align: @config.align
30
- className: @config.className
31
- type: cta-banner
32
- })
33
- }
34
-
35
- config {
36
- title : string = ""
37
- @label "Title"
38
- @description "Banner headline"
39
- @tier "presentation"
40
- subtitle : string
41
- @label "Subtitle"
42
- @description "Supporting text below the title"
43
- @tier "presentation"
44
- primaryAction : CtaBannerPrimaryAction
45
- @label "Primary Action"
46
- @description "Primary action button config"
47
- @tier "presentation"
48
- secondaryAction : CtaBannerSecondaryAction
49
- @label "Secondary Action"
50
- @description "Secondary action button config"
51
- @tier "presentation"
52
- background : "default" | "alt" | "dark" | "gradient" | "primary" = alt
53
- @label "Background"
54
- @description "Background style"
55
- @tier "presentation"
56
- align : "center" | "left" = center
57
- @label "Align"
58
- @description "Content alignment"
59
- @tier "presentation"
60
- className : string
61
- @label "Class Name"
62
- @description "Additional class names"
63
- @tier "presentation"
64
- }
65
- }
66
-
67
- page "/cta-banner" as CtaBannerPage -> CtaBannerRender
68
- }
@@ -1,112 +0,0 @@
1
- app ui-hero-section "1.0.0"
2
- "HeroSection — UI factory (1:1 with the @almadar/ui hero-section pattern)."
3
- ;; @pattern "hero-section"
4
- orbital HeroSectionOrbital {
5
- type HeroSectionPrimaryAction = {
6
- label : string!
7
- href : string!
8
- }
9
- type HeroSectionSecondaryAction = {
10
- label : string!
11
- href : string!
12
- }
13
- type HeroSectionImage = {
14
- src : asset!
15
- alt : string!
16
- }
17
-
18
- entity HeroSectionItem [runtime] {
19
- id : string!
20
- }
21
-
22
- trait HeroSectionRender -> @rebindable HeroSectionItem [interaction, instance] {
23
- initial: idle
24
-
25
- state idle {
26
- INIT -> idle
27
- (render-ui main {
28
- tag: @config.tag
29
- tagVariant: @config.tagVariant
30
- title: @config.title
31
- titleAccent: @config.titleAccent
32
- subtitle: @config.subtitle
33
- primaryAction: @config.primaryAction
34
- secondaryAction: @config.secondaryAction
35
- installCommand: @config.installCommand
36
- image: @config.image
37
- imagePosition: @config.imagePosition
38
- background: @config.background
39
- align: @config.align
40
- backgroundElement: @config.backgroundElement
41
- children: @config.children
42
- className: @config.className
43
- type: hero-section
44
- })
45
- }
46
-
47
- config {
48
- tag : string
49
- @label "Tag"
50
- @description "tag prop"
51
- @tier "presentation"
52
- tagVariant : "primary" | "secondary" | "accent" = primary
53
- @label "Tag Variant"
54
- @description "tagVariant prop"
55
- @tier "presentation"
56
- title : string = ""
57
- @label "Title"
58
- @description "title prop"
59
- @tier "presentation"
60
- titleAccent : string
61
- @label "Title Accent"
62
- @description "titleAccent prop"
63
- @tier "presentation"
64
- subtitle : string = ""
65
- @label "Subtitle"
66
- @description "subtitle prop"
67
- @tier "presentation"
68
- primaryAction : HeroSectionPrimaryAction
69
- @label "Primary Action"
70
- @description "primaryAction prop"
71
- @tier "presentation"
72
- secondaryAction : HeroSectionSecondaryAction
73
- @label "Secondary Action"
74
- @description "secondaryAction prop"
75
- @tier "presentation"
76
- installCommand : string
77
- @label "Install Command"
78
- @description "installCommand prop"
79
- @tier "presentation"
80
- image : HeroSectionImage
81
- @label "Image"
82
- @description "image prop"
83
- @tier "presentation"
84
- imagePosition : "below" | "right" | "background" = below
85
- @label "Image Position"
86
- @description "imagePosition prop"
87
- @tier "presentation"
88
- background : "dark" | "gradient" | "subtle" = subtle
89
- @label "Background"
90
- @description "background prop"
91
- @tier "presentation"
92
- align : "center" | "left" = center
93
- @label "Align"
94
- @description "align prop"
95
- @tier "presentation"
96
- backgroundElement : node
97
- @label "Background Element"
98
- @description "Background element (SVG animation, etc.) rendered behind hero content"
99
- @tier "presentation"
100
- children : node
101
- @label "Children"
102
- @description "children prop"
103
- @tier "presentation"
104
- className : string
105
- @label "Class Name"
106
- @description "className prop"
107
- @tier "presentation"
108
- }
109
- }
110
-
111
- page "/hero-section" as HeroSectionPage -> HeroSectionRender
112
- }
@@ -1,39 +0,0 @@
1
- app ui-install-box "1.0.0"
2
- "InstallBox — UI factory (1:1 with the @almadar/ui install-box pattern)."
3
- ;; @pattern "install-box"
4
- orbital InstallBoxOrbital {
5
- entity InstallBoxItem [runtime] {
6
- id : string!
7
- }
8
-
9
- trait InstallBoxRender -> @rebindable InstallBoxItem [interaction, instance] {
10
- initial: idle
11
-
12
- state idle {
13
- INIT -> idle
14
- (render-ui main {
15
- command: @config.command
16
- label: @config.label
17
- className: @config.className
18
- type: install-box
19
- })
20
- }
21
-
22
- config {
23
- command : string = ""
24
- @label "Command"
25
- @description "The command to display and copy"
26
- @tier "presentation"
27
- label : string
28
- @label "Label"
29
- @description "Optional label above the command"
30
- @tier "presentation"
31
- className : string
32
- @label "Class Name"
33
- @description "Additional class names"
34
- @tier "presentation"
35
- }
36
- }
37
-
38
- page "/install-box" as InstallBoxPage -> InstallBoxRender
39
- }
@@ -1,58 +0,0 @@
1
- app ui-marketing-footer "1.0.0"
2
- "MarketingFooter — UI factory (1:1 with the @almadar/ui marketing-footer pattern)."
3
- ;; @pattern "marketing-footer"
4
- orbital MarketingFooterOrbital {
5
- type MarketingFooterColumnsItem = {
6
- title : string!
7
- items : [MarketingFooterColumnsItemItemsItem]!
8
- }
9
- type MarketingFooterColumnsItemItemsItem = {
10
- label : string!
11
- href : string!
12
- }
13
- type MarketingFooterLogo = {
14
- src : asset!
15
- alt : string!
16
- href : string
17
- }
18
-
19
- entity MarketingFooterItem [runtime] {
20
- id : string!
21
- }
22
-
23
- trait MarketingFooterRender -> @rebindable MarketingFooterItem [interaction, instance] {
24
- initial: idle
25
-
26
- state idle {
27
- INIT -> idle
28
- (render-ui main {
29
- columns: @config.columns
30
- copyright: @config.copyright
31
- logo: @config.logo
32
- className: @config.className
33
- type: marketing-footer
34
- })
35
- }
36
-
37
- config {
38
- columns : [MarketingFooterColumnsItem] = [{ title: "Title", items: [{ label: "Label", href: "Href" }, { label: "Label 2", href: "Href 2" }] }, { title: "Title 2", items: [{ label: "Label", href: "Href" }, { label: "Label 2", href: "Href 2" }] }]
39
- @label "Columns"
40
- @description "columns prop"
41
- @tier "presentation"
42
- copyright : string
43
- @label "Copyright"
44
- @description "copyright prop"
45
- @tier "presentation"
46
- logo : MarketingFooterLogo
47
- @label "Logo"
48
- @description "logo prop"
49
- @tier "presentation"
50
- className : string
51
- @label "Class Name"
52
- @description "className prop"
53
- @tier "presentation"
54
- }
55
- }
56
-
57
- page "/marketing-footer" as MarketingFooterPage -> MarketingFooterRender
58
- }
@@ -1,45 +0,0 @@
1
- app ui-marketing-stat-card "1.0.0"
2
- "MarketingStatCard — a single number-highlight card pairing a large value with a label and trend delta. — UI factory (1:1 with the @almadar/ui marketing-stat-card pattern)."
3
- ;; @capabilities "KPI card, metric tile, dashboard stat card, number card, big-number widget, stat highlight, key metric callout"
4
- ;; @pattern "marketing-stat-card"
5
- orbital MarketingStatCardOrbital {
6
- entity MarketingStatCardItem [runtime] {
7
- id : string!
8
- }
9
-
10
- trait MarketingStatCardRender -> @rebindable MarketingStatCardItem [interaction, instance] {
11
- initial: idle
12
-
13
- state idle {
14
- INIT -> idle
15
- (render-ui main {
16
- value: @config.value
17
- label: @config.label
18
- size: @config.size
19
- className: @config.className
20
- type: marketing-stat-card
21
- })
22
- }
23
-
24
- config {
25
- value : string = ""
26
- @label "Value"
27
- @description "The stat value to display prominently"
28
- @tier "presentation"
29
- label : string = ""
30
- @label "Label"
31
- @description "Label describing the value"
32
- @tier "presentation"
33
- size : "sm" | "md" | "lg" = md
34
- @label "Size"
35
- @description "Size of the value text"
36
- @tier "presentation"
37
- className : string
38
- @label "Class Name"
39
- @description "Additional class names"
40
- @tier "presentation"
41
- }
42
- }
43
-
44
- page "/marketing-stat-card" as MarketingStatCardPage -> MarketingStatCardRender
45
- }
@@ -1,70 +0,0 @@
1
- app ui-pricing-card "1.0.0"
2
- "PricingCard — a single pricing-tier card with price, billing period, feature list, and call-to-action. — UI factory (1:1 with the @almadar/ui pricing-card pattern)."
3
- ;; @capabilities "pricing tier, plan card, subscription tier, plan comparison card, price plan"
4
- ;; @pattern "pricing-card"
5
- orbital PricingCardOrbital {
6
- type PricingCardAction = {
7
- label : string!
8
- href : string!
9
- }
10
-
11
- entity PricingCardItem [runtime] {
12
- id : string!
13
- }
14
-
15
- trait PricingCardRender -> @rebindable PricingCardItem [interaction, instance] {
16
- initial: idle
17
-
18
- state idle {
19
- INIT -> idle
20
- (render-ui main {
21
- name: @config.name
22
- price: @config.price
23
- description: @config.description
24
- features: @config.features
25
- action: @config.action
26
- highlighted: @config.highlighted
27
- badge: @config.badge
28
- className: @config.className
29
- type: pricing-card
30
- })
31
- }
32
-
33
- config {
34
- name : string = ""
35
- @label "Name"
36
- @description "name prop"
37
- @tier "presentation"
38
- price : string = ""
39
- @label "Price"
40
- @description "price prop"
41
- @tier "presentation"
42
- description : string
43
- @label "Description"
44
- @description "description prop"
45
- @tier "presentation"
46
- features : [string] = ["Item", "Item 2"]
47
- @label "Features"
48
- @description "features prop"
49
- @tier "presentation"
50
- action : PricingCardAction = { label: "Label", href: "Href" }
51
- @label "Action"
52
- @description "action prop"
53
- @tier "presentation"
54
- highlighted : boolean = false
55
- @label "Highlighted"
56
- @description "highlighted prop"
57
- @tier "presentation"
58
- badge : string
59
- @label "Badge"
60
- @description "badge prop"
61
- @tier "presentation"
62
- className : string
63
- @label "Class Name"
64
- @description "className prop"
65
- @tier "presentation"
66
- }
67
- }
68
-
69
- page "/pricing-card" as PricingCardPage -> PricingCardRender
70
- }
@@ -1,49 +0,0 @@
1
- app ui-pricing-grid "1.0.0"
2
- "PricingGrid — UI factory (1:1 with the @almadar/ui pricing-grid pattern)."
3
- ;; @pattern "pricing-grid"
4
- orbital PricingGridOrbital {
5
- type PricingGridPlansItem = {
6
- name : string!
7
- price : string!
8
- description : string
9
- features : [string]!
10
- action : PricingGridPlansItemAction!
11
- highlighted : boolean
12
- badge : string
13
- className : string
14
- }
15
- type PricingGridPlansItemAction = {
16
- label : string!
17
- href : string!
18
- }
19
-
20
- entity PricingGridItem [runtime] {
21
- id : string!
22
- }
23
-
24
- trait PricingGridRender -> @rebindable PricingGridItem [interaction, instance] {
25
- initial: idle
26
-
27
- state idle {
28
- INIT -> idle
29
- (render-ui main {
30
- plans: @config.plans
31
- className: @config.className
32
- type: pricing-grid
33
- })
34
- }
35
-
36
- config {
37
- plans : [PricingGridPlansItem] = [{ name: "Name", price: "Price", description: "Description", features: ["Item", "Item 2"], action: { label: "Label", href: "Href" }, highlighted: false, badge: "Badge", className: "Class Name" }, { name: "Name 2", price: "Price 2", description: "Description 2", features: ["Item", "Item 2"], action: { label: "Label 2", href: "Href 2" }, highlighted: true, badge: "Badge 2", className: "Class Name 2" }]
38
- @label "Plans"
39
- @description "plans prop"
40
- @tier "presentation"
41
- className : string
42
- @label "Class Name"
43
- @description "className prop"
44
- @tier "presentation"
45
- }
46
- }
47
-
48
- page "/pricing-grid" as PricingGridPage -> PricingGridRender
49
- }
@@ -1,34 +0,0 @@
1
- app ui-pull-quote "1.0.0"
2
- "PullQuote — UI factory (1:1 with the @almadar/ui pull-quote pattern)."
3
- ;; @pattern "pull-quote"
4
- orbital PullQuoteOrbital {
5
- entity PullQuoteItem [runtime] {
6
- id : string!
7
- }
8
-
9
- trait PullQuoteRender -> @rebindable PullQuoteItem [interaction, instance] {
10
- initial: idle
11
-
12
- state idle {
13
- INIT -> idle
14
- (render-ui main {
15
- children: @config.children
16
- className: @config.className
17
- type: pull-quote
18
- })
19
- }
20
-
21
- config {
22
- children : string = ""
23
- @label "Children"
24
- @description "The quote text"
25
- @tier "presentation"
26
- className : string
27
- @label "Class Name"
28
- @description "Additional class names"
29
- @tier "presentation"
30
- }
31
- }
32
-
33
- page "/pull-quote" as PullQuotePage -> PullQuoteRender
34
- }
@@ -1,40 +0,0 @@
1
- app ui-service-catalog "1.0.0"
2
- "ServiceCatalog — UI factory (1:1 with the @almadar/ui service-catalog pattern)."
3
- ;; @pattern "service-catalog"
4
- orbital ServiceCatalogOrbital {
5
- type ServiceCatalogServicesItem = {
6
- name : string!
7
- layer : string!
8
- layerColor : string
9
- }
10
-
11
- entity ServiceCatalogItem [runtime] {
12
- id : string!
13
- }
14
-
15
- trait ServiceCatalogRender -> @rebindable ServiceCatalogItem [interaction, instance] {
16
- initial: idle
17
-
18
- state idle {
19
- INIT -> idle
20
- (render-ui main {
21
- services: @config.services
22
- className: @config.className
23
- type: service-catalog
24
- })
25
- }
26
-
27
- config {
28
- services : [ServiceCatalogServicesItem] = [{ name: "Name", layer: "Layer", layerColor: "Layer Color" }, { name: "Name 2", layer: "Layer 2", layerColor: "Layer Color 2" }]
29
- @label "Services"
30
- @description "List of services to display"
31
- @tier "presentation"
32
- className : string
33
- @label "Class Name"
34
- @description "Additional class names"
35
- @tier "presentation"
36
- }
37
- }
38
-
39
- page "/service-catalog" as ServiceCatalogPage -> ServiceCatalogRender
40
- }
@@ -1,64 +0,0 @@
1
- app ui-showcase-card "1.0.0"
2
- "ShowcaseCard — UI factory (1:1 with the @almadar/ui showcase-card pattern)."
3
- ;; @pattern "showcase-card"
4
- orbital ShowcaseCardOrbital {
5
- type ShowcaseCardImage = {
6
- src : asset!
7
- alt : string!
8
- }
9
-
10
- entity ShowcaseCardItem [runtime] {
11
- id : string!
12
- }
13
-
14
- trait ShowcaseCardRender -> @rebindable ShowcaseCardItem [interaction, instance] {
15
- initial: idle
16
-
17
- state idle {
18
- INIT -> idle
19
- (render-ui main {
20
- title: @config.title
21
- description: @config.description
22
- image: @config.image
23
- href: @config.href
24
- badge: @config.badge
25
- accentColor: @config.accentColor
26
- className: @config.className
27
- type: showcase-card
28
- })
29
- }
30
-
31
- config {
32
- title : string = ""
33
- @label "Title"
34
- @description "title prop"
35
- @tier "presentation"
36
- description : string
37
- @label "Description"
38
- @description "description prop"
39
- @tier "presentation"
40
- image : ShowcaseCardImage = { src: "https://almadar-kflow-assets.web.app/shared/ui-roguelike-board/default/units/player.png", alt: "Alt" }
41
- @label "Image"
42
- @description "image prop"
43
- @tier "presentation"
44
- href : string
45
- @label "Href"
46
- @description "href prop"
47
- @tier "presentation"
48
- badge : string
49
- @label "Badge"
50
- @description "badge prop"
51
- @tier "presentation"
52
- accentColor : string
53
- @label "Accent Color"
54
- @description "accentColor prop"
55
- @tier "presentation"
56
- className : string
57
- @label "Class Name"
58
- @description "className prop"
59
- @tier "presentation"
60
- }
61
- }
62
-
63
- page "/showcase-card" as ShowcaseCardPage -> ShowcaseCardRender
64
- }
@@ -1,69 +0,0 @@
1
- app ui-split-section "1.0.0"
2
- "SplitSection — UI factory (1:1 with the @almadar/ui split-section pattern)."
3
- ;; @pattern "split-section"
4
- orbital SplitSectionOrbital {
5
- type SplitSectionImage = {
6
- src : asset!
7
- alt : string!
8
- }
9
-
10
- entity SplitSectionItem [runtime] {
11
- id : string!
12
- }
13
-
14
- trait SplitSectionRender -> @rebindable SplitSectionItem [interaction, instance] {
15
- initial: idle
16
-
17
- state idle {
18
- INIT -> idle
19
- (render-ui main {
20
- title: @config.title
21
- description: @config.description
22
- bullets: @config.bullets
23
- image: @config.image
24
- imagePosition: @config.imagePosition
25
- background: @config.background
26
- children: @config.children
27
- className: @config.className
28
- type: split-section
29
- })
30
- }
31
-
32
- config {
33
- title : string = ""
34
- @label "Title"
35
- @description "title prop"
36
- @tier "presentation"
37
- description : node = []
38
- @label "Description"
39
- @description "description prop"
40
- @tier "presentation"
41
- bullets : [string] = []
42
- @label "Bullets"
43
- @description "bullets prop"
44
- @tier "presentation"
45
- image : SplitSectionImage
46
- @label "Image"
47
- @description "image prop"
48
- @tier "presentation"
49
- imagePosition : "left" | "right" = right
50
- @label "Image Position"
51
- @description "imagePosition prop"
52
- @tier "presentation"
53
- background : "default" | "alt" = default
54
- @label "Background"
55
- @description "background prop"
56
- @tier "presentation"
57
- children : node
58
- @label "Children"
59
- @description "children prop"
60
- @tier "presentation"
61
- className : string
62
- @label "Class Name"
63
- @description "className prop"
64
- @tier "presentation"
65
- }
66
- }
67
-
68
- page "/split-section" as SplitSectionPage -> SplitSectionRender
69
- }