@basic-ui/material 1.0.0-alpha.1 → 1.0.0-alpha.12

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 (576) hide show
  1. package/build/cjs/index.js +1372 -1306
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/esm/Alert/Alert.d.ts +1 -1
  4. package/build/esm/Alert/Alert.js +3 -2
  5. package/build/esm/Alert/Alert.js.map +1 -1
  6. package/build/esm/Alert/index.d.ts +0 -0
  7. package/build/esm/Alert/index.js +0 -0
  8. package/build/esm/Alert/index.js.map +1 -1
  9. package/build/esm/AppBar/AppBar.d.ts +3 -3
  10. package/build/esm/AppBar/AppBar.js +6 -5
  11. package/build/esm/AppBar/AppBar.js.map +1 -1
  12. package/build/esm/AppBar/AppBarButton.d.ts +1 -1
  13. package/build/esm/AppBar/AppBarButton.js +2 -1
  14. package/build/esm/AppBar/AppBarButton.js.map +1 -1
  15. package/build/esm/AppBar/context.d.ts +0 -0
  16. package/build/esm/AppBar/context.js +0 -0
  17. package/build/esm/AppBar/context.js.map +1 -1
  18. package/build/esm/AppBar/index.d.ts +0 -0
  19. package/build/esm/AppBar/index.js +0 -0
  20. package/build/esm/AppBar/index.js.map +1 -1
  21. package/build/esm/Badge/Badge.d.ts +1 -1
  22. package/build/esm/Badge/Badge.js +0 -0
  23. package/build/esm/Badge/Badge.js.map +1 -1
  24. package/build/esm/Badge/index.d.ts +0 -0
  25. package/build/esm/Badge/index.js +0 -0
  26. package/build/esm/Badge/index.js.map +1 -1
  27. package/build/esm/BaseLine/BaseLine.d.ts +0 -0
  28. package/build/esm/BaseLine/BaseLine.js +0 -0
  29. package/build/esm/BaseLine/BaseLine.js.map +1 -1
  30. package/build/esm/BaseLine/index.d.ts +0 -0
  31. package/build/esm/BaseLine/index.js +0 -0
  32. package/build/esm/BaseLine/index.js.map +1 -1
  33. package/build/esm/BottomSheet/BottomSheet.d.ts +1 -1
  34. package/build/esm/BottomSheet/BottomSheet.js +2 -1
  35. package/build/esm/BottomSheet/BottomSheet.js.map +1 -1
  36. package/build/esm/BottomSheet/BottomSheetSurface.d.ts +2 -2
  37. package/build/esm/BottomSheet/BottomSheetSurface.js +4 -3
  38. package/build/esm/BottomSheet/BottomSheetSurface.js.map +1 -1
  39. package/build/esm/BottomSheet/index.d.ts +0 -0
  40. package/build/esm/BottomSheet/index.js +0 -0
  41. package/build/esm/BottomSheet/index.js.map +1 -1
  42. package/build/esm/Box/Box.d.ts +4 -4
  43. package/build/esm/Box/Box.js +1 -2
  44. package/build/esm/Box/Box.js.map +1 -1
  45. package/build/esm/Box/index.d.ts +0 -0
  46. package/build/esm/Box/index.js +0 -0
  47. package/build/esm/Box/index.js.map +1 -1
  48. package/build/esm/Button/BaseButton.d.ts +3 -3
  49. package/build/esm/Button/BaseButton.js +5 -5
  50. package/build/esm/Button/BaseButton.js.map +1 -1
  51. package/build/esm/Button/Button.d.ts +4 -4
  52. package/build/esm/Button/Button.js +6 -6
  53. package/build/esm/Button/Button.js.map +1 -1
  54. package/build/esm/Button/ButtonGroup.d.ts +2 -2
  55. package/build/esm/Button/ButtonGroup.js +3 -2
  56. package/build/esm/Button/ButtonGroup.js.map +1 -1
  57. package/build/esm/Button/FilledButton.d.ts +1 -1
  58. package/build/esm/Button/FilledButton.js +6 -8
  59. package/build/esm/Button/FilledButton.js.map +1 -1
  60. package/build/esm/Button/FloatingActionButton.d.ts +0 -0
  61. package/build/esm/Button/FloatingActionButton.js +1 -1
  62. package/build/esm/Button/FloatingActionButton.js.map +1 -1
  63. package/build/esm/Button/IconButton.d.ts +0 -0
  64. package/build/esm/Button/IconButton.js +1 -1
  65. package/build/esm/Button/IconButton.js.map +1 -1
  66. package/build/esm/Button/OutlinedButton.d.ts +1 -1
  67. package/build/esm/Button/OutlinedButton.js +0 -0
  68. package/build/esm/Button/OutlinedButton.js.map +1 -1
  69. package/build/esm/Button/TransparentButton.d.ts +1 -1
  70. package/build/esm/Button/TransparentButton.js +0 -0
  71. package/build/esm/Button/TransparentButton.js.map +1 -1
  72. package/build/esm/Button/context.d.ts +0 -0
  73. package/build/esm/Button/context.js +0 -0
  74. package/build/esm/Button/context.js.map +1 -1
  75. package/build/esm/Button/index.d.ts +0 -0
  76. package/build/esm/Button/index.js +0 -0
  77. package/build/esm/Button/index.js.map +1 -1
  78. package/build/esm/CheckBox/CheckBox.d.ts +5 -5
  79. package/build/esm/CheckBox/CheckBox.js +6 -5
  80. package/build/esm/CheckBox/CheckBox.js.map +1 -1
  81. package/build/esm/CheckBox/CheckBoxIcon.d.ts +4 -4
  82. package/build/esm/CheckBox/CheckBoxIcon.js +6 -5
  83. package/build/esm/CheckBox/CheckBoxIcon.js.map +1 -1
  84. package/build/esm/CheckBox/CheckPath.d.ts +0 -1
  85. package/build/esm/CheckBox/CheckPath.js +0 -0
  86. package/build/esm/CheckBox/CheckPath.js.map +1 -1
  87. package/build/esm/CheckBox/IndeterminatePath.d.ts +0 -1
  88. package/build/esm/CheckBox/IndeterminatePath.js +0 -0
  89. package/build/esm/CheckBox/IndeterminatePath.js.map +1 -1
  90. package/build/esm/CheckBox/index.d.ts +0 -0
  91. package/build/esm/CheckBox/index.js +0 -0
  92. package/build/esm/CheckBox/index.js.map +1 -1
  93. package/build/esm/Chip/ButtonChip.d.ts +4 -4
  94. package/build/esm/Chip/ButtonChip.js +4 -4
  95. package/build/esm/Chip/ButtonChip.js.map +1 -1
  96. package/build/esm/Chip/Chip.d.ts +0 -0
  97. package/build/esm/Chip/Chip.js +0 -0
  98. package/build/esm/Chip/Chip.js.map +1 -1
  99. package/build/esm/Chip/ChipBase.d.ts +3 -3
  100. package/build/esm/Chip/ChipBase.js +10 -10
  101. package/build/esm/Chip/ChipBase.js.map +1 -1
  102. package/build/esm/Chip/ChoiceChip.d.ts +5 -5
  103. package/build/esm/Chip/ChoiceChip.js +6 -5
  104. package/build/esm/Chip/ChoiceChip.js.map +1 -1
  105. package/build/esm/Chip/index.d.ts +0 -0
  106. package/build/esm/Chip/index.js +0 -0
  107. package/build/esm/Chip/index.js.map +1 -1
  108. package/build/esm/Combobox/Combobox.d.ts +13 -13
  109. package/build/esm/Combobox/Combobox.js +21 -13
  110. package/build/esm/Combobox/Combobox.js.map +1 -1
  111. package/build/esm/Combobox/index.d.ts +0 -0
  112. package/build/esm/Combobox/index.js +0 -0
  113. package/build/esm/Combobox/index.js.map +1 -1
  114. package/build/esm/Dialog/Dialog.d.ts +1 -1
  115. package/build/esm/Dialog/Dialog.js +6 -5
  116. package/build/esm/Dialog/Dialog.js.map +1 -1
  117. package/build/esm/Dialog/DialogBackdrop.d.ts +2 -2
  118. package/build/esm/Dialog/DialogBackdrop.js +2 -2
  119. package/build/esm/Dialog/DialogBackdrop.js.map +1 -1
  120. package/build/esm/Dialog/DialogContainer.d.ts +1 -1
  121. package/build/esm/Dialog/DialogContainer.js +2 -1
  122. package/build/esm/Dialog/DialogContainer.js.map +1 -1
  123. package/build/esm/Dialog/DialogSurface.d.ts +2 -2
  124. package/build/esm/Dialog/DialogSurface.js +4 -4
  125. package/build/esm/Dialog/DialogSurface.js.map +1 -1
  126. package/build/esm/Dialog/Scrim.d.ts +1 -1
  127. package/build/esm/Dialog/Scrim.js +2 -1
  128. package/build/esm/Dialog/Scrim.js.map +1 -1
  129. package/build/esm/Dialog/index.d.ts +0 -0
  130. package/build/esm/Dialog/index.js +1 -0
  131. package/build/esm/Dialog/index.js.map +1 -1
  132. package/build/esm/Dialog/useDialogAnimation.d.ts +0 -0
  133. package/build/esm/Dialog/useDialogAnimation.js +6 -4
  134. package/build/esm/Dialog/useDialogAnimation.js.map +1 -1
  135. package/build/esm/Divider/Divider.d.ts +3 -3
  136. package/build/esm/Divider/Divider.js +7 -7
  137. package/build/esm/Divider/Divider.js.map +1 -1
  138. package/build/esm/Divider/index.d.ts +0 -0
  139. package/build/esm/Divider/index.js +0 -0
  140. package/build/esm/Divider/index.js.map +1 -1
  141. package/build/esm/FloatingLabel/FloatingLabel.d.ts +4 -4
  142. package/build/esm/FloatingLabel/FloatingLabel.js +7 -6
  143. package/build/esm/FloatingLabel/FloatingLabel.js.map +1 -1
  144. package/build/esm/FloatingLabel/index.d.ts +0 -0
  145. package/build/esm/FloatingLabel/index.js +0 -0
  146. package/build/esm/FloatingLabel/index.js.map +1 -1
  147. package/build/esm/LineRipple/LineRipple.d.ts +3 -3
  148. package/build/esm/LineRipple/LineRipple.js +5 -4
  149. package/build/esm/LineRipple/LineRipple.js.map +1 -1
  150. package/build/esm/LineRipple/index.d.ts +0 -0
  151. package/build/esm/LineRipple/index.js +0 -0
  152. package/build/esm/LineRipple/index.js.map +1 -1
  153. package/build/esm/Link/Link.d.ts +3 -3
  154. package/build/esm/Link/Link.js +2 -2
  155. package/build/esm/Link/Link.js.map +1 -1
  156. package/build/esm/Link/index.d.ts +0 -0
  157. package/build/esm/Link/index.js +0 -0
  158. package/build/esm/Link/index.js.map +1 -1
  159. package/build/esm/List/List.d.ts +5 -5
  160. package/build/esm/List/List.js +2 -2
  161. package/build/esm/List/List.js.map +1 -1
  162. package/build/esm/List/index.d.ts +0 -0
  163. package/build/esm/List/index.js +0 -0
  164. package/build/esm/List/index.js.map +1 -1
  165. package/build/esm/ListItem/ListItem.d.ts +5 -5
  166. package/build/esm/ListItem/ListItem.js +7 -6
  167. package/build/esm/ListItem/ListItem.js.map +1 -1
  168. package/build/esm/ListItem/ListItemText.d.ts +6 -6
  169. package/build/esm/ListItem/ListItemText.js +5 -5
  170. package/build/esm/ListItem/ListItemText.js.map +1 -1
  171. package/build/esm/ListItem/index.d.ts +0 -0
  172. package/build/esm/ListItem/index.js +0 -0
  173. package/build/esm/ListItem/index.js.map +1 -1
  174. package/build/esm/Menu/Menu.d.ts +6 -6
  175. package/build/esm/Menu/Menu.js +13 -7
  176. package/build/esm/Menu/Menu.js.map +1 -1
  177. package/build/esm/Menu/animation.d.ts +0 -0
  178. package/build/esm/Menu/animation.js +0 -0
  179. package/build/esm/Menu/animation.js.map +1 -1
  180. package/build/esm/Menu/index.d.ts +0 -0
  181. package/build/esm/Menu/index.js +0 -0
  182. package/build/esm/Menu/index.js.map +1 -1
  183. package/build/esm/NavRail/NavRailItem.d.ts +15 -0
  184. package/build/esm/NavRail/NavRailItem.js +150 -0
  185. package/build/esm/NavRail/NavRailItem.js.map +1 -0
  186. package/build/esm/NavRail/index.d.ts +1 -0
  187. package/build/esm/NavRail/index.js +2 -0
  188. package/build/esm/NavRail/index.js.map +1 -0
  189. package/build/esm/NotchedOutline/NotchedOutline.d.ts +5 -5
  190. package/build/esm/NotchedOutline/NotchedOutline.js +4 -4
  191. package/build/esm/NotchedOutline/NotchedOutline.js.map +1 -1
  192. package/build/esm/NotchedOutline/context.d.ts +0 -0
  193. package/build/esm/NotchedOutline/context.js +0 -0
  194. package/build/esm/NotchedOutline/context.js.map +1 -1
  195. package/build/esm/NotchedOutline/index.d.ts +0 -0
  196. package/build/esm/NotchedOutline/index.js +0 -0
  197. package/build/esm/NotchedOutline/index.js.map +1 -1
  198. package/build/esm/NotchedOutline/styledComponents.d.ts +114 -28
  199. package/build/esm/NotchedOutline/styledComponents.js +3 -2
  200. package/build/esm/NotchedOutline/styledComponents.js.map +1 -1
  201. package/build/esm/Paper/Paper.d.ts +4 -4
  202. package/build/esm/Paper/Paper.js +6 -6
  203. package/build/esm/Paper/Paper.js.map +1 -1
  204. package/build/esm/Paper/index.d.ts +0 -0
  205. package/build/esm/Paper/index.js +0 -0
  206. package/build/esm/Paper/index.js.map +1 -1
  207. package/build/esm/ProgressSpinner/ProgressSpinner.d.ts +1 -1
  208. package/build/esm/ProgressSpinner/ProgressSpinner.js +14 -14
  209. package/build/esm/ProgressSpinner/ProgressSpinner.js.map +1 -1
  210. package/build/esm/ProgressSpinner/index.d.ts +0 -0
  211. package/build/esm/ProgressSpinner/index.js +0 -0
  212. package/build/esm/ProgressSpinner/index.js.map +1 -1
  213. package/build/esm/RadioButton/RadioButton.d.ts +0 -0
  214. package/build/esm/RadioButton/RadioButton.js +4 -2
  215. package/build/esm/RadioButton/RadioButton.js.map +1 -1
  216. package/build/esm/RadioButton/RadioButtonIcon.d.ts +3 -3
  217. package/build/esm/RadioButton/RadioButtonIcon.js +6 -5
  218. package/build/esm/RadioButton/RadioButtonIcon.js.map +1 -1
  219. package/build/esm/RadioButton/RadioGroup.d.ts +1 -1
  220. package/build/esm/RadioButton/RadioGroup.js +2 -1
  221. package/build/esm/RadioButton/RadioGroup.js.map +1 -1
  222. package/build/esm/RadioButton/index.d.ts +0 -0
  223. package/build/esm/RadioButton/index.js +0 -0
  224. package/build/esm/RadioButton/index.js.map +1 -1
  225. package/build/esm/Ripple/Ripple.d.ts +0 -0
  226. package/build/esm/Ripple/Ripple.js +0 -0
  227. package/build/esm/Ripple/Ripple.js.map +1 -1
  228. package/build/esm/Ripple/RippleBox.d.ts +1 -2
  229. package/build/esm/Ripple/RippleBox.js +7 -6
  230. package/build/esm/Ripple/RippleBox.js.map +1 -1
  231. package/build/esm/Ripple/constants.d.ts +0 -0
  232. package/build/esm/Ripple/constants.js +0 -0
  233. package/build/esm/Ripple/constants.js.map +1 -1
  234. package/build/esm/Ripple/index.d.ts +0 -0
  235. package/build/esm/Ripple/index.js +0 -0
  236. package/build/esm/Ripple/index.js.map +1 -1
  237. package/build/esm/Ripple/keyframes.d.ts +0 -0
  238. package/build/esm/Ripple/keyframes.js +0 -0
  239. package/build/esm/Ripple/keyframes.js.map +1 -1
  240. package/build/esm/Ripple/useRipple.d.ts +0 -0
  241. package/build/esm/Ripple/useRipple.js +2 -2
  242. package/build/esm/Ripple/useRipple.js.map +1 -1
  243. package/build/esm/Ripple/useRippleHandlers.d.ts +3 -3
  244. package/build/esm/Ripple/useRippleHandlers.js +2 -1
  245. package/build/esm/Ripple/useRippleHandlers.js.map +1 -1
  246. package/build/esm/Ripple/useRippleSurface.d.ts +5 -5
  247. package/build/esm/Ripple/useRippleSurface.js +64 -60
  248. package/build/esm/Ripple/useRippleSurface.js.map +1 -1
  249. package/build/esm/Select/Select.d.ts +6 -6
  250. package/build/esm/Select/Select.js +5 -5
  251. package/build/esm/Select/Select.js.map +1 -1
  252. package/build/esm/Select/SelectIcon.d.ts +3 -3
  253. package/build/esm/Select/SelectIcon.js +6 -5
  254. package/build/esm/Select/SelectIcon.js.map +1 -1
  255. package/build/esm/Select/context.d.ts +2 -2
  256. package/build/esm/Select/context.js +0 -0
  257. package/build/esm/Select/context.js.map +1 -1
  258. package/build/esm/Select/defaultRender.d.ts +2 -1
  259. package/build/esm/Select/defaultRender.js +0 -0
  260. package/build/esm/Select/defaultRender.js.map +1 -1
  261. package/build/esm/Select/index.d.ts +0 -0
  262. package/build/esm/Select/index.js +0 -0
  263. package/build/esm/Select/index.js.map +1 -1
  264. package/build/esm/Select/styledComponents.d.ts +9 -9
  265. package/build/esm/Select/styledComponents.js +8 -6
  266. package/build/esm/Select/styledComponents.js.map +1 -1
  267. package/build/esm/SelectItem/SelectItem.d.ts +1 -1
  268. package/build/esm/SelectItem/SelectItem.js +6 -5
  269. package/build/esm/SelectItem/SelectItem.js.map +1 -1
  270. package/build/esm/SelectItem/index.d.ts +0 -0
  271. package/build/esm/SelectItem/index.js +0 -0
  272. package/build/esm/SelectItem/index.js.map +1 -1
  273. package/build/esm/SelectionControl/SelectionControlLabel.d.ts +5 -5
  274. package/build/esm/SelectionControl/SelectionControlLabel.js +2 -2
  275. package/build/esm/SelectionControl/SelectionControlLabel.js.map +1 -1
  276. package/build/esm/SelectionControl/SelectionControlText.d.ts +4 -4
  277. package/build/esm/SelectionControl/SelectionControlText.js +4 -4
  278. package/build/esm/SelectionControl/SelectionControlText.js.map +1 -1
  279. package/build/esm/SelectionControl/index.d.ts +0 -0
  280. package/build/esm/SelectionControl/index.js +0 -0
  281. package/build/esm/SelectionControl/index.js.map +1 -1
  282. package/build/esm/Skeleton/DelayAppearance.d.ts +3 -3
  283. package/build/esm/Skeleton/DelayAppearance.js +2 -2
  284. package/build/esm/Skeleton/DelayAppearance.js.map +1 -1
  285. package/build/esm/Skeleton/Skeleton.d.ts +6 -6
  286. package/build/esm/Skeleton/Skeleton.js +4 -4
  287. package/build/esm/Skeleton/Skeleton.js.map +1 -1
  288. package/build/esm/Skeleton/animation.d.ts +0 -0
  289. package/build/esm/Skeleton/animation.js +0 -0
  290. package/build/esm/Skeleton/animation.js.map +1 -1
  291. package/build/esm/Skeleton/index.d.ts +0 -0
  292. package/build/esm/Skeleton/index.js +0 -0
  293. package/build/esm/Skeleton/index.js.map +1 -1
  294. package/build/esm/Snackbar/Snackbar.d.ts +3 -3
  295. package/build/esm/Snackbar/Snackbar.js +9 -9
  296. package/build/esm/Snackbar/Snackbar.js.map +1 -1
  297. package/build/esm/Snackbar/Stack.d.ts +2 -3
  298. package/build/esm/Snackbar/Stack.js +4 -3
  299. package/build/esm/Snackbar/Stack.js.map +1 -1
  300. package/build/esm/Snackbar/index.d.ts +0 -0
  301. package/build/esm/Snackbar/index.js +0 -0
  302. package/build/esm/Snackbar/index.js.map +1 -1
  303. package/build/esm/Snackbar/useSnackbarAnimation.d.ts +2 -2
  304. package/build/esm/Snackbar/useSnackbarAnimation.js +8 -7
  305. package/build/esm/Snackbar/useSnackbarAnimation.js.map +1 -1
  306. package/build/esm/Switch/Switch.d.ts +4 -5
  307. package/build/esm/Switch/Switch.js +6 -5
  308. package/build/esm/Switch/Switch.js.map +1 -1
  309. package/build/esm/Switch/index.d.ts +0 -0
  310. package/build/esm/Switch/index.js +0 -0
  311. package/build/esm/Switch/index.js.map +1 -1
  312. package/build/esm/Switch/styledComponents.d.ts +0 -0
  313. package/build/esm/Switch/styledComponents.js +8 -4
  314. package/build/esm/Switch/styledComponents.js.map +1 -1
  315. package/build/esm/Tab/Tab.d.ts +3 -3
  316. package/build/esm/Tab/Tab.js +8 -7
  317. package/build/esm/Tab/Tab.js.map +1 -1
  318. package/build/esm/Tab/TabList.d.ts +1 -1
  319. package/build/esm/Tab/TabList.js +4 -2
  320. package/build/esm/Tab/TabList.js.map +1 -1
  321. package/build/esm/Tab/TabPanel.d.ts +1 -1
  322. package/build/esm/Tab/TabPanel.js +4 -2
  323. package/build/esm/Tab/TabPanel.js.map +1 -1
  324. package/build/esm/Tab/TabPanels.d.ts +0 -0
  325. package/build/esm/Tab/TabPanels.js +0 -0
  326. package/build/esm/Tab/TabPanels.js.map +1 -1
  327. package/build/esm/Tab/Tabs.d.ts +0 -0
  328. package/build/esm/Tab/Tabs.js +0 -0
  329. package/build/esm/Tab/Tabs.js.map +1 -1
  330. package/build/esm/Tab/context.d.ts +0 -0
  331. package/build/esm/Tab/context.js +0 -0
  332. package/build/esm/Tab/context.js.map +1 -1
  333. package/build/esm/Tab/index.d.ts +0 -0
  334. package/build/esm/Tab/index.js +0 -0
  335. package/build/esm/Tab/index.js.map +1 -1
  336. package/build/esm/TabIndicator/TabIndicator.d.ts +1 -1
  337. package/build/esm/TabIndicator/TabIndicator.js +4 -2
  338. package/build/esm/TabIndicator/TabIndicator.js.map +1 -1
  339. package/build/esm/TabIndicator/context.d.ts +2 -2
  340. package/build/esm/TabIndicator/context.js +0 -0
  341. package/build/esm/TabIndicator/context.js.map +1 -1
  342. package/build/esm/TabIndicator/index.d.ts +0 -0
  343. package/build/esm/TabIndicator/index.js +0 -0
  344. package/build/esm/TabIndicator/index.js.map +1 -1
  345. package/build/esm/Table/Table.d.ts +1 -1
  346. package/build/esm/Table/Table.js +4 -3
  347. package/build/esm/Table/Table.js.map +1 -1
  348. package/build/esm/Table/TableBody.d.ts +1 -1
  349. package/build/esm/Table/TableBody.js +4 -3
  350. package/build/esm/Table/TableBody.js.map +1 -1
  351. package/build/esm/Table/TableCell.d.ts +1 -1
  352. package/build/esm/Table/TableCell.js +4 -3
  353. package/build/esm/Table/TableCell.js.map +1 -1
  354. package/build/esm/Table/TableHead.d.ts +1 -1
  355. package/build/esm/Table/TableHead.js +4 -3
  356. package/build/esm/Table/TableHead.js.map +1 -1
  357. package/build/esm/Table/TableRow.d.ts +1 -1
  358. package/build/esm/Table/TableRow.js +5 -4
  359. package/build/esm/Table/TableRow.js.map +1 -1
  360. package/build/esm/Table/context.d.ts +0 -0
  361. package/build/esm/Table/context.js +0 -0
  362. package/build/esm/Table/context.js.map +1 -1
  363. package/build/esm/Table/index.d.ts +0 -0
  364. package/build/esm/Table/index.js +0 -0
  365. package/build/esm/Table/index.js.map +1 -1
  366. package/build/esm/Text/LoremIpsum.d.ts +0 -0
  367. package/build/esm/Text/LoremIpsum.js +1 -1
  368. package/build/esm/Text/LoremIpsum.js.map +1 -1
  369. package/build/esm/Text/Text.d.ts +8 -4
  370. package/build/esm/Text/Text.js +7 -3
  371. package/build/esm/Text/Text.js.map +1 -1
  372. package/build/esm/Text/index.d.ts +0 -0
  373. package/build/esm/Text/index.js +0 -0
  374. package/build/esm/Text/index.js.map +1 -1
  375. package/build/esm/TextField/FilledContainer.d.ts +4 -4
  376. package/build/esm/TextField/FilledContainer.js +6 -6
  377. package/build/esm/TextField/FilledContainer.js.map +1 -1
  378. package/build/esm/TextField/HelperText.d.ts +5 -5
  379. package/build/esm/TextField/HelperText.js +5 -5
  380. package/build/esm/TextField/HelperText.js.map +1 -1
  381. package/build/esm/TextField/IconContainer.d.ts +2 -3
  382. package/build/esm/TextField/IconContainer.js +0 -1
  383. package/build/esm/TextField/IconContainer.js.map +1 -1
  384. package/build/esm/TextField/Input.d.ts +4 -4
  385. package/build/esm/TextField/Input.js +11 -9
  386. package/build/esm/TextField/Input.js.map +1 -1
  387. package/build/esm/TextField/OutlinedContainer.d.ts +4 -4
  388. package/build/esm/TextField/OutlinedContainer.js +5 -5
  389. package/build/esm/TextField/OutlinedContainer.js.map +1 -1
  390. package/build/esm/TextField/TextField.d.ts +5 -5
  391. package/build/esm/TextField/TextField.js +4 -4
  392. package/build/esm/TextField/TextField.js.map +1 -1
  393. package/build/esm/TextField/consts.d.ts +0 -0
  394. package/build/esm/TextField/consts.js +0 -0
  395. package/build/esm/TextField/consts.js.map +1 -1
  396. package/build/esm/TextField/index.d.ts +0 -0
  397. package/build/esm/TextField/index.js +0 -0
  398. package/build/esm/TextField/index.js.map +1 -1
  399. package/build/esm/ThemeExplorer/ColorPicker.d.ts +0 -0
  400. package/build/esm/ThemeExplorer/ColorPicker.js +4 -3
  401. package/build/esm/ThemeExplorer/ColorPicker.js.map +1 -1
  402. package/build/esm/ThemeExplorer/TextFieldColorPicker.d.ts +0 -0
  403. package/build/esm/ThemeExplorer/TextFieldColorPicker.js +4 -3
  404. package/build/esm/ThemeExplorer/TextFieldColorPicker.js.map +1 -1
  405. package/build/esm/ThemeExplorer/ThemeBuilder.d.ts +9 -0
  406. package/build/esm/ThemeExplorer/ThemeBuilder.js +244 -0
  407. package/build/esm/ThemeExplorer/ThemeBuilder.js.map +1 -0
  408. package/build/esm/ThemeExplorer/ThemeColors.d.ts +2 -2
  409. package/build/esm/ThemeExplorer/ThemeColors.js +1 -1
  410. package/build/esm/ThemeExplorer/ThemeColors.js.map +1 -1
  411. package/build/esm/ThemeExplorer/components.d.ts +6 -7
  412. package/build/esm/ThemeExplorer/components.js +24 -20
  413. package/build/esm/ThemeExplorer/components.js.map +1 -1
  414. package/build/esm/ThemeExplorer/index.d.ts +1 -0
  415. package/build/esm/ThemeExplorer/index.js +2 -0
  416. package/build/esm/ThemeExplorer/index.js.map +1 -0
  417. package/build/esm/ThemeExplorer/makeColorScheme.d.ts +0 -0
  418. package/build/esm/ThemeExplorer/makeColorScheme.js +0 -0
  419. package/build/esm/ThemeExplorer/makeColorScheme.js.map +1 -1
  420. package/build/esm/ThemeExplorer/useDeferredColor.d.ts +0 -0
  421. package/build/esm/ThemeExplorer/useDeferredColor.js +4 -5
  422. package/build/esm/ThemeExplorer/useDeferredColor.js.map +1 -1
  423. package/build/esm/ThemeExplorer/useLocalStorageCachedState.d.ts +1 -1
  424. package/build/esm/ThemeExplorer/useLocalStorageCachedState.js +1 -1
  425. package/build/esm/ThemeExplorer/useLocalStorageCachedState.js.map +1 -1
  426. package/build/esm/Tooltip/Tooltip.d.ts +3 -3
  427. package/build/esm/Tooltip/Tooltip.js +7 -9
  428. package/build/esm/Tooltip/Tooltip.js.map +1 -1
  429. package/build/esm/Tooltip/index.d.ts +0 -0
  430. package/build/esm/Tooltip/index.js +0 -0
  431. package/build/esm/Tooltip/index.js.map +1 -1
  432. package/build/esm/color.d.ts +2 -0
  433. package/build/esm/color.js +9 -4
  434. package/build/esm/color.js.map +1 -1
  435. package/build/esm/css.d.ts +0 -0
  436. package/build/esm/css.js +0 -0
  437. package/build/esm/css.js.map +1 -1
  438. package/build/esm/hooks/useAnimation.d.ts +0 -0
  439. package/build/esm/hooks/useAnimation.js +3 -3
  440. package/build/esm/hooks/useAnimation.js.map +1 -1
  441. package/build/esm/index.d.ts +2 -1
  442. package/build/esm/index.js +2 -1
  443. package/build/esm/index.js.map +1 -1
  444. package/build/esm/motion.d.ts +7 -0
  445. package/build/esm/motion.js +8 -0
  446. package/build/esm/motion.js.map +1 -0
  447. package/build/esm/theme/index.d.ts +0 -0
  448. package/build/esm/theme/index.js +0 -0
  449. package/build/esm/theme/index.js.map +1 -1
  450. package/build/esm/theme/theme.d.ts +114 -28
  451. package/build/esm/theme/theme.js +46 -38
  452. package/build/esm/theme/theme.js.map +1 -1
  453. package/build/esm/theme/typography-raleway.d.ts +0 -0
  454. package/build/esm/theme/typography-raleway.js +0 -0
  455. package/build/esm/theme/typography-raleway.js.map +1 -1
  456. package/build/esm/theme/typography-roboto.d.ts +0 -0
  457. package/build/esm/theme/typography-roboto.js +0 -0
  458. package/build/esm/theme/typography-roboto.js.map +1 -1
  459. package/build/esm/theme/useTheme.d.ts +557 -1
  460. package/build/esm/theme/useTheme.js +0 -0
  461. package/build/esm/theme/useTheme.js.map +1 -1
  462. package/build/tsconfig-build.tsbuildinfo +1 -0
  463. package/package.json +8 -8
  464. package/src/Alert/Alert.tsx +1 -1
  465. package/src/AppBar/AppBar.tsx +4 -3
  466. package/src/BottomSheet/BottomSheetSurface.tsx +5 -4
  467. package/src/Box/Box.tsx +6 -8
  468. package/src/Button/BaseButton.tsx +3 -11
  469. package/src/Button/Button.story.tsx +21 -4
  470. package/src/Button/Button.tsx +4 -4
  471. package/src/Button/ButtonGroup.tsx +1 -1
  472. package/src/Button/FilledButton.tsx +4 -9
  473. package/src/Button/SpinnerButton.story.tsx +1 -1
  474. package/src/CheckBox/CheckBox.story.tsx +7 -6
  475. package/src/CheckBox/CheckBox.tsx +6 -10
  476. package/src/CheckBox/CheckBoxIcon.tsx +5 -5
  477. package/src/Chip/ButtonChip.tsx +3 -3
  478. package/src/Chip/Chip.story.tsx +1 -1
  479. package/src/Chip/ChipBase.tsx +2 -2
  480. package/src/Chip/ChoiceChip.tsx +7 -7
  481. package/src/Combobox/Combobox.story.tsx +3 -3
  482. package/src/Combobox/Combobox.tsx +9 -10
  483. package/src/Dialog/DialogBackdrop.tsx +3 -3
  484. package/src/Dialog/DialogSurface.tsx +2 -4
  485. package/src/Dialog/useDialogAnimation.tsx +3 -4
  486. package/src/Divider/Divider.tsx +2 -2
  487. package/src/FloatingLabel/FloatingLabel.tsx +7 -6
  488. package/src/LineRipple/LineRipple.story.tsx +1 -1
  489. package/src/LineRipple/LineRipple.tsx +4 -4
  490. package/src/Link/Link.tsx +2 -5
  491. package/src/List/List.tsx +4 -4
  492. package/src/ListItem/ListItem.tsx +6 -6
  493. package/src/ListItem/ListItemText.tsx +6 -7
  494. package/src/Menu/Menu.tsx +5 -5
  495. package/src/NavRail/NavRail.story.tsx +190 -0
  496. package/src/NavRail/NavRailItem.tsx +176 -0
  497. package/src/NavRail/index.ts +1 -0
  498. package/src/NotchedOutline/NotchedOutline.tsx +4 -5
  499. package/src/NotchedOutline/styledComponents.ts +2 -1
  500. package/src/Paper/Paper.story.tsx +3 -3
  501. package/src/Paper/Paper.tsx +3 -3
  502. package/src/ProgressSpinner/ProgressSpinner.tsx +9 -9
  503. package/src/RadioButton/RadioButton.story.tsx +2 -2
  504. package/src/RadioButton/RadioButton.tsx +1 -1
  505. package/src/RadioButton/RadioButtonIcon.tsx +4 -5
  506. package/src/Ripple/Ripple.story.tsx +1 -1
  507. package/src/Ripple/RippleBox.tsx +1 -2
  508. package/src/Ripple/useRippleHandlers.ts +3 -3
  509. package/src/Ripple/useRippleSurface.ts +77 -61
  510. package/src/Select/Select.tsx +11 -6
  511. package/src/Select/SelectIcon.tsx +3 -4
  512. package/src/Select/context.ts +2 -1
  513. package/src/Select/defaultRender.ts +2 -1
  514. package/src/Select/styledComponents.tsx +13 -11
  515. package/src/SelectionControl/SelectionControlLabel.tsx +4 -8
  516. package/src/SelectionControl/SelectionControlText.tsx +3 -3
  517. package/src/Skeleton/DelayAppearance.tsx +2 -2
  518. package/src/Skeleton/Skeleton.story.tsx +2 -2
  519. package/src/Skeleton/Skeleton.tsx +6 -6
  520. package/src/Snackbar/Snackbar.tsx +6 -6
  521. package/src/Snackbar/Stack.tsx +6 -9
  522. package/src/Snackbar/useSnackbarAnimation.ts +4 -3
  523. package/src/Switch/Switch.tsx +6 -10
  524. package/src/Switch/styledComponents.tsx +2 -2
  525. package/src/Tab/Tab.tsx +3 -7
  526. package/src/TabIndicator/TabIndicator.tsx +2 -1
  527. package/src/TabIndicator/context.ts +2 -1
  528. package/src/Table/TableRow.tsx +1 -1
  529. package/src/Text/LoremIpsum.tsx +1 -1
  530. package/src/Text/Text.story.tsx +42 -7
  531. package/src/Text/Text.tsx +25 -5
  532. package/src/TextField/FilledContainer.tsx +3 -3
  533. package/src/TextField/HelperText.tsx +5 -5
  534. package/src/TextField/IconContainer.tsx +2 -3
  535. package/src/TextField/Input.tsx +5 -4
  536. package/src/TextField/OutlinedContainer.tsx +3 -3
  537. package/src/TextField/TextField.tsx +4 -4
  538. package/src/ThemeExplorer/ThemeBuilder.story.tsx +1 -159
  539. package/src/ThemeExplorer/ThemeBuilder.tsx +198 -0
  540. package/src/ThemeExplorer/ThemeColors.tsx +1 -1
  541. package/src/ThemeExplorer/components.tsx +24 -16
  542. package/src/ThemeExplorer/index.ts +1 -0
  543. package/src/ThemeExplorer/useDeferredColor.tsx +2 -3
  544. package/src/ThemeExplorer/useLocalStorageCachedState.ts +2 -2
  545. package/src/Tooltip/Tooltip.story.tsx +2 -2
  546. package/src/Tooltip/Tooltip.tsx +9 -11
  547. package/src/color.ts +26 -5
  548. package/src/index.ts +2 -1
  549. package/src/motion.ts +7 -0
  550. package/src/theme/theme.ts +51 -37
  551. package/build/esm/ColorMode/ColorModeProvider.d.ts +0 -7
  552. package/build/esm/ColorMode/ColorModeProvider.js +0 -92
  553. package/build/esm/ColorMode/ColorModeProvider.js.map +0 -1
  554. package/build/esm/ColorMode/color-mode.d.ts +0 -8
  555. package/build/esm/ColorMode/color-mode.js +0 -11
  556. package/build/esm/ColorMode/color-mode.js.map +0 -1
  557. package/build/esm/ColorMode/color-vars.d.ts +0 -4
  558. package/build/esm/ColorMode/color-vars.js +0 -58
  559. package/build/esm/ColorMode/color-vars.js.map +0 -1
  560. package/build/esm/ColorMode/constants.d.ts +0 -3
  561. package/build/esm/ColorMode/constants.js +0 -5
  562. package/build/esm/ColorMode/constants.js.map +0 -1
  563. package/build/esm/ColorMode/index.d.ts +0 -4
  564. package/build/esm/ColorMode/index.js +0 -5
  565. package/build/esm/ColorMode/index.js.map +0 -1
  566. package/build/esm/ListItem/context.d.ts +0 -7
  567. package/build/esm/ListItem/context.js +0 -10
  568. package/build/esm/ListItem/context.js.map +0 -1
  569. package/build/tsconfig.tsbuildinfo +0 -1
  570. package/src/ColorMode/ColorModeProvider.tsx +0 -97
  571. package/src/ColorMode/color-mode.ts +0 -20
  572. package/src/ColorMode/color-vars.ts +0 -56
  573. package/src/ColorMode/constants.ts +0 -5
  574. package/src/ColorMode/index.ts +0 -4
  575. package/src/ColorMode/tests/color-vars.test.ts +0 -9
  576. package/src/ThemeExplorer/ThemeExplorer.story.tsx +0 -43
