welcome-ui 1.0.0-beta.2 → 1.0.0-beta.4

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 (428) hide show
  1. package/dist/AXB53BZF-BxNazDnS.mjs +25 -0
  2. package/dist/AXB53BZF-KWM2jKTz.js +1 -0
  3. package/dist/Accordion.js +75 -0
  4. package/dist/Accordion.mjs +91 -0
  5. package/dist/Alert.js +37 -0
  6. package/dist/Alert.mjs +120 -0
  7. package/dist/AspectRatio.js +29 -0
  8. package/dist/AspectRatio.mjs +41 -0
  9. package/dist/Avatar.js +5 -0
  10. package/dist/Avatar.mjs +56 -0
  11. package/dist/BYC7LY2E-BAjGN7k_.mjs +1074 -0
  12. package/dist/BYC7LY2E-BkAEL2VD.js +1 -0
  13. package/dist/Badge.js +17 -0
  14. package/dist/Badge.mjs +53 -0
  15. package/dist/{box.js → Box.js} +1 -1
  16. package/dist/Box.mjs +8 -0
  17. package/dist/Breadcrumb.js +1 -0
  18. package/dist/Breadcrumb.mjs +9 -0
  19. package/dist/Button.js +78 -0
  20. package/dist/Button.mjs +136 -0
  21. package/dist/ButtonGroup.js +32 -0
  22. package/dist/ButtonGroup.mjs +51 -0
  23. package/dist/Card.js +17 -0
  24. package/dist/Card.mjs +29 -0
  25. package/dist/Checkbox.js +1 -0
  26. package/dist/Checkbox.mjs +6 -0
  27. package/dist/ClearButton.js +14 -0
  28. package/dist/ClearButton.mjs +26 -0
  29. package/dist/CloseButton.js +6 -0
  30. package/dist/CloseButton.mjs +15 -0
  31. package/dist/CustomInput-9aCUiD6o.js +1070 -0
  32. package/dist/CustomInput-CenfXh_H.mjs +7825 -0
  33. package/dist/DatePicker.js +1 -0
  34. package/dist/DatePicker.mjs +108 -0
  35. package/dist/DateTimePicker.js +38 -0
  36. package/dist/DateTimePicker.mjs +109 -0
  37. package/dist/DateTimePickerCommon.js +1 -0
  38. package/dist/DateTimePickerCommon.mjs +14 -0
  39. package/dist/Drawer.js +64 -0
  40. package/dist/Drawer.mjs +267 -0
  41. package/dist/DropdownMenu.js +45 -0
  42. package/dist/DropdownMenu.mjs +776 -0
  43. package/dist/Field.js +72 -0
  44. package/dist/Field.mjs +177 -0
  45. package/dist/FieldGroup.js +13 -0
  46. package/dist/FieldGroup.mjs +26 -0
  47. package/dist/FileDrop.js +46 -0
  48. package/dist/FileDrop.mjs +2325 -0
  49. package/dist/FileUpload.js +3 -0
  50. package/dist/FileUpload.mjs +88 -0
  51. package/dist/Flex.js +1 -0
  52. package/dist/Flex.mjs +26 -0
  53. package/dist/Grid.js +1 -0
  54. package/dist/Grid.mjs +57 -0
  55. package/dist/Hint.js +8 -0
  56. package/dist/Hint.mjs +22 -0
  57. package/dist/ITI7HKP4-BPa8qpnl.js +1 -0
  58. package/dist/ITI7HKP4-Couz1Z73.mjs +473 -0
  59. package/dist/Icon.js +17 -0
  60. package/dist/Icon.mjs +51 -0
  61. package/dist/IconFont.js +17 -0
  62. package/dist/IconFont.mjs +348 -0
  63. package/dist/InputText.js +8 -0
  64. package/dist/InputText.mjs +81 -0
  65. package/dist/JC64G2H7-CQsqXPS_.mjs +965 -0
  66. package/dist/JC64G2H7-YkBMNrtl.js +1 -0
  67. package/dist/KUU7WJ55-DN8gk6_R.js +1 -0
  68. package/dist/KUU7WJ55-bC4FU_j7.mjs +61 -0
  69. package/dist/LVA2YJMS-B2HZjIhJ.js +14 -0
  70. package/dist/LVA2YJMS-Dm5ieEMw.mjs +1479 -0
  71. package/dist/Label.js +35 -0
  72. package/dist/Label.mjs +78 -0
  73. package/dist/Link.js +43 -0
  74. package/dist/Link.mjs +77 -0
  75. package/dist/Loader.js +30 -0
  76. package/dist/Loader.mjs +48 -0
  77. package/dist/Logo.js +1 -0
  78. package/dist/Logo.mjs +8 -0
  79. package/dist/MTZPJQMC-5Xg78Uyy.js +1 -0
  80. package/dist/MTZPJQMC-DZ3zg4be.mjs +13 -0
  81. package/dist/Modal.js +181 -0
  82. package/dist/Modal.mjs +365 -0
  83. package/dist/NLEBE274-DvH3XTTw.js +1 -0
  84. package/dist/NLEBE274-FThuwZH_.mjs +84 -0
  85. package/dist/P2CTZE2T-5jxBu6ix.mjs +297 -0
  86. package/dist/P2CTZE2T-q8vyaGc0.js +1 -0
  87. package/dist/P4IRICAX-DF0_vmod.mjs +37 -0
  88. package/dist/P4IRICAX-nhgZ26A1.js +1 -0
  89. package/dist/Pagination.js +46 -0
  90. package/dist/Pagination.mjs +158 -0
  91. package/dist/PasswordInput.js +1 -0
  92. package/dist/PasswordInput.mjs +54 -0
  93. package/dist/Picker.js +8 -0
  94. package/dist/Picker.mjs +50 -0
  95. package/dist/Popover.js +1 -0
  96. package/dist/Popover.mjs +8 -0
  97. package/dist/QYJ6MIDR-CRK3satR.js +1 -0
  98. package/dist/QYJ6MIDR-Cy39pEs2.mjs +97 -0
  99. package/dist/Radio.js +60 -0
  100. package/dist/Radio.mjs +118 -0
  101. package/dist/RadioGroup.js +8 -0
  102. package/dist/RadioGroup.mjs +68 -0
  103. package/dist/RadioTab.js +61 -0
  104. package/dist/RadioTab.mjs +104 -0
  105. package/dist/SYRFVSLH-BpAfr7UE.js +1 -0
  106. package/dist/SYRFVSLH-DyepaZf7.mjs +48 -0
  107. package/dist/Search.js +70 -0
  108. package/dist/Search.mjs +225 -0
  109. package/dist/Select.js +122 -0
  110. package/dist/Select.mjs +1071 -0
  111. package/dist/Shape.js +23 -0
  112. package/dist/Shape.mjs +37 -0
  113. package/dist/Slider.js +190 -0
  114. package/dist/Slider.mjs +531 -0
  115. package/dist/Stack.js +1 -0
  116. package/dist/Stack.mjs +32 -0
  117. package/dist/Swiper.js +141 -0
  118. package/dist/Swiper.mjs +448 -0
  119. package/dist/{system.js → System.js} +1 -1
  120. package/dist/{system.mjs → System.mjs} +5 -5
  121. package/dist/Table.js +55 -0
  122. package/dist/Table.mjs +75 -0
  123. package/dist/Tabs.js +82 -0
  124. package/dist/Tabs.mjs +539 -0
  125. package/dist/Tag.js +78 -0
  126. package/dist/Tag.mjs +135 -0
  127. package/dist/Text.js +46 -0
  128. package/dist/Text.mjs +97 -0
  129. package/dist/Textarea.js +6 -0
  130. package/dist/Textarea.mjs +55 -0
  131. package/dist/TimePicker.js +4 -0
  132. package/dist/TimePicker.mjs +88 -0
  133. package/dist/Toast.js +42 -0
  134. package/dist/Toast.mjs +264 -0
  135. package/dist/Toggle.js +75 -0
  136. package/dist/Toggle.mjs +93 -0
  137. package/dist/Tooltip.js +68 -0
  138. package/dist/Tooltip.mjs +303 -0
  139. package/dist/UniversalLink.js +4 -0
  140. package/dist/UniversalLink.mjs +25 -0
  141. package/dist/VEVQD5MH-De4r89YE.mjs +20 -0
  142. package/dist/VEVQD5MH-mN1wMozH.js +1 -0
  143. package/dist/VGCJ63VH-BNLwLOaC.js +1 -0
  144. package/dist/VGCJ63VH-fv0YLRh8.mjs +186 -0
  145. package/dist/VariantIcon.js +8 -0
  146. package/dist/VariantIcon.mjs +32 -0
  147. package/dist/Welcome-BNr4uu5n.mjs +48 -0
  148. package/dist/Welcome-Dw9OaREs.js +3 -0
  149. package/dist/WelcomeLoader.js +11 -0
  150. package/dist/WelcomeLoader.mjs +9453 -0
  151. package/dist/X5NMLKT6-BzhcQu_I.js +1 -0
  152. package/dist/X5NMLKT6-DGZEtYXj.mjs +25 -0
  153. package/dist/YV4JVR4I-1ezWeCCz.mjs +341 -0
  154. package/dist/YV4JVR4I-DIthYWMj.js +15 -0
  155. package/dist/_commonjsHelpers-CXJ7dpIk.mjs +9 -0
  156. package/dist/_commonjsHelpers-DvH0V_XJ.js +1 -0
  157. package/dist/create-event-YSlay9Ef.js +1 -0
  158. package/dist/create-event-rXDe5aCQ.mjs +8 -0
  159. package/dist/downshift.esm-DAo-GJwH.js +1 -0
  160. package/dist/downshift.esm-K4YLLQXl.mjs +1085 -0
  161. package/dist/field-styles-CeV7pnOp.mjs +86 -0
  162. package/dist/field-styles-D_gf6ypV.js +63 -0
  163. package/dist/get-max-width-height-CDLBnp_J.js +1 -0
  164. package/dist/get-max-width-height-DoUro2T7.mjs +8 -0
  165. package/dist/hide-focus-rings-root-BNyva1yb.mjs +14 -0
  166. package/dist/hide-focus-rings-root-DGU4Klq5.js +5 -0
  167. package/dist/index-1C9Z0d5Q.mjs +446 -0
  168. package/dist/index-BHi0wohR.js +142 -0
  169. package/dist/index-BLom3M2B.js +2 -0
  170. package/dist/index-BYdkhqH4.mjs +19028 -0
  171. package/dist/index-C_r0bVmL.js +56 -0
  172. package/dist/index-CgT8GWHS.js +1 -0
  173. package/dist/index-ColyClKR.mjs +239 -0
  174. package/dist/index-CrhKWaM2.js +54 -0
  175. package/dist/index-Cs1IZBks.js +17 -0
  176. package/dist/index-DCOLdphy.mjs +184 -0
  177. package/dist/index-DHOW43M6.mjs +132 -0
  178. package/dist/index-SbQUT2mU.mjs +639 -0
  179. package/dist/index.js +5 -5
  180. package/dist/index.mjs +1699 -237
  181. package/dist/overflow-ellipsis-C2ESrF8C.js +5 -0
  182. package/dist/overflow-ellipsis-DGV5Kgt-.mjs +10 -0
  183. package/dist/radio-group-29lMl-2M.mjs +51 -0
  184. package/dist/radio-group-BpImAAmy.js +1 -0
  185. package/dist/throttle-BB1Y3bfD.js +1 -0
  186. package/dist/throttle-BDBzFeFj.mjs +13 -0
  187. package/dist/types/components/Accordion/index.d.ts +16 -0
  188. package/dist/types/components/Accordion/styles.d.ts +6 -0
  189. package/dist/types/components/Accordion/theme.d.ts +10 -0
  190. package/dist/types/components/Alert/Title.d.ts +7 -0
  191. package/dist/types/components/Alert/index.d.ts +24 -0
  192. package/dist/types/components/Alert/styles.d.ts +6 -0
  193. package/dist/types/components/Alert/theme.d.ts +15 -0
  194. package/dist/types/components/AspectRatio/index.d.ts +6 -0
  195. package/dist/types/components/AspectRatio/styles.d.ts +2 -0
  196. package/dist/types/components/Avatar/index.d.ts +16 -0
  197. package/dist/types/components/Avatar/styles.d.ts +2 -0
  198. package/dist/types/components/Avatar/theme.d.ts +9 -0
  199. package/dist/types/components/Avatar/utils.d.ts +3 -0
  200. package/dist/types/components/Badge/index.d.ts +11 -0
  201. package/dist/types/components/Badge/styles.d.ts +8 -0
  202. package/dist/types/components/Badge/theme.d.ts +18 -0
  203. package/dist/types/components/Breadcrumb/Item.d.ts +13 -0
  204. package/dist/types/components/Breadcrumb/Item.styles.d.ts +2 -0
  205. package/dist/types/components/Breadcrumb/index.d.ts +18 -0
  206. package/dist/types/components/Breadcrumb/styles.d.ts +6 -0
  207. package/dist/types/components/Breadcrumb/theme.d.ts +12 -0
  208. package/dist/types/components/Button/index.d.ts +21 -0
  209. package/dist/types/components/Button/styles.d.ts +2 -0
  210. package/dist/types/components/Button/theme.d.ts +13 -0
  211. package/dist/types/components/ButtonGroup/index.d.ts +15 -0
  212. package/dist/types/components/ButtonGroup/styles.d.ts +1 -0
  213. package/dist/types/components/Card/Cover.d.ts +10 -0
  214. package/dist/types/components/Card/Cover.styles.d.ts +1 -0
  215. package/dist/types/components/Card/index.d.ts +8 -0
  216. package/dist/types/components/Card/styles.d.ts +2 -0
  217. package/dist/types/components/Card/theme.d.ts +6 -0
  218. package/dist/types/components/Checkbox/index.d.ts +13 -0
  219. package/dist/types/components/Checkbox/styles.d.ts +3 -0
  220. package/dist/types/components/Checkbox/theme.d.ts +8 -0
  221. package/dist/types/components/ClearButton/index.d.ts +5 -0
  222. package/dist/types/components/ClearButton/styles.d.ts +1 -0
  223. package/dist/types/components/CloseButton/index.d.ts +3 -0
  224. package/dist/types/components/CloseButton/styles.d.ts +1 -0
  225. package/dist/types/components/DatePicker/index.d.ts +15 -0
  226. package/dist/types/components/DateTimePicker/index.d.ts +5 -0
  227. package/dist/types/components/DateTimePicker/styles.d.ts +1 -0
  228. package/dist/types/components/DateTimePickerCommon/CustomHeader.d.ts +18 -0
  229. package/dist/types/components/DateTimePickerCommon/CustomInput.d.ts +17 -0
  230. package/dist/types/components/DateTimePickerCommon/CustomPopper.d.ts +4 -0
  231. package/dist/types/components/DateTimePickerCommon/datePickerStyles.d.ts +1 -0
  232. package/dist/types/components/DateTimePickerCommon/index.d.ts +5 -0
  233. package/dist/types/components/DateTimePickerCommon/styles.d.ts +9 -0
  234. package/dist/types/components/DateTimePickerCommon/theme.d.ts +9 -0
  235. package/dist/types/components/DateTimePickerCommon/utils.d.ts +6 -0
  236. package/dist/types/components/Drawer/AssetDrawer/Header.d.ts +31 -0
  237. package/dist/types/components/Drawer/AssetDrawer/index.d.ts +4 -0
  238. package/dist/types/components/Drawer/AssetDrawer/styles.d.ts +3 -0
  239. package/dist/types/components/Drawer/Close.d.ts +5 -0
  240. package/dist/types/components/Drawer/Content.d.ts +4 -0
  241. package/dist/types/components/Drawer/Footer.d.ts +4 -0
  242. package/dist/types/components/Drawer/Title.d.ts +3 -0
  243. package/dist/types/components/Drawer/index.d.ts +52 -0
  244. package/dist/types/components/Drawer/styles.d.ts +10 -0
  245. package/dist/types/components/Drawer/theme.d.ts +17 -0
  246. package/dist/types/components/DropdownMenu/Arrow.d.ts +4 -0
  247. package/dist/types/components/DropdownMenu/Arrow.styled.d.ts +4 -0
  248. package/dist/types/components/DropdownMenu/Item.d.ts +4 -0
  249. package/dist/types/components/DropdownMenu/Item.styled.d.ts +1 -0
  250. package/dist/types/components/DropdownMenu/Separator.d.ts +4 -0
  251. package/dist/types/components/DropdownMenu/Separator.styled.d.ts +1 -0
  252. package/dist/types/components/DropdownMenu/index.d.ts +25 -0
  253. package/dist/types/components/DropdownMenu/styles.d.ts +1 -0
  254. package/dist/types/components/DropdownMenu/theme.d.ts +8 -0
  255. package/dist/types/components/Field/index.d.ts +26 -0
  256. package/dist/types/components/Field/styles.d.ts +21 -0
  257. package/dist/types/components/Field/utils.d.ts +5 -0
  258. package/dist/types/components/FieldGroup/index.d.ts +11 -0
  259. package/dist/types/components/FieldGroup/styles.d.ts +1 -0
  260. package/dist/types/components/FileDrop/FilePreview.d.ts +9 -0
  261. package/dist/types/components/FileDrop/Message.d.ts +7 -0
  262. package/dist/types/components/FileDrop/Preview.d.ts +3 -0
  263. package/dist/types/components/FileDrop/index.d.ts +52 -0
  264. package/dist/types/components/FileDrop/styles.d.ts +9 -0
  265. package/dist/types/components/FileDrop/theme.d.ts +9 -0
  266. package/dist/types/components/FileDrop/utils.d.ts +3 -0
  267. package/dist/types/components/FileUpload/index.d.ts +35 -0
  268. package/dist/types/components/FileUpload/styles.d.ts +1 -0
  269. package/dist/types/components/Files/index.d.ts +8 -0
  270. package/dist/types/components/Files/types.d.ts +72 -0
  271. package/dist/types/components/Flex/index.d.ts +19 -0
  272. package/dist/types/components/Grid/Item.d.ts +14 -0
  273. package/dist/types/components/Grid/index.d.ts +31 -0
  274. package/dist/types/components/Hint/index.d.ts +10 -0
  275. package/dist/types/components/Hint/styles.d.ts +4 -0
  276. package/dist/types/components/Hint/theme.d.ts +9 -0
  277. package/dist/types/components/Icon/index.d.ts +26 -0
  278. package/dist/types/components/Icon/styles.d.ts +9 -0
  279. package/dist/types/components/Icon/theme.d.ts +10 -0
  280. package/dist/types/components/IconFont/index.d.ts +311 -0
  281. package/dist/types/components/IconFont/styles.d.ts +7 -0
  282. package/dist/types/components/IconFont/unicode.json.d.ts +303 -0
  283. package/dist/types/components/InputText/index.d.ts +21 -0
  284. package/dist/types/components/InputText/styles.d.ts +3 -0
  285. package/dist/types/components/Label/index.d.ts +16 -0
  286. package/dist/types/components/Label/styles.d.ts +5 -0
  287. package/dist/types/components/Label/theme.d.ts +4 -0
  288. package/dist/types/components/Link/index.d.ts +15 -0
  289. package/dist/types/components/Link/styles.d.ts +2 -0
  290. package/dist/types/components/Link/theme.d.ts +16 -0
  291. package/dist/types/components/Link/utils.d.ts +1 -0
  292. package/dist/types/components/Loader/index.d.ts +11 -0
  293. package/dist/types/components/Loader/styles.d.ts +6 -0
  294. package/dist/types/components/Loader/theme.d.ts +8 -0
  295. package/dist/types/components/Logo/Solutions.d.ts +3 -0
  296. package/dist/types/components/Logo/Symbol.d.ts +3 -0
  297. package/dist/types/components/Logo/Welcome.d.ts +3 -0
  298. package/dist/types/components/Logo/Wui.d.ts +3 -0
  299. package/dist/types/components/Logo/index.d.ts +7 -0
  300. package/dist/types/components/Logo/styles.d.ts +1 -0
  301. package/dist/types/components/Modal/Assets/AssetWithTitle.d.ts +9 -0
  302. package/dist/types/components/Modal/Assets/Backdrop.d.ts +4 -0
  303. package/dist/types/components/Modal/Assets/Iframe.d.ts +5 -0
  304. package/dist/types/components/Modal/Assets/index.d.ts +17 -0
  305. package/dist/types/components/Modal/Assets/styles.d.ts +7 -0
  306. package/dist/types/components/Modal/Close.d.ts +6 -0
  307. package/dist/types/components/Modal/Content.d.ts +16 -0
  308. package/dist/types/components/Modal/Footer.d.ts +12 -0
  309. package/dist/types/components/Modal/Header.d.ts +12 -0
  310. package/dist/types/components/Modal/index.d.ts +53 -0
  311. package/dist/types/components/Modal/styles.d.ts +11 -0
  312. package/dist/types/components/Modal/theme.d.ts +17 -0
  313. package/dist/types/components/Pagination/index.d.ts +14 -0
  314. package/dist/types/components/Pagination/styles.d.ts +7 -0
  315. package/dist/types/components/Pagination/theme.d.ts +9 -0
  316. package/dist/types/components/Pagination/utils.d.ts +7 -0
  317. package/dist/types/components/PasswordInput/ToggleButton.d.ts +9 -0
  318. package/dist/types/components/PasswordInput/index.d.ts +5 -0
  319. package/dist/types/components/Picker/index.d.ts +17 -0
  320. package/dist/types/components/Picker/styles.d.ts +2 -0
  321. package/dist/types/components/Popover/Arrow.d.ts +6 -0
  322. package/dist/types/components/Popover/Content.d.ts +9 -0
  323. package/dist/types/components/Popover/Popover.d.ts +14 -0
  324. package/dist/types/components/Popover/PopoverHover.d.ts +14 -0
  325. package/dist/types/components/Popover/Trigger.d.ts +10 -0
  326. package/dist/types/components/Popover/index.d.ts +3 -0
  327. package/dist/types/components/Popover/styles.d.ts +12 -0
  328. package/dist/types/components/Popover/theme.d.ts +8 -0
  329. package/dist/types/components/Popover/usePopover.d.ts +15 -0
  330. package/dist/types/components/Radio/index.d.ts +12 -0
  331. package/dist/types/components/Radio/styles.d.ts +7 -0
  332. package/dist/types/components/Radio/theme.d.ts +11 -0
  333. package/dist/types/components/RadioGroup/index.d.ts +17 -0
  334. package/dist/types/components/RadioGroup/styles.d.ts +4 -0
  335. package/dist/types/components/RadioTab/index.d.ts +14 -0
  336. package/dist/types/components/RadioTab/styles.d.ts +18 -0
  337. package/dist/types/components/RadioTab/theme.d.ts +7 -0
  338. package/dist/types/components/Search/index.d.ts +29 -0
  339. package/dist/types/components/Search/styles.d.ts +15 -0
  340. package/dist/types/components/Select/index.d.ts +54 -0
  341. package/dist/types/components/Select/multipleSelections.d.ts +3 -0
  342. package/dist/types/components/Select/styles.d.ts +32 -0
  343. package/dist/types/components/Select/utils.d.ts +18 -0
  344. package/dist/types/components/Shape/index.d.ts +6 -0
  345. package/dist/types/components/Shape/styles.d.ts +2 -0
  346. package/dist/types/components/Slider/Range.d.ts +17 -0
  347. package/dist/types/components/Slider/index.d.ts +27 -0
  348. package/dist/types/components/Slider/styles.d.ts +19 -0
  349. package/dist/types/components/Slider/theme.d.ts +11 -0
  350. package/dist/types/components/Stack/index.d.ts +7 -0
  351. package/dist/types/components/Swiper/index.d.ts +80 -0
  352. package/dist/types/components/Swiper/styles.d.ts +138 -0
  353. package/dist/types/components/Swiper/theme.d.ts +11 -0
  354. package/dist/types/components/Swiper/use-interval.d.ts +1 -0
  355. package/dist/types/components/Table/index.d.ts +18 -0
  356. package/dist/types/components/Table/styles.d.ts +13 -0
  357. package/dist/types/components/Table/theme.d.ts +15 -0
  358. package/dist/types/components/Tabs/ActiveBar.d.ts +13 -0
  359. package/dist/types/components/Tabs/TabList.d.ts +13 -0
  360. package/dist/types/components/Tabs/TabPanel.d.ts +11 -0
  361. package/dist/types/components/Tabs/index.d.ts +18 -0
  362. package/dist/types/components/Tabs/styles.d.ts +9 -0
  363. package/dist/types/components/Tabs/theme.d.ts +28 -0
  364. package/dist/types/components/Tabs/utils.d.ts +1 -0
  365. package/dist/types/components/Tag/index.d.ts +17 -0
  366. package/dist/types/components/Tag/styles.d.ts +15 -0
  367. package/dist/types/components/Tag/theme.d.ts +14 -0
  368. package/dist/types/components/Text/index.d.ts +25 -0
  369. package/dist/types/components/Text/styles.d.ts +2 -0
  370. package/dist/types/components/Textarea/index.d.ts +18 -0
  371. package/dist/types/components/Textarea/styles.d.ts +2 -0
  372. package/dist/types/components/Textarea/theme.d.ts +4 -0
  373. package/dist/types/components/TimePicker/index.d.ts +13 -0
  374. package/dist/types/components/TimePicker/styles.d.ts +1 -0
  375. package/dist/types/components/Toast/Growl.d.ts +12 -0
  376. package/dist/types/components/Toast/Snackbar.d.ts +18 -0
  377. package/dist/types/components/Toast/ToastWrapper.d.ts +16 -0
  378. package/dist/types/components/Toast/index.d.ts +27 -0
  379. package/dist/types/components/Toast/styles.d.ts +19 -0
  380. package/dist/types/components/Toast/theme.d.ts +22 -0
  381. package/dist/types/components/Toast/utils.d.ts +26 -0
  382. package/dist/types/components/Toggle/index.d.ts +11 -0
  383. package/dist/types/components/Toggle/styles.d.ts +12 -0
  384. package/dist/types/components/Toggle/theme.d.ts +10 -0
  385. package/dist/types/components/Tooltip/index.d.ts +11 -0
  386. package/dist/types/components/Tooltip/styles.d.ts +10 -0
  387. package/dist/types/components/Tooltip/theme.d.ts +4 -0
  388. package/dist/types/components/UniversalLink/index.d.ts +7 -0
  389. package/dist/types/components/UniversalLink/styles.d.ts +1 -0
  390. package/dist/types/components/VariantIcon/index.d.ts +11 -0
  391. package/dist/types/components/VariantIcon/styles.d.ts +4 -0
  392. package/dist/types/components/VariantIcon/theme.d.ts +10 -0
  393. package/dist/types/components/WelcomeLoader/index.d.ts +2 -0
  394. package/dist/types/components/WelcomeLoader/loader.json.d.ts +3 -0
  395. package/dist/types/components/index.d.ts +55 -1
  396. package/dist/types/index.d.ts +2 -1
  397. package/dist/types/theme/defaultFields.d.ts +39 -0
  398. package/dist/types/theme/index.d.ts +64 -2
  399. package/dist/types/theme/typography.d.ts +2 -2
  400. package/dist/types/utils/clamp.d.ts +1 -0
  401. package/dist/types/utils/create-event.d.ts +8 -0
  402. package/dist/types/utils/field-styles.d.ts +21 -0
  403. package/dist/types/utils/format-bytes.d.ts +1 -0
  404. package/dist/types/utils/get-max-width-height.d.ts +1 -0
  405. package/dist/types/utils/hex-to-rgb.d.ts +1 -0
  406. package/dist/types/utils/hex-to-rgba.d.ts +1 -0
  407. package/dist/types/utils/hide-focus-rings-root.d.ts +8 -0
  408. package/dist/types/utils/index.d.ts +1 -0
  409. package/dist/types/utils/overflow-ellipsis.d.ts +1 -0
  410. package/dist/types/utils/throttle.d.ts +5 -0
  411. package/dist/types/utils/use-copy-text.d.ts +5 -0
  412. package/dist/types/utils/use-create-portal.d.ts +4 -0
  413. package/dist/types/utils/use-fork-ref.d.ts +3 -0
  414. package/dist/types/utils/use-isomorphic-layout-effect.d.ts +2 -0
  415. package/dist/types/utils/use-viewport.d.ts +6 -0
  416. package/dist/types/utils/wrap-children.d.ts +1 -0
  417. package/dist/use-isomorphic-layout-effect-C1_Gy5Nu.js +1 -0
  418. package/dist/use-isomorphic-layout-effect-Izr-e2pi.mjs +6 -0
  419. package/dist/use-viewport-BDDjd1nl.js +1 -0
  420. package/dist/use-viewport-m3glsbna.mjs +16 -0
  421. package/dist/usePopover-CZsYHcTW.js +31 -0
  422. package/dist/usePopover-CcsC9Y-s.mjs +143 -0
  423. package/dist/wrap-children-BLDjJiiy.js +1 -0
  424. package/dist/wrap-children-aq69jtFP.mjs +12 -0
  425. package/package.json +61 -4
  426. package/dist/box.mjs +0 -8
  427. /package/dist/{wui-provider.js → WuiProvider.js} +0 -0
  428. /package/dist/{wui-provider.mjs → WuiProvider.mjs} +0 -0
