@nexus-cross/design-system 1.0.0 → 1.0.2

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 (82) hide show
  1. package/cursor-rules/nexus-project-setup.mdc +150 -150
  2. package/cursor-rules/nexus-ui-api.mdc +659 -316
  3. package/cursor-rules/nexus-ui-components.mdc +162 -96
  4. package/dist/chunks/chunk-55IEEVNR.js +7 -0
  5. package/dist/chunks/{chunk-D6FII7HW.js → chunk-BBLBTOP4.js} +8 -5
  6. package/dist/chunks/{chunk-5JHN4FCY.mjs → chunk-K2TBLM3F.mjs} +1 -4
  7. package/dist/chunks/{chunk-MTX7GD3H.js → chunk-PEIEVKD5.js} +1 -4
  8. package/dist/chunks/{chunk-54RBL7J4.mjs → chunk-UKRU46PH.mjs} +8 -5
  9. package/dist/chunks/chunk-XMG7ZEYY.mjs +5 -0
  10. package/dist/data-list.js +2 -2
  11. package/dist/data-list.mjs +1 -1
  12. package/dist/error-boundary.d.mts +1 -1
  13. package/dist/error-boundary.d.ts +1 -1
  14. package/dist/index.js +5 -5
  15. package/dist/index.mjs +2 -2
  16. package/dist/schemas/_all.json +870 -373
  17. package/dist/schemas/accordion.json +12 -12
  18. package/dist/schemas/avatar.json +9 -9
  19. package/dist/schemas/button.json +27 -9
  20. package/dist/schemas/carousel.json +6 -6
  21. package/dist/schemas/carouselButton.json +3 -3
  22. package/dist/schemas/carouselDots.json +2 -2
  23. package/dist/schemas/carouselSlide.json +3 -3
  24. package/dist/schemas/checkBox.json +28 -10
  25. package/dist/schemas/chip.json +13 -7
  26. package/dist/schemas/clientOnly.json +3 -3
  27. package/dist/schemas/countdown.json +8 -8
  28. package/dist/schemas/counter.json +13 -10
  29. package/dist/schemas/dataList.json +10 -10
  30. package/dist/schemas/divider.json +8 -5
  31. package/dist/schemas/drawer.json +22 -3
  32. package/dist/schemas/drawerClose.json +24 -0
  33. package/dist/schemas/drawerContent.json +7 -7
  34. package/dist/schemas/drawerDescription.json +20 -0
  35. package/dist/schemas/drawerTitle.json +20 -0
  36. package/dist/schemas/drawerTrigger.json +24 -0
  37. package/dist/schemas/ellipsis.json +9 -9
  38. package/dist/schemas/errorBoundary.json +4 -4
  39. package/dist/schemas/infiniteScroll.json +12 -12
  40. package/dist/schemas/marquee.json +10 -7
  41. package/dist/schemas/modalCall.json +81 -3
  42. package/dist/schemas/modalTemplate.json +28 -25
  43. package/dist/schemas/numberInput.json +32 -14
  44. package/dist/schemas/pagination.json +8 -8
  45. package/dist/schemas/popover.json +12 -12
  46. package/dist/schemas/radioGroup.json +17 -10
  47. package/dist/schemas/radioItem.json +12 -5
  48. package/dist/schemas/select.json +11 -11
  49. package/dist/schemas/selectItem.json +5 -5
  50. package/dist/schemas/skeleton.json +10 -7
  51. package/dist/schemas/spinner.json +11 -4
  52. package/dist/schemas/switch.json +18 -7
  53. package/dist/schemas/tab.json +15 -15
  54. package/dist/schemas/table.json +14 -14
  55. package/dist/schemas/tableRow.json +5 -5
  56. package/dist/schemas/tdColumn.json +17 -17
  57. package/dist/schemas/textArea.json +42 -9
  58. package/dist/schemas/textInput.json +55 -15
  59. package/dist/schemas/themeProvider.json +10 -10
  60. package/dist/schemas/toastOptions.json +81 -0
  61. package/dist/schemas/toaster.json +48 -3
  62. package/dist/schemas/tooltip.json +10 -10
  63. package/dist/schemas/virtualGrid.json +19 -16
  64. package/dist/schemas/virtualList.json +12 -9
  65. package/dist/schemas.d.mts +420 -56
  66. package/dist/schemas.d.ts +420 -56
  67. package/dist/schemas.js +502 -367
  68. package/dist/schemas.mjs +498 -368
  69. package/dist/styles/layer.js +2 -2
  70. package/dist/styles/layer.mjs +1 -1
  71. package/dist/styles.css +56 -45
  72. package/dist/styles.js +2 -2
  73. package/dist/styles.layered.css +56 -45
  74. package/dist/styles.mjs +1 -1
  75. package/dist/text-input.d.mts +1 -1
  76. package/dist/text-input.d.ts +1 -1
  77. package/dist/text-input.js +3 -3
  78. package/dist/text-input.mjs +1 -1
  79. package/package.json +8 -6
  80. package/scripts/setup-cursor-rules.cjs +6 -6
  81. package/dist/chunks/chunk-7AISZYWL.js +0 -7
  82. package/dist/chunks/chunk-V5OTJP6H.mjs +0 -5
