@veracity/vui 0.3.1 → 0.4.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 (438) hide show
  1. package/avatar/avatar.d.ts +2 -2
  2. package/avatar/avatar.js +9 -29
  3. package/avatar/avatar.types.d.ts +9 -2
  4. package/avatar/helpers.d.ts +2 -0
  5. package/avatar/helpers.js +26 -0
  6. package/avatar/index.d.ts +1 -1
  7. package/avatar/index.js +1 -1
  8. package/avatar/theme.d.ts +1 -0
  9. package/avatar/theme.js +7 -0
  10. package/box/box.d.ts +2 -2
  11. package/box/box.js +9 -8
  12. package/box/box.types.d.ts +13 -2
  13. package/box/index.d.ts +1 -1
  14. package/box/index.js +1 -1
  15. package/box/theme.d.ts +1 -0
  16. package/box/theme.js +2 -0
  17. package/button/button.d.ts +7 -3
  18. package/button/button.js +24 -14
  19. package/button/button.types.d.ts +16 -34
  20. package/button/buttonIcon.d.ts +1 -0
  21. package/button/buttonIcon.js +3 -5
  22. package/button/buttonText.d.ts +1 -0
  23. package/button/buttonText.js +3 -5
  24. package/button/buttons.js +1 -1
  25. package/button/consts.js +2 -2
  26. package/button/index.d.ts +2 -2
  27. package/button/index.js +3 -3
  28. package/button/theme.d.ts +1 -0
  29. package/button/theme.js +5 -3
  30. package/buttonGroup/buttonGroup.d.ts +5 -2
  31. package/buttonGroup/buttonGroup.js +12 -8
  32. package/buttonGroup/buttonGroup.types.d.ts +4 -2
  33. package/buttonGroup/helpers.d.ts +1 -1
  34. package/buttonGroup/helpers.js +1 -1
  35. package/buttonGroup/index.d.ts +1 -1
  36. package/buttonGroup/index.js +2 -2
  37. package/card/card.d.ts +4 -0
  38. package/card/card.js +8 -0
  39. package/card/card.types.d.ts +3 -2
  40. package/card/index.d.ts +1 -1
  41. package/card/index.js +1 -1
  42. package/card/theme.d.ts +1 -0
  43. package/card/theme.js +2 -0
  44. package/checkbox/checkbox.d.ts +5 -4
  45. package/checkbox/checkbox.js +20 -10
  46. package/checkbox/checkbox.types.d.ts +21 -4
  47. package/checkbox/checkboxGroup.d.ts +5 -2
  48. package/checkbox/checkboxGroup.js +11 -7
  49. package/checkbox/checkboxGroup.types.d.ts +9 -2
  50. package/checkbox/index.d.ts +1 -1
  51. package/checkbox/index.js +2 -2
  52. package/checkbox/theme.d.ts +1 -0
  53. package/checkbox/theme.js +2 -0
  54. package/core/index.d.ts +4 -5
  55. package/core/index.js +4 -12
  56. package/core/media.d.ts +38 -0
  57. package/core/media.js +79 -0
  58. package/core/styled.d.ts +3 -0
  59. package/core/styled.js +21 -3
  60. package/core/theme.d.ts +41 -0
  61. package/core/theme.js +94 -0
  62. package/core/vui.d.ts +31 -0
  63. package/core/vui.js +20 -0
  64. package/core/vuiProvider/fontFaces.js +4 -0
  65. package/core/{globalStyle.d.ts → vuiProvider/globalStyle.d.ts} +7 -0
  66. package/core/{globalStyle.js → vuiProvider/globalStyle.js} +17 -9
  67. package/core/vuiProvider/index.d.ts +5 -0
  68. package/core/vuiProvider/index.js +26 -0
  69. package/core/{resetCSS.d.ts → vuiProvider/resetCSS.d.ts} +1 -0
  70. package/core/{resetCSS.js → vuiProvider/resetCSS.js} +2 -1
  71. package/core/vuiProvider/vuiProvider.d.ts +13 -0
  72. package/core/{vuiProvider.js → vuiProvider/vuiProvider.js} +3 -2
  73. package/divider/divider.d.ts +2 -2
  74. package/divider/divider.js +5 -4
  75. package/divider/divider.types.d.ts +5 -2
  76. package/divider/index.d.ts +1 -1
  77. package/divider/index.js +1 -1
  78. package/divider/theme.d.ts +1 -0
  79. package/divider/theme.js +2 -0
  80. package/footer/consts.d.ts +108 -8
  81. package/footer/consts.js +21 -9
  82. package/footer/footer.d.ts +3 -1
  83. package/footer/footer.js +21 -10
  84. package/footer/footer.types.d.ts +5 -0
  85. package/footer/footerColumn.d.ts +122 -121
  86. package/footer/footerColumn.js +1 -0
  87. package/footer/footerHeading.d.ts +1 -0
  88. package/footer/footerHeading.js +1 -0
  89. package/footer/footerLink.d.ts +1 -0
  90. package/footer/footerLink.js +1 -0
  91. package/footer/footerRow.d.ts +1 -0
  92. package/footer/footerRow.js +1 -0
  93. package/footer/footerSection.d.ts +1 -0
  94. package/footer/footerSection.js +2 -1
  95. package/footer/footerTrademark.d.ts +1 -0
  96. package/footer/footerTrademark.js +1 -0
  97. package/footer/helpers.d.ts +2 -3
  98. package/footer/helpers.js +16 -16
  99. package/footer/index.d.ts +2 -1
  100. package/footer/index.js +2 -2
  101. package/footer/theme.d.ts +1 -0
  102. package/footer/theme.js +2 -0
  103. package/header/consts.d.ts +58 -0
  104. package/header/consts.js +76 -0
  105. package/header/context.d.ts +4 -0
  106. package/header/context.js +23 -0
  107. package/header/header.d.ts +34 -0
  108. package/header/header.js +133 -0
  109. package/header/header.types.d.ts +103 -0
  110. package/header/headerAccount.d.ts +4 -0
  111. package/header/headerAccount.js +109 -0
  112. package/header/headerAccount.types.d.ts +35 -0
  113. package/header/headerContent.d.ts +4 -0
  114. package/header/headerContent.js +28 -0
  115. package/header/headerCreateAccount.d.ts +4 -0
  116. package/header/headerCreateAccount.js +47 -0
  117. package/header/headerDivider.d.ts +4 -0
  118. package/header/headerDivider.js +28 -0
  119. package/header/headerLinkItem.d.ts +4 -0
  120. package/header/headerLinkItem.js +53 -0
  121. package/header/headerLinksList.d.ts +4 -0
  122. package/header/headerLinksList.js +44 -0
  123. package/header/headerLogo.d.ts +4 -0
  124. package/header/headerLogo.js +44 -0
  125. package/header/headerMobileContent.d.ts +4 -0
  126. package/header/headerMobileContent.js +31 -0
  127. package/header/headerMobileToggle.d.ts +4 -0
  128. package/header/headerMobileToggle.js +33 -0
  129. package/header/headerNotifications.d.ts +4 -0
  130. package/header/headerNotifications.js +51 -0
  131. package/header/headerServices.d.ts +4 -0
  132. package/header/headerServices.js +55 -0
  133. package/header/headerSignIn.d.ts +4 -0
  134. package/header/headerSignIn.js +40 -0
  135. package/header/helpers.d.ts +17 -0
  136. package/header/helpers.js +66 -0
  137. package/header/index.d.ts +21 -0
  138. package/header/index.js +38 -0
  139. package/header/loggedInHeader.d.ts +4 -0
  140. package/header/loggedInHeader.js +57 -0
  141. package/header/loggedOutHeader.d.ts +4 -0
  142. package/header/loggedOutHeader.js +57 -0
  143. package/header/theme.d.ts +85 -0
  144. package/header/theme.js +89 -0
  145. package/heading/heading.d.ts +2 -2
  146. package/heading/heading.js +5 -4
  147. package/heading/heading.types.d.ts +7 -2
  148. package/heading/headings.js +1 -1
  149. package/heading/index.d.ts +1 -1
  150. package/heading/index.js +2 -2
  151. package/heading/theme.d.ts +1 -0
  152. package/heading/theme.js +2 -0
  153. package/icon/helpers.js +2 -2
  154. package/icon/icon.d.ts +1 -0
  155. package/icon/icon.js +2 -2
  156. package/icon/icon.types.d.ts +7 -4
  157. package/icon/index.d.ts +1 -1
  158. package/icon/index.js +1 -1
  159. package/icon/theme.d.ts +1 -0
  160. package/icon/theme.js +2 -0
  161. package/icons/baseIcons/fal/falFileInvoiceDollar.d.ts +3 -0
  162. package/icons/baseIcons/fal/falFileInvoiceDollar.js +7 -0
  163. package/icons/baseIcons/fas/fasCalendarAlt.js +1 -1
  164. package/icons/baseIcons/icons.d.ts +1 -0
  165. package/icons/baseIcons/icons.js +5 -3
  166. package/icons/baseIcons/types.d.ts +1 -1
  167. package/icons/cache.d.ts +15 -0
  168. package/icons/{library.js → cache.js} +10 -6
  169. package/icons/index.d.ts +1 -1
  170. package/icons/index.js +3 -3
  171. package/icons/types.d.ts +10 -3
  172. package/image/image.d.ts +2 -0
  173. package/image/image.js +11 -2
  174. package/image/image.types.d.ts +3 -2
  175. package/image/index.d.ts +1 -1
  176. package/image/index.js +1 -1
  177. package/image/theme.d.ts +1 -0
  178. package/image/theme.js +2 -0
  179. package/index.d.ts +3 -1
  180. package/index.js +3 -1
  181. package/input/consts.js +2 -2
  182. package/input/helpers.d.ts +1 -0
  183. package/input/helpers.js +1 -0
  184. package/input/index.d.ts +1 -1
  185. package/input/index.js +2 -2
  186. package/input/input.d.ts +7 -3
  187. package/input/input.js +17 -7
  188. package/input/input.types.d.ts +36 -7
  189. package/input/inputIcon.d.ts +1 -0
  190. package/input/inputIcon.js +2 -1
  191. package/input/inputInput.d.ts +2 -2
  192. package/input/inputInput.js +10 -5
  193. package/input/theme.d.ts +1 -0
  194. package/input/theme.js +2 -0
  195. package/link/index.d.ts +1 -1
  196. package/link/index.js +2 -2
  197. package/link/link.d.ts +6 -3
  198. package/link/link.js +15 -9
  199. package/link/link.types.d.ts +15 -7
  200. package/link/linkIcon.d.ts +1 -0
  201. package/link/linkIcon.js +3 -5
  202. package/link/linkText.d.ts +1 -0
  203. package/link/linkText.js +3 -5
  204. package/link/theme.d.ts +6 -0
  205. package/link/theme.js +9 -1
  206. package/list/index.d.ts +1 -1
  207. package/list/index.js +2 -2
  208. package/list/list.d.ts +3 -3
  209. package/list/list.js +13 -8
  210. package/list/list.types.d.ts +29 -8
  211. package/list/listDivider.d.ts +1 -0
  212. package/list/listDivider.js +3 -5
  213. package/list/listHeading.d.ts +1 -0
  214. package/list/listHeading.js +4 -6
  215. package/list/listIcon.d.ts +1 -0
  216. package/list/listIcon.js +3 -5
  217. package/list/listItem.d.ts +5 -2
  218. package/list/listItem.js +52 -19
  219. package/list/listText.d.ts +1 -0
  220. package/list/listText.js +3 -5
  221. package/list/theme.d.ts +1 -0
  222. package/list/theme.js +5 -2
  223. package/menu/menu.d.ts +1 -0
  224. package/menu/menu.js +1 -0
  225. package/menu/menu.types.d.ts +3 -0
  226. package/menu/menuButton.d.ts +1 -0
  227. package/menu/menuButton.js +3 -4
  228. package/menu/menuItem.d.ts +1 -0
  229. package/menu/menuItem.js +9 -23
  230. package/menu/menuList.d.ts +1 -0
  231. package/menu/menuList.js +3 -4
  232. package/menu/theme.d.ts +16 -2
  233. package/menu/theme.js +18 -3
  234. package/modal/context.d.ts +4 -0
  235. package/modal/context.js +23 -0
  236. package/modal/focusLock.d.ts +9 -0
  237. package/modal/focusLock.js +47 -0
  238. package/modal/focusLock.types.d.ts +28 -0
  239. package/modal/focusLock.types.js +2 -0
  240. package/modal/index.d.ts +7 -0
  241. package/modal/index.js +24 -0
  242. package/modal/modal.d.ts +10 -0
  243. package/modal/modal.js +109 -0
  244. package/modal/modal.types.d.ts +40 -0
  245. package/modal/modal.types.js +2 -0
  246. package/modal/modalBackdrop.d.ts +4 -0
  247. package/modal/modalBackdrop.js +38 -0
  248. package/modal/modalManager.d.ts +12 -0
  249. package/modal/modalManager.js +33 -0
  250. package/modal/theme.d.ts +7 -0
  251. package/modal/theme.js +12 -0
  252. package/notification/consts.js +2 -2
  253. package/notification/index.d.ts +2 -2
  254. package/notification/index.js +3 -3
  255. package/notification/notification.d.ts +5 -1
  256. package/notification/notification.js +12 -27
  257. package/notification/notification.types.d.ts +11 -4
  258. package/notification/notificationButton.d.ts +1 -0
  259. package/notification/notificationButton.js +4 -5
  260. package/notification/notificationIcon.d.ts +1 -0
  261. package/notification/notificationIcon.js +7 -7
  262. package/notification/notificationText.d.ts +1 -0
  263. package/notification/notificationText.js +3 -5
  264. package/notification/notificationTitle.d.ts +1 -0
  265. package/notification/notificationTitle.js +3 -5
  266. package/notification/theme.d.ts +1 -0
  267. package/notification/theme.js +2 -0
  268. package/p/index.d.ts +1 -1
  269. package/p/index.js +1 -1
  270. package/p/p.d.ts +2 -2
  271. package/p/p.js +5 -4
  272. package/p/p.types.d.ts +7 -2
  273. package/p/theme.d.ts +1 -0
  274. package/p/theme.js +2 -0
  275. package/package.json +3 -1
  276. package/panel/index.d.ts +1 -1
  277. package/panel/index.js +1 -1
  278. package/panel/panel.d.ts +4 -0
  279. package/panel/panel.js +4 -0
  280. package/panel/panel.types.d.ts +1 -2
  281. package/panel/theme.d.ts +1 -0
  282. package/panel/theme.js +2 -0
  283. package/popover/consts.d.ts +6 -0
  284. package/popover/consts.js +42 -0
  285. package/popover/index.d.ts +1 -1
  286. package/popover/index.js +1 -1
  287. package/popover/popover.d.ts +6 -2
  288. package/popover/popover.js +20 -4
  289. package/popover/popover.types.d.ts +4 -1
  290. package/popover/popoverContent.d.ts +2 -1
  291. package/popover/popoverContent.js +6 -1
  292. package/popover/popoverTrigger.d.ts +4 -0
  293. package/popover/popoverTrigger.js +4 -0
  294. package/popover/theme.d.ts +1 -0
  295. package/popover/theme.js +2 -0
  296. package/popover/usePopover.d.ts +5 -0
  297. package/popover/usePopover.js +26 -18
  298. package/popover/usePopover.types.d.ts +17 -6
  299. package/portal/index.d.ts +3 -0
  300. package/{styles → portal}/index.js +5 -5
  301. package/portal/portal.d.ts +5 -0
  302. package/portal/portal.js +56 -0
  303. package/portal/portal.types.d.ts +7 -0
  304. package/portal/portal.types.js +2 -0
  305. package/radio/index.d.ts +1 -1
  306. package/radio/index.js +2 -2
  307. package/radio/radio.d.ts +5 -4
  308. package/radio/radio.js +20 -10
  309. package/radio/radio.types.d.ts +19 -4
  310. package/radio/radioGroup.d.ts +5 -2
  311. package/radio/radioGroup.js +11 -7
  312. package/radio/radioGroup.types.d.ts +10 -2
  313. package/radio/theme.d.ts +1 -0
  314. package/radio/theme.js +2 -0
  315. package/skeleton/index.d.ts +1 -1
  316. package/skeleton/index.js +1 -1
  317. package/skeleton/skeleton.d.ts +2 -2
  318. package/skeleton/skeleton.js +4 -3
  319. package/skeleton/skeleton.types.d.ts +5 -2
  320. package/skeleton/theme.d.ts +1 -0
  321. package/skeleton/theme.js +2 -0
  322. package/spinner/index.d.ts +1 -1
  323. package/spinner/index.js +1 -1
  324. package/spinner/spinner.d.ts +6 -2
  325. package/spinner/spinner.js +12 -5
  326. package/spinner/spinner.types.d.ts +10 -6
  327. package/spinner/theme.d.ts +1 -0
  328. package/spinner/theme.js +2 -0
  329. package/svg/helpers.d.ts +1 -1
  330. package/svg/index.d.ts +1 -1
  331. package/svg/index.js +1 -1
  332. package/svg/svg.d.ts +6 -1
  333. package/svg/svg.js +16 -5
  334. package/svg/svg.types.d.ts +7 -5
  335. package/switch/context.d.ts +2 -2
  336. package/switch/index.d.ts +1 -1
  337. package/switch/index.js +2 -2
  338. package/switch/switch.d.ts +6 -3
  339. package/switch/switch.js +15 -12
  340. package/switch/switch.types.d.ts +37 -4
  341. package/switch/switchButton.d.ts +5 -5
  342. package/switch/switchButton.js +34 -26
  343. package/switch/switchLabel.d.ts +1 -0
  344. package/switch/switchLabel.js +3 -5
  345. package/switch/theme.d.ts +1 -0
  346. package/switch/theme.js +2 -0
  347. package/system/animations.d.ts +3 -4
  348. package/system/backgrounds.d.ts +4 -5
  349. package/system/borders.d.ts +60 -61
  350. package/system/custom.d.ts +4 -4
  351. package/system/effects.d.ts +7 -8
  352. package/system/flexboxGrids.d.ts +5 -6
  353. package/system/flexboxes.d.ts +28 -29
  354. package/system/grids.d.ts +25 -26
  355. package/system/index.d.ts +0 -1
  356. package/system/index.js +0 -6
  357. package/system/interactivity.d.ts +11 -12
  358. package/system/layout.d.ts +31 -32
  359. package/system/sizing.d.ts +13 -14
  360. package/system/space.d.ts +37 -38
  361. package/system/system.d.ts +4 -5
  362. package/system/system.js +3 -1
  363. package/system/tables.d.ts +5 -6
  364. package/system/transforms.d.ts +22 -23
  365. package/system/transitions.d.ts +11 -12
  366. package/system/typography.d.ts +33 -34
  367. package/t/index.d.ts +1 -1
  368. package/t/index.js +1 -1
  369. package/t/t.d.ts +2 -2
  370. package/t/t.js +5 -4
  371. package/t/t.types.d.ts +8 -2
  372. package/t/theme.d.ts +1 -0
  373. package/t/theme.js +2 -0
  374. package/tag/index.d.ts +1 -1
  375. package/tag/index.js +2 -2
  376. package/tag/tag.d.ts +6 -3
  377. package/tag/tag.js +14 -7
  378. package/tag/tag.types.d.ts +19 -6
  379. package/tag/tagButton.d.ts +1 -0
  380. package/tag/tagButton.js +4 -16
  381. package/tag/tagIcon.d.ts +1 -0
  382. package/tag/tagIcon.js +3 -5
  383. package/tag/tagText.d.ts +1 -0
  384. package/tag/tagText.js +3 -5
  385. package/tag/theme.d.ts +1 -0
  386. package/tag/theme.js +8 -0
  387. package/textarea/helpers.d.ts +1 -0
  388. package/textarea/helpers.js +1 -0
  389. package/textarea/index.d.ts +1 -1
  390. package/textarea/index.js +1 -1
  391. package/textarea/textarea.d.ts +5 -3
  392. package/textarea/textarea.js +23 -10
  393. package/textarea/textarea.types.d.ts +22 -2
  394. package/textarea/theme.d.ts +1 -0
  395. package/textarea/theme.js +2 -0
  396. package/theme/components.d.ts +129 -2
  397. package/theme/components.js +38 -36
  398. package/theme/defaultTheme.d.ts +134 -2
  399. package/theme/foundations/colors.d.ts +10 -0
  400. package/theme/foundations/colors.js +8 -2
  401. package/theme/foundations/index.d.ts +5 -0
  402. package/theme/foundations/shadows.js +3 -3
  403. package/theme/foundations/transformers.js +3 -2
  404. package/theme/index.d.ts +1 -3
  405. package/theme/index.js +4 -5
  406. package/theme/types.d.ts +3 -2
  407. package/utils/assertion.d.ts +5 -5
  408. package/utils/assertion.js +8 -4
  409. package/utils/index.d.ts +1 -0
  410. package/utils/index.js +1 -0
  411. package/utils/object.d.ts +2 -2
  412. package/utils/object.js +3 -1
  413. package/utils/react.d.ts +10 -5
  414. package/utils/react.js +64 -9
  415. package/utils/string.d.ts +5 -0
  416. package/utils/string.js +19 -0
  417. package/utils/styles.d.ts +2 -2
  418. package/utils/styles.js +4 -4
  419. package/utils/types.d.ts +11 -4
  420. package/core/types/component.d.ts +0 -25
  421. package/core/types/index.d.ts +0 -2
  422. package/core/types/index.js +0 -14
  423. package/core/types/themeGet.d.ts +0 -24
  424. package/core/utils.d.ts +0 -56
  425. package/core/utils.js +0 -194
  426. package/core/vuiProvider.d.ts +0 -20
  427. package/icons/library.d.ts +0 -11
  428. package/popover/plugins.d.ts +0 -3
  429. package/popover/plugins.js +0 -24
  430. package/styles/fontFaces.js +0 -4
  431. package/styles/helpers.d.ts +0 -4
  432. package/styles/helpers.js +0 -8
  433. package/styles/index.d.ts +0 -3
  434. /package/{styles → core/vuiProvider}/animations.d.ts +0 -0
  435. /package/{styles → core/vuiProvider}/animations.js +0 -0
  436. /package/{styles → core/vuiProvider}/fontFaces.d.ts +0 -0
  437. /package/{core/types/component.js → header/header.types.js} +0 -0
  438. /package/{core/types/themeGet.js → header/headerAccount.types.js} +0 -0
