@veracity/vui 0.0.14 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (989) 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 +48 -46
  20. package/alert/theme.js +64 -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 +11 -5
  38. package/button/button.js +114 -81
  39. package/button/button.types.d.ts +26 -24
  40. package/button/button.types.js +2 -2
  41. package/button/buttonIcon.d.ts +3 -0
  42. package/button/buttonIcon.js +30 -0
  43. package/button/buttonText.d.ts +3 -0
  44. package/button/buttonText.js +30 -0
  45. package/button/buttons.d.ts +9 -8
  46. package/button/buttons.js +28 -27
  47. package/button/consts.d.ts +2 -2
  48. package/button/consts.js +27 -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 +110 -72
  54. package/button/theme.js +151 -112
  55. package/{button → buttonGroup}/buttonGroup.d.ts +7 -5
  56. package/{button → buttonGroup}/buttonGroup.js +74 -72
  57. package/{button → buttonGroup}/buttonGroup.types.d.ts +6 -6
  58. package/{button → buttonGroup}/buttonGroup.types.js +2 -2
  59. package/buttonGroup/context.d.ts +4 -0
  60. package/buttonGroup/context.js +23 -0
  61. package/buttonGroup/helpers.d.ts +3 -0
  62. package/buttonGroup/helpers.js +10 -0
  63. package/buttonGroup/index.d.ts +4 -0
  64. package/buttonGroup/index.js +21 -0
  65. package/card/card.d.ts +3 -0
  66. package/{tile/tile.js → card/card.js} +47 -46
  67. package/{tile/tile.types.d.ts → card/card.types.d.ts} +5 -5
  68. package/{label/label.types.js → card/card.types.js} +2 -2
  69. package/card/index.d.ts +3 -0
  70. package/{label → card}/index.js +20 -20
  71. package/card/theme.d.ts +6 -0
  72. package/card/theme.js +10 -0
  73. package/checkbox/checkbox.d.ts +7 -7
  74. package/checkbox/checkbox.js +105 -105
  75. package/checkbox/checkbox.types.d.ts +26 -26
  76. package/checkbox/checkbox.types.js +2 -2
  77. package/checkbox/checkboxGroup.d.ts +5 -5
  78. package/checkbox/checkboxGroup.js +70 -70
  79. package/checkbox/checkboxGroup.types.d.ts +12 -12
  80. package/checkbox/checkboxGroup.types.js +2 -2
  81. package/checkbox/context.d.ts +4 -4
  82. package/checkbox/context.js +23 -23
  83. package/checkbox/index.d.ts +6 -6
  84. package/checkbox/index.js +23 -23
  85. package/checkbox/theme.d.ts +48 -48
  86. package/checkbox/theme.js +56 -56
  87. package/core/consts.d.ts +1 -1
  88. package/core/consts.js +4 -4
  89. package/core/globalStyle.d.ts +5 -2
  90. package/core/globalStyle.js +61 -57
  91. package/core/index.d.ts +8 -6
  92. package/core/index.js +29 -25
  93. package/core/resetCSS.d.ts +2 -2
  94. package/core/resetCSS.js +9 -9
  95. package/core/styled.d.ts +4 -0
  96. package/core/styled.js +80 -0
  97. package/core/types/component.d.ts +30 -30
  98. package/core/types/component.js +2 -2
  99. package/core/types/context.d.ts +10 -10
  100. package/core/types/context.js +2 -2
  101. package/core/types/events.d.ts +17 -17
  102. package/core/types/events.js +2 -2
  103. package/core/types/index.d.ts +5 -4
  104. package/core/types/index.js +17 -16
  105. package/core/types/styled.d.ts +11 -0
  106. package/{list/listItem.types.js → core/types/styled.js} +2 -2
  107. package/core/types/themeGet.d.ts +24 -24
  108. package/core/types/themeGet.js +2 -2
  109. package/core/utils.d.ts +58 -58
  110. package/core/utils.js +209 -209
  111. package/core/v.d.ts +182 -0
  112. package/core/v.js +6 -0
  113. package/core/vuiProvider.d.ts +20 -9
  114. package/core/vuiProvider.js +18 -18
  115. package/divider/divider.d.ts +5 -5
  116. package/divider/divider.js +53 -53
  117. package/divider/divider.types.d.ts +6 -7
  118. package/divider/divider.types.js +2 -2
  119. package/divider/index.d.ts +3 -3
  120. package/divider/index.js +20 -20
  121. package/divider/theme.d.ts +6 -6
  122. package/divider/theme.js +10 -10
  123. package/heading/heading.d.ts +5 -5
  124. package/heading/heading.js +53 -53
  125. package/heading/heading.types.d.ts +10 -9
  126. package/heading/heading.types.js +2 -2
  127. package/heading/headings.d.ts +7 -7
  128. package/heading/headings.js +26 -26
  129. package/heading/index.d.ts +4 -4
  130. package/heading/index.js +21 -21
  131. package/heading/theme.d.ts +39 -39
  132. package/heading/theme.js +43 -43
  133. package/icon/helpers.d.ts +7 -8
  134. package/icon/helpers.js +61 -63
  135. package/icon/icon.d.ts +3 -3
  136. package/icon/icon.js +48 -47
  137. package/icon/icon.types.d.ts +22 -20
  138. package/icon/icon.types.js +2 -2
  139. package/icon/index.d.ts +3 -3
  140. package/icon/index.js +20 -20
  141. package/icon/theme.d.ts +25 -25
  142. package/icon/theme.js +29 -29
  143. package/icons/baseIcons/cui/cuiCheckboxIndeterminate.d.ts +3 -3
  144. package/icons/baseIcons/cui/cuiCheckboxIndeterminate.js +7 -7
  145. package/icons/baseIcons/cui/cuiCheckboxSelected.d.ts +3 -3
  146. package/icons/baseIcons/cui/cuiCheckboxSelected.js +7 -7
  147. package/icons/baseIcons/cui/cuiCheckboxUnselected.d.ts +3 -3
  148. package/icons/baseIcons/cui/cuiCheckboxUnselected.js +8 -8
  149. package/icons/baseIcons/cui/cuiRadioSelected.d.ts +3 -3
  150. package/icons/baseIcons/cui/cuiRadioSelected.js +8 -8
  151. package/icons/baseIcons/cui/cuiRadioUnselected.d.ts +3 -3
  152. package/icons/baseIcons/cui/cuiRadioUnselected.js +8 -8
  153. package/icons/baseIcons/cul/culApiProduct.d.ts +3 -0
  154. package/icons/baseIcons/cul/culApiProduct.js +7 -0
  155. package/icons/baseIcons/cul/culApiService.d.ts +3 -0
  156. package/icons/baseIcons/cul/culApiService.js +7 -0
  157. package/icons/baseIcons/cul/culCovid.d.ts +3 -3
  158. package/icons/baseIcons/cul/culCovid.js +7 -7
  159. package/icons/baseIcons/cul/culDeepSearch.d.ts +3 -3
  160. package/icons/baseIcons/cul/culDeepSearch.js +7 -7
  161. package/icons/baseIcons/cul/culDotsMenu.d.ts +3 -3
  162. package/icons/baseIcons/cul/culDotsMenu.js +7 -7
  163. package/icons/baseIcons/cul/culGlobePlus.d.ts +3 -3
  164. package/icons/baseIcons/cul/culGlobePlus.js +7 -7
  165. package/icons/baseIcons/cul/culListDense.d.ts +3 -3
  166. package/icons/baseIcons/cul/culListDense.js +7 -7
  167. package/icons/baseIcons/cul/culMapMarkerStar.d.ts +3 -3
  168. package/icons/baseIcons/cul/culMapMarkerStar.js +7 -7
  169. package/icons/baseIcons/cul/culPlusThin.d.ts +3 -3
  170. package/icons/baseIcons/cul/culPlusThin.js +7 -7
  171. package/icons/baseIcons/cul/culScreenshot.d.ts +3 -3
  172. package/icons/baseIcons/cul/culScreenshot.js +7 -7
  173. package/icons/baseIcons/cul/culScreenshotAlt.d.ts +3 -3
  174. package/icons/baseIcons/cul/culScreenshotAlt.js +7 -7
  175. package/icons/baseIcons/cul/culShortcut.d.ts +3 -3
  176. package/icons/baseIcons/cul/culShortcut.js +7 -7
  177. package/icons/baseIcons/cul/culTimesThin.d.ts +3 -3
  178. package/icons/baseIcons/cul/culTimesThin.js +7 -7
  179. package/icons/baseIcons/cul/culTransformer.d.ts +3 -3
  180. package/icons/baseIcons/cul/culTransformer.js +7 -7
  181. package/icons/baseIcons/cul/culUserTransfer.d.ts +3 -3
  182. package/icons/baseIcons/cul/culUserTransfer.js +7 -7
  183. package/icons/baseIcons/cul/culVeracityService.d.ts +3 -0
  184. package/icons/baseIcons/cul/culVeracityService.js +7 -0
  185. package/icons/baseIcons/cul/culVessel.d.ts +3 -3
  186. package/icons/baseIcons/cul/culVessel.js +7 -7
  187. package/icons/baseIcons/cul/culVesselGroup.d.ts +3 -3
  188. package/icons/baseIcons/cul/culVesselGroup.js +7 -7
  189. package/icons/baseIcons/cus/cusDotFull.d.ts +3 -3
  190. package/icons/baseIcons/cus/cusDotFull.js +7 -7
  191. package/icons/baseIcons/cus/cusDotFullAlt.d.ts +3 -3
  192. package/icons/baseIcons/cus/cusDotFullAlt.js +7 -7
  193. package/icons/baseIcons/cus/cusDotsMenu.d.ts +3 -3
  194. package/icons/baseIcons/cus/cusDotsMenu.js +7 -7
  195. package/icons/baseIcons/cus/cusTransformer.d.ts +3 -3
  196. package/icons/baseIcons/cus/cusTransformer.js +7 -7
  197. package/icons/baseIcons/cus/cusVessel.d.ts +3 -3
  198. package/icons/baseIcons/cus/cusVessel.js +7 -7
  199. package/icons/baseIcons/fab/fabApplePay.d.ts +3 -3
  200. package/icons/baseIcons/fab/fabApplePay.js +7 -7
  201. package/icons/baseIcons/fab/fabBluetooth.d.ts +3 -3
  202. package/icons/baseIcons/fab/fabBluetooth.js +7 -7
  203. package/icons/baseIcons/fab/fabBtc.d.ts +3 -3
  204. package/icons/baseIcons/fab/fabBtc.js +7 -7
  205. package/icons/baseIcons/fab/fabCcAmazonPay.d.ts +3 -3
  206. package/icons/baseIcons/fab/fabCcAmazonPay.js +7 -7
  207. package/icons/baseIcons/fab/fabCcAmex.d.ts +3 -3
  208. package/icons/baseIcons/fab/fabCcAmex.js +7 -7
  209. package/icons/baseIcons/fab/fabCcApplePay.d.ts +3 -3
  210. package/icons/baseIcons/fab/fabCcApplePay.js +7 -7
  211. package/icons/baseIcons/fab/fabCcDinersClub.d.ts +3 -3
  212. package/icons/baseIcons/fab/fabCcDinersClub.js +7 -7
  213. package/icons/baseIcons/fab/fabCcMastercard.d.ts +3 -3
  214. package/icons/baseIcons/fab/fabCcMastercard.js +7 -7
  215. package/icons/baseIcons/fab/fabCcPaypal.d.ts +3 -3
  216. package/icons/baseIcons/fab/fabCcPaypal.js +7 -7
  217. package/icons/baseIcons/fab/fabCcVisa.d.ts +3 -3
  218. package/icons/baseIcons/fab/fabCcVisa.js +7 -7
  219. package/icons/baseIcons/fab/fabDhl.d.ts +3 -3
  220. package/icons/baseIcons/fab/fabDhl.js +7 -7
  221. package/icons/baseIcons/fab/fabEbay.d.ts +3 -3
  222. package/icons/baseIcons/fab/fabEbay.js +7 -7
  223. package/icons/baseIcons/fab/fabFacebook.d.ts +3 -3
  224. package/icons/baseIcons/fab/fabFacebook.js +7 -7
  225. package/icons/baseIcons/fab/fabFedex.d.ts +3 -3
  226. package/icons/baseIcons/fab/fabFedex.js +7 -7
  227. package/icons/baseIcons/fab/fabFirefox.d.ts +3 -3
  228. package/icons/baseIcons/fab/fabFirefox.js +7 -7
  229. package/icons/baseIcons/fab/fabGoogle.d.ts +3 -3
  230. package/icons/baseIcons/fab/fabGoogle.js +7 -7
  231. package/icons/baseIcons/fab/fabGoogleDrive.d.ts +3 -3
  232. package/icons/baseIcons/fab/fabGoogleDrive.js +7 -7
  233. package/icons/baseIcons/fab/fabLinkedinIn.d.ts +3 -3
  234. package/icons/baseIcons/fab/fabLinkedinIn.js +7 -7
  235. package/icons/baseIcons/fab/fabMedium.d.ts +3 -3
  236. package/icons/baseIcons/fab/fabMedium.js +7 -7
  237. package/icons/baseIcons/fab/fabOsi.d.ts +3 -3
  238. package/icons/baseIcons/fab/fabOsi.js +7 -7
  239. package/icons/baseIcons/fab/fabSlack.d.ts +3 -3
  240. package/icons/baseIcons/fab/fabSlack.js +7 -7
  241. package/icons/baseIcons/fab/fabTwitter.d.ts +3 -3
  242. package/icons/baseIcons/fab/fabTwitter.js +7 -7
  243. package/icons/baseIcons/fab/fabUps.d.ts +3 -3
  244. package/icons/baseIcons/fab/fabUps.js +7 -7
  245. package/icons/baseIcons/fad/fadSpinnerThird.d.ts +3 -3
  246. package/icons/baseIcons/fad/fadSpinnerThird.js +7 -7
  247. package/icons/baseIcons/fal/falAddressBook.d.ts +3 -3
  248. package/icons/baseIcons/fal/falAddressBook.js +7 -7
  249. package/icons/baseIcons/fal/falAddressCard.d.ts +3 -3
  250. package/icons/baseIcons/fal/falAddressCard.js +7 -7
  251. package/icons/baseIcons/fal/falAnalytics.d.ts +3 -3
  252. package/icons/baseIcons/fal/falAnalytics.js +7 -7
  253. package/icons/baseIcons/fal/falAngleDoubleDown.d.ts +3 -3
  254. package/icons/baseIcons/fal/falAngleDoubleDown.js +7 -7
  255. package/icons/baseIcons/fal/falAngleDoubleLeft.d.ts +3 -3
  256. package/icons/baseIcons/fal/falAngleDoubleLeft.js +7 -7
  257. package/icons/baseIcons/fal/falAngleDoubleRight.d.ts +3 -3
  258. package/icons/baseIcons/fal/falAngleDoubleRight.js +7 -7
  259. package/icons/baseIcons/fal/falAngleDoubleUp.d.ts +3 -3
  260. package/icons/baseIcons/fal/falAngleDoubleUp.js +7 -7
  261. package/icons/baseIcons/fal/falAngleDown.d.ts +3 -3
  262. package/icons/baseIcons/fal/falAngleDown.js +7 -7
  263. package/icons/baseIcons/fal/falAngleLeft.d.ts +3 -3
  264. package/icons/baseIcons/fal/falAngleLeft.js +7 -7
  265. package/icons/baseIcons/fal/falAngleRight.d.ts +3 -3
  266. package/icons/baseIcons/fal/falAngleRight.js +7 -7
  267. package/icons/baseIcons/fal/falAngleUp.d.ts +3 -3
  268. package/icons/baseIcons/fal/falAngleUp.js +7 -7
  269. package/icons/baseIcons/fal/falArrowAltDown.d.ts +3 -3
  270. package/icons/baseIcons/fal/falArrowAltDown.js +7 -7
  271. package/icons/baseIcons/fal/falArrowAltLeft.d.ts +3 -3
  272. package/icons/baseIcons/fal/falArrowAltLeft.js +7 -7
  273. package/icons/baseIcons/fal/falArrowAltRight.d.ts +3 -3
  274. package/icons/baseIcons/fal/falArrowAltRight.js +7 -7
  275. package/icons/baseIcons/fal/falArrowAltUp.d.ts +3 -3
  276. package/icons/baseIcons/fal/falArrowAltUp.js +7 -7
  277. package/icons/baseIcons/fal/falArrowCircleDown.d.ts +3 -3
  278. package/icons/baseIcons/fal/falArrowCircleDown.js +7 -7
  279. package/icons/baseIcons/fal/falArrowCircleLeft.d.ts +3 -3
  280. package/icons/baseIcons/fal/falArrowCircleLeft.js +7 -7
  281. package/icons/baseIcons/fal/falArrowCircleRight.d.ts +3 -3
  282. package/icons/baseIcons/fal/falArrowCircleRight.js +7 -7
  283. package/icons/baseIcons/fal/falArrowCircleUp.d.ts +3 -3
  284. package/icons/baseIcons/fal/falArrowCircleUp.js +7 -7
  285. package/icons/baseIcons/fal/falArrowDown.d.ts +3 -3
  286. package/icons/baseIcons/fal/falArrowDown.js +7 -7
  287. package/icons/baseIcons/fal/falArrowFromBottom.d.ts +3 -3
  288. package/icons/baseIcons/fal/falArrowFromBottom.js +7 -7
  289. package/icons/baseIcons/fal/falArrowFromLeft.d.ts +3 -3
  290. package/icons/baseIcons/fal/falArrowFromLeft.js +7 -7
  291. package/icons/baseIcons/fal/falArrowFromRight.d.ts +3 -3
  292. package/icons/baseIcons/fal/falArrowFromRight.js +7 -7
  293. package/icons/baseIcons/fal/falArrowFromTop.d.ts +3 -3
  294. package/icons/baseIcons/fal/falArrowFromTop.js +7 -7
  295. package/icons/baseIcons/fal/falArrowLeft.d.ts +3 -3
  296. package/icons/baseIcons/fal/falArrowLeft.js +7 -7
  297. package/icons/baseIcons/fal/falArrowRight.d.ts +3 -3
  298. package/icons/baseIcons/fal/falArrowRight.js +7 -7
  299. package/icons/baseIcons/fal/falArrowToBottom.d.ts +3 -3
  300. package/icons/baseIcons/fal/falArrowToBottom.js +7 -7
  301. package/icons/baseIcons/fal/falArrowToLeft.d.ts +3 -3
  302. package/icons/baseIcons/fal/falArrowToLeft.js +7 -7
  303. package/icons/baseIcons/fal/falArrowToRight.d.ts +3 -3
  304. package/icons/baseIcons/fal/falArrowToRight.js +7 -7
  305. package/icons/baseIcons/fal/falArrowToTop.d.ts +3 -3
  306. package/icons/baseIcons/fal/falArrowToTop.js +7 -7
  307. package/icons/baseIcons/fal/falArrowUp.d.ts +3 -3
  308. package/icons/baseIcons/fal/falArrowUp.js +7 -7
  309. package/icons/baseIcons/fal/falArrows.d.ts +3 -3
  310. package/icons/baseIcons/fal/falArrows.js +7 -7
  311. package/icons/baseIcons/fal/falAward.d.ts +3 -3
  312. package/icons/baseIcons/fal/falAward.js +7 -7
  313. package/icons/baseIcons/fal/falBan.d.ts +3 -3
  314. package/icons/baseIcons/fal/falBan.js +7 -7
  315. package/icons/baseIcons/fal/falBars.d.ts +3 -3
  316. package/icons/baseIcons/fal/falBars.js +7 -7
  317. package/icons/baseIcons/fal/falBell.d.ts +3 -3
  318. package/icons/baseIcons/fal/falBell.js +7 -7
  319. package/icons/baseIcons/fal/falBookOpen.d.ts +3 -3
  320. package/icons/baseIcons/fal/falBookOpen.js +7 -7
  321. package/icons/baseIcons/fal/falBroadcastTower.d.ts +3 -3
  322. package/icons/baseIcons/fal/falBroadcastTower.js +7 -7
  323. package/icons/baseIcons/fal/falBroom.d.ts +3 -0
  324. package/icons/baseIcons/fal/falBroom.js +7 -0
  325. package/icons/baseIcons/fal/falBuilding.d.ts +3 -3
  326. package/icons/baseIcons/fal/falBuilding.js +7 -7
  327. package/icons/baseIcons/fal/falBullseye.d.ts +3 -3
  328. package/icons/baseIcons/fal/falBullseye.js +7 -7
  329. package/icons/baseIcons/fal/falCalendar.d.ts +3 -3
  330. package/icons/baseIcons/fal/falCalendar.js +7 -7
  331. package/icons/baseIcons/fal/falCalendarAlt.d.ts +3 -3
  332. package/icons/baseIcons/fal/falCalendarAlt.js +7 -7
  333. package/icons/baseIcons/fal/falCamera.d.ts +3 -3
  334. package/icons/baseIcons/fal/falCamera.js +7 -7
  335. package/icons/baseIcons/fal/falCaretDown.d.ts +3 -3
  336. package/icons/baseIcons/fal/falCaretDown.js +7 -7
  337. package/icons/baseIcons/fal/falCaretLeft.d.ts +3 -3
  338. package/icons/baseIcons/fal/falCaretLeft.js +7 -7
  339. package/icons/baseIcons/fal/falCaretRight.d.ts +3 -3
  340. package/icons/baseIcons/fal/falCaretRight.js +7 -7
  341. package/icons/baseIcons/fal/falCaretUp.d.ts +3 -3
  342. package/icons/baseIcons/fal/falCaretUp.js +7 -7
  343. package/icons/baseIcons/fal/falCauldron.d.ts +3 -3
  344. package/icons/baseIcons/fal/falCauldron.js +7 -7
  345. package/icons/baseIcons/fal/falChartArea.d.ts +3 -3
  346. package/icons/baseIcons/fal/falChartArea.js +7 -7
  347. package/icons/baseIcons/fal/falChartBar.d.ts +3 -3
  348. package/icons/baseIcons/fal/falChartBar.js +7 -7
  349. package/icons/baseIcons/fal/falChartLine.d.ts +3 -3
  350. package/icons/baseIcons/fal/falChartLine.js +7 -7
  351. package/icons/baseIcons/fal/falChartLineDown.d.ts +3 -3
  352. package/icons/baseIcons/fal/falChartLineDown.js +7 -7
  353. package/icons/baseIcons/fal/falChartNetwork.d.ts +3 -3
  354. package/icons/baseIcons/fal/falChartNetwork.js +7 -7
  355. package/icons/baseIcons/fal/falChartPie.d.ts +3 -3
  356. package/icons/baseIcons/fal/falChartPie.js +7 -7
  357. package/icons/baseIcons/fal/falChartPieAlt.d.ts +3 -3
  358. package/icons/baseIcons/fal/falChartPieAlt.js +7 -7
  359. package/icons/baseIcons/fal/falChartScatter.d.ts +3 -3
  360. package/icons/baseIcons/fal/falChartScatter.js +7 -7
  361. package/icons/baseIcons/fal/falCheck.d.ts +3 -3
  362. package/icons/baseIcons/fal/falCheck.js +7 -7
  363. package/icons/baseIcons/fal/falCheckCircle.d.ts +3 -3
  364. package/icons/baseIcons/fal/falCheckCircle.js +7 -7
  365. package/icons/baseIcons/fal/falCheckSquare.d.ts +3 -3
  366. package/icons/baseIcons/fal/falCheckSquare.js +7 -7
  367. package/icons/baseIcons/fal/falChevronCircleDown.d.ts +3 -3
  368. package/icons/baseIcons/fal/falChevronCircleDown.js +7 -7
  369. package/icons/baseIcons/fal/falChevronCircleLeft.d.ts +3 -3
  370. package/icons/baseIcons/fal/falChevronCircleLeft.js +7 -7
  371. package/icons/baseIcons/fal/falChevronCircleRight.d.ts +3 -3
  372. package/icons/baseIcons/fal/falChevronCircleRight.js +7 -7
  373. package/icons/baseIcons/fal/falChevronCircleUp.d.ts +3 -3
  374. package/icons/baseIcons/fal/falChevronCircleUp.js +7 -7
  375. package/icons/baseIcons/fal/falChevronDoubleDown.d.ts +3 -3
  376. package/icons/baseIcons/fal/falChevronDoubleDown.js +7 -7
  377. package/icons/baseIcons/fal/falChevronDoubleLeft.d.ts +3 -3
  378. package/icons/baseIcons/fal/falChevronDoubleLeft.js +7 -7
  379. package/icons/baseIcons/fal/falChevronDoubleRight.d.ts +3 -3
  380. package/icons/baseIcons/fal/falChevronDoubleRight.js +7 -7
  381. package/icons/baseIcons/fal/falChevronDoubleUp.d.ts +3 -3
  382. package/icons/baseIcons/fal/falChevronDoubleUp.js +7 -7
  383. package/icons/baseIcons/fal/falChevronDown.d.ts +3 -3
  384. package/icons/baseIcons/fal/falChevronDown.js +7 -7
  385. package/icons/baseIcons/fal/falChevronLeft.d.ts +3 -3
  386. package/icons/baseIcons/fal/falChevronLeft.js +7 -7
  387. package/icons/baseIcons/fal/falChevronRight.d.ts +3 -3
  388. package/icons/baseIcons/fal/falChevronRight.js +7 -7
  389. package/icons/baseIcons/fal/falChevronUp.d.ts +3 -3
  390. package/icons/baseIcons/fal/falChevronUp.js +7 -7
  391. package/icons/baseIcons/fal/falCircle.d.ts +3 -3
  392. package/icons/baseIcons/fal/falCircle.js +7 -7
  393. package/icons/baseIcons/fal/falCloud.d.ts +3 -3
  394. package/icons/baseIcons/fal/falCloud.js +7 -7
  395. package/icons/baseIcons/fal/falCloudShowersHeavy.d.ts +3 -3
  396. package/icons/baseIcons/fal/falCloudShowersHeavy.js +7 -7
  397. package/icons/baseIcons/fal/falCloudSnow.d.ts +3 -3
  398. package/icons/baseIcons/fal/falCloudSnow.js +7 -7
  399. package/icons/baseIcons/fal/falCloudSun.d.ts +3 -3
  400. package/icons/baseIcons/fal/falCloudSun.js +7 -7
  401. package/icons/baseIcons/fal/falCloudSunRain.d.ts +3 -3
  402. package/icons/baseIcons/fal/falCloudSunRain.js +7 -7
  403. package/icons/baseIcons/fal/falCloudUpload.d.ts +3 -3
  404. package/icons/baseIcons/fal/falCloudUpload.js +7 -7
  405. package/icons/baseIcons/fal/falCode.d.ts +3 -3
  406. package/icons/baseIcons/fal/falCode.js +7 -7
  407. package/icons/baseIcons/fal/falCog.d.ts +3 -3
  408. package/icons/baseIcons/fal/falCog.js +7 -7
  409. package/icons/baseIcons/fal/falCogs.d.ts +3 -3
  410. package/icons/baseIcons/fal/falCogs.js +7 -7
  411. package/icons/baseIcons/fal/falComment.d.ts +3 -3
  412. package/icons/baseIcons/fal/falComment.js +7 -7
  413. package/icons/baseIcons/fal/falCommentAlt.d.ts +3 -3
  414. package/icons/baseIcons/fal/falCommentAlt.js +7 -7
  415. package/icons/baseIcons/fal/falCompressAlt.d.ts +3 -3
  416. package/icons/baseIcons/fal/falCompressAlt.js +7 -7
  417. package/icons/baseIcons/fal/falCopy.d.ts +3 -3
  418. package/icons/baseIcons/fal/falCopy.js +7 -7
  419. package/icons/baseIcons/fal/falCreditCard.d.ts +3 -3
  420. package/icons/baseIcons/fal/falCreditCard.js +7 -7
  421. package/icons/baseIcons/fal/falDatabase.d.ts +3 -3
  422. package/icons/baseIcons/fal/falDatabase.js +7 -7
  423. package/icons/baseIcons/fal/falDotCircle.d.ts +3 -3
  424. package/icons/baseIcons/fal/falDotCircle.js +7 -7
  425. package/icons/baseIcons/fal/falDownload.d.ts +3 -3
  426. package/icons/baseIcons/fal/falDownload.js +7 -7
  427. package/icons/baseIcons/fal/falEdit.d.ts +3 -3
  428. package/icons/baseIcons/fal/falEdit.js +7 -7
  429. package/icons/baseIcons/fal/falEllipsisH.d.ts +3 -3
  430. package/icons/baseIcons/fal/falEllipsisH.js +7 -7
  431. package/icons/baseIcons/fal/falEllipsisV.d.ts +3 -3
  432. package/icons/baseIcons/fal/falEllipsisV.js +7 -7
  433. package/icons/baseIcons/fal/falEnvelope.d.ts +3 -3
  434. package/icons/baseIcons/fal/falEnvelope.js +7 -7
  435. package/icons/baseIcons/fal/falExchange.d.ts +3 -3
  436. package/icons/baseIcons/fal/falExchange.js +7 -7
  437. package/icons/baseIcons/fal/falExclamationCircle.d.ts +3 -3
  438. package/icons/baseIcons/fal/falExclamationCircle.js +7 -7
  439. package/icons/baseIcons/fal/falExclamationTriangle.d.ts +3 -3
  440. package/icons/baseIcons/fal/falExclamationTriangle.js +7 -7
  441. package/icons/baseIcons/fal/falExpandAlt.d.ts +3 -3
  442. package/icons/baseIcons/fal/falExpandAlt.js +7 -7
  443. package/icons/baseIcons/fal/falExternalLink.d.ts +3 -3
  444. package/icons/baseIcons/fal/falExternalLink.js +7 -7
  445. package/icons/baseIcons/fal/falEye.d.ts +3 -3
  446. package/icons/baseIcons/fal/falEye.js +7 -7
  447. package/icons/baseIcons/fal/falEyeSlash.d.ts +3 -3
  448. package/icons/baseIcons/fal/falEyeSlash.js +7 -7
  449. package/icons/baseIcons/fal/falFile.d.ts +3 -3
  450. package/icons/baseIcons/fal/falFile.js +7 -7
  451. package/icons/baseIcons/fal/falFileAlt.d.ts +3 -3
  452. package/icons/baseIcons/fal/falFileAlt.js +7 -7
  453. package/icons/baseIcons/fal/falFileArchive.d.ts +3 -3
  454. package/icons/baseIcons/fal/falFileArchive.js +7 -7
  455. package/icons/baseIcons/fal/falFileAudio.d.ts +3 -3
  456. package/icons/baseIcons/fal/falFileAudio.js +7 -7
  457. package/icons/baseIcons/fal/falFileCertificate.d.ts +3 -3
  458. package/icons/baseIcons/fal/falFileCertificate.js +7 -7
  459. package/icons/baseIcons/fal/falFileChartLine.d.ts +3 -3
  460. package/icons/baseIcons/fal/falFileChartLine.js +7 -7
  461. package/icons/baseIcons/fal/falFileChartPie.d.ts +3 -3
  462. package/icons/baseIcons/fal/falFileChartPie.js +7 -7
  463. package/icons/baseIcons/fal/falFileCheck.d.ts +3 -3
  464. package/icons/baseIcons/fal/falFileCheck.js +7 -7
  465. package/icons/baseIcons/fal/falFileCode.d.ts +3 -3
  466. package/icons/baseIcons/fal/falFileCode.js +7 -7
  467. package/icons/baseIcons/fal/falFileCsv.d.ts +3 -3
  468. package/icons/baseIcons/fal/falFileCsv.js +7 -7
  469. package/icons/baseIcons/fal/falFileEdit.d.ts +3 -3
  470. package/icons/baseIcons/fal/falFileEdit.js +7 -7
  471. package/icons/baseIcons/fal/falFileExcel.d.ts +3 -3
  472. package/icons/baseIcons/fal/falFileExcel.js +7 -7
  473. package/icons/baseIcons/fal/falFileImage.d.ts +3 -3
  474. package/icons/baseIcons/fal/falFileImage.js +7 -7
  475. package/icons/baseIcons/fal/falFilePdf.d.ts +3 -3
  476. package/icons/baseIcons/fal/falFilePdf.js +7 -7
  477. package/icons/baseIcons/fal/falFilePlus.d.ts +3 -3
  478. package/icons/baseIcons/fal/falFilePlus.js +7 -7
  479. package/icons/baseIcons/fal/falFilePowerpoint.d.ts +3 -3
  480. package/icons/baseIcons/fal/falFilePowerpoint.js +7 -7
  481. package/icons/baseIcons/fal/falFileSpreadsheet.d.ts +3 -3
  482. package/icons/baseIcons/fal/falFileSpreadsheet.js +7 -7
  483. package/icons/baseIcons/fal/falFileVideo.d.ts +3 -3
  484. package/icons/baseIcons/fal/falFileVideo.js +7 -7
  485. package/icons/baseIcons/fal/falFileWord.d.ts +3 -3
  486. package/icons/baseIcons/fal/falFileWord.js +7 -7
  487. package/icons/baseIcons/fal/falFilter.d.ts +3 -3
  488. package/icons/baseIcons/fal/falFilter.js +7 -7
  489. package/icons/baseIcons/fal/falFlag.d.ts +3 -3
  490. package/icons/baseIcons/fal/falFlag.js +7 -7
  491. package/icons/baseIcons/fal/falFolder.d.ts +3 -3
  492. package/icons/baseIcons/fal/falFolder.js +7 -7
  493. package/icons/baseIcons/fal/falFolderOpen.d.ts +3 -3
  494. package/icons/baseIcons/fal/falFolderOpen.js +7 -7
  495. package/icons/baseIcons/fal/falFolderPlus.d.ts +3 -3
  496. package/icons/baseIcons/fal/falFolderPlus.js +7 -7
  497. package/icons/baseIcons/fal/falFolders.d.ts +3 -3
  498. package/icons/baseIcons/fal/falFolders.js +7 -7
  499. package/icons/baseIcons/fal/falGlassesAlt.d.ts +3 -3
  500. package/icons/baseIcons/fal/falGlassesAlt.js +7 -7
  501. package/icons/baseIcons/fal/falGlobe.d.ts +3 -3
  502. package/icons/baseIcons/fal/falGlobe.js +7 -7
  503. package/icons/baseIcons/fal/falHome.d.ts +3 -3
  504. package/icons/baseIcons/fal/falHome.js +7 -7
  505. package/icons/baseIcons/fal/falHourglass.d.ts +3 -3
  506. package/icons/baseIcons/fal/falHourglass.js +7 -7
  507. package/icons/baseIcons/fal/falImage.d.ts +3 -3
  508. package/icons/baseIcons/fal/falImage.js +7 -7
  509. package/icons/baseIcons/fal/falInfoCircle.d.ts +3 -3
  510. package/icons/baseIcons/fal/falInfoCircle.js +7 -7
  511. package/icons/baseIcons/fal/falKey.d.ts +3 -3
  512. package/icons/baseIcons/fal/falKey.js +7 -7
  513. package/icons/baseIcons/fal/falLayerPlus.d.ts +3 -3
  514. package/icons/baseIcons/fal/falLayerPlus.js +7 -7
  515. package/icons/baseIcons/fal/falLink.d.ts +3 -3
  516. package/icons/baseIcons/fal/falLink.js +7 -7
  517. package/icons/baseIcons/fal/falList.d.ts +3 -3
  518. package/icons/baseIcons/fal/falList.js +7 -7
  519. package/icons/baseIcons/fal/falLockAlt.d.ts +3 -3
  520. package/icons/baseIcons/fal/falLockAlt.js +7 -7
  521. package/icons/baseIcons/fal/falLongArrowDown.d.ts +3 -3
  522. package/icons/baseIcons/fal/falLongArrowDown.js +7 -7
  523. package/icons/baseIcons/fal/falLongArrowLeft.d.ts +3 -3
  524. package/icons/baseIcons/fal/falLongArrowLeft.js +7 -7
  525. package/icons/baseIcons/fal/falLongArrowRight.d.ts +3 -3
  526. package/icons/baseIcons/fal/falLongArrowRight.js +7 -7
  527. package/icons/baseIcons/fal/falLongArrowUp.d.ts +3 -3
  528. package/icons/baseIcons/fal/falLongArrowUp.js +7 -7
  529. package/icons/baseIcons/fal/falMap.d.ts +3 -3
  530. package/icons/baseIcons/fal/falMap.js +7 -7
  531. package/icons/baseIcons/fal/falMapMarked.d.ts +3 -3
  532. package/icons/baseIcons/fal/falMapMarked.js +7 -7
  533. package/icons/baseIcons/fal/falMapMarkedAlt.d.ts +3 -3
  534. package/icons/baseIcons/fal/falMapMarkedAlt.js +7 -7
  535. package/icons/baseIcons/fal/falMapMarker.d.ts +3 -3
  536. package/icons/baseIcons/fal/falMapMarker.js +7 -7
  537. package/icons/baseIcons/fal/falMapMarkerAlt.d.ts +3 -3
  538. package/icons/baseIcons/fal/falMapMarkerAlt.js +7 -7
  539. package/icons/baseIcons/fal/falMapMarkerAltSlash.d.ts +3 -3
  540. package/icons/baseIcons/fal/falMapMarkerAltSlash.js +7 -7
  541. package/icons/baseIcons/fal/falMapMarkerCheck.d.ts +3 -3
  542. package/icons/baseIcons/fal/falMapMarkerCheck.js +7 -7
  543. package/icons/baseIcons/fal/falMapMarkerExclamation.d.ts +3 -3
  544. package/icons/baseIcons/fal/falMapMarkerExclamation.js +7 -7
  545. package/icons/baseIcons/fal/falMinus.d.ts +3 -3
  546. package/icons/baseIcons/fal/falMinus.js +7 -7
  547. package/icons/baseIcons/fal/falPause.d.ts +3 -3
  548. package/icons/baseIcons/fal/falPause.js +7 -7
  549. package/icons/baseIcons/fal/falPauseCircle.d.ts +3 -3
  550. package/icons/baseIcons/fal/falPauseCircle.js +7 -7
  551. package/icons/baseIcons/fal/falPen.d.ts +3 -3
  552. package/icons/baseIcons/fal/falPen.js +7 -7
  553. package/icons/baseIcons/fal/falPlay.d.ts +3 -3
  554. package/icons/baseIcons/fal/falPlay.js +7 -7
  555. package/icons/baseIcons/fal/falPlayCircle.d.ts +3 -3
  556. package/icons/baseIcons/fal/falPlayCircle.js +7 -7
  557. package/icons/baseIcons/fal/falPlug.d.ts +3 -3
  558. package/icons/baseIcons/fal/falPlug.js +7 -7
  559. package/icons/baseIcons/fal/falPlus.d.ts +3 -3
  560. package/icons/baseIcons/fal/falPlus.js +7 -7
  561. package/icons/baseIcons/fal/falPlusCircle.d.ts +3 -3
  562. package/icons/baseIcons/fal/falPlusCircle.js +7 -7
  563. package/icons/baseIcons/fal/falPlusSquare.d.ts +3 -3
  564. package/icons/baseIcons/fal/falPlusSquare.js +7 -7
  565. package/icons/baseIcons/fal/falPrint.d.ts +3 -3
  566. package/icons/baseIcons/fal/falPrint.js +7 -7
  567. package/icons/baseIcons/fal/falPuzzlePiece.d.ts +3 -3
  568. package/icons/baseIcons/fal/falPuzzlePiece.js +7 -7
  569. package/icons/baseIcons/fal/falReceipt.d.ts +3 -3
  570. package/icons/baseIcons/fal/falReceipt.js +7 -7
  571. package/icons/baseIcons/fal/falRedo.d.ts +3 -3
  572. package/icons/baseIcons/fal/falRedo.js +7 -7
  573. package/icons/baseIcons/fal/falSave.d.ts +3 -3
  574. package/icons/baseIcons/fal/falSave.js +7 -7
  575. package/icons/baseIcons/fal/falSearch.d.ts +3 -3
  576. package/icons/baseIcons/fal/falSearch.js +7 -7
  577. package/icons/baseIcons/fal/falSearchMinus.d.ts +3 -0
  578. package/icons/baseIcons/fal/falSearchMinus.js +7 -0
  579. package/icons/baseIcons/fal/falSearchPlus.d.ts +3 -3
  580. package/icons/baseIcons/fal/falSearchPlus.js +7 -7
  581. package/icons/baseIcons/fal/falServer.d.ts +3 -3
  582. package/icons/baseIcons/fal/falServer.js +7 -7
  583. package/icons/baseIcons/fal/falShare.d.ts +3 -3
  584. package/icons/baseIcons/fal/falShare.js +7 -7
  585. package/icons/baseIcons/fal/falShareAll.d.ts +3 -3
  586. package/icons/baseIcons/fal/falShareAll.js +7 -7
  587. package/icons/baseIcons/fal/falShareAlt.d.ts +3 -3
  588. package/icons/baseIcons/fal/falShareAlt.js +7 -7
  589. package/icons/baseIcons/fal/falShieldAlt.d.ts +3 -3
  590. package/icons/baseIcons/fal/falShieldAlt.js +7 -7
  591. package/icons/baseIcons/fal/falShieldCheck.d.ts +3 -3
  592. package/icons/baseIcons/fal/falShieldCheck.js +7 -7
  593. package/icons/baseIcons/fal/falShip.d.ts +3 -3
  594. package/icons/baseIcons/fal/falShip.js +7 -7
  595. package/icons/baseIcons/fal/falShoppingBasket.d.ts +3 -3
  596. package/icons/baseIcons/fal/falShoppingBasket.js +7 -7
  597. package/icons/baseIcons/fal/falSignIn.d.ts +3 -3
  598. package/icons/baseIcons/fal/falSignIn.js +7 -7
  599. package/icons/baseIcons/fal/falSignInAlt.d.ts +3 -3
  600. package/icons/baseIcons/fal/falSignInAlt.js +7 -7
  601. package/icons/baseIcons/fal/falSignOut.d.ts +3 -3
  602. package/icons/baseIcons/fal/falSignOut.js +7 -7
  603. package/icons/baseIcons/fal/falSignOutAlt.d.ts +3 -3
  604. package/icons/baseIcons/fal/falSignOutAlt.js +7 -7
  605. package/icons/baseIcons/fal/falSlidersV.d.ts +3 -3
  606. package/icons/baseIcons/fal/falSlidersV.js +7 -7
  607. package/icons/baseIcons/fal/falSnowBlowing.d.ts +3 -3
  608. package/icons/baseIcons/fal/falSnowBlowing.js +7 -7
  609. package/icons/baseIcons/fal/falSnowflake.d.ts +3 -3
  610. package/icons/baseIcons/fal/falSnowflake.js +7 -7
  611. package/icons/baseIcons/fal/falSolarPanel.d.ts +3 -3
  612. package/icons/baseIcons/fal/falSolarPanel.js +7 -7
  613. package/icons/baseIcons/fal/falSort.d.ts +3 -3
  614. package/icons/baseIcons/fal/falSort.js +7 -7
  615. package/icons/baseIcons/fal/falSpinner.d.ts +3 -3
  616. package/icons/baseIcons/fal/falSpinner.js +7 -7
  617. package/icons/baseIcons/fal/falSquare.d.ts +3 -3
  618. package/icons/baseIcons/fal/falSquare.js +7 -7
  619. package/icons/baseIcons/fal/falStepForward.d.ts +3 -3
  620. package/icons/baseIcons/fal/falStepForward.js +7 -7
  621. package/icons/baseIcons/fal/falStop.d.ts +3 -3
  622. package/icons/baseIcons/fal/falStop.js +7 -7
  623. package/icons/baseIcons/fal/falStopCircle.d.ts +3 -3
  624. package/icons/baseIcons/fal/falStopCircle.js +7 -7
  625. package/icons/baseIcons/fal/falStopwatch.d.ts +3 -3
  626. package/icons/baseIcons/fal/falStopwatch.js +7 -7
  627. package/icons/baseIcons/fal/falSuitcase.d.ts +3 -3
  628. package/icons/baseIcons/fal/falSuitcase.js +7 -7
  629. package/icons/baseIcons/fal/falSun.d.ts +3 -3
  630. package/icons/baseIcons/fal/falSun.js +7 -7
  631. package/icons/baseIcons/fal/falSync.d.ts +3 -3
  632. package/icons/baseIcons/fal/falSync.js +7 -7
  633. package/icons/baseIcons/fal/falTachometer.d.ts +3 -3
  634. package/icons/baseIcons/fal/falTachometer.js +7 -7
  635. package/icons/baseIcons/fal/falTemperatureHigh.d.ts +3 -3
  636. package/icons/baseIcons/fal/falTemperatureHigh.js +7 -7
  637. package/icons/baseIcons/fal/falTh.d.ts +3 -3
  638. package/icons/baseIcons/fal/falTh.js +7 -7
  639. package/icons/baseIcons/fal/falThLarge.d.ts +3 -3
  640. package/icons/baseIcons/fal/falThLarge.js +7 -7
  641. package/icons/baseIcons/fal/falThList.d.ts +3 -3
  642. package/icons/baseIcons/fal/falThList.js +7 -7
  643. package/icons/baseIcons/fal/falTimes.d.ts +3 -3
  644. package/icons/baseIcons/fal/falTimes.js +7 -7
  645. package/icons/baseIcons/fal/falTimesCircle.d.ts +3 -3
  646. package/icons/baseIcons/fal/falTimesCircle.js +7 -7
  647. package/icons/baseIcons/fal/falToggleOff.d.ts +3 -3
  648. package/icons/baseIcons/fal/falToggleOff.js +7 -7
  649. package/icons/baseIcons/fal/falToggleOn.d.ts +3 -3
  650. package/icons/baseIcons/fal/falToggleOn.js +7 -7
  651. package/icons/baseIcons/fal/falTrashAlt.d.ts +3 -3
  652. package/icons/baseIcons/fal/falTrashAlt.js +7 -7
  653. package/icons/baseIcons/fal/falUnlockAlt.d.ts +3 -3
  654. package/icons/baseIcons/fal/falUnlockAlt.js +7 -7
  655. package/icons/baseIcons/fal/falUser.d.ts +3 -3
  656. package/icons/baseIcons/fal/falUser.js +7 -7
  657. package/icons/baseIcons/fal/falUserChart.d.ts +3 -3
  658. package/icons/baseIcons/fal/falUserChart.js +7 -7
  659. package/icons/baseIcons/fal/falUserCircle.d.ts +3 -3
  660. package/icons/baseIcons/fal/falUserCircle.js +7 -7
  661. package/icons/baseIcons/fal/falUserCog.d.ts +3 -3
  662. package/icons/baseIcons/fal/falUserCog.js +7 -7
  663. package/icons/baseIcons/fal/falUserEdit.d.ts +3 -3
  664. package/icons/baseIcons/fal/falUserEdit.js +7 -7
  665. package/icons/baseIcons/fal/falUserFriends.d.ts +3 -3
  666. package/icons/baseIcons/fal/falUserFriends.js +7 -7
  667. package/icons/baseIcons/fal/falUserPlus.d.ts +3 -3
  668. package/icons/baseIcons/fal/falUserPlus.js +7 -7
  669. package/icons/baseIcons/fal/falUserShield.d.ts +3 -3
  670. package/icons/baseIcons/fal/falUserShield.js +7 -7
  671. package/icons/baseIcons/fal/falUserTimes.d.ts +3 -3
  672. package/icons/baseIcons/fal/falUserTimes.js +7 -7
  673. package/icons/baseIcons/fal/falUsers.d.ts +3 -3
  674. package/icons/baseIcons/fal/falUsers.js +7 -7
  675. package/icons/baseIcons/fal/falUsersClass.d.ts +3 -3
  676. package/icons/baseIcons/fal/falUsersClass.js +7 -7
  677. package/icons/baseIcons/fal/falWater.d.ts +3 -3
  678. package/icons/baseIcons/fal/falWater.js +7 -7
  679. package/icons/baseIcons/fal/falWind.d.ts +3 -3
  680. package/icons/baseIcons/fal/falWind.js +7 -7
  681. package/icons/baseIcons/fal/falWindTurbine.d.ts +3 -3
  682. package/icons/baseIcons/fal/falWindTurbine.js +7 -7
  683. package/icons/baseIcons/fal/falWrench.d.ts +3 -3
  684. package/icons/baseIcons/fal/falWrench.js +7 -7
  685. package/icons/baseIcons/fas/fasCaretDown.d.ts +3 -3
  686. package/icons/baseIcons/fas/fasCaretDown.js +7 -7
  687. package/icons/baseIcons/fas/fasCaretLeft.d.ts +3 -3
  688. package/icons/baseIcons/fas/fasCaretLeft.js +7 -7
  689. package/icons/baseIcons/fas/fasCaretRight.d.ts +3 -3
  690. package/icons/baseIcons/fas/fasCaretRight.js +7 -7
  691. package/icons/baseIcons/fas/fasCaretUp.d.ts +3 -3
  692. package/icons/baseIcons/fas/fasCaretUp.js +7 -7
  693. package/icons/baseIcons/fas/fasCheckCircle.d.ts +3 -0
  694. package/icons/baseIcons/fas/fasCheckCircle.js +7 -0
  695. package/icons/baseIcons/fas/fasDiamond.d.ts +3 -3
  696. package/icons/baseIcons/fas/fasDiamond.js +7 -7
  697. package/icons/baseIcons/fas/fasFolder.d.ts +3 -3
  698. package/icons/baseIcons/fas/fasFolder.js +7 -7
  699. package/icons/baseIcons/fas/fasMapMarkerAlt.d.ts +3 -3
  700. package/icons/baseIcons/fas/fasMapMarkerAlt.js +7 -7
  701. package/icons/baseIcons/fas/fasMapMarkerExclamation.d.ts +3 -3
  702. package/icons/baseIcons/fas/fasMapMarkerExclamation.js +7 -7
  703. package/icons/baseIcons/fas/fasQuoteLeft.d.ts +3 -3
  704. package/icons/baseIcons/fas/fasQuoteLeft.js +7 -7
  705. package/icons/baseIcons/fas/fasQuoteRight.d.ts +3 -3
  706. package/icons/baseIcons/fas/fasQuoteRight.js +7 -7
  707. package/icons/baseIcons/fas/fasSolarPanel.d.ts +3 -3
  708. package/icons/baseIcons/fas/fasSolarPanel.js +7 -7
  709. package/icons/baseIcons/fas/fasSort.d.ts +3 -3
  710. package/icons/baseIcons/fas/fasSort.js +7 -7
  711. package/icons/baseIcons/fas/fasStar.d.ts +3 -3
  712. package/icons/baseIcons/fas/fasStar.js +7 -7
  713. package/icons/baseIcons/fas/fasWindTurbine.d.ts +3 -3
  714. package/icons/baseIcons/fas/fasWindTurbine.js +7 -7
  715. package/icons/baseIcons/types.d.ts +1 -1
  716. package/icons/baseIcons/types.js +2 -2
  717. package/icons/consts.d.ts +6 -6
  718. package/icons/consts.js +46 -46
  719. package/icons/index.d.ts +3 -3
  720. package/icons/index.js +20 -20
  721. package/icons/library.d.ts +11 -11
  722. package/icons/library.js +60 -60
  723. package/icons/types.d.ts +21 -21
  724. package/icons/types.js +2 -2
  725. package/image/image.d.ts +3 -0
  726. package/image/image.js +38 -0
  727. package/image/image.types.d.ts +4 -0
  728. package/{switch/switchButton.types.js → image/image.types.js} +2 -2
  729. package/image/index.d.ts +3 -0
  730. package/{tile → image}/index.js +20 -20
  731. package/image/theme.d.ts +6 -0
  732. package/image/theme.js +10 -0
  733. package/index.d.ts +30 -27
  734. package/index.js +42 -39
  735. package/input/consts.d.ts +2 -2
  736. package/input/consts.js +27 -27
  737. package/input/context.d.ts +4 -0
  738. package/input/context.js +23 -0
  739. package/input/helpers.d.ts +2 -2
  740. package/input/helpers.js +9 -9
  741. package/input/index.d.ts +5 -3
  742. package/input/index.js +22 -20
  743. package/input/input.d.ts +11 -6
  744. package/input/input.js +139 -129
  745. package/input/input.types.d.ts +46 -42
  746. package/input/input.types.js +2 -2
  747. package/input/inputIcon.d.ts +3 -0
  748. package/input/inputIcon.js +30 -0
  749. package/input/inputInput.d.ts +5 -0
  750. package/input/inputInput.js +36 -0
  751. package/input/theme.d.ts +64 -39
  752. package/input/theme.js +74 -50
  753. package/link/index.d.ts +3 -3
  754. package/link/index.js +20 -20
  755. package/link/link.d.ts +5 -5
  756. package/link/link.js +53 -53
  757. package/link/link.types.d.ts +11 -11
  758. package/link/link.types.js +2 -2
  759. package/link/theme.d.ts +35 -35
  760. package/link/theme.js +50 -50
  761. package/list/context.d.ts +4 -4
  762. package/list/context.js +23 -23
  763. package/list/index.d.ts +8 -6
  764. package/list/index.js +25 -23
  765. package/list/list.d.ts +15 -13
  766. package/list/list.js +83 -81
  767. package/list/list.types.d.ts +26 -8
  768. package/list/list.types.js +2 -2
  769. package/list/listHeading.d.ts +3 -3
  770. package/list/listHeading.js +30 -30
  771. package/list/listIcon.d.ts +3 -3
  772. package/list/listIcon.js +30 -30
  773. package/list/listItem.d.ts +5 -5
  774. package/list/listItem.js +76 -73
  775. package/list/listText.d.ts +3 -0
  776. package/list/listText.js +30 -0
  777. package/list/theme.d.ts +94 -80
  778. package/list/theme.js +104 -90
  779. package/p/index.d.ts +3 -3
  780. package/p/index.js +20 -20
  781. package/p/p.d.ts +5 -5
  782. package/p/p.js +52 -52
  783. package/p/p.types.d.ts +9 -9
  784. package/p/p.types.js +2 -2
  785. package/p/theme.d.ts +29 -29
  786. package/p/theme.js +33 -33
  787. package/package.json +2 -2
  788. package/panel/index.d.ts +3 -0
  789. package/panel/index.js +20 -0
  790. package/panel/panel.d.ts +3 -0
  791. package/panel/panel.js +39 -0
  792. package/panel/panel.types.d.ts +4 -0
  793. package/panel/panel.types.js +2 -0
  794. package/{tile → panel}/theme.d.ts +16 -23
  795. package/{tile → panel}/theme.js +20 -27
  796. package/radio/context.d.ts +4 -4
  797. package/radio/context.js +23 -23
  798. package/radio/index.d.ts +6 -6
  799. package/radio/index.js +23 -23
  800. package/radio/radio.d.ts +7 -7
  801. package/radio/radio.js +66 -66
  802. package/radio/radio.types.d.ts +24 -24
  803. package/radio/radio.types.js +2 -2
  804. package/radio/radioGroup.d.ts +5 -5
  805. package/radio/radioGroup.js +98 -98
  806. package/radio/radioGroup.types.d.ts +13 -13
  807. package/radio/radioGroup.types.js +2 -2
  808. package/radio/theme.d.ts +48 -48
  809. package/radio/theme.js +56 -56
  810. package/skeleton/index.d.ts +3 -3
  811. package/skeleton/index.js +20 -20
  812. package/skeleton/skeleton.d.ts +5 -5
  813. package/skeleton/skeleton.js +50 -50
  814. package/skeleton/skeleton.types.d.ts +6 -6
  815. package/skeleton/skeleton.types.js +2 -2
  816. package/skeleton/theme.d.ts +36 -36
  817. package/skeleton/theme.js +47 -47
  818. package/spinner/consts.d.ts +36 -36
  819. package/spinner/consts.js +26 -26
  820. package/spinner/index.d.ts +3 -3
  821. package/spinner/index.js +20 -20
  822. package/spinner/spinner.d.ts +4 -4
  823. package/spinner/spinner.js +61 -61
  824. package/spinner/spinner.types.d.ts +15 -15
  825. package/spinner/spinner.types.js +2 -2
  826. package/spinner/theme.d.ts +67 -67
  827. package/spinner/theme.js +73 -73
  828. package/styles/animations.d.ts +9 -9
  829. package/styles/animations.js +12 -12
  830. package/styles/fontFaces.d.ts +2 -2
  831. package/styles/fontFaces.js +4 -4
  832. package/styles/helpers.d.ts +4 -4
  833. package/styles/helpers.js +8 -8
  834. package/styles/index.d.ts +3 -3
  835. package/styles/index.js +20 -20
  836. package/svg/cache.d.ts +15 -15
  837. package/svg/cache.js +36 -36
  838. package/svg/helpers.d.ts +10 -10
  839. package/svg/helpers.js +33 -33
  840. package/svg/index.d.ts +3 -3
  841. package/svg/index.js +20 -20
  842. package/svg/svg.d.ts +5 -5
  843. package/svg/svg.js +165 -165
  844. package/svg/svg.types.d.ts +10 -10
  845. package/svg/svg.types.js +2 -2
  846. package/switch/context.d.ts +4 -4
  847. package/switch/context.js +23 -23
  848. package/switch/index.d.ts +6 -7
  849. package/switch/index.js +23 -24
  850. package/switch/switch.d.ts +11 -11
  851. package/switch/switch.js +132 -132
  852. package/switch/switch.types.d.ts +36 -21
  853. package/switch/switch.types.js +2 -2
  854. package/switch/switchButton.d.ts +8 -8
  855. package/switch/switchButton.js +132 -131
  856. package/switch/switchLabel.d.ts +3 -3
  857. package/switch/switchLabel.js +30 -30
  858. package/switch/theme.d.ts +82 -87
  859. package/switch/theme.js +91 -113
  860. package/system/animations.d.ts +11 -11
  861. package/system/animations.js +2 -2
  862. package/system/backgrounds.d.ts +13 -13
  863. package/system/backgrounds.js +2 -2
  864. package/system/borders.d.ts +144 -142
  865. package/system/borders.js +2 -2
  866. package/system/colors.d.ts +3 -3
  867. package/system/colors.js +2 -2
  868. package/system/custom.d.ts +31 -10
  869. package/system/custom.js +52 -29
  870. package/system/effects.d.ts +22 -22
  871. package/system/effects.js +2 -2
  872. package/system/flexboxes.d.ts +61 -61
  873. package/system/flexboxes.js +2 -2
  874. package/system/index.d.ts +16 -16
  875. package/system/index.js +33 -33
  876. package/system/interactivity.d.ts +26 -26
  877. package/system/interactivity.js +2 -2
  878. package/system/layout.d.ts +73 -73
  879. package/system/layout.js +2 -2
  880. package/system/sizing.d.ts +36 -36
  881. package/system/sizing.js +2 -2
  882. package/system/space.d.ts +92 -92
  883. package/system/space.js +2 -2
  884. package/system/system.d.ts +17 -17
  885. package/system/system.js +5 -5
  886. package/system/transforms.d.ts +57 -57
  887. package/system/transforms.js +2 -2
  888. package/system/transitions.d.ts +29 -29
  889. package/system/transitions.js +2 -2
  890. package/system/typography.d.ts +75 -75
  891. package/system/typography.js +2 -2
  892. package/t/index.d.ts +3 -3
  893. package/t/index.js +20 -20
  894. package/t/t.d.ts +5 -5
  895. package/t/t.js +54 -54
  896. package/t/t.types.d.ts +11 -11
  897. package/t/t.types.js +2 -2
  898. package/t/theme.d.ts +21 -21
  899. package/t/theme.js +25 -25
  900. package/tag/context.d.ts +4 -0
  901. package/tag/context.js +23 -0
  902. package/tag/index.d.ts +6 -0
  903. package/tag/index.js +23 -0
  904. package/tag/tag.d.ts +11 -0
  905. package/tag/tag.js +99 -0
  906. package/{label/label.types.d.ts → tag/tag.types.d.ts} +19 -20
  907. package/tag/tag.types.js +2 -0
  908. package/tag/tagIcon.d.ts +3 -0
  909. package/tag/tagIcon.js +30 -0
  910. package/tag/tagText.d.ts +3 -0
  911. package/tag/tagText.js +30 -0
  912. package/tag/theme.d.ts +65 -0
  913. package/tag/theme.js +78 -0
  914. package/textarea/helpers.d.ts +2 -2
  915. package/textarea/helpers.js +9 -9
  916. package/textarea/index.d.ts +3 -3
  917. package/textarea/index.js +20 -20
  918. package/textarea/textarea.d.ts +6 -6
  919. package/textarea/textarea.js +116 -116
  920. package/textarea/textarea.types.d.ts +25 -25
  921. package/textarea/textarea.types.js +2 -2
  922. package/textarea/theme.d.ts +21 -21
  923. package/textarea/theme.js +31 -31
  924. package/theme/components.d.ts +871 -787
  925. package/theme/components.js +51 -47
  926. package/theme/defaultTheme.d.ts +1034 -950
  927. package/theme/defaultTheme.js +20 -20
  928. package/theme/foundations/animations.d.ts +12 -12
  929. package/theme/foundations/animations.js +13 -13
  930. package/theme/foundations/borders.d.ts +2 -2
  931. package/theme/foundations/borders.js +3 -3
  932. package/theme/foundations/colors.d.ts +171 -171
  933. package/theme/foundations/colors.js +96 -96
  934. package/theme/foundations/durations.d.ts +7 -7
  935. package/theme/foundations/durations.js +8 -8
  936. package/theme/foundations/fontSizes.d.ts +7 -7
  937. package/theme/foundations/fontSizes.js +8 -8
  938. package/theme/foundations/fontWeights.d.ts +7 -7
  939. package/theme/foundations/fontWeights.js +8 -8
  940. package/theme/foundations/fonts.d.ts +4 -4
  941. package/theme/foundations/fonts.js +5 -5
  942. package/theme/foundations/index.d.ts +164 -164
  943. package/theme/foundations/index.js +41 -41
  944. package/theme/foundations/radii.d.ts +8 -8
  945. package/theme/foundations/radii.js +9 -9
  946. package/theme/foundations/ringWidths.d.ts +2 -2
  947. package/theme/foundations/ringWidths.js +3 -3
  948. package/theme/foundations/screens.d.ts +8 -8
  949. package/theme/foundations/screens.js +9 -9
  950. package/theme/foundations/shadows.d.ts +20 -20
  951. package/theme/foundations/shadows.js +25 -25
  952. package/theme/foundations/sizes.d.ts +2 -2
  953. package/theme/foundations/sizes.js +3 -3
  954. package/theme/foundations/spaces.d.ts +2 -2
  955. package/theme/foundations/spaces.js +3 -3
  956. package/theme/foundations/transformers.d.ts +4 -4
  957. package/theme/foundations/transformers.js +7 -7
  958. package/theme/foundations/transforms.d.ts +2 -2
  959. package/theme/foundations/transforms.js +3 -3
  960. package/theme/foundations/transitions.d.ts +2 -2
  961. package/theme/foundations/transitions.js +3 -3
  962. package/theme/foundations/zIndices.d.ts +2 -2
  963. package/theme/foundations/zIndices.js +3 -3
  964. package/theme/index.d.ts +6 -6
  965. package/theme/index.js +25 -25
  966. package/theme/types.d.ts +21 -21
  967. package/theme/types.js +2 -2
  968. package/utils/assertion.d.ts +14 -0
  969. package/utils/assertion.js +34 -0
  970. package/utils/function.d.ts +5 -5
  971. package/utils/function.js +36 -36
  972. package/utils/index.d.ts +5 -4
  973. package/utils/index.js +17 -16
  974. package/utils/object.d.ts +25 -27
  975. package/utils/object.js +85 -93
  976. package/utils/styles.d.ts +4 -4
  977. package/utils/styles.js +35 -35
  978. package/utils/types.d.ts +5 -3
  979. package/utils/types.js +3 -3
  980. package/label/index.d.ts +0 -3
  981. package/label/label.d.ts +0 -5
  982. package/label/label.js +0 -71
  983. package/label/theme.d.ts +0 -61
  984. package/label/theme.js +0 -107
  985. package/list/listItem.types.d.ts +0 -16
  986. package/switch/switchButton.types.d.ts +0 -19
  987. package/tile/index.d.ts +0 -3
  988. package/tile/tile.d.ts +0 -3
  989. package/tile/tile.types.js +0 -2