@@ -5,10 +5,10 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "children": {
8
- "description": "트리거 요소 (ReactNode, 필수)"
8
+ "description": "Trigger element (ReactNode, required)"
9
9
  },
10
10
  "content": {
11
- "description": "툴팁 내용 (ReactNode, 필수)"
11
+ "description": "Tooltip content (ReactNode, required)"
12
12
  },
13
13
  "variant": {
14
14
  "type": "string",
@@ -17,7 +17,7 @@
17
17
  "light"
18
18
  ],
19
19
  "default": "dark",
20
- "description": "스타일"
20
+ "description": "Style"
21
21
  },
22
22
  "side": {
23
23
  "type": "string",
@@ -28,7 +28,7 @@
28
28
  "left"
29
29
  ],
30
30
  "default": "top",
31
- "description": "위치"
31
+ "description": "Position"
32
32
  },
33
33
  "align": {
34
34
  "type": "string",
@@ -38,29 +38,29 @@
38
38
  "end"
39
39
  ],
40
40
  "default": "center",
41
- "description": "정렬"
41
+ "description": "Alignment"
42
42
  },
43
43
  "delayDuration": {
44
44
  "type": "number",
45
45
  "default": 200,
46
- "description": "표시 지연 (ms)"
46
+ "description": "Show delay (ms)"
47
47
  },
48
48
  "disabled": {
49
49
  "type": "boolean",
50
50
  "default": false,
51
- "description": "비활성"
51
+ "description": "Disabled"
52
52
  },
53
53
  "className": {
54
54
  "type": "string",
55
- "description": "Content 스타일"
55
+ "description": "Content style"
56
56
  },
57
57
  "triggerClassName": {
58
58
  "type": "string",
59
- "description": "Trigger 스타일"
59
+ "description": "Trigger style"
60
60
  }
61
61
  },
62
62
  "additionalProperties": false,
63
- "description": "툴팁. Radix Tooltip 기반. Provider 내장."
63
+ "description": "Tooltip. Based on Radix Tooltip. Built-in Provider."
64
64
  }
65
65
  },
66
66
  "$schema": "http://json-schema.org/draft-07/schema#"
@@ -6,7 +6,11 @@
6
6
  "properties": {
7
7
  "items": {
8
8
  "type": "array",
9
- "description": "데이터 배열 (필수)"
9
+ "description": "Data array (required)"
10
+ },
11
+ "columns": {
12
+ "type": "number",
13
+ "description": "Column count (required)"
10
14
  },
11
15
  "estimateSize": {
12
16
  "anyOf": [
@@ -15,36 +19,35 @@
15
19
  },
16
20
  {}
17
21
  ],
18
- "description": "예상 아이템 높이 (필수)"
19
- },
20
- "columns": {
21
- "type": "number",
22
- "description": "열 수 (필수)"
22
+ "description": "Estimated item height (required)"
23
23
  },
