@pantheon-systems/pds-toolkit-react 1.0.0-dev.9999 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/_dist/components/Avatar/Avatar.d.ts +6 -6
- package/_dist/components/BranchDiff/BranchDiff.d.ts +10 -10
- package/_dist/components/CTALink/CTALink.d.ts +6 -6
- package/_dist/components/CTASlice/CTASlice.d.ts +7 -7
- package/_dist/components/Callout/Callout.d.ts +9 -8
- package/_dist/components/Callout/sample-callout-content.d.ts +1 -2
- package/_dist/components/CodeBlock/CodeBlock.d.ts +6 -6
- package/_dist/components/ComparisonList/ComparisonList.d.ts +7 -7
- package/_dist/components/DashboardStat/DashboardStat.d.ts +11 -11
- package/_dist/components/FileDiff/FileDiff.d.ts +11 -11
- package/_dist/components/FlowSteps/FlowSteps.d.ts +10 -10
- package/_dist/components/FlowSteps/example-steps.d.ts +3 -4
- package/_dist/components/LinkNewWindow/LinkNewWindow.d.ts +6 -6
- package/_dist/components/Modal/Modal.d.ts +6 -6
- package/_dist/components/Pagination/Pagination.d.ts +8 -8
- package/_dist/components/PantheonLogo/PantheonLogo.d.ts +6 -6
- package/_dist/components/PantheonLogo/pantheon-logo-data.d.ts +3 -4
- package/_dist/components/Picture/Picture.d.ts +15 -15
- package/_dist/components/Popover/Popover.d.ts +22 -23
- package/_dist/components/PullQuote/PullQuote.d.ts +7 -7
- package/_dist/components/RefreshChecker/RefreshChecker.d.ts +10 -10
- package/_dist/components/SiteDashboardHeading/SiteDashboardHeading.d.ts +17 -12
- package/_dist/components/Skiplink/Skiplink.d.ts +6 -6
- package/_dist/components/SocialLinks/SocialLinks.d.ts +8 -8
- package/_dist/components/StatusIndicator/StatusIndicator.d.ts +8 -7
- package/_dist/components/Table/Table.d.ts +9 -9
- package/_dist/components/TableOfContents/TableOfContents.d.ts +9 -9
- package/_dist/components/Tabs/Tabs.d.ts +15 -15
- package/_dist/components/Tag/Tag.d.ts +8 -8
- package/_dist/components/ThemeSwitcher/ThemeSwitcher.d.ts +9 -9
- package/_dist/components/Tooltip/Tooltip.d.ts +7 -7
- package/_dist/components/VideoEmbed/VideoEmbed.d.ts +6 -6
- package/_dist/components/badges/IndicatorBadge/IndicatorBadge.d.ts +7 -7
- package/_dist/components/badges/StatusBadge/StatusBadge.d.ts +8 -7
- package/_dist/components/badges/Tally/Tally.d.ts +8 -8
- package/_dist/components/buttons/Button/Button.d.ts +11 -10
- package/_dist/components/buttons/ButtonLink/ButtonLink.d.ts +8 -8
- package/_dist/components/buttons/ClipboardButton/ClipboardButton.d.ts +6 -6
- package/_dist/components/buttons/CloseButton/CloseButton.d.ts +6 -6
- package/_dist/components/buttons/IconButton/IconButton.d.ts +12 -11
- package/_dist/components/buttons/MenuButton/MenuButton.d.ts +11 -11
- package/_dist/components/buttons/SegmentedButton/SegmentedButton.d.ts +13 -14
- package/_dist/components/buttons/SplitButton/SplitButton.d.ts +9 -9
- package/_dist/components/buttons/SplitButton/split-button-sample-data.d.ts +1 -2
- package/_dist/components/buttons/UtilityButton/UtilityButton.d.ts +25 -11
- package/_dist/components/cards/Card/Card.d.ts +7 -7
- package/_dist/components/cards/CardHeading/CardHeading.d.ts +6 -7
- package/_dist/components/cards/CardSelectGroup/CardSelectGroup.d.ts +10 -10
- package/_dist/components/cards/EmptyStateCard/EmptyStateCard.d.ts +7 -7
- package/_dist/components/cards/LinksCard/LinksCard.d.ts +7 -7
- package/_dist/components/cards/NewSiteCard/NewSiteCard.d.ts +12 -12
- package/_dist/components/cards/PaymentCard/PaymentCard.d.ts +16 -16
- package/_dist/components/cards/PricingCard/PricingCard.d.ts +22 -22
- package/_dist/components/cards/SiteCard/SiteCard.d.ts +13 -8
- package/_dist/components/empty-states/CompactEmptyState/CompactEmptyState.d.ts +9 -9
- package/_dist/components/empty-states/HorizontalEmptyState/HorizontalEmptyState.d.ts +27 -27
- package/_dist/components/empty-states/VerticalEmptyState/VerticalEmptyState.d.ts +15 -15
- package/_dist/components/footer/FooterHeading/FooterHeading.d.ts +7 -7
- package/_dist/components/footer/FooterLinks/FooterLinks.d.ts +7 -7
- package/_dist/components/footer/SiteFooter/SiteFooter.d.ts +11 -11
- package/_dist/components/footer/SiteFooter/footer-content.d.ts +1 -2
- package/_dist/components/icons/Icon/Icon.d.ts +19 -8
- package/_dist/components/icons/PaymentIcon/PaymentIcon.d.ts +6 -6
- package/_dist/components/icons/PaymentIcon/svgData.d.ts +5 -6
- package/_dist/components/icons/PlatformIcon/PlatformIcon.d.ts +3 -3
- package/_dist/components/inputs/Checkbox/Checkbox.d.ts +7 -7
- package/_dist/components/inputs/CheckboxFieldset/CheckboxFieldset.d.ts +9 -9
- package/_dist/components/inputs/CheckboxGroup/CheckboxGroup.d.ts +8 -8
- package/_dist/components/inputs/Combobox/Combobox.d.ts +22 -17
- package/_dist/components/inputs/ComboboxMultiselect/ComboboxMultiselect.d.ts +12 -12
- package/_dist/components/inputs/Datepicker/Datepicker.d.ts +96 -0
- package/_dist/components/inputs/FileUpload/FileUpload.d.ts +6 -6
- package/_dist/components/inputs/InputGroup/InputGroup.d.ts +2 -2
- package/_dist/components/inputs/RadioGroup/RadioGroup.d.ts +13 -13
- package/_dist/components/inputs/Select/Select.d.ts +23 -14
- package/_dist/components/inputs/Select/select-sample-data.d.ts +6 -0
- package/_dist/components/inputs/Switch/Switch.d.ts +9 -7
- package/_dist/components/inputs/TextInput/TextInput.d.ts +9 -9
- package/_dist/components/inputs/Textarea/Textarea.d.ts +14 -13
- package/_dist/components/inputs/input-utilities.d.ts +35 -35
- package/_dist/components/loading-indicators/Skeleton/Skeleton.d.ts +7 -7
- package/_dist/components/loading-indicators/Spinner/Spinner.d.ts +6 -6
- package/_dist/components/navigation/Breadcrumb/Breadcrumb.d.ts +6 -6
- package/_dist/components/navigation/ButtonNav/ButtonNav.d.ts +7 -7
- package/_dist/components/navigation/DashboardNav/DashboardNav.d.ts +6 -6
- package/_dist/components/navigation/DashboardNav/DashboardNavItem.d.ts +5 -6
- package/_dist/components/navigation/DashboardSearch/DashboardSearch.d.ts +12 -12
- package/_dist/components/navigation/DropdownMenu/DropdownMenu.d.ts +7 -7
- package/_dist/components/navigation/NavMenu/NavMenu.d.ts +8 -18
- package/_dist/components/navigation/NavMenu/NavMenuDropdown.d.ts +4 -4
- package/_dist/components/navigation/Navbar/Navbar.d.ts +8 -8
- package/_dist/components/navigation/SideNav/SideNav.d.ts +7 -7
- package/_dist/components/navigation/SideNavCompact/SideNavCompact.d.ts +7 -7
- package/_dist/components/navigation/SideNavGlobal/SideNavGlobal.d.ts +6 -6
- package/_dist/components/navigation/SideNavGlobal/SideNavGlobalItem.d.ts +5 -6
- package/_dist/components/navigation/TabMenu/TabMenu.d.ts +10 -10
- package/_dist/components/navigation/TabMenu/TabMenuDropdown.d.ts +4 -5
- package/_dist/components/navigation/UserMenu/UserMenu.d.ts +7 -7
- package/_dist/components/navigation/WorkspaceSelector/WorkspaceSelector.d.ts +24 -10
- package/_dist/components/navigation/navigation-utilities.d.ts +3 -3
- package/_dist/components/notifications/Banner/Banner.d.ts +11 -9
- package/_dist/components/notifications/InlineMessage/InlineMessage.d.ts +8 -7
- package/_dist/components/notifications/SectionMessage/SectionMessage.d.ts +9 -8
- package/_dist/components/notifications/Toaster/Toast.d.ts +6 -6
- package/_dist/components/notifications/Toaster/Toaster.d.ts +6 -6
- package/_dist/components/notifications/Toaster/useToast.d.ts +3 -3
- package/_dist/components/panels/ExpansionPanel/ExpansionPanel.d.ts +6 -6
- package/_dist/components/panels/ExpansionPanelGroup/ExpansionPanelGroup.d.ts +6 -6
- package/_dist/components/panels/Panel/Panel.d.ts +16 -9
- package/_dist/components/panels/PanelList/PanelList.d.ts +8 -4
- package/_dist/components/panels/PanelList/PanelRow.d.ts +6 -6
- package/_dist/components/progress-indicators/ProgressBar/ProgressBar.d.ts +8 -7
- package/_dist/components/progress-indicators/ProgressRing/ProgressRing.d.ts +6 -6
- package/_dist/components/steppers/Stepper/Stepper.d.ts +7 -7
- package/_dist/components/steppers/VerticalStepper/VerticalStep.d.ts +7 -7
- package/_dist/components/steppers/VerticalStepper/VerticalStepper.d.ts +6 -6
- package/_dist/components/steppers/VerticalStepper/vertical-stepper-sample-data.d.ts +3 -4
- package/_dist/components/tiles/AvatarTileList/AvatarTileList.d.ts +9 -9
- package/_dist/components/tiles/Tile/Tile.d.ts +7 -7
- package/_dist/components/tiles/TileGrid/TileGrid.d.ts +8 -8
- package/_dist/css/component-css/pds-avatar.css +1 -1
- package/_dist/css/component-css/pds-button.css +1 -1
- package/_dist/css/component-css/pds-checkbox.css +1 -1
- package/_dist/css/component-css/pds-code-block.css +1 -1
- package/_dist/css/component-css/pds-combobox-multiselect.css +1 -1
- package/_dist/css/component-css/pds-combobox.css +1 -1
- package/_dist/css/component-css/pds-dashboard-nav.css +1 -1
- package/_dist/css/component-css/pds-dashboard-search.css +1 -1
- package/_dist/css/component-css/pds-datepicker.css +3 -0
- package/_dist/css/component-css/pds-index.css +34 -16
- package/_dist/css/component-css/pds-indicator-badge.css +5 -3
- package/_dist/css/component-css/pds-input-utilities.css +1 -1
- package/_dist/css/component-css/pds-menu-button.css +1 -2
- package/_dist/css/component-css/pds-navbar.css +1 -1
- package/_dist/css/component-css/pds-panel-list.css +1 -1
- package/_dist/css/component-css/pds-pantheon-logo.css +1 -1
- package/_dist/css/component-css/pds-popover.css +1 -1
- package/_dist/css/component-css/pds-progress-bar.css +1 -1
- package/_dist/css/component-css/pds-progress-ring.css +1 -1
- package/_dist/css/component-css/pds-radio-group.css +1 -1
- package/_dist/css/component-css/pds-section-message.css +1 -1
- package/_dist/css/component-css/pds-segmented-button.css +1 -1
- package/_dist/css/component-css/pds-select.css +1 -1
- package/_dist/css/component-css/pds-side-nav-compact.css +1 -1
- package/_dist/css/component-css/pds-side-nav-global.css +1 -1
- package/_dist/css/component-css/pds-side-nav.css +1 -2
- package/_dist/css/component-css/pds-site-card.css +1 -1
- package/_dist/css/component-css/pds-site-dashboard-heading.css +1 -1
- package/_dist/css/component-css/pds-switch.css +17 -1
- package/_dist/css/component-css/pds-tab-menu.css +1 -1
- package/_dist/css/component-css/pds-table.css +1 -1
- package/_dist/css/component-css/pds-tabs.css +1 -1
- package/_dist/css/component-css/pds-utility-button.css +1 -1
- package/_dist/css/component-css/pds-workspace-selector.css +1 -1
- package/_dist/css/design-tokens/pds-design-tokens-dark-mode.css +7 -0
- package/_dist/css/design-tokens/pds-design-tokens-light-mode.css +7 -0
- package/_dist/css/pds-components.css +34 -16
- package/_dist/css/pds-core.css +2 -2
- package/_dist/css/pds-layouts.css +1 -1
- package/_dist/index.css +1 -1
- package/_dist/index.d.ts +5 -2
- package/_dist/index.js +8309 -8595
- package/_dist/index.js.map +1 -1
- package/_dist/layouts/AppLayout/AppLayout.d.ts +7 -7
- package/_dist/layouts/Container/Container.d.ts +7 -7
- package/_dist/layouts/DashboardGlobal/DashboardGlobal.d.ts +13 -13
- package/_dist/layouts/DashboardInner/DashboardInner.d.ts +8 -7
- package/_dist/layouts/DocsLayout/DocsLayout.d.ts +7 -7
- package/_dist/layouts/FlexContainer/FlexContainer.d.ts +11 -11
- package/_dist/layouts/GlobalWrapper/GlobalWrapper.d.ts +3 -3
- package/_dist/layouts/SidebarLayout/SidebarLayout.d.ts +9 -8
- package/_dist/layouts/StepperLayout/StepperLayout.d.ts +2 -2
- package/_dist/layouts/ThreeItemLayout/ThreeItemLayout.d.ts +7 -7
- package/_dist/layouts/TwoItemLayout/TwoItemLayout.d.ts +7 -7
- package/_dist/{components/navigation/DashboardSearch → libs/components/SiteOptionDisplay}/SiteOptionDisplay.d.ts +11 -7
- package/_dist/libs/components/sb-docs-toc-layout.d.ts +2 -2
- package/_dist/libs/components/utility-components.d.ts +4 -4
- package/_dist/libs/types/custom-types.d.ts +46 -10
- package/_dist/{components/navigation → libs/types}/navigation-types.d.ts +15 -7
- package/_dist/mocks/data/navigation-items.d.ts +58 -147
- 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 +3 -4
- package/_dist/utilities/context-providers/OverlayContext/OverlayContext.d.ts +12 -0
- package/_dist/utilities/context-providers/ResponsiveContext/ResponsiveContext.d.ts +1 -1
- package/_dist/vars/animation.d.ts +2 -2
- package/package.json +50 -43
- /package/_dist/{components/inputs → libs/types}/input-types.d.ts +0 -0
- /package/_dist/{layouts → libs/types}/layout-types.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ContainerWidth } from '
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
+
import { ContainerWidth } from '../../libs/types/custom-types';
|
|
3
3
|
import './app-layout.css';
|
|
4
4
|
/**
|
|
5
5
|
* Prop types for AppLayout
|
|
@@ -9,6 +9,10 @@ interface AppLayoutProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
9
9
|
* Children to render in the layout.
|
|
10
10
|
*/
|
|
11
11
|
children: ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Additional class names
|
|
14
|
+
*/
|
|
15
|
+
className?: string;
|
|
12
16
|
/**
|
|
13
17
|
* PDS container width.
|
|
14
18
|
*/
|
|
@@ -61,13 +65,9 @@ interface AppLayoutProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
61
65
|
* Additional props for the sidebar `<div>` element.
|
|
62
66
|
*/
|
|
63
67
|
sidebarProps?: ComponentPropsWithoutRef<'div'>;
|
|
64
|
-
/**
|
|
65
|
-
* Additional class names
|
|
66
|
-
*/
|
|
67
|
-
className?: string;
|
|
68
68
|
}
|
|
69
69
|
/**
|
|
70
70
|
* AppLayout UI component
|
|
71
71
|
*/
|
|
72
|
-
export declare const AppLayout: ({ children, containerWidth, hasSidebarToggle, isSidebarCollapsed, labels, mainContentElement, mainContentProps, onSidebarToggle, sidebarCollapsedWidth, sidebarExpandedWidth, sidebarExpandedWidthMin, sidebarProps,
|
|
72
|
+
export declare const AppLayout: ({ children, className, containerWidth, hasSidebarToggle, isSidebarCollapsed, labels, mainContentElement, mainContentProps, onSidebarToggle, sidebarCollapsedWidth, sidebarExpandedWidth, sidebarExpandedWidthMin, sidebarProps, ...props }: AppLayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
73
73
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ContainerWidth } from '
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
+
import { ContainerWidth } from '../../libs/types/custom-types';
|
|
3
3
|
import '../../utilities/container.css';
|
|
4
4
|
/**
|
|
5
5
|
* Prop types for Container
|
|
@@ -9,17 +9,17 @@ interface ContainerProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
9
9
|
* Container content.
|
|
10
10
|
*/
|
|
11
11
|
children?: ReactNode;
|
|
12
|
-
/**
|
|
13
|
-
* Width of the container.
|
|
14
|
-
*/
|
|
15
|
-
width?: ContainerWidth;
|
|
16
12
|
/**
|
|
17
13
|
* Additional class names
|
|
18
14
|
*/
|
|
19
15
|
className?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Width of the container.
|
|
18
|
+
*/
|
|
19
|
+
width?: ContainerWidth;
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* Container UI component
|
|
23
23
|
*/
|
|
24
|
-
export declare const Container: ({ children,
|
|
24
|
+
export declare const Container: ({ children, className, width, ...props }: ContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
export {};
|
|
@@ -10,25 +10,29 @@ interface DashboardGlobalProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
10
10
|
*/
|
|
11
11
|
children: ReactNode;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Additional class names. Will be merged with existing component root classes.
|
|
14
14
|
*/
|
|
15
|
-
|
|
15
|
+
className?: string;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Whether to include a sidebar toggle button.
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
hasSidebarToggle?: boolean;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Is the dashboard in admin mode?
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
isAdmin?: boolean;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Is the sidebar expanded?
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
isSidebarExpanded?: boolean;
|
|
28
28
|
/**
|
|
29
29
|
* A fully-formed link element using the router of your choice. The link text will be used as the aria-label. If the logo should not be a link, set to `null`.
|
|
30
30
|
*/
|
|
31
31
|
logoLinkContent?: ReactNode;
|
|
32
|
+
/**
|
|
33
|
+
* Function to set the sidebar expanded state.
|
|
34
|
+
*/
|
|
35
|
+
setIsSidebarExpanded?: (isOpen: boolean) => void;
|
|
32
36
|
/**
|
|
33
37
|
* Width of the sidebar when collapsed in rems. This should not need to be modified.
|
|
34
38
|
*/
|
|
@@ -45,13 +49,9 @@ interface DashboardGlobalProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
45
49
|
* Translatable string for skiplink.
|
|
46
50
|
*/
|
|
47
51
|
skiplinkText?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Additional class names. Will be merged with existing component root classes.
|
|
50
|
-
*/
|
|
51
|
-
className?: string;
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
54
|
* DashboardGlobal UI component
|
|
55
55
|
*/
|
|
56
|
-
export declare const DashboardGlobal: ({ children, hasSidebarToggle, isAdmin, logoLinkContent, sidebarCollapsedWidth, sidebarExpandedWidth, sidebarToggleLabel, skiplinkText,
|
|
56
|
+
export declare const DashboardGlobal: ({ children, className, hasSidebarToggle, isAdmin, isSidebarExpanded, logoLinkContent, setIsSidebarExpanded, sidebarCollapsedWidth, sidebarExpandedWidth, sidebarToggleLabel, skiplinkText, ...props }: DashboardGlobalProps) => import("react/jsx-runtime").JSX.Element;
|
|
57
57
|
export {};
|
|
@@ -1,13 +1,18 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import './dashboard-inner.css';
|
|
3
3
|
/**
|
|
4
4
|
* Prop types for DashboardInner
|
|
5
5
|
*/
|
|
6
6
|
interface DashboardInnerProps extends ComponentPropsWithoutRef<'div'> {
|
|
7
7
|
/**
|
|
8
|
-
* Child elements
|
|
8
|
+
* Child elements. Main content can be passed without a slot attribute (unslotted).
|
|
9
|
+
* Optional named slots: `header-left`, `header-right`, `content` (for backwards compatibility).
|
|
9
10
|
*/
|
|
10
11
|
children: ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Additional class names
|
|
14
|
+
*/
|
|
15
|
+
className?: string;
|
|
11
16
|
/**
|
|
12
17
|
* Whether to apply bottom spacing to the second-to-last content child.
|
|
13
18
|
* This prop provides flexibility for different dashboard layouts:
|
|
@@ -17,13 +22,9 @@ interface DashboardInnerProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
17
22
|
* @default false
|
|
18
23
|
*/
|
|
19
24
|
hasContentSpacing?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Additional class names
|
|
22
|
-
*/
|
|
23
|
-
className?: string;
|
|
24
25
|
}
|
|
25
26
|
/**
|
|
26
27
|
* DashboardInner UI component
|
|
27
28
|
*/
|
|
28
|
-
export declare const DashboardInner: ({ children,
|
|
29
|
+
export declare const DashboardInner: ({ children, className, hasContentSpacing, ...props }: DashboardInnerProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
30
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import './docs-layout.css';
|
|
3
3
|
/**
|
|
4
4
|
* Prop types for DocsLayout
|
|
@@ -9,22 +9,22 @@ interface DocsLayoutProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
9
9
|
*/
|
|
10
10
|
children: ReactNode;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
* This is also the width of the sidebar when it is not collapsable (hasSidebarToggle is false).
|
|
12
|
+
* Additional class names
|
|
14
13
|
*/
|
|
15
|
-
|
|
14
|
+
className?: string;
|
|
16
15
|
/**
|
|
17
16
|
* Minimum width of the sidebar when expanded in rems.
|
|
18
17
|
* This is also the min-width of the sidebar when it is not collapsable (hasSidebarToggle is false).
|
|
19
18
|
*/
|
|
20
19
|
sidebarMinWidth?: number;
|
|
21
20
|
/**
|
|
22
|
-
*
|
|
21
|
+
* Width of the sidebar when expanded as a percentage.
|
|
22
|
+
* This is also the width of the sidebar when it is not collapsable (hasSidebarToggle is false).
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
sidebarWidth?: string;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* DocsLayout UI component
|
|
28
28
|
*/
|
|
29
|
-
export declare const DocsLayout: ({ children,
|
|
29
|
+
export declare const DocsLayout: ({ children, className, sidebarMinWidth, sidebarWidth, ...props }: DocsLayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
30
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { GridGapOptions } from '
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
+
import { GridGapOptions } from '../../libs/types/layout-types';
|
|
3
3
|
import './flex-container.css';
|
|
4
4
|
type FlexAlignContent = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'stretch';
|
|
5
5
|
type FlexAlignItems = 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline';
|
|
@@ -16,6 +16,14 @@ interface FlexContainerProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
16
16
|
* Aligns items on the cross axis.
|
|
17
17
|
*/
|
|
18
18
|
alignItems?: FlexAlignItems;
|
|
19
|
+
/**
|
|
20
|
+
* Container content.
|
|
21
|
+
*/
|
|
22
|
+
children?: ReactNode;
|
|
23
|
+
/**
|
|
24
|
+
* Additional class names
|
|
25
|
+
*/
|
|
26
|
+
className?: string;
|
|
19
27
|
/**
|
|
20
28
|
* Establishes the main-axis, thus defining the direction flex items are placed in the flex container.
|
|
21
29
|
*/
|
|
@@ -56,17 +64,9 @@ interface FlexContainerProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
56
64
|
* Justify content for mobile. If not set, will default to the same value as `justifyContent`.
|
|
57
65
|
*/
|
|
58
66
|
mobileJustifyContent?: FlexJustifyContent;
|
|
59
|
-
/**
|
|
60
|
-
* Container content.
|
|
61
|
-
*/
|
|
62
|
-
children?: ReactNode;
|
|
63
|
-
/**
|
|
64
|
-
* Additional class names
|
|
65
|
-
*/
|
|
66
|
-
className?: string;
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
69
|
* Flex Container UI component
|
|
70
70
|
*/
|
|
71
|
-
export declare const FlexContainer: ({ alignContent, alignItems, flexDirection, flexWrap, gap, justifyContent,
|
|
71
|
+
export declare const FlexContainer: ({ alignContent, alignItems, children, className, flexDirection, flexWrap, gap, justifyContent, mobileAlignContent, mobileAlignItems, mobileFlexDirection, mobileFlexWrap, mobileGap, mobileJustifyContent, ...props }: FlexContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
72
72
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
/**
|
|
3
3
|
* Prop types for GlobalWrapper
|
|
4
4
|
*/
|
|
@@ -6,7 +6,7 @@ interface GlobalWrapperProps {
|
|
|
6
6
|
/**
|
|
7
7
|
* Child components
|
|
8
8
|
*/
|
|
9
|
-
children:
|
|
9
|
+
children: ReactNode;
|
|
10
10
|
/**
|
|
11
11
|
* Mobile menu will be enabled when viewport is at or below this number in pixels.
|
|
12
12
|
*/
|
|
@@ -15,5 +15,5 @@ interface GlobalWrapperProps {
|
|
|
15
15
|
/**
|
|
16
16
|
* GlobalWrapper wrapper component.
|
|
17
17
|
*/
|
|
18
|
-
export declare const GlobalWrapper: ({ children, mobileMenuMaxWidth, }: GlobalWrapperProps) =>
|
|
18
|
+
export declare const GlobalWrapper: ({ children, mobileMenuMaxWidth, }: GlobalWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
export {};
|
|
@@ -1,13 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { GridGapOptions } from '
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
+
import { GridGapOptions } from '../../libs/types/layout-types';
|
|
3
3
|
/**
|
|
4
4
|
* Prop types for SidebarLayout
|
|
5
5
|
*/
|
|
6
6
|
interface SidebarLayoutProps extends ComponentPropsWithoutRef<'div'> {
|
|
7
7
|
/**
|
|
8
|
-
* Children to render in the layout.
|
|
8
|
+
* Children to render in the layout. Main content can be passed without a slot attribute (unslotted).
|
|
9
|
+
* Optional named slots: `sidebar` for sidebar content, `content` for backwards compatibility.
|
|
9
10
|
*/
|
|
10
11
|
children: ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Additional class names
|
|
14
|
+
*/
|
|
15
|
+
className?: string;
|
|
11
16
|
/**
|
|
12
17
|
* Gap between grid items
|
|
13
18
|
*/
|
|
@@ -24,13 +29,9 @@ interface SidebarLayoutProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
24
29
|
* Sidebar width.
|
|
25
30
|
*/
|
|
26
31
|
sidebarWidth?: 'narrow' | 'standard' | 'wide';
|
|
27
|
-
/**
|
|
28
|
-
* Additional class names
|
|
29
|
-
*/
|
|
30
|
-
className?: string;
|
|
31
32
|
}
|
|
32
33
|
/**
|
|
33
34
|
* SidebarLayout UI component
|
|
34
35
|
*/
|
|
35
|
-
export declare const SidebarLayout: ({ children, gridGap, sidebarLocation, sidebarMobileLocation, sidebarWidth,
|
|
36
|
+
export declare const SidebarLayout: ({ children, className, gridGap, sidebarLocation, sidebarMobileLocation, sidebarWidth, ...props }: SidebarLayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
36
37
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import './stepper-layout.css';
|
|
3
3
|
/**
|
|
4
4
|
* Prop types for StepperLayout
|
|
@@ -16,5 +16,5 @@ interface StepperLayoutProps {
|
|
|
16
16
|
/**
|
|
17
17
|
* StepperLayout UI component
|
|
18
18
|
*/
|
|
19
|
-
export declare const StepperLayout: ({ children, className, ...props }: StepperLayoutProps) =>
|
|
19
|
+
export declare const StepperLayout: ({ children, className, ...props }: StepperLayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { GridGapOptions, VerticalAlignOptions } from '
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
+
import { GridGapOptions, VerticalAlignOptions } from '../../libs/types/layout-types';
|
|
3
3
|
import '../../utilities/grid/grid.css';
|
|
4
4
|
import './three-item-layout.css';
|
|
5
5
|
/**
|
|
@@ -10,6 +10,10 @@ interface TwoItemLayoutProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
10
10
|
* Item content.
|
|
11
11
|
*/
|
|
12
12
|
children?: ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* Additional class names
|
|
15
|
+
*/
|
|
16
|
+
className?: string;
|
|
13
17
|
/**
|
|
14
18
|
* Width of gap between items.
|
|
15
19
|
*/
|
|
@@ -18,13 +22,9 @@ interface TwoItemLayoutProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
18
22
|
* Vertical alignment of items.
|
|
19
23
|
*/
|
|
20
24
|
verticalAlign?: VerticalAlignOptions;
|
|
21
|
-
/**
|
|
22
|
-
* Additional class names
|
|
23
|
-
*/
|
|
24
|
-
className?: string;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* ThreeItemLayout UI component.
|
|
28
28
|
*/
|
|
29
|
-
export declare const ThreeItemLayout: ({ children, gridGap, verticalAlign,
|
|
29
|
+
export declare const ThreeItemLayout: ({ children, className, gridGap, verticalAlign, ...props }: TwoItemLayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
30
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { GridGapOptions, VerticalAlignOptions } from '
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
+
import { GridGapOptions, VerticalAlignOptions } from '../../libs/types/layout-types';
|
|
3
3
|
import '../../utilities/grid/grid.css';
|
|
4
4
|
import './two-item-layout.css';
|
|
5
5
|
/**
|
|
@@ -10,6 +10,10 @@ interface TwoItemLayoutProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
10
10
|
* Item content.
|
|
11
11
|
*/
|
|
12
12
|
children?: ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* Additional class names
|
|
15
|
+
*/
|
|
16
|
+
className?: string;
|
|
13
17
|
/**
|
|
14
18
|
* Width of gap between items.
|
|
15
19
|
*/
|
|
@@ -22,13 +26,9 @@ interface TwoItemLayoutProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
22
26
|
* Vertical alignment of items.
|
|
23
27
|
*/
|
|
24
28
|
verticalAlign?: VerticalAlignOptions;
|
|
25
|
-
/**
|
|
26
|
-
* Additional class names
|
|
27
|
-
*/
|
|
28
|
-
className?: string;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* TwoItemLayout UI component.
|
|
32
32
|
*/
|
|
33
|
-
export declare const TwoItemLayout: ({ children, gridGap, layoutVariant, verticalAlign,
|
|
33
|
+
export declare const TwoItemLayout: ({ children, className, gridGap, layoutVariant, verticalAlign, ...props }: TwoItemLayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
34
34
|
export {};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { SiteStatus, SiteType } from '
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { SiteStatus, SiteType } from '../../types/custom-types';
|
|
3
|
+
import './site-option-display.css';
|
|
4
|
+
/**
|
|
5
|
+
* Site option item type.
|
|
6
|
+
*/
|
|
3
7
|
export type SiteOption = {
|
|
4
8
|
/**
|
|
5
9
|
* ID of the site.
|
|
@@ -24,16 +28,16 @@ export type SiteOption = {
|
|
|
24
28
|
};
|
|
25
29
|
/** Site option display props. */
|
|
26
30
|
export interface SiteOptionDisplayProps extends ComponentPropsWithoutRef<'div'> {
|
|
27
|
-
/**
|
|
28
|
-
* Site option to display.
|
|
29
|
-
*/
|
|
30
|
-
option: SiteOption;
|
|
31
31
|
/**
|
|
32
32
|
* Additional class names
|
|
33
33
|
*/
|
|
34
34
|
className?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Site option to display.
|
|
37
|
+
*/
|
|
38
|
+
option: SiteOption;
|
|
35
39
|
}
|
|
36
40
|
/**
|
|
37
41
|
* UI component to display site options.
|
|
38
42
|
*/
|
|
39
|
-
export declare const SiteOptionDisplay: ({
|
|
43
|
+
export declare const SiteOptionDisplay: ({ className, option, ...props }: SiteOptionDisplayProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { HeadingLevel } from '
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { HeadingLevel } from '../types/custom-types';
|
|
3
3
|
interface HxProps {
|
|
4
4
|
baseClass?: string;
|
|
5
5
|
children?: ReactNode;
|
|
6
|
+
className?: string;
|
|
6
7
|
id?: string;
|
|
7
8
|
level: HeadingLevel;
|
|
8
|
-
className?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare const Hx: ({ baseClass, children, id, level,
|
|
10
|
+
export declare const Hx: ({ baseClass, children, className, id, level, ...props }: HxProps) => import("react").DetailedReactHTMLElement<{
|
|
11
11
|
className: any;
|
|
12
12
|
id: string;
|
|
13
13
|
}, HTMLElement>;
|
|
@@ -1,31 +1,38 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { PDSIcon } from '
|
|
2
|
+
import { PDSIcon } from '../../components/icons/Icon/Icon';
|
|
3
3
|
export type BadgeColor = 'success' | 'critical' | 'info' | 'warning' | 'neutral' | 'brand' | 'silver' | 'gold' | 'platinum' | 'diamond';
|
|
4
4
|
export type ButtonDisplayType = 'label-only' | 'icon-start' | 'icon-end';
|
|
5
5
|
export type ButtonSize = 'sm' | 'md' | 'lg';
|
|
6
6
|
export type ButtonType = 'button' | 'submit' | 'reset';
|
|
7
|
-
export type ButtonVariant = 'primary' | 'secondary' | 'subtle' | 'brand' | 'brand-secondary' | 'critical' | 'navbar' | 'inline';
|
|
7
|
+
export type ButtonVariant = 'primary' | 'secondary' | 'subtle' | 'brand' | 'brand-secondary' | 'critical' | 'critical-secondary' | 'navbar' | 'inline';
|
|
8
8
|
export type ContainerWidth = 'narrow' | 'standard' | 'wide' | 'x-wide' | 'full';
|
|
9
9
|
export type Display = 'block' | 'inline' | 'inline-block' | 'flex' | 'inline-flex' | 'grid' | 'inline-grid' | 'flow-root' | 'none' | 'contents' | 'table' | 'table-row' | 'table-cell' | 'table-caption' | 'table-column' | 'table-column-group' | 'table-footer-group' | 'table-header-group' | 'table-row-group' | 'list-item' | 'inherit' | 'initial' | 'revert' | 'unset';
|
|
10
|
+
export type StatusType = 'info' | 'success' | 'warning' | 'critical' | 'discovery';
|
|
11
|
+
export type StatusTypeExtended = StatusType | 'neutral' | 'working';
|
|
12
|
+
export declare const StatusTypeLabels: Record<StatusType, string>;
|
|
10
13
|
export type FuiOffset = number | {
|
|
11
|
-
mainAxis?: number;
|
|
12
|
-
crossAxis?: number;
|
|
13
14
|
alignmentAxis?: number | null;
|
|
15
|
+
crossAxis?: number;
|
|
16
|
+
mainAxis?: number;
|
|
14
17
|
};
|
|
15
18
|
export type FuiPlacement = 'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end';
|
|
16
19
|
export type HeadingItemType = {
|
|
17
|
-
/**
|
|
18
|
-
* Label for a menu item
|
|
19
|
-
*/
|
|
20
|
-
label: string;
|
|
21
20
|
/**
|
|
22
21
|
* Is the item a heading?
|
|
23
22
|
*/
|
|
24
23
|
isHeading: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Label for a menu item
|
|
26
|
+
*/
|
|
27
|
+
label: string;
|
|
25
28
|
};
|
|
26
29
|
export type HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span';
|
|
27
30
|
export type HeadingLevelCommon = Exclude<HeadingLevel, 'h1' | 'h5' | 'h6'>;
|
|
28
31
|
export type LinkItemType = {
|
|
32
|
+
/**
|
|
33
|
+
* Screen reader label for critical items. Only used when isCritical is true.
|
|
34
|
+
*/
|
|
35
|
+
criticalLabel?: string;
|
|
29
36
|
/**
|
|
30
37
|
* Description of the item
|
|
31
38
|
*/
|
|
@@ -38,6 +45,10 @@ export type LinkItemType = {
|
|
|
38
45
|
* Optional icon for this item. Choose from available icons in the Icon component.
|
|
39
46
|
*/
|
|
40
47
|
iconName?: PDSIcon;
|
|
48
|
+
/**
|
|
49
|
+
* Is this a critical action item?
|
|
50
|
+
*/
|
|
51
|
+
isCritical?: boolean;
|
|
41
52
|
/**
|
|
42
53
|
* Is the item a link?
|
|
43
54
|
*/
|
|
@@ -56,6 +67,10 @@ export type MenuItemType = {
|
|
|
56
67
|
* (optional) Callback function to execute when menu item is activated
|
|
57
68
|
*/
|
|
58
69
|
callback?: () => void;
|
|
70
|
+
/**
|
|
71
|
+
* Screen reader label for critical items. Only used when isCritical is true.
|
|
72
|
+
*/
|
|
73
|
+
criticalLabel?: string;
|
|
59
74
|
/**
|
|
60
75
|
* Description of the item
|
|
61
76
|
*/
|
|
@@ -72,6 +87,10 @@ export type MenuItemType = {
|
|
|
72
87
|
* Optional ID value for this item.
|
|
73
88
|
*/
|
|
74
89
|
id?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Is this a critical action item?
|
|
92
|
+
*/
|
|
93
|
+
isCritical?: boolean;
|
|
75
94
|
/**
|
|
76
95
|
* Label for a menu item
|
|
77
96
|
*/
|
|
@@ -82,6 +101,18 @@ export type MenuItemType = {
|
|
|
82
101
|
testId?: string;
|
|
83
102
|
};
|
|
84
103
|
export type NodeItemType = {
|
|
104
|
+
/**
|
|
105
|
+
* Screen reader label for critical items. Only used when isCritical is true.
|
|
106
|
+
*/
|
|
107
|
+
criticalLabel?: string;
|
|
108
|
+
/**
|
|
109
|
+
* Is this item disabled?
|
|
110
|
+
*/
|
|
111
|
+
disabled?: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Is this a critical action item?
|
|
114
|
+
*/
|
|
115
|
+
isCritical?: boolean;
|
|
85
116
|
/**
|
|
86
117
|
* Is the item a node?
|
|
87
118
|
*/
|
|
@@ -97,9 +128,14 @@ export type SeparatorItemType = {
|
|
|
97
128
|
*/
|
|
98
129
|
isSeparator: boolean;
|
|
99
130
|
};
|
|
100
|
-
export type
|
|
131
|
+
export type MenuItem = HeadingItemType | LinkItemType | MenuItemType | NodeItemType | SeparatorItemType;
|
|
132
|
+
export declare const isSeparatorItemType: (item: MenuItem) => item is SeparatorItemType;
|
|
133
|
+
export declare const isHeadingItemType: (item: MenuItem) => item is HeadingItemType;
|
|
134
|
+
export declare const isLinkItemType: (item: MenuItem) => item is LinkItemType;
|
|
135
|
+
export declare const isNodeItemType: (item: MenuItem) => item is NodeItemType;
|
|
136
|
+
export type SitePlanLevel = 'sandbox' | 'basic' | 'performance-small' | 'performance-medium' | 'performance-large' | 'performance-xl' | 'performance-2xl' | 'elite' | 'pro' | 'business' | 'flagship-performance';
|
|
101
137
|
export declare const SitePlanLevelLabel: Record<SitePlanLevel, string>;
|
|
102
|
-
export type SiteStatus = 'active' | 'frozen';
|
|
138
|
+
export type SiteStatus = 'active' | 'frozen' | 'restricted';
|
|
103
139
|
export type SiteType = 'drupal' | 'wordpress' | 'gatsby' | 'nextjs';
|
|
104
140
|
export declare const SiteTypeLabel: Record<SiteType, string>;
|
|
105
141
|
export declare const SiteTypeIcon: Record<SiteType, PDSIcon>;
|
|
@@ -3,11 +3,11 @@ export type NavigationItem = {
|
|
|
3
3
|
/**
|
|
4
4
|
* A boolean indicating whether the item is the active item.
|
|
5
5
|
*/
|
|
6
|
-
isActive?: boolean;
|
|
6
|
+
isActive?: boolean | null;
|
|
7
7
|
/**
|
|
8
8
|
* Link content — a fully-formed link element using the router of your choice. If a string is provided instead, the item will be rendered as a link that navigates to the first child item.
|
|
9
9
|
*/
|
|
10
|
-
linkContent
|
|
10
|
+
linkContent?: ReactElement | string;
|
|
11
11
|
/**
|
|
12
12
|
* Submenu items.
|
|
13
13
|
*/
|
|
@@ -17,13 +17,21 @@ export type FlattenedNavigationItem = {
|
|
|
17
17
|
/**
|
|
18
18
|
* A boolean indicating whether the item is the active item.
|
|
19
19
|
*/
|
|
20
|
-
isActive?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Link content — a fully-formed link element using the router of your choice.
|
|
23
|
-
*/
|
|
24
|
-
linkContent: ReactElement;
|
|
20
|
+
isActive?: boolean | null;
|
|
25
21
|
/**
|
|
26
22
|
* Nesting level of the item.
|
|
27
23
|
*/
|
|
28
24
|
level: 'top-level' | 'second-level' | 'third-level' | 'fourth-level';
|
|
25
|
+
/**
|
|
26
|
+
* Link content — a fully-formed link element using the router of your choice.
|
|
27
|
+
*/
|
|
28
|
+
linkContent?: ReactElement;
|
|
29
29
|
};
|
|
30
|
+
export interface NavMenuItem {
|
|
31
|
+
id?: string;
|
|
32
|
+
isActive?: boolean | null;
|
|
33
|
+
isSeparator?: boolean;
|
|
34
|
+
label: string;
|
|
35
|
+
linkContent?: ReactElement;
|
|
36
|
+
links?: NavMenuItem[];
|
|
37
|
+
}
|