@wistia/vhs 2.77.2-beta.f3f7a1cb.387bd4d → 2.77.2

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 (890) hide show
  1. package/dist/@types/vhs-theme.d.ts +212 -0
  2. package/dist/@types/vhs-theme.d.ts.map +1 -0
  3. package/dist/components/ActionModal/ActionModal.d.ts +99 -0
  4. package/dist/components/ActionModal/ActionModal.d.ts.map +1 -0
  5. package/dist/components/ActionModal/getModalBackgroundGradient.d.ts +2 -0
  6. package/dist/components/ActionModal/getModalBackgroundGradient.d.ts.map +1 -0
  7. package/dist/components/ActionModal/index.d.ts +3 -0
  8. package/dist/components/ActionModal/index.d.ts.map +1 -0
  9. package/dist/components/Avatar/Avatar.d.ts +31 -0
  10. package/dist/components/Avatar/Avatar.d.ts.map +1 -0
  11. package/dist/components/Avatar/formatInitialsForDisplay.d.ts +2 -0
  12. package/dist/components/Avatar/formatInitialsForDisplay.d.ts.map +1 -0
  13. package/dist/components/Avatar/generateContactAvatarColors.d.ts +14 -0
  14. package/dist/components/Avatar/generateContactAvatarColors.d.ts.map +1 -0
  15. package/dist/components/Avatar/index.d.ts +3 -0
  16. package/dist/components/Avatar/index.d.ts.map +1 -0
  17. package/dist/components/Backdrop/Backdrop.d.ts +47 -0
  18. package/dist/components/Backdrop/Backdrop.d.ts.map +1 -0
  19. package/dist/components/Backdrop/index.d.ts +3 -0
  20. package/dist/components/Backdrop/index.d.ts.map +1 -0
  21. package/dist/components/BackgroundImage/BackgroundImage.d.ts +71 -0
  22. package/dist/components/BackgroundImage/BackgroundImage.d.ts.map +1 -0
  23. package/dist/components/BackgroundImage/index.d.ts +3 -0
  24. package/dist/components/BackgroundImage/index.d.ts.map +1 -0
  25. package/dist/components/Badge/Badge.d.ts +22 -0
  26. package/dist/components/Badge/Badge.d.ts.map +1 -0
  27. package/dist/components/Badge/getBadgeColors.d.ts +7 -0
  28. package/dist/components/Badge/getBadgeColors.d.ts.map +1 -0
  29. package/dist/components/Badge/index.d.ts +3 -0
  30. package/dist/components/Badge/index.d.ts.map +1 -0
  31. package/dist/components/Banner/Banner.d.ts +30 -0
  32. package/dist/components/Banner/Banner.d.ts.map +1 -0
  33. package/dist/components/Banner/BannerChildComponents.d.ts +16 -0
  34. package/dist/components/Banner/BannerChildComponents.d.ts.map +1 -0
  35. package/dist/components/Banner/index.d.ts +3 -0
  36. package/dist/components/Banner/index.d.ts.map +1 -0
  37. package/dist/components/Box/Box.d.ts +183 -0
  38. package/dist/components/Box/Box.d.ts.map +1 -0
  39. package/dist/components/Box/index.d.ts +3 -0
  40. package/dist/components/Box/index.d.ts.map +1 -0
  41. package/dist/components/Breakline/Breakline.d.ts +19 -0
  42. package/dist/components/Breakline/Breakline.d.ts.map +1 -0
  43. package/dist/components/Breakline/index.d.ts +3 -0
  44. package/dist/components/Breakline/index.d.ts.map +1 -0
  45. package/dist/components/Button/Button.d.ts +81 -0
  46. package/dist/components/Button/Button.d.ts.map +1 -0
  47. package/dist/components/Button/ButtonContent.d.ts +21 -0
  48. package/dist/components/Button/ButtonContent.d.ts.map +1 -0
  49. package/dist/components/Button/ButtonStyledComponent.d.ts +36 -0
  50. package/dist/components/Button/ButtonStyledComponent.d.ts.map +1 -0
  51. package/dist/components/Button/getButtonColor.d.ts +3 -0
  52. package/dist/components/Button/getButtonColor.d.ts.map +1 -0
  53. package/dist/components/Button/index.d.ts +3 -0
  54. package/dist/components/Button/index.d.ts.map +1 -0
  55. package/dist/components/ButtonGroup/ButtonGroup.d.ts +24 -0
  56. package/dist/components/ButtonGroup/ButtonGroup.d.ts.map +1 -0
  57. package/dist/components/ButtonGroup/index.d.ts +3 -0
  58. package/dist/components/ButtonGroup/index.d.ts.map +1 -0
  59. package/dist/components/ButtonLink/ButtonLink.d.ts +96 -0
  60. package/dist/components/ButtonLink/ButtonLink.d.ts.map +1 -0
  61. package/dist/components/ButtonLink/index.d.ts +3 -0
  62. package/dist/components/ButtonLink/index.d.ts.map +1 -0
  63. package/dist/components/Checkbox/Checkbox.d.ts +55 -0
  64. package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
  65. package/dist/components/Checkbox/OptionStyledComponent.d.ts +20 -0
  66. package/dist/components/Checkbox/OptionStyledComponent.d.ts.map +1 -0
  67. package/dist/components/Checkbox/index.d.ts +3 -0
  68. package/dist/components/Checkbox/index.d.ts.map +1 -0
  69. package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +56 -0
  70. package/dist/components/CheckboxGroup/CheckboxGroup.d.ts.map +1 -0
  71. package/dist/components/CheckboxGroup/index.d.ts +3 -0
  72. package/dist/components/CheckboxGroup/index.d.ts.map +1 -0
  73. package/dist/components/ClickArea/ClickArea.d.ts +35 -0
  74. package/dist/components/ClickArea/ClickArea.d.ts.map +1 -0
  75. package/dist/components/ClickArea/index.d.ts +3 -0
  76. package/dist/components/ClickArea/index.d.ts.map +1 -0
  77. package/dist/components/CloseButton/CloseButton.d.ts +12 -0
  78. package/dist/components/CloseButton/CloseButton.d.ts.map +1 -0
  79. package/dist/components/CloseButton/CloseIcon.d.ts +2 -0
  80. package/dist/components/CloseButton/CloseIcon.d.ts.map +1 -0
  81. package/dist/components/CloseButton/index.d.ts +3 -0
  82. package/dist/components/CloseButton/index.d.ts.map +1 -0
  83. package/dist/components/CollapsibleGroup/CollapsibleGroup.d.ts +81 -0
  84. package/dist/components/CollapsibleGroup/CollapsibleGroup.d.ts.map +1 -0
  85. package/dist/components/CollapsibleGroup/index.d.ts +3 -0
  86. package/dist/components/CollapsibleGroup/index.d.ts.map +1 -0
  87. package/dist/components/Divider/Divider.d.ts +25 -0
  88. package/dist/components/Divider/Divider.d.ts.map +1 -0
  89. package/dist/components/Divider/index.d.ts +3 -0
  90. package/dist/components/Divider/index.d.ts.map +1 -0
  91. package/dist/components/Ellipsis/Ellipsis.d.ts +21 -0
  92. package/dist/components/Ellipsis/Ellipsis.d.ts.map +1 -0
  93. package/dist/components/Ellipsis/index.d.ts +3 -0
  94. package/dist/components/Ellipsis/index.d.ts.map +1 -0
  95. package/dist/components/FileSelect/FileSelect.d.ts +46 -0
  96. package/dist/components/FileSelect/FileSelect.d.ts.map +1 -0
  97. package/dist/components/FileSelect/index.d.ts +3 -0
  98. package/dist/components/FileSelect/index.d.ts.map +1 -0
  99. package/dist/components/Form/Form.d.ts +80 -0
  100. package/dist/components/Form/Form.d.ts.map +1 -0
  101. package/dist/components/Form/index.d.ts +3 -0
  102. package/dist/components/Form/index.d.ts.map +1 -0
  103. package/dist/components/FormButtons/FormButtons.d.ts +22 -0
  104. package/dist/components/FormButtons/FormButtons.d.ts.map +1 -0
  105. package/dist/components/FormButtons/index.d.ts +3 -0
  106. package/dist/components/FormButtons/index.d.ts.map +1 -0
  107. package/dist/components/FormField/FormField.d.ts +63 -0
  108. package/dist/components/FormField/FormField.d.ts.map +1 -0
  109. package/dist/components/FormField/index.d.ts +3 -0
  110. package/dist/components/FormField/index.d.ts.map +1 -0
  111. package/dist/components/FormField/inputTypeMap.d.ts +67 -0
  112. package/dist/components/FormField/inputTypeMap.d.ts.map +1 -0
  113. package/dist/components/FormFieldError/FormFieldError.d.ts +9 -0
  114. package/dist/components/FormFieldError/FormFieldError.d.ts.map +1 -0
  115. package/dist/components/FormFieldError/index.d.ts +3 -0
  116. package/dist/components/FormFieldError/index.d.ts.map +1 -0
  117. package/dist/components/FormGlobalError/FormGlobalError.d.ts +2 -0
  118. package/dist/components/FormGlobalError/FormGlobalError.d.ts.map +1 -0
  119. package/dist/components/FormGlobalError/index.d.ts +2 -0
  120. package/dist/components/FormGlobalError/index.d.ts.map +1 -0
  121. package/dist/components/FullScreenModal/FullScreenModal.d.ts +33 -0
  122. package/dist/components/FullScreenModal/FullScreenModal.d.ts.map +1 -0
  123. package/dist/components/FullScreenModal/index.d.ts +3 -0
  124. package/dist/components/FullScreenModal/index.d.ts.map +1 -0
  125. package/dist/components/Icon/Icon.d.ts +32 -0
  126. package/dist/components/Icon/Icon.d.ts.map +1 -0
  127. package/dist/components/Icon/iconMap.d.ts +118 -0
  128. package/dist/components/Icon/iconMap.d.ts.map +1 -0
  129. package/dist/components/Icon/icons/AbTestIcon.d.ts +3 -0
  130. package/dist/components/Icon/icons/AbTestIcon.d.ts.map +1 -0
  131. package/dist/components/Icon/icons/AllContentIcon.d.ts +3 -0
  132. package/dist/components/Icon/icons/AllContentIcon.d.ts.map +1 -0
  133. package/dist/components/Icon/icons/ArchivedIcon.d.ts +3 -0
  134. package/dist/components/Icon/icons/ArchivedIcon.d.ts.map +1 -0
  135. package/dist/components/Icon/icons/ArrowDownIcon.d.ts +3 -0
  136. package/dist/components/Icon/icons/ArrowDownIcon.d.ts.map +1 -0
  137. package/dist/components/Icon/icons/ArrowLeftIcon.d.ts +3 -0
  138. package/dist/components/Icon/icons/ArrowLeftIcon.d.ts.map +1 -0
  139. package/dist/components/Icon/icons/ArrowRightIcon.d.ts +3 -0
  140. package/dist/components/Icon/icons/ArrowRightIcon.d.ts.map +1 -0
  141. package/dist/components/Icon/icons/ArrowUpIcon.d.ts +3 -0
  142. package/dist/components/Icon/icons/ArrowUpIcon.d.ts.map +1 -0
  143. package/dist/components/Icon/icons/AsteriskIcon.d.ts +3 -0
  144. package/dist/components/Icon/icons/AsteriskIcon.d.ts.map +1 -0
  145. package/dist/components/Icon/icons/AudienceIcon.d.ts +3 -0
  146. package/dist/components/Icon/icons/AudienceIcon.d.ts.map +1 -0
  147. package/dist/components/Icon/icons/CalendarIcon.d.ts +3 -0
  148. package/dist/components/Icon/icons/CalendarIcon.d.ts.map +1 -0
  149. package/dist/components/Icon/icons/CameraIcon.d.ts +3 -0
  150. package/dist/components/Icon/icons/CameraIcon.d.ts.map +1 -0
  151. package/dist/components/Icon/icons/CaretDownIcon.d.ts +3 -0
  152. package/dist/components/Icon/icons/CaretDownIcon.d.ts.map +1 -0
  153. package/dist/components/Icon/icons/CaretLeftIcon.d.ts +3 -0
  154. package/dist/components/Icon/icons/CaretLeftIcon.d.ts.map +1 -0
  155. package/dist/components/Icon/icons/CaretRightIcon.d.ts +3 -0
  156. package/dist/components/Icon/icons/CaretRightIcon.d.ts.map +1 -0
  157. package/dist/components/Icon/icons/CaretUpIcon.d.ts +3 -0
  158. package/dist/components/Icon/icons/CaretUpIcon.d.ts.map +1 -0
  159. package/dist/components/Icon/icons/ChannelIcon.d.ts +3 -0
  160. package/dist/components/Icon/icons/ChannelIcon.d.ts.map +1 -0
  161. package/dist/components/Icon/icons/CheckmarkCircleIcon.d.ts +3 -0
  162. package/dist/components/Icon/icons/CheckmarkCircleIcon.d.ts.map +1 -0
  163. package/dist/components/Icon/icons/CheckmarkCircleOutlineIcon.d.ts +5 -0
  164. package/dist/components/Icon/icons/CheckmarkCircleOutlineIcon.d.ts.map +1 -0
  165. package/dist/components/Icon/icons/CheckmarkCircleThreeQuartersIcon.d.ts +3 -0
  166. package/dist/components/Icon/icons/CheckmarkCircleThreeQuartersIcon.d.ts.map +1 -0
  167. package/dist/components/Icon/icons/CheckmarkIcon.d.ts +3 -0
  168. package/dist/components/Icon/icons/CheckmarkIcon.d.ts.map +1 -0
  169. package/dist/components/Icon/icons/CheckmarkUnderlinedIcon.d.ts +3 -0
  170. package/dist/components/Icon/icons/CheckmarkUnderlinedIcon.d.ts.map +1 -0
  171. package/dist/components/Icon/icons/CloseCircleIcon.d.ts +3 -0
  172. package/dist/components/Icon/icons/CloseCircleIcon.d.ts.map +1 -0
  173. package/dist/components/Icon/icons/CloseIcon.d.ts +3 -0
  174. package/dist/components/Icon/icons/CloseIcon.d.ts.map +1 -0
  175. package/dist/components/Icon/icons/CollectVideoIcon.d.ts +3 -0
  176. package/dist/components/Icon/icons/CollectVideoIcon.d.ts.map +1 -0
  177. package/dist/components/Icon/icons/CollectionIcon.d.ts +3 -0
  178. package/dist/components/Icon/icons/CollectionIcon.d.ts.map +1 -0
  179. package/dist/components/Icon/icons/CommentIcon.d.ts +3 -0
  180. package/dist/components/Icon/icons/CommentIcon.d.ts.map +1 -0
  181. package/dist/components/Icon/icons/CommunityIcon.d.ts +3 -0
  182. package/dist/components/Icon/icons/CommunityIcon.d.ts.map +1 -0
  183. package/dist/components/Icon/icons/ContactUsIcon.d.ts +3 -0
  184. package/dist/components/Icon/icons/ContactUsIcon.d.ts.map +1 -0
  185. package/dist/components/Icon/icons/CopyDisabledIcon.d.ts +3 -0
  186. package/dist/components/Icon/icons/CopyDisabledIcon.d.ts.map +1 -0
  187. package/dist/components/Icon/icons/CopyIcon.d.ts +3 -0
  188. package/dist/components/Icon/icons/CopyIcon.d.ts.map +1 -0
  189. package/dist/components/Icon/icons/CreateIcon.d.ts +3 -0
  190. package/dist/components/Icon/icons/CreateIcon.d.ts.map +1 -0
  191. package/dist/components/Icon/icons/DeleteIcon.d.ts +3 -0
  192. package/dist/components/Icon/icons/DeleteIcon.d.ts.map +1 -0
  193. package/dist/components/Icon/icons/DeleteSmIcon.d.ts +3 -0
  194. package/dist/components/Icon/icons/DeleteSmIcon.d.ts.map +1 -0
  195. package/dist/components/Icon/icons/DottieClockIcon.d.ts +3 -0
  196. package/dist/components/Icon/icons/DottieClockIcon.d.ts.map +1 -0
  197. package/dist/components/Icon/icons/DownloadIcon.d.ts +3 -0
  198. package/dist/components/Icon/icons/DownloadIcon.d.ts.map +1 -0
  199. package/dist/components/Icon/icons/DraggableIcon.d.ts +3 -0
  200. package/dist/components/Icon/icons/DraggableIcon.d.ts.map +1 -0
  201. package/dist/components/Icon/icons/EllipsisIcon.d.ts +3 -0
  202. package/dist/components/Icon/icons/EllipsisIcon.d.ts.map +1 -0
  203. package/dist/components/Icon/icons/EllipsisVerticalIcon.d.ts +3 -0
  204. package/dist/components/Icon/icons/EllipsisVerticalIcon.d.ts.map +1 -0
  205. package/dist/components/Icon/icons/EmbedIcon.d.ts +3 -0
  206. package/dist/components/Icon/icons/EmbedIcon.d.ts.map +1 -0
  207. package/dist/components/Icon/icons/EpisodesIcon.d.ts +3 -0
  208. package/dist/components/Icon/icons/EpisodesIcon.d.ts.map +1 -0
  209. package/dist/components/Icon/icons/ExpandIcon.d.ts +3 -0
  210. package/dist/components/Icon/icons/ExpandIcon.d.ts.map +1 -0
  211. package/dist/components/Icon/icons/FavoriteIcon.d.ts +3 -0
  212. package/dist/components/Icon/icons/FavoriteIcon.d.ts.map +1 -0
  213. package/dist/components/Icon/icons/FavoriteOutlineIcon.d.ts +3 -0
  214. package/dist/components/Icon/icons/FavoriteOutlineIcon.d.ts.map +1 -0
  215. package/dist/components/Icon/icons/FilterIcon.d.ts +3 -0
  216. package/dist/components/Icon/icons/FilterIcon.d.ts.map +1 -0
  217. package/dist/components/Icon/icons/GearIcon.d.ts +3 -0
  218. package/dist/components/Icon/icons/GearIcon.d.ts.map +1 -0
  219. package/dist/components/Icon/icons/GettingStartedIcon.d.ts +3 -0
  220. package/dist/components/Icon/icons/GettingStartedIcon.d.ts.map +1 -0
  221. package/dist/components/Icon/icons/GlobeIcon.d.ts +4 -0
  222. package/dist/components/Icon/icons/GlobeIcon.d.ts.map +1 -0
  223. package/dist/components/Icon/icons/GridViewIcon.d.ts +3 -0
  224. package/dist/components/Icon/icons/GridViewIcon.d.ts.map +1 -0
  225. package/dist/components/Icon/icons/GroupRecordIcon.d.ts +3 -0
  226. package/dist/components/Icon/icons/GroupRecordIcon.d.ts.map +1 -0
  227. package/dist/components/Icon/icons/HamburgerIcon.d.ts +3 -0
  228. package/dist/components/Icon/icons/HamburgerIcon.d.ts.map +1 -0
  229. package/dist/components/Icon/icons/HazardIcon.d.ts +3 -0
  230. package/dist/components/Icon/icons/HazardIcon.d.ts.map +1 -0
  231. package/dist/components/Icon/icons/HelpCenterIcon.d.ts +3 -0
  232. package/dist/components/Icon/icons/HelpCenterIcon.d.ts.map +1 -0
  233. package/dist/components/Icon/icons/HideIcon.d.ts +3 -0
  234. package/dist/components/Icon/icons/HideIcon.d.ts.map +1 -0
  235. package/dist/components/Icon/icons/HomeIcon.d.ts +3 -0
  236. package/dist/components/Icon/icons/HomeIcon.d.ts.map +1 -0
  237. package/dist/components/Icon/icons/HourglassIcon.d.ts +3 -0
  238. package/dist/components/Icon/icons/HourglassIcon.d.ts.map +1 -0
  239. package/dist/components/Icon/icons/ImportIcon.d.ts +3 -0
  240. package/dist/components/Icon/icons/ImportIcon.d.ts.map +1 -0
  241. package/dist/components/Icon/icons/InfoIcon.d.ts +3 -0
  242. package/dist/components/Icon/icons/InfoIcon.d.ts.map +1 -0
  243. package/dist/components/Icon/icons/IntegrationsIcon.d.ts +3 -0
  244. package/dist/components/Icon/icons/IntegrationsIcon.d.ts.map +1 -0
  245. package/dist/components/Icon/icons/InviteIcon.d.ts +3 -0
  246. package/dist/components/Icon/icons/InviteIcon.d.ts.map +1 -0
  247. package/dist/components/Icon/icons/InviteToRecordIcon.d.ts +3 -0
  248. package/dist/components/Icon/icons/InviteToRecordIcon.d.ts.map +1 -0
  249. package/dist/components/Icon/icons/LightningBoltIcon.d.ts +5 -0
  250. package/dist/components/Icon/icons/LightningBoltIcon.d.ts.map +1 -0
  251. package/dist/components/Icon/icons/LinkIcon.d.ts +3 -0
  252. package/dist/components/Icon/icons/LinkIcon.d.ts.map +1 -0
  253. package/dist/components/Icon/icons/ListViewIcon.d.ts +3 -0
  254. package/dist/components/Icon/icons/ListViewIcon.d.ts.map +1 -0
  255. package/dist/components/Icon/icons/LiveIcon.d.ts +3 -0
  256. package/dist/components/Icon/icons/LiveIcon.d.ts.map +1 -0
  257. package/dist/components/Icon/icons/LockIcon.d.ts +3 -0
  258. package/dist/components/Icon/icons/LockIcon.d.ts.map +1 -0
  259. package/dist/components/Icon/icons/LogoutIcon.d.ts +3 -0
  260. package/dist/components/Icon/icons/LogoutIcon.d.ts.map +1 -0
  261. package/dist/components/Icon/icons/MediaIcon.d.ts +3 -0
  262. package/dist/components/Icon/icons/MediaIcon.d.ts.map +1 -0
  263. package/dist/components/Icon/icons/MegaphoneIcon.d.ts +3 -0
  264. package/dist/components/Icon/icons/MegaphoneIcon.d.ts.map +1 -0
  265. package/dist/components/Icon/icons/MoreOptionsIcon.d.ts +3 -0
  266. package/dist/components/Icon/icons/MoreOptionsIcon.d.ts.map +1 -0
  267. package/dist/components/Icon/icons/OpenNewIcon.d.ts +3 -0
  268. package/dist/components/Icon/icons/OpenNewIcon.d.ts.map +1 -0
  269. package/dist/components/Icon/icons/OverviewIcon.d.ts +3 -0
  270. package/dist/components/Icon/icons/OverviewIcon.d.ts.map +1 -0
  271. package/dist/components/Icon/icons/PaintIcon.d.ts +3 -0
  272. package/dist/components/Icon/icons/PaintIcon.d.ts.map +1 -0
  273. package/dist/components/Icon/icons/PencilIcon.d.ts +3 -0
  274. package/dist/components/Icon/icons/PencilIcon.d.ts.map +1 -0
  275. package/dist/components/Icon/icons/PlayIcon.d.ts +3 -0
  276. package/dist/components/Icon/icons/PlayIcon.d.ts.map +1 -0
  277. package/dist/components/Icon/icons/PlaylistIcon.d.ts +3 -0
  278. package/dist/components/Icon/icons/PlaylistIcon.d.ts.map +1 -0
  279. package/dist/components/Icon/icons/PodcastIcon.d.ts +3 -0
  280. package/dist/components/Icon/icons/PodcastIcon.d.ts.map +1 -0
  281. package/dist/components/Icon/icons/PreviewIcon.d.ts +3 -0
  282. package/dist/components/Icon/icons/PreviewIcon.d.ts.map +1 -0
  283. package/dist/components/Icon/icons/PrivateUserSessionsIcon.d.ts +3 -0
  284. package/dist/components/Icon/icons/PrivateUserSessionsIcon.d.ts.map +1 -0
  285. package/dist/components/Icon/icons/ProjectIcon.d.ts +3 -0
  286. package/dist/components/Icon/icons/ProjectIcon.d.ts.map +1 -0
  287. package/dist/components/Icon/icons/QuestionMarkIcon.d.ts +3 -0
  288. package/dist/components/Icon/icons/QuestionMarkIcon.d.ts.map +1 -0
  289. package/dist/components/Icon/icons/ReactIcon.d.ts +3 -0
  290. package/dist/components/Icon/icons/ReactIcon.d.ts.map +1 -0
  291. package/dist/components/Icon/icons/RecordIcon.d.ts +3 -0
  292. package/dist/components/Icon/icons/RecordIcon.d.ts.map +1 -0
  293. package/dist/components/Icon/icons/RedoIcon.d.ts +3 -0
  294. package/dist/components/Icon/icons/RedoIcon.d.ts.map +1 -0
  295. package/dist/components/Icon/icons/RemoveFromChannelIcon.d.ts +3 -0
  296. package/dist/components/Icon/icons/RemoveFromChannelIcon.d.ts.map +1 -0
  297. package/dist/components/Icon/icons/ReplaceIcon.d.ts +3 -0
  298. package/dist/components/Icon/icons/ReplaceIcon.d.ts.map +1 -0
  299. package/dist/components/Icon/icons/ReplyIcon.d.ts +3 -0
  300. package/dist/components/Icon/icons/ReplyIcon.d.ts.map +1 -0
  301. package/dist/components/Icon/icons/ScissorsIcon.d.ts +3 -0
  302. package/dist/components/Icon/icons/ScissorsIcon.d.ts.map +1 -0
  303. package/dist/components/Icon/icons/SearchIcon.d.ts +3 -0
  304. package/dist/components/Icon/icons/SearchIcon.d.ts.map +1 -0
  305. package/dist/components/Icon/icons/SendIcon.d.ts +3 -0
  306. package/dist/components/Icon/icons/SendIcon.d.ts.map +1 -0
  307. package/dist/components/Icon/icons/SettingsIcon.d.ts +3 -0
  308. package/dist/components/Icon/icons/SettingsIcon.d.ts.map +1 -0
  309. package/dist/components/Icon/icons/ShareIcon.d.ts +3 -0
  310. package/dist/components/Icon/icons/ShareIcon.d.ts.map +1 -0
  311. package/dist/components/Icon/icons/SoapboxIcon.d.ts +3 -0
  312. package/dist/components/Icon/icons/SoapboxIcon.d.ts.map +1 -0
  313. package/dist/components/Icon/icons/SortIcon.d.ts +3 -0
  314. package/dist/components/Icon/icons/SortIcon.d.ts.map +1 -0
  315. package/dist/components/Icon/icons/SparkleIcon.d.ts +3 -0
  316. package/dist/components/Icon/icons/SparkleIcon.d.ts.map +1 -0
  317. package/dist/components/Icon/icons/SpinnerIcon.d.ts +3 -0
  318. package/dist/components/Icon/icons/SpinnerIcon.d.ts.map +1 -0
  319. package/dist/components/Icon/icons/StatsIcon.d.ts +3 -0
  320. package/dist/components/Icon/icons/StatsIcon.d.ts.map +1 -0
  321. package/dist/components/Icon/icons/SwitchAccountsIcon.d.ts +3 -0
  322. package/dist/components/Icon/icons/SwitchAccountsIcon.d.ts.map +1 -0
  323. package/dist/components/Icon/icons/TagIcon.d.ts +3 -0
  324. package/dist/components/Icon/icons/TagIcon.d.ts.map +1 -0
  325. package/dist/components/Icon/icons/TeamIcon.d.ts +3 -0
  326. package/dist/components/Icon/icons/TeamIcon.d.ts.map +1 -0
  327. package/dist/components/Icon/icons/ThumbsDownIcon.d.ts +3 -0
  328. package/dist/components/Icon/icons/ThumbsDownIcon.d.ts.map +1 -0
  329. package/dist/components/Icon/icons/ThumbsUpIcon.d.ts +3 -0
  330. package/dist/components/Icon/icons/ThumbsUpIcon.d.ts.map +1 -0
  331. package/dist/components/Icon/icons/TriangleIcon.d.ts +3 -0
  332. package/dist/components/Icon/icons/TriangleIcon.d.ts.map +1 -0
  333. package/dist/components/Icon/icons/UndoIcon.d.ts +3 -0
  334. package/dist/components/Icon/icons/UndoIcon.d.ts.map +1 -0
  335. package/dist/components/Icon/icons/UnlockIcon.d.ts +3 -0
  336. package/dist/components/Icon/icons/UnlockIcon.d.ts.map +1 -0
  337. package/dist/components/Icon/icons/UploadIcon.d.ts +3 -0
  338. package/dist/components/Icon/icons/UploadIcon.d.ts.map +1 -0
  339. package/dist/components/Icon/icons/UsersPermissionsIcon.d.ts +3 -0
  340. package/dist/components/Icon/icons/UsersPermissionsIcon.d.ts.map +1 -0
  341. package/dist/components/Icon/icons/ViewStreamIcon.d.ts +3 -0
  342. package/dist/components/Icon/icons/ViewStreamIcon.d.ts.map +1 -0
  343. package/dist/components/Icon/icons/WandIcon.d.ts +3 -0
  344. package/dist/components/Icon/icons/WandIcon.d.ts.map +1 -0
  345. package/dist/components/Icon/icons/ZoomInIcon.d.ts +3 -0
  346. package/dist/components/Icon/icons/ZoomInIcon.d.ts.map +1 -0
  347. package/dist/components/Icon/icons/ZoomOutIcon.d.ts +3 -0
  348. package/dist/components/Icon/icons/ZoomOutIcon.d.ts.map +1 -0
  349. package/dist/components/Icon/icons/index.d.ts +111 -0
  350. package/dist/components/Icon/icons/index.d.ts.map +1 -0
  351. package/dist/components/Icon/index.d.ts +3 -0
  352. package/dist/components/Icon/index.d.ts.map +1 -0
  353. package/dist/components/IconButton/IconButton.d.ts +53 -0
  354. package/dist/components/IconButton/IconButton.d.ts.map +1 -0
  355. package/dist/components/IconButton/index.d.ts +3 -0
  356. package/dist/components/IconButton/index.d.ts.map +1 -0
  357. package/dist/components/Image/Image.d.ts +42 -0
  358. package/dist/components/Image/Image.d.ts.map +1 -0
  359. package/dist/components/Image/index.d.ts +3 -0
  360. package/dist/components/Image/index.d.ts.map +1 -0
  361. package/dist/components/Input/ClickToCopy.d.ts +18 -0
  362. package/dist/components/Input/ClickToCopy.d.ts.map +1 -0
  363. package/dist/components/Input/Input.d.ts +88 -0
  364. package/dist/components/Input/Input.d.ts.map +1 -0
  365. package/dist/components/Input/InputStyledComponent.d.ts +15 -0
  366. package/dist/components/Input/InputStyledComponent.d.ts.map +1 -0
  367. package/dist/components/Input/index.d.ts +3 -0
  368. package/dist/components/Input/index.d.ts.map +1 -0
  369. package/dist/components/Input/timePositionUtils.d.ts +5 -0
  370. package/dist/components/Input/timePositionUtils.d.ts.map +1 -0
  371. package/dist/components/KeyboardShortcut/KeyboardKeyTypes.d.ts +7 -0
  372. package/dist/components/KeyboardShortcut/KeyboardKeyTypes.d.ts.map +1 -0
  373. package/dist/components/KeyboardShortcut/KeyboardShortcut.d.ts +25 -0
  374. package/dist/components/KeyboardShortcut/KeyboardShortcut.d.ts.map +1 -0
  375. package/dist/components/KeyboardShortcut/index.d.ts +3 -0
  376. package/dist/components/KeyboardShortcut/index.d.ts.map +1 -0
  377. package/dist/components/Label/Label.d.ts +39 -0
  378. package/dist/components/Label/Label.d.ts.map +1 -0
  379. package/dist/components/Label/index.d.ts +3 -0
  380. package/dist/components/Label/index.d.ts.map +1 -0
  381. package/dist/components/LabelDescription/LabelDescription.d.ts +13 -0
  382. package/dist/components/LabelDescription/LabelDescription.d.ts.map +1 -0
  383. package/dist/components/LabelDescription/index.d.ts +3 -0
  384. package/dist/components/LabelDescription/index.d.ts.map +1 -0
  385. package/dist/components/Link/Link.d.ts +118 -0
  386. package/dist/components/Link/Link.d.ts.map +1 -0
  387. package/dist/components/Link/index.d.ts +3 -0
  388. package/dist/components/Link/index.d.ts.map +1 -0
  389. package/dist/components/Link/linkStyle.d.ts +11 -0
  390. package/dist/components/Link/linkStyle.d.ts.map +1 -0
  391. package/dist/components/LinkButton/LinkButton.d.ts +72 -0
  392. package/dist/components/LinkButton/LinkButton.d.ts.map +1 -0
  393. package/dist/components/LinkButton/index.d.ts +3 -0
  394. package/dist/components/LinkButton/index.d.ts.map +1 -0
  395. package/dist/components/List/List.d.ts +27 -0
  396. package/dist/components/List/List.d.ts.map +1 -0
  397. package/dist/components/List/ListItem.d.ts +12 -0
  398. package/dist/components/List/ListItem.d.ts.map +1 -0
  399. package/dist/components/List/index.d.ts +5 -0
  400. package/dist/components/List/index.d.ts.map +1 -0
  401. package/dist/components/MediaObject/MediaObject.d.ts +36 -0
  402. package/dist/components/MediaObject/MediaObject.d.ts.map +1 -0
  403. package/dist/components/MediaObject/index.d.ts +3 -0
  404. package/dist/components/MediaObject/index.d.ts.map +1 -0
  405. package/dist/components/Menu/Menu.d.ts +43 -0
  406. package/dist/components/Menu/Menu.d.ts.map +1 -0
  407. package/dist/components/Menu/MenuItem.d.ts +35 -0
  408. package/dist/components/Menu/MenuItem.d.ts.map +1 -0
  409. package/dist/components/Menu/MenuLabel.d.ts +7 -0
  410. package/dist/components/Menu/MenuLabel.d.ts.map +1 -0
  411. package/dist/components/Menu/SubMenu.d.ts +10 -0
  412. package/dist/components/Menu/SubMenu.d.ts.map +1 -0
  413. package/dist/components/Menu/index.d.ts +8 -0
  414. package/dist/components/Menu/index.d.ts.map +1 -0
  415. package/dist/components/MenuButton/MenuButton.d.ts +69 -0
  416. package/dist/components/MenuButton/MenuButton.d.ts.map +1 -0
  417. package/dist/components/MenuButton/MenuHeader.d.ts +17 -0
  418. package/dist/components/MenuButton/MenuHeader.d.ts.map +1 -0
  419. package/dist/components/MenuButton/index.d.ts +3 -0
  420. package/dist/components/MenuButton/index.d.ts.map +1 -0
  421. package/dist/components/Modal/Dialog.d.ts +8 -0
  422. package/dist/components/Modal/Dialog.d.ts.map +1 -0
  423. package/dist/components/Modal/Modal.d.ts +64 -0
  424. package/dist/components/Modal/Modal.d.ts.map +1 -0
  425. package/dist/components/Modal/ModalCloseContext.d.ts +3 -0
  426. package/dist/components/Modal/ModalCloseContext.d.ts.map +1 -0
  427. package/dist/components/Modal/ModalParts.d.ts +12 -0
  428. package/dist/components/Modal/ModalParts.d.ts.map +1 -0
  429. package/dist/components/Modal/index.d.ts +5 -0
  430. package/dist/components/Modal/index.d.ts.map +1 -0
  431. package/dist/components/ModalBase/ModalBase.d.ts +45 -0
  432. package/dist/components/ModalBase/ModalBase.d.ts.map +1 -0
  433. package/dist/components/ModalBase/ModalProvider.d.ts +9 -0
  434. package/dist/components/ModalBase/ModalProvider.d.ts.map +1 -0
  435. package/dist/components/ModalBase/ModalProviderContext.d.ts +10 -0
  436. package/dist/components/ModalBase/ModalProviderContext.d.ts.map +1 -0
  437. package/dist/components/ModalBase/index.d.ts +3 -0
  438. package/dist/components/ModalBase/index.d.ts.map +1 -0
  439. package/dist/components/Paper/Paper.d.ts +16 -0
  440. package/dist/components/Paper/Paper.d.ts.map +1 -0
  441. package/dist/components/Paper/index.d.ts +3 -0
  442. package/dist/components/Paper/index.d.ts.map +1 -0
  443. package/dist/components/ProgressBar/ProgressBar.d.ts +58 -0
  444. package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -0
  445. package/dist/components/ProgressBar/index.d.ts +3 -0
  446. package/dist/components/ProgressBar/index.d.ts.map +1 -0
  447. package/dist/components/Radio/Radio.d.ts +98 -0
  448. package/dist/components/Radio/Radio.d.ts.map +1 -0
  449. package/dist/components/Radio/index.d.ts +3 -0
  450. package/dist/components/Radio/index.d.ts.map +1 -0
  451. package/dist/components/RadioGroup/RadioGroup.d.ts +52 -0
  452. package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -0
  453. package/dist/components/RadioGroup/index.d.ts +3 -0
  454. package/dist/components/RadioGroup/index.d.ts.map +1 -0
  455. package/dist/components/RangeSelector/RangeSelector.d.ts +69 -0
  456. package/dist/components/RangeSelector/RangeSelector.d.ts.map +1 -0
  457. package/dist/components/RangeSelector/index.d.ts +3 -0
  458. package/dist/components/RangeSelector/index.d.ts.map +1 -0
  459. package/dist/components/RangeSelectorCalendar/RangeSelectorCalendar.d.ts +18 -0
  460. package/dist/components/RangeSelectorCalendar/RangeSelectorCalendar.d.ts.map +1 -0
  461. package/dist/components/RangeSelectorCalendar/index.d.ts +3 -0
  462. package/dist/components/RangeSelectorCalendar/index.d.ts.map +1 -0
  463. package/dist/components/RangeSelectorInput/ErrorMessages.d.ts +6 -0
  464. package/dist/components/RangeSelectorInput/ErrorMessages.d.ts.map +1 -0
  465. package/dist/components/RangeSelectorInput/RangeSelectorInput.d.ts +16 -0
  466. package/dist/components/RangeSelectorInput/RangeSelectorInput.d.ts.map +1 -0
  467. package/dist/components/RangeSelectorInput/constants.d.ts +18 -0
  468. package/dist/components/RangeSelectorInput/constants.d.ts.map +1 -0
  469. package/dist/components/RangeSelectorInput/conversions.d.ts +9 -0
  470. package/dist/components/RangeSelectorInput/conversions.d.ts.map +1 -0
  471. package/dist/components/RangeSelectorInput/eventTypes.d.ts +11 -0
  472. package/dist/components/RangeSelectorInput/eventTypes.d.ts.map +1 -0
  473. package/dist/components/RangeSelectorInput/index.d.ts +3 -0
  474. package/dist/components/RangeSelectorInput/index.d.ts.map +1 -0
  475. package/dist/components/RangeSelectorInput/iterators.d.ts +26 -0
  476. package/dist/components/RangeSelectorInput/iterators.d.ts.map +1 -0
  477. package/dist/components/RangeSelectorInput/selection.d.ts +8 -0
  478. package/dist/components/RangeSelectorInput/selection.d.ts.map +1 -0
  479. package/dist/components/RangeSelectorInput/utils.d.ts +19 -0
  480. package/dist/components/RangeSelectorInput/utils.d.ts.map +1 -0
  481. package/dist/components/RichTextEditor/EditorButtons.d.ts +8 -0
  482. package/dist/components/RichTextEditor/EditorButtons.d.ts.map +1 -0
  483. package/dist/components/RichTextEditor/Element.d.ts +4 -0
  484. package/dist/components/RichTextEditor/Element.d.ts.map +1 -0
  485. package/dist/components/RichTextEditor/Leaf.d.ts +3 -0
  486. package/dist/components/RichTextEditor/Leaf.d.ts.map +1 -0
  487. package/dist/components/RichTextEditor/RichTextEditor.d.ts +51 -0
  488. package/dist/components/RichTextEditor/RichTextEditor.d.ts.map +1 -0
  489. package/dist/components/RichTextEditor/icons.d.ts +7 -0
  490. package/dist/components/RichTextEditor/icons.d.ts.map +1 -0
  491. package/dist/components/RichTextEditor/index.d.ts +6 -0
  492. package/dist/components/RichTextEditor/index.d.ts.map +1 -0
  493. package/dist/components/RichTextEditor/serializers.d.ts +4 -0
  494. package/dist/components/RichTextEditor/serializers.d.ts.map +1 -0
  495. package/dist/components/RichTextEditor/types.d.ts +29 -0
  496. package/dist/components/RichTextEditor/types.d.ts.map +1 -0
  497. package/dist/components/RichTextEditor/utilities/handleListEscape.d.ts +3 -0
  498. package/dist/components/RichTextEditor/utilities/handleListEscape.d.ts.map +1 -0
  499. package/dist/components/RichTextEditor/utilities/index.d.ts +7 -0
  500. package/dist/components/RichTextEditor/utilities/index.d.ts.map +1 -0
  501. package/dist/components/RichTextEditor/utilities/rteFormatTypes.d.ts +14 -0
  502. package/dist/components/RichTextEditor/utilities/rteFormatTypes.d.ts.map +1 -0
  503. package/dist/components/RichTextEditor/utilities/toggle.d.ts +6 -0
  504. package/dist/components/RichTextEditor/utilities/toggle.d.ts.map +1 -0
  505. package/dist/components/RichTextEditor/utilities/withImagesPlugin.d.ts +4 -0
  506. package/dist/components/RichTextEditor/utilities/withImagesPlugin.d.ts.map +1 -0
  507. package/dist/components/RichTextEditor/utilities/withLinksPlugin.d.ts +4 -0
  508. package/dist/components/RichTextEditor/utilities/withLinksPlugin.d.ts.map +1 -0
  509. package/dist/components/ScreenReaderOnly/ScreenReaderOnly.d.ts +22 -0
  510. package/dist/components/ScreenReaderOnly/ScreenReaderOnly.d.ts.map +1 -0
  511. package/dist/components/ScreenReaderOnly/index.d.ts +3 -0
  512. package/dist/components/ScreenReaderOnly/index.d.ts.map +1 -0
  513. package/dist/components/Select/Select.d.ts +67 -0
  514. package/dist/components/Select/Select.d.ts.map +1 -0
  515. package/dist/components/Select/SelectStyledComponent.d.ts +9 -0
  516. package/dist/components/Select/SelectStyledComponent.d.ts.map +1 -0
  517. package/dist/components/Select/index.d.ts +3 -0
  518. package/dist/components/Select/index.d.ts.map +1 -0
  519. package/dist/components/Slider/Slider.d.ts +65 -0
  520. package/dist/components/Slider/Slider.d.ts.map +1 -0
  521. package/dist/components/Slider/index.d.ts +3 -0
  522. package/dist/components/Slider/index.d.ts.map +1 -0
  523. package/dist/components/Stack/Stack.d.ts +19 -0
  524. package/dist/components/Stack/Stack.d.ts.map +1 -0
  525. package/dist/components/Stack/index.d.ts +3 -0
  526. package/dist/components/Stack/index.d.ts.map +1 -0
  527. package/dist/components/Switch/Switch.d.ts +28 -0
  528. package/dist/components/Switch/Switch.d.ts.map +1 -0
  529. package/dist/components/Switch/index.d.ts +3 -0
  530. package/dist/components/Switch/index.d.ts.map +1 -0
  531. package/dist/components/Text/Text.d.ts +146 -0
  532. package/dist/components/Text/Text.d.ts.map +1 -0
  533. package/dist/components/Text/index.d.ts +3 -0
  534. package/dist/components/Text/index.d.ts.map +1 -0
  535. package/dist/components/Thumbnail/Thumbnail.d.ts +64 -0
  536. package/dist/components/Thumbnail/Thumbnail.d.ts.map +1 -0
  537. package/dist/components/Thumbnail/index.d.ts +3 -0
  538. package/dist/components/Thumbnail/index.d.ts.map +1 -0
  539. package/dist/components/ThumbnailCollage/ThumbnailCollage.d.ts +15 -0
  540. package/dist/components/ThumbnailCollage/ThumbnailCollage.d.ts.map +1 -0
  541. package/dist/components/ThumbnailCollage/index.d.ts +3 -0
  542. package/dist/components/ThumbnailCollage/index.d.ts.map +1 -0
  543. package/dist/components/Toast/Toast.d.ts +47 -0
  544. package/dist/components/Toast/Toast.d.ts.map +1 -0
  545. package/dist/components/Toast/ToastAnimation.d.ts +9 -0
  546. package/dist/components/Toast/ToastAnimation.d.ts.map +1 -0
  547. package/dist/components/Toast/ToastContext.d.ts +12 -0
  548. package/dist/components/Toast/ToastContext.d.ts.map +1 -0
  549. package/dist/components/Toast/ToastProvider.d.ts +5 -0
  550. package/dist/components/Toast/ToastProvider.d.ts.map +1 -0
  551. package/dist/components/Toast/__mocks__/Toast.d.ts +2 -0
  552. package/dist/components/Toast/__mocks__/Toast.d.ts.map +1 -0
  553. package/dist/components/Toast/index.d.ts +5 -0
  554. package/dist/components/Toast/index.d.ts.map +1 -0
  555. package/dist/components/Toast/useToast.d.ts +2 -0
  556. package/dist/components/Toast/useToast.d.ts.map +1 -0
  557. package/dist/components/Tooltip/Tooltip.d.ts +53 -0
  558. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -0
  559. package/dist/components/Tooltip/TooltipContent.d.ts +14 -0
  560. package/dist/components/Tooltip/TooltipContent.d.ts.map +1 -0
  561. package/dist/components/Tooltip/index.d.ts +3 -0
  562. package/dist/components/Tooltip/index.d.ts.map +1 -0
  563. package/dist/components/Truncate/Truncate.d.ts +24 -0
  564. package/dist/components/Truncate/Truncate.d.ts.map +1 -0
  565. package/dist/components/Truncate/index.d.ts +3 -0
  566. package/dist/components/Truncate/index.d.ts.map +1 -0
  567. package/dist/components/WistiaLogo/WistiaLogo.d.ts +42 -0
  568. package/dist/components/WistiaLogo/WistiaLogo.d.ts.map +1 -0
  569. package/dist/components/WistiaLogo/index.d.ts +3 -0
  570. package/dist/components/WistiaLogo/index.d.ts.map +1 -0
  571. package/dist/components/WistiaLogoNew/WistiaLogoNew.d.ts +39 -0
  572. package/dist/components/WistiaLogoNew/WistiaLogoNew.d.ts.map +1 -0
  573. package/dist/components/WistiaLogoNew/index.d.ts +3 -0
  574. package/dist/components/WistiaLogoNew/index.d.ts.map +1 -0
  575. package/dist/css/GlobalStyle.d.ts +2 -0
  576. package/dist/css/GlobalStyle.d.ts.map +1 -0
  577. package/dist/css/baseline.d.ts +2 -0
  578. package/dist/css/baseline.d.ts.map +1 -0
  579. package/dist/css/normalize.d.ts +2 -0
  580. package/dist/css/normalize.d.ts.map +1 -0
  581. package/dist/helpers/copyToClipboard/copyToClipboard.d.ts +8 -0
  582. package/dist/helpers/copyToClipboard/copyToClipboard.d.ts.map +1 -0
  583. package/dist/helpers/copyToClipboard/index.d.ts +2 -0
  584. package/dist/helpers/copyToClipboard/index.d.ts.map +1 -0
  585. package/dist/helpers/datetimeHelpers/datetimeHelpers.d.ts +244 -0
  586. package/dist/helpers/datetimeHelpers/datetimeHelpers.d.ts.map +1 -0
  587. package/dist/helpers/datetimeHelpers/index.d.ts +78 -0
  588. package/dist/helpers/datetimeHelpers/index.d.ts.map +1 -0
  589. package/dist/helpers/getBackgroundGradient/getBackgroundGradient.d.ts +31 -0
  590. package/dist/helpers/getBackgroundGradient/getBackgroundGradient.d.ts.map +1 -0
  591. package/dist/helpers/getBackgroundGradient/getSemiRandomBackgroundGradient.d.ts +9 -0
  592. package/dist/helpers/getBackgroundGradient/getSemiRandomBackgroundGradient.d.ts.map +1 -0
  593. package/dist/helpers/getBackgroundGradient/index.d.ts +2 -0
  594. package/dist/helpers/getBackgroundGradient/index.d.ts.map +1 -0
  595. package/dist/helpers/mq/index.d.ts +2 -0
  596. package/dist/helpers/mq/index.d.ts.map +1 -0
  597. package/dist/helpers/mq/mq.d.ts +34 -0
  598. package/dist/helpers/mq/mq.d.ts.map +1 -0
  599. package/dist/helpers/objectHelpers/deepFreeze.d.ts +8 -0
  600. package/dist/helpers/objectHelpers/deepFreeze.d.ts.map +1 -0
  601. package/dist/helpers/objectHelpers/index.d.ts +7 -0
  602. package/dist/helpers/objectHelpers/index.d.ts.map +1 -0
  603. package/dist/helpers/objectHelpers/isObject.d.ts +8 -0
  604. package/dist/helpers/objectHelpers/isObject.d.ts.map +1 -0
  605. package/dist/helpers/objectHelpers/merge.d.ts +9 -0
  606. package/dist/helpers/objectHelpers/merge.d.ts.map +1 -0
  607. package/dist/helpers/objectHelpers/selectKeys.d.ts +9 -0
  608. package/dist/helpers/objectHelpers/selectKeys.d.ts.map +1 -0
  609. package/dist/helpers/stringHelpers/camelCase.d.ts +8 -0
  610. package/dist/helpers/stringHelpers/camelCase.d.ts.map +1 -0
  611. package/dist/helpers/stringHelpers/coerceToBoolean.d.ts +9 -0
  612. package/dist/helpers/stringHelpers/coerceToBoolean.d.ts.map +1 -0
  613. package/dist/helpers/stringHelpers/coerceToString.d.ts +9 -0
  614. package/dist/helpers/stringHelpers/coerceToString.d.ts.map +1 -0
  615. package/dist/helpers/stringHelpers/index.d.ts +14 -0
  616. package/dist/helpers/stringHelpers/index.d.ts.map +1 -0
  617. package/dist/helpers/stringHelpers/isHttpUrl.d.ts +8 -0
  618. package/dist/helpers/stringHelpers/isHttpUrl.d.ts.map +1 -0
  619. package/dist/helpers/stringHelpers/isString.d.ts +8 -0
  620. package/dist/helpers/stringHelpers/isString.d.ts.map +1 -0
  621. package/dist/helpers/stringHelpers/isUrl.d.ts +8 -0
  622. package/dist/helpers/stringHelpers/isUrl.d.ts.map +1 -0
  623. package/dist/helpers/stringHelpers/lowerFirst.d.ts +8 -0
  624. package/dist/helpers/stringHelpers/lowerFirst.d.ts.map +1 -0
  625. package/dist/helpers/stringHelpers/removeNewlines.d.ts +8 -0
  626. package/dist/helpers/stringHelpers/removeNewlines.d.ts.map +1 -0
  627. package/dist/helpers/stringHelpers/stripExtension.d.ts +8 -0
  628. package/dist/helpers/stringHelpers/stripExtension.d.ts.map +1 -0
  629. package/dist/helpers/stringHelpers/truncate.d.ts +9 -0
  630. package/dist/helpers/stringHelpers/truncate.d.ts.map +1 -0
  631. package/dist/helpers/stringHelpers/upperFirst.d.ts +7 -0
  632. package/dist/helpers/stringHelpers/upperFirst.d.ts.map +1 -0
  633. package/dist/hooks/useBoolean/UseBooleanExample.d.ts +2 -0
  634. package/dist/hooks/useBoolean/UseBooleanExample.d.ts.map +1 -0
  635. package/dist/hooks/useBoolean/index.d.ts +2 -0
  636. package/dist/hooks/useBoolean/index.d.ts.map +1 -0
  637. package/dist/hooks/useBoolean/useBoolean.d.ts +10 -0
  638. package/dist/hooks/useBoolean/useBoolean.d.ts.map +1 -0
  639. package/dist/hooks/useClipboard/UseClipboardExample.d.ts +2 -0
  640. package/dist/hooks/useClipboard/UseClipboardExample.d.ts.map +1 -0
  641. package/dist/hooks/useClipboard/UseClipboardWithErrorExample.d.ts +2 -0
  642. package/dist/hooks/useClipboard/UseClipboardWithErrorExample.d.ts.map +1 -0
  643. package/dist/hooks/useClipboard/index.d.ts +2 -0
  644. package/dist/hooks/useClipboard/index.d.ts.map +1 -0
  645. package/dist/hooks/useClipboard/useClipboard.d.ts +2 -0
  646. package/dist/hooks/useClipboard/useClipboard.d.ts.map +1 -0
  647. package/dist/hooks/useElementObserver/UseElementObserverExample.d.ts +2 -0
  648. package/dist/hooks/useElementObserver/UseElementObserverExample.d.ts.map +1 -0
  649. package/dist/hooks/useElementObserver/index.d.ts +2 -0
  650. package/dist/hooks/useElementObserver/index.d.ts.map +1 -0
  651. package/dist/hooks/useElementObserver/useElementObserver.d.ts +14 -0
  652. package/dist/hooks/useElementObserver/useElementObserver.d.ts.map +1 -0
  653. package/dist/hooks/useEvent/UseEventExample.d.ts +2 -0
  654. package/dist/hooks/useEvent/UseEventExample.d.ts.map +1 -0
  655. package/dist/hooks/useEvent/index.d.ts +2 -0
  656. package/dist/hooks/useEvent/index.d.ts.map +1 -0
  657. package/dist/hooks/useEvent/useEvent.d.ts +5 -0
  658. package/dist/hooks/useEvent/useEvent.d.ts.map +1 -0
  659. package/dist/hooks/useFocusTrap/UseFocusTrapExample.d.ts +2 -0
  660. package/dist/hooks/useFocusTrap/UseFocusTrapExample.d.ts.map +1 -0
  661. package/dist/hooks/useFocusTrap/helpers.d.ts +11 -0
  662. package/dist/hooks/useFocusTrap/helpers.d.ts.map +1 -0
  663. package/dist/hooks/useFocusTrap/index.d.ts +2 -0
  664. package/dist/hooks/useFocusTrap/index.d.ts.map +1 -0
  665. package/dist/hooks/useFocusTrap/useFocusTrap.d.ts +8 -0
  666. package/dist/hooks/useFocusTrap/useFocusTrap.d.ts.map +1 -0
  667. package/dist/hooks/useForceUpdate/UseForceUpdateExample.d.ts +2 -0
  668. package/dist/hooks/useForceUpdate/UseForceUpdateExample.d.ts.map +1 -0
  669. package/dist/hooks/useForceUpdate/index.d.ts +2 -0
  670. package/dist/hooks/useForceUpdate/index.d.ts.map +1 -0
  671. package/dist/hooks/useForceUpdate/useForceUpdate.d.ts +2 -0
  672. package/dist/hooks/useForceUpdate/useForceUpdate.d.ts.map +1 -0
  673. package/dist/hooks/useFormikContext/index.d.ts +2 -0
  674. package/dist/hooks/useFormikContext/index.d.ts.map +1 -0
  675. package/dist/hooks/useIsHovered/UseIsHoveredExample.d.ts +2 -0
  676. package/dist/hooks/useIsHovered/UseIsHoveredExample.d.ts.map +1 -0
  677. package/dist/hooks/useIsHovered/index.d.ts +2 -0
  678. package/dist/hooks/useIsHovered/index.d.ts.map +1 -0
  679. package/dist/hooks/useIsHovered/useIsHovered.d.ts +10 -0
  680. package/dist/hooks/useIsHovered/useIsHovered.d.ts.map +1 -0
  681. package/dist/hooks/useKey/UseKeyExample.d.ts +2 -0
  682. package/dist/hooks/useKey/UseKeyExample.d.ts.map +1 -0
  683. package/dist/hooks/useKey/index.d.ts +2 -0
  684. package/dist/hooks/useKey/index.d.ts.map +1 -0
  685. package/dist/hooks/useKey/useKey.d.ts +12 -0
  686. package/dist/hooks/useKey/useKey.d.ts.map +1 -0
  687. package/dist/hooks/useKeyPress/UseKeyPressExample.d.ts +2 -0
  688. package/dist/hooks/useKeyPress/UseKeyPressExample.d.ts.map +1 -0
  689. package/dist/hooks/useKeyPress/index.d.ts +2 -0
  690. package/dist/hooks/useKeyPress/index.d.ts.map +1 -0
  691. package/dist/hooks/useKeyPress/useKeyPress.d.ts +5 -0
  692. package/dist/hooks/useKeyPress/useKeyPress.d.ts.map +1 -0
  693. package/dist/hooks/useKeyPressOnce/UseKeyPressOnceExample.d.ts +2 -0
  694. package/dist/hooks/useKeyPressOnce/UseKeyPressOnceExample.d.ts.map +1 -0
  695. package/dist/hooks/useKeyPressOnce/index.d.ts +2 -0
  696. package/dist/hooks/useKeyPressOnce/index.d.ts.map +1 -0
  697. package/dist/hooks/useKeyPressOnce/useKeyPressOnce.d.ts +5 -0
  698. package/dist/hooks/useKeyPressOnce/useKeyPressOnce.d.ts.map +1 -0
  699. package/dist/hooks/useLocalStorage/UseLocalStorageExample.d.ts +2 -0
  700. package/dist/hooks/useLocalStorage/UseLocalStorageExample.d.ts.map +1 -0
  701. package/dist/hooks/useLocalStorage/index.d.ts +2 -0
  702. package/dist/hooks/useLocalStorage/index.d.ts.map +1 -0
  703. package/dist/hooks/useLocalStorage/useLocalStorage.d.ts +4 -0
  704. package/dist/hooks/useLocalStorage/useLocalStorage.d.ts.map +1 -0
  705. package/dist/hooks/useMergedRefs/UseMergedRefsExample.d.ts +2 -0
  706. package/dist/hooks/useMergedRefs/UseMergedRefsExample.d.ts.map +1 -0
  707. package/dist/hooks/useMergedRefs/index.d.ts +2 -0
  708. package/dist/hooks/useMergedRefs/index.d.ts.map +1 -0
  709. package/dist/hooks/useMergedRefs/useMergedRefs.d.ts +6 -0
  710. package/dist/hooks/useMergedRefs/useMergedRefs.d.ts.map +1 -0
  711. package/dist/hooks/useMq/UseMqExample.d.ts +3 -0
  712. package/dist/hooks/useMq/UseMqExample.d.ts.map +1 -0
  713. package/dist/hooks/useMq/index.d.ts +2 -0
  714. package/dist/hooks/useMq/index.d.ts.map +1 -0
  715. package/dist/hooks/useMq/useMq.d.ts +15 -0
  716. package/dist/hooks/useMq/useMq.d.ts.map +1 -0
  717. package/dist/hooks/useOnClickOutside/UseOnClickOutsideExample.d.ts +2 -0
  718. package/dist/hooks/useOnClickOutside/UseOnClickOutsideExample.d.ts.map +1 -0
  719. package/dist/hooks/useOnClickOutside/index.d.ts +2 -0
  720. package/dist/hooks/useOnClickOutside/index.d.ts.map +1 -0
  721. package/dist/hooks/useOnClickOutside/useOnClickOutside.d.ts +3 -0
  722. package/dist/hooks/useOnClickOutside/useOnClickOutside.d.ts.map +1 -0
  723. package/dist/hooks/usePreventScroll/UsePreventScrollExample.d.ts +2 -0
  724. package/dist/hooks/usePreventScroll/UsePreventScrollExample.d.ts.map +1 -0
  725. package/dist/hooks/usePreventScroll/index.d.ts +2 -0
  726. package/dist/hooks/usePreventScroll/index.d.ts.map +1 -0
  727. package/dist/hooks/usePreventScroll/usePreventScroll.d.ts +2 -0
  728. package/dist/hooks/usePreventScroll/usePreventScroll.d.ts.map +1 -0
  729. package/dist/hooks/usePreviousValue/UsePreviousValueExample.d.ts +2 -0
  730. package/dist/hooks/usePreviousValue/UsePreviousValueExample.d.ts.map +1 -0
  731. package/dist/hooks/usePreviousValue/index.d.ts +2 -0
  732. package/dist/hooks/usePreviousValue/index.d.ts.map +1 -0
  733. package/dist/hooks/usePreviousValue/usePreviousValue.d.ts +2 -0
  734. package/dist/hooks/usePreviousValue/usePreviousValue.d.ts.map +1 -0
  735. package/dist/hooks/useTheme/UseThemeExample.d.ts +2 -0
  736. package/dist/hooks/useTheme/UseThemeExample.d.ts.map +1 -0
  737. package/dist/hooks/useTheme/index.d.ts +2 -0
  738. package/dist/hooks/useTheme/index.d.ts.map +1 -0
  739. package/dist/hooks/useTheme/useTheme.d.ts +3 -0
  740. package/dist/hooks/useTheme/useTheme.d.ts.map +1 -0
  741. package/dist/hooks/useThemeColor/UseThemeColorExample.d.ts +2 -0
  742. package/dist/hooks/useThemeColor/UseThemeColorExample.d.ts.map +1 -0
  743. package/dist/hooks/useThemeColor/index.d.ts +2 -0
  744. package/dist/hooks/useThemeColor/index.d.ts.map +1 -0
  745. package/dist/hooks/useThemeColor/useThemeColor.d.ts +12 -0
  746. package/dist/hooks/useThemeColor/useThemeColor.d.ts.map +1 -0
  747. package/dist/hooks/useWindowSize/UseWindowSizeExample.d.ts +2 -0
  748. package/dist/hooks/useWindowSize/UseWindowSizeExample.d.ts.map +1 -0
  749. package/dist/hooks/useWindowSize/index.d.ts +2 -0
  750. package/dist/hooks/useWindowSize/index.d.ts.map +1 -0
  751. package/dist/hooks/useWindowSize/useWindowSize.d.ts +5 -0
  752. package/dist/hooks/useWindowSize/useWindowSize.d.ts.map +1 -0
  753. package/dist/index.cjs +1065 -12286
  754. package/dist/index.cjs.map +7 -1
  755. package/dist/index.d.ts +91 -3597
  756. package/dist/index.d.ts.map +1 -0
  757. package/dist/index.mjs +1065 -12191
  758. package/dist/index.mjs.map +7 -1
  759. package/dist/private/components/Calendar/Calendar.d.ts +23 -0
  760. package/dist/private/components/Calendar/Calendar.d.ts.map +1 -0
  761. package/dist/private/components/Calendar/index.d.ts +2 -0
  762. package/dist/private/components/Calendar/index.d.ts.map +1 -0
  763. package/dist/private/components/FormConnectorButton/FormConnectorButton.d.ts +14 -0
  764. package/dist/private/components/FormConnectorButton/FormConnectorButton.d.ts.map +1 -0
  765. package/dist/private/components/FormConnectorButton/index.d.ts +2 -0
  766. package/dist/private/components/FormConnectorButton/index.d.ts.map +1 -0
  767. package/dist/private/components/FormConnectorCheckboxGroup/FormConnectorCheckboxGroup.d.ts +58 -0
  768. package/dist/private/components/FormConnectorCheckboxGroup/FormConnectorCheckboxGroup.d.ts.map +1 -0
  769. package/dist/private/components/FormConnectorCheckboxGroup/index.d.ts +2 -0
  770. package/dist/private/components/FormConnectorCheckboxGroup/index.d.ts.map +1 -0
  771. package/dist/private/components/FormConnectorCustomField/FormConnectorCustomField.d.ts +53 -0
  772. package/dist/private/components/FormConnectorCustomField/FormConnectorCustomField.d.ts.map +1 -0
  773. package/dist/private/components/FormConnectorCustomField/index.d.ts +3 -0
  774. package/dist/private/components/FormConnectorCustomField/index.d.ts.map +1 -0
  775. package/dist/private/components/FormConnectorHidden/FormConnectorHidden.d.ts +32 -0
  776. package/dist/private/components/FormConnectorHidden/FormConnectorHidden.d.ts.map +1 -0
  777. package/dist/private/components/FormConnectorHidden/index.d.ts +2 -0
  778. package/dist/private/components/FormConnectorHidden/index.d.ts.map +1 -0
  779. package/dist/private/components/FormConnectorInput/FormConnectorInput.d.ts +50 -0
  780. package/dist/private/components/FormConnectorInput/FormConnectorInput.d.ts.map +1 -0
  781. package/dist/private/components/FormConnectorInput/index.d.ts +2 -0
  782. package/dist/private/components/FormConnectorInput/index.d.ts.map +1 -0
  783. package/dist/private/components/FormConnectorRadioGroup/FormConnectorRadioGroup.d.ts +59 -0
  784. package/dist/private/components/FormConnectorRadioGroup/FormConnectorRadioGroup.d.ts.map +1 -0
  785. package/dist/private/components/FormConnectorRadioGroup/index.d.ts +2 -0
  786. package/dist/private/components/FormConnectorRadioGroup/index.d.ts.map +1 -0
  787. package/dist/private/components/FormConnectorRichTextEditor/FormConnectorRichTextEditor.d.ts +55 -0
  788. package/dist/private/components/FormConnectorRichTextEditor/FormConnectorRichTextEditor.d.ts.map +1 -0
  789. package/dist/private/components/FormConnectorRichTextEditor/index.d.ts +2 -0
  790. package/dist/private/components/FormConnectorRichTextEditor/index.d.ts.map +1 -0
  791. package/dist/private/components/FormConnectorSelect/FormConnectorSelect.d.ts +59 -0
  792. package/dist/private/components/FormConnectorSelect/FormConnectorSelect.d.ts.map +1 -0
  793. package/dist/private/components/FormConnectorSelect/index.d.ts +2 -0
  794. package/dist/private/components/FormConnectorSelect/index.d.ts.map +1 -0
  795. package/dist/private/components/FormFieldWrapper/FormFieldWrapper.d.ts +48 -0
  796. package/dist/private/components/FormFieldWrapper/FormFieldWrapper.d.ts.map +1 -0
  797. package/dist/private/components/FormFieldWrapper/index.d.ts +2 -0
  798. package/dist/private/components/FormFieldWrapper/index.d.ts.map +1 -0
  799. package/dist/private/components/HideInVisualRegressionTests/HideInVisualRegressionTests.d.ts +7 -0
  800. package/dist/private/components/HideInVisualRegressionTests/HideInVisualRegressionTests.d.ts.map +1 -0
  801. package/dist/private/components/HideInVisualRegressionTests/index.d.ts +2 -0
  802. package/dist/private/components/HideInVisualRegressionTests/index.d.ts.map +1 -0
  803. package/dist/private/components/Icon/Icon.d.ts +32 -0
  804. package/dist/private/components/Icon/Icon.d.ts.map +1 -0
  805. package/dist/private/components/Icon/iconMap.d.ts +14 -0
  806. package/dist/private/components/Icon/iconMap.d.ts.map +1 -0
  807. package/dist/private/components/Icon/icons/BlockQuote.d.ts +3 -0
  808. package/dist/private/components/Icon/icons/BlockQuote.d.ts.map +1 -0
  809. package/dist/private/components/Icon/icons/Bold.d.ts +3 -0
  810. package/dist/private/components/Icon/icons/Bold.d.ts.map +1 -0
  811. package/dist/private/components/Icon/icons/BulletedList.d.ts +3 -0
  812. package/dist/private/components/Icon/icons/BulletedList.d.ts.map +1 -0
  813. package/dist/private/components/Icon/icons/Heading.d.ts +3 -0
  814. package/dist/private/components/Icon/icons/Heading.d.ts.map +1 -0
  815. package/dist/private/components/Icon/icons/HeadingTwo.d.ts +3 -0
  816. package/dist/private/components/Icon/icons/HeadingTwo.d.ts.map +1 -0
  817. package/dist/private/components/Icon/icons/Image.d.ts +3 -0
  818. package/dist/private/components/Icon/icons/Image.d.ts.map +1 -0
  819. package/dist/private/components/Icon/icons/Italic.d.ts +3 -0
  820. package/dist/private/components/Icon/icons/Italic.d.ts.map +1 -0
  821. package/dist/private/components/Icon/icons/Link.d.ts +3 -0
  822. package/dist/private/components/Icon/icons/Link.d.ts.map +1 -0
  823. package/dist/private/components/Icon/icons/NumberedList.d.ts +3 -0
  824. package/dist/private/components/Icon/icons/NumberedList.d.ts.map +1 -0
  825. package/dist/private/components/Icon/icons/Strikethrough.d.ts +3 -0
  826. package/dist/private/components/Icon/icons/Strikethrough.d.ts.map +1 -0
  827. package/dist/private/components/Icon/icons/Underline.d.ts +3 -0
  828. package/dist/private/components/Icon/icons/Underline.d.ts.map +1 -0
  829. package/dist/private/components/Icon/icons/index.d.ts +12 -0
  830. package/dist/private/components/Icon/icons/index.d.ts.map +1 -0
  831. package/dist/private/components/Icon/index.d.ts +2 -0
  832. package/dist/private/components/Icon/index.d.ts.map +1 -0
  833. package/dist/private/components/Menu/Menu.d.ts +38 -0
  834. package/dist/private/components/Menu/Menu.d.ts.map +1 -0
  835. package/dist/private/components/Menu/index.d.ts +2 -0
  836. package/dist/private/components/Menu/index.d.ts.map +1 -0
  837. package/dist/private/components/ModalAnimation/ModalAnimation.d.ts +9 -0
  838. package/dist/private/components/ModalAnimation/ModalAnimation.d.ts.map +1 -0
  839. package/dist/private/components/ModalAnimation/index.d.ts +2 -0
  840. package/dist/private/components/ModalAnimation/index.d.ts.map +1 -0
  841. package/dist/private/components/ModalCloseButton/ModalCloseButton.d.ts +16 -0
  842. package/dist/private/components/ModalCloseButton/ModalCloseButton.d.ts.map +1 -0
  843. package/dist/private/components/ModalCloseButton/index.d.ts +2 -0
  844. package/dist/private/components/ModalCloseButton/index.d.ts.map +1 -0
  845. package/dist/private/components/Table/Table.d.ts +12 -0
  846. package/dist/private/components/Table/Table.d.ts.map +1 -0
  847. package/dist/private/components/Table/TableStyle.d.ts +2 -0
  848. package/dist/private/components/Table/TableStyle.d.ts.map +1 -0
  849. package/dist/private/components/Table/index.d.ts +2 -0
  850. package/dist/private/components/Table/index.d.ts.map +1 -0
  851. package/dist/private/helpers/escapeHtml/escapeHtml.d.ts +8 -0
  852. package/dist/private/helpers/escapeHtml/escapeHtml.d.ts.map +1 -0
  853. package/dist/private/helpers/escapeHtml/index.d.ts +2 -0
  854. package/dist/private/helpers/escapeHtml/index.d.ts.map +1 -0
  855. package/dist/private/helpers/isClient/index.d.ts +2 -0
  856. package/dist/private/helpers/isClient/index.d.ts.map +1 -0
  857. package/dist/private/helpers/isClient/isClient.d.ts +5 -0
  858. package/dist/private/helpers/isClient/isClient.d.ts.map +1 -0
  859. package/dist/private/helpers/isServer/index.d.ts +2 -0
  860. package/dist/private/helpers/isServer/index.d.ts.map +1 -0
  861. package/dist/private/helpers/isServer/isServer.d.ts +5 -0
  862. package/dist/private/helpers/isServer/isServer.d.ts.map +1 -0
  863. package/dist/private/hooks/useDebounce/index.d.ts +2 -0
  864. package/dist/private/hooks/useDebounce/index.d.ts.map +1 -0
  865. package/dist/private/hooks/useDebounce/useDebounce.d.ts +4 -0
  866. package/dist/private/hooks/useDebounce/useDebounce.d.ts.map +1 -0
  867. package/dist/private/hooks/useTimedToggle/index.d.ts +2 -0
  868. package/dist/private/hooks/useTimedToggle/index.d.ts.map +1 -0
  869. package/dist/private/hooks/useTimedToggle/useTimedToggle.d.ts +2 -0
  870. package/dist/private/hooks/useTimedToggle/useTimedToggle.d.ts.map +1 -0
  871. package/dist/private/hooks/useTimeoutFunc/index.d.ts +2 -0
  872. package/dist/private/hooks/useTimeoutFunc/index.d.ts.map +1 -0
  873. package/dist/private/hooks/useTimeoutFunc/useTimeoutFunc.d.ts +3 -0
  874. package/dist/private/hooks/useTimeoutFunc/useTimeoutFunc.d.ts.map +1 -0
  875. package/dist/private/hooks/useUpdateEffect/index.d.ts +2 -0
  876. package/dist/private/hooks/useUpdateEffect/index.d.ts.map +1 -0
  877. package/dist/private/hooks/useUpdateEffect/useUpdateEffect.d.ts +2 -0
  878. package/dist/private/hooks/useUpdateEffect/useUpdateEffect.d.ts.map +1 -0
  879. package/dist/providers/VHSProvider.d.ts +12 -0
  880. package/dist/providers/VHSProvider.d.ts.map +1 -0
  881. package/dist/providers/VHSThemeProvider.d.ts +8 -0
  882. package/dist/providers/VHSThemeProvider.d.ts.map +1 -0
  883. package/dist/providers/WrapperProvider.d.ts +10 -0
  884. package/dist/providers/WrapperProvider.d.ts.map +1 -0
  885. package/dist/reactShim.d.ts +3 -0
  886. package/dist/reactShim.d.ts.map +1 -0
  887. package/dist/theme.d.ts +4 -0
  888. package/dist/theme.d.ts.map +1 -0
  889. package/package.json +5 -4
  890. package/dist/index.d.mts +0 -3597
