@pantheon-systems/pds-toolkit-react 1.0.0-dev.247 → 1.0.0-dev.249
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/Pagination/Pagination.d.ts +2 -2
- package/_dist/components/TableOfContents/TableOfContents.d.ts +2 -2
- package/_dist/components/VideoEmbed/VideoEmbed.d.ts +23 -0
- package/_dist/components/cards/CardHeading/CardHeading.d.ts +2 -2
- package/_dist/components/cards/LinksCard/LinksCard.d.ts +2 -2
- package/_dist/components/cards/SiteCard/SiteCard.d.ts +2 -2
- package/_dist/components/{CompactEmptyState → empty-states/CompactEmptyState}/CompactEmptyState.d.ts +2 -2
- package/_dist/components/empty-states/HorizontalEmptyState/HorizontalEmptyState.d.ts +57 -0
- package/_dist/components/empty-states/VerticalEmptyState/VerticalEmptyState.d.ts +39 -0
- package/_dist/components/footer/FooterHeading/FooterHeading.d.ts +3 -3
- package/_dist/components/footer/FooterLinks/FooterLinks.d.ts +2 -2
- package/_dist/components/navigation/WorkspaceSelector/WorkspaceSelector.d.ts +39 -30
- package/_dist/components/tiles/Tile/Tile.d.ts +2 -2
- package/_dist/components/tiles/TileGrid/TileGrid.d.ts +2 -2
- 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-compact-empty-state.css +1 -1
- package/_dist/css/component-css/pds-horizontal-empty-state.css +1 -0
- package/_dist/css/component-css/pds-index.css +5 -5
- package/_dist/css/component-css/pds-input-utilities.css +1 -1
- package/_dist/css/component-css/pds-side-nav.css +1 -1
- package/_dist/css/component-css/pds-tiles-common.css +1 -1
- package/_dist/css/component-css/pds-vertical-empty-state.css +1 -0
- package/_dist/css/component-css/pds-video-embed.css +1 -0
- package/_dist/css/component-css/pds-workspace-selector.css +1 -1
- 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 +2019 -1899
- package/_dist/index.js.map +1 -1
- package/_dist/layouts/DashboardInner/DashboardInner.d.ts +10 -1
- package/_dist/libs/types/custom-types.d.ts +2 -1
- package/package.json +1 -1
|
@@ -8,6 +8,15 @@ interface DashboardInnerProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
8
8
|
* Child elements to be assigned to named slots.
|
|
9
9
|
*/
|
|
10
10
|
children: ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* Whether to apply bottom spacing to the second-to-last content child.
|
|
13
|
+
* This prop provides flexibility for different dashboard layouts:
|
|
14
|
+
* - When true: Adds consistent spacing between content sections while preventing
|
|
15
|
+
* unnecessary spacing after the last element
|
|
16
|
+
* - When false: Removes all content spacing for layouts that require custom spacing
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
19
|
+
hasContentSpacing?: boolean;
|
|
11
20
|
/**
|
|
12
21
|
* Additional class names
|
|
13
22
|
*/
|
|
@@ -16,5 +25,5 @@ interface DashboardInnerProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
16
25
|
/**
|
|
17
26
|
* DashboardInner UI component
|
|
18
27
|
*/
|
|
19
|
-
export declare const DashboardInner: ({ children, className, ...props }: DashboardInnerProps) => React.JSX.Element;
|
|
28
|
+
export declare const DashboardInner: ({ children, hasContentSpacing, className, ...props }: DashboardInnerProps) => React.JSX.Element;
|
|
20
29
|
export {};
|
|
@@ -22,7 +22,8 @@ export type HeadingItemType = {
|
|
|
22
22
|
*/
|
|
23
23
|
isHeading: boolean;
|
|
24
24
|
};
|
|
25
|
-
export type HeadingLevel = 'h2' | 'h3' | 'h4' | 'span';
|
|
25
|
+
export type HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span';
|
|
26
|
+
export type HeadingLevelCommon = Exclude<HeadingLevel, 'h1' | 'h5' | 'h6'>;
|
|
26
27
|
export type NodeItemType = {
|
|
27
28
|
/**
|
|
28
29
|
* Is the item a node?
|