@once-ui-system/core 1.8.3 → 2.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (577) hide show
  1. package/ai/catalog.json +166 -78
  2. package/ai/components/Accordion.json +1 -1
  3. package/ai/components/BarChart.json +34 -3
  4. package/ai/components/Book.json +128 -0
  5. package/ai/components/Button.json +1 -1
  6. package/ai/components/Card.json +1 -0
  7. package/ai/components/Carousel.json +1 -1
  8. package/ai/components/ChartHeader.json +2 -1
  9. package/ai/components/ChartStatus.json +2 -1
  10. package/ai/components/Checkbox.json +2 -2
  11. package/ai/components/CodeBlock.json +23 -2
  12. package/ai/components/ColorInput.json +1 -1
  13. package/ai/components/DataTooltip.json +3 -2
  14. package/ai/components/DatePicker.json +2 -2
  15. package/ai/components/Dialog.json +1 -1
  16. package/ai/components/DropdownWrapper.json +6 -4
  17. package/ai/components/Effect.json +133 -0
  18. package/ai/components/Fade.json +1 -1
  19. package/ai/components/Feedback.json +1 -1
  20. package/ai/components/IconButton.json +1 -1
  21. package/ai/components/InfoTip.json +125 -0
  22. package/ai/components/Input.json +5 -4
  23. package/ai/components/Legend.json +2 -1
  24. package/ai/components/LineBarChart.json +34 -3
  25. package/ai/components/LineChart.json +39 -3
  26. package/ai/components/LinearGauge.json +3 -2
  27. package/ai/components/LinearGradient.json +2 -1
  28. package/ai/components/Logo.json +2 -2
  29. package/ai/components/Media.json +1 -1
  30. package/ai/components/MediaUpload.json +21 -2
  31. package/ai/components/Modal.json +1 -1
  32. package/ai/components/NavGroup.json +130 -0
  33. package/ai/components/NavIcon.json +1 -1
  34. package/ai/components/NavItem.json +14 -0
  35. package/ai/components/Option.json +2 -2
  36. package/ai/components/Particle.json +1 -1
  37. package/ai/components/PieChart.json +32 -3
  38. package/ai/components/ProgressBar.json +1 -1
  39. package/ai/components/Pulse.json +1 -1
  40. package/ai/components/RadialGauge.json +4 -3
  41. package/ai/components/RadialGradient.json +2 -1
  42. package/ai/components/RadioButton.json +1 -1
  43. package/ai/components/RevealFx.json +1 -1
  44. package/ai/components/Scrubber.json +136 -0
  45. package/ai/components/SegmentedControl.json +3 -3
  46. package/ai/components/Setting.json +128 -0
  47. package/ai/components/SettingAxes.json +127 -0
  48. package/ai/components/SettingGroup.json +129 -0
  49. package/ai/components/ShineFx.json +1 -1
  50. package/ai/components/Skeleton.json +2 -3
  51. package/ai/components/SplitView.json +2 -0
  52. package/ai/components/StylePanel.json +4 -2
  53. package/ai/components/Swatch.json +11 -0
  54. package/ai/components/Swiper.json +1 -1
  55. package/ai/components/Switch.json +1 -1
  56. package/ai/components/Tag.json +1 -1
  57. package/ai/components/Textarea.json +6 -5
  58. package/ai/components/ThemeSwitcher.json +3 -0
  59. package/ai/components/Toast.json +1 -1
  60. package/ai/components/ToggleButton.json +2 -1
  61. package/ai/eval-tasks.md +8 -0
  62. package/ai/examples/app-shell.tsx +111 -0
  63. package/ai/examples/auth.tsx +1 -1
  64. package/ai/examples/blocks/Dashboard1.tsx +17 -28
  65. package/ai/examples/blocks/Feed3.tsx +4 -4
  66. package/ai/examples/blocks/Footer1.tsx +5 -3
  67. package/ai/examples/blocks/Footer2.tsx +3 -3
  68. package/ai/examples/blocks/Footer3.tsx +1 -1
  69. package/ai/examples/blocks/Footer4.tsx +6 -5
  70. package/ai/examples/blocks/Header1.tsx +7 -6
  71. package/ai/examples/blocks/Header3.tsx +7 -7
  72. package/ai/examples/blocks/Header4.tsx +5 -5
  73. package/ai/examples/blocks/Sidebar4.tsx +1 -1
  74. package/ai/examples/blocks/Streaming1.tsx +4 -4
  75. package/ai/examples/blocks/Table1.tsx +6 -6
  76. package/ai/examples/blocks/Waitlist1.tsx +5 -5
  77. package/ai/examples/blocks/content/resources.ts +3 -1
  78. package/ai/examples/dashboard.tsx +8 -9
  79. package/ai/examples/marketing-hero.tsx +2 -2
  80. package/ai/examples/pricing.tsx +4 -5
  81. package/ai/examples/settings.tsx +3 -3
  82. package/ai/gotchas.json +80 -23
  83. package/ai/layouts.md +154 -0
  84. package/ai/manifest.json +3 -2
  85. package/ai/recipes.md +49 -4
  86. package/ai/rules.compact.md +18 -3
  87. package/ai/rules.md +68 -10
  88. package/ai/spec.json +634 -176
  89. package/dist/ai/catalog.json +166 -78
  90. package/dist/ai/components/Accordion.json +1 -1
  91. package/dist/ai/components/BarChart.json +34 -3
  92. package/dist/ai/components/Book.json +128 -0
  93. package/dist/ai/components/Button.json +1 -1
  94. package/dist/ai/components/Card.json +1 -0
  95. package/dist/ai/components/Carousel.json +1 -1
  96. package/dist/ai/components/ChartHeader.json +2 -1
  97. package/dist/ai/components/ChartStatus.json +2 -1
  98. package/dist/ai/components/Checkbox.json +2 -2
  99. package/dist/ai/components/CodeBlock.json +23 -2
  100. package/dist/ai/components/ColorInput.json +1 -1
  101. package/dist/ai/components/DataTooltip.json +3 -2
  102. package/dist/ai/components/DatePicker.json +2 -2
  103. package/dist/ai/components/Dialog.json +1 -1
  104. package/dist/ai/components/DropdownWrapper.json +6 -4
  105. package/dist/ai/components/Effect.json +133 -0
  106. package/dist/ai/components/Fade.json +1 -1
  107. package/dist/ai/components/Feedback.json +1 -1
  108. package/dist/ai/components/IconButton.json +1 -1
  109. package/dist/ai/components/InfoTip.json +125 -0
  110. package/dist/ai/components/Input.json +5 -4
  111. package/dist/ai/components/Legend.json +2 -1
  112. package/dist/ai/components/LineBarChart.json +34 -3
  113. package/dist/ai/components/LineChart.json +39 -3
  114. package/dist/ai/components/LinearGauge.json +3 -2
  115. package/dist/ai/components/LinearGradient.json +2 -1
  116. package/dist/ai/components/Logo.json +2 -2
  117. package/dist/ai/components/Media.json +1 -1
  118. package/dist/ai/components/MediaUpload.json +21 -2
  119. package/dist/ai/components/Modal.json +1 -1
  120. package/dist/ai/components/NavGroup.json +130 -0
  121. package/dist/ai/components/NavIcon.json +1 -1
  122. package/dist/ai/components/NavItem.json +14 -0
  123. package/dist/ai/components/Option.json +2 -2
  124. package/dist/ai/components/Particle.json +1 -1
  125. package/dist/ai/components/PieChart.json +32 -3
  126. package/dist/ai/components/ProgressBar.json +1 -1
  127. package/dist/ai/components/Pulse.json +1 -1
  128. package/dist/ai/components/RadialGauge.json +4 -3
  129. package/dist/ai/components/RadialGradient.json +2 -1
  130. package/dist/ai/components/RadioButton.json +1 -1
  131. package/dist/ai/components/RevealFx.json +1 -1
  132. package/dist/ai/components/Scrubber.json +136 -0
  133. package/dist/ai/components/SegmentedControl.json +3 -3
  134. package/dist/ai/components/Setting.json +128 -0
  135. package/dist/ai/components/SettingAxes.json +127 -0
  136. package/dist/ai/components/SettingGroup.json +129 -0
  137. package/dist/ai/components/ShineFx.json +1 -1
  138. package/dist/ai/components/Skeleton.json +2 -3
  139. package/dist/ai/components/SplitView.json +2 -0
  140. package/dist/ai/components/StylePanel.json +4 -2
  141. package/dist/ai/components/Swatch.json +11 -0
  142. package/dist/ai/components/Swiper.json +1 -1
  143. package/dist/ai/components/Switch.json +1 -1
  144. package/dist/ai/components/Tag.json +1 -1
  145. package/dist/ai/components/Textarea.json +6 -5
  146. package/dist/ai/components/ThemeSwitcher.json +3 -0
  147. package/dist/ai/components/Toast.json +1 -1
  148. package/dist/ai/components/ToggleButton.json +2 -1
  149. package/dist/ai/eval-tasks.md +8 -0
  150. package/dist/ai/gotchas.json +80 -23
  151. package/dist/ai/layouts.md +154 -0
  152. package/dist/ai/manifest.json +3 -2
  153. package/dist/ai/recipes.md +49 -4
  154. package/dist/ai/rules.compact.md +18 -3
  155. package/dist/ai/rules.md +68 -10
  156. package/dist/ai/spec.json +634 -176
  157. package/dist/components/Accordion.d.ts +2 -1
  158. package/dist/components/Accordion.d.ts.map +1 -1
  159. package/dist/components/Accordion.js.map +1 -1
  160. package/dist/components/Avatar.js +1 -1
  161. package/dist/components/Avatar.js.map +1 -1
  162. package/dist/components/Background.d.ts +6 -6
  163. package/dist/components/Background.d.ts.map +1 -1
  164. package/dist/components/Book.d.ts +28 -0
  165. package/dist/components/Book.d.ts.map +1 -0
  166. package/dist/components/Book.js +24 -0
  167. package/dist/components/Book.js.map +1 -0
  168. package/dist/components/Book.module.scss +45 -0
  169. package/dist/components/Button.d.ts +1 -1
  170. package/dist/components/Button.d.ts.map +1 -1
  171. package/dist/components/Button.js +4 -4
  172. package/dist/components/Button.js.map +1 -1
  173. package/dist/components/Card.d.ts +8 -0
  174. package/dist/components/Card.d.ts.map +1 -1
  175. package/dist/components/Card.js +10 -2
  176. package/dist/components/Card.js.map +1 -1
  177. package/dist/components/Card.module.scss +11 -1
  178. package/dist/components/Carousel.d.ts +7 -1
  179. package/dist/components/Carousel.d.ts.map +1 -1
  180. package/dist/components/Carousel.js +7 -7
  181. package/dist/components/Carousel.js.map +1 -1
  182. package/dist/components/Carousel.module.scss +1 -8
  183. package/dist/components/Checkbox.d.ts +3 -3
  184. package/dist/components/Checkbox.d.ts.map +1 -1
  185. package/dist/components/Checkbox.js +5 -5
  186. package/dist/components/Checkbox.js.map +1 -1
  187. package/dist/components/ClientFlex.d.ts.map +1 -1
  188. package/dist/components/ClientFlex.js +5 -10
  189. package/dist/components/ClientFlex.js.map +1 -1
  190. package/dist/components/ClientGrid.d.ts.map +1 -1
  191. package/dist/components/ClientGrid.js +2 -7
  192. package/dist/components/ClientGrid.js.map +1 -1
  193. package/dist/components/ColorInput.d.ts +1 -1
  194. package/dist/components/ColorInput.d.ts.map +1 -1
  195. package/dist/components/ColorInput.js +7 -13
  196. package/dist/components/ColorInput.js.map +1 -1
  197. package/dist/components/CompareImage.d.ts +1 -1
  198. package/dist/components/CompareImage.d.ts.map +1 -1
  199. package/dist/components/CompareImage.js +2 -2
  200. package/dist/components/CompareImage.js.map +1 -1
  201. package/dist/components/DateInput.d.ts.map +1 -1
  202. package/dist/components/DateInput.js +10 -1
  203. package/dist/components/DateInput.js.map +1 -1
  204. package/dist/components/DatePicker.d.ts +2 -2
  205. package/dist/components/DatePicker.d.ts.map +1 -1
  206. package/dist/components/DatePicker.js +21 -14
  207. package/dist/components/DatePicker.js.map +1 -1
  208. package/dist/components/DateRangeInput.js +3 -3
  209. package/dist/components/DateRangeInput.js.map +1 -1
  210. package/dist/components/Dialog.d.ts +1 -1
  211. package/dist/components/Dialog.d.ts.map +1 -1
  212. package/dist/components/Dialog.js +14 -14
  213. package/dist/components/Dialog.js.map +1 -1
  214. package/dist/components/DropdownWrapper.d.ts +8 -3
  215. package/dist/components/DropdownWrapper.d.ts.map +1 -1
  216. package/dist/components/DropdownWrapper.js +17 -6
  217. package/dist/components/DropdownWrapper.js.map +1 -1
  218. package/dist/components/Effect.d.ts +41 -0
  219. package/dist/components/Effect.d.ts.map +1 -0
  220. package/dist/components/Effect.js +30 -0
  221. package/dist/components/Effect.js.map +1 -0
  222. package/dist/components/ElementType.d.ts +2 -1
  223. package/dist/components/ElementType.d.ts.map +1 -1
  224. package/dist/components/ElementType.js +4 -2
  225. package/dist/components/ElementType.js.map +1 -1
  226. package/dist/components/EmojiPicker.d.ts +1 -1
  227. package/dist/components/EmojiPicker.d.ts.map +1 -1
  228. package/dist/components/EmojiPicker.js +1 -1
  229. package/dist/components/EmojiPicker.js.map +1 -1
  230. package/dist/components/FadingLettersFx.d.ts +1 -1
  231. package/dist/components/FadingLettersFx.d.ts.map +1 -1
  232. package/dist/components/Feedback.d.ts +1 -1
  233. package/dist/components/Feedback.d.ts.map +1 -1
  234. package/dist/components/Feedback.js +2 -2
  235. package/dist/components/Feedback.js.map +1 -1
  236. package/dist/components/Flex.d.ts.map +1 -1
  237. package/dist/components/Flex.js +46 -5
  238. package/dist/components/Flex.js.map +1 -1
  239. package/dist/components/Heading.d.ts +1 -1
  240. package/dist/components/Icon.d.ts.map +1 -1
  241. package/dist/components/Icon.js.map +1 -1
  242. package/dist/components/IconButton.d.ts +1 -1
  243. package/dist/components/IconButton.d.ts.map +1 -1
  244. package/dist/components/IconButton.js +4 -4
  245. package/dist/components/IconButton.js.map +1 -1
  246. package/dist/components/InfiniteScroll.d.ts +1 -1
  247. package/dist/components/InfiniteScroll.d.ts.map +1 -1
  248. package/dist/components/InfoTip.d.ts +17 -0
  249. package/dist/components/InfoTip.d.ts.map +1 -0
  250. package/dist/components/InfoTip.js +12 -0
  251. package/dist/components/InfoTip.js.map +1 -0
  252. package/dist/components/Input.d.ts +11 -5
  253. package/dist/components/Input.d.ts.map +1 -1
  254. package/dist/components/Input.js +32 -16
  255. package/dist/components/Input.js.map +1 -1
  256. package/dist/components/Input.module.scss +313 -1
  257. package/dist/components/InteractiveDetails.d.ts.map +1 -1
  258. package/dist/components/InteractiveDetails.js +1 -1
  259. package/dist/components/InteractiveDetails.js.map +1 -1
  260. package/dist/components/Kbd.d.ts.map +1 -1
  261. package/dist/components/Kbd.js +4 -1
  262. package/dist/components/Kbd.js.map +1 -1
  263. package/dist/components/Logo.d.ts +16 -4
  264. package/dist/components/Logo.d.ts.map +1 -1
  265. package/dist/components/Logo.js +32 -14
  266. package/dist/components/Logo.js.map +1 -1
  267. package/dist/components/Media.d.ts +9 -2
  268. package/dist/components/Media.d.ts.map +1 -1
  269. package/dist/components/Media.js +25 -16
  270. package/dist/components/Media.js.map +1 -1
  271. package/dist/components/MediaAudioPlayer.d.ts +29 -0
  272. package/dist/components/MediaAudioPlayer.d.ts.map +1 -0
  273. package/dist/components/MediaAudioPlayer.js +115 -0
  274. package/dist/components/MediaAudioPlayer.js.map +1 -0
  275. package/dist/components/MediaAudioPlayer.module.scss +38 -0
  276. package/dist/components/Modal.d.ts +1 -1
  277. package/dist/components/Modal.d.ts.map +1 -1
  278. package/dist/components/Modal.js +10 -10
  279. package/dist/components/Modal.js.map +1 -1
  280. package/dist/components/NavGroup.d.ts +33 -0
  281. package/dist/components/NavGroup.d.ts.map +1 -0
  282. package/dist/components/NavGroup.js +27 -0
  283. package/dist/components/NavGroup.js.map +1 -0
  284. package/dist/components/NavIcon.d.ts +1 -1
  285. package/dist/components/NavIcon.d.ts.map +1 -1
  286. package/dist/components/NavIcon.js +2 -2
  287. package/dist/components/NavIcon.js.map +1 -1
  288. package/dist/components/NavItem.d.ts +24 -0
  289. package/dist/components/NavItem.d.ts.map +1 -0
  290. package/dist/components/NavItem.js +18 -0
  291. package/dist/components/NavItem.js.map +1 -0
  292. package/dist/components/NumberInput.js +1 -1
  293. package/dist/components/NumberInput.js.map +1 -1
  294. package/dist/components/OgCard.d.ts +1 -1
  295. package/dist/components/OgCard.js +3 -3
  296. package/dist/components/OgCard.js.map +1 -1
  297. package/dist/components/Option.d.ts +3 -3
  298. package/dist/components/Option.d.ts.map +1 -1
  299. package/dist/components/Option.js +2 -2
  300. package/dist/components/Option.js.map +1 -1
  301. package/dist/components/Particle.d.ts +2 -2
  302. package/dist/components/Particle.d.ts.map +1 -1
  303. package/dist/components/PasswordInput.d.ts.map +1 -1
  304. package/dist/components/PasswordInput.js +2 -2
  305. package/dist/components/PasswordInput.js.map +1 -1
  306. package/dist/components/ProgressBar.d.ts +1 -1
  307. package/dist/components/ProgressBar.d.ts.map +1 -1
  308. package/dist/components/ProgressBar.js +2 -2
  309. package/dist/components/ProgressBar.js.map +1 -1
  310. package/dist/components/Pulse.d.ts +1 -1
  311. package/dist/components/Pulse.d.ts.map +1 -1
  312. package/dist/components/Pulse.js +2 -2
  313. package/dist/components/Pulse.js.map +1 -1
  314. package/dist/components/RadioButton.d.ts +2 -2
  315. package/dist/components/RadioButton.d.ts.map +1 -1
  316. package/dist/components/RadioButton.js +1 -1
  317. package/dist/components/RadioButton.js.map +1 -1
  318. package/dist/components/RevealFx.d.ts +2 -1
  319. package/dist/components/RevealFx.d.ts.map +1 -1
  320. package/dist/components/RevealFx.js +8 -8
  321. package/dist/components/RevealFx.js.map +1 -1
  322. package/dist/components/ScrollContainer.d.ts.map +1 -1
  323. package/dist/components/ScrollContainer.js +1 -1
  324. package/dist/components/ScrollContainer.js.map +1 -1
  325. package/dist/components/ScrollToTop.d.ts +1 -1
  326. package/dist/components/Scrubber.d.ts +70 -0
  327. package/dist/components/Scrubber.d.ts.map +1 -0
  328. package/dist/components/Scrubber.js +161 -0
  329. package/dist/components/Scrubber.js.map +1 -0
  330. package/dist/components/SegmentedControl.d.ts +4 -4
  331. package/dist/components/SegmentedControl.d.ts.map +1 -1
  332. package/dist/components/SegmentedControl.js +11 -11
  333. package/dist/components/SegmentedControl.js.map +1 -1
  334. package/dist/components/Select.d.ts.map +1 -1
  335. package/dist/components/Select.js +48 -15
  336. package/dist/components/Select.js.map +1 -1
  337. package/dist/components/ServerFlex.d.ts +0 -1
  338. package/dist/components/ServerFlex.d.ts.map +1 -1
  339. package/dist/components/ServerFlex.js +99 -52
  340. package/dist/components/ServerFlex.js.map +1 -1
  341. package/dist/components/ServerGrid.d.ts +0 -1
  342. package/dist/components/ServerGrid.d.ts.map +1 -1
  343. package/dist/components/ServerGrid.js +11 -9
  344. package/dist/components/ServerGrid.js.map +1 -1
  345. package/dist/components/Setting.d.ts +50 -0
  346. package/dist/components/Setting.d.ts.map +1 -0
  347. package/dist/components/Setting.js +43 -0
  348. package/dist/components/Setting.js.map +1 -0
  349. package/dist/components/ShineFx.d.ts +1 -0
  350. package/dist/components/ShineFx.d.ts.map +1 -1
  351. package/dist/components/ShineFx.js +2 -2
  352. package/dist/components/ShineFx.js.map +1 -1
  353. package/dist/components/Skeleton.d.ts +16 -3
  354. package/dist/components/Skeleton.d.ts.map +1 -1
  355. package/dist/components/Skeleton.js +2 -2
  356. package/dist/components/Skeleton.js.map +1 -1
  357. package/dist/components/Skeleton.module.scss +14 -51
  358. package/dist/components/SplitView.d.ts +23 -3
  359. package/dist/components/SplitView.d.ts.map +1 -1
  360. package/dist/components/SplitView.js +90 -58
  361. package/dist/components/SplitView.js.map +1 -1
  362. package/dist/components/StyleOverlay.d.ts.map +1 -1
  363. package/dist/components/StyleOverlay.js +1 -1
  364. package/dist/components/StyleOverlay.js.map +1 -1
  365. package/dist/components/StylePanel.d.ts +47 -6
  366. package/dist/components/StylePanel.d.ts.map +1 -1
  367. package/dist/components/StylePanel.js +16 -189
  368. package/dist/components/StylePanel.js.map +1 -1
  369. package/dist/components/StylePanel.module.scss +6 -1
  370. package/dist/components/StylePanelSections.d.ts +117 -0
  371. package/dist/components/StylePanelSections.d.ts.map +1 -0
  372. package/dist/components/StylePanelSections.js +175 -0
  373. package/dist/components/StylePanelSections.js.map +1 -0
  374. package/dist/components/Swiper.d.ts +7 -1
  375. package/dist/components/Swiper.d.ts.map +1 -1
  376. package/dist/components/Swiper.js +7 -7
  377. package/dist/components/Swiper.js.map +1 -1
  378. package/dist/components/Switch.d.ts +2 -2
  379. package/dist/components/Switch.d.ts.map +1 -1
  380. package/dist/components/Switch.js +4 -4
  381. package/dist/components/Switch.js.map +1 -1
  382. package/dist/components/Table.d.ts +1 -1
  383. package/dist/components/Table.d.ts.map +1 -1
  384. package/dist/components/Table.js +2 -2
  385. package/dist/components/Table.js.map +1 -1
  386. package/dist/components/Tag.d.ts +1 -1
  387. package/dist/components/Tag.d.ts.map +1 -1
  388. package/dist/components/Tag.js +2 -2
  389. package/dist/components/Tag.js.map +1 -1
  390. package/dist/components/Text.d.ts +1 -1
  391. package/dist/components/Textarea.d.ts +15 -5
  392. package/dist/components/Textarea.d.ts.map +1 -1
  393. package/dist/components/Textarea.js +31 -17
  394. package/dist/components/Textarea.js.map +1 -1
  395. package/dist/components/ThemeInit.d.ts.map +1 -1
  396. package/dist/components/ThemeInit.js +6 -4
  397. package/dist/components/ThemeInit.js.map +1 -1
  398. package/dist/components/ThemeSwitcher.d.ts +14 -1
  399. package/dist/components/ThemeSwitcher.d.ts.map +1 -1
  400. package/dist/components/ThemeSwitcher.js +19 -9
  401. package/dist/components/ThemeSwitcher.js.map +1 -1
  402. package/dist/components/ThemeSwitcher.module.scss +54 -0
  403. package/dist/components/Toast.d.ts +1 -1
  404. package/dist/components/Toast.d.ts.map +1 -1
  405. package/dist/components/Toast.js +2 -2
  406. package/dist/components/Toast.js.map +1 -1
  407. package/dist/components/ToggleButton.d.ts +9 -2
  408. package/dist/components/ToggleButton.d.ts.map +1 -1
  409. package/dist/components/ToggleButton.js +5 -5
  410. package/dist/components/ToggleButton.js.map +1 -1
  411. package/dist/components/User.js +1 -1
  412. package/dist/components/User.js.map +1 -1
  413. package/dist/components/index.d.ts +7 -0
  414. package/dist/components/index.d.ts.map +1 -1
  415. package/dist/components/index.js +7 -0
  416. package/dist/components/index.js.map +1 -1
  417. package/dist/contexts/AdapterProvider.d.ts +50 -0
  418. package/dist/contexts/AdapterProvider.d.ts.map +1 -0
  419. package/dist/contexts/AdapterProvider.js +91 -0
  420. package/dist/contexts/AdapterProvider.js.map +1 -0
  421. package/dist/contexts/DataThemeProvider.d.ts +1 -1
  422. package/dist/contexts/DataThemeProvider.d.ts.map +1 -1
  423. package/dist/contexts/IconProvider.d.ts +3 -3
  424. package/dist/contexts/IconProvider.d.ts.map +1 -1
  425. package/dist/contexts/IconProvider.js +2 -2
  426. package/dist/contexts/IconProvider.js.map +1 -1
  427. package/dist/contexts/LayoutProvider.d.ts +0 -2
  428. package/dist/contexts/LayoutProvider.d.ts.map +1 -1
  429. package/dist/contexts/LayoutProvider.js +15 -10
  430. package/dist/contexts/LayoutProvider.js.map +1 -1
  431. package/dist/contexts/ThemeProvider.d.ts +29 -1
  432. package/dist/contexts/ThemeProvider.d.ts.map +1 -1
  433. package/dist/contexts/ThemeProvider.js +42 -15
  434. package/dist/contexts/ThemeProvider.js.map +1 -1
  435. package/dist/contexts/index.d.ts +3 -2
  436. package/dist/contexts/index.d.ts.map +1 -1
  437. package/dist/contexts/index.js +3 -2
  438. package/dist/contexts/index.js.map +1 -1
  439. package/dist/css/styles.css +1 -1
  440. package/dist/css/tokens.css +1 -1
  441. package/dist/data/emoji-data.json +0 -10
  442. package/dist/hooks/index.d.ts +0 -1
  443. package/dist/hooks/index.d.ts.map +1 -1
  444. package/dist/hooks/index.js +0 -1
  445. package/dist/hooks/index.js.map +1 -1
  446. package/dist/icons/ATTRIBUTION.md +19 -0
  447. package/dist/icons/data.d.ts +1919 -0
  448. package/dist/icons/data.d.ts.map +1 -0
  449. package/dist/icons/data.js +102 -0
  450. package/dist/icons/data.js.map +1 -0
  451. package/dist/icons/renderIcon.d.ts +26 -0
  452. package/dist/icons/renderIcon.d.ts.map +1 -0
  453. package/dist/icons/renderIcon.js +22 -0
  454. package/dist/icons/renderIcon.js.map +1 -0
  455. package/dist/icons.d.ts +35 -4
  456. package/dist/icons.d.ts.map +1 -1
  457. package/dist/icons.js +13 -60
  458. package/dist/icons.js.map +1 -1
  459. package/dist/modules/code/CodeBlock.impl.d.ts +2 -1
  460. package/dist/modules/code/CodeBlock.impl.d.ts.map +1 -1
  461. package/dist/modules/code/CodeBlock.impl.js +7 -2
  462. package/dist/modules/code/CodeBlock.impl.js.map +1 -1
  463. package/dist/modules/data/ChartHeader.d.ts.map +1 -1
  464. package/dist/modules/data/ChartHeader.js +1 -1
  465. package/dist/modules/data/ChartHeader.js.map +1 -1
  466. package/dist/modules/data/DataTooltip.d.ts +1 -1
  467. package/dist/modules/data/DataTooltip.d.ts.map +1 -1
  468. package/dist/modules/data/DataTooltip.js +2 -2
  469. package/dist/modules/data/DataTooltip.js.map +1 -1
  470. package/dist/modules/data/LinearGauge.d.ts +4 -3
  471. package/dist/modules/data/LinearGauge.d.ts.map +1 -1
  472. package/dist/modules/data/LinearGauge.js +1 -1
  473. package/dist/modules/data/LinearGauge.js.map +1 -1
  474. package/dist/modules/data/PieChart.impl.d.ts +1 -1
  475. package/dist/modules/data/PieChart.impl.d.ts.map +1 -1
  476. package/dist/modules/data/PieChart.impl.js +4 -1
  477. package/dist/modules/data/PieChart.impl.js.map +1 -1
  478. package/dist/modules/data/RadialGauge.d.ts +4 -3
  479. package/dist/modules/data/RadialGauge.d.ts.map +1 -1
  480. package/dist/modules/data/RadialGauge.js +1 -1
  481. package/dist/modules/data/RadialGauge.js.map +1 -1
  482. package/dist/modules/data/interfaces.d.ts +12 -3
  483. package/dist/modules/data/interfaces.d.ts.map +1 -1
  484. package/dist/modules/index.d.ts +1 -4
  485. package/dist/modules/index.d.ts.map +1 -1
  486. package/dist/modules/index.js +9 -3
  487. package/dist/modules/index.js.map +1 -1
  488. package/dist/modules/media/MediaUpload.impl.d.ts +1 -1
  489. package/dist/modules/media/MediaUpload.impl.d.ts.map +1 -1
  490. package/dist/modules/media/MediaUpload.impl.js +1 -1
  491. package/dist/modules/media/MediaUpload.impl.js.map +1 -1
  492. package/dist/modules/navigation/Kbar.d.ts +5 -4
  493. package/dist/modules/navigation/Kbar.d.ts.map +1 -1
  494. package/dist/modules/navigation/Kbar.js +32 -35
  495. package/dist/modules/navigation/Kbar.js.map +1 -1
  496. package/dist/modules/navigation/MegaMenu.d.ts +5 -3
  497. package/dist/modules/navigation/MegaMenu.d.ts.map +1 -1
  498. package/dist/modules/navigation/MegaMenu.js +24 -12
  499. package/dist/modules/navigation/MegaMenu.js.map +1 -1
  500. package/dist/modules/navigation/MobileMegaMenu.d.ts +3 -2
  501. package/dist/modules/navigation/MobileMegaMenu.d.ts.map +1 -1
  502. package/dist/modules/navigation/MobileMegaMenu.js +1 -1
  503. package/dist/modules/navigation/MobileMegaMenu.js.map +1 -1
  504. package/dist/modules/seo/Meta.d.ts +40 -2
  505. package/dist/modules/seo/Meta.d.ts.map +1 -1
  506. package/dist/modules/seo/Meta.js.map +1 -1
  507. package/dist/modules/seo/Schema.d.ts +2 -1
  508. package/dist/modules/seo/Schema.d.ts.map +1 -1
  509. package/dist/modules/seo/Schema.js +1 -2
  510. package/dist/modules/seo/Schema.js.map +1 -1
  511. package/dist/next/index.d.ts +35 -0
  512. package/dist/next/index.d.ts.map +1 -0
  513. package/dist/next/index.js +56 -0
  514. package/dist/next/index.js.map +1 -0
  515. package/dist/package.json +52 -7
  516. package/dist/scripts/init-agent.js +156 -0
  517. package/dist/scripts/validate-ai-code.js +213 -0
  518. package/dist/server/og-utils.d.ts +9 -3
  519. package/dist/server/og-utils.d.ts.map +1 -1
  520. package/dist/server/og-utils.js +15 -9
  521. package/dist/server/og-utils.js.map +1 -1
  522. package/dist/styles/breakpoints.scss +16 -5
  523. package/dist/test/setup.js +21 -0
  524. package/dist/test/setup.js.map +1 -1
  525. package/dist/types.d.ts +13 -1
  526. package/dist/types.d.ts.map +1 -1
  527. package/dist/types.js.map +1 -1
  528. package/dist/utils/colorScheme.d.ts +35 -0
  529. package/dist/utils/colorScheme.d.ts.map +1 -0
  530. package/dist/utils/colorScheme.js +140 -0
  531. package/dist/utils/colorScheme.js.map +1 -0
  532. package/dist/utils/index.d.ts +2 -0
  533. package/dist/utils/index.d.ts.map +1 -1
  534. package/dist/utils/index.js +2 -0
  535. package/dist/utils/index.js.map +1 -1
  536. package/dist/utils/navMatch.d.ts +21 -0
  537. package/dist/utils/navMatch.d.ts.map +1 -0
  538. package/dist/utils/navMatch.js +26 -0
  539. package/dist/utils/navMatch.js.map +1 -0
  540. package/package.json +66 -11
  541. package/scripts/validate-ai-code.js +74 -10
  542. package/dist/css/styles.css.map +0 -1
  543. package/dist/css/tokens.css.map +0 -1
  544. package/dist/hooks/useResponsiveClasses.d.ts +0 -9
  545. package/dist/hooks/useResponsiveClasses.d.ts.map +0 -1
  546. package/dist/hooks/useResponsiveClasses.js +0 -293
  547. package/dist/hooks/useResponsiveClasses.js.map +0 -1
  548. package/dist/styles/background.scss +0 -423
  549. package/dist/styles/border.scss +0 -546
  550. package/dist/styles/color.scss +0 -183
  551. package/dist/styles/display.scss +0 -391
  552. package/dist/styles/flex.scss +0 -518
  553. package/dist/styles/global.scss +0 -36
  554. package/dist/styles/grid.scss +0 -293
  555. package/dist/styles/index.scss +0 -14
  556. package/dist/styles/position.scss +0 -1549
  557. package/dist/styles/shadow.scss +0 -19
  558. package/dist/styles/size.scss +0 -53
  559. package/dist/styles/spacing.scss +0 -1505
  560. package/dist/styles/typography.scss +0 -223
  561. package/dist/styles/utilities.scss +0 -23
  562. package/dist/tokens/border.scss +0 -95
  563. package/dist/tokens/data.scss +0 -107
  564. package/dist/tokens/function.scss +0 -742
  565. package/dist/tokens/index.scss +0 -8
  566. package/dist/tokens/layout.scss +0 -275
  567. package/dist/tokens/scheme.scss +0 -352
  568. package/dist/tokens/shadow.scss +0 -7
  569. package/dist/tokens/theme.scss +0 -657
  570. package/dist/tokens/typography.scss +0 -118
  571. package/next-env.d.ts +0 -5
  572. package/scripts/copy-files.js +0 -103
  573. package/scripts/generate-ai-spec.js +0 -464
  574. package/scripts/generate-emoji-data.js +0 -128
  575. package/scss.d.ts +0 -4
  576. package/tsconfig.vitest.json +0 -20
  577. package/vitest.config.ts +0 -19
