welcome-ui 8.1.0 → 8.1.1

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 (287) hide show
  1. package/dist/{AXB53BZF-XKOjjeWO.mjs → AXB53BZF-BOEe01VW.mjs} +3 -3
  2. package/dist/Accordion.mjs +23 -30
  3. package/dist/Alert.mjs +70 -76
  4. package/dist/AspectRatio.mjs +9 -9
  5. package/dist/Avatar.mjs +47 -48
  6. package/dist/{BYC7LY2E-CWSI38FM.mjs → BYC7LY2E-B1IDizRs.mjs} +127 -128
  7. package/dist/Badge.mjs +25 -25
  8. package/dist/Box.mjs +5 -5
  9. package/dist/Breadcrumb.mjs +168 -172
  10. package/dist/Button.mjs +67 -72
  11. package/dist/ButtonGroup.mjs +12 -13
  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/{CustomPopper-B2Cqfph4.mjs → CustomInput-IA_gVoXd.mjs} +1445 -1466
  17. package/dist/DatePicker.mjs +80 -81
  18. package/dist/DateTimePicker.mjs +61 -66
  19. package/dist/DateTimePickerCommon.mjs +1 -1
  20. package/dist/Drawer.mjs +172 -188
  21. package/dist/DropdownMenu.mjs +411 -414
  22. package/dist/Field.mjs +91 -103
  23. package/dist/FieldGroup.mjs +9 -12
  24. package/dist/FileDrop.mjs +556 -587
  25. package/dist/FileUpload.mjs +71 -92
  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 → ITI7HKP4-EL9KXYBU.mjs} +67 -68
  31. package/dist/Icon.mjs +25 -25
  32. package/dist/Icons.mjs +988 -988
  33. package/dist/IconsFont.mjs +22 -22
  34. package/dist/InputText.mjs +58 -66
  35. package/dist/{JC64G2H7-afsomHuH.mjs → JC64G2H7-BzklVBKM.mjs} +46 -47
  36. package/dist/{KUU7WJ55-CzsjuIMv.mjs → KUU7WJ55-CS4NemC6.mjs} +1 -1
  37. package/dist/LVA2YJMS-DDEmK0pp.mjs +1482 -0
  38. package/dist/Label.mjs +35 -37
  39. package/dist/Link.mjs +28 -32
  40. package/dist/Loader.mjs +16 -20
  41. package/dist/Logo.mjs +42 -55
  42. package/dist/{MTZPJQMC-TybFZCho.mjs → MTZPJQMC-CMjAwC0N.mjs} +2 -2
  43. package/dist/Modal.mjs +253 -276
  44. package/dist/{NLEBE274-oSxMftGy.mjs → NLEBE274-QOMV1l7e.mjs} +9 -9
  45. package/dist/{P2CTZE2T-DOT1mNnX.mjs → P2CTZE2T-Cl2w7OLV.mjs} +48 -49
  46. package/dist/{P4IRICAX-CWSZLTGz.mjs → P4IRICAX-DezbJY4s.mjs} +3 -3
  47. package/dist/Pagination.mjs +104 -104
  48. package/dist/PasswordInput.mjs +34 -35
  49. package/dist/Picker.mjs +33 -35
  50. package/dist/Popover.mjs +99 -106
  51. package/dist/{QYJ6MIDR-DJ-vUdAM.mjs → QYJ6MIDR-Bb0O5xUM.mjs} +30 -31
  52. package/dist/Radio.mjs +48 -54
  53. package/dist/RadioGroup.mjs +47 -47
  54. package/dist/RadioTab.mjs +35 -37
  55. package/dist/{SYRFVSLH-B6m278Vb.mjs → SYRFVSLH-jn06-eLy.mjs} +10 -11
  56. package/dist/Search.mjs +159 -175
  57. package/dist/Select.mjs +338 -373
  58. package/dist/Shape.mjs +9 -9
  59. package/dist/Slider.mjs +336 -359
  60. package/dist/Stack.mjs +24 -22
  61. package/dist/Swiper.mjs +224 -231
  62. package/dist/Table.mjs +23 -23
  63. package/dist/Tabs.mjs +200 -205
  64. package/dist/Tag.mjs +53 -55
  65. package/dist/Text.mjs +47 -49
  66. package/dist/Textarea.mjs +40 -40
  67. package/dist/TimePicker.mjs +57 -58
  68. package/dist/Toast.mjs +128 -135
  69. package/dist/Toggle.mjs +24 -27
  70. package/dist/Tooltip.mjs +99 -103
  71. package/dist/UniversalLink.mjs +15 -15
  72. package/dist/{VEVQD5MH-0w9Y7Ytc.mjs → VEVQD5MH-CuegL0m0.mjs} +3 -3
  73. package/dist/{VGCJ63VH-C0UPBY-5.mjs → VGCJ63VH-BMzoZtCu.mjs} +38 -39
  74. package/dist/VariantIcon.mjs +22 -14
  75. package/dist/WelcomeLoader.mjs +121 -122
  76. package/dist/WuiProvider.mjs +58 -69
  77. package/dist/{X5NMLKT6-BJw3xE-K.mjs → X5NMLKT6-CvSCix-_.mjs} +2 -2
  78. package/dist/{YV4JVR4I-DPC8mMuG.mjs → YV4JVR4I-Bh7B7TET.mjs} +57 -57
  79. package/dist/{field-styles-BVlRlvuu.mjs → field-styles-CfVLcVQp.mjs} +1 -1
  80. package/dist/{hex-to-rgba-DU_XzKIK.mjs → hex-to-rgba-BIDK-3ab.mjs} +2 -2
  81. package/dist/hide-focus-rings-root-BNyva1yb.mjs +14 -0
  82. package/dist/{index-5HBq1O6Z.mjs → index-5PUh49rV.mjs} +73 -74
  83. package/dist/index-B0gDDiFm.mjs +66 -0
  84. package/dist/index-B22SHR8h.mjs +26 -0
  85. package/dist/{index-DAZ1SYdj.mjs → index-BNGGwOCo.mjs} +7 -7
  86. package/dist/{index-SQQQ4dEE.mjs → index-BQtDgQBH.mjs} +8 -8
  87. package/dist/index-BhcLigYU.mjs +77 -0
  88. package/dist/{index-QaLwIvZS.mjs → index-Bkl89twW.mjs} +8 -8
  89. package/dist/{index-BaLGEKs7.mjs → index-C7zM96J_.mjs} +8 -8
  90. package/dist/index-CQD9fgf_.mjs +11 -0
  91. package/dist/index-CmsWSKKs.mjs +11 -0
  92. package/dist/{index-DvzWKxKE.mjs → index-DqBUFsqP.mjs} +7 -7
  93. package/dist/index-u1oHKa7X.mjs +16 -0
  94. package/dist/index-wr_b5GSV.mjs +36 -0
  95. package/dist/radio-group-RFyDp0KD.mjs +51 -0
  96. package/dist/theme.mjs +801 -801
  97. package/dist/throttle-BDBzFeFj.mjs +13 -0
  98. package/dist/types/components/Accordion/index.d.ts +1 -1
  99. package/dist/types/components/Accordion/styles.d.ts +2 -2
  100. package/dist/types/components/Accordion/theme.d.ts +1 -1
  101. package/dist/types/components/Alert/index.d.ts +2 -2
  102. package/dist/types/components/Alert/styles.d.ts +9 -9
  103. package/dist/types/components/Alert/theme.d.ts +3 -3
  104. package/dist/types/components/AspectRatio/styles.d.ts +2 -3
  105. package/dist/types/components/Avatar/index.d.ts +3 -2
  106. package/dist/types/components/Avatar/styles.d.ts +8 -8
  107. package/dist/types/components/Avatar/theme.d.ts +3 -3
  108. package/dist/types/components/Avatar/utils.d.ts +1 -1
  109. package/dist/types/components/Badge/index.d.ts +2 -2
  110. package/dist/types/components/Badge/styles.d.ts +5 -5
  111. package/dist/types/components/Badge/theme.d.ts +1 -1
  112. package/dist/types/components/Breadcrumb/Item.d.ts +1 -1
  113. package/dist/types/components/Breadcrumb/index.d.ts +2 -2
  114. package/dist/types/components/Breadcrumb/theme.d.ts +1 -1
  115. package/dist/types/components/Button/index.d.ts +5 -4
  116. package/dist/types/components/Button/styles.d.ts +1 -1
  117. package/dist/types/components/Button/theme.d.ts +7 -7
  118. package/dist/types/components/ButtonGroup/index.d.ts +4 -4
  119. package/dist/types/components/Card/Cover.styles.d.ts +4 -4
  120. package/dist/types/components/Card/index.d.ts +3 -2
  121. package/dist/types/components/Card/theme.d.ts +1 -1
  122. package/dist/types/components/Checkbox/index.d.ts +2 -2
  123. package/dist/types/components/Checkbox/styles.d.ts +1 -1
  124. package/dist/types/components/Checkbox/theme.d.ts +1 -1
  125. package/dist/types/components/ClearButton/index.d.ts +6 -5
  126. package/dist/types/components/ClearButton/styles.d.ts +4 -4
  127. package/dist/types/components/CloseButton/styles.d.ts +4 -4
  128. package/dist/types/components/DatePicker/index.d.ts +3 -3
  129. package/dist/types/components/DateTimePicker/index.d.ts +2 -2
  130. package/dist/types/components/DateTimePickerCommon/CustomHeader.d.ts +1 -1
  131. package/dist/types/components/DateTimePickerCommon/CustomInput.d.ts +5 -5
  132. package/dist/types/components/DateTimePickerCommon/CustomPopper.d.ts +1 -1
  133. package/dist/types/components/DateTimePickerCommon/index.d.ts +2 -2
  134. package/dist/types/components/DateTimePickerCommon/theme.d.ts +1 -1
  135. package/dist/types/components/DateTimePickerCommon/utils.d.ts +2 -2
  136. package/dist/types/components/Drawer/AssetDrawer/Header.d.ts +1 -1
  137. package/dist/types/components/Drawer/AssetDrawer/index.d.ts +1 -1
  138. package/dist/types/components/Drawer/index.d.ts +12 -12
  139. package/dist/types/components/Drawer/styles.d.ts +5 -5
  140. package/dist/types/components/Drawer/theme.d.ts +2 -2
  141. package/dist/types/components/DropdownMenu/index.d.ts +4 -4
  142. package/dist/types/components/DropdownMenu/theme.d.ts +1 -1
  143. package/dist/types/components/Field/index.d.ts +8 -8
  144. package/dist/types/components/Field/styles.d.ts +1 -1
  145. package/dist/types/components/Field/utils.d.ts +1 -1
  146. package/dist/types/components/FileDrop/FilePreview.d.ts +2 -2
  147. package/dist/types/components/FileDrop/Message.d.ts +1 -1
  148. package/dist/types/components/FileDrop/index.d.ts +20 -20
  149. package/dist/types/components/FileDrop/theme.d.ts +1 -1
  150. package/dist/types/components/FileUpload/index.d.ts +13 -13
  151. package/dist/types/components/Files/index.d.ts +5 -5
  152. package/dist/types/components/Files/types.d.ts +1 -1
  153. package/dist/types/components/Hint/index.d.ts +2 -1
  154. package/dist/types/components/Hint/theme.d.ts +1 -1
  155. package/dist/types/components/Icon/index.d.ts +3 -3
  156. package/dist/types/components/Icon/styles.d.ts +3 -3
  157. package/dist/types/components/Icon/theme.d.ts +3 -3
  158. package/dist/types/components/Icons/Sun/content.json.d.ts +1 -2
  159. package/dist/types/components/Icons/index.d.ts +2 -2
  160. package/dist/types/components/IconsFont/index.d.ts +3 -2
  161. package/dist/types/components/IconsFont/styles.d.ts +1 -1
  162. package/dist/types/components/InputText/index.d.ts +1 -1
  163. package/dist/types/components/InputText/styles.d.ts +1 -1
  164. package/dist/types/components/Label/index.d.ts +3 -2
  165. package/dist/types/components/Label/theme.d.ts +1 -1
  166. package/dist/types/components/Link/index.d.ts +5 -5
  167. package/dist/types/components/Link/styles.d.ts +4 -4
  168. package/dist/types/components/Link/theme.d.ts +1 -1
  169. package/dist/types/components/Loader/index.d.ts +1 -1
  170. package/dist/types/components/Loader/styles.d.ts +4 -4
  171. package/dist/types/components/Loader/theme.d.ts +4 -4
  172. package/dist/types/components/Logo/Solutions.d.ts +2 -1
  173. package/dist/types/components/Logo/Symbol.d.ts +2 -1
  174. package/dist/types/components/Logo/Wui.d.ts +2 -1
  175. package/dist/types/components/Logo/index.d.ts +5 -5
  176. package/dist/types/components/Modal/Assets/Backdrop.d.ts +6 -5
  177. package/dist/types/components/Modal/Assets/Iframe.d.ts +2 -1
  178. package/dist/types/components/Modal/Assets/index.d.ts +9 -9
  179. package/dist/types/components/Modal/Assets/styles.d.ts +8 -8
  180. package/dist/types/components/Modal/Close.d.ts +4 -3
  181. package/dist/types/components/Modal/Content.d.ts +5 -3
  182. package/dist/types/components/Modal/Footer.d.ts +1 -1
  183. package/dist/types/components/Modal/Header.d.ts +2 -2
  184. package/dist/types/components/Modal/index.d.ts +17 -17
  185. package/dist/types/components/Modal/styles.d.ts +7 -7
  186. package/dist/types/components/Modal/theme.d.ts +2 -2
  187. package/dist/types/components/Pagination/index.d.ts +2 -2
  188. package/dist/types/components/Pagination/theme.d.ts +1 -1
  189. package/dist/types/components/Pagination/utils.d.ts +1 -1
  190. package/dist/types/components/Picker/index.d.ts +1 -1
  191. package/dist/types/components/Picker/styles.d.ts +1 -1
  192. package/dist/types/components/Popover/Arrow.d.ts +2 -1
  193. package/dist/types/components/Popover/Content.d.ts +3 -2
  194. package/dist/types/components/Popover/Popover.d.ts +5 -4
  195. package/dist/types/components/Popover/PopoverHover.d.ts +4 -3
  196. package/dist/types/components/Popover/Trigger.d.ts +1 -1
  197. package/dist/types/components/Popover/styles.d.ts +4 -4
  198. package/dist/types/components/Popover/theme.d.ts +1 -1
  199. package/dist/types/components/Popover/usePopover.d.ts +6 -6
  200. package/dist/types/components/Radio/index.d.ts +3 -3
  201. package/dist/types/components/Radio/styles.d.ts +5 -5
  202. package/dist/types/components/Radio/theme.d.ts +1 -1
  203. package/dist/types/components/RadioGroup/index.d.ts +2 -2
  204. package/dist/types/components/RadioTab/index.d.ts +3 -3
  205. package/dist/types/components/RadioTab/styles.d.ts +9 -3
  206. package/dist/types/components/RadioTab/theme.d.ts +1 -1
  207. package/dist/types/components/Search/index.d.ts +5 -5
  208. package/dist/types/components/Select/index.d.ts +11 -11
  209. package/dist/types/components/Select/styles.d.ts +6 -6
  210. package/dist/types/components/Select/utils.d.ts +7 -11
  211. package/dist/types/components/Shape/index.d.ts +1 -1
  212. package/dist/types/components/Shape/styles.d.ts +3 -3
  213. package/dist/types/components/Slider/Range.d.ts +3 -3
  214. package/dist/types/components/Slider/index.d.ts +2 -2
  215. package/dist/types/components/Slider/styles.d.ts +16 -16
  216. package/dist/types/components/Slider/theme.d.ts +1 -1
  217. package/dist/types/components/Stack/index.d.ts +1 -1
  218. package/dist/types/components/Swiper/index.d.ts +17 -16
  219. package/dist/types/components/Swiper/styles.d.ts +53 -53
  220. package/dist/types/components/Swiper/theme.d.ts +1 -1
  221. package/dist/types/components/System/index.d.ts +14 -14
  222. package/dist/types/components/Table/index.d.ts +7 -6
  223. package/dist/types/components/Table/styles.d.ts +1 -1
  224. package/dist/types/components/Table/theme.d.ts +1 -1
  225. package/dist/types/components/Tabs/ActiveBar.d.ts +5 -5
  226. package/dist/types/components/Tabs/TabList.d.ts +4 -4
  227. package/dist/types/components/Tabs/TabPanel.d.ts +2 -2
  228. package/dist/types/components/Tabs/styles.d.ts +2 -2
  229. package/dist/types/components/Tabs/theme.d.ts +2 -2
  230. package/dist/types/components/Tag/index.d.ts +3 -2
  231. package/dist/types/components/Tag/styles.d.ts +1 -1
  232. package/dist/types/components/Tag/theme.d.ts +2 -2
  233. package/dist/types/components/Text/index.d.ts +2 -2
  234. package/dist/types/components/Textarea/index.d.ts +1 -1
  235. package/dist/types/components/Textarea/theme.d.ts +1 -1
  236. package/dist/types/components/TimePicker/index.d.ts +2 -2
  237. package/dist/types/components/Toast/Growl.d.ts +1 -1
  238. package/dist/types/components/Toast/Snackbar.d.ts +1 -1
  239. package/dist/types/components/Toast/ToastWrapper.d.ts +5 -5
  240. package/dist/types/components/Toast/index.d.ts +6 -6
  241. package/dist/types/components/Toast/styles.d.ts +16 -16
  242. package/dist/types/components/Toast/theme.d.ts +2 -2
  243. package/dist/types/components/Toast/utils.d.ts +13 -13
  244. package/dist/types/components/Toggle/index.d.ts +3 -3
  245. package/dist/types/components/Toggle/styles.d.ts +4 -5
  246. package/dist/types/components/Toggle/theme.d.ts +5 -5
  247. package/dist/types/components/Tooltip/index.d.ts +2 -2
  248. package/dist/types/components/Tooltip/styles.d.ts +1 -1
  249. package/dist/types/components/Tooltip/theme.d.ts +1 -1
  250. package/dist/types/components/VariantIcon/index.d.ts +1 -1
  251. package/dist/types/components/VariantIcon/styles.d.ts +1 -1
  252. package/dist/types/components/VariantIcon/theme.d.ts +2 -2
  253. package/dist/types/components/WuiProvider/font.d.ts +5 -3
  254. package/dist/types/components/WuiProvider/index.d.ts +1 -1
  255. package/dist/types/theme/colors.d.ts +11 -3
  256. package/dist/types/theme/dark.d.ts +1 -1
  257. package/dist/types/theme/defaultFields.d.ts +10 -10
  258. package/dist/types/theme/fonts.d.ts +5 -5
  259. package/dist/types/theme/index.d.ts +31 -31
  260. package/dist/types/theme/screens.d.ts +1 -1
  261. package/dist/types/theme/space.d.ts +1 -1
  262. package/dist/types/theme/typography.d.ts +1 -1
  263. package/dist/types/utils/field-styles.d.ts +6 -6
  264. package/dist/types/utils/index.d.ts +2 -2
  265. package/dist/types/utils/ts-utils.d.ts +1 -1
  266. package/dist/types/utils/use-copy-text.d.ts +1 -1
  267. package/dist/types/utils/use-create-portal.d.ts +1 -1
  268. package/dist/types/utils/use-viewport.d.ts +2 -2
  269. package/dist/types/utils/wrap-children.d.ts +1 -1
  270. package/dist/{use-fork-ref-DvaCTfQ_.mjs → use-fork-ref-CUZErtAC.mjs} +3 -4
  271. package/dist/{use-viewport-CWpjoHXy.mjs → use-viewport-CfklieD-.mjs} +2 -2
  272. package/dist/utils.mjs +29 -102
  273. package/dist/wrap-children-aq69jtFP.mjs +12 -0
  274. package/package.json +28 -4
  275. package/dist/LVA2YJMS-C-kJ1lkr.mjs +0 -873
  276. package/dist/hide-focus-rings-root-CCXdysih.mjs +0 -15
  277. package/dist/index-CYmF7qCH.mjs +0 -11
  278. package/dist/index-C_k-m0Rl.mjs +0 -36
  279. package/dist/index-D8v_VJ9z.mjs +0 -26
  280. package/dist/index-DpkNUfAS.mjs +0 -11
  281. package/dist/index-i_anpNhw.mjs +0 -66
  282. package/dist/index-wl3X6EM1.mjs +0 -16
  283. package/dist/jsx-runtime-B7I4PJ0H.mjs +0 -613
  284. package/dist/radio-group-C0fUHvam.mjs +0 -52
  285. package/dist/throttle-CW18pWlW.mjs +0 -13
  286. package/dist/wrap-children-DBSD-X5-.mjs +0 -9
  287. package/dist/{downshift.esm-B7Jil1wW.mjs → downshift.esm-D0ns_SQs.mjs} +9 -9
