@wistia/vhs 2.77.2-beta.badb476a.b497659 → 2.77.2-beta.f198e438.dc9f333

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