@pantheon-systems/pds-toolkit-react 1.0.0-dev.180 → 1.0.0-dev.182

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.
@@ -0,0 +1,12 @@
1
+ import { ReactNode } from 'react';
2
+ import { HeadingLevel } from '@libs/types/custom-types';
3
+ interface HxProps {
4
+ baseClass: string;
5
+ children?: ReactNode;
6
+ className?: string;
7
+ level: HeadingLevel;
8
+ }
9
+ export declare const Hx: ({ baseClass, children, level, className, ...props }: HxProps) => import("react").DetailedReactHTMLElement<{
10
+ className: any;
11
+ }, HTMLElement>;
12
+ export {};
@@ -1,4 +1,4 @@
1
1
  export function createRandomID(): string;
2
2
  export function getDescendants(node: any, collect: any): any;
3
- export function mergeClasses(styles: any): any;
4
3
  export function initiateSlots(children: any): {};
4
+ export function mergeClasses(styles: any): any;
@@ -8,3 +8,4 @@ export type FuiOffset = number | {
8
8
  crossAxis?: number;
9
9
  alignmentAxis?: number | null;
10
10
  };
11
+ export type HeadingLevel = 'h2' | 'h3' | 'h4' | 'span';
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.180",
4
+ "version": "1.0.0-dev.182",
5
5
  "description": "PDS toolkit built using the React framework",
6
6
  "repository": {
7
7
  "type": "git",
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "author": "Pantheon Systems",
11
11
  "engines": {
12
- "node": ">=18.0.0 <=20.x"
12
+ "node": ">=18.0.0 <=22.x"
13
13
  },
14
14
  "bugs": {
15
15
  "url": "https://github.com/pantheon-systems/pds-toolkit-react/issues"