package/dist/index.d.mts DELETED
@@ -1,3597 +0,0 @@
1
- import * as styled_components from 'styled-components';
2
- import { css, DefaultTheme } from 'styled-components';
3
- import * as react_jsx_runtime from 'react/jsx-runtime';
4
- import * as react from 'react';
5
- import { JSX, ReactNode, ComponentPropsWithoutRef, Dispatch, SetStateAction, RefObject, MutableRefObject, MouseEvent, ComponentPropsWithRef, ChangeEvent, ElementType, FocusEvent, HTMLInputTypeAttribute, KeyboardEvent as KeyboardEvent$1, ReactElement, ComponentType, PropsWithChildren } from 'react';
6
- import { FormikProps, FormikHelpers, FormikErrors, Field } from 'formik';
7
- export { useFormikContext } from 'formik';
8
- import { DropdownMenuProps, DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuCheckboxItemProps, DropdownMenuRadioItemProps } from '@radix-ui/react-dropdown-menu';
9
- export { DropdownMenuRadioGroup as MenuRadioGroup } from '@radix-ui/react-dropdown-menu';
10
- import { Descendant } from 'slate';
11
- import { ReactEditor } from 'slate-react';
12
-
13
- interface VHSTheme {
14
- readonly breakpoint: {
15
- readonly xs: string;
16
- readonly sm: string;
17
- readonly md: string;
18
- readonly lg: string;
19
- readonly xl: string;
20
- };
21
- readonly color: {
22
- readonly brandBlue100: string;
23
- readonly brandBlue200: string;
24
- readonly brandBlue300: string;
25
- readonly brandBlue400: string;
26
- readonly brandBlue500: string;
27
- readonly brandBlue600: string;
28
- readonly brandBlue700: string;
29
- readonly brandBlue800: string;
30
- readonly purple100: string;
31
- readonly purple200: string;
32
- readonly purple300: string;
33
- readonly purple400: string;
34
- readonly purple500: string;
35
- readonly purple600: string;
36
- readonly purple700: string;
37
- readonly purple800: string;
38
- readonly green100: string;
39
- readonly green200: string;
40
- readonly green300: string;
41
- readonly green400: string;
42
- readonly green500: string;
43
- readonly green600: string;
44
- readonly green700: string;
45
- readonly green800: string;
46
- readonly blue100: string;
47
- readonly blue200: string;
48
- readonly blue300: string;
49
- readonly blue400: string;
50
- readonly blue500: string;
51
- readonly blue600: string;
52
- readonly blue700: string;
53
- readonly blue800: string;
54
- readonly pink100: string;
55
- readonly pink200: string;
56
- readonly pink300: string;
57
- readonly pink400: string;
58
- readonly pink500: string;
59
- readonly pink600: string;
60
- readonly pink700: string;
61
- readonly pink800: string;
62
- readonly red100: string;
63
- readonly red200: string;
64
- readonly red300: string;
65
- readonly red400: string;
66
- readonly red500: string;
67
- readonly red600: string;
68
- readonly red700: string;
69
- readonly red800: string;
70
- readonly yellow100: string;
71
- readonly yellow200: string;
72
- readonly yellow300: string;
73
- readonly yellow400: string;
74
- readonly yellow500: string;
75
- readonly yellow600: string;
76
- readonly yellow700: string;
77
- readonly yellow800: string;
78
- readonly orange100: string;
79
- readonly orange200: string;
80
- readonly orange300: string;
81
- readonly orange400: string;
82
- readonly orange500: string;
83
- readonly orange600: string;
84
- readonly orange700: string;
85
- readonly orange800: string;
86
- readonly grey100: string;
87
- readonly grey200: string;
88
- readonly grey300: string;
89
- readonly grey400: string;
90
- readonly grey500: string;
91
- readonly grey600: string;
92
- readonly grey700: string;
93
- readonly grey800: string;
94
- readonly grey900: string;
95
- readonly grey1000: string;
96
- readonly grey1100: string;
97
- readonly error100: string;
98
- readonly error200: string;
99
- readonly error300: string;
100
- readonly error400: string;
101
- readonly error500: string;
102
- readonly error600: string;
103
- readonly error700: string;
104
- readonly error800: string;
105
- readonly success100: string;
106
- readonly success200: string;
107
- readonly success300: string;
108
- readonly success400: string;
109
- readonly success500: string;
110
- readonly success600: string;
111
- readonly success700: string;
112
- readonly success800: string;
113
- readonly warning100: string;
114
- readonly warning200: string;
115
- readonly warning300: string;
116
- readonly warning400: string;
117
- readonly warning500: string;
118
- readonly warning600: string;
119
- readonly warning700: string;
120
- readonly warning800: string;
121
- };
122
- readonly duration: {
123
- readonly productive: {
124
- readonly fast: string;
125
- readonly moderate: string;
126
- readonly slow: string;
127
- };
128
- readonly expressive: {
129
- readonly fast: string;
130
- readonly moderate: string;
131
- readonly slow: string;
132
- };
133
- };
134
- readonly easing: {
135
- readonly standard: {
136
- readonly productive: string;
137
- readonly expressive: string;
138
- };
139
- readonly entrance: {
140
- readonly productive: string;
141
- readonly expressive: string;
142
- };
143
- readonly exit: {
144
- readonly productive: string;
145
- readonly expressive: string;
146
- };
147
- };
148
- readonly font: {
149
- readonly family: {
150
- readonly default: string;
151
- readonly monospace: string;
152
- };
153
- readonly size: {
154
- readonly default: string;
155
- readonly small: string;
156
- };
157
- readonly weight: {
158
- readonly thin: number;
159
- readonly extraLight: number;
160
- readonly light: number;
161
- readonly regular: number;
162
- readonly medium: number;
163
- readonly semiBold: number;
164
- readonly bold: number;
165
- readonly extraBold: number;
166
- };
167
- };
168
- readonly shadow: {
169
- readonly elevation0: string;
170
- readonly elevation1: string;
171
- readonly elevation2: string;
172
- };
173
- readonly spacing: {
174
- readonly space01: string;
175
- readonly space02: string;
176
- readonly space03: string;
177
- readonly space04: string;
178
- readonly space05: string;
179
- readonly space06: string;
180
- readonly space07: string;
181
- readonly space08: string;
182
- readonly space09: string;
183
- readonly space10: string;
184
- readonly space11: string;
185
- };
186
- readonly zIndex: {
187
- readonly ModalCloseButton: number;
188
- readonly Backdrop: number;
189
- readonly ActionModal: number;
190
- readonly FullScreenModal: number;
191
- readonly RangeSelector: number;
192
- readonly MenuComponent: number;
193
- readonly Toast: number;
194
- readonly Tooltip: number;
195
- readonly BackdropElevated: number;
196
- };
197
- readonly button: {
198
- readonly borderRadius: string;
199
- };
200
- readonly buttonGroup: {
201
- readonly gap: string;
202
- };
203
- readonly headline: {
204
- readonly family: {
205
- readonly default: string;
206
- readonly monospace: string;
207
- };
208
- readonly headline1: {
209
- readonly weight: number;
210
- };
211
- readonly headline2: {
212
- readonly weight: number;
213
- };
214
- readonly headline3: {
215
- readonly weight: number;
216
- };
217
- };
218
- readonly paper: {
219
- readonly elevation0: string;
220
- readonly elevation1: string;
221
- readonly elevation2: string;
222
- };
223
- }
224
-
225
- /**
226
- * Copies a string to user's clipboard for easy pasting in another location
227
- *
228
- * @param {string} textToCopy - the string that will be copied to users clipboard
229
- * @returns {Promise} - Promise object that represents the copied string
230
- */
231
- declare const copyToClipboard: (textToCopy: string) => Promise<void>;
232
-
233
- declare const datetimeHelpers: {
234
- isDate: (date: unknown) => date is Date;
235
- dateOnlyString: (date: unknown, { timeZone }?: {
236
- timeZone?: string;
237
- omitYear?: boolean;
238
- }) => string;
239
- dateOnlyStringNumeric: (date: unknown, { timeZone }?: {
240
- timeZone?: string;
241
- omitYear?: boolean;
242
- }) => string;
243
- dateOnlyISOString: (date: unknown, { timeZone }?: {
244
- timeZone?: string;
245
- omitYear?: boolean;
246
- }) => string;
247
- monthDayStringNumeric: (date: unknown, { timeZone }?: {
248
- timeZone?: string;
249
- omitYear?: boolean;
250
- }) => string;
251
- dayOfWeekString: (date: Date | null, { timeZone }?: {
252
- timeZone?: string;
253
- omitYear?: boolean;
254
- }) => string;
255
- timeOnlyString: (date: unknown, { timeZone }?: {
256
- timeZone?: string;
257
- omitYear?: boolean;
258
- }) => string;
259
- dateTimeString: (date: Date | number | string | null | undefined, { timeZone, omitYear }?: {
260
- timeZone?: string;
261
- omitYear?: boolean;
262
- }) => string;
263
- dateTimeStringForSentence: (date: unknown, { timeZone }?: {
264
- timeZone?: string;
265
- omitYear?: boolean;
266
- }) => string;
267
- dateOnlyStringForSentence: (date: unknown, { timeZone }?: {
268
- timeZone?: string;
269
- omitYear?: boolean;
270
- }) => string;
271
- timeAgoString: (date: Date, { nowAnchor, includeTime }?: {
272
- nowAnchor?: Date;
273
- includeTime?: boolean;
274
- }) => string;
275
- dateUTCOffset: (date: Date) => string;
276
- buildTimeDuration: (numberOfMilliseconds: number) => {
277
- seconds: number;
278
- minutes: number;
279
- hours: number;
280
- };
281
- mediaDurationString: (numberOfMilliseconds: number) => string;
282
- sessionDurationString: (numberOfMilliseconds: number) => string;
283
- dateToDateTime: (date: Date | null | undefined) => {
284
- minutes: number;
285
- hours: number;
286
- dayOfMonth: number;
287
- year: number;
288
- month: number;
289
- } | null;
290
- dateTimeToDate: (dateTime: Partial<{
291
- minutes: number;
292
- hours: number;
293
- dayOfMonth: number;
294
- year: number;
295
- month: number;
296
- }> | null | undefined) => Date | null;
297
- dateTimeToISO: (dateTime: Partial<{
298
- minutes: number;
299
- hours: number;
300
- dayOfMonth: number;
301
- year: number;
302
- month: number;
303
- }>) => string | null;
304
- dateTimeRounded: {
305
- (dateTime: Date, toISOString?: true): string | null;
306
- (dateTime: Date, toISOString: false): Date | null;
307
- };
308
- millisecondsToDurationISOString: (numberOfMilliseconds: number) => string;
309
- };
310
-
311
- declare const gradients: {
312
- defaultDarkOne: styled_components.FlattenSimpleInterpolation;
313
- defaultDarkTwo: styled_components.FlattenSimpleInterpolation;
314
- defaultLightOne: styled_components.FlattenSimpleInterpolation;
315
- defaultLightTwo: styled_components.FlattenSimpleInterpolation;
316
- defaultMidOne: styled_components.FlattenSimpleInterpolation;
317
- defaultMidTwo: styled_components.FlattenSimpleInterpolation;
318
- green: styled_components.FlattenSimpleInterpolation;
319
- greenWithPop: styled_components.FlattenSimpleInterpolation;
320
- pink: styled_components.FlattenSimpleInterpolation;
321
- pinkWithPop: styled_components.FlattenSimpleInterpolation;
322
- playfulGradientOne: styled_components.FlattenSimpleInterpolation;
323
- playfulGradientTwo: styled_components.FlattenSimpleInterpolation;
324
- purple: styled_components.FlattenSimpleInterpolation;
325
- purpleWithPop: styled_components.FlattenSimpleInterpolation;
326
- yellow: styled_components.FlattenSimpleInterpolation;
327
- yellowWithPop: styled_components.FlattenSimpleInterpolation;
328
- };
329
- type GradientNameType = keyof typeof gradients;
330
- type GetBackgroundGradientType = GradientNameType | undefined;
331
- /**
332
- * Retrieves the CSS background gradient corresponding to the given gradient name.
333
- * If the specified gradient name is not found, the default gradient ('defaultDarkOne') is returned.
334
- * @param {GradientName} gradientName - The name of the gradient to retrieve.
335
- * @returns {FlattenSimpleInterpolation} The CSS string representing the specified gradient.
336
- */
337
- declare const getBackgroundGradient: (gradientName?: GetBackgroundGradientType) => ReturnType<typeof css>;
338
-
339
- /**
340
- * Retrieves a semi-random background gradient based on the given id.
341
- *
342
- * @param {string} id - The id to use to generate the semi-random background gradient.
343
- * @returns {GradientName} gradientName
344
- */
345
- declare const getSemiRandomBackgroundGradient: (id: string) => GradientNameType | undefined;
346
-
347
- declare const mq: {
348
- xsAndUp: <T extends DefaultTheme = DefaultTheme>({ theme }: {
349
- theme: T;
350
- }) => string;
351
- smAndUp: <T extends DefaultTheme = DefaultTheme>({ theme }: {
352
- theme: T;
353
- }) => string;
354
- mdAndUp: <T extends DefaultTheme = DefaultTheme>({ theme }: {
355
- theme: T;
356
- }) => string;
357
- lgAndUp: <T extends DefaultTheme = DefaultTheme>({ theme }: {
358
- theme: T;
359
- }) => string;
360
- xlAndUp: <T extends DefaultTheme = DefaultTheme>({ theme }: {
361
- theme: T;
362
- }) => string;
363
- xsAndDown: <T extends DefaultTheme = DefaultTheme>({ theme }: {
364
- theme: T;
365
- }) => string;
366
- smAndDown: <T extends DefaultTheme = DefaultTheme>({ theme }: {
367
- theme: T;
368
- }) => string;
369
- mdAndDown: <T extends DefaultTheme = DefaultTheme>({ theme }: {
370
- theme: T;
371
- }) => string;
372
- lgAndDown: <T extends DefaultTheme = DefaultTheme>({ theme }: {
373
- theme: T;
374
- }) => string;
375
- xlAndDown: <T extends DefaultTheme = DefaultTheme>({ theme }: {
376
- theme: T;
377
- }) => string;
378
- };
379
-
380
- declare const objectHelpers: {
381
- isObject: (value: unknown) => value is Record<string, unknown>;
382
- deepFreeze: (obj: Record<string, unknown>) => Record<string, unknown>;
383
- merge: (target: Record<string, unknown>, ...sources: Record<string, unknown>[]) => Record<string, unknown>;
384
- selectKeys: (obj: Record<string, unknown>, keys: string[]) => Record<string, unknown>;
385
- };
386
-
387
- declare const stringHelpers: {
388
- camelCase: (str?: string) => string;
389
- coerceToBoolean: (value: unknown) => boolean;
390
- coerceToString: (value: unknown) => string;
391
- isHttpUrl: (str: unknown) => boolean;
392
- isString: (value: unknown) => value is string;
393
- isUrl: (str: unknown) => boolean;
394
- lowerFirst: (str?: string) => string;
395
- removeNewlines: (str: string) => string;
396
- stripExtension: (str: string) => string;
397
- truncate: (str: string, maxChars: number) => string;
398
- upperFirst: (str?: string) => string;
399
- };
400
-
401
- type LinkURLParameters = Record<string, string>;
402
- type LinkTypes = 'default' | 'email' | 'external' | 'phone';
403
- type DefaultLinkWrapperProps = {
404
- [anchorProps: string]: unknown;
405
- RenderedLink: ({ ...args }: {
406
- [x: string]: any;
407
- }) => JSX.Element;
408
- children: ReactNode;
409
- };
410
- type LinkProps = ComponentPropsWithoutRef<'a'> & {
411
- /**
412
- * A Promise to invoke before navigating to location.
413
- * _Caution: if used with `external` type prop a new window will **not** be opened_
414
- */
415
- beforeAction?: (() => Promise<void>) | (() => void);
416
- /**
417
- * The content that will be rendered inside the link
418
- */
419
- children: ReactNode;
420
- /**
421
- * Disables Link
422
- */
423
- disabled?: boolean;
424
- /**
425
- * @ignore
426
- * Force a Link into a particular css state (for debugging)
427
- */
428
- forceState?: 'active' | 'focus' | 'hover';
429
- /**
430
- * The entity to link to (url, email address, telephone number)
431
- */
432
- href: string;
433
- /**
434
- * Use this if your link is "nested" inside another link
435
- */
436
- nested?: boolean;
437
- /**
438
- * An object that will be converted into a search parameter string and appended to
439
- * the `to` prop value
440
- */
441
- params?: LinkURLParameters;
442
- /**
443
- * Type of link to display
444
- *
445
- * * `email` creates a mailto
446
- * * `phone` creates a telephone number
447
- * * `external` will open links in a new window
448
- */
449
- type?: LinkTypes;
450
- /**
451
- * Will only display an underline when the Link is in a hover state
452
- */
453
- underlineOnHover?: boolean;
454
- /**
455
- * Renders a link without any of the default styling applied
456
- */
457
- unstyled?: boolean;
458
- /**
459
- * The visual type of Link to display
460
- */
461
- variant?: 'dangerous' | 'primary' | 'secondary';
462
- };
463
- declare const Link: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
464
- /**
465
- * A Promise to invoke before navigating to location.
466
- * _Caution: if used with `external` type prop a new window will **not** be opened_
467
- */
468
- beforeAction?: (() => Promise<void>) | (() => void);
469
- /**
470
- * The content that will be rendered inside the link
471
- */
472
- children: ReactNode;
473
- /**
474
- * Disables Link
475
- */
476
- disabled?: boolean;
477
- /**
478
- * @ignore
479
- * Force a Link into a particular css state (for debugging)
480
- */
481
- forceState?: "active" | "focus" | "hover";
482
- /**
483
- * The entity to link to (url, email address, telephone number)
484
- */
485
- href: string;
486
- /**
487
- * Use this if your link is "nested" inside another link
488
- */
489
- nested?: boolean;
490
- /**
491
- * An object that will be converted into a search parameter string and appended to
492
- * the `to` prop value
493
- */
494
- params?: LinkURLParameters;
495
- /**
496
- * Type of link to display
497
- *
498
- * * `email` creates a mailto
499
- * * `phone` creates a telephone number
500
- * * `external` will open links in a new window
501
- */
502
- type?: LinkTypes;
503
- /**
504
- * Will only display an underline when the Link is in a hover state
505
- */
506
- underlineOnHover?: boolean;
507
- /**
508
- * Renders a link without any of the default styling applied
509
- */
510
- unstyled?: boolean;
511
- /**
512
- * The visual type of Link to display
513
- */
514
- variant?: "dangerous" | "primary" | "secondary";
515
- } & react.RefAttributes<unknown>>;
516
-
517
- type WrapperProviderLinkType = ((props: DefaultLinkWrapperProps) => JSX.Element) | undefined;
518
-
519
- type VHSProviderProps = {
520
- children: ReactNode;
521
- globalStylesIncluded?: boolean;
522
- Link?: WrapperProviderLinkType;
523
- skipAnimations?: boolean;
524
- theme?: Record<string, unknown>;
525
- };
526
- declare const VHSProvider: ({ children, theme, globalStylesIncluded, skipAnimations, Link, }: VHSProviderProps) => react_jsx_runtime.JSX.Element;
527
-
528
- type UseBooleanReturn = [
529
- boolean,
530
- () => void,
531
- () => void,
532
- () => void,
533
- Dispatch<SetStateAction<boolean>>
534
- ];
535
- declare const useBoolean: (initialValue?: boolean) => UseBooleanReturn;
536
-
537
- declare const useClipboard: (textToCopy: string, timeout?: number) => [() => Promise<void>, boolean, boolean];
538
-
539
- type Rect = {
540
- width: number;
541
- height: number;
542
- top: number;
543
- left: number;
544
- bottom: number;
545
- right: number;
546
- x: number;
547
- y: number;
548
- };
549
- declare const useElementObserver: <T extends HTMLElement>() => [RefObject<T>, Rect];
550
-
551
- type AddEventListenerType = (type: string, listener: (evt: Event) => void, options?: AddEventListenerOptions | boolean) => void;
552
- type RemoveEventListenerType = (type: string, listener: (evt: Event) => void, options?: AddEventListenerOptions | boolean) => void;
553
- declare const useEvent: <T extends Event>(eventName: Parameters<AddEventListenerType>[0], eventHandler: (event: T) => unknown, eventTarget?: unknown, eventOptions?: Parameters<RemoveEventListenerType>[2]) => void;
554
-
555
- type UseFocusTrapOptions = {
556
- disableAriaHider?: boolean;
557
- focusSelector?: HTMLElement | RefObject<HTMLElement> | string | null | undefined;
558
- };
559
- declare const useFocusTrap: (active?: boolean, options?: UseFocusTrapOptions) => (node: HTMLElement | null | undefined) => void;
560
-
561
- declare const useForceUpdate: () => (() => void);
562
-
563
- type HoverProps = {
564
- onFocus: () => void;
565
- onMouseEnter: () => void;
566
- onBlur: () => void;
567
- onMouseLeave: () => void;
568
- onMouseMove?: () => void;
569
- };
570
- declare const useIsHovered: () => [boolean, HoverProps, (hovered: boolean) => void];
571
-
572
- type KeyFilterPredicate = (evt: KeyboardEvent) => boolean;
573
- type KeyFilter = KeyFilterPredicate | boolean | string | null | undefined;
574
- type EventHandler = (event: KeyboardEvent) => unknown;
575
- type UseKeyOptions = {
576
- eventName?: string;
577
- eventTarget?: Parameters<typeof useEvent>[2];
578
- eventOptions?: Parameters<typeof useEvent>[3];
579
- };
580
- declare const useKey: (key: KeyFilter, eventHandler: EventHandler, options?: UseKeyOptions, dependencies?: unknown[]) => void;
581
-
582
- type KeyPressState = [boolean, KeyboardEvent | null];
583
- declare const useKeyPress: (keyFilter: Parameters<typeof useKey>[0]) => KeyPressState;
584
-
585
- type KeyEventHandler = (keyboardEvent: KeyboardEvent) => unknown;
586
- declare const useKeyPressOnce: (key: Parameters<typeof useKeyPress>[0], keydownHandler?: KeyEventHandler | null | undefined, keyupHandler?: KeyEventHandler | null | undefined) => void;
587
-
588
- type SetItemType = Storage['setItem'];
589
- declare const useLocalStorage: <T, _>(key: Parameters<SetItemType>[0], initialValue: T, storage?: Storage) => [T | undefined, (newValue: T) => void, () => void];
590
-
591
- type AcceptedElementTypes = HTMLElement | JSX.Element | ReactNode;
592
- type AcceptedRefs = MutableRefObject<unknown> | ((element: AcceptedElementTypes) => unknown) | null | undefined;
593
- declare const useMergedRefs: (refs: AcceptedRefs[]) => (element: AcceptedElementTypes) => void;
594
-
595
- type MediaQueryBooleans = {
596
- isXsAndUp: boolean;
597
- isSmAndUp: boolean;
598
- isMdAndUp: boolean;
599
- isLgAndUp: boolean;
600
- isXlAndUp: boolean;
601
- isXsAndDown: boolean;
602
- isSmAndDown: boolean;
603
- isMdAndDown: boolean;
604
- isLgAndDown: boolean;
605
- isXlAndDown: boolean;
606
- };
607
- declare const useMq: () => MediaQueryBooleans;
608
-
609
- declare const useOnClickOutside: (ref: RefObject<HTMLElement | null | undefined>, handler: (event: Event) => unknown) => void;
610
-
611
- declare const usePreventScroll: (locked: boolean) => void;
612
-
613
- declare const usePreviousValue: <T>(value: T) => T | undefined;
614
-
615
- declare const useTheme: <T extends DefaultTheme = DefaultTheme>() => T;
616
-
617
- type ColorKeysFromTheme<Theme extends DefaultTheme = DefaultTheme> = keyof Theme['color'];
618
- type UseThemeColor = {
619
- (): DefaultTheme['color'];
620
- <T extends DefaultTheme, K extends ColorKeysFromTheme<T>>(param: K): T['color'][K];
621
- <T extends DefaultTheme, K extends ColorKeysFromTheme<T>[]>(param: [...K]): {
622
- [I in keyof K]: T['color'][K[I] & keyof T['color']];
623
- };
624
- };
625
- declare const useThemeColor: UseThemeColor;
626
-
627
- declare const useWindowSize: (interval?: number) => {
628
- width: number;
629
- height: number;
630
- };
631
-
632
- type OnBeforeHideInterface = {
633
- shouldShowMessage: boolean;
634
- message: string;
635
- };
636
- type ModalBaseContentProps = {
637
- /**
638
- * Class name applied to the modal root
639
- */
640
- className?: string | undefined;
641
- /**
642
- * Render the modal initially in shown state
643
- */
644
- initialShownState?: boolean;
645
- /**
646
- * The modal can be dismissed via esc button
647
- */
648
- isDismissible?: boolean;
649
- /**
650
- * Callback invoked before the modal is hidden
651
- */
652
- onBeforeHide?: (() => OnBeforeHideInterface) | undefined;
653
- /**
654
- * Callback invoked when the modal is dismissed
655
- */
656
- onHide?: ((...args: unknown[]) => unknown) | undefined;
657
- /**
658
- * Callback invoked when the modal is shown
659
- */
660
- onShow?: ((...args: unknown[]) => unknown) | undefined;
661
- /**
662
- * Optional function that exposes the `hide` function at the call site allowing
663
- * the option to call the `hide` function from outside of this component
664
- */
665
- render?: (attemptHide: () => unknown) => ReactNode;
666
- /**
667
- * function(show, ref) that returns a node to open the modal
668
- */
669
- toggle?: ((show: () => unknown, toggleButtonRef?: RefObject<HTMLElement | null | undefined>) => ReactNode) | undefined;
670
- };
671
- declare const ModalBase: {
672
- (props: ModalBaseContentProps): react_jsx_runtime.JSX.Element;
673
- displayName: string;
674
- };
675
-
676
- type ActionModalProps = ComponentPropsWithoutRef<'div'> & {
677
- /**
678
- * Horizontally align modal to the left, center, or right of the container
679
- */
680
- alignHorizontal?: 'center' | 'left' | 'normal' | 'right';
681
- /**
682
- * Vertically align modal to the top, center, or bottom of the container
683
- */
684
- alignVertical?: 'bottom' | 'center' | 'normal' | 'top';
685
- /**
686
- * Buttons to be shown at the bottom of the modal
687
- */
688
- buttons?: ReactNode | ((hide: () => void) => ReactNode);
689
- /**
690
- * Contents of the modal
691
- */
692
- children?: ReactNode;
693
- /**
694
- * Class to be applied to the base element of the modal
695
- */
696
- className?: string;
697
- /**
698
- * A prop that determines whether the modal will span the entirety of the screen vertically
699
- */
700
- fullHeight?: boolean;
701
- /**
702
- * Allows user to override default icon color
703
- */
704
- closeIconColorOverride?: string;
705
- /**
706
- * Increase the zIndex of the Modal, this should be used when calling ActionModal from a Menu
707
- * this will prevent the Menu from staying above the ActionModal
708
- */
709
- elevated?: boolean;
710
- /**
711
- * Optional illustration to display alongside the modal
712
- */
713
- illustration?: ReactNode;
714
- /**
715
- * Background color that appears behind the optional illustration
716
- * Can be any css background color or "blue", "brandBlue", "green",
717
- * "pink", "purple", or "yellow" for theme colors
718
- */
719
- illustrationBackgroundColor?: string;
720
- /**
721
- * Render the modal initially in shown state
722
- */
723
- initialShownState?: boolean;
724
- /**
725
- * Allow the user to close the modal via x button or backdrop click
726
- */
727
- isDismissible?: boolean;
728
- /**
729
- * Callback invoked before the modal is hidden
730
- */
731
- onBeforeHide?: () => OnBeforeHideInterface;
732
- /**
733
- * Callback invoked when the modal is dismissed
734
- */
735
- onHide?: () => void;
736
- /**
737
- * Callback invoked when the modal is shown
738
- */
739
- onShow?: () => void;
740
- /**
741
- * Optional function that exposes the `hide` function at the call site allowing
742
- * the option to call the `hide` function from outside of this component
743
- */
744
- render?: (hide: (event?: MouseEvent) => void) => ReactNode;
745
- /**
746
- * Title to display in the modal
747
- */
748
- title: string;
749
- /**
750
- * function(show, ref) that returns a node to open the modal
751
- */
752
- toggle?: (show: () => unknown, toggleButtonRef?: RefObject<HTMLElement | null | undefined>) => ReactNode;
753
- /**
754
- * The css width property of the modal. Ex - 'max-content', '532px', '100%', etc
755
- */
756
- width?: string;
757
- };
758
- /**
759
- * @deprecated Please use Modal component, see [documentation](?path=/docs/components-modal--docs).
760
- *
761
- * #### Why ActionModal is being deprecated
762
- * ActionModal's API tightly couples the modal itself with the button or element that toggles it. This makes it difficult to
763
- * implement in several scenarios (such as within a Menu) or if it needs to be programatically opened by an external action.
764
- *
765
- * [Modal](?path=/docs/components-modal--docs) allows for a separate state control to toggle its visibility and is also more composable
766
- * allowing for more variation.
767
- */
768
- declare const ActionModal: {
769
- ({ alignHorizontal, alignVertical, buttons, children, className, elevated, fullHeight, closeIconColorOverride, illustration, illustrationBackgroundColor, initialShownState, isDismissible, onBeforeHide, onHide, onShow, render, title, toggle, width, ...otherProps }: ActionModalProps): react_jsx_runtime.JSX.Element;
770
- displayName: string;
771
- };
772
-
773
- type AvatarInstanceType = 'image' | 'initials';
774
- type AvatarProps = ComponentPropsWithoutRef<'div'> & {
775
- /**
776
- * The height and width of the avatar
777
- */
778
- heightAndWidth?: number;
779
- /**
780
- * The URL of the image to display
781
- */
782
- imageUrl?: string | null;
783
- /**
784
- * Initials to display if no image is provided
785
- *
786
- * _note: only first initial shown regardless of characters provided_
787
- */
788
- initials?: string | null;
789
- /**
790
- * A string that will deterministicly set the background color of the avatar
791
- */
792
- name?: string | null;
793
- /**
794
- * A callback that is invoked after the image has loaded or failed to load
795
- */
796
- onImageLoad?: (avatarType: AvatarInstanceType) => void;
797
- };
798
- declare const Avatar: {
799
- ({ imageUrl, heightAndWidth, initials, name, onImageLoad, ...otherProps }: AvatarProps): JSX.Element;
800
- displayName: string;
801
- };
802
-
803
- declare const alignVerticalMap: {
804
- normal: string;
805
- top: string;
806
- center: string;
807
- bottom: string;
808
- };
809
- declare const alignHorizontalMap: {
810
- normal: string;
811
- left: string;
812
- center: string;
813
- right: string;
814
- };
815
- type BackdropProps = ComponentPropsWithoutRef<'div'> & {
816
- /**
817
- * Optional prop to align the child content along the horizontal axis
818
- */
819
- alignHorizontal?: keyof typeof alignHorizontalMap;
820
- /**
821
- * Optional prop to align the child content along the vertical axis
822
- */
823
- alignVertical?: keyof typeof alignVerticalMap;
824
- /**
825
- * Color of the backdrop
826
- */
827
- backgroundColor?: string;
828
- /**
829
- * Pass an arbitrary child node
830
- */
831
- children?: ReactNode;
832
- /**
833
- * increase the z-index (workaround for ActionModals called within Menu)
834
- */
835
- elevated?: boolean;
836
- };
837
- declare const Backdrop: {
838
- ({ alignHorizontal, alignVertical, backgroundColor, children, elevated, ...otherProps }: BackdropProps): JSX.Element;
839
- displayName: string;
840
- };
841
-
842
- type OverflowObject = {
843
- horizontal: string;
844
- vertical: string;
845
- };
846
- type BackgroundImageProps = Omit<ComponentPropsWithoutRef<'img'>, 'src'> & {
847
- /**
848
- * The content that will be rendered inside
849
- */
850
- children?: ReactNode;
851
- /**
852
- * Sets whether a background image's position is fixed within the viewport,
853
- * or scrolls with its containing block. [Read more](https://developer.mozilla.org/en-US/docs/Web/CSS/background-attachment).
854
- */
855
- attachment?: string;
856
- /**
857
- * Sets whether an element's background extends underneath its border box,
858
- * padding box, or content box. [Read more](https://developer.mozilla.org/en-US/docs/Web/CSS/background-clip).
859
- */
860
- clip?: string;
861
- /**
862
- * Color (as hex) of the component
863
- */
864
- color?: string | undefined;
865
- /**
866
- * Height of the component
867
- */
868
- height?: string;
869
- /**
870
- * Sets the background's origin: from the border start, inside the border, or inside the padding.
871
- * _Note: origin is ignored when attachment is `fixed`._
872
- * [Read more](https://developer.mozilla.org/en-US/docs/Web/CSS/background-origin).
873
- */
874
- origin?: string;
875
- /**
876
- * Sets the desired behavior for an element's overflow (i.e. when an element's content is
877
- * too big to fit in its block formatting context).
878
- * [Read more](https://developer.mozilla.org/en-US/docs/Web/CSS/overflow).
879
- */
880
- overflow?: OverflowObject | string;
881
- /**
882
- * Sets the initial position for each image; relative to the position layer
883
- * set by origin. [Read more](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position).
884
- */
885
- position?: string;
886
- /**
887
- * Sets how background images are repeated.
888
- * [Read more](https://developer.mozilla.org/en-US/docs/Web/CSS/background-repeat).
889
- */
890
- repeat?: string;
891
- /**
892
- * Sets the size of the element's background image.
893
- * [Read more](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size).
894
- */
895
- size?: string;
896
- /**
897
- * URL(s) to image file
898
- */
899
- src?: string[] | string;
900
- /**
901
- * Width of the component
902
- */
903
- width?: string;
904
- };
905
- declare const BackgroundImage: {
906
- ({ children, attachment: bgAttachment, clip: bgClip, color: bgColor, height: elHeight, origin: bgOrigin, overflow: elOverflow, position: bgPosition, repeat: bgRepeat, size: bgSize, src: bgImage, width: elWidth, ...otherProps }: BackgroundImageProps): react_jsx_runtime.JSX.Element;
907
- displayName: string;
908
- };
909
-
910
- declare const iconMap: {
911
- 'ab-test': string;
912
- 'all-content': string;
913
- archived: string;
914
- 'arrow-down': string;
915
- 'arrow-left': string;
916
- 'arrow-right': string;
917
- 'arrow-up': string;
918
- asterisk: string;
919
- audience: string;
920
- calendar: string;
921
- camera: string;
922
- 'caret-down': string;
923
- 'caret-left': string;
924
- 'caret-right': string;
925
- 'caret-up': string;
926
- channel: string;
927
- checkmark: string;
928
- 'checkmark-circle': string;
929
- 'checkmark-circle-outline': string;
930
- 'checkmark-circle-three-quarters': string;
931
- 'checkmark-underlined': string;
932
- close: string;
933
- 'close-circle': string;
934
- 'collect-video': string;
935
- collection: string;
936
- comment: string;
937
- community: string;
938
- 'contact-us': string;
939
- copy: string;
940
- 'copy-disabled': string;
941
- create: string;
942
- delete: string;
943
- 'delete-sm': string;
944
- 'dottie-clock': string;
945
- download: string;
946
- draggable: string;
947
- edit: string;
948
- ellipsis: string;
949
- 'ellipsis-vertical': string;
950
- embed: string;
951
- episodes: string;
952
- error: string;
953
- expand: string;
954
- export: string;
955
- favorite: string;
956
- 'favorite-outline': string;
957
- filter: string;
958
- gear: string;
959
- 'getting-started': string;
960
- globe: string;
961
- 'grid-view': string;
962
- 'group-record': string;
963
- hamburger: string;
964
- hazard: string;
965
- 'help-center': string;
966
- hide: string;
967
- home: string;
968
- hourglass: string;
969
- import: string;
970
- info: string;
971
- integrations: string;
972
- invite: string;
973
- 'invite-to-record': string;
974
- 'lightning-bolt': string;
975
- link: string;
976
- 'list-view': string;
977
- live: string;
978
- lock: string;
979
- logout: string;
980
- media: string;
981
- megaphone: string;
982
- 'more-options': string;
983
- 'open-new': string;
984
- overview: string;
985
- paint: string;
986
- pencil: string;
987
- play: string;
988
- playlist: string;
989
- podcast: string;
990
- preview: string;
991
- 'private-user-sessions': string;
992
- project: string;
993
- 'question-mark': string;
994
- react: string;
995
- record: string;
996
- redo: string;
997
- 'remove-from-channel': string;
998
- replace: string;
999
- reply: string;
1000
- 'save-copy': string;
1001
- scissors: string;
1002
- search: string;
1003
- send: string;
1004
- settings: string;
1005
- share: string;
1006
- soapbox: string;
1007
- sort: string;
1008
- sparkle: string;
1009
- spinner: string;
1010
- stats: string;
1011
- 'switch-accounts': string;
1012
- tag: string;
1013
- team: string;
1014
- 'thumbs-down': string;
1015
- 'thumbs-up': string;
1016
- triangle: string;
1017
- undo: string;
1018
- unlock: string;
1019
- upload: string;
1020
- 'users-permissions': string;
1021
- 'view-stream': string;
1022
- wand: string;
1023
- 'zoom-in': string;
1024
- 'zoom-out': string;
1025
- };
1026
- type IconNameType = keyof typeof iconMap;
1027
-
1028
- type BadgeColorScheme = 'brandBlue' | 'error' | 'green' | 'grey' | 'orange' | 'pink' | 'purple' | 'red' | 'success' | 'warning' | 'yellow';
1029
- type BadgeProps = ComponentPropsWithoutRef<'div'> & {
1030
- /**
1031
- * The color scheme to use for the badge
1032
- */
1033
- colorScheme?: BadgeColorScheme;
1034
- /**
1035
- * The icon to display in the badge
1036
- */
1037
- icon?: IconNameType;
1038
- /**
1039
- * The text to display in the badge
1040
- */
1041
- label: string;
1042
- };
1043
- declare const Badge: {
1044
- ({ colorScheme, label, icon, ...otherProps }: BadgeProps): JSX.Element;
1045
- displayName: string;
1046
- };
1047
-
1048
- type BannerProps = ComponentPropsWithoutRef<'div'> & {
1049
- /**
1050
- * color string
1051
- */
1052
- backgroundColor?: string;
1053
- /**
1054
- * Pass an arbitrary child node
1055
- */
1056
- children?: ReactNode;
1057
- /**
1058
- * icon name from the icon library to be displayed on left side of banner
1059
- */
1060
- icon?: ReactNode;
1061
- };
1062
- declare const Banner: {
1063
- ({ backgroundColor, icon, children, ...otherProps }: BannerProps): react_jsx_runtime.JSX.Element;
1064
- Body: ({ children }: {
1065
- children?: ReactNode;
1066
- }) => react_jsx_runtime.JSX.Element;
1067
- RightGutter: ({ verticalAlign, children }: {
1068
- children?: ReactNode;
1069
- verticalAlign?: string;
1070
- }) => react_jsx_runtime.JSX.Element;
1071
- Title: ({ children }: {
1072
- children?: ReactNode;
1073
- }) => react_jsx_runtime.JSX.Element;
1074
- displayName: string;
1075
- };
1076
-
1077
- type Gap = {
1078
- column: number | string;
1079
- row: number | string;
1080
- };
1081
- type BoxProps = ComponentPropsWithoutRef<'div'> & {
1082
- /**
1083
- * Specifies how the browser distributes space between and around
1084
- * items along the cross-axis of their container; has no effect on
1085
- * single line flexible boxes
1086
- */
1087
- alignContent?: 'around' | 'between' | 'center' | 'end' | 'start' | 'stretch';
1088
- /**
1089
- * Specifies how the browser distributes space between and around
1090
- * items along the cross-axis of their container; the difference
1091
- * to the alignContent prop is that alignItems specifies the
1092
- * alignment of the items within the current container's line,
1093
- * whereas alignContent specifies the alignment of the lines themselves
1094
- */
1095
- alignItems?: 'baseline' | 'center' | 'end' | 'start' | 'stretch';
1096
- /**
1097
- * Specifies how the browser aligns items of the current line, overriding the
1098
- * alignItems value of parent; if any of the item's cross-axis margin is set to auto,
1099
- * then alignSelf is ignored
1100
- *
1101
- * *Note: only works for nested `<Box />`*
1102
- */
1103
- alignSelf?: 'auto' | 'baseline' | 'center' | 'end' | 'start' | 'stretch';
1104
- /**
1105
- * Specifies the initial main size of an item
1106
- *
1107
- * *Note: only works for nested `<Box />`*
1108
- */
1109
- basis?: number | string;
1110
- /**
1111
- * Pass an arbitrary child node
1112
- */
1113
- children?: ReactNode;
1114
- /**
1115
- * Specifies the main axis of the container
1116
- */
1117
- direction?: 'column-reverse' | 'column' | 'row-reverse' | 'row';
1118
- /**
1119
- * Specifies whether the width and/or height should fill the container
1120
- */
1121
- fill?: boolean | 'horizontal' | 'vertical';
1122
- /**
1123
- * Specifies whether the width and/or height should fill the viewport
1124
- */
1125
- fillViewport?: boolean | 'horizontal' | 'vertical';
1126
- /**
1127
- * Specifies the gaps (gutters) between rows and columns
1128
- */
1129
- gap?: Gap | number | string;
1130
- /**
1131
- * Specifies what amount of space inside the flex container the item should take up
1132
- *
1133
- * *Note: only works for nested `<Box />`*
1134
- */
1135
- grow?: number;
1136
- /**
1137
- * Make Layout behave like an inline element but still lay out its content according to flexbox model
1138
- */
1139
- inline?: boolean;
1140
- /**
1141
- * Specifies how the browser distributes space between and around
1142
- * items along the main axis of their container
1143
- */
1144
- justifyContent?: 'around' | 'between' | 'center' | 'end' | 'evenly' | 'start';
1145
- /**
1146
- * Specifies the order used to lay out an item in its container. Items within the same
1147
- * container are rendered in ascending order according to their order values.
1148
- * Elements with the _same_ order value are rendered in the order in which they appear in code
1149
- *
1150
- * *Note: only works for nested `<Box />`*
1151
- */
1152
- order?: number | 'inherit' | 'initial' | 'unset';
1153
- /**
1154
- * The DOM tag to use for the element
1155
- */
1156
- renderAs?: keyof JSX.IntrinsicElements;
1157
- /**
1158
- * Specifies how items will shrink inside the container when the default size of
1159
- * items is larger than their container
1160
- *
1161
- * *Note: only works for nested `<Box />`*
1162
- */
1163
- shrink?: number;
1164
- /**
1165
- * Specifies whether items are forced into a single line or can be wrapped onto multiple lines
1166
- */
1167
- wrapItems?: boolean;
1168
- };
1169
- declare const Box: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
1170
- /**
1171
- * Specifies how the browser distributes space between and around
1172
- * items along the cross-axis of their container; has no effect on
1173
- * single line flexible boxes
1174
- */
1175
- alignContent?: "around" | "between" | "center" | "end" | "start" | "stretch";
1176
- /**
1177
- * Specifies how the browser distributes space between and around
1178
- * items along the cross-axis of their container; the difference
1179
- * to the alignContent prop is that alignItems specifies the
1180
- * alignment of the items within the current container's line,
1181
- * whereas alignContent specifies the alignment of the lines themselves
1182
- */
1183
- alignItems?: "baseline" | "center" | "end" | "start" | "stretch";
1184
- /**
1185
- * Specifies how the browser aligns items of the current line, overriding the
1186
- * alignItems value of parent; if any of the item's cross-axis margin is set to auto,
1187
- * then alignSelf is ignored
1188
- *
1189
- * *Note: only works for nested `<Box />`*
1190
- */
1191
- alignSelf?: "auto" | "baseline" | "center" | "end" | "start" | "stretch";
1192
- /**
1193
- * Specifies the initial main size of an item
1194
- *
1195
- * *Note: only works for nested `<Box />`*
1196
- */
1197
- basis?: number | string;
1198
- /**
1199
- * Pass an arbitrary child node
1200
- */
1201
- children?: ReactNode;
1202
- /**
1203
- * Specifies the main axis of the container
1204
- */
1205
- direction?: "column-reverse" | "column" | "row-reverse" | "row";
1206
- /**
1207
- * Specifies whether the width and/or height should fill the container
1208
- */
1209
- fill?: boolean | "horizontal" | "vertical";
1210
- /**
1211
- * Specifies whether the width and/or height should fill the viewport
1212
- */
1213
- fillViewport?: boolean | "horizontal" | "vertical";
1214
- /**
1215
- * Specifies the gaps (gutters) between rows and columns
1216
- */
1217
- gap?: Gap | number | string;
1218
- /**
1219
- * Specifies what amount of space inside the flex container the item should take up
1220
- *
1221
- * *Note: only works for nested `<Box />`*
1222
- */
1223
- grow?: number;
1224
- /**
1225
- * Make Layout behave like an inline element but still lay out its content according to flexbox model
1226
- */
1227
- inline?: boolean;
1228
- /**
1229
- * Specifies how the browser distributes space between and around
1230
- * items along the main axis of their container
1231
- */
1232
- justifyContent?: "around" | "between" | "center" | "end" | "evenly" | "start";
1233
- /**
1234
- * Specifies the order used to lay out an item in its container. Items within the same
1235
- * container are rendered in ascending order according to their order values.
1236
- * Elements with the _same_ order value are rendered in the order in which they appear in code
1237
- *
1238
- * *Note: only works for nested `<Box />`*
1239
- */
1240
- order?: number | "inherit" | "initial" | "unset";
1241
- /**
1242
- * The DOM tag to use for the element
1243
- */
1244
- renderAs?: keyof JSX.IntrinsicElements;
1245
- /**
1246
- * Specifies how items will shrink inside the container when the default size of
1247
- * items is larger than their container
1248
- *
1249
- * *Note: only works for nested `<Box />`*
1250
- */
1251
- shrink?: number;
1252
- /**
1253
- * Specifies whether items are forced into a single line or can be wrapped onto multiple lines
1254
- */
1255
- wrapItems?: boolean;
1256
- } & react.RefAttributes<HTMLDivElement>>;
1257
-
1258
- type BreaklineProps = ComponentPropsWithoutRef<'div'> & {
1259
- /**
1260
- * The text that will be broken onto a new line
1261
- */
1262
- children: ReactNode;
1263
- /**
1264
- * Use a hyphen before breaking
1265
- */
1266
- hyphenated?: boolean;
1267
- };
1268
- declare const Breakline: {
1269
- ({ children, hyphenated, ...otherProps }: BreaklineProps): JSX.Element;
1270
- displayName: string;
1271
- };
1272
-
1273
- type TextAlignValues = 'center' | 'left' | 'right';
1274
- type ButtonProps = ComponentPropsWithRef<'button'> & {
1275
- /**
1276
- * Text that appears inside of the button *THIS WILL OVERRIDE THE LABEL PROP*
1277
- */
1278
- children?: ReactNode;
1279
- /**
1280
- * Allows user to override default button colors
1281
- */
1282
- colorOverride?: string;
1283
- /**
1284
- * Disables button
1285
- */
1286
- disabled?: boolean;
1287
- /**
1288
- * @ignore
1289
- * Force a button into a particular css state (for debugging)
1290
- */
1291
- forceState?: 'active' | 'focus' | 'hover' | undefined;
1292
- /**
1293
- * Is the button full-width?
1294
- */
1295
- fullWidth?: boolean;
1296
- /**
1297
- * An SVG component
1298
- */
1299
- icon?: ReactNode;
1300
- /**
1301
- * The "type" name of a VHS icon. *THIS WILL OVERRIDE ANY ICON PROP PASSED*
1302
- */
1303
- iconName?: keyof typeof iconMap;
1304
- /**
1305
- * Should the icon appear at the start of the button or the end?
1306
- */
1307
- iconPosition?: 'end' | 'start';
1308
- /**
1309
- * Show a spinner when the button is in a loading state
1310
- */
1311
- isLoading?: boolean;
1312
- /**
1313
- * Text that appears inside the button
1314
- */
1315
- label?: string;
1316
- /**
1317
- * Should the label wrap if the button container is too narrow to fit the label text on one line
1318
- * @deprecated Apply white-space styling as needed
1319
- */
1320
- labelWrap?: boolean;
1321
- /**
1322
- * Provides a button without any styling (useful for wrapping another element)
1323
- */
1324
- noStyle?: boolean;
1325
- /**
1326
- * Callback function invoked when the button is clicked
1327
- */
1328
- onClick?: ((event: MouseEvent) => ReactNode) | ((event: MouseEvent) => void) | undefined;
1329
- /**
1330
- * The size of button to display
1331
- */
1332
- size?: 'lg' | 'md' | 'sm';
1333
- /**
1334
- * If true then rounded corners will be squared
1335
- */
1336
- square?: boolean;
1337
- /**
1338
- * Alignment of the button label
1339
- */
1340
- textAlign?: TextAlignValues;
1341
- /**
1342
- * The type of button element that should be rendered
1343
- */
1344
- type?: 'button' | 'reset' | 'submit';
1345
- /**
1346
- * The visual type of button to display
1347
- */
1348
- variant?: 'dangerous' | 'primary' | 'secondary' | 'tertiary';
1349
- };
1350
- declare const Button: react.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
1351
-
1352
- type ButtonGroupProps = ComponentPropsWithoutRef<'div'> & {
1353
- /**
1354
- * Align buttons to the left or right of their container
1355
- */
1356
- align?: 'center' | 'left' | 'right';
1357
- /**
1358
- * Buttons that will be rendered in grouping
1359
- */
1360
- children?: ReactNode;
1361
- /**
1362
- * Force ButtonGroup to fill the width of it's container
1363
- */
1364
- fullWidth?: boolean;
1365
- };
1366
- declare const ButtonGroup: {
1367
- ({ children, align, fullWidth, ...otherProps }: ButtonGroupProps): JSX.Element | null;
1368
- displayName: string;
1369
- };
1370
-
1371
- type ButtonLinkProps = ComponentPropsWithRef<'a'> & {
1372
- /**
1373
- * A Promise to invoke before navigating to location.
1374
- * _Caution: if used with `external` type prop a new window will **not** be opened_
1375
- */
1376
- beforeAction?: () => unknown;
1377
- /**
1378
- * The content that will be rendered inside the button
1379
- */
1380
- children?: ReactNode;
1381
- /**
1382
- * Option CSS color string
1383
- */
1384
- colorOverride?: string;
1385
- /**
1386
- * Disables Link
1387
- */
1388
- disabled?: boolean;
1389
- /**
1390
- * @ignore
1391
- * Force a Link into a particular css state (for debugging)
1392
- */
1393
- forceState?: 'active' | 'focus' | 'hover';
1394
- /**
1395
- * Is the button full-width?
1396
- */
1397
- fullWidth?: boolean;
1398
- /**
1399
- * The entity to link to (url, email address, telephone number)
1400
- */
1401
- href: string;
1402
- /**
1403
- * An SVG component
1404
- */
1405
- icon?: ReactNode;
1406
- /**
1407
- * The "type" name of a VHS icon. *THIS WILL OVERRIDE ANY ICON PROP PASSED*
1408
- */
1409
- iconName?: keyof typeof iconMap;
1410
- /**
1411
- * Should the icon appear at the start of the button or the end?
1412
- */
1413
- iconPosition?: 'end' | 'start';
1414
- /**
1415
- * Text that appears inside the button
1416
- */
1417
- label?: string;
1418
- /**
1419
- * Should the label wrap if the button container is too narrow to fit the label text on one line
1420
- */
1421
- labelWrap?: boolean;
1422
- /**
1423
- * An object that will be converted into a search parameter string and appended to
1424
- * the `to` prop value
1425
- */
1426
- params?: Record<string, string>;
1427
- /**
1428
- * The size of button to display
1429
- */
1430
- size?: 'lg' | 'md' | 'sm';
1431
- /**
1432
- * If true, rounded corners are disabled
1433
- */
1434
- square?: boolean;
1435
- /**
1436
- * Alignment of the button label
1437
- */
1438
- textAlign?: TextAlignValues;
1439
- /**
1440
- * Type of link to display
1441
- *
1442
- * * `email` creates a mailto
1443
- * * `phone` creates a telephone number
1444
- * * `external` will open links in a new window
1445
- */
1446
- type?: 'default' | 'email' | 'external' | 'phone';
1447
- /**
1448
- * The visual type of button to display
1449
- */
1450
- variant?: 'dangerous' | 'primary' | 'secondary' | 'tertiary';
1451
- };
1452
- /**
1453
- * The `ButtonLink` component is useful for getting the functionality of a
1454
- * `Link` with the styling of a `Button`.
1455
- *
1456
- * A useful heuristic for using this component: Do you have an `href`? Some of the advantages are having a right-click
1457
- * context menu available opening a new tab, and copying the URL.
1458
- *
1459
- * **Note:** the props table below is incomplete; please
1460
- * refer to [Link](?path=/docs/link--link-stories) for additional props.
1461
- */
1462
- declare const ButtonLink: react.ForwardRefExoticComponent<Omit<ButtonLinkProps, "ref"> & react.RefAttributes<unknown>>;
1463
-
1464
- type CheckboxProps = Omit<ComponentPropsWithRef<'label'>, 'onChange'> & {
1465
- /**
1466
- * Indicates the state of the checkbox
1467
- */
1468
- checked?: boolean;
1469
- /**
1470
- * Should the radio buttons be displayed vertically as a column or horizontally as a row
1471
- */
1472
- direction?: 'column' | 'row';
1473
- /**
1474
- * Disables checkbox
1475
- */
1476
- disabled?: boolean;
1477
- /**
1478
- * @ignore
1479
- * Force a Checkbox into a particular css state (for debugging)
1480
- */
1481
- forceState?: 'focus' | 'hover';
1482
- /**
1483
- * Indicates that there is an error with the input
1484
- */
1485
- hasError?: boolean;
1486
- /**
1487
- * Provides an ID for the checkbox
1488
- */
1489
- id?: string;
1490
- /**
1491
- * The label for the checkbox
1492
- */
1493
- label?: JSX.Element | string | undefined;
1494
- /**
1495
- * The description for the checkbox
1496
- */
1497
- labelDescription?: JSX.Element | string | undefined;
1498
- /**
1499
- * Should match the ID attribute of the checkbox.
1500
- * Can be used to group together multiple checkboxes
1501
- */
1502
- name?: string;
1503
- /**
1504
- * Callback function invoked when the checkbox value changes
1505
- */
1506
- onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
1507
- /**
1508
- * Make Input a required element
1509
- */
1510
- required?: boolean;
1511
- /**
1512
- * The value attribute of the checkbox
1513
- */
1514
- value?: string;
1515
- };
1516
- declare const Checkbox: react.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & react.RefAttributes<HTMLLabelElement>>;
1517
-
1518
- type CheckboxPropsWithName = Omit<CheckboxProps, 'name'> & {
1519
- name: string;
1520
- };
1521
- type CheckboxGroupProps = Omit<ComponentPropsWithoutRef<'div'>, 'onChange'> & {
1522
- /**
1523
- * Should the radio buttons be displayed vertically as a column or horizontally as a row
1524
- */
1525
- direction?: 'column' | 'row';
1526
- /**
1527
- * Whether CheckboxGroup is disabled
1528
- */
1529
- disabled?: boolean;
1530
- /**
1531
- * Error message to be displayed
1532
- */
1533
- error?: string | undefined;
1534
- /**
1535
- * The label for the form field
1536
- */
1537
- label?: JSX.Element | string | undefined;
1538
- /**
1539
- * The hint/helper text under the label
1540
- */
1541
- labelDescription?: JSX.Element | string | undefined;
1542
- /**
1543
- * Props that are passed through to the underlying `<Label>` component
1544
- */
1545
- labelProps?: {
1546
- disabled?: boolean;
1547
- screenReaderOnly?: boolean;
1548
- };
1549
- /**
1550
- * Name of the form element
1551
- */
1552
- name: string;
1553
- /**
1554
- * Callback function invoked when the value changes
1555
- */
1556
- onChange?: (event: ChangeEvent<HTMLInputElement>, name: string) => unknown;
1557
- /**
1558
- * Array of checkbox attributes
1559
- */
1560
- options: CheckboxPropsWithName[];
1561
- /**
1562
- * Currently selected checkbox value
1563
- */
1564
- value?: string[] | boolean | undefined;
1565
- };
1566
- declare const CheckboxGroup: {
1567
- ({ direction, disabled, error, label, labelDescription, labelProps, name, onChange, options, value, ...otherProps }: CheckboxGroupProps): JSX.Element;
1568
- displayName: string;
1569
- };
1570
-
1571
- type ClickAreaProps = ComponentPropsWithRef<'div'> & {
1572
- /**
1573
- * Supply an element or Component to render as the root compoennt (default is div)
1574
- */
1575
- renderAs?: ElementType;
1576
- /**
1577
- * The content within the clickarea
1578
- */
1579
- children: ReactNode;
1580
- /**
1581
- * If provided, this click event happens instead of the target ref's click event
1582
- */
1583
- onClick?: (event: Event) => void;
1584
- /**
1585
- * A ref to the element within chldren that will be used as the target of the click event
1586
- * Should typically be a button or link
1587
- */
1588
- targetRef: RefObject<HTMLElement | null>;
1589
- };
1590
- /**
1591
- * ClickArea is useful when you want an entire element to be clickable, such as a card or an item in a list. Making the
1592
- * entire element clickable provides a better click target for users, especially on mobile devices. The problem with this is
1593
- * clickable divs are not accessible or tabbable. Using a `button` or `a` tag causes both styling and screenreader problems.
1594
- *
1595
- * To solve these issues, `ClickArea` maps a click event on the container element to a click event on a button or link within
1596
- * it, via a ref. Assistive devices can utilize the target element and ignore the container element's click property.
1597
- *
1598
- * ClickArea also makes having interactive elements within the clickable container easier. For example, if you have a card element
1599
- * that is clickable but with a "close" button in the top right, include `event.preventDefault()` in the close button's click handler
1600
- * to prevent the container's click handler from firing.
1601
- *
1602
- */
1603
- declare const ClickArea: react.ForwardRefExoticComponent<Omit<ClickAreaProps, "ref"> & react.RefAttributes<HTMLElement>>;
1604
-
1605
- type CloseButtonProps = ComponentPropsWithoutRef<'button'> & {
1606
- /**
1607
- * Callback function invoked when the button is clicked
1608
- */
1609
- onClick?: () => void;
1610
- };
1611
- declare const CloseButton: {
1612
- ({ onClick, ...otherProps }: CloseButtonProps): JSX.Element;
1613
- displayName: string;
1614
- };
1615
-
1616
- declare const VARIANT_BRAND_BLUE = "brandblue";
1617
- declare const CARET_DIRECTION_UP = "up";
1618
- declare const CARET_DIRECTION_DOWN = "down";
1619
- declare const CARET_DIRECTION_LEFT = "left";
1620
- declare const CARET_DIRECTION_RIGHT = "right";
1621
- type CollapsibleGroupProps = {
1622
- /**
1623
- * Slot for adjacent options
1624
- */
1625
- actions?: ReactNode;
1626
- /**
1627
- * Custom background color
1628
- */
1629
- backgroundColor?: string;
1630
- /**
1631
- * Custom direction of the caret when open or closed
1632
- */
1633
- caretDirection?: {
1634
- closed: typeof CARET_DIRECTION_DOWN | typeof CARET_DIRECTION_LEFT | typeof CARET_DIRECTION_RIGHT | typeof CARET_DIRECTION_UP;
1635
- open: typeof CARET_DIRECTION_DOWN | typeof CARET_DIRECTION_LEFT | typeof CARET_DIRECTION_RIGHT | typeof CARET_DIRECTION_UP;
1636
- };
1637
- /**
1638
- * Toggleable contents
1639
- */
1640
- children?: ReactNode;
1641
- /**
1642
- * Optional CSS padding to be applied to the content container
1643
- */
1644
- contentPadding?: string | null;
1645
- /**
1646
- * The control has a caret by default. Set this to true to suppress the caret
1647
- */
1648
- hideCaret?: boolean;
1649
- /**
1650
- * Optional ID attribute
1651
- */
1652
- id?: string;
1653
- /**
1654
- * Control the initial open state. If not provided, the default is to start closed.
1655
- */
1656
- isOpen?: boolean;
1657
- /**
1658
- * Clickable text label for the control, or perhaps an inline editable
1659
- * control? Whatever suits you */
1660
- label?: ReactNode | (({ open, caret }: {
1661
- open: boolean;
1662
- caret: JSX.Element;
1663
- }) => ReactNode);
1664
- /**
1665
- * Choose on which side the caret shows
1666
- */
1667
- layout?: 'leading' | 'trailing';
1668
- /**
1669
- * Callback function invoked when the button is clicked
1670
- */
1671
- onClick?: () => unknown;
1672
- /**
1673
- * Callback function invoked when the open state changes
1674
- */
1675
- onOpenChange?: (newOpen: boolean) => unknown;
1676
- /**
1677
- * Extra actions are hidden by default and shown on hover. Set this to false
1678
- * to make always visible
1679
- */
1680
- showActionsOnHover?: boolean;
1681
- /**
1682
- * Display the open / close transition animation
1683
- */
1684
- showTransition?: boolean;
1685
- /**
1686
- * Changes the styling of the collapsible group banner when active
1687
- */
1688
- variant?: typeof VARIANT_BRAND_BLUE;
1689
- };
1690
- declare const CollapsibleGroup: {
1691
- ({ actions, backgroundColor, caretDirection, children, contentPadding, hideCaret, id, isOpen, label, layout, onOpenChange, showActionsOnHover, showTransition, variant, ...otherProps }: CollapsibleGroupProps): react_jsx_runtime.JSX.Element;
1692
- displayName: string;
1693
- };
1694
-
1695
- type DividerProps = ComponentPropsWithoutRef<'hr'> & {
1696
- /**
1697
- * Allows user to override default divider color
1698
- */
1699
- colorOverride?: string;
1700
- /**
1701
- * Height (in pixels) of divider
1702
- */
1703
- height?: number;
1704
- /**
1705
- * The visual type of divider to display
1706
- */
1707
- variant?: 'dashed' | 'solid';
1708
- };
1709
- declare const Divider: {
1710
- ({ colorOverride, height, variant, ...otherProps }: DividerProps): JSX.Element;
1711
- displayName: string;
1712
- };
1713
-
1714
- declare const ellipsisStyle: styled_components.FlattenSimpleInterpolation;
1715
- declare const ellipsisFlexParentStyle: styled_components.FlattenSimpleInterpolation;
1716
- type EllipsisProps = ComponentPropsWithoutRef<'div'> & {
1717
- /**
1718
- * The text that will be truncated with an ellipsis
1719
- */
1720
- children?: ReactNode;
1721
- /**
1722
- * The number that will be truncated with an ellipsis
1723
- */
1724
- lines?: number;
1725
- };
1726
- declare const Ellipsis: {
1727
- ({ children, lines, ...otherProps }: EllipsisProps): JSX.Element;
1728
- displayName: string;
1729
- };
1730
-
1731
- type FileSelectProps = {
1732
- /**
1733
- * Allowlist of file types that the server will accept
1734
- * (see: <a href="https://developer.mozilla.org/en/docs/Web/HTML/Element/input#attr-accept">file input docs</a>)
1735
- */
1736
- accept: string;
1737
- /**
1738
- * Pass an arbitrary child node
1739
- */
1740
- children: ReactNode;
1741
- /**
1742
- * Disable the input. <em>Note: Does not "disable" the child component, only the hidden input</em>
1743
- */
1744
- disabled?: boolean;
1745
- /**
1746
- * ID of the input
1747
- */
1748
- id: string;
1749
- /**
1750
- * File size limit specified in MB
1751
- */
1752
- maxSize?: number;
1753
- /**
1754
- * Allow multiple files to be selected
1755
- */
1756
- multiple?: boolean;
1757
- /**
1758
- * Name of the input
1759
- */
1760
- name?: string;
1761
- /**
1762
- * Callback invoked when file has been selected
1763
- */
1764
- onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
1765
- /**
1766
- * Callback invoked when the file input is clicked (before the file has been selected)
1767
- */
1768
- onClick?: (...args: unknown[]) => unknown;
1769
- /**
1770
- * Callback invoked when there is an error selecting file(s)
1771
- */
1772
- onError?: (error: Error) => void;
1773
- };
1774
- declare const FileSelect: react.ForwardRefExoticComponent<FileSelectProps & react.RefAttributes<HTMLInputElement>>;
1775
-
1776
- type ValuesType = Record<string, unknown>;
1777
- type Values = Record<string, unknown>;
1778
- type FormState = FormikProps<Values>;
1779
- type FormProps = {
1780
- /**
1781
- * Pass an arbitrary child node
1782
- */
1783
- children?: ReactNode;
1784
- /**
1785
- * Class(es) to be applied to formik container
1786
- */
1787
- className?: string;
1788
- /**
1789
- * Unique ID for Form, used for React Testing Library
1790
- */
1791
- formId: string;
1792
- /**
1793
- * Ref required to be ref of FormGlobalError. Simply assign `const globalErrorRef = useRef(null)`. Either a function or the instance of a DOM native element.
1794
- */
1795
- globalErrorRef: RefObject<HTMLElement | null | undefined>;
1796
- /**
1797
- * Form input values on initial load, often populated from server
1798
- */
1799
- initialValues: ValuesType;
1800
- /**
1801
- * Ref to access the form's state and API
1802
- */
1803
- innerRef?: React.Ref<FormState>;
1804
- /**
1805
- * On-submit callback
1806
- */
1807
- onSubmit: (values: Record<string, unknown>, ref: FormikHelpers<Values>) => unknown;
1808
- /**
1809
- * On form submission with errors (isValid=false), scroll to GlobalError section
1810
- */
1811
- scrollToFormErrorsOnSubmit?: boolean;
1812
- /**
1813
- * On-validate callback, params include values, and the rest of the form state params available in [Formik](https://jaredpalmer.com/formik/docs/api/formik#props-1)
1814
- */
1815
- shareFormContext?: (props: FormikProps<Values>) => unknown;
1816
- /**
1817
- * Show a top-level rundown of all the errors in the form
1818
- */
1819
- showGlobalError?: boolean;
1820
- /**
1821
- * Style object applied to Form component
1822
- */
1823
- style?: Record<string, string>;
1824
- /**
1825
- * Should form submit when an input's onChange is invoked?
1826
- */
1827
- submitOnChange?: boolean;
1828
- /**
1829
- * Validate function passed to formik
1830
- */
1831
- validate?: (values: Values) => Promise<FormikErrors<Values>> | object | void;
1832
- /**
1833
- * Should form run validate function on form blur?
1834
- */
1835
- validateOnBlur?: boolean;
1836
- /**
1837
- * Should form run validate function on form change?
1838
- */
1839
- validateOnChange?: boolean;
1840
- /**
1841
- * __[`yup` schema](https://github.com/jquense/yup#yup)__
1842
- */
1843
- validationSchema?: ValidationSchemaType;
1844
- };
1845
- type ValidationSchemaType = {
1846
- fields: Record<string, unknown>;
1847
- };
1848
- declare const Form: {
1849
- ({ children, className, formId, initialValues, onSubmit, scrollToFormErrorsOnSubmit, shareFormContext, style, submitOnChange, validate, validateOnBlur, validateOnChange, validationSchema, globalErrorRef, showGlobalError, innerRef, }: FormProps): react_jsx_runtime.JSX.Element;
1850
- displayName: string;
1851
- };
1852
-
1853
- type ButtonsType = {
1854
- [key: string]: unknown;
1855
- name: string;
1856
- type?: 'button' | 'reset' | 'submit' | undefined;
1857
- };
1858
- type FormButtonsProps = {
1859
- /**
1860
- * Align button left (typically on a page) or right (typically on a modal).
1861
- */
1862
- align?: 'left' | 'right';
1863
- /**
1864
- * Each button object must have a name, but can also be passed any props that apply to a Button component.
1865
- */
1866
- buttons: ButtonsType[];
1867
- };
1868
- declare const FormButtons: {
1869
- ({ buttons, align, ...props }: FormButtonsProps): JSX.Element;
1870
- displayName: string;
1871
- };
1872
-
1873
- type CustomComponentClass = {
1874
- field: {
1875
- name: string;
1876
- value?: unknown;
1877
- };
1878
- form: {
1879
- errors?: Record<string, string> | undefined;
1880
- setFieldValue?: ((name: string, optionValue: string) => unknown) | undefined;
1881
- values?: Record<string, string> | undefined;
1882
- };
1883
- };
1884
-
1885
- declare const rteFormatTypes: Readonly<{
1886
- BOLD: "BOLD";
1887
- ITALIC: "ITALIC";
1888
- UNDERLINE: "UNDERLINE";
1889
- STRIKETHROUGH: "STRIKETHROUGH";
1890
- HEADING_1: "HEADING_1";
1891
- HEADING_2: "HEADING_2";
1892
- BLOCKQUOTE: "BLOCKQUOTE";
1893
- NUMBERED_LIST: "NUMBERED_LIST";
1894
- BULLETED_LIST: "BULLETED_LIST";
1895
- LINK: "LINK";
1896
- IMAGE: "IMAGE";
1897
- }>;
1898
-
1899
- type FormFieldProps = Omit<ComponentPropsWithRef<'input'>, 'placeholder'> & {
1900
- /**
1901
- * A custom component that acts as a field and that needs access to Formik fields
1902
- */
1903
- customComponent?: React.ComponentClass<CustomComponentClass> | ((arg?: React.ComponentProps<typeof Field>) => ReactNode) | ((arg?: Record<string, unknown>) => ReactNode) | undefined;
1904
- /**
1905
- * Should the radio buttons be displayed vertically as a column or horizontally as a row
1906
- */
1907
- direction?: 'column' | 'row';
1908
- /**
1909
- * Disables form field
1910
- */
1911
- disabled?: boolean;
1912
- /**
1913
- * Only takes effect if type is richTextEditor. An array of formats that should be enabled in the toolbar.
1914
- */
1915
- enabledFormats?: (keyof typeof rteFormatTypes)[];
1916
- /**
1917
- * Visual label above the input
1918
- */
1919
- label?: JSX.Element | string | undefined;
1920
- /**
1921
- * The hint/helper text under the label
1922
- */
1923
- labelDescription?: ReactNode;
1924
- /**
1925
- * Props that are passed through to the underlying `<Label>` component
1926
- */
1927
- labelProps?: {
1928
- disabled?: boolean;
1929
- screenReaderOnly?: boolean;
1930
- };
1931
- /**
1932
- * HTML "name" attribute. Also needs to be unique in the form
1933
- */
1934
- name?: string;
1935
- /**
1936
- * Custom onChange callback add-on. args: "value"
1937
- */
1938
- onChangeCustom?: (value: string) => unknown;
1939
- /**
1940
- * Options passed down to the `<Field>` component
1941
- */
1942
- options?: Record<string, unknown>[];
1943
- /**
1944
- * Input's visual placeholder text
1945
- */
1946
- placeholder?: string | null | undefined;
1947
- /**
1948
- * Allows user to vertically or horizontally resize the form field, or to disable resizing altogether
1949
- */
1950
- resize?: 'horizontal' | 'none' | 'vertical';
1951
- /**
1952
- * The type of the field sets the type of input or select, texarea, radio, checkbox, etc.
1953
- */
1954
- type: 'checkbox' | 'custom' | 'email' | 'hidden' | 'multiline' | 'number' | 'password' | 'radio' | 'richTextEditor' | 'select' | 'text' | 'url';
1955
- };
1956
- declare const FormField: react.ForwardRefExoticComponent<Omit<FormFieldProps, "ref"> & react.RefAttributes<unknown>>;
1957
-
1958
- type FormFieldErrorProps = ComponentPropsWithoutRef<'div'> & {
1959
- children?: ReactNode | undefined;
1960
- };
1961
- declare const FormFieldError: {
1962
- ({ children, ...otherProps }: FormFieldErrorProps): JSX.Element | null;
1963
- displayName: string;
1964
- };
1965
-
1966
- declare const FormGlobalError: react.ForwardRefExoticComponent<react.RefAttributes<HTMLDivElement>>;
1967
-
1968
- type FullScreenModalProps = {
1969
- /**
1970
- * Color of the modal background
1971
- */
1972
- backgroundColor?: string;
1973
- /**
1974
- * Contents of the modal
1975
- */
1976
- content: (hide: () => unknown) => ReactNode;
1977
- /**
1978
- * Render the modal initially in shown state
1979
- */
1980
- initialShownState?: boolean;
1981
- /**
1982
- * Callback invoked before the modal is hidden
1983
- */
1984
- onBeforeHide?: (() => OnBeforeHideInterface) | undefined;
1985
- /**
1986
- * Callback invoked when the modal is shown
1987
- */
1988
- onHide?: () => unknown;
1989
- /**
1990
- * function(show, ref) that returns a node to open the modal
1991
- */
1992
- toggle?: ((show: () => unknown, toggleButtonRef?: RefObject<HTMLElement | null | undefined>) => ReactNode) | undefined;
1993
- };
1994
- declare const FullScreenModal: {
1995
- ({ content, toggle, backgroundColor, initialShownState, onBeforeHide, onHide, }: FullScreenModalProps): react_jsx_runtime.JSX.Element;
1996
- displayName: string;
1997
- };
1998
-
1999
- declare const iconSizeMap: {
2000
- sm: string;
2001
- md: string;
2002
- lg: string;
2003
- xl: string;
2004
- xxl: string;
2005
- };
2006
- type IconProps = ComponentPropsWithoutRef<'svg'> & {
2007
- /**
2008
- * Color (as hex) of the Icon
2009
- */
2010
- color?: string;
2011
- /**
2012
- * The size of the icon to display
2013
- */
2014
- size?: keyof typeof iconSizeMap;
2015
- /**
2016
- * @ignore
2017
- */
2018
- style?: Record<string, unknown>;
2019
- /**
2020
- * Determines which icon to display
2021
- */
2022
- type: IconNameType;
2023
- };
2024
- declare const Icon: {
2025
- ({ color, size, style, type, ...otherProps }: IconProps): JSX.Element;
2026
- displayName: string;
2027
- };
2028
-
2029
- declare const sizeMap: {
2030
- sm: string;
2031
- md: string;
2032
- lg: string;
2033
- };
2034
- declare const componentStyleMap: {
2035
- light: string;
2036
- dark: string;
2037
- };
2038
- type sizeType = keyof typeof sizeMap;
2039
- type componentStyleType = keyof typeof componentStyleMap;
2040
- type IconButtonProps = ComponentPropsWithRef<'button'> & {
2041
- /**
2042
- * Allows user to override default button colors
2043
- */
2044
- colorOverride?: string | undefined;
2045
- /**
2046
- * Choose light styles if this component appears on a dark background
2047
- */
2048
- componentStyle?: componentStyleType;
2049
- /**
2050
- * Disables button
2051
- */
2052
- disabled?: boolean;
2053
- /**
2054
- * An SVG component
2055
- */
2056
- icon?: ReactNode;
2057
- /**
2058
- * Text that appears as a tooltip when the user hovers over the button
2059
- */
2060
- label?: string;
2061
- /**
2062
- * Callback function invoked when the button is clicked
2063
- */
2064
- onClick?: ((event: MouseEvent) => void) | undefined;
2065
- /**
2066
- * Prevent a Tooltip from appearing on hover
2067
- */
2068
- preventTooltip?: boolean;
2069
- /**
2070
- * The size of the button
2071
- */
2072
- size?: sizeType;
2073
- /**
2074
- * The direction of the tooltip
2075
- */
2076
- tooltipDirection?: 'bottom' | 'left' | 'right' | 'top';
2077
- };
2078
- declare const IconButton: react.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
2079
-
2080
- type ImageProps = ComponentPropsWithoutRef<'img'> & {
2081
- /**
2082
- * Accessible text to apply to the image
2083
- */
2084
- alt: string;
2085
- /**
2086
- * Specifies whether the width and/or height should fill the container
2087
- *
2088
- * *Note: this will override height/width attributes*
2089
- */
2090
- fill?: boolean | 'horizontal' | 'vertical';
2091
- /**
2092
- * Specifies how the image's intrinsic size (ie. its natural size) should
2093
- * be adjusted to fit within its container
2094
- */
2095
- fit?: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
2096
- /**
2097
- * Indicates how the browser should load the image; `eager`loads the image immediately,
2098
- * `lazy` defers loading the image until it reaches a calculated distance from the viewport.
2099
- * See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-loading
2100
- */
2101
- loading?: 'eager' | 'lazy';
2102
- /**
2103
- * Specifies how the image will align itself in its container
2104
- */
2105
- position?: string;
2106
- /**
2107
- * URL to image file
2108
- */
2109
- src: string;
2110
- };
2111
- declare const Image: {
2112
- ({ src, alt, fill: fillContainer, fit: objFit, loading, position: objPosition, ...otherProps }: ImageProps): JSX.Element;
2113
- displayName: string;
2114
- };
2115
-
2116
- type IconPositionStrings = 'end' | 'start';
2117
- type ForcedStateStrings = 'active' | 'focus' | 'hover';
2118
- type InputProps = ComponentPropsWithRef<'input'> & {
2119
- /**
2120
- * Copy-to-clipboard-on-click of input's value with copy icon
2121
- */
2122
- clickToCopy?: boolean;
2123
- /**
2124
- * Disables Input
2125
- */
2126
- disabled?: boolean | undefined;
2127
- /**
2128
- * @ignore
2129
- * Force an Input into a particular css state (for debugging)
2130
- */
2131
- forceState?: ForcedStateStrings;
2132
- /**
2133
- * Should Input occupy 100% of available space
2134
- */
2135
- fullWidth?: boolean;
2136
- /**
2137
- * Indicates that there is an error with the input
2138
- */
2139
- hasError?: boolean;
2140
- /**
2141
- * An SVG component that will appear on the right-hand side of the input
2142
- * _Note:_ some input types will apply a icon by default
2143
- */
2144
- icon?: ReactNode;
2145
- /**
2146
- * Indicates on which side of the input the icon should render. Will default to `end` unless the `type` prop is `search`.
2147
- */
2148
- iconPosition?: IconPositionStrings;
2149
- /**
2150
- * @ignore
2151
- * This is a prop that is here for use by FormField. Otherwise,
2152
- * the ref prop should just be used
2153
- */
2154
- innerRef?: RefObject<HTMLInputElement | null>;
2155
- /**
2156
- * Displays text in monospace font
2157
- */
2158
- monospace?: boolean;
2159
- /**
2160
- * Callback function invoked when the input focus blurs
2161
- */
2162
- onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
2163
- /**
2164
- * Callback function invoked when the input value changes
2165
- */
2166
- onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
2167
- /**
2168
- * Callback function invoked when the input value is copied
2169
- */
2170
- onClickToCopy?: () => void;
2171
- /**
2172
- * Callback function invoked when the input is focused
2173
- */
2174
- onFocus?: (event: FocusEvent<HTMLInputElement>) => void;
2175
- /**
2176
- * Callback function that will select input text when input is focused;
2177
- * receives event object but if that is not needed just pass a no-op function
2178
- */
2179
- onFocusToSelect?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
2180
- /**
2181
- * A short hint for the user about what value the Input expects
2182
- */
2183
- placeholder?: string | undefined;
2184
- /**
2185
- * Prevent the Input from being writable (different styling from disabled)
2186
- */
2187
- readOnly?: boolean;
2188
- /**
2189
- * Make Input a required element
2190
- */
2191
- required?: boolean;
2192
- /**
2193
- * The type of Input to render
2194
- */
2195
- type?: HTMLInputTypeAttribute;
2196
- /**
2197
- * The content of Input
2198
- */
2199
- value?: number | string | undefined;
2200
- };
2201
- declare const Input: react.ForwardRefExoticComponent<Omit<InputProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
2202
-
2203
- type AlphanumericKeyboardKeys = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'a' | 'b' | 'c' | 'd' | 'e' | 'f' | 'g' | 'h' | 'i' | 'j' | 'k' | 'l' | 'm' | 'n' | 'o' | 'p' | 'q' | 'r' | 's' | 't' | 'u' | 'v' | 'w' | 'x' | 'y' | 'z';
2204
- type ModifierKeys = 'Alt' | 'Cmd' | 'Ctrl' | 'Meta' | 'Option' | 'Shift';
2205
- type WhitespaceKeys = 'Enter' | 'Space' | 'Tab';
2206
- type ArrowKeys = 'ArrowDown' | 'ArrowLeft' | 'ArrowRight' | 'ArrowUp';
2207
- type KeyboardKeys = AlphanumericKeyboardKeys | ArrowKeys | ModifierKeys | WhitespaceKeys | '?' | 'Backspace' | 'Esc';
2208
-
2209
- type KeyboardShortcutProps = ComponentPropsWithoutRef<'div'> & {
2210
- /**
2211
- * @description The visual style of the keyboard shortcut. Choose light if the background is dark and dark if the background is light.
2212
- */
2213
- componentStyle?: 'dark' | 'light';
2214
- /**
2215
- * @description If set to true, the keyboard shortcut will stretch the full width of its container.
2216
- */
2217
- fullWidth?: boolean;
2218
- /**
2219
- * @description The keys displayed.
2220
- */
2221
- keyboardKeys: KeyboardKeys | KeyboardKeys[];
2222
- /**
2223
- * @description A visual label for the keyboard shortcut.
2224
- */
2225
- label?: string;
2226
- };
2227
- declare const KeyboardShortcut: {
2228
- ({ label, keyboardKeys, fullWidth, componentStyle, ...otherProps }: KeyboardShortcutProps): JSX.Element;
2229
- displayName: string;
2230
- };
2231
-
2232
- type LabelProps = ComponentPropsWithoutRef<'label'> & {
2233
- /**
2234
- * Pass an arbitrary child node
2235
- */
2236
- children?: ReactNode;
2237
- /**
2238
- * To indicate that the label is for a disabled form component
2239
- */
2240
- disabled?: boolean;
2241
- /**
2242
- * ID of the form component that the label should be associated with
2243
- */
2244
- htmlFor?: string | undefined;
2245
- /**
2246
- * To use 'legend', 'p', 'span', or other instead of 'label'
2247
- */
2248
- renderAs?: 'div' | 'label' | 'legend' | 'p' | 'span' | undefined;
2249
- /**
2250
- * Use if label describes a required form component
2251
- */
2252
- required?: boolean;
2253
- /**
2254
- * For label text that needs to be available to assistive technology (e.g. screen readers)
2255
- * but otherwise hidden on screen.
2256
- */
2257
- screenReaderOnly?: boolean;
2258
- };
2259
- declare const Label: {
2260
- ({ renderAs, children, disabled, htmlFor, required, screenReaderOnly, ...otherProps }: LabelProps): JSX.Element;
2261
- displayName: string;
2262
- };
2263
-
2264
- type LabelDescriptionProps = ComponentPropsWithoutRef<'div'> & {
2265
- children: ReactNode;
2266
- disabled?: boolean;
2267
- };
2268
- declare const LabelDescription: {
2269
- ({ children, disabled, ...otherProps }: LabelDescriptionProps): JSX.Element;
2270
- displayName: string;
2271
- };
2272
-
2273
- type LinkButtonProps = ComponentPropsWithoutRef<'button'> & {
2274
- /**
2275
- * Pass an arbitrary child node
2276
- */
2277
- children?: ReactNode;
2278
- /**
2279
- * Disables Button
2280
- */
2281
- disabled?: boolean;
2282
- /**
2283
- * @ignore
2284
- * Force a Button into a particular css state (for debugging)
2285
- */
2286
- forceState?: 'active' | 'focus' | 'hover';
2287
- /**
2288
- * Text that appears inside the button
2289
- */
2290
- label?: string;
2291
- /**
2292
- * Provides a button without any styling (useful for wrapping another element)
2293
- */
2294
- noStyle?: boolean;
2295
- /**
2296
- * Callback function invoked when the button is clicked
2297
- */
2298
- onClick?: (event: KeyboardEvent$1 | MouseEvent) => void;
2299
- /**
2300
- * Will only display an underline when the Link is in a hover state
2301
- */
2302
- underlineOnHover?: boolean;
2303
- /**
2304
- * The visual type of Button to display
2305
- */
2306
- variant?: 'primary' | 'secondary';
2307
- };
2308
- declare const LinkButton: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
2309
- /**
2310
- * Pass an arbitrary child node
2311
- */
2312
- children?: ReactNode;
2313
- /**
2314
- * Disables Button
2315
- */
2316
- disabled?: boolean;
2317
- /**
2318
- * @ignore
2319
- * Force a Button into a particular css state (for debugging)
2320
- */
2321
- forceState?: "active" | "focus" | "hover";
2322
- /**
2323
- * Text that appears inside the button
2324
- */
2325
- label?: string;
2326
- /**
2327
- * Provides a button without any styling (useful for wrapping another element)
2328
- */
2329
- noStyle?: boolean;
2330
- /**
2331
- * Callback function invoked when the button is clicked
2332
- */
2333
- onClick?: (event: KeyboardEvent$1 | MouseEvent) => void;
2334
- /**
2335
- * Will only display an underline when the Link is in a hover state
2336
- */
2337
- underlineOnHover?: boolean;
2338
- /**
2339
- * The visual type of Button to display
2340
- */
2341
- variant?: "primary" | "secondary";
2342
- } & react.RefAttributes<HTMLSpanElement>>;
2343
-
2344
- type VariantType = 'breadcrumbs' | 'bullets' | 'commas' | 'ordered' | 'slashes' | 'spaces' | 'unbulleted';
2345
- type ItemType = ItemType[] | string[] | string;
2346
- type ListProps = ComponentPropsWithoutRef<'ul'> & {
2347
- /**
2348
- * Children should be wrapped in `<ListItem>`
2349
- */
2350
- children?: ReactNode;
2351
- /**
2352
- * As an alternative to passing children you can supply an array of strings that
2353
- * will be rendered as child `<ListItems>`s. Note that all items will be of the same variant.
2354
- */
2355
- items?: ItemType[];
2356
- /**
2357
- * The kind of list to render
2358
- */
2359
- variant?: VariantType;
2360
- };
2361
- declare const List: {
2362
- ({ children, items, variant, ...otherProps }: ListProps): JSX.Element | null;
2363
- displayName: string;
2364
- };
2365
-
2366
- type ListItemProps = {
2367
- /**
2368
- * Pass an arbitrary child node
2369
- */
2370
- children?: ReactNode;
2371
- };
2372
- declare const ListItem: {
2373
- ({ children }: ListItemProps): JSX.Element | null;
2374
- displayName: string;
2375
- };
2376
-
2377
- type MediaObjectProps = ComponentPropsWithoutRef<'div'> & {
2378
- /**
2379
- * Vertical placement of the media item
2380
- */
2381
- align?: 'bottom' | 'middle' | 'top';
2382
- /**
2383
- * Pass an arbitrary child node
2384
- */
2385
- children: ReactNode;
2386
- /**
2387
- * The space (in CSS units) between the item and the content
2388
- */
2389
- gap?: string;
2390
- /**
2391
- * Node that should appear as the "media item"
2392
- */
2393
- item?: ReactNode;
2394
- /**
2395
- * Horizontal placement of the media item
2396
- */
2397
- placement?: 'left' | 'right';
2398
- };
2399
- declare const MediaObject: {
2400
- ({ placement, align, gap, item, children, ...otherProps }: MediaObjectProps): JSX.Element;
2401
- displayName: string;
2402
- };
2403
-
2404
- type ControlledMenuProps = {
2405
- /** Is the menu open. Must be used with `onOpenChange`. */
2406
- isOpen: boolean;
2407
- /** When an attempt to toggle the menu is triggered,
2408
- * must be used with `isOpen`.
2409
- */
2410
- onOpenChange: (isOpen: boolean) => void;
2411
- };
2412
- type UncontrolledMenuProps = {
2413
- isOpen?: never;
2414
- onOpenChange?: never;
2415
- };
2416
- type MenuControlProps = ControlledMenuProps | UncontrolledMenuProps;
2417
- type DefaultMenuProps = DropdownMenuProps & MenuControlProps & {
2418
- /** The position of the Menu */
2419
- align?: 'center' | 'end' | 'start';
2420
- children: ReactNode;
2421
- /** Callback for when the user clicks or focuses outside of the menu */
2422
- onInteractOutside?: DropdownMenuContentProps['onInteractOutside'];
2423
- /** Props to pass to the trigger component, the default trigger is Button */
2424
- triggerProps?: ButtonProps;
2425
- };
2426
- type MenuPropsWithLabel = DefaultMenuProps & {
2427
- /** The label for the trigger element */
2428
- label: string;
2429
- trigger?: never;
2430
- };
2431
- type MenuPropsWithCustomTrigger = DefaultMenuProps & {
2432
- label?: never;
2433
- /** Replace the default trigger */
2434
- trigger: ReactNode;
2435
- };
2436
- type MenuProps = MenuPropsWithCustomTrigger | MenuPropsWithLabel;
2437
- declare const Menu: {
2438
- ({ align, children, trigger, label, isOpen, triggerProps, onOpenChange, onInteractOutside, ...props }: MenuProps): JSX.Element;
2439
- displayName: string;
2440
- };
2441
-
2442
- type MenuItemPropsWithLabelDescription = {
2443
- href?: string;
2444
- badge?: ReactNode;
2445
- children?: never;
2446
- label: ReactNode | string;
2447
- description?: ReactNode | string;
2448
- icon?: ReactNode;
2449
- indicator?: ReactNode;
2450
- renderAs?: ElementType;
2451
- target?: HTMLAnchorElement['target'];
2452
- variant?: 'dangerous' | 'pricing' | 'primary';
2453
- };
2454
- type MenuItemPropsWithChildren = {
2455
- href?: string;
2456
- children: ReactNode | string;
2457
- badge?: never;
2458
- label?: never;
2459
- description?: never;
2460
- icon?: never;
2461
- indicator?: ReactNode;
2462
- renderAs?: ElementType;
2463
- target?: HTMLAnchorElement['target'];
2464
- variant?: 'dangerous' | 'pricing' | 'primary';
2465
- };
2466
- type MenuItemProps = DropdownMenuItemProps & (MenuItemPropsWithChildren | MenuItemPropsWithLabelDescription);
2467
- type CheckboxMenuItemProps = DropdownMenuCheckboxItemProps & (MenuItemPropsWithChildren | MenuItemPropsWithLabelDescription);
2468
- type RadioMenuItemProps = DropdownMenuRadioItemProps & (MenuItemPropsWithChildren | MenuItemPropsWithLabelDescription);
2469
- declare const MenuItem: ({ children, label, description, badge, icon, renderAs, href, target, variant, ...props }: MenuItemProps) => react_jsx_runtime.JSX.Element;
2470
- declare const CheckboxMenuItem: ({ children, label, description, badge, icon, indicator, ...props }: CheckboxMenuItemProps) => react_jsx_runtime.JSX.Element;
2471
- declare const RadioMenuItem: ({ children, label, badge, description, icon, indicator, ...props }: RadioMenuItemProps) => react_jsx_runtime.JSX.Element;
2472
-
2473
- type MenuLabelProps = {
2474
- children: ReactNode | string;
2475
- };
2476
- declare const MenuLabel: ({ children, ...props }: MenuLabelProps) => react_jsx_runtime.JSX.Element;
2477
-
2478
- type SubMenuProps = {
2479
- label: string;
2480
- children: ReactNode;
2481
- icon?: ReactNode;
2482
- description?: ReactNode;
2483
- };
2484
- declare const SubMenu: ({ label, icon, description, children }: SubMenuProps) => react_jsx_runtime.JSX.Element;
2485
-
2486
- type MenuButtonProps = ButtonProps & {
2487
- /**
2488
- * Disables button
2489
- */
2490
- disabled?: boolean;
2491
- /**
2492
- * Use this prop to pass an IconButton as the "trigger" instead of a standard Button
2493
- */
2494
- iconButtonComponent?: JSX.Element | ReactElement;
2495
- /**
2496
- * Text that appears inside the button
2497
- */
2498
- label: string;
2499
- /**
2500
- * Which side of the button should the menu be aligned
2501
- */
2502
- menuAlignment?: 'left' | 'right';
2503
- /**
2504
- * An array of Button/Link components
2505
- */
2506
- menuItems?: JSX.Element[];
2507
- /**
2508
- * Where should the menu appear relative to the button
2509
- */
2510
- menuPosition?: 'above' | 'below';
2511
- /**
2512
- * Can be a CSS width value string, 'fullWidth' or 'maxItem' (sized to the largest item width)
2513
- */
2514
- menuWidth?: string;
2515
- /**
2516
- * Function that is called after the menu is closed
2517
- */
2518
- onMenuClosed?: ((event: MouseEvent) => ReactNode) | ((event: MouseEvent) => void) | undefined;
2519
- /**
2520
- * Function that is called when the menu button is clicked
2521
- */
2522
- onMenuClick?: ((event: MouseEvent) => ReactNode) | ((event: MouseEvent) => void) | undefined;
2523
- /**
2524
- * A custom node to be displayed in the menu on extra small screens.
2525
- */
2526
- overrideMenuHeader?: ReactNode;
2527
- /**
2528
- * The size of button to display
2529
- */
2530
- size?: 'lg' | 'md' | 'sm';
2531
- };
2532
- /**
2533
- * @deprecated Please use Menu with a Button trigger, see [documentation](https://wistia.github.io/vhs/?path=/docs-components-menu--docs).
2534
- *
2535
- * #### Why MenuButton is being deprecated
2536
- *
2537
- * The [Menu](https://wistia.github.io/vhs/?path=/docs-components-menu--docs) component is preferred over MenuButton for several reasons:
2538
- * 1. Menu has better alignment and collision detection.
2539
- * 2. Menu supports submenus.
2540
- * 3. Menu is properly portalled.
2541
- */
2542
- declare const MenuButton: {
2543
- ({ label, menuAlignment, menuItems, menuPosition, menuWidth, onMenuClick, onMenuClosed, disabled, iconButtonComponent, overrideMenuHeader, size, ...otherProps }: MenuButtonProps): JSX.Element;
2544
- displayName: string;
2545
- };
2546
-
2547
- type ModalProps = ComponentPropsWithoutRef<'div'> & {
2548
- /**
2549
- * Horizontally align modal to the left, center, or right of the container
2550
- */
2551
- alignHorizontal?: 'center' | 'left' | 'normal' | 'right';
2552
- /**
2553
- * Vertically align modal to the top, center, or bottom of the container
2554
- */
2555
- alignVertical?: 'bottom' | 'center' | 'normal' | 'top';
2556
- /**
2557
- * Whether or not the modal should be allowed to exceed the viewport bounds.
2558
- * If it exceeds the bounds, the entire backdrop will be scrollable.
2559
- */
2560
- allowModalToExceedViewportBounds?: boolean;
2561
- /**
2562
- * Contents of the modal
2563
- */
2564
- children?: ReactNode;
2565
- /**
2566
- * Class to be applied to the base element of the modal
2567
- */
2568
- className?: string;
2569
- /**
2570
- * Whether or not the modal should take up the full height of the viewport
2571
- */
2572
- fullHeight?: boolean;
2573
- /**
2574
- * Ref to the element that should receive focus when the modal opens
2575
- */
2576
- initialFocusRef?: RefObject<HTMLElement>;
2577
- /**
2578
- * Whether or not the modal is open, and should be rendered
2579
- */
2580
- isOpen: boolean;
2581
- /**
2582
- * When the Modal is dismissed, this function will be called. You'll typically want to set the
2583
- * state of `isOpen` to false here
2584
- * @returns
2585
- */
2586
- onRequestClose?: () => void;
2587
- /**
2588
- * Whether or not the modal should be closed when the user clicks outside of it
2589
- * @default true
2590
- */
2591
- shouldCloseOnClickOutside?: boolean;
2592
- /**
2593
- * Whether or not the modal should trap focus within itself
2594
- *
2595
- */
2596
- shouldTrapFocus?: boolean;
2597
- /** The base width to apply to the Modal */
2598
- width?: string;
2599
- /**
2600
- * The overflow behavior to apply to the modal
2601
- * @default 'auto'
2602
- */
2603
- overflow?: 'auto' | 'clip' | 'hidden' | 'scroll' | 'visible';
2604
- };
2605
- declare const Modal: {
2606
- (props: ModalProps): JSX.Element;
2607
- displayName: string;
2608
- };
2609
-
2610
- declare const ModalHeader: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
2611
- declare const ModalBody: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
2612
- declare const ModalFooter: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
2613
- type ModalCloseButtonProps = {
2614
- /**
2615
- * Callback invoked when the button is clicked
2616
- */
2617
- onClick?: (event: MouseEvent) => void;
2618
- };
2619
- declare const ModalCloseButton: ({ onClick, ...props }: ModalCloseButtonProps) => JSX.Element;
2620
-
2621
- type PaperProps = ComponentPropsWithoutRef<'div'> & {
2622
- /**
2623
- * The content within Paper component
2624
- */
2625
- children: ReactNode;
2626
- /**
2627
- * The "elevation" level of the Paper component
2628
- */
2629
- elevation?: 0 | 1 | 2 | undefined;
2630
- };
2631
- declare const Paper: {
2632
- ({ children, elevation, ...otherProps }: PaperProps): JSX.Element;
2633
- displayName: string;
2634
- };
2635
-
2636
- type ProgressBarProps = ComponentPropsWithoutRef<'div'> & {
2637
- /**
2638
- * Whether the progress bar has a label
2639
- */
2640
- hasLabel?: boolean;
2641
- /**
2642
- * Current numeric level of the progress (0 -> 1)
2643
- */
2644
- progress?: number;
2645
- /**
2646
- * Allows user to override default progress bar label colors
2647
- */
2648
- labelColorOverride?: string;
2649
- /**
2650
- * Allows user to override default progress bar meter background colors
2651
- */
2652
- meterBgColorOverride?: string;
2653
- /**
2654
- * Allows user to override default colors
2655
- */
2656
- colorOverride?: string;
2657
- };
2658
- declare const ProgressBar: {
2659
- ({ hasLabel, progress, colorOverride, labelColorOverride, meterBgColorOverride, ...otherProps }: ProgressBarProps): JSX.Element;
2660
- displayName: string;
2661
- };
2662
-
2663
- type RadioProps = Omit<ComponentPropsWithoutRef<'input'>, 'value'> & {
2664
- /**
2665
- * Indicates the state of the radio
2666
- */
2667
- checked?: boolean;
2668
- /**
2669
- * Should the radio buttons be displayed vertically as a column or horizontally as a row
2670
- */
2671
- direction?: 'column' | 'row';
2672
- /**
2673
- * Disables input
2674
- */
2675
- disabled?: boolean;
2676
- /**
2677
- * @ignore // I don't know what to do with this
2678
- * Force a Radio into a particular css state (for debugging)
2679
- */
2680
- forceState?: 'focus' | 'hover';
2681
- /**
2682
- * Indicates that there is an error with the input
2683
- */
2684
- hasError?: boolean;
2685
- /**
2686
- * Provides an ID for the input
2687
- */
2688
- id?: string;
2689
- /**
2690
- * The label for the input
2691
- */
2692
- label: JSX.Element | string;
2693
- /**
2694
- * The description for the input
2695
- */
2696
- labelDescription?: JSX.Element | string | undefined;
2697
- /**
2698
- * Should match the ID attribute of the radio.
2699
- * Can be used to group together multiple radios
2700
- */
2701
- name?: string;
2702
- /**
2703
- * Callback function invoked when the value changes
2704
- */
2705
- onChange?: (event: ChangeEvent) => unknown;
2706
- /**
2707
- * The value attribute of the input
2708
- */
2709
- value?: string;
2710
- };
2711
- declare const Radio: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "value"> & {
2712
- /**
2713
- * Indicates the state of the radio
2714
- */
2715
- checked?: boolean;
2716
- /**
2717
- * Should the radio buttons be displayed vertically as a column or horizontally as a row
2718
- */
2719
- direction?: "column" | "row";
2720
- /**
2721
- * Disables input
2722
- */
2723
- disabled?: boolean;
2724
- /**
2725
- * @ignore // I don't know what to do with this
2726
- * Force a Radio into a particular css state (for debugging)
2727
- */
2728
- forceState?: "focus" | "hover";
2729
- /**
2730
- * Indicates that there is an error with the input
2731
- */
2732
- hasError?: boolean;
2733
- /**
2734
- * Provides an ID for the input
2735
- */
2736
- id?: string;
2737
- /**
2738
- * The label for the input
2739
- */
2740
- label: JSX.Element | string;
2741
- /**
2742
- * The description for the input
2743
- */
2744
- labelDescription?: JSX.Element | string | undefined;
2745
- /**
2746
- * Should match the ID attribute of the radio.
2747
- * Can be used to group together multiple radios
2748
- */
2749
- name?: string;
2750
- /**
2751
- * Callback function invoked when the value changes
2752
- */
2753
- onChange?: (event: ChangeEvent) => unknown;
2754
- /**
2755
- * The value attribute of the input
2756
- */
2757
- value?: string;
2758
- } & react.RefAttributes<HTMLLabelElement>>;
2759
-
2760
- type RadioGroupProps = Omit<ComponentPropsWithoutRef<'div'>, 'onChange'> & {
2761
- /**
2762
- * Should the radio buttons be displayed vertically as a column or horizontally as a row
2763
- */
2764
- direction?: 'column' | 'row';
2765
- /**
2766
- * Whether RadioGroup is disabled
2767
- */
2768
- disabled?: boolean;
2769
- /**
2770
- * Error message to be displayed
2771
- */
2772
- error?: string | undefined;
2773
- /**
2774
- * The label for the form field
2775
- */
2776
- label?: JSX.Element | string | null | undefined;
2777
- /**
2778
- * The hint/helper text under the label
2779
- */
2780
- labelDescription?: JSX.Element | string | undefined;
2781
- /**
2782
- * Props that are passed through to the underlying `<Label>` component
2783
- */
2784
- labelProps?: {
2785
- disabled?: boolean;
2786
- screenReaderOnly?: boolean;
2787
- };
2788
- /**
2789
- * Should match the ID attribute of the radio. Can be used to group together multiple radios
2790
- */
2791
- name: string;
2792
- /**
2793
- * Fires on checking or unchecking radios in group
2794
- */
2795
- onChange?: (event: ChangeEvent, value: RadioProps['value']) => unknown;
2796
- /**
2797
- * Array of radios attributes
2798
- */
2799
- options: Pick<RadioProps, 'disabled' | 'label' | 'labelDescription' | 'value'>[];
2800
- /**
2801
- * Currently selected radio value
2802
- */
2803
- value?: string | undefined;
2804
- };
2805
- declare const RadioGroup: {
2806
- ({ direction, disabled, error, label, labelDescription, labelProps, name, onChange, options, value, ...otherProps }: RadioGroupProps): JSX.Element;
2807
- displayName: string;
2808
- };
2809
-
2810
- type DateRangeType = {
2811
- start: Date;
2812
- end: Date;
2813
- };
2814
-
2815
- type Preset = {
2816
- label?: string;
2817
- value: {
2818
- end: Date;
2819
- start: Date;
2820
- };
2821
- tooltipText?: string;
2822
- };
2823
- type RangeSelectorProps = {
2824
- /**
2825
- * Align the popup to the left or the right of the tigger button
2826
- */
2827
- align?: 'left' | 'right';
2828
- /**
2829
- * The variant to be passed to the button component
2830
- */
2831
- buttonVariant?: 'input' | 'primary' | 'secondary' | 'tertiary';
2832
- /**
2833
- * The earliest selectable date
2834
- */
2835
- earliestDate?: Date;
2836
- /**
2837
- * The latest selectable date
2838
- */
2839
- latestDate?: Date;
2840
- /**
2841
- * Text to display in the footer
2842
- */
2843
- footerText?: JSX.Element | string;
2844
- /**
2845
- * A function that receives a date range object and returns a string to be rendered in the
2846
- * trigger button
2847
- */
2848
- format?: (dataRange: DateRangeType) => JSX.Element | string;
2849
- /**
2850
- * Callback fired when the date range changes
2851
- */
2852
- onChange?: (dateRange: DateRangeType) => unknown;
2853
- presets?: Preset[];
2854
- /**
2855
- * The date range to be displayed in the picker
2856
- */
2857
- range?: DateRangeType;
2858
- /**
2859
- * Prevent dates in the future from being selected
2860
- */
2861
- shouldPreventFuture?: boolean;
2862
- /**
2863
- * If true, the button will take up the full width of its container
2864
- */
2865
- fullWidth?: boolean;
2866
- /**
2867
- * A custom width for the RangeSelector component (in px, %, or other CSS units)
2868
- */
2869
- width?: number | string;
2870
- /**
2871
- * A custom React component to use as the trigger button. The component should accept onClick,
2872
- * children, and other standard button props.
2873
- */
2874
- customTriggerComponent?: ComponentType<Record<string, any>>;
2875
- };
2876
- declare const RangeSelector: {
2877
- ({ align, buttonVariant, earliestDate, latestDate, format, fullWidth, footerText, onChange, presets, range, shouldPreventFuture, customTriggerComponent, width, ...props }: RangeSelectorProps): JSX.Element;
2878
- displayName: string;
2879
- };
2880
-
2881
- declare const isValidRange: (range?: DateRangeType) => boolean;
2882
- type RangeSelectorCalendarProps = {
2883
- earliestDate?: Date | undefined;
2884
- latestDate?: Date | undefined;
2885
- onChange?: (...args: unknown[]) => unknown;
2886
- onIsValidChange?: Dispatch<SetStateAction<boolean>>;
2887
- range?: DateRangeType;
2888
- rangePartToShow?: '' | 'end' | 'start';
2889
- shouldPreventFuture?: boolean;
2890
- };
2891
- declare const RangeSelectorCalendar: {
2892
- ({ range, rangePartToShow, onChange, onIsValidChange, earliestDate, latestDate, shouldPreventFuture, }: RangeSelectorCalendarProps): JSX.Element;
2893
- displayName: string;
2894
- };
2895
-
2896
- type RangeSelectorInputProps = {
2897
- earliestDate?: Date | undefined;
2898
- latestDate?: Date | undefined;
2899
- onChange?: (next: DateRangeType) => void;
2900
- onErrorChange?: (value: string[]) => void;
2901
- onSelectedRangePartChange?: (next: '' | 'end' | 'start') => void;
2902
- range: DateRangeType;
2903
- shouldPreventFuture?: boolean;
2904
- width?: string;
2905
- };
2906
- declare const RangeSelectorInput: {
2907
- ({ onChange, onSelectedRangePartChange, range, earliestDate, latestDate, shouldPreventFuture, width, onErrorChange, }: RangeSelectorInputProps): react_jsx_runtime.JSX.Element;
2908
- displayName: string;
2909
- };
2910
-
2911
- type NodeElementObject = {
2912
- attributes?: Record<string, string>;
2913
- children?: NodeLeafObject[];
2914
- type?: string;
2915
- url?: string;
2916
- };
2917
- type NodeObject = NodeElementObject | NodeLeafObject;
2918
- type NodeLeafObject = {
2919
- attributes?: Record<string, string>;
2920
- bold?: boolean;
2921
- code?: boolean;
2922
- italic?: boolean;
2923
- parent?: NodeObject;
2924
- children?: NodeLeafObject[];
2925
- strikethrough?: boolean;
2926
- text?: string;
2927
- type?: string;
2928
- url?: string;
2929
- underline?: boolean;
2930
- };
2931
- declare module 'slate' {
2932
- interface CustomTypes {
2933
- Editor: ReactEditor;
2934
- Element: NodeElementObject;
2935
- Text: NodeLeafObject;
2936
- }
2937
- }
2938
-
2939
- type RichTextEditorProps = {
2940
- /**
2941
- * Optional id to set aria-labelledby
2942
- */
2943
- ariaLabelledBy?: string | undefined;
2944
- /**
2945
- * @ignore
2946
- */
2947
- 'data-testid'?: string;
2948
- /**
2949
- * Determines whether editor is clickable/read-only
2950
- */
2951
- disabled?: boolean;
2952
- /**
2953
- * Formats to enable in editor, restricted to rteFormatTypes
2954
- */
2955
- enabledFormats?: (keyof typeof rteFormatTypes)[];
2956
- /**
2957
- * Function to be called after editor state update
2958
- */
2959
- onChange?: ((value: NodeElementObject[]) => void) | undefined;
2960
- /**
2961
- * Function to be called when editor loses focus
2962
- */
2963
- onBlur?: ((value: NodeElementObject[]) => void) | undefined;
2964
- /**
2965
- * Placeholder text
2966
- */
2967
- placeholder?: string;
2968
- /**
2969
- * Value of editor based on controlled input
2970
- */
2971
- value?: Descendant[];
2972
- /**
2973
- * Whether to update the editor when the value prop changes
2974
- */
2975
- useExternalValue: boolean;
2976
- /**
2977
- * Custom height of editor
2978
- */
2979
- height?: string | undefined;
2980
- };
2981
- declare const RichTextEditor: {
2982
- ({ enabledFormats, value, onChange, onBlur, placeholder, disabled, ariaLabelledBy, useExternalValue, "data-testid": dataTestId, height, ...otherProps }: RichTextEditorProps): JSX.Element;
2983
- displayName: string;
2984
- };
2985
-
2986
- declare const rteSerializeToHTML: (value: Descendant[]) => string | null;
2987
- declare const rteDeserializeHTML: (htmlString: string) => (Descendant | string | null)[] | Descendant | string | null | undefined;
2988
-
2989
- declare const screenReaderOnlyStyle: styled_components.FlattenSimpleInterpolation;
2990
- type ScreenReaderOnlyProps = ComponentPropsWithoutRef<'div'> & {
2991
- /**
2992
- * Pass an arbitrary child node
2993
- */
2994
- children?: ReactNode;
2995
- /**
2996
- * Display content _only_ when it's focused.
2997
- */
2998
- focusable?: boolean;
2999
- /**
3000
- * The text that will appear to screenreaders but not be displayed on screen
3001
- * (alternatively you can pass children)
3002
- */
3003
- text?: ReactNode;
3004
- };
3005
- declare const ScreenReaderOnly: {
3006
- ({ text, children, focusable, ...otherProps }: ScreenReaderOnlyProps): react_jsx_runtime.JSX.Element;
3007
- displayName: string;
3008
- };
3009
-
3010
- type GroupOptionType = {
3011
- disabled?: boolean;
3012
- groupLabel?: string;
3013
- groupOptions: OptionType[];
3014
- };
3015
- type OptionType = {
3016
- disabled?: boolean;
3017
- label?: string;
3018
- value?: boolean | number | string;
3019
- };
3020
- type OptionsType = GroupOptionType[] | OptionType[];
3021
- type SelectProps = Omit<ComponentPropsWithRef<'select'>, 'placeholder'> & {
3022
- /**
3023
- * Optional accessible label for when there is no accompanying <label> element
3024
- */
3025
- ariaLabel?: string;
3026
- /**
3027
- * Disables Select
3028
- */
3029
- disabled?: boolean;
3030
- /**
3031
- * @ignore
3032
- * Force a Select into a particular css state (for debugging)
3033
- */
3034
- forceState?: 'active' | 'focus' | 'hover';
3035
- /**
3036
- * Should Select occupy 100% of available space
3037
- */
3038
- fullWidth?: boolean;
3039
- /**
3040
- * Indicates that there is an error with the Select
3041
- */
3042
- hasError?: boolean;
3043
- /**
3044
- * Change option's label name from "label"
3045
- */
3046
- labelName?: string;
3047
- /**
3048
- * Allow multiple options in the list to be selected at the same time
3049
- */
3050
- multiple?: boolean;
3051
- /**
3052
- * Data structure to populate option labels & values. (`{ label, value, disabled }`)
3053
- * Additionally this can be used to render option groupings. (`{ groupLabel, groupOptions, disabled }`)
3054
- */
3055
- options: OptionsType;
3056
- /**
3057
- * Value of text to appear by default as first option in Select, use `null` for none
3058
- */
3059
- placeholder?: string | null | undefined;
3060
- /**
3061
- * Prevent the placeholder value from being selected
3062
- */
3063
- preventPlaceholderSelection?: boolean;
3064
- /**
3065
- * Make Select a required element
3066
- */
3067
- required?: boolean;
3068
- /**
3069
- * Change option's value name from "value"
3070
- */
3071
- valueName?: string;
3072
- };
3073
- declare const Select: react.ForwardRefExoticComponent<Omit<SelectProps, "ref"> & react.RefAttributes<HTMLSelectElement>>;
3074
-
3075
- type ComponentPropsWithoutRefWithoutDefaultValue = Omit<ComponentPropsWithoutRef<'div'>, 'defaultValue' | 'onChange'>;
3076
- type SliderProps = ComponentPropsWithoutRefWithoutDefaultValue & {
3077
- /**
3078
- * aria-label for screen-readers to apply to the thumbs. Use an array for more than one thumb.
3079
- * The length of the array must match the number of thumbs in the value array.
3080
- */
3081
- ariaLabel?: string[] | string | undefined;
3082
- /**
3083
- * aria-labelledby for screen-readers to apply to the thumbs. Used when slider rendered with separate label.
3084
- * Use an array for more than one thumb. The length of the array must match the number of thumbs in the value array.
3085
- */
3086
- ariaLabelledby?: string[] | string | undefined;
3087
- /**
3088
- *
3089
- */
3090
- ariaValuetext?: string | ((state: Record<string, unknown>) => unknown);
3091
- /**
3092
- * @ignore
3093
- */
3094
- 'data-testid'?: string;
3095
- /**
3096
- * Determines the initial position(s) of the thumb(s) and the number of thumbs.
3097
- *
3098
- * If a number is passed a slider with one thumb will be rendered.
3099
- * If an array is passed each value will determine the position of one thumb.
3100
- * The values in the array must be sorted.
3101
- *
3102
- * Don't pass a default value if the slider is controlled (i.e. if you already
3103
- * use the `value` prop).
3104
- */
3105
- defaultValue?: number[] | number | undefined;
3106
- /**
3107
- * If `true` the thumbs can't be moved.
3108
- */
3109
- disabled?: boolean;
3110
- /**
3111
- * The maximum value of the slider.
3112
- */
3113
- max?: number;
3114
- /**
3115
- * The minimum value of the slider.
3116
- */
3117
- min?: number;
3118
- /**
3119
- * Callback called on every value change. The function will be called with two arguments,
3120
- * the first being the new value(s) the second being thumb index. **It does not return an event.**
3121
- */
3122
- onChange?: (value: number, index?: number) => unknown;
3123
- /**
3124
- * Value to be added or subtracted on each step the slider makes. Must be greater than zero.
3125
- * max - min should be evenly divisible by the step value.
3126
- */
3127
- step?: number;
3128
- /**
3129
- * Like 'defaultValue' but for controlled components.
3130
- */
3131
- value?: number[] | number;
3132
- };
3133
- declare const Slider: {
3134
- ({ ariaLabel, ariaLabelledby, ariaValuetext, disabled, defaultValue, max, min, onChange, step, value, "data-testid": passedDataTestId, ...otherProps }: SliderProps): JSX.Element;
3135
- displayName: string;
3136
- };
3137
-
3138
- type StackProps<T extends ElementType> = ComponentPropsWithoutRef<T> & PropsWithChildren & {
3139
- /**
3140
- * The gap between each item in the stack. Should be one of the spacing values from the theme
3141
- */
3142
- gap?: keyof DefaultTheme['spacing'];
3143
- /**
3144
- * Vertical is equivalent to `flex-direction: column;`, horizontal is equivalent to `flex-direction: row;`.
3145
- * The default behavior is `vertical`.
3146
- */
3147
- direction?: 'horizontal' | 'vertical';
3148
- /**
3149
- * The element (e.g. div, span, p) or component to render as the root element.
3150
- */
3151
- renderAs?: T | 'div';
3152
- };
3153
- declare const Stack: react.ForwardRefExoticComponent<Omit<StackProps<ElementType>, "ref"> & react.RefAttributes<HTMLDivElement>>;
3154
-
3155
- type SwitchProps = Omit<ComponentPropsWithoutRef<'button'>, 'onChange'> & {
3156
- /**
3157
- * Allows user to override default "on" color
3158
- */
3159
- colorOverride?: string;
3160
- /**
3161
- * Controls the `aria-disabled` property of the Switch
3162
- */
3163
- disabled?: boolean;
3164
- /**
3165
- * Determines if switch is checked
3166
- */
3167
- isChecked?: boolean;
3168
- /**
3169
- * Callback function invoked when the switch checked state changes
3170
- */
3171
- onChange?: (isChecked: boolean) => unknown;
3172
- /**
3173
- * Controls wether or not the ON / OFF text is shown
3174
- */
3175
- hideText?: boolean;
3176
- };
3177
- declare const Switch: {
3178
- ({ disabled, isChecked, onChange, colorOverride, hideText, ...otherProps }: SwitchProps): JSX.Element;
3179
- displayName: string;
3180
- };
3181
-
3182
- declare const alignMap: {
3183
- left: string;
3184
- right: string;
3185
- center: string;
3186
- justify: string;
3187
- };
3188
- declare const renderMap: {
3189
- h1: string;
3190
- h2: string;
3191
- h3: string;
3192
- h4: string;
3193
- h5: string;
3194
- h6: string;
3195
- div: string;
3196
- label: string;
3197
- p: string;
3198
- pre: string;
3199
- span: string;
3200
- };
3201
- declare const variantStyleMap: {
3202
- headline1: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
3203
- headline2: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
3204
- headline3: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
3205
- overline: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
3206
- body1: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
3207
- body2: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
3208
- caption: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
3209
- subtitle1: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
3210
- subtitle2: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
3211
- monospace: styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>;
3212
- };
3213
- type TextProps = ComponentPropsWithoutRef<'div'> & {
3214
- /**
3215
- * The horizontal alignment
3216
- * <br />
3217
- * _Note: this only affects block elements_
3218
- */
3219
- align?: keyof typeof alignMap;
3220
- /**
3221
- * Displays text as bold type
3222
- */
3223
- bold?: boolean;
3224
- /**
3225
- * Pass an arbitrary child node
3226
- */
3227
- children?: ReactNode | undefined;
3228
- /**
3229
- * Allows user to override default button colors
3230
- */
3231
- colorOverride?: string;
3232
- /**
3233
- * Used to indicate text is part of a "disabled" UI
3234
- */
3235
- disabled?: boolean;
3236
- /**
3237
- * Attempt to keep the text to a single line by truncating with an ellipsis
3238
- * <br />
3239
- * _Note: this only affects block elements_
3240
- */
3241
- ellipsis?: boolean;
3242
- /**
3243
- * Display the text as inline content
3244
- */
3245
- inline?: boolean;
3246
- /**
3247
- * Displays text as italic type
3248
- */
3249
- italic?: boolean;
3250
- /**
3251
- * Prevents text from being highlighted and copied
3252
- */
3253
- preventUserSelect?: boolean;
3254
- /**
3255
- * The type of html element to render as
3256
- */
3257
- renderAs?: keyof typeof renderMap;
3258
- /**
3259
- * The text style to display
3260
- */
3261
- variant?: keyof typeof variantStyleMap;
3262
- };
3263
- declare const Text: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3264
- /**
3265
- * The horizontal alignment
3266
- * <br />
3267
- * _Note: this only affects block elements_
3268
- */
3269
- align?: keyof typeof alignMap;
3270
- /**
3271
- * Displays text as bold type
3272
- */
3273
- bold?: boolean;
3274
- /**
3275
- * Pass an arbitrary child node
3276
- */
3277
- children?: ReactNode | undefined;
3278
- /**
3279
- * Allows user to override default button colors
3280
- */
3281
- colorOverride?: string;
3282
- /**
3283
- * Used to indicate text is part of a "disabled" UI
3284
- */
3285
- disabled?: boolean;
3286
- /**
3287
- * Attempt to keep the text to a single line by truncating with an ellipsis
3288
- * <br />
3289
- * _Note: this only affects block elements_
3290
- */
3291
- ellipsis?: boolean;
3292
- /**
3293
- * Display the text as inline content
3294
- */
3295
- inline?: boolean;
3296
- /**
3297
- * Displays text as italic type
3298
- */
3299
- italic?: boolean;
3300
- /**
3301
- * Prevents text from being highlighted and copied
3302
- */
3303
- preventUserSelect?: boolean;
3304
- /**
3305
- * The type of html element to render as
3306
- */
3307
- renderAs?: keyof typeof renderMap;
3308
- /**
3309
- * The text style to display
3310
- */
3311
- variant?: keyof typeof variantStyleMap;
3312
- } & react.RefAttributes<HTMLElement>>;
3313
-
3314
- type IconThumbnailProps = {
3315
- /**
3316
- * The desired display of the thumbnail, either wide or square
3317
- */
3318
- thumbnailImageType?: never;
3319
- /**
3320
- * The URL of the thumbnail image to display
3321
- */
3322
- thumbnailUrl?: never;
3323
- /**
3324
- * The type of {@link https://wistia.github.io/vhs/?path=/docs/components-icon--docs Icon} to use in place of a thumbnail image
3325
- */
3326
- icon: IconNameType;
3327
- /**
3328
- * The color of the icon
3329
- */
3330
- iconColor?: string;
3331
- };
3332
- type ImageThumbnailProps = {
3333
- /**
3334
- * The desired display of the thumbnail, either wide or square
3335
- */
3336
- thumbnailImageType?: 'square' | 'wide' | undefined;
3337
- /**
3338
- * The URL of the thumbnail image to display
3339
- */
3340
- thumbnailUrl: string[] | string | null;
3341
- /**
3342
- * The type of {@link https://wistia.github.io/vhs/?path=/docs/components-icon--docs Icon} to use in place of a thumbnail image
3343
- */
3344
- icon?: never;
3345
- /**
3346
- * The color of the icon
3347
- */
3348
- iconColor?: never;
3349
- };
3350
- type ThumbnailProps = ComponentPropsWithoutRef<'div'> & {
3351
- /**
3352
- * Text that displays in the bottom right hand corner of the thumbnail, usually the media duration
3353
- */
3354
- bottomRightText?: string;
3355
- /**
3356
- * Icon to display in bottom right corner of the thumbnail
3357
- */
3358
- bottomRightIcon?: IconNameType;
3359
- /**
3360
- * The type of gradient to show either behind the icon or when there is no thumbnail image
3361
- */
3362
- gradientBackground?: GradientNameType;
3363
- /**
3364
- * Width of the thumbnail. By default, the thumbnail will grow to fit its container.
3365
- */
3366
- width?: string;
3367
- } & (IconThumbnailProps | ImageThumbnailProps);
3368
- declare const Thumbnail: {
3369
- ({ bottomRightText, thumbnailUrl, thumbnailImageType, icon, bottomRightIcon, width, gradientBackground, iconColor, ...otherProps }: ThumbnailProps): JSX.Element;
3370
- displayName: string;
3371
- };
3372
-
3373
- type ThumbnailCollageProps = {
3374
- /**
3375
- * An array of image urls to show in the thumbnail. Supports up to 3 images
3376
- */
3377
- thumbnailUrls: string[];
3378
- /**
3379
- * The type of gradient to show when there are no thumbnail urls
3380
- */
3381
- gradientBackground?: GradientNameType;
3382
- };
3383
- declare const ThumbnailCollage: ({ thumbnailUrls, gradientBackground, ...props }: ThumbnailCollageProps) => JSX.Element;
3384
-
3385
- type ToastVariants = 'dangerous' | 'error' | 'success' | 'warning';
3386
- type ToastProps = ComponentPropsWithoutRef<'div'> & {
3387
- /**
3388
- * A function that will be invoked when the action button is clicked instead of the internal handler
3389
- */
3390
- actionInterceptor?: (() => void) | undefined;
3391
- /**
3392
- * The text of the "action" button on the right
3393
- */
3394
- actionLabel?: string | undefined;
3395
- /**
3396
- * A hex value that will override the color values defined by `variant`
3397
- */
3398
- colorOverride?: string | undefined;
3399
- /**
3400
- * @ignore
3401
- * Avoids animation and positions Toast in normal flow for documentation/testing purposes
3402
- */
3403
- renderInPlace?: boolean;
3404
- /**
3405
- * Determines whether Toast is displayed
3406
- */
3407
- isOpen?: boolean;
3408
- /**
3409
- * The message displayed in the toast
3410
- */
3411
- message: string;
3412
- /**
3413
- * Callback that is invoked when toasts closes (via timeout or close button)
3414
- */
3415
- onClose: () => void;
3416
- /**
3417
- * The time in ms before the Toast calls the onClose function
3418
- */
3419
- timeout?: number | undefined;
3420
- /**
3421
- * The kind of Toast to display
3422
- */
3423
- variant?: ToastVariants | undefined;
3424
- };
3425
- declare const Toast: react.MemoExoticComponent<({ actionInterceptor, actionLabel, colorOverride, renderInPlace, isOpen, message, onClose, timeout, variant, ...otherProps }: ToastProps) => react_jsx_runtime.JSX.Element>;
3426
-
3427
- type UseToastProps = {
3428
- message: string;
3429
- variant?: ToastVariants;
3430
- actionLabel?: string;
3431
- actionInterceptor?: () => void;
3432
- timeout?: number;
3433
- colorOverride?: string | undefined;
3434
- };
3435
- type UseToastFn = (props: UseToastProps) => void;
3436
-
3437
- declare const useToast: () => UseToastFn;
3438
-
3439
- declare const ToastProvider: ({ children }: {
3440
- children: ReactNode;
3441
- }) => react_jsx_runtime.JSX.Element;
3442
-
3443
- type TooltipProps = Omit<ComponentPropsWithoutRef<'div'>, 'id'> & {
3444
- /**
3445
- * The node that will be wrapped by the Tooltip
3446
- */
3447
- children: ReactNode;
3448
- /**
3449
- * Where the tooltip should appear in relation to wrapped component
3450
- */
3451
- direction?: 'bottom' | 'left' | 'right' | 'top';
3452
- /**
3453
- * Length of time to wait before dismissing Tooltip for click eventType
3454
- */
3455
- duration?: boolean | number | string;
3456
- /**
3457
- * The type of event that triggers display of Tooltip
3458
- */
3459
- eventType?: 'click' | 'hover';
3460
- /**
3461
- * @ignore
3462
- * Force a Tooltip to display it's content without user interaction (for debugging)
3463
- */
3464
- forceState?: 'open' | undefined;
3465
- /**
3466
- * ID for tooltip (automatically created if omitted)
3467
- */
3468
- id?: string | null | undefined;
3469
- /**
3470
- * The content that will appear in the Tooltip popup
3471
- */
3472
- label: ReactNode;
3473
- /**
3474
- * The maximum number of characters to display inside the Tooltip
3475
- */
3476
- maxChars?: number | null;
3477
- /**
3478
- * Whether content within the label should wrap
3479
- */
3480
- shouldWrap?: boolean;
3481
- /**
3482
- * Color to override background of the tooltip.
3483
- */
3484
- backgroundColorOverride?: string;
3485
- /**
3486
- * Color to override font color of the tooltip.
3487
- */
3488
- fontColorOverride?: string;
3489
- };
3490
- declare const Tooltip: {
3491
- ({ label, direction, duration, eventType, forceState, maxChars, children, id, shouldWrap, backgroundColorOverride, fontColorOverride, ...otherProps }: TooltipProps): JSX.Element;
3492
- displayName: string;
3493
- };
3494
-
3495
- type TruncateProps = {
3496
- /**
3497
- * Prevent ellipsis from truncating mid-word
3498
- */
3499
- breakOnWords?: boolean;
3500
- /**
3501
- * The string to be truncated
3502
- */
3503
- children: string | null | undefined;
3504
- /**
3505
- * The maximum number of characters to display inside the Tooltip
3506
- */
3507
- maxChars: number;
3508
- /**
3509
- * A string to append to the truncated string
3510
- */
3511
- terminator?: string;
3512
- };
3513
- declare const Truncate: {
3514
- ({ children, maxChars, terminator, breakOnWords, }: TruncateProps): JSX.Element | null;
3515
- displayName: string;
3516
- };
3517
-
3518
- type WistiaLogoProps = Omit<ComponentPropsWithoutRef<'svg'>, 'href'> & {
3519
- /**
3520
- * Display the icon portion of the logo
3521
- */
3522
- brandmark?: boolean;
3523
- /**
3524
- * @ignore
3525
- * Allows user to override default logo colors
3526
- */
3527
- colorOverride?: string;
3528
- /**
3529
- * Height, in pixels, of the logo
3530
- */
3531
- height?: number;
3532
- /**
3533
- * @ignore
3534
- * Change the color when hovering over the logo
3535
- */
3536
- hoverColor?: string;
3537
- /**
3538
- * If provided, will wrap the logo in a link
3539
- */
3540
- href?: string;
3541
- /**
3542
- * Display the text portion of the logo
3543
- */
3544
- logotype?: boolean;
3545
- /**
3546
- * An accessible, short-text description of the logo
3547
- */
3548
- title?: string;
3549
- /**
3550
- * Style of the logo
3551
- */
3552
- variant?: 'black' | 'standard' | 'white';
3553
- };
3554
- declare const WistiaLogo: {
3555
- ({ brandmark, colorOverride, height, hoverColor, href, logotype, title, variant, ...otherProps }?: WistiaLogoProps): react_jsx_runtime.JSX.Element | null;
3556
- displayName: string;
3557
- };
3558
-
3559
- type WistiaLogoNewProps = Omit<ComponentPropsWithoutRef<'svg'>, 'href'> & {
3560
- /**
3561
- * An optional accessible description for the logo
3562
- */
3563
- description?: string;
3564
- /**
3565
- * Height, in pixels, of the logo
3566
- */
3567
- height?: number;
3568
- /**
3569
- * @ignore
3570
- * Change the color when hovering over the logo
3571
- */
3572
- hoverColor?: string;
3573
- /**
3574
- * Display just the icon portion of the logo (ie. hide `Wistia` text)
3575
- * note: there is no analogue to this because by brand guidelines, the
3576
- * `Wistia` text must not be displayed without the "flags" iconography
3577
- */
3578
- iconOnly?: boolean;
3579
- /**
3580
- * If provided, will wrap the logo in a link
3581
- */
3582
- href?: string;
3583
- /**
3584
- * An accessible title for the logo (defaults to "Wistia Logo")
3585
- */
3586
- title?: string;
3587
- /**
3588
- * Style of the logo
3589
- */
3590
- variant?: 'dark' | 'light' | 'standard';
3591
- };
3592
- declare const WistiaLogoNew: {
3593
- ({ description, height, hoverColor, href, iconOnly, title, variant, ...otherProps }: WistiaLogoNewProps): react_jsx_runtime.JSX.Element;
3594
- displayName: string;
3595
- };
3596
-
3597
- export { ActionModal, type ActionModalProps, Avatar, type AvatarInstanceType, type AvatarProps, Backdrop, type BackdropProps, BackgroundImage, type BackgroundImageProps, Badge, type BadgeColorScheme, type BadgeProps, Banner, type BannerProps, Box, type BoxProps, Breakline, type BreaklineProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, CheckboxMenuItem, type CheckboxMenuItemProps, type CheckboxProps, ClickArea, type ClickAreaProps, CloseButton, type CloseButtonProps, CollapsibleGroup, type CollapsibleGroupProps, Divider, type DividerProps, Ellipsis, type EllipsisProps, FileSelect, type FileSelectProps, Form, FormButtons, type FormButtonsProps, FormField, FormFieldError, type FormFieldErrorProps, type FormFieldProps, FormGlobalError, type FormProps, type FormState, FullScreenModal, type FullScreenModalProps, Icon, IconButton, type IconButtonProps, type IconNameType, Image, type ImageProps, Input, type InputProps, type KeyboardKeys, KeyboardShortcut, Label, LabelDescription, type LabelDescriptionProps, type LabelProps, Link, LinkButton, type LinkButtonProps, type LinkProps, List, ListItem, type ListItemProps, type ListProps, MediaObject, type MediaObjectProps, Menu, MenuButton, type MenuButtonProps, MenuItem, type MenuItemProps, MenuLabel, type MenuProps, Modal, ModalBase, type ModalBaseContentProps, ModalBody, ModalCloseButton, type ModalCloseButtonProps, ModalFooter, ModalHeader, type ModalProps, type NodeElementObject, type OnBeforeHideInterface, type OptionsType, Paper, type PaperProps, ProgressBar, type ProgressBarProps, Radio, RadioGroup, type RadioGroupProps, RadioMenuItem, type RadioMenuItemProps, type RadioProps, RangeSelector, RangeSelectorCalendar, type RangeSelectorCalendarProps, RangeSelectorInput, type RangeSelectorInputProps, type RangeSelectorProps, RichTextEditor, type RichTextEditorProps, ScreenReaderOnly, type ScreenReaderOnlyProps, Select, type SelectProps, Slider, type SliderProps, Stack, type StackProps, SubMenu, Switch, type SwitchProps, Text, type TextProps, Thumbnail, ThumbnailCollage, type ThumbnailCollageProps, type ThumbnailProps, Toast, type ToastProps, ToastProvider, type ToastVariants, Tooltip, type TooltipProps, Truncate, type TruncateProps, VHSProvider, type VHSProviderProps, type VHSTheme, WistiaLogo, WistiaLogoNew, type WistiaLogoNewProps, type WistiaLogoProps, type WrapperProviderLinkType, copyToClipboard, datetimeHelpers, ellipsisFlexParentStyle, ellipsisStyle, getBackgroundGradient, getSemiRandomBackgroundGradient, iconSizeMap, isValidRange, mq, objectHelpers, rteDeserializeHTML, rteFormatTypes, rteSerializeToHTML, screenReaderOnlyStyle, stringHelpers, useBoolean, useClipboard, useElementObserver, useEvent, useFocusTrap, useForceUpdate, useIsHovered, useKey, useKeyPress, useKeyPressOnce, useLocalStorage, useMergedRefs, useMq, useOnClickOutside, usePreventScroll, usePreviousValue, useTheme, useThemeColor, useToast, useWindowSize };