@wavv/ui 1.4.2 → 1.5.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 (396) hide show
  1. package/build/cjs/index.js +16 -14
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/{assets → types/assets}/icons/ActivityHistory.d.ts +0 -0
  4. package/build/cjs/{assets → types/assets}/icons/Add.d.ts +0 -0
  5. package/build/cjs/{assets → types/assets}/icons/AddCircle.d.ts +0 -0
  6. package/build/cjs/{assets → types/assets}/icons/AddCircleOutline.d.ts +0 -0
  7. package/build/cjs/{assets → types/assets}/icons/AddPerson.d.ts +0 -0
  8. package/build/cjs/{assets → types/assets}/icons/ArrowDown.d.ts +0 -0
  9. package/build/cjs/{assets → types/assets}/icons/ArrowLeft.d.ts +0 -0
  10. package/build/cjs/{assets → types/assets}/icons/ArrowRight.d.ts +0 -0
  11. package/build/cjs/{assets → types/assets}/icons/ArrowUp.d.ts +0 -0
  12. package/build/cjs/{assets → types/assets}/icons/Attachment.d.ts +0 -0
  13. package/build/cjs/{assets → types/assets}/icons/Calendar.d.ts +0 -0
  14. package/build/cjs/{assets → types/assets}/icons/Camera.d.ts +0 -0
  15. package/build/cjs/{assets → types/assets}/icons/Card.d.ts +0 -0
  16. package/build/cjs/{assets → types/assets}/icons/CaretDown.d.ts +0 -0
  17. package/build/cjs/{assets → types/assets}/icons/CaretUp.d.ts +0 -0
  18. package/build/cjs/{assets → types/assets}/icons/CheckCircle.d.ts +0 -0
  19. package/build/cjs/{assets → types/assets}/icons/CheckCircleOutline.d.ts +0 -0
  20. package/build/cjs/{assets → types/assets}/icons/Checkbox.d.ts +0 -0
  21. package/build/cjs/{assets → types/assets}/icons/CheckboxOff.d.ts +0 -0
  22. package/build/cjs/{assets → types/assets}/icons/CheckboxPartial.d.ts +0 -0
  23. package/build/cjs/{assets → types/assets}/icons/ChevronDown.d.ts +0 -0
  24. package/build/cjs/{assets → types/assets}/icons/ChevronLeft.d.ts +0 -0
  25. package/build/cjs/{assets → types/assets}/icons/ChevronRight.d.ts +0 -0
  26. package/build/cjs/{assets → types/assets}/icons/ChevronUp.d.ts +0 -0
  27. package/build/cjs/{assets → types/assets}/icons/Clapperboard.d.ts +0 -0
  28. package/build/cjs/{assets → types/assets}/icons/ClapperboardOpen.d.ts +0 -0
  29. package/build/cjs/{assets → types/assets}/icons/Close.d.ts +0 -0
  30. package/build/cjs/{assets → types/assets}/icons/CloseCircle.d.ts +0 -0
  31. package/build/cjs/{assets → types/assets}/icons/CloseCircleOutline.d.ts +0 -0
  32. package/build/cjs/{assets → types/assets}/icons/Copy.d.ts +0 -0
  33. package/build/cjs/{assets → types/assets}/icons/Devices.d.ts +0 -0
  34. package/build/cjs/{assets → types/assets}/icons/Dialpad.d.ts +0 -0
  35. package/build/cjs/{assets → types/assets}/icons/DoubleArrowLeft.d.ts +0 -0
  36. package/build/cjs/{assets → types/assets}/icons/DoubleArrowRight.d.ts +0 -0
  37. package/build/cjs/{assets → types/assets}/icons/Download.d.ts +0 -0
  38. package/build/cjs/{assets → types/assets}/icons/Edit.d.ts +0 -0
  39. package/build/cjs/{assets → types/assets}/icons/Emoji.d.ts +0 -0
  40. package/build/cjs/{assets → types/assets}/icons/EyeOff.d.ts +0 -0
  41. package/build/cjs/{assets → types/assets}/icons/EyeOn.d.ts +0 -0
  42. package/build/cjs/{assets → types/assets}/icons/Facebook.d.ts +0 -0
  43. package/build/cjs/{assets → types/assets}/icons/Filter.d.ts +0 -0
  44. package/build/cjs/{assets → types/assets}/icons/Flask.d.ts +0 -0
  45. package/build/cjs/{assets → types/assets}/icons/Group.d.ts +0 -0
  46. package/build/cjs/{assets → types/assets}/icons/Heart.d.ts +0 -0
  47. package/build/cjs/{assets → types/assets}/icons/HeartOutline.d.ts +0 -0
  48. package/build/cjs/{assets → types/assets}/icons/Help.d.ts +0 -0
  49. package/build/cjs/{assets → types/assets}/icons/Hourglass.d.ts +0 -0
  50. package/build/cjs/{assets → types/assets}/icons/Info.d.ts +0 -0
  51. package/build/cjs/{assets → types/assets}/icons/Instagram.d.ts +0 -0
  52. package/build/cjs/{assets → types/assets}/icons/KebabMenu.d.ts +0 -0
  53. package/build/cjs/{assets → types/assets}/icons/Link.d.ts +0 -0
  54. package/build/cjs/{assets → types/assets}/icons/Linkedin.d.ts +0 -0
  55. package/build/cjs/{assets → types/assets}/icons/Loading.d.ts +0 -0
  56. package/build/cjs/{assets → types/assets}/icons/Maximize.d.ts +0 -0
  57. package/build/cjs/{assets → types/assets}/icons/Menu.d.ts +0 -0
  58. package/build/cjs/{assets → types/assets}/icons/MergeField.d.ts +0 -0
  59. package/build/cjs/{assets → types/assets}/icons/Message.d.ts +0 -0
  60. package/build/cjs/{assets → types/assets}/icons/Mic.d.ts +0 -0
  61. package/build/cjs/{assets → types/assets}/icons/MicOff.d.ts +0 -0
  62. package/build/cjs/{assets → types/assets}/icons/Minimize.d.ts +0 -0
  63. package/build/cjs/{assets → types/assets}/icons/Mobile.d.ts +0 -0
  64. package/build/cjs/{assets → types/assets}/icons/NotAllowed.d.ts +0 -0
  65. package/build/cjs/{assets → types/assets}/icons/Open.d.ts +0 -0
  66. package/build/cjs/{assets → types/assets}/icons/Pause.d.ts +0 -0
  67. package/build/cjs/{assets → types/assets}/icons/PauseOutline.d.ts +0 -0
  68. package/build/cjs/{assets → types/assets}/icons/Person.d.ts +0 -0
  69. package/build/cjs/{assets → types/assets}/icons/Phone.d.ts +0 -0
  70. package/build/cjs/{assets → types/assets}/icons/PhoneBlocked.d.ts +0 -0
  71. package/build/cjs/{assets → types/assets}/icons/PhoneEnd.d.ts +0 -0
  72. package/build/cjs/{assets → types/assets}/icons/PhoneHistory.d.ts +0 -0
  73. package/build/cjs/{assets → types/assets}/icons/PhoneTalk.d.ts +0 -0
  74. package/build/cjs/{assets → types/assets}/icons/Play.d.ts +0 -0
  75. package/build/cjs/{assets → types/assets}/icons/PlayOutline.d.ts +0 -0
  76. package/build/cjs/{assets → types/assets}/icons/ProfileUser.d.ts +0 -0
  77. package/build/cjs/{assets → types/assets}/icons/RadioButton.d.ts +0 -0
  78. package/build/cjs/{assets → types/assets}/icons/RadioButtonOff.d.ts +0 -0
  79. package/build/cjs/{assets → types/assets}/icons/Record.d.ts +0 -0
  80. package/build/cjs/{assets → types/assets}/icons/Refresh.d.ts +0 -0
  81. package/build/cjs/{assets → types/assets}/icons/Rocket.d.ts +0 -0
  82. package/build/cjs/{assets → types/assets}/icons/Schedule.d.ts +0 -0
  83. package/build/cjs/{assets → types/assets}/icons/ScheduleOutline.d.ts +0 -0
  84. package/build/cjs/{assets → types/assets}/icons/Search.d.ts +0 -0
  85. package/build/cjs/{assets → types/assets}/icons/Settings.d.ts +0 -0
  86. package/build/cjs/{assets → types/assets}/icons/Share.d.ts +0 -0
  87. package/build/cjs/{assets → types/assets}/icons/Sort.d.ts +0 -0
  88. package/build/cjs/{assets → types/assets}/icons/Spotify.d.ts +0 -0
  89. package/build/cjs/{assets → types/assets}/icons/Star.d.ts +0 -0
  90. package/build/cjs/{assets → types/assets}/icons/StarOutline.d.ts +0 -0
  91. package/build/cjs/{assets → types/assets}/icons/Stop.d.ts +0 -0
  92. package/build/cjs/{assets → types/assets}/icons/StopOutline.d.ts +0 -0
  93. package/build/cjs/{assets → types/assets}/icons/Template.d.ts +0 -0
  94. package/build/cjs/{assets → types/assets}/icons/ToggleOff.d.ts +0 -0
  95. package/build/cjs/{assets → types/assets}/icons/ToggleOn.d.ts +0 -0
  96. package/build/cjs/{assets → types/assets}/icons/Trash.d.ts +0 -0
  97. package/build/cjs/{assets → types/assets}/icons/Twitter.d.ts +0 -0
  98. package/build/cjs/{assets → types/assets}/icons/Upload.d.ts +0 -0
  99. package/build/cjs/{assets → types/assets}/icons/Video.d.ts +0 -0
  100. package/build/cjs/{assets → types/assets}/icons/Voicemail.d.ts +0 -0
  101. package/build/cjs/{assets → types/assets}/icons/VolOn.d.ts +0 -0
  102. package/build/cjs/{assets → types/assets}/icons/Warning.d.ts +0 -0
  103. package/build/cjs/{assets → types/assets}/icons/WarningCircleOutline.d.ts +0 -0
  104. package/build/cjs/{assets → types/assets}/icons/Youtube.d.ts +0 -0
  105. package/build/cjs/types/components/Accordion.d.ts +45 -0
  106. package/build/cjs/types/components/Audio.d.ts +29 -0
  107. package/build/cjs/{components → types/components}/BarChart.d.ts +0 -0
  108. package/build/cjs/{components → types/components}/Button/Button.d.ts +1 -1
  109. package/build/cjs/{components → types/components}/Button/ButtonLoader.d.ts +0 -0
  110. package/build/cjs/{components → types/components}/Button/ButtonTypes.d.ts +0 -0
  111. package/build/cjs/{components → types/components}/Button/Group.d.ts +0 -0
  112. package/build/cjs/{components → types/components}/Button/index.d.ts +0 -0
  113. package/build/cjs/{components → types/components}/Calendar.d.ts +0 -0
  114. package/build/cjs/{components → types/components}/ChartHelpers.d.ts +0 -0
  115. package/build/cjs/{components → types/components}/Checkbox.d.ts +0 -0
  116. package/build/cjs/{components → types/components}/Code/Code.d.ts +0 -0
  117. package/build/cjs/{components → types/components}/Code/Copy.d.ts +0 -0
  118. package/build/cjs/{components → types/components}/Code/Endpoint.d.ts +0 -0
  119. package/build/cjs/{components → types/components}/Code/index.d.ts +0 -0
  120. package/build/cjs/{components → types/components}/DocTable.d.ts +0 -0
  121. package/build/cjs/{components → types/components}/DraftEditor.d.ts +0 -0
  122. package/build/cjs/{components → types/components}/Dropdown/Dropdown.d.ts +0 -0
  123. package/build/cjs/{components → types/components}/Dropdown/DropdownUtils.d.ts +0 -0
  124. package/build/cjs/{components → types/components}/Dropdown/index.d.ts +0 -0
  125. package/build/cjs/types/components/Form.d.ts +173 -0
  126. package/build/cjs/{components → types/components}/FormControl.d.ts +0 -0
  127. package/build/cjs/{components → types/components}/Grid.d.ts +0 -0
  128. package/build/cjs/{components → types/components}/Icon/Icon.d.ts +0 -0
  129. package/build/cjs/{components → types/components}/Icon/icons.d.ts +0 -0
  130. package/build/cjs/{components → types/components}/Icon/index.d.ts +0 -0
  131. package/build/cjs/{components → types/components}/ImageViewer.d.ts +0 -0
  132. package/build/cjs/{components → types/components}/InlineCode.d.ts +0 -0
  133. package/build/cjs/types/components/Input.d.ts +192 -0
  134. package/build/cjs/{components → types/components}/InputHelpers.d.ts +0 -0
  135. package/build/cjs/{components → types/components}/Label.d.ts +0 -0
  136. package/build/cjs/{components → types/components}/Menu.d.ts +0 -0
  137. package/build/cjs/{components → types/components}/Message.d.ts +0 -0
  138. package/build/cjs/{components → types/components}/MessageHr.d.ts +0 -0
  139. package/build/cjs/{components → types/components}/Modal.d.ts +0 -0
  140. package/build/cjs/{components → types/components}/MultiSelect.d.ts +0 -0
  141. package/build/cjs/{components → types/components}/Notification.d.ts +1 -1
  142. package/build/cjs/{components → types/components}/Options.d.ts +0 -0
  143. package/build/cjs/{components → types/components}/Pagination.d.ts +0 -0
  144. package/build/cjs/{components → types/components}/PieChart.d.ts +0 -0
  145. package/build/cjs/{components → types/components}/Progress/CirclePercent.d.ts +0 -0
  146. package/build/cjs/{components → types/components}/Progress/Progress.d.ts +0 -0
  147. package/build/cjs/{components → types/components}/Progress/index.d.ts +0 -0
  148. package/build/cjs/{components → types/components}/Radio.d.ts +0 -0
  149. package/build/cjs/{components → types/components}/Slider.d.ts +0 -0
  150. package/build/cjs/{components → types/components}/Spacer.d.ts +0 -0
  151. package/build/cjs/{components → types/components}/Spinner.d.ts +0 -0
  152. package/build/cjs/{components → types/components}/Table/Body.d.ts +0 -0
  153. package/build/cjs/{components → types/components}/Table/Column.d.ts +0 -0
  154. package/build/cjs/{components → types/components}/Table/Content.d.ts +0 -0
  155. package/build/cjs/{components → types/components}/Table/Header.d.ts +0 -0
  156. package/build/cjs/{components → types/components}/Table/HeaderCell.d.ts +0 -0
  157. package/build/cjs/{components → types/components}/Table/Row.d.ts +0 -0
  158. package/build/cjs/{components → types/components}/Table/Table.d.ts +0 -0
  159. package/build/cjs/{components → types/components}/Table/context.d.ts +0 -0
  160. package/build/cjs/{components → types/components}/Table/index.d.ts +0 -0
  161. package/build/cjs/{components → types/components}/Table/types.d.ts +0 -0
  162. package/build/cjs/{components → types/components}/Table/utils.d.ts +0 -0
  163. package/build/cjs/{components → types/components}/Toggle.d.ts +0 -0
  164. package/build/cjs/{components → types/components}/Tooltip.d.ts +0 -0
  165. package/build/cjs/{components → types/components}/TransferList.d.ts +0 -0
  166. package/build/cjs/{components → types/components}/draftUtils.d.ts +0 -0
  167. package/build/cjs/{components → types/components}/helpers/getIcon.d.ts +0 -0
  168. package/build/cjs/{components → types/components}/types.d.ts +0 -0
  169. package/build/cjs/{global-styles → types/global-styles}/ResetStyles.d.ts +0 -0
  170. package/build/cjs/{global-styles → types/global-styles}/ScrollbarStyles.d.ts +0 -0
  171. package/build/cjs/{global-styles → types/global-styles}/ToastStyles.d.ts +0 -0
  172. package/build/cjs/{global-styles → types/global-styles}/index.d.ts +0 -0
  173. package/build/cjs/{hooks → types/hooks}/index.d.ts +1 -0
  174. package/build/cjs/{hooks → types/hooks}/useConfirm.d.ts +0 -0
  175. package/build/cjs/types/hooks/useElementObserver.d.ts +8 -0
  176. package/build/cjs/{hooks → types/hooks}/useEventListener.d.ts +0 -0
  177. package/build/cjs/{hooks → types/hooks}/useOnClickOutside.d.ts +0 -0
  178. package/build/cjs/{hooks → types/hooks}/useSelect.d.ts +0 -0
  179. package/build/cjs/{hooks → types/hooks}/useSelectAll.d.ts +0 -0
  180. package/build/cjs/{hooks → types/hooks}/useWindowSize.d.ts +0 -0
  181. package/build/{esm → cjs/types}/index.d.ts +2 -0
  182. package/build/cjs/{theme → types/theme}/ThemeTypes.d.ts +0 -0
  183. package/build/cjs/{theme → types/theme}/colors.d.ts +0 -0
  184. package/build/cjs/{theme → types/theme}/common/button.d.ts +0 -0
  185. package/build/cjs/{theme → types/theme}/common/common.d.ts +0 -0
  186. package/build/cjs/{theme → types/theme}/common/index.d.ts +0 -0
  187. package/build/cjs/{theme → types/theme}/dark.d.ts +0 -0
  188. package/build/cjs/{theme → types/theme}/index.d.ts +0 -0
  189. package/build/cjs/{theme → types/theme}/light.d.ts +0 -0
  190. package/build/cjs/{utils → types/utils}/chunk.d.ts +0 -0
  191. package/build/cjs/{utils → types/utils}/copyToClipboard.d.ts +0 -0
  192. package/build/cjs/{utils → types/utils}/formatDate.d.ts +0 -0
  193. package/build/cjs/{utils → types/utils}/index.d.ts +0 -0
  194. package/build/cjs/{utils → types/utils}/range.d.ts +0 -0
  195. package/build/esm/index.js +16 -14
  196. package/build/esm/index.js.map +1 -1
  197. package/build/esm/{assets → types/assets}/icons/ActivityHistory.d.ts +0 -0
  198. package/build/esm/{assets → types/assets}/icons/Add.d.ts +0 -0
  199. package/build/esm/{assets → types/assets}/icons/AddCircle.d.ts +0 -0
  200. package/build/esm/{assets → types/assets}/icons/AddCircleOutline.d.ts +0 -0
  201. package/build/esm/{assets → types/assets}/icons/AddPerson.d.ts +0 -0
  202. package/build/esm/{assets → types/assets}/icons/ArrowDown.d.ts +0 -0
  203. package/build/esm/{assets → types/assets}/icons/ArrowLeft.d.ts +0 -0
  204. package/build/esm/{assets → types/assets}/icons/ArrowRight.d.ts +0 -0
  205. package/build/esm/{assets → types/assets}/icons/ArrowUp.d.ts +0 -0
  206. package/build/esm/{assets → types/assets}/icons/Attachment.d.ts +0 -0
  207. package/build/esm/{assets → types/assets}/icons/Calendar.d.ts +0 -0
  208. package/build/esm/{assets → types/assets}/icons/Camera.d.ts +0 -0
  209. package/build/esm/{assets → types/assets}/icons/Card.d.ts +0 -0
  210. package/build/esm/{assets → types/assets}/icons/CaretDown.d.ts +0 -0
  211. package/build/esm/{assets → types/assets}/icons/CaretUp.d.ts +0 -0
  212. package/build/esm/{assets → types/assets}/icons/CheckCircle.d.ts +0 -0
  213. package/build/esm/{assets → types/assets}/icons/CheckCircleOutline.d.ts +0 -0
  214. package/build/esm/{assets → types/assets}/icons/Checkbox.d.ts +0 -0
  215. package/build/esm/{assets → types/assets}/icons/CheckboxOff.d.ts +0 -0
  216. package/build/esm/{assets → types/assets}/icons/CheckboxPartial.d.ts +0 -0
  217. package/build/esm/{assets → types/assets}/icons/ChevronDown.d.ts +0 -0
  218. package/build/esm/{assets → types/assets}/icons/ChevronLeft.d.ts +0 -0
  219. package/build/esm/{assets → types/assets}/icons/ChevronRight.d.ts +0 -0
  220. package/build/esm/{assets → types/assets}/icons/ChevronUp.d.ts +0 -0
  221. package/build/esm/{assets → types/assets}/icons/Clapperboard.d.ts +0 -0
  222. package/build/esm/{assets → types/assets}/icons/ClapperboardOpen.d.ts +0 -0
  223. package/build/esm/{assets → types/assets}/icons/Close.d.ts +0 -0
  224. package/build/esm/{assets → types/assets}/icons/CloseCircle.d.ts +0 -0
  225. package/build/esm/{assets → types/assets}/icons/CloseCircleOutline.d.ts +0 -0
  226. package/build/esm/{assets → types/assets}/icons/Copy.d.ts +0 -0
  227. package/build/esm/{assets → types/assets}/icons/Devices.d.ts +0 -0
  228. package/build/esm/{assets → types/assets}/icons/Dialpad.d.ts +0 -0
  229. package/build/esm/{assets → types/assets}/icons/DoubleArrowLeft.d.ts +0 -0
  230. package/build/esm/{assets → types/assets}/icons/DoubleArrowRight.d.ts +0 -0
  231. package/build/esm/{assets → types/assets}/icons/Download.d.ts +0 -0
  232. package/build/esm/{assets → types/assets}/icons/Edit.d.ts +0 -0
  233. package/build/esm/{assets → types/assets}/icons/Emoji.d.ts +0 -0
  234. package/build/esm/{assets → types/assets}/icons/EyeOff.d.ts +0 -0
  235. package/build/esm/{assets → types/assets}/icons/EyeOn.d.ts +0 -0
  236. package/build/esm/{assets → types/assets}/icons/Facebook.d.ts +0 -0
  237. package/build/esm/{assets → types/assets}/icons/Filter.d.ts +0 -0
  238. package/build/esm/{assets → types/assets}/icons/Flask.d.ts +0 -0
  239. package/build/esm/{assets → types/assets}/icons/Group.d.ts +0 -0
  240. package/build/esm/{assets → types/assets}/icons/Heart.d.ts +0 -0
  241. package/build/esm/{assets → types/assets}/icons/HeartOutline.d.ts +0 -0
  242. package/build/esm/{assets → types/assets}/icons/Help.d.ts +0 -0
  243. package/build/esm/{assets → types/assets}/icons/Hourglass.d.ts +0 -0
  244. package/build/esm/{assets → types/assets}/icons/Info.d.ts +0 -0
  245. package/build/esm/{assets → types/assets}/icons/Instagram.d.ts +0 -0
  246. package/build/esm/{assets → types/assets}/icons/KebabMenu.d.ts +0 -0
  247. package/build/esm/{assets → types/assets}/icons/Link.d.ts +0 -0
  248. package/build/esm/{assets → types/assets}/icons/Linkedin.d.ts +0 -0
  249. package/build/esm/{assets → types/assets}/icons/Loading.d.ts +0 -0
  250. package/build/esm/{assets → types/assets}/icons/Maximize.d.ts +0 -0
  251. package/build/esm/{assets → types/assets}/icons/Menu.d.ts +0 -0
  252. package/build/esm/{assets → types/assets}/icons/MergeField.d.ts +0 -0
  253. package/build/esm/{assets → types/assets}/icons/Message.d.ts +0 -0
  254. package/build/esm/{assets → types/assets}/icons/Mic.d.ts +0 -0
  255. package/build/esm/{assets → types/assets}/icons/MicOff.d.ts +0 -0
  256. package/build/esm/{assets → types/assets}/icons/Minimize.d.ts +0 -0
  257. package/build/esm/{assets → types/assets}/icons/Mobile.d.ts +0 -0
  258. package/build/esm/{assets → types/assets}/icons/NotAllowed.d.ts +0 -0
  259. package/build/esm/{assets → types/assets}/icons/Open.d.ts +0 -0
  260. package/build/esm/{assets → types/assets}/icons/Pause.d.ts +0 -0
  261. package/build/esm/{assets → types/assets}/icons/PauseOutline.d.ts +0 -0
  262. package/build/esm/{assets → types/assets}/icons/Person.d.ts +0 -0
  263. package/build/esm/{assets → types/assets}/icons/Phone.d.ts +0 -0
  264. package/build/esm/{assets → types/assets}/icons/PhoneBlocked.d.ts +0 -0
  265. package/build/esm/{assets → types/assets}/icons/PhoneEnd.d.ts +0 -0
  266. package/build/esm/{assets → types/assets}/icons/PhoneHistory.d.ts +0 -0
  267. package/build/esm/{assets → types/assets}/icons/PhoneTalk.d.ts +0 -0
  268. package/build/esm/{assets → types/assets}/icons/Play.d.ts +0 -0
  269. package/build/esm/{assets → types/assets}/icons/PlayOutline.d.ts +0 -0
  270. package/build/esm/{assets → types/assets}/icons/ProfileUser.d.ts +0 -0
  271. package/build/esm/{assets → types/assets}/icons/RadioButton.d.ts +0 -0
  272. package/build/esm/{assets → types/assets}/icons/RadioButtonOff.d.ts +0 -0
  273. package/build/esm/{assets → types/assets}/icons/Record.d.ts +0 -0
  274. package/build/esm/{assets → types/assets}/icons/Refresh.d.ts +0 -0
  275. package/build/esm/{assets → types/assets}/icons/Rocket.d.ts +0 -0
  276. package/build/esm/{assets → types/assets}/icons/Schedule.d.ts +0 -0
  277. package/build/esm/{assets → types/assets}/icons/ScheduleOutline.d.ts +0 -0
  278. package/build/esm/{assets → types/assets}/icons/Search.d.ts +0 -0
  279. package/build/esm/{assets → types/assets}/icons/Settings.d.ts +0 -0
  280. package/build/esm/{assets → types/assets}/icons/Share.d.ts +0 -0
  281. package/build/esm/{assets → types/assets}/icons/Sort.d.ts +0 -0
  282. package/build/esm/{assets → types/assets}/icons/Spotify.d.ts +0 -0
  283. package/build/esm/{assets → types/assets}/icons/Star.d.ts +0 -0
  284. package/build/esm/{assets → types/assets}/icons/StarOutline.d.ts +0 -0
  285. package/build/esm/{assets → types/assets}/icons/Stop.d.ts +0 -0
  286. package/build/esm/{assets → types/assets}/icons/StopOutline.d.ts +0 -0
  287. package/build/esm/{assets → types/assets}/icons/Template.d.ts +0 -0
  288. package/build/esm/{assets → types/assets}/icons/ToggleOff.d.ts +0 -0
  289. package/build/esm/{assets → types/assets}/icons/ToggleOn.d.ts +0 -0
  290. package/build/esm/{assets → types/assets}/icons/Trash.d.ts +0 -0
  291. package/build/esm/{assets → types/assets}/icons/Twitter.d.ts +0 -0
  292. package/build/esm/{assets → types/assets}/icons/Upload.d.ts +0 -0
  293. package/build/esm/{assets → types/assets}/icons/Video.d.ts +0 -0
  294. package/build/esm/{assets → types/assets}/icons/Voicemail.d.ts +0 -0
  295. package/build/esm/{assets → types/assets}/icons/VolOn.d.ts +0 -0
  296. package/build/esm/{assets → types/assets}/icons/Warning.d.ts +0 -0
  297. package/build/esm/{assets → types/assets}/icons/WarningCircleOutline.d.ts +0 -0
  298. package/build/esm/{assets → types/assets}/icons/Youtube.d.ts +0 -0
  299. package/build/esm/types/components/Accordion.d.ts +45 -0
  300. package/build/esm/types/components/Audio.d.ts +29 -0
  301. package/build/esm/{components → types/components}/BarChart.d.ts +0 -0
  302. package/build/esm/{components → types/components}/Button/Button.d.ts +1 -1
  303. package/build/esm/{components → types/components}/Button/ButtonLoader.d.ts +0 -0
  304. package/build/esm/{components → types/components}/Button/ButtonTypes.d.ts +0 -0
  305. package/build/esm/{components → types/components}/Button/Group.d.ts +0 -0
  306. package/build/esm/{components → types/components}/Button/index.d.ts +0 -0
  307. package/build/esm/{components → types/components}/Calendar.d.ts +0 -0
  308. package/build/esm/{components → types/components}/ChartHelpers.d.ts +0 -0
  309. package/build/esm/{components → types/components}/Checkbox.d.ts +0 -0
  310. package/build/esm/{components → types/components}/Code/Code.d.ts +0 -0
  311. package/build/esm/{components → types/components}/Code/Copy.d.ts +0 -0
  312. package/build/esm/{components → types/components}/Code/Endpoint.d.ts +0 -0
  313. package/build/esm/{components → types/components}/Code/index.d.ts +0 -0
  314. package/build/esm/{components → types/components}/DocTable.d.ts +0 -0
  315. package/build/esm/{components → types/components}/DraftEditor.d.ts +0 -0
  316. package/build/esm/{components → types/components}/Dropdown/Dropdown.d.ts +0 -0
  317. package/build/esm/{components → types/components}/Dropdown/DropdownUtils.d.ts +0 -0
  318. package/build/esm/{components → types/components}/Dropdown/index.d.ts +0 -0
  319. package/build/esm/types/components/Form.d.ts +173 -0
  320. package/build/esm/{components → types/components}/FormControl.d.ts +0 -0
  321. package/build/esm/{components → types/components}/Grid.d.ts +0 -0
  322. package/build/esm/{components → types/components}/Icon/Icon.d.ts +0 -0
  323. package/build/esm/{components → types/components}/Icon/icons.d.ts +0 -0
  324. package/build/esm/{components → types/components}/Icon/index.d.ts +0 -0
  325. package/build/esm/{components → types/components}/ImageViewer.d.ts +0 -0
  326. package/build/esm/{components → types/components}/InlineCode.d.ts +0 -0
  327. package/build/esm/types/components/Input.d.ts +192 -0
  328. package/build/esm/{components → types/components}/InputHelpers.d.ts +0 -0
  329. package/build/esm/{components → types/components}/Label.d.ts +0 -0
  330. package/build/esm/{components → types/components}/Menu.d.ts +0 -0
  331. package/build/esm/{components → types/components}/Message.d.ts +0 -0
  332. package/build/esm/{components → types/components}/MessageHr.d.ts +0 -0
  333. package/build/esm/{components → types/components}/Modal.d.ts +0 -0
  334. package/build/esm/{components → types/components}/MultiSelect.d.ts +0 -0
  335. package/build/esm/{components → types/components}/Notification.d.ts +1 -1
  336. package/build/esm/{components → types/components}/Options.d.ts +0 -0
  337. package/build/esm/{components → types/components}/Pagination.d.ts +0 -0
  338. package/build/esm/{components → types/components}/PieChart.d.ts +0 -0
  339. package/build/esm/{components → types/components}/Progress/CirclePercent.d.ts +0 -0
  340. package/build/esm/{components → types/components}/Progress/Progress.d.ts +0 -0
  341. package/build/esm/{components → types/components}/Progress/index.d.ts +0 -0
  342. package/build/esm/{components → types/components}/Radio.d.ts +0 -0
  343. package/build/esm/{components → types/components}/Slider.d.ts +0 -0
  344. package/build/esm/{components → types/components}/Spacer.d.ts +0 -0
  345. package/build/esm/{components → types/components}/Spinner.d.ts +0 -0
  346. package/build/esm/{components → types/components}/Table/Body.d.ts +0 -0
  347. package/build/esm/{components → types/components}/Table/Column.d.ts +0 -0
  348. package/build/esm/{components → types/components}/Table/Content.d.ts +0 -0
  349. package/build/esm/{components → types/components}/Table/Header.d.ts +0 -0
  350. package/build/esm/{components → types/components}/Table/HeaderCell.d.ts +0 -0
  351. package/build/esm/{components → types/components}/Table/Row.d.ts +0 -0
  352. package/build/esm/{components → types/components}/Table/Table.d.ts +0 -0
  353. package/build/esm/{components → types/components}/Table/context.d.ts +0 -0
  354. package/build/esm/{components → types/components}/Table/index.d.ts +0 -0
  355. package/build/esm/{components → types/components}/Table/types.d.ts +0 -0
  356. package/build/esm/{components → types/components}/Table/utils.d.ts +0 -0
  357. package/build/esm/{components → types/components}/Toggle.d.ts +0 -0
  358. package/build/esm/{components → types/components}/Tooltip.d.ts +0 -0
  359. package/build/esm/{components → types/components}/TransferList.d.ts +0 -0
  360. package/build/esm/{components → types/components}/draftUtils.d.ts +0 -0
  361. package/build/esm/{components → types/components}/helpers/getIcon.d.ts +0 -0
  362. package/build/esm/{components → types/components}/types.d.ts +0 -0
  363. package/build/esm/{global-styles → types/global-styles}/ResetStyles.d.ts +0 -0
  364. package/build/esm/{global-styles → types/global-styles}/ScrollbarStyles.d.ts +0 -0
  365. package/build/esm/{global-styles → types/global-styles}/ToastStyles.d.ts +0 -0
  366. package/build/esm/{global-styles → types/global-styles}/index.d.ts +0 -0
  367. package/build/esm/{hooks → types/hooks}/index.d.ts +1 -0
  368. package/build/esm/{hooks → types/hooks}/useConfirm.d.ts +0 -0
  369. package/build/esm/types/hooks/useElementObserver.d.ts +8 -0
  370. package/build/esm/{hooks → types/hooks}/useEventListener.d.ts +0 -0
  371. package/build/esm/{hooks → types/hooks}/useOnClickOutside.d.ts +0 -0
  372. package/build/esm/{hooks → types/hooks}/useSelect.d.ts +0 -0
  373. package/build/esm/{hooks → types/hooks}/useSelectAll.d.ts +0 -0
  374. package/build/esm/{hooks → types/hooks}/useWindowSize.d.ts +0 -0
  375. package/build/{cjs → esm/types}/index.d.ts +2 -0
  376. package/build/esm/{theme → types/theme}/ThemeTypes.d.ts +0 -0
  377. package/build/esm/{theme → types/theme}/colors.d.ts +0 -0
  378. package/build/esm/{theme → types/theme}/common/button.d.ts +0 -0
  379. package/build/esm/{theme → types/theme}/common/common.d.ts +0 -0
  380. package/build/esm/{theme → types/theme}/common/index.d.ts +0 -0
  381. package/build/esm/{theme → types/theme}/dark.d.ts +0 -0
  382. package/build/esm/{theme → types/theme}/index.d.ts +0 -0
  383. package/build/esm/{theme → types/theme}/light.d.ts +0 -0
  384. package/build/esm/{utils → types/utils}/chunk.d.ts +0 -0
  385. package/build/esm/{utils → types/utils}/copyToClipboard.d.ts +0 -0
  386. package/build/esm/{utils → types/utils}/formatDate.d.ts +0 -0
  387. package/build/esm/{utils → types/utils}/index.d.ts +0 -0
  388. package/build/esm/{utils → types/utils}/range.d.ts +0 -0
  389. package/build/index.d.ts +60 -10
  390. package/package.json +37 -35
  391. package/build/cjs/components/Audio.d.ts +0 -29
  392. package/build/cjs/components/Form.d.ts +0 -173
  393. package/build/cjs/components/Input.d.ts +0 -192
  394. package/build/esm/components/Audio.d.ts +0 -29
  395. package/build/esm/components/Form.d.ts +0 -173
  396. package/build/esm/components/Input.d.ts +0 -192
