@sellgar/kit 0.0.157 → 0.0.158
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.
- package/dist/index.css +1 -1
- package/dist/index.js +165 -161
- package/package.json +1 -1
- package/types/components/misc/divider/divider.stories.d.ts +1 -5
- package/types/components/misc/option/option.stories.d.ts +1 -5
- package/types/components/symbols/badge/badge.stories.d.ts +1 -31
- package/types/components/symbols/button/button.stories.d.ts +1 -44
- package/types/components/symbols/button-link/button-link.d.ts +1 -1
- package/types/components/symbols/button-link/button-link.stories.d.ts +1 -25
package/package.json
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { StoryObj } from '@storybook/react-vite';
|
|
3
|
-
declare const meta:
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import('./divider.tsx').IProps>;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
3
|
+
declare const meta: Meta<React.FC<import('./divider.tsx').IProps>>;
|
|
8
4
|
export default meta;
|
|
9
5
|
type Story = StoryObj<typeof meta>;
|
|
10
6
|
export declare const TypeLabelLeft: Story;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { StoryObj } from '@storybook/react-vite';
|
|
3
|
-
declare const meta:
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import('./option.tsx').IProps>;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
3
|
+
declare const meta: Meta<React.FC<import('./option.tsx').IProps>>;
|
|
8
4
|
export default meta;
|
|
9
5
|
type Story = StoryObj<typeof meta>;
|
|
10
6
|
export declare const TypeLabelLeft: Story;
|
|
@@ -1,36 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { StoryObj } from '@storybook/react-vite';
|
|
3
|
-
declare const meta:
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import('./badge.tsx').IProps>;
|
|
6
|
-
tags: string[];
|
|
7
|
-
args: {
|
|
8
|
-
color: "gray";
|
|
9
|
-
size: "md";
|
|
10
|
-
shape: "rounded";
|
|
11
|
-
label: string;
|
|
12
|
-
};
|
|
13
|
-
argTypes: {
|
|
14
|
-
color: {
|
|
15
|
-
control: {
|
|
16
|
-
type: "select";
|
|
17
|
-
};
|
|
18
|
-
options: string[];
|
|
19
|
-
};
|
|
20
|
-
size: {
|
|
21
|
-
control: {
|
|
22
|
-
type: "select";
|
|
23
|
-
};
|
|
24
|
-
options: string[];
|
|
25
|
-
};
|
|
26
|
-
shape: {
|
|
27
|
-
control: {
|
|
28
|
-
type: "select";
|
|
29
|
-
};
|
|
30
|
-
options: string[];
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
};
|
|
3
|
+
declare const meta: Meta<React.FC<import('./badge.tsx').IProps>>;
|
|
34
4
|
export default meta;
|
|
35
5
|
type Story = StoryObj<typeof meta>;
|
|
36
6
|
export declare const TypeLabelLeft: Story;
|
|
@@ -1,49 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { StoryObj } from '@storybook/react-vite';
|
|
3
|
-
declare const meta:
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import('./button.tsx').IProps>;
|
|
6
|
-
tags: string[];
|
|
7
|
-
args: {
|
|
8
|
-
style: "primary";
|
|
9
|
-
target: "default";
|
|
10
|
-
size: "md";
|
|
11
|
-
shape: "rounded";
|
|
12
|
-
children: string;
|
|
13
|
-
};
|
|
14
|
-
argTypes: {
|
|
15
|
-
form: {
|
|
16
|
-
control: {
|
|
17
|
-
type: "select";
|
|
18
|
-
};
|
|
19
|
-
options: string[];
|
|
20
|
-
};
|
|
21
|
-
style: {
|
|
22
|
-
control: {
|
|
23
|
-
type: "select";
|
|
24
|
-
};
|
|
25
|
-
options: string[];
|
|
26
|
-
};
|
|
27
|
-
target: {
|
|
28
|
-
control: {
|
|
29
|
-
type: "select";
|
|
30
|
-
};
|
|
31
|
-
options: string[];
|
|
32
|
-
};
|
|
33
|
-
size: {
|
|
34
|
-
control: {
|
|
35
|
-
type: "select";
|
|
36
|
-
};
|
|
37
|
-
options: string[];
|
|
38
|
-
};
|
|
39
|
-
shape: {
|
|
40
|
-
control: {
|
|
41
|
-
type: "select";
|
|
42
|
-
};
|
|
43
|
-
options: string[];
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
};
|
|
3
|
+
declare const meta: Meta<React.FC<import('./button.tsx').IProps>>;
|
|
47
4
|
export default meta;
|
|
48
5
|
type Story = StoryObj<typeof meta>;
|
|
49
6
|
export declare const Default: Story;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
export interface IProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'style'> {
|
|
3
|
-
size?: 'md' | 'sm';
|
|
3
|
+
size?: 'md' | 'sm' | 'xs';
|
|
4
4
|
target?: 'default' | 'destructive' | 'success' | 'info';
|
|
5
5
|
leadIcon?: React.ReactNode;
|
|
6
6
|
tailIcon?: React.ReactNode;
|
|
@@ -1,30 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { StoryObj } from '@storybook/react-vite';
|
|
3
|
-
declare const meta:
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import('./button-link.tsx').IProps>;
|
|
6
|
-
tags: string[];
|
|
7
|
-
args: {
|
|
8
|
-
target: "default";
|
|
9
|
-
size: "md";
|
|
10
|
-
children: string;
|
|
11
|
-
disabled: false;
|
|
12
|
-
};
|
|
13
|
-
argTypes: {
|
|
14
|
-
target: {
|
|
15
|
-
control: {
|
|
16
|
-
type: "select";
|
|
17
|
-
};
|
|
18
|
-
options: string[];
|
|
19
|
-
};
|
|
20
|
-
size: {
|
|
21
|
-
control: {
|
|
22
|
-
type: "select";
|
|
23
|
-
};
|
|
24
|
-
options: string[];
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
};
|
|
3
|
+
declare const meta: Meta<React.FC<import('./button-link.tsx').IProps>>;
|
|
28
4
|
export default meta;
|
|
29
5
|
type Story = StoryObj<typeof meta>;
|
|
30
6
|
export declare const Default: Story;
|