@app-studio/web 0.8.74 → 0.8.77

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 (428) hide show
  1. package/README.md +171 -0
  2. package/dist/components/Accordion/Accordion/Accordion.props.d.ts +36 -15
  3. package/dist/components/Accordion/Accordion/Accordion.state.d.ts +7 -3
  4. package/dist/components/Accordion/Accordion/Accordion.type.d.ts +23 -0
  5. package/dist/components/Accordion/Accordion/Accordion.view.d.ts +12 -3
  6. package/dist/components/Accordion/Accordion.d.ts +2 -2
  7. package/dist/components/Accordion/examples/collapsible.d.ts +2 -0
  8. package/dist/components/Accordion/examples/index.d.ts +1 -0
  9. package/dist/components/Alert/Alert/Alert.props.d.ts +2 -2
  10. package/dist/components/Alert/Alert/Alert.style.d.ts +20 -47
  11. package/dist/components/Alert/Alert/Alert.view.d.ts +8 -0
  12. package/dist/components/Alert/examples/designSystem.d.ts +12 -0
  13. package/dist/components/Avatar/Avatar/Avatar.style.d.ts +22 -0
  14. package/dist/components/Avatar/Avatar/Avatar.view.d.ts +6 -0
  15. package/dist/components/Avatar/examples/designSystem.d.ts +12 -0
  16. package/dist/components/Avatar/examples/index.d.ts +1 -0
  17. package/dist/components/Badge/Badge/Badge.style.d.ts +24 -2
  18. package/dist/components/Badge/Badge/Badge.view.d.ts +8 -0
  19. package/dist/components/Badge/examples/designSystem.d.ts +12 -0
  20. package/dist/components/Badge/examples/index.d.ts +1 -0
  21. package/dist/components/Button/Button/Button.style.d.ts +24 -1
  22. package/dist/components/Button/Button/Button.view.d.ts +5 -0
  23. package/dist/components/Button/examples/designSystem.d.ts +12 -0
  24. package/dist/components/Button/examples/index.d.ts +1 -0
  25. package/dist/components/Card/Card/Card.context.d.ts +7 -0
  26. package/dist/components/Card/Card/Card.props.d.ts +81 -0
  27. package/dist/components/Card/Card/Card.state.d.ts +5 -0
  28. package/dist/components/Card/Card/Card.style.d.ts +29 -0
  29. package/dist/components/Card/Card/Card.type.d.ts +10 -0
  30. package/dist/components/Card/Card/Card.view.d.ts +6 -0
  31. package/dist/components/Card/Card.d.ts +2 -0
  32. package/dist/components/Card/examples/contextStyling.d.ts +2 -0
  33. package/dist/components/Card/examples/custom.d.ts +2 -0
  34. package/dist/components/Card/examples/default.d.ts +2 -0
  35. package/dist/components/Card/examples/designSystem.d.ts +12 -0
  36. package/dist/components/Card/examples/index.d.ts +8 -0
  37. package/dist/components/Card/examples/shapes.d.ts +2 -0
  38. package/dist/components/Card/examples/sizes.d.ts +2 -0
  39. package/dist/components/Card/examples/structured.d.ts +2 -0
  40. package/dist/components/Card/examples/variants.d.ts +2 -0
  41. package/dist/components/Carousel/Carousel/Carousel.context.d.ts +4 -0
  42. package/dist/components/Carousel/Carousel/Carousel.props.d.ts +155 -0
  43. package/dist/components/Carousel/Carousel/Carousel.state.d.ts +29 -0
  44. package/dist/components/Carousel/Carousel/Carousel.style.d.ts +6 -0
  45. package/dist/components/Carousel/Carousel/Carousel.type.d.ts +32 -0
  46. package/dist/components/Carousel/Carousel/Carousel.view.d.ts +8 -0
  47. package/dist/components/Carousel/Carousel.d.ts +2 -0
  48. package/dist/components/Carousel/examples/autoplay.d.ts +2 -0
  49. package/dist/components/Carousel/examples/compound.d.ts +3 -0
  50. package/dist/components/Carousel/examples/custom.d.ts +2 -0
  51. package/dist/components/Carousel/examples/default.d.ts +2 -0
  52. package/dist/components/Carousel/examples/index.d.ts +7 -0
  53. package/dist/components/Carousel/examples/indicators.d.ts +2 -0
  54. package/dist/components/Carousel/examples/navigation.d.ts +2 -0
  55. package/dist/components/Carousel/examples/stepIndices.d.ts +2 -0
  56. package/dist/components/Chart/Chart/BarChart.d.ts +15 -0
  57. package/dist/components/Chart/Chart/Chart.props.d.ts +101 -0
  58. package/dist/components/Chart/Chart/Chart.state.d.ts +37 -0
  59. package/dist/components/Chart/Chart/Chart.style.d.ts +20 -0
  60. package/dist/components/Chart/Chart/Chart.type.d.ts +36 -0
  61. package/dist/components/Chart/Chart/Chart.view.d.ts +3 -0
  62. package/dist/components/Chart/Chart/ChartColors.d.ts +20 -0
  63. package/dist/components/Chart/Chart/LineChart.d.ts +15 -0
  64. package/dist/components/Chart/Chart/PieChart.d.ts +15 -0
  65. package/dist/components/Chart/Chart.d.ts +3 -0
  66. package/dist/components/Chart/examples/area.d.ts +2 -0
  67. package/dist/components/Chart/examples/bar.d.ts +2 -0
  68. package/dist/components/Chart/examples/custom.d.ts +2 -0
  69. package/dist/components/Chart/examples/designSystem.d.ts +12 -0
  70. package/dist/components/Chart/examples/donut.d.ts +2 -0
  71. package/dist/components/Chart/examples/index.d.ts +8 -0
  72. package/dist/components/Chart/examples/line.d.ts +2 -0
  73. package/dist/components/Chart/examples/pie.d.ts +2 -0
  74. package/dist/components/Chart/examples/states.d.ts +2 -0
  75. package/dist/components/Chat/AIResponseDisplay/AIResponseDisplay/AIResponseDisplay.props.d.ts +40 -0
  76. package/dist/components/Chat/AIResponseDisplay/AIResponseDisplay/AIResponseDisplay.style.d.ts +10 -0
  77. package/dist/components/Chat/AIResponseDisplay/AIResponseDisplay/AIResponseDisplay.type.d.ts +23 -0
  78. package/dist/components/Chat/AIResponseDisplay/AIResponseDisplay/AIResponseDisplay.view.d.ts +9 -0
  79. package/dist/components/Chat/AIResponseDisplay/AIResponseDisplay.d.ts +10 -0
  80. package/dist/components/Chat/AIResponseDisplay/examples/basic.d.ts +5 -0
  81. package/dist/components/Chat/AIResponseDisplay/examples/index.d.ts +4 -0
  82. package/dist/components/Chat/ChatInterface/ChatInterface/ChatInterface.props.d.ts +56 -0
  83. package/dist/components/Chat/ChatInterface/ChatInterface/ChatInterface.state.d.ts +12 -0
  84. package/dist/components/Chat/ChatInterface/ChatInterface/ChatInterface.style.d.ts +10 -0
  85. package/dist/components/Chat/ChatInterface/ChatInterface/ChatInterface.type.d.ts +19 -0
  86. package/dist/components/Chat/ChatInterface/ChatInterface/ChatInterface.view.d.ts +14 -0
  87. package/dist/components/Chat/ChatInterface/ChatInterface.d.ts +11 -0
  88. package/dist/components/Chat/CodeBlock/CodeBlock/CodeBlock.props.d.ts +35 -0
  89. package/dist/components/Chat/CodeBlock/CodeBlock/CodeBlock.state.d.ts +7 -0
  90. package/dist/components/Chat/CodeBlock/CodeBlock/CodeBlock.style.d.ts +12 -0
  91. package/dist/components/Chat/CodeBlock/CodeBlock/CodeBlock.type.d.ts +11 -0
  92. package/dist/components/Chat/CodeBlock/CodeBlock/CodeBlock.view.d.ts +11 -0
  93. package/dist/components/Chat/CodeBlock/CodeBlock.d.ts +10 -0
  94. package/dist/components/Chat/FileUploader/FileUploader/FileUploader.props.d.ts +47 -0
  95. package/dist/components/Chat/FileUploader/FileUploader/FileUploader.state.d.ts +15 -0
  96. package/dist/components/Chat/FileUploader/FileUploader/FileUploader.style.d.ts +15 -0
  97. package/dist/components/Chat/FileUploader/FileUploader/FileUploader.type.d.ts +24 -0
  98. package/dist/components/Chat/FileUploader/FileUploader/FileUploader.view.d.ts +18 -0
  99. package/dist/components/Chat/FileUploader/FileUploader.d.ts +11 -0
  100. package/dist/components/Chat/LoadingIndicator/LoadingIndicator/LoadingIndicator.props.d.ts +27 -0
  101. package/dist/components/Chat/LoadingIndicator/LoadingIndicator/LoadingIndicator.style.d.ts +13 -0
  102. package/dist/components/Chat/LoadingIndicator/LoadingIndicator/LoadingIndicator.type.d.ts +11 -0
  103. package/dist/components/Chat/LoadingIndicator/LoadingIndicator/LoadingIndicator.view.d.ts +6 -0
  104. package/dist/components/Chat/LoadingIndicator/LoadingIndicator.d.ts +10 -0
  105. package/dist/components/Chat/MessageBubble/MessageBubble/MessageBubble.props.d.ts +36 -0
  106. package/dist/components/Chat/MessageBubble/MessageBubble/MessageBubble.state.d.ts +14 -0
  107. package/dist/components/Chat/MessageBubble/MessageBubble/MessageBubble.style.d.ts +10 -0
  108. package/dist/components/Chat/MessageBubble/MessageBubble/MessageBubble.type.d.ts +11 -0
  109. package/dist/components/Chat/MessageBubble/MessageBubble/MessageBubble.view.d.ts +17 -0
  110. package/dist/components/Chat/MessageBubble/MessageBubble.d.ts +10 -0
  111. package/dist/components/Chat/ModelSelector/ModelSelector/ModelSelector.props.d.ts +39 -0
  112. package/dist/components/Chat/ModelSelector/ModelSelector/ModelSelector.state.d.ts +12 -0
  113. package/dist/components/Chat/ModelSelector/ModelSelector/ModelSelector.style.d.ts +11 -0
  114. package/dist/components/Chat/ModelSelector/ModelSelector/ModelSelector.type.d.ts +21 -0
  115. package/dist/components/Chat/ModelSelector/ModelSelector/ModelSelector.view.d.ts +16 -0
  116. package/dist/components/Chat/ModelSelector/ModelSelector.d.ts +10 -0
  117. package/dist/components/Chat/PromptInput/PromptInput/PromptInput.props.d.ts +59 -0
  118. package/dist/components/Chat/PromptInput/PromptInput/PromptInput.state.d.ts +13 -0
  119. package/dist/components/Chat/PromptInput/PromptInput/PromptInput.style.d.ts +10 -0
  120. package/dist/components/Chat/PromptInput/PromptInput/PromptInput.type.d.ts +11 -0
  121. package/dist/components/Chat/PromptInput/PromptInput/PromptInput.view.d.ts +16 -0
  122. package/dist/components/Chat/PromptInput/PromptInput.d.ts +10 -0
  123. package/dist/components/Chat/SettingsPanel/SettingsPanel/SettingsPanel.props.d.ts +31 -0
  124. package/dist/components/Chat/SettingsPanel/SettingsPanel/SettingsPanel.style.d.ts +11 -0
  125. package/dist/components/Chat/SettingsPanel/SettingsPanel/SettingsPanel.type.d.ts +30 -0
  126. package/dist/components/Chat/SettingsPanel/SettingsPanel/SettingsPanel.view.d.ts +6 -0
  127. package/dist/components/Chat/SettingsPanel/SettingsPanel.d.ts +10 -0
  128. package/dist/components/Chat/ToolSelector/ToolSelector/ToolSelector.props.d.ts +39 -0
  129. package/dist/components/Chat/ToolSelector/ToolSelector/ToolSelector.style.d.ts +10 -0
  130. package/dist/components/Chat/ToolSelector/ToolSelector/ToolSelector.type.d.ts +20 -0
  131. package/dist/components/Chat/ToolSelector/ToolSelector/ToolSelector.view.d.ts +6 -0
  132. package/dist/components/Chat/ToolSelector/ToolSelector.d.ts +10 -0
  133. package/dist/components/Chat/index.d.ts +16 -0
  134. package/dist/components/Command/Command/Command.props.d.ts +162 -0
  135. package/dist/components/Command/Command/Command.state.d.ts +18 -0
  136. package/dist/components/Command/Command/Command.style.d.ts +18 -0
  137. package/dist/components/Command/Command/Command.type.d.ts +114 -0
  138. package/dist/components/Command/Command/Command.view.d.ts +31 -0
  139. package/dist/components/Command/Command.d.ts +2 -0
  140. package/dist/components/Command/examples/customized.d.ts +2 -0
  141. package/dist/components/Command/examples/default.d.ts +2 -0
  142. package/dist/components/Command/examples/groups.d.ts +2 -0
  143. package/dist/components/Command/examples/index.d.ts +5 -0
  144. package/dist/components/Command/examples/sizes.d.ts +2 -0
  145. package/dist/components/Command/examples/variants.d.ts +2 -0
  146. package/dist/components/Command/index.d.ts +1 -0
  147. package/dist/components/ContextMenu/ContextMenu/ContextMenu.props.d.ts +51 -8
  148. package/dist/components/ContextMenu/ContextMenu/ContextMenu.state.d.ts +16 -5
  149. package/dist/components/ContextMenu/ContextMenu/ContextMenu.type.d.ts +12 -1
  150. package/dist/components/ContextMenu/ContextMenu/ContextMenu.view.d.ts +5 -4
  151. package/dist/components/ContextMenu/examples/compound.d.ts +2 -0
  152. package/dist/components/ContextMenu/examples/index.d.ts +1 -0
  153. package/dist/components/Form/Checkbox/Checkbox/Checkbox.style.d.ts +70 -1
  154. package/dist/components/Form/Checkbox/Checkbox/Checkbox.view.d.ts +6 -0
  155. package/dist/components/Form/Checkbox/examples/designSystem.d.ts +12 -0
  156. package/dist/components/Form/Checkbox/examples/index.d.ts +1 -0
  157. package/dist/components/Form/Radio/Radio/Radio.props.d.ts +104 -0
  158. package/dist/components/Form/Radio/Radio/Radio.state.d.ts +16 -0
  159. package/dist/components/Form/Radio/Radio/Radio.style.d.ts +92 -0
  160. package/dist/components/Form/Radio/Radio/Radio.view.d.ts +10 -0
  161. package/dist/components/Form/Radio/Radio.d.ts +11 -0
  162. package/dist/components/Form/Radio/RadioGroup/RadioGroup.props.d.ts +78 -0
  163. package/dist/components/Form/Radio/RadioGroup/RadioGroup.state.d.ts +13 -0
  164. package/dist/components/Form/Radio/RadioGroup/RadioGroup.view.d.ts +10 -0
  165. package/dist/components/Form/Radio/RadioGroup.d.ts +11 -0
  166. package/dist/components/Form/Radio/examples/Default.d.ts +5 -0
  167. package/dist/components/Form/Radio/examples/DefaultGroup.d.ts +5 -0
  168. package/dist/components/Form/Radio/examples/designSystem.d.ts +12 -0
  169. package/dist/components/Form/Radio/examples/index.d.ts +3 -0
  170. package/dist/components/Form/Radio/index.d.ts +2 -0
  171. package/dist/components/Form/Select/Select/Select.style.d.ts +22 -0
  172. package/dist/components/Form/Select/Select/Select.view.d.ts +5 -0
  173. package/dist/components/Form/Select/examples/designSystem.d.ts +12 -0
  174. package/dist/components/Form/Select/examples/index.d.ts +1 -0
  175. package/dist/components/Form/Switch/Switch/Switch.style.d.ts +44 -0
  176. package/dist/components/Form/Switch/Switch/Switch.view.d.ts +6 -0
  177. package/dist/components/Form/Switch/examples/designSystem.d.ts +12 -0
  178. package/dist/components/Form/Switch/examples/index.d.ts +1 -0
  179. package/dist/components/Form/TextArea/TextArea/TextArea.view.d.ts +6 -0
  180. package/dist/components/Form/TextArea/examples/designSystem.d.ts +12 -0
  181. package/dist/components/Form/TextArea/examples/index.d.ts +1 -0
  182. package/dist/components/Form/TextField/TextField/TextField.view.d.ts +6 -0
  183. package/dist/components/Form/TextField/examples/designSystem.d.ts +12 -0
  184. package/dist/components/Form/TextField/examples/index.d.ts +1 -0
  185. package/dist/components/Formik/Formik.OTPInput.d.ts +8 -0
  186. package/dist/components/Formik/examples/FormikOTPInput.d.ts +5 -0
  187. package/dist/components/Formik/examples/index.d.ts +1 -0
  188. package/dist/components/Formik/index.d.ts +1 -0
  189. package/dist/components/Gradient/Gradient/Gradient.props.d.ts +64 -0
  190. package/dist/components/Gradient/Gradient/Gradient.style.d.ts +82 -0
  191. package/dist/components/Gradient/Gradient/Gradient.type.d.ts +37 -0
  192. package/dist/components/Gradient/Gradient/Gradient.view.d.ts +9 -0
  193. package/dist/components/Gradient/Gradient.d.ts +30 -0
  194. package/dist/components/Gradient/examples/animated.d.ts +2 -0
  195. package/dist/components/Gradient/examples/default.d.ts +2 -0
  196. package/dist/components/Gradient/examples/designSystem.d.ts +12 -0
  197. package/dist/components/Gradient/examples/directions.d.ts +2 -0
  198. package/dist/components/Gradient/examples/index.d.ts +7 -0
  199. package/dist/components/Gradient/examples/multicolor.d.ts +2 -0
  200. package/dist/components/Gradient/examples/types.d.ts +2 -0
  201. package/dist/components/Gradient/examples/withContent.d.ts +2 -0
  202. package/dist/components/Gradient/index.d.ts +1 -0
  203. package/dist/components/HoverCard/HoverCard/HoverCard.props.d.ts +21 -0
  204. package/dist/components/HoverCard/HoverCard/HoverCard.state.d.ts +9 -2
  205. package/dist/components/HoverCard/HoverCard/HoverCard.style.d.ts +3 -1
  206. package/dist/components/HoverCard/HoverCard/HoverCard.type.d.ts +8 -1
  207. package/dist/components/HoverCard/examples/delays.d.ts +2 -0
  208. package/dist/components/HoverCard/examples/index.d.ts +1 -0
  209. package/dist/components/Icon/Icon.d.ts +2 -0
  210. package/dist/components/{Layout/Input → Input}/FieldContainer/FieldContainer/FieldContainer.props.d.ts +1 -1
  211. package/dist/components/Input/FieldContainer/FieldContainer.d.ts +9 -0
  212. package/dist/components/{Layout/Input → Input}/FieldContent/FieldContent/FieldContent.props.d.ts +3 -8
  213. package/dist/components/Input/FieldContent/FieldContent.d.ts +9 -0
  214. package/dist/components/{Layout/Input → Input}/FieldLabel/FieldLabel/FieldLabel.props.d.ts +1 -1
  215. package/dist/components/Input/FieldLabel/FieldLabel.d.ts +9 -0
  216. package/dist/components/{Layout/Input → Input}/FieldLayout/FieldLayout/FieldLayout.props.d.ts +1 -1
  217. package/dist/components/Input/FieldWrapper/FieldWrapper.d.ts +9 -0
  218. package/dist/components/Input/HelperText/HelperText.d.ts +9 -0
  219. package/dist/components/{Layout/Input → Input}/HelperText/HelperText.props.d.ts +1 -1
  220. package/dist/components/Input/Input.style.d.ts +42 -0
  221. package/dist/components/Input/index.d.ts +7 -0
  222. package/dist/components/Menubar/Menubar/Menubar.props.d.ts +185 -0
  223. package/dist/components/Menubar/Menubar/Menubar.state.d.ts +9 -0
  224. package/dist/components/Menubar/Menubar/Menubar.style.d.ts +19 -0
  225. package/dist/components/Menubar/Menubar/Menubar.type.d.ts +35 -0
  226. package/dist/components/Menubar/Menubar/Menubar.view.d.ts +21 -0
  227. package/dist/components/Menubar/Menubar.d.ts +2 -0
  228. package/dist/components/Menubar/examples/composite.d.ts +2 -0
  229. package/dist/components/Menubar/examples/default.d.ts +2 -0
  230. package/dist/components/Menubar/examples/index.d.ts +5 -0
  231. package/dist/components/Menubar/examples/sizes.d.ts +2 -0
  232. package/dist/components/Menubar/examples/variants.d.ts +2 -0
  233. package/dist/components/Menubar/examples/vertical.d.ts +2 -0
  234. package/dist/components/Menubar/index.d.ts +1 -0
  235. package/dist/components/Modal/Examples/designSystem.d.ts +12 -0
  236. package/dist/components/Modal/Examples/index.d.ts +1 -0
  237. package/dist/components/Modal/Modal/Modal.style.d.ts +53 -0
  238. package/dist/components/Modal/Modal/Modal.view.d.ts +6 -0
  239. package/dist/components/NavigationMenu/NavigationMenu/NavigationMenu.props.d.ts +42 -4
  240. package/dist/components/NavigationMenu/NavigationMenu/NavigationMenu.style.d.ts +41 -0
  241. package/dist/components/NavigationMenu/NavigationMenu/NavigationMenu.view.d.ts +7 -1
  242. package/dist/components/NavigationMenu/examples/compound.d.ts +2 -0
  243. package/dist/components/NavigationMenu/examples/designSystem.d.ts +12 -0
  244. package/dist/components/NavigationMenu/examples/index.d.ts +2 -0
  245. package/dist/components/OTPInput/OTPInput/OTPInput.props.d.ts +142 -0
  246. package/dist/components/OTPInput/OTPInput/OTPInput.state.d.ts +22 -0
  247. package/dist/components/OTPInput/OTPInput/OTPInput.type.d.ts +16 -0
  248. package/dist/components/OTPInput/OTPInput/OTPInput.view.d.ts +28 -0
  249. package/dist/components/OTPInput/OTPInput/sync-timeouts.d.ts +1 -0
  250. package/dist/components/OTPInput/OTPInput.d.ts +3 -0
  251. package/dist/components/OTPInput/examples/Default.d.ts +4 -0
  252. package/dist/components/OTPInput/examples/OnComplete.d.ts +2 -0
  253. package/dist/components/OTPInput/examples/PasswordOTP.d.ts +3 -0
  254. package/dist/components/OTPInput/examples/StepValues.d.ts +3 -0
  255. package/dist/components/OTPInput/examples/index.d.ts +4 -0
  256. package/dist/components/Pagination/Pagination/Pagination.props.d.ts +60 -0
  257. package/dist/components/Pagination/Pagination/Pagination.state.d.ts +3 -0
  258. package/dist/components/Pagination/Pagination/Pagination.style.d.ts +7 -0
  259. package/dist/components/Pagination/Pagination/Pagination.type.d.ts +17 -0
  260. package/dist/components/Pagination/Pagination/Pagination.view.d.ts +3 -0
  261. package/dist/components/Pagination/Pagination.d.ts +3 -0
  262. package/dist/components/Pagination/examples/advanced.d.ts +2 -0
  263. package/dist/components/Pagination/examples/default.d.ts +2 -0
  264. package/dist/components/Pagination/examples/index.d.ts +6 -0
  265. package/dist/components/Pagination/examples/shapes.d.ts +2 -0
  266. package/dist/components/Pagination/examples/sizes.d.ts +2 -0
  267. package/dist/components/Pagination/examples/table.d.ts +2 -0
  268. package/dist/components/Pagination/examples/variants.d.ts +2 -0
  269. package/dist/components/Pagination/index.d.ts +1 -0
  270. package/dist/components/Resizable/Resizable/Resizable.props.d.ts +160 -0
  271. package/dist/components/Resizable/Resizable/Resizable.state.d.ts +17 -0
  272. package/dist/components/Resizable/Resizable/Resizable.style.d.ts +6 -0
  273. package/dist/components/Resizable/Resizable/Resizable.type.d.ts +56 -0
  274. package/dist/components/Resizable/Resizable/Resizable.view.d.ts +13 -0
  275. package/dist/components/Resizable/Resizable.d.ts +2 -0
  276. package/dist/components/Resizable/examples/codeEditor.d.ts +2 -0
  277. package/dist/components/Resizable/examples/collapsible.d.ts +2 -0
  278. package/dist/components/Resizable/examples/controlled.d.ts +2 -0
  279. package/dist/components/Resizable/examples/default.d.ts +2 -0
  280. package/dist/components/Resizable/examples/index.d.ts +9 -0
  281. package/dist/components/Resizable/examples/nested.d.ts +2 -0
  282. package/dist/components/Resizable/examples/sizes.d.ts +2 -0
  283. package/dist/components/Resizable/examples/test.d.ts +2 -0
  284. package/dist/components/Resizable/examples/variants.d.ts +2 -0
  285. package/dist/components/Resizable/examples/vertical.d.ts +2 -0
  286. package/dist/components/Resizable/index.d.ts +1 -0
  287. package/dist/components/Separator/Separator/Separator.props.d.ts +38 -0
  288. package/dist/components/Separator/Separator/Separator.style.d.ts +38 -0
  289. package/dist/components/Separator/Separator/Separator.type.d.ts +8 -0
  290. package/dist/components/Separator/Separator/Separator.view.d.ts +9 -0
  291. package/dist/components/Separator/Separator.d.ts +4 -0
  292. package/dist/components/Separator/examples/colors.d.ts +2 -0
  293. package/dist/components/Separator/examples/customized.d.ts +2 -0
  294. package/dist/components/Separator/examples/default.d.ts +2 -0
  295. package/dist/components/Separator/examples/designSystem.d.ts +12 -0
  296. package/dist/components/Separator/examples/inCard.d.ts +2 -0
  297. package/dist/components/Separator/examples/index.d.ts +9 -0
  298. package/dist/components/Separator/examples/orientations.d.ts +2 -0
  299. package/dist/components/Separator/examples/thicknesses.d.ts +2 -0
  300. package/dist/components/Separator/examples/variants.d.ts +2 -0
  301. package/dist/components/Separator/examples/withLabel.d.ts +2 -0
  302. package/dist/components/Separator/index.d.ts +1 -0
  303. package/dist/components/Sidebar/Sidebar/Sidebar.props.d.ts +153 -0
  304. package/dist/components/Sidebar/Sidebar/Sidebar.state.d.ts +7 -0
  305. package/dist/components/Sidebar/Sidebar/Sidebar.style.d.ts +44 -0
  306. package/dist/components/Sidebar/Sidebar/Sidebar.type.d.ts +32 -0
  307. package/dist/components/Sidebar/Sidebar/Sidebar.view.d.ts +21 -0
  308. package/dist/components/Sidebar/Sidebar.d.ts +2 -0
  309. package/dist/components/Sidebar/examples/accessibleSidebar.d.ts +2 -0
  310. package/dist/components/Sidebar/examples/controlled.d.ts +2 -0
  311. package/dist/components/Sidebar/examples/customized.d.ts +2 -0
  312. package/dist/components/Sidebar/examples/default.d.ts +2 -0
  313. package/dist/components/Sidebar/examples/designSystem.d.ts +12 -0
  314. package/dist/components/Sidebar/examples/index.d.ts +8 -0
  315. package/dist/components/Sidebar/examples/positions.d.ts +2 -0
  316. package/dist/components/Sidebar/examples/sizes.d.ts +2 -0
  317. package/dist/components/Sidebar/examples/variants.d.ts +2 -0
  318. package/dist/components/Sidebar/index.d.ts +1 -0
  319. package/dist/components/Slider/examples/index.d.ts +12 -0
  320. package/dist/components/Slider/examples/tooltipIntegration.d.ts +2 -0
  321. package/dist/components/Table/Table/Table.style.d.ts +31 -0
  322. package/dist/components/Table/Table/Table.view.d.ts +6 -0
  323. package/dist/components/Table/examples/designSystem.d.ts +12 -0
  324. package/dist/components/Table/examples/index.d.ts +1 -0
  325. package/dist/components/Tabs/Tabs/TabHeader.d.ts +22 -0
  326. package/dist/components/Tabs/Tabs/Tabs.props.d.ts +4 -2
  327. package/dist/components/Tabs/examples/customHeader.d.ts +2 -0
  328. package/dist/components/Tabs/examples/index.d.ts +1 -0
  329. package/dist/components/Text/Text/Text.style.d.ts +26 -2
  330. package/dist/components/Text/Text/Text.view.d.ts +8 -0
  331. package/dist/components/Text/examples/designSystem.d.ts +10 -0
  332. package/dist/components/Text/examples/index.d.ts +1 -0
  333. package/dist/components/Toast/Toast/Toast.hook.d.ts +35 -0
  334. package/dist/components/Toast/Toast/Toast.props.d.ts +91 -0
  335. package/dist/components/Toast/Toast/Toast.store.d.ts +9 -0
  336. package/dist/components/Toast/Toast/Toast.style.d.ts +37 -0
  337. package/dist/components/Toast/Toast/Toast.type.d.ts +63 -0
  338. package/dist/components/Toast/Toast/Toast.view.d.ts +4 -0
  339. package/dist/components/Toast/Toast.d.ts +22 -0
  340. package/dist/components/Toast/examples/actions.d.ts +2 -0
  341. package/dist/components/Toast/examples/customization.d.ts +2 -0
  342. package/dist/components/Toast/examples/default.d.ts +2 -0
  343. package/dist/components/Toast/examples/designSystem.d.ts +12 -0
  344. package/dist/components/Toast/examples/duration.d.ts +2 -0
  345. package/dist/components/Toast/examples/hookUsage.d.ts +2 -0
  346. package/dist/components/Toast/examples/index.d.ts +8 -0
  347. package/dist/components/Toast/examples/positions.d.ts +2 -0
  348. package/dist/components/Toast/examples/variants.d.ts +2 -0
  349. package/dist/components/Toast/index.d.ts +1 -0
  350. package/dist/components/Tooltip/Tooltip/Tooltip.props.d.ts +108 -0
  351. package/dist/components/Tooltip/Tooltip/Tooltip.state.d.ts +18 -0
  352. package/dist/components/Tooltip/Tooltip/Tooltip.style.d.ts +6 -0
  353. package/dist/components/Tooltip/Tooltip/Tooltip.type.d.ts +21 -0
  354. package/dist/components/Tooltip/Tooltip/Tooltip.view.d.ts +20 -0
  355. package/dist/components/Tooltip/Tooltip.d.ts +2 -0
  356. package/dist/components/Tooltip/examples/custom.d.ts +2 -0
  357. package/dist/components/Tooltip/examples/default.d.ts +2 -0
  358. package/dist/components/Tooltip/examples/index.d.ts +6 -0
  359. package/dist/components/Tooltip/examples/integration.d.ts +2 -0
  360. package/dist/components/Tooltip/examples/positions.d.ts +2 -0
  361. package/dist/components/Tooltip/examples/sizes.d.ts +2 -0
  362. package/dist/components/Tooltip/examples/variants.d.ts +2 -0
  363. package/dist/components/Tooltip/index.d.ts +1 -0
  364. package/dist/components/index.d.ts +24 -7
  365. package/dist/hooks/useRect.d.ts +7 -0
  366. package/dist/pages/card.page.d.ts +3 -0
  367. package/dist/pages/carousel.page.d.ts +3 -0
  368. package/dist/pages/chart.page.d.ts +3 -0
  369. package/dist/pages/chat.page.d.ts +3 -0
  370. package/dist/pages/command.page.d.ts +3 -0
  371. package/dist/pages/gradient.page.d.ts +3 -0
  372. package/dist/pages/menubar.page.d.ts +3 -0
  373. package/dist/pages/otpInput.page.d.ts +3 -0
  374. package/dist/pages/pagination.page.d.ts +3 -0
  375. package/dist/pages/radio.page.d.ts +2 -0
  376. package/dist/pages/resizable.page.d.ts +3 -0
  377. package/dist/pages/separator.page.d.ts +3 -0
  378. package/dist/pages/sidebar.page.d.ts +3 -0
  379. package/dist/pages/slider.page.d.ts +2 -2
  380. package/dist/pages/toast.page.d.ts +3 -0
  381. package/dist/pages/tooltip.page.d.ts +3 -0
  382. package/dist/utils/generateId.d.ts +5 -0
  383. package/dist/utils/id.d.ts +6 -0
  384. package/dist/web.cjs.development.js +12815 -5597
  385. package/dist/web.cjs.development.js.map +1 -1
  386. package/dist/web.cjs.production.min.js +1 -1
  387. package/dist/web.cjs.production.min.js.map +1 -1
  388. package/dist/web.esm.js +12790 -5577
  389. package/dist/web.esm.js.map +1 -1
  390. package/dist/web.umd.development.js +12824 -5616
  391. package/dist/web.umd.development.js.map +1 -1
  392. package/dist/web.umd.production.min.js +1 -1
  393. package/dist/web.umd.production.min.js.map +1 -1
  394. package/package.json +6 -5
  395. package/dist/components/Alert/examples/index.d.ts +0 -4
  396. package/dist/components/Layout/Center/Center.d.ts +0 -4
  397. package/dist/components/Layout/Center/Center.props.d.ts +0 -3
  398. package/dist/components/Layout/Horizontal/Horizontal.d.ts +0 -4
  399. package/dist/components/Layout/Horizontal/Horizontal.props.d.ts +0 -4
  400. package/dist/components/Layout/Horizontal/examples/Default.d.ts +0 -2
  401. package/dist/components/Layout/Horizontal/examples/Justify.d.ts +0 -2
  402. package/dist/components/Layout/Horizontal/examples/Reversed.d.ts +0 -2
  403. package/dist/components/Layout/Horizontal/examples/Wrap.d.ts +0 -2
  404. package/dist/components/Layout/Horizontal/examples/index.d.ts +0 -4
  405. package/dist/components/Layout/Input/FieldContainer/FieldContainer.d.ts +0 -3
  406. package/dist/components/Layout/Input/FieldContent/FieldContent.d.ts +0 -3
  407. package/dist/components/Layout/Input/FieldLabel/FieldLabel.d.ts +0 -3
  408. package/dist/components/Layout/Input/FieldWrapper/FieldWrapper.d.ts +0 -3
  409. package/dist/components/Layout/Input/HelperText/HelperText.d.ts +0 -3
  410. package/dist/components/Layout/Input/index.d.ts +0 -7
  411. package/dist/components/Layout/Vertical/Vertical.d.ts +0 -4
  412. package/dist/components/Layout/Vertical/Vertical.props.d.ts +0 -4
  413. package/dist/components/Layout/Vertical/examples/Default.d.ts +0 -2
  414. package/dist/components/Layout/Vertical/examples/Justify.d.ts +0 -2
  415. package/dist/components/Layout/Vertical/examples/Reversed.d.ts +0 -2
  416. package/dist/components/Layout/Vertical/examples/Wrap.d.ts +0 -2
  417. package/dist/components/Layout/Vertical/examples/index.d.ts +0 -5
  418. package/dist/components/Layout/View/View.d.ts +0 -9
  419. package/dist/components/Layout/configs/Input.style.d.ts +0 -17
  420. package/dist/components/Layout/index.d.ts +0 -4
  421. package/dist/pages/center.page.d.ts +0 -3
  422. package/dist/pages/horizontal.page.d.ts +0 -3
  423. package/dist/pages/vertical.page.d.ts +0 -3
  424. /package/dist/components/{Layout/Input → Input}/FieldIcons/FieldIcons/FieldIcons.props.d.ts +0 -0
  425. /package/dist/components/{Layout/Input → Input}/FieldIcons/FieldIcons.d.ts +0 -0
  426. /package/dist/components/{Layout/Input → Input}/FieldLayout/FieldLayout.d.ts +0 -0
  427. /package/dist/components/{Layout/Input → Input}/FieldWrapper/FieldWrapper.props.d.ts +0 -0
  428. /package/dist/components/{Layout/configs → Input}/Input.type.d.ts +0 -0
