@veracity/vui 0.0.14 → 0.0.15

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 (935) hide show
  1. package/alert/alert.d.ts +13 -13
  2. package/alert/alert.js +85 -85
  3. package/alert/alert.types.d.ts +20 -20
  4. package/alert/alert.types.js +2 -2
  5. package/alert/alertButton.d.ts +3 -3
  6. package/alert/alertButton.js +30 -30
  7. package/alert/alertIcon.d.ts +3 -3
  8. package/alert/alertIcon.js +33 -33
  9. package/alert/alertText.d.ts +3 -3
  10. package/alert/alertText.js +30 -30
  11. package/alert/alertTitle.d.ts +3 -3
  12. package/alert/alertTitle.js +30 -30
  13. package/alert/consts.d.ts +2 -2
  14. package/alert/consts.js +37 -37
  15. package/alert/context.d.ts +4 -4
  16. package/alert/context.js +23 -23
  17. package/alert/index.d.ts +8 -8
  18. package/alert/index.js +25 -25
  19. package/alert/theme.d.ts +46 -46
  20. package/alert/theme.js +62 -62
  21. package/avatar/avatar.d.ts +5 -5
  22. package/avatar/avatar.js +82 -82
  23. package/avatar/avatar.types.d.ts +12 -12
  24. package/avatar/avatar.types.js +2 -2
  25. package/avatar/index.d.ts +3 -3
  26. package/avatar/index.js +20 -20
  27. package/avatar/theme.d.ts +56 -56
  28. package/avatar/theme.js +94 -94
  29. package/box/box.d.ts +5 -5
  30. package/box/box.js +58 -58
  31. package/box/box.types.d.ts +15 -15
  32. package/box/box.types.js +2 -2
  33. package/box/index.d.ts +3 -3
  34. package/box/index.js +20 -20
  35. package/box/theme.d.ts +6 -6
  36. package/box/theme.js +10 -10
  37. package/button/button.d.ts +5 -5
  38. package/button/button.js +81 -81
  39. package/button/button.types.d.ts +24 -24
  40. package/button/button.types.js +2 -2
  41. package/button/buttonGroup.d.ts +5 -5
  42. package/button/buttonGroup.js +72 -72
  43. package/button/buttonGroup.types.d.ts +6 -6
  44. package/button/buttonGroup.types.js +2 -2
  45. package/button/buttons.d.ts +8 -8
  46. package/button/buttons.js +27 -27
  47. package/button/consts.d.ts +2 -2
  48. package/button/consts.js +26 -26
  49. package/button/context.d.ts +4 -4
  50. package/button/context.js +23 -23
  51. package/button/index.d.ts +7 -7
  52. package/button/index.js +24 -24
  53. package/button/theme.d.ts +72 -72
  54. package/button/theme.js +112 -112
  55. package/checkbox/checkbox.d.ts +7 -7
  56. package/checkbox/checkbox.js +105 -105
  57. package/checkbox/checkbox.types.d.ts +26 -26
  58. package/checkbox/checkbox.types.js +2 -2
  59. package/checkbox/checkboxGroup.d.ts +5 -5
  60. package/checkbox/checkboxGroup.js +70 -70
  61. package/checkbox/checkboxGroup.types.d.ts +12 -12
  62. package/checkbox/checkboxGroup.types.js +2 -2
  63. package/checkbox/context.d.ts +4 -4
  64. package/checkbox/context.js +23 -23
  65. package/checkbox/index.d.ts +6 -6
  66. package/checkbox/index.js +23 -23
  67. package/checkbox/theme.d.ts +48 -48
  68. package/checkbox/theme.js +56 -56
  69. package/core/consts.d.ts +1 -1
  70. package/core/consts.js +4 -4
  71. package/core/globalStyle.d.ts +2 -2
  72. package/core/globalStyle.js +57 -57
  73. package/core/index.d.ts +6 -6
  74. package/core/index.js +25 -25
  75. package/core/resetCSS.d.ts +2 -2
  76. package/core/resetCSS.js +9 -9
  77. package/core/types/component.d.ts +30 -30
  78. package/core/types/component.js +2 -2
  79. package/core/types/context.d.ts +10 -10
  80. package/core/types/context.js +2 -2
  81. package/core/types/events.d.ts +17 -17
  82. package/core/types/events.js +2 -2
  83. package/core/types/index.d.ts +4 -4
  84. package/core/types/index.js +16 -16
  85. package/core/types/themeGet.d.ts +24 -24
  86. package/core/types/themeGet.js +2 -2
  87. package/core/utils.d.ts +58 -58
  88. package/core/utils.js +209 -209
  89. package/core/vuiProvider.d.ts +9 -9
  90. package/core/vuiProvider.js +18 -18
  91. package/divider/divider.d.ts +5 -5
  92. package/divider/divider.js +53 -53
  93. package/divider/divider.types.d.ts +7 -7
  94. package/divider/divider.types.js +2 -2
  95. package/divider/index.d.ts +3 -3
  96. package/divider/index.js +20 -20
  97. package/divider/theme.d.ts +6 -6
  98. package/divider/theme.js +10 -10
  99. package/heading/heading.d.ts +5 -5
  100. package/heading/heading.js +53 -53
  101. package/heading/heading.types.d.ts +9 -9
  102. package/heading/heading.types.js +2 -2
  103. package/heading/headings.d.ts +7 -7
  104. package/heading/headings.js +26 -26
  105. package/heading/index.d.ts +4 -4
  106. package/heading/index.js +21 -21
  107. package/heading/theme.d.ts +39 -39
  108. package/heading/theme.js +43 -43
  109. package/icon/helpers.d.ts +8 -8
  110. package/icon/helpers.js +63 -63
  111. package/icon/icon.d.ts +3 -3
  112. package/icon/icon.js +47 -47
  113. package/icon/icon.types.d.ts +20 -20
  114. package/icon/icon.types.js +2 -2
  115. package/icon/index.d.ts +3 -3
  116. package/icon/index.js +20 -20
  117. package/icon/theme.d.ts +25 -25
  118. package/icon/theme.js +29 -29
  119. package/icons/baseIcons/cui/cuiCheckboxIndeterminate.d.ts +3 -3
  120. package/icons/baseIcons/cui/cuiCheckboxIndeterminate.js +7 -7
  121. package/icons/baseIcons/cui/cuiCheckboxSelected.d.ts +3 -3
  122. package/icons/baseIcons/cui/cuiCheckboxSelected.js +7 -7
  123. package/icons/baseIcons/cui/cuiCheckboxUnselected.d.ts +3 -3
  124. package/icons/baseIcons/cui/cuiCheckboxUnselected.js +8 -8
  125. package/icons/baseIcons/cui/cuiRadioSelected.d.ts +3 -3
  126. package/icons/baseIcons/cui/cuiRadioSelected.js +8 -8
  127. package/icons/baseIcons/cui/cuiRadioUnselected.d.ts +3 -3
  128. package/icons/baseIcons/cui/cuiRadioUnselected.js +8 -8
  129. package/icons/baseIcons/cul/culApiProduct.d.ts +3 -0
  130. package/icons/baseIcons/cul/culApiProduct.js +7 -0
  131. package/icons/baseIcons/cul/culApiService.d.ts +3 -0
  132. package/icons/baseIcons/cul/culApiService.js +7 -0
  133. package/icons/baseIcons/cul/culCovid.d.ts +3 -3
  134. package/icons/baseIcons/cul/culCovid.js +7 -7
  135. package/icons/baseIcons/cul/culDeepSearch.d.ts +3 -3
  136. package/icons/baseIcons/cul/culDeepSearch.js +7 -7
  137. package/icons/baseIcons/cul/culDotsMenu.d.ts +3 -3
  138. package/icons/baseIcons/cul/culDotsMenu.js +7 -7
  139. package/icons/baseIcons/cul/culGlobePlus.d.ts +3 -3
  140. package/icons/baseIcons/cul/culGlobePlus.js +7 -7
  141. package/icons/baseIcons/cul/culListDense.d.ts +3 -3
  142. package/icons/baseIcons/cul/culListDense.js +7 -7
  143. package/icons/baseIcons/cul/culMapMarkerStar.d.ts +3 -3
  144. package/icons/baseIcons/cul/culMapMarkerStar.js +7 -7
  145. package/icons/baseIcons/cul/culPlusThin.d.ts +3 -3
  146. package/icons/baseIcons/cul/culPlusThin.js +7 -7
  147. package/icons/baseIcons/cul/culScreenshot.d.ts +3 -3
  148. package/icons/baseIcons/cul/culScreenshot.js +7 -7
  149. package/icons/baseIcons/cul/culScreenshotAlt.d.ts +3 -3
  150. package/icons/baseIcons/cul/culScreenshotAlt.js +7 -7
  151. package/icons/baseIcons/cul/culShortcut.d.ts +3 -3
  152. package/icons/baseIcons/cul/culShortcut.js +7 -7
  153. package/icons/baseIcons/cul/culTimesThin.d.ts +3 -3
  154. package/icons/baseIcons/cul/culTimesThin.js +7 -7
  155. package/icons/baseIcons/cul/culTransformer.d.ts +3 -3
  156. package/icons/baseIcons/cul/culTransformer.js +7 -7
  157. package/icons/baseIcons/cul/culUserTransfer.d.ts +3 -3
  158. package/icons/baseIcons/cul/culUserTransfer.js +7 -7
  159. package/icons/baseIcons/cul/culVeracityService.d.ts +3 -0
  160. package/icons/baseIcons/cul/culVeracityService.js +7 -0
  161. package/icons/baseIcons/cul/culVessel.d.ts +3 -3
  162. package/icons/baseIcons/cul/culVessel.js +7 -7
  163. package/icons/baseIcons/cul/culVesselGroup.d.ts +3 -3
  164. package/icons/baseIcons/cul/culVesselGroup.js +7 -7
  165. package/icons/baseIcons/cus/cusDotFull.d.ts +3 -3
  166. package/icons/baseIcons/cus/cusDotFull.js +7 -7
  167. package/icons/baseIcons/cus/cusDotFullAlt.d.ts +3 -3
  168. package/icons/baseIcons/cus/cusDotFullAlt.js +7 -7
  169. package/icons/baseIcons/cus/cusDotsMenu.d.ts +3 -3
  170. package/icons/baseIcons/cus/cusDotsMenu.js +7 -7
  171. package/icons/baseIcons/cus/cusTransformer.d.ts +3 -3
  172. package/icons/baseIcons/cus/cusTransformer.js +7 -7
  173. package/icons/baseIcons/cus/cusVessel.d.ts +3 -3
  174. package/icons/baseIcons/cus/cusVessel.js +7 -7
  175. package/icons/baseIcons/fab/fabApplePay.d.ts +3 -3
  176. package/icons/baseIcons/fab/fabApplePay.js +7 -7
  177. package/icons/baseIcons/fab/fabBluetooth.d.ts +3 -3
  178. package/icons/baseIcons/fab/fabBluetooth.js +7 -7
  179. package/icons/baseIcons/fab/fabBtc.d.ts +3 -3
  180. package/icons/baseIcons/fab/fabBtc.js +7 -7
  181. package/icons/baseIcons/fab/fabCcAmazonPay.d.ts +3 -3
  182. package/icons/baseIcons/fab/fabCcAmazonPay.js +7 -7
  183. package/icons/baseIcons/fab/fabCcAmex.d.ts +3 -3
  184. package/icons/baseIcons/fab/fabCcAmex.js +7 -7
  185. package/icons/baseIcons/fab/fabCcApplePay.d.ts +3 -3
  186. package/icons/baseIcons/fab/fabCcApplePay.js +7 -7
  187. package/icons/baseIcons/fab/fabCcDinersClub.d.ts +3 -3
  188. package/icons/baseIcons/fab/fabCcDinersClub.js +7 -7
  189. package/icons/baseIcons/fab/fabCcMastercard.d.ts +3 -3
  190. package/icons/baseIcons/fab/fabCcMastercard.js +7 -7
  191. package/icons/baseIcons/fab/fabCcPaypal.d.ts +3 -3
  192. package/icons/baseIcons/fab/fabCcPaypal.js +7 -7
  193. package/icons/baseIcons/fab/fabCcVisa.d.ts +3 -3
  194. package/icons/baseIcons/fab/fabCcVisa.js +7 -7
  195. package/icons/baseIcons/fab/fabDhl.d.ts +3 -3
  196. package/icons/baseIcons/fab/fabDhl.js +7 -7
  197. package/icons/baseIcons/fab/fabEbay.d.ts +3 -3
  198. package/icons/baseIcons/fab/fabEbay.js +7 -7
  199. package/icons/baseIcons/fab/fabFacebook.d.ts +3 -3
  200. package/icons/baseIcons/fab/fabFacebook.js +7 -7
  201. package/icons/baseIcons/fab/fabFedex.d.ts +3 -3
  202. package/icons/baseIcons/fab/fabFedex.js +7 -7
  203. package/icons/baseIcons/fab/fabFirefox.d.ts +3 -3
  204. package/icons/baseIcons/fab/fabFirefox.js +7 -7
  205. package/icons/baseIcons/fab/fabGoogle.d.ts +3 -3
  206. package/icons/baseIcons/fab/fabGoogle.js +7 -7
  207. package/icons/baseIcons/fab/fabGoogleDrive.d.ts +3 -3
  208. package/icons/baseIcons/fab/fabGoogleDrive.js +7 -7
  209. package/icons/baseIcons/fab/fabLinkedinIn.d.ts +3 -3
  210. package/icons/baseIcons/fab/fabLinkedinIn.js +7 -7
  211. package/icons/baseIcons/fab/fabMedium.d.ts +3 -3
  212. package/icons/baseIcons/fab/fabMedium.js +7 -7
  213. package/icons/baseIcons/fab/fabOsi.d.ts +3 -3
  214. package/icons/baseIcons/fab/fabOsi.js +7 -7
  215. package/icons/baseIcons/fab/fabSlack.d.ts +3 -3
  216. package/icons/baseIcons/fab/fabSlack.js +7 -7
  217. package/icons/baseIcons/fab/fabTwitter.d.ts +3 -3
  218. package/icons/baseIcons/fab/fabTwitter.js +7 -7
  219. package/icons/baseIcons/fab/fabUps.d.ts +3 -3
  220. package/icons/baseIcons/fab/fabUps.js +7 -7
  221. package/icons/baseIcons/fad/fadSpinnerThird.d.ts +3 -3
  222. package/icons/baseIcons/fad/fadSpinnerThird.js +7 -7
  223. package/icons/baseIcons/fal/falAddressBook.d.ts +3 -3
  224. package/icons/baseIcons/fal/falAddressBook.js +7 -7
  225. package/icons/baseIcons/fal/falAddressCard.d.ts +3 -3
  226. package/icons/baseIcons/fal/falAddressCard.js +7 -7
  227. package/icons/baseIcons/fal/falAnalytics.d.ts +3 -3
  228. package/icons/baseIcons/fal/falAnalytics.js +7 -7
  229. package/icons/baseIcons/fal/falAngleDoubleDown.d.ts +3 -3
  230. package/icons/baseIcons/fal/falAngleDoubleDown.js +7 -7
  231. package/icons/baseIcons/fal/falAngleDoubleLeft.d.ts +3 -3
  232. package/icons/baseIcons/fal/falAngleDoubleLeft.js +7 -7
  233. package/icons/baseIcons/fal/falAngleDoubleRight.d.ts +3 -3
  234. package/icons/baseIcons/fal/falAngleDoubleRight.js +7 -7
  235. package/icons/baseIcons/fal/falAngleDoubleUp.d.ts +3 -3
  236. package/icons/baseIcons/fal/falAngleDoubleUp.js +7 -7
  237. package/icons/baseIcons/fal/falAngleDown.d.ts +3 -3
  238. package/icons/baseIcons/fal/falAngleDown.js +7 -7
  239. package/icons/baseIcons/fal/falAngleLeft.d.ts +3 -3
  240. package/icons/baseIcons/fal/falAngleLeft.js +7 -7
  241. package/icons/baseIcons/fal/falAngleRight.d.ts +3 -3
  242. package/icons/baseIcons/fal/falAngleRight.js +7 -7
  243. package/icons/baseIcons/fal/falAngleUp.d.ts +3 -3
  244. package/icons/baseIcons/fal/falAngleUp.js +7 -7
  245. package/icons/baseIcons/fal/falArrowAltDown.d.ts +3 -3
  246. package/icons/baseIcons/fal/falArrowAltDown.js +7 -7
  247. package/icons/baseIcons/fal/falArrowAltLeft.d.ts +3 -3
  248. package/icons/baseIcons/fal/falArrowAltLeft.js +7 -7
  249. package/icons/baseIcons/fal/falArrowAltRight.d.ts +3 -3
  250. package/icons/baseIcons/fal/falArrowAltRight.js +7 -7
  251. package/icons/baseIcons/fal/falArrowAltUp.d.ts +3 -3
  252. package/icons/baseIcons/fal/falArrowAltUp.js +7 -7
  253. package/icons/baseIcons/fal/falArrowCircleDown.d.ts +3 -3
  254. package/icons/baseIcons/fal/falArrowCircleDown.js +7 -7
  255. package/icons/baseIcons/fal/falArrowCircleLeft.d.ts +3 -3
  256. package/icons/baseIcons/fal/falArrowCircleLeft.js +7 -7
  257. package/icons/baseIcons/fal/falArrowCircleRight.d.ts +3 -3
  258. package/icons/baseIcons/fal/falArrowCircleRight.js +7 -7
  259. package/icons/baseIcons/fal/falArrowCircleUp.d.ts +3 -3
  260. package/icons/baseIcons/fal/falArrowCircleUp.js +7 -7
  261. package/icons/baseIcons/fal/falArrowDown.d.ts +3 -3
  262. package/icons/baseIcons/fal/falArrowDown.js +7 -7
  263. package/icons/baseIcons/fal/falArrowFromBottom.d.ts +3 -3
  264. package/icons/baseIcons/fal/falArrowFromBottom.js +7 -7
  265. package/icons/baseIcons/fal/falArrowFromLeft.d.ts +3 -3
  266. package/icons/baseIcons/fal/falArrowFromLeft.js +7 -7
  267. package/icons/baseIcons/fal/falArrowFromRight.d.ts +3 -3
  268. package/icons/baseIcons/fal/falArrowFromRight.js +7 -7
  269. package/icons/baseIcons/fal/falArrowFromTop.d.ts +3 -3
  270. package/icons/baseIcons/fal/falArrowFromTop.js +7 -7
  271. package/icons/baseIcons/fal/falArrowLeft.d.ts +3 -3
  272. package/icons/baseIcons/fal/falArrowLeft.js +7 -7
  273. package/icons/baseIcons/fal/falArrowRight.d.ts +3 -3
  274. package/icons/baseIcons/fal/falArrowRight.js +7 -7
  275. package/icons/baseIcons/fal/falArrowToBottom.d.ts +3 -3
  276. package/icons/baseIcons/fal/falArrowToBottom.js +7 -7
  277. package/icons/baseIcons/fal/falArrowToLeft.d.ts +3 -3
  278. package/icons/baseIcons/fal/falArrowToLeft.js +7 -7
  279. package/icons/baseIcons/fal/falArrowToRight.d.ts +3 -3
  280. package/icons/baseIcons/fal/falArrowToRight.js +7 -7
  281. package/icons/baseIcons/fal/falArrowToTop.d.ts +3 -3
  282. package/icons/baseIcons/fal/falArrowToTop.js +7 -7
  283. package/icons/baseIcons/fal/falArrowUp.d.ts +3 -3
  284. package/icons/baseIcons/fal/falArrowUp.js +7 -7
  285. package/icons/baseIcons/fal/falArrows.d.ts +3 -3
  286. package/icons/baseIcons/fal/falArrows.js +7 -7
  287. package/icons/baseIcons/fal/falAward.d.ts +3 -3
  288. package/icons/baseIcons/fal/falAward.js +7 -7
  289. package/icons/baseIcons/fal/falBan.d.ts +3 -3
  290. package/icons/baseIcons/fal/falBan.js +7 -7
  291. package/icons/baseIcons/fal/falBars.d.ts +3 -3
  292. package/icons/baseIcons/fal/falBars.js +7 -7
  293. package/icons/baseIcons/fal/falBell.d.ts +3 -3
  294. package/icons/baseIcons/fal/falBell.js +7 -7
  295. package/icons/baseIcons/fal/falBookOpen.d.ts +3 -3
  296. package/icons/baseIcons/fal/falBookOpen.js +7 -7
  297. package/icons/baseIcons/fal/falBroadcastTower.d.ts +3 -3
  298. package/icons/baseIcons/fal/falBroadcastTower.js +7 -7
  299. package/icons/baseIcons/fal/falBroom.d.ts +3 -0
  300. package/icons/baseIcons/fal/falBroom.js +7 -0
  301. package/icons/baseIcons/fal/falBuilding.d.ts +3 -3
  302. package/icons/baseIcons/fal/falBuilding.js +7 -7
  303. package/icons/baseIcons/fal/falBullseye.d.ts +3 -3
  304. package/icons/baseIcons/fal/falBullseye.js +7 -7
  305. package/icons/baseIcons/fal/falCalendar.d.ts +3 -3
  306. package/icons/baseIcons/fal/falCalendar.js +7 -7
  307. package/icons/baseIcons/fal/falCalendarAlt.d.ts +3 -3
  308. package/icons/baseIcons/fal/falCalendarAlt.js +7 -7
  309. package/icons/baseIcons/fal/falCamera.d.ts +3 -3
  310. package/icons/baseIcons/fal/falCamera.js +7 -7
  311. package/icons/baseIcons/fal/falCaretDown.d.ts +3 -3
  312. package/icons/baseIcons/fal/falCaretDown.js +7 -7
  313. package/icons/baseIcons/fal/falCaretLeft.d.ts +3 -3
  314. package/icons/baseIcons/fal/falCaretLeft.js +7 -7
  315. package/icons/baseIcons/fal/falCaretRight.d.ts +3 -3
  316. package/icons/baseIcons/fal/falCaretRight.js +7 -7
  317. package/icons/baseIcons/fal/falCaretUp.d.ts +3 -3
  318. package/icons/baseIcons/fal/falCaretUp.js +7 -7
  319. package/icons/baseIcons/fal/falCauldron.d.ts +3 -3
  320. package/icons/baseIcons/fal/falCauldron.js +7 -7
  321. package/icons/baseIcons/fal/falChartArea.d.ts +3 -3
  322. package/icons/baseIcons/fal/falChartArea.js +7 -7
  323. package/icons/baseIcons/fal/falChartBar.d.ts +3 -3
  324. package/icons/baseIcons/fal/falChartBar.js +7 -7
  325. package/icons/baseIcons/fal/falChartLine.d.ts +3 -3
  326. package/icons/baseIcons/fal/falChartLine.js +7 -7
  327. package/icons/baseIcons/fal/falChartLineDown.d.ts +3 -3
  328. package/icons/baseIcons/fal/falChartLineDown.js +7 -7
  329. package/icons/baseIcons/fal/falChartNetwork.d.ts +3 -3
  330. package/icons/baseIcons/fal/falChartNetwork.js +7 -7
  331. package/icons/baseIcons/fal/falChartPie.d.ts +3 -3
  332. package/icons/baseIcons/fal/falChartPie.js +7 -7
  333. package/icons/baseIcons/fal/falChartPieAlt.d.ts +3 -3
  334. package/icons/baseIcons/fal/falChartPieAlt.js +7 -7
  335. package/icons/baseIcons/fal/falChartScatter.d.ts +3 -3
  336. package/icons/baseIcons/fal/falChartScatter.js +7 -7
  337. package/icons/baseIcons/fal/falCheck.d.ts +3 -3
  338. package/icons/baseIcons/fal/falCheck.js +7 -7
  339. package/icons/baseIcons/fal/falCheckCircle.d.ts +3 -3
  340. package/icons/baseIcons/fal/falCheckCircle.js +7 -7
  341. package/icons/baseIcons/fal/falCheckSquare.d.ts +3 -3
  342. package/icons/baseIcons/fal/falCheckSquare.js +7 -7
  343. package/icons/baseIcons/fal/falChevronCircleDown.d.ts +3 -3
  344. package/icons/baseIcons/fal/falChevronCircleDown.js +7 -7
  345. package/icons/baseIcons/fal/falChevronCircleLeft.d.ts +3 -3
  346. package/icons/baseIcons/fal/falChevronCircleLeft.js +7 -7
  347. package/icons/baseIcons/fal/falChevronCircleRight.d.ts +3 -3
  348. package/icons/baseIcons/fal/falChevronCircleRight.js +7 -7
  349. package/icons/baseIcons/fal/falChevronCircleUp.d.ts +3 -3
  350. package/icons/baseIcons/fal/falChevronCircleUp.js +7 -7
  351. package/icons/baseIcons/fal/falChevronDoubleDown.d.ts +3 -3
  352. package/icons/baseIcons/fal/falChevronDoubleDown.js +7 -7
  353. package/icons/baseIcons/fal/falChevronDoubleLeft.d.ts +3 -3
  354. package/icons/baseIcons/fal/falChevronDoubleLeft.js +7 -7
  355. package/icons/baseIcons/fal/falChevronDoubleRight.d.ts +3 -3
  356. package/icons/baseIcons/fal/falChevronDoubleRight.js +7 -7
  357. package/icons/baseIcons/fal/falChevronDoubleUp.d.ts +3 -3
  358. package/icons/baseIcons/fal/falChevronDoubleUp.js +7 -7
  359. package/icons/baseIcons/fal/falChevronDown.d.ts +3 -3
  360. package/icons/baseIcons/fal/falChevronDown.js +7 -7
  361. package/icons/baseIcons/fal/falChevronLeft.d.ts +3 -3
  362. package/icons/baseIcons/fal/falChevronLeft.js +7 -7
  363. package/icons/baseIcons/fal/falChevronRight.d.ts +3 -3
  364. package/icons/baseIcons/fal/falChevronRight.js +7 -7
  365. package/icons/baseIcons/fal/falChevronUp.d.ts +3 -3
  366. package/icons/baseIcons/fal/falChevronUp.js +7 -7
  367. package/icons/baseIcons/fal/falCircle.d.ts +3 -3
  368. package/icons/baseIcons/fal/falCircle.js +7 -7
  369. package/icons/baseIcons/fal/falCloud.d.ts +3 -3
  370. package/icons/baseIcons/fal/falCloud.js +7 -7
  371. package/icons/baseIcons/fal/falCloudShowersHeavy.d.ts +3 -3
  372. package/icons/baseIcons/fal/falCloudShowersHeavy.js +7 -7
  373. package/icons/baseIcons/fal/falCloudSnow.d.ts +3 -3
  374. package/icons/baseIcons/fal/falCloudSnow.js +7 -7
  375. package/icons/baseIcons/fal/falCloudSun.d.ts +3 -3
  376. package/icons/baseIcons/fal/falCloudSun.js +7 -7
  377. package/icons/baseIcons/fal/falCloudSunRain.d.ts +3 -3
  378. package/icons/baseIcons/fal/falCloudSunRain.js +7 -7
  379. package/icons/baseIcons/fal/falCloudUpload.d.ts +3 -3
  380. package/icons/baseIcons/fal/falCloudUpload.js +7 -7
  381. package/icons/baseIcons/fal/falCode.d.ts +3 -3
  382. package/icons/baseIcons/fal/falCode.js +7 -7
  383. package/icons/baseIcons/fal/falCog.d.ts +3 -3
  384. package/icons/baseIcons/fal/falCog.js +7 -7
  385. package/icons/baseIcons/fal/falCogs.d.ts +3 -3
  386. package/icons/baseIcons/fal/falCogs.js +7 -7
  387. package/icons/baseIcons/fal/falComment.d.ts +3 -3
  388. package/icons/baseIcons/fal/falComment.js +7 -7
  389. package/icons/baseIcons/fal/falCommentAlt.d.ts +3 -3
  390. package/icons/baseIcons/fal/falCommentAlt.js +7 -7
  391. package/icons/baseIcons/fal/falCompressAlt.d.ts +3 -3
  392. package/icons/baseIcons/fal/falCompressAlt.js +7 -7
  393. package/icons/baseIcons/fal/falCopy.d.ts +3 -3
  394. package/icons/baseIcons/fal/falCopy.js +7 -7
  395. package/icons/baseIcons/fal/falCreditCard.d.ts +3 -3
  396. package/icons/baseIcons/fal/falCreditCard.js +7 -7
  397. package/icons/baseIcons/fal/falDatabase.d.ts +3 -3
  398. package/icons/baseIcons/fal/falDatabase.js +7 -7
  399. package/icons/baseIcons/fal/falDotCircle.d.ts +3 -3
  400. package/icons/baseIcons/fal/falDotCircle.js +7 -7
  401. package/icons/baseIcons/fal/falDownload.d.ts +3 -3
  402. package/icons/baseIcons/fal/falDownload.js +7 -7
  403. package/icons/baseIcons/fal/falEdit.d.ts +3 -3
  404. package/icons/baseIcons/fal/falEdit.js +7 -7
  405. package/icons/baseIcons/fal/falEllipsisH.d.ts +3 -3
  406. package/icons/baseIcons/fal/falEllipsisH.js +7 -7
  407. package/icons/baseIcons/fal/falEllipsisV.d.ts +3 -3
  408. package/icons/baseIcons/fal/falEllipsisV.js +7 -7
  409. package/icons/baseIcons/fal/falEnvelope.d.ts +3 -3
  410. package/icons/baseIcons/fal/falEnvelope.js +7 -7
  411. package/icons/baseIcons/fal/falExchange.d.ts +3 -3
  412. package/icons/baseIcons/fal/falExchange.js +7 -7
  413. package/icons/baseIcons/fal/falExclamationCircle.d.ts +3 -3
  414. package/icons/baseIcons/fal/falExclamationCircle.js +7 -7
  415. package/icons/baseIcons/fal/falExclamationTriangle.d.ts +3 -3
  416. package/icons/baseIcons/fal/falExclamationTriangle.js +7 -7
  417. package/icons/baseIcons/fal/falExpandAlt.d.ts +3 -3
  418. package/icons/baseIcons/fal/falExpandAlt.js +7 -7
  419. package/icons/baseIcons/fal/falExternalLink.d.ts +3 -3
  420. package/icons/baseIcons/fal/falExternalLink.js +7 -7
  421. package/icons/baseIcons/fal/falEye.d.ts +3 -3
  422. package/icons/baseIcons/fal/falEye.js +7 -7
  423. package/icons/baseIcons/fal/falEyeSlash.d.ts +3 -3
  424. package/icons/baseIcons/fal/falEyeSlash.js +7 -7
  425. package/icons/baseIcons/fal/falFile.d.ts +3 -3
  426. package/icons/baseIcons/fal/falFile.js +7 -7
  427. package/icons/baseIcons/fal/falFileAlt.d.ts +3 -3
  428. package/icons/baseIcons/fal/falFileAlt.js +7 -7
  429. package/icons/baseIcons/fal/falFileArchive.d.ts +3 -3
  430. package/icons/baseIcons/fal/falFileArchive.js +7 -7
  431. package/icons/baseIcons/fal/falFileAudio.d.ts +3 -3
  432. package/icons/baseIcons/fal/falFileAudio.js +7 -7
  433. package/icons/baseIcons/fal/falFileCertificate.d.ts +3 -3
  434. package/icons/baseIcons/fal/falFileCertificate.js +7 -7
  435. package/icons/baseIcons/fal/falFileChartLine.d.ts +3 -3
  436. package/icons/baseIcons/fal/falFileChartLine.js +7 -7
  437. package/icons/baseIcons/fal/falFileChartPie.d.ts +3 -3
  438. package/icons/baseIcons/fal/falFileChartPie.js +7 -7
  439. package/icons/baseIcons/fal/falFileCheck.d.ts +3 -3
  440. package/icons/baseIcons/fal/falFileCheck.js +7 -7
  441. package/icons/baseIcons/fal/falFileCode.d.ts +3 -3
  442. package/icons/baseIcons/fal/falFileCode.js +7 -7
  443. package/icons/baseIcons/fal/falFileCsv.d.ts +3 -3
  444. package/icons/baseIcons/fal/falFileCsv.js +7 -7
  445. package/icons/baseIcons/fal/falFileEdit.d.ts +3 -3
  446. package/icons/baseIcons/fal/falFileEdit.js +7 -7
  447. package/icons/baseIcons/fal/falFileExcel.d.ts +3 -3
  448. package/icons/baseIcons/fal/falFileExcel.js +7 -7
  449. package/icons/baseIcons/fal/falFileImage.d.ts +3 -3
  450. package/icons/baseIcons/fal/falFileImage.js +7 -7
  451. package/icons/baseIcons/fal/falFilePdf.d.ts +3 -3
  452. package/icons/baseIcons/fal/falFilePdf.js +7 -7
  453. package/icons/baseIcons/fal/falFilePlus.d.ts +3 -3
  454. package/icons/baseIcons/fal/falFilePlus.js +7 -7
  455. package/icons/baseIcons/fal/falFilePowerpoint.d.ts +3 -3
  456. package/icons/baseIcons/fal/falFilePowerpoint.js +7 -7
  457. package/icons/baseIcons/fal/falFileSpreadsheet.d.ts +3 -3
  458. package/icons/baseIcons/fal/falFileSpreadsheet.js +7 -7
  459. package/icons/baseIcons/fal/falFileVideo.d.ts +3 -3
  460. package/icons/baseIcons/fal/falFileVideo.js +7 -7
  461. package/icons/baseIcons/fal/falFileWord.d.ts +3 -3
  462. package/icons/baseIcons/fal/falFileWord.js +7 -7
  463. package/icons/baseIcons/fal/falFilter.d.ts +3 -3
  464. package/icons/baseIcons/fal/falFilter.js +7 -7
  465. package/icons/baseIcons/fal/falFlag.d.ts +3 -3
  466. package/icons/baseIcons/fal/falFlag.js +7 -7
  467. package/icons/baseIcons/fal/falFolder.d.ts +3 -3
  468. package/icons/baseIcons/fal/falFolder.js +7 -7
  469. package/icons/baseIcons/fal/falFolderOpen.d.ts +3 -3
  470. package/icons/baseIcons/fal/falFolderOpen.js +7 -7
  471. package/icons/baseIcons/fal/falFolderPlus.d.ts +3 -3
  472. package/icons/baseIcons/fal/falFolderPlus.js +7 -7
  473. package/icons/baseIcons/fal/falFolders.d.ts +3 -3
  474. package/icons/baseIcons/fal/falFolders.js +7 -7
  475. package/icons/baseIcons/fal/falGlassesAlt.d.ts +3 -3
  476. package/icons/baseIcons/fal/falGlassesAlt.js +7 -7
  477. package/icons/baseIcons/fal/falGlobe.d.ts +3 -3
  478. package/icons/baseIcons/fal/falGlobe.js +7 -7
  479. package/icons/baseIcons/fal/falHome.d.ts +3 -3
  480. package/icons/baseIcons/fal/falHome.js +7 -7
  481. package/icons/baseIcons/fal/falHourglass.d.ts +3 -3
  482. package/icons/baseIcons/fal/falHourglass.js +7 -7
  483. package/icons/baseIcons/fal/falImage.d.ts +3 -3
  484. package/icons/baseIcons/fal/falImage.js +7 -7
  485. package/icons/baseIcons/fal/falInfoCircle.d.ts +3 -3
  486. package/icons/baseIcons/fal/falInfoCircle.js +7 -7
  487. package/icons/baseIcons/fal/falKey.d.ts +3 -3
  488. package/icons/baseIcons/fal/falKey.js +7 -7
  489. package/icons/baseIcons/fal/falLayerPlus.d.ts +3 -3
  490. package/icons/baseIcons/fal/falLayerPlus.js +7 -7
  491. package/icons/baseIcons/fal/falLink.d.ts +3 -3
  492. package/icons/baseIcons/fal/falLink.js +7 -7
  493. package/icons/baseIcons/fal/falList.d.ts +3 -3
  494. package/icons/baseIcons/fal/falList.js +7 -7
  495. package/icons/baseIcons/fal/falLockAlt.d.ts +3 -3
  496. package/icons/baseIcons/fal/falLockAlt.js +7 -7
  497. package/icons/baseIcons/fal/falLongArrowDown.d.ts +3 -3
  498. package/icons/baseIcons/fal/falLongArrowDown.js +7 -7
  499. package/icons/baseIcons/fal/falLongArrowLeft.d.ts +3 -3
  500. package/icons/baseIcons/fal/falLongArrowLeft.js +7 -7
  501. package/icons/baseIcons/fal/falLongArrowRight.d.ts +3 -3
  502. package/icons/baseIcons/fal/falLongArrowRight.js +7 -7
  503. package/icons/baseIcons/fal/falLongArrowUp.d.ts +3 -3
  504. package/icons/baseIcons/fal/falLongArrowUp.js +7 -7
  505. package/icons/baseIcons/fal/falMap.d.ts +3 -3
  506. package/icons/baseIcons/fal/falMap.js +7 -7
  507. package/icons/baseIcons/fal/falMapMarked.d.ts +3 -3
  508. package/icons/baseIcons/fal/falMapMarked.js +7 -7
  509. package/icons/baseIcons/fal/falMapMarkedAlt.d.ts +3 -3
  510. package/icons/baseIcons/fal/falMapMarkedAlt.js +7 -7
  511. package/icons/baseIcons/fal/falMapMarker.d.ts +3 -3
  512. package/icons/baseIcons/fal/falMapMarker.js +7 -7
  513. package/icons/baseIcons/fal/falMapMarkerAlt.d.ts +3 -3
  514. package/icons/baseIcons/fal/falMapMarkerAlt.js +7 -7
  515. package/icons/baseIcons/fal/falMapMarkerAltSlash.d.ts +3 -3
  516. package/icons/baseIcons/fal/falMapMarkerAltSlash.js +7 -7
  517. package/icons/baseIcons/fal/falMapMarkerCheck.d.ts +3 -3
  518. package/icons/baseIcons/fal/falMapMarkerCheck.js +7 -7
  519. package/icons/baseIcons/fal/falMapMarkerExclamation.d.ts +3 -3
  520. package/icons/baseIcons/fal/falMapMarkerExclamation.js +7 -7
  521. package/icons/baseIcons/fal/falMinus.d.ts +3 -3
  522. package/icons/baseIcons/fal/falMinus.js +7 -7
  523. package/icons/baseIcons/fal/falPause.d.ts +3 -3
  524. package/icons/baseIcons/fal/falPause.js +7 -7
  525. package/icons/baseIcons/fal/falPauseCircle.d.ts +3 -3
  526. package/icons/baseIcons/fal/falPauseCircle.js +7 -7
  527. package/icons/baseIcons/fal/falPen.d.ts +3 -3
  528. package/icons/baseIcons/fal/falPen.js +7 -7
  529. package/icons/baseIcons/fal/falPlay.d.ts +3 -3
  530. package/icons/baseIcons/fal/falPlay.js +7 -7
  531. package/icons/baseIcons/fal/falPlayCircle.d.ts +3 -3
  532. package/icons/baseIcons/fal/falPlayCircle.js +7 -7
  533. package/icons/baseIcons/fal/falPlug.d.ts +3 -3
  534. package/icons/baseIcons/fal/falPlug.js +7 -7
  535. package/icons/baseIcons/fal/falPlus.d.ts +3 -3
  536. package/icons/baseIcons/fal/falPlus.js +7 -7
  537. package/icons/baseIcons/fal/falPlusCircle.d.ts +3 -3
  538. package/icons/baseIcons/fal/falPlusCircle.js +7 -7
  539. package/icons/baseIcons/fal/falPlusSquare.d.ts +3 -3
  540. package/icons/baseIcons/fal/falPlusSquare.js +7 -7
  541. package/icons/baseIcons/fal/falPrint.d.ts +3 -3
  542. package/icons/baseIcons/fal/falPrint.js +7 -7
  543. package/icons/baseIcons/fal/falPuzzlePiece.d.ts +3 -3
  544. package/icons/baseIcons/fal/falPuzzlePiece.js +7 -7
  545. package/icons/baseIcons/fal/falReceipt.d.ts +3 -3
  546. package/icons/baseIcons/fal/falReceipt.js +7 -7
  547. package/icons/baseIcons/fal/falRedo.d.ts +3 -3
  548. package/icons/baseIcons/fal/falRedo.js +7 -7
  549. package/icons/baseIcons/fal/falSave.d.ts +3 -3
  550. package/icons/baseIcons/fal/falSave.js +7 -7
  551. package/icons/baseIcons/fal/falSearch.d.ts +3 -3
  552. package/icons/baseIcons/fal/falSearch.js +7 -7
  553. package/icons/baseIcons/fal/falSearchMinus.d.ts +3 -0
  554. package/icons/baseIcons/fal/falSearchMinus.js +7 -0
  555. package/icons/baseIcons/fal/falSearchPlus.d.ts +3 -3
  556. package/icons/baseIcons/fal/falSearchPlus.js +7 -7
  557. package/icons/baseIcons/fal/falServer.d.ts +3 -3
  558. package/icons/baseIcons/fal/falServer.js +7 -7
  559. package/icons/baseIcons/fal/falShare.d.ts +3 -3
  560. package/icons/baseIcons/fal/falShare.js +7 -7
  561. package/icons/baseIcons/fal/falShareAll.d.ts +3 -3
  562. package/icons/baseIcons/fal/falShareAll.js +7 -7
  563. package/icons/baseIcons/fal/falShareAlt.d.ts +3 -3
  564. package/icons/baseIcons/fal/falShareAlt.js +7 -7
  565. package/icons/baseIcons/fal/falShieldAlt.d.ts +3 -3
  566. package/icons/baseIcons/fal/falShieldAlt.js +7 -7
  567. package/icons/baseIcons/fal/falShieldCheck.d.ts +3 -3
  568. package/icons/baseIcons/fal/falShieldCheck.js +7 -7
  569. package/icons/baseIcons/fal/falShip.d.ts +3 -3
  570. package/icons/baseIcons/fal/falShip.js +7 -7
  571. package/icons/baseIcons/fal/falShoppingBasket.d.ts +3 -3
  572. package/icons/baseIcons/fal/falShoppingBasket.js +7 -7
  573. package/icons/baseIcons/fal/falSignIn.d.ts +3 -3
  574. package/icons/baseIcons/fal/falSignIn.js +7 -7
  575. package/icons/baseIcons/fal/falSignInAlt.d.ts +3 -3
  576. package/icons/baseIcons/fal/falSignInAlt.js +7 -7
  577. package/icons/baseIcons/fal/falSignOut.d.ts +3 -3
  578. package/icons/baseIcons/fal/falSignOut.js +7 -7
  579. package/icons/baseIcons/fal/falSignOutAlt.d.ts +3 -3
  580. package/icons/baseIcons/fal/falSignOutAlt.js +7 -7
  581. package/icons/baseIcons/fal/falSlidersV.d.ts +3 -3
  582. package/icons/baseIcons/fal/falSlidersV.js +7 -7
  583. package/icons/baseIcons/fal/falSnowBlowing.d.ts +3 -3
  584. package/icons/baseIcons/fal/falSnowBlowing.js +7 -7
  585. package/icons/baseIcons/fal/falSnowflake.d.ts +3 -3
  586. package/icons/baseIcons/fal/falSnowflake.js +7 -7
  587. package/icons/baseIcons/fal/falSolarPanel.d.ts +3 -3
  588. package/icons/baseIcons/fal/falSolarPanel.js +7 -7
  589. package/icons/baseIcons/fal/falSort.d.ts +3 -3
  590. package/icons/baseIcons/fal/falSort.js +7 -7
  591. package/icons/baseIcons/fal/falSpinner.d.ts +3 -3
  592. package/icons/baseIcons/fal/falSpinner.js +7 -7
  593. package/icons/baseIcons/fal/falSquare.d.ts +3 -3
  594. package/icons/baseIcons/fal/falSquare.js +7 -7
  595. package/icons/baseIcons/fal/falStepForward.d.ts +3 -3
  596. package/icons/baseIcons/fal/falStepForward.js +7 -7
  597. package/icons/baseIcons/fal/falStop.d.ts +3 -3
  598. package/icons/baseIcons/fal/falStop.js +7 -7
  599. package/icons/baseIcons/fal/falStopCircle.d.ts +3 -3
  600. package/icons/baseIcons/fal/falStopCircle.js +7 -7
  601. package/icons/baseIcons/fal/falStopwatch.d.ts +3 -3
  602. package/icons/baseIcons/fal/falStopwatch.js +7 -7
  603. package/icons/baseIcons/fal/falSuitcase.d.ts +3 -3
  604. package/icons/baseIcons/fal/falSuitcase.js +7 -7
  605. package/icons/baseIcons/fal/falSun.d.ts +3 -3
  606. package/icons/baseIcons/fal/falSun.js +7 -7
  607. package/icons/baseIcons/fal/falSync.d.ts +3 -3
  608. package/icons/baseIcons/fal/falSync.js +7 -7
  609. package/icons/baseIcons/fal/falTachometer.d.ts +3 -3
  610. package/icons/baseIcons/fal/falTachometer.js +7 -7
  611. package/icons/baseIcons/fal/falTemperatureHigh.d.ts +3 -3
  612. package/icons/baseIcons/fal/falTemperatureHigh.js +7 -7
  613. package/icons/baseIcons/fal/falTh.d.ts +3 -3
  614. package/icons/baseIcons/fal/falTh.js +7 -7
  615. package/icons/baseIcons/fal/falThLarge.d.ts +3 -3
  616. package/icons/baseIcons/fal/falThLarge.js +7 -7
  617. package/icons/baseIcons/fal/falThList.d.ts +3 -3
  618. package/icons/baseIcons/fal/falThList.js +7 -7
  619. package/icons/baseIcons/fal/falTimes.d.ts +3 -3
  620. package/icons/baseIcons/fal/falTimes.js +7 -7
  621. package/icons/baseIcons/fal/falTimesCircle.d.ts +3 -3
  622. package/icons/baseIcons/fal/falTimesCircle.js +7 -7
  623. package/icons/baseIcons/fal/falToggleOff.d.ts +3 -3
  624. package/icons/baseIcons/fal/falToggleOff.js +7 -7
  625. package/icons/baseIcons/fal/falToggleOn.d.ts +3 -3
  626. package/icons/baseIcons/fal/falToggleOn.js +7 -7
  627. package/icons/baseIcons/fal/falTrashAlt.d.ts +3 -3
  628. package/icons/baseIcons/fal/falTrashAlt.js +7 -7
  629. package/icons/baseIcons/fal/falUnlockAlt.d.ts +3 -3
  630. package/icons/baseIcons/fal/falUnlockAlt.js +7 -7
  631. package/icons/baseIcons/fal/falUser.d.ts +3 -3
  632. package/icons/baseIcons/fal/falUser.js +7 -7
  633. package/icons/baseIcons/fal/falUserChart.d.ts +3 -3
  634. package/icons/baseIcons/fal/falUserChart.js +7 -7
  635. package/icons/baseIcons/fal/falUserCircle.d.ts +3 -3
  636. package/icons/baseIcons/fal/falUserCircle.js +7 -7
  637. package/icons/baseIcons/fal/falUserCog.d.ts +3 -3
  638. package/icons/baseIcons/fal/falUserCog.js +7 -7
  639. package/icons/baseIcons/fal/falUserEdit.d.ts +3 -3
  640. package/icons/baseIcons/fal/falUserEdit.js +7 -7
  641. package/icons/baseIcons/fal/falUserFriends.d.ts +3 -3
  642. package/icons/baseIcons/fal/falUserFriends.js +7 -7
  643. package/icons/baseIcons/fal/falUserPlus.d.ts +3 -3
  644. package/icons/baseIcons/fal/falUserPlus.js +7 -7
  645. package/icons/baseIcons/fal/falUserShield.d.ts +3 -3
  646. package/icons/baseIcons/fal/falUserShield.js +7 -7
  647. package/icons/baseIcons/fal/falUserTimes.d.ts +3 -3
  648. package/icons/baseIcons/fal/falUserTimes.js +7 -7
  649. package/icons/baseIcons/fal/falUsers.d.ts +3 -3
  650. package/icons/baseIcons/fal/falUsers.js +7 -7
  651. package/icons/baseIcons/fal/falUsersClass.d.ts +3 -3
  652. package/icons/baseIcons/fal/falUsersClass.js +7 -7
  653. package/icons/baseIcons/fal/falWater.d.ts +3 -3
  654. package/icons/baseIcons/fal/falWater.js +7 -7
  655. package/icons/baseIcons/fal/falWind.d.ts +3 -3
  656. package/icons/baseIcons/fal/falWind.js +7 -7
  657. package/icons/baseIcons/fal/falWindTurbine.d.ts +3 -3
  658. package/icons/baseIcons/fal/falWindTurbine.js +7 -7
  659. package/icons/baseIcons/fal/falWrench.d.ts +3 -3
  660. package/icons/baseIcons/fal/falWrench.js +7 -7
  661. package/icons/baseIcons/fas/fasCaretDown.d.ts +3 -3
  662. package/icons/baseIcons/fas/fasCaretDown.js +7 -7
  663. package/icons/baseIcons/fas/fasCaretLeft.d.ts +3 -3
  664. package/icons/baseIcons/fas/fasCaretLeft.js +7 -7
  665. package/icons/baseIcons/fas/fasCaretRight.d.ts +3 -3
  666. package/icons/baseIcons/fas/fasCaretRight.js +7 -7
  667. package/icons/baseIcons/fas/fasCaretUp.d.ts +3 -3
  668. package/icons/baseIcons/fas/fasCaretUp.js +7 -7
  669. package/icons/baseIcons/fas/fasCheckCircle.d.ts +3 -0
  670. package/icons/baseIcons/fas/fasCheckCircle.js +7 -0
  671. package/icons/baseIcons/fas/fasDiamond.d.ts +3 -3
  672. package/icons/baseIcons/fas/fasDiamond.js +7 -7
  673. package/icons/baseIcons/fas/fasFolder.d.ts +3 -3
  674. package/icons/baseIcons/fas/fasFolder.js +7 -7
  675. package/icons/baseIcons/fas/fasMapMarkerAlt.d.ts +3 -3
  676. package/icons/baseIcons/fas/fasMapMarkerAlt.js +7 -7
  677. package/icons/baseIcons/fas/fasMapMarkerExclamation.d.ts +3 -3
  678. package/icons/baseIcons/fas/fasMapMarkerExclamation.js +7 -7
  679. package/icons/baseIcons/fas/fasQuoteLeft.d.ts +3 -3
  680. package/icons/baseIcons/fas/fasQuoteLeft.js +7 -7
  681. package/icons/baseIcons/fas/fasQuoteRight.d.ts +3 -3
  682. package/icons/baseIcons/fas/fasQuoteRight.js +7 -7
  683. package/icons/baseIcons/fas/fasSolarPanel.d.ts +3 -3
  684. package/icons/baseIcons/fas/fasSolarPanel.js +7 -7
  685. package/icons/baseIcons/fas/fasSort.d.ts +3 -3
  686. package/icons/baseIcons/fas/fasSort.js +7 -7
  687. package/icons/baseIcons/fas/fasStar.d.ts +3 -3
  688. package/icons/baseIcons/fas/fasStar.js +7 -7
  689. package/icons/baseIcons/fas/fasWindTurbine.d.ts +3 -3
  690. package/icons/baseIcons/fas/fasWindTurbine.js +7 -7
  691. package/icons/baseIcons/types.d.ts +1 -1
  692. package/icons/baseIcons/types.js +2 -2
  693. package/icons/consts.d.ts +6 -6
  694. package/icons/consts.js +46 -46
  695. package/icons/index.d.ts +3 -3
  696. package/icons/index.js +20 -20
  697. package/icons/library.d.ts +11 -11
  698. package/icons/library.js +60 -60
  699. package/icons/types.d.ts +21 -21
  700. package/icons/types.js +2 -2
  701. package/index.d.ts +27 -27
  702. package/index.js +39 -39
  703. package/input/consts.d.ts +2 -2
  704. package/input/consts.js +27 -27
  705. package/input/helpers.d.ts +2 -2
  706. package/input/helpers.js +9 -9
  707. package/input/index.d.ts +3 -3
  708. package/input/index.js +20 -20
  709. package/input/input.d.ts +6 -6
  710. package/input/input.js +129 -129
  711. package/input/input.types.d.ts +42 -42
  712. package/input/input.types.js +2 -2
  713. package/input/theme.d.ts +39 -39
  714. package/input/theme.js +50 -50
  715. package/label/index.d.ts +3 -3
  716. package/label/index.js +20 -20
  717. package/label/label.d.ts +5 -5
  718. package/label/label.js +71 -71
  719. package/label/label.types.d.ts +20 -20
  720. package/label/label.types.js +2 -2
  721. package/label/theme.d.ts +61 -61
  722. package/label/theme.js +107 -107
  723. package/link/index.d.ts +3 -3
  724. package/link/index.js +20 -20
  725. package/link/link.d.ts +5 -5
  726. package/link/link.js +53 -53
  727. package/link/link.types.d.ts +11 -11
  728. package/link/link.types.js +2 -2
  729. package/link/theme.d.ts +35 -35
  730. package/link/theme.js +50 -50
  731. package/list/context.d.ts +4 -4
  732. package/list/context.js +23 -23
  733. package/list/index.d.ts +6 -6
  734. package/list/index.js +23 -23
  735. package/list/list.d.ts +13 -13
  736. package/list/list.js +81 -81
  737. package/list/list.types.d.ts +8 -8
  738. package/list/list.types.js +2 -2
  739. package/list/listHeading.d.ts +3 -3
  740. package/list/listHeading.js +30 -30
  741. package/list/listIcon.d.ts +3 -3
  742. package/list/listIcon.js +30 -30
  743. package/list/listItem.d.ts +5 -5
  744. package/list/listItem.js +73 -73
  745. package/list/listItem.types.d.ts +16 -16
  746. package/list/listItem.types.js +2 -2
  747. package/list/theme.d.ts +80 -80
  748. package/list/theme.js +90 -90
  749. package/p/index.d.ts +3 -3
  750. package/p/index.js +20 -20
  751. package/p/p.d.ts +5 -5
  752. package/p/p.js +52 -52
  753. package/p/p.types.d.ts +9 -9
  754. package/p/p.types.js +2 -2
  755. package/p/theme.d.ts +29 -29
  756. package/p/theme.js +33 -33
  757. package/package.json +2 -2
  758. package/radio/context.d.ts +4 -4
  759. package/radio/context.js +23 -23
  760. package/radio/index.d.ts +6 -6
  761. package/radio/index.js +23 -23
  762. package/radio/radio.d.ts +7 -7
  763. package/radio/radio.js +66 -66
  764. package/radio/radio.types.d.ts +24 -24
  765. package/radio/radio.types.js +2 -2
  766. package/radio/radioGroup.d.ts +5 -5
  767. package/radio/radioGroup.js +98 -98
  768. package/radio/radioGroup.types.d.ts +13 -13
  769. package/radio/radioGroup.types.js +2 -2
  770. package/radio/theme.d.ts +48 -48
  771. package/radio/theme.js +56 -56
  772. package/skeleton/index.d.ts +3 -3
  773. package/skeleton/index.js +20 -20
  774. package/skeleton/skeleton.d.ts +5 -5
  775. package/skeleton/skeleton.js +50 -50
  776. package/skeleton/skeleton.types.d.ts +6 -6
  777. package/skeleton/skeleton.types.js +2 -2
  778. package/skeleton/theme.d.ts +36 -36
  779. package/skeleton/theme.js +47 -47
  780. package/spinner/consts.d.ts +36 -36
  781. package/spinner/consts.js +26 -26
  782. package/spinner/index.d.ts +3 -3
  783. package/spinner/index.js +20 -20
  784. package/spinner/spinner.d.ts +4 -4
  785. package/spinner/spinner.js +61 -61
  786. package/spinner/spinner.types.d.ts +15 -15
  787. package/spinner/spinner.types.js +2 -2
  788. package/spinner/theme.d.ts +67 -67
  789. package/spinner/theme.js +73 -73
  790. package/styles/animations.d.ts +9 -9
  791. package/styles/animations.js +12 -12
  792. package/styles/fontFaces.d.ts +2 -2
  793. package/styles/fontFaces.js +4 -4
  794. package/styles/helpers.d.ts +4 -4
  795. package/styles/helpers.js +8 -8
  796. package/styles/index.d.ts +3 -3
  797. package/styles/index.js +20 -20
  798. package/svg/cache.d.ts +15 -15
  799. package/svg/cache.js +36 -36
  800. package/svg/helpers.d.ts +10 -10
  801. package/svg/helpers.js +33 -33
  802. package/svg/index.d.ts +3 -3
  803. package/svg/index.js +20 -20
  804. package/svg/svg.d.ts +5 -5
  805. package/svg/svg.js +165 -165
  806. package/svg/svg.types.d.ts +10 -10
  807. package/svg/svg.types.js +2 -2
  808. package/switch/context.d.ts +4 -4
  809. package/switch/context.js +23 -23
  810. package/switch/index.d.ts +7 -7
  811. package/switch/index.js +24 -24
  812. package/switch/switch.d.ts +11 -11
  813. package/switch/switch.js +132 -132
  814. package/switch/switch.types.d.ts +21 -21
  815. package/switch/switch.types.js +2 -2
  816. package/switch/switchButton.d.ts +8 -8
  817. package/switch/switchButton.js +133 -131
  818. package/switch/switchButton.types.d.ts +19 -19
  819. package/switch/switchButton.types.js +2 -2
  820. package/switch/switchLabel.d.ts +3 -3
  821. package/switch/switchLabel.js +30 -30
  822. package/switch/theme.d.ts +87 -87
  823. package/switch/theme.js +113 -113
  824. package/system/animations.d.ts +11 -11
  825. package/system/animations.js +2 -2
  826. package/system/backgrounds.d.ts +13 -13
  827. package/system/backgrounds.js +2 -2
  828. package/system/borders.d.ts +142 -142
  829. package/system/borders.js +2 -2
  830. package/system/colors.d.ts +3 -3
  831. package/system/colors.js +2 -2
  832. package/system/custom.d.ts +14 -10
  833. package/system/custom.js +32 -29
  834. package/system/effects.d.ts +22 -22
  835. package/system/effects.js +2 -2
  836. package/system/flexboxes.d.ts +61 -61
  837. package/system/flexboxes.js +2 -2
  838. package/system/index.d.ts +16 -16
  839. package/system/index.js +33 -33
  840. package/system/interactivity.d.ts +26 -26
  841. package/system/interactivity.js +2 -2
  842. package/system/layout.d.ts +73 -73
  843. package/system/layout.js +2 -2
  844. package/system/sizing.d.ts +36 -36
  845. package/system/sizing.js +2 -2
  846. package/system/space.d.ts +92 -92
  847. package/system/space.js +2 -2
  848. package/system/system.d.ts +17 -17
  849. package/system/system.js +5 -5
  850. package/system/transforms.d.ts +57 -57
  851. package/system/transforms.js +2 -2
  852. package/system/transitions.d.ts +29 -29
  853. package/system/transitions.js +2 -2
  854. package/system/typography.d.ts +75 -75
  855. package/system/typography.js +2 -2
  856. package/t/index.d.ts +3 -3
  857. package/t/index.js +20 -20
  858. package/t/t.d.ts +5 -5
  859. package/t/t.js +54 -54
  860. package/t/t.types.d.ts +10 -11
  861. package/t/t.types.js +2 -2
  862. package/t/theme.d.ts +21 -21
  863. package/t/theme.js +25 -25
  864. package/textarea/helpers.d.ts +2 -2
  865. package/textarea/helpers.js +9 -9
  866. package/textarea/index.d.ts +3 -3
  867. package/textarea/index.js +20 -20
  868. package/textarea/textarea.d.ts +6 -6
  869. package/textarea/textarea.js +116 -116
  870. package/textarea/textarea.types.d.ts +25 -25
  871. package/textarea/textarea.types.js +2 -2
  872. package/textarea/theme.d.ts +21 -21
  873. package/textarea/theme.js +31 -31
  874. package/theme/components.d.ts +787 -787
  875. package/theme/components.js +47 -47
  876. package/theme/defaultTheme.d.ts +950 -950
  877. package/theme/defaultTheme.js +20 -20
  878. package/theme/foundations/animations.d.ts +12 -12
  879. package/theme/foundations/animations.js +13 -13
  880. package/theme/foundations/borders.d.ts +2 -2
  881. package/theme/foundations/borders.js +3 -3
  882. package/theme/foundations/colors.d.ts +171 -171
  883. package/theme/foundations/colors.js +96 -96
  884. package/theme/foundations/durations.d.ts +7 -7
  885. package/theme/foundations/durations.js +8 -8
  886. package/theme/foundations/fontSizes.d.ts +7 -7
  887. package/theme/foundations/fontSizes.js +8 -8
  888. package/theme/foundations/fontWeights.d.ts +7 -7
  889. package/theme/foundations/fontWeights.js +8 -8
  890. package/theme/foundations/fonts.d.ts +4 -4
  891. package/theme/foundations/fonts.js +5 -5
  892. package/theme/foundations/index.d.ts +164 -164
  893. package/theme/foundations/index.js +41 -41
  894. package/theme/foundations/radii.d.ts +8 -8
  895. package/theme/foundations/radii.js +9 -9
  896. package/theme/foundations/ringWidths.d.ts +2 -2
  897. package/theme/foundations/ringWidths.js +3 -3
  898. package/theme/foundations/screens.d.ts +8 -8
  899. package/theme/foundations/screens.js +9 -9
  900. package/theme/foundations/shadows.d.ts +20 -20
  901. package/theme/foundations/shadows.js +25 -25
  902. package/theme/foundations/sizes.d.ts +2 -2
  903. package/theme/foundations/sizes.js +3 -3
  904. package/theme/foundations/spaces.d.ts +2 -2
  905. package/theme/foundations/spaces.js +3 -3
  906. package/theme/foundations/transformers.d.ts +4 -4
  907. package/theme/foundations/transformers.js +7 -7
  908. package/theme/foundations/transforms.d.ts +2 -2
  909. package/theme/foundations/transforms.js +3 -3
  910. package/theme/foundations/transitions.d.ts +2 -2
  911. package/theme/foundations/transitions.js +3 -3
  912. package/theme/foundations/zIndices.d.ts +2 -2
  913. package/theme/foundations/zIndices.js +3 -3
  914. package/theme/index.d.ts +6 -6
  915. package/theme/index.js +25 -25
  916. package/theme/types.d.ts +21 -21
  917. package/theme/types.js +2 -2
  918. package/tile/index.d.ts +3 -3
  919. package/tile/index.js +20 -20
  920. package/tile/theme.d.ts +23 -23
  921. package/tile/theme.js +27 -27
  922. package/tile/tile.d.ts +3 -3
  923. package/tile/tile.js +46 -46
  924. package/tile/tile.types.d.ts +5 -5
  925. package/tile/tile.types.js +2 -2
  926. package/utils/function.d.ts +5 -5
  927. package/utils/function.js +36 -36
  928. package/utils/index.d.ts +4 -4
  929. package/utils/index.js +16 -16
  930. package/utils/object.d.ts +27 -27
  931. package/utils/object.js +93 -93
  932. package/utils/styles.d.ts +4 -4
  933. package/utils/styles.js +35 -35
  934. package/utils/types.d.ts +3 -3
  935. package/utils/types.js +3 -3