package/dist/index.mjs CHANGED
@@ -1,17 +1,1294 @@
1
1
  "use client";
2
- import { css as m, rpxTransformers as h, defaultTheme as f } from "@xstyled/styled-components";
3
- import { Box as j } from "./box.mjs";
4
- import { componentSystem as te, filterSystemProps as re, forwardRef as ne, shouldForwardProp as oe, system as le, wrapperSystem as ie } from "./system.mjs";
5
- import { WuiProvider as ae } from "./wui-provider.mjs";
6
- function d(e, t) {
7
- if (typeof e != "object" || e === null) return t;
8
- if (typeof t != "object" || t === null) return e;
9
- const o = { ...e };
10
- for (const l in t)
11
- t.hasOwnProperty(l) && (o[l] = d(o[l], t[l]));
12
- return o;
2
+ import { Accordion as Qe, useAccordion as er } from "./Accordion.mjs";
3
+ import { Alert as or } from "./Alert.mjs";
4
+ import { AspectRatio as nr } from "./AspectRatio.mjs";
5
+ import { Avatar as lr } from "./Avatar.mjs";
6
+ import { Badge as dr } from "./Badge.mjs";
7
+ import { Box as cr } from "./Box.mjs";
8
+ import { h as m } from "./index-1C9Z0d5Q.mjs";
9
+ import { a as ur, B as mr } from "./index-1C9Z0d5Q.mjs";
10
+ import { Button as pr, StyledButton as fr } from "./Button.mjs";
11
+ import { ButtonGroup as xr } from "./ButtonGroup.mjs";
12
+ import { Card as yr, CardComponent as kr } from "./Card.mjs";
13
+ import { a as wr } from "./index-DCOLdphy.mjs";
14
+ import { ClearButton as vr, StyledClearButton as Tr } from "./ClearButton.mjs";
15
+ import { CloseButton as $r } from "./CloseButton.mjs";
16
+ import { DatePicker as Ar } from "./DatePicker.mjs";
17
+ import { DateTimePicker as Er } from "./DateTimePicker.mjs";
18
+ import { AssetDrawer as zr, Drawer as Lr, DrawerBackdrop as Ir, Trigger as Hr, useDrawer as Ur } from "./Drawer.mjs";
19
+ import { DropdownMenu as Pr, useDropdownMenu as Mr } from "./DropdownMenu.mjs";
20
+ import { Field as Gr, IconGroupWrapper as Or, IconWrapper as Vr, getBaseType as Yr } from "./Field.mjs";
21
+ import { FieldGroup as Xr, StyledFieldGroup as Kr } from "./FieldGroup.mjs";
22
+ import { FileDrop as jr, ImagePreview as qr } from "./FileDrop.mjs";
23
+ import { g as eo, a as ro, b as oo, c as to } from "./index-DHOW43M6.mjs";
24
+ import { FileUpload as ao } from "./FileUpload.mjs";
25
+ import { Flex as io } from "./Flex.mjs";
26
+ import { Grid as co } from "./Grid.mjs";
27
+ import { Hint as uo, StyledHint as mo } from "./Hint.mjs";
28
+ import { Icon as po, StyledIcon as fo } from "./Icon.mjs";
29
+ import { InputText as xo } from "./InputText.mjs";
30
+ import { Label as yo, StyledLabel as ko } from "./Label.mjs";
31
+ import { Link as wo } from "./Link.mjs";
32
+ import { Loader as vo } from "./Loader.mjs";
33
+ import { W as Do, a as $o, S as Wo, b as Ao } from "./Welcome-BNr4uu5n.mjs";
34
+ import { AssetModal as Eo, Modal as Ro, useModal as zo } from "./Modal.mjs";
35
+ import { Pagination as Io } from "./Pagination.mjs";
36
+ import { PasswordInput as Uo } from "./PasswordInput.mjs";
37
+ import { Picker as Po } from "./Picker.mjs";
38
+ import { P as No, a as Go, u as Oo, b as Vo } from "./usePopover-CcsC9Y-s.mjs";
39
+ import { Radio as Jo } from "./Radio.mjs";
40
+ import { RadioGroup as Ko } from "./RadioGroup.mjs";
41
+ import { RadioTab as jo } from "./RadioTab.mjs";
42
+ import { Search as Qo, StyledSearch as et } from "./Search.mjs";
43
+ import { Select as ot, StyledSelect as tt } from "./Select.mjs";
44
+ import { Shape as at } from "./Shape.mjs";
45
+ import { Slider as it, SliderComponent as dt, ensureMinMax as st, round as ct, thumbWidth as gt } from "./Slider.mjs";
46
+ import { Stack as mt } from "./Stack.mjs";
47
+ import { StyledSwiper as pt, Swiper as ft, useSwiper as ht } from "./Swiper.mjs";
48
+ import { Table as Ct, TableComponent as yt } from "./Table.mjs";
49
+ import { Tab as Ft, TabComponent as wt, useTab as St } from "./Tabs.mjs";
50
+ import { StyledTag as Tt, Tag as Dt } from "./Tag.mjs";
51
+ import { Text as Wt } from "./Text.mjs";
52
+ import { Textarea as Bt } from "./Textarea.mjs";
53
+ import { TimePicker as Rt } from "./TimePicker.mjs";
54
+ import { Notifications as Lt, Toast as It, dismiss as Ht, remove as Ut, toast as _t, useToast as Pt } from "./Toast.mjs";
55
+ import { Toggle as Nt } from "./Toggle.mjs";
56
+ import { Tooltip as Ot } from "./Tooltip.mjs";
57
+ import { VariantIcon as Yt } from "./VariantIcon.mjs";
58
+ import { WelcomeLoader as Xt } from "./WelcomeLoader.mjs";
59
+ import { WuiProvider as Zt } from "./WuiProvider.mjs";
60
+ import { css as h, rpxTransformers as F, defaultTheme as w } from "@xstyled/styled-components";
61
+ import { useState as S, useCallback as v } from "react";
62
+ import { g as T } from "./_commonjsHelpers-CXJ7dpIk.mjs";
63
+ function f(o, e) {
64
+ if (typeof o != "object" || o === null) return e;
65
+ if (typeof e != "object" || e === null) return o;
66
+ const r = { ...o };
67
+ for (const n in e)
68
+ e.hasOwnProperty(n) && (r[n] = f(r[n], e[n]));
69
+ return r;
13
70
  }
14
- const x = {
71
+ const D = (o) => {
72
+ const { borderWidths: e, colors: r, fontSizes: n, radii: a, space: i, texts: d, transitions: l } = o;
73
+ return {
74
+ padding: i.lg,
75
+ wrapper: {
76
+ backgroundColor: r["neutral-10"],
77
+ transition: l.medium,
78
+ border: `${e.sm} solid ${r["neutral-30"]}`,
79
+ borderRadius: a.md
80
+ },
81
+ icon: {
82
+ color: r["neutral-90"]
83
+ },
84
+ content: {
85
+ fontSize: n.sm
86
+ },
87
+ title: d.h5
88
+ };
89
+ }, $ = (o) => {
90
+ const { borderWidths: e, colors: r, fontSizes: n, fontWeights: a, radii: i, space: d } = o, l = (s) => ({
91
+ backgroundColor: r[`${s}-10`],
92
+ borderColor: r[`${s}-10`],
93
+ color: r[`${s}-90`]
94
+ });
95
+ return {
96
+ default: {
97
+ backgroundColor: r["neutral-10"],
98
+ borderColor: r["neutral-30"],
99
+ borderRadius: i.lg,
100
+ borderStyle: "solid",
101
+ borderWidth: e.sm,
102
+ color: r["neutral-80"],
103
+ fontSize: n.sm
104
+ },
105
+ title: {
106
+ default: {
107
+ color: r["neutral-90"],
108
+ fontWeight: a.medium
109
+ },
110
+ sizes: {
111
+ sm: {
112
+ marginBottom: d.xs
113
+ },
114
+ md: {
115
+ marginBottom: d.sm
116
+ }
117
+ }
118
+ },
119
+ danger: l("red"),
120
+ warning: l("orange"),
121
+ info: l("blue"),
122
+ success: l("green"),
123
+ beige: {
124
+ backgroundColor: r["beige-20"],
125
+ borderColor: r["beige-20"],
126
+ color: r["beige-80"]
127
+ },
128
+ sizes: {
129
+ sm: {
130
+ padding: d.lg
131
+ },
132
+ md: {
133
+ padding: d.xl
134
+ }
135
+ }
136
+ };
137
+ }, W = (o) => {
138
+ const { colors: e, fontWeights: r, toRem: n } = o;
139
+ return {
140
+ sizes: {
141
+ sm: n(20),
142
+ md: n(30),
143
+ lg: n(40),
144
+ xl: n(50),
145
+ xxl: n(60)
146
+ },
147
+ text: {
148
+ color: e["neutral-90"],
149
+ fontWeight: r.bold
150
+ }
151
+ };
152
+ }, A = (o) => {
153
+ const { colors: e, fontWeights: r, space: n, texts: a, toRem: i } = o;
154
+ return {
155
+ default: {
156
+ ...a.xs,
157
+ fontWeight: r.medium
158
+ },
159
+ variants: {
160
+ default: {
161
+ color: e["beige-70"],
162
+ backgroundColor: e["beige-30"]
163
+ },
164
+ primary: {
165
+ color: e["neutral-90"],
166
+ backgroundColor: e["primary-40"]
167
+ }
168
+ },
169
+ disabled: {
170
+ default: {
171
+ color: e["beige-40"],
172
+ backgroundColor: e["beige-20"]
173
+ },
174
+ primary: {
175
+ color: e["primary-80"],
176
+ backgroundColor: e["primary-50"]
177
+ }
178
+ },
179
+ sizes: {
180
+ sm: {
181
+ padding: n.xxs,
182
+ height: i(16),
183
+ borderRadius: i(14)
184
+ },
185
+ md: {
186
+ padding: n.xs,
187
+ height: i(20),
188
+ borderRadius: i(14)
189
+ }
190
+ }
191
+ };
192
+ }, B = (o) => {
193
+ const { colors: e, space: r, texts: n } = o;
194
+ return {
195
+ list: {
196
+ ...n["subtitle-sm"],
197
+ padding: `${r.sm} 0`
198
+ },
199
+ item: {
200
+ default: {
201
+ color: e["neutral-50"],
202
+ textDecoration: "none"
203
+ },
204
+ hover: {
205
+ color: e["neutral-70"]
206
+ },
207
+ active: {
208
+ color: e["neutral-70"]
209
+ }
210
+ },
211
+ separator: {
212
+ padding: `0 ${r.xs}`,
213
+ color: e["neutral-50"]
214
+ }
215
+ };
216
+ }, E = (o) => {
217
+ const { colors: e, focus: r, fontWeights: n, radii: a, space: i, texts: d, toRem: l } = o, s = {
218
+ ...d.xs,
219
+ color: e["neutral-10"],
220
+ fontWeight: n.bold,
221
+ letterSpacing: 0,
222
+ borderRadius: a.md
223
+ };
224
+ return {
225
+ primary: {
226
+ ...s,
227
+ color: o.colors["neutral-90"],
228
+ backgroundColor: e["primary-40"],
229
+ borderColor: e["primary-40"]
230
+ },
231
+ secondary: {
232
+ ...s,
233
+ backgroundColor: e["neutral-90"],
234
+ borderColor: e["neutral-90"]
235
+ },
236
+ tertiary: {
237
+ ...s,
238
+ color: e["neutral-90"],
239
+ backgroundColor: "transparent",
240
+ borderColor: e["neutral-90"]
241
+ },
242
+ ghost: {
243
+ ...s,
244
+ color: e["neutral-90"],
245
+ backgroundColor: "transparent",
246
+ borderColor: "transparent"
247
+ },
248
+ danger: {
249
+ primary: {
250
+ color: e["neutral-10"],
251
+ backgroundColor: e["red-70"],
252
+ borderColor: e["red-70"]
253
+ },
254
+ tertiary: {
255
+ backgroundColor: "transparent",
256
+ color: e["red-80"],
257
+ borderColor: e["red-80"]
258
+ },
259
+ ghost: {
260
+ color: e["red-80"],
261
+ backgroundColor: "transparent",
262
+ borderColor: "transparent"
263
+ }
264
+ },
265
+ hover: {
266
+ primary: {
267
+ backgroundColor: e["primary-30"],
268
+ borderColor: e["primary-30"]
269
+ },
270
+ secondary: {
271
+ backgroundColor: e["neutral-70"],
272
+ borderColor: "transparent"
273
+ },
274
+ tertiary: {
275
+ backgroundColor: m(e["neutral-90"], 0.1)
276
+ },
277
+ ghost: {
278
+ backgroundColor: m(e["neutral-90"], 0.1)
279
+ },
280
+ danger: {
281
+ primary: {
282
+ backgroundColor: e["red-60"],
283
+ borderColor: e["red-60"]
284
+ },
285
+ tertiary: {
286
+ backgroundColor: e["red-10"]
287
+ },
288
+ ghost: {
289
+ backgroundColor: e["red-10"]
290
+ }
291
+ }
292
+ },
293
+ focus: {
294
+ primary: { ...r(e["primary-20"]) },
295
+ secondary: { ...r(e["neutral-40"]) },
296
+ tertiary: { ...r(e["neutral-40"]) },
297
+ ghost: { ...r(e["neutral-40"]) },
298
+ danger: {
299
+ primary: { ...r(e["red-40"]) },
300
+ tertiary: { ...r(e["red-40"]) },
301
+ ghost: { ...r(e["red-40"]) }
302
+ }
303
+ },
304
+ active: {
305
+ primary: {
306
+ backgroundColor: e["primary-10"],
307
+ borderColor: e["primary-10"]
308
+ },
309
+ secondary: {
310
+ backgroundColor: e["neutral-50"],
311
+ borderColor: e["neutral-50"]
312
+ },
313
+ tertiary: {
314
+ backgroundColor: m(e["neutral-90"], 0.4)
315
+ },
316
+ ghost: {
317
+ backgroundColor: m(e["neutral-90"], 0.4)
318
+ },
319
+ danger: {
320
+ primary: {
321
+ backgroundColor: e["red-50"],
322
+ borderColor: e["red-50"]
323
+ },
324
+ tertiary: {
325
+ backgroundColor: e["red-20"]
326
+ },
327
+ ghost: {
328
+ backgroundColor: e["red-20"]
329
+ }
330
+ }
331
+ },
332
+ disabled: {
333
+ ...s,
334
+ color: e["beige-70"],
335
+ backgroundColor: e["beige-40"],
336
+ borderColor: e["beige-40"],
337
+ "&:focus": { ...r(e["beige-10"]) }
338
+ },
339
+ sizes: {
340
+ xs: {
341
+ height: l(24),
342
+ padding: `${i.xs} ${i.sm}`
343
+ },
344
+ sm: {
345
+ height: l(32),
346
+ padding: `${i.sm} ${i.md}`
347
+ },
348
+ md: {
349
+ ...d.sm,
350
+ fontWeight: n.bold,
351
+ height: l(40),
352
+ padding: `${i.sm} ${i.lg}`
353
+ },
354
+ lg: {
355
+ ...d.sm,
356
+ fontWeight: n.bold,
357
+ height: l(48),
358
+ padding: `${i.md} ${i.xl}`
359
+ }
360
+ },
361
+ icon: {
362
+ only: {
363
+ xs: l(16),
364
+ sm: l(16),
365
+ md: l(16),
366
+ lg: l(24)
367
+ },
368
+ default: {
369
+ xs: l(12),
370
+ sm: l(16),
371
+ md: l(16),
372
+ lg: l(16)
373
+ }
374
+ }
375
+ };
376
+ }, R = (o) => {
377
+ const { borderWidths: e, colors: r } = o;
378
+ return {
379
+ default: {
380
+ backgroundColor: r["neutral-10"],
381
+ borderStyle: "solid",
382
+ borderWidth: e.sm,
383
+ borderColor: r["neutral-30"]
384
+ }
385
+ };
386
+ }, z = (o) => {
387
+ const { colors: e, fontWeights: r } = o;
388
+ return {
389
+ item: {
390
+ selected: {
391
+ color: e["neutral-90"],
392
+ fontWeight: r.bold,
393
+ backgroundColor: e["primary-40"],
394
+ outline: "none"
395
+ },
396
+ today: {
397
+ color: e["neutral-90"],
398
+ fontWeight: r.bold
399
+ }
400
+ }
401
+ };
402
+ }, L = (o) => {
403
+ const { colors: e, radii: r, toRem: n } = o;
404
+ return {
405
+ default: {
406
+ width: n(16),
407
+ height: n(16),
408
+ flexShrink: 0,
409
+ borderRadius: r.sm
410
+ },
411
+ disabled: {
412
+ borderColor: e["beige-60"]
413
+ },
414
+ checked: {
415
+ color: e["neutral-90"],
416
+ backgroundColor: e["primary-40"],
417
+ borderColor: e["primary-40"]
418
+ }
419
+ };
420
+ }, I = (o) => {
421
+ const { colors: e, space: r, toRem: n } = o;
422
+ return {
423
+ backdrop: {
424
+ backgroundColor: e.overlay,
425
+ zIndex: 999
426
+ },
427
+ default: {
428
+ zIndex: 999
429
+ },
430
+ closeButton: {},
431
+ title: {
432
+ margin: 0,
433
+ backgroundColor: e["neutral-10"],
434
+ padding: `${r.xl} ${r["5xl"]} ${r.xl} ${r.xl}`
435
+ },
436
+ content: {
437
+ padding: `${r.xl}`
438
+ },
439
+ footer: {
440
+ backgroundColor: e["neutral-10"],
441
+ padding: `${r.xl}`
442
+ },
443
+ sizes: {
444
+ horizontal: {
445
+ sm: { width: n(400) },
446
+ md: { width: n(550) },
447
+ lg: { width: n(680) }
448
+ },
449
+ vertical: {
450
+ sm: { height: n(400) },
451
+ md: { height: n(550) },
452
+ lg: { height: n(680) }
453
+ }
454
+ }
455
+ };
456
+ }, H = (o) => {
457
+ const { colors: e, fontSizes: r, radii: n, toRem: a } = o, i = e["beige-30"];
458
+ return {
459
+ inner: {
460
+ fontSize: r.sm,
461
+ minWidth: a(130),
462
+ borderRadius: n.md
463
+ },
464
+ item: {
465
+ backgroundColor: "transparent",
466
+ color: e["beige-70"],
467
+ "&:hover": {
468
+ backgroundColor: e["beige-30"],
469
+ color: e["neutral-90"]
470
+ },
471
+ "&:focus": {
472
+ backgroundColor: e["beige-30"],
473
+ color: e["neutral-90"]
474
+ },
475
+ "&[disabled]": {
476
+ backgroundColor: "transparent",
477
+ color: e["beige-40"],
478
+ cursor: "not-allowed"
479
+ }
480
+ },
481
+ separator: {
482
+ backgroundColor: i
483
+ }
484
+ };
485
+ }, U = (o) => {
486
+ const { colors: e, toRem: r } = o;
487
+ return {
488
+ default: {
489
+ minHeight: r(200),
490
+ borderStyle: "dashed"
491
+ },
492
+ dragAccept: {},
493
+ dragReject: {},
494
+ disabled: {
495
+ backgroundColor: e["beige-30"]
496
+ }
497
+ };
498
+ }, _ = (o) => {
499
+ const { colors: e, texts: r } = o;
500
+ return {
501
+ default: {
502
+ ...r.xs,
503
+ color: e["neutral-60"]
504
+ },
505
+ danger: {
506
+ color: e["red-70"]
507
+ },
508
+ success: {
509
+ color: e["green-70"]
510
+ },
511
+ warning: {
512
+ color: e["orange-70"]
513
+ }
514
+ };
515
+ }, P = (o) => {
516
+ const { colors: e, fontSizes: r, fontWeights: n } = o;
517
+ return {
518
+ color: e["neutral-60"],
519
+ fontSize: r.sm,
520
+ fontWeight: n.medium
521
+ };
522
+ }, M = (o) => {
523
+ const { colors: e, fontWeights: r, icons: n, space: a, transitions: i } = o;
524
+ return {
525
+ default: {
526
+ color: e["neutral-90"],
527
+ fontWeight: r.medium,
528
+ transition: i.medium
529
+ },
530
+ withExternalLink: {
531
+ backgroundSize: `calc(100% - ${n.sm} - ${a.sm}) 50%`
532
+ },
533
+ disabled: {
534
+ color: e["neutral-50"],
535
+ backgroundImage: `linear-gradient(0deg, ${e["neutral-30"]}, ${e["neutral-30"]} 100%)`
536
+ },
537
+ primary: {
538
+ default: {},
539
+ hover: {}
540
+ },
541
+ secondary: {
542
+ default: {
543
+ backgroundImage: `linear-gradient(0deg, ${e["neutral-90"]}, ${e["neutral-90"]} 100%)`
544
+ },
545
+ hover: {
546
+ color: e["neutral-10"]
547
+ }
548
+ }
549
+ };
550
+ }, N = ({ toRem: o }) => ({
551
+ xs: o(8),
552
+ sm: o(10),
553
+ md: o(15),
554
+ lg: o(20)
555
+ }), G = ({ toRem: o }) => ({
556
+ xs: o(12),
557
+ sm: o(16),
558
+ md: o(24),
559
+ lg: o(32),
560
+ xl: o(48),
561
+ xxl: o(64)
562
+ }), O = (o) => {
563
+ const { colors: e, radii: r, space: n, toRem: a } = o;
564
+ return {
565
+ backdrop: {
566
+ backgroundColor: e.overlay,
567
+ zIndex: 999
568
+ },
569
+ default: {
570
+ zIndex: 999,
571
+ borderRadius: r.md
572
+ },
573
+ header: {
574
+ backgroundColor: e["neutral-10"],
575
+ borderTopLeftRadius: r.md,
576
+ borderTopRightRadius: r.md,
577
+ paddingTop: n.xxl,
578
+ paddingRight: n["3xl"],
579
+ paddingBottom: n.xxl,
580
+ paddingLeft: n.xxl,
581
+ subtitle: {
582
+ color: e["neutral-70"],
583
+ variant: "sm",
584
+ margin: 0
585
+ }
586
+ },
587
+ body: {
588
+ color: e["neutral-90"],
589
+ paddingRight: n["3xl"],
590
+ paddingBottom: n.xxl,
591
+ paddingLeft: n.xxl
592
+ },
593
+ footer: {
594
+ backgroundColor: e["neutral-10"],
595
+ borderTop: `solid ${e["neutral-30"]}`,
596
+ borderBottomLeftRadius: r.md,
597
+ borderBottomRightRadius: r.md,
598
+ children: {
599
+ paddingRight: n.xxl,
600
+ paddingLeft: n.xxl,
601
+ paddingTop: n.lg,
602
+ paddingBottom: n.xl
603
+ },
604
+ information: {
605
+ backgroundColor: e["beige-20"],
606
+ paddingRight: n.xxl,
607
+ paddingLeft: n.xxl,
608
+ paddingTop: n.xl,
609
+ paddingBottom: n.xxl
610
+ }
611
+ },
612
+ gutter: a(32),
613
+ sizes: {
614
+ xs: {
615
+ width: a(320)
616
+ },
617
+ sm: {
618
+ width: a(450)
619
+ },
620
+ md: {
621
+ width: a(600)
622
+ },
623
+ lg: {
624
+ width: a(730)
625
+ },
626
+ auto: {}
627
+ },
628
+ cover: {}
629
+ };
630
+ }, V = (o) => {
631
+ const { colors: e, focus: r, fontSizes: n, fontWeights: a, toRem: i } = o;
632
+ return {
633
+ default: {
634
+ width: i(32),
635
+ height: i(32),
636
+ color: e["neutral-90"],
637
+ fontWeight: a.bold,
638
+ fontSize: n.xs
639
+ },
640
+ item: {
641
+ "&:hover, &:focus": {
642
+ backgroundColor: e["neutral-30"]
643
+ },
644
+ "&:focus": { ...r(e["neutral-60"]) }
645
+ },
646
+ active: {
647
+ backgroundColor: e["neutral-90"],
648
+ color: e["neutral-10"],
649
+ "&:hover, &:focus": {
650
+ backgroundColor: e["neutral-90"]
651
+ }
652
+ },
653
+ disabled: {
654
+ backgroundColor: e["beige-40"],
655
+ color: e["beige-70"]
656
+ }
657
+ };
658
+ }, Y = (o) => {
659
+ const { borderWidths: e, colors: r, space: n, texts: a, toRem: i } = o;
660
+ return {
661
+ default: {
662
+ ...a.sm,
663
+ backgroundColor: r["neutral-90"],
664
+ color: r["neutral-10"],
665
+ maxWidth: i(700),
666
+ zIndex: 1
667
+ },
668
+ content: {
669
+ display: "block",
670
+ padding: n.md
671
+ },
672
+ title: {
673
+ ...a.h6,
674
+ padding: `${n.md} ${n.md} ${n.xs}`,
675
+ color: r["neutral-10"],
676
+ borderBottomColor: r["neutral-70"],
677
+ borderBottomWidth: e.sm,
678
+ borderBottomStyle: "solid"
679
+ }
680
+ };
681
+ }, J = (o) => {
682
+ const { colors: e, toRem: r } = o;
683
+ return {
684
+ default: {
685
+ width: r(16),
686
+ height: r(16)
687
+ },
688
+ checked: {
689
+ color: e["neutral-90"],
690
+ borderColor: e["primary-40"]
691
+ },
692
+ checkedCenteredColor: {
693
+ default: e["primary-40"],
694
+ disabled: e["beige-60"]
695
+ }
696
+ };
697
+ }, X = (o) => {
698
+ const { colors: e } = o;
699
+ return {
700
+ default: {
701
+ "&:hover": {
702
+ backgroundColor: e["beige-30"]
703
+ }
704
+ },
705
+ checked: {
706
+ backgroundColor: e["primary-40"],
707
+ color: o.colors["neutral-90"],
708
+ borderColor: e["primary-40"],
709
+ "&:hover": {
710
+ backgroundColor: e["primary-30"]
711
+ }
712
+ }
713
+ };
714
+ }, K = (o) => {
715
+ const { borderWidths: e, colors: r } = o;
716
+ return {
717
+ default: {
718
+ backgroundColor: r["beige-40"],
719
+ backgroundImage: `linear-gradient(${r["primary-40"]}, ${r["primary-40"]})`
720
+ },
721
+ selector: {
722
+ backgroundColor: r["neutral-90"],
723
+ borderRadius: "50%",
724
+ border: `${e.md} solid`,
725
+ disabled: {
726
+ backgroundColor: r["beige-60"]
727
+ }
728
+ },
729
+ output: {
730
+ tooltip: {
731
+ backgroundColor: r["neutral-90"],
732
+ border: `${e.sm} solid ${r["neutral-70"]}}`,
733
+ color: r["neutral-10"]
734
+ }
735
+ },
736
+ focused: {
737
+ outline: `${e.md} solid ${r["primary-40"]}`,
738
+ disabled: {
739
+ outline: "none"
740
+ }
741
+ },
742
+ disabled: {
743
+ backgroundImage: `linear-gradient(${r["beige-60"]}, ${r["beige-60"]})`
744
+ },
745
+ rangeInput: {
746
+ disabled: {
747
+ backgroundColor: r["beige-60"]
748
+ }
749
+ }
750
+ };
751
+ }, Z = (o) => {
752
+ const { colors: e } = o;
753
+ return {
754
+ navigation: {
755
+ bullet: {
756
+ active: { backgroundColor: e["primary-40"] },
757
+ default: { backgroundColor: e["beige-40"] }
758
+ }
759
+ }
760
+ };
761
+ }, j = (o) => {
762
+ const { borderWidths: e, colors: r, fontWeights: n, space: a } = o;
763
+ return {
764
+ th: {
765
+ color: r["neutral-60"],
766
+ fontWeight: n.medium,
767
+ textAlign: "left",
768
+ borderBottomColor: r["neutral-90"],
769
+ borderBottomWidth: e.sm,
770
+ borderBottomStyle: "solid"
771
+ },
772
+ td: {
773
+ textAlign: "left",
774
+ padding: a.xl
775
+ },
776
+ tr: {
777
+ default: {
778
+ borderBottomColor: r["neutral-30"],
779
+ borderBottomWidth: e.sm,
780
+ borderBottomStyle: "solid"
781
+ },
782
+ danger: {
783
+ backgroundColor: r["red-10"],
784
+ color: r["red-70"]
785
+ },
786
+ warning: {
787
+ backgroundColor: r["orange-10"],
788
+ color: r["orange-80"]
789
+ },
790
+ info: {
791
+ backgroundColor: r["blue-10"],
792
+ color: r["blue-70"]
793
+ },
794
+ success: {
795
+ backgroundColor: r["green-10"],
796
+ color: r["green-70"]
797
+ },
798
+ clickable: {
799
+ cursor: "pointer"
800
+ }
801
+ }
802
+ };
803
+ }, q = (o) => {
804
+ const { borderWidths: e, colors: r, fontSizes: n, fontWeights: a, lineHeights: i, space: d } = o;
805
+ return {
806
+ tabsBorder: {
807
+ horizontal: {
808
+ boxShadow: `inset 0 -${e.sm} 0 ${r["neutral-30"]}`
809
+ },
810
+ vertical: {
811
+ boxShadow: `inset -${e.sm} 0 0 ${r["neutral-30"]}`
812
+ }
813
+ },
814
+ item: {
815
+ default: {
816
+ color: r["neutral-70"],
817
+ fontWeight: a.medium,
818
+ textDecoration: "none",
819
+ lineHeight: i.md
820
+ },
821
+ active: {
822
+ color: r["neutral-90"]
823
+ },
824
+ focus: {
825
+ color: r["neutral-90"]
826
+ },
827
+ disabled: {
828
+ color: r["neutral-50"]
829
+ },
830
+ size: {
831
+ sm: {
832
+ fontSize: n.sm
833
+ },
834
+ md: {
835
+ fontSize: n.md
836
+ }
837
+ }
838
+ },
839
+ panel: {
840
+ vertical: {
841
+ "&:focus": {
842
+ outline: "none"
843
+ }
844
+ },
845
+ horizontal: {
846
+ marginTop: d.xl,
847
+ "&:focus": {
848
+ outline: "none"
849
+ }
850
+ }
851
+ },
852
+ activeBar: {
853
+ horizontal: {
854
+ background: r["primary-40"],
855
+ height: e.md
856
+ },
857
+ vertical: {
858
+ background: r["primary-40"],
859
+ width: e.md
860
+ }
861
+ },
862
+ icon: {
863
+ maxWidth: d.lg,
864
+ maxHeight: d.lg
865
+ },
866
+ badge: {
867
+ maxHeight: d.lg
868
+ }
869
+ };
870
+ }, Q = (o) => {
871
+ const { colors: e, fontSizes: r, fontWeights: n, radii: a, space: i, toRem: d } = o, l = {
872
+ xs: d(20),
873
+ sm: d(24),
874
+ md: d(32)
875
+ }, s = (u) => ({
876
+ backgroundColor: e[`${u}-10`],
877
+ color: e[`${u}-90`]
878
+ }), t = (u) => ({
879
+ backgroundColor: e[`${u}-20`]
880
+ }), c = (u) => ({
881
+ backgroundColor: e[`${u}-${u === "green" ? "30" : "40"}`],
882
+ color: e["neutral-90"]
883
+ }), g = (u) => ({
884
+ backgroundColor: e[`${u}-${u === "green" ? "40" : "50"}`]
885
+ });
886
+ return {
887
+ default: {
888
+ fontWeight: n.medium,
889
+ borderRadius: a.md
890
+ },
891
+ variants: {
892
+ default: {
893
+ backgroundColor: e["beige-20"],
894
+ color: e["beige-90"]
895
+ },
896
+ primary: {
897
+ color: o.colors["neutral-90"],
898
+ backgroundColor: e["primary-40"]
899
+ },
900
+ success: s("green"),
901
+ danger: s("red"),
902
+ warning: s("orange"),
903
+ info: s("blue"),
904
+ teal: c("teal"),
905
+ blue: c("blue"),
906
+ orange: c("orange"),
907
+ pink: c("pink"),
908
+ green: c("green"),
909
+ violet: c("violet")
910
+ },
911
+ hover: {
912
+ default: {
913
+ backgroundColor: e["beige-30"]
914
+ },
915
+ primary: {
916
+ backgroundColor: e["primary-50"]
917
+ },
918
+ success: t("green"),
919
+ danger: t("red"),
920
+ warning: t("orange"),
921
+ info: t("blue"),
922
+ teal: g("teal"),
923
+ blue: g("blue"),
924
+ orange: g("orange"),
925
+ pink: g("pink"),
926
+ green: g("green"),
927
+ violet: g("violet")
928
+ },
929
+ sizes: {
930
+ xs: {
931
+ padding: `${i.xxs} ${i.xs}`,
932
+ height: l.xs,
933
+ fontSize: r.xs,
934
+ gap: i.xs,
935
+ borderRadius: a.sm
936
+ },
937
+ sm: {
938
+ padding: `${i.xs} ${i.sm}`,
939
+ height: l.sm,
940
+ fontSize: r.xs,
941
+ gap: i.xs
942
+ },
943
+ md: {
944
+ padding: `${i.xs} ${i.sm}`,
945
+ height: l.md,
946
+ fontSize: r.sm,
947
+ gap: i.sm
948
+ }
949
+ },
950
+ icon: {
951
+ xs: d(12),
952
+ sm: d(12),
953
+ md: d(16)
954
+ },
955
+ shape: {
956
+ xs: {
957
+ width: l.xs,
958
+ height: l.xs
959
+ },
960
+ sm: {
961
+ width: l.sm,
962
+ height: l.sm
963
+ },
964
+ md: {
965
+ width: l.md,
966
+ height: l.md
967
+ }
968
+ }
969
+ };
970
+ }, ee = (o) => {
971
+ const { space: e, toRem: r } = o;
972
+ return {
973
+ minHeight: r(130),
974
+ padding: e.md
975
+ };
976
+ }, re = (o, e) => {
977
+ const { toEm: r, toRem: n } = e, a = n;
978
+ return {
979
+ h0: a(65),
980
+ h1: a(45),
981
+ h2: a(36),
982
+ h3: a(26),
983
+ h4: a(20),
984
+ h5: a(16),
985
+ h6: a(14),
986
+ lg: a(18),
987
+ md: a(16),
988
+ sm: a(14),
989
+ "subtitle-md": a(13),
990
+ "subtitle-sm": a(11),
991
+ xs: a(12)
992
+ };
993
+ }, oe = ({
994
+ defaultLineHeight: o,
995
+ toRem: e
996
+ }) => ({
997
+ html: o,
998
+ h0: e(72),
999
+ h1: e(48),
1000
+ h2: e(40),
1001
+ h3: e(32),
1002
+ h4: e(24),
1003
+ h5: e(18),
1004
+ h6: e(16),
1005
+ lg: e(24),
1006
+ md: e(18),
1007
+ sm: e(18),
1008
+ xs: e(14),
1009
+ "subtitle-md": o,
1010
+ "subtitle-sm": o
1011
+ }), te = {
1012
+ regular: 400,
1013
+ medium: 500,
1014
+ bold: 600
1015
+ }, ne = ({
1016
+ defaultLetterSpacing: o,
1017
+ toRem: e
1018
+ }) => ({
1019
+ html: o,
1020
+ h0: e(-1.7),
1021
+ h1: e(-1.2),
1022
+ h2: e(-1),
1023
+ h3: e(-0.9),
1024
+ h4: e(-0.6),
1025
+ h5: e(-0.5),
1026
+ h6: e(-0.5),
1027
+ lg: o,
1028
+ md: o,
1029
+ sm: o,
1030
+ xs: e(-0.2),
1031
+ "subtitle-md": e(-0.2),
1032
+ "subtitle-sm": e(-0.2)
1033
+ }), ae = (o) => {
1034
+ const { fontWeights: e } = o;
1035
+ return {
1036
+ h0: e.bold,
1037
+ h1: e.bold,
1038
+ h2: e.bold,
1039
+ h3: e.bold,
1040
+ h4: e.bold,
1041
+ h5: e.bold,
1042
+ h6: e.bold,
1043
+ lg: e.regular,
1044
+ md: e.regular,
1045
+ sm: e.regular,
1046
+ "subtitle-md": e.bold,
1047
+ "subtitle-sm": e.medium,
1048
+ xs: e.regular
1049
+ };
1050
+ }, le = (o) => {
1051
+ const { fonts: e } = o;
1052
+ return {
1053
+ h0: e.headings,
1054
+ h1: e.headings,
1055
+ h2: e.headings,
1056
+ h3: e.headings,
1057
+ h4: e.headings,
1058
+ h5: e.headings,
1059
+ h6: e.headings,
1060
+ "subtitle-md": e.headings,
1061
+ "subtitle-sm": e.headings
1062
+ };
1063
+ }, ie = () => ({
1064
+ "subtitle-md": "uppercase",
1065
+ "subtitle-sm": "uppercase"
1066
+ }), de = (o) => {
1067
+ const { colors: e } = o;
1068
+ return {
1069
+ h0: e["neutral-90"],
1070
+ h1: e["neutral-90"],
1071
+ h2: e["neutral-90"],
1072
+ h3: e["neutral-90"],
1073
+ h4: e["neutral-90"],
1074
+ h5: e["neutral-90"],
1075
+ h6: e["neutral-90"]
1076
+ };
1077
+ }, C = (o) => {
1078
+ const {
1079
+ fontSizes: e,
1080
+ letterSpacings: r,
1081
+ lineHeights: n,
1082
+ textsFontColors: a,
1083
+ textsFontFamily: i,
1084
+ textsFontWeights: d,
1085
+ textsTextTransform: l
1086
+ } = o;
1087
+ return Object.keys(e).reduce((s, t) => ({
1088
+ ...s,
1089
+ [t]: {
1090
+ color: a[t],
1091
+ fontFamily: i[t] || void 0,
1092
+ fontWeight: d[t],
1093
+ fontSize: e[t],
1094
+ lineHeight: n[t] || n.lg,
1095
+ letterSpacing: r[t] || void 0,
1096
+ textTransform: l[t] || void 0
1097
+ }
1098
+ }), {});
1099
+ }, se = (o, e, r) => ({
1100
+ texts: [o, "sans-serif"].join(", "),
1101
+ headings: [e, "sans-serif"].join(", "),
1102
+ icons: r
1103
+ }), ce = (o) => {
1104
+ const { borderWidths: e, colors: r, fontWeights: n, radii: a, space: i } = o;
1105
+ return {
1106
+ default: {
1107
+ paddingLeft: i.sm,
1108
+ paddingRight: i.sm
1109
+ },
1110
+ top: {
1111
+ paddingTop: i.lg
1112
+ },
1113
+ bottom: {
1114
+ paddingBottom: i.lg
1115
+ },
1116
+ growls: {
1117
+ default: {
1118
+ ...C(o).sm,
1119
+ borderWidth: e.sm,
1120
+ borderStyle: "solid",
1121
+ borderRadius: a.lg,
1122
+ maxWidth: 340
1123
+ },
1124
+ title: {
1125
+ fontWeight: n.bold,
1126
+ color: r["neutral-90"]
1127
+ }
1128
+ },
1129
+ snackbar: {
1130
+ default: {
1131
+ borderRadius: a.lg
1132
+ },
1133
+ separator: {
1134
+ default: {
1135
+ borderLeft: "1px solid",
1136
+ borderLeftColor: r["neutral-30"]
1137
+ },
1138
+ danger: {
1139
+ borderLeftColor: r["red-20"]
1140
+ },
1141
+ warning: {
1142
+ borderLeftColor: r["orange-20"]
1143
+ },
1144
+ info: {
1145
+ borderLeftColor: r["blue-30"]
1146
+ },
1147
+ success: {
1148
+ borderLeftColor: r["green-30"]
1149
+ }
1150
+ }
1151
+ }
1152
+ };
1153
+ }, ge = "0.32rem !important", ue = "0.12rem ! important", me = (o) => {
1154
+ const { borderWidths: e, colors: r, focus: n, toRem: a } = o;
1155
+ return {
1156
+ item: {
1157
+ default: {
1158
+ backgroundColor: r["neutral-10"],
1159
+ borderColor: r["neutral-30"],
1160
+ borderWidth: e.sm,
1161
+ borderStyle: "solid",
1162
+ borderRadius: a(16),
1163
+ "&:focus": {
1164
+ borderColor: r["primary-30"],
1165
+ ...n(r["primary-30"])
1166
+ }
1167
+ },
1168
+ sizes: {
1169
+ xs: {
1170
+ width: a(28),
1171
+ height: a(16),
1172
+ marginTop: ge
1173
+ },
1174
+ sm: {
1175
+ width: a(36),
1176
+ height: a(20),
1177
+ marginTop: ue
1178
+ },
1179
+ md: {
1180
+ width: a(44),
1181
+ height: a(24),
1182
+ marginTop: "0 !important"
1183
+ }
1184
+ },
1185
+ checked: {
1186
+ backgroundColor: r["primary-40"],
1187
+ borderColor: r["primary-40"]
1188
+ },
1189
+ disabled: {
1190
+ borderColor: r["beige-60"],
1191
+ backgroundColor: r["beige-40"]
1192
+ }
1193
+ },
1194
+ after: {
1195
+ default: {
1196
+ backgroundColor: r["neutral-10"],
1197
+ borderColor: r["neutral-50"],
1198
+ borderWidth: e.sm,
1199
+ borderStyle: "solid",
1200
+ borderRadius: "50%"
1201
+ },
1202
+ checked: {
1203
+ backgroundColor: r["neutral-10"],
1204
+ borderColor: r["neutral-10"]
1205
+ },
1206
+ disabled: {
1207
+ borderColor: "transparent",
1208
+ backgroundColor: r["beige-60"]
1209
+ },
1210
+ sizes: {
1211
+ xs: {
1212
+ width: a(12),
1213
+ height: a(12)
1214
+ },
1215
+ sm: {
1216
+ width: a(16),
1217
+ height: a(16)
1218
+ },
1219
+ md: {
1220
+ width: a(20),
1221
+ height: a(20)
1222
+ }
1223
+ }
1224
+ },
1225
+ icon: {
1226
+ position: {
1227
+ xs: {
1228
+ left: "2px",
1229
+ right: "2px"
1230
+ },
1231
+ sm: {
1232
+ left: "4px",
1233
+ right: "4px"
1234
+ },
1235
+ md: {
1236
+ left: "4px",
1237
+ right: "4px"
1238
+ }
1239
+ },
1240
+ sizes: {
1241
+ xs: {
1242
+ width: a(10),
1243
+ height: a(10),
1244
+ fontSize: a(10)
1245
+ },
1246
+ sm: {
1247
+ width: a(12),
1248
+ height: a(12),
1249
+ fontSize: a(12)
1250
+ },
1251
+ md: {
1252
+ width: a(16),
1253
+ height: a(16),
1254
+ fontSize: a(16)
1255
+ }
1256
+ }
1257
+ }
1258
+ };
1259
+ }, be = (o) => {
1260
+ const { borderWidths: e, colors: r, fontSizes: n, fontWeights: a, radii: i, space: d, toRem: l } = o;
1261
+ return {
1262
+ maxWidth: l(200),
1263
+ backgroundColor: r["neutral-90"],
1264
+ color: r["neutral-10"],
1265
+ padding: `${d.xs} ${d.sm}`,
1266
+ fontSize: n.sm,
1267
+ fontWeight: a.medium,
1268
+ border: `${e.sm} solid ${r["neutral-60"]}`,
1269
+ borderRadius: i.md,
1270
+ boxSizing: "border-box"
1271
+ };
1272
+ }, pe = (o) => {
1273
+ const { colors: e } = o;
1274
+ return {
1275
+ default: {
1276
+ color: e["neutral-90"]
1277
+ },
1278
+ danger: {
1279
+ color: e["red-70"]
1280
+ },
1281
+ success: {
1282
+ color: e["green-60"]
1283
+ },
1284
+ warning: {
1285
+ color: e["orange-60"]
1286
+ },
1287
+ info: {
1288
+ color: e["blue-60"]
1289
+ }
1290
+ };
1291
+ }, fe = {
15
1292
  "beige-10": "#FBF9F7",
16
1293
  "beige-20": "#F6F3EF",
17
1294
  "beige-30": "#EAE4DE",
@@ -117,221 +1394,94 @@ const x = {
117
1394
  "yellow-70": "#846A01",
118
1395
  "yellow-80": "#604D00",
119
1396
  "yellow-90": "#423500"
120
- }, p = (e) => ({
121
- ...e,
122
- "primary-10": e["yellow-10"],
123
- "primary-20": e["yellow-20"],
124
- "primary-30": e["yellow-30"],
125
- "primary-40": e["yellow-40"],
126
- "primary-50": e["yellow-50"],
127
- "primary-60": e["yellow-60"],
128
- "primary-70": e["yellow-70"],
129
- "primary-80": e["yellow-80"],
130
- "primary-90": e["yellow-90"],
131
- "secondary-blue": e["blue-40"],
132
- "secondary-green": e["green-30"],
133
- "secondary-orange": e["red-orange-40"],
134
- "secondary-pink": e["pink-40"],
135
- "secondary-teal": e["teal-40"],
136
- "secondary-violet": e["violet-40"],
1397
+ }, y = (o) => ({
1398
+ ...o,
1399
+ "primary-10": o["yellow-10"],
1400
+ "primary-20": o["yellow-20"],
1401
+ "primary-30": o["yellow-30"],
1402
+ "primary-40": o["yellow-40"],
1403
+ "primary-50": o["yellow-50"],
1404
+ "primary-60": o["yellow-60"],
1405
+ "primary-70": o["yellow-70"],
1406
+ "primary-80": o["yellow-80"],
1407
+ "primary-90": o["yellow-90"],
1408
+ "secondary-blue": o["blue-40"],
1409
+ "secondary-green": o["green-30"],
1410
+ "secondary-orange": o["red-orange-40"],
1411
+ "secondary-pink": o["pink-40"],
1412
+ "secondary-teal": o["teal-40"],
1413
+ "secondary-violet": o["violet-40"],
137
1414
  overlay: "rgba(0, 0, 0, 0.55)"
138
- }), c = p(x), b = Object.keys(c).reduce((e, t) => {
139
- if (t.startsWith("secondary-") || t === "overlay") return e;
140
- const o = 100 - Number(t.slice(-2)), l = t.slice(0, t.length - 2);
141
- return {
142
- ...e,
143
- [t]: c[`${l}${o}`]
144
- };
145
- }, {}), w = {
146
- ...c,
147
- ...p(b)
148
- }, J = {
149
- colors: w
150
- }, A = (e) => ({
1415
+ }), p = y(fe), he = Object.keys(p).reduce((o, e) => {
1416
+ if (e.startsWith("secondary-") || e === "overlay") return o;
1417
+ const r = 100 - Number(e.slice(-2)), n = e.slice(0, e.length - 2);
1418
+ return {
1419
+ ...o,
1420
+ [e]: p[`${n}${r}`]
1421
+ };
1422
+ }, {}), xe = {
1423
+ ...p,
1424
+ ...y(he)
1425
+ }, Xe = {
1426
+ colors: xe
1427
+ }, Ce = (o) => ({
151
1428
  "welcome-font": [
152
1429
  {
153
- url: `${e.fontsUrl}/welcome-font-regular`,
1430
+ url: `${o.fontsUrl}/welcome-font-regular`,
154
1431
  weight: "400"
155
1432
  },
156
1433
  {
157
- url: `${e.fontsUrl}/welcome-font-medium`,
1434
+ url: `${o.fontsUrl}/welcome-font-medium`,
158
1435
  weight: "500"
159
1436
  },
160
1437
  {
161
- url: `${e.fontsUrl}/welcome-font-bold`,
1438
+ url: `${o.fontsUrl}/welcome-font-bold`,
162
1439
  weight: "600"
163
1440
  },
164
1441
  {
165
- url: `${e.fontsUrl}/welcome-font-regular-italic`,
1442
+ url: `${o.fontsUrl}/welcome-font-regular-italic`,
166
1443
  style: "italic",
167
1444
  weight: "400"
168
1445
  },
169
1446
  {
170
- url: `${e.fontsUrl}/welcome-font-medium-italic`,
1447
+ url: `${o.fontsUrl}/welcome-font-medium-italic`,
171
1448
  style: "italic",
172
1449
  weight: "500"
173
1450
  },
174
1451
  {
175
- url: `${e.fontsUrl}/welcome-font-bold-italic`,
1452
+ url: `${o.fontsUrl}/welcome-font-bold-italic`,
176
1453
  style: "italic",
177
1454
  weight: "600"
178
1455
  }
179
1456
  ],
180
1457
  "welcome-icon-font": [
181
1458
  {
182
- url: `${e.fontsUrl}/icon-font/__ICON_FONT_HASH__/welcome-icon-font`,
1459
+ url: `${o.fontsUrl}/icon-font/__ICON_FONT_HASH__/welcome-icon-font`,
183
1460
  display: "block"
184
1461
  }
185
1462
  ],
186
1463
  "work-sans": [
187
1464
  {
188
- url: `${e.fontsUrl}/work-sans-variable`,
1465
+ url: `${o.fontsUrl}/work-sans-variable`,
189
1466
  isVariable: !0,
190
1467
  stretch: "75% 125%",
191
1468
  weight: "100 1000"
192
1469
  }
193
1470
  ]
194
- }), E = (e, t) => {
195
- const { toEm: o, toRem: l } = t, n = l;
196
- return {
197
- h0: n(65),
198
- h1: n(45),
199
- h2: n(36),
200
- h3: n(26),
201
- h4: n(20),
202
- h5: n(16),
203
- h6: n(14),
204
- lg: n(18),
205
- md: n(16),
206
- sm: n(14),
207
- "subtitle-md": n(13),
208
- "subtitle-sm": n(11),
209
- xs: n(12)
210
- };
211
- }, y = ({
212
- defaultLineHeight: e,
213
- toRem: t
214
- }) => ({
215
- html: e,
216
- h0: t(72),
217
- h1: t(48),
218
- h2: t(40),
219
- h3: t(32),
220
- h4: t(24),
221
- h5: t(18),
222
- h6: t(16),
223
- lg: t(24),
224
- md: t(18),
225
- sm: t(18),
226
- xs: t(14),
227
- "subtitle-md": e,
228
- "subtitle-sm": e
229
- }), D = {
230
- regular: 400,
231
- medium: 500,
232
- bold: 600
233
- }, T = ({
234
- defaultLetterSpacing: e,
235
- toRem: t
236
- }) => ({
237
- html: e,
238
- h0: t(-1.7),
239
- h1: t(-1.2),
240
- h2: t(-1),
241
- h3: t(-0.9),
242
- h4: t(-0.6),
243
- h5: t(-0.5),
244
- h6: t(-0.5),
245
- lg: e,
246
- md: e,
247
- sm: e,
248
- xs: t(-0.2),
249
- "subtitle-md": t(-0.2),
250
- "subtitle-sm": t(-0.2)
251
- }), B = (e) => {
252
- const { fontWeights: t } = e;
253
- return {
254
- h0: t.bold,
255
- h1: t.bold,
256
- h2: t.bold,
257
- h3: t.bold,
258
- h4: t.bold,
259
- h5: t.bold,
260
- h6: t.bold,
261
- lg: t.regular,
262
- md: t.regular,
263
- sm: t.regular,
264
- "subtitle-md": t.bold,
265
- "subtitle-sm": t.medium,
266
- xs: t.regular
267
- };
268
- }, v = (e) => {
269
- const { fonts: t } = e;
270
- return {
271
- h0: t.headings,
272
- h1: t.headings,
273
- h2: t.headings,
274
- h3: t.headings,
275
- h4: t.headings,
276
- h5: t.headings,
277
- h6: t.headings,
278
- "subtitle-md": t.headings,
279
- "subtitle-sm": t.headings
280
- };
281
- }, C = () => ({
282
- "subtitle-md": "uppercase",
283
- "subtitle-sm": "uppercase"
284
- }), _ = (e) => {
285
- const { colors: t } = e;
286
- return {
287
- h0: t["neutral-90"],
288
- h1: t["neutral-90"],
289
- h2: t["neutral-90"],
290
- h3: t["neutral-90"],
291
- h4: t["neutral-90"],
292
- h5: t["neutral-90"],
293
- h6: t["neutral-90"]
294
- };
295
- }, $ = (e) => {
296
- const {
297
- fontSizes: t,
298
- letterSpacings: o,
299
- lineHeights: l,
300
- textsFontColors: n,
301
- textsFontFamily: F,
302
- textsFontWeights: g,
303
- textsTextTransform: u
304
- } = e;
305
- return Object.keys(t).reduce((s, r) => ({
306
- ...s,
307
- [r]: {
308
- color: n[r],
309
- fontFamily: F[r] || void 0,
310
- fontWeight: g[r],
311
- fontSize: t[r],
312
- lineHeight: l[r] || l.lg,
313
- letterSpacing: o[r] || void 0,
314
- textTransform: u[r] || void 0
315
- }
316
- }), {});
317
- }, k = (e, t, o) => ({
318
- texts: [e, "sans-serif"].join(", "),
319
- headings: [t, "sans-serif"].join(", "),
320
- icons: o
321
- }), a = {
1471
+ }), b = {
322
1472
  primary: "ease",
323
1473
  secondary: "linear",
324
1474
  tertiary: "cubic-bezier(0.41, 0.094, 0.54, 0.07)"
325
- }, S = {
326
- slow: `500ms ${a.tertiary}`,
327
- medium: `300ms ${a.primary}`,
328
- fast: `100ms ${a.secondary}`
329
- }, U = ({ colors: e }) => ({
330
- default: m`
1475
+ }, ye = {
1476
+ slow: `500ms ${b.tertiary}`,
1477
+ medium: `300ms ${b.primary}`,
1478
+ fast: `100ms ${b.secondary}`
1479
+ }, ke = ({ colors: o }) => ({
1480
+ default: h`
331
1481
  background-image: linear-gradient(
332
1482
  0deg,
333
- ${e["primary-40"]},
334
- ${e["primary-40"]} 100%
1483
+ ${o["primary-40"]},
1484
+ ${o["primary-40"]} 100%
335
1485
  );
336
1486
  background-repeat: no-repeat;
337
1487
  background-size: 100% 50%;
@@ -341,24 +1491,24 @@ const x = {
341
1491
  background-size 250ms,
342
1492
  color 250ms;
343
1493
  `,
344
- hover: m`
1494
+ hover: h`
345
1495
  opacity: 1;
346
1496
  background-position-y: 100%;
347
1497
  background-size: 100% 100%;
348
1498
  `
349
- }), N = (e) => ({
1499
+ }), Fe = (o) => ({
350
1500
  none: "0",
351
- sm: e.toRem(2),
352
- md: e.toRem(4),
353
- lg: e.toRem(8),
354
- xl: e.toRem(16),
355
- xxl: e.toRem(24),
1501
+ sm: o.toRem(2),
1502
+ md: o.toRem(4),
1503
+ lg: o.toRem(8),
1504
+ xl: o.toRem(16),
1505
+ xxl: o.toRem(24),
356
1506
  full: "100%"
357
- }), W = {
1507
+ }), we = {
358
1508
  sm: "1px",
359
1509
  md: "2px",
360
1510
  lg: "3px"
361
- }, L = {
1511
+ }, Se = {
362
1512
  xs: 0,
363
1513
  sm: 480,
364
1514
  md: 736,
@@ -367,55 +1517,367 @@ const x = {
367
1517
  xxl: 1440,
368
1518
  "3xl": 1620,
369
1519
  "4xl": 1920
370
- }, O = {
1520
+ }, ve = {
371
1521
  sm: "1px 2px 4px 0 rgba(0,0,0,0.05)",
372
1522
  md: "3px 4px 10px 0 rgba(0,0,0,0.07)"
373
- }, I = (e) => ({
374
- xxs: e.toRem(2),
375
- xs: e.toRem(4),
376
- sm: e.toRem(8),
377
- md: e.toRem(12),
378
- lg: e.toRem(16),
379
- xl: e.toRem(24),
380
- xxl: e.toRem(32),
381
- "3xl": e.toRem(48),
382
- "4xl": e.toRem(64),
383
- "5xl": e.toRem(96),
384
- "6xl": e.toRem(128),
385
- "7xl": e.toRem(192)
386
- }), z = (e) => ({
387
- backgroundColor: e.colors["primary-40"],
388
- color: e.colors["neutral-90"]
389
- }), H = ({ colors: e }) => {
390
- function t(o = e["primary-40"]) {
1523
+ }, Te = (o) => ({
1524
+ xxs: o.toRem(2),
1525
+ xs: o.toRem(4),
1526
+ sm: o.toRem(8),
1527
+ md: o.toRem(12),
1528
+ lg: o.toRem(16),
1529
+ xl: o.toRem(24),
1530
+ xxl: o.toRem(32),
1531
+ "3xl": o.toRem(48),
1532
+ "4xl": o.toRem(64),
1533
+ "5xl": o.toRem(96),
1534
+ "6xl": o.toRem(128),
1535
+ "7xl": o.toRem(192)
1536
+ }), De = (o) => ({
1537
+ backgroundColor: o.colors["primary-40"],
1538
+ color: o.colors["neutral-90"]
1539
+ }), $e = ({ colors: o }) => {
1540
+ function e(r = o["primary-40"]) {
391
1541
  return {
392
- boxShadow: `0 0 0 2px ${o}`
1542
+ boxShadow: `0 0 0 2px ${r}`
393
1543
  };
394
1544
  }
395
- return t;
396
- }, P = "work-sans", R = 16, G = "-0.019rem", M = 1.15, Y = "https://cdn.welcome-ui.com/fonts", V = "welcome-font", Z = "welcome-icon-font", K = (e = {}) => {
1545
+ return e;
1546
+ }, We = (o) => {
1547
+ const { borderWidths: e, colors: r, focus: n, fontSizes: a, fontWeights: i, radii: d, space: l, toRem: s } = o;
1548
+ return {
1549
+ default: {
1550
+ color: r["neutral-90"],
1551
+ fontSize: a.sm,
1552
+ /* Can't use 16 because that's a valid line-height value (16em) */
1553
+ lineHeight: "1rem",
1554
+ fontWeight: i.regular,
1555
+ backgroundColor: r["neutral-10"],
1556
+ borderColor: r["neutral-30"],
1557
+ borderWidth: e.sm,
1558
+ borderStyle: "solid",
1559
+ outline: "none",
1560
+ borderRadius: d.md
1561
+ },
1562
+ hover: {
1563
+ default: {
1564
+ borderColor: r["neutral-40"]
1565
+ },
1566
+ transparency: {
1567
+ borderColor: r["neutral-20"]
1568
+ }
1569
+ },
1570
+ variants: {
1571
+ danger: {
1572
+ borderColor: r["red-70"]
1573
+ },
1574
+ success: {
1575
+ borderColor: r["green-60"]
1576
+ },
1577
+ warning: {
1578
+ borderColor: r["orange-60"]
1579
+ }
1580
+ },
1581
+ focused: {
1582
+ default: {
1583
+ ...n(r["primary-20"]),
1584
+ borderColor: r["primary-40"]
1585
+ },
1586
+ danger: { ...n(r["red-30"]) },
1587
+ warning: { ...n(r["orange-20"]) },
1588
+ success: { ...n(r["green-30"]) }
1589
+ },
1590
+ sizes: {
1591
+ xs: {
1592
+ height: s(24),
1593
+ paddingTop: l.xs,
1594
+ paddingRight: l.sm,
1595
+ paddingBottom: l.xs,
1596
+ paddingLeft: l.sm
1597
+ },
1598
+ sm: {
1599
+ height: s(32),
1600
+ paddingTop: l.sm,
1601
+ paddingRight: l.md,
1602
+ paddingBottom: l.sm,
1603
+ paddingLeft: l.md
1604
+ },
1605
+ md: {
1606
+ height: s(40),
1607
+ paddingTop: l.md,
1608
+ paddingRight: l.md,
1609
+ paddingBottom: l.md,
1610
+ paddingLeft: l.md
1611
+ },
1612
+ lg: {
1613
+ height: s(48),
1614
+ paddingTop: l.lg,
1615
+ paddingRight: l.md,
1616
+ paddingBottom: l.lg,
1617
+ paddingLeft: l.md
1618
+ }
1619
+ },
1620
+ iconPlacement: {
1621
+ xs: {
1622
+ left: s(8),
1623
+ right: s(8)
1624
+ },
1625
+ sm: {
1626
+ left: s(12),
1627
+ right: s(12)
1628
+ },
1629
+ md: {
1630
+ left: s(12),
1631
+ right: s(12)
1632
+ },
1633
+ lg: {
1634
+ left: s(12),
1635
+ right: s(12)
1636
+ }
1637
+ },
1638
+ checkableField: {
1639
+ checked: {
1640
+ color: "neutral-90"
1641
+ // not hex color, only color from browser because is on a content svg
1642
+ },
1643
+ disabled: {
1644
+ opacity: 0.4
1645
+ }
1646
+ },
1647
+ disabled: {
1648
+ backgroundColor: r["beige-40"],
1649
+ color: r["beige-70"],
1650
+ cursor: "not-allowed"
1651
+ },
1652
+ placeholder: {
1653
+ color: r["neutral-50"]
1654
+ },
1655
+ checkablelabel: {
1656
+ default: {},
1657
+ checked: {
1658
+ color: r["neutral-90"],
1659
+ "-webkit-text-stroke": "0.04em"
1660
+ }
1661
+ },
1662
+ select: {
1663
+ default: {
1664
+ maxHeight: s(155),
1665
+ borderRadius: d.md
1666
+ },
1667
+ existing: {
1668
+ color: r["beige-40"],
1669
+ cursor: "not-allowed"
1670
+ },
1671
+ highlighted: {
1672
+ backgroundColor: r["beige-20"],
1673
+ cursor: "default"
1674
+ },
1675
+ selectedAndHighlighted: {
1676
+ backgroundImage: "linear-gradient(0deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08) 100%)"
1677
+ },
1678
+ selected: {
1679
+ color: r["neutral-90"],
1680
+ fontWeight: i.bold
1681
+ },
1682
+ disabled: {
1683
+ color: r["beige-60"],
1684
+ cursor: "not-allowed"
1685
+ }
1686
+ },
1687
+ fieldset: {
1688
+ "border-width": "0"
1689
+ }
1690
+ };
1691
+ }, Ae = "work-sans", Be = 16, Ee = "-0.019rem", Re = 1.15, ze = "https://cdn.welcome-ui.com/fonts", Le = "welcome-font", Ie = "welcome-icon-font", Ke = (o = {}) => {
397
1692
  const {
398
- defaultFontFamily: t = P,
399
- defaultFontSize: o = R,
400
- defaultLetterSpacing: l = G,
401
- defaultLineHeight: n = M,
402
- fontsUrl: F = Y,
403
- headingFontFamily: g = V,
404
- iconFontFamily: u = Z,
1693
+ defaultFontFamily: e = Ae,
1694
+ defaultFontSize: r = Be,
1695
+ defaultLetterSpacing: n = Ee,
1696
+ defaultLineHeight: a = Re,
1697
+ fontsUrl: i = ze,
1698
+ headingFontFamily: d = Le,
1699
+ iconFontFamily: l = Ie,
405
1700
  ...s
406
- } = e;
407
- let r = {};
408
- return r.transformers = { ...h }, r.toEm = (i) => `${i / o}em`, r.toRem = (i) => `${i / o}rem`, r.toPx = (i) => `${i * o}px`, r.colors = c, r.fontsUrl = F, r.fontFaces = A(r), r.fontSizes = E("rem", r), r.defaultLineHeight = n, r.defaultLetterSpacing = l, r.lineHeights = y(r), r.fontWeights = D, r.letterSpacings = T(r), r.fonts = k(t, g, u), r.borderWidths = W, r.screens = L, r.space = I(r), r.inset = r.space, r.radii = N(r), r.transitions = S, r.timingFunction = a, r.shadows = O, r = d(r, s), r.selection = z(r), r.underline = U(r), r.focus = H(r), r.textsFontWeights = B(r), r.textsFontFamily = v(r), r.textsFontColors = _(r), r.textsTextTransform = C(), r.texts = $(r), r.states = f.states, r = d(r, s), r;
1701
+ } = o;
1702
+ let t = {};
1703
+ return t.transformers = { ...F }, t.toEm = (c) => `${c / r}em`, t.toRem = (c) => `${c / r}rem`, t.toPx = (c) => `${c * r}px`, t.colors = p, t.fontsUrl = i, t.fontFaces = Ce(t), t.fontSizes = re("rem", t), t.defaultLineHeight = a, t.defaultLetterSpacing = n, t.lineHeights = oe(t), t.fontWeights = te, t.letterSpacings = ne(t), t.fonts = se(e, d, l), t.borderWidths = we, t.screens = Se, t.space = Te(t), t.inset = t.space, t.radii = Fe(t), t.transitions = ye, t.timingFunction = b, t.shadows = ve, t = f(t, s), t.selection = De(t), t.underline = ke(t), t.focus = $e(t), t.textsFontWeights = ae(t), t.textsFontFamily = le(t), t.textsFontColors = de(t), t.textsTextTransform = ie(), t.texts = C(t), t.defaultField = We(t), t.icons = G(t), t.accordions = D(t), t.alerts = $(t), t.avatars = W(t), t.badges = A(t), t.breadcrumbs = B(t), t.buttons = E(t), t.cards = R(t), t.checkboxes = L(t), t.dateTimePickerCommon = z(t), t.drawers = I(t), t.dropdownMenu = H(t), t.fileDrops = U(t), t.hints = _(t), t.labels = P(t), t.links = M(t), t.loaders = N(t), t.modals = O(t), t.pagination = V(t), t.popovers = Y(t), t.radios = J(t), t.radiosTab = X(t), t.sliders = K(t), t.swipers = Z(t), t.tables = j(t), t.tabs = q(t), t.tags = Q(t), t.textareas = ee(t), t.toasts = ce(t), t.toggles = me(t), t.tooltips = be(t), t.variantIcon = pe(t), t.states = w.states, t = f(t, s), t;
409
1704
  };
1705
+ var He = function() {
1706
+ var o = document.getSelection();
1707
+ if (!o.rangeCount)
1708
+ return function() {
1709
+ };
1710
+ for (var e = document.activeElement, r = [], n = 0; n < o.rangeCount; n++)
1711
+ r.push(o.getRangeAt(n));
1712
+ switch (e.tagName.toUpperCase()) {
1713
+ case "INPUT":
1714
+ case "TEXTAREA":
1715
+ e.blur();
1716
+ break;
1717
+ default:
1718
+ e = null;
1719
+ break;
1720
+ }
1721
+ return o.removeAllRanges(), function() {
1722
+ o.type === "Caret" && o.removeAllRanges(), o.rangeCount || r.forEach(function(a) {
1723
+ o.addRange(a);
1724
+ }), e && e.focus();
1725
+ };
1726
+ }, Ue = He, x = {
1727
+ "text/plain": "Text",
1728
+ "text/html": "Url",
1729
+ default: "Text"
1730
+ }, _e = "Copy to clipboard: #{key}, Enter";
1731
+ function Pe(o) {
1732
+ var e = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C";
1733
+ return o.replace(/#{\s*key\s*}/g, e);
1734
+ }
1735
+ function Me(o, e) {
1736
+ var r, n, a, i, d, l, s = !1;
1737
+ e || (e = {}), r = e.debug || !1;
1738
+ try {
1739
+ a = Ue(), i = document.createRange(), d = document.getSelection(), l = document.createElement("span"), l.textContent = o, l.ariaHidden = "true", l.style.all = "unset", l.style.position = "fixed", l.style.top = 0, l.style.clip = "rect(0, 0, 0, 0)", l.style.whiteSpace = "pre", l.style.webkitUserSelect = "text", l.style.MozUserSelect = "text", l.style.msUserSelect = "text", l.style.userSelect = "text", l.addEventListener("copy", function(c) {
1740
+ if (c.stopPropagation(), e.format)
1741
+ if (c.preventDefault(), typeof c.clipboardData > "u") {
1742
+ r && console.warn("unable to use e.clipboardData"), r && console.warn("trying IE specific stuff"), window.clipboardData.clearData();
1743
+ var g = x[e.format] || x.default;
1744
+ window.clipboardData.setData(g, o);
1745
+ } else
1746
+ c.clipboardData.clearData(), c.clipboardData.setData(e.format, o);
1747
+ e.onCopy && (c.preventDefault(), e.onCopy(c.clipboardData));
1748
+ }), document.body.appendChild(l), i.selectNodeContents(l), d.addRange(i);
1749
+ var t = document.execCommand("copy");
1750
+ if (!t)
1751
+ throw new Error("copy command was unsuccessful");
1752
+ s = !0;
1753
+ } catch (c) {
1754
+ r && console.error("unable to copy using execCommand: ", c), r && console.warn("trying IE specific stuff");
1755
+ try {
1756
+ window.clipboardData.setData(e.format || "text", o), e.onCopy && e.onCopy(window.clipboardData), s = !0;
1757
+ } catch (g) {
1758
+ r && console.error("unable to copy using clipboardData: ", g), r && console.error("falling back to prompt"), n = Pe("message" in e ? e.message : _e), window.prompt(n, o);
1759
+ }
1760
+ } finally {
1761
+ d && (typeof d.removeRange == "function" ? d.removeRange(i) : d.removeAllRanges()), l && document.body.removeChild(l), a();
1762
+ }
1763
+ return s;
1764
+ }
1765
+ var Ne = Me;
1766
+ const Ge = /* @__PURE__ */ T(Ne);
1767
+ function Ze(o, e) {
1768
+ const [r, n] = S();
1769
+ return [v(() => {
1770
+ let i;
1771
+ typeof o == "number" || typeof o == "string" ? i = o.toString() : o.current instanceof HTMLInputElement ? i = o.current.value : o.current instanceof HTMLElement && (i = o.current.textContent);
1772
+ const d = Ge(i);
1773
+ n(d), e && setTimeout(n, e);
1774
+ }, [o, e]), r];
1775
+ }
410
1776
  export {
411
- j as Box,
412
- ae as WuiProvider,
413
- te as componentSystem,
414
- K as createTheme,
415
- J as darkTheme,
416
- re as filterSystemProps,
417
- ne as forwardRef,
418
- oe as shouldForwardProp,
419
- le as system,
420
- ie as wrapperSystem
1777
+ Qe as Accordion,
1778
+ or as Alert,
1779
+ nr as AspectRatio,
1780
+ zr as AssetDrawer,
1781
+ Eo as AssetModal,
1782
+ lr as Avatar,
1783
+ dr as Badge,
1784
+ cr as Box,
1785
+ ur as Breadcrumb,
1786
+ mr as BreadcrumbComponent,
1787
+ pr as Button,
1788
+ xr as ButtonGroup,
1789
+ yr as Card,
1790
+ kr as CardComponent,
1791
+ wr as Checkbox,
1792
+ vr as ClearButton,
1793
+ $r as CloseButton,
1794
+ Ar as DatePicker,
1795
+ Er as DateTimePicker,
1796
+ Lr as Drawer,
1797
+ Ir as DrawerBackdrop,
1798
+ Pr as DropdownMenu,
1799
+ Gr as Field,
1800
+ Xr as FieldGroup,
1801
+ jr as FileDrop,
1802
+ ao as FileUpload,
1803
+ io as Flex,
1804
+ co as Grid,
1805
+ uo as Hint,
1806
+ po as Icon,
1807
+ Or as IconGroupWrapper,
1808
+ Vr as IconWrapper,
1809
+ qr as ImagePreview,
1810
+ xo as InputText,
1811
+ yo as Label,
1812
+ wo as Link,
1813
+ vo as Loader,
1814
+ Do as Logo,
1815
+ Ro as Modal,
1816
+ Lt as Notifications,
1817
+ Io as Pagination,
1818
+ Uo as PasswordInput,
1819
+ Po as Picker,
1820
+ No as Popover,
1821
+ Go as PopoverHover,
1822
+ Jo as Radio,
1823
+ Ko as RadioGroup,
1824
+ jo as RadioTab,
1825
+ Qo as Search,
1826
+ ot as Select,
1827
+ at as Shape,
1828
+ it as Slider,
1829
+ dt as SliderComponent,
1830
+ $o as SolutionsSymbol,
1831
+ mt as Stack,
1832
+ fr as StyledButton,
1833
+ Tr as StyledClearButton,
1834
+ Kr as StyledFieldGroup,
1835
+ mo as StyledHint,
1836
+ fo as StyledIcon,
1837
+ ko as StyledLabel,
1838
+ et as StyledSearch,
1839
+ tt as StyledSelect,
1840
+ pt as StyledSwiper,
1841
+ Tt as StyledTag,
1842
+ ft as Swiper,
1843
+ Wo as Symbol,
1844
+ Ft as Tab,
1845
+ wt as TabComponent,
1846
+ Ct as Table,
1847
+ yt as TableComponent,
1848
+ Dt as Tag,
1849
+ Wt as Text,
1850
+ Bt as Textarea,
1851
+ Rt as TimePicker,
1852
+ It as Toast,
1853
+ Nt as Toggle,
1854
+ Ot as Tooltip,
1855
+ Hr as Trigger,
1856
+ Yt as VariantIcon,
1857
+ Xt as WelcomeLoader,
1858
+ Ao as WelcomeUILogo,
1859
+ Zt as WuiProvider,
1860
+ Ke as createTheme,
1861
+ Xe as darkTheme,
1862
+ Ht as dismiss,
1863
+ st as ensureMinMax,
1864
+ Yr as getBaseType,
1865
+ eo as getFileIcon,
1866
+ ro as getFileName,
1867
+ oo as getFileSize,
1868
+ to as getMimeType,
1869
+ Ut as remove,
1870
+ ct as round,
1871
+ gt as thumbWidth,
1872
+ _t as toast,
1873
+ er as useAccordion,
1874
+ Ze as useCopyText,
1875
+ Ur as useDrawer,
1876
+ Mr as useDropdownMenu,
1877
+ zo as useModal,
1878
+ Oo as usePopover,
1879
+ Vo as usePopoverHover,
1880
+ ht as useSwiper,
1881
+ St as useTab,
1882
+ Pt as useToast
421
1883
  };