@@ -1,20 +1,115 @@
1
- import { FooterColumnsData } from './footer.types';
1
+ import { Environment } from '../utils';
2
2
  /**
3
3
  * Defines the structure of columns and sections of the Footer.
4
4
  * Links' url values here are unique references to actual urls in the footerLinks dictionary.
5
5
  */
6
- export declare const footerColumnsTemplate: FooterColumnsData;
6
+ export declare const footerColumnsTemplate: {
7
+ readonly column1: {
8
+ readonly section1: {
9
+ readonly heading: "Platform";
10
+ readonly links: readonly [{
11
+ readonly text: "About Veracity";
12
+ readonly url: "aboutVeracity";
13
+ }, {
14
+ readonly text: "News";
15
+ readonly url: "news";
16
+ }, {
17
+ readonly text: "Marketplace";
18
+ readonly url: "marketplace";
19
+ }, {
20
+ readonly text: "Veracity trust center";
21
+ readonly url: "veracityTrustCenter";
22
+ }, {
23
+ readonly text: "Career";
24
+ readonly url: "career";
25
+ }];
26
+ };
27
+ };
28
+ readonly column2: {
29
+ readonly section1: {
30
+ readonly heading: "Products";
31
+ readonly links: readonly [{
32
+ readonly text: "Veracity Connected app";
33
+ readonly url: "veracityConnectedApp";
34
+ }, {
35
+ readonly text: "Veracity Data Fabric";
36
+ readonly url: "veracityDataFabric";
37
+ }, {
38
+ readonly text: "Deep Search";
39
+ readonly url: "deepSearch";
40
+ }, {
41
+ readonly text: "Asset Connect";
42
+ readonly url: "assetConnect";
43
+ }, {
44
+ readonly text: "Veracity Adapter for Power BI (VAP)";
45
+ readonly url: "veracityAdapterForPowerBI";
46
+ }];
47
+ };
48
+ };
49
+ readonly column3: {
50
+ readonly section1: {
51
+ readonly heading: "Partnership";
52
+ readonly links: readonly [{
53
+ readonly text: "Selling on Veracity";
54
+ readonly url: "sellingOnVeracity";
55
+ }, {
56
+ readonly text: "Veracity partner program";
57
+ readonly url: "veracityPartnerProgram";
58
+ }];
59
+ };
60
+ readonly section2: {
61
+ readonly heading: "Developer";
62
+ readonly links: readonly [{
63
+ readonly text: "Developer community";
64
+ readonly url: "developerCommunity";
65
+ }, {
66
+ readonly text: "Documentation";
67
+ readonly url: "documentation";
68
+ }, {
69
+ readonly text: "API explorer";
70
+ readonly url: "apiExplorer";
71
+ }];
72
+ };
73
+ };
74
+ readonly column4: {
75
+ readonly section1: {
76
+ readonly heading: "Support";
77
+ readonly links: readonly [{
78
+ readonly text: "Help center";
79
+ readonly url: "helpCenter";
80
+ }, {
81
+ readonly text: "Contact us";
82
+ readonly url: "contactUs";
83
+ }];
84
+ };
85
+ readonly section2: {
86
+ readonly heading: "Legal";
87
+ readonly links: readonly [{
88
+ readonly text: "Privacy statement";
89
+ readonly url: "privacyStatement";
90
+ }, {
91
+ readonly text: "Terms of use";
92
+ readonly url: "termsOfUse";
93
+ }, {
94
+ readonly text: "Cookies policy";
95
+ readonly url: "cookiesPolicy";
96
+ }];
97
+ };
98
+ };
99
+ };
100
+ /** Footer link URLs used in Production environment. */
7
101
  export declare const footerLinksProd: {
8
102
  readonly aboutVeracity: "https://www.veracity.com/about";
9
103
  readonly apiExplorer: "https://developer.veracity.com/api";
10
104
  readonly assetConnect: "https://www.veracity.com/article/veracity-asset";
11
105
  readonly career: "https://www.veracity.com/career";
12
- readonly contactUs: "https://services.veracity.com/form/Support";
106
+ readonly contactUs: "https://support.veracity.com";
13
107
  readonly cookiesPolicy: "https://services.veracity.com/CookieList";
14
108
  readonly deepSearch: "https://store.veracity.com/veracity-deep-search";
15
109
  readonly developerCommunity: "https://developer.veracity.com";
16
110
  readonly documentation: "https://developer.veracity.com/docs";
17
- readonly marketplace: "https://store.veracity.com/";
111
+ readonly helpCenter: "https://help-center.veracity.com";
112
+ readonly marketplace: "https://store.veracity.com";
18
113
  readonly news: "https://www.veracity.com";
19
114
  readonly privacyStatement: "https://services.veracity.com/PrivacyStatement";
20
115
  readonly sellingOnVeracity: "https://developer.veracity.com/article/are-you-ready-to-sell-on-veracity";
@@ -25,17 +120,19 @@ export declare const footerLinksProd: {
25
120
  readonly veracityPartnerProgram: "https://www.veracity.com/partner";
26
121
  readonly veracityTrustCenter: "https://www.veracity.com/veracity-trust-center";
27
122
  };
123
+ /** Footer link URLs used in Staging environment. */
28
124
  export declare const footerLinksStag: {
29
125
  readonly aboutVeracity: "https://wwwstag.veracity.com/about";
30
126
  readonly apiExplorer: "https://developer.veracity.com/api";
31
127
  readonly assetConnect: "https://www.veracity.com/article/veracity-asset";
32
128
  readonly career: "https://wwwstag.veracity.com/career";
33
- readonly contactUs: "https://servicesstag.veracity.com/form/Support";
129
+ readonly contactUs: "https://support.veracity.com";
34
130
  readonly cookiesPolicy: "https://servicesstag.veracity.com/CookieList";
35
131
  readonly deepSearch: "https://storestag.veracity.com/veracity-deep-search";
36
132
  readonly developerCommunity: "https://developerstag.veracity.com";
37
133
  readonly documentation: "https://developerstag.veracity.com/docs";
38
- readonly marketplace: "https://storestag.veracity.com/";
134
+ readonly helpCenter: "https://help-center.veracity.com";
135
+ readonly marketplace: "https://storestag.veracity.com";
39
136
  readonly news: "https://wwwstag.veracity.com";
40
137
  readonly privacyStatement: "https://servicesstag.veracity.com/PrivacyStatement";
41
138
  readonly sellingOnVeracity: "https://developer.veracity.com/article/are-you-ready-to-sell-on-veracity";
@@ -46,17 +143,19 @@ export declare const footerLinksStag: {
46
143
  readonly veracityPartnerProgram: "https://wwwstag.veracity.com/partner";
47
144
  readonly veracityTrustCenter: "https://www.veracity.com/veracity-trust-center";
48
145
  };
146
+ /** Footer link URLs used in Test environment. */
49
147
  export declare const footerLinksTest: {
50
148
  readonly aboutVeracity: "https://wwwtest.veracity.com/about";
51
149
  readonly apiExplorer: "https://developer.veracity.com/api";
52
150
  readonly assetConnect: "https://www.veracity.com/article/veracity-asset";
53
151
  readonly career: "https://www.veracity.com/career";
54
- readonly contactUs: "https://servicestest.veracity.com/form/Support";
152
+ readonly contactUs: "https://support.veracity.com";
55
153
  readonly cookiesPolicy: "https://servicestest.veracity.com/CookieList";
56
154
  readonly deepSearch: "https://storetest.veracity.com/veracity-deep-search";
57
155
  readonly developerCommunity: "https://developertest.veracity.com";
58
156
  readonly documentation: "https://developertest.veracity.com/docs";
59
- readonly marketplace: "https://storetest.veracity.com/";
157
+ readonly helpCenter: "https://help-center.veracity.com";
158
+ readonly marketplace: "https://storetest.veracity.com";
60
159
  readonly news: "https://wwwtest.veracity.com";
61
160
  readonly privacyStatement: "https://servicestest.veracity.com/PrivacyStatement";
62
161
  readonly sellingOnVeracity: "https://developer.veracity.com/article/are-you-ready-to-sell-on-veracity";
@@ -67,3 +166,4 @@ export declare const footerLinksTest: {
67
166
  readonly veracityPartnerProgram: "https://wwwtest.veracity.com/partner";
68
167
  readonly veracityTrustCenter: "https://www.veracity.com/veracity-trust-center";
69
168
  };
169
+ export declare const footerLinks: Record<Environment, Record<string, string>>;
package/footer/consts.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.footerLinksTest = exports.footerLinksStag = exports.footerLinksProd = exports.footerColumnsTemplate = void 0;
3
+ exports.footerLinks = exports.footerLinksTest = exports.footerLinksStag = exports.footerLinksProd = exports.footerColumnsTemplate = void 0;
4
4
  /**
5
5
  * Defines the structure of columns and sections of the Footer.
6
6
  * Links' url values here are unique references to actual urls in the footerLinks dictionary.
@@ -51,30 +51,33 @@ exports.footerColumnsTemplate = {
51
51
  section1: {
52
52
  heading: 'Support',
53
53
  links: [
54
- { text: 'Contact us', url: 'contactUs' },
55
- { text: 'Privacy statement', url: 'privacyStatement' }
54
+ { text: 'Help center', url: 'helpCenter' },
55
+ { text: 'Contact us', url: 'contactUs' }
56
56
  ]
57
57
  },
58
58
  section2: {
59
59
  heading: 'Legal',
60
60
  links: [
61
+ { text: 'Privacy statement', url: 'privacyStatement' },
61
62
  { text: 'Terms of use', url: 'termsOfUse' },
62
63
  { text: 'Cookies policy', url: 'cookiesPolicy' }
63
64
  ]
64
65
  }
65
66
  }
66
67
  };
68
+ /** Footer link URLs used in Production environment. */
67
69
  exports.footerLinksProd = {
68
70
  aboutVeracity: 'https://www.veracity.com/about',
69
71
  apiExplorer: 'https://developer.veracity.com/api',
70
72
  assetConnect: 'https://www.veracity.com/article/veracity-asset',
71
73
  career: 'https://www.veracity.com/career',
72
- contactUs: 'https://services.veracity.com/form/Support',
74
+ contactUs: 'https://support.veracity.com',
73
75
  cookiesPolicy: 'https://services.veracity.com/CookieList',
74
76
  deepSearch: 'https://store.veracity.com/veracity-deep-search',
75
77
  developerCommunity: 'https://developer.veracity.com',
76
78
  documentation: 'https://developer.veracity.com/docs',
77
- marketplace: 'https://store.veracity.com/',
79
+ helpCenter: 'https://help-center.veracity.com',
80
+ marketplace: 'https://store.veracity.com',
78
81
  news: 'https://www.veracity.com',
79
82
  privacyStatement: 'https://services.veracity.com/PrivacyStatement',
80
83
  sellingOnVeracity: 'https://developer.veracity.com/article/are-you-ready-to-sell-on-veracity',
@@ -85,17 +88,19 @@ exports.footerLinksProd = {
85
88
  veracityPartnerProgram: 'https://www.veracity.com/partner',
86
89
  veracityTrustCenter: 'https://www.veracity.com/veracity-trust-center'
87
90
  };
91
+ /** Footer link URLs used in Staging environment. */
88
92
  exports.footerLinksStag = {
89
93
  aboutVeracity: 'https://wwwstag.veracity.com/about',
90
94
  apiExplorer: 'https://developer.veracity.com/api',
91
95
  assetConnect: 'https://www.veracity.com/article/veracity-asset',
92
96
  career: 'https://wwwstag.veracity.com/career',
93
- contactUs: 'https://servicesstag.veracity.com/form/Support',
97
+ contactUs: 'https://support.veracity.com',
94
98
  cookiesPolicy: 'https://servicesstag.veracity.com/CookieList',
95
99
  deepSearch: 'https://storestag.veracity.com/veracity-deep-search',
96
100
  developerCommunity: 'https://developerstag.veracity.com',
97
101
  documentation: 'https://developerstag.veracity.com/docs',
98
- marketplace: 'https://storestag.veracity.com/',
102
+ helpCenter: 'https://help-center.veracity.com',
103
+ marketplace: 'https://storestag.veracity.com',
99
104
  news: 'https://wwwstag.veracity.com',
100
105
  privacyStatement: 'https://servicesstag.veracity.com/PrivacyStatement',
101
106
  sellingOnVeracity: 'https://developer.veracity.com/article/are-you-ready-to-sell-on-veracity',
@@ -106,17 +111,19 @@ exports.footerLinksStag = {
106
111
  veracityPartnerProgram: 'https://wwwstag.veracity.com/partner',
107
112
  veracityTrustCenter: 'https://www.veracity.com/veracity-trust-center'
108
113
  };
114
+ /** Footer link URLs used in Test environment. */
109
115
  exports.footerLinksTest = {
110
116
  aboutVeracity: 'https://wwwtest.veracity.com/about',
111
117
  apiExplorer: 'https://developer.veracity.com/api',
112
118
  assetConnect: 'https://www.veracity.com/article/veracity-asset',
113
119
  career: 'https://www.veracity.com/career',
114
- contactUs: 'https://servicestest.veracity.com/form/Support',
120
+ contactUs: 'https://support.veracity.com',
115
121
  cookiesPolicy: 'https://servicestest.veracity.com/CookieList',
116
122
  deepSearch: 'https://storetest.veracity.com/veracity-deep-search',
117
123
  developerCommunity: 'https://developertest.veracity.com',
118
124
  documentation: 'https://developertest.veracity.com/docs',
119
- marketplace: 'https://storetest.veracity.com/',
125
+ helpCenter: 'https://help-center.veracity.com',
126
+ marketplace: 'https://storetest.veracity.com',
120
127
  news: 'https://wwwtest.veracity.com',
121
128
  privacyStatement: 'https://servicestest.veracity.com/PrivacyStatement',
122
129
  sellingOnVeracity: 'https://developer.veracity.com/article/are-you-ready-to-sell-on-veracity',
@@ -127,3 +134,8 @@ exports.footerLinksTest = {
127
134
  veracityPartnerProgram: 'https://wwwtest.veracity.com/partner',
128
135
  veracityTrustCenter: 'https://www.veracity.com/veracity-trust-center'
129
136
  };
137
+ exports.footerLinks = {
138
+ Prod: exports.footerLinksProd,
139
+ Stag: exports.footerLinksStag,
140
+ Test: exports.footerLinksTest
141
+ };
@@ -5,7 +5,9 @@ import FooterHeading from './footerHeading';
5
5
  import FooterLink from './footerLink';
6
6
  import FooterRow from './footerRow';
7
7
  import FooterSection from './footerSection';
8
- declare const Footer: VuiComponent<"div", FooterProps> & {
8
+ export declare const FooterBase: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("..").SystemProps, never>;
9
+ /** Branded Veracity Footer with trademark and links sections. Controls max-width of the content. */
10
+ export declare const Footer: VuiComponent<"div", FooterProps> & {
9
11
  Column: typeof FooterColumn;
10
12
  Heading: typeof FooterHeading;
11
13
  Link: typeof FooterLink;
package/footer/footer.js CHANGED
@@ -1,4 +1,8 @@
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
+ };
2
6
  var __assign = (this && this.__assign) || function () {
3
7
  __assign = Object.assign || function(t) {
4
8
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -41,19 +45,25 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
41
45
  return (mod && mod.__esModule) ? mod : { "default": mod };
42
46
  };
43
47
  Object.defineProperty(exports, "__esModule", { value: true });
48
+ exports.Footer = exports.FooterBase = void 0;
44
49
  var react_1 = __importDefault(require("react"));
45
50
  var box_1 = require("../box");
46
51
  var core_1 = require("../core");
47
52
  var divider_1 = require("../divider");
53
+ var utils_1 = require("../utils");
48
54
  var footerColumn_1 = __importDefault(require("./footerColumn"));
49
55
  var footerHeading_1 = __importDefault(require("./footerHeading"));
50
56
  var footerLink_1 = __importDefault(require("./footerLink"));
51
57
  var footerRow_1 = __importDefault(require("./footerRow"));
52
58
  var footerSection_1 = __importDefault(require("./footerSection"));
53
59
  var footerTrademark_1 = __importDefault(require("./footerTrademark"));
54
- var Footer = (0, core_1.vui)(function (props, ref) {
55
- var children = props.children, columns = props.columns, rest = __rest(props, ["children", "columns"]);
56
- return (react_1.default.createElement(box_1.Box, __assign({ bg: "prussian.80", color: "white", px: 3, py: 5, ref: ref }, rest),
60
+ exports.FooterBase = core_1.styled.divBox(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\tbackground-color: prussian.80;\n\tcolor: white;\n\tpadding: 5 3;\n"], ["\n\tbackground-color: prussian.80;\n\tcolor: white;\n\tpadding: 5 3;\n"
61
+ /** Branded Veracity Footer with trademark and links sections. Controls max-width of the content. */
62
+ ])));
63
+ /** Branded Veracity Footer with trademark and links sections. Controls max-width of the content. */
64
+ exports.Footer = (0, core_1.vui)(function (props, ref) {
65
+ var children = props.children, className = props.className, columns = props.columns, rest = __rest(props, ["children", "className", "columns"]);
66
+ return (react_1.default.createElement(exports.FooterBase, __assign({ className: (0, utils_1.cs)('vui-footer', className), ref: ref }, rest),
57
67
  react_1.default.createElement(box_1.Box, { column: true, maxW: 1200, mx: "auto", w: "100%" }, children !== null && children !== void 0 ? children : (columns && (react_1.default.createElement(footerRow_1.default, null, Object.entries(columns).map(function (_a) {
58
68
  var _b = __read(_a, 2), columnName = _b[0], column = _b[1];
59
69
  return (react_1.default.createElement(footerColumn_1.default, { key: columnName }, Object.entries(column).map(function (_a) {
@@ -65,10 +75,11 @@ var Footer = (0, core_1.vui)(function (props, ref) {
65
75
  react_1.default.createElement(footerRow_1.default, null,
66
76
  react_1.default.createElement(footerTrademark_1.default, null)))));
67
77
  });
68
- Footer.displayName = 'Footer';
69
- Footer.Column = footerColumn_1.default;
70
- Footer.Heading = footerHeading_1.default;
71
- Footer.Link = footerLink_1.default;
72
- Footer.Row = footerRow_1.default;
73
- Footer.Section = footerSection_1.default;
74
- exports.default = Footer;
78
+ exports.Footer.displayName = 'Footer';
79
+ exports.Footer.Column = footerColumn_1.default;
80
+ exports.Footer.Heading = footerHeading_1.default;
81
+ exports.Footer.Link = footerLink_1.default;
82
+ exports.Footer.Row = footerRow_1.default;
83
+ exports.Footer.Section = footerSection_1.default;
84
+ exports.default = exports.Footer;
85
+ var templateObject_1;
@@ -11,20 +11,25 @@ export declare type FooterColumnProps = FooterBoxProps;
11
11
  export declare type FooterColumnsData = {
12
12
  [column: string]: FooterColumnData;
13
13
  };
14
+ /** Link includes the label text and URL address. */
14
15
  export declare type FooterLinkData = {
15
16
  text: string;
16
17
  url: string;
17
18
  };
18
19
  export declare type FooterProps = FooterBoxProps & ThemingProps<'Footer'> & {
20
+ /** Data defining content of multiple columns. */
19
21
  columns?: FooterColumnsData;
20
22
  };
21
23
  /** Section consists of multiple links with text (label) and url */
22
24
  export declare type FooterSectionData = {
23
25
  heading: string;
26
+ /** Array of objects defining each link. */
24
27
  links: FooterLinkData[];
25
28
  };
26
29
  export declare type FooterSectionProps = FooterBoxProps & {
30
+ /** Socket placing a heading on top of the section. */
27
31
  heading?: FooterSectionData['heading'] | JSX.Element;
32
+ /** Socket placing a list of links below the heading. */
28
33
  links?: FooterSectionData['links'] | JSX.Element;
29
34
  };
30
35
  export {};