@veracity/vui 0.3.2 → 0.5.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 (209) hide show
  1. package/avatar/avatar.js +1 -1
  2. package/button/button.d.ts +15 -1
  3. package/button/button.js +3 -3
  4. package/button/button.types.d.ts +4 -4
  5. package/button/consts.js +2 -2
  6. package/button/theme.d.ts +2 -0
  7. package/button/theme.js +3 -2
  8. package/buttonGroup/buttonGroup.d.ts +1 -1
  9. package/buttonGroup/buttonGroup.js +1 -1
  10. package/buttonGroup/helpers.js +3 -1
  11. package/checkbox/checkbox.d.ts +1 -1
  12. package/core/consts.d.ts +7 -0
  13. package/core/consts.js +8 -1
  14. package/core/index.d.ts +1 -0
  15. package/core/index.js +1 -0
  16. package/core/links.d.ts +20 -0
  17. package/core/links.js +173 -0
  18. package/dialog/consts.d.ts +3 -0
  19. package/dialog/consts.js +30 -0
  20. package/dialog/context.d.ts +4 -0
  21. package/dialog/context.js +23 -0
  22. package/dialog/dialog.d.ts +26 -0
  23. package/dialog/dialog.js +122 -0
  24. package/dialog/dialog.types.d.ts +47 -0
  25. package/dialog/dialogBody.d.ts +9 -0
  26. package/dialog/dialogBody.js +85 -0
  27. package/dialog/dialogCancelButton.d.ts +4 -0
  28. package/dialog/dialogCancelButton.js +30 -0
  29. package/dialog/dialogCloseButton.d.ts +4 -0
  30. package/dialog/dialogCloseButton.js +30 -0
  31. package/dialog/dialogFooter.d.ts +4 -0
  32. package/dialog/dialogFooter.js +45 -0
  33. package/dialog/dialogHeader.d.ts +4 -0
  34. package/dialog/dialogHeader.js +53 -0
  35. package/dialog/dialogIcon.d.ts +4 -0
  36. package/dialog/dialogIcon.js +32 -0
  37. package/dialog/dialogSubmitButton.d.ts +4 -0
  38. package/dialog/dialogSubmitButton.js +28 -0
  39. package/dialog/dialogTitle.d.ts +4 -0
  40. package/dialog/dialogTitle.js +30 -0
  41. package/dialog/index.d.ts +13 -0
  42. package/dialog/index.js +30 -0
  43. package/dialog/theme.d.ts +22 -0
  44. package/dialog/theme.js +28 -0
  45. package/footer/context.d.ts +4 -0
  46. package/footer/context.js +23 -0
  47. package/footer/footer.d.ts +2 -0
  48. package/footer/footer.js +11 -29
  49. package/footer/footer.types.d.ts +19 -16
  50. package/footer/footerColumn.d.ts +2 -218
  51. package/footer/footerColumn.js +16 -2
  52. package/footer/footerContent.d.ts +3 -0
  53. package/footer/footerContent.js +28 -0
  54. package/footer/footerHeading.js +2 -1
  55. package/footer/footerLink.js +2 -1
  56. package/footer/footerRow.js +2 -1
  57. package/footer/footerSection.js +4 -3
  58. package/footer/footerTrademark.d.ts +3 -5
  59. package/footer/footerTrademark.js +23 -6
  60. package/footer/helpers.d.ts +7 -10
  61. package/footer/helpers.js +91 -33
  62. package/footer/index.d.ts +1 -1
  63. package/footer/index.js +1 -1
  64. package/footer/theme.js +1 -1
  65. package/grid/grid.d.ts +5 -0
  66. package/{header/headerLink.js → grid/grid.js} +17 -13
  67. package/grid/grid.types.d.ts +3 -0
  68. package/grid/grid.types.js +2 -0
  69. package/grid/index.d.ts +3 -0
  70. package/grid/index.js +20 -0
  71. package/grid/theme.d.ts +7 -0
  72. package/grid/theme.js +12 -0
  73. package/header/context.d.ts +2 -2
  74. package/header/context.js +3 -3
  75. package/header/header.d.ts +11 -10
  76. package/header/header.js +36 -21
  77. package/header/header.types.d.ts +54 -39
  78. package/header/headerAccount.d.ts +8 -0
  79. package/header/{headerProfile.js → headerAccount.js} +32 -45
  80. package/header/headerAccount.types.d.ts +35 -0
  81. package/header/headerAccount.types.js +2 -0
  82. package/header/headerAccountUserInfo.d.ts +4 -0
  83. package/header/headerAccountUserInfo.js +46 -0
  84. package/header/headerContent.d.ts +2 -3
  85. package/header/headerContent.js +3 -3
  86. package/header/headerCreateAccount.js +8 -5
  87. package/header/headerDivider.js +2 -2
  88. package/header/headerLinkItem.d.ts +4 -0
  89. package/header/headerLinkItem.js +53 -0
  90. package/header/headerLogo.js +8 -10
  91. package/header/headerMainLinks.d.ts +4 -0
  92. package/header/{headerLinks.js → headerMainLinks.js} +10 -7
  93. package/header/headerMobileContent.js +4 -3
  94. package/header/headerMobileToggle.d.ts +2 -2
  95. package/header/headerMobileToggle.js +6 -7
  96. package/header/headerNotifications.js +8 -8
  97. package/header/headerServices.d.ts +5 -1
  98. package/header/headerServices.js +23 -14
  99. package/header/headerServicesMessage.d.ts +4 -0
  100. package/header/headerServicesMessage.js +49 -0
  101. package/header/headerSignIn.js +5 -3
  102. package/header/helpers.d.ts +8 -0
  103. package/header/helpers.js +115 -0
  104. package/header/index.d.ts +8 -3
  105. package/header/index.js +8 -3
  106. package/header/loggedInHeader.d.ts +1 -1
  107. package/header/loggedInHeader.js +16 -12
  108. package/header/loggedOutHeader.js +15 -12
  109. package/header/theme.d.ts +62 -7
  110. package/header/theme.js +53 -12
  111. package/icons/baseIcons/fas/fasCalendarAlt.js +1 -1
  112. package/index.d.ts +4 -0
  113. package/index.js +4 -0
  114. package/input/consts.js +2 -2
  115. package/input/input.js +1 -1
  116. package/input/input.types.d.ts +3 -3
  117. package/link/link.types.d.ts +4 -4
  118. package/link/linkText.js +1 -1
  119. package/list/listHeading.js +1 -1
  120. package/list/listItem.js +2 -2
  121. package/list/theme.d.ts +2 -4
  122. package/list/theme.js +2 -4
  123. package/menu/menuItem.js +7 -22
  124. package/menu/menuList.js +1 -1
  125. package/modal/ModalBackdrop.d.ts +4 -0
  126. package/modal/ModalBackdrop.js +37 -0
  127. package/modal/ModalContent.d.ts +4 -0
  128. package/modal/ModalContent.js +38 -0
  129. package/modal/context.d.ts +4 -0
  130. package/modal/context.js +23 -0
  131. package/modal/focusLock.d.ts +9 -0
  132. package/modal/focusLock.js +47 -0
  133. package/modal/focusLock.types.d.ts +28 -0
  134. package/modal/focusLock.types.js +2 -0
  135. package/modal/index.d.ts +9 -0
  136. package/modal/index.js +26 -0
  137. package/modal/modal.d.ts +15 -0
  138. package/modal/modal.js +113 -0
  139. package/modal/modal.types.d.ts +46 -0
  140. package/modal/modal.types.js +2 -0
  141. package/modal/modalManager.d.ts +12 -0
  142. package/modal/modalManager.js +33 -0
  143. package/modal/theme.d.ts +8 -0
  144. package/modal/theme.js +14 -0
  145. package/notification/consts.js +2 -2
  146. package/notification/notification.types.d.ts +1 -2
  147. package/notification/theme.js +1 -1
  148. package/package.json +3 -1
  149. package/popover/popover.d.ts +1 -1
  150. package/popover/popover.js +5 -4
  151. package/popover/popoverContent.js +1 -1
  152. package/popover/popoverTrigger.js +7 -2
  153. package/popover/usePopover.js +7 -9
  154. package/popover/usePopover.types.d.ts +1 -1
  155. package/portal/index.d.ts +3 -0
  156. package/portal/index.js +20 -0
  157. package/portal/portal.d.ts +5 -0
  158. package/portal/portal.js +56 -0
  159. package/portal/portal.types.d.ts +7 -0
  160. package/portal/portal.types.js +2 -0
  161. package/radio/radio.d.ts +1 -1
  162. package/radio/radioGroup.js +1 -1
  163. package/svg/svg.js +9 -7
  164. package/svg/svg.types.d.ts +2 -2
  165. package/system/custom.d.ts +0 -4
  166. package/system/custom.js +1 -15
  167. package/system/effects.d.ts +4 -4
  168. package/system/grids.d.ts +5 -3
  169. package/system/system.d.ts +2 -2
  170. package/system/system.js +1 -1
  171. package/system/transitions.d.ts +1 -1
  172. package/tag/tag.js +1 -2
  173. package/tag/tag.types.d.ts +3 -4
  174. package/tag/theme.d.ts +1 -0
  175. package/tag/theme.js +2 -1
  176. package/textarea/textarea.js +2 -2
  177. package/theme/components.d.ts +101 -11
  178. package/theme/components.js +48 -42
  179. package/theme/defaultTheme.d.ts +130 -12
  180. package/theme/foundations/gridTemplateColumns.d.ts +15 -0
  181. package/theme/foundations/gridTemplateColumns.js +16 -0
  182. package/theme/foundations/gridTemplateRows.d.ts +9 -0
  183. package/theme/foundations/gridTemplateRows.js +10 -0
  184. package/theme/foundations/index.d.ts +29 -1
  185. package/theme/foundations/index.js +6 -0
  186. package/theme/foundations/timingFunctions.d.ts +2 -0
  187. package/theme/foundations/timingFunctions.js +3 -0
  188. package/theme/foundations/zIndices.d.ts +6 -1
  189. package/theme/foundations/zIndices.js +6 -1
  190. package/theme/types.d.ts +9 -1
  191. package/utils/assertion.d.ts +2 -0
  192. package/utils/assertion.js +6 -1
  193. package/utils/function.d.ts +4 -0
  194. package/utils/function.js +19 -1
  195. package/utils/index.d.ts +1 -0
  196. package/utils/index.js +1 -0
  197. package/utils/number.d.ts +2 -0
  198. package/utils/number.js +10 -0
  199. package/utils/object.js +9 -17
  200. package/utils/react.d.ts +12 -5
  201. package/utils/react.js +69 -9
  202. package/utils/types.d.ts +4 -2
  203. package/footer/consts.d.ts +0 -72
  204. package/footer/consts.js +0 -132
  205. package/header/headerLink.d.ts +0 -4
  206. package/header/headerLinks.d.ts +0 -4
  207. package/header/headerProfile.d.ts +0 -4
  208. package/header/headerProfile.types.d.ts +0 -35
  209. /package/{header/headerProfile.types.js → dialog/dialog.types.js} +0 -0
