@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.
- package/avatar/avatar.d.ts +2 -2
- package/avatar/avatar.js +9 -29
- package/avatar/avatar.types.d.ts +9 -2
- package/avatar/helpers.d.ts +2 -0
- package/avatar/helpers.js +26 -0
- package/avatar/index.d.ts +1 -1
- package/avatar/index.js +1 -1
- package/avatar/theme.d.ts +1 -0
- package/avatar/theme.js +7 -0
- package/box/box.d.ts +2 -2
- package/box/box.js +9 -8
- package/box/box.types.d.ts +13 -2
- package/box/index.d.ts +1 -1
- package/box/index.js +1 -1
- package/box/theme.d.ts +1 -0
- package/box/theme.js +2 -0
- package/button/button.d.ts +7 -3
- package/button/button.js +24 -14
- package/button/button.types.d.ts +16 -34
- package/button/buttonIcon.d.ts +1 -0
- package/button/buttonIcon.js +3 -5
- package/button/buttonText.d.ts +1 -0
- package/button/buttonText.js +3 -5
- package/button/buttons.js +1 -1
- package/button/consts.js +2 -2
- package/button/index.d.ts +2 -2
- package/button/index.js +3 -3
- package/button/theme.d.ts +1 -0
- package/button/theme.js +5 -3
- package/buttonGroup/buttonGroup.d.ts +5 -2
- package/buttonGroup/buttonGroup.js +12 -8
- package/buttonGroup/buttonGroup.types.d.ts +4 -2
- package/buttonGroup/helpers.d.ts +1 -1
- package/buttonGroup/helpers.js +1 -1
- package/buttonGroup/index.d.ts +1 -1
- package/buttonGroup/index.js +2 -2
- package/card/card.d.ts +4 -0
- package/card/card.js +8 -0
- package/card/card.types.d.ts +3 -2
- package/card/index.d.ts +1 -1
- package/card/index.js +1 -1
- package/card/theme.d.ts +1 -0
- package/card/theme.js +2 -0
- package/checkbox/checkbox.d.ts +5 -4
- package/checkbox/checkbox.js +20 -10
- package/checkbox/checkbox.types.d.ts +21 -4
- package/checkbox/checkboxGroup.d.ts +5 -2
- package/checkbox/checkboxGroup.js +11 -7
- package/checkbox/checkboxGroup.types.d.ts +9 -2
- package/checkbox/index.d.ts +1 -1
- package/checkbox/index.js +2 -2
- package/checkbox/theme.d.ts +1 -0
- package/checkbox/theme.js +2 -0
- package/core/index.d.ts +4 -5
- package/core/index.js +4 -12
- package/core/media.d.ts +38 -0
- package/core/media.js +79 -0
- package/core/styled.d.ts +3 -0
- package/core/styled.js +21 -3
- package/core/theme.d.ts +41 -0
- package/core/theme.js +94 -0
- package/core/vui.d.ts +31 -0
- package/core/vui.js +20 -0
- package/core/vuiProvider/fontFaces.js +4 -0
- package/core/{globalStyle.d.ts → vuiProvider/globalStyle.d.ts} +7 -0
- package/core/{globalStyle.js → vuiProvider/globalStyle.js} +17 -9
- package/core/vuiProvider/index.d.ts +5 -0
- package/core/vuiProvider/index.js +26 -0
- package/core/{resetCSS.d.ts → vuiProvider/resetCSS.d.ts} +1 -0
- package/core/{resetCSS.js → vuiProvider/resetCSS.js} +2 -1
- package/core/vuiProvider/vuiProvider.d.ts +13 -0
- package/core/{vuiProvider.js → vuiProvider/vuiProvider.js} +3 -2
- package/divider/divider.d.ts +2 -2
- package/divider/divider.js +5 -4
- package/divider/divider.types.d.ts +5 -2
- package/divider/index.d.ts +1 -1
- package/divider/index.js +1 -1
- package/divider/theme.d.ts +1 -0
- package/divider/theme.js +2 -0
- package/footer/consts.d.ts +108 -8
- package/footer/consts.js +21 -9
- package/footer/footer.d.ts +3 -1
- package/footer/footer.js +21 -10
- package/footer/footer.types.d.ts +5 -0
- package/footer/footerColumn.d.ts +122 -121
- package/footer/footerColumn.js +1 -0
- package/footer/footerHeading.d.ts +1 -0
- package/footer/footerHeading.js +1 -0
- package/footer/footerLink.d.ts +1 -0
- package/footer/footerLink.js +1 -0
- package/footer/footerRow.d.ts +1 -0
- package/footer/footerRow.js +1 -0
- package/footer/footerSection.d.ts +1 -0
- package/footer/footerSection.js +2 -1
- package/footer/footerTrademark.d.ts +1 -0
- package/footer/footerTrademark.js +1 -0
- package/footer/helpers.d.ts +2 -3
- package/footer/helpers.js +16 -16
- package/footer/index.d.ts +2 -1
- package/footer/index.js +2 -2
- package/footer/theme.d.ts +1 -0
- package/footer/theme.js +2 -0
- package/header/consts.d.ts +58 -0
- package/header/consts.js +76 -0
- package/header/context.d.ts +4 -0
- package/header/context.js +23 -0
- package/header/header.d.ts +34 -0
- package/header/header.js +133 -0
- package/header/header.types.d.ts +103 -0
- package/header/headerAccount.d.ts +4 -0
- package/header/headerAccount.js +109 -0
- package/header/headerAccount.types.d.ts +35 -0
- package/header/headerContent.d.ts +4 -0
- package/header/headerContent.js +28 -0
- package/header/headerCreateAccount.d.ts +4 -0
- package/header/headerCreateAccount.js +47 -0
- package/header/headerDivider.d.ts +4 -0
- package/header/headerDivider.js +28 -0
- package/header/headerLinkItem.d.ts +4 -0
- package/header/headerLinkItem.js +53 -0
- package/header/headerLinksList.d.ts +4 -0
- package/header/headerLinksList.js +44 -0
- package/header/headerLogo.d.ts +4 -0
- package/header/headerLogo.js +44 -0
- package/header/headerMobileContent.d.ts +4 -0
- package/header/headerMobileContent.js +31 -0
- package/header/headerMobileToggle.d.ts +4 -0
- package/header/headerMobileToggle.js +33 -0
- package/header/headerNotifications.d.ts +4 -0
- package/header/headerNotifications.js +51 -0
- package/header/headerServices.d.ts +4 -0
- package/header/headerServices.js +55 -0
- package/header/headerSignIn.d.ts +4 -0
- package/header/headerSignIn.js +40 -0
- package/header/helpers.d.ts +17 -0
- package/header/helpers.js +66 -0
- package/header/index.d.ts +21 -0
- package/header/index.js +38 -0
- package/header/loggedInHeader.d.ts +4 -0
- package/header/loggedInHeader.js +57 -0
- package/header/loggedOutHeader.d.ts +4 -0
- package/header/loggedOutHeader.js +57 -0
- package/header/theme.d.ts +85 -0
- package/header/theme.js +89 -0
- package/heading/heading.d.ts +2 -2
- package/heading/heading.js +5 -4
- package/heading/heading.types.d.ts +7 -2
- package/heading/headings.js +1 -1
- package/heading/index.d.ts +1 -1
- package/heading/index.js +2 -2
- package/heading/theme.d.ts +1 -0
- package/heading/theme.js +2 -0
- package/icon/helpers.js +2 -2
- package/icon/icon.d.ts +1 -0
- package/icon/icon.js +2 -2
- package/icon/icon.types.d.ts +7 -4
- package/icon/index.d.ts +1 -1
- package/icon/index.js +1 -1
- package/icon/theme.d.ts +1 -0
- package/icon/theme.js +2 -0
- package/icons/baseIcons/fal/falFileInvoiceDollar.d.ts +3 -0
- package/icons/baseIcons/fal/falFileInvoiceDollar.js +7 -0
- package/icons/baseIcons/fas/fasCalendarAlt.js +1 -1
- package/icons/baseIcons/icons.d.ts +1 -0
- package/icons/baseIcons/icons.js +5 -3
- package/icons/baseIcons/types.d.ts +1 -1
- package/icons/cache.d.ts +15 -0
- package/icons/{library.js → cache.js} +10 -6
- package/icons/index.d.ts +1 -1
- package/icons/index.js +3 -3
- package/icons/types.d.ts +10 -3
- package/image/image.d.ts +2 -0
- package/image/image.js +11 -2
- package/image/image.types.d.ts +3 -2
- package/image/index.d.ts +1 -1
- package/image/index.js +1 -1
- package/image/theme.d.ts +1 -0
- package/image/theme.js +2 -0
- package/index.d.ts +3 -1
- package/index.js +3 -1
- package/input/consts.js +2 -2
- package/input/helpers.d.ts +1 -0
- package/input/helpers.js +1 -0
- package/input/index.d.ts +1 -1
- package/input/index.js +2 -2
- package/input/input.d.ts +7 -3
- package/input/input.js +17 -7
- package/input/input.types.d.ts +36 -7
- package/input/inputIcon.d.ts +1 -0
- package/input/inputIcon.js +2 -1
- package/input/inputInput.d.ts +2 -2
- package/input/inputInput.js +10 -5
- package/input/theme.d.ts +1 -0
- package/input/theme.js +2 -0
- package/link/index.d.ts +1 -1
- package/link/index.js +2 -2
- package/link/link.d.ts +6 -3
- package/link/link.js +15 -9
- package/link/link.types.d.ts +15 -7
- package/link/linkIcon.d.ts +1 -0
- package/link/linkIcon.js +3 -5
- package/link/linkText.d.ts +1 -0
- package/link/linkText.js +3 -5
- package/link/theme.d.ts +6 -0
- package/link/theme.js +9 -1
- package/list/index.d.ts +1 -1
- package/list/index.js +2 -2
- package/list/list.d.ts +3 -3
- package/list/list.js +13 -8
- package/list/list.types.d.ts +29 -8
- package/list/listDivider.d.ts +1 -0
- package/list/listDivider.js +3 -5
- package/list/listHeading.d.ts +1 -0
- package/list/listHeading.js +4 -6
- package/list/listIcon.d.ts +1 -0
- package/list/listIcon.js +3 -5
- package/list/listItem.d.ts +5 -2
- package/list/listItem.js +52 -19
- package/list/listText.d.ts +1 -0
- package/list/listText.js +3 -5
- package/list/theme.d.ts +1 -0
- package/list/theme.js +5 -2
- package/menu/menu.d.ts +1 -0
- package/menu/menu.js +1 -0
- package/menu/menu.types.d.ts +3 -0
- package/menu/menuButton.d.ts +1 -0
- package/menu/menuButton.js +3 -4
- package/menu/menuItem.d.ts +1 -0
- package/menu/menuItem.js +9 -23
- package/menu/menuList.d.ts +1 -0
- package/menu/menuList.js +3 -4
- package/menu/theme.d.ts +16 -2
- package/menu/theme.js +18 -3
- package/modal/context.d.ts +4 -0
- package/modal/context.js +23 -0
- package/modal/focusLock.d.ts +9 -0
- package/modal/focusLock.js +47 -0
- package/modal/focusLock.types.d.ts +28 -0
- package/modal/focusLock.types.js +2 -0
- package/modal/index.d.ts +7 -0
- package/modal/index.js +24 -0
- package/modal/modal.d.ts +10 -0
- package/modal/modal.js +109 -0
- package/modal/modal.types.d.ts +40 -0
- package/modal/modal.types.js +2 -0
- package/modal/modalBackdrop.d.ts +4 -0
- package/modal/modalBackdrop.js +38 -0
- package/modal/modalManager.d.ts +12 -0
- package/modal/modalManager.js +33 -0
- package/modal/theme.d.ts +7 -0
- package/modal/theme.js +12 -0
- package/notification/consts.js +2 -2
- package/notification/index.d.ts +2 -2
- package/notification/index.js +3 -3
- package/notification/notification.d.ts +5 -1
- package/notification/notification.js +12 -27
- package/notification/notification.types.d.ts +11 -4
- package/notification/notificationButton.d.ts +1 -0
- package/notification/notificationButton.js +4 -5
- package/notification/notificationIcon.d.ts +1 -0
- package/notification/notificationIcon.js +7 -7
- package/notification/notificationText.d.ts +1 -0
- package/notification/notificationText.js +3 -5
- package/notification/notificationTitle.d.ts +1 -0
- package/notification/notificationTitle.js +3 -5
- package/notification/theme.d.ts +1 -0
- package/notification/theme.js +2 -0
- package/p/index.d.ts +1 -1
- package/p/index.js +1 -1
- package/p/p.d.ts +2 -2
- package/p/p.js +5 -4
- package/p/p.types.d.ts +7 -2
- package/p/theme.d.ts +1 -0
- package/p/theme.js +2 -0
- package/package.json +3 -1
- package/panel/index.d.ts +1 -1
- package/panel/index.js +1 -1
- package/panel/panel.d.ts +4 -0
- package/panel/panel.js +4 -0
- package/panel/panel.types.d.ts +1 -2
- package/panel/theme.d.ts +1 -0
- package/panel/theme.js +2 -0
- package/popover/consts.d.ts +6 -0
- package/popover/consts.js +42 -0
- package/popover/index.d.ts +1 -1
- package/popover/index.js +1 -1
- package/popover/popover.d.ts +6 -2
- package/popover/popover.js +20 -4
- package/popover/popover.types.d.ts +4 -1
- package/popover/popoverContent.d.ts +2 -1
- package/popover/popoverContent.js +6 -1
- package/popover/popoverTrigger.d.ts +4 -0
- package/popover/popoverTrigger.js +4 -0
- package/popover/theme.d.ts +1 -0
- package/popover/theme.js +2 -0
- package/popover/usePopover.d.ts +5 -0
- package/popover/usePopover.js +26 -18
- package/popover/usePopover.types.d.ts +17 -6
- package/portal/index.d.ts +3 -0
- package/{styles → portal}/index.js +5 -5
- package/portal/portal.d.ts +5 -0
- package/portal/portal.js +56 -0
- package/portal/portal.types.d.ts +7 -0
- package/portal/portal.types.js +2 -0
- package/radio/index.d.ts +1 -1
- package/radio/index.js +2 -2
- package/radio/radio.d.ts +5 -4
- package/radio/radio.js +20 -10
- package/radio/radio.types.d.ts +19 -4
- package/radio/radioGroup.d.ts +5 -2
- package/radio/radioGroup.js +11 -7
- package/radio/radioGroup.types.d.ts +10 -2
- package/radio/theme.d.ts +1 -0
- package/radio/theme.js +2 -0
- package/skeleton/index.d.ts +1 -1
- package/skeleton/index.js +1 -1
- package/skeleton/skeleton.d.ts +2 -2
- package/skeleton/skeleton.js +4 -3
- package/skeleton/skeleton.types.d.ts +5 -2
- package/skeleton/theme.d.ts +1 -0
- package/skeleton/theme.js +2 -0
- package/spinner/index.d.ts +1 -1
- package/spinner/index.js +1 -1
- package/spinner/spinner.d.ts +6 -2
- package/spinner/spinner.js +12 -5
- package/spinner/spinner.types.d.ts +10 -6
- package/spinner/theme.d.ts +1 -0
- package/spinner/theme.js +2 -0
- package/svg/helpers.d.ts +1 -1
- package/svg/index.d.ts +1 -1
- package/svg/index.js +1 -1
- package/svg/svg.d.ts +6 -1
- package/svg/svg.js +16 -5
- package/svg/svg.types.d.ts +7 -5
- package/switch/context.d.ts +2 -2
- package/switch/index.d.ts +1 -1
- package/switch/index.js +2 -2
- package/switch/switch.d.ts +6 -3
- package/switch/switch.js +15 -12
- package/switch/switch.types.d.ts +37 -4
- package/switch/switchButton.d.ts +5 -5
- package/switch/switchButton.js +34 -26
- package/switch/switchLabel.d.ts +1 -0
- package/switch/switchLabel.js +3 -5
- package/switch/theme.d.ts +1 -0
- package/switch/theme.js +2 -0
- package/system/animations.d.ts +3 -4
- package/system/backgrounds.d.ts +4 -5
- package/system/borders.d.ts +60 -61
- package/system/custom.d.ts +4 -4
- package/system/effects.d.ts +7 -8
- package/system/flexboxGrids.d.ts +5 -6
- package/system/flexboxes.d.ts +28 -29
- package/system/grids.d.ts +25 -26
- package/system/index.d.ts +0 -1
- package/system/index.js +0 -6
- package/system/interactivity.d.ts +11 -12
- package/system/layout.d.ts +31 -32
- package/system/sizing.d.ts +13 -14
- package/system/space.d.ts +37 -38
- package/system/system.d.ts +4 -5
- package/system/system.js +3 -1
- package/system/tables.d.ts +5 -6
- package/system/transforms.d.ts +22 -23
- package/system/transitions.d.ts +11 -12
- package/system/typography.d.ts +33 -34
- package/t/index.d.ts +1 -1
- package/t/index.js +1 -1
- package/t/t.d.ts +2 -2
- package/t/t.js +5 -4
- package/t/t.types.d.ts +8 -2
- package/t/theme.d.ts +1 -0
- package/t/theme.js +2 -0
- package/tag/index.d.ts +1 -1
- package/tag/index.js +2 -2
- package/tag/tag.d.ts +6 -3
- package/tag/tag.js +14 -7
- package/tag/tag.types.d.ts +19 -6
- package/tag/tagButton.d.ts +1 -0
- package/tag/tagButton.js +4 -16
- package/tag/tagIcon.d.ts +1 -0
- package/tag/tagIcon.js +3 -5
- package/tag/tagText.d.ts +1 -0
- package/tag/tagText.js +3 -5
- package/tag/theme.d.ts +1 -0
- package/tag/theme.js +8 -0
- package/textarea/helpers.d.ts +1 -0
- package/textarea/helpers.js +1 -0
- package/textarea/index.d.ts +1 -1
- package/textarea/index.js +1 -1
- package/textarea/textarea.d.ts +5 -3
- package/textarea/textarea.js +23 -10
- package/textarea/textarea.types.d.ts +22 -2
- package/textarea/theme.d.ts +1 -0
- package/textarea/theme.js +2 -0
- package/theme/components.d.ts +129 -2
- package/theme/components.js +38 -36
- package/theme/defaultTheme.d.ts +134 -2
- package/theme/foundations/colors.d.ts +10 -0
- package/theme/foundations/colors.js +8 -2
- package/theme/foundations/index.d.ts +5 -0
- package/theme/foundations/shadows.js +3 -3
- package/theme/foundations/transformers.js +3 -2
- package/theme/index.d.ts +1 -3
- package/theme/index.js +4 -5
- package/theme/types.d.ts +3 -2
- package/utils/assertion.d.ts +5 -5
- package/utils/assertion.js +8 -4
- package/utils/index.d.ts +1 -0
- package/utils/index.js +1 -0
- package/utils/object.d.ts +2 -2
- package/utils/object.js +3 -1
- package/utils/react.d.ts +10 -5
- package/utils/react.js +64 -9
- package/utils/string.d.ts +5 -0
- package/utils/string.js +19 -0
- package/utils/styles.d.ts +2 -2
- package/utils/styles.js +4 -4
- package/utils/types.d.ts +11 -4
- package/core/types/component.d.ts +0 -25
- package/core/types/index.d.ts +0 -2
- package/core/types/index.js +0 -14
- package/core/types/themeGet.d.ts +0 -24
- package/core/utils.d.ts +0 -56
- package/core/utils.js +0 -194
- package/core/vuiProvider.d.ts +0 -20
- package/icons/library.d.ts +0 -11
- package/popover/plugins.d.ts +0 -3
- package/popover/plugins.js +0 -24
- package/styles/fontFaces.js +0 -4
- package/styles/helpers.d.ts +0 -4
- package/styles/helpers.js +0 -8
- package/styles/index.d.ts +0 -3
- /package/{styles → core/vuiProvider}/animations.d.ts +0 -0
- /package/{styles → core/vuiProvider}/animations.js +0 -0
- /package/{styles → core/vuiProvider}/fontFaces.d.ts +0 -0
- /package/{core/types/component.js → header/header.types.js} +0 -0
- /package/{core/types/themeGet.js → header/headerAccount.types.js} +0 -0
package/footer/consts.d.ts
CHANGED
|
@@ -1,20 +1,115 @@
|
|
|
1
|
-
import {
|
|
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:
|
|
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://
|
|
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
|
|
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://
|
|
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
|
|
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://
|
|
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
|
|
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: '
|
|
55
|
-
{ text: '
|
|
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://
|
|
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
|
-
|
|
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://
|
|
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
|
-
|
|
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://
|
|
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
|
-
|
|
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
|
+
};
|
package/footer/footer.d.ts
CHANGED
|
@@ -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
|
|
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
|
-
|
|
55
|
-
|
|
56
|
-
|
|
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;
|
package/footer/footer.types.d.ts
CHANGED
|
@@ -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 {};
|