@nexus-cross/design-system 1.0.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 (319) hide show
  1. package/cursor-rules/nexus-project-setup.mdc +292 -0
  2. package/cursor-rules/nexus-ui-api.mdc +698 -0
  3. package/cursor-rules/nexus-ui-components.mdc +136 -0
  4. package/dist/accordion.d.mts +28 -0
  5. package/dist/accordion.d.ts +28 -0
  6. package/dist/accordion.js +28 -0
  7. package/dist/accordion.mjs +3 -0
  8. package/dist/avatar.d.mts +17 -0
  9. package/dist/avatar.d.ts +17 -0
  10. package/dist/avatar.js +16 -0
  11. package/dist/avatar.mjs +3 -0
  12. package/dist/button.d.mts +17 -0
  13. package/dist/button.d.ts +17 -0
  14. package/dist/button.js +16 -0
  15. package/dist/button.mjs +3 -0
  16. package/dist/carousel.d.mts +36 -0
  17. package/dist/carousel.d.ts +36 -0
  18. package/dist/carousel.js +32 -0
  19. package/dist/carousel.mjs +3 -0
  20. package/dist/checkbox.d.mts +21 -0
  21. package/dist/checkbox.d.ts +21 -0
  22. package/dist/checkbox.js +20 -0
  23. package/dist/checkbox.mjs +3 -0
  24. package/dist/chip.d.mts +16 -0
  25. package/dist/chip.d.ts +16 -0
  26. package/dist/chip.js +16 -0
  27. package/dist/chip.mjs +3 -0
  28. package/dist/chunks/chunk-22ULI3BF.js +21 -0
  29. package/dist/chunks/chunk-26BUGBOY.mjs +57 -0
  30. package/dist/chunks/chunk-2JTPRBHZ.mjs +36 -0
  31. package/dist/chunks/chunk-2MC7XJSE.js +98 -0
  32. package/dist/chunks/chunk-2RPRCWKV.mjs +139 -0
  33. package/dist/chunks/chunk-2ZXDXO4I.js +166 -0
  34. package/dist/chunks/chunk-33UFQJIO.mjs +135 -0
  35. package/dist/chunks/chunk-3HHJORN7.mjs +137 -0
  36. package/dist/chunks/chunk-3PCNRCTB.js +61 -0
  37. package/dist/chunks/chunk-3VFBPFZF.mjs +640 -0
  38. package/dist/chunks/chunk-4J3GCZ7W.mjs +102 -0
  39. package/dist/chunks/chunk-54IA2P2Z.mjs +40 -0
  40. package/dist/chunks/chunk-54RBL7J4.mjs +179 -0
  41. package/dist/chunks/chunk-5JHJNN2K.js +83 -0
  42. package/dist/chunks/chunk-5JHN4FCY.mjs +58 -0
  43. package/dist/chunks/chunk-6FMDO6TT.mjs +114 -0
  44. package/dist/chunks/chunk-6H7V2I3X.mjs +270 -0
  45. package/dist/chunks/chunk-7AISZYWL.js +7 -0
  46. package/dist/chunks/chunk-7G65JBTN.js +133 -0
  47. package/dist/chunks/chunk-ADO7PDLY.mjs +66 -0
  48. package/dist/chunks/chunk-AFSEYJZT.js +267 -0
  49. package/dist/chunks/chunk-AOXXE5UQ.mjs +14 -0
  50. package/dist/chunks/chunk-AZ2URLDD.js +39 -0
  51. package/dist/chunks/chunk-B6G5TJRO.js +116 -0
  52. package/dist/chunks/chunk-BLGQHR3M.js +56 -0
  53. package/dist/chunks/chunk-BPUQ2CO2.mjs +48 -0
  54. package/dist/chunks/chunk-BSZ2LN6E.js +129 -0
  55. package/dist/chunks/chunk-CA3SOLI3.mjs +78 -0
  56. package/dist/chunks/chunk-CSJDDREF.js +90 -0
  57. package/dist/chunks/chunk-CVYXRSXT.mjs +8 -0
  58. package/dist/chunks/chunk-CZC76ZD5.js +10 -0
  59. package/dist/chunks/chunk-D6FII7HW.js +202 -0
  60. package/dist/chunks/chunk-DLFV7ZZV.js +112 -0
  61. package/dist/chunks/chunk-DO6VK2QQ.mjs +108 -0
  62. package/dist/chunks/chunk-ECVAVQUY.mjs +243 -0
  63. package/dist/chunks/chunk-EHAUUUWB.mjs +120 -0
  64. package/dist/chunks/chunk-EVOOTSY5.js +59 -0
  65. package/dist/chunks/chunk-GX6GSWX3.mjs +38 -0
  66. package/dist/chunks/chunk-HHXDOKXY.js +108 -0
  67. package/dist/chunks/chunk-HNLI646G.mjs +325 -0
  68. package/dist/chunks/chunk-HUPAHDJ7.js +273 -0
  69. package/dist/chunks/chunk-I252NERB.mjs +21 -0
  70. package/dist/chunks/chunk-IE4DGLMH.js +75 -0
  71. package/dist/chunks/chunk-INP2AH3B.js +27 -0
  72. package/dist/chunks/chunk-IOSIQLZL.js +70 -0
  73. package/dist/chunks/chunk-J5ZKGPBY.js +132 -0
  74. package/dist/chunks/chunk-JNMCYWGY.js +10 -0
  75. package/dist/chunks/chunk-LI7SFBUQ.mjs +89 -0
  76. package/dist/chunks/chunk-LMMON5AU.mjs +81 -0
  77. package/dist/chunks/chunk-LOQXCHKL.js +74 -0
  78. package/dist/chunks/chunk-MA2VCCIY.js +71 -0
  79. package/dist/chunks/chunk-MCKOWMLS.mjs +8 -0
  80. package/dist/chunks/chunk-MRRKW5QN.mjs +108 -0
  81. package/dist/chunks/chunk-MTX7GD3H.js +80 -0
  82. package/dist/chunks/chunk-NFIPQZ4O.js +100 -0
  83. package/dist/chunks/chunk-NHDGKOAM.js +104 -0
  84. package/dist/chunks/chunk-OMN5YQCE.js +143 -0
  85. package/dist/chunks/chunk-OTGS6BDQ.mjs +25 -0
  86. package/dist/chunks/chunk-P2T72N62.mjs +34 -0
  87. package/dist/chunks/chunk-P3DZKXG4.js +116 -0
  88. package/dist/chunks/chunk-QK6NCII4.js +36 -0
  89. package/dist/chunks/chunk-QZ4QR3XV.mjs +142 -0
  90. package/dist/chunks/chunk-RS3SBY3I.js +163 -0
  91. package/dist/chunks/chunk-RX5UKRYK.mjs +76 -0
  92. package/dist/chunks/chunk-SGNRVYYQ.mjs +99 -0
  93. package/dist/chunks/chunk-SJMCPSVH.mjs +76 -0
  94. package/dist/chunks/chunk-T2IY2TSR.js +43 -0
  95. package/dist/chunks/chunk-U53UA76K.js +653 -0
  96. package/dist/chunks/chunk-U56AGSLE.mjs +106 -0
  97. package/dist/chunks/chunk-ULGYTBCT.mjs +47 -0
  98. package/dist/chunks/chunk-V5OTJP6H.mjs +5 -0
  99. package/dist/chunks/chunk-VGO4Z2WH.js +336 -0
  100. package/dist/chunks/chunk-VIGRCJAE.mjs +37 -0
  101. package/dist/chunks/chunk-VVXQZ4XH.mjs +93 -0
  102. package/dist/chunks/chunk-W4GG5A7K.mjs +51 -0
  103. package/dist/chunks/chunk-WKCXACMZ.js +99 -0
  104. package/dist/chunks/chunk-WR55D4ZS.js +80 -0
  105. package/dist/chunks/chunk-X2SHTVZQ.js +89 -0
  106. package/dist/chunks/chunk-XEHFB62A.js +82 -0
  107. package/dist/chunks/chunk-XG6QG65W.mjs +63 -0
  108. package/dist/chunks/chunk-YB5ZKHVB.js +64 -0
  109. package/dist/chunks/chunk-YCG4FZC3.js +167 -0
  110. package/dist/chunks/chunk-YEWKPWK3.mjs +80 -0
  111. package/dist/chunks/chunk-YLO4UKSC.mjs +48 -0
  112. package/dist/chunks/chunk-YZV6FWE7.js +160 -0
  113. package/dist/chunks/chunk-ZWSIIGA3.mjs +58 -0
  114. package/dist/client-only.d.mts +13 -0
  115. package/dist/client-only.d.ts +13 -0
  116. package/dist/client-only.js +11 -0
  117. package/dist/client-only.mjs +2 -0
  118. package/dist/countdown.d.mts +27 -0
  119. package/dist/countdown.d.ts +27 -0
  120. package/dist/countdown.js +16 -0
  121. package/dist/countdown.mjs +3 -0
  122. package/dist/counter.d.mts +15 -0
  123. package/dist/counter.d.ts +15 -0
  124. package/dist/counter.js +11 -0
  125. package/dist/counter.mjs +2 -0
  126. package/dist/data-list.d.mts +33 -0
  127. package/dist/data-list.d.ts +33 -0
  128. package/dist/data-list.js +14 -0
  129. package/dist/data-list.mjs +5 -0
  130. package/dist/divider.d.mts +14 -0
  131. package/dist/divider.d.ts +14 -0
  132. package/dist/divider.js +16 -0
  133. package/dist/divider.mjs +3 -0
  134. package/dist/drawer.d.mts +42 -0
  135. package/dist/drawer.d.ts +42 -0
  136. package/dist/drawer.js +44 -0
  137. package/dist/drawer.mjs +3 -0
  138. package/dist/ellipsis.d.mts +16 -0
  139. package/dist/ellipsis.d.ts +16 -0
  140. package/dist/ellipsis.js +12 -0
  141. package/dist/ellipsis.mjs +3 -0
  142. package/dist/error-boundary.d.mts +20 -0
  143. package/dist/error-boundary.d.ts +20 -0
  144. package/dist/error-boundary.js +11 -0
  145. package/dist/error-boundary.mjs +2 -0
  146. package/dist/hooks/useCheckDevice.d.mts +47 -0
  147. package/dist/hooks/useCheckDevice.d.ts +47 -0
  148. package/dist/hooks/useCheckDevice.js +8 -0
  149. package/dist/hooks/useCheckDevice.mjs +2 -0
  150. package/dist/hooks/useClickOutside.d.mts +12 -0
  151. package/dist/hooks/useClickOutside.d.ts +12 -0
  152. package/dist/hooks/useClickOutside.js +8 -0
  153. package/dist/hooks/useClickOutside.mjs +2 -0
  154. package/dist/hooks/useDraggableBottomSheet.d.mts +24 -0
  155. package/dist/hooks/useDraggableBottomSheet.d.ts +24 -0
  156. package/dist/hooks/useDraggableBottomSheet.js +11 -0
  157. package/dist/hooks/useDraggableBottomSheet.mjs +2 -0
  158. package/dist/hooks/useDraggableWindow.d.mts +21 -0
  159. package/dist/hooks/useDraggableWindow.d.ts +21 -0
  160. package/dist/hooks/useDraggableWindow.js +11 -0
  161. package/dist/hooks/useDraggableWindow.mjs +2 -0
  162. package/dist/hooks/useInView.d.mts +14 -0
  163. package/dist/hooks/useInView.d.ts +14 -0
  164. package/dist/hooks/useInView.js +17 -0
  165. package/dist/hooks/useInView.mjs +2 -0
  166. package/dist/hooks/useModal.d.mts +2 -0
  167. package/dist/hooks/useModal.d.ts +2 -0
  168. package/dist/hooks/useModal.js +11 -0
  169. package/dist/hooks/useModal.mjs +2 -0
  170. package/dist/index.d.mts +76 -0
  171. package/dist/index.d.ts +76 -0
  172. package/dist/index.js +746 -0
  173. package/dist/index.mjs +328 -0
  174. package/dist/infinite-scroll.d.mts +26 -0
  175. package/dist/infinite-scroll.d.ts +26 -0
  176. package/dist/infinite-scroll.js +12 -0
  177. package/dist/infinite-scroll.mjs +3 -0
  178. package/dist/marquee.d.mts +12 -0
  179. package/dist/marquee.d.ts +12 -0
  180. package/dist/marquee.js +12 -0
  181. package/dist/marquee.mjs +3 -0
  182. package/dist/modal/index.d.mts +87 -0
  183. package/dist/modal/index.d.ts +87 -0
  184. package/dist/modal/index.js +54 -0
  185. package/dist/modal/index.mjs +9 -0
  186. package/dist/number-input.d.mts +38 -0
  187. package/dist/number-input.d.ts +38 -0
  188. package/dist/number-input.js +20 -0
  189. package/dist/number-input.mjs +3 -0
  190. package/dist/pagination.d.mts +22 -0
  191. package/dist/pagination.d.ts +22 -0
  192. package/dist/pagination.js +20 -0
  193. package/dist/pagination.mjs +3 -0
  194. package/dist/popover.d.mts +25 -0
  195. package/dist/popover.d.ts +25 -0
  196. package/dist/popover.js +32 -0
  197. package/dist/popover.mjs +3 -0
  198. package/dist/radio-group.d.mts +29 -0
  199. package/dist/radio-group.d.ts +29 -0
  200. package/dist/radio-group.js +24 -0
  201. package/dist/radio-group.mjs +3 -0
  202. package/dist/schemas/_all.json +2250 -0
  203. package/dist/schemas/accordion.json +101 -0
  204. package/dist/schemas/avatar.json +55 -0
  205. package/dist/schemas/button.json +71 -0
  206. package/dist/schemas/carousel.json +32 -0
  207. package/dist/schemas/carouselButton.json +20 -0
  208. package/dist/schemas/carouselDots.json +17 -0
  209. package/dist/schemas/carouselSlide.json +20 -0
  210. package/dist/schemas/checkBox.json +57 -0
  211. package/dist/schemas/chip.json +49 -0
  212. package/dist/schemas/clientOnly.json +19 -0
  213. package/dist/schemas/countdown.json +58 -0
  214. package/dist/schemas/counter.json +57 -0
  215. package/dist/schemas/dataList.json +56 -0
  216. package/dist/schemas/divider.json +40 -0
  217. package/dist/schemas/drawer.json +27 -0
  218. package/dist/schemas/drawerContent.json +50 -0
  219. package/dist/schemas/ellipsis.json +49 -0
  220. package/dist/schemas/errorBoundary.json +22 -0
  221. package/dist/schemas/infiniteScroll.json +65 -0
  222. package/dist/schemas/marquee.json +46 -0
  223. package/dist/schemas/modalCall.json +21 -0
  224. package/dist/schemas/modalTemplate.json +123 -0
  225. package/dist/schemas/numberInput.json +77 -0
  226. package/dist/schemas/pagination.json +50 -0
  227. package/dist/schemas/popover.json +67 -0
  228. package/dist/schemas/radioGroup.json +61 -0
  229. package/dist/schemas/radioItem.json +35 -0
  230. package/dist/schemas/select.json +62 -0
  231. package/dist/schemas/selectItem.json +31 -0
  232. package/dist/schemas/skeleton.json +48 -0
  233. package/dist/schemas/spinner.json +27 -0
  234. package/dist/schemas/switch.json +41 -0
  235. package/dist/schemas/tab.json +89 -0
  236. package/dist/schemas/table.json +75 -0
  237. package/dist/schemas/tableRow.json +32 -0
  238. package/dist/schemas/tdColumn.json +107 -0
  239. package/dist/schemas/textArea.json +44 -0
  240. package/dist/schemas/textInput.json +67 -0
  241. package/dist/schemas/themeProvider.json +65 -0
  242. package/dist/schemas/toaster.json +31 -0
  243. package/dist/schemas/tooltip.json +67 -0
  244. package/dist/schemas/virtualGrid.json +59 -0
  245. package/dist/schemas/virtualList.json +54 -0
  246. package/dist/schemas.d.mts +1263 -0
  247. package/dist/schemas.d.ts +1263 -0
  248. package/dist/schemas.js +513 -0
  249. package/dist/schemas.mjs +469 -0
  250. package/dist/select.d.mts +31 -0
  251. package/dist/select.d.ts +31 -0
  252. package/dist/select.js +24 -0
  253. package/dist/select.mjs +3 -0
  254. package/dist/skeleton.d.mts +15 -0
  255. package/dist/skeleton.d.ts +15 -0
  256. package/dist/skeleton.js +12 -0
  257. package/dist/skeleton.mjs +3 -0
  258. package/dist/spinner.d.mts +9 -0
  259. package/dist/spinner.d.ts +9 -0
  260. package/dist/spinner.js +12 -0
  261. package/dist/spinner.mjs +3 -0
  262. package/dist/styles/layer.d.mts +3 -0
  263. package/dist/styles/layer.d.ts +3 -0
  264. package/dist/styles/layer.js +18 -0
  265. package/dist/styles/layer.mjs +16 -0
  266. package/dist/styles.css +2401 -0
  267. package/dist/styles.d.mts +3 -0
  268. package/dist/styles.d.ts +3 -0
  269. package/dist/styles.js +16 -0
  270. package/dist/styles.layered.css +2404 -0
  271. package/dist/styles.mjs +14 -0
  272. package/dist/switch.d.mts +15 -0
  273. package/dist/switch.d.ts +15 -0
  274. package/dist/switch.js +16 -0
  275. package/dist/switch.mjs +3 -0
  276. package/dist/tab.d.mts +36 -0
  277. package/dist/tab.d.ts +36 -0
  278. package/dist/tab.js +20 -0
  279. package/dist/tab.mjs +3 -0
  280. package/dist/table.d.mts +80 -0
  281. package/dist/table.d.ts +80 -0
  282. package/dist/table.js +33 -0
  283. package/dist/table.mjs +4 -0
  284. package/dist/text-area.d.mts +15 -0
  285. package/dist/text-area.d.ts +15 -0
  286. package/dist/text-area.js +16 -0
  287. package/dist/text-area.mjs +3 -0
  288. package/dist/text-input.d.mts +21 -0
  289. package/dist/text-input.d.ts +21 -0
  290. package/dist/text-input.js +16 -0
  291. package/dist/text-input.mjs +3 -0
  292. package/dist/theme-provider.d.mts +25 -0
  293. package/dist/theme-provider.d.ts +25 -0
  294. package/dist/theme-provider.js +15 -0
  295. package/dist/theme-provider.mjs +2 -0
  296. package/dist/toast.d.mts +42 -0
  297. package/dist/toast.d.ts +42 -0
  298. package/dist/toast.js +20 -0
  299. package/dist/toast.mjs +3 -0
  300. package/dist/tooltip.d.mts +24 -0
  301. package/dist/tooltip.d.ts +24 -0
  302. package/dist/tooltip.js +20 -0
  303. package/dist/tooltip.mjs +3 -0
  304. package/dist/useModal-BsGIcP8t.d.mts +128 -0
  305. package/dist/useModal-BsGIcP8t.d.ts +128 -0
  306. package/dist/utils/cn.d.mts +5 -0
  307. package/dist/utils/cn.d.ts +5 -0
  308. package/dist/utils/cn.js +11 -0
  309. package/dist/utils/cn.mjs +2 -0
  310. package/dist/utils/scroll.d.mts +4 -0
  311. package/dist/utils/scroll.d.ts +4 -0
  312. package/dist/utils/scroll.js +15 -0
  313. package/dist/utils/scroll.mjs +2 -0
  314. package/dist/virtual-scroll.d.mts +34 -0
  315. package/dist/virtual-scroll.d.ts +34 -0
  316. package/dist/virtual-scroll.js +16 -0
  317. package/dist/virtual-scroll.mjs +3 -0
  318. package/package.json +291 -0
  319. package/scripts/setup-cursor-rules.cjs +92 -0
