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

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 (549) hide show
  1. package/README.md +3 -3
  2. package/build/cjs/index.js +60 -15
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/esm/Alert/Alert.d.ts +6 -6
  5. package/build/esm/Alert/index.d.ts +1 -1
  6. package/build/esm/Alert/index.js.map +1 -1
  7. package/build/esm/AppBar/AppBar.d.ts +9 -9
  8. package/build/esm/AppBar/AppBar.js.map +1 -1
  9. package/build/esm/AppBar/AppBarButton.d.ts +4 -4
  10. package/build/esm/AppBar/AppBarButton.js.map +1 -1
  11. package/build/esm/AppBar/context.d.ts +5 -5
  12. package/build/esm/AppBar/context.js.map +1 -1
  13. package/build/esm/AppBar/index.d.ts +3 -3
  14. package/build/esm/AppBar/index.js.map +1 -1
  15. package/build/esm/Badge/Badge.d.ts +6 -6
  16. package/build/esm/Badge/Badge.js.map +1 -1
  17. package/build/esm/Badge/index.d.ts +1 -1
  18. package/build/esm/Badge/index.js.map +1 -1
  19. package/build/esm/BaseLine/BaseLine.d.ts +1 -1
  20. package/build/esm/BaseLine/BaseLine.js +1 -1
  21. package/build/esm/BaseLine/BaseLine.js.map +1 -1
  22. package/build/esm/BaseLine/index.d.ts +1 -1
  23. package/build/esm/BaseLine/index.js.map +1 -1
  24. package/build/esm/BottomSheet/BottomSheet.d.ts +7 -7
  25. package/build/esm/BottomSheet/BottomSheet.js.map +1 -1
  26. package/build/esm/BottomSheet/BottomSheetSurface.d.ts +5 -5
  27. package/build/esm/BottomSheet/BottomSheetSurface.js.map +1 -1
  28. package/build/esm/BottomSheet/index.d.ts +1 -1
  29. package/build/esm/BottomSheet/index.js.map +1 -1
  30. package/build/esm/Box/Box.d.ts +23 -23
  31. package/build/esm/Box/Box.js +1 -1
  32. package/build/esm/Box/Box.js.map +1 -1
  33. package/build/esm/Box/index.d.ts +1 -1
  34. package/build/esm/Box/index.js.map +1 -1
  35. package/build/esm/Button/BaseButton.d.ts +7 -7
  36. package/build/esm/Button/Button.d.ts +13 -13
  37. package/build/esm/Button/ButtonGroup.d.ts +5 -5
  38. package/build/esm/Button/FilledButton.d.ts +11 -11
  39. package/build/esm/Button/FilledButton.js +17 -2
  40. package/build/esm/Button/FilledButton.js.map +1 -1
  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 +17 -2
  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/TransparentButton.js +17 -2
  49. package/build/esm/Button/TransparentButton.js.map +1 -1
  50. package/build/esm/Button/context.d.ts +8 -8
  51. package/build/esm/Button/context.js.map +1 -1
  52. package/build/esm/Button/index.d.ts +2 -2
  53. package/build/esm/Button/index.js.map +1 -1
  54. package/build/esm/CheckBox/CheckBox.d.ts +13 -13
  55. package/build/esm/CheckBox/CheckBox.js.map +1 -1
  56. package/build/esm/CheckBox/CheckBoxIcon.d.ts +10 -10
  57. package/build/esm/CheckBox/CheckBoxIcon.js.map +1 -1
  58. package/build/esm/CheckBox/CheckPath.d.ts +3 -3
  59. package/build/esm/CheckBox/CheckPath.js +1 -1
  60. package/build/esm/CheckBox/CheckPath.js.map +1 -1
  61. package/build/esm/CheckBox/IndeterminatePath.d.ts +3 -3
  62. package/build/esm/CheckBox/IndeterminatePath.js +1 -1
  63. package/build/esm/CheckBox/IndeterminatePath.js.map +1 -1
  64. package/build/esm/CheckBox/index.d.ts +1 -1
  65. package/build/esm/CheckBox/index.js.map +1 -1
  66. package/build/esm/Chip/ButtonChip.d.ts +9 -9
  67. package/build/esm/Chip/ButtonChip.js.map +1 -1
  68. package/build/esm/Chip/Chip.d.ts +4 -4
  69. package/build/esm/Chip/Chip.js.map +1 -1
  70. package/build/esm/Chip/ChipBase.d.ts +10 -10
  71. package/build/esm/Chip/ChipBase.js.map +1 -1
  72. package/build/esm/Chip/ChoiceChip.d.ts +10 -10
  73. package/build/esm/Chip/ChoiceChip.js.map +1 -1
  74. package/build/esm/Chip/index.d.ts +2 -2
  75. package/build/esm/Chip/index.js.map +1 -1
  76. package/build/esm/Combobox/Combobox.d.ts +23 -23
  77. package/build/esm/Combobox/Combobox.js.map +1 -1
  78. package/build/esm/Combobox/index.d.ts +1 -1
  79. package/build/esm/Combobox/index.js.map +1 -1
  80. package/build/esm/Dialog/Dialog.d.ts +20 -20
  81. package/build/esm/Dialog/Dialog.js.map +1 -1
  82. package/build/esm/Dialog/DialogBackdrop.d.ts +7 -7
  83. package/build/esm/Dialog/DialogBackdrop.js.map +1 -1
  84. package/build/esm/Dialog/DialogContainer.d.ts +4 -4
  85. package/build/esm/Dialog/DialogContainer.js.map +1 -1
  86. package/build/esm/Dialog/DialogSurface.d.ts +7 -7
  87. package/build/esm/Dialog/DialogSurface.js.map +1 -1
  88. package/build/esm/Dialog/Scrim.d.ts +4 -4
  89. package/build/esm/Dialog/Scrim.js.map +1 -1
  90. package/build/esm/Dialog/index.d.ts +2 -2
  91. package/build/esm/Dialog/index.js.map +1 -1
  92. package/build/esm/Dialog/useDialogAnimation.d.ts +824 -824
  93. package/build/esm/Dialog/useDialogAnimation.js.map +1 -1
  94. package/build/esm/Divider/Divider.d.ts +7 -7
  95. package/build/esm/Divider/Divider.js.map +1 -1
  96. package/build/esm/Divider/index.d.ts +1 -1
  97. package/build/esm/Divider/index.js.map +1 -1
  98. package/build/esm/FloatingLabel/FloatingLabel.d.ts +13 -13
  99. package/build/esm/FloatingLabel/FloatingLabel.js.map +1 -1
  100. package/build/esm/FloatingLabel/index.d.ts +1 -1
  101. package/build/esm/FloatingLabel/index.js.map +1 -1
  102. package/build/esm/LineRipple/LineRipple.d.ts +9 -9
  103. package/build/esm/LineRipple/LineRipple.js.map +1 -1
  104. package/build/esm/LineRipple/index.d.ts +1 -1
  105. package/build/esm/LineRipple/index.js.map +1 -1
  106. package/build/esm/Link/Link.d.ts +9 -9
  107. package/build/esm/Link/Link.js.map +1 -1
  108. package/build/esm/Link/index.d.ts +1 -1
  109. package/build/esm/Link/index.js.map +1 -1
  110. package/build/esm/List/List.d.ts +8 -8
  111. package/build/esm/List/List.js.map +1 -1
  112. package/build/esm/List/index.d.ts +1 -1
  113. package/build/esm/List/index.js.map +1 -1
  114. package/build/esm/ListItem/ListItem.d.ts +14 -14
  115. package/build/esm/ListItem/ListItem.js.map +1 -1
  116. package/build/esm/ListItem/ListItemText.d.ts +7 -7
  117. package/build/esm/ListItem/ListItemText.js.map +1 -1
  118. package/build/esm/ListItem/index.d.ts +2 -2
  119. package/build/esm/ListItem/index.js.map +1 -1
  120. package/build/esm/Menu/Menu.d.ts +18 -18
  121. package/build/esm/Menu/Menu.js.map +1 -1
  122. package/build/esm/Menu/animation.d.ts +2 -2
  123. package/build/esm/Menu/animation.js.map +1 -1
  124. package/build/esm/Menu/index.d.ts +2 -2
  125. package/build/esm/Menu/index.js.map +1 -1
  126. package/build/esm/NavRail/NavRailItem.d.ts +15 -15
  127. package/build/esm/NavRail/NavRailItem.js.map +1 -1
  128. package/build/esm/NavRail/icons/test-icons.d.ts +4 -4
  129. package/build/esm/NavRail/icons/test-icons.js.map +1 -1
  130. package/build/esm/NavRail/index.d.ts +1 -1
  131. package/build/esm/NavRail/index.js.map +1 -1
  132. package/build/esm/NotchedOutline/NotchedOutline.d.ts +14 -14
  133. package/build/esm/NotchedOutline/NotchedOutline.js.map +1 -1
  134. package/build/esm/NotchedOutline/context.d.ts +6 -6
  135. package/build/esm/NotchedOutline/context.js.map +1 -1
  136. package/build/esm/NotchedOutline/index.d.ts +1 -1
  137. package/build/esm/NotchedOutline/index.js.map +1 -1
  138. package/build/esm/NotchedOutline/styledComponents.d.ts +575 -575
  139. package/build/esm/NotchedOutline/styledComponents.js +1 -1
  140. package/build/esm/NotchedOutline/styledComponents.js.map +1 -1
  141. package/build/esm/Paper/Paper.d.ts +11 -11
  142. package/build/esm/Paper/Paper.js.map +1 -1
  143. package/build/esm/Paper/index.d.ts +1 -1
  144. package/build/esm/Paper/index.js.map +1 -1
  145. package/build/esm/Popover/Popover.d.ts +14 -14
  146. package/build/esm/Popover/PopoverContainer.d.ts +4 -4
  147. package/build/esm/Popover/PopoverSurface.d.ts +5 -5
  148. package/build/esm/Popover/PopoverSurface.js.map +1 -1
  149. package/build/esm/Popover/index.d.ts +1 -1
  150. package/build/esm/Popover/index.js.map +1 -1
  151. package/build/esm/ProgressSpinner/ProgressSpinner.d.ts +8 -8
  152. package/build/esm/ProgressSpinner/ProgressSpinner.js.map +1 -1
  153. package/build/esm/ProgressSpinner/index.d.ts +1 -1
  154. package/build/esm/ProgressSpinner/index.js.map +1 -1
  155. package/build/esm/RadioButton/RadioButton.d.ts +4 -4
  156. package/build/esm/RadioButton/RadioButton.js.map +1 -1
  157. package/build/esm/RadioButton/RadioButtonIcon.d.ts +6 -6
  158. package/build/esm/RadioButton/RadioButtonIcon.js.map +1 -1
  159. package/build/esm/RadioButton/RadioGroup.d.ts +5 -5
  160. package/build/esm/RadioButton/RadioGroup.js.map +1 -1
  161. package/build/esm/RadioButton/index.d.ts +2 -2
  162. package/build/esm/RadioButton/index.js.map +1 -1
  163. package/build/esm/Ripple/Ripple.d.ts +11 -11
  164. package/build/esm/Ripple/Ripple.js +1 -1
  165. package/build/esm/Ripple/Ripple.js.map +1 -1
  166. package/build/esm/Ripple/RippleBox.d.ts +5 -5
  167. package/build/esm/Ripple/RippleBox.js.map +1 -1
  168. package/build/esm/Ripple/constants.d.ts +7 -7
  169. package/build/esm/Ripple/constants.js.map +1 -1
  170. package/build/esm/Ripple/index.d.ts +5 -5
  171. package/build/esm/Ripple/index.js.map +1 -1
  172. package/build/esm/Ripple/keyframes.d.ts +4 -4
  173. package/build/esm/Ripple/keyframes.js.map +1 -1
  174. package/build/esm/Ripple/useRipple.d.ts +14 -14
  175. package/build/esm/Ripple/useRipple.js.map +1 -1
  176. package/build/esm/Ripple/useRippleHandlers.d.ts +8 -8
  177. package/build/esm/Ripple/useRippleHandlers.js.map +1 -1
  178. package/build/esm/Ripple/useRippleSurface.d.ts +787 -787
  179. package/build/esm/Ripple/useRippleSurface.js.map +1 -1
  180. package/build/esm/Select/CustomContainerExample.d.ts +3 -3
  181. package/build/esm/Select/CustomContainerExample.js.map +1 -1
  182. package/build/esm/Select/Select.d.ts +32 -32
  183. package/build/esm/Select/Select.js.map +1 -1
  184. package/build/esm/Select/SelectIcon.d.ts +6 -6
  185. package/build/esm/Select/SelectIcon.js.map +1 -1
  186. package/build/esm/Select/context.d.ts +9 -9
  187. package/build/esm/Select/context.js.map +1 -1
  188. package/build/esm/Select/defaultRender.d.ts +3 -3
  189. package/build/esm/Select/defaultRender.js.map +1 -1
  190. package/build/esm/Select/index.d.ts +1 -1
  191. package/build/esm/Select/index.js.map +1 -1
  192. package/build/esm/Select/styledComponents.d.ts +15 -15
  193. package/build/esm/Select/styledComponents.js.map +1 -1
  194. package/build/esm/SelectItem/SelectItem.d.ts +11 -11
  195. package/build/esm/SelectItem/SelectItem.js.map +1 -1
  196. package/build/esm/SelectItem/index.d.ts +1 -1
  197. package/build/esm/SelectItem/index.js.map +1 -1
  198. package/build/esm/SelectionControl/SelectionControlLabel.d.ts +7 -7
  199. package/build/esm/SelectionControl/SelectionControlLabel.js.map +1 -1
  200. package/build/esm/SelectionControl/SelectionControlText.d.ts +8 -8
  201. package/build/esm/SelectionControl/SelectionControlText.js.map +1 -1
  202. package/build/esm/SelectionControl/index.d.ts +2 -2
  203. package/build/esm/SelectionControl/index.js.map +1 -1
  204. package/build/esm/Skeleton/DelayAppearance.d.ts +13 -13
  205. package/build/esm/Skeleton/DelayAppearance.js +3 -3
  206. package/build/esm/Skeleton/DelayAppearance.js.map +1 -1
  207. package/build/esm/Skeleton/Skeleton.d.ts +9 -9
  208. package/build/esm/Skeleton/Skeleton.js.map +1 -1
  209. package/build/esm/Skeleton/animation.d.ts +8 -8
  210. package/build/esm/Skeleton/animation.js.map +1 -1
  211. package/build/esm/Skeleton/index.d.ts +2 -2
  212. package/build/esm/Skeleton/index.js.map +1 -1
  213. package/build/esm/Slider/Slider.d.ts +17 -17
  214. package/build/esm/Slider/Slider.js.map +1 -1
  215. package/build/esm/Slider/index.d.ts +1 -1
  216. package/build/esm/Slider/index.js.map +1 -1
  217. package/build/esm/Snackbar/Snackbar.d.ts +8 -8
  218. package/build/esm/Snackbar/Stack.d.ts +31 -31
  219. package/build/esm/Snackbar/index.d.ts +3 -3
  220. package/build/esm/Snackbar/useSnackbarAnimation.d.ts +6 -6
  221. package/build/esm/Switch/Switch.d.ts +13 -13
  222. package/build/esm/Switch/Switch.js.map +1 -1
  223. package/build/esm/Switch/index.d.ts +1 -1
  224. package/build/esm/Switch/index.js.map +1 -1
  225. package/build/esm/Switch/styledComponents.d.ts +13 -13
  226. package/build/esm/Switch/styledComponents.js.map +1 -1
  227. package/build/esm/Tab/Tab.d.ts +5 -5
  228. package/build/esm/Tab/Tab.js.map +1 -1
  229. package/build/esm/Tab/TabList.d.ts +10 -10
  230. package/build/esm/Tab/TabList.js.map +1 -1
  231. package/build/esm/Tab/TabPanel.d.ts +5 -5
  232. package/build/esm/Tab/TabPanel.js.map +1 -1
  233. package/build/esm/Tab/TabPanels.d.ts +4 -4
  234. package/build/esm/Tab/TabPanels.js.map +1 -1
  235. package/build/esm/Tab/Tabs.d.ts +4 -4
  236. package/build/esm/Tab/Tabs.js.map +1 -1
  237. package/build/esm/Tab/context.d.ts +9 -9
  238. package/build/esm/Tab/context.js.map +1 -1
  239. package/build/esm/Tab/index.d.ts +5 -5
  240. package/build/esm/Tab/index.js.map +1 -1
  241. package/build/esm/TabIndicator/TabIndicator.d.ts +9 -9
  242. package/build/esm/TabIndicator/TabIndicator.js.map +1 -1
  243. package/build/esm/TabIndicator/context.d.ts +6 -6
  244. package/build/esm/TabIndicator/context.js.map +1 -1
  245. package/build/esm/TabIndicator/index.d.ts +2 -2
  246. package/build/esm/TabIndicator/index.js.map +1 -1
  247. package/build/esm/Table/Table.d.ts +4 -4
  248. package/build/esm/Table/Table.js.map +1 -1
  249. package/build/esm/Table/TableBody.d.ts +4 -4
  250. package/build/esm/Table/TableBody.js.map +1 -1
  251. package/build/esm/Table/TableCell.d.ts +4 -4
  252. package/build/esm/Table/TableCell.js.map +1 -1
  253. package/build/esm/Table/TableHead.d.ts +4 -4
  254. package/build/esm/Table/TableHead.js.map +1 -1
  255. package/build/esm/Table/TableRow.d.ts +4 -4
  256. package/build/esm/Table/TableRow.js.map +1 -1
  257. package/build/esm/Table/context.d.ts +3 -3
  258. package/build/esm/Table/context.js.map +1 -1
  259. package/build/esm/Table/index.d.ts +5 -5
  260. package/build/esm/Table/index.js.map +1 -1
  261. package/build/esm/Text/LoremIpsum.d.ts +4 -4
  262. package/build/esm/Text/LoremIpsum.js.map +1 -1
  263. package/build/esm/Text/Text.d.ts +11 -11
  264. package/build/esm/Text/Text.js +2 -2
  265. package/build/esm/Text/Text.js.map +1 -1
  266. package/build/esm/Text/index.d.ts +1 -1
  267. package/build/esm/Text/index.js.map +1 -1
  268. package/build/esm/TextField/FilledContainer.d.ts +18 -18
  269. package/build/esm/TextField/FilledContainer.js.map +1 -1
  270. package/build/esm/TextField/HelperText.d.ts +10 -10
  271. package/build/esm/TextField/HelperText.js.map +1 -1
  272. package/build/esm/TextField/IconContainer.d.ts +5 -5
  273. package/build/esm/TextField/IconContainer.js.map +1 -1
  274. package/build/esm/TextField/Input.d.ts +11 -11
  275. package/build/esm/TextField/OutlinedContainer.d.ts +17 -17
  276. package/build/esm/TextField/OutlinedContainer.js.map +1 -1
  277. package/build/esm/TextField/TextField.d.ts +19 -19
  278. package/build/esm/TextField/consts.d.ts +5 -5
  279. package/build/esm/TextField/consts.js.map +1 -1
  280. package/build/esm/TextField/index.d.ts +4 -4
  281. package/build/esm/TextField/index.js.map +1 -1
  282. package/build/esm/ThemeExplorer/BorderSlider.d.ts +7 -7
  283. package/build/esm/ThemeExplorer/BorderSlider.js.map +1 -1
  284. package/build/esm/ThemeExplorer/ColorPicker.d.ts +8 -8
  285. package/build/esm/ThemeExplorer/ColorPicker.js.map +1 -1
  286. package/build/esm/ThemeExplorer/ColorSchemePicker.d.ts +10 -10
  287. package/build/esm/ThemeExplorer/ColorSchemePicker.js.map +1 -1
  288. package/build/esm/ThemeExplorer/FontAutoComplete.d.ts +9 -9
  289. package/build/esm/ThemeExplorer/FontAutoComplete.js.map +1 -1
  290. package/build/esm/ThemeExplorer/TextFieldColorPicker.d.ts +9 -9
  291. package/build/esm/ThemeExplorer/TextFieldColorPicker.js.map +1 -1
  292. package/build/esm/ThemeExplorer/ThemeBuilder.d.ts +11 -11
  293. package/build/esm/ThemeExplorer/ThemeBuilder.js.map +1 -1
  294. package/build/esm/ThemeExplorer/ThemeColors.d.ts +5 -5
  295. package/build/esm/ThemeExplorer/ThemeColors.js.map +1 -1
  296. package/build/esm/ThemeExplorer/components.d.ts +31 -31
  297. package/build/esm/ThemeExplorer/components.js.map +1 -1
  298. package/build/esm/ThemeExplorer/googleFonts.d.ts +1 -1
  299. package/build/esm/ThemeExplorer/googleFonts.js.map +1 -1
  300. package/build/esm/ThemeExplorer/index.d.ts +1 -1
  301. package/build/esm/ThemeExplorer/index.js.map +1 -1
  302. package/build/esm/ThemeExplorer/makeColorScheme.d.ts +98 -98
  303. package/build/esm/ThemeExplorer/makeColorScheme.js.map +1 -1
  304. package/build/esm/ThemeExplorer/makeTailwindTheme.d.ts +2 -2
  305. package/build/esm/ThemeExplorer/makeTailwindTheme.js.map +1 -1
  306. package/build/esm/ThemeExplorer/updateGoogleFonts.js.map +1 -1
  307. package/build/esm/ThemeExplorer/useDeferredColor.d.ts +3 -3
  308. package/build/esm/ThemeExplorer/useDeferredColor.js.map +1 -1
  309. package/build/esm/ThemeExplorer/useLocalStorageCachedState.d.ts +1 -1
  310. package/build/esm/ThemeExplorer/useLocalStorageCachedState.js.map +1 -1
  311. package/build/esm/Tooltip/Tooltip.d.ts +8 -8
  312. package/build/esm/Tooltip/Tooltip.js.map +1 -1
  313. package/build/esm/Tooltip/index.d.ts +1 -1
  314. package/build/esm/Tooltip/index.js.map +1 -1
  315. package/build/esm/color.d.ts +8 -8
  316. package/build/esm/css.d.ts +1 -1
  317. package/build/esm/css.js.map +1 -1
  318. package/build/esm/hooks/useAnimation.d.ts +20 -20
  319. package/build/esm/hooks/useAnimation.js.map +1 -1
  320. package/build/esm/index.d.ts +41 -41
  321. package/build/esm/index.js.map +1 -1
  322. package/build/esm/motion.d.ts +7 -7
  323. package/build/esm/motion.js.map +1 -1
  324. package/build/esm/tailwind/extendColors.d.ts +5 -5
  325. package/build/esm/tailwind/extendColors.js.map +1 -1
  326. package/build/esm/tailwind/index.d.ts +8 -8
  327. package/build/esm/tailwind/index.js.map +1 -1
  328. package/build/esm/theme/index.d.ts +2 -2
  329. package/build/esm/theme/index.js.map +1 -1
  330. package/build/esm/theme/theme.d.ts +562 -562
  331. package/build/esm/theme/typography-raleway.d.ts +112 -112
  332. package/build/esm/theme/typography-raleway.js.map +1 -1
  333. package/build/esm/theme/typography-roboto.d.ts +111 -111
  334. package/build/esm/theme/typography-roboto.js.map +1 -1
  335. package/build/esm/theme/useTheme.d.ts +566 -566
  336. package/build/esm/theme/useTheme.js.map +1 -1
  337. package/build/tsconfig-build.tsbuildinfo +1 -1
  338. package/package.json +2 -2
  339. package/src/Alert/index.ts +1 -1
  340. package/src/AppBar/AppBar.story.tsx +69 -69
  341. package/src/AppBar/AppBar.tsx +85 -85
  342. package/src/AppBar/AppBarButton.tsx +25 -25
  343. package/src/AppBar/context.ts +13 -13
  344. package/src/AppBar/index.ts +3 -3
  345. package/src/Badge/Badge.story.tsx +68 -68
  346. package/src/Badge/Badge.tsx +47 -47
  347. package/src/Badge/index.ts +1 -1
  348. package/src/BaseLine/BaseLine.tsx +100 -100
  349. package/src/BaseLine/index.ts +1 -1
  350. package/src/BottomSheet/BottomSheet.story.tsx +35 -35
  351. package/src/BottomSheet/BottomSheet.tsx +39 -39
  352. package/src/BottomSheet/BottomSheetSurface.tsx +49 -49
  353. package/src/BottomSheet/index.ts +1 -1
  354. package/src/Box/Box.tsx +127 -127
  355. package/src/Box/index.ts +1 -1
  356. package/src/Button/ButtonGroup.story.tsx +68 -43
  357. package/src/Button/FilledButton.tsx +16 -1
  358. package/src/Button/FloatingActionButton.tsx +9 -9
  359. package/src/Button/OutlinedButton.tsx +16 -1
  360. package/src/Button/SpinnerButton.story.tsx +91 -91
  361. package/src/Button/TransparentButton.tsx +16 -1
  362. package/src/Button/context.tsx +17 -17
  363. package/src/Button/index.ts +2 -2
  364. package/src/CheckBox/CheckBox.story.tsx +155 -155
  365. package/src/CheckBox/CheckBox.tsx +170 -170
  366. package/src/CheckBox/CheckBoxIcon.tsx +64 -64
  367. package/src/CheckBox/CheckPath.tsx +18 -18
  368. package/src/CheckBox/IndeterminatePath.tsx +16 -16
  369. package/src/CheckBox/index.ts +1 -1
  370. package/src/Chip/ButtonChip.tsx +86 -86
  371. package/src/Chip/Chip.story.tsx +242 -242
  372. package/src/Chip/Chip.tsx +5 -5
  373. package/src/Chip/ChipBase.tsx +141 -141
  374. package/src/Chip/ChoiceChip.tsx +127 -127
  375. package/src/Chip/index.ts +2 -2
  376. package/src/Combobox/Combobox.story.tsx +157 -157
  377. package/src/Combobox/Combobox.tsx +274 -274
  378. package/src/Combobox/index.ts +1 -1
  379. package/src/Dialog/Dialog.story.tsx +53 -53
  380. package/src/Dialog/Dialog.tsx +73 -73
  381. package/src/Dialog/DialogBackdrop.tsx +42 -42
  382. package/src/Dialog/DialogContainer.tsx +31 -31
  383. package/src/Dialog/DialogSurface.tsx +55 -55
  384. package/src/Dialog/Scrim.tsx +35 -35
  385. package/src/Dialog/index.ts +2 -2
  386. package/src/Dialog/useDialogAnimation.tsx +49 -49
  387. package/src/Divider/Divider.story.tsx +39 -39
  388. package/src/Divider/Divider.tsx +48 -48
  389. package/src/Divider/index.ts +1 -1
  390. package/src/FloatingLabel/FloatingLabel.story.tsx +55 -55
  391. package/src/FloatingLabel/FloatingLabel.tsx +77 -77
  392. package/src/FloatingLabel/index.ts +1 -1
  393. package/src/LineRipple/LineRipple.story.tsx +43 -43
  394. package/src/LineRipple/LineRipple.tsx +81 -81
  395. package/src/LineRipple/index.ts +1 -1
  396. package/src/Link/Link.story.tsx +14 -14
  397. package/src/Link/Link.tsx +65 -65
  398. package/src/Link/index.ts +1 -1
  399. package/src/List/List.tsx +46 -46
  400. package/src/List/index.ts +1 -1
  401. package/src/ListItem/ListItem.story.tsx +43 -43
  402. package/src/ListItem/ListItem.tsx +104 -104
  403. package/src/ListItem/ListItemText.tsx +35 -35
  404. package/src/ListItem/index.ts +2 -2
  405. package/src/Menu/ContextMenu.story.tsx +34 -34
  406. package/src/Menu/Menu.story.tsx +54 -54
  407. package/src/Menu/Menu.tsx +124 -124
  408. package/src/Menu/animation.ts +16 -16
  409. package/src/Menu/index.ts +2 -2
  410. package/src/NavRail/NavRail.story.tsx +146 -146
  411. package/src/NavRail/NavRailItem.tsx +175 -175
  412. package/src/NavRail/icons/test-icons.tsx +46 -46
  413. package/src/NavRail/index.ts +1 -1
  414. package/src/NotchedOutline/NotchedOutline.story.tsx +99 -99
  415. package/src/NotchedOutline/NotchedOutline.tsx +80 -80
  416. package/src/NotchedOutline/context.ts +12 -12
  417. package/src/NotchedOutline/index.ts +1 -1
  418. package/src/NotchedOutline/styledComponents.ts +122 -122
  419. package/src/Paper/Paper.story.tsx +50 -50
  420. package/src/Paper/Paper.tsx +67 -67
  421. package/src/Paper/index.ts +1 -1
  422. package/src/Popover/PopoverSurface.tsx +51 -51
  423. package/src/Popover/index.ts +1 -1
  424. package/src/ProgressSpinner/ProgressSpinner.story.tsx +35 -35
  425. package/src/ProgressSpinner/ProgressSpinner.tsx +119 -119
  426. package/src/ProgressSpinner/index.ts +1 -1
  427. package/src/RadioButton/RadioButton.story.tsx +109 -109
  428. package/src/RadioButton/RadioButton.tsx +112 -112
  429. package/src/RadioButton/RadioButtonIcon.tsx +44 -44
  430. package/src/RadioButton/RadioGroup.tsx +27 -27
  431. package/src/RadioButton/index.ts +2 -2
  432. package/src/Ripple/Ripple.story.tsx +78 -78
  433. package/src/Ripple/Ripple.tsx +33 -33
  434. package/src/Ripple/RippleBox.tsx +52 -52
  435. package/src/Ripple/constants.ts +15 -15
  436. package/src/Ripple/index.ts +5 -5
  437. package/src/Ripple/keyframes.ts +36 -36
  438. package/src/Ripple/useRipple.ts +209 -209
  439. package/src/Ripple/useRippleHandlers.ts +54 -54
  440. package/src/Ripple/useRippleSurface.ts +155 -155
  441. package/src/Select/CustomContainerExample.tsx +59 -59
  442. package/src/Select/PaymentMethodSelect.story.tsx +316 -316
  443. package/src/Select/Select.story.tsx +225 -225
  444. package/src/Select/Select.tsx +283 -283
  445. package/src/Select/SelectIcon.tsx +43 -43
  446. package/src/Select/SelectMultiple.story.tsx +215 -215
  447. package/src/Select/context.ts +22 -22
  448. package/src/Select/defaultRender.tsx +49 -49
  449. package/src/Select/index.ts +1 -1
  450. package/src/Select/styledComponents.tsx +38 -38
  451. package/src/SelectItem/SelectItem.tsx +92 -92
  452. package/src/SelectItem/index.ts +1 -1
  453. package/src/SelectionControl/SelectionControlLabel.tsx +34 -34
  454. package/src/SelectionControl/SelectionControlText.tsx +37 -37
  455. package/src/SelectionControl/index.ts +2 -2
  456. package/src/Skeleton/DelayAppearance.tsx +41 -41
  457. package/src/Skeleton/Skeleton.story.tsx +57 -57
  458. package/src/Skeleton/Skeleton.tsx +40 -40
  459. package/src/Skeleton/animation.ts +54 -54
  460. package/src/Skeleton/index.ts +2 -2
  461. package/src/Slider/Slider.story.tsx +36 -36
  462. package/src/Slider/Slider.tsx +275 -275
  463. package/src/Slider/index.ts +1 -1
  464. package/src/Snackbar/Snackbar.story.tsx +99 -99
  465. package/src/Switch/Switch.story.tsx +98 -98
  466. package/src/Switch/Switch.tsx +170 -170
  467. package/src/Switch/index.ts +1 -1
  468. package/src/Switch/styledComponents.tsx +117 -117
  469. package/src/Tab/Tab.story.tsx +209 -209
  470. package/src/Tab/Tab.tsx +120 -120
  471. package/src/Tab/TabList.tsx +61 -61
  472. package/src/Tab/TabPanel.tsx +31 -31
  473. package/src/Tab/TabPanels.tsx +5 -5
  474. package/src/Tab/Tabs.tsx +5 -5
  475. package/src/Tab/context.ts +17 -17
  476. package/src/Tab/index.ts +5 -5
  477. package/src/TabIndicator/TabIndicator.tsx +146 -146
  478. package/src/TabIndicator/context.ts +13 -13
  479. package/src/TabIndicator/index.ts +2 -2
  480. package/src/Table/Table.story.tsx +227 -227
  481. package/src/Table/Table.tsx +34 -34
  482. package/src/Table/TableBody.tsx +17 -17
  483. package/src/Table/TableCell.tsx +34 -34
  484. package/src/Table/TableHead.tsx +31 -31
  485. package/src/Table/TableRow.tsx +38 -38
  486. package/src/Table/context.ts +6 -6
  487. package/src/Table/index.ts +5 -5
  488. package/src/Text/LoremIpsum.tsx +18 -18
  489. package/src/Text/Text.story.tsx +75 -75
  490. package/src/Text/Text.tsx +84 -84
  491. package/src/Text/index.ts +1 -1
  492. package/src/TextField/FilledContainer.tsx +173 -173
  493. package/src/TextField/HelperText.tsx +63 -63
  494. package/src/TextField/IconContainer.tsx +33 -33
  495. package/src/TextField/OutlinedContainer.tsx +116 -116
  496. package/src/TextField/TextField.story.tsx +241 -241
  497. package/src/TextField/consts.ts +7 -7
  498. package/src/TextField/index.ts +4 -4
  499. package/src/ThemeExplorer/BorderSlider.tsx +73 -73
  500. package/src/ThemeExplorer/ColorPicker.tsx +104 -104
  501. package/src/ThemeExplorer/ColorSchemePicker.tsx +55 -55
  502. package/src/ThemeExplorer/FontAutoComplete.tsx +139 -139
  503. package/src/ThemeExplorer/TextFieldColorPicker.tsx +115 -115
  504. package/src/ThemeExplorer/ThemeBuilder.story.tsx +8 -8
  505. package/src/ThemeExplorer/ThemeBuilder.tsx +353 -353
  506. package/src/ThemeExplorer/ThemeColors.tsx +118 -118
  507. package/src/ThemeExplorer/components.tsx +195 -195
  508. package/src/ThemeExplorer/googleFonts.ts +1436 -1436
  509. package/src/ThemeExplorer/index.ts +1 -1
  510. package/src/ThemeExplorer/makeColorScheme.tsx +111 -111
  511. package/src/ThemeExplorer/makeTailwindTheme.ts +44 -44
  512. package/src/ThemeExplorer/updateGoogleFonts.js +33 -33
  513. package/src/ThemeExplorer/useDeferredColor.tsx +21 -21
  514. package/src/ThemeExplorer/useLocalStorageCachedState.ts +18 -18
  515. package/src/Tooltip/Tooltip.story.tsx +35 -35
  516. package/src/Tooltip/Tooltip.tsx +67 -67
  517. package/src/Tooltip/index.ts +1 -1
  518. package/src/css.ts +2 -2
  519. package/src/hooks/useAnimation.ts +111 -111
  520. package/src/index.ts +41 -41
  521. package/src/motion.ts +7 -7
  522. package/src/tailwind/extendColors.ts +51 -51
  523. package/src/tailwind/index.ts +56 -56
  524. package/src/tailwind/tests/extendColors.test.ts +123 -123
  525. package/src/theme/index.ts +2 -2
  526. package/src/theme/typography-raleway.ts +114 -114
  527. package/src/theme/typography-roboto.ts +113 -113
  528. package/src/theme/useTheme.ts +18 -18
  529. package/tailwind/package.json +5 -5
  530. package/theme-explorer/package.json +5 -5
  531. package/build/esm/ColorMode/ColorModeProvider.d.ts +0 -7
  532. package/build/esm/ColorMode/ColorModeProvider.js +0 -71
  533. package/build/esm/ColorMode/ColorModeProvider.js.map +0 -1
  534. package/build/esm/ColorMode/color-mode.d.ts +0 -8
  535. package/build/esm/ColorMode/color-mode.js +0 -12
  536. package/build/esm/ColorMode/color-mode.js.map +0 -1
  537. package/build/esm/ColorMode/color-vars.d.ts +0 -4
  538. package/build/esm/ColorMode/color-vars.js +0 -58
  539. package/build/esm/ColorMode/color-vars.js.map +0 -1
  540. package/build/esm/ColorMode/constants.d.ts +0 -2
  541. package/build/esm/ColorMode/constants.js +0 -4
  542. package/build/esm/ColorMode/constants.js.map +0 -1
  543. package/build/esm/ColorMode/index.d.ts +0 -4
  544. package/build/esm/ColorMode/index.js +0 -5
  545. package/build/esm/ColorMode/index.js.map +0 -1
  546. package/build/esm/ListItem/context.d.ts +0 -7
  547. package/build/esm/ListItem/context.js +0 -11
  548. package/build/esm/ListItem/context.js.map +0 -1
  549. package/build/tsconfig.tsbuildinfo +0 -4321
@@ -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';\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
+ {"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,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, "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
+ 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 +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';\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
+ {"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,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';\nexport * from './SelectionControlText';\n"],"mappings":"AAAA,cAAc,yBAAd;AACA,cAAc,wBAAd"}
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,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';\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
+ {"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,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, "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
+ 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 +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';\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
+ {"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,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';\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
+ {"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,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';\nexport * from './DelayAppearance';\n"],"mappings":"AAAA,cAAc,YAAd;AACA,cAAc,mBAAd"}
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"}