package/utils/types.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React, { ComponentPropsWithoutRef, ComponentPropsWithRef, ElementType } from 'react';
2
- /** Type for any React element without breaking autocompletion. */
3
- export declare type AnyElement = React.ReactNode & {};
2
+ /** Type for a a no-op function stub. */
3
+ export declare type AnyFunction = (...args: any[]) => any;
4
4
  /** Type for any number without breaking autocompletion. */
5
5
  export declare type AnyNumber = number & {};
6
6
  /** Type for any string without breaking autocompletion. */
@@ -21,6 +21,8 @@ export declare type CreateContextOptions = {
21
21
  export declare type CreateContextReturn<T> = [React.Provider<T>, () => T];
22
22
  /** Basic dictionary typing. */
23
23
  export declare type Dict<T = any> = Record<string, T>;
24
+ /** Classic application's environment names. */
25
+ export declare type Environment = 'Prod' | 'Stag' | 'Test';
24
26
  /** Type of blur/focus event defaulted to any html element */
25
27
  export declare type FocusEvent<T = HTMLElement> = React.FocusEvent<T>;
26
28
  /** Type of blur/focus event handler defaulted to any html element */
@@ -1,72 +0,0 @@
1
- import { FooterColumnsData } from './footer.types';
2
- /**
3
- * Defines the structure of columns and sections of the Footer.
4
- * Links' url values here are unique references to actual urls in the footerLinks dictionary.
5
- */
6
- export declare const footerColumnsTemplate: FooterColumnsData;
7
- /** Footer link URLs used in Production environment. */
8
- export declare const footerLinksProd: {
9
- readonly aboutVeracity: "https://www.veracity.com/about";
10
- readonly apiExplorer: "https://developer.veracity.com/api";
11
- readonly assetConnect: "https://www.veracity.com/article/veracity-asset";
12
- readonly career: "https://www.veracity.com/career";
13
- readonly contactUs: "https://services.veracity.com/form/Support";
14
- readonly cookiesPolicy: "https://services.veracity.com/CookieList";
15
- readonly deepSearch: "https://store.veracity.com/veracity-deep-search";
16
- readonly developerCommunity: "https://developer.veracity.com";
17
- readonly documentation: "https://developer.veracity.com/docs";
18
- readonly marketplace: "https://store.veracity.com/";
19
- readonly news: "https://www.veracity.com";
20
- readonly privacyStatement: "https://services.veracity.com/PrivacyStatement";
21
- readonly sellingOnVeracity: "https://developer.veracity.com/article/are-you-ready-to-sell-on-veracity";
22
- readonly termsOfUse: "https://id.veracity.com/terms-of-use";
23
- readonly veracityAdapterForPowerBI: "https://store.veracity.com/veracity-adapter-for-power-bi-vap";
24
- readonly veracityConnectedApp: "https://www.veracity.com/article/veracity-connected-bringing-veracity-to-your-mobile";
25
- readonly veracityDataFabric: "https://store.veracity.com/veracity-data-fabric-secure-data-sharing";
26
- readonly veracityPartnerProgram: "https://www.veracity.com/partner";
27
- readonly veracityTrustCenter: "https://www.veracity.com/veracity-trust-center";
28
- };
29
- /** Footer link URLs used in Staging environment. */
30
- export declare const footerLinksStag: {
31
- readonly aboutVeracity: "https://wwwstag.veracity.com/about";
32
- readonly apiExplorer: "https://developer.veracity.com/api";
33
- readonly assetConnect: "https://www.veracity.com/article/veracity-asset";
34
- readonly career: "https://wwwstag.veracity.com/career";
35
- readonly contactUs: "https://servicesstag.veracity.com/form/Support";
36
- readonly cookiesPolicy: "https://servicesstag.veracity.com/CookieList";
37
- readonly deepSearch: "https://storestag.veracity.com/veracity-deep-search";
38
- readonly developerCommunity: "https://developerstag.veracity.com";
39
- readonly documentation: "https://developerstag.veracity.com/docs";
40
- readonly marketplace: "https://storestag.veracity.com/";
41
- readonly news: "https://wwwstag.veracity.com";
42
- readonly privacyStatement: "https://servicesstag.veracity.com/PrivacyStatement";
43
- readonly sellingOnVeracity: "https://developer.veracity.com/article/are-you-ready-to-sell-on-veracity";
44
- readonly termsOfUse: "https://id.veracity.com/terms-of-use";
45
- readonly veracityAdapterForPowerBI: "https://storestag.veracity.com/veracity-adapter-for-power-bi-vap";
46
- readonly veracityConnectedApp: "https://www.veracity.com/article/veracity-connected-bringing-veracity-to-your-mobile";
47
- readonly veracityDataFabric: "https://storestag.veracity.com/veracity-data-fabric-secure-data-sharing";
48
- readonly veracityPartnerProgram: "https://wwwstag.veracity.com/partner";
49
- readonly veracityTrustCenter: "https://www.veracity.com/veracity-trust-center";
50
- };
51
- /** Footer link URLs used in Test environment. */
52
- export declare const footerLinksTest: {
53
- readonly aboutVeracity: "https://wwwtest.veracity.com/about";
54
- readonly apiExplorer: "https://developer.veracity.com/api";
55
- readonly assetConnect: "https://www.veracity.com/article/veracity-asset";
56
- readonly career: "https://www.veracity.com/career";
57
- readonly contactUs: "https://servicestest.veracity.com/form/Support";
58
- readonly cookiesPolicy: "https://servicestest.veracity.com/CookieList";
59
- readonly deepSearch: "https://storetest.veracity.com/veracity-deep-search";
60
- readonly developerCommunity: "https://developertest.veracity.com";
61
- readonly documentation: "https://developertest.veracity.com/docs";
62
- readonly marketplace: "https://storetest.veracity.com/";
63
- readonly news: "https://wwwtest.veracity.com";
64
- readonly privacyStatement: "https://servicestest.veracity.com/PrivacyStatement";
65
- readonly sellingOnVeracity: "https://developer.veracity.com/article/are-you-ready-to-sell-on-veracity";
66
- readonly termsOfUse: "https://id.veracity.com/terms-of-use";
67
- readonly veracityAdapterForPowerBI: "https://storetest.veracity.com/veracity-adapter-for-power-bi-vap";
68
- readonly veracityConnectedApp: "https://www.veracity.com/article/veracity-connected-bringing-veracity-to-your-mobile";
69
- readonly veracityDataFabric: "https://storetest.veracity.com/veracity-data-fabric-secure-data-sharing";
70
- readonly veracityPartnerProgram: "https://wwwtest.veracity.com/partner";
71
- readonly veracityTrustCenter: "https://www.veracity.com/veracity-trust-center";
72
- };
package/footer/consts.js DELETED
@@ -1,132 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.footerLinksTest = exports.footerLinksStag = exports.footerLinksProd = exports.footerColumnsTemplate = void 0;
4
- /**
5
- * Defines the structure of columns and sections of the Footer.
6
- * Links' url values here are unique references to actual urls in the footerLinks dictionary.
7
- */
8
- exports.footerColumnsTemplate = {
9
- column1: {
10
- section1: {
11
- heading: 'Platform',
12
- links: [
13
- { text: 'About Veracity', url: 'aboutVeracity' },
14
- { text: 'News', url: 'news' },
15
- { text: 'Marketplace', url: 'marketplace' },
16
- { text: 'Veracity trust center', url: 'veracityTrustCenter' },
17
- { text: 'Career', url: 'career' }
18
- ]
19
- }
20
- },
21
- column2: {
22
- section1: {
23
- heading: 'Products',
24
- links: [
25
- { text: 'Veracity Connected app', url: 'veracityConnectedApp' },
26
- { text: 'Veracity Data Fabric', url: 'veracityDataFabric' },
27
- { text: 'Deep Search', url: 'deepSearch' },
28
- { text: 'Asset Connect', url: 'assetConnect' },
29
- { text: 'Veracity Adapter for Power BI (VAP)', url: 'veracityAdapterForPowerBI' }
30
- ]
31
- }
32
- },
33
- column3: {
34
- section1: {
35
- heading: 'Partnership',
36
- links: [
37
- { text: 'Selling on Veracity', url: 'sellingOnVeracity' },
38
- { text: 'Veracity partner program', url: 'veracityPartnerProgram' }
39
- ]
40
- },
41
- section2: {
42
- heading: 'Developer',
43
- links: [
44
- { text: 'Developer community', url: 'developerCommunity' },
45
- { text: 'Documentation', url: 'documentation' },
46
- { text: 'API explorer', url: 'apiExplorer' }
47
- ]
48
- }
49
- },
50
- column4: {
51
- section1: {
52
- heading: 'Support',
53
- links: [
54
- { text: 'Contact us', url: 'contactUs' },
55
- { text: 'Privacy statement', url: 'privacyStatement' }
56
- ]
57
- },
58
- section2: {
59
- heading: 'Legal',
60
- links: [
61
- { text: 'Terms of use', url: 'termsOfUse' },
62
- { text: 'Cookies policy', url: 'cookiesPolicy' }
63
- ]
64
- }
65
- }
66
- };
67
- /** Footer link URLs used in Production environment. */
68
- exports.footerLinksProd = {
69
- aboutVeracity: 'https://www.veracity.com/about',
70
- apiExplorer: 'https://developer.veracity.com/api',
71
- assetConnect: 'https://www.veracity.com/article/veracity-asset',
72
- career: 'https://www.veracity.com/career',
73
- contactUs: 'https://services.veracity.com/form/Support',
74
- cookiesPolicy: 'https://services.veracity.com/CookieList',
75
- deepSearch: 'https://store.veracity.com/veracity-deep-search',
76
- developerCommunity: 'https://developer.veracity.com',
77
- documentation: 'https://developer.veracity.com/docs',
78
- marketplace: 'https://store.veracity.com/',
79
- news: 'https://www.veracity.com',
80
- privacyStatement: 'https://services.veracity.com/PrivacyStatement',
81
- sellingOnVeracity: 'https://developer.veracity.com/article/are-you-ready-to-sell-on-veracity',
82
- termsOfUse: 'https://id.veracity.com/terms-of-use',
83
- veracityAdapterForPowerBI: 'https://store.veracity.com/veracity-adapter-for-power-bi-vap',
84
- veracityConnectedApp: 'https://www.veracity.com/article/veracity-connected-bringing-veracity-to-your-mobile',
85
- veracityDataFabric: 'https://store.veracity.com/veracity-data-fabric-secure-data-sharing',
86
- veracityPartnerProgram: 'https://www.veracity.com/partner',
87
- veracityTrustCenter: 'https://www.veracity.com/veracity-trust-center'
88
- };
89
- /** Footer link URLs used in Staging environment. */
90
- exports.footerLinksStag = {
91
- aboutVeracity: 'https://wwwstag.veracity.com/about',
92
- apiExplorer: 'https://developer.veracity.com/api',
93
- assetConnect: 'https://www.veracity.com/article/veracity-asset',
94
- career: 'https://wwwstag.veracity.com/career',
95
- contactUs: 'https://servicesstag.veracity.com/form/Support',
96
- cookiesPolicy: 'https://servicesstag.veracity.com/CookieList',
97
- deepSearch: 'https://storestag.veracity.com/veracity-deep-search',
98
- developerCommunity: 'https://developerstag.veracity.com',
99
- documentation: 'https://developerstag.veracity.com/docs',
100
- marketplace: 'https://storestag.veracity.com/',
101
- news: 'https://wwwstag.veracity.com',
102
- privacyStatement: 'https://servicesstag.veracity.com/PrivacyStatement',
103
- sellingOnVeracity: 'https://developer.veracity.com/article/are-you-ready-to-sell-on-veracity',
104
- termsOfUse: 'https://id.veracity.com/terms-of-use',
105
- veracityAdapterForPowerBI: 'https://storestag.veracity.com/veracity-adapter-for-power-bi-vap',
106
- veracityConnectedApp: 'https://www.veracity.com/article/veracity-connected-bringing-veracity-to-your-mobile',
107
- veracityDataFabric: 'https://storestag.veracity.com/veracity-data-fabric-secure-data-sharing',
108
- veracityPartnerProgram: 'https://wwwstag.veracity.com/partner',
109
- veracityTrustCenter: 'https://www.veracity.com/veracity-trust-center'
110
- };
111
- /** Footer link URLs used in Test environment. */
112
- exports.footerLinksTest = {
113
- aboutVeracity: 'https://wwwtest.veracity.com/about',
114
- apiExplorer: 'https://developer.veracity.com/api',
115
- assetConnect: 'https://www.veracity.com/article/veracity-asset',
116
- career: 'https://www.veracity.com/career',
117
- contactUs: 'https://servicestest.veracity.com/form/Support',
118
- cookiesPolicy: 'https://servicestest.veracity.com/CookieList',
119
- deepSearch: 'https://storetest.veracity.com/veracity-deep-search',
120
- developerCommunity: 'https://developertest.veracity.com',
121
- documentation: 'https://developertest.veracity.com/docs',
122
- marketplace: 'https://storetest.veracity.com/',
123
- news: 'https://wwwtest.veracity.com',
124
- privacyStatement: 'https://servicestest.veracity.com/PrivacyStatement',
125
- sellingOnVeracity: 'https://developer.veracity.com/article/are-you-ready-to-sell-on-veracity',
126
- termsOfUse: 'https://id.veracity.com/terms-of-use',
127
- veracityAdapterForPowerBI: 'https://storetest.veracity.com/veracity-adapter-for-power-bi-vap',
128
- veracityConnectedApp: 'https://www.veracity.com/article/veracity-connected-bringing-veracity-to-your-mobile',
129
- veracityDataFabric: 'https://storetest.veracity.com/veracity-data-fabric-secure-data-sharing',
130
- veracityPartnerProgram: 'https://wwwtest.veracity.com/partner',
131
- veracityTrustCenter: 'https://www.veracity.com/veracity-trust-center'
132
- };
@@ -1,4 +0,0 @@
1
- import { HeaderLinkProps } from './header.types';
2
- /** Individual link item of the Header. */
3
- export declare const HeaderLink: import("../core").VuiComponent<"a", HeaderLinkProps>;
4
- export default HeaderLink;
@@ -1,4 +0,0 @@
1
- import { HeaderLinksProps } from './header.types';
2
- /** List of Header Links. */
3
- export declare const HeaderLinks: import("../core").VuiComponent<"ul", HeaderLinksProps>;
4
- export default HeaderLinks;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { HeaderProfileProps } from './headerProfile.types';
3
- /** Displays user profile information and helpful links, like settings or logout. */
4
- export default function HeaderProfile(props: HeaderProfileProps): JSX.Element;
@@ -1,35 +0,0 @@
1
- import { AvatarProps } from '../avatar';
2
- import { BoxProps } from '../box';
3
- import { PopoverProps } from '../popover';
4
- import { AnyElement } from '../utils';
5
- import { HeaderLinkData } from './header.types';
6
- export declare type HeaderProfileProps = PopoverProps & {
7
- /** Props object passed to the PopoverContent component. */
8
- contentProps?: BoxProps;
9
- /** Socket displaying a set of link sections below user information. */
10
- sections?: HeaderProfileData['sections'] | AnyElement;
11
- /** Props object passed to the PopoverTrigger component. */
12
- triggerProps?: AvatarProps;
13
- /** Socket displaying user information on top of the profile popover. */
14
- userInfo?: HeaderProfileData['userInfo'] | AnyElement;
15
- };
16
- /** Defines profile link sections and user information. */
17
- export declare type HeaderProfileData = {
18
- sections?: HeaderProfileSectionsData;
19
- userInfo?: HeaderProfileUserInfoData;
20
- };
21
- /** Defines heading and an array of links within one section. */
22
- export declare type HeaderProfileSectionData = {
23
- heading?: string;
24
- links?: HeaderLinkData[];
25
- };
26
- /** Defines a set of link sections within the profile popover. */
27
- export declare type HeaderProfileSectionsData = {
28
- [sectionName: string]: HeaderProfileSectionData;
29
- };
30
- /** Defines user information within the profile. */
31
- export declare type HeaderProfileUserInfoData = {
32
- companyName?: string;
33
- userName?: string;
34
- };
35
- export declare type HeaderProfileUserInfoProps = HeaderProfileUserInfoData;