@nexus-cross/design-system 1.0.0 → 1.0.1

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 (49) hide show
  1. package/dist/chunks/{chunk-D6FII7HW.js → chunk-BBLBTOP4.js} +8 -5
  2. package/dist/chunks/chunk-GMGG4VZM.mjs +5 -0
  3. package/dist/chunks/chunk-N75GAGAG.js +7 -0
  4. package/dist/chunks/{chunk-54RBL7J4.mjs → chunk-UKRU46PH.mjs} +8 -5
  5. package/dist/index.js +3 -3
  6. package/dist/index.mjs +1 -1
  7. package/dist/schemas/_all.json +518 -21
  8. package/dist/schemas/button.json +18 -0
  9. package/dist/schemas/checkBox.json +19 -1
  10. package/dist/schemas/chip.json +7 -1
  11. package/dist/schemas/counter.json +3 -0
  12. package/dist/schemas/divider.json +3 -0
  13. package/dist/schemas/drawer.json +20 -1
  14. package/dist/schemas/drawerClose.json +24 -0
  15. package/dist/schemas/drawerDescription.json +20 -0
  16. package/dist/schemas/drawerTitle.json +20 -0
  17. package/dist/schemas/drawerTrigger.json +24 -0
  18. package/dist/schemas/marquee.json +3 -0
  19. package/dist/schemas/modalCall.json +80 -2
  20. package/dist/schemas/modalTemplate.json +4 -1
  21. package/dist/schemas/numberInput.json +19 -1
  22. package/dist/schemas/radioGroup.json +7 -0
  23. package/dist/schemas/radioItem.json +7 -0
  24. package/dist/schemas/skeleton.json +3 -0
  25. package/dist/schemas/spinner.json +7 -0
  26. package/dist/schemas/switch.json +12 -1
  27. package/dist/schemas/textArea.json +33 -0
  28. package/dist/schemas/textInput.json +41 -1
  29. package/dist/schemas/toastOptions.json +81 -0
  30. package/dist/schemas/toaster.json +46 -1
  31. package/dist/schemas/virtualGrid.json +12 -9
  32. package/dist/schemas/virtualList.json +5 -2
  33. package/dist/schemas.d.mts +420 -56
  34. package/dist/schemas.d.ts +420 -56
  35. package/dist/schemas.js +154 -19
  36. package/dist/schemas.mjs +150 -20
  37. package/dist/styles/layer.js +2 -2
  38. package/dist/styles/layer.mjs +1 -1
  39. package/dist/styles.css +28 -30
  40. package/dist/styles.js +2 -2
  41. package/dist/styles.layered.css +28 -30
  42. package/dist/styles.mjs +1 -1
  43. package/dist/text-input.d.mts +1 -1
  44. package/dist/text-input.d.ts +1 -1
  45. package/dist/text-input.js +3 -3
  46. package/dist/text-input.mjs +1 -1
  47. package/package.json +2 -2
  48. package/dist/chunks/chunk-7AISZYWL.js +0 -7
  49. package/dist/chunks/chunk-V5OTJP6H.mjs +0 -5
@@ -15,12 +15,57 @@
15
15
  "bottom-right"
16
16
  ],
17
17
  "default": "top-center",
18
- "description": "토스트 위치"
18
+ "description": "토스트 기본 위치"
19
19
  },
20
20
  "unstyled": {
21
21
  "type": "boolean",
22
22
  "default": false,
23
23
  "description": "기본 스타일 제거 (커스텀 스타일링 시)"
24
+ },
25
+ "theme": {
26
+ "type": "string",
27
+ "enum": [
28
+ "light",
29
+ "dark",
30
+ "system"
31
+ ],
32
+ "description": "테마 설정"
33
+ },
34
+ "richColors": {
35
+ "type": "boolean",
36
+ "description": "success/error/warning/info에 강한 색상 적용"
37
+ },
38
+ "expand": {
39
+ "type": "boolean",
40
+ "description": "토스트를 항상 펼친 상태로 표시"
41
+ },
42
+ "duration": {
43
+ "type": "number",
44
+ "description": "전역 자동 닫힘 시간 (ms). 기본 4000"
45
+ },
46
+ "visibleToasts": {
47
+ "type": "number",
48
+ "description": "동시에 보이는 최대 토스트 수"
49
+ },
50
+ "closeButton": {
51
+ "type": "boolean",
52
+ "description": "모든 토스트에 닫기 버튼 표시"
53
+ },
54
+ "gap": {
55
+ "type": "number",
56
+ "description": "토스트 간 간격 (px)"
57
+ },
58
+ "offset": {
59
+ "description": "화면 가장자리로부터 간격. string | number | { top, right, bottom, left }"
60
+ },
61
+ "dir": {
62
+ "type": "string",
63
+ "enum": [
64
+ "ltr",
65
+ "rtl",
66
+ "auto"
67
+ ],
68
+ "description": "텍스트 방향"
24
69
  }
25
70
  },
26
71
  "additionalProperties": false,
@@ -8,6 +8,10 @@
8
8
  "type": "array",
9
9
  "description": "데이터 배열 (필수)"
10
10
  },
11
+ "columns": {
12
+ "type": "number",
13
+ "description": "열 수 (필수)"
14
+ },
11
15
  "estimateSize": {
12
16
  "anyOf": [
13
17
  {
@@ -17,12 +21,8 @@
17
21
  ],
18
22
  "description": "예상 아이템 높이 (필수)"
19
23
  },
20
- "columns": {
21
- "type": "number",
22
- "description": "열 수 (필수)"
23
- },
24
24
  "renderItem": {
25
- "description": "아이템 렌더러 (필수)"
25
+ "description": "아이템 렌더러 (item, index) => ReactNode (필수)"
26
26
  },
27
27
  "overscan": {
28
28
  "type": "number",
@@ -34,6 +34,13 @@
34
34
  "default": 0,
35
35
  "description": "아이템 간격 (px)"
36
36
  },
37
+ "className": {
38
+ "type": "string",
39
+ "description": "스크롤 컨테이너 스타일"
40
+ },
41
+ "style": {
42
+ "description": "인라인 스타일 (CSSProperties)"
43
+ },
37
44
  "endReachedThreshold": {
38
45
  "type": "number",
39
46
  "default": 200,
@@ -41,10 +48,6 @@
41
48
  },
42
49
  "onEndReached": {
43
50
  "description": "끝 도달 콜백 () => void"
44
- },
45
- "className": {
46
- "type": "string",
47
- "description": "스크롤 컨테이너 스타일"
48
51
  }
49
52
  },
50
53
  "required": [
@@ -15,10 +15,10 @@
15
15
  },
16
16
  {}
17
17
  ],
18
- "description": "예상 아이템 높이 (number 또는 함수, 필수)"
18
+ "description": "예상 아이템 높이 (number 또는 (index) => number, 필수)"
19
19
  },
20
20
  "renderItem": {
21
- "description": "아이템 렌더러 (필수)"
21
+ "description": "아이템 렌더러 (item, index, virtualItem) => ReactNode (필수)"
22
22
  },
23
23
  "overscan": {
24
24
  "type": "number",
@@ -34,6 +34,9 @@
34
34
  "type": "string",
35
35
  "description": "스크롤 컨테이너 스타일"
36
36
  },
37
+ "style": {
38
+ "description": "인라인 스타일 (CSSProperties)"
39
+ },
37
40
  "endReachedThreshold": {
38
41
  "type": "number",
39
42
  "default": 200,