@basic-ui/material 1.0.0-alpha.44 → 1.0.0-alpha.45

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 (552) hide show
  1. package/README.md +3 -3
  2. package/build/cjs/index.js +10 -10
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/esm/Alert/Alert.d.ts +6 -6
  5. package/build/esm/Alert/Alert.js.map +1 -1
  6. package/build/esm/Alert/index.d.ts +1 -1
  7. package/build/esm/Alert/index.js.map +1 -1
  8. package/build/esm/AppBar/AppBar.d.ts +9 -9
  9. package/build/esm/AppBar/AppBar.js.map +1 -1
  10. package/build/esm/AppBar/AppBarButton.d.ts +4 -4
  11. package/build/esm/AppBar/AppBarButton.js.map +1 -1
  12. package/build/esm/AppBar/context.d.ts +5 -5
  13. package/build/esm/AppBar/context.js.map +1 -1
  14. package/build/esm/AppBar/index.d.ts +3 -3
  15. package/build/esm/AppBar/index.js.map +1 -1
  16. package/build/esm/Badge/Badge.d.ts +6 -6
  17. package/build/esm/Badge/Badge.js.map +1 -1
  18. package/build/esm/Badge/index.d.ts +1 -1
  19. package/build/esm/Badge/index.js.map +1 -1
  20. package/build/esm/BaseLine/BaseLine.d.ts +1 -1
  21. package/build/esm/BaseLine/BaseLine.js +1 -1
  22. package/build/esm/BaseLine/BaseLine.js.map +1 -1
  23. package/build/esm/BaseLine/index.d.ts +1 -1
  24. package/build/esm/BaseLine/index.js.map +1 -1
  25. package/build/esm/BottomSheet/BottomSheet.d.ts +7 -7
  26. package/build/esm/BottomSheet/BottomSheet.js.map +1 -1
  27. package/build/esm/BottomSheet/BottomSheetSurface.d.ts +5 -5
  28. package/build/esm/BottomSheet/BottomSheetSurface.js.map +1 -1
  29. package/build/esm/BottomSheet/index.d.ts +1 -1
  30. package/build/esm/BottomSheet/index.js.map +1 -1
  31. package/build/esm/Box/Box.d.ts +23 -23
  32. package/build/esm/Box/Box.js +1 -1
  33. package/build/esm/Box/Box.js.map +1 -1
  34. package/build/esm/Box/index.d.ts +1 -1
  35. package/build/esm/Box/index.js.map +1 -1
  36. package/build/esm/Button/BaseButton.d.ts +7 -7
  37. package/build/esm/Button/Button.d.ts +13 -13
  38. package/build/esm/Button/ButtonGroup.d.ts +5 -5
  39. package/build/esm/Button/ButtonGroup.js.map +1 -1
  40. package/build/esm/Button/FilledButton.d.ts +11 -11
  41. package/build/esm/Button/FloatingActionButton.d.ts +7 -7
  42. package/build/esm/Button/FloatingActionButton.js.map +1 -1
  43. package/build/esm/Button/IconButton.d.ts +8 -8
  44. package/build/esm/Button/OutlinedButton.d.ts +4 -4
  45. package/build/esm/Button/OutlinedButton.js +1 -1
  46. package/build/esm/Button/OutlinedButton.js.map +1 -1
  47. package/build/esm/Button/TransparentButton.d.ts +11 -11
  48. package/build/esm/Button/context.d.ts +8 -8
  49. package/build/esm/Button/context.js.map +1 -1
  50. package/build/esm/Button/index.d.ts +2 -2
  51. package/build/esm/Button/index.js.map +1 -1
  52. package/build/esm/CheckBox/CheckBox.d.ts +13 -13
  53. package/build/esm/CheckBox/CheckBox.js.map +1 -1
  54. package/build/esm/CheckBox/CheckBoxIcon.d.ts +10 -10
  55. package/build/esm/CheckBox/CheckBoxIcon.js.map +1 -1
  56. package/build/esm/CheckBox/CheckPath.d.ts +3 -3
  57. package/build/esm/CheckBox/CheckPath.js +1 -1
  58. package/build/esm/CheckBox/CheckPath.js.map +1 -1
  59. package/build/esm/CheckBox/IndeterminatePath.d.ts +3 -3
  60. package/build/esm/CheckBox/IndeterminatePath.js +1 -1
  61. package/build/esm/CheckBox/IndeterminatePath.js.map +1 -1
  62. package/build/esm/CheckBox/index.d.ts +1 -1
  63. package/build/esm/CheckBox/index.js.map +1 -1
  64. package/build/esm/Chip/ButtonChip.d.ts +9 -9
  65. package/build/esm/Chip/ButtonChip.js.map +1 -1
  66. package/build/esm/Chip/Chip.d.ts +4 -4
  67. package/build/esm/Chip/Chip.js.map +1 -1
  68. package/build/esm/Chip/ChipBase.d.ts +10 -10
  69. package/build/esm/Chip/ChipBase.js.map +1 -1
  70. package/build/esm/Chip/ChoiceChip.d.ts +10 -10
  71. package/build/esm/Chip/ChoiceChip.js.map +1 -1
  72. package/build/esm/Chip/index.d.ts +2 -2
  73. package/build/esm/Chip/index.js.map +1 -1
  74. package/build/esm/ColorMode/ColorModeProvider.d.ts +7 -0
  75. package/build/esm/ColorMode/ColorModeProvider.js +71 -0
  76. package/build/esm/ColorMode/ColorModeProvider.js.map +1 -0
  77. package/build/esm/ColorMode/color-mode.d.ts +8 -0
  78. package/build/esm/ColorMode/color-mode.js +12 -0
  79. package/build/esm/ColorMode/color-mode.js.map +1 -0
  80. package/build/esm/ColorMode/color-vars.d.ts +4 -0
  81. package/build/esm/ColorMode/color-vars.js +58 -0
  82. package/build/esm/ColorMode/color-vars.js.map +1 -0
  83. package/build/esm/ColorMode/constants.d.ts +2 -0
  84. package/build/esm/ColorMode/constants.js +4 -0
  85. package/build/esm/ColorMode/constants.js.map +1 -0
  86. package/build/esm/ColorMode/index.d.ts +4 -0
  87. package/build/esm/ColorMode/index.js +5 -0
  88. package/build/esm/ColorMode/index.js.map +1 -0
  89. package/build/esm/Combobox/Combobox.d.ts +23 -23
  90. package/build/esm/Combobox/Combobox.js.map +1 -1
  91. package/build/esm/Combobox/index.d.ts +1 -1
  92. package/build/esm/Combobox/index.js.map +1 -1
  93. package/build/esm/Dialog/Dialog.d.ts +20 -20
  94. package/build/esm/Dialog/Dialog.js.map +1 -1
  95. package/build/esm/Dialog/DialogBackdrop.d.ts +7 -7
  96. package/build/esm/Dialog/DialogBackdrop.js.map +1 -1
  97. package/build/esm/Dialog/DialogContainer.d.ts +4 -4
  98. package/build/esm/Dialog/DialogContainer.js.map +1 -1
  99. package/build/esm/Dialog/DialogSurface.d.ts +7 -7
  100. package/build/esm/Dialog/DialogSurface.js.map +1 -1
  101. package/build/esm/Dialog/Scrim.d.ts +4 -4
  102. package/build/esm/Dialog/Scrim.js.map +1 -1
  103. package/build/esm/Dialog/index.d.ts +2 -2
  104. package/build/esm/Dialog/index.js.map +1 -1
  105. package/build/esm/Dialog/useDialogAnimation.d.ts +824 -824
  106. package/build/esm/Dialog/useDialogAnimation.js.map +1 -1
  107. package/build/esm/Divider/Divider.d.ts +7 -7
  108. package/build/esm/Divider/Divider.js.map +1 -1
  109. package/build/esm/Divider/index.d.ts +1 -1
  110. package/build/esm/Divider/index.js.map +1 -1
  111. package/build/esm/FloatingLabel/FloatingLabel.d.ts +13 -13
  112. package/build/esm/FloatingLabel/FloatingLabel.js.map +1 -1
  113. package/build/esm/FloatingLabel/index.d.ts +1 -1
  114. package/build/esm/FloatingLabel/index.js.map +1 -1
  115. package/build/esm/LineRipple/LineRipple.d.ts +9 -9
  116. package/build/esm/LineRipple/LineRipple.js.map +1 -1
  117. package/build/esm/LineRipple/index.d.ts +1 -1
  118. package/build/esm/LineRipple/index.js.map +1 -1
  119. package/build/esm/Link/Link.d.ts +9 -9
  120. package/build/esm/Link/Link.js.map +1 -1
  121. package/build/esm/Link/index.d.ts +1 -1
  122. package/build/esm/Link/index.js.map +1 -1
  123. package/build/esm/List/List.d.ts +8 -8
  124. package/build/esm/List/List.js.map +1 -1
  125. package/build/esm/List/index.d.ts +1 -1
  126. package/build/esm/List/index.js.map +1 -1
  127. package/build/esm/ListItem/ListItem.d.ts +14 -14
  128. package/build/esm/ListItem/ListItem.js.map +1 -1
  129. package/build/esm/ListItem/ListItemText.d.ts +7 -7
  130. package/build/esm/ListItem/ListItemText.js.map +1 -1
  131. package/build/esm/ListItem/context.d.ts +7 -0
  132. package/build/esm/ListItem/context.js +11 -0
  133. package/build/esm/ListItem/context.js.map +1 -0
  134. package/build/esm/ListItem/index.d.ts +2 -2
  135. package/build/esm/ListItem/index.js.map +1 -1
  136. package/build/esm/Menu/Menu.d.ts +18 -18
  137. package/build/esm/Menu/Menu.js.map +1 -1
  138. package/build/esm/Menu/animation.d.ts +2 -2
  139. package/build/esm/Menu/animation.js.map +1 -1
  140. package/build/esm/Menu/index.d.ts +2 -2
  141. package/build/esm/Menu/index.js.map +1 -1
  142. package/build/esm/NavRail/NavRailItem.d.ts +15 -15
  143. package/build/esm/NavRail/NavRailItem.js.map +1 -1
  144. package/build/esm/NavRail/icons/test-icons.d.ts +4 -4
  145. package/build/esm/NavRail/icons/test-icons.js.map +1 -1
  146. package/build/esm/NavRail/index.d.ts +1 -1
  147. package/build/esm/NavRail/index.js.map +1 -1
  148. package/build/esm/NotchedOutline/NotchedOutline.d.ts +14 -14
  149. package/build/esm/NotchedOutline/NotchedOutline.js.map +1 -1
  150. package/build/esm/NotchedOutline/context.d.ts +6 -6
  151. package/build/esm/NotchedOutline/context.js.map +1 -1
  152. package/build/esm/NotchedOutline/index.d.ts +1 -1
  153. package/build/esm/NotchedOutline/index.js.map +1 -1
  154. package/build/esm/NotchedOutline/styledComponents.d.ts +575 -575
  155. package/build/esm/NotchedOutline/styledComponents.js +1 -1
  156. package/build/esm/NotchedOutline/styledComponents.js.map +1 -1
  157. package/build/esm/Paper/Paper.d.ts +11 -11
  158. package/build/esm/Paper/Paper.js.map +1 -1
  159. package/build/esm/Paper/index.d.ts +1 -1
  160. package/build/esm/Paper/index.js.map +1 -1
  161. package/build/esm/Popover/Popover.d.ts +14 -14
  162. package/build/esm/Popover/PopoverContainer.d.ts +4 -4
  163. package/build/esm/Popover/PopoverSurface.d.ts +5 -5
  164. package/build/esm/Popover/PopoverSurface.js.map +1 -1
  165. package/build/esm/Popover/index.d.ts +1 -1
  166. package/build/esm/Popover/index.js.map +1 -1
  167. package/build/esm/ProgressSpinner/ProgressSpinner.d.ts +8 -8
  168. package/build/esm/ProgressSpinner/ProgressSpinner.js.map +1 -1
  169. package/build/esm/ProgressSpinner/index.d.ts +1 -1
  170. package/build/esm/ProgressSpinner/index.js.map +1 -1
  171. package/build/esm/RadioButton/RadioButton.d.ts +4 -4
  172. package/build/esm/RadioButton/RadioButton.js.map +1 -1
  173. package/build/esm/RadioButton/RadioButtonIcon.d.ts +6 -6
  174. package/build/esm/RadioButton/RadioButtonIcon.js.map +1 -1
  175. package/build/esm/RadioButton/RadioGroup.d.ts +5 -5
  176. package/build/esm/RadioButton/RadioGroup.js.map +1 -1
  177. package/build/esm/RadioButton/index.d.ts +2 -2
  178. package/build/esm/RadioButton/index.js.map +1 -1
  179. package/build/esm/Ripple/Ripple.d.ts +11 -11
  180. package/build/esm/Ripple/Ripple.js +1 -1
  181. package/build/esm/Ripple/Ripple.js.map +1 -1
  182. package/build/esm/Ripple/RippleBox.d.ts +5 -5
  183. package/build/esm/Ripple/RippleBox.js.map +1 -1
  184. package/build/esm/Ripple/constants.d.ts +7 -7
  185. package/build/esm/Ripple/constants.js.map +1 -1
  186. package/build/esm/Ripple/index.d.ts +5 -5
  187. package/build/esm/Ripple/index.js.map +1 -1
  188. package/build/esm/Ripple/keyframes.d.ts +4 -4
  189. package/build/esm/Ripple/keyframes.js.map +1 -1
  190. package/build/esm/Ripple/useRipple.d.ts +14 -14
  191. package/build/esm/Ripple/useRipple.js.map +1 -1
  192. package/build/esm/Ripple/useRippleHandlers.d.ts +8 -8
  193. package/build/esm/Ripple/useRippleHandlers.js.map +1 -1
  194. package/build/esm/Ripple/useRippleSurface.d.ts +787 -787
  195. package/build/esm/Ripple/useRippleSurface.js.map +1 -1
  196. package/build/esm/Select/CustomContainerExample.d.ts +3 -3
  197. package/build/esm/Select/CustomContainerExample.js.map +1 -1
  198. package/build/esm/Select/Select.d.ts +32 -32
  199. package/build/esm/Select/Select.js.map +1 -1
  200. package/build/esm/Select/SelectIcon.d.ts +6 -6
  201. package/build/esm/Select/SelectIcon.js.map +1 -1
  202. package/build/esm/Select/context.d.ts +9 -9
  203. package/build/esm/Select/context.js.map +1 -1
  204. package/build/esm/Select/defaultRender.d.ts +3 -3
  205. package/build/esm/Select/defaultRender.js.map +1 -1
  206. package/build/esm/Select/index.d.ts +1 -1
  207. package/build/esm/Select/index.js.map +1 -1
  208. package/build/esm/Select/styledComponents.d.ts +15 -15
  209. package/build/esm/Select/styledComponents.js.map +1 -1
  210. package/build/esm/SelectItem/SelectItem.d.ts +11 -11
  211. package/build/esm/SelectItem/SelectItem.js.map +1 -1
  212. package/build/esm/SelectItem/index.d.ts +1 -1
  213. package/build/esm/SelectItem/index.js.map +1 -1
  214. package/build/esm/SelectionControl/SelectionControlLabel.d.ts +7 -7
  215. package/build/esm/SelectionControl/SelectionControlLabel.js.map +1 -1
  216. package/build/esm/SelectionControl/SelectionControlText.d.ts +8 -8
  217. package/build/esm/SelectionControl/SelectionControlText.js.map +1 -1
  218. package/build/esm/SelectionControl/index.d.ts +2 -2
  219. package/build/esm/SelectionControl/index.js.map +1 -1
  220. package/build/esm/Skeleton/DelayAppearance.d.ts +13 -13
  221. package/build/esm/Skeleton/DelayAppearance.js +3 -3
  222. package/build/esm/Skeleton/DelayAppearance.js.map +1 -1
  223. package/build/esm/Skeleton/Skeleton.d.ts +9 -9
  224. package/build/esm/Skeleton/Skeleton.js.map +1 -1
  225. package/build/esm/Skeleton/animation.d.ts +8 -8
  226. package/build/esm/Skeleton/animation.js.map +1 -1
  227. package/build/esm/Skeleton/index.d.ts +2 -2
  228. package/build/esm/Skeleton/index.js.map +1 -1
  229. package/build/esm/Slider/Slider.d.ts +17 -17
  230. package/build/esm/Slider/Slider.js.map +1 -1
  231. package/build/esm/Slider/index.d.ts +1 -1
  232. package/build/esm/Slider/index.js.map +1 -1
  233. package/build/esm/Snackbar/Snackbar.d.ts +8 -8
  234. package/build/esm/Snackbar/Stack.d.ts +31 -31
  235. package/build/esm/Snackbar/index.d.ts +3 -3
  236. package/build/esm/Snackbar/useSnackbarAnimation.d.ts +6 -6
  237. package/build/esm/Switch/Switch.d.ts +13 -13
  238. package/build/esm/Switch/Switch.js.map +1 -1
  239. package/build/esm/Switch/index.d.ts +1 -1
  240. package/build/esm/Switch/index.js.map +1 -1
  241. package/build/esm/Switch/styledComponents.d.ts +13 -13
  242. package/build/esm/Switch/styledComponents.js.map +1 -1
  243. package/build/esm/Tab/Tab.d.ts +5 -5
  244. package/build/esm/Tab/Tab.js.map +1 -1
  245. package/build/esm/Tab/TabList.d.ts +10 -10
  246. package/build/esm/Tab/TabList.js.map +1 -1
  247. package/build/esm/Tab/TabPanel.d.ts +5 -5
  248. package/build/esm/Tab/TabPanel.js.map +1 -1
  249. package/build/esm/Tab/TabPanels.d.ts +4 -4
  250. package/build/esm/Tab/TabPanels.js.map +1 -1
  251. package/build/esm/Tab/Tabs.d.ts +4 -4
  252. package/build/esm/Tab/Tabs.js.map +1 -1
  253. package/build/esm/Tab/context.d.ts +9 -9
  254. package/build/esm/Tab/context.js.map +1 -1
  255. package/build/esm/Tab/index.d.ts +5 -5
  256. package/build/esm/Tab/index.js.map +1 -1
  257. package/build/esm/TabIndicator/TabIndicator.d.ts +9 -9
  258. package/build/esm/TabIndicator/TabIndicator.js.map +1 -1
  259. package/build/esm/TabIndicator/context.d.ts +6 -6
  260. package/build/esm/TabIndicator/context.js.map +1 -1
  261. package/build/esm/TabIndicator/index.d.ts +2 -2
  262. package/build/esm/TabIndicator/index.js.map +1 -1
  263. package/build/esm/Table/Table.d.ts +4 -4
  264. package/build/esm/Table/Table.js.map +1 -1
  265. package/build/esm/Table/TableBody.d.ts +4 -4
  266. package/build/esm/Table/TableBody.js.map +1 -1
  267. package/build/esm/Table/TableCell.d.ts +4 -4
  268. package/build/esm/Table/TableCell.js.map +1 -1
  269. package/build/esm/Table/TableHead.d.ts +4 -4
  270. package/build/esm/Table/TableHead.js.map +1 -1
  271. package/build/esm/Table/TableRow.d.ts +4 -4
  272. package/build/esm/Table/TableRow.js.map +1 -1
  273. package/build/esm/Table/context.d.ts +3 -3
  274. package/build/esm/Table/context.js.map +1 -1
  275. package/build/esm/Table/index.d.ts +5 -5
  276. package/build/esm/Table/index.js.map +1 -1
  277. package/build/esm/Text/LoremIpsum.d.ts +4 -4
  278. package/build/esm/Text/LoremIpsum.js.map +1 -1
  279. package/build/esm/Text/Text.d.ts +11 -11
  280. package/build/esm/Text/Text.js +2 -2
  281. package/build/esm/Text/Text.js.map +1 -1
  282. package/build/esm/Text/index.d.ts +1 -1
  283. package/build/esm/Text/index.js.map +1 -1
  284. package/build/esm/TextField/FilledContainer.d.ts +18 -18
  285. package/build/esm/TextField/FilledContainer.js.map +1 -1
  286. package/build/esm/TextField/HelperText.d.ts +10 -10
  287. package/build/esm/TextField/HelperText.js.map +1 -1
  288. package/build/esm/TextField/IconContainer.d.ts +5 -5
  289. package/build/esm/TextField/IconContainer.js.map +1 -1
  290. package/build/esm/TextField/Input.d.ts +11 -11
  291. package/build/esm/TextField/OutlinedContainer.d.ts +17 -17
  292. package/build/esm/TextField/OutlinedContainer.js.map +1 -1
  293. package/build/esm/TextField/TextField.d.ts +19 -19
  294. package/build/esm/TextField/consts.d.ts +5 -5
  295. package/build/esm/TextField/consts.js.map +1 -1
  296. package/build/esm/TextField/index.d.ts +4 -4
  297. package/build/esm/TextField/index.js.map +1 -1
  298. package/build/esm/ThemeExplorer/BorderSlider.d.ts +7 -7
  299. package/build/esm/ThemeExplorer/BorderSlider.js.map +1 -1
  300. package/build/esm/ThemeExplorer/ColorPicker.d.ts +8 -8
  301. package/build/esm/ThemeExplorer/ColorPicker.js.map +1 -1
  302. package/build/esm/ThemeExplorer/ColorSchemePicker.d.ts +10 -10
  303. package/build/esm/ThemeExplorer/ColorSchemePicker.js.map +1 -1
  304. package/build/esm/ThemeExplorer/FontAutoComplete.d.ts +9 -9
  305. package/build/esm/ThemeExplorer/FontAutoComplete.js.map +1 -1
  306. package/build/esm/ThemeExplorer/TextFieldColorPicker.d.ts +9 -9
  307. package/build/esm/ThemeExplorer/TextFieldColorPicker.js.map +1 -1
  308. package/build/esm/ThemeExplorer/ThemeBuilder.d.ts +11 -11
  309. package/build/esm/ThemeExplorer/ThemeBuilder.js.map +1 -1
  310. package/build/esm/ThemeExplorer/ThemeColors.d.ts +5 -5
  311. package/build/esm/ThemeExplorer/ThemeColors.js.map +1 -1
  312. package/build/esm/ThemeExplorer/components.d.ts +31 -31
  313. package/build/esm/ThemeExplorer/components.js.map +1 -1
  314. package/build/esm/ThemeExplorer/googleFonts.d.ts +1 -1
  315. package/build/esm/ThemeExplorer/googleFonts.js.map +1 -1
  316. package/build/esm/ThemeExplorer/index.d.ts +1 -1
  317. package/build/esm/ThemeExplorer/index.js.map +1 -1
  318. package/build/esm/ThemeExplorer/makeColorScheme.d.ts +98 -98
  319. package/build/esm/ThemeExplorer/makeColorScheme.js.map +1 -1
  320. package/build/esm/ThemeExplorer/makeTailwindTheme.d.ts +2 -2
  321. package/build/esm/ThemeExplorer/makeTailwindTheme.js.map +1 -1
  322. package/build/esm/ThemeExplorer/updateGoogleFonts.js.map +1 -1
  323. package/build/esm/ThemeExplorer/useDeferredColor.d.ts +3 -3
  324. package/build/esm/ThemeExplorer/useDeferredColor.js.map +1 -1
  325. package/build/esm/ThemeExplorer/useLocalStorageCachedState.d.ts +1 -1
  326. package/build/esm/ThemeExplorer/useLocalStorageCachedState.js.map +1 -1
  327. package/build/esm/Tooltip/Tooltip.d.ts +8 -8
  328. package/build/esm/Tooltip/Tooltip.js.map +1 -1
  329. package/build/esm/Tooltip/index.d.ts +1 -1
  330. package/build/esm/Tooltip/index.js.map +1 -1
  331. package/build/esm/color.d.ts +8 -8
  332. package/build/esm/color.js.map +1 -1
  333. package/build/esm/css.d.ts +1 -1
  334. package/build/esm/css.js.map +1 -1
  335. package/build/esm/hooks/useAnimation.d.ts +20 -20
  336. package/build/esm/hooks/useAnimation.js.map +1 -1
  337. package/build/esm/index.d.ts +41 -41
  338. package/build/esm/index.js.map +1 -1
  339. package/build/esm/motion.d.ts +7 -7
  340. package/build/esm/motion.js.map +1 -1
  341. package/build/esm/tailwind/extendColors.d.ts +5 -5
  342. package/build/esm/tailwind/extendColors.js.map +1 -1
  343. package/build/esm/tailwind/index.d.ts +8 -8
  344. package/build/esm/tailwind/index.js.map +1 -1
  345. package/build/esm/theme/index.d.ts +2 -2
  346. package/build/esm/theme/index.js.map +1 -1
  347. package/build/esm/theme/theme.d.ts +562 -562
  348. package/build/esm/theme/theme.js.map +1 -1
  349. package/build/esm/theme/typography-raleway.d.ts +112 -112
  350. package/build/esm/theme/typography-raleway.js.map +1 -1
  351. package/build/esm/theme/typography-roboto.d.ts +111 -111
  352. package/build/esm/theme/typography-roboto.js.map +1 -1
  353. package/build/esm/theme/useTheme.d.ts +566 -566
  354. package/build/esm/theme/useTheme.js.map +1 -1
  355. package/build/tsconfig-build.tsbuildinfo +1 -1
  356. package/build/tsconfig.tsbuildinfo +4321 -0
  357. package/package.json +3 -3
  358. package/src/Alert/Alert.story.tsx +28 -28
  359. package/src/Alert/Alert.tsx +33 -33
  360. package/src/Alert/index.ts +1 -1
  361. package/src/AppBar/AppBar.story.tsx +69 -69
  362. package/src/AppBar/AppBar.tsx +85 -85
  363. package/src/AppBar/AppBarButton.tsx +25 -25
  364. package/src/AppBar/context.ts +13 -13
  365. package/src/AppBar/index.ts +3 -3
  366. package/src/Badge/Badge.story.tsx +68 -68
  367. package/src/Badge/Badge.tsx +47 -47
  368. package/src/Badge/index.ts +1 -1
  369. package/src/BaseLine/BaseLine.tsx +100 -100
  370. package/src/BaseLine/index.ts +1 -1
  371. package/src/BottomSheet/BottomSheet.story.tsx +35 -35
  372. package/src/BottomSheet/BottomSheet.tsx +39 -39
  373. package/src/BottomSheet/BottomSheetSurface.tsx +49 -49
  374. package/src/BottomSheet/index.ts +1 -1
  375. package/src/Box/Box.tsx +127 -127
  376. package/src/Box/index.ts +1 -1
  377. package/src/Button/ButtonGroup.story.tsx +106 -106
  378. package/src/Button/ButtonGroup.tsx +35 -35
  379. package/src/Button/FloatingActionButton.tsx +9 -9
  380. package/src/Button/OutlinedButton.tsx +47 -47
  381. package/src/Button/SpinnerButton.story.tsx +91 -91
  382. package/src/Button/context.tsx +17 -17
  383. package/src/Button/index.ts +2 -2
  384. package/src/CheckBox/CheckBox.story.tsx +155 -155
  385. package/src/CheckBox/CheckBox.tsx +170 -170
  386. package/src/CheckBox/CheckBoxIcon.tsx +64 -64
  387. package/src/CheckBox/CheckPath.tsx +18 -18
  388. package/src/CheckBox/IndeterminatePath.tsx +16 -16
  389. package/src/CheckBox/index.ts +1 -1
  390. package/src/Chip/ButtonChip.tsx +86 -86
  391. package/src/Chip/Chip.story.tsx +242 -242
  392. package/src/Chip/Chip.tsx +5 -5
  393. package/src/Chip/ChipBase.tsx +141 -141
  394. package/src/Chip/ChoiceChip.tsx +127 -127
  395. package/src/Chip/index.ts +2 -2
  396. package/src/Combobox/Combobox.story.tsx +157 -157
  397. package/src/Combobox/Combobox.tsx +274 -274
  398. package/src/Combobox/index.ts +1 -1
  399. package/src/Dialog/Dialog.story.tsx +53 -53
  400. package/src/Dialog/Dialog.tsx +73 -73
  401. package/src/Dialog/DialogBackdrop.tsx +42 -42
  402. package/src/Dialog/DialogContainer.tsx +31 -31
  403. package/src/Dialog/DialogSurface.tsx +55 -55
  404. package/src/Dialog/Scrim.tsx +35 -35
  405. package/src/Dialog/index.ts +2 -2
  406. package/src/Dialog/useDialogAnimation.tsx +49 -49
  407. package/src/Divider/Divider.story.tsx +39 -39
  408. package/src/Divider/Divider.tsx +48 -48
  409. package/src/Divider/index.ts +1 -1
  410. package/src/FloatingLabel/FloatingLabel.story.tsx +55 -55
  411. package/src/FloatingLabel/FloatingLabel.tsx +77 -77
  412. package/src/FloatingLabel/index.ts +1 -1
  413. package/src/LineRipple/LineRipple.story.tsx +43 -43
  414. package/src/LineRipple/LineRipple.tsx +81 -81
  415. package/src/LineRipple/index.ts +1 -1
  416. package/src/Link/Link.story.tsx +14 -14
  417. package/src/Link/Link.tsx +65 -65
  418. package/src/Link/index.ts +1 -1
  419. package/src/List/List.tsx +46 -46
  420. package/src/List/index.ts +1 -1
  421. package/src/ListItem/ListItem.story.tsx +43 -43
  422. package/src/ListItem/ListItem.tsx +104 -104
  423. package/src/ListItem/ListItemText.tsx +35 -35
  424. package/src/ListItem/index.ts +2 -2
  425. package/src/Menu/ContextMenu.story.tsx +34 -34
  426. package/src/Menu/Menu.story.tsx +54 -54
  427. package/src/Menu/Menu.tsx +124 -124
  428. package/src/Menu/animation.ts +16 -16
  429. package/src/Menu/index.ts +2 -2
  430. package/src/NavRail/NavRail.story.tsx +146 -146
  431. package/src/NavRail/NavRailItem.tsx +175 -175
  432. package/src/NavRail/icons/test-icons.tsx +46 -46
  433. package/src/NavRail/index.ts +1 -1
  434. package/src/NotchedOutline/NotchedOutline.story.tsx +99 -99
  435. package/src/NotchedOutline/NotchedOutline.tsx +80 -80
  436. package/src/NotchedOutline/context.ts +12 -12
  437. package/src/NotchedOutline/index.ts +1 -1
  438. package/src/NotchedOutline/styledComponents.ts +122 -122
  439. package/src/Paper/Paper.story.tsx +50 -50
  440. package/src/Paper/Paper.tsx +67 -67
  441. package/src/Paper/index.ts +1 -1
  442. package/src/Popover/PopoverSurface.tsx +51 -51
  443. package/src/Popover/index.ts +1 -1
  444. package/src/ProgressSpinner/ProgressSpinner.story.tsx +35 -35
  445. package/src/ProgressSpinner/ProgressSpinner.tsx +119 -119
  446. package/src/ProgressSpinner/index.ts +1 -1
  447. package/src/RadioButton/RadioButton.story.tsx +109 -109
  448. package/src/RadioButton/RadioButton.tsx +112 -112
  449. package/src/RadioButton/RadioButtonIcon.tsx +44 -44
  450. package/src/RadioButton/RadioGroup.tsx +27 -27
  451. package/src/RadioButton/index.ts +2 -2
  452. package/src/Ripple/Ripple.story.tsx +78 -78
  453. package/src/Ripple/Ripple.tsx +33 -33
  454. package/src/Ripple/RippleBox.tsx +52 -52
  455. package/src/Ripple/constants.ts +15 -15
  456. package/src/Ripple/index.ts +5 -5
  457. package/src/Ripple/keyframes.ts +36 -36
  458. package/src/Ripple/useRipple.ts +209 -209
  459. package/src/Ripple/useRippleHandlers.ts +54 -54
  460. package/src/Ripple/useRippleSurface.ts +155 -155
  461. package/src/Select/CustomContainerExample.tsx +59 -59
  462. package/src/Select/PaymentMethodSelect.story.tsx +316 -316
  463. package/src/Select/Select.story.tsx +225 -225
  464. package/src/Select/Select.tsx +283 -283
  465. package/src/Select/SelectIcon.tsx +43 -43
  466. package/src/Select/SelectMultiple.story.tsx +215 -215
  467. package/src/Select/context.ts +22 -22
  468. package/src/Select/defaultRender.tsx +49 -49
  469. package/src/Select/index.ts +1 -1
  470. package/src/Select/styledComponents.tsx +38 -38
  471. package/src/SelectItem/SelectItem.tsx +92 -92
  472. package/src/SelectItem/index.ts +1 -1
  473. package/src/SelectionControl/SelectionControlLabel.tsx +34 -34
  474. package/src/SelectionControl/SelectionControlText.tsx +37 -37
  475. package/src/SelectionControl/index.ts +2 -2
  476. package/src/Skeleton/DelayAppearance.tsx +41 -41
  477. package/src/Skeleton/Skeleton.story.tsx +57 -57
  478. package/src/Skeleton/Skeleton.tsx +40 -40
  479. package/src/Skeleton/animation.ts +54 -54
  480. package/src/Skeleton/index.ts +2 -2
  481. package/src/Slider/Slider.story.tsx +36 -36
  482. package/src/Slider/Slider.tsx +275 -275
  483. package/src/Slider/index.ts +1 -1
  484. package/src/Snackbar/Snackbar.story.tsx +99 -99
  485. package/src/Switch/Switch.story.tsx +98 -98
  486. package/src/Switch/Switch.tsx +170 -170
  487. package/src/Switch/index.ts +1 -1
  488. package/src/Switch/styledComponents.tsx +117 -117
  489. package/src/Tab/Tab.story.tsx +209 -209
  490. package/src/Tab/Tab.tsx +120 -120
  491. package/src/Tab/TabList.tsx +61 -61
  492. package/src/Tab/TabPanel.tsx +31 -31
  493. package/src/Tab/TabPanels.tsx +5 -5
  494. package/src/Tab/Tabs.tsx +5 -5
  495. package/src/Tab/context.ts +17 -17
  496. package/src/Tab/index.ts +5 -5
  497. package/src/TabIndicator/TabIndicator.tsx +146 -146
  498. package/src/TabIndicator/context.ts +13 -13
  499. package/src/TabIndicator/index.ts +2 -2
  500. package/src/Table/Table.story.tsx +227 -227
  501. package/src/Table/Table.tsx +34 -34
  502. package/src/Table/TableBody.tsx +17 -17
  503. package/src/Table/TableCell.tsx +34 -34
  504. package/src/Table/TableHead.tsx +31 -31
  505. package/src/Table/TableRow.tsx +38 -38
  506. package/src/Table/context.ts +6 -6
  507. package/src/Table/index.ts +5 -5
  508. package/src/Text/LoremIpsum.tsx +18 -18
  509. package/src/Text/Text.story.tsx +75 -75
  510. package/src/Text/Text.tsx +84 -84
  511. package/src/Text/index.ts +1 -1
  512. package/src/TextField/FilledContainer.tsx +173 -173
  513. package/src/TextField/HelperText.tsx +63 -63
  514. package/src/TextField/IconContainer.tsx +33 -33
  515. package/src/TextField/OutlinedContainer.tsx +116 -116
  516. package/src/TextField/TextField.story.tsx +241 -241
  517. package/src/TextField/consts.ts +7 -7
  518. package/src/TextField/index.ts +4 -4
  519. package/src/ThemeExplorer/BorderSlider.tsx +73 -73
  520. package/src/ThemeExplorer/ColorPicker.tsx +104 -104
  521. package/src/ThemeExplorer/ColorSchemePicker.tsx +55 -55
  522. package/src/ThemeExplorer/FontAutoComplete.tsx +139 -139
  523. package/src/ThemeExplorer/TextFieldColorPicker.tsx +115 -115
  524. package/src/ThemeExplorer/ThemeBuilder.story.tsx +8 -8
  525. package/src/ThemeExplorer/ThemeBuilder.tsx +353 -353
  526. package/src/ThemeExplorer/ThemeColors.tsx +118 -118
  527. package/src/ThemeExplorer/components.tsx +195 -195
  528. package/src/ThemeExplorer/googleFonts.ts +1436 -1436
  529. package/src/ThemeExplorer/index.ts +1 -1
  530. package/src/ThemeExplorer/makeColorScheme.tsx +111 -111
  531. package/src/ThemeExplorer/makeTailwindTheme.ts +44 -44
  532. package/src/ThemeExplorer/updateGoogleFonts.js +33 -33
  533. package/src/ThemeExplorer/useDeferredColor.tsx +21 -21
  534. package/src/ThemeExplorer/useLocalStorageCachedState.ts +18 -18
  535. package/src/Tooltip/Tooltip.story.tsx +35 -35
  536. package/src/Tooltip/Tooltip.tsx +67 -67
  537. package/src/Tooltip/index.ts +1 -1
  538. package/src/color.ts +84 -84
  539. package/src/css.ts +2 -2
  540. package/src/hooks/useAnimation.ts +111 -111
  541. package/src/index.ts +41 -41
  542. package/src/motion.ts +7 -7
  543. package/src/tailwind/extendColors.ts +51 -51
  544. package/src/tailwind/index.ts +56 -56
  545. package/src/tailwind/tests/extendColors.test.ts +123 -123
  546. package/src/theme/index.ts +2 -2
  547. package/src/theme/theme.ts +499 -499
  548. package/src/theme/typography-raleway.ts +114 -114
  549. package/src/theme/typography-roboto.ts +113 -113
  550. package/src/theme/useTheme.ts +18 -18
  551. package/tailwind/package.json +5 -5
  552. package/theme-explorer/package.json +5 -5