@@ -1,57 +1,57 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __rest = (this && this.__rest) || function (s, e) {
7
- var t = {};
8
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
9
- t[p] = s[p];
10
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
11
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
12
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
13
- t[p[i]] = s[p[i]];
14
- }
15
- return t;
16
- };
17
- var __read = (this && this.__read) || function (o, n) {
18
- var m = typeof Symbol === "function" && o[Symbol.iterator];
19
- if (!m) return o;
20
- var i = m.call(o), r, ar = [], e;
21
- try {
22
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
23
- }
24
- catch (error) { e = { error: error }; }
25
- finally {
26
- try {
27
- if (r && !r.done && (m = i["return"])) m.call(i);
28
- }
29
- finally { if (e) throw e.error; }
30
- }
31
- return ar;
32
- };
33
- var __importDefault = (this && this.__importDefault) || function (mod) {
34
- return (mod && mod.__esModule) ? mod : { "default": mod };
35
- };
36
- Object.defineProperty(exports, "__esModule", { value: true });
37
- var styled_components_1 = require("styled-components");
38
- var foundations_1 = __importDefault(require("../theme/foundations"));
39
- var styles_1 = require("../styles");
40
- var utils_1 = require("../utils");
41
- exports.default = styled_components_1.createGlobalStyle(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\t", "\n\n\t:root {\n\t\t", "\n\n\t\t--vui-colors-disabled-bg: var(--vui-colors-grey-10);\n\t\t--vui-colors-disabled-border: var(--vui-colors-grey-50);\n\t\t--vui-colors-disabled-font: var(--vui-colors-grey-50);\n\t}\n\n\t* {\n\t\t--x-ring-color: var(--vui-colors-blue-50);\n\t\t--x-shadow: 0 0 0 0 transparent;\n\t}\n\n\tbody {\n\t\tcolor: var(--vui-colors-prussian-80);\n\t\tfont-family: var(--vui-fonts-avenir);\n\t\tfont-size: var(--vui-fontSizes-md);\n\t}\n\n\t@keyframes vui-bounce {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeDown {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeIn {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeLeft {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeOut {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeRight {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeUp {\n\t\t", "\n\t}\n\n\t@keyframes vui-pulse {\n\t\t", "\n\t}\n\n\t@keyframes vui-spin {\n\t\t", "\n\t}\n"], ["\n\t", "\n\n\t:root {\n\t\t", "\n\n\t\t--vui-colors-disabled-bg: var(--vui-colors-grey-10);\n\t\t--vui-colors-disabled-border: var(--vui-colors-grey-50);\n\t\t--vui-colors-disabled-font: var(--vui-colors-grey-50);\n\t}\n\n\t* {\n\t\t--x-ring-color: var(--vui-colors-blue-50);\n\t\t--x-shadow: 0 0 0 0 transparent;\n\t}\n\n\tbody {\n\t\tcolor: var(--vui-colors-prussian-80);\n\t\tfont-family: var(--vui-fonts-avenir);\n\t\tfont-size: var(--vui-fontSizes-md);\n\t}\n\n\t@keyframes vui-bounce {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeDown {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeIn {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeLeft {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeOut {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeRight {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeUp {\n\t\t", "\n\t}\n\n\t@keyframes vui-pulse {\n\t\t", "\n\t}\n\n\t@keyframes vui-spin {\n\t\t", "\n\t}\n"
42
- /** Recursively maps through all theme styles and generates a set of CSS properties */
43
- ])), styles_1.fontFaces, generateCSSVariables, styles_1.bounce, styles_1.fadeDown, styles_1.fadeIn, styles_1.fadeLeft, styles_1.fadeOut, styles_1.fadeRight, styles_1.fadeUp, styles_1.pulse, styles_1.spin);
44
- /** Recursively maps through all theme styles and generates a set of CSS properties */
45
- function generateCSSVariables() {
46
- function computeStyle(name, value) {
47
- if (!utils_1.isObj(value))
48
- return name + ": " + (typeof value === 'string' ? value : value + "px") + ";\n";
49
- return Object.entries(value).reduce(function (str, _a) {
50
- var _b = __read(_a, 2), key = _b[0], value = _b[1];
51
- return (str += computeStyle(name + "-" + key, value));
52
- }, '');
53
- }
54
- var animations = foundations_1.default.animations, styles = __rest(foundations_1.default, ["animations"]); // eslint-disable-line @typescript-eslint/no-unused-vars
55
- return computeStyle('--vui', styles);
56
- }
57
- var templateObject_1;
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ var __rest = (this && this.__rest) || function (s, e) {
7
+ var t = {};
8
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
9
+ t[p] = s[p];
10
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
11
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
12
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
13
+ t[p[i]] = s[p[i]];
14
+ }
15
+ return t;
16
+ };
17
+ var __read = (this && this.__read) || function (o, n) {
18
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
19
+ if (!m) return o;
20
+ var i = m.call(o), r, ar = [], e;
21
+ try {
22
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
23
+ }
24
+ catch (error) { e = { error: error }; }
25
+ finally {
26
+ try {
27
+ if (r && !r.done && (m = i["return"])) m.call(i);
28
+ }
29
+ finally { if (e) throw e.error; }
30
+ }
31
+ return ar;
32
+ };
33
+ var __importDefault = (this && this.__importDefault) || function (mod) {
34
+ return (mod && mod.__esModule) ? mod : { "default": mod };
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ var styled_components_1 = require("styled-components");
38
+ var foundations_1 = __importDefault(require("../theme/foundations"));
39
+ var styles_1 = require("../styles");
40
+ var utils_1 = require("../utils");
41
+ exports.default = styled_components_1.createGlobalStyle(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\t", "\n\n\t:root {\n\t\t", "\n\n\t\t--vui-colors-disabled-bg: var(--vui-colors-grey-10);\n\t\t--vui-colors-disabled-border: var(--vui-colors-grey-50);\n\t\t--vui-colors-disabled-font: var(--vui-colors-grey-50);\n\t}\n\n\t* {\n\t\t--x-ring-color: var(--vui-colors-blue-50);\n\t\t--x-shadow: 0 0 0 0 transparent;\n\t}\n\n\tbody {\n\t\tcolor: var(--vui-colors-prussian-80);\n\t\tfont-family: var(--vui-fonts-avenir);\n\t\tfont-size: var(--vui-fontSizes-md);\n\t}\n\n\t@keyframes vui-bounce {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeDown {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeIn {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeLeft {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeOut {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeRight {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeUp {\n\t\t", "\n\t}\n\n\t@keyframes vui-pulse {\n\t\t", "\n\t}\n\n\t@keyframes vui-spin {\n\t\t", "\n\t}\n"], ["\n\t", "\n\n\t:root {\n\t\t", "\n\n\t\t--vui-colors-disabled-bg: var(--vui-colors-grey-10);\n\t\t--vui-colors-disabled-border: var(--vui-colors-grey-50);\n\t\t--vui-colors-disabled-font: var(--vui-colors-grey-50);\n\t}\n\n\t* {\n\t\t--x-ring-color: var(--vui-colors-blue-50);\n\t\t--x-shadow: 0 0 0 0 transparent;\n\t}\n\n\tbody {\n\t\tcolor: var(--vui-colors-prussian-80);\n\t\tfont-family: var(--vui-fonts-avenir);\n\t\tfont-size: var(--vui-fontSizes-md);\n\t}\n\n\t@keyframes vui-bounce {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeDown {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeIn {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeLeft {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeOut {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeRight {\n\t\t", "\n\t}\n\n\t@keyframes vui-fadeUp {\n\t\t", "\n\t}\n\n\t@keyframes vui-pulse {\n\t\t", "\n\t}\n\n\t@keyframes vui-spin {\n\t\t", "\n\t}\n"
42
+ /** Recursively maps through all theme styles and generates a set of CSS properties */
43
+ ])), styles_1.fontFaces, generateCSSVariables, styles_1.bounce, styles_1.fadeDown, styles_1.fadeIn, styles_1.fadeLeft, styles_1.fadeOut, styles_1.fadeRight, styles_1.fadeUp, styles_1.pulse, styles_1.spin);
44
+ /** Recursively maps through all theme styles and generates a set of CSS properties */
45
+ function generateCSSVariables() {
46
+ function computeStyle(name, value) {
47
+ if (!utils_1.isObj(value))
48
+ return name + ": " + (typeof value === 'string' ? value : value + "px") + ";\n";
49
+ return Object.entries(value).reduce(function (str, _a) {
50
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
51
+ return (str += computeStyle(name + "-" + key, value));
52
+ }, '');
53
+ }
54
+ var animations = foundations_1.default.animations, styles = __rest(foundations_1.default, ["animations"]); // eslint-disable-line @typescript-eslint/no-unused-vars
55
+ return computeStyle('--vui', styles);
56
+ }
57
+ var templateObject_1;
package/core/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export * from './consts';
2
- export * from './types';
3
- export * from './utils';
4
- export { default as GlobalStyle } from './globalStyle';
5
- export { default as ResetCSS } from './resetCSS';
6
- export { default as VuiProvider } from './vuiProvider';
1
+ export * from './consts';
2
+ export * from './types';
3
+ export * from './utils';
4
+ export { default as GlobalStyle } from './globalStyle';
5
+ export { default as ResetCSS } from './resetCSS';
6
+ export { default as VuiProvider } from './vuiProvider';
package/core/index.js CHANGED
@@ -1,25 +1,25 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- var __importDefault = (this && this.__importDefault) || function (mod) {
13
- return (mod && mod.__esModule) ? mod : { "default": mod };
14
- };
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.VuiProvider = exports.ResetCSS = exports.GlobalStyle = void 0;
17
- __exportStar(require("./consts"), exports);
18
- __exportStar(require("./types"), exports);
19
- __exportStar(require("./utils"), exports);
20
- var globalStyle_1 = require("./globalStyle");
21
- Object.defineProperty(exports, "GlobalStyle", { enumerable: true, get: function () { return __importDefault(globalStyle_1).default; } });
22
- var resetCSS_1 = require("./resetCSS");
23
- Object.defineProperty(exports, "ResetCSS", { enumerable: true, get: function () { return __importDefault(resetCSS_1).default; } });
24
- var vuiProvider_1 = require("./vuiProvider");
25
- Object.defineProperty(exports, "VuiProvider", { enumerable: true, get: function () { return __importDefault(vuiProvider_1).default; } });
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ var __importDefault = (this && this.__importDefault) || function (mod) {
13
+ return (mod && mod.__esModule) ? mod : { "default": mod };
14
+ };
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.VuiProvider = exports.ResetCSS = exports.GlobalStyle = void 0;
17
+ __exportStar(require("./consts"), exports);
18
+ __exportStar(require("./types"), exports);
19
+ __exportStar(require("./utils"), exports);
20
+ var globalStyle_1 = require("./globalStyle");
21
+ Object.defineProperty(exports, "GlobalStyle", { enumerable: true, get: function () { return __importDefault(globalStyle_1).default; } });
22
+ var resetCSS_1 = require("./resetCSS");
23
+ Object.defineProperty(exports, "ResetCSS", { enumerable: true, get: function () { return __importDefault(resetCSS_1).default; } });
24
+ var vuiProvider_1 = require("./vuiProvider");
25
+ Object.defineProperty(exports, "VuiProvider", { enumerable: true, get: function () { return __importDefault(vuiProvider_1).default; } });
@@ -1,2 +1,2 @@
1
- declare const _default: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
2
- export default _default;
1
+ declare const _default: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
2
+ export default _default;
package/core/resetCSS.js CHANGED
@@ -1,9 +1,9 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- var styled_components_1 = require("styled-components");
8
- exports.default = styled_components_1.createGlobalStyle(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\thtml {\n\t\tbox-sizing: border-box;\n\t\tline-height: 1.4;\n\t\t-webkit-text-size-adjust: 100%;\n\t}\n\n\t*, *::before, *::after {\n\t\tborder-style: solid;\n\t\tborder-width: 0;\n\t\tbox-sizing: inherit;\n\t}\n\n\tbody {\n\t\tmargin: 0;\n\t}\n\n\ta {\n\t\tbackground-color: transparent;\n\t\tcolor: inherit;\n\t\ttext-decoration: none;\n\t}\n\n\tabbr[title] {\n\t\tborder-bottom: none;\n\t\ttext-decoration: underline dotted;\n\t}\n\n\tb, strong {\n\t\tfont-weight: bolder;\n\t}\n\n\tbutton {\n\t\tcursor: pointer;\n\t\t-webkit-appearance: button;\n\t}\n\n\tbutton, input, optgroup, select, textarea {\n\t\tfont-family: inherit;\n\t\tfont-size: 100%;\n\t\tmargin: 0;\n\t}\n\n\tbutton, select {\n\t\ttext-transform: none;\n\t}\n\n\tcode, kbd, pre, samp {\n\t\tfont-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;\n\t\tfont-size: 1em;\n\t}\n\n\tdetails {\n\t\tdisplay: block;\n\t}\n\n\tfieldset {\n\t\tpadding: 0.35em 0.75em 0.625em;\n\t}\n\n\th1, h2, h3, h4, h5, h6, p, hr, dl, dd, blockquote, figure, pre {\n\t\tmargin: 0;\n\t}\n\n\th1, h2, h3, h4, h5, h6 {\n\t\tfont-size: inherit;\n\t\tfont-weight: inherit;\n\t}\n\n\thr {\n\t\tcolor: inherit;\n\t\theight: 0;\n\t}\n\n\timg {\n\t\tborder-style: none;\n\t}\n\n\timg, svg, video, canvas, audio, iframe, embed, object {\n\t\tdisplay: block;\n\t}\n\n\tlegend {\n\t\tcolor: inherit;\n\t\tdisplay: table;\n\t\tmax-width: 100%;\n\t\tpadding: 0;\n\t\twhite-space: normal;\n\t}\n\n\tmain {\n\t\tdisplay: block;\n\t}\n\n\tol, ul {\n\t\tlist-style: none;\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t}\n\n\tprogress {\n\t\tvertical-align: baseline;\n\t}\n\n\tsummary {\n\t\tdisplay: list-item;\n\t}\n\n\tsmall {\n\t\tfont-size: 80%;\n\t}\n\n\tsub, sup {\n\t\tfont-size: 75%;\n\t\tline-height: 0;\n\t\tposition: relative;\n\t\tvertical-align: baseline;\n\t}\n\n\tsub {\n\t\tbottom: -0.25em;\n\t}\n\n\tsup {\n\t\ttop: -0.5em;\n\t}\n\n\ttable {\n\t\ttext-indent: 0;\n\t\tborder-color: inherit;\n\t}\n\n\ttemplate {\n\t\tdisplay: none;\n\t}\n\n\ttextarea {\n\t\toverflow: auto;\n\t}\n\n\t::-moz-focus-inner {\n\t\tborder-style: none;\n\t\tpadding: 0;\n\t}\n\n\t::-webkit-file-upload-button {\n\t\tfont: inherit;\n\t\t-webkit-appearance: button;\n\t}\n\n\t[type=checkbox], [type=radio] {\n\t\tpadding: 0;\n\t}\n\n\t[type=number]::-webkit-inner-spin-button,\n\t[type=number]::-webkit-outer-spin-button {\n\t\theight: auto;\n\t}\n\n\t[type=search] {\n\t\toutline-offset: -2px;\n\t\t-webkit-appearance: textfield;\n\t}\n\n\t[type=search]::-webkit-search-decoration {\n\t\t-webkit-appearance: none;\n\t}\n\n\t[hidden] {\n\t\tdisplay: none;\n\t}\n"], ["\n\thtml {\n\t\tbox-sizing: border-box;\n\t\tline-height: 1.4;\n\t\t-webkit-text-size-adjust: 100%;\n\t}\n\n\t*, *::before, *::after {\n\t\tborder-style: solid;\n\t\tborder-width: 0;\n\t\tbox-sizing: inherit;\n\t}\n\n\tbody {\n\t\tmargin: 0;\n\t}\n\n\ta {\n\t\tbackground-color: transparent;\n\t\tcolor: inherit;\n\t\ttext-decoration: none;\n\t}\n\n\tabbr[title] {\n\t\tborder-bottom: none;\n\t\ttext-decoration: underline dotted;\n\t}\n\n\tb, strong {\n\t\tfont-weight: bolder;\n\t}\n\n\tbutton {\n\t\tcursor: pointer;\n\t\t-webkit-appearance: button;\n\t}\n\n\tbutton, input, optgroup, select, textarea {\n\t\tfont-family: inherit;\n\t\tfont-size: 100%;\n\t\tmargin: 0;\n\t}\n\n\tbutton, select {\n\t\ttext-transform: none;\n\t}\n\n\tcode, kbd, pre, samp {\n\t\tfont-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;\n\t\tfont-size: 1em;\n\t}\n\n\tdetails {\n\t\tdisplay: block;\n\t}\n\n\tfieldset {\n\t\tpadding: 0.35em 0.75em 0.625em;\n\t}\n\n\th1, h2, h3, h4, h5, h6, p, hr, dl, dd, blockquote, figure, pre {\n\t\tmargin: 0;\n\t}\n\n\th1, h2, h3, h4, h5, h6 {\n\t\tfont-size: inherit;\n\t\tfont-weight: inherit;\n\t}\n\n\thr {\n\t\tcolor: inherit;\n\t\theight: 0;\n\t}\n\n\timg {\n\t\tborder-style: none;\n\t}\n\n\timg, svg, video, canvas, audio, iframe, embed, object {\n\t\tdisplay: block;\n\t}\n\n\tlegend {\n\t\tcolor: inherit;\n\t\tdisplay: table;\n\t\tmax-width: 100%;\n\t\tpadding: 0;\n\t\twhite-space: normal;\n\t}\n\n\tmain {\n\t\tdisplay: block;\n\t}\n\n\tol, ul {\n\t\tlist-style: none;\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t}\n\n\tprogress {\n\t\tvertical-align: baseline;\n\t}\n\n\tsummary {\n\t\tdisplay: list-item;\n\t}\n\n\tsmall {\n\t\tfont-size: 80%;\n\t}\n\n\tsub, sup {\n\t\tfont-size: 75%;\n\t\tline-height: 0;\n\t\tposition: relative;\n\t\tvertical-align: baseline;\n\t}\n\n\tsub {\n\t\tbottom: -0.25em;\n\t}\n\n\tsup {\n\t\ttop: -0.5em;\n\t}\n\n\ttable {\n\t\ttext-indent: 0;\n\t\tborder-color: inherit;\n\t}\n\n\ttemplate {\n\t\tdisplay: none;\n\t}\n\n\ttextarea {\n\t\toverflow: auto;\n\t}\n\n\t::-moz-focus-inner {\n\t\tborder-style: none;\n\t\tpadding: 0;\n\t}\n\n\t::-webkit-file-upload-button {\n\t\tfont: inherit;\n\t\t-webkit-appearance: button;\n\t}\n\n\t[type=checkbox], [type=radio] {\n\t\tpadding: 0;\n\t}\n\n\t[type=number]::-webkit-inner-spin-button,\n\t[type=number]::-webkit-outer-spin-button {\n\t\theight: auto;\n\t}\n\n\t[type=search] {\n\t\toutline-offset: -2px;\n\t\t-webkit-appearance: textfield;\n\t}\n\n\t[type=search]::-webkit-search-decoration {\n\t\t-webkit-appearance: none;\n\t}\n\n\t[hidden] {\n\t\tdisplay: none;\n\t}\n"])));
9
- var templateObject_1;
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ var styled_components_1 = require("styled-components");
8
+ exports.default = styled_components_1.createGlobalStyle(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\thtml {\n\t\tbox-sizing: border-box;\n\t\tline-height: 1.4;\n\t\t-webkit-text-size-adjust: 100%;\n\t}\n\n\t*, *::before, *::after {\n\t\tborder-style: solid;\n\t\tborder-width: 0;\n\t\tbox-sizing: inherit;\n\t}\n\n\tbody {\n\t\tmargin: 0;\n\t}\n\n\ta {\n\t\tbackground-color: transparent;\n\t\tcolor: inherit;\n\t\ttext-decoration: none;\n\t}\n\n\tabbr[title] {\n\t\tborder-bottom: none;\n\t\ttext-decoration: underline dotted;\n\t}\n\n\tb, strong {\n\t\tfont-weight: bolder;\n\t}\n\n\tbutton {\n\t\tcursor: pointer;\n\t\t-webkit-appearance: button;\n\t}\n\n\tbutton, input, optgroup, select, textarea {\n\t\tfont-family: inherit;\n\t\tfont-size: 100%;\n\t\tmargin: 0;\n\t}\n\n\tbutton, select {\n\t\ttext-transform: none;\n\t}\n\n\tcode, kbd, pre, samp {\n\t\tfont-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;\n\t\tfont-size: 1em;\n\t}\n\n\tdetails {\n\t\tdisplay: block;\n\t}\n\n\tfieldset {\n\t\tpadding: 0.35em 0.75em 0.625em;\n\t}\n\n\th1, h2, h3, h4, h5, h6, p, hr, dl, dd, blockquote, figure, pre {\n\t\tmargin: 0;\n\t}\n\n\th1, h2, h3, h4, h5, h6 {\n\t\tfont-size: inherit;\n\t\tfont-weight: inherit;\n\t}\n\n\thr {\n\t\tcolor: inherit;\n\t\theight: 0;\n\t}\n\n\timg {\n\t\tborder-style: none;\n\t}\n\n\timg, svg, video, canvas, audio, iframe, embed, object {\n\t\tdisplay: block;\n\t}\n\n\tlegend {\n\t\tcolor: inherit;\n\t\tdisplay: table;\n\t\tmax-width: 100%;\n\t\tpadding: 0;\n\t\twhite-space: normal;\n\t}\n\n\tmain {\n\t\tdisplay: block;\n\t}\n\n\tol, ul {\n\t\tlist-style: none;\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t}\n\n\tprogress {\n\t\tvertical-align: baseline;\n\t}\n\n\tsummary {\n\t\tdisplay: list-item;\n\t}\n\n\tsmall {\n\t\tfont-size: 80%;\n\t}\n\n\tsub, sup {\n\t\tfont-size: 75%;\n\t\tline-height: 0;\n\t\tposition: relative;\n\t\tvertical-align: baseline;\n\t}\n\n\tsub {\n\t\tbottom: -0.25em;\n\t}\n\n\tsup {\n\t\ttop: -0.5em;\n\t}\n\n\ttable {\n\t\ttext-indent: 0;\n\t\tborder-color: inherit;\n\t}\n\n\ttemplate {\n\t\tdisplay: none;\n\t}\n\n\ttextarea {\n\t\toverflow: auto;\n\t}\n\n\t::-moz-focus-inner {\n\t\tborder-style: none;\n\t\tpadding: 0;\n\t}\n\n\t::-webkit-file-upload-button {\n\t\tfont: inherit;\n\t\t-webkit-appearance: button;\n\t}\n\n\t[type=checkbox], [type=radio] {\n\t\tpadding: 0;\n\t}\n\n\t[type=number]::-webkit-inner-spin-button,\n\t[type=number]::-webkit-outer-spin-button {\n\t\theight: auto;\n\t}\n\n\t[type=search] {\n\t\toutline-offset: -2px;\n\t\t-webkit-appearance: textfield;\n\t}\n\n\t[type=search]::-webkit-search-decoration {\n\t\t-webkit-appearance: none;\n\t}\n\n\t[hidden] {\n\t\tdisplay: none;\n\t}\n"], ["\n\thtml {\n\t\tbox-sizing: border-box;\n\t\tline-height: 1.4;\n\t\t-webkit-text-size-adjust: 100%;\n\t}\n\n\t*, *::before, *::after {\n\t\tborder-style: solid;\n\t\tborder-width: 0;\n\t\tbox-sizing: inherit;\n\t}\n\n\tbody {\n\t\tmargin: 0;\n\t}\n\n\ta {\n\t\tbackground-color: transparent;\n\t\tcolor: inherit;\n\t\ttext-decoration: none;\n\t}\n\n\tabbr[title] {\n\t\tborder-bottom: none;\n\t\ttext-decoration: underline dotted;\n\t}\n\n\tb, strong {\n\t\tfont-weight: bolder;\n\t}\n\n\tbutton {\n\t\tcursor: pointer;\n\t\t-webkit-appearance: button;\n\t}\n\n\tbutton, input, optgroup, select, textarea {\n\t\tfont-family: inherit;\n\t\tfont-size: 100%;\n\t\tmargin: 0;\n\t}\n\n\tbutton, select {\n\t\ttext-transform: none;\n\t}\n\n\tcode, kbd, pre, samp {\n\t\tfont-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;\n\t\tfont-size: 1em;\n\t}\n\n\tdetails {\n\t\tdisplay: block;\n\t}\n\n\tfieldset {\n\t\tpadding: 0.35em 0.75em 0.625em;\n\t}\n\n\th1, h2, h3, h4, h5, h6, p, hr, dl, dd, blockquote, figure, pre {\n\t\tmargin: 0;\n\t}\n\n\th1, h2, h3, h4, h5, h6 {\n\t\tfont-size: inherit;\n\t\tfont-weight: inherit;\n\t}\n\n\thr {\n\t\tcolor: inherit;\n\t\theight: 0;\n\t}\n\n\timg {\n\t\tborder-style: none;\n\t}\n\n\timg, svg, video, canvas, audio, iframe, embed, object {\n\t\tdisplay: block;\n\t}\n\n\tlegend {\n\t\tcolor: inherit;\n\t\tdisplay: table;\n\t\tmax-width: 100%;\n\t\tpadding: 0;\n\t\twhite-space: normal;\n\t}\n\n\tmain {\n\t\tdisplay: block;\n\t}\n\n\tol, ul {\n\t\tlist-style: none;\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t}\n\n\tprogress {\n\t\tvertical-align: baseline;\n\t}\n\n\tsummary {\n\t\tdisplay: list-item;\n\t}\n\n\tsmall {\n\t\tfont-size: 80%;\n\t}\n\n\tsub, sup {\n\t\tfont-size: 75%;\n\t\tline-height: 0;\n\t\tposition: relative;\n\t\tvertical-align: baseline;\n\t}\n\n\tsub {\n\t\tbottom: -0.25em;\n\t}\n\n\tsup {\n\t\ttop: -0.5em;\n\t}\n\n\ttable {\n\t\ttext-indent: 0;\n\t\tborder-color: inherit;\n\t}\n\n\ttemplate {\n\t\tdisplay: none;\n\t}\n\n\ttextarea {\n\t\toverflow: auto;\n\t}\n\n\t::-moz-focus-inner {\n\t\tborder-style: none;\n\t\tpadding: 0;\n\t}\n\n\t::-webkit-file-upload-button {\n\t\tfont: inherit;\n\t\t-webkit-appearance: button;\n\t}\n\n\t[type=checkbox], [type=radio] {\n\t\tpadding: 0;\n\t}\n\n\t[type=number]::-webkit-inner-spin-button,\n\t[type=number]::-webkit-outer-spin-button {\n\t\theight: auto;\n\t}\n\n\t[type=search] {\n\t\toutline-offset: -2px;\n\t\t-webkit-appearance: textfield;\n\t}\n\n\t[type=search]::-webkit-search-decoration {\n\t\t-webkit-appearance: none;\n\t}\n\n\t[hidden] {\n\t\tdisplay: none;\n\t}\n"])));
9
+ var templateObject_1;
@@ -1,30 +1,30 @@
1
- import React from 'react';
2
- /** Merges component/element base props and custom props */
3
- export declare type PropsOf<C extends React.ElementType, Props = {}> = RightJoinProps<React.ComponentPropsWithoutRef<C>, Props>;
4
- /** Merges component/element base props and custom props including ref */
5
- export declare type RefPropsOf<C extends React.ElementType, Props = {}> = RightJoinProps<React.ComponentPropsWithRef<C>, Props>;
6
- /** Merges props definitions, overriding source keys */
7
- export declare type RightJoinProps<SourceProps, OverrideProps> = OverrideProps & Omit<SourceProps, keyof OverrideProps>;
8
- /** VUI component interface, which allows element props inference and extension, 'as' and 'ref' */
9
- export interface VuiComponent<C extends React.ElementType, Props = {}> {
10
- <AsC extends React.ElementType>(props: RefPropsOf<PropsOf<C, AsC>, Props> & {
11
- as: AsC;
12
- }): JSX.Element;
13
- (props: RefPropsOf<C, Props>): JSX.Element;
14
- defaultProps?: Partial<PropsOf<C, Props>>;
15
- displayName?: string;
16
- }
17
- /** Config for VUI component creator helper, which allows toggling memoization and 'areEqual' function */
18
- export interface VuiComponentConfig<C extends React.ElementType, Props = {}> {
19
- isMemo?: boolean;
20
- memoCompare?: (prevProps: Readonly<React.PropsWithChildren<React.PropsWithoutRef<PropsOf<C, Props>>>>, nextProps: Readonly<React.PropsWithChildren<React.PropsWithoutRef<PropsOf<C, Props>>>>) => boolean;
21
- }
22
- /**
23
- * Simpler VUI component interface, which allows element props inference and extension
24
- * Does not support 'as' or 'ref'
25
- */
26
- export interface VC<C extends React.ElementType, Props = {}> {
27
- (props: PropsOf<C, Props>): JSX.Element;
28
- defaultProps?: Partial<PropsOf<C, Props>>;
29
- displayName?: string;
30
- }
1
+ import React from 'react';
2
+ /** Merges component/element base props and custom props */
3
+ export declare type PropsOf<C extends React.ElementType, Props = {}> = RightJoinProps<React.ComponentPropsWithoutRef<C>, Props>;
4
+ /** Merges component/element base props and custom props including ref */
5
+ export declare type RefPropsOf<C extends React.ElementType, Props = {}> = RightJoinProps<React.ComponentPropsWithRef<C>, Props>;
6
+ /** Merges props definitions, overriding source keys */
7
+ export declare type RightJoinProps<SourceProps, OverrideProps> = OverrideProps & Omit<SourceProps, keyof OverrideProps>;
8
+ /** VUI component interface, which allows element props inference and extension, 'as' and 'ref' */
9
+ export interface VuiComponent<C extends React.ElementType, Props = {}> {
10
+ <AsC extends React.ElementType>(props: RefPropsOf<PropsOf<C, AsC>, Props> & {
11
+ as: AsC;
12
+ }): JSX.Element;
13
+ (props: RefPropsOf<C, Props>): JSX.Element;
14
+ defaultProps?: Partial<PropsOf<C, Props>>;
15
+ displayName?: string;
16
+ }
17
+ /** Config for VUI component creator helper, which allows toggling memoization and 'areEqual' function */
18
+ export interface VuiComponentConfig<C extends React.ElementType, Props = {}> {
19
+ isMemo?: boolean;
20
+ memoCompare?: (prevProps: Readonly<React.PropsWithChildren<React.PropsWithoutRef<PropsOf<C, Props>>>>, nextProps: Readonly<React.PropsWithChildren<React.PropsWithoutRef<PropsOf<C, Props>>>>) => boolean;
21
+ }
22
+ /**
23
+ * Simpler VUI component interface, which allows element props inference and extension
24
+ * Does not support 'as' or 'ref'
25
+ */
26
+ export interface VC<C extends React.ElementType, Props = {}> {
27
+ (props: PropsOf<C, Props>): JSX.Element;
28
+ defaultProps?: Partial<PropsOf<C, Props>>;
29
+ displayName?: string;
30
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +1,10 @@
1
- import React from 'react';
2
- export interface CreateContextOptions {
3
- /** Message displayed when context is used outside of the provider */
4
- errorMessage?: string;
5
- /** Accessing context outside of provider won't throw error */
6
- isOptional?: boolean;
7
- /** Name of the context */
8
- name?: string;
9
- }
10
- export declare type CreateContextReturn<T> = [React.Provider<T>, () => T];
1
+ import React from 'react';
2
+ export interface CreateContextOptions {
3
+ /** Message displayed when context is used outside of the provider */
4
+ errorMessage?: string;
5
+ /** Accessing context outside of provider won't throw error */
6
+ isOptional?: boolean;
7
+ /** Name of the context */
8
+ name?: string;
9
+ }
10
+ export declare type CreateContextReturn<T> = [React.Provider<T>, () => T];
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,17 +1,17 @@
1
- import React from 'react';
2
- /** Type of change event defaulted to input element */
3
- export declare type ChangeEvent<T = HTMLInputElement> = React.ChangeEvent<T>;
4
- /** Type of change event handler defaulted to input element */
5
- export declare type ChangeEventHandler<T = HTMLInputElement> = React.ChangeEventHandler<T>;
6
- /** Type of blur/focus event defaulted to any html element */
7
- export declare type FocusEvent<T = HTMLElement> = React.FocusEvent<T>;
8
- /** Type of blur/focus event handler defaulted to any html element */
9
- export declare type FocusEventHandler<T = HTMLElement> = React.FocusEventHandler<T>;
10
- /** Type of keyboard event defaulted to any html element */
11
- export declare type KeyboardEvent<T = HTMLElement> = React.KeyboardEvent<T>;
12
- /** Type of keyboard event handler defaulted to any html element */
13
- export declare type KeyboardEventHandler<T = HTMLElement> = React.KeyboardEventHandler<T>;
14
- /** Type of mouse event defaulted to any html element */
15
- export declare type MouseEvent<T = HTMLElement> = React.MouseEvent<T>;
16
- /** Type of mouse event handler defaulted to any html element */
17
- export declare type MouseEventHandler<T = HTMLElement> = React.MouseEventHandler<T>;
1
+ import React from 'react';
2
+ /** Type of change event defaulted to input element */
3
+ export declare type ChangeEvent<T = HTMLInputElement> = React.ChangeEvent<T>;
4
+ /** Type of change event handler defaulted to input element */
5
+ export declare type ChangeEventHandler<T = HTMLInputElement> = React.ChangeEventHandler<T>;
6
+ /** Type of blur/focus event defaulted to any html element */
7
+ export declare type FocusEvent<T = HTMLElement> = React.FocusEvent<T>;
8
+ /** Type of blur/focus event handler defaulted to any html element */
9
+ export declare type FocusEventHandler<T = HTMLElement> = React.FocusEventHandler<T>;
10
+ /** Type of keyboard event defaulted to any html element */
11
+ export declare type KeyboardEvent<T = HTMLElement> = React.KeyboardEvent<T>;
12
+ /** Type of keyboard event handler defaulted to any html element */
13
+ export declare type KeyboardEventHandler<T = HTMLElement> = React.KeyboardEventHandler<T>;
14
+ /** Type of mouse event defaulted to any html element */
15
+ export declare type MouseEvent<T = HTMLElement> = React.MouseEvent<T>;
16
+ /** Type of mouse event handler defaulted to any html element */
17
+ export declare type MouseEventHandler<T = HTMLElement> = React.MouseEventHandler<T>;
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- export * from './component';
2
- export * from './context';
3
- export * from './events';
4
- export * from './themeGet';
1
+ export * from './component';
2
+ export * from './context';
3
+ export * from './events';
4
+ export * from './themeGet';
@@ -1,16 +1,16 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./component"), exports);
14
- __exportStar(require("./context"), exports);
15
- __exportStar(require("./events"), exports);
16
- __exportStar(require("./themeGet"), exports);
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./component"), exports);
14
+ __exportStar(require("./context"), exports);
15
+ __exportStar(require("./events"), exports);
16
+ __exportStar(require("./themeGet"), exports);
@@ -1,24 +1,24 @@
1
- import { IProps, ThemeGetter } from '@xstyled/styled-components';
2
- import { VuiTheme } from '../../theme';
3
- import { AnyString, AnyNumber } from '../../utils';
4
- declare type VuiThemeGetter<ThemeKey extends keyof VuiTheme> = ThemeGetter<keyof VuiTheme[ThemeKey] | AnyString | AnyNumber>;
5
- export interface ThemeGet {
6
- (path: string, defaultValue?: any): (props: IProps) => any;
7
- animation: VuiThemeGetter<'animations'>;
8
- borders: VuiThemeGetter<'borders'>;
9
- color: VuiThemeGetter<'colors'>;
10
- duration: VuiThemeGetter<'durations'>;
11
- font: VuiThemeGetter<'fonts'>;
12
- fontSize: VuiThemeGetter<'fontSizes'>;
13
- fontWeight: VuiThemeGetter<'fontWeights'>;
14
- radius: VuiThemeGetter<'radii'>;
15
- ringWidth: VuiThemeGetter<'ringWidths'>;
16
- screen: VuiThemeGetter<'screens'>;
17
- shadow: VuiThemeGetter<'shadows'>;
18
- size: VuiThemeGetter<'sizes'>;
19
- space: VuiThemeGetter<'spaces'>;
20
- transform: VuiThemeGetter<'transforms'>;
21
- transition: VuiThemeGetter<'transitions'>;
22
- zIndex: VuiThemeGetter<'zIndices'>;
23
- }
24
- export {};
1
+ import { IProps, ThemeGetter } from '@xstyled/styled-components';
2
+ import { VuiTheme } from '../../theme';
3
+ import { AnyString, AnyNumber } from '../../utils';
4
+ declare type VuiThemeGetter<ThemeKey extends keyof VuiTheme> = ThemeGetter<keyof VuiTheme[ThemeKey] | AnyString | AnyNumber>;
5
+ export interface ThemeGet {
6
+ (path: string, defaultValue?: any): (props: IProps) => any;
7
+ animation: VuiThemeGetter<'animations'>;
8
+ borders: VuiThemeGetter<'borders'>;
9
+ color: VuiThemeGetter<'colors'>;
10
+ duration: VuiThemeGetter<'durations'>;
11
+ font: VuiThemeGetter<'fonts'>;
12
+ fontSize: VuiThemeGetter<'fontSizes'>;
13
+ fontWeight: VuiThemeGetter<'fontWeights'>;
14
+ radius: VuiThemeGetter<'radii'>;
15
+ ringWidth: VuiThemeGetter<'ringWidths'>;
16
+ screen: VuiThemeGetter<'screens'>;
17
+ shadow: VuiThemeGetter<'shadows'>;
18
+ size: VuiThemeGetter<'sizes'>;
19
+ space: VuiThemeGetter<'spaces'>;
20
+ transform: VuiThemeGetter<'transforms'>;
21
+ transition: VuiThemeGetter<'transitions'>;
22
+ zIndex: VuiThemeGetter<'zIndices'>;
23
+ }
24
+ export {};
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/core/utils.d.ts CHANGED
@@ -1,58 +1,58 @@
1
- import { StyleGenerator } from '@xstyled/styled-components';
2
- import React from 'react';
3
- import { StyledProps } from 'styled-components';
4
- import { CreateContextOptions, CreateContextReturn, PropsOf, ThemeGet, VuiComponent, VuiComponentConfig } from './types';
5
- import { Screen, ThemingProps, VuiTheme, VuiThemeExtensions } from '../theme';
6
- import { AnyNumber, AnyString, Dict } from '../utils';
7
- /** Generic function to create new Context and context access hook. */
8
- export declare function createContext<ContextType>(options?: CreateContextOptions): CreateContextReturn<ContextType>;
9
- /** Merges provided theme extensions and overrides with default VUI theme */
10
- export declare function extendTheme(extensions: VuiThemeExtensions): VuiTheme;
11
- /**
12
- * Provides configuration to the 'styled' function, which filters out xstyled system props
13
- * Return type is cast to {} in order to avoid messing up styled component's actual props definition.
14
- */
15
- export declare function forwardPropConfig(generator: StyleGenerator): {};
16
- declare type ScreenWidth = Screen | AnyNumber | AnyString;
17
- /** Returns CSS media string with appropriate min-width and max-width values */
18
- export declare const mediaBetween: (minWidth: ScreenWidth, maxWidth: ScreenWidth) => (props: StyledProps<unknown>) => string;
19
- /** Returns CSS media string with appropriate max-width value */
20
- export declare const mediaDown: (width: ScreenWidth) => (props: StyledProps<unknown>) => string;
21
- /** Returns CSS media string with appropriate min-width value */
22
- export declare const mediaUp: (width: ScreenWidth) => (props: StyledProps<unknown>) => string;
23
- /** Removes specific theming keys from the given props. */
24
- export declare function omitThemingProps<T extends ThemingProps>(props: T): Omit<T, "variant" | "size">;
25
- /**
26
- * Custom validator to prevent certain props from reaching the HTML element.
27
- * @param props - list of props to filter out
28
- */
29
- export declare function shouldForwardProp(props: string[]): (prop: string | number, defaultValidatorFn: (prop: string | number) => boolean) => boolean;
30
- /** Re-export of xstyled 'th' with custom typing and screen getter */
31
- declare const th: ThemeGet;
32
- export { th };
33
- /** Returns true of current viewport width is between provided min and max widths */
34
- export declare function useBetween(minWidth: ScreenWidth, maxWidth: ScreenWidth): boolean;
35
- /** Returns true of current viewport width is smaller than provided width */
36
- export declare function useDown(width: ScreenWidth): boolean;
37
- /** Returns viewport width and provided screen width as a number */
38
- export declare function useMedia(width: ScreenWidth): {
39
- value: number;
40
- viewportWidth: number | null;
41
- };
42
- /**
43
- * Retrieves and merges size and variant styling from theme configuration.
44
- * @param component - name of any component configured in the theme
45
- * @param props - props object of the given component
46
- */
47
- export declare function useStyleConfig(component: keyof VuiTheme['components'], props?: any): Dict<any>;
48
- /** Returns theme value at the given path */
49
- export declare function useTh(path: keyof VuiTheme | AnyString, defaultValue?: any): any;
50
- /** Returns the theme object with extensions */
51
- export declare function useTheme(): VuiTheme;
52
- /** Returns true of current viewport width is larger or equal to provided width */
53
- export declare function useUp(width: ScreenWidth): boolean;
54
- /**
55
- * Component creation utility, which combines forwardRef, memo and ensures correct typing with all props included.
56
- * Config object allows toggling memoization and providing custom 'areEqual' function.
57
- */
58
- export declare function vui<C extends React.ElementType, Props = {}>(component: React.ForwardRefRenderFunction<any, PropsOf<C, Props>>, config?: VuiComponentConfig<C, Props>): VuiComponent<C, Props>;
1
+ import { StyleGenerator } from '@xstyled/styled-components';
2
+ import React from 'react';
3
+ import { StyledProps } from 'styled-components';
4
+ import { CreateContextOptions, CreateContextReturn, PropsOf, ThemeGet, VuiComponent, VuiComponentConfig } from './types';
5
+ import { Screen, ThemingProps, VuiTheme, VuiThemeExtensions } from '../theme';
6
+ import { AnyNumber, AnyString, Dict } from '../utils';
7
+ /** Generic function to create new Context and context access hook. */
8
+ export declare function createContext<ContextType>(options?: CreateContextOptions): CreateContextReturn<ContextType>;
9
+ /** Merges provided theme extensions and overrides with default VUI theme */
10
+ export declare function extendTheme(extensions: VuiThemeExtensions): VuiTheme;
11
+ /**
12
+ * Provides configuration to the 'styled' function, which filters out xstyled system props
13
+ * Return type is cast to {} in order to avoid messing up styled component's actual props definition.
14
+ */
15
+ export declare function forwardPropConfig(generator: StyleGenerator): {};
16
+ declare type ScreenWidth = Screen | AnyNumber | AnyString;
17
+ /** Returns CSS media string with appropriate min-width and max-width values */
18
+ export declare const mediaBetween: (minWidth: ScreenWidth, maxWidth: ScreenWidth) => (props: StyledProps<unknown>) => string;
19
+ /** Returns CSS media string with appropriate max-width value */
20
+ export declare const mediaDown: (width: ScreenWidth) => (props: StyledProps<unknown>) => string;
21
+ /** Returns CSS media string with appropriate min-width value */
22
+ export declare const mediaUp: (width: ScreenWidth) => (props: StyledProps<unknown>) => string;
23
+ /** Removes specific theming keys from the given props. */
24
+ export declare function omitThemingProps<T extends ThemingProps>(props: T): Omit<T, "variant" | "size">;
25
+ /**
26
+ * Custom validator to prevent certain props from reaching the HTML element.
27
+ * @param props - list of props to filter out
28
+ */
29
+ export declare function shouldForwardProp(props: string[]): (prop: string | number, defaultValidatorFn: (prop: string | number) => boolean) => boolean;
30
+ /** Re-export of xstyled 'th' with custom typing and screen getter */
31
+ declare const th: ThemeGet;
32
+ export { th };
33
+ /** Returns true of current viewport width is between provided min and max widths */
34
+ export declare function useBetween(minWidth: ScreenWidth, maxWidth: ScreenWidth): boolean;
35
+ /** Returns true of current viewport width is smaller than provided width */
36
+ export declare function useDown(width: ScreenWidth): boolean;
37
+ /** Returns viewport width and provided screen width as a number */
38
+ export declare function useMedia(width: ScreenWidth): {
39
+ value: number;
40
+ viewportWidth: number | null;
41
+ };
42
+ /**
43
+ * Retrieves and merges size and variant styling from theme configuration.
44
+ * @param component - name of any component configured in the theme
45
+ * @param props - props object of the given component
46
+ */
47
+ export declare function useStyleConfig(component: keyof VuiTheme['components'], props?: any): Dict<any>;
48
+ /** Returns theme value at the given path */
49
+ export declare function useTh(path: keyof VuiTheme | AnyString, defaultValue?: any): any;
50
+ /** Returns the theme object with extensions */
51
+ export declare function useTheme(): VuiTheme;
52
+ /** Returns true of current viewport width is larger or equal to provided width */
53
+ export declare function useUp(width: ScreenWidth): boolean;
54
+ /**
55
+ * Component creation utility, which combines forwardRef, memo and ensures correct typing with all props included.
56
+ * Config object allows toggling memoization and providing custom 'areEqual' function.
57
+ */
58
+ export declare function vui<C extends React.ElementType, Props = {}>(component: React.ForwardRefRenderFunction<any, PropsOf<C, Props>>, config?: VuiComponentConfig<C, Props>): VuiComponent<C, Props>;