@nexus-cross/design-system 1.0.1 → 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 (74) 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-5JHN4FCY.mjs → chunk-K2TBLM3F.mjs} +1 -4
  6. package/dist/chunks/{chunk-MTX7GD3H.js → chunk-PEIEVKD5.js} +1 -4
  7. package/dist/chunks/chunk-XMG7ZEYY.mjs +5 -0
  8. package/dist/data-list.js +2 -2
  9. package/dist/data-list.mjs +1 -1
  10. package/dist/error-boundary.d.mts +1 -1
  11. package/dist/error-boundary.d.ts +1 -1
  12. package/dist/index.js +2 -2
  13. package/dist/index.mjs +1 -1
  14. package/dist/schemas/_all.json +480 -480
  15. package/dist/schemas/accordion.json +12 -12
  16. package/dist/schemas/avatar.json +9 -9
  17. package/dist/schemas/button.json +13 -13
  18. package/dist/schemas/carousel.json +6 -6
  19. package/dist/schemas/carouselButton.json +3 -3
  20. package/dist/schemas/carouselDots.json +2 -2
  21. package/dist/schemas/carouselSlide.json +3 -3
  22. package/dist/schemas/checkBox.json +15 -15
  23. package/dist/schemas/chip.json +9 -9
  24. package/dist/schemas/clientOnly.json +3 -3
  25. package/dist/schemas/countdown.json +8 -8
  26. package/dist/schemas/counter.json +11 -11
  27. package/dist/schemas/dataList.json +10 -10
  28. package/dist/schemas/divider.json +6 -6
  29. package/dist/schemas/drawer.json +8 -8
  30. package/dist/schemas/drawerClose.json +4 -4
  31. package/dist/schemas/drawerContent.json +7 -7
  32. package/dist/schemas/drawerDescription.json +3 -3
  33. package/dist/schemas/drawerTitle.json +3 -3
  34. package/dist/schemas/drawerTrigger.json +4 -4
  35. package/dist/schemas/ellipsis.json +9 -9
  36. package/dist/schemas/errorBoundary.json +4 -4
  37. package/dist/schemas/infiniteScroll.json +12 -12
  38. package/dist/schemas/marquee.json +8 -8
  39. package/dist/schemas/modalCall.json +20 -20
  40. package/dist/schemas/modalTemplate.json +26 -26
  41. package/dist/schemas/numberInput.json +19 -19
  42. package/dist/schemas/pagination.json +8 -8
  43. package/dist/schemas/popover.json +12 -12
  44. package/dist/schemas/radioGroup.json +12 -12
  45. package/dist/schemas/radioItem.json +7 -7
  46. package/dist/schemas/select.json +11 -11
  47. package/dist/schemas/selectItem.json +5 -5
  48. package/dist/schemas/skeleton.json +8 -8
  49. package/dist/schemas/spinner.json +6 -6
  50. package/dist/schemas/switch.json +10 -10
  51. package/dist/schemas/tab.json +15 -15
  52. package/dist/schemas/table.json +14 -14
  53. package/dist/schemas/tableRow.json +5 -5
  54. package/dist/schemas/tdColumn.json +17 -17
  55. package/dist/schemas/textArea.json +18 -18
  56. package/dist/schemas/textInput.json +25 -25
  57. package/dist/schemas/themeProvider.json +10 -10
  58. package/dist/schemas/toastOptions.json +17 -17
  59. package/dist/schemas/toaster.json +12 -12
  60. package/dist/schemas/tooltip.json +10 -10
  61. package/dist/schemas/virtualGrid.json +11 -11
  62. package/dist/schemas/virtualList.json +10 -10
  63. package/dist/schemas.js +475 -475
  64. package/dist/schemas.mjs +475 -475
  65. package/dist/styles/layer.js +2 -2
  66. package/dist/styles/layer.mjs +1 -1
  67. package/dist/styles.css +28 -15
  68. package/dist/styles.js +2 -2
  69. package/dist/styles.layered.css +28 -15
  70. package/dist/styles.mjs +1 -1
  71. package/package.json +8 -6
  72. package/scripts/setup-cursor-rules.cjs +6 -6
  73. package/dist/chunks/chunk-GMGG4VZM.mjs +0 -5
  74. package/dist/chunks/chunk-N75GAGAG.js +0 -7
@@ -11,7 +11,7 @@
11
11
  "vertical"
12
12
  ],
13
13
  "default": "horizontal",
14
- "description": "방향"
14
+ "description": "Direction"
15
15
  },
16
16
  "variant": {
17
17
  "type": "string",
@@ -21,22 +21,22 @@
21
21
  "dotted"
22
22
  ],
