@up42/up-components 0.3.1 → 0.3.2

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,11 @@
1
+ import React from 'react';
2
+ export declare type PageHeaderProps = {
3
+ title: string;
4
+ divider?: boolean;
5
+ description?: React.ReactNode;
6
+ action?: React.ReactNode;
7
+ };
8
+ /**
9
+ * Documentation: https://up-components.up42.dev/?path=/story/patterns-pageheader
10
+ */
11
+ export declare const PageHeader: ({ title, description, divider, action }: PageHeaderProps) => JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { Meta, Story } from '@storybook/react';
2
+ import { PageHeaderProps } from './PageHeader';
3
+ declare const _default: Meta<import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const Default: Story<PageHeaderProps>;
6
+ export declare const WithoutDivider: Story<PageHeaderProps>;
7
+ export declare const SimpleDescription: Story<PageHeaderProps>;
8
+ export declare const Actions: Story<PageHeaderProps>;
9
+ export declare const Complex: Story<PageHeaderProps>;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ export declare type PageHeaderProps = {
3
+ title: string;
4
+ divider?: boolean;
5
+ description?: React.ReactNode;
6
+ action?: React.ReactNode;
7
+ };
8
+ /**
9
+ * Documentation: https://up-components.up42.dev/?path=/story/patterns-pageheader
10
+ */
11
+ export declare const PageHeader: ({ title, description, divider, action }: PageHeaderProps) => JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { Meta, Story } from '@storybook/react';
2
+ import { PageHeaderProps } from './PageHeader';
3
+ declare const _default: Meta<import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const Default: Story<PageHeaderProps>;
6
+ export declare const WithoutDivider: Story<PageHeaderProps>;
7
+ export declare const SimpleDescription: Story<PageHeaderProps>;
8
+ export declare const Actions: Story<PageHeaderProps>;
9
+ export declare const Complex: Story<PageHeaderProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@up42/up-components",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "UP42 Component Library",
5
5
  "author": "Axel Fuhrmann axel.fuhrmann@up42.com",
6
6
  "license": "ISC",