@arkitektio/bsx 4.2.0 → 5.0.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 (307) hide show
  1. package/README.md +39 -18
  2. package/dist/bsx/parse.d.ts +13 -7
  3. package/dist/bsx/parse.d.ts.map +1 -1
  4. package/dist/bsx/parse.js +18 -57
  5. package/dist/bsx/parse.js.map +1 -1
  6. package/dist/bsx/print.d.ts.map +1 -1
  7. package/dist/bsx/print.js +22 -35
  8. package/dist/bsx/print.js.map +1 -1
  9. package/dist/bsx/references.d.ts +5 -5
  10. package/dist/bsx/references.d.ts.map +1 -1
  11. package/dist/bsx/references.js +124 -30
  12. package/dist/bsx/references.js.map +1 -1
  13. package/dist/catalogs/html.d.ts +1 -1
  14. package/dist/catalogs/html.d.ts.map +1 -1
  15. package/dist/catalogs/html.js +3 -3
  16. package/dist/catalogs/html.js.map +1 -1
  17. package/dist/catalogs/index.d.ts +209 -139
  18. package/dist/catalogs/index.d.ts.map +1 -1
  19. package/dist/catalogs/index.js +6 -2
  20. package/dist/catalogs/index.js.map +1 -1
  21. package/dist/catalogs/logo.d.ts +5 -5
  22. package/dist/catalogs/logo.d.ts.map +1 -1
  23. package/dist/catalogs/logo.js +3 -3
  24. package/dist/catalogs/logo.js.map +1 -1
  25. package/dist/catalogs/parts/data.d.ts +6 -6
  26. package/dist/catalogs/parts/feedback.d.ts +15 -15
  27. package/dist/catalogs/parts/forms.d.ts +55 -27
  28. package/dist/catalogs/parts/forms.d.ts.map +1 -1
  29. package/dist/catalogs/parts/forms.js +32 -0
  30. package/dist/catalogs/parts/forms.js.map +1 -1
  31. package/dist/catalogs/parts/html.d.ts +1 -1
  32. package/dist/catalogs/parts/html.d.ts.map +1 -1
  33. package/dist/catalogs/parts/html.js +1 -1
  34. package/dist/catalogs/parts/html.js.map +1 -1
  35. package/dist/catalogs/parts/icons.d.ts +11 -11
  36. package/dist/catalogs/parts/icons.js +1 -1
  37. package/dist/catalogs/parts/index.d.ts +183 -137
  38. package/dist/catalogs/parts/index.d.ts.map +1 -1
  39. package/dist/catalogs/parts/layout.d.ts +11 -1
  40. package/dist/catalogs/parts/layout.d.ts.map +1 -1
  41. package/dist/catalogs/parts/layout.js +9 -0
  42. package/dist/catalogs/parts/layout.js.map +1 -1
  43. package/dist/catalogs/parts/logo.d.ts +8 -8
  44. package/dist/catalogs/parts/logo.d.ts.map +1 -1
  45. package/dist/catalogs/parts/logo.js +2 -2
  46. package/dist/catalogs/parts/logo.js.map +1 -1
  47. package/dist/catalogs/parts/navigation.d.ts +20 -20
  48. package/dist/catalogs/parts/overlays.d.ts +55 -55
  49. package/dist/catalogs/parts/run.d.ts +13 -5
  50. package/dist/catalogs/parts/run.d.ts.map +1 -1
  51. package/dist/catalogs/parts/run.js +1 -1
  52. package/dist/catalogs/parts/scene.d.ts +12 -4
  53. package/dist/catalogs/parts/scene.d.ts.map +1 -1
  54. package/dist/catalogs/parts/scene.js +4 -0
  55. package/dist/catalogs/parts/scene.js.map +1 -1
  56. package/dist/catalogs/parts/structure.js +2 -2
  57. package/dist/catalogs/parts/toast.js +1 -1
  58. package/dist/catalogs/parts/toast.js.map +1 -1
  59. package/dist/catalogs/parts/typography.js +1 -1
  60. package/dist/catalogs/parts/typography.js.map +1 -1
  61. package/dist/catalogs/props.d.ts +3 -3
  62. package/dist/catalogs/scene.d.ts +13 -5
  63. package/dist/catalogs/scene.d.ts.map +1 -1
  64. package/dist/catalogs/scene.js +3 -3
  65. package/dist/catalogs/scene.js.map +1 -1
  66. package/dist/catalogs/shadcn.d.ts +106 -58
  67. package/dist/catalogs/shadcn.d.ts.map +1 -1
  68. package/dist/catalogs/shadcn.js +6 -4
  69. package/dist/catalogs/shadcn.js.map +1 -1
  70. package/dist/catalogs/structure.d.ts +1 -1
  71. package/dist/catalogs/structure.d.ts.map +1 -1
  72. package/dist/catalogs/structure.js +3 -3
  73. package/dist/catalogs/structure.js.map +1 -1
  74. package/dist/catalogs/ui.d.ts +83 -73
  75. package/dist/catalogs/ui.d.ts.map +1 -1
  76. package/dist/catalogs/ui.js +4 -3
  77. package/dist/catalogs/ui.js.map +1 -1
  78. package/dist/catalogs.d.ts +1 -1
  79. package/dist/catalogs.d.ts.map +1 -1
  80. package/dist/catalogs.js +2 -2
  81. package/dist/catalogs.js.map +1 -1
  82. package/dist/ports.js +1 -1
  83. package/dist/ports.js.map +1 -1
  84. package/dist/renderer/BlokRenderer.d.ts +4 -1
  85. package/dist/renderer/BlokRenderer.d.ts.map +1 -1
  86. package/dist/renderer/BlokRenderer.js +5 -1
  87. package/dist/renderer/BlokRenderer.js.map +1 -1
  88. package/dist/renderer/baseCatalog.d.ts +8 -6
  89. package/dist/renderer/baseCatalog.d.ts.map +1 -1
  90. package/dist/renderer/baseCatalog.js +7 -5
  91. package/dist/renderer/baseCatalog.js.map +1 -1
  92. package/dist/renderer/bloks/control.d.ts +14 -0
  93. package/dist/renderer/bloks/control.d.ts.map +1 -1
  94. package/dist/renderer/bloks/control.js +105 -6
  95. package/dist/renderer/bloks/control.js.map +1 -1
  96. package/dist/renderer/bloks/data.d.ts +6 -6
  97. package/dist/renderer/bloks/feedback.d.ts +15 -15
  98. package/dist/renderer/bloks/forms.d.ts +51 -27
  99. package/dist/renderer/bloks/forms.d.ts.map +1 -1
  100. package/dist/renderer/bloks/forms.js +56 -0
  101. package/dist/renderer/bloks/forms.js.map +1 -1
  102. package/dist/renderer/bloks/html.js +2 -2
  103. package/dist/renderer/bloks/icons.d.ts +5 -5
  104. package/dist/renderer/bloks/index.d.ts +166 -134
  105. package/dist/renderer/bloks/index.d.ts.map +1 -1
  106. package/dist/renderer/bloks/index.js +1 -1
  107. package/dist/renderer/bloks/layout.d.ts +9 -1
  108. package/dist/renderer/bloks/layout.d.ts.map +1 -1
  109. package/dist/renderer/bloks/layout.js +15 -0
  110. package/dist/renderer/bloks/layout.js.map +1 -1
  111. package/dist/renderer/bloks/logo/index.d.ts +5 -5
  112. package/dist/renderer/bloks/logo/index.d.ts.map +1 -1
  113. package/dist/renderer/bloks/logo/index.js +2 -2
  114. package/dist/renderer/bloks/logo/index.js.map +1 -1
  115. package/dist/renderer/bloks/navigation.d.ts +20 -20
  116. package/dist/renderer/bloks/overlays.d.ts +55 -55
  117. package/dist/renderer/bloks/run/components.d.ts +6 -2
  118. package/dist/renderer/bloks/run/components.d.ts.map +1 -1
  119. package/dist/renderer/bloks/run/components.js +1 -1
  120. package/dist/renderer/bloks/run/host.d.ts +32 -3
  121. package/dist/renderer/bloks/run/host.d.ts.map +1 -1
  122. package/dist/renderer/bloks/run/host.js.map +1 -1
  123. package/dist/renderer/bloks/scene/index.d.ts +6 -2
  124. package/dist/renderer/bloks/scene/index.d.ts.map +1 -1
  125. package/dist/renderer/bloks/toast.d.ts +1 -1
  126. package/dist/renderer/bloks/typography.js +1 -1
  127. package/dist/renderer/catalog.d.ts +4 -7
  128. package/dist/renderer/catalog.d.ts.map +1 -1
  129. package/dist/renderer/catalog.js +7 -31
  130. package/dist/renderer/catalog.js.map +1 -1
  131. package/dist/renderer/declare.d.ts +31 -19
  132. package/dist/renderer/declare.d.ts.map +1 -1
  133. package/dist/renderer/declare.js +44 -18
  134. package/dist/renderer/declare.js.map +1 -1
  135. package/dist/renderer/functions/v2/index.d.ts.map +1 -1
  136. package/dist/renderer/functions/v2/index.js +39 -0
  137. package/dist/renderer/functions/v2/index.js.map +1 -1
  138. package/dist/renderer/runtime/catalog.d.ts +27 -7
  139. package/dist/renderer/runtime/catalog.d.ts.map +1 -1
  140. package/dist/renderer/runtime/catalog.js +30 -3
  141. package/dist/renderer/runtime/catalog.js.map +1 -1
  142. package/dist/renderer/runtime/components.d.ts +7 -1
  143. package/dist/renderer/runtime/components.d.ts.map +1 -1
  144. package/dist/renderer/runtime/components.js +3 -0
  145. package/dist/renderer/runtime/components.js.map +1 -1
  146. package/dist/renderer/runtime/context.d.ts +2 -0
  147. package/dist/renderer/runtime/context.d.ts.map +1 -1
  148. package/dist/renderer/runtime/context.js +4 -0
  149. package/dist/renderer/runtime/context.js.map +1 -1
  150. package/dist/renderer/runtime/describe.d.ts +14 -4
  151. package/dist/renderer/runtime/describe.d.ts.map +1 -1
  152. package/dist/renderer/runtime/describe.js +3 -0
  153. package/dist/renderer/runtime/describe.js.map +1 -1
  154. package/dist/renderer/runtime/hooks.d.ts.map +1 -1
  155. package/dist/renderer/runtime/hooks.js +1 -0
  156. package/dist/renderer/runtime/hooks.js.map +1 -1
  157. package/dist/renderer/runtime/index.d.ts +1 -0
  158. package/dist/renderer/runtime/index.d.ts.map +1 -1
  159. package/dist/renderer/runtime/index.js +1 -0
  160. package/dist/renderer/runtime/index.js.map +1 -1
  161. package/dist/renderer/runtime/preflight.d.ts.map +1 -1
  162. package/dist/renderer/runtime/preflight.js +5 -2
  163. package/dist/renderer/runtime/preflight.js.map +1 -1
  164. package/dist/renderer/runtime/resolution.d.ts +2 -0
  165. package/dist/renderer/runtime/resolution.d.ts.map +1 -1
  166. package/dist/renderer/runtime/resolution.js +17 -1
  167. package/dist/renderer/runtime/resolution.js.map +1 -1
  168. package/dist/renderer/runtime/schemas.d.ts +5 -5
  169. package/dist/renderer/runtime/task.d.ts +25 -2
  170. package/dist/renderer/runtime/task.d.ts.map +1 -1
  171. package/dist/renderer/runtime/task.js +11 -2
  172. package/dist/renderer/runtime/task.js.map +1 -1
  173. package/dist/renderer/runtime/text.d.ts +28 -0
  174. package/dist/renderer/runtime/text.d.ts.map +1 -0
  175. package/dist/renderer/runtime/text.js +82 -0
  176. package/dist/renderer/runtime/text.js.map +1 -0
  177. package/dist/renderer/runtime/types.d.ts +7 -2
  178. package/dist/renderer/runtime/types.d.ts.map +1 -1
  179. package/dist/runtime.d.ts +0 -1
  180. package/dist/runtime.d.ts.map +1 -1
  181. package/dist/runtime.js +0 -1
  182. package/dist/runtime.js.map +1 -1
  183. package/dist/scene.d.ts +1 -1
  184. package/dist/scene.d.ts.map +1 -1
  185. package/dist/scene.js +2 -2
  186. package/dist/scene.js.map +1 -1
  187. package/dist/shadcn.d.ts +169 -137
  188. package/dist/shadcn.d.ts.map +1 -1
  189. package/dist/shadcn.js +8 -5
  190. package/dist/shadcn.js.map +1 -1
  191. package/dist/spec/bsx_v2.json +3080 -2372
  192. package/dist/spec/catalogs/base@3.json +13029 -0
  193. package/dist/spec/catalogs/base@3.json.js +13029 -0
  194. package/dist/spec/catalogs/orkestrator@1.json +489 -0
  195. package/dist/spec/catalogs/orkestrator@1.json.js +489 -0
  196. package/dist/spec/catalogs.d.ts +109 -46
  197. package/dist/spec/catalogs.d.ts.map +1 -1
  198. package/dist/spec/catalogs.js +241 -73
  199. package/dist/spec/catalogs.js.map +1 -1
  200. package/dist/spec/vocabulary.d.ts +21 -3
  201. package/dist/spec/vocabulary.d.ts.map +1 -1
  202. package/dist/spec/vocabulary.js +16 -2
  203. package/dist/spec/vocabulary.js.map +1 -1
  204. package/dist/spec/vocabulary.json +73 -27
  205. package/dist/spec/vocabulary.json.js +73 -27
  206. package/dist/vendor/core/ui/button-group.d.ts +1 -1
  207. package/dist/vendor/core/ui/button.d.ts +1 -1
  208. package/dist/vendor/core/ui/field.d.ts +1 -1
  209. package/package.json +1 -1
  210. package/src/bsx/infer.test.ts +18 -26
  211. package/src/bsx/language.test.ts +2 -2
  212. package/src/bsx/parse.ts +18 -62
  213. package/src/bsx/partial.test.ts +1 -1
  214. package/src/bsx/print.ts +24 -34
  215. package/src/bsx/references.test.ts +71 -10
  216. package/src/bsx/references.ts +114 -35
  217. package/src/catalogs/catalogs.test.ts +45 -14
  218. package/src/catalogs/html.ts +3 -3
  219. package/src/catalogs/index.ts +6 -2
  220. package/src/catalogs/logo.ts +3 -3
  221. package/src/catalogs/parts/forms.ts +32 -0
  222. package/src/catalogs/parts/html.ts +1 -1
  223. package/src/catalogs/parts/icons.ts +1 -1
  224. package/src/catalogs/parts/layout.ts +11 -0
  225. package/src/catalogs/parts/logo.ts +2 -2
  226. package/src/catalogs/parts/run.ts +1 -1
  227. package/src/catalogs/parts/scene.ts +6 -0
  228. package/src/catalogs/parts/structure.ts +2 -2
  229. package/src/catalogs/parts/toast.ts +1 -1
  230. package/src/catalogs/parts/typography.ts +1 -1
  231. package/src/catalogs/scene.ts +3 -3
  232. package/src/catalogs/shadcn.ts +6 -4
  233. package/src/catalogs/structure.ts +3 -3
  234. package/src/catalogs/ui.ts +4 -3
  235. package/src/catalogs.ts +9 -2
  236. package/src/ports.ts +1 -1
  237. package/src/renderer/BlokRenderer.tsx +9 -0
  238. package/src/renderer/addBlokComponents.test.tsx +8 -22
  239. package/src/renderer/baseCatalog.ts +7 -5
  240. package/src/renderer/bloks/components.test.tsx +2 -2
  241. package/src/renderer/bloks/control.tsx +133 -6
  242. package/src/renderer/bloks/flow.test.tsx +1 -1
  243. package/src/renderer/bloks/forms.tsx +126 -0
  244. package/src/renderer/bloks/html.tsx +2 -2
  245. package/src/renderer/bloks/index.ts +1 -1
  246. package/src/renderer/bloks/layout.tsx +28 -0
  247. package/src/renderer/bloks/logo/index.tsx +2 -2
  248. package/src/renderer/bloks/run/components.tsx +1 -1
  249. package/src/renderer/bloks/run/host.tsx +33 -3
  250. package/src/renderer/bloks/run/space.test.tsx +76 -0
  251. package/src/renderer/bloks/time.test.tsx +1 -1
  252. package/src/renderer/bloks/toast.tsx +1 -1
  253. package/src/renderer/bloks/typography.tsx +1 -1
  254. package/src/renderer/catalog.tsx +7 -31
  255. package/src/renderer/declare.test.ts +41 -0
  256. package/src/renderer/declare.ts +70 -32
  257. package/src/renderer/functions/v2/functions.test.ts +40 -1
  258. package/src/renderer/functions/v2/index.ts +47 -0
  259. package/src/renderer/runtime/catalog.ts +35 -10
  260. package/src/renderer/runtime/components.tsx +10 -1
  261. package/src/renderer/runtime/context.tsx +6 -0
  262. package/src/renderer/runtime/describe.ts +17 -4
  263. package/src/renderer/runtime/hooks.ts +1 -0
  264. package/src/renderer/runtime/index.ts +1 -0
  265. package/src/renderer/runtime/preflight.ts +5 -2
  266. package/src/renderer/runtime/resolution.test.ts +14 -0
  267. package/src/renderer/runtime/resolution.ts +15 -1
  268. package/src/renderer/runtime/task.ts +33 -4
  269. package/src/renderer/runtime/text.test.tsx +65 -0
  270. package/src/renderer/runtime/text.ts +88 -0
  271. package/src/renderer/runtime/types.ts +7 -2
  272. package/src/runtime.ts +0 -1
  273. package/src/scene.ts +2 -2
  274. package/src/shadcn.ts +8 -5
  275. package/src/spec/bsx_v2.json +3080 -2372
  276. package/src/spec/catalogs/base@3.json +13029 -0
  277. package/src/spec/catalogs/orkestrator@1.json +489 -0
  278. package/src/spec/catalogs.ts +257 -101
  279. package/src/spec/spec.test.ts +107 -21
  280. package/src/spec/vocabulary.json +73 -27
  281. package/src/spec/vocabulary.ts +36 -7
  282. package/dist/renderer/modules.d.ts +0 -4
  283. package/dist/renderer/modules.d.ts.map +0 -1
  284. package/dist/renderer/modules.js +0 -11
  285. package/dist/renderer/modules.js.map +0 -1
  286. package/dist/spec/catalogs/base@2.json +0 -222
  287. package/dist/spec/catalogs/base@2.json.js +0 -222
  288. package/dist/spec/catalogs/html@1.json +0 -308
  289. package/dist/spec/catalogs/html@1.json.js +0 -308
  290. package/dist/spec/catalogs/logo@1.json +0 -1687
  291. package/dist/spec/catalogs/logo@1.json.js +0 -1687
  292. package/dist/spec/catalogs/scene@1.json +0 -858
  293. package/dist/spec/catalogs/scene@1.json.js +0 -858
  294. package/dist/spec/catalogs/shadcn@1.json +0 -3860
  295. package/dist/spec/catalogs/shadcn@1.json.js +0 -3860
  296. package/dist/spec/catalogs/structure@1.json +0 -185
  297. package/dist/spec/catalogs/structure@1.json.js +0 -185
  298. package/dist/spec/catalogs/ui@1.json +0 -5349
  299. package/dist/spec/catalogs/ui@1.json.js +0 -5349
  300. package/src/renderer/modules.ts +0 -12
  301. package/src/spec/catalogs/base@2.json +0 -222
  302. package/src/spec/catalogs/html@1.json +0 -308
  303. package/src/spec/catalogs/logo@1.json +0 -1687
  304. package/src/spec/catalogs/scene@1.json +0 -858
  305. package/src/spec/catalogs/shadcn@1.json +0 -3860
  306. package/src/spec/catalogs/structure@1.json +0 -185
  307. package/src/spec/catalogs/ui@1.json +0 -5349
