@wavv/ui 1.0.0

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 (357) hide show
  1. package/dist/.DS_Store +0 -0
  2. package/dist/cjs/index.js +25 -0
  3. package/dist/cjs/index.js.map +1 -0
  4. package/dist/cjs/types/assets/icons/ActivityHistory.d.ts +3 -0
  5. package/dist/cjs/types/assets/icons/Add.d.ts +3 -0
  6. package/dist/cjs/types/assets/icons/AddCircle.d.ts +3 -0
  7. package/dist/cjs/types/assets/icons/AddCircleOutline.d.ts +3 -0
  8. package/dist/cjs/types/assets/icons/AddPerson.d.ts +3 -0
  9. package/dist/cjs/types/assets/icons/ArrowDown.d.ts +3 -0
  10. package/dist/cjs/types/assets/icons/ArrowLeft.d.ts +3 -0
  11. package/dist/cjs/types/assets/icons/ArrowRight.d.ts +3 -0
  12. package/dist/cjs/types/assets/icons/ArrowUp.d.ts +3 -0
  13. package/dist/cjs/types/assets/icons/Attachment.d.ts +3 -0
  14. package/dist/cjs/types/assets/icons/Calendar.d.ts +3 -0
  15. package/dist/cjs/types/assets/icons/Camera.d.ts +3 -0
  16. package/dist/cjs/types/assets/icons/Card.d.ts +3 -0
  17. package/dist/cjs/types/assets/icons/CaretDown.d.ts +3 -0
  18. package/dist/cjs/types/assets/icons/CaretUp.d.ts +3 -0
  19. package/dist/cjs/types/assets/icons/CheckCircle.d.ts +3 -0
  20. package/dist/cjs/types/assets/icons/CheckCircleOutline.d.ts +3 -0
  21. package/dist/cjs/types/assets/icons/Checkbox.d.ts +3 -0
  22. package/dist/cjs/types/assets/icons/CheckboxOff.d.ts +3 -0
  23. package/dist/cjs/types/assets/icons/CheckboxPartial.d.ts +3 -0
  24. package/dist/cjs/types/assets/icons/ChevronDown.d.ts +3 -0
  25. package/dist/cjs/types/assets/icons/ChevronLeft.d.ts +3 -0
  26. package/dist/cjs/types/assets/icons/ChevronRight.d.ts +3 -0
  27. package/dist/cjs/types/assets/icons/ChevronUp.d.ts +3 -0
  28. package/dist/cjs/types/assets/icons/Clapperboard.d.ts +3 -0
  29. package/dist/cjs/types/assets/icons/ClapperboardOpen.d.ts +3 -0
  30. package/dist/cjs/types/assets/icons/Close.d.ts +3 -0
  31. package/dist/cjs/types/assets/icons/CloseCircle.d.ts +3 -0
  32. package/dist/cjs/types/assets/icons/CloseCircleOutline.d.ts +3 -0
  33. package/dist/cjs/types/assets/icons/Copy.d.ts +3 -0
  34. package/dist/cjs/types/assets/icons/Devices.d.ts +3 -0
  35. package/dist/cjs/types/assets/icons/Dialpad.d.ts +3 -0
  36. package/dist/cjs/types/assets/icons/DoubleArrowLeft.d.ts +3 -0
  37. package/dist/cjs/types/assets/icons/DoubleArrowRight.d.ts +3 -0
  38. package/dist/cjs/types/assets/icons/Download.d.ts +3 -0
  39. package/dist/cjs/types/assets/icons/Edit.d.ts +3 -0
  40. package/dist/cjs/types/assets/icons/Emoji.d.ts +3 -0
  41. package/dist/cjs/types/assets/icons/EyeOff.d.ts +3 -0
  42. package/dist/cjs/types/assets/icons/EyeOn.d.ts +3 -0
  43. package/dist/cjs/types/assets/icons/Facebook.d.ts +3 -0
  44. package/dist/cjs/types/assets/icons/Filter.d.ts +3 -0
  45. package/dist/cjs/types/assets/icons/Flask.d.ts +3 -0
  46. package/dist/cjs/types/assets/icons/Group.d.ts +3 -0
  47. package/dist/cjs/types/assets/icons/Heart.d.ts +3 -0
  48. package/dist/cjs/types/assets/icons/HeartOutline.d.ts +3 -0
  49. package/dist/cjs/types/assets/icons/Help.d.ts +3 -0
  50. package/dist/cjs/types/assets/icons/Hourglass.d.ts +3 -0
  51. package/dist/cjs/types/assets/icons/Info.d.ts +3 -0
  52. package/dist/cjs/types/assets/icons/Instagram.d.ts +3 -0
  53. package/dist/cjs/types/assets/icons/KebabMenu.d.ts +3 -0
  54. package/dist/cjs/types/assets/icons/Link.d.ts +3 -0
  55. package/dist/cjs/types/assets/icons/Linkedin.d.ts +3 -0
  56. package/dist/cjs/types/assets/icons/Loading.d.ts +3 -0
  57. package/dist/cjs/types/assets/icons/Maximize.d.ts +3 -0
  58. package/dist/cjs/types/assets/icons/Menu.d.ts +3 -0
  59. package/dist/cjs/types/assets/icons/MergeField.d.ts +3 -0
  60. package/dist/cjs/types/assets/icons/Message.d.ts +3 -0
  61. package/dist/cjs/types/assets/icons/Mic.d.ts +3 -0
  62. package/dist/cjs/types/assets/icons/MicOff.d.ts +3 -0
  63. package/dist/cjs/types/assets/icons/Minimize.d.ts +3 -0
  64. package/dist/cjs/types/assets/icons/Mobile.d.ts +3 -0
  65. package/dist/cjs/types/assets/icons/NotAllowed.d.ts +3 -0
  66. package/dist/cjs/types/assets/icons/Open.d.ts +3 -0
  67. package/dist/cjs/types/assets/icons/Pause.d.ts +3 -0
  68. package/dist/cjs/types/assets/icons/PauseOutline.d.ts +3 -0
  69. package/dist/cjs/types/assets/icons/Person.d.ts +3 -0
  70. package/dist/cjs/types/assets/icons/Phone.d.ts +3 -0
  71. package/dist/cjs/types/assets/icons/PhoneBlocked.d.ts +3 -0
  72. package/dist/cjs/types/assets/icons/PhoneEnd.d.ts +3 -0
  73. package/dist/cjs/types/assets/icons/PhoneHistory.d.ts +3 -0
  74. package/dist/cjs/types/assets/icons/PhoneTalk.d.ts +3 -0
  75. package/dist/cjs/types/assets/icons/Play.d.ts +3 -0
  76. package/dist/cjs/types/assets/icons/PlayOutline.d.ts +3 -0
  77. package/dist/cjs/types/assets/icons/ProfileUser.d.ts +3 -0
  78. package/dist/cjs/types/assets/icons/RadioButton.d.ts +3 -0
  79. package/dist/cjs/types/assets/icons/RadioButtonOff.d.ts +3 -0
  80. package/dist/cjs/types/assets/icons/Record.d.ts +3 -0
  81. package/dist/cjs/types/assets/icons/Refresh.d.ts +3 -0
  82. package/dist/cjs/types/assets/icons/Rocket.d.ts +3 -0
  83. package/dist/cjs/types/assets/icons/Schedule.d.ts +3 -0
  84. package/dist/cjs/types/assets/icons/ScheduleOutline.d.ts +3 -0
  85. package/dist/cjs/types/assets/icons/Search.d.ts +3 -0
  86. package/dist/cjs/types/assets/icons/Settings.d.ts +3 -0
  87. package/dist/cjs/types/assets/icons/Share.d.ts +3 -0
  88. package/dist/cjs/types/assets/icons/Sort.d.ts +3 -0
  89. package/dist/cjs/types/assets/icons/Spotify.d.ts +3 -0
  90. package/dist/cjs/types/assets/icons/Star.d.ts +3 -0
  91. package/dist/cjs/types/assets/icons/StarOutline.d.ts +3 -0
  92. package/dist/cjs/types/assets/icons/Stop.d.ts +3 -0
  93. package/dist/cjs/types/assets/icons/StopOutline.d.ts +3 -0
  94. package/dist/cjs/types/assets/icons/Template.d.ts +3 -0
  95. package/dist/cjs/types/assets/icons/ToggleOff.d.ts +3 -0
  96. package/dist/cjs/types/assets/icons/ToggleOn.d.ts +3 -0
  97. package/dist/cjs/types/assets/icons/Trash.d.ts +3 -0
  98. package/dist/cjs/types/assets/icons/Twitter.d.ts +3 -0
  99. package/dist/cjs/types/assets/icons/Upload.d.ts +3 -0
  100. package/dist/cjs/types/assets/icons/Video.d.ts +3 -0
  101. package/dist/cjs/types/assets/icons/Voicemail.d.ts +3 -0
  102. package/dist/cjs/types/assets/icons/VolOn.d.ts +3 -0
  103. package/dist/cjs/types/assets/icons/Warning.d.ts +3 -0
  104. package/dist/cjs/types/assets/icons/WarningCircleOutline.d.ts +3 -0
  105. package/dist/cjs/types/assets/icons/Youtube.d.ts +3 -0
  106. package/dist/cjs/types/components/Audio.d.ts +29 -0
  107. package/dist/cjs/types/components/Button/Button.d.ts +17 -0
  108. package/dist/cjs/types/components/Button/ButtonLoader.d.ts +5 -0
  109. package/dist/cjs/types/components/Button/ButtonTypes.d.ts +118 -0
  110. package/dist/cjs/types/components/Button/Group.d.ts +18 -0
  111. package/dist/cjs/types/components/Button/index.d.ts +2 -0
  112. package/dist/cjs/types/components/Calendar.d.ts +15 -0
  113. package/dist/cjs/types/components/Checkbox.d.ts +21 -0
  114. package/dist/cjs/types/components/Code/Code.d.ts +27 -0
  115. package/dist/cjs/types/components/Code/Copy.d.ts +5 -0
  116. package/dist/cjs/types/components/Code/Endpoint.d.ts +6 -0
  117. package/dist/cjs/types/components/Code/index.d.ts +2 -0
  118. package/dist/cjs/types/components/DocTable.d.ts +7 -0
  119. package/dist/cjs/types/components/DraftEditor.d.ts +51 -0
  120. package/dist/cjs/types/components/Dropdown/Dropdown.d.ts +85 -0
  121. package/dist/cjs/types/components/Dropdown/DropdownUtils.d.ts +46 -0
  122. package/dist/cjs/types/components/Dropdown/index.d.ts +3 -0
  123. package/dist/cjs/types/components/Form.d.ts +556 -0
  124. package/dist/cjs/types/components/FormControl.d.ts +18 -0
  125. package/dist/cjs/types/components/Grid.d.ts +55 -0
  126. package/dist/cjs/types/components/Icon/Icon.d.ts +36 -0
  127. package/dist/cjs/types/components/Icon/icons.d.ts +208 -0
  128. package/dist/cjs/types/components/Icon/index.d.ts +2 -0
  129. package/dist/cjs/types/components/ImageViewer.d.ts +21 -0
  130. package/dist/cjs/types/components/InlineCode.d.ts +7 -0
  131. package/dist/cjs/types/components/Input.d.ts +192 -0
  132. package/dist/cjs/types/components/InputHelpers.d.ts +78 -0
  133. package/dist/cjs/types/components/Label.d.ts +16 -0
  134. package/dist/cjs/types/components/Menu.d.ts +53 -0
  135. package/dist/cjs/types/components/Message.d.ts +25 -0
  136. package/dist/cjs/types/components/MessageHr.d.ts +12 -0
  137. package/dist/cjs/types/components/Modal.d.ts +66 -0
  138. package/dist/cjs/types/components/MultiSelect.d.ts +33 -0
  139. package/dist/cjs/types/components/Notification.d.ts +15 -0
  140. package/dist/cjs/types/components/Options.d.ts +45 -0
  141. package/dist/cjs/types/components/Pagination.d.ts +14 -0
  142. package/dist/cjs/types/components/Progress/CirclePercent.d.ts +10 -0
  143. package/dist/cjs/types/components/Progress/Progress.d.ts +23 -0
  144. package/dist/cjs/types/components/Progress/index.d.ts +2 -0
  145. package/dist/cjs/types/components/Radio.d.ts +16 -0
  146. package/dist/cjs/types/components/Slider.d.ts +16 -0
  147. package/dist/cjs/types/components/Spacer.d.ts +6 -0
  148. package/dist/cjs/types/components/Spinner.d.ts +11 -0
  149. package/dist/cjs/types/components/Table.d.ts +53 -0
  150. package/dist/cjs/types/components/Toggle.d.ts +19 -0
  151. package/dist/cjs/types/components/Tooltip.d.ts +56 -0
  152. package/dist/cjs/types/components/TransferList.d.ts +47 -0
  153. package/dist/cjs/types/components/draftUtils.d.ts +49 -0
  154. package/dist/cjs/types/components/helpers/getIcon.d.ts +8 -0
  155. package/dist/cjs/types/components/types.d.ts +48 -0
  156. package/dist/cjs/types/global-styles/ResetStyles.d.ts +10 -0
  157. package/dist/cjs/types/global-styles/ScrollbarStyles.d.ts +3 -0
  158. package/dist/cjs/types/global-styles/index.d.ts +2 -0
  159. package/dist/cjs/types/hooks/index.d.ts +5 -0
  160. package/dist/cjs/types/hooks/useEventListener.d.ts +3 -0
  161. package/dist/cjs/types/hooks/useOnClickOutside.d.ts +3 -0
  162. package/dist/cjs/types/hooks/useSelect.d.ts +20 -0
  163. package/dist/cjs/types/hooks/useSelectAll.d.ts +12 -0
  164. package/dist/cjs/types/hooks/useWindowSize.d.ts +5 -0
  165. package/dist/cjs/types/index.d.ts +48 -0
  166. package/dist/cjs/types/theme/ThemeTypes.d.ts +277 -0
  167. package/dist/cjs/types/theme/colors.d.ts +201 -0
  168. package/dist/cjs/types/theme/common/button.d.ts +24 -0
  169. package/dist/cjs/types/theme/common/common.d.ts +103 -0
  170. package/dist/cjs/types/theme/common/index.d.ts +3 -0
  171. package/dist/cjs/types/theme/dark.d.ts +3 -0
  172. package/dist/cjs/types/theme/index.d.ts +10 -0
  173. package/dist/cjs/types/theme/light.d.ts +3 -0
  174. package/dist/cjs/types/utils/chunk.d.ts +2 -0
  175. package/dist/cjs/types/utils/copyToClipboard.d.ts +2 -0
  176. package/dist/cjs/types/utils/formatDate.d.ts +7 -0
  177. package/dist/cjs/types/utils/index.d.ts +4 -0
  178. package/dist/cjs/types/utils/range.d.ts +1 -0
  179. package/dist/esm/index.js +25 -0
  180. package/dist/esm/index.js.map +1 -0
  181. package/dist/esm/types/assets/icons/ActivityHistory.d.ts +3 -0
  182. package/dist/esm/types/assets/icons/Add.d.ts +3 -0
  183. package/dist/esm/types/assets/icons/AddCircle.d.ts +3 -0
  184. package/dist/esm/types/assets/icons/AddCircleOutline.d.ts +3 -0
  185. package/dist/esm/types/assets/icons/AddPerson.d.ts +3 -0
  186. package/dist/esm/types/assets/icons/ArrowDown.d.ts +3 -0
  187. package/dist/esm/types/assets/icons/ArrowLeft.d.ts +3 -0
  188. package/dist/esm/types/assets/icons/ArrowRight.d.ts +3 -0
  189. package/dist/esm/types/assets/icons/ArrowUp.d.ts +3 -0
  190. package/dist/esm/types/assets/icons/Attachment.d.ts +3 -0
  191. package/dist/esm/types/assets/icons/Calendar.d.ts +3 -0
  192. package/dist/esm/types/assets/icons/Camera.d.ts +3 -0
  193. package/dist/esm/types/assets/icons/Card.d.ts +3 -0
  194. package/dist/esm/types/assets/icons/CaretDown.d.ts +3 -0
  195. package/dist/esm/types/assets/icons/CaretUp.d.ts +3 -0
  196. package/dist/esm/types/assets/icons/CheckCircle.d.ts +3 -0
  197. package/dist/esm/types/assets/icons/CheckCircleOutline.d.ts +3 -0
  198. package/dist/esm/types/assets/icons/Checkbox.d.ts +3 -0
  199. package/dist/esm/types/assets/icons/CheckboxOff.d.ts +3 -0
  200. package/dist/esm/types/assets/icons/CheckboxPartial.d.ts +3 -0
  201. package/dist/esm/types/assets/icons/ChevronDown.d.ts +3 -0
  202. package/dist/esm/types/assets/icons/ChevronLeft.d.ts +3 -0
  203. package/dist/esm/types/assets/icons/ChevronRight.d.ts +3 -0
  204. package/dist/esm/types/assets/icons/ChevronUp.d.ts +3 -0
  205. package/dist/esm/types/assets/icons/Clapperboard.d.ts +3 -0
  206. package/dist/esm/types/assets/icons/ClapperboardOpen.d.ts +3 -0
  207. package/dist/esm/types/assets/icons/Close.d.ts +3 -0
  208. package/dist/esm/types/assets/icons/CloseCircle.d.ts +3 -0
  209. package/dist/esm/types/assets/icons/CloseCircleOutline.d.ts +3 -0
  210. package/dist/esm/types/assets/icons/Copy.d.ts +3 -0
  211. package/dist/esm/types/assets/icons/Devices.d.ts +3 -0
  212. package/dist/esm/types/assets/icons/Dialpad.d.ts +3 -0
  213. package/dist/esm/types/assets/icons/DoubleArrowLeft.d.ts +3 -0
  214. package/dist/esm/types/assets/icons/DoubleArrowRight.d.ts +3 -0
  215. package/dist/esm/types/assets/icons/Download.d.ts +3 -0
  216. package/dist/esm/types/assets/icons/Edit.d.ts +3 -0
  217. package/dist/esm/types/assets/icons/Emoji.d.ts +3 -0
  218. package/dist/esm/types/assets/icons/EyeOff.d.ts +3 -0
  219. package/dist/esm/types/assets/icons/EyeOn.d.ts +3 -0
  220. package/dist/esm/types/assets/icons/Facebook.d.ts +3 -0
  221. package/dist/esm/types/assets/icons/Filter.d.ts +3 -0
  222. package/dist/esm/types/assets/icons/Flask.d.ts +3 -0
  223. package/dist/esm/types/assets/icons/Group.d.ts +3 -0
  224. package/dist/esm/types/assets/icons/Heart.d.ts +3 -0
  225. package/dist/esm/types/assets/icons/HeartOutline.d.ts +3 -0
  226. package/dist/esm/types/assets/icons/Help.d.ts +3 -0
  227. package/dist/esm/types/assets/icons/Hourglass.d.ts +3 -0
  228. package/dist/esm/types/assets/icons/Info.d.ts +3 -0
  229. package/dist/esm/types/assets/icons/Instagram.d.ts +3 -0
  230. package/dist/esm/types/assets/icons/KebabMenu.d.ts +3 -0
  231. package/dist/esm/types/assets/icons/Link.d.ts +3 -0
  232. package/dist/esm/types/assets/icons/Linkedin.d.ts +3 -0
  233. package/dist/esm/types/assets/icons/Loading.d.ts +3 -0
  234. package/dist/esm/types/assets/icons/Maximize.d.ts +3 -0
  235. package/dist/esm/types/assets/icons/Menu.d.ts +3 -0
  236. package/dist/esm/types/assets/icons/MergeField.d.ts +3 -0
  237. package/dist/esm/types/assets/icons/Message.d.ts +3 -0
  238. package/dist/esm/types/assets/icons/Mic.d.ts +3 -0
  239. package/dist/esm/types/assets/icons/MicOff.d.ts +3 -0
  240. package/dist/esm/types/assets/icons/Minimize.d.ts +3 -0
  241. package/dist/esm/types/assets/icons/Mobile.d.ts +3 -0
  242. package/dist/esm/types/assets/icons/NotAllowed.d.ts +3 -0
  243. package/dist/esm/types/assets/icons/Open.d.ts +3 -0
  244. package/dist/esm/types/assets/icons/Pause.d.ts +3 -0
  245. package/dist/esm/types/assets/icons/PauseOutline.d.ts +3 -0
  246. package/dist/esm/types/assets/icons/Person.d.ts +3 -0
  247. package/dist/esm/types/assets/icons/Phone.d.ts +3 -0
  248. package/dist/esm/types/assets/icons/PhoneBlocked.d.ts +3 -0
  249. package/dist/esm/types/assets/icons/PhoneEnd.d.ts +3 -0
  250. package/dist/esm/types/assets/icons/PhoneHistory.d.ts +3 -0
  251. package/dist/esm/types/assets/icons/PhoneTalk.d.ts +3 -0
  252. package/dist/esm/types/assets/icons/Play.d.ts +3 -0
  253. package/dist/esm/types/assets/icons/PlayOutline.d.ts +3 -0
  254. package/dist/esm/types/assets/icons/ProfileUser.d.ts +3 -0
  255. package/dist/esm/types/assets/icons/RadioButton.d.ts +3 -0
  256. package/dist/esm/types/assets/icons/RadioButtonOff.d.ts +3 -0
  257. package/dist/esm/types/assets/icons/Record.d.ts +3 -0
  258. package/dist/esm/types/assets/icons/Refresh.d.ts +3 -0
  259. package/dist/esm/types/assets/icons/Rocket.d.ts +3 -0
  260. package/dist/esm/types/assets/icons/Schedule.d.ts +3 -0
  261. package/dist/esm/types/assets/icons/ScheduleOutline.d.ts +3 -0
  262. package/dist/esm/types/assets/icons/Search.d.ts +3 -0
  263. package/dist/esm/types/assets/icons/Settings.d.ts +3 -0
  264. package/dist/esm/types/assets/icons/Share.d.ts +3 -0
  265. package/dist/esm/types/assets/icons/Sort.d.ts +3 -0
  266. package/dist/esm/types/assets/icons/Spotify.d.ts +3 -0
  267. package/dist/esm/types/assets/icons/Star.d.ts +3 -0
  268. package/dist/esm/types/assets/icons/StarOutline.d.ts +3 -0
  269. package/dist/esm/types/assets/icons/Stop.d.ts +3 -0
  270. package/dist/esm/types/assets/icons/StopOutline.d.ts +3 -0
  271. package/dist/esm/types/assets/icons/Template.d.ts +3 -0
  272. package/dist/esm/types/assets/icons/ToggleOff.d.ts +3 -0
  273. package/dist/esm/types/assets/icons/ToggleOn.d.ts +3 -0
  274. package/dist/esm/types/assets/icons/Trash.d.ts +3 -0
  275. package/dist/esm/types/assets/icons/Twitter.d.ts +3 -0
  276. package/dist/esm/types/assets/icons/Upload.d.ts +3 -0
  277. package/dist/esm/types/assets/icons/Video.d.ts +3 -0
  278. package/dist/esm/types/assets/icons/Voicemail.d.ts +3 -0
  279. package/dist/esm/types/assets/icons/VolOn.d.ts +3 -0
  280. package/dist/esm/types/assets/icons/Warning.d.ts +3 -0
  281. package/dist/esm/types/assets/icons/WarningCircleOutline.d.ts +3 -0
  282. package/dist/esm/types/assets/icons/Youtube.d.ts +3 -0
  283. package/dist/esm/types/components/Audio.d.ts +29 -0
  284. package/dist/esm/types/components/Button/Button.d.ts +17 -0
  285. package/dist/esm/types/components/Button/ButtonLoader.d.ts +5 -0
  286. package/dist/esm/types/components/Button/ButtonTypes.d.ts +118 -0
  287. package/dist/esm/types/components/Button/Group.d.ts +18 -0
  288. package/dist/esm/types/components/Button/index.d.ts +2 -0
  289. package/dist/esm/types/components/Calendar.d.ts +15 -0
  290. package/dist/esm/types/components/Checkbox.d.ts +21 -0
  291. package/dist/esm/types/components/Code/Code.d.ts +27 -0
  292. package/dist/esm/types/components/Code/Copy.d.ts +5 -0
  293. package/dist/esm/types/components/Code/Endpoint.d.ts +6 -0
  294. package/dist/esm/types/components/Code/index.d.ts +2 -0
  295. package/dist/esm/types/components/DocTable.d.ts +7 -0
  296. package/dist/esm/types/components/DraftEditor.d.ts +51 -0
  297. package/dist/esm/types/components/Dropdown/Dropdown.d.ts +85 -0
  298. package/dist/esm/types/components/Dropdown/DropdownUtils.d.ts +46 -0
  299. package/dist/esm/types/components/Dropdown/index.d.ts +3 -0
  300. package/dist/esm/types/components/Form.d.ts +556 -0
  301. package/dist/esm/types/components/FormControl.d.ts +18 -0
  302. package/dist/esm/types/components/Grid.d.ts +55 -0
  303. package/dist/esm/types/components/Icon/Icon.d.ts +36 -0
  304. package/dist/esm/types/components/Icon/icons.d.ts +208 -0
  305. package/dist/esm/types/components/Icon/index.d.ts +2 -0
  306. package/dist/esm/types/components/ImageViewer.d.ts +21 -0
  307. package/dist/esm/types/components/InlineCode.d.ts +7 -0
  308. package/dist/esm/types/components/Input.d.ts +192 -0
  309. package/dist/esm/types/components/InputHelpers.d.ts +78 -0
  310. package/dist/esm/types/components/Label.d.ts +16 -0
  311. package/dist/esm/types/components/Menu.d.ts +53 -0
  312. package/dist/esm/types/components/Message.d.ts +25 -0
  313. package/dist/esm/types/components/MessageHr.d.ts +12 -0
  314. package/dist/esm/types/components/Modal.d.ts +66 -0
  315. package/dist/esm/types/components/MultiSelect.d.ts +33 -0
  316. package/dist/esm/types/components/Notification.d.ts +15 -0
  317. package/dist/esm/types/components/Options.d.ts +45 -0
  318. package/dist/esm/types/components/Pagination.d.ts +14 -0
  319. package/dist/esm/types/components/Progress/CirclePercent.d.ts +10 -0
  320. package/dist/esm/types/components/Progress/Progress.d.ts +23 -0
  321. package/dist/esm/types/components/Progress/index.d.ts +2 -0
  322. package/dist/esm/types/components/Radio.d.ts +16 -0
  323. package/dist/esm/types/components/Slider.d.ts +16 -0
  324. package/dist/esm/types/components/Spacer.d.ts +6 -0
  325. package/dist/esm/types/components/Spinner.d.ts +11 -0
  326. package/dist/esm/types/components/Table.d.ts +53 -0
  327. package/dist/esm/types/components/Toggle.d.ts +19 -0
  328. package/dist/esm/types/components/Tooltip.d.ts +56 -0
  329. package/dist/esm/types/components/TransferList.d.ts +47 -0
  330. package/dist/esm/types/components/draftUtils.d.ts +49 -0
  331. package/dist/esm/types/components/helpers/getIcon.d.ts +8 -0
  332. package/dist/esm/types/components/types.d.ts +48 -0
  333. package/dist/esm/types/global-styles/ResetStyles.d.ts +10 -0
  334. package/dist/esm/types/global-styles/ScrollbarStyles.d.ts +3 -0
  335. package/dist/esm/types/global-styles/index.d.ts +2 -0
  336. package/dist/esm/types/hooks/index.d.ts +5 -0
  337. package/dist/esm/types/hooks/useEventListener.d.ts +3 -0
  338. package/dist/esm/types/hooks/useOnClickOutside.d.ts +3 -0
  339. package/dist/esm/types/hooks/useSelect.d.ts +20 -0
  340. package/dist/esm/types/hooks/useSelectAll.d.ts +12 -0
  341. package/dist/esm/types/hooks/useWindowSize.d.ts +5 -0
  342. package/dist/esm/types/index.d.ts +48 -0
  343. package/dist/esm/types/theme/ThemeTypes.d.ts +277 -0
  344. package/dist/esm/types/theme/colors.d.ts +201 -0
  345. package/dist/esm/types/theme/common/button.d.ts +24 -0
  346. package/dist/esm/types/theme/common/common.d.ts +103 -0
  347. package/dist/esm/types/theme/common/index.d.ts +3 -0
  348. package/dist/esm/types/theme/dark.d.ts +3 -0
  349. package/dist/esm/types/theme/index.d.ts +10 -0
  350. package/dist/esm/types/theme/light.d.ts +3 -0
  351. package/dist/esm/types/utils/chunk.d.ts +2 -0
  352. package/dist/esm/types/utils/copyToClipboard.d.ts +2 -0
  353. package/dist/esm/types/utils/formatDate.d.ts +7 -0
  354. package/dist/esm/types/utils/index.d.ts +4 -0
  355. package/dist/esm/types/utils/range.d.ts +1 -0
  356. package/dist/index.d.ts +2660 -0
  357. package/package.json +121 -0