@@ -2,4 +2,4 @@
2
2
  import type { TabPanelProps as TabPanelPropsCore } from '@basic-ui/core';
3
3
  import type { BoxProps } from '../Box';
4
4
  export declare type TabPanelProps = TabPanelPropsCore & BoxProps;
5
- export declare const TabPanel: import("react").ForwardRefExoticComponent<Pick<TabPanelProps, "children" | "p" | "slot" | "style" | "title" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "boxShadow" | "color" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "zIndex" | "background" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "gridColumnGap" | "gridGap" | "gridRowGap" | "hidden" | "as" | "sx" | "__css" | "variant" | "tx" | "theme" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size" | "bg" | "borderX" | "borderY" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "innerAs" | "lazy"> & import("react").RefAttributes<HTMLDivElement>>;
5
+ export declare const TabPanel: import("react").ForwardRefExoticComponent<Pick<TabPanelProps, "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "color" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "background" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "variant" | "size" | "hidden" | "as" | "sx" | "__css" | "tx" | "theme" | "borderX" | "borderY" | "gridGap" | "gridColumnGap" | "gridRowGap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "innerAs" | "lazy"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,12 +1,14 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["innerAs"],
4
+ _excluded2 = ["as"];
3
5
  import { forwardRef } from 'react';
4
6
  import { TabPanel as TabPanelCore } from '@basic-ui/core';
