@octaviaflow/core 3.0.18-beta.0 → 3.0.18

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/dist/components/Accordion/Accordion.d.ts +45 -0
  2. package/dist/components/Accordion/Accordion.d.ts.map +1 -0
  3. package/dist/components/Accordion/index.d.ts +2 -0
  4. package/dist/components/Accordion/index.d.ts.map +1 -0
  5. package/dist/components/AgentCard/AgentCard.d.ts +53 -7
  6. package/dist/components/AgentCard/AgentCard.d.ts.map +1 -1
  7. package/dist/components/AlertCard/AlertCard.d.ts +76 -0
  8. package/dist/components/AlertCard/AlertCard.d.ts.map +1 -0
  9. package/dist/components/AlertCard/index.d.ts +2 -0
  10. package/dist/components/AlertCard/index.d.ts.map +1 -0
  11. package/dist/components/AuthCard/AuthCard.d.ts +29 -42
  12. package/dist/components/AuthCard/AuthCard.d.ts.map +1 -1
  13. package/dist/components/Avatar/Avatar.d.ts +48 -11
  14. package/dist/components/Avatar/Avatar.d.ts.map +1 -1
  15. package/dist/components/Avatar/index.d.ts +1 -1
  16. package/dist/components/Avatar/index.d.ts.map +1 -1
  17. package/dist/components/Badge/Badge.d.ts +46 -8
  18. package/dist/components/Badge/Badge.d.ts.map +1 -1
  19. package/dist/components/Badge/index.d.ts +1 -1
  20. package/dist/components/Badge/index.d.ts.map +1 -1
  21. package/dist/components/Banner/Banner.d.ts +53 -6
  22. package/dist/components/Banner/Banner.d.ts.map +1 -1
  23. package/dist/components/Banner/index.d.ts +1 -1
  24. package/dist/components/Banner/index.d.ts.map +1 -1
  25. package/dist/components/BarChart/BarChart.d.ts +62 -5
  26. package/dist/components/BarChart/BarChart.d.ts.map +1 -1
  27. package/dist/components/BarChart/index.d.ts +1 -1
  28. package/dist/components/BarChart/index.d.ts.map +1 -1
  29. package/dist/components/BlogCard/BlogCard.d.ts +39 -4
  30. package/dist/components/BlogCard/BlogCard.d.ts.map +1 -1
  31. package/dist/components/Button/Button.d.ts +23 -5
  32. package/dist/components/Button/Button.d.ts.map +1 -1
  33. package/dist/components/Calendar/Calendar.d.ts +53 -4
  34. package/dist/components/Calendar/Calendar.d.ts.map +1 -1
  35. package/dist/components/CalendarHeatmap/CalendarHeatmap.d.ts +47 -0
  36. package/dist/components/CalendarHeatmap/CalendarHeatmap.d.ts.map +1 -0
  37. package/dist/components/CalendarHeatmap/index.d.ts +2 -0
  38. package/dist/components/CalendarHeatmap/index.d.ts.map +1 -0
  39. package/dist/components/Callout/Callout.d.ts +33 -7
  40. package/dist/components/Callout/Callout.d.ts.map +1 -1
  41. package/dist/components/Callout/index.d.ts +1 -1
  42. package/dist/components/Callout/index.d.ts.map +1 -1
  43. package/dist/components/Card/Card.d.ts +49 -8
  44. package/dist/components/Card/Card.d.ts.map +1 -1
  45. package/dist/components/Card/index.d.ts +1 -1
  46. package/dist/components/Card/index.d.ts.map +1 -1
  47. package/dist/components/ChatBubble/ChatBubble.d.ts +32 -7
  48. package/dist/components/ChatBubble/ChatBubble.d.ts.map +1 -1
  49. package/dist/components/ChatBubble/index.d.ts +1 -1
  50. package/dist/components/ChatBubble/index.d.ts.map +1 -1
  51. package/dist/components/Checkbox/Checkbox.d.ts +16 -3
  52. package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
  53. package/dist/components/Checkbox/index.d.ts +1 -1
  54. package/dist/components/Checkbox/index.d.ts.map +1 -1
  55. package/dist/components/Chip/Chip.d.ts +28 -9
  56. package/dist/components/Chip/Chip.d.ts.map +1 -1
  57. package/dist/components/Chip/index.d.ts +1 -1
  58. package/dist/components/Chip/index.d.ts.map +1 -1
  59. package/dist/components/ChoiceCard/ChoiceCard.d.ts +44 -6
  60. package/dist/components/ChoiceCard/ChoiceCard.d.ts.map +1 -1
  61. package/dist/components/ChoiceCard/index.d.ts +1 -1
  62. package/dist/components/ChoiceCard/index.d.ts.map +1 -1
  63. package/dist/components/Coachmark/Coachmark.d.ts +52 -0
  64. package/dist/components/Coachmark/Coachmark.d.ts.map +1 -0
  65. package/dist/components/Coachmark/index.d.ts +2 -0
  66. package/dist/components/Coachmark/index.d.ts.map +1 -0
  67. package/dist/components/CodeEditor/CodeEditor.d.ts +10 -1
  68. package/dist/components/CodeEditor/CodeEditor.d.ts.map +1 -1
  69. package/dist/components/ColorPicker/ColorPicker.d.ts +25 -6
  70. package/dist/components/ColorPicker/ColorPicker.d.ts.map +1 -1
  71. package/dist/components/ColorPicker/index.d.ts +1 -1
  72. package/dist/components/ColorPicker/index.d.ts.map +1 -1
  73. package/dist/components/CommandPalette/CommandPalette.d.ts +64 -0
  74. package/dist/components/CommandPalette/CommandPalette.d.ts.map +1 -0
  75. package/dist/components/CommandPalette/index.d.ts +2 -0
  76. package/dist/components/CommandPalette/index.d.ts.map +1 -0
  77. package/dist/components/ConditionBuilder/ConditionBuilder.d.ts +24 -4
  78. package/dist/components/ConditionBuilder/ConditionBuilder.d.ts.map +1 -1
  79. package/dist/components/ConfigPanel/ConfigPanel.d.ts +18 -12
  80. package/dist/components/ConfigPanel/ConfigPanel.d.ts.map +1 -1
  81. package/dist/components/ConfigPanel/index.d.ts +1 -1
  82. package/dist/components/ConfigPanel/index.d.ts.map +1 -1
  83. package/dist/components/ConfirmDialog/ConfirmDialog.d.ts +47 -0
  84. package/dist/components/ConfirmDialog/ConfirmDialog.d.ts.map +1 -0
  85. package/dist/components/ConfirmDialog/index.d.ts +2 -0
  86. package/dist/components/ConfirmDialog/index.d.ts.map +1 -0
  87. package/dist/components/ConnectorCard/ConnectorCard.d.ts +49 -0
  88. package/dist/components/ConnectorCard/ConnectorCard.d.ts.map +1 -0
  89. package/dist/components/ConnectorCard/index.d.ts +2 -0
  90. package/dist/components/ConnectorCard/index.d.ts.map +1 -0
  91. package/dist/components/ContextMenu/ContextMenu.d.ts +46 -0
  92. package/dist/components/ContextMenu/ContextMenu.d.ts.map +1 -0
  93. package/dist/components/ContextMenu/index.d.ts +2 -0
  94. package/dist/components/ContextMenu/index.d.ts.map +1 -0
  95. package/dist/components/CountUp/CountUp.d.ts +35 -0
  96. package/dist/components/CountUp/CountUp.d.ts.map +1 -0
  97. package/dist/components/CountUp/index.d.ts +2 -0
  98. package/dist/components/CountUp/index.d.ts.map +1 -0
  99. package/dist/components/DataMapper/DataMapper.d.ts +3 -3
  100. package/dist/components/DataMapper/DataMapper.d.ts.map +1 -1
  101. package/dist/components/DataTable/DataTable.d.ts +35 -3
  102. package/dist/components/DataTable/DataTable.d.ts.map +1 -1
  103. package/dist/components/DatasetCard/DatasetCard.d.ts +55 -0
  104. package/dist/components/DatasetCard/DatasetCard.d.ts.map +1 -0
  105. package/dist/components/DatasetCard/index.d.ts +2 -0
  106. package/dist/components/DatasetCard/index.d.ts.map +1 -0
  107. package/dist/components/DatePicker/DatePicker.d.ts +18 -5
  108. package/dist/components/DatePicker/DatePicker.d.ts.map +1 -1
  109. package/dist/components/DatePicker/index.d.ts +1 -1
  110. package/dist/components/DatePicker/index.d.ts.map +1 -1
  111. package/dist/components/DescriptionList/DescriptionList.d.ts +10 -6
  112. package/dist/components/DescriptionList/DescriptionList.d.ts.map +1 -1
  113. package/dist/components/DescriptionList/index.d.ts +1 -1
  114. package/dist/components/DescriptionList/index.d.ts.map +1 -1
  115. package/dist/components/Dialog/Dialog.d.ts +13 -5
  116. package/dist/components/Dialog/Dialog.d.ts.map +1 -1
  117. package/dist/components/Dialog/index.d.ts +1 -1
  118. package/dist/components/Dialog/index.d.ts.map +1 -1
  119. package/dist/components/Divider/Divider.d.ts +24 -0
  120. package/dist/components/Divider/Divider.d.ts.map +1 -0
  121. package/dist/components/Divider/index.d.ts +2 -0
  122. package/dist/components/Divider/index.d.ts.map +1 -0
  123. package/dist/components/DonutChart/DonutChart.d.ts +32 -4
  124. package/dist/components/DonutChart/DonutChart.d.ts.map +1 -1
  125. package/dist/components/Drawer/Drawer.d.ts +12 -5
  126. package/dist/components/Drawer/Drawer.d.ts.map +1 -1
  127. package/dist/components/Drawer/index.d.ts +1 -1
  128. package/dist/components/Drawer/index.d.ts.map +1 -1
  129. package/dist/components/EmptyState/EmptyState.d.ts +16 -6
  130. package/dist/components/EmptyState/EmptyState.d.ts.map +1 -1
  131. package/dist/components/EmptyState/index.d.ts +1 -1
  132. package/dist/components/EmptyState/index.d.ts.map +1 -1
  133. package/dist/components/FeatureCard/FeatureCard.d.ts +29 -10
  134. package/dist/components/FeatureCard/FeatureCard.d.ts.map +1 -1
  135. package/dist/components/FileDropzone/FileDropzone.d.ts +3 -3
  136. package/dist/components/FileDropzone/FileDropzone.d.ts.map +1 -1
  137. package/dist/components/Gauge/Gauge.d.ts +46 -0
  138. package/dist/components/Gauge/Gauge.d.ts.map +1 -0
  139. package/dist/components/Gauge/index.d.ts +2 -0
  140. package/dist/components/Gauge/index.d.ts.map +1 -0
  141. package/dist/components/Grid/Grid.d.ts +46 -0
  142. package/dist/components/Grid/Grid.d.ts.map +1 -0
  143. package/dist/components/Grid/index.d.ts +2 -0
  144. package/dist/components/Grid/index.d.ts.map +1 -0
  145. package/dist/components/Heatmap/Heatmap.d.ts +54 -0
  146. package/dist/components/Heatmap/Heatmap.d.ts.map +1 -0
  147. package/dist/components/Heatmap/index.d.ts +2 -0
  148. package/dist/components/Heatmap/index.d.ts.map +1 -0
  149. package/dist/components/IconCard/IconCard.d.ts +24 -6
  150. package/dist/components/IconCard/IconCard.d.ts.map +1 -1
  151. package/dist/components/IconCard/index.d.ts +1 -1
  152. package/dist/components/IconCard/index.d.ts.map +1 -1
  153. package/dist/components/InlineMessage/InlineMessage.d.ts +24 -0
  154. package/dist/components/InlineMessage/InlineMessage.d.ts.map +1 -0
  155. package/dist/components/InlineMessage/index.d.ts +2 -0
  156. package/dist/components/InlineMessage/index.d.ts.map +1 -0
  157. package/dist/components/Input/Input.d.ts.map +1 -1
  158. package/dist/components/IntegrationCard/IntegrationCard.d.ts +69 -0
  159. package/dist/components/IntegrationCard/IntegrationCard.d.ts.map +1 -0
  160. package/dist/components/IntegrationCard/index.d.ts +2 -0
  161. package/dist/components/IntegrationCard/index.d.ts.map +1 -0
  162. package/dist/components/JsonViewer/JsonViewer.d.ts +10 -4
  163. package/dist/components/JsonViewer/JsonViewer.d.ts.map +1 -1
  164. package/dist/components/KanbanCard/KanbanCard.d.ts +40 -7
  165. package/dist/components/KanbanCard/KanbanCard.d.ts.map +1 -1
  166. package/dist/components/Kbd/Kbd.d.ts +8 -9
  167. package/dist/components/Kbd/Kbd.d.ts.map +1 -1
  168. package/dist/components/Kbd/index.d.ts +1 -1
  169. package/dist/components/Kbd/index.d.ts.map +1 -1
  170. package/dist/components/LineChart/LineChart.d.ts +42 -4
  171. package/dist/components/LineChart/LineChart.d.ts.map +1 -1
  172. package/dist/components/LineChart/index.d.ts +1 -1
  173. package/dist/components/LineChart/index.d.ts.map +1 -1
  174. package/dist/components/LinkButton/LinkButton.d.ts +16 -4
  175. package/dist/components/LinkButton/LinkButton.d.ts.map +1 -1
  176. package/dist/components/LinkButton/index.d.ts +1 -1
  177. package/dist/components/LinkButton/index.d.ts.map +1 -1
  178. package/dist/components/MetricCard/MetricCard.d.ts +71 -0
  179. package/dist/components/MetricCard/MetricCard.d.ts.map +1 -0
  180. package/dist/components/MetricCard/index.d.ts +2 -0
  181. package/dist/components/MetricCard/index.d.ts.map +1 -0
  182. package/dist/components/MonacoEditor/MonacoDiffEditor.d.ts +22 -5
  183. package/dist/components/MonacoEditor/MonacoDiffEditor.d.ts.map +1 -1
  184. package/dist/components/MonacoEditor/MonacoEditor.d.ts +28 -7
  185. package/dist/components/MonacoEditor/MonacoEditor.d.ts.map +1 -1
  186. package/dist/components/MonacoEditor/index.d.ts +2 -2
  187. package/dist/components/MonacoEditor/index.d.ts.map +1 -1
  188. package/dist/components/MultiSelect/MultiSelect.d.ts +23 -7
  189. package/dist/components/MultiSelect/MultiSelect.d.ts.map +1 -1
  190. package/dist/components/MultiSelect/index.d.ts +1 -1
  191. package/dist/components/MultiSelect/index.d.ts.map +1 -1
  192. package/dist/components/NumberInput/NumberInput.d.ts +13 -7
  193. package/dist/components/NumberInput/NumberInput.d.ts.map +1 -1
  194. package/dist/components/NumberInput/index.d.ts +1 -1
  195. package/dist/components/NumberInput/index.d.ts.map +1 -1
  196. package/dist/components/OTPInput/OTPInput.d.ts +27 -4
  197. package/dist/components/OTPInput/OTPInput.d.ts.map +1 -1
  198. package/dist/components/OTPInput/index.d.ts +1 -1
  199. package/dist/components/OTPInput/index.d.ts.map +1 -1
  200. package/dist/components/Pagination/Pagination.d.ts +50 -0
  201. package/dist/components/Pagination/Pagination.d.ts.map +1 -0
  202. package/dist/components/Pagination/index.d.ts +2 -0
  203. package/dist/components/Pagination/index.d.ts.map +1 -0
  204. package/dist/components/PasswordInput/PasswordInput.d.ts +22 -7
  205. package/dist/components/PasswordInput/PasswordInput.d.ts.map +1 -1
  206. package/dist/components/PasswordInput/index.d.ts +1 -1
  207. package/dist/components/PasswordInput/index.d.ts.map +1 -1
  208. package/dist/components/PhoneInput/PhoneInput.d.ts +19 -6
  209. package/dist/components/PhoneInput/PhoneInput.d.ts.map +1 -1
  210. package/dist/components/PhoneInput/countries.d.ts +15 -0
  211. package/dist/components/PhoneInput/countries.d.ts.map +1 -0
  212. package/dist/components/PhoneInput/index.d.ts +2 -1
  213. package/dist/components/PhoneInput/index.d.ts.map +1 -1
  214. package/dist/components/PipelineCard/PipelineCard.d.ts +100 -0
  215. package/dist/components/PipelineCard/PipelineCard.d.ts.map +1 -0
  216. package/dist/components/PipelineCard/index.d.ts +2 -0
  217. package/dist/components/PipelineCard/index.d.ts.map +1 -0
  218. package/dist/components/Popover/Popover.d.ts +5 -1
  219. package/dist/components/Popover/Popover.d.ts.map +1 -1
  220. package/dist/components/PricingCard/PricingCard.d.ts +28 -5
  221. package/dist/components/PricingCard/PricingCard.d.ts.map +1 -1
  222. package/dist/components/ProductCard/ProductCard.d.ts +35 -4
  223. package/dist/components/ProductCard/ProductCard.d.ts.map +1 -1
  224. package/dist/components/ProgressBar/ProgressBar.d.ts +28 -0
  225. package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -0
  226. package/dist/components/ProgressBar/index.d.ts +2 -0
  227. package/dist/components/ProgressBar/index.d.ts.map +1 -0
  228. package/dist/components/ProgressRing/ProgressRing.d.ts +22 -5
  229. package/dist/components/ProgressRing/ProgressRing.d.ts.map +1 -1
  230. package/dist/components/ProgressRing/index.d.ts +1 -1
  231. package/dist/components/ProgressRing/index.d.ts.map +1 -1
  232. package/dist/components/PromptInput/PromptInput.d.ts +59 -16
  233. package/dist/components/PromptInput/PromptInput.d.ts.map +1 -1
  234. package/dist/components/PromptInput/index.d.ts +1 -1
  235. package/dist/components/PromptInput/index.d.ts.map +1 -1
  236. package/dist/components/Quote/Quote.d.ts +20 -6
  237. package/dist/components/Quote/Quote.d.ts.map +1 -1
  238. package/dist/components/Quote/index.d.ts +1 -1
  239. package/dist/components/Quote/index.d.ts.map +1 -1
  240. package/dist/components/Radio/Radio.d.ts +12 -5
  241. package/dist/components/Radio/Radio.d.ts.map +1 -1
  242. package/dist/components/Radio/RadioGroup.d.ts +16 -15
  243. package/dist/components/Radio/RadioGroup.d.ts.map +1 -1
  244. package/dist/components/Radio/index.d.ts +2 -2
  245. package/dist/components/Radio/index.d.ts.map +1 -1
  246. package/dist/components/RangeSlider/RangeSlider.d.ts +18 -5
  247. package/dist/components/RangeSlider/RangeSlider.d.ts.map +1 -1
  248. package/dist/components/RangeSlider/index.d.ts +1 -1
  249. package/dist/components/RangeSlider/index.d.ts.map +1 -1
  250. package/dist/components/Rating/BinaryRating.d.ts +40 -0
  251. package/dist/components/Rating/BinaryRating.d.ts.map +1 -0
  252. package/dist/components/Rating/Rating.d.ts +21 -6
  253. package/dist/components/Rating/Rating.d.ts.map +1 -1
  254. package/dist/components/Rating/index.d.ts +2 -1
  255. package/dist/components/Rating/index.d.ts.map +1 -1
  256. package/dist/components/Resizable/Resizable.d.ts +32 -36
  257. package/dist/components/Resizable/Resizable.d.ts.map +1 -1
  258. package/dist/components/Resizable/index.d.ts +1 -1
  259. package/dist/components/Resizable/index.d.ts.map +1 -1
  260. package/dist/components/Ribbon/Ribbon.d.ts +12 -6
  261. package/dist/components/Ribbon/Ribbon.d.ts.map +1 -1
  262. package/dist/components/Ribbon/index.d.ts +1 -1
  263. package/dist/components/Ribbon/index.d.ts.map +1 -1
  264. package/dist/components/Sankey/Sankey.d.ts +53 -0
  265. package/dist/components/Sankey/Sankey.d.ts.map +1 -0
  266. package/dist/components/Sankey/index.d.ts +2 -0
  267. package/dist/components/Sankey/index.d.ts.map +1 -0
  268. package/dist/components/ScrollArea/ScrollArea.d.ts +33 -0
  269. package/dist/components/ScrollArea/ScrollArea.d.ts.map +1 -0
  270. package/dist/components/ScrollArea/index.d.ts +2 -0
  271. package/dist/components/ScrollArea/index.d.ts.map +1 -0
  272. package/dist/components/SegmentedControl/SegmentedControl.d.ts +38 -0
  273. package/dist/components/SegmentedControl/SegmentedControl.d.ts.map +1 -0
  274. package/dist/components/SegmentedControl/index.d.ts +2 -0
  275. package/dist/components/SegmentedControl/index.d.ts.map +1 -0
  276. package/dist/components/Select/Select.d.ts +19 -1
  277. package/dist/components/Select/Select.d.ts.map +1 -1
  278. package/dist/components/Sheet/Sheet.d.ts.map +1 -1
  279. package/dist/components/Show/Show.d.ts +35 -0
  280. package/dist/components/Show/Show.d.ts.map +1 -0
  281. package/dist/components/Show/index.d.ts +2 -0
  282. package/dist/components/Show/index.d.ts.map +1 -0
  283. package/dist/components/Sidebar/Sidebar.d.ts +7 -8
  284. package/dist/components/Sidebar/Sidebar.d.ts.map +1 -1
  285. package/dist/components/Skeleton/Skeleton.d.ts +43 -5
  286. package/dist/components/Skeleton/Skeleton.d.ts.map +1 -1
  287. package/dist/components/Skeleton/index.d.ts +1 -1
  288. package/dist/components/Skeleton/index.d.ts.map +1 -1
  289. package/dist/components/Slider/Slider.d.ts +26 -7
  290. package/dist/components/Slider/Slider.d.ts.map +1 -1
  291. package/dist/components/Slider/index.d.ts +1 -1
  292. package/dist/components/Slider/index.d.ts.map +1 -1
  293. package/dist/components/SocialButton/SocialButton.d.ts +23 -5
  294. package/dist/components/SocialButton/SocialButton.d.ts.map +1 -1
  295. package/dist/components/SocialButton/index.d.ts +1 -1
  296. package/dist/components/SocialButton/index.d.ts.map +1 -1
  297. package/dist/components/Sortable/Sortable.d.ts +14 -6
  298. package/dist/components/Sortable/Sortable.d.ts.map +1 -1
  299. package/dist/components/Sparkline/Sparkline.d.ts +38 -3
  300. package/dist/components/Sparkline/Sparkline.d.ts.map +1 -1
  301. package/dist/components/Sparkline/index.d.ts +1 -1
  302. package/dist/components/Sparkline/index.d.ts.map +1 -1
  303. package/dist/components/Spinner/Spinner.d.ts +14 -5
  304. package/dist/components/Spinner/Spinner.d.ts.map +1 -1
  305. package/dist/components/Spinner/index.d.ts +1 -1
  306. package/dist/components/Spinner/index.d.ts.map +1 -1
  307. package/dist/components/Spotlight/Spotlight.d.ts +37 -0
  308. package/dist/components/Spotlight/Spotlight.d.ts.map +1 -0
  309. package/dist/components/Spotlight/index.d.ts +2 -0
  310. package/dist/components/Spotlight/index.d.ts.map +1 -0
  311. package/dist/components/Stack/Stack.d.ts +41 -0
  312. package/dist/components/Stack/Stack.d.ts.map +1 -0
  313. package/dist/components/Stack/index.d.ts +2 -0
  314. package/dist/components/Stack/index.d.ts.map +1 -0
  315. package/dist/components/Stat/Stat.d.ts +15 -6
  316. package/dist/components/Stat/Stat.d.ts.map +1 -1
  317. package/dist/components/Stat/index.d.ts +1 -1
  318. package/dist/components/Stat/index.d.ts.map +1 -1
  319. package/dist/components/StatusTiles/StatusTiles.d.ts +39 -0
  320. package/dist/components/StatusTiles/StatusTiles.d.ts.map +1 -0
  321. package/dist/components/StatusTiles/index.d.ts +2 -0
  322. package/dist/components/StatusTiles/index.d.ts.map +1 -0
  323. package/dist/components/Stepper/Stepper.d.ts +53 -0
  324. package/dist/components/Stepper/Stepper.d.ts.map +1 -0
  325. package/dist/components/Stepper/index.d.ts +2 -0
  326. package/dist/components/Stepper/index.d.ts.map +1 -0
  327. package/dist/components/Switch/Switch.d.ts +11 -6
  328. package/dist/components/Switch/Switch.d.ts.map +1 -1
  329. package/dist/components/Switch/index.d.ts +1 -1
  330. package/dist/components/Switch/index.d.ts.map +1 -1
  331. package/dist/components/Table/Table.d.ts +11 -5
  332. package/dist/components/Table/Table.d.ts.map +1 -1
  333. package/dist/components/TagsInput/TagsInput.d.ts +10 -5
  334. package/dist/components/TagsInput/TagsInput.d.ts.map +1 -1
  335. package/dist/components/TagsInput/index.d.ts +1 -1
  336. package/dist/components/TagsInput/index.d.ts.map +1 -1
  337. package/dist/components/TemplateCard/TemplateCard.d.ts +120 -0
  338. package/dist/components/TemplateCard/TemplateCard.d.ts.map +1 -0
  339. package/dist/components/TemplateCard/index.d.ts +2 -0
  340. package/dist/components/TemplateCard/index.d.ts.map +1 -0
  341. package/dist/components/TestimonialCard/TestimonialCard.d.ts +30 -5
  342. package/dist/components/TestimonialCard/TestimonialCard.d.ts.map +1 -1
  343. package/dist/components/Textarea/Textarea.d.ts +81 -7
  344. package/dist/components/Textarea/Textarea.d.ts.map +1 -1
  345. package/dist/components/Textarea/index.d.ts +1 -1
  346. package/dist/components/Textarea/index.d.ts.map +1 -1
  347. package/dist/components/TimePicker/TimePicker.d.ts +7 -5
  348. package/dist/components/TimePicker/TimePicker.d.ts.map +1 -1
  349. package/dist/components/TimePicker/index.d.ts +1 -1
  350. package/dist/components/TimePicker/index.d.ts.map +1 -1
  351. package/dist/components/Timeline/Timeline.d.ts +14 -5
  352. package/dist/components/Timeline/Timeline.d.ts.map +1 -1
  353. package/dist/components/Timeline/index.d.ts +1 -1
  354. package/dist/components/Timeline/index.d.ts.map +1 -1
  355. package/dist/components/TimezonePicker/TimezonePicker.d.ts +8 -5
  356. package/dist/components/TimezonePicker/TimezonePicker.d.ts.map +1 -1
  357. package/dist/components/TimezonePicker/index.d.ts +1 -1
  358. package/dist/components/TimezonePicker/index.d.ts.map +1 -1
  359. package/dist/components/Toast/Toast.d.ts +15 -0
  360. package/dist/components/Toast/Toast.d.ts.map +1 -1
  361. package/dist/components/Toggle/Toggle.d.ts +16 -6
  362. package/dist/components/Toggle/Toggle.d.ts.map +1 -1
  363. package/dist/components/Toggle/index.d.ts +1 -1
  364. package/dist/components/Toggle/index.d.ts.map +1 -1
  365. package/dist/components/ToolCard/ToolCard.d.ts +12 -10
  366. package/dist/components/ToolCard/ToolCard.d.ts.map +1 -1
  367. package/dist/components/Tooltip/Tooltip.d.ts +13 -2
  368. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  369. package/dist/components/Tooltip/index.d.ts +1 -1
  370. package/dist/components/Tooltip/index.d.ts.map +1 -1
  371. package/dist/components/TraceStep/TraceStep.d.ts +37 -8
  372. package/dist/components/TraceStep/TraceStep.d.ts.map +1 -1
  373. package/dist/components/TreeView/TreeView.d.ts +54 -0
  374. package/dist/components/TreeView/TreeView.d.ts.map +1 -0
  375. package/dist/components/TreeView/index.d.ts +2 -0
  376. package/dist/components/TreeView/index.d.ts.map +1 -0
  377. package/dist/components/UserCard/UserCard.d.ts +38 -5
  378. package/dist/components/UserCard/UserCard.d.ts.map +1 -1
  379. package/dist/components/XmlViewer/XmlViewer.d.ts +11 -6
  380. package/dist/components/XmlViewer/XmlViewer.d.ts.map +1 -1
  381. package/dist/components/YamlViewer/YamlViewer.d.ts +13 -6
  382. package/dist/components/YamlViewer/YamlViewer.d.ts.map +1 -1
  383. package/dist/hooks/useBanner.d.ts +27 -0
  384. package/dist/hooks/useBanner.d.ts.map +1 -0
  385. package/dist/hooks/useBreakpoint.d.ts +29 -0
  386. package/dist/hooks/useBreakpoint.d.ts.map +1 -0
  387. package/dist/hooks/useCallout.d.ts +32 -0
  388. package/dist/hooks/useCallout.d.ts.map +1 -0
  389. package/dist/hooks/useMediaQuery.d.ts +15 -0
  390. package/dist/hooks/useMediaQuery.d.ts.map +1 -0
  391. package/dist/hooks/usePasswordStrength.d.ts +37 -0
  392. package/dist/hooks/usePasswordStrength.d.ts.map +1 -0
  393. package/dist/hooks/useRating.d.ts +51 -0
  394. package/dist/hooks/useRating.d.ts.map +1 -0
  395. package/dist/hooks/useTextareaCommands.d.ts +55 -0
  396. package/dist/hooks/useTextareaCommands.d.ts.map +1 -0
  397. package/dist/hooks/useTextareaSelection.d.ts +34 -0
  398. package/dist/hooks/useTextareaSelection.d.ts.map +1 -0
  399. package/dist/hooks/useTextareaTools.d.ts +88 -0
  400. package/dist/hooks/useTextareaTools.d.ts.map +1 -0
  401. package/dist/hooks/useTimeline.d.ts +31 -0
  402. package/dist/hooks/useTimeline.d.ts.map +1 -0
  403. package/dist/hooks/useTraceTimeline.d.ts +54 -0
  404. package/dist/hooks/useTraceTimeline.d.ts.map +1 -0
  405. package/dist/index.cjs +22959 -10158
  406. package/dist/index.cjs.map +1 -1
  407. package/dist/index.d.ts +90 -47
  408. package/dist/index.d.ts.map +1 -1
  409. package/dist/index.js +23914 -10637
  410. package/dist/index.js.map +1 -1
  411. package/dist/monaco.cjs +359 -488
  412. package/dist/monaco.cjs.map +1 -1
  413. package/dist/monaco.d.ts +1 -1
  414. package/dist/monaco.d.ts.map +1 -1
  415. package/dist/monaco.js +381 -489
  416. package/dist/monaco.js.map +1 -1
  417. package/dist/stories/_shared/TestPage.d.ts +12 -0
  418. package/dist/stories/_shared/TestPage.d.ts.map +1 -0
  419. package/dist/styles.css +1 -1
  420. package/dist/utils/Slot.d.ts +7 -0
  421. package/dist/utils/Slot.d.ts.map +1 -0
  422. package/dist/utils/composeRefs.d.ts +7 -0
  423. package/dist/utils/composeRefs.d.ts.map +1 -0
  424. package/dist/utils/gradients.d.ts +77 -0
  425. package/dist/utils/gradients.d.ts.map +1 -0
  426. package/dist/utils/zIndex.d.ts +53 -0
  427. package/dist/utils/zIndex.d.ts.map +1 -0
  428. package/package.json +5 -5