23
23
  "default": "solid",
24
- "description": " 스타일"
24
+ "description": "Line style"
25
25
  },
26
26
  "color": {
27
27
  "type": "string",
28
- "description": "커스텀 색상 (CSS )"
28
+ "description": "Custom color (CSS value)"
29
29
  },
30
30
  "style": {
31
- "description": "인라인 스타일 (CSSProperties)"
31
+ "description": "Inline style (CSSProperties)"
32
32
  },
33
33
  "className": {
34
34
  "type": "string",
35
- "description": "스타일 오버라이드"
35
+ "description": "Style override"
36
36
  }
37
37
  },
38
38
  "additionalProperties": false,
39
- "description": "구분선. 수평/수직 방향, 실선/점선/파선 지원."
39
+ "description": "Divider. Supports horizontal/vertical, solid/dashed/dotted."
40
40
  }
41
41
  },
42
42
  "$schema": "http://json-schema.org/draft-07/schema#"
@@ -13,33 +13,33 @@
13
13
  "right"
14
14
  ],
15
15
  "default": "bottom",
16
- "description": "방향"
16
+ "description": "Direction"
17
17
  },
18
18
  "open": {
19
19
  "type": "boolean",
20
- "description": "열림 상태 (제어 모드)"
20
+ "description": "Open state (controlled mode)"
21
21
  },
22
22
  "onOpenChange": {
23
- "description": "열림 상태 변경 콜백 (open: boolean) => void"
23
+ "description": "Open state change callback (open: boolean) => void"
24
24
  },
25
25
  "dismissible": {
26
26
  "type": "boolean",
27
- "description": "스와이프/외부 클릭으로 닫기 허용 (기본 true)"
27
+ "description": "Allow close via swipe/outside click (default true)"
28
28
  },
29
29
  "modal": {
30
30
  "type": "boolean",
31
- "description": "모달 모드 (기본 true). false 배경과 상호작용 가능"
31
+ "description": "Modal mode (default true). If false, background is interactive"
32
32
  },
33
33
  "shouldScaleBackground": {
34
34
  "type": "boolean",
35
- "description": "배경 축소 효과 (기본 false)"
35
+ "description": "Background scale effect (default false)"
36
36
  },
37
37
  "children": {
38
- "description": "Drawer 하위 컴포넌트 (ReactNode, 필수)"
38
+ "description": "Drawer sub-components (ReactNode, required)"
39
39
  }
40
40
  },
41
41
  "additionalProperties": false,
42
- "description": "드로어/바텀시트. Vaul 기반. 합성 컴포넌트 패턴."
42
+ "description": "Drawer/bottom sheet. Based on Vaul. Compound component pattern."
43
43
  }
44
44
  },
45
45
  "$schema": "http://json-schema.org/draft-07/schema#"
@@ -6,18 +6,18 @@
6
6
  "properties": {
7
7
  "asChild": {
8
8
  "type": "boolean",
9
- "description": "자식 요소로 렌더링"
9
+ "description": "Render as child element"
10
10
  },
11
11
  "children": {
12
- "description": "닫기 요소 (ReactNode, 필수)"
12
+ "description": "Close element (ReactNode, required)"
13
13
  },
14
14
  "className": {
15
15
  "type": "string",
16
- "description": "스타일 오버라이드"
16
+ "description": "Style override"
17
17
  }
18
18
  },
19
19
  "additionalProperties": false,
20
- "description": "Drawer 닫기 버튼."
20
+ "description": "Drawer close button."
21
21
  }
22
22
  },
23
23
  "$schema": "http://json-schema.org/draft-07/schema#"
@@ -13,7 +13,7 @@
13
13
  "right"
14
14
  ],
15
15
  "default": "bottom",
16
- "description": "방향 (Context 우선)"
16
+ "description": "Direction (Context takes priority)"
17
17
  },
18
18
  "blur": {
19
19
  "type": "string",
@@ -23,27 +23,27 @@
23
23
  "md"
24
24
  ],
25
25
  "default": "none",
26
- "description": "오버레이 블러"
26
+ "description": "Overlay blur"
27
27
  },
28
28
  "showHandle": {
29
29
  "type": "boolean",
30
30
  "default": true,
31
- "description": "핸들 표시"
31
+ "description": "Show handle bar"
32
32
  },
33
33
  "children": {
34
- "description": "컨텐츠 영역 (ReactNode)"
34
+ "description": "Content area (ReactNode)"
35
35
  },
