@nurihaus/web-design-system 3.1.0 → 3.2.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.
- package/dist/ai/components.md +166 -2
- package/dist/ai/tokens.md +64 -15
- package/dist/avatar.js +2 -1
- package/dist/bottom-nav.js +407 -0
- package/dist/chip-group.js +317 -0
- package/dist/chunk-436.js +2 -1
- package/dist/chunk-653.js +296 -0
- package/dist/chunk-713.js +2 -1
- package/dist/chunk-77.js +2 -1
- package/dist/components/bottom-nav/base-bottom-nav.d.ts +10 -0
- package/dist/components/bottom-nav/bottom-nav-props.d.ts +1 -0
- package/dist/components/bottom-nav/bottom-nav-type.d.ts +36 -0
- package/dist/components/bottom-nav/bottom-nav.d.ts +4 -0
- package/dist/components/bottom-nav/bottom-nav.stories.d.ts +55 -0
- package/dist/components/chip-group/base-chip-group.d.ts +5 -0
- package/dist/components/chip-group/chip-group-props.d.ts +1 -0
- package/dist/components/chip-group/chip-group-type.d.ts +25 -0
- package/dist/components/chip-group/chip-group.d.ts +4 -0
- package/dist/components/chip-group/chip-group.stories.d.ts +27 -0
- package/dist/components/elements/text/text-props.d.ts +1 -1
- package/dist/components/elements/text/text.stories.d.ts +1 -1
- package/dist/components/icon/base-icon.d.ts +3 -0
- package/dist/components/icon/icon-paths.d.ts +202 -0
- package/dist/components/icon/icon-props.d.ts +6 -0
- package/dist/components/icon/icon-type.d.ts +14 -0
- package/dist/components/icon/icon.d.ts +4 -0
- package/dist/components/icon/icon.stories.d.ts +33 -0
- package/dist/components/skeleton/skeleton.stories.d.ts +5 -5
- package/dist/components/step-progress/base-step-progress.d.ts +7 -0
- package/dist/components/step-progress/step-progress-props.d.ts +10 -0
- package/dist/components/step-progress/step-progress-type.d.ts +17 -0
- package/dist/components/step-progress/step-progress.d.ts +4 -0
- package/dist/components/step-progress/step-progress.stories.d.ts +29 -0
- package/dist/components/toast/toast.stories.d.ts +5 -5
- package/dist/components.css +314 -0
- package/dist/icon.js +222 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +864 -54
- package/dist/step-progress.js +310 -0
- package/dist/styles.css +332 -12
- package/dist/toast.js +2 -1
- package/dist/tokens/generated/semantic-admin.d.ts +24 -24
- package/dist/tokens/generated/semantic-app.d.ts +24 -24
- package/dist/tokens.css +64 -12
- package/dist/tokens.js +48 -48
- package/package.json +21 -3
package/dist/tokens.js
CHANGED
|
@@ -245,40 +245,40 @@ var semanticApp = {
|
|
|
245
245
|
},
|
|
246
246
|
"size": {
|
|
247
247
|
"xl": {
|
|
248
|
-
"fontFamily": "
|
|
249
|
-
"fontWeight":
|
|
250
|
-
"fontSize":
|
|
251
|
-
"lineHeight":
|
|
248
|
+
"fontFamily": "Pretendard",
|
|
249
|
+
"fontWeight": 700,
|
|
250
|
+
"fontSize": 18,
|
|
251
|
+
"lineHeight": 24
|
|
252
252
|
},
|
|
253
253
|
"lg": {
|
|
254
|
-
"fontFamily": "
|
|
255
|
-
"fontWeight":
|
|
256
|
-
"fontSize":
|
|
257
|
-
"lineHeight":
|
|
254
|
+
"fontFamily": "Pretendard",
|
|
255
|
+
"fontWeight": 700,
|
|
256
|
+
"fontSize": 16,
|
|
257
|
+
"lineHeight": 22
|
|
258
258
|
},
|
|
259
259
|
"md": {
|
|
260
|
-
"fontFamily": "
|
|
261
|
-
"fontWeight":
|
|
262
|
-
"fontSize":
|
|
263
|
-
"lineHeight":
|
|
260
|
+
"fontFamily": "Pretendard",
|
|
261
|
+
"fontWeight": 600,
|
|
262
|
+
"fontSize": 14,
|
|
263
|
+
"lineHeight": 18
|
|
264
264
|
},
|
|
265
265
|
"rg": {
|
|
266
|
-
"fontFamily": "
|
|
267
|
-
"fontWeight":
|
|
268
|
-
"fontSize":
|
|
269
|
-
"lineHeight":
|
|
266
|
+
"fontFamily": "Pretendard",
|
|
267
|
+
"fontWeight": 600,
|
|
268
|
+
"fontSize": 14,
|
|
269
|
+
"lineHeight": 18
|
|
270
270
|
},
|
|
271
271
|
"sm": {
|
|
272
|
-
"fontFamily": "
|
|
273
|
-
"fontWeight":
|
|
274
|
-
"fontSize":
|
|
275
|
-
"lineHeight":
|
|
272
|
+
"fontFamily": "Pretendard",
|
|
273
|
+
"fontWeight": 600,
|
|
274
|
+
"fontSize": 12,
|
|
275
|
+
"lineHeight": 18
|
|
276
276
|
},
|
|
277
277
|
"xs": {
|
|
278
|
-
"fontFamily": "
|
|
279
|
-
"fontWeight":
|
|
280
|
-
"fontSize":
|
|
281
|
-
"lineHeight":
|
|
278
|
+
"fontFamily": "Pretendard",
|
|
279
|
+
"fontWeight": 600,
|
|
280
|
+
"fontSize": 12,
|
|
281
|
+
"lineHeight": 18
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
284
|
}
|
|
@@ -349,40 +349,40 @@ var semanticAdmin = {
|
|
|
349
349
|
}
|
|
350
350
|
},
|
|
351
351
|
"xl": {
|
|
352
|
-
"fontFamily": "
|
|
353
|
-
"fontWeight":
|
|
354
|
-
"fontSize":
|
|
355
|
-
"lineHeight":
|
|
352
|
+
"fontFamily": "Pretendard",
|
|
353
|
+
"fontWeight": 700,
|
|
354
|
+
"fontSize": 18,
|
|
355
|
+
"lineHeight": 24
|
|
356
356
|
},
|
|
357
357
|
"l": {
|
|
358
|
-
"fontFamily": "
|
|
359
|
-
"fontWeight":
|
|
360
|
-
"fontSize":
|
|
361
|
-
"lineHeight":
|
|
358
|
+
"fontFamily": "Pretendard",
|
|
359
|
+
"fontWeight": 700,
|
|
360
|
+
"fontSize": 16,
|
|
361
|
+
"lineHeight": 22
|
|
362
362
|
},
|
|
363
363
|
"sb": {
|
|
364
|
-
"fontFamily": "
|
|
365
|
-
"fontWeight":
|
|
366
|
-
"fontSize":
|
|
367
|
-
"lineHeight":
|
|
364
|
+
"fontFamily": "Pretendard",
|
|
365
|
+
"fontWeight": 600,
|
|
366
|
+
"fontSize": 14,
|
|
367
|
+
"lineHeight": 18
|
|
368
368
|
},
|
|
369
369
|
"r": {
|
|
370
|
-
"fontFamily": "
|
|
371
|
-
"fontWeight":
|
|
372
|
-
"fontSize":
|
|
373
|
-
"lineHeight":
|
|
370
|
+
"fontFamily": "Pretendard",
|
|
371
|
+
"fontWeight": 600,
|
|
372
|
+
"fontSize": 14,
|
|
373
|
+
"lineHeight": 18
|
|
374
374
|
},
|
|
375
375
|
"s": {
|
|
376
|
-
"fontFamily": "
|
|
377
|
-
"fontWeight":
|
|
378
|
-
"fontSize":
|
|
379
|
-
"lineHeight":
|
|
376
|
+
"fontFamily": "Pretendard",
|
|
377
|
+
"fontWeight": 600,
|
|
378
|
+
"fontSize": 12,
|
|
379
|
+
"lineHeight": 18
|
|
380
380
|
},
|
|
381
381
|
"xs": {
|
|
382
|
-
"fontFamily": "
|
|
383
|
-
"fontWeight":
|
|
384
|
-
"fontSize":
|
|
385
|
-
"lineHeight":
|
|
382
|
+
"fontFamily": "Pretendard",
|
|
383
|
+
"fontWeight": 600,
|
|
384
|
+
"fontSize": 12,
|
|
385
|
+
"lineHeight": 18
|
|
386
386
|
},
|
|
387
387
|
"size": {
|
|
388
388
|
"xs": 30,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nurihaus/web-design-system",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Nurihaus 디자인 시스템 — 컴포넌트와 디자인 토큰",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
"build-storybook": "storybook build",
|
|
33
33
|
"test": "vitest run",
|
|
34
34
|
"test:watch": "vitest",
|
|
35
|
-
"typecheck": "tsc -p tsconfig.test.json"
|
|
35
|
+
"typecheck": "tsc -p tsconfig.test.json",
|
|
36
|
+
"icons": "node scripts/build-icons.mjs && prettier --write components/icon/icon-paths.ts"
|
|
36
37
|
},
|
|
37
38
|
"bugs": {
|
|
38
39
|
"url": "https://github.com/nave-nurihuas/design-system-lab/issues"
|
|
@@ -45,6 +46,7 @@
|
|
|
45
46
|
"@babel/preset-typescript": "^7.24.7",
|
|
46
47
|
"@chromatic-com/storybook": "^4.1.0",
|
|
47
48
|
"@eslint/js": "^9.39.4",
|
|
49
|
+
"@phosphor-icons/core": "2.1.1",
|
|
48
50
|
"@storybook/addon-docs": "^9.1.12",
|
|
49
51
|
"@storybook/addon-webpack5-compiler-swc": "^4.0.1",
|
|
50
52
|
"@storybook/react-webpack5": "^9.1.12",
|
|
@@ -208,6 +210,22 @@
|
|
|
208
210
|
"./styles.css": "./dist/styles.css",
|
|
209
211
|
"./components.css": "./dist/components.css",
|
|
210
212
|
"./reset.css": "./dist/reset.css",
|
|
211
|
-
"./package.json": "./package.json"
|
|
213
|
+
"./package.json": "./package.json",
|
|
214
|
+
"./icon": {
|
|
215
|
+
"types": "./dist/components/icon/icon.d.ts",
|
|
216
|
+
"default": "./dist/icon.js"
|
|
217
|
+
},
|
|
218
|
+
"./bottom-nav": {
|
|
219
|
+
"types": "./dist/components/bottom-nav/bottom-nav.d.ts",
|
|
220
|
+
"default": "./dist/bottom-nav.js"
|
|
221
|
+
},
|
|
222
|
+
"./step-progress": {
|
|
223
|
+
"types": "./dist/components/step-progress/step-progress.d.ts",
|
|
224
|
+
"default": "./dist/step-progress.js"
|
|
225
|
+
},
|
|
226
|
+
"./chip-group": {
|
|
227
|
+
"types": "./dist/components/chip-group/chip-group.d.ts",
|
|
228
|
+
"default": "./dist/chip-group.js"
|
|
229
|
+
}
|
|
212
230
|
}
|
|
213
231
|
}
|