@ringcentral/juno 2.46.0 → 3.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1217) hide show
  1. package/components/Accordion/Accordion.d.ts +2 -4
  2. package/components/Accordion/Accordion.js +5 -4
  3. package/components/Accordion/AccordionDetails/AccordionDetails.d.ts +2 -4
  4. package/components/Accordion/AccordionDetails/AccordionDetails.js +5 -4
  5. package/components/Accordion/AccordionDetails/styles/AccordionDetailsStyle.js +4 -2
  6. package/components/Accordion/AccordionDetails/utils/AccordionDetailsUtils.js +2 -1
  7. package/components/Accordion/AccordionSummary/AccordionSummary.d.ts +2 -4
  8. package/components/Accordion/AccordionSummary/AccordionSummary.js +6 -5
  9. package/components/Accordion/AccordionSummary/styles/AccordionSummaryStyle.js +4 -2
  10. package/components/Accordion/AccordionSummary/utils/AccordionSummaryUtils.js +2 -1
  11. package/components/Accordion/styles/AccordionStyle.js +6 -4
  12. package/components/Accordion/utils/AccordionUtils.js +2 -1
  13. package/components/Alert/Alert.d.ts +3 -5
  14. package/components/Alert/Alert.js +5 -4
  15. package/components/Alert/styles/AlertStyle.d.ts +2 -2
  16. package/components/Alert/styles/AlertStyle.js +4 -2
  17. package/components/Alert/utils/AlertUtils.js +12 -11
  18. package/components/Animations/Highlight/Highlight.d.ts +5 -5
  19. package/components/Animations/Highlight/Highlight.js +17 -16
  20. package/components/Animations/Highlight/utils/getStyle.d.ts +1 -1
  21. package/components/Animations/Highlight/utils/getStyle.js +3 -2
  22. package/components/AppBar/AppBar.d.ts +3 -5
  23. package/components/AppBar/AppBar.js +3 -2
  24. package/components/Avatar/Avatar.d.ts +4 -4
  25. package/components/Avatar/Avatar.js +16 -15
  26. package/components/Avatar/styles/StyledAvatar.d.ts +2 -4
  27. package/components/Avatar/styles/StyledAvatar.js +6 -6
  28. package/components/Avatar/styles/StyledAvatarWrapper.d.ts +2 -4
  29. package/components/Avatar/styles/StyledAvatarWrapper.js +7 -9
  30. package/components/Avatar/styles/StyledIconAvatar.d.ts +3 -5
  31. package/components/Avatar/styles/StyledIconAvatar.js +2 -1
  32. package/components/Avatar/styles/StyledMask.d.ts +3 -2
  33. package/components/Avatar/styles/StyledMask.js +2 -1
  34. package/components/Avatar/styles/StyledPresenceWrapper.d.ts +5 -9
  35. package/components/Avatar/styles/StyledPresenceWrapper.js +1 -0
  36. package/components/Avatar/utils/AvatarUtils.js +2 -1
  37. package/components/Avatar/utils/useAvatarColorToken.d.ts +3 -4
  38. package/components/Avatar/utils/useAvatarColorToken.js +5 -3
  39. package/components/Avatar/utils/useAvatarShortName.d.ts +1 -1
  40. package/components/Avatar/utils/useAvatarShortName.js +6 -4
  41. package/components/Backdrop/Backdrop.d.ts +2 -4
  42. package/components/Backdrop/Backdrop.js +5 -4
  43. package/components/Backdrop/deprecated/Backdrop.d.ts +2 -2
  44. package/components/Backdrop/deprecated/Backdrop.js +1 -0
  45. package/components/Backdrop/styles/BackdropStyle.js +4 -2
  46. package/components/Backdrop/utils/BackdropUtils.js +2 -1
  47. package/components/Badge/Badge.d.ts +2 -4
  48. package/components/Badge/Badge.js +10 -9
  49. package/components/Badge/DotBadge.d.ts +2 -2
  50. package/components/Badge/DotBadge.js +7 -6
  51. package/components/Badge/styles/BadgeStyle.d.ts +1 -3
  52. package/components/Badge/styles/BadgeStyle.js +10 -13
  53. package/components/Badge/utils/BadgeUtils.js +4 -2
  54. package/components/Badge/utils/useRoundBadgeOffset.js +7 -5
  55. package/components/Box/Box.d.ts +5 -5
  56. package/components/Box/Box.js +3 -2
  57. package/components/Buttons/Button/Button.d.ts +325 -8
  58. package/components/Buttons/Button/Button.js +18 -21
  59. package/components/Buttons/Button/styles/StyledButton.js +22 -27
  60. package/components/Buttons/Button/utils/ButtonUtils.js +14 -13
  61. package/components/Buttons/Button/utils/getButtonIconSize.d.ts +1 -1
  62. package/components/Buttons/Button/utils/getButtonIconSize.js +1 -0
  63. package/components/Buttons/ButtonBase/ButtonBase.d.ts +2 -4
  64. package/components/Buttons/ButtonBase/ButtonBase.js +2 -1
  65. package/components/Buttons/ButtonGroup/ButtonGroup.d.ts +15 -4
  66. package/components/Buttons/ButtonGroup/ButtonGroup.js +4 -3
  67. package/components/Buttons/ButtonGroup/styles/index.js +2 -0
  68. package/components/Buttons/ButtonGroup/utils/index.js +2 -0
  69. package/components/Buttons/IconButton/IconButton.d.ts +383 -6
  70. package/components/Buttons/IconButton/IconButton.js +10 -17
  71. package/components/Buttons/IconButton/deprecated/IconButtonProps.d.ts +5 -5
  72. package/components/Buttons/IconButton/deprecated/IconButtonProps.js +1 -0
  73. package/components/Buttons/IconButton/styles/StyledIconButton.d.ts +2 -2
  74. package/components/Buttons/IconButton/styles/StyledIconButton.js +33 -39
  75. package/components/Buttons/IconButton/utils/IconButtonUtils.d.ts +2 -2
  76. package/components/Buttons/IconButton/utils/IconButtonUtils.js +4 -3
  77. package/components/Buttons/IconButtonGroup/IconButtonGroup.d.ts +2 -4
  78. package/components/Buttons/IconButtonGroup/IconButtonGroup.js +7 -6
  79. package/components/Buttons/IconButtonGroup/styles/IconButtonGroupStyle.js +7 -6
  80. package/components/Buttons/SplitButton/SplitButton.d.ts +6 -8
  81. package/components/Buttons/SplitButton/SplitButton.js +28 -28
  82. package/components/Buttons/SplitButton/styles/StyledArrowIcon.d.ts +3 -4
  83. package/components/Buttons/SplitButton/styles/StyledArrowIcon.js +2 -1
  84. package/components/Buttons/SplitButton/styles/StyledSplitButton.js +19 -28
  85. package/components/Buttons/SplitButton/utils/SplitButtonUtils.d.ts +3 -3
  86. package/components/Buttons/SplitButton/utils/SplitButtonUtils.js +7 -4
  87. package/components/Buttons/ToggleButton/ToggleButton.d.ts +3 -5
  88. package/components/Buttons/ToggleButton/ToggleButton.js +9 -8
  89. package/components/Buttons/ToggleButton/styles/ToggleButtonStyle.js +7 -8
  90. package/components/Buttons/ToggleButton/utils/ToggleButtonUtils.js +5 -4
  91. package/components/Buttons/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -4
  92. package/components/Buttons/ToggleButtonGroup/ToggleButtonGroup.js +6 -5
  93. package/components/Buttons/ToggleButtonGroup/styles/ToggleButtonGroupStyle.js +7 -6
  94. package/components/Buttons/ToggleButtonGroup/styles/boxStyle.js +11 -12
  95. package/components/Buttons/ToggleButtonGroup/styles/standardStyle.js +10 -12
  96. package/components/Buttons/ToggleButtonGroup/utils/ToggleButtonGroupUtils.js +3 -2
  97. package/components/Card/Card/Card.d.ts +3 -5
  98. package/components/Card/Card/Card.js +8 -7
  99. package/components/Card/Card/CardContext.d.ts +1 -2
  100. package/components/Card/Card/CardContext.js +4 -2
  101. package/components/Card/Card/styles/CardStyles.js +4 -3
  102. package/components/Card/Card/utils/CardUtils.js +2 -1
  103. package/components/Card/CardActionArea/CardActionArea.d.ts +3 -17
  104. package/components/Card/CardActionArea/CardActionArea.js +13 -12
  105. package/components/Card/CardActionArea/styles/CardActionAreaStyle.js +5 -3
  106. package/components/Card/CardActionArea/utils/CardActionAreaUtils.d.ts +1 -1
  107. package/components/Card/CardActionArea/utils/CardActionAreaUtils.js +3 -2
  108. package/components/Card/CardActions/CardActions.d.ts +2 -4
  109. package/components/Card/CardActions/CardActions.js +5 -4
  110. package/components/Card/CardActions/styles/CardActionsStyle.js +4 -2
  111. package/components/Card/CardActions/utils/CardActionsUtils.js +2 -1
  112. package/components/Card/CardContent/CardContent.d.ts +6 -4
  113. package/components/Card/CardContent/CardContent.js +5 -4
  114. package/components/Card/CardContent/styles/CardContentStyle.js +4 -2
  115. package/components/Card/CardContent/utils/CardContentUtils.js +2 -1
  116. package/components/Card/CardHeader/CardHeader.d.ts +18 -18
  117. package/components/Card/CardHeader/CardHeader.js +5 -4
  118. package/components/Card/CardHeader/styles/CardHeaderStyle.js +4 -2
  119. package/components/Card/CardHeader/utils/CardHeaderUtils.js +2 -1
  120. package/components/Card/CardHoverActions/CardHoverActions.d.ts +3 -5
  121. package/components/Card/CardHoverActions/CardHoverActions.js +6 -5
  122. package/components/Card/CardHoverActions/styles/CardHoverActionsStyle.js +6 -4
  123. package/components/Card/CardHoverActions/utils/CardHoverActionsUtils.js +2 -1
  124. package/components/Card/CardMedia/CardMedia.d.ts +10 -18
  125. package/components/Card/CardMedia/CardMedia.js +5 -4
  126. package/components/Card/CardMedia/styles/CardMediaStyle.js +4 -2
  127. package/components/Card/CardMedia/utils/CardMediaUtils.js +2 -1
  128. package/components/Card/CardSelectionArea/CardSelectionArea.d.ts +3 -5
  129. package/components/Card/CardSelectionArea/CardSelectionArea.js +9 -8
  130. package/components/Card/CardSelectionArea/styles/CardSelectionAreaStyle.js +4 -2
  131. package/components/Card/CardSelectionArea/utils/CardSelectionAreaUtils.d.ts +1 -1
  132. package/components/Card/CardSelectionArea/utils/CardSelectionAreaUtils.js +2 -1
  133. package/components/Chip/Chip.d.ts +4 -18
  134. package/components/Chip/Chip.js +14 -13
  135. package/components/Chip/styles/ChipStyle.js +17 -18
  136. package/components/Chip/utils/ChipUtils.d.ts +1 -1
  137. package/components/Chip/utils/ChipUtils.js +2 -1
  138. package/components/ClickAwayListener/ClickAwayListener.js +1 -0
  139. package/components/DetachedWindow/DetachedWindow.d.ts +2 -2
  140. package/components/DetachedWindow/DetachedWindow.js +16 -15
  141. package/components/DetachedWindow/DetachedWindowStylesProvider.d.ts +6 -2
  142. package/components/DetachedWindow/DetachedWindowStylesProvider.js +8 -6
  143. package/components/DetachedWindow/styles/DetachedWindowStyle.d.ts +1 -1
  144. package/components/DetachedWindow/styles/DetachedWindowStyle.js +2 -1
  145. package/components/DetachedWindow/utils/DetachedWindowUtils.js +1 -0
  146. package/components/DetachedWindow/utils/JssDomRendererFactory.d.ts +4 -4
  147. package/components/DetachedWindow/utils/JssDomRendererFactory.js +4 -3
  148. package/components/DetachedWindow/utils/index.js +1 -0
  149. package/components/DetachedWindow/utils/openExternalWindow.d.ts +0 -1
  150. package/components/DetachedWindow/utils/openExternalWindow.js +7 -5
  151. package/components/Dialer/DialDelete/DialDelete.d.ts +1 -1
  152. package/components/Dialer/DialDelete/DialDelete.js +5 -4
  153. package/components/Dialer/DialPad/DialPad.d.ts +7 -70
  154. package/components/Dialer/DialPad/DialPad.js +24 -23
  155. package/components/Dialer/DialPad/assets/index.js +1 -0
  156. package/components/Dialer/DialPad/styles/StyledDialPad.js +4 -3
  157. package/components/Dialer/DialPad/utils/DialPadUtils.d.ts +3 -3
  158. package/components/Dialer/DialPad/utils/DialPadUtils.js +4 -3
  159. package/components/Dialer/DialPad/utils/index.js +1 -0
  160. package/components/Dialer/DialPad/utils/types.d.ts +2 -2
  161. package/components/Dialer/DialPad/utils/useDialKeyboard.d.ts +1 -1
  162. package/components/Dialer/DialPad/utils/useDialKeyboard.js +8 -6
  163. package/components/Dialer/DialPad/utils/useKeyAudio.d.ts +1 -1
  164. package/components/Dialer/DialPad/utils/useKeyAudio.js +7 -5
  165. package/components/Dialer/DialPadButton/DialPadButton.d.ts +3 -4
  166. package/components/Dialer/DialPadButton/DialPadButton.js +3 -2
  167. package/components/Dialer/DialPadButton/styles/StyledDialPadButton.d.ts +1 -1
  168. package/components/Dialer/DialPadButton/styles/StyledDialPadButton.js +2 -1
  169. package/components/Dialer/DialTextField/DialTextField.d.ts +2 -4
  170. package/components/Dialer/DialTextField/DialTextField.js +26 -25
  171. package/components/Dialer/DialTextField/styles/DialTextFieldStyle.js +4 -2
  172. package/components/Dialer/DialTextField/utils/DialTextFieldUtils.js +3 -2
  173. package/components/Dialer/DialTextField/utils/getDialPadValueOnlyRegex.js +1 -0
  174. package/components/Dialer/DialTextField/utils/useFixedEndSelection.d.ts +1 -2
  175. package/components/Dialer/DialTextField/utils/useFixedEndSelection.js +7 -5
  176. package/components/Dialer/Dialer.d.ts +4 -2
  177. package/components/Dialer/Dialer.js +6 -5
  178. package/components/Dialer/utils/DialerContext.d.ts +1 -2
  179. package/components/Dialer/utils/DialerContext.js +3 -2
  180. package/components/Dialog/Dialog.d.ts +3 -5
  181. package/components/Dialog/Dialog.js +11 -10
  182. package/components/Dialog/DialogActions/DialogActions.d.ts +277 -4
  183. package/components/Dialog/DialogActions/DialogActions.js +7 -7
  184. package/components/Dialog/DialogActions/styles/DialogActionsStyle.js +9 -12
  185. package/components/Dialog/DialogActions/utils/DialogActionsUtils.d.ts +1 -1
  186. package/components/Dialog/DialogActions/utils/DialogActionsUtils.js +2 -1
  187. package/components/Dialog/DialogContent/DialogContent.d.ts +3 -3
  188. package/components/Dialog/DialogContent/DialogContent.js +5 -4
  189. package/components/Dialog/DialogContent/styles/DialogContentStyle.js +4 -2
  190. package/components/Dialog/DialogContent/utils/DialogContentUtils.d.ts +1 -1
  191. package/components/Dialog/DialogContent/utils/DialogContentUtils.js +4 -2
  192. package/components/Dialog/DialogContentText/DialogContentText.d.ts +14 -4
  193. package/components/Dialog/DialogContentText/DialogContentText.js +7 -6
  194. package/components/Dialog/DialogContentText/styles/DialogContentTextStyle.js +4 -2
  195. package/components/Dialog/DialogContentText/utils/DialogContentTextUtils.js +2 -1
  196. package/components/Dialog/DialogTitle/DialogTitle.d.ts +3 -3
  197. package/components/Dialog/DialogTitle/DialogTitle.js +6 -5
  198. package/components/Dialog/DialogTitle/styles/DialogTitleStyle.js +4 -2
  199. package/components/Dialog/DialogTitle/utils/DialogTitleUtils.js +2 -1
  200. package/components/Dialog/styles/DialogStyle.js +6 -6
  201. package/components/Dialog/utils/DialogContext.d.ts +3 -4
  202. package/components/Dialog/utils/DialogContext.js +7 -4
  203. package/components/Dialog/utils/DialogUtils.js +2 -1
  204. package/components/Divider/Divider.d.ts +7 -22
  205. package/components/Divider/Divider.js +4 -3
  206. package/components/Divider/styles/StyledDivider.js +5 -4
  207. package/components/DnD/DragDropContext/DragDropContext.d.ts +1 -1
  208. package/components/DnD/DragDropContext/DragDropContext.js +2 -1
  209. package/components/DnD/DragDropContext/styles/StyledGlobalDraggable.d.ts +1 -1
  210. package/components/DnD/DragDropContext/styles/StyledGlobalDraggable.js +2 -1
  211. package/components/DnD/DragHandle/DragHandle.d.ts +6 -8
  212. package/components/DnD/DragHandle/DragHandle.js +5 -4
  213. package/components/DnD/DragHandle/styles/StyledDragHandle.js +4 -2
  214. package/components/DnD/DragHandle/utils/DragHandleUtils.js +2 -1
  215. package/components/DnD/Draggable/Draggable.d.ts +8 -13
  216. package/components/DnD/Draggable/Draggable.js +8 -7
  217. package/components/DnD/Draggable/utils/DraggableUtils.d.ts +2 -1
  218. package/components/DnD/Draggable/utils/DraggableUtils.js +5 -3
  219. package/components/DnD/Droppable/Droppable.d.ts +4 -6
  220. package/components/DnD/Droppable/Droppable.js +5 -4
  221. package/components/Downshift/Downshift.d.ts +3 -3
  222. package/components/Downshift/Downshift.js +33 -32
  223. package/components/Downshift/SuggestionList/SuggestionList.d.ts +8 -52
  224. package/components/Downshift/SuggestionList/SuggestionList.js +31 -29
  225. package/components/Downshift/SuggestionList/styles/SuggestionListStyle.js +4 -2
  226. package/components/Downshift/SuggestionList/utils/SuggestionListUtils.js +2 -1
  227. package/components/Downshift/SuggestionList/utils/useSuggestionList.d.ts +266 -227
  228. package/components/Downshift/SuggestionList/utils/useSuggestionList.js +28 -26
  229. package/components/Downshift/styles/DownshiftInput.js +3 -1
  230. package/components/Downshift/styles/DownshiftStyle.d.ts +351 -5
  231. package/components/Downshift/styles/DownshiftStyle.js +5 -3
  232. package/components/Downshift/styles/StyledPopper.d.ts +3 -5
  233. package/components/Downshift/styles/StyledPopper.js +5 -5
  234. package/components/Downshift/styles/StyledTextField.d.ts +2 -4
  235. package/components/Downshift/styles/StyledTextField.js +3 -2
  236. package/components/Downshift/utils/DownshiftUtils.d.ts +2 -2
  237. package/components/Downshift/utils/DownshiftUtils.js +17 -8
  238. package/components/Downshift/utils/SelectItem.d.ts +2 -2
  239. package/components/Downshift/utils/index.js +2 -0
  240. package/components/Downshift/utils/useDownshift.d.ts +800 -455
  241. package/components/Downshift/utils/useDownshift.interface.d.ts +4 -4
  242. package/components/Downshift/utils/useDownshift.js +36 -34
  243. package/components/Downshift/utils/useDownshiftError.js +9 -7
  244. package/components/Downshift/utils/useDownshiftGroup.d.ts +3 -2
  245. package/components/Downshift/utils/useDownshiftGroup.js +16 -14
  246. package/components/Downshift/utils/useDownshiftTag.d.ts +503 -226
  247. package/components/Downshift/utils/useDownshiftTag.js +23 -21
  248. package/components/Drawer/Drawer.d.ts +2 -4
  249. package/components/Drawer/Drawer.js +10 -9
  250. package/components/Drawer/styles/DrawerStyle.js +5 -4
  251. package/components/Drawer/utils/DrawerUtils.js +2 -1
  252. package/components/Forms/BaseForm.d.ts +1 -1
  253. package/components/Forms/Checkbox/Checkbox.d.ts +4 -6
  254. package/components/Forms/Checkbox/Checkbox.js +8 -7
  255. package/components/Forms/Checkbox/styles/CheckboxStyle.js +4 -2
  256. package/components/Forms/Checkbox/utils/CheckboxUtils.js +2 -1
  257. package/components/Forms/Form/Form/Form.d.ts +2 -2
  258. package/components/Forms/Form/Form/Form.js +5 -4
  259. package/components/Forms/Form/Form/FormContext.d.ts +0 -1
  260. package/components/Forms/Form/Form/FormContext.js +3 -2
  261. package/components/Forms/Form/Form/index.js +1 -0
  262. package/components/Forms/Form/Form/types.d.ts +2 -2
  263. package/components/Forms/FormControl.d.ts +2 -4
  264. package/components/Forms/FormControl.js +2 -1
  265. package/components/Forms/FormControlLabel/FormControlLabel.d.ts +2 -4
  266. package/components/Forms/FormControlLabel/FormControlLabel.js +5 -4
  267. package/components/Forms/FormControlLabel/styles/FormControlLabelStyle.js +5 -3
  268. package/components/Forms/FormControlLabel/styles/StyledControl.d.ts +1 -3
  269. package/components/Forms/FormControlLabel/styles/StyledControl.js +1 -0
  270. package/components/Forms/FormControlLabel/utils/FormControlLabelUtils.js +2 -1
  271. package/components/Forms/FormGroup/FormGroup.d.ts +2 -4
  272. package/components/Forms/FormGroup/FormGroup.js +4 -3
  273. package/components/Forms/FormHelperText/FormHelperText.d.ts +13 -4
  274. package/components/Forms/FormHelperText/FormHelperText.js +5 -4
  275. package/components/Forms/FormHelperText/styles/StyledFormHelperText.d.ts +12 -3
  276. package/components/Forms/FormHelperText/styles/StyledFormHelperText.js +3 -2
  277. package/components/Forms/FormHelperText/utils/FormHelperTextUtils.js +2 -1
  278. package/components/Forms/FormLabel.d.ts +2 -4
  279. package/components/Forms/FormLabel.js +4 -3
  280. package/components/Forms/InputLabel/InputLabel.d.ts +2 -4
  281. package/components/Forms/InputLabel/InputLabel.js +5 -4
  282. package/components/Forms/InputLabel/styles/StyledInputLabel.d.ts +1 -3
  283. package/components/Forms/InputLabel/styles/StyledInputLabel.js +3 -2
  284. package/components/Forms/InputLabel/utils/InputLabelUtils.js +2 -1
  285. package/components/Forms/Picker/DatePicker/Calendar.d.ts +5 -6
  286. package/components/Forms/Picker/DatePicker/Calendar.js +36 -35
  287. package/components/Forms/Picker/DatePicker/DatePicker.d.ts +10 -45
  288. package/components/Forms/Picker/DatePicker/DatePicker.js +30 -29
  289. package/components/Forms/Picker/DatePicker/DatePickerHeader.d.ts +3 -2
  290. package/components/Forms/Picker/DatePicker/DatePickerHeader.js +6 -5
  291. package/components/Forms/Picker/DatePicker/Day.d.ts +2 -4
  292. package/components/Forms/Picker/DatePicker/Day.js +3 -2
  293. package/components/Forms/Picker/DatePicker/Year.d.ts +1 -1
  294. package/components/Forms/Picker/DatePicker/Year.js +6 -5
  295. package/components/Forms/Picker/DatePicker/Years.d.ts +4 -3
  296. package/components/Forms/Picker/DatePicker/Years.js +12 -11
  297. package/components/Forms/Picker/DatePicker/styles/StyledCalendar.d.ts +9 -26
  298. package/components/Forms/Picker/DatePicker/styles/StyledCalendar.js +16 -19
  299. package/components/Forms/Picker/DatePicker/styles/StyledDatePickerHeader.d.ts +355 -9
  300. package/components/Forms/Picker/DatePicker/styles/StyledDatePickerHeader.js +10 -11
  301. package/components/Forms/Picker/DatePicker/styles/StyledDay.js +5 -3
  302. package/components/Forms/Picker/DatePicker/styles/StyledYear.d.ts +1 -4
  303. package/components/Forms/Picker/DatePicker/styles/StyledYear.js +2 -1
  304. package/components/Forms/Picker/DatePicker/styles/StyledYears.d.ts +2 -4
  305. package/components/Forms/Picker/DatePicker/styles/StyledYears.js +1 -0
  306. package/components/Forms/Picker/DatePicker/utils/DatePickerAriaLabelUtils.d.ts +3 -2
  307. package/components/Forms/Picker/DatePicker/utils/DatePickerAriaLabelUtils.js +3 -2
  308. package/components/Forms/Picker/DatePicker/utils/DatePickerUtils.d.ts +6 -5
  309. package/components/Forms/Picker/DatePicker/utils/DatePickerUtils.js +15 -10
  310. package/components/Forms/Picker/TimePicker/NumberPicker.d.ts +7 -38
  311. package/components/Forms/Picker/TimePicker/NumberPicker.js +18 -17
  312. package/components/Forms/Picker/TimePicker/SelectionView.d.ts +1 -1
  313. package/components/Forms/Picker/TimePicker/SelectionView.js +4 -3
  314. package/components/Forms/Picker/TimePicker/TimePicker.d.ts +5 -5
  315. package/components/Forms/Picker/TimePicker/TimePicker.js +51 -50
  316. package/components/Forms/Picker/TimePicker/ToggleText.d.ts +4 -22
  317. package/components/Forms/Picker/TimePicker/ToggleText.js +10 -9
  318. package/components/Forms/Picker/TimePicker/constant.js +2 -2
  319. package/components/Forms/Picker/TimePicker/styles/StyledNumberPicker.d.ts +1 -3
  320. package/components/Forms/Picker/TimePicker/styles/StyledNumberPicker.js +2 -1
  321. package/components/Forms/Picker/TimePicker/styles/StyledPickerPopperWrap.d.ts +1 -3
  322. package/components/Forms/Picker/TimePicker/styles/StyledPickerPopperWrap.js +3 -3
  323. package/components/Forms/Picker/TimePicker/styles/StyledSelectionItem.d.ts +1 -4
  324. package/components/Forms/Picker/TimePicker/styles/StyledSelectionItem.js +3 -3
  325. package/components/Forms/Picker/TimePicker/styles/StyledSelectionView.d.ts +1 -3
  326. package/components/Forms/Picker/TimePicker/styles/StyledSelectionView.js +3 -3
  327. package/components/Forms/Picker/TimePicker/styles/StyledTimeIconButton.d.ts +2 -4
  328. package/components/Forms/Picker/TimePicker/styles/StyledTimeIconButton.js +6 -7
  329. package/components/Forms/Picker/TimePicker/types.d.ts +1 -1
  330. package/components/Forms/Picker/TimePicker/utils/A11yUtils.js +1 -0
  331. package/components/Forms/Picker/TimePicker/utils/TimeBoundary.js +11 -9
  332. package/components/Forms/Picker/TimePicker/utils/TimePickerHelper.d.ts +5 -5
  333. package/components/Forms/Picker/TimePicker/utils/TimePickerHelper.js +8 -7
  334. package/components/Forms/Picker/TimePicker/utils/TimePickerUtils.d.ts +2 -2
  335. package/components/Forms/Picker/TimePicker/utils/TimePickerUtils.js +4 -3
  336. package/components/Forms/Picker/TimePicker/utils/getNumberPickerBoundary.d.ts +1 -1
  337. package/components/Forms/Picker/TimePicker/utils/getNumberPickerBoundary.js +2 -1
  338. package/components/Forms/Picker/styles/PickerBaseIconButton.d.ts +2 -2
  339. package/components/Forms/Picker/styles/PickerBaseIconButton.js +2 -1
  340. package/components/Forms/Picker/styles/StyledPickerTextField.d.ts +1 -3
  341. package/components/Forms/Picker/styles/StyledPickerTextField.js +4 -3
  342. package/components/Forms/Picker/styles/StyledPopover.d.ts +1 -4
  343. package/components/Forms/Picker/styles/StyledPopover.js +2 -1
  344. package/components/Forms/Picker/styles/datePickerCustomFocusRingStyle.js +4 -3
  345. package/components/Forms/Picker/utils/PickerTextField/PickerTextField.d.ts +6 -11
  346. package/components/Forms/Picker/utils/PickerTextField/PickerTextField.js +20 -19
  347. package/components/Forms/Radio/Radio.d.ts +4 -6
  348. package/components/Forms/Radio/Radio.js +7 -6
  349. package/components/Forms/Radio/styles/RadioStyle.js +6 -4
  350. package/components/Forms/Radio/utils/RadioUtils.js +3 -2
  351. package/components/Forms/RadioGroup/RadioGroup.d.ts +2 -4
  352. package/components/Forms/RadioGroup/RadioGroup.js +4 -3
  353. package/components/Forms/Select/PlainSelect/PlainSelect.d.ts +3 -5
  354. package/components/Forms/Select/PlainSelect/PlainSelect.js +14 -13
  355. package/components/Forms/Select/PlainSelect/styles/StyledSelect.js +7 -5
  356. package/components/Forms/Select/PlainSelect/utils/PlainSelectUtils.d.ts +1 -1
  357. package/components/Forms/Select/PlainSelect/utils/PlainSelectUtils.js +3 -2
  358. package/components/Forms/Select/Select.d.ts +4 -6
  359. package/components/Forms/Select/Select.js +15 -14
  360. package/components/Forms/Select/styles/SelectArrowDownIcon.d.ts +2 -4
  361. package/components/Forms/Select/styles/SelectArrowDownIcon.js +4 -3
  362. package/components/Forms/Select/styles/StyledSelect.js +16 -15
  363. package/components/Forms/Select/utils/SelectInput/SelectInput.d.ts +2 -2
  364. package/components/Forms/Select/utils/SelectInput/SelectInput.js +18 -17
  365. package/components/Forms/Select/utils/SelectUtils.d.ts +1 -1
  366. package/components/Forms/Select/utils/SelectUtils.js +6 -5
  367. package/components/Forms/Slider/Slider.d.ts +2 -4
  368. package/components/Forms/Slider/Slider.js +5 -4
  369. package/components/Forms/Slider/styles/SliderStyle.js +6 -4
  370. package/components/Forms/Slider/utils/SliderUtil.js +2 -1
  371. package/components/Forms/Switch/Switch.d.ts +4 -6
  372. package/components/Forms/Switch/Switch.js +8 -7
  373. package/components/Forms/Switch/styles/SwitchStyle.js +12 -10
  374. package/components/Forms/Switch/utils/SwitchUtils.d.ts +1 -1
  375. package/components/Forms/Switch/utils/SwitchUtils.js +2 -1
  376. package/components/Forms/TextField/TextField.d.ts +362 -7
  377. package/components/Forms/TextField/TextField.js +24 -23
  378. package/components/Forms/TextField/styles/ClearIconButton.d.ts +9 -2
  379. package/components/Forms/TextField/styles/ClearIconButton.js +4 -3
  380. package/components/Forms/TextField/styles/OutlineTextFieldStyle.js +8 -6
  381. package/components/Forms/TextField/styles/TextFieldStyle.d.ts +1 -1
  382. package/components/Forms/TextField/styles/TextFieldStyle.js +19 -19
  383. package/components/Forms/TextField/utils/OutlineTextFieldUtils.js +2 -1
  384. package/components/Forms/TextField/utils/TextFieldUtils.d.ts +2 -2
  385. package/components/Forms/TextField/utils/TextFieldUtils.js +9 -7
  386. package/components/Forms/Textarea/Textarea.d.ts +2 -4
  387. package/components/Forms/Textarea/Textarea.js +6 -5
  388. package/components/Forms/Textarea/styles/TextareaStyle.js +4 -3
  389. package/components/Forms/Textarea/utils/TextareaUtils.js +2 -1
  390. package/components/Forms/index.js +1 -0
  391. package/components/Forms/utils/CustomIconPropsGetter.d.ts +3 -8
  392. package/components/Forms/utils/CustomIconPropsGetter.js +5 -3
  393. package/components/Forms/utils/checkedStyles.d.ts +2 -2
  394. package/components/Forms/utils/checkedStyles.js +9 -8
  395. package/components/Grid/Grid.d.ts +21 -4
  396. package/components/Grid/Grid.js +5 -4
  397. package/components/Grid/styles/GridStyle.js +4 -2
  398. package/components/Grid/utils/GridUtils.js +2 -1
  399. package/components/Hidden/Hidden.d.ts +1 -2
  400. package/components/Hidden/Hidden.js +1 -0
  401. package/components/Icon/Icon.d.ts +13 -38
  402. package/components/Icon/Icon.js +9 -8
  403. package/components/Icon/name2icon.d.ts +1 -1
  404. package/components/Icon/name2icon.js +1 -0
  405. package/components/Icon/styles/IconStyle.js +7 -5
  406. package/components/Icon/styles/iconSvg.d.ts +1 -3
  407. package/components/Icon/styles/iconSvg.js +3 -2
  408. package/components/Icon/utils/IconService.d.ts +2 -2
  409. package/components/Icon/utils/IconService.js +3 -2
  410. package/components/Icon/utils/IconUtils.js +5 -4
  411. package/components/InlineEditable/InlineEditable.d.ts +69 -6
  412. package/components/InlineEditable/InlineEditable.js +28 -27
  413. package/components/InlineEditable/styles/InlineEditableStyle.js +5 -5
  414. package/components/InlineEditable/styles/textFieldStyle.d.ts +2 -2
  415. package/components/InlineEditable/styles/textFieldStyle.js +5 -4
  416. package/components/InlineEditable/utils/InlineEditableUtils.js +2 -1
  417. package/components/Link/Link.d.ts +25 -5
  418. package/components/Link/Link.js +6 -5
  419. package/components/Link/styles/StyledLink.js +8 -7
  420. package/components/Link/utils/LinkUtils.js +1 -0
  421. package/components/List/List/List.d.ts +8 -4
  422. package/components/List/List/List.js +5 -4
  423. package/components/List/List/styles/ListStyle.js +4 -2
  424. package/components/List/List/utils/ListUtils.js +2 -1
  425. package/components/List/ListItem/ListItem.d.ts +324 -6
  426. package/components/List/ListItem/ListItem.js +11 -14
  427. package/components/List/ListItem/styles/ListItemStyle.d.ts +1 -1
  428. package/components/List/ListItem/styles/ListItemStyle.js +14 -16
  429. package/components/List/ListItem/utils/ListItemUtils.d.ts +2 -2
  430. package/components/List/ListItem/utils/ListItemUtils.js +7 -6
  431. package/components/List/ListItemAvatar/ListItemAvatar.d.ts +2 -4
  432. package/components/List/ListItemAvatar/ListItemAvatar.js +5 -4
  433. package/components/List/ListItemAvatar/styles/ListItemAvatarStyle.js +3 -1
  434. package/components/List/ListItemAvatar/utils/ListItemAvatarUtils.js +2 -1
  435. package/components/List/ListItemIcon/ListItemIcon.d.ts +2 -4
  436. package/components/List/ListItemIcon/ListItemIcon.js +5 -4
  437. package/components/List/ListItemIcon/styles/ListItemIconStyle.js +4 -2
  438. package/components/List/ListItemIcon/utils/ListItemIconUtils.js +2 -1
  439. package/components/List/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -4
  440. package/components/List/ListItemSecondaryAction/ListItemSecondaryAction.js +9 -8
  441. package/components/List/ListItemSecondaryAction/styles/ListItemSecondaryActionStyle.js +4 -2
  442. package/components/List/ListItemSecondaryAction/utils/ListItemSecondaryActionUtils.js +2 -1
  443. package/components/List/ListItemText/ListItemText.d.ts +3 -5
  444. package/components/List/ListItemText/ListItemText.js +8 -7
  445. package/components/List/ListItemText/styles/ListItemTextStyle.js +9 -8
  446. package/components/List/ListItemText/utils/ListItemTextUtils.js +2 -1
  447. package/components/List/ListSubheader/ListSubheader.d.ts +2 -4
  448. package/components/List/ListSubheader/ListSubheader.js +5 -4
  449. package/components/List/ListSubheader/styles/ListSubheaderStyle.js +4 -2
  450. package/components/List/ListSubheader/utils/ListSubheaderUtils.js +2 -1
  451. package/components/Loading/Loading.d.ts +1 -1
  452. package/components/Loading/Loading.js +3 -2
  453. package/components/Loading/styles/StyledLoadingPage.d.ts +2 -2
  454. package/components/Loading/styles/StyledLoadingPage.js +5 -5
  455. package/components/Menu/Menu/Menu.d.ts +2 -4
  456. package/components/Menu/Menu/Menu.js +12 -11
  457. package/components/Menu/Menu/MenuContext.d.ts +2 -3
  458. package/components/Menu/Menu/MenuContext.js +2 -1
  459. package/components/Menu/Menu/styles/MenuStyle.js +4 -2
  460. package/components/Menu/Menu/utils/MenuUtils.js +2 -1
  461. package/components/Menu/MenuItem/MenuItem.d.ts +346 -48
  462. package/components/Menu/MenuItem/MenuItem.js +26 -27
  463. package/components/Menu/MenuItem/styles/MenuItemStyle.d.ts +7 -32
  464. package/components/Menu/MenuItem/styles/MenuItemStyle.js +6 -5
  465. package/components/Menu/MenuItem/utils/MenuItemUtils.d.ts +2 -2
  466. package/components/Menu/MenuItem/utils/MenuItemUtils.js +8 -7
  467. package/components/Menu/MenuItemActionWrapper/MenuItemActionWrapper.d.ts +1 -3
  468. package/components/Menu/MenuItemActionWrapper/MenuItemActionWrapper.js +1 -0
  469. package/components/Menu/MenuItemActionWrapper/styles/StyledMenuItemActionWrapper.d.ts +1 -3
  470. package/components/Menu/MenuItemActionWrapper/styles/StyledMenuItemActionWrapper.js +2 -1
  471. package/components/Menu/MenuItemSubAction/MenuItemSubAction.d.ts +2 -4
  472. package/components/Menu/MenuItemSubAction/MenuItemSubAction.js +1 -0
  473. package/components/Menu/MenuItemSubAction/styles/StyledMenuItemSubAction.d.ts +2 -3
  474. package/components/Menu/MenuItemSubAction/styles/StyledMenuItemSubAction.js +2 -1
  475. package/components/Menu/MenuList/MenuList.d.ts +2 -4
  476. package/components/Menu/MenuList/MenuList.js +11 -10
  477. package/components/Menu/MenuList/MenuListContext.d.ts +2 -3
  478. package/components/Menu/MenuList/MenuListContext.js +2 -1
  479. package/components/Menu/MenuList/styles/MenuListStyle.d.ts +1 -1
  480. package/components/Menu/MenuList/styles/MenuListStyle.js +5 -3
  481. package/components/Menu/MenuList/utils/MenuListUtils.js +2 -1
  482. package/components/Menu/MenuOption/MenuOption.d.ts +1 -1
  483. package/components/Menu/MenuOption/MenuOption.js +2 -1
  484. package/components/Menu/MenuOption/styles/StyledMenuOption.d.ts +3 -3
  485. package/components/Menu/MenuOption/styles/StyledMenuOption.js +2 -1
  486. package/components/Menu/SubMenu/SubMenu.d.ts +2 -4
  487. package/components/Menu/SubMenu/SubMenu.js +25 -24
  488. package/components/Menu/SubMenu/SubMenuContext.d.ts +2 -3
  489. package/components/Menu/SubMenu/SubMenuContext.js +2 -1
  490. package/components/Menu/SubMenu/styles/SubMenuStyle.d.ts +2 -7
  491. package/components/Menu/SubMenu/styles/SubMenuStyle.js +6 -4
  492. package/components/Menu/SubMenu/utils/SubMenuUtils.d.ts +1 -1
  493. package/components/Menu/SubMenu/utils/SubMenuUtils.js +2 -1
  494. package/components/MuiExports/index.d.ts +43 -0
  495. package/components/MuiExports/index.js +61 -0
  496. package/components/MuiExports/package.json +5 -0
  497. package/components/Pagination/Pagination/Pagination.d.ts +2 -4
  498. package/components/Pagination/Pagination/Pagination.js +5 -4
  499. package/components/Pagination/Pagination/styles/StyledPagination.js +4 -2
  500. package/components/Pagination/Pagination/utils/PaginationUtils.js +2 -1
  501. package/components/Pagination/PaginationItem/PaginationItem.d.ts +15 -18
  502. package/components/Pagination/PaginationItem/PaginationItem.js +5 -4
  503. package/components/Pagination/PaginationItem/styles/PaginationItemStyle.js +4 -2
  504. package/components/Pagination/PaginationItem/utils/PaginationItemUtils.js +2 -1
  505. package/components/Paper/Paper.d.ts +2 -4
  506. package/components/Paper/Paper.js +5 -4
  507. package/components/Paper/deprecated/Paper.d.ts +1 -1
  508. package/components/Paper/deprecated/Paper.js +1 -0
  509. package/components/Paper/styles/PaperStyle.js +4 -2
  510. package/components/Paper/utils/PaperUtils.js +2 -1
  511. package/components/Popover/Popover.d.ts +2 -4
  512. package/components/Popover/Popover.js +6 -5
  513. package/components/Popover/styles/PopoverStyle.js +4 -2
  514. package/components/Popover/utils/PopoverUtils.js +2 -1
  515. package/components/Popper/Popper.d.ts +2 -4
  516. package/components/Popper/Popper.js +5 -4
  517. package/components/Popper/modifiers/fixOffsetsModifer.js +2 -1
  518. package/components/Popper/styles/PopperStyle.js +4 -2
  519. package/components/PopupBox/PopupBox.d.ts +3 -5
  520. package/components/PopupBox/PopupBox.js +5 -4
  521. package/components/Portal/Portal.d.ts +1 -1
  522. package/components/Portal/Portal.js +2 -1
  523. package/components/PortalHost/Connectable/Connectable.js +2 -1
  524. package/components/PortalHost/Connectable/ThrottleScheduler.js +1 -0
  525. package/components/PortalHost/Connectable/types.d.ts +2 -2
  526. package/components/PortalHost/Connectable/types.js +1 -0
  527. package/components/PortalHost/PortalHost.d.ts +1 -1
  528. package/components/PortalHost/PortalHost.js +4 -3
  529. package/components/PortalHost/PortalManager/PortalManager.js +8 -7
  530. package/components/PortalHost/PortalManager/PortalStore.d.ts +3 -3
  531. package/components/PortalHost/PortalManager/PortalStore.js +6 -5
  532. package/components/PortalHost/PortalManager/types.d.ts +7 -7
  533. package/components/PortalHost/PortalManager/types.js +1 -0
  534. package/components/PortalHost/PortalManager/utils.d.ts +1 -1
  535. package/components/PortalHost/PortalManager/utils.js +3 -1
  536. package/components/PortalHost/PortalRenderer.d.ts +1 -1
  537. package/components/PortalHost/PortalRenderer.js +3 -2
  538. package/components/PortalHost/context/HasPortalParentContext.d.ts +6 -2
  539. package/components/PortalHost/context/HasPortalParentContext.js +4 -2
  540. package/components/PortalHost/context/PortalIDContext.d.ts +2 -3
  541. package/components/PortalHost/context/PortalIDContext.js +2 -1
  542. package/components/PortalHost/context/PortalManagerContext.d.ts +0 -1
  543. package/components/PortalHost/context/PortalManagerContext.js +2 -1
  544. package/components/PortalHost/index.js +2 -1
  545. package/components/PortalHost/utils/usePortalManagerWithID.d.ts +1 -2
  546. package/components/PortalHost/utils/usePortalManagerWithID.js +6 -4
  547. package/components/PortalHost/utils/useUnmountPortalHandler.js +5 -3
  548. package/components/Presence/Presence.d.ts +8 -19
  549. package/components/Presence/Presence.js +4 -3
  550. package/components/Presence/assets/Check.d.ts +1 -1
  551. package/components/Presence/assets/Check.js +1 -1
  552. package/components/Presence/assets/Default.d.ts +1 -1
  553. package/components/Presence/assets/Default.js +1 -1
  554. package/components/Presence/assets/Dnd.d.ts +1 -1
  555. package/components/Presence/assets/Dnd.js +1 -1
  556. package/components/Presence/assets/Offline.d.ts +1 -1
  557. package/components/Presence/assets/Offline.js +1 -1
  558. package/components/Presence/assets/Unattended.d.ts +1 -1
  559. package/components/Presence/assets/Unattended.js +1 -1
  560. package/components/Presence/assets/index.js +9 -5
  561. package/components/Presence/styles/StyledPresence.d.ts +7 -5
  562. package/components/Presence/styles/StyledPresence.js +11 -14
  563. package/components/Presence/utils/RcPresenceUtils.js +4 -3
  564. package/components/Progress/CircularProgress/CircularProgress.d.ts +2 -4
  565. package/components/Progress/CircularProgress/CircularProgress.js +5 -4
  566. package/components/Progress/CircularProgress/styles/CircularProgressStyle.js +5 -3
  567. package/components/Progress/CircularProgress/utils/CircularProgressUtils.js +2 -1
  568. package/components/Progress/LinearProgress/LinearProgress.d.ts +2 -4
  569. package/components/Progress/LinearProgress/LinearProgress.js +5 -4
  570. package/components/Progress/LinearProgress/styles/LinearProgressStyle.js +5 -3
  571. package/components/Progress/LinearProgress/utils/LinearProgressUtils.js +2 -1
  572. package/components/Progress/styles/StyledCircularProgress.d.ts +2 -3
  573. package/components/Progress/styles/StyledCircularProgress.js +2 -1
  574. package/components/Progress/utils/CircularProgressUtils.js +2 -1
  575. package/components/Rating/Rating.d.ts +2 -4
  576. package/components/Rating/Rating.js +8 -7
  577. package/components/Rating/styles/RatingStyle.js +10 -10
  578. package/components/Rating/utils/RatingUtils.js +2 -1
  579. package/components/Responsive/Responsive.d.ts +6 -2
  580. package/components/Responsive/Responsive.js +9 -8
  581. package/components/Responsive/utils/getMatchedBreakpoint.d.ts +2 -1
  582. package/components/Responsive/utils/getMatchedBreakpoint.js +4 -2
  583. package/components/Responsive/utils/index.js +1 -0
  584. package/components/Responsive/utils/types.d.ts +1 -1
  585. package/components/Snackbar/Snackbar.d.ts +2 -4
  586. package/components/Snackbar/Snackbar.js +6 -5
  587. package/components/Snackbar/SnackbarAction/SnackbarAction.d.ts +3 -5
  588. package/components/Snackbar/SnackbarAction/SnackbarAction.js +6 -5
  589. package/components/Snackbar/SnackbarAction/styles/StyledSnackbarContent.js +4 -3
  590. package/components/Snackbar/SnackbarAction/utils/SnackbarActionUtils.d.ts +1 -1
  591. package/components/Snackbar/SnackbarAction/utils/SnackbarActionUtils.js +2 -1
  592. package/components/Snackbar/SnackbarContent/SnackbarContent.d.ts +5 -7
  593. package/components/Snackbar/SnackbarContent/SnackbarContent.js +8 -7
  594. package/components/Snackbar/SnackbarContent/styles/StyledSnackbarContent.js +7 -5
  595. package/components/Snackbar/SnackbarContent/utils/SnackbarContentUtils.js +5 -4
  596. package/components/Snackbar/styles/SnackbarStyle.js +4 -2
  597. package/components/Snackbar/utils/SnackbarUtils.js +2 -1
  598. package/components/Stepper/Step/Step.d.ts +2 -4
  599. package/components/Stepper/Step/Step.js +5 -4
  600. package/components/Stepper/Step/styles/StepStyle.js +5 -3
  601. package/components/Stepper/Step/utils/StepUtils.js +2 -1
  602. package/components/Stepper/StepButton/StepButton.d.ts +2 -4
  603. package/components/Stepper/StepButton/StepButton.js +8 -7
  604. package/components/Stepper/StepButton/styles/StepButtonStyle.js +4 -2
  605. package/components/Stepper/StepButton/utils/StepButtonUtils.js +2 -1
  606. package/components/Stepper/StepConnector/StepConnector.d.ts +2 -4
  607. package/components/Stepper/StepConnector/StepConnector.js +5 -4
  608. package/components/Stepper/StepConnector/styles/StepConnectorStyle.js +4 -2
  609. package/components/Stepper/StepConnector/utils/StepConnectorUtils.js +2 -1
  610. package/components/Stepper/StepContent/StepContent.d.ts +2 -4
  611. package/components/Stepper/StepContent/StepContent.js +4 -3
  612. package/components/Stepper/StepContent/styles/StepContentStyle.js +4 -2
  613. package/components/Stepper/StepContent/utils/StepContentUtils.js +2 -1
  614. package/components/Stepper/StepIcon/StepIcon.d.ts +4 -4
  615. package/components/Stepper/StepIcon/StepIcon.js +7 -6
  616. package/components/Stepper/StepIcon/styles/StepIconStyle.js +4 -2
  617. package/components/Stepper/StepIcon/styles/StyledCircleIcon.d.ts +3 -5
  618. package/components/Stepper/StepIcon/styles/StyledCircleIcon.js +5 -3
  619. package/components/Stepper/StepIcon/utils/StepIconUtils.js +8 -6
  620. package/components/Stepper/StepLabel/StepLabel.d.ts +2 -4
  621. package/components/Stepper/StepLabel/StepLabel.js +6 -5
  622. package/components/Stepper/StepLabel/styles/StepLabelStyle.js +4 -2
  623. package/components/Stepper/StepLabel/utils/StepLabelUtils.js +2 -1
  624. package/components/Stepper/Stepper.d.ts +2 -4
  625. package/components/Stepper/Stepper.js +5 -4
  626. package/components/Stepper/styles/StepperStyle.js +4 -2
  627. package/components/Stepper/utils/StepperUtils.js +2 -1
  628. package/components/Table/Table.d.ts +2 -4
  629. package/components/Table/Table.js +5 -4
  630. package/components/Table/TableBody/TableBody.d.ts +4 -4
  631. package/components/Table/TableBody/TableBody.js +4 -3
  632. package/components/Table/TableCell/TableCell.d.ts +294 -4
  633. package/components/Table/TableCell/TableCell.js +8 -7
  634. package/components/Table/TableCell/styles/TableCellStyle.js +5 -3
  635. package/components/Table/TableCell/utils/TableCellUtils.d.ts +1 -1
  636. package/components/Table/TableCell/utils/TableCellUtils.js +2 -1
  637. package/components/Table/TableContainer/TableContainer.d.ts +2 -4
  638. package/components/Table/TableContainer/TableContainer.js +4 -3
  639. package/components/Table/TableContainer/styles/TableContainerStyle.js +4 -3
  640. package/components/Table/TableHead/TableHead.d.ts +4 -4
  641. package/components/Table/TableHead/TableHead.js +4 -3
  642. package/components/Table/TableRow/TableRow.d.ts +2 -4
  643. package/components/Table/TableRow/TableRow.js +6 -5
  644. package/components/Table/TableRow/styles/TableRowStyle.js +4 -2
  645. package/components/Table/TableRow/utils/TableRowUtils.d.ts +1 -1
  646. package/components/Table/TableRow/utils/TableRowUtils.js +2 -1
  647. package/components/Table/context.d.ts +1 -2
  648. package/components/Table/context.js +2 -1
  649. package/components/Table/index.js +1 -0
  650. package/components/Table/types.d.ts +2 -2
  651. package/components/TablePagination/TablePagination.d.ts +2 -4
  652. package/components/TablePagination/TablePagination.js +8 -7
  653. package/components/TablePagination/styles/TablePaginationActions.d.ts +2 -2
  654. package/components/TablePagination/styles/TablePaginationActions.js +5 -4
  655. package/components/TablePagination/styles/TablePaginationStyle.d.ts +342 -42
  656. package/components/TablePagination/styles/TablePaginationStyle.js +6 -4
  657. package/components/TablePagination/utils/TablePaginationUtils.d.ts +1 -1
  658. package/components/TablePagination/utils/TablePaginationUtils.js +7 -5
  659. package/components/Tabs/Tab/Tab.d.ts +3 -5
  660. package/components/Tabs/Tab/Tab.js +5 -4
  661. package/components/Tabs/Tab/styles/TabStyle.js +4 -3
  662. package/components/Tabs/Tab/utils/TabUtils.js +2 -1
  663. package/components/Tabs/TabContext/TabContext.js +4 -3
  664. package/components/Tabs/TabList/TabList.d.ts +2 -4
  665. package/components/Tabs/TabList/TabList.js +10 -9
  666. package/components/Tabs/TabList/styles/TabListStyle.js +4 -2
  667. package/components/Tabs/TabList/utils/TabListUtils.js +2 -1
  668. package/components/Tabs/TabPanel/TabPanel.d.ts +2 -4
  669. package/components/Tabs/TabPanel/TabPanel.js +6 -5
  670. package/components/Tabs/TabPanel/styles/TabPanelStyle.js +4 -2
  671. package/components/Tabs/TabPanel/utils/TabPanelUtils.js +2 -1
  672. package/components/Tabs/Tabs/MoreMenuTab/MoreMenuTab.d.ts +2 -4
  673. package/components/Tabs/Tabs/MoreMenuTab/MoreMenuTab.js +8 -7
  674. package/components/Tabs/Tabs/MoreMenuTab/styles/MoreMenuTabStyle.js +5 -4
  675. package/components/Tabs/Tabs/MoreMenuTabs/MoreMenuTabSentinel.d.ts +1 -1
  676. package/components/Tabs/Tabs/MoreMenuTabs/MoreMenuTabSentinel.js +2 -1
  677. package/components/Tabs/Tabs/MoreMenuTabs/MoreMenuTabs.d.ts +3 -5
  678. package/components/Tabs/Tabs/MoreMenuTabs/MoreMenuTabs.js +23 -22
  679. package/components/Tabs/Tabs/MoreMenuTabs/utils/MoreMenuTabsUtils.d.ts +5 -2
  680. package/components/Tabs/Tabs/MoreMenuTabs/utils/index.js +2 -0
  681. package/components/Tabs/Tabs/Tabs.d.ts +3 -5
  682. package/components/Tabs/Tabs/Tabs.js +6 -5
  683. package/components/Tabs/Tabs/styles/TabsStyle.js +4 -2
  684. package/components/Tabs/Tabs/utils/TabsUtils.js +2 -1
  685. package/components/Tag/Tag.d.ts +7 -22
  686. package/components/Tag/Tag.js +5 -4
  687. package/components/Tag/styles/TagStyle.js +5 -4
  688. package/components/Tag/utils/TagUtils.d.ts +4 -3
  689. package/components/Tag/utils/TagUtils.js +1 -0
  690. package/components/Text/Text.d.ts +3 -4
  691. package/components/Text/Text.js +14 -12
  692. package/components/Text/styles/StyledText.js +4 -3
  693. package/components/Thumbnail/Thumbnail.d.ts +5 -28
  694. package/components/Thumbnail/Thumbnail.js +5 -4
  695. package/components/Thumbnail/styles/StyledThumbnail.d.ts +3 -20
  696. package/components/Thumbnail/styles/StyledThumbnail.js +4 -4
  697. package/components/Thumbnail/utils/ThumbnailUtils.js +1 -0
  698. package/components/Toolbar/Toolbar.d.ts +2 -4
  699. package/components/Toolbar/Toolbar.js +4 -3
  700. package/components/Tooltip/Tooltip.d.ts +3 -5
  701. package/components/Tooltip/Tooltip.js +18 -17
  702. package/components/Tooltip/styles/Mask.d.ts +1 -3
  703. package/components/Tooltip/styles/Mask.js +1 -0
  704. package/components/Tooltip/styles/StyledTooltip.js +10 -9
  705. package/components/Tooltip/utils/TooltipUtils.js +11 -10
  706. package/components/Tooltip/utils/useTooltipForceHide.d.ts +2 -2
  707. package/components/Tooltip/utils/useTooltipForceHide.js +14 -12
  708. package/components/Tooltip/withTooltip/withTooltip.d.ts +1 -1
  709. package/components/Tooltip/withTooltip/withTooltip.js +2 -1
  710. package/components/Transitions/Collapse/Collapse.d.ts +2 -2
  711. package/components/Transitions/Collapse/Collapse.js +3 -2
  712. package/components/Transitions/Fade/Fade.d.ts +2 -2
  713. package/components/Transitions/Fade/Fade.js +3 -2
  714. package/components/Transitions/Grow/Grow.d.ts +2 -2
  715. package/components/Transitions/Grow/Grow.js +3 -2
  716. package/components/Transitions/Slide/Slide.d.ts +2 -2
  717. package/components/Transitions/Slide/Slide.js +3 -2
  718. package/components/Transitions/Transition.d.ts +6 -6
  719. package/components/Transitions/Transition.js +5 -2
  720. package/components/Transitions/Zoom/Zoom.d.ts +2 -2
  721. package/components/Transitions/Zoom/Zoom.js +3 -2
  722. package/components/Transitions/ZoomFrom/ZoomFrom.d.ts +3 -3
  723. package/components/Transitions/ZoomFrom/ZoomFrom.js +18 -23
  724. package/components/Transitions/ZoomFrom/utils/transformToFromElm.js +2 -1
  725. package/components/Transitions/ZoomInFadeOut/ZoomInFadeOut.d.ts +3 -3
  726. package/components/Transitions/ZoomInFadeOut/ZoomInFadeOut.js +17 -19
  727. package/components/Transitions/utils/transitionendSubscriber.js +3 -1
  728. package/components/Transitions/utils/useNormalizeTransition.d.ts +2 -1
  729. package/components/Transitions/utils/useNormalizeTransition.js +11 -8
  730. package/components/Typography/Typography.d.ts +6 -8
  731. package/components/Typography/Typography.js +5 -4
  732. package/components/Typography/styles/StyledTypography.js +5 -3
  733. package/components/Typography/utils/TypographyUtils.js +1 -0
  734. package/components/VirtualizedMenu/VirtualizedDivider/VirtualizedDivider.d.ts +7 -16
  735. package/components/VirtualizedMenu/VirtualizedDivider/VirtualizedDivider.js +4 -3
  736. package/components/VirtualizedMenu/VirtualizedMenu.d.ts +2 -4
  737. package/components/VirtualizedMenu/VirtualizedMenu.js +17 -16
  738. package/components/VirtualizedMenu/VirtualizedMenuList.d.ts +3 -5
  739. package/components/VirtualizedMenu/VirtualizedMenuList.js +36 -36
  740. package/components/VirtualizedMenu/styles/StyledMenuPadding.d.ts +2 -4
  741. package/components/VirtualizedMenu/styles/StyledMenuPadding.js +1 -0
  742. package/components/VirtualizedMenu/styles/VirtualizedMenuStyle.js +4 -2
  743. package/components/VirtualizedMenu/utils/VirtualizedMenuUtils.js +2 -1
  744. package/components/Virtuoso/react-virtuoso/AATree.d.ts +1 -1
  745. package/components/Virtuoso/react-virtuoso/AATree.js +3 -2
  746. package/components/Virtuoso/react-virtuoso/TableVirtuoso.d.ts +2 -2
  747. package/components/Virtuoso/react-virtuoso/TableVirtuoso.js +18 -17
  748. package/components/Virtuoso/react-virtuoso/Virtuoso.d.ts +164 -440
  749. package/components/Virtuoso/react-virtuoso/Virtuoso.js +61 -60
  750. package/components/Virtuoso/react-virtuoso/VirtuosoGrid.d.ts +47 -113
  751. package/components/Virtuoso/react-virtuoso/VirtuosoGrid.js +18 -17
  752. package/components/Virtuoso/react-virtuoso/alignToBottomSystem.d.ts +4 -4
  753. package/components/Virtuoso/react-virtuoso/alignToBottomSystem.js +1 -0
  754. package/components/Virtuoso/react-virtuoso/comparators.js +1 -0
  755. package/components/Virtuoso/react-virtuoso/domIOSystem.js +1 -0
  756. package/components/Virtuoso/react-virtuoso/followOutputSystem.d.ts +4 -4
  757. package/components/Virtuoso/react-virtuoso/followOutputSystem.js +1 -0
  758. package/components/Virtuoso/react-virtuoso/gridSystem.d.ts +4 -4
  759. package/components/Virtuoso/react-virtuoso/gridSystem.js +6 -33
  760. package/components/Virtuoso/react-virtuoso/groupedListSystem.js +3 -2
  761. package/components/Virtuoso/react-virtuoso/hooks/useChangedChildSizes.d.ts +2 -2
  762. package/components/Virtuoso/react-virtuoso/hooks/useChangedChildSizes.js +3 -3
  763. package/components/Virtuoso/react-virtuoso/hooks/useRcPortalWindowContext.js +3 -2
  764. package/components/Virtuoso/react-virtuoso/hooks/useScrollTop.d.ts +1 -1
  765. package/components/Virtuoso/react-virtuoso/hooks/useScrollTop.js +4 -4
  766. package/components/Virtuoso/react-virtuoso/hooks/useSize.d.ts +4 -4
  767. package/components/Virtuoso/react-virtuoso/hooks/useSize.js +2 -1
  768. package/components/Virtuoso/react-virtuoso/hooks/useWindowViewportRect.d.ts +1 -1
  769. package/components/Virtuoso/react-virtuoso/hooks/useWindowViewportRect.js +2 -2
  770. package/components/Virtuoso/react-virtuoso/index.js +10 -5
  771. package/components/Virtuoso/react-virtuoso/initialItemCountSystem.d.ts +6 -6
  772. package/components/Virtuoso/react-virtuoso/initialItemCountSystem.js +2 -1
  773. package/components/Virtuoso/react-virtuoso/initialScrollTopSystem.d.ts +4 -4
  774. package/components/Virtuoso/react-virtuoso/initialScrollTopSystem.js +1 -0
  775. package/components/Virtuoso/react-virtuoso/initialTopMostItemIndexSystem.d.ts +2 -2
  776. package/components/Virtuoso/react-virtuoso/initialTopMostItemIndexSystem.js +3 -2
  777. package/components/Virtuoso/react-virtuoso/interfaces.d.ts +23 -23
  778. package/components/Virtuoso/react-virtuoso/listStateSystem.d.ts +5 -5
  779. package/components/Virtuoso/react-virtuoso/listStateSystem.js +12 -11
  780. package/components/Virtuoso/react-virtuoso/listSystem.d.ts +47 -47
  781. package/components/Virtuoso/react-virtuoso/listSystem.js +4 -16
  782. package/components/Virtuoso/react-virtuoso/loggerSystem.d.ts +1 -1
  783. package/components/Virtuoso/react-virtuoso/loggerSystem.js +3 -2
  784. package/components/Virtuoso/react-virtuoso/propsReadySystem.js +1 -0
  785. package/components/Virtuoso/react-virtuoso/react-urx/index.d.ts +5 -5
  786. package/components/Virtuoso/react-virtuoso/react-urx/index.js +2 -1
  787. package/components/Virtuoso/react-virtuoso/recalcSystem.js +1 -0
  788. package/components/Virtuoso/react-virtuoso/scrollIntoViewSystem.d.ts +6 -6
  789. package/components/Virtuoso/react-virtuoso/scrollIntoViewSystem.js +4 -3
  790. package/components/Virtuoso/react-virtuoso/scrollSeekSystem.js +1 -0
  791. package/components/Virtuoso/react-virtuoso/scrollToIndexSystem.d.ts +2 -2
  792. package/components/Virtuoso/react-virtuoso/scrollToIndexSystem.js +5 -4
  793. package/components/Virtuoso/react-virtuoso/sizeRangeSystem.d.ts +5 -5
  794. package/components/Virtuoso/react-virtuoso/sizeRangeSystem.js +1 -0
  795. package/components/Virtuoso/react-virtuoso/sizeSystem.d.ts +6 -4
  796. package/components/Virtuoso/react-virtuoso/sizeSystem.js +42 -42
  797. package/components/Virtuoso/react-virtuoso/stateFlagsSystem.d.ts +4 -4
  798. package/components/Virtuoso/react-virtuoso/stateFlagsSystem.js +2 -1
  799. package/components/Virtuoso/react-virtuoso/stateLoadSystem.d.ts +2 -2
  800. package/components/Virtuoso/react-virtuoso/stateLoadSystem.js +2 -1
  801. package/components/Virtuoso/react-virtuoso/topItemCountSystem.d.ts +4 -4
  802. package/components/Virtuoso/react-virtuoso/topItemCountSystem.js +1 -0
  803. package/components/Virtuoso/react-virtuoso/totalListHeightSystem.d.ts +4 -4
  804. package/components/Virtuoso/react-virtuoso/totalListHeightSystem.js +1 -0
  805. package/components/Virtuoso/react-virtuoso/upwardScrollFixSystem.d.ts +4 -4
  806. package/components/Virtuoso/react-virtuoso/upwardScrollFixSystem.js +3 -2
  807. package/components/Virtuoso/react-virtuoso/urx/actions.d.ts +1 -1
  808. package/components/Virtuoso/react-virtuoso/urx/actions.js +2 -1
  809. package/components/Virtuoso/react-virtuoso/urx/constants.d.ts +4 -4
  810. package/components/Virtuoso/react-virtuoso/urx/constants.js +1 -0
  811. package/components/Virtuoso/react-virtuoso/urx/pipe.d.ts +1 -1
  812. package/components/Virtuoso/react-virtuoso/urx/pipe.js +6 -5
  813. package/components/Virtuoso/react-virtuoso/urx/streams.js +6 -5
  814. package/components/Virtuoso/react-virtuoso/urx/system.d.ts +5 -5
  815. package/components/Virtuoso/react-virtuoso/urx/system.js +2 -1
  816. package/components/Virtuoso/react-virtuoso/urx/transformers.js +10 -9
  817. package/components/Virtuoso/react-virtuoso/urx/utils.js +1 -0
  818. package/components/Virtuoso/react-virtuoso/utils/approximatelyEqual.js +1 -0
  819. package/components/Virtuoso/react-virtuoso/utils/binaryArraySearch.d.ts +1 -1
  820. package/components/Virtuoso/react-virtuoso/utils/binaryArraySearch.js +2 -1
  821. package/components/Virtuoso/react-virtuoso/utils/context.js +1 -0
  822. package/components/Virtuoso/react-virtuoso/utils/correctItemSize.js +1 -0
  823. package/components/Virtuoso/react-virtuoso/utils/positionStickyCssValue.d.ts +1 -1
  824. package/components/Virtuoso/react-virtuoso/utils/positionStickyCssValue.js +2 -1
  825. package/components/Virtuoso/react-virtuoso/utils/simpleMemoize.js +1 -0
  826. package/components/Virtuoso/react-virtuoso/utils/skipFrames.js +1 -0
  827. package/components/Virtuoso/react-virtuoso/windowScrollerSystem.js +1 -0
  828. package/components/Virtuoso/utils/isOutOfRange.js +1 -0
  829. package/components/Virtuoso/utils/useDynamicHeight.d.ts +2 -3
  830. package/components/Virtuoso/utils/useDynamicHeight.js +5 -3
  831. package/components/Virtuoso/utils/useHighlightScroll.d.ts +1 -1
  832. package/components/Virtuoso/utils/useHighlightScroll.js +3 -2
  833. package/components/VisuallyHidden/VisuallyHidden.d.ts +1 -3
  834. package/components/VisuallyHidden/VisuallyHidden.js +1 -0
  835. package/components/index.d.ts +1 -0
  836. package/components/index.js +2 -0
  837. package/es6/components/Accordion/styles/AccordionStyle.js +2 -2
  838. package/es6/components/Animations/Highlight/Highlight.js +1 -1
  839. package/es6/components/AppBar/AppBar.js +1 -1
  840. package/es6/components/Avatar/Avatar.js +4 -4
  841. package/es6/components/Avatar/styles/StyledAvatar.js +1 -2
  842. package/es6/components/Avatar/styles/StyledAvatarWrapper.js +2 -5
  843. package/es6/components/Avatar/utils/useAvatarColorToken.js +1 -1
  844. package/es6/components/Avatar/utils/useAvatarShortName.js +2 -2
  845. package/es6/components/Badge/DotBadge.js +1 -1
  846. package/es6/components/Badge/styles/BadgeStyle.js +3 -8
  847. package/es6/components/Buttons/Button/Button.js +1 -5
  848. package/es6/components/Buttons/Button/styles/StyledButton.js +2 -13
  849. package/es6/components/Buttons/ButtonGroup/styles/StyledButtonGroup.js +1 -0
  850. package/es6/components/Buttons/ButtonGroup/styles/index.js +1 -0
  851. package/es6/components/Buttons/ButtonGroup/utils/ButtonGroupUtils.js +1 -0
  852. package/es6/components/Buttons/ButtonGroup/utils/index.js +1 -0
  853. package/es6/components/Buttons/IconButton/IconButton.js +1 -9
  854. package/es6/components/Buttons/IconButton/styles/StyledIconButton.js +3 -13
  855. package/es6/components/Buttons/IconButtonGroup/styles/IconButtonGroupStyle.js +3 -4
  856. package/es6/components/Buttons/SplitButton/SplitButton.js +1 -2
  857. package/es6/components/Buttons/SplitButton/styles/StyledSplitButton.js +4 -15
  858. package/es6/components/Buttons/ToggleButton/styles/ToggleButtonStyle.js +1 -4
  859. package/es6/components/Buttons/ToggleButton/utils/ToggleButtonUtils.js +3 -3
  860. package/es6/components/Buttons/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  861. package/es6/components/Buttons/ToggleButtonGroup/styles/ToggleButtonGroupStyle.js +1 -2
  862. package/es6/components/Buttons/ToggleButtonGroup/styles/boxStyle.js +1 -4
  863. package/es6/components/Buttons/ToggleButtonGroup/styles/standardStyle.js +1 -5
  864. package/es6/components/Buttons/ToggleButtonGroup/utils/ToggleButtonGroupUtils.js +1 -1
  865. package/es6/components/Card/Card/styles/CardStyles.js +1 -2
  866. package/es6/components/Card/CardHoverActions/styles/CardHoverActionsStyle.js +1 -2
  867. package/es6/components/Chip/styles/ChipStyle.js +2 -6
  868. package/es6/components/DetachedWindow/utils/JssDomRendererFactory.js +1 -1
  869. package/es6/components/DetachedWindow/utils/openExternalWindow.js +4 -4
  870. package/es6/components/Dialer/DialPad/DialPad.js +3 -3
  871. package/es6/components/Dialer/DialPad/styles/StyledDialPad.js +1 -2
  872. package/es6/components/Dialer/DialPad/utils/DialPadUtils.js +4 -4
  873. package/es6/components/Dialer/DialPad/utils/index.js +1 -0
  874. package/es6/components/Dialer/DialPad/utils/types.js +1 -0
  875. package/es6/components/Dialer/DialPad/utils/useDialKeyboard.js +2 -2
  876. package/es6/components/Dialog/DialogActions/DialogActions.js +1 -2
  877. package/es6/components/Dialog/DialogActions/styles/DialogActionsStyle.js +5 -10
  878. package/es6/components/Dialog/DialogContent/styles/DialogContentStyle.js +2 -2
  879. package/es6/components/Dialog/DialogTitle/DialogTitle.js +1 -1
  880. package/es6/components/Dialog/DialogTitle/styles/DialogTitleStyle.js +2 -2
  881. package/es6/components/Dialog/styles/DialogStyle.js +2 -4
  882. package/es6/components/Divider/styles/StyledDivider.js +2 -3
  883. package/es6/components/DnD/Draggable/Draggable.js +2 -2
  884. package/es6/components/DnD/Draggable/utils/DraggableUtils.js +1 -1
  885. package/es6/components/DnD/Droppable/Droppable.js +2 -2
  886. package/es6/components/Downshift/Downshift.js +8 -8
  887. package/es6/components/Downshift/SuggestionList/SuggestionList.js +5 -4
  888. package/es6/components/Downshift/SuggestionList/utils/useSuggestionList.js +9 -9
  889. package/es6/components/Downshift/styles/StyledPopper.js +1 -2
  890. package/es6/components/Downshift/utils/DownshiftUtils.js +5 -2
  891. package/es6/components/Downshift/utils/SelectItem.js +1 -0
  892. package/es6/components/Downshift/utils/index.js +2 -0
  893. package/es6/components/Downshift/utils/useDownshift.interface.js +1 -0
  894. package/es6/components/Downshift/utils/useDownshift.js +7 -7
  895. package/es6/components/Downshift/utils/useDownshiftGroup.js +4 -4
  896. package/es6/components/Downshift/utils/useDownshiftTag.js +10 -10
  897. package/es6/components/Drawer/styles/DrawerStyle.js +1 -2
  898. package/es6/components/Forms/BaseForm.js +1 -0
  899. package/es6/components/Forms/Form/Form/Form.js +2 -2
  900. package/es6/components/Forms/Form/Form/index.js +1 -0
  901. package/es6/components/Forms/Form/Form/types.js +1 -0
  902. package/es6/components/Forms/FormControlLabel/styles/FormControlLabelStyle.js +1 -1
  903. package/es6/components/Forms/Picker/DatePicker/Calendar.js +3 -3
  904. package/es6/components/Forms/Picker/DatePicker/DatePickerHeader.js +1 -1
  905. package/es6/components/Forms/Picker/DatePicker/Year.js +1 -1
  906. package/es6/components/Forms/Picker/DatePicker/styles/StyledCalendar.js +4 -8
  907. package/es6/components/Forms/Picker/DatePicker/styles/StyledDatePickerHeader.js +2 -4
  908. package/es6/components/Forms/Picker/TimePicker/NumberPicker.js +3 -3
  909. package/es6/components/Forms/Picker/TimePicker/SelectionView.js +1 -1
  910. package/es6/components/Forms/Picker/TimePicker/TimePicker.js +4 -4
  911. package/es6/components/Forms/Picker/TimePicker/styles/StyledNumberPicker.js +1 -1
  912. package/es6/components/Forms/Picker/TimePicker/styles/StyledPickerPopperWrap.js +1 -2
  913. package/es6/components/Forms/Picker/TimePicker/styles/StyledSelectionItem.js +1 -2
  914. package/es6/components/Forms/Picker/TimePicker/styles/StyledSelectionView.js +1 -2
  915. package/es6/components/Forms/Picker/TimePicker/styles/StyledTimeIconButton.js +1 -3
  916. package/es6/components/Forms/Picker/TimePicker/types.js +1 -0
  917. package/es6/components/Forms/Picker/TimePicker/utils/TimeBoundary.js +4 -4
  918. package/es6/components/Forms/Picker/TimePicker/utils/TimePickerHelper.js +4 -4
  919. package/es6/components/Forms/Picker/TimePicker/utils/getNumberPickerBoundary.js +1 -1
  920. package/es6/components/Forms/Picker/styles/datePickerCustomFocusRingStyle.js +1 -2
  921. package/es6/components/Forms/Picker/utils/PickerTextField/PickerTextField.js +4 -4
  922. package/es6/components/Forms/Picker/utils/PickerUtils.js +1 -0
  923. package/es6/components/Forms/Select/PlainSelect/styles/StyledSelect.js +3 -3
  924. package/es6/components/Forms/Select/styles/StyledSelect.js +2 -3
  925. package/es6/components/Forms/Select/utils/SelectInput/SelectInput.js +8 -8
  926. package/es6/components/Forms/TextField/styles/TextFieldStyle.js +2 -4
  927. package/es6/components/Forms/Textarea/styles/TextareaStyle.js +1 -2
  928. package/es6/components/Forms/index.js +1 -0
  929. package/es6/components/Forms/utils/checkedStyles.js +1 -2
  930. package/es6/components/Icon/Icon.js +2 -2
  931. package/es6/components/InlineEditable/InlineEditable.js +2 -2
  932. package/es6/components/InlineEditable/styles/InlineEditableStyle.js +2 -4
  933. package/es6/components/Link/styles/StyledLink.js +1 -2
  934. package/es6/components/List/ListItem/ListItem.js +1 -5
  935. package/es6/components/List/ListItem/styles/ListItemStyle.js +4 -9
  936. package/es6/components/List/ListItem/utils/ListItemUtils.js +2 -2
  937. package/es6/components/List/ListItemText/styles/ListItemTextStyle.js +1 -2
  938. package/es6/components/Loading/styles/StyledLoadingPage.js +1 -2
  939. package/es6/components/Menu/MenuItem/MenuItem.js +1 -3
  940. package/es6/components/Menu/MenuItem/styles/MenuItemStyle.js +1 -2
  941. package/es6/components/Menu/MenuItem/utils/MenuItemUtils.js +1 -1
  942. package/es6/components/MuiExports/index.js +41 -0
  943. package/es6/components/Popper/modifiers/fixOffsetsModifer.js +1 -1
  944. package/es6/components/PortalHost/Connectable/Connectable.js +1 -1
  945. package/es6/components/PortalHost/PortalManager/PortalManager.js +1 -1
  946. package/es6/components/PortalHost/PortalManager/PortalStore.js +6 -6
  947. package/es6/components/Presence/styles/StyledPresence.js +5 -9
  948. package/es6/components/Rating/styles/RatingStyle.js +2 -4
  949. package/es6/components/Responsive/utils/getMatchedBreakpoint.js +2 -2
  950. package/es6/components/Responsive/utils/index.js +1 -0
  951. package/es6/components/Responsive/utils/types.js +1 -0
  952. package/es6/components/Snackbar/SnackbarAction/styles/StyledSnackbarContent.js +1 -2
  953. package/es6/components/Table/TableContainer/styles/TableContainerStyle.js +1 -2
  954. package/es6/components/Table/index.js +1 -0
  955. package/es6/components/Table/types.js +1 -0
  956. package/es6/components/TablePagination/TablePagination.js +1 -1
  957. package/es6/components/TablePagination/utils/TablePaginationUtils.js +3 -3
  958. package/es6/components/Tabs/Tab/styles/TabStyle.js +1 -2
  959. package/es6/components/Tabs/Tabs/MoreMenuTab/styles/MoreMenuTabStyle.js +1 -2
  960. package/es6/components/Tabs/Tabs/MoreMenuTabs/MoreMenuTabs.js +5 -5
  961. package/es6/components/Tabs/Tabs/MoreMenuTabs/utils/MoreMenuTabsUtils.js +1 -0
  962. package/es6/components/Tabs/Tabs/MoreMenuTabs/utils/index.js +1 -0
  963. package/es6/components/Tag/styles/TagStyle.js +1 -2
  964. package/es6/components/Text/Text.js +2 -1
  965. package/es6/components/Text/styles/StyledText.js +1 -2
  966. package/es6/components/Thumbnail/styles/StyledThumbnail.js +1 -2
  967. package/es6/components/Tooltip/styles/StyledTooltip.js +1 -2
  968. package/es6/components/Transitions/Transition.js +2 -1
  969. package/es6/components/Transitions/ZoomFrom/ZoomFrom.js +1 -7
  970. package/es6/components/Transitions/ZoomFrom/utils/transformToFromElm.js +1 -1
  971. package/es6/components/Transitions/ZoomInFadeOut/ZoomInFadeOut.js +4 -7
  972. package/es6/components/VirtualizedMenu/VirtualizedMenu.js +1 -1
  973. package/es6/components/VirtualizedMenu/VirtualizedMenuList.js +4 -5
  974. package/es6/components/Virtuoso/react-virtuoso/AATree.js +3 -3
  975. package/es6/components/Virtuoso/react-virtuoso/TableVirtuoso.js +4 -4
  976. package/es6/components/Virtuoso/react-virtuoso/Virtuoso.js +6 -6
  977. package/es6/components/Virtuoso/react-virtuoso/VirtuosoGrid.js +4 -4
  978. package/es6/components/Virtuoso/react-virtuoso/component-interfaces/TableVirtuoso.js +1 -0
  979. package/es6/components/Virtuoso/react-virtuoso/component-interfaces/Virtuoso.js +1 -0
  980. package/es6/components/Virtuoso/react-virtuoso/component-interfaces/VirtuosoGrid.js +1 -0
  981. package/es6/components/Virtuoso/react-virtuoso/gridSystem.js +2 -30
  982. package/es6/components/Virtuoso/react-virtuoso/hooks/useChangedChildSizes.js +1 -1
  983. package/es6/components/Virtuoso/react-virtuoso/index.js +4 -0
  984. package/es6/components/Virtuoso/react-virtuoso/interfaces.js +1 -0
  985. package/es6/components/Virtuoso/react-virtuoso/listStateSystem.js +1 -1
  986. package/es6/components/Virtuoso/react-virtuoso/listSystem.js +3 -16
  987. package/es6/components/Virtuoso/react-virtuoso/loggerSystem.js +1 -1
  988. package/es6/components/Virtuoso/react-virtuoso/react-urx/index.js +2 -2
  989. package/es6/components/Virtuoso/react-virtuoso/sizeSystem.js +5 -6
  990. package/es6/components/Virtuoso/react-virtuoso/urx/pipe.js +2 -2
  991. package/es6/components/Virtuoso/react-virtuoso/urx/streams.js +2 -2
  992. package/es6/components/Virtuoso/react-virtuoso/urx/system.js +1 -1
  993. package/es6/components/Virtuoso/react-virtuoso/urx/transformers.js +4 -4
  994. package/es6/components/Virtuoso/react-virtuoso/utils/binaryArraySearch.js +1 -1
  995. package/es6/components/index.js +2 -0
  996. package/es6/foundation/MuiExports/index.js +29 -0
  997. package/es6/foundation/config.js +3 -3
  998. package/es6/foundation/contexts/ResponsiveContext/getMatchDetail.js +5 -5
  999. package/es6/foundation/contexts/ResponsiveContext/index.js +1 -0
  1000. package/es6/foundation/contexts/ResponsiveContext/types.js +1 -0
  1001. package/es6/foundation/hoc/withResponsive/types.js +1 -0
  1002. package/es6/foundation/hoc/withResponsive/withResponsive.js +7 -6
  1003. package/es6/foundation/hooks/useAnnouncer/useAnnouncer.js +1 -1
  1004. package/es6/foundation/hooks/useId/useId.js +1 -1
  1005. package/es6/foundation/hooks/useKeyboardMoveFocus/useOnlyOneFocusable.js +5 -2
  1006. package/es6/foundation/hooks/useResizeObserver/useResizeObserver.js +2 -2
  1007. package/es6/foundation/hooks/useRetry/useRetry.js +3 -3
  1008. package/es6/foundation/hooks/useTouchMouseEvent/useTouchMouseEvent.js +1 -1
  1009. package/es6/foundation/index.js +3 -0
  1010. package/es6/foundation/styles/flexWidth.js +1 -2
  1011. package/es6/foundation/styles/newPalette.js +3 -3
  1012. package/es6/foundation/styles/px.js +1 -1
  1013. package/es6/foundation/styles/spacing.js +2 -2
  1014. package/es6/foundation/styles/typography.js +2 -2
  1015. package/es6/foundation/theme/DefaultTheme.js +1 -0
  1016. package/es6/foundation/theme/ThemeHandler.js +4 -4
  1017. package/es6/foundation/theme/ThemeProvider.js +1 -1
  1018. package/es6/foundation/theme/index.js +5 -0
  1019. package/es6/foundation/theme/palette.type.js +1 -0
  1020. package/es6/foundation/theme/paletteProp.type.js +1 -0
  1021. package/es6/foundation/theme/theme.type.js +1 -0
  1022. package/es6/foundation/theme/typography.type.js +1 -0
  1023. package/es6/foundation/theme/useThemeProps.js +1 -1
  1024. package/es6/foundation/typings/BaseColor.js +1 -0
  1025. package/es6/foundation/typings/BaseDirection.js +1 -0
  1026. package/es6/foundation/typings/BaseFocusVariant.js +1 -0
  1027. package/es6/foundation/typings/BaseFormControlLabel.js +1 -0
  1028. package/es6/foundation/typings/BaseLabelPlacement.js +1 -0
  1029. package/es6/foundation/typings/BaseProps.js +1 -0
  1030. package/es6/foundation/typings/BaseSize.js +1 -0
  1031. package/es6/foundation/typings/UnionOmit.js +1 -0
  1032. package/es6/foundation/typings/UnitMap.js +1 -0
  1033. package/es6/foundation/typings/deepPartial.js +1 -0
  1034. package/es6/foundation/typings/index.js +11 -0
  1035. package/es6/foundation/typings/notNullRecord.js +1 -0
  1036. package/es6/foundation/utils/checkDefaultPrevented.js +2 -2
  1037. package/es6/foundation/utils/classes.js +1 -1
  1038. package/es6/foundation/utils/combineProps.js +3 -3
  1039. package/es6/foundation/utils/deepmerge.js +2 -2
  1040. package/es6/foundation/utils/hasValue.js +3 -1
  1041. package/es6/foundation/utils/removeClassName.js +1 -1
  1042. package/es6/foundation/utils/withDeprecatedCheck.js +6 -6
  1043. package/foundation/MuiExports/index.d.ts +19 -0
  1044. package/foundation/MuiExports/index.js +58 -0
  1045. package/foundation/MuiExports/package.json +5 -0
  1046. package/foundation/config.d.ts +2 -2
  1047. package/foundation/config.js +6 -4
  1048. package/foundation/contexts/PortalWindowContext.d.ts +1 -2
  1049. package/foundation/contexts/PortalWindowContext.js +3 -2
  1050. package/foundation/contexts/ResponsiveContext/ResponsiveContext.d.ts +1 -2
  1051. package/foundation/contexts/ResponsiveContext/ResponsiveContext.js +3 -2
  1052. package/foundation/contexts/ResponsiveContext/breakpointList.js +1 -0
  1053. package/foundation/contexts/ResponsiveContext/getMatchDetail.js +8 -6
  1054. package/foundation/contexts/ResponsiveContext/index.js +1 -0
  1055. package/foundation/contexts/ResponsiveContext/types.d.ts +8 -8
  1056. package/foundation/hoc/withDelay/withDelay.d.ts +1 -1
  1057. package/foundation/hoc/withDelay/withDelay.js +3 -2
  1058. package/foundation/hoc/withResponsive/types.d.ts +2 -2
  1059. package/foundation/hoc/withResponsive/utils.d.ts +26 -4
  1060. package/foundation/hoc/withResponsive/utils.js +5 -2
  1061. package/foundation/hoc/withResponsive/withResponsive.d.ts +1 -1
  1062. package/foundation/hoc/withResponsive/withResponsive.js +17 -15
  1063. package/foundation/hooks/useA11yKeyEvent/useA11yKeyEvent.d.ts +2 -4
  1064. package/foundation/hooks/useA11yKeyEvent/useA11yKeyEvent.js +4 -2
  1065. package/foundation/hooks/useAnnouncer/useAnnouncer.d.ts +1 -1
  1066. package/foundation/hooks/useAnnouncer/useAnnouncer.js +7 -5
  1067. package/foundation/hooks/useAudio/useAudio.js +5 -3
  1068. package/foundation/hooks/useChange/useChange.js +11 -8
  1069. package/foundation/hooks/useControlled/useControlled.js +2 -1
  1070. package/foundation/hooks/useDebounce/useDebounce.d.ts +1 -1
  1071. package/foundation/hooks/useDebounce/useDebounce.js +6 -4
  1072. package/foundation/hooks/useEventCallback/useEventCallback.js +4 -2
  1073. package/foundation/hooks/useEventListener/useEventListener.d.ts +2 -2
  1074. package/foundation/hooks/useEventListener/useEventListener.js +7 -6
  1075. package/foundation/hooks/useEver/useEver.js +4 -2
  1076. package/foundation/hooks/useFocusInside/useFocusInside.d.ts +4 -4
  1077. package/foundation/hooks/useFocusInside/useFocusInside.js +6 -4
  1078. package/foundation/hooks/useForceUpdate/useForceUpdate.js +3 -2
  1079. package/foundation/hooks/useForkRef/useForkRef.js +1 -0
  1080. package/foundation/hooks/useGlobalListener/createGlobalListener.d.ts +2 -2
  1081. package/foundation/hooks/useGlobalListener/createGlobalListener.js +5 -3
  1082. package/foundation/hooks/useGlobalListener/useGlobalListener.d.ts +2 -2
  1083. package/foundation/hooks/useGlobalListener/useGlobalListener.js +8 -7
  1084. package/foundation/hooks/useHiddenTabindex/useHiddenTabindex.js +7 -5
  1085. package/foundation/hooks/useId/useId.js +4 -3
  1086. package/foundation/hooks/useInterval/useInterval.js +11 -9
  1087. package/foundation/hooks/useKeyDownOnce/useKeyDownOnce.d.ts +1 -2
  1088. package/foundation/hooks/useKeyDownOnce/useKeyDownOnce.js +6 -4
  1089. package/foundation/hooks/useKeyboardMoveFocus/moveIndexInTwoDimension.d.ts +1 -1
  1090. package/foundation/hooks/useKeyboardMoveFocus/moveIndexInTwoDimension.js +1 -0
  1091. package/foundation/hooks/useKeyboardMoveFocus/useKeyboardMoveFocus.d.ts +4 -5
  1092. package/foundation/hooks/useKeyboardMoveFocus/useKeyboardMoveFocus.js +8 -6
  1093. package/foundation/hooks/useKeyboardMoveFocus/useOnlyOneFocusable.d.ts +2 -3
  1094. package/foundation/hooks/useKeyboardMoveFocus/useOnlyOneFocusable.js +10 -5
  1095. package/foundation/hooks/useLongPress/useLongPress.d.ts +4 -4
  1096. package/foundation/hooks/useLongPress/useLongPress.js +17 -14
  1097. package/foundation/hooks/useMountState/useMountState.d.ts +0 -1
  1098. package/foundation/hooks/useMountState/useMountState.js +5 -3
  1099. package/foundation/hooks/useOnReRender/useOnReRender.d.ts +1 -1
  1100. package/foundation/hooks/useOnReRender/useOnReRender.js +6 -4
  1101. package/foundation/hooks/useOverflow/useOverflow.d.ts +1 -1
  1102. package/foundation/hooks/useOverflow/useOverflow.js +6 -4
  1103. package/foundation/hooks/usePrevious/usePrevious.js +3 -2
  1104. package/foundation/hooks/useRefState/useRefState.d.ts +1 -2
  1105. package/foundation/hooks/useRefState/useRefState.js +6 -4
  1106. package/foundation/hooks/useResizeObserver/useResizeObserver.d.ts +1 -1
  1107. package/foundation/hooks/useResizeObserver/useResizeObserver.js +16 -13
  1108. package/foundation/hooks/useResponsiveMatch/useResponsiveMatch.d.ts +2 -1
  1109. package/foundation/hooks/useResponsiveMatch/useResponsiveMatch.js +3 -2
  1110. package/foundation/hooks/useResultRef/useResultRef.js +3 -2
  1111. package/foundation/hooks/useRetry/useRetry.d.ts +2 -2
  1112. package/foundation/hooks/useRetry/useRetry.js +7 -5
  1113. package/foundation/hooks/useSleep/useSleep.js +7 -5
  1114. package/foundation/hooks/useThrottle/useThrottle.d.ts +1 -1
  1115. package/foundation/hooks/useThrottle/useThrottle.js +6 -4
  1116. package/foundation/hooks/useTouchMouseEvent/useTouchMouseEvent.d.ts +1 -1
  1117. package/foundation/hooks/useTouchMouseEvent/useTouchMouseEvent.js +16 -13
  1118. package/foundation/index.d.ts +1 -0
  1119. package/foundation/index.js +4 -0
  1120. package/foundation/overridableStyled.d.ts +1 -1
  1121. package/foundation/overridableStyled.js +1 -0
  1122. package/foundation/styled-components.d.ts +3 -3
  1123. package/foundation/styled-components.js +2 -1
  1124. package/foundation/styles/GlobalScrollBarStyle/GlobalScrollBarStyle.d.ts +1 -1
  1125. package/foundation/styles/GlobalScrollBarStyle/GlobalScrollBarStyle.js +2 -1
  1126. package/foundation/styles/colorManipulator.js +6 -4
  1127. package/foundation/styles/ellipsis.d.ts +1 -1
  1128. package/foundation/styles/ellipsis.js +2 -1
  1129. package/foundation/styles/fakeBorder.d.ts +3 -3
  1130. package/foundation/styles/fakeBorder.js +6 -4
  1131. package/foundation/styles/flexCenter.d.ts +1 -1
  1132. package/foundation/styles/flexCenter.js +2 -1
  1133. package/foundation/styles/flexWidth.d.ts +1 -1
  1134. package/foundation/styles/flexWidth.js +4 -3
  1135. package/foundation/styles/focusRing.d.ts +3 -3
  1136. package/foundation/styles/focusRing.js +5 -3
  1137. package/foundation/styles/focusVisible.d.ts +3 -2
  1138. package/foundation/styles/focusVisible.js +8 -5
  1139. package/foundation/styles/lineClamp.d.ts +1 -1
  1140. package/foundation/styles/lineClamp.js +2 -1
  1141. package/foundation/styles/newPalette.d.ts +3 -3
  1142. package/foundation/styles/newPalette.js +5 -4
  1143. package/foundation/styles/nonStyleButton.d.ts +1 -1
  1144. package/foundation/styles/nonStyleButton.js +2 -1
  1145. package/foundation/styles/nonTouchHoverMedia.js +1 -0
  1146. package/foundation/styles/opacity.js +3 -2
  1147. package/foundation/styles/palette.js +5 -4
  1148. package/foundation/styles/paletteContrastText.js +1 -0
  1149. package/foundation/styles/px.js +2 -1
  1150. package/foundation/styles/radius.js +1 -0
  1151. package/foundation/styles/rippleEnter.js +3 -1
  1152. package/foundation/styles/rippleStyle.d.ts +1 -1
  1153. package/foundation/styles/rippleStyle.js +4 -2
  1154. package/foundation/styles/shadows.js +1 -0
  1155. package/foundation/styles/spacing.js +2 -1
  1156. package/foundation/styles/typography.d.ts +1 -1
  1157. package/foundation/styles/typography.js +6 -5
  1158. package/foundation/styles/zIndex.js +1 -0
  1159. package/foundation/theme/ThemeHandler.d.ts +2 -2
  1160. package/foundation/theme/ThemeHandler.js +7 -6
  1161. package/foundation/theme/ThemeProvider.d.ts +3 -3
  1162. package/foundation/theme/ThemeProvider.js +10 -8
  1163. package/foundation/theme/ThemeSwitcherProvider/ThemeContext.d.ts +3 -2
  1164. package/foundation/theme/ThemeSwitcherProvider/ThemeContext.js +1 -0
  1165. package/foundation/theme/ThemeSwitcherProvider/ThemeSwitcherProvider.d.ts +2 -2
  1166. package/foundation/theme/ThemeSwitcherProvider/ThemeSwitcherProvider.js +5 -3
  1167. package/foundation/theme/ThemeSwitcherProvider/useThemeSwitcher.js +4 -2
  1168. package/foundation/theme/createTheme.js +3 -3
  1169. package/foundation/theme/index.js +7 -1
  1170. package/foundation/theme/palette.type.d.ts +2 -2
  1171. package/foundation/theme/paletteProp.type.d.ts +1 -1
  1172. package/foundation/theme/theme.type.d.ts +13 -13
  1173. package/foundation/theme/typography.type.d.ts +7 -7
  1174. package/foundation/theme/useThemeProps.js +4 -3
  1175. package/foundation/typings/BaseColor.d.ts +2 -2
  1176. package/foundation/typings/BaseDirection.d.ts +2 -2
  1177. package/foundation/typings/BaseFocusVariant.d.ts +2 -2
  1178. package/foundation/typings/BaseFormControlLabel.d.ts +1 -1
  1179. package/foundation/typings/BaseLabelPlacement.d.ts +2 -2
  1180. package/foundation/typings/BaseProps.d.ts +1 -1
  1181. package/foundation/typings/BaseSize.d.ts +3 -3
  1182. package/foundation/typings/UnionOmit.d.ts +3 -3
  1183. package/foundation/typings/UnitMap.d.ts +4 -4
  1184. package/foundation/typings/index.js +12 -0
  1185. package/foundation/typings/notNullRecord.d.ts +1 -1
  1186. package/foundation/utils/a11yKeyboardCode.js +1 -0
  1187. package/foundation/utils/checkDefaultPrevented.d.ts +1 -1
  1188. package/foundation/utils/checkDefaultPrevented.js +4 -2
  1189. package/foundation/utils/classes.d.ts +5 -2
  1190. package/foundation/utils/classes.js +4 -2
  1191. package/foundation/utils/clearReactReferencesInNode.js +2 -1
  1192. package/foundation/utils/combineProps.js +11 -8
  1193. package/foundation/utils/deepmerge.js +2 -1
  1194. package/foundation/utils/getRefElement.d.ts +1 -1
  1195. package/foundation/utils/getRefElement.js +4 -2
  1196. package/foundation/utils/getScrollbarSize.js +1 -0
  1197. package/foundation/utils/hasValue.js +1 -0
  1198. package/foundation/utils/isRcElement.js +2 -1
  1199. package/foundation/utils/isRef.js +3 -1
  1200. package/foundation/utils/isTap.d.ts +1 -1
  1201. package/foundation/utils/isTap.js +3 -1
  1202. package/foundation/utils/isUrl.js +1 -0
  1203. package/foundation/utils/omit.js +4 -2
  1204. package/foundation/utils/outerSize.js +1 -0
  1205. package/foundation/utils/parseColor.d.ts +2 -2
  1206. package/foundation/utils/parseColor.js +1 -0
  1207. package/foundation/utils/pick.js +4 -2
  1208. package/foundation/utils/preloadImg.js +1 -0
  1209. package/foundation/utils/removeClassName.d.ts +1 -1
  1210. package/foundation/utils/removeClassName.js +3 -2
  1211. package/foundation/utils/selectionHandler.js +3 -2
  1212. package/foundation/utils/shallowEqual.js +1 -0
  1213. package/foundation/utils/styleParser.js +3 -1
  1214. package/foundation/utils/swapArrayLocs.js +3 -1
  1215. package/foundation/utils/withDeprecatedCheck.d.ts +2 -2
  1216. package/foundation/utils/withDeprecatedCheck.js +10 -8
  1217. package/package.json +4 -5
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RcTextField = exports.RcOutlineTextFieldIconSizes = void 0;
3
4
  var tslib_1 = require("tslib");