@@ -1,16 +1,16 @@
1
1
  import { DrawerOptions } from '.';
2
- import type * as Ariakit from '@ariakit/react';
2
+ import * 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>, "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<{
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 & {
10
10
  as?: import('../System').As;
11
- } & import('../System').WuiProps & import('../System').WuiTestProps, keyof import('../Button').ButtonOptions> & Omit<{
11
+ }, keyof import('../Button').ButtonOptions> & Omit<import('../System').WuiProps & import('../System').WuiTestProps & {
12
12
  as?: import('../System').As;
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;
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>;
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,5 +1,6 @@
1
1
  import { CSSObject } from '@xstyled/styled-components';
2
- import { ThemeValues } from '../theme';
2
+ import { ThemeValues } from '../../theme';
3
+ type Size = 'sm' | 'md' | 'lg';
3
4
  export type ThemeDrawers = {
4
5
  backdrop: CSSObject;
5
6
  closeButton: CSSObject;
@@ -12,6 +13,5 @@ export type ThemeDrawers = {
12
13
  };
13
14
  title: CSSObject;
14
15
  };
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';
1
2
  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;
14
15
  type TriggerOptions = {
15
16
  store: UseDropdownMenu;
16
17
  };
17
18
  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
- Arrow: import('../System').CreateWuiComponent<"div", import('./Arrow').ArrowProps>;
20
+ Trigger: import('../System').CreateWuiComponent<"button", TriggerProps>;
21
21
  Item: import('../System').CreateWuiComponent<"button", import('./Item').ItemProps>;
22
22
  Separator: import('../System').CreateWuiComponent<"div", import('./Separator').SeparatorProps>;
23
- Trigger: import('../System').CreateWuiComponent<"button", TriggerProps>;
23
+ Arrow: import('../System').CreateWuiComponent<"div", import('./Arrow').ArrowProps>;
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 { CreateWuiProps } from '../System';
3
2
  import { getBaseType } from './utils';
3
+ import { CreateWuiProps } from '../System';
4
+ type VariantProps = {
5
+ error?: string | JSX.Element;
6
+ success?: string | JSX.Element;
7
+ warning?: string | JSX.Element;
8
+ };
4
9
  export interface FieldOptions extends VariantProps {
5
10
  children: JSX.Element;
6
11
  disabled?: boolean;
7
12
  disabledIcon?: JSX.Element;
8
- hint?: JSX.Element | string;
9
- label?: JSX.Element | string;
13
+ hint?: string | JSX.Element;
14
+ label?: string | JSX.Element;
10
15
  required?: boolean;
11
16
  transparent?: boolean;
12
17
  }
13
18
  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 { WuiProps } from '../System';
2
1
  import { DefaultFieldIconSize } from '../../utils/field-styles';
2
+ import { WuiProps } from '../System';
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" | "success" | "warning" | undefined;
3
+ export declare const getVariant: ({ error, success, warning, }: Pick<FieldOptions, "error" | "success" | "warning">) => "danger" | "warning" | "success";
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 { ForceFileType } from '../Files';
3
2
  import { FileDropChildren } from './index';
3
+ import { ForceFileType } from '../Files';
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<FileDropChildren['wordings'] & MessageProps>;
9
+ export declare const FilePreview: React.FC<MessageProps & FileDropChildren['wordings']>;
@@ -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<FileDropChildren['wordings'] & MessageProps>;
7
+ export declare const Message: React.FC<MessageProps & FileDropChildren['wordings']>;
@@ -1,14 +1,26 @@
1
- import { Accept, DropEvent, DropzoneProps, DropzoneState } from 'react-dropzone';
2
1
  import { default as React } from 'react';
2
+ import { Accept, DropEvent, DropzoneProps, DropzoneState } from 'react-dropzone';
3
+ import { CreateEvent } from '../../utils/create-event';
3
4
  import { ForceFileType } from '../Files';
4
5
  import { CreateWuiProps } from '../System';
5
- import { CreateEvent } from '../../utils/create-event';
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
+ };
6
18
  export type FileDropChildren = {
7
19
  disabled?: boolean;
8
- error?: null | string;
9
- file?: FileType | null;
20
+ error?: string;
21
+ file?: FileType;
10
22
  fileName?: string;
11
- fileUrl?: FileUrlType | null;
23
+ fileUrl?: FileUrlType;
12
24
  forceFileType?: ForceFileType;
13
25
  isAnImage?: boolean;
14
26
  isHoverAccept?: DropzoneState['isDragAccept'];
@@ -22,31 +34,19 @@ export interface FileDropOptions {
22
34
  children?: (state: FileDropChildren) => JSX.Element;
23
35
  fileName?: string;
24
36
  forceFileType?: ForceFileType;
25
- handleAddFile?: (event: CreateEvent | DropEvent | React.ChangeEvent<HTMLInputElement>) => void;
26
- handleRemoveFile?: (event: CreateEvent | DropEvent | React.ChangeEvent<HTMLInputElement>) => void;
37
+ handleAddFile?: (event: DropEvent | React.ChangeEvent<HTMLInputElement> | CreateEvent) => void;
38
+ handleRemoveFile?: (event: DropEvent | React.ChangeEvent<HTMLInputElement> | CreateEvent) => void;
27
39
  isClearable?: boolean;
28
40
  isEditable?: boolean;
29
41
  name?: string;
30
42
  onBlur?: () => void;
31
- onChange?: (event: CreateEvent | DropEvent | React.ChangeEvent<HTMLInputElement>) => void;
43
+ onChange?: (event: DropEvent | React.ChangeEvent<HTMLInputElement> | CreateEvent) => void;
32
44
  onError?: (event?: string) => void;
33
45
  value: FileType;
34
46
  /** Pass an object with optional fields title, hint, fileButtonText and/or previewButtonText (string or JSX.Element) */
35
47
  wordings?: WordingsType;
36
48
  }
37
49
  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,8 +1,18 @@
1
1
  import { default as React } from 'react';
2
- import { FileType } from '../Files';
2
+ import { createEvent } from '../../utils/create-event';
3
3
  import { CreateWuiProps } from '../System';
4
+ import { FileType } from '../Files';
4
5
  import { TagProps } from '../Tag';
5
- import { createEvent } from '../../utils/create-event';
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
+ };
6
16
  export interface FileUploadOptions {
7
17
  /** Pass a comma-separated string of file types e.g. "image/png" or "image/png,image/jpeg" */
8
18
  accept?: string;
@@ -12,24 +22,14 @@ export interface FileUploadOptions {
12
22
  onRemoveFile: HandleRemoveType;
13
23
  openFile: () => void;
14
24
  }) => React.ReactNode;