package/dist/ai/spec.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@once-ui-system/core",
3
- "version": "1.8.3",
4
- "generated": "2026-08-27",
5
- "format": "props are 'type', 'type = default', or '!type' (required). Components with 'mixins' also accept all props of those mixins. 'extends' means all props of that component are accepted.",
3
+ "version": "2.0.0-alpha.0",
4
+ "generated": "2026-09-16",
5
+ "format": "props are 'type', 'type = default', or '!type' (required). Components with 'mixins' also accept all props of those mixins. 'extends' means all props of that component are accepted. In 'types', an array lists a union's allowed values, an object gives a shape's fields in the same notation as props, and a string is the type as written — usually pointing at a component whose props are already listed.",
6
6
  "tokens": {
7
- "StaticSpacingToken": "\"0\" | \"1\" | \"2\" | \"4\" | \"8\" | \"12\" | \"16\" | \"20\" | \"24\" | \"32\" | \"40\" | \"48\" | \"56\" | \"64\" | \"80\" | \"104\" | \"128\" | \"160\"",
7
+ "StaticSpacingToken": "\"0\" | \"1\" | \"2\" | \"4\" | \"8\" | \"12\" | \"16\" | \"20\" | \"24\" | \"32\" | \"40\" | \"48\" | \"56\" | \"64\" | \"72\" | \"80\" | \"104\" | \"128\" | \"160\"",
8
8
  "TShirtSizes": "CondensedTShirtSizes | \"xs\" | \"xl\"",
9
9
  "ResponsiveSpacingToken": "TShirtSizes",
10
10
  "ShadowSize": "TShirtSizes",
@@ -17,10 +17,25 @@
17
17
  "TextType": "\"body\" | \"heading\" | \"display\" | \"label\" | \"code\"",
18
18
  "TextWeight": "\"default\" | \"normal\" | \"medium\" | \"strong\"",
19
19
  "TextSize": "TShirtSizes",
20
- "TextVariant": "`${TextType}-${TextWeight}-${TextSize}`",
21
- "IconName": "\"chevronUp\" | \"chevronDown\" | \"chevronRight\" | \"chevronLeft\" | \"chevronsLeftRight\" | \"refresh\" | \"light\" | \"dark\" | \"help\" | \"info\" | \"warning\" | \"danger\" | \"checkbox\" | \"check\" | \"copy\" | \"eyeDropper\" | \"clipboard\" | \"person\" | \"close\" | \"link\" | \"arrowUpRight\" | \"minus\" | \"plus\" | \"calendar\" | \"eye\" | \"eyeOff\" | \"search\" | \"security\" | \"sparkle\" | \"computer\" | \"minimize\" | \"maximize\" | \"smiley\" | \"paw\" | \"food\" | \"ball\" | \"world\" | \"gift\" | \"symbol\" | \"flag\" | \"wordmark\" | \"enter\" | \"play\" | \"pause\" | \"volume\" | \"volumeOff\" | \"screen\" | \"document\" | \"radialGauge\" | \"linearGauge\" | \"edit\" | \"trash\" | \"mail\" | \"download\""
20
+ "TextVariant": "`${TextType}-${TextWeight}-${TextSize}`"
22
21
  },
