@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,3860 +0,0 @@
1
- {
2
- "name": "shadcn",
3
- "version": 1,
4
- "description": "The shadcn families beyond ui@1 (alert dialogs, sheets, drawers, menus, calendars, carousels, resizable panels, bento grids ...), charts and the raw inspector.",
5
- "components": [
6
- {
7
- "name": "AlertDialog",
8
- "description": "A modal dialog that interrupts to confirm a decision.",
9
- "context": "HTML",
10
- "children_context": null,
11
- "inherits_context": false,
12
- "accepts_children": true,
13
- "downstream_of": [],
14
- "not_downstream_of": [],
15
- "text_prop": null,
16
- "props": [
17
- {
18
- "key": "defaultOpen",
19
- "kind": "BOOL",
20
- "required": false,
21
- "description": "Open on mount when uncontrolled."
22
- },
23
- {
24
- "key": "onOpenChange",
25
- "kind": "CALLBACK",
26
- "required": false,
27
- "description": "Runs when the surface opens or closes. May read event.value.",
28
- "event": [
29
- {
30
- "key": "value",
31
- "kind": "BOOL",
32
- "description": "Whether it is open now."
33
- }
34
- ]
35
- },
36
- {
37
- "key": "open",
38
- "kind": "BOOL",
39
- "required": false,
40
- "description": "Controlled open state."
41
- }
42
- ]
43
- },
44
- {
45
- "name": "AlertDialogAction",
46
- "description": "The confirming button of an AlertDialog; closes it when clicked.",
47
- "context": "HTML",
48
- "children_context": null,
49
- "inherits_context": false,
50
- "accepts_children": false,
51
- "downstream_of": [],
52
- "not_downstream_of": [],
53
- "text_prop": null,
54
- "props": [
55
- {
56
- "key": "className",
57
- "kind": "STRING",
58
- "required": false,
59
- "description": "Extra Tailwind classes appended to the element."
60
- },
61
- {
62
- "key": "label",
63
- "kind": "ANY",
64
- "required": false,
65
- "description": "Button text."
66
- },
67
- {
68
- "key": "onClick",
69
- "kind": "CALLBACK",
70
- "required": false,
71
- "description": "Runs when the action is confirmed.",
72
- "event": []
73
- }
74
- ]
75
- },
76
- {
77
- "name": "AlertDialogCancel",
78
- "description": "The dismissing button of an AlertDialog.",
79
- "context": "HTML",
80
- "children_context": null,
81
- "inherits_context": false,
82
- "accepts_children": false,
83
- "downstream_of": [],
84
- "not_downstream_of": [],
85
- "text_prop": null,
86
- "props": [
87
- {
88
- "key": "className",
89
- "kind": "STRING",
90
- "required": false,
91
- "description": "Extra Tailwind classes appended to the element."
92
- },
93
- {
94
- "key": "label",
95
- "kind": "ANY",
96
- "required": false,
97
- "description": "Button text."
98
- }
99
- ]
100
- },
101
- {
102
- "name": "AlertDialogContent",
103
- "description": "The modal panel of an AlertDialog.",
104
- "context": "HTML",
105
- "children_context": null,
106
- "inherits_context": false,
107
- "accepts_children": true,
108
- "downstream_of": [],
109
- "not_downstream_of": [],
110
- "text_prop": null,
111
- "props": [
112
- {
113
- "key": "className",
114
- "kind": "STRING",
115
- "required": false,
116
- "description": "Extra Tailwind classes appended to the element."
117
- }
118
- ]
119
- },
120
- {
121
- "name": "AlertDialogDescription",
122
- "description": "Supporting text under an AlertDialogTitle.",
123
- "context": "HTML",
124
- "children_context": null,
125
- "inherits_context": false,
126
- "accepts_children": true,
127
- "downstream_of": [],
128
- "not_downstream_of": [],
129
- "text_prop": null,
130
- "props": [
131
- {
132
- "key": "className",
133
- "kind": "STRING",
134
- "required": false,
135
- "description": "Extra Tailwind classes appended to the element."
136
- },
137
- {
138
- "key": "text",
139
- "kind": "ANY",
140
- "required": false,
141
- "description": "The text to render."
142
- }
143
- ]
144
- },
145
- {
146
- "name": "AlertDialogFooter",
147
- "description": "The footer region of an AlertDialogContent.",
148
- "context": "HTML",
149
- "children_context": null,
150
- "inherits_context": false,
151
- "accepts_children": true,
152
- "downstream_of": [],
153
- "not_downstream_of": [],
154
- "text_prop": null,
155
- "props": [
156
- {
157
- "key": "className",
158
- "kind": "STRING",
159
- "required": false,
160
- "description": "Extra Tailwind classes appended to the element."
161
- }
162
- ]
163
- },
164
- {
165
- "name": "AlertDialogHeader",
166
- "description": "The header region of an AlertDialogContent.",
167
- "context": "HTML",
168
- "children_context": null,
169
- "inherits_context": false,
170
- "accepts_children": true,
171
- "downstream_of": [],
172
- "not_downstream_of": [],
173
- "text_prop": null,
174
- "props": [
175
- {
176
- "key": "className",
177
- "kind": "STRING",
178
- "required": false,
179
- "description": "Extra Tailwind classes appended to the element."
180
- }
181
- ]
182
- },
183
- {
184
- "name": "AlertDialogTitle",
185
- "description": "The accessible title of an AlertDialog.",
186
- "context": "HTML",
187
- "children_context": null,
188
- "inherits_context": false,
189
- "accepts_children": true,
190
- "downstream_of": [],
191
- "not_downstream_of": [],
192
- "text_prop": null,
193
- "props": [
194
- {
195
- "key": "className",
196
- "kind": "STRING",
197
- "required": false,
198
- "description": "Extra Tailwind classes appended to the element."
199
- },
200
- {
201
- "key": "text",
202
- "kind": "ANY",
203
- "required": false,
204
- "description": "The text to render."
205
- }
206
- ]
207
- },
208
- {
209
- "name": "AlertDialogTrigger",
210
- "description": "The control that opens an AlertDialog.",
211
- "context": "HTML",
212
- "children_context": null,
213
- "inherits_context": false,
214
- "accepts_children": true,
215
- "downstream_of": [],
216
- "not_downstream_of": [],
217
- "text_prop": null,
218
- "props": [
219
- {
220
- "key": "className",
221
- "kind": "STRING",
222
- "required": false,
223
- "description": "Extra Tailwind classes appended to the element."
224
- },
225
- {
226
- "key": "disabled",
227
- "kind": "BOOL",
228
- "required": false,
229
- "description": "Disables the control."
230
- },
231
- {
232
- "key": "icon",
233
- "kind": "STRING",
234
- "required": false,
235
- "description": "Icon rendered before the label.",
236
- "values": [
237
- "activity",
238
- "alert-circle",
239
- "alert-triangle",
240
- "archive",
241
- "arrow-down",
242
- "arrow-left",
243
- "arrow-right",
244
- "arrow-up",
245
- "at-sign",
246
- "ban",
247
- "bar-chart",
248
- "bell",
249
- "bookmark",
250
- "box",
251
- "braces",
252
- "calendar",
253
- "camera",
254
- "check",
255
- "check-circle",
256
- "chevron-down",
257
- "chevron-left",
258
- "chevron-right",
259
- "chevron-up",
260
- "chevrons-up-down",
261
- "circle",
262
- "circle-dot",
263
- "clipboard",
264
- "clock",
265
- "cloud",
266
- "code",
267
- "cog",
268
- "copy",
269
- "cpu",
270
- "database",
271
- "download",
272
- "edit",
273
- "external-link",
274
- "eye",
275
- "eye-off",
276
- "file",
277
- "file-text",
278
- "filter",
279
- "flag",
280
- "folder",
281
- "folder-open",
282
- "gauge",
283
- "globe",
284
- "grid",
285
- "hash",
286
- "heart",
287
- "help-circle",
288
- "history",
289
- "home",
290
- "image",
291
- "inbox",
292
- "info",
293
- "key",
294
- "layers",
295
- "layout",
296
- "link",
297
- "list",
298
- "loader",
299
- "lock",
300
- "log-in",
301
- "log-out",
302
- "mail",
303
- "map",
304
- "maximize",
305
- "menu",
306
- "message",
307
- "microscope",
308
- "minimize",
309
- "minus",
310
- "monitor",
311
- "more-horizontal",
312
- "more-vertical",
313
- "move",
314
- "network",
315
- "package",
316
- "paperclip",
317
- "pause",
318
- "pencil",
319
- "play",
320
- "plus",
321
- "power",
322
- "refresh",
323
- "rocket",
324
- "rotate-ccw",
325
- "save",
326
- "search",
327
- "send",
328
- "server",
329
- "settings",
330
- "share",
331
- "shield",
332
- "skip-forward",
333
- "sliders",
334
- "square",
335
- "star",
336
- "stop",
337
- "table",
338
- "tag",
339
- "terminal",
340
- "thumbs-down",
341
- "thumbs-up",
342
- "trash",
343
- "trending-down",
344
- "trending-up",
345
- "upload",
346
- "user",
347
- "user-plus",
348
- "users",
349
- "video",
350
- "wand",
351
- "workflow",
352
- "wrench",
353
- "x",
354
- "x-circle",
355
- "zap",
356
- "zoom-in",
357
- "zoom-out"
358
- ]
359
- },
360
- {
361
- "key": "label",
362
- "kind": "ANY",
363
- "required": false,
364
- "description": "Trigger text."
365
- }
366
- ]
367
- },
368
- {
369
- "name": "AspectRatio",
370
- "description": "Constrains its content to a fixed aspect ratio.",
371
- "context": "HTML",
372
- "children_context": null,
373
- "inherits_context": false,
374
- "accepts_children": true,
375
- "downstream_of": [],
376
- "not_downstream_of": [],
377
- "text_prop": null,
378
- "props": [
379
- {
380
- "key": "className",
381
- "kind": "STRING",
382
- "required": false,
383
- "description": "Extra Tailwind classes appended to the element."
384
- },
385
- {
386
- "key": "ratio",
387
- "kind": "FLOAT",
388
- "required": false,
389
- "description": "Width divided by height, e.g. 1.777."
390
- }
391
- ]
392
- },
393
- {
394
- "name": "Avatar",
395
- "description": "A user or entity avatar.",
396
- "context": "HTML",
397
- "children_context": null,
398
- "inherits_context": false,
399
- "accepts_children": false,
400
- "downstream_of": [],
401
- "not_downstream_of": [],
402
- "text_prop": null,
403
- "props": [
404
- {
405
- "key": "alt",
406
- "kind": "ANY",
407
- "required": false,
408
- "description": "Alternative text."
409
- },
410
- {
411
- "key": "className",
412
- "kind": "STRING",
413
- "required": false,
414
- "description": "Extra Tailwind classes appended to the element."
415
- },
416
- {
417
- "key": "fallback",
418
- "kind": "ANY",
419
- "required": false,
420
- "description": "Initials shown while the image is missing."
421
- },
422
- {
423
- "key": "size",
424
- "kind": "STRING",
425
- "required": false,
426
- "description": "Avatar size.",
427
- "values": [
428
- "default",
429
- "sm",
430
- "lg"
431
- ]
432
- },
433
- {
434
- "key": "src",
435
- "kind": "ANY",
436
- "required": false,
437
- "description": "Image URL, or an image its app registered as an asset: `{self.assets.logo}`."
438
- }
439
- ]
440
- },
441
- {
442
- "name": "BentoGrid",
443
- "description": "A bento grid: tiles in order, each sized as close to its preferred span as the columns allow, packed without holes.",
444
- "context": "HTML",
445
- "children_context": null,
446
- "inherits_context": false,
447
- "accepts_children": true,
448
- "downstream_of": [],
449
- "not_downstream_of": [],
450
- "text_prop": null,
451
- "props": [
452
- {
453
- "key": "animate",
454
- "kind": "BOOL",
455
- "required": false,
456
- "description": "Animate items entering, leaving and moving. Default true."
457
- },
458
- {
459
- "key": "appear",
460
- "kind": "BOOL",
461
- "required": false,
462
- "description": "Also animate the items present on first render."
463
- },
464
- {
465
- "key": "background",
466
- "kind": "ANY",
467
- "required": false,
468
- "description": "CSS background value."
469
- },
470
- {
471
- "key": "borderColor",
472
- "kind": "ANY",
473
- "required": false,
474
- "description": "CSS border colour."
475
- },
476
- {
477
- "key": "className",
478
- "kind": "STRING",
479
- "required": false,
480
- "description": "Extra Tailwind classes appended to the element."
481
- },
482
- {
483
- "key": "color",
484
- "kind": "ANY",
485
- "required": false,
486
- "description": "CSS text colour."
487
- },
488
- {
489
- "key": "columns",
490
- "kind": "ANY",
491
- "required": false,
492
- "description": "Column count, optionally per breakpoint: {\"base\":2,\"md\":4,\"lg\":6}. Defaults to 4."
493
- },
494
- {
495
- "key": "gap",
496
- "kind": "STRING",
497
- "required": false,
498
- "description": "CSS spacing value, e.g. \"0.5rem\"."
499
- },
500
- {
501
- "key": "grow",
502
- "kind": "FLOAT",
503
- "required": false,
504
- "description": "flex-grow."
505
- },
506
- {
507
- "key": "height",
508
- "kind": "STRING",
509
- "required": false,
510
- "description": "CSS length, e.g. \"12rem\" or \"100%\"."
511
- },
512
- {
513
- "key": "holeCost",
514
- "kind": "FLOAT",
515
- "required": false,
516
- "description": "Cost per empty cell inside the layout. Default 10."
517
- },
518
- {
519
- "key": "margin",
520
- "kind": "STRING",
521
- "required": false,
522
- "description": "CSS spacing value, e.g. \"0.5rem\"."
523
- },
524
- {
525
- "key": "maxHeight",
526
- "kind": "STRING",
527
- "required": false,
528
- "description": "CSS length, e.g. \"12rem\" or \"100%\"."
529
- },
530
- {
531
- "key": "maxWidth",
532
- "kind": "STRING",
533
- "required": false,
534
- "description": "CSS length, e.g. \"12rem\" or \"100%\"."
535
- },
536
- {
537
- "key": "minHeight",
538
- "kind": "STRING",
539
- "required": false,
540
- "description": "CSS length, e.g. \"12rem\" or \"100%\"."
541
- },
542
- {
543
- "key": "minWidth",
544
- "kind": "STRING",
545
- "required": false,
546
- "description": "CSS length, e.g. \"12rem\" or \"100%\"."
547
- },
548
- {
549
- "key": "overflow",
550
- "kind": "STRING",
551
- "required": false,
552
- "description": "Overflow behaviour.",
553
- "values": [
554
- "visible",
555
- "hidden",
556
- "auto",
557
- "scroll"
558
- ]
559
- },
560
- {
561
- "key": "padding",
562
- "kind": "STRING",
563
- "required": false,
564
- "description": "CSS spacing value, e.g. \"0.5rem\"."
565
- },
566
- {
567
- "key": "radius",
568
- "kind": "STRING",
569
- "required": false,
570
- "description": "CSS border radius."
571
- },
572
- {
573
- "key": "raggedCost",
574
- "kind": "FLOAT",
575
- "required": false,
576
- "description": "Cost per empty cell along the bottom edge. Defaults to holeCost."
577
- },
578
- {
579
- "key": "rowHeight",
580
- "kind": "ANY",
581
- "required": false,
582
- "description": "Row height in px or a CSS length, optionally per breakpoint. Defaults to \"10rem\"."
583
- },
584
- {
585
- "key": "shrink",
586
- "kind": "FLOAT",
587
- "required": false,
588
- "description": "flex-shrink."
589
- },
590
- {
591
- "key": "width",
592
- "kind": "STRING",
593
- "required": false,
594
- "description": "CSS length, e.g. \"12rem\" or \"100%\"."
595
- }
596
- ]
597
- },
598
- {
599
- "name": "BentoItem",
600
- "description": "One tile of a BentoGrid; fills the cells the grid gives it.",
601
- "context": "HTML",
602
- "children_context": null,
603
- "inherits_context": false,
604
- "accepts_children": true,
605
- "downstream_of": [
606
- "BentoGrid"
607
- ],
608
- "not_downstream_of": [],
609
- "text_prop": null,
610
- "props": [
611
- {
612
- "key": "background",
613
- "kind": "ANY",
614
- "required": false,
615
- "description": "CSS background value."
616
- },
617
- {
618
- "key": "borderColor",
619
- "kind": "ANY",
620
- "required": false,
621
- "description": "CSS border colour."
622
- },
623
- {
624
- "key": "className",
625
- "kind": "STRING",
626
- "required": false,
627
- "description": "Extra Tailwind classes appended to the element."
628
- },
629
- {
630
- "key": "color",
631
- "kind": "ANY",
632
- "required": false,
633
- "description": "CSS text colour."
634
- },
635
- {
636
- "key": "cols",
637
- "kind": "ANY",
638
- "required": false,
639
- "description": "Column span: 2, {\"min\":1,\"ideal\":2,\"max\":3}, {\"ideal\":\"50%\"}, or one per breakpoint ({\"base\":1,\"md\":2}). Static; read by the parent BentoGrid. Defaults to 1."
640
- },
641
- {
642
- "key": "gap",
643
- "kind": "STRING",
644
- "required": false,
645
- "description": "CSS spacing value, e.g. \"0.5rem\"."
646
- },
647
- {
648
- "key": "grow",
649
- "kind": "FLOAT",
650
- "required": false,
651
- "description": "flex-grow."
652
- },
653
- {
654
- "key": "height",
655
- "kind": "STRING",
656
- "required": false,
657
- "description": "CSS length, e.g. \"12rem\" or \"100%\"."
658
- },
659
- {
660
- "key": "margin",
661
- "kind": "STRING",
662
- "required": false,
663
- "description": "CSS spacing value, e.g. \"0.5rem\"."
664
- },
665
- {
666
- "key": "maxHeight",
667
- "kind": "STRING",
668
- "required": false,
669
- "description": "CSS length, e.g. \"12rem\" or \"100%\"."
670
- },
671
- {
672
- "key": "maxWidth",
673
- "kind": "STRING",
674
- "required": false,
675
- "description": "CSS length, e.g. \"12rem\" or \"100%\"."
676
- },
677
- {
678
- "key": "minHeight",
679
- "kind": "STRING",
680
- "required": false,
681
- "description": "CSS length, e.g. \"12rem\" or \"100%\"."
682
- },
683
- {
684
- "key": "minWidth",
685
- "kind": "STRING",
686
- "required": false,
687
- "description": "CSS length, e.g. \"12rem\" or \"100%\"."
688
- },
689
- {
690
- "key": "overflow",
691
- "kind": "STRING",
692
- "required": false,
693
- "description": "Overflow behaviour.",
694
- "values": [
695
- "visible",
696
- "hidden",
697
- "auto",
698
- "scroll"
699
- ]
700
- },
701
- {
702
- "key": "padding",
703
- "kind": "STRING",
704
- "required": false,
705
- "description": "CSS spacing value, e.g. \"0.5rem\"."
706
- },
707
- {
708
- "key": "priority",
709
- "kind": "ANY",
710
- "required": false,
711
- "description": "How strongly the item holds its ideal size: 1 normal, 2-3 key tiles, 0.5 fillers that flex first, 0 takes whatever closes the layout. Static."
712
- },
713
- {
714
- "key": "radius",
715
- "kind": "STRING",
716
- "required": false,
717
- "description": "CSS border radius."
718
- },
719
- {
720
- "key": "rows",
721
- "kind": "ANY",
722
- "required": false,
723
- "description": "Row span, same forms as cols. Static; read by the parent BentoGrid. Defaults to 1."
724
- },
725
- {
726
- "key": "show",
727
- "kind": "ANY",
728
- "required": false,
729
- "description": "false leaves the item out, optionally per breakpoint. Static."
730
- },
731
- {
732
- "key": "shrink",
733
- "kind": "FLOAT",
734
- "required": false,
735
- "description": "flex-shrink."
736
- },
737
- {
738
- "key": "width",
739
- "kind": "STRING",
740
- "required": false,
741
- "description": "CSS length, e.g. \"12rem\" or \"100%\"."
742
- }
743
- ]
744
- },
745
- {
746
- "name": "Breadcrumb",
747
- "description": "A trail of links back up the hierarchy.",
748
- "context": "HTML",
749
- "children_context": null,
750
- "inherits_context": false,
751
- "accepts_children": true,
752
- "downstream_of": [],
753
- "not_downstream_of": [],
754
- "text_prop": null,
755
- "props": [
756
- {
757
- "key": "className",
758
- "kind": "STRING",
759
- "required": false,
760
- "description": "Extra Tailwind classes appended to the element."
761
- }
762
- ]
763
- },
764
- {
765
- "name": "BreadcrumbItem",
766
- "description": "One crumb in a Breadcrumb.",
767
- "context": "HTML",
768
- "children_context": null,
769
- "inherits_context": false,
770
- "accepts_children": false,
771
- "downstream_of": [],
772
- "not_downstream_of": [],
773
- "text_prop": null,
774
- "props": [
775
- {
776
- "key": "className",
777
- "kind": "STRING",
778
- "required": false,
779
- "description": "Extra Tailwind classes appended to the element."
780
- },
781
- {
782
- "key": "current",
783
- "kind": "BOOL",
784
- "required": false,
785
- "description": "Render as the current page rather than a link."
786
- },
787
- {
788
- "key": "href",
789
- "kind": "ANY",
790
- "required": false,
791
- "description": "Link target."
792
- },
793
- {
794
- "key": "label",
795
- "kind": "ANY",
796
- "required": false,
797
- "description": "Crumb text."
798
- },
799
- {
800
- "key": "onClick",
801
- "kind": "CALLBACK",
802
- "required": false,
803
- "description": "Runs when the crumb is clicked.",
804
- "event": []
805
- }
806
- ]
807
- },
808
- {
809
- "name": "BreadcrumbSeparator",
810
- "description": "The divider between two crumbs.",
811
- "context": "HTML",
812
- "children_context": null,
813
- "inherits_context": false,
814
- "accepts_children": false,
815
- "downstream_of": [],
816
- "not_downstream_of": [],
817
- "text_prop": null,
818
- "props": [
819
- {
820
- "key": "className",
821
- "kind": "STRING",
822
- "required": false,
823
- "description": "Extra Tailwind classes appended to the element."
824
- }
825
- ]
826
- },
827
- {
828
- "name": "ButtonGroup",
829
- "description": "Groups related buttons into one connected control.",
830
- "context": "HTML",
831
- "children_context": null,
832
- "inherits_context": false,
833
- "accepts_children": true,
834
- "downstream_of": [],
835
- "not_downstream_of": [],
836
- "text_prop": null,
837
- "props": [
838
- {
839
- "key": "className",
840
- "kind": "STRING",
841
- "required": false,
842
- "description": "Extra Tailwind classes appended to the element."
843
- },
844
- {
845
- "key": "orientation",
846
- "kind": "STRING",
847
- "required": false,
848
- "description": "Orientation.",
849
- "values": [
850
- "horizontal",
851
- "vertical"
852
- ]
853
- }
854
- ]
855
- },
856
- {
857
- "name": "Calendar",
858
- "description": "An inline date picker.",
859
- "context": "HTML",
860
- "children_context": null,
861
- "inherits_context": false,
862
- "accepts_children": false,
863
- "downstream_of": [],
864
- "not_downstream_of": [],
865
- "text_prop": null,
866
- "props": [
867
- {
868
- "key": "bind",
869
- "kind": "STRING",
870
- "required": false,
871
- "description": "Data-model path holding an ISO date string (YYYY-MM-DD). It writes a STRING: the local is a STRING, ENUM or DATE port."
872
- },
873
- {
874
- "key": "className",
875
- "kind": "STRING",
876
- "required": false,
877
- "description": "Extra Tailwind classes appended to the element."
878
- },
879
- {
880
- "key": "defaultValue",
881
- "kind": "ANY",
882
- "required": false,
883
- "description": "Initial ISO date."
884
- },
885
- {
886
- "key": "disabled",
887
- "kind": "BOOL",
888
- "required": false,
889
- "description": "Disables the control."
890
- },
891
- {
892
- "key": "onChange",
893
- "kind": "CALLBACK",
894
- "required": false,
895
- "description": "Runs on selection. Arguments may read event.value.",
896
- "event": [
897
- {
898
- "key": "value",
899
- "kind": "STRING",
900
- "description": "The date picked, as an ISO date (YYYY-MM-DD)."
901
- }
902
- ]
903
- },
904
- {
905
- "key": "value",
906
- "kind": "ANY",
907
- "required": false,
908
- "description": "Controlled ISO date."
909
- }
910
- ]
911
- },
912
- {
913
- "name": "Carousel",
914
- "description": "A horizontally scrolling set of slides.",
915
- "context": "HTML",
916
- "children_context": null,
917
- "inherits_context": false,
918
- "accepts_children": true,
919
- "downstream_of": [],
920
- "not_downstream_of": [],
921
- "text_prop": null,
922
- "props": [
923
- {
924
- "key": "className",
925
- "kind": "STRING",
926
- "required": false,
927
- "description": "Extra Tailwind classes appended to the element."
928
- },
929
- {
930
- "key": "orientation",
931
- "kind": "STRING",
932
- "required": false,
933
- "description": "Scroll direction.",
934
- "values": [
935
- "horizontal",
936
- "vertical"
937
- ]
938
- },
939
- {
940
- "key": "showControls",
941
- "kind": "BOOL",
942
- "required": false,
943
- "description": "Show previous/next buttons. Defaults to true."
944
- }
945
- ]
946
- },
947
- {
948
- "name": "CarouselItem",
949
- "description": "One slide of a Carousel.",
950
- "context": "HTML",
951
- "children_context": null,
952
- "inherits_context": false,
953
- "accepts_children": true,
954
- "downstream_of": [],
955
- "not_downstream_of": [],
956
- "text_prop": null,
957
- "props": [
958
- {
959
- "key": "className",
960
- "kind": "STRING",
961
- "required": false,
962
- "description": "Extra Tailwind classes appended to the element."
963
- }
964
- ]
965
- },
966
- {
967
- "name": "Chart",
968
- "description": "A line, bar, area or pie chart over tabular data.",
969
- "context": "HTML",
970
- "children_context": null,
971
- "inherits_context": false,
972
- "accepts_children": false,
973
- "downstream_of": [],
974
- "not_downstream_of": [],
975
- "text_prop": null,
976
- "props": [
977
- {
978
- "key": "categoryKey",
979
- "kind": "STRING",
980
- "required": false,
981
- "description": "Key holding the x-axis (or slice) label. Defaults to \"name\"."
982
- },
983
- {
984
- "key": "className",
985
- "kind": "STRING",
986
- "required": false,
987
- "description": "Extra Tailwind classes appended to the element."
988
- },
989
- {
990
- "key": "data",
991
- "kind": "LIST",
992
- "required": false,
993
- "description": "One object per point, keyed by category and series key."
994
- },
995
- {
996
- "key": "height",
997
- "kind": "FLOAT",
998
- "required": false,
999
- "description": "Chart height in pixels."
1000
- },
1001
- {
1002
- "key": "series",
1003
- "kind": "LIST",
1004
- "required": false,
1005
- "description": "Series to plot: {key, label?, color?} per entry."
1006
- },
1007
- {
1008
- "key": "showGrid",
1009
- "kind": "BOOL",
1010
- "required": false,
1011
- "description": "Draw the cartesian grid. Defaults to true."
1012
- },
1013
- {
1014
- "key": "showLegend",
1015
- "kind": "BOOL",
1016
- "required": false,
1017
- "description": "Show the legend."
1018
- },
1019
- {
1020
- "key": "stacked",
1021
- "kind": "BOOL",
1022
- "required": false,
1023
- "description": "Stack bar or area series."
1024
- },
1025
- {
1026
- "key": "type",
1027
- "kind": "STRING",
1028
- "required": false,
1029
- "description": "Chart kind. Defaults to \"line\".",
1030
- "values": [
1031
- "line",
1032
- "bar",
1033
- "area",
1034
- "pie"
1035
- ]
1036
- }
1037
- ]
1038
- },
1039
- {
1040
- "name": "Collapsible",
1041
- "description": "A single region that can be shown or hidden.",
1042
- "context": "HTML",
1043
- "children_context": null,
1044
- "inherits_context": false,
1045
- "accepts_children": true,
1046
- "downstream_of": [],
1047
- "not_downstream_of": [],
1048
- "text_prop": null,
1049
- "props": [
1050
- {
1051
- "key": "className",
1052
- "kind": "STRING",
1053
- "required": false,
1054
- "description": "Extra Tailwind classes appended to the element."
1055
- },
1056
- {
1057
- "key": "defaultOpen",
1058
- "kind": "BOOL",
1059
- "required": false,
1060
- "description": "Open on mount when uncontrolled."
1061
- },
1062
- {
1063
- "key": "onChange",
1064
- "kind": "CALLBACK",
1065
- "required": false,
1066
- "description": "Runs when it opens or closes. May read event.value.",
1067
- "event": [
1068
- {
1069
- "key": "value",
1070
- "kind": "BOOL",
1071
- "description": "Whether it is open now."
1072
- }
1073
- ]
1074
- },
1075
- {
1076
- "key": "open",
1077
- "kind": "BOOL",
1078
- "required": false,
1079
- "description": "Controlled open state."
1080
- }
1081
- ]
1082
- },
1083
- {
1084
- "name": "CollapsibleContent",
1085
- "description": "The region a Collapsible shows or hides.",
1086
- "context": "HTML",
1087
- "children_context": null,
1088
- "inherits_context": false,
1089
- "accepts_children": true,
1090
- "downstream_of": [],
1091
- "not_downstream_of": [],
1092
- "text_prop": null,
1093
- "props": [
1094
- {
1095
- "key": "className",
1096
- "kind": "STRING",
1097
- "required": false,
1098
- "description": "Extra Tailwind classes appended to the element."
1099
- }
1100
- ]
1101
- },
1102
- {
1103
- "name": "CollapsibleTrigger",
1104
- "description": "The control that shows or hides a Collapsible.",
1105
- "context": "HTML",
1106
- "children_context": null,
1107
- "inherits_context": false,
1108
- "accepts_children": true,
1109
- "downstream_of": [],
1110
- "not_downstream_of": [],
1111
- "text_prop": null,
1112
- "props": [
1113
- {
1114
- "key": "className",
1115
- "kind": "STRING",
1116
- "required": false,
1117
- "description": "Extra Tailwind classes appended to the element."
1118
- },
1119
- {
1120
- "key": "icon",
1121
- "kind": "STRING",
1122
- "required": false,
1123
- "description": "Icon rendered before the label.",
1124
- "values": [
1125
- "activity",
1126
- "alert-circle",
1127
- "alert-triangle",
1128
- "archive",
1129
- "arrow-down",
1130
- "arrow-left",
1131
- "arrow-right",
1132
- "arrow-up",
1133
- "at-sign",
1134
- "ban",
1135
- "bar-chart",
1136
- "bell",
1137
- "bookmark",
1138
- "box",
1139
- "braces",
1140
- "calendar",
1141
- "camera",
1142
- "check",
1143
- "check-circle",
1144
- "chevron-down",
1145
- "chevron-left",
1146
- "chevron-right",
1147
- "chevron-up",
1148
- "chevrons-up-down",
1149
- "circle",
1150
- "circle-dot",
1151
- "clipboard",
1152
- "clock",
1153
- "cloud",
1154
- "code",
1155
- "cog",
1156
- "copy",
1157
- "cpu",
1158
- "database",
1159
- "download",
1160
- "edit",
1161
- "external-link",
1162
- "eye",
1163
- "eye-off",
1164
- "file",
1165
- "file-text",
1166
- "filter",
1167
- "flag",
1168
- "folder",
1169
- "folder-open",
1170
- "gauge",
1171
- "globe",
1172
- "grid",
1173
- "hash",
1174
- "heart",
1175
- "help-circle",
1176
- "history",
1177
- "home",
1178
- "image",
1179
- "inbox",
1180
- "info",
1181
- "key",
1182
- "layers",
1183
- "layout",
1184
- "link",
1185
- "list",
1186
- "loader",
1187
- "lock",
1188
- "log-in",
1189
- "log-out",
1190
- "mail",
1191
- "map",
1192
- "maximize",
1193
- "menu",
1194
- "message",
1195
- "microscope",
1196
- "minimize",
1197
- "minus",
1198
- "monitor",
1199
- "more-horizontal",
1200
- "more-vertical",
1201
- "move",
1202
- "network",
1203
- "package",
1204
- "paperclip",
1205
- "pause",
1206
- "pencil",
1207
- "play",
1208
- "plus",
1209
- "power",
1210
- "refresh",
1211
- "rocket",
1212
- "rotate-ccw",
1213
- "save",
1214
- "search",
1215
- "send",
1216
- "server",
1217
- "settings",
1218
- "share",
1219
- "shield",
1220
- "skip-forward",
1221
- "sliders",
1222
- "square",
1223
- "star",
1224
- "stop",
1225
- "table",
1226
- "tag",
1227
- "terminal",
1228
- "thumbs-down",
1229
- "thumbs-up",
1230
- "trash",
1231
- "trending-down",
1232
- "trending-up",
1233
- "upload",
1234
- "user",
1235
- "user-plus",
1236
- "users",
1237
- "video",
1238
- "wand",
1239
- "workflow",
1240
- "wrench",
1241
- "x",
1242
- "x-circle",
1243
- "zap",
1244
- "zoom-in",
1245
- "zoom-out"
1246
- ]
1247
- },
1248
- {
1249
- "key": "label",
1250
- "kind": "ANY",
1251
- "required": false,
1252
- "description": "Trigger text."
1253
- }
1254
- ]
1255
- },
1256
- {
1257
- "name": "ContextMenu",
1258
- "description": "A menu opened by right-clicking its trigger.",
1259
- "context": "HTML",
1260
- "children_context": null,
1261
- "inherits_context": false,
1262
- "accepts_children": true,
1263
- "downstream_of": [],
1264
- "not_downstream_of": [],
1265
- "text_prop": null,
1266
- "props": [
1267
- {
1268
- "key": "defaultOpen",
1269
- "kind": "BOOL",
1270
- "required": false,
1271
- "description": "Open on mount when uncontrolled."
1272
- },
1273
- {
1274
- "key": "onOpenChange",
1275
- "kind": "CALLBACK",
1276
- "required": false,
1277
- "description": "Runs when the surface opens or closes. May read event.value.",
1278
- "event": [
1279
- {
1280
- "key": "value",
1281
- "kind": "BOOL",
1282
- "description": "Whether it is open now."
1283
- }
1284
- ]
1285
- },
1286
- {
1287
- "key": "open",
1288
- "kind": "BOOL",
1289
- "required": false,
1290
- "description": "Controlled open state."
1291
- }
1292
- ]
1293
- },
1294
- {
1295
- "name": "ContextMenuCheckboxItem",
1296
- "description": "A context-menu item bound to a boolean value.",
1297
- "context": "HTML",
1298
- "children_context": null,
1299
- "inherits_context": false,
1300
- "accepts_children": false,
1301
- "downstream_of": [],
1302
- "not_downstream_of": [],
1303
- "text_prop": null,
1304
- "props": [
1305
- {
1306
- "key": "bind",
1307
- "kind": "BOOL",
1308
- "required": false,
1309
- "description": "The local (or a path below one) this control reads and writes: bind={name}. It writes a BOOL: the local is a BOOL port."
1310
- },
1311
- {
1312
- "key": "checked",
1313
- "kind": "BOOL",
1314
- "required": false,
1315
- "description": "Controlled checked state."
1316
- },
1317
- {
1318
- "key": "className",
1319
- "kind": "STRING",
1320
- "required": false,
1321
- "description": "Extra Tailwind classes appended to the element."
1322
- },
1323
- {
1324
- "key": "disabled",
1325
- "kind": "BOOL",
1326
- "required": false,
1327
- "description": "Disables the control."
1328
- },
1329
- {
1330
- "key": "label",
1331
- "kind": "ANY",
1332
- "required": false,
1333
- "description": "Item text."
1334
- },
1335
- {
1336
- "key": "onChange",
1337
- "kind": "CALLBACK",
1338
- "required": false,
1339
- "description": "Runs on toggle. Arguments may read event.value.",
1340
- "event": [
1341
- {
1342
- "key": "value",
1343
- "kind": "BOOL",
1344
- "description": "The new checked state."
1345
- }
1346
- ]
1347
- }
1348
- ]
1349
- },
1350
- {
1351
- "name": "ContextMenuContent",
1352
- "description": "The menu panel of a ContextMenu.",
1353
- "context": "HTML",
1354
- "children_context": null,
1355
- "inherits_context": false,
1356
- "accepts_children": true,
1357
- "downstream_of": [],
1358
- "not_downstream_of": [],
1359
- "text_prop": null,
1360
- "props": [
1361
- {
1362
- "key": "className",
1363
- "kind": "STRING",
1364
- "required": false,
1365
- "description": "Extra Tailwind classes appended to the element."
1366
- }
1367
- ]
1368
- },
1369
- {
1370
- "name": "ContextMenuItem",
1371
- "description": "One selectable item in a ContextMenu.",
1372
- "context": "HTML",
1373
- "children_context": null,
1374
- "inherits_context": false,
1375
- "accepts_children": true,
1376
- "downstream_of": [],
1377
- "not_downstream_of": [],
1378
- "text_prop": null,
1379
- "props": [
1380
- {
1381
- "key": "className",
1382
- "kind": "STRING",
1383
- "required": false,
1384
- "description": "Extra Tailwind classes appended to the element."
1385
- },
1386
- {
1387
- "key": "disabled",
1388
- "kind": "BOOL",
1389
- "required": false,
1390
- "description": "Disables the control."
1391
- },
1392
- {
1393
- "key": "icon",
1394
- "kind": "STRING",
1395
- "required": false,
1396
- "description": "Icon rendered before the label.",
1397
- "values": [
1398
- "activity",
1399
- "alert-circle",
1400
- "alert-triangle",
1401
- "archive",
1402
- "arrow-down",
1403
- "arrow-left",
1404
- "arrow-right",
1405
- "arrow-up",
1406
- "at-sign",
1407
- "ban",
1408
- "bar-chart",
1409
- "bell",
1410
- "bookmark",
1411
- "box",
1412
- "braces",
1413
- "calendar",
1414
- "camera",
1415
- "check",
1416
- "check-circle",
1417
- "chevron-down",
1418
- "chevron-left",
1419
- "chevron-right",
1420
- "chevron-up",
1421
- "chevrons-up-down",
1422
- "circle",
1423
- "circle-dot",
1424
- "clipboard",
1425
- "clock",
1426
- "cloud",
1427
- "code",
1428
- "cog",
1429
- "copy",
1430
- "cpu",
1431
- "database",
1432
- "download",
1433
- "edit",
1434
- "external-link",
1435
- "eye",
1436
- "eye-off",
1437
- "file",
1438
- "file-text",
1439
- "filter",
1440
- "flag",
1441
- "folder",
1442
- "folder-open",
1443
- "gauge",
1444
- "globe",
1445
- "grid",
1446
- "hash",
1447
- "heart",
1448
- "help-circle",
1449
- "history",
1450
- "home",
1451
- "image",
1452
- "inbox",
1453
- "info",
1454
- "key",
1455
- "layers",
1456
- "layout",
1457
- "link",
1458
- "list",
1459
- "loader",
1460
- "lock",
1461
- "log-in",
1462
- "log-out",
1463
- "mail",
1464
- "map",
1465
- "maximize",
1466
- "menu",
1467
- "message",
1468
- "microscope",
1469
- "minimize",
1470
- "minus",
1471
- "monitor",
1472
- "more-horizontal",
1473
- "more-vertical",
1474
- "move",
1475
- "network",
1476
- "package",
1477
- "paperclip",
1478
- "pause",
1479
- "pencil",
1480
- "play",
1481
- "plus",
1482
- "power",
1483
- "refresh",
1484
- "rocket",
1485
- "rotate-ccw",
1486
- "save",
1487
- "search",
1488
- "send",
1489
- "server",
1490
- "settings",
1491
- "share",
1492
- "shield",
1493
- "skip-forward",
1494
- "sliders",
1495
- "square",
1496
- "star",
1497
- "stop",
1498
- "table",
1499
- "tag",
1500
- "terminal",
1501
- "thumbs-down",
1502
- "thumbs-up",
1503
- "trash",
1504
- "trending-down",
1505
- "trending-up",
1506
- "upload",
1507
- "user",
1508
- "user-plus",
1509
- "users",
1510
- "video",
1511
- "wand",
1512
- "workflow",
1513
- "wrench",
1514
- "x",
1515
- "x-circle",
1516
- "zap",
1517
- "zoom-in",
1518
- "zoom-out"
1519
- ]
1520
- },
1521
- {
1522
- "key": "label",
1523
- "kind": "ANY",
1524
- "required": false,
1525
- "description": "Item text."
1526
- },
1527
- {
1528
- "key": "onSelect",
1529
- "kind": "CALLBACK",
1530
- "required": false,
1531
- "description": "Runs when the item is chosen.",
1532
- "event": []
1533
- },
1534
- {
1535
- "key": "variant",
1536
- "kind": "STRING",
1537
- "required": false,
1538
- "description": "Item appearance.",
1539
- "values": [
1540
- "default",
1541
- "destructive"
1542
- ]
1543
- }
1544
- ]
1545
- },
1546
- {
1547
- "name": "ContextMenuLabel",
1548
- "description": "A non-interactive heading inside a context menu.",
1549
- "context": "HTML",
1550
- "children_context": null,
1551
- "inherits_context": false,
1552
- "accepts_children": true,
1553
- "downstream_of": [],
1554
- "not_downstream_of": [],
1555
- "text_prop": null,
1556
- "props": [
1557
- {
1558
- "key": "className",
1559
- "kind": "STRING",
1560
- "required": false,
1561
- "description": "Extra Tailwind classes appended to the element."
1562
- },
1563
- {
1564
- "key": "text",
1565
- "kind": "ANY",
1566
- "required": false,
1567
- "description": "The text to render."
1568
- }
1569
- ]
1570
- },
1571
- {
1572
- "name": "ContextMenuSeparator",
1573
- "description": "A divider between context-menu groups.",
1574
- "context": "HTML",
1575
- "children_context": null,
1576
- "inherits_context": false,
1577
- "accepts_children": false,
1578
- "downstream_of": [],
1579
- "not_downstream_of": [],
1580
- "text_prop": null,
1581
- "props": [
1582
- {
1583
- "key": "className",
1584
- "kind": "STRING",
1585
- "required": false,
1586
- "description": "Extra Tailwind classes appended to the element."
1587
- }
1588
- ]
1589
- },
1590
- {
1591
- "name": "ContextMenuTrigger",
1592
- "description": "The region that opens a ContextMenu on right-click.",
1593
- "context": "HTML",
1594
- "children_context": null,
1595
- "inherits_context": false,
1596
- "accepts_children": true,
1597
- "downstream_of": [],
1598
- "not_downstream_of": [],
1599
- "text_prop": null,
1600
- "props": [
1601
- {
1602
- "key": "className",
1603
- "kind": "STRING",
1604
- "required": false,
1605
- "description": "Extra Tailwind classes appended to the element."
1606
- },
1607
- {
1608
- "key": "disabled",
1609
- "kind": "BOOL",
1610
- "required": false,
1611
- "description": "Disables the control."
1612
- }
1613
- ]
1614
- },
1615
- {
1616
- "name": "Drawer",
1617
- "description": "A panel that slides up from the bottom edge.",
1618
- "context": "HTML",
1619
- "children_context": null,
1620
- "inherits_context": false,
1621
- "accepts_children": true,
1622
- "downstream_of": [],
1623
- "not_downstream_of": [],
1624
- "text_prop": null,
1625
- "props": [
1626
- {
1627
- "key": "defaultOpen",
1628
- "kind": "BOOL",
1629
- "required": false,
1630
- "description": "Open on mount when uncontrolled."
1631
- },
1632
- {
1633
- "key": "onOpenChange",
1634
- "kind": "CALLBACK",
1635
- "required": false,
1636
- "description": "Runs when the surface opens or closes. May read event.value.",
1637
- "event": [
1638
- {
1639
- "key": "value",
1640
- "kind": "BOOL",
1641
- "description": "Whether it is open now."
1642
- }
1643
- ]
1644
- },
1645
- {
1646
- "key": "open",
1647
- "kind": "BOOL",
1648
- "required": false,
1649
- "description": "Controlled open state."
1650
- }
1651
- ]
1652
- },
1653
- {
1654
- "name": "DrawerContent",
1655
- "description": "The sliding panel of a Drawer.",
1656
- "context": "HTML",
1657
- "children_context": null,
1658
- "inherits_context": false,
1659
- "accepts_children": true,
1660
- "downstream_of": [],
1661
- "not_downstream_of": [],
1662
- "text_prop": null,
1663
- "props": [
1664
- {
1665
- "key": "className",
1666
- "kind": "STRING",
1667
- "required": false,
1668
- "description": "Extra Tailwind classes appended to the element."
1669
- }
1670
- ]
1671
- },
1672
- {
1673
- "name": "DrawerDescription",
1674
- "description": "Supporting text under a DrawerTitle.",
1675
- "context": "HTML",
1676
- "children_context": null,
1677
- "inherits_context": false,
1678
- "accepts_children": true,
1679
- "downstream_of": [],
1680
- "not_downstream_of": [],
1681
- "text_prop": null,
1682
- "props": [
1683
- {
1684
- "key": "className",
1685
- "kind": "STRING",
1686
- "required": false,
1687
- "description": "Extra Tailwind classes appended to the element."
1688
- },
1689
- {
1690
- "key": "text",
1691
- "kind": "ANY",
1692
- "required": false,
1693
- "description": "The text to render."
1694
- }
1695
- ]
1696
- },
1697
- {
1698
- "name": "DrawerFooter",
1699
- "description": "The footer region of a DrawerContent.",
1700
- "context": "HTML",
1701
- "children_context": null,
1702
- "inherits_context": false,
1703
- "accepts_children": true,
1704
- "downstream_of": [],
1705
- "not_downstream_of": [],
1706
- "text_prop": null,
1707
- "props": [
1708
- {
1709
- "key": "className",
1710
- "kind": "STRING",
1711
- "required": false,
1712
- "description": "Extra Tailwind classes appended to the element."
1713
- }
1714
- ]
1715
- },
1716
- {
1717
- "name": "DrawerHeader",
1718
- "description": "The header region of a DrawerContent.",
1719
- "context": "HTML",
1720
- "children_context": null,
1721
- "inherits_context": false,
1722
- "accepts_children": true,
1723
- "downstream_of": [],
1724
- "not_downstream_of": [],
1725
- "text_prop": null,
1726
- "props": [
1727
- {
1728
- "key": "className",
1729
- "kind": "STRING",
1730
- "required": false,
1731
- "description": "Extra Tailwind classes appended to the element."
1732
- }
1733
- ]
1734
- },
1735
- {
1736
- "name": "DrawerTitle",
1737
- "description": "The accessible title of a Drawer.",
1738
- "context": "HTML",
1739
- "children_context": null,
1740
- "inherits_context": false,
1741
- "accepts_children": true,
1742
- "downstream_of": [],
1743
- "not_downstream_of": [],
1744
- "text_prop": null,
1745
- "props": [
1746
- {
1747
- "key": "className",
1748
- "kind": "STRING",
1749
- "required": false,
1750
- "description": "Extra Tailwind classes appended to the element."
1751
- },
1752
- {
1753
- "key": "text",
1754
- "kind": "ANY",
1755
- "required": false,
1756
- "description": "The text to render."
1757
- }
1758
- ]
1759
- },
1760
- {
1761
- "name": "DrawerTrigger",
1762
- "description": "The control that opens a Drawer.",
1763
- "context": "HTML",
1764
- "children_context": null,
1765
- "inherits_context": false,
1766
- "accepts_children": true,
1767
- "downstream_of": [],
1768
- "not_downstream_of": [],
1769
- "text_prop": null,
1770
- "props": [
1771
- {
1772
- "key": "className",
1773
- "kind": "STRING",
1774
- "required": false,
1775
- "description": "Extra Tailwind classes appended to the element."
1776
- },
1777
- {
1778
- "key": "disabled",
1779
- "kind": "BOOL",
1780
- "required": false,
1781
- "description": "Disables the control."
1782
- },
1783
- {
1784
- "key": "icon",
1785
- "kind": "STRING",
1786
- "required": false,
1787
- "description": "Icon rendered before the label.",
1788
- "values": [
1789
- "activity",
1790
- "alert-circle",
1791
- "alert-triangle",
1792
- "archive",
1793
- "arrow-down",
1794
- "arrow-left",
1795
- "arrow-right",
1796
- "arrow-up",
1797
- "at-sign",
1798
- "ban",
1799
- "bar-chart",
1800
- "bell",
1801
- "bookmark",
1802
- "box",
1803
- "braces",
1804
- "calendar",
1805
- "camera",
1806
- "check",
1807
- "check-circle",
1808
- "chevron-down",
1809
- "chevron-left",
1810
- "chevron-right",
1811
- "chevron-up",
1812
- "chevrons-up-down",
1813
- "circle",
1814
- "circle-dot",
1815
- "clipboard",
1816
- "clock",
1817
- "cloud",
1818
- "code",
1819
- "cog",
1820
- "copy",
1821
- "cpu",
1822
- "database",
1823
- "download",
1824
- "edit",
1825
- "external-link",
1826
- "eye",
1827
- "eye-off",
1828
- "file",
1829
- "file-text",
1830
- "filter",
1831
- "flag",
1832
- "folder",
1833
- "folder-open",
1834
- "gauge",
1835
- "globe",
1836
- "grid",
1837
- "hash",
1838
- "heart",
1839
- "help-circle",
1840
- "history",
1841
- "home",
1842
- "image",
1843
- "inbox",
1844
- "info",
1845
- "key",
1846
- "layers",
1847
- "layout",
1848
- "link",
1849
- "list",
1850
- "loader",
1851
- "lock",
1852
- "log-in",
1853
- "log-out",
1854
- "mail",
1855
- "map",
1856
- "maximize",
1857
- "menu",
1858
- "message",
1859
- "microscope",
1860
- "minimize",
1861
- "minus",
1862
- "monitor",
1863
- "more-horizontal",
1864
- "more-vertical",
1865
- "move",
1866
- "network",
1867
- "package",
1868
- "paperclip",
1869
- "pause",
1870
- "pencil",
1871
- "play",
1872
- "plus",
1873
- "power",
1874
- "refresh",
1875
- "rocket",
1876
- "rotate-ccw",
1877
- "save",
1878
- "search",
1879
- "send",
1880
- "server",
1881
- "settings",
1882
- "share",
1883
- "shield",
1884
- "skip-forward",
1885
- "sliders",
1886
- "square",
1887
- "star",
1888
- "stop",
1889
- "table",
1890
- "tag",
1891
- "terminal",
1892
- "thumbs-down",
1893
- "thumbs-up",
1894
- "trash",
1895
- "trending-down",
1896
- "trending-up",
1897
- "upload",
1898
- "user",
1899
- "user-plus",
1900
- "users",
1901
- "video",
1902
- "wand",
1903
- "workflow",
1904
- "wrench",
1905
- "x",
1906
- "x-circle",
1907
- "zap",
1908
- "zoom-in",
1909
- "zoom-out"
1910
- ]
1911
- },
1912
- {
1913
- "key": "label",
1914
- "kind": "ANY",
1915
- "required": false,
1916
- "description": "Trigger text."
1917
- }
1918
- ]
1919
- },
1920
- {
1921
- "name": "DropdownMenu",
1922
- "description": "A menu opened from a button.",
1923
- "context": "HTML",
1924
- "children_context": null,
1925
- "inherits_context": false,
1926
- "accepts_children": true,
1927
- "downstream_of": [],
1928
- "not_downstream_of": [],
1929
- "text_prop": null,
1930
- "props": [
1931
- {
1932
- "key": "defaultOpen",
1933
- "kind": "BOOL",
1934
- "required": false,
1935
- "description": "Open on mount when uncontrolled."
1936
- },
1937
- {
1938
- "key": "onOpenChange",
1939
- "kind": "CALLBACK",
1940
- "required": false,
1941
- "description": "Runs when the surface opens or closes. May read event.value.",
1942
- "event": [
1943
- {
1944
- "key": "value",
1945
- "kind": "BOOL",
1946
- "description": "Whether it is open now."
1947
- }
1948
- ]
1949
- },
1950
- {
1951
- "key": "open",
1952
- "kind": "BOOL",
1953
- "required": false,
1954
- "description": "Controlled open state."
1955
- }
1956
- ]
1957
- },
1958
- {
1959
- "name": "DropdownMenuCheckboxItem",
1960
- "description": "A menu item bound to a boolean value.",
1961
- "context": "HTML",
1962
- "children_context": null,
1963
- "inherits_context": false,
1964
- "accepts_children": false,
1965
- "downstream_of": [],
1966
- "not_downstream_of": [],
1967
- "text_prop": null,
1968
- "props": [
1969
- {
1970
- "key": "bind",
1971
- "kind": "BOOL",
1972
- "required": false,
1973
- "description": "The local (or a path below one) this control reads and writes: bind={name}. It writes a BOOL: the local is a BOOL port."
1974
- },
1975
- {
1976
- "key": "checked",
1977
- "kind": "BOOL",
1978
- "required": false,
1979
- "description": "Controlled checked state."
1980
- },
1981
- {
1982
- "key": "className",
1983
- "kind": "STRING",
1984
- "required": false,
1985
- "description": "Extra Tailwind classes appended to the element."
1986
- },
1987
- {
1988
- "key": "disabled",
1989
- "kind": "BOOL",
1990
- "required": false,
1991
- "description": "Disables the control."
1992
- },
1993
- {
1994
- "key": "label",
1995
- "kind": "ANY",
1996
- "required": false,
1997
- "description": "Item text."
1998
- },
1999
- {
2000
- "key": "onChange",
2001
- "kind": "CALLBACK",
2002
- "required": false,
2003
- "description": "Runs on toggle. Arguments may read event.value.",
2004
- "event": [
2005
- {
2006
- "key": "value",
2007
- "kind": "BOOL",
2008
- "description": "The new checked state."
2009
- }
2010
- ]
2011
- }
2012
- ]
2013
- },
2014
- {
2015
- "name": "DropdownMenuContent",
2016
- "description": "The menu panel of a DropdownMenu.",
2017
- "context": "HTML",
2018
- "children_context": null,
2019
- "inherits_context": false,
2020
- "accepts_children": true,
2021
- "downstream_of": [],
2022
- "not_downstream_of": [],
2023
- "text_prop": null,
2024
- "props": [
2025
- {
2026
- "key": "className",
2027
- "kind": "STRING",
2028
- "required": false,
2029
- "description": "Extra Tailwind classes appended to the element."
2030
- }
2031
- ]
2032
- },
2033
- {
2034
- "name": "DropdownMenuItem",
2035
- "description": "One selectable item in a DropdownMenu.",
2036
- "context": "HTML",
2037
- "children_context": null,
2038
- "inherits_context": false,
2039
- "accepts_children": true,
2040
- "downstream_of": [],
2041
- "not_downstream_of": [],
2042
- "text_prop": null,
2043
- "props": [
2044
- {
2045
- "key": "className",
2046
- "kind": "STRING",
2047
- "required": false,
2048
- "description": "Extra Tailwind classes appended to the element."
2049
- },
2050
- {
2051
- "key": "disabled",
2052
- "kind": "BOOL",
2053
- "required": false,
2054
- "description": "Disables the control."
2055
- },
2056
- {
2057
- "key": "icon",
2058
- "kind": "STRING",
2059
- "required": false,
2060
- "description": "Icon rendered before the label.",
2061
- "values": [
2062
- "activity",
2063
- "alert-circle",
2064
- "alert-triangle",
2065
- "archive",
2066
- "arrow-down",
2067
- "arrow-left",
2068
- "arrow-right",
2069
- "arrow-up",
2070
- "at-sign",
2071
- "ban",
2072
- "bar-chart",
2073
- "bell",
2074
- "bookmark",
2075
- "box",
2076
- "braces",
2077
- "calendar",
2078
- "camera",
2079
- "check",
2080
- "check-circle",
2081
- "chevron-down",
2082
- "chevron-left",
2083
- "chevron-right",
2084
- "chevron-up",
2085
- "chevrons-up-down",
2086
- "circle",
2087
- "circle-dot",
2088
- "clipboard",
2089
- "clock",
2090
- "cloud",
2091
- "code",
2092
- "cog",
2093
- "copy",
2094
- "cpu",
2095
- "database",
2096
- "download",
2097
- "edit",
2098
- "external-link",
2099
- "eye",
2100
- "eye-off",
2101
- "file",
2102
- "file-text",
2103
- "filter",
2104
- "flag",
2105
- "folder",
2106
- "folder-open",
2107
- "gauge",
2108
- "globe",
2109
- "grid",
2110
- "hash",
2111
- "heart",
2112
- "help-circle",
2113
- "history",
2114
- "home",
2115
- "image",
2116
- "inbox",
2117
- "info",
2118
- "key",
2119
- "layers",
2120
- "layout",
2121
- "link",
2122
- "list",
2123
- "loader",
2124
- "lock",
2125
- "log-in",
2126
- "log-out",
2127
- "mail",
2128
- "map",
2129
- "maximize",
2130
- "menu",
2131
- "message",
2132
- "microscope",
2133
- "minimize",
2134
- "minus",
2135
- "monitor",
2136
- "more-horizontal",
2137
- "more-vertical",
2138
- "move",
2139
- "network",
2140
- "package",
2141
- "paperclip",
2142
- "pause",
2143
- "pencil",
2144
- "play",
2145
- "plus",
2146
- "power",
2147
- "refresh",
2148
- "rocket",
2149
- "rotate-ccw",
2150
- "save",
2151
- "search",
2152
- "send",
2153
- "server",
2154
- "settings",
2155
- "share",
2156
- "shield",
2157
- "skip-forward",
2158
- "sliders",
2159
- "square",
2160
- "star",
2161
- "stop",
2162
- "table",
2163
- "tag",
2164
- "terminal",
2165
- "thumbs-down",
2166
- "thumbs-up",
2167
- "trash",
2168
- "trending-down",
2169
- "trending-up",
2170
- "upload",
2171
- "user",
2172
- "user-plus",
2173
- "users",
2174
- "video",
2175
- "wand",
2176
- "workflow",
2177
- "wrench",
2178
- "x",
2179
- "x-circle",
2180
- "zap",
2181
- "zoom-in",
2182
- "zoom-out"
2183
- ]
2184
- },
2185
- {
2186
- "key": "label",
2187
- "kind": "ANY",
2188
- "required": false,
2189
- "description": "Item text."
2190
- },
2191
- {
2192
- "key": "onSelect",
2193
- "kind": "CALLBACK",
2194
- "required": false,
2195
- "description": "Runs when the item is chosen.",
2196
- "event": []
2197
- },
2198
- {
2199
- "key": "variant",
2200
- "kind": "STRING",
2201
- "required": false,
2202
- "description": "Item appearance.",
2203
- "values": [
2204
- "default",
2205
- "destructive"
2206
- ]
2207
- }
2208
- ]
2209
- },
2210
- {
2211
- "name": "DropdownMenuLabel",
2212
- "description": "A non-interactive heading inside a menu.",
2213
- "context": "HTML",
2214
- "children_context": null,
2215
- "inherits_context": false,
2216
- "accepts_children": true,
2217
- "downstream_of": [],
2218
- "not_downstream_of": [],
2219
- "text_prop": null,
2220
- "props": [
2221
- {
2222
- "key": "className",
2223
- "kind": "STRING",
2224
- "required": false,
2225
- "description": "Extra Tailwind classes appended to the element."
2226
- },
2227
- {
2228
- "key": "text",
2229
- "kind": "ANY",
2230
- "required": false,
2231
- "description": "The text to render."
2232
- }
2233
- ]
2234
- },
2235
- {
2236
- "name": "DropdownMenuSeparator",
2237
- "description": "A divider between menu groups.",
2238
- "context": "HTML",
2239
- "children_context": null,
2240
- "inherits_context": false,
2241
- "accepts_children": false,
2242
- "downstream_of": [],
2243
- "not_downstream_of": [],
2244
- "text_prop": null,
2245
- "props": [
2246
- {
2247
- "key": "className",
2248
- "kind": "STRING",
2249
- "required": false,
2250
- "description": "Extra Tailwind classes appended to the element."
2251
- }
2252
- ]
2253
- },
2254
- {
2255
- "name": "DropdownMenuTrigger",
2256
- "description": "The control that opens a DropdownMenu.",
2257
- "context": "HTML",
2258
- "children_context": null,
2259
- "inherits_context": false,
2260
- "accepts_children": true,
2261
- "downstream_of": [],
2262
- "not_downstream_of": [],
2263
- "text_prop": null,
2264
- "props": [
2265
- {
2266
- "key": "className",
2267
- "kind": "STRING",
2268
- "required": false,
2269
- "description": "Extra Tailwind classes appended to the element."
2270
- },
2271
- {
2272
- "key": "disabled",
2273
- "kind": "BOOL",
2274
- "required": false,
2275
- "description": "Disables the control."
2276
- },
2277
- {
2278
- "key": "icon",
2279
- "kind": "STRING",
2280
- "required": false,
2281
- "description": "Icon rendered before the label.",
2282
- "values": [
2283
- "activity",
2284
- "alert-circle",
2285
- "alert-triangle",
2286
- "archive",
2287
- "arrow-down",
2288
- "arrow-left",
2289
- "arrow-right",
2290
- "arrow-up",
2291
- "at-sign",
2292
- "ban",
2293
- "bar-chart",
2294
- "bell",
2295
- "bookmark",
2296
- "box",
2297
- "braces",
2298
- "calendar",
2299
- "camera",
2300
- "check",
2301
- "check-circle",
2302
- "chevron-down",
2303
- "chevron-left",
2304
- "chevron-right",
2305
- "chevron-up",
2306
- "chevrons-up-down",
2307
- "circle",
2308
- "circle-dot",
2309
- "clipboard",
2310
- "clock",
2311
- "cloud",
2312
- "code",
2313
- "cog",
2314
- "copy",
2315
- "cpu",
2316
- "database",
2317
- "download",
2318
- "edit",
2319
- "external-link",
2320
- "eye",
2321
- "eye-off",
2322
- "file",
2323
- "file-text",
2324
- "filter",
2325
- "flag",
2326
- "folder",
2327
- "folder-open",
2328
- "gauge",
2329
- "globe",
2330
- "grid",
2331
- "hash",
2332
- "heart",
2333
- "help-circle",
2334
- "history",
2335
- "home",
2336
- "image",
2337
- "inbox",
2338
- "info",
2339
- "key",
2340
- "layers",
2341
- "layout",
2342
- "link",
2343
- "list",
2344
- "loader",
2345
- "lock",
2346
- "log-in",
2347
- "log-out",
2348
- "mail",
2349
- "map",
2350
- "maximize",
2351
- "menu",
2352
- "message",
2353
- "microscope",
2354
- "minimize",
2355
- "minus",
2356
- "monitor",
2357
- "more-horizontal",
2358
- "more-vertical",
2359
- "move",
2360
- "network",
2361
- "package",
2362
- "paperclip",
2363
- "pause",
2364
- "pencil",
2365
- "play",
2366
- "plus",
2367
- "power",
2368
- "refresh",
2369
- "rocket",
2370
- "rotate-ccw",
2371
- "save",
2372
- "search",
2373
- "send",
2374
- "server",
2375
- "settings",
2376
- "share",
2377
- "shield",
2378
- "skip-forward",
2379
- "sliders",
2380
- "square",
2381
- "star",
2382
- "stop",
2383
- "table",
2384
- "tag",
2385
- "terminal",
2386
- "thumbs-down",
2387
- "thumbs-up",
2388
- "trash",
2389
- "trending-down",
2390
- "trending-up",
2391
- "upload",
2392
- "user",
2393
- "user-plus",
2394
- "users",
2395
- "video",
2396
- "wand",
2397
- "workflow",
2398
- "wrench",
2399
- "x",
2400
- "x-circle",
2401
- "zap",
2402
- "zoom-in",
2403
- "zoom-out"
2404
- ]
2405
- },
2406
- {
2407
- "key": "label",
2408
- "kind": "ANY",
2409
- "required": false,
2410
- "description": "Trigger text."
2411
- }
2412
- ]
2413
- },
2414
- {
2415
- "name": "HoverCard",
2416
- "description": "A rich preview surface shown on hover.",
2417
- "context": "HTML",
2418
- "children_context": null,
2419
- "inherits_context": false,
2420
- "accepts_children": true,
2421
- "downstream_of": [],
2422
- "not_downstream_of": [],
2423
- "text_prop": null,
2424
- "props": [
2425
- {
2426
- "key": "defaultOpen",
2427
- "kind": "BOOL",
2428
- "required": false,
2429
- "description": "Open on mount when uncontrolled."
2430
- },
2431
- {
2432
- "key": "onOpenChange",
2433
- "kind": "CALLBACK",
2434
- "required": false,
2435
- "description": "Runs when the surface opens or closes. May read event.value.",
2436
- "event": [
2437
- {
2438
- "key": "value",
2439
- "kind": "BOOL",
2440
- "description": "Whether it is open now."
2441
- }
2442
- ]
2443
- },
2444
- {
2445
- "key": "open",
2446
- "kind": "BOOL",
2447
- "required": false,
2448
- "description": "Controlled open state."
2449
- }
2450
- ]
2451
- },
2452
- {
2453
- "name": "HoverCardContent",
2454
- "description": "The floating panel of a HoverCard.",
2455
- "context": "HTML",
2456
- "children_context": null,
2457
- "inherits_context": false,
2458
- "accepts_children": true,
2459
- "downstream_of": [],
2460
- "not_downstream_of": [],
2461
- "text_prop": null,
2462
- "props": [
2463
- {
2464
- "key": "align",
2465
- "kind": "STRING",
2466
- "required": false,
2467
- "description": "Alignment of the surface against its trigger.",
2468
- "values": [
2469
- "start",
2470
- "center",
2471
- "end"
2472
- ]
2473
- },
2474
- {
2475
- "key": "className",
2476
- "kind": "STRING",
2477
- "required": false,
2478
- "description": "Extra Tailwind classes appended to the element."
2479
- },
2480
- {
2481
- "key": "side",
2482
- "kind": "STRING",
2483
- "required": false,
2484
- "description": "Which edge the surface is anchored to.",
2485
- "values": [
2486
- "top",
2487
- "right",
2488
- "bottom",
2489
- "left"
2490
- ]
2491
- },
2492
- {
2493
- "key": "sideOffset",
2494
- "kind": "FLOAT",
2495
- "required": false,
2496
- "description": "Distance from the trigger, in pixels."
2497
- }
2498
- ]
2499
- },
2500
- {
2501
- "name": "HoverCardTrigger",
2502
- "description": "The element a HoverCard previews.",
2503
- "context": "HTML",
2504
- "children_context": null,
2505
- "inherits_context": false,
2506
- "accepts_children": true,
2507
- "downstream_of": [],
2508
- "not_downstream_of": [],
2509
- "text_prop": null,
2510
- "props": [
2511
- {
2512
- "key": "className",
2513
- "kind": "STRING",
2514
- "required": false,
2515
- "description": "Extra Tailwind classes appended to the element."
2516
- },
2517
- {
2518
- "key": "disabled",
2519
- "kind": "BOOL",
2520
- "required": false,
2521
- "description": "Disables the control."
2522
- },
2523
- {
2524
- "key": "icon",
2525
- "kind": "STRING",
2526
- "required": false,
2527
- "description": "Icon rendered before the label.",
2528
- "values": [
2529
- "activity",
2530
- "alert-circle",
2531
- "alert-triangle",
2532
- "archive",
2533
- "arrow-down",
2534
- "arrow-left",
2535
- "arrow-right",
2536
- "arrow-up",
2537
- "at-sign",
2538
- "ban",
2539
- "bar-chart",
2540
- "bell",
2541
- "bookmark",
2542
- "box",
2543
- "braces",
2544
- "calendar",
2545
- "camera",
2546
- "check",
2547
- "check-circle",
2548
- "chevron-down",
2549
- "chevron-left",
2550
- "chevron-right",
2551
- "chevron-up",
2552
- "chevrons-up-down",
2553
- "circle",
2554
- "circle-dot",
2555
- "clipboard",
2556
- "clock",
2557
- "cloud",
2558
- "code",
2559
- "cog",
2560
- "copy",
2561
- "cpu",
2562
- "database",
2563
- "download",
2564
- "edit",
2565
- "external-link",
2566
- "eye",
2567
- "eye-off",
2568
- "file",
2569
- "file-text",
2570
- "filter",
2571
- "flag",
2572
- "folder",
2573
- "folder-open",
2574
- "gauge",
2575
- "globe",
2576
- "grid",
2577
- "hash",
2578
- "heart",
2579
- "help-circle",
2580
- "history",
2581
- "home",
2582
- "image",
2583
- "inbox",
2584
- "info",
2585
- "key",
2586
- "layers",
2587
- "layout",
2588
- "link",
2589
- "list",
2590
- "loader",
2591
- "lock",
2592
- "log-in",
2593
- "log-out",
2594
- "mail",
2595
- "map",
2596
- "maximize",
2597
- "menu",
2598
- "message",
2599
- "microscope",
2600
- "minimize",
2601
- "minus",
2602
- "monitor",
2603
- "more-horizontal",
2604
- "more-vertical",
2605
- "move",
2606
- "network",
2607
- "package",
2608
- "paperclip",
2609
- "pause",
2610
- "pencil",
2611
- "play",
2612
- "plus",
2613
- "power",
2614
- "refresh",
2615
- "rocket",
2616
- "rotate-ccw",
2617
- "save",
2618
- "search",
2619
- "send",
2620
- "server",
2621
- "settings",
2622
- "share",
2623
- "shield",
2624
- "skip-forward",
2625
- "sliders",
2626
- "square",
2627
- "star",
2628
- "stop",
2629
- "table",
2630
- "tag",
2631
- "terminal",
2632
- "thumbs-down",
2633
- "thumbs-up",
2634
- "trash",
2635
- "trending-down",
2636
- "trending-up",
2637
- "upload",
2638
- "user",
2639
- "user-plus",
2640
- "users",
2641
- "video",
2642
- "wand",
2643
- "workflow",
2644
- "wrench",
2645
- "x",
2646
- "x-circle",
2647
- "zap",
2648
- "zoom-in",
2649
- "zoom-out"
2650
- ]
2651
- },
2652
- {
2653
- "key": "label",
2654
- "kind": "ANY",
2655
- "required": false,
2656
- "description": "Trigger text."
2657
- }
2658
- ]
2659
- },
2660
- {
2661
- "name": "InputGroup",
2662
- "description": "Wraps an input with leading or trailing addons.",
2663
- "context": "HTML",
2664
- "children_context": null,
2665
- "inherits_context": false,
2666
- "accepts_children": true,
2667
- "downstream_of": [],
2668
- "not_downstream_of": [],
2669
- "text_prop": null,
2670
- "props": [
2671
- {
2672
- "key": "className",
2673
- "kind": "STRING",
2674
- "required": false,
2675
- "description": "Extra Tailwind classes appended to the element."
2676
- }
2677
- ]
2678
- },
2679
- {
2680
- "name": "InputGroupAddon",
2681
- "description": "A label, icon or button attached to an InputGroup.",
2682
- "context": "HTML",
2683
- "children_context": null,
2684
- "inherits_context": false,
2685
- "accepts_children": true,
2686
- "downstream_of": [],
2687
- "not_downstream_of": [],
2688
- "text_prop": null,
2689
- "props": [
2690
- {
2691
- "key": "align",
2692
- "kind": "STRING",
2693
- "required": false,
2694
- "description": "Where the addon sits relative to the input.",
2695
- "values": [
2696
- "inline-start",
2697
- "inline-end",
2698
- "block-start",
2699
- "block-end"
2700
- ]
2701
- },
2702
- {
2703
- "key": "className",
2704
- "kind": "STRING",
2705
- "required": false,
2706
- "description": "Extra Tailwind classes appended to the element."
2707
- },
2708
- {
2709
- "key": "icon",
2710
- "kind": "STRING",
2711
- "required": false,
2712
- "description": "Addon icon.",
2713
- "values": [
2714
- "activity",
2715
- "alert-circle",
2716
- "alert-triangle",
2717
- "archive",
2718
- "arrow-down",
2719
- "arrow-left",
2720
- "arrow-right",
2721
- "arrow-up",
2722
- "at-sign",
2723
- "ban",
2724
- "bar-chart",
2725
- "bell",
2726
- "bookmark",
2727
- "box",
2728
- "braces",
2729
- "calendar",
2730
- "camera",
2731
- "check",
2732
- "check-circle",
2733
- "chevron-down",
2734
- "chevron-left",
2735
- "chevron-right",
2736
- "chevron-up",
2737
- "chevrons-up-down",
2738
- "circle",
2739
- "circle-dot",
2740
- "clipboard",
2741
- "clock",
2742
- "cloud",
2743
- "code",
2744
- "cog",
2745
- "copy",
2746
- "cpu",
2747
- "database",
2748
- "download",
2749
- "edit",
2750
- "external-link",
2751
- "eye",
2752
- "eye-off",
2753
- "file",
2754
- "file-text",
2755
- "filter",
2756
- "flag",
2757
- "folder",
2758
- "folder-open",
2759
- "gauge",
2760
- "globe",
2761
- "grid",
2762
- "hash",
2763
- "heart",
2764
- "help-circle",
2765
- "history",
2766
- "home",
2767
- "image",
2768
- "inbox",
2769
- "info",
2770
- "key",
2771
- "layers",
2772
- "layout",
2773
- "link",
2774
- "list",
2775
- "loader",
2776
- "lock",
2777
- "log-in",
2778
- "log-out",
2779
- "mail",
2780
- "map",
2781
- "maximize",
2782
- "menu",
2783
- "message",
2784
- "microscope",
2785
- "minimize",
2786
- "minus",
2787
- "monitor",
2788
- "more-horizontal",
2789
- "more-vertical",
2790
- "move",
2791
- "network",
2792
- "package",
2793
- "paperclip",
2794
- "pause",
2795
- "pencil",
2796
- "play",
2797
- "plus",
2798
- "power",
2799
- "refresh",
2800
- "rocket",
2801
- "rotate-ccw",
2802
- "save",
2803
- "search",
2804
- "send",
2805
- "server",
2806
- "settings",
2807
- "share",
2808
- "shield",
2809
- "skip-forward",
2810
- "sliders",
2811
- "square",
2812
- "star",
2813
- "stop",
2814
- "table",
2815
- "tag",
2816
- "terminal",
2817
- "thumbs-down",
2818
- "thumbs-up",
2819
- "trash",
2820
- "trending-down",
2821
- "trending-up",
2822
- "upload",
2823
- "user",
2824
- "user-plus",
2825
- "users",
2826
- "video",
2827
- "wand",
2828
- "workflow",
2829
- "wrench",
2830
- "x",
2831
- "x-circle",
2832
- "zap",
2833
- "zoom-in",
2834
- "zoom-out"
2835
- ]
2836
- },
2837
- {
2838
- "key": "text",
2839
- "kind": "ANY",
2840
- "required": false,
2841
- "description": "Addon text."
2842
- }
2843
- ]
2844
- },
2845
- {
2846
- "name": "InputOTP",
2847
- "description": "A one-time-code input.",
2848
- "context": "HTML",
2849
- "children_context": null,
2850
- "inherits_context": false,
2851
- "accepts_children": false,
2852
- "downstream_of": [],
2853
- "not_downstream_of": [],
2854
- "text_prop": null,
2855
- "props": [
2856
- {
2857
- "key": "bind",
2858
- "kind": "STRING",
2859
- "required": false,
2860
- "description": "The local (or a path below one) this control reads and writes: bind={name}. It writes a STRING: the local is a STRING, ENUM or DATE port."
2861
- },
2862
- {
2863
- "key": "className",
2864
- "kind": "STRING",
2865
- "required": false,
2866
- "description": "Extra Tailwind classes appended to the element."
2867
- },
2868
- {
2869
- "key": "disabled",
2870
- "kind": "BOOL",
2871
- "required": false,
2872
- "description": "Disables the control."
2873
- },
2874
- {
2875
- "key": "length",
2876
- "kind": "FLOAT",
2877
- "required": false,
2878
- "description": "Number of slots. Defaults to 6."
2879
- },
2880
- {
2881
- "key": "onComplete",
2882
- "kind": "CALLBACK",
2883
- "required": false,
2884
- "description": "Runs once every slot is filled. Arguments may read event.value.",
2885
- "event": [
2886
- {
2887
- "key": "value",
2888
- "kind": "STRING",
2889
- "description": "The code entered."
2890
- }
2891
- ]
2892
- }
2893
- ]
2894
- },
2895
- {
2896
- "name": "Item",
2897
- "description": "A list row with a title, description and actions.",
2898
- "context": "HTML",
2899
- "children_context": null,
2900
- "inherits_context": false,
2901
- "accepts_children": true,
2902
- "downstream_of": [],
2903
- "not_downstream_of": [],
2904
- "text_prop": null,
2905
- "props": [
2906
- {
2907
- "key": "className",
2908
- "kind": "STRING",
2909
- "required": false,
2910
- "description": "Extra Tailwind classes appended to the element."
2911
- },
2912
- {
2913
- "key": "description",
2914
- "kind": "ANY",
2915
- "required": false,
2916
- "description": "Supporting text."
2917
- },
2918
- {
2919
- "key": "icon",
2920
- "kind": "STRING",
2921
- "required": false,
2922
- "description": "Icon shown in the media slot.",
2923
- "values": [
2924
- "activity",
2925
- "alert-circle",
2926
- "alert-triangle",
2927
- "archive",
2928
- "arrow-down",
2929
- "arrow-left",
2930
- "arrow-right",
2931
- "arrow-up",
2932
- "at-sign",
2933
- "ban",
2934
- "bar-chart",
2935
- "bell",
2936
- "bookmark",
2937
- "box",
2938
- "braces",
2939
- "calendar",
2940
- "camera",
2941
- "check",
2942
- "check-circle",
2943
- "chevron-down",
2944
- "chevron-left",
2945
- "chevron-right",
2946
- "chevron-up",
2947
- "chevrons-up-down",
2948
- "circle",
2949
- "circle-dot",
2950
- "clipboard",
2951
- "clock",
2952
- "cloud",
2953
- "code",
2954
- "cog",
2955
- "copy",
2956
- "cpu",
2957
- "database",
2958
- "download",
2959
- "edit",
2960
- "external-link",
2961
- "eye",
2962
- "eye-off",
2963
- "file",
2964
- "file-text",
2965
- "filter",
2966
- "flag",
2967
- "folder",
2968
- "folder-open",
2969
- "gauge",
2970
- "globe",
2971
- "grid",
2972
- "hash",
2973
- "heart",
2974
- "help-circle",
2975
- "history",
2976
- "home",
2977
- "image",
2978
- "inbox",
2979
- "info",
2980
- "key",
2981
- "layers",
2982
- "layout",
2983
- "link",
2984
- "list",
2985
- "loader",
2986
- "lock",
2987
- "log-in",
2988
- "log-out",
2989
- "mail",
2990
- "map",
2991
- "maximize",
2992
- "menu",
2993
- "message",
2994
- "microscope",
2995
- "minimize",
2996
- "minus",
2997
- "monitor",
2998
- "more-horizontal",
2999
- "more-vertical",
3000
- "move",
3001
- "network",
3002
- "package",
3003
- "paperclip",
3004
- "pause",
3005
- "pencil",
3006
- "play",
3007
- "plus",
3008
- "power",
3009
- "refresh",
3010
- "rocket",
3011
- "rotate-ccw",
3012
- "save",
3013
- "search",
3014
- "send",
3015
- "server",
3016
- "settings",
3017
- "share",
3018
- "shield",
3019
- "skip-forward",
3020
- "sliders",
3021
- "square",
3022
- "star",
3023
- "stop",
3024
- "table",
3025
- "tag",
3026
- "terminal",
3027
- "thumbs-down",
3028
- "thumbs-up",
3029
- "trash",
3030
- "trending-down",
3031
- "trending-up",
3032
- "upload",
3033
- "user",
3034
- "user-plus",
3035
- "users",
3036
- "video",
3037
- "wand",
3038
- "workflow",
3039
- "wrench",
3040
- "x",
3041
- "x-circle",
3042
- "zap",
3043
- "zoom-in",
3044
- "zoom-out"
3045
- ]
3046
- },
3047
- {
3048
- "key": "onClick",
3049
- "kind": "CALLBACK",
3050
- "required": false,
3051
- "description": "Runs when the item is clicked.",
3052
- "event": []
3053
- },
3054
- {
3055
- "key": "size",
3056
- "kind": "STRING",
3057
- "required": false,
3058
- "description": "Item density.",
3059
- "values": [
3060
- "default",
3061
- "sm"
3062
- ]
3063
- },
3064
- {
3065
- "key": "title",
3066
- "kind": "ANY",
3067
- "required": false,
3068
- "description": "Item title."
3069
- },
3070
- {
3071
- "key": "variant",
3072
- "kind": "STRING",
3073
- "required": false,
3074
- "description": "Item appearance.",
3075
- "values": [
3076
- "default",
3077
- "outline",
3078
- "muted"
3079
- ]
3080
- }
3081
- ]
3082
- },
3083
- {
3084
- "name": "ItemGroup",
3085
- "description": "A vertical list of Items.",
3086
- "context": "HTML",
3087
- "children_context": null,
3088
- "inherits_context": false,
3089
- "accepts_children": true,
3090
- "downstream_of": [],
3091
- "not_downstream_of": [],
3092
- "text_prop": null,
3093
- "props": [
3094
- {
3095
- "key": "className",
3096
- "kind": "STRING",
3097
- "required": false,
3098
- "description": "Extra Tailwind classes appended to the element."
3099
- }
3100
- ]
3101
- },
3102
- {
3103
- "name": "Kbd",
3104
- "description": "A keyboard key or shortcut.",
3105
- "context": "HTML",
3106
- "children_context": null,
3107
- "inherits_context": false,
3108
- "accepts_children": true,
3109
- "downstream_of": [],
3110
- "not_downstream_of": [],
3111
- "text_prop": null,
3112
- "props": [
3113
- {
3114
- "key": "className",
3115
- "kind": "STRING",
3116
- "required": false,
3117
- "description": "Extra Tailwind classes appended to the element."
3118
- },
3119
- {
3120
- "key": "text",
3121
- "kind": "ANY",
3122
- "required": false,
3123
- "description": "The key or chord to show."
3124
- }
3125
- ]
3126
- },
3127
- {
3128
- "name": "Menubar",
3129
- "description": "A horizontal bar of menus.",
3130
- "context": "HTML",
3131
- "children_context": null,
3132
- "inherits_context": false,
3133
- "accepts_children": true,
3134
- "downstream_of": [],
3135
- "not_downstream_of": [],
3136
- "text_prop": null,
3137
- "props": [
3138
- {
3139
- "key": "className",
3140
- "kind": "STRING",
3141
- "required": false,
3142
- "description": "Extra Tailwind classes appended to the element."
3143
- }
3144
- ]
3145
- },
3146
- {
3147
- "name": "MenubarItem",
3148
- "description": "One item inside a MenubarMenu.",
3149
- "context": "HTML",
3150
- "children_context": null,
3151
- "inherits_context": false,
3152
- "accepts_children": false,
3153
- "downstream_of": [],
3154
- "not_downstream_of": [],
3155
- "text_prop": null,
3156
- "props": [
3157
- {
3158
- "key": "className",
3159
- "kind": "STRING",
3160
- "required": false,
3161
- "description": "Extra Tailwind classes appended to the element."
3162
- },
3163
- {
3164
- "key": "disabled",
3165
- "kind": "BOOL",
3166
- "required": false,
3167
- "description": "Disables the control."
3168
- },
3169
- {
3170
- "key": "icon",
3171
- "kind": "STRING",
3172
- "required": false,
3173
- "description": "Icon rendered before the label.",
3174
- "values": [
3175
- "activity",
3176
- "alert-circle",
3177
- "alert-triangle",
3178
- "archive",
3179
- "arrow-down",
3180
- "arrow-left",
3181
- "arrow-right",
3182
- "arrow-up",
3183
- "at-sign",
3184
- "ban",
3185
- "bar-chart",
3186
- "bell",
3187
- "bookmark",
3188
- "box",
3189
- "braces",
3190
- "calendar",
3191
- "camera",
3192
- "check",
3193
- "check-circle",
3194
- "chevron-down",
3195
- "chevron-left",
3196
- "chevron-right",
3197
- "chevron-up",
3198
- "chevrons-up-down",
3199
- "circle",
3200
- "circle-dot",
3201
- "clipboard",
3202
- "clock",
3203
- "cloud",
3204
- "code",
3205
- "cog",
3206
- "copy",
3207
- "cpu",
3208
- "database",
3209
- "download",
3210
- "edit",
3211
- "external-link",
3212
- "eye",
3213
- "eye-off",
3214
- "file",
3215
- "file-text",
3216
- "filter",
3217
- "flag",
3218
- "folder",
3219
- "folder-open",
3220
- "gauge",
3221
- "globe",
3222
- "grid",
3223
- "hash",
3224
- "heart",
3225
- "help-circle",
3226
- "history",
3227
- "home",
3228
- "image",
3229
- "inbox",
3230
- "info",
3231
- "key",
3232
- "layers",
3233
- "layout",
3234
- "link",
3235
- "list",
3236
- "loader",
3237
- "lock",
3238
- "log-in",
3239
- "log-out",
3240
- "mail",
3241
- "map",
3242
- "maximize",
3243
- "menu",
3244
- "message",
3245
- "microscope",
3246
- "minimize",
3247
- "minus",
3248
- "monitor",
3249
- "more-horizontal",
3250
- "more-vertical",
3251
- "move",
3252
- "network",
3253
- "package",
3254
- "paperclip",
3255
- "pause",
3256
- "pencil",
3257
- "play",
3258
- "plus",
3259
- "power",
3260
- "refresh",
3261
- "rocket",
3262
- "rotate-ccw",
3263
- "save",
3264
- "search",
3265
- "send",
3266
- "server",
3267
- "settings",
3268
- "share",
3269
- "shield",
3270
- "skip-forward",
3271
- "sliders",
3272
- "square",
3273
- "star",
3274
- "stop",
3275
- "table",
3276
- "tag",
3277
- "terminal",
3278
- "thumbs-down",
3279
- "thumbs-up",
3280
- "trash",
3281
- "trending-down",
3282
- "trending-up",
3283
- "upload",
3284
- "user",
3285
- "user-plus",
3286
- "users",
3287
- "video",
3288
- "wand",
3289
- "workflow",
3290
- "wrench",
3291
- "x",
3292
- "x-circle",
3293
- "zap",
3294
- "zoom-in",
3295
- "zoom-out"
3296
- ]
3297
- },
3298
- {
3299
- "key": "label",
3300
- "kind": "ANY",
3301
- "required": false,
3302
- "description": "Item text."
3303
- },
3304
- {
3305
- "key": "onSelect",
3306
- "kind": "CALLBACK",
3307
- "required": false,
3308
- "description": "Runs when the item is chosen.",
3309
- "event": []
3310
- }
3311
- ]
3312
- },
3313
- {
3314
- "name": "MenubarMenu",
3315
- "description": "One menu in a Menubar, with its trigger and items.",
3316
- "context": "HTML",
3317
- "children_context": null,
3318
- "inherits_context": false,
3319
- "accepts_children": true,
3320
- "downstream_of": [],
3321
- "not_downstream_of": [],
3322
- "text_prop": null,
3323
- "props": [
3324
- {
3325
- "key": "className",
3326
- "kind": "STRING",
3327
- "required": false,
3328
- "description": "Extra Tailwind classes appended to the element."
3329
- },
3330
- {
3331
- "key": "label",
3332
- "kind": "ANY",
3333
- "required": false,
3334
- "description": "Menu title in the bar."
3335
- }
3336
- ]
3337
- },
3338
- {
3339
- "name": "MenubarSeparator",
3340
- "description": "A divider between menu groups.",
3341
- "context": "HTML",
3342
- "children_context": null,
3343
- "inherits_context": false,
3344
- "accepts_children": false,
3345
- "downstream_of": [],
3346
- "not_downstream_of": [],
3347
- "text_prop": null,
3348
- "props": [
3349
- {
3350
- "key": "className",
3351
- "kind": "STRING",
3352
- "required": false,
3353
- "description": "Extra Tailwind classes appended to the element."
3354
- }
3355
- ]
3356
- },
3357
- {
3358
- "name": "Pagination",
3359
- "description": "Page navigation controls.",
3360
- "context": "HTML",
3361
- "children_context": null,
3362
- "inherits_context": false,
3363
- "accepts_children": true,
3364
- "downstream_of": [],
3365
- "not_downstream_of": [],
3366
- "text_prop": null,
3367
- "props": [
3368
- {
3369
- "key": "className",
3370
- "kind": "STRING",
3371
- "required": false,
3372
- "description": "Extra Tailwind classes appended to the element."
3373
- }
3374
- ]
3375
- },
3376
- {
3377
- "name": "PaginationItem",
3378
- "description": "One control inside a Pagination.",
3379
- "context": "HTML",
3380
- "children_context": null,
3381
- "inherits_context": false,
3382
- "accepts_children": false,
3383
- "downstream_of": [],
3384
- "not_downstream_of": [],
3385
- "text_prop": null,
3386
- "props": [
3387
- {
3388
- "key": "active",
3389
- "kind": "BOOL",
3390
- "required": false,
3391
- "description": "Mark as the current page."
3392
- },
3393
- {
3394
- "key": "className",
3395
- "kind": "STRING",
3396
- "required": false,
3397
- "description": "Extra Tailwind classes appended to the element."
3398
- },
3399
- {
3400
- "key": "kind",
3401
- "kind": "STRING",
3402
- "required": false,
3403
- "description": "Which control this item is. Defaults to \"page\".",
3404
- "values": [
3405
- "page",
3406
- "previous",
3407
- "next",
3408
- "ellipsis"
3409
- ]
3410
- },
3411
- {
3412
- "key": "label",
3413
- "kind": "ANY",
3414
- "required": false,
3415
- "description": "Page label."
3416
- },
3417
- {
3418
- "key": "onClick",
3419
- "kind": "CALLBACK",
3420
- "required": false,
3421
- "description": "Runs when the control is clicked.",
3422
- "event": []
3423
- }
3424
- ]
3425
- },
3426
- {
3427
- "name": "RawInspector",
3428
- "description": "Debug view of a node's raw props.",
3429
- "context": "HTML",
3430
- "children_context": null,
3431
- "inherits_context": false,
3432
- "accepts_children": false,
3433
- "downstream_of": [],
3434
- "not_downstream_of": [],
3435
- "text_prop": null,
3436
- "props": [
3437
- {
3438
- "key": "name",
3439
- "kind": "STRING",
3440
- "required": true,
3441
- "description": "Label for the inspected node."
3442
- }
3443
- ]
3444
- },
3445
- {
3446
- "name": "Resizable",
3447
- "description": "A group of user-resizable panels.",
3448
- "context": "HTML",
3449
- "children_context": null,
3450
- "inherits_context": false,
3451
- "accepts_children": true,
3452
- "downstream_of": [],
3453
- "not_downstream_of": [],
3454
- "text_prop": null,
3455
- "props": [
3456
- {
3457
- "key": "className",
3458
- "kind": "STRING",
3459
- "required": false,
3460
- "description": "Extra Tailwind classes appended to the element."
3461
- },
3462
- {
3463
- "key": "direction",
3464
- "kind": "STRING",
3465
- "required": false,
3466
- "description": "\"row\" splits left/right, \"column\" top/bottom.",
3467
- "values": [
3468
- "row",
3469
- "column"
3470
- ]
3471
- }
3472
- ]
3473
- },
3474
- {
3475
- "name": "ResizableHandle",
3476
- "description": "The drag handle between two ResizablePanels.",
3477
- "context": "HTML",
3478
- "children_context": null,
3479
- "inherits_context": false,
3480
- "accepts_children": false,
3481
- "downstream_of": [],
3482
- "not_downstream_of": [],
3483
- "text_prop": null,
3484
- "props": [
3485
- {
3486
- "key": "className",
3487
- "kind": "STRING",
3488
- "required": false,
3489
- "description": "Extra Tailwind classes appended to the element."
3490
- },
3491
- {
3492
- "key": "withHandle",
3493
- "kind": "BOOL",
3494
- "required": false,
3495
- "description": "Show the grab affordance."
3496
- }
3497
- ]
3498
- },
3499
- {
3500
- "name": "ResizablePanel",
3501
- "description": "One panel inside a Resizable group.",
3502
- "context": "HTML",
3503
- "children_context": null,
3504
- "inherits_context": false,
3505
- "accepts_children": true,
3506
- "downstream_of": [],
3507
- "not_downstream_of": [],
3508
- "text_prop": null,
3509
- "props": [
3510
- {
3511
- "key": "className",
3512
- "kind": "STRING",
3513
- "required": false,
3514
- "description": "Extra Tailwind classes appended to the element."
3515
- },
3516
- {
3517
- "key": "defaultSize",
3518
- "kind": "FLOAT",
3519
- "required": false,
3520
- "description": "Initial size as a percentage of the group."
3521
- },
3522
- {
3523
- "key": "maxSize",
3524
- "kind": "FLOAT",
3525
- "required": false,
3526
- "description": "Maximum size percentage."
3527
- },
3528
- {
3529
- "key": "minSize",
3530
- "kind": "FLOAT",
3531
- "required": false,
3532
- "description": "Minimum size percentage."
3533
- }
3534
- ]
3535
- },
3536
- {
3537
- "name": "Sheet",
3538
- "description": "A panel that slides in from an edge.",
3539
- "context": "HTML",
3540
- "children_context": null,
3541
- "inherits_context": false,
3542
- "accepts_children": true,
3543
- "downstream_of": [],
3544
- "not_downstream_of": [],
3545
- "text_prop": null,
3546
- "props": [
3547
- {
3548
- "key": "defaultOpen",
3549
- "kind": "BOOL",
3550
- "required": false,
3551
- "description": "Open on mount when uncontrolled."
3552
- },
3553
- {
3554
- "key": "onOpenChange",
3555
- "kind": "CALLBACK",
3556
- "required": false,
3557
- "description": "Runs when the surface opens or closes. May read event.value.",
3558
- "event": [
3559
- {
3560
- "key": "value",
3561
- "kind": "BOOL",
3562
- "description": "Whether it is open now."
3563
- }
3564
- ]
3565
- },
3566
- {
3567
- "key": "open",
3568
- "kind": "BOOL",
3569
- "required": false,
3570
- "description": "Controlled open state."
3571
- }
3572
- ]
3573
- },
3574
- {
3575
- "name": "SheetContent",
3576
- "description": "The sliding panel of a Sheet.",
3577
- "context": "HTML",
3578
- "children_context": null,
3579
- "inherits_context": false,
3580
- "accepts_children": true,
3581
- "downstream_of": [],
3582
- "not_downstream_of": [],
3583
- "text_prop": null,
3584
- "props": [
3585
- {
3586
- "key": "className",
3587
- "kind": "STRING",
3588
- "required": false,
3589
- "description": "Extra Tailwind classes appended to the element."
3590
- },
3591
- {
3592
- "key": "showCloseButton",
3593
- "kind": "BOOL",
3594
- "required": false,
3595
- "description": "Show the corner close button. Defaults to true."
3596
- },
3597
- {
3598
- "key": "side",
3599
- "kind": "STRING",
3600
- "required": false,
3601
- "description": "Which edge the surface is anchored to.",
3602
- "values": [
3603
- "top",
3604
- "right",
3605
- "bottom",
3606
- "left"
3607
- ]
3608
- }
3609
- ]
3610
- },
3611
- {
3612
- "name": "SheetDescription",
3613
- "description": "Supporting text under a SheetTitle.",
3614
- "context": "HTML",
3615
- "children_context": null,
3616
- "inherits_context": false,
3617
- "accepts_children": true,
3618
- "downstream_of": [],
3619
- "not_downstream_of": [],
3620
- "text_prop": null,
3621
- "props": [
3622
- {
3623
- "key": "className",
3624
- "kind": "STRING",
3625
- "required": false,
3626
- "description": "Extra Tailwind classes appended to the element."
3627
- },
3628
- {
3629
- "key": "text",
3630
- "kind": "ANY",
3631
- "required": false,
3632
- "description": "The text to render."
3633
- }
3634
- ]
3635
- },
3636
- {
3637
- "name": "SheetFooter",
3638
- "description": "The footer region of a SheetContent.",
3639
- "context": "HTML",
3640
- "children_context": null,
3641
- "inherits_context": false,
3642
- "accepts_children": true,
3643
- "downstream_of": [],
3644
- "not_downstream_of": [],
3645
- "text_prop": null,
3646
- "props": [
3647
- {
3648
- "key": "className",
3649
- "kind": "STRING",
3650
- "required": false,
3651
- "description": "Extra Tailwind classes appended to the element."
3652
- }
3653
- ]
3654
- },
3655
- {
3656
- "name": "SheetHeader",
3657
- "description": "The header region of a SheetContent.",
3658
- "context": "HTML",
3659
- "children_context": null,
3660
- "inherits_context": false,
3661
- "accepts_children": true,
3662
- "downstream_of": [],
3663
- "not_downstream_of": [],
3664
- "text_prop": null,
3665
- "props": [
3666
- {
3667
- "key": "className",
3668
- "kind": "STRING",
3669
- "required": false,
3670
- "description": "Extra Tailwind classes appended to the element."
3671
- }
3672
- ]
3673
- },
3674
- {
3675
- "name": "SheetTitle",
3676
- "description": "The accessible title of a Sheet.",
3677
- "context": "HTML",
3678
- "children_context": null,
3679
- "inherits_context": false,
3680
- "accepts_children": true,
3681
- "downstream_of": [],
3682
- "not_downstream_of": [],
3683
- "text_prop": null,
3684
- "props": [
3685
- {
3686
- "key": "className",
3687
- "kind": "STRING",
3688
- "required": false,
3689
- "description": "Extra Tailwind classes appended to the element."
3690
- },
3691
- {
3692
- "key": "text",
3693
- "kind": "ANY",
3694
- "required": false,
3695
- "description": "The text to render."
3696
- }
3697
- ]
3698
- },
3699
- {
3700
- "name": "SheetTrigger",
3701
- "description": "The control that opens a Sheet.",
3702
- "context": "HTML",
3703
- "children_context": null,
3704
- "inherits_context": false,
3705
- "accepts_children": true,
3706
- "downstream_of": [],
3707
- "not_downstream_of": [],
3708
- "text_prop": null,
3709
- "props": [
3710
- {
3711
- "key": "className",
3712
- "kind": "STRING",
3713
- "required": false,
3714
- "description": "Extra Tailwind classes appended to the element."
3715
- },
3716
- {
3717
- "key": "disabled",
3718
- "kind": "BOOL",
3719
- "required": false,
3720
- "description": "Disables the control."
3721
- },
3722
- {
3723
- "key": "icon",
3724
- "kind": "STRING",
3725
- "required": false,
3726
- "description": "Icon rendered before the label.",
3727
- "values": [
3728
- "activity",
3729
- "alert-circle",
3730
- "alert-triangle",
3731
- "archive",
3732
- "arrow-down",
3733
- "arrow-left",
3734
- "arrow-right",
3735
- "arrow-up",
3736
- "at-sign",
3737
- "ban",
3738
- "bar-chart",
3739
- "bell",
3740
- "bookmark",
3741
- "box",
3742
- "braces",
3743
- "calendar",
3744
- "camera",
3745
- "check",
3746
- "check-circle",
3747
- "chevron-down",
3748
- "chevron-left",
3749
- "chevron-right",
3750
- "chevron-up",
3751
- "chevrons-up-down",
3752
- "circle",
3753
- "circle-dot",
3754
- "clipboard",
3755
- "clock",
3756
- "cloud",
3757
- "code",
3758
- "cog",
3759
- "copy",
3760
- "cpu",
3761
- "database",
3762
- "download",
3763
- "edit",
3764
- "external-link",
3765
- "eye",
3766
- "eye-off",
3767
- "file",
3768
- "file-text",
3769
- "filter",
3770
- "flag",
3771
- "folder",
3772
- "folder-open",
3773
- "gauge",
3774
- "globe",
3775
- "grid",
3776
- "hash",
3777
- "heart",
3778
- "help-circle",
3779
- "history",
3780
- "home",
3781
- "image",
3782
- "inbox",
3783
- "info",
3784
- "key",
3785
- "layers",
3786
- "layout",
3787
- "link",
3788
- "list",
3789
- "loader",
3790
- "lock",
3791
- "log-in",
3792
- "log-out",
3793
- "mail",
3794
- "map",
3795
- "maximize",
3796
- "menu",
3797
- "message",
3798
- "microscope",
3799
- "minimize",
3800
- "minus",
3801
- "monitor",
3802
- "more-horizontal",
3803
- "more-vertical",
3804
- "move",
3805
- "network",
3806
- "package",
3807
- "paperclip",
3808
- "pause",
3809
- "pencil",
3810
- "play",
3811
- "plus",
3812
- "power",
3813
- "refresh",
3814
- "rocket",
3815
- "rotate-ccw",
3816
- "save",
3817
- "search",
3818
- "send",
3819
- "server",
3820
- "settings",
3821
- "share",
3822
- "shield",
3823
- "skip-forward",
3824
- "sliders",
3825
- "square",
3826
- "star",
3827
- "stop",
3828
- "table",
3829
- "tag",
3830
- "terminal",
3831
- "thumbs-down",
3832
- "thumbs-up",
3833
- "trash",
3834
- "trending-down",
3835
- "trending-up",
3836
- "upload",
3837
- "user",
3838
- "user-plus",
3839
- "users",
3840
- "video",
3841
- "wand",
3842
- "workflow",
3843
- "wrench",
3844
- "x",
3845
- "x-circle",
3846
- "zap",
3847
- "zoom-in",
3848
- "zoom-out"
3849
- ]
3850
- },
3851
- {
3852
- "key": "label",
3853
- "kind": "ANY",
3854
- "required": false,
3855
- "description": "Trigger text."
3856
- }
3857
- ]
3858
- }
3859
- ]
3860
- }