15
- handleAddFile?: (files: FileWithPreviewType | FileWithPreviewType[]) => void;
25
+ handleAddFile?: (files: FileWithPreviewType[] | FileWithPreviewType) => void;
16
26
  handleRemoveFile?: HandleRemoveType;
17
27
  maxSize?: number;
18
28
  onBlur?: () => void;
19
29
  onChange?: (event: ReturnType<typeof createEvent>) => void;
20
30
  preview?: typeof DefaultPreview;
21
31
  }
22
- export type FileUploadPreviewProps = {
23
- file: FileType;
24
- onRemove: TagProps['onRemove'];
25
- };
26
32
  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 = File | string;
4
- export type ForceFileType = 'audio' | 'image' | 'video';
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;
5
8
  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,4 +1,3 @@
1
- export type Type = ({} & string) | Types[keyof Types];
2
1
  export interface Types {
3
2
  '7z': 'application/x-7z-compressed';
4
3
  aac: 'audio/aac';
@@ -65,6 +64,7 @@ export interface Types {
65
64
  xwd: 'image/x-xwindowdump';
66
65
  zip: 'application/zip';
67
66
  }
67
+ export type Type = Types[keyof Types] | (string & {});
68
68
  interface TypesWithString extends Types {
69
69
  [key: string]: string;
70
70
  }
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { CreateWuiProps } from '../System';
2
3
  export interface HintOptions {
3
4
  checkableField?: boolean;
@@ -5,6 +6,6 @@ export interface HintOptions {
5
6
  }
6
7
  export type HintProps = CreateWuiProps<'div', HintOptions>;
7
8
  export declare const Hint: import('../System').CreateWuiComponent<"div", HintProps>;
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>, {
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>, {
9
10
  variant: HintOptions["variant"];
10
11
  }>> & 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 { CreateWuiProps } from '../System';
3
2
  import { Size } from './theme';
3
+ import { CreateWuiProps } from '../System';
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>, 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>, Pick<IconOptions, "size"> & Pick<IconContent, "isFlag" | "stroked"> & import('../System').WuiProps & Partial<{
23
23
  alt: string;
24
24
  title: string;
25
- }> & Pick<IconContent, "isFlag" | "stroked"> & Pick<IconOptions, "size"> & import('../System').WuiProps>> & string;
25
+ }>>> & string;
@@ -1,8 +1,8 @@
1
- import { WuiProps } from '../System';
2
1
  import { IconContent, IconOptions } from './index';
3
- type StyledIconProps = Partial<{
2
+ import { WuiProps } from '../System';
3
+ type StyledIconProps = Pick<IconOptions, 'size'> & Pick<IconContent, 'isFlag' | 'stroked'> & WuiProps & Partial<{
4
4
  alt: string;
5
5
  title: string;
6
- }> & Pick<IconContent, 'isFlag' | 'stroked'> & Pick<IconOptions, 'size'> & WuiProps;
6
+ }>;
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';
1
+ import { ThemeValues } from '../../theme';
2
+ import { LiteralUnion } from '../../utils';
3
+ type IconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
3
4
  export type Size = LiteralUnion<IconSize, number | string>;
4
5
  export type ThemeIcons = Record<IconSize, string>;
5
- type IconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
6
6
  export declare const getIcons: ({ toRem }: ThemeValues) => ThemeIcons;
7
7
  export {};
@@ -2,7 +2,6 @@ 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
- }
6
- ;
5
+ };
7
6
 
