dfh-ui-library 1.0.0 → 1.0.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.
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- import type { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: import("react").FC<{}>;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default meta;
11
- type Story = StoryObj<typeof meta>;
12
- export declare const LoggedOut: Story;
13
- export declare const LoggedIn: Story;
@@ -1,3 +0,0 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
File without changes
@@ -1,11 +0,0 @@
1
- import { Meta, StoryObj } from "@storybook/react";
2
- import Button from "./Button";
3
- declare const meta: Meta<typeof Button>;
4
- export default meta;
5
- type Story = StoryObj<typeof Button>;
6
- export declare const Primary: Story;
7
- export declare const Secondary: Story;
8
- export declare const Disabled: Story;
9
- export declare const Small: Story;
10
- export declare const Medium: Story;
11
- export declare const Large: Story;
@@ -1,9 +0,0 @@
1
- import { Meta, StoryObj } from "@storybook/react";
2
- import Typhography from "./Typhography";
3
- declare const meta: Meta<typeof Typhography>;
4
- export default meta;
5
- type Story = StoryObj<typeof Typhography>;
6
- export declare const H1: Story;
7
- export declare const H1Bold: Story;
8
- export declare const H1ExtraBold: Story;
9
- export declare const H10: Story;
@@ -1,29 +0,0 @@
1
- import React from 'react';
2
- import './button.css';
3
- interface ButtonProps {
4
- /**
5
- * Is this the principal call to action on the page?
6
- */
7
- primary?: boolean;
8
- /**
9
- * What background color to use
10
- */
11
- backgroundColor?: string;
12
- /**
13
- * How large should the button be?
14
- */
15
- size?: 'small' | 'medium' | 'large';
16
- /**
17
- * Button contents
18
- */
19
- label: string;
20
- /**
21
- * Optional click handler
22
- */
23
- onClick?: () => void;
24
- }
25
- /**
26
- * Primary UI component for user interaction
27
- */
28
- export declare const Button: ({ primary, size, backgroundColor, label, ...props }: ButtonProps) => React.JSX.Element;
29
- export {};
@@ -1,8 +0,0 @@
1
- import type { StoryObj } from "@storybook/react";
2
- declare const meta: any;
3
- export default meta;
4
- type Story = StoryObj<typeof meta>;
5
- export declare const Primary: Story;
6
- export declare const Secondary: Story;
7
- export declare const Large: Story;
8
- export declare const Small: Story;
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import './header.css';
3
- type User = {
4
- name: string;
5
- };
6
- interface HeaderProps {
7
- user?: User;
8
- onLogin: () => void;
9
- onLogout: () => void;
10
- onCreateAccount: () => void;
11
- }
12
- export declare const Header: ({ user, onLogin, onLogout, onCreateAccount }: HeaderProps) => React.JSX.Element;
13
- export {};
@@ -1,6 +0,0 @@
1
- import type { StoryObj } from "@storybook/react";
2
- declare const meta: any;
3
- export default meta;
4
- type Story = StoryObj<typeof meta>;
5
- export declare const LoggedIn: Story;
6
- export declare const LoggedOut: Story;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import './page.css';
3
- export declare const Page: React.FC;
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- import type { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: import("react").FC<{}>;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default meta;
11
- type Story = StoryObj<typeof meta>;
12
- export declare const LoggedOut: Story;
13
- export declare const LoggedIn: Story;