@ncds/ui-admin 1.6.3 → 1.6.4-alpha.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 (262) hide show
  1. package/mcp/bin/server.d.ts +1 -0
  2. package/mcp/bin/server.js +67 -0
  3. package/mcp/bin/server.mjs +14 -0
  4. package/mcp/bin/tools/getComponentHtml.d.ts +3 -0
  5. package/mcp/bin/tools/getComponentHtml.js +30 -0
  6. package/mcp/bin/tools/getComponentProps.d.ts +3 -0
  7. package/mcp/bin/tools/getComponentProps.js +16 -0
  8. package/mcp/bin/tools/listComponents.d.ts +3 -0
  9. package/mcp/bin/tools/listComponents.js +15 -0
  10. package/mcp/bin/tools/ping.d.ts +11 -0
  11. package/mcp/bin/tools/ping.js +30 -0
  12. package/mcp/bin/tools/searchComponent.d.ts +3 -0
  13. package/mcp/bin/tools/searchComponent.js +20 -0
  14. package/mcp/bin/tools/validateHtml.d.ts +10 -0
  15. package/mcp/bin/tools/validateHtml.js +142 -0
  16. package/mcp/bin/types.d.ts +28 -0
  17. package/mcp/bin/types.js +5 -0
  18. package/mcp/bin/utils/dataLoader.d.ts +11 -0
  19. package/mcp/bin/utils/dataLoader.js +68 -0
  20. package/mcp/bin/utils/logger.d.ts +18 -0
  21. package/mcp/bin/utils/logger.js +27 -0
  22. package/mcp/bin/utils/response.d.ts +23 -0
  23. package/mcp/bin/utils/response.js +31 -0
  24. package/mcp/bin/version.d.ts +1 -0
  25. package/mcp/bin/version.js +4 -0
  26. package/mcp/data/.gitkeep +0 -0
  27. package/mcp/data/_meta.json +7 -0
  28. package/mcp/data/badge-group.json +73 -0
  29. package/mcp/data/badge.json +86 -0
  30. package/mcp/data/bread-crumb.json +22 -0
  31. package/mcp/data/breadcrumb.json +31 -0
  32. package/mcp/data/button-group.json +65 -0
  33. package/mcp/data/button.json +114 -0
  34. package/mcp/data/carousel-arrow.json +59 -0
  35. package/mcp/data/carousel-number-group.json +57 -0
  36. package/mcp/data/carousel.json +22 -0
  37. package/mcp/data/checkbox.json +31 -0
  38. package/mcp/data/combobox.json +114 -0
  39. package/mcp/data/date-picker.json +77 -0
  40. package/mcp/data/divider.json +56 -0
  41. package/mcp/data/dot.json +55 -0
  42. package/mcp/data/dropdown.json +81 -0
  43. package/mcp/data/empty-state.json +34 -0
  44. package/mcp/data/featured-icon.json +83 -0
  45. package/mcp/data/file-input.json +76 -0
  46. package/mcp/data/horizontal-tab.json +71 -0
  47. package/mcp/data/image-file-input.json +97 -0
  48. package/mcp/data/input.json +104 -0
  49. package/mcp/data/modal.json +85 -0
  50. package/mcp/data/notification.json +116 -0
  51. package/mcp/data/number-input.json +128 -0
  52. package/mcp/data/pagination.json +65 -0
  53. package/mcp/data/password-input.json +47 -0
  54. package/mcp/data/progress-bar.json +51 -0
  55. package/mcp/data/progress-circle.json +54 -0
  56. package/mcp/data/radio.json +31 -0
  57. package/mcp/data/range-date-picker-with-buttons.json +64 -0
  58. package/mcp/data/range-date-picker.json +55 -0
  59. package/mcp/data/select-dropdown.json +32 -0
  60. package/mcp/data/select.json +64 -0
  61. package/mcp/data/selectbox.json +129 -0
  62. package/mcp/data/slider.json +57 -0
  63. package/mcp/data/spinner.json +54 -0
  64. package/mcp/data/switch.json +71 -0
  65. package/mcp/data/tab.json +122 -0
  66. package/mcp/data/tag.json +66 -0
  67. package/mcp/data/textarea.json +88 -0
  68. package/mcp/data/toggle.json +59 -0
  69. package/mcp/data/tooltip.json +123 -0
  70. package/mcp/data/vertical-tab.json +64 -0
  71. package/mcp/templates/.mcp.json.example +8 -0
  72. package/mcp/templates/README.md +31 -0
  73. package/package.json +26 -3
  74. package/dist/cjs/assets/scripts/comboBox.js +0 -280
  75. package/dist/cjs/assets/scripts/datePicker.js +0 -706
  76. package/dist/cjs/assets/scripts/featuredIcon.js +0 -95
  77. package/dist/cjs/assets/scripts/fileInput/FileInput.js +0 -183
  78. package/dist/cjs/assets/scripts/fileInput/FileInputModel.js +0 -246
  79. package/dist/cjs/assets/scripts/fileInput/FileInputView.js +0 -455
  80. package/dist/cjs/assets/scripts/fileInput/const/classNames.js +0 -35
  81. package/dist/cjs/assets/scripts/fileInput/const/index.js +0 -27
  82. package/dist/cjs/assets/scripts/fileInput/const/types.js +0 -13
  83. package/dist/cjs/assets/scripts/fileInput/index.js +0 -44
  84. package/dist/cjs/assets/scripts/imageFileInput/ImageFileInput.js +0 -187
  85. package/dist/cjs/assets/scripts/imageFileInput/ImageFileInputModel.js +0 -255
  86. package/dist/cjs/assets/scripts/imageFileInput/ImageFileInputView.js +0 -354
  87. package/dist/cjs/assets/scripts/imageFileInput/const/classNames.js +0 -41
  88. package/dist/cjs/assets/scripts/imageFileInput/const/index.js +0 -27
  89. package/dist/cjs/assets/scripts/imageFileInput/const/types.js +0 -13
  90. package/dist/cjs/assets/scripts/imageFileInput/index.js +0 -44
  91. package/dist/cjs/assets/scripts/index.js +0 -30
  92. package/dist/cjs/assets/scripts/modal/Modal.js +0 -116
  93. package/dist/cjs/assets/scripts/modal/ModalActions.js +0 -128
  94. package/dist/cjs/assets/scripts/modal/ModalContent.js +0 -46
  95. package/dist/cjs/assets/scripts/modal/ModalHeader.js +0 -115
  96. package/dist/cjs/assets/scripts/modal/const/classNames.js +0 -41
  97. package/dist/cjs/assets/scripts/modal/const/index.js +0 -27
  98. package/dist/cjs/assets/scripts/modal/const/types.js +0 -5
  99. package/dist/cjs/assets/scripts/modal/index.js +0 -61
  100. package/dist/cjs/assets/scripts/modal/utils/contentUtils.js +0 -35
  101. package/dist/cjs/assets/scripts/notification/FloatingNotification.js +0 -180
  102. package/dist/cjs/assets/scripts/notification/FullWidthNotification.js +0 -120
  103. package/dist/cjs/assets/scripts/notification/MessageNotification.js +0 -146
  104. package/dist/cjs/assets/scripts/notification/Notification.js +0 -116
  105. package/dist/cjs/assets/scripts/notification/const/classNames.js +0 -50
  106. package/dist/cjs/assets/scripts/notification/const/icons.js +0 -45
  107. package/dist/cjs/assets/scripts/notification/const/index.js +0 -87
  108. package/dist/cjs/assets/scripts/notification/const/sizes.js +0 -54
  109. package/dist/cjs/assets/scripts/notification/const/types.js +0 -14
  110. package/dist/cjs/assets/scripts/notification/index.js +0 -92
  111. package/dist/cjs/assets/scripts/notification/utils.js +0 -92
  112. package/dist/cjs/assets/scripts/progress-bar/ProgressBar.js +0 -272
  113. package/dist/cjs/assets/scripts/progress-bar/index.js +0 -12
  114. package/dist/cjs/assets/scripts/selectBox.js +0 -319
  115. package/dist/cjs/assets/scripts/shared/ButtonCloseX.js +0 -46
  116. package/dist/cjs/assets/scripts/tab.js +0 -40
  117. package/dist/cjs/assets/scripts/tag/Tag.js +0 -268
  118. package/dist/cjs/assets/scripts/tag/const/classNames.js +0 -24
  119. package/dist/cjs/assets/scripts/tag/const/index.js +0 -38
  120. package/dist/cjs/assets/scripts/tag/const/sizes.js +0 -13
  121. package/dist/cjs/assets/scripts/tag/const/types.js +0 -5
  122. package/dist/cjs/assets/scripts/tag/index.js +0 -44
  123. package/dist/cjs/assets/scripts/tooltip/Tooltip.js +0 -380
  124. package/dist/cjs/assets/scripts/tooltip/TooltipLayerManager.js +0 -84
  125. package/dist/cjs/assets/scripts/tooltip/const/classNames.js +0 -29
  126. package/dist/cjs/assets/scripts/tooltip/const/constants.js +0 -56
  127. package/dist/cjs/assets/scripts/tooltip/const/icons.js +0 -15
  128. package/dist/cjs/assets/scripts/tooltip/const/index.js +0 -123
  129. package/dist/cjs/assets/scripts/tooltip/const/templates.js +0 -49
  130. package/dist/cjs/assets/scripts/tooltip/const/types.js +0 -5
  131. package/dist/cjs/assets/scripts/tooltip/index.js +0 -57
  132. package/dist/cjs/assets/scripts/tooltip/utils.js +0 -41
  133. package/dist/cjs/assets/scripts/utils/unifiedBox/DOMRenderer.js +0 -384
  134. package/dist/cjs/assets/scripts/utils/unifiedBox/DropdownModel.js +0 -368
  135. package/dist/cjs/assets/scripts/utils/unifiedBox/UnifiedBoxController.js +0 -681
  136. package/dist/cjs/assets/scripts/utils/unifiedBox/UnifiedBoxManager.js +0 -711
  137. package/dist/esm/assets/scripts/comboBox.js +0 -275
  138. package/dist/esm/assets/scripts/datePicker.js +0 -699
  139. package/dist/esm/assets/scripts/featuredIcon.js +0 -90
  140. package/dist/esm/assets/scripts/fileInput/FileInput.js +0 -178
  141. package/dist/esm/assets/scripts/fileInput/FileInputModel.js +0 -241
  142. package/dist/esm/assets/scripts/fileInput/FileInputView.js +0 -450
  143. package/dist/esm/assets/scripts/fileInput/const/classNames.js +0 -25
  144. package/dist/esm/assets/scripts/fileInput/const/index.js +0 -2
  145. package/dist/esm/assets/scripts/fileInput/const/types.js +0 -7
  146. package/dist/esm/assets/scripts/fileInput/index.js +0 -9
  147. package/dist/esm/assets/scripts/imageFileInput/ImageFileInput.js +0 -182
  148. package/dist/esm/assets/scripts/imageFileInput/ImageFileInputModel.js +0 -250
  149. package/dist/esm/assets/scripts/imageFileInput/ImageFileInputView.js +0 -349
  150. package/dist/esm/assets/scripts/imageFileInput/const/classNames.js +0 -30
  151. package/dist/esm/assets/scripts/imageFileInput/const/index.js +0 -2
  152. package/dist/esm/assets/scripts/imageFileInput/const/types.js +0 -7
  153. package/dist/esm/assets/scripts/imageFileInput/index.js +0 -9
  154. package/dist/esm/assets/scripts/index.js +0 -28
  155. package/dist/esm/assets/scripts/modal/Modal.js +0 -110
  156. package/dist/esm/assets/scripts/modal/ModalActions.js +0 -123
  157. package/dist/esm/assets/scripts/modal/ModalContent.js +0 -41
  158. package/dist/esm/assets/scripts/modal/ModalHeader.js +0 -110
  159. package/dist/esm/assets/scripts/modal/const/classNames.js +0 -31
  160. package/dist/esm/assets/scripts/modal/const/index.js +0 -2
  161. package/dist/esm/assets/scripts/modal/const/types.js +0 -1
  162. package/dist/esm/assets/scripts/modal/index.js +0 -15
  163. package/dist/esm/assets/scripts/modal/utils/contentUtils.js +0 -28
  164. package/dist/esm/assets/scripts/notification/FloatingNotification.js +0 -176
  165. package/dist/esm/assets/scripts/notification/FullWidthNotification.js +0 -115
  166. package/dist/esm/assets/scripts/notification/MessageNotification.js +0 -141
  167. package/dist/esm/assets/scripts/notification/Notification.js +0 -111
  168. package/dist/esm/assets/scripts/notification/const/classNames.js +0 -44
  169. package/dist/esm/assets/scripts/notification/const/icons.js +0 -39
  170. package/dist/esm/assets/scripts/notification/const/index.js +0 -4
  171. package/dist/esm/assets/scripts/notification/const/sizes.js +0 -48
  172. package/dist/esm/assets/scripts/notification/const/types.js +0 -8
  173. package/dist/esm/assets/scripts/notification/index.js +0 -11
  174. package/dist/esm/assets/scripts/notification/utils.js +0 -79
  175. package/dist/esm/assets/scripts/progress-bar/ProgressBar.js +0 -267
  176. package/dist/esm/assets/scripts/progress-bar/index.js +0 -1
  177. package/dist/esm/assets/scripts/selectBox.js +0 -314
  178. package/dist/esm/assets/scripts/shared/ButtonCloseX.js +0 -38
  179. package/dist/esm/assets/scripts/tab.js +0 -35
  180. package/dist/esm/assets/scripts/tag/Tag.js +0 -263
  181. package/dist/esm/assets/scripts/tag/const/classNames.js +0 -16
  182. package/dist/esm/assets/scripts/tag/const/index.js +0 -3
  183. package/dist/esm/assets/scripts/tag/const/sizes.js +0 -7
  184. package/dist/esm/assets/scripts/tag/const/types.js +0 -1
  185. package/dist/esm/assets/scripts/tag/index.js +0 -9
  186. package/dist/esm/assets/scripts/tooltip/Tooltip.js +0 -375
  187. package/dist/esm/assets/scripts/tooltip/TooltipLayerManager.js +0 -79
  188. package/dist/esm/assets/scripts/tooltip/const/classNames.js +0 -23
  189. package/dist/esm/assets/scripts/tooltip/const/constants.js +0 -50
  190. package/dist/esm/assets/scripts/tooltip/const/icons.js +0 -9
  191. package/dist/esm/assets/scripts/tooltip/const/index.js +0 -4
  192. package/dist/esm/assets/scripts/tooltip/const/templates.js +0 -42
  193. package/dist/esm/assets/scripts/tooltip/const/types.js +0 -1
  194. package/dist/esm/assets/scripts/tooltip/index.js +0 -10
  195. package/dist/esm/assets/scripts/tooltip/utils.js +0 -35
  196. package/dist/esm/assets/scripts/utils/unifiedBox/DOMRenderer.js +0 -379
  197. package/dist/esm/assets/scripts/utils/unifiedBox/DropdownModel.js +0 -363
  198. package/dist/esm/assets/scripts/utils/unifiedBox/UnifiedBoxController.js +0 -676
  199. package/dist/esm/assets/scripts/utils/unifiedBox/UnifiedBoxManager.js +0 -706
  200. package/dist/types/assets/scripts/comboBox.d.ts +0 -91
  201. package/dist/types/assets/scripts/datePicker.d.ts +0 -87
  202. package/dist/types/assets/scripts/featuredIcon.d.ts +0 -23
  203. package/dist/types/assets/scripts/fileInput/FileInput.d.ts +0 -67
  204. package/dist/types/assets/scripts/fileInput/FileInputModel.d.ts +0 -70
  205. package/dist/types/assets/scripts/fileInput/FileInputView.d.ts +0 -77
  206. package/dist/types/assets/scripts/fileInput/const/classNames.d.ts +0 -17
  207. package/dist/types/assets/scripts/fileInput/const/index.d.ts +0 -3
  208. package/dist/types/assets/scripts/fileInput/const/types.d.ts +0 -132
  209. package/dist/types/assets/scripts/fileInput/index.d.ts +0 -4
  210. package/dist/types/assets/scripts/imageFileInput/ImageFileInput.d.ts +0 -64
  211. package/dist/types/assets/scripts/imageFileInput/ImageFileInputModel.d.ts +0 -74
  212. package/dist/types/assets/scripts/imageFileInput/ImageFileInputView.d.ts +0 -80
  213. package/dist/types/assets/scripts/imageFileInput/const/classNames.d.ts +0 -20
  214. package/dist/types/assets/scripts/imageFileInput/const/index.d.ts +0 -3
  215. package/dist/types/assets/scripts/imageFileInput/const/types.d.ts +0 -126
  216. package/dist/types/assets/scripts/imageFileInput/index.d.ts +0 -4
  217. package/dist/types/assets/scripts/index.d.ts +0 -33
  218. package/dist/types/assets/scripts/modal/Modal.d.ts +0 -28
  219. package/dist/types/assets/scripts/modal/ModalActions.d.ts +0 -19
  220. package/dist/types/assets/scripts/modal/ModalContent.d.ts +0 -14
  221. package/dist/types/assets/scripts/modal/ModalHeader.d.ts +0 -16
  222. package/dist/types/assets/scripts/modal/const/classNames.d.ts +0 -23
  223. package/dist/types/assets/scripts/modal/const/index.d.ts +0 -3
  224. package/dist/types/assets/scripts/modal/const/types.d.ts +0 -62
  225. package/dist/types/assets/scripts/modal/index.d.ts +0 -8
  226. package/dist/types/assets/scripts/modal/utils/contentUtils.d.ts +0 -11
  227. package/dist/types/assets/scripts/notification/FloatingNotification.d.ts +0 -25
  228. package/dist/types/assets/scripts/notification/FullWidthNotification.d.ts +0 -22
  229. package/dist/types/assets/scripts/notification/MessageNotification.d.ts +0 -23
  230. package/dist/types/assets/scripts/notification/Notification.d.ts +0 -22
  231. package/dist/types/assets/scripts/notification/const/classNames.d.ts +0 -44
  232. package/dist/types/assets/scripts/notification/const/icons.d.ts +0 -26
  233. package/dist/types/assets/scripts/notification/const/index.d.ts +0 -6
  234. package/dist/types/assets/scripts/notification/const/sizes.d.ts +0 -33
  235. package/dist/types/assets/scripts/notification/const/types.d.ts +0 -20
  236. package/dist/types/assets/scripts/notification/index.d.ts +0 -8
  237. package/dist/types/assets/scripts/notification/utils.d.ts +0 -9
  238. package/dist/types/assets/scripts/progress-bar/ProgressBar.d.ts +0 -68
  239. package/dist/types/assets/scripts/progress-bar/index.d.ts +0 -2
  240. package/dist/types/assets/scripts/selectBox.d.ts +0 -77
  241. package/dist/types/assets/scripts/shared/ButtonCloseX.d.ts +0 -6
  242. package/dist/types/assets/scripts/tab.d.ts +0 -8
  243. package/dist/types/assets/scripts/tag/Tag.d.ts +0 -28
  244. package/dist/types/assets/scripts/tag/const/classNames.d.ts +0 -12
  245. package/dist/types/assets/scripts/tag/const/index.d.ts +0 -4
  246. package/dist/types/assets/scripts/tag/const/sizes.d.ts +0 -8
  247. package/dist/types/assets/scripts/tag/const/types.d.ts +0 -34
  248. package/dist/types/assets/scripts/tag/index.d.ts +0 -4
  249. package/dist/types/assets/scripts/tooltip/Tooltip.d.ts +0 -55
  250. package/dist/types/assets/scripts/tooltip/TooltipLayerManager.d.ts +0 -22
  251. package/dist/types/assets/scripts/tooltip/const/classNames.d.ts +0 -18
  252. package/dist/types/assets/scripts/tooltip/const/constants.d.ts +0 -34
  253. package/dist/types/assets/scripts/tooltip/const/icons.d.ts +0 -5
  254. package/dist/types/assets/scripts/tooltip/const/index.d.ts +0 -6
  255. package/dist/types/assets/scripts/tooltip/const/templates.d.ts +0 -17
  256. package/dist/types/assets/scripts/tooltip/const/types.d.ts +0 -15
  257. package/dist/types/assets/scripts/tooltip/index.d.ts +0 -7
  258. package/dist/types/assets/scripts/tooltip/utils.d.ts +0 -3
  259. package/dist/types/assets/scripts/utils/unifiedBox/DOMRenderer.d.ts +0 -108
  260. package/dist/types/assets/scripts/utils/unifiedBox/DropdownModel.d.ts +0 -158
  261. package/dist/types/assets/scripts/utils/unifiedBox/UnifiedBoxController.d.ts +0 -171
  262. package/dist/types/assets/scripts/utils/unifiedBox/UnifiedBoxManager.d.ts +0 -99
