@pantheon-systems/pds-toolkit-react 1.0.0-dev.130 → 1.0.0-dev.132

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/_dist/components/Avatar/Avatar.d.ts +19 -0
  2. package/_dist/components/Breadcrumbs/Breadcrumbs.d.ts +9 -0
  3. package/_dist/components/Breadcrumbs/BreadcrumbsContent.d.ts +12 -0
  4. package/_dist/components/Breadcrumbs/BreadcrumbsContext.d.ts +17 -0
  5. package/_dist/components/Breadcrumbs/ListItem.d.ts +14 -0
  6. package/_dist/components/Breadcrumbs/MobileCrumbs.d.ts +2 -0
  7. package/_dist/components/CTALink/CTALink.d.ts +15 -0
  8. package/_dist/components/CTASlice/CTASlice.d.ts +34 -0
  9. package/_dist/components/Callout/Callout.d.ts +25 -0
  10. package/_dist/components/Callout/sample-callout-content.d.ts +2 -0
  11. package/_dist/components/ComparisonList/ComparisonList.d.ts +32 -0
  12. package/_dist/components/Heading/Heading.d.ts +15 -0
  13. package/_dist/components/Icon/Icon.d.ts +592 -0
  14. package/_dist/components/Icon/iconList.d.ts +1 -0
  15. package/_dist/components/Modal/Modal.d.ts +25 -0
  16. package/_dist/components/Pager/AdvancedPagination.d.ts +4 -0
  17. package/_dist/components/Pager/BasicPagination.d.ts +4 -0
  18. package/_dist/components/Pager/MiniPagination.d.ts +4 -0
  19. package/_dist/components/Pager/NavigationButton.d.ts +13 -0
  20. package/_dist/components/Pager/Pager.d.ts +24 -0
  21. package/_dist/components/Pager/PagerContext.d.ts +23 -0
  22. package/_dist/components/Pager/PagerItem.d.ts +14 -0
  23. package/_dist/components/Pager/usePaginationUI.d.ts +1 -0
  24. package/_dist/components/Panel/Panel.d.ts +15 -0
  25. package/_dist/components/PantheonLogo/PantheonLogo.d.ts +25 -0
  26. package/_dist/components/PlatformIcon/PlatformIcon.d.ts +13 -0
  27. package/_dist/components/Popover/Popover.d.ts +29 -0
  28. package/_dist/components/PullQuote/PullQuote.d.ts +23 -0
  29. package/_dist/components/Skiplink/Skiplink.d.ts +15 -0
  30. package/_dist/components/SocialLinks/SocialLinks.d.ts +13 -0
  31. package/_dist/components/StatusIndicator/StatusIndicator.d.ts +15 -0
  32. package/_dist/components/Stepper/Stepper.d.ts +46 -0
  33. package/_dist/components/Table/Table.d.ts +15 -0
  34. package/_dist/components/TableOfContents/TableOfContents.d.ts +25 -0
  35. package/_dist/components/Tabs/Tabs.d.ts +40 -0
  36. package/_dist/components/Tag/Tag.d.ts +23 -0
  37. package/_dist/components/Tooltip/Tooltip.d.ts +21 -0
  38. package/_dist/components/badges/IndicatorBadge/IndicatorBadge.d.ts +28 -0
  39. package/_dist/components/badges/StatusBadge/StatusBadge.d.ts +36 -0
  40. package/_dist/components/buttons/AnimatedButton/AnimatedButton.d.ts +25 -0
  41. package/_dist/components/buttons/Button/Button.d.ts +5 -0
  42. package/_dist/components/buttons/ButtonLink/ButtonLink.d.ts +24 -0
  43. package/_dist/components/buttons/IconButton/IconButton.d.ts +23 -0
  44. package/_dist/components/buttons/MenuButton/MenuButton.d.ts +65 -0
  45. package/_dist/components/buttons/SplitButton/SplitButton.d.ts +36 -0
  46. package/_dist/components/buttons/ToggleButton/ToggleButton.d.ts +31 -0
  47. package/_dist/components/cards/Card/Card.d.ts +30 -0
  48. package/_dist/components/cards/CardSelectGroup/CardSelectGroup.d.ts +38 -0
  49. package/_dist/components/cards/LinksCard/LinksCard.d.ts +17 -0
  50. package/_dist/components/cards/NewSiteCard/NewSiteCard.d.ts +25 -0
  51. package/_dist/components/cards/PricingCard/PricingCard.d.ts +64 -0
  52. package/_dist/components/cards/SiteCard/SiteCard.d.ts +25 -0
  53. package/_dist/components/expansion-panels/ExpansionPanel/ExpansionPanel.d.ts +19 -0
  54. package/_dist/components/expansion-panels/ExpansionPanelGroup/ExpansionPanelGroup.d.ts +15 -0
  55. package/_dist/components/footer/FooterHeading/FooterHeading.d.ts +15 -0
  56. package/_dist/components/footer/FooterLinks/FooterLinks.d.ts +17 -0
  57. package/_dist/components/footer/SiteFooter/SiteFooter.d.ts +18 -0
  58. package/_dist/components/inputs/Checkbox/Checkbox.d.ts +5 -0
  59. package/_dist/components/inputs/CheckboxGroup/CheckboxGroup.d.ts +44 -0
  60. package/_dist/components/inputs/Combobox/Combobox.d.ts +65 -0
  61. package/_dist/components/inputs/InputFormatted/InputFormatted.d.ts +35 -0
  62. package/_dist/components/inputs/InputGroup/InputGroup.d.ts +13 -0
  63. package/_dist/components/inputs/InputObscured/InputObscured.d.ts +33 -0
  64. package/_dist/components/inputs/InputText/InputText.d.ts +75 -0
  65. package/_dist/components/inputs/InputWrapper/InputWrapper.d.ts +5 -0
  66. package/_dist/components/inputs/RadioGroup/RadioGroup.d.ts +46 -0
  67. package/_dist/components/inputs/Select/Select.d.ts +44 -0
  68. package/_dist/components/inputs/Textarea/Textarea.d.ts +39 -0
  69. package/_dist/components/inputs/ToggleSwitch/ToggleSwitch.d.ts +31 -0
  70. package/_dist/components/inputs/inputs-common.d.ts +40 -0
  71. package/_dist/components/navigation/DashboardNav/DashboardNav.d.ts +27 -0
  72. package/_dist/components/navigation/DropdownMenu/DropdownMenu.d.ts +17 -0
  73. package/_dist/components/navigation/NavMenu/NavMenu.d.ts +19 -0
  74. package/_dist/components/navigation/NavMenu/NavMenuDropdown.d.ts +14 -0
  75. package/_dist/components/navigation/Navbar/Navbar.d.ts +37 -0
  76. package/_dist/components/navigation/SideNav/SideNav.d.ts +29 -0
  77. package/_dist/components/navigation/SideNavCompact/SideNavCompact.d.ts +29 -0
  78. package/_dist/components/navigation/UserMenu/UserMenu.d.ts +46 -0
  79. package/_dist/components/navigation/WorkspaceSelector/WorkspaceSelector.d.ts +60 -0
  80. package/_dist/components/notifications/Banner/Banner.d.ts +35 -0
  81. package/_dist/components/notifications/InlineMessage/InlineMessage.d.ts +31 -0
  82. package/_dist/components/notifications/SectionMessage/SectionMessage.d.ts +39 -0
  83. package/_dist/components/notifications/Toaster/Toast.d.ts +30 -0
  84. package/_dist/components/notifications/Toaster/Toaster.d.ts +16 -0
  85. package/_dist/components/notifications/Toaster/useToast.d.ts +2 -0
  86. package/_dist/components/progress-indicators/ProgressBar/ProgressBar.d.ts +23 -0
  87. package/_dist/components/progress-indicators/ProgressRing/ProgressRing.d.ts +25 -0
  88. package/_dist/components/progress-indicators/Spinner/Spinner.d.ts +21 -0
  89. package/_dist/components/tiles/AvatarTileList/AvatarTileList.d.ts +22 -0
  90. package/_dist/components/tiles/StatsTileList/StatsTileList.d.ts +26 -0
  91. package/_dist/components/tiles/Tile/Tile.d.ts +23 -0
  92. package/_dist/components/tiles/TileGrid/TileGrid.d.ts +38 -0
  93. package/_dist/css/component-css/pds-avatar.css +1 -1
  94. package/_dist/css/component-css/pds-button.css +1 -1
  95. package/_dist/css/component-css/pds-checkbox.css +1 -1
  96. package/_dist/css/component-css/pds-index.css +4 -4
  97. package/_dist/css/component-css/pds-inline-message.css +1 -0
  98. package/_dist/css/component-css/pds-input-wrapper.css +1 -1
  99. package/_dist/css/component-css/pds-inputs-common-deprecated.css +1 -1
  100. package/_dist/css/component-css/pds-status-indicator.css +1 -1
  101. package/_dist/css/component-css/pds-tag.css +1 -1
  102. package/_dist/css/component-css/pds-tiles-common.css +1 -1
  103. package/_dist/css/design-tokens/pds-design-tokens-dark-mode.css +261 -0
  104. package/_dist/css/design-tokens/pds-design-tokens-light-mode.css +297 -0
  105. package/_dist/css/design-tokens/pds-design-tokens.css +103 -0
  106. package/_dist/css/pds-components.css +4 -4
  107. package/_dist/css/pds-core.css +2 -2
  108. package/_dist/index.css +1 -0
  109. package/_dist/index.d.ts +84 -0
  110. package/_dist/index.js +10954 -0
  111. package/_dist/index.js.map +1 -0
  112. package/_dist/layouts/Container/Container.d.ts +16 -0
  113. package/_dist/layouts/FlexContainer/FlexContainer.d.ts +27 -0
  114. package/_dist/layouts/GlobalLayout/GlobalLayout.d.ts +23 -0
  115. package/_dist/layouts/SidebarLayout/SidebarLayout.d.ts +21 -0
  116. package/_dist/layouts/StepperLayout/StepperLayout.d.ts +13 -0
  117. package/_dist/layouts/ThreeItemLayout/ThreeItemLayout.d.ts +15 -0
  118. package/_dist/layouts/TwoItemLayout/TwoItemLayout.d.ts +17 -0
  119. package/_dist/libs/components/customPropTypes.d.ts +85 -0
  120. package/_dist/libs/components/utils.d.ts +2 -0
  121. package/_dist/vars/global.d.ts +2 -0
  122. package/_dist/vars/spacing.d.ts +17 -0
  123. package/_dist/vars/z-index.d.ts +5 -0
  124. package/package.json +90 -40
  125. package/_dist/cjs/index.js +0 -117
  126. package/_dist/cjs/index.js.map +0 -1
  127. package/_dist/esm/index.js +0 -117
  128. package/_dist/esm/index.js.map +0 -1
