@validationcloud/fractal-ui 1.9.0 → 1.10.0
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,19 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
declare const colors: {
|
|
3
|
+
number: string;
|
|
4
|
+
success: string;
|
|
5
|
+
primary: string;
|
|
6
|
+
successInverted: string;
|
|
7
|
+
};
|
|
8
|
+
declare const sizes: {
|
|
9
|
+
tag: string;
|
|
10
|
+
caption: string;
|
|
11
|
+
bodyBold: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const Badge: React.ForwardRefExoticComponent<{
|
|
14
|
+
color?: keyof typeof colors;
|
|
15
|
+
size?: keyof typeof sizes;
|
|
16
|
+
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
17
|
+
asChild?: boolean;
|
|
18
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
component: import('react').ForwardRefExoticComponent<{
|
|
4
|
+
color?: "number" | "success" | "primary" | "successInverted";
|
|
5
|
+
size?: "caption" | "tag" | "bodyBold";
|
|
6
|
+
} & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7
|
+
asChild?: boolean;
|
|
8
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const DefaultExample: Story;
|
|
13
|
+
export declare const Preview: Story;
|
|
14
|
+
export declare const NumberTag: Story;
|
|
15
|
+
export declare const ValueTag: Story;
|
|
16
|
+
export declare const AsLink: Story;
|
|
17
|
+
export declare const AsButton: Story;
|