@gild-ui/react 0.0.0 → 0.1.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 (406) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +399 -1
  3. package/dist/Accordion.cjs +338 -0
  4. package/dist/Accordion.d.cts +110 -0
  5. package/dist/Accordion.d.mts +110 -0
  6. package/dist/Accordion.mjs +334 -0
  7. package/dist/Accordion.types-D06ViRMj.d.mts +1114 -0
  8. package/dist/Alert.cjs +187 -0
  9. package/dist/Alert.d.cts +51 -0
  10. package/dist/Alert.d.mts +51 -0
  11. package/dist/Alert.mjs +186 -0
  12. package/dist/AppBar.cjs +76 -0
  13. package/dist/AppBar.d.cts +22 -0
  14. package/dist/AppBar.d.mts +22 -0
  15. package/dist/AppBar.mjs +76 -0
  16. package/dist/Autocomplete.cjs +685 -0
  17. package/dist/Autocomplete.d.cts +97 -0
  18. package/dist/Autocomplete.d.mts +97 -0
  19. package/dist/Autocomplete.mjs +685 -0
  20. package/dist/Avatar.cjs +113 -0
  21. package/dist/Avatar.d.cts +27 -0
  22. package/dist/Avatar.d.mts +27 -0
  23. package/dist/Avatar.mjs +113 -0
  24. package/dist/Backdrop.cjs +30 -0
  25. package/dist/Backdrop.d.cts +11 -0
  26. package/dist/Backdrop.d.mts +11 -0
  27. package/dist/Backdrop.mjs +29 -0
  28. package/dist/Badge.cjs +136 -0
  29. package/dist/Badge.d.cts +47 -0
  30. package/dist/Badge.d.mts +47 -0
  31. package/dist/Badge.mjs +136 -0
  32. package/dist/Breadcrumbs.cjs +150 -0
  33. package/dist/Breadcrumbs.d.cts +33 -0
  34. package/dist/Breadcrumbs.d.mts +33 -0
  35. package/dist/Breadcrumbs.mjs +149 -0
  36. package/dist/Button.cjs +194 -0
  37. package/dist/Button.d.cts +51 -0
  38. package/dist/Button.d.mts +3 -0
  39. package/dist/Button.mjs +194 -0
  40. package/dist/ButtonGroup.cjs +116 -0
  41. package/dist/ButtonGroup.d.cts +43 -0
  42. package/dist/ButtonGroup.d.mts +3 -0
  43. package/dist/ButtonGroup.mjs +115 -0
  44. package/dist/ButtonGroupContext-D5Fg5Slq.mjs +5 -0
  45. package/dist/ButtonGroupContext-W4VkHwoR.cjs +9 -0
  46. package/dist/CacheProvider.cjs +9 -0
  47. package/dist/CacheProvider.d.cts +4 -0
  48. package/dist/CacheProvider.d.mts +4 -0
  49. package/dist/CacheProvider.mjs +9 -0
  50. package/dist/Card.cjs +105 -0
  51. package/dist/Card.d.cts +19 -0
  52. package/dist/Card.d.mts +19 -0
  53. package/dist/Card.mjs +105 -0
  54. package/dist/Checkbox.cjs +210 -0
  55. package/dist/Checkbox.d.cts +48 -0
  56. package/dist/Checkbox.d.mts +48 -0
  57. package/dist/Checkbox.mjs +210 -0
  58. package/dist/Chip.cjs +210 -0
  59. package/dist/Chip.d.cts +51 -0
  60. package/dist/Chip.d.mts +51 -0
  61. package/dist/Chip.mjs +210 -0
  62. package/dist/CircularProgress.cjs +151 -0
  63. package/dist/CircularProgress.d.cts +37 -0
  64. package/dist/CircularProgress.d.mts +37 -0
  65. package/dist/CircularProgress.mjs +151 -0
  66. package/dist/Collapse.cjs +133 -0
  67. package/dist/Collapse.d.cts +38 -0
  68. package/dist/Collapse.d.mts +3 -0
  69. package/dist/Collapse.mjs +133 -0
  70. package/dist/Drawer.cjs +168 -0
  71. package/dist/Drawer.d.cts +60 -0
  72. package/dist/Drawer.d.mts +60 -0
  73. package/dist/Drawer.mjs +166 -0
  74. package/dist/Fab.cjs +123 -0
  75. package/dist/Fab.d.cts +33 -0
  76. package/dist/Fab.d.mts +3 -0
  77. package/dist/Fab.mjs +122 -0
  78. package/dist/FabMenu.cjs +312 -0
  79. package/dist/FabMenu.d.cts +70 -0
  80. package/dist/FabMenu.d.mts +70 -0
  81. package/dist/FabMenu.mjs +311 -0
  82. package/dist/Fade.cjs +17 -0
  83. package/dist/Fade.d.cts +8 -0
  84. package/dist/Fade.d.mts +8 -0
  85. package/dist/Fade.mjs +16 -0
  86. package/dist/Flex.cjs +18 -0
  87. package/dist/Flex.d.cts +2 -0
  88. package/dist/Flex.d.mts +2 -0
  89. package/dist/Flex.mjs +18 -0
  90. package/dist/FocusTrap.cjs +87 -0
  91. package/dist/FocusTrap.d.cts +28 -0
  92. package/dist/FocusTrap.d.mts +28 -0
  93. package/dist/FocusTrap.mjs +86 -0
  94. package/dist/Form.cjs +47 -0
  95. package/dist/Form.d.cts +41 -0
  96. package/dist/Form.d.mts +41 -0
  97. package/dist/Form.mjs +46 -0
  98. package/dist/FormContext-DfpxiqRO.cjs +9 -0
  99. package/dist/FormContext-fZHQHKUU.mjs +6 -0
  100. package/dist/FormControl.cjs +98 -0
  101. package/dist/FormControl.d.cts +81 -0
  102. package/dist/FormControl.d.mts +81 -0
  103. package/dist/FormControl.mjs +96 -0
  104. package/dist/FormControlContext-Btvm04Sj.cjs +9 -0
  105. package/dist/FormControlContext-CaQLS_sK.mjs +6 -0
  106. package/dist/FormHelperText.cjs +40 -0
  107. package/dist/FormHelperText.d.cts +15 -0
  108. package/dist/FormHelperText.d.mts +15 -0
  109. package/dist/FormHelperText.mjs +39 -0
  110. package/dist/FormLabel.cjs +45 -0
  111. package/dist/FormLabel.d.cts +17 -0
  112. package/dist/FormLabel.d.mts +17 -0
  113. package/dist/FormLabel.mjs +44 -0
  114. package/dist/Global.cjs +8 -0
  115. package/dist/Global.d.cts +2 -0
  116. package/dist/Global.d.mts +2 -0
  117. package/dist/Global.mjs +1 -0
  118. package/dist/Grid.cjs +20 -0
  119. package/dist/Grid.d.cts +25 -0
  120. package/dist/Grid.d.mts +25 -0
  121. package/dist/Grid.mjs +20 -0
  122. package/dist/Grow.cjs +21 -0
  123. package/dist/Grow.d.cts +8 -0
  124. package/dist/Grow.d.mts +8 -0
  125. package/dist/Grow.mjs +20 -0
  126. package/dist/Icon-CpmLCuWc.mjs +916 -0
  127. package/dist/Icon-D8CNaUwd.cjs +927 -0
  128. package/dist/Icon.cjs +4 -0
  129. package/dist/Icon.d.cts +3 -0
  130. package/dist/Icon.d.mts +3 -0
  131. package/dist/Icon.mjs +1 -0
  132. package/dist/Image.cjs +89 -0
  133. package/dist/Image.d.cts +19 -0
  134. package/dist/Image.d.mts +19 -0
  135. package/dist/Image.mjs +89 -0
  136. package/dist/LayoutProvider-DFwC1-h0.d.cts +19 -0
  137. package/dist/LayoutProvider-DFwC1-h0.d.mts +19 -0
  138. package/dist/LayoutProvider-Eb5Vp2BZ.mjs +36 -0
  139. package/dist/LayoutProvider-nB0hiaCR.cjs +41 -0
  140. package/dist/LayoutProvider.cjs +3 -0
  141. package/dist/LayoutProvider.d.cts +2 -0
  142. package/dist/LayoutProvider.d.mts +2 -0
  143. package/dist/LayoutProvider.mjs +1 -0
  144. package/dist/LinearProgress.cjs +232 -0
  145. package/dist/LinearProgress.d.cts +39 -0
  146. package/dist/LinearProgress.d.mts +39 -0
  147. package/dist/LinearProgress.mjs +232 -0
  148. package/dist/Link.cjs +59 -0
  149. package/dist/Link.d.cts +9 -0
  150. package/dist/Link.d.mts +9 -0
  151. package/dist/Link.mjs +59 -0
  152. package/dist/Menu-CEr2M5u0.mjs +229 -0
  153. package/dist/Menu-DA9QNBfE.cjs +245 -0
  154. package/dist/Menu.cjs +174 -0
  155. package/dist/Menu.d.cts +209 -0
  156. package/dist/Menu.d.mts +209 -0
  157. package/dist/Menu.mjs +168 -0
  158. package/dist/MenuItem-D3lzWmIO.cjs +859 -0
  159. package/dist/MenuItem-DzHB9Es6.mjs +807 -0
  160. package/dist/MenuItem.cjs +4 -0
  161. package/dist/MenuItem.d.cts +3 -0
  162. package/dist/MenuItem.d.mts +3 -0
  163. package/dist/MenuItem.mjs +2 -0
  164. package/dist/Modal-BphaFrcw.mjs +300 -0
  165. package/dist/Modal-C5OWwkvp.cjs +328 -0
  166. package/dist/Modal.cjs +8 -0
  167. package/dist/Modal.d.cts +96 -0
  168. package/dist/Modal.d.mts +3 -0
  169. package/dist/Modal.mjs +2 -0
  170. package/dist/NativeSelect.cjs +197 -0
  171. package/dist/NativeSelect.d.cts +65 -0
  172. package/dist/NativeSelect.d.mts +65 -0
  173. package/dist/NativeSelect.mjs +197 -0
  174. package/dist/NavTree.cjs +225 -0
  175. package/dist/NavTree.d.cts +65 -0
  176. package/dist/NavTree.d.mts +65 -0
  177. package/dist/NavTree.mjs +223 -0
  178. package/dist/NumberInput.cjs +513 -0
  179. package/dist/NumberInput.d.cts +96 -0
  180. package/dist/NumberInput.d.mts +96 -0
  181. package/dist/NumberInput.mjs +512 -0
  182. package/dist/Pagination.cjs +258 -0
  183. package/dist/Pagination.d.cts +90 -0
  184. package/dist/Pagination.d.mts +3 -0
  185. package/dist/Pagination.mjs +256 -0
  186. package/dist/Paper.cjs +54 -0
  187. package/dist/Paper.d.cts +2 -0
  188. package/dist/Paper.d.mts +3 -0
  189. package/dist/Paper.mjs +54 -0
  190. package/dist/Popover-DY0ooIAM.cjs +143 -0
  191. package/dist/Popover-DsPTeEPx.mjs +139 -0
  192. package/dist/Popover.cjs +4 -0
  193. package/dist/Popover.d.cts +67 -0
  194. package/dist/Popover.d.mts +67 -0
  195. package/dist/Popover.mjs +2 -0
  196. package/dist/Portal.cjs +22 -0
  197. package/dist/Portal.d.cts +15 -0
  198. package/dist/Portal.d.mts +2 -0
  199. package/dist/Portal.mjs +21 -0
  200. package/dist/Pressable.cjs +134 -0
  201. package/dist/Pressable.d.cts +52 -0
  202. package/dist/Pressable.d.mts +3 -0
  203. package/dist/Pressable.mjs +134 -0
  204. package/dist/Quote.cjs +11 -0
  205. package/dist/Quote.d.cts +15 -0
  206. package/dist/Quote.d.mts +15 -0
  207. package/dist/Quote.mjs +10 -0
  208. package/dist/Radio.cjs +161 -0
  209. package/dist/Radio.d.cts +43 -0
  210. package/dist/Radio.d.mts +43 -0
  211. package/dist/Radio.mjs +161 -0
  212. package/dist/RangeInput.cjs +705 -0
  213. package/dist/RangeInput.d.cts +77 -0
  214. package/dist/RangeInput.d.mts +77 -0
  215. package/dist/RangeInput.mjs +705 -0
  216. package/dist/Rating.cjs +390 -0
  217. package/dist/Rating.d.cts +59 -0
  218. package/dist/Rating.d.mts +59 -0
  219. package/dist/Rating.mjs +390 -0
  220. package/dist/ScrollArea.cjs +282 -0
  221. package/dist/ScrollArea.d.cts +40 -0
  222. package/dist/ScrollArea.d.mts +40 -0
  223. package/dist/ScrollArea.mjs +281 -0
  224. package/dist/Select.cjs +528 -0
  225. package/dist/Select.d.cts +69 -0
  226. package/dist/Select.d.mts +69 -0
  227. package/dist/Select.mjs +528 -0
  228. package/dist/Sidebar.cjs +332 -0
  229. package/dist/Sidebar.d.cts +156 -0
  230. package/dist/Sidebar.d.mts +156 -0
  231. package/dist/Sidebar.mjs +330 -0
  232. package/dist/Skeleton.cjs +90 -0
  233. package/dist/Skeleton.d.cts +24 -0
  234. package/dist/Skeleton.d.mts +24 -0
  235. package/dist/Skeleton.mjs +90 -0
  236. package/dist/Slide.cjs +51 -0
  237. package/dist/Slide.d.cts +14 -0
  238. package/dist/Slide.d.mts +14 -0
  239. package/dist/Slide.mjs +50 -0
  240. package/dist/Snackbar.cjs +216 -0
  241. package/dist/Snackbar.d.cts +81 -0
  242. package/dist/Snackbar.d.mts +81 -0
  243. package/dist/Snackbar.mjs +215 -0
  244. package/dist/StyleSheet.cjs +8 -0
  245. package/dist/StyleSheet.d.cts +2 -0
  246. package/dist/StyleSheet.d.mts +2 -0
  247. package/dist/StyleSheet.mjs +1 -0
  248. package/dist/Switch.cjs +355 -0
  249. package/dist/Switch.d.cts +45 -0
  250. package/dist/Switch.d.mts +45 -0
  251. package/dist/Switch.mjs +355 -0
  252. package/dist/Table.cjs +722 -0
  253. package/dist/Table.d.cts +404 -0
  254. package/dist/Table.d.mts +404 -0
  255. package/dist/Table.mjs +707 -0
  256. package/dist/Tabs.cjs +1227 -0
  257. package/dist/Tabs.d.cts +245 -0
  258. package/dist/Tabs.d.mts +245 -0
  259. package/dist/Tabs.mjs +1222 -0
  260. package/dist/TextInput.cjs +236 -0
  261. package/dist/TextInput.d.cts +82 -0
  262. package/dist/TextInput.d.mts +82 -0
  263. package/dist/TextInput.mjs +236 -0
  264. package/dist/ThemeProvider-DS6pBgE-.cjs +68 -0
  265. package/dist/ThemeProvider-DuhfCo2F.mjs +63 -0
  266. package/dist/ThemeProvider.cjs +4 -0
  267. package/dist/ThemeProvider.d.cts +2 -0
  268. package/dist/ThemeProvider.d.mts +2 -0
  269. package/dist/ThemeProvider.mjs +2 -0
  270. package/dist/ToggleButton.cjs +115 -0
  271. package/dist/ToggleButton.d.cts +51 -0
  272. package/dist/ToggleButton.d.mts +51 -0
  273. package/dist/ToggleButton.mjs +113 -0
  274. package/dist/Tooltip-DQo2zZH0.mjs +485 -0
  275. package/dist/Tooltip-DaB6bJKM.cjs +495 -0
  276. package/dist/Tooltip.cjs +5 -0
  277. package/dist/Tooltip.d.cts +122 -0
  278. package/dist/Tooltip.d.mts +122 -0
  279. package/dist/Tooltip.mjs +2 -0
  280. package/dist/TransferList.cjs +394 -0
  281. package/dist/TransferList.d.cts +69 -0
  282. package/dist/TransferList.d.mts +69 -0
  283. package/dist/TransferList.mjs +394 -0
  284. package/dist/Typography.cjs +69 -0
  285. package/dist/Typography.d.cts +30 -0
  286. package/dist/Typography.d.mts +3 -0
  287. package/dist/Typography.mjs +69 -0
  288. package/dist/View-BmuIFO7p.mjs +75 -0
  289. package/dist/View-DkfIBlcy.cjs +85 -0
  290. package/dist/View.cjs +3 -0
  291. package/dist/View.d.cts +2 -0
  292. package/dist/View.d.mts +2 -0
  293. package/dist/View.mjs +1 -0
  294. package/dist/Zoom.cjs +16 -0
  295. package/dist/Zoom.d.cts +7 -0
  296. package/dist/Zoom.d.mts +7 -0
  297. package/dist/Zoom.mjs +15 -0
  298. package/dist/catalog.cjs +22 -0
  299. package/dist/catalog.d.cts +28 -0
  300. package/dist/catalog.d.mts +28 -0
  301. package/dist/catalog.mjs +21 -0
  302. package/dist/computePopoverPosition-C6qSQ1QD.cjs +126 -0
  303. package/dist/computePopoverPosition-DHV1wQgJ.mjs +121 -0
  304. package/dist/computePopoverPosition-JgOwCM7k.d.cts +12 -0
  305. package/dist/computePopoverPosition-JgOwCM7k.d.mts +12 -0
  306. package/dist/css.cjs +20 -0
  307. package/dist/css.d.cts +2 -0
  308. package/dist/css.d.mts +2 -0
  309. package/dist/css.mjs +1 -0
  310. package/dist/derivedTheme-B0cxTzAq.cjs +29 -0
  311. package/dist/derivedTheme-BB9VVZ08.mjs +24 -0
  312. package/dist/engine.cjs +146 -0
  313. package/dist/engine.d.cts +59 -0
  314. package/dist/engine.d.mts +59 -0
  315. package/dist/engine.mjs +101 -0
  316. package/dist/getElementRef-4m6-x2FS.cjs +18 -0
  317. package/dist/getElementRef-SBx9_7pp.mjs +13 -0
  318. package/dist/index-B7LR7Up3.d.mts +175 -0
  319. package/dist/index-Bgd6kxq_.d.mts +43 -0
  320. package/dist/index-Blc3XujV.d.mts +52 -0
  321. package/dist/index-C21GrYkd.d.mts +96 -0
  322. package/dist/index-CA5HTpT9.d.mts +90 -0
  323. package/dist/index-CD0xu_P6.d.mts +92 -0
  324. package/dist/index-CEtnJkY4.d.cts +92 -0
  325. package/dist/index-CKHGDpGJ.d.mts +33 -0
  326. package/dist/index-CT311xS9.d.cts +175 -0
  327. package/dist/index-CWOcMPWz.d.mts +51 -0
  328. package/dist/index-CmG1wW5D.d.mts +38 -0
  329. package/dist/index-DZFF1vMV.d.cts +1114 -0
  330. package/dist/index-MfIvwyA4.d.mts +1 -0
  331. package/dist/index-Tg9lQlVl.d.mts +30 -0
  332. package/dist/index-UloRwym_.d.mts +16 -0
  333. package/dist/index.cjs +93 -0
  334. package/dist/index.d.cts +3 -0
  335. package/dist/index.d.mts +3 -0
  336. package/dist/index.mjs +17 -0
  337. package/dist/inputVariantStyles-B-4lHxUZ.mjs +41 -0
  338. package/dist/inputVariantStyles-CqCQatKb.cjs +58 -0
  339. package/dist/isRtl-DN-EdUlg.mjs +6 -0
  340. package/dist/isRtl-Dl6QQWib.cjs +11 -0
  341. package/dist/keyframes.cjs +8 -0
  342. package/dist/keyframes.d.cts +2 -0
  343. package/dist/keyframes.d.mts +2 -0
  344. package/dist/keyframes.mjs +1 -0
  345. package/dist/next.cjs +8 -0
  346. package/dist/next.d.cts +2 -0
  347. package/dist/next.d.mts +2 -0
  348. package/dist/next.mjs +1 -0
  349. package/dist/overrides-DeXScOFK.cjs +21 -0
  350. package/dist/overrides-Ds6QZL5Q.mjs +16 -0
  351. package/dist/server.cjs +19 -0
  352. package/dist/server.d.cts +10 -0
  353. package/dist/server.d.mts +10 -0
  354. package/dist/server.mjs +18 -0
  355. package/dist/styleEngine-CLid4cmR.mjs +1 -0
  356. package/dist/styled-DnzWP4pc.cjs +34 -0
  357. package/dist/styled-nr_qC_Yx.mjs +29 -0
  358. package/dist/styled.cjs +3 -0
  359. package/dist/styled.d.cts +2 -0
  360. package/dist/styled.d.mts +2 -0
  361. package/dist/styled.mjs +1 -0
  362. package/dist/testing.cjs +60 -0
  363. package/dist/testing.d.cts +6 -0
  364. package/dist/testing.d.mts +6 -0
  365. package/dist/testing.mjs +59 -0
  366. package/dist/themes-BtfQPcbo.mjs +8 -0
  367. package/dist/themes-k-PEE5O9.cjs +12 -0
  368. package/dist/useAnchoredPlacement-CSotv28V.cjs +116 -0
  369. package/dist/useAnchoredPlacement-VwHtXnAx.mjs +111 -0
  370. package/dist/useDefaultProps-BTQGhvfY.mjs +13 -0
  371. package/dist/useDefaultProps-DratGGIL.cjs +18 -0
  372. package/dist/useDefaultProps.cjs +3 -0
  373. package/dist/useDefaultProps.d.cts +2 -0
  374. package/dist/useDefaultProps.d.mts +2 -0
  375. package/dist/useDefaultProps.mjs +1 -0
  376. package/dist/useLiveValue-CN2SUG2B.cjs +20 -0
  377. package/dist/useLiveValue-CqiwCr56.mjs +15 -0
  378. package/dist/useMediaQuery-acJak9M3.mjs +2 -0
  379. package/dist/useMediaQuery.cjs +9 -0
  380. package/dist/useMediaQuery.d.cts +2 -0
  381. package/dist/useMediaQuery.d.mts +2 -0
  382. package/dist/useMediaQuery.mjs +2 -0
  383. package/dist/useStyle.cjs +14 -0
  384. package/dist/useStyle.d.cts +2 -0
  385. package/dist/useStyle.d.mts +2 -0
  386. package/dist/useStyle.mjs +1 -0
  387. package/dist/useTheme.cjs +8 -0
  388. package/dist/useTheme.d.cts +2 -0
  389. package/dist/useTheme.d.mts +2 -0
  390. package/dist/useTheme.mjs +1 -0
  391. package/dist/useTransition-B4KGUO9m.d.cts +40 -0
  392. package/dist/useTransition-BKBtk0Mb.mjs +78 -0
  393. package/dist/useTransition-BwpSHKSf.d.mts +40 -0
  394. package/dist/useTransition-gHFCJwqF.cjs +83 -0
  395. package/dist/useTransitionChild-C18w474Q.mjs +52 -0
  396. package/dist/useTransitionChild-DD3f44AQ.cjs +57 -0
  397. package/dist/utils-ChXrUitU.mjs +1 -0
  398. package/dist/withStyle.cjs +8 -0
  399. package/dist/withStyle.d.cts +2 -0
  400. package/dist/withStyle.d.mts +2 -0
  401. package/dist/withStyle.mjs +1 -0
  402. package/dist/withTheme.cjs +8 -0
  403. package/dist/withTheme.d.cts +2 -0
  404. package/dist/withTheme.d.mts +2 -0
  405. package/dist/withTheme.mjs +1 -0
  406. package/package.json +908 -3