4
5
  var react_1 = tslib_1.__importStar(require("react"));
5
6
  var TextField_1 = tslib_1.__importDefault(require("@material-ui/core/TextField"));
@@ -8,14 +9,14 @@ var foundation_1 = require("../../../foundation");
8
9
  var FormContext_1 = require("../Form/Form/FormContext");
9
10
  var styles_1 = require("./styles");
10
11
  var utils_1 = require("./utils");
11
- exports.RcOutlineTextFieldIconSizes = utils_1.RcOutlineTextFieldIconSizes;
12
- var combineOutlineClasses = foundation_1.combineClasses(utils_1.RcTextFieldInputClasses, utils_1.RcOutlineTextFieldInputClasses);
12
+ Object.defineProperty(exports, "RcOutlineTextFieldIconSizes", { enumerable: true, get: function () { return utils_1.RcOutlineTextFieldIconSizes; } });
13
+ var combineOutlineClasses = (0, foundation_1.combineClasses)(utils_1.RcTextFieldInputClasses, utils_1.RcOutlineTextFieldInputClasses);
13
14
  var displayName = 'RcTextField';
14
- var _RcTextField = react_1.forwardRef(function (inProps, ref) {
15
- var props = foundation_1.useThemeProps({ props: inProps, name: 'RcTextField' });
15
+ var _RcTextField = (0, react_1.forwardRef)(function (inProps, ref) {
16
+ var props = (0, foundation_1.useThemeProps)({ props: inProps, name: 'RcTextField' });
16
17
  if (process.env.NODE_ENV !== 'production') {
17
18
  // eslint-disable-next-line react-hooks/rules-of-hooks
18
- foundation_1.useDeprecatedCheck(RcTextField, props, [
19
+ (0, foundation_1.useDeprecatedCheck)(RcTextField, props, [
19
20
  {
20
21
  prop: 'focusOnMount',
21
22
  time: '2021-4',
@@ -49,11 +50,11 @@ var _RcTextField = react_1.forwardRef(function (inProps, ref) {
49
50
  variant = props.variant, radius = props.radius, size = props.size, align = props.align, textVariant = props.textVariant, gutterBottom = props.gutterBottom, color = props.color,
50
51
  // #endregion
51
52
  rest = tslib_1.__rest(props, ["classes", "InputLabelProps", "FormHelperTextProps", "value", "focusOnMount", "selectOnMount", "clearAriaLabel", "autoFocus", "InputProps", "error", "helperText", "defaultValue", "inputRef", "autoSelect", "autoFocusDelay", "clearLabel", "clearButtonProps", "clearBtn", "validate", "onChange", "onBlur", "onFocus", "onClear", "id", "variant", "radius", "size", "align", "textVariant", "gutterBottom", "color"]);
52
- var formContext = FormContext_1.useRcFormContext();
53
- var innerRef = react_1.useRef();
54
- var inputRef = foundation_1.useForkRef(inputRefProp, innerRef);
55
- var _c = tslib_1.__read(react_1.useState(''), 2), validateMessage = _c[0], setValidateMessage = _c[1];
56
- var runValidate = foundation_1.useEventCallback(function (value) {
53
+ var formContext = (0, FormContext_1.useRcFormContext)();
54
+ var innerRef = (0, react_1.useRef)();
55
+ var inputRef = (0, foundation_1.useForkRef)(inputRefProp, innerRef);
56
+ var _c = tslib_1.__read((0, react_1.useState)(''), 2), validateMessage = _c[0], setValidateMessage = _c[1];
57
+ var runValidate = (0, foundation_1.useEventCallback)(function (value) {
57
58
  if (value === void 0) { value = valueProp; }
58
59
  var validateMessage = false;
59
60
  if (validate) {
@@ -62,7 +63,7 @@ var _RcTextField = react_1.forwardRef(function (inProps, ref) {
62
63
  }
63
64
  return validateMessage;
64
65
  });
65
- var handleClear = foundation_1.useEventCallback(function (event) {
66
+ var handleClear = (0, foundation_1.useEventCallback)(function (event) {
66
67
  var fakeEvent = { target: { value: '' } };
67
68
  onClear === null || onClear === void 0 ? void 0 : onClear(event);
68
69
  onChange === null || onChange === void 0 ? void 0 : onChange(fakeEvent);
@@ -71,7 +72,7 @@ var _RcTextField = react_1.forwardRef(function (inProps, ref) {
71
72
  var endAdornment = (function () {
72
73
  var getCleanButton = function () {
73
74
  var iconTitle = clearLabel || (clearButtonProps === null || clearButtonProps === void 0 ? void 0 : clearButtonProps.title);
74
- var combineClearProps = foundation_1.combineProps({
75
+ var combineClearProps = (0, foundation_1.combineProps)({
75
76
  TooltipProps: {
76
77
  tooltipForceHide: !iconTitle,
77
78
  },
@@ -90,7 +91,7 @@ var _RcTextField = react_1.forwardRef(function (inProps, ref) {
90
91
  }
91
92
  return clearBtn ? getCleanButton() : undefined;
92
93
  })();
93
- var events = foundation_1.combineProps({
94
+ var events = (0, foundation_1.combineProps)({
94
95
  onBlur: function () {
95
96
  runValidate();
96
97
  },
@@ -103,19 +104,19 @@ var _RcTextField = react_1.forwardRef(function (inProps, ref) {
103
104
  onBlur: onBlur,
104
105
  onFocus: onFocus,
105
106
  });
106
- var classes = react_1.useMemo(function () { return foundation_1.combineClasses(utils_1.RcTextFieldClasses, classesProp); }, [classesProp]);
107
+ var classes = (0, react_1.useMemo)(function () { return (0, foundation_1.combineClasses)(utils_1.RcTextFieldClasses, classesProp); }, [classesProp]);
107
108
  var additionClasses = {
108
109
  outline: combineOutlineClasses,
109
110
  borderLess: undefined,
110
111
  standard: undefined,
111
112
  }[variant];
112
- var InputProps = foundation_1.combineProps({
113
+ var InputProps = (0, foundation_1.combineProps)({
113
114
  classes: additionClasses || utils_1.RcTextFieldInputClasses,
114
115
  disableUnderline: ['outline', 'borderLess', 'inline'].includes(variant),
115
116
  }, tslib_1.__assign(tslib_1.__assign({}, InputPropsProp), { endAdornment: endAdornment }));
116
- var FormHelperTextProps = foundation_1.combineProps({ classes: utils_1.RcTextFieldFormHelperTextClasses }, FormHelperTextPropsProp);
117
- var InputLabelProps = foundation_1.combineProps({ classes: utils_1.RcTextFieldInputLabelClasses, shrink: true }, InputLabelPropsProp);
118
- react_1.useLayoutEffect(function () {
117
+ var FormHelperTextProps = (0, foundation_1.combineProps)({ classes: utils_1.RcTextFieldFormHelperTextClasses }, FormHelperTextPropsProp);
118
+ var InputLabelProps = (0, foundation_1.combineProps)({ classes: utils_1.RcTextFieldInputLabelClasses, shrink: true }, InputLabelPropsProp);
119
+ (0, react_1.useLayoutEffect)(function () {
119
120
  var inputElm = innerRef.current;
120
121
  var autoFocus = autoFocusProp || (InputPropsProp === null || InputPropsProp === void 0 ? void 0 : InputPropsProp.autoFocus);
121
122
  var timerId = null;
@@ -137,14 +138,14 @@ var _RcTextField = react_1.forwardRef(function (inProps, ref) {
137
138
  if (timerId)
138
139
  clearTimeout(timerId);
139
140
  if (inputElm) {
140
- foundation_1.clearReactReferencesInNode(inputElm);
141
+ (0, foundation_1.clearReactReferencesInNode)(inputElm);
141
142
  }
142
143
  };
143
144
  // eslint-disable-next-line react-hooks/exhaustive-deps
144
145
  }, []);
145
146
  // TODO: remove this after upgrade to Mui5
146
- var id = foundation_1.useId(idProp);
147
- react_1.useEffect(function () {
147
+ var id = (0, foundation_1.useId)(idProp);
148
+ (0, react_1.useEffect)(function () {
148
149
  if (id)
149
150
  formContext.set(id, { validate: function () { return runValidate(); } });
150
151
  return function () {
@@ -156,9 +157,9 @@ var _RcTextField = react_1.forwardRef(function (inProps, ref) {
156
157
  return (react_1.default.createElement(TextField_1.default, tslib_1.__assign({}, rest, events, { id: id, value: valueProp, onChange: onChange, error: validate ? !!validateMessage : error, helperText: validateMessage || helperText, classes: classes, FormHelperTextProps: FormHelperTextProps, InputLabelProps: InputLabelProps, InputProps: InputProps, inputRef: inputRef, ref: ref })));
157
158
  });
158
159
  /** @release */
159
- var RcTextField = foundation_1.styled(_RcTextField).attrs(function (_a) {
160
+ var RcTextField = (0, foundation_1.styled)(_RcTextField).attrs(function (_a) {
160
161
  var _b = _a.defaultValue, defaultValue = _b === void 0 ? '' : _b, valueProp = _a.value, onChangeProp = _a.onChange, rest = tslib_1.__rest(_a, ["defaultValue", "value", "onChange"]);
161
- var _c = tslib_1.__read(foundation_1.useControlled({
162
+ var _c = tslib_1.__read((0, foundation_1.useControlled)({
162
163
  default: defaultValue,
163
164
  controlled: valueProp,
164
165
  name: displayName,
@@ -1,5 +1,12 @@
1
1
  import React from 'react';
2
2
  import { WithTooltipProps } from '../../../Tooltip';
3
- export declare const ClearIconButton: React.ComponentType<WithTooltipProps<Pick<import("styled-components").ThemedOuterStyledProps<Pick<{}, never> & Pick<Pick<Pick<WithTooltipProps<Pick<import("../../../Buttons/IconButton/IconButton").RcIconButtonProps, "symbol" | "key" | "form" | "className" | "color" | "id" | "lang" | "name" | "style" | "type" | "role" | "tabIndex" | "elevation" | "href" | "radius" | "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" | "slot" | "title" | "download" | "translate" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "size" | "value" | "variant" | "innerRef" | "disabled" | "action" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "loading" | "CircularProgressProps" | "iconColor" | "iconSize" | "invisible" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "IconProps" | "focusVariant" | "shouldPersistBg" | "stretchIcon" | "useColorWhenDisabled" | "activeElevation" | "disabledFakeBorder" | "alwaysEnableTooltip" | "tooltipTitle" | "tooltipPlacement" | "disableToolTip" | "popperProps" | "tooltipForceHide" | "externalLink" | "ariaLabel" | "aRef"> & React.RefAttributes<HTMLButtonElement>>, "symbol" | "key" | "form" | "className" | "color" | "id" | "lang" | "name" | "style" | "type" | "role" | "tabIndex" | "elevation" | "href" | "radius" | "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" | "slot" | "title" | "download" | "translate" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "size" | "value" | "variant" | "innerRef" | "disabled" | "action" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "loading" | "CircularProgressProps" | "iconColor" | "iconSize" | "invisible" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "IconProps" | "focusVariant" | "useRcTooltip" | "TooltipProps" | "shouldPersistBg" | "stretchIcon" | "useColorWhenDisabled" | "activeElevation" | "disabledFakeBorder" | "alwaysEnableTooltip" | "tooltipTitle" | "tooltipPlacement" | "disableToolTip" | "popperProps" | "tooltipForceHide" | "externalLink" | "ariaLabel" | "aRef"> & React.RefAttributes<any>, "symbol" | "ref" | "key" | "form" | "className" | "color" | "id" | "lang" | "name" | "style" | "type" | "role" | "tabIndex" | "elevation" | "href" | "radius" | "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" | "slot" | "title" | "download" | "translate" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "size" | "value" | "variant" | "innerRef" | "disabled" | "action" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "loading" | "CircularProgressProps" | "iconColor" | "iconSize" | "invisible" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "IconProps" | "focusVariant" | "useRcTooltip" | "TooltipProps" | "shouldPersistBg" | "stretchIcon" | "useColorWhenDisabled" | "activeElevation" | "disabledFakeBorder" | "alwaysEnableTooltip" | "tooltipTitle" | "tooltipPlacement" | "disableToolTip" | "popperProps" | "tooltipForceHide" | "externalLink" | "ariaLabel" | "aRef"> & {
3
+ export declare const ClearIconButton: React.ComponentType<WithTooltipProps<Omit<{
4
+ [x: string]: any;
5
+ [x: number]: any;
6
+ [x: symbol]: any;
7
+ } & {
4
8
  theme?: import("../../../../foundation").RcTheme | undefined;
5
- }, "symbol" | "ref" | "key" | "form" | "className" | "color" | "id" | "lang" | "name" | "style" | "type" | "role" | "tabIndex" | "elevation" | "href" | "radius" | "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" | "slot" | "title" | "download" | "theme" | "translate" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "size" | "value" | "variant" | "innerRef" | "disabled" | "action" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "loading" | "CircularProgressProps" | "iconColor" | "iconSize" | "invisible" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "IconProps" | "focusVariant" | "useRcTooltip" | "TooltipProps" | "shouldPersistBg" | "stretchIcon" | "useColorWhenDisabled" | "activeElevation" | "disabledFakeBorder" | "alwaysEnableTooltip" | "tooltipTitle" | "tooltipPlacement" | "disableToolTip" | "popperProps" | "tooltipForceHide" | "externalLink" | "ariaLabel" | "aRef">, import("../../../../foundation").RcTheme>, "symbol" | "key" | "form" | "className" | "color" | "id" | "lang" | "name" | "style" | "type" | "role" | "tabIndex" | "elevation" | "href" | "radius" | "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" | "slot" | "title" | "download" | "theme" | "translate" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "size" | "value" | "variant" | "innerRef" | "disabled" | "action" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "loading" | "CircularProgressProps" | "iconColor" | "iconSize" | "invisible" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "IconProps" | "focusVariant" | "useRcTooltip" | "TooltipProps" | "shouldPersistBg" | "stretchIcon" | "useColorWhenDisabled" | "activeElevation" | "disabledFakeBorder" | "alwaysEnableTooltip" | "tooltipTitle" | "tooltipPlacement" | "disableToolTip" | "popperProps" | "tooltipForceHide" | "externalLink" | "ariaLabel" | "aRef" | "as"> & React.RefAttributes<any>>>;
9
+ } & {
10
+ as?: string | React.ComponentType<any> | undefined;
11
+ forwardedAs?: string | React.ComponentType<any> | undefined;
12
+ }, "ref"> & React.RefAttributes<any>>>;
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ClearIconButton = void 0;
3
4
  var tslib_1 = require("tslib");
4
5
  var react_1 = tslib_1.__importStar(require("react"));
5
6
  var juno_icon_1 = require("@ringcentral/juno-icon");
@@ -7,8 +8,8 @@ var foundation_1 = require("../../../../foundation");
7
8
  var IconButton_1 = require("../../../Buttons/IconButton");
8
9
  var Box_1 = require("../../../Box");
9
10
  var Tooltip_1 = require("../../../Tooltip");
10
- var FakeButton = foundation_1.styled(IconButton_1.RcIconButton)(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n position: absolute;\n right: 0;\n pointer-events: none;\n"], ["\n position: absolute;\n right: 0;\n pointer-events: none;\n"])));
11
- var _ClearIconButton = react_1.forwardRef(function (_a, ref) {
11
+ var FakeButton = (0, foundation_1.styled)(IconButton_1.RcIconButton)(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n position: absolute;\n right: 0;\n pointer-events: none;\n"], ["\n position: absolute;\n right: 0;\n pointer-events: none;\n"])));
12
+ var _ClearIconButton = (0, react_1.forwardRef)(function (_a, ref) {
12
13
  var onMouseDown = _a.onMouseDown, size = _a.size, iconSize = _a.iconSize, rest = tslib_1.__rest(_a, ["onMouseDown", "size", "iconSize"]);
13
14
  return (react_1.default.createElement(Box_1.RcBox, { display: "inline-flex", alignItems: "center", position: "relative" },
14
15
  react_1.default.createElement(IconButton_1.RcIconButton, tslib_1.__assign({ type: "button", "aria-hidden": true, variant: "plain", symbol: juno_icon_1.DeleteCircle, tabIndex: -1,
@@ -20,6 +21,6 @@ var _ClearIconButton = react_1.forwardRef(function (_a, ref) {
20
21
  react_1.default.createElement(FakeButton, { variant: "plain", as: "div", size: size, ref: ref })));
21
22
  });
22
23
  // TODO: fix this after upgarde ts
23
- exports.ClearIconButton = foundation_1.styled(Tooltip_1.withTooltip(_ClearIconButton))(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n display: flex;\n align-items: center;\n position: relative;\n"], ["\n display: flex;\n align-items: center;\n position: relative;\n"])));
24
+ exports.ClearIconButton = (0, foundation_1.styled)((0, Tooltip_1.withTooltip)(_ClearIconButton))(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n display: flex;\n align-items: center;\n position: relative;\n"], ["\n display: flex;\n align-items: center;\n position: relative;\n"])));
24
25
  exports.ClearIconButton.defaultProps = { useRcTooltip: true };
25
26
  var templateObject_1, templateObject_2;
@@ -1,18 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OutlineTextFieldStyle = void 0;
3
4
  var tslib_1 = require("tslib");
4
5
  var foundation_1 = require("../../../../foundation");
5
6
  var utils_1 = require("../utils");
6
- exports.OutlineTextFieldStyle = function (_a) {
7
+ var OutlineTextFieldStyle = function (_a) {
7
8
  var radius = _a.radius, size = _a.size, colorProp = _a.color, multiline = _a.multiline;
8
- var height = foundation_1.px(utils_1.RcOutlineTextFieldHeights[size]);
9
+ var height = (0, foundation_1.px)(utils_1.RcOutlineTextFieldHeights[size]);
9
10
  var _b = utils_1.RcOutlineTextFieldSpaces[size], inside = _b.inside, outside = _b.outside, insideLeft = _b.insideLeft, y = _b.y;
10
11
  var labelMargin = utils_1.RcOutlineTextFieldLabelMargins[size];
11
12
  var typographyToken = utils_1.RcOutlineTextFieldFontStyles[size];
12
- var currRadius = foundation_1.radius(radius);
13
- var borderColor = foundation_1.getParsePaletteColor(colorProp, foundation_1.palette2('neutral', 'l03'));
14
- var focusBorderColor = foundation_1.getParsePaletteColor(colorProp, foundation_1.palette2('interactive', 'f01'));
13
+ var currRadius = (0, foundation_1.radius)(radius);
14
+ var borderColor = (0, foundation_1.getParsePaletteColor)(colorProp, (0, foundation_1.palette2)('neutral', 'l03'));
15
+ var focusBorderColor = (0, foundation_1.getParsePaletteColor)(colorProp, (0, foundation_1.palette2)('interactive', 'f01'));
15
16
  // `-webkit-tap-highlight-color` for cover background color, prevent color be cover by browser
16
- return foundation_1.css(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n .", " {\n ", ";\n }\n\n ", ";\n\n * + .", " {\n margin-left: ", ";\n }\n\n &.", " {\n label + .", " {\n margin-top: ", ";\n }\n }\n\n .", " {\n -webkit-tap-highlight-color: transparent;\n min-height: ", ";\n background: ", ";\n padding: ", ";\n border-radius: ", ";\n\n &:before {\n content: '';\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n border-radius: ", ";\n transition: none;\n border-bottom: none !important;\n pointer-events: none;\n ", ";\n }\n\n &:not(.", "):not(.", "):hover {\n background: ", ";\n }\n }\n\n .", " {\n &:before {\n ", ";\n }\n }\n\n .", " {\n &:before {\n ", ";\n }\n }\n\n .", " {\n background: ", ";\n &:before {\n ", ";\n }\n }\n "], ["\n .", " {\n ", ";\n }\n\n ", ";\n\n * + .", " {\n margin-left: ", ";\n }\n\n &.", " {\n label + .", " {\n margin-top: ", ";\n }\n }\n\n .", " {\n -webkit-tap-highlight-color: transparent;\n min-height: ", ";\n background: ", ";\n padding: ", ";\n border-radius: ", ";\n\n &:before {\n content: '';\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n border-radius: ", ";\n transition: none;\n border-bottom: none !important;\n pointer-events: none;\n ", ";\n }\n\n &:not(.", "):not(.", "):hover {\n background: ", ";\n }\n }\n\n .", " {\n &:before {\n ", ";\n }\n }\n\n .", " {\n &:before {\n ", ";\n }\n }\n\n .", " {\n background: ", ";\n &:before {\n ", ";\n }\n }\n "])), utils_1.RcOutlineTextFieldInputClasses.input, foundation_1.typography(typographyToken), utils_1.belowIconButtonSpacing(foundation_1.spacing(inside)), utils_1.RcOutlineTextFieldInputClasses.input, foundation_1.spacing(insideLeft || inside), utils_1.RcTextFieldClasses.root, utils_1.RcOutlineTextFieldInputClasses.root, foundation_1.spacing(labelMargin), utils_1.RcOutlineTextFieldInputClasses.root, height, foundation_1.palette2('neutral', 'b01'), foundation_1.spacing(multiline ? y : 0, outside), currRadius, currRadius, foundation_1.fakeBorder({ color: borderColor }), utils_1.RcOutlineTextFieldInputClasses.focused, utils_1.RcOutlineTextFieldInputClasses.disabled, foundation_1.palette2('neutral', 'b02'), utils_1.RcOutlineTextFieldInputClasses.focused, foundation_1.fakeBorder({ color: focusBorderColor }), utils_1.RcOutlineTextFieldInputClasses.error, foundation_1.fakeBorder({ color: foundation_1.palette2('danger', 'f02') }), utils_1.RcOutlineTextFieldInputClasses.disabled, foundation_1.palette2('neutral', 'b03'), foundation_1.fakeBorder({ color: foundation_1.palette2('disabled', 'f02') }));
17
+ return (0, foundation_1.css)(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n .", " {\n ", ";\n }\n\n ", ";\n\n * + .", " {\n margin-left: ", ";\n }\n\n &.", " {\n label + .", " {\n margin-top: ", ";\n }\n }\n\n .", " {\n -webkit-tap-highlight-color: transparent;\n min-height: ", ";\n background: ", ";\n padding: ", ";\n border-radius: ", ";\n\n &:before {\n content: '';\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n border-radius: ", ";\n transition: none;\n border-bottom: none !important;\n pointer-events: none;\n ", ";\n }\n\n &:not(.", "):not(.", "):hover {\n background: ", ";\n }\n }\n\n .", " {\n &:before {\n ", ";\n }\n }\n\n .", " {\n &:before {\n ", ";\n }\n }\n\n .", " {\n background: ", ";\n &:before {\n ", ";\n }\n }\n "], ["\n .", " {\n ", ";\n }\n\n ", ";\n\n * + .", " {\n margin-left: ", ";\n }\n\n &.", " {\n label + .", " {\n margin-top: ", ";\n }\n }\n\n .", " {\n -webkit-tap-highlight-color: transparent;\n min-height: ", ";\n background: ", ";\n padding: ", ";\n border-radius: ", ";\n\n &:before {\n content: '';\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n border-radius: ", ";\n transition: none;\n border-bottom: none !important;\n pointer-events: none;\n ", ";\n }\n\n &:not(.", "):not(.", "):hover {\n background: ", ";\n }\n }\n\n .", " {\n &:before {\n ", ";\n }\n }\n\n .", " {\n &:before {\n ", ";\n }\n }\n\n .", " {\n background: ", ";\n &:before {\n ", ";\n }\n }\n "])), utils_1.RcOutlineTextFieldInputClasses.input, (0, foundation_1.typography)(typographyToken), (0, utils_1.belowIconButtonSpacing)((0, foundation_1.spacing)(inside)), utils_1.RcOutlineTextFieldInputClasses.input, (0, foundation_1.spacing)(insideLeft || inside), utils_1.RcTextFieldClasses.root, utils_1.RcOutlineTextFieldInputClasses.root, (0, foundation_1.spacing)(labelMargin), utils_1.RcOutlineTextFieldInputClasses.root, height, (0, foundation_1.palette2)('neutral', 'b01'), (0, foundation_1.spacing)(multiline ? y : 0, outside), currRadius, currRadius, (0, foundation_1.fakeBorder)({ color: borderColor }), utils_1.RcOutlineTextFieldInputClasses.focused, utils_1.RcOutlineTextFieldInputClasses.disabled, (0, foundation_1.palette2)('neutral', 'b02'), utils_1.RcOutlineTextFieldInputClasses.focused, (0, foundation_1.fakeBorder)({ color: focusBorderColor }), utils_1.RcOutlineTextFieldInputClasses.error, (0, foundation_1.fakeBorder)({ color: (0, foundation_1.palette2)('danger', 'f02') }), utils_1.RcOutlineTextFieldInputClasses.disabled, (0, foundation_1.palette2)('neutral', 'b03'), (0, foundation_1.fakeBorder)({ color: (0, foundation_1.palette2)('disabled', 'f02') }));
17
18
  };
19
+ exports.OutlineTextFieldStyle = OutlineTextFieldStyle;
18
20
  var templateObject_1;
@@ -4,5 +4,5 @@ export declare const textColor: import("../../../../foundation/styles/newPalette
4
4
  export declare const disabledColor: import("../../../../foundation/styles/newPalette").PaletteReturnType;
5
5
  export declare const placeholderColor: import("../../../../foundation/styles/newPalette").PaletteReturnType;
6
6
  export declare const RcDefaultTextFieldWidth = "168px";
7
- export declare const clearBtnInactiveStyle: import("styled-components").InterpolationValue[];
7
+ export declare const clearBtnInactiveStyle: import("styled-components").FlattenSimpleInterpolation;
8
8
  export declare const TextFieldStyle: RcThemedStyled<RcTextFieldProps, any>;
@@ -1,32 +1,32 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TextFieldStyle = exports.clearBtnInactiveStyle = exports.RcDefaultTextFieldWidth = exports.placeholderColor = exports.disabledColor = exports.textColor = void 0;
3
4
  var tslib_1 = require("tslib");
4
5
  var foundation_1 = require("../../../../foundation");
5
6
  var utils_1 = require("../../../Buttons/IconButton/utils");
6
7
  var utils_2 = require("../utils");
7
8
  var ClearIconButton_1 = require("./ClearIconButton");
8
9
  var OutlineTextFieldStyle_1 = require("./OutlineTextFieldStyle");
9
- var idleColor = foundation_1.palette2('neutral', 'f04');
10
- var errorTextColor = foundation_1.palette2('danger', 'f02');
11
- var errorColor = foundation_1.palette2('danger', 'f02');
12
- exports.textColor = foundation_1.palette2('neutral', 'f06');
13
- exports.disabledColor = foundation_1.palette2('disabled', 'f02');
14
- exports.placeholderColor = foundation_1.palette2('neutral', 'f03');
10
+ var idleColor = (0, foundation_1.palette2)('neutral', 'f04');
11
+ var errorTextColor = (0, foundation_1.palette2)('danger', 'f02');
12
+ var errorColor = (0, foundation_1.palette2)('danger', 'f02');
13
+ exports.textColor = (0, foundation_1.palette2)('neutral', 'f06');
14
+ exports.disabledColor = (0, foundation_1.palette2)('disabled', 'f02');
15
+ exports.placeholderColor = (0, foundation_1.palette2)('neutral', 'f03');
15
16
  exports.RcDefaultTextFieldWidth = '168px';
16
- var focusWithNotDisabled = "." + utils_2.RcTextFieldInputClasses.root + ":hover:not(." + utils_2.RcTextFieldInputClasses.disabled + ")";
17
- var TextFieldInputHoverFocusStyle = foundation_1.css(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n ", " {\n display: inline-flex;\n }\n"], ["\n ", " {\n display: inline-flex;\n }\n"])), ClearIconButton_1.ClearIconButton);
18
- exports.clearBtnInactiveStyle = foundation_1.css(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n ", " {\n ", " {\n ", "\n }\n }\n\n .", " {\n ", "\n }\n"], ["\n ", " {\n ", " {\n ", "\n }\n }\n\n .", " {\n ", "\n }\n"])), foundation_1.nonTouchHoverMedia, focusWithNotDisabled, TextFieldInputHoverFocusStyle, utils_2.RcTextFieldInputClasses.focused, TextFieldInputHoverFocusStyle);
19
- exports.TextFieldStyle = function (props) {
17
+ var focusWithNotDisabled = ".".concat(utils_2.RcTextFieldInputClasses.root, ":hover:not(.").concat(utils_2.RcTextFieldInputClasses.disabled, ")");
18
+ var TextFieldInputHoverFocusStyle = (0, foundation_1.css)(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n ", " {\n display: inline-flex;\n }\n"], ["\n ", " {\n display: inline-flex;\n }\n"])), ClearIconButton_1.ClearIconButton);
19
+ exports.clearBtnInactiveStyle = (0, foundation_1.css)(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n ", " {\n ", " {\n ", "\n }\n }\n\n .", " {\n ", "\n }\n"], ["\n ", " {\n ", " {\n ", "\n }\n }\n\n .", " {\n ", "\n }\n"])), foundation_1.nonTouchHoverMedia, focusWithNotDisabled, TextFieldInputHoverFocusStyle, utils_2.RcTextFieldInputClasses.focused, TextFieldInputHoverFocusStyle);
20
+ var TextFieldStyle = function (props) {
20
21
  var value = props.value, variant = props.variant, fullWidth = props.fullWidth, clearBtn = props.clearBtn, size = props.size, textVariant = props.textVariant, gutterBottom = props.gutterBottom, align = props.align, colorProp = props.color;
21
- var showClean = foundation_1.isFilled({ value: value });
22
- var color = foundation_1.getParsePaletteColor(colorProp, foundation_1.palette2('interactive', 'f01'));
23
- var labelRootColor = foundation_1.getParsePaletteColor(colorProp, idleColor);
24
- var underlineColor = foundation_1.getParsePaletteColor(colorProp, foundation_1.palette2('neutral', 'f02'));
25
- var underlineFocusColor = foundation_1.getParsePaletteColor(colorProp, foundation_1.palette2('neutral', 'f06'));
26
- return foundation_1.css(templateObject_5 || (templateObject_5 = tslib_1.__makeTemplateObject(["\n ", ";\n\n width: ", ";\n\n ", ";\n\n .", " {\n ", ";\n color: ", ";\n transform: scale(1);\n }\n\n .", " {\n color: ", ";\n }\n\n .", " {\n color: ", ";\n\n ", " {\n display: none;\n }\n }\n\n ", ";\n\n .", " {\n ", ";\n text-align: ", ";\n\n ::placeholder {\n color: ", ";\n opacity: 1;\n }\n\n &:placeholder-shown {\n ", "\n }\n\n ", ";\n }\n\n .", " {\n &:before {\n border-bottom-color: ", ";\n }\n\n ", " {\n &:hover:not(.", ") {\n &:before {\n border-bottom-color: ", ";\n }\n }\n }\n\n &:after {\n border-bottom-color: ", ";\n }\n }\n\n .", " {\n &:after {\n border-bottom-color: ", ";\n }\n }\n\n .", " {\n color: ", ";\n // * safari need that in disabled input\n -webkit-text-fill-color: ", ";\n ::placeholder {\n color: ", ";\n }\n &:before {\n border-bottom-style: solid;\n border-bottom-color: ", ";\n }\n &:after {\n border-bottom-style: none;\n }\n }\n\n .", " {\n ", ";\n color: ", ";\n }\n\n .", ",\n .", " {\n color: ", ";\n }\n\n .", ",\n .", " {\n color: ", ";\n }\n\n /* clears the 'X' from Internet Explorer */\n input[type='search']::-ms-clear,\n input[type='search']::-ms-reveal {\n display: none;\n width: 0;\n height: 0;\n }\n\n /* clears the 'X' from Chrome */\n input[type='search']::-webkit-search-decoration,\n input[type='search']::-webkit-search-cancel-button,\n input[type='search']::-webkit-search-results-button,\n input[type='search']::-webkit-search-results-decoration {\n display: none;\n }\n\n ", "\n "], ["\n ", ";\n\n width: ", ";\n\n ",
27
- ";\n\n .", " {\n ", ";\n color: ", ";\n transform: scale(1);\n }\n\n .", " {\n color: ", ";\n }\n\n .", " {\n color: ", ";\n\n ", " {\n display: none;\n }\n }\n\n ", ";\n\n .", " {\n ", ";\n text-align: ", ";\n\n ::placeholder {\n color: ", ";\n opacity: 1;\n }\n\n &:placeholder-shown {\n ", "\n }\n\n ",
28
- ";\n }\n\n .", " {\n &:before {\n border-bottom-color: ", ";\n }\n\n ", " {\n &:hover:not(.", ") {\n &:before {\n border-bottom-color: ", ";\n }\n }\n }\n\n &:after {\n border-bottom-color: ", ";\n }\n }\n\n .", " {\n &:after {\n border-bottom-color: ", ";\n }\n }\n\n .", " {\n color: ", ";\n // * safari need that in disabled input\n -webkit-text-fill-color: ", ";\n ::placeholder {\n color: ", ";\n }\n &:before {\n border-bottom-style: solid;\n border-bottom-color: ", ";\n }\n &:after {\n border-bottom-style: none;\n }\n }\n\n .", " {\n ", ";\n color: ", ";\n }\n\n .", ",\n .", " {\n color: ", ";\n }\n\n .", ",\n .", " {\n color: ", ";\n }\n\n /* clears the 'X' from Internet Explorer */\n input[type='search']::-ms-clear,\n input[type='search']::-ms-reveal {\n display: none;\n width: 0;\n height: 0;\n }\n\n /* clears the 'X' from Chrome */\n input[type='search']::-webkit-search-decoration,\n input[type='search']::-webkit-search-cancel-button,\n input[type='search']::-webkit-search-results-button,\n input[type='search']::-webkit-search-results-decoration {\n display: none;\n }\n\n ", "\n "])), utils_2.belowIconButtonSpacing(foundation_1.spacing(3)), !fullWidth && exports.RcDefaultTextFieldWidth, gutterBottom && foundation_1.css(templateObject_3 || (templateObject_3 = tslib_1.__makeTemplateObject(["\n &.", " {\n margin: 0 0 ", " 0;\n }\n "], ["\n &.", " {\n margin: 0 0 ", " 0;\n }\n "])), utils_2.RcTextFieldClasses.root, foundation_1.spacing(4)), utils_2.RcTextFieldInputLabelClasses.root, foundation_1.typography('caption2'), labelRootColor, utils_2.RcTextFieldInputLabelClasses.focused, color, utils_2.RcTextFieldInputClasses.root, exports.textColor, ClearIconButton_1.ClearIconButton, showClean && exports.clearBtnInactiveStyle, utils_2.RcTextFieldInputClasses.input, foundation_1.typography(variant === 'borderLess' ? textVariant : 'subheading1'), align, exports.placeholderColor, foundation_1.ellipsis, clearBtn &&
22
+ var showClean = (0, foundation_1.isFilled)({ value: value });
23
+ var color = (0, foundation_1.getParsePaletteColor)(colorProp, (0, foundation_1.palette2)('interactive', 'f01'));
24
+ var labelRootColor = (0, foundation_1.getParsePaletteColor)(colorProp, idleColor);
25
+ var underlineColor = (0, foundation_1.getParsePaletteColor)(colorProp, (0, foundation_1.palette2)('neutral', 'f02'));
26
+ var underlineFocusColor = (0, foundation_1.getParsePaletteColor)(colorProp, (0, foundation_1.palette2)('neutral', 'f06'));
27
+ return (0, foundation_1.css)(templateObject_5 || (templateObject_5 = tslib_1.__makeTemplateObject(["\n ", ";\n\n width: ", ";\n\n ", ";\n\n .", " {\n ", ";\n color: ", ";\n transform: scale(1);\n }\n\n .", " {\n color: ", ";\n }\n\n .", " {\n color: ", ";\n\n ", " {\n display: none;\n }\n }\n\n ", ";\n\n .", " {\n ", ";\n text-align: ", ";\n\n ::placeholder {\n color: ", ";\n opacity: 1;\n }\n\n &:placeholder-shown {\n ", "\n }\n\n ", ";\n }\n\n .", " {\n &:before {\n border-bottom-color: ", ";\n }\n\n ", " {\n &:hover:not(.", ") {\n &:before {\n border-bottom-color: ", ";\n }\n }\n }\n\n &:after {\n border-bottom-color: ", ";\n }\n }\n\n .", " {\n &:after {\n border-bottom-color: ", ";\n }\n }\n\n .", " {\n color: ", ";\n // * safari need that in disabled input\n -webkit-text-fill-color: ", ";\n ::placeholder {\n color: ", ";\n }\n &:before {\n border-bottom-style: solid;\n border-bottom-color: ", ";\n }\n &:after {\n border-bottom-style: none;\n }\n }\n\n .", " {\n ", ";\n color: ", ";\n }\n\n .", ",\n .", " {\n color: ", ";\n }\n\n .", ",\n .", " {\n color: ", ";\n }\n\n /* clears the 'X' from Internet Explorer */\n input[type='search']::-ms-clear,\n input[type='search']::-ms-reveal {\n display: none;\n width: 0;\n height: 0;\n }\n\n /* clears the 'X' from Chrome */\n input[type='search']::-webkit-search-decoration,\n input[type='search']::-webkit-search-cancel-button,\n input[type='search']::-webkit-search-results-button,\n input[type='search']::-webkit-search-results-decoration {\n display: none;\n }\n\n ", "\n "], ["\n ", ";\n\n width: ", ";\n\n ", ";\n\n .", " {\n ", ";\n color: ", ";\n transform: scale(1);\n }\n\n .", " {\n color: ", ";\n }\n\n .", " {\n color: ", ";\n\n ", " {\n display: none;\n }\n }\n\n ", ";\n\n .", " {\n ", ";\n text-align: ", ";\n\n ::placeholder {\n color: ", ";\n opacity: 1;\n }\n\n &:placeholder-shown {\n ", "\n }\n\n ", ";\n }\n\n .", " {\n &:before {\n border-bottom-color: ", ";\n }\n\n ", " {\n &:hover:not(.", ") {\n &:before {\n border-bottom-color: ", ";\n }\n }\n }\n\n &:after {\n border-bottom-color: ", ";\n }\n }\n\n .", " {\n &:after {\n border-bottom-color: ", ";\n }\n }\n\n .", " {\n color: ", ";\n // * safari need that in disabled input\n -webkit-text-fill-color: ", ";\n ::placeholder {\n color: ", ";\n }\n &:before {\n border-bottom-style: solid;\n border-bottom-color: ", ";\n }\n &:after {\n border-bottom-style: none;\n }\n }\n\n .", " {\n ", ";\n color: ", ";\n }\n\n .", ",\n .", " {\n color: ", ";\n }\n\n .", ",\n .", " {\n color: ", ";\n }\n\n /* clears the 'X' from Internet Explorer */\n input[type='search']::-ms-clear,\n input[type='search']::-ms-reveal {\n display: none;\n width: 0;\n height: 0;\n }\n\n /* clears the 'X' from Chrome */\n input[type='search']::-webkit-search-decoration,\n input[type='search']::-webkit-search-cancel-button,\n input[type='search']::-webkit-search-results-button,\n input[type='search']::-webkit-search-results-decoration {\n display: none;\n }\n\n ", "\n "])), (0, utils_2.belowIconButtonSpacing)((0, foundation_1.spacing)(3)), !fullWidth && exports.RcDefaultTextFieldWidth, gutterBottom && (0, foundation_1.css)(templateObject_3 || (templateObject_3 = tslib_1.__makeTemplateObject(["\n &.", " {\n margin: 0 0 ", " 0;\n }\n "], ["\n &.", " {\n margin: 0 0 ", " 0;\n }\n "])), utils_2.RcTextFieldClasses.root, (0, foundation_1.spacing)(4)), utils_2.RcTextFieldInputLabelClasses.root, (0, foundation_1.typography)('caption2'), labelRootColor, utils_2.RcTextFieldInputLabelClasses.focused, color, utils_2.RcTextFieldInputClasses.root, exports.textColor, ClearIconButton_1.ClearIconButton, showClean && exports.clearBtnInactiveStyle, utils_2.RcTextFieldInputClasses.input, (0, foundation_1.typography)(variant === 'borderLess' ? textVariant : 'subheading1'), align, exports.placeholderColor, foundation_1.ellipsis, clearBtn &&
29
28
  align &&
30
- align !== 'left' && foundation_1.css(templateObject_4 || (templateObject_4 = tslib_1.__makeTemplateObject(["\n width: calc(100% - ", ");\n "], ["\n width: calc(100% - ", ");\n "])), foundation_1.px(utils_1.RcIconButtonSizes[size])), utils_2.RcTextFieldInputClasses.underline, underlineColor, foundation_1.nonTouchHoverMedia, utils_2.RcTextFieldInputClasses.disabled, underlineFocusColor, color, utils_2.RcTextFieldInputClasses.error, errorColor, utils_2.RcTextFieldInputClasses.disabled, exports.disabledColor, exports.disabledColor, exports.disabledColor, exports.disabledColor, utils_2.RcTextFieldFormHelperTextClasses.root, foundation_1.typography('caption1'), idleColor, utils_2.RcTextFieldFormHelperTextClasses.error, utils_2.RcTextFieldInputLabelClasses.error, errorTextColor, utils_2.RcTextFieldFormHelperTextClasses.disabled, utils_2.RcTextFieldInputLabelClasses.disabled, exports.disabledColor, variant === 'outline' && OutlineTextFieldStyle_1.OutlineTextFieldStyle);
29
+ align !== 'left' && (0, foundation_1.css)(templateObject_4 || (templateObject_4 = tslib_1.__makeTemplateObject(["\n width: calc(100% - ", ");\n "], ["\n width: calc(100% - ", ");\n "])), (0, foundation_1.px)(utils_1.RcIconButtonSizes[size])), utils_2.RcTextFieldInputClasses.underline, underlineColor, foundation_1.nonTouchHoverMedia, utils_2.RcTextFieldInputClasses.disabled, underlineFocusColor, color, utils_2.RcTextFieldInputClasses.error, errorColor, utils_2.RcTextFieldInputClasses.disabled, exports.disabledColor, exports.disabledColor, exports.disabledColor, exports.disabledColor, utils_2.RcTextFieldFormHelperTextClasses.root, (0, foundation_1.typography)('caption1'), idleColor, utils_2.RcTextFieldFormHelperTextClasses.error, utils_2.RcTextFieldInputLabelClasses.error, errorTextColor, utils_2.RcTextFieldFormHelperTextClasses.disabled, utils_2.RcTextFieldInputLabelClasses.disabled, exports.disabledColor, variant === 'outline' && OutlineTextFieldStyle_1.OutlineTextFieldStyle);
31
30
  };
31
+ exports.TextFieldStyle = TextFieldStyle;
32
32
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RcOutlineTextFieldIconSizes = exports.RcOutlineTextFieldFontStyles = exports.RcOutlineTextFieldHeights = exports.RcOutlineTextFieldLabelMargins = exports.RcOutlineTextFieldSpaces = exports.RcOutlineTextFieldInputClasses = void 0;
3
4
  var foundation_1 = require("../../../../foundation");
4
- exports.RcOutlineTextFieldInputClasses = foundation_1.RcClasses(['input', 'root', 'focused', 'disabled', 'error'], 'RcOutlineTextFieldInput');
5
+ exports.RcOutlineTextFieldInputClasses = (0, foundation_1.RcClasses)(['input', 'root', 'focused', 'disabled', 'error'], 'RcOutlineTextFieldInput');
5
6
  exports.RcOutlineTextFieldSpaces = {
6
7
  small: {
7
8
  outside: 3,
@@ -1,7 +1,7 @@
1
- import { RcThemedStyled } from '../../../../foundation';
1
+ import { RcThemedStyled, spacing } from '../../../../foundation';
2
2
  import { RcTextFieldProps } from '../TextField';
3
3
  export declare const RcTextFieldClasses: Partial<import("../../../../foundation").UnitMap<"root", any>>;
4
4
  export declare const RcTextFieldInputClasses: Partial<import("../../../../foundation").UnitMap<import("@material-ui/core").InputClassKey, any>>;
5
5
  export declare const RcTextFieldInputLabelClasses: Partial<import("../../../../foundation").UnitMap<import("@material-ui/core").InputLabelClassKey, any>>;
6
6
  export declare const RcTextFieldFormHelperTextClasses: Partial<import("../../../../foundation").UnitMap<import("@material-ui/core").FormHelperTextClassKey, any>>;
7
- export declare const belowIconButtonSpacing: (spaceNum: ({ theme }: import("../../../../foundation").RcThemeProps) => string) => RcThemedStyled<RcTextFieldProps, any>;
7
+ export declare const belowIconButtonSpacing: (spaceNum: ReturnType<typeof spacing>) => RcThemedStyled<RcTextFieldProps, any>;
@@ -1,20 +1,22 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.belowIconButtonSpacing = exports.RcTextFieldFormHelperTextClasses = exports.RcTextFieldInputLabelClasses = exports.RcTextFieldInputClasses = exports.RcTextFieldClasses = void 0;
3
4
  var tslib_1 = require("tslib");
4
5
  var foundation_1 = require("../../../../foundation");
5
6
  var IconButton_1 = require("../../../Buttons/IconButton");
6
- exports.RcTextFieldClasses = foundation_1.RcClasses(['root'], 'RcTextField');
7
- exports.RcTextFieldInputClasses = foundation_1.RcClasses(['root', 'underline', 'error', 'focused', 'disabled', 'input'], 'RcTextFieldInput');
8
- exports.RcTextFieldInputLabelClasses = foundation_1.RcClasses(['root', 'error', 'focused', 'disabled'], 'RcTextFieldInputLabel');
9
- exports.RcTextFieldFormHelperTextClasses = foundation_1.RcClasses(['root', 'error', 'disabled'], 'RcTextFieldFormHelperText');
10
- exports.belowIconButtonSpacing = function (spaceNum) {
7
+ exports.RcTextFieldClasses = (0, foundation_1.RcClasses)(['root'], 'RcTextField');
8
+ exports.RcTextFieldInputClasses = (0, foundation_1.RcClasses)(['root', 'underline', 'error', 'focused', 'disabled', 'input'], 'RcTextFieldInput');
9
+ exports.RcTextFieldInputLabelClasses = (0, foundation_1.RcClasses)(['root', 'error', 'focused', 'disabled'], 'RcTextFieldInputLabel');
10
+ exports.RcTextFieldFormHelperTextClasses = (0, foundation_1.RcClasses)(['root', 'error', 'disabled'], 'RcTextFieldFormHelperText');
11
+ var belowIconButtonSpacing = function (spaceNum) {
11
12
  var themeFn = function (_a) {
12
13
  var clearBtn = _a.clearBtn;
13
14
  if (clearBtn) {
14
- return foundation_1.css(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n *:not(input) + ", " {\n margin-left: ", ";\n }\n "], ["\n *:not(input) + ", " {\n margin-left: ", ";\n }\n "])), IconButton_1.RcIconButton, spaceNum);
15
+ return (0, foundation_1.css)(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n *:not(input) + ", " {\n margin-left: ", ";\n }\n "], ["\n *:not(input) + ", " {\n margin-left: ", ";\n }\n "])), IconButton_1.RcIconButton, spaceNum);
15
16
  }
16
- return foundation_1.css(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n ", " {\n margin-left: ", ";\n }\n "], ["\n ", " {\n margin-left: ", ";\n }\n "])), IconButton_1.RcIconButton, spaceNum);
17
+ return (0, foundation_1.css)(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n ", " {\n margin-left: ", ";\n }\n "], ["\n ", " {\n margin-left: ", ";\n }\n "])), IconButton_1.RcIconButton, spaceNum);
17
18
  };
18
19
  return themeFn;
19
20
  };
21
+ exports.belowIconButtonSpacing = belowIconButtonSpacing;
20
22
  var templateObject_1, templateObject_2;
@@ -1,10 +1,8 @@
1
1
  import React from 'react';
2
2
  import { RcBaseProps } from '../../../foundation';
3
3
  import { RcTextFieldProps } from '../TextField';
4
- declare type RcTextareaProps = {} & RcBaseProps<RcTextFieldProps, 'clearBtn' | 'clearButtonProps' | 'clearLabel' | 'clearAriaLabel' | 'variant'>;
4
+ type RcTextareaProps = {} & RcBaseProps<RcTextFieldProps, 'clearBtn' | 'clearButtonProps' | 'clearLabel' | 'clearAriaLabel' | 'variant'>;
5
5
  /** @release */
6
- declare const RcTextarea: import("styled-components").StyledComponentClass<Pick<Pick<RcTextFieldProps, "ref" | "key" | "className" | "color" | "id" | "lang" | "name" | "style" | "type" | "role" | "tabIndex" | "radius" | "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" | "label" | "slot" | "title" | "translate" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "size" | "value" | "innerRef" | "disabled" | "focused" | "autoFocus" | "fullWidth" | "error" | "inputProps" | "inputRef" | "required" | "InputProps" | "autoComplete" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "multiline" | "rows" | "maxRows" | "minRows" | "align" | "gutterBottom" | "onClear" | "textVariant" | "autoSelect" | "focusOnMount" | "selectOnMount" | "autoFocusDelay" | "validate">, "key" | "className" | "color" | "id" | "lang" | "name" | "style" | "type" | "role" | "tabIndex" | "radius" | "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" | "label" | "slot" | "title" | "translate" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "size" | "value" | "innerRef" | "disabled" | "focused" | "autoFocus" | "fullWidth" | "error" | "inputProps" | "inputRef" | "required" | "InputProps" | "autoComplete" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "multiline" | "rows" | "maxRows" | "minRows" | "align" | "gutterBottom" | "onClear" | "textVariant" | "autoSelect" | "focusOnMount" | "selectOnMount" | "autoFocusDelay" | "validate"> & React.RefAttributes<any>, import("../../../foundation").RcTheme, Pick<Pick<Pick<RcTextFieldProps, "ref" | "key" | "className" | "color" | "id" | "lang" | "name" | "style" | "type" | "role" | "tabIndex" | "radius" | "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" | "label" | "slot" | "title" | "translate" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "size" | "value" | "innerRef" | "disabled" | "focused" | "autoFocus" | "fullWidth" | "error" | "inputProps" | "inputRef" | "required" | "InputProps" | "autoComplete" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "multiline" | "rows" | "maxRows" | "minRows" | "align" | "gutterBottom" | "onClear" | "textVariant" | "autoSelect" | "focusOnMount" | "selectOnMount" | "autoFocusDelay" | "validate">, "key" | "className" | "color" | "id" | "lang" | "name" | "style" | "type" | "role" | "tabIndex" | "radius" | "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" | "label" | "slot" | "title" | "translate" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "size" | "value" | "innerRef" | "disabled" | "focused" | "autoFocus" | "fullWidth" | "error" | "inputProps" | "inputRef" | "required" | "InputProps" | "autoComplete" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "multiline" | "rows" | "maxRows" | "minRows" | "align" | "gutterBottom" | "onClear" | "textVariant" | "autoSelect" | "focusOnMount" | "selectOnMount" | "autoFocusDelay" | "validate"> & React.RefAttributes<any>, "ref" | "key" | "className" | "color" | "id" | "lang" | "name" | "style" | "type" | "role" | "tabIndex" | "radius" | "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" | "label" | "slot" | "title" | "translate" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "size" | "value" | "innerRef" | "disabled" | "focused" | "autoFocus" | "fullWidth" | "error" | "inputProps" | "inputRef" | "required" | "InputProps" | "autoComplete" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "multiline" | "rows" | "maxRows" | "minRows" | "align" | "gutterBottom" | "onClear" | "textVariant" | "autoSelect" | "focusOnMount" | "selectOnMount" | "autoFocusDelay" | "validate"> & {
7
- theme?: import("../../../foundation").RcTheme | undefined;
8
- }>;
6
+ declare const RcTextarea: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<RcBaseProps<RcTextFieldProps, "variant" | "clearBtn" | "clearButtonProps" | "clearLabel" | "clearAriaLabel">, "ref"> & React.RefAttributes<any>>, import("../../../foundation").RcTheme, {}, never>;
9
7
  export { RcTextarea };
10
8
  export type { RcTextareaProps };
@@ -1,16 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RcTextarea = void 0;
3
4
  var tslib_1 = require("tslib");
4
5
  var react_1 = tslib_1.__importStar(require("react"));
5
6
  var foundation_1 = require("../../../foundation");
6
7
  var TextField_1 = require("../TextField");
7
8
  var styles_1 = require("./styles");
8
9
  var utils_1 = require("./utils");
9
- var _RcTextarea = react_1.forwardRef(function (inProps, ref) {
10
- var props = foundation_1.useThemeProps({ props: inProps, name: 'RcTextarea' });
10
+ var _RcTextarea = (0, react_1.forwardRef)(function (inProps, ref) {
11
+ var props = (0, foundation_1.useThemeProps)({ props: inProps, name: 'RcTextarea' });
11
12
  var classes = props.classes, InputPropsProp = props.InputProps, rowsProp = props.rows, minRows = props.minRows, maxRows = props.maxRows, rest = tslib_1.__rest(props, ["classes", "InputProps", "rows", "minRows", "maxRows"]);
12
- var InputProps = react_1.useMemo(function () {
13
- return foundation_1.combineProps({
13
+ var InputProps = (0, react_1.useMemo)(function () {
14
+ return (0, foundation_1.combineProps)({
14
15
  classes: utils_1.RcTextareaInputClasses,
15
16
  }, InputPropsProp);
16
17
  }, [InputPropsProp]);
@@ -22,7 +23,7 @@ var _RcTextarea = react_1.forwardRef(function (inProps, ref) {
22
23
  return (react_1.default.createElement(TextField_1.RcTextField, tslib_1.__assign({}, rest, { rows: rows, minRows: minRows, maxRows: maxRows, multiline: true, InputProps: InputProps, clearBtn: false, ref: ref })));
23
24
  });
24
25
  /** @release */
25
- var RcTextarea = foundation_1.styled(_RcTextarea)(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), styles_1.TextareaStyle);
26
+ var RcTextarea = (0, foundation_1.styled)(_RcTextarea)(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), styles_1.TextareaStyle);
26
27
  exports.RcTextarea = RcTextarea;
27
28
  RcTextarea.defaultProps = {
28
29
  rows: 3,