23
22
  "mixins": {
23
+ "ChartProps": {
24
+ "title": "React.ReactNode",
25
+ "description": "React.ReactNode",
26
+ "series": "!SeriesConfig | SeriesConfig[]",
27
+ "data": "!DataPoint[]",
28
+ "legend": "LegendConfig",
29
+ "date": "DateConfig",
30
+ "emptyState": "React.ReactNode",
31
+ "errorState": "React.ReactNode",
32
+ "error": "boolean",
33
+ "tooltip": "boolean",
34
+ "grid": "\"x\" | \"y\" | \"both\" | \"none\"",
35
+ "axis": "\"x\" | \"y\" | \"both\" | \"none\"",
36
+ "variant": "ChartVariant",
37
+ "loading": "boolean"
38
+ },
24
39
  "CommonProps": {
25
40
  "onBackground": "Colors",
26
41
  "onSolid": "Colors",
@@ -130,6 +145,129 @@
130
145
  "truncate": "boolean"
131
146
  }
132
147
  },
148
+ "iconNames": [
149
+ "adjustments",
150
+ "arrowLeft",
151
+ "arrowRight",
152
+ "arrowUpRight",
153
+ "ball",
154
+ "banknotes",
155
+ "barChart",
156
+ "bell",
157
+ "bolt",
158
+ "book",
159
+ "bookmark",
160
+ "calendar",
161
+ "cart",
162
+ "chat",
163
+ "check",
164
+ "checkbox",
165
+ "chevronDoubleLeft",
166
+ "chevronDoubleRight",
167
+ "chevronDown",
168
+ "chevronLeft",
169
+ "chevronRight",
170
+ "chevronUp",
171
+ "chevronsLeftRight",
172
+ "clipboard",
173
+ "close",
174
+ "code",
175
+ "computer",
176
+ "copy",
177
+ "danger",
178
+ "dark",
179
+ "dislike",
180
+ "document",
181
+ "download",
182
+ "edit",
183
+ "enter",
184
+ "eye",
185
+ "eyeDropper",
186
+ "eyeOff",
187
+ "file",
188
+ "filter",
189
+ "flag",
190
+ "folder",
191
+ "food",
192
+ "forward",
193
+ "gift",
194
+ "globe",
195
+ "heart",
196
+ "help",
197
+ "home",
198
+ "image",
199
+ "inbox",
200
+ "info",
201
+ "light",
202
+ "like",
203
+ "linearGauge",
204
+ "link",
205
+ "lock",
206
+ "logout",
207
+ "mail",
208
+ "maximize",
209
+ "minimize",
210
+ "minus",
211
+ "moreHorizontal",
212
+ "opacity",
213
+ "organization",
214
+ "pause",
215
+ "paw",
216
+ "payment",
217
+ "person",
218
+ "personRemove",
219
+ "play",
220
+ "plus",
221
+ "radialGauge",
222
+ "refresh",
223
+ "return",
224
+ "screen",
225
+ "search",
226
+ "security",
227
+ "send",
228
+ "settings",
229
+ "smiley",
230
+ "sparkle",
231
+ "star",
232
+ "starFill",
233
+ "store",
234
+ "symbol",
235
+ "tag",
236
+ "time",
237
+ "trash",
238
+ "trend",
239
+ "trendDown",
240
+ "trendUp",
241
+ "upload",
242
+ "video",
243
+ "volume",
244
+ "volumeOff",
245
+ "warning",
246
+ "wordmark",
247
+ "world"
248
+ ],
249
+ "types": {
250
+ "AnimationState": [
251
+ "active",
252
+ "init",
253
+ "pending",
254
+ "completed"
255
+ ],
256
+ "Placement": [
257
+ "top",
258
+ "right",
259
+ "bottom",
260
+ "left",
261
+ "top-start",
262
+ "top-end",
263
+ "right-start",
264
+ "right-end",
265
+ "bottom-start",
266
+ "bottom-end",
267
+ "left-start",
268
+ "left-end"
269
+ ]
270
+ },
133
271
  "components": {
134
272
  "Accordion": {
135
273
  "group": "components",
@@ -147,7 +285,7 @@
147
285
  "props": {
148
286
  "title": "!React.ReactNode",
149
287
  "children": "!React.ReactNode",
150
- "icon": "string = chevronDown",
288
+ "icon": "IconName = chevronDown",
151
289
  "iconRotation": "number = 180",
152
290
  "size": "CondensedTShirtSizes = m",
153
291
  "radius": "\"xs\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"full\" = m",
@@ -394,6 +532,27 @@
394
532
  "children": "React.ReactNode"
395
533
  }
396
534
  },
535
+ "Book": {
536
+ "group": "components",
537
+ "extends": [
538
+ "Flex"
539
+ ],
540
+ "mixins": [
541
+ "CommonProps",
542
+ "DisplayProps",
543
+ "FlexProps",
544
+ "SizeProps",
545
+ "SpacingProps",
546
+ "StyleProps"
547
+ ],
548
+ "props": {
549
+ "src": "string",
550
+ "alt": "string",
551
+ "sizes": "string",
552
+ "href": "string",
553
+ "children": "React.ReactNode"
554
+ }
555
+ },
397
556
  "BlockQuote": {
398
557
  "group": "components",
399
558
  "extends": [
@@ -424,7 +583,7 @@
424
583
  "props": {
425
584
  "variant": "\"primary\" | \"secondary\" | \"tertiary\" | \"quaternary\" | \"subtle\" | \"danger\" | \"success\" | \"warning\" | \"ghost\" | \"link\" = primary",
426
585
  "size": "TShirtSizes = m",
427
- "radius": "\"none\" | \"top\" | \"right\" | \"bottom\" | \"left\" | \"top-left\" | \"top-right\" | \"bottom-right\" | \"bottom-left\"",
586
+ "corners": "\"none\" | \"top\" | \"right\" | \"bottom\" | \"left\" | \"top-left\" | \"top-right\" | \"bottom-right\" | \"bottom-left\"",
428
587
  "label": "string",
429
588
  "weight": "\"default\" | \"strong\" = strong",
430
589
  "rounded": "boolean",
@@ -471,6 +630,41 @@
471
630
  "children": "React.ReactNode"
472
631
  }
473
632
  },
633
+ "NavGroup": {
634
+ "group": "components",
635
+ "extends": [
636
+ "Flex"
637
+ ],
638
+ "mixins": [
639
+ "CommonProps",
640
+ "DisplayProps",
641
+ "FlexProps",
642
+ "SizeProps",
643
+ "SpacingProps",
644
+ "StyleProps"
645
+ ],
646
+ "props": {
647
+ "label": "!ReactNode",
648
+ "icon": "IconName",
649
+ "children": "!ReactNode",
650
+ "open": "boolean",
651
+ "onToggle": "() => void",
652
+ "defaultOpen": "boolean = false",
653
+ "selected": "boolean = false"
654
+ }
655
+ },
656
+ "NavItem": {
657
+ "group": "components",
658
+ "extends": [
659
+ "ToggleButton"
660
+ ],
661
+ "props": {
662
+ "label": "!ReactNode",
663
+ "icon": "IconName",
664
+ "badge": "number",
665
+ "indicator": "boolean"
666
+ }
667
+ },
474
668
  "WeatherFx": {
475
669
  "group": "components",
476
670
  "extends": [
@@ -514,7 +708,7 @@
514
708
  "items": "!CarouselItem[] = []",
515
709
  "controls": "boolean = true",
516
710
  "priority": "boolean = false",
517
- "fill": "boolean = false",
711
+ "stretch": "boolean = false",
518
712
  "indicator": "\"line\" | \"thumbnail\" | false = line",
519
713
  "translateY": "SpacingToken | number",
520
714
  "aspectRatio": "string = original",
@@ -542,7 +736,7 @@
542
736
  "items": "!SwiperItem[] = []",
543
737
  "controls": "boolean | \"contained\" = true",
544
738
  "priority": "boolean = false",
545
- "fill": "boolean = false",
739
+ "stretch": "boolean = false",
546
740
  "aspectRatio": "string = 16 / 9",
547
741
  "sizes": "string",
548
742
  "unoptimized": "boolean = false",
@@ -567,6 +761,7 @@
567
761
  "href": "string",
568
762
  "onClick": "() => void",
569
763
  "fillHeight": "boolean",
764
+ "selected": "boolean",
570
765
  "style": "React.CSSProperties",
571
766
  "className": "string"
572
767
  }
@@ -654,8 +849,8 @@
654
849
  "InteractiveDetails"
655
850
  ],
656
851
  "props": {
657
- "isChecked": "boolean",
658
- "isIndeterminate": "boolean = false",
852
+ "checked": "boolean",
853
+ "indeterminate": "boolean = false",
659
854
  "onToggle": "() => void",
660
855
  "hoverable": "boolean = true"
661
856
  }
@@ -692,7 +887,7 @@
692
887
  ],
693
888
  "props": {
694
889
  "value": "!string",
695
- "onChange": "!(e: React.ChangeEvent<HTMLInputElement>) => void",
890
+ "onChange": "!(value: string) => void",
696
891
  "supportAlpha": "boolean = false"
697
892
  }
698
893
  },