@@ -0,0 +1,1114 @@
1
+ import "./LayoutProvider-DFwC1-h0.mjs";
2
+ import { CSSProperties, ComponentClass, ComponentProps, ComponentType, ElementType, FunctionComponent, HTMLAttributes, JSX, ReactElement, ReactNode, Ref } from "react";
3
+ import { CSSObject as CSSObject$1, Global, LiveValue, PropsOf, SheetStyleProp, StyleSheet, StyledStatics, alpha, asIs, configure as configureEngine, css, defineTheme, fallback, keyframes, negate, setNonceSource, useMediaQuery, useStyle, useStyleValue, useTheme, val, variable, withStyle, withTheme } from "@umber-style/react";
4
+ import * as GildCore from "@gild-ui/core/theme";
5
+ import { ButtonVariants, InputVariantKey, OpenScale, Register, RegisteredTheme, Theme as Theme$1, ThemeBackground, ThemeColor, ThemeDefaults, ThemeFonts, ThemeRadii, ThemeSize, ThemeSpaceKey, ThemeText, ThemeTransitionEasing, ThemeTypography, ThemeZOrder, VariantOf } from "@gild-ui/core/theme";
6
+ import { CreateStyledComponent, FilteringStyledOptions, Interpolation, StyledOptions } from "@umber-style/styled";
7
+ import { BorderProps, FlexboxProps, LayoutFrameProps, LayoutProps, PositionProps, SpaceProps, SpanProps, TypographyProps } from "@soroush.tech/styled-system";
8
+ /**
9
+ * What the `style` prop of a component takes: the engine's `SheetStyleProp`, so an entry of
10
+ * `StyleSheet.create` (of an object, or a handle `sheet.card` of a sheet of the theme) or a list of
11
+ * them, with `false`, `null` and `undefined` for a condition that is off. A plain style object is not
12
+ * one: it is a type error.
13
+ */
14
+ type StyleOverride = SheetStyleProp;
15
+ /**
16
+ * What one slot of a component takes in `slotProps`: a `style` (as above), a `className`, and `data-*`
17
+ * and `aria-*` attributes. Nothing a component controls (its handlers, `ref`, `id`, `role`) is here.
18
+ */
19
+ type SlotOverride = {
20
+ style?: StyleOverride;
21
+ className?: string;
22
+ } & { [K in `data-${string}` | `aria-${string}`]?: string | number | boolean | undefined; };
23
+ /** The `slotProps` of a component: one `SlotOverride` for each slot it declares for the theme (`<Name>Slot`). */
24
+ type SlotProps<Slot extends string> = { [S in Slot]?: SlotOverride; };
25
+ /**
26
+ * A component made by `styled` with its `style` narrowed to `StyleOverride`, for one the library
27
+ * exports: `styled` itself takes any style on the element it makes.
28
+ */
29
+ type StrictStyled<C extends ElementType & StyledStatics> = FunctionComponent<Omit<ComponentProps<C>, 'style' | 'slotProps'> & {
30
+ style?: StyleOverride;
31
+ slotProps?: SlotProps<'root'>;
32
+ }> & StyledStatics;
33
+ /** The resolved props AccordionActions's styled elements receive - what `ownerState` exposes. */
34
+ type AccordionActionsOwnerState = Record<string, unknown>;
35
+ /** The slots of AccordionActions a theme can style with `styleOverrides`. */
36
+ type AccordionActionsSlot = 'root';
37
+ /** What `theme.components.AccordionActions` takes. */
38
+ type AccordionActionsThemeConfig = ComponentConfig<AccordionActionsOwnerState, AccordionActionsSlot>;
39
+ /** The resolved props AccordionDetails's styled elements receive - what `ownerState` exposes. */
40
+ type AccordionDetailsOwnerState = Record<string, unknown>;
41
+ /** The slots of AccordionDetails a theme can style with `styleOverrides`. */
42
+ type AccordionDetailsSlot = 'root';
43
+ /** What `theme.components.AccordionDetails` takes. */
44
+ type AccordionDetailsThemeConfig = ComponentConfig<AccordionDetailsOwnerState, AccordionDetailsSlot>;
45
+ /** The defaults a theme may set for every `AccordionGroup`. */
46
+ interface AccordionGroupOwnerState {
47
+ isExclusive?: boolean;
48
+ variant?: 'separated' | 'attached';
49
+ }
50
+ /** The slots of AccordionGroup a theme can style with `styleOverrides`. */
51
+ type AccordionGroupSlot = 'root';
52
+ /** What `theme.components.AccordionGroup` takes. */
53
+ type AccordionGroupThemeConfig = ComponentConfig<AccordionGroupOwnerState, AccordionGroupSlot>;
54
+ /** The defaults a theme may set for every `AccordionSummary`. */
55
+ interface AccordionSummaryOwnerState {
56
+ headingLevel?: 1 | 2 | 3 | 4 | 5 | 6;
57
+ }
58
+ /** The slots of AccordionSummary a theme can style with `styleOverrides`. */
59
+ type AccordionSummarySlot = 'root' | 'button' | 'content' | 'icon';
60
+ /** What `theme.components.AccordionSummary` takes. */
61
+ type AccordionSummaryThemeConfig = ComponentConfig<AccordionSummaryOwnerState, AccordionSummarySlot>;
62
+ /** The defaults a theme may set for every `Alert` - its `closeLabel` gives it a language. */
63
+ interface AlertOwnerState {
64
+ severity?: 'success' | 'info' | 'warning' | 'error';
65
+ variant?: 'standard' | 'contained' | 'outlined';
66
+ closeLabel?: string;
67
+ role?: 'alert' | 'status';
68
+ borderRadius?: keyof ThemeRadii;
69
+ }
70
+ /** The slots of Alert a theme can style with `styleOverrides`. */
71
+ type AlertSlot = 'root' | 'icon' | 'message' | 'action' | 'closeButton';
72
+ /** What `theme.components.Alert` takes. */
73
+ type AlertThemeConfig = ComponentConfig<AlertOwnerState, AlertSlot>;
74
+ /** The resolved props AlertTitle's styled elements receive - what `ownerState` exposes. */
75
+ type AlertTitleOwnerState = Record<string, unknown>;
76
+ /** The slots of AlertTitle a theme can style with `styleOverrides`. */
77
+ type AlertTitleSlot = 'root';
78
+ /** What `theme.components.AlertTitle` takes. */
79
+ type AlertTitleThemeConfig = ComponentConfig<AlertTitleOwnerState, AlertTitleSlot>;
80
+ /** The resolved props AppBar's styled elements receive - what `ownerState` exposes. */
81
+ type AppBarOwnerState = Record<string, unknown>;
82
+ /** The slots of AppBar a theme can style with `styleOverrides`. */
83
+ type AppBarSlot = 'root';
84
+ /** What `theme.components.AppBar` takes. */
85
+ type AppBarThemeConfig = ComponentConfig<AppBarOwnerState, AppBarSlot>;
86
+ /** The defaults a theme may set for every `Autocomplete` - its labels give it a language. */
87
+ interface AutocompleteOwnerState {
88
+ borderRadius?: keyof ThemeRadii;
89
+ bg?: keyof ThemeBackground;
90
+ textColor?: keyof ThemeText;
91
+ variant?: InputVariantKey;
92
+ size?: ThemeSize;
93
+ color?: ThemeColor;
94
+ shouldAllowFreeText?: boolean;
95
+ layer?: keyof ThemeZOrder;
96
+ clearLabel?: string;
97
+ openLabel?: string;
98
+ closeLabel?: string;
99
+ loadingText?: string;
100
+ noOptionsText?: string;
101
+ }
102
+ /** The slots of Autocomplete a theme can style with `styleOverrides`. */
103
+ type AutocompleteSlot = 'root' | 'tags' | 'input' | 'clearIndicator' | 'popupIndicator' | 'popup' | 'listbox' | 'group' | 'groupLabel' | 'groupItems' | 'option' | 'status';
104
+ /** What `theme.components.Autocomplete` takes. */
105
+ type AutocompleteThemeConfig = ComponentConfig<AutocompleteOwnerState, AutocompleteSlot>;
106
+ /** The resolved props Avatar's styled elements receive - what `ownerState` exposes. */
107
+ type AvatarOwnerState = Record<string, unknown>;
108
+ /** The slots of Avatar a theme can style with `styleOverrides`. */
109
+ type AvatarSlot = 'root' | 'img';
110
+ /** What `theme.components.Avatar` takes. */
111
+ type AvatarThemeConfig = ComponentConfig<AvatarOwnerState, AvatarSlot>;
112
+ /** The resolved props Backdrop's styled elements receive - what `ownerState` exposes. */
113
+ type BackdropOwnerState = Record<string, unknown>;
114
+ /** The slots of Backdrop a theme can style with `styleOverrides`. */
115
+ type BackdropSlot = 'root';
116
+ /** What `theme.components.Backdrop` takes. */
117
+ type BackdropThemeConfig = ComponentConfig<BackdropOwnerState, BackdropSlot>;
118
+ /** The defaults a theme may set for every `Badge`. */
119
+ interface BadgeOwnerState {
120
+ max?: number;
121
+ variant?: 'standard' | 'dot';
122
+ color?: ThemeColor;
123
+ anchorOrigin?: {
124
+ vertical: 'top' | 'bottom';
125
+ horizontal: 'start' | 'end';
126
+ };
127
+ overlap?: 'rectangular' | 'circular';
128
+ }
129
+ /** The slots of Badge a theme can style with `styleOverrides`. */
130
+ type BadgeSlot = 'root' | 'badge' | 'label';
131
+ /** What `theme.components.Badge` takes. */
132
+ type BadgeThemeConfig = ComponentConfig<BadgeOwnerState, BadgeSlot>;
133
+ /** The defaults a theme may set for every `Breadcrumbs` - its `expandLabel` gives a trail its language. */
134
+ interface BreadcrumbsOwnerState {
135
+ separator?: ReactNode;
136
+ maxItems?: number;
137
+ itemsBeforeCollapse?: number;
138
+ itemsAfterCollapse?: number;
139
+ expandLabel?: string;
140
+ color?: keyof ThemeText;
141
+ }
142
+ /** The slots of Breadcrumbs a theme can style with `styleOverrides`. */
143
+ type BreadcrumbsSlot = 'root' | 'list' | 'item' | 'separator' | 'collapsed' | 'collapsedIcon';
144
+ /** What `theme.components.Breadcrumbs` takes. */
145
+ type BreadcrumbsThemeConfig = ComponentConfig<BreadcrumbsOwnerState, BreadcrumbsSlot>;
146
+ /** The corner shapes of a control or a surface. */
147
+ type ShapeKey$2 = 'square' | 'rounded' | 'pill';
148
+ /** The resolved props Button's styled roots receive - what `ownerState` exposes. */
149
+ interface ButtonOwnerState {
150
+ variant?: ButtonVariant;
151
+ color?: ThemeColor;
152
+ size?: ThemeSize;
153
+ shape?: ShapeKey$2;
154
+ fullWidth?: boolean;
155
+ disabled?: boolean;
156
+ }
157
+ /** Button's looks: the built-in ones, those added through `ButtonVariants`, and those a registered theme defines. */
158
+ type ButtonVariant = keyof ButtonVariants | VariantOf<'Button'>;
159
+ /** The slots of Button a theme can style with `styleOverrides`. */
160
+ type ButtonSlot = 'root' | 'label' | 'icon' | 'loader';
161
+ /** What `theme.components.Button` takes. */
162
+ type ButtonThemeConfig = ComponentConfig<ButtonOwnerState, ButtonSlot>;
163
+ /** The resolved props ButtonGroup's styled elements receive - what `ownerState` exposes. */
164
+ type ButtonGroupOwnerState = Record<string, unknown>;
165
+ /** The slots of ButtonGroup a theme can style with `styleOverrides`. */
166
+ type ButtonGroupSlot = 'root';
167
+ /** What `theme.components.ButtonGroup` takes. */
168
+ type ButtonGroupThemeConfig = ComponentConfig<ButtonGroupOwnerState, ButtonGroupSlot>;
169
+ /** Card's resolved props / theme-settable defaults. */
170
+ interface CardOwnerState {
171
+ variant?: 'paper' | 'bracketBox' | 'interactive';
172
+ /** Merged under any per-instance `titleProps` (instance wins). */
173
+ titleProps?: CardSlotTypographyProps;
174
+ /** Merged under any per-instance `captionProps` (instance wins). */
175
+ captionProps?: CardSlotTypographyProps;
176
+ /** Merged under any per-instance `iconProps` (instance wins). */
177
+ iconProps?: CardSlotIconProps;
178
+ }
179
+ /** Token-typed Typography props a theme may set for Card's title/caption slots. */
180
+ interface CardSlotTypographyProps {
181
+ variant?: ThemeTypography;
182
+ color?: keyof ThemeText;
183
+ fontFamily?: keyof ThemeFonts;
184
+ mb?: ThemeSpaceKey;
185
+ }
186
+ /** Token-typed Icon props a theme may set for Card's icon slot. */
187
+ interface CardSlotIconProps {
188
+ color?: keyof ThemeText;
189
+ size?: string | number;
190
+ }
191
+ /** The slots of Card a theme can style with `styleOverrides`. */
192
+ type CardSlot = 'root' | 'title' | 'caption' | 'icon';
193
+ /** What `theme.components.Card` takes. */
194
+ type CardThemeConfig = ComponentConfig<CardOwnerState, CardSlot>;
195
+ /** The resolved props Checkbox's styled elements receive - what `ownerState` exposes. */
196
+ type CheckboxOwnerState = Record<string, unknown>;
197
+ /** The slots of Checkbox a theme can style with `styleOverrides`. */
198
+ type CheckboxSlot = 'root' | 'input' | 'icon' | 'label';
199
+ /** What `theme.components.Checkbox` takes. */
200
+ type CheckboxThemeConfig = ComponentConfig<CheckboxOwnerState, CheckboxSlot>;
201
+ /** The corner shapes of a control or a surface. */
202
+ type ShapeKey$1 = 'square' | 'rounded' | 'pill';
203
+ /** The defaults a theme may set for every `Chip` - its `deleteLabel` gives it a language. */
204
+ interface ChipOwnerState {
205
+ variant?: 'contained' | 'outlined' | 'text';
206
+ color?: ThemeColor;
207
+ size?: ThemeSize;
208
+ shape?: ShapeKey$1;
209
+ borderRadius?: keyof ThemeRadii;
210
+ deleteLabel?: string;
211
+ }
212
+ /** The slots of Chip a theme can style with `styleOverrides`. */
213
+ type ChipSlot = 'root' | 'body' | 'label' | 'icon' | 'avatar' | 'deleteIcon';
214
+ /** What `theme.components.Chip` takes. */
215
+ type ChipThemeConfig = ComponentConfig<ChipOwnerState, ChipSlot>;
216
+ /** The resolved props CircularProgress's styled elements receive - what `ownerState` exposes. */
217
+ type CircularProgressOwnerState = Record<string, unknown>;
218
+ /** The slots of CircularProgress a theme can style with `styleOverrides`. */
219
+ type CircularProgressSlot = 'root' | 'track' | 'circle';
220
+ /** What `theme.components.CircularProgress` takes. */
221
+ type CircularProgressThemeConfig = ComponentConfig<CircularProgressOwnerState, CircularProgressSlot>;
222
+ /** The defaults a theme may set for every `Collapse`. */
223
+ interface CollapseOwnerState {
224
+ orientation?: 'vertical' | 'horizontal';
225
+ collapsedSize?: string | number;
226
+ timeout?: number | {
227
+ enter: number;
228
+ exit: number;
229
+ };
230
+ easing?: keyof ThemeTransitionEasing;
231
+ shouldAppear?: boolean;
232
+ }
233
+ /** The slots of Collapse a theme can style with `styleOverrides`. */
234
+ type CollapseSlot = 'root' | 'wrapper' | 'inner';
235
+ /** What `theme.components.Collapse` takes. */
236
+ type CollapseThemeConfig = ComponentConfig<CollapseOwnerState, CollapseSlot>;
237
+ /** The resolved props Paper's styled elements receive - what `ownerState` exposes. */
238
+ type PaperOwnerState = Record<string, unknown>;
239
+ /** The slots of Paper a theme can style with `styleOverrides`. */
240
+ type PaperSlot = 'root';
241
+ /** What `theme.components.Paper` takes. */
242
+ type PaperThemeConfig = ComponentConfig<PaperOwnerState, PaperSlot>;
243
+ /**
244
+ * Once themes are registered, `T` may have no key the registered themes lack, at any depth: each
245
+ * extra key is typed `never`, so the error names it. `components` is the one shared value, which
246
+ * `defineThemes` already checked.
247
+ */
248
+ type Exact<T, Shape> = keyof Register extends never ? unknown : Same<T, Shape>;
249
+ type Same<T, Shape> = T extends readonly unknown[] | ((...args: never[]) => unknown) | string | number | boolean | null | undefined ? T : { [K in keyof T]: K extends 'components' ? T[K] : K extends keyof Shape ? Same<T[K], NonNullable<Shape[K]>> : never; };
250
+ interface ThemeProviderOwnProps<T> {
251
+ children?: ReactNode;
252
+ /**
253
+ * The active theme. Bring one theme, or as many as you like - switching
254
+ * between them is your state, not the provider's. Defaults to the built-in
255
+ * `baseTheme`.
256
+ */
257
+ theme?: T & Exact<T, AppTheme>;
258
+ /**
259
+ * Optional component default token/variant keys, merged into the theme
260
+ * (e.g. `{ size: 'compact' }` makes every sized component default to your key).
261
+ * Two objects with the same contents give the same theme, so an inline literal is fine.
262
+ */
263
+ defaults?: ThemeDefaults;
264
+ }
265
+ /** The props once the app registers its themes: it has no built-in theme to fall back to, so `theme` is required. */
266
+ interface RegisteredThemeProviderProps<T> {
267
+ children?: ReactNode;
268
+ /** The active theme: one of the registered themes. Switching between them is your state, not the provider's. */
269
+ theme: T & Exact<T, AppTheme>;
270
+ /**
271
+ * Optional component default token/variant keys, merged into the theme
272
+ * (e.g. `{ size: 'compact' }` makes every sized component default to your key).
273
+ * Two objects with the same contents give the same theme, so an inline literal is fine.
274
+ */
275
+ defaults?: ThemeDefaults;
276
+ }
277
+ type ThemeProviderProps<T = Theme> = Register extends {
278
+ themes: unknown;
279
+ } ? RegisteredThemeProviderProps<T> : ThemeProviderOwnProps<T>;
280
+ declare function ThemeProvider$1<T extends Theme = Theme>(props: Readonly<ThemeProviderProps<T>>): ReactElement;
281
+ type GildFallback = GildCore.Register extends {
282
+ themes: unknown;
283
+ } ? Record<never, never> : GildTheme;
284
+ declare module '@umber-style/react' {
285
+ interface Register extends GildCore.Register {}
286
+ interface Theme extends GildFallback {}
287
+ }
288
+ type GildStyleThemes = GildCore.Register extends {
289
+ themes: infer Themes;
290
+ } ? {
291
+ themes: Themes;
292
+ } : Record<never, never>;
293
+ interface GildStyleRegister extends GildStyleThemes {
294
+ defaultValues: {
295
+ space: 'strict';
296
+ sizes: 'wide';
297
+ colors: 'strict';
298
+ fontSizes: 'strict';
299
+ fontWeights: 'strict';
300
+ lineHeights: 'strict';
301
+ letterSpacings: 'strict';
302
+ fonts: 'strict';
303
+ borders: 'strict';
304
+ borderStyles: 'strict';
305
+ borderWidths: 'strict';
306
+ radii: 'strict';
307
+ shadows: 'strict';
308
+ zIndices: 'strict';
309
+ };
310
+ }
311
+ declare module '@soroush.tech/styled-system' {
312
+ interface Register extends GildStyleRegister {}
313
+ }
314
+ type DefaultPropsOf<N extends keyof ThemeComponents> = Partial<NonNullable<NonNullable<ThemeComponents[N]>['$owner']>>;
315
+ /**
316
+ * The theme-contributed default prop values for a component
317
+ * (`theme.components[name].defaultProps`), or an empty object.
318
+ *
319
+ * Components apply it as one step of the default-resolution chain:
320
+ * explicit prop → group context → `useDefaultProps` → `theme.defaults.*` → literal fallback.
321
+ */
322
+ declare function useDefaultProps<N extends keyof ThemeComponents>(name: N): DefaultPropsOf<N>;
323
+ /**
324
+ * Design-system additions to the engine's styled options. A styled root that passes
325
+ * `name` becomes theme-customizable: `theme.components[name]` may contribute
326
+ * `styleOverrides` (per `slot`) and `variants`, appended after the component's
327
+ * own styles so the theme wins the cascade. Roots without `name` are plain
328
+ * `styled` - zero behavior change, zero cost.
329
+ */
330
+ interface ThemeCustomizationOptions {
331
+ /** `theme.components` key enabling styleOverrides/variants for this root. */
332
+ name?: string;
333
+ /** The `styleOverrides` slot this root maps to. Default: `'root'`. */
334
+ slot?: string;
335
+ /**
336
+ * Styled-system prop parsers (`space`, `layout`, ...) appended AFTER the theme
337
+ * override resolver, so per-instance props (`m`, `p`, `width`, ...) always beat
338
+ * theme `styleOverrides`.
339
+ */
340
+ systemProps?: ReadonlyArray<Interpolation<never>>;
341
+ /**
342
+ * Custom mapping from render props to applied override styles - replaces the
343
+ * default `styleOverrides[slot]` lookup (for prop-keyed override keys).
344
+ */
345
+ overridesResolver?: (props: Record<string, unknown>, styleOverrides: Record<string, unknown>) => unknown;
346
+ }
347
+ /**
348
+ * The `styled.div`, `styled.span`, ... tag shorthands - mirrors the engine's own
349
+ * `StyledTags`, with the `theme` and `as` props a styled component takes.
350
+ */
351
+ type StyledTags = { [Tag in keyof JSX.IntrinsicElements]: CreateStyledComponent<{
352
+ theme?: AppTheme;
353
+ as?: React.ElementType;
354
+ }, JSX.IntrinsicElements[Tag]>; };
355
+ /** Overloads mirroring the engine's, with the theme-customization options added. */
356
+ interface CreateThemedStyled extends StyledTags {
357
+ <C extends ComponentClass<ComponentProps<C>>, ForwardedProps extends keyof ComponentProps<C> & string = keyof ComponentProps<C> & string>(component: C, options: FilteringStyledOptions<ComponentProps<C>, ForwardedProps> & ThemeCustomizationOptions): CreateStyledComponent<Pick<PropsOf<C>, ForwardedProps> & {
358
+ theme?: AppTheme;
359
+ }, {}, {
360
+ ref?: Ref<InstanceType<C>>;
361
+ }>;
362
+ <C extends ComponentType<ComponentProps<C>>, ForwardedProps extends keyof ComponentProps<C> & string = keyof ComponentProps<C> & string>(component: C, options: FilteringStyledOptions<ComponentProps<C>, ForwardedProps> & ThemeCustomizationOptions): CreateStyledComponent<Pick<PropsOf<C>, ForwardedProps> & {
363
+ theme?: AppTheme;
364
+ }>;
365
+ <C extends ComponentType<ComponentProps<C>>>(component: C, options?: StyledOptions<ComponentProps<C>> & ThemeCustomizationOptions): CreateStyledComponent<PropsOf<C> & {
366
+ theme?: AppTheme;
367
+ }>;
368
+ <Tag extends keyof JSX.IntrinsicElements, ForwardedProps extends keyof JSX.IntrinsicElements[Tag] & string = keyof JSX.IntrinsicElements[Tag] & string>(tag: Tag, options: FilteringStyledOptions<JSX.IntrinsicElements[Tag], ForwardedProps> & ThemeCustomizationOptions): CreateStyledComponent<{
369
+ theme?: AppTheme;
370
+ as?: React.ElementType;
371
+ }, Pick<JSX.IntrinsicElements[Tag], ForwardedProps>>;
372
+ <Tag extends keyof JSX.IntrinsicElements>(tag: Tag, options?: StyledOptions<JSX.IntrinsicElements[Tag]> & ThemeCustomizationOptions): CreateStyledComponent<{
373
+ theme?: AppTheme;
374
+ as?: React.ElementType;
375
+ }, JSX.IntrinsicElements[Tag]>;
376
+ }
377
+ /**
378
+ * The design system's `styled` - the engine's styled plus theme-level component
379
+ * customization (`theme.components[name].styleOverrides` / `.variants`).
380
+ */
381
+ declare const styled: CreateThemedStyled;
382
+ /** Valid values for the color prop - derived from theme.text keys. */
383
+ type ViewColorToken = keyof Theme['text'];
384
+ /** Valid values for the bg prop - derived from theme.background keys. */
385
+ type ViewBackgroundToken = keyof Theme['background'];
386
+ /** Valid values for the borderColor prop - derived from theme.border keys. */
387
+ type ViewBorderColorToken = keyof Theme['border'];
388
+ /** Valid values for the borderWidth prop - derived from theme.borderWidths keys. */
389
+ type ViewBorderWidthToken = keyof Theme['borderWidths'];
390
+ /** Valid theme tokens for border-radius. Raw CSS pixel values (e.g. '6px', '9999px') are also accepted. */
391
+ type OrPixels<Token extends PropertyKey> = Token | `${number}px`;
392
+ type ViewBorderRadiusToken = OrPixels<keyof Theme['radii']>;
393
+ interface ViewProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'style'>, SpaceProps, LayoutProps, TypographyProps, Omit<BorderProps, 'borderColor' | 'borderWidth' | 'borderRadius'>, PositionProps, SpanProps, LayoutFrameProps {
394
+ /** Overrides the CSS of the element: an entry of `StyleSheet.create`, or a list of them. */
395
+ style?: StyleOverride;
396
+ /** Overrides for the slot a theme can style: `style`, `className`, `data-*` and `aria-*`. */
397
+ slotProps?: SlotProps<'root'>;
398
+ bg?: ViewBackgroundToken;
399
+ /** Resolves against theme.border - light · primary · dark */
400
+ borderColor?: ViewBorderColorToken;
401
+ /** Resolves against theme.borderWidths - none · thin · base · thick */
402
+ borderWidth?: ViewBorderWidthToken;
403
+ /** Theme tokens: sq · sm · md · lg. Also accepts raw CSS pixel values e.g. '6px', '9999px'. */
404
+ borderRadius?: ViewBorderRadiusToken;
405
+ opacity?: number;
406
+ cursor?: CSSProperties['cursor'];
407
+ /** CSS order for flex/grid item placement. Accepts responsive arrays. */
408
+ order?: FlexboxProps['order'];
409
+ }
410
+ declare const View: StrictStyled<import("@umber-style/react").StyledComponent<import("react").ElementType, ViewProps, {
411
+ theme?: AppTheme;
412
+ as?: React.ElementType;
413
+ } & import("react").ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & object>>;
414
+ /** The resolved props View's styled elements receive - what `ownerState` exposes. */
415
+ type ViewOwnerState = Record<string, unknown>;
416
+ /** The slots of View a theme can style with `styleOverrides`. */
417
+ type ViewSlot = 'root';
418
+ /** What `theme.components.View` takes. */
419
+ type ViewThemeConfig = ComponentConfig<ViewOwnerState, ViewSlot>;
420
+ /** Valid values for the gap prop - derived from theme.space keys. */
421
+ type GapToken = keyof Theme['space'];
422
+ /**
423
+ * `layout` puts the flex container on the page frame, as on any View: the theme's margin and
424
+ * max width per breakpoint. The flexbox stays as set - a column by default, a row with
425
+ * `flexDirection="row"`. Columns are Grid's: content on the page columns uses `<Grid layout>`.
426
+ */
427
+ interface FlexProps extends ViewProps, FlexboxProps {}
428
+ declare const Flex: StrictStyled<import("@umber-style/react").StyledComponent<import("react").ElementType, FlexProps, Omit<Omit<{
429
+ theme?: AppTheme;
430
+ as?: React.ElementType;
431
+ } & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & object, "as" | keyof ViewProps> & Omit<ViewProps, "style"> & {
432
+ as?: "a" | "abbr" | "address" | "animate" | "animateMotion" | "animateTransform" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "circle" | "cite" | "clipPath" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "defs" | "del" | "desc" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "ellipse" | "em" | "embed" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "fieldset" | "figcaption" | "figure" | "filter" | "footer" | "foreignObject" | "form" | "g" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "image" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "line" | "linearGradient" | "link" | "main" | "map" | "mark" | "marker" | "mask" | "menu" | "menuitem" | "meta" | "metadata" | "meter" | "mpath" | "nav" | "noindex" | "noscript" | "object" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "path" | "pattern" | "picture" | "polygon" | "polyline" | "pre" | "progress" | "q" | "radialGradient" | "rect" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "search" | "section" | "select" | "set" | "slot" | "small" | "source" | "span" | "stop" | "strong" | "style" | "sub" | "summary" | "sup" | "svg" | "switch" | "symbol" | "table" | "tbody" | "td" | "template" | "text" | "textPath" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "tspan" | "u" | "ul" | "use" | "var" | "video" | "view" | "wbr" | "webview" | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
433
+ style?: import("@umber-style/react").StyleProp;
434
+ }, "slotProps" | "style"> & {
435
+ style?: StyleOverride;
436
+ slotProps?: SlotProps<'root'>;
437
+ } & {
438
+ theme?: AppTheme;
439
+ } & object>>;
440
+ /** The resolved props Flex's styled elements receive - what `ownerState` exposes. */
441
+ type FlexOwnerState = Record<string, unknown>;
442
+ /** The slots of Flex a theme can style with `styleOverrides`. */
443
+ type FlexSlot = 'root';
444
+ /** What `theme.components.Flex` takes. */
445
+ type FlexThemeConfig = ComponentConfig<FlexOwnerState, FlexSlot>;
446
+ type PaperElevation = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
447
+ interface PaperProps extends FlexProps {
448
+ /** Shadow depth - 0 (flat) to 24 (highest). Resolves to theme.shadows[n]. Default: 1. */
449
+ elevation?: PaperElevation;
450
+ /** CSS transition for surface animations (e.g. hover elevation change). */
451
+ transition?: CSSProperties['transition'];
452
+ /** Resolves against theme.border - light · primary · dark */
453
+ borderColor?: keyof Theme['border'];
454
+ /** Resolves against theme.borderWidths - none · thin · base · thick */
455
+ borderWidth?: keyof Theme['borderWidths'];
456
+ /** CSS border-style value (e.g. 'solid', 'dashed'). */
457
+ borderStyle?: CSSProperties['borderStyle'];
458
+ /** Renders the surface as a different element (e.g. 'section'). */
459
+ as?: ElementType;
460
+ /** Overrides for the slots a theme can style: `style`, `className`, `data-*` and `aria-*`. */
461
+ slotProps?: SlotProps<PaperSlot>;
462
+ }
463
+ declare function Paper({ elevation, p, bg, borderRadius, style, className, slotProps, ...rest }: Readonly<PaperProps>): import("react").JSX.Element;
464
+ /** The defaults a theme may set for every `Menu`. */
465
+ interface MenuOwnerState {
466
+ align?: 'start' | 'end';
467
+ borderRadius?: keyof ThemeRadii;
468
+ marginThreshold?: ThemeSpaceKey;
469
+ elevation?: PaperElevation;
470
+ layer?: keyof ThemeZOrder;
471
+ color?: ThemeColor;
472
+ textColor?: keyof ThemeText;
473
+ size?: ThemeSize;
474
+ dense?: boolean;
475
+ }
476
+ /** The slots of Menu a theme can style with `styleOverrides`. */
477
+ type MenuSlot = 'root' | 'paper' | 'list';
478
+ /** What `theme.components.Menu` takes. */
479
+ type MenuThemeConfig = ComponentConfig<MenuOwnerState, MenuSlot>;
480
+ /** The defaults a theme may set for every `ContextMenu` - a `Menu`'s, placed at the pointer. */
481
+ type ContextMenuOwnerState = Omit<MenuOwnerState, 'align'>;
482
+ /** The slots of ContextMenu a theme can style with `styleOverrides`. */
483
+ type ContextMenuSlot = 'root' | 'paper' | 'list';
484
+ /** What `theme.components.ContextMenu` takes. */
485
+ type ContextMenuThemeConfig = ComponentConfig<ContextMenuOwnerState, ContextMenuSlot>;
486
+ /** The resolved props Drawer's styled elements receive - what `ownerState` exposes. */
487
+ type DrawerOwnerState = Record<string, unknown>;
488
+ /** The slots of Drawer a theme can style with `styleOverrides`. */
489
+ type DrawerSlot = 'root';
490
+ /** What `theme.components.Drawer` takes. */
491
+ type DrawerThemeConfig = ComponentConfig<DrawerOwnerState, DrawerSlot>;
492
+ /** The defaults a theme may set for every `Fab`. */
493
+ interface FabOwnerState {
494
+ variant?: 'circular' | 'extended';
495
+ color?: ThemeColor;
496
+ size?: ThemeSize;
497
+ }
498
+ /** The slots of Fab a theme can style with `styleOverrides`. */
499
+ type FabSlot = 'root' | 'label' | 'labelText';
500
+ /** What `theme.components.Fab` takes. */
501
+ type FabThemeConfig = ComponentConfig<FabOwnerState, FabSlot>;
502
+ /** The defaults a theme may set for every `FabMenu`. */
503
+ interface FabMenuOwnerState {
504
+ direction?: 'up' | 'down' | 'left' | 'right';
505
+ align?: 'start' | 'end';
506
+ color?: ThemeColor;
507
+ size?: ThemeSize;
508
+ }
509
+ /** The slots of FabMenu a theme can style with `styleOverrides`. */
510
+ type FabMenuSlot = 'root' | 'list';
511
+ /** What `theme.components.FabMenu` takes. */
512
+ type FabMenuThemeConfig = ComponentConfig<FabMenuOwnerState, FabMenuSlot>;
513
+ /** The resolved props FocusTrap's styled elements receive - what `ownerState` exposes. */
514
+ type FocusTrapOwnerState = Record<string, unknown>;
515
+ /** The slots of FocusTrap a theme can style with `styleOverrides`. */
516
+ type FocusTrapSlot = 'root';
517
+ /** What `theme.components.FocusTrap` takes. */
518
+ type FocusTrapThemeConfig = ComponentConfig<FocusTrapOwnerState, FocusTrapSlot>;
519
+ /** The resolved props Form's styled elements receive - what `ownerState` exposes. */
520
+ type FormOwnerState = Record<string, unknown>;
521
+ /** The slots of Form a theme can style with `styleOverrides`. */
522
+ type FormSlot = 'root';
523
+ /** What `theme.components.Form` takes. */
524
+ type FormThemeConfig = ComponentConfig<FormOwnerState, FormSlot>;
525
+ /** The resolved props FormControl's styled elements receive - what `ownerState` exposes. */
526
+ type FormControlOwnerState = Record<string, unknown>;
527
+ /** The slots of FormControl a theme can style with `styleOverrides`. */
528
+ type FormControlSlot = 'root';
529
+ /** What `theme.components.FormControl` takes. */
530
+ type FormControlThemeConfig = ComponentConfig<FormControlOwnerState, FormControlSlot>;
531
+ /** The resolved props FormHelperText's styled elements receive - what `ownerState` exposes. */
532
+ type FormHelperTextOwnerState = Record<string, unknown>;
533
+ /** The slots of FormHelperText a theme can style with `styleOverrides`. */
534
+ type FormHelperTextSlot = 'root';
535
+ /** What `theme.components.FormHelperText` takes. */
536
+ type FormHelperTextThemeConfig = ComponentConfig<FormHelperTextOwnerState, FormHelperTextSlot>;
537
+ /** The resolved props FormLabel's styled elements receive - what `ownerState` exposes. */
538
+ type FormLabelOwnerState = Record<string, unknown>;
539
+ /** The slots of FormLabel a theme can style with `styleOverrides`. */
540
+ type FormLabelSlot = 'root';
541
+ /** What `theme.components.FormLabel` takes. */
542
+ type FormLabelThemeConfig = ComponentConfig<FormLabelOwnerState, FormLabelSlot>;
543
+ /** The resolved props Grid's styled elements receive - what `ownerState` exposes. */
544
+ type GridOwnerState = Record<string, unknown>;
545
+ /** The slots of Grid a theme can style with `styleOverrides`. */
546
+ type GridSlot = 'root';
547
+ /** What `theme.components.Grid` takes. */
548
+ type GridThemeConfig = ComponentConfig<GridOwnerState, GridSlot>;
549
+ /** The resolved props Icon's styled elements receive - what `ownerState` exposes. */
550
+ type IconOwnerState = Record<string, unknown>;
551
+ /** The slots of Icon a theme can style with `styleOverrides`. */
552
+ type IconSlot = 'root';
553
+ /** What `theme.components.Icon` takes. */
554
+ type IconThemeConfig = ComponentConfig<IconOwnerState, IconSlot>;
555
+ /** The resolved props Image's styled elements receive - what `ownerState` exposes. */
556
+ type ImageOwnerState = Record<string, unknown>;
557
+ /** The slots of Image a theme can style with `styleOverrides`. */
558
+ type ImageSlot = 'root';
559
+ /** What `theme.components.Image` takes. */
560
+ type ImageThemeConfig = ComponentConfig<ImageOwnerState, ImageSlot>;
561
+ /** The resolved props LinearProgress's styled elements receive - what `ownerState` exposes. */
562
+ type LinearProgressOwnerState = Record<string, unknown>;
563
+ /** The slots of LinearProgress a theme can style with `styleOverrides`. */
564
+ type LinearProgressSlot = 'root' | 'track' | 'dash' | 'bar' | 'traveler' | 'segment' | 'secondaryBar';
565
+ /** What `theme.components.LinearProgress` takes. */
566
+ type LinearProgressThemeConfig = ComponentConfig<LinearProgressOwnerState, LinearProgressSlot>;
567
+ /** The resolved props Link's styled elements receive - what `ownerState` exposes. */
568
+ type LinkOwnerState = Record<string, unknown>;
569
+ /** The slots of Link a theme can style with `styleOverrides`. */
570
+ type LinkSlot = 'root';
571
+ /** What `theme.components.Link` takes. */
572
+ type LinkThemeConfig = ComponentConfig<LinkOwnerState, LinkSlot>;
573
+ /** The resolved props MenuDivider's styled elements receive - what `ownerState` exposes. */
574
+ type MenuDividerOwnerState = Record<string, unknown>;
575
+ /** The slots of MenuDivider a theme can style with `styleOverrides`. */
576
+ type MenuDividerSlot = 'root';
577
+ /** What `theme.components.MenuDivider` takes. */
578
+ type MenuDividerThemeConfig = ComponentConfig<MenuDividerOwnerState, MenuDividerSlot>;
579
+ /** The defaults a theme may set for every `MenuItem` - a list's own values win. */
580
+ interface MenuItemOwnerState {
581
+ color?: ThemeColor;
582
+ textColor?: keyof ThemeText;
583
+ size?: ThemeSize;
584
+ dense?: boolean;
585
+ }
586
+ /** The slots of MenuItem a theme can style with `styleOverrides`. */
587
+ type MenuItemSlot = 'root' | 'check' | 'startIcon' | 'label' | 'shortcut' | 'submenuIcon' | 'entry' | 'secondaryAction';
588
+ /** What `theme.components.MenuItem` takes. */
589
+ type MenuItemThemeConfig = ComponentConfig<MenuItemOwnerState, MenuItemSlot>;
590
+ /** The defaults a theme may set for every `MenuList` - and so for its rows. */
591
+ interface MenuListOwnerState {
592
+ color?: ThemeColor;
593
+ textColor?: keyof ThemeText;
594
+ size?: ThemeSize;
595
+ dense?: boolean;
596
+ shouldWrap?: boolean;
597
+ }
598
+ /** The slots of MenuList a theme can style with `styleOverrides`. */
599
+ type MenuListSlot = 'root';
600
+ /** What `theme.components.MenuList` takes. */
601
+ type MenuListThemeConfig = ComponentConfig<MenuListOwnerState, MenuListSlot>;
602
+ /** The resolved props Modal's styled elements receive - what `ownerState` exposes. */
603
+ type ModalOwnerState = Record<string, unknown>;
604
+ /** The slots of Modal a theme can style with `styleOverrides`. */
605
+ type ModalSlot = 'root';
606
+ /** What `theme.components.Modal` takes. */
607
+ type ModalThemeConfig = ComponentConfig<ModalOwnerState, ModalSlot>;
608
+ /** The resolved props NativeSelect's styled elements receive - what `ownerState` exposes. */
609
+ type NativeSelectOwnerState = Record<string, unknown>;
610
+ /** The slots of NativeSelect a theme can style with `styleOverrides`. */
611
+ type NativeSelectSlot = 'root' | 'select' | 'icon';
612
+ /** What `theme.components.NativeSelect` takes. */
613
+ type NativeSelectThemeConfig = ComponentConfig<NativeSelectOwnerState, NativeSelectSlot>;
614
+ /** The resolved props NavGroup's styled elements receive - what `ownerState` exposes. */
615
+ type NavGroupOwnerState = Record<string, unknown>;
616
+ /** The slots of NavGroup a theme can style with `styleOverrides`. */
617
+ type NavGroupSlot = 'root' | 'label' | 'list';
618
+ /** What `theme.components.NavGroup` takes. */
619
+ type NavGroupThemeConfig = ComponentConfig<NavGroupOwnerState, NavGroupSlot>;
620
+ /** The resolved props NavLink's styled elements receive - what `ownerState` exposes. */
621
+ type NavLinkOwnerState = Record<string, unknown>;
622
+ /** The slots of NavLink a theme can style with `styleOverrides`. */
623
+ type NavLinkSlot = 'root' | 'label' | 'note';
624
+ /** What `theme.components.NavLink` takes. */
625
+ type NavLinkThemeConfig = ComponentConfig<NavLinkOwnerState, NavLinkSlot>;
626
+ /** The resolved props NavTree's styled elements receive - what `ownerState` exposes. */
627
+ type NavTreeOwnerState = Record<string, unknown>;
628
+ /** The slots of NavTree a theme can style with `styleOverrides`. */
629
+ type NavTreeSlot = 'root';
630
+ /** What `theme.components.NavTree` takes. */
631
+ type NavTreeThemeConfig = ComponentConfig<NavTreeOwnerState, NavTreeSlot>;
632
+ /** The defaults a theme may set for every `NumberInput` - its button labels give it a language. */
633
+ interface NumberInputOwnerState {
634
+ variant?: InputVariantKey;
635
+ size?: ThemeSize;
636
+ color?: ThemeColor;
637
+ spinButtons?: 'stacked' | 'sides' | 'none';
638
+ step?: number;
639
+ smallStep?: number;
640
+ largeStep?: number;
641
+ shouldSnapOnStep?: boolean;
642
+ shouldScrubOnWheel?: boolean;
643
+ incrementLabel?: string;
644
+ decrementLabel?: string;
645
+ }
646
+ /** The slots of NumberInput a theme can style with `styleOverrides`. */
647
+ type NumberInputSlot = 'root' | 'input' | 'content' | 'spinButtons' | 'increment' | 'decrement';
648
+ /** What `theme.components.NumberInput` takes. */
649
+ type NumberInputThemeConfig = ComponentConfig<NumberInputOwnerState, NumberInputSlot>;
650
+ /** The resolved props Pagination's styled elements receive - what `ownerState` exposes. */
651
+ type PaginationOwnerState = Record<string, unknown>;
652
+ /** The slots of Pagination a theme can style with `styleOverrides`. */
653
+ type PaginationSlot = 'root' | 'list';
654
+ /** What `theme.components.Pagination` takes. */
655
+ type PaginationThemeConfig = ComponentConfig<PaginationOwnerState, PaginationSlot>;
656
+ /** The resolved props PaginationItem's styled elements receive - what `ownerState` exposes. */
657
+ type PaginationItemOwnerState = Record<string, unknown>;
658
+ /** The slots of PaginationItem a theme can style with `styleOverrides`. */
659
+ type PaginationItemSlot = 'root' | 'ellipsis';
660
+ /** What `theme.components.PaginationItem` takes. */
661
+ type PaginationItemThemeConfig = ComponentConfig<PaginationItemOwnerState, PaginationItemSlot>;
662
+ /** The resolved props Popover's styled elements receive - what `ownerState` exposes. */
663
+ type PopoverOwnerState = Record<string, unknown>;
664
+ /** The slots of Popover a theme can style with `styleOverrides`. */
665
+ type PopoverSlot = 'root' | 'positioner';
666
+ /** What `theme.components.Popover` takes. */
667
+ type PopoverThemeConfig = ComponentConfig<PopoverOwnerState, PopoverSlot>;
668
+ /**
669
+ * Pressable's resolved props / theme-settable defaults. Only the three keys it
670
+ * actually resolves through `useDefaultProps` - the disabled state reaches the
671
+ * styled root as `isDisabled` and is never read from here, so exposing it would
672
+ * promise theme authors an override that does nothing.
673
+ */
674
+ interface PressableOwnerState {
675
+ feedback?: 'none' | 'opacity' | 'highlight';
676
+ color?: ThemeColor;
677
+ /** Opacity held content fades to under `feedback: 'opacity'`. */
678
+ activeOpacity?: number;
679
+ }
680
+ /** The slots of Pressable a theme can style with `styleOverrides`. */
681
+ type PressableSlot = 'root';
682
+ /** What `theme.components.Pressable` takes. */
683
+ type PressableThemeConfig = ComponentConfig<PressableOwnerState, PressableSlot>;
684
+ /** The resolved props Quote's styled elements receive - what `ownerState` exposes. */
685
+ type QuoteOwnerState = Record<string, unknown>;
686
+ /** The slots of Quote a theme can style with `styleOverrides`. */
687
+ type QuoteSlot = 'root';
688
+ /** What `theme.components.Quote` takes. */
689
+ type QuoteThemeConfig = ComponentConfig<QuoteOwnerState, QuoteSlot>;
690
+ /** The resolved props Radio's styled elements receive - what `ownerState` exposes. */
691
+ type RadioOwnerState = Record<string, unknown>;
692
+ /** The slots of Radio a theme can style with `styleOverrides`. */
693
+ type RadioSlot = 'root' | 'input' | 'icon' | 'label';
694
+ /** What `theme.components.Radio` takes. */
695
+ type RadioThemeConfig = ComponentConfig<RadioOwnerState, RadioSlot>;
696
+ /** The defaults a theme may set for every `RangeInput`. */
697
+ interface RangeInputOwnerState {
698
+ size?: ThemeSize;
699
+ color?: ThemeColor;
700
+ orientation?: 'horizontal' | 'vertical';
701
+ track?: 'normal' | false | 'inverted';
702
+ step?: number | null;
703
+ shiftStep?: number;
704
+ valueLabel?: 'auto' | 'on' | 'off';
705
+ shouldSwapThumbs?: boolean;
706
+ }
707
+ /** The slots of RangeInput a theme can style with `styleOverrides`. */
708
+ type RangeInputSlot = 'root' | 'rail' | 'track' | 'thumb' | 'mark' | 'markLabel' | 'valueLabel' | 'input';
709
+ /** What `theme.components.RangeInput` takes. */
710
+ type RangeInputThemeConfig = ComponentConfig<RangeInputOwnerState, RangeInputSlot>;
711
+ /** The defaults a theme may set for every `Rating`. */
712
+ interface RatingOwnerState {
713
+ max?: number;
714
+ precision?: number;
715
+ highlightSelectedOnly?: boolean;
716
+ size?: ThemeSize;
717
+ color?: ThemeColor;
718
+ }
719
+ /** The slots of Rating a theme can style with `styleOverrides`. */
720
+ type RatingSlot = 'root' | 'item' | 'icon' | 'decimal' | 'input' | 'text' | 'emptyLabel';
721
+ /** What `theme.components.Rating` takes. */
722
+ type RatingThemeConfig = ComponentConfig<RatingOwnerState, RatingSlot>;
723
+ /** The defaults a theme may set for every `ScrollArea`. */
724
+ interface ScrollAreaOwnerState {
725
+ axes?: 'x' | 'y' | 'both';
726
+ }
727
+ /** The slots of ScrollArea a theme can style with `styleOverrides`. */
728
+ type ScrollAreaSlot = 'root' | 'viewport' | 'track' | 'thumb';
729
+ /** What `theme.components.ScrollArea` takes. */
730
+ type ScrollAreaThemeConfig = ComponentConfig<ScrollAreaOwnerState, ScrollAreaSlot>;
731
+ /** The resolved props Select's styled elements receive - what `ownerState` exposes. */
732
+ type SelectOwnerState = Record<string, unknown>;
733
+ /** The slots of Select a theme can style with `styleOverrides`. */
734
+ type SelectSlot = 'root' | 'value' | 'valueArea' | 'valueGhost' | 'listbox';
735
+ /** What `theme.components.Select` takes. */
736
+ type SelectThemeConfig = ComponentConfig<SelectOwnerState, SelectSlot>;
737
+ /** The resolved props Sidebar's styled elements receive - what `ownerState` exposes. */
738
+ type SidebarOwnerState = Record<string, unknown>;
739
+ /** The slots of Sidebar a theme can style with `styleOverrides`. */
740
+ type SidebarSlot = 'root' | 'rail' | 'panel';
741
+ /** What `theme.components.Sidebar` takes. */
742
+ type SidebarThemeConfig = ComponentConfig<SidebarOwnerState, SidebarSlot>;
743
+ /** The resolved props SidebarItem's styled elements receive - what `ownerState` exposes. */
744
+ type SidebarItemOwnerState = Record<string, unknown>;
745
+ /** The slots of SidebarItem a theme can style with `styleOverrides`. */
746
+ type SidebarItemSlot = 'root' | 'pill';
747
+ /** What `theme.components.SidebarItem` takes. */
748
+ type SidebarItemThemeConfig = ComponentConfig<SidebarItemOwnerState, SidebarItemSlot>;
749
+ /** The resolved props Skeleton's styled elements receive - what `ownerState` exposes. */
750
+ type SkeletonOwnerState = Record<string, unknown>;
751
+ /** The slots of Skeleton a theme can style with `styleOverrides`. */
752
+ type SkeletonSlot = 'root' | 'content';
753
+ /** What `theme.components.Skeleton` takes. */
754
+ type SkeletonThemeConfig = ComponentConfig<SkeletonOwnerState, SkeletonSlot>;
755
+ /** The corner shapes of a control or a surface. */
756
+ type ShapeKey = 'square' | 'rounded' | 'pill';
757
+ /** The defaults a theme may set for every `Snackbar`. */
758
+ interface SnackbarOwnerState {
759
+ anchorOrigin?: {
760
+ vertical: 'top' | 'bottom';
761
+ horizontal: 'start' | 'center' | 'end';
762
+ };
763
+ autoHideDuration?: number;
764
+ resumeHideDuration?: number;
765
+ layer?: keyof ThemeZOrder;
766
+ shape?: ShapeKey;
767
+ borderRadius?: keyof ThemeRadii;
768
+ bg?: keyof ThemeBackground;
769
+ textColor?: keyof ThemeText;
770
+ }
771
+ /** The slots of Snackbar a theme can style with `styleOverrides`. */
772
+ type SnackbarSlot = 'root' | 'content' | 'message' | 'action';
773
+ /** What `theme.components.Snackbar` takes. */
774
+ type SnackbarThemeConfig = ComponentConfig<SnackbarOwnerState, SnackbarSlot>;
775
+ /** The resolved props Switch's styled elements receive - what `ownerState` exposes. */
776
+ type SwitchOwnerState = Record<string, unknown>;
777
+ /** The slots of Switch a theme can style with `styleOverrides`. */
778
+ type SwitchSlot = 'root' | 'input' | 'track' | 'thumb' | 'label';
779
+ /** What `theme.components.Switch` takes. */
780
+ type SwitchThemeConfig = ComponentConfig<SwitchOwnerState, SwitchSlot>;
781
+ /** The defaults a theme may set for every `Tab`. */
782
+ interface TabOwnerState {
783
+ isWrapped?: boolean;
784
+ bg?: keyof ThemeBackground;
785
+ borderRadius?: keyof ThemeRadii;
786
+ color?: ThemeColor;
787
+ textColor?: keyof ThemeText;
788
+ size?: ThemeSize;
789
+ selectedBg?: keyof ThemeBackground;
790
+ }
791
+ /** The slots of Tab a theme can style with `styleOverrides`. */
792
+ type TabSlot = 'root' | 'label' | 'icon' | 'secondaryAction' | 'close';
793
+ /** What `theme.components.Tab` takes. */
794
+ type TabThemeConfig = ComponentConfig<TabOwnerState, TabSlot>;
795
+ /** The defaults a theme may set for every `TabPanel`. */
796
+ interface TabPanelOwnerState {
797
+ shouldKeepMounted?: boolean;
798
+ }
799
+ /** The slots of TabPanel a theme can style with `styleOverrides`. */
800
+ type TabPanelSlot = 'root';
801
+ /** What `theme.components.TabPanel` takes. */
802
+ type TabPanelThemeConfig = ComponentConfig<TabPanelOwnerState, TabPanelSlot>;
803
+ /** The defaults a theme may set for every `TabScrollButton`. */
804
+ interface TabScrollButtonOwnerState {
805
+ color?: ThemeColor;
806
+ textColor?: keyof ThemeText;
807
+ }
808
+ /** The slots of TabScrollButton a theme can style with `styleOverrides`. */
809
+ type TabScrollButtonSlot = 'root';
810
+ /** What `theme.components.TabScrollButton` takes. */
811
+ type TabScrollButtonThemeConfig = ComponentConfig<TabScrollButtonOwnerState, TabScrollButtonSlot>;
812
+ /** The resolved props Table's styled elements receive - what `ownerState` exposes. */
813
+ type TableOwnerState = Record<string, unknown>;
814
+ /** The slots of Table a theme can style with `styleOverrides`. */
815
+ type TableSlot = 'root';
816
+ /** What `theme.components.Table` takes. */
817
+ type TableThemeConfig = ComponentConfig<TableOwnerState, TableSlot>;
818
+ /** The resolved props TableBody's styled elements receive - what `ownerState` exposes. */
819
+ type TableBodyOwnerState = Record<string, unknown>;
820
+ /** The slots of TableBody a theme can style with `styleOverrides`. */
821
+ type TableBodySlot = 'root';
822
+ /** What `theme.components.TableBody` takes. */
823
+ type TableBodyThemeConfig = ComponentConfig<TableBodyOwnerState, TableBodySlot>;
824
+ /** The resolved props TableCell's styled elements receive - what `ownerState` exposes. */
825
+ type TableCellOwnerState = Record<string, unknown>;
826
+ /** The slots of TableCell a theme can style with `styleOverrides`. */
827
+ type TableCellSlot = 'root';
828
+ /** What `theme.components.TableCell` takes. */
829
+ type TableCellThemeConfig = ComponentConfig<TableCellOwnerState, TableCellSlot>;
830
+ /** The resolved props TableContainer's styled elements receive - what `ownerState` exposes. */
831
+ type TableContainerOwnerState = Record<string, unknown>;
832
+ /** The slots of TableContainer a theme can style with `styleOverrides`. */
833
+ type TableContainerSlot = 'root';
834
+ /** What `theme.components.TableContainer` takes. */
835
+ type TableContainerThemeConfig = ComponentConfig<TableContainerOwnerState, TableContainerSlot>;
836
+ /** The resolved props TableFooter's styled elements receive - what `ownerState` exposes. */
837
+ type TableFooterOwnerState = Record<string, unknown>;
838
+ /** The slots of TableFooter a theme can style with `styleOverrides`. */
839
+ type TableFooterSlot = 'root';
840
+ /** What `theme.components.TableFooter` takes. */
841
+ type TableFooterThemeConfig = ComponentConfig<TableFooterOwnerState, TableFooterSlot>;
842
+ /** The resolved props TableHead's styled elements receive - what `ownerState` exposes. */
843
+ type TableHeadOwnerState = Record<string, unknown>;
844
+ /** The slots of TableHead a theme can style with `styleOverrides`. */
845
+ type TableHeadSlot = 'root';
846
+ /** What `theme.components.TableHead` takes. */
847
+ type TableHeadThemeConfig = ComponentConfig<TableHeadOwnerState, TableHeadSlot>;
848
+ /** The resolved props TablePagination's styled elements receive - what `ownerState` exposes. */
849
+ type TablePaginationOwnerState = Record<string, unknown>;
850
+ /** The slots of TablePagination a theme can style with `styleOverrides`. */
851
+ type TablePaginationSlot = 'root';
852
+ /** What `theme.components.TablePagination` takes. */
853
+ type TablePaginationThemeConfig = ComponentConfig<TablePaginationOwnerState, TablePaginationSlot>;
854
+ /** The resolved props TablePaginationActions's styled elements receive - what `ownerState` exposes. */
855
+ type TablePaginationActionsOwnerState = Record<string, unknown>;
856
+ /** The slots of TablePaginationActions a theme can style with `styleOverrides`. */
857
+ type TablePaginationActionsSlot = 'root';
858
+ /** What `theme.components.TablePaginationActions` takes. */
859
+ type TablePaginationActionsThemeConfig = ComponentConfig<TablePaginationActionsOwnerState, TablePaginationActionsSlot>;
860
+ /** The resolved props TableRow's styled elements receive - what `ownerState` exposes. */
861
+ type TableRowOwnerState = Record<string, unknown>;
862
+ /** The slots of TableRow a theme can style with `styleOverrides`. */
863
+ type TableRowSlot = 'root';
864
+ /** What `theme.components.TableRow` takes. */
865
+ type TableRowThemeConfig = ComponentConfig<TableRowOwnerState, TableRowSlot>;
866
+ /** The resolved props TableSortLabel's styled elements receive - what `ownerState` exposes. */
867
+ type TableSortLabelOwnerState = Record<string, unknown>;
868
+ /** The slots of TableSortLabel a theme can style with `styleOverrides`. */
869
+ type TableSortLabelSlot = 'root' | 'icon';
870
+ /** What `theme.components.TableSortLabel` takes. */
871
+ type TableSortLabelThemeConfig = ComponentConfig<TableSortLabelOwnerState, TableSortLabelSlot>;
872
+ /** The resolved props Tabs' styled elements receive - what `ownerState` exposes. */
873
+ interface TabsOwnerState {
874
+ variant?: TabsVariant;
875
+ color?: ThemeColor;
876
+ size?: ThemeSize;
877
+ orientation?: 'horizontal' | 'vertical';
878
+ fullWidth?: boolean;
879
+ hasDivider?: boolean;
880
+ selectedBg?: keyof ThemeBackground;
881
+ }
882
+ /** Tabs' look values - augment to register new ones (then style them via `variants`). */
883
+ interface TabsVariants {
884
+ underline: true;
885
+ boxed: true;
886
+ enclosed: true;
887
+ tonal: true;
888
+ }
889
+ /** Tabs' looks: the built-in ones, those added through `TabsVariants`, and those a registered theme defines. */
890
+ type TabsVariant = keyof TabsVariants | VariantOf<'Tabs'>;
891
+ /** The slots of Tabs a theme can style with `styleOverrides`. */
892
+ type TabsSlot = 'root' | 'list' | 'indicator' | 'startContent' | 'endContent' | 'scrollButton' | 'overflowButton' | 'overflowClose';
893
+ /** What `theme.components.Tabs` takes. */
894
+ type TabsThemeConfig = ComponentConfig<TabsOwnerState, TabsSlot>;
895
+ /** The resolved props TextInput's styled elements receive - what `ownerState` exposes. */
896
+ type TextInputOwnerState = Record<string, unknown>;
897
+ /** The slots of TextInput a theme can style with `styleOverrides`. */
898
+ type TextInputSlot = 'root' | 'input';
899
+ /** What `theme.components.TextInput` takes. */
900
+ type TextInputThemeConfig = ComponentConfig<TextInputOwnerState, TextInputSlot>;
901
+ /** The resolved props ToggleButton's styled elements receive - what `ownerState` exposes. */
902
+ type ToggleButtonOwnerState = Record<string, unknown>;
903
+ /** The slots of ToggleButton a theme can style with `styleOverrides`. */
904
+ type ToggleButtonSlot = 'root';
905
+ /** What `theme.components.ToggleButton` takes. */
906
+ type ToggleButtonThemeConfig = ComponentConfig<ToggleButtonOwnerState, ToggleButtonSlot>;
907
+ /** The resolved props ToggleButtonGroup's styled elements receive - what `ownerState` exposes. */
908
+ type ToggleButtonGroupOwnerState = Record<string, unknown>;
909
+ /** The slots of ToggleButtonGroup a theme can style with `styleOverrides`. */
910
+ type ToggleButtonGroupSlot = 'root';
911
+ /** What `theme.components.ToggleButtonGroup` takes. */
912
+ type ToggleButtonGroupThemeConfig = ComponentConfig<ToggleButtonGroupOwnerState, ToggleButtonGroupSlot>;
913
+ /** The defaults a theme may set for every `Tooltip`. */
914
+ interface TooltipOwnerState {
915
+ borderRadius?: keyof ThemeRadii;
916
+ bg?: keyof ThemeBackground;
917
+ textColor?: keyof ThemeText;
918
+ placement?: 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end' | 'auto' | 'auto-start' | 'auto-end';
919
+ hasArrow?: boolean;
920
+ enterDelay?: number;
921
+ leaveDelay?: number;
922
+ enterTouchDelay?: number;
923
+ leaveTouchDelay?: number;
924
+ shouldDescribeChild?: boolean;
925
+ isDescriptionPersistent?: boolean;
926
+ isInteractive?: boolean;
927
+ shouldWrapDisabledChild?: boolean;
928
+ /**
929
+ * Theme only. With a value above 0, every tooltip under the theme shares one delay window, as in a
930
+ * `TooltipGroup` of that duration: no enter delay while another is open or within this many
931
+ * milliseconds of the last close. A `TooltipGroup` around a tooltip wins.
932
+ */
933
+ skipDelayDuration?: number;
934
+ shouldOpenOnHover?: boolean;
935
+ shouldOpenOnFocus?: boolean;
936
+ shouldOpenOnTouch?: boolean;
937
+ layer?: keyof ThemeZOrder;
938
+ }
939
+ /** The slots of Tooltip a theme can style with `styleOverrides`. */
940
+ type TooltipSlot = 'root' | 'arrow';
941
+ /** What `theme.components.Tooltip` takes. */
942
+ type TooltipThemeConfig = ComponentConfig<TooltipOwnerState, TooltipSlot>;
943
+ /** The defaults a theme may set for every `TransferList` - its button labels give it a language. */
944
+ interface TransferListOwnerState {
945
+ size?: ThemeSize;
946
+ color?: ThemeColor;
947
+ shouldShowMoveAll?: boolean;
948
+ hasSelectAll?: boolean;
949
+ moveAllRightLabel?: string;
950
+ moveRightLabel?: string;
951
+ moveLeftLabel?: string;
952
+ moveAllLeftLabel?: string;
953
+ }
954
+ /** The slots of TransferList a theme can style with `styleOverrides`. */
955
+ type TransferListSlot = 'root' | 'list' | 'header' | 'title' | 'count' | 'items' | 'item' | 'controls' | 'icon';
956
+ /** What `theme.components.TransferList` takes. */
957
+ type TransferListThemeConfig = ComponentConfig<TransferListOwnerState, TransferListSlot>;
958
+ /** The resolved props Typography's styled elements receive - what `ownerState` exposes. */
959
+ type TypographyOwnerState = Record<string, unknown>;
960
+ /** The slots of Typography a theme can style with `styleOverrides`. */
961
+ type TypographySlot = 'root';
962
+ /** What `theme.components.Typography` takes. */
963
+ type TypographyThemeConfig = ComponentConfig<TypographyOwnerState, TypographySlot>;
964
+ /**
965
+ * Per-component theme customization, keyed by component name: each key takes the component's
966
+ * `<Name>ThemeConfig` - its owner state, its slots, its default props and variants. An app checks
967
+ * its looks against it with `satisfies ThemeComponents`.
968
+ */
969
+ interface ThemeComponents {
970
+ Accordion?: AccordionThemeConfig;
971
+ AccordionActions?: AccordionActionsThemeConfig;
972
+ AccordionDetails?: AccordionDetailsThemeConfig;
973
+ AccordionGroup?: AccordionGroupThemeConfig;
974
+ AccordionSummary?: AccordionSummaryThemeConfig;
975
+ Alert?: AlertThemeConfig;
976
+ AlertTitle?: AlertTitleThemeConfig;
977
+ AppBar?: AppBarThemeConfig;
978
+ Autocomplete?: AutocompleteThemeConfig;
979
+ Avatar?: AvatarThemeConfig;
980
+ Backdrop?: BackdropThemeConfig;
981
+ Badge?: BadgeThemeConfig;
982
+ Breadcrumbs?: BreadcrumbsThemeConfig;
983
+ Button?: ButtonThemeConfig;
984
+ ButtonGroup?: ButtonGroupThemeConfig;
985
+ Card?: CardThemeConfig;
986
+ Checkbox?: CheckboxThemeConfig;
987
+ Chip?: ChipThemeConfig;
988
+ CircularProgress?: CircularProgressThemeConfig;
989
+ Collapse?: CollapseThemeConfig;
990
+ ContextMenu?: ContextMenuThemeConfig;
991
+ Drawer?: DrawerThemeConfig;
992
+ Fab?: FabThemeConfig;
993
+ FabMenu?: FabMenuThemeConfig;
994
+ Flex?: FlexThemeConfig;
995
+ FocusTrap?: FocusTrapThemeConfig;
996
+ Form?: FormThemeConfig;
997
+ FormControl?: FormControlThemeConfig;
998
+ FormHelperText?: FormHelperTextThemeConfig;
999
+ FormLabel?: FormLabelThemeConfig;
1000
+ Grid?: GridThemeConfig;
1001
+ Icon?: IconThemeConfig;
1002
+ Image?: ImageThemeConfig;
1003
+ LinearProgress?: LinearProgressThemeConfig;
1004
+ Link?: LinkThemeConfig;
1005
+ Menu?: MenuThemeConfig;
1006
+ MenuDivider?: MenuDividerThemeConfig;
1007
+ MenuItem?: MenuItemThemeConfig;
1008
+ MenuList?: MenuListThemeConfig;
1009
+ Modal?: ModalThemeConfig;
1010
+ NativeSelect?: NativeSelectThemeConfig;
1011
+ NavGroup?: NavGroupThemeConfig;
1012
+ NavLink?: NavLinkThemeConfig;
1013
+ NavTree?: NavTreeThemeConfig;
1014
+ NumberInput?: NumberInputThemeConfig;
1015
+ Pagination?: PaginationThemeConfig;
1016
+ PaginationItem?: PaginationItemThemeConfig;
1017
+ Paper?: PaperThemeConfig;
1018
+ Popover?: PopoverThemeConfig;
1019
+ Pressable?: PressableThemeConfig;
1020
+ Quote?: QuoteThemeConfig;
1021
+ Radio?: RadioThemeConfig;
1022
+ RangeInput?: RangeInputThemeConfig;
1023
+ Rating?: RatingThemeConfig;
1024
+ ScrollArea?: ScrollAreaThemeConfig;
1025
+ Select?: SelectThemeConfig;
1026
+ Sidebar?: SidebarThemeConfig;
1027
+ SidebarItem?: SidebarItemThemeConfig;
1028
+ Skeleton?: SkeletonThemeConfig;
1029
+ Snackbar?: SnackbarThemeConfig;
1030
+ Switch?: SwitchThemeConfig;
1031
+ Tab?: TabThemeConfig;
1032
+ TabPanel?: TabPanelThemeConfig;
1033
+ TabScrollButton?: TabScrollButtonThemeConfig;
1034
+ Table?: TableThemeConfig;
1035
+ TableBody?: TableBodyThemeConfig;
1036
+ TableCell?: TableCellThemeConfig;
1037
+ TableContainer?: TableContainerThemeConfig;
1038
+ TableFooter?: TableFooterThemeConfig;
1039
+ TableHead?: TableHeadThemeConfig;
1040
+ TablePagination?: TablePaginationThemeConfig;
1041
+ TablePaginationActions?: TablePaginationActionsThemeConfig;
1042
+ TableRow?: TableRowThemeConfig;
1043
+ TableSortLabel?: TableSortLabelThemeConfig;
1044
+ Tabs?: TabsThemeConfig;
1045
+ TextInput?: TextInputThemeConfig;
1046
+ ToggleButton?: ToggleButtonThemeConfig;
1047
+ ToggleButtonGroup?: ToggleButtonGroupThemeConfig;
1048
+ Tooltip?: TooltipThemeConfig;
1049
+ TransferList?: TransferListThemeConfig;
1050
+ Typography?: TypographyThemeConfig;
1051
+ View?: ViewThemeConfig;
1052
+ }
1053
+ /** Design-system's own style-object shape - the engine stays an internal implementation detail. */
1054
+ type CSSObject = CSSObject$1;
1055
+ /**
1056
+ * A style contributed from `theme.components` - a plain CSS object, or a
1057
+ * callback receiving the theme and the styled root's resolved props
1058
+ * (`ownerState`) for conditional styling.
1059
+ */
1060
+ type ComponentStyle<OwnerState> = CSSObject | ((args: {
1061
+ theme: Theme;
1062
+ ownerState: OwnerState;
1063
+ }) => CSSObject);
1064
+ /**
1065
+ * The owner-state fields whose types the registered themes widen: the colors, sizes, spacing keys
1066
+ * and looks they add.
1067
+ */
1068
+ type DerivedFields = 'color' | 'size' | 'variant' | 'mb' | 'marginThreshold';
1069
+ type OpenValue = '' | (string & {}) | number | boolean | null | object;
1070
+ /**
1071
+ * The owner state as the theme's own `components` are checked against it. Once themes are
1072
+ * registered, the derived fields are left open: a type that reads the registered themes cannot be
1073
+ * checked while those themes are being written (it would read itself). A misspelt value is checked
1074
+ * where it is used (a component's props), and in development by the validator `ThemeProvider` runs.
1075
+ * Every other field keeps its type.
1076
+ */
1077
+ type OwnerKeys<OwnerState> = keyof Register extends never ? Partial<OwnerState> : { [K in keyof OwnerState]?: K extends DerivedFields ? OpenValue : OwnerState[K]; };
1078
+ /** One theme-contributed variant: applied when every key in `props` matches the render props. */
1079
+ interface ComponentVariant<OwnerState> {
1080
+ props: OwnerKeys<OwnerState>;
1081
+ style: ComponentStyle<OwnerState>;
1082
+ }
1083
+ /** Per-component customization: default prop values, per-slot CSS, extra variants. */
1084
+ interface ComponentConfig<OwnerState = Record<string, unknown>, Slot extends string = 'root'> {
1085
+ /** Default prop values - explicit props and group context always win. */
1086
+ defaultProps?: OwnerKeys<OwnerState>;
1087
+ /** Per-slot CSS merged after the component's own styles (theme wins). */
1088
+ styleOverrides?: Partial<Record<Slot, ComponentStyle<OwnerState>>>;
1089
+ /** Extra variants matched by props. */
1090
+ variants?: ReadonlyArray<ComponentVariant<OwnerState>>;
1091
+ /** Type only, never set: names the owner state, for `useDefaultProps` to type what it hands back. */
1092
+ readonly $owner?: OwnerState;
1093
+ }
1094
+ /** The core's theme, with the typing of `theme.components` that the libraries and the app add. */
1095
+ interface Theme extends Theme$1 {
1096
+ /** Optional per-component customization - see `ThemeComponents`. */
1097
+ components?: OpenScale<ThemeComponents>;
1098
+ }
1099
+ /** This package's `Theme` under a name no other interface of the engine's modules has: the bridge extends the engine's `Theme` from it. */
1100
+ type GildTheme = Theme;
1101
+ /** The theme the app registered (see `Register` in the core), or this package's `Theme` when it registered none. */
1102
+ type AppTheme = RegisteredTheme<Theme>;
1103
+ /** The defaults a theme may set for every `Accordion`. */
1104
+ interface AccordionOwnerState {
1105
+ hasGutters?: boolean;
1106
+ borderRadius?: keyof ThemeRadii;
1107
+ bg?: keyof ThemeBackground;
1108
+ textColor?: keyof ThemeText;
1109
+ }
1110
+ /** The slots of Accordion a theme can style with `styleOverrides`. */
1111
+ type AccordionSlot = 'root' | 'region';
1112
+ /** What `theme.components.Accordion` takes. */
1113
+ type AccordionThemeConfig = ComponentConfig<AccordionOwnerState, AccordionSlot>;
1114
+ export { TableCellSlot as $, AutocompleteThemeConfig as $i, FormHelperTextSlot as $n, css as $r, PopoverSlot as $t, TabsVariant as A, CardSlot as Ai, MenuItemThemeConfig as An, FlexThemeConfig as Ar, SidebarThemeConfig as At, TablePaginationOwnerState as B, BreadcrumbsSlot as Bi, ImageOwnerState as Bn, ViewBorderRadiusToken as Br, RangeInputOwnerState as Bt, ToggleButtonThemeConfig as C, StrictStyled as Ca, ChipOwnerState as Ci, ModalSlot as Cn, MenuSlot as Cr, SkeletonSlot as Ct, TabsOwnerState as D, CheckboxSlot as Di, MenuListThemeConfig as Dn, PaperProps as Dr, SidebarItemThemeConfig as Dt, TextInputThemeConfig as E, CheckboxOwnerState as Ei, MenuListSlot as En, PaperElevation as Er, SidebarItemSlot as Et, TableRowSlot as F, ButtonOwnerState as Fi, LinkSlot as Fn, ViewSlot as Fr, ScrollAreaSlot as Ft, TableHeadThemeConfig as G, BackdropOwnerState as Gi, IconThemeConfig as Gn, useMediaQuery as Gr, RadioThemeConfig as Gt, TablePaginationThemeConfig as H, BadgeOwnerState as Hi, ImageThemeConfig as Hn, ViewColorToken as Hr, RangeInputThemeConfig as Ht, TableRowThemeConfig as I, ButtonSlot as Ii, LinkThemeConfig as In, ViewThemeConfig as Ir, ScrollAreaThemeConfig as It, TableFooterThemeConfig as J, AvatarOwnerState as Ji, GridThemeConfig as Jn, LiveValue as Jr, QuoteThemeConfig as Jt, TableFooterOwnerState as K, BackdropSlot as Ki, GridOwnerState as Kn, useDefaultProps as Kr, QuoteOwnerState as Kt, TablePaginationActionsOwnerState as L, ButtonThemeConfig as Li, LinearProgressOwnerState as Ln, View as Lr, RatingOwnerState as Lt, TableSortLabelSlot as M, ButtonGroupOwnerState as Mi, MenuDividerSlot as Mn, FlexProps as Mr, SelectSlot as Mt, TableSortLabelThemeConfig as N, ButtonGroupSlot as Ni, MenuDividerThemeConfig as Nn, GapToken as Nr, SelectThemeConfig as Nt, TabsSlot as O, CheckboxThemeConfig as Oi, MenuItemOwnerState as On, FlexOwnerState as Or, SidebarOwnerState as Ot, TableRowOwnerState as P, ButtonGroupThemeConfig as Pi, LinkOwnerState as Pn, ViewOwnerState as Pr, ScrollAreaOwnerState as Pt, TableCellOwnerState as Q, AutocompleteSlot as Qi, FormHelperTextOwnerState as Qn, configureEngine as Qr, PopoverOwnerState as Qt, TablePaginationActionsSlot as R, ButtonVariant as Ri, LinearProgressSlot as Rn, ViewBackgroundToken as Rr, RatingSlot as Rt, ToggleButtonSlot as S, SlotProps as Sa, CircularProgressThemeConfig as Si, ModalOwnerState as Sn, MenuOwnerState as Sr, SkeletonOwnerState as St, TextInputSlot as T, ChipThemeConfig as Ti, MenuListOwnerState as Tn, Paper as Tr, SidebarItemOwnerState as Tt, TableHeadOwnerState as U, BadgeSlot as Ui, IconOwnerState as Un, ViewProps as Ur, RadioOwnerState as Ut, TablePaginationSlot as V, BreadcrumbsThemeConfig as Vi, ImageSlot as Vn, ViewBorderWidthToken as Vr, RangeInputSlot as Vt, TableHeadSlot as W, BadgeThemeConfig as Wi, IconSlot as Wn, styled as Wr, RadioSlot as Wt, TableContainerSlot as X, AvatarThemeConfig as Xi, FormLabelSlot as Xn, alpha as Xr, PressableSlot as Xt, TableContainerOwnerState as Y, AvatarSlot as Yi, FormLabelOwnerState as Yn, StyleSheet as Yr, PressableOwnerState as Yt, TableContainerThemeConfig as Z, AutocompleteOwnerState as Zi, FormLabelThemeConfig as Zn, asIs as Zr, PressableThemeConfig as Zt, TooltipThemeConfig as _, AccordionDetailsThemeConfig as _a, CollapseOwnerState as _i, NavGroupSlot as _n, DrawerSlot as _r, SwitchSlot as _t, CSSObject as a, AlertTitleThemeConfig as aa, useStyle as ai, PaginationSlot as an, FormSlot as ar, TableSlot as at, ToggleButtonGroupThemeConfig as b, AccordionActionsThemeConfig as ba, CircularProgressOwnerState as bi, NativeSelectSlot as bn, ContextMenuSlot as br, SnackbarSlot as bt, ThemeComponents as c, AlertThemeConfig as ca, val as ci, NumberInputSlot as cn, FocusTrapSlot as cr, TabScrollButtonSlot as ct, TypographyThemeConfig as d, AccordionSummaryThemeConfig as da, withTheme as di, NavTreeSlot as dn, FabMenuSlot as dr, TabPanelSlot as dt, AppBarOwnerState as ea, defineTheme as ei, PopoverThemeConfig as en, FormHelperTextThemeConfig as er, TableCellThemeConfig as et, TransferListOwnerState as f, AccordionGroupOwnerState as fa, ThemeProvider$1 as fi, NavTreeThemeConfig as fn, FabMenuThemeConfig as fr, TabPanelThemeConfig as ft, TooltipSlot as g, AccordionDetailsSlot as ga, PaperThemeConfig as gi, NavGroupOwnerState as gn, DrawerOwnerState as gr, SwitchOwnerState as gt, TooltipOwnerState as h, AccordionDetailsOwnerState as ha, PaperSlot as hi, NavLinkThemeConfig as hn, FabThemeConfig as hr, TabThemeConfig as ht, AppTheme as i, AlertTitleSlot as ia, setNonceSource as ii, PaginationOwnerState as in, FormOwnerState as ir, TableOwnerState as it, TableSortLabelOwnerState as j, CardThemeConfig as ji, MenuDividerOwnerState as jn, Flex as jr, SelectOwnerState as jt, TabsThemeConfig as k, CardOwnerState as ki, MenuItemSlot as kn, FlexSlot as kr, SidebarSlot as kt, TypographyOwnerState as l, AccordionSummaryOwnerState as la, variable as li, NumberInputThemeConfig as ln, FocusTrapThemeConfig as lr, TabScrollButtonThemeConfig as lt, TransferListThemeConfig as m, AccordionGroupThemeConfig as ma, PaperOwnerState as mi, NavLinkSlot as mn, FabSlot as mr, TabSlot as mt, AccordionSlot as n, AppBarThemeConfig as na, keyframes as ni, PaginationItemSlot as nn, FormControlSlot as nr, TableBodySlot as nt, ComponentConfig as o, AlertOwnerState as oa, useStyleValue as oi, PaginationThemeConfig as on, FormThemeConfig as or, TableThemeConfig as ot, TransferListSlot as p, AccordionGroupSlot as pa, Exact as pi, NavLinkOwnerState as pn, FabOwnerState as pr, TabOwnerState as pt, TableFooterSlot as q, BackdropThemeConfig as qi, GridSlot as qn, Global as qr, QuoteSlot as qt, AccordionThemeConfig as r, AlertTitleOwnerState as ra, negate as ri, PaginationItemThemeConfig as rn, FormControlThemeConfig as rr, TableBodyThemeConfig as rt, Theme as s, AlertSlot as sa, useTheme as si, NumberInputOwnerState as sn, FocusTrapOwnerState as sr, TabScrollButtonOwnerState as st, AccordionOwnerState as t, AppBarSlot as ta, fallback as ti, PaginationItemOwnerState as tn, FormControlOwnerState as tr, TableBodyOwnerState as tt, TypographySlot as u, AccordionSummarySlot as ua, withStyle as ui, NavTreeOwnerState as un, FabMenuOwnerState as ur, TabPanelOwnerState as ut, ToggleButtonGroupOwnerState as v, AccordionActionsOwnerState as va, CollapseSlot as vi, NavGroupThemeConfig as vn, DrawerThemeConfig as vr, SwitchThemeConfig as vt, TextInputOwnerState as w, StyleOverride as wa, ChipSlot as wi, ModalThemeConfig as wn, MenuThemeConfig as wr, SkeletonThemeConfig as wt, ToggleButtonOwnerState as x, SlotOverride as xa, CircularProgressSlot as xi, NativeSelectThemeConfig as xn, ContextMenuThemeConfig as xr, SnackbarThemeConfig as xt, ToggleButtonGroupSlot as y, AccordionActionsSlot as ya, CollapseThemeConfig as yi, NativeSelectOwnerState as yn, ContextMenuOwnerState as yr, SnackbarOwnerState as yt, TablePaginationActionsThemeConfig as z, BreadcrumbsOwnerState as zi, LinearProgressThemeConfig as zn, ViewBorderColorToken as zr, RatingThemeConfig as zt };