@veracity/vui 0.0.8 → 0.0.10

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 (702) hide show
  1. package/alert/alertTitle.js +2 -2
  2. package/avatar/avatar.d.ts +3 -4
  3. package/avatar/avatar.js +2 -2
  4. package/avatar/avatar.types.d.ts +2 -6
  5. package/box/box.d.ts +3 -4
  6. package/box/box.js +3 -4
  7. package/box/box.types.d.ts +2 -4
  8. package/button/button.d.ts +3 -4
  9. package/button/button.js +5 -6
  10. package/button/button.types.d.ts +4 -6
  11. package/button/buttonGroup.d.ts +3 -2
  12. package/button/buttonGroup.js +3 -4
  13. package/button/buttonGroup.types.d.ts +2 -4
  14. package/button/buttons.d.ts +8 -5
  15. package/button/buttons.js +4 -2
  16. package/button/theme.d.ts +7 -0
  17. package/button/theme.js +18 -0
  18. package/checkbox/checkbox.d.ts +3 -2
  19. package/checkbox/checkbox.js +5 -7
  20. package/checkbox/checkbox.types.d.ts +4 -6
  21. package/checkbox/checkboxGroup.d.ts +3 -2
  22. package/checkbox/checkboxGroup.js +3 -4
  23. package/checkbox/checkboxGroup.types.d.ts +2 -4
  24. package/core/types/component.d.ts +1 -4
  25. package/core/vuiProvider.js +1 -1
  26. package/divider/divider.d.ts +3 -2
  27. package/divider/divider.js +3 -4
  28. package/divider/divider.types.d.ts +2 -4
  29. package/heading/heading.d.ts +3 -4
  30. package/heading/heading.js +4 -6
  31. package/heading/heading.types.d.ts +3 -4
  32. package/heading/headings.d.ts +7 -6
  33. package/{icon/icons/cui/cuiRadioSelected.d.ts → icons/baseIcons/fal/falSignIn.d.ts} +1 -1
  34. package/icons/baseIcons/fal/falSignIn.js +7 -0
  35. package/icons/baseIcons/types.d.ts +1 -1
  36. package/input/input.d.ts +4 -5
  37. package/input/input.js +2 -2
  38. package/input/input.types.d.ts +2 -4
  39. package/label/label.d.ts +3 -4
  40. package/label/label.js +3 -5
  41. package/label/label.types.d.ts +3 -5
  42. package/link/link.d.ts +3 -4
  43. package/link/link.js +4 -6
  44. package/link/link.types.d.ts +3 -4
  45. package/list/list.d.ts +5 -2
  46. package/list/list.js +7 -6
  47. package/list/list.types.d.ts +3 -5
  48. package/list/listHeading.d.ts +3 -0
  49. package/list/listHeading.js +30 -0
  50. package/list/listItem.d.ts +3 -2
  51. package/list/listItem.js +5 -7
  52. package/list/listItem.types.d.ts +3 -4
  53. package/list/theme.js +1 -1
  54. package/p/p.d.ts +3 -4
  55. package/p/p.js +4 -6
  56. package/p/p.types.d.ts +3 -4
  57. package/package.json +4 -1
  58. package/radio/radio.d.ts +3 -2
  59. package/radio/radio.js +5 -7
  60. package/radio/radio.types.d.ts +4 -6
  61. package/radio/radioGroup.d.ts +3 -2
  62. package/radio/radioGroup.js +3 -4
  63. package/radio/radioGroup.types.d.ts +2 -4
  64. package/skeleton/skeleton.d.ts +3 -2
  65. package/skeleton/skeleton.js +3 -4
  66. package/skeleton/skeleton.types.d.ts +2 -4
  67. package/spinner/consts.d.ts +3 -1
  68. package/spinner/consts.js +7 -2
  69. package/spinner/spinner.js +8 -7
  70. package/spinner/spinner.types.d.ts +2 -2
  71. package/spinner/theme.d.ts +0 -1
  72. package/spinner/theme.js +2 -3
  73. package/svg/svg.d.ts +4 -3
  74. package/svg/svg.js +3 -4
  75. package/svg/svg.types.d.ts +2 -11
  76. package/switch/switch.d.ts +3 -2
  77. package/switch/switch.js +3 -4
  78. package/switch/switch.types.d.ts +2 -4
  79. package/switch/switchButton.d.ts +5 -4
  80. package/switch/switchButton.js +6 -9
  81. package/switch/switchButton.types.d.ts +2 -8
  82. package/system/animations.d.ts +9 -7
  83. package/system/backgrounds.d.ts +8 -8
  84. package/system/borders.d.ts +138 -129
  85. package/system/colors.d.ts +1 -2
  86. package/system/effects.d.ts +15 -12
  87. package/system/flexboxes.d.ts +43 -54
  88. package/system/index.d.ts +2 -0
  89. package/system/index.js +7 -0
  90. package/system/interactivity.d.ts +17 -23
  91. package/system/layout.d.ts +69 -74
  92. package/system/sizing.d.ts +27 -27
  93. package/system/space.d.ts +89 -87
  94. package/system/system.d.ts +17 -0
  95. package/system/system.js +5 -0
  96. package/system/transforms.d.ts +53 -53
  97. package/system/transitions.d.ts +20 -25
  98. package/system/typography.d.ts +68 -61
  99. package/t/t.d.ts +3 -4
  100. package/t/t.js +4 -6
  101. package/t/t.types.d.ts +3 -4
  102. package/textarea/textarea.d.ts +3 -4
  103. package/textarea/textarea.js +3 -4
  104. package/textarea/textarea.types.d.ts +2 -4
  105. package/theme/components.d.ts +6 -1
  106. package/theme/defaultTheme.d.ts +6 -1
  107. package/theme/index.d.ts +3 -0
  108. package/theme/index.js +7 -0
  109. package/tile/tile.types.d.ts +2 -4
  110. package/controlLabel/controlLabel.d.ts +0 -6
  111. package/controlLabel/controlLabel.js +0 -55
  112. package/controlLabel/controlLabel.types.d.ts +0 -10
  113. package/controlLabel/controlLabel.types.js +0 -2
  114. package/controlLabel/index.d.ts +0 -3
  115. package/controlLabel/index.js +0 -20
  116. package/controlLabel/theme.d.ts +0 -11
  117. package/controlLabel/theme.js +0 -15
  118. package/core/types.d.ts +0 -37
  119. package/core/types.js +0 -3
  120. package/icon/icons/cui/cuiCheckboxIndeterminate.d.ts +0 -3
  121. package/icon/icons/cui/cuiCheckboxIndeterminate.js +0 -8
  122. package/icon/icons/cui/cuiCheckboxSelected.d.ts +0 -3
  123. package/icon/icons/cui/cuiCheckboxSelected.js +0 -8
  124. package/icon/icons/cui/cuiCheckboxUnselected.d.ts +0 -3
  125. package/icon/icons/cui/cuiCheckboxUnselected.js +0 -8
  126. package/icon/icons/cui/cuiRadioSelected.js +0 -8
  127. package/icon/icons/cui/cuiRadioUnselected.d.ts +0 -3
  128. package/icon/icons/cui/cuiRadioUnselected.js +0 -8
  129. package/icon/icons/cul/culCovid.d.ts +0 -3
  130. package/icon/icons/cul/culCovid.js +0 -7
  131. package/icon/icons/cul/culDeepSearch.d.ts +0 -3
  132. package/icon/icons/cul/culDeepSearch.js +0 -7
  133. package/icon/icons/cul/culDotsMenu.d.ts +0 -3
  134. package/icon/icons/cul/culDotsMenu.js +0 -7
  135. package/icon/icons/cul/culGlobePlus.d.ts +0 -3
  136. package/icon/icons/cul/culGlobePlus.js +0 -7
  137. package/icon/icons/cul/culListDense.d.ts +0 -3
  138. package/icon/icons/cul/culListDense.js +0 -7
  139. package/icon/icons/cul/culMapMarkerStar.d.ts +0 -3
  140. package/icon/icons/cul/culMapMarkerStar.js +0 -7
  141. package/icon/icons/cul/culPlusThin.d.ts +0 -3
  142. package/icon/icons/cul/culPlusThin.js +0 -7
  143. package/icon/icons/cul/culScreenshot.d.ts +0 -3
  144. package/icon/icons/cul/culScreenshot.js +0 -7
  145. package/icon/icons/cul/culScreenshotAlt.d.ts +0 -3
  146. package/icon/icons/cul/culScreenshotAlt.js +0 -7
  147. package/icon/icons/cul/culShortcut.d.ts +0 -3
  148. package/icon/icons/cul/culShortcut.js +0 -7
  149. package/icon/icons/cul/culTimesThin.d.ts +0 -3
  150. package/icon/icons/cul/culTimesThin.js +0 -7
  151. package/icon/icons/cul/culTransformer.d.ts +0 -3
  152. package/icon/icons/cul/culTransformer.js +0 -7
  153. package/icon/icons/cul/culUserTransfer.d.ts +0 -3
  154. package/icon/icons/cul/culUserTransfer.js +0 -7
  155. package/icon/icons/cul/culVessel.d.ts +0 -3
  156. package/icon/icons/cul/culVessel.js +0 -7
  157. package/icon/icons/cul/culVesselGroup.d.ts +0 -3
  158. package/icon/icons/cul/culVesselGroup.js +0 -7
  159. package/icon/icons/cus/cusCheckboxSelected.d.ts +0 -3
  160. package/icon/icons/cus/cusCheckboxSelected.js +0 -7
  161. package/icon/icons/cus/cusDotFull.d.ts +0 -3
  162. package/icon/icons/cus/cusDotFull.js +0 -7
  163. package/icon/icons/cus/cusDotFullAlt.d.ts +0 -3
  164. package/icon/icons/cus/cusDotFullAlt.js +0 -7
  165. package/icon/icons/cus/cusDotsMenu.d.ts +0 -3
  166. package/icon/icons/cus/cusDotsMenu.js +0 -7
  167. package/icon/icons/cus/cusRadio.d.ts +0 -3
  168. package/icon/icons/cus/cusRadio.js +0 -7
  169. package/icon/icons/cus/cusSquareMinus.d.ts +0 -3
  170. package/icon/icons/cus/cusSquareMinus.js +0 -7
  171. package/icon/icons/cus/cusTransformer.d.ts +0 -3
  172. package/icon/icons/cus/cusTransformer.js +0 -7
  173. package/icon/icons/cus/cusVessel.d.ts +0 -3
  174. package/icon/icons/cus/cusVessel.js +0 -7
  175. package/icon/icons/fab/fabApplePay.d.ts +0 -3
  176. package/icon/icons/fab/fabApplePay.js +0 -7
  177. package/icon/icons/fab/fabBluetooth.d.ts +0 -3
  178. package/icon/icons/fab/fabBluetooth.js +0 -7
  179. package/icon/icons/fab/fabBtc.d.ts +0 -3
  180. package/icon/icons/fab/fabBtc.js +0 -7
  181. package/icon/icons/fab/fabCcAmazonPay.d.ts +0 -3
  182. package/icon/icons/fab/fabCcAmazonPay.js +0 -7
  183. package/icon/icons/fab/fabCcAmex.d.ts +0 -3
  184. package/icon/icons/fab/fabCcAmex.js +0 -7
  185. package/icon/icons/fab/fabCcApplePay.d.ts +0 -3
  186. package/icon/icons/fab/fabCcApplePay.js +0 -7
  187. package/icon/icons/fab/fabCcDinersClub.d.ts +0 -3
  188. package/icon/icons/fab/fabCcDinersClub.js +0 -7
  189. package/icon/icons/fab/fabCcMastercard.d.ts +0 -3
  190. package/icon/icons/fab/fabCcMastercard.js +0 -7
  191. package/icon/icons/fab/fabCcPaypal.d.ts +0 -3
  192. package/icon/icons/fab/fabCcPaypal.js +0 -7
  193. package/icon/icons/fab/fabCcVisa.d.ts +0 -3
  194. package/icon/icons/fab/fabCcVisa.js +0 -7
  195. package/icon/icons/fab/fabDhl.d.ts +0 -3
  196. package/icon/icons/fab/fabDhl.js +0 -7
  197. package/icon/icons/fab/fabEbay.d.ts +0 -3
  198. package/icon/icons/fab/fabEbay.js +0 -7
  199. package/icon/icons/fab/fabFacebook.d.ts +0 -3
  200. package/icon/icons/fab/fabFacebook.js +0 -7
  201. package/icon/icons/fab/fabFedex.d.ts +0 -3
  202. package/icon/icons/fab/fabFedex.js +0 -7
  203. package/icon/icons/fab/fabFirefox.d.ts +0 -3
  204. package/icon/icons/fab/fabFirefox.js +0 -7
  205. package/icon/icons/fab/fabGoogle.d.ts +0 -3
  206. package/icon/icons/fab/fabGoogle.js +0 -7
  207. package/icon/icons/fab/fabGoogleDrive.d.ts +0 -3
  208. package/icon/icons/fab/fabGoogleDrive.js +0 -7
  209. package/icon/icons/fab/fabLinkedinIn.d.ts +0 -3
  210. package/icon/icons/fab/fabLinkedinIn.js +0 -7
  211. package/icon/icons/fab/fabMedium.d.ts +0 -3
  212. package/icon/icons/fab/fabMedium.js +0 -7
  213. package/icon/icons/fab/fabOsi.d.ts +0 -3
  214. package/icon/icons/fab/fabOsi.js +0 -7
  215. package/icon/icons/fab/fabSlack.d.ts +0 -3
  216. package/icon/icons/fab/fabSlack.js +0 -7
  217. package/icon/icons/fab/fabTwitter.d.ts +0 -3
  218. package/icon/icons/fab/fabTwitter.js +0 -7
  219. package/icon/icons/fab/fabUps.d.ts +0 -3
  220. package/icon/icons/fab/fabUps.js +0 -7
  221. package/icon/icons/fal/falAddressBook.d.ts +0 -3
  222. package/icon/icons/fal/falAddressBook.js +0 -7
  223. package/icon/icons/fal/falAddressCard.d.ts +0 -3
  224. package/icon/icons/fal/falAddressCard.js +0 -7
  225. package/icon/icons/fal/falAnalytics.d.ts +0 -3
  226. package/icon/icons/fal/falAnalytics.js +0 -7
  227. package/icon/icons/fal/falAngleDoubleDown.d.ts +0 -3
  228. package/icon/icons/fal/falAngleDoubleDown.js +0 -7
  229. package/icon/icons/fal/falAngleDoubleLeft.d.ts +0 -3
  230. package/icon/icons/fal/falAngleDoubleLeft.js +0 -7
  231. package/icon/icons/fal/falAngleDoubleRight.d.ts +0 -3
  232. package/icon/icons/fal/falAngleDoubleRight.js +0 -7
  233. package/icon/icons/fal/falAngleDoubleUp.d.ts +0 -3
  234. package/icon/icons/fal/falAngleDoubleUp.js +0 -7
  235. package/icon/icons/fal/falAngleDown.d.ts +0 -3
  236. package/icon/icons/fal/falAngleDown.js +0 -7
  237. package/icon/icons/fal/falAngleLeft.d.ts +0 -3
  238. package/icon/icons/fal/falAngleLeft.js +0 -7
  239. package/icon/icons/fal/falAngleRight.d.ts +0 -3
  240. package/icon/icons/fal/falAngleRight.js +0 -7
  241. package/icon/icons/fal/falAngleUp.d.ts +0 -3
  242. package/icon/icons/fal/falAngleUp.js +0 -7
  243. package/icon/icons/fal/falArrowAltDown.d.ts +0 -3
  244. package/icon/icons/fal/falArrowAltDown.js +0 -7
  245. package/icon/icons/fal/falArrowAltLeft.d.ts +0 -3
  246. package/icon/icons/fal/falArrowAltLeft.js +0 -7
  247. package/icon/icons/fal/falArrowAltRight.d.ts +0 -3
  248. package/icon/icons/fal/falArrowAltRight.js +0 -7
  249. package/icon/icons/fal/falArrowAltUp.d.ts +0 -3
  250. package/icon/icons/fal/falArrowAltUp.js +0 -7
  251. package/icon/icons/fal/falArrowCircleDown.d.ts +0 -3
  252. package/icon/icons/fal/falArrowCircleDown.js +0 -7
  253. package/icon/icons/fal/falArrowCircleLeft.d.ts +0 -3
  254. package/icon/icons/fal/falArrowCircleLeft.js +0 -7
  255. package/icon/icons/fal/falArrowCircleRight.d.ts +0 -3
  256. package/icon/icons/fal/falArrowCircleRight.js +0 -7
  257. package/icon/icons/fal/falArrowCircleUp.d.ts +0 -3
  258. package/icon/icons/fal/falArrowCircleUp.js +0 -7
  259. package/icon/icons/fal/falArrowDown.d.ts +0 -3
  260. package/icon/icons/fal/falArrowDown.js +0 -7
  261. package/icon/icons/fal/falArrowFromBottom.d.ts +0 -3
  262. package/icon/icons/fal/falArrowFromBottom.js +0 -7
  263. package/icon/icons/fal/falArrowFromLeft.d.ts +0 -3
  264. package/icon/icons/fal/falArrowFromLeft.js +0 -7
  265. package/icon/icons/fal/falArrowFromRight.d.ts +0 -3
  266. package/icon/icons/fal/falArrowFromRight.js +0 -7
  267. package/icon/icons/fal/falArrowFromTop.d.ts +0 -3
  268. package/icon/icons/fal/falArrowFromTop.js +0 -7
  269. package/icon/icons/fal/falArrowLeft.d.ts +0 -3
  270. package/icon/icons/fal/falArrowLeft.js +0 -7
  271. package/icon/icons/fal/falArrowRight.d.ts +0 -3
  272. package/icon/icons/fal/falArrowRight.js +0 -7
  273. package/icon/icons/fal/falArrowToBottom.d.ts +0 -3
  274. package/icon/icons/fal/falArrowToBottom.js +0 -7
  275. package/icon/icons/fal/falArrowToLeft.d.ts +0 -3
  276. package/icon/icons/fal/falArrowToLeft.js +0 -7
  277. package/icon/icons/fal/falArrowToRight.d.ts +0 -3
  278. package/icon/icons/fal/falArrowToRight.js +0 -7
  279. package/icon/icons/fal/falArrowToTop.d.ts +0 -3
  280. package/icon/icons/fal/falArrowToTop.js +0 -7
  281. package/icon/icons/fal/falArrowUp.d.ts +0 -3
  282. package/icon/icons/fal/falArrowUp.js +0 -7
  283. package/icon/icons/fal/falArrows.d.ts +0 -3
  284. package/icon/icons/fal/falArrows.js +0 -7
  285. package/icon/icons/fal/falAward.d.ts +0 -3
  286. package/icon/icons/fal/falAward.js +0 -7
  287. package/icon/icons/fal/falBan.d.ts +0 -3
  288. package/icon/icons/fal/falBan.js +0 -7
  289. package/icon/icons/fal/falBell.d.ts +0 -3
  290. package/icon/icons/fal/falBell.js +0 -7
  291. package/icon/icons/fal/falBookOpen.d.ts +0 -3
  292. package/icon/icons/fal/falBookOpen.js +0 -7
  293. package/icon/icons/fal/falBroadcastTower.d.ts +0 -3
  294. package/icon/icons/fal/falBroadcastTower.js +0 -7
  295. package/icon/icons/fal/falBuilding.d.ts +0 -3
  296. package/icon/icons/fal/falBuilding.js +0 -7
  297. package/icon/icons/fal/falBullseye.d.ts +0 -3
  298. package/icon/icons/fal/falBullseye.js +0 -7
  299. package/icon/icons/fal/falCalendar.d.ts +0 -3
  300. package/icon/icons/fal/falCalendar.js +0 -7
  301. package/icon/icons/fal/falCalendarAlt.d.ts +0 -3
  302. package/icon/icons/fal/falCalendarAlt.js +0 -7
  303. package/icon/icons/fal/falCamera.d.ts +0 -3
  304. package/icon/icons/fal/falCamera.js +0 -7
  305. package/icon/icons/fal/falCaretDown.d.ts +0 -3
  306. package/icon/icons/fal/falCaretDown.js +0 -7
  307. package/icon/icons/fal/falCaretLeft.d.ts +0 -3
  308. package/icon/icons/fal/falCaretLeft.js +0 -7
  309. package/icon/icons/fal/falCaretRight.d.ts +0 -3
  310. package/icon/icons/fal/falCaretRight.js +0 -7
  311. package/icon/icons/fal/falCaretUp.d.ts +0 -3
  312. package/icon/icons/fal/falCaretUp.js +0 -7
  313. package/icon/icons/fal/falCauldron.d.ts +0 -3
  314. package/icon/icons/fal/falCauldron.js +0 -7
  315. package/icon/icons/fal/falChartArea.d.ts +0 -3
  316. package/icon/icons/fal/falChartArea.js +0 -7
  317. package/icon/icons/fal/falChartBar.d.ts +0 -3
  318. package/icon/icons/fal/falChartBar.js +0 -7
  319. package/icon/icons/fal/falChartLine.d.ts +0 -3
  320. package/icon/icons/fal/falChartLine.js +0 -7
  321. package/icon/icons/fal/falChartLineDown.d.ts +0 -3
  322. package/icon/icons/fal/falChartLineDown.js +0 -7
  323. package/icon/icons/fal/falChartNetwork.d.ts +0 -3
  324. package/icon/icons/fal/falChartNetwork.js +0 -7
  325. package/icon/icons/fal/falChartPie.d.ts +0 -3
  326. package/icon/icons/fal/falChartPie.js +0 -7
  327. package/icon/icons/fal/falChartPieAlt.d.ts +0 -3
  328. package/icon/icons/fal/falChartPieAlt.js +0 -7
  329. package/icon/icons/fal/falChartScatter.d.ts +0 -3
  330. package/icon/icons/fal/falChartScatter.js +0 -7
  331. package/icon/icons/fal/falCheck.d.ts +0 -3
  332. package/icon/icons/fal/falCheck.js +0 -7
  333. package/icon/icons/fal/falCheckCircle.d.ts +0 -3
  334. package/icon/icons/fal/falCheckCircle.js +0 -7
  335. package/icon/icons/fal/falCheckSquare.d.ts +0 -3
  336. package/icon/icons/fal/falCheckSquare.js +0 -7
  337. package/icon/icons/fal/falChevronCircleDown.d.ts +0 -3
  338. package/icon/icons/fal/falChevronCircleDown.js +0 -7
  339. package/icon/icons/fal/falChevronCircleLeft.d.ts +0 -3
  340. package/icon/icons/fal/falChevronCircleLeft.js +0 -7
  341. package/icon/icons/fal/falChevronCircleRight.d.ts +0 -3
  342. package/icon/icons/fal/falChevronCircleRight.js +0 -7
  343. package/icon/icons/fal/falChevronCircleUp.d.ts +0 -3
  344. package/icon/icons/fal/falChevronCircleUp.js +0 -7
  345. package/icon/icons/fal/falChevronDoubleDown.d.ts +0 -3
  346. package/icon/icons/fal/falChevronDoubleDown.js +0 -7
  347. package/icon/icons/fal/falChevronDoubleLeft.d.ts +0 -3
  348. package/icon/icons/fal/falChevronDoubleLeft.js +0 -7
  349. package/icon/icons/fal/falChevronDoubleRight.d.ts +0 -3
  350. package/icon/icons/fal/falChevronDoubleRight.js +0 -7
  351. package/icon/icons/fal/falChevronDoubleUp.d.ts +0 -3
  352. package/icon/icons/fal/falChevronDoubleUp.js +0 -7
  353. package/icon/icons/fal/falChevronDown.d.ts +0 -3
  354. package/icon/icons/fal/falChevronDown.js +0 -7
  355. package/icon/icons/fal/falChevronLeft.d.ts +0 -3
  356. package/icon/icons/fal/falChevronLeft.js +0 -7
  357. package/icon/icons/fal/falChevronRight.d.ts +0 -3
  358. package/icon/icons/fal/falChevronRight.js +0 -7
  359. package/icon/icons/fal/falChevronUp.d.ts +0 -3
  360. package/icon/icons/fal/falChevronUp.js +0 -7
  361. package/icon/icons/fal/falCircle.d.ts +0 -3
  362. package/icon/icons/fal/falCircle.js +0 -7
  363. package/icon/icons/fal/falCloud.d.ts +0 -3
  364. package/icon/icons/fal/falCloud.js +0 -7
  365. package/icon/icons/fal/falCloudShowersHeavy.d.ts +0 -3
  366. package/icon/icons/fal/falCloudShowersHeavy.js +0 -7
  367. package/icon/icons/fal/falCloudSnow.d.ts +0 -3
  368. package/icon/icons/fal/falCloudSnow.js +0 -7
  369. package/icon/icons/fal/falCloudSun.d.ts +0 -3
  370. package/icon/icons/fal/falCloudSun.js +0 -7
  371. package/icon/icons/fal/falCloudSunRain.d.ts +0 -3
  372. package/icon/icons/fal/falCloudSunRain.js +0 -7
  373. package/icon/icons/fal/falCloudUpload.d.ts +0 -3
  374. package/icon/icons/fal/falCloudUpload.js +0 -7
  375. package/icon/icons/fal/falCode.d.ts +0 -3
  376. package/icon/icons/fal/falCode.js +0 -7
  377. package/icon/icons/fal/falCog.d.ts +0 -3
  378. package/icon/icons/fal/falCog.js +0 -7
  379. package/icon/icons/fal/falCogs.d.ts +0 -3
  380. package/icon/icons/fal/falCogs.js +0 -7
  381. package/icon/icons/fal/falComment.d.ts +0 -3
  382. package/icon/icons/fal/falComment.js +0 -7
  383. package/icon/icons/fal/falCommentAlt.d.ts +0 -3
  384. package/icon/icons/fal/falCommentAlt.js +0 -7
  385. package/icon/icons/fal/falCompressAlt.d.ts +0 -3
  386. package/icon/icons/fal/falCompressAlt.js +0 -7
  387. package/icon/icons/fal/falCopy.d.ts +0 -3
  388. package/icon/icons/fal/falCopy.js +0 -7
  389. package/icon/icons/fal/falCreditCard.d.ts +0 -3
  390. package/icon/icons/fal/falCreditCard.js +0 -7
  391. package/icon/icons/fal/falDatabase.d.ts +0 -3
  392. package/icon/icons/fal/falDatabase.js +0 -7
  393. package/icon/icons/fal/falDotCircle.d.ts +0 -3
  394. package/icon/icons/fal/falDotCircle.js +0 -7
  395. package/icon/icons/fal/falDownload.d.ts +0 -3
  396. package/icon/icons/fal/falDownload.js +0 -7
  397. package/icon/icons/fal/falEdit.d.ts +0 -3
  398. package/icon/icons/fal/falEdit.js +0 -7
  399. package/icon/icons/fal/falEllipsisH.d.ts +0 -3
  400. package/icon/icons/fal/falEllipsisH.js +0 -7
  401. package/icon/icons/fal/falEllipsisV.d.ts +0 -3
  402. package/icon/icons/fal/falEllipsisV.js +0 -7
  403. package/icon/icons/fal/falEnvelope.d.ts +0 -3
  404. package/icon/icons/fal/falEnvelope.js +0 -7
  405. package/icon/icons/fal/falExchange.d.ts +0 -3
  406. package/icon/icons/fal/falExchange.js +0 -7
  407. package/icon/icons/fal/falExclamationCircle.d.ts +0 -3
  408. package/icon/icons/fal/falExclamationCircle.js +0 -7
  409. package/icon/icons/fal/falExclamationTriangle.d.ts +0 -3
  410. package/icon/icons/fal/falExclamationTriangle.js +0 -7
  411. package/icon/icons/fal/falExpandAlt.d.ts +0 -3
  412. package/icon/icons/fal/falExpandAlt.js +0 -7
  413. package/icon/icons/fal/falExternalLink.d.ts +0 -3
  414. package/icon/icons/fal/falExternalLink.js +0 -7
  415. package/icon/icons/fal/falEye.d.ts +0 -3
  416. package/icon/icons/fal/falEye.js +0 -7
  417. package/icon/icons/fal/falEyeSlash.d.ts +0 -3
  418. package/icon/icons/fal/falEyeSlash.js +0 -7
  419. package/icon/icons/fal/falFile.d.ts +0 -3
  420. package/icon/icons/fal/falFile.js +0 -7
  421. package/icon/icons/fal/falFileAlt.d.ts +0 -3
  422. package/icon/icons/fal/falFileAlt.js +0 -7
  423. package/icon/icons/fal/falFileArchive.d.ts +0 -3
  424. package/icon/icons/fal/falFileArchive.js +0 -7
  425. package/icon/icons/fal/falFileAudio.d.ts +0 -3
  426. package/icon/icons/fal/falFileAudio.js +0 -7
  427. package/icon/icons/fal/falFileCertificate.d.ts +0 -3
  428. package/icon/icons/fal/falFileCertificate.js +0 -7
  429. package/icon/icons/fal/falFileChartLine.d.ts +0 -3
  430. package/icon/icons/fal/falFileChartLine.js +0 -7
  431. package/icon/icons/fal/falFileChartPie.d.ts +0 -3
  432. package/icon/icons/fal/falFileChartPie.js +0 -7
  433. package/icon/icons/fal/falFileCheck.d.ts +0 -3
  434. package/icon/icons/fal/falFileCheck.js +0 -7
  435. package/icon/icons/fal/falFileCode.d.ts +0 -3
  436. package/icon/icons/fal/falFileCode.js +0 -7
  437. package/icon/icons/fal/falFileCsv.d.ts +0 -3
  438. package/icon/icons/fal/falFileCsv.js +0 -7
  439. package/icon/icons/fal/falFileEdit.d.ts +0 -3
  440. package/icon/icons/fal/falFileEdit.js +0 -7
  441. package/icon/icons/fal/falFileExcel.d.ts +0 -3
  442. package/icon/icons/fal/falFileExcel.js +0 -7
  443. package/icon/icons/fal/falFileImage.d.ts +0 -3
  444. package/icon/icons/fal/falFileImage.js +0 -7
  445. package/icon/icons/fal/falFilePdf.d.ts +0 -3
  446. package/icon/icons/fal/falFilePdf.js +0 -7
  447. package/icon/icons/fal/falFilePlus.d.ts +0 -3
  448. package/icon/icons/fal/falFilePlus.js +0 -7
  449. package/icon/icons/fal/falFilePowerpoint.d.ts +0 -3
  450. package/icon/icons/fal/falFilePowerpoint.js +0 -7
  451. package/icon/icons/fal/falFileSpreadsheet.d.ts +0 -3
  452. package/icon/icons/fal/falFileSpreadsheet.js +0 -7
  453. package/icon/icons/fal/falFileVideo.d.ts +0 -3
  454. package/icon/icons/fal/falFileVideo.js +0 -7
  455. package/icon/icons/fal/falFileWord.d.ts +0 -3
  456. package/icon/icons/fal/falFileWord.js +0 -7
  457. package/icon/icons/fal/falFilter.d.ts +0 -3
  458. package/icon/icons/fal/falFilter.js +0 -7
  459. package/icon/icons/fal/falFlag.d.ts +0 -3
  460. package/icon/icons/fal/falFlag.js +0 -7
  461. package/icon/icons/fal/falFolder.d.ts +0 -3
  462. package/icon/icons/fal/falFolder.js +0 -7
  463. package/icon/icons/fal/falFolderOpen.d.ts +0 -3
  464. package/icon/icons/fal/falFolderOpen.js +0 -7
  465. package/icon/icons/fal/falFolderPlus.d.ts +0 -3
  466. package/icon/icons/fal/falFolderPlus.js +0 -7
  467. package/icon/icons/fal/falFolders.d.ts +0 -3
  468. package/icon/icons/fal/falFolders.js +0 -7
  469. package/icon/icons/fal/falGlassesAlt.d.ts +0 -3
  470. package/icon/icons/fal/falGlassesAlt.js +0 -7
  471. package/icon/icons/fal/falGlobe.d.ts +0 -3
  472. package/icon/icons/fal/falGlobe.js +0 -7
  473. package/icon/icons/fal/falHome.d.ts +0 -3
  474. package/icon/icons/fal/falHome.js +0 -7
  475. package/icon/icons/fal/falHourglass.d.ts +0 -3
  476. package/icon/icons/fal/falHourglass.js +0 -7
  477. package/icon/icons/fal/falImage.d.ts +0 -3
  478. package/icon/icons/fal/falImage.js +0 -7
  479. package/icon/icons/fal/falInfoCircle.d.ts +0 -3
  480. package/icon/icons/fal/falInfoCircle.js +0 -7
  481. package/icon/icons/fal/falKey.d.ts +0 -3
  482. package/icon/icons/fal/falKey.js +0 -7
  483. package/icon/icons/fal/falLayerPlus.d.ts +0 -3
  484. package/icon/icons/fal/falLayerPlus.js +0 -7
  485. package/icon/icons/fal/falLink.d.ts +0 -3
  486. package/icon/icons/fal/falLink.js +0 -7
  487. package/icon/icons/fal/falList.d.ts +0 -3
  488. package/icon/icons/fal/falList.js +0 -7
  489. package/icon/icons/fal/falLockAlt.d.ts +0 -3
  490. package/icon/icons/fal/falLockAlt.js +0 -7
  491. package/icon/icons/fal/falLongArrowDown.d.ts +0 -3
  492. package/icon/icons/fal/falLongArrowDown.js +0 -7
  493. package/icon/icons/fal/falLongArrowLeft.d.ts +0 -3
  494. package/icon/icons/fal/falLongArrowLeft.js +0 -7
  495. package/icon/icons/fal/falLongArrowRight.d.ts +0 -3
  496. package/icon/icons/fal/falLongArrowRight.js +0 -7
  497. package/icon/icons/fal/falLongArrowUp.d.ts +0 -3
  498. package/icon/icons/fal/falLongArrowUp.js +0 -7
  499. package/icon/icons/fal/falMap.d.ts +0 -3
  500. package/icon/icons/fal/falMap.js +0 -7
  501. package/icon/icons/fal/falMapMarked.d.ts +0 -3
  502. package/icon/icons/fal/falMapMarked.js +0 -7
  503. package/icon/icons/fal/falMapMarkedAlt.d.ts +0 -3
  504. package/icon/icons/fal/falMapMarkedAlt.js +0 -7
  505. package/icon/icons/fal/falMapMarker.d.ts +0 -3
  506. package/icon/icons/fal/falMapMarker.js +0 -7
  507. package/icon/icons/fal/falMapMarkerAlt.d.ts +0 -3
  508. package/icon/icons/fal/falMapMarkerAlt.js +0 -7
  509. package/icon/icons/fal/falMapMarkerAltSlash.d.ts +0 -3
  510. package/icon/icons/fal/falMapMarkerAltSlash.js +0 -7
  511. package/icon/icons/fal/falMapMarkerCheck.d.ts +0 -3
  512. package/icon/icons/fal/falMapMarkerCheck.js +0 -7
  513. package/icon/icons/fal/falMapMarkerExclamation.d.ts +0 -3
  514. package/icon/icons/fal/falMapMarkerExclamation.js +0 -7
  515. package/icon/icons/fal/falMinus.d.ts +0 -3
  516. package/icon/icons/fal/falMinus.js +0 -7
  517. package/icon/icons/fal/falPause.d.ts +0 -3
  518. package/icon/icons/fal/falPause.js +0 -7
  519. package/icon/icons/fal/falPauseCircle.d.ts +0 -3
  520. package/icon/icons/fal/falPauseCircle.js +0 -7
  521. package/icon/icons/fal/falPen.d.ts +0 -3
  522. package/icon/icons/fal/falPen.js +0 -7
  523. package/icon/icons/fal/falPlay.d.ts +0 -3
  524. package/icon/icons/fal/falPlay.js +0 -7
  525. package/icon/icons/fal/falPlayCircle.d.ts +0 -3
  526. package/icon/icons/fal/falPlayCircle.js +0 -7
  527. package/icon/icons/fal/falPlug.d.ts +0 -3
  528. package/icon/icons/fal/falPlug.js +0 -7
  529. package/icon/icons/fal/falPlus.d.ts +0 -3
  530. package/icon/icons/fal/falPlus.js +0 -7
  531. package/icon/icons/fal/falPlusCircle.d.ts +0 -3
  532. package/icon/icons/fal/falPlusCircle.js +0 -7
  533. package/icon/icons/fal/falPlusSquare.d.ts +0 -3
  534. package/icon/icons/fal/falPlusSquare.js +0 -7
  535. package/icon/icons/fal/falPrint.d.ts +0 -3
  536. package/icon/icons/fal/falPrint.js +0 -7
  537. package/icon/icons/fal/falPuzzlePiece.d.ts +0 -3
  538. package/icon/icons/fal/falPuzzlePiece.js +0 -7
  539. package/icon/icons/fal/falReceipt.d.ts +0 -3
  540. package/icon/icons/fal/falReceipt.js +0 -7
  541. package/icon/icons/fal/falRedo.d.ts +0 -3
  542. package/icon/icons/fal/falRedo.js +0 -7
  543. package/icon/icons/fal/falSave.d.ts +0 -3
  544. package/icon/icons/fal/falSave.js +0 -7
  545. package/icon/icons/fal/falSearch.d.ts +0 -3
  546. package/icon/icons/fal/falSearch.js +0 -7
  547. package/icon/icons/fal/falSearchPlus.d.ts +0 -3
  548. package/icon/icons/fal/falSearchPlus.js +0 -7
  549. package/icon/icons/fal/falServer.d.ts +0 -3
  550. package/icon/icons/fal/falServer.js +0 -7
  551. package/icon/icons/fal/falShare.d.ts +0 -3
  552. package/icon/icons/fal/falShare.js +0 -7
  553. package/icon/icons/fal/falShareAll.d.ts +0 -3
  554. package/icon/icons/fal/falShareAll.js +0 -7
  555. package/icon/icons/fal/falShareAlt.d.ts +0 -3
  556. package/icon/icons/fal/falShareAlt.js +0 -7
  557. package/icon/icons/fal/falShieldAlt.d.ts +0 -3
  558. package/icon/icons/fal/falShieldAlt.js +0 -7
  559. package/icon/icons/fal/falShieldCheck.d.ts +0 -3
  560. package/icon/icons/fal/falShieldCheck.js +0 -7
  561. package/icon/icons/fal/falShip.d.ts +0 -3
  562. package/icon/icons/fal/falShip.js +0 -7
  563. package/icon/icons/fal/falShoppingBasket.d.ts +0 -3
  564. package/icon/icons/fal/falShoppingBasket.js +0 -7
  565. package/icon/icons/fal/falSignInAlt.d.ts +0 -3
  566. package/icon/icons/fal/falSignInAlt.js +0 -7
  567. package/icon/icons/fal/falSignOut.d.ts +0 -3
  568. package/icon/icons/fal/falSignOut.js +0 -7
  569. package/icon/icons/fal/falSignOutAlt.d.ts +0 -3
  570. package/icon/icons/fal/falSignOutAlt.js +0 -7
  571. package/icon/icons/fal/falSlidersV.d.ts +0 -3
  572. package/icon/icons/fal/falSlidersV.js +0 -7
  573. package/icon/icons/fal/falSnowBlowing.d.ts +0 -3
  574. package/icon/icons/fal/falSnowBlowing.js +0 -7
  575. package/icon/icons/fal/falSnowflake.d.ts +0 -3
  576. package/icon/icons/fal/falSnowflake.js +0 -7
  577. package/icon/icons/fal/falSolarPanel.d.ts +0 -3
  578. package/icon/icons/fal/falSolarPanel.js +0 -7
  579. package/icon/icons/fal/falSort.d.ts +0 -3
  580. package/icon/icons/fal/falSort.js +0 -7
  581. package/icon/icons/fal/falSpinner.d.ts +0 -3
  582. package/icon/icons/fal/falSpinner.js +0 -7
  583. package/icon/icons/fal/falSquare.d.ts +0 -3
  584. package/icon/icons/fal/falSquare.js +0 -7
  585. package/icon/icons/fal/falStepForward.d.ts +0 -3
  586. package/icon/icons/fal/falStepForward.js +0 -7
  587. package/icon/icons/fal/falStop.d.ts +0 -3
  588. package/icon/icons/fal/falStop.js +0 -7
  589. package/icon/icons/fal/falStopCircle.d.ts +0 -3
  590. package/icon/icons/fal/falStopCircle.js +0 -7
  591. package/icon/icons/fal/falStopwatch.d.ts +0 -3
  592. package/icon/icons/fal/falStopwatch.js +0 -7
  593. package/icon/icons/fal/falSuitcase.d.ts +0 -3
  594. package/icon/icons/fal/falSuitcase.js +0 -7
  595. package/icon/icons/fal/falSun.d.ts +0 -3
  596. package/icon/icons/fal/falSun.js +0 -7
  597. package/icon/icons/fal/falSync.d.ts +0 -3
  598. package/icon/icons/fal/falSync.js +0 -7
  599. package/icon/icons/fal/falTachometer.d.ts +0 -3
  600. package/icon/icons/fal/falTachometer.js +0 -7
  601. package/icon/icons/fal/falTemperatureHigh.d.ts +0 -3
  602. package/icon/icons/fal/falTemperatureHigh.js +0 -7
  603. package/icon/icons/fal/falTh.d.ts +0 -3
  604. package/icon/icons/fal/falTh.js +0 -7
  605. package/icon/icons/fal/falThLarge.d.ts +0 -3
  606. package/icon/icons/fal/falThLarge.js +0 -7
  607. package/icon/icons/fal/falThList.d.ts +0 -3
  608. package/icon/icons/fal/falThList.js +0 -7
  609. package/icon/icons/fal/falTimes.d.ts +0 -3
  610. package/icon/icons/fal/falTimes.js +0 -7
  611. package/icon/icons/fal/falTimesCircle.d.ts +0 -3
  612. package/icon/icons/fal/falTimesCircle.js +0 -7
  613. package/icon/icons/fal/falToggleOff.d.ts +0 -3
  614. package/icon/icons/fal/falToggleOff.js +0 -7
  615. package/icon/icons/fal/falToggleOn.d.ts +0 -3
  616. package/icon/icons/fal/falToggleOn.js +0 -7
  617. package/icon/icons/fal/falTrashAlt.d.ts +0 -3
  618. package/icon/icons/fal/falTrashAlt.js +0 -7
  619. package/icon/icons/fal/falUnlockAlt.d.ts +0 -3
  620. package/icon/icons/fal/falUnlockAlt.js +0 -7
  621. package/icon/icons/fal/falUser.d.ts +0 -3
  622. package/icon/icons/fal/falUser.js +0 -7
  623. package/icon/icons/fal/falUserChart.d.ts +0 -3
  624. package/icon/icons/fal/falUserChart.js +0 -7
  625. package/icon/icons/fal/falUserCircle.d.ts +0 -3
  626. package/icon/icons/fal/falUserCircle.js +0 -7
  627. package/icon/icons/fal/falUserCog.d.ts +0 -3
  628. package/icon/icons/fal/falUserCog.js +0 -7
  629. package/icon/icons/fal/falUserEdit.d.ts +0 -3
  630. package/icon/icons/fal/falUserEdit.js +0 -7
  631. package/icon/icons/fal/falUserFriends.d.ts +0 -3
  632. package/icon/icons/fal/falUserFriends.js +0 -7
  633. package/icon/icons/fal/falUserPlus.d.ts +0 -3
  634. package/icon/icons/fal/falUserPlus.js +0 -7
  635. package/icon/icons/fal/falUserShield.d.ts +0 -3
  636. package/icon/icons/fal/falUserShield.js +0 -7
  637. package/icon/icons/fal/falUserTimes.d.ts +0 -3
  638. package/icon/icons/fal/falUserTimes.js +0 -7
  639. package/icon/icons/fal/falUsers.d.ts +0 -3
  640. package/icon/icons/fal/falUsers.js +0 -7
  641. package/icon/icons/fal/falUsersClass.d.ts +0 -3
  642. package/icon/icons/fal/falUsersClass.js +0 -7
  643. package/icon/icons/fal/falWater.d.ts +0 -3
  644. package/icon/icons/fal/falWater.js +0 -7
  645. package/icon/icons/fal/falWind.d.ts +0 -3
  646. package/icon/icons/fal/falWind.js +0 -7
  647. package/icon/icons/fal/falWindTurbine.d.ts +0 -3
  648. package/icon/icons/fal/falWindTurbine.js +0 -7
  649. package/icon/icons/fal/falWrench.d.ts +0 -3
  650. package/icon/icons/fal/falWrench.js +0 -7
  651. package/icon/icons/fas/fasCaretDown.d.ts +0 -3
  652. package/icon/icons/fas/fasCaretDown.js +0 -7
  653. package/icon/icons/fas/fasCaretLeft.d.ts +0 -3
  654. package/icon/icons/fas/fasCaretLeft.js +0 -7
  655. package/icon/icons/fas/fasCaretRight.d.ts +0 -3
  656. package/icon/icons/fas/fasCaretRight.js +0 -7
  657. package/icon/icons/fas/fasCaretUp.d.ts +0 -3
  658. package/icon/icons/fas/fasCaretUp.js +0 -7
  659. package/icon/icons/fas/fasDiamond.d.ts +0 -3
  660. package/icon/icons/fas/fasDiamond.js +0 -7
  661. package/icon/icons/fas/fasFolder.d.ts +0 -3
  662. package/icon/icons/fas/fasFolder.js +0 -7
  663. package/icon/icons/fas/fasMapMarkerAlt.d.ts +0 -3
  664. package/icon/icons/fas/fasMapMarkerAlt.js +0 -7
  665. package/icon/icons/fas/fasMapMarkerExclamation.d.ts +0 -3
  666. package/icon/icons/fas/fasMapMarkerExclamation.js +0 -7
  667. package/icon/icons/fas/fasQuoteLeft.d.ts +0 -3
  668. package/icon/icons/fas/fasQuoteLeft.js +0 -7
  669. package/icon/icons/fas/fasQuoteRight.d.ts +0 -3
  670. package/icon/icons/fas/fasQuoteRight.js +0 -7
  671. package/icon/icons/fas/fasSolarPanel.d.ts +0 -3
  672. package/icon/icons/fas/fasSolarPanel.js +0 -7
  673. package/icon/icons/fas/fasSort.d.ts +0 -3
  674. package/icon/icons/fas/fasSort.js +0 -7
  675. package/icon/icons/fas/fasStar.d.ts +0 -3
  676. package/icon/icons/fas/fasStar.js +0 -7
  677. package/icon/icons/fas/fasWindTurbine.d.ts +0 -3
  678. package/icon/icons/fas/fasWindTurbine.js +0 -7
  679. package/icon/icons/types.d.ts +0 -1
  680. package/icon/icons/types.js +0 -2
  681. package/styles/colors.d.ts +0 -171
  682. package/styles/colors.js +0 -96
  683. package/styles/durations.d.ts +0 -7
  684. package/styles/durations.js +0 -8
  685. package/styles/fontSizes.d.ts +0 -7
  686. package/styles/fontSizes.js +0 -8
  687. package/styles/fontWeights.d.ts +0 -7
  688. package/styles/fontWeights.js +0 -8
  689. package/styles/fonts.d.ts +0 -4
  690. package/styles/fonts.js +0 -5
  691. package/styles/radii.d.ts +0 -8
  692. package/styles/radii.js +0 -9
  693. package/styles/screens.d.ts +0 -8
  694. package/styles/screens.js +0 -9
  695. package/styles/shadows.d.ts +0 -9
  696. package/styles/shadows.js +0 -11
  697. package/theme/foundations/radius.d.ts +0 -7
  698. package/theme/foundations/radius.js +0 -9
  699. package/theme/foundations/typography.d.ts +0 -18
  700. package/theme/foundations/typography.js +0 -20
  701. package/theme/foundations.d.ts +0 -144
  702. package/theme/foundations.js +0 -20