@@ -779,7 +974,7 @@
779
974
  "defaultDate": "Date",
780
975
  "defaultTime": "{ hours: number; minutes: number; }",
781
976
  "size": "CondensedTShirtSizes = m",
782
- "isNested": "boolean = false",
977
+ "nested": "boolean = false",
783
978
  "className": "string",
784
979
  "style": "React.CSSProperties",
785
980
  "currentMonth": "number",
@@ -788,7 +983,7 @@
788
983
  "range": "{ startDate?: Date; endDate?: Date; }",
789
984
  "onHover": "(date: Date | null) => void",
790
985
  "autoFocus": "boolean = false",
791
- "isOpen": "boolean"
986
+ "open": "boolean"
792
987
  }
793
988
  },
794
989
  "DateRangeInput": {
@@ -849,7 +1044,7 @@
849
1044
  "StyleProps"
850
1045
  ],
851
1046
  "props": {
852
- "isOpen": "!boolean",
1047
+ "open": "!boolean",
853
1048
  "onClose": "!() => void",
854
1049
  "title": "!ReactNode | string",
855
1050
  "description": "ReactNode",
@@ -901,14 +1096,16 @@
901
1096
  "onSelect": "(value: string) => void",
902
1097
  "closeAfterClick": "boolean = true",
903
1098
  "handleArrowNavigation": "boolean = true",
904
- "isOpen": "boolean",
905
- "onOpenChange": "(isOpen: boolean) => void",
906
- "isNested": "boolean = false",
1099
+ "open": "boolean",
1100
+ "onOpenChange": "(open: boolean) => void",
1101
+ "nested": "boolean = false",
907
1102
  "navigationLayout": "NavigationLayout",
908
1103
  "columns": "number | string = 8",
909
1104
  "optionsCount": "number",
910
1105
  "dropdownId": "string",
911
- "disableTriggerClick": "boolean = false"
1106
+ "disableTriggerClick": "boolean = false",
1107
+ "onFocusCapture": "React.FocusEventHandler<HTMLDivElement>",
1108
+ "onBlurCapture": "React.FocusEventHandler<HTMLDivElement>"
912
1109
  }