@@ -0,0 +1,45 @@
1
+ import { type ComponentPropsWithoutRef, type ReactNode } from "react";
2
+ export type AccordionMode = "single" | "multiple";
3
+ export type AccordionVariant = "default" | "bordered" | "separated";
4
+ export interface AccordionItem {
5
+ /** Stable identifier. */
6
+ id: string;
7
+ /** Header label. */
8
+ label: ReactNode;
9
+ /** Optional secondary line below the label. */
10
+ description?: ReactNode;
11
+ /** Optional leading icon. */
12
+ icon?: ReactNode;
13
+ /** Optional trailing slot in the header (badge, count, action). */
14
+ trailing?: ReactNode;
15
+ /** Panel content. */
16
+ content: ReactNode;
17
+ /** Disable interaction for this item. */
18
+ disabled?: boolean;
19
+ }
20
+ export interface AccordionProps extends Omit<ComponentPropsWithoutRef<"div">, "onChange" | "defaultValue" | "children" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart"> {
21
+ /** Items to render. */
22
+ items: AccordionItem[];
23
+ /** Single vs multiple expansion. Default `"single"`. */
24
+ mode?: AccordionMode;
25
+ /** Controlled expanded item ids. */
26
+ value?: string[];
27
+ /** Uncontrolled initial expanded ids. */
28
+ defaultValue?: string[];
29
+ /** Fires when the expanded set changes. */
30
+ onValueChange?: (value: string[]) => void;
31
+ /**
32
+ * Allow the last open item to be closed (single mode). Default
33
+ * `true`. When `false`, one item is always open — useful for tabbed-
34
+ * like surfaces.
35
+ */
36
+ collapsible?: boolean;
37
+ /** Visual variant. Default `"default"`. */
38
+ variant?: AccordionVariant;
39
+ /** Visual size. Default `"md"`. */
40
+ size?: "sm" | "md" | "lg";
41
+ /** Disable the entire accordion. */
42
+ disabled?: boolean;
43
+ }
44
+ export declare const Accordion: import("react").ForwardRefExoticComponent<AccordionProps & import("react").RefAttributes<HTMLDivElement>>;
45
+ //# sourceMappingURL=Accordion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,wBAAwB,EAG7B,KAAK,SAAS,EAIf,MAAM,OAAO,CAAC;AAoBf,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,UAAU,CAAC;AAClD,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,UAAU,GAAG,WAAW,CAAC;AAEpE,MAAM,WAAW,aAAa;IAC5B,yBAAyB;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB;IACpB,KAAK,EAAE,SAAS,CAAC;IACjB,+CAA+C;IAC/C,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,6BAA6B;IAC7B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,qBAAqB;IACrB,OAAO,EAAE,SAAS,CAAC;IACnB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,cACf,SAAQ,IAAI,CACV,wBAAwB,CAAC,KAAK,CAAC,EAC7B,UAAU,GACV,cAAc,GACd,UAAU,GACV,QAAQ,GACR,aAAa,GACb,WAAW,GACX,kBAAkB,CACrB;IACD,uBAAuB;IACvB,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,wDAAwD;IACxD,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,oCAAoC;IACpC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,yCAAyC;IACzC,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,2CAA2C;IAC3C,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC1C;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,mCAAmC;IACnC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAMD,eAAO,MAAM,SAAS,2GA0MrB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Accordion, type AccordionItem, type AccordionMode, type AccordionProps, type AccordionVariant, } from "./Accordion";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,gBAAgB,GACtB,MAAM,aAAa,CAAC"}
@@ -1,25 +1,71 @@
1
- import type { ReactNode } from "react";
2
- export type AgentStatus = "idle" | "running" | "failed" | "paused" | "draft";
1
+ import { type ReactNode } from "react";
2
+ /**
3
+ * The catalog variant of AgentCard — identity + capability summary for
4
+ * the agent catalog browse experience. Other variants ship as sibling
5
+ * components (AgentStatusCard, AgentProviderCard, etc.) to keep the API
6
+ * narrow and the typing precise per-shape.
7
+ */
8
+ /** Agent runtime states. Added `success` in v1.1. Re-mapped `paused` to
9
+ * a neutral surface (was status-pending which read as warning-in-progress). */
10
+ export type AgentStatus = "idle" | "running" | "success" | "failed" | "paused" | "draft";
11
+ /** DAG node taxonomy — drives the avatar surface color so the catalog
12
+ * grid color-codes agents by their role at a glance. */
13
+ export type AgentType = "trigger" | "action" | "transform" | "condition" | "io";
14
+ /** Three sizes for different surfaces — sm for compact lists, md for catalog
15
+ * grids (default), lg for hero / featured placements. */
16
+ export type AgentCardSize = "sm" | "md" | "lg";
17
+ /** Density modifier — comfortable matches the default; dense tightens
18
+ * vertical rhythm for high-information surfaces (admin tables, etc.). */
19
+ export type AgentCardDensity = "comfortable" | "dense";
3
20
  export interface AgentCardProps {
21
+ /** Agent display name. */
4
22
  name: ReactNode;
5
- /** Optional role / one-line description. */
23
+ /** Optional role / one-line description (e.g. "Routing", "Schema drift detector"). */
6
24
  role?: ReactNode;
7
- /** Avatar / glyph for the agent. Defaults to initial of `name`. */
25
+ /** Avatar / glyph for the agent. Defaults to the first character of `name`. */
8
26
  avatar?: ReactNode;
9
27
  /** Model identifier (e.g. "claude-opus-4-7", "gpt-4o"). */
10
28
  model?: string;
11
- /** Status pill on the right. */
29
+ /** Runtime status. Drives the right-aligned status pill. */
12
30
  status?: AgentStatus;
31
+ /** Agent type — colors the avatar surface per the DAG node taxonomy. */
32
+ agentType?: AgentType;
13
33
  /** Tool count badge. */
14
34
  toolCount?: number;
15
- /** Hover affordance. */
35
+ /** Tags rendered as a chip cluster below the meta row. */
36
+ tags?: readonly string[];
37
+ /** Maximum number of tag chips to render before collapsing the rest
38
+ * into a `+N` overflow chip. Defaults are size-aware (sm: 2, md: 3,
39
+ * lg: 4). Pass `Infinity` or `0` to render every tag without overflow. */
40
+ maxTags?: number;
41
+ /** When the agent was last used. Accepts a Date or ISO string. Displayed as relative time. */
42
+ lastUsedAt?: Date | string;
43
+ /** Size variant. */
44
+ size?: AgentCardSize;
45
+ /** Density modifier. */
46
+ density?: AgentCardDensity;
47
+ /** Hover affordance. Use when the card is clickable. */
16
48
  interactive?: boolean;
49
+ /** Renders a checkbox in the top-left for multi-select grids. */
50
+ selectable?: boolean;
51
+ /** Controlled selection state. Pair with `onSelectChange`. */
52
+ selected?: boolean;
53
+ /** Fires when the checkbox is toggled. */
54
+ onSelectChange?: (selected: boolean) => void;
55
+ /** Loading skeleton state — replaces content with shimmer blocks. */
56
+ loading?: boolean;
57
+ /** Error state — shows the message in place of content. */
58
+ error?: string;
59
+ /** Optional retry handler shown alongside the error message. */
60
+ onRetry?: () => void;
17
61
  /** Actions slot (right side under status). */
18
62
  actions?: ReactNode;
19
63
  /** Stats slot at the bottom (e.g. runs / success rate). */
20
64
  stats?: ReactNode;
65
+ /** Click handler. When set, the card becomes role="button" with Enter/Space keyboard activation. */
21
66
  onClick?: () => void;
22
67
  className?: string;
68
+ id?: string;
23
69
  }
