@pantheon-systems/pds-toolkit-react 1.0.0-dev.250 → 1.0.0-dev.251
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/BranchDiff/BranchDiff.d.ts +9 -1
- package/_dist/components/LinkNewWindow/LinkNewWindow.d.ts +5 -1
- package/_dist/components/buttons/UtilityButton/UtilityButton.d.ts +9 -1
- package/_dist/components/loading-indicators/Skeleton/Skeleton.d.ts +58 -0
- package/_dist/components/panels/PanelList/PanelList.d.ts +1 -1
- package/_dist/css/component-css/pds-branch-diff.css +1 -1
- package/_dist/css/component-css/pds-index.css +4 -4
- package/_dist/css/component-css/pds-link-new-window.css +1 -1
- package/_dist/css/component-css/pds-skeleton.css +1 -0
- package/_dist/css/component-css/pds-utility-button.css +1 -1
- package/_dist/css/pds-components.css +4 -4
- package/_dist/css/pds-core.css +1 -1
- package/_dist/index.css +1 -1
- package/_dist/index.d.ts +2 -1
- package/_dist/index.js +2952 -2810
- package/_dist/index.js.map +1 -1
- package/_dist/libs/types/custom-types.d.ts +24 -22
- package/_dist/vars/spacing.d.ts +29 -10
- package/_dist/vars/type-scale.d.ts +28 -0
- package/package.json +1 -1
- /package/_dist/components/{progress-indicators → loading-indicators}/Spinner/Spinner.d.ts +0 -0
|
@@ -24,28 +24,6 @@ export type HeadingItemType = {
|
|
|
24
24
|
};
|
|
25
25
|
export type HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span';
|
|
26
26
|
export type HeadingLevelCommon = Exclude<HeadingLevel, 'h1' | 'h5' | 'h6'>;
|
|
27
|
-
export type NodeItemType = {
|
|
28
|
-
/**
|
|
29
|
-
* Is the item a node?
|
|
30
|
-
*/
|
|
31
|
-
isNode: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* The content of the node.
|
|
34
|
-
*/
|
|
35
|
-
nodeContent?: ReactNode;
|
|
36
|
-
};
|
|
37
|
-
export type SeparatorItemType = {
|
|
38
|
-
/**
|
|
39
|
-
* Is the item a separator?
|
|
40
|
-
*/
|
|
41
|
-
isSeparator: boolean;
|
|
42
|
-
};
|
|
43
|
-
export type SitePlanLevel = 'basic' | 'performance-small' | 'performance-medium' | 'performance-large' | 'performance-xl' | 'elite';
|
|
44
|
-
export declare const SitePlanLevelLabel: Record<SitePlanLevel, string>;
|
|
45
|
-
export type SiteStatus = 'active' | 'frozen';
|
|
46
|
-
export type SiteType = 'drupal' | 'wordpress' | 'gatsby' | 'nextjs';
|
|
47
|
-
export declare const SiteTypeLabel: Record<SiteType, string>;
|
|
48
|
-
export declare const SiteTypeIcon: Record<SiteType, PDSIcon>;
|
|
49
27
|
export type LinkItemType = {
|
|
50
28
|
/**
|
|
51
29
|
* Description of the item
|
|
@@ -102,3 +80,27 @@ export type MenuItemType = {
|
|
|
102
80
|
*/
|
|
103
81
|
testId?: string;
|
|
104
82
|
};
|
|
83
|
+
export type NodeItemType = {
|
|
84
|
+
/**
|
|
85
|
+
* Is the item a node?
|
|
86
|
+
*/
|
|
87
|
+
isNode: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* The content of the node.
|
|
90
|
+
*/
|
|
91
|
+
nodeContent?: ReactNode;
|
|
92
|
+
};
|
|
93
|
+
export type SeparatorItemType = {
|
|
94
|
+
/**
|
|
95
|
+
* Is the item a separator?
|
|
96
|
+
*/
|
|
97
|
+
isSeparator: boolean;
|
|
98
|
+
};
|
|
99
|
+
export type SitePlanLevel = 'basic' | 'performance-small' | 'performance-medium' | 'performance-large' | 'performance-xl' | 'elite';
|
|
100
|
+
export declare const SitePlanLevelLabel: Record<SitePlanLevel, string>;
|
|
101
|
+
export type SiteStatus = 'active' | 'frozen';
|
|
102
|
+
export type SiteType = 'drupal' | 'wordpress' | 'gatsby' | 'nextjs';
|
|
103
|
+
export declare const SiteTypeLabel: Record<SiteType, string>;
|
|
104
|
+
export declare const SiteTypeIcon: Record<SiteType, PDSIcon>;
|
|
105
|
+
export type SpacingScaleOptions = '6xs' | '5xs' | '4xs' | '3xs' | '2xs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl';
|
|
106
|
+
export type TypeScaleOptions = 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl' | '9xl';
|
package/_dist/vars/spacing.d.ts
CHANGED
|
@@ -1,17 +1,36 @@
|
|
|
1
|
-
export const
|
|
1
|
+
export const SPACING_6XS: 0.125;
|
|
2
|
+
export const SPACING_5XS: 0.25;
|
|
3
|
+
export const SPACING_4XS: 0.328;
|
|
4
|
+
export const SPACING_3XS: 0.41;
|
|
2
5
|
export const SPACING_2XS: 0.512;
|
|
6
|
+
export const SPACING_XS: 0.64;
|
|
7
|
+
export const SPACING_S: 0.8;
|
|
8
|
+
export const SPACING_M: 1;
|
|
9
|
+
export const SPACING_L: 1.25;
|
|
10
|
+
export const SPACING_XL: 1.563;
|
|
11
|
+
export const SPACING_2XL: 1.953;
|
|
3
12
|
export const SPACING_3XL: 2.441;
|
|
4
|
-
export const SPACING_3XS: 0.41;
|
|
5
13
|
export const SPACING_4XL: 3.052;
|
|
6
|
-
export const SPACING_4XS: 0.328;
|
|
7
14
|
export const SPACING_5XL: 3.815;
|
|
8
|
-
export const SPACING_5XS: 0.25;
|
|
9
15
|
export const SPACING_6XL: 4.678;
|
|
10
|
-
export const SPACING_6XS: 0.125;
|
|
11
16
|
export const SPACING_7XL: 5.96;
|
|
12
17
|
export const SPACING_8XL: 7.451;
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
+
export namespace SPACING {
|
|
19
|
+
export { SPACING_6XS };
|
|
20
|
+
export { SPACING_5XS };
|
|
21
|
+
export { SPACING_4XS };
|
|
22
|
+
export { SPACING_3XS };
|
|
23
|
+
export { SPACING_2XS };
|
|
24
|
+
export { SPACING_XS };
|
|
25
|
+
export { SPACING_S };
|
|
26
|
+
export { SPACING_M };
|
|
27
|
+
export { SPACING_L };
|
|
28
|
+
export { SPACING_XL };
|
|
29
|
+
export { SPACING_2XL };
|
|
30
|
+
export { SPACING_3XL };
|
|
31
|
+
export { SPACING_4XL };
|
|
32
|
+
export { SPACING_5XL };
|
|
33
|
+
export { SPACING_6XL };
|
|
34
|
+
export { SPACING_7XL };
|
|
35
|
+
export { SPACING_8XL };
|
|
36
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export const TYPE_SCALE_XS: 0.64;
|
|
2
|
+
export const TYPE_SCALE_S: 0.8;
|
|
3
|
+
export const TYPE_SCALE_M: 1;
|
|
4
|
+
export const TYPE_SCALE_L: 1.25;
|
|
5
|
+
export const TYPE_SCALE_XL: 1.563;
|
|
6
|
+
export const TYPE_SCALE_2XL: 1.953;
|
|
7
|
+
export const TYPE_SCALE_3XL: 2.441;
|
|
8
|
+
export const TYPE_SCALE_4XL: 3.052;
|
|
9
|
+
export const TYPE_SCALE_5XL: 3.815;
|
|
10
|
+
export const TYPE_SCALE_6XL: 4.678;
|
|
11
|
+
export const TYPE_SCALE_7XL: 5.96;
|
|
12
|
+
export const TYPE_SCALE_8XL: 7.451;
|
|
13
|
+
export const TYPE_SCALE_9XL: 6.192;
|
|
14
|
+
export namespace TYPE_SCALE {
|
|
15
|
+
export { TYPE_SCALE_XS };
|
|
16
|
+
export { TYPE_SCALE_S };
|
|
17
|
+
export { TYPE_SCALE_M };
|
|
18
|
+
export { TYPE_SCALE_L };
|
|
19
|
+
export { TYPE_SCALE_XL };
|
|
20
|
+
export { TYPE_SCALE_2XL };
|
|
21
|
+
export { TYPE_SCALE_3XL };
|
|
22
|
+
export { TYPE_SCALE_4XL };
|
|
23
|
+
export { TYPE_SCALE_5XL };
|
|
24
|
+
export { TYPE_SCALE_6XL };
|
|
25
|
+
export { TYPE_SCALE_7XL };
|
|
26
|
+
export { TYPE_SCALE_8XL };
|
|
27
|
+
export { TYPE_SCALE_9XL };
|
|
28
|
+
}
|
package/package.json
CHANGED
|
File without changes
|