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

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 (477) hide show
  1. package/build/cjs/index.js +21 -17
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/esm/Alert/Alert.d.ts +2 -2
  4. package/build/esm/Alert/Alert.js +8 -8
  5. package/build/esm/Alert/Alert.js.map +1 -1
  6. package/build/esm/Alert/index.js +0 -0
  7. package/build/esm/AppBar/AppBar.d.ts +3 -3
  8. package/build/esm/AppBar/AppBar.js +24 -16
  9. package/build/esm/AppBar/AppBar.js.map +1 -1
  10. package/build/esm/AppBar/AppBarButton.d.ts +2 -2
  11. package/build/esm/AppBar/AppBarButton.js +8 -9
  12. package/build/esm/AppBar/AppBarButton.js.map +1 -1
  13. package/build/esm/AppBar/context.d.ts +1 -1
  14. package/build/esm/AppBar/context.js +6 -5
  15. package/build/esm/AppBar/context.js.map +1 -1
  16. package/build/esm/AppBar/index.js +0 -0
  17. package/build/esm/Badge/Badge.d.ts +2 -2
  18. package/build/esm/Badge/Badge.js +2 -2
  19. package/build/esm/Badge/Badge.js.map +1 -1
  20. package/build/esm/Badge/index.js +0 -0
  21. package/build/esm/BaseLine/BaseLine.js +4 -4
  22. package/build/esm/BaseLine/BaseLine.js.map +1 -1
  23. package/build/esm/BaseLine/index.js +0 -0
  24. package/build/esm/BottomSheet/BottomSheet.d.ts +2 -2
  25. package/build/esm/BottomSheet/BottomSheet.js +11 -13
  26. package/build/esm/BottomSheet/BottomSheet.js.map +1 -1
  27. package/build/esm/BottomSheet/BottomSheetSurface.d.ts +4 -4
  28. package/build/esm/BottomSheet/BottomSheetSurface.js +7 -8
  29. package/build/esm/BottomSheet/BottomSheetSurface.js.map +1 -1
  30. package/build/esm/BottomSheet/index.js +0 -0
  31. package/build/esm/Box/Box.d.ts +5 -5
  32. package/build/esm/Box/Box.js +27 -19
  33. package/build/esm/Box/Box.js.map +1 -1
  34. package/build/esm/Box/index.js +0 -0
  35. package/build/esm/Button/BaseButton.d.ts +3 -3
  36. package/build/esm/Button/BaseButton.js +11 -12
  37. package/build/esm/Button/BaseButton.js.map +1 -1
  38. package/build/esm/Button/Button.d.ts +3 -3
  39. package/build/esm/Button/Button.js +27 -22
  40. package/build/esm/Button/Button.js.map +1 -1
  41. package/build/esm/Button/ButtonGroup.d.ts +3 -3
  42. package/build/esm/Button/ButtonGroup.js +15 -12
  43. package/build/esm/Button/ButtonGroup.js.map +1 -1
  44. package/build/esm/Button/FilledButton.d.ts +2 -2
  45. package/build/esm/Button/FilledButton.js +57 -49
  46. package/build/esm/Button/FilledButton.js.map +1 -1
  47. package/build/esm/Button/FloatingActionButton.d.ts +1 -1
  48. package/build/esm/Button/FloatingActionButton.js +0 -0
  49. package/build/esm/Button/FloatingActionButton.js.map +1 -1
  50. package/build/esm/Button/IconButton.d.ts +1 -1
  51. package/build/esm/Button/IconButton.js +0 -0
  52. package/build/esm/Button/IconButton.js.map +1 -1
  53. package/build/esm/Button/OutlinedButton.d.ts +1 -1
  54. package/build/esm/Button/OutlinedButton.js +27 -25
  55. package/build/esm/Button/OutlinedButton.js.map +1 -1
  56. package/build/esm/Button/TransparentButton.d.ts +2 -2
  57. package/build/esm/Button/TransparentButton.js +45 -41
  58. package/build/esm/Button/TransparentButton.js.map +1 -1
  59. package/build/esm/Button/context.d.ts +0 -0
  60. package/build/esm/Button/context.js +4 -2
  61. package/build/esm/Button/context.js.map +1 -1
  62. package/build/esm/Button/index.js +0 -0
  63. package/build/esm/CheckBox/CheckBox.d.ts +3 -3
  64. package/build/esm/CheckBox/CheckBox.js +42 -35
  65. package/build/esm/CheckBox/CheckBox.js.map +1 -1
  66. package/build/esm/CheckBox/CheckBoxIcon.d.ts +3 -3
  67. package/build/esm/CheckBox/CheckBoxIcon.js +15 -13
  68. package/build/esm/CheckBox/CheckBoxIcon.js.map +1 -1
  69. package/build/esm/CheckBox/CheckPath.js +15 -14
  70. package/build/esm/CheckBox/CheckPath.js.map +1 -1
  71. package/build/esm/CheckBox/IndeterminatePath.js +14 -13
  72. package/build/esm/CheckBox/IndeterminatePath.js.map +1 -1
  73. package/build/esm/CheckBox/index.js +0 -0
  74. package/build/esm/Chip/ButtonChip.d.ts +3 -3
  75. package/build/esm/Chip/ButtonChip.js +15 -15
  76. package/build/esm/Chip/ButtonChip.js.map +1 -1
  77. package/build/esm/Chip/Chip.js +0 -0
  78. package/build/esm/Chip/ChipBase.d.ts +3 -3
  79. package/build/esm/Chip/ChipBase.js +24 -19
  80. package/build/esm/Chip/ChipBase.js.map +1 -1
  81. package/build/esm/Chip/ChoiceChip.d.ts +3 -3
  82. package/build/esm/Chip/ChoiceChip.js +25 -26
  83. package/build/esm/Chip/ChoiceChip.js.map +1 -1
  84. package/build/esm/Chip/index.js +0 -0
  85. package/build/esm/ColorMode/ColorModeProvider.d.ts +1 -1
  86. package/build/esm/ColorMode/ColorModeProvider.js +32 -19
  87. package/build/esm/ColorMode/ColorModeProvider.js.map +1 -1
  88. package/build/esm/ColorMode/color-mode.js +3 -3
  89. package/build/esm/ColorMode/color-mode.js.map +1 -1
  90. package/build/esm/ColorMode/color-vars.js +20 -12
  91. package/build/esm/ColorMode/color-vars.js.map +1 -1
  92. package/build/esm/ColorMode/constants.js +3 -3
  93. package/build/esm/ColorMode/constants.js.map +1 -1
  94. package/build/esm/ColorMode/index.js +0 -0
  95. package/build/esm/Combobox/Combobox.d.ts +15 -15
  96. package/build/esm/Combobox/Combobox.js +50 -56
  97. package/build/esm/Combobox/Combobox.js.map +1 -1
  98. package/build/esm/Combobox/index.js +0 -0
  99. package/build/esm/Dialog/Dialog.d.ts +5 -5
  100. package/build/esm/Dialog/Dialog.js +22 -23
  101. package/build/esm/Dialog/Dialog.js.map +1 -1
  102. package/build/esm/Dialog/DialogBackdrop.d.ts +4 -4
  103. package/build/esm/Dialog/DialogBackdrop.js +10 -11
  104. package/build/esm/Dialog/DialogBackdrop.js.map +1 -1
  105. package/build/esm/Dialog/DialogContainer.d.ts +2 -2
  106. package/build/esm/Dialog/DialogContainer.js +4 -6
  107. package/build/esm/Dialog/DialogContainer.js.map +1 -1
  108. package/build/esm/Dialog/DialogSurface.d.ts +4 -4
  109. package/build/esm/Dialog/DialogSurface.js +14 -14
  110. package/build/esm/Dialog/DialogSurface.js.map +1 -1
  111. package/build/esm/Dialog/Scrim.d.ts +2 -2
  112. package/build/esm/Dialog/Scrim.js +4 -6
  113. package/build/esm/Dialog/Scrim.js.map +1 -1
  114. package/build/esm/Dialog/index.js +0 -0
  115. package/build/esm/Dialog/useDialogAnimation.js +19 -20
  116. package/build/esm/Dialog/useDialogAnimation.js.map +1 -1
  117. package/build/esm/Divider/Divider.d.ts +3 -3
  118. package/build/esm/Divider/Divider.js +9 -8
  119. package/build/esm/Divider/Divider.js.map +1 -1
  120. package/build/esm/Divider/index.js +0 -0
  121. package/build/esm/FloatingLabel/FloatingLabel.d.ts +1 -1
  122. package/build/esm/FloatingLabel/FloatingLabel.js +26 -22
  123. package/build/esm/FloatingLabel/FloatingLabel.js.map +1 -1
  124. package/build/esm/FloatingLabel/index.js +0 -0
  125. package/build/esm/LineRipple/LineRipple.d.ts +3 -3
  126. package/build/esm/LineRipple/LineRipple.js +27 -18
  127. package/build/esm/LineRipple/LineRipple.js.map +1 -1
  128. package/build/esm/LineRipple/index.js +0 -0
  129. package/build/esm/Link/Link.d.ts +3 -3
  130. package/build/esm/Link/Link.js +10 -9
  131. package/build/esm/Link/Link.js.map +1 -1
  132. package/build/esm/Link/index.js +0 -0
  133. package/build/esm/List/List.d.ts +3 -3
  134. package/build/esm/List/List.js +20 -13
  135. package/build/esm/List/List.js.map +1 -1
  136. package/build/esm/List/index.js +0 -0
  137. package/build/esm/ListItem/ListItem.d.ts +3 -3
  138. package/build/esm/ListItem/ListItem.js +24 -21
  139. package/build/esm/ListItem/ListItem.js.map +1 -1
  140. package/build/esm/ListItem/ListItemText.d.ts +1 -1
  141. package/build/esm/ListItem/ListItemText.js +8 -8
  142. package/build/esm/ListItem/ListItemText.js.map +1 -1
  143. package/build/esm/ListItem/context.js +0 -0
  144. package/build/esm/ListItem/index.js +0 -0
  145. package/build/esm/Menu/Menu.d.ts +10 -10
  146. package/build/esm/Menu/Menu.js +22 -25
  147. package/build/esm/Menu/Menu.js.map +1 -1
  148. package/build/esm/Menu/animation.d.ts +1 -1
  149. package/build/esm/Menu/animation.js +1 -1
  150. package/build/esm/Menu/animation.js.map +1 -1
  151. package/build/esm/Menu/index.js +0 -0
  152. package/build/esm/NotchedOutline/NotchedOutline.d.ts +1 -1
  153. package/build/esm/NotchedOutline/NotchedOutline.js +25 -21
  154. package/build/esm/NotchedOutline/NotchedOutline.js.map +1 -1
  155. package/build/esm/NotchedOutline/context.js +6 -5
  156. package/build/esm/NotchedOutline/context.js.map +1 -1
  157. package/build/esm/NotchedOutline/index.js +0 -0
  158. package/build/esm/NotchedOutline/styledComponents.js +53 -58
  159. package/build/esm/NotchedOutline/styledComponents.js.map +1 -1
  160. package/build/esm/Paper/Paper.d.ts +4 -3
  161. package/build/esm/Paper/Paper.js +15 -13
  162. package/build/esm/Paper/Paper.js.map +1 -1
  163. package/build/esm/Paper/index.js +0 -0
  164. package/build/esm/ProgressSpinner/ProgressSpinner.d.ts +2 -2
  165. package/build/esm/ProgressSpinner/ProgressSpinner.js +16 -16
  166. package/build/esm/ProgressSpinner/ProgressSpinner.js.map +1 -1
  167. package/build/esm/ProgressSpinner/index.js +0 -0
  168. package/build/esm/RadioButton/RadioButton.d.ts +1 -1
  169. package/build/esm/RadioButton/RadioButton.js +16 -19
  170. package/build/esm/RadioButton/RadioButton.js.map +1 -1
  171. package/build/esm/RadioButton/RadioButtonIcon.d.ts +1 -1
  172. package/build/esm/RadioButton/RadioButtonIcon.js +5 -6
  173. package/build/esm/RadioButton/RadioButtonIcon.js.map +1 -1
  174. package/build/esm/RadioButton/RadioGroup.d.ts +3 -3
  175. package/build/esm/RadioButton/RadioGroup.js +5 -4
  176. package/build/esm/RadioButton/RadioGroup.js.map +1 -1
  177. package/build/esm/RadioButton/index.js +0 -0
  178. package/build/esm/Ripple/Ripple.d.ts +1 -1
  179. package/build/esm/Ripple/Ripple.js +21 -20
  180. package/build/esm/Ripple/Ripple.js.map +1 -1
  181. package/build/esm/Ripple/RippleBox.d.ts +4 -4
  182. package/build/esm/Ripple/RippleBox.js +22 -15
  183. package/build/esm/Ripple/RippleBox.js.map +1 -1
  184. package/build/esm/Ripple/constants.js +7 -7
  185. package/build/esm/Ripple/constants.js.map +1 -1
  186. package/build/esm/Ripple/index.js +0 -0
  187. package/build/esm/Ripple/keyframes.d.ts +1 -1
  188. package/build/esm/Ripple/keyframes.js +3 -3
  189. package/build/esm/Ripple/keyframes.js.map +1 -1
  190. package/build/esm/Ripple/useRipple.js +55 -48
  191. package/build/esm/Ripple/useRipple.js.map +1 -1
  192. package/build/esm/Ripple/useRippleHandlers.d.ts +1 -1
  193. package/build/esm/Ripple/useRippleHandlers.js +13 -15
  194. package/build/esm/Ripple/useRippleHandlers.js.map +1 -1
  195. package/build/esm/Ripple/useRippleSurface.d.ts +1 -1
  196. package/build/esm/Ripple/useRippleSurface.js +39 -38
  197. package/build/esm/Ripple/useRippleSurface.js.map +1 -1
  198. package/build/esm/Select/Select.d.ts +4 -4
  199. package/build/esm/Select/Select.js +69 -47
  200. package/build/esm/Select/Select.js.map +1 -1
  201. package/build/esm/Select/SelectIcon.d.ts +3 -3
  202. package/build/esm/Select/SelectIcon.js +6 -7
  203. package/build/esm/Select/SelectIcon.js.map +1 -1
  204. package/build/esm/Select/context.js +7 -6
  205. package/build/esm/Select/context.js.map +1 -1
  206. package/build/esm/Select/defaultRender.js +12 -10
  207. package/build/esm/Select/defaultRender.js.map +1 -1
  208. package/build/esm/Select/index.js +0 -0
  209. package/build/esm/Select/styledComponents.d.ts +2 -2
  210. package/build/esm/Select/styledComponents.js +16 -19
  211. package/build/esm/Select/styledComponents.js.map +1 -1
  212. package/build/esm/SelectItem/SelectItem.d.ts +2 -2
  213. package/build/esm/SelectItem/SelectItem.js +18 -19
  214. package/build/esm/SelectItem/SelectItem.js.map +1 -1
  215. package/build/esm/SelectItem/index.js +0 -0
  216. package/build/esm/SelectionControl/SelectionControlLabel.d.ts +3 -3
  217. package/build/esm/SelectionControl/SelectionControlLabel.js +7 -7
  218. package/build/esm/SelectionControl/SelectionControlLabel.js.map +1 -1
  219. package/build/esm/SelectionControl/SelectionControlText.d.ts +3 -3
  220. package/build/esm/SelectionControl/SelectionControlText.js +8 -8
  221. package/build/esm/SelectionControl/SelectionControlText.js.map +1 -1
  222. package/build/esm/SelectionControl/index.js +0 -0
  223. package/build/esm/Skeleton/DelayAppearance.d.ts +4 -4
  224. package/build/esm/Skeleton/DelayAppearance.js +9 -9
  225. package/build/esm/Skeleton/DelayAppearance.js.map +1 -1
  226. package/build/esm/Skeleton/Skeleton.d.ts +3 -3
  227. package/build/esm/Skeleton/Skeleton.js +11 -10
  228. package/build/esm/Skeleton/Skeleton.js.map +1 -1
  229. package/build/esm/Skeleton/animation.d.ts +2 -2
  230. package/build/esm/Skeleton/animation.js +25 -22
  231. package/build/esm/Skeleton/animation.js.map +1 -1
  232. package/build/esm/Skeleton/index.js +0 -0
  233. package/build/esm/Snackbar/Snackbar.d.ts +3 -3
  234. package/build/esm/Snackbar/Snackbar.js +21 -21
  235. package/build/esm/Snackbar/Snackbar.js.map +1 -1
  236. package/build/esm/Snackbar/Stack.d.ts +2 -3
  237. package/build/esm/Snackbar/Stack.js +78 -65
  238. package/build/esm/Snackbar/Stack.js.map +1 -1
  239. package/build/esm/Snackbar/index.js +0 -0
  240. package/build/esm/Snackbar/useSnackbarAnimation.d.ts +1 -1
  241. package/build/esm/Snackbar/useSnackbarAnimation.js +113 -78
  242. package/build/esm/Snackbar/useSnackbarAnimation.js.map +1 -1
  243. package/build/esm/Switch/Switch.d.ts +3 -3
  244. package/build/esm/Switch/Switch.js +21 -22
  245. package/build/esm/Switch/Switch.js.map +1 -1
  246. package/build/esm/Switch/index.js +0 -0
  247. package/build/esm/Switch/styledComponents.js +23 -25
  248. package/build/esm/Switch/styledComponents.js.map +1 -1
  249. package/build/esm/Tab/Tab.d.ts +4 -4
  250. package/build/esm/Tab/Tab.js +17 -19
  251. package/build/esm/Tab/Tab.js.map +1 -1
  252. package/build/esm/Tab/TabList.d.ts +3 -3
  253. package/build/esm/Tab/TabList.js +18 -19
  254. package/build/esm/Tab/TabList.js.map +1 -1
  255. package/build/esm/Tab/TabPanel.d.ts +3 -3
  256. package/build/esm/Tab/TabPanel.js +8 -11
  257. package/build/esm/Tab/TabPanel.js.map +1 -1
  258. package/build/esm/Tab/TabPanels.js +0 -0
  259. package/build/esm/Tab/Tabs.js +0 -0
  260. package/build/esm/Tab/context.js +6 -5
  261. package/build/esm/Tab/context.js.map +1 -1
  262. package/build/esm/Tab/index.js +0 -0
  263. package/build/esm/TabIndicator/TabIndicator.d.ts +2 -2
  264. package/build/esm/TabIndicator/TabIndicator.js +22 -21
  265. package/build/esm/TabIndicator/TabIndicator.js.map +1 -1
  266. package/build/esm/TabIndicator/context.js +6 -5
  267. package/build/esm/TabIndicator/context.js.map +1 -1
  268. package/build/esm/TabIndicator/index.js +0 -0
  269. package/build/esm/Table/Table.d.ts +2 -2
  270. package/build/esm/Table/Table.js +8 -8
  271. package/build/esm/Table/Table.js.map +1 -1
  272. package/build/esm/Table/TableBody.d.ts +2 -2
  273. package/build/esm/Table/TableBody.js +4 -6
  274. package/build/esm/Table/TableBody.js.map +1 -1
  275. package/build/esm/Table/TableCell.d.ts +2 -2
  276. package/build/esm/Table/TableCell.js +6 -8
  277. package/build/esm/Table/TableCell.js.map +1 -1
  278. package/build/esm/Table/TableHead.d.ts +2 -2
  279. package/build/esm/Table/TableHead.js +5 -7
  280. package/build/esm/Table/TableHead.js.map +1 -1
  281. package/build/esm/Table/TableRow.d.ts +2 -2
  282. package/build/esm/Table/TableRow.js +5 -7
  283. package/build/esm/Table/TableRow.js.map +1 -1
  284. package/build/esm/Table/context.js +6 -5
  285. package/build/esm/Table/context.js.map +1 -1
  286. package/build/esm/Table/index.js +0 -0
  287. package/build/esm/Text/LoremIpsum.d.ts +1 -1
  288. package/build/esm/Text/LoremIpsum.js +6 -6
  289. package/build/esm/Text/LoremIpsum.js.map +1 -1
  290. package/build/esm/Text/Text.d.ts +3 -3
  291. package/build/esm/Text/Text.js +9 -9
  292. package/build/esm/Text/Text.js.map +1 -1
  293. package/build/esm/Text/index.js +0 -0
  294. package/build/esm/TextField/FilledContainer.d.ts +3 -3
  295. package/build/esm/TextField/FilledContainer.js +56 -53
  296. package/build/esm/TextField/FilledContainer.js.map +1 -1
  297. package/build/esm/TextField/HelperText.d.ts +3 -3
  298. package/build/esm/TextField/HelperText.js +14 -13
  299. package/build/esm/TextField/HelperText.js.map +1 -1
  300. package/build/esm/TextField/IconContainer.d.ts +2 -2
  301. package/build/esm/TextField/IconContainer.js +15 -23
  302. package/build/esm/TextField/IconContainer.js.map +1 -1
  303. package/build/esm/TextField/Input.d.ts +3 -3
  304. package/build/esm/TextField/Input.js +13 -13
  305. package/build/esm/TextField/Input.js.map +1 -1
  306. package/build/esm/TextField/OutlinedContainer.d.ts +4 -4
  307. package/build/esm/TextField/OutlinedContainer.js +28 -22
  308. package/build/esm/TextField/OutlinedContainer.js.map +1 -1
  309. package/build/esm/TextField/TextField.d.ts +4 -4
  310. package/build/esm/TextField/TextField.js +59 -41
  311. package/build/esm/TextField/TextField.js.map +1 -1
  312. package/build/esm/TextField/consts.d.ts +0 -0
  313. package/build/esm/TextField/consts.js +5 -5
  314. package/build/esm/TextField/consts.js.map +1 -1
  315. package/build/esm/TextField/index.js +0 -0
  316. package/build/esm/ThemeExplorer/ColorPicker.d.ts +4 -4
  317. package/build/esm/ThemeExplorer/ColorPicker.js +14 -14
  318. package/build/esm/ThemeExplorer/ColorPicker.js.map +1 -1
  319. package/build/esm/ThemeExplorer/TextFieldColorPicker.d.ts +2 -2
  320. package/build/esm/ThemeExplorer/TextFieldColorPicker.js +44 -24
  321. package/build/esm/ThemeExplorer/TextFieldColorPicker.js.map +1 -1
  322. package/build/esm/ThemeExplorer/ThemeColors.d.ts +1 -1
  323. package/build/esm/ThemeExplorer/ThemeColors.js +3 -3
  324. package/build/esm/ThemeExplorer/ThemeColors.js.map +1 -1
  325. package/build/esm/ThemeExplorer/components.d.ts +2 -1
  326. package/build/esm/ThemeExplorer/components.js +64 -56
  327. package/build/esm/ThemeExplorer/components.js.map +1 -1
  328. package/build/esm/ThemeExplorer/makeColorScheme.d.ts +1 -1
  329. package/build/esm/ThemeExplorer/makeColorScheme.js +0 -0
  330. package/build/esm/ThemeExplorer/makeColorScheme.js.map +1 -1
  331. package/build/esm/ThemeExplorer/useDeferredColor.d.ts +1 -1
  332. package/build/esm/ThemeExplorer/useDeferredColor.js +10 -3
  333. package/build/esm/ThemeExplorer/useDeferredColor.js.map +1 -1
  334. package/build/esm/ThemeExplorer/useLocalStorageCachedState.d.ts +0 -0
  335. package/build/esm/ThemeExplorer/useLocalStorageCachedState.js +9 -2
  336. package/build/esm/ThemeExplorer/useLocalStorageCachedState.js.map +1 -1
  337. package/build/esm/Tooltip/Tooltip.d.ts +3 -3
  338. package/build/esm/Tooltip/Tooltip.js +7 -8
  339. package/build/esm/Tooltip/Tooltip.js.map +1 -1
  340. package/build/esm/Tooltip/index.js +0 -0
  341. package/build/esm/color.d.ts +3 -3
  342. package/build/esm/color.js +19 -13
  343. package/build/esm/color.js.map +1 -1
  344. package/build/esm/css.js +0 -0
  345. package/build/esm/hooks/useAnimation.d.ts +1 -1
  346. package/build/esm/hooks/useAnimation.js +54 -41
  347. package/build/esm/hooks/useAnimation.js.map +1 -1
  348. package/build/esm/index.js +0 -0
  349. package/build/esm/theme/index.js +0 -0
  350. package/build/esm/theme/theme.js +1 -1
  351. package/build/esm/theme/theme.js.map +1 -1
  352. package/build/esm/theme/typography-raleway.js +1 -1
  353. package/build/esm/theme/typography-raleway.js.map +1 -1
  354. package/build/esm/theme/typography-roboto.js +1 -1
  355. package/build/esm/theme/typography-roboto.js.map +1 -1
  356. package/build/esm/theme/useTheme.d.ts +2 -472
  357. package/build/esm/theme/useTheme.js +1 -1
  358. package/build/esm/theme/useTheme.js.map +1 -1
  359. package/build/tsconfig.tsbuildinfo +1 -1
  360. package/package.json +6 -5
  361. package/src/Alert/Alert.tsx +3 -1
  362. package/src/AppBar/AppBar.story.tsx +7 -6
  363. package/src/AppBar/AppBar.tsx +5 -3
  364. package/src/AppBar/AppBarButton.tsx +3 -1
  365. package/src/AppBar/context.ts +2 -1
  366. package/src/Badge/Badge.tsx +3 -1
  367. package/src/BaseLine/BaseLine.tsx +15 -11
  368. package/src/BottomSheet/BottomSheet.story.tsx +1 -0
  369. package/src/BottomSheet/BottomSheet.tsx +2 -1
  370. package/src/BottomSheet/BottomSheetSurface.tsx +7 -4
  371. package/src/Box/Box.tsx +21 -18
  372. package/src/Button/BaseButton.tsx +4 -2
  373. package/src/Button/Button.story.tsx +1 -0
  374. package/src/Button/Button.tsx +3 -2
  375. package/src/Button/ButtonGroup.tsx +4 -2
  376. package/src/Button/FilledButton.tsx +3 -2
  377. package/src/Button/FloatingActionButton.tsx +1 -1
  378. package/src/Button/IconButton.tsx +1 -1
  379. package/src/Button/OutlinedButton.tsx +3 -2
  380. package/src/Button/SpinnerButton.story.tsx +9 -10
  381. package/src/Button/TransparentButton.tsx +4 -4
  382. package/src/Button/context.tsx +1 -0
  383. package/src/CheckBox/CheckBox.story.tsx +3 -2
  384. package/src/CheckBox/CheckBox.tsx +9 -5
  385. package/src/CheckBox/CheckBoxIcon.tsx +4 -2
  386. package/src/Chip/ButtonChip.tsx +6 -4
  387. package/src/Chip/Chip.story.tsx +0 -1
  388. package/src/Chip/ChipBase.tsx +7 -5
  389. package/src/Chip/ChoiceChip.tsx +10 -7
  390. package/src/ColorMode/ColorModeProvider.tsx +4 -2
  391. package/src/Combobox/Combobox.story.tsx +2 -1
  392. package/src/Combobox/Combobox.tsx +29 -17
  393. package/src/Dialog/Dialog.story.tsx +3 -1
  394. package/src/Dialog/Dialog.tsx +9 -4
  395. package/src/Dialog/DialogBackdrop.tsx +6 -6
  396. package/src/Dialog/DialogContainer.tsx +3 -1
  397. package/src/Dialog/DialogSurface.tsx +8 -6
  398. package/src/Dialog/Scrim.tsx +3 -1
  399. package/src/Divider/Divider.tsx +4 -2
  400. package/src/FloatingLabel/FloatingLabel.story.tsx +1 -0
  401. package/src/FloatingLabel/FloatingLabel.tsx +3 -2
  402. package/src/LineRipple/LineRipple.story.tsx +1 -0
  403. package/src/LineRipple/LineRipple.tsx +6 -3
  404. package/src/Link/Link.tsx +4 -2
  405. package/src/List/List.tsx +5 -2
  406. package/src/ListItem/ListItem.story.tsx +1 -0
  407. package/src/ListItem/ListItem.tsx +5 -3
  408. package/src/ListItem/ListItemText.tsx +2 -1
  409. package/src/Menu/Menu.tsx +20 -12
  410. package/src/Menu/animation.ts +1 -1
  411. package/src/NotchedOutline/NotchedOutline.story.tsx +2 -1
  412. package/src/NotchedOutline/NotchedOutline.tsx +2 -1
  413. package/src/NotchedOutline/styledComponents.ts +3 -2
  414. package/src/Paper/Paper.story.tsx +2 -1
  415. package/src/Paper/Paper.tsx +22 -9
  416. package/src/ProgressSpinner/ProgressSpinner.story.tsx +1 -0
  417. package/src/ProgressSpinner/ProgressSpinner.tsx +5 -2
  418. package/src/RadioButton/RadioButton.story.tsx +2 -1
  419. package/src/RadioButton/RadioButton.tsx +9 -7
  420. package/src/RadioButton/RadioButtonIcon.tsx +2 -1
  421. package/src/RadioButton/RadioGroup.tsx +5 -5
  422. package/src/Ripple/Ripple.story.tsx +8 -2
  423. package/src/Ripple/Ripple.tsx +2 -1
  424. package/src/Ripple/RippleBox.tsx +8 -4
  425. package/src/Ripple/keyframes.ts +2 -1
  426. package/src/Ripple/useRipple.ts +1 -0
  427. package/src/Ripple/useRippleHandlers.ts +3 -1
  428. package/src/Ripple/useRippleSurface.ts +9 -7
  429. package/src/Select/PaymentMethodSelect.story.tsx +3 -1
  430. package/src/Select/Select.story.tsx +1 -0
  431. package/src/Select/Select.tsx +6 -4
  432. package/src/Select/SelectIcon.tsx +6 -3
  433. package/src/Select/defaultRender.ts +13 -13
  434. package/src/Select/styledComponents.tsx +5 -3
  435. package/src/SelectItem/SelectItem.tsx +4 -2
  436. package/src/SelectionControl/SelectionControlLabel.tsx +6 -3
  437. package/src/SelectionControl/SelectionControlText.tsx +4 -2
  438. package/src/Skeleton/DelayAppearance.tsx +5 -3
  439. package/src/Skeleton/Skeleton.tsx +4 -2
  440. package/src/Skeleton/animation.ts +3 -2
  441. package/src/Snackbar/Snackbar.story.tsx +1 -0
  442. package/src/Snackbar/Snackbar.tsx +5 -3
  443. package/src/Snackbar/Stack.tsx +3 -3
  444. package/src/Snackbar/useSnackbarAnimation.ts +3 -1
  445. package/src/Switch/Switch.tsx +9 -5
  446. package/src/Switch/styledComponents.tsx +14 -11
  447. package/src/Tab/Tab.tsx +8 -4
  448. package/src/Tab/TabList.tsx +5 -5
  449. package/src/Tab/TabPanel.tsx +5 -5
  450. package/src/TabIndicator/TabIndicator.tsx +6 -3
  451. package/src/Table/Table.tsx +4 -1
  452. package/src/Table/TableBody.tsx +3 -1
  453. package/src/Table/TableCell.tsx +3 -1
  454. package/src/Table/TableHead.tsx +4 -2
  455. package/src/Table/TableRow.tsx +4 -2
  456. package/src/Text/LoremIpsum.tsx +2 -1
  457. package/src/Text/Text.tsx +4 -2
  458. package/src/TextField/FilledContainer.tsx +5 -3
  459. package/src/TextField/HelperText.tsx +3 -2
  460. package/src/TextField/IconContainer.tsx +3 -2
  461. package/src/TextField/Input.tsx +5 -3
  462. package/src/TextField/OutlinedContainer.tsx +5 -3
  463. package/src/TextField/TextField.story.tsx +1 -0
  464. package/src/TextField/TextField.tsx +6 -3
  465. package/src/ThemeExplorer/ColorPicker.tsx +19 -16
  466. package/src/ThemeExplorer/TextFieldColorPicker.tsx +5 -2
  467. package/src/ThemeExplorer/ThemeBuilder.story.tsx +8 -12
  468. package/src/ThemeExplorer/ThemeColors.tsx +2 -1
  469. package/src/ThemeExplorer/ThemeExplorer.story.tsx +1 -0
  470. package/src/ThemeExplorer/components.tsx +5 -18
  471. package/src/ThemeExplorer/makeColorScheme.tsx +2 -1
  472. package/src/ThemeExplorer/useDeferredColor.tsx +2 -1
  473. package/src/Tooltip/Tooltip.story.tsx +1 -0
  474. package/src/Tooltip/Tooltip.tsx +8 -4
  475. package/src/color.ts +18 -16
  476. package/src/hooks/useAnimation.ts +2 -1
  477. package/src/theme/useTheme.ts +3 -1
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { TableBodyProps } from './TableBody';
2
+ import type { TableBodyProps } from './TableBody';
3
3
  export declare type TableHeadProps = TableBodyProps;