@@ -1 +1 @@
1
- export declare type BaseIcon = 'cuiCheckboxIndeterminate' | 'cuiCheckboxSelected' | 'cuiCheckboxUnselected' | 'cuiRadioSelected' | 'cuiRadioUnselected' | 'culCovid' | 'culDeepSearch' | 'culDotsMenu' | 'culGlobePlus' | 'culListDense' | 'culMapMarkerStar' | 'culPlusThin' | 'culScreenshot' | 'culScreenshotAlt' | 'culShortcut' | 'culTimesThin' | 'culTransformer' | 'culUserTransfer' | 'culVessel' | 'culVesselGroup' | 'cusCheckboxSelected' | 'cusDotFull' | 'cusDotFullAlt' | 'cusDotsMenu' | 'cusRadio' | 'cusSquareMinus' | 'cusTransformer' | 'cusVessel' | 'fabApplePay' | 'fabBluetooth' | 'fabBtc' | 'fabCcAmazonPay' | 'fabCcAmex' | 'fabCcApplePay' | 'fabCcDinersClub' | 'fabCcMastercard' | 'fabCcPaypal' | 'fabCcVisa' | 'fabDhl' | 'fabEbay' | 'fabFacebook' | 'fabFedex' | 'fabFirefox' | 'fabGoogle' | 'fabGoogleDrive' | 'fabLinkedinIn' | 'fabMedium' | 'fabOsi' | 'fabSlack' | 'fabTwitter' | 'fabUps' | 'falAddressBook' | 'falAddressCard' | 'falAnalytics' | 'falAngleDoubleDown' | 'falAngleDoubleLeft' | 'falAngleDoubleRight' | 'falAngleDoubleUp' | 'falAngleDown' | 'falAngleLeft' | 'falAngleRight' | 'falAngleUp' | 'falArrowAltDown' | 'falArrowAltLeft' | 'falArrowAltRight' | 'falArrowAltUp' | 'falArrowCircleDown' | 'falArrowCircleLeft' | 'falArrowCircleRight' | 'falArrowCircleUp' | 'falArrowDown' | 'falArrowFromBottom' | 'falArrowFromLeft' | 'falArrowFromRight' | 'falArrowFromTop' | 'falArrowLeft' | 'falArrowRight' | 'falArrowToBottom' | 'falArrowToLeft' | 'falArrowToRight' | 'falArrowToTop' | 'falArrowUp' | 'falArrows' | 'falAward' | 'falBan' | 'falBell' | 'falBookOpen' | 'falBroadcastTower' | 'falBuilding' | 'falBullseye' | 'falCalendar' | 'falCalendarAlt' | 'falCamera' | 'falCaretDown' | 'falCaretLeft' | 'falCaretRight' | 'falCaretUp' | 'falCauldron' | 'falChartArea' | 'falChartBar' | 'falChartLineDown' | 'falChartLine' | 'falChartNetwork' | 'falChartPie' | 'falChartPieAlt' | 'falChartScatter' | 'falCheckCircle' | 'falCheckSquare' | 'falCheck' | 'falChevronCircleDown' | 'falChevronCircleLeft' | 'falChevronCircleRight' | 'falChevronCircleUp' | 'falChevronDoubleDown' | 'falChevronDoubleLeft' | 'falChevronDoubleRight' | 'falChevronDoubleUp' | 'falChevronDown' | 'falChevronLeft' | 'falChevronRight' | 'falChevronUp' | 'falCircle' | 'falCloudShowersHeavy' | 'falCloudSnow' | 'falCloudSunRain' | 'falCloudSun' | 'falCloudUpload' | 'falCloud' | 'falCode' | 'falCog' | 'falCogs' | 'falComment' | 'falCommentAlt' | 'falCompressAlt' | 'falCopy' | 'falCreditCard' | 'falDatabase' | 'falDotCircle' | 'falDownload' | 'falEdit' | 'falEllipsisH' | 'falEllipsisV' | 'falEnvelope' | 'falExchange' | 'falExclamationCircle' | 'falExclamationTriangle' | 'falExpandAlt' | 'falExternalLink' | 'falEye' | 'falEyeSlash' | 'falFile' | 'falFilePdf' | 'falFileAlt' | 'falFileArchive' | 'falFileAudio' | 'falFileCertificate' | 'falFileChartLine' | 'falFileChartPie' | 'falFileCheck' | 'falFileCode' | 'falFileCsv' | 'falFileEdit' | 'falFileExcel' | 'falFileImage' | 'falFilePlus' | 'falFilePowerpoint' | 'falFileSpreadsheet' | 'falFileVideo' | 'falFileWord' | 'falFilter' | 'falFlag' | 'falFolderOpen' | 'falFolderPlus' | 'falFolder' | 'falFolders' | 'falGlassesAlt' | 'falGlobe' | 'falHome' | 'falHourglass' | 'falImage' | 'falInfoCircle' | 'falKey' | 'falLayerPlus' | 'falLink' | 'falList' | 'falLockAlt' | 'falLongArrowDown' | 'falLongArrowLeft' | 'falLongArrowRight' | 'falLongArrowUp' | 'falMapMarked' | 'falMapMarkedAlt' | 'falMapMarkerAlt' | 'falMapMarkerAltSlash' | 'falMapMarkerCheck' | 'falMapMarkerExclamation' | 'falMapMarker' | 'falMap' | 'falMinus' | 'falPause' | 'falPauseCircle' | 'falPen' | 'falPlay' | 'falPlayCircle' | 'falPlug' | 'falPlusSquare' | 'falPlus' | 'falPlusCircle' | 'falPrint' | 'falPuzzlePiece' | 'falReceipt' | 'falRedo' | 'falSave' | 'falSearchPlus' | 'falSearch' | 'falServer' | 'falShareAll' | 'falShare' | 'falShareAlt' | 'falShieldAlt' | 'falShieldCheck' | 'falShip' | 'falShoppingBasket' | 'falSignInAlt' | 'falSignOut' | 'falSignOutAlt' | 'falSlidersV' | 'falSnowBlowing' | 'falSnowflake' | 'falSolarPanel' | 'falSort' | 'falSpinner' | 'falSquare' | 'falStepForward' | 'falStop' | 'falStopCircle' | 'falStopwatch' | 'falSuitcase' | 'falSun' | 'falSync' | 'falTachometer' | 'falTemperatureHigh' | 'falThLarge' | 'falThList' | 'falTh' | 'falTimesCircle' | 'falTimes' | 'falToggleOff' | 'falToggleOn' | 'falTrashAlt' | 'falUnlockAlt' | 'falUserChart' | 'falUserCircle' | 'falUserCog' | 'falUserEdit' | 'falUserFriends' | 'falUserPlus' | 'falUserShield' | 'falUserTimes' | 'falUser' | 'falUsersClass' | 'falUsers' | 'falWater' | 'falWindTurbine' | 'falWind' | 'falWrench' | 'fasCaretDown' | 'fasCaretLeft' | 'fasCaretRight' | 'fasCaretUp' | 'fasDiamond' | 'fasFolder' | 'fasMapMarkerAlt' | 'fasMapMarkerExclamation' | 'fasQuoteLeft' | 'fasQuoteRight' | 'fasSolarPanel' | 'fasSort' | 'fasStar' | 'fasWindTurbine';
1
+ export declare type BaseIcon = 'cuiCheckboxIndeterminate' | 'cuiCheckboxSelected' | 'cuiCheckboxUnselected' | 'cuiRadioSelected' | 'cuiRadioUnselected' | 'culCovid' | 'culDeepSearch' | 'culDotsMenu' | 'culGlobePlus' | 'culListDense' | 'culMapMarkerStar' | 'culPlusThin' | 'culScreenshot' | 'culScreenshotAlt' | 'culShortcut' | 'culTimesThin' | 'culTransformer' | 'culUserTransfer' | 'culVessel' | 'culVesselGroup' | 'cusCheckboxSelected' | 'cusDotFull' | 'cusDotFullAlt' | 'cusDotsMenu' | 'cusRadio' | 'cusSquareMinus' | 'cusTransformer' | 'cusVessel' | 'fabApplePay' | 'fabBluetooth' | 'fabBtc' | 'fabCcAmazonPay' | 'fabCcAmex' | 'fabCcApplePay' | 'fabCcDinersClub' | 'fabCcMastercard' | 'fabCcPaypal' | 'fabCcVisa' | 'fabDhl' | 'fabEbay' | 'fabFacebook' | 'fabFedex' | 'fabFirefox' | 'fabGoogle' | 'fabGoogleDrive' | 'fabLinkedinIn' | 'fabMedium' | 'fabOsi' | 'fabSlack' | 'fabTwitter' | 'fabUps' | 'falAddressBook' | 'falAddressCard' | 'falAnalytics' | 'falAngleDoubleDown' | 'falAngleDoubleLeft' | 'falAngleDoubleRight' | 'falAngleDoubleUp' | 'falAngleDown' | 'falAngleLeft' | 'falAngleRight' | 'falAngleUp' | 'falArrowAltDown' | 'falArrowAltLeft' | 'falArrowAltRight' | 'falArrowAltUp' | 'falArrowCircleDown' | 'falArrowCircleLeft' | 'falArrowCircleRight' | 'falArrowCircleUp' | 'falArrowDown' | 'falArrowFromBottom' | 'falArrowFromLeft' | 'falArrowFromRight' | 'falArrowFromTop' | 'falArrowLeft' | 'falArrowRight' | 'falArrowToBottom' | 'falArrowToLeft' | 'falArrowToRight' | 'falArrowToTop' | 'falArrowUp' | 'falArrows' | 'falAward' | 'falBan' | 'falBell' | 'falBookOpen' | 'falBroadcastTower' | 'falBuilding' | 'falBullseye' | 'falCalendar' | 'falCalendarAlt' | 'falCamera' | 'falCaretDown' | 'falCaretLeft' | 'falCaretRight' | 'falCaretUp' | 'falCauldron' | 'falChartArea' | 'falChartBar' | 'falChartLineDown' | 'falChartLine' | 'falChartNetwork' | 'falChartPie' | 'falChartPieAlt' | 'falChartScatter' | 'falCheckCircle' | 'falCheckSquare' | 'falCheck' | 'falChevronCircleDown' | 'falChevronCircleLeft' | 'falChevronCircleRight' | 'falChevronCircleUp' | 'falChevronDoubleDown' | 'falChevronDoubleLeft' | 'falChevronDoubleRight' | 'falChevronDoubleUp' | 'falChevronDown' | 'falChevronLeft' | 'falChevronRight' | 'falChevronUp' | 'falCircle' | 'falCloudShowersHeavy' | 'falCloudSnow' | 'falCloudSunRain' | 'falCloudSun' | 'falCloudUpload' | 'falCloud' | 'falCode' | 'falCog' | 'falCogs' | 'falComment' | 'falCommentAlt' | 'falCompressAlt' | 'falCopy' | 'falCreditCard' | 'falDatabase' | 'falDotCircle' | 'falDownload' | 'falEdit' | 'falEllipsisH' | 'falEllipsisV' | 'falEnvelope' | 'falExchange' | 'falExclamationCircle' | 'falExclamationTriangle' | 'falExpandAlt' | 'falExternalLink' | 'falEye' | 'falEyeSlash' | 'falFile' | 'falFilePdf' | 'falFileAlt' | 'falFileArchive' | 'falFileAudio' | 'falFileCertificate' | 'falFileChartLine' | 'falFileChartPie' | 'falFileCheck' | 'falFileCode' | 'falFileCsv' | 'falFileEdit' | 'falFileExcel' | 'falFileImage' | 'falFilePlus' | 'falFilePowerpoint' | 'falFileSpreadsheet' | 'falFileVideo' | 'falFileWord' | 'falFilter' | 'falFlag' | 'falFolderOpen' | 'falFolderPlus' | 'falFolder' | 'falFolders' | 'falGlassesAlt' | 'falGlobe' | 'falHome' | 'falHourglass' | 'falImage' | 'falInfoCircle' | 'falKey' | 'falLayerPlus' | 'falLink' | 'falList' | 'falLockAlt' | 'falLongArrowDown' | 'falLongArrowLeft' | 'falLongArrowRight' | 'falLongArrowUp' | 'falMapMarked' | 'falMapMarkedAlt' | 'falMapMarkerAlt' | 'falMapMarkerAltSlash' | 'falMapMarkerCheck' | 'falMapMarkerExclamation' | 'falMapMarker' | 'falMap' | 'falMinus' | 'falPause' | 'falPauseCircle' | 'falPen' | 'falPlay' | 'falPlayCircle' | 'falPlug' | 'falPlusSquare' | 'falPlus' | 'falPlusCircle' | 'falPrint' | 'falPuzzlePiece' | 'falReceipt' | 'falRedo' | 'falSave' | 'falSearchPlus' | 'falSearch' | 'falServer' | 'falShareAll' | 'falShare' | 'falShareAlt' | 'falShieldAlt' | 'falShieldCheck' | 'falShip' | 'falShoppingBasket' | 'falSignIn' | 'falSignInAlt' | 'falSignOut' | 'falSignOutAlt' | 'falSlidersV' | 'falSnowBlowing' | 'falSnowflake' | 'falSolarPanel' | 'falSort' | 'falSpinner' | 'falSquare' | 'falStepForward' | 'falStop' | 'falStopCircle' | 'falStopwatch' | 'falSuitcase' | 'falSun' | 'falSync' | 'falTachometer' | 'falTemperatureHigh' | 'falThLarge' | 'falThList' | 'falTh' | 'falTimesCircle' | 'falTimes' | 'falToggleOff' | 'falToggleOn' | 'falTrashAlt' | 'falUnlockAlt' | 'falUserChart' | 'falUserCircle' | 'falUserCog' | 'falUserEdit' | 'falUserFriends' | 'falUserPlus' | 'falUserShield' | 'falUserTimes' | 'falUser' | 'falUsersClass' | 'falUsers' | 'falWater' | 'falWindTurbine' | 'falWind' | 'falWrench' | 'fasCaretDown' | 'fasCaretLeft' | 'fasCaretRight' | 'fasCaretUp' | 'fasDiamond' | 'fasFolder' | 'fasMapMarkerAlt' | 'fasMapMarkerExclamation' | 'fasQuoteLeft' | 'fasQuoteRight' | 'fasSolarPanel' | 'fasSort' | 'fasStar' | 'fasWindTurbine';
package/input/input.d.ts CHANGED
@@ -1,7 +1,6 @@
1
- import { InputInputStyleProps, InputProps, InputStyleProps } from './input.types';
2
- export declare const InputInput: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, InputInputStyleProps & {
3
- color?: any;
4
- }, never>;
5
- export declare const InputBase: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, InputStyleProps, never>;
1
+ import { InputInputStyleProps, InputProps } from './input.types';
2
+ import { SystemProps } from '../system';
3
+ export declare const InputInput: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, InputInputStyleProps, never>;
4
+ export declare const InputBase: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, SystemProps, never>;
6
5
  export declare const Input: import("../core").VuiComponent<"div", InputProps>;
