@pantheon-systems/pds-toolkit-react 1.0.0-dev.186 → 1.0.0-dev.187

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.
@@ -1,13 +1,17 @@
1
- export function StepperLayout({ children, className, ...props }: {
2
- [x: string]: any;
3
- children: any;
4
- className: any;
5
- }): React.JSX.Element;
6
- export namespace StepperLayout {
7
- namespace propTypes {
8
- let children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
9
- let className: PropTypes.Requireable<string>;
10
- }
1
+ import React, { ReactNode } from 'react';
2
+ import './stepper-layout.css';
3
+ interface StepperLayoutProps {
4
+ /**
5
+ * Layout content.
6
+ */
7
+ children?: ReactNode;
8
+ /**
9
+ * Additional class names
10
+ */
11
+ className?: string;
11
12
  }
12
- import React from 'react';
13
- import PropTypes from 'prop-types';
13
+ /**
14
+ * StepperLayout UI component
15
+ */
16
+ export declare const StepperLayout: ({ children, className, ...props }: StepperLayoutProps) => React.JSX.Element;
17
+ export {};
@@ -1,7 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { HeadingLevel } from '@libs/types/custom-types';
3
3
  interface HxProps {
4
- baseClass: string;
4
+ baseClass?: string;
5
5
  children?: ReactNode;
6
6
  className?: string;
7
7
  level: HeadingLevel;
@@ -9,3 +9,4 @@ export type FuiOffset = number | {
9
9
  alignmentAxis?: number | null;
10
10
  };
11
11
  export type HeadingLevel = 'h2' | 'h3' | 'h4' | 'span';
12
+ export type SiteStatus = 'active' | 'frozen';
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.186",
4
+ "version": "1.0.0-dev.187",
5
5
  "description": "PDS toolkit built using the React framework",
6
6
  "repository": {
7
7
  "type": "git",