@@ -0,0 +1,20 @@
1
+ import { ViewProps } from 'app-studio';
2
+ export declare const DEFAULT_COLORS: string[];
3
+ export declare const ChartContainerStyles: ViewProps;
4
+ export declare const ChartTitleStyles: ViewProps;
5
+ export declare const ChartLegendStyles: ViewProps;
6
+ export declare const LegendItemStyles: ViewProps;
7
+ export declare const LegendColorStyles: ViewProps;
8
+ export declare const LegendTextStyles: ViewProps;
9
+ export declare const TooltipStyles: ViewProps;
10
+ export declare const GridStyles: ViewProps;
11
+ export declare const AxisStyles: ViewProps;
12
+ export declare const AxisLabelStyles: ViewProps;
13
+ export declare const BarStyles: ViewProps;
14
+ export declare const LineStyles: ViewProps;
15
+ export declare const PointStyles: ViewProps;
16
+ export declare const PieSliceStyles: ViewProps;
17
+ export declare const OverlayBaseStyles: ViewProps;
18
+ export declare const LoadingOverlayStyles: ViewProps;
19
+ export declare const ErrorOverlayStyles: ViewProps;
20
+ export declare const NoDataOverlayStyles: ViewProps;
@@ -0,0 +1,36 @@
1
+ import { ViewProps } from 'app-studio';
2
+ export declare type ChartType = 'bar' | 'line' | 'pie' | 'donut' | 'area';
3
+ export interface ChartDataPoint {
4
+ label: string;
5
+ value: number;
6
+ color?: string;
7
+ }
8
+ export interface ChartSeries {
9
+ name: string;
10
+ data: number[];
11
+ color?: string;
12
+ }
13
+ export interface ChartData {
14
+ labels: string[];
15
+ series: ChartSeries[];
16
+ }
17
+ export interface ChartStyles {
18
+ container?: ViewProps;
19
+ chart?: ViewProps;
20
+ legend?: ViewProps;
21
+ legendItem?: ViewProps;
22
+ tooltip?: ViewProps;
23
+ axis?: ViewProps;
24
+ grid?: ViewProps;
25
+ bar?: ViewProps;
26
+ line?: ViewProps;
27
+ point?: ViewProps;
28
+ pie?: ViewProps;
29
+ area?: ViewProps;
30
+ axisLabel?: ViewProps;
31
+ axisLine?: ViewProps;
32
+ axisTick?: ViewProps;
33
+ loadingOverlay?: ViewProps;
34
+ errorOverlay?: ViewProps;
35
+ noDataOverlay?: ViewProps;
36
+ }
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ChartProps } from './Chart.props';
3
+ export declare const ChartView: React.FC<ChartProps>;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Chart Colors
3
+ *
4
+ * Defines a consistent color scheme for all chart examples.
5
+ * These colors should be used in the same order across all chart types
6
+ * to ensure consistency between the charts and their legends.
7
+ */
8
+ export declare const CHART_COLORS: {
9
+ blue: string;
10
+ green: string;
11
+ purple: string;
12
+ orange: string;
13
+ red: string;
14
+ teal: string;
15
+ pink: string;
16
+ indigo: string;
17
+ yellow: string;
18
+ cyan: string;
19
+ };
20
+ export declare const DEFAULT_CHART_COLORS: string[];
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { ChartData } from './Chart.type';
3
+ interface LineChartProps {
4
+ data: ChartData;
5
+ width: number;
6
+ height: number;
7
+ animationProgress: number;
8
+ showGrid?: boolean;
9
+ onPointClick?: (seriesName: string, index: number) => void;
10
+ showTooltip: (x: number, y: number, content: string) => void;
11
+ hideTooltip: () => void;
12
+ views?: any;
13
+ }
14
+ export declare const LineChart: React.FC<LineChartProps>;
15
+ export {};
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { ChartDataPoint } from './Chart.type';
3
+ interface PieChartProps {
4
+ dataPoints: ChartDataPoint[];
5
+ width: number;
6
+ height: number;
7
+ animationProgress: number;
8
+ isDonut?: boolean;
9
+ onSliceClick?: (dataPoint: ChartDataPoint, index: number) => void;
10
+ showTooltip: (x: number, y: number, content: string) => void;
11
+ hideTooltip: () => void;
12
+ views?: any;
13
+ }
14
+ export declare const PieChart: React.FC<PieChartProps>;
15
+ export {};
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ChartProps } from './Chart/Chart.props';
3
+ export declare const Chart: React.FC<ChartProps>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const AreaChartDemo: () => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const BarChartDemo: () => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const CustomChartDemo: () => React.JSX.Element;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Chart Examples - Design System
3
+ *
4
+ * Showcases the Chart component following the design guidelines:
5
+ * - Typography: Inter/Geist font, specific sizes/weights
6
+ * - Spacing: 4px grid system
7
+ * - Colors: Neutral palette with semantic colors
8
+ * - Rounded corners: Consistent border radius
9
+ * - Transitions: Subtle animations
10
+ */
11
+ import React from 'react';
12
+ export declare const DesignSystemCharts: () => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const DonutChartDemo: () => React.JSX.Element;
@@ -0,0 +1,8 @@
1
+ export * from './bar';
2
+ export * from './line';
3
+ export * from './area';
4
+ export * from './pie';
5
+ export * from './donut';
6
+ export * from './custom';
7
+ export * from './states';
8
+ export * from './designSystem';
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const LineChartDemo: () => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const PieChartDemo: () => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const ChartStatesDemo: () => React.JSX.Element;
@@ -0,0 +1,40 @@
1
+ /**
2
+ * AIResponseDisplay Props
3
+ *
4
+ * Defines the properties for the AIResponseDisplay component, which renders
5
+ * AI-generated content with support for formatting, code blocks, and more.
6
+ */
7
+ import { ViewProps } from 'app-studio';
8
+ import { AIResponseDisplayStyles } from './AIResponseDisplay.type';
9
+ export interface AIResponseDisplayProps extends ViewProps {
10
+ /**
11
+ * Content to display - can include markdown-like formatting
12
+ * such as code blocks, inline code, and links
13
+ */
14
+ content: string;
15
+ /**
16
+ * Whether to enable syntax highlighting for code blocks
17
+ * @default true
18
+ */
19
+ enableSyntaxHighlighting?: boolean;
20
+ /**
21
+ * Whether to enable citations (e.g., [1], [2])
22
+ * @default true
23
+ */
24
+ enableCitations?: boolean;
25
+ /**
26
+ * Whether to enable math rendering (LaTeX-like syntax)
27
+ * @default false
28
+ */
29
+ enableMath?: boolean;
30
+ /**
31
+ * Whether to enable automatic link detection and formatting
32
+ * @default true
33
+ */
34
+ enableLinkDetection?: boolean;
35
+ /**
36
+ * Custom styles for different parts of the component
37
+ * Follows the design system with consistent spacing, typography, and colors
38
+ */
39
+ styles?: AIResponseDisplayStyles;
40
+ }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * AIResponseDisplay Styles
3
+ */
4
+ import { ViewProps } from 'app-studio';
5
+ export declare const containerStyles: ViewProps;
6
+ export declare const textStyles: ViewProps;
7
+ export declare const codeBlockStyles: ViewProps;
8
+ export declare const inlineCodeStyles: ViewProps;
9
+ export declare const citationStyles: ViewProps;
10
+ export declare const linkStyles: ViewProps;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * AIResponseDisplay Types
3
+ *
4
+ * Defines the types used by the AIResponseDisplay component
5
+ */
6
+ import { ViewProps } from 'app-studio';
7
+ /**
8
+ * Styles for different parts of the AIResponseDisplay component
9
+ */
10
+ export interface AIResponseDisplayStyles {
11
+ /** Styles for the main container */
12
+ container?: ViewProps;
13
+ /** Styles for the text content */
14
+ text?: ViewProps;
15
+ /** Styles for code blocks */
16
+ codeBlock?: ViewProps;
17
+ /** Styles for citations */
18
+ citation?: ViewProps;
19
+ /** Styles for inline code */
20
+ inlineCode?: ViewProps;
21
+ /** Styles for links */
22
+ link?: ViewProps;
23
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * AIResponseDisplay View
3
+ *
4
+ * A component for displaying AI-generated responses with support for
5
+ * code blocks, inline code, links, and other formatting.
6
+ */
7
+ import React from 'react';
8
+ import { AIResponseDisplayProps } from './AIResponseDisplay.props';
9
+ export declare const AIResponseDisplayView: React.FC<AIResponseDisplayProps>;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * AIResponseDisplay Component
3
+ *
4
+ * A component for displaying AI-generated responses with support for
5
+ * code blocks, inline code, and other formatting.
6
+ */
7
+ import React from 'react';
8
+ import { AIResponseDisplayProps } from './AIResponseDisplay/AIResponseDisplay.props';
9
+ export declare const AIResponseDisplay: React.FC<AIResponseDisplayProps>;
10
+ export type { AIResponseDisplayProps } from './AIResponseDisplay/AIResponseDisplay.props';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Basic AIResponseDisplay Example
3
+ */
4
+ import React from 'react';
5
+ export declare const BasicAIResponseDisplay: () => React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * AIResponseDisplay Examples
3
+ */
4
+ export * from './basic';
@@ -0,0 +1,56 @@
1
+ /**
2
+ * ChatInterface Props
3
+ */
4
+ /// <reference types="react" />
5
+ import { ViewProps } from 'app-studio';
6
+ import { Message, ChatInterfaceStyles } from './ChatInterface.type';
7
+ export interface ChatInterfaceProps extends ViewProps {
8
+ /**
9
+ * Array of messages to display in the chat
10
+ */
11
+ messages: Message[];
12
+ /**
13
+ * Callback function when a new message is submitted
14
+ */
15
+ onSubmit?: (message: string) => void;
16
+ /**
17
+ * Callback function when a message is edited
18
+ */
19
+ onEdit?: (id: string, newContent: string) => void;
20
+ /**
21
+ * Callback function when a message is deleted
22
+ */
23
+ onDelete?: (id: string) => void;
24
+ /**
25
+ * Whether to show the loading indicator
26
+ */
27
+ isLoading?: boolean;
28
+ /**
29
+ * Placeholder text for the input field
30
+ */
31
+ placeholder?: string;
32
+ /**
33
+ * Whether to enable file uploads
34
+ */
35
+ enableFileUpload?: boolean;
36
+ /**
37
+ * Whether to enable voice input
38
+ */
39
+ enableVoiceInput?: boolean;
40
+ /**
41
+ * Whether to enable AI suggestions
42
+ */
43
+ enableSuggestions?: boolean;
44
+ /**
45
+ * URL of the background image
46
+ */
47
+ backgroundImageUrl?: string;
48
+ /**
49
+ * Custom styles for the component
50
+ */
51
+ styles?: ChatInterfaceStyles;
52
+ /**
53
+ * Children components
54
+ */
55
+ children?: React.ReactNode;
56
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * ChatInterface State
3
+ */
4
+ /// <reference types="react" />
5
+ export declare const useChatInterfaceState: (initialMessages?: never[]) => {
6
+ inputValue: string;
7
+ isSubmitting: boolean;
8
+ messagesEndRef: import("react").RefObject<HTMLDivElement>;
9
+ handleInputChange: (value: string) => void;
10
+ handleSubmit: (callback?: ((message: string) => void) | undefined) => void;
11
+ setInputValue: import("react").Dispatch<import("react").SetStateAction<string>>;
12
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * ChatInterface Styles
3
+ */
4
+ import { ViewProps } from 'app-studio';
5
+ export declare const defaultContainerStyles: ViewProps;
6
+ export declare const defaultMessagesContainerStyles: ViewProps;
7
+ export declare const defaultInputContainerStyles: ViewProps;
8
+ export declare const defaultControlsContainerStyles: ViewProps;
9
+ export declare const backgroundImageStyles: ViewProps;
10
+ export declare const backgroundOverlayStyles: ViewProps;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * ChatInterface Types
3
+ */
4
+ import { ViewProps } from 'app-studio';
5
+ export declare type MessageType = 'user' | 'assistant' | 'system' | 'error';
6
+ export interface Message {
7
+ id: string;
8
+ type: MessageType;
9
+ content: string;
10
+ timestamp: Date;
11
+ isLoading?: boolean;
12
+ metadata?: Record<string, any>;
13
+ }
14
+ export interface ChatInterfaceStyles {
15
+ container?: ViewProps;
16
+ messagesContainer?: ViewProps;
17
+ inputContainer?: ViewProps;
18
+ controlsContainer?: ViewProps;
19
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * ChatInterface View
3
+ */
4
+ import React from 'react';
5
+ import { ChatInterfaceProps } from './ChatInterface.props';
6
+ interface Props extends ChatInterfaceProps {
7
+ inputValue: string;
8
+ isSubmitting: boolean;
9
+ messagesEndRef: React.RefObject<HTMLDivElement>;
10
+ handleInputChange: (value: string) => void;
11
+ handleSubmit: () => void;
12
+ }
13
+ export declare const ChatInterfaceView: React.FC<Props>;
14
+ export {};
@@ -0,0 +1,11 @@
1
+ /**
2
+ * ChatInterface Component
3
+ *
4
+ * A comprehensive chat interface for AI applications that includes
5
+ * message display, user input, and various controls.
6
+ */
7
+ import React from 'react';
8
+ import { ChatInterfaceProps } from './ChatInterface/ChatInterface.props';
9
+ export declare const ChatInterface: React.FC<ChatInterfaceProps>;
10
+ export type { ChatInterfaceProps } from './ChatInterface/ChatInterface.props';
11
+ export type { Message, MessageType } from './ChatInterface/ChatInterface.type';
@@ -0,0 +1,35 @@
1
+ /**
2
+ * CodeBlock Props
3
+ */
4
+ import { ViewProps } from 'app-studio';
5
+ import { CodeBlockStyles } from './CodeBlock.type';
6
+ export interface CodeBlockProps extends ViewProps {
7
+ /**
8
+ * Code content to display
9
+ */
10
+ code: string;
11
+ /**
12
+ * Programming language for syntax highlighting
13
+ */
14
+ language?: string;
15
+ /**
16
+ * Whether to show line numbers
17
+ */
18
+ showLineNumbers?: boolean;
19
+ /**
20
+ * Whether to enable syntax highlighting
21
+ */
22
+ enableSyntaxHighlighting?: boolean;
23
+ /**
24
+ * Whether to show a copy button
25
+ */
26
+ showCopyButton?: boolean;
27
+ /**
28
+ * Whether to show the language label
29
+ */
30
+ showLanguageLabel?: boolean;
31
+ /**
32
+ * Custom styles for the component
33
+ */
34
+ styles?: CodeBlockStyles;
35
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * CodeBlock State
3
+ */
4
+ export declare const useCodeBlockState: () => {
5
+ isCopied: boolean;
6
+ copyToClipboard: (text: string) => void;
7
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * CodeBlock Styles
3
+ *
4
+ * Styles for the CodeBlock component following the design guidelines
5
+ */
6
+ import { ViewProps } from 'app-studio';
7
+ export declare const containerStyles: ViewProps;
8
+ export declare const headerStyles: ViewProps;
9
+ export declare const contentStyles: ViewProps;
10
+ export declare const footerStyles: ViewProps;
11
+ export declare const copyButtonStyles: ViewProps;
12
+ export declare const languageLabelStyles: ViewProps;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * CodeBlock Types
3
+ */
4
+ import { ViewProps } from 'app-studio';
5
+ export interface CodeBlockStyles {
6
+ container?: ViewProps;
7
+ header?: ViewProps;
8
+ content?: ViewProps;
9
+ footer?: ViewProps;
10
+ copyButton?: ViewProps;
11
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * CodeBlock View
3
+ */
4
+ import React from 'react';
5
+ import { CodeBlockProps } from './CodeBlock.props';
6
+ interface Props extends CodeBlockProps {
7
+ isCopied: boolean;
8
+ copyToClipboard: (text: string) => void;
9
+ }
10
+ export declare const CodeBlockView: React.FC<Props>;
11
+ export {};
@@ -0,0 +1,10 @@
1
+ /**
2
+ * CodeBlock Component
3
+ *
4
+ * A component for displaying code with syntax highlighting, line numbers,
5
+ * and a copy button.
6
+ */
7
+ import React from 'react';
8
+ import { CodeBlockProps } from './CodeBlock/CodeBlock.props';
9
+ export declare const CodeBlock: React.FC<CodeBlockProps>;
10
+ export type { CodeBlockProps } from './CodeBlock/CodeBlock.props';
@@ -0,0 +1,47 @@
1
+ /**
2
+ * FileUploader Props
3
+ */
4
+ import { ViewProps } from 'app-studio';
5
+ import { UploadedFile, FileUploaderStyles } from './FileUploader.type';
6
+ export interface FileUploaderProps extends ViewProps {
7
+ /**
8
+ * List of uploaded files
9
+ */
10
+ files: UploadedFile[];
11
+ /**
12
+ * Callback function when files are added
13
+ */
14
+ onFilesAdded: (files: File[]) => void;
15
+ /**
16
+ * Callback function when a file is removed
17
+ */
18
+ onFileRemove: (fileId: string) => void;
19
+ /**
20
+ * Callback function when a file is retried after an error
21
+ */
22
+ onFileRetry?: (fileId: string) => void;
23
+ /**
24
+ * Maximum number of files allowed
25
+ */
26
+ maxFiles?: number;
27
+ /**
28
+ * Maximum file size in bytes
29
+ */
30
+ maxSize?: number;
31
+ /**
32
+ * Accepted file types
33
+ */
34
+ accept?: string;
35
+ /**
36
+ * Whether to allow multiple files
37
+ */
38
+ multiple?: boolean;
39
+ /**
40
+ * Whether the uploader is disabled
41
+ */
42
+ isDisabled?: boolean;
43
+ /**
44
+ * Custom styles for the component
45
+ */
46
+ styles?: FileUploaderStyles;
47
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * FileUploader State
3
+ */
4
+ /// <reference types="react" />
5
+ export declare const useFileUploaderState: (onFilesAdded: (files: File[]) => void, maxFiles: number, maxSize: number, accept: string) => {
6
+ isDragging: boolean;
7
+ fileInputRef: import("react").RefObject<HTMLInputElement>;
8
+ handleDragEnter: (e: React.DragEvent) => void;
9
+ handleDragLeave: (e: React.DragEvent) => void;
10
+ handleDragOver: (e: React.DragEvent) => void;
11
+ handleDrop: (e: React.DragEvent) => void;
12
+ handleFileInputChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
13
+ openFileDialog: () => void;
14
+ formatBytes: (bytes: number, decimals?: number) => string;
15
+ };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * FileUploader Styles
3
+ */
4
+ import { ViewProps } from 'app-studio';
5
+ export declare const containerStyles: ViewProps;
6
+ export declare const dropzoneStyles: (isDragging: boolean) => ViewProps;
7
+ export declare const fileListStyles: ViewProps;
8
+ export declare const fileItemStyles: ViewProps;
9
+ export declare const fileIconStyles: (fileType: string) => ViewProps;
10
+ export declare const fileInfoStyles: ViewProps;
11
+ export declare const fileNameStyles: ViewProps;
12
+ export declare const fileSizeStyles: ViewProps;
13
+ export declare const fileActionsStyles: ViewProps;
14
+ export declare const progressBarContainerStyles: ViewProps;
15
+ export declare const progressBarStyles: (progress: number) => ViewProps;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * FileUploader Types
3
+ */
4
+ import { ViewProps } from 'app-studio';
5
+ export interface UploadedFile {
6
+ id: string;
7
+ name: string;
8
+ size: number;
9
+ type: string;
10
+ url?: string;
11
+ file: File;
12
+ progress?: number;
13
+ error?: string;
14
+ isUploading?: boolean;
15
+ }
16
+ export interface FileUploaderStyles {
17
+ container?: ViewProps;
18
+ dropzone?: ViewProps;
19
+ fileList?: ViewProps;
20
+ fileItem?: ViewProps;
21
+ fileInfo?: ViewProps;
22
+ fileActions?: ViewProps;
23
+ progressBar?: ViewProps;
24
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * FileUploader View
3
+ */
4
+ import React from 'react';
5
+ import { FileUploaderProps } from './FileUploader.props';
6
+ interface Props extends FileUploaderProps {
7
+ isDragging: boolean;
8
+ fileInputRef: React.RefObject<HTMLInputElement>;
9
+ handleDragEnter: (e: React.DragEvent) => void;
10
+ handleDragLeave: (e: React.DragEvent) => void;
11
+ handleDragOver: (e: React.DragEvent) => void;
12
+ handleDrop: (e: React.DragEvent) => void;
13
+ handleFileInputChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
14
+ openFileDialog: () => void;
15
+ formatBytes: (bytes: number, decimals?: number) => string;
16
+ }
17
+ export declare const FileUploaderView: React.FC<Props>;
18
+ export {};
@@ -0,0 +1,11 @@
1
+ /**
2
+ * FileUploader Component
3
+ *
4
+ * A component for uploading files with drag and drop support, progress tracking,
5
+ * and file validation.
6
+ */
7
+ import React from 'react';
8
+ import { FileUploaderProps } from './FileUploader/FileUploader.props';
9
+ export declare const FileUploader: React.FC<FileUploaderProps>;
10
+ export type { FileUploaderProps } from './FileUploader/FileUploader.props';
11
+ export type { UploadedFile } from './FileUploader/FileUploader.type';