@@ -0,0 +1,2660 @@
1
+ /// <reference types="react" />
2
+ import * as react from 'react';
3
+ import { ElementType, FocusEvent, ChangeEvent, HTMLProps, ReactElement, MouseEvent as MouseEvent$1, ReactNode, KeyboardEvent, CSSProperties, MutableRefObject, RefObject, FormEvent } from 'react';
4
+ import * as _emotion_styled from '@emotion/styled';
5
+ import { StyledComponent } from '@emotion/styled';
6
+ import * as _emotion_react from '@emotion/react';
7
+ import { Language } from 'prism-react-renderer';
8
+
9
+ declare const colors: {
10
+ logo1: string;
11
+ logo2: string;
12
+ logo3: string;
13
+ brand: string;
14
+ brandShade1: string;
15
+ brandShade2: string;
16
+ brandDark: string;
17
+ brandDarkShade1: string;
18
+ brandTint0: string;
19
+ brandTint1: string;
20
+ brandTint2: string;
21
+ brandTint3: string;
22
+ brandTint4: string;
23
+ brandBackground0: string;
24
+ brandBackground1: string;
25
+ brandBackground2: string;
26
+ brandBackground3: string;
27
+ brandBackground4: string;
28
+ brandBackground5: string;
29
+ error: string;
30
+ errorShade1: string;
31
+ errorShade2: string;
32
+ errorTint0: string;
33
+ errorTint1: string;
34
+ errorTint2: string;
35
+ warning: string;
36
+ warningShade1: string;
37
+ warningShade2: string;
38
+ warningTint0: string;
39
+ warningTint1: string;
40
+ warningTint2: string;
41
+ alert: string;
42
+ alertShade1: string;
43
+ alertShade2: string;
44
+ alertTint0: string;
45
+ alertTint1: string;
46
+ alertTint2: string;
47
+ success: string;
48
+ successShade1: string;
49
+ successShade2: string;
50
+ successTint0: string;
51
+ successTint1: string;
52
+ successTint2: string;
53
+ grayscale0: string;
54
+ grayscale1: string;
55
+ grayscale2: string;
56
+ grayscale3: string;
57
+ grayscale4: string;
58
+ grayscale5: string;
59
+ grayscale6: string;
60
+ grayscale7: string;
61
+ grayscale8: string;
62
+ grayscale9: string;
63
+ grayscale10: string;
64
+ contrast0: string;
65
+ contrast1: string;
66
+ contrast2: string;
67
+ contrast3: string;
68
+ contrast4: string;
69
+ contrast5: string;
70
+ contrast6: string;
71
+ contrast7: string;
72
+ contrast8: string;
73
+ contrast9: string;
74
+ contrast10: string;
75
+ };
76
+
77
+ interface IColors {
78
+ /** #0074F4 */
79
+ logo1: string;
80
+ /** #00A9E2 */
81
+ logo2: string;
82
+ /** #67C728 */
83
+ logo3: string;
84
+ /** #0074F4 */
85
+ brand: string;
86
+ /** #0068DC */
87
+ brandShade1: string;
88
+ /** #005DC3 */
89
+ brandShade2: string;
90
+ /** #4C9EF7 */
91
+ brandDark: string;
92
+ /** #5EA8F8 */
93
+ brandDarkShade1: string;
94
+ /** 5% of #0074F4 */
95
+ brandTint0: string;
96
+ /** 10% of #0074F4 */
97
+ brandTint1: string;
98
+ /** 20% of #0074F4 */
99
+ brandTint2: string;
100
+ /** 30% of #0074F4 */
101
+ brandTint3: string;
102
+ /** 40% of #0074F4 */
103
+ brandTint4: string;
104
+ /** #001828 */
105
+ brandBackground0: string;
106
+ /** #0D2433 */
107
+ brandBackground1: string;
108
+ /** #192F3D */
109
+ brandBackground2: string;
110
+ /** #334653 */
111
+ brandBackground3: string;
112
+ /** #475964 */
113
+ brandBackground4: string;
114
+ /** #596A74 */
115
+ brandBackground5: string;
116
+ /** #FF6068 */
117
+ error: string;
118
+ /** #E6565E */
119
+ errorShade1: string;
120
+ /** #CC4D53 */
121
+ errorShade2: string;
122
+ /** 5% of #FF6068 */
123
+ errorTint0: string;
124
+ /** 10% of #FF6068 */
125
+ errorTint1: string;
126
+ /** 20% of #FF6068 */
127
+ errorTint2: string;
128
+ /** #FF9900 */
129
+ warning: string;
130
+ /** #E68A00 */
131
+ warningShade1: string;
132
+ /** #CC7A00 */
133
+ warningShade2: string;
134
+ /** 5% of #FF9900 */
135
+ warningTint0: string;
136
+ /** 10% of #FF9900 */
137
+ warningTint1: string;
138
+ /** 20% of #FF9900 */
139
+ warningTint2: string;
140
+ /** #F0BB00 */
141
+ alert: string;
142
+ /** #E4B200 */
143
+ alertShade1: string;
144
+ /** #C09600 */
145
+ alertShade2: string;
146
+ /** 5% of #F0BB00 */
147
+ alertTint0: string;
148
+ /** 10% of #F0BB00 */
149
+ alertTint1: string;
150
+ /** 20% of #F0BB00 */
151
+ alertTint2: string;
152
+ /** #00C242 */
153
+ success: string;
154
+ /** #00AF3B */
155
+ successShade1: string;
156
+ /** #009B35 */
157
+ successShade2: string;
158
+ /** 5% of #00C242 */
159
+ successTint0: string;
160
+ /** 10% of #00C242 */
161
+ successTint1: string;
162
+ /** 20% of #00C242 */
163
+ successTint2: string;
164
+ /** 5% of #001D32 */
165
+ grayscale0: string;
166
+ /** 10% of #001D32 */
167
+ grayscale1: string;
168
+ /** 20% of #001D32 */
169
+ grayscale2: string;
170
+ /** 30% of #001D32 */
171
+ grayscale3: string;
172
+ /** 40% of #001D32 */
173
+ grayscale4: string;
174
+ /** 50% of #001D32 */
175
+ grayscale5: string;
176
+ /** 60% of #001D32 */
177
+ grayscale6: string;
178
+ /** 70% of #001D32 */
179
+ grayscale7: string;
180
+ /** 80% of #001D32 */
181
+ grayscale8: string;
182
+ /** 90% of #001D32 */
183
+ grayscale9: string;
184
+ /** #001D32 */
185
+ grayscale10: string;
186
+ /** 5% of #FFFFFF */
187
+ contrast0: string;
188
+ /** 10% of #FFFFFF */
189
+ contrast1: string;
190
+ /** 20% of #FFFFFF */
191
+ contrast2: string;
192
+ /** 30% of #FFFFFF */
193
+ contrast3: string;
194
+ /** 40% of #FFFFFF */
195
+ contrast4: string;
196
+ /** 50% of #FFFFFF */
197
+ contrast5: string;
198
+ /** 60% of #FFFFFF */
199
+ contrast6: string;
200
+ /** 70% of #FFFFFF */
201
+ contrast7: string;
202
+ /** 80% of #FFFFFF */
203
+ contrast8: string;
204
+ /** 90% of #FFFFFF */
205
+ contrast9: string;
206
+ /** #FFFFFF */
207
+ contrast10: string;
208
+ }
209
+ declare type ColorNames = keyof typeof colors;
210
+
211
+ declare type ButtonSize = {
212
+ height: number;
213
+ iconSize: number;
214
+ font: number;
215
+ padding: number;
216
+ iconOnlyPadding: number;
217
+ };
218
+ declare type LinkColors = {
219
+ secondaryColor: {
220
+ default: string;
221
+ hover: string;
222
+ active: string;
223
+ };
224
+ positiveColor: {
225
+ default: string;
226
+ hover: string;
227
+ active: string;
228
+ };
229
+ negativeColor: {
230
+ default: string;
231
+ hover: string;
232
+ active: string;
233
+ };
234
+ cautionColor: {
235
+ default: string;
236
+ hover: string;
237
+ active: string;
238
+ };
239
+ };
240
+ declare type ButtonState = {
241
+ color: {
242
+ default: string;
243
+ hover: string;
244
+ active: string;
245
+ };
246
+ outlineColor: {
247
+ default: string;
248
+ hover: string;
249
+ active: string;
250
+ };
251
+ background: {
252
+ default: string;
253
+ hover: string;
254
+ active: string;
255
+ };
256
+ outlineBackground: {
257
+ default: string;
258
+ hover: string;
259
+ active: string;
260
+ };
261
+ border: {
262
+ default: string;
263
+ hover: string;
264
+ active: string;
265
+ };
266
+ divider: string;
267
+ };
268
+ interface ITheme {
269
+ name: 'light' | 'dark';
270
+ accent: string;
271
+ accentShade: string;
272
+ background0: string;
273
+ background1: string;
274
+ background2: string;
275
+ background3: string;
276
+ background4: string;
277
+ background5: string;
278
+ /** 5% opacity */
279
+ scale0: string;
280
+ /** 10% opacity */
281
+ scale1: string;
282
+ /** 20% opacity */
283
+ scale2: string;
284
+ /** 30% opacity */
285
+ scale3: string;
286
+ /** 40% opacity */
287
+ scale4: string;
288
+ /** 50% opacity */
289
+ scale5: string;
290
+ /** 60% opacity */
291
+ scale6: string;
292
+ /** 70% opacity */
293
+ scale7: string;
294
+ /** 80% opacity */
295
+ scale8: string;
296
+ /** 90% opacity */
297
+ scale9: string;
298
+ /** 100% opacity */
299
+ scale10: string;
300
+ button: {
301
+ small: ButtonSize;
302
+ medium: ButtonSize;
303
+ large: ButtonSize;
304
+ primary: ButtonState;
305
+ secondary: ButtonState;
306
+ negative: ButtonState;
307
+ positive: ButtonState;
308
+ caution: ButtonState;
309
+ subtle: ButtonState & LinkColors;
310
+ link: ButtonState & LinkColors;
311
+ disabled: ButtonState;
312
+ color: {
313
+ default: string;
314
+ };
315
+ };
316
+ calendar: {
317
+ background: {
318
+ container: string;
319
+ hover: string;
320
+ active: string;
321
+ activeHover: string;
322
+ };
323
+ color: {
324
+ disabled: string;
325
+ default: string;
326
+ active: string;
327
+ current: string;
328
+ outside: string;
329
+ weekday: string;
330
+ monthYear: string;
331
+ iconDefault: string;
332
+ iconHover: string;
333
+ };
334
+ };
335
+ color: IColors;
336
+ defaultBorder: string;
337
+ /** '0px 2px 4px 2px rgba(0, 0, 0, 0.05)' */
338
+ elevation0: string;
339
+ /** '0px 2px 4px 2px rgba(0, 0, 0, 0.1)' */
340
+ elevation1: string;
341
+ /** '0px 2px 4px 2px rgba(0, 0, 0, 0.15)' */
342
+ elevation2: string;
343
+ /** '0px 4px 8px 2px rgba(0, 0, 0, 0.2)' */
344
+ elevation3: string;
345
+ /** '0px 4px 8px 2px rgba(0, 0, 0, 0.25)' */
346
+ elevation4: string;
347
+ size: {
348
+ /** 4px */
349
+ xs: number;
350
+ /** 8px */
351
+ sm: number;
352
+ /** 16px */
353
+ md: number;
354
+ /** 24px */
355
+ lg: number;
356
+ };
357
+ font: {
358
+ weight: {
359
+ /** 400 */
360
+ default: number;
361
+ /** 500 */
362
+ medium: number;
363
+ /** 600 */
364
+ semiBold: number;
365
+ /** 700 */
366
+ bold: number;
367
+ };
368
+ size: {
369
+ /** 10px */
370
+ xs: number;
371
+ /** 12px */
372
+ sm: number;
373
+ /** 14px */
374
+ md: number;
375
+ /** 16px */
376
+ lg: number;
377
+ /** 18px */
378
+ xl: number;
379
+ };
380
+ family: {
381
+ /** "'Roboto', sans-serif" */
382
+ default: string;
383
+ /** "'Roboto', sans-serif" */
384
+ medium: string;
385
+ /** "'Roboto', sans-serif" */
386
+ light: string;
387
+ };
388
+ };
389
+ formControl: {
390
+ color: {
391
+ default: string;
392
+ hover: string;
393
+ active: string;
394
+ activeHover: string;
395
+ disabled: string;
396
+ };
397
+ };
398
+ input: {
399
+ borderRadius: number;
400
+ background: {
401
+ default: string;
402
+ hover: string;
403
+ focused: string;
404
+ disabled: string;
405
+ };
406
+ color: {
407
+ default: string;
408
+ disabled: string;
409
+ placeholder: string;
410
+ description: string;
411
+ descriptionError: string;
412
+ };
413
+ borderColor: {
414
+ default: string;
415
+ hover: string;
416
+ focused: string;
417
+ disabled: string;
418
+ error: string;
419
+ };
420
+ labelColor: {
421
+ default: string;
422
+ hover: string;
423
+ filled: string;
424
+ focused: string;
425
+ disabled: string;
426
+ };
427
+ };
428
+ menu: {
429
+ background: string;
430
+ };
431
+ menuItem: {
432
+ borderColor: string;
433
+ background: {
434
+ active: string;
435
+ hover: string;
436
+ inactive: string;
437
+ };
438
+ color: {
439
+ active: string;
440
+ hover: string;
441
+ inactive: string;
442
+ };
443
+ };
444
+ modal: {
445
+ background: string;
446
+ color: {
447
+ header: string;
448
+ body: string;
449
+ };
450
+ };
451
+ options: {
452
+ background: string;
453
+ };
454
+ optionItem: {
455
+ background: {
456
+ active: string;
457
+ inactive: string;
458
+ };
459
+ color: {
460
+ active: string;
461
+ inactive: string;
462
+ accent: string;
463
+ };
464
+ };
465
+ table: {
466
+ color: {
467
+ header: string;
468
+ body: string;
469
+ };
470
+ borderColor: string;
471
+ };
472
+ toggle: {
473
+ slider: string;
474
+ };
475
+ tooltip: {
476
+ background: string;
477
+ color: {
478
+ default: string;
479
+ subtext: string;
480
+ };
481
+ };
482
+ }
483
+ declare type ThemeProp = {
484
+ theme?: ITheme;
485
+ };
486
+
487
+ declare type Theme = {
488
+ light: ITheme;
489
+ dark: ITheme;
490
+ };
491
+ declare const theme: Theme;
492
+
493
+ declare type Margin = {
494
+ margin?: number | string;
495
+ marginTop?: number | string;
496
+ marginBottom?: number | string;
497
+ marginRight?: number | string;
498
+ marginLeft?: number | string;
499
+ };
500
+ declare type Padding = {
501
+ padding?: number | string;
502
+ paddingTop?: number | string;
503
+ paddingBottom?: number | string;
504
+ paddingRight?: number | string;
505
+ paddingLeft?: number | string;
506
+ };
507
+ declare type Width = {
508
+ width?: number | string;
509
+ };
510
+ declare type Height = {
511
+ height?: number | string;
512
+ };
513
+ declare type WidthHeight = Width & Height;
514
+ declare type MarginPadding = Margin & Padding;
515
+ declare type FlexPosition = 'start' | 'end' | 'center' | 'space-around' | 'space-between';
516
+ declare type As = {
517
+ as?: ElementType<unknown>;
518
+ };
519
+ declare type InputFocusEvent = FocusEvent<HTMLInputElement>;
520
+ declare type MergeField$1 = {
521
+ id: string;
522
+ label: string;
523
+ value?: string;
524
+ };
525
+ declare type InputRef = {
526
+ focus: () => void;
527
+ blur: () => void;
528
+ hasFocus: boolean;
529
+ };
530
+ declare type AudioRef = {
531
+ play?: () => void;
532
+ pause?: () => void;
533
+ stop?: () => void;
534
+ };
535
+ declare type DraftEditorRef = {
536
+ insertField: (field: MergeField$1) => void;
537
+ focusAtEnd: () => void;
538
+ };
539
+
540
+ declare type AudioProps = {
541
+ /** The filepath of the audio source */
542
+ src: string;
543
+ /** The title of the audio source to be displayed */
544
+ title?: string;
545
+ /** Sets the position of the display info in relation to the duration slider */
546
+ infoPosition?: 'top' | 'bottom';
547
+ /** Center aligns the slider and info elements with the button */
548
+ centerAlignContent?: boolean;
549
+ /** Hides the slider control while not playing */
550
+ hideSliderOnStop?: boolean;
551
+ /** Hides the time display while not playing */
552
+ hideTimeOnStop?: boolean;
553
+ /** Reduces the size of the Audio play button */
554
+ small?: boolean;
555
+ /** Hides the duration slider */
556
+ collapsed?: boolean;
557
+ /** Font size of the audio title */
558
+ fontSizeTitle?: number | string;
559
+ /** Font size of the audio time */
560
+ fontSizeTime?: number | string;
561
+ onPlay?: (event: ChangeEvent<HTMLAudioElement>) => void;
562
+ onPause?: (event: ChangeEvent<HTMLAudioElement>) => void;
563
+ onStop?: (event: ChangeEvent<HTMLAudioElement>) => void;
564
+ } & Margin & Width & As & HTMLProps<HTMLDivElement>;
565
+ declare const Audio: react.ForwardRefExoticComponent<Pick<AudioProps, "small" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "start" | "size" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | keyof Margin | "infoPosition" | "centerAlignContent" | "collapsed" | "hideSliderOnStop" | "hideTimeOnStop" | "fontSizeTitle" | "fontSizeTime" | "onStop"> & react.RefAttributes<AudioRef>>;
566
+
567
+ declare type OptionItem = {
568
+ id: number | string;
569
+ label: string;
570
+ header?: string;
571
+ body?: string;
572
+ leftElement?: ReactElement;
573
+ rightElement?: ReactElement;
574
+ onClick?: (event?: MouseEvent$1) => void;
575
+ value?: unknown;
576
+ [key: string]: unknown;
577
+ };
578
+ declare type DropdownItemProps = {
579
+ setValue?: (v: OptionItem) => void;
580
+ close?: () => void;
581
+ children: ReactNode;
582
+ /** Sets the value of the option that will be returned in the object */
583
+ value?: number | string;
584
+ /** Sets the lable property of the object to be returned. Only required if the content of the Item is anything other than a string (icons, other elements) */
585
+ displayText?: string;
586
+ /** The flex positioning of the Item contents */
587
+ contentPosition?: FlexPosition;
588
+ /** The color of the Option text */
589
+ color?: string;
590
+ /** Sets the Option text color to theme.accent */
591
+ accented?: boolean;
592
+ /** Callback function to override the default onChange function of Dropdown. */
593
+ onClick?: (event: MouseEvent$1) => void;
594
+ /** The id of the Item element */
595
+ id: number | string;
596
+ };
597
+
598
+ declare function ActivityHistory(props: react.SVGProps<SVGSVGElement>): JSX.Element;
599
+
600
+ declare function Add(props: react.SVGProps<SVGSVGElement>): JSX.Element;
601
+
602
+ declare function AddCircle(props: react.SVGProps<SVGSVGElement>): JSX.Element;
603
+
604
+ declare function AddCircleOutline(props: react.SVGProps<SVGSVGElement>): JSX.Element;
605
+
606
+ declare function AddPerson(props: react.SVGProps<SVGSVGElement>): JSX.Element;
607
+
608
+ declare function ArrowDown(props: react.SVGProps<SVGSVGElement>): JSX.Element;
609
+
610
+ declare function ArrowLeft(props: react.SVGProps<SVGSVGElement>): JSX.Element;
611
+
612
+ declare function ArrowRight(props: react.SVGProps<SVGSVGElement>): JSX.Element;
613
+
614
+ declare function ArrowUp(props: react.SVGProps<SVGSVGElement>): JSX.Element;
615
+
616
+ declare function Attachment(props: react.SVGProps<SVGSVGElement>): JSX.Element;
617
+
618
+ declare function Calendar$1(props: react.SVGProps<SVGSVGElement>): JSX.Element;
619
+
620
+ declare function Camera(props: react.SVGProps<SVGSVGElement>): JSX.Element;
621
+
622
+ declare function Card(props: react.SVGProps<SVGSVGElement>): JSX.Element;
623
+
624
+ declare function CaretDown(props: react.SVGProps<SVGSVGElement>): JSX.Element;
625
+
626
+ declare function CaretUp(props: react.SVGProps<SVGSVGElement>): JSX.Element;
627
+
628
+ declare function CheckCircle(props: react.SVGProps<SVGSVGElement>): JSX.Element;
629
+
630
+ declare function CheckCircleOutline(props: react.SVGProps<SVGSVGElement>): JSX.Element;
631
+
632
+ declare function Checkbox$1(props: react.SVGProps<SVGSVGElement>): JSX.Element;
633
+
634
+ declare function CheckboxOff(props: react.SVGProps<SVGSVGElement>): JSX.Element;
635
+
636
+ declare function CheckboxPartial(props: react.SVGProps<SVGSVGElement>): JSX.Element;
637
+
638
+ declare function ChevronDown(props: react.SVGProps<SVGSVGElement>): JSX.Element;
639
+
640
+ declare function ChevronLeft(props: react.SVGProps<SVGSVGElement>): JSX.Element;
641
+
642
+ declare function ChevronRight(props: react.SVGProps<SVGSVGElement>): JSX.Element;
643
+
644
+ declare function ChevronUp(props: react.SVGProps<SVGSVGElement>): JSX.Element;
645
+
646
+ declare function Clapperboard(props: react.SVGProps<SVGSVGElement>): JSX.Element;
647
+
648
+ declare function ClapperboardOpen(props: react.SVGProps<SVGSVGElement>): JSX.Element;
649
+
650
+ declare function Close(props: react.SVGProps<SVGSVGElement>): JSX.Element;
651
+
652
+ declare function CloseCircle(props: react.SVGProps<SVGSVGElement>): JSX.Element;
653
+
654
+ declare function CloseCircleOutline(props: react.SVGProps<SVGSVGElement>): JSX.Element;
655
+
656
+ declare function Copy(props: react.SVGProps<SVGSVGElement>): JSX.Element;
657
+
658
+ declare function Devices(props: react.SVGProps<SVGSVGElement>): JSX.Element;
659
+
660
+ declare function Dialpad(props: react.SVGProps<SVGSVGElement>): JSX.Element;
661
+
662
+ declare function DoubleArrowLeft(props: react.SVGProps<SVGSVGElement>): JSX.Element;
663
+
664
+ declare function DoubleArrowRight(props: react.SVGProps<SVGSVGElement>): JSX.Element;
665
+
666
+ declare function Download(props: react.SVGProps<SVGSVGElement>): JSX.Element;
667
+
668
+ declare function Edit(props: react.SVGProps<SVGSVGElement>): JSX.Element;
669
+
670
+ declare function Emoji(props: react.SVGProps<SVGSVGElement>): JSX.Element;
671
+
672
+ declare function EyeOff(props: react.SVGProps<SVGSVGElement>): JSX.Element;
673
+
674
+ declare function EyeOn(props: react.SVGProps<SVGSVGElement>): JSX.Element;
675
+
676
+ declare function Facebook(props: react.SVGProps<SVGSVGElement>): JSX.Element;
677
+
678
+ declare function DonerMenu(props: react.SVGProps<SVGSVGElement>): JSX.Element;
679
+
680
+ declare function Flask(props: react.SVGProps<SVGSVGElement>): JSX.Element;
681
+
682
+ declare function Group(props: react.SVGProps<SVGSVGElement>): JSX.Element;
683
+
684
+ declare function Heart(props: react.SVGProps<SVGSVGElement>): JSX.Element;
685
+
686
+ declare function HeartOutline(props: react.SVGProps<SVGSVGElement>): JSX.Element;
687
+
688
+ declare function Help(props: react.SVGProps<SVGSVGElement>): JSX.Element;
689
+
690
+ declare function Hourglass(props: react.SVGProps<SVGSVGElement>): JSX.Element;
691
+
692
+ declare function Info(props: react.SVGProps<SVGSVGElement>): JSX.Element;
693
+
694
+ declare function Instagram(props: react.SVGProps<SVGSVGElement>): JSX.Element;
695
+
696
+ declare function KebabMenu(props: react.SVGProps<SVGSVGElement>): JSX.Element;
697
+
698
+ declare function Link(props: react.SVGProps<SVGSVGElement>): JSX.Element;
699
+
700
+ declare function Linkedin(props: react.SVGProps<SVGSVGElement>): JSX.Element;
701
+
702
+ declare function Loading(props: react.SVGProps<SVGSVGElement>): JSX.Element;
703
+
704
+ declare function Maximize(props: react.SVGProps<SVGSVGElement>): JSX.Element;
705
+
706
+ declare function Menu$1(props: react.SVGProps<SVGSVGElement>): JSX.Element;
707
+
708
+ declare function MergeField(props: react.SVGProps<SVGSVGElement>): JSX.Element;
709
+
710
+ declare function Message$1(props: react.SVGProps<SVGSVGElement>): JSX.Element;
711
+
712
+ declare function Mic(props: react.SVGProps<SVGSVGElement>): JSX.Element;
713
+
714
+ declare function MicOff(props: react.SVGProps<SVGSVGElement>): JSX.Element;
715
+
716
+ declare function Minimize(props: react.SVGProps<SVGSVGElement>): JSX.Element;
717
+
718
+ declare function Mobile(props: react.SVGProps<SVGSVGElement>): JSX.Element;
719
+
720
+ declare function NotAllowed(props: react.SVGProps<SVGSVGElement>): JSX.Element;
721
+
722
+ declare function Open(props: react.SVGProps<SVGSVGElement>): JSX.Element;
723
+
724
+ declare function PauseOutline$1(props: react.SVGProps<SVGSVGElement>): JSX.Element;
725
+
726
+ declare function PauseOutline(props: react.SVGProps<SVGSVGElement>): JSX.Element;
727
+
728
+ declare function Person(props: react.SVGProps<SVGSVGElement>): JSX.Element;
729
+
730
+ declare function Phone$1(props: react.SVGProps<SVGSVGElement>): JSX.Element;
731
+
732
+ declare function PhoneBlocked(props: react.SVGProps<SVGSVGElement>): JSX.Element;
733
+
734
+ declare function PhoneEnd(props: react.SVGProps<SVGSVGElement>): JSX.Element;
735
+
736
+ declare function PhoneHistory(props: react.SVGProps<SVGSVGElement>): JSX.Element;
737
+
738
+ declare function PhoneTalk(props: react.SVGProps<SVGSVGElement>): JSX.Element;
739
+
740
+ declare function Play(props: react.SVGProps<SVGSVGElement>): JSX.Element;
741
+
742
+ declare function PlayOutline(props: react.SVGProps<SVGSVGElement>): JSX.Element;
743
+
744
+ declare function ProfileUser(props: react.SVGProps<SVGSVGElement>): JSX.Element;
745
+
746
+ declare function RadioButton(props: react.SVGProps<SVGSVGElement>): JSX.Element;
747
+
748
+ declare function RadioButtonOff(props: react.SVGProps<SVGSVGElement>): JSX.Element;
749
+
750
+ declare function Record(props: react.SVGProps<SVGSVGElement>): JSX.Element;
751
+
752
+ declare function Refresh(props: react.SVGProps<SVGSVGElement>): JSX.Element;
753
+
754
+ declare function Rocket(props: react.SVGProps<SVGSVGElement>): JSX.Element;
755
+
756
+ declare function Schedule(props: react.SVGProps<SVGSVGElement>): JSX.Element;
757
+
758
+ declare function ScheduleOutline(props: react.SVGProps<SVGSVGElement>): JSX.Element;
759
+
760
+ declare function Search(props: react.SVGProps<SVGSVGElement>): JSX.Element;
761
+
762
+ declare function Settings(props: react.SVGProps<SVGSVGElement>): JSX.Element;
763
+
764
+ declare function Sort(props: react.SVGProps<SVGSVGElement>): JSX.Element;
765
+
766
+ declare function Spotify(props: react.SVGProps<SVGSVGElement>): JSX.Element;
767
+
768
+ declare function Star(props: react.SVGProps<SVGSVGElement>): JSX.Element;
769
+
770
+ declare function StarOutline(props: react.SVGProps<SVGSVGElement>): JSX.Element;
771
+
772
+ declare function Stop(props: react.SVGProps<SVGSVGElement>): JSX.Element;
773
+
774
+ declare function StopOutline(props: react.SVGProps<SVGSVGElement>): JSX.Element;
775
+
776
+ declare function Template(props: react.SVGProps<SVGSVGElement>): JSX.Element;
777
+
778
+ declare function ToggleOff(props: react.SVGProps<SVGSVGElement>): JSX.Element;
779
+
780
+ declare function ToggleOn(props: react.SVGProps<SVGSVGElement>): JSX.Element;
781
+
782
+ declare function Trash(props: react.SVGProps<SVGSVGElement>): JSX.Element;
783
+
784
+ declare function Twitter(props: react.SVGProps<SVGSVGElement>): JSX.Element;
785
+
786
+ declare function Upload(props: react.SVGProps<SVGSVGElement>): JSX.Element;
787
+
788
+ declare function Video(props: react.SVGProps<SVGSVGElement>): JSX.Element;
789
+
790
+ declare function Voicemail(props: react.SVGProps<SVGSVGElement>): JSX.Element;
791
+
792
+ declare function VolOn(props: react.SVGProps<SVGSVGElement>): JSX.Element;
793
+
794
+ declare function Warning(props: react.SVGProps<SVGSVGElement>): JSX.Element;
795
+
796
+ declare function WarningCircleOutline(props: react.SVGProps<SVGSVGElement>): JSX.Element;
797
+
798
+ declare function Youtube(props: react.SVGProps<SVGSVGElement>): JSX.Element;
799
+
800
+ declare const icons: {
801
+ 'activity-history': typeof ActivityHistory;
802
+ add: typeof Add;
803
+ 'add-circle': typeof AddCircle;
804
+ 'add-circle-outline': typeof AddCircleOutline;
805
+ 'add-person': typeof AddPerson;
806
+ 'arrow-down': typeof ArrowDown;
807
+ 'arrow-left': typeof ArrowLeft;
808
+ 'arrow-right': typeof ArrowRight;
809
+ 'arrow-up': typeof ArrowUp;
810
+ attachment: typeof Attachment;
811
+ calendar: typeof Calendar$1;
812
+ camera: typeof Camera;
813
+ card: typeof Card;
814
+ 'caret-down': typeof CaretDown;
815
+ 'caret-up': typeof CaretUp;
816
+ 'check-circle': typeof CheckCircle;
817
+ 'check-circle-outline': typeof CheckCircleOutline;
818
+ checkbox: typeof Checkbox$1;
819
+ 'checkbox-off': typeof CheckboxOff;
820
+ 'checkbox-partial': typeof CheckboxPartial;
821
+ 'chevron-down': typeof ChevronDown;
822
+ 'chevron-left': typeof ChevronLeft;
823
+ 'chevron-right': typeof ChevronRight;
824
+ 'chevron-up': typeof ChevronUp;
825
+ clapperboard: typeof Clapperboard;
826
+ 'clapperboard-open': typeof ClapperboardOpen;
827
+ close: typeof Close;
828
+ 'close-circle': typeof CloseCircle;
829
+ 'close-circle-outline': typeof CloseCircleOutline;
830
+ copy: typeof Copy;
831
+ devices: typeof Devices;
832
+ dialpad: typeof Dialpad;
833
+ 'double-arrow-left': typeof DoubleArrowLeft;
834
+ 'double-arrow-right': typeof DoubleArrowRight;
835
+ download: typeof Download;
836
+ edit: typeof Edit;
837
+ emoji: typeof Emoji;
838
+ 'eye-off': typeof EyeOff;
839
+ 'eye-on': typeof EyeOn;
840
+ facebook: typeof Facebook;
841
+ filter: typeof DonerMenu;
842
+ flask: typeof Flask;
843
+ group: typeof Group;
844
+ heart: typeof Heart;
845
+ 'heart-outline': typeof HeartOutline;
846
+ help: typeof Help;
847
+ hourglass: typeof Hourglass;
848
+ info: typeof Info;
849
+ instagram: typeof Instagram;
850
+ 'kebab-menu': typeof KebabMenu;
851
+ link: typeof Link;
852
+ linkedin: typeof Linkedin;
853
+ loading: typeof Loading;
854
+ maximize: typeof Maximize;
855
+ menu: typeof Menu$1;
856
+ 'merge-field': typeof MergeField;
857
+ message: typeof Message$1;
858
+ mic: typeof Mic;
859
+ 'mic-off': typeof MicOff;
860
+ minimize: typeof Minimize;
861
+ mobile: typeof Mobile;
862
+ 'not-allowed': typeof NotAllowed;
863
+ open: typeof Open;
864
+ pause: typeof PauseOutline$1;
865
+ 'pause-outline': typeof PauseOutline;
866
+ person: typeof Person;
867
+ phone: typeof Phone$1;
868
+ 'phone-blocked': typeof PhoneBlocked;
869
+ 'phone-end': typeof PhoneEnd;
870
+ 'phone-history': typeof PhoneHistory;
871
+ 'phone-talk': typeof PhoneTalk;
872
+ play: typeof Play;
873
+ 'play-outline': typeof PlayOutline;
874
+ 'profile-user': typeof ProfileUser;
875
+ 'radio-button': typeof RadioButton;
876
+ 'radio-button-off': typeof RadioButtonOff;
877
+ record: typeof Record;
878
+ refresh: typeof Refresh;
879
+ rocket: typeof Rocket;
880
+ schedule: typeof Schedule;
881
+ 'schedule-outline': typeof ScheduleOutline;
882
+ search: typeof Search;
883
+ settings: typeof Settings;
884
+ share: (props: react.SVGProps<SVGSVGElement>) => JSX.Element;
885
+ sort: typeof Sort;
886
+ spotify: typeof Spotify;
887
+ star: typeof Star;
888
+ 'star-outline': typeof StarOutline;
889
+ stop: typeof Stop;
890
+ 'stop-outline': typeof StopOutline;
891
+ template: typeof Template;
892
+ 'toggle-off': typeof ToggleOff;
893
+ 'toggle-on': typeof ToggleOn;
894
+ trash: typeof Trash;
895
+ twitter: typeof Twitter;
896
+ upload: typeof Upload;
897
+ video: typeof Video;
898
+ voicemail: typeof Voicemail;
899
+ 'vol-on': typeof VolOn;
900
+ warning: typeof Warning;
901
+ 'warning-circle-outline': typeof WarningCircleOutline;
902
+ youtube: typeof Youtube;
903
+ };
904
+ declare type IconNames = keyof typeof icons;
905
+
906
+ declare type ButtonAttributes = Omit<HTMLProps<HTMLButtonElement>, 'as' | 'type' | 'size'> & {
907
+ type?: 'button' | 'reset' | 'submit';
908
+ } & As;
909
+ declare type ButtonBaseProps = {
910
+ children?: ReactNode;
911
+ joined?: 'left' | 'right' | 'middle';
912
+ preventPointerEvents?: boolean;
913
+ /** Gives the button a semi-transparent background with a solid border */
914
+ outline?: boolean;
915
+ /** Prevents the button from being clicked */
916
+ disabled?: boolean;
917
+ /** Adds an icon for the specific icon name to the button */
918
+ icon?: IconNames;
919
+ /** Positions the icon to the left or right of the button text */
920
+ iconPosition?: 'left' | 'right';
921
+ /** Defines the size of the button */
922
+ size?: 'small' | 'medium' | 'large';
923
+ /** Reduces the size of the button */
924
+ small?: boolean;
925
+ /** Increases the size of the button */
926
+ large?: boolean;
927
+ /** Adds a loading icon over the top of the button contents */
928
+ isLoading?: boolean;
929
+ /** Removes the text on a button if the button has an icon */
930
+ collapse?: boolean;
931
+ /** The function to be called when the button is clicked */
932
+ onClick?: (event: MouseEvent$1) => void;
933
+ /** Sets the text backgroundColor of the button */
934
+ backgroundColor?: string;
935
+ /** Sets the text color of the button */
936
+ color?: string;
937
+ } & ButtonAttributes;
938
+ declare type ButtonStyleProps = {
939
+ /** Displays a button with secondary colors */
940
+ secondary?: boolean;
941
+ /** Displays a red button */
942
+ negative?: boolean;
943
+ /** Displays a green button */
944
+ positive?: boolean;
945
+ /** Displays a yellow button */
946
+ caution?: boolean;
947
+ /** Displays a button with a background on hover or active */
948
+ subtle?: boolean;
949
+ /** Displays a button with no background or padding */
950
+ link?: boolean;
951
+ /** Displays a fully rounded button with a fixed width and height */
952
+ circle?: boolean;
953
+ };
954
+ declare type Primary = {
955
+ /** Displays a button with secondary colors */
956
+ secondary?: never;
957
+ /** Displays a red button */
958
+ negative?: never;
959
+ /** Displays a green button */
960
+ positive?: never;
961
+ /** Displays a yellow button */
962
+ caution?: never;
963
+ };
964
+ declare type Secondary = {
965
+ secondary?: boolean;
966
+ negative?: never;
967
+ positive?: never;
968
+ caution?: never;
969
+ };
970
+ declare type Negative = {
971
+ negative?: boolean;
972
+ secondary?: never;
973
+ positive?: never;
974
+ caution?: never;
975
+ };
976
+ declare type Positive = {
977
+ positive?: boolean;
978
+ negative?: never;
979
+ caution?: never;
980
+ secondary?: never;
981
+ };
982
+ declare type Caution = {
983
+ caution?: boolean;
984
+ positive?: never;
985
+ negative?: never;
986
+ secondary?: never;
987
+ };
988
+ declare type ButtonStyles = Primary | Secondary | Negative | Positive | Caution;
989
+ declare type BasicButtonProps = ButtonBaseProps & ButtonStyleProps;
990
+ declare type DropdownProps$1 = {
991
+ dropdown?: false;
992
+ options?: never;
993
+ direction?: never;
994
+ afterShow?: never;
995
+ afterHide?: never;
996
+ } | {
997
+ /** Adds a dropdown button to the main button, allowing for multiple button options */
998
+ dropdown: true;
999
+ /** The dropdown options array of { id: string; label: string; action: () => void; } */
1000
+ options: OptionItem[];
1001
+ /** The direction the options should open in relation to the button */
1002
+ direction?: 'top' | 'bottom';
1003
+ /** The function to be called when the options are opened */
1004
+ afterShow?: () => void;
1005
+ /** The function to be called when the options are closed */
1006
+ afterHide?: () => void;
1007
+ };
1008
+ declare type ButtonComponentProps = {
1009
+ /** Sets the text of the button */
1010
+ content?: string;
1011
+ joined?: never;
1012
+ } & BasicButtonProps & DropdownProps$1 & Margin;
1013
+
1014
+ declare type Position = 'top' | 'bottom' | 'right' | 'left' | 'top left' | 'bottom left' | 'top right' | 'bottom right';
1015
+ declare type TooltipProps = {
1016
+ children?: ReactNode;
1017
+ /** The element that will trigger the opening of the Tooltip */
1018
+ trigger: ReactNode;
1019
+ /** Sets the instigator of the Tooltip opening */
1020
+ on?: 'hover' | 'click';
1021
+ /** The text content of the Tooltip */
1022
+ content?: string;
1023
+ /** The style prop of the Tooltip container */
1024
+ style?: {
1025
+ [key: string]: string | number;
1026
+ };
1027
+ /** The position of the Tooltip body and arrow in relation to the trigger */
1028
+ position?: Position;
1029
+ /** Offsets the vertical position of the Tooltip */
1030
+ offsetY?: number;
1031
+ /** Offsets the horizontal position of the Tooltip arrow */
1032
+ offsetArrowX?: number;
1033
+ /** Offsets the horizontal position of the Tooltip */
1034
+ offsetX?: number;
1035
+ /** The width of the Tooltip container */
1036
+ containerWidth?: number | string;
1037
+ /** The width of the Tooltip element */
1038
+ width?: number | string;
1039
+ /** The maxWidth of the Tooltip element */
1040
+ maxWidth?: number | string;
1041
+ /** The textAlignment of the Tooltip text */
1042
+ textAlign?: 'left' | 'right' | 'center';
1043
+ /** Prevents the Tooltip from opening */
1044
+ disabled?: boolean;
1045
+ /** The id of the Tooltip element */
1046
+ id?: string;
1047
+ /** The function called after the Tooltip opens */
1048
+ afterShow?: () => void;
1049
+ /** The function called after the Tooltip closes */
1050
+ afterHide?: () => void;
1051
+ /** The backgroundColor of the Tooltip element */
1052
+ bgColor?: string;
1053
+ /** The text color of the Tooltip element */
1054
+ color?: string;
1055
+ };
1056
+ declare const Tooltip: {
1057
+ ({ trigger, on, children, content, style, position, offsetY, offsetArrowX, offsetX, containerWidth, width, maxWidth, textAlign, disabled, id, afterShow, afterHide, bgColor, color, }: TooltipProps): JSX.Element;
1058
+ Header: _emotion_styled.StyledComponent<{
1059
+ theme?: _emotion_react.Theme | undefined;
1060
+ as?: react.ElementType<any> | undefined;
1061
+ } & ThemeProp, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
1062
+ Body: _emotion_styled.StyledComponent<{
1063
+ theme?: _emotion_react.Theme | undefined;
1064
+ as?: react.ElementType<any> | undefined;
1065
+ } & ThemeProp, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
1066
+ };
1067
+
1068
+ /** Button Component */
1069
+ declare const Button: {
1070
+ (props: ButtonComponentProps): JSX.Element;
1071
+ Group: ({ children, disabled, outline, size, small, large, secondary, negative, positive, caution, collapse, ...props }: {
1072
+ children: (react.ReactElement<BasicButtonProps | ButtonComponentProps, string | react.JSXElementConstructor<any>> | react.ReactElement<TooltipProps, string | react.JSXElementConstructor<any>>) | (react.ReactElement<BasicButtonProps | ButtonComponentProps, string | react.JSXElementConstructor<any>> | react.ReactElement<TooltipProps, string | react.JSXElementConstructor<any>>)[];
1073
+ disabled?: boolean | undefined;
1074
+ size?: "small" | "medium" | "large" | undefined;
1075
+ small?: boolean | undefined;
1076
+ large?: boolean | undefined;
1077
+ outline?: boolean | undefined;
1078
+ collapse?: boolean | undefined;
1079
+ } & ButtonStyles & Margin & Width) => JSX.Element | null;
1080
+ };
1081
+
1082
+ declare type CalendarProps = {
1083
+ /** Optional date the initial selected calendar day should be set to. */
1084
+ date?: Date;
1085
+ /** The function to be called when a date is selected */
1086
+ onChange: (date: Date) => void;
1087
+ /** Prevents selection of dates in the past (relative to the set date or current date). */
1088
+ preventPast?: boolean | Date;
1089
+ /** Prevents selection of dates in the futurepast (relative to the set date or current date). */
1090
+ preventFuture?: boolean | Date;
1091
+ /** Removes the Calendar's boxShadow */
1092
+ noShadow?: boolean;
1093
+ };
1094
+ declare const Calendar: ({ date, onChange, preventPast, preventFuture, noShadow }: CalendarProps) => JSX.Element;
1095
+
1096
+ declare type CheckboxAttributes = Omit<HTMLProps<HTMLInputElement>, 'onChange'>;
1097
+
1098
+ declare type CheckboxProps = {
1099
+ /** Id of the input element */
1100
+ id?: string;
1101
+ /** Places a label element beside the checkbox. The value will set the text of the label */
1102
+ label?: string;
1103
+ /** Sets the label on the left or right of the checkbox */
1104
+ labelPosition?: 'left' | 'right';
1105
+ /** Disables the checkbox */
1106
+ disabled?: boolean;
1107
+ /** Controls the checked property of the checkbox */
1108
+ checked?: boolean;
1109
+ /** Sets the checkbox to an indeterminate state */
1110
+ partial?: boolean;
1111
+ /** The function called with the checkbox value after the checkbox is changed */
1112
+ onChange: (val: boolean) => void;
1113
+ } & Margin & As & CheckboxAttributes;
1114
+ declare const Checkbox: ({ id, label, labelPosition, checked, partial, disabled, onChange, margin, marginTop, marginBottom, marginRight, marginLeft, ...props }: CheckboxProps) => JSX.Element;
1115
+
1116
+ declare type RestLanguage = 'rest-get' | 'rest-post' | 'rest-put' | 'rest-delete' | 'rest-options';
1117
+ declare type WithChildren = {
1118
+ /** The string to be rendered in the code snippet */
1119
+ children: string;
1120
+ /** The alternative to passing the code snippet in as a child */
1121
+ code?: never;
1122
+ };
1123
+ declare type WithCode = {
1124
+ code: string;
1125
+ children?: never;
1126
+ };
1127
+ declare type Children = WithChildren | WithCode;
1128
+ declare type CodeProps = {
1129
+ /** The metadata string passed in by MDX */
1130
+ className?: string;
1131
+ /** The syntax language to be used for the code snippet */
1132
+ lang?: Language | RestLanguage;
1133
+ /** The line numbers in the code snippet that should be highlighted */
1134
+ lineHighlights?: string;
1135
+ /** Hides the line numbers in the code snippet */
1136
+ noNumbers?: boolean;
1137
+ } & Children & Margin;
1138
+ declare const Code: ({ children, code, className: metaData, lang: langProp, lineHighlights: lineHighlightsProp, noNumbers: noNumbersProp, margin, marginTop, marginBottom, marginRight, marginLeft, }: CodeProps) => JSX.Element;
1139
+
1140
+ declare const Table$1: _emotion_styled.StyledComponent<{
1141
+ theme?: _emotion_react.Theme | undefined;
1142
+ as?: react.ElementType<any> | undefined;
1143
+ } & ThemeProp, react.DetailedHTMLProps<react.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {}>;
1144
+
1145
+ declare const DraftEditor: react.ForwardRefExoticComponent<{
1146
+ /** Controlled text value of the editor */
1147
+ value: string;
1148
+ /** Function called after editor change with the text value and boolean indicating missing merge fields */
1149
+ onChange?: ((text: string, hasMissing: boolean) => void) | undefined;
1150
+ /** Function called after the enter key is pressed */
1151
+ onEnterKey?: ((e: KeyboardEvent) => void) | undefined;
1152
+ /** Callback run after onFocus event */
1153
+ onFocus?: ((event?: InputFocusEvent) => void) | undefined;
1154
+ /** Callback run after onBlur event */
1155
+ onBlur?: ((event?: InputFocusEvent) => void) | undefined;
1156
+ /** Array of MergeFields ({ id: string, label: string, value?: string }) for the editor to use/parse */
1157
+ mergeFields?: MergeField$1[] | undefined;
1158
+ /** Placeholder text of editor when value is empty */
1159
+ placeholder?: string | undefined;
1160
+ /** Width of the editor */
1161
+ width?: string | number | undefined;
1162
+ /** Height of the editor */
1163
+ height?: number | undefined;
1164
+ /** Max Height of the editor. Editor contents will scroll after this height is reached */
1165
+ maxHeight?: number | undefined;
1166
+ /** Removes the border from the editor */
1167
+ borderless?: boolean | undefined;
1168
+ /** Removes the padding from the editor */
1169
+ noPadding?: boolean | undefined;
1170
+ /** Disables any editing capability of the editor */
1171
+ readOnly?: boolean | undefined;
1172
+ /** Displays the value of the merge field rather than the label */
1173
+ displayMergedValues?: boolean | undefined;
1174
+ /** Sets the text color of the editor */
1175
+ color?: string | undefined;
1176
+ /** Sets the overflow css value of the editor */
1177
+ overflow?: CSSProperties['overflow'];
1178
+ /** Truncates the editor text to the number of lines specified and adds an ellipsis textOverflow */
1179
+ clampLines?: number | undefined;
1180
+ /** Places a label element above the input. The value will set the text of the label */
1181
+ label?: string | undefined;
1182
+ /** Disables the input */
1183
+ disabled?: boolean | undefined;
1184
+ /** Sets the input borderRadius */
1185
+ borderRadius?: string | number | undefined;
1186
+ /** Sets the input backgroundColor */
1187
+ backgroundColor?: string | undefined;
1188
+ /** Sets the editor fontSize */
1189
+ fontSize?: string | number | undefined;
1190
+ /** Removes the border, padding, and backgroundColor from the DraftEditor */
1191
+ textOnly?: boolean | undefined;
1192
+ } & Margin & react.RefAttributes<DraftEditorRef>>;
1193
+
1194
+ declare type Sizes = number | 'small' | 'medium' | 'large';
1195
+ declare type DivAttributes = Omit<HTMLProps<HTMLDivElement>, 'size'>;
1196
+ declare type ConditionalProps = {
1197
+ /** Name of the specific icon to use */
1198
+ name: IconNames;
1199
+ svg?: never;
1200
+ } | {
1201
+ /** The SVG element to wrap with the Icon component */
1202
+ svg: ReactNode | (() => JSX.Element);
1203
+ name?: never;
1204
+ };
1205
+ declare type IconProps = {
1206
+ /** Sets the width and height of the icon */
1207
+ size?: Sizes;
1208
+ /** Sets the width of the icon */
1209
+ width?: number | string;
1210
+ /** Sets the height of the icon */
1211
+ height?: number | string;
1212
+ /** Sets the color of the icon */
1213
+ color?: string;
1214
+ /** Sets the color of the icon when hovered */
1215
+ hoverColor?: string;
1216
+ /** Sets the cursor as a pointer when hovered */
1217
+ pointer?: boolean;
1218
+ /** Sets the color of the icon to the parent element's color */
1219
+ inheritColor?: boolean;
1220
+ /** Sets the style prop of the Icon wrapper element */
1221
+ style?: {
1222
+ [key: string]: string | number;
1223
+ };
1224
+ } & ConditionalProps & MarginPadding & As & DivAttributes;
1225
+ declare const Icon: ({ name, svg, size, width, height, color, hoverColor, pointer, inheritColor, style, onClick, ...props }: IconProps) => JSX.Element | null;
1226
+
1227
+ declare type IconType = IconNames | IconProps | ReactElement<IconProps> | ReactElement<TooltipProps>;
1228
+
1229
+ declare type OnClear = () => void;
1230
+ declare type OnChangeDefault = (event: ChangeEvent<HTMLInputElement>) => void;
1231
+ declare type OnChangePhone = (event: ChangeEvent<HTMLInputElement>, formatted: string, raw: string) => void;
1232
+ declare type Default = {
1233
+ /** Auto-formats the input to a US phone number */
1234
+ phone?: never;
1235
+ /** A callback function that is run upon changing the contents of the input */
1236
+ onChange: OnChangeDefault;
1237
+ };
1238
+ declare type Phone = {
1239
+ phone: true;
1240
+ onChange: OnChangePhone;
1241
+ };
1242
+ declare type InputTypes = Default | Phone;
1243
+ declare type DefaultInputProps = Omit<HTMLProps<HTMLInputElement>, 'onChange' | 'as'> & As;
1244
+ declare type InputProps = {
1245
+ /** The id of the input element */
1246
+ id?: string;
1247
+ /** Places a label element above the input. The value will set the text of the label */
1248
+ label?: string;
1249
+ /** Sets the input placeholder text */
1250
+ placeholder?: string;
1251
+ /** Sets the input placeholder color */
1252
+ placeholderColor?: string;
1253
+ /** Places a description message below the input */
1254
+ description?: string;
1255
+ /** Displays a spinner icon on the right side of the input */
1256
+ isLoading?: boolean;
1257
+ /** The name of the icon that should appear on the left side of the input */
1258
+ iconLeft?: IconType;
1259
+ /** The name of the icon that should appear on the right side of the input */
1260
+ iconRight?: IconType;
1261
+ /** Sets the Input's bottom border and description text to red */
1262
+ invalid?: boolean;
1263
+ /** Removes the input border */
1264
+ borderless?: boolean;
1265
+ /** Sets the input borderRadius */
1266
+ borderRadius?: number | string;
1267
+ /** Sets the input borderColor */
1268
+ borderColor?: string;
1269
+ /** Sets the input backgroundColor */
1270
+ backgroundColor?: string;
1271
+ /** Sets the input fontSize */
1272
+ fontSize?: number | string;
1273
+ /** Width of the input */
1274
+ width?: number | string;
1275
+ /** Height of the input */
1276
+ height?: number | string;
1277
+ /** A ref to the input's container element */
1278
+ containerRef?: MutableRefObject<HTMLDivElement>;
1279
+ /** Value of the input */
1280
+ value: string | number;
1281
+ /** Disables the input */
1282
+ disabled?: boolean;
1283
+ /** Prevents the input from being clicked, focused, hovered, or edited */
1284
+ readOnly?: boolean;
1285
+ /** Prevents the input from being clicked or focused */
1286
+ preventFocus?: boolean;
1287
+ /** Sets the cursor to pointer for the input container */
1288
+ pointer?: boolean;
1289
+ /** Removes the padding from the input */
1290
+ textOnly?: boolean;
1291
+ /** Adds a search icon to the left of the input and a clear icon and funcitonality to the right */
1292
+ search?: boolean;
1293
+ /** Callback run after onFocus event */
1294
+ onFocus?: (event?: InputFocusEvent) => void;
1295
+ /** Callback run after onBlur event */
1296
+ onBlur?: (event?: InputFocusEvent) => void;
1297
+ /** A callback function that is run upon clicking the input container */
1298
+ onClick?: (event?: MouseEvent$1) => void;
1299
+ /** A callback function that is run upon clicking the clear icon */
1300
+ onClear?: OnClear;
1301
+ } & DefaultInputProps & InputTypes & Margin;
1302
+ declare const Input: react.ForwardRefExoticComponent<(Pick<{
1303
+ /** The id of the input element */
1304
+ id?: string | undefined;
1305
+ /** Places a label element above the input. The value will set the text of the label */
1306
+ label?: string | undefined;
1307
+ /** Sets the input placeholder text */
1308
+ placeholder?: string | undefined;
1309
+ /** Sets the input placeholder color */
1310
+ placeholderColor?: string | undefined;
1311
+ /** Places a description message below the input */
1312
+ description?: string | undefined;
1313
+ /** Displays a spinner icon on the right side of the input */
1314
+ isLoading?: boolean | undefined;
1315
+ /** The name of the icon that should appear on the left side of the input */
1316
+ iconLeft?: IconType | undefined;
1317
+ /** The name of the icon that should appear on the right side of the input */
1318
+ iconRight?: IconType | undefined;
1319
+ /** Sets the Input's bottom border and description text to red */
1320
+ invalid?: boolean | undefined;
1321
+ /** Removes the input border */
1322
+ borderless?: boolean | undefined;
1323
+ /** Sets the input borderRadius */
1324
+ borderRadius?: string | number | undefined;
1325
+ /** Sets the input borderColor */
1326
+ borderColor?: string | undefined;
1327
+ /** Sets the input backgroundColor */
1328
+ backgroundColor?: string | undefined;
1329
+ /** Sets the input fontSize */
1330
+ fontSize?: string | number | undefined;
1331
+ /** Width of the input */
1332
+ width?: string | number | undefined;
1333
+ /** Height of the input */
1334
+ height?: string | number | undefined;
1335
+ /** A ref to the input's container element */
1336
+ containerRef?: MutableRefObject<HTMLDivElement> | undefined;
1337
+ /** Value of the input */
1338
+ value: string | number;
1339
+ /** Disables the input */
1340
+ disabled?: boolean | undefined;
1341
+ /** Prevents the input from being clicked, focused, hovered, or edited */
1342
+ readOnly?: boolean | undefined;
1343
+ /** Prevents the input from being clicked or focused */
1344
+ preventFocus?: boolean | undefined;
1345
+ /** Sets the cursor to pointer for the input container */
1346
+ pointer?: boolean | undefined;
1347
+ /** Removes the padding from the input */
1348
+ textOnly?: boolean | undefined;
1349
+ /** Adds a search icon to the left of the input and a clear icon and funcitonality to the right */
1350
+ search?: boolean | undefined;
1351
+ /** Callback run after onFocus event */
1352
+ onFocus?: ((event?: InputFocusEvent) => void) | undefined;
1353
+ /** Callback run after onBlur event */
1354
+ onBlur?: ((event?: InputFocusEvent) => void) | undefined;
1355
+ /** A callback function that is run upon clicking the input container */
1356
+ onClick?: ((event?: MouseEvent$1) => void) | undefined;
1357
+ /** A callback function that is run upon clicking the clear icon */
1358
+ onClear?: OnClear | undefined;
1359
+ } & Omit<HTMLProps<HTMLInputElement>, "as" | "onChange"> & As & Default & Margin, "search" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "start" | "size" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "pointer" | "backgroundColor" | "fontSize" | "borderColor" | "borderRadius" | "borderless" | "textOnly" | "invalid" | keyof Margin | "placeholderColor" | "description" | "isLoading" | "iconLeft" | "iconRight" | "containerRef" | "preventFocus" | "onClear" | keyof Default> | Pick<{
1360
+ /** The id of the input element */
1361
+ id?: string | undefined;
1362
+ /** Places a label element above the input. The value will set the text of the label */
1363
+ label?: string | undefined;
1364
+ /** Sets the input placeholder text */
1365
+ placeholder?: string | undefined;
1366
+ /** Sets the input placeholder color */
1367
+ placeholderColor?: string | undefined;
1368
+ /** Places a description message below the input */
1369
+ description?: string | undefined;
1370
+ /** Displays a spinner icon on the right side of the input */
1371
+ isLoading?: boolean | undefined;
1372
+ /** The name of the icon that should appear on the left side of the input */
1373
+ iconLeft?: IconType | undefined;
1374
+ /** The name of the icon that should appear on the right side of the input */
1375
+ iconRight?: IconType | undefined;
1376
+ /** Sets the Input's bottom border and description text to red */
1377
+ invalid?: boolean | undefined;
1378
+ /** Removes the input border */
1379
+ borderless?: boolean | undefined;
1380
+ /** Sets the input borderRadius */
1381
+ borderRadius?: string | number | undefined;
1382
+ /** Sets the input borderColor */
1383
+ borderColor?: string | undefined;
1384
+ /** Sets the input backgroundColor */
1385
+ backgroundColor?: string | undefined;
1386
+ /** Sets the input fontSize */
1387
+ fontSize?: string | number | undefined;
1388
+ /** Width of the input */
1389
+ width?: string | number | undefined;
1390
+ /** Height of the input */
1391
+ height?: string | number | undefined;
1392
+ /** A ref to the input's container element */
1393
+ containerRef?: MutableRefObject<HTMLDivElement> | undefined;
1394
+ /** Value of the input */
1395
+ value: string | number;
1396
+ /** Disables the input */
1397
+ disabled?: boolean | undefined;
1398
+ /** Prevents the input from being clicked, focused, hovered, or edited */
1399
+ readOnly?: boolean | undefined;
1400
+ /** Prevents the input from being clicked or focused */
1401
+ preventFocus?: boolean | undefined;
1402
+ /** Sets the cursor to pointer for the input container */
1403
+ pointer?: boolean | undefined;
1404
+ /** Removes the padding from the input */
1405
+ textOnly?: boolean | undefined;
1406
+ /** Adds a search icon to the left of the input and a clear icon and funcitonality to the right */
1407
+ search?: boolean | undefined;
1408
+ /** Callback run after onFocus event */
1409
+ onFocus?: ((event?: InputFocusEvent) => void) | undefined;
1410
+ /** Callback run after onBlur event */
1411
+ onBlur?: ((event?: InputFocusEvent) => void) | undefined;
1412
+ /** A callback function that is run upon clicking the input container */
1413
+ onClick?: ((event?: MouseEvent$1) => void) | undefined;
1414
+ /** A callback function that is run upon clicking the clear icon */
1415
+ onClear?: OnClear | undefined;
1416
+ } & Omit<HTMLProps<HTMLInputElement>, "as" | "onChange"> & As & Phone & Margin, "search" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "start" | "size" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "pointer" | "backgroundColor" | "fontSize" | "borderColor" | "borderRadius" | "borderless" | "textOnly" | "invalid" | keyof Margin | "placeholderColor" | "description" | "isLoading" | "iconLeft" | "iconRight" | "containerRef" | "preventFocus" | "onClear" | keyof Phone>) & react.RefAttributes<InputRef>>;
1417
+
1418
+ declare type RestInputProps = Omit<InputProps, 'value' | 'onChange' | 'onError'>;
1419
+ declare type DropdownProps = {
1420
+ children?: ReactNode;
1421
+ /** The function to be called when an option is selected */
1422
+ onChange?: (item: OptionItem | null) => void;
1423
+ /** The function to be called when the search input is updated */
1424
+ onTextChange?: (text: string) => void;
1425
+ /** The value of the Dropdown */
1426
+ value?: string | number;
1427
+ /** The function to be called when the Dropdown is opened */
1428
+ afterShow?: () => void;
1429
+ /** The function to be called when the Dropdown is closed */
1430
+ afterHide?: () => void;
1431
+ /** The function to be called when the Dropdown input is focused */
1432
+ onFocus?: (event?: InputFocusEvent) => void;
1433
+ /** The function to be called when the Dropdown input is blurred */
1434
+ onBlur?: (event?: InputFocusEvent) => void;
1435
+ /** The function to be called when the Dropdown input goes to or from an invalid state */
1436
+ onError?: (invalid: boolean) => void;
1437
+ /** Sets the input placeholder text */
1438
+ placeholder?: string;
1439
+ /** Sets the input placeholder color */
1440
+ placeholderColor?: string;
1441
+ /** The options to be displayed */
1442
+ options?: OptionItem[];
1443
+ /** Removes the border from the Dropdown input */
1444
+ borderless?: boolean;
1445
+ /** Sets the input borderColor */
1446
+ borderColor?: string;
1447
+ /** Sets the input backgroundColor */
1448
+ backgroundColor?: string;
1449
+ /** Removes the caret icon from the right side of the Dropdown */
1450
+ hideIcon?: boolean;
1451
+ /** Displays a spinner icon on the right side of the input */
1452
+ isLoading?: boolean;
1453
+ /** Resets the selected text in the dropdown after an option is selected */
1454
+ clearOnSelect?: boolean;
1455
+ /** As the dropdown is searched, the options narrow down according to the search value */
1456
+ filter?: boolean;
1457
+ /** Removes the border and background-color from the Dropdown input */
1458
+ textOnly?: boolean;
1459
+ /** Adds a label to the Dropdown input */
1460
+ label?: string;
1461
+ /** Sets the id of the Dropdown input or trigger */
1462
+ id?: string;
1463
+ /** Sets the name of the Dropdown input */
1464
+ name?: string;
1465
+ /** An HTML element/React component to trigger the opening and closing of the dropdown instead of an input */
1466
+ trigger?: ReactNode;
1467
+ /** Center the Dropdown options vertically with the trigger */
1468
+ centerY?: boolean;
1469
+ /** Center the Dropdown options horizontally with the trigger */
1470
+ centerX?: boolean;
1471
+ /** Pixel amount the Dropdown options are offset vertically from the trigger */
1472
+ offsetY?: number;
1473
+ /** Pixel amount the Dropdown options are offset horizontally from the trigger */
1474
+ offsetX?: number;
1475
+ /** The direction the options should open in relation to the trigger */
1476
+ direction?: 'left' | 'right' | 'top' | 'bottom';
1477
+ /** Sets the Dropdown fontSize */
1478
+ fontSize?: number | string;
1479
+ /** Places a description message below the Dropdown */
1480
+ description?: string;
1481
+ /** Disables the Dropdown */
1482
+ disabled?: boolean;
1483
+ /** Sets the Dropdown's bottom border and description text to red */
1484
+ invalid?: boolean;
1485
+ /** Allows the Dropdown input to be edited */
1486
+ search?: boolean;
1487
+ /** Prevents the search Dropdown from accepting any input other than what matches the provided options */
1488
+ restrictInput?: boolean | ((text: string) => boolean);
1489
+ /** The ref of the Dropdown's input */
1490
+ inputRef?: RefObject<InputRef>;
1491
+ /** The selector (id or className) of the element the options should open in relataion to */
1492
+ optionsParent?: string;
1493
+ } & WidthHeight & Margin & RestInputProps;
1494
+ declare const Dropdown: {
1495
+ ({ onChange, onTextChange, afterShow, afterHide, onFocus, onBlur, onError, placeholder, placeholderColor, value, options, children, borderless, borderColor, backgroundColor, hideIcon, clearOnSelect, textOnly, width, height, isLoading, margin, marginTop, marginBottom, marginRight, marginLeft, label, id, name, trigger, centerY, centerX, offsetY, offsetX, direction, fontSize, description, disabled, invalid, search, filter, restrictInput, inputRef, optionsParent, ...props }: DropdownProps): JSX.Element;
1496
+ Item({ value, displayText, setValue, close, children, contentPosition, color, accented, onClick, id, }: DropdownItemProps): JSX.Element;
1497
+ };
1498
+
1499
+ declare type GridProps = {
1500
+ /** If a number, rows creates n number rows of an equal size. If a string, rows sets the gridTemplateRows property */
1501
+ rows?: string | number;
1502
+ /** The amount of pixels between each row */
1503
+ rowGap?: number;
1504
+ /** If a number, columns creates n number columns of an equal size. If a string, columns sets the gridTemplateColumns property */
1505
+ columns?: string | number;
1506
+ /** The amount of pixels between each column */
1507
+ columnGap?: number;
1508
+ /** Sets the gridGap property */
1509
+ gap?: number;
1510
+ /** Sets the gridTemplate property */
1511
+ template?: string;
1512
+ /** Sets the alignContent property */
1513
+ alignContent?: string;
1514
+ /** Sets the alignItems property */
1515
+ alignItems?: string;
1516
+ /** Sets the justifyContent property */
1517
+ justifyContent?: string;
1518
+ /** Sets the justifyItems property */
1519
+ justifyItems?: string;
1520
+ children?: ReactNode;
1521
+ } & WidthHeight & MarginPadding;
1522
+ declare type ItemProps = {
1523
+ /** Sets the gridRow property */
1524
+ row?: number;
1525
+ /** Sets the gridRowStart property */
1526
+ rowStart?: number;
1527
+ /** Sets the gridRowEnd property */
1528
+ rowEnd?: number;
1529
+ /** Sets the gridColumn property */
1530
+ column?: number;
1531
+ /** Sets the gridColumnStart property */
1532
+ columnStart?: number;
1533
+ /** Sets the gridColumnEnd property */
1534
+ columnEnd?: number;
1535
+ /** Sets the gridArea property */
1536
+ area?: number;
1537
+ /** Sets the alignSelf property */
1538
+ alignSelf?: string;
1539
+ /** Sets the justifySelf property */
1540
+ justifySelf?: string;
1541
+ /** Sets the placeSelf property */
1542
+ placeSelf?: string;
1543
+ /** Sets the border property */
1544
+ border?: string;
1545
+ } & MarginPadding;
1546
+ interface GridType extends StyledComponent<GridProps> {
1547
+ Item?: StyledComponent<ItemProps>;
1548
+ }
1549
+ declare const Grid: GridType;
1550
+
1551
+ declare type FormProps = {
1552
+ children?: ReactNode;
1553
+ /** The function to be run after the form is submitted */
1554
+ onSubmit?: (event: FormEvent) => void;
1555
+ } & GridProps & HTMLProps<HTMLFormElement>;
1556
+ declare const Form: {
1557
+ ({ children, rows, columns, rowGap, columnGap, onSubmit, ...rest }: FormProps): JSX.Element;
1558
+ Group({ children, rows, columns, rowGap, columnGap, disabled, ...rest }: FormGroupProps): JSX.Element;
1559
+ Field({ children, inline, align, disabled }: FieldProps & {
1560
+ children?: ReactNode;
1561
+ }): JSX.Element;
1562
+ Input: react.ForwardRefExoticComponent<(Pick<{
1563
+ id?: string | undefined;
1564
+ label?: string | undefined;
1565
+ placeholder?: string | undefined;
1566
+ placeholderColor?: string | undefined;
1567
+ description?: string | undefined;
1568
+ isLoading?: boolean | undefined;
1569
+ iconLeft?: IconType | undefined;
1570
+ iconRight?: IconType | undefined;
1571
+ invalid?: boolean | undefined;
1572
+ borderless?: boolean | undefined;
1573
+ borderRadius?: string | number | undefined;
1574
+ borderColor?: string | undefined;
1575
+ backgroundColor?: string | undefined;
1576
+ fontSize?: string | number | undefined;
1577
+ width?: string | number | undefined;
1578
+ height?: string | number | undefined;
1579
+ containerRef?: react.MutableRefObject<HTMLDivElement> | undefined;
1580
+ value: string | number;
1581
+ disabled?: boolean | undefined;
1582
+ readOnly?: boolean | undefined;
1583
+ preventFocus?: boolean | undefined;
1584
+ pointer?: boolean | undefined;
1585
+ textOnly?: boolean | undefined;
1586
+ search?: boolean | undefined;
1587
+ onFocus?: ((event?: InputFocusEvent | undefined) => void) | undefined;
1588
+ onBlur?: ((event?: InputFocusEvent | undefined) => void) | undefined;
1589
+ onClick?: ((event?: react.MouseEvent<Element, MouseEvent> | undefined) => void) | undefined;
1590
+ onClear?: (() => void) | undefined;
1591
+ } & Omit<HTMLProps<HTMLInputElement>, "as" | "onChange"> & As & {
1592
+ phone?: undefined;
1593
+ onChange: (event: react.ChangeEvent<HTMLInputElement>) => void;
1594
+ } & Margin, "search" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "start" | "size" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "pointer" | "backgroundColor" | "fontSize" | "borderColor" | "borderRadius" | "borderless" | "textOnly" | "invalid" | keyof Margin | "placeholderColor" | "description" | "isLoading" | "iconLeft" | "iconRight" | "containerRef" | "preventFocus" | "onClear" | keyof {
1595
+ phone?: undefined;
1596
+ onChange: (event: react.ChangeEvent<HTMLInputElement>) => void;
1597
+ }> | Pick<{
1598
+ id?: string | undefined;
1599
+ label?: string | undefined;
1600
+ placeholder?: string | undefined;
1601
+ placeholderColor?: string | undefined;
1602
+ description?: string | undefined;
1603
+ isLoading?: boolean | undefined;
1604
+ iconLeft?: IconType | undefined;
1605
+ iconRight?: IconType | undefined;
1606
+ invalid?: boolean | undefined;
1607
+ borderless?: boolean | undefined;
1608
+ borderRadius?: string | number | undefined;
1609
+ borderColor?: string | undefined;
1610
+ backgroundColor?: string | undefined;
1611
+ fontSize?: string | number | undefined;
1612
+ width?: string | number | undefined;
1613
+ height?: string | number | undefined;
1614
+ containerRef?: react.MutableRefObject<HTMLDivElement> | undefined;
1615
+ value: string | number;
1616
+ disabled?: boolean | undefined;
1617
+ readOnly?: boolean | undefined;
1618
+ preventFocus?: boolean | undefined;
1619
+ pointer?: boolean | undefined;
1620
+ textOnly?: boolean | undefined;
1621
+ search?: boolean | undefined;
1622
+ onFocus?: ((event?: InputFocusEvent | undefined) => void) | undefined;
1623
+ onBlur?: ((event?: InputFocusEvent | undefined) => void) | undefined;
1624
+ onClick?: ((event?: react.MouseEvent<Element, MouseEvent> | undefined) => void) | undefined;
1625
+ onClear?: (() => void) | undefined;
1626
+ } & Omit<HTMLProps<HTMLInputElement>, "as" | "onChange"> & As & {
1627
+ phone: true;
1628
+ onChange: (event: react.ChangeEvent<HTMLInputElement>, formatted: string, raw: string) => void;
1629
+ } & Margin, "search" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "start" | "size" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "pointer" | "backgroundColor" | "fontSize" | "borderColor" | "borderRadius" | "borderless" | "textOnly" | "invalid" | keyof Margin | "placeholderColor" | "description" | "isLoading" | "iconLeft" | "iconRight" | "containerRef" | "preventFocus" | "onClear" | keyof {
1630
+ phone: true;
1631
+ onChange: (event: react.ChangeEvent<HTMLInputElement>, formatted: string, raw: string) => void;
1632
+ }>) & react.RefAttributes<InputRef>>;
1633
+ Dropdown: {
1634
+ ({ onChange, onTextChange, afterShow, afterHide, onFocus, onBlur, onError, placeholder, placeholderColor, value, options, children, borderless, borderColor, backgroundColor, hideIcon, clearOnSelect, textOnly, width, height, isLoading, margin, marginTop, marginBottom, marginRight, marginLeft, label, id, name, trigger, centerY, centerX, offsetY, offsetX, direction, fontSize, description, disabled, invalid, search, filter, restrictInput, inputRef, optionsParent, ...props }: {
1635
+ children?: ReactNode;
1636
+ onChange?: ((item: OptionItem | null) => void) | undefined;
1637
+ onTextChange?: ((text: string) => void) | undefined;
1638
+ value?: string | number | undefined;
1639
+ afterShow?: (() => void) | undefined;
1640
+ afterHide?: (() => void) | undefined;
1641
+ onFocus?: ((event?: InputFocusEvent | undefined) => void) | undefined;
1642
+ onBlur?: ((event?: InputFocusEvent | undefined) => void) | undefined;
1643
+ onError?: ((invalid: boolean) => void) | undefined;
1644
+ placeholder?: string | undefined;
1645
+ placeholderColor?: string | undefined;
1646
+ options?: OptionItem[] | undefined;
1647
+ borderless?: boolean | undefined;
1648
+ borderColor?: string | undefined;
1649
+ backgroundColor?: string | undefined;
1650
+ hideIcon?: boolean | undefined;
1651
+ isLoading?: boolean | undefined;
1652
+ clearOnSelect?: boolean | undefined;
1653
+ filter?: boolean | undefined;
1654
+ textOnly?: boolean | undefined;
1655
+ label?: string | undefined;
1656
+ id?: string | undefined;
1657
+ name?: string | undefined;
1658
+ trigger?: ReactNode;
1659
+ centerY?: boolean | undefined;
1660
+ centerX?: boolean | undefined;
1661
+ offsetY?: number | undefined;
1662
+ offsetX?: number | undefined;
1663
+ direction?: "bottom" | "left" | "right" | "top" | undefined;
1664
+ fontSize?: string | number | undefined;
1665
+ description?: string | undefined;
1666
+ disabled?: boolean | undefined;
1667
+ invalid?: boolean | undefined;
1668
+ search?: boolean | undefined;
1669
+ restrictInput?: boolean | ((text: string) => boolean) | undefined;
1670
+ inputRef?: react.RefObject<InputRef> | undefined;
1671
+ optionsParent?: string | undefined;
1672
+ } & Width & Height & Margin & {
1673
+ ref?: react.LegacyRef<HTMLInputElement> | undefined;
1674
+ search?: boolean | undefined;
1675
+ cite?: string | undefined;
1676
+ data?: string | undefined;
1677
+ form?: string | undefined;
1678
+ label?: string | undefined;
1679
+ slot?: string | undefined;
1680
+ span?: number | undefined;
1681
+ style?: react.CSSProperties | undefined;
1682
+ summary?: string | undefined;
1683
+ title?: string | undefined;
1684
+ pattern?: string | undefined;
1685
+ start?: number | undefined;
1686
+ size?: number | undefined;
1687
+ accept?: string | undefined;
1688
+ acceptCharset?: string | undefined;
1689
+ action?: string | undefined;
1690
+ allowFullScreen?: boolean | undefined;
1691
+ allowTransparency?: boolean | undefined;
1692
+ alt?: string | undefined;
1693
+ as?: react.ElementType<unknown> | undefined;
1694
+ async?: boolean | undefined;
1695
+ autoComplete?: string | undefined;
1696
+ autoFocus?: boolean | undefined;
1697
+ autoPlay?: boolean | undefined;
1698
+ capture?: boolean | "user" | "environment" | undefined;
1699
+ cellPadding?: string | number | undefined;
1700
+ cellSpacing?: string | number | undefined;
1701
+ charSet?: string | undefined;
1702
+ challenge?: string | undefined;
1703
+ checked?: boolean | undefined;
1704
+ classID?: string | undefined;
1705
+ cols?: number | undefined;
1706
+ colSpan?: number | undefined;
1707
+ content?: string | undefined;
1708
+ controls?: boolean | undefined;
1709
+ coords?: string | undefined;
1710
+ crossOrigin?: string | undefined;
1711
+ dateTime?: string | undefined;
1712
+ default?: boolean | undefined;
1713
+ defer?: boolean | undefined;
1714
+ disabled?: boolean | undefined;
1715
+ download?: any;
1716
+ encType?: string | undefined;
1717
+ formAction?: string | undefined;
1718
+ formEncType?: string | undefined;
1719
+ formMethod?: string | undefined;
1720
+ formNoValidate?: boolean | undefined;
1721
+ formTarget?: string | undefined;
1722
+ frameBorder?: string | number | undefined;
1723
+ headers?: string | undefined;
1724
+ height?: string | number | undefined;
1725
+ high?: number | undefined;
1726
+ href?: string | undefined;
1727
+ hrefLang?: string | undefined;
1728
+ htmlFor?: string | undefined;
1729
+ httpEquiv?: string | undefined;
1730
+ integrity?: string | undefined;
1731
+ keyParams?: string | undefined;
1732
+ keyType?: string | undefined;
1733
+ kind?: string | undefined;
1734
+ list?: string | undefined;
1735
+ loop?: boolean | undefined;
1736
+ low?: number | undefined;
1737
+ manifest?: string | undefined;
1738
+ marginHeight?: number | undefined;
1739
+ marginWidth?: number | undefined;
1740
+ max?: string | number | undefined;
1741
+ maxLength?: number | undefined;
1742
+ media?: string | undefined;
1743
+ mediaGroup?: string | undefined;
1744
+ method?: string | undefined;
1745
+ min?: string | number | undefined;
1746
+ minLength?: number | undefined;
1747
+ multiple?: boolean | undefined;
1748
+ muted?: boolean | undefined;
1749
+ name?: string | undefined;
1750
+ nonce?: string | undefined;
1751
+ noValidate?: boolean | undefined;
1752
+ open?: boolean | undefined;
1753
+ optimum?: number | undefined;
1754
+ placeholder?: string | undefined;
1755
+ playsInline?: boolean | undefined;
1756
+ poster?: string | undefined;
1757
+ preload?: string | undefined;
1758
+ readOnly?: boolean | undefined;
1759
+ rel?: string | undefined;
1760
+ required?: boolean | undefined;
1761
+ reversed?: boolean | undefined;
1762
+ rows?: number | undefined;
1763
+ rowSpan?: number | undefined;
1764
+ sandbox?: string | undefined;
1765
+ scope?: string | undefined;
1766
+ scoped?: boolean | undefined;
1767
+ scrolling?: string | undefined;
1768
+ seamless?: boolean | undefined;
1769
+ selected?: boolean | undefined;
1770
+ shape?: string | undefined;
1771
+ sizes?: string | undefined;
1772
+ src?: string | undefined;
1773
+ srcDoc?: string | undefined;
1774
+ srcLang?: string | undefined;
1775
+ srcSet?: string | undefined;
1776
+ step?: string | number | undefined;
1777
+ target?: string | undefined;
1778
+ type?: string | undefined;
1779
+ useMap?: string | undefined;
1780
+ width?: string | number | undefined;
1781
+ wmode?: string | undefined;
1782
+ wrap?: string | undefined;
1783
+ defaultChecked?: boolean | undefined;
1784
+ defaultValue?: string | number | readonly string[] | undefined;
1785
+ suppressContentEditableWarning?: boolean | undefined;
1786
+ suppressHydrationWarning?: boolean | undefined;
1787
+ accessKey?: string | undefined;
1788
+ className?: string | undefined;
1789
+ contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
1790
+ contextMenu?: string | undefined;
1791
+ dir?: string | undefined;
1792
+ draggable?: (boolean | "true" | "false") | undefined;
1793
+ hidden?: boolean | undefined;
1794
+ id?: string | undefined;
1795
+ lang?: string | undefined;
1796
+ spellCheck?: (boolean | "true" | "false") | undefined;
1797
+ tabIndex?: number | undefined;
1798
+ translate?: "yes" | "no" | undefined;
1799
+ radioGroup?: string | undefined;
1800
+ role?: react.AriaRole | undefined;
1801
+ about?: string | undefined;
1802
+ datatype?: string | undefined;
1803
+ inlist?: any;
1804
+ prefix?: string | undefined;
1805
+ property?: string | undefined;
1806
+ resource?: string | undefined;
1807
+ typeof?: string | undefined;
1808
+ vocab?: string | undefined;
1809
+ autoCapitalize?: string | undefined;
1810
+ autoCorrect?: string | undefined;
1811
+ autoSave?: string | undefined;
1812
+ color?: string | undefined;
1813
+ itemProp?: string | undefined;
1814
+ itemScope?: boolean | undefined;
1815
+ itemType?: string | undefined;
1816
+ itemID?: string | undefined;
1817
+ itemRef?: string | undefined;
1818
+ results?: number | undefined;
1819
+ security?: string | undefined;
1820
+ unselectable?: "on" | "off" | undefined;
1821
+ inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
1822
+ is?: string | undefined;
1823
+ 'aria-activedescendant'?: string | undefined;
1824
+ 'aria-atomic'?: (boolean | "true" | "false") | undefined;
1825
+ 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
1826
+ 'aria-busy'?: (boolean | "true" | "false") | undefined;
1827
+ 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
1828
+ 'aria-colcount'?: number | undefined;
1829
+ 'aria-colindex'?: number | undefined;
1830
+ 'aria-colspan'?: number | undefined;
1831
+ 'aria-controls'?: string | undefined;
1832
+ 'aria-current'?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
1833
+ 'aria-describedby'?: string | undefined;
1834
+ 'aria-details'?: string | undefined;
1835
+ 'aria-disabled'?: (boolean | "true" | "false") | undefined;
1836
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
1837
+ 'aria-errormessage'?: string | undefined;
1838
+ 'aria-expanded'?: (boolean | "true" | "false") | undefined;
1839
+ 'aria-flowto'?: string | undefined;
1840
+ 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
1841
+ 'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "true" | "false" | "listbox" | "tree" | undefined;
1842
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
1843
+ 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
1844
+ 'aria-keyshortcuts'?: string | undefined;
1845
+ 'aria-label'?: string | undefined;
1846
+ 'aria-labelledby'?: string | undefined;
1847
+ 'aria-level'?: number | undefined;
1848
+ 'aria-live'?: "off" | "assertive" | "polite" | undefined;
1849
+ 'aria-modal'?: (boolean | "true" | "false") | undefined;
1850
+ 'aria-multiline'?: (boolean | "true" | "false") | undefined;
1851
+ 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
1852
+ 'aria-orientation'?: "horizontal" | "vertical" | undefined;
1853
+ 'aria-owns'?: string | undefined;
1854
+ 'aria-placeholder'?: string | undefined;
1855
+ 'aria-posinset'?: number | undefined;
1856
+ 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
1857
+ 'aria-readonly'?: (boolean | "true" | "false") | undefined;
1858
+ 'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
1859
+ 'aria-required'?: (boolean | "true" | "false") | undefined;
1860
+ 'aria-roledescription'?: string | undefined;
1861
+ 'aria-rowcount'?: number | undefined;
1862
+ 'aria-rowindex'?: number | undefined;
1863
+ 'aria-rowspan'?: number | undefined;
1864
+ 'aria-selected'?: (boolean | "true" | "false") | undefined;
1865
+ 'aria-setsize'?: number | undefined;
1866
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
1867
+ 'aria-valuemax'?: number | undefined;
1868
+ 'aria-valuemin'?: number | undefined;
1869
+ 'aria-valuenow'?: number | undefined;
1870
+ 'aria-valuetext'?: string | undefined;
1871
+ children?: ReactNode;
1872
+ dangerouslySetInnerHTML?: {
1873
+ __html: string;
1874
+ } | undefined;
1875
+ onCopy?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
1876
+ onCopyCapture?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
1877
+ onCut?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
1878
+ onCutCapture?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
1879
+ onPaste?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
1880
+ onPasteCapture?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
1881
+ onCompositionEnd?: react.CompositionEventHandler<HTMLInputElement> | undefined;
1882
+ onCompositionEndCapture?: react.CompositionEventHandler<HTMLInputElement> | undefined;
1883
+ onCompositionStart?: react.CompositionEventHandler<HTMLInputElement> | undefined;
1884
+ onCompositionStartCapture?: react.CompositionEventHandler<HTMLInputElement> | undefined;
1885
+ onCompositionUpdate?: react.CompositionEventHandler<HTMLInputElement> | undefined;
1886
+ onCompositionUpdateCapture?: react.CompositionEventHandler<HTMLInputElement> | undefined;
1887
+ onFocus?: (((event?: InputFocusEvent | undefined) => void) & react.FocusEventHandler<HTMLInputElement>) | undefined;
1888
+ onFocusCapture?: react.FocusEventHandler<HTMLInputElement> | undefined;
1889
+ onBlur?: (((event?: InputFocusEvent | undefined) => void) & react.FocusEventHandler<HTMLInputElement>) | undefined;
1890
+ onBlurCapture?: react.FocusEventHandler<HTMLInputElement> | undefined;
1891
+ onChangeCapture?: react.FormEventHandler<HTMLInputElement> | undefined;
1892
+ onBeforeInput?: react.FormEventHandler<HTMLInputElement> | undefined;
1893
+ onBeforeInputCapture?: react.FormEventHandler<HTMLInputElement> | undefined;
1894
+ onInput?: react.FormEventHandler<HTMLInputElement> | undefined;
1895
+ onInputCapture?: react.FormEventHandler<HTMLInputElement> | undefined;
1896
+ onReset?: react.FormEventHandler<HTMLInputElement> | undefined;
1897
+ onResetCapture?: react.FormEventHandler<HTMLInputElement> | undefined;
1898
+ onSubmit?: react.FormEventHandler<HTMLInputElement> | undefined;
1899
+ onSubmitCapture?: react.FormEventHandler<HTMLInputElement> | undefined;
1900
+ onInvalid?: react.FormEventHandler<HTMLInputElement> | undefined;
1901
+ onInvalidCapture?: react.FormEventHandler<HTMLInputElement> | undefined;
1902
+ onLoad?: react.ReactEventHandler<HTMLInputElement> | undefined;
1903
+ onLoadCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1904
+ onErrorCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1905
+ onKeyDown?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
1906
+ onKeyDownCapture?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
1907
+ onKeyPress?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
1908
+ onKeyPressCapture?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
1909
+ onKeyUp?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
1910
+ onKeyUpCapture?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
1911
+ onAbort?: react.ReactEventHandler<HTMLInputElement> | undefined;
1912
+ onAbortCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1913
+ onCanPlay?: react.ReactEventHandler<HTMLInputElement> | undefined;
1914
+ onCanPlayCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1915
+ onCanPlayThrough?: react.ReactEventHandler<HTMLInputElement> | undefined;
1916
+ onCanPlayThroughCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1917
+ onDurationChange?: react.ReactEventHandler<HTMLInputElement> | undefined;
1918
+ onDurationChangeCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1919
+ onEmptied?: react.ReactEventHandler<HTMLInputElement> | undefined;
1920
+ onEmptiedCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1921
+ onEncrypted?: react.ReactEventHandler<HTMLInputElement> | undefined;
1922
+ onEncryptedCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1923
+ onEnded?: react.ReactEventHandler<HTMLInputElement> | undefined;
1924
+ onEndedCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1925
+ onLoadedData?: react.ReactEventHandler<HTMLInputElement> | undefined;
1926
+ onLoadedDataCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1927
+ onLoadedMetadata?: react.ReactEventHandler<HTMLInputElement> | undefined;
1928
+ onLoadedMetadataCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1929
+ onLoadStart?: react.ReactEventHandler<HTMLInputElement> | undefined;
1930
+ onLoadStartCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1931
+ onPause?: react.ReactEventHandler<HTMLInputElement> | undefined;
1932
+ onPauseCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1933
+ onPlay?: react.ReactEventHandler<HTMLInputElement> | undefined;
1934
+ onPlayCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1935
+ onPlaying?: react.ReactEventHandler<HTMLInputElement> | undefined;
1936
+ onPlayingCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1937
+ onProgress?: react.ReactEventHandler<HTMLInputElement> | undefined;
1938
+ onProgressCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1939
+ onRateChange?: react.ReactEventHandler<HTMLInputElement> | undefined;
1940
+ onRateChangeCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1941
+ onSeeked?: react.ReactEventHandler<HTMLInputElement> | undefined;
1942
+ onSeekedCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1943
+ onSeeking?: react.ReactEventHandler<HTMLInputElement> | undefined;
1944
+ onSeekingCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1945
+ onStalled?: react.ReactEventHandler<HTMLInputElement> | undefined;
1946
+ onStalledCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1947
+ onSuspend?: react.ReactEventHandler<HTMLInputElement> | undefined;
1948
+ onSuspendCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1949
+ onTimeUpdate?: react.ReactEventHandler<HTMLInputElement> | undefined;
1950
+ onTimeUpdateCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1951
+ onVolumeChange?: react.ReactEventHandler<HTMLInputElement> | undefined;
1952
+ onVolumeChangeCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1953
+ onWaiting?: react.ReactEventHandler<HTMLInputElement> | undefined;
1954
+ onWaitingCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1955
+ onAuxClick?: react.MouseEventHandler<HTMLInputElement> | undefined;
1956
+ onAuxClickCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
1957
+ onClick?: (((event?: react.MouseEvent<Element, MouseEvent> | undefined) => void) & react.MouseEventHandler<HTMLInputElement>) | undefined;
1958
+ onClickCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
1959
+ onContextMenu?: react.MouseEventHandler<HTMLInputElement> | undefined;
1960
+ onContextMenuCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
1961
+ onDoubleClick?: react.MouseEventHandler<HTMLInputElement> | undefined;
1962
+ onDoubleClickCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
1963
+ onDrag?: react.DragEventHandler<HTMLInputElement> | undefined;
1964
+ onDragCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
1965
+ onDragEnd?: react.DragEventHandler<HTMLInputElement> | undefined;
1966
+ onDragEndCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
1967
+ onDragEnter?: react.DragEventHandler<HTMLInputElement> | undefined;
1968
+ onDragEnterCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
1969
+ onDragExit?: react.DragEventHandler<HTMLInputElement> | undefined;
1970
+ onDragExitCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
1971
+ onDragLeave?: react.DragEventHandler<HTMLInputElement> | undefined;
1972
+ onDragLeaveCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
1973
+ onDragOver?: react.DragEventHandler<HTMLInputElement> | undefined;
1974
+ onDragOverCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
1975
+ onDragStart?: react.DragEventHandler<HTMLInputElement> | undefined;
1976
+ onDragStartCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
1977
+ onDrop?: react.DragEventHandler<HTMLInputElement> | undefined;
1978
+ onDropCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
1979
+ onMouseDown?: react.MouseEventHandler<HTMLInputElement> | undefined;
1980
+ onMouseDownCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
1981
+ onMouseEnter?: react.MouseEventHandler<HTMLInputElement> | undefined;
1982
+ onMouseLeave?: react.MouseEventHandler<HTMLInputElement> | undefined;
1983
+ onMouseMove?: react.MouseEventHandler<HTMLInputElement> | undefined;
1984
+ onMouseMoveCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
1985
+ onMouseOut?: react.MouseEventHandler<HTMLInputElement> | undefined;
1986
+ onMouseOutCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
1987
+ onMouseOver?: react.MouseEventHandler<HTMLInputElement> | undefined;
1988
+ onMouseOverCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
1989
+ onMouseUp?: react.MouseEventHandler<HTMLInputElement> | undefined;
1990
+ onMouseUpCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
1991
+ onSelect?: react.ReactEventHandler<HTMLInputElement> | undefined;
1992
+ onSelectCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
1993
+ onTouchCancel?: react.TouchEventHandler<HTMLInputElement> | undefined;
1994
+ onTouchCancelCapture?: react.TouchEventHandler<HTMLInputElement> | undefined;
1995
+ onTouchEnd?: react.TouchEventHandler<HTMLInputElement> | undefined;
1996
+ onTouchEndCapture?: react.TouchEventHandler<HTMLInputElement> | undefined;
1997
+ onTouchMove?: react.TouchEventHandler<HTMLInputElement> | undefined;
1998
+ onTouchMoveCapture?: react.TouchEventHandler<HTMLInputElement> | undefined;
1999
+ onTouchStart?: react.TouchEventHandler<HTMLInputElement> | undefined;
2000
+ onTouchStartCapture?: react.TouchEventHandler<HTMLInputElement> | undefined;
2001
+ onPointerDown?: react.PointerEventHandler<HTMLInputElement> | undefined;
2002
+ onPointerDownCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
2003
+ onPointerMove?: react.PointerEventHandler<HTMLInputElement> | undefined;
2004
+ onPointerMoveCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
2005
+ onPointerUp?: react.PointerEventHandler<HTMLInputElement> | undefined;
2006
+ onPointerUpCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
2007
+ onPointerCancel?: react.PointerEventHandler<HTMLInputElement> | undefined;
2008
+ onPointerCancelCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
2009
+ onPointerEnter?: react.PointerEventHandler<HTMLInputElement> | undefined;
2010
+ onPointerEnterCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
2011
+ onPointerLeave?: react.PointerEventHandler<HTMLInputElement> | undefined;
2012
+ onPointerLeaveCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
2013
+ onPointerOver?: react.PointerEventHandler<HTMLInputElement> | undefined;
2014
+ onPointerOverCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
2015
+ onPointerOut?: react.PointerEventHandler<HTMLInputElement> | undefined;
2016
+ onPointerOutCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
2017
+ onGotPointerCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
2018
+ onGotPointerCaptureCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
2019
+ onLostPointerCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
2020
+ onLostPointerCaptureCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
2021
+ onScroll?: react.UIEventHandler<HTMLInputElement> | undefined;
2022
+ onScrollCapture?: react.UIEventHandler<HTMLInputElement> | undefined;
2023
+ onWheel?: react.WheelEventHandler<HTMLInputElement> | undefined;
2024
+ onWheelCapture?: react.WheelEventHandler<HTMLInputElement> | undefined;
2025
+ onAnimationStart?: react.AnimationEventHandler<HTMLInputElement> | undefined;
2026
+ onAnimationStartCapture?: react.AnimationEventHandler<HTMLInputElement> | undefined;
2027
+ onAnimationEnd?: react.AnimationEventHandler<HTMLInputElement> | undefined;
2028
+ onAnimationEndCapture?: react.AnimationEventHandler<HTMLInputElement> | undefined;
2029
+ onAnimationIteration?: react.AnimationEventHandler<HTMLInputElement> | undefined;
2030
+ onAnimationIterationCapture?: react.AnimationEventHandler<HTMLInputElement> | undefined;
2031
+ onTransitionEnd?: react.TransitionEventHandler<HTMLInputElement> | undefined;
2032
+ onTransitionEndCapture?: react.TransitionEventHandler<HTMLInputElement> | undefined;
2033
+ key?: react.Key | null | undefined;
2034
+ phone?: true | undefined;
2035
+ pointer?: boolean | undefined;
2036
+ margin?: string | number | undefined;
2037
+ marginTop?: string | number | undefined;
2038
+ marginBottom?: string | number | undefined;
2039
+ marginRight?: string | number | undefined;
2040
+ marginLeft?: string | number | undefined;
2041
+ backgroundColor?: string | undefined;
2042
+ fontSize?: string | number | undefined;
2043
+ borderColor?: string | undefined;
2044
+ borderRadius?: string | number | undefined;
2045
+ borderless?: boolean | undefined;
2046
+ textOnly?: boolean | undefined;
2047
+ invalid?: boolean | undefined;
2048
+ placeholderColor?: string | undefined;
2049
+ description?: string | undefined;
2050
+ isLoading?: boolean | undefined;
2051
+ iconLeft?: IconType | undefined;
2052
+ iconRight?: IconType | undefined;
2053
+ containerRef?: react.MutableRefObject<HTMLDivElement> | undefined;
2054
+ preventFocus?: boolean | undefined;
2055
+ onClear?: (() => void) | undefined;
2056
+ }): JSX.Element;
2057
+ Item({ value, displayText, setValue, close, children, contentPosition, color, accented, onClick, id, }: DropdownItemProps): JSX.Element;
2058
+ };
2059
+ Radio: ({ id, label, labelPosition, checked, disabled, margin, marginTop, marginBottom, marginRight, marginLeft, ...props }: {
2060
+ id?: string | undefined;
2061
+ label?: string | undefined;
2062
+ labelPosition?: "left" | "right" | undefined;
2063
+ disabled?: boolean | undefined;
2064
+ checked?: boolean | undefined;
2065
+ } & Margin & As & HTMLProps<HTMLInputElement>) => JSX.Element;
2066
+ Toggle: ({ id, label, labelPosition, checked, disabled, onChange, margin, marginTop, marginBottom, marginRight, marginLeft, ...props }: {
2067
+ id?: string | undefined;
2068
+ label?: string | undefined;
2069
+ labelPosition?: "left" | "right" | undefined;
2070
+ disabled?: boolean | undefined;
2071
+ checked?: boolean | undefined;
2072
+ onChange: (val: boolean) => void;
2073
+ } & Margin & As & CheckboxAttributes) => JSX.Element;
2074
+ Checkbox: ({ id, label, labelPosition, checked, partial, disabled, onChange, margin, marginTop, marginBottom, marginRight, marginLeft, ...props }: {
2075
+ id?: string | undefined;
2076
+ label?: string | undefined;
2077
+ labelPosition?: "left" | "right" | undefined;
2078
+ disabled?: boolean | undefined;
2079
+ checked?: boolean | undefined;
2080
+ partial?: boolean | undefined;
2081
+ onChange: (val: boolean) => void;
2082
+ } & Margin & As & CheckboxAttributes) => JSX.Element;
2083
+ Label: ({ children, iconLeft, iconRight, disabled, pill, ...rest }: {
2084
+ children?: ReactNode;
2085
+ iconLeft?: IconType | undefined;
2086
+ iconRight?: IconType | undefined;
2087
+ pill?: boolean | undefined;
2088
+ disabled?: boolean | undefined;
2089
+ } & Margin) => JSX.Element;
2090
+ };
2091
+ declare type FormGroupProps = {
2092
+ /** Disables pointer events and reduces the opacity of the Group's contents */
2093
+ disabled?: boolean;
2094
+ children?: ReactNode;
2095
+ } & GridProps;
2096
+ declare type FieldProps = {
2097
+ /** Sets the flexDirection of the Field to 'row' instead of 'column' */
2098
+ inline?: boolean;
2099
+ /** Sets the vertical alignment of the Field's contents */
2100
+ align?: 'top' | 'bottom' | 'center';
2101
+ /** Disables pointer events and reduces the opacity of the Field's contents */
2102
+ disabled?: boolean;
2103
+ };
2104
+
2105
+ declare type ImageViewerProps = {
2106
+ /** Controls whether or not the ImageViewer is open */
2107
+ visible: boolean;
2108
+ /** The function called when the ImageViewer is closed */
2109
+ close: () => void;
2110
+ /** The array of image urls to display */
2111
+ images: string[];
2112
+ /** The index of the images array to initially display */
2113
+ startIndex: number;
2114
+ /** The alt property of the current image */
2115
+ alt?: string;
2116
+ /** The maxWidth of the image inside the ImageViewer */
2117
+ maxWidth?: number | string;
2118
+ /** The maxHeight of the image inside the ImageViewer */
2119
+ maxHeight?: number | string;
2120
+ /** The opacity of the ImageViewer background */
2121
+ opacity?: number;
2122
+ };
2123
+ declare const ImageViewer: ({ visible, close, images, startIndex, alt, maxWidth, maxHeight, opacity }: ImageViewerProps) => JSX.Element | null;
2124
+
2125
+ declare const InlineCode: _emotion_styled.StyledComponent<{
2126
+ theme?: _emotion_react.Theme | undefined;
2127
+ as?: react.ElementType<any> | undefined;
2128
+ } & ThemeProp, react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
2129
+
2130
+ declare type FocusCallBack = (event?: InputFocusEvent) => void;
2131
+ declare const _default: {
2132
+ Container: _emotion_styled.StyledComponent<{
2133
+ theme?: _emotion_react.Theme | undefined;
2134
+ as?: react.ElementType<any> | undefined;
2135
+ } & {
2136
+ backgroundColor?: string | undefined;
2137
+ borderRadius?: string | number | undefined;
2138
+ borderless?: boolean | undefined;
2139
+ borderColor?: string | undefined;
2140
+ pointer?: boolean | undefined;
2141
+ readOnly?: boolean | undefined;
2142
+ textOnly?: boolean | undefined;
2143
+ focused?: boolean | undefined;
2144
+ invalid?: boolean | undefined;
2145
+ disabled?: boolean | undefined;
2146
+ hasLabel?: boolean | undefined;
2147
+ } & Width & Height & Margin & ThemeProp, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
2148
+ Wrapper: _emotion_styled.StyledComponent<{
2149
+ theme?: _emotion_react.Theme | undefined;
2150
+ as?: react.ElementType<any> | undefined;
2151
+ } & {
2152
+ readOnly?: boolean | undefined;
2153
+ }, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
2154
+ Label: _emotion_styled.StyledComponent<{
2155
+ theme?: _emotion_react.Theme | undefined;
2156
+ as?: react.ElementType<any> | undefined;
2157
+ } & {
2158
+ filled?: boolean | undefined;
2159
+ focused?: boolean | undefined;
2160
+ disabled?: boolean | undefined;
2161
+ } & ThemeProp, react.DetailedHTMLProps<react.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>;
2162
+ useInputFocus: (onFocus?: FocusCallBack | undefined, onBlur?: FocusCallBack | undefined, focusCondition?: boolean) => {
2163
+ focused: boolean;
2164
+ handleFocus: (event?: InputFocusEvent | undefined) => void;
2165
+ handleBlur: (event?: InputFocusEvent | undefined) => void;
2166
+ };
2167
+ isInputFilled: (value: string | number) => boolean;
2168
+ };
2169
+
2170
+ declare type LabelProps = {
2171
+ children?: ReactNode;
2172
+ /** The name of the icon that should appear on the left side of the input */
2173
+ iconLeft?: IconType;
2174
+ /** The name of the icon that should appear on the right side of the input */
2175
+ iconRight?: IconType;
2176
+ /** Styles the Label as a pill */
2177
+ pill?: boolean;
2178
+ /** Reduces the emphasis of the Pill colors */
2179
+ disabled?: boolean;
2180
+ } & Margin;
2181
+ declare const Label: ({ children, iconLeft, iconRight, disabled, pill, ...rest }: LabelProps) => JSX.Element;
2182
+
2183
+ declare type MenuProps = {
2184
+ /** Displays the menu as a vertical, stacked menu */
2185
+ vertical?: boolean;
2186
+ /** If true, a border will be displayed around the menu */
2187
+ border?: boolean;
2188
+ /** If true, a border will be displayed on top of the menu */
2189
+ borderTop?: boolean;
2190
+ /** If true, a border will be displayed on bottom of the menu */
2191
+ borderBottom?: boolean;
2192
+ /** If true, a border will be displayed to the left of the menu */
2193
+ borderLeft?: boolean;
2194
+ /** If true, a border will be displayed to the right of the menu */
2195
+ borderRight?: boolean;
2196
+ /** Sets the borderTopLeftRadius of the menu */
2197
+ borderTopLeftRadius?: number | string;
2198
+ /** Sets the borderTopRightRadius of the menu */
2199
+ borderTopRightRadius?: number | string;
2200
+ /** Sets the borderBottomLeftRadius of the menu */
2201
+ borderBottomLeftRadius?: number | string;
2202
+ /** Sets the borderBottomRightRadius of the menu */
2203
+ borderBottomRightRadius?: number | string;
2204
+ children?: ReactNode;
2205
+ /** Sets the backgroundColor of the menu */
2206
+ backgroundColor?: string;
2207
+ } & WidthHeight & Padding;
2208
+ declare const Menu: {
2209
+ ({ vertical, width, height, padding, paddingTop, paddingBottom, paddingLeft, paddingRight, border, borderTop, borderBottom, borderLeft, borderRight, borderTopLeftRadius, borderTopRightRadius, borderBottomLeftRadius, borderBottomRightRadius, backgroundColor, children, }: MenuProps): JSX.Element;
2210
+ Item: ({ vertical, selected, disabled, contentPosition, onClick, id, children, indent }: MenuItemProps) => JSX.Element;
2211
+ Group: ({ label, defaultOpen, vertical, selected, disabled, contentPosition, onClick, id, children, indent, backgroundColor, }: MenuGroupProps) => JSX.Element;
2212
+ };
2213
+ declare type MenuItemProps = {
2214
+ children: ReactNode;
2215
+ vertical?: boolean;
2216
+ /** The id of the Menu Item */
2217
+ id?: string;
2218
+ /** Controls whether the Menu Item appears to be active */
2219
+ selected: boolean;
2220
+ /** Prevents the Menu Item from being clicked */
2221
+ disabled?: boolean;
2222
+ /** The flex positioning of the Item contents */
2223
+ contentPosition?: 'start' | 'end';
2224
+ /** The function to be called when the Menu Item is clicked */
2225
+ onClick: (event: MouseEvent$1) => void;
2226
+ indent?: number;
2227
+ };
2228
+ declare type MenuGroupProps = {
2229
+ label: string | ReactNode;
2230
+ defaultOpen?: boolean;
2231
+ backgroundColor?: string;
2232
+ } & Partial<MenuItemProps>;
2233
+
2234
+ declare type MessageProps = {
2235
+ children?: ReactNode;
2236
+ /** Sets the colors and icon of the Message */
2237
+ type?: 'info' | 'error' | 'success' | 'warning';
2238
+ /** Sets the text of the button */
2239
+ content?: string;
2240
+ /** Displays a close icon in the top right of the Message */
2241
+ closeIcon?: boolean;
2242
+ /** The function called when the Message is closed */
2243
+ onClose?: () => void;
2244
+ } & Width & Margin;
2245
+ declare const Message: {
2246
+ ({ type, content, closeIcon, onClose, width, margin, marginTop, marginBottom, marginRight, marginLeft, children, }: MessageProps): JSX.Element;
2247
+ Header: _emotion_styled.StyledComponent<{
2248
+ theme?: _emotion_react.Theme | undefined;
2249
+ as?: react.ElementType<any> | undefined;
2250
+ } & ThemeProp, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
2251
+ Body: _emotion_styled.StyledComponent<{
2252
+ theme?: _emotion_react.Theme | undefined;
2253
+ as?: react.ElementType<any> | undefined;
2254
+ } & ThemeProp, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
2255
+ };
2256
+
2257
+ declare const MessageHr: ({ text, color, style, }: {
2258
+ /** The text to be displayed */
2259
+ text: string | number;
2260
+ /** The color of the text displayed */
2261
+ color?: string | undefined;
2262
+ /** Sets the style prop of the text */
2263
+ style?: {
2264
+ [key: string]: string | number;
2265
+ } | undefined;
2266
+ }) => JSX.Element;
2267
+
2268
+ declare type ModalProps = {
2269
+ children: ReactNode;
2270
+ /** The selector (id or className) of the app's root element */
2271
+ rootSelector?: string;
2272
+ /** Controls whether or not the Modal is open */
2273
+ visible: boolean;
2274
+ /** The function called when the Modal is closed */
2275
+ onClose: () => void;
2276
+ /** Displays a close icon in the top right of the Modal */
2277
+ closeIcon?: boolean;
2278
+ /** Prevents the Modal from closing if the overlay outside the modal is clicked */
2279
+ preventOverlayClose?: boolean;
2280
+ /** Sets the color of the modal overlay */
2281
+ overlayColor?: string;
2282
+ /** Overrides the backgroundColor of the modal container */
2283
+ backgroundColor?: string;
2284
+ /** Styles the Modal as an actionable toast */
2285
+ small?: boolean;
2286
+ /** Removes the overlay background, and allows the modal to be positioned anywhere on the page */
2287
+ noOverlay?: boolean;
2288
+ /** Centers the horizontal position of the Modal. Used in conjunction with `noOverlay` */
2289
+ centerX?: boolean;
2290
+ /** Centers the vertical position of the Modal. Used in conjunction with `noOverlay` */
2291
+ centerY?: boolean;
2292
+ /** Sets the `top` position of the modal. Used in conjunction with `noOverlay` */
2293
+ top?: number | string;
2294
+ /** Sets the `bottom` position of the modal. Used in conjunction with `noOverlay` */
2295
+ bottom?: number | string;
2296
+ /** Sets the `right` position of the modal. Used in conjunction with `noOverlay` */
2297
+ right?: number | string;
2298
+ /** Sets the `left` position of the modal. Used in conjunction with `noOverlay` */
2299
+ left?: number | string;
2300
+ } & WidthHeight & Padding;
2301
+ declare const Modal: {
2302
+ ({ children, rootSelector, visible, width, height, onClose, closeIcon, preventOverlayClose, overlayColor, backgroundColor, small, noOverlay, centerX, centerY, top, bottom, right, left, padding, paddingTop, paddingBottom, paddingRight, paddingLeft, }: ModalProps): react.ReactPortal | null;
2303
+ Header: _emotion_styled.StyledComponent<{
2304
+ theme?: _emotion_react.Theme | undefined;
2305
+ /** Controls whether or not the Modal is open */
2306
+ as?: react.ElementType<any> | undefined;
2307
+ } & ThemeProp, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
2308
+ Text: _emotion_styled.StyledComponent<{
2309
+ theme?: _emotion_react.Theme | undefined;
2310
+ /** Controls whether or not the Modal is open */
2311
+ as?: react.ElementType<any> | undefined;
2312
+ } & {
2313
+ primary?: boolean | undefined;
2314
+ fontSize?: string | number | undefined;
2315
+ } & ThemeProp, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
2316
+ Body: _emotion_styled.StyledComponent<{
2317
+ theme?: _emotion_react.Theme | undefined;
2318
+ /** Controls whether or not the Modal is open */
2319
+ as?: react.ElementType<any> | undefined;
2320
+ } & Height & Margin, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
2321
+ Footer: _emotion_styled.StyledComponent<{
2322
+ theme?: _emotion_react.Theme | undefined;
2323
+ /** Controls whether or not the Modal is open */
2324
+ as?: react.ElementType<any> | undefined;
2325
+ } & {
2326
+ justify?: FlexPosition | undefined;
2327
+ inline?: boolean | undefined;
2328
+ } & Margin, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
2329
+ };
2330
+
2331
+ declare type MultiSelectProps = {
2332
+ /** The list of dropdown options to display */
2333
+ options: OptionItem[];
2334
+ /** The list of selected options */
2335
+ items: OptionItem[];
2336
+ /** A function that gives control of the list items to the user */
2337
+ children?: (listOpen: boolean) => ReactNode;
2338
+ /** Text to display in front of the list of selected items */
2339
+ listText?: string;
2340
+ /** The name of the items list to display (1/5 items) */
2341
+ itemsTitle?: string;
2342
+ /** The maximum number of items allowed to be selected */
2343
+ maxItems?: number;
2344
+ /** Sets the input placeholder text */
2345
+ placeholder?: string;
2346
+ /** As the dropdown is searched, the options narrow down according to the search value */
2347
+ filter?: boolean;
2348
+ /** Prevents the Dropdown from accepting any input other than what matches the provided options */
2349
+ restrictInput?: boolean | ((text: string) => boolean);
2350
+ /** Disables the Dropdown */
2351
+ disabled?: boolean;
2352
+ /** Function called after an item is selected */
2353
+ addItem: (item: OptionItem | null) => void;
2354
+ /** Function called after an item is removed */
2355
+ removeItem: (item: OptionItem | null) => void;
2356
+ /** The function to be called when the input is updated */
2357
+ onTextChange?: (text: string) => void;
2358
+ } & Width & Margin;
2359
+ declare const MultiSelect: ({ children, options, items, listText, itemsTitle, maxItems, placeholder, width, filter, restrictInput, disabled, addItem, removeItem, onTextChange, ...props }: MultiSelectProps) => JSX.Element;
2360
+
2361
+ declare const Notification: _emotion_styled.StyledComponent<{
2362
+ theme?: _emotion_react.Theme | undefined;
2363
+ as?: react.ElementType<any> | undefined;
2364
+ } & {
2365
+ color?: string | undefined;
2366
+ position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
2367
+ number?: boolean | undefined;
2368
+ top?: string | number | undefined;
2369
+ bottom?: string | number | undefined;
2370
+ right?: string | number | undefined;
2371
+ left?: string | number | undefined;
2372
+ } & ThemeProp & Margin, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
2373
+
2374
+ declare type OptionsProps = {
2375
+ children: ReactNode;
2376
+ /** The id of the Options container */
2377
+ id?: string;
2378
+ /** A ref to the Options container element */
2379
+ containerRef?: RefObject<HTMLDivElement>;
2380
+ /** Offsets the vertical position of the Options */
2381
+ offsetY?: number;
2382
+ /** Offsets the horizontal position of the Options */
2383
+ offsetX?: number;
2384
+ /** Centers the vertical position of the Options relative to the Options trigger */
2385
+ centerY?: boolean;
2386
+ /** Centers the horizontal position of the Options relative to the Options trigger */
2387
+ centerX?: boolean;
2388
+ /** The direction, in relation to the trigger, the options should open */
2389
+ direction?: 'left' | 'right' | 'top' | 'bottom';
2390
+ /** Overrides the default maxHeight of 200px */
2391
+ maxHeight?: number;
2392
+ /** The selector (id or className) of the element the options should open in relataion to */
2393
+ parentSelector?: string;
2394
+ } & Width;
2395
+ declare const Options: {
2396
+ ({ id, children, containerRef, parentSelector, width, maxHeight, offsetY, offsetX, centerY, centerX, direction, }: OptionsProps): JSX.Element;
2397
+ Item({ children, id, onClick, selected, noSelect, contentPosition, color, accented, ...props }: OptionsItemProps): JSX.Element;
2398
+ };
2399
+ declare type OptionsItemProps = {
2400
+ children?: ReactNode;
2401
+ /** The id of the Option item */
2402
+ id?: number | string;
2403
+ /** The function to be called when the Option item is clicked */
2404
+ onClick: (event: MouseEvent$1) => void;
2405
+ /** Controls whether the Option appears to be hovered */
2406
+ selected?: boolean;
2407
+ /** Prevents the Option from appearing to be hovered */
2408
+ noSelect?: boolean;
2409
+ /** The flex positioning of the Option contents */
2410
+ contentPosition?: FlexPosition;
2411
+ /** The color of the Option text */
2412
+ color?: string;
2413
+ /** Sets the Option text color to theme.accent */
2414
+ accented?: boolean;
2415
+ };
2416
+
2417
+ declare type PaginationProps = {
2418
+ /** The callback function that responds with the active page */
2419
+ onPageNav: (page: number) => void;
2420
+ /** The number of page items */
2421
+ totalPages: number;
2422
+ /** The current page the component should display */
2423
+ page?: number;
2424
+ /** The max number of page items to display */
2425
+ maxVisibleNumbers?: number;
2426
+ } & Margin & Width;
2427
+ declare const Pagination: ({ onPageNav, page, totalPages, maxVisibleNumbers, width, ...props }: PaginationProps) => JSX.Element;
2428
+
2429
+ declare type CircleProps = ({
2430
+ circle?: false;
2431
+ size?: never;
2432
+ } & WidthHeight) | {
2433
+ /** Styles the Progress component as a circle */
2434
+ circle: true;
2435
+ /** The width and height of the circle */
2436
+ size?: number;
2437
+ width?: never;
2438
+ height?: never;
2439
+ };
2440
+ declare type ProgressProps = {
2441
+ /** The percent completed (0-100) */
2442
+ percent: number;
2443
+ /** The color of the progress bar */
2444
+ color?: CSSProperties['backgroundColor'];
2445
+ /** The thickness of the bar or circle */
2446
+ thickness?: number;
2447
+ } & CircleProps & Margin;
2448
+ declare const Progress: ({ percent, color, circle, width, height, size, thickness, margin, marginTop, marginBottom, marginRight, marginLeft, }: ProgressProps) => JSX.Element;
2449
+
2450
+ declare type RadioProps = {
2451
+ /** Id of the input element */
2452
+ id?: string;
2453
+ /** Places a label element beside the radio. The value will set the text of the label */
2454
+ label?: string;
2455
+ /** Sets the label on the left or right of the radio */
2456
+ labelPosition?: 'left' | 'right';
2457
+ /** Disables the radio */
2458
+ disabled?: boolean;
2459
+ /** Controls the checked property of the radio */
2460
+ checked?: boolean;
2461
+ } & Margin & As & HTMLProps<HTMLInputElement>;
2462
+ declare const Radio: ({ id, label, labelPosition, checked, disabled, margin, marginTop, marginBottom, marginRight, marginLeft, ...props }: RadioProps) => JSX.Element;
2463
+
2464
+ declare type ResetStylesProps = {
2465
+ /** An array of font families to pass to the font loader */
2466
+ families?: string[];
2467
+ /** The default font family to set */
2468
+ fontFamily?: string;
2469
+ };
2470
+ declare const ResetStyles: ({ families, fontFamily }: ResetStylesProps) => JSX.Element;
2471
+
2472
+ declare const ScrollbarStyles: () => JSX.Element;
2473
+
2474
+ declare type SliderProps = {
2475
+ /** The current position of the slider knob */
2476
+ value: number;
2477
+ /** The max value of the slider */
2478
+ max?: number;
2479
+ /** The number by which the slider should increment/decrement */
2480
+ step?: number;
2481
+ /** Disables the slider */
2482
+ disabled?: boolean;
2483
+ /** The function that is called when the slider knob is changed */
2484
+ onChange?: (progressValue: number) => void;
2485
+ } & WidthHeight & Margin;
2486
+ declare const Slider: ({ value, max, step, width, height, disabled, onChange, ...props }: SliderProps) => JSX.Element;
2487
+
2488
+ declare const Spacer: _emotion_styled.StyledComponent<{
2489
+ theme?: _emotion_react.Theme | undefined;
2490
+ as?: react.ElementType<any> | undefined;
2491
+ } & Width & Height, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
2492
+
2493
+ declare type SpinnerProps = {
2494
+ /** The size of the loading icon */
2495
+ size?: Sizes;
2496
+ /** The color of the loading icon */
2497
+ color?: string;
2498
+ } & Margin;
2499
+ declare const Spinner: ({ size, color, margin, marginTop, marginBottom, marginRight, marginLeft, ...props }: SpinnerProps) => JSX.Element;
2500
+
2501
+ declare type Color = ColorNames | CSSProperties['color'];
2502
+ declare type Item = {
2503
+ /** Unique ID of the item */
2504
+ id: number | string;
2505
+ /** The text displayed for the transfer item */
2506
+ label: string;
2507
+ /** Used as the data of the item */
2508
+ value?: unknown;
2509
+ /** If both `header` and `body` are provided, this text will be styled as the transfer item's header */
2510
+ header?: string;
2511
+ /** If both `header` and `body` are provided, this text will be styled as the transfer item's body */
2512
+ body?: string;
2513
+ /** Any element to be displayed to the left of the item's label/header/body */
2514
+ leftElement?: ReactElement;
2515
+ /** Any element to be displayed to the right of the item's label/header/body */
2516
+ rightElement?: ReactElement;
2517
+ /** The left border color of the transfer item */
2518
+ color?: Color;
2519
+ /** Used to preselect an item */
2520
+ selected?: boolean;
2521
+ [key: string]: unknown;
2522
+ };
2523
+ declare type Action = 'select' | 'remove';
2524
+ declare type Next = (item?: Item) => void;
2525
+ declare type TransferListProps = {
2526
+ /** Array of objects that will be rendered as individual items in the list */
2527
+ items: Item[];
2528
+ /** The function called when an item is selected or removed. It passes the entire list of selected items. */
2529
+ onChange: (list: Item[]) => void;
2530
+ /** The function called before an item is selected or removed */
2531
+ beforeItemChange?: (item: Item, action: Action, next: Next) => void;
2532
+ /** The header title of the transfer list */
2533
+ listTitle?: string;
2534
+ /** The text to display in a readOnly state where there are no selected items */
2535
+ noItemsMessage?: string;
2536
+ /** Disables moving items and only displays the list of selected items */
2537
+ readOnly?: boolean;
2538
+ /** Hides the select all button */
2539
+ hideSelectAll?: boolean;
2540
+ /** Hides the remove all button */
2541
+ hideRemoveAll?: boolean;
2542
+ } & Width & Margin;
2543
+ declare const TransferList: ({ items, onChange, beforeItemChange, listTitle, noItemsMessage, hideSelectAll, hideRemoveAll, readOnly, width, margin, marginTop, marginBottom, marginRight, marginLeft, }: TransferListProps) => JSX.Element;
2544
+
2545
+ /** Table component */
2546
+ declare type TableBase = {
2547
+ children?: ReactNode;
2548
+ /** If a number, columns creates n number columns of an equal size. If a string, columns sets the gridTemplateColumns property */
2549
+ columns?: number | string;
2550
+ } & Width & MarginPadding;
2551
+ declare type DefaultTableProps = Omit<HTMLProps<HTMLTableElement>, 'as'> & As;
2552
+ declare const Table: {
2553
+ ({ children, columns, ...rest }: TableBase & DefaultTableProps): JSX.Element;
2554
+ /** Table.Header component */
2555
+ Header({ children, columns, parentColumns, ...rest }: TableHeaderRow): JSX.Element;
2556
+ HeaderCell: ({ children, onClick, contentPosition, sorted }: HeaderCellProps) => JSX.Element;
2557
+ Body({ children, parentColumns, height }: BodyProps): JSX.Element;
2558
+ /** Table.Row component */
2559
+ Row({ children, columns, parentColumns, ...rest }: TableHeaderRow): JSX.Element;
2560
+ Column({ children, contentPosition, defaultValue }: TableColumn): JSX.Element;
2561
+ };
2562
+ declare type TableHeaderRow = {
2563
+ parentColumns?: number | string;
2564
+ } & TableBase & HTMLProps<HTMLTableRowElement>;
2565
+ /** Table.HeaderCell component */
2566
+ declare type HeaderCellProps = {
2567
+ children?: ReactNode;
2568
+ /** The flex positioning of the HeaderCell contents */
2569
+ contentPosition?: FlexPosition;
2570
+ /** The function to be called when the HeaderCell is clicked */
2571
+ onClick?: (event: MouseEvent$1) => void;
2572
+ /** Controls the direction of the sort icon indicating the direction of the data */
2573
+ sorted?: 'asc' | 'desc' | 'inactive';
2574
+ };
2575
+ /** Table.Body component */
2576
+ declare type BodyProps = Omit<TableHeaderRow, 'columns'> & Height & HTMLProps<HTMLTableSectionElement>;
2577
+ /** Table.Column component */
2578
+ declare type TableColumn = {
2579
+ children?: ReactNode;
2580
+ /** The flex positioning of the Column contents */
2581
+ contentPosition?: FlexPosition;
2582
+ /** The string value to display if the child text is undefined (i.e. "N/A", "—") */
2583
+ defaultValue?: string;
2584
+ };
2585
+ declare const TableColumn: _emotion_styled.StyledComponent<{
2586
+ theme?: _emotion_react.Theme | undefined;
2587
+ as?: react.ElementType<any> | undefined;
2588
+ } & {
2589
+ contentPosition?: FlexPosition | undefined;
2590
+ } & react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & {
2591
+ theme?: _emotion_react.Theme | undefined;
2592
+ } & {
2593
+ showDefault?: boolean | undefined;
2594
+ } & ThemeProp, {}, {}>;
2595
+
2596
+ declare type ToggleProps = {
2597
+ /** Id of the input element */
2598
+ id?: string;
2599
+ /** Places a label element beside the toggle. The value will set the text of the label */
2600
+ label?: string;
2601
+ /** Sets the label on the left or right of the toggle */
2602
+ labelPosition?: 'left' | 'right';
2603
+ /** Disables the toggle */
2604
+ disabled?: boolean;
2605
+ /** Controls the checked property of the toggle */
2606
+ checked?: boolean;
2607
+ /** The function called with the toggle value after the toggle is changed */
2608
+ onChange: (val: boolean) => void;
2609
+ } & Margin & As & CheckboxAttributes;
2610
+ declare const Toggle: ({ id, label, labelPosition, checked, disabled, onChange, margin, marginTop, marginBottom, marginRight, marginLeft, ...props }: ToggleProps) => JSX.Element;
2611
+
2612
+ declare const useEventListener: <T extends Event>(element: MutableRefObject<HTMLElement> | HTMLElement | Document | Window, type: keyof WindowEventMap, listener: (event: T) => void, condition?: boolean, dependencies?: unknown[]) => void;
2613
+
2614
+ declare const useOnClickOutside: <T extends HTMLElement>(onClickOutside: () => void, condition?: boolean, exclusions?: string[]) => MutableRefObject<T | null>;
2615
+
2616
+ declare type UseSelectProps = {
2617
+ /** The options that will be displayed in the list */
2618
+ options: OptionItem[];
2619
+ /** The function called when an option is selected */
2620
+ select: (option: OptionItem | string | null) => void;
2621
+ /** The function to close the open option list */
2622
+ close: Function;
2623
+ /** The function to open the closed option list */
2624
+ open: Function;
2625
+ /** The condition for when the list of options is open */
2626
+ isOpen: boolean;
2627
+ /** The condition for when the select element is focused */
2628
+ isFocused?: boolean;
2629
+ /** The text from a search Droppdown */
2630
+ searchText?: string;
2631
+ };
2632
+ declare const useSelect: ({ options, select, close, open, searchText, isOpen, isFocused }: UseSelectProps) => readonly [number, react.RefObject<HTMLDivElement>];
2633
+
2634
+ declare type ListItem = {
2635
+ id: number | string;
2636
+ [otherProps: string]: unknown;
2637
+ };
2638
+ declare const useSelectAll: (items: ListItem[], defaultSelected?: boolean) => {
2639
+ list: ListItem[];
2640
+ partial: boolean;
2641
+ allSelected: boolean;
2642
+ onSelectAll: (selectAll: boolean) => void;
2643
+ onChildChange: (val: boolean, id: number | string) => void;
2644
+ };
2645
+
2646
+ declare const useWindowSize: () => {
2647
+ width: number | null;
2648
+ height: number | null;
2649
+ };
2650
+
2651
+ declare type TimeSpec = 'onlyTime' | 'withTime' | 'relative';
2652
+ declare type TimeOptions = {
2653
+ time?: TimeSpec;
2654
+ lowercase?: boolean;
2655
+ };
2656
+ declare const formatDate: (value: Date, option?: TimeSpec | TimeOptions) => string;
2657
+
2658
+ declare const copyToClipboard: (text: string) => void;
2659
+
2660
+ export { Audio, AudioRef, Button, Calendar, Checkbox, Code, Table$1 as DocTable, DraftEditor, DraftEditorRef, Dropdown, OptionItem as DropdownOption, Form, Grid, ITheme, Icon, IconNames, ImageViewer, InlineCode, Input, InputRef, _default as InputUtils, Label, Menu, Message, MessageHr, Modal, MultiSelect, Notification, Options, Pagination, Progress, Radio, ResetStyles, ScrollbarStyles, Slider, Spacer, Spinner, Table, ThemeProp, Toggle, Tooltip, Action as TransferAction, Item as TransferItem, TransferList, Next as TransferNext, copyToClipboard, formatDate, theme, useEventListener, useOnClickOutside, useSelect, useSelectAll, useWindowSize };