@pantheon-systems/pds-toolkit-react 1.0.0-dev.135 → 1.0.0-dev.137
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/Icon/Icon.d.ts +1 -1
- package/_dist/components/Popover/Popover.d.ts +5 -1
- package/_dist/components/badges/Tally/Tally.d.ts +35 -0
- package/_dist/components/buttons/MenuButton/MenuButton.d.ts +1 -3
- package/_dist/components/inputs/Combobox/Combobox.d.ts +4 -64
- package/_dist/components/navigation/DashboardNav/DashboardNav.d.ts +1 -3
- package/_dist/components/navigation/DashboardSearch/DashboardSearch.d.ts +67 -0
- package/_dist/components/navigation/DashboardSearch/SiteOptionDisplay.d.ts +10 -0
- package/_dist/components/navigation/Navbar/Navbar.d.ts +1 -3
- package/_dist/components/navigation/UserMenu/UserMenu.d.ts +1 -3
- package/_dist/components/navigation/WorkspaceSelector/WorkspaceSelector.d.ts +1 -3
- package/_dist/components/progress-indicators/ProgressBar/ProgressBar.d.ts +13 -1
- package/_dist/css/component-css/pds-combobox.css +1 -1
- package/_dist/css/component-css/pds-dashboard-search.css +1 -0
- package/_dist/css/component-css/pds-index.css +5 -5
- package/_dist/css/component-css/pds-input-wrapper.css +1 -1
- package/_dist/css/component-css/pds-menu-button.css +1 -1
- package/_dist/css/component-css/pds-navbar.css +1 -1
- package/_dist/css/component-css/pds-progress-bar.css +1 -1
- package/_dist/css/component-css/pds-site-card.css +1 -1
- package/_dist/css/component-css/pds-status-badge.css +1 -1
- package/_dist/css/component-css/pds-tally.css +1 -0
- package/_dist/css/design-tokens/pds-design-tokens-dark-mode.css +3 -0
- package/_dist/css/design-tokens/pds-design-tokens-light-mode.css +3 -0
- package/_dist/css/pds-components.css +5 -5
- package/_dist/css/pds-core.css +1 -1
- package/_dist/css/pds-layouts.css +1 -1
- package/_dist/index.css +1 -1
- package/_dist/index.d.ts +4 -1
- package/_dist/index.js +3651 -3344
- package/_dist/index.js.map +1 -1
- package/_dist/layouts/DashboardLayout/DashboardLayout.d.ts +37 -0
- package/_dist/layouts/DashboardLayout/DemoContent.d.ts +2 -0
- package/_dist/layouts/GlobalWrapper/GlobalWrapper.d.ts +19 -0
- package/_dist/utilities/context-providers/ResponsiveContext/ResponsiveContext.d.ts +6 -0
- package/package.json +1 -1
- package/_dist/layouts/GlobalLayout/GlobalLayout.d.ts +0 -23
|
@@ -564,7 +564,7 @@ declare const svgData: {
|
|
|
564
564
|
readonly width: "512";
|
|
565
565
|
};
|
|
566
566
|
readonly wordpress: {
|
|
567
|
-
readonly path: "
|
|
567
|
+
readonly path: "M61.7 169.4l101.5 278C92.2 413 43.3 340.2 43.3 256c0-30.9 6.6-60.1 18.4-86.6zm337.9 75.9c0-26.3-9.4-44.5-17.5-58.7-10.8-17.5-20.9-32.4-20.9-49.9 0-19.6 14.8-37.8 35.7-37.8 .9 0 1.8 .1 2.8 .2-37.9-34.7-88.3-55.9-143.7-55.9-74.3 0-139.7 38.1-177.8 95.9 5 .2 9.7 .3 13.7 .3 22.2 0 56.7-2.7 56.7-2.7 11.5-.7 12.8 16.2 1.4 17.5 0 0-11.5 1.3-24.3 2l77.5 230.4L249.8 247l-33.1-90.8c-11.5-.7-22.3-2-22.3-2-11.5-.7-10.1-18.2 1.3-17.5 0 0 35.1 2.7 56 2.7 22.2 0 56.7-2.7 56.7-2.7 11.5-.7 12.8 16.2 1.4 17.5 0 0-11.5 1.3-24.3 2l76.9 228.7 21.2-70.9c9-29.4 16-50.5 16-68.7zm-139.9 29.3l-63.8 185.5c19.1 5.6 39.2 8.7 60.1 8.7 24.8 0 48.5-4.3 70.6-12.1-.6-.9-1.1-1.9-1.5-2.9l-65.4-179.2zm183-120.7c.9 6.8 1.4 14 1.4 21.9 0 21.6-4 45.8-16.2 76.2l-65 187.9C426.2 403 468.7 334.5 468.7 256c0-37-9.4-71.8-26-102.1zM504 256c0 136.8-111.3 248-248 248C119.2 504 8 392.7 8 256 8 119.2 119.2 8 256 8c136.7 0 248 111.2 248 248zm-11.4 0c0-130.5-106.2-236.6-236.6-236.6C125.5 19.4 19.4 125.5 19.4 256S125.6 492.6 256 492.6c130.5 0 236.6-106.1 236.6-236.6z";
|
|
568
568
|
readonly width: "512";
|
|
569
569
|
};
|
|
570
570
|
readonly wrench: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function Popover({ content, customTrigger, hasCloseButton, offsetValue, onClose, placement, title, triggerIcon, triggerAccessibleText, className, ...props }: {
|
|
1
|
+
export function Popover({ content, customTrigger, hasCloseButton, offsetValue, onClose, placement, title, triggerIcon, triggerAccessibleText, popoverIsOpen, setPopoverIsOpen, className, ...props }: {
|
|
2
2
|
[x: string]: any;
|
|
3
3
|
content: any;
|
|
4
4
|
customTrigger?: boolean;
|
|
@@ -9,6 +9,8 @@ export function Popover({ content, customTrigger, hasCloseButton, offsetValue, o
|
|
|
9
9
|
title: any;
|
|
10
10
|
triggerIcon?: string;
|
|
11
11
|
triggerAccessibleText?: string;
|
|
12
|
+
popoverIsOpen?: boolean;
|
|
13
|
+
setPopoverIsOpen?: () => void;
|
|
12
14
|
className: any;
|
|
13
15
|
}): React.JSX.Element;
|
|
14
16
|
export namespace Popover {
|
|
@@ -22,6 +24,8 @@ export namespace Popover {
|
|
|
22
24
|
let title: PropTypes.Requireable<string>;
|
|
23
25
|
let triggerAccessibleText: PropTypes.Requireable<string>;
|
|
24
26
|
let triggerIcon: PropTypes.Requireable<string>;
|
|
27
|
+
let popoverIsOpen: PropTypes.Requireable<boolean>;
|
|
28
|
+
let setPopoverIsOpen: PropTypes.Requireable<(...args: any[]) => any>;
|
|
25
29
|
let className: PropTypes.Requireable<string>;
|
|
26
30
|
}
|
|
27
31
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './tally.css';
|
|
3
|
+
interface TypeLabels {
|
|
4
|
+
info?: string;
|
|
5
|
+
success?: string;
|
|
6
|
+
neutral?: string;
|
|
7
|
+
warning?: string;
|
|
8
|
+
critical?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Prop types for Tally
|
|
12
|
+
*/
|
|
13
|
+
interface TallyProps {
|
|
14
|
+
/**
|
|
15
|
+
* Label text
|
|
16
|
+
*/
|
|
17
|
+
label: string | number;
|
|
18
|
+
/**
|
|
19
|
+
* Notification type
|
|
20
|
+
*/
|
|
21
|
+
type: 'neutral' | 'critical' | 'warning' | 'info' | 'success';
|
|
22
|
+
/**
|
|
23
|
+
* Message type labels.
|
|
24
|
+
*/
|
|
25
|
+
typeLabels?: TypeLabels;
|
|
26
|
+
/**
|
|
27
|
+
* Additional class names
|
|
28
|
+
*/
|
|
29
|
+
className?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Tally UI component
|
|
33
|
+
*/
|
|
34
|
+
export declare const Tally: ({ label, type, typeLabels, className, ...props }: TallyProps) => React.JSX.Element;
|
|
35
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function MenuButton({ avatarImageSrc, disabled, displayType, iconName, id, isSplitButton, label, menuItems, menuPosition,
|
|
1
|
+
export function MenuButton({ avatarImageSrc, disabled, displayType, iconName, id, isSplitButton, label, menuItems, menuPosition, size, testId, undefinedLabel, variant, withinNavbar, className, ...props }: {
|
|
2
2
|
[x: string]: any;
|
|
3
3
|
avatarImageSrc: any;
|
|
4
4
|
disabled: any;
|
|
@@ -9,7 +9,6 @@ export function MenuButton({ avatarImageSrc, disabled, displayType, iconName, id
|
|
|
9
9
|
label: any;
|
|
10
10
|
menuItems: any;
|
|
11
11
|
menuPosition?: string;
|
|
12
|
-
mobileMenuMaxWidth?: number;
|
|
13
12
|
size?: string;
|
|
14
13
|
testId: any;
|
|
15
14
|
undefinedLabel?: string;
|
|
@@ -51,7 +50,6 @@ export namespace MenuButton {
|
|
|
51
50
|
isSeparator: PropTypes.Validator<boolean>;
|
|
52
51
|
}>>>[]>;
|
|
53
52
|
export let menuPosition: PropTypes.Requireable<string>;
|
|
54
|
-
export let mobileMenuMaxWidth: PropTypes.Requireable<number>;
|
|
55
53
|
export let size: PropTypes.Requireable<string>;
|
|
56
54
|
export let testId: PropTypes.Requireable<string>;
|
|
57
55
|
export let undefinedLabel: PropTypes.Requireable<string>;
|
|
@@ -1,65 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
hasDropdownTrigger?: boolean;
|
|
6
|
-
hasSearchIcon?: boolean;
|
|
7
|
-
hasSearchShortcut?: boolean;
|
|
8
|
-
id: any;
|
|
9
|
-
initialValue: any;
|
|
10
|
-
inputWidth: any;
|
|
11
|
-
isLoading?: boolean;
|
|
12
|
-
label: any;
|
|
13
|
-
labelStrings?: {
|
|
14
|
-
clearButton: string;
|
|
15
|
-
inputInstructions: string;
|
|
16
|
-
searchShortcut: string;
|
|
17
|
-
triggerButton: string;
|
|
18
|
-
};
|
|
19
|
-
loadingText?: string;
|
|
20
|
-
message: any;
|
|
21
|
-
noResultsText?: string;
|
|
22
|
-
onOptionSelect: any;
|
|
23
|
-
options: any;
|
|
24
|
-
placeholder: any;
|
|
25
|
-
required?: boolean;
|
|
26
|
-
showLabel?: boolean;
|
|
27
|
-
validationFunction: any;
|
|
28
|
-
className: any;
|
|
29
|
-
}): React.JSX.Element;
|
|
30
|
-
export namespace Combobox {
|
|
31
|
-
namespace propTypes {
|
|
32
|
-
let disabled: PropTypes.Requireable<boolean>;
|
|
33
|
-
let hasClearButton: PropTypes.Requireable<boolean>;
|
|
34
|
-
let hasDropdownTrigger: PropTypes.Requireable<boolean>;
|
|
35
|
-
let hasSearchIcon: PropTypes.Requireable<boolean>;
|
|
36
|
-
let hasSearchShortcut: PropTypes.Requireable<boolean>;
|
|
37
|
-
let id: PropTypes.Validator<string>;
|
|
38
|
-
let initialValue: PropTypes.Requireable<string>;
|
|
39
|
-
let inputWidth: PropTypes.Requireable<number>;
|
|
40
|
-
let isLoading: PropTypes.Requireable<boolean>;
|
|
41
|
-
let label: PropTypes.Validator<string>;
|
|
42
|
-
let labelStrings: PropTypes.Requireable<PropTypes.InferProps<{
|
|
43
|
-
clearButton: PropTypes.Requireable<string>;
|
|
44
|
-
inputInstructions: PropTypes.Requireable<string>;
|
|
45
|
-
searchShortcut: PropTypes.Requireable<string>;
|
|
46
|
-
triggerButton: PropTypes.Requireable<string>;
|
|
47
|
-
}>>;
|
|
48
|
-
let loadingText: PropTypes.Requireable<string>;
|
|
49
|
-
let message: PropTypes.Requireable<string>;
|
|
50
|
-
let noResultsText: PropTypes.Requireable<string>;
|
|
51
|
-
let onOptionSelect: PropTypes.Requireable<(...args: any[]) => any>;
|
|
52
|
-
let options: PropTypes.Requireable<PropTypes.InferProps<{
|
|
53
|
-
label: PropTypes.Requireable<string>;
|
|
54
|
-
searchIndex: PropTypes.Requireable<string[]>;
|
|
55
|
-
value: PropTypes.Requireable<string>;
|
|
56
|
-
}>[]>;
|
|
57
|
-
let placeholder: PropTypes.Requireable<string>;
|
|
58
|
-
let required: PropTypes.Requireable<boolean>;
|
|
59
|
-
let showLabel: PropTypes.Requireable<boolean>;
|
|
60
|
-
let validationFunction: PropTypes.Requireable<(...args: any[]) => any>;
|
|
61
|
-
let className: PropTypes.Requireable<string>;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Combobox UI component
|
|
3
|
+
*/
|
|
4
|
+
export const Combobox: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
64
5
|
import React from 'react';
|
|
65
|
-
import PropTypes from 'prop-types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function DashboardNav({ ariaLabel, labels, menuItems,
|
|
1
|
+
export function DashboardNav({ ariaLabel, labels, menuItems, mobileMenuSelectTextFallback, className, ...props }: {
|
|
2
2
|
[x: string]: any;
|
|
3
3
|
ariaLabel?: string;
|
|
4
4
|
labels?: {
|
|
@@ -6,7 +6,6 @@ export function DashboardNav({ ariaLabel, labels, menuItems, mobileMenuMaxWidth,
|
|
|
6
6
|
toggle: string;
|
|
7
7
|
};
|
|
8
8
|
menuItems: any;
|
|
9
|
-
mobileMenuMaxWidth?: number;
|
|
10
9
|
mobileMenuSelectTextFallback?: string;
|
|
11
10
|
className: any;
|
|
12
11
|
}): React.JSX.Element;
|
|
@@ -18,7 +17,6 @@ export namespace DashboardNav {
|
|
|
18
17
|
toggle: PropTypes.Requireable<string>;
|
|
19
18
|
}>>;
|
|
20
19
|
let menuItems: PropTypes.Validator<any[]>;
|
|
21
|
-
let mobileMenuMaxWidth: PropTypes.Requireable<number>;
|
|
22
20
|
let mobileMenuSelectTextFallback: PropTypes.Requireable<string>;
|
|
23
21
|
let className: PropTypes.Requireable<string>;
|
|
24
22
|
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export function DashboardSearch({ disabled, id, isLoading, label, labelStrings, loadingText, noResultsText, onOptionSelect, placeholder, siteList, startingRightPosition, className, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
id: any;
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
label?: string;
|
|
7
|
+
labelStrings?: {
|
|
8
|
+
clearButton: string;
|
|
9
|
+
inputInstructions: string;
|
|
10
|
+
openSearchButton: string;
|
|
11
|
+
};
|
|
12
|
+
loadingText?: string;
|
|
13
|
+
noResultsText?: string;
|
|
14
|
+
onOptionSelect: any;
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
siteList: any;
|
|
17
|
+
startingRightPosition?: number;
|
|
18
|
+
className: any;
|
|
19
|
+
}): React.JSX.Element;
|
|
20
|
+
export namespace DashboardSearch {
|
|
21
|
+
namespace propTypes {
|
|
22
|
+
let disabled: PropTypes.Requireable<boolean>;
|
|
23
|
+
let id: PropTypes.Requireable<string>;
|
|
24
|
+
let isLoading: PropTypes.Requireable<boolean>;
|
|
25
|
+
let label: PropTypes.Requireable<string>;
|
|
26
|
+
let labelStrings: PropTypes.Requireable<PropTypes.InferProps<{
|
|
27
|
+
/**
|
|
28
|
+
* Clear button label
|
|
29
|
+
*/
|
|
30
|
+
clearButton: PropTypes.Requireable<string>;
|
|
31
|
+
/**
|
|
32
|
+
* Input instructions
|
|
33
|
+
*/
|
|
34
|
+
inputInstructions: PropTypes.Requireable<string>;
|
|
35
|
+
/**
|
|
36
|
+
* Open search button label
|
|
37
|
+
*/
|
|
38
|
+
openSearchButton: PropTypes.Requireable<string>;
|
|
39
|
+
}>>;
|
|
40
|
+
let loadingText: PropTypes.Requireable<string>;
|
|
41
|
+
let noResultsText: PropTypes.Requireable<string>;
|
|
42
|
+
let onOptionSelect: PropTypes.Requireable<(...args: any[]) => any>;
|
|
43
|
+
let placeholder: PropTypes.Requireable<string>;
|
|
44
|
+
let siteList: PropTypes.Requireable<PropTypes.InferProps<{
|
|
45
|
+
/**
|
|
46
|
+
* Site ID
|
|
47
|
+
*/
|
|
48
|
+
id: PropTypes.Requireable<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Site name.
|
|
51
|
+
*/
|
|
52
|
+
name: PropTypes.Requireable<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Site status
|
|
55
|
+
*/
|
|
56
|
+
status: PropTypes.Requireable<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Site type
|
|
59
|
+
*/
|
|
60
|
+
type: PropTypes.Requireable<string>;
|
|
61
|
+
}>[]>;
|
|
62
|
+
let startingRightPosition: PropTypes.Requireable<number>;
|
|
63
|
+
let className: PropTypes.Requireable<string>;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
import React from 'react';
|
|
67
|
+
import PropTypes from 'prop-types';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export function SiteOptionDisplay({ option }: {
|
|
2
|
+
option: any;
|
|
3
|
+
}): React.JSX.Element;
|
|
4
|
+
export namespace SiteOptionDisplay {
|
|
5
|
+
namespace propTypes {
|
|
6
|
+
let option: PropTypes.Requireable<object>;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
import React from 'react';
|
|
10
|
+
import PropTypes from 'prop-types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function Navbar({ children, colorType, containerWidth, hideBorder, hideLogo, logoDisplay, logoLabel, logoLink, logoSrc, logoSubBrand,
|
|
1
|
+
export function Navbar({ children, colorType, containerWidth, hideBorder, hideLogo, logoDisplay, logoLabel, logoLink, logoSrc, logoSubBrand, className, ...props }: {
|
|
2
2
|
[x: string]: any;
|
|
3
3
|
children: any;
|
|
4
4
|
colorType?: string;
|
|
@@ -10,7 +10,6 @@ export function Navbar({ children, colorType, containerWidth, hideBorder, hideLo
|
|
|
10
10
|
logoLink?: React.JSX.Element;
|
|
11
11
|
logoSrc: any;
|
|
12
12
|
logoSubBrand: any;
|
|
13
|
-
mobileMenuMaxWidth?: number;
|
|
14
13
|
className: any;
|
|
15
14
|
}): React.JSX.Element;
|
|
16
15
|
export namespace Navbar {
|
|
@@ -28,7 +27,6 @@ export namespace Navbar {
|
|
|
28
27
|
link: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
29
28
|
text: PropTypes.Requireable<string>;
|
|
30
29
|
}>>;
|
|
31
|
-
export let mobileMenuMaxWidth: PropTypes.Requireable<number>;
|
|
32
30
|
export let className: PropTypes.Requireable<string>;
|
|
33
31
|
}
|
|
34
32
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
export function UserMenu({ ariaLabel, menuItems,
|
|
1
|
+
export function UserMenu({ ariaLabel, menuItems, userEmail, userImageSrc, userName, withinNavbar, className, ...props }: {
|
|
2
2
|
[x: string]: any;
|
|
3
3
|
ariaLabel?: string;
|
|
4
4
|
menuItems: any;
|
|
5
|
-
mobileMenuMaxWidth?: number;
|
|
6
5
|
userEmail: any;
|
|
7
6
|
userImageSrc: any;
|
|
8
7
|
userName: any;
|
|
@@ -34,7 +33,6 @@ export namespace UserMenu {
|
|
|
34
33
|
*/
|
|
35
34
|
label: PropTypes.Requireable<string>;
|
|
36
35
|
}>[]>;
|
|
37
|
-
let mobileMenuMaxWidth: PropTypes.Requireable<number>;
|
|
38
36
|
let userEmail: PropTypes.Requireable<string>;
|
|
39
37
|
let userImageSrc: PropTypes.Requireable<string>;
|
|
40
38
|
let userName: PropTypes.Requireable<string>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function WorkspaceSelector({ ariaLabel, createWorkspaceLink, filterPlaceholder, filterLabel, menuHeading, minFilterItems,
|
|
1
|
+
export function WorkspaceSelector({ ariaLabel, createWorkspaceLink, filterPlaceholder, filterLabel, menuHeading, minFilterItems, noResultsText, withinNavbar, workspaceList, className, ...props }: {
|
|
2
2
|
[x: string]: any;
|
|
3
3
|
ariaLabel?: string;
|
|
4
4
|
createWorkspaceLink: any;
|
|
@@ -6,7 +6,6 @@ export function WorkspaceSelector({ ariaLabel, createWorkspaceLink, filterPlaceh
|
|
|
6
6
|
filterLabel?: string;
|
|
7
7
|
menuHeading?: string;
|
|
8
8
|
minFilterItems?: number;
|
|
9
|
-
mobileMenuMaxWidth?: number;
|
|
10
9
|
noResultsText?: string;
|
|
11
10
|
withinNavbar?: boolean;
|
|
12
11
|
workspaceList: any;
|
|
@@ -20,7 +19,6 @@ export namespace WorkspaceSelector {
|
|
|
20
19
|
let filterLabel: PropTypes.Requireable<string>;
|
|
21
20
|
let menuHeading: PropTypes.Requireable<string>;
|
|
22
21
|
let minFilterItems: PropTypes.Requireable<number>;
|
|
23
|
-
let mobileMenuMaxWidth: PropTypes.Requireable<number>;
|
|
24
22
|
let noResultsText: PropTypes.Requireable<string>;
|
|
25
23
|
let withinNavbar: PropTypes.Requireable<boolean>;
|
|
26
24
|
let workspaceList: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -1,20 +1,32 @@
|
|
|
1
|
-
export function ProgressBar({ id, label, message, percentage, showLabel, size, className, ...props }: {
|
|
1
|
+
export function ProgressBar({ colorBreakpoints, id, label, message, messagePosition, percentage, showLabel, showPercentage, size, className, ...props }: {
|
|
2
2
|
[x: string]: any;
|
|
3
|
+
colorBreakpoints?: {
|
|
4
|
+
colorType: string;
|
|
5
|
+
percentage: number;
|
|
6
|
+
}[];
|
|
3
7
|
id: any;
|
|
4
8
|
label: any;
|
|
5
9
|
message: any;
|
|
10
|
+
messagePosition?: string;
|
|
6
11
|
percentage: any;
|
|
7
12
|
showLabel?: boolean;
|
|
13
|
+
showPercentage?: boolean;
|
|
8
14
|
size?: string;
|
|
9
15
|
className: any;
|
|
10
16
|
}): React.JSX.Element;
|
|
11
17
|
export namespace ProgressBar {
|
|
12
18
|
namespace propTypes {
|
|
19
|
+
let colorBreakpoints: PropTypes.Requireable<PropTypes.InferProps<{
|
|
20
|
+
colorType: PropTypes.Validator<string>;
|
|
21
|
+
percentage: PropTypes.Validator<number>;
|
|
22
|
+
}>[]>;
|
|
13
23
|
let id: PropTypes.Requireable<string>;
|
|
14
24
|
let label: PropTypes.Validator<string>;
|
|
15
25
|
let message: PropTypes.Requireable<string>;
|
|
26
|
+
let messagePosition: PropTypes.Requireable<string>;
|
|
16
27
|
let percentage: PropTypes.Validator<number>;
|
|
17
28
|
let showLabel: PropTypes.Requireable<boolean>;
|
|
29
|
+
let showPercentage: PropTypes.Requireable<boolean>;
|
|
18
30
|
let size: PropTypes.Requireable<string>;
|
|
19
31
|
let className: PropTypes.Requireable<string>;
|
|
20
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.pds-input-field--combobox{border:.0625rem solid var(--pds-color-input-border-default);border-radius:.1875rem;height:2.441rem;padding-inline:.64rem;position:relative;width:100%}.pds-input-field--combobox:focus-within{border-color:var(--pds-color-interactive-focus);outline:none;transition:outline .2s ease-in-out 0s}.pds-combobox{align-items:center;column-gap:.328rem;display:flex;justify-content:space-between;position:relative;width:100%}.pds-combobox input{background-color:transparent;border:none;color:var(--pds-color-input-foreground-default);line-height:1;padding-inline:0;width:100%}.pds-combobox input:focus{outline:none}.pds-combobox input::placeholder{color:var(--pds-color-input-placeholder-text)}.pds-combobox__dropdown{background-color:var(--pds-color-menu-background);border-radius:.1875rem;box-shadow:var(--pds-elevation-active);box-sizing:border-box;left:0;max-height:18rem;overflow-x:hidden;overflow-y:auto;position:absolute;top:2.875rem;width:100%}.pds-combobox__options{display:flex;flex-direction:column;list-style:none;margin:0;padding:0;row-gap:.0625rem}.pds-combobox__trigger{align-items:center;background-color:transparent;border:none;border-radius:.1875rem;color:var(--pds-color-text-default);display:flex;height:1.563rem}.pds-combobox__trigger:focus-visible{outline:.0625rem solid var(--pds-color-interactive-focus)}.pds-combobox__trigger-icon{color:var(--pds-color-text-default-secondary);pointer-events:none;transition:transform .2s ease-in-out 0s}.pds-combobox__trigger[aria-expanded=true] .pds-combobox__trigger-icon{transform:rotate(180deg);transition:transform .2s ease-in-out 0s}.pds-combobox__loading,.pds-combobox__no-results{color:var(--pds-color-text-default);font-size:1rem;padding:1rem}
|
|
1
|
+
.pds-input-field--combobox{background-color:var(--pds-color-input-background-default);border:.0625rem solid var(--pds-color-input-border-default);border-radius:.1875rem;height:2.441rem;padding-inline:.64rem;position:relative;width:100%}.pds-input-field--combobox:focus-within{border-color:var(--pds-color-interactive-focus);outline:none;transition:outline .2s ease-in-out 0s}.pds-combobox{align-items:center;column-gap:.328rem;display:flex;justify-content:space-between;position:relative;width:100%}.pds-combobox input{background-color:transparent;border:none;color:var(--pds-color-input-foreground-default);line-height:1;padding-inline:0;width:100%}.pds-combobox input:focus{outline:none}.pds-combobox input::placeholder{color:var(--pds-color-input-placeholder-text)}.pds-combobox__dropdown{background-color:var(--pds-color-menu-background);border-radius:.1875rem;box-shadow:var(--pds-elevation-active);box-sizing:border-box;left:0;max-height:18rem;overflow-x:hidden;overflow-y:auto;position:absolute;top:2.875rem;width:100%}.pds-combobox__options{display:flex;flex-direction:column;list-style:none;margin:0;padding:0;row-gap:.0625rem}.pds-combobox__trigger{align-items:center;background-color:transparent;border:none;border-radius:.1875rem;color:var(--pds-color-text-default);display:flex;height:1.563rem}.pds-combobox__trigger:focus-visible{outline:.0625rem solid var(--pds-color-interactive-focus)}.pds-combobox__trigger-icon{color:var(--pds-color-text-default-secondary);pointer-events:none;transition:transform .2s ease-in-out 0s}.pds-combobox__trigger[aria-expanded=true] .pds-combobox__trigger-icon{transform:rotate(180deg);transition:transform .2s ease-in-out 0s}.pds-combobox__loading,.pds-combobox__no-results{color:var(--pds-color-text-default);font-size:1rem;padding:1rem}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.pds-dashboard-search{--dashboard-search-height:2.441rem;height:var(--dashboard-search-height);margin-inline-end:-.64rem;position:absolute;transition:width .375s ease;z-index:400}.pds-dashboard-search--inner{align-content:stretch;display:flex}.pds-dashboard-search__combobox{left:0;position:absolute;right:0}.pds-dashboard-search__search-toggle{align-items:center;background-color:transparent;border:.0625rem solid transparent;border-radius:.1875rem;color:var(--pds-color-text-default);cursor:pointer;display:flex;height:var(--dashboard-search-height);padding-inline:.64rem}.pds-dashboard-search__search-toggle:hover{color:var(--pds-color-link-hover)}.pds-dashboard-search__search-toggle-icon{pointer-events:none}.pds-dashboard-search__option-display{justify-content:space-between;width:100%}.pds-dashboard-search__option-display,.pds-dashboard-search__option-inner{align-items:center;column-gap:.8rem;display:flex}.pds-dashboard-search__option-icon{align-items:center;color:var(--pds-color-text-default-secondary);display:flex}.pds-dashboard-search__option-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pds-dashboard-search--isMobile{border-bottom:.0625rem solid var(--pds-color-border-default);left:50%;margin-inline-start:-50vw;min-height:3.815rem;position:relative;width:100vw}.pds-dashboard-search--isMobile .pds-input-field--combobox{margin-inline:auto;width:calc(100% - 2.5rem)}.pds-dashboard-search--mobile-inner{padding-block:.64rem}
|