913
1110
  },
914
1111
  "EmojiPicker": {
@@ -962,7 +1159,7 @@
962
1159
  "to": "\"bottom\" | \"top\" | \"left\" | \"right\" = bottom",
963
1160
  "base": "BaseColor = page",
964
1161
  "blur": "number = 0.5",
965
- "pattern": "{ display?: boolean; size?: SpacingToken; } = {\r\n display: false,\r\n size: \"4\",\r\n }",
1162
+ "pattern": "{ display?: boolean; size?: SpacingToken; } = { display: false, size: \"4\", }",
966
1163
  "style": "React.CSSProperties",
967
1164
  "children": "ReactNode"
968
1165
  }
@@ -982,7 +1179,7 @@
982
1179
  ],
983
1180
  "props": {
984
1181
  "variant": "\"info\" | \"danger\" | \"warning\" | \"success\" = info",
985
- "icon": "boolean = true",
1182
+ "showIcon": "boolean = true",
986
1183
  "title": "string",
987
1184
  "description": "string",
988
1185
  "showCloseButton": "boolean = false",
@@ -1177,7 +1374,7 @@
1177
1374
  "icon": "IconName = refresh",
1178
1375
  "id": "string",
1179
1376
  "size": "TShirtSizes = m",
1180
- "radius": "\"none\" | \"top\" | \"right\" | \"bottom\" | \"left\" | \"top-left\" | \"top-right\" | \"bottom-right\" | \"bottom-left\"",
1377
+ "corners": "\"none\" | \"top\" | \"right\" | \"bottom\" | \"left\" | \"top-left\" | \"top-right\" | \"bottom-right\" | \"bottom-left\"",
1181
1378
  "rounded": "boolean = false",
1182
1379
  "tooltip": "ReactNode",
1183
1380
  "tooltipPosition": "\"top\" | \"bottom\" | \"left\" | \"right\" = top",
@@ -1239,16 +1436,17 @@
1239
1436
  "id": "!string",
1240
1437
  "label": "string",
1241
1438
  "placeholder": "string",
1242
- "height": "TShirtSizes = m",
1439
+ "size": "TShirtSizes = m",
1243
1440
  "error": "boolean = false",
1244
1441
  "errorMessage": "ReactNode",
1245
1442
  "description": "ReactNode",
1246
- "radius": "\"none\" | \"top\" | \"right\" | \"bottom\" | \"left\" | \"top-left\" | \"top-right\" | \"bottom-right\" | \"bottom-left\"",
1443
+ "corners": "\"none\" | \"top\" | \"right\" | \"bottom\" | \"left\" | \"top-left\" | \"top-right\" | \"bottom-right\" | \"bottom-left\"",
1247
1444
  "className": "string",
1248
1445
  "style": "React.CSSProperties",
1249
- "hasPrefix": "ReactNode",
1250
- "hasSuffix": "ReactNode",
1446
+ "prefix": "ReactNode",
1447
+ "suffix": "ReactNode",
1251
1448
  "variant": "\"default\" | \"ghost\" = default",
1449
+ "focusRing": "boolean = false",
1252
1450
  "characterCount": "boolean",
1253
1451
  "cursor": "undefined | \"interactive\"",
1254
1452
  "validate": "(value: ReactNode) => ReactNode | null",
@@ -1357,8 +1555,8 @@
1357
1555
  "className": "string",
1358
1556
  "size": "TShirtSizes = m",
1359
1557
  "style": "React.CSSProperties",
1360
- "icon": "string",
1361
- "wordmark": "string",
1558
+ "icon": "LogoSource",
1559
+ "wordmark": "LogoSource",
1362
1560
  "href": "string",
1363
1561
  "dark": "boolean",
1364
1562
  "light": "boolean",
@@ -1460,7 +1658,7 @@
1460
1658
  "sizes": "string | number = 100vw",
1461
1659
  "priority": "boolean",
1462
1660
  "caption": "ReactNode",
1463
- "fill": "boolean = false",
1661
+ "stretch": "boolean = false",
1464
1662
  "fillWidth": "boolean = true",
1465
1663
  "loop": "boolean = true",
1466
1664
  "autoplay": "boolean = true",
@@ -1476,7 +1674,7 @@
1476
1674
  "children": "!React.ReactNode",
1477
1675
  "backdrop": "React.ReactNode",
1478
1676
  "title": "!React.ReactNode",
1479
- "isOpen": "!boolean",
1677
+ "open": "!boolean",
1480
1678
  "onClose": "!() => void"
1481
1679
  }
1482
1680
  },
@@ -1497,7 +1695,7 @@
1497
1695
  "className": "string",
1498
1696
  "style": "React.CSSProperties",
1499
1697
  "onClick": "() => void",
1500
- "isActive": "boolean"
1698
+ "active": "boolean"
1501
1699
  }
1502
1700
  },
1503
1701
  "NumberInput": {
@@ -1560,8 +1758,8 @@
1560
1758
  "label": "React.ReactNode",
1561
1759
  "href": "string",
1562
1760
  "value": "!string",
1563
- "hasPrefix": "React.ReactNode",
1564
- "hasSuffix": "React.ReactNode",
1761
+ "prefix": "React.ReactNode",
1762
+ "suffix": "React.ReactNode",
1565
1763
  "description": "React.ReactNode",
1566
1764
  "danger": "boolean",
1567
1765
  "selected": "boolean",
@@ -1599,7 +1797,7 @@
1599
1797
  ],
