welcome-ui 8.0.0-alpha.0 → 8.1.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (301) hide show
  1. package/dist/AXB53BZF-XKOjjeWO.mjs +25 -0
  2. package/dist/Accordion.mjs +30 -23
  3. package/dist/Alert.mjs +76 -70
  4. package/dist/AspectRatio.mjs +8 -10
  5. package/dist/Avatar.mjs +48 -47
  6. package/dist/{BYC7LY2E-CVjUW1dr.mjs → BYC7LY2E-CWSI38FM.mjs} +355 -351
  7. package/dist/Badge.mjs +25 -25
  8. package/dist/Box.mjs +5 -5
  9. package/dist/Breadcrumb.mjs +173 -168
  10. package/dist/Button.mjs +72 -67
  11. package/dist/ButtonGroup.mjs +13 -12
  12. package/dist/Card.mjs +14 -14
  13. package/dist/Checkbox.mjs +2 -2
  14. package/dist/ClearButton.mjs +15 -15
  15. package/dist/CloseButton.mjs +9 -9
  16. package/dist/{CustomInput-D_13Gd_3.mjs → CustomPopper-CZt4RioF.mjs} +3200 -3047
  17. package/dist/DatePicker.mjs +81 -80
  18. package/dist/DateTimePicker.mjs +67 -62
  19. package/dist/DateTimePickerCommon.mjs +1 -1
  20. package/dist/Drawer.mjs +190 -174
  21. package/dist/DropdownMenu.mjs +389 -386
  22. package/dist/Field.mjs +104 -92
  23. package/dist/FieldGroup.mjs +12 -9
  24. package/dist/FileDrop.mjs +613 -576
  25. package/dist/FileUpload.mjs +95 -74
  26. package/dist/Files.mjs +46 -46
  27. package/dist/Flex.mjs +13 -13
  28. package/dist/Grid.mjs +29 -29
  29. package/dist/Hint.mjs +12 -12
  30. package/dist/ITI7HKP4-C89kOQb8.mjs +474 -0
  31. package/dist/Icon.mjs +24 -24
  32. package/dist/Icons.mjs +988 -988
  33. package/dist/IconsFont.mjs +159 -159
  34. package/dist/InputText.mjs +65 -57
  35. package/dist/{JC64G2H7-Dey-8h60.mjs → JC64G2H7-afsomHuH.mjs} +109 -108
  36. package/dist/KUU7WJ55-CzsjuIMv.mjs +61 -0
  37. package/dist/LVA2YJMS-C-kJ1lkr.mjs +873 -0
  38. package/dist/Label.mjs +37 -35
  39. package/dist/Link.mjs +28 -24
  40. package/dist/Loader.mjs +20 -16
  41. package/dist/Logo.mjs +55 -42
  42. package/dist/MTZPJQMC-TybFZCho.mjs +15 -0
  43. package/dist/Modal.mjs +276 -253
  44. package/dist/NLEBE274-oSxMftGy.mjs +84 -0
  45. package/dist/P2CTZE2T-DOT1mNnX.mjs +301 -0
  46. package/dist/P4IRICAX-CWSZLTGz.mjs +37 -0
  47. package/dist/Pagination.mjs +104 -104
  48. package/dist/PasswordInput.mjs +35 -34
  49. package/dist/Picker.mjs +35 -33
  50. package/dist/Popover.mjs +100 -93
  51. package/dist/QYJ6MIDR-DJ-vUdAM.mjs +98 -0
  52. package/dist/Radio.mjs +58 -52
  53. package/dist/RadioGroup.mjs +46 -46
  54. package/dist/RadioTab.mjs +37 -35
  55. package/dist/{SYRFVSLH-cVmYtx36.mjs → SYRFVSLH-B6m278Vb.mjs} +18 -17
  56. package/dist/Search.mjs +175 -161
  57. package/dist/Select.mjs +885 -847
  58. package/dist/Shape.mjs +9 -9
  59. package/dist/Slider.mjs +359 -336
  60. package/dist/Stack.mjs +22 -24
  61. package/dist/Swiper.mjs +324 -311
  62. package/dist/Table.mjs +23 -23
  63. package/dist/Tabs.mjs +250 -245
  64. package/dist/Tag.mjs +51 -49
  65. package/dist/Text.mjs +49 -47
  66. package/dist/Textarea.mjs +39 -39
  67. package/dist/TimePicker.mjs +57 -56
  68. package/dist/Toast.mjs +144 -137
  69. package/dist/Toggle.mjs +27 -24
  70. package/dist/Tooltip.mjs +115 -111
  71. package/dist/UniversalLink.mjs +16 -16
  72. package/dist/VEVQD5MH-0w9Y7Ytc.mjs +20 -0
  73. package/dist/{VGCJ63VH-B39w1tBw.mjs → VGCJ63VH-C0UPBY-5.mjs} +61 -62
  74. package/dist/VariantIcon.mjs +14 -22
  75. package/dist/WelcomeLoader.mjs +4863 -9223
  76. package/dist/WuiProvider.mjs +69 -58
  77. package/dist/X5NMLKT6-BJw3xE-K.mjs +25 -0
  78. package/dist/YV4JVR4I-DPC8mMuG.mjs +344 -0
  79. package/dist/downshift.esm-B7Jil1wW.mjs +1082 -0
  80. package/dist/{field-styles-DLIhqG_8.mjs → field-styles-BVlRlvuu.mjs} +2 -2
  81. package/dist/{hex-to-rgba-BIDK-3ab.mjs → hex-to-rgba-DU_XzKIK.mjs} +2 -2
  82. package/dist/hide-focus-rings-root-CCXdysih.mjs +15 -0
  83. package/dist/index-5HBq1O6Z.mjs +185 -0
  84. package/dist/{index-C7zM96J_.mjs → index-BaLGEKs7.mjs} +8 -8
  85. package/dist/{index-BYdkhqH4.mjs → index-CBBbX29m.mjs} +3652 -3584
  86. package/dist/index-CYmF7qCH.mjs +11 -0
  87. package/dist/index-C_k-m0Rl.mjs +36 -0
  88. package/dist/index-D8v_VJ9z.mjs +26 -0
  89. package/dist/{index-BNGGwOCo.mjs → index-DAZ1SYdj.mjs} +7 -7
  90. package/dist/{index-SbQUT2mU.mjs → index-DgSynio4.mjs} +244 -239
  91. package/dist/index-DpkNUfAS.mjs +11 -0
  92. package/dist/{index-DqBUFsqP.mjs → index-DvzWKxKE.mjs} +7 -7
  93. package/dist/{index-BJAZgeHL.mjs → index-QaLwIvZS.mjs} +8 -8
  94. package/dist/{index-BQtDgQBH.mjs → index-SQQQ4dEE.mjs} +8 -8
  95. package/dist/index-i_anpNhw.mjs +66 -0
  96. package/dist/index-wl3X6EM1.mjs +16 -0
  97. package/dist/jsx-runtime-B7I4PJ0H.mjs +613 -0
  98. package/dist/radio-group-C0fUHvam.mjs +52 -0
  99. package/dist/theme.mjs +1175 -1120
  100. package/dist/throttle-CW18pWlW.mjs +13 -0
  101. package/dist/types/components/Accordion/index.d.ts +1 -1
  102. package/dist/types/components/Accordion/styles.d.ts +2 -2
  103. package/dist/types/components/Accordion/theme.d.ts +1 -1
  104. package/dist/types/components/Alert/index.d.ts +2 -2
  105. package/dist/types/components/Alert/styles.d.ts +9 -9
  106. package/dist/types/components/Alert/theme.d.ts +4 -4
  107. package/dist/types/components/Avatar/index.d.ts +2 -3
  108. package/dist/types/components/Avatar/styles.d.ts +8 -8
  109. package/dist/types/components/Avatar/theme.d.ts +3 -3
  110. package/dist/types/components/Avatar/utils.d.ts +1 -1
  111. package/dist/types/components/Badge/index.d.ts +2 -2
  112. package/dist/types/components/Badge/styles.d.ts +5 -5
  113. package/dist/types/components/Badge/theme.d.ts +1 -1
  114. package/dist/types/components/Breadcrumb/Item.d.ts +1 -1
  115. package/dist/types/components/Breadcrumb/index.d.ts +2 -2
  116. package/dist/types/components/Breadcrumb/theme.d.ts +1 -1
  117. package/dist/types/components/Button/index.d.ts +4 -5
  118. package/dist/types/components/Button/styles.d.ts +1 -1
  119. package/dist/types/components/Button/theme.d.ts +7 -7
  120. package/dist/types/components/ButtonGroup/index.d.ts +3 -3
  121. package/dist/types/components/Card/Cover.styles.d.ts +4 -4
  122. package/dist/types/components/Card/index.d.ts +2 -3
  123. package/dist/types/components/Card/theme.d.ts +1 -1
  124. package/dist/types/components/Checkbox/index.d.ts +2 -2
  125. package/dist/types/components/Checkbox/styles.d.ts +1 -1
  126. package/dist/types/components/Checkbox/theme.d.ts +1 -1
  127. package/dist/types/components/ClearButton/index.d.ts +5 -6
  128. package/dist/types/components/ClearButton/styles.d.ts +4 -4
  129. package/dist/types/components/CloseButton/styles.d.ts +4 -4
  130. package/dist/types/components/DatePicker/index.d.ts +3 -3
  131. package/dist/types/components/DateTimePicker/index.d.ts +2 -2
  132. package/dist/types/components/DateTimePickerCommon/CustomHeader.d.ts +1 -1
  133. package/dist/types/components/DateTimePickerCommon/CustomInput.d.ts +5 -5
  134. package/dist/types/components/DateTimePickerCommon/CustomPopper.d.ts +1 -1
  135. package/dist/types/components/DateTimePickerCommon/index.d.ts +2 -2
  136. package/dist/types/components/DateTimePickerCommon/theme.d.ts +1 -1
  137. package/dist/types/components/DateTimePickerCommon/utils.d.ts +2 -2
  138. package/dist/types/components/Drawer/AssetDrawer/Header.d.ts +1 -1
  139. package/dist/types/components/Drawer/AssetDrawer/index.d.ts +1 -1
  140. package/dist/types/components/Drawer/index.d.ts +12 -12
  141. package/dist/types/components/Drawer/styles.d.ts +5 -5
  142. package/dist/types/components/Drawer/theme.d.ts +2 -2
  143. package/dist/types/components/DropdownMenu/index.d.ts +4 -4
  144. package/dist/types/components/DropdownMenu/theme.d.ts +1 -1
  145. package/dist/types/components/Field/index.d.ts +8 -8
  146. package/dist/types/components/Field/styles.d.ts +1 -1
  147. package/dist/types/components/Field/utils.d.ts +1 -1
  148. package/dist/types/components/FileDrop/FilePreview.d.ts +2 -2
  149. package/dist/types/components/FileDrop/Message.d.ts +1 -1
  150. package/dist/types/components/FileDrop/index.d.ts +20 -20
  151. package/dist/types/components/FileDrop/theme.d.ts +1 -1
  152. package/dist/types/components/FileUpload/index.d.ts +13 -13
  153. package/dist/types/components/Files/index.d.ts +5 -5
  154. package/dist/types/components/Files/types.d.ts +1 -1
  155. package/dist/types/components/Hint/index.d.ts +1 -2
  156. package/dist/types/components/Hint/theme.d.ts +1 -1
  157. package/dist/types/components/Icon/index.d.ts +3 -3
  158. package/dist/types/components/Icon/styles.d.ts +3 -3
  159. package/dist/types/components/Icon/theme.d.ts +3 -3
  160. package/dist/types/components/Icons/Sun/content.json.d.ts +2 -1
  161. package/dist/types/components/Icons/index.d.ts +2 -2
  162. package/dist/types/components/IconsFont/index.d.ts +2 -3
  163. package/dist/types/components/IconsFont/styles.d.ts +1 -1
  164. package/dist/types/components/InputText/index.d.ts +1 -1
  165. package/dist/types/components/InputText/styles.d.ts +1 -1
  166. package/dist/types/components/Label/index.d.ts +2 -3
  167. package/dist/types/components/Label/theme.d.ts +1 -1
  168. package/dist/types/components/Link/index.d.ts +5 -5
  169. package/dist/types/components/Link/styles.d.ts +4 -4
  170. package/dist/types/components/Link/theme.d.ts +1 -1
  171. package/dist/types/components/Loader/index.d.ts +1 -1
  172. package/dist/types/components/Loader/styles.d.ts +4 -4
  173. package/dist/types/components/Loader/theme.d.ts +4 -4
  174. package/dist/types/components/Logo/Solutions.d.ts +1 -2
  175. package/dist/types/components/Logo/Symbol.d.ts +1 -2
  176. package/dist/types/components/Logo/Wui.d.ts +1 -2
  177. package/dist/types/components/Logo/index.d.ts +5 -5
  178. package/dist/types/components/Modal/Assets/Backdrop.d.ts +5 -6
  179. package/dist/types/components/Modal/Assets/Iframe.d.ts +1 -2
  180. package/dist/types/components/Modal/Assets/index.d.ts +9 -9
  181. package/dist/types/components/Modal/Assets/styles.d.ts +8 -8
  182. package/dist/types/components/Modal/Close.d.ts +3 -4
  183. package/dist/types/components/Modal/Content.d.ts +4 -5
  184. package/dist/types/components/Modal/Footer.d.ts +1 -1
  185. package/dist/types/components/Modal/Header.d.ts +2 -2
  186. package/dist/types/components/Modal/index.d.ts +17 -17
  187. package/dist/types/components/Modal/styles.d.ts +7 -7
  188. package/dist/types/components/Modal/theme.d.ts +2 -2
  189. package/dist/types/components/Pagination/index.d.ts +2 -2
  190. package/dist/types/components/Pagination/theme.d.ts +1 -1
  191. package/dist/types/components/Pagination/utils.d.ts +1 -1
  192. package/dist/types/components/Picker/index.d.ts +1 -1
  193. package/dist/types/components/Picker/styles.d.ts +1 -1
  194. package/dist/types/components/Popover/Arrow.d.ts +1 -2
  195. package/dist/types/components/Popover/Content.d.ts +2 -3
  196. package/dist/types/components/Popover/Popover.d.ts +4 -5
  197. package/dist/types/components/Popover/PopoverHover.d.ts +3 -4
  198. package/dist/types/components/Popover/Trigger.d.ts +1 -1
  199. package/dist/types/components/Popover/styles.d.ts +4 -4
  200. package/dist/types/components/Popover/theme.d.ts +1 -1
  201. package/dist/types/components/Popover/usePopover.d.ts +6 -6
  202. package/dist/types/components/Radio/index.d.ts +3 -3
  203. package/dist/types/components/Radio/styles.d.ts +5 -5
  204. package/dist/types/components/Radio/theme.d.ts +1 -1
  205. package/dist/types/components/RadioGroup/index.d.ts +2 -2
  206. package/dist/types/components/RadioTab/index.d.ts +3 -3
  207. package/dist/types/components/RadioTab/styles.d.ts +3 -9
  208. package/dist/types/components/RadioTab/theme.d.ts +1 -1
  209. package/dist/types/components/Search/index.d.ts +5 -5
  210. package/dist/types/components/Select/index.d.ts +11 -11
  211. package/dist/types/components/Select/styles.d.ts +6 -6
  212. package/dist/types/components/Select/utils.d.ts +11 -7
  213. package/dist/types/components/Shape/index.d.ts +1 -1
  214. package/dist/types/components/Shape/styles.d.ts +3 -3
  215. package/dist/types/components/Slider/Range.d.ts +3 -3
  216. package/dist/types/components/Slider/index.d.ts +2 -2
  217. package/dist/types/components/Slider/styles.d.ts +16 -16
  218. package/dist/types/components/Slider/theme.d.ts +1 -1
  219. package/dist/types/components/Stack/index.d.ts +1 -1
  220. package/dist/types/components/Swiper/index.d.ts +17 -18
  221. package/dist/types/components/Swiper/styles.d.ts +56 -56
  222. package/dist/types/components/Swiper/theme.d.ts +1 -1
  223. package/dist/types/components/System/index.d.ts +14 -14
  224. package/dist/types/components/Table/index.d.ts +6 -7
  225. package/dist/types/components/Table/styles.d.ts +1 -1
  226. package/dist/types/components/Table/theme.d.ts +1 -1
  227. package/dist/types/components/Tabs/ActiveBar.d.ts +5 -5
  228. package/dist/types/components/Tabs/TabList.d.ts +4 -4
  229. package/dist/types/components/Tabs/TabPanel.d.ts +2 -2
  230. package/dist/types/components/Tabs/styles.d.ts +2 -2
  231. package/dist/types/components/Tabs/theme.d.ts +2 -2
  232. package/dist/types/components/Tag/index.d.ts +2 -3
  233. package/dist/types/components/Tag/styles.d.ts +1 -1
  234. package/dist/types/components/Tag/theme.d.ts +3 -3
  235. package/dist/types/components/Text/index.d.ts +2 -2
  236. package/dist/types/components/Textarea/index.d.ts +1 -1
  237. package/dist/types/components/Textarea/theme.d.ts +1 -1
  238. package/dist/types/components/TimePicker/index.d.ts +2 -2
  239. package/dist/types/components/Toast/Growl.d.ts +1 -1
  240. package/dist/types/components/Toast/Snackbar.d.ts +1 -1
  241. package/dist/types/components/Toast/ToastWrapper.d.ts +5 -5
  242. package/dist/types/components/Toast/index.d.ts +6 -6
  243. package/dist/types/components/Toast/styles.d.ts +16 -16
  244. package/dist/types/components/Toast/theme.d.ts +2 -2
  245. package/dist/types/components/Toast/utils.d.ts +13 -13
  246. package/dist/types/components/Toggle/index.d.ts +3 -3
  247. package/dist/types/components/Toggle/styles.d.ts +5 -4
  248. package/dist/types/components/Toggle/theme.d.ts +6 -6
  249. package/dist/types/components/Tooltip/index.d.ts +2 -2
  250. package/dist/types/components/Tooltip/styles.d.ts +1 -1
  251. package/dist/types/components/Tooltip/theme.d.ts +1 -1
  252. package/dist/types/components/VariantIcon/index.d.ts +1 -1
  253. package/dist/types/components/VariantIcon/styles.d.ts +1 -1
  254. package/dist/types/components/VariantIcon/theme.d.ts +3 -3
  255. package/dist/types/components/WuiProvider/font.d.ts +3 -5
  256. package/dist/types/components/WuiProvider/index.d.ts +1 -1
  257. package/dist/types/theme/colors.d.ts +3 -11
  258. package/dist/types/theme/dark.d.ts +1 -1
  259. package/dist/types/theme/defaultFields.d.ts +10 -10
  260. package/dist/types/theme/fonts.d.ts +5 -5
  261. package/dist/types/theme/index.d.ts +31 -31
  262. package/dist/types/theme/screens.d.ts +1 -1
  263. package/dist/types/theme/space.d.ts +1 -1
  264. package/dist/types/theme/typography.d.ts +1 -1
  265. package/dist/types/utils/field-styles.d.ts +6 -6
  266. package/dist/types/utils/index.d.ts +2 -2
  267. package/dist/types/utils/ts-utils.d.ts +1 -1
  268. package/dist/types/utils/use-copy-text.d.ts +1 -1
  269. package/dist/types/utils/use-create-portal.d.ts +1 -1
  270. package/dist/types/utils/use-viewport.d.ts +2 -2
  271. package/dist/types/utils/wrap-children.d.ts +1 -1
  272. package/dist/{use-fork-ref-CUZErtAC.mjs → use-fork-ref-DvaCTfQ_.mjs} +4 -3
  273. package/dist/use-viewport-CWpjoHXy.mjs +16 -0
  274. package/dist/utils.mjs +96 -85
  275. package/dist/wrap-children-DBSD-X5-.mjs +9 -0
  276. package/package.json +11 -38
  277. package/dist/AXB53BZF-CGoc4K3d.mjs +0 -25
  278. package/dist/ITI7HKP4-BONrZ9Pq.mjs +0 -473
  279. package/dist/KUU7WJ55-3sP-w1F1.mjs +0 -61
  280. package/dist/LVA2YJMS-qFC9J-lt.mjs +0 -1479
  281. package/dist/MTZPJQMC-C0Xe_WK4.mjs +0 -13
  282. package/dist/NLEBE274-C94QU78N.mjs +0 -84
  283. package/dist/P2CTZE2T-YPes1GXe.mjs +0 -297
  284. package/dist/P4IRICAX-DzXqUYe-.mjs +0 -37
  285. package/dist/QYJ6MIDR-BLLqyXdd.mjs +0 -97
  286. package/dist/VEVQD5MH-ZMnHV8ZJ.mjs +0 -20
  287. package/dist/X5NMLKT6-uFSu0Lii.mjs +0 -25
  288. package/dist/YV4JVR4I-BGfUf3Nu.mjs +0 -341
  289. package/dist/downshift.esm-CEHW4VDy.mjs +0 -1085
  290. package/dist/hide-focus-rings-root-BNyva1yb.mjs +0 -14
  291. package/dist/index-BDeIsk2X.mjs +0 -184
  292. package/dist/index-BRDOakbf.mjs +0 -11
  293. package/dist/index-BpRjq7lj.mjs +0 -11
  294. package/dist/index-BrfXjmHY.mjs +0 -36
  295. package/dist/index-CExLVjET.mjs +0 -26
  296. package/dist/index-DEJJvyGk.mjs +0 -66
  297. package/dist/index-u1oHKa7X.mjs +0 -16
  298. package/dist/radio-group-CGC6DTFJ.mjs +0 -51
  299. package/dist/throttle-BDBzFeFj.mjs +0 -13
  300. package/dist/use-viewport-m3glsbna.mjs +0 -16
  301. package/dist/wrap-children-aq69jtFP.mjs +0 -12