@@ -0,0 +1 @@
1
+ export const iconList: string[];
@@ -0,0 +1,25 @@
1
+ export function Modal({ ariaLabel, children, hasCloseButton, modalIsOpen, setModalIsOpen, size, title, className, ...props }: {
2
+ [x: string]: any;
3
+ ariaLabel: any;
4
+ children: any;
5
+ hasCloseButton?: boolean;
6
+ modalIsOpen?: boolean;
7
+ setModalIsOpen?: () => void;
8
+ size?: string;
9
+ title: any;
10
+ className: any;
11
+ }): React.JSX.Element;
12
+ export namespace Modal {
13
+ namespace propTypes {
14
+ let ariaLabel: PropTypes.Requireable<string>;
15
+ let children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
16
+ let hasCloseButton: PropTypes.Requireable<boolean>;
17
+ let modalIsOpen: PropTypes.Requireable<boolean>;
18
+ let setModalIsOpen: PropTypes.Requireable<(...args: any[]) => any>;
19
+ let size: PropTypes.Requireable<string>;
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,4 @@
1
+ export function AdvancedPagination({ ...props }: {
2
+ [x: string]: any;
3
+ }): React.JSX.Element;
4
+ import React from 'react';
@@ -0,0 +1,4 @@
1
+ export function BasicPagination({ ...props }: {
2
+ [x: string]: any;
3
+ }): React.JSX.Element;
4
+ import React from 'react';
@@ -0,0 +1,4 @@
1
+ export function MiniPagination({ ...props }: {
2
+ [x: string]: any;
3
+ }): React.JSX.Element;
4
+ import React from 'react';
@@ -0,0 +1,13 @@
1
+ export function NavigationButton({ arrowText, direction, ...props }: {
2
+ [x: string]: any;
3
+ arrowText?: any;
4
+ direction: any;
5
+ }): React.JSX.Element;
6
+ export namespace NavigationButton {
7
+ namespace propTypes {
8
+ let arrowText: PropTypes.Requireable<string>;
9
+ let direction: PropTypes.Requireable<string>;
10
+ }
11
+ }
12
+ import React from 'react';
13
+ import PropTypes from 'prop-types';
@@ -0,0 +1,24 @@
1
+ export function Pager({ buttonCallback, headingId, pages, paginationItemClickHandler, render, type, ...props }: {
2
+ [x: string]: any;
3
+ buttonCallback?: any;
4
+ headingId?: string;
5
+ pages: any;
6
+ paginationItemClickHandler?: any;
7
+ render?: any;
8
+ type?: string;
9
+ }): React.JSX.Element;
10
+ export namespace Pager {
11
+ namespace propTypes {
12
+ let buttonCallback: PropTypes.Requireable<(...args: any[]) => any>;
13
+ let headingId: PropTypes.Requireable<string>;
14
+ let pages: PropTypes.Validator<PropTypes.InferProps<{
15
+ href: PropTypes.Requireable<string>;
16
+ }>[]>;
17
+ let paginationItemClickHandler: PropTypes.Requireable<(...args: any[]) => any>;
18
+ let render: PropTypes.Requireable<(...args: any[]) => any>;
19
+ let type: PropTypes.Requireable<string>;
20
+ let className: PropTypes.Requireable<string>;
21
+ }
22
+ }
23
+ import React from 'react';
24
+ import PropTypes from 'prop-types';
@@ -0,0 +1,23 @@
1
+ export const PagerContext: React.Context<{}>;
2
+ export function ContextProvider({ pages, render, paginationItemClickHandler, headingId, buttonCallback, children, }: {
3
+ pages: any;
4
+ render?: any;
5
+ paginationItemClickHandler?: any;
6
+ headingId?: string;
7
+ buttonCallback?: any;
8
+ children: any;
9
+ }): React.JSX.Element;
10
+ export namespace ContextProvider {
11
+ namespace propTypes {
12
+ let children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
13
+ let render: PropTypes.Requireable<(...args: any[]) => any>;
14
+ let paginationItemClickHandler: PropTypes.Requireable<(...args: any[]) => any>;
15
+ let buttonCallback: PropTypes.Requireable<(...args: any[]) => any>;
16
+ let pages: PropTypes.Validator<PropTypes.InferProps<{
17
+ link: PropTypes.Requireable<string>;
18
+ }>[]>;
19
+ let headingId: PropTypes.Requireable<string>;
20
+ }
21
+ }
22
+ import React from 'react';
23
+ import PropTypes from 'prop-types';
@@ -0,0 +1,14 @@
1
+ export function PagerItem({ index, page, ...props }: {
2
+ [x: string]: any;
3
+ index: any;
4
+ page: any;
5
+ }): React.JSX.Element;
6
+ export namespace PagerItem {
7
+ namespace propTypes {
8
+ let index: PropTypes.Validator<number>;
9
+ let page: PropTypes.Validator<NonNullable<NonNullable<string | object>>>;
10
+ let render: PropTypes.Requireable<(...args: any[]) => any>;
11
+ }
12
+ }
13
+ import React from 'react';
14
+ import PropTypes from 'prop-types';
@@ -0,0 +1 @@
1
+ export default function usePaginationUI(pages: any, currentPages: any, setCurrentPages: any, currentKey: any, itemLength: any, pageDirection: any): void;
@@ -0,0 +1,15 @@
1
+ export function Panel({ children, variant, className, ...props }: {
2
+ [x: string]: any;
3
+ children: any;
4
+ variant?: string;
5
+ className: any;
6
+ }): React.JSX.Element;
7
+ export namespace Panel {
8
+ namespace propTypes {
9
+ let children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
10
+ let variant: 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,25 @@
1
+ export function PantheonLogo({ colorType, displayType, isLink, subBrand, className, ...props }: {
2
+ [x: string]: any;
3
+ colorType?: string;
4
+ displayType?: string;
5
+ isLink: any;
6
+ subBrand: any;
7
+ className: any;
8
+ }): React.JSX.Element;
9
+ export namespace PantheonLogo {
10
+ namespace propTypes {
11
+ let colorType: PropTypes.Requireable<string>;
12
+ let displayType: PropTypes.Requireable<string>;
13
+ let isLink: PropTypes.Requireable<PropTypes.InferProps<{
14
+ ariaLabel: PropTypes.Requireable<string>;
15
+ link: PropTypes.Requireable<PropTypes.ReactNodeLike>;
16
+ }>>;
17
+ let subBrand: PropTypes.Requireable<PropTypes.InferProps<{
18
+ link: PropTypes.Requireable<PropTypes.ReactNodeLike>;
19
+ text: PropTypes.Requireable<string>;
20
+ }>>;
21
+ let className: PropTypes.Requireable<string>;
22
+ }
23
+ }
24
+ import React from 'react';
25
+ import PropTypes from 'prop-types';
@@ -0,0 +1,13 @@
1
+ export function PlatformIcon({ platformType, className, ...props }: {
2
+ [x: string]: any;
3
+ platformType: any;
4
+ className: any;
5
+ }): React.JSX.Element;
6
+ export namespace PlatformIcon {
7
+ namespace propTypes {
8
+ let platformType: PropTypes.Requireable<string>;
9
+ let className: PropTypes.Requireable<string>;
10
+ }
11
+ }
12
+ import React from 'react';
13
+ import PropTypes from 'prop-types';
@@ -0,0 +1,29 @@
1
+ export function Popover({ content, customTrigger, hasCloseButton, offsetValue, onClose, placement, title, triggerIcon, triggerAccessibleText, className, ...props }: {
2
+ [x: string]: any;
3
+ content: any;
4
+ customTrigger?: boolean;
5
+ hasCloseButton?: boolean;
6
+ offsetValue?: number;
7
+ onClose?: () => void;
8
+ placement?: string;
9
+ title: any;
10
+ triggerIcon?: string;
11
+ triggerAccessibleText?: string;
12
+ className: any;
13
+ }): React.JSX.Element;
14
+ export namespace Popover {
15
+ namespace propTypes {
16
+ let content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
17
+ let customTrigger: PropTypes.Requireable<PropTypes.ReactNodeLike>;
18
+ let hasCloseButton: PropTypes.Requireable<boolean>;
19
+ let offsetValue: PropTypes.Requireable<number>;
20
+ let onClose: PropTypes.Requireable<(...args: any[]) => any>;
21
+ let placement: PropTypes.Requireable<string>;
22
+ let title: PropTypes.Requireable<string>;
23
+ let triggerAccessibleText: PropTypes.Requireable<string>;
24
+ let triggerIcon: PropTypes.Requireable<string>;
25
+ let className: PropTypes.Requireable<string>;
26
+ }
27
+ }
28
+ import React from 'react';
29
+ import PropTypes from 'prop-types';
@@ -0,0 +1,23 @@
1
+ export function PullQuote({ attribution, image, layoutType, quote, className, ...props }: {
2
+ [x: string]: any;
3
+ attribution: any;
4
+ image: any;
5
+ layoutType?: string;
6
+ quote: any;
7
+ className: any;
8
+ }): React.JSX.Element;
9
+ export namespace PullQuote {
10
+ namespace propTypes {
11
+ let attribution: PropTypes.Requireable<PropTypes.InferProps<{
12
+ name: PropTypes.Requireable<string>;
13
+ title: PropTypes.Requireable<string>;
14
+ org: PropTypes.Requireable<string>;
15
+ }>>;
16
+ let image: PropTypes.Requireable<string>;
17
+ let layoutType: PropTypes.Requireable<string>;
18
+ let quote: PropTypes.Validator<string>;
19
+ let className: PropTypes.Requireable<string>;
20
+ }
21
+ }
22
+ import React from 'react';
23
+ import PropTypes from 'prop-types';
@@ -0,0 +1,15 @@
1
+ export function Skiplink({ destination, text, className, ...props }: {
2
+ [x: string]: any;
3
+ destination?: string;
4
+ text?: string;
5
+ className: any;
6
+ }): React.JSX.Element;
7
+ export namespace Skiplink {
8
+ namespace propTypes {
9
+ let destination: PropTypes.Requireable<string>;
10
+ let text: 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,13 @@
1
+ export function SocialLinks({ linkItems, className, ...props }: {
2
+ [x: string]: any;
3
+ linkItems?: string[];
4
+ className: any;
5
+ }): React.JSX.Element;
6
+ export namespace SocialLinks {
7
+ namespace propTypes {
8
+ let linkItems: PropTypes.Requireable<any[]>;
9
+ let className: PropTypes.Requireable<string>;
10
+ }
11
+ }
12
+ import React from 'react';
13
+ import PropTypes from 'prop-types';
@@ -0,0 +1,15 @@
1
+ export function StatusIndicator({ label, type, className, ...props }: {
2
+ [x: string]: any;
3
+ label?: any;
4
+ type?: string;
5
+ className: any;
6
+ }): React.JSX.Element;
7
+ export namespace StatusIndicator {
8
+ namespace propTypes {
9
+ let label: PropTypes.Requireable<string>;
10
+ let type: 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,46 @@
1
+ export function Stepper({ steps, translatableLabels, className, ...props }: {
2
+ [x: string]: any;
3
+ steps: any;
4
+ translatableLabels?: {
5
+ step: string;
6
+ completed: string;
7
+ hasError: string;
8
+ next: string;
9
+ };
10
+ className: any;
11
+ }): React.JSX.Element;
12
+ export namespace Stepper {
13
+ namespace propTypes {
14
+ let steps: PropTypes.Requireable<PropTypes.InferProps<{
15
+ /**
16
+ * Callback function to return to a previously completed step.
17
+ */
18
+ callback: PropTypes.Requireable<(...args: any[]) => any>;
19
+ /**
20
+ * If the step has an error.
21
+ */
22
+ hasError: PropTypes.Requireable<boolean>;
23
+ /**
24
+ * Id for the step.
25
+ */
26
+ id: PropTypes.Requireable<string>;
27
+ /**
28
+ * If the step is the current active step.
29
+ */
30
+ isCurrent: PropTypes.Requireable<boolean>;
31
+ /**
32
+ * The label for the step.
33
+ */
34
+ label: PropTypes.Validator<string>;
35
+ }>[]>;
36
+ let translatableLabels: PropTypes.Requireable<PropTypes.InferProps<{
37
+ step: PropTypes.Requireable<string>;
38
+ completed: PropTypes.Requireable<string>;
39
+ hasError: PropTypes.Requireable<string>;
40
+ next: PropTypes.Requireable<string>;
41
+ }>>;
42
+ let className: PropTypes.Requireable<string>;
43
+ }
44
+ }
45
+ import React from 'react';
46
+ import PropTypes from 'prop-types';
@@ -0,0 +1,15 @@
1
+ export function Table({ headers, rowData, className, ...props }: {
2
+ [x: string]: any;
3
+ headers: any;
4
+ rowData: any;
5
+ className: any;
6
+ }): React.JSX.Element;
7
+ export namespace Table {
8
+ namespace propTypes {
9
+ let headers: PropTypes.Requireable<object[]>;
10
+ let rowData: PropTypes.Requireable<PropTypes.ReactNodeLike[]>;
11
+ let className: PropTypes.Requireable<string>;
12
+ }
13
+ }
14
+ import React from 'react';
15
+ import PropTypes from 'prop-types';
@@ -0,0 +1,25 @@
1
+ export function TableOfContents({ appendIds, ariaLabel, headingLevel, headingText, ignoreClass, showHeading, sourceID, className, ...props }: {
2
+ [x: string]: any;
3
+ appendIds?: boolean;
4
+ ariaLabel?: string;
5
+ headingLevel?: string;
6
+ headingText?: string;
7
+ ignoreClass?: string;
8
+ showHeading?: boolean;
9
+ sourceID?: string;
10
+ className: any;
11
+ }): React.JSX.Element;
12
+ export namespace TableOfContents {
13
+ namespace propTypes {
14
+ let appendIds: PropTypes.Requireable<boolean>;
15
+ let ariaLabel: PropTypes.Requireable<string>;
16
+ let showHeading: PropTypes.Requireable<boolean>;
17
+ let headingLevel: PropTypes.Requireable<string>;
18
+ let headingText: PropTypes.Requireable<string>;
19
+ let ignoreClass: PropTypes.Requireable<string>;
20
+ let sourceID: 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,40 @@
1
+ export function Tabs({ ariaLabel, defaultSelected, size, tabs, className, ...props }: {
2
+ [x: string]: any;
3
+ ariaLabel: any;
4
+ defaultSelected?: number;
5
+ size?: string;
6
+ tabs: any;
7
+ className: any;
8
+ }): React.JSX.Element;
9
+ export namespace Tabs {
10
+ namespace propTypes {
11
+ let ariaLabel: PropTypes.Validator<string>;
12
+ let defaultSelected: PropTypes.Requireable<number>;
13
+ let size: PropTypes.Requireable<string>;
14
+ let tabs: PropTypes.Requireable<PropTypes.InferProps<{
15
+ /**
16
+ * Sets if tab disabled (optional)
17
+ */
18
+ disabled: PropTypes.Requireable<boolean>;
19
+ /**
20
+ * Adds tab icon (optional)
21
+ */
22
+ icon: PropTypes.Requireable<string>;
23
+ /**
24
+ * Sets tab label
25
+ */
26
+ tabLabel: PropTypes.Validator<string>;
27
+ /**
28
+ * Sets id for tab (optional)
29
+ */
30
+ tabId: PropTypes.Requireable<string>;
31
+ /**
32
+ * Sets content inside tab
33
+ */
34
+ panelContent: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
35
+ }>[]>;
36
+ let className: PropTypes.Requireable<string>;
37
+ }
38
+ }
39
+ import React from 'react';
40
+ import PropTypes from 'prop-types';
@@ -0,0 +1,23 @@
1
+ export function Tag({ linkContent, isRemovable, onRemove, removeLabel, tagColor, tagLabel, className, ...props }: {
2
+ [x: string]: any;
3
+ linkContent: any;
4
+ isRemovable: any;
5
+ onRemove: any;
6
+ removeLabel?: string;
7
+ tagColor: any;
8
+ tagLabel: any;
9
+ className: any;
10
+ }): React.JSX.Element;
11
+ export namespace Tag {
12
+ namespace propTypes {
13
+ let linkContent: PropTypes.Requireable<PropTypes.ReactNodeLike>;
14
+ let isRemovable: PropTypes.Requireable<boolean>;
15
+ let onRemove: PropTypes.Requireable<(...args: any[]) => any>;
16
+ let removeLabel: PropTypes.Requireable<string>;
17
+ let tagColor: PropTypes.Requireable<string>;
18
+ let tagLabel: PropTypes.Validator<string>;
19
+ let className: PropTypes.Requireable<string>;
20
+ }
21
+ }
22
+ import React from 'react';
23
+ import PropTypes from 'prop-types';
@@ -0,0 +1,21 @@
1
+ export function Tooltip({ content, customTrigger, offsetValue, triggerAccessibleText, triggerIcon, className, ...props }: {
2
+ [x: string]: any;
3
+ content: any;
4
+ customTrigger?: boolean;
5
+ offsetValue?: number;
6
+ triggerAccessibleText?: string;
7
+ triggerIcon?: string;
8
+ className: any;
9
+ }): React.JSX.Element;
10
+ export namespace Tooltip {
11
+ namespace propTypes {
12
+ let content: PropTypes.Validator<string>;
13
+ let customTrigger: PropTypes.Requireable<PropTypes.ReactNodeLike>;
14
+ let offsetValue: PropTypes.Requireable<number>;
15
+ let triggerAccessibleText: PropTypes.Requireable<string>;
16
+ let triggerIcon: PropTypes.Requireable<string>;
17
+ let className: PropTypes.Requireable<string>;
18
+ }
19
+ }
20
+ import React from 'react';
21
+ import PropTypes from 'prop-types';
@@ -0,0 +1,28 @@
1
+ import React from 'react';
2
+ import './indicator-badge.css';
3
+ /**
4
+ * IndicatorBadge component props
5
+ */
6
+ interface IndicatorBadgeProps {
7
+ /**
8
+ * Badge color
9
+ */
10
+ color: 'critical' | 'info' | 'success' | 'neutral' | 'warning' | 'silver' | 'gold' | 'platinum' | 'diamond';
11
+ /**
12
+ * Badge text.
13
+ */
14
+ label: string;
15
+ /**
16
+ * Badge size
17
+ */
18
+ size: 'sm' | 'md';
19
+ /**
20
+ * Additional class names
21
+ */
22
+ className?: string;
23
+ }
24
+ /**
25
+ * IndicatorBadge UI component
26
+ */
27
+ export declare const IndicatorBadge: ({ label, size, color, className, ...props }: IndicatorBadgeProps) => React.JSX.Element;
28
+ export {};
@@ -0,0 +1,36 @@
1
+ import React from 'react';
2
+ import './status-badge.css';
3
+ /**
4
+ * StatusBadge component props
5
+ */
6
+ interface StatusBadgeProps {
7
+ /**
8
+ * Background color for badge
9
+ */
10
+ color?: 'transparent' | 'neutral' | 'reverse';
11
+ /**
12
+ * Should the badge show a status indicator.
13
+ */
14
+ hasStatusIndicator?: boolean;
15
+ /**
16
+ * Text for badge.
17
+ */
18
+ label: string;
19
+ /**
20
+ * Translatable text for status indicator — for screen readers.
21
+ */
22
+ statusIndicatorText?: string;
23
+ /**
24
+ * Status type for badge. Only renders if `hasStatusIndicator` is true.
25
+ */
26
+ statusType: 'success' | 'info' | 'frozen' | 'critical' | 'warning' | 'discovery' | 'disabled';
27
+ /**
28
+ * Additional class names
29
+ */
30
+ className?: string;
31
+ }
32
+ /**
33
+ * StatusBadge UI component
34
+ */
35
+ export declare const StatusBadge: ({ color, hasStatusIndicator, label, statusIndicatorText, statusType, className, ...props }: StatusBadgeProps) => React.JSX.Element;
36
+ export {};
@@ -0,0 +1,25 @@
1
+ export function AnimatedButton({ ariaLabel, buttonType, disabled, icon1, icon2, onClick, size, className, ...props }: {
2
+ [x: string]: any;
3
+ ariaLabel: any;
4
+ buttonType?: string;
5
+ disabled?: boolean;
6
+ icon1: any;
7
+ icon2: any;
8
+ onClick: any;
9
+ size?: string;
10
+ className: any;
11
+ }): React.JSX.Element;
12
+ export namespace AnimatedButton {
13
+ namespace propTypes {
14
+ let ariaLabel: PropTypes.Validator<string>;
15
+ let buttonType: PropTypes.Requireable<string>;
16
+ let disabled: PropTypes.Requireable<boolean>;
17
+ let icon1: PropTypes.Validator<string>;
18
+ let icon2: PropTypes.Validator<string>;
19
+ let onClick: PropTypes.Requireable<(...args: any[]) => any>;
20
+ let size: 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,5 @@
1
+ /**
2
+ * A Component used to render a Button
3
+ */
4
+ export const Button: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
5
+ import React from 'react';
@@ -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,23 @@
1
+ export function IconButton({ ariaLabel, buttonType, disabled, iconName, onClick, size, className, ...props }: {
2
+ [x: string]: any;
3
+ ariaLabel: any;
4
+ buttonType?: string;
5
+ disabled?: boolean;
6
+ iconName: any;
7
+ onClick: any;
8
+ size?: string;
9
+ className: any;
10
+ }): React.JSX.Element;
11
+ export namespace IconButton {
12
+ namespace propTypes {
13
+ let ariaLabel: PropTypes.Validator<string>;
14
+ let buttonType: PropTypes.Requireable<string>;
15
+ let disabled: PropTypes.Requireable<boolean>;
16
+ let iconName: PropTypes.Validator<string>;
17
+ let onClick: PropTypes.Requireable<(...args: any[]) => any>;
18
+ let size: PropTypes.Requireable<string>;
19
+ let className: PropTypes.Requireable<string>;
20
+ }
21
+ }
22
+ import React from 'react';
23
+ import PropTypes from 'prop-types';