@qodo/design-system 0.1.0 → 0.1.1
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/README.md +180 -106
- package/dist/design-system.css +1 -1
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +12 -2
- package/dist/index.esm.js +184 -154
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ClassProp } from 'class-variance-authority/types';
|
|
2
2
|
import { ClassValue } from 'clsx';
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
3
4
|
import * as React_2 from 'react';
|
|
4
5
|
import { VariantProps } from 'class-variance-authority';
|
|
5
6
|
|
|
@@ -49,13 +50,22 @@ export declare const colors: {
|
|
|
49
50
|
};
|
|
50
51
|
};
|
|
51
52
|
|
|
53
|
+
export declare function Input({ className, variant, type, ...props }: InputProps): JSX.Element;
|
|
54
|
+
|
|
55
|
+
export declare interface InputProps extends React_2.ComponentProps<"input">, VariantProps<typeof inputVariants> {
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
declare const inputVariants: (props?: ({
|
|
59
|
+
variant?: "default" | "destructive" | "secondary" | "success" | "warning" | "accent" | null | undefined;
|
|
60
|
+
} & ClassProp) | undefined) => string;
|
|
61
|
+
|
|
52
62
|
export declare const spacing: {
|
|
53
63
|
readonly xs: "0.25rem";
|
|
54
64
|
readonly sm: "0.5rem";
|
|
55
65
|
readonly md: "1rem";
|
|
56
66
|
readonly lg: "1.5rem";
|
|
57
67
|
readonly xl: "2rem";
|
|
58
|
-
readonly
|
|
68
|
+
readonly "2xl": "3rem";
|
|
59
69
|
};
|
|
60
70
|
|
|
61
71
|
export declare const typography: {
|
|
@@ -69,7 +79,7 @@ export declare const typography: {
|
|
|
69
79
|
readonly base: "1rem";
|
|
70
80
|
readonly lg: "1.125rem";
|
|
71
81
|
readonly xl: "1.25rem";
|
|
72
|
-
readonly
|
|
82
|
+
readonly "2xl": "1.5rem";
|
|
73
83
|
};
|
|
74
84
|
};
|
|
75
85
|
|