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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (576) hide show
  1. package/build/cjs/index.js +1372 -1306
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/esm/Alert/Alert.d.ts +1 -1
  4. package/build/esm/Alert/Alert.js +3 -2
  5. package/build/esm/Alert/Alert.js.map +1 -1
  6. package/build/esm/Alert/index.d.ts +0 -0
  7. package/build/esm/Alert/index.js +0 -0
  8. package/build/esm/Alert/index.js.map +1 -1
  9. package/build/esm/AppBar/AppBar.d.ts +3 -3
  10. package/build/esm/AppBar/AppBar.js +6 -5
  11. package/build/esm/AppBar/AppBar.js.map +1 -1
  12. package/build/esm/AppBar/AppBarButton.d.ts +1 -1
  13. package/build/esm/AppBar/AppBarButton.js +2 -1
  14. package/build/esm/AppBar/AppBarButton.js.map +1 -1
  15. package/build/esm/AppBar/context.d.ts +0 -0
  16. package/build/esm/AppBar/context.js +0 -0
  17. package/build/esm/AppBar/context.js.map +1 -1
  18. package/build/esm/AppBar/index.d.ts +0 -0
  19. package/build/esm/AppBar/index.js +0 -0
  20. package/build/esm/AppBar/index.js.map +1 -1
  21. package/build/esm/Badge/Badge.d.ts +1 -1
  22. package/build/esm/Badge/Badge.js +0 -0
  23. package/build/esm/Badge/Badge.js.map +1 -1
  24. package/build/esm/Badge/index.d.ts +0 -0
  25. package/build/esm/Badge/index.js +0 -0
  26. package/build/esm/Badge/index.js.map +1 -1
  27. package/build/esm/BaseLine/BaseLine.d.ts +0 -0
  28. package/build/esm/BaseLine/BaseLine.js +0 -0
  29. package/build/esm/BaseLine/BaseLine.js.map +1 -1
  30. package/build/esm/BaseLine/index.d.ts +0 -0
  31. package/build/esm/BaseLine/index.js +0 -0
  32. package/build/esm/BaseLine/index.js.map +1 -1
  33. package/build/esm/BottomSheet/BottomSheet.d.ts +1 -1
  34. package/build/esm/BottomSheet/BottomSheet.js +2 -1
  35. package/build/esm/BottomSheet/BottomSheet.js.map +1 -1
  36. package/build/esm/BottomSheet/BottomSheetSurface.d.ts +2 -2
  37. package/build/esm/BottomSheet/BottomSheetSurface.js +4 -3
  38. package/build/esm/BottomSheet/BottomSheetSurface.js.map +1 -1
  39. package/build/esm/BottomSheet/index.d.ts +0 -0
  40. package/build/esm/BottomSheet/index.js +0 -0
  41. package/build/esm/BottomSheet/index.js.map +1 -1
  42. package/build/esm/Box/Box.d.ts +4 -4
  43. package/build/esm/Box/Box.js +1 -2
  44. package/build/esm/Box/Box.js.map +1 -1
  45. package/build/esm/Box/index.d.ts +0 -0
  46. package/build/esm/Box/index.js +0 -0
  47. package/build/esm/Box/index.js.map +1 -1
  48. package/build/esm/Button/BaseButton.d.ts +3 -3
  49. package/build/esm/Button/BaseButton.js +5 -5
  50. package/build/esm/Button/BaseButton.js.map +1 -1
  51. package/build/esm/Button/Button.d.ts +4 -4
  52. package/build/esm/Button/Button.js +6 -6
  53. package/build/esm/Button/Button.js.map +1 -1
  54. package/build/esm/Button/ButtonGroup.d.ts +2 -2
  55. package/build/esm/Button/ButtonGroup.js +3 -2
  56. package/build/esm/Button/ButtonGroup.js.map +1 -1
  57. package/build/esm/Button/FilledButton.d.ts +1 -1
  58. package/build/esm/Button/FilledButton.js +6 -8
  59. package/build/esm/Button/FilledButton.js.map +1 -1
  60. package/build/esm/Button/FloatingActionButton.d.ts +0 -0
  61. package/build/esm/Button/FloatingActionButton.js +1 -1
  62. package/build/esm/Button/FloatingActionButton.js.map +1 -1
  63. package/build/esm/Button/IconButton.d.ts +0 -0
  64. package/build/esm/Button/IconButton.js +1 -1
  65. package/build/esm/Button/IconButton.js.map +1 -1
  66. package/build/esm/Button/OutlinedButton.d.ts +1 -1
  67. package/build/esm/Button/OutlinedButton.js +0 -0
  68. package/build/esm/Button/OutlinedButton.js.map +1 -1
  69. package/build/esm/Button/TransparentButton.d.ts +1 -1
  70. package/build/esm/Button/TransparentButton.js +0 -0
  71. package/build/esm/Button/TransparentButton.js.map +1 -1
  72. package/build/esm/Button/context.d.ts +0 -0
  73. package/build/esm/Button/context.js +0 -0
  74. package/build/esm/Button/context.js.map +1 -1
  75. package/build/esm/Button/index.d.ts +0 -0
  76. package/build/esm/Button/index.js +0 -0
  77. package/build/esm/Button/index.js.map +1 -1
  78. package/build/esm/CheckBox/CheckBox.d.ts +5 -5
  79. package/build/esm/CheckBox/CheckBox.js +6 -5
  80. package/build/esm/CheckBox/CheckBox.js.map +1 -1
  81. package/build/esm/CheckBox/CheckBoxIcon.d.ts +4 -4
  82. package/build/esm/CheckBox/CheckBoxIcon.js +6 -5
  83. package/build/esm/CheckBox/CheckBoxIcon.js.map +1 -1
  84. package/build/esm/CheckBox/CheckPath.d.ts +0 -1
  85. package/build/esm/CheckBox/CheckPath.js +0 -0
  86. package/build/esm/CheckBox/CheckPath.js.map +1 -1
  87. package/build/esm/CheckBox/IndeterminatePath.d.ts +0 -1
  88. package/build/esm/CheckBox/IndeterminatePath.js +0 -0
  89. package/build/esm/CheckBox/IndeterminatePath.js.map +1 -1
  90. package/build/esm/CheckBox/index.d.ts +0 -0
  91. package/build/esm/CheckBox/index.js +0 -0
  92. package/build/esm/CheckBox/index.js.map +1 -1
  93. package/build/esm/Chip/ButtonChip.d.ts +4 -4
  94. package/build/esm/Chip/ButtonChip.js +4 -4
  95. package/build/esm/Chip/ButtonChip.js.map +1 -1
  96. package/build/esm/Chip/Chip.d.ts +0 -0
  97. package/build/esm/Chip/Chip.js +0 -0
  98. package/build/esm/Chip/Chip.js.map +1 -1
  99. package/build/esm/Chip/ChipBase.d.ts +3 -3
  100. package/build/esm/Chip/ChipBase.js +10 -10
  101. package/build/esm/Chip/ChipBase.js.map +1 -1
  102. package/build/esm/Chip/ChoiceChip.d.ts +5 -5
  103. package/build/esm/Chip/ChoiceChip.js +6 -5
  104. package/build/esm/Chip/ChoiceChip.js.map +1 -1
  105. package/build/esm/Chip/index.d.ts +0 -0
  106. package/build/esm/Chip/index.js +0 -0
  107. package/build/esm/Chip/index.js.map +1 -1
  108. package/build/esm/Combobox/Combobox.d.ts +13 -13
  109. package/build/esm/Combobox/Combobox.js +21 -13
  110. package/build/esm/Combobox/Combobox.js.map +1 -1
  111. package/build/esm/Combobox/index.d.ts +0 -0
  112. package/build/esm/Combobox/index.js +0 -0
  113. package/build/esm/Combobox/index.js.map +1 -1
  114. package/build/esm/Dialog/Dialog.d.ts +1 -1
  115. package/build/esm/Dialog/Dialog.js +6 -5
  116. package/build/esm/Dialog/Dialog.js.map +1 -1
  117. package/build/esm/Dialog/DialogBackdrop.d.ts +2 -2
  118. package/build/esm/Dialog/DialogBackdrop.js +2 -2
  119. package/build/esm/Dialog/DialogBackdrop.js.map +1 -1
  120. package/build/esm/Dialog/DialogContainer.d.ts +1 -1
  121. package/build/esm/Dialog/DialogContainer.js +2 -1
  122. package/build/esm/Dialog/DialogContainer.js.map +1 -1
  123. package/build/esm/Dialog/DialogSurface.d.ts +2 -2
  124. package/build/esm/Dialog/DialogSurface.js +4 -4
  125. package/build/esm/Dialog/DialogSurface.js.map +1 -1
  126. package/build/esm/Dialog/Scrim.d.ts +1 -1
  127. package/build/esm/Dialog/Scrim.js +2 -1
  128. package/build/esm/Dialog/Scrim.js.map +1 -1
  129. package/build/esm/Dialog/index.d.ts +0 -0
  130. package/build/esm/Dialog/index.js +1 -0
  131. package/build/esm/Dialog/index.js.map +1 -1
  132. package/build/esm/Dialog/useDialogAnimation.d.ts +0 -0
  133. package/build/esm/Dialog/useDialogAnimation.js +6 -4
  134. package/build/esm/Dialog/useDialogAnimation.js.map +1 -1
  135. package/build/esm/Divider/Divider.d.ts +3 -3
  136. package/build/esm/Divider/Divider.js +7 -7
  137. package/build/esm/Divider/Divider.js.map +1 -1
  138. package/build/esm/Divider/index.d.ts +0 -0
  139. package/build/esm/Divider/index.js +0 -0
  140. package/build/esm/Divider/index.js.map +1 -1
  141. package/build/esm/FloatingLabel/FloatingLabel.d.ts +4 -4
  142. package/build/esm/FloatingLabel/FloatingLabel.js +7 -6
  143. package/build/esm/FloatingLabel/FloatingLabel.js.map +1 -1
  144. package/build/esm/FloatingLabel/index.d.ts +0 -0
  145. package/build/esm/FloatingLabel/index.js +0 -0
  146. package/build/esm/FloatingLabel/index.js.map +1 -1
  147. package/build/esm/LineRipple/LineRipple.d.ts +3 -3
  148. package/build/esm/LineRipple/LineRipple.js +5 -4
  149. package/build/esm/LineRipple/LineRipple.js.map +1 -1
  150. package/build/esm/LineRipple/index.d.ts +0 -0
  151. package/build/esm/LineRipple/index.js +0 -0
  152. package/build/esm/LineRipple/index.js.map +1 -1
  153. package/build/esm/Link/Link.d.ts +3 -3
  154. package/build/esm/Link/Link.js +2 -2
  155. package/build/esm/Link/Link.js.map +1 -1
  156. package/build/esm/Link/index.d.ts +0 -0
  157. package/build/esm/Link/index.js +0 -0
  158. package/build/esm/Link/index.js.map +1 -1
  159. package/build/esm/List/List.d.ts +5 -5
  160. package/build/esm/List/List.js +2 -2
  161. package/build/esm/List/List.js.map +1 -1
  162. package/build/esm/List/index.d.ts +0 -0
  163. package/build/esm/List/index.js +0 -0
  164. package/build/esm/List/index.js.map +1 -1
  165. package/build/esm/ListItem/ListItem.d.ts +5 -5
  166. package/build/esm/ListItem/ListItem.js +7 -6
  167. package/build/esm/ListItem/ListItem.js.map +1 -1
  168. package/build/esm/ListItem/ListItemText.d.ts +6 -6
  169. package/build/esm/ListItem/ListItemText.js +5 -5
  170. package/build/esm/ListItem/ListItemText.js.map +1 -1
  171. package/build/esm/ListItem/index.d.ts +0 -0
  172. package/build/esm/ListItem/index.js +0 -0
  173. package/build/esm/ListItem/index.js.map +1 -1
  174. package/build/esm/Menu/Menu.d.ts +6 -6
  175. package/build/esm/Menu/Menu.js +13 -7
  176. package/build/esm/Menu/Menu.js.map +1 -1
  177. package/build/esm/Menu/animation.d.ts +0 -0
  178. package/build/esm/Menu/animation.js +0 -0
  179. package/build/esm/Menu/animation.js.map +1 -1
  180. package/build/esm/Menu/index.d.ts +0 -0
  181. package/build/esm/Menu/index.js +0 -0
  182. package/build/esm/Menu/index.js.map +1 -1
  183. package/build/esm/NavRail/NavRailItem.d.ts +15 -0
  184. package/build/esm/NavRail/NavRailItem.js +150 -0
  185. package/build/esm/NavRail/NavRailItem.js.map +1 -0
  186. package/build/esm/NavRail/index.d.ts +1 -0
  187. package/build/esm/NavRail/index.js +2 -0
  188. package/build/esm/NavRail/index.js.map +1 -0
  189. package/build/esm/NotchedOutline/NotchedOutline.d.ts +5 -5
  190. package/build/esm/NotchedOutline/NotchedOutline.js +4 -4
  191. package/build/esm/NotchedOutline/NotchedOutline.js.map +1 -1
  192. package/build/esm/NotchedOutline/context.d.ts +0 -0
  193. package/build/esm/NotchedOutline/context.js +0 -0
  194. package/build/esm/NotchedOutline/context.js.map +1 -1
  195. package/build/esm/NotchedOutline/index.d.ts +0 -0
  196. package/build/esm/NotchedOutline/index.js +0 -0
  197. package/build/esm/NotchedOutline/index.js.map +1 -1
  198. package/build/esm/NotchedOutline/styledComponents.d.ts +114 -28
  199. package/build/esm/NotchedOutline/styledComponents.js +3 -2
  200. package/build/esm/NotchedOutline/styledComponents.js.map +1 -1
  201. package/build/esm/Paper/Paper.d.ts +4 -4
  202. package/build/esm/Paper/Paper.js +6 -6
  203. package/build/esm/Paper/Paper.js.map +1 -1
  204. package/build/esm/Paper/index.d.ts +0 -0
  205. package/build/esm/Paper/index.js +0 -0
  206. package/build/esm/Paper/index.js.map +1 -1
  207. package/build/esm/ProgressSpinner/ProgressSpinner.d.ts +1 -1
  208. package/build/esm/ProgressSpinner/ProgressSpinner.js +14 -14
  209. package/build/esm/ProgressSpinner/ProgressSpinner.js.map +1 -1
  210. package/build/esm/ProgressSpinner/index.d.ts +0 -0
  211. package/build/esm/ProgressSpinner/index.js +0 -0
  212. package/build/esm/ProgressSpinner/index.js.map +1 -1
  213. package/build/esm/RadioButton/RadioButton.d.ts +0 -0
  214. package/build/esm/RadioButton/RadioButton.js +4 -2
  215. package/build/esm/RadioButton/RadioButton.js.map +1 -1
  216. package/build/esm/RadioButton/RadioButtonIcon.d.ts +3 -3
  217. package/build/esm/RadioButton/RadioButtonIcon.js +6 -5
  218. package/build/esm/RadioButton/RadioButtonIcon.js.map +1 -1
  219. package/build/esm/RadioButton/RadioGroup.d.ts +1 -1
  220. package/build/esm/RadioButton/RadioGroup.js +2 -1
  221. package/build/esm/RadioButton/RadioGroup.js.map +1 -1
  222. package/build/esm/RadioButton/index.d.ts +0 -0
  223. package/build/esm/RadioButton/index.js +0 -0
  224. package/build/esm/RadioButton/index.js.map +1 -1
  225. package/build/esm/Ripple/Ripple.d.ts +0 -0
  226. package/build/esm/Ripple/Ripple.js +0 -0
  227. package/build/esm/Ripple/Ripple.js.map +1 -1
  228. package/build/esm/Ripple/RippleBox.d.ts +1 -2
  229. package/build/esm/Ripple/RippleBox.js +7 -6
  230. package/build/esm/Ripple/RippleBox.js.map +1 -1
  231. package/build/esm/Ripple/constants.d.ts +0 -0
  232. package/build/esm/Ripple/constants.js +0 -0
  233. package/build/esm/Ripple/constants.js.map +1 -1
  234. package/build/esm/Ripple/index.d.ts +0 -0
  235. package/build/esm/Ripple/index.js +0 -0
  236. package/build/esm/Ripple/index.js.map +1 -1
  237. package/build/esm/Ripple/keyframes.d.ts +0 -0
  238. package/build/esm/Ripple/keyframes.js +0 -0
  239. package/build/esm/Ripple/keyframes.js.map +1 -1
  240. package/build/esm/Ripple/useRipple.d.ts +0 -0
  241. package/build/esm/Ripple/useRipple.js +2 -2
  242. package/build/esm/Ripple/useRipple.js.map +1 -1
  243. package/build/esm/Ripple/useRippleHandlers.d.ts +3 -3
  244. package/build/esm/Ripple/useRippleHandlers.js +2 -1
  245. package/build/esm/Ripple/useRippleHandlers.js.map +1 -1
  246. package/build/esm/Ripple/useRippleSurface.d.ts +5 -5
  247. package/build/esm/Ripple/useRippleSurface.js +64 -60
  248. package/build/esm/Ripple/useRippleSurface.js.map +1 -1
  249. package/build/esm/Select/Select.d.ts +6 -6
  250. package/build/esm/Select/Select.js +5 -5
  251. package/build/esm/Select/Select.js.map +1 -1
  252. package/build/esm/Select/SelectIcon.d.ts +3 -3
  253. package/build/esm/Select/SelectIcon.js +6 -5
  254. package/build/esm/Select/SelectIcon.js.map +1 -1
  255. package/build/esm/Select/context.d.ts +2 -2
  256. package/build/esm/Select/context.js +0 -0
  257. package/build/esm/Select/context.js.map +1 -1
  258. package/build/esm/Select/defaultRender.d.ts +2 -1
  259. package/build/esm/Select/defaultRender.js +0 -0
  260. package/build/esm/Select/defaultRender.js.map +1 -1
  261. package/build/esm/Select/index.d.ts +0 -0
  262. package/build/esm/Select/index.js +0 -0
  263. package/build/esm/Select/index.js.map +1 -1
  264. package/build/esm/Select/styledComponents.d.ts +9 -9
  265. package/build/esm/Select/styledComponents.js +8 -6
  266. package/build/esm/Select/styledComponents.js.map +1 -1
  267. package/build/esm/SelectItem/SelectItem.d.ts +1 -1
  268. package/build/esm/SelectItem/SelectItem.js +6 -5
  269. package/build/esm/SelectItem/SelectItem.js.map +1 -1
  270. package/build/esm/SelectItem/index.d.ts +0 -0
  271. package/build/esm/SelectItem/index.js +0 -0
  272. package/build/esm/SelectItem/index.js.map +1 -1
  273. package/build/esm/SelectionControl/SelectionControlLabel.d.ts +5 -5
  274. package/build/esm/SelectionControl/SelectionControlLabel.js +2 -2
  275. package/build/esm/SelectionControl/SelectionControlLabel.js.map +1 -1
  276. package/build/esm/SelectionControl/SelectionControlText.d.ts +4 -4
  277. package/build/esm/SelectionControl/SelectionControlText.js +4 -4
  278. package/build/esm/SelectionControl/SelectionControlText.js.map +1 -1
  279. package/build/esm/SelectionControl/index.d.ts +0 -0
  280. package/build/esm/SelectionControl/index.js +0 -0
  281. package/build/esm/SelectionControl/index.js.map +1 -1
  282. package/build/esm/Skeleton/DelayAppearance.d.ts +3 -3
  283. package/build/esm/Skeleton/DelayAppearance.js +2 -2
  284. package/build/esm/Skeleton/DelayAppearance.js.map +1 -1
  285. package/build/esm/Skeleton/Skeleton.d.ts +6 -6
  286. package/build/esm/Skeleton/Skeleton.js +4 -4
  287. package/build/esm/Skeleton/Skeleton.js.map +1 -1
  288. package/build/esm/Skeleton/animation.d.ts +0 -0
  289. package/build/esm/Skeleton/animation.js +0 -0
  290. package/build/esm/Skeleton/animation.js.map +1 -1
  291. package/build/esm/Skeleton/index.d.ts +0 -0
  292. package/build/esm/Skeleton/index.js +0 -0
  293. package/build/esm/Skeleton/index.js.map +1 -1
  294. package/build/esm/Snackbar/Snackbar.d.ts +3 -3
  295. package/build/esm/Snackbar/Snackbar.js +9 -9
  296. package/build/esm/Snackbar/Snackbar.js.map +1 -1
  297. package/build/esm/Snackbar/Stack.d.ts +2 -3
  298. package/build/esm/Snackbar/Stack.js +4 -3
  299. package/build/esm/Snackbar/Stack.js.map +1 -1
  300. package/build/esm/Snackbar/index.d.ts +0 -0
  301. package/build/esm/Snackbar/index.js +0 -0
  302. package/build/esm/Snackbar/index.js.map +1 -1
  303. package/build/esm/Snackbar/useSnackbarAnimation.d.ts +2 -2
  304. package/build/esm/Snackbar/useSnackbarAnimation.js +8 -7
  305. package/build/esm/Snackbar/useSnackbarAnimation.js.map +1 -1
  306. package/build/esm/Switch/Switch.d.ts +4 -5
  307. package/build/esm/Switch/Switch.js +6 -5
  308. package/build/esm/Switch/Switch.js.map +1 -1
  309. package/build/esm/Switch/index.d.ts +0 -0
  310. package/build/esm/Switch/index.js +0 -0
  311. package/build/esm/Switch/index.js.map +1 -1
  312. package/build/esm/Switch/styledComponents.d.ts +0 -0
  313. package/build/esm/Switch/styledComponents.js +8 -4
  314. package/build/esm/Switch/styledComponents.js.map +1 -1
  315. package/build/esm/Tab/Tab.d.ts +3 -3
  316. package/build/esm/Tab/Tab.js +8 -7
  317. package/build/esm/Tab/Tab.js.map +1 -1
  318. package/build/esm/Tab/TabList.d.ts +1 -1
  319. package/build/esm/Tab/TabList.js +4 -2
  320. package/build/esm/Tab/TabList.js.map +1 -1
  321. package/build/esm/Tab/TabPanel.d.ts +1 -1
  322. package/build/esm/Tab/TabPanel.js +4 -2
  323. package/build/esm/Tab/TabPanel.js.map +1 -1
  324. package/build/esm/Tab/TabPanels.d.ts +0 -0
  325. package/build/esm/Tab/TabPanels.js +0 -0
  326. package/build/esm/Tab/TabPanels.js.map +1 -1
  327. package/build/esm/Tab/Tabs.d.ts +0 -0
  328. package/build/esm/Tab/Tabs.js +0 -0
  329. package/build/esm/Tab/Tabs.js.map +1 -1
  330. package/build/esm/Tab/context.d.ts +0 -0
  331. package/build/esm/Tab/context.js +0 -0
  332. package/build/esm/Tab/context.js.map +1 -1
  333. package/build/esm/Tab/index.d.ts +0 -0
  334. package/build/esm/Tab/index.js +0 -0
  335. package/build/esm/Tab/index.js.map +1 -1
  336. package/build/esm/TabIndicator/TabIndicator.d.ts +1 -1
  337. package/build/esm/TabIndicator/TabIndicator.js +4 -2
  338. package/build/esm/TabIndicator/TabIndicator.js.map +1 -1
  339. package/build/esm/TabIndicator/context.d.ts +2 -2
  340. package/build/esm/TabIndicator/context.js +0 -0
  341. package/build/esm/TabIndicator/context.js.map +1 -1
  342. package/build/esm/TabIndicator/index.d.ts +0 -0
  343. package/build/esm/TabIndicator/index.js +0 -0
  344. package/build/esm/TabIndicator/index.js.map +1 -1
  345. package/build/esm/Table/Table.d.ts +1 -1
  346. package/build/esm/Table/Table.js +4 -3
  347. package/build/esm/Table/Table.js.map +1 -1
  348. package/build/esm/Table/TableBody.d.ts +1 -1
  349. package/build/esm/Table/TableBody.js +4 -3
  350. package/build/esm/Table/TableBody.js.map +1 -1
  351. package/build/esm/Table/TableCell.d.ts +1 -1
  352. package/build/esm/Table/TableCell.js +4 -3
  353. package/build/esm/Table/TableCell.js.map +1 -1
  354. package/build/esm/Table/TableHead.d.ts +1 -1
  355. package/build/esm/Table/TableHead.js +4 -3
  356. package/build/esm/Table/TableHead.js.map +1 -1
  357. package/build/esm/Table/TableRow.d.ts +1 -1
  358. package/build/esm/Table/TableRow.js +5 -4
  359. package/build/esm/Table/TableRow.js.map +1 -1
  360. package/build/esm/Table/context.d.ts +0 -0
  361. package/build/esm/Table/context.js +0 -0
  362. package/build/esm/Table/context.js.map +1 -1
  363. package/build/esm/Table/index.d.ts +0 -0
  364. package/build/esm/Table/index.js +0 -0
  365. package/build/esm/Table/index.js.map +1 -1
  366. package/build/esm/Text/LoremIpsum.d.ts +0 -0
  367. package/build/esm/Text/LoremIpsum.js +1 -1
  368. package/build/esm/Text/LoremIpsum.js.map +1 -1
  369. package/build/esm/Text/Text.d.ts +8 -4
  370. package/build/esm/Text/Text.js +7 -3
  371. package/build/esm/Text/Text.js.map +1 -1
  372. package/build/esm/Text/index.d.ts +0 -0
  373. package/build/esm/Text/index.js +0 -0
  374. package/build/esm/Text/index.js.map +1 -1
  375. package/build/esm/TextField/FilledContainer.d.ts +4 -4
  376. package/build/esm/TextField/FilledContainer.js +6 -6
  377. package/build/esm/TextField/FilledContainer.js.map +1 -1
  378. package/build/esm/TextField/HelperText.d.ts +5 -5
  379. package/build/esm/TextField/HelperText.js +5 -5
  380. package/build/esm/TextField/HelperText.js.map +1 -1
  381. package/build/esm/TextField/IconContainer.d.ts +2 -3
  382. package/build/esm/TextField/IconContainer.js +0 -1
  383. package/build/esm/TextField/IconContainer.js.map +1 -1
  384. package/build/esm/TextField/Input.d.ts +4 -4
  385. package/build/esm/TextField/Input.js +11 -9
  386. package/build/esm/TextField/Input.js.map +1 -1
  387. package/build/esm/TextField/OutlinedContainer.d.ts +4 -4
  388. package/build/esm/TextField/OutlinedContainer.js +5 -5
  389. package/build/esm/TextField/OutlinedContainer.js.map +1 -1
  390. package/build/esm/TextField/TextField.d.ts +5 -5
  391. package/build/esm/TextField/TextField.js +4 -4
  392. package/build/esm/TextField/TextField.js.map +1 -1
  393. package/build/esm/TextField/consts.d.ts +0 -0
  394. package/build/esm/TextField/consts.js +0 -0
  395. package/build/esm/TextField/consts.js.map +1 -1
  396. package/build/esm/TextField/index.d.ts +0 -0
  397. package/build/esm/TextField/index.js +0 -0
  398. package/build/esm/TextField/index.js.map +1 -1
  399. package/build/esm/ThemeExplorer/ColorPicker.d.ts +0 -0
  400. package/build/esm/ThemeExplorer/ColorPicker.js +4 -3
  401. package/build/esm/ThemeExplorer/ColorPicker.js.map +1 -1
  402. package/build/esm/ThemeExplorer/TextFieldColorPicker.d.ts +0 -0
  403. package/build/esm/ThemeExplorer/TextFieldColorPicker.js +4 -3
  404. package/build/esm/ThemeExplorer/TextFieldColorPicker.js.map +1 -1
  405. package/build/esm/ThemeExplorer/ThemeBuilder.d.ts +9 -0
  406. package/build/esm/ThemeExplorer/ThemeBuilder.js +244 -0
  407. package/build/esm/ThemeExplorer/ThemeBuilder.js.map +1 -0
  408. package/build/esm/ThemeExplorer/ThemeColors.d.ts +2 -2
  409. package/build/esm/ThemeExplorer/ThemeColors.js +1 -1
  410. package/build/esm/ThemeExplorer/ThemeColors.js.map +1 -1
  411. package/build/esm/ThemeExplorer/components.d.ts +6 -7
  412. package/build/esm/ThemeExplorer/components.js +24 -20
  413. package/build/esm/ThemeExplorer/components.js.map +1 -1
  414. package/build/esm/ThemeExplorer/index.d.ts +1 -0
  415. package/build/esm/ThemeExplorer/index.js +2 -0
  416. package/build/esm/ThemeExplorer/index.js.map +1 -0
  417. package/build/esm/ThemeExplorer/makeColorScheme.d.ts +0 -0
  418. package/build/esm/ThemeExplorer/makeColorScheme.js +0 -0
  419. package/build/esm/ThemeExplorer/makeColorScheme.js.map +1 -1
  420. package/build/esm/ThemeExplorer/useDeferredColor.d.ts +0 -0
  421. package/build/esm/ThemeExplorer/useDeferredColor.js +4 -5
  422. package/build/esm/ThemeExplorer/useDeferredColor.js.map +1 -1
  423. package/build/esm/ThemeExplorer/useLocalStorageCachedState.d.ts +1 -1
  424. package/build/esm/ThemeExplorer/useLocalStorageCachedState.js +1 -1
  425. package/build/esm/ThemeExplorer/useLocalStorageCachedState.js.map +1 -1
  426. package/build/esm/Tooltip/Tooltip.d.ts +3 -3
  427. package/build/esm/Tooltip/Tooltip.js +7 -9
  428. package/build/esm/Tooltip/Tooltip.js.map +1 -1
  429. package/build/esm/Tooltip/index.d.ts +0 -0
  430. package/build/esm/Tooltip/index.js +0 -0
  431. package/build/esm/Tooltip/index.js.map +1 -1
  432. package/build/esm/color.d.ts +2 -0
  433. package/build/esm/color.js +9 -4
  434. package/build/esm/color.js.map +1 -1
  435. package/build/esm/css.d.ts +0 -0
  436. package/build/esm/css.js +0 -0
  437. package/build/esm/css.js.map +1 -1
  438. package/build/esm/hooks/useAnimation.d.ts +0 -0
  439. package/build/esm/hooks/useAnimation.js +3 -3
  440. package/build/esm/hooks/useAnimation.js.map +1 -1
  441. package/build/esm/index.d.ts +2 -1
  442. package/build/esm/index.js +2 -1
  443. package/build/esm/index.js.map +1 -1
  444. package/build/esm/motion.d.ts +7 -0
  445. package/build/esm/motion.js +8 -0
  446. package/build/esm/motion.js.map +1 -0
  447. package/build/esm/theme/index.d.ts +0 -0
  448. package/build/esm/theme/index.js +0 -0
  449. package/build/esm/theme/index.js.map +1 -1
  450. package/build/esm/theme/theme.d.ts +114 -28
  451. package/build/esm/theme/theme.js +46 -38
  452. package/build/esm/theme/theme.js.map +1 -1
  453. package/build/esm/theme/typography-raleway.d.ts +0 -0
  454. package/build/esm/theme/typography-raleway.js +0 -0
  455. package/build/esm/theme/typography-raleway.js.map +1 -1
  456. package/build/esm/theme/typography-roboto.d.ts +0 -0
  457. package/build/esm/theme/typography-roboto.js +0 -0
  458. package/build/esm/theme/typography-roboto.js.map +1 -1
  459. package/build/esm/theme/useTheme.d.ts +557 -1
  460. package/build/esm/theme/useTheme.js +0 -0
  461. package/build/esm/theme/useTheme.js.map +1 -1
  462. package/build/tsconfig-build.tsbuildinfo +1 -0
  463. package/package.json +8 -8
  464. package/src/Alert/Alert.tsx +1 -1
  465. package/src/AppBar/AppBar.tsx +4 -3
  466. package/src/BottomSheet/BottomSheetSurface.tsx +5 -4
  467. package/src/Box/Box.tsx +6 -8
  468. package/src/Button/BaseButton.tsx +3 -11
  469. package/src/Button/Button.story.tsx +21 -4
  470. package/src/Button/Button.tsx +4 -4
  471. package/src/Button/ButtonGroup.tsx +1 -1
  472. package/src/Button/FilledButton.tsx +4 -9
  473. package/src/Button/SpinnerButton.story.tsx +1 -1
  474. package/src/CheckBox/CheckBox.story.tsx +7 -6
  475. package/src/CheckBox/CheckBox.tsx +6 -10
  476. package/src/CheckBox/CheckBoxIcon.tsx +5 -5
  477. package/src/Chip/ButtonChip.tsx +3 -3
  478. package/src/Chip/Chip.story.tsx +1 -1
  479. package/src/Chip/ChipBase.tsx +2 -2
  480. package/src/Chip/ChoiceChip.tsx +7 -7
  481. package/src/Combobox/Combobox.story.tsx +3 -3
  482. package/src/Combobox/Combobox.tsx +9 -10
  483. package/src/Dialog/DialogBackdrop.tsx +3 -3
  484. package/src/Dialog/DialogSurface.tsx +2 -4
  485. package/src/Dialog/useDialogAnimation.tsx +3 -4
  486. package/src/Divider/Divider.tsx +2 -2
  487. package/src/FloatingLabel/FloatingLabel.tsx +7 -6
  488. package/src/LineRipple/LineRipple.story.tsx +1 -1
  489. package/src/LineRipple/LineRipple.tsx +4 -4
  490. package/src/Link/Link.tsx +2 -5
  491. package/src/List/List.tsx +4 -4
  492. package/src/ListItem/ListItem.tsx +6 -6
  493. package/src/ListItem/ListItemText.tsx +6 -7
  494. package/src/Menu/Menu.tsx +5 -5
  495. package/src/NavRail/NavRail.story.tsx +190 -0
  496. package/src/NavRail/NavRailItem.tsx +176 -0
  497. package/src/NavRail/index.ts +1 -0
  498. package/src/NotchedOutline/NotchedOutline.tsx +4 -5
  499. package/src/NotchedOutline/styledComponents.ts +2 -1
  500. package/src/Paper/Paper.story.tsx +3 -3
  501. package/src/Paper/Paper.tsx +3 -3
  502. package/src/ProgressSpinner/ProgressSpinner.tsx +9 -9
  503. package/src/RadioButton/RadioButton.story.tsx +2 -2
  504. package/src/RadioButton/RadioButton.tsx +1 -1
  505. package/src/RadioButton/RadioButtonIcon.tsx +4 -5
  506. package/src/Ripple/Ripple.story.tsx +1 -1
  507. package/src/Ripple/RippleBox.tsx +1 -2
  508. package/src/Ripple/useRippleHandlers.ts +3 -3
  509. package/src/Ripple/useRippleSurface.ts +77 -61
  510. package/src/Select/Select.tsx +11 -6
  511. package/src/Select/SelectIcon.tsx +3 -4
  512. package/src/Select/context.ts +2 -1
  513. package/src/Select/defaultRender.ts +2 -1
  514. package/src/Select/styledComponents.tsx +13 -11
  515. package/src/SelectionControl/SelectionControlLabel.tsx +4 -8
  516. package/src/SelectionControl/SelectionControlText.tsx +3 -3
  517. package/src/Skeleton/DelayAppearance.tsx +2 -2
  518. package/src/Skeleton/Skeleton.story.tsx +2 -2
  519. package/src/Skeleton/Skeleton.tsx +6 -6
  520. package/src/Snackbar/Snackbar.tsx +6 -6
  521. package/src/Snackbar/Stack.tsx +6 -9
  522. package/src/Snackbar/useSnackbarAnimation.ts +4 -3
  523. package/src/Switch/Switch.tsx +6 -10
  524. package/src/Switch/styledComponents.tsx +2 -2
  525. package/src/Tab/Tab.tsx +3 -7
  526. package/src/TabIndicator/TabIndicator.tsx +2 -1
  527. package/src/TabIndicator/context.ts +2 -1
  528. package/src/Table/TableRow.tsx +1 -1
  529. package/src/Text/LoremIpsum.tsx +1 -1
  530. package/src/Text/Text.story.tsx +42 -7
  531. package/src/Text/Text.tsx +25 -5
  532. package/src/TextField/FilledContainer.tsx +3 -3
  533. package/src/TextField/HelperText.tsx +5 -5
  534. package/src/TextField/IconContainer.tsx +2 -3
  535. package/src/TextField/Input.tsx +5 -4
  536. package/src/TextField/OutlinedContainer.tsx +3 -3
  537. package/src/TextField/TextField.tsx +4 -4
  538. package/src/ThemeExplorer/ThemeBuilder.story.tsx +1 -159
  539. package/src/ThemeExplorer/ThemeBuilder.tsx +198 -0
  540. package/src/ThemeExplorer/ThemeColors.tsx +1 -1
  541. package/src/ThemeExplorer/components.tsx +24 -16
  542. package/src/ThemeExplorer/index.ts +1 -0
  543. package/src/ThemeExplorer/useDeferredColor.tsx +2 -3
  544. package/src/ThemeExplorer/useLocalStorageCachedState.ts +2 -2
  545. package/src/Tooltip/Tooltip.story.tsx +2 -2
  546. package/src/Tooltip/Tooltip.tsx +9 -11
  547. package/src/color.ts +26 -5
  548. package/src/index.ts +2 -1
  549. package/src/motion.ts +7 -0
  550. package/src/theme/theme.ts +51 -37
  551. package/build/esm/ColorMode/ColorModeProvider.d.ts +0 -7
  552. package/build/esm/ColorMode/ColorModeProvider.js +0 -92
  553. package/build/esm/ColorMode/ColorModeProvider.js.map +0 -1
  554. package/build/esm/ColorMode/color-mode.d.ts +0 -8
  555. package/build/esm/ColorMode/color-mode.js +0 -11
  556. package/build/esm/ColorMode/color-mode.js.map +0 -1
  557. package/build/esm/ColorMode/color-vars.d.ts +0 -4
  558. package/build/esm/ColorMode/color-vars.js +0 -58
  559. package/build/esm/ColorMode/color-vars.js.map +0 -1
  560. package/build/esm/ColorMode/constants.d.ts +0 -3
  561. package/build/esm/ColorMode/constants.js +0 -5
  562. package/build/esm/ColorMode/constants.js.map +0 -1
  563. package/build/esm/ColorMode/index.d.ts +0 -4
  564. package/build/esm/ColorMode/index.js +0 -5
  565. package/build/esm/ColorMode/index.js.map +0 -1
  566. package/build/esm/ListItem/context.d.ts +0 -7
  567. package/build/esm/ListItem/context.js +0 -10
  568. package/build/esm/ListItem/context.js.map +0 -1
  569. package/build/tsconfig.tsbuildinfo +0 -1
  570. package/src/ColorMode/ColorModeProvider.tsx +0 -97
  571. package/src/ColorMode/color-mode.ts +0 -20
  572. package/src/ColorMode/color-vars.ts +0 -56
  573. package/src/ColorMode/constants.ts +0 -5
  574. package/src/ColorMode/index.ts +0 -4
  575. package/src/ColorMode/tests/color-vars.test.ts +0 -9
  576. package/src/ThemeExplorer/ThemeExplorer.story.tsx +0 -43
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
1
+ import type { SVGAttributes } from 'react';
2
2
  import type { BoxProps } from '../Box';