@@ -1,57 +1,61 @@
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\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\t",
42
+ "\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"
43
+ /** Recursively maps through all theme styles and generates a set of CSS properties */
44
+ ])), styles_1.fontFaces, generateCSSVariables, function (p) {
45
+ return p.globalStyle &&
46
+ "\n\t\tbody {\n\t\t\tcolor: var(--vui-colors-prussian-80);\n\t\t\tfont-family: var(--vui-fonts-avenir);\n\t\t\tfont-size: var(--vui-fontSizes-md);\n\t\t}\n\t";
47
+ }, 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);
48
+ /** Recursively maps through all theme styles and generates a set of CSS properties */
49
+ function generateCSSVariables() {
50
+ function computeStyle(name, value) {
51
+ if (!utils_1.isObject(value))
52
+ return name + ": " + (typeof value === 'string' ? value : value + "px") + ";\n";
53
+ return Object.entries(value).reduce(function (str, _a) {
54
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
55
+ return (str += computeStyle(name + "-" + key, value));
56
+ }, '');
57
+ }
58
+ var animations = foundations_1.default.animations, styles = __rest(foundations_1.default, ["animations"]); // eslint-disable-line @typescript-eslint/no-unused-vars
59
+ return computeStyle('--vui', styles);
60
+ }
61
+ var templateObject_1;
package/core/index.d.ts CHANGED
@@ -1,6 +1,8 @@
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 styled } from './styled';
7
+ export { default as v } from './v';
8
+ export { default as VuiProvider } from './vuiProvider';
package/core/index.js CHANGED
@@ -1,25 +1,29 @@
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.v = exports.styled = 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 styled_1 = require("./styled");
25
+ Object.defineProperty(exports, "styled", { enumerable: true, get: function () { return __importDefault(styled_1).default; } });
26
+ var v_1 = require("./v");
27
+ Object.defineProperty(exports, "v", { enumerable: true, get: function () { return __importDefault(v_1).default; } });
28
+ var vuiProvider_1 = require("./vuiProvider");
29
+ 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;
@@ -0,0 +1,4 @@
1
+ import { DefaultTheme } from 'styled-components';
2
+ import { VStyled } from './types';
3
+ declare const _default: VStyled<DefaultTheme>;
4
+ export default _default;
package/core/styled.js ADDED
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ /* eslint-disable @typescript-eslint/ban-ts-comment */
3
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
4
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
5
+ return cooked;
6
+ };
7
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
8
+ if (k2 === undefined) k2 = k;
9
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || function (mod) {
20
+ if (mod && mod.__esModule) return mod;
21
+ var result = {};
22
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
23
+ __setModuleDefault(result, mod);
24
+ return result;
25
+ };
26
+ var __read = (this && this.__read) || function (o, n) {
27
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
28
+ if (!m) return o;
29
+ var i = m.call(o), r, ar = [], e;
30
+ try {
31
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
32
+ }
33
+ catch (error) { e = { error: error }; }
34
+ finally {
35
+ try {
36
+ if (r && !r.done && (m = i["return"])) m.call(i);
37
+ }
38
+ finally { if (e) throw e.error; }
39
+ }
40
+ return ar;
41
+ };
42
+ var __spreadArray = (this && this.__spreadArray) || function (to, from) {
43
+ for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
44
+ to[j] = from[i];
45
+ return to;
46
+ };
47
+ Object.defineProperty(exports, "__esModule", { value: true });
48
+ var styled_components_1 = __importStar(require("styled-components"));
49
+ var utils_1 = require("./utils");
50
+ var system_1 = require("../system");
51
+ function createStyled(generator) {
52
+ var config = generator ? utils_1.forwardPropConfig(generator) : {};
53
+ var styled = (function (component) {
54
+ var baseStyled = config ? styled_components_1.default(component).withConfig(config) : styled_components_1.default(component);
55
+ return getCreateStyle(baseStyled, styled_components_1.css, generator);
56
+ });
57
+ Object.keys(styled_components_1.default).forEach(function (key) {
58
+ // @ts-ignore
59
+ styled[key] = styled(key);
60
+ });
61
+ return styled;
62
+ }
63
+ function getCreateStyle(baseCreateStyle, css, generator) {
64
+ var createStyle = function () {
65
+ var args = [];
66
+ for (var _i = 0; _i < arguments.length; _i++) {
67
+ args[_i] = arguments[_i];
68
+ }
69
+ return baseCreateStyle(templateObject_1 || (templateObject_1 = __makeTemplateObject(["", "", ""], ["", "", ""])), css.apply(void 0, __spreadArray([], __read(args))), generator);
70
+ };
71
+ createStyle.attrs = function (attrs) {
72
+ return getCreateStyle(baseCreateStyle.attrs(attrs), css, generator);
73
+ };
74
+ createStyle.withConfig = function (config) {
75
+ return getCreateStyle(baseCreateStyle.withConfig(config), css, generator);
76
+ };
77
+ return createStyle;
78
+ }
79
+ exports.default = createStyled(system_1.system);
80
+ 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 { ComponentPropsWithoutRef, ComponentPropsWithRef, ElementType, PropsWithoutRef, PropsWithChildren, ReactElement } from 'react';
2
+ /** Merges component/element base props and custom props */
3
+ export declare type PropsOf<C extends ElementType, Props = {}> = RightJoinProps<ComponentPropsWithoutRef<C>, Props>;
4
+ /** Merges component/element base props and custom props including ref */
5
+ export declare type RefPropsOf<C extends ElementType, Props = {}> = RightJoinProps<ComponentPropsWithRef<C>, Props>;
6
+ /** Merges props definitions, overriding source keys */
7
+ export declare type RightJoinProps<SourceProps, OverrideProps> = Omit<SourceProps, keyof OverrideProps> & OverrideProps;
8
+ /** VUI component interface, which allows element props inference and extension, 'as' and 'ref' */
9
+ export interface VuiComponent<C extends ElementType, Props = {}> {
10
+ <AsC extends ElementType>(props: PropsWithChildren<RefPropsOf<AsC, PropsOf<C, Props>>> & {
11
+ as: AsC;
12
+ }): ReactElement<any, any> | null;
13
+ (props: RefPropsOf<C, Props>): ReactElement<any, any> | null;
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 ElementType, Props = {}> {
19
+ isMemo?: boolean;
20
+ memoCompare?: (prevProps: Readonly<PropsWithChildren<PropsWithoutRef<PropsOf<C, Props>>>>, nextProps: Readonly<PropsWithChildren<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 ElementType, Props = {}> {
27
+ (props: PropsOf<C, Props>): ReactElement<any, any> | null;
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,5 @@
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 './styled';
5
+ export * from './themeGet';
@@ -1,16 +1,17 @@
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("./styled"), exports);
17
+ __exportStar(require("./themeGet"), exports);
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { AnyStyledComponent, DefaultTheme, StyledComponentInnerAttrs, StyledComponentInnerComponent, StyledComponentInnerOtherProps, ThemedStyledFunction } from 'styled-components';
3
+ import { SystemProps } from '../../system';
4
+ declare type ThemedStyledComponentFactories<T extends object> = {
5
+ [TTag in keyof JSX.IntrinsicElements]: ThemedStyledFunction<TTag, T, SystemProps>;
6
+ };
7
+ export interface VStyled<T extends object = DefaultTheme> extends ThemedStyledComponentFactories<T> {
8
+ <C extends AnyStyledComponent>(component: C): ThemedStyledFunction<StyledComponentInnerComponent<C>, T, StyledComponentInnerOtherProps<C> & SystemProps, StyledComponentInnerAttrs<C>>;
9
+ <C extends keyof JSX.IntrinsicElements | React.ComponentType<any>>(component: C): ThemedStyledFunction<C, T, SystemProps>;
10
+ }
11
+ 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 });
@@ -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 });