@@ -1,7 +1,7 @@
1
- import type { ElementType, LabelHTMLAttributes, ReactNode } from 'react';
2
- import type { BoxProps } from '../Box';
3
- export interface SelectionControlLabelProps extends BoxProps<HTMLLabelElement, LabelHTMLAttributes<HTMLLabelElement>> {
4
- as?: ElementType<any>;
5
- children?: ReactNode;
6
- }
7
- export declare const SelectionControlLabel: import("react").ForwardRefExoticComponent<Pick<SelectionControlLabelProps, "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "color" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "background" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "variant" | "size" | "hidden" | "as" | "sx" | "__css" | "tx" | "theme" | "borderX" | "borderY" | "gridGap" | "gridColumnGap" | "gridRowGap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "form" | "htmlFor"> & import("react").RefAttributes<HTMLLabelElement>>;
1
+ import type { ElementType, LabelHTMLAttributes, ReactNode } from 'react';
2
+ import type { BoxProps } from '../Box';
3
+ export interface SelectionControlLabelProps extends BoxProps<HTMLLabelElement, LabelHTMLAttributes<HTMLLabelElement>> {
4
+ as?: ElementType<any>;
5
+ children?: ReactNode;
6
+ }
7
+ export declare const SelectionControlLabel: import("react").ForwardRefExoticComponent<Pick<SelectionControlLabelProps, "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "color" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "background" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "variant" | "size" | "hidden" | "as" | "sx" | "__css" | "tx" | "theme" | "borderX" | "borderY" | "gridGap" | "gridColumnGap" | "gridRowGap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "form" | "htmlFor"> & import("react").RefAttributes<HTMLLabelElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"SelectionControlLabel.js","names":["forwardRef","Box","SelectionControlLabel","props","forwardedRef","as","__css","otherProps","display","position","alignItems","WebkitTapHighlightColor","gap"],"sources":["../../../src/SelectionControl/SelectionControlLabel.tsx"],"sourcesContent":["import type { ElementType, LabelHTMLAttributes, ReactNode } from 'react';\r\nimport { forwardRef } from 'react';\r\n\r\nimport type { BoxProps } from '../Box';\r\nimport { Box } from '../Box';\r\n\r\nexport interface SelectionControlLabelProps\r\n extends BoxProps<HTMLLabelElement, LabelHTMLAttributes<HTMLLabelElement>> {\r\n as?: ElementType<any>;\r\n children?: ReactNode;\r\n}\r\n\r\nexport const SelectionControlLabel = forwardRef<\r\n HTMLLabelElement,\r\n SelectionControlLabelProps\r\n>(function SelectionControlLabel(props, forwardedRef) {\r\n const { as = 'label', __css, ...otherProps } = props;\r\n\r\n return (\r\n <Box<BoxProps<HTMLLabelElement, LabelHTMLAttributes<HTMLLabelElement>>>\r\n ref={forwardedRef}\r\n as={as}\r\n __css={{\r\n display: 'inline-flex',\r\n position: 'relative',\r\n alignItems: 'center',\r\n WebkitTapHighlightColor: 'transparent',\r\n gap: 1,\r\n ...__css,\r\n }}\r\n {...otherProps}\r\n />\r\n );\r\n});\r\n"],"mappings":";;;AACA,SAASA,UAAT,QAA2B,OAA3B;AAGA,SAASC,GAAT,QAAoB,QAApB;;AAQA,OAAO,IAAMC,qBAAqB,gBAAGF,UAAU,CAG7C,SAASE,qBAAT,CAA+BC,KAA/B,EAAsCC,YAAtC,EAAoD;EACpD,gBAA+CD,KAA/C,CAAQE,EAAR;EAAA,IAAQA,EAAR,0BAAa,OAAb;EAAA,IAAsBC,KAAtB,GAA+CH,KAA/C,CAAsBG,KAAtB;EAAA,IAAgCC,UAAhC,4BAA+CJ,KAA/C;;EAEA,oBACE,KAAC,GAAD;IACE,GAAG,EAAEC,YADP;IAEE,EAAE,EAAEC,EAFN;IAGE,KAAK;MACHG,OAAO,EAAE,aADN;MAEHC,QAAQ,EAAE,UAFP;MAGHC,UAAU,EAAE,QAHT;MAIHC,uBAAuB,EAAE,aAJtB;MAKHC,GAAG,EAAE;IALF,GAMAN,KANA;EAHP,GAWMC,UAXN,EADF;AAeD,CArB8C,CAAxC"}
1
+ {"version":3,"file":"SelectionControlLabel.js","names":["forwardRef","Box","SelectionControlLabel","props","forwardedRef","as","__css","otherProps","display","position","alignItems","WebkitTapHighlightColor","gap"],"sources":["../../../src/SelectionControl/SelectionControlLabel.tsx"],"sourcesContent":["import type { ElementType, LabelHTMLAttributes, ReactNode } from 'react';\nimport { forwardRef } from 'react';\n\nimport type { BoxProps } from '../Box';\nimport { Box } from '../Box';\n\nexport interface SelectionControlLabelProps\n extends BoxProps<HTMLLabelElement, LabelHTMLAttributes<HTMLLabelElement>> {\n as?: ElementType<any>;\n children?: ReactNode;\n}\n\nexport const SelectionControlLabel = forwardRef<\n HTMLLabelElement,\n SelectionControlLabelProps\n>(function SelectionControlLabel(props, forwardedRef) {\n const { as = 'label', __css, ...otherProps } = props;\n\n return (\n <Box<BoxProps<HTMLLabelElement, LabelHTMLAttributes<HTMLLabelElement>>>\n ref={forwardedRef}\n as={as}\n __css={{\n display: 'inline-flex',\n position: 'relative',\n alignItems: 'center',\n WebkitTapHighlightColor: 'transparent',\n gap: 1,\n ...__css,\n }}\n {...otherProps}\n />\n );\n});\n"],"mappings":";;;AACA,SAASA,UAAT,QAA2B,OAA3B;AAGA,SAASC,GAAT,QAAoB,QAApB;;AAQA,OAAO,IAAMC,qBAAqB,gBAAGF,UAAU,CAG7C,SAASE,qBAAT,CAA+BC,KAA/B,EAAsCC,YAAtC,EAAoD;EACpD,gBAA+CD,KAA/C,CAAQE,EAAR;EAAA,IAAQA,EAAR,0BAAa,OAAb;EAAA,IAAsBC,KAAtB,GAA+CH,KAA/C,CAAsBG,KAAtB;EAAA,IAAgCC,UAAhC,4BAA+CJ,KAA/C;;EAEA,oBACE,KAAC,GAAD;IACE,GAAG,EAAEC,YADP;IAEE,EAAE,EAAEC,EAFN;IAGE,KAAK;MACHG,OAAO,EAAE,aADN;MAEHC,QAAQ,EAAE,UAFP;MAGHC,UAAU,EAAE,QAHT;MAIHC,uBAAuB,EAAE,aAJtB;MAKHC,GAAG,EAAE;IALF,GAMAN,KANA;EAHP,GAWMC,UAXN,EADF;AAeD,CArB8C,CAAxC"}
@@ -1,8 +1,8 @@
1
- import type { ElementType, ReactNode } from 'react';
2
- import type { TextProps } from '../Text';
3
- export interface SelectionControlTextProps extends TextProps {
4
- as?: ElementType<any>;
5
- children?: ReactNode;
6
- disabled?: boolean;
7
- }
8
- export declare const SelectionControlText: import("react").ForwardRefExoticComponent<Pick<SelectionControlTextProps, "p" | "slot" | "style" | "title" | "as" | "fontFamily" | "fontSize" | "children" | "background" | "bottom" | "top" | "hidden" | "left" | "right" | "sx" | "__css" | "variant" | "tx" | "theme" | "m" | "margin" | "mt" | "marginTop" | "mr" | "marginRight" | "mb" | "marginBottom" | "ml" | "marginLeft" | "mx" | "marginX" | "my" | "marginY" | "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" | "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" | "backgroundImage" | "backgroundSize" | "backgroundPosition" | "backgroundRepeat" | "position" | "zIndex" | "boxShadow" | "textShadow" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "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"> & import("react").RefAttributes<HTMLSpanElement>>;
1
+ import type { ElementType, ReactNode } from 'react';
2
+ import type { TextProps } from '../Text';
3
+ export interface SelectionControlTextProps extends TextProps {
4
+ as?: ElementType<any>;
5
+ children?: ReactNode;
6
+ disabled?: boolean;
7
+ }
8
+ export declare const SelectionControlText: import("react").ForwardRefExoticComponent<Pick<SelectionControlTextProps, "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "color" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "background" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "variant" | "size" | "hidden" | "as" | "sx" | "__css" | "tx" | "theme" | "borderX" | "borderY" | "gridGap" | "gridColumnGap" | "gridRowGap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "disabled"> & import("react").RefAttributes<HTMLSpanElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"SelectionControlText.js","names":["forwardRef","Text","alpha","SelectionControlText","props","forwardedRef","as","disabled","__css","otherProps","p","color","cursor"],"sources":["../../../src/SelectionControl/SelectionControlText.tsx"],"sourcesContent":["import type { ElementType, ReactNode } from 'react';\r\nimport { forwardRef } from 'react';\r\n\r\nimport type { TextProps } from '../Text';\r\nimport { Text } from '../Text';\r\nimport { alpha } from '../color';\r\n\r\nexport interface SelectionControlTextProps extends TextProps {\r\n as?: ElementType<any>;\r\n children?: ReactNode;\r\n disabled?: boolean;\r\n}\r\n\r\nexport const SelectionControlText = forwardRef<\r\n HTMLSpanElement,\r\n SelectionControlTextProps\r\n>(function SelectionControlText(props, forwardedRef) {\r\n const { as = 'span', disabled, __css, ...otherProps } = props;\r\n\r\n return (\r\n <Text\r\n ref={forwardedRef as any}\r\n as={as}\r\n __css={{\r\n p: 1,\r\n ...(disabled\r\n ? { color: alpha('on.surface', 0.38) }\r\n : {\r\n cursor: 'pointer',\r\n color: alpha('on.surface', 0.87),\r\n }),\r\n ...__css,\r\n }}\r\n {...otherProps}\r\n />\r\n );\r\n});\r\n"],"mappings":";;;AACA,SAASA,UAAT,QAA2B,OAA3B;AAGA,SAASC,IAAT,QAAqB,SAArB;AACA,SAASC,KAAT,QAAsB,UAAtB;;AAQA,OAAO,IAAMC,oBAAoB,gBAAGH,UAAU,CAG5C,SAASG,oBAAT,CAA8BC,KAA9B,EAAqCC,YAArC,EAAmD;EACnD,gBAAwDD,KAAxD,CAAQE,EAAR;EAAA,IAAQA,EAAR,0BAAa,MAAb;EAAA,IAAqBC,QAArB,GAAwDH,KAAxD,CAAqBG,QAArB;EAAA,IAA+BC,KAA/B,GAAwDJ,KAAxD,CAA+BI,KAA/B;EAAA,IAAyCC,UAAzC,4BAAwDL,KAAxD;;EAEA,oBACE,KAAC,IAAD;IACE,GAAG,EAAEC,YADP;IAEE,EAAE,EAAEC,EAFN;IAGE,KAAK;MACHI,CAAC,EAAE;IADA,GAECH,QAAQ,GACR;MAAEI,KAAK,EAAET,KAAK,CAAC,YAAD,EAAe,IAAf;IAAd,CADQ,GAER;MACEU,MAAM,EAAE,SADV;MAEED,KAAK,EAAET,KAAK,CAAC,YAAD,EAAe,IAAf;IAFd,CAJD,GAQAM,KARA;EAHP,GAaMC,UAbN,EADF;AAiBD,CAvB6C,CAAvC"}
1
+ {"version":3,"file":"SelectionControlText.js","names":["forwardRef","Text","alpha","SelectionControlText","props","forwardedRef","as","disabled","__css","otherProps","p","color","cursor"],"sources":["../../../src/SelectionControl/SelectionControlText.tsx"],"sourcesContent":["import type { ElementType, ReactNode } from 'react';\nimport { forwardRef } from 'react';\n\nimport type { TextProps } from '../Text';\nimport { Text } from '../Text';\nimport { alpha } from '../color';\n\nexport interface SelectionControlTextProps extends TextProps {\n as?: ElementType<any>;\n children?: ReactNode;\n disabled?: boolean;\n}\n\nexport const SelectionControlText = forwardRef<\n HTMLSpanElement,\n SelectionControlTextProps\n>(function SelectionControlText(props, forwardedRef) {\n const { as = 'span', disabled, __css, ...otherProps } = props;\n\n return (\n <Text\n ref={forwardedRef as any}\n as={as}\n __css={{\n p: 1,\n ...(disabled\n ? { color: alpha('on.surface', 0.38) }\n : {\n cursor: 'pointer',\n color: alpha('on.surface', 0.87),\n }),\n ...__css,\n }}\n {...otherProps}\n />\n );\n});\n"],"mappings":";;;AACA,SAASA,UAAT,QAA2B,OAA3B;AAGA,SAASC,IAAT,QAAqB,SAArB;AACA,SAASC,KAAT,QAAsB,UAAtB;;AAQA,OAAO,IAAMC,oBAAoB,gBAAGH,UAAU,CAG5C,SAASG,oBAAT,CAA8BC,KAA9B,EAAqCC,YAArC,EAAmD;EACnD,gBAAwDD,KAAxD,CAAQE,EAAR;EAAA,IAAQA,EAAR,0BAAa,MAAb;EAAA,IAAqBC,QAArB,GAAwDH,KAAxD,CAAqBG,QAArB;EAAA,IAA+BC,KAA/B,GAAwDJ,KAAxD,CAA+BI,KAA/B;EAAA,IAAyCC,UAAzC,4BAAwDL,KAAxD;;EAEA,oBACE,KAAC,IAAD;IACE,GAAG,EAAEC,YADP;IAEE,EAAE,EAAEC,EAFN;IAGE,KAAK;MACHI,CAAC,EAAE;IADA,GAECH,QAAQ,GACR;MAAEI,KAAK,EAAET,KAAK,CAAC,YAAD,EAAe,IAAf;IAAd,CADQ,GAER;MACEU,MAAM,EAAE,SADV;MAEED,KAAK,EAAET,KAAK,CAAC,YAAD,EAAe,IAAf;IAFd,CAJD,GAQAM,KARA;EAHP,GAaMC,UAbN,EADF;AAiBD,CAvB6C,CAAvC"}
@@ -1,2 +1,2 @@
1
- export * from './SelectionControlLabel';
2
- export * from './SelectionControlText';
1
+ export * from './SelectionControlLabel';
2
+ export * from './SelectionControlText';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../src/SelectionControl/index.ts"],"sourcesContent":["export * from './SelectionControlLabel';\r\nexport * from './SelectionControlText';\r\n"],"mappings":"AAAA,cAAc,yBAAd;AACA,cAAc,wBAAd"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../src/SelectionControl/index.ts"],"sourcesContent":["export * from './SelectionControlLabel';\nexport * from './SelectionControlText';\n"],"mappings":"AAAA,cAAc,yBAAd;AACA,cAAc,wBAAd"}
@@ -1,13 +1,13 @@
1
- import type { ReactNode } from 'react';
2
- import type { Keyframes } from '@emotion/serialize';
3
- import type { BoxProps } from '../Box';
4
- export declare const appearAnimation: Keyframes;
5
- export interface DelayAppearanceProps extends BoxProps {
6
- timeoutInMilliseconds?: number;
7
- children?: ReactNode;
8
- }
9
- /**
10
- * Helper component to prevent an Skeleton component from appearing too fast.
11
- * https://reactjs.org/docs/concurrent-mode-patterns.html#delaying-a-pending-indicator
12
- */
13
- export declare const DelayAppearance: import("react").ForwardRefExoticComponent<Pick<DelayAppearanceProps, "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "color" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "background" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "variant" | "size" | "hidden" | "as" | "sx" | "__css" | "tx" | "theme" | "borderX" | "borderY" | "gridGap" | "gridColumnGap" | "gridRowGap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "timeoutInMilliseconds"> & import("react").RefAttributes<HTMLDivElement>>;
1
+ import type { ReactNode } from 'react';
2
+ import type { Keyframes } from '@emotion/serialize';
3
+ import type { BoxProps } from '../Box';
4
+ export declare const appearAnimation: Keyframes;
5
+ export interface DelayAppearanceProps extends BoxProps {
6
+ timeoutInMilliseconds?: number;
7
+ children?: ReactNode;
8
+ }
9
+ /**
10
+ * Helper component to prevent an Skeleton component from appearing too fast.
11
+ * https://reactjs.org/docs/concurrent-mode-patterns.html#delaying-a-pending-indicator
12
+ */
13
+ export declare const DelayAppearance: import("react").ForwardRefExoticComponent<Pick<DelayAppearanceProps, "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "color" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "background" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "variant" | "size" | "hidden" | "as" | "sx" | "__css" | "tx" | "theme" | "borderX" | "borderY" | "gridGap" | "gridColumnGap" | "gridRowGap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "timeoutInMilliseconds"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -11,9 +11,9 @@ export var appearAnimation = keyframes({
11
11
  }
12
12
  });