36
36
  "overlayClassName": {
37
37
  "type": "string",
38
- "description": "오버레이 스타일"
38
+ "description": "Overlay style"
39
39
  },
40
40
  "className": {
41
41
  "type": "string",
42
- "description": "패널 스타일"
42
+ "description": "Panel style"
43
43
  }
44
44
  },
45
45
  "additionalProperties": false,
46
- "description": "Drawer.Content 영역."
46
+ "description": "Drawer.Content area."
47
47
  }
48
48
  },
49
49
  "$schema": "http://json-schema.org/draft-07/schema#"
@@ -5,15 +5,15 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "children": {
8
- "description": "설명 텍스트 (ReactNode, 필수)"
8
+ "description": "Description text (ReactNode, required)"
9
9
  },
10
10
  "className": {
11
11
  "type": "string",
12
- "description": "스타일 오버라이드"
12
+ "description": "Style override"
13
13
  }
14
14
  },
15
15
  "additionalProperties": false,
16
- "description": "Drawer 설명."
16
+ "description": "Drawer description."
17
17
  }
18
18
  },
19
19
  "$schema": "http://json-schema.org/draft-07/schema#"
@@ -5,15 +5,15 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "children": {
8
- "description": "제목 텍스트 (ReactNode, 필수)"
8
+ "description": "Title text (ReactNode, required)"
9
9
  },
10
10
  "className": {
11
11
  "type": "string",
12
- "description": "스타일 오버라이드"
12
+ "description": "Style override"
13
13
  }
14
14
  },
15
15
  "additionalProperties": false,
16
- "description": "Drawer 제목 (접근성용 필수)."
16
+ "description": "Drawer title (required for accessibility)."
17
17
  }
18
18
  },
19
19
  "$schema": "http://json-schema.org/draft-07/schema#"
@@ -6,18 +6,18 @@
6
6
  "properties": {
7
7
  "asChild": {
8
8
  "type": "boolean",
9
- "description": "자식 요소로 렌더링"
9
+ "description": "Render as child element"
10
10
  },
11
11
  "children": {
12
- "description": "트리거 요소 (ReactNode, 필수)"
12
+ "description": "Trigger element (ReactNode, required)"
13
13
  },
14
14
  "className": {
15
15
  "type": "string",
16
- "description": "스타일 오버라이드"
16
+ "description": "Style override"
17
17
  }
18
18
  },
19
19
  "additionalProperties": false,
20
- "description": "Drawer 열기 트리거."
20
+ "description": "Drawer open trigger."
21
21
  }
22
22
  },
23
23
  "$schema": "http://json-schema.org/draft-07/schema#"
@@ -6,43 +6,43 @@
6
6
  "properties": {
7
7
  "content": {
8
8
  "default": "",
9
- "description": "본문 (ReactNode)"
9
+ "description": "Body text (ReactNode)"
10
10
  },
11
11
  "lineClamp": {
12
12
  "type": "number",
13
13
  "default": 2,
14
- "description": " 제한"
14
+ "description": "Line clamp limit"
15
15
  },
16
16
  "triggerMore": {
17
17
  "default": "more",
18
- "description": "더보기 텍스트 (ReactNode)"
18
+ "description": "Show more text (ReactNode)"
19
19
  },
20
20
  "triggerLess": {
21
21
  "default": "less",
22
- "description": "접기 텍스트 (ReactNode)"
22
+ "description": "Show less text (ReactNode)"
23
23
  },
24
24
  "defaultShortened": {
25
25
  "type": "boolean",
26
26
  "default": true,
27
- "description": "초기 접힘 상태"
27
+ "description": "Initial collapsed state"
28
28
  },
29
29
  "observingEnvs": {
30
30
  "type": "array",
31
31
  "items": {
32
32
  "type": "boolean"
33
33
  },
34
- "description": "외부 조건 변경 리사이즈 재측정"
34
+ "description": "Re-measure on external condition change"
35
35
  },
36
36
  "onShowMoreLessClick": {
37
- "description": "더보기/접기 클릭 콜백 () => void"
37
+ "description": "Show more/less click callback () => void"
38
38
  },
39
39
  "className": {
40
40
  "type": "string",
41
- "description": "스타일 오버라이드"
41
+ "description": "Style override"
42
42
  }
43
43
  },
44
44
  "additionalProperties": false,
45
- "description": "텍스트 말줄임. 더보기/접기 토글 내장."
45
+ "description": "Text ellipsis. Built-in show more/less toggle."
46
46
  }
47
47
  },
48
48
  "$schema": "http://json-schema.org/draft-07/schema#"
