@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 './avatar.css';
|
|
3
3
|
export interface AvatarProps extends ComponentPropsWithoutRef<'div'> {
|
|
4
4
|
/**
|
|
@@ -33,4 +33,4 @@ export interface AvatarProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
33
33
|
/**
|
|
34
34
|
* Avatar UI component
|
|
35
35
|
*/
|
|
36
|
-
export declare const Avatar: ({ ariaLabel, hasUserFallback, imageSrc, linkContent, size, uniqueId, className, ...props }: AvatarProps) =>
|
|
36
|
+
export declare const Avatar: ({ ariaLabel, hasUserFallback, imageSrc, linkContent, size, uniqueId, className, ...props }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import './branch-diff.css';
|
|
3
3
|
/**
|
|
4
4
|
* Prop types for BranchDiff
|
|
@@ -40,4 +40,4 @@ export interface BranchDiffProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
40
40
|
/**
|
|
41
41
|
* BranchDiff UI component
|
|
42
42
|
*/
|
|
43
|
-
export declare const BranchDiff: ({ isLoading, loadingText, numberAhead, numberAheadDescription, numberBehind, numberBehindDescription, componentWidth, className, ...props }: BranchDiffProps) =>
|
|
43
|
+
export declare const BranchDiff: ({ isLoading, loadingText, numberAhead, numberAheadDescription, numberBehind, numberBehindDescription, componentWidth, className, ...props }: BranchDiffProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import './cta-link.css';
|
|
3
3
|
export interface CTALinkProps extends ComponentPropsWithoutRef<'div'> {
|
|
4
4
|
/**
|
|
@@ -17,4 +17,4 @@ export interface CTALinkProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
17
17
|
/**
|
|
18
18
|
* CTA Link UI component
|
|
19
19
|
*/
|
|
20
|
-
export declare const CTALink: ({ linkContent, size, className, ...props }: CTALinkProps) =>
|
|
20
|
+
export declare const CTALink: ({ linkContent, size, className, ...props }: CTALinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import { ContainerWidth, HeadingLevel } from '@libs/types/custom-types';
|
|
3
3
|
import './../buttons/Button/button.css';
|
|
4
4
|
import './cta-slice.css';
|
|
@@ -39,5 +39,5 @@ interface CTASliceProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
39
39
|
/**
|
|
40
40
|
* CTA Slice UI component
|
|
41
41
|
*/
|
|
42
|
-
export declare const CTASlice: ({ backgroundColor, containerWidth, headingLevel, headingText, leadText, primaryLinkContent, secondaryLinkContent, className, ...props }: CTASliceProps) =>
|
|
42
|
+
export declare const CTASlice: ({ backgroundColor, containerWidth, headingLevel, headingText, leadText, primaryLinkContent, secondaryLinkContent, className, ...props }: CTASliceProps) => import("react/jsx-runtime").JSX.Element;
|
|
43
43
|
export {};
|
|
@@ -27,5 +27,5 @@ export interface CalloutProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
27
27
|
/**
|
|
28
28
|
* Callout UI component
|
|
29
29
|
*/
|
|
30
|
-
export declare const Callout: ({ children, title, type, typeLabels, className, ...props }: CalloutProps) =>
|
|
30
|
+
export declare const Callout: ({ children, title, type, typeLabels, className, ...props }: CalloutProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
31
|
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const infoCalloutSample: React.JSX.Element;
|
|
1
|
+
export declare const infoCalloutSample: import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import 'prismjs/components/prism-bash';
|
|
3
3
|
import 'prismjs/components/prism-diff';
|
|
4
4
|
import './code-block.css';
|
|
@@ -81,5 +81,5 @@ export interface CodeBlockProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
81
81
|
/**
|
|
82
82
|
* CodeBlock UI component
|
|
83
83
|
*/
|
|
84
|
-
export declare const CodeBlock: ({ code, colorType, copyButtonLabel, hasCopyButton, hasLineNumbers, hasPrompt, height, isLoading, language, loadingLineCount, maxHeight, promptSymbol, renderAsLegacy, shouldWrap, className, ...props }: CodeBlockProps) =>
|
|
84
|
+
export declare const CodeBlock: ({ code, colorType, copyButtonLabel, hasCopyButton, hasLineNumbers, hasPrompt, height, isLoading, language, loadingLineCount, maxHeight, promptSymbol, renderAsLegacy, shouldWrap, className, ...props }: CodeBlockProps) => import("react/jsx-runtime").JSX.Element;
|
|
85
85
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import './comparison-list.css';
|
|
3
3
|
interface TypeLabels {
|
|
4
4
|
included: string;
|
|
@@ -38,5 +38,5 @@ export interface ComparisonListProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
38
38
|
/**
|
|
39
39
|
* ComparisonList UI component
|
|
40
40
|
*/
|
|
41
|
-
export declare const ComparisonList: ({ listItems, listLabel, moreLink, renderTypeLabels, typeLabels, className, ...props }: ComparisonListProps) =>
|
|
41
|
+
export declare const ComparisonList: ({ listItems, listLabel, moreLink, renderTypeLabels, typeLabels, className, ...props }: ComparisonListProps) => import("react/jsx-runtime").JSX.Element;
|
|
42
42
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import './dashboard-stat.css';
|
|
3
3
|
export type DashBoardStatStatus = 'success' | 'warning' | 'launch' | 'error' | 'ready' | 'notReady';
|
|
4
4
|
/**
|
|
@@ -25,4 +25,4 @@ export interface DashboardStatProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
25
25
|
/**
|
|
26
26
|
* DashboardStat UI component
|
|
27
27
|
*/
|
|
28
|
-
export declare const DashboardStat: ({ title, status, stat, className, ...props }: DashboardStatProps) =>
|
|
28
|
+
export declare const DashboardStat: ({ title, status, stat, className, ...props }: DashboardStatProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import './file-diff.css';
|
|
3
3
|
/**
|
|
4
4
|
* Prop types for FileDiff
|
|
@@ -32,4 +32,4 @@ export interface FileDiffProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
32
32
|
/**
|
|
33
33
|
* FileDiff UI component
|
|
34
34
|
*/
|
|
35
|
-
export declare const FileDiff: ({ additions, deletions, labelStrings, className, componentWidth, ...props }: FileDiffProps) =>
|
|
35
|
+
export declare const FileDiff: ({ additions, deletions, labelStrings, className, componentWidth, ...props }: FileDiffProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import './flow-steps.css';
|
|
3
3
|
export type FlowStep = {
|
|
4
4
|
/**
|
|
@@ -34,4 +34,4 @@ export interface FlowStepsProps extends ComponentPropsWithoutRef<'ol'> {
|
|
|
34
34
|
/**
|
|
35
35
|
* FlowSteps UI component
|
|
36
36
|
*/
|
|
37
|
-
export declare const FlowSteps: ({ contentAlignment, layoutDirection, steps, className, ...props }: FlowStepsProps) =>
|
|
37
|
+
export declare const FlowSteps: ({ contentAlignment, layoutDirection, steps, className, ...props }: FlowStepsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export declare const stepsWithoutExtraContent: {
|
|
3
2
|
header: string;
|
|
4
3
|
}[];
|
|
5
4
|
export declare const stepsWithCode: ({
|
|
6
5
|
header: string;
|
|
7
|
-
content:
|
|
6
|
+
content: import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
} | {
|
|
9
|
-
header:
|
|
10
|
-
content:
|
|
8
|
+
header: import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
content: import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
})[];
|
|
12
11
|
export declare const stepsWithText: {
|
|
13
12
|
header: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import './link-new-window.css';
|
|
3
3
|
/**
|
|
4
4
|
* Prop types for LinkNewWindow
|
|
@@ -32,4 +32,4 @@ export interface LinkNewWindowProps extends ComponentPropsWithoutRef<'a'> {
|
|
|
32
32
|
/**
|
|
33
33
|
* LinkNewWindow UI component
|
|
34
34
|
*/
|
|
35
|
-
export declare const LinkNewWindow: ({ children, fontSize, isLoading, newWindowText, url, className, ...props }: LinkNewWindowProps) =>
|
|
35
|
+
export declare const LinkNewWindow: ({ children, fontSize, isLoading, newWindowText, url, className, ...props }: LinkNewWindowProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import './modal.css';
|
|
3
3
|
export interface ModalProps extends ComponentPropsWithoutRef<'div'> {
|
|
4
4
|
/**
|
|
@@ -51,4 +51,4 @@ export interface ModalProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
51
51
|
/**
|
|
52
52
|
* Modal UI component
|
|
53
53
|
*/
|
|
54
|
-
export declare const Modal: ({ ariaLabel, children, closeButtonLabel, contentMaxHeight, disableOutsideClick, hasCloseButton, modalIsOpen, setModalIsOpen, size, title, className, ...props }: ModalProps) =>
|
|
54
|
+
export declare const Modal: ({ ariaLabel, children, closeButtonLabel, contentMaxHeight, disableOutsideClick, hasCloseButton, modalIsOpen, setModalIsOpen, size, title, className, ...props }: ModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import { HeadingLevelCommon } from '@libs/types/custom-types';
|
|
3
3
|
import './pagination.css';
|
|
4
4
|
/**
|
|
@@ -51,4 +51,4 @@ export interface PaginationProps extends ComponentPropsWithoutRef<'nav'> {
|
|
|
51
51
|
/**
|
|
52
52
|
* Pagination UI component
|
|
53
53
|
*/
|
|
54
|
-
export declare const Pagination: ({ bufferCount, currentPage, headingLevel, headingText, itemsPerPage, labelStrings, onPageChange, totalItemCount, className, ...props }: PaginationProps) =>
|
|
54
|
+
export declare const Pagination: ({ bufferCount, currentPage, headingLevel, headingText, itemsPerPage, labelStrings, onPageChange, totalItemCount, className, ...props }: PaginationProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import './pantheon-logo.css';
|
|
3
3
|
export type PantheonLogoDisplayType = 'full' | 'icon' | 'wordmark' | 'sub-brand' | 'sub-brand-small';
|
|
4
4
|
/**
|
|
@@ -29,4 +29,4 @@ export interface PantheonLogoProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
29
29
|
/**
|
|
30
30
|
* PantheonLogo UI component
|
|
31
31
|
*/
|
|
32
|
-
export declare const PantheonLogo: ({ colorType, displayType, linkContent, subBrand, className, ...props }: PantheonLogoProps) =>
|
|
32
|
+
export declare const PantheonLogo: ({ colorType, displayType, linkContent, subBrand, className, ...props }: PantheonLogoProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const logoWordmark: React.JSX.Element;
|
|
1
|
+
export declare const logoFull: import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const logoIcon: import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const logoWordmark: import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import './picture.css';
|
|
3
3
|
/**
|
|
4
4
|
* Prop types for Picture
|
|
@@ -34,4 +34,4 @@ export interface PictureProps extends ComponentPropsWithoutRef<'img'> {
|
|
|
34
34
|
/**
|
|
35
35
|
* Picture UI component
|
|
36
36
|
*/
|
|
37
|
-
export declare const Picture: ({ srcWebp, srcFallback, alt, width, height, className, ...props }: PictureProps) =>
|
|
37
|
+
export declare const Picture: ({ srcWebp, srcFallback, alt, width, height, className, ...props }: PictureProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import { FuiPlacement } from '@libs/types/custom-types';
|
|
3
3
|
import './popover.css';
|
|
4
4
|
interface PopoverProps extends Omit<ComponentPropsWithoutRef<'div'>, 'content'> {
|
|
@@ -62,5 +62,5 @@ interface PopoverProps extends Omit<ComponentPropsWithoutRef<'div'>, 'content'>
|
|
|
62
62
|
/**
|
|
63
63
|
* Popover UI component
|
|
64
64
|
*/
|
|
65
|
-
export declare const Popover: ({ content, closeButtonLabel, customTrigger, hasCloseButton, offsetValue, onClose, placement, title, triggerIcon, triggerAccessibleText, popoverIsOpen, setPopoverIsOpen, className, classNameContainer, ...props }: PopoverProps) =>
|
|
65
|
+
export declare const Popover: ({ content, closeButtonLabel, customTrigger, hasCloseButton, offsetValue, onClose, placement, title, triggerIcon, triggerAccessibleText, popoverIsOpen, setPopoverIsOpen, className, classNameContainer, ...props }: PopoverProps) => import("react/jsx-runtime").JSX.Element;
|
|
66
66
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import './pull-quote.css';
|
|
3
3
|
interface Attribution {
|
|
4
4
|
name: string;
|
|
@@ -30,5 +30,5 @@ interface PullQuoteProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
30
30
|
/**
|
|
31
31
|
* PullQuote UI component
|
|
32
32
|
*/
|
|
33
|
-
export declare const PullQuote: ({ attribution, image, layoutType, quote, className, ...props }: PullQuoteProps) =>
|
|
33
|
+
export declare const PullQuote: ({ attribution, image, layoutType, quote, className, ...props }: PullQuoteProps) => import("react/jsx-runtime").JSX.Element;
|
|
34
34
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import './refresh-checker.css';
|
|
3
3
|
/**
|
|
4
4
|
* Enum for RefreshChecker states
|
|
@@ -50,5 +50,5 @@ interface RefreshCheckerProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
50
50
|
/**
|
|
51
51
|
* RefreshChecker UI component
|
|
52
52
|
*/
|
|
53
|
-
export declare const RefreshChecker: ({ alignment, componentWidth, labelStrings, lastChecked, onCheck, state, className, ...props }: RefreshCheckerProps) =>
|
|
53
|
+
export declare const RefreshChecker: ({ alignment, componentWidth, labelStrings, lastChecked, onCheck, state, className, ...props }: RefreshCheckerProps) => import("react/jsx-runtime").JSX.Element;
|
|
54
54
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import { Popover } from '@components/Popover/Popover';
|
|
3
3
|
import { SitePlanLevel, SiteType } from '@libs/types/custom-types';
|
|
4
4
|
import './site-dashboard-heading.css';
|
|
@@ -54,4 +54,4 @@ export interface SiteDashboardHeadingProps extends ComponentPropsWithoutRef<'div
|
|
|
54
54
|
/**
|
|
55
55
|
* SiteDashboardHeading UI component
|
|
56
56
|
*/
|
|
57
|
-
export declare const SiteDashboardHeading: ({ popoverContent, popoverIsOpen, popoverTitle, handleUpgradeClick, setPopoverIsOpen, siteName, sitePlanLevel, siteType, triggerProps, upgradeLabel, className, ...props }: SiteDashboardHeadingProps) =>
|
|
57
|
+
export declare const SiteDashboardHeading: ({ popoverContent, popoverIsOpen, popoverTitle, handleUpgradeClick, setPopoverIsOpen, siteName, sitePlanLevel, siteType, triggerProps, upgradeLabel, className, ...props }: SiteDashboardHeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import './skiplink.css';
|
|
3
3
|
interface SkiplinkProps extends ComponentPropsWithoutRef<'a'> {
|
|
4
4
|
/**
|
|
@@ -17,5 +17,5 @@ interface SkiplinkProps extends ComponentPropsWithoutRef<'a'> {
|
|
|
17
17
|
/**
|
|
18
18
|
* Skiplink UI component
|
|
19
19
|
*/
|
|
20
|
-
export declare const Skiplink: ({ destination, text, className, ...props }: SkiplinkProps) =>
|
|
20
|
+
export declare const Skiplink: ({ destination, text, className, ...props }: SkiplinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import { PDSIcon } from '@components/icons/Icon/Icon';
|
|
3
3
|
import './social-links.css';
|
|
4
4
|
interface SocialLinksProps extends ComponentPropsWithoutRef<'ul'> {
|
|
@@ -19,5 +19,5 @@ declare const socialData: Record<string, {
|
|
|
19
19
|
/**
|
|
20
20
|
* SocialLinks UI component
|
|
21
21
|
*/
|
|
22
|
-
export declare const SocialLinks: ({ linkItems, className, ...props }: SocialLinksProps) =>
|
|
22
|
+
export declare const SocialLinks: ({ linkItems, className, ...props }: SocialLinksProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import './status-indicator.css';
|
|
3
3
|
export interface StatusIndicatorProps extends ComponentPropsWithoutRef<'div'> {
|
|
4
4
|
/**
|
|
@@ -21,4 +21,4 @@ export interface StatusIndicatorProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
21
21
|
/**
|
|
22
22
|
* StatusIndicator UI component
|
|
23
23
|
*/
|
|
24
|
-
export declare const StatusIndicator: ({ label, size, type, className, ...props }: StatusIndicatorProps) =>
|
|
24
|
+
export declare const StatusIndicator: ({ label, size, type, className, ...props }: StatusIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import './table.css';
|
|
3
3
|
/**
|
|
4
4
|
* Prop types for Table
|
|
@@ -23,5 +23,5 @@ interface TableProps extends ComponentPropsWithoutRef<'table'> {
|
|
|
23
23
|
/**
|
|
24
24
|
* Table UI component
|
|
25
25
|
*/
|
|
26
|
-
export declare const Table: ({ headers, rowData, className, ...props }: TableProps) =>
|
|
26
|
+
export declare const Table: ({ headers, rowData, className, ...props }: TableProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
27
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import { HeadingLevelCommon } from '@libs/types/custom-types';
|
|
3
3
|
import './table-of-contents.css';
|
|
4
4
|
/**
|
|
@@ -41,5 +41,5 @@ interface TableOfContentsProps extends ComponentPropsWithoutRef<'nav'> {
|
|
|
41
41
|
/**
|
|
42
42
|
* TableOfContents UI component
|
|
43
43
|
*/
|
|
44
|
-
export declare const TableOfContents: ({ appendIds, ariaLabel, headingLevel, headingText, ignoreClass, showHeading, sourceID, className, ...props }: TableOfContentsProps) =>
|
|
44
|
+
export declare const TableOfContents: ({ appendIds, ariaLabel, headingLevel, headingText, ignoreClass, showHeading, sourceID, className, ...props }: TableOfContentsProps) => import("react/jsx-runtime").JSX.Element;
|
|
45
45
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import { PDSIcon } from '@components/icons/Icon/Icon';
|
|
3
3
|
import './tabs.css';
|
|
4
4
|
interface Tabs {
|
|
@@ -59,5 +59,5 @@ interface TabsProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
59
59
|
/**
|
|
60
60
|
* Tabs UI component
|
|
61
61
|
*/
|
|
62
|
-
export declare const Tabs: ({ ariaLabel, defaultSelected, onActiveTabChange, selectedTab, tabs, className, ...props }: TabsProps) =>
|
|
62
|
+
export declare const Tabs: ({ ariaLabel, defaultSelected, onActiveTabChange, selectedTab, tabs, className, ...props }: TabsProps) => import("react/jsx-runtime").JSX.Element;
|
|
63
63
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import './tag.css';
|
|
3
3
|
export declare const tagColors: string[];
|
|
4
4
|
type TagColor = (typeof tagColors)[number];
|
|
@@ -35,5 +35,5 @@ interface TagProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
35
35
|
/**
|
|
36
36
|
* Tag UI component
|
|
37
37
|
*/
|
|
38
|
-
export declare const Tag: ({ linkContent, isRemovable, onRemove, removeLabel, tagColor, tagLabel, className, ...props }: TagProps) =>
|
|
38
|
+
export declare const Tag: ({ linkContent, isRemovable, onRemove, removeLabel, tagColor, tagLabel, className, ...props }: TagProps) => import("react/jsx-runtime").JSX.Element;
|
|
39
39
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import './theme-switcher.css';
|
|
3
3
|
/**
|
|
4
4
|
* Prop types for ThemeSwitcher
|
|
@@ -29,4 +29,4 @@ export interface ThemeSwitcherProps extends Omit<ComponentPropsWithoutRef<'div'>
|
|
|
29
29
|
/**
|
|
30
30
|
* ThemeSwitcher UI component
|
|
31
31
|
*/
|
|
32
|
-
export declare const ThemeSwitcher: ({ theme, onChange, translations, className, ...props }: ThemeSwitcherProps) =>
|
|
32
|
+
export declare const ThemeSwitcher: ({ theme, onChange, translations, className, ...props }: ThemeSwitcherProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import { Placement } from '@floating-ui/react';
|
|
3
3
|
import { FuiOffset } from '@libs/types/custom-types';
|
|
4
4
|
import './tooltip.css';
|
|
@@ -47,5 +47,5 @@ interface TooltipProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
47
47
|
/**
|
|
48
48
|
* Tooltip UI component
|
|
49
49
|
*/
|
|
50
|
-
export declare const Tooltip: ({ content, customTrigger, offsetValue, preferredPlacement, triggerAccessibleText, triggerIcon, triggerIconColor, triggerIconSize, zIndex, className, ...props }: TooltipProps) =>
|
|
50
|
+
export declare const Tooltip: ({ content, customTrigger, offsetValue, preferredPlacement, triggerAccessibleText, triggerIcon, triggerIconColor, triggerIconSize, zIndex, className, ...props }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
51
51
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import './video-embed.css';
|
|
3
3
|
/**
|
|
4
4
|
* Prop types for VideoEmbed
|
|
@@ -25,4 +25,4 @@ export interface VideoEmbedProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
25
25
|
/**
|
|
26
26
|
* VideoEmbed UI component
|
|
27
27
|
*/
|
|
28
|
-
export declare const VideoEmbed: ({ platform, videoId, videoTitle, className, ...props }: VideoEmbedProps) =>
|
|
28
|
+
export declare const VideoEmbed: ({ platform, videoId, videoTitle, className, ...props }: VideoEmbedProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import './indicator-badge.css';
|
|
3
3
|
/**
|
|
4
4
|
* IndicatorBadge component props
|
|
@@ -24,4 +24,4 @@ export interface IndicatorBadgeProps extends ComponentPropsWithoutRef<'span'> {
|
|
|
24
24
|
/**
|
|
25
25
|
* IndicatorBadge UI component
|
|
26
26
|
*/
|
|
27
|
-
export declare const IndicatorBadge: ({ label, size, color, className, ...props }: IndicatorBadgeProps) =>
|
|
27
|
+
export declare const IndicatorBadge: ({ label, size, color, className, ...props }: IndicatorBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import './status-badge.css';
|
|
3
3
|
/**
|
|
4
4
|
* StatusBadge component props
|
|
@@ -32,4 +32,4 @@ export interface StatusBadgeProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
32
32
|
/**
|
|
33
33
|
* StatusBadge UI component
|
|
34
34
|
*/
|
|
35
|
-
export declare const StatusBadge: ({ color, hasStatusIndicator, label, statusIndicatorText, statusType, className, ...props }: StatusBadgeProps) =>
|
|
35
|
+
export declare const StatusBadge: ({ color, hasStatusIndicator, label, statusIndicatorText, statusType, className, ...props }: StatusBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import './tally.css';
|
|
3
3
|
interface TypeLabels {
|
|
4
4
|
info?: string;
|
|
@@ -32,7 +32,7 @@ export interface TallyProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
32
32
|
* Tally UI component
|
|
33
33
|
*/
|
|
34
34
|
export declare const Tally: {
|
|
35
|
-
({ label, type, typeLabels, className, ...props }: TallyProps):
|
|
35
|
+
({ label, type, typeLabels, className, ...props }: TallyProps): import("react/jsx-runtime").JSX.Element;
|
|
36
36
|
displayName: string;
|
|
37
37
|
};
|
|
38
38
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import { PDSIcon } from '@components/icons/Icon/Icon';
|
|
3
3
|
import { ButtonDisplayType, ButtonSize, ButtonVariant } from '@libs/types/custom-types';
|
|
4
4
|
import '../Button/button.css';
|
|
@@ -44,5 +44,5 @@ export interface ButtonLinkProps extends ComponentPropsWithoutRef<'span'> {
|
|
|
44
44
|
/**
|
|
45
45
|
* ButtonLink UI component
|
|
46
46
|
*/
|
|
47
|
-
export declare const ButtonLink: ({ disabled, displayType, iconName, linkContent, size, tooltipText, variant, className, ...props }: ButtonLinkProps) =>
|
|
47
|
+
export declare const ButtonLink: ({ disabled, displayType, iconName, linkContent, size, tooltipText, variant, className, ...props }: ButtonLinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
48
48
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import './clipboard-button.css';
|
|
3
3
|
/**
|
|
4
4
|
* Prop types for ClipboardButton
|
|
@@ -28,4 +28,4 @@ export interface ClipboardButtonProps extends ComponentPropsWithoutRef<'button'>
|
|
|
28
28
|
/**
|
|
29
29
|
* ClipboardButton UI component
|
|
30
30
|
*/
|
|
31
|
-
export declare const ClipboardButton: ({ ariaLabel, clipboardText, disabled, variant, className, ...props }: ClipboardButtonProps) =>
|
|
31
|
+
export declare const ClipboardButton: ({ ariaLabel, clipboardText, disabled, variant, className, ...props }: ClipboardButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import './close-button.css';
|
|
3
3
|
/**
|
|
4
4
|
* Prop types for CloseButton
|
|
@@ -24,4 +24,4 @@ export interface CloseButtonProps extends ComponentPropsWithoutRef<'button'> {
|
|
|
24
24
|
/**
|
|
25
25
|
* CloseButton UI component
|
|
26
26
|
*/
|
|
27
|
-
export declare const CloseButton: ({ ariaLabel, iconSize, onClick, className, ...props }: CloseButtonProps) =>
|
|
27
|
+
export declare const CloseButton: ({ ariaLabel, iconSize, onClick, className, ...props }: CloseButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
2
|
import { HeadingItemType, LinkItemType, MenuItemType, NodeItemType, SeparatorItemType } from '@libs/types/custom-types';
|
|
3
3
|
import { PDSIcon } from '@components/icons/Icon/Icon';
|
|
4
4
|
import './menu-button.css';
|
|
@@ -72,4 +72,4 @@ export interface MenuButtonProps extends ComponentPropsWithRef<'span'> {
|
|
|
72
72
|
/**
|
|
73
73
|
* MenuButton UI component
|
|
74
74
|
*/
|
|
75
|
-
export declare const MenuButton: ({ disabled, displayType, iconName, id, isSplitButton, label, menuItems, menuPosition, onClick, size, testId, undefinedLabel, variant, withinNavbar, className, ...props }: MenuButtonProps) =>
|
|
75
|
+
export declare const MenuButton: ({ disabled, displayType, iconName, id, isSplitButton, label, menuItems, menuPosition, onClick, size, testId, undefinedLabel, variant, withinNavbar, className, ...props }: MenuButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { PDSIcon } from '@components/icons/Icon/Icon';
|
|
3
2
|
import './segmented-button.css';
|
|
4
3
|
/**
|
|
@@ -59,5 +58,5 @@ export interface SegmentedButtonProps {
|
|
|
59
58
|
/**
|
|
60
59
|
* SegmentedButton UI component
|
|
61
60
|
*/
|
|
62
|
-
export declare const SegmentedButton: ({ disabled, id, defaultValue, label, onChange, options, size, value, className, ...props }: SegmentedButtonProps) =>
|
|
61
|
+
export declare const SegmentedButton: ({ disabled, id, defaultValue, label, onChange, options, size, value, className, ...props }: SegmentedButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
63
62
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import { LinkItemType, MenuItemType } from '@libs/types/custom-types';
|
|
3
3
|
import './split-button.css';
|
|
4
4
|
/**
|
|
@@ -37,5 +37,5 @@ interface SplitButtonProps extends ComponentPropsWithoutRef<'span'> {
|
|
|
37
37
|
/**
|
|
38
38
|
* A component used to render a button with a primary action and a menu of additional options
|
|
39
39
|
*/
|
|
40
|
-
export declare const SplitButton: ({ actionItems, disabled, id, moreActionsLabel, size, variant, className, ...props }: SplitButtonProps) =>
|
|
40
|
+
export declare const SplitButton: ({ actionItems, disabled, id, moreActionsLabel, size, variant, className, ...props }: SplitButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
41
41
|
export {};
|
|
@@ -4,7 +4,7 @@ export const sampleActionItems: {
|
|
|
4
4
|
callback: (item: any) => void;
|
|
5
5
|
}[];
|
|
6
6
|
export const linkActionItems: ({
|
|
7
|
-
linkContent:
|
|
7
|
+
linkContent: import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
isLink: boolean;
|
|
9
9
|
label?: undefined;
|
|
10
10
|
callback?: undefined;
|
|
@@ -14,4 +14,3 @@ export const linkActionItems: ({
|
|
|
14
14
|
linkContent?: undefined;
|
|
15
15
|
isLink?: undefined;
|
|
16
16
|
})[];
|
|
17
|
-
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import { PDSIcon } from '@components/icons/Icon/Icon';
|
|
3
3
|
import './utility-button.css';
|
|
4
4
|
/**
|
|
@@ -61,4 +61,4 @@ export interface UtilityButtonProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
61
61
|
/**
|
|
62
62
|
* UtilityButton UI component
|
|
63
63
|
*/
|
|
64
|
-
export declare const UtilityButton: ({ buttonProps, disabled, hasBorder, iconName, iconPosition, isCritical, isLoading, isWorking, isMonospace, label, onClick, tooltipText, className, ...props }: UtilityButtonProps) =>
|
|
64
|
+
export declare const UtilityButton: ({ buttonProps, disabled, hasBorder, iconName, iconPosition, isCritical, isLoading, isWorking, isMonospace, label, onClick, tooltipText, className, ...props }: UtilityButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import { GridGapOptions } from '@layouts/layout-types';
|
|
3
3
|
import './card.css';
|
|
4
4
|
export type CardBackground = 'default' | 'mint-gradient' | 'sundown-gradient' | 'yellow-gradient' | 'transparent';
|
|
@@ -26,4 +26,4 @@ export interface CardProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
26
26
|
/**
|
|
27
27
|
* Card UI component
|
|
28
28
|
*/
|
|
29
|
-
export declare const Card: ({ background, children, padding, className, ...props }: CardProps) =>
|
|
29
|
+
export declare const Card: ({ background, children, padding, className, ...props }: CardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { HeadingLevelCommon } from '@libs/types/custom-types';
|
|
3
2
|
import './card-heading.css';
|
|
4
3
|
/**
|
|
@@ -29,4 +28,4 @@ export interface CardHeadingProps {
|
|
|
29
28
|
/**
|
|
30
29
|
* CardHeading UI component
|
|
31
30
|
*/
|
|
32
|
-
export declare const CardHeading: ({ fontSize, fontWeight, level, text, className, ...props }: CardHeadingProps) =>
|
|
31
|
+
export declare const CardHeading: ({ fontSize, fontWeight, level, text, className, ...props }: CardHeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import './card-select-group.css';
|
|
3
3
|
export interface CardOption {
|
|
4
4
|
/**
|
|
@@ -57,4 +57,4 @@ export interface CardSelectGroupProps extends Omit<ComponentPropsWithoutRef<'fie
|
|
|
57
57
|
/**
|
|
58
58
|
* CardSelectGroup UI component
|
|
59
59
|
*/
|
|
60
|
-
export declare const CardSelectGroup: ({ id, defaultValue, label, labelDisplay, layout, onChange, options, className, ...props }: CardSelectGroupProps) =>
|
|
60
|
+
export declare const CardSelectGroup: ({ id, defaultValue, label, labelDisplay, layout, onChange, options, className, ...props }: CardSelectGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import { HeadingLevelCommon } from '@libs/types/custom-types';
|
|
3
3
|
import './empty-state-card.css';
|
|
4
4
|
/**
|
|
@@ -33,4 +33,4 @@ export interface EmptyStateCardProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
33
33
|
/**
|
|
34
34
|
* EmptyStateCard UI component
|
|
35
35
|
*/
|
|
36
|
-
export declare const EmptyStateCard: ({ headingLevel, headingText, isLinkExternal, linkContent, summary, className, ...props }: EmptyStateCardProps) =>
|
|
36
|
+
export declare const EmptyStateCard: ({ headingLevel, headingText, isLinkExternal, linkContent, summary, className, ...props }: EmptyStateCardProps) => import("react/jsx-runtime").JSX.Element;
|