@pantheon-systems/pds-toolkit-react 2.0.0-alpha.30 → 2.0.0-alpha.32
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/{navigation/DashboardSearch/DashboardSearch.d.ts → SiteSearch/SiteSearch.d.ts} +6 -11
- package/dist/components/cards/ActionCard/ActionCard.d.ts +64 -0
- package/dist/components/cards/Card/Card.d.ts +8 -1
- package/dist/components/cards/{CardSelectGroup/CardSelectGroup.d.ts → CardSelect/CardSelect.d.ts} +13 -8
- package/dist/components/charts/PieChart/PieChart.d.ts +59 -0
- package/dist/components/charts/ProportionBar/ProportionBar.d.ts +57 -0
- package/dist/components/charts/shared/ChartSkeleton.d.ts +5 -1
- package/dist/components/links/CTALink/CTALink.d.ts +1 -1
- package/dist/components/navigation/SideNav/SideNav.d.ts +7 -1
- package/dist/components/navigation/TreeNav/TreeNav.d.ts +48 -0
- package/dist/css/component-css/pds-action-card.css +1 -0
- package/dist/css/component-css/pds-breadcrumb.css +1 -1
- package/dist/css/component-css/pds-card-select.css +1 -0
- package/dist/css/component-css/pds-card.css +1 -1
- package/dist/css/component-css/pds-chart-wrapper.css +1 -1
- package/dist/css/component-css/pds-cta-link.css +1 -1
- package/dist/css/component-css/pds-dropdown-menu.css +1 -1
- package/dist/css/component-css/pds-index.css +8 -16
- package/dist/css/component-css/pds-nav-menu.css +1 -5
- package/dist/css/component-css/pds-pie-chart.css +1 -0
- package/dist/css/component-css/pds-proportion-bar.css +1 -0
- package/dist/css/component-css/pds-side-nav-global.css +1 -7
- package/dist/css/component-css/pds-side-nav.css +3 -1
- package/dist/css/component-css/pds-site-search.css +1 -0
- package/dist/css/component-css/pds-tree-nav.css +1 -0
- package/dist/css/layout-css/pds-app-layout.css +2 -2
- package/dist/css/layout-css/pds-index.css +2 -2
- package/dist/css/layout-css/pds-stepper-layout.css +1 -1
- package/dist/css/pds-components.css +8 -16
- package/dist/css/pds-core.css +1 -1
- package/dist/css/pds-layouts.css +2 -2
- package/dist/index.css +1 -1
- package/dist/index.d.ts +8 -2
- package/dist/index.js +5559 -4675
- package/dist/index.js.map +1 -1
- package/dist/index.source.d.ts +6 -11
- package/dist/libs/types/custom-types.d.ts +0 -2
- package/package.json +2 -2
- package/dist/components/SiteDashboardHeading/SiteDashboardHeading.d.ts +0 -62
- package/dist/components/cards/CardHeading/CardHeading.d.ts +0 -31
- package/dist/components/cards/EmptyStateCard/EmptyStateCard.d.ts +0 -36
- package/dist/components/cards/LinksCard/LinksCard.d.ts +0 -29
- package/dist/components/cards/LinksCard/links-card-sample-data.d.ts +0 -2
- package/dist/components/cards/NewSiteCard/NewSiteCard.d.ts +0 -61
- package/dist/components/cards/PaymentCard/PaymentCard.d.ts +0 -47
- package/dist/components/cards/PricingCard/PricingCard.d.ts +0 -95
- package/dist/components/cards/SiteCard/SiteCard.d.ts +0 -50
- package/dist/components/navigation/SideNavCompact/SideNavCompact.d.ts +0 -53
- package/dist/css/component-css/pds-card-heading.css +0 -1
- package/dist/css/component-css/pds-card-select-group.css +0 -1
- package/dist/css/component-css/pds-dashboard-search.css +0 -1
- package/dist/css/component-css/pds-empty-state-card.css +0 -1
- package/dist/css/component-css/pds-links-card.css +0 -1
- package/dist/css/component-css/pds-new-site-card.css +0 -1
- package/dist/css/component-css/pds-payment-card.css +0 -1
- package/dist/css/component-css/pds-pricing-card-local.css +0 -1
- package/dist/css/component-css/pds-pricing-card.css +0 -1
- package/dist/css/component-css/pds-side-nav-compact.css +0 -1
- package/dist/css/component-css/pds-site-card.css +0 -1
- package/dist/css/component-css/pds-site-dashboard-heading.css +0 -1
package/dist/index.source.d.ts
CHANGED
|
@@ -14,17 +14,13 @@ export * from './components/buttons/SplitButton/SplitButton';
|
|
|
14
14
|
export * from './components/buttons/SSOButton/SSOButton';
|
|
15
15
|
export * from './components/buttons/UtilityButton/UtilityButton';
|
|
16
16
|
export * from './components/Callout/Callout';
|
|
17
|
+
export * from './components/cards/ActionCard/ActionCard';
|
|
17
18
|
export * from './components/cards/Card/Card';
|
|
18
|
-
export * from './components/cards/
|
|
19
|
-
export * from './components/cards/CardSelectGroup/CardSelectGroup';
|
|
20
|
-
export * from './components/cards/EmptyStateCard/EmptyStateCard';
|
|
21
|
-
export * from './components/cards/LinksCard/LinksCard';
|
|
22
|
-
export * from './components/cards/NewSiteCard/NewSiteCard';
|
|
23
|
-
export * from './components/cards/PaymentCard/PaymentCard';
|
|
24
|
-
export * from './components/cards/PricingCard/PricingCard';
|
|
25
|
-
export * from './components/cards/SiteCard/SiteCard';
|
|
19
|
+
export * from './components/cards/CardSelect/CardSelect';
|
|
26
20
|
export * from './components/charts/BarChart/BarChart';
|
|
27
21
|
export * from './components/charts/LineChart/LineChart';
|
|
22
|
+
export * from './components/charts/PieChart/PieChart';
|
|
23
|
+
export * from './components/charts/ProportionBar/ProportionBar';
|
|
28
24
|
export * from './components/charts/shared/types';
|
|
29
25
|
export * from './components/CodeBlock/CodeBlock';
|
|
30
26
|
export * from './components/ComparisonList/ComparisonList';
|
|
@@ -60,15 +56,14 @@ export * from './components/media/Picture/Picture';
|
|
|
60
56
|
export * from './components/media/VideoEmbed/VideoEmbed';
|
|
61
57
|
export * from './components/navigation/Breadcrumb/Breadcrumb';
|
|
62
58
|
export * from './components/navigation/ButtonNav/ButtonNav';
|
|
63
|
-
export * from './components/navigation/DashboardSearch/DashboardSearch';
|
|
64
59
|
export * from './components/navigation/DropdownMenu/DropdownMenu';
|
|
65
60
|
export * from './components/navigation/Navbar/Navbar';
|
|
66
61
|
export * from './components/navigation/SideNav/SideNav';
|
|
67
|
-
export * from './components/navigation/SideNavCompact/SideNavCompact';
|
|
68
62
|
export * from './components/navigation/SideNavGlobal/SideNavGlobal';
|
|
69
63
|
export * from './components/navigation/SideNavGlobal/SideNavGlobalItem';
|
|
70
64
|
export * from './components/navigation/SiteMenu/SiteMenu';
|
|
71
65
|
export * from './components/navigation/TabMenu/TabMenu';
|
|
66
|
+
export * from './components/navigation/TreeNav/TreeNav';
|
|
72
67
|
export * from './components/navigation/UserMenu/UserMenu';
|
|
73
68
|
export * from './components/navigation/WorkspaceSelector/WorkspaceSelector';
|
|
74
69
|
export * from './components/notifications/Banner/Banner';
|
|
@@ -94,8 +89,8 @@ export * from './components/PantheonLogo/PantheonLogo';
|
|
|
94
89
|
export * from './components/Popover/Popover';
|
|
95
90
|
export * from './components/progress-indicators/ProgressBar/ProgressBar';
|
|
96
91
|
export * from './components/progress-indicators/ProgressRing/ProgressRing';
|
|
97
|
-
export * from './components/SiteDashboardHeading/SiteDashboardHeading';
|
|
98
92
|
export * from './components/SiteFooter/SiteFooter';
|
|
93
|
+
export * from './components/SiteSearch/SiteSearch';
|
|
99
94
|
export * from './components/SortableList/SortableList';
|
|
100
95
|
export * from './components/SortableList/SortableListHeader';
|
|
101
96
|
export * from './components/SortableList/SortableRow';
|
|
@@ -143,8 +143,6 @@ export declare const isSeparatorItemType: (item: MenuItem) => item is SeparatorI
|
|
|
143
143
|
export declare const isHeadingItemType: (item: MenuItem) => item is HeadingItemType;
|
|
144
144
|
export declare const isLinkItemType: (item: MenuItem) => item is LinkItemType;
|
|
145
145
|
export declare const isNodeItemType: (item: MenuItem) => item is NodeItemType;
|
|
146
|
-
export type SitePlanLevel = 'sandbox' | 'basic' | 'performance-small' | 'performance-medium' | 'performance-large' | 'performance-xl' | 'performance-2xl' | 'elite' | 'pro' | 'business' | 'flagship-performance';
|
|
147
|
-
export declare const SitePlanLevelLabel: Record<SitePlanLevel, string>;
|
|
148
146
|
export type SiteStatus = 'active' | 'frozen' | 'restricted';
|
|
149
147
|
export type SiteType = 'drupal' | 'wordpress' | 'gatsby' | 'nextjs';
|
|
150
148
|
export declare const SiteTypeLabel: Record<SiteType, string>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pantheon-systems/pds-toolkit-react",
|
|
3
3
|
"technology": "React",
|
|
4
|
-
"version": "2.0.0-alpha.
|
|
4
|
+
"version": "2.0.0-alpha.32",
|
|
5
5
|
"description": "PDS toolkit built using the React framework",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"prebuild": "npm run build:css && npm run build:css:components && npm run build:css:layouts && npm run build:css:packageExtraCss && npm run generate:ux-writing-search-index && npm run generate:ux-writing-guide",
|
|
55
55
|
"build": "NODE_OPTIONS=--max-old-space-size=4096 NODE_ENV=production storybook build",
|
|
56
56
|
"build-storybook": "NODE_ENV=production storybook build",
|
|
57
|
-
"postbuild": "node scripts/
|
|
57
|
+
"postbuild": "node scripts/generate-html-docs.js && node scripts/build-starter-template.js && node scripts/copy-mcp-assets.js && node scripts/verify-mcp-build.js",
|
|
58
58
|
"verify:mcp": "node scripts/verify-mcp-build.js",
|
|
59
59
|
"start": "node index.js",
|
|
60
60
|
"develop": "npm run storybook",
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
-
import { SitePlanLevel, SiteType } from '../../libs/types/custom-types';
|
|
3
|
-
import './site-dashboard-heading.css';
|
|
4
|
-
/**
|
|
5
|
-
* Prop types for SiteDashboardHeading
|
|
6
|
-
*/
|
|
7
|
-
export interface SiteDashboardHeadingProps extends ComponentPropsWithoutRef<'div'> {
|
|
8
|
-
/**
|
|
9
|
-
* Additional class names
|
|
10
|
-
*/
|
|
11
|
-
className?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Function to handle upgrade click.
|
|
14
|
-
*/
|
|
15
|
-
handleUpgradeClick?: () => void;
|
|
16
|
-
/**
|
|
17
|
-
* Function to handle popover content.
|
|
18
|
-
*/
|
|
19
|
-
popoverContent?: ReactNode;
|
|
20
|
-
/**
|
|
21
|
-
* Function to handle popover open state.
|
|
22
|
-
*/
|
|
23
|
-
popoverIsOpen?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Title for the popover.
|
|
26
|
-
*/
|
|
27
|
-
popoverTitle?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Function to set popover open state.
|
|
30
|
-
*/
|
|
31
|
-
setPopoverIsOpen?: (isOpen: boolean) => void;
|
|
32
|
-
/**
|
|
33
|
-
* Name of the site.
|
|
34
|
-
*/
|
|
35
|
-
siteName: string;
|
|
36
|
-
/**
|
|
37
|
-
* Site plan level.
|
|
38
|
-
*/
|
|
39
|
-
sitePlanLevel?: SitePlanLevel | (string & {});
|
|
40
|
-
/**
|
|
41
|
-
* Site type.
|
|
42
|
-
*/
|
|
43
|
-
siteType?: SiteType;
|
|
44
|
-
/**
|
|
45
|
-
* Additional props to pass to the trigger component. Accepts any HTML div attributes.
|
|
46
|
-
*/
|
|
47
|
-
triggerProps?: ComponentPropsWithoutRef<'div'> & {
|
|
48
|
-
[key: `data-${string}`]: string | undefined;
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* Label for the upgrade button.
|
|
52
|
-
*/
|
|
53
|
-
upgradeLabel: string;
|
|
54
|
-
/**
|
|
55
|
-
* Name of the workspace.
|
|
56
|
-
*/
|
|
57
|
-
workspaceName?: string;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* SiteDashboardHeading UI component
|
|
61
|
-
*/
|
|
62
|
-
export declare const SiteDashboardHeading: ({ className, handleUpgradeClick, popoverContent, popoverIsOpen, popoverTitle, setPopoverIsOpen, siteName, sitePlanLevel, siteType, triggerProps, upgradeLabel, workspaceName, ...props }: SiteDashboardHeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { HeadingLevelCommon } from '../../../libs/types/custom-types';
|
|
2
|
-
import './card-heading.css';
|
|
3
|
-
/**
|
|
4
|
-
* Prop types for CardHeading
|
|
5
|
-
*/
|
|
6
|
-
export interface CardHeadingProps {
|
|
7
|
-
/**
|
|
8
|
-
* Additional class names
|
|
9
|
-
*/
|
|
10
|
-
className?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Font size of the heading. Default is `XL`.
|
|
13
|
-
*/
|
|
14
|
-
fontSize?: 'L' | 'XL';
|
|
15
|
-
/**
|
|
16
|
-
* Font weight of the heading. Default is `bold`.
|
|
17
|
-
*/
|
|
18
|
-
fontWeight?: 'bold' | 'semibold';
|
|
19
|
-
/**
|
|
20
|
-
* Heading level or `span`.
|
|
21
|
-
*/
|
|
22
|
-
level?: HeadingLevelCommon;
|
|
23
|
-
/**
|
|
24
|
-
* Heading text.
|
|
25
|
-
*/
|
|
26
|
-
text?: string;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* CardHeading UI component
|
|
30
|
-
*/
|
|
31
|
-
export declare const CardHeading: ({ className, fontSize, fontWeight, level, text, ...props }: CardHeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
-
import { HeadingLevelCommon } from '../../../libs/types/custom-types';
|
|
3
|
-
import './empty-state-card.css';
|
|
4
|
-
/**
|
|
5
|
-
* Prop types for EmptyStateCard
|
|
6
|
-
*/
|
|
7
|
-
export interface EmptyStateCardProps extends ComponentPropsWithoutRef<'div'> {
|
|
8
|
-
/**
|
|
9
|
-
* Additional class names
|
|
10
|
-
*/
|
|
11
|
-
className?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Heading level or `span`.
|
|
14
|
-
*/
|
|
15
|
-
headingLevel?: HeadingLevelCommon;
|
|
16
|
-
/**
|
|
17
|
-
* Heading text.
|
|
18
|
-
*/
|
|
19
|
-
headingText: string;
|
|
20
|
-
/**
|
|
21
|
-
* Whether the link is external or not.
|
|
22
|
-
*/
|
|
23
|
-
isLinkExternal?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* A link element using the router of your choice.
|
|
26
|
-
*/
|
|
27
|
-
linkContent: ReactNode;
|
|
28
|
-
/**
|
|
29
|
-
* Summary paragraph.
|
|
30
|
-
*/
|
|
31
|
-
summary: string;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* EmptyStateCard UI component
|
|
35
|
-
*/
|
|
36
|
-
export declare const EmptyStateCard: ({ className, headingLevel, headingText, isLinkExternal, linkContent, summary, ...props }: EmptyStateCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
-
import { HeadingLevelCommon } from '../../../libs/types/custom-types';
|
|
3
|
-
import './links-card.css';
|
|
4
|
-
/**
|
|
5
|
-
* Prop types for LinksCard
|
|
6
|
-
*/
|
|
7
|
-
interface LinksCardProps extends ComponentPropsWithoutRef<'div'> {
|
|
8
|
-
/**
|
|
9
|
-
* Additional class names
|
|
10
|
-
*/
|
|
11
|
-
className?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Heading level
|
|
14
|
-
*/
|
|
15
|
-
headingLevel?: HeadingLevelCommon;
|
|
16
|
-
/**
|
|
17
|
-
* Link Card heading
|
|
18
|
-
*/
|
|
19
|
-
headingText: string;
|
|
20
|
-
/**
|
|
21
|
-
* Array of links
|
|
22
|
-
*/
|
|
23
|
-
linkItems?: ReactNode[];
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Links Card UI component
|
|
27
|
-
*/
|
|
28
|
-
export declare const LinksCard: ({ className, headingLevel, headingText, linkItems, ...props }: LinksCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
export {};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactElement } from 'react';
|
|
2
|
-
import { BadgeColor } from '../../badges/Badge/Badge';
|
|
3
|
-
import './new-site-card.css';
|
|
4
|
-
interface BadgeValueType {
|
|
5
|
-
color: BadgeColor;
|
|
6
|
-
label: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const badgeTypes: {
|
|
9
|
-
[key: string]: BadgeValueType;
|
|
10
|
-
};
|
|
11
|
-
type ActualPlatformIconType = 'drupal' | 'drupal7' | 'front-end-sites' | 'gatsby' | 'gatsby-wp' | 'google' | 'import-custom' | 'microsoft' | 'next' | 'next-drupal' | 'next-wp' | 'splunk' | 'sumo-logic' | 'wordpress';
|
|
12
|
-
type PantheonIconType = 'pantheon';
|
|
13
|
-
type PlatformIconType = ActualPlatformIconType | PantheonIconType;
|
|
14
|
-
type IconVariantType = 'bitbucket' | 'github' | 'gitlab';
|
|
15
|
-
type IconType = IconVariantType | PlatformIconType;
|
|
16
|
-
/**
|
|
17
|
-
* Prop types for NewSiteCard
|
|
18
|
-
*/
|
|
19
|
-
interface NewSiteCardProps extends ComponentPropsWithoutRef<'div'> {
|
|
20
|
-
/**
|
|
21
|
-
* Optional indicator badge type. Choose from only early-access at this time.
|
|
22
|
-
*/
|
|
23
|
-
badge?: 'early-access';
|
|
24
|
-
/**
|
|
25
|
-
* Additional class names
|
|
26
|
-
*/
|
|
27
|
-
className?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Icon. Accepts any platform type from PlatformIcon or github, gitlab, bitbucket from Icon.
|
|
30
|
-
*/
|
|
31
|
-
icon?: IconType;
|
|
32
|
-
/**
|
|
33
|
-
* Text for screen readers when link opens in new window
|
|
34
|
-
*/
|
|
35
|
-
newWindowString?: string;
|
|
36
|
-
/**
|
|
37
|
-
* The primary link for the selection card.
|
|
38
|
-
*/
|
|
39
|
-
selectionLink: ReactElement;
|
|
40
|
-
/**
|
|
41
|
-
* Card subtitle
|
|
42
|
-
*/
|
|
43
|
-
subtitle?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Card summary
|
|
46
|
-
*/
|
|
47
|
-
summary?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Array of supplemental links. Maximum of 2.
|
|
50
|
-
*/
|
|
51
|
-
supplementalLinks?: ReactElement[];
|
|
52
|
-
/**
|
|
53
|
-
* Card title
|
|
54
|
-
*/
|
|
55
|
-
title: string;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* NewSiteCard UI component
|
|
59
|
-
*/
|
|
60
|
-
export declare const NewSiteCard: ({ badge, className, icon, newWindowString, selectionLink, subtitle, summary, supplementalLinks, title, ...props }: NewSiteCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
61
|
-
export {};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
import './payment-card.css';
|
|
3
|
-
/**
|
|
4
|
-
* Prop types for PaymentCard
|
|
5
|
-
*/
|
|
6
|
-
export interface PaymentCardProps extends ComponentPropsWithoutRef<'div'> {
|
|
7
|
-
/**
|
|
8
|
-
* The name of the cardholder.
|
|
9
|
-
*/
|
|
10
|
-
cardholderName?: string;
|
|
11
|
-
/**
|
|
12
|
-
* The last four digits of the card number.
|
|
13
|
-
*/
|
|
14
|
-
cardNumber?: number;
|
|
15
|
-
/**
|
|
16
|
-
* The type of payment icon to display.
|
|
17
|
-
*/
|
|
18
|
-
cardType?: 'visa' | 'mastercard' | 'amex' | 'discover';
|
|
19
|
-
/**
|
|
20
|
-
* A string for the lower left corner.
|
|
21
|
-
*/
|
|
22
|
-
cardUsage?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Additional class names
|
|
25
|
-
*/
|
|
26
|
-
className?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Function for when “view details” is clicked
|
|
29
|
-
*/
|
|
30
|
-
detailsCallback?: () => void;
|
|
31
|
-
/**
|
|
32
|
-
* Translation string for “view details”
|
|
33
|
-
*/
|
|
34
|
-
detailsLabel?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Expiration date of the card in MM/YY format.
|
|
37
|
-
*/
|
|
38
|
-
expDate?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Function for when this card is selected
|
|
41
|
-
*/
|
|
42
|
-
selectionCallback?: () => void;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* PaymentCard UI component
|
|
46
|
-
*/
|
|
47
|
-
export declare const PaymentCard: ({ cardholderName, cardNumber, cardType, cardUsage, className, detailsCallback, detailsLabel, expDate, selectionCallback, ...props }: PaymentCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
import { HeadingLevelCommon } from '../../../libs/types/custom-types';
|
|
3
|
-
import { ListItems } from '../../ComparisonList/ComparisonList';
|
|
4
|
-
import './pricing-card.css';
|
|
5
|
-
interface PrimaryCallToAction {
|
|
6
|
-
buttonAction?: () => void;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
label?: string;
|
|
9
|
-
linkTarget?: string;
|
|
10
|
-
linkUrl?: string;
|
|
11
|
-
type?: 'button' | 'link';
|
|
12
|
-
variant?: 'primary' | 'secondary';
|
|
13
|
-
}
|
|
14
|
-
interface SecondaryCallToAction {
|
|
15
|
-
buttonAction?: () => void;
|
|
16
|
-
label?: string;
|
|
17
|
-
linkTarget?: string;
|
|
18
|
-
linkUrl?: string;
|
|
19
|
-
type?: 'button' | 'link';
|
|
20
|
-
}
|
|
21
|
-
interface PlanPricingData {
|
|
22
|
-
customActionLabel?: string;
|
|
23
|
-
label?: string;
|
|
24
|
-
listItems?: ListItems[];
|
|
25
|
-
listLabel?: string;
|
|
26
|
-
price?: string;
|
|
27
|
-
priceDetails?: string;
|
|
28
|
-
pricePrefix?: string;
|
|
29
|
-
savingsBadgeLabel?: string;
|
|
30
|
-
savingsDetails?: string;
|
|
31
|
-
}
|
|
32
|
-
interface StatusBadgeLabels {
|
|
33
|
-
currentPlan?: string;
|
|
34
|
-
mostPopular?: string;
|
|
35
|
-
}
|
|
36
|
-
interface PricingCardProps extends ComponentPropsWithoutRef<'div'> {
|
|
37
|
-
/**
|
|
38
|
-
* The primary call to action.
|
|
39
|
-
*/
|
|
40
|
-
actionPrimary?: PrimaryCallToAction;
|
|
41
|
-
/**
|
|
42
|
-
* An optional secondary call to action.
|
|
43
|
-
*/
|
|
44
|
-
actionSecondary?: SecondaryCallToAction;
|
|
45
|
-
/**
|
|
46
|
-
* Additional class names for the card item.
|
|
47
|
-
*/
|
|
48
|
-
className?: string;
|
|
49
|
-
/**
|
|
50
|
-
* Additional class names for the card container.
|
|
51
|
-
*/
|
|
52
|
-
containerClassName?: string;
|
|
53
|
-
/**
|
|
54
|
-
* Has comparison list. Will be rendered below the card if true.
|
|
55
|
-
* Add corresponding `comparisonListId` to each planPricingData object.
|
|
56
|
-
*/
|
|
57
|
-
hasComparisonList?: boolean;
|
|
58
|
-
/**
|
|
59
|
-
* Heading level for the plan name.
|
|
60
|
-
*/
|
|
61
|
-
headingLevel?: HeadingLevelCommon;
|
|
62
|
-
/**
|
|
63
|
-
* Optional function to handle the change event of the select input. Only valid when multiple tiers of planPricingData are present.
|
|
64
|
-
*/
|
|
65
|
-
onTierChange?: (value: any) => void;
|
|
66
|
-
/**
|
|
67
|
-
* A brief description of the plan.
|
|
68
|
-
*/
|
|
69
|
-
planDescription?: string;
|
|
70
|
-
/**
|
|
71
|
-
* The name of the plan.
|
|
72
|
-
*/
|
|
73
|
-
planName?: string;
|
|
74
|
-
/**
|
|
75
|
-
* Plan pricing data. An array of objects.
|
|
76
|
-
*/
|
|
77
|
-
planPricingData: PlanPricingData[];
|
|
78
|
-
/**
|
|
79
|
-
* Label for the plan size select dropdown. Available to screen readers only. Provide translation string if needed.
|
|
80
|
-
*/
|
|
81
|
-
selectLabel?: string;
|
|
82
|
-
/**
|
|
83
|
-
* Status badge labels. Provide translation strings if needed.
|
|
84
|
-
*/
|
|
85
|
-
statusBadgeLabels: StatusBadgeLabels;
|
|
86
|
-
/**
|
|
87
|
-
* Status badge type. Leave empty for no badge. Only one badge of each type should be used in a group of Pricing Cards.
|
|
88
|
-
*/
|
|
89
|
-
statusBadgeType?: 'currentPlan' | 'mostPopular';
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* PricingCard UI component
|
|
93
|
-
*/
|
|
94
|
-
export declare const PricingCard: ({ actionPrimary, actionSecondary, className, hasComparisonList, headingLevel, onTierChange, planDescription, planName, planPricingData, selectLabel, statusBadgeLabels, statusBadgeType, ...props }: PricingCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
95
|
-
export {};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
-
import { HeadingLevelCommon, SiteStatus } from '../../../libs/types/custom-types';
|
|
3
|
-
import './site-card.css';
|
|
4
|
-
/**
|
|
5
|
-
* Prop types for SiteCard
|
|
6
|
-
*/
|
|
7
|
-
export interface SiteCardProps extends ComponentPropsWithoutRef<'div'> {
|
|
8
|
-
/**
|
|
9
|
-
* Additional class names
|
|
10
|
-
*/
|
|
11
|
-
className?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Translatable text for the "Go to" link.
|
|
14
|
-
*/
|
|
15
|
-
gotoText?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Heading level of the card title.
|
|
18
|
-
*/
|
|
19
|
-
headingLevel?: HeadingLevelCommon;
|
|
20
|
-
/**
|
|
21
|
-
* Callback for when the card is clicked.
|
|
22
|
-
* Should only be used for special handling of restricted sites.
|
|
23
|
-
* Will override the default link behavior if provided.
|
|
24
|
-
*/
|
|
25
|
-
onClick?: () => void;
|
|
26
|
-
/**
|
|
27
|
-
* Image URL for the site.
|
|
28
|
-
*/
|
|
29
|
-
siteImage?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Link to the site dashboard.
|
|
32
|
-
*/
|
|
33
|
-
siteLink: ReactNode;
|
|
34
|
-
/**
|
|
35
|
-
* Name of the site.
|
|
36
|
-
*/
|
|
37
|
-
siteName?: string;
|
|
38
|
-
/**
|
|
39
|
-
* Plan of the site.
|
|
40
|
-
*/
|
|
41
|
-
sitePlan?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Status of the site.
|
|
44
|
-
*/
|
|
45
|
-
siteStatus?: SiteStatus;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* SiteCard UI component
|
|
49
|
-
*/
|
|
50
|
-
export declare const SiteCard: ({ className, gotoText, headingLevel, onClick, siteImage, siteLink, siteName, sitePlan, siteStatus, ...props }: SiteCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactElement } from 'react';
|
|
2
|
-
import { NavigationItem } from '../../../libs/types/navigation-types';
|
|
3
|
-
import './side-nav-compact.css';
|
|
4
|
-
export type SideNavCompactItem = NavigationItem & {
|
|
5
|
-
/**
|
|
6
|
-
* A boolean indicating whether the item is a submenu.
|
|
7
|
-
*/
|
|
8
|
-
path?: string;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Prop types for SideNavCompact
|
|
12
|
-
*/
|
|
13
|
-
export interface SideNavCompactProps extends ComponentPropsWithoutRef<'nav'> {
|
|
14
|
-
/**
|
|
15
|
-
* Aria label for the navigation.
|
|
16
|
-
*/
|
|
17
|
-
ariaLabel: string;
|
|
18
|
-
/**
|
|
19
|
-
* Additional class names
|
|
20
|
-
*/
|
|
21
|
-
className?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Whether the menu should be rendered as a mobile menu when the viewport is at or below the mobileMenuMaxWidth.
|
|
24
|
-
*/
|
|
25
|
-
hasMobileMenu?: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Heading text. If a link is passed, it will be rendered as a link.
|
|
28
|
-
*/
|
|
29
|
-
headingText?: string | ReactElement;
|
|
30
|
-
/**
|
|
31
|
-
* Labels for translatable strings.
|
|
32
|
-
*/
|
|
33
|
-
labels?: {
|
|
34
|
-
submenu: string;
|
|
35
|
-
toggle: string;
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* Menu items to render.
|
|
39
|
-
*/
|
|
40
|
-
menuItems: SideNavCompactItem[];
|
|
41
|
-
/**
|
|
42
|
-
* Mobile menu will be enabled when viewport is at or below this number in pixels.
|
|
43
|
-
*/
|
|
44
|
-
mobileMenuMaxWidth?: number;
|
|
45
|
-
/**
|
|
46
|
-
* Text to display in the mobile menu trigger button when no active link is found.
|
|
47
|
-
*/
|
|
48
|
-
mobileMenuSelectTextFallback?: string;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* SideNavCompact UI component
|
|
52
|
-
*/
|
|
53
|
-
export declare const SideNavCompact: ({ ariaLabel, className, hasMobileMenu, headingText, labels, menuItems, mobileMenuMaxWidth, mobileMenuSelectTextFallback, ...props }: SideNavCompactProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pds-card-heading{color:var(--pds-color-fg-default);display:block;margin-block-end:var(--pds-spacing-m)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pds-card-select-group{border:none;color:var(--pds-color-fg-default);font-family:var(--pds-typography-ff-default);margin-inline:0;padding:0;padding-block-start:var(--pds-spacing-3xs)}.pds-card-select-group__legend{display:block;font-size:var(--pds-typography-size-m);font-weight:var(--pds-typography-fw-semibold);margin-block-end:var(--pds-spacing-s);text-align:left}.pds-card-select-group__legend--center{text-align:center}.pds-card-select-group__option input[type=radio]{appearance:none}.pds-card-select-group__option-label{background-color:var(--pds-color-card-background);border-radius:var(--pds-border-radius-card);box-shadow:var(--pds-elevation-raised);column-gap:var(--pds-spacing-xs);display:inline-flex;font-size:var(--pds-typography-size-m);font-weight:var(--pds-typography-fw-semibold);height:100%;margin-block-end:0;padding:var(--pds-spacing-m);width:100%}.pds-card-select-group__option-label--selected,.pds-card-select-group__option-label:hover{background-color:var(--pds-color-interactive-background-hover);cursor:pointer}.pds-card-select-group__option-icon{color:var(--pds-color-border-input)}.pds-card-select-group__option-icon--selected{color:var(--pds-color-status-success-foreground)}.pds-card-select-group__option-description{color:var(--pds-color-fg-default-secondary);font-size:var(--pds-typography-size-s);font-weight:var(--pds-typography-fw-regular);line-height:var(--pds-typography-lh-m);margin-block-start:var(--pds-spacing-3xs)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pds-dashboard-search{--dashboard-search-height:var(--pds-spacing-input-height-s);height:var(--dashboard-search-height);width:220px}@media (min-width:1280px){.pds-dashboard-search{width:340px}}@media (min-width:1440px){.pds-dashboard-search{width:380px}}.pds-dashboard-search__combobox{width:100%}.pds-dashboard-search__inner{height:100%}[data-pds-mobile] .pds-dashboard-search{border-block-end:var(--pds-border-width-default) solid var(--pds-color-border-default);height:auto;left:50%;margin-inline-start:-50vw;min-height:var(--pds-spacing-4xl);position:relative;width:100vw}[data-pds-mobile] .pds-dashboard-search__inner{padding-block:var(--pds-spacing-s)}[data-pds-mobile] .pds-dashboard-search__combobox{margin-inline:auto;width:calc(100% - var(--pds-spacing-l)*2)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pds-empty-state-card{background-color:var(--pds-color-card-background);border-radius:var(--pds-border-radius-card);box-shadow:var(--pds-elevation-raised);color:var(--pds-color-fg-default);display:flex;flex-direction:column;justify-content:space-between;padding:var(--pds-spacing-xl)}.pds-empty-state-card__cta{display:inline-block;margin-block-start:var(--pds-spacing-xs)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pds-links-card__heading{border-bottom:1px solid var(--pds-color-border-default);padding-block-end:var(--pds-spacing-m)}.pds-links-card__list{display:flex;flex-direction:column;font-weight:var(--pds-typography-fw-regular);list-style-type:none;margin:0;padding:0;row-gap:var(--pds-spacing-m)}.pds-cta-links-card__item a{text-decoration:none}.pds-cta-links-card__item a:hover{text-decoration:underline}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pds-new-site-card{position:relative}.pds-new-site-card .pds-card{height:100%}.pds-new-site-card:hover{text-decoration:none}.pds-new-site-card:hover .pds-card{box-shadow:var(--pds-elevation-overlay)}a.pds-new-site-card__selection-link,a.pds-new-site-card__selection-link:hover{text-decoration:none}.pds-new-site-card .pds-new-site-card__selection-link:focus-visible{outline:none}.pds-new-site-card .pds-new-site-card__selection-link:focus-visible:before{border:var(--pds-border-width-outline) solid var(--pds-color-interactive-focus);border-radius:var(--pds-border-radius-card);bottom:0;content:"";left:0;position:absolute;right:0;top:0;transition:var(--pds-animation-transition-button)}.pds-new-site-card__main{display:flex;flex-direction:column;height:100%;justify-content:space-between}.pds-new-site-card__header{align-items:center;column-gap:var(--pds-spacing-s);display:flex;line-height:var(--pds-typography-lh-s);margin-block-end:var(--pds-spacing-s)}.pds-new-site-card__icon{color:var(--pds-color-fg-default)}.pds-new-site-card__icon .pds-pantheon-logo--icon{height:1.728rem;width:auto}.pds-new-site-card__title{color:var(--pds-color-fg-default);font-size:var(--pds-typography-size-m);font-weight:var(--pds-typography-fw-semibold)}.pds-new-site-card__subtitle{color:var(--pds-color-fg-default-secondary);font-size:var(--pds-typography-size-xs);font-weight:var(--pds-typography-fw-regular);line-height:var(--pds-typography-lh-s);margin-block-start:var(--pds-spacing-4xs)}.pds-new-site-card__badge{margin-block-end:var(--pds-spacing-m)}.pds-new-site-card__summary{color:var(--pds-color-fg-default-secondary);font-size:var(--pds-typography-size-s);font-weight:var(--pds-typography-fw-regular);line-height:var(--pds-typography-lh-m);word-wrap:normal;overflow-wrap:anywhere}.pds-new-site-card__links{border-top:var(--pds-border-width-default) solid var(--pds-color-border-default);column-gap:var(--pds-spacing-m);display:flex;font-size:var(--pds-typography-size-xs);margin-block-start:var(--pds-spacing-m);padding-block-start:var(--pds-spacing-m)}.pds-new-site-card__link{column-gap:var(--pds-spacing-3xs);display:flex}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pds-payment-card{position:relative}.pds-payment-card:hover{text-decoration:none}.pds-payment-card:hover .pds-card{box-shadow:var(--pds-elevation-overlay)}.pds-payment-card .pds-payment-card__top{border-bottom:1px solid #e3e4e5;cursor:pointer;display:flex;gap:var(--pds-spacing-s);margin-block-end:var(--pds-spacing-m);padding-block-end:var(--pds-spacing-m)}.pds-payment-card .pds-payment-card__top .pds-payment-card__icon{width:var(--pds-spacing-5xl)}.pds-payment-card .pds-payment-card__top .pds-payment-card__details{display:flex;flex-direction:column;gap:var(--pds-spacing-3xs)}.pds-payment-card .pds-payment-card__top .pds-payment-card__details .pds-payment-card__details-header{font-size:var(--pds-typography-size-m);font-weight:var(--pds-typography-fw-bold);line-height:var(--pds-typography-lh-m);text-transform:uppercase}.pds-payment-card .pds-payment-card__top .pds-payment-card__details .pds-payment-card__details-name{font-size:var(--pds-typography-size-s);font-weight:var(--pds-typography-fw-semibold);line-height:var(--pds-typography-lh-m)}.pds-payment-card .pds-payment-card__top .pds-payment-card__details .pds-payment-card__details-exp{font-size:var(--pds-typography-size-xs);font-weight:var(--pds-typography-fw-regular);line-height:var(--pds-typography-lh-m)}.pds-payment-card .pds-payment-card__bottom{align-items:center;color:var(--pds-color-text-default-secondary);display:flex;font-size:var(--pds-typography-size-s);font-weight:var(--pds-typography-fw-regular);justify-content:space-between}.pds-payment-card .pds-payment-card__bottom button{align-items:center;background-color:transparent;border:0;color:var(--pds-color-interactive-link-default);cursor:pointer;display:flex;font-size:var(--pds-typography-size-s);font-weight:var(--pds-typography-fw-semibold);gap:var(--pds-spacing-3xs);justify-content:center;padding:0;text-decoration:none;transition:var(--pds-animation-transition-button);white-space:nowrap}.pds-payment-card .pds-payment-card__bottom button:hover{color:var(--pds-color-interactive-link-hover)}.pds-payment-card .pds-payment-card__bottom button:focus-visible{outline:var(--pds-border-width-outline) solid var(--pds-color-interactive-focus);outline-offset:.125rem;text-decoration:none}.pds-payment-card .pds-payment-card__main:focus-visible{outline:none}.pds-payment-card .pds-payment-card__main:focus-visible:before{border:var(--pds-border-width-outline) solid var(--pds-color-interactive-focus);border-radius:var(--pds-border-radius-card);bottom:0;content:"";left:0;position:absolute;right:0;top:0;transition:var(--pds-animation-transition-button)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@media screen and (min-width:1024px){.max-width-large{max-width:400px}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pds-pricing-card{--pricing-card-padding:var(--pds-spacing-xl);background-color:var(--pds-color-card-background);border:calc(var(--pds-border-width-default)*.5) solid var(--pds-color-border-default);border-radius:var(--pds-border-radius-card);box-shadow:var(--pds-elevation-raised);color:var(--pds-color-fg-default);display:grid;font-family:var(--pds-typography-ff-default);grid-template-rows:1fr auto;justify-content:center;position:relative}.pds-pricing-card--mostPopular{border-color:var(--pds-color-badge-status-reverse-border);border-width:var(--pds-border-width-default)}.pds-pricing-card__status-badge{left:50%;position:absolute;top:-.85rem;transform:translateX(-50%)}.pds-pricing-card__plan{margin-block-end:0;margin-block-start:var(--pds-spacing-3xs)}.pds-pricing-card__main-content{display:flex;flex-direction:column;padding:var(--pricing-card-padding);row-gap:var(--pds-spacing-l)}.pds-pricing-card__pricing-data{display:flex;flex-direction:column;row-gap:var(--pds-spacing-s)}.pds-pricing-card__list--hide,.pds-pricing-card__pricing-data--hide{display:none}.pds-pricing-card__price-line{align-items:center;column-gap:var(--pds-spacing-4xs);display:flex}.pds-pricing-card__price-prefix{font-size:var(--pds-typography-size-m);font-weight:var(--pds-typography-fw-semibold);margin-block-end:calc(var(--pds-spacing-xs)*-1);margin-block-start:var(--pds-spacing-4xs)}.pds-pricing-card__price{font-size:var(--pds-typography-size-3xl);font-weight:var(--pds-typography-fw-bold)}.pds-pricing-card__details{color:var(--pds-color-fg-default-secondary);font-size:var(--pds-typography-size-l);font-weight:var(--pds-typography-fw-regular)}.pds-pricing-card__savings-line{align-items:center;column-gap:var(--pds-spacing-xs);display:flex}.pds-pricing-card__savings-details{color:var(--pds-color-fg-default-secondary);font-size:var(--pds-typography-size-xs);font-weight:var(--pds-typography-fw-regular)}.pds-pricing-card__description{font-size:var(--pds-typography-size-m);font-weight:var(--pds-typography-fw-regular);line-height:var(--pds-typography-lh-m)}.pds-pricing-card__actions{display:flex;gap:var(--pds-spacing-l);padding:var(--pricing-card-padding);padding-block-start:var(--pds-spacing-2xl)}.pds-pricing-card__actions>*{flex-grow:1}.pds-pricing-card__actions .pds-button-link a{width:100%}.pds-pricing-card-container--with-list{display:grid;margin-block-end:var(--pds-spacing-xl);row-gap:var(--pds-spacing-2xl)}@media (min-width:768px){.pds-pricing-card-container--with-list{column-gap:var(--pds-spacing-2xl);grid-template-columns:1fr 1fr}.pds-pricing-card-container--with-list .pds-pricing-card__list{margin-block-start:var(--pds-spacing-s);margin-inline:0}}@media (min-width:1280px){.pds-pricing-card-container--with-list{grid-template-columns:unset;grid-template-rows:1fr minmax(10rem,14rem);margin-block-end:0;row-gap:var(--pds-spacing-2xl)}.pds-pricing-card-container--with-list .pds-pricing-card__list{margin-block-start:0;margin-inline:var(--pds-spacing-s)}}.pds-pricing-card-container--with-list .pds-pricing-card__list{margin-inline:var(--pds-spacing-s)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pds-side-nav-compact{color:var(--pds-color-fg-default);font-family:var(--pds-typography-ff-default)}.pds-side-nav-compact a{color:var(--pds-color-fg-default);text-decoration:none}.pds-side-nav-compact a:focus-visible{border-radius:var(--pds-border-radius-default);outline:var(--pds-border-width-outline) solid var(--pds-color-interactive-focus);outline-offset:1px}.pds-side-nav-compact .pds-icon{pointer-events:none}h2.pds-side-nav-compact__heading{font-weight:var(--pds-typography-fw-semibold);margin-block-end:var(--pds-spacing-l)}h2.pds-side-nav-compact__heading a{color:var(--pds-color-fg-default);text-decoration:none}h2.pds-side-nav-compact__heading a:hover{color:var(--pds-color-nav-item-default-foreground-hover)}.pds-side-nav-compact__menu{display:flex;flex-direction:column;list-style-type:none;margin:0;padding:0;row-gap:var(--pds-spacing-s)}.pds-side-nav-compact__item{line-height:var(--pds-typography-lh-m);list-style-type:none;margin-block-start:var(--pds-spacing-2xs)}.pds-side-nav-compact__item a{color:var(--pds-color-fg-default);text-decoration:none}.pds-side-nav-compact__item a:hover{color:var(--pds-color-nav-item-default-foreground-hover)}.pds-side-nav-compact__menu--fourth-level,.pds-side-nav-compact__menu--second-level,.pds-side-nav-compact__menu--third-level{display:none}.pds-side-nav-compact__menu--fourth-level.pds-side-nav-compact__menu--expanded,.pds-side-nav-compact__menu--second-level.pds-side-nav-compact__menu--expanded,.pds-side-nav-compact__menu--third-level.pds-side-nav-compact__menu--expanded{display:flex;margin-block-start:var(--pds-spacing-xs)}.pds-side-nav-compact__menu--fourth-level,.pds-side-nav-compact__menu--second-level,.pds-side-nav-compact__menu--third-level{margin-inline-start:var(--pds-spacing-m)}.pds-side-nav-compact__item--active>.pds-side-nav-compact__item-wrapper>a,.pds-side-nav-compact__item--active>a{color:var(--pds-color-nav-item-default-foreground-active);font-weight:var(--pds-typography-fw-semibold)}.pds-side-nav-compact__toggle{background-color:transparent;border:none;border-radius:var(--pds-border-radius-default);color:var(--pds-color-nav-item-default-foreground-trigger);cursor:pointer;margin-inline-start:calc(var(--pds-spacing-l)*-1 - .175rem)}.pds-side-nav-compact__toggle:hover{color:var(--pds-color-nav-item-default-foreground-hover)}.pds-side-nav-compact__toggle:focus-visible{outline:var(--pds-border-width-outline) solid var(--pds-color-interactive-focus);transition:var(--pds-animation-transition-focus)}.pds-side-nav-compact__toggle .pds-icon{height:1.2rem;margin-block-end:-.125rem;pointer-events:none;transform:rotate(-90deg);transition:var(--pds-animation-transition-button)}.pds-side-nav-compact__toggle--expanded .pds-icon{transform:rotate(0deg);transition:var(--pds-animation-transition-button)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pds-site-card__link{background:none;border:none;cursor:pointer;display:block;font:inherit;padding:0;text-align:inherit;text-decoration:none;width:100%}.pds-site-card__link:hover{text-decoration:none}.pds-site-card__link:hover .pds-card{box-shadow:var(--pds-elevation-overlay)}.pds-site-card__link:hover .pds-card-heading{color:var(--pds-color-text-default);text-decoration:none}.pds-site-card__link:hover .pds-site-card__plan{text-decoration:none}.pds-site-card__link:focus-visible .pds-card{outline:var(--pds-border-width-outline) solid var(--pds-color-interactive-focus)}.pds-site-card .pds-card__image img{aspect-ratio:1.85}.pds-site-card__header{align-items:flex-start;column-gap:var(--pds-spacing-s);display:flex;justify-content:space-between;margin-block-end:var(--pds-spacing-s)}.pds-site-card__header .pds-card-heading{margin-block-end:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pds-site-card__plan{color:var(--pds-color-fg-default-secondary);font-size:var(--pds-typography-size-s)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pds-site-dashboard-heading{align-items:flex-start;display:flex;flex-direction:column;row-gap:var(--pds-spacing-s)}.pds-site-dashboard-heading__workspace-name{background-color:var(--pds-color-bg-default-secondary);border-radius:var(--pds-border-radius-default);color:var(--pds-color-fg-default-secondary);display:inline-block;font-size:var(--pds-typography-size-xs);font-weight:var(--pds-typography-fw-medium);letter-spacing:var(--pds-typography-ls-s);line-height:1;padding:var(--pds-spacing-3xs) var(--pds-spacing-xs);padding-block-start:var(--pds-spacing-2xs)}.pds-site-dashboard-heading__inner{align-items:center;display:flex;flex-wrap:wrap;gap:var(--pds-spacing-s)}.pds-site-dashboard-heading__inner h1{margin:0;margin-inline-end:var(--pds-spacing-3xs)}.pds-site-dashboard-heading__inner .pds-icon{flex-shrink:0;width:auto}.pds-site-dashboard-heading__plan-level-badge{align-items:center;display:flex;gap:var(--pds-spacing-2xs)}
|