@1d1s/design-system 1.5.0 → 2.1.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
declare const buttonVariants: (props?: ({
|
|
3
|
-
variant?: "
|
|
4
|
-
size?: "
|
|
3
|
+
variant?: "primary" | "secondary" | "soft" | "ghost" | "danger" | null | undefined;
|
|
4
|
+
size?: "sm" | "md" | "lg" | "xs" | "xl" | "icon" | null | undefined;
|
|
5
5
|
pill?: boolean | null | undefined;
|
|
6
6
|
fullWidth?: boolean | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -22,6 +22,8 @@ export interface TextFieldProps extends Omit<React.InputHTMLAttributes<HTMLInput
|
|
|
22
22
|
multiline?: boolean;
|
|
23
23
|
rows?: number;
|
|
24
24
|
cols?: number;
|
|
25
|
+
/** 우하단 글자수 카운터 (multiline 전용). `maxLength`와 함께 쓰면 `n/max` 표시 */
|
|
26
|
+
count?: boolean;
|
|
25
27
|
}
|
|
26
28
|
/**
|
|
27
29
|
* TextField v3.1
|