5
7
  import { Box } from '../Box';
6
8
  import { jsx as _jsx } from "react/jsx-runtime";
7
9
  var TabPanelInner = /*#__PURE__*/forwardRef(function TabPanelInner(props, forwardedRef) {
8
10
  var innerAs = props.innerAs,
9
- otherProps = _objectWithoutProperties(props, ["innerAs"]);
11
+ otherProps = _objectWithoutProperties(props, _excluded);
10
12
 
11
13
  return /*#__PURE__*/_jsx(Box, _extends({
12
14
  as: innerAs,
@@ -16,7 +18,7 @@ var TabPanelInner = /*#__PURE__*/forwardRef(function TabPanelInner(props, forwar
16
18
  export var TabPanel = /*#__PURE__*/forwardRef(function TabPanel(props, forwardedRef) {
17
19
  var _props$as = props.as,
18
20
  as = _props$as === void 0 ? 'div' : _props$as,
19
- otherProps = _objectWithoutProperties(props, ["as"]);
21
+ otherProps = _objectWithoutProperties(props, _excluded2);
20
22
 
21
23
  return /*#__PURE__*/_jsx(TabPanelCore, _extends({
22
24
  as: TabPanelInner,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Tab/TabPanel.tsx"],"names":["forwardRef","TabPanel","TabPanelCore","Box","TabPanelInner","props","forwardedRef","innerAs","otherProps","as"],"mappings":";;AAAA,SAASA,UAAT,QAA2B,OAA3B;AAEA,SAASC,QAAQ,IAAIC,YAArB,QAAyC,gBAAzC;AAGA,SAASC,GAAT,QAAoB,QAApB;;AAIA,IAAMC,aAAa,gBAAGJ,UAAU,CAC9B,SAASI,aAAT,CAAuBC,KAAvB,EAA8BC,YAA9B,EAA4C;AAAA,MAClCC,OADkC,GACPF,KADO,CAClCE,OADkC;AAAA,MACtBC,UADsB,4BACPH,KADO;;AAG1C,sBAAO,KAAC,GAAD;AAAK,IAAA,EAAE,EAAEE,OAAT;AAAkB,IAAA,GAAG,EAAED;AAAvB,KAAyCE,UAAzC,EAAP;AACD,CAL6B,CAAhC;AAQA,OAAO,IAAMP,QAAQ,gBAAGD,UAAU,CAChC,SAASC,QAAT,CAAkBI,KAAlB,EAAyBC,YAAzB,EAAuC;AAAA,kBACCD,KADD,CAC7BI,EAD6B;AAAA,MAC7BA,EAD6B,0BACxB,KADwB;AAAA,MACdD,UADc,4BACCH,KADD;;AAGrC,sBACE,KAAC,YAAD;AACE,IAAA,EAAE,EAAED,aADN;AAEE,IAAA,OAAO,EAAEK,EAFX;AAGE,IAAA,GAAG,EAAEH;AAHP,KAIME,UAJN,EADF;AAQD,CAZ+B,CAA3B","sourcesContent":["import { forwardRef } from 'react';\nimport type { TabPanelProps as TabPanelPropsCore } from '@basic-ui/core';\nimport { TabPanel as TabPanelCore } from '@basic-ui/core';\n\nimport type { BoxProps } from '../Box';\nimport { Box } from '../Box';\n\nexport type TabPanelProps = TabPanelPropsCore & BoxProps;\n\nconst TabPanelInner = forwardRef<HTMLDivElement, TabPanelProps>(\n function TabPanelInner(props, forwardedRef) {\n const { innerAs, ...otherProps } = props;\n\n return <Box as={innerAs} ref={forwardedRef} {...otherProps} />;\n }\n);\n\nexport const TabPanel = forwardRef<HTMLDivElement, TabPanelProps>(\n function TabPanel(props, forwardedRef) {\n const { as = 'div', ...otherProps } = props;\n\n return (\n <TabPanelCore\n as={TabPanelInner}\n innerAs={as}\n ref={forwardedRef}\n {...otherProps}\n />\n );\n }\n);\n"],"file":"TabPanel.js"}
1
+ {"version":3,"file":"TabPanel.js","names":["forwardRef","TabPanel","TabPanelCore","Box","TabPanelInner","props","forwardedRef","innerAs","otherProps","as"],"sources":["../../../src/Tab/TabPanel.tsx"],"sourcesContent":["import { forwardRef } from 'react';\nimport type { TabPanelProps as TabPanelPropsCore } from '@basic-ui/core';\nimport { TabPanel as TabPanelCore } from '@basic-ui/core';\n\nimport type { BoxProps } from '../Box';\nimport { Box } from '../Box';\n\nexport type TabPanelProps = TabPanelPropsCore & BoxProps;\n\nconst TabPanelInner = forwardRef<HTMLDivElement, TabPanelProps>(\n function TabPanelInner(props, forwardedRef) {\n const { innerAs, ...otherProps } = props;\n\n return <Box as={innerAs} ref={forwardedRef} {...otherProps} />;\n }\n);\n\nexport const TabPanel = forwardRef<HTMLDivElement, TabPanelProps>(\n function TabPanel(props, forwardedRef) {\n const { as = 'div', ...otherProps } = props;\n\n return (\n <TabPanelCore\n as={TabPanelInner}\n innerAs={as}\n ref={forwardedRef}\n {...otherProps}\n />\n );\n }\n);\n"],"mappings":";;;;AAAA,SAASA,UAAT,QAA2B,OAA3B;AAEA,SAASC,QAAQ,IAAIC,YAArB,QAAyC,gBAAzC;AAGA,SAASC,GAAT,QAAoB,QAApB;;AAIA,IAAMC,aAAa,gBAAGJ,UAAU,CAC9B,SAASI,aAAT,CAAuBC,KAAvB,EAA8BC,YAA9B,EAA4C;EAC1C,IAAQC,OAAR,GAAmCF,KAAnC,CAAQE,OAAR;EAAA,IAAoBC,UAApB,4BAAmCH,KAAnC;;EAEA,oBAAO,KAAC,GAAD;IAAK,EAAE,EAAEE,OAAT;IAAkB,GAAG,EAAED;EAAvB,GAAyCE,UAAzC,EAAP;AACD,CAL6B,CAAhC;AAQA,OAAO,IAAMP,QAAQ,gBAAGD,UAAU,CAChC,SAASC,QAAT,CAAkBI,KAAlB,EAAyBC,YAAzB,EAAuC;EACrC,gBAAsCD,KAAtC,CAAQI,EAAR;EAAA,IAAQA,EAAR,0BAAa,KAAb;EAAA,IAAuBD,UAAvB,4BAAsCH,KAAtC;;EAEA,oBACE,KAAC,YAAD;IACE,EAAE,EAAED,aADN;IAEE,OAAO,EAAEK,EAFX;IAGE,GAAG,EAAEH;EAHP,GAIME,UAJN,EADF;AAQD,CAZ+B,CAA3B"}
File without changes
File without changes
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Tab/TabPanels.tsx"],"names":["TabPanels"],"mappings":"AAAA,SAASA,SAAT,QAA0B,gBAA1B;AAGA,SAASA,SAAT","sourcesContent":["import { TabPanels } from '@basic-ui/core';\nimport type { TabPanelsProps } from '@basic-ui/core';\n\nexport { TabPanels };\nexport type { TabPanelsProps };\n"],"file":"TabPanels.js"}
1
+ {"version":3,"file":"TabPanels.js","names":["TabPanels"],"sources":["../../../src/Tab/TabPanels.tsx"],"sourcesContent":["import { TabPanels } from '@basic-ui/core';\nimport type { TabPanelsProps } from '@basic-ui/core';\n\nexport { TabPanels };\nexport type { TabPanelsProps };\n"],"mappings":"AAAA,SAASA,SAAT,QAA0B,gBAA1B;AAGA,SAASA,SAAT"}
File without changes
File without changes
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Tab/Tabs.tsx"],"names":["Tabs"],"mappings":"AAAA,SAASA,IAAT,QAAqB,gBAArB;AAGA,SAASA,IAAT","sourcesContent":["import { Tabs } from '@basic-ui/core';\nimport type { TabsProps } from '@basic-ui/core';\n\nexport { Tabs };\nexport type { TabsProps };\n"],"file":"Tabs.js"}
1
+ {"version":3,"file":"Tabs.js","names":["Tabs"],"sources":["../../../src/Tab/Tabs.tsx"],"sourcesContent":["import { Tabs } from '@basic-ui/core';\nimport type { TabsProps } from '@basic-ui/core';\n\nexport { Tabs };\nexport type { TabsProps };\n"],"mappings":"AAAA,SAASA,IAAT,QAAqB,gBAArB;AAGA,SAASA,IAAT"}
File without changes
File without changes
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Tab/context.ts"],"names":["createContext","useContext","TabListContext","indicatorColor","textColor","TabListProvider","Provider","useTabListContext"],"mappings":"AAAA,SAASA,aAAT,EAAwBC,UAAxB,QAA0C,OAA1C,C,CAEA;;AAOA,IAAMC,cAAc,gBAAGF,aAAa,CAAsB;AACxDG,EAAAA,cAAc,EAAE,SADwC;AAExDC,EAAAA,SAAS,EAAE;AAF6C,CAAtB,CAApC;IAIyBC,e,GAAoBH,c,CAA9BI,Q;;AACf,OAAO,IAAMC,iBAAiB,GAAG,SAApBA,iBAAoB;AAAA,SAAMN,UAAU,CAACC,cAAD,CAAhB;AAAA,CAA1B","sourcesContent":["import { createContext, useContext } from 'react';\n\n// TabList Component\nexport interface TabListContextProps {\n indicatorColor: string;\n textColor: string;\n selectedTextColor?: string;\n}\n\nconst TabListContext = createContext<TabListContextProps>({\n indicatorColor: 'primary',\n textColor: 'on.surface',\n});\nexport const { Provider: TabListProvider } = TabListContext;\nexport const useTabListContext = () => useContext(TabListContext);\n"],"file":"context.js"}
1
+ {"version":3,"file":"context.js","names":["createContext","useContext","TabListContext","indicatorColor","textColor","TabListProvider","Provider","useTabListContext"],"sources":["../../../src/Tab/context.ts"],"sourcesContent":["import { createContext, useContext } from 'react';\n\n// TabList Component\nexport interface TabListContextProps {\n indicatorColor: string;\n textColor: string;\n selectedTextColor?: string;\n}\n\nconst TabListContext = createContext<TabListContextProps>({\n indicatorColor: 'primary',\n textColor: 'on.surface',\n});\nexport const { Provider: TabListProvider } = TabListContext;\nexport const useTabListContext = () => useContext(TabListContext);\n"],"mappings":"AAAA,SAASA,aAAT,EAAwBC,UAAxB,QAA0C,OAA1C,C,CAEA;;AAOA,IAAMC,cAAc,gBAAGF,aAAa,CAAsB;EACxDG,cAAc,EAAE,SADwC;EAExDC,SAAS,EAAE;AAF6C,CAAtB,CAApC;AAIO,IAAkBC,eAAlB,GAAsCH,cAAtC,CAAQI,QAAR;;AACP,OAAO,IAAMC,iBAAiB,GAAG,SAApBA,iBAAoB;EAAA,OAAMN,UAAU,CAACC,cAAD,CAAhB;AAAA,CAA1B"}
File without changes
File without changes
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Tab/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAd;AACA,cAAc,WAAd;AACA,cAAc,OAAd;AACA,cAAc,aAAd;AACA,cAAc,YAAd","sourcesContent":["export * from './Tabs';\nexport * from './TabList';\nexport * from './Tab';\nexport * from './TabPanels';\nexport * from './TabPanel';\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../src/Tab/index.ts"],"sourcesContent":["export * from './Tabs';\nexport * from './TabList';\nexport * from './Tab';\nexport * from './TabPanels';\nexport * from './TabPanel';\n"],"mappings":"AAAA,cAAc,QAAd;AACA,cAAc,WAAd;AACA,cAAc,OAAd;AACA,cAAc,aAAd;AACA,cAAc,YAAd"}
@@ -4,4 +4,4 @@ export interface TabIndicatorProps extends BoxProps {
4
4
  selected?: boolean;
5
5
  color?: string;
6
6
  }
7
- export declare const TabIndicator: import("react").ForwardRefExoticComponent<Pick<TabIndicatorProps, "children" | "p" | "slot" | "style" | "title" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "boxShadow" | "color" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "zIndex" | "background" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "gridColumnGap" | "gridGap" | "gridRowGap" | "hidden" | "as" | "sx" | "__css" | "variant" | "tx" | "theme" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size" | "bg" | "borderX" | "borderY" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "selected"> & import("react").RefAttributes<HTMLDivElement>>;
7
+ export declare const TabIndicator: import("react").ForwardRefExoticComponent<Pick<TabIndicatorProps, "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "color" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "background" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "variant" | "size" | "hidden" | "as" | "sx" | "__css" | "tx" | "theme" | "borderX" | "borderY" | "gridGap" | "gridColumnGap" | "gridRowGap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "selected"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,9 +1,11 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["as", "selected", "color"];
3
4
  import { forwardRef, useEffect, useRef, useLayoutEffect } from 'react';
4
5
  import { assignMultipleRefs } from '@basic-ui/core';
5
6
  import { Box } from '../Box';
6
7
  import { useTabIndicatorContext } from './context';
8
+ import { EASING_STANDARD } from '../motion';
7
9
  import { jsx as _jsx } from "react/jsx-runtime";
8
10
  var useEnhancedEffect = typeof window !== 'undefined' ? useLayoutEffect : useEffect;
9
11
  export var TabIndicator = /*#__PURE__*/forwardRef(function TabIndicator(props, forwardedRef) {
@@ -12,7 +14,7 @@ export var TabIndicator = /*#__PURE__*/forwardRef(function TabIndicator(props, f
12
14
  selected = props.selected,
13
15
  _props$color = props.color,
14
16
  color = _props$color === void 0 ? 'primary' : _props$color,
15
- otherProps = _objectWithoutProperties(props, ["as", "selected", "color"]);
17
+ otherProps = _objectWithoutProperties(props, _excluded);
16
18
 
17
19
  var ref = useRef(null);
18
20
 
@@ -53,7 +55,7 @@ export var TabIndicator = /*#__PURE__*/forwardRef(function TabIndicator(props, f
53
55
  transform: "scale(1)",
54
56
  opacity: selected ? 1 : 0,
55
57
  transformOrigin: 'left',
56
- transition: 'transform .25s cubic-bezier(.4,0,.2,1)',
58
+ transition: "transform .25s ".concat(EASING_STANDARD),
57
59
  zIndex: 1
58
60
  }
59
61
  }, otherProps));
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/TabIndicator/TabIndicator.tsx"],"names":["forwardRef","useEffect","useRef","useLayoutEffect","assignMultipleRefs","Box","useTabIndicatorContext","useEnhancedEffect","window","TabIndicator","props","forwardedRef","as","selected","color","otherProps","ref","currentIndicator","current","previousClientRect","getBoundingClientRect","currentClientRect","widthDelta","width","xPosition","left","prevTransition","style","transition","prevTransform","transform","bg","position","bottom","opacity","transformOrigin","zIndex"],"mappings":";;AAAA,SAASA,UAAT,EAAqBC,SAArB,EAAgCC,MAAhC,EAAwCC,eAAxC,QAA+D,OAA/D;AAEA,SAASC,kBAAT,QAAmC,gBAAnC;AAGA,SAASC,GAAT,QAAoB,QAApB;AACA,SAASC,sBAAT,QAAuC,WAAvC;;AAOA,IAAMC,iBAAiB,GACrB,OAAOC,MAAP,KAAkB,WAAlB,GAAgCL,eAAhC,GAAkDF,SADpD;AAGA,OAAO,IAAMQ,YAAY,gBAAGT,UAAU,CACpC,SAASS,YAAT,CAAsBC,KAAtB,EAA6BC,YAA7B,EAA2C;AAAA,kBAC2BD,KAD3B,CACjCE,EADiC;AAAA,MACjCA,EADiC,0BAC5B,MAD4B;AAAA,MACpBC,QADoB,GAC2BH,KAD3B,CACpBG,QADoB;AAAA,qBAC2BH,KAD3B,CACVI,KADU;AAAA,MACVA,KADU,6BACF,SADE;AAAA,MACYC,UADZ,4BAC2BL,KAD3B;;AAEzC,MAAMM,GAAG,GAAGd,MAAM,CAAkB,IAAlB,CAAlB;;AAFyC,8BAGZI,sBAAsB,EAHV;AAAA,MAGjCW,gBAHiC,yBAGjCA,gBAHiC;;AAKzCV,EAAAA,iBAAiB,CAAC,YAAM;AACtB,QAAIM,QAAQ,IAAIG,GAAG,CAACE,OAApB,EAA6B;AAC3B,UAAID,gBAAgB,CAACC,OAAjB,KAA6B,IAAjC,EAAuC;AACrC;AACA,YAAMC,kBAAkB,GACtBF,gBAAgB,CAACC,OAAjB,CAAyBE,qBAAzB,EADF;AAEA,YAAMC,iBAAiB,GAAGL,GAAG,CAACE,OAAJ,CAAYE,qBAAZ,EAA1B;AACA,YAAME,UAAU,GAAGH,kBAAkB,CAACI,KAAnB,GAA2BF,iBAAiB,CAACE,KAAhE;AACA,YAAMC,SAAS,GAAGL,kBAAkB,CAACM,IAAnB,GAA0BJ,iBAAiB,CAACI,IAA9D;AAEA,YAAMC,cAAc,GAAGV,GAAG,CAACE,OAAJ,CAAYS,KAAZ,CAAkBC,UAAzC;AACA,YAAMC,aAAa,GAAGb,GAAG,CAACE,OAAJ,CAAYS,KAAZ,CAAkBG,SAAxC;AACAd,QAAAA,GAAG,CAACE,OAAJ,CAAYS,KAAZ,CAAkBC,UAAlB,GAA+B,MAA/B;AACAZ,QAAAA,GAAG,CAACE,OAAJ,CAAYS,KAAZ,CAAkBG,SAAlB,wBAA4CN,SAA5C,wBAAmEF,UAAnE,OAXqC,CAarC;;AACAN,QAAAA,GAAG,CAACE,OAAJ,CAAYE,qBAAZ,GAdqC,CAgBrC;;AACAJ,QAAAA,GAAG,CAACE,OAAJ,CAAYS,KAAZ,CAAkBC,UAAlB,GAA+BF,cAA/B;AACAV,QAAAA,GAAG,CAACE,OAAJ,CAAYS,KAAZ,CAAkBG,SAAlB,GAA8BD,aAA9B;AACD;;AACDZ,MAAAA,gBAAgB,CAACC,OAAjB,GAA2BF,GAAG,CAACE,OAA/B;AACD;AACF,GAxBgB,EAwBd,CAACL,QAAD,CAxBc,CAAjB;AA0BA,sBACE,KAAC,GAAD;AACE,IAAA,EAAE,EAAED,EADN;AAEE,IAAA,GAAG,EAAER,kBAAkB,CAACY,GAAD,EAAML,YAAN,CAFzB;AAGE,IAAA,KAAK,EAAC,MAHR;AAIE,IAAA,MAAM,YAJR;AAKE,IAAA,KAAK,EAAE;AACLoB,MAAAA,EAAE,EAAEjB,KADC;AAELkB,MAAAA,QAAQ,EAAE,UAFL;AAGLC,MAAAA,MAAM,EAAE,CAHH;AAILH,MAAAA,SAAS,YAJJ;AAKLI,MAAAA,OAAO,EAAErB,QAAQ,GAAG,CAAH,GAAO,CALnB;AAMLsB,MAAAA,eAAe,EAAE,MANZ;AAOLP,MAAAA,UAAU,EAAE,wCAPP;AAQLQ,MAAAA,MAAM,EAAE;AARH;AALT,KAeMrB,UAfN,EADF;AAmBD,CAnDmC,CAA/B","sourcesContent":["import { forwardRef, useEffect, useRef, useLayoutEffect } from 'react';\nimport { rem } from 'polished';\nimport { assignMultipleRefs } from '@basic-ui/core';\n\nimport type { BoxProps } from '../Box';\nimport { Box } from '../Box';\nimport { useTabIndicatorContext } from './context';\n\nexport interface TabIndicatorProps extends BoxProps {\n selected?: boolean;\n color?: string;\n}\n\nconst useEnhancedEffect =\n typeof window !== 'undefined' ? useLayoutEffect : useEffect;\n\nexport const TabIndicator = forwardRef<HTMLDivElement, TabIndicatorProps>(\n function TabIndicator(props, forwardedRef) {\n const { as = 'span', selected, color = 'primary', ...otherProps } = props;\n const ref = useRef<HTMLSpanElement>(null);\n const { currentIndicator } = useTabIndicatorContext();\n\n useEnhancedEffect(() => {\n if (selected && ref.current) {\n if (currentIndicator.current !== null) {\n // We are switching indicator, let's slide!\n const previousClientRect =\n currentIndicator.current.getBoundingClientRect();\n const currentClientRect = ref.current.getBoundingClientRect();\n const widthDelta = previousClientRect.width / currentClientRect.width;\n const xPosition = previousClientRect.left - currentClientRect.left;\n\n const prevTransition = ref.current.style.transition;\n const prevTransform = ref.current.style.transform;\n ref.current.style.transition = 'none';\n ref.current.style.transform = `translateX(${xPosition}px) scaleX(${widthDelta})`;\n\n // Force repaint before updating classes and transform to ensure the transform properly takes effect\n ref.current.getBoundingClientRect();\n\n // Restore and let transition do it's magic\n ref.current.style.transition = prevTransition;\n ref.current.style.transform = prevTransform;\n }\n currentIndicator.current = ref.current;\n }\n }, [selected]);\n\n return (\n <Box\n as={as}\n ref={assignMultipleRefs(ref, forwardedRef)}\n width=\"100%\"\n height={rem(2)}\n __css={{\n bg: color,\n position: 'absolute',\n bottom: 0,\n transform: `scale(1)`,\n opacity: selected ? 1 : 0,\n transformOrigin: 'left',\n transition: 'transform .25s cubic-bezier(.4,0,.2,1)',\n zIndex: 1,\n }}\n {...otherProps}\n />\n );\n }\n);\n"],"file":"TabIndicator.js"}
1
+ {"version":3,"file":"TabIndicator.js","names":["forwardRef","useEffect","useRef","useLayoutEffect","assignMultipleRefs","Box","useTabIndicatorContext","EASING_STANDARD","useEnhancedEffect","window","TabIndicator","props","forwardedRef","as","selected","color","otherProps","ref","currentIndicator","current","previousClientRect","getBoundingClientRect","currentClientRect","widthDelta","width","xPosition","left","prevTransition","style","transition","prevTransform","transform","bg","position","bottom","opacity","transformOrigin","zIndex"],"sources":["../../../src/TabIndicator/TabIndicator.tsx"],"sourcesContent":["import { forwardRef, useEffect, useRef, useLayoutEffect } from 'react';\nimport { rem } from 'polished';\nimport { assignMultipleRefs } from '@basic-ui/core';\n\nimport type { BoxProps } from '../Box';\nimport { Box } from '../Box';\nimport { useTabIndicatorContext } from './context';\nimport { EASING_STANDARD } from '../motion';\n\nexport interface TabIndicatorProps extends BoxProps {\n selected?: boolean;\n color?: string;\n}\n\nconst useEnhancedEffect =\n typeof window !== 'undefined' ? useLayoutEffect : useEffect;\n\nexport const TabIndicator = forwardRef<HTMLDivElement, TabIndicatorProps>(\n function TabIndicator(props, forwardedRef) {\n const { as = 'span', selected, color = 'primary', ...otherProps } = props;\n const ref = useRef<HTMLSpanElement>(null);\n const { currentIndicator } = useTabIndicatorContext();\n\n useEnhancedEffect(() => {\n if (selected && ref.current) {\n if (currentIndicator.current !== null) {\n // We are switching indicator, let's slide!\n const previousClientRect =\n currentIndicator.current.getBoundingClientRect();\n const currentClientRect = ref.current.getBoundingClientRect();\n const widthDelta = previousClientRect.width / currentClientRect.width;\n const xPosition = previousClientRect.left - currentClientRect.left;\n\n const prevTransition = ref.current.style.transition;\n const prevTransform = ref.current.style.transform;\n ref.current.style.transition = 'none';\n ref.current.style.transform = `translateX(${xPosition}px) scaleX(${widthDelta})`;\n\n // Force repaint before updating classes and transform to ensure the transform properly takes effect\n ref.current.getBoundingClientRect();\n\n // Restore and let transition do it's magic\n ref.current.style.transition = prevTransition;\n ref.current.style.transform = prevTransform;\n }\n currentIndicator.current = ref.current;\n }\n }, [selected]);\n\n return (\n <Box\n as={as}\n ref={assignMultipleRefs(ref, forwardedRef)}\n width=\"100%\"\n height={rem(2)}\n __css={{\n bg: color,\n position: 'absolute',\n bottom: 0,\n transform: `scale(1)`,\n opacity: selected ? 1 : 0,\n transformOrigin: 'left',\n transition: `transform .25s ${EASING_STANDARD}`,\n zIndex: 1,\n }}\n {...otherProps}\n />\n );\n }\n);\n"],"mappings":";;;AAAA,SAASA,UAAT,EAAqBC,SAArB,EAAgCC,MAAhC,EAAwCC,eAAxC,QAA+D,OAA/D;AAEA,SAASC,kBAAT,QAAmC,gBAAnC;AAGA,SAASC,GAAT,QAAoB,QAApB;AACA,SAASC,sBAAT,QAAuC,WAAvC;AACA,SAASC,eAAT,QAAgC,WAAhC;;AAOA,IAAMC,iBAAiB,GACrB,OAAOC,MAAP,KAAkB,WAAlB,GAAgCN,eAAhC,GAAkDF,SADpD;AAGA,OAAO,IAAMS,YAAY,gBAAGV,UAAU,CACpC,SAASU,YAAT,CAAsBC,KAAtB,EAA6BC,YAA7B,EAA2C;EACzC,gBAAoED,KAApE,CAAQE,EAAR;EAAA,IAAQA,EAAR,0BAAa,MAAb;EAAA,IAAqBC,QAArB,GAAoEH,KAApE,CAAqBG,QAArB;EAAA,mBAAoEH,KAApE,CAA+BI,KAA/B;EAAA,IAA+BA,KAA/B,6BAAuC,SAAvC;EAAA,IAAqDC,UAArD,4BAAoEL,KAApE;;EACA,IAAMM,GAAG,GAAGf,MAAM,CAAkB,IAAlB,CAAlB;;EACA,4BAA6BI,sBAAsB,EAAnD;EAAA,IAAQY,gBAAR,yBAAQA,gBAAR;;EAEAV,iBAAiB,CAAC,YAAM;IACtB,IAAIM,QAAQ,IAAIG,GAAG,CAACE,OAApB,EAA6B;MAC3B,IAAID,gBAAgB,CAACC,OAAjB,KAA6B,IAAjC,EAAuC;QACrC;QACA,IAAMC,kBAAkB,GACtBF,gBAAgB,CAACC,OAAjB,CAAyBE,qBAAzB,EADF;QAEA,IAAMC,iBAAiB,GAAGL,GAAG,CAACE,OAAJ,CAAYE,qBAAZ,EAA1B;QACA,IAAME,UAAU,GAAGH,kBAAkB,CAACI,KAAnB,GAA2BF,iBAAiB,CAACE,KAAhE;QACA,IAAMC,SAAS,GAAGL,kBAAkB,CAACM,IAAnB,GAA0BJ,iBAAiB,CAACI,IAA9D;QAEA,IAAMC,cAAc,GAAGV,GAAG,CAACE,OAAJ,CAAYS,KAAZ,CAAkBC,UAAzC;QACA,IAAMC,aAAa,GAAGb,GAAG,CAACE,OAAJ,CAAYS,KAAZ,CAAkBG,SAAxC;QACAd,GAAG,CAACE,OAAJ,CAAYS,KAAZ,CAAkBC,UAAlB,GAA+B,MAA/B;QACAZ,GAAG,CAACE,OAAJ,CAAYS,KAAZ,CAAkBG,SAAlB,wBAA4CN,SAA5C,wBAAmEF,UAAnE,OAXqC,CAarC;;QACAN,GAAG,CAACE,OAAJ,CAAYE,qBAAZ,GAdqC,CAgBrC;;QACAJ,GAAG,CAACE,OAAJ,CAAYS,KAAZ,CAAkBC,UAAlB,GAA+BF,cAA/B;QACAV,GAAG,CAACE,OAAJ,CAAYS,KAAZ,CAAkBG,SAAlB,GAA8BD,aAA9B;MACD;;MACDZ,gBAAgB,CAACC,OAAjB,GAA2BF,GAAG,CAACE,OAA/B;IACD;EACF,CAxBgB,EAwBd,CAACL,QAAD,CAxBc,CAAjB;EA0BA,oBACE,KAAC,GAAD;IACE,EAAE,EAAED,EADN;IAEE,GAAG,EAAET,kBAAkB,CAACa,GAAD,EAAML,YAAN,CAFzB;IAGE,KAAK,EAAC,MAHR;IAIE,MAAM,YAJR;IAKE,KAAK,EAAE;MACLoB,EAAE,EAAEjB,KADC;MAELkB,QAAQ,EAAE,UAFL;MAGLC,MAAM,EAAE,CAHH;MAILH,SAAS,YAJJ;MAKLI,OAAO,EAAErB,QAAQ,GAAG,CAAH,GAAO,CALnB;MAMLsB,eAAe,EAAE,MANZ;MAOLP,UAAU,2BAAoBtB,eAApB,CAPL;MAQL8B,MAAM,EAAE;IARH;EALT,GAeMrB,UAfN,EADF;AAmBD,CAnDmC,CAA/B"}
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import type { MutableRefObject } from 'react';
2
2
  export interface TabIndicatorContextProps {
3
- currentIndicator: React.MutableRefObject<HTMLSpanElement | null>;
3
+ currentIndicator: MutableRefObject<HTMLSpanElement | null>;
4
4
  }
5
5
  export declare const TabIndicatorProvider: import("react").Provider<TabIndicatorContextProps>;
6
6
  export declare const useTabIndicatorContext: () => TabIndicatorContextProps;
File without changes
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/TabIndicator/context.ts"],"names":["createContext","useContext","TabIndicatorContext","currentIndicator","current","TabIndicatorProvider","Provider","useTabIndicatorContext"],"mappings":"AAAA,SAASA,aAAT,EAAwBC,UAAxB,QAA0C,OAA1C,C,CAEA;;AAKA,IAAMC,mBAAmB,gBAAGF,aAAa,CAA2B;AAClEG,EAAAA,gBAAgB,EAAE;AAAEC,IAAAA,OAAO,EAAE;AAAX;AADgD,CAA3B,CAAzC;IAGyBC,oB,GAAyBH,mB,CAAnCI,Q;;AACf,OAAO,IAAMC,sBAAsB,GAAG,SAAzBA,sBAAyB;AAAA,SAAMN,UAAU,CAACC,mBAAD,CAAhB;AAAA,CAA/B","sourcesContent":["import { createContext, useContext } from 'react';\n\n// TabIndicator Component\nexport interface TabIndicatorContextProps {\n currentIndicator: React.MutableRefObject<HTMLSpanElement | null>;\n}\n\nconst TabIndicatorContext = createContext<TabIndicatorContextProps>({\n currentIndicator: { current: null },\n});\nexport const { Provider: TabIndicatorProvider } = TabIndicatorContext;\nexport const useTabIndicatorContext = () => useContext(TabIndicatorContext);\n"],"file":"context.js"}
1
+ {"version":3,"file":"context.js","names":["createContext","useContext","TabIndicatorContext","currentIndicator","current","TabIndicatorProvider","Provider","useTabIndicatorContext"],"sources":["../../../src/TabIndicator/context.ts"],"sourcesContent":["import type { MutableRefObject } from 'react';\nimport { createContext, useContext } from 'react';\n\n// TabIndicator Component\nexport interface TabIndicatorContextProps {\n currentIndicator: MutableRefObject<HTMLSpanElement | null>;\n}\n\nconst TabIndicatorContext = createContext<TabIndicatorContextProps>({\n currentIndicator: { current: null },\n});\nexport const { Provider: TabIndicatorProvider } = TabIndicatorContext;\nexport const useTabIndicatorContext = () => useContext(TabIndicatorContext);\n"],"mappings":"AACA,SAASA,aAAT,EAAwBC,UAAxB,QAA0C,OAA1C,C,CAEA;;AAKA,IAAMC,mBAAmB,gBAAGF,aAAa,CAA2B;EAClEG,gBAAgB,EAAE;IAAEC,OAAO,EAAE;EAAX;AADgD,CAA3B,CAAzC;AAGO,IAAkBC,oBAAlB,GAA2CH,mBAA3C,CAAQI,QAAR;;AACP,OAAO,IAAMC,sBAAsB,GAAG,SAAzBA,sBAAyB;EAAA,OAAMN,UAAU,CAACC,mBAAD,CAAhB;AAAA,CAA/B"}
File without changes
File without changes
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/TabIndicator/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAd;AACA,cAAc,WAAd","sourcesContent":["export * from './TabIndicator';\nexport * from './context';\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../src/TabIndicator/index.ts"],"sourcesContent":["export * from './TabIndicator';\nexport * from './context';\n"],"mappings":"AAAA,cAAc,gBAAd;AACA,cAAc,WAAd"}
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import type { PaperProps } from '../Paper';
3
3
  export declare type TableProps = PaperProps;
4
- export declare const Table: import("react").ForwardRefExoticComponent<Pick<PaperProps, "children" | "p" | "slot" | "style" | "title" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "boxShadow" | "color" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "zIndex" | "background" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "gridColumnGap" | "gridGap" | "gridRowGap" | "hidden" | "as" | "sx" | "__css" | "variant" | "tx" | "theme" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size" | "bg" | "borderX" | "borderY" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "elevation" | "outlined" | "backgroundOverlay" | "darkThemeBackgroundOverlay"> & import("react").RefAttributes<HTMLDivElement>>;
4
+ export declare const Table: import("react").ForwardRefExoticComponent<Pick<PaperProps, "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "color" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "background" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "variant" | "size" | "elevation" | "hidden" | "as" | "sx" | "__css" | "tx" | "theme" | "borderX" | "borderY" | "gridGap" | "gridColumnGap" | "gridRowGap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "outlined" | "backgroundOverlay" | "darkThemeBackgroundOverlay" | "key"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["children", "elevation"];
3
4
  import { forwardRef } from 'react';
4
5
  import { Paper } from '../Paper';
5
6
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -7,9 +8,9 @@ export var Table = /*#__PURE__*/forwardRef(function (props, ref) {
7
8
  var children = props.children,
8
9
  _props$elevation = props.elevation,
9
10
  elevation = _props$elevation === void 0 ? 1 : _props$elevation,
10
- rest = _objectWithoutProperties(props, ["children", "elevation"]);
11
+ rest = _objectWithoutProperties(props, _excluded);
11
12
 
12
- return /*#__PURE__*/_jsx(Paper, _extends({
13
+ return /*#__PURE__*/_jsx(Paper, _extends(_extends({
13
14
  ref: ref,
14
15
  role: "table",
15
16
  display: "flex",
@@ -17,7 +18,7 @@ export var Table = /*#__PURE__*/forwardRef(function (props, ref) {
17
18
  flexDirection: "column",
18
19
  elevation: elevation,
19
20
  darkThemeBackgroundOverlay: elevation
20
- }, rest, {
21
+ }, rest), {}, {
21
22
  children: children
22
23
  }));
23
24
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Table/Table.tsx"],"names":["forwardRef","Paper","Table","props","ref","children","elevation","rest"],"mappings":";;AAAA,SAASA,UAAT,QAA2B,OAA3B;AAGA,SAASC,KAAT,QAAsB,UAAtB;;AAIA,OAAO,IAAMC,KAAK,gBAAGF,UAAU,CAA6B,UAACG,KAAD,EAAQC,GAAR,EAAgB;AAAA,MAClEC,QADkE,GAC7BF,KAD6B,CAClEE,QADkE;AAAA,yBAC7BF,KAD6B,CACxDG,SADwD;AAAA,MACxDA,SADwD,iCAC5C,CAD4C;AAAA,MACtCC,IADsC,4BAC7BJ,KAD6B;;AAG1E,sBACE,KAAC,KAAD;AACE,IAAA,GAAG,EAAEC,GADP;AAEE,IAAA,IAAI,EAAC,OAFP;AAGE,IAAA,OAAO,EAAC,MAHV;AAIE,IAAA,KAAK,EAAC,MAJR;AAKE,IAAA,aAAa,EAAC,QALhB;AAME,IAAA,SAAS,EAAEE,SANb;AAOE,IAAA,0BAA0B,EAAEA;AAP9B,KAQMC,IARN;AAAA,cAUGF;AAVH,KADF;AAcD,CAjB8B,CAAxB","sourcesContent":["import { forwardRef } from 'react';\n\nimport type { PaperProps } from '../Paper';\nimport { Paper } from '../Paper';\n\nexport type TableProps = PaperProps;\n\nexport const Table = forwardRef<HTMLDivElement, TableProps>((props, ref) => {\n const { children, elevation = 1, ...rest } = props;\n\n return (\n <Paper\n ref={ref}\n role=\"table\"\n display=\"flex\"\n width=\"100%\"\n flexDirection=\"column\"\n elevation={elevation}\n darkThemeBackgroundOverlay={elevation}\n {...rest}\n >\n {children}\n </Paper>\n );\n});\n"],"file":"Table.js"}
1
+ {"version":3,"file":"Table.js","names":["forwardRef","Paper","Table","props","ref","children","elevation","rest"],"sources":["../../../src/Table/Table.tsx"],"sourcesContent":["import { forwardRef } from 'react';\n\nimport type { PaperProps } from '../Paper';\nimport { Paper } from '../Paper';\n\nexport type TableProps = PaperProps;\n\nexport const Table = forwardRef<HTMLDivElement, TableProps>((props, ref) => {\n const { children, elevation = 1, ...rest } = props;\n\n return (\n <Paper\n ref={ref}\n role=\"table\"\n display=\"flex\"\n width=\"100%\"\n flexDirection=\"column\"\n elevation={elevation}\n darkThemeBackgroundOverlay={elevation}\n {...rest}\n >\n {children}\n </Paper>\n );\n});\n"],"mappings":";;;AAAA,SAASA,UAAT,QAA2B,OAA3B;AAGA,SAASC,KAAT,QAAsB,UAAtB;;AAIA,OAAO,IAAMC,KAAK,gBAAGF,UAAU,CAA6B,UAACG,KAAD,EAAQC,GAAR,EAAgB;EAC1E,IAAQC,QAAR,GAA6CF,KAA7C,CAAQE,QAAR;EAAA,uBAA6CF,KAA7C,CAAkBG,SAAlB;EAAA,IAAkBA,SAAlB,iCAA8B,CAA9B;EAAA,IAAoCC,IAApC,4BAA6CJ,KAA7C;;EAEA,oBACE,KAAC,KAAD;IACE,GAAG,EAAEC,GADP;IAEE,IAAI,EAAC,OAFP;IAGE,OAAO,EAAC,MAHV;IAIE,KAAK,EAAC,MAJR;IAKE,aAAa,EAAC,QALhB;IAME,SAAS,EAAEE,SANb;IAOE,0BAA0B,EAAEA;EAP9B,GAQMC,IARN;IAAA,UAUGF;EAVH,GADF;AAcD,CAjB8B,CAAxB"}
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import type { BoxProps } from '../Box';
3
3
  export declare type TableBodyProps = BoxProps;
4
- export declare const TableBody: import("react").ForwardRefExoticComponent<Pick<TableBodyProps, "children" | "slot" | "style" | "title" | "translate" | "hidden" | keyof import("../Box").BaseProps | keyof import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> | keyof import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> | keyof import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> | keyof import("styled-system").GridProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").BackgroundProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Background<import("styled-system").TLengthStyledSystem>> | keyof import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").ShadowProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key"> & import("react").RefAttributes<HTMLDivElement>>;
4
+ export declare const TableBody: import("react").ForwardRefExoticComponent<Pick<TableBodyProps, "translate" | "hidden" | keyof import("../Box").BaseProps | keyof import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> | keyof import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> | keyof import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> | keyof import("styled-system").GridProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").BackgroundProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Background<import("styled-system").TLengthStyledSystem>> | keyof import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").ShadowProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,16 +1,17 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["children"];
3
4
  import { forwardRef } from 'react';
4
5
  import { Box } from '../Box';
5
6
  import { jsx as _jsx } from "react/jsx-runtime";
6
7
  export var TableBody = /*#__PURE__*/forwardRef(function (props, ref) {
7
8
  var children = props.children,
8
- rest = _objectWithoutProperties(props, ["children"]);
9
+ rest = _objectWithoutProperties(props, _excluded);
9
10
 
10
- return /*#__PURE__*/_jsx(Box, _extends({
11
+ return /*#__PURE__*/_jsx(Box, _extends(_extends({
11
12
  ref: ref,
12
13
  role: "rowgroup"
13
- }, rest, {
14
+ }, rest), {}, {
14
15
  children: children
15
16
  }));
16
17
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Table/TableBody.tsx"],"names":["forwardRef","Box","TableBody","props","ref","children","rest"],"mappings":";;AAAA,SAASA,UAAT,QAA2B,OAA3B;AAGA,SAASC,GAAT,QAAoB,QAApB;;AAIA,OAAO,IAAMC,SAAS,gBAAGF,UAAU,CACjC,UAACG,KAAD,EAAQC,GAAR,EAAgB;AAAA,MACNC,QADM,GACgBF,KADhB,CACNE,QADM;AAAA,MACOC,IADP,4BACgBH,KADhB;;AAEd,sBACE,KAAC,GAAD;AAAK,IAAA,GAAG,EAAEC,GAAV;AAAe,IAAA,IAAI,EAAC;AAApB,KAAmCE,IAAnC;AAAA,cACGD;AADH,KADF;AAKD,CARgC,CAA5B","sourcesContent":["import { forwardRef } from 'react';\n\nimport type { BoxProps } from '../Box';\nimport { Box } from '../Box';\n\nexport type TableBodyProps = BoxProps;\n\nexport const TableBody = forwardRef<HTMLDivElement, TableBodyProps>(\n (props, ref) => {\n const { children, ...rest } = props;\n return (\n <Box ref={ref} role=\"rowgroup\" {...rest}>\n {children}\n </Box>\n );\n }\n);\n"],"file":"TableBody.js"}
1
+ {"version":3,"file":"TableBody.js","names":["forwardRef","Box","TableBody","props","ref","children","rest"],"sources":["../../../src/Table/TableBody.tsx"],"sourcesContent":["import { forwardRef } from 'react';\n\nimport type { BoxProps } from '../Box';\nimport { Box } from '../Box';\n\nexport type TableBodyProps = BoxProps;\n\nexport const TableBody = forwardRef<HTMLDivElement, TableBodyProps>(\n (props, ref) => {\n const { children, ...rest } = props;\n return (\n <Box ref={ref} role=\"rowgroup\" {...rest}>\n {children}\n </Box>\n );\n }\n);\n"],"mappings":";;;AAAA,SAASA,UAAT,QAA2B,OAA3B;AAGA,SAASC,GAAT,QAAoB,QAApB;;AAIA,OAAO,IAAMC,SAAS,gBAAGF,UAAU,CACjC,UAACG,KAAD,EAAQC,GAAR,EAAgB;EACd,IAAQC,QAAR,GAA8BF,KAA9B,CAAQE,QAAR;EAAA,IAAqBC,IAArB,4BAA8BH,KAA9B;;EACA,oBACE,KAAC,GAAD;IAAK,GAAG,EAAEC,GAAV;IAAe,IAAI,EAAC;EAApB,GAAmCE,IAAnC;IAAA,UACGD;EADH,GADF;AAKD,CARgC,CAA5B"}
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import type { BoxProps } from '../Box';
3
3
  export declare type TableCellProps = BoxProps;
4
- export declare const TableCell: import("react").ForwardRefExoticComponent<Pick<TableCellProps, "children" | "slot" | "style" | "title" | "translate" | "hidden" | keyof import("../Box").BaseProps | keyof import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> | keyof import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> | keyof import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> | keyof import("styled-system").GridProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").BackgroundProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Background<import("styled-system").TLengthStyledSystem>> | keyof import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").ShadowProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key"> & import("react").RefAttributes<HTMLDivElement>>;
4
+ export declare const TableCell: import("react").ForwardRefExoticComponent<Pick<TableCellProps, "translate" | "hidden" | keyof import("../Box").BaseProps | keyof import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> | keyof import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> | keyof import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> | keyof import("styled-system").GridProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").BackgroundProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Background<import("styled-system").TLengthStyledSystem>> | keyof import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").ShadowProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["children", "__css"];
3
4
  import { forwardRef } from 'react';
4
5
  import { Box } from '../Box';
5
6
  import { useTableHeadContext } from './context';
@@ -7,10 +8,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
7
8
  export var TableCell = /*#__PURE__*/forwardRef(function (props, ref) {
8
9
  var children = props.children,
9
10
  __css = props.__css,
10
- rest = _objectWithoutProperties(props, ["children", "__css"]);
11
+ rest = _objectWithoutProperties(props, _excluded);
11
12
 
12
13
  var isHeadCell = useTableHeadContext();
13
- return /*#__PURE__*/_jsx(Box, _extends({
14
+ return /*#__PURE__*/_jsx(Box, _extends(_extends({
14
15
  ref: ref,
15
16
  px: 1,
16
17
  py: 3,
@@ -22,7 +23,7 @@ export var TableCell = /*#__PURE__*/forwardRef(function (props, ref) {
22
23
  fontWeight: isHeadCell ? 'medium' : undefined,
23
24
  color: 'on.surface'
24
25
  }, __css)
25
- }, rest, {
26
+ }, rest), {}, {
26
27
  children: children
27
28
  }));
28
29
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Table/TableCell.tsx"],"names":["forwardRef","Box","useTableHeadContext","TableCell","props","ref","children","__css","rest","isHeadCell","whiteSpace","overflow","textOverflow","fontWeight","undefined","color"],"mappings":";;AAAA,SAASA,UAAT,QAA2B,OAA3B;AAGA,SAASC,GAAT,QAAoB,QAApB;AACA,SAASC,mBAAT,QAAoC,WAApC;;AAIA,OAAO,IAAMC,SAAS,gBAAGH,UAAU,CACjC,UAACI,KAAD,EAAQC,GAAR,EAAgB;AAAA,MACNC,QADM,GACuBF,KADvB,CACNE,QADM;AAAA,MACIC,KADJ,GACuBH,KADvB,CACIG,KADJ;AAAA,MACcC,IADd,4BACuBJ,KADvB;;AAEd,MAAMK,UAAU,GAAGP,mBAAmB,EAAtC;AAEA,sBACE,KAAC,GAAD;AACE,IAAA,GAAG,EAAEG,GADP;AAEE,IAAA,EAAE,EAAE,CAFN;AAGE,IAAA,EAAE,EAAE,CAHN;AAIE,IAAA,IAAI,EAAEI,UAAU,GAAG,cAAH,GAAoB,MAJtC;AAKE,IAAA,KAAK;AACHC,MAAAA,UAAU,EAAE,QADT;AAEHC,MAAAA,QAAQ,EAAE,QAFP;AAGHC,MAAAA,YAAY,EAAE,UAHX;AAIHC,MAAAA,UAAU,EAAEJ,UAAU,GAAG,QAAH,GAAcK,SAJjC;AAKHC,MAAAA,KAAK,EAAE;AALJ,OAMAR,KANA;AALP,KAaMC,IAbN;AAAA,cAeGF;AAfH,KADF;AAmBD,CAxBgC,CAA5B","sourcesContent":["import { forwardRef } from 'react';\n\nimport type { BoxProps } from '../Box';\nimport { Box } from '../Box';\nimport { useTableHeadContext } from './context';\n\nexport type TableCellProps = BoxProps;\n\nexport const TableCell = forwardRef<HTMLDivElement, TableCellProps>(\n (props, ref) => {\n const { children, __css, ...rest } = props;\n const isHeadCell = useTableHeadContext();\n\n return (\n <Box\n ref={ref}\n px={1}\n py={3}\n role={isHeadCell ? 'columnheader' : 'cell'}\n __css={{\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n fontWeight: isHeadCell ? 'medium' : undefined,\n color: 'on.surface',\n ...__css,\n }}\n {...rest}\n >\n {children}\n </Box>\n );\n }\n);\n"],"file":"TableCell.js"}
1
+ {"version":3,"file":"TableCell.js","names":["forwardRef","Box","useTableHeadContext","TableCell","props","ref","children","__css","rest","isHeadCell","whiteSpace","overflow","textOverflow","fontWeight","undefined","color"],"sources":["../../../src/Table/TableCell.tsx"],"sourcesContent":["import { forwardRef } from 'react';\n\nimport type { BoxProps } from '../Box';\nimport { Box } from '../Box';\nimport { useTableHeadContext } from './context';\n\nexport type TableCellProps = BoxProps;\n\nexport const TableCell = forwardRef<HTMLDivElement, TableCellProps>(\n (props, ref) => {\n const { children, __css, ...rest } = props;\n const isHeadCell = useTableHeadContext();\n\n return (\n <Box\n ref={ref}\n px={1}\n py={3}\n role={isHeadCell ? 'columnheader' : 'cell'}\n __css={{\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n fontWeight: isHeadCell ? 'medium' : undefined,\n color: 'on.surface',\n ...__css,\n }}\n {...rest}\n >\n {children}\n </Box>\n );\n }\n);\n"],"mappings":";;;AAAA,SAASA,UAAT,QAA2B,OAA3B;AAGA,SAASC,GAAT,QAAoB,QAApB;AACA,SAASC,mBAAT,QAAoC,WAApC;;AAIA,OAAO,IAAMC,SAAS,gBAAGH,UAAU,CACjC,UAACI,KAAD,EAAQC,GAAR,EAAgB;EACd,IAAQC,QAAR,GAAqCF,KAArC,CAAQE,QAAR;EAAA,IAAkBC,KAAlB,GAAqCH,KAArC,CAAkBG,KAAlB;EAAA,IAA4BC,IAA5B,4BAAqCJ,KAArC;;EACA,IAAMK,UAAU,GAAGP,mBAAmB,EAAtC;EAEA,oBACE,KAAC,GAAD;IACE,GAAG,EAAEG,GADP;IAEE,EAAE,EAAE,CAFN;IAGE,EAAE,EAAE,CAHN;IAIE,IAAI,EAAEI,UAAU,GAAG,cAAH,GAAoB,MAJtC;IAKE,KAAK;MACHC,UAAU,EAAE,QADT;MAEHC,QAAQ,EAAE,QAFP;MAGHC,YAAY,EAAE,UAHX;MAIHC,UAAU,EAAEJ,UAAU,GAAG,QAAH,GAAcK,SAJjC;MAKHC,KAAK,EAAE;IALJ,GAMAR,KANA;EALP,GAaMC,IAbN;IAAA,UAeGF;EAfH,GADF;AAmBD,CAxBgC,CAA5B"}