@@ -0,0 +1,51 @@
1
+ {
2
+ "name": "progress-bar",
3
+ "description": "NCDS Progress Bar 컴포넌트",
4
+ "aliases": [],
5
+ "props": {
6
+ "label": {
7
+ "type": "enum",
8
+ "required": false,
9
+ "values": ["bottom", "bottom-float", "right", "top-float"]
10
+ },
11
+ "segments": {
12
+ "type": "string",
13
+ "required": false
14
+ },
15
+ "showZeroLabel": {
16
+ "type": "string",
17
+ "required": false,
18
+ "default": false
19
+ },
20
+ "value": {
21
+ "type": "string",
22
+ "required": false
23
+ },
24
+ "valueToPercent": {
25
+ "type": "string",
26
+ "required": false,
27
+ "default": true
28
+ }
29
+ },
30
+ "html": {
31
+ "default": "<div class=\"ncua-progress-bar ncua-progress-bar-\"><div class=\"ncua-progress-bar__content\"><div class=\"ncua-progress-bar__bar \"><div class=\"ncua-progress-bar__fill\" style=\"width:50%\" aria-valuenow=\"50\" aria-valuemin=\"0\" aria-valuemax=\"100\"></div></div></div></div>"
32
+ },
33
+ "bemClasses": [
34
+ "ncua-progress-bar",
35
+ "ncua-progress-bar-",
36
+ "ncua-progress-bar__bar",
37
+ "ncua-progress-bar__bar--segments",
38
+ "ncua-progress-bar__content",
39
+ "ncua-progress-bar__fill"
40
+ ],
41
+ "usage": {
42
+ "import": "import { ProgressBar } from '@ncds/ui-admin';",
43
+ "react": {
44
+ "default": "<ProgressBar />",
45
+ "label:bottom": "<ProgressBar label=\"bottom\" />",
46
+ "label:bottom-float": "<ProgressBar label=\"bottom-float\" />",
47
+ "label:right": "<ProgressBar label=\"right\" />",
48
+ "label:top-float": "<ProgressBar label=\"top-float\" />"
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "progress-circle",
3
+ "description": "NCDS Progress Circle 컴포넌트",
4
+ "aliases": [],
5
+ "props": {
6
+ "label": {
7
+ "type": "string",
8
+ "required": false
9
+ },
10
+ "size": {
11
+ "type": "enum",
12
+ "required": true,
13
+ "values": ["lg", "md", "sm", "xs", "xxs"]
14
+ },
15
+ "theme": {
16
+ "type": "enum",
17
+ "required": false,
18
+ "values": ["circle", "half-circle"],
19
+ "default": "circle"
20
+ },
21
+ "value": {
22
+ "type": "number",
23
+ "required": true
24
+ }
25
+ },
26
+ "html": {
27
+ "default": "<div class=\"ncua-progress-circle ncua-progress-circle-undefined ncua-progress-circle-circle\"><div class=\"ncua-progress-circle__content\"><svg class=\"ncua-progress-circle__svg\" viewBox=\"0 0 100 100\"><circle class=\"ncua-progress-circle__background\" cx=\"50\" cy=\"50\" r=\"45\" stroke-width=\"10\" fill=\"none\"></circle><circle class=\"ncua-progress-circle__progress\" cx=\"50\" cy=\"50\" r=\"45\" stroke-width=\"10\" fill=\"none\" stroke-dasharray=\"var(--circle-circumference)\" stroke-dashoffset=\"calc(var(--circle-circumference) * (1 - 50 / 100))\" transform=\"rotate(-90 50 50)\" stroke-linecap=\"round\"></circle></svg><div class=\"ncua-progress-circle__label-container\"><div class=\"ncua-progress-circle__label\">50%</div></div></div></div>"
28
+ },
29
+ "bemClasses": [
30
+ "ncua-progress-circle",
31
+ "ncua-progress-circle-",
32
+ "ncua-progress-circle__background",
33
+ "ncua-progress-circle__content",
34
+ "ncua-progress-circle__label",
35
+ "ncua-progress-circle__label-container",
36
+ "ncua-progress-circle__label-text",
37
+ "ncua-progress-circle__outside-label",
38
+ "ncua-progress-circle__progress",
39
+ "ncua-progress-circle__svg"
40
+ ],
41
+ "usage": {
42
+ "import": "import { ProgressCircle } from '@ncds/ui-admin';",
43
+ "react": {
44
+ "default": "<ProgressCircle size=\"lg\" value={0} />",
45
+ "size:lg": "<ProgressCircle size=\"lg\" value={0} />",
46
+ "size:md": "<ProgressCircle size=\"md\" value={0} />",
47
+ "size:sm": "<ProgressCircle size=\"sm\" value={0} />",
48
+ "size:xs": "<ProgressCircle size=\"xs\" value={0} />",
49
+ "size:xxs": "<ProgressCircle size=\"xxs\" value={0} />",
50
+ "theme:circle": "<ProgressCircle theme=\"circle\" size=\"lg\" value={0} />",
51
+ "theme:half-circle": "<ProgressCircle theme=\"half-circle\" size=\"lg\" value={0} />"
52
+ }
53
+ }
54
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "radio",
3
+ "description": "NCDS Radio 컴포넌트",
4
+ "aliases": [],
5
+ "props": {
6
+ "supportText": {
7
+ "type": "string",
8
+ "required": false
9
+ },
10
+ "text": {
11
+ "type": "string",
12
+ "required": false
13
+ }
14
+ },
15
+ "html": {
16
+ "default": "<label class=\"ncua-radio-field ncua-radio-field--xs\"><span class=\"ncua-radio-input ncua-radio-input--xs ncua-radio-field__input\"><input type=\"radio\" label=\"라디오\" name=\"radio-group\"/></span><span></span></label>"
17
+ },
18
+ "bemClasses": [
19
+ "ncua-radio-field",
20
+ "ncua-radio-field__input",
21
+ "ncua-radio-field__support-text",
22
+ "ncua-radio-field__text",
23
+ "ncua-radio-input"
24
+ ],
25
+ "usage": {
26
+ "import": "import { Radio } from '@ncds/ui-admin';",
27
+ "react": {
28
+ "default": "<Radio />"
29
+ }
30
+ }
31
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "range-date-picker-with-buttons",
3
+ "description": "NCDS Range Date Picker With Buttons 컴포넌트",
4
+ "aliases": [],
5
+ "props": {
6
+ "currentButtonId": {
7
+ "type": "string",
8
+ "required": true
9
+ },
10
+ "endDateOptions": {
11
+ "type": "string",
12
+ "required": true
13
+ },
14
+ "onDateValidation": {
15
+ "type": "string",
16
+ "required": false
17
+ },
18
+ "periodItems": {
19
+ "type": "string",
20
+ "required": false
21
+ },
22
+ "periodKeys": {
23
+ "type": "string",
24
+ "required": true
25
+ },
26
+ "setCurrentButtonId": {
27
+ "type": "string",
28
+ "required": true
29
+ },
30
+ "startDateOptions": {
31
+ "type": "string",
32
+ "required": true
33
+ },
34
+ "useYesterdayAsEndDate": {
35
+ "type": "string",
36
+ "required": false,
37
+ "default": false
38
+ },
39
+ "validationOption": {
40
+ "type": "string",
41
+ "required": false
42
+ }
43
+ },
44
+ "html": {
45
+ "default": "<div class=\"ncua-date-picker\"></div>"
46
+ },
47
+ "bemClasses": [
48
+ "ncua-date-picker",
49
+ "ncua-date-picker--destructive",
50
+ "ncua-date-picker--disabled",
51
+ "ncua-date-picker--has-time",
52
+ "ncua-date-picker__destructive",
53
+ "ncua-date-picker__ico",
54
+ "ncua-date-picker__input",
55
+ "ncua-range-date-picker",
56
+ "ncua-range-date-picker-with-buttons"
57
+ ],
58
+ "usage": {
59
+ "import": "import { RangeDatePickerWithButtons } from '@ncds/ui-admin';",
60
+ "react": {
61
+ "default": "<RangeDatePickerWithButtons currentButtonId=\"\" endDateOptions=\"\" periodKeys=\"\" setCurrentButtonId=\"\" startDateOptions=\"\" />"
62
+ }
63
+ }
64
+ }
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "range-date-picker",
3
+ "description": "NCDS Range Date Picker 컴포넌트",
4
+ "aliases": [],
5
+ "props": {
6
+ "endDateOptions": {
7
+ "type": "string",
8
+ "required": true
9
+ },
10
+ "onDateValidation": {
11
+ "type": "string",
12
+ "required": false
13
+ },
14
+ "size": {
15
+ "type": "enum",
16
+ "required": false,
17
+ "values": ["sm", "xs"],
18
+ "default": "xs"
19
+ },
20
+ "startDateOptions": {
21
+ "type": "string",
22
+ "required": true
23
+ },
24
+ "validationOption": {
25
+ "type": "string",
26
+ "required": false
27
+ }
28
+ },
29
+ "html": {
30
+ "default": "<div class=\"ncua-date-picker\"></div>",
31
+ "size:sm": "<div class=\"ncua-date-picker ncua-date-picker--sm\"></div>",
32
+ "size:xs": "<div class=\"ncua-date-picker ncua-date-picker--xs\"></div>"
33
+ },
34
+ "bemClasses": [
35
+ "ncua-date-picker",
36
+ "ncua-date-picker--destructive",
37
+ "ncua-date-picker--disabled",
38
+ "ncua-date-picker--has-time",
39
+ "ncua-date-picker--sm",
40
+ "ncua-date-picker--xs",
41
+ "ncua-date-picker__destructive",
42
+ "ncua-date-picker__ico",
43
+ "ncua-date-picker__input",
44
+ "ncua-range-date-picker",
45
+ "ncua-range-date-picker-with-buttons"
46
+ ],
47
+ "usage": {
48
+ "import": "import { RangeDatePicker } from '@ncds/ui-admin';",
49
+ "react": {
50
+ "default": "<RangeDatePicker endDateOptions=\"\" startDateOptions=\"\" />",
51
+ "size:sm": "<RangeDatePicker size=\"sm\" endDateOptions=\"\" startDateOptions=\"\" />",
52
+ "size:xs": "<RangeDatePicker size=\"xs\" endDateOptions=\"\" startDateOptions=\"\" />"
53
+ }
54
+ }
55
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "select-dropdown",
3
+ "description": "NCDS Select Dropdown 컴포넌트",
4
+ "aliases": [],
5
+ "props": {},
6
+ "html": {
7
+ "default": "<div class=\"ncua-select-dropdown\"></div>"
8
+ },
9
+ "bemClasses": [
10
+ "ncua-select-dropdown",
11
+ "ncua-select-dropdown--align-right",
12
+ "ncua-select-dropdown--multiple",
13
+ "ncua-select-dropdown--selectbox-single",
14
+ "ncua-select-dropdown__content",
15
+ "ncua-select-dropdown__footer",
16
+ "ncua-select-dropdown__footer-buttons",
17
+ "ncua-select-dropdown__footer-left",
18
+ "ncua-select-dropdown__footer-right",
19
+ "ncua-select-dropdown__option",
20
+ "ncua-select-dropdown__option--focused",
21
+ "ncua-select-dropdown__option--selected",
22
+ "ncua-select-dropdown__option-icon",
23
+ "ncua-select-dropdown__option-text",
24
+ "ncua-select-dropdown__options"
25
+ ],
26
+ "usage": {
27
+ "import": "import { SelectDropdown } from '@ncds/ui-admin';",
28
+ "react": {
29
+ "default": "<SelectDropdown />"
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "select",
3
+ "description": "NCDS Select 컴포넌트",
4
+ "aliases": [],
5
+ "props": {
6
+ "children": {
7
+ "type": "string",
8
+ "required": false
9
+ },
10
+ "destructive": {
11
+ "type": "string",
12
+ "required": false,
13
+ "default": false
14
+ },
15
+ "disabledPlaceholder": {
16
+ "type": "string",
17
+ "required": false,
18
+ "default": false
19
+ },
20
+ "hintText": {
21
+ "type": "string",
22
+ "required": false
23
+ },
24
+ "optionItems": {
25
+ "type": "string",
26
+ "required": false
27
+ },
28
+ "placeholder": {
29
+ "type": "string",
30
+ "required": false
31
+ },
32
+ "register": {
33
+ "type": "string",
34
+ "required": false
35
+ },
36
+ "size": {
37
+ "type": "enum",
38
+ "required": false,
39
+ "values": ["md", "sm", "xs"],
40
+ "default": "md"
41
+ },
42
+ "type": {
43
+ "type": "enum",
44
+ "required": false,
45
+ "values": ["default", "simple"],
46
+ "default": "default"
47
+ }
48
+ },
49
+ "html": {
50
+ "default": "<span class=\"ncua-select ncua-select--md\"><span class=\"ncua-select__content\"><select class=\"ncua-select__tag\"><option value=\"\" selected=\"\">선택하세요</option></select></span></span>"
51
+ },
52
+ "bemClasses": ["ncua-hint-text", "ncua-select", "ncua-select--simple", "ncua-select__content", "ncua-select__tag"],
53
+ "usage": {
54
+ "import": "import { Select } from '@ncds/ui-admin';",
55
+ "react": {
56
+ "default": "<Select />",
57
+ "size:md": "<Select size=\"md\" />",
58
+ "size:sm": "<Select size=\"sm\" />",
59
+ "size:xs": "<Select size=\"xs\" />",
60
+ "type:default": "<Select type=\"default\" />",
61
+ "type:simple": "<Select type=\"simple\" />"
62
+ }
63
+ }
64
+ }
@@ -0,0 +1,129 @@
1
+ {
2
+ "name": "selectbox",
3
+ "description": "NCDS Selectbox 컴포넌트",
4
+ "aliases": [],
5
+ "props": {
6
+ "align": {
7
+ "type": "enum",
8
+ "required": false,
9
+ "values": ["left", "right"],
10
+ "default": "left"
11
+ },
12
+ "autoWidth": {
13
+ "type": "string",
14
+ "required": false,
15
+ "default": true
16
+ },
17
+ "children": {
18
+ "type": "string",
19
+ "required": false
20
+ },
21
+ "destructive": {
22
+ "type": "string",
23
+ "required": false,
24
+ "default": false
25
+ },
26
+ "disabled": {
27
+ "type": "string",
28
+ "required": false,
29
+ "default": false
30
+ },
31
+ "disabledPlaceholder": {
32
+ "type": "string",
33
+ "required": false,
34
+ "default": false
35
+ },
36
+ "hintText": {
37
+ "type": "string",
38
+ "required": false
39
+ },
40
+ "maxHeight": {
41
+ "type": "string",
42
+ "required": false,
43
+ "default": "DEFAULT_MAX_HEIGHT"
44
+ },
45
+ "multiple": {
46
+ "type": "string",
47
+ "required": false,
48
+ "default": false
49
+ },
50
+ "onChange": {
51
+ "type": "string",
52
+ "required": false
53
+ },
54
+ "onEdit": {
55
+ "type": "string",
56
+ "required": false
57
+ },
58
+ "optionItems": {
59
+ "type": "string",
60
+ "required": false,
61
+ "default": "[]"
62
+ },
63
+ "placeholder": {
64
+ "type": "string",
65
+ "required": false,
66
+ "default": "선택하세요"
67
+ },
68
+ "register": {
69
+ "type": "string",
70
+ "required": false
71
+ },
72
+ "size": {
73
+ "type": "enum",
74
+ "required": false,
75
+ "values": ["md", "sm", "xs"],
76
+ "default": "xs"
77
+ },
78
+ "type": {
79
+ "type": "enum",
80
+ "required": false,
81
+ "values": ["default", "simple"],
82
+ "default": "default"
83
+ },
84
+ "value": {
85
+ "type": "string",
86
+ "required": false
87
+ }
88
+ },
89
+ "html": {
90
+ "default": "<div class=\"ncua-hint-text\"></div>",
91
+ "align:left": "<div class=\"ncua-hint-text ncua-hint-text--left\"></div>",
92
+ "align:right": "<div class=\"ncua-hint-text ncua-hint-text--right\"></div>",
93
+ "size:md": "<div class=\"ncua-hint-text ncua-hint-text--md\"></div>",
94
+ "size:sm": "<div class=\"ncua-hint-text ncua-hint-text--sm\"></div>",
95
+ "size:xs": "<div class=\"ncua-hint-text ncua-hint-text--xs\"></div>",
96
+ "type:default": "<div class=\"ncua-hint-text ncua-hint-text--default\"></div>",
97
+ "type:simple": "<div class=\"ncua-hint-text ncua-hint-text--simple\"></div>"
98
+ },
99
+ "bemClasses": [
100
+ "ncua-hint-text",
101
+ "ncua-selectbox",
102
+ "ncua-selectbox--disabled",
103
+ "ncua-selectbox--multiple",
104
+ "ncua-selectbox--open",
105
+ "ncua-selectbox--simple",
106
+ "ncua-selectbox__arrow",
107
+ "ncua-selectbox__arrow--up",
108
+ "ncua-selectbox__content",
109
+ "ncua-selectbox__content-inner",
110
+ "ncua-selectbox__tags",
111
+ "ncua-selectbox__value",
112
+ "ncua-selectbox__value-container",
113
+ "ncua-selectbox__value-icon",
114
+ "ncua-selectbox__value-text"
115
+ ],
116
+ "usage": {
117
+ "import": "import { Selectbox } from '@ncds/ui-admin';",
118
+ "react": {
119
+ "default": "<Selectbox />",
120
+ "align:left": "<Selectbox align=\"left\" />",
121
+ "align:right": "<Selectbox align=\"right\" />",
122
+ "size:md": "<Selectbox size=\"md\" />",
123
+ "size:sm": "<Selectbox size=\"sm\" />",
124
+ "size:xs": "<Selectbox size=\"xs\" />",
125
+ "type:default": "<Selectbox type=\"default\" />",
126
+ "type:simple": "<Selectbox type=\"simple\" />"
127
+ }
128
+ }
129
+ }
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "slider",
3
+ "description": "NCDS Slider 컴포넌트",
4
+ "aliases": [],
5
+ "props": {
6
+ "className": {
7
+ "type": "string",
8
+ "required": false
9
+ },
10
+ "disabled": {
11
+ "type": "string",
12
+ "required": false,
13
+ "default": false
14
+ },
15
+ "labelPosition": {
16
+ "type": "enum",
17
+ "required": false,
18
+ "values": ["bottom", "top-floating"]
19
+ },
20
+ "max": {
21
+ "type": "string",
22
+ "required": false,
23
+ "default": 100
24
+ },
25
+ "min": {
26
+ "type": "string",
27
+ "required": false,
28
+ "default": 0
29
+ },
30
+ "onChange": {
31
+ "type": "string",
32
+ "required": false
33
+ },
34
+ "step": {
35
+ "type": "string",
36
+ "required": false,
37
+ "default": 1
38
+ },
39
+ "value": {
40
+ "type": "string",
41
+ "required": false,
42
+ "default": 0
43
+ }
44
+ },
45
+ "html": {
46
+ "default": "<div class=\"ncua-slider \"></div>"
47
+ },
48
+ "bemClasses": ["ncua-slider"],
49
+ "usage": {
50
+ "import": "import { Slider } from '@ncds/ui-admin';",
51
+ "react": {
52
+ "default": "<Slider />",
53
+ "labelPosition:bottom": "<Slider labelPosition=\"bottom\" />",
54
+ "labelPosition:top-floating": "<Slider labelPosition=\"top-floating\" />"
55
+ }
56
+ }
57
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "spinner",
3
+ "description": "NCDS Spinner 컴포넌트",
4
+ "aliases": [],
5
+ "props": {
6
+ "as": {
7
+ "type": "string",
8
+ "required": false,
9
+ "default": "p"
10
+ },
11
+ "backdrop": {
12
+ "type": "string",
13
+ "required": false,
14
+ "default": false
15
+ },
16
+ "children": {
17
+ "type": "string",
18
+ "required": false
19
+ },
20
+ "size": {
21
+ "type": "enum",
22
+ "required": false,
23
+ "values": ["lg", "md", "sm", "xl", "xs"],
24
+ "default": "md"
25
+ }
26
+ },
27
+ "html": {
28
+ "default": "<div class=\"ncua-spinner ncua-spinner--md\"><div class=\"ncua-spinner__content\"></div></div>",
29
+ "size:sm": "<div class=\"ncua-spinner ncua-spinner--sm\"><div class=\"ncua-spinner__content\"></div></div>",
30
+ "size:lg": "<div class=\"ncua-spinner ncua-spinner--lg\"><div class=\"ncua-spinner__content\"></div></div>"
31
+ },
32
+ "bemClasses": [
33
+ "ncua-spinner",
34
+ "ncua-spinner--backdrop",
35
+ "ncua-spinner--lg",
36
+ "ncua-spinner--md",
37
+ "ncua-spinner--sm",
38
+ "ncua-spinner--xl",
39
+ "ncua-spinner--xs",
40
+ "ncua-spinner__content",
41
+ "ncua-spinner__text"
42
+ ],
43
+ "usage": {
44
+ "import": "import { Spinner } from '@ncds/ui-admin';",
45
+ "react": {
46
+ "default": "<Spinner />",
47
+ "size:lg": "<Spinner size=\"lg\" />",
48
+ "size:md": "<Spinner size=\"md\" />",
49
+ "size:sm": "<Spinner size=\"sm\" />",
50
+ "size:xl": "<Spinner size=\"xl\" />",
51
+ "size:xs": "<Spinner size=\"xs\" />"
52
+ }
53
+ }
54
+ }
@@ -0,0 +1,71 @@
1
+ {
2
+ "name": "switch",
3
+ "description": "NCDS Switch 컴포넌트",
4
+ "aliases": [],
5
+ "props": {
6
+ "className": {
7
+ "type": "string",
8
+ "required": false
9
+ },
10
+ "defaultValue": {
11
+ "type": "string",
12
+ "required": false,
13
+ "default": "left.value"
14
+ },
15
+ "disabled": {
16
+ "type": "string",
17
+ "required": false,
18
+ "default": false
19
+ },
20
+ "left": {
21
+ "type": "string",
22
+ "required": true
23
+ },
24
+ "name": {
25
+ "type": "string",
26
+ "required": true
27
+ },
28
+ "onChange": {
29
+ "type": "string",
30
+ "required": false
31
+ },
32
+ "refs": {
33
+ "type": "string",
34
+ "required": false
35
+ },
36
+ "right": {
37
+ "type": "string",
38
+ "required": true
39
+ },
40
+ "size": {
41
+ "type": "string",
42
+ "required": false,
43
+ "default": "xs"
44
+ },
45
+ "value": {
46
+ "type": "string",
47
+ "required": false
48
+ }
49
+ },
50
+ "html": {
51
+ "default": "<label class=\"ncua-switch\"></label>"
52
+ },
53
+ "bemClasses": [
54
+ "ncua-switch",
55
+ "ncua-switch--disabled",
56
+ "ncua-switch__label",
57
+ "ncua-switch__option",
58
+ "ncua-switch__option--active",
59
+ "ncua-switch__option--inactive",
60
+ "ncua-switch__option--left",
61
+ "ncua-switch__option--right",
62
+ "ncua-switch__radio ncua-switch__radio--left",
63
+ "ncua-switch__radio ncua-switch__radio--right"
64
+ ],
65
+ "usage": {
66
+ "import": "import { Switch } from '@ncds/ui-admin';",
67
+ "react": {
68
+ "default": "<Switch left=\"\" name=\"\" right=\"\" />"
69
+ }
70
+ }
71
+ }