13
13
 
14
- /**
15
- * Helper component to prevent an Skeleton component from appearing too fast.
16
- * https://reactjs.org/docs/concurrent-mode-patterns.html#delaying-a-pending-indicator
14
+ /**
15
+ * Helper component to prevent an Skeleton component from appearing too fast.
16
+ * https://reactjs.org/docs/concurrent-mode-patterns.html#delaying-a-pending-indicator
17
17
  */
18
18
  export var DelayAppearance = /*#__PURE__*/forwardRef(function DelayAppearance(props, forwardedRef) {
19
19
  var _props$timeoutInMilli = props.timeoutInMilliseconds,
@@ -1 +1 @@
1
- {"version":3,"file":"DelayAppearance.js","names":["forwardRef","keyframes","Box","appearAnimation","to","visibility","DelayAppearance","props","forwardedRef","timeoutInMilliseconds","__css","otherProps","animation"],"sources":["../../../src/Skeleton/DelayAppearance.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\r\nimport { forwardRef } from 'react';\r\nimport { keyframes } from '@emotion/react';\r\nimport type { Keyframes } from '@emotion/serialize';\r\n\r\nimport type { BoxProps } from '../Box';\r\nimport { Box } from '../Box';\r\n\r\nexport const appearAnimation: Keyframes = keyframes({\r\n to: {\r\n visibility: 'visible',\r\n },\r\n});\r\n\r\nexport interface DelayAppearanceProps extends BoxProps {\r\n timeoutInMilliseconds?: number;\r\n children?: ReactNode;\r\n}\r\n\r\n/**\r\n * Helper component to prevent an Skeleton component from appearing too fast.\r\n * https://reactjs.org/docs/concurrent-mode-patterns.html#delaying-a-pending-indicator\r\n */\r\nexport const DelayAppearance = forwardRef<HTMLDivElement, DelayAppearanceProps>(\r\n function DelayAppearance(props, forwardedRef) {\r\n const { timeoutInMilliseconds = 500, __css, ...otherProps } = props;\r\n\r\n return (\r\n <Box\r\n ref={forwardedRef}\r\n timeoutInMilliseconds={timeoutInMilliseconds}\r\n __css={{\r\n animation: `0s linear ${timeoutInMilliseconds}ms forwards ${appearAnimation}`,\r\n visibility: 'hidden',\r\n ...__css,\r\n }}\r\n {...otherProps}\r\n />\r\n );\r\n }\r\n);\r\n"],"mappings":";;;AACA,SAASA,UAAT,QAA2B,OAA3B;AACA,SAASC,SAAT,QAA0B,gBAA1B;AAIA,SAASC,GAAT,QAAoB,QAApB;;AAEA,OAAO,IAAMC,eAA0B,GAAGF,SAAS,CAAC;EAClDG,EAAE,EAAE;IACFC,UAAU,EAAE;EADV;AAD8C,CAAD,CAA5C;;AAWP;AACA;AACA;AACA;AACA,OAAO,IAAMC,eAAe,gBAAGN,UAAU,CACvC,SAASM,eAAT,CAAyBC,KAAzB,EAAgCC,YAAhC,EAA8C;EAC5C,4BAA8DD,KAA9D,CAAQE,qBAAR;EAAA,IAAQA,qBAAR,sCAAgC,GAAhC;EAAA,IAAqCC,KAArC,GAA8DH,KAA9D,CAAqCG,KAArC;EAAA,IAA+CC,UAA/C,4BAA8DJ,KAA9D;;EAEA,oBACE,KAAC,GAAD;IACE,GAAG,EAAEC,YADP;IAEE,qBAAqB,EAAEC,qBAFzB;IAGE,KAAK;MACHG,SAAS,sBAAeH,qBAAf,yBAAmDN,eAAnD,CADN;MAEHE,UAAU,EAAE;IAFT,GAGAK,KAHA;EAHP,GAQMC,UARN,EADF;AAYD,CAhBsC,CAAlC"}
1
+ {"version":3,"file":"DelayAppearance.js","names":["forwardRef","keyframes","Box","appearAnimation","to","visibility","DelayAppearance","props","forwardedRef","timeoutInMilliseconds","__css","otherProps","animation"],"sources":["../../../src/Skeleton/DelayAppearance.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport { forwardRef } from 'react';\nimport { keyframes } from '@emotion/react';\nimport type { Keyframes } from '@emotion/serialize';\n\nimport type { BoxProps } from '../Box';\nimport { Box } from '../Box';\n\nexport const appearAnimation: Keyframes = keyframes({\n to: {\n visibility: 'visible',\n },\n});\n\nexport interface DelayAppearanceProps extends BoxProps {\n timeoutInMilliseconds?: number;\n children?: ReactNode;\n}\n\n/**\n * Helper component to prevent an Skeleton component from appearing too fast.\n * https://reactjs.org/docs/concurrent-mode-patterns.html#delaying-a-pending-indicator\n */\nexport const DelayAppearance = forwardRef<HTMLDivElement, DelayAppearanceProps>(\n function DelayAppearance(props, forwardedRef) {\n const { timeoutInMilliseconds = 500, __css, ...otherProps } = props;\n\n return (\n <Box\n ref={forwardedRef}\n timeoutInMilliseconds={timeoutInMilliseconds}\n __css={{\n animation: `0s linear ${timeoutInMilliseconds}ms forwards ${appearAnimation}`,\n visibility: 'hidden',\n ...__css,\n }}\n {...otherProps}\n />\n );\n }\n);\n"],"mappings":";;;AACA,SAASA,UAAT,QAA2B,OAA3B;AACA,SAASC,SAAT,QAA0B,gBAA1B;AAIA,SAASC,GAAT,QAAoB,QAApB;;AAEA,OAAO,IAAMC,eAA0B,GAAGF,SAAS,CAAC;EAClDG,EAAE,EAAE;IACFC,UAAU,EAAE;EADV;AAD8C,CAAD,CAA5C;;AAWP;AACA;AACA;AACA;AACA,OAAO,IAAMC,eAAe,gBAAGN,UAAU,CACvC,SAASM,eAAT,CAAyBC,KAAzB,EAAgCC,YAAhC,EAA8C;EAC5C,4BAA8DD,KAA9D,CAAQE,qBAAR;EAAA,IAAQA,qBAAR,sCAAgC,GAAhC;EAAA,IAAqCC,KAArC,GAA8DH,KAA9D,CAAqCG,KAArC;EAAA,IAA+CC,UAA/C,4BAA8DJ,KAA9D;;EAEA,oBACE,KAAC,GAAD;IACE,GAAG,EAAEC,YADP;IAEE,qBAAqB,EAAEC,qBAFzB;IAGE,KAAK;MACHG,SAAS,sBAAeH,qBAAf,yBAAmDN,eAAnD,CADN;MAEHE,UAAU,EAAE;IAFT,GAGAK,KAHA;EAHP,GAQMC,UARN,EADF;AAYD,CAhBsC,CAAlC"}
@@ -1,9 +1,9 @@
1
- import type { ElementType, HTMLAttributes, ReactNode } from 'react';
2
- import type { BoxProps } from '../Box';
3
- export interface SkeletonProps extends BoxProps<HTMLSpanElement, HTMLAttributes<HTMLSpanElement>> {
4
- as?: ElementType<any>;
5
- innerAs?: ElementType<any>;
6
- children?: ReactNode;
7
- animation?: 'pulse' | 'wave';
8
- }
9
- export declare const Skeleton: import("react").ForwardRefExoticComponent<Pick<SkeletonProps, "p" | "slot" | "style" | "title" | "as" | "fontFamily" | "fontSize" | "children" | "background" | "bottom" | "top" | "hidden" | "left" | "right" | "sx" | "__css" | "variant" | "tx" | "theme" | "m" | "margin" | "mt" | "marginTop" | "mr" | "marginRight" | "mb" | "marginBottom" | "ml" | "marginLeft" | "mx" | "marginX" | "my" | "marginY" | "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" | "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" | "backgroundImage" | "backgroundSize" | "backgroundPosition" | "backgroundRepeat" | "position" | "zIndex" | "boxShadow" | "textShadow" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "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" | "animation" | "innerAs"> & import("react").RefAttributes<HTMLSpanElement>>;
1
+ import type { ElementType, HTMLAttributes, ReactNode } from 'react';
2
+ import type { BoxProps } from '../Box';
3
+ export interface SkeletonProps extends BoxProps<HTMLSpanElement, HTMLAttributes<HTMLSpanElement>> {
4
+ as?: ElementType<any>;
5
+ innerAs?: ElementType<any>;
6
+ children?: ReactNode;
7
+ animation?: 'pulse' | 'wave';
8
+ }
9
+ export declare const Skeleton: import("react").ForwardRefExoticComponent<Pick<SkeletonProps, "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "color" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "animation" | "background" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "variant" | "size" | "hidden" | "as" | "sx" | "__css" | "tx" | "theme" | "borderX" | "borderY" | "gridGap" | "gridColumnGap" | "gridRowGap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "innerAs"> & import("react").RefAttributes<HTMLSpanElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"Skeleton.js","names":["forwardRef","Box","alpha","useTheme","pulseAnimationStyle","waveAnimationStyle","Skeleton","props","forwardedRef","as","__css","animation","otherProps","theme","height","display","backgroundColor"],"sources":["../../../src/Skeleton/Skeleton.tsx"],"sourcesContent":["import type { ElementType, HTMLAttributes, ReactNode } from 'react';\r\nimport { forwardRef } from 'react';\r\n\r\nimport type { BoxProps } from '../Box';\r\nimport { Box } from '../Box';\r\nimport { alpha } from '../color';\r\nimport { useTheme } from '../theme';\r\nimport { pulseAnimationStyle, waveAnimationStyle } from './animation';\r\n\r\nexport interface SkeletonProps\r\n extends BoxProps<HTMLSpanElement, HTMLAttributes<HTMLSpanElement>> {\r\n as?: ElementType<any>;\r\n innerAs?: ElementType<any>;\r\n children?: ReactNode;\r\n animation?: 'pulse' | 'wave';\r\n}\r\n\r\nexport const Skeleton = forwardRef<HTMLSpanElement, SkeletonProps>(\r\n function Skeleton(props, forwardedRef) {\r\n const { as = 'span', __css, animation = 'pulse', ...otherProps } = props;\r\n const theme = useTheme();\r\n\r\n return (\r\n <Box<BoxProps<HTMLSpanElement, HTMLAttributes<HTMLSpanElement>>>\r\n ref={forwardedRef}\r\n as={as}\r\n __css={{\r\n height: '1.2em',\r\n display: 'inline-block',\r\n backgroundColor: alpha('on.surface', 0.11),\r\n ...(animation === 'pulse'\r\n ? pulseAnimationStyle()\r\n : waveAnimationStyle({ theme })),\r\n ...__css,\r\n }}\r\n {...otherProps}\r\n />\r\n );\r\n }\r\n);\r\n"],"mappings":";;;AACA,SAASA,UAAT,QAA2B,OAA3B;AAGA,SAASC,GAAT,QAAoB,QAApB;AACA,SAASC,KAAT,QAAsB,UAAtB;AACA,SAASC,QAAT,QAAyB,UAAzB;AACA,SAASC,mBAAT,EAA8BC,kBAA9B,QAAwD,aAAxD;;AAUA,OAAO,IAAMC,QAAQ,gBAAGN,UAAU,CAChC,SAASM,QAAT,CAAkBC,KAAlB,EAAyBC,YAAzB,EAAuC;EACrC,gBAAmED,KAAnE,CAAQE,EAAR;EAAA,IAAQA,EAAR,0BAAa,MAAb;EAAA,IAAqBC,KAArB,GAAmEH,KAAnE,CAAqBG,KAArB;EAAA,uBAAmEH,KAAnE,CAA4BI,SAA5B;EAAA,IAA4BA,SAA5B,iCAAwC,OAAxC;EAAA,IAAoDC,UAApD,4BAAmEL,KAAnE;;EACA,IAAMM,KAAK,GAAGV,QAAQ,EAAtB;EAEA,oBACE,KAAC,GAAD;IACE,GAAG,EAAEK,YADP;IAEE,EAAE,EAAEC,EAFN;IAGE,KAAK;MACHK,MAAM,EAAE,OADL;MAEHC,OAAO,EAAE,cAFN;MAGHC,eAAe,EAAEd,KAAK,CAAC,YAAD,EAAe,IAAf;IAHnB,GAICS,SAAS,KAAK,OAAd,GACAP,mBAAmB,EADnB,GAEAC,kBAAkB,CAAC;MAAEQ,KAAK,EAALA;IAAF,CAAD,CANnB,GAOAH,KAPA;EAHP,GAYME,UAZN,EADF;AAgBD,CArB+B,CAA3B"}
1
+ {"version":3,"file":"Skeleton.js","names":["forwardRef","Box","alpha","useTheme","pulseAnimationStyle","waveAnimationStyle","Skeleton","props","forwardedRef","as","__css","animation","otherProps","theme","height","display","backgroundColor"],"sources":["../../../src/Skeleton/Skeleton.tsx"],"sourcesContent":["import type { ElementType, HTMLAttributes, ReactNode } from 'react';\nimport { forwardRef } from 'react';\n\nimport type { BoxProps } from '../Box';\nimport { Box } from '../Box';\nimport { alpha } from '../color';\nimport { useTheme } from '../theme';\nimport { pulseAnimationStyle, waveAnimationStyle } from './animation';\n\nexport interface SkeletonProps\n extends BoxProps<HTMLSpanElement, HTMLAttributes<HTMLSpanElement>> {\n as?: ElementType<any>;\n innerAs?: ElementType<any>;\n children?: ReactNode;\n animation?: 'pulse' | 'wave';\n}\n\nexport const Skeleton = forwardRef<HTMLSpanElement, SkeletonProps>(\n function Skeleton(props, forwardedRef) {\n const { as = 'span', __css, animation = 'pulse', ...otherProps } = props;\n const theme = useTheme();\n\n return (\n <Box<BoxProps<HTMLSpanElement, HTMLAttributes<HTMLSpanElement>>>\n ref={forwardedRef}\n as={as}\n __css={{\n height: '1.2em',\n display: 'inline-block',\n backgroundColor: alpha('on.surface', 0.11),\n ...(animation === 'pulse'\n ? pulseAnimationStyle()\n : waveAnimationStyle({ theme })),\n ...__css,\n }}\n {...otherProps}\n />\n );\n }\n);\n"],"mappings":";;;AACA,SAASA,UAAT,QAA2B,OAA3B;AAGA,SAASC,GAAT,QAAoB,QAApB;AACA,SAASC,KAAT,QAAsB,UAAtB;AACA,SAASC,QAAT,QAAyB,UAAzB;AACA,SAASC,mBAAT,EAA8BC,kBAA9B,QAAwD,aAAxD;;AAUA,OAAO,IAAMC,QAAQ,gBAAGN,UAAU,CAChC,SAASM,QAAT,CAAkBC,KAAlB,EAAyBC,YAAzB,EAAuC;EACrC,gBAAmED,KAAnE,CAAQE,EAAR;EAAA,IAAQA,EAAR,0BAAa,MAAb;EAAA,IAAqBC,KAArB,GAAmEH,KAAnE,CAAqBG,KAArB;EAAA,uBAAmEH,KAAnE,CAA4BI,SAA5B;EAAA,IAA4BA,SAA5B,iCAAwC,OAAxC;EAAA,IAAoDC,UAApD,4BAAmEL,KAAnE;;EACA,IAAMM,KAAK,GAAGV,QAAQ,EAAtB;EAEA,oBACE,KAAC,GAAD;IACE,GAAG,EAAEK,YADP;IAEE,EAAE,EAAEC,EAFN;IAGE,KAAK;MACHK,MAAM,EAAE,OADL;MAEHC,OAAO,EAAE,cAFN;MAGHC,eAAe,EAAEd,KAAK,CAAC,YAAD,EAAe,IAAf;IAHnB,GAICS,SAAS,KAAK,OAAd,GACAP,mBAAmB,EADnB,GAEAC,kBAAkB,CAAC;MAAEQ,KAAK,EAALA;IAAF,CAAD,CANnB,GAOAH,KAPA;EAHP,GAYME,UAZN,EADF;AAgBD,CArB+B,CAA3B"}
@@ -1,8 +1,8 @@
1
- import type { Keyframes } from '@emotion/serialize';
2
- import type { SystemStyleObject } from '@styled-system/css';
3
- export declare const pulseAnimation: Keyframes;
4
- export declare const pulseAnimationStyle: () => SystemStyleObject;
5
- export declare const waveAnimation: Keyframes;
6
- export declare const waveAnimationStyle: (obj: {
7
- theme: any;
8
- }) => SystemStyleObject;
1
+ import type { Keyframes } from '@emotion/serialize';
2
+ import type { SystemStyleObject } from '@styled-system/css';
3
+ export declare const pulseAnimation: Keyframes;
4
+ export declare const pulseAnimationStyle: () => SystemStyleObject;
5
+ export declare const waveAnimation: Keyframes;
6
+ export declare const waveAnimationStyle: (obj: {
7
+ theme: any;
8
+ }) => SystemStyleObject;
@@ -1 +1 @@
1
- {"version":3,"file":"animation.js","names":["keyframes","alpha","pulseAnimation","opacity","pulseAnimationStyle","animation","waveAnimation","transform","waveAnimationStyle","theme","overflow","position","content","top","left","right","bottom","background"],"sources":["../../../src/Skeleton/animation.ts"],"sourcesContent":["import { keyframes } from '@emotion/react';\r\nimport type { Keyframes } from '@emotion/serialize';\r\nimport type { SystemStyleObject } from '@styled-system/css';\r\n\r\nimport { alpha } from '../color';\r\n\r\nexport const pulseAnimation: Keyframes = keyframes({\r\n '0%': {\r\n opacity: 1,\r\n },\r\n '50%': {\r\n opacity: 0.4,\r\n },\r\n '100%': {\r\n opacity: 1,\r\n },\r\n});\r\n\r\nexport const pulseAnimationStyle: () => SystemStyleObject = () => ({\r\n animation: `${pulseAnimation} 1.5s ease-in-out 0.5s infinite`,\r\n});\r\n\r\nexport const waveAnimation: Keyframes = keyframes({\r\n '0%': {\r\n transform: 'translateX(-100%)',\r\n },\r\n '60%': {\r\n transform: 'translateX(100%)',\r\n },\r\n '100%': {\r\n transform: 'translateX(100%)',\r\n },\r\n});\r\n\r\nexport const waveAnimationStyle: (obj: { theme: any }) => SystemStyleObject = ({\r\n theme,\r\n}: any) => ({\r\n overflow: 'hidden',\r\n position: 'relative',\r\n '&::after': {\r\n position: 'absolute',\r\n content: '\"\"',\r\n top: 0,\r\n left: 0,\r\n right: 0,\r\n bottom: 0,\r\n animation: `${waveAnimation} 1.6s linear 0.5s infinite`,\r\n transform: 'translateX(-100%)',\r\n background: `linear-gradient(90deg, transparent, ${alpha(\r\n 'on.surface',\r\n 0.04\r\n )(theme)}, transparent)`,\r\n },\r\n});\r\n"],"mappings":"AAAA,SAASA,SAAT,QAA0B,gBAA1B;AAIA,SAASC,KAAT,QAAsB,UAAtB;AAEA,OAAO,IAAMC,cAAyB,GAAGF,SAAS,CAAC;EACjD,MAAM;IACJG,OAAO,EAAE;EADL,CAD2C;EAIjD,OAAO;IACLA,OAAO,EAAE;EADJ,CAJ0C;EAOjD,QAAQ;IACNA,OAAO,EAAE;EADH;AAPyC,CAAD,CAA3C;AAYP,OAAO,IAAMC,mBAA4C,GAAG,SAA/CA,mBAA+C;EAAA,OAAO;IACjEC,SAAS,YAAKH,cAAL;EADwD,CAAP;AAAA,CAArD;AAIP,OAAO,IAAMI,aAAwB,GAAGN,SAAS,CAAC;EAChD,MAAM;IACJO,SAAS,EAAE;EADP,CAD0C;EAIhD,OAAO;IACLA,SAAS,EAAE;EADN,CAJyC;EAOhD,QAAQ;IACNA,SAAS,EAAE;EADL;AAPwC,CAAD,CAA1C;AAYP,OAAO,IAAMC,kBAA8D,GAAG,SAAjEA,kBAAiE;EAAA,IAC5EC,KAD4E,QAC5EA,KAD4E;EAAA,OAElE;IACVC,QAAQ,EAAE,QADA;IAEVC,QAAQ,EAAE,UAFA;IAGV,YAAY;MACVA,QAAQ,EAAE,UADA;MAEVC,OAAO,EAAE,IAFC;MAGVC,GAAG,EAAE,CAHK;MAIVC,IAAI,EAAE,CAJI;MAKVC,KAAK,EAAE,CALG;MAMVC,MAAM,EAAE,CANE;MAOVX,SAAS,YAAKC,aAAL,+BAPC;MAQVC,SAAS,EAAE,mBARD;MASVU,UAAU,gDAAyChB,KAAK,CACtD,YADsD,EAEtD,IAFsD,CAAL,CAGjDQ,KAHiD,CAAzC;IATA;EAHF,CAFkE;AAAA,CAAvE"}
1
+ {"version":3,"file":"animation.js","names":["keyframes","alpha","pulseAnimation","opacity","pulseAnimationStyle","animation","waveAnimation","transform","waveAnimationStyle","theme","overflow","position","content","top","left","right","bottom","background"],"sources":["../../../src/Skeleton/animation.ts"],"sourcesContent":["import { keyframes } from '@emotion/react';\nimport type { Keyframes } from '@emotion/serialize';\nimport type { SystemStyleObject } from '@styled-system/css';\n\nimport { alpha } from '../color';\n\nexport const pulseAnimation: Keyframes = keyframes({\n '0%': {\n opacity: 1,\n },\n '50%': {\n opacity: 0.4,\n },\n '100%': {\n opacity: 1,\n },\n});\n\nexport const pulseAnimationStyle: () => SystemStyleObject = () => ({\n animation: `${pulseAnimation} 1.5s ease-in-out 0.5s infinite`,\n});\n\nexport const waveAnimation: Keyframes = keyframes({\n '0%': {\n transform: 'translateX(-100%)',\n },\n '60%': {\n transform: 'translateX(100%)',\n },\n '100%': {\n transform: 'translateX(100%)',\n },\n});\n\nexport const waveAnimationStyle: (obj: { theme: any }) => SystemStyleObject = ({\n theme,\n}: any) => ({\n overflow: 'hidden',\n position: 'relative',\n '&::after': {\n position: 'absolute',\n content: '\"\"',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n animation: `${waveAnimation} 1.6s linear 0.5s infinite`,\n transform: 'translateX(-100%)',\n background: `linear-gradient(90deg, transparent, ${alpha(\n 'on.surface',\n 0.04\n )(theme)}, transparent)`,\n },\n});\n"],"mappings":"AAAA,SAASA,SAAT,QAA0B,gBAA1B;AAIA,SAASC,KAAT,QAAsB,UAAtB;AAEA,OAAO,IAAMC,cAAyB,GAAGF,SAAS,CAAC;EACjD,MAAM;IACJG,OAAO,EAAE;EADL,CAD2C;EAIjD,OAAO;IACLA,OAAO,EAAE;EADJ,CAJ0C;EAOjD,QAAQ;IACNA,OAAO,EAAE;EADH;AAPyC,CAAD,CAA3C;AAYP,OAAO,IAAMC,mBAA4C,GAAG,SAA/CA,mBAA+C;EAAA,OAAO;IACjEC,SAAS,YAAKH,cAAL;EADwD,CAAP;AAAA,CAArD;AAIP,OAAO,IAAMI,aAAwB,GAAGN,SAAS,CAAC;EAChD,MAAM;IACJO,SAAS,EAAE;EADP,CAD0C;EAIhD,OAAO;IACLA,SAAS,EAAE;EADN,CAJyC;EAOhD,QAAQ;IACNA,SAAS,EAAE;EADL;AAPwC,CAAD,CAA1C;AAYP,OAAO,IAAMC,kBAA8D,GAAG,SAAjEA,kBAAiE;EAAA,IAC5EC,KAD4E,QAC5EA,KAD4E;EAAA,OAElE;IACVC,QAAQ,EAAE,QADA;IAEVC,QAAQ,EAAE,UAFA;IAGV,YAAY;MACVA,QAAQ,EAAE,UADA;MAEVC,OAAO,EAAE,IAFC;MAGVC,GAAG,EAAE,CAHK;MAIVC,IAAI,EAAE,CAJI;MAKVC,KAAK,EAAE,CALG;MAMVC,MAAM,EAAE,CANE;MAOVX,SAAS,YAAKC,aAAL,+BAPC;MAQVC,SAAS,EAAE,mBARD;MASVU,UAAU,gDAAyChB,KAAK,CACtD,YADsD,EAEtD,IAFsD,CAAL,CAGjDQ,KAHiD,CAAzC;IATA;EAHF,CAFkE;AAAA,CAAvE"}
@@ -1,2 +1,2 @@
1
- export * from './Skeleton';
2
- export * from './DelayAppearance';
1
+ export * from './Skeleton';
2
+ export * from './DelayAppearance';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../src/Skeleton/index.ts"],"sourcesContent":["export * from './Skeleton';\r\nexport * from './DelayAppearance';\r\n"],"mappings":"AAAA,cAAc,YAAd;AACA,cAAc,mBAAd"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../src/Skeleton/index.ts"],"sourcesContent":["export * from './Skeleton';\nexport * from './DelayAppearance';\n"],"mappings":"AAAA,cAAc,YAAd;AACA,cAAc,mBAAd"}