@@ -0,0 +1,35 @@
1
+ {
2
+ "$ref": "#/definitions/radioItemPropsSchema",
3
+ "definitions": {
4
+ "radioItemPropsSchema": {
5
+ "type": "object",
6
+ "properties": {
7
+ "value": {
8
+ "type": "string",
9
+ "description": "항목 값 (필수)"
10
+ },
11
+ "size": {
12
+ "type": "string",
13
+ "enum": [
14
+ "sm",
15
+ "md"
16
+ ],
17
+ "description": "크기 (그룹보다 우선)"
18
+ },
19
+ "label": {
20
+ "description": "라벨 텍스트 (ReactNode)"
21
+ },
22
+ "disabled": {
23
+ "type": "boolean",
24
+ "description": "비활성"
25
+ }
26
+ },
27
+ "required": [
28
+ "value"
29
+ ],
30
+ "additionalProperties": false,
31
+ "description": "RadioGroup 내 개별 옵션."
32
+ }
33
+ },
34
+ "$schema": "http://json-schema.org/draft-07/schema#"
35
+ }
@@ -0,0 +1,62 @@
1
+ {
2
+ "$ref": "#/definitions/selectPropsSchema",
3
+ "definitions": {
4
+ "selectPropsSchema": {
5
+ "type": "object",
6
+ "properties": {
7
+ "value": {
8
+ "type": "string",
9
+ "description": "선택된 값"
10
+ },
11
+ "placeholder": {
12
+ "type": "string",
13
+ "description": "플레이스홀더"
14
+ },
15
+ "variant": {
16
+ "type": "string",
17
+ "enum": [
18
+ "default",
19
+ "outline"
20
+ ],
21
+ "default": "default",
22
+ "description": "트리거 스타일"
23
+ },
24
+ "size": {
25
+ "type": "string",
26
+ "enum": [
27
+ "sm",
28
+ "md",
29
+ "lg",
30
+ "full"
31
+ ],
32
+ "default": "full",
33
+ "description": "너비"
34
+ },
35
+ "disabled": {
36
+ "type": "boolean",
37
+ "description": "비활성"
38
+ },
39
+ "onValueChange": {
40
+ "description": "값 변경 콜백 (value: string) => void"
41
+ },
42
+ "displayComponent": {
43
+ "description": "트리거에 커스텀 표시 (ReactNode)"
44
+ },
45
+ "children": {
46
+ "description": "SelectItem 목록 (ReactNode, 필수)"
47
+ },
48
+ "className": {
49
+ "type": "string",
50
+ "description": "래퍼 스타일"
51
+ },
52
+ "triggerClassName": {
53
+ "type": "string",
54
+ "description": "트리거 스타일 오버라이드"
55
+ }
56
+ },
57
+ "additionalProperties": false,
58
+ "description": "드롭다운 선택. Radix Select 기반. SelectItem과 함께 사용."
59
+ }
60
+ },
61
+ "$schema": "http://json-schema.org/draft-07/schema#"
62
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "$ref": "#/definitions/selectItemPropsSchema",
3
+ "definitions": {
4
+ "selectItemPropsSchema": {
5
+ "type": "object",
6
+ "properties": {
7
+ "value": {
8
+ "type": "string",
9
+ "description": "항목 값"
10
+ },
11
+ "children": {
12
+ "description": "항목 내용 (ReactNode, 필수)"
13
+ },
14
+ "disabled": {
15
+ "type": "boolean",
16
+ "description": "비활성"
17
+ },
18
+ "className": {
19
+ "type": "string",
20
+ "description": "스타일 오버라이드"
21
+ }
22
+ },
23
+ "required": [
24
+ "value"
25
+ ],
26
+ "additionalProperties": false,
27
+ "description": "Select 내 개별 옵션."
28
+ }
29
+ },
30
+ "$schema": "http://json-schema.org/draft-07/schema#"
31
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "$ref": "#/definitions/skeletonPropsSchema",
3
+ "definitions": {
4
+ "skeletonPropsSchema": {
5
+ "type": "object",
6
+ "properties": {
7
+ "as": {
8
+ "type": "string",
9
+ "enum": [
10
+ "div",
11
+ "span"
12
+ ],
13
+ "default": "div",
14
+ "description": "렌더링 태그"
15
+ },
16
+ "circle": {
17
+ "type": "boolean",
18
+ "default": false,
19
+ "description": "원형 스켈레톤 (rounded-full)"
20
+ },
21
+ "width": {
22
+ "type": [
23
+ "string",
24
+ "number"
25
+ ],
26
+ "description": "너비 (예: '100px', '50%', 200)"
27
+ },
28
+ "height": {
29
+ "type": [
30
+ "string",
31
+ "number"
32
+ ],
33
+ "description": "높이 (예: '16px', 40)"
34
+ },
35
+ "children": {
36
+ "description": "내부 콘텐츠 (로딩 완료 시 표시, 실제 크기 유지용)"
37
+ },
38
+ "className": {
39
+ "type": "string",
40
+ "description": "스타일 오버라이드"
41
+ }
42
+ },
43
+ "additionalProperties": false,
44
+ "description": "스켈레톤 로딩 플레이스홀더. className으로 크기/모양 조절. children이 있으면 투명하게 감싸서 실제 크기 유지."
45
+ }
46
+ },
47
+ "$schema": "http://json-schema.org/draft-07/schema#"
48
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "$ref": "#/definitions/spinnerPropsSchema",
3
+ "definitions": {
4
+ "spinnerPropsSchema": {
5
+ "type": "object",
6
+ "properties": {
7
+ "size": {
8
+ "type": "number",
9
+ "default": 20,
10
+ "description": "px 크기"
11
+ },
12
+ "aria-label": {
13
+ "type": "string",
14
+ "default": "Loading",
15
+ "description": "접근성 라벨"
16
+ },
17
+ "className": {
18
+ "type": "string",
19
+ "description": "색상 등 오버라이드"
20
+ }
21
+ },
22
+ "additionalProperties": false,
23
+ "description": "로딩 인디케이터. SVG 기반. role=\"status\" 내장."
24
+ }
25
+ },
26
+ "$schema": "http://json-schema.org/draft-07/schema#"
27
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "$ref": "#/definitions/switchPropsSchema",
3
+ "definitions": {
4
+ "switchPropsSchema": {
5
+ "type": "object",
6
+ "properties": {
7
+ "size": {
8
+ "type": "string",
9
+ "enum": [
10
+ "sm",
11
+ "md"
12
+ ],
13
+ "default": "md",
14
+ "description": "크기"
15
+ },
16
+ "checked": {
17
+ "type": "boolean",
18
+ "description": "on/off 상태"
19
+ },
20
+ "disabled": {
21
+ "type": "boolean",
22
+ "description": "비활성"
23
+ },
24
+ "readOnly": {
25
+ "type": "boolean",
26
+ "description": "읽기 전용. 네이티브 input readOnly와 동일하게 on/off 상태 변경 불가"
27
+ },
28
+ "onCheckedChange": {
29
+ "description": "토글 상태 변경 콜백 (checked: boolean) => void"
30
+ },
31
+ "className": {
32
+ "type": "string",
33
+ "description": "스타일 오버라이드"
34
+ }
35
+ },
36
+ "additionalProperties": false,
37
+ "description": "토글 스위치. 네이티브 checkbox 기반, role=\"switch\"."
38
+ }
39
+ },
40
+ "$schema": "http://json-schema.org/draft-07/schema#"
41
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "$ref": "#/definitions/tabPropsSchema",
3
+ "definitions": {
4
+ "tabPropsSchema": {
5
+ "type": "object",
6
+ "properties": {
7
+ "items": {
8
+ "type": "array",
9
+ "items": {
10
+ "type": "object",
11
+ "properties": {
12
+ "key": {
13
+ "type": "string",
14
+ "description": "탭 고유 키"
15
+ },
16
+ "label": {
17
+ "description": "탭 라벨 (ReactNode)"
18
+ },
19
+ "children": {
20
+ "description": "탭 패널 내용 (ReactNode)"
21
+ },
22
+ "disabled": {
23
+ "type": "boolean",
24
+ "description": "비활성"
25
+ }
26
+ },
27
+ "required": [
28
+ "key"
29
+ ],
30
+ "additionalProperties": false
31
+ },
32
+ "description": "탭 항목 배열 (필수)"
33
+ },
34
+ "activeKey": {
35
+ "type": "string",
36
+ "description": "제어 모드 활성 키"
37
+ },
38
+ "defaultActiveKey": {
39
+ "type": "string",
40
+ "description": "비제어 초기 키"
41
+ },
42
+ "variant": {
43
+ "type": "string",
44
+ "enum": [
45
+ "line",
46
+ "pill"
47
+ ],
48
+ "default": "line",
49
+ "description": "스타일"
50
+ },
51
+ "size": {
52
+ "type": "string",
53
+ "enum": [
54
+ "sm",
55
+ "md"
56
+ ],
57
+ "default": "md",
58
+ "description": "크기"
59
+ },
60
+ "destroyInactive": {
61
+ "type": "boolean",
62
+ "default": false,
63
+ "description": "비활성 패널 언마운트"
64
+ },
65
+ "onTabChange": {
66
+ "description": "탭 변경 콜백 (key: string) => void"
67
+ },
68
+ "className": {
69
+ "type": "string",
70
+ "description": "루트 스타일"
71
+ },
72
+ "tabListClassName": {
73
+ "type": "string",
74
+ "description": "탭 리스트 스타일"
75
+ },
76
+ "tabPanelClassName": {
77
+ "type": "string",
78
+ "description": "탭 패널 스타일"
79
+ }
80
+ },
81
+ "required": [
82
+ "items"
83
+ ],
84
+ "additionalProperties": false,
85
+ "description": "탭 네비게이션. line/pill 변형."
86
+ }
87
+ },
88
+ "$schema": "http://json-schema.org/draft-07/schema#"
89
+ }
@@ -0,0 +1,75 @@
1
+ {
2
+ "$ref": "#/definitions/tablePropsSchema",
3
+ "definitions": {
4
+ "tablePropsSchema": {
5
+ "type": "object",
6
+ "properties": {
7
+ "list": {
8
+ "anyOf": [
9
+ {
10
+ "type": "array"
11
+ },
12
+ {
13
+ "type": "null"
14
+ }
15
+ ],
16
+ "description": "데이터 배열. null/undefined이면 로딩 상태 (필수)"
17
+ },
18
+ "children": {
19
+ "description": "행 렌더 함수 ({ item, index }) => ReactNode (필수)"
20
+ },
21
+ "hideThead": {
22
+ "type": "boolean",
23
+ "description": "테이블 헤더 숨김"
24
+ },
25
+ "loading": {
26
+ "type": "boolean",
27
+ "description": "로딩 상태 강제"
28
+ },
29
+ "loadingType": {
30
+ "type": "string",
31
+ "enum": [
32
+ "loading",
33
+ "skeleton"
34
+ ],
35
+ "default": "skeleton",
36
+ "description": "로딩 표시 방식"
37
+ },
38
+ "loadingElement": {
39
+ "description": "커스텀 로딩 요소 (ReactElement)"
40
+ },
41
+ "skeletonCount": {
42
+ "type": "number",
43
+ "default": 10,
44
+ "description": "스켈레톤 행 수"
45
+ },
46
+ "noDataMsg": {
47
+ "description": "데이터 없을 때 메시지 (ReactElement | string)"
48
+ },
49
+ "notification": {
50
+ "description": "테이블 상단 알림 영역 (ReactNode)"
51
+ },
52
+ "sortUpElement": {
53
+ "description": "오름차순 정렬 아이콘 (ReactElement)"
54
+ },
55
+ "sortDownElement": {
56
+ "description": "내림차순 정렬 아이콘 (ReactElement)"
57
+ },
58
+ "className": {
59
+ "type": "string",
60
+ "description": "테이블 래퍼 스타일"
61
+ },
62
+ "theadClassName": {
63
+ "type": "string",
64
+ "description": "헤더 행 스타일"
65
+ }
66
+ },
67
+ "required": [
68
+ "list"
69
+ ],
70
+ "additionalProperties": false,
71
+ "description": "테이블. TdColumn으로 컬럼 정의, TableRow로 행 래핑. 정렬/스켈레톤 로딩 내장."
72
+ }
73
+ },
74
+ "$schema": "http://json-schema.org/draft-07/schema#"
75
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "$ref": "#/definitions/tableRowPropsSchema",
3
+ "definitions": {
4
+ "tableRowPropsSchema": {
5
+ "type": "object",
6
+ "properties": {
7
+ "variant": {
8
+ "type": "string",
9
+ "enum": [
10
+ "default",
11
+ "accent"
12
+ ],
13
+ "default": "default",
14
+ "description": "행 스타일"
15
+ },
16
+ "className": {
17
+ "type": "string",
18
+ "description": "스타일 오버라이드"
19
+ },
20
+ "children": {
21
+ "description": "TdColumn 목록 (ReactNode, 필수)"
22
+ },
23
+ "onClick": {
24
+ "description": "행 클릭 콜백 (e: MouseEvent) => void"
25
+ }
26
+ },
27
+ "additionalProperties": false,
28
+ "description": "테이블 행. Table 내부에서 사용."
29
+ }
30
+ },
31
+ "$schema": "http://json-schema.org/draft-07/schema#"
32
+ }
@@ -0,0 +1,107 @@
1
+ {
2
+ "$ref": "#/definitions/tdColumnPropsSchema",
3
+ "definitions": {
4
+ "tdColumnPropsSchema": {
5
+ "type": "object",
6
+ "properties": {
7
+ "label": {
8
+ "description": "헤더 라벨 (ReactElement | string)"
9
+ },
10
+ "fieldId": {
11
+ "type": [
12
+ "string",
13
+ "null"
14
+ ],
15
+ "description": "컬럼 식별자 (정렬 키, 필수)"
16
+ },
17
+ "size": {
18
+ "type": [
19
+ "number",
20
+ "string"
21
+ ],
22
+ "description": "컬럼 너비 (number → px, string → CSS값)"
23
+ },
24
+ "align": {
25
+ "type": "string",
26
+ "enum": [
27
+ "left",
28
+ "center",
29
+ "right"
30
+ ],
31
+ "default": "left",
32
+ "description": "텍스트 정렬"
33
+ },
34
+ "textOverflow": {
35
+ "type": "string",
36
+ "enum": [
37
+ "auto",
38
+ "truncate",
39
+ "wrap",
40
+ "break-all"
41
+ ],
42
+ "default": "truncate",
43
+ "description": "텍스트 넘침 처리"
44
+ },
45
+ "highlightKey": {
46
+ "type": [
47
+ "string",
48
+ "null"
49
+ ],
50
+ "description": "호버 하이라이트 그룹 키"
51
+ },
52
+ "colSpan": {
53
+ "type": "number",
54
+ "description": "열 병합"
55
+ },
56
+ "rowSpan": {
57
+ "type": "number",
58
+ "description": "행 병합"
59
+ },
60
+ "thColSpan": {
61
+ "type": "number",
62
+ "description": "헤더 colSpan (<th>)"
63
+ },
64
+ "thRowSpan": {
65
+ "type": "number",
66
+ "description": "헤더 rowSpan (<th>)"
67
+ },
68
+ "enableSorting": {
69
+ "type": "boolean",
70
+ "description": "정렬 활성화"
71
+ },
72
+ "order": {
73
+ "type": "string",
74
+ "enum": [
75
+ "desc",
76
+ "asc",
77
+ ""
78
+ ],
79
+ "description": "현재 정렬 방향"
80
+ },
81
+ "sortValue": {
82
+ "type": [
83
+ "string",
84
+ "number"
85
+ ],
86
+ "description": "정렬 기준 값"
87
+ },
88
+ "handleClickSort": {
89
+ "description": "정렬 클릭 콜백 ({ index, fieldId, order }) => void"
90
+ },
91
+ "children": {
92
+ "description": "셀 내용 (ReactNode, 필수)"
93
+ },
94
+ "className": {
95
+ "type": "string",
96
+ "description": "스타일 오버라이드"
97
+ }
98
+ },
99
+ "required": [
100
+ "fieldId"
101
+ ],
102
+ "additionalProperties": false,
103
+ "description": "테이블 셀/컬럼 정의. TableRow 내부에서 사용."
104
+ }
105
+ },
106
+ "$schema": "http://json-schema.org/draft-07/schema#"
107
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "$ref": "#/definitions/textAreaPropsSchema",
3
+ "definitions": {
4
+ "textAreaPropsSchema": {
5
+ "type": "object",
6
+ "properties": {
7
+ "error": {
8
+ "type": "boolean",
9
+ "description": "에러 상태 (aria-invalid 자동)"
10
+ },
11
+ "showCount": {
12
+ "type": "boolean",
13
+ "description": "글자 수 표시 (maxLength 필요)"
14
+ },
15
+ "maxLength": {
16
+ "type": "number",
17
+ "description": "최대 글자 수"
18
+ },
19
+ "placeholder": {
20
+ "type": "string",
21
+ "description": "플레이스홀더"
22
+ },
23
+ "rows": {
24
+ "type": "number",
25
+ "description": "표시 줄 수"
26
+ },
27
+ "disabled": {
28
+ "type": "boolean",
29
+ "description": "비활성"
30
+ },
31
+ "onValueChange": {
32
+ "description": "값 변경 콜백 (value: string) => void"
33
+ },
34
+ "className": {
35
+ "type": "string",
36
+ "description": "스타일 오버라이드"
37
+ }
38
+ },
39
+ "additionalProperties": false,
40
+ "description": "여러 줄 텍스트 입력. 글자 수 카운터 내장."
41
+ }
42
+ },
43
+ "$schema": "http://json-schema.org/draft-07/schema#"
44
+ }
@@ -0,0 +1,67 @@
1
+ {
2
+ "$ref": "#/definitions/textInputPropsSchema",
3
+ "definitions": {
4
+ "textInputPropsSchema": {
5
+ "type": "object",
6
+ "properties": {
7
+ "size": {
8
+ "type": "string",
9
+ "enum": [
10
+ "sm",
11
+ "md",
12
+ "lg",
13
+ "xl"
14
+ ],
15
+ "default": "md",
16
+ "description": "크기"
17
+ },
18
+ "error": {
19
+ "type": "boolean",
20
+ "description": "에러 상태 (aria-invalid 자동)"
21
+ },
22
+ "prefixIcon": {
23
+ "description": "앞쪽 아이콘 (ReactNode)"
24
+ },
25
+ "suffixIcon": {
26
+ "description": "뒤쪽 아이콘 (ReactNode)"
27
+ },
28
+ "label": {
29
+ "description": "입력 필드 위 라벨 (ReactNode)"
30
+ },
31
+ "description": {
32
+ "description": "입력 필드 아래 설명 텍스트 (ReactNode, error 시 빨간색)"
33
+ },
34
+ "showCount": {
35
+ "type": "boolean",
36
+ "description": "글자 수 카운트 표시 (maxLength 필요)"
37
+ },
38
+ "maxLength": {
39
+ "type": "number",
40
+ "description": "최대 글자 수"
41
+ },
42
+ "clearable": {
43
+ "type": "boolean",
44
+ "description": "X 버튼으로 입력값 초기화"
45
+ },
46
+ "placeholder": {
47
+ "type": "string",
48
+ "description": "플레이스홀더"
49
+ },
50
+ "disabled": {
51
+ "type": "boolean",
52
+ "description": "비활성"
53
+ },
54
+ "onValueChange": {
55
+ "description": "값 변경 콜백 (value: string) => void"
56
+ },
57
+ "className": {
58
+ "type": "string",
59
+ "description": "스타일 오버라이드"
60
+ }
61
+ },
62
+ "additionalProperties": false,
63
+ "description": "텍스트 입력 필드. label, description, prefix/suffix 아이콘, clearable, 글자 수 카운트 지원."
64
+ }
65
+ },
66
+ "$schema": "http://json-schema.org/draft-07/schema#"
67
+ }