4
- export declare const TableHead: import("react").ForwardRefExoticComponent<Pick<TableBodyProps, "translate" | "hidden" | keyof import("..").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>>;
4
+ export declare const TableHead: import("react").ForwardRefExoticComponent<Pick<TableBodyProps, "children" | "slot" | "style" | "title" | "translate" | "hidden" | keyof import("..").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>>;
@@ -1,16 +1,14 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
- import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  import { forwardRef } from 'react';
4
4
  import { TableHeadProvider } from './context';
5
5
  import { TableBody } from './TableBody';
6
6
  import { alpha } from '../color';
7
7
  import { jsx as _jsx } from "react/jsx-runtime";
8
- export const TableHead = /*#__PURE__*/forwardRef((props, ref) => {
9
- const {
10
- children,
11
- __css
12
- } = props,
13
- rest = _objectWithoutPropertiesLoose(props, ["children", "__css"]);
8
+ export var TableHead = /*#__PURE__*/forwardRef(function (props, ref) {
9
+ var children = props.children,
10
+ __css = props.__css,
11
+ rest = _objectWithoutProperties(props, ["children", "__css"]);
14
12
 
15
13
  return /*#__PURE__*/_jsx(TableBody, _extends({
16
14
  ref: ref,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Table/TableHead.tsx"],"names":["forwardRef","TableHeadProvider","TableBody","alpha","TableHead","props","ref","children","__css","rest","borderBottomStyle","borderBottomWidth","borderBottomColor"],"mappings":";;AAAA,SAASA,UAAT,QAA2B,OAA3B;AACA,SAASC,iBAAT,QAAkC,WAAlC;AACA,SAASC,SAAT,QAA0C,aAA1C;AACA,SAASC,KAAT,QAAsB,UAAtB;;AAKA,OAAO,MAAMC,SAAS,gBAAGJ,UAAU,CACjC,CAACK,KAAD,EAAQC,GAAR,KAAgB;AACd,QAAM;AAAEC,IAAAA,QAAF;AAAYC,IAAAA;AAAZ,MAA+BH,KAArC;AAAA,QAA4BI,IAA5B,iCAAqCJ,KAArC;;AAEA,sBACE,KAAC,SAAD;AACE,IAAA,GAAG,EAAEC,GADP;AAEE,IAAA,KAAK;AACHI,MAAAA,iBAAiB,EAAE,OADhB;AAEHC,MAAAA,iBAAiB,aAFd;AAGHC,MAAAA,iBAAiB,EAAET,KAAK,CAAC,YAAD,EAAe,IAAf;AAHrB,OAIAK,KAJA;AAFP,KAQMC,IARN;AAAA,2BAUE,KAAC,iBAAD;AAAmB,MAAA,KAAK,EAAE,IAA1B;AAAA,gBAAiCF;AAAjC;AAVF,KADF;AAcD,CAlBgC,CAA5B","sourcesContent":["import { forwardRef } from 'react';\nimport { TableHeadProvider } from './context';\nimport { TableBody, TableBodyProps } from './TableBody';\nimport { alpha } from '../color';\nimport { rem } from 'polished';\n\nexport type TableHeadProps = TableBodyProps;\n\nexport const TableHead = forwardRef<HTMLDivElement, TableHeadProps>(\n (props, ref) => {\n const { children, __css, ...rest } = props;\n\n return (\n <TableBody\n ref={ref}\n __css={{\n borderBottomStyle: 'solid',\n borderBottomWidth: rem(1),\n borderBottomColor: alpha('on.surface', 0.12),\n ...__css,\n }}\n {...rest}\n >\n <TableHeadProvider value={true}>{children}</TableHeadProvider>\n </TableBody>\n );\n }\n);\n"],"file":"TableHead.js"}
1
+ {"version":3,"sources":["../../../src/Table/TableHead.tsx"],"names":["forwardRef","TableHeadProvider","TableBody","alpha","TableHead","props","ref","children","__css","rest","borderBottomStyle","borderBottomWidth","borderBottomColor"],"mappings":";;AAAA,SAASA,UAAT,QAA2B,OAA3B;AAGA,SAASC,iBAAT,QAAkC,WAAlC;AAEA,SAASC,SAAT,QAA0B,aAA1B;AACA,SAASC,KAAT,QAAsB,UAAtB;;AAIA,OAAO,IAAMC,SAAS,gBAAGJ,UAAU,CACjC,UAACK,KAAD,EAAQC,GAAR,EAAgB;AAAA,MACNC,QADM,GACuBF,KADvB,CACNE,QADM;AAAA,MACIC,KADJ,GACuBH,KADvB,CACIG,KADJ;AAAA,MACcC,IADd,4BACuBJ,KADvB;;AAGd,sBACE,KAAC,SAAD;AACE,IAAA,GAAG,EAAEC,GADP;AAEE,IAAA,KAAK;AACHI,MAAAA,iBAAiB,EAAE,OADhB;AAEHC,MAAAA,iBAAiB,aAFd;AAGHC,MAAAA,iBAAiB,EAAET,KAAK,CAAC,YAAD,EAAe,IAAf;AAHrB,OAIAK,KAJA;AAFP,KAQMC,IARN;AAAA,2BAUE,KAAC,iBAAD;AAAmB,MAAA,KAAK,EAAE,IAA1B;AAAA,gBAAiCF;AAAjC;AAVF,KADF;AAcD,CAlBgC,CAA5B","sourcesContent":["import { forwardRef } from 'react';\nimport { rem } from 'polished';\n\nimport { TableHeadProvider } from './context';\nimport type { TableBodyProps } from './TableBody';\nimport { TableBody } from './TableBody';\nimport { alpha } from '../color';\n\nexport type TableHeadProps = TableBodyProps;\n\nexport const TableHead = forwardRef<HTMLDivElement, TableHeadProps>(\n (props, ref) => {\n const { children, __css, ...rest } = props;\n\n return (\n <TableBody\n ref={ref}\n __css={{\n borderBottomStyle: 'solid',\n borderBottomWidth: rem(1),\n borderBottomColor: alpha('on.surface', 0.12),\n ...__css,\n }}\n {...rest}\n >\n <TableHeadProvider value={true}>{children}</TableHeadProvider>\n </TableBody>\n );\n }\n);\n"],"file":"TableHead.js"}
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { TextProps } from '../Text';
2
+ import type { TextProps } from '../Text';
3
3
  export declare type TableRowProps = TextProps;
4
- export declare const TableRow: import("react").ForwardRefExoticComponent<Pick<TextProps, "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" | "p" | "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" | "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>>;
4
+ export declare const TableRow: import("react").ForwardRefExoticComponent<Pick<TextProps, "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"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,15 +1,13 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
- import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  import { forwardRef } from 'react';
4
4
  import { Text } from '../Text';
5
5
  import { alpha } from '../color';
6
6
  import { jsx as _jsx } from "react/jsx-runtime";
7
- export const TableRow = /*#__PURE__*/forwardRef((props, ref) => {
8
- const {
9
- children,
10
- __css
11
- } = props,
12
- rest = _objectWithoutPropertiesLoose(props, ["children", "__css"]);
7
+ export var TableRow = /*#__PURE__*/forwardRef(function (props, ref) {
8
+ var children = props.children,
9
+ __css = props.__css,
10
+ rest = _objectWithoutProperties(props, ["children", "__css"]);
13
11
 
14
12
  return /*#__PURE__*/_jsx(Text, _extends({
15
13
  ref: ref,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Table/TableRow.tsx"],"names":["forwardRef","Text","alpha","TableRow","props","ref","children","__css","rest","borderBottomStyle","borderBottomWidth","borderBottomColor","borderBottom"],"mappings":";;AAAA,SAASA,UAAT,QAA2B,OAA3B;AACA,SAASC,IAAT,QAAgC,SAAhC;AACA,SAASC,KAAT,QAAsB,UAAtB;;AAKA,OAAO,MAAMC,QAAQ,gBAAGH,UAAU,CAChC,CAACI,KAAD,EAAQC,GAAR,KAAgB;AACd,QAAM;AAAEC,IAAAA,QAAF;AAAYC,IAAAA;AAAZ,MAA+BH,KAArC;AAAA,QAA4BI,IAA5B,iCAAqCJ,KAArC;;AAEA,sBACE,KAAC,IAAD;AACE,IAAA,GAAG,EAAEC,GADP;AAEE,IAAA,EAAE,EAAC,KAFL;AAGE,IAAA,IAAI,EAAC,KAHP;AAIE,IAAA,OAAO,EAAC,MAJV;AAKE,IAAA,aAAa,EAAC,KALhB;AAME,IAAA,KAAK,EAAC,MANR;AAOE,IAAA,OAAO,EAAC,OAPV;AAQE,IAAA,EAAE,EAAE,CARN;AASE,IAAA,KAAK;AACHI,MAAAA,iBAAiB,EAAE,OADhB;AAEHC,MAAAA,iBAAiB,aAFd;AAGHC,MAAAA,iBAAiB,EAAET,KAAK,CAAC,YAAD,EAAe,IAAf,CAHrB;AAIH,wBAAkB;AAChBU,QAAAA,YAAY,EAAE;AADE;AAJf,OAOAL,KAPA;AATP,KAkBMC,IAlBN;AAAA,cAoBGF;AApBH,KADF;AAwBD,CA5B+B,CAA3B","sourcesContent":["import { forwardRef } from 'react';\nimport { Text, TextProps } from '../Text';\nimport { alpha } from '../color';\nimport { rem } from 'polished';\n\nexport type TableRowProps = TextProps;\n\nexport const TableRow = forwardRef<HTMLDivElement, TableRowProps>(\n (props, ref) => {\n const { children, __css, ...rest } = props;\n\n return (\n <Text\n ref={ref}\n as=\"div\"\n role=\"row\"\n display=\"flex\"\n flexDirection=\"row\"\n width=\"100%\"\n variant=\"body1\"\n px={2}\n __css={{\n borderBottomStyle: 'solid',\n borderBottomWidth: rem(1),\n borderBottomColor: alpha('on.surface', 0.12),\n '&:last-of-type': {\n borderBottom: 'none',\n },\n ...__css,\n }}\n {...rest}\n >\n {children}\n </Text>\n );\n }\n);\n"],"file":"TableRow.js"}
1
+ {"version":3,"sources":["../../../src/Table/TableRow.tsx"],"names":["forwardRef","Text","alpha","TableRow","props","ref","children","__css","rest","borderBottomStyle","borderBottomWidth","borderBottomColor","borderBottom"],"mappings":";;AAAA,SAASA,UAAT,QAA2B,OAA3B;AAIA,SAASC,IAAT,QAAqB,SAArB;AACA,SAASC,KAAT,QAAsB,UAAtB;;AAIA,OAAO,IAAMC,QAAQ,gBAAGH,UAAU,CAChC,UAACI,KAAD,EAAQC,GAAR,EAAgB;AAAA,MACNC,QADM,GACuBF,KADvB,CACNE,QADM;AAAA,MACIC,KADJ,GACuBH,KADvB,CACIG,KADJ;AAAA,MACcC,IADd,4BACuBJ,KADvB;;AAGd,sBACE,KAAC,IAAD;AACE,IAAA,GAAG,EAAEC,GADP;AAEE,IAAA,EAAE,EAAC,KAFL;AAGE,IAAA,IAAI,EAAC,KAHP;AAIE,IAAA,OAAO,EAAC,MAJV;AAKE,IAAA,aAAa,EAAC,KALhB;AAME,IAAA,KAAK,EAAC,MANR;AAOE,IAAA,OAAO,EAAC,OAPV;AAQE,IAAA,EAAE,EAAE,CARN;AASE,IAAA,KAAK;AACHI,MAAAA,iBAAiB,EAAE,OADhB;AAEHC,MAAAA,iBAAiB,aAFd;AAGHC,MAAAA,iBAAiB,EAAET,KAAK,CAAC,YAAD,EAAe,IAAf,CAHrB;AAIH,wBAAkB;AAChBU,QAAAA,YAAY,EAAE;AADE;AAJf,OAOAL,KAPA;AATP,KAkBMC,IAlBN;AAAA,cAoBGF;AApBH,KADF;AAwBD,CA5B+B,CAA3B","sourcesContent":["import { forwardRef } from 'react';\nimport { rem } from 'polished';\n\nimport type { TextProps } from '../Text';\nimport { Text } from '../Text';\nimport { alpha } from '../color';\n\nexport type TableRowProps = TextProps;\n\nexport const TableRow = forwardRef<HTMLDivElement, TableRowProps>(\n (props, ref) => {\n const { children, __css, ...rest } = props;\n\n return (\n <Text\n ref={ref}\n as=\"div\"\n role=\"row\"\n display=\"flex\"\n flexDirection=\"row\"\n width=\"100%\"\n variant=\"body1\"\n px={2}\n __css={{\n borderBottomStyle: 'solid',\n borderBottomWidth: rem(1),\n borderBottomColor: alpha('on.surface', 0.12),\n '&:last-of-type': {\n borderBottom: 'none',\n },\n ...__css,\n }}\n {...rest}\n >\n {children}\n </Text>\n );\n }\n);\n"],"file":"TableRow.js"}
@@ -1,8 +1,9 @@
1
1
  import { createContext, useContext } from 'react'; // TableHead Component
2
2
 
3
- const TableHeadContext = /*#__PURE__*/createContext(false);
4
- export const {
5
- Provider: TableHeadProvider
6
- } = TableHeadContext;
7
- export const useTableHeadContext = () => useContext(TableHeadContext);
3
+ var TableHeadContext = /*#__PURE__*/createContext(false);
4
+ var TableHeadProvider = TableHeadContext.Provider;
5
+ export { TableHeadProvider };
6
+ export var useTableHeadContext = function useTableHeadContext() {
7
+ return useContext(TableHeadContext);
8
+ };
8
9
  //# sourceMappingURL=context.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Table/context.ts"],"names":["createContext","useContext","TableHeadContext","Provider","TableHeadProvider","useTableHeadContext"],"mappings":"AAAA,SAASA,aAAT,EAAwBC,UAAxB,QAA0C,OAA1C,C,CAEA;;AACA,MAAMC,gBAAgB,gBAAGF,aAAa,CAAU,KAAV,CAAtC;AACA,OAAO,MAAM;AAAEG,EAAAA,QAAQ,EAAEC;AAAZ,IAAkCF,gBAAxC;AACP,OAAO,MAAMG,mBAAmB,GAAG,MAAMJ,UAAU,CAACC,gBAAD,CAA5C","sourcesContent":["import { createContext, useContext } from 'react';\n\n// TableHead Component\nconst TableHeadContext = createContext<boolean>(false);\nexport const { Provider: TableHeadProvider } = TableHeadContext;\nexport const useTableHeadContext = () => useContext(TableHeadContext);\n"],"file":"context.js"}
1
+ {"version":3,"sources":["../../../src/Table/context.ts"],"names":["createContext","useContext","TableHeadContext","TableHeadProvider","Provider","useTableHeadContext"],"mappings":"AAAA,SAASA,aAAT,EAAwBC,UAAxB,QAA0C,OAA1C,C,CAEA;;AACA,IAAMC,gBAAgB,gBAAGF,aAAa,CAAU,KAAV,CAAtC;IACyBG,iB,GAAsBD,gB,CAAhCE,Q;;AACf,OAAO,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAsB;AAAA,SAAMJ,UAAU,CAACC,gBAAD,CAAhB;AAAA,CAA5B","sourcesContent":["import { createContext, useContext } from 'react';\n\n// TableHead Component\nconst TableHeadContext = createContext<boolean>(false);\nexport const { Provider: TableHeadProvider } = TableHeadContext;\nexport const useTableHeadContext = () => useContext(TableHeadContext);\n"],"file":"context.js"}
File without changes
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import type { FC } from 'react';
2
2
  export declare const LoremIpsum: FC<{
3
3
  count: number;
4
4
  }>;
@@ -1,13 +1,13 @@
1
1
  import { Text } from '.';
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { Fragment as _Fragment } from "react/jsx-runtime";
4
- const phrase = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tincidunt sem ut tincidunt eleifend. Cras eget sem nisi. Mauris at orci pretium, auctor ex non, vestibulum mauris. Etiam at nisi eu enim volutpat semper. Phasellus interdum tincidunt eleifend. Suspendisse potenti. Nulla dapibus felis in purus tristique pharetra. Lorem ipsum dolor sit amet, consectetur adipiscing elit.';
5
- export const LoremIpsum = ({
6
- count = 50
7
- }) => {
8
- const phrases = [];
4
+ var phrase = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tincidunt sem ut tincidunt eleifend. Cras eget sem nisi. Mauris at orci pretium, auctor ex non, vestibulum mauris. Etiam at nisi eu enim volutpat semper. Phasellus interdum tincidunt eleifend. Suspendisse potenti. Nulla dapibus felis in purus tristique pharetra. Lorem ipsum dolor sit amet, consectetur adipiscing elit.';
5
+ export var LoremIpsum = function LoremIpsum(_ref) {
6
+ var _ref$count = _ref.count,
7
+ count = _ref$count === void 0 ? 50 : _ref$count;
8
+ var phrases = [];
9
9
 
10
- for (let i = 0; i < count; i++) {
10
+ for (var i = 0; i < count; i++) {
11
11
  phrases.push( /*#__PURE__*/_jsx(Text, {
12
12
  variant: "body1",
13
13
  m: '1.2em',
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Text/LoremIpsum.tsx"],"names":["Text","phrase","LoremIpsum","count","phrases","i","push"],"mappings":"AACA,SAASA,IAAT,QAAqB,GAArB;;;AAEA,MAAMC,MAAM,GACV,+XADF;AAGA,OAAO,MAAMC,UAAiC,GAAG,CAAC;AAAEC,EAAAA,KAAK,GAAG;AAAV,CAAD,KAAoB;AACnE,QAAMC,OAAO,GAAG,EAAhB;;AACA,OAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGF,KAApB,EAA2BE,CAAC,EAA5B,EAAgC;AAC9BD,IAAAA,OAAO,CAACE,IAAR,eACE,KAAC,IAAD;AAAM,MAAA,OAAO,EAAC,OAAd;AAAqC,MAAA,CAAC,EAAE,OAAxC;AAAA,gBACGL;AADH,mBAAgCI,CAAhC,EADF;AAKD;;AACD,sBAAO;AAAA,cAAGD;AAAH,IAAP;AACD,CAVM","sourcesContent":["import { FC } from 'react';\nimport { Text } from '.';\n\nconst phrase =\n 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tincidunt sem ut tincidunt eleifend. Cras eget sem nisi. Mauris at orci pretium, auctor ex non, vestibulum mauris. Etiam at nisi eu enim volutpat semper. Phasellus interdum tincidunt eleifend. Suspendisse potenti. Nulla dapibus felis in purus tristique pharetra. Lorem ipsum dolor sit amet, consectetur adipiscing elit.';\n\nexport const LoremIpsum: FC<{ count: number }> = ({ count = 50 }) => {\n const phrases = [];\n for (let i = 0; i < count; i++) {\n phrases.push(\n <Text variant=\"body1\" key={`p-${i}`} m={'1.2em'}>\n {phrase}\n </Text>\n );\n }\n return <>{phrases}</>;\n};\n"],"file":"LoremIpsum.js"}
1
+ {"version":3,"sources":["../../../src/Text/LoremIpsum.tsx"],"names":["Text","phrase","LoremIpsum","count","phrases","i","push"],"mappings":"AAEA,SAASA,IAAT,QAAqB,GAArB;;;AAEA,IAAMC,MAAM,GACV,+XADF;AAGA,OAAO,IAAMC,UAAiC,GAAG,SAApCA,UAAoC,OAAoB;AAAA,wBAAjBC,KAAiB;AAAA,MAAjBA,KAAiB,2BAAT,EAAS;AACnE,MAAMC,OAAO,GAAG,EAAhB;;AACA,OAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGF,KAApB,EAA2BE,CAAC,EAA5B,EAAgC;AAC9BD,IAAAA,OAAO,CAACE,IAAR,eACE,KAAC,IAAD;AAAM,MAAA,OAAO,EAAC,OAAd;AAAqC,MAAA,CAAC,EAAE,OAAxC;AAAA,gBACGL;AADH,mBAAgCI,CAAhC,EADF;AAKD;;AACD,sBAAO;AAAA,cAAGD;AAAH,IAAP;AACD,CAVM","sourcesContent":["import type { FC } from 'react';\n\nimport { Text } from '.';\n\nconst phrase =\n 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tincidunt sem ut tincidunt eleifend. Cras eget sem nisi. Mauris at orci pretium, auctor ex non, vestibulum mauris. Etiam at nisi eu enim volutpat semper. Phasellus interdum tincidunt eleifend. Suspendisse potenti. Nulla dapibus felis in purus tristique pharetra. Lorem ipsum dolor sit amet, consectetur adipiscing elit.';\n\nexport const LoremIpsum: FC<{ count: number }> = ({ count = 50 }) => {\n const phrases = [];\n for (let i = 0; i < count; i++) {\n phrases.push(\n <Text variant=\"body1\" key={`p-${i}`} m={'1.2em'}>\n {phrase}\n </Text>\n );\n }\n return <>{phrases}</>;\n};\n"],"file":"LoremIpsum.js"}
@@ -1,7 +1,7 @@
1
- import type * as React from 'react';
2
- import { BoxProps } from '../Box';
1
+ import * as React from 'react';
2
+ import type { BoxProps } from '../Box';
3
3
  export declare type TextVariants = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'subtitle1' | 'subtitle2' | 'body1' | 'body2' | 'caption' | 'overline' | 'button';
4
4
  export interface TextProps extends BoxProps {
5
5
  variant?: TextVariants;
6
6
  }
7
- export declare const Text: React.ForwardRefExoticComponent<Pick<TextProps, "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" | "p" | "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" | "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"> & React.RefAttributes<HTMLParagraphElement>>;
7
+ export declare const Text: React.ForwardRefExoticComponent<Pick<TextProps, "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"> & React.RefAttributes<HTMLParagraphElement>>;
@@ -1,9 +1,10 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
- import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  import { forwardRef } from 'react';
4
+ import * as React from 'react';
4
5
  import { Box } from '../Box';
5
6
  import { jsx as _jsx } from "react/jsx-runtime";
6
- const mappings = {
7
+ var mappings = {
7
8
  h1: 'h1',
8
9
  h2: 'h2',
9
10
  h3: 'h3',
@@ -18,14 +19,13 @@ const mappings = {
18
19
  overline: 'p',
19
20
  button: 'p'
20
21
  };
21
- export const Text = /*#__PURE__*/forwardRef(function Text(props, forwardedRef) {
22
- const {
23
- as,
24
- variant = 'body1'
25
- } = props,
26
- otherProps = _objectWithoutPropertiesLoose(props, ["as", "variant"]);
22
+ export var Text = /*#__PURE__*/forwardRef(function Text(props, forwardedRef) {
23
+ var as = props.as,
24
+ _props$variant = props.variant,
25
+ variant = _props$variant === void 0 ? 'body1' : _props$variant,
26
+ otherProps = _objectWithoutProperties(props, ["as", "variant"]);
27
27
 
28
- let Comp = as;
28
+ var Comp = as;
29
29
 
30
30
  if (!Comp) {
31
31
  Comp = mappings[variant] || 'p';
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Text/Text.tsx"],"names":["forwardRef","Box","mappings","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","overline","button","Text","props","forwardedRef","as","variant","otherProps","Comp","color"],"mappings":";;AAAA,SAASA,UAAT,QAA2B,OAA3B;AAEA,SAASC,GAAT,QAA8B,QAA9B;;AAqBA,MAAMC,QAAmD,GAAG;AAC1DC,EAAAA,EAAE,EAAE,IADsD;AAE1DC,EAAAA,EAAE,EAAE,IAFsD;AAG1DC,EAAAA,EAAE,EAAE,IAHsD;AAI1DC,EAAAA,EAAE,EAAE,IAJsD;AAK1DC,EAAAA,EAAE,EAAE,IALsD;AAM1DC,EAAAA,EAAE,EAAE,IANsD;AAO1DC,EAAAA,SAAS,EAAE,IAP+C;AAQ1DC,EAAAA,SAAS,EAAE,IAR+C;AAS1DC,EAAAA,KAAK,EAAE,GATmD;AAU1DC,EAAAA,KAAK,EAAE,GAVmD;AAW1DC,EAAAA,OAAO,EAAE,GAXiD;AAY1DC,EAAAA,QAAQ,EAAE,GAZgD;AAa1DC,EAAAA,MAAM,EAAE;AAbkD,CAA5D;AAgBA,OAAO,MAAMC,IAAI,gBAAGhB,UAAU,CAAkC,SAASgB,IAAT,CAC9DC,KAD8D,EAE9DC,YAF8D,EAG9D;AACA,QAAM;AAAEC,IAAAA,EAAF;AAAMC,IAAAA,OAAO,GAAG;AAAhB,MAA2CH,KAAjD;AAAA,QAAkCI,UAAlC,iCAAiDJ,KAAjD;;AACA,MAAIK,IAAI,GAAGH,EAAX;;AACA,MAAI,CAACG,IAAL,EAAW;AACTA,IAAAA,IAAI,GAAGpB,QAAQ,CAACkB,OAAD,CAAR,IAAqB,GAA5B;AACD;;AAED,sBACE,KAAC,GAAD;AACE,IAAA,EAAE,EAAEE,IADN;AAEE,IAAA,GAAG,EAAEJ,YAFP;AAGE,IAAA,EAAE,EAAC,MAHL;AAIE,IAAA,OAAO,EAAEE,OAJX;AAKE,IAAA,KAAK,EAAE;AACLG,MAAAA,KAAK,EAAE;AADF;AALT,KAQMF,UARN,EADF;AAYD,CAtB6B,CAAvB","sourcesContent":["import { forwardRef } from 'react';\nimport type * as React from 'react';\nimport { Box, BoxProps } from '../Box';\n\nexport type TextVariants =\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'\n | 'subtitle1'\n | 'subtitle2'\n | 'body1'\n | 'body2'\n | 'caption'\n | 'overline'\n | 'button';\n\nexport interface TextProps extends BoxProps {\n variant?: TextVariants;\n}\n\nconst mappings: { [key: string]: React.ElementType<any> } = {\n h1: 'h1',\n h2: 'h2',\n h3: 'h3',\n h4: 'h4',\n h5: 'h5',\n h6: 'h6',\n subtitle1: 'h6',\n subtitle2: 'h6',\n body1: 'p',\n body2: 'p',\n caption: 'p',\n overline: 'p',\n button: 'p',\n};\n\nexport const Text = forwardRef<HTMLParagraphElement, TextProps>(function Text(\n props,\n forwardedRef\n) {\n const { as, variant = 'body1', ...otherProps } = props;\n let Comp = as;\n if (!Comp) {\n Comp = mappings[variant] || 'p';\n }\n\n return (\n <Box\n as={Comp}\n ref={forwardedRef as any}\n tx=\"text\"\n variant={variant}\n __css={{\n color: 'inherit',\n }}\n {...otherProps}\n />\n );\n});\n"],"file":"Text.js"}
1
+ {"version":3,"sources":["../../../src/Text/Text.tsx"],"names":["forwardRef","React","Box","mappings","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","overline","button","Text","props","forwardedRef","as","variant","otherProps","Comp","color"],"mappings":";;AAAA,SAASA,UAAT,QAA2B,OAA3B;AACA,OAAO,KAAKC,KAAZ,MAAuB,OAAvB;AAGA,SAASC,GAAT,QAAoB,QAApB;;AAqBA,IAAMC,QAAmD,GAAG;AAC1DC,EAAAA,EAAE,EAAE,IADsD;AAE1DC,EAAAA,EAAE,EAAE,IAFsD;AAG1DC,EAAAA,EAAE,EAAE,IAHsD;AAI1DC,EAAAA,EAAE,EAAE,IAJsD;AAK1DC,EAAAA,EAAE,EAAE,IALsD;AAM1DC,EAAAA,EAAE,EAAE,IANsD;AAO1DC,EAAAA,SAAS,EAAE,IAP+C;AAQ1DC,EAAAA,SAAS,EAAE,IAR+C;AAS1DC,EAAAA,KAAK,EAAE,GATmD;AAU1DC,EAAAA,KAAK,EAAE,GAVmD;AAW1DC,EAAAA,OAAO,EAAE,GAXiD;AAY1DC,EAAAA,QAAQ,EAAE,GAZgD;AAa1DC,EAAAA,MAAM,EAAE;AAbkD,CAA5D;AAgBA,OAAO,IAAMC,IAAI,gBAAGjB,UAAU,CAAkC,SAASiB,IAAT,CAC9DC,KAD8D,EAE9DC,YAF8D,EAG9D;AAAA,MACQC,EADR,GACiDF,KADjD,CACQE,EADR;AAAA,uBACiDF,KADjD,CACYG,OADZ;AAAA,MACYA,OADZ,+BACsB,OADtB;AAAA,MACkCC,UADlC,4BACiDJ,KADjD;;AAEA,MAAIK,IAAI,GAAGH,EAAX;;AACA,MAAI,CAACG,IAAL,EAAW;AACTA,IAAAA,IAAI,GAAGpB,QAAQ,CAACkB,OAAD,CAAR,IAAqB,GAA5B;AACD;;AAED,sBACE,KAAC,GAAD;AACE,IAAA,EAAE,EAAEE,IADN;AAEE,IAAA,GAAG,EAAEJ,YAFP;AAGE,IAAA,EAAE,EAAC,MAHL;AAIE,IAAA,OAAO,EAAEE,OAJX;AAKE,IAAA,KAAK,EAAE;AACLG,MAAAA,KAAK,EAAE;AADF;AALT,KAQMF,UARN,EADF;AAYD,CAtB6B,CAAvB","sourcesContent":["import { forwardRef } from 'react';\nimport * as React from 'react';\n\nimport type { BoxProps } from '../Box';\nimport { Box } from '../Box';\n\nexport type TextVariants =\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'\n | 'subtitle1'\n | 'subtitle2'\n | 'body1'\n | 'body2'\n | 'caption'\n | 'overline'\n | 'button';\n\nexport interface TextProps extends BoxProps {\n variant?: TextVariants;\n}\n\nconst mappings: { [key: string]: React.ElementType<any> } = {\n h1: 'h1',\n h2: 'h2',\n h3: 'h3',\n h4: 'h4',\n h5: 'h5',\n h6: 'h6',\n subtitle1: 'h6',\n subtitle2: 'h6',\n body1: 'p',\n body2: 'p',\n caption: 'p',\n overline: 'p',\n button: 'p',\n};\n\nexport const Text = forwardRef<HTMLParagraphElement, TextProps>(function Text(\n props,\n forwardedRef\n) {\n const { as, variant = 'body1', ...otherProps } = props;\n let Comp = as;\n if (!Comp) {\n Comp = mappings[variant] || 'p';\n }\n\n return (\n <Box\n as={Comp}\n ref={forwardedRef as any}\n tx=\"text\"\n variant={variant}\n __css={{\n color: 'inherit',\n }}\n {...otherProps}\n />\n );\n});\n"],"file":"Text.js"}
File without changes
@@ -1,5 +1,5 @@
1
- import type * as React from 'react';
2
- import { BoxProps } from '../Box';
1
+ import * as React from 'react';
2
+ import type { BoxProps } from '../Box';
3
3
  export interface FilledContainerProps extends Omit<BoxProps, 'color'> {
4
4
  children?: React.ReactNode;
5
5
  color?: string;
@@ -12,4 +12,4 @@ export interface FilledContainerProps extends Omit<BoxProps, 'color'> {
12
12
  forceActive?: boolean;
13
13
  leadingIcon?: boolean;
14
14
  }
15
- export declare const FilledContainer: React.ForwardRefExoticComponent<Pick<FilledContainerProps, "bottom" | "top" | "hidden" | "left" | "right" | "as" | "sx" | "__css" | "variant" | "tx" | "theme" | "m" | "margin" | "mt" | "marginTop" | "mr" | "marginRight" | "mb" | "marginBottom" | "ml" | "marginLeft" | "mx" | "marginX" | "my" | "marginY" | "p" | "padding" | "pt" | "paddingTop" | "pr" | "paddingRight" | "pb" | "paddingBottom" | "pl" | "paddingLeft" | "px" | "paddingX" | "py" | "paddingY" | "width" | "height" | "minWidth" | "minHeight" | "maxWidth" | "maxHeight" | "display" | "verticalAlign" | "size" | "overflow" | "overflowX" | "overflowY" | "fontFamily" | "fontSize" | "fontWeight" | "lineHeight" | "letterSpacing" | "fontStyle" | "textAlign" | "color" | "bg" | "backgroundColor" | "opacity" | "alignItems" | "alignContent" | "justifyItems" | "justifyContent" | "flexWrap" | "flexDirection" | "flex" | "flexGrow" | "flexShrink" | "flexBasis" | "justifySelf" | "alignSelf" | "order" | "border" | "borderX" | "borderY" | "borderWidth" | "borderTopWidth" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopStyle" | "borderBottomStyle" | "borderLeftStyle" | "borderRightStyle" | "borderColor" | "borderTopColor" | "borderBottomColor" | "borderLeftColor" | "borderRightColor" | "borderRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "gridGap" | "gridColumnGap" | "gridRowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "background" | "backgroundImage" | "backgroundSize" | "backgroundPosition" | "backgroundRepeat" | "position" | "zIndex" | "boxShadow" | "textShadow" | "className" | "id" | "lang" | "style" | "role" | "tabIndex" | "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" | "label" | "slot" | "title" | "translate" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "error" | "labelIsFloating" | "hasFocus" | "inputId" | "disabled" | "forceActive" | "leadingIcon"> & React.RefAttributes<HTMLDivElement>>;
15
+ export declare const FilledContainer: React.ForwardRefExoticComponent<Pick<FilledContainerProps, "children" | "label" | "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" | "disabled" | "error" | "labelIsFloating" | "hasFocus" | "inputId" | "forceActive" | "leadingIcon"> & React.RefAttributes<HTMLDivElement>>;
@@ -1,6 +1,8 @@
1
- import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
1
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
2
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
3
  import _extends from "@babel/runtime/helpers/extends";
3
4
  import { forwardRef } from 'react';
5
+ import * as React from 'react';
4
6
  import { get } from '@styled-system/css';
5
7
  import { useTheme } from '../theme';
6
8
  import { FloatingLabel } from '../FloatingLabel';
@@ -11,15 +13,17 @@ import { ICON_WIDTH, PADDING_LEFT_WITHOUT_ICON, PADDING_LEFT_WITH_ICON } from '.
11
13
  import { jsx as _jsx } from "react/jsx-runtime";
12
14
  import { jsxs as _jsxs } from "react/jsx-runtime";
13
15
 
14
- const makeSelector = state => "input:".concat(state, " ~ &,") + "select:".concat(state, " ~ &,") + "button:".concat(state, " ~ &,") + "textarea:".concat(state, " ~ &");
16
+ var makeSelector = function makeSelector(state) {
17
+ return "input:".concat(state, " ~ &,") + "select:".concat(state, " ~ &,") + "button:".concat(state, " ~ &,") + "textarea:".concat(state, " ~ &");
18
+ };
19
+
20
+ var Overlay = function Overlay(props) {
21
+ var _extends2;
15
22
 
16
- const Overlay = props => {
17
- const {
18
- forceActive
19
- } = props;
20
- const theme = useTheme();
23
+ var forceActive = props.forceActive;
24
+ var theme = useTheme();
21
25
  return /*#__PURE__*/_jsx(Box, {
22
- __css: _extends({
26
+ __css: _extends((_extends2 = {
23
27
  position: 'absolute',
24
28
  top: 0,
25
29
  bottom: 0,
@@ -27,59 +31,58 @@ const Overlay = props => {
27
31
  right: 0,
28
32
  backgroundColor: 'on.surface',
29
33
  pointerEvents: 'none',
30
- opacity: 0,
31
- [makeSelector('hover:not([disabled]):not(:focus)')]: !forceActive && {
32
- opacity: get(theme, "buttons.overlays.filled.hover.opacity")
33
- },
34
- [makeSelector('focus:not([disabled])')]: {
35
- opacity: get(theme, "buttons.overlays.transparent.focus.opacity")
36
- },
37
- [makeSelector('disabled')]: {
38
- cursor: 'default',
39
- color: alpha('on.surface', 0.6),
40
- opacity: 0.02
41
- }
42
- }, forceActive && {
34
+ opacity: 0
35
+ }, _defineProperty(_extends2, makeSelector('hover:not([disabled]):not(:focus)'), !forceActive && {
36
+ opacity: get(theme, "buttons.overlays.filled.hover.opacity")
37
+ }), _defineProperty(_extends2, makeSelector('focus:not([disabled])'), {
38
+ opacity: get(theme, "buttons.overlays.transparent.focus.opacity")
39
+ }), _defineProperty(_extends2, makeSelector('disabled'), {
40
+ cursor: 'default',
41
+ color: alpha('on.surface', 0.6),
42
+ opacity: 0.02
43
+ }), _extends2), forceActive && {
43
44
  opacity: get(theme, "buttons.overlays.transparent.focus.opacity")
44
45
  })
45
46
  });
46
47
  };
47
48
 
48
- const BorderBottom = () => /*#__PURE__*/_jsx(Box, {
49
- __css: {
50
- position: 'absolute',
51
- bottom: 0,
52
- left: 0,
53
- width: '100%',
54
- height: "0.0625rem",
55
- backgroundColor: alpha('on.surface', 0.6),
56
- pointerEvents: 'none',
57
- [makeSelector('disabled')]: {
49
+ var BorderBottom = function BorderBottom() {
50
+ return /*#__PURE__*/_jsx(Box, {
51
+ __css: _defineProperty({
52
+ position: 'absolute',
53
+ bottom: 0,
54
+ left: 0,
55
+ width: '100%',
56
+ height: "0.0625rem",
57
+ backgroundColor: alpha('on.surface', 0.6),
58
+ pointerEvents: 'none'
59
+ }, makeSelector('disabled'), {
58
60
  backgroundColor: 'transparent'
59
- }
60
- }
61
- });
61
+ })
62
+ });
63
+ };
62
64
 
63
- export const FilledContainer = /*#__PURE__*/forwardRef(function FilledContainer(props, forwardedRef) {
64
- const {
65
- label,
66
- labelIsFloating,
67
- inputId,
68
- hasFocus,
69
- color: colorProp,
70
- children,
71
- error = false,
72
- disabled = false,
73
- forceActive = false,
74
- leadingIcon
75
- } = props,
76
- otherProps = _objectWithoutPropertiesLoose(props, ["label", "labelIsFloating", "inputId", "hasFocus", "color", "children", "error", "disabled", "forceActive", "leadingIcon"]);
65
+ export var FilledContainer = /*#__PURE__*/forwardRef(function FilledContainer(props, forwardedRef) {
66
+ var label = props.label,
67
+ labelIsFloating = props.labelIsFloating,
68
+ inputId = props.inputId,
69
+ hasFocus = props.hasFocus,
70
+ colorProp = props.color,
71
+ children = props.children,
72
+ _props$error = props.error,
73
+ error = _props$error === void 0 ? false : _props$error,
74
+ _props$disabled = props.disabled,
75
+ disabled = _props$disabled === void 0 ? false : _props$disabled,
76
+ _props$forceActive = props.forceActive,
77
+ forceActive = _props$forceActive === void 0 ? false : _props$forceActive,
78
+ leadingIcon = props.leadingIcon,
79
+ otherProps = _objectWithoutProperties(props, ["label", "labelIsFloating", "inputId", "hasFocus", "color", "children", "error", "disabled", "forceActive", "leadingIcon"]);
77
80
 
78
- const finalLabelHeight = 16;
79
- const labelHeight = finalLabelHeight / 0.75;
80
- const inputHeight = 56;
81
- const color = error ? 'error' : colorProp;
82
- const active = hasFocus || forceActive;
81
+ var finalLabelHeight = 16;
82
+ var labelHeight = finalLabelHeight / 0.75;
83
+ var inputHeight = 56;
84
+ var color = error ? 'error' : colorProp;
85
+ var active = hasFocus || forceActive;
83
86
  return /*#__PURE__*/_jsxs(Box, _extends({
84
87
  ref: forwardedRef,
85
88
  disabled: disabled,