24
- export declare function AgentCard({ name, role, avatar, model, status, toolCount, interactive, actions, stats, onClick, className, }: AgentCardProps): import("react/jsx-runtime").JSX.Element;
70
+ export declare const AgentCard: import("react").ForwardRefExoticComponent<AgentCardProps & import("react").RefAttributes<HTMLDivElement>>;
25
71
  //# sourceMappingURL=AgentCard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AgentCard.d.ts","sourceRoot":"","sources":["../../../src/components/AgentCard/AgentCard.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE7E,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,SAAS,CAAC;IAChB,4CAA4C;IAC5C,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,mEAAmE;IACnE,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,2DAA2D;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gCAAgC;IAChC,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,wBAAwB;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wBAAwB;IACxB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,2DAA2D;IAC3D,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAUD,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,KAAK,EACL,MAAe,EACf,SAAS,EACT,WAAW,EACX,OAAO,EACP,KAAK,EACL,OAAO,EACP,SAAS,GACV,EAAE,cAAc,2CAwDhB"}
1
+ {"version":3,"file":"AgentCard.d.ts","sourceRoot":"","sources":["../../../src/components/AgentCard/AgentCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAmD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAKxF;;;;;GAKG;AAEH;+EAC+E;AAC/E,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,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AAC,EAAE,OAAO,CAAC;IAClB,2DAA2D;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gEAAgE;IAChE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,2DAA2D;IAC3D,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB,oGAAoG;IACpG,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAmCD,eAAO,MAAM,SAAS,2GAqSpB,CAAC"}
@@ -0,0 +1,76 @@
1
+ import { type ComponentPropsWithoutRef, type MouseEvent, type ReactNode } from "react";
2
+ import { type CardRadius } from "../Card";
3
+ export type AlertSeverity = "P0" | "P1" | "P2" | "P3" | "info";
4
+ export type AlertState = "open" | "acknowledged" | "resolved" | "muted";
5
+ export interface AlertCardResource {
6
+ /** Display label (e.g. "orders_sync"). */
7
+ label: ReactNode;
8
+ /** Optional category prefix (e.g. "Pipeline"). Rendered muted before the label. */
9
+ kind?: ReactNode;
10
+ }
11
+ export interface AlertCardAction {
12
+ /** Display label — also used as aria-label when only a glyph is shown. */
13
+ label: string;
14
+ /** Optional icon node. */
15
+ icon?: ReactNode;
16
+ /**
17
+ * Visual emphasis.
18
+ * - primary → Ack action (filled accent)
19
+ * - success → Resolve action (filled success tone)
20
+ * - danger → Escalate action (filled red)
21
+ * - neutral → tertiary, default
22
+ */
23
+ tone?: "primary" | "success" | "danger" | "neutral";
24
+ onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
25
+ disabled?: boolean;
26
+ }
27
+ export interface AlertCardProps extends Omit<ComponentPropsWithoutRef<"div">, "title" | "onChange" | "onClick" | "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart"> {
28
+ /** Severity / priority level. Drives the stripe + badge color. */
29
+ severity: AlertSeverity;
30
+ /** Override the severity badge label (defaults to the severity code). */
31
+ severityLabel?: ReactNode;
32
+ /** Alert title. */
33
+ title: ReactNode;
34
+ /** Heading level for the title. Default `"h3"`. */
35
+ titleAs?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
36
+ /** Optional descriptive body text. */
37
+ description?: ReactNode;
38
+ /** Affected resources — rendered as a kind/label list. */
39
+ resources?: AlertCardResource[];
40
+ /** When the alert fired (timestamp or relative time). */
41
+ firedAt?: ReactNode;
42
+ /** Assignee / owner handle (e.g. "@oncall-eu"). */
43
+ assignee?: ReactNode;
44
+ /** Lifecycle state — drives an optional state pill in the header. */
45
+ state?: AlertState;
46
+ /** Override the state pill label (defaults to the humanized state). */
47
+ stateLabel?: ReactNode;
48
+ /** Optional tag chips (env, team, runbook id). */
49
+ tags?: ReactNode[];
50
+ /** Action buttons rendered at the bottom of the card. */
51
+ actions?: AlertCardAction[];
52
+ /** Right-aligned trailing slot in the header (icon button, link). */
53
+ trailing?: ReactNode;
54
+ /** Visual size. Default `"md"`. */
55
+ size?: "sm" | "md" | "lg";
56
+ /** Render the card as a real `<a>` when href is provided. */
57
+ href?: string;
58
+ /** Whole-card click handler. */
59
+ onClick?: (e: MouseEvent<HTMLDivElement>) => void;
60
+ /** Disable interaction. */
61
+ disabled?: boolean;
62
+ /** Card corner radius (passes through). */
63
+ radius?: CardRadius;
64
+ /**
65
+ * ARIA live-region politeness. Default is `"off"` — the card is a
66
+ * passive surface that consumers can audit at their own pace.
67
+ *
68
+ * Set to `"assertive"` ONLY for genuinely live, in-the-moment alerts
69
+ * (e.g. a banner that just fired) so screen readers interrupt; set to
70
+ * `"polite"` for queued announcements. Avoid changing live alerts
71
+ * mid-flight — re-rendering inside an active live region re-announces.
72
+ */
73
+ live?: "off" | "polite" | "assertive";
74
+ }
75
+ export declare const AlertCard: import("react").ForwardRefExoticComponent<AlertCardProps & import("react").RefAttributes<HTMLDivElement>>;
76
+ //# sourceMappingURL=AlertCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3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,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAClD,sCAAsC;IACtC,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,0DAA0D;IAC1D,SAAS,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAChC,yDAAyD;IACzD,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,qEAAqE;IACrE,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,uEAAuE;IACvE,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,kDAAkD;IAClD,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC;IACnB,yDAAyD;IACzD,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAC5B,qEAAqE;IACrE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,mCAAmC;IACnC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,6DAA6D;IAC7D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gCAAgC;IAChC,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IAClD,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,2CAA2C;IAC3C,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,WAAW,CAAC;CACvC;AAyBD,eAAO,MAAM,SAAS,2GAoQrB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { AlertCard, type AlertCardAction, type AlertCardProps, type AlertCardResource, type AlertSeverity, type AlertState, } from "./AlertCard";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AlertCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,UAAU,GAChB,MAAM,aAAa,CAAC"}
@@ -1,5 +1,7 @@
1
- import { type ReactNode } from "react";
2
- export interface AuthCardProps {
1
+ import { type ComponentPropsWithoutRef, type ReactNode } from "react";
2
+ type HeadingLevel = "h1" | "h2" | "h3" | "h4";
3
+ type DivPropsBase = Omit<ComponentPropsWithoutRef<"div">, "title" | "children" | "onChange">;
4
+ export interface AuthCardProps extends DivPropsBase {
3
5
  logo?: ReactNode;
4
6
  title?: ReactNode;
5
7
  description?: ReactNode;
@@ -7,82 +9,67 @@ export interface AuthCardProps {
7
9
  scope?: ReactNode;
8
10
  /**
9
11
  * Fully custom header that REPLACES the auto-built logo + title +
10
- * description block. Use when the default head structure isn't enough
11
- * (split-screen layouts, custom hero treatments, etc.). When provided,
12
- * `logo`, `title`, `description`, and `scope` are ignored.
12
+ * description block. When provided, `logo`/`title`/`description`/`scope`
13
+ * are ignored.
13
14
  */
14
15
  header?: ReactNode;
15
- /**
16
- * Extra content rendered immediately after the description, before the
17
- * body. Common uses: step indicator ("Step 2 of 3"), breadcrumb,
18
- * informational chip.
19
- */
16
+ /** Extra content immediately after the description, before the body. */
20
17
  headerExtra?: ReactNode;
21
- /**
22
- * When set, an error Banner is rendered above the body — same Banner
23
- * the consumer would otherwise hand-roll. Pass `false` / `null` /
24
- * `undefined` to hide. Accepts the same ReactNode shape Banner expects
25
- * for its body.
26
- */
18
+ /** Inline error banner above the body. Pass falsy to hide. */
27
19
  error?: ReactNode;
28
- /** Same as `error` but renders a success Banner. */
20
+ /** Inline success banner above the body. */
29
21
  success?: ReactNode;
30
22
  /**
31
- * Header alignment. Default `"center"` matches the OctaviaFlow auth
32
- * convention (centered logo + title). Use `"left"` for split-screen or
33
- * marketing-heavy layouts where the auth card sits next to other content.
23
+ * Heading level for the auto-built title. Default `"h1"` because a
24
+ * standalone auth page typically has the card as its primary landmark.
25
+ * Use `"h2"` when the card is nested in a larger page (e.g. modal).
34
26
  */
27
+ headingLevel?: HeadingLevel;
28
+ /** Header alignment. Default `"center"`. */
35
29
  align?: "center" | "left";
36
- /**
37
- * Card width override. Default 400px (matches the historical default).
38
- * Pass a number (px) or any CSS length string (e.g. "440px", "32rem").
39
- */
30
+ /** Card width — number → px, string → any CSS length. Default 400. */
40
31
  width?: number | string;
32
+ /** Disable the mount fade-up animation (e.g. for SSR snapshots). */
33
+ disableAnimation?: boolean;
41
34
  children: ReactNode;
42
35
  divider?: ReactNode;
43
36
  footer?: ReactNode;
44
- className?: string;
45
37
  }
46
- export declare function AuthCard({ logo, title, description, scope, header, headerExtra, error, success, align, width, children, divider, footer, className, }: AuthCardProps): import("react/jsx-runtime").JSX.Element;
47
- export interface AuthDividerProps {
38
+ export declare const AuthCard: import("react").ForwardRefExoticComponent<AuthCardProps & import("react").RefAttributes<HTMLDivElement>>;
39
+ export interface AuthDividerProps extends Omit<ComponentPropsWithoutRef<"div">, "children"> {
48
40
  children?: ReactNode;
49
- className?: string;
50
41
  }
51
- export declare function AuthDivider({ children, className }: AuthDividerProps): import("react/jsx-runtime").JSX.Element;
52
- export interface AuthSectionProps {
42
+ export declare const AuthDivider: import("react").ForwardRefExoticComponent<AuthDividerProps & import("react").RefAttributes<HTMLDivElement>>;
43
+ export interface AuthSectionProps extends Omit<ComponentPropsWithoutRef<"div">, "children" | "title"> {
53
44
  label?: ReactNode;
54
45
  description?: ReactNode;
55
46
  children: ReactNode;
56
- className?: string;
57
47
  }
58
- export declare function AuthSection({ label, description, children, className }: AuthSectionProps): import("react/jsx-runtime").JSX.Element;
48
+ export declare const AuthSection: import("react").ForwardRefExoticComponent<AuthSectionProps & import("react").RefAttributes<HTMLDivElement>>;
59
49
  export interface AuthTab {
60
50
  id: string;
61
51
  label: ReactNode;
62
52
  icon?: ReactNode;
63
- description?: ReactNode;
64
53
  content: ReactNode;
65
54
  }
66
- export interface AuthTabsProps {
55
+ export interface AuthTabsProps extends Omit<ComponentPropsWithoutRef<"div">, "onChange" | "children"> {
67
56
  tabs: AuthTab[];
68
57
  defaultTab?: string;
69
58
  value?: string;
70
59
  onChange?: (id: string) => void;
71
- className?: string;
72
60
  }
73
- export declare function AuthTabs({ tabs, defaultTab, value, onChange, className }: AuthTabsProps): import("react/jsx-runtime").JSX.Element;
74
- export interface AuthFieldRowProps {
61
+ export declare const AuthTabs: import("react").ForwardRefExoticComponent<AuthTabsProps & import("react").RefAttributes<HTMLDivElement>>;
62
+ export interface AuthFieldRowProps extends Omit<ComponentPropsWithoutRef<"div">, "children"> {
75
63
  children: ReactNode;
76
64
  /** Grid template columns. Default: "1fr 1fr". */
77
65
  columns?: string;
78
- className?: string;
79
66
  }
80
- export declare function AuthFieldRow({ children, columns, className }: AuthFieldRowProps): import("react/jsx-runtime").JSX.Element;
67
+ export declare const AuthFieldRow: import("react").ForwardRefExoticComponent<AuthFieldRowProps & import("react").RefAttributes<HTMLDivElement>>;
81
68
  export type AuthBadgeTone = "neutral" | "org" | "personal" | "developer";
82
- export interface AuthBadgeProps {
69
+ export interface AuthBadgeProps extends Omit<ComponentPropsWithoutRef<"span">, "children"> {
83
70
  tone?: AuthBadgeTone;
84
71
  children: ReactNode;
85
- className?: string;
86
72
  }
87
- export declare function AuthBadge({ tone, children, className }: AuthBadgeProps): import("react/jsx-runtime").JSX.Element;
73
+ export declare const AuthBadge: import("react").ForwardRefExoticComponent<AuthBadgeProps & import("react").RefAttributes<HTMLSpanElement>>;
74
+ export {};
88
75
  //# sourceMappingURL=AuthCard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AuthCard.d.ts","sourceRoot":"","sources":["../../../src/components/AuthCard/AuthCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsB,KAAK,SAAS,EAA2B,MAAM,OAAO,CAAC;AAGpF,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAA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} from "react";
2
+ export type AvatarSize = "xs" | "sm" | "md" | "lg" | "xl";
3
+ export type AvatarShape = "circle" | "square";
4
+ /** Presence indicator. `online` pulses gently; reduced-motion is respected. */
5
+ export type AvatarStatus = "online" | "offline" | "busy" | "away";
6
+ export interface AvatarProps extends Omit<ComponentPropsWithoutRef<"div">, "color" | "children" | "onClick" | "onKeyDown"> {
7
+ /** Image URL. If loading fails, falls back to `initials` (then `icon`, then `?`). */
3
8
  src?: string;
9
+ /** Accessible name for the avatar. Used as the `<img>` alt AND as the
10
+ * wrapping element's accessible name. If you only pass `initials`,
11
+ * this is recommended so AT announces "Jane Doe avatar" not "J D". */
4
12
  alt?: string;
13
+ /** Initials to render when there is no image. Auto-uppercased and
14
+ * truncated to 2 characters so passing a full name stays sane. */
5
15
  initials?: string;
6
- /** Seed for deterministic color. Falls back to initials/alt. */
16
+ /** Optional icon slot rendered when neither `src` nor `initials` is
17
+ * available (or used directly when you want a system/bot avatar). */
18
+ icon?: ReactNode;
19
+ /** Override the default `?` fallback content. */
20
+ fallback?: ReactNode;
21
+ /** Stable seed for the persistent palette. Falls back to `initials` /
22
+ * `alt` so the same person consistently gets the same color even if
23
+ * their name changes case or you only have a partial identity. */
7
24
  seed?: string;
8
- size?: "xs" | "sm" | "md" | "lg" | "xl";
9
- status?: "online" | "offline" | "busy" | "away";
10
- className?: string;
25
+ /** Pixel/font size variant. */
26
+ size?: AvatarSize;
27
+ /** Shape — `circle` (people, default) or `square` (teams, bots, brands). */
28
+ shape?: AvatarShape;
29
+ /** Presence indicator dot. */
30
+ status?: AvatarStatus;
31
+ /** Human-readable status label folded into the accessible name. Defaults
32
+ * to the capitalized `status` value. */
33
+ statusLabel?: string;
34
+ /** When set, the avatar becomes a button (Enter/Space activated). */
35
+ onClick?: () => void;
36
+ /** Native image attributes — set `loading="eager"` for above-the-fold avatars
37
+ * if you've measured CLS regressions. Defaults to `lazy`. */
38
+ imgLoading?: "eager" | "lazy";
39
+ /** Native referrerPolicy for cross-origin avatar hosts (Gravatar, etc.). */
40
+ referrerPolicy?: ComponentPropsWithoutRef<"img">["referrerPolicy"];
11
41
  }
12
- export declare function Avatar({ src, alt, initials, seed, size, status, className, }: AvatarProps): import("react/jsx-runtime").JSX.Element;
13
- export interface AvatarStackProps {
42
+ export declare const Avatar: import("react").ForwardRefExoticComponent<AvatarProps & import("react").RefAttributes<HTMLDivElement>>;
43
+ export interface AvatarStackProps extends Omit<ComponentPropsWithoutRef<"div">, "children"> {
44
+ /** Avatars to display (in left-to-right stacking order). */
14
45
  children: ReactNode;
15
- className?: string;
16
- /** Max avatars to show; rest collapse into "+N". */
46
+ /** Max avatars to show before collapsing the surplus into `+N`. */
17
47
  max?: number;
48
+ /** Size applied to the overflow chip. Defaults to `md`. */
49
+ size?: AvatarSize;
50
+ /** Replace the default `+N` overflow chip. Receives the hidden count. */
51
+ renderOverflow?: (count: number) => ReactNode;
52
+ /** Stacking direction. `ltr` (default) overlaps each successive avatar to
53
+ * the right of the previous one; `rtl` mirrors. */
54
+ direction?: "ltr" | "rtl";
18
55
  }
19
- export declare function AvatarStack({ children, className, max }: AvatarStackProps): import("react/jsx-runtime").JSX.Element;
56
+ export declare const AvatarStack: import("react").ForwardRefExoticComponent<AvatarStackProps & import("react").RefAttributes<HTMLDivElement>>;
20
57
  //# sourceMappingURL=Avatar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,WAAW,WAAW;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gEAAgE;IAChE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,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CAAC;IACjB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;sEAEkE;IAClE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+BAA+B;IAC/B,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,8BAA8B;IAC9B,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB;4CACwC;IACxC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qEAAqE;IACrE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;iEAC6D;IAC7D,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC9B,4EAA4E;IAC5E,cAAc,CAAC,EAAE,wBAAwB,CAAC,KAAK,CAAC,CAAC,gBAAgB,CAAC,CAAC;CACpE;AA+CD,eAAO,MAAM,MAAM,wGAiHjB,CAAC;AAQH,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IACzD,4DAA4D;IAC5D,QAAQ,EAAE,SAAS,CAAC;IACpB,mEAAmE;IACnE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,2DAA2D;IAC3D,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,yEAAyE;IACzE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;IAC9C;uDACmD;IACnD,SAAS,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;CAC3B;AAED,eAAO,MAAM,WAAW,6GAoDvB,CAAC"}
@@ -1,2 +1,2 @@
1
- export { Avatar, type AvatarProps, AvatarStack, type AvatarStackProps } from "./Avatar";
1
+ export { Avatar, type AvatarProps, type AvatarShape, type AvatarSize, AvatarStack, type AvatarStackProps, type AvatarStatus, } from "./Avatar";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,WAAW,EACX,KAAK,gBAAgB,EACrB,KAAK,YAAY,GAClB,MAAM,UAAU,CAAC"}
@@ -1,13 +1,51 @@
1
- import type { ReactNode } from "react";
2
- export interface BadgeProps {
3
- variant?: "success" | "warning" | "error" | "info" | "neutral";
4
- size?: "sm" | "md";
1
+ import { type ComponentPropsWithoutRef, type MouseEvent, type ReactNode } from "react";
2
+ export type BadgeVariant = "success" | "warning" | "error" | "info" | "neutral" | "accent";
3
+ export type BadgeSize = "sm" | "md" | "lg";
4
+ export interface BadgeProps extends Omit<ComponentPropsWithoutRef<"span">, "color" | "onClick"> {
5
+ variant?: BadgeVariant;
6
+ size?: BadgeSize;
7
+ /** Render a colored dot before the text. Mutually exclusive with `icon`. */
5
8
  dot?: boolean;
9
+ /** Custom icon node rendered before the text. If both `icon` and `dot`
10
+ * are passed, `icon` wins. */
11
+ icon?: ReactNode;
12
+ /** Render a `×` button to remove the badge. */
13
+ closable?: boolean;
14
+ /** @deprecated Use `closable`. Kept as an alias for back-compat. */
6
15
  closeable?: boolean;
7
- onClose?: () => void;
16
+ /** Fires when the user clicks (or activates via keyboard) the close
17
+ * button. Receives the MouseEvent so callers can `stopPropagation` /
18
+ * `preventDefault` as needed. */
19
+ onClose?: (event: MouseEvent<HTMLButtonElement>) => void;
20
+ /** Accessible label for the close button. Defaults to "Remove". Override
21
+ * for localization or contextual reads ("Remove tag 'cdc'"). */
22
+ closeLabel?: string;
23
+ /** Thin outline + transparent background instead of the filled chip. */
8
24
  outlined?: boolean;
9
- children: ReactNode;
10
- className?: string;
25
+ /** Truncate long text with an ellipsis and surface the full content as a
26
+ * `title` tooltip. `true` uses the design default (200 px); a number sets
27
+ * an explicit max-width in px. */
28
+ truncate?: boolean | number;
29
+ /** Numeric badge convenience. Renders the value (or "99+" if > 99).
30
+ * Ignored when `children` is also set. */
31
+ count?: number;
32
+ /** Click handler for the entire badge. Sets `role="button"` and wires
33
+ * Enter / Space keyboard activation. */
34
+ onClick?: (event: MouseEvent<HTMLSpanElement>) => void;
35
+ /** Render Badge's styling onto a custom child element (Radix-style Slot).
36
+ * Useful for letting Badge own the chrome while a router link / tooltip
37
+ * trigger / etc. owns the actual element semantics.
38
+ *
39
+ * Example:
40
+ * <Badge asChild variant="accent">
41
+ * <NextLink href="/pricing">Beta</NextLink>
42
+ * </Badge>
43
+ *
44
+ * When `asChild` is true, Badge does NOT render its internal `dot`,
45
+ * `icon`, or close-button slots — the consumer fully owns the content.
46
+ * For chips with built-in slots, use the regular form without asChild. */
47
+ asChild?: boolean;
48
+ children?: ReactNode;
11
49
  }
12
- export declare function Badge({ variant, size, dot, closeable, onClose, outlined, children, className, }: BadgeProps): import("react/jsx-runtime").JSX.Element;
50
+ export declare const Badge: import("react").ForwardRefExoticComponent<BadgeProps & import("react").RefAttributes<HTMLSpanElement>>;
13
51
  //# sourceMappingURL=Badge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,WAAW,UAAU;IACzB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;IAC/D,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAA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AQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAE5B;8CAC0C;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;4CACwC;IACxC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,eAAe,CAAC,KAAK,IAAI,CAAC;IAEvD;;;;;;;;;;;8EAW0E;IAC1E,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAwCD,eAAO,MAAM,KAAK,wGA6HhB,CAAC"}
@@ -1,2 +1,2 @@
1
- export { Badge, type BadgeProps } from "./Badge";
1
+ export { Badge, type BadgeProps, type BadgeSize, type BadgeVariant, } from "./Badge";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EACL,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,YAAY,GAClB,MAAM,SAAS,CAAC"}
@@ -1,14 +1,61 @@
1
- import type { ReactNode } from "react";
2
- export interface BannerProps {
3
- variant?: "info" | "success" | "warning" | "error" | "promo";
4
- icon?: ReactNode;
1
+ import { type ComponentPropsWithoutRef, type ReactNode } from "react";
2
+ export type BannerVariant = "info" | "success" | "warning" | "error" | "promo" | "neutral";
3
+ export type BannerSize = "sm" | "md" | "lg";
4
+ /** Direction the banner slides in / out from. Default = `down` (enters
5
+ * slightly above its final position, settles down + fades in). */
6
+ export type BannerAnimateFrom = "top" | "bottom" | "left" | "right" | "none";
7
+ export type BannerAppearance = "filled" | "outlined" | "subtle";
8
+ export interface BannerProps extends Omit<ComponentPropsWithoutRef<"div">, "color" | "title"> {
9
+ /** Visual / semantic variant. `error` defaults to `role="alert"`; the rest
10
+ * default to `role="status"` (polite live region). */
11
+ variant?: BannerVariant;
12
+ /** Size variant. */
13
+ size?: BannerSize;
14
+ /** Appearance treatment. `filled` (default) uses the variant's bg/border;
15
+ * `outlined` keeps the border but drops the fill; `subtle` mutes both. */
16
+ appearance?: BannerAppearance;
17
+ /** Leading icon. If omitted, Banner renders a sensible default per
18
+ * variant (info/success/warning/error/promo). Pass `null` explicitly to
19
+ * suppress the default. */
20
+ icon?: ReactNode | null;
5
21
  title?: ReactNode;
6
22
  description?: ReactNode;
23
+ /** Trailing action slot (typically a Button). */
7
24
  action?: ReactNode;
25
+ /** Renders a dismiss `×` button on the trailing edge. */
8
26
  dismissible?: boolean;
27
+ /** Fires when the dismiss button is clicked. */
9
28
  onDismiss?: () => void;
29
+ /** Accessible label for the dismiss button. Defaults to "Dismiss". */
30
+ dismissLabel?: string;
31
+ /** Override the inferred role. Pass explicitly for non-default
32
+ * announcements ("alert", "alertdialog", "region", etc.). */
33
+ role?: ComponentPropsWithoutRef<"div">["role"];
34
+ /** Auto-focus the banner when it first mounts. Useful for error banners
35
+ * that should grab focus on appearance so AT users notice them. */
36
+ autoFocus?: boolean;
37
+ /** Controls whether the banner is mounted. Pair with `useBanner()` for
38
+ * declarative show/hide state, or wire to your own state. When omitted,
39
+ * the banner is always mounted (the regular, animation-free shape). */
40
+ open?: boolean;
41
+ /** Direction the enter/exit animation slides from. Defaults to `top`.
42
+ * `none` disables the slide entirely (still fades). */
43
+ animateFrom?: BannerAnimateFrom;
44
+ /** Disable all enter/exit motion. Use when the banner is part of a
45
+ * larger animation managed externally. */
46
+ disableAnimation?: boolean;
47
+ /** Render Banner's styling onto a custom child element (Radix-style Slot).
48
+ *
49
+ * Example — a clickable banner-as-link:
50
+ * <Banner asChild variant="promo">
51
+ * <a href="/changelog">New release! See what's new →</a>
52
+ * </Banner>
53
+ *
54
+ * When `asChild` is true, Banner does NOT render its internal icon /
55
+ * title / description / action / dismiss slots. The consumer's element
56
+ * fully owns the content. */
57
+ asChild?: boolean;
10
58
  children?: ReactNode;
11
- className?: string;
12
59
  }
13
- export declare function Banner({ variant, icon, title, description, action, dismissible, onDismiss, children, className, }: BannerProps): import("react/jsx-runtime").JSX.Element;
60
+ export declare const Banner: import("react").ForwardRefExoticComponent<BannerProps & import("react").RefAttributes<HTMLDivElement>>;
14
61
  //# sourceMappingURL=Banner.d.ts.map