24
24
  "renderItem": {
25
- "description": "아이템 렌더러 (필수)"
25
+ "description": "Item renderer (item, index) => ReactNode (required)"
26
26
  },
27
27
  "overscan": {
28
28
  "type": "number",
29
29
  "default": 3,
30
- "description": "오버스캔 "
30
+ "description": "Overscan count"
31
31
  },
32
32
  "gap": {
33
33
  "type": "number",
34
34
  "default": 0,
35
- "description": "아이템 간격 (px)"
35
+ "description": "Item gap (px)"
36
+ },
37
+ "className": {
38
+ "type": "string",
39
+ "description": "Scroll container style"
40
+ },
41
+ "style": {
42
+ "description": "Inline style (CSSProperties)"
36
43
  },
37
44
  "endReachedThreshold": {
38
45
  "type": "number",
39
46
  "default": 200,
40
- "description": " 감지 임계값 (px)"
47
+ "description": "End detection threshold (px)"
41
48
  },
42
49
  "onEndReached": {
43
- "description": " 도달 콜백 () => void"
44
- },
45
- "className": {
46
- "type": "string",
47
- "description": "스크롤 컨테이너 스타일"
50
+ "description": "End reached callback () => void"
48
51
  }
49
52
  },
50
53
  "required": [
@@ -52,7 +55,7 @@
52
55
  "columns"
53
56
  ],
54
57
  "additionalProperties": false,
55
- "description": "가상 스크롤 그리드. @tanstack/react-virtual 기반."
58
+ "description": "Virtual scroll grid. Based on @tanstack/react-virtual."
56
59
  }
57
60
  },
58
61
  "$schema": "http://json-schema.org/draft-07/schema#"
@@ -6,7 +6,7 @@
6
6
  "properties": {
7
7
  "items": {
8
8
  "type": "array",
9
- "description": "데이터 배열 (필수)"
9
+ "description": "Data array (required)"
10
10
  },
11
11
  "estimateSize": {
12
12
  "anyOf": [
@@ -15,39 +15,42 @@
15
15
  },
16
16
  {}
17
17
  ],
18
- "description": "예상 아이템 높이 (number 또는 함수, 필수)"
18
+ "description": "Estimated item height (number or (index) => number, required)"
19
19
  },
20
20
  "renderItem": {
21
- "description": "아이템 렌더러 (필수)"
21
+ "description": "Item renderer (item, index, virtualItem) => ReactNode (required)"
22
22
  },
23
23
  "overscan": {
24
24
  "type": "number",
25
25
  "default": 5,
26
- "description": "오버스캔 "
26
+ "description": "Overscan count"
27
27
  },
28
28
  "gap": {
29
29
  "type": "number",
30
30
  "default": 0,
31
- "description": "아이템 간격 (px)"
31
+ "description": "Item gap (px)"
32
32
  },
33
33
  "className": {
34
34
  "type": "string",
35
- "description": "스크롤 컨테이너 스타일"
35
+ "description": "Scroll container style"
36
+ },
37
+ "style": {
38
+ "description": "Inline style (CSSProperties)"
36
39
  },
37
40
  "endReachedThreshold": {
38
41
  "type": "number",
39
42
  "default": 200,
40
- "description": " 감지 임계값 (px)"
43
+ "description": "End detection threshold (px)"
41
44
  },
42
45
  "onEndReached": {
43
- "description": " 도달 콜백 () => void"
46
+ "description": "End reached callback () => void"
44
47
  }
45
48
  },
46
49
  "required": [
47
50
  "items"
48
51
  ],
49
52
  "additionalProperties": false,
50
- "description": "가상 스크롤 리스트. @tanstack/react-virtual 기반."
53
+ "description": "Virtual scroll list. Based on @tanstack/react-virtual."
51
54
  }
52
55
  },
53
56
  "$schema": "http://json-schema.org/draft-07/schema#"