1600
1798
  "props": {
1601
1799
  "density": "number = 100",
1602
- "color": "string = brand-on-background-weak",
1800
+ "color": "ColorValue = brand-on-background-weak",
1603
1801
  "size": "SpacingToken = 2",
1604
1802
  "speed": "number = 0.3",
1605
1803
  "interactive": "boolean = false",
@@ -1635,7 +1833,7 @@
1635
1833
  "value": "!number",
1636
1834
  "min": "number = 0",
1637
1835
  "max": "number = 100",
1638
- "label": "boolean = true",
1836
+ "showLabel": "boolean = true",
1639
1837
  "labelPosition": "\"top\" | \"bottom\" | \"left\" | \"right\" = bottom",
1640
1838
  "barBackground": "StyleProps[\"solid\"] = brand-strong",
1641
1839
  "className": "string",
@@ -1656,7 +1854,7 @@
1656
1854
  "StyleProps"
1657
1855
  ],
1658
1856
  "props": {
1659
- "variant": "ColorScheme = brand",
1857
+ "scheme": "ColorScheme = brand",
1660
1858
  "size": "CondensedTShirtSizes = m",
1661
1859
  "pulseSize": "string | number",
1662
1860
  "children": "ReactNode",
@@ -1672,7 +1870,7 @@
1672
1870
  "props": {
1673
1871
  "style": "React.CSSProperties",
1674
1872
  "className": "string",
1675
- "isChecked": "boolean",
1873
+ "checked": "boolean",
1676
1874
  "name": "string",
1677
1875
  "value": "string",
1678
1876
  "disabled": "boolean",
@@ -1699,7 +1897,7 @@
1699
1897
  "delay": "number = 0",
1700
1898
  "revealedByDefault": "boolean = false",
1701
1899
  "translateY": "number | SpacingToken",
1702
- "trigger": "boolean",
1900
+ "revealed": "boolean",
1703
1901
  "style": "React.CSSProperties",
1704
1902
  "className": "string"
1705
1903
  }
@@ -1798,10 +1996,10 @@
1798
1996
  ],
1799
1997
  "props": {
1800
1998
  "buttons": "!ButtonOption[]",
1801
- "onToggle": "!(value: string, event?: React.MouseEvent<HTMLButtonElement>) => void",
1802
- "defaultSelected": "string",
1999
+ "onChange": "!(value: string, event?: React.MouseEvent<HTMLButtonElement>) => void",
2000
+ "defaultValue": "string",
1803
2001
  "fillWidth": "boolean = true",
1804
- "selected": "string",
2002
+ "value": "string",
1805
2003
  "compact": "boolean = false",
1806
2004
  "className": "string",
1807
2005
  "style": "React.CSSProperties"
@@ -1835,7 +2033,7 @@
1835
2033
  "TextProps"
1836
2034
  ],
1837
2035
  "props": {
1838
- "speed": "number = 1",
2036
+ "speed": "number = 1000",
1839
2037
  "disabled": "boolean = false",
1840
2038
  "inverse": "boolean = false",
1841
2039
  "baseOpacity": "number = 0.3",
@@ -1858,9 +2056,8 @@
1858
2056
  ],
1859
2057
  "props": {
1860
2058
  "shape": "!\"line\" | \"circle\" | \"block\" = line",
1861
- "width": "\"xl\" | \"l\" | \"m\" | \"s\" | \"xs\" = m",
1862
- "height": "\"xl\" | \"l\" | \"m\" | \"s\" | \"xs\" = m",
1863
- "delay": "\"1\" | \"2\" | \"3\" | \"4\" | \"5\" | \"6\"",
2059
+ "size": "\"xl\" | \"l\" | \"m\" | \"s\" | \"xs\" = m",
2060
+ "delay": "number",
1864
2061
  "style": "React.CSSProperties",
1865
2062
  "className": "string"
1866
2063
  }
@@ -1932,6 +2129,8 @@
1932
2129
  "props": {
1933
2130
  "leftPanel": "!ReactNode",
1934
2131
  "rightPanel": "!ReactNode",
2132
+ "labels": "{ left: string; right: string }",
2133
+ "collapseBelow": "BreakpointKey | false = s",
1935
2134
  "defaultSplit": "number = 0.3",
1936
2135
  "minSplit": "number = 0.2",
1937
2136
  "maxSplit": "number = 0.8"
@@ -1961,6 +2160,7 @@
1961
2160
  "StylePanel": {
1962
2161
  "group": "components",
1963
2162
  "extends": [
2163
+ "Column",
1964
2164
  "Flex"
1965
2165
  ],
1966
2166
  "mixins": [
@@ -1972,8 +2172,9 @@
1972
2172
  "StyleProps"
1973
2173
  ],
1974
2174
  "props": {
1975
- "style": "React.CSSProperties",
1976
- "className": "string"
2175
+ "visibility": "StylePanelVisibility",
2176
+ "value": "StylePanelRootProps[\"value\"]",
2177
+ "onChange": "StylePanelRootProps[\"onChange\"]"
1977
2178
  }
1978
2179
  },
1979
2180
  "StyleOverlay": {
@@ -2003,7 +2204,7 @@
2003
2204
  "props": {
2004
2205
  "style": "React.CSSProperties",
2005
2206
  "className": "string",
2006
- "isChecked": "!boolean",
2207
+ "checked": "!boolean",
2007
2208
  "loading": "boolean = false",
2008
2209
  "name": "string",
2009
2210
  "value": "string",
@@ -2060,7 +2261,7 @@
2060
2261
  "StyleProps"
2061
2262
  ],
2062
2263
  "props": {
2063
- "variant": "ColorScheme | \"gradient\" = neutral",
2264
+ "scheme": "ColorScheme | \"gradient\" = neutral",
2064
2265
  "size": "CondensedTShirtSizes = m",
2065
2266
  "label": "string = ",
2066
2267
  "prefixIcon": "IconName",
@@ -2093,16 +2294,17 @@
2093
2294
  "id": "!string",
2094
2295
  "label": "string",
2095
2296
  "placeholder": "string",
2096
- "lines": "number | \"auto\" = 3",
2097
- "height": "TShirtSizes = m",
2297
+ "lines": "number | \"auto\" = auto",
2298
+ "size": "TShirtSizes = m",
2098
2299
  "error": "boolean = false",
2099
2300
  "errorMessage": "ReactNode",
2100
2301
  "description": "ReactNode",
2101
- "radius": "\"none\" | \"top\" | \"right\" | \"bottom\" | \"left\" | \"top-left\" | \"top-right\" | \"bottom-right\" | \"bottom-left\"",
2302
+ "corners": "\"none\" | \"top\" | \"right\" | \"bottom\" | \"left\" | \"top-left\" | \"top-right\" | \"bottom-right\" | \"bottom-left\"",
2102
2303
  "className": "string",
2103
- "hasPrefix": "ReactNode",
2104
- "hasSuffix": "ReactNode",
2304
+ "prefix": "ReactNode",
2305
+ "suffix": "ReactNode",
2105
2306
  "variant": "\"default\" | \"ghost\" = default",
2307
+ "focusRing": "boolean = false",
2106
2308
  "characterCount": "boolean",
2107
2309
  "resize": "\"horizontal\" | \"vertical\" | \"both\" | \"none\" = vertical",
2108
2310
  "validate": "(value: ReactNode) => ReactNode | null",
@@ -2152,7 +2354,7 @@
2152
2354
  "props": {
2153
2355
  "className": "string",
2154
2356
  "variant": "!\"success\" | \"danger\" | \"warning\" | \"info\"",
2155
- "icon": "boolean = true",
2357
+ "showIcon": "boolean = true",
2156
2358
  "onClose": "() => void",
2157
2359
  "action": "React.ReactNode",
2158
2360
  "children": "!React.ReactNode"
@@ -2177,7 +2379,8 @@
2177
2379
  "selected": "boolean = false",
2178
2380
  "variant": "\"ghost\" | \"outline\" | \"subtle\" = ghost",
2179
2381
  "size": "TShirtSizes = m",
2180
- "radius": "\"none\" | \"top\" | \"right\" | \"bottom\" | \"left\" | \"top-left\" | \"top-right\" | \"bottom-right\" | \"bottom-left\"",
2382
+ "radius": "RadiusSize",
2383
+ "corners": "\"none\" | \"top\" | \"right\" | \"bottom\" | \"left\" | \"top-left\" | \"top-right\" | \"bottom-right\" | \"bottom-left\"",
2181
2384
  "rounded": "boolean = false",
2182
2385
  "horizontal": "\"start\" | \"center\" | \"end\" | \"between\" = center",
2183
2386
  "fillWidth": "boolean = false",
@@ -2240,7 +2443,10 @@
2240
2443
  "SizeProps",
2241
2444
  "SpacingProps",
2242
2445
  "StyleProps"
2243
- ]
2446
+ ],
2447
+ "props": {
2448
+ "collapsed": "boolean"
2449
+ }
2244
2450
  },
2245
2451
  "User": {
2246
2452
  "group": "components",
@@ -2294,6 +2500,142 @@
2294
2500
  "children": "React.ReactNode"
2295
2501
  }
2296
2502
  },
