@pantheon-systems/pds-toolkit-react 1.0.0-alpha.7 → 1.0.0-alpha.9
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/_dist/components/Avatar/Avatar.d.ts +2 -2
- package/_dist/components/BranchDiff/BranchDiff.d.ts +2 -2
- package/_dist/components/CTALink/CTALink.d.ts +2 -2
- package/_dist/components/CTASlice/CTASlice.d.ts +2 -2
- package/_dist/components/Callout/Callout.d.ts +1 -1
- package/_dist/components/Callout/sample-callout-content.d.ts +1 -2
- package/_dist/components/CodeBlock/CodeBlock.d.ts +2 -2
- package/_dist/components/ComparisonList/ComparisonList.d.ts +2 -2
- package/_dist/components/DashboardStat/DashboardStat.d.ts +2 -2
- package/_dist/components/FileDiff/FileDiff.d.ts +2 -2
- package/_dist/components/FlowSteps/FlowSteps.d.ts +2 -2
- package/_dist/components/FlowSteps/example-steps.d.ts +3 -4
- package/_dist/components/LinkNewWindow/LinkNewWindow.d.ts +2 -2
- package/_dist/components/Modal/Modal.d.ts +2 -2
- package/_dist/components/Pagination/Pagination.d.ts +2 -2
- package/_dist/components/PantheonLogo/PantheonLogo.d.ts +2 -2
- package/_dist/components/PantheonLogo/pantheon-logo-data.d.ts +3 -4
- package/_dist/components/Picture/Picture.d.ts +2 -2
- package/_dist/components/Popover/Popover.d.ts +2 -2
- package/_dist/components/PullQuote/PullQuote.d.ts +2 -2
- package/_dist/components/RefreshChecker/RefreshChecker.d.ts +2 -2
- package/_dist/components/SiteDashboardHeading/SiteDashboardHeading.d.ts +2 -2
- package/_dist/components/Skiplink/Skiplink.d.ts +2 -2
- package/_dist/components/SocialLinks/SocialLinks.d.ts +2 -2
- package/_dist/components/StatusIndicator/StatusIndicator.d.ts +2 -2
- package/_dist/components/Table/Table.d.ts +2 -2
- package/_dist/components/TableOfContents/TableOfContents.d.ts +2 -2
- package/_dist/components/Tabs/Tabs.d.ts +2 -2
- package/_dist/components/Tag/Tag.d.ts +2 -2
- package/_dist/components/ThemeSwitcher/ThemeSwitcher.d.ts +2 -2
- package/_dist/components/Tooltip/Tooltip.d.ts +2 -2
- package/_dist/components/VideoEmbed/VideoEmbed.d.ts +2 -2
- package/_dist/components/badges/IndicatorBadge/IndicatorBadge.d.ts +2 -2
- package/_dist/components/badges/StatusBadge/StatusBadge.d.ts +2 -2
- package/_dist/components/badges/Tally/Tally.d.ts +2 -2
- package/_dist/components/buttons/ButtonLink/ButtonLink.d.ts +2 -2
- package/_dist/components/buttons/ClipboardButton/ClipboardButton.d.ts +2 -2
- package/_dist/components/buttons/CloseButton/CloseButton.d.ts +2 -2
- package/_dist/components/buttons/MenuButton/MenuButton.d.ts +2 -2
- package/_dist/components/buttons/SegmentedButton/SegmentedButton.d.ts +1 -2
- package/_dist/components/buttons/SplitButton/SplitButton.d.ts +2 -2
- package/_dist/components/buttons/SplitButton/split-button-sample-data.d.ts +1 -2
- package/_dist/components/buttons/UtilityButton/UtilityButton.d.ts +2 -2
- package/_dist/components/cards/Card/Card.d.ts +2 -2
- package/_dist/components/cards/CardHeading/CardHeading.d.ts +1 -2
- package/_dist/components/cards/CardSelectGroup/CardSelectGroup.d.ts +2 -2
- package/_dist/components/cards/EmptyStateCard/EmptyStateCard.d.ts +2 -2
- package/_dist/components/cards/LinksCard/LinksCard.d.ts +2 -2
- package/_dist/components/cards/NewSiteCard/NewSiteCard.d.ts +2 -2
- package/_dist/components/cards/PaymentCard/PaymentCard.d.ts +2 -2
- package/_dist/components/cards/PricingCard/PricingCard.d.ts +2 -2
- package/_dist/components/cards/SiteCard/SiteCard.d.ts +2 -2
- package/_dist/components/empty-states/CompactEmptyState/CompactEmptyState.d.ts +2 -2
- package/_dist/components/empty-states/HorizontalEmptyState/HorizontalEmptyState.d.ts +1 -1
- package/_dist/components/empty-states/VerticalEmptyState/VerticalEmptyState.d.ts +2 -2
- package/_dist/components/footer/FooterHeading/FooterHeading.d.ts +2 -2
- package/_dist/components/footer/FooterLinks/FooterLinks.d.ts +2 -2
- package/_dist/components/footer/SiteFooter/SiteFooter.d.ts +2 -2
- package/_dist/components/footer/SiteFooter/footer-content.d.ts +1 -2
- package/_dist/components/icons/Icon/Icon.d.ts +1 -2
- package/_dist/components/icons/PaymentIcon/PaymentIcon.d.ts +2 -2
- package/_dist/components/icons/PaymentIcon/svgData.d.ts +5 -6
- package/_dist/components/icons/PlatformIcon/PlatformIcon.d.ts +2 -2
- package/_dist/components/inputs/CheckboxFieldset/CheckboxFieldset.d.ts +1 -1
- package/_dist/components/inputs/CheckboxGroup/CheckboxGroup.d.ts +2 -2
- package/_dist/components/inputs/ComboboxMultiselect/ComboboxMultiselect.d.ts +2 -2
- package/_dist/components/inputs/InputGroup/InputGroup.d.ts +2 -2
- package/_dist/components/inputs/RadioGroup/RadioGroup.d.ts +1 -1
- package/_dist/components/inputs/Select/Select.d.ts +3 -3
- package/_dist/components/inputs/input-utilities.d.ts +8 -8
- package/_dist/components/loading-indicators/Skeleton/Skeleton.d.ts +2 -2
- package/_dist/components/loading-indicators/Spinner/Spinner.d.ts +2 -2
- package/_dist/components/navigation/Breadcrumb/Breadcrumb.d.ts +2 -2
- package/_dist/components/navigation/ButtonNav/ButtonNav.d.ts +2 -2
- package/_dist/components/navigation/DashboardNav/DashboardNav.d.ts +2 -2
- package/_dist/components/navigation/DashboardNav/DashboardNavItem.d.ts +1 -2
- package/_dist/components/navigation/DashboardSearch/DashboardSearch.d.ts +2 -2
- package/_dist/components/navigation/DashboardSearch/SiteOptionDisplay.d.ts +2 -2
- package/_dist/components/navigation/DropdownMenu/DropdownMenu.d.ts +2 -2
- package/_dist/components/navigation/NavMenu/NavMenu.d.ts +1 -1
- package/_dist/components/navigation/NavMenu/NavMenuDropdown.d.ts +2 -2
- package/_dist/components/navigation/Navbar/Navbar.d.ts +2 -2
- package/_dist/components/navigation/SideNav/SideNav.d.ts +2 -2
- package/_dist/components/navigation/SideNavCompact/SideNavCompact.d.ts +2 -2
- package/_dist/components/navigation/SideNavGlobal/SideNavGlobal.d.ts +2 -2
- package/_dist/components/navigation/SideNavGlobal/SideNavGlobalItem.d.ts +1 -2
- package/_dist/components/navigation/TabMenu/TabMenu.d.ts +2 -2
- package/_dist/components/navigation/TabMenu/TabMenuDropdown.d.ts +1 -2
- package/_dist/components/navigation/UserMenu/UserMenu.d.ts +2 -2
- package/_dist/components/navigation/WorkspaceSelector/WorkspaceSelector.d.ts +2 -2
- package/_dist/components/navigation/navigation-utilities.d.ts +1 -1
- package/_dist/components/notifications/Banner/Banner.d.ts +1 -1
- package/_dist/components/notifications/InlineMessage/InlineMessage.d.ts +2 -2
- package/_dist/components/notifications/SectionMessage/SectionMessage.d.ts +2 -2
- package/_dist/components/notifications/Toaster/Toast.d.ts +2 -2
- package/_dist/components/notifications/Toaster/Toaster.d.ts +2 -2
- package/_dist/components/panels/ExpansionPanel/ExpansionPanel.d.ts +2 -2
- package/_dist/components/panels/ExpansionPanelGroup/ExpansionPanelGroup.d.ts +2 -2
- package/_dist/components/panels/Panel/Panel.d.ts +2 -2
- package/_dist/components/panels/PanelList/PanelList.d.ts +2 -2
- package/_dist/components/panels/PanelList/PanelRow.d.ts +2 -2
- package/_dist/components/progress-indicators/ProgressBar/ProgressBar.d.ts +2 -2
- package/_dist/components/progress-indicators/ProgressRing/ProgressRing.d.ts +2 -2
- package/_dist/components/steppers/Stepper/Stepper.d.ts +2 -2
- package/_dist/components/steppers/VerticalStepper/VerticalStep.d.ts +2 -2
- package/_dist/components/steppers/VerticalStepper/VerticalStepper.d.ts +2 -2
- package/_dist/components/steppers/VerticalStepper/vertical-stepper-sample-data.d.ts +3 -4
- package/_dist/components/tiles/AvatarTileList/AvatarTileList.d.ts +2 -2
- package/_dist/components/tiles/Tile/Tile.d.ts +2 -2
- package/_dist/components/tiles/TileGrid/TileGrid.d.ts +2 -2
- package/_dist/css/component-css/pds-index.css +1 -1
- package/_dist/css/component-css/pds-table.css +1 -1
- package/_dist/css/pds-components.css +1 -1
- package/_dist/index.css +1 -1
- package/_dist/index.js +6492 -7348
- package/_dist/index.js.map +1 -1
- package/_dist/layouts/AppLayout/AppLayout.d.ts +2 -2
- package/_dist/layouts/Container/Container.d.ts +2 -2
- package/_dist/layouts/DashboardGlobal/DashboardGlobal.d.ts +1 -1
- package/_dist/layouts/DashboardInner/DashboardInner.d.ts +2 -2
- package/_dist/layouts/DocsLayout/DocsLayout.d.ts +2 -2
- package/_dist/layouts/FlexContainer/FlexContainer.d.ts +2 -2
- package/_dist/layouts/GlobalWrapper/GlobalWrapper.d.ts +1 -1
- package/_dist/layouts/SidebarLayout/SidebarLayout.d.ts +2 -2
- package/_dist/layouts/StepperLayout/StepperLayout.d.ts +2 -2
- package/_dist/layouts/ThreeItemLayout/ThreeItemLayout.d.ts +2 -2
- package/_dist/layouts/TwoItemLayout/TwoItemLayout.d.ts +2 -2
- package/_dist/libs/components/sb-docs-toc-layout.d.ts +2 -2
- package/_dist/mocks/data/navigation-items.d.ts +62 -63
- package/_dist/mocks/markup/dashboard-main-content.d.ts +3 -4
- package/_dist/mocks/markup/dashboard-navigation.d.ts +3 -4
- package/_dist/mocks/markup/inputs.d.ts +1 -2
- package/_dist/mocks/markup/modal.d.ts +1 -2
- package/_dist/mocks/markup/panel-row-content.d.ts +5 -6
- package/_dist/utilities/color/color-preview-swatches.d.ts +2 -3
- package/_dist/utilities/context-providers/ResponsiveContext/ResponsiveContext.d.ts +1 -1
- package/package.json +12 -16
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import { HeadingLevelCommon } from '@libs/types/custom-types';
|
|
3
3
|
import './links-card.css';
|
|
4
4
|
/**
|
|
@@ -25,5 +25,5 @@ interface LinksCardProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
25
25
|
/**
|
|
26
26
|
* Links Card UI component
|
|
27
27
|
*/
|
|
28
|
-
export declare const LinksCard: ({ linkItems, headingLevel, headingText, className, ...props }: LinksCardProps) =>
|
|
28
|
+
export declare const LinksCard: ({ linkItems, headingLevel, headingText, className, ...props }: LinksCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
29
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactElement } from 'react';
|
|
2
2
|
import { BadgeColor } from '@libs/types/custom-types';
|
|
3
3
|
import './new-site-card.css';
|
|
4
4
|
interface BadgeValueType {
|
|
@@ -53,5 +53,5 @@ interface NewSiteCardProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
53
53
|
/**
|
|
54
54
|
* NewSiteCard UI component
|
|
55
55
|
*/
|
|
56
|
-
export declare const NewSiteCard: ({ badge, icon, newWindowString, title, subtitle, summary, selectionLink, supplementalLinks, className, ...props }: NewSiteCardProps) =>
|
|
56
|
+
export declare const NewSiteCard: ({ badge, icon, newWindowString, title, subtitle, summary, selectionLink, supplementalLinks, className, ...props }: NewSiteCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
57
57
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import './payment-card.css';
|
|
3
3
|
/**
|
|
4
4
|
* Prop types for PaymentCard
|
|
@@ -44,4 +44,4 @@ export interface PaymentCardProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
44
44
|
/**
|
|
45
45
|
* PaymentCard UI component
|
|
46
46
|
*/
|
|
47
|
-
export declare const PaymentCard: ({ cardType, cardNumber, cardholderName, expDate, cardUsage, detailsLabel, detailsCallback, selectionCallback, className, ...props }: PaymentCardProps) =>
|
|
47
|
+
export declare const PaymentCard: ({ cardType, cardNumber, cardholderName, expDate, cardUsage, detailsLabel, detailsCallback, selectionCallback, className, ...props }: PaymentCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import { ListItems } from '@components/ComparisonList/ComparisonList';
|
|
3
3
|
import './pricing-card.css';
|
|
4
4
|
interface PrimaryCallToAction {
|
|
@@ -86,5 +86,5 @@ interface PricingCardProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
86
86
|
/**
|
|
87
87
|
* PricingCard UI component
|
|
88
88
|
*/
|
|
89
|
-
export declare const PricingCard: ({ actionPrimary, actionSecondary, hasComparisonList, onTierChange, planDescription, planName, planPricingData, statusBadgeLabels, selectLabel, statusBadgeType, className, ...props }: PricingCardProps) =>
|
|
89
|
+
export declare const PricingCard: ({ actionPrimary, actionSecondary, hasComparisonList, onTierChange, planDescription, planName, planPricingData, statusBadgeLabels, selectLabel, statusBadgeType, className, ...props }: PricingCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
90
90
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import { HeadingLevelCommon } from '@libs/types/custom-types';
|
|
3
3
|
import { SiteStatus } from '@libs/types/custom-types';
|
|
4
4
|
import './site-card.css';
|
|
@@ -42,4 +42,4 @@ export interface SiteCardProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
42
42
|
/**
|
|
43
43
|
* SiteCard UI component
|
|
44
44
|
*/
|
|
45
|
-
export declare const SiteCard: ({ gotoText, headingLevel, siteImage, siteLink, siteName, sitePlan, siteStatus, className, ...props }: SiteCardProps) =>
|
|
45
|
+
export declare const SiteCard: ({ gotoText, headingLevel, siteImage, siteLink, siteName, sitePlan, siteStatus, className, ...props }: SiteCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import { PDSIcon } from '@components/icons/Icon/Icon';
|
|
3
3
|
import { HeadingLevelCommon } from '@libs/types/custom-types';
|
|
4
4
|
import './compact-empty-state.css';
|
|
@@ -34,4 +34,4 @@ export interface CompactEmptyStateProps extends ComponentPropsWithoutRef<'div'>
|
|
|
34
34
|
/**
|
|
35
35
|
* CompactEmptyState UI component
|
|
36
36
|
*/
|
|
37
|
-
export declare const CompactEmptyState: ({ iconName, linkContent, message, heading, headingLevel, className, ...props }: CompactEmptyStateProps) =>
|
|
37
|
+
export declare const CompactEmptyState: ({ iconName, linkContent, message, heading, headingLevel, className, ...props }: CompactEmptyStateProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -66,4 +66,4 @@ export interface HorizontalEmptyStateProps extends ComponentPropsWithoutRef<'div
|
|
|
66
66
|
/**
|
|
67
67
|
* HorizontalEmptyState UI component
|
|
68
68
|
*/
|
|
69
|
-
export declare const HorizontalEmptyState: ({ alignment, ctaRegion, image, isWithinPanel, heading, headingLevel, message, video, imageWidth, imageMarginLeft, className, ...props }: HorizontalEmptyStateProps) =>
|
|
69
|
+
export declare const HorizontalEmptyState: ({ alignment, ctaRegion, image, isWithinPanel, heading, headingLevel, message, video, imageWidth, imageMarginLeft, className, ...props }: HorizontalEmptyStateProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import { HeadingLevel } from '@libs/types/custom-types';
|
|
3
3
|
import './vertical-empty-state.css';
|
|
4
4
|
/**
|
|
@@ -44,4 +44,4 @@ export interface VerticalEmptyStateProps extends ComponentPropsWithoutRef<'div'>
|
|
|
44
44
|
/**
|
|
45
45
|
* VerticalEmptyState UI component
|
|
46
46
|
*/
|
|
47
|
-
export declare const VerticalEmptyState: ({ ctaRegion, image, imageHeight, imageWidth, heading, headingLevel, message, className, ...props }: VerticalEmptyStateProps) =>
|
|
47
|
+
export declare const VerticalEmptyState: ({ ctaRegion, image, imageHeight, imageWidth, heading, headingLevel, message, className, ...props }: VerticalEmptyStateProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import './footer-heading.css';
|
|
3
3
|
import type { HeadingLevelCommon } from '@libs/types/custom-types';
|
|
4
4
|
interface FooterHeadingProps {
|
|
@@ -18,5 +18,5 @@ interface FooterHeadingProps {
|
|
|
18
18
|
/**
|
|
19
19
|
* Footer Heading UI component
|
|
20
20
|
*/
|
|
21
|
-
export declare const FooterHeading: ({ headingLevel, headingText, className, ...props }: FooterHeadingProps & ComponentPropsWithoutRef<HeadingLevelCommon>) =>
|
|
21
|
+
export declare const FooterHeading: ({ headingLevel, headingText, className, ...props }: FooterHeadingProps & ComponentPropsWithoutRef<HeadingLevelCommon>) => import("react/jsx-runtime").JSX.Element;
|
|
22
22
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import './footer-links.css';
|
|
3
3
|
import type { HeadingLevelCommon } from '@libs/types/custom-types';
|
|
4
4
|
interface FooterLinksProps extends ComponentPropsWithoutRef<'div'> {
|
|
@@ -22,5 +22,5 @@ interface FooterLinksProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
22
22
|
/**
|
|
23
23
|
* Footer Links UI component
|
|
24
24
|
*/
|
|
25
|
-
export declare const FooterLinks: ({ headingLevel, headingText, linkItems, className, ...props }: FooterLinksProps) =>
|
|
25
|
+
export declare const FooterLinks: ({ headingLevel, headingText, linkItems, className, ...props }: FooterLinksProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
26
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import { ContainerWidth } from '@libs/types/custom-types';
|
|
3
3
|
import './site-footer.css';
|
|
4
4
|
interface SiteFooterProps extends ComponentPropsWithoutRef<'footer'> {
|
|
@@ -26,5 +26,5 @@ interface SiteFooterProps extends ComponentPropsWithoutRef<'footer'> {
|
|
|
26
26
|
/**
|
|
27
27
|
* SiteFooter UI component
|
|
28
28
|
*/
|
|
29
|
-
export declare const SiteFooter: ({ containerWidth, children, hasTopBorder, legalLinks, className, ...props }: SiteFooterProps) =>
|
|
29
|
+
export declare const SiteFooter: ({ containerWidth, children, hasTopBorder, legalLinks, className, ...props }: SiteFooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
30
|
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const docsFooterContent: React.JSX.Element;
|
|
1
|
+
export declare const docsFooterContent: import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { Display } from '@libs/types/custom-types';
|
|
3
2
|
/**
|
|
4
3
|
* PDS Icon type.
|
|
@@ -33,7 +32,7 @@ export interface IconProps {
|
|
|
33
32
|
/**
|
|
34
33
|
* A component used to display an icon
|
|
35
34
|
*/
|
|
36
|
-
export declare const Icon: ({ display, iconName, iconSize, verticalAlign, className, ...props }: IconProps) =>
|
|
35
|
+
export declare const Icon: ({ display, iconName, iconSize, verticalAlign, className, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
37
36
|
declare const svgData: {
|
|
38
37
|
readonly angleDown: {
|
|
39
38
|
readonly path: "M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import './payment-icon.css';
|
|
3
3
|
type PaymentType = 'visa' | 'mastercard' | 'amex' | 'discover' | 'generic';
|
|
4
4
|
/**
|
|
@@ -17,5 +17,5 @@ export interface PaymentIconProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
17
17
|
/**
|
|
18
18
|
* PaymentIcon UI component
|
|
19
19
|
*/
|
|
20
|
-
export declare const PaymentIcon: ({ paymentType, className, ...props }: PaymentIconProps) =>
|
|
20
|
+
export declare const PaymentIcon: ({ paymentType, className, ...props }: PaymentIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
export {};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export declare const svgData: {
|
|
3
|
-
amex:
|
|
4
|
-
discover:
|
|
5
|
-
generic:
|
|
6
|
-
mastercard:
|
|
7
|
-
visa:
|
|
2
|
+
amex: import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
discover: import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
generic: import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
mastercard: import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
visa: import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import './platform-icon.css';
|
|
3
3
|
type PlatformType = 'drupal' | 'drupal7' | 'front-end-sites' | 'gatsby' | 'gatsby-wp' | 'import-custom' | 'next' | 'next-drupal' | 'next-wp' | 'wordpress';
|
|
4
4
|
interface PlatformIconProps extends ComponentPropsWithoutRef<'div'> {
|
|
@@ -8,5 +8,5 @@ interface PlatformIconProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
8
8
|
/**
|
|
9
9
|
* PlatformIcon UI component
|
|
10
10
|
*/
|
|
11
|
-
export declare const PlatformIcon: ({ platformType, className, ...props }: PlatformIconProps) =>
|
|
11
|
+
export declare const PlatformIcon: ({ platformType, className, ...props }: PlatformIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -61,4 +61,4 @@ export interface CheckboxGroupWrapperProps extends ComponentPropsWithoutRef<'div
|
|
|
61
61
|
/**
|
|
62
62
|
* CheckboxFieldset UI component
|
|
63
63
|
*/
|
|
64
|
-
export declare const CheckboxFieldset: ({ children, disabled, fieldsetProps, id, inputWidth, label, message, required, showLabel, tooltipText, validationMessage, validationStatus, className, ...props }: CheckboxGroupWrapperProps) =>
|
|
64
|
+
export declare const CheckboxFieldset: ({ children, disabled, fieldsetProps, id, inputWidth, label, message, required, showLabel, tooltipText, validationMessage, validationStatus, className, ...props }: CheckboxGroupWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import { ValidationStatus } from '../input-types';
|
|
3
3
|
import './checkbox-group.css';
|
|
4
4
|
export type CheckboxOption = {
|
|
@@ -77,4 +77,4 @@ export interface CheckboxGroupProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
77
77
|
/**
|
|
78
78
|
* CheckboxGroup UI component
|
|
79
79
|
*/
|
|
80
|
-
export declare const CheckboxGroup: ({ disabled, fieldsetProps, id, inputWidth, label, message, onGroupBlur, onValueChange, options, required, showLabel, tooltipText, validationMessage, validationStatus, className, ...props }: CheckboxGroupProps) =>
|
|
80
|
+
export declare const CheckboxGroup: ({ disabled, fieldsetProps, id, inputWidth, label, message, onGroupBlur, onValueChange, options, required, showLabel, tooltipText, validationMessage, validationStatus, className, ...props }: CheckboxGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import './combobox-multiselect.css';
|
|
3
3
|
type LabelStrings = {
|
|
4
4
|
inputInstructions?: string;
|
|
@@ -79,5 +79,5 @@ export declare const getFilteredOptions: (options: OptionProps[], selectedItems:
|
|
|
79
79
|
/**
|
|
80
80
|
* ComboboxMultiselect UI component
|
|
81
81
|
*/
|
|
82
|
-
export declare const ComboboxMultiselect: ({ disabled, id, initialSelectedItems, inputWidth, isLoading, label, labelStrings, loadingText, noResultsText, onChange, options, placeholder, required, showLabel, className, ...props }: ComboboxMultiselectProps) =>
|
|
82
|
+
export declare const ComboboxMultiselect: ({ disabled, id, initialSelectedItems, inputWidth, isLoading, label, labelStrings, loadingText, noResultsText, onChange, options, placeholder, required, showLabel, className, ...props }: ComboboxMultiselectProps) => import("react/jsx-runtime").JSX.Element;
|
|
83
83
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import './input-group.css';
|
|
3
3
|
/**
|
|
4
4
|
* Prop types for InputGroup
|
|
@@ -16,4 +16,4 @@ export interface InputGroupProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
16
16
|
/**
|
|
17
17
|
* InputGroup UI component
|
|
18
18
|
*/
|
|
19
|
-
export declare const InputGroup: ({ children, className, ...props }: InputGroupProps) =>
|
|
19
|
+
export declare const InputGroup: ({ children, className, ...props }: InputGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -101,4 +101,4 @@ export interface RadioGroupProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
101
101
|
/**
|
|
102
102
|
* RadioGroup UI component
|
|
103
103
|
*/
|
|
104
|
-
export declare const RadioGroup: ({ defaultValue, disabled, fieldsetProps, id, inputWidth, label, message, onBlur, onChange, onValueChange, options, required, showLabel, tooltipText, validationMessage, validationStatus, value, className, ...props }: RadioGroupProps) =>
|
|
104
|
+
export declare const RadioGroup: ({ defaultValue, disabled, fieldsetProps, id, inputWidth, label, message, onBlur, onChange, onValueChange, options, required, showLabel, tooltipText, validationMessage, validationStatus, value, className, ...props }: RadioGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import { ValidationStatus } from '../input-types';
|
|
3
3
|
import './select.css';
|
|
4
4
|
type LabelStrings = {
|
|
@@ -114,9 +114,9 @@ export interface SelectProps {
|
|
|
114
114
|
/**
|
|
115
115
|
* SelectOptionGroup component
|
|
116
116
|
*/
|
|
117
|
-
export declare const SelectOptionGroup: ({ label, children, }: SelectOptionGroupProps) =>
|
|
117
|
+
export declare const SelectOptionGroup: ({ label, children, }: SelectOptionGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
118
118
|
/**
|
|
119
119
|
* Select UI component
|
|
120
120
|
*/
|
|
121
|
-
export declare const Select: ({ defaultValue, disabled, id, inputWidth, label, labelStrings, message, onBlur, onFocus, onOptionSelect, options, required, showLabel, tooltipText, validationMessage, validationStatus, value, className, ...props }: SelectProps) =>
|
|
121
|
+
export declare const Select: ({ defaultValue, disabled, id, inputWidth, label, labelStrings, message, onBlur, onFocus, onOptionSelect, options, required, showLabel, tooltipText, validationMessage, validationStatus, value, className, ...props }: SelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
122
122
|
export {};
|
|
@@ -13,7 +13,7 @@ export declare const getInputWidthStyle: (inputWidth: number) => {
|
|
|
13
13
|
width: string;
|
|
14
14
|
};
|
|
15
15
|
export declare const stripUrlProtocol: (value: string) => string;
|
|
16
|
-
export declare const RequiredIcon: () =>
|
|
16
|
+
export declare const RequiredIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
interface InputLabelProps {
|
|
18
18
|
/**
|
|
19
19
|
* Input ID.
|
|
@@ -53,7 +53,7 @@ interface InputLabelProps {
|
|
|
53
53
|
*/
|
|
54
54
|
className?: string;
|
|
55
55
|
}
|
|
56
|
-
export declare const InputLabel: ({ id, label, showLabel, required, disabled, isLegend, isPseudoLabel, tooltipText, className, }: InputLabelProps) =>
|
|
56
|
+
export declare const InputLabel: ({ id, label, showLabel, required, disabled, isLegend, isPseudoLabel, tooltipText, className, }: InputLabelProps) => import("react/jsx-runtime").JSX.Element;
|
|
57
57
|
export declare const InputMessage: ({ forInputGroup, id, message, hasValidationMessage, validationMessageHasDecorators, validationStatus, className, }: {
|
|
58
58
|
forInputGroup?: boolean;
|
|
59
59
|
id: string;
|
|
@@ -62,30 +62,30 @@ export declare const InputMessage: ({ forInputGroup, id, message, hasValidationM
|
|
|
62
62
|
validationMessageHasDecorators?: boolean;
|
|
63
63
|
validationStatus?: string;
|
|
64
64
|
className?: string;
|
|
65
|
-
}) =>
|
|
65
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
66
66
|
type DecoratorVariants = 'search' | 'error' | 'success' | 'filter';
|
|
67
67
|
export declare const InputDecorator: ({ variant }: {
|
|
68
68
|
variant: DecoratorVariants;
|
|
69
|
-
}) =>
|
|
69
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
70
70
|
export declare const SearchShortcut: ({ inputId, shortcutLabel, }: {
|
|
71
71
|
inputId: string;
|
|
72
72
|
shortcutLabel: string;
|
|
73
|
-
}) =>
|
|
73
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
74
74
|
export declare const ClearButton: ({ id, clearLabel, handleClearInput, }: {
|
|
75
75
|
id: string;
|
|
76
76
|
clearLabel: string;
|
|
77
77
|
handleClearInput: MouseEventHandler<HTMLButtonElement>;
|
|
78
|
-
}) =>
|
|
78
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
79
79
|
export declare const CharacterCounter: ({ id, currentLength, maxLength, overLimitMessage, }: {
|
|
80
80
|
id: string;
|
|
81
81
|
currentLength: number;
|
|
82
82
|
maxLength: number;
|
|
83
83
|
overLimitMessage: string;
|
|
84
|
-
}) =>
|
|
84
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
85
85
|
export declare const HiddenLabel: ({ label, ...props }: {
|
|
86
86
|
[x: string]: any;
|
|
87
87
|
label: any;
|
|
88
|
-
}) =>
|
|
88
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
89
89
|
export declare const isOptionGroup: (option: SelectOptionType | SelectOptionGroupType) => option is SelectOptionGroupType;
|
|
90
90
|
interface SelectOptionProps extends ComponentPropsWithoutRef<'li'> {
|
|
91
91
|
children?: ReactNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import { SpacingScaleOptions, TypeScaleOptions } from '@libs/types/custom-types';
|
|
3
3
|
import './skeleton.css';
|
|
4
4
|
/**
|
|
@@ -59,4 +59,4 @@ export interface SkeletonProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
59
59
|
/**
|
|
60
60
|
* Skeleton UI component
|
|
61
61
|
*/
|
|
62
|
-
export declare const Skeleton: ({ colorType, isAnimated, shape, size, textIsJustified, textLineCount, textSize, className, ...props }: SkeletonProps) =>
|
|
62
|
+
export declare const Skeleton: ({ colorType, isAnimated, shape, size, textIsJustified, textLineCount, textSize, className, ...props }: SkeletonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import './spinner.css';
|
|
3
3
|
export interface SpinnerProps extends ComponentPropsWithoutRef<'span'> {
|
|
4
4
|
/**
|
|
@@ -29,4 +29,4 @@ export interface SpinnerProps extends ComponentPropsWithoutRef<'span'> {
|
|
|
29
29
|
/**
|
|
30
30
|
* Spinner UI component
|
|
31
31
|
*/
|
|
32
|
-
export declare const Spinner: ({ colorType, isInline, label, showLabel, size, className, ...props }: SpinnerProps) =>
|
|
32
|
+
export declare const Spinner: ({ colorType, isInline, label, showLabel, size, className, ...props }: SpinnerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactElement } from 'react';
|
|
2
2
|
import './breadcrumb.css';
|
|
3
3
|
/**
|
|
4
4
|
* Prop types for Breadcrumb
|
|
@@ -20,4 +20,4 @@ export interface BreadcrumbProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
20
20
|
/**
|
|
21
21
|
* Breadcrumb UI component
|
|
22
22
|
*/
|
|
23
|
-
export declare const Breadcrumb: ({ ariaLabel, crumbs, className, ...props }: BreadcrumbProps) =>
|
|
23
|
+
export declare const Breadcrumb: ({ ariaLabel, crumbs, className, ...props }: BreadcrumbProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithRef } from 'react';
|
|
2
2
|
import { NavigationItem } from '@components/navigation/navigation-types';
|
|
3
3
|
import './button-nav.css';
|
|
4
4
|
export type ButtonNavItem = Omit<NavigationItem, 'links'>;
|
|
@@ -26,4 +26,4 @@ export interface ButtonNavProps extends ComponentPropsWithRef<'nav'> {
|
|
|
26
26
|
/**
|
|
27
27
|
* ButtonNav UI component
|
|
28
28
|
*/
|
|
29
|
-
export declare const ButtonNav: ({ ariaLabel, menuItems, size, className, ...props }: ButtonNavProps) =>
|
|
29
|
+
export declare const ButtonNav: ({ ariaLabel, menuItems, size, className, ...props }: ButtonNavProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import { DashboardNavItemProps } from './DashboardNavItem';
|
|
3
3
|
import './dashboard-nav.css';
|
|
4
4
|
/**
|
|
@@ -32,4 +32,4 @@ export interface DashboardNavProps extends ComponentPropsWithoutRef<'nav'> {
|
|
|
32
32
|
/**
|
|
33
33
|
* DashboardNav UI component
|
|
34
34
|
*/
|
|
35
|
-
export declare const DashboardNav: ({ ariaLabel, labels, menuItems, mobileMenuSelectTextFallback, className, ...props }: DashboardNavProps) =>
|
|
35
|
+
export declare const DashboardNav: ({ ariaLabel, labels, menuItems, mobileMenuSelectTextFallback, className, ...props }: DashboardNavProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { NavigationItem } from '@components/navigation/navigation-types';
|
|
3
2
|
import { PDSIcon } from '@components/icons/Icon/Icon';
|
|
4
3
|
import './dashboard-nav.css';
|
|
@@ -22,4 +21,4 @@ export type DashboardNavItemProps = NavigationItem & {
|
|
|
22
21
|
/**
|
|
23
22
|
* DashboardNavItem UI component
|
|
24
23
|
*/
|
|
25
|
-
export declare const DashboardNavItem: ({ icon, isActive, isSidebarExpanded, labels, linkContent, links, }: DashboardNavItemProps) =>
|
|
24
|
+
export declare const DashboardNavItem: ({ icon, isActive, isSidebarExpanded, labels, linkContent, links, }: DashboardNavItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import { SiteOption } from './SiteOptionDisplay';
|
|
3
3
|
import './dashboard-search.css';
|
|
4
4
|
type LabelStrings = {
|
|
@@ -66,5 +66,5 @@ export interface DashboardSearchProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
66
66
|
/**
|
|
67
67
|
* DashboardSearch UI component
|
|
68
68
|
*/
|
|
69
|
-
export declare const DashboardSearch: ({ disabled, id, isLoading, label, labelStrings, loadingText, noResultsText, onFocus, onOptionSelect, placeholder, siteList, horizontalOffset, className, ...props }: DashboardSearchProps) =>
|
|
69
|
+
export declare const DashboardSearch: ({ disabled, id, isLoading, label, labelStrings, loadingText, noResultsText, onFocus, onOptionSelect, placeholder, siteList, horizontalOffset, className, ...props }: DashboardSearchProps) => import("react/jsx-runtime").JSX.Element;
|
|
70
70
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import { SiteStatus, SiteType } from '@libs/types/custom-types';
|
|
3
3
|
export type SiteOption = {
|
|
4
4
|
/**
|
|
@@ -36,4 +36,4 @@ export interface SiteOptionDisplayProps extends ComponentPropsWithoutRef<'div'>
|
|
|
36
36
|
/**
|
|
37
37
|
* UI component to display site options.
|
|
38
38
|
*/
|
|
39
|
-
export declare const SiteOptionDisplay: ({ option, className, ...props }: SiteOptionDisplayProps) =>
|
|
39
|
+
export declare const SiteOptionDisplay: ({ option, className, ...props }: SiteOptionDisplayProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactElement } from 'react';
|
|
2
2
|
import { NavigationItem } from '@components/navigation/navigation-types';
|
|
3
3
|
import './dropdown-menu.css';
|
|
4
4
|
/**
|
|
@@ -25,4 +25,4 @@ export interface DropdownMenuProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
25
25
|
/**
|
|
26
26
|
* DropdownMenu UI component
|
|
27
27
|
*/
|
|
28
|
-
export declare const DropdownMenu: ({ headingText, menuItems, selectTextFallback, className, ...props }: DropdownMenuProps) =>
|
|
28
|
+
export declare const DropdownMenu: ({ headingText, menuItems, selectTextFallback, className, ...props }: DropdownMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -39,5 +39,5 @@ interface NavMenuProps extends ComponentPropsWithoutRef<'nav'> {
|
|
|
39
39
|
/**
|
|
40
40
|
* NavMenu UI component
|
|
41
41
|
*/
|
|
42
|
-
export declare const NavMenu: ({ ariaLabel, colorType, menuItems, mobileMenuMaxWidth, className, ...props }: NavMenuProps) =>
|
|
42
|
+
export declare const NavMenu: ({ ariaLabel, colorType, menuItems, mobileMenuMaxWidth, className, ...props }: NavMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
43
43
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import { MenuItem } from './NavMenu';
|
|
3
3
|
/**
|
|
4
4
|
* Prop types for NavMenuDropdown
|
|
@@ -20,5 +20,5 @@ interface NavMenuDropdownProps extends ComponentPropsWithoutRef<'button'> {
|
|
|
20
20
|
/**
|
|
21
21
|
* NavMenuDropdown UI component
|
|
22
22
|
*/
|
|
23
|
-
export declare const NavMenuDropdown: ({ items, label, mobileMenuMaxWidth, }: NavMenuDropdownProps) =>
|
|
23
|
+
export declare const NavMenuDropdown: ({ items, label, mobileMenuMaxWidth, }: NavMenuDropdownProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import { PantheonLogoDisplayType } from '@components/PantheonLogo/PantheonLogo';
|
|
3
3
|
import { ContainerWidth } from '@libs/types/custom-types';
|
|
4
4
|
import './navbar.css';
|
|
@@ -57,4 +57,4 @@ export interface NavbarProps extends ComponentPropsWithoutRef<'header'> {
|
|
|
57
57
|
/**
|
|
58
58
|
* Navbar UI component
|
|
59
59
|
*/
|
|
60
|
-
export declare const Navbar: ({ children, colorType, containerWidth, hideBorder, hideLogo, logoDisplayType, logoLinkContent, logoSrc, logoSubBrand, translationStrings, className, ...props }: NavbarProps) =>
|
|
60
|
+
export declare const Navbar: ({ children, colorType, containerWidth, hideBorder, hideLogo, logoDisplayType, logoLinkContent, logoSrc, logoSubBrand, translationStrings, className, ...props }: NavbarProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactElement } from 'react';
|
|
2
2
|
import { NavigationItem } from '@components/navigation/navigation-types';
|
|
3
3
|
import './side-nav.css';
|
|
4
4
|
/**
|
|
@@ -36,4 +36,4 @@ export interface SideNavProps extends ComponentPropsWithoutRef<'nav'> {
|
|
|
36
36
|
/**
|
|
37
37
|
* SideNav UI component
|
|
38
38
|
*/
|
|
39
|
-
export declare const SideNav: ({ ariaLabel, headingText, labels, menuItems, mobileMenuSelectTextFallback, className, ...props }: SideNavProps) =>
|
|
39
|
+
export declare const SideNav: ({ ariaLabel, headingText, labels, menuItems, mobileMenuSelectTextFallback, className, ...props }: SideNavProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactElement } from 'react';
|
|
2
2
|
import { NavigationItem } from '@components/navigation/navigation-types';
|
|
3
3
|
import './side-nav-compact.css';
|
|
4
4
|
export type SideNavCompactItem = NavigationItem & {
|
|
@@ -50,4 +50,4 @@ export interface SideNavCompactProps extends ComponentPropsWithoutRef<'nav'> {
|
|
|
50
50
|
/**
|
|
51
51
|
* SideNavCompact UI component
|
|
52
52
|
*/
|
|
53
|
-
export declare const SideNavCompact: ({ ariaLabel, hasMobileMenu, headingText, labels, menuItems, mobileMenuMaxWidth, mobileMenuSelectTextFallback, className, ...props }: SideNavCompactProps) =>
|
|
53
|
+
export declare const SideNavCompact: ({ ariaLabel, hasMobileMenu, headingText, labels, menuItems, mobileMenuMaxWidth, mobileMenuSelectTextFallback, className, ...props }: SideNavCompactProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import { SideNavGlobalItemProps } from './SideNavGlobalItem';
|
|
3
3
|
import './side-nav-global.css';
|
|
4
4
|
/**
|
|
@@ -47,4 +47,4 @@ export interface SideNavGlobalProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
47
47
|
/**
|
|
48
48
|
* SideNavGlobal UI component
|
|
49
49
|
*/
|
|
50
|
-
export declare const SideNavGlobal: ({ ariaLabel, hasLogo, isSidebarCollapsed, labels, logoLinkContent, menuItems, mobileMenuSelectTextFallback, className, ...props }: SideNavGlobalProps) =>
|
|
50
|
+
export declare const SideNavGlobal: ({ ariaLabel, hasLogo, isSidebarCollapsed, labels, logoLinkContent, menuItems, mobileMenuSelectTextFallback, className, ...props }: SideNavGlobalProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { NavigationItem } from '@components/navigation/navigation-types';
|
|
3
2
|
import { PDSIcon } from '@components/icons/Icon/Icon';
|
|
4
3
|
import './side-nav-global.css';
|
|
@@ -22,4 +21,4 @@ export type SideNavGlobalItemProps = NavigationItem & {
|
|
|
22
21
|
/**
|
|
23
22
|
* SideNavGlobalItem UI component
|
|
24
23
|
*/
|
|
25
|
-
export declare const SideNavGlobalItem: ({ icon, isActive, isSidebarCollapsed, labels, linkContent, links, }: SideNavGlobalItemProps) =>
|
|
24
|
+
export declare const SideNavGlobalItem: ({ icon, isActive, isSidebarCollapsed, labels, linkContent, links, }: SideNavGlobalItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import { PDSIcon } from '@components/icons/Icon/Icon';
|
|
3
3
|
import { TabMenuDropdownProps } from './TabMenuDropdown';
|
|
4
4
|
import { NavigationItem } from '@components/navigation/navigation-types';
|
|
@@ -39,5 +39,5 @@ export interface TabMenuProps extends ComponentPropsWithoutRef<'nav'> {
|
|
|
39
39
|
/**
|
|
40
40
|
* TabMenu UI component.
|
|
41
41
|
*/
|
|
42
|
-
export declare const TabMenu: ({ ariaLabel, menuItems, className, ...props }: TabMenuProps) =>
|
|
42
|
+
export declare const TabMenu: ({ ariaLabel, menuItems, className, ...props }: TabMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
43
43
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { NavigationItem } from '@components/navigation/navigation-types';
|
|
3
2
|
import './tab-menu.css';
|
|
4
3
|
export type TabMenuDropdownProps = {
|
|
@@ -30,4 +29,4 @@ export type TabMenuDropdownProps = {
|
|
|
30
29
|
/**
|
|
31
30
|
* TabMenuDropdown UI component
|
|
32
31
|
*/
|
|
33
|
-
export declare const TabMenuDropdown: ({ buttonLabel, filterLabel, filterPlaceholder, links, minFilterItems, noResultsText, }: TabMenuDropdownProps) =>
|
|
32
|
+
export declare const TabMenuDropdown: ({ buttonLabel, filterLabel, filterPlaceholder, links, minFilterItems, noResultsText, }: TabMenuDropdownProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import { PDSIcon } from '@components/icons/Icon/Icon';
|
|
3
3
|
import './user-menu.css';
|
|
4
4
|
/**
|
|
@@ -66,4 +66,4 @@ export interface UserMenuProps extends ComponentPropsWithoutRef<'span'> {
|
|
|
66
66
|
/**
|
|
67
67
|
* UserMenu UI component
|
|
68
68
|
*/
|
|
69
|
-
export declare const UserMenu: ({ ariaLabel, menuItems, userEmail, userImageSrc, userName, withinNavbar, className, ...props }: UserMenuProps) =>
|
|
69
|
+
export declare const UserMenu: ({ ariaLabel, menuItems, userEmail, userImageSrc, userName, withinNavbar, className, ...props }: UserMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactElement, ReactNode } from 'react';
|
|
2
2
|
import './workspace-selector.css';
|
|
3
3
|
declare const tierLabels: {
|
|
4
4
|
silver: string;
|
|
@@ -85,5 +85,5 @@ export interface WorkspaceSelectorProps extends ComponentPropsWithoutRef<'span'>
|
|
|
85
85
|
/**
|
|
86
86
|
* WorkspaceSelector UI component
|
|
87
87
|
*/
|
|
88
|
-
export declare const WorkspaceSelector: ({ ariaLabel, createWorkspaceLink, filterPlaceholder, filterLabel, menuHeading, minFilterItems, noResultsText, withinNavbar, workspaceList, className, ...props }: WorkspaceSelectorProps) =>
|
|
88
|
+
export declare const WorkspaceSelector: ({ ariaLabel, createWorkspaceLink, filterPlaceholder, filterLabel, menuHeading, minFilterItems, noResultsText, withinNavbar, workspaceList, className, ...props }: WorkspaceSelectorProps) => import("react/jsx-runtime").JSX.Element;
|
|
89
89
|
export {};
|
|
@@ -87,4 +87,4 @@ export declare const processNavLinkContent: (linkContent: ReactElement | string,
|
|
|
87
87
|
* // React element with icon
|
|
88
88
|
* const item = processSideNavGlobalLinkContent('nav', <Link to="/about">About</Link>, null, 'info');
|
|
89
89
|
*/
|
|
90
|
-
export declare const processSideNavGlobalLinkContent: (baseClass: string, linkContent: ReactElement | string, links?: NavigationItem[], icon?: PDSIcon) => React.ReactElement<
|
|
90
|
+
export declare const processSideNavGlobalLinkContent: (baseClass: string, linkContent: ReactElement | string, links?: NavigationItem[], icon?: PDSIcon) => React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
@@ -43,5 +43,5 @@ export interface BannerProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
43
43
|
/**
|
|
44
44
|
* Banner UI component
|
|
45
45
|
*/
|
|
46
|
-
export declare const Banner: ({ banners, dismissLabel, labelNext, labelPrevious, typeLabels, className, ...props }: BannerProps) =>
|
|
46
|
+
export declare const Banner: ({ banners, dismissLabel, labelNext, labelPrevious, typeLabels, className, ...props }: BannerProps) => import("react/jsx-runtime").JSX.Element;
|
|
47
47
|
export {};
|