@causw/core 0.0.8 → 0.0.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/index.d.mts +186 -284
- package/dist/index.d.ts +186 -284
- package/dist/index.js +619 -228
- package/dist/index.mjs +611 -228
- package/package.json +5 -3
- package/src/styles/global.css +123 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@causw/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "Core components and utilities for CAUSW Design System - CAU Software Community Service",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -21,13 +21,15 @@
|
|
|
21
21
|
"src/styles"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
+
"@radix-ui/react-slot": "^1.2.4",
|
|
24
25
|
"clsx": "^2.1.1",
|
|
25
26
|
"tailwind-merge": "^3.4.0",
|
|
26
27
|
"@causw/icons": "0.0.8",
|
|
27
|
-
"@causw/tokens": "0.0.
|
|
28
|
+
"@causw/tokens": "0.0.10"
|
|
28
29
|
},
|
|
29
30
|
"peerDependencies": {
|
|
30
|
-
"react": ">=18"
|
|
31
|
+
"react": ">=18",
|
|
32
|
+
"react-dom": ">=18"
|
|
31
33
|
},
|
|
32
34
|
"repository": {
|
|
33
35
|
"type": "git",
|
package/src/styles/global.css
CHANGED
|
@@ -1,3 +1,125 @@
|
|
|
1
1
|
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css');
|
|
2
2
|
@import 'tailwindcss';
|
|
3
|
-
@config '@causw/tokens/config';
|
|
3
|
+
@config '@causw/tokens/config';
|
|
4
|
+
|
|
5
|
+
* {
|
|
6
|
+
letter-spacing: -0.02rem;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@layer utilities {
|
|
10
|
+
|
|
11
|
+
/* Caption variants */
|
|
12
|
+
.typo-caption-sm {
|
|
13
|
+
@apply font-sans text-2xs leading-normal font-regular;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.typo-caption-sm-point {
|
|
17
|
+
@apply font-sans text-2xs leading-normal font-semibold;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.typo-caption-md {
|
|
21
|
+
@apply font-sans text-xs leading-normal font-medium;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.typo-caption-md-point {
|
|
25
|
+
@apply font-sans text-xs leading-normal font-semibold;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* Body2 variants */
|
|
29
|
+
.typo-body2-sm {
|
|
30
|
+
@apply font-sans text-xs leading-normal font-regular;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.typo-body2-sm-point {
|
|
34
|
+
@apply font-sans text-xs leading-normal font-semibold;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.typo-body2-md {
|
|
38
|
+
@apply font-sans text-base leading-normal font-medium;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.typo-body2-md-point {
|
|
42
|
+
@apply font-sans text-base leading-normal font-semibold;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* Body variants */
|
|
46
|
+
.typo-body-sm {
|
|
47
|
+
@apply font-sans text-base leading-tight font-regular;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.typo-body-sm-point {
|
|
51
|
+
@apply font-sans text-base leading-normal font-bold;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.typo-body-md {
|
|
55
|
+
@apply font-sans text-lg leading-normal font-medium;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.typo-body-md-point {
|
|
59
|
+
@apply font-sans text-lg leading-normal font-bold;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* Subtitle variants */
|
|
63
|
+
.typo-subtitle-sm {
|
|
64
|
+
@apply font-sans text-lg leading-normal font-medium;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.typo-subtitle-sm-point {
|
|
68
|
+
@apply font-sans text-lg leading-normal font-bold;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.typo-subtitle-md {
|
|
72
|
+
@apply font-sans text-xl leading-normal font-medium;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.typo-subtitle-md-point {
|
|
76
|
+
@apply font-sans text-xl leading-normal font-bold;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* Title variants */
|
|
80
|
+
.typo-title-sm {
|
|
81
|
+
@apply font-sans text-2xl leading-normal font-bold;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.typo-title-md {
|
|
85
|
+
@apply font-sans text-5xl leading-normal font-bold;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* Head variants */
|
|
89
|
+
.typo-head-sm {
|
|
90
|
+
@apply font-sans text-4xl leading-normal font-bold;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.typo-head-md {
|
|
94
|
+
@apply font-sans text-6xl leading-normal font-bold;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* Fixed size variants */
|
|
98
|
+
.typo-fixed-12 {
|
|
99
|
+
@apply font-sans text-2xs leading-normal font-medium;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.typo-fixed-14 {
|
|
103
|
+
@apply font-sans text-xs leading-normal font-medium;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.typo-fixed-15 {
|
|
107
|
+
@apply font-sans text-sm leading-normal font-semibold;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.typo-fixed-16 {
|
|
111
|
+
@apply font-sans text-base leading-normal font-medium;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.typo-fixed-18 {
|
|
115
|
+
@apply font-sans text-lg leading-normal font-medium;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.typo-fixed-20 {
|
|
119
|
+
@apply font-sans text-xl leading-normal font-semibold;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.typo-fixed-24 {
|
|
123
|
+
@apply font-sans text-3xl leading-normal font-bold;
|
|
124
|
+
}
|
|
125
|
+
}
|