8
7
  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';
143
144
  export { InformationIcon } from './Information';
144
145
  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 { PlaylistIcon } from './Playlist';
204
203
  export { PlayOutlineIcon } from './PlayOutline';
204
+ export { PlaylistIcon } from './Playlist';
205
205
  export { PngIcon } from './Png';
206
206
  export { PodcastIcon } from './Podcast';
207
207
  export { PositiveIcon } from './Positive';
@@ -1,7 +1,8 @@
1
- import { IconProps } from '../Icon';
1
+ import { default as React } from 'react';
2
2
  import { StyledIconProps } from './styles';
3
+ import { IconProps } from '../Icon';
3
4
  export type IconsFontProps = StyledIconProps;
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;
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;
5
6
  type FormatIconJSX<S extends string> = S extends `${infer F}${infer R}` ? F extends '_' ? FormatIconJSX<Capitalize<R>> : `${F}${FormatIconJSX<R>}` : '';
6
7
  declare const unicodeMap: {
7
8
  actions: string;
@@ -1,5 +1,5 @@
1
- import { IconOptions } from '../Icon';
2
1
  import { default as unicodeMap } from './unicode.json';
2
+ import { IconOptions } from '../Icon';
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 { CreateWuiProps } from '../System';
3
2
  import { DefaultFieldStylesProps } from '../../utils/field-styles';
3
+ import { CreateWuiProps } from '../System';
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, "transparent" | "iconPlacement" | "isClearable" | "size" | "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, "size" | "transparent" | "iconPlacement" | "isClearable" | "variant">>> & string;
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { CreateWuiProps } from '../System';
2
3
  export interface LabelOptions {
3
4
  checkableField?: boolean;
@@ -6,11 +7,11 @@ export interface LabelOptions {
6
7
  htmlFor?: string;
7
8
  icon?: JSX.Element;
8
9
  required?: boolean;
9
- variant?: 'danger' | 'success' | 'warning';
10
+ variant?: 'success' | 'danger' | 'warning';
10
11
  withDisabledIcon?: boolean;
11
12
  }
12
13
  export type LabelProps = CreateWuiProps<'label', LabelOptions>;
13
14
  export declare const Label: import('../System').CreateWuiComponent<"label", LabelProps>;
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>, {
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>, {
15
16
  required: boolean;
16
17
  }>> & 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 { CreateWuiProps } from '../System';
3
2
  import { UniversalLinkOptions } from '../UniversalLink';
3
+ import { CreateWuiProps } from '../System';
4
+ type Variant = 'primary' | 'secondary';
4
5
  export interface LinkOptions {
5
6
  disabled?: boolean;
6
7
  isExternal?: boolean;
7
8
  variant?: Variant;
8
9
  }
9
10
  export type LinkProps = CreateWuiProps<'a', LinkOptions & UniversalLinkOptions>;
10
- export type WrapWithTextProps = {
11
- children: JSX.Element | React.ReactNode;
12
- } & Pick<LinkOptions, 'isExternal'>;
13
- type Variant = 'primary' | 'secondary';
11
+ export type WrapWithTextProps = Pick<LinkOptions, 'isExternal'> & {
12
+ children: React.ReactNode | JSX.Element;
13
+ };
14
14
  export declare const Link: import('../System').CreateWuiComponent<"a", LinkProps>;
15
15
  export {};