7
6
  export default Input;
package/input/input.js CHANGED
@@ -36,10 +36,10 @@ var styled_components_2 = __importDefault(require("styled-components"));
36
36
  var consts_1 = require("./consts");
37
37
  var core_1 = require("../core");
38
38
  var icon_1 = __importDefault(require("../icon"));
39
+ var system_1 = require("../system");
39
40
  var utils_1 = require("../utils");
40
- var generator = styled_components_1.compose(styled_components_1.backgroundColor, styled_components_1.borders, styled_components_1.flexboxes, styled_components_1.sizing, styled_components_1.space, styled_components_1.transitions);
41
41
  exports.InputInput = styled_components_2.default.input(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\talign-self: stretch;\n\tbackground-color: transparent;\n\tborder: none;\n\tflex: 1;\n\tmargin: 0 8px;\n\tmin-width: 0;\n\toutline: none;\n\tpadding: 0;\n\n\t:disabled,\n\t:disabled::placeholder {\n\t\tcolor: var(--vui-colors-disabled-font);\n\t\tcursor: not-allowed;\n\t}\n\n\t", "\n"], ["\n\talign-self: stretch;\n\tbackground-color: transparent;\n\tborder: none;\n\tflex: 1;\n\tmargin: 0 8px;\n\tmin-width: 0;\n\toutline: none;\n\tpadding: 0;\n\n\t:disabled,\n\t:disabled::placeholder {\n\t\tcolor: var(--vui-colors-disabled-font);\n\t\tcursor: not-allowed;\n\t}\n\n\t", "\n"])), styled_components_1.compose(styled_components_1.color, styled_components_1.fontSize));
42
- exports.InputBase = styled_components_2.default.div.withConfig(core_1.forwardPropConfig(generator))(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n\talign-items: center;\n\tborder-width: 1px;\n\tdisplay: flex;\n\toutline: none;\n\twidth: 100%;\n\n\t&.disabled {\n\t\tbackground-color: var(--vui-colors-disabled-bg);\n\t\tcolor: var(--vui-colors-disabled-font);\n\t\tcursor: not-allowed;\n\t}\n\n\t", "\n"], ["\n\talign-items: center;\n\tborder-width: 1px;\n\tdisplay: flex;\n\toutline: none;\n\twidth: 100%;\n\n\t&.disabled {\n\t\tbackground-color: var(--vui-colors-disabled-bg);\n\t\tcolor: var(--vui-colors-disabled-font);\n\t\tcursor: not-allowed;\n\t}\n\n\t", "\n"])), generator);
42
+ exports.InputBase = styled_components_2.default.div.withConfig(core_1.forwardPropConfig(system_1.system))(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n\talign-items: center;\n\tborder-width: 1px;\n\tdisplay: flex;\n\toutline: none;\n\twidth: 100%;\n\n\t&.disabled {\n\t\tbackground-color: var(--vui-colors-disabled-bg);\n\t\tcolor: var(--vui-colors-disabled-font);\n\t\tcursor: not-allowed;\n\t}\n\n\t", "\n"], ["\n\talign-items: center;\n\tborder-width: 1px;\n\tdisplay: flex;\n\toutline: none;\n\twidth: 100%;\n\n\t&.disabled {\n\t\tbackground-color: var(--vui-colors-disabled-bg);\n\t\tcolor: var(--vui-colors-disabled-font);\n\t\tcursor: not-allowed;\n\t}\n\n\t", "\n"])), system_1.system);
43
43
  exports.Input = core_1.vui(function (props, ref) {
44
44
  var _a;
45
45
  var _b = core_1.omitThemingProps(props), autoComplete = _b.autoComplete, autoFocus = _b.autoFocus, className = _b.className, colorSchemeProp = _b.colorScheme, defaultValue = _b.defaultValue, disabled = _b.disabled, iconLeft = _b.iconLeft, iconRightProp = _b.iconRight, _c = _b.inputProps, inputProps = _c === void 0 ? {} : _c, inputRef = _b.inputRef, itemLeft = _b.itemLeft, itemRight = _b.itemRight, _d = _b.length, length = _d === void 0 ? 'fluid' : _d, name = _b.name, onBlur = _b.onBlur, onChange = _b.onChange, onFocus = _b.onFocus, placeholder = _b.placeholder, readOnly = _b.readOnly, required = _b.required, _e = _b.state, state = _e === void 0 ? 'default' : _e, stateMapping = _b.stateMapping, _f = _b.type, type = _f === void 0 ? 'text' : _f, value = _b.value, rest = __rest(_b, ["autoComplete", "autoFocus", "className", "colorScheme", "defaultValue", "disabled", "iconLeft", "iconRight", "inputProps", "inputRef", "itemLeft", "itemRight", "length", "name", "onBlur", "onChange", "onFocus", "placeholder", "readOnly", "required", "state", "stateMapping", "type", "value"]);
@@ -2,14 +2,14 @@
2
2
  import { inputLengths } from './consts';
3
3
  import { ChangeEventHandler, FocusEventHandler } from '../core';
4
4
  import { IconProp } from '../icon';
5
- import { BackgroundColorProps, BordersProps, ColorProps, EffectsProps, FontSizeProps, SizingProps, SpaceProps, TransitionsProps } from '../system';
5
+ import { ColorProps, FontSizeProps, SystemProps } from '../system';
6
6
  import { ThemingProps } from '../theme';
7
7
  export interface InputInputProps extends InputInputStyleProps {
8
8
  }
9
9
  export interface InputInputStyleProps extends ColorProps, FontSizeProps {
10
10
  }
11
11
  export declare type InputLength = keyof typeof inputLengths;
12
- export interface InputProps extends InputStyleProps, ThemingProps<'Input'> {
12
+ export interface InputProps extends SystemProps, ThemingProps<'Input'> {
13
13
  autoComplete?: string;
14
14
  autoFocus?: boolean;
15
15
  colorScheme?: 'green' | 'grey' | 'red';
@@ -38,5 +38,3 @@ export declare type InputStateMapping = Record<string, {
38
38
  colorScheme?: InputProps['colorScheme'];
39
39
  iconRight: InputProps['iconRight'];
40
40
  }>;
41
- export interface InputStyleProps extends BackgroundColorProps, BordersProps, EffectsProps, SizingProps, SpaceProps, TransitionsProps {
42
- }
package/label/label.d.ts CHANGED
@@ -1,6 +1,5 @@
1
- import { LabelProps, LabelStyleProps } from './label.types';
2
- export declare const LabelBase: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, LabelStyleProps & {
3
- color?: any;
4
- }, never>;
1
+ import { LabelProps } from './label.types';
2
+ import { SystemProps } from '../system';
3
+ export declare const LabelBase: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, SystemProps, never>;
5
4
  export declare const Label: import("../core").VuiComponent<"span", LabelProps>;
6
5
  export default Label;
package/label/label.js CHANGED
@@ -30,16 +30,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
30
30
  };
31
31
  Object.defineProperty(exports, "__esModule", { value: true });
32
32
  exports.Label = exports.LabelBase = void 0;
33
- var styled_components_1 = require("@xstyled/styled-components");
34
33
  var react_1 = __importDefault(require("react"));
35
- var styled_components_2 = __importDefault(require("styled-components"));
34
+ var styled_components_1 = __importDefault(require("styled-components"));
36
35
  var core_1 = require("../core");
37
36
  var icon_1 = __importDefault(require("../icon"));
38
37
  var system_1 = require("../system");
39
38
  var utils_1 = require("../utils");
40
- var generator = styled_components_1.compose(styled_components_1.backgroundColor, styled_components_1.borders, styled_components_1.effects, styled_components_1.flexboxes, styled_components_1.interactivity, system_1.isTruncated, styled_components_1.sizing, styled_components_1.space, styled_components_1.transitions, styled_components_1.typography);
41
- var Text = styled_components_2.default.span(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\t", "\n"], ["\n\t", "\n"])), system_1.isTruncated);
42
- exports.LabelBase = styled_components_2.default.span.withConfig(core_1.forwardPropConfig(generator))(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n\talign-items: center;\n\tdisplay: flex;\n\tjustify-content: center;\n\tline-height: normal;\n\tmin-width: 0px;\n\tposition: relative;\n\twidth: fit-content;\n\n\t&:focus {\n\t\tborder-color: transparent;\n\t\toutline: none;\n\t}\n\n\t", "\n"], ["\n\talign-items: center;\n\tdisplay: flex;\n\tjustify-content: center;\n\tline-height: normal;\n\tmin-width: 0px;\n\tposition: relative;\n\twidth: fit-content;\n\n\t&:focus {\n\t\tborder-color: transparent;\n\t\toutline: none;\n\t}\n\n\t", "\n"])), generator);
39
+ var Text = styled_components_1.default.span(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\t", "\n"], ["\n\t", "\n"])), system_1.isTruncated);
40
+ exports.LabelBase = styled_components_1.default.span.withConfig(core_1.forwardPropConfig(system_1.system))(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n\talign-items: center;\n\tdisplay: flex;\n\tjustify-content: center;\n\tline-height: normal;\n\tmin-width: 0px;\n\tposition: relative;\n\twidth: fit-content;\n\n\t&:focus {\n\t\tborder-color: transparent;\n\t\toutline: none;\n\t}\n\n\t", "\n"], ["\n\talign-items: center;\n\tdisplay: flex;\n\tjustify-content: center;\n\tline-height: normal;\n\tmin-width: 0px;\n\tposition: relative;\n\twidth: fit-content;\n\n\t&:focus {\n\t\tborder-color: transparent;\n\t\toutline: none;\n\t}\n\n\t", "\n"])), system_1.system);
43
41
  exports.Label = core_1.vui(function (props, ref) {
44
42
  var _a = core_1.omitThemingProps(props), casing = _a.casing, children = _a.children, className = _a.className, icon = _a.icon, iconLeft = _a.iconLeft, iconRight = _a.iconRight, isElevated = _a.isElevated, isFullWidth = _a.isFullWidth, _b = _a.isInteractive, isInteractive = _b === void 0 ? props.onClick !== undefined : _b, isLoading = _a.isLoading, isRound = _a.isRound, isSplit = _a.isSplit, _c = _a.isTruncated, isTruncated = _c === void 0 ? true : _c, itemLeft = _a.itemLeft, itemRight = _a.itemRight, text = _a.text, weight = _a.weight, rest = __rest(_a, ["casing", "children", "className", "icon", "iconLeft", "iconRight", "isElevated", "isFullWidth", "isInteractive", "isLoading", "isRound", "isSplit", "isTruncated", "itemLeft", "itemRight", "text", "weight"]);
45
43
  var _d = core_1.useStyleConfig('Label', props), activeBg = _d.activeBg, h = _d.h, hoverBg = _d.hoverBg, _e = _d.iconSize, iconSize = _e === void 0 ? 'md' : _e, _f = _d.spaceX, spaceXBase = _f === void 0 ? 0 : _f, styles = __rest(_d, ["activeBg", "h", "hoverBg", "iconSize", "spaceX"]);
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import { IconProp } from '../icon';
3
- import { BackgroundColorProps, BordersProps, EffectsProps, InteractivityProps, IsTruncatedProps, SizingProps, SpaceProps, TransitionsProps, TypographyProps } from '../system';
3
+ import { SystemProps, TypographyProps } from '../system';
4
4
  import { ThemingProps } from '../theme';
5
- export interface LabelProps extends LabelStyleProps, ThemingProps<'Label'> {
5
+ export interface LabelProps extends SystemProps, ThemingProps<'Label'> {
6
6
  casing?: TypographyProps['textTransform'];
7
7
  colorScheme?: 'blue' | 'green' | 'grey' | 'prussian' | 'red' | 'yellow';
8
8
  icon?: IconProp;
@@ -16,8 +16,6 @@ export interface LabelProps extends LabelStyleProps, ThemingProps<'Label'> {
16
16
  isSplit?: boolean;
17
17
  itemLeft?: React.ReactNode;
18
18
  itemRight?: React.ReactNode;
19
- text?: string;
19
+ text?: number | string;
20
20
  weight?: TypographyProps['fontWeight'];
21
21
  }
22
- export interface LabelStyleProps extends BackgroundColorProps, BordersProps, EffectsProps, InteractivityProps, IsTruncatedProps, SizingProps, SpaceProps, TransitionsProps, TypographyProps {
23
- }
package/link/link.d.ts CHANGED
@@ -1,6 +1,5 @@
1
- import { LinkProps, LinkStyleProps } from './link.types';
2
- export declare const LinkBase: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, LinkStyleProps & {
3
- color?: any;
4
- }, never>;
1
+ import { LinkProps } from './link.types';
2
+ import { SystemProps } from '../system';
3
+ export declare const LinkBase: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, SystemProps, never>;
5
4
  export declare const Link: import("../core").VuiComponent<"a", LinkProps>;
6
5
  export default Link;
package/link/link.js CHANGED
@@ -30,16 +30,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
30
30
  };
31
31
  Object.defineProperty(exports, "__esModule", { value: true });
32
32
  exports.Link = exports.LinkBase = void 0;
33
- var styled_components_1 = require("@xstyled/styled-components");
34
33
  var react_1 = __importDefault(require("react"));
35
- var styled_components_2 = __importDefault(require("styled-components"));
34
+ var styled_components_1 = __importDefault(require("styled-components"));
36
35
  var core_1 = require("../core");
37
36
  var system_1 = require("../system");
38
37
  var utils_1 = require("../utils");
39
- var generator = styled_components_1.compose(styled_components_1.borders, system_1.isTruncated, styled_components_1.sizing, styled_components_1.space, styled_components_1.transitions, styled_components_1.typography);
40
- exports.LinkBase = styled_components_2.default.a.withConfig(core_1.forwardPropConfig(generator))(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\talign-items: center;\n\tcursor: pointer;\n\tdisplay: inline-flex;\n\toutline: none;\n\ttext-decoration: none;\n\twidth: fit-content;\n\n\t", "\n"], ["\n\talign-items: center;\n\tcursor: pointer;\n\tdisplay: inline-flex;\n\toutline: none;\n\ttext-decoration: none;\n\twidth: fit-content;\n\n\t", "\n"])), generator);
38
+ exports.LinkBase = styled_components_1.default.a.withConfig(core_1.forwardPropConfig(system_1.system))(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\talign-items: center;\n\tcursor: pointer;\n\tdisplay: inline-flex;\n\toutline: none;\n\ttext-decoration: none;\n\twidth: fit-content;\n\n\t", "\n"], ["\n\talign-items: center;\n\tcursor: pointer;\n\tdisplay: inline-flex;\n\toutline: none;\n\ttext-decoration: none;\n\twidth: fit-content;\n\n\t", "\n"])), system_1.system);
41
39
  exports.Link = core_1.vui(function (props, ref) {
42
- var _a = core_1.omitThemingProps(props), className = _a.className, decoration = _a.decoration, _b = _a.hoverDecoration, hoverDecoration = _b === void 0 ? 'underline' : _b, isExternal = _a.isExternal, weight = _a.weight, rest = __rest(_a, ["className", "decoration", "hoverDecoration", "isExternal", "weight"]);
40
+ var _a = core_1.omitThemingProps(props), children = _a.children, className = _a.className, decoration = _a.decoration, _b = _a.hoverDecoration, hoverDecoration = _b === void 0 ? 'underline' : _b, isExternal = _a.isExternal, text = _a.text, weight = _a.weight, rest = __rest(_a, ["children", "className", "decoration", "hoverDecoration", "isExternal", "text", "weight"]);
43
41
  var styles = core_1.useStyleConfig('Link', props);
44
42
  var aliasedProps = utils_1.filterUndefined({
45
43
  fontWeight: weight,
@@ -48,7 +46,7 @@ exports.Link = core_1.vui(function (props, ref) {
48
46
  target: isExternal ? '_blank' : undefined,
49
47
  textDecoration: decoration
50
48
  });
51
- return (react_1.default.createElement(exports.LinkBase, __assign({ borderRadius: "sm", className: utils_1.cs('vui-link', className), focusRing: 2, ref: ref, transitionDuration: "instant" }, styles, aliasedProps, rest)));
49
+ return (react_1.default.createElement(exports.LinkBase, __assign({ borderRadius: "sm", className: utils_1.cs('vui-link', className), focusRing: 2, ref: ref, transitionDuration: "instant" }, styles, aliasedProps, rest), children !== null && children !== void 0 ? children : text));
52
50
  });
53
51
  exports.Link.displayName = 'Link';
54
52
  exports.default = exports.Link;
@@ -1,11 +1,10 @@
1
- import { BordersProps, IsTruncatedProps, SizingProps, SpaceProps, TransitionsProps, TypographyProps } from '../system';
1
+ import { SystemProps, TypographyProps } from '../system';
2
2
  import { ThemingProps } from '../theme';
3
- export interface LinkProps extends LinkStyleProps, ThemingProps<'Link'> {
3
+ export interface LinkProps extends SystemProps, ThemingProps<'Link'> {
4
4
  colorScheme?: 'blue' | 'prussian';
5
5
  decoration?: TypographyProps['textDecoration'];
6
6
  hoverDecoration?: TypographyProps['textDecoration'];
7
7
  isExternal?: boolean;
8
+ text?: number | string;
8
9
  weight?: TypographyProps['fontWeight'];
9
10
  }
10
- export interface LinkStyleProps extends BordersProps, IsTruncatedProps, SizingProps, SpaceProps, TransitionsProps, TypographyProps {
11
- }
package/list/list.d.ts CHANGED
@@ -1,9 +1,12 @@
1
- import { ListProps, ListStyleProps } from './list.types';
1
+ import { ListProps } from './list.types';
2
+ import ListHeading from './listHeading';
2
3
  import ListIcon from './listIcon';
3
4
  import ListItem from './listItem';
4
5
  import { VuiComponent } from '../core';
5
- export declare const ListBase: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, ListStyleProps, never>;
6
+ import { SystemProps } from '../system';
7
+ export declare const ListBase: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, SystemProps, never>;
6
8
  export declare const List: VuiComponent<"ul", ListProps> & {
9
+ Heading: typeof ListHeading;
7
10
  Icon: typeof ListIcon;
8
11
  Item: typeof ListItem;
9
12
  };
package/list/list.js CHANGED
@@ -49,18 +49,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
49
49
  };
50
50
  Object.defineProperty(exports, "__esModule", { value: true });
51
51
  exports.List = exports.ListBase = void 0;
52
- var styled_components_1 = require("@xstyled/styled-components");
53
52
  var react_1 = __importStar(require("react"));
54
- var styled_components_2 = __importDefault(require("styled-components"));
53
+ var styled_components_1 = __importDefault(require("styled-components"));
55
54
  var context_1 = require("./context");
55
+ var listHeading_1 = __importDefault(require("./listHeading"));
56
56
  var listIcon_1 = __importDefault(require("./listIcon"));
57
57
  var listItem_1 = __importDefault(require("./listItem"));
58
58
  var core_1 = require("../core");
59
+ var system_1 = require("../system");
59
60
  var utils_1 = require("../utils");
60
- var generator = styled_components_1.compose(styled_components_1.borders, styled_components_1.flexboxes, styled_components_1.layout, styled_components_1.sizing, styled_components_1.space, styled_components_1.typography);
61
- exports.ListBase = styled_components_2.default.ul.withConfig(core_1.forwardPropConfig(generator))(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\t", "\n"], ["\n\t", "\n"])), generator);
61
+ exports.ListBase = styled_components_1.default.ul.withConfig(core_1.forwardPropConfig(system_1.system))(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\t", "\n"], ["\n\t", "\n"])), system_1.system);
62
62
  exports.List = core_1.vui(function (props, ref) {
63
- var children = props.children, className = props.className, colorScheme = props.colorScheme, isInteractive = props.isInteractive, size = props.size, subheader = props.subheader, variant = props.variant, rest = __rest(props, ["children", "className", "colorScheme", "isInteractive", "size", "subheader", "variant"]);
63
+ var children = props.children, className = props.className, colorScheme = props.colorScheme, heading = props.heading, isInteractive = props.isInteractive, size = props.size, variant = props.variant, rest = __rest(props, ["children", "className", "colorScheme", "heading", "isInteractive", "size", "variant"]);
64
64
  var styles = core_1.useStyleConfig('List', props);
65
65
  var context = react_1.useMemo(function () { return utils_1.filterUndefined({ colorScheme: colorScheme, isInteractive: isInteractive, size: size, styles: styles, variant: variant }); }, [
66
66
  colorScheme,
@@ -70,10 +70,11 @@ exports.List = core_1.vui(function (props, ref) {
70
70
  ]);
71
71
  return (react_1.default.createElement(context_1.ListProvider, { value: context },
72
72
  react_1.default.createElement(exports.ListBase, __assign({ className: utils_1.cs('vui-list', className), ref: ref }, styles.container, rest),
73
- subheader && (react_1.default.createElement(listItem_1.default, { className: "vui-listSubheader", color: "grey.80", fontSize: "sm", fontWeight: "medium" }, subheader)),
73
+ heading && react_1.default.createElement(listHeading_1.default, null, heading),
74
74
  children)));
75
75
  });
76
76
  exports.List.displayName = 'List';
77
+ exports.List.Heading = listHeading_1.default;
77
78
  exports.List.Icon = listIcon_1.default;
78
79
  exports.List.Item = listItem_1.default;
79
80
  exports.default = exports.List;
@@ -1,10 +1,8 @@
1
- import { BordersProps, FlexboxesProps, LayoutProps, SizingProps, SpaceProps, TransitionsProps, TypographyProps } from '../system';
1
+ import { SystemProps } from '../system';
2
2
  import { ThemingProps } from '../theme';
3
- export interface ListProps extends ListStyleProps, ThemingProps<'List'> {
3
+ export interface ListProps extends SystemProps, ThemingProps<'List'> {
4
4
  colorScheme?: 'blue' | 'grey';
5
5
  disabled?: boolean;
6
+ heading?: string;
6
7
  isInteractive?: boolean;
7
- subheader?: string;
8
- }
9
- export interface ListStyleProps extends BordersProps, FlexboxesProps, LayoutProps, SizingProps, SpaceProps, TransitionsProps, TypographyProps {
10
8
  }
@@ -0,0 +1,3 @@
1
+ import { ListItemProps } from './listItem.types';
2
+ export declare const ListHeading: import("../core").VuiComponent<"li", ListItemProps>;
3
+ export default ListHeading;
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.ListHeading = void 0;
18
+ var react_1 = __importDefault(require("react"));
19
+ var context_1 = require("./context");
20
+ var listItem_1 = __importDefault(require("./listItem"));
21
+ var core_1 = require("../core");
22
+ exports.ListHeading = core_1.vui(function (props, ref) {
23
+ var _a;
24
+ var listProps = (_a = context_1.useList()) !== null && _a !== void 0 ? _a : {};
25
+ var mergedProps = __assign(__assign({}, listProps), props);
26
+ var styles = core_1.useStyleConfig('List', mergedProps);
27
+ return (react_1.default.createElement(listItem_1.default, __assign({ className: "vui-listHeading", color: "grey.80", fontSize: "sm", fontWeight: "medium", ref: ref, textTransform: "uppercase" }, styles.heading, props)));
28
+ });
29
+ exports.ListHeading.displayName = 'ListHeading';
30
+ exports.default = exports.ListHeading;
@@ -1,4 +1,5 @@
1
- import { ListItemProps, ListItemStyleProps } from './listItem.types';
2
- export declare const ListItemBase: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, ListItemStyleProps, never>;
1
+ import { ListItemProps } from './listItem.types';
2
+ import { SystemProps } from '../system';
3
+ export declare const ListItemBase: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, SystemProps, never>;
3
4
  export declare const ListItem: import("../core").VuiComponent<"li", ListItemProps>;
4
5
  export default ListItem;
package/list/listItem.js CHANGED
@@ -30,19 +30,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
30
30
  };
31
31
  Object.defineProperty(exports, "__esModule", { value: true });
32
32
  exports.ListItem = exports.ListItemBase = void 0;
33
- var styled_components_1 = require("@xstyled/styled-components");
34
33
  var react_1 = __importDefault(require("react"));
35
- var styled_components_2 = __importDefault(require("styled-components"));
34
+ var styled_components_1 = __importDefault(require("styled-components"));
36
35
  var context_1 = require("./context");
37
36
  var listIcon_1 = __importDefault(require("./listIcon"));
38
37
  var core_1 = require("../core");
38
+ var system_1 = require("../system");
39
39
  var utils_1 = require("../utils");
40
- var generator = styled_components_1.compose(styled_components_1.backgroundColor, styled_components_1.borders, styled_components_1.flexboxes, styled_components_1.interactivity, styled_components_1.sizing, styled_components_1.space, styled_components_1.transitions, styled_components_1.typography);
41
- exports.ListItemBase = styled_components_2.default.li.withConfig(core_1.forwardPropConfig(generator))(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\tdisplay: flex;\n\tline-height: normal;\n\toutline: none;\n\n\t&[data-disabled='true'] {\n\t\tbackground-color: var(--vui-colors-disabled-bg);\n\t\tcolor: var(--vui-colors-disabled-font);\n\t\tcursor: not-allowed;\n\t\tuser-select: none;\n\t}\n\n\t", "\n"], ["\n\tdisplay: flex;\n\tline-height: normal;\n\toutline: none;\n\n\t&[data-disabled='true'] {\n\t\tbackground-color: var(--vui-colors-disabled-bg);\n\t\tcolor: var(--vui-colors-disabled-font);\n\t\tcursor: not-allowed;\n\t\tuser-select: none;\n\t}\n\n\t", "\n"])), generator);
40
+ exports.ListItemBase = styled_components_1.default.li.withConfig(core_1.forwardPropConfig(system_1.system))(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\tdisplay: flex;\n\tline-height: normal;\n\toutline: none;\n\n\t&[data-disabled='true'] {\n\t\tbackground-color: var(--vui-colors-disabled-bg);\n\t\tcolor: var(--vui-colors-disabled-font);\n\t\tcursor: not-allowed;\n\t\tuser-select: none;\n\t}\n\n\t", "\n"], ["\n\tdisplay: flex;\n\tline-height: normal;\n\toutline: none;\n\n\t&[data-disabled='true'] {\n\t\tbackground-color: var(--vui-colors-disabled-bg);\n\t\tcolor: var(--vui-colors-disabled-font);\n\t\tcursor: not-allowed;\n\t\tuser-select: none;\n\t}\n\n\t", "\n"])), system_1.system);
42
41
  exports.ListItem = core_1.vui(function (props, ref) {
43
42
  var listProps = context_1.useList();
44
43
  var mergedProps = __assign(__assign({}, listProps), props);
45
- var children = mergedProps.children, center = mergedProps.center, centerH = mergedProps.centerH, _a = mergedProps.centerV, centerV = _a === void 0 ? true : _a, className = mergedProps.className, column = mergedProps.column, disabled = mergedProps.disabled, iconRight = mergedProps.iconRight, iconLeft = mergedProps.iconLeft, _b = mergedProps.isInteractive, isInteractive = _b === void 0 ? props.onClick !== undefined : _b, isSelected = mergedProps.isSelected, onClick = mergedProps.onClick, rest = __rest(mergedProps, ["children", "center", "centerH", "centerV", "className", "column", "disabled", "iconRight", "iconLeft", "isInteractive", "isSelected", "onClick"]);
44
+ var children = mergedProps.children, center = mergedProps.center, centerH = mergedProps.centerH, _a = mergedProps.centerV, centerV = _a === void 0 ? true : _a, className = mergedProps.className, column = mergedProps.column, disabled = mergedProps.disabled, iconRight = mergedProps.iconRight, iconLeft = mergedProps.iconLeft, _b = mergedProps.isInteractive, isInteractive = _b === void 0 ? props.onClick !== undefined : _b, isSelected = mergedProps.isSelected, onClick = mergedProps.onClick, text = mergedProps.text, rest = __rest(mergedProps, ["children", "center", "centerH", "centerV", "className", "column", "disabled", "iconRight", "iconLeft", "isInteractive", "isSelected", "onClick", "text"]);
46
45
  var styles = core_1.useStyleConfig('List', mergedProps);
47
46
  var _c = styles.item, activeBg = _c.activeBg, hoverBg = _c.hoverBg, itemStyles = __rest(_c, ["activeBg", "hoverBg"]);
48
47
  var alignItems = (center || (column ? centerH : centerV)) && 'center';
@@ -66,8 +65,7 @@ exports.ListItem = core_1.vui(function (props, ref) {
66
65
  justifyContent: justifyContent
67
66
  });
68
67
  return (react_1.default.createElement(exports.ListItemBase, __assign({ className: utils_1.cs('vui-listItem', className), onClick: !disabled ? onClick : undefined, px: 1, ref: ref, transitionDuration: "fast" }, itemStyles, interactiveProps, aliasedProps, rest),
69
- iconLeft && react_1.default.createElement(listIcon_1.default, { icon: iconLeft, mr: 1 }),
70
- children,
68
+ iconLeft && react_1.default.createElement(listIcon_1.default, { icon: iconLeft, mr: 1 }), children !== null && children !== void 0 ? children : text,
71
69
  iconRight && react_1.default.createElement(listIcon_1.default, { icon: iconRight, ml: "auto" })));
72
70
  });
73
71
  exports.ListItem.displayName = 'ListItem';
@@ -1,7 +1,7 @@
1
1
  import { IconProp } from '../icon';
2
- import { BackgroundColorProps, FlexboxesProps, InteractivityProps, SizingProps, SpaceProps, TransitionsProps, TypographyProps } from '../system';
2
+ import { SystemProps } from '../system';
3
3
  import { ThemingProps } from '../theme';
4
- export interface ListItemProps extends ListItemStyleProps, ThemingProps<'List'> {
4
+ export interface ListItemProps extends SystemProps, ThemingProps<'List'> {
5
5
  center?: boolean;
6
6
  centerH?: boolean;
7
7
  centerV?: boolean;
@@ -12,6 +12,5 @@ export interface ListItemProps extends ListItemStyleProps, ThemingProps<'List'>
12
12
  iconRight?: IconProp;
13
13
  isInteractive?: boolean;
14
14
  isSelected?: boolean;
15
- }
16
- export interface ListItemStyleProps extends BackgroundColorProps, FlexboxesProps, InteractivityProps, SizingProps, SpaceProps, TransitionsProps, TypographyProps {
15
+ text?: number | string;
17
16
  }
package/list/theme.js CHANGED
@@ -16,7 +16,7 @@ var defaultProps = {
16
16
  size: 'md',
17
17
  variant: 'default'
18
18
  };
19
- var parts = ['container', 'icon', 'item'];
19
+ var parts = ['container', 'heading', 'icon', 'item'];
20
20
  var sizes = {
21
21
  sm: {
22
22
  icon: {
package/p/p.d.ts CHANGED
@@ -1,6 +1,5 @@
1
- import { PProps, PStyleProps } from './p.types';
2
- export declare const PBase: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, PStyleProps & {
3
- color?: any;
4
- }, never>;
1
+ import { PProps } from './p.types';
2
+ import { SystemProps } from '../system';
3
+ export declare const PBase: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, SystemProps, never>;
5
4
  export declare const P: import("../core").VuiComponent<"p", PProps>;
6
5
  export default P;
package/p/p.js CHANGED
@@ -30,16 +30,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
30
30
  };
31
31
  Object.defineProperty(exports, "__esModule", { value: true });
32
32
  exports.P = exports.PBase = void 0;
33
- var styled_components_1 = require("@xstyled/styled-components");
34
33
  var react_1 = __importDefault(require("react"));
35
- var styled_components_2 = __importDefault(require("styled-components"));
34
+ var styled_components_1 = __importDefault(require("styled-components"));
36
35
  var core_1 = require("../core");
37
36
  var system_1 = require("../system");
38
37
  var utils_1 = require("../utils");
39
- var generator = styled_components_1.compose(system_1.isTruncated, system_1.maxLines, styled_components_1.sizing, styled_components_1.space, styled_components_1.transitions, styled_components_1.typography);
40
- exports.PBase = styled_components_2.default.p.withConfig(core_1.forwardPropConfig(generator))(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\t", "\n"], ["\n\t", "\n"])), generator);
38
+ exports.PBase = styled_components_1.default.p.withConfig(core_1.forwardPropConfig(system_1.system))(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\t", "\n"], ["\n\t", "\n"])), system_1.system);
41
39
  exports.P = core_1.vui(function (props, ref) {
42
- var _a = core_1.omitThemingProps(props), align = _a.align, casing = _a.casing, className = _a.className, decoration = _a.decoration, weight = _a.weight, rest = __rest(_a, ["align", "casing", "className", "decoration", "weight"]);
40
+ var _a = core_1.omitThemingProps(props), align = _a.align, casing = _a.casing, children = _a.children, className = _a.className, decoration = _a.decoration, text = _a.text, weight = _a.weight, rest = __rest(_a, ["align", "casing", "children", "className", "decoration", "text", "weight"]);
43
41
  var styles = core_1.useStyleConfig('P', props);
44
42
  var aliasedProps = utils_1.filterUndefined({
45
43
  fontWeight: weight,
@@ -47,7 +45,7 @@ exports.P = core_1.vui(function (props, ref) {
47
45
  textDecoration: decoration,
48
46
  textTransform: casing
49
47
  });
50
- return (react_1.default.createElement(exports.PBase, __assign({ className: utils_1.cs('vui-p', className), ref: ref, transitionDuration: "fast" }, styles, aliasedProps, rest)));
48
+ return (react_1.default.createElement(exports.PBase, __assign({ className: utils_1.cs('vui-p', className), ref: ref, transitionDuration: "fast" }, styles, aliasedProps, rest), children !== null && children !== void 0 ? children : text));
51
49
  });
52
50
  exports.P.displayName = 'P';
53
51
  exports.default = exports.P;
package/p/p.types.d.ts CHANGED
@@ -1,10 +1,9 @@
1
- import { IsTruncatedProps, MaxLinesProps, SizingProps, SpaceProps, TransitionsProps, TypographyProps } from '../system';
1
+ import { SystemProps, TypographyProps } from '../system';
2
2
  import { ThemingProps } from '../theme';
3
- export interface PProps extends PStyleProps, ThemingProps<'P'> {
3
+ export interface PProps extends SystemProps, ThemingProps<'P'> {
4
4
  align?: TypographyProps['textAlign'];
5
5
  casing?: TypographyProps['textTransform'];
6
6
  decoration?: TypographyProps['textDecoration'];
7
+ text?: number | string;
7
8
  weight?: TypographyProps['fontWeight'];
8
9
  }
9
- export interface PStyleProps extends IsTruncatedProps, MaxLinesProps, SizingProps, SpaceProps, TransitionsProps, TypographyProps {
10
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veracity/vui",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "description": "Veracity UI components library based on Styled Components and @xstyled",
5
5
  "main": "index.js",
6
6
  "author": "Veracity",
@@ -23,5 +23,8 @@
23
23
  "peerDependencies": {
24
24
  "react": "^17.0.1",
25
25
  "react-dom": "^17.0.1"
26
+ },
27
+ "devDependencies": {
28
+ "@babel/core": "^7.13.8"
26
29
  }
27
30
  }
package/radio/radio.d.ts CHANGED
@@ -1,6 +1,7 @@
1
- import { RadioControlStyleProps, RadioProps, RadioStyleProps } from './radio.types';
1
+ import { RadioProps, RadioStyleProps } from './radio.types';
2
+ import { SystemProps } from '../system';
2
3
  export declare const RadioInput: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {}, never>;
3
4
  export declare const RadioBase: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, RadioStyleProps, never>;
4
- export declare const RadioControl: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, RadioControlStyleProps, never>;
5
+ export declare const RadioControl: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, SystemProps, never>;
5
6
  export declare const Radio: import("../core").VuiComponent<"span", RadioProps>;
6
7
  export default Radio;
package/radio/radio.js CHANGED
@@ -30,19 +30,17 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
30
30
  };
31
31
  Object.defineProperty(exports, "__esModule", { value: true });
32
32
  exports.Radio = exports.RadioControl = exports.RadioBase = exports.RadioInput = void 0;
33
- var styled_components_1 = require("@xstyled/styled-components");
34
33
  var react_1 = __importDefault(require("react"));
35
- var styled_components_2 = __importDefault(require("styled-components"));
34
+ var styled_components_1 = __importDefault(require("styled-components"));
36
35
  var context_1 = require("./context");
37
36
  var core_1 = require("../core");
38
37
  var icon_1 = __importDefault(require("../icon"));
38
+ var system_1 = require("../system");
39
39
  var t_1 = __importDefault(require("../t"));
40
40
  var utils_1 = require("../utils");
41
- var radioGenerator = styled_components_1.compose(styled_components_1.backgroundColor, styled_components_1.color, styled_components_1.flexboxes, styled_components_1.sizing, styled_components_1.space, styled_components_1.transitions);
42
- var controlGenerator = styled_components_1.compose(styled_components_1.borders, styled_components_1.backgroundColor, styled_components_1.color, styled_components_1.sizing, styled_components_1.space, styled_components_1.transitions);
43
- exports.RadioInput = styled_components_2.default.input(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\tcursor: inherit;\n\theight: 100%;\n\tleft: 0;\n\tmargin: 0;\n\topacity: 0;\n\tpadding: 0;\n\tposition: absolute;\n\ttop: 0;\n\twidth: 100%;\n\tz-index: 1;\n"], ["\n\tcursor: inherit;\n\theight: 100%;\n\tleft: 0;\n\tmargin: 0;\n\topacity: 0;\n\tpadding: 0;\n\tposition: absolute;\n\ttop: 0;\n\twidth: 100%;\n\tz-index: 1;\n"])));
44
- exports.RadioBase = styled_components_2.default.label.withConfig(core_1.forwardPropConfig(radioGenerator))(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n\talign-items: center;\n\tcursor: pointer;\n\tdisplay: inline-flex;\n\twidth: fit-content;\n\n\t:hover .vui-radioControl {\n\t\tcolor: ", ";\n\t}\n\n\t&.disabled {\n\t\tcolor: var(--vui-colors-disabled-font);\n\t\tcursor: not-allowed;\n\n\t\t.vui-radioControl {\n\t\t\tcolor: var(--vui-colors-disabled-font);\n\t\t}\n\t}\n\n\t", "\n"], ["\n\talign-items: center;\n\tcursor: pointer;\n\tdisplay: inline-flex;\n\twidth: fit-content;\n\n\t:hover .vui-radioControl {\n\t\tcolor: ", ";\n\t}\n\n\t&.disabled {\n\t\tcolor: var(--vui-colors-disabled-font);\n\t\tcursor: not-allowed;\n\n\t\t.vui-radioControl {\n\t\t\tcolor: var(--vui-colors-disabled-font);\n\t\t}\n\t}\n\n\t", "\n"])), function (p) { return core_1.th('colors', p.controlHoverColor)(p); }, radioGenerator);
45
- exports.RadioControl = styled_components_2.default.span.withConfig(core_1.forwardPropConfig(controlGenerator))(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n\tdisplay: inline-flex;\n\tflex-shrink: 0;\n\tposition: relative;\n\n\t", "\n"], ["\n\tdisplay: inline-flex;\n\tflex-shrink: 0;\n\tposition: relative;\n\n\t", "\n"])), controlGenerator);
41
+ exports.RadioInput = styled_components_1.default.input(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\tcursor: inherit;\n\theight: 100%;\n\tleft: 0;\n\tmargin: 0;\n\topacity: 0;\n\tpadding: 0;\n\tposition: absolute;\n\ttop: 0;\n\twidth: 100%;\n\tz-index: 1;\n"], ["\n\tcursor: inherit;\n\theight: 100%;\n\tleft: 0;\n\tmargin: 0;\n\topacity: 0;\n\tpadding: 0;\n\tposition: absolute;\n\ttop: 0;\n\twidth: 100%;\n\tz-index: 1;\n"])));
42
+ exports.RadioBase = styled_components_1.default.label.withConfig(core_1.forwardPropConfig(system_1.system))(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n\talign-items: center;\n\tcursor: pointer;\n\tdisplay: inline-flex;\n\twidth: fit-content;\n\n\t:hover .vui-radioControl {\n\t\tcolor: ", ";\n\t}\n\n\t&.disabled {\n\t\tcolor: var(--vui-colors-disabled-font);\n\t\tcursor: not-allowed;\n\n\t\t.vui-radioControl {\n\t\t\tcolor: var(--vui-colors-disabled-font);\n\t\t}\n\t}\n\n\t", "\n"], ["\n\talign-items: center;\n\tcursor: pointer;\n\tdisplay: inline-flex;\n\twidth: fit-content;\n\n\t:hover .vui-radioControl {\n\t\tcolor: ", ";\n\t}\n\n\t&.disabled {\n\t\tcolor: var(--vui-colors-disabled-font);\n\t\tcursor: not-allowed;\n\n\t\t.vui-radioControl {\n\t\t\tcolor: var(--vui-colors-disabled-font);\n\t\t}\n\t}\n\n\t", "\n"])), function (p) { return core_1.th.color(p.controlHoverColor)(p); }, system_1.system);
43
+ exports.RadioControl = styled_components_1.default.span.withConfig(core_1.forwardPropConfig(system_1.system))(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n\tdisplay: inline-flex;\n\tflex-shrink: 0;\n\tposition: relative;\n\n\t", "\n"], ["\n\tdisplay: inline-flex;\n\tflex-shrink: 0;\n\tposition: relative;\n\n\t", "\n"])), system_1.system);
46
44
  exports.Radio = core_1.vui(function (props, ref) {
47
45
  var _a;
48
46
  var _b = (_a = context_1.useRadioGroup()) !== null && _a !== void 0 ? _a : {}, groupOnChange = _b.onChange, groupValue = _b.value, radioGroupProps = __rest(_b, ["onChange", "value"]);
@@ -1,9 +1,9 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import { ChangeEventHandler, FocusEventHandler } from '../core';
3
3
  import { IconProp } from '../icon';
4
- import { BackgroundColorProps, BordersProps, FlexboxesProps, SizingProps, SpaceProps, TransitionsProps } from '../system';
4
+ import { SystemProps } from '../system';
5
5
  import { ThemingProps } from '../theme';
6
- export interface RadioProps extends RadioStyleProps, ThemingProps<'Radio'> {
6
+ export interface RadioProps extends SystemProps, ThemingProps<'Radio'> {
7
7
  checked?: boolean;
8
8
  colorScheme?: 'blue' | 'green' | 'prussian' | 'red';
9
9
  disabled?: boolean;
@@ -19,8 +19,6 @@ export interface RadioProps extends RadioStyleProps, ThemingProps<'Radio'> {
19
19
  required?: boolean;
20
20
  value?: number | string;
21
21
  }
22
- export interface RadioControlStyleProps extends BackgroundColorProps, BordersProps, SizingProps, SpaceProps, TransitionsProps {
23
- }
24
- export interface RadioStyleProps extends BackgroundColorProps, FlexboxesProps, SizingProps, SpaceProps, TransitionsProps {
25
- controlHoverColor?: string;
22
+ export interface RadioStyleProps extends SystemProps {
23
+ controlHoverColor: string;
26
24
  }
@@ -1,4 +1,5 @@
1
- import { RadioGroupProps, RadioGroupStyleProps } from './radioGroup.types';
2
- export declare const RadioGroupBase: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, RadioGroupStyleProps, never>;
1
+ import { RadioGroupProps } from './radioGroup.types';
2
+ import { SystemProps } from '../system';
3
+ export declare const RadioGroupBase: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, SystemProps, never>;
3
4
  export declare const RadioGroup: import("../core").VuiComponent<"div", RadioGroupProps>;
4
5
  export default RadioGroup;
@@ -65,14 +65,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
65
65
  };
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
67
  exports.RadioGroup = exports.RadioGroupBase = void 0;
68
- var styled_components_1 = require("@xstyled/styled-components");
69
68
  var react_1 = __importStar(require("react"));
70
- var styled_components_2 = __importDefault(require("styled-components"));
69
+ var styled_components_1 = __importDefault(require("styled-components"));
71
70
  var context_1 = require("./context");
72
71
  var core_1 = require("../core");
72
+ var system_1 = require("../system");
73
73
  var utils_1 = require("../utils");
74
- var generator = styled_components_1.compose(styled_components_1.flexboxes, styled_components_1.sizing, styled_components_1.space);
75
- exports.RadioGroupBase = styled_components_2.default.div.withConfig(core_1.forwardPropConfig(generator))(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\tdisplay: flex;\n\tflex-direction: column;\n\n\t", "\n"], ["\n\tdisplay: flex;\n\tflex-direction: column;\n\n\t", "\n"])), generator);
74
+ exports.RadioGroupBase = styled_components_1.default.div.withConfig(core_1.forwardPropConfig(system_1.system))(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\tdisplay: flex;\n\tflex-direction: column;\n\n\t", "\n"], ["\n\tdisplay: flex;\n\tflex-direction: column;\n\n\t", "\n"])), system_1.system);
76
75
  exports.RadioGroup = core_1.vui(function (props, ref) {
77
76
  var className = props.className, colorScheme = props.colorScheme, _a = props.defaultValue, defaultValue = _a === void 0 ? '' : _a, disabled = props.disabled, name = props.name, onBlur = props.onBlur, onChange = props.onChange, onFocus = props.onFocus, row = props.row, size = props.size, valueProp = props.value, variant = props.variant, rest = __rest(props, ["className", "colorScheme", "defaultValue", "disabled", "name", "onBlur", "onChange", "onFocus", "row", "size", "value", "variant"]);
78
77
  var isControlled = react_1.useRef(valueProp !== undefined).current;
@@ -1,7 +1,7 @@
1
1
  import { ChangeEventHandler, FocusEventHandler } from '../core';
2
- import { FlexboxesProps, SizingProps, SpaceProps } from '../system';
2
+ import { SystemProps } from '../system';
3
3
  import { ThemingProps } from '../theme';
4
- export interface RadioGroupProps extends RadioGroupStyleProps, ThemingProps<'Radio'> {
4
+ export interface RadioGroupProps extends SystemProps, ThemingProps<'Radio'> {
5
5
  colorScheme?: 'blue' | 'green' | 'prussian' | 'red';
6
6
  disabled?: boolean;
7
7
  name?: string;
@@ -11,5 +11,3 @@ export interface RadioGroupProps extends RadioGroupStyleProps, ThemingProps<'Rad
11
11
  row?: boolean;
12
12
  value?: number | string;
13
13
  }
14
- export interface RadioGroupStyleProps extends FlexboxesProps, SizingProps, SpaceProps {
15
- }