@1d1s/design-system 1.2.7 → 1.2.9
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/components/Card/Card.d.ts +1 -1
- package/dist/components/Text/Text.d.ts +2 -2
- package/dist/index.es.js +226 -225
- package/package.json +1 -1
- package/src/styles/colors.css +16 -0
- package/src/styles/shadow.css +18 -1
- package/src/styles/typography.css +8 -0
|
@@ -10,7 +10,7 @@ export interface CardProps extends React.HTMLAttributes<HTMLDivElement>, Variant
|
|
|
10
10
|
* Card
|
|
11
11
|
* 흰 배경 + 얇은 보더 + 라운드 컨테이너. 챌린지/일지/스탯 카드의 베이스.
|
|
12
12
|
*
|
|
13
|
-
* @param radius `sm`(8) · `md`(12) · `lg`(
|
|
13
|
+
* @param radius `sm`(8) · `md`(12) · `lg`(16, default) · `xl`(16)
|
|
14
14
|
* @param interactive hover lift + shadow
|
|
15
15
|
*/
|
|
16
16
|
export declare function Card({ radius, interactive, className, ...props }: CardProps): React.ReactElement;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
export declare const textVariants: (props?: ({
|
|
3
|
-
size?: "display1" | "display2" | "heading1" | "heading2" | "body1" | "body2" | "caption1" | "caption2" | "caption3" | "pageTitle" | null | undefined;
|
|
3
|
+
size?: "display1" | "display2" | "heading1" | "heading2" | "body1" | "body2" | "caption1" | "caption2" | "caption3" | "caption4" | "caption5" | "pageTitle" | null | undefined;
|
|
4
4
|
weight?: "bold" | "extrabold" | "semibold" | "medium" | "regular" | "light" | null | undefined;
|
|
5
5
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
6
|
/**
|
|
7
7
|
* Text
|
|
8
8
|
* 텍스트에 사이즈 및 굵기를 적용하는 커스텀 텍스트 컴포넌트
|
|
9
9
|
*
|
|
10
|
-
* @param size 텍스트 크기 : heading1, heading2, body1, body2, caption1, caption2, caption3, pageTitle
|
|
10
|
+
* @param size 텍스트 크기 : display1, display2, heading1, heading2, body1, body2, caption1, caption2, caption3, caption4(11px), caption5(10px), pageTitle
|
|
11
11
|
* @default size body2
|
|
12
12
|
* @param weight 텍스트 굵기 : extrabold, bold, semibold, medium, regular, light
|
|
13
13
|
* @param as HTML 태그 또는 커스텀 컴포넌트로 렌더링 (기본값: span)
|