@nation-a/ui 0.16.16 → 0.16.17
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +621 -452
- package/dist/index.js.map +1 -1
- package/dist/stats.html +1 -1
- package/dist/styled-system/styles.css +4 -4
- package/dist/types/components/Text/index.d.ts +2 -1
- package/dist/types/components/Text/text.recipe.d.ts +22 -144
- package/package.json +3 -3
|
@@ -2532,10 +2532,6 @@ html:not(#\#),body:not(#\#) {
|
|
|
2532
2532
|
font-family: var(--fonts-noto-sans);
|
|
2533
2533
|
}
|
|
2534
2534
|
|
|
2535
|
-
.ff_freeman:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2536
|
-
font-family: var(--fonts-freeman);
|
|
2537
|
-
}
|
|
2538
|
-
|
|
2539
2535
|
.ff_dmSans:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2540
2536
|
font-family: var(--fonts-dm-sans);
|
|
2541
2537
|
}
|
|
@@ -2544,6 +2540,10 @@ html:not(#\#),body:not(#\#) {
|
|
|
2544
2540
|
font-family: var(--fonts-pretendard);
|
|
2545
2541
|
}
|
|
2546
2542
|
|
|
2543
|
+
.ff_freeman:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2544
|
+
font-family: var(--fonts-freeman);
|
|
2545
|
+
}
|
|
2546
|
+
|
|
2547
2547
|
.bg-c_background\.neutralInverse\.default:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2548
2548
|
background-color: var(--colors-background-neutral-inverse-default);
|
|
2549
2549
|
}
|
|
@@ -273,7 +273,8 @@ declare const Text: import('react').ForwardRefExoticComponent<Omit<{
|
|
|
273
273
|
part?: string | undefined | undefined;
|
|
274
274
|
ref?: import('react').Ref<HTMLParagraphElement> | undefined;
|
|
275
275
|
} & import('../../../styled-system/types').WithCss & {
|
|
276
|
-
variant?: "label.sm" | "body.md" | "body.lg" | "body.sm" | "label.md" | "title.sm" | "title.md" | "title.lg" | "headline.sm" | "headline.md" | "display.md" | "display.lg" | "
|
|
276
|
+
variant?: "label.sm" | "body.md" | "body.lg" | "body.sm" | "label.md" | "title.sm" | "title.md" | "title.lg" | "headline.sm" | "headline.md" | "display.md" | "display.lg" | "title.main.22.bold" | "title.main.24.bold" | "title.main.30.bold" | "title.main.56.bold" | "title.sub.16.bold" | "title.sub.18.bold" | "title.sub.20.bold" | "text.chat.14.bold" | "text.chat.14.regular" | "text.chat.16.bold" | "text.chat.16.regular" | "text.body.14.bold" | "text.body.14.regular" | "text.body.16.bold" | "text.body.16.regular" | "label.caption.10.semibold" | "label.caption.12.semibold" | "label.caption.14.semibold" | undefined;
|
|
277
|
+
language?: "en" | "ko" | undefined;
|
|
277
278
|
font?: "freeman" | "dmSans" | "pretendard" | "notoSans" | "inter" | undefined;
|
|
278
279
|
}, "ref"> & import('react').RefAttributes<HTMLParagraphElement>>;
|
|
279
280
|
export default Text;
|
|
@@ -50,150 +50,28 @@ export declare const textRecipe: import('../../../styled-system/types').RecipeRu
|
|
|
50
50
|
textStyle: "label.md";
|
|
51
51
|
fontFamily: "notoSans";
|
|
52
52
|
};
|
|
53
|
-
'
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
};
|
|
57
|
-
'
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
};
|
|
61
|
-
'
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
};
|
|
65
|
-
'
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
};
|
|
69
|
-
'
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
fontFamily: "freeman";
|
|
76
|
-
};
|
|
77
|
-
'en.title.sub.20.bold': {
|
|
78
|
-
textStyle: "en.title.sub.20.bold";
|
|
79
|
-
fontFamily: "freeman";
|
|
80
|
-
};
|
|
81
|
-
'en.text.chat.14.bold': {
|
|
82
|
-
textStyle: "en.text.chat.14.bold";
|
|
83
|
-
fontFamily: "dmSans";
|
|
84
|
-
};
|
|
85
|
-
'en.text.chat.14.regular': {
|
|
86
|
-
textStyle: "en.text.chat.14.regular";
|
|
87
|
-
fontFamily: "dmSans";
|
|
88
|
-
};
|
|
89
|
-
'en.text.chat.16.bold': {
|
|
90
|
-
textStyle: "en.text.chat.16.bold";
|
|
91
|
-
fontFamily: "dmSans";
|
|
92
|
-
};
|
|
93
|
-
'en.text.chat.16.regular': {
|
|
94
|
-
textStyle: "en.text.chat.16.regular";
|
|
95
|
-
fontFamily: "dmSans";
|
|
96
|
-
};
|
|
97
|
-
'en.text.body.14.bold': {
|
|
98
|
-
textStyle: "en.text.body.14.bold";
|
|
99
|
-
fontFamily: "dmSans";
|
|
100
|
-
};
|
|
101
|
-
'en.text.body.14.regular': {
|
|
102
|
-
textStyle: "en.text.body.14.regular";
|
|
103
|
-
fontFamily: "dmSans";
|
|
104
|
-
};
|
|
105
|
-
'en.text.body.16.bold': {
|
|
106
|
-
textStyle: "en.text.body.16.bold";
|
|
107
|
-
fontFamily: "dmSans";
|
|
108
|
-
};
|
|
109
|
-
'en.text.body.16.regular': {
|
|
110
|
-
textStyle: "en.text.body.16.regular";
|
|
111
|
-
fontFamily: "dmSans";
|
|
112
|
-
};
|
|
113
|
-
'en.label.caption.10.semibold': {
|
|
114
|
-
textStyle: "en.label.caption.10.semibold";
|
|
115
|
-
fontFamily: "dmSans";
|
|
116
|
-
};
|
|
117
|
-
'en.label.caption.12.semibold': {
|
|
118
|
-
textStyle: "en.label.caption.12.semibold";
|
|
119
|
-
fontFamily: "dmSans";
|
|
120
|
-
};
|
|
121
|
-
'en.label.caption.14.semibold': {
|
|
122
|
-
textStyle: "en.label.caption.14.semibold";
|
|
123
|
-
fontFamily: "dmSans";
|
|
124
|
-
};
|
|
125
|
-
'kr.title.main.22.bold': {
|
|
126
|
-
textStyle: "kr.title.main.22.bold";
|
|
127
|
-
fontFamily: "pretendard";
|
|
128
|
-
};
|
|
129
|
-
'kr.title.main.24.bold': {
|
|
130
|
-
textStyle: "kr.title.main.24.bold";
|
|
131
|
-
fontFamily: "pretendard";
|
|
132
|
-
};
|
|
133
|
-
'kr.title.main.30.bold': {
|
|
134
|
-
textStyle: "kr.title.main.30.bold";
|
|
135
|
-
fontFamily: "pretendard";
|
|
136
|
-
};
|
|
137
|
-
'kr.title.main.56.bold': {
|
|
138
|
-
textStyle: "kr.title.main.56.bold";
|
|
139
|
-
fontFamily: "pretendard";
|
|
140
|
-
};
|
|
141
|
-
'kr.title.sub.16.bold': {
|
|
142
|
-
textStyle: "kr.title.sub.16.bold";
|
|
143
|
-
fontFamily: "pretendard";
|
|
144
|
-
};
|
|
145
|
-
'kr.title.sub.18.bold': {
|
|
146
|
-
textStyle: "kr.title.sub.18.bold";
|
|
147
|
-
fontFamily: "pretendard";
|
|
148
|
-
};
|
|
149
|
-
'kr.title.sub.20.bold': {
|
|
150
|
-
textStyle: "kr.title.sub.20.bold";
|
|
151
|
-
fontFamily: "pretendard";
|
|
152
|
-
};
|
|
153
|
-
'kr.text.chat.14.bold': {
|
|
154
|
-
textStyle: "kr.text.chat.14.bold";
|
|
155
|
-
fontFamily: "pretendard";
|
|
156
|
-
};
|
|
157
|
-
'kr.text.chat.14.regular': {
|
|
158
|
-
textStyle: "kr.text.chat.14.regular";
|
|
159
|
-
fontFamily: "pretendard";
|
|
160
|
-
};
|
|
161
|
-
'kr.text.chat.16.bold': {
|
|
162
|
-
textStyle: "kr.text.chat.16.bold";
|
|
163
|
-
fontFamily: "pretendard";
|
|
164
|
-
};
|
|
165
|
-
'kr.text.chat.16.regular': {
|
|
166
|
-
textStyle: "kr.text.chat.16.regular";
|
|
167
|
-
fontFamily: "pretendard";
|
|
168
|
-
};
|
|
169
|
-
'kr.text.body.14.bold': {
|
|
170
|
-
textStyle: "kr.text.body.14.bold";
|
|
171
|
-
fontFamily: "pretendard";
|
|
172
|
-
};
|
|
173
|
-
'kr.text.body.14.regular': {
|
|
174
|
-
textStyle: "kr.text.body.14.regular";
|
|
175
|
-
fontFamily: "pretendard";
|
|
176
|
-
};
|
|
177
|
-
'kr.text.body.16.bold': {
|
|
178
|
-
textStyle: "kr.text.body.16.bold";
|
|
179
|
-
fontFamily: "pretendard";
|
|
180
|
-
};
|
|
181
|
-
'kr.text.body.16.regular': {
|
|
182
|
-
textStyle: "kr.text.body.16.regular";
|
|
183
|
-
fontFamily: "pretendard";
|
|
184
|
-
};
|
|
185
|
-
'kr.label.caption.10.semibold': {
|
|
186
|
-
textStyle: "kr.label.caption.10.semibold";
|
|
187
|
-
fontFamily: "pretendard";
|
|
188
|
-
};
|
|
189
|
-
'kr.label.caption.12.semibold': {
|
|
190
|
-
textStyle: "kr.label.caption.12.semibold";
|
|
191
|
-
fontFamily: "pretendard";
|
|
192
|
-
};
|
|
193
|
-
'kr.label.caption.14.semibold': {
|
|
194
|
-
textStyle: "kr.label.caption.14.semibold";
|
|
195
|
-
fontFamily: "pretendard";
|
|
196
|
-
};
|
|
53
|
+
'title.main.22.bold': {};
|
|
54
|
+
'title.main.24.bold': {};
|
|
55
|
+
'title.main.30.bold': {};
|
|
56
|
+
'title.main.56.bold': {};
|
|
57
|
+
'title.sub.16.bold': {};
|
|
58
|
+
'title.sub.18.bold': {};
|
|
59
|
+
'title.sub.20.bold': {};
|
|
60
|
+
'text.chat.14.bold': {};
|
|
61
|
+
'text.chat.14.regular': {};
|
|
62
|
+
'text.chat.16.bold': {};
|
|
63
|
+
'text.chat.16.regular': {};
|
|
64
|
+
'text.body.14.bold': {};
|
|
65
|
+
'text.body.14.regular': {};
|
|
66
|
+
'text.body.16.bold': {};
|
|
67
|
+
'text.body.16.regular': {};
|
|
68
|
+
'label.caption.10.semibold': {};
|
|
69
|
+
'label.caption.12.semibold': {};
|
|
70
|
+
'label.caption.14.semibold': {};
|
|
71
|
+
};
|
|
72
|
+
language: {
|
|
73
|
+
en: {};
|
|
74
|
+
ko: {};
|
|
197
75
|
};
|
|
198
76
|
font: {
|
|
199
77
|
inter: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nation-a/ui",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.17",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./dist/types/index.d.ts",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"react-dom": "^18.3.1",
|
|
23
23
|
"react-hot-toast": "^2.5.2",
|
|
24
24
|
"react-lottie": "^1.2.10",
|
|
25
|
-
"@nation-a/
|
|
26
|
-
"@nation-a/
|
|
25
|
+
"@nation-a/tokens": "0.4.0",
|
|
26
|
+
"@nation-a/icons": "0.3.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@chromatic-com/storybook": "^3",
|