@nurihaus/web-design-system 3.1.1 → 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.
Files changed (39) hide show
  1. package/dist/ai/components.md +166 -2
  2. package/dist/ai/tokens.md +64 -15
  3. package/dist/bottom-nav.js +407 -0
  4. package/dist/chip-group.js +317 -0
  5. package/dist/chunk-653.js +296 -0
  6. package/dist/components/bottom-nav/base-bottom-nav.d.ts +10 -0
  7. package/dist/components/bottom-nav/bottom-nav-props.d.ts +1 -0
  8. package/dist/components/bottom-nav/bottom-nav-type.d.ts +36 -0
  9. package/dist/components/bottom-nav/bottom-nav.d.ts +4 -0
  10. package/dist/components/bottom-nav/bottom-nav.stories.d.ts +55 -0
  11. package/dist/components/chip-group/base-chip-group.d.ts +5 -0
  12. package/dist/components/chip-group/chip-group-props.d.ts +1 -0
  13. package/dist/components/chip-group/chip-group-type.d.ts +25 -0
  14. package/dist/components/chip-group/chip-group.d.ts +4 -0
  15. package/dist/components/chip-group/chip-group.stories.d.ts +27 -0
  16. package/dist/components/elements/text/text-props.d.ts +1 -1
  17. package/dist/components/elements/text/text.stories.d.ts +1 -1
  18. package/dist/components/icon/base-icon.d.ts +3 -0
  19. package/dist/components/icon/icon-paths.d.ts +202 -0
  20. package/dist/components/icon/icon-props.d.ts +6 -0
  21. package/dist/components/icon/icon-type.d.ts +14 -0
  22. package/dist/components/icon/icon.d.ts +4 -0
  23. package/dist/components/icon/icon.stories.d.ts +33 -0
  24. package/dist/components/step-progress/base-step-progress.d.ts +7 -0
  25. package/dist/components/step-progress/step-progress-props.d.ts +10 -0
  26. package/dist/components/step-progress/step-progress-type.d.ts +17 -0
  27. package/dist/components/step-progress/step-progress.d.ts +4 -0
  28. package/dist/components/step-progress/step-progress.stories.d.ts +29 -0
  29. package/dist/components.css +314 -0
  30. package/dist/icon.js +222 -0
  31. package/dist/index.d.ts +8 -0
  32. package/dist/index.js +854 -49
  33. package/dist/step-progress.js +310 -0
  34. package/dist/styles.css +332 -12
  35. package/dist/tokens/generated/semantic-admin.d.ts +24 -24
  36. package/dist/tokens/generated/semantic-app.d.ts +24 -24
  37. package/dist/tokens.css +64 -12
  38. package/dist/tokens.js +48 -48
  39. 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": "{primary}",
249
- "fontWeight": "{font-weight.b}",
250
- "fontSize": "{font-size.lg}",
251
- "lineHeight": "{line-height.24}"
248
+ "fontFamily": "Pretendard",
249
+ "fontWeight": 700,
250
+ "fontSize": 18,
251
+ "lineHeight": 24
252
252
  },
253
253
  "lg": {
254
- "fontFamily": "{primary}",
255
- "fontWeight": "{font-weight.b}",
256
- "fontSize": "{font-size.base}",
257
- "lineHeight": "{line-height.22}"
254
+ "fontFamily": "Pretendard",
255
+ "fontWeight": 700,
256
+ "fontSize": 16,
257
+ "lineHeight": 22
258
258
  },
259
259
  "md": {
260
- "fontFamily": "{primary}",
261
- "fontWeight": "{font-weight.sb}",
262
- "fontSize": "{font-size.sm}",
263
- "lineHeight": "{line-height.18}"
260
+ "fontFamily": "Pretendard",
261
+ "fontWeight": 600,
262
+ "fontSize": 14,
263
+ "lineHeight": 18
264
264
  },
265
265
  "rg": {
266
- "fontFamily": "{primary}",
267
- "fontWeight": "{font-weight.sb}",
268
- "fontSize": "{font-size.sm}",
269
- "lineHeight": "{line-height.18}"
266
+ "fontFamily": "Pretendard",
267
+ "fontWeight": 600,
268
+ "fontSize": 14,
269
+ "lineHeight": 18
270
270
  },
271
271
  "sm": {
272
- "fontFamily": "{primary}",
273
- "fontWeight": "{font-weight.sb}",
274
- "fontSize": "{font-size.xsm}",
275
- "lineHeight": "{line-height.18}"
272
+ "fontFamily": "Pretendard",
273
+ "fontWeight": 600,
274
+ "fontSize": 12,
275
+ "lineHeight": 18
276
276
  },
277
277
  "xs": {
278
- "fontFamily": "{primary}",
279
- "fontWeight": "{font-weight.sb}",
280
- "fontSize": "{font-size.xsm}",
281
- "lineHeight": "{line-height.18}"
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": "{primary}",
353
- "fontWeight": "{font-weight.b}",
354
- "fontSize": "{font-size.lg}",
355
- "lineHeight": "{line-height.24}"
352
+ "fontFamily": "Pretendard",
353
+ "fontWeight": 700,
354
+ "fontSize": 18,
355
+ "lineHeight": 24
356
356
  },
357
357
  "l": {
358
- "fontFamily": "{primary}",
359
- "fontWeight": "{font-weight.b}",
360
- "fontSize": "{font-size.base}",
361
- "lineHeight": "{line-height.22}"
358
+ "fontFamily": "Pretendard",
359
+ "fontWeight": 700,
360
+ "fontSize": 16,
361
+ "lineHeight": 22
362
362
  },
363
363
  "sb": {
364
- "fontFamily": "{primary}",
365
- "fontWeight": "{font-weight.sb}",
366
- "fontSize": "{font-size.sm}",
367
- "lineHeight": "{line-height.18}"
364
+ "fontFamily": "Pretendard",
365
+ "fontWeight": 600,
366
+ "fontSize": 14,
367
+ "lineHeight": 18
368
368
  },
369
369
  "r": {
370
- "fontFamily": "{primary}",
371
- "fontWeight": "{font-weight.sb}",
372
- "fontSize": "{font-size.sm}",
373
- "lineHeight": "{line-height.18}"
370
+ "fontFamily": "Pretendard",
371
+ "fontWeight": 600,
372
+ "fontSize": 14,
373
+ "lineHeight": 18
374
374
  },
375
375
  "s": {
376
- "fontFamily": "{primary}",
377
- "fontWeight": "{font-weight.sb}",
378
- "fontSize": "{font-size.xsm}",
379
- "lineHeight": "{line-height.18}"
376
+ "fontFamily": "Pretendard",
377
+ "fontWeight": 600,
378
+ "fontSize": 12,
379
+ "lineHeight": 18
380
380
  },
381
381
  "xs": {
382
- "fontFamily": "{primary}",
383
- "fontWeight": "{font-weight.sb}",
384
- "fontSize": "{font-size.xsm}",
385
- "lineHeight": "{line-height.18}"
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.1.1",
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
  }