@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,55 @@
1
+ import { ReactNode } from 'react';
2
+ import { StyledComponent } from '@emotion/styled';
3
+ import { MarginPadding, WidthHeight } from './types';
4
+ export declare type GridProps = {
5
+ /** If a number, rows creates n number rows of an equal size. If a string, rows sets the gridTemplateRows property */
6
+ rows?: string | number;
7
+ /** The amount of pixels between each row */
8
+ rowGap?: number;
9
+ /** If a number, columns creates n number columns of an equal size. If a string, columns sets the gridTemplateColumns property */
10
+ columns?: string | number;
11
+ /** The amount of pixels between each column */
12
+ columnGap?: number;
13
+ /** Sets the gridGap property */
14
+ gap?: number;
15
+ /** Sets the gridTemplate property */
16
+ template?: string;
17
+ /** Sets the alignContent property */
18
+ alignContent?: string;
19
+ /** Sets the alignItems property */
20
+ alignItems?: string;
21
+ /** Sets the justifyContent property */
22
+ justifyContent?: string;
23
+ /** Sets the justifyItems property */
24
+ justifyItems?: string;
25
+ children?: ReactNode;
26
+ } & WidthHeight & MarginPadding;
27
+ declare type ItemProps = {
28
+ /** Sets the gridRow property */
29
+ row?: number;
30
+ /** Sets the gridRowStart property */
31
+ rowStart?: number;
32
+ /** Sets the gridRowEnd property */
33
+ rowEnd?: number;
34
+ /** Sets the gridColumn property */
35
+ column?: number;
36
+ /** Sets the gridColumnStart property */
37
+ columnStart?: number;
38
+ /** Sets the gridColumnEnd property */
39
+ columnEnd?: number;
40
+ /** Sets the gridArea property */
41
+ area?: number;
42
+ /** Sets the alignSelf property */
43
+ alignSelf?: string;
44
+ /** Sets the justifySelf property */
45
+ justifySelf?: string;
46
+ /** Sets the placeSelf property */
47
+ placeSelf?: string;
48
+ /** Sets the border property */
49
+ border?: string;
50
+ } & MarginPadding;
51
+ interface GridType extends StyledComponent<GridProps> {
52
+ Item?: StyledComponent<ItemProps>;
53
+ }
54
+ declare const Grid: GridType;
55
+ export default Grid;
@@ -0,0 +1,36 @@
1
+ import { HTMLProps, ReactNode } from 'react';
2
+ import { IconNames } from './icons';
3
+ import { As, MarginPadding } from '../types';
4
+ export declare type Sizes = number | 'small' | 'medium' | 'large';
5
+ declare type DivAttributes = Omit<HTMLProps<HTMLDivElement>, 'size'>;
6
+ declare type ConditionalProps = {
7
+ /** Name of the specific icon to use */
8
+ name: IconNames;
9
+ svg?: never;
10
+ } | {
11
+ /** The SVG element to wrap with the Icon component */
12
+ svg: ReactNode | (() => JSX.Element);
13
+ name?: never;
14
+ };
15
+ export declare type IconProps = {
16
+ /** Sets the width and height of the icon */
17
+ size?: Sizes;
18
+ /** Sets the width of the icon */
19
+ width?: number | string;
20
+ /** Sets the height of the icon */
21
+ height?: number | string;
22
+ /** Sets the color of the icon */
23
+ color?: string;
24
+ /** Sets the color of the icon when hovered */
25
+ hoverColor?: string;
26
+ /** Sets the cursor as a pointer when hovered */
27
+ pointer?: boolean;
28
+ /** Sets the color of the icon to the parent element's color */
29
+ inheritColor?: boolean;
30
+ /** Sets the style prop of the Icon wrapper element */
31
+ style?: {
32
+ [key: string]: string | number;
33
+ };
34
+ } & ConditionalProps & MarginPadding & As & DivAttributes;
35
+ declare const Icon: ({ name, svg, size, width, height, color, hoverColor, pointer, inheritColor, style, onClick, ...props }: IconProps) => JSX.Element | null;
36
+ export default Icon;
@@ -0,0 +1,208 @@
1
+ /// <reference types="react" />
2
+ import ActivityHistory from '../../assets/icons/ActivityHistory';
3
+ import Add from '../../assets/icons/Add';
4
+ import AddCircle from '../../assets/icons/AddCircle';
5
+ import AddCircleOutline from '../../assets/icons/AddCircleOutline';
6
+ import AddPerson from '../../assets/icons/AddPerson';
7
+ import ArrowDown from '../../assets/icons/ArrowDown';
8
+ import ArrowLeft from '../../assets/icons/ArrowLeft';
9
+ import ArrowRight from '../../assets/icons/ArrowRight';
10
+ import ArrowUp from '../../assets/icons/ArrowUp';
11
+ import Attachment from '../../assets/icons/Attachment';
12
+ import Calendar from '../../assets/icons/Calendar';
13
+ import Camera from '../../assets/icons/Camera';
14
+ import Card from '../../assets/icons/Card';
15
+ import CaretDown from '../../assets/icons/CaretDown';
16
+ import CaretUp from '../../assets/icons/CaretUp';
17
+ import CheckCircle from '../../assets/icons/CheckCircle';
18
+ import CheckCircleOutline from '../../assets/icons/CheckCircleOutline';
19
+ import Checkbox from '../../assets/icons/Checkbox';
20
+ import CheckboxOff from '../../assets/icons/CheckboxOff';
21
+ import CheckboxPartial from '../../assets/icons/CheckboxPartial';
22
+ import ChevronDown from '../../assets/icons/ChevronDown';
23
+ import ChevronLeft from '../../assets/icons/ChevronLeft';
24
+ import ChevronRight from '../../assets/icons/ChevronRight';
25
+ import ChevronUp from '../../assets/icons/ChevronUp';
26
+ import Clapperboard from '../../assets/icons/Clapperboard';
27
+ import ClapperboardOpen from '../../assets/icons/ClapperboardOpen';
28
+ import Close from '../../assets/icons/Close';
29
+ import CloseCircle from '../../assets/icons/CloseCircle';
30
+ import CloseCircleOutline from '../../assets/icons/CloseCircleOutline';
31
+ import Copy from '../../assets/icons/Copy';
32
+ import Devices from '../../assets/icons/Devices';
33
+ import Dialpad from '../../assets/icons/Dialpad';
34
+ import DoubleArrowLeft from '../../assets/icons/DoubleArrowLeft';
35
+ import DoubleArrowRight from '../../assets/icons/DoubleArrowRight';
36
+ import Download from '../../assets/icons/Download';
37
+ import Edit from '../../assets/icons/Edit';
38
+ import Emoji from '../../assets/icons/Emoji';
39
+ import EyeOff from '../../assets/icons/EyeOff';
40
+ import EyeOn from '../../assets/icons/EyeOn';
41
+ import Facebook from '../../assets/icons/Facebook';
42
+ import Filter from '../../assets/icons/Filter';
43
+ import Flask from '../../assets/icons/Flask';
44
+ import Group from '../../assets/icons/Group';
45
+ import Heart from '../../assets/icons/Heart';
46
+ import HeartOutline from '../../assets/icons/HeartOutline';
47
+ import Help from '../../assets/icons/Help';
48
+ import Hourglass from '../../assets/icons/Hourglass';
49
+ import Info from '../../assets/icons/Info';
50
+ import Instagram from '../../assets/icons/Instagram';
51
+ import KebabMenu from '../../assets/icons/KebabMenu';
52
+ import Link from '../../assets/icons/Link';
53
+ import Linkedin from '../../assets/icons/Linkedin';
54
+ import Loading from '../../assets/icons/Loading';
55
+ import Maximize from '../../assets/icons/Maximize';
56
+ import Menu from '../../assets/icons/Menu';
57
+ import MergeField from '../../assets/icons/MergeField';
58
+ import Message from '../../assets/icons/Message';
59
+ import Mic from '../../assets/icons/Mic';
60
+ import MicOff from '../../assets/icons/MicOff';
61
+ import Minimize from '../../assets/icons/Minimize';
62
+ import Mobile from '../../assets/icons/Mobile';
63
+ import NotAllowed from '../../assets/icons/NotAllowed';
64
+ import Open from '../../assets/icons/Open';
65
+ import Pause from '../../assets/icons/Pause';
66
+ import PauseOutline from '../../assets/icons/PauseOutline';
67
+ import Person from '../../assets/icons/Person';
68
+ import Phone from '../../assets/icons/Phone';
69
+ import PhoneBlocked from '../../assets/icons/PhoneBlocked';
70
+ import PhoneEnd from '../../assets/icons/PhoneEnd';
71
+ import PhoneHistory from '../../assets/icons/PhoneHistory';
72
+ import PhoneTalk from '../../assets/icons/PhoneTalk';
73
+ import Play from '../../assets/icons/Play';
74
+ import PlayOutline from '../../assets/icons/PlayOutline';
75
+ import ProfileUser from '../../assets/icons/ProfileUser';
76
+ import RadioButton from '../../assets/icons/RadioButton';
77
+ import RadioButtonOff from '../../assets/icons/RadioButtonOff';
78
+ import Record from '../../assets/icons/Record';
79
+ import Refresh from '../../assets/icons/Refresh';
80
+ import Rocket from '../../assets/icons/Rocket';
81
+ import Schedule from '../../assets/icons/Schedule';
82
+ import ScheduleOutline from '../../assets/icons/ScheduleOutline';
83
+ import Search from '../../assets/icons/Search';
84
+ import Settings from '../../assets/icons/Settings';
85
+ import Sort from '../../assets/icons/Sort';
86
+ import Spotify from '../../assets/icons/Spotify';
87
+ import Star from '../../assets/icons/Star';
88
+ import StarOutline from '../../assets/icons/StarOutline';
89
+ import Stop from '../../assets/icons/Stop';
90
+ import StopOutline from '../../assets/icons/StopOutline';
91
+ import Template from '../../assets/icons/Template';
92
+ import ToggleOff from '../../assets/icons/ToggleOff';
93
+ import ToggleOn from '../../assets/icons/ToggleOn';
94
+ import Trash from '../../assets/icons/Trash';
95
+ import Twitter from '../../assets/icons/Twitter';
96
+ import Upload from '../../assets/icons/Upload';
97
+ import Video from '../../assets/icons/Video';
98
+ import Voicemail from '../../assets/icons/Voicemail';
99
+ import VolOn from '../../assets/icons/VolOn';
100
+ import Warning from '../../assets/icons/Warning';
101
+ import WarningCircleOutline from '../../assets/icons/WarningCircleOutline';
102
+ import Youtube from '../../assets/icons/Youtube';
103
+ declare const icons: {
104
+ 'activity-history': typeof ActivityHistory;
105
+ add: typeof Add;
106
+ 'add-circle': typeof AddCircle;
107
+ 'add-circle-outline': typeof AddCircleOutline;
108
+ 'add-person': typeof AddPerson;
109
+ 'arrow-down': typeof ArrowDown;
110
+ 'arrow-left': typeof ArrowLeft;
111
+ 'arrow-right': typeof ArrowRight;
112
+ 'arrow-up': typeof ArrowUp;
113
+ attachment: typeof Attachment;
114
+ calendar: typeof Calendar;
115
+ camera: typeof Camera;
116
+ card: typeof Card;
117
+ 'caret-down': typeof CaretDown;
118
+ 'caret-up': typeof CaretUp;
119
+ 'check-circle': typeof CheckCircle;
120
+ 'check-circle-outline': typeof CheckCircleOutline;
121
+ checkbox: typeof Checkbox;
122
+ 'checkbox-off': typeof CheckboxOff;
123
+ 'checkbox-partial': typeof CheckboxPartial;
124
+ 'chevron-down': typeof ChevronDown;
125
+ 'chevron-left': typeof ChevronLeft;
126
+ 'chevron-right': typeof ChevronRight;
127
+ 'chevron-up': typeof ChevronUp;
128
+ clapperboard: typeof Clapperboard;
129
+ 'clapperboard-open': typeof ClapperboardOpen;
130
+ close: typeof Close;
131
+ 'close-circle': typeof CloseCircle;
132
+ 'close-circle-outline': typeof CloseCircleOutline;
133
+ copy: typeof Copy;
134
+ devices: typeof Devices;
135
+ dialpad: typeof Dialpad;
136
+ 'double-arrow-left': typeof DoubleArrowLeft;
137
+ 'double-arrow-right': typeof DoubleArrowRight;
138
+ download: typeof Download;
139
+ edit: typeof Edit;
140
+ emoji: typeof Emoji;
141
+ 'eye-off': typeof EyeOff;
142
+ 'eye-on': typeof EyeOn;
143
+ facebook: typeof Facebook;
144
+ filter: typeof Filter;
145
+ flask: typeof Flask;
146
+ group: typeof Group;
147
+ heart: typeof Heart;
148
+ 'heart-outline': typeof HeartOutline;
149
+ help: typeof Help;
150
+ hourglass: typeof Hourglass;
151
+ info: typeof Info;
152
+ instagram: typeof Instagram;
153
+ 'kebab-menu': typeof KebabMenu;
154
+ link: typeof Link;
155
+ linkedin: typeof Linkedin;
156
+ loading: typeof Loading;
157
+ maximize: typeof Maximize;
158
+ menu: typeof Menu;
159
+ 'merge-field': typeof MergeField;
160
+ message: typeof Message;
161
+ mic: typeof Mic;
162
+ 'mic-off': typeof MicOff;
163
+ minimize: typeof Minimize;
164
+ mobile: typeof Mobile;
165
+ 'not-allowed': typeof NotAllowed;
166
+ open: typeof Open;
167
+ pause: typeof Pause;
168
+ 'pause-outline': typeof PauseOutline;
169
+ person: typeof Person;
170
+ phone: typeof Phone;
171
+ 'phone-blocked': typeof PhoneBlocked;
172
+ 'phone-end': typeof PhoneEnd;
173
+ 'phone-history': typeof PhoneHistory;
174
+ 'phone-talk': typeof PhoneTalk;
175
+ play: typeof Play;
176
+ 'play-outline': typeof PlayOutline;
177
+ 'profile-user': typeof ProfileUser;
178
+ 'radio-button': typeof RadioButton;
179
+ 'radio-button-off': typeof RadioButtonOff;
180
+ record: typeof Record;
181
+ refresh: typeof Refresh;
182
+ rocket: typeof Rocket;
183
+ schedule: typeof Schedule;
184
+ 'schedule-outline': typeof ScheduleOutline;
185
+ search: typeof Search;
186
+ settings: typeof Settings;
187
+ share: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
188
+ sort: typeof Sort;
189
+ spotify: typeof Spotify;
190
+ star: typeof Star;
191
+ 'star-outline': typeof StarOutline;
192
+ stop: typeof Stop;
193
+ 'stop-outline': typeof StopOutline;
194
+ template: typeof Template;
195
+ 'toggle-off': typeof ToggleOff;
196
+ 'toggle-on': typeof ToggleOn;
197
+ trash: typeof Trash;
198
+ twitter: typeof Twitter;
199
+ upload: typeof Upload;
200
+ video: typeof Video;
201
+ voicemail: typeof Voicemail;
202
+ 'vol-on': typeof VolOn;
203
+ warning: typeof Warning;
204
+ 'warning-circle-outline': typeof WarningCircleOutline;
205
+ youtube: typeof Youtube;
206
+ };
207
+ export declare type IconNames = keyof typeof icons;
208
+ export default icons;
@@ -0,0 +1,2 @@
1
+ import Icon from './Icon';
2
+ export default Icon;
@@ -0,0 +1,21 @@
1
+ /// <reference types="react" />
2
+ declare type ImageViewerProps = {
3
+ /** Controls whether or not the ImageViewer is open */
4
+ visible: boolean;
5
+ /** The function called when the ImageViewer is closed */
6
+ close: () => void;
7
+ /** The array of image urls to display */
8
+ images: string[];
9
+ /** The index of the images array to initially display */
10
+ startIndex: number;
11
+ /** The alt property of the current image */
12
+ alt?: string;
13
+ /** The maxWidth of the image inside the ImageViewer */
14
+ maxWidth?: number | string;
15
+ /** The maxHeight of the image inside the ImageViewer */
16
+ maxHeight?: number | string;
17
+ /** The opacity of the ImageViewer background */
18
+ opacity?: number;
19
+ };
20
+ declare const ImageViewer: ({ visible, close, images, startIndex, alt, maxWidth, maxHeight, opacity }: ImageViewerProps) => JSX.Element | null;
21
+ export default ImageViewer;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { ThemeProp } from './types';
3
+ declare const InlineCode: import("@emotion/styled").StyledComponent<{
4
+ theme?: import("@emotion/react").Theme | undefined;
5
+ as?: import("react").ElementType<any> | undefined;
6
+ } & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
7
+ export default InlineCode;
@@ -0,0 +1,192 @@
1
+ import { ChangeEvent, MutableRefObject, MouseEvent, HTMLProps } from 'react';
2
+ import { As, InputFocusEvent, InputRef, Margin } from './types';
3
+ import { IconType } from './helpers/getIcon';
4
+ declare type OnClear = () => void;
5
+ declare type OnChangeDefault = (event: ChangeEvent<HTMLInputElement>) => void;
6
+ declare type OnChangePhone = (event: ChangeEvent<HTMLInputElement>, formatted: string, raw: string) => void;
7
+ declare type Default = {
8
+ /** Auto-formats the input to a US phone number */
9
+ phone?: never;
10
+ /** A callback function that is run upon changing the contents of the input */
11
+ onChange: OnChangeDefault;
12
+ };
13
+ declare type Phone = {
14
+ phone: true;
15
+ onChange: OnChangePhone;
16
+ };
17
+ declare type InputTypes = Default | Phone;
18
+ declare type DefaultInputProps = Omit<HTMLProps<HTMLInputElement>, 'onChange' | 'as'> & As;
19
+ export declare type InputProps = {
20
+ /** The id of the input element */
21
+ id?: string;
22
+ /** Places a label element above the input. The value will set the text of the label */
23
+ label?: string;
24
+ /** Sets the input placeholder text */
25
+ placeholder?: string;
26
+ /** Sets the input placeholder color */
27
+ placeholderColor?: string;
28
+ /** Places a description message below the input */
29
+ description?: string;
30
+ /** Displays a spinner icon on the right side of the input */
31
+ isLoading?: boolean;
32
+ /** The name of the icon that should appear on the left side of the input */
33
+ iconLeft?: IconType;
34
+ /** The name of the icon that should appear on the right side of the input */
35
+ iconRight?: IconType;
36
+ /** Sets the Input's bottom border and description text to red */
37
+ invalid?: boolean;
38
+ /** Removes the input border */
39
+ borderless?: boolean;
40
+ /** Sets the input borderRadius */
41
+ borderRadius?: number | string;
42
+ /** Sets the input borderColor */
43
+ borderColor?: string;
44
+ /** Sets the input backgroundColor */
45
+ backgroundColor?: string;
46
+ /** Sets the input fontSize */
47
+ fontSize?: number | string;
48
+ /** Width of the input */
49
+ width?: number | string;
50
+ /** Height of the input */
51
+ height?: number | string;
52
+ /** A ref to the input's container element */
53
+ containerRef?: MutableRefObject<HTMLDivElement>;
54
+ /** Value of the input */
55
+ value: string | number;
56
+ /** Disables the input */
57
+ disabled?: boolean;
58
+ /** Prevents the input from being clicked, focused, hovered, or edited */
59
+ readOnly?: boolean;
60
+ /** Prevents the input from being clicked or focused */
61
+ preventFocus?: boolean;
62
+ /** Sets the cursor to pointer for the input container */
63
+ pointer?: boolean;
64
+ /** Removes the padding from the input */
65
+ textOnly?: boolean;
66
+ /** Adds a search icon to the left of the input and a clear icon and funcitonality to the right */
67
+ search?: boolean;
68
+ /** Callback run after onFocus event */
69
+ onFocus?: (event?: InputFocusEvent) => void;
70
+ /** Callback run after onBlur event */
71
+ onBlur?: (event?: InputFocusEvent) => void;
72
+ /** A callback function that is run upon clicking the input container */
73
+ onClick?: (event?: MouseEvent) => void;
74
+ /** A callback function that is run upon clicking the clear icon */
75
+ onClear?: OnClear;
76
+ } & DefaultInputProps & InputTypes & Margin;
77
+ declare const Input: import("react").ForwardRefExoticComponent<(Pick<{
78
+ /** The id of the input element */
79
+ id?: string | undefined;
80
+ /** Places a label element above the input. The value will set the text of the label */
81
+ label?: string | undefined;
82
+ /** Sets the input placeholder text */
83
+ placeholder?: string | undefined;
84
+ /** Sets the input placeholder color */
85
+ placeholderColor?: string | undefined;
86
+ /** Places a description message below the input */
87
+ description?: string | undefined;
88
+ /** Displays a spinner icon on the right side of the input */
89
+ isLoading?: boolean | undefined;
90
+ /** The name of the icon that should appear on the left side of the input */
91
+ iconLeft?: IconType | undefined;
92
+ /** The name of the icon that should appear on the right side of the input */
93
+ iconRight?: IconType | undefined;
94
+ /** Sets the Input's bottom border and description text to red */
95
+ invalid?: boolean | undefined;
96
+ /** Removes the input border */
97
+ borderless?: boolean | undefined;
98
+ /** Sets the input borderRadius */
99
+ borderRadius?: string | number | undefined;
100
+ /** Sets the input borderColor */
101
+ borderColor?: string | undefined;
102
+ /** Sets the input backgroundColor */
103
+ backgroundColor?: string | undefined;
104
+ /** Sets the input fontSize */
105
+ fontSize?: string | number | undefined;
106
+ /** Width of the input */
107
+ width?: string | number | undefined;
108
+ /** Height of the input */
109
+ height?: string | number | undefined;
110
+ /** A ref to the input's container element */
111
+ containerRef?: MutableRefObject<HTMLDivElement> | undefined;
112
+ /** Value of the input */
113
+ value: string | number;
114
+ /** Disables the input */
115
+ disabled?: boolean | undefined;
116
+ /** Prevents the input from being clicked, focused, hovered, or edited */
117
+ readOnly?: boolean | undefined;
118
+ /** Prevents the input from being clicked or focused */
119
+ preventFocus?: boolean | undefined;
120
+ /** Sets the cursor to pointer for the input container */
121
+ pointer?: boolean | undefined;
122
+ /** Removes the padding from the input */
123
+ textOnly?: boolean | undefined;
124
+ /** Adds a search icon to the left of the input and a clear icon and funcitonality to the right */
125
+ search?: boolean | undefined;
126
+ /** Callback run after onFocus event */
127
+ onFocus?: ((event?: InputFocusEvent) => void) | undefined;
128
+ /** Callback run after onBlur event */
129
+ onBlur?: ((event?: InputFocusEvent) => void) | undefined;
130
+ /** A callback function that is run upon clicking the input container */
131
+ onClick?: ((event?: MouseEvent) => void) | undefined;
132
+ /** A callback function that is run upon clicking the clear icon */
133
+ onClear?: OnClear | undefined;
134
+ } & 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<{
135
+ /** The id of the input element */
136
+ id?: string | undefined;
137
+ /** Places a label element above the input. The value will set the text of the label */
138
+ label?: string | undefined;
139
+ /** Sets the input placeholder text */
140
+ placeholder?: string | undefined;
141
+ /** Sets the input placeholder color */
142
+ placeholderColor?: string | undefined;
143
+ /** Places a description message below the input */
144
+ description?: string | undefined;
145
+ /** Displays a spinner icon on the right side of the input */
146
+ isLoading?: boolean | undefined;
147
+ /** The name of the icon that should appear on the left side of the input */
148
+ iconLeft?: IconType | undefined;
149
+ /** The name of the icon that should appear on the right side of the input */
150
+ iconRight?: IconType | undefined;
151
+ /** Sets the Input's bottom border and description text to red */
152
+ invalid?: boolean | undefined;
153
+ /** Removes the input border */
154
+ borderless?: boolean | undefined;
155
+ /** Sets the input borderRadius */
156
+ borderRadius?: string | number | undefined;
157
+ /** Sets the input borderColor */
158
+ borderColor?: string | undefined;
159
+ /** Sets the input backgroundColor */
160
+ backgroundColor?: string | undefined;
161
+ /** Sets the input fontSize */
162
+ fontSize?: string | number | undefined;
163
+ /** Width of the input */
164
+ width?: string | number | undefined;
165
+ /** Height of the input */
166
+ height?: string | number | undefined;
167
+ /** A ref to the input's container element */
168
+ containerRef?: MutableRefObject<HTMLDivElement> | undefined;
169
+ /** Value of the input */
170
+ value: string | number;
171
+ /** Disables the input */
172
+ disabled?: boolean | undefined;
173
+ /** Prevents the input from being clicked, focused, hovered, or edited */
174
+ readOnly?: boolean | undefined;
175
+ /** Prevents the input from being clicked or focused */
176
+ preventFocus?: boolean | undefined;
177
+ /** Sets the cursor to pointer for the input container */
178
+ pointer?: boolean | undefined;
179
+ /** Removes the padding from the input */
180
+ textOnly?: boolean | undefined;
181
+ /** Adds a search icon to the left of the input and a clear icon and funcitonality to the right */
182
+ search?: boolean | undefined;
183
+ /** Callback run after onFocus event */
184
+ onFocus?: ((event?: InputFocusEvent) => void) | undefined;
185
+ /** Callback run after onBlur event */
186
+ onBlur?: ((event?: InputFocusEvent) => void) | undefined;
187
+ /** A callback function that is run upon clicking the input container */
188
+ onClick?: ((event?: MouseEvent) => void) | undefined;
189
+ /** A callback function that is run upon clicking the clear icon */
190
+ onClear?: OnClear | undefined;
191
+ } & 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>) & import("react").RefAttributes<InputRef>>;
192
+ export default Input;
@@ -0,0 +1,78 @@
1
+ /// <reference types="react" />
2
+ import { Margin, ThemeProp, InputFocusEvent } from './types';
3
+ declare type FocusCallBack = (event?: InputFocusEvent) => void;
4
+ export declare const useInputFocus: (onFocus?: FocusCallBack, onBlur?: FocusCallBack, focusCondition?: boolean) => {
5
+ focused: boolean;
6
+ handleFocus: (event?: InputFocusEvent) => void;
7
+ handleBlur: (event?: InputFocusEvent) => void;
8
+ };
9
+ export declare const isInputFilled: (value: string | number) => boolean;
10
+ export declare const InputContainer: import("@emotion/styled").StyledComponent<{
11
+ theme?: import("@emotion/react").Theme | undefined;
12
+ as?: import("react").ElementType<any> | undefined;
13
+ } & {
14
+ backgroundColor?: string | undefined;
15
+ borderRadius?: string | number | undefined;
16
+ borderless?: boolean | undefined;
17
+ borderColor?: string | undefined;
18
+ pointer?: boolean | undefined;
19
+ readOnly?: boolean | undefined;
20
+ textOnly?: boolean | undefined;
21
+ focused?: boolean | undefined;
22
+ invalid?: boolean | undefined;
23
+ disabled?: boolean | undefined;
24
+ hasLabel?: boolean | undefined;
25
+ } & import("./types").Width & import("./types").Height & Margin & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
26
+ export declare const InputWrapper: import("@emotion/styled").StyledComponent<{
27
+ theme?: import("@emotion/react").Theme | undefined;
28
+ as?: import("react").ElementType<any> | undefined;
29
+ } & {
30
+ readOnly?: boolean | undefined;
31
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
32
+ export declare const Label: import("@emotion/styled").StyledComponent<{
33
+ theme?: import("@emotion/react").Theme | undefined;
34
+ as?: import("react").ElementType<any> | undefined;
35
+ } & {
36
+ filled?: boolean | undefined;
37
+ focused?: boolean | undefined;
38
+ disabled?: boolean | undefined;
39
+ } & ThemeProp, import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>;
40
+ declare const _default: {
41
+ Container: import("@emotion/styled").StyledComponent<{
42
+ theme?: import("@emotion/react").Theme | undefined;
43
+ as?: import("react").ElementType<any> | undefined;
44
+ } & {
45
+ backgroundColor?: string | undefined;
46
+ borderRadius?: string | number | undefined;
47
+ borderless?: boolean | undefined;
48
+ borderColor?: string | undefined;
49
+ pointer?: boolean | undefined;
50
+ readOnly?: boolean | undefined;
51
+ textOnly?: boolean | undefined;
52
+ focused?: boolean | undefined;
53
+ invalid?: boolean | undefined;
54
+ disabled?: boolean | undefined;
55
+ hasLabel?: boolean | undefined;
56
+ } & import("./types").Width & import("./types").Height & Margin & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
57
+ Wrapper: import("@emotion/styled").StyledComponent<{
58
+ theme?: import("@emotion/react").Theme | undefined;
59
+ as?: import("react").ElementType<any> | undefined;
60
+ } & {
61
+ readOnly?: boolean | undefined;
62
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
63
+ Label: import("@emotion/styled").StyledComponent<{
64
+ theme?: import("@emotion/react").Theme | undefined;
65
+ as?: import("react").ElementType<any> | undefined;
66
+ } & {
67
+ filled?: boolean | undefined;
68
+ focused?: boolean | undefined;
69
+ disabled?: boolean | undefined;
70
+ } & ThemeProp, import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>;
71
+ useInputFocus: (onFocus?: FocusCallBack | undefined, onBlur?: FocusCallBack | undefined, focusCondition?: boolean) => {
72
+ focused: boolean;
73
+ handleFocus: (event?: InputFocusEvent | undefined) => void;
74
+ handleBlur: (event?: InputFocusEvent | undefined) => void;
75
+ };
76
+ isInputFilled: (value: string | number) => boolean;
77
+ };
78
+ export default _default;