@pantheon-systems/pds-toolkit-react 1.0.0-dev.16 → 1.0.0-dev.160
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/README.md +31 -1
- package/_dist/components/Avatar/Avatar.d.ts +29 -0
- package/_dist/components/Breadcrumbs/Breadcrumbs.d.ts +9 -0
- package/_dist/components/Breadcrumbs/BreadcrumbsContent.d.ts +12 -0
- package/_dist/components/Breadcrumbs/BreadcrumbsContext.d.ts +17 -0
- package/_dist/components/Breadcrumbs/ListItem.d.ts +14 -0
- package/_dist/components/Breadcrumbs/MobileCrumbs.d.ts +2 -0
- package/_dist/components/CTALink/CTALink.d.ts +20 -0
- package/_dist/components/CTASlice/CTASlice.d.ts +34 -0
- package/_dist/components/Callout/Callout.d.ts +24 -0
- package/_dist/components/Callout/sample-callout-content.d.ts +2 -0
- package/_dist/components/ComparisonList/ComparisonList.d.ts +42 -0
- package/_dist/components/Heading/Heading.d.ts +15 -0
- package/_dist/components/Icon/Icon.d.ts +624 -0
- package/_dist/components/Icon/iconList.d.ts +1 -0
- package/_dist/components/Modal/Modal.d.ts +40 -0
- package/_dist/components/Pager/AdvancedPagination.d.ts +4 -0
- package/_dist/components/Pager/BasicPagination.d.ts +4 -0
- package/_dist/components/Pager/MiniPagination.d.ts +4 -0
- package/_dist/components/Pager/NavigationButton.d.ts +13 -0
- package/_dist/components/Pager/Pager.d.ts +24 -0
- package/_dist/components/Pager/PagerContext.d.ts +23 -0
- package/_dist/components/Pager/PagerItem.d.ts +14 -0
- package/_dist/components/Pager/usePaginationUI.d.ts +1 -0
- package/_dist/components/Panel/Panel.d.ts +30 -0
- package/_dist/components/PantheonLogo/PantheonLogo.d.ts +25 -0
- package/_dist/components/PlatformIcon/PlatformIcon.d.ts +13 -0
- package/_dist/components/Popover/Popover.d.ts +57 -0
- package/_dist/components/PullQuote/PullQuote.d.ts +34 -0
- package/_dist/components/Skiplink/Skiplink.d.ts +21 -0
- package/_dist/components/SocialLinks/SocialLinks.d.ts +13 -0
- package/_dist/components/StatusIndicator/StatusIndicator.d.ts +20 -0
- package/_dist/components/Stepper/Stepper.d.ts +46 -0
- package/_dist/components/Table/Table.d.ts +15 -0
- package/_dist/components/TableOfContents/TableOfContents.d.ts +25 -0
- package/_dist/components/Tabs/Tabs.d.ts +60 -0
- package/_dist/components/Tag/Tag.d.ts +39 -0
- package/_dist/components/Tooltip/Tooltip.d.ts +43 -0
- package/_dist/components/badges/IndicatorBadge/IndicatorBadge.d.ts +27 -0
- package/_dist/components/badges/StatusBadge/StatusBadge.d.ts +35 -0
- package/_dist/components/badges/Tally/Tally.d.ts +35 -0
- package/_dist/components/buttons/Button/Button.d.ts +5 -0
- package/_dist/components/buttons/ButtonLink/ButtonLink.d.ts +24 -0
- package/_dist/components/buttons/IconButton/IconButton.d.ts +50 -0
- package/_dist/components/buttons/MenuButton/MenuButton.d.ts +63 -0
- package/_dist/components/buttons/SegmentedButton/SegmentedButton.d.ts +45 -0
- package/_dist/components/buttons/SplitButton/SplitButton.d.ts +36 -0
- package/_dist/components/buttons/ToggleButton/ToggleButton.d.ts +35 -0
- package/_dist/components/cards/Card/Card.d.ts +30 -0
- package/_dist/components/cards/CardSelectGroup/CardSelectGroup.d.ts +38 -0
- package/_dist/components/cards/LinksCard/LinksCard.d.ts +17 -0
- package/_dist/components/cards/NewSiteCard/NewSiteCard.d.ts +25 -0
- package/_dist/components/cards/PricingCard/PricingCard.d.ts +64 -0
- package/_dist/components/cards/SiteCard/SiteCard.d.ts +25 -0
- package/_dist/components/expansion-panels/ExpansionPanel/ExpansionPanel.d.ts +19 -0
- package/_dist/components/expansion-panels/ExpansionPanelGroup/ExpansionPanelGroup.d.ts +15 -0
- package/_dist/components/footer/FooterHeading/FooterHeading.d.ts +15 -0
- package/_dist/components/footer/FooterLinks/FooterLinks.d.ts +17 -0
- package/_dist/components/footer/SiteFooter/SiteFooter.d.ts +18 -0
- package/_dist/components/inputs/Checkbox/Checkbox.d.ts +92 -0
- package/_dist/components/inputs/CheckboxFieldset/CheckboxFieldset.d.ts +60 -0
- package/_dist/components/inputs/CheckboxGroup/CheckboxGroup.d.ts +76 -0
- package/_dist/components/inputs/Combobox/Combobox.d.ts +5 -0
- package/_dist/components/inputs/FileUpload/FileUpload.d.ts +37 -0
- package/_dist/components/inputs/InputFormatted/InputFormatted.d.ts +35 -0
- package/_dist/components/inputs/InputGroup/InputGroup.d.ts +19 -0
- package/_dist/components/inputs/InputObscured/InputObscured.d.ts +33 -0
- package/_dist/components/inputs/InputText/InputText.d.ts +75 -0
- package/_dist/components/inputs/InputWrapper/InputWrapper.d.ts +5 -0
- package/_dist/components/inputs/RadioGroup/RadioGroup.d.ts +46 -0
- package/_dist/components/inputs/Select/Select.d.ts +45 -0
- package/_dist/components/inputs/Switch/Switch.d.ts +74 -0
- package/_dist/components/inputs/TextInput/TextInput.d.ts +127 -0
- package/_dist/components/inputs/Textarea/Textarea.d.ts +39 -0
- package/_dist/components/inputs/ToggleSwitch/ToggleSwitch.d.ts +33 -0
- package/_dist/components/inputs/input-types.d.ts +1 -0
- package/_dist/components/inputs/input-utilities.d.ts +55 -0
- package/_dist/components/inputs/inputs-common.d.ts +40 -0
- package/_dist/components/navigation/DashboardNav/DashboardNav.d.ts +43 -0
- package/_dist/components/navigation/DashboardSearch/DashboardSearch.d.ts +69 -0
- package/_dist/components/navigation/DashboardSearch/SiteOptionDisplay.d.ts +10 -0
- package/_dist/components/navigation/DropdownMenu/DropdownMenu.d.ts +28 -0
- package/_dist/components/navigation/NavMenu/NavMenu.d.ts +19 -0
- package/_dist/components/navigation/NavMenu/NavMenuDropdown.d.ts +14 -0
- package/_dist/components/navigation/Navbar/Navbar.d.ts +35 -0
- package/_dist/components/navigation/SideNav/SideNav.d.ts +47 -0
- package/_dist/components/navigation/SideNavCompact/SideNavCompact.d.ts +47 -0
- package/_dist/components/navigation/UserMenu/UserMenu.d.ts +44 -0
- package/_dist/components/navigation/WorkspaceSelector/WorkspaceSelector.d.ts +58 -0
- package/_dist/components/navigation/navigation-types.d.ts +39 -0
- package/_dist/components/navigation/navigation-utilities.d.ts +7 -0
- package/_dist/components/notifications/Banner/Banner.d.ts +47 -0
- package/_dist/components/notifications/InlineMessage/InlineMessage.d.ts +37 -0
- package/_dist/components/notifications/SectionMessage/SectionMessage.d.ts +47 -0
- package/_dist/components/notifications/Toaster/Toast.d.ts +30 -0
- package/_dist/components/notifications/Toaster/Toaster.d.ts +16 -0
- package/_dist/components/notifications/Toaster/useToast.d.ts +2 -0
- package/_dist/components/progress-indicators/ProgressBar/ProgressBar.d.ts +35 -0
- package/_dist/components/progress-indicators/ProgressRing/ProgressRing.d.ts +25 -0
- package/_dist/components/progress-indicators/Spinner/Spinner.d.ts +33 -0
- package/_dist/components/tiles/AvatarTileList/AvatarTileList.d.ts +22 -0
- package/_dist/components/tiles/StatsTileList/StatsTileList.d.ts +26 -0
- package/_dist/components/tiles/Tile/Tile.d.ts +23 -0
- package/_dist/components/tiles/TileGrid/TileGrid.d.ts +38 -0
- package/_dist/css/component-css/pds-avatar-tile-list.css +1 -0
- package/_dist/css/component-css/pds-avatar.css +1 -0
- package/_dist/css/component-css/pds-banner.css +1 -0
- package/_dist/css/component-css/pds-breadcrumbs.css +1 -0
- package/_dist/css/component-css/pds-button-link.css +1 -0
- package/_dist/css/component-css/pds-button.css +81 -0
- package/_dist/css/component-css/pds-callout.css +1 -0
- package/_dist/css/component-css/pds-card-select-group.css +1 -0
- package/_dist/css/component-css/pds-card.css +1 -0
- package/_dist/css/component-css/pds-checkbox-group.css +1 -0
- package/_dist/css/component-css/pds-checkbox.css +1 -0
- package/_dist/css/component-css/pds-combobox.css +1 -0
- package/_dist/css/component-css/pds-comparison-list.css +1 -0
- package/_dist/css/component-css/pds-cta-link.css +1 -0
- package/_dist/css/component-css/pds-cta-slice.css +1 -0
- package/_dist/css/component-css/pds-dashboard-nav.css +5 -0
- package/_dist/css/component-css/pds-dashboard-search.css +1 -0
- package/_dist/css/component-css/pds-dropdown-menu.css +2 -0
- package/_dist/css/component-css/pds-expansion-panel-group.css +1 -0
- package/_dist/css/component-css/pds-expansion-panel.css +1 -0
- package/_dist/css/component-css/pds-file-upload.css +5 -0
- package/_dist/css/component-css/pds-footer-heading.css +1 -0
- package/_dist/css/component-css/pds-footer-links.css +1 -0
- package/_dist/css/component-css/pds-heading.css +1 -0
- package/_dist/css/component-css/pds-icon-button.css +17 -0
- package/_dist/css/component-css/pds-icon-story-only.css +1 -0
- package/_dist/css/component-css/pds-index.css +157 -0
- package/_dist/css/component-css/pds-indicator-badge.css +37 -0
- package/_dist/css/component-css/pds-inline-message.css +1 -0
- package/_dist/css/component-css/pds-input-group.css +1 -0
- package/_dist/css/component-css/pds-input-text.css +1 -0
- package/_dist/css/component-css/pds-input-utilities.css +1 -0
- package/_dist/css/component-css/pds-input-wrapper.css +1 -0
- package/_dist/css/component-css/pds-inputs-common-deprecated.css +1 -0
- package/_dist/css/component-css/pds-inputs-common.css +1 -0
- package/_dist/css/component-css/pds-links-card.css +1 -0
- package/_dist/css/component-css/pds-menu-button.css +1 -0
- package/_dist/css/component-css/pds-modal.css +1 -0
- package/_dist/css/component-css/pds-nav-menu.css +1 -0
- package/_dist/css/component-css/pds-navbar.css +3 -0
- package/_dist/css/component-css/pds-new-site-card.css +1 -0
- package/_dist/css/component-css/pds-pager.css +1 -0
- package/_dist/css/component-css/pds-panel.css +1 -0
- package/_dist/css/component-css/pds-pantheon-logo.css +1 -0
- package/_dist/css/component-css/pds-platform-icon.css +1 -0
- package/_dist/css/component-css/pds-popover.css +1 -0
- package/_dist/css/component-css/pds-pricing-card-local.css +1 -0
- package/_dist/css/component-css/pds-pricing-card.css +1 -0
- package/_dist/css/component-css/pds-progress-bar.css +1 -0
- package/_dist/css/component-css/pds-progress-ring.css +1 -0
- package/_dist/css/component-css/pds-pull-quote.css +1 -0
- package/_dist/css/component-css/pds-radio-group.css +1 -0
- package/_dist/css/component-css/pds-section-message.css +1 -0
- package/_dist/css/component-css/pds-segmented-button.css +1 -0
- package/_dist/css/component-css/pds-select.css +1 -0
- package/_dist/css/component-css/pds-side-nav-compact.css +1 -0
- package/_dist/css/component-css/pds-side-nav.css +1 -0
- package/_dist/css/component-css/pds-site-card.css +1 -0
- package/_dist/css/component-css/pds-site-footer.css +1 -0
- package/_dist/css/component-css/pds-skiplink.css +1 -0
- package/_dist/css/component-css/pds-social-links.css +1 -0
- package/_dist/css/component-css/pds-spinner.css +1 -0
- package/_dist/css/component-css/pds-split-button.css +2 -0
- package/_dist/css/component-css/pds-stats-tile-list.css +1 -0
- package/_dist/css/component-css/pds-status-badge.css +9 -0
- package/_dist/css/component-css/pds-status-indicator.css +1 -0
- package/_dist/css/component-css/pds-stepper.css +1 -0
- package/_dist/css/component-css/pds-switch.css +3 -0
- package/_dist/css/component-css/pds-table-of-contents.css +1 -0
- package/_dist/css/component-css/pds-table.css +1 -0
- package/_dist/css/component-css/pds-tabs.css +1 -0
- package/_dist/css/component-css/pds-tag.css +1 -0
- package/_dist/css/component-css/pds-tally.css +1 -0
- package/_dist/css/component-css/pds-text-input.css +1 -0
- package/_dist/css/component-css/pds-textarea.css +1 -0
- package/_dist/css/component-css/pds-tile.css +1 -0
- package/_dist/css/component-css/pds-tiles-common.css +1 -0
- package/_dist/css/component-css/pds-toaster.css +1 -0
- package/_dist/css/component-css/pds-toggle-button.css +1 -0
- package/_dist/css/component-css/pds-toggle-switch.css +3 -0
- package/_dist/css/component-css/pds-tooltip.css +1 -0
- package/_dist/css/component-css/pds-user-menu-story-only.css +1 -0
- package/_dist/css/component-css/pds-user-menu.css +1 -0
- package/_dist/css/component-css/pds-workspace-selector.css +1 -0
- package/_dist/css/design-tokens/pds-design-tokens-dark-mode.css +272 -0
- package/_dist/css/design-tokens/pds-design-tokens-light-mode.css +333 -0
- package/_dist/css/design-tokens/pds-design-tokens.css +105 -0
- package/_dist/css/pds-components.css +120 -70
- package/_dist/css/pds-core.css +6 -2
- package/_dist/css/pds-layouts.css +2 -1
- package/_dist/index.css +1 -0
- package/_dist/index.d.ts +92 -0
- package/_dist/index.js +11518 -0
- package/_dist/index.js.map +1 -0
- package/_dist/layouts/Container/Container.d.ts +16 -0
- package/_dist/layouts/DashboardLayout/DashboardLayout.d.ts +44 -0
- package/_dist/layouts/DashboardLayout/DemoContent.d.ts +2 -0
- package/_dist/layouts/FlexContainer/FlexContainer.d.ts +27 -0
- package/_dist/layouts/GlobalWrapper/GlobalWrapper.d.ts +19 -0
- package/_dist/layouts/SidebarLayout/SidebarLayout.d.ts +21 -0
- package/_dist/layouts/StepperLayout/StepperLayout.d.ts +13 -0
- package/_dist/layouts/ThreeItemLayout/ThreeItemLayout.d.ts +15 -0
- package/_dist/layouts/TwoItemLayout/TwoItemLayout.d.ts +17 -0
- package/_dist/libs/components/custom-types.d.ts +5 -0
- package/_dist/libs/components/customPropTypes.d.ts +85 -0
- package/_dist/libs/components/utils.d.ts +3 -0
- package/_dist/utilities/context-providers/ResponsiveContext/ResponsiveContext.d.ts +6 -0
- package/_dist/vars/spacing.d.ts +17 -0
- package/_dist/vars/z-index.d.ts +5 -0
- package/package.json +85 -43
- package/_dist/cjs/index.js +0 -98
- package/_dist/cjs/index.js.map +0 -1
- package/_dist/esm/index.js +0 -98
- package/_dist/esm/index.js.map +0 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React, { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import './tally.css';
|
|
3
|
+
interface TypeLabels {
|
|
4
|
+
info?: string;
|
|
5
|
+
success?: string;
|
|
6
|
+
neutral?: string;
|
|
7
|
+
warning?: string;
|
|
8
|
+
critical?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Prop types for Tally
|
|
12
|
+
*/
|
|
13
|
+
export interface TallyProps extends ComponentPropsWithoutRef<'div'> {
|
|
14
|
+
/**
|
|
15
|
+
* Label text
|
|
16
|
+
*/
|
|
17
|
+
label: string | number;
|
|
18
|
+
/**
|
|
19
|
+
* Notification type
|
|
20
|
+
*/
|
|
21
|
+
type: 'neutral' | 'critical' | 'warning' | 'info' | 'success';
|
|
22
|
+
/**
|
|
23
|
+
* Message type labels.
|
|
24
|
+
*/
|
|
25
|
+
typeLabels?: TypeLabels;
|
|
26
|
+
/**
|
|
27
|
+
* Additional class names
|
|
28
|
+
*/
|
|
29
|
+
className?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Tally UI component
|
|
33
|
+
*/
|
|
34
|
+
export declare const Tally: ({ label, type, typeLabels, className, ...props }: TallyProps) => React.JSX.Element;
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export function ButtonLink({ disabled, displayType, iconName, linkContent, size, variant, className, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
displayType?: string;
|
|
5
|
+
iconName: any;
|
|
6
|
+
linkContent: any;
|
|
7
|
+
size?: string;
|
|
8
|
+
variant?: string;
|
|
9
|
+
className: any;
|
|
10
|
+
}): React.JSX.Element;
|
|
11
|
+
export namespace ButtonLink {
|
|
12
|
+
namespace propTypes {
|
|
13
|
+
export let disabled: PropTypes.Requireable<boolean>;
|
|
14
|
+
export let displayType: PropTypes.Requireable<string>;
|
|
15
|
+
export { PDSIcon as iconName };
|
|
16
|
+
export let linkContent: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
17
|
+
export let size: PropTypes.Requireable<string>;
|
|
18
|
+
export let variant: PropTypes.Requireable<string>;
|
|
19
|
+
export let className: PropTypes.Requireable<string>;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
import React from 'react';
|
|
23
|
+
import PropTypes from 'prop-types';
|
|
24
|
+
import { PDSIcon } from '@libs/components/customPropTypes';
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import React, { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { PDSIcon } from '@components/Icon/Icon';
|
|
3
|
+
import './icon-button.css';
|
|
4
|
+
interface IconButtonProps extends ComponentPropsWithoutRef<'button'> {
|
|
5
|
+
/**
|
|
6
|
+
* Aria-label attribute.
|
|
7
|
+
*/
|
|
8
|
+
ariaLabel: string;
|
|
9
|
+
/**
|
|
10
|
+
* Type of button
|
|
11
|
+
*/
|
|
12
|
+
buttonType?: 'button' | 'submit' | 'reset';
|
|
13
|
+
/**
|
|
14
|
+
* Is the button disabled?
|
|
15
|
+
*/
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Show tooltip on hover. If false, the title attribute will be used.
|
|
19
|
+
*/
|
|
20
|
+
hasTooltip?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Which icon to render.
|
|
23
|
+
*/
|
|
24
|
+
iconName: PDSIcon;
|
|
25
|
+
/**
|
|
26
|
+
* Which icon to render second. If this is set, the button will be animated.
|
|
27
|
+
*/
|
|
28
|
+
icon2Name?: PDSIcon;
|
|
29
|
+
/**
|
|
30
|
+
* Click event handler callback.
|
|
31
|
+
*/
|
|
32
|
+
onClick?: () => void;
|
|
33
|
+
/**
|
|
34
|
+
* Which size of button to render.
|
|
35
|
+
*/
|
|
36
|
+
size?: 'sm' | 'md' | 'lg';
|
|
37
|
+
/**
|
|
38
|
+
* Which variant of button to render.
|
|
39
|
+
*/
|
|
40
|
+
variant?: 'standard' | 'critical';
|
|
41
|
+
/**
|
|
42
|
+
* Additional class names.
|
|
43
|
+
*/
|
|
44
|
+
className?: string;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* IconButton UI component
|
|
48
|
+
*/
|
|
49
|
+
export declare const IconButton: ({ ariaLabel, buttonType, disabled, hasTooltip, iconName, icon2Name, onClick, size, variant, className, ...props }: IconButtonProps) => React.JSX.Element;
|
|
50
|
+
export {};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export function MenuButton({ avatarImageSrc, disabled, displayType, iconName, id, isSplitButton, label, menuItems, menuPosition, size, testId, undefinedLabel, variant, withinNavbar, className, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
avatarImageSrc: any;
|
|
4
|
+
disabled: any;
|
|
5
|
+
displayType?: string;
|
|
6
|
+
iconName?: string;
|
|
7
|
+
id: any;
|
|
8
|
+
isSplitButton?: boolean;
|
|
9
|
+
label: any;
|
|
10
|
+
menuItems: any;
|
|
11
|
+
menuPosition?: string;
|
|
12
|
+
size?: string;
|
|
13
|
+
testId: any;
|
|
14
|
+
undefinedLabel?: string;
|
|
15
|
+
variant?: string;
|
|
16
|
+
withinNavbar: any;
|
|
17
|
+
className: any;
|
|
18
|
+
}): React.JSX.Element;
|
|
19
|
+
export namespace MenuButton {
|
|
20
|
+
namespace propTypes {
|
|
21
|
+
export let avatarImageSrc: PropTypes.Requireable<string>;
|
|
22
|
+
export let disabled: PropTypes.Requireable<boolean>;
|
|
23
|
+
export let displayType: PropTypes.Requireable<string>;
|
|
24
|
+
export { PDSIcon as iconName };
|
|
25
|
+
export let id: PropTypes.Requireable<string>;
|
|
26
|
+
export let isSplitButton: PropTypes.Requireable<boolean>;
|
|
27
|
+
export let label: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
28
|
+
export let menuItems: PropTypes.Requireable<NonNullable<Required<PropTypes.InferProps<{
|
|
29
|
+
label: PropTypes.Validator<string>;
|
|
30
|
+
isHeading: PropTypes.Validator<boolean>;
|
|
31
|
+
}>> | Required<PropTypes.InferProps<{
|
|
32
|
+
description: PropTypes.Requireable<string>;
|
|
33
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
34
|
+
iconName: PropTypes.Requireable<string>;
|
|
35
|
+
isLink: PropTypes.Validator<boolean>;
|
|
36
|
+
linkContent: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
37
|
+
testId: PropTypes.Requireable<string>;
|
|
38
|
+
}>> | Required<PropTypes.InferProps<{
|
|
39
|
+
callback: PropTypes.Requireable<(...args: any[]) => any>;
|
|
40
|
+
description: PropTypes.Requireable<string>;
|
|
41
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
42
|
+
iconName: PropTypes.Requireable<string>;
|
|
43
|
+
id: PropTypes.Requireable<string>;
|
|
44
|
+
label: PropTypes.Validator<string>;
|
|
45
|
+
testId: PropTypes.Requireable<string>;
|
|
46
|
+
}>> | Required<PropTypes.InferProps<{
|
|
47
|
+
isNode: PropTypes.Validator<boolean>;
|
|
48
|
+
nodeContent: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
49
|
+
}>> | Required<PropTypes.InferProps<{
|
|
50
|
+
isSeparator: PropTypes.Validator<boolean>;
|
|
51
|
+
}>>>[]>;
|
|
52
|
+
export let menuPosition: PropTypes.Requireable<string>;
|
|
53
|
+
export let size: PropTypes.Requireable<string>;
|
|
54
|
+
export let testId: PropTypes.Requireable<string>;
|
|
55
|
+
export let undefinedLabel: PropTypes.Requireable<string>;
|
|
56
|
+
export let variant: PropTypes.Requireable<string>;
|
|
57
|
+
export let withinNavbar: PropTypes.Requireable<boolean>;
|
|
58
|
+
export let className: PropTypes.Requireable<string>;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
import React from 'react';
|
|
62
|
+
import PropTypes from 'prop-types';
|
|
63
|
+
import { PDSIcon } from '../../../libs/components/customPropTypes';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PDSIcon } from '@components/Icon/Icon';
|
|
3
|
+
import './segmented-button.css';
|
|
4
|
+
/**
|
|
5
|
+
* Prop types for SegmentedButton
|
|
6
|
+
*/
|
|
7
|
+
export interface SegmentedButtonProps {
|
|
8
|
+
/**
|
|
9
|
+
* Is the ToggleButton disabled?
|
|
10
|
+
*/
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Unique ID for the ToggleButton
|
|
14
|
+
*/
|
|
15
|
+
id: string;
|
|
16
|
+
/**
|
|
17
|
+
* Optional initial selected option value
|
|
18
|
+
*/
|
|
19
|
+
initialSelection?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Label for the SegmentedButton — visually hidden, used for screen readers only.
|
|
22
|
+
*/
|
|
23
|
+
label: string;
|
|
24
|
+
/**
|
|
25
|
+
* Callback function that will return the updated value from the instance when it changes.
|
|
26
|
+
* Function should have the shape of: `(value) => { <do stuff here> } `.
|
|
27
|
+
*/
|
|
28
|
+
onChange?: (value: string) => void;
|
|
29
|
+
/**
|
|
30
|
+
* Array of button options — must be between 2 and 6 options.
|
|
31
|
+
*/
|
|
32
|
+
options: {
|
|
33
|
+
value: string;
|
|
34
|
+
label: string;
|
|
35
|
+
iconName?: PDSIcon;
|
|
36
|
+
}[];
|
|
37
|
+
/**
|
|
38
|
+
* Additional class names
|
|
39
|
+
*/
|
|
40
|
+
className?: string;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* SegmentedButton UI component
|
|
44
|
+
*/
|
|
45
|
+
export declare const SegmentedButton: ({ disabled, id, initialSelection, label, onChange, options, className, ...props }: SegmentedButtonProps) => React.JSX.Element;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export function SplitButton({ actionItems, disabled, moreActionsLabel, size, variant, className, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
actionItems: any;
|
|
4
|
+
disabled: any;
|
|
5
|
+
moreActionsLabel?: string;
|
|
6
|
+
size?: string;
|
|
7
|
+
variant?: string;
|
|
8
|
+
className: any;
|
|
9
|
+
}): React.JSX.Element;
|
|
10
|
+
export namespace SplitButton {
|
|
11
|
+
namespace propTypes {
|
|
12
|
+
let actionItems: PropTypes.Requireable<NonNullable<Required<PropTypes.InferProps<{
|
|
13
|
+
description: PropTypes.Requireable<string>;
|
|
14
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
15
|
+
iconName: PropTypes.Requireable<string>;
|
|
16
|
+
isLink: PropTypes.Validator<boolean>;
|
|
17
|
+
linkContent: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
18
|
+
testId: PropTypes.Requireable<string>;
|
|
19
|
+
}>> | Required<PropTypes.InferProps<{
|
|
20
|
+
callback: PropTypes.Requireable<(...args: any[]) => any>;
|
|
21
|
+
description: PropTypes.Requireable<string>;
|
|
22
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
23
|
+
iconName: PropTypes.Requireable<string>;
|
|
24
|
+
id: PropTypes.Requireable<string>;
|
|
25
|
+
label: PropTypes.Validator<string>;
|
|
26
|
+
testId: PropTypes.Requireable<string>;
|
|
27
|
+
}>>>[]>;
|
|
28
|
+
let disabled: PropTypes.Requireable<boolean>;
|
|
29
|
+
let moreActionsLabel: PropTypes.Requireable<string>;
|
|
30
|
+
let size: PropTypes.Requireable<string>;
|
|
31
|
+
let variant: PropTypes.Requireable<string>;
|
|
32
|
+
let className: PropTypes.Requireable<string>;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
import React from 'react';
|
|
36
|
+
import PropTypes from 'prop-types';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export function ToggleButton({ disabled, id, initialSelection, label, onChange, options, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
id: any;
|
|
5
|
+
initialSelection: any;
|
|
6
|
+
label: any;
|
|
7
|
+
onChange: any;
|
|
8
|
+
options: any;
|
|
9
|
+
}): React.JSX.Element;
|
|
10
|
+
export namespace ToggleButton {
|
|
11
|
+
namespace propTypes {
|
|
12
|
+
let disabled: PropTypes.Requireable<boolean>;
|
|
13
|
+
let id: PropTypes.Validator<string>;
|
|
14
|
+
let initialSelection: PropTypes.Requireable<string>;
|
|
15
|
+
let label: PropTypes.Validator<string>;
|
|
16
|
+
let onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
17
|
+
let options: PropTypes.Requireable<PropTypes.InferProps<{
|
|
18
|
+
/**
|
|
19
|
+
* Option label
|
|
20
|
+
*/
|
|
21
|
+
label: PropTypes.Validator<string>;
|
|
22
|
+
/**
|
|
23
|
+
* Option value
|
|
24
|
+
*/
|
|
25
|
+
value: PropTypes.Validator<string>;
|
|
26
|
+
/**
|
|
27
|
+
* Option icon
|
|
28
|
+
*/
|
|
29
|
+
iconName: PropTypes.Requireable<string>;
|
|
30
|
+
}>[]>;
|
|
31
|
+
let className: PropTypes.Requireable<string>;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
import React from 'react';
|
|
35
|
+
import PropTypes from 'prop-types';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export function Card({ bodyText, headingLevel, headingText, image, isClickable, kickerText, primaryLink, secondaryLink, className, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
bodyText: any;
|
|
4
|
+
headingLevel?: string;
|
|
5
|
+
headingText: any;
|
|
6
|
+
image: any;
|
|
7
|
+
isClickable?: boolean;
|
|
8
|
+
kickerText: any;
|
|
9
|
+
primaryLink: any;
|
|
10
|
+
secondaryLink: any;
|
|
11
|
+
className: any;
|
|
12
|
+
}): React.JSX.Element;
|
|
13
|
+
export namespace Card {
|
|
14
|
+
namespace propTypes {
|
|
15
|
+
let bodyText: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
16
|
+
let headingLevel: PropTypes.Requireable<string>;
|
|
17
|
+
let headingText: PropTypes.Validator<string>;
|
|
18
|
+
let image: PropTypes.Requireable<PropTypes.InferProps<{
|
|
19
|
+
src: PropTypes.Requireable<string>;
|
|
20
|
+
alt: PropTypes.Requireable<string>;
|
|
21
|
+
}>>;
|
|
22
|
+
let isClickable: PropTypes.Requireable<boolean>;
|
|
23
|
+
let kickerText: PropTypes.Requireable<string>;
|
|
24
|
+
let primaryLink: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
25
|
+
let secondaryLink: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
26
|
+
let className: PropTypes.Requireable<string>;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
import React from 'react';
|
|
30
|
+
import PropTypes from 'prop-types';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export function CardSelectGroup({ id, initialSelection, label, labelDisplay, layout, onChange, options, className, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
id: any;
|
|
4
|
+
initialSelection: any;
|
|
5
|
+
label: any;
|
|
6
|
+
labelDisplay?: string;
|
|
7
|
+
layout?: string;
|
|
8
|
+
onChange: any;
|
|
9
|
+
options: any;
|
|
10
|
+
className: any;
|
|
11
|
+
}): React.JSX.Element;
|
|
12
|
+
export namespace CardSelectGroup {
|
|
13
|
+
namespace propTypes {
|
|
14
|
+
let id: PropTypes.Validator<string>;
|
|
15
|
+
let initialSelection: PropTypes.Requireable<string>;
|
|
16
|
+
let label: PropTypes.Validator<string>;
|
|
17
|
+
let labelDisplay: PropTypes.Requireable<string>;
|
|
18
|
+
let layout: PropTypes.Requireable<string>;
|
|
19
|
+
let onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
20
|
+
let options: PropTypes.Requireable<PropTypes.InferProps<{
|
|
21
|
+
/**
|
|
22
|
+
* Option label
|
|
23
|
+
*/
|
|
24
|
+
label: PropTypes.Validator<NonNullable<NonNullable<PropTypes.ReactNodeLike>>>;
|
|
25
|
+
/**
|
|
26
|
+
* Option description
|
|
27
|
+
*/
|
|
28
|
+
description: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
29
|
+
/**
|
|
30
|
+
* Option value
|
|
31
|
+
*/
|
|
32
|
+
value: PropTypes.Validator<string>;
|
|
33
|
+
}>[]>;
|
|
34
|
+
let className: PropTypes.Requireable<string>;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
import React from 'react';
|
|
38
|
+
import PropTypes from 'prop-types';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export function LinksCard({ linkItems, headingLevel, headingText, className, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
linkItems: any;
|
|
4
|
+
headingLevel?: string;
|
|
5
|
+
headingText: any;
|
|
6
|
+
className: any;
|
|
7
|
+
}): React.JSX.Element;
|
|
8
|
+
export namespace LinksCard {
|
|
9
|
+
namespace propTypes {
|
|
10
|
+
let headingLevel: PropTypes.Requireable<string>;
|
|
11
|
+
let headingText: PropTypes.Validator<string>;
|
|
12
|
+
let linkItems: PropTypes.Requireable<PropTypes.ReactNodeLike[]>;
|
|
13
|
+
let className: PropTypes.Requireable<string>;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
import React from 'react';
|
|
17
|
+
import PropTypes from 'prop-types';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export function NewSiteCard({ badge, icon, selectionLink, subtitle, supplementalLinks, summary, title, className, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
badge: any;
|
|
4
|
+
icon: any;
|
|
5
|
+
selectionLink: any;
|
|
6
|
+
subtitle: any;
|
|
7
|
+
supplementalLinks: any;
|
|
8
|
+
summary: any;
|
|
9
|
+
title: any;
|
|
10
|
+
className: any;
|
|
11
|
+
}): React.JSX.Element;
|
|
12
|
+
export namespace NewSiteCard {
|
|
13
|
+
namespace propTypes {
|
|
14
|
+
let badge: PropTypes.Requireable<string>;
|
|
15
|
+
let icon: PropTypes.Requireable<string>;
|
|
16
|
+
let selectionLink: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
17
|
+
let subtitle: PropTypes.Requireable<string>;
|
|
18
|
+
let summary: PropTypes.Requireable<string>;
|
|
19
|
+
let supplementalLinks: PropTypes.Requireable<PropTypes.ReactNodeLike[]>;
|
|
20
|
+
let title: PropTypes.Validator<string>;
|
|
21
|
+
let className: PropTypes.Requireable<string>;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
import React from 'react';
|
|
25
|
+
import PropTypes from 'prop-types';
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export function PricingCard({ actionPrimary, actionSecondary, hasComparisonList, onTierChange, planDescription, planName, planPricingData, statusBadgeLabels, selectLabel, statusBadgeType, className, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
actionPrimary: any;
|
|
4
|
+
actionSecondary: any;
|
|
5
|
+
hasComparisonList?: boolean;
|
|
6
|
+
onTierChange: any;
|
|
7
|
+
planDescription: any;
|
|
8
|
+
planName: any;
|
|
9
|
+
planPricingData: any;
|
|
10
|
+
statusBadgeLabels?: {
|
|
11
|
+
currentPlan: string;
|
|
12
|
+
mostPopular: string;
|
|
13
|
+
};
|
|
14
|
+
selectLabel?: string;
|
|
15
|
+
statusBadgeType: any;
|
|
16
|
+
className: any;
|
|
17
|
+
}): React.JSX.Element;
|
|
18
|
+
export namespace PricingCard {
|
|
19
|
+
namespace propTypes {
|
|
20
|
+
let actionPrimary: PropTypes.Requireable<PropTypes.InferProps<{
|
|
21
|
+
type: PropTypes.Requireable<string>;
|
|
22
|
+
variant: PropTypes.Requireable<string>;
|
|
23
|
+
label: PropTypes.Requireable<string>;
|
|
24
|
+
buttonAction: PropTypes.Requireable<(...args: any[]) => any>;
|
|
25
|
+
linkUrl: PropTypes.Requireable<string>;
|
|
26
|
+
linkTarget: PropTypes.Requireable<string>;
|
|
27
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
28
|
+
}>>;
|
|
29
|
+
let actionSecondary: PropTypes.Requireable<PropTypes.InferProps<{
|
|
30
|
+
type: PropTypes.Requireable<string>;
|
|
31
|
+
label: PropTypes.Requireable<string>;
|
|
32
|
+
buttonAction: PropTypes.Requireable<(...args: any[]) => any>;
|
|
33
|
+
linkUrl: PropTypes.Requireable<string>;
|
|
34
|
+
linkTarget: PropTypes.Requireable<string>;
|
|
35
|
+
}>>;
|
|
36
|
+
let hasComparisonList: PropTypes.Requireable<boolean>;
|
|
37
|
+
let onTierChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
38
|
+
let planDescription: PropTypes.Requireable<string>;
|
|
39
|
+
let planName: PropTypes.Requireable<string>;
|
|
40
|
+
let planPricingData: PropTypes.Requireable<PropTypes.InferProps<{
|
|
41
|
+
customActionLabel: PropTypes.Requireable<string>;
|
|
42
|
+
label: PropTypes.Requireable<string>;
|
|
43
|
+
price: PropTypes.Requireable<string>;
|
|
44
|
+
priceDetails: PropTypes.Requireable<string>;
|
|
45
|
+
savingsBadgeLabel: PropTypes.Requireable<string>;
|
|
46
|
+
savingsDetails: PropTypes.Requireable<string>;
|
|
47
|
+
listLabel: PropTypes.Requireable<string>;
|
|
48
|
+
listItems: PropTypes.Requireable<PropTypes.InferProps<{
|
|
49
|
+
text: PropTypes.Requireable<string>;
|
|
50
|
+
type: PropTypes.Requireable<string>;
|
|
51
|
+
}>[]>;
|
|
52
|
+
}>[]>;
|
|
53
|
+
let selectLabel: PropTypes.Requireable<string>;
|
|
54
|
+
let statusBadgeLabels: PropTypes.Requireable<PropTypes.InferProps<{
|
|
55
|
+
currentPlan: PropTypes.Requireable<string>;
|
|
56
|
+
mostPopular: PropTypes.Requireable<string>;
|
|
57
|
+
}>>;
|
|
58
|
+
let statusBadgeType: PropTypes.Requireable<string>;
|
|
59
|
+
let className: PropTypes.Requireable<string>;
|
|
60
|
+
let containerClassName: PropTypes.Requireable<string>;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
import React from 'react';
|
|
64
|
+
import PropTypes from 'prop-types';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export function SiteCard({ headingLevel, gotoText, siteImage, siteLink, siteName, sitePlan, siteStatus, className, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
headingLevel?: string;
|
|
4
|
+
gotoText?: string;
|
|
5
|
+
siteImage: any;
|
|
6
|
+
siteLink: any;
|
|
7
|
+
siteName: any;
|
|
8
|
+
sitePlan: any;
|
|
9
|
+
siteStatus: any;
|
|
10
|
+
className: any;
|
|
11
|
+
}): React.JSX.Element;
|
|
12
|
+
export namespace SiteCard {
|
|
13
|
+
namespace propTypes {
|
|
14
|
+
let headingLevel: PropTypes.Requireable<string>;
|
|
15
|
+
let gotoText: PropTypes.Requireable<string>;
|
|
16
|
+
let siteImage: PropTypes.Requireable<string>;
|
|
17
|
+
let siteLink: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
18
|
+
let siteName: PropTypes.Requireable<string>;
|
|
19
|
+
let sitePlan: PropTypes.Requireable<string>;
|
|
20
|
+
let siteStatus: PropTypes.Requireable<string>;
|
|
21
|
+
let className: PropTypes.Requireable<string>;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
import React from 'react';
|
|
25
|
+
import PropTypes from 'prop-types';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export function ExpansionPanel({ children, id, isOpen, summary, className, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
children: any;
|
|
4
|
+
id: any;
|
|
5
|
+
isOpen?: boolean;
|
|
6
|
+
summary: any;
|
|
7
|
+
className: any;
|
|
8
|
+
}): React.JSX.Element;
|
|
9
|
+
export namespace ExpansionPanel {
|
|
10
|
+
namespace propTypes {
|
|
11
|
+
let children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
12
|
+
let id: PropTypes.Requireable<string>;
|
|
13
|
+
let isOpen: PropTypes.Requireable<boolean>;
|
|
14
|
+
let summary: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
15
|
+
let className: PropTypes.Requireable<string>;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
import React from 'react';
|
|
19
|
+
import PropTypes from 'prop-types';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export function ExpansionPanelGroup({ children, displayType, className, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
children: any;
|
|
4
|
+
displayType?: string;
|
|
5
|
+
className: any;
|
|
6
|
+
}): React.JSX.Element;
|
|
7
|
+
export namespace ExpansionPanelGroup {
|
|
8
|
+
namespace propTypes {
|
|
9
|
+
let children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
10
|
+
let displayType: PropTypes.Requireable<string>;
|
|
11
|
+
let className: PropTypes.Requireable<string>;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
import React from 'react';
|
|
15
|
+
import PropTypes from 'prop-types';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export function FooterHeading({ headingLevel, headingText, className, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
headingLevel?: string;
|
|
4
|
+
headingText: any;
|
|
5
|
+
className: any;
|
|
6
|
+
}): React.JSX.Element;
|
|
7
|
+
export namespace FooterHeading {
|
|
8
|
+
namespace propTypes {
|
|
9
|
+
let headingLevel: PropTypes.Requireable<string>;
|
|
10
|
+
let headingText: PropTypes.Validator<string>;
|
|
11
|
+
let className: PropTypes.Requireable<string>;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
import React from 'react';
|
|
15
|
+
import PropTypes from 'prop-types';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export function FooterLinks({ headingLevel, headingText, linkItems, className, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
headingLevel: any;
|
|
4
|
+
headingText: any;
|
|
5
|
+
linkItems: any;
|
|
6
|
+
className: any;
|
|
7
|
+
}): React.JSX.Element;
|
|
8
|
+
export namespace FooterLinks {
|
|
9
|
+
namespace propTypes {
|
|
10
|
+
let headingLevel: PropTypes.Requireable<string>;
|
|
11
|
+
let headingText: PropTypes.Validator<string>;
|
|
12
|
+
let linkItems: PropTypes.Requireable<PropTypes.ReactNodeLike[]>;
|
|
13
|
+
let className: PropTypes.Requireable<string>;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
import React from 'react';
|
|
17
|
+
import PropTypes from 'prop-types';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export function SiteFooter({ containerWidth, children, legalLinks, className, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
containerWidth?: string;
|
|
4
|
+
children: any;
|
|
5
|
+
legalLinks?: string[];
|
|
6
|
+
className: any;
|
|
7
|
+
}): React.JSX.Element;
|
|
8
|
+
export namespace SiteFooter {
|
|
9
|
+
namespace propTypes {
|
|
10
|
+
export { ContainerWidth as containerWidth };
|
|
11
|
+
export let children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
12
|
+
export let legalLinks: PropTypes.Requireable<string[]>;
|
|
13
|
+
export let className: PropTypes.Requireable<string>;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
import React from 'react';
|
|
17
|
+
import { ContainerWidth } from '@libs/components/customPropTypes';
|
|
18
|
+
import PropTypes from 'prop-types';
|