@@ -1,1687 +0,0 @@
1
- {
2
- "name": "logo",
3
- "version": 1,
4
- "description": "SVG drawing for logos and action logos; the palette is restricted to the logo pens.",
5
- "components": [
6
- {
7
- "name": "ActionLogo",
8
- "description": "The root of an action's logo: a drawing in the viewer's pens that reads task (the viewer's last task of the action, idle until they run it). Its children are SVG shapes.",
9
- "context": "HTML",
10
- "children_context": "LOGO",
11
- "inherits_context": false,
12
- "accepts_children": true,
13
- "downstream_of": [],
14
- "not_downstream_of": [
15
- "AgentLogo",
16
- "ActionLogo"
17
- ],
18
- "text_prop": null,
19
- "props": [
20
- {
21
- "key": "height",
22
- "kind": "ANY",
23
- "required": false,
24
- "description": "Height; fills its box when left out."
25
- },
26
- {
27
- "key": "preserveAspectRatio",
28
- "kind": "STRING",
29
- "required": false,
30
- "description": "How the viewBox fits the box, e.g. \"xMidYMid meet\"."
31
- },
32
- {
33
- "key": "title",
34
- "kind": "STRING",
35
- "required": false,
36
- "description": "What the drawing shows, for screen readers and as a tooltip."
37
- },
38
- {
39
- "key": "viewBox",
40
- "kind": "STRING",
41
- "required": false,
42
- "description": "The user coordinate system, \"minX minY width height\", e.g. \"0 0 24 24\"."
43
- },
44
- {
45
- "key": "width",
46
- "kind": "ANY",
47
- "required": false,
48
- "description": "Width; fills its box when left out."
49
- }
50
- ]
51
- },
52
- {
53
- "name": "AgentLogo",
54
- "description": "The root of an agent's logo: a drawing in the viewer's pens. Its children are SVG shapes.",
55
- "context": "HTML",
56
- "children_context": "LOGO",
57
- "inherits_context": false,
58
- "accepts_children": true,
59
- "downstream_of": [],
60
- "not_downstream_of": [
61
- "AgentLogo",
62
- "ActionLogo"
63
- ],
64
- "text_prop": null,
65
- "props": [
66
- {
67
- "key": "height",
68
- "kind": "ANY",
69
- "required": false,
70
- "description": "Height; fills its box when left out."
71
- },
72
- {
73
- "key": "preserveAspectRatio",
74
- "kind": "STRING",
75
- "required": false,
76
- "description": "How the viewBox fits the box, e.g. \"xMidYMid meet\"."
77
- },
78
- {
79
- "key": "title",
80
- "kind": "STRING",
81
- "required": false,
82
- "description": "What the drawing shows, for screen readers and as a tooltip."
83
- },
84
- {
85
- "key": "viewBox",
86
- "kind": "STRING",
87
- "required": false,
88
- "description": "The user coordinate system, \"minX minY width height\", e.g. \"0 0 24 24\"."
89
- },
90
- {
91
- "key": "width",
92
- "kind": "ANY",
93
- "required": false,
94
- "description": "Width; fills its box when left out."
95
- }
96
- ]
97
- },
98
- {
99
- "name": "Circle",
100
- "description": "An SVG circle.",
101
- "context": "LOGO",
102
- "children_context": null,
103
- "inherits_context": false,
104
- "accepts_children": false,
105
- "downstream_of": [
106
- "AgentLogo",
107
- "ActionLogo"
108
- ],
109
- "not_downstream_of": [],
110
- "text_prop": null,
111
- "props": [
112
- {
113
- "key": "animate",
114
- "kind": "STRING",
115
- "required": false,
116
- "description": "Plays while the logo is hovered, and while an action logo's task runs: spin, pulse, float, draw (traces the stroke), march (moves a dashed stroke) or blink.",
117
- "values": [
118
- "spin",
119
- "pulse",
120
- "float",
121
- "draw",
122
- "march",
123
- "blink"
124
- ]
125
- },
126
- {
127
- "key": "animateDelay",
128
- "kind": "ANY",
129
- "required": false,
130
- "description": "Seconds before the animation starts, to stagger shapes."
131
- },
132
- {
133
- "key": "clipPath",
134
- "kind": "STRING",
135
- "required": false,
136
- "description": "url(#clip) of a ClipPath to clip by."
137
- },
138
- {
139
- "key": "cx",
140
- "kind": "ANY",
141
- "required": false,
142
- "description": "Centre x."
143
- },
144
- {
145
- "key": "cy",
146
- "kind": "ANY",
147
- "required": false,
148
- "description": "Centre y."
149
- },
150
- {
151
- "key": "fill",
152
- "kind": "STRING",
153
- "required": false,
154
- "description": "Fill paint: ink, muted, brand, brand-strong, brand-soft, surface, none, success, warning, info, spectrum-violet, spectrum-blue, spectrum-cyan, spectrum-green, spectrum-yellow, spectrum-orange, spectrum-red (the viewer's pens), or url(#gradient)."
155
- },
156
- {
157
- "key": "fillOpacity",
158
- "kind": "ANY",
159
- "required": false,
160
- "description": "Fill opacity, 0 to 1."
161
- },
162
- {
163
- "key": "fillRule",
164
- "kind": "STRING",
165
- "required": false,
166
- "description": "Which parts of a self-intersecting shape are inside.",
167
- "values": [
168
- "nonzero",
169
- "evenodd"
170
- ]
171
- },
172
- {
173
- "key": "onClick",
174
- "kind": "CALLBACK",
175
- "required": false,
176
- "description": "Runs when the element is clicked.",
177
- "event": []
178
- },
179
- {
180
- "key": "opacity",
181
- "kind": "ANY",
182
- "required": false,
183
- "description": "Opacity of the whole element, 0 to 1."
184
- },
185
- {
186
- "key": "r",
187
- "kind": "ANY",
188
- "required": false,
189
- "description": "Radius."
190
- },
191
- {
192
- "key": "stroke",
193
- "kind": "STRING",
194
- "required": false,
195
- "description": "Stroke paint: ink, muted, brand, brand-strong, brand-soft, surface, none, success, warning, info, spectrum-violet, spectrum-blue, spectrum-cyan, spectrum-green, spectrum-yellow, spectrum-orange, spectrum-red (the viewer's pens), or url(#gradient)."
196
- },
197
- {
198
- "key": "strokeDasharray",
199
- "kind": "STRING",
200
- "required": false,
201
- "description": "Dash pattern, e.g. \"4 2\"."
202
- },
203
- {
204
- "key": "strokeLinecap",
205
- "kind": "STRING",
206
- "required": false,
207
- "description": "How open line ends are drawn.",
208
- "values": [
209
- "butt",
210
- "round",
211
- "square"
212
- ]
213
- },
214
- {
215
- "key": "strokeLinejoin",
216
- "kind": "STRING",
217
- "required": false,
218
- "description": "How corners are drawn.",
219
- "values": [
220
- "miter",
221
- "round",
222
- "bevel"
223
- ]
224
- },
225
- {
226
- "key": "strokeOpacity",
227
- "kind": "ANY",
228
- "required": false,
229
- "description": "Stroke opacity, 0 to 1."
230
- },
231
- {
232
- "key": "strokeWidth",
233
- "kind": "ANY",
234
- "required": false,
235
- "description": "Stroke width, in user units."
236
- },
237
- {
238
- "key": "title",
239
- "kind": "STRING",
240
- "required": false,
241
- "description": "Tooltip text (an SVG <title>)."
242
- },
243
- {
244
- "key": "transform",
245
- "kind": "STRING",
246
- "required": false,
247
- "description": "SVG transform, e.g. \"rotate(45 12 12)\"."
248
- }
249
- ]
250
- },
251
- {
252
- "name": "ClipPath",
253
- "description": "A clip path made of its shape children. Referenced as url(#id) by its BSX id.",
254
- "context": "LOGO",
255
- "children_context": null,
256
- "inherits_context": false,
257
- "accepts_children": true,
258
- "downstream_of": [
259
- "AgentLogo",
260
- "ActionLogo"
261
- ],
262
- "not_downstream_of": [],
263
- "text_prop": null,
264
- "props": [
265
- {
266
- "key": "clipPathUnits",
267
- "kind": "STRING",
268
- "required": false,
269
- "description": "Whether its shapes are in user units (the default) or fractions of the clipped shape.",
270
- "values": [
271
- "userSpaceOnUse",
272
- "objectBoundingBox"
273
- ]
274
- }
275
- ]
276
- },
277
- {
278
- "name": "Defs",
279
- "description": "Definitions (gradients, clip paths) that are referenced, not drawn.",
280
- "context": "LOGO",
281
- "children_context": null,
282
- "inherits_context": false,
283
- "accepts_children": true,
284
- "downstream_of": [
285
- "AgentLogo",
286
- "ActionLogo"
287
- ],
288
- "not_downstream_of": [],
289
- "text_prop": null,
290
- "props": []
291
- },
292
- {
293
- "name": "Ellipse",
294
- "description": "An SVG ellipse.",
295
- "context": "LOGO",
296
- "children_context": null,
297
- "inherits_context": false,
298
- "accepts_children": false,
299
- "downstream_of": [
300
- "AgentLogo",
301
- "ActionLogo"
302
- ],
303
- "not_downstream_of": [],
304
- "text_prop": null,
305
- "props": [
306
- {
307
- "key": "animate",
308
- "kind": "STRING",
309
- "required": false,
310
- "description": "Plays while the logo is hovered, and while an action logo's task runs: spin, pulse, float, draw (traces the stroke), march (moves a dashed stroke) or blink.",
311
- "values": [
312
- "spin",
313
- "pulse",
314
- "float",
315
- "draw",
316
- "march",
317
- "blink"
318
- ]
319
- },
320
- {
321
- "key": "animateDelay",
322
- "kind": "ANY",
323
- "required": false,
324
- "description": "Seconds before the animation starts, to stagger shapes."
325
- },
326
- {
327
- "key": "clipPath",
328
- "kind": "STRING",
329
- "required": false,
330
- "description": "url(#clip) of a ClipPath to clip by."
331
- },
332
- {
333
- "key": "cx",
334
- "kind": "ANY",
335
- "required": false,
336
- "description": "Centre x."
337
- },
338
- {
339
- "key": "cy",
340
- "kind": "ANY",
341
- "required": false,
342
- "description": "Centre y."
343
- },
344
- {
345
- "key": "fill",
346
- "kind": "STRING",
347
- "required": false,
348
- "description": "Fill paint: ink, muted, brand, brand-strong, brand-soft, surface, none, success, warning, info, spectrum-violet, spectrum-blue, spectrum-cyan, spectrum-green, spectrum-yellow, spectrum-orange, spectrum-red (the viewer's pens), or url(#gradient)."
349
- },
350
- {
351
- "key": "fillOpacity",
352
- "kind": "ANY",
353
- "required": false,
354
- "description": "Fill opacity, 0 to 1."
355
- },
356
- {
357
- "key": "fillRule",
358
- "kind": "STRING",
359
- "required": false,
360
- "description": "Which parts of a self-intersecting shape are inside.",
361
- "values": [
362
- "nonzero",
363
- "evenodd"
364
- ]
365
- },
366
- {
367
- "key": "onClick",
368
- "kind": "CALLBACK",
369
- "required": false,
370
- "description": "Runs when the element is clicked.",
371
- "event": []
372
- },
373
- {
374
- "key": "opacity",
375
- "kind": "ANY",
376
- "required": false,
377
- "description": "Opacity of the whole element, 0 to 1."
378
- },
379
- {
380
- "key": "rx",
381
- "kind": "ANY",
382
- "required": false,
383
- "description": "Horizontal radius."
384
- },
385
- {
386
- "key": "ry",
387
- "kind": "ANY",
388
- "required": false,
389
- "description": "Vertical radius."
390
- },
391
- {
392
- "key": "stroke",
393
- "kind": "STRING",
394
- "required": false,
395
- "description": "Stroke paint: ink, muted, brand, brand-strong, brand-soft, surface, none, success, warning, info, spectrum-violet, spectrum-blue, spectrum-cyan, spectrum-green, spectrum-yellow, spectrum-orange, spectrum-red (the viewer's pens), or url(#gradient)."
396
- },
397
- {
398
- "key": "strokeDasharray",
399
- "kind": "STRING",
400
- "required": false,
401
- "description": "Dash pattern, e.g. \"4 2\"."
402
- },
403
- {
404
- "key": "strokeLinecap",
405
- "kind": "STRING",
406
- "required": false,
407
- "description": "How open line ends are drawn.",
408
- "values": [
409
- "butt",
410
- "round",
411
- "square"
412
- ]
413
- },
414
- {
415
- "key": "strokeLinejoin",
416
- "kind": "STRING",
417
- "required": false,
418
- "description": "How corners are drawn.",
419
- "values": [
420
- "miter",
421
- "round",
422
- "bevel"
423
- ]
424
- },
425
- {
426
- "key": "strokeOpacity",
427
- "kind": "ANY",
428
- "required": false,
429
- "description": "Stroke opacity, 0 to 1."
430
- },
431
- {
432
- "key": "strokeWidth",
433
- "kind": "ANY",
434
- "required": false,
435
- "description": "Stroke width, in user units."
436
- },
437
- {
438
- "key": "title",
439
- "kind": "STRING",
440
- "required": false,
441
- "description": "Tooltip text (an SVG <title>)."
442
- },
443
- {
444
- "key": "transform",
445
- "kind": "STRING",
446
- "required": false,
447
- "description": "SVG transform, e.g. \"rotate(45 12 12)\"."
448
- }
449
- ]
450
- },
451
- {
452
- "name": "G",
453
- "description": "A group of SVG elements, which share its presentation and transform.",
454
- "context": "LOGO",
455
- "children_context": null,
456
- "inherits_context": false,
457
- "accepts_children": true,
458
- "downstream_of": [
459
- "AgentLogo",
460
- "ActionLogo"
461
- ],
462
- "not_downstream_of": [],
463
- "text_prop": null,
464
- "props": [
465
- {
466
- "key": "animate",
467
- "kind": "STRING",
468
- "required": false,
469
- "description": "Plays while the logo is hovered, and while an action logo's task runs: spin, pulse, float, draw (traces the stroke), march (moves a dashed stroke) or blink.",
470
- "values": [
471
- "spin",
472
- "pulse",
473
- "float",
474
- "draw",
475
- "march",
476
- "blink"
477
- ]
478
- },
479
- {
480
- "key": "animateDelay",
481
- "kind": "ANY",
482
- "required": false,
483
- "description": "Seconds before the animation starts, to stagger shapes."
484
- },
485
- {
486
- "key": "clipPath",
487
- "kind": "STRING",
488
- "required": false,
489
- "description": "url(#clip) of a ClipPath to clip by."
490
- },
491
- {
492
- "key": "fill",
493
- "kind": "STRING",
494
- "required": false,
495
- "description": "Fill paint: ink, muted, brand, brand-strong, brand-soft, surface, none, success, warning, info, spectrum-violet, spectrum-blue, spectrum-cyan, spectrum-green, spectrum-yellow, spectrum-orange, spectrum-red (the viewer's pens), or url(#gradient)."
496
- },
497
- {
498
- "key": "fillOpacity",
499
- "kind": "ANY",
500
- "required": false,
501
- "description": "Fill opacity, 0 to 1."
502
- },
503
- {
504
- "key": "fillRule",
505
- "kind": "STRING",
506
- "required": false,
507
- "description": "Which parts of a self-intersecting shape are inside.",
508
- "values": [
509
- "nonzero",
510
- "evenodd"
511
- ]
512
- },
513
- {
514
- "key": "onClick",
515
- "kind": "CALLBACK",
516
- "required": false,
517
- "description": "Runs when the element is clicked.",
518
- "event": []
519
- },
520
- {
521
- "key": "opacity",
522
- "kind": "ANY",
523
- "required": false,
524
- "description": "Opacity of the whole element, 0 to 1."
525
- },
526
- {
527
- "key": "stroke",
528
- "kind": "STRING",
529
- "required": false,
530
- "description": "Stroke paint: ink, muted, brand, brand-strong, brand-soft, surface, none, success, warning, info, spectrum-violet, spectrum-blue, spectrum-cyan, spectrum-green, spectrum-yellow, spectrum-orange, spectrum-red (the viewer's pens), or url(#gradient)."
531
- },
532
- {
533
- "key": "strokeDasharray",
534
- "kind": "STRING",
535
- "required": false,
536
- "description": "Dash pattern, e.g. \"4 2\"."
537
- },
538
- {
539
- "key": "strokeLinecap",
540
- "kind": "STRING",
541
- "required": false,
542
- "description": "How open line ends are drawn.",
543
- "values": [
544
- "butt",
545
- "round",
546
- "square"
547
- ]
548
- },
549
- {
550
- "key": "strokeLinejoin",
551
- "kind": "STRING",
552
- "required": false,
553
- "description": "How corners are drawn.",
554
- "values": [
555
- "miter",
556
- "round",
557
- "bevel"
558
- ]
559
- },
560
- {
561
- "key": "strokeOpacity",
562
- "kind": "ANY",
563
- "required": false,
564
- "description": "Stroke opacity, 0 to 1."
565
- },
566
- {
567
- "key": "strokeWidth",
568
- "kind": "ANY",
569
- "required": false,
570
- "description": "Stroke width, in user units."
571
- },
572
- {
573
- "key": "title",
574
- "kind": "STRING",
575
- "required": false,
576
- "description": "Tooltip text (an SVG <title>)."
577
- },
578
- {
579
- "key": "transform",
580
- "kind": "STRING",
581
- "required": false,
582
- "description": "SVG transform, e.g. \"rotate(45 12 12)\"."
583
- }
584
- ]
585
- },
586
- {
587
- "name": "Line",
588
- "description": "An SVG line.",
589
- "context": "LOGO",
590
- "children_context": null,
591
- "inherits_context": false,
592
- "accepts_children": false,
593
- "downstream_of": [
594
- "AgentLogo",
595
- "ActionLogo"
596
- ],
597
- "not_downstream_of": [],
598
- "text_prop": null,
599
- "props": [
600
- {
601
- "key": "animate",
602
- "kind": "STRING",
603
- "required": false,
604
- "description": "Plays while the logo is hovered, and while an action logo's task runs: spin, pulse, float, draw (traces the stroke), march (moves a dashed stroke) or blink.",
605
- "values": [
606
- "spin",
607
- "pulse",
608
- "float",
609
- "draw",
610
- "march",
611
- "blink"
612
- ]
613
- },
614
- {
615
- "key": "animateDelay",
616
- "kind": "ANY",
617
- "required": false,
618
- "description": "Seconds before the animation starts, to stagger shapes."
619
- },
620
- {
621
- "key": "clipPath",
622
- "kind": "STRING",
623
- "required": false,
624
- "description": "url(#clip) of a ClipPath to clip by."
625
- },
626
- {
627
- "key": "fill",
628
- "kind": "STRING",
629
- "required": false,
630
- "description": "Fill paint: ink, muted, brand, brand-strong, brand-soft, surface, none, success, warning, info, spectrum-violet, spectrum-blue, spectrum-cyan, spectrum-green, spectrum-yellow, spectrum-orange, spectrum-red (the viewer's pens), or url(#gradient)."
631
- },
632
- {
633
- "key": "fillOpacity",
634
- "kind": "ANY",
635
- "required": false,
636
- "description": "Fill opacity, 0 to 1."
637
- },
638
- {
639
- "key": "fillRule",
640
- "kind": "STRING",
641
- "required": false,
642
- "description": "Which parts of a self-intersecting shape are inside.",
643
- "values": [
644
- "nonzero",
645
- "evenodd"
646
- ]
647
- },
648
- {
649
- "key": "onClick",
650
- "kind": "CALLBACK",
651
- "required": false,
652
- "description": "Runs when the element is clicked.",
653
- "event": []
654
- },
655
- {
656
- "key": "opacity",
657
- "kind": "ANY",
658
- "required": false,
659
- "description": "Opacity of the whole element, 0 to 1."
660
- },
661
- {
662
- "key": "stroke",
663
- "kind": "STRING",
664
- "required": false,
665
- "description": "Stroke paint: ink, muted, brand, brand-strong, brand-soft, surface, none, success, warning, info, spectrum-violet, spectrum-blue, spectrum-cyan, spectrum-green, spectrum-yellow, spectrum-orange, spectrum-red (the viewer's pens), or url(#gradient)."
666
- },
667
- {
668
- "key": "strokeDasharray",
669
- "kind": "STRING",
670
- "required": false,
671
- "description": "Dash pattern, e.g. \"4 2\"."
672
- },
673
- {
674
- "key": "strokeLinecap",
675
- "kind": "STRING",
676
- "required": false,
677
- "description": "How open line ends are drawn.",
678
- "values": [
679
- "butt",
680
- "round",
681
- "square"
682
- ]
683
- },
684
- {
685
- "key": "strokeLinejoin",
686
- "kind": "STRING",
687
- "required": false,
688
- "description": "How corners are drawn.",
689
- "values": [
690
- "miter",
691
- "round",
692
- "bevel"
693
- ]
694
- },
695
- {
696
- "key": "strokeOpacity",
697
- "kind": "ANY",
698
- "required": false,
699
- "description": "Stroke opacity, 0 to 1."
700
- },
701
- {
702
- "key": "strokeWidth",
703
- "kind": "ANY",
704
- "required": false,
705
- "description": "Stroke width, in user units."
706
- },
707
- {
708
- "key": "title",
709
- "kind": "STRING",
710
- "required": false,
711
- "description": "Tooltip text (an SVG <title>)."
712
- },
713
- {
714
- "key": "transform",
715
- "kind": "STRING",
716
- "required": false,
717
- "description": "SVG transform, e.g. \"rotate(45 12 12)\"."
718
- },
719
- {
720
- "key": "x1",
721
- "kind": "ANY",
722
- "required": false,
723
- "description": "Start x."
724
- },
725
- {
726
- "key": "x2",
727
- "kind": "ANY",
728
- "required": false,
729
- "description": "End x."
730
- },
731
- {
732
- "key": "y1",
733
- "kind": "ANY",
734
- "required": false,
735
- "description": "Start y."
736
- },
737
- {
738
- "key": "y2",
739
- "kind": "ANY",
740
- "required": false,
741
- "description": "End y."
742
- }
743
- ]
744
- },
745
- {
746
- "name": "LinearGradient",
747
- "description": "A linear gradient, filled by its Stop children. Referenced as url(#id) by its BSX id.",
748
- "context": "LOGO",
749
- "children_context": null,
750
- "inherits_context": false,
751
- "accepts_children": true,
752
- "downstream_of": [
753
- "AgentLogo",
754
- "ActionLogo"
755
- ],
756
- "not_downstream_of": [],
757
- "text_prop": null,
758
- "props": [
759
- {
760
- "key": "gradientTransform",
761
- "kind": "STRING",
762
- "required": false,
763
- "description": "Transform of the gradient."
764
- },
765
- {
766
- "key": "gradientUnits",
767
- "kind": "STRING",
768
- "required": false,
769
- "description": "Whether the coordinates are fractions of the shape (the default) or user units.",
770
- "values": [
771
- "objectBoundingBox",
772
- "userSpaceOnUse"
773
- ]
774
- },
775
- {
776
- "key": "x1",
777
- "kind": "ANY",
778
- "required": false,
779
- "description": "Start x."
780
- },
781
- {
782
- "key": "x2",
783
- "kind": "ANY",
784
- "required": false,
785
- "description": "End x."
786
- },
787
- {
788
- "key": "y1",
789
- "kind": "ANY",
790
- "required": false,
791
- "description": "Start y."
792
- },
793
- {
794
- "key": "y2",
795
- "kind": "ANY",
796
- "required": false,
797
- "description": "End y."
798
- }
799
- ]
800
- },
801
- {
802
- "name": "Path",
803
- "description": "An SVG path.",
804
- "context": "LOGO",
805
- "children_context": null,
806
- "inherits_context": false,
807
- "accepts_children": false,
808
- "downstream_of": [
809
- "AgentLogo",
810
- "ActionLogo"
811
- ],
812
- "not_downstream_of": [],
813
- "text_prop": null,
814
- "props": [
815
- {
816
- "key": "animate",
817
- "kind": "STRING",
818
- "required": false,
819
- "description": "Plays while the logo is hovered, and while an action logo's task runs: spin, pulse, float, draw (traces the stroke), march (moves a dashed stroke) or blink.",
820
- "values": [
821
- "spin",
822
- "pulse",
823
- "float",
824
- "draw",
825
- "march",
826
- "blink"
827
- ]
828
- },
829
- {
830
- "key": "animateDelay",
831
- "kind": "ANY",
832
- "required": false,
833
- "description": "Seconds before the animation starts, to stagger shapes."
834
- },
835
- {
836
- "key": "clipPath",
837
- "kind": "STRING",
838
- "required": false,
839
- "description": "url(#clip) of a ClipPath to clip by."
840
- },
841
- {
842
- "key": "d",
843
- "kind": "STRING",
844
- "required": false,
845
- "description": "Path data, e.g. \"M2 12h20\"."
846
- },
847
- {
848
- "key": "fill",
849
- "kind": "STRING",
850
- "required": false,
851
- "description": "Fill paint: ink, muted, brand, brand-strong, brand-soft, surface, none, success, warning, info, spectrum-violet, spectrum-blue, spectrum-cyan, spectrum-green, spectrum-yellow, spectrum-orange, spectrum-red (the viewer's pens), or url(#gradient)."
852
- },
853
- {
854
- "key": "fillOpacity",
855
- "kind": "ANY",
856
- "required": false,
857
- "description": "Fill opacity, 0 to 1."
858
- },
859
- {
860
- "key": "fillRule",
861
- "kind": "STRING",
862
- "required": false,
863
- "description": "Which parts of a self-intersecting shape are inside.",
864
- "values": [
865
- "nonzero",
866
- "evenodd"
867
- ]
868
- },
869
- {
870
- "key": "onClick",
871
- "kind": "CALLBACK",
872
- "required": false,
873
- "description": "Runs when the element is clicked.",
874
- "event": []
875
- },
876
- {
877
- "key": "opacity",
878
- "kind": "ANY",
879
- "required": false,
880
- "description": "Opacity of the whole element, 0 to 1."
881
- },
882
- {
883
- "key": "stroke",
884
- "kind": "STRING",
885
- "required": false,
886
- "description": "Stroke paint: ink, muted, brand, brand-strong, brand-soft, surface, none, success, warning, info, spectrum-violet, spectrum-blue, spectrum-cyan, spectrum-green, spectrum-yellow, spectrum-orange, spectrum-red (the viewer's pens), or url(#gradient)."
887
- },
888
- {
889
- "key": "strokeDasharray",
890
- "kind": "STRING",
891
- "required": false,
892
- "description": "Dash pattern, e.g. \"4 2\"."
893
- },
894
- {
895
- "key": "strokeLinecap",
896
- "kind": "STRING",
897
- "required": false,
898
- "description": "How open line ends are drawn.",
899
- "values": [
900
- "butt",
901
- "round",
902
- "square"
903
- ]
904
- },
905
- {
906
- "key": "strokeLinejoin",
907
- "kind": "STRING",
908
- "required": false,
909
- "description": "How corners are drawn.",
910
- "values": [
911
- "miter",
912
- "round",
913
- "bevel"
914
- ]
915
- },
916
- {
917
- "key": "strokeOpacity",
918
- "kind": "ANY",
919
- "required": false,
920
- "description": "Stroke opacity, 0 to 1."
921
- },
922
- {
923
- "key": "strokeWidth",
924
- "kind": "ANY",
925
- "required": false,
926
- "description": "Stroke width, in user units."
927
- },
928
- {
929
- "key": "title",
930
- "kind": "STRING",
931
- "required": false,
932
- "description": "Tooltip text (an SVG <title>)."
933
- },
934
- {
935
- "key": "transform",
936
- "kind": "STRING",
937
- "required": false,
938
- "description": "SVG transform, e.g. \"rotate(45 12 12)\"."
939
- }
940
- ]
941
- },
942
- {
943
- "name": "Polygon",
944
- "description": "A closed SVG polygon.",
945
- "context": "LOGO",
946
- "children_context": null,
947
- "inherits_context": false,
948
- "accepts_children": false,
949
- "downstream_of": [
950
- "AgentLogo",
951
- "ActionLogo"
952
- ],
953
- "not_downstream_of": [],
954
- "text_prop": null,
955
- "props": [
956
- {
957
- "key": "animate",
958
- "kind": "STRING",
959
- "required": false,
960
- "description": "Plays while the logo is hovered, and while an action logo's task runs: spin, pulse, float, draw (traces the stroke), march (moves a dashed stroke) or blink.",
961
- "values": [
962
- "spin",
963
- "pulse",
964
- "float",
965
- "draw",
966
- "march",
967
- "blink"
968
- ]
969
- },
970
- {
971
- "key": "animateDelay",
972
- "kind": "ANY",
973
- "required": false,
974
- "description": "Seconds before the animation starts, to stagger shapes."
975
- },
976
- {
977
- "key": "clipPath",
978
- "kind": "STRING",
979
- "required": false,
980
- "description": "url(#clip) of a ClipPath to clip by."
981
- },
982
- {
983
- "key": "fill",
984
- "kind": "STRING",
985
- "required": false,
986
- "description": "Fill paint: ink, muted, brand, brand-strong, brand-soft, surface, none, success, warning, info, spectrum-violet, spectrum-blue, spectrum-cyan, spectrum-green, spectrum-yellow, spectrum-orange, spectrum-red (the viewer's pens), or url(#gradient)."
987
- },
988
- {
989
- "key": "fillOpacity",
990
- "kind": "ANY",
991
- "required": false,
992
- "description": "Fill opacity, 0 to 1."
993
- },
994
- {
995
- "key": "fillRule",
996
- "kind": "STRING",
997
- "required": false,
998
- "description": "Which parts of a self-intersecting shape are inside.",
999
- "values": [
1000
- "nonzero",
1001
- "evenodd"
1002
- ]
1003
- },
1004
- {
1005
- "key": "onClick",
1006
- "kind": "CALLBACK",
1007
- "required": false,
1008
- "description": "Runs when the element is clicked.",
1009
- "event": []
1010
- },
1011
- {
1012
- "key": "opacity",
1013
- "kind": "ANY",
1014
- "required": false,
1015
- "description": "Opacity of the whole element, 0 to 1."
1016
- },
1017
- {
1018
- "key": "points",
1019
- "kind": "STRING",
1020
- "required": false,
1021
- "description": "Points, e.g. \"0,0 10,5 20,0\"."
1022
- },
1023
- {
1024
- "key": "stroke",
1025
- "kind": "STRING",
1026
- "required": false,
1027
- "description": "Stroke paint: ink, muted, brand, brand-strong, brand-soft, surface, none, success, warning, info, spectrum-violet, spectrum-blue, spectrum-cyan, spectrum-green, spectrum-yellow, spectrum-orange, spectrum-red (the viewer's pens), or url(#gradient)."
1028
- },
1029
- {
1030
- "key": "strokeDasharray",
1031
- "kind": "STRING",
1032
- "required": false,
1033
- "description": "Dash pattern, e.g. \"4 2\"."
1034
- },
1035
- {
1036
- "key": "strokeLinecap",
1037
- "kind": "STRING",
1038
- "required": false,
1039
- "description": "How open line ends are drawn.",
1040
- "values": [
1041
- "butt",
1042
- "round",
1043
- "square"
1044
- ]
1045
- },
1046
- {
1047
- "key": "strokeLinejoin",
1048
- "kind": "STRING",
1049
- "required": false,
1050
- "description": "How corners are drawn.",
1051
- "values": [
1052
- "miter",
1053
- "round",
1054
- "bevel"
1055
- ]
1056
- },
1057
- {
1058
- "key": "strokeOpacity",
1059
- "kind": "ANY",
1060
- "required": false,
1061
- "description": "Stroke opacity, 0 to 1."
1062
- },
1063
- {
1064
- "key": "strokeWidth",
1065
- "kind": "ANY",
1066
- "required": false,
1067
- "description": "Stroke width, in user units."
1068
- },
1069
- {
1070
- "key": "title",
1071
- "kind": "STRING",
1072
- "required": false,
1073
- "description": "Tooltip text (an SVG <title>)."
1074
- },
1075
- {
1076
- "key": "transform",
1077
- "kind": "STRING",
1078
- "required": false,
1079
- "description": "SVG transform, e.g. \"rotate(45 12 12)\"."
1080
- }
1081
- ]
1082
- },
1083
- {
1084
- "name": "Polyline",
1085
- "description": "An open SVG polyline.",
1086
- "context": "LOGO",
1087
- "children_context": null,
1088
- "inherits_context": false,
1089
- "accepts_children": false,
1090
- "downstream_of": [
1091
- "AgentLogo",
1092
- "ActionLogo"
1093
- ],
1094
- "not_downstream_of": [],
1095
- "text_prop": null,
1096
- "props": [
1097
- {
1098
- "key": "animate",
1099
- "kind": "STRING",
1100
- "required": false,
1101
- "description": "Plays while the logo is hovered, and while an action logo's task runs: spin, pulse, float, draw (traces the stroke), march (moves a dashed stroke) or blink.",
1102
- "values": [
1103
- "spin",
1104
- "pulse",
1105
- "float",
1106
- "draw",
1107
- "march",
1108
- "blink"
1109
- ]
1110
- },
1111
- {
1112
- "key": "animateDelay",
1113
- "kind": "ANY",
1114
- "required": false,
1115
- "description": "Seconds before the animation starts, to stagger shapes."
1116
- },
1117
- {
1118
- "key": "clipPath",
1119
- "kind": "STRING",
1120
- "required": false,
1121
- "description": "url(#clip) of a ClipPath to clip by."
1122
- },
1123
- {
1124
- "key": "fill",
1125
- "kind": "STRING",
1126
- "required": false,
1127
- "description": "Fill paint: ink, muted, brand, brand-strong, brand-soft, surface, none, success, warning, info, spectrum-violet, spectrum-blue, spectrum-cyan, spectrum-green, spectrum-yellow, spectrum-orange, spectrum-red (the viewer's pens), or url(#gradient)."
1128
- },
1129
- {
1130
- "key": "fillOpacity",
1131
- "kind": "ANY",
1132
- "required": false,
1133
- "description": "Fill opacity, 0 to 1."
1134
- },
1135
- {
1136
- "key": "fillRule",
1137
- "kind": "STRING",
1138
- "required": false,
1139
- "description": "Which parts of a self-intersecting shape are inside.",
1140
- "values": [
1141
- "nonzero",
1142
- "evenodd"
1143
- ]
1144
- },
1145
- {
1146
- "key": "onClick",
1147
- "kind": "CALLBACK",
1148
- "required": false,
1149
- "description": "Runs when the element is clicked.",
1150
- "event": []
1151
- },
1152
- {
1153
- "key": "opacity",
1154
- "kind": "ANY",
1155
- "required": false,
1156
- "description": "Opacity of the whole element, 0 to 1."
1157
- },
1158
- {
1159
- "key": "points",
1160
- "kind": "STRING",
1161
- "required": false,
1162
- "description": "Points, e.g. \"0,0 10,5 20,0\"."
1163
- },
1164
- {
1165
- "key": "stroke",
1166
- "kind": "STRING",
1167
- "required": false,
1168
- "description": "Stroke paint: ink, muted, brand, brand-strong, brand-soft, surface, none, success, warning, info, spectrum-violet, spectrum-blue, spectrum-cyan, spectrum-green, spectrum-yellow, spectrum-orange, spectrum-red (the viewer's pens), or url(#gradient)."
1169
- },
1170
- {
1171
- "key": "strokeDasharray",
1172
- "kind": "STRING",
1173
- "required": false,
1174
- "description": "Dash pattern, e.g. \"4 2\"."
1175
- },
1176
- {
1177
- "key": "strokeLinecap",
1178
- "kind": "STRING",
1179
- "required": false,
1180
- "description": "How open line ends are drawn.",
1181
- "values": [
1182
- "butt",
1183
- "round",
1184
- "square"
1185
- ]
1186
- },
1187
- {
1188
- "key": "strokeLinejoin",
1189
- "kind": "STRING",
1190
- "required": false,
1191
- "description": "How corners are drawn.",
1192
- "values": [
1193
- "miter",
1194
- "round",
1195
- "bevel"
1196
- ]
1197
- },
1198
- {
1199
- "key": "strokeOpacity",
1200
- "kind": "ANY",
1201
- "required": false,
1202
- "description": "Stroke opacity, 0 to 1."
1203
- },
1204
- {
1205
- "key": "strokeWidth",
1206
- "kind": "ANY",
1207
- "required": false,
1208
- "description": "Stroke width, in user units."
1209
- },
1210
- {
1211
- "key": "title",
1212
- "kind": "STRING",
1213
- "required": false,
1214
- "description": "Tooltip text (an SVG <title>)."
1215
- },
1216
- {
1217
- "key": "transform",
1218
- "kind": "STRING",
1219
- "required": false,
1220
- "description": "SVG transform, e.g. \"rotate(45 12 12)\"."
1221
- }
1222
- ]
1223
- },
1224
- {
1225
- "name": "RadialGradient",
1226
- "description": "A radial gradient, filled by its Stop children. Referenced as url(#id) by its BSX id.",
1227
- "context": "LOGO",
1228
- "children_context": null,
1229
- "inherits_context": false,
1230
- "accepts_children": true,
1231
- "downstream_of": [
1232
- "AgentLogo",
1233
- "ActionLogo"
1234
- ],
1235
- "not_downstream_of": [],
1236
- "text_prop": null,
1237
- "props": [
1238
- {
1239
- "key": "cx",
1240
- "kind": "ANY",
1241
- "required": false,
1242
- "description": "Centre x."
1243
- },
1244
- {
1245
- "key": "cy",
1246
- "kind": "ANY",
1247
- "required": false,
1248
- "description": "Centre y."
1249
- },
1250
- {
1251
- "key": "fx",
1252
- "kind": "ANY",
1253
- "required": false,
1254
- "description": "Focal point x."
1255
- },
1256
- {
1257
- "key": "fy",
1258
- "kind": "ANY",
1259
- "required": false,
1260
- "description": "Focal point y."
1261
- },
1262
- {
1263
- "key": "gradientTransform",
1264
- "kind": "STRING",
1265
- "required": false,
1266
- "description": "Transform of the gradient."
1267
- },
1268
- {
1269
- "key": "gradientUnits",
1270
- "kind": "STRING",
1271
- "required": false,
1272
- "description": "Whether the coordinates are fractions of the shape (the default) or user units.",
1273
- "values": [
1274
- "objectBoundingBox",
1275
- "userSpaceOnUse"
1276
- ]
1277
- },
1278
- {
1279
- "key": "r",
1280
- "kind": "ANY",
1281
- "required": false,
1282
- "description": "Radius."
1283
- }
1284
- ]
1285
- },
1286
- {
1287
- "name": "Rect",
1288
- "description": "An SVG rectangle.",
1289
- "context": "LOGO",
1290
- "children_context": null,
1291
- "inherits_context": false,
1292
- "accepts_children": false,
1293
- "downstream_of": [
1294
- "AgentLogo",
1295
- "ActionLogo"
1296
- ],
1297
- "not_downstream_of": [],
1298
- "text_prop": null,
1299
- "props": [
1300
- {
1301
- "key": "animate",
1302
- "kind": "STRING",
1303
- "required": false,
1304
- "description": "Plays while the logo is hovered, and while an action logo's task runs: spin, pulse, float, draw (traces the stroke), march (moves a dashed stroke) or blink.",
1305
- "values": [
1306
- "spin",
1307
- "pulse",
1308
- "float",
1309
- "draw",
1310
- "march",
1311
- "blink"
1312
- ]
1313
- },
1314
- {
1315
- "key": "animateDelay",
1316
- "kind": "ANY",
1317
- "required": false,
1318
- "description": "Seconds before the animation starts, to stagger shapes."
1319
- },
1320
- {
1321
- "key": "clipPath",
1322
- "kind": "STRING",
1323
- "required": false,
1324
- "description": "url(#clip) of a ClipPath to clip by."
1325
- },
1326
- {
1327
- "key": "fill",
1328
- "kind": "STRING",
1329
- "required": false,
1330
- "description": "Fill paint: ink, muted, brand, brand-strong, brand-soft, surface, none, success, warning, info, spectrum-violet, spectrum-blue, spectrum-cyan, spectrum-green, spectrum-yellow, spectrum-orange, spectrum-red (the viewer's pens), or url(#gradient)."
1331
- },
1332
- {
1333
- "key": "fillOpacity",
1334
- "kind": "ANY",
1335
- "required": false,
1336
- "description": "Fill opacity, 0 to 1."
1337
- },
1338
- {
1339
- "key": "fillRule",
1340
- "kind": "STRING",
1341
- "required": false,
1342
- "description": "Which parts of a self-intersecting shape are inside.",
1343
- "values": [
1344
- "nonzero",
1345
- "evenodd"
1346
- ]
1347
- },
1348
- {
1349
- "key": "height",
1350
- "kind": "ANY",
1351
- "required": false,
1352
- "description": "Height."
1353
- },
1354
- {
1355
- "key": "onClick",
1356
- "kind": "CALLBACK",
1357
- "required": false,
1358
- "description": "Runs when the element is clicked.",
1359
- "event": []
1360
- },
1361
- {
1362
- "key": "opacity",
1363
- "kind": "ANY",
1364
- "required": false,
1365
- "description": "Opacity of the whole element, 0 to 1."
1366
- },
1367
- {
1368
- "key": "rx",
1369
- "kind": "ANY",
1370
- "required": false,
1371
- "description": "Corner radius, horizontal."
1372
- },
1373
- {
1374
- "key": "ry",
1375
- "kind": "ANY",
1376
- "required": false,
1377
- "description": "Corner radius, vertical."
1378
- },
1379
- {
1380
- "key": "stroke",
1381
- "kind": "STRING",
1382
- "required": false,
1383
- "description": "Stroke paint: ink, muted, brand, brand-strong, brand-soft, surface, none, success, warning, info, spectrum-violet, spectrum-blue, spectrum-cyan, spectrum-green, spectrum-yellow, spectrum-orange, spectrum-red (the viewer's pens), or url(#gradient)."
1384
- },
1385
- {
1386
- "key": "strokeDasharray",
1387
- "kind": "STRING",
1388
- "required": false,
1389
- "description": "Dash pattern, e.g. \"4 2\"."
1390
- },
1391
- {
1392
- "key": "strokeLinecap",
1393
- "kind": "STRING",
1394
- "required": false,
1395
- "description": "How open line ends are drawn.",
1396
- "values": [
1397
- "butt",
1398
- "round",
1399
- "square"
1400
- ]
1401
- },
1402
- {
1403
- "key": "strokeLinejoin",
1404
- "kind": "STRING",
1405
- "required": false,
1406
- "description": "How corners are drawn.",
1407
- "values": [
1408
- "miter",
1409
- "round",
1410
- "bevel"
1411
- ]
1412
- },
1413
- {
1414
- "key": "strokeOpacity",
1415
- "kind": "ANY",
1416
- "required": false,
1417
- "description": "Stroke opacity, 0 to 1."
1418
- },
1419
- {
1420
- "key": "strokeWidth",
1421
- "kind": "ANY",
1422
- "required": false,
1423
- "description": "Stroke width, in user units."
1424
- },
1425
- {
1426
- "key": "title",
1427
- "kind": "STRING",
1428
- "required": false,
1429
- "description": "Tooltip text (an SVG <title>)."
1430
- },
1431
- {
1432
- "key": "transform",
1433
- "kind": "STRING",
1434
- "required": false,
1435
- "description": "SVG transform, e.g. \"rotate(45 12 12)\"."
1436
- },
1437
- {
1438
- "key": "width",
1439
- "kind": "ANY",
1440
- "required": false,
1441
- "description": "Width."
1442
- },
1443
- {
1444
- "key": "x",
1445
- "kind": "ANY",
1446
- "required": false,
1447
- "description": "Left edge."
1448
- },
1449
- {
1450
- "key": "y",
1451
- "kind": "ANY",
1452
- "required": false,
1453
- "description": "Top edge."
1454
- }
1455
- ]
1456
- },
1457
- {
1458
- "name": "Stop",
1459
- "description": "One colour stop of a gradient.",
1460
- "context": "LOGO",
1461
- "children_context": null,
1462
- "inherits_context": false,
1463
- "accepts_children": false,
1464
- "downstream_of": [
1465
- "LinearGradient",
1466
- "RadialGradient"
1467
- ],
1468
- "not_downstream_of": [],
1469
- "text_prop": null,
1470
- "props": [
1471
- {
1472
- "key": "offset",
1473
- "kind": "ANY",
1474
- "required": false,
1475
- "description": "Where along the gradient, 0 to 1 or a percentage."
1476
- },
1477
- {
1478
- "key": "stopColor",
1479
- "kind": "STRING",
1480
- "required": false,
1481
- "description": "The colour at this stop: ink, muted, brand, brand-strong, brand-soft, surface, none, success, warning, info, spectrum-violet, spectrum-blue, spectrum-cyan, spectrum-green, spectrum-yellow, spectrum-orange, spectrum-red (the viewer's pens), or url(#gradient)."
1482
- },
1483
- {
1484
- "key": "stopOpacity",
1485
- "kind": "ANY",
1486
- "required": false,
1487
- "description": "The opacity at this stop, 0 to 1."
1488
- }
1489
- ]
1490
- },
1491
- {
1492
- "name": "SvgText",
1493
- "description": "Text in an SVG drawing (the SVG <text> element).",
1494
- "context": "LOGO",
1495
- "children_context": null,
1496
- "inherits_context": false,
1497
- "accepts_children": false,
1498
- "downstream_of": [
1499
- "AgentLogo",
1500
- "ActionLogo"
1501
- ],
1502
- "not_downstream_of": [],
1503
- "text_prop": null,
1504
- "props": [
1505
- {
1506
- "key": "animate",
1507
- "kind": "STRING",
1508
- "required": false,
1509
- "description": "Plays while the logo is hovered, and while an action logo's task runs: spin, pulse, float, draw (traces the stroke), march (moves a dashed stroke) or blink.",
1510
- "values": [
1511
- "spin",
1512
- "pulse",
1513
- "float",
1514
- "draw",
1515
- "march",
1516
- "blink"
1517
- ]
1518
- },
1519
- {
1520
- "key": "animateDelay",
1521
- "kind": "ANY",
1522
- "required": false,
1523
- "description": "Seconds before the animation starts, to stagger shapes."
1524
- },
1525
- {
1526
- "key": "clipPath",
1527
- "kind": "STRING",
1528
- "required": false,
1529
- "description": "url(#clip) of a ClipPath to clip by."
1530
- },
1531
- {
1532
- "key": "dominantBaseline",
1533
- "kind": "STRING",
1534
- "required": false,
1535
- "description": "Where y is on the text.",
1536
- "values": [
1537
- "auto",
1538
- "middle",
1539
- "central",
1540
- "hanging",
1541
- "alphabetic"
1542
- ]
1543
- },
1544
- {
1545
- "key": "fill",
1546
- "kind": "STRING",
1547
- "required": false,
1548
- "description": "Fill paint: ink, muted, brand, brand-strong, brand-soft, surface, none, success, warning, info, spectrum-violet, spectrum-blue, spectrum-cyan, spectrum-green, spectrum-yellow, spectrum-orange, spectrum-red (the viewer's pens), or url(#gradient)."
1549
- },
1550
- {
1551
- "key": "fillOpacity",
1552
- "kind": "ANY",
1553
- "required": false,
1554
- "description": "Fill opacity, 0 to 1."
1555
- },
1556
- {
1557
- "key": "fillRule",
1558
- "kind": "STRING",
1559
- "required": false,
1560
- "description": "Which parts of a self-intersecting shape are inside.",
1561
- "values": [
1562
- "nonzero",
1563
- "evenodd"
1564
- ]
1565
- },
1566
- {
1567
- "key": "fontFamily",
1568
- "kind": "STRING",
1569
- "required": false,
1570
- "description": "Font family."
1571
- },
1572
- {
1573
- "key": "fontSize",
1574
- "kind": "ANY",
1575
- "required": false,
1576
- "description": "Font size, in user units."
1577
- },
1578
- {
1579
- "key": "fontWeight",
1580
- "kind": "STRING",
1581
- "required": false,
1582
- "description": "Font weight, e.g. \"bold\" or \"600\"."
1583
- },
1584
- {
1585
- "key": "onClick",
1586
- "kind": "CALLBACK",
1587
- "required": false,
1588
- "description": "Runs when the element is clicked.",
1589
- "event": []
1590
- },
1591
- {
1592
- "key": "opacity",
1593
- "kind": "ANY",
1594
- "required": false,
1595
- "description": "Opacity of the whole element, 0 to 1."
1596
- },
1597
- {
1598
- "key": "stroke",
1599
- "kind": "STRING",
1600
- "required": false,
1601
- "description": "Stroke paint: ink, muted, brand, brand-strong, brand-soft, surface, none, success, warning, info, spectrum-violet, spectrum-blue, spectrum-cyan, spectrum-green, spectrum-yellow, spectrum-orange, spectrum-red (the viewer's pens), or url(#gradient)."
1602
- },
1603
- {
1604
- "key": "strokeDasharray",
1605
- "kind": "STRING",
1606
- "required": false,
1607
- "description": "Dash pattern, e.g. \"4 2\"."
1608
- },
1609
- {
1610
- "key": "strokeLinecap",
1611
- "kind": "STRING",
1612
- "required": false,
1613
- "description": "How open line ends are drawn.",
1614
- "values": [
1615
- "butt",
1616
- "round",
1617
- "square"
1618
- ]
1619
- },
1620
- {
1621
- "key": "strokeLinejoin",
1622
- "kind": "STRING",
1623
- "required": false,
1624
- "description": "How corners are drawn.",
1625
- "values": [
1626
- "miter",
1627
- "round",
1628
- "bevel"
1629
- ]
1630
- },
1631
- {
1632
- "key": "strokeOpacity",
1633
- "kind": "ANY",
1634
- "required": false,
1635
- "description": "Stroke opacity, 0 to 1."
1636
- },
1637
- {
1638
- "key": "strokeWidth",
1639
- "kind": "ANY",
1640
- "required": false,
1641
- "description": "Stroke width, in user units."
1642
- },
1643
- {
1644
- "key": "text",
1645
- "kind": "STRING",
1646
- "required": false,
1647
- "description": "The text to draw."
1648
- },
1649
- {
1650
- "key": "textAnchor",
1651
- "kind": "STRING",
1652
- "required": false,
1653
- "description": "Where x is on the text.",
1654
- "values": [
1655
- "start",
1656
- "middle",
1657
- "end"
1658
- ]
1659
- },
1660
- {
1661
- "key": "title",
1662
- "kind": "STRING",
1663
- "required": false,
1664
- "description": "Tooltip text (an SVG <title>)."
1665
- },
1666
- {
1667
- "key": "transform",
1668
- "kind": "STRING",
1669
- "required": false,
1670
- "description": "SVG transform, e.g. \"rotate(45 12 12)\"."
1671
- },
1672
- {
1673
- "key": "x",
1674
- "kind": "ANY",
1675
- "required": false,
1676
- "description": "Anchor x."
1677
- },
1678
- {
1679
- "key": "y",
1680
- "kind": "ANY",
1681
- "required": false,
1682
- "description": "Baseline y."
1683
- }
1684
- ]
1685
- }
1686
- ]
1687
- }