3
- export declare type SelectIconProps = BoxProps<SVGElement, React.SVGAttributes<SVGElement>> & {
3
+ export declare type SelectIconProps = BoxProps<SVGElement, SVGAttributes<SVGElement>> & {
4
4
  open?: boolean;
5
5
  };
6
- export declare const SelectIcon: React.ForwardRefExoticComponent<Pick<SelectIconProps, "string" | "children" | "style" | "clipPath" | "filter" | "mask" | "path" | "cursor" | "direction" | "fontSizeAdjust" | "fontStretch" | "fontVariant" | "imageRendering" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "wordSpacing" | "writingMode" | "offset" | "textDecoration" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "to" | "values" | "local" | keyof import("../Box").BaseProps | keyof import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> | keyof import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> | keyof import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> | keyof import("styled-system").GridProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").BackgroundProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Background<import("styled-system").TLengthStyledSystem>> | keyof import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").ShadowProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | "className" | "id" | "lang" | "tabIndex" | "role" | "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" | "end" | "x" | "y" | "open" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "max" | "media" | "method" | "min" | "name" | "target" | "type" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "href" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mode" | "numOctaves" | "operator" | "orient" | "orientation" | "origin" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan"> & React.RefAttributes<SVGElement>>;
6
+ export declare const SelectIcon: import("react").ForwardRefExoticComponent<Pick<SelectIconProps, "string" | "clipPath" | "cursor" | "direction" | "filter" | "fontSizeAdjust" | "fontStretch" | "fontVariant" | "imageRendering" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "wordSpacing" | "writingMode" | "mask" | "offset" | "textDecoration" | "alignmentBaseline" | "baselineShift" | "clip" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "local" | "elevation" | "values" | keyof import("../Box").BaseProps | keyof import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> | keyof import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> | keyof import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> | keyof import("styled-system").GridProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").BackgroundProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Background<import("styled-system").TLengthStyledSystem>> | keyof import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").ShadowProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | "className" | "id" | "lang" | "style" | "tabIndex" | "role" | "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" | "path" | "end" | "x" | "y" | "open" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "name" | "type" | "from" | "to" | "restart" | "mode" | "crossOrigin" | "max" | "min" | "d" | "y2" | "x2" | "y1" | "x1" | "href" | "media" | "target" | "origin" | "method" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "numOctaves" | "operator" | "orient" | "orientation" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "result" | "rx" | "ry" | "seed" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "vMathematical" | "widths" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "yChannelSelector" | "z" | "zoomAndPan"> & import("react").RefAttributes<SVGElement>>;
@@ -1,17 +1,18 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["open"];
3
4
  import { forwardRef } from 'react';
