@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.
Files changed (35) hide show
  1. package/_dist/components/Pagination/Pagination.d.ts +2 -2
  2. package/_dist/components/TableOfContents/TableOfContents.d.ts +2 -2
  3. package/_dist/components/VideoEmbed/VideoEmbed.d.ts +23 -0
  4. package/_dist/components/cards/CardHeading/CardHeading.d.ts +2 -2
  5. package/_dist/components/cards/LinksCard/LinksCard.d.ts +2 -2
  6. package/_dist/components/cards/SiteCard/SiteCard.d.ts +2 -2
  7. package/_dist/components/{CompactEmptyState → empty-states/CompactEmptyState}/CompactEmptyState.d.ts +2 -2
  8. package/_dist/components/empty-states/HorizontalEmptyState/HorizontalEmptyState.d.ts +57 -0
  9. package/_dist/components/empty-states/VerticalEmptyState/VerticalEmptyState.d.ts +39 -0
  10. package/_dist/components/footer/FooterHeading/FooterHeading.d.ts +3 -3
  11. package/_dist/components/footer/FooterLinks/FooterLinks.d.ts +2 -2
  12. package/_dist/components/navigation/WorkspaceSelector/WorkspaceSelector.d.ts +39 -30
  13. package/_dist/components/tiles/Tile/Tile.d.ts +2 -2
  14. package/_dist/components/tiles/TileGrid/TileGrid.d.ts +2 -2
  15. package/_dist/css/component-css/pds-button.css +1 -1
  16. package/_dist/css/component-css/pds-checkbox.css +1 -1
  17. package/_dist/css/component-css/pds-compact-empty-state.css +1 -1
  18. package/_dist/css/component-css/pds-horizontal-empty-state.css +1 -0
  19. package/_dist/css/component-css/pds-index.css +5 -5
  20. package/_dist/css/component-css/pds-input-utilities.css +1 -1
  21. package/_dist/css/component-css/pds-side-nav.css +1 -1
  22. package/_dist/css/component-css/pds-tiles-common.css +1 -1
  23. package/_dist/css/component-css/pds-vertical-empty-state.css +1 -0
  24. package/_dist/css/component-css/pds-video-embed.css +1 -0
  25. package/_dist/css/component-css/pds-workspace-selector.css +1 -1
  26. package/_dist/css/pds-components.css +5 -5
  27. package/_dist/css/pds-core.css +1 -1
  28. package/_dist/css/pds-layouts.css +1 -1
  29. package/_dist/index.css +1 -1
  30. package/_dist/index.d.ts +4 -1
  31. package/_dist/index.js +2019 -1899
  32. package/_dist/index.js.map +1 -1
  33. package/_dist/layouts/DashboardInner/DashboardInner.d.ts +10 -1
  34. package/_dist/libs/types/custom-types.d.ts +2 -1
  35. 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?
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pantheon-systems/pds-toolkit-react",
3
3
  "technology": "React",
4
- "version": "1.0.0-dev.247",
4
+ "version": "1.0.0-dev.249",
5
5
  "description": "PDS toolkit built using the React framework",
6
6
  "repository": {
7
7
  "type": "git",