@@ -1,173 +0,0 @@
1
- import { FormEvent, HTMLProps, ReactNode } from 'react';
2
- import { GridProps } from './Grid';
3
- type FormProps = {
4
- children?: ReactNode;
5
- /** The function to be run after the form is submitted */
6
- onSubmit?: (event: FormEvent) => void;
7
- } & GridProps & HTMLProps<HTMLFormElement>;
8
- declare const Form: {
9
- ({ children, rows, columns, rowGap, columnGap, onSubmit, ...rest }: FormProps): JSX.Element;
10
- Group({ children, rows, columns, rowGap, columnGap, disabled, ...rest }: FormGroupProps): JSX.Element;
11
- Field({ children, inline, align, disabled }: FieldProps & {
12
- children?: ReactNode;
13
- }): JSX.Element;
14
- Input: import("react").ForwardRefExoticComponent<(Pick<{
15
- id?: string | undefined;
16
- label?: string | undefined;
17
- placeholder?: string | undefined;
18
- placeholderColor?: string | undefined;
19
- description?: string | undefined;
20
- isLoading?: boolean | undefined;
21
- iconLeft?: import("./helpers/getIcon").IconType | undefined;
22
- iconRight?: import("./helpers/getIcon").IconType | undefined;
23
- invalid?: boolean | undefined;
24
- borderless?: boolean | undefined;
25
- borderRadius?: string | number | undefined;
26
- borderColor?: string | undefined;
27
- backgroundColor?: string | undefined;
28
- fontSize?: string | number | undefined;
29
- width?: string | number | undefined;
30
- height?: string | number | undefined;
31
- containerRef?: import("react").MutableRefObject<HTMLDivElement> | undefined;
32
- value?: string | number | undefined;
33
- disabled?: boolean | undefined;
34
- readOnly?: boolean | undefined;
35
- preventFocus?: boolean | undefined;
36
- pointer?: boolean | undefined;
37
- textOnly?: boolean | undefined;
38
- search?: boolean | undefined;
39
- onFocus?: ((event?: import("./types").InputFocusEvent | undefined) => void) | undefined;
40
- onBlur?: ((event?: import("./types").InputFocusEvent | undefined) => void) | undefined;
41
- onClick?: ((event?: import("react").MouseEvent<Element, MouseEvent> | undefined) => void) | undefined;
42
- onClear?: (() => void) | undefined;
43
- } & Omit<HTMLProps<HTMLInputElement>, "as" | "onChange"> & import("./types").As & {
44
- phone?: undefined;
45
- onChange?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
46
- } & import("./types").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" | "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" | "nonce" | "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" | "onResize" | "onResizeCapture" | "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 import("./types").Margin | "placeholderColor" | "description" | "isLoading" | "iconLeft" | "iconRight" | "containerRef" | "preventFocus" | "onClear" | keyof {
47
- phone?: undefined;
48
- onChange?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
49
- }> | Pick<{
50
- id?: string | undefined;
51
- label?: string | undefined;
52
- placeholder?: string | undefined;
53
- placeholderColor?: string | undefined;
54
- description?: string | undefined;
55
- isLoading?: boolean | undefined;
56
- iconLeft?: import("./helpers/getIcon").IconType | undefined;
57
- iconRight?: import("./helpers/getIcon").IconType | undefined;
58
- invalid?: boolean | undefined;
59
- borderless?: boolean | undefined;
60
- borderRadius?: string | number | undefined;
61
- borderColor?: string | undefined;
62
- backgroundColor?: string | undefined;
63
- fontSize?: string | number | undefined;
64
- width?: string | number | undefined;
65
- height?: string | number | undefined;
66
- containerRef?: import("react").MutableRefObject<HTMLDivElement> | undefined;
67
- value?: string | number | undefined;
68
- disabled?: boolean | undefined;
69
- readOnly?: boolean | undefined;
70
- preventFocus?: boolean | undefined;
71
- pointer?: boolean | undefined;
72
- textOnly?: boolean | undefined;
73
- search?: boolean | undefined;
74
- onFocus?: ((event?: import("./types").InputFocusEvent | undefined) => void) | undefined;
75
- onBlur?: ((event?: import("./types").InputFocusEvent | undefined) => void) | undefined;
76
- onClick?: ((event?: import("react").MouseEvent<Element, MouseEvent> | undefined) => void) | undefined;
77
- onClear?: (() => void) | undefined;
78
- } & Omit<HTMLProps<HTMLInputElement>, "as" | "onChange"> & import("./types").As & {
79
- phone: true;
80
- onChange?: ((event: import("react").ChangeEvent<HTMLInputElement>, formatted: string, raw: string) => void) | undefined;
81
- } & import("./types").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" | "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" | "nonce" | "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" | "onResize" | "onResizeCapture" | "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 import("./types").Margin | "placeholderColor" | "description" | "isLoading" | "iconLeft" | "iconRight" | "containerRef" | "preventFocus" | "onClear" | keyof {
82
- phone: true;
83
- onChange?: ((event: import("react").ChangeEvent<HTMLInputElement>, formatted: string, raw: string) => void) | undefined;
84
- }>) & import("react").RefAttributes<import("./types").InputRef>>;
85
- Dropdown: {
86
- <OptionType extends import("./Dropdown").DropdownOption>({ 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 }: {
87
- children?: ReactNode;
88
- onChange?: ((item: OptionType | null) => void) | undefined;
89
- /** Disables pointer events and reduces the opacity of the Group's contents */
90
- onTextChange?: ((text: string) => void) | undefined;
91
- value?: string | number | undefined;
92
- afterShow?: (() => void) | undefined;
93
- afterHide?: (() => void) | undefined;
94
- onFocus?: ((event?: import("./types").InputFocusEvent | undefined) => void) | undefined;
95
- onBlur?: ((event?: import("./types").InputFocusEvent | undefined) => void) | undefined;
96
- onError?: ((invalid: boolean) => void) | undefined;
97
- placeholder?: string | undefined;
98
- placeholderColor?: string | undefined;
99
- options?: OptionType[] | undefined;
100
- borderless?: boolean | undefined;
101
- borderColor?: string | undefined;
102
- backgroundColor?: string | undefined;
103
- hideIcon?: boolean | undefined;
104
- isLoading?: boolean | undefined;
105
- clearOnSelect?: boolean | undefined;
106
- filter?: boolean | undefined;
107
- textOnly?: boolean | undefined;
108
- label?: string | undefined;
109
- id?: string | undefined;
110
- name?: string | undefined;
111
- trigger?: ReactNode;
112
- centerY?: boolean | undefined;
113
- centerX?: boolean | undefined;
114
- offsetY?: number | undefined;
115
- offsetX?: number | undefined;
116
- direction?: "bottom" | "left" | "right" | "top" | undefined;
117
- fontSize?: string | number | undefined;
118
- description?: string | undefined;
119
- disabled?: boolean | undefined;
120
- invalid?: boolean | undefined;
121
- search?: boolean | undefined;
122
- restrictInput?: boolean | ((text: string) => boolean) | undefined;
123
- inputRef?: import("react").RefObject<import("./types").InputRef> | undefined;
124
- optionsParent?: string | undefined;
125
- } & import("./types").Width & import("./types").Height & import("./types").Margin & import("./Dropdown").InputProps): JSX.Element;
126
- Item<OptionType_1 extends import("./Dropdown").DropdownOption>({ value, displayText, setValue, close, children, contentPosition, color, accented, onClick, id, }: import("./Dropdown/DropdownUtils").DropdownItemProps<OptionType_1>): JSX.Element;
127
- };
128
- Radio: ({ id, label, labelPosition, checked, disabled, margin, marginTop, marginBottom, marginRight, marginLeft, ...props }: {
129
- id?: string | undefined;
130
- label?: string | undefined;
131
- labelPosition?: "left" | "right" | undefined;
132
- disabled?: boolean | undefined;
133
- checked?: boolean | undefined;
134
- } & import("./types").Margin & import("./types").As & HTMLProps<HTMLInputElement>) => JSX.Element;
135
- Toggle: ({ id, label, labelPosition, checked, disabled, onChange, margin, marginTop, marginBottom, marginRight, marginLeft, ...props }: {
136
- id?: string | undefined;
137
- label?: string | undefined;
138
- labelPosition?: "left" | "right" | undefined;
139
- disabled?: boolean | undefined;
140
- checked?: boolean | undefined;
141
- onChange: (val: boolean) => void;
142
- } & import("./types").Margin & import("./types").As & import("./FormControl").CheckboxAttributes) => JSX.Element;
143
- Checkbox: ({ id, label, labelPosition, checked, partial, disabled, onChange, margin, marginTop, marginBottom, marginRight, marginLeft, ...props }: {
144
- id?: string | undefined;
145
- label?: string | undefined;
146
- labelPosition?: "left" | "right" | undefined;
147
- disabled?: boolean | undefined;
148
- checked?: boolean | undefined;
149
- partial?: boolean | undefined;
150
- onChange: (val: boolean) => void;
151
- } & import("./types").Margin & import("./types").As & import("./FormControl").CheckboxAttributes) => JSX.Element;
152
- Label: ({ children, iconLeft, iconRight, disabled, pill, ...rest }: {
153
- children?: ReactNode;
154
- iconLeft?: import("./helpers/getIcon").IconType | undefined;
155
- iconRight?: import("./helpers/getIcon").IconType | undefined;
156
- pill?: boolean | undefined;
157
- disabled?: boolean | undefined;
158
- } & import("./types").Margin) => JSX.Element;
159
- };
160
- type FormGroupProps = {
161
- /** Disables pointer events and reduces the opacity of the Group's contents */
162
- disabled?: boolean;
163
- children?: ReactNode;
164
- } & GridProps;
165
- type FieldProps = {
166
- /** Sets the flexDirection of the Field to 'row' instead of 'column' */
167
- inline?: boolean;
168
- /** Sets the vertical alignment of the Field's contents */
169
- align?: 'top' | 'bottom' | 'center';
170
- /** Disables pointer events and reduces the opacity of the Field's contents */
171
- disabled?: boolean;
172
- };
173
- export default Form;
@@ -1,192 +0,0 @@
1
- import { ChangeEvent, MutableRefObject, MouseEvent, HTMLProps } from 'react';
2
- import { As, InputFocusEvent, InputRef, Margin } from './types';
3
- import { IconType } from './helpers/getIcon';
4
- type OnClear = () => void;
5
- type OnChangeDefault = (event: ChangeEvent<HTMLInputElement>) => void;
6
- type OnChangePhone = (event: ChangeEvent<HTMLInputElement>, formatted: string, raw: string) => void;
7
- 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
- type Phone = {
14
- phone: true;
15
- onChange?: OnChangePhone;
16
- };
17
- type InputTypes = Default | Phone;
18
- type DefaultInputProps = Omit<HTMLProps<HTMLInputElement>, 'onChange' | 'as'> & As;
19
- export 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 | undefined;
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" | "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" | "nonce" | "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" | "onResize" | "onResizeCapture" | "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 | undefined;
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" | "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" | "nonce" | "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" | "onResize" | "onResizeCapture" | "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;
@@ -1,29 +0,0 @@
1
- import { ChangeEvent, HTMLProps } from 'react';
2
- import { Margin, Width, As, AudioRef } from './types';
3
- type AudioProps = {
4
- /** The filepath of the audio source */
5
- src: string;
6
- /** The title of the audio source to be displayed */
7
- title?: string;
8
- /** Sets the position of the display info in relation to the duration slider */
9
- infoPosition?: 'top' | 'bottom';
10
- /** Center aligns the slider and info elements with the button */
11
- centerAlignContent?: boolean;
12
- /** Hides the slider control while not playing */
13
- hideSliderOnStop?: boolean;
14
- /** Hides the time display while not playing */
15
- hideTimeOnStop?: boolean;
16
- /** Reduces the size of the Audio play button */
17
- small?: boolean;
18
- /** Hides the duration slider */
19
- collapsed?: boolean;
20
- /** Font size of the audio title */
21
- fontSizeTitle?: number | string;
22
- /** Font size of the audio time */
23
- fontSizeTime?: number | string;
24
- onPlay?: (event: ChangeEvent<HTMLAudioElement>) => void;
25
- onPause?: (event: ChangeEvent<HTMLAudioElement>) => void;
26
- onStop?: (event: ChangeEvent<HTMLAudioElement>) => void;
27
- } & Margin & Width & As & HTMLProps<HTMLDivElement>;
28
- declare const Audio: import("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" | "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" | "nonce" | "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" | "onResize" | "onResizeCapture" | "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"> & import("react").RefAttributes<AudioRef>>;
29
- export default Audio;