@@ -1,16 +1,16 @@
1
1
  import { DrawerOptions } from '.';
2
- import * as Ariakit from '@ariakit/react';
2
+ import type * as Ariakit from '@ariakit/react';
3
3
  export declare const Drawer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, Pick<DrawerOptions, "size" | "placement">>> & string;
4
4
  export declare const Backdrop: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, {
5
5
  hideOnInteractOutside: Ariakit.DialogProps["hideOnInteractOutside"];
6
6
  }>> & string;
7
7
  export declare const Title: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, never>> & string;
8
8
  export declare const Content: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, never>> & string;
9
- export declare const CloseButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof import('../System').WuiProps>, "animation" | "animationDuration" | "animationTimingFunction" | "background" | "backgroundColor" | "bg" | "backgroundImage" | "backgroundSize" | "backgroundPosition" | "backgroundRepeat" | "backgroundAttachment" | "backgroundClip" | "gradientFrom" | "gradientVia" | "gradientTo" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderBottomColor" | "borderLeftColor" | "borderWidth" | "borderTopWidth" | "borderRightWidth" | "borderBottomWidth" | "borderLeftWidth" | "borderStyle" | "borderTopStyle" | "borderRightStyle" | "borderBottomStyle" | "borderLeftStyle" | "borderRadius" | "outline" | "outlineColor" | "outlineWidth" | "outlineStyle" | "outlineOffset" | "divideX" | "divideY" | "divideXReverse" | "divideYReverse" | "divideColor" | "divideStyle" | "ring" | "ringInset" | "ringColor" | "opacity" | "boxShadow" | "textShadow" | "row" | "col" | "display" | "alignItems" | "alignContent" | "justifyContent" | "justifyItems" | "flexWrap" | "flexBasis" | "flexShrink" | "flexGrow" | "flexDirection" | "flex" | "justifySelf" | "alignSelf" | "order" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "appearance" | "cursor" | "pointerEvents" | "resize" | "userSelect" | "float" | "boxSizing" | "container" | "overflow" | "overflowX" | "overflowY" | "position" | "zIndex" | "top" | "right" | "bottom" | "left" | "visibility" | "overscrollBehavior" | "objectFit" | "w" | "h" | "maxWidth" | "maxW" | "maxHeight" | "maxH" | "minWidth" | "minHeight" | "minH" | "maskSize" | "margin" | "m" | "marginTop" | "mt" | "marginRight" | "mr" | "marginBottom" | "mb" | "marginLeft" | "ml" | "mx" | "my" | "padding" | "p" | "paddingTop" | "pt" | "paddingRight" | "pr" | "paddingBottom" | "pb" | "paddingLeft" | "pl" | "px" | "py" | "spaceX" | "spaceY" | "spaceXReverse" | "spaceYReverse" | "fill" | "stroke" | "borderCollapse" | "tableLayout" | "transform" | "transformOrigin" | "translateX" | "translateY" | "rotate" | "skewX" | "skewY" | "scale" | "scaleX" | "scaleY" | "transition" | "transitionProperty" | "transitionDuration" | "transitionTimingFunction" | "transitionDelay" | "fontFamily" | "fontSize" | "fontStyle" | "fontVariant" | "lineHeight" | "fontWeight" | "textAlign" | "letterSpacing" | "color" | "textTransform" | "textDecoration" | "verticalAlign" | "whiteSpace" | "textOverflow" | "listStyleType" | "listStylePosition" | "text" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "form" | keyof import('react').ClassAttributes<HTMLButtonElement> | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "as" | "dataTestId" | keyof import('../Button').ButtonOptions> & Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof import('../System').WuiProps>, keyof import('../Button').ButtonOptions> & import('../Button').ButtonOptions & Omit<import('../System').WuiProps & import('../System').WuiTestProps & {
9
+ export declare const CloseButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof import('../System').WuiProps>, "col" | "form" | "p" | "slot" | "style" | "title" | "text" | "animation" | "animationDuration" | "animationTimingFunction" | "background" | "backgroundColor" | "bg" | "backgroundImage" | "backgroundSize" | "backgroundPosition" | "backgroundRepeat" | "backgroundAttachment" | "backgroundClip" | "gradientFrom" | "gradientVia" | "gradientTo" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderBottomColor" | "borderLeftColor" | "borderWidth" | "borderTopWidth" | "borderRightWidth" | "borderBottomWidth" | "borderLeftWidth" | "borderStyle" | "borderTopStyle" | "borderRightStyle" | "borderBottomStyle" | "borderLeftStyle" | "borderRadius" | "outline" | "outlineColor" | "outlineWidth" | "outlineStyle" | "outlineOffset" | "divideX" | "divideY" | "divideXReverse" | "divideYReverse" | "divideColor" | "divideStyle" | "ring" | "ringInset" | "ringColor" | "opacity" | "boxShadow" | "textShadow" | "row" | "display" | "alignItems" | "alignContent" | "justifyContent" | "justifyItems" | "flexWrap" | "flexBasis" | "flexShrink" | "flexGrow" | "flexDirection" | "flex" | "justifySelf" | "alignSelf" | "order" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "appearance" | "cursor" | "pointerEvents" | "resize" | "userSelect" | "float" | "boxSizing" | "container" | "overflow" | "overflowX" | "overflowY" | "position" | "zIndex" | "top" | "right" | "bottom" | "left" | "visibility" | "overscrollBehavior" | "objectFit" | "w" | "h" | "maxWidth" | "maxW" | "maxHeight" | "maxH" | "minWidth" | "minHeight" | "minH" | "maskSize" | "margin" | "m" | "marginTop" | "mt" | "marginRight" | "mr" | "marginBottom" | "mb" | "marginLeft" | "ml" | "mx" | "my" | "padding" | "paddingTop" | "pt" | "paddingRight" | "pr" | "paddingBottom" | "pb" | "paddingLeft" | "pl" | "px" | "py" | "spaceX" | "spaceY" | "spaceXReverse" | "spaceYReverse" | "fill" | "stroke" | "borderCollapse" | "tableLayout" | "transform" | "transformOrigin" | "translateX" | "translateY" | "rotate" | "skewX" | "skewY" | "scale" | "scaleX" | "scaleY" | "transition" | "transitionProperty" | "transitionDuration" | "transitionTimingFunction" | "transitionDelay" | "fontFamily" | "fontSize" | "fontStyle" | "fontVariant" | "lineHeight" | "fontWeight" | "textAlign" | "letterSpacing" | "color" | "textTransform" | "textDecoration" | "verticalAlign" | "whiteSpace" | "textOverflow" | "listStyleType" | "listStylePosition" | "as" | "dataTestId" | "hidden" | "children" | "content" | "translate" | "name" | "onClick" | "suppressHydrationWarning" | "className" | "id" | "lang" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | keyof import('react').ClassAttributes<HTMLButtonElement> | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | keyof import('../Button').ButtonOptions> & Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof import('../System').WuiProps>, keyof import('../Button').ButtonOptions> & import('../Button').ButtonOptions & Omit<{
10
10
  as?: import('../System').As;