2503
+ "Effect": {
2504
+ "group": "components",
2505
+ "extends": [
2506
+ "Flex"
2507
+ ],
2508
+ "mixins": [
2509
+ "CommonProps",
2510
+ "DisplayProps",
2511
+ "FlexProps",
2512
+ "SizeProps",
2513
+ "SpacingProps",
2514
+ "StyleProps"
2515
+ ],
2516
+ "props": {
2517
+ "type": "EffectType = none",
2518
+ "colors": "string[]",
2519
+ "speed": "number",
2520
+ "reducedMotion": "boolean | \"auto\"",
2521
+ "blob": "Omit<React.ComponentProps<typeof BlobFx>, \"children\">",
2522
+ "matrix": "Omit<React.ComponentProps<typeof MatrixFx>, \"children\">",
2523
+ "weather": "Omit<React.ComponentProps<typeof WeatherFx>, \"children\">",
2524
+ "particle": "Omit<React.ComponentProps<typeof Particle>, \"children\">",
2525
+ "celebration": "Omit<React.ComponentProps<typeof CelebrationFx>, \"children\">",
2526
+ "children": "React.ReactNode"
2527
+ }
2528
+ },
2529
+ "InfoTip": {
2530
+ "group": "components",
2531
+ "extends": [
2532
+ "Flex"
2533
+ ],
2534
+ "mixins": [
2535
+ "CommonProps",
2536
+ "DisplayProps",
2537
+ "FlexProps",
2538
+ "SizeProps",
2539
+ "SpacingProps",
2540
+ "StyleProps"
2541
+ ],
2542
+ "props": {
2543
+ "children": "React.ReactNode",
2544
+ "size": "React.ComponentProps<typeof Icon>[\"size\"] = xs"
2545
+ }
2546
+ },
2547
+ "Scrubber": {
2548
+ "group": "components",
2549
+ "extends": [
2550
+ "Flex"
2551
+ ],
2552
+ "mixins": [
2553
+ "CommonProps",
2554
+ "DisplayProps",
2555
+ "FlexProps",
2556
+ "SizeProps",
2557
+ "SpacingProps",
2558
+ "StyleProps"
2559
+ ],
2560
+ "props": {
2561
+ "duration": "!number",
2562
+ "value": "!number",
2563
+ "onChange": "!(time: number) => void",
2564
+ "tracks": "ScrubberTrack[] = []",
2565
+ "selected": "string | null = null",
2566
+ "onSelect": "(blockId: string | null) => void",
2567
+ "onBlockChange": "(trackId: string, blockId: string, next: { start: number; end: number }) => void",
2568
+ "onGestureStart": "() => void",
2569
+ "onBlockContextMenu": "(event: React.MouseEvent, trackId: string, blockId: string) => void",
2570
+ "showTime": "boolean = true",
2571
+ "formatTime": "(time: number) => string = defaultFormatTime",
2572
+ "step": "number",
2573
+ "ariaLabel": "string = Seek"
2574
+ }
2575
+ },
2576
+ "Setting": {
2577
+ "group": "components",
2578
+ "extends": [
2579
+ "Flex"
2580
+ ],
2581
+ "mixins": [
2582
+ "CommonProps",
2583
+ "DisplayProps",
2584
+ "FlexProps",
2585
+ "SizeProps",
2586
+ "SpacingProps",
2587
+ "StyleProps"
2588
+ ],
2589
+ "props": {
2590
+ "label": "React.ReactNode",
2591
+ "description": "React.ReactNode",
2592
+ "info": "React.ReactNode",
2593
+ "controlWidth": "number = 14",
2594
+ "children": "React.ReactNode"
2595
+ }
2596
+ },
2597
+ "SettingAxes": {
2598
+ "group": "components",
2599
+ "extends": [
2600
+ "Flex"
2601
+ ],
2602
+ "mixins": [
2603
+ "CommonProps",
2604
+ "DisplayProps",
2605
+ "FlexProps",
2606
+ "SizeProps",
2607
+ "SpacingProps",
2608
+ "StyleProps"
2609
+ ],
2610
+ "props": {
2611
+ "label": "React.ReactNode",
2612
+ "info": "React.ReactNode",
2613
+ "axes": "!{ label: React.ReactNode; control: React.ReactNode }[]",
2614
+ "axisWidth": "number = 13"
2615
+ }
2616
+ },
2617
+ "SettingGroup": {
2618
+ "group": "components",
2619
+ "extends": [
2620
+ "Flex"
2621
+ ],
2622
+ "mixins": [
2623
+ "CommonProps",
2624
+ "DisplayProps",
2625
+ "FlexProps",
2626
+ "SizeProps",
2627
+ "SpacingProps",
2628
+ "StyleProps"
2629
+ ],
2630
+ "props": {
2631
+ "label": "React.ReactNode",
2632
+ "description": "React.ReactNode",
2633
+ "info": "React.ReactNode",
2634
+ "control": "React.ReactNode",
2635
+ "open": "boolean",
2636
+ "children": "React.ReactNode"
2637
+ }
2638
+ },
2297
2639
  "FadingLettersFx": {
2298
2640
  "group": "components",
2299
2641
  "mixins": [
@@ -2389,13 +2731,29 @@
2389
2731
  "style": "React.CSSProperties"
2390
2732
  }
2391
2733
  },
2392
- "ChartHeader": {
2734
+ "Schema": {
2393
2735
  "group": "modules",
2736
+ "props": {
2737
+ "as": "!\"website\" | \"article\" | \"blogPosting\" | \"techArticle\" | \"webPage\" | \"organization\"",
2738
+ "title": "!string",
2739
+ "description": "!string",
2740
+ "baseURL": "!string",
2741
+ "path": "!string",
2742
+ "datePublished": "string",
2743
+ "dateModified": "string",
2744
+ "image": "string",
2745
+ "sameAs": "string[] = []",
2746
+ "author": "{ name: string; url?: string; image?: string; }"
2747
+ }
2748
+ },
2749
+ "LineChart": {
2750
+ "group": "data",
2751
+ "importFrom": "@once-ui-system/core/data",
2394
2752
  "extends": [
2395
- "Column",
2396
2753
  "Flex"
2397
2754
  ],
2398
2755
  "mixins": [
2756
+ "ChartProps",
2399
2757
  "CommonProps",
2400
2758
  "DisplayProps",
2401
2759
  "FlexProps",
@@ -2404,142 +2762,116 @@
2404
2762
  "StyleProps"
2405
2763
  ],
2406
2764
  "props": {
2407
- "title": "React.ReactNode",
2408
- "description": "React.ReactNode",
2409
- "dateRange": "DateRange",
2410
- "date": "DateConfig",
2411
- "onDateRangeChange": "(range: DateRange) => void",
2412
- "presets": "PresetsConfig = { display: true, granularity: \"week\" }"
2413
- }
2414
- },
2415
- "ChartStatus": {
2416
- "group": "modules",
2417
- "props": {
2418
- "loading": "boolean = false",
2419
- "empty": "boolean = false",
2765
+ "curve": "curveType = natural",
2766
+ "reverseY": "boolean = false",
2767
+ "reverseX": "boolean = false",
2768
+ "animation": "boolean = true",
2769
+ "animationBegin": "number",
2770
+ "animationDuration": "number",
2771
+ "animationEasing": "unknown",
2772
+ "xAxisType": "\"number\" | \"category\"",
2773
+ "xDomain": "[number, number]",
2774
+ "data-viz-style": "string",
2775
+ "legend": "LegendConfig = {}",
2420
2776
  "error": "boolean = false",
2421
- "emptyState": "React.ReactNode = No data available for the selected period",
2422
- "errorState": "React.ReactNode = An error occurred while fetching data"
2423
- }
2424
- },
2425
- "LinearGradient": {
2426
- "group": "modules",
2427
- "props": {
2428
- "id": "!string",
2429
- "color": "!string",
2430
- "x1": "string = 0",
2431
- "y1": "string = 0",
2432
- "x2": "string = 0",
2433
- "y2": "string = 1",
2434
- "stops": "GradientStop[]",
2435
- "variant": "ChartVariant = useDataTheme().variant"
2436
- }
2437
- },
2438
- "RadialGradient": {
2439
- "group": "modules",
2440
- "props": {
2441
- "id": "!string",
2442
- "color": "!string",
2443
- "cx": "string = 50%",
2444
- "cy": "string = 50%",
2445
- "r": "string = 50%",
2446
- "fx": "string = 50%",
2447
- "fy": "string = 50%",
2448
- "stops": "GradientStop[]",
2449
- "variant": "ChartVariant = useDataTheme().variant"
2777
+ "tooltip": "boolean = true",
2778
+ "grid": "\"x\" | \"y\" | \"both\" | \"none\" = both",
2779
+ "axis": "\"x\" | \"y\" | \"both\" | \"none\" = both",
2780
+ "loading": "boolean = false",
2781
+ "border": "Colors | \"surface\" | \"transparent\" | boolean = neutral-alpha-weak"
2450
2782
  }
2451
2783
  },
2452
2784
  "BarChart": {
2453
- "group": "modules",
2785
+ "group": "data",
2786
+ "importFrom": "@once-ui-system/core/data",
2454
2787
  "extends": [
2455
- "BarChart.impl",
2456
- "interfaces",
2457
2788
  "Flex"
2458
2789
  ],
2459
2790
  "mixins": [
2791
+ "ChartProps",
2460
2792
  "CommonProps",
2461
2793
  "DisplayProps",
2462
2794
  "FlexProps",
2463
2795
  "SizeProps",
2464
2796
  "SpacingProps",
2465
2797
  "StyleProps"
2466
- ]
2467
- },
2468
- "LineChart": {
2469
- "group": "modules",
2470
- "extends": [
2471
- "LineChart.impl",
2472
- "interfaces",
2473
- "Flex"
2474
2798
  ],
2475
- "mixins": [
2476
- "CommonProps",
2477
- "DisplayProps",
2478
- "FlexProps",
2479
- "SizeProps",
2480
- "SpacingProps",
2481
- "StyleProps"
2482
- ]
2799
+ "props": {
2800
+ "barWidth": "BarWidth = l",
2801
+ "hover": "boolean = false",
2802
+ "reverseY": "boolean = false",
2803
+ "reverseX": "boolean = false",
2804
+ "data-viz-style": "string",
2805
+ "legend": "LegendConfig = {}",
2806
+ "error": "boolean = false",
2807
+ "tooltip": "boolean = true",
2808
+ "grid": "\"x\" | \"y\" | \"both\" | \"none\" = y",
2809
+ "axis": "\"x\" | \"y\" | \"both\" | \"none\" = both",
2810
+ "loading": "boolean = false",
2811
+ "border": "Colors | \"surface\" | \"transparent\" | boolean = neutral-alpha-weak"
2812
+ }
2483
2813
  },
2484
2814
  "PieChart": {
2485
- "group": "modules",
2815
+ "group": "data",
2816
+ "importFrom": "@once-ui-system/core/data",
2486
2817
  "extends": [
2487
- "PieChart.impl",
2488
- "interfaces",
2489
2818
  "Flex"
2490
2819
  ],
2491
2820
  "mixins": [
2821
+ "ChartProps",
2492
2822
  "CommonProps",
2493
2823
  "DisplayProps",
2494
2824
  "FlexProps",
2495
2825
  "SizeProps",
2496
2826
  "SpacingProps",
2497
2827
  "StyleProps"
2498
- ]
2828
+ ],
2829
+ "props": {
2830
+ "data-viz-style": "string",
2831
+ "ring": "{ inner: number; outer: number } = { inner: 0, outer: 80 }",
2832
+ "dataKey": "string = value",
2833
+ "nameKey": "string = name",
2834
+ "origo": "{ x: number; y: number } = { x: 50, y: 50 }",
2835
+ "legend": "LegendConfig = {}",
2836
+ "error": "boolean = false",
2837
+ "tooltip": "boolean = true",
2838
+ "loading": "boolean = false",
2839
+ "border": "Colors | \"surface\" | \"transparent\" | boolean = neutral-alpha-weak"
2840
+ }
2499
2841
  },