4
- import * as React from 'react';
5
5
  import { rem } from 'polished';
6
6
  import { Box } from '../Box';
7
7
  import { alpha } from '../color';
8
8
  import { PADDING_RIGHT_WITH_ICON } from '../TextField/consts';
9
+ import { EASING_STANDARD } from '../motion';
9
10
  import { jsx as _jsx } from "react/jsx-runtime";
10
11
  export var SelectIcon = /*#__PURE__*/forwardRef(function SelectIcon(props, forwardedRef) {
11
12
  var open = props.open,
12
- otherProps = _objectWithoutProperties(props, ["open"]);
13
+ otherProps = _objectWithoutProperties(props, _excluded);
13
14
 
14
- return /*#__PURE__*/_jsx(Box, _extends({
15
+ return /*#__PURE__*/_jsx(Box, _extends(_extends({
15
16
  ref: forwardedRef,
16
17
  as: "svg",
17
18
  "aria-hidden": true,
@@ -25,9 +26,9 @@ export var SelectIcon = /*#__PURE__*/forwardRef(function SelectIcon(props, forwa
25
26
  color: open ? 'primary' : alpha('on.surface', 0.54),
26
27
  pointerEvents: 'none',
27
28
  transform: open ? 'rotate(180deg)' : undefined,
28
- transition: 'transform .15s cubic-bezier(.4,0,.2,1), color .15s cubic-bezier(.4,0,.2,1)'
29
+ transition: "transform .15s ".concat(EASING_STANDARD, ", color .15s ").concat(EASING_STANDARD)
29
30
  }
30
- }, otherProps, {
31
+ }, otherProps), {}, {
31
32
  children: /*#__PURE__*/_jsx("path", {
32
33
  fill: "currentColor",
33
34
  d: "M7 10l5 5 5-5z"
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Select/SelectIcon.tsx"],"names":["forwardRef","React","rem","Box","alpha","PADDING_RIGHT_WITH_ICON","SelectIcon","props","forwardedRef","open","otherProps","position","top","right","width","height","color","pointerEvents","transform","undefined","transition"],"mappings":";;AACA,SAASA,UAAT,QAA2B,OAA3B;AACA,OAAO,KAAKC,KAAZ,MAAuB,OAAvB;AACA,SAASC,GAAT,QAAoB,UAApB;AAGA,SAASC,GAAT,QAAoB,QAApB;AACA,SAASC,KAAT,QAAsB,UAAtB;AACA,SAASC,uBAAT,QAAwC,qBAAxC;;AAOA,OAAO,IAAMC,UAAU,gBAAGN,UAAU,CAClC,SAASM,UAAT,CAAoBC,KAApB,EAA2BC,YAA3B,EAAyC;AAAA,MAC/BC,IAD+B,GACPF,KADO,CAC/BE,IAD+B;AAAA,MACtBC,UADsB,4BACPH,KADO;;AAGvC,sBACE,KAAC,GAAD;AACE,IAAA,GAAG,EAAEC,YADP;AAEE,IAAA,EAAE,EAAC,KAFL;AAGE,mBAAa,IAHf;AAIE,IAAA,OAAO,EAAC,WAJV;AAKE,IAAA,KAAK,EAAE;AACLG,MAAAA,QAAQ,EAAE,UADL;AAELC,MAAAA,GAAG,sCAFE;AAGLC,MAAAA,KAAK,EAAEX,GAAG,CAACG,uBAAD,CAHL;AAILS,MAAAA,KAAK,UAJA;AAKLC,MAAAA,MAAM,UALD;AAMLC,MAAAA,KAAK,EAAEP,IAAI,GAAG,SAAH,GAAeL,KAAK,CAAC,YAAD,EAAe,IAAf,CAN1B;AAOLa,MAAAA,aAAa,EAAE,MAPV;AAQLC,MAAAA,SAAS,EAAET,IAAI,GAAG,gBAAH,GAAsBU,SARhC;AASLC,MAAAA,UAAU,EACR;AAVG;AALT,KAiBMV,UAjBN;AAAA,2BAmBE;AAAM,MAAA,IAAI,EAAC,cAAX;AAA0B,MAAA,CAAC,EAAC;AAA5B;AAnBF,KADF;AAuBD,CA3BiC,CAA7B","sourcesContent":["import type { SVGAttributes } from 'react';\nimport { forwardRef } from 'react';\nimport * as React from 'react';\nimport { rem } from 'polished';\n\nimport type { BoxProps } from '../Box';\nimport { Box } from '../Box';\nimport { alpha } from '../color';\nimport { PADDING_RIGHT_WITH_ICON } from '../TextField/consts';\n\nexport type SelectIconProps = BoxProps<\n SVGElement,\n React.SVGAttributes<SVGElement>\n> & { open?: boolean };\n\nexport const SelectIcon = forwardRef<SVGElement, SelectIconProps>(\n function SelectIcon(props, forwardedRef) {\n const { open, ...otherProps } = props;\n\n return (\n <Box<BoxProps<SVGElement, SVGAttributes<SVGElement>>>\n ref={forwardedRef}\n as=\"svg\"\n aria-hidden={true}\n viewBox=\"0 0 24 24\"\n __css={{\n position: 'absolute',\n top: `calc(50% - ${rem(12)})`,\n right: rem(PADDING_RIGHT_WITH_ICON),\n width: rem(24),\n height: rem(24),\n color: open ? 'primary' : alpha('on.surface', 0.54),\n pointerEvents: 'none',\n transform: open ? 'rotate(180deg)' : undefined,\n transition:\n 'transform .15s cubic-bezier(.4,0,.2,1), color .15s cubic-bezier(.4,0,.2,1)',\n }}\n {...otherProps}\n >\n <path fill=\"currentColor\" d=\"M7 10l5 5 5-5z\" />\n </Box>\n );\n }\n);\n"],"file":"SelectIcon.js"}
1
+ {"version":3,"file":"SelectIcon.js","names":["forwardRef","rem","Box","alpha","PADDING_RIGHT_WITH_ICON","EASING_STANDARD","SelectIcon","props","forwardedRef","open","otherProps","position","top","right","width","height","color","pointerEvents","transform","undefined","transition"],"sources":["../../../src/Select/SelectIcon.tsx"],"sourcesContent":["import type { SVGAttributes } from 'react';\nimport { forwardRef } from 'react';\nimport { rem } from 'polished';\n\nimport type { BoxProps } from '../Box';\nimport { Box } from '../Box';\nimport { alpha } from '../color';\nimport { PADDING_RIGHT_WITH_ICON } from '../TextField/consts';\nimport { EASING_STANDARD } from '../motion';\n\nexport type SelectIconProps = BoxProps<\n SVGElement,\n SVGAttributes<SVGElement>\n> & { open?: boolean };\n\nexport const SelectIcon = forwardRef<SVGElement, SelectIconProps>(\n function SelectIcon(props, forwardedRef) {\n const { open, ...otherProps } = props;\n\n return (\n <Box<BoxProps<SVGElement, SVGAttributes<SVGElement>>>\n ref={forwardedRef}\n as=\"svg\"\n aria-hidden={true}\n viewBox=\"0 0 24 24\"\n __css={{\n position: 'absolute',\n top: `calc(50% - ${rem(12)})`,\n right: rem(PADDING_RIGHT_WITH_ICON),\n width: rem(24),\n height: rem(24),\n color: open ? 'primary' : alpha('on.surface', 0.54),\n pointerEvents: 'none',\n transform: open ? 'rotate(180deg)' : undefined,\n transition: `transform .15s ${EASING_STANDARD}, color .15s ${EASING_STANDARD}`,\n }}\n {...otherProps}\n >\n <path fill=\"currentColor\" d=\"M7 10l5 5 5-5z\" />\n </Box>\n );\n }\n);\n"],"mappings":";;;AACA,SAASA,UAAT,QAA2B,OAA3B;AACA,SAASC,GAAT,QAAoB,UAApB;AAGA,SAASC,GAAT,QAAoB,QAApB;AACA,SAASC,KAAT,QAAsB,UAAtB;AACA,SAASC,uBAAT,QAAwC,qBAAxC;AACA,SAASC,eAAT,QAAgC,WAAhC;;AAOA,OAAO,IAAMC,UAAU,gBAAGN,UAAU,CAClC,SAASM,UAAT,CAAoBC,KAApB,EAA2BC,YAA3B,EAAyC;EACvC,IAAQC,IAAR,GAAgCF,KAAhC,CAAQE,IAAR;EAAA,IAAiBC,UAAjB,4BAAgCH,KAAhC;;EAEA,oBACE,KAAC,GAAD;IACE,GAAG,EAAEC,YADP;IAEE,EAAE,EAAC,KAFL;IAGE,eAAa,IAHf;IAIE,OAAO,EAAC,WAJV;IAKE,KAAK,EAAE;MACLG,QAAQ,EAAE,UADL;MAELC,GAAG,sCAFE;MAGLC,KAAK,EAAEZ,GAAG,CAACG,uBAAD,CAHL;MAILU,KAAK,UAJA;MAKLC,MAAM,UALD;MAMLC,KAAK,EAAEP,IAAI,GAAG,SAAH,GAAeN,KAAK,CAAC,YAAD,EAAe,IAAf,CAN1B;MAOLc,aAAa,EAAE,MAPV;MAQLC,SAAS,EAAET,IAAI,GAAG,gBAAH,GAAsBU,SARhC;MASLC,UAAU,2BAAoBf,eAApB,0BAAmDA,eAAnD;IATL;EALT,GAgBMK,UAhBN;IAAA,uBAkBE;MAAM,IAAI,EAAC,cAAX;MAA0B,CAAC,EAAC;IAA5B;EAlBF,GADF;AAsBD,CA1BiC,CAA7B"}
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import type { MouseEvent, KeyboardEvent } from 'react';
2
2
  export interface SelectContextProps {
3
3
  native: boolean;
4
4
  value?: string;
5
- onSelect: (e: React.MouseEvent<HTMLLIElement> | React.KeyboardEvent<HTMLLIElement>) => void;
5
+ onSelect: (e: MouseEvent<HTMLLIElement> | KeyboardEvent<HTMLLIElement>) => void;
6
6
  }
7
7
  export declare const SelectProvider: import("react").Provider<SelectContextProps>;
8
8
  export declare const useSelectContext: () => SelectContextProps;
File without changes
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Select/context.ts"],"names":["useContext","createContext","selectContext","native","onSelect","SelectProvider","Provider","useSelectContext"],"mappings":"AAAA,SAASA,UAAT,EAAqBC,aAArB,QAA0C,OAA1C,C,CAEA;;AASA,IAAMC,aAAa,gBAAGD,aAAa,CAAqB;AACtDE,EAAAA,MAAM,EAAE,KAD8C;AAEtDC,EAAAA,QAAQ,EAAE,oBAAM,CACd;AACD;AAJqD,CAArB,CAAnC;IAMyBC,c,GAAmBH,a,CAA7BI,Q;;AACf,OAAO,IAAMC,gBAAgB,GAAG,SAAnBA,gBAAmB;AAAA,SAAMP,UAAU,CAACE,aAAD,CAAhB;AAAA,CAAzB","sourcesContent":["import { useContext, createContext } from 'react';\n\n// Select Component\nexport interface SelectContextProps {\n native: boolean;\n value?: string;\n onSelect: (\n e: React.MouseEvent<HTMLLIElement> | React.KeyboardEvent<HTMLLIElement>\n ) => void;\n}\n\nconst selectContext = createContext<SelectContextProps>({\n native: false,\n onSelect: () => {\n // noop\n },\n});\nexport const { Provider: SelectProvider } = selectContext;\nexport const useSelectContext = () => useContext(selectContext);\n"],"file":"context.js"}
1
+ {"version":3,"file":"context.js","names":["useContext","createContext","selectContext","native","onSelect","SelectProvider","Provider","useSelectContext"],"sources":["../../../src/Select/context.ts"],"sourcesContent":["import type { MouseEvent, KeyboardEvent } from 'react';\nimport { useContext, createContext } from 'react';\n\n// Select Component\nexport interface SelectContextProps {\n native: boolean;\n value?: string;\n onSelect: (\n e: MouseEvent<HTMLLIElement> | KeyboardEvent<HTMLLIElement>\n ) => void;\n}\n\nconst selectContext = createContext<SelectContextProps>({\n native: false,\n onSelect: () => {\n // noop\n },\n});\nexport const { Provider: SelectProvider } = selectContext;\nexport const useSelectContext = () => useContext(selectContext);\n"],"mappings":"AACA,SAASA,UAAT,EAAqBC,aAArB,QAA0C,OAA1C,C,CAEA;;AASA,IAAMC,aAAa,gBAAGD,aAAa,CAAqB;EACtDE,MAAM,EAAE,KAD8C;EAEtDC,QAAQ,EAAE,oBAAM,CACd;EACD;AAJqD,CAArB,CAAnC;AAMO,IAAkBC,cAAlB,GAAqCH,aAArC,CAAQI,QAAR;;AACP,OAAO,IAAMC,gBAAgB,GAAG,SAAnBA,gBAAmB;EAAA,OAAMP,UAAU,CAACE,aAAD,CAAhB;AAAA,CAAzB"}
@@ -1 +1,2 @@
1
- export declare const makeDefaultRender: (children?: React.ReactNode) => (val?: string | undefined) => string | undefined;
1
+ import type { ReactNode } from 'react';
2
+ export declare const makeDefaultRender: (children?: ReactNode) => (val?: string) => string | undefined;
File without changes
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Select/defaultRender.ts"],"names":["Children","isValidElement","makeDefaultRender","children","val","undefined","allChildren","toArray","i","length","child","String","props","value"],"mappings":"AAAA,SAASA,QAAT,EAAmBC,cAAnB,QAAyC,OAAzC;AAEA,OAAO,IAAMC,iBAAiB,GAC5B,SADWA,iBACX,CAACC,QAAD;AAAA,SACA,UAACC,GAAD,EAAsC;AACpC,QAAID,QAAQ,IAAIC,GAAG,KAAKC,SAAxB,EAAmC;AACjC,UAAMC,WAAW,GAAGN,QAAQ,CAACO,OAAT,CAAiBJ,QAAjB,CAApB;;AACA,WAAK,IAAIK,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGF,WAAW,CAACG,MAAhC,EAAwCD,CAAC,EAAzC,EAA6C;AAC3C,YAAME,KAAK,GAAGJ,WAAW,CAACE,CAAD,CAAzB;;AACA,0BAAIP,cAAc,CAACS,KAAD,CAAlB,EAA2B;AACzB,cAAIC,MAAM,CAACD,KAAK,CAACE,KAAN,CAAYC,KAAb,CAAN,KAA8BT,GAAlC,EAAuC;AACrC,mBAAOM,KAAK,CAACE,KAAN,CAAYT,QAAnB;AACD;AACF;AACF;AACF;;AACD,WAAOC,GAAG,IAAIC,SAAd;AACD,GAdD;AAAA,CADK","sourcesContent":["import { Children, isValidElement } from 'react';\n\nexport const makeDefaultRender =\n (children?: React.ReactNode) =>\n (val?: string): string | undefined => {\n if (children && val !== undefined) {\n const allChildren = Children.toArray(children);\n for (let i = 0; i < allChildren.length; i++) {\n const child = allChildren[i];\n if (isValidElement(child)) {\n if (String(child.props.value) === val) {\n return child.props.children;\n }\n }\n }\n }\n return val || undefined;\n };\n"],"file":"defaultRender.js"}
1
+ {"version":3,"file":"defaultRender.js","names":["Children","isValidElement","makeDefaultRender","children","val","undefined","allChildren","toArray","i","length","child","String","props","value"],"sources":["../../../src/Select/defaultRender.ts"],"sourcesContent":["import type { ReactNode } from 'react';\nimport { Children, isValidElement } from 'react';\n\nexport const makeDefaultRender =\n (children?: ReactNode) =>\n (val?: string): string | undefined => {\n if (children && val !== undefined) {\n const allChildren = Children.toArray(children);\n for (let i = 0; i < allChildren.length; i++) {\n const child = allChildren[i];\n if (isValidElement(child)) {\n if (String(child.props.value) === val) {\n return child.props.children;\n }\n }\n }\n }\n return val || undefined;\n };\n"],"mappings":"AACA,SAASA,QAAT,EAAmBC,cAAnB,QAAyC,OAAzC;AAEA,OAAO,IAAMC,iBAAiB,GAC5B,SADWA,iBACX,CAACC,QAAD;EAAA,OACA,UAACC,GAAD,EAAsC;IACpC,IAAID,QAAQ,IAAIC,GAAG,KAAKC,SAAxB,EAAmC;MACjC,IAAMC,WAAW,GAAGN,QAAQ,CAACO,OAAT,CAAiBJ,QAAjB,CAApB;;MACA,KAAK,IAAIK,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGF,WAAW,CAACG,MAAhC,EAAwCD,CAAC,EAAzC,EAA6C;QAC3C,IAAME,KAAK,GAAGJ,WAAW,CAACE,CAAD,CAAzB;;QACA,kBAAIP,cAAc,CAACS,KAAD,CAAlB,EAA2B;UACzB,IAAIC,MAAM,CAACD,KAAK,CAACE,KAAN,CAAYC,KAAb,CAAN,KAA8BT,GAAlC,EAAuC;YACrC,OAAOM,KAAK,CAACE,KAAN,CAAYT,QAAnB;UACD;QACF;MACF;IACF;;IACD,OAAOC,GAAG,IAAIC,SAAd;EACD,CAdD;AAAA,CADK"}
File without changes
File without changes
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Select/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAd","sourcesContent":["export * from './Select';\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../src/Select/index.ts"],"sourcesContent":["export * from './Select';\n"],"mappings":"AAAA,cAAc,UAAd"}
@@ -1,15 +1,15 @@
1
- import * as React from 'react';
1
+ import type { ElementType, RefAttributes, SelectHTMLAttributes } from 'react';
2
2
  import type { Theme } from '../theme';
3
- export interface SelectProps extends React.SelectHTMLAttributes<HTMLSelectElement> {
4
- as?: React.ElementType<any>;
3
+ export interface SelectProps extends SelectHTMLAttributes<HTMLSelectElement> {
4
+ as?: ElementType<any>;
5
5
  variant?: 'filled' | 'outlined';
6
6
  hasLabel?: boolean;
7
7
  theme: Theme;
8
8
  leadingIcon?: boolean;
9
9
  }
10
- export declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLSelectElement>>;
11
- export declare const SelectButton: React.ForwardRefExoticComponent<SelectProps & React.ButtonHTMLAttributes<HTMLButtonElement> & {
12
- as?: React.ElementType<any> | undefined;
13
- innerAs?: React.ElementType<any> | undefined;
14
- onClick?: ((e: React.KeyboardEvent<HTMLButtonElement> | React.MouseEvent<HTMLButtonElement, MouseEvent>) => void) | undefined;
15
- } & React.RefAttributes<HTMLButtonElement>>;
10
+ export declare const Select: import("react").ForwardRefExoticComponent<SelectProps & RefAttributes<HTMLSelectElement>>;
11
+ export declare const SelectButton: import("react").ForwardRefExoticComponent<SelectProps & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
12
+ as?: ElementType<any> | undefined;
13
+ innerAs?: ElementType<any> | undefined;
14
+ onClick?: ((e: import("react").KeyboardEvent<HTMLButtonElement> | import("react").MouseEvent<HTMLButtonElement, MouseEvent>) => void) | undefined;
15
+ } & RefAttributes<HTMLButtonElement>>;
@@ -1,14 +1,16 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["as"],
4
+ _excluded2 = ["innerAs"],
5
+ _excluded3 = ["as", "children"];
3
6
  import { forwardRef } from 'react';
4
- import * as React from 'react';
5
7
  import { MenuButton as BaseMenuButton } from '@basic-ui/core';
6
8
  import { Input } from '../TextField/Input';
7
9
  import { jsx as _jsx } from "react/jsx-runtime";
8
10
  export var Select = /*#__PURE__*/forwardRef(function (_ref, forwardedRef) {
9
11
  var _ref$as = _ref.as,
10
12
  asProp = _ref$as === void 0 ? 'select' : _ref$as,
11
- props = _objectWithoutProperties(_ref, ["as"]);
13
+ props = _objectWithoutProperties(_ref, _excluded);
12
14
 
13
15
  var InputSelect = Input;
14
16
  return /*#__PURE__*/_jsx(InputSelect, _extends({
@@ -19,7 +21,7 @@ export var Select = /*#__PURE__*/forwardRef(function (_ref, forwardedRef) {
19
21
  var SelectButtonInner = /*#__PURE__*/forwardRef(function (_ref2, forwardedRef) {
20
22
  var _ref2$innerAs = _ref2.innerAs,
21
23
  innerAs = _ref2$innerAs === void 0 ? 'div' : _ref2$innerAs,
22
- props = _objectWithoutProperties(_ref2, ["innerAs"]);
24
+ props = _objectWithoutProperties(_ref2, _excluded2);
23
25
 
24
26
  var InputButton = Input;
25
27
  return /*#__PURE__*/_jsx(InputButton, _extends({
@@ -31,13 +33,13 @@ var SelectButtonInner = /*#__PURE__*/forwardRef(function (_ref2, forwardedRef) {
31
33
  export var SelectButton = /*#__PURE__*/forwardRef(function (_ref3, ref) {
32
34
  var as = _ref3.as,
33
35
  children = _ref3.children,
34
- props = _objectWithoutProperties(_ref3, ["as", "children"]);
36
+ props = _objectWithoutProperties(_ref3, _excluded3);
35
37
 
36
- return /*#__PURE__*/_jsx(BaseMenuButton, _extends({
38
+ return /*#__PURE__*/_jsx(BaseMenuButton, _extends(_extends({
37
39
  as: SelectButtonInner,
38
40
  innerAs: as,
39
41
  ref: ref
40
- }, props, {
42
+ }, props), {}, {
41
43
  children: children
42
44
  }));
43
45
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/Select/styledComponents.tsx"],"names":["forwardRef","React","MenuButton","BaseMenuButton","Input","Select","forwardedRef","as","asProp","props","InputSelect","SelectButtonInner","innerAs","InputButton","SelectButton","ref","children"],"mappings":";;AAAA,SAASA,UAAT,QAA2B,OAA3B;AACA,OAAO,KAAKC,KAAZ,MAAuB,OAAvB;AAEA,SAASC,UAAU,IAAIC,cAAvB,QAA6C,gBAA7C;AAGA,SAASC,KAAT,QAAsB,oBAAtB;;AAWA,OAAO,IAAMC,MAAM,gBAAGL,UAAU,CAC9B,gBAAsCM,YAAtC,EAAuD;AAAA,qBAApDC,EAAoD;AAAA,MAAhDC,MAAgD,wBAAvC,QAAuC;AAAA,MAA1BC,KAA0B;;AACrD,MAAMC,WAEL,GAAGN,KAFJ;AAIA,sBAAO,KAAC,WAAD;AAAa,IAAA,EAAE,EAAEI,MAAjB;AAAyB,IAAA,GAAG,EAAEF;AAA9B,KAAgDG,KAAhD,EAAP;AACD,CAP6B,CAAzB;AAUP,IAAME,iBAAiB,gBAAGX,UAAU,CAGlC,iBAAgCM,YAAhC,EAAiD;AAAA,4BAA9CM,OAA8C;AAAA,MAA9CA,OAA8C,8BAApC,KAAoC;AAAA,MAA1BH,KAA0B;;AACjD,MAAMI,WAEL,GAAGT,KAFJ;AAIA,sBACE,KAAC,WAAD;AAAa,IAAA,EAAE,EAAEQ,OAAjB;AAA0B,IAAA,GAAG,EAAEN,YAA/B;AAA6C,IAAA,QAAQ,EAAE;AAAvD,KAA8DG,KAA9D,EADF;AAGD,CAXmC,CAApC;AAaA,OAAO,IAAMK,YAAY,gBAAGd,UAAU,CAGpC,iBAA6Be,GAA7B;AAAA,MAAGR,EAAH,SAAGA,EAAH;AAAA,MAAOS,QAAP,SAAOA,QAAP;AAAA,MAAoBP,KAApB;;AAAA,sBACA,KAAC,cAAD;AAAgB,IAAA,EAAE,EAAEE,iBAApB;AAAuC,IAAA,OAAO,EAAEJ,EAAhD;AAAoD,IAAA,GAAG,EAAEQ;AAAzD,KAAkEN,KAAlE;AAAA,cACGO;AADH,KADA;AAAA,CAHoC,CAA/B","sourcesContent":["import { forwardRef } from 'react';\nimport * as React from 'react';\nimport type { MenuButtonProps } from '@basic-ui/core';\nimport { MenuButton as BaseMenuButton } from '@basic-ui/core';\n\nimport type { Theme } from '../theme';\nimport { Input } from '../TextField/Input';\n\nexport interface SelectProps\n extends React.SelectHTMLAttributes<HTMLSelectElement> {\n as?: React.ElementType<any>;\n variant?: 'filled' | 'outlined';\n hasLabel?: boolean;\n theme: Theme;\n leadingIcon?: boolean;\n}\n\nexport const Select = forwardRef<HTMLSelectElement, SelectProps>(\n ({ as: asProp = 'select', ...props }, forwardedRef) => {\n const InputSelect: React.FC<\n SelectProps & React.RefAttributes<HTMLSelectElement>\n > = Input as any;\n\n return <InputSelect as={asProp} ref={forwardedRef} {...props} />;\n }\n);\n\nconst SelectButtonInner = forwardRef<\n HTMLButtonElement,\n SelectProps & { innerAs?: React.ElementType<any> }\n>(({ innerAs = 'div', ...props }, forwardedRef) => {\n const InputButton: React.FC<\n SelectProps & React.RefAttributes<HTMLButtonElement>\n > = Input as any;\n\n return (\n <InputButton as={innerAs} ref={forwardedRef} tabIndex={0} {...props} />\n );\n});\n\nexport const SelectButton = forwardRef<\n HTMLButtonElement,\n SelectProps & MenuButtonProps\n>(({ as, children, ...props }, ref) => (\n <BaseMenuButton as={SelectButtonInner} innerAs={as} ref={ref} {...props}>\n {children}\n </BaseMenuButton>\n));\n"],"file":"styledComponents.js"}
1
+ {"version":3,"file":"styledComponents.js","names":["forwardRef","MenuButton","BaseMenuButton","Input","Select","forwardedRef","as","asProp","props","InputSelect","SelectButtonInner","innerAs","InputButton","SelectButton","ref","children"],"sources":["../../../src/Select/styledComponents.tsx"],"sourcesContent":["import type {\n ElementType,\n FC,\n RefAttributes,\n SelectHTMLAttributes,\n} from 'react';\nimport { forwardRef } from 'react';\nimport type { MenuButtonProps } from '@basic-ui/core';\nimport { MenuButton as BaseMenuButton } from '@basic-ui/core';\n\nimport type { Theme } from '../theme';\nimport { Input } from '../TextField/Input';\n\nexport interface SelectProps extends SelectHTMLAttributes<HTMLSelectElement> {\n as?: ElementType<any>;\n variant?: 'filled' | 'outlined';\n hasLabel?: boolean;\n theme: Theme;\n leadingIcon?: boolean;\n}\n\nexport const Select = forwardRef<HTMLSelectElement, SelectProps>(\n ({ as: asProp = 'select', ...props }, forwardedRef) => {\n const InputSelect: FC<SelectProps & RefAttributes<HTMLSelectElement>> =\n Input as any;\n\n return <InputSelect as={asProp} ref={forwardedRef} {...props} />;\n }\n);\n\nconst SelectButtonInner = forwardRef<\n HTMLButtonElement,\n SelectProps & { innerAs?: ElementType<any> }\n>(({ innerAs = 'div', ...props }, forwardedRef) => {\n const InputButton: FC<SelectProps & RefAttributes<HTMLButtonElement>> =\n Input as any;\n\n return (\n <InputButton as={innerAs} ref={forwardedRef} tabIndex={0} {...props} />\n );\n});\n\nexport const SelectButton = forwardRef<\n HTMLButtonElement,\n SelectProps & MenuButtonProps\n>(({ as, children, ...props }, ref) => (\n <BaseMenuButton as={SelectButtonInner} innerAs={as} ref={ref} {...props}>\n {children}\n </BaseMenuButton>\n));\n"],"mappings":";;;;;AAMA,SAASA,UAAT,QAA2B,OAA3B;AAEA,SAASC,UAAU,IAAIC,cAAvB,QAA6C,gBAA7C;AAGA,SAASC,KAAT,QAAsB,oBAAtB;;AAUA,OAAO,IAAMC,MAAM,gBAAGJ,UAAU,CAC9B,gBAAsCK,YAAtC,EAAuD;EAAA,mBAApDC,EAAoD;EAAA,IAAhDC,MAAgD,wBAAvC,QAAuC;EAAA,IAA1BC,KAA0B;;EACrD,IAAMC,WAA+D,GACnEN,KADF;EAGA,oBAAO,KAAC,WAAD;IAAa,EAAE,EAAEI,MAAjB;IAAyB,GAAG,EAAEF;EAA9B,GAAgDG,KAAhD,EAAP;AACD,CAN6B,CAAzB;AASP,IAAME,iBAAiB,gBAAGV,UAAU,CAGlC,iBAAgCK,YAAhC,EAAiD;EAAA,0BAA9CM,OAA8C;EAAA,IAA9CA,OAA8C,8BAApC,KAAoC;EAAA,IAA1BH,KAA0B;;EACjD,IAAMI,WAA+D,GACnET,KADF;EAGA,oBACE,KAAC,WAAD;IAAa,EAAE,EAAEQ,OAAjB;IAA0B,GAAG,EAAEN,YAA/B;IAA6C,QAAQ,EAAE;EAAvD,GAA8DG,KAA9D,EADF;AAGD,CAVmC,CAApC;AAYA,OAAO,IAAMK,YAAY,gBAAGb,UAAU,CAGpC,iBAA6Bc,GAA7B;EAAA,IAAGR,EAAH,SAAGA,EAAH;EAAA,IAAOS,QAAP,SAAOA,QAAP;EAAA,IAAoBP,KAApB;;EAAA,oBACA,KAAC,cAAD;IAAgB,EAAE,EAAEE,iBAApB;IAAuC,OAAO,EAAEJ,EAAhD;IAAoD,GAAG,EAAEQ;EAAzD,GAAkEN,KAAlE;IAAA,UACGO;EADH,GADA;AAAA,CAHoC,CAA/B"}
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import type { MenuItemProps } from '../Menu';
3
3
  export declare type SelectItemProps = MenuItemProps;
4
- export declare const SelectItem: import("react").ForwardRefExoticComponent<Pick<MenuItemProps, "children" | "p" | "slot" | "style" | "title" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "boxShadow" | "color" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "zIndex" | "background" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "gridColumnGap" | "gridGap" | "gridRowGap" | "value" | "hidden" | "as" | "sx" | "__css" | "variant" | "tx" | "theme" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size" | "bg" | "borderX" | "borderY" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "innerAs" | "disabled" | "selected" | "rippleColor"> & import("react").RefAttributes<HTMLLIElement>>;
4
+ export declare const SelectItem: import("react").ForwardRefExoticComponent<Pick<MenuItemProps, "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" | "value" | "disabled" | "rippleColor" | "selected" | "innerAs"> & import("react").RefAttributes<HTMLLIElement>>;
@@ -1,5 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["as", "onSelect", "children", "value", "disabled"];
3
4
  import { forwardRef } from 'react';
4
5
  import { wrapEvent } from '@basic-ui/core';
5
6
  import { MenuItem } from '../Menu';
@@ -13,7 +14,7 @@ export var SelectItem = /*#__PURE__*/forwardRef(function SelectItem(props, forwa
13
14
  children = props.children,
14
15
  valueProp = props.value,
15
16
  disabled = props.disabled,
16
- otherProps = _objectWithoutProperties(props, ["as", "onSelect", "children", "value", "disabled"]);
17
+ otherProps = _objectWithoutProperties(props, _excluded);
17
18
 
18
19
  var _useSelectContext = useSelectContext(),
19
20
  native = _useSelectContext.native,
@@ -23,11 +24,11 @@ export var SelectItem = /*#__PURE__*/forwardRef(function SelectItem(props, forwa
23
24
  var value = valueProp !== undefined && valueProp !== null ? String(valueProp) : children;
24
25
 
25
26
  if (native) {
26
- return /*#__PURE__*/_jsx("option", _extends({
27
+ return /*#__PURE__*/_jsx("option", _extends(_extends({
27
28
  ref: forwardedRef,
28
29
  value: value,
29
30
  disabled: disabled
30
- }, otherProps, {
31
+ }, otherProps), {}, {
31
32
  children: children
32
33
  }));
33
34
  }
@@ -37,7 +38,7 @@ export var SelectItem = /*#__PURE__*/forwardRef(function SelectItem(props, forwa
37
38
  }
38
39
 
39
40
  var selected = value === String(selectedValue);
40
- return /*#__PURE__*/_jsx(Comp, _extends({
41
+ return /*#__PURE__*/_jsx(Comp, _extends(_extends({
41
42
  as: MenuItem,
42
43
  onSelect: wrapEvent(onSelectProp, onSelect),
43
44
  "data-value": value,
@@ -45,7 +46,7 @@ export var SelectItem = /*#__PURE__*/forwardRef(function SelectItem(props, forwa
45
46
  ref: forwardedRef,
46
47
  role: "option",
47
48
  selected: selected
48
- }, otherProps, {
49
+ }, otherProps), {}, {
49
50
  children: children || ZERO_WIDTH_SPACE
50
51
  }));
51
52
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/SelectItem/SelectItem.tsx"],"names":["forwardRef","wrapEvent","MenuItem","useSelectContext","ZERO_WIDTH_SPACE","SelectItem","props","forwardedRef","as","Comp","onSelectProp","onSelect","children","valueProp","value","disabled","otherProps","native","selectedValue","undefined","String","selected"],"mappings":";;AAAA,SAASA,UAAT,QAA2B,OAA3B;AACA,SAASC,SAAT,QAA0B,gBAA1B;AAGA,SAASC,QAAT,QAAyB,SAAzB;AACA,SAASC,gBAAT,QAAiC,mBAAjC;;AAIA,IAAMC,gBAAgB,GAAG,QAAzB;AACA,OAAO,IAAMC,UAAU,gBAAGL,UAAU,CAClC,SAASK,UAAT,CAAoBC,KAApB,EAA2BC,YAA3B,EAAyC;AAAA,kBAQnCD,KARmC,CAErCE,EAFqC;AAAA,MAEjCC,IAFiC,0BAE1BP,QAF0B;AAAA,MAG3BQ,YAH2B,GAQnCJ,KARmC,CAGrCK,QAHqC;AAAA,MAIrCC,QAJqC,GAQnCN,KARmC,CAIrCM,QAJqC;AAAA,MAK9BC,SAL8B,GAQnCP,KARmC,CAKrCQ,KALqC;AAAA,MAMrCC,QANqC,GAQnCT,KARmC,CAMrCS,QANqC;AAAA,MAOlCC,UAPkC,4BAQnCV,KARmC;;AAAA,0BASYH,gBAAgB,EAT5B;AAAA,MAS/Bc,MAT+B,qBAS/BA,MAT+B;AAAA,MASvBN,QATuB,qBASvBA,QATuB;AAAA,MASNO,aATM,qBASbJ,KATa;;AAUvC,MAAMA,KAAK,GACTD,SAAS,KAAKM,SAAd,IAA2BN,SAAS,KAAK,IAAzC,GACIO,MAAM,CAACP,SAAD,CADV,GAEKD,QAHP;;AAKA,MAAIK,MAAJ,EAAY;AACV,wBACE;AACE,MAAA,GAAG,EAAEV,YADP;AAEE,MAAA,KAAK,EAAEO,KAFT;AAGE,MAAA,QAAQ,EAAEC;AAHZ,OAIOC,UAJP;AAAA,gBAMGJ;AANH,OADF;AAUD;;AAED,MAAIA,QAAQ,KAAKO,SAAb,IAA0BJ,QAA9B,EAAwC;AACtC,WAAO,IAAP;AACD;;AAED,MAAMM,QAAQ,GAAGP,KAAK,KAAKM,MAAM,CAACF,aAAD,CAAjC;AACA,sBACE,KAAC,IAAD;AACE,IAAA,EAAE,EAAEhB,QADN;AAEE,IAAA,QAAQ,EAAED,SAAS,CAACS,YAAD,EAAeC,QAAf,CAFrB;AAGE,kBAAYG,KAHd;AAIE,IAAA,QAAQ,EAAEC,QAJZ;AAKE,IAAA,GAAG,EAAER,YALP;AAME,IAAA,IAAI,EAAC,QANP;AAOE,IAAA,QAAQ,EAAEc;AAPZ,KAQML,UARN;AAAA,cAUGJ,QAAQ,IAAIR;AAVf,KADF;AAcD,CAhDiC,CAA7B","sourcesContent":["import { forwardRef } from 'react';\nimport { wrapEvent } from '@basic-ui/core';\n\nimport type { MenuItemProps } from '../Menu';\nimport { MenuItem } from '../Menu';\nimport { useSelectContext } from '../Select/context';\n\nexport type SelectItemProps = MenuItemProps;\n\nconst ZERO_WIDTH_SPACE = '\\u200b';\nexport const SelectItem = forwardRef<HTMLLIElement, MenuItemProps>(\n function SelectItem(props, forwardedRef) {\n const {\n as: Comp = MenuItem,\n onSelect: onSelectProp,\n children,\n value: valueProp,\n disabled,\n ...otherProps\n } = props;\n const { native, onSelect, value: selectedValue } = useSelectContext();\n const value =\n valueProp !== undefined && valueProp !== null\n ? String(valueProp)\n : (children as string);\n\n if (native) {\n return (\n <option\n ref={forwardedRef}\n value={value}\n disabled={disabled}\n {...(otherProps as any)}\n >\n {children}\n </option>\n );\n }\n\n if (children === undefined && disabled) {\n return null;\n }\n\n const selected = value === String(selectedValue);\n return (\n <Comp\n as={MenuItem}\n onSelect={wrapEvent(onSelectProp, onSelect as any)}\n data-value={value}\n disabled={disabled}\n ref={forwardedRef}\n role=\"option\"\n selected={selected}\n {...otherProps}\n >\n {children || ZERO_WIDTH_SPACE}\n </Comp>\n );\n }\n);\n"],"file":"SelectItem.js"}
1
+ {"version":3,"file":"SelectItem.js","names":["forwardRef","wrapEvent","MenuItem","useSelectContext","ZERO_WIDTH_SPACE","SelectItem","props","forwardedRef","as","Comp","onSelectProp","onSelect","children","valueProp","value","disabled","otherProps","native","selectedValue","undefined","String","selected"],"sources":["../../../src/SelectItem/SelectItem.tsx"],"sourcesContent":["import { forwardRef } from 'react';\nimport { wrapEvent } from '@basic-ui/core';\n\nimport type { MenuItemProps } from '../Menu';\nimport { MenuItem } from '../Menu';\nimport { useSelectContext } from '../Select/context';\n\nexport type SelectItemProps = MenuItemProps;\n\nconst ZERO_WIDTH_SPACE = '\\u200b';\nexport const SelectItem = forwardRef<HTMLLIElement, MenuItemProps>(\n function SelectItem(props, forwardedRef) {\n const {\n as: Comp = MenuItem,\n onSelect: onSelectProp,\n children,\n value: valueProp,\n disabled,\n ...otherProps\n } = props;\n const { native, onSelect, value: selectedValue } = useSelectContext();\n const value =\n valueProp !== undefined && valueProp !== null\n ? String(valueProp)\n : (children as string);\n\n if (native) {\n return (\n <option\n ref={forwardedRef}\n value={value}\n disabled={disabled}\n {...(otherProps as any)}\n >\n {children}\n </option>\n );\n }\n\n if (children === undefined && disabled) {\n return null;\n }\n\n const selected = value === String(selectedValue);\n return (\n <Comp\n as={MenuItem}\n onSelect={wrapEvent(onSelectProp, onSelect as any)}\n data-value={value}\n disabled={disabled}\n ref={forwardedRef}\n role=\"option\"\n selected={selected}\n {...otherProps}\n >\n {children || ZERO_WIDTH_SPACE}\n </Comp>\n );\n }\n);\n"],"mappings":";;;AAAA,SAASA,UAAT,QAA2B,OAA3B;AACA,SAASC,SAAT,QAA0B,gBAA1B;AAGA,SAASC,QAAT,QAAyB,SAAzB;AACA,SAASC,gBAAT,QAAiC,mBAAjC;;AAIA,IAAMC,gBAAgB,GAAG,QAAzB;AACA,OAAO,IAAMC,UAAU,gBAAGL,UAAU,CAClC,SAASK,UAAT,CAAoBC,KAApB,EAA2BC,YAA3B,EAAyC;EACvC,gBAOID,KAPJ,CACEE,EADF;EAAA,IACMC,IADN,0BACaP,QADb;EAAA,IAEYQ,YAFZ,GAOIJ,KAPJ,CAEEK,QAFF;EAAA,IAGEC,QAHF,GAOIN,KAPJ,CAGEM,QAHF;EAAA,IAISC,SAJT,GAOIP,KAPJ,CAIEQ,KAJF;EAAA,IAKEC,QALF,GAOIT,KAPJ,CAKES,QALF;EAAA,IAMKC,UANL,4BAOIV,KAPJ;;EAQA,wBAAmDH,gBAAgB,EAAnE;EAAA,IAAQc,MAAR,qBAAQA,MAAR;EAAA,IAAgBN,QAAhB,qBAAgBA,QAAhB;EAAA,IAAiCO,aAAjC,qBAA0BJ,KAA1B;;EACA,IAAMA,KAAK,GACTD,SAAS,KAAKM,SAAd,IAA2BN,SAAS,KAAK,IAAzC,GACIO,MAAM,CAACP,SAAD,CADV,GAEKD,QAHP;;EAKA,IAAIK,MAAJ,EAAY;IACV,oBACE;MACE,GAAG,EAAEV,YADP;MAEE,KAAK,EAAEO,KAFT;MAGE,QAAQ,EAAEC;IAHZ,GAIOC,UAJP;MAAA,UAMGJ;IANH,GADF;EAUD;;EAED,IAAIA,QAAQ,KAAKO,SAAb,IAA0BJ,QAA9B,EAAwC;IACtC,OAAO,IAAP;EACD;;EAED,IAAMM,QAAQ,GAAGP,KAAK,KAAKM,MAAM,CAACF,aAAD,CAAjC;EACA,oBACE,KAAC,IAAD;IACE,EAAE,EAAEhB,QADN;IAEE,QAAQ,EAAED,SAAS,CAACS,YAAD,EAAeC,QAAf,CAFrB;IAGE,cAAYG,KAHd;IAIE,QAAQ,EAAEC,QAJZ;IAKE,GAAG,EAAER,YALP;IAME,IAAI,EAAC,QANP;IAOE,QAAQ,EAAEc;EAPZ,GAQML,UARN;IAAA,UAUGJ,QAAQ,IAAIR;EAVf,GADF;AAcD,CAhDiC,CAA7B"}
File without changes
File without changes
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/SelectItem/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAd","sourcesContent":["export * from './SelectItem';\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../src/SelectItem/index.ts"],"sourcesContent":["export * from './SelectItem';\n"],"mappings":"AAAA,cAAc,cAAd"}
@@ -1,7 +1,7 @@
1
- import * as React from 'react';
1
+ import type { ElementType, LabelHTMLAttributes, ReactNode } from 'react';
2
2
  import type { BoxProps } from '../Box';
3
- export interface SelectionControlLabelProps extends BoxProps<HTMLLabelElement, React.LabelHTMLAttributes<HTMLLabelElement>> {
4
- as?: React.ElementType<any>;
5
- children?: React.ReactNode;
3
+ export interface SelectionControlLabelProps extends BoxProps<HTMLLabelElement, LabelHTMLAttributes<HTMLLabelElement>> {
4
+ as?: ElementType<any>;
5
+ children?: ReactNode;
6
6
  }
7
- export declare const SelectionControlLabel: React.ForwardRefExoticComponent<Pick<SelectionControlLabelProps, "children" | "form" | "p" | "slot" | "style" | "title" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "boxShadow" | "color" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "zIndex" | "background" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "gridColumnGap" | "gridGap" | "gridRowGap" | "hidden" | "as" | "sx" | "__css" | "variant" | "tx" | "theme" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size" | "bg" | "borderX" | "borderY" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "htmlFor"> & React.RefAttributes<HTMLLabelElement>>;
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,14 +1,14 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["as", "__css"];
3
4
  import { forwardRef } from 'react';
4
- import * as React from 'react';
5
5
  import { Box } from '../Box';
6
6
  import { jsx as _jsx } from "react/jsx-runtime";
7
7
  export var SelectionControlLabel = /*#__PURE__*/forwardRef(function SelectionControlLabel(props, forwardedRef) {
8
8
  var _props$as = props.as,
9
9
  as = _props$as === void 0 ? 'label' : _props$as,
10
10
  __css = props.__css,
11
- otherProps = _objectWithoutProperties(props, ["as", "__css"]);
11
+ otherProps = _objectWithoutProperties(props, _excluded);
12
12
 
13
13
  return /*#__PURE__*/_jsx(Box, _extends({
14
14
  ref: forwardedRef,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/SelectionControl/SelectionControlLabel.tsx"],"names":["forwardRef","React","Box","SelectionControlLabel","props","forwardedRef","as","__css","otherProps","display","position","alignItems","WebkitTapHighlightColor"],"mappings":";;AACA,SAASA,UAAT,QAA2B,OAA3B;AACA,OAAO,KAAKC,KAAZ,MAAuB,OAAvB;AAGA,SAASC,GAAT,QAAoB,QAApB;;AAWA,OAAO,IAAMC,qBAAqB,gBAAGH,UAAU,CAG7C,SAASG,qBAAT,CAA+BC,KAA/B,EAAsCC,YAAtC,EAAoD;AAAA,kBACLD,KADK,CAC5CE,EAD4C;AAAA,MAC5CA,EAD4C,0BACvC,OADuC;AAAA,MAC9BC,KAD8B,GACLH,KADK,CAC9BG,KAD8B;AAAA,MACpBC,UADoB,4BACLJ,KADK;;AAGpD,sBACE,KAAC,GAAD;AACE,IAAA,GAAG,EAAEC,YADP;AAEE,IAAA,EAAE,EAAEC,EAFN;AAGE,IAAA,KAAK;AACHG,MAAAA,OAAO,EAAE,aADN;AAEHC,MAAAA,QAAQ,EAAE,UAFP;AAGHC,MAAAA,UAAU,EAAE,QAHT;AAIHC,MAAAA,uBAAuB,EAAE;AAJtB,OAKAL,KALA;AAHP,KAUMC,UAVN,EADF;AAcD,CApB8C,CAAxC","sourcesContent":["import type { LabelHTMLAttributes } from 'react';\nimport { forwardRef } from 'react';\nimport * as React from 'react';\n\nimport type { BoxProps } from '../Box';\nimport { Box } from '../Box';\n\nexport interface SelectionControlLabelProps\n extends BoxProps<\n HTMLLabelElement,\n React.LabelHTMLAttributes<HTMLLabelElement>\n > {\n as?: React.ElementType<any>;\n children?: React.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 ...__css,\n }}\n {...otherProps}\n />\n );\n});\n"],"file":"SelectionControlLabel.js"}
1
+ {"version":3,"file":"SelectionControlLabel.js","names":["forwardRef","Box","SelectionControlLabel","props","forwardedRef","as","__css","otherProps","display","position","alignItems","WebkitTapHighlightColor"],"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 ...__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;IAJtB,GAKAL,KALA;EAHP,GAUMC,UAVN,EADF;AAcD,CApB8C,CAAxC"}
@@ -1,8 +1,8 @@
1
- import * as React from 'react';
1
+ import type { ElementType, ReactNode } from 'react';
2
2
  import type { TextProps } from '../Text';
3
3
  export interface SelectionControlTextProps extends TextProps {
4
- as?: React.ElementType<any>;
5
- children?: React.ReactNode;
4
+ as?: ElementType<any>;
5
+ children?: ReactNode;
6
6
  disabled?: boolean;
7
7
  }
8
- export declare const SelectionControlText: React.ForwardRefExoticComponent<Pick<SelectionControlTextProps, "children" | "p" | "slot" | "style" | "title" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "boxShadow" | "color" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "textAlign" | "textShadow" | "top" | "translate" | "verticalAlign" | "width" | "zIndex" | "background" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "gridColumnGap" | "gridGap" | "gridRowGap" | "hidden" | "as" | "sx" | "__css" | "variant" | "tx" | "theme" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size" | "bg" | "borderX" | "borderY" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "disabled"> & React.RefAttributes<HTMLSpanElement>>;
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,7 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["as", "disabled", "__css"];
3
4
  import { forwardRef } from 'react';
4
- import * as React from 'react';
5
5
  import { Text } from '../Text';
6
6
  import { alpha } from '../color';
7
7
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -10,19 +10,19 @@ export var SelectionControlText = /*#__PURE__*/forwardRef(function SelectionCont
10
10
  as = _props$as === void 0 ? 'span' : _props$as,
11
11
  disabled = props.disabled,
12
12
  __css = props.__css,
13
- otherProps = _objectWithoutProperties(props, ["as", "disabled", "__css"]);
13
+ otherProps = _objectWithoutProperties(props, _excluded);
14
14
 
15
15
  return /*#__PURE__*/_jsx(Text, _extends({
16
16
  ref: forwardedRef,
17
17
  as: as,
18
- __css: _extends({
18
+ __css: _extends(_extends({
19
19
  p: 1
20
20
  }, disabled ? {
21
21
  color: alpha('on.surface', 0.38)
22
22
  } : {
23
23
  cursor: 'pointer',
24
24
  color: alpha('on.surface', 0.87)
25
- }, __css)
25
+ }), __css)
26
26
  }, otherProps));
27
27
  });
28
28
  //# sourceMappingURL=SelectionControlText.js.map