11
- }, keyof import('../Button').ButtonOptions> & Omit<import('../System').WuiProps & import('../System').WuiTestProps & {
11
+ } & import('../System').WuiProps & import('../System').WuiTestProps, keyof import('../Button').ButtonOptions> & Omit<{
12
12
  as?: import('../System').As;
13
- }, "animation" | "animationDuration" | "animationTimingFunction" | "background" | "backgroundColor" | "bg" | "backgroundImage" | "backgroundSize" | "backgroundPosition" | "backgroundRepeat" | "backgroundAttachment" | "backgroundClip" | "gradientFrom" | "gradientVia" | "gradientTo" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderBottomColor" | "borderLeftColor" | "borderWidth" | "borderTopWidth" | "borderRightWidth" | "borderBottomWidth" | "borderLeftWidth" | "borderStyle" | "borderTopStyle" | "borderRightStyle" | "borderBottomStyle" | "borderLeftStyle" | "borderRadius" | "outline" | "outlineColor" | "outlineWidth" | "outlineStyle" | "outlineOffset" | "divideX" | "divideY" | "divideXReverse" | "divideYReverse" | "divideColor" | "divideStyle" | "ring" | "ringInset" | "ringColor" | "opacity" | "boxShadow" | "textShadow" | "row" | "col" | "display" | "alignItems" | "alignContent" | "justifyContent" | "justifyItems" | "flexWrap" | "flexBasis" | "flexShrink" | "flexGrow" | "flexDirection" | "flex" | "justifySelf" | "alignSelf" | "order" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "appearance" | "cursor" | "pointerEvents" | "resize" | "userSelect" | "float" | "boxSizing" | "container" | "overflow" | "overflowX" | "overflowY" | "position" | "zIndex" | "top" | "right" | "bottom" | "left" | "visibility" | "overscrollBehavior" | "objectFit" | "w" | "h" | "maxWidth" | "maxW" | "maxHeight" | "maxH" | "minWidth" | "minHeight" | "minH" | "maskSize" | "margin" | "m" | "marginTop" | "mt" | "marginRight" | "mr" | "marginBottom" | "mb" | "marginLeft" | "ml" | "mx" | "my" | "padding" | "p" | "paddingTop" | "pt" | "paddingRight" | "pr" | "paddingBottom" | "pb" | "paddingLeft" | "pl" | "px" | "py" | "spaceX" | "spaceY" | "spaceXReverse" | "spaceYReverse" | "fill" | "stroke" | "borderCollapse" | "tableLayout" | "transform" | "transformOrigin" | "translateX" | "translateY" | "rotate" | "skewX" | "skewY" | "scale" | "scaleX" | "scaleY" | "transition" | "transitionProperty" | "transitionDuration" | "transitionTimingFunction" | "transitionDelay" | "fontFamily" | "fontSize" | "fontStyle" | "fontVariant" | "lineHeight" | "fontWeight" | "textAlign" | "letterSpacing" | "color" | "textTransform" | "textDecoration" | "verticalAlign" | "whiteSpace" | "textOverflow" | "listStyleType" | "listStylePosition" | "text" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "form" | keyof import('react').ClassAttributes<HTMLButtonElement> | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "as" | "dataTestId" | keyof import('../Button').ButtonOptions>, "ref"> & {
14
- ref?: import('react').Ref<HTMLButtonElement>;
13
+ } & import('../System').WuiProps & import('../System').WuiTestProps, "col" | "form" | "p" | "slot" | "style" | "title" | "text" | "animation" | "animationDuration" | "animationTimingFunction" | "background" | "backgroundColor" | "bg" | "backgroundImage" | "backgroundSize" | "backgroundPosition" | "backgroundRepeat" | "backgroundAttachment" | "backgroundClip" | "gradientFrom" | "gradientVia" | "gradientTo" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderBottomColor" | "borderLeftColor" | "borderWidth" | "borderTopWidth" | "borderRightWidth" | "borderBottomWidth" | "borderLeftWidth" | "borderStyle" | "borderTopStyle" | "borderRightStyle" | "borderBottomStyle" | "borderLeftStyle" | "borderRadius" | "outline" | "outlineColor" | "outlineWidth" | "outlineStyle" | "outlineOffset" | "divideX" | "divideY" | "divideXReverse" | "divideYReverse" | "divideColor" | "divideStyle" | "ring" | "ringInset" | "ringColor" | "opacity" | "boxShadow" | "textShadow" | "row" | "display" | "alignItems" | "alignContent" | "justifyContent" | "justifyItems" | "flexWrap" | "flexBasis" | "flexShrink" | "flexGrow" | "flexDirection" | "flex" | "justifySelf" | "alignSelf" | "order" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "appearance" | "cursor" | "pointerEvents" | "resize" | "userSelect" | "float" | "boxSizing" | "container" | "overflow" | "overflowX" | "overflowY" | "position" | "zIndex" | "top" | "right" | "bottom" | "left" | "visibility" | "overscrollBehavior" | "objectFit" | "w" | "h" | "maxWidth" | "maxW" | "maxHeight" | "maxH" | "minWidth" | "minHeight" | "minH" | "maskSize" | "margin" | "m" | "marginTop" | "mt" | "marginRight" | "mr" | "marginBottom" | "mb" | "marginLeft" | "ml" | "mx" | "my" | "padding" | "paddingTop" | "pt" | "paddingRight" | "pr" | "paddingBottom" | "pb" | "paddingLeft" | "pl" | "px" | "py" | "spaceX" | "spaceY" | "spaceXReverse" | "spaceYReverse" | "fill" | "stroke" | "borderCollapse" | "tableLayout" | "transform" | "transformOrigin" | "translateX" | "translateY" | "rotate" | "skewX" | "skewY" | "scale" | "scaleX" | "scaleY" | "transition" | "transitionProperty" | "transitionDuration" | "transitionTimingFunction" | "transitionDelay" | "fontFamily" | "fontSize" | "fontStyle" | "fontVariant" | "lineHeight" | "fontWeight" | "textAlign" | "letterSpacing" | "color" | "textTransform" | "textDecoration" | "verticalAlign" | "whiteSpace" | "textOverflow" | "listStyleType" | "listStylePosition" | "as" | "dataTestId" | "hidden" | "children" | "content" | "translate" | "name" | "onClick" | "suppressHydrationWarning" | "className" | "id" | "lang" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | keyof import('react').ClassAttributes<HTMLButtonElement> | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | keyof import('../Button').ButtonOptions>, "ref"> & {
14
+ ref?: ((instance: HTMLButtonElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLButtonElement> | null | undefined;
15
15
  }, never>> & string & Omit<import('../System').CreateWuiComponent<"button", import('../Button').ButtonProps>, keyof import('react').Component<any, {}, any>>;
16
16
  export declare const Footer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, never>> & string;
@@ -1,6 +1,5 @@
1
1
  import { CSSObject } from '@xstyled/styled-components';
2
- import { ThemeValues } from '../../theme';
3
- type Size = 'sm' | 'md' | 'lg';
2
+ import { ThemeValues } from '../theme';
4
3
  export type ThemeDrawers = {
5
4
  backdrop: CSSObject;
6
5
  closeButton: CSSObject;
@@ -13,5 +12,6 @@ export type ThemeDrawers = {
13
12
  };
14
13
  title: CSSObject;
15
14
  };
15
+ type Size = 'lg' | 'md' | 'sm';
16
16
  export declare const getDrawers: (theme: ThemeValues) => ThemeDrawers;
17
17
  export {};
@@ -1,5 +1,5 @@
1
- import { ThemeValues } from '../../theme';
2
1
  import { CreateWuiProps, WuiProps } from '../System';
2
+ import { ThemeValues } from '../theme';
3
3
  import * as Ariakit from '@ariakit/react';
4
4
  export interface DropdownMenuOptions extends Omit<Ariakit.MenuProps, 'gutter'> {
5
5
  /** default 4px (space.xs) */
@@ -11,15 +11,15 @@ export type DropdownMenuProps = CreateWuiProps<'div', DropdownMenuOptions>;
11
11
  export type UseDropdownMenu = Ariakit.MenuStore;
12
12
  export type UseDropdownMenuProps = Ariakit.MenuStoreProps;
13
13
  export type UseDropdownMenuState = Ariakit.MenuStoreState;
14
- export declare function useDropdownMenu(options?: UseDropdownMenuProps): UseDropdownMenu;
15
14
  type TriggerOptions = {
16
15
  store: UseDropdownMenu;
17
16
  };
18
17
  type TriggerProps = CreateWuiProps<'button', TriggerOptions>;
18
+ export declare function useDropdownMenu(options?: UseDropdownMenuProps): UseDropdownMenu;
19
19
  export declare const DropdownMenu: import('../System').CreateWuiComponent<"div", DropdownMenuProps> & {
20
- Trigger: import('../System').CreateWuiComponent<"button", TriggerProps>;
20
+ Arrow: import('../System').CreateWuiComponent<"div", import('./Arrow').ArrowProps>;
21
21
  Item: import('../System').CreateWuiComponent<"button", import('./Item').ItemProps>;
22
22
  Separator: import('../System').CreateWuiComponent<"div", import('./Separator').SeparatorProps>;
23
- Arrow: import('../System').CreateWuiComponent<"div", import('./Arrow').ArrowProps>;
23
+ Trigger: import('../System').CreateWuiComponent<"button", TriggerProps>;
24
24
  };
25
25
  export {};
@@ -1,5 +1,5 @@
1
1
  import { CSSObject } from '@xstyled/styled-components';
2
- import { ThemeValues } from '../../theme';
2
+ import { ThemeValues } from '../theme';
3
3
  export type ThemeDropdownMenu = {
4
4
  inner: CSSObject;
5
5
  item: CSSObject;
@@ -1,21 +1,21 @@
1
1
  import { default as React } from 'react';
2
- import { getBaseType } from './utils';
3
2
  import { CreateWuiProps } from '../System';
4
- type VariantProps = {
5
- error?: string | JSX.Element;
6
- success?: string | JSX.Element;
7
- warning?: string | JSX.Element;
8
- };
3
+ import { getBaseType } from './utils';
9
4
  export interface FieldOptions extends VariantProps {
10
5
  children: JSX.Element;
11
6
  disabled?: boolean;
12
7
  disabledIcon?: JSX.Element;
13
- hint?: string | JSX.Element;
14
- label?: string | JSX.Element;
8
+ hint?: JSX.Element | string;
9
+ label?: JSX.Element | string;
15
10
  required?: boolean;
16
11
  transparent?: boolean;
17
12
  }
18
13
  export type FieldProps = CreateWuiProps<'div', FieldOptions>;
14
+ type VariantProps = {
15
+ error?: JSX.Element | string;
16
+ success?: JSX.Element | string;
17
+ warning?: JSX.Element | string;
18
+ };
19
19
  export declare const Field: import('../System').CreateWuiComponent<"div", FieldProps>;
20
20
  export declare const IconWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, {
21
21
  iconPlacement: "left" | "right";
@@ -1,5 +1,5 @@
1
- import { DefaultFieldIconSize } from '../../utils/field-styles';
2
1
  import { WuiProps } from '../System';
2
+ import { DefaultFieldIconSize } from '../../utils/field-styles';
3
3
  type StyledFieldProps = {
4
4
  checked?: boolean;
5
5
  flexDirection: WuiProps['flexDirection'];
@@ -1,5 +1,5 @@
1
1
  import { FieldOptions } from '.';
2
2
  export declare const getBaseType: (type: string) => string;
3
- export declare const getVariant: ({ error, success, warning, }: Pick<FieldOptions, "error" | "success" | "warning">) => "danger" | "warning" | "success";
3
+ export declare const getVariant: ({ error, success, warning, }: Pick<FieldOptions, "error" | "success" | "warning">) => "danger" | "success" | "warning" | undefined;
4
4
  export declare const generateRandomId: () => string;
5
5
  export declare const forwardedProps: string[];
@@ -1,9 +1,9 @@
1
1
  import { default as React } from 'react';
2
- import { FileDropChildren } from './index';
3
2
  import { ForceFileType } from '../Files';
3
+ import { FileDropChildren } from './index';
4
4
  export interface MessageProps {
5
5
  file: FileDropChildren['file'];
6
6
  fileName?: string;
7
7
  forceFileType?: ForceFileType;
8
8
  }
9
- export declare const FilePreview: React.FC<MessageProps & FileDropChildren['wordings']>;
9
+ export declare const FilePreview: React.FC<FileDropChildren['wordings'] & MessageProps>;
@@ -4,4 +4,4 @@ export interface MessageProps {
4
4
  disabled?: boolean;
5
5
  openFile?: FileDropChildren['openFile'];
6
6
  }
7
- export declare const Message: React.FC<MessageProps & FileDropChildren['wordings']>;
7
+ export declare const Message: React.FC<FileDropChildren['wordings'] & MessageProps>;
@@ -1,26 +1,14 @@
1
- import { default as React } from 'react';
2
1
  import { Accept, DropEvent, DropzoneProps, DropzoneState } from 'react-dropzone';
3
- import { CreateEvent } from '../../utils/create-event';
2
+ import { default as React } from 'react';
4
3
  import { ForceFileType } from '../Files';
5
4
  import { CreateWuiProps } from '../System';
6
- export interface FileWithPreview extends File {
7
- preview?: string;
8
- }
9
- type FileType = string | FileWithPreview;
10
- type FileUrlType = string | URL;
11
- type OpenType = DropzoneState['open'];
12
- type WordingsType = {
13
- fileButtonText?: string | JSX.Element;
14
- hint?: string | JSX.Element;
15
- previewButtonText?: string | JSX.Element;
16
- title?: string | JSX.Element;
17
- };
5
+ import { CreateEvent } from '../../utils/create-event';
18
6
  export type FileDropChildren = {
19
7
  disabled?: boolean;
20
- error?: string;
21
- file?: FileType;
8
+ error?: null | string;
9
+ file?: FileType | null;
22
10
  fileName?: string;
23
- fileUrl?: FileUrlType;
11
+ fileUrl?: FileUrlType | null;
24
12
  forceFileType?: ForceFileType;
25
13
  isAnImage?: boolean;
26
14
  isHoverAccept?: DropzoneState['isDragAccept'];
@@ -34,19 +22,31 @@ export interface FileDropOptions {
34
22
  children?: (state: FileDropChildren) => JSX.Element;
35
23
  fileName?: string;
36
24
  forceFileType?: ForceFileType;
37
- handleAddFile?: (event: DropEvent | React.ChangeEvent<HTMLInputElement> | CreateEvent) => void;
38
- handleRemoveFile?: (event: DropEvent | React.ChangeEvent<HTMLInputElement> | CreateEvent) => void;
25
+ handleAddFile?: (event: CreateEvent | DropEvent | React.ChangeEvent<HTMLInputElement>) => void;
26
+ handleRemoveFile?: (event: CreateEvent | DropEvent | React.ChangeEvent<HTMLInputElement>) => void;
39
27
  isClearable?: boolean;
40
28
  isEditable?: boolean;
41
29
  name?: string;
42
30
  onBlur?: () => void;
43
- onChange?: (event: DropEvent | React.ChangeEvent<HTMLInputElement> | CreateEvent) => void;
31
+ onChange?: (event: CreateEvent | DropEvent | React.ChangeEvent<HTMLInputElement>) => void;
44
32
  onError?: (event?: string) => void;
45
33
  value: FileType;
46
34
  /** Pass an object with optional fields title, hint, fileButtonText and/or previewButtonText (string or JSX.Element) */
47
35
  wordings?: WordingsType;
48
36
  }
49
37
  export type FileDropProps = CreateWuiProps<'div', FileDropOptions> & Omit<DropzoneProps, 'children'>;
38
+ export interface FileWithPreview extends File {
39
+ preview?: string;
40
+ }
41
+ type FileType = FileWithPreview | string;
42
+ type FileUrlType = string | URL;
43
+ type OpenType = DropzoneState['open'];
44
+ type WordingsType = {
45
+ fileButtonText?: JSX.Element | string;
46
+ hint?: JSX.Element | string;
47
+ previewButtonText?: JSX.Element | string;
48
+ title?: JSX.Element | string;
49
+ };
50
50
  export declare const FileDrop: import('../System').CreateWuiComponent<"div", FileDropProps>;
51
51
  export declare const ImagePreview: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, never>> & string;
52
52
  export {};
@@ -1,5 +1,5 @@
1
1
  import { CSSObject } from '@xstyled/styled-components';
2
- import { ThemeValues } from '../../theme';
2
+ import { ThemeValues } from '../theme';
3
3
  export type ThemeFileDrops = {
4
4
  default: CSSObject;
5
5
  disabled: CSSObject;
@@ -1,18 +1,8 @@
1
1
  import { default as React } from 'react';
2
- import { createEvent } from '../../utils/create-event';
3
- import { CreateWuiProps } from '../System';
4
2
  import { FileType } from '../Files';
3
+ import { CreateWuiProps } from '../System';
5
4
  import { TagProps } from '../Tag';
6
- type FileWithPreview = File & {
7
- name?: string;
8
- preview?: string;
9
- };
10
- type FileWithPreviewType = FileWithPreview | string;
11
- type HandleRemoveType = (file: FileWithPreviewType) => void;
12
- export type FileUploadPreviewProps = {
13
- file: FileType;
14
- onRemove: TagProps['onRemove'];
15
- };
5
+ import { createEvent } from '../../utils/create-event';
16
6
  export interface FileUploadOptions {
17
7
  /** Pass a comma-separated string of file types e.g. "image/png" or "image/png,image/jpeg" */
18
8
  accept?: string;
@@ -22,14 +12,24 @@ export interface FileUploadOptions {
22
12
  onRemoveFile: HandleRemoveType;
23
13
  openFile: () => void;
24
14
  }) => React.ReactNode;
25
- handleAddFile?: (files: FileWithPreviewType[] | FileWithPreviewType) => void;
15
+ handleAddFile?: (files: FileWithPreviewType | FileWithPreviewType[]) => void;
26
16
  handleRemoveFile?: HandleRemoveType;
27
17
  maxSize?: number;
28
18
  onBlur?: () => void;
29
19
  onChange?: (event: ReturnType<typeof createEvent>) => void;
30
20
  preview?: typeof DefaultPreview;
31
21
  }
22
+ export type FileUploadPreviewProps = {
23
+ file: FileType;
24
+ onRemove: TagProps['onRemove'];
25
+ };
32
26
  export type FileUploadProps = CreateWuiProps<'input', FileUploadOptions>;
27
+ type FileWithPreview = {
28
+ name?: string;
29
+ preview?: string;
30
+ } & File;
31
+ type FileWithPreviewType = FileWithPreview | string;
32
+ type HandleRemoveType = (file: FileWithPreviewType) => void;
33
33
  declare const DefaultPreview: React.FC<FileUploadPreviewProps>;
34
34
  export declare const FileUpload: import('../System').CreateWuiComponent<"input", FileUploadProps>;
35
35
  export {};
@@ -1,8 +1,8 @@
1
1
  import { default as React } from 'react';
2
2
  import { IconProps } from '../Icon';
3
- export type FileType = string | File;
4
- export type ForceFileType = 'image' | 'audio' | 'video';
5
- export declare function getFileName(file: FileType): string;
6
- export declare function getMimeType(file: FileType): string;
7
- export declare function getFileSize(file: FileType): string;
3
+ export type FileType = File | string;
4
+ export type ForceFileType = 'audio' | 'image' | 'video';
8
5
  export declare function getFileIcon(file: FileType, forceFileType?: ForceFileType): React.FC<IconProps>;
6
+ export declare function getFileName(file: FileType): string | undefined;
7
+ export declare function getFileSize(file: FileType): null | string;
8
+ export declare function getMimeType(file: FileType): null | string;
@@ -1,3 +1,4 @@
1
+ export type Type = ({} & string) | Types[keyof Types];
1
2
  export interface Types {
2
3
  '7z': 'application/x-7z-compressed';
3
4
  aac: 'audio/aac';
@@ -64,7 +65,6 @@ export interface Types {
64
65
  xwd: 'image/x-xwindowdump';
65
66
  zip: 'application/zip';
66
67
  }
67
- export type Type = Types[keyof Types] | (string & {});
68
68
  interface TypesWithString extends Types {
69
69
  [key: string]: string;
70
70
  }
@@ -1,4 +1,3 @@
1
- import { default as React } from 'react';
2
1
  import { CreateWuiProps } from '../System';
3
2
  export interface HintOptions {
4
3
  checkableField?: boolean;
@@ -6,6 +5,6 @@ export interface HintOptions {
6
5
  }
7
6
  export type HintProps = CreateWuiProps<'div', HintOptions>;
8
7
  export declare const Hint: import('../System').CreateWuiComponent<"div", HintProps>;
9
- export declare const StyledHint: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, {
8
+ export declare const StyledHint: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, {
10
9
  variant: HintOptions["variant"];
11
10
  }>> & string;
@@ -1,5 +1,5 @@
1
1
  import { CSSObject } from '@xstyled/styled-components';
2
- import { ThemeValues } from '../../theme';
2
+ import { ThemeValues } from '../theme';
3
3
  export type ThemeHints = {
4
4
  danger: CSSObject;
5
5
  default: CSSObject;
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
- import { Size } from './theme';
3
2
  import { CreateWuiProps } from '../System';
3
+ import { Size } from './theme';
4
4
  import * as S from './styles';
5
5
  export type IconContent = {
6
6
  block?: string;
@@ -19,7 +19,7 @@ export interface IconOptions {
19
19
  }
20
20
  export type IconProps = CreateWuiProps<typeof S.Icon, IconOptions>;
21
21
  export declare const Icon: import('../System').CreateWuiComponent<"svg", IconProps>;
22
- export declare const StyledIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<React.SVGProps<SVGSVGElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, Pick<IconOptions, "size"> & Pick<IconContent, "isFlag" | "stroked"> & import('../System').WuiProps & Partial<{
22
+ export declare const StyledIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<React.SVGProps<SVGSVGElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, Partial<{
23
23
  alt: string;
24
24
  title: string;
25
- }>>> & string;
25
+ }> & Pick<IconContent, "isFlag" | "stroked"> & Pick<IconOptions, "size"> & import('../System').WuiProps>> & string;
@@ -1,8 +1,8 @@
1
- import { IconContent, IconOptions } from './index';
2
1
  import { WuiProps } from '../System';
3
- type StyledIconProps = Pick<IconOptions, 'size'> & Pick<IconContent, 'isFlag' | 'stroked'> & WuiProps & Partial<{
2
+ import { IconContent, IconOptions } from './index';
3
+ type StyledIconProps = Partial<{
4
4
  alt: string;
5
5
  title: string;
6
- }>;
6
+ }> & Pick<IconContent, 'isFlag' | 'stroked'> & Pick<IconOptions, 'size'> & WuiProps;
7
7
  export declare const Icon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<import('react').SVGProps<SVGSVGElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, StyledIconProps>> & string;
8
8
  export {};
@@ -1,7 +1,7 @@
1
- import { ThemeValues } from '../../theme';
2
- import { LiteralUnion } from '../../utils';
3
- type IconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
1
+ import { ThemeValues } from '../theme';
2
+ import { LiteralUnion } from '../utils';
4
3
  export type Size = LiteralUnion<IconSize, number | string>;
5
4
  export type ThemeIcons = Record<IconSize, string>;
5
+ type IconSize = 'lg' | 'md' | 'sm' | 'xl' | 'xs' | 'xxl';
6
6
  export declare const getIcons: ({ toRem }: ThemeValues) => ThemeIcons;
7
7
  export {};
@@ -2,6 +2,7 @@ declare const _default: {
2
2
  "width": 15,
3
3
  "height": 15,
4
4
  "block": "<path fill=\"currentColor\" d=\"M47.328 18.243V7.85a2.851 2.851 0 0 1 5.7 0v10.393a2.851 2.851 0 0 1-5.7 0Zm5.345 63.87v10.393a2.494 2.494 0 1 1-4.989 0V82.114a2.494 2.494 0 0 1 4.989 0ZM18.565 56.648 8.173 57.834a2.85 2.85 0 1 1-.646-5.664l10.392-1.184a2.85 2.85 0 1 1 .646 5.664Zm74.224-8.814-10.393 1.184a2.493 2.493 0 0 1-2.76-2.196 2.495 2.495 0 0 1 2.196-2.76l10.392-1.184a2.484 2.484 0 0 1 2.76 2.195 2.492 2.492 0 0 1-2.195 2.76ZM14.26 21.684a2.495 2.495 0 1 1 3.306-3.733l10.592 9.386a2.492 2.492 0 1 1-3.307 3.732L14.26 21.685Zm71.835 56.988a2.495 2.495 0 1 1-3.306 3.734L72.198 73.02a2.494 2.494 0 0 1 3.308-3.734l10.59 9.385Zm-57.924-3.98a2.495 2.495 0 0 1 .19 3.522l-10.59 11.8a2.49 2.49 0 0 1-1.86.827 2.494 2.494 0 0 1-1.856-4.16L24.65 74.882a2.495 2.495 0 0 1 3.523-.19Zm44.013-49.027a2.495 2.495 0 0 1-.19-3.523l10.59-11.798a2.494 2.494 0 1 1 3.715 3.331l-10.592 11.8a2.489 2.489 0 0 1-1.858.827c-.593 0-1.19-.21-1.665-.637Zm-3.483 24.211c0 4.941-1.957 9.426-5.122 12.751a15.807 15.807 0 0 1-6.435.584c-9.47-1.078-17.175-9.655-17.175-19.117 0-5.176 2.336-9.647 6.398-12.343a18.563 18.563 0 0 1 3.81-.398c10.215 0 18.524 8.309 18.524 18.523Zm4.988 0c0-12.965-10.546-23.511-23.511-23.511-1.865 0-3.67.24-5.41.653-.016.002-.03.002-.046.007-.07.015-.136.04-.205.057a23.51 23.51 0 0 0-1.73.49c-.059.02-.114.044-.171.063-.723.246-1.429.526-2.117.838a23.83 23.83 0 0 0-1.462.705c-.106.057-.203.121-.307.18-.561.31-1.108.642-1.639.996l-.158.111a23.68 23.68 0 0 0-1.69 1.266l-.026.021a23.352 23.352 0 0 0-6.69 8.96l-.03.076a22.34 22.34 0 0 0-.7 1.91c-.05.15-.093.3-.139.45-.158.536-.3 1.08-.42 1.632-.046.205-.091.409-.131.617a22.892 22.892 0 0 0-.247 1.607c-.026.208-.06.415-.08.625-.07.74-.114 1.489-.114 2.247 0 .801.041 1.595.121 2.382.012.116.037.227.05.343.079.674.173 1.344.307 2.004a.45.45 0 0 1 .011.043A23.344 23.344 0 0 0 33.554 66.5a23.344 23.344 0 0 0 11.866 6.4l.028.007a23.69 23.69 0 0 0 2.043.312c.102.012.2.035.303.045a23.638 23.638 0 0 0 4.749.001c.192-.019.379-.06.57-.083a23.973 23.973 0 0 0 1.754-.269c.161-.033.317-.081.478-.118.6-.134 1.197-.278 1.783-.46.108-.033.21-.078.32-.113a23.502 23.502 0 0 0 1.849-.679c.071-.03.137-.067.208-.096a23.014 23.014 0 0 0 1.851-.894c.061-.033.12-.073.181-.107.597-.33 1.183-.681 1.752-1.066.09-.06.17-.13.26-.191a24.461 24.461 0 0 0 1.547-1.156c.127-.105.24-.22.365-.328.416-.357.835-.71 1.228-1.1.015-.014.02-.033.033-.047 4.299-4.263 6.968-10.166 6.968-16.683Z\"/>"
5
- };
5
+ }
6
+ ;
6
7
 
7
8
  export default _default;
@@ -140,9 +140,9 @@ export { HeartShinyIcon } from './HeartShiny';
140
140
  export { HideIcon } from './Hide';
141
141
  export { HomeIcon } from './Home';
142
142
  export { HouseIcon } from './House';
143
- export { InProgressCandidateIcon } from './InProgressCandidate';
144
143
  export { InformationIcon } from './Information';
145
144
  export { InformationOutlineIcon } from './InformationOutline';
145
+ export { InProgressCandidateIcon } from './InProgressCandidate';
146
146
  export { InstagramIcon } from './Instagram';
147
147
  export { ItalicIcon } from './Italic';
148
148
  export { JpegIcon } from './Jpeg';
@@ -200,8 +200,8 @@ export { PinIcon } from './Pin';
200
200
  export { PinterestIcon } from './Pinterest';
201
201
  export { PizzaIcon } from './Pizza';
202
202
  export { PlayIcon } from './Play';
203
- export { PlayOutlineIcon } from './PlayOutline';
204
203
  export { PlaylistIcon } from './Playlist';
204
+ export { PlayOutlineIcon } from './PlayOutline';
205
205
  export { PngIcon } from './Png';
206
206
  export { PodcastIcon } from './Podcast';
207
207
  export { PositiveIcon } from './Positive';
@@ -1,8 +1,7 @@
1
- import { default as React } from 'react';
2
- import { StyledIconProps } from './styles';
3
1
  import { IconProps } from '../Icon';
2
+ import { StyledIconProps } from './styles';
4
3
  export type IconsFontProps = StyledIconProps;
5
- export declare const IconsFontStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, StyledIconProps>> & string;
4
+ export declare const IconsFontStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, StyledIconProps>> & string;
6
5
  type FormatIconJSX<S extends string> = S extends `${infer F}${infer R}` ? F extends '_' ? FormatIconJSX<Capitalize<R>> : `${F}${FormatIconJSX<R>}` : '';
7
6
  declare const unicodeMap: {
8
7
  actions: string;
@@ -1,5 +1,5 @@
1
- import { default as unicodeMap } from './unicode.json';
2
1
  import { IconOptions } from '../Icon';
2
+ import { default as unicodeMap } from './unicode.json';
3
3
  export type StyledIconProps = {
4
4
  name: keyof typeof unicodeMap;
5
5
  size: IconOptions['size'];
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
- import { DefaultFieldStylesProps } from '../../utils/field-styles';
3
2
  import { CreateWuiProps } from '../System';
3
+ import { DefaultFieldStylesProps } from '../../utils/field-styles';
4
4
  export interface InputTextOptions extends DefaultFieldStylesProps {
5
5
  autoFocus?: boolean;
6
6
  disabled?: boolean;
@@ -1,2 +1,2 @@
1
1
  import { InputTextOptions } from './index';
2
- export declare const InputText: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, Pick<InputTextOptions, "size" | "transparent" | "iconPlacement" | "isClearable" | "variant">>> & string;
2
+ export declare const InputText: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, Pick<InputTextOptions, "transparent" | "iconPlacement" | "isClearable" | "size" | "variant">>> & string;
@@ -1,4 +1,3 @@
1
- import { default as React } from 'react';
2
1
  import { CreateWuiProps } from '../System';
3
2
  export interface LabelOptions {
4
3
  checkableField?: boolean;
@@ -7,11 +6,11 @@ export interface LabelOptions {
7
6
  htmlFor?: string;
8
7
  icon?: JSX.Element;
9
8
  required?: boolean;
10
- variant?: 'success' | 'danger' | 'warning';
9
+ variant?: 'danger' | 'success' | 'warning';
11
10
  withDisabledIcon?: boolean;
12
11
  }
13
12
  export type LabelProps = CreateWuiProps<'label', LabelOptions>;
14
13
  export declare const Label: import('../System').CreateWuiComponent<"label", LabelProps>;
15
- export declare const StyledLabel: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, {
14
+ export declare const StyledLabel: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, {
16
15
  required: boolean;
17
16
  }>> & string;
@@ -1,4 +1,4 @@
1
1
  import { CSSObject } from '@xstyled/styled-components';
2
- import { ThemeValues } from '../../theme';
2
+ import { ThemeValues } from '../theme';
3
3
  export type ThemeLabels = CSSObject;
4
4
  export declare const getLabels: (theme: ThemeValues) => ThemeLabels;
@@ -1,15 +1,15 @@
1
1
  import { default as React } from 'react';
2
- import { UniversalLinkOptions } from '../UniversalLink';
3
2
  import { CreateWuiProps } from '../System';
4
- type Variant = 'primary' | 'secondary';
3
+ import { UniversalLinkOptions } from '../UniversalLink';
5
4
  export interface LinkOptions {
6
5
  disabled?: boolean;
7
6
  isExternal?: boolean;
8
7
  variant?: Variant;
9
8
  }
10
9
  export type LinkProps = CreateWuiProps<'a', LinkOptions & UniversalLinkOptions>;
11
- export type WrapWithTextProps = Pick<LinkOptions, 'isExternal'> & {
12
- children: React.ReactNode | JSX.Element;
13
- };
10
+ export type WrapWithTextProps = {
11
+ children: JSX.Element | React.ReactNode;
12
+ } & Pick<LinkOptions, 'isExternal'>;
13
+ type Variant = 'primary' | 'secondary';
14
14
  export declare const Link: import('../System').CreateWuiComponent<"a", LinkProps>;
15
15
  export {};