2500
2842
  "LineBarChart": {
2501
- "group": "modules",
2843
+ "group": "data",
2844
+ "importFrom": "@once-ui-system/core/data",
2502
2845
  "extends": [
2503
- "LineBarChart.impl",
2504
- "interfaces",
2505
2846
  "Flex"
2506
2847
  ],
2507
2848
  "mixins": [
2849
+ "ChartProps",
2508
2850
  "CommonProps",
2509
2851
  "DisplayProps",
2510
2852
  "FlexProps",
2511
2853
  "SizeProps",
2512
2854
  "SpacingProps",
2513
2855
  "StyleProps"
2514
- ]
2515
- },
2516
- "DataTooltip": {
2517
- "group": "modules",
2518
- "props": {
2519
- "active": "boolean",
2520
- "payload": "readonly Record<string, any>[]",
2521
- "label": "string | number",
2522
- "dataKey": "string = name",
2523
- "DataTooltip": "React.ReactNode",
2524
- "date": "DateConfig = { format: \"MMM d\" }",
2525
- "colors": "boolean = true",
2526
- "variant": "ChartVariant = gradient"
2527
- }
2528
- },
2529
- "Legend": {
2530
- "group": "modules",
2856
+ ],
2531
2857
  "props": {
2532
- "payload": "readonly Record<string, any>[]",
2533
- "labels": "\"x\" | \"y\" | \"both\" | \"none\" = both",
2534
- "colors": "string[]",
2535
- "reverseY": "boolean",
2536
- "direction": "\"row\" | \"column\"",
2537
- "position": "\"top-left\" | \"top-right\" | \"bottom-left\" | \"bottom-right\" | \"top-center\" | \"bottom-center\" = top-left",
2538
- "variant": "ChartVariant = useDataTheme().variant"
2858
+ "barWidth": "BarWidth = l",
2859
+ "curve": "curveType = natural",
2860
+ "reverseY": "boolean = false",
2861
+ "reverseX": "boolean = false",
2862
+ "data-viz-style": "string",
2863
+ "legend": "LegendConfig = {}",
2864
+ "error": "boolean = false",
2865
+ "tooltip": "boolean = true",
2866
+ "grid": "\"x\" | \"y\" | \"both\" | \"none\" = y",
2867
+ "axis": "\"x\" | \"y\" | \"both\" | \"none\" = both",
2868
+ "loading": "boolean = false",
2869
+ "border": "Colors | \"surface\" | \"transparent\" | boolean = neutral-alpha-weak"
2539
2870
  }
2540
2871
  },
2541
2872
  "RadialGauge": {
2542
- "group": "modules",
2873
+ "group": "data",
2874
+ "importFrom": "@once-ui-system/core/data",
2543
2875
  "extends": [
2544
2876
  "Flex"
2545
2877
  ],
@@ -2557,16 +2889,17 @@
2557
2889
  "line": "{ count?: number; width?: number; length?: number; }",
2558
2890
  "unit": "React.ReactNode",
2559
2891
  "value": "number = 7",
2560
- "angle": "{ start: number; sweep: number; } = {\r\n start: 0,\r\n sweep: 360,\r\n }",
2892
+ "angle": "{ start: number; sweep: number; } = { start: 0, sweep: 360, }",
2561
2893
  "direction": "'cw' | 'ccw' = cw",
2562
2894
  "edgePad": "number = 0",
2563
2895
  "children": "React.ReactNode",
2564
2896
  "hue": "\"success\" | \"neutral\" | \"danger\" | [number, number]",
2565
- "color": "string = contrast"
2897
+ "color": "ColorValue = contrast"
2566
2898
  }
2567
2899
  },
2568
2900
  "LinearGauge": {
2569
- "group": "modules",
2901
+ "group": "data",
2902
+ "importFrom": "@once-ui-system/core/data",
2570
2903
  "extends": [
2571
2904
  "Flex"
2572
2905
  ],
@@ -2585,13 +2918,113 @@
2585
2918
  "value": "number = 50",
2586
2919
  "labels": "\"none\" | \"percentage\" | string[] = none",
2587
2920
  "hue": "\"success\" | \"neutral\" | \"danger\" | [number, number]",
2588
- "color": "string = contrast"
2921
+ "color": "ColorValue = contrast"
2922
+ }
2923
+ },
2924
+ "ChartHeader": {
2925
+ "group": "data",
2926
+ "importFrom": "@once-ui-system/core/data",
2927
+ "extends": [
2928
+ "Column",
2929
+ "Flex"
2930
+ ],
2931
+ "mixins": [
2932
+ "CommonProps",
2933
+ "DisplayProps",
2934
+ "FlexProps",
2935
+ "SizeProps",
2936
+ "SpacingProps",
2937
+ "StyleProps"
2938
+ ],
2939
+ "props": {
2940
+ "title": "React.ReactNode",
2941
+ "description": "React.ReactNode",
2942
+ "dateRange": "DateRange",
2943
+ "date": "DateConfig",
2944
+ "onDateRangeChange": "(range: DateRange) => void",
2945
+ "presets": "PresetsConfig = { display: true, granularity: \"week\" }"
2946
+ }
2947
+ },
2948
+ "ChartStatus": {
2949
+ "group": "data",
2950
+ "importFrom": "@once-ui-system/core/data",
2951
+ "props": {
2952
+ "loading": "boolean = false",
2953
+ "empty": "boolean = false",
2954
+ "error": "boolean = false",
2955
+ "emptyState": "React.ReactNode = No data available for the selected period",
2956
+ "errorState": "React.ReactNode = An error occurred while fetching data"
2957
+ }
2958
+ },
2959
+ "LinearGradient": {
2960
+ "group": "data",
2961
+ "importFrom": "@once-ui-system/core/data",
2962
+ "props": {
2963
+ "id": "!string",
2964
+ "color": "!string",
2965
+ "x1": "string = 0",
2966
+ "y1": "string = 0",
2967
+ "x2": "string = 0",
2968
+ "y2": "string = 1",
2969
+ "stops": "GradientStop[]",
2970
+ "variant": "ChartVariant = useDataTheme().variant"
2971
+ }
2972
+ },
2973
+ "RadialGradient": {
2974
+ "group": "data",
2975
+ "importFrom": "@once-ui-system/core/data",
2976
+ "props": {
2977
+ "id": "!string",
2978
+ "color": "!string",
2979
+ "cx": "string = 50%",
2980
+ "cy": "string = 50%",
2981
+ "r": "string = 50%",
2982
+ "fx": "string = 50%",
2983
+ "fy": "string = 50%",
2984
+ "stops": "GradientStop[]",
2985
+ "variant": "ChartVariant = useDataTheme().variant"
2986
+ }
2987
+ },
2988
+ "DataTooltip": {
2989
+ "group": "data",
2990
+ "importFrom": "@once-ui-system/core/data",
2991
+ "props": {
2992
+ "active": "boolean",
2993
+ "payload": "readonly Record<string, any>[]",
2994
+ "label": "string | number",
2995
+ "dataKey": "string = name",
2996
+ "DataTooltip": "React.ReactNode",
2997
+ "date": "DateConfig = { format: \"MMM d\" }",
2998
+ "showSwatches": "boolean = true",
2999
+ "variant": "ChartVariant = gradient"
3000
+ }
3001
+ },
3002
+ "Legend": {
3003
+ "group": "data",
3004
+ "importFrom": "@once-ui-system/core/data",
3005
+ "props": {
3006
+ "payload": "readonly Record<string, any>[]",
3007
+ "labels": "\"x\" | \"y\" | \"both\" | \"none\" = both",
3008
+ "colors": "string[]",
3009
+ "reverseY": "boolean",
3010
+ "direction": "\"row\" | \"column\"",
3011
+ "position": "\"top-left\" | \"top-right\" | \"bottom-left\" | \"bottom-right\" | \"top-center\" | \"bottom-center\" = top-left",
3012
+ "variant": "ChartVariant = useDataTheme().variant"
3013
+ }
3014
+ },
3015
+ "Swatch": {
3016
+ "group": "data",
3017
+ "importFrom": "@once-ui-system/core/data",
3018
+ "props": {
3019
+ "color": "!string",
3020
+ "size": "\"s\" | \"m\" = m",
3021
+ "variant": "ChartVariant = useDataTheme().variant"
2589
3022
  }
2590
3023
  },
2591
3024
  "CodeBlock": {
2592
- "group": "modules",
3025
+ "group": "code",
3026
+ "importFrom": "@once-ui-system/core/code",
2593
3027
  "extends": [
2594
- "CodeBlock.impl",
2595
3028
  "Flex"
2596
3029
  ],
2597
3030
  "mixins": [
@@ -2601,12 +3034,33 @@
2601
3034
  "SizeProps",
2602
3035
  "SpacingProps",
2603
3036
  "StyleProps"
2604
- ]
3037
+ ],
3038
+ "props": {
3039
+ "codeHeight": "number",
3040
+ "fillHeight": "boolean",
3041
+ "previewPadding": "SpacingToken = l",
3042
+ "codes": "CodeInstance[] = []",
3043
+ "preview": "ReactNode",
3044
+ "copyButton": "boolean = true",
3045
+ "styleButton": "boolean = false",
3046
+ "reloadButton": "boolean = false",
3047
+ "fullscreenButton": "boolean = false",
3048
+ "compact": "boolean = false",
3049
+ "className": "string",
3050
+ "style": "React.CSSProperties",
3051
+ "background": "React.ComponentProps<typeof Flex>[\"background\"] = surface",
3052
+ "onInstanceChange": "(index: number) => void",
3053
+ "lineNumbers": "boolean = false",
3054
+ "highlight": "string",
3055
+ "maxLines": "number = 5",
3056
+ "isCollapsible": "boolean = false",
3057
+ "hideCode": "boolean = false"
3058
+ }
2605
3059
  },
2606
3060
  "MediaUpload": {
2607
- "group": "modules",
3061
+ "group": "media",
3062
+ "importFrom": "@once-ui-system/core/media",
2608
3063
  "extends": [
2609
- "MediaUpload.impl",
2610
3064
  "Flex"
2611
3065
  ],
2612
3066
  "mixins": [
@@ -2616,21 +3070,25 @@
2616
3070
  "SizeProps",
2617
3071
  "SpacingProps",
2618
3072
  "StyleProps"
2619
- ]
2620
- },
2621
- "Schema": {
2622
- "group": "modules",
3073
+ ],
2623
3074
  "props": {
2624
- "as": "!\"website\" | \"article\" | \"blogPosting\" | \"techArticle\" | \"webPage\" | \"organization\"",
2625
- "title": "!string",
2626
- "description": "!string",
2627
- "baseURL": "!string",
2628
- "path": "!string",
2629
- "datePublished": "string",
2630
- "dateModified": "string",
2631
- "image": "string",
2632
- "sameAs": "string[] = []",
2633
- "author": "{ name: string; url?: string; image?: string; }"
3075
+ "onFileUpload": "(file: File) => Promise<void>",
3076
+ "compress": "boolean = true",
3077
+ "aspectRatio": "string = 16 / 9",
3078
+ "className": "string",
3079
+ "style": "React.CSSProperties",
3080
+ "initialPreviewImage": "string | null = null",
3081
+ "emptyState": "React.ReactNode = Drag and drop or click to browse",
3082
+ "quality": "number = 0.8",
3083
+ "sizes": "string",
3084
+ "children": "React.ReactNode",
3085
+ "convertTypes": "string[] = [\"image/png\", \"image/webp\", \"image/jpg\"]",
3086
+ "resizeMaxWidth": "number = 1920",
3087
+ "resizeMaxHeight": "number = 1920",
3088
+ "resizeWidth": "number = 1200",
3089
+ "resizeHeight": "number = 1200",
3090
+ "loading": "boolean = false",
3091
+ "accept": "string = image/*"
2634
3092
  }
2635
3093
  }
2636
3094
  },