@@ -5,17 +5,17 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "children": {
8
- "description": "감싸질 자식 요소 (ReactNode, 필수)"
8
+ "description": "Child elements to wrap (ReactNode, required)"
9
9
  },
10
10
  "fallback": {
11
- "description": "에러 발생 대체 UI (ReactNode)"
11
+ "description": "Fallback UI on error (ReactNode)"
12
12
  },
13
13
  "onError": {
14
- "description": "에러 발생 콜백 (error: Error, errorInfo: ErrorInfo) => void"
14
+ "description": "Error callback (error: Error, errorInfo: ErrorInfo) => void"
15
15
  }
16
16
  },
17
17
  "additionalProperties": false,
18
- "description": "에러 경계. 하위 컴포넌트 렌더링 에러를 잡아 fallback UI 표시."
18
+ "description": "Error boundary. Catches child component render errors and displays fallback UI."
19
19
  }
20
20
  },
21
21
  "$schema": "http://json-schema.org/draft-07/schema#"
@@ -13,52 +13,52 @@
13
13
  "type": "null"
14
14
  }
15
15
  ],
16
- "description": "현재 데이터 배열 (필수)"
16
+ "description": "Current data array (required)"
17
17
  },
18
18
  "totalCount": {
19
19
  "type": "number",
20
- "description": "전체 개수 (hasMore와 배타적 사용)"
20
+ "description": "Total count (mutually exclusive with hasMore)"
21
21
  },
22
22
  "hasMore": {
23
23
  "type": "boolean",
24
- "description": " 있는지 (totalCount와 배타적 사용)"
24
+ "description": "Has more items (mutually exclusive with totalCount)"
25
25
  },
26
26
  "tag": {
27
27
  "type": "string",
28
28
  "default": "div",
29
- "description": "children 래퍼 태그"
29
+ "description": "Children wrapper tag"
30
30
  },
31
31
  "rootMargin": {
32
32
  "type": "number",
33
33
  "default": 100,
34
- "description": "감지 마진 (px)"
34
+ "description": "Detection margin (px)"
35
35
  },
36
36
  "loading": {
37
37
  "type": "boolean",
38
- "description": "로딩 상태"
38
+ "description": "Loading state"
39
39
  },
40
40
  "loadingElement": {
41
- "description": "커스텀 로딩 요소"
41
+ "description": "Custom loading element"
42
42
  },
43
43
  "handleLoadMore": {
44
- "description": "추가 로딩 콜백 () => void, 필수"
44
+ "description": "Load more callback () => void, required"
45
45
  },
46
46
  "scrollTarget": {
47
- "description": "스크롤 대상 요소 (HTMLElement | Document | MutableRefObject)"
47
+ "description": "Scroll target element (HTMLElement | Document | MutableRefObject)"
48
48
  },
49
49
  "children": {
50
- "description": "리스트 아이템 렌더링 (ReactNode, 필수)"
50
+ "description": "List item rendering (ReactNode, required)"
51
51
  },
52
52
  "className": {
53
53
  "type": "string",
54
- "description": "스타일 오버라이드"
54
+ "description": "Style override"
55
55
  }
56
56
  },
57
57
  "required": [
58
58
  "list"
59
59
  ],
60
60
  "additionalProperties": false,
61
- "description": "무한 스크롤. IntersectionObserver 기반."
61
+ "description": "Infinite scroll. Based on IntersectionObserver."
62
62
  }
63
63
  },
64
64
  "$schema": "http://json-schema.org/draft-07/schema#"
@@ -13,36 +13,36 @@
13
13
  "down"
14
14
  ],
15
15
  "default": "left",
16
- "description": "방향"
16
+ "description": "Direction"
17
17
  },
18
18
  "speed": {
19
19
  "type": "number",
20
20
  "default": 40,
21
- "description": "애니메이션 속도 ()"
21
+ "description": "Animation speed (seconds)"
22
22
  },
23
23
  "pauseOnHover": {
24
24
  "type": "boolean",
25
25
  "default": false,
26
- "description": "호버 일시정지"
26
+ "description": "Pause on hover"
27
27
  },
28
28
  "gap": {
29
29
  "type": "number",
30
30
  "default": 16,
31
- "description": "아이템 간격 (px)"
31
+ "description": "Item gap (px)"
32
32
  },
33
33
  "children": {
34
- "description": "반복 표시할 콘텐츠 (ReactNode, 필수)"
34
+ "description": "Content to repeat (ReactNode, required)"
35
35
  },
36
36
  "style": {
37
- "description": "인라인 스타일 (CSSProperties)"
37
+ "description": "Inline style (CSSProperties)"
38
38
  },
39
39
  "className": {
40
40
  "type": "string",
41
- "description": "스타일 오버라이드"
41
+ "description": "Style override"
42
42
  }
43
43
  },
44
44
  "additionalProperties": false,
45
- "description": "마퀴 (흐르는 텍스트/요소)."
45
+ "description": "Marquee (scrolling text/elements)."
46
46
  }
47
47
  },
48
48
  "$schema": "http://json-schema.org/draft-07/schema#"
@@ -5,16 +5,16 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "component": {
8
- "description": "모달 컴포넌트 (필수). close/resolve 자동으로 props로 받음"
8
+ "description": "Modal component (required). Automatically receives close/resolve as props"
9
9
  },
10
10
  "props": {
11
11
  "type": "object",
12
12
  "additionalProperties": {},
13
- "description": "컴포넌트에 전달할 props"
13
+ "description": "Props to pass to component"
14
14
  },
15
15
  "id": {
16
16
  "type": "string",
17
- "description": "모달 ID (중복 체크 사용)"
17
+ "description": "Modal ID (used for duplicate check)"
18
18
  },
19
19
  "layout": {
20
20
  "type": "string",
@@ -27,72 +27,72 @@
27
27
  "full-page-reverse",
28
28
  "draggable"
29
29
  ],
30
- "description": "레이아웃"
30
+ "description": "Layout"
31
31
  },
32
32
  "animation": {
33
33
  "type": "object",
34
34
  "properties": {
35
35
  "name": {
36
36
  "type": "string",
37
- "description": "애니메이션 이름"
37
+ "description": "Animation name"
38
38
  },
39
39
  "mobile": {
40
40
  "type": "string",
41
- "description": "모바일용 애니메이션 이름"
41
+ "description": "Mobile animation name"
42
42
  },
43
43
  "delay": {
44
44
  "type": "number",
45
- "description": "지연 (ms)"
45
+ "description": "Delay (ms)"
46
46
  },
47
47
  "duration": {
48
48
  "type": "number",
49
- "description": "지속 시간 (ms)"
49
+ "description": "Duration (ms)"
50
50
  },
51
51
  "timingFunc": {
52
52
  "type": "string",
53
- "description": "타이밍 함수"
53
+ "description": "Timing function"
54
54
  },
55
55
  "leaveTimingFunc": {
56
56
  "type": "string",
57
- "description": "퇴장 타이밍 함수"
57
+ "description": "Exit timing function"
58
58
  }
59
59
  },
60
60
  "additionalProperties": false,
61
- "description": "모달 애니메이션"
61
+ "description": "Modal animation"
62
62
  },
63
63
  "scrollEnable": {
64
64
  "type": "boolean",
65
- "description": "배경 스크롤 허용"
65
+ "description": "Allow background scroll"
66
66
  },
67
67
  "isToggle": {
68
68
  "type": "boolean",
69
- "description": "토글 모드 (같은 모달 재호출 닫기)"
69
+ "description": "Toggle mode (close on re-call of same modal)"
70
70
  },
71
71
  "isAlone": {
72
72
  "type": "boolean",
73
- "description": "단독 모드 (기존 모달 모두 닫고 열기)"
73
+ "description": "Alone mode (close all existing modals before opening)"
74
74
  },
75
75
  "duplicateCheck": {
76
76
  "type": "boolean",
77
- "description": "동일 컴포넌트 중복 열기 방지"
77
+ "description": "Prevent duplicate opening of same component"
78
78
  },
79
79
  "disableEscapeKeyPress": {
80
80
  "type": "boolean",
81
- "description": "ESC 키로 닫기 비활성화"
81
+ "description": "Disable close via ESC key"
82
82
  },
83
83
  "componentName": {
84
84
  "type": "string",
85
- "description": "모달 식별 이름 (중복 체크, 모달 검색 사용)"
85
+ "description": "Modal identifier name (used for duplicate check, modal search)"
86
86
  },
87
87
  "onOpen": {
88
- "description": "모달 열릴 콜백"
88
+ "description": "Callback when modal opens"
89
89
  },
90
90
  "onClose": {
91
- "description": "모달 닫힐 콜백"
91
+ "description": "Callback when modal closes"
92
92
  }
93
93
  },
94
94
  "additionalProperties": false,
95
- "description": "modal() 함수 호출 옵션. component close/resolve 자동으로 props로 받는다."
95
+ "description": "modal() function call options. component automatically receives close/resolve as props."
96
96
  }
97
97
  },
98
98
  "$schema": "http://json-schema.org/draft-07/schema#"