@ncds/ui-admin-mcp 1.6.4-alpha.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 (72) hide show
  1. package/bin/server.d.ts +1 -0
  2. package/bin/server.js +67 -0
  3. package/bin/server.mjs +8 -0
  4. package/bin/tools/getComponentHtml.d.ts +3 -0
  5. package/bin/tools/getComponentHtml.js +30 -0
  6. package/bin/tools/getComponentProps.d.ts +3 -0
  7. package/bin/tools/getComponentProps.js +16 -0
  8. package/bin/tools/listComponents.d.ts +3 -0
  9. package/bin/tools/listComponents.js +15 -0
  10. package/bin/tools/ping.d.ts +11 -0
  11. package/bin/tools/ping.js +30 -0
  12. package/bin/tools/searchComponent.d.ts +3 -0
  13. package/bin/tools/searchComponent.js +20 -0
  14. package/bin/tools/validateHtml.d.ts +10 -0
  15. package/bin/tools/validateHtml.js +142 -0
  16. package/bin/types.d.ts +28 -0
  17. package/bin/types.js +5 -0
  18. package/bin/utils/dataLoader.d.ts +11 -0
  19. package/bin/utils/dataLoader.js +68 -0
  20. package/bin/utils/logger.d.ts +18 -0
  21. package/bin/utils/logger.js +27 -0
  22. package/bin/utils/response.d.ts +23 -0
  23. package/bin/utils/response.js +31 -0
  24. package/bin/version.d.ts +1 -0
  25. package/bin/version.js +4 -0
  26. package/data/_meta.json +7 -0
  27. package/data/badge-group.json +81 -0
  28. package/data/badge.json +101 -0
  29. package/data/bread-crumb.json +22 -0
  30. package/data/breadcrumb.json +31 -0
  31. package/data/button-group.json +70 -0
  32. package/data/button.json +119 -0
  33. package/data/carousel-arrow.json +65 -0
  34. package/data/carousel-number-group.json +62 -0
  35. package/data/carousel.json +22 -0
  36. package/data/checkbox.json +31 -0
  37. package/data/combobox.json +117 -0
  38. package/data/date-picker.json +80 -0
  39. package/data/divider.json +66 -0
  40. package/data/dot.json +67 -0
  41. package/data/dropdown.json +84 -0
  42. package/data/empty-state.json +34 -0
  43. package/data/featured-icon.json +98 -0
  44. package/data/file-input.json +76 -0
  45. package/data/horizontal-tab.json +80 -0
  46. package/data/image-file-input.json +97 -0
  47. package/data/input.json +107 -0
  48. package/data/modal.json +91 -0
  49. package/data/notification.json +126 -0
  50. package/data/number-input.json +134 -0
  51. package/data/pagination.json +68 -0
  52. package/data/password-input.json +47 -0
  53. package/data/progress-bar.json +56 -0
  54. package/data/progress-circle.json +63 -0
  55. package/data/radio.json +31 -0
  56. package/data/range-date-picker-with-buttons.json +64 -0
  57. package/data/range-date-picker.json +58 -0
  58. package/data/select-dropdown.json +32 -0
  59. package/data/select.json +77 -0
  60. package/data/selectbox.json +139 -0
  61. package/data/slider.json +62 -0
  62. package/data/spinner.json +60 -0
  63. package/data/switch.json +71 -0
  64. package/data/tab.json +140 -0
  65. package/data/tag.json +69 -0
  66. package/data/textarea.json +91 -0
  67. package/data/toggle.json +62 -0
  68. package/data/tooltip.json +148 -0
  69. package/data/vertical-tab.json +71 -0
  70. package/package.json +35 -0
  71. package/templates/.mcp.json.example +8 -0
  72. package/templates/README.md +31 -0
@@ -0,0 +1,81 @@
1
+ {
2
+ "name": "badge-group",
3
+ "description": "NCDS Badge Group 컴포넌트",
4
+ "aliases": [],
5
+ "props": {
6
+ "color": {
7
+ "type": "enum",
8
+ "required": false,
9
+ "values": [
10
+ "error",
11
+ "neutral",
12
+ "success",
13
+ "warning"
14
+ ],
15
+ "default": "neutral"
16
+ },
17
+ "groupClassName": {
18
+ "type": "string",
19
+ "required": false
20
+ },
21
+ "groupIcon": {
22
+ "type": "string",
23
+ "required": false
24
+ },
25
+ "groupLabel": {
26
+ "type": "string",
27
+ "required": true
28
+ },
29
+ "href": {
30
+ "type": "string",
31
+ "required": false
32
+ },
33
+ "size": {
34
+ "type": "enum",
35
+ "required": false,
36
+ "values": [
37
+ "sm",
38
+ "xs"
39
+ ],
40
+ "default": "sm"
41
+ },
42
+ "target": {
43
+ "type": "string",
44
+ "required": false,
45
+ "default": "_blank"
46
+ }
47
+ },
48
+ "html": {
49
+ "default": "<div class=\"ncua-badge\"></div>",
50
+ "color:error": "<div class=\"ncua-badge ncua-badge--error\"></div>",
51
+ "color:neutral": "<div class=\"ncua-badge ncua-badge--neutral\"></div>",
52
+ "color:success": "<div class=\"ncua-badge ncua-badge--success\"></div>",
53
+ "color:warning": "<div class=\"ncua-badge ncua-badge--warning\"></div>",
54
+ "size:sm": "<div class=\"ncua-badge ncua-badge--sm\"></div>",
55
+ "size:xs": "<div class=\"ncua-badge ncua-badge--xs\"></div>"
56
+ },
57
+ "bemClasses": [
58
+ "ncua-badge",
59
+ "ncua-badge--error",
60
+ "ncua-badge--neutral",
61
+ "ncua-badge--sm",
62
+ "ncua-badge--success",
63
+ "ncua-badge--warning",
64
+ "ncua-badge--xs",
65
+ "ncua-badge-group",
66
+ "ncua-badge-group__label",
67
+ "ncua-badge__label"
68
+ ],
69
+ "usage": {
70
+ "import": "import { BadgeGroup } from '@ncds/ui-admin';",
71
+ "react": {
72
+ "default": "<BadgeGroup groupLabel=\"\" />",
73
+ "color:error": "<BadgeGroup color=\"error\" groupLabel=\"\" />",
74
+ "color:neutral": "<BadgeGroup color=\"neutral\" groupLabel=\"\" />",
75
+ "color:success": "<BadgeGroup color=\"success\" groupLabel=\"\" />",
76
+ "color:warning": "<BadgeGroup color=\"warning\" groupLabel=\"\" />",
77
+ "size:sm": "<BadgeGroup size=\"sm\" groupLabel=\"\" />",
78
+ "size:xs": "<BadgeGroup size=\"xs\" groupLabel=\"\" />"
79
+ }
80
+ }
81
+ }
@@ -0,0 +1,101 @@
1
+ {
2
+ "name": "badge",
3
+ "description": "NCDS Badge 컴포넌트",
4
+ "aliases": [],
5
+ "props": {
6
+ "className": {
7
+ "type": "string",
8
+ "required": false
9
+ },
10
+ "color": {
11
+ "type": "enum",
12
+ "required": false,
13
+ "values": [
14
+ "blue",
15
+ "disabled",
16
+ "error",
17
+ "neutral",
18
+ "pink",
19
+ "success",
20
+ "warning"
21
+ ],
22
+ "default": "neutral"
23
+ },
24
+ "label": {
25
+ "type": "string",
26
+ "required": true
27
+ },
28
+ "leadingIcon": {
29
+ "type": "string",
30
+ "required": false
31
+ },
32
+ "size": {
33
+ "type": "enum",
34
+ "required": false,
35
+ "values": [
36
+ "md",
37
+ "sm",
38
+ "xs"
39
+ ],
40
+ "default": "sm"
41
+ },
42
+ "trailingIcon": {
43
+ "type": "string",
44
+ "required": false
45
+ },
46
+ "type": {
47
+ "type": "enum",
48
+ "required": false,
49
+ "values": [
50
+ "pill-dark-color",
51
+ "pill-outline"
52
+ ],
53
+ "default": "pill-outline"
54
+ }
55
+ },
56
+ "html": {
57
+ "default": "<span class=\"ncua-badge ncua-badge--pill-outline ncua-badge--neutral ncua-badge--sm\"><span class=\"ncua-badge__label\"></span></span>",
58
+ "type:pill-outline": "<span class=\"ncua-badge ncua-badge--pill-outline ncua-badge--neutral ncua-badge--sm\"><span class=\"ncua-badge__label\"></span></span>",
59
+ "type:pill-dark-color": "<span class=\"ncua-badge ncua-badge--pill-dark-color ncua-badge--neutral ncua-badge--sm\"><span class=\"ncua-badge__label\"></span></span>",
60
+ "color:error": "<span class=\"ncua-badge ncua-badge--pill-outline ncua-badge--error ncua-badge--sm\"><span class=\"ncua-badge__label\"></span></span>",
61
+ "color:success": "<span class=\"ncua-badge ncua-badge--pill-outline ncua-badge--success ncua-badge--sm\"><span class=\"ncua-badge__label\"></span></span>",
62
+ "size:xs": "<span class=\"ncua-badge ncua-badge--pill-outline ncua-badge--neutral ncua-badge--xs\"><span class=\"ncua-badge__label\"></span></span>",
63
+ "size:md": "<span class=\"ncua-badge ncua-badge--pill-outline ncua-badge--neutral ncua-badge--md\"><span class=\"ncua-badge__label\"></span></span>"
64
+ },
65
+ "bemClasses": [
66
+ "ncua-badge",
67
+ "ncua-badge--blue",
68
+ "ncua-badge--disabled",
69
+ "ncua-badge--error",
70
+ "ncua-badge--md",
71
+ "ncua-badge--neutral",
72
+ "ncua-badge--pill-dark-color",
73
+ "ncua-badge--pill-outline",
74
+ "ncua-badge--pink",
75
+ "ncua-badge--sm",
76
+ "ncua-badge--success",
77
+ "ncua-badge--warning",
78
+ "ncua-badge--xs",
79
+ "ncua-badge-group",
80
+ "ncua-badge-group__label",
81
+ "ncua-badge__label"
82
+ ],
83
+ "usage": {
84
+ "import": "import { Badge } from '@ncds/ui-admin';",
85
+ "react": {
86
+ "default": "<Badge label=\"\" />",
87
+ "color:blue": "<Badge color=\"blue\" label=\"\" />",
88
+ "color:disabled": "<Badge color=\"disabled\" label=\"\" />",
89
+ "color:error": "<Badge color=\"error\" label=\"\" />",
90
+ "color:neutral": "<Badge color=\"neutral\" label=\"\" />",
91
+ "color:pink": "<Badge color=\"pink\" label=\"\" />",
92
+ "color:success": "<Badge color=\"success\" label=\"\" />",
93
+ "color:warning": "<Badge color=\"warning\" label=\"\" />",
94
+ "size:md": "<Badge size=\"md\" label=\"\" />",
95
+ "size:sm": "<Badge size=\"sm\" label=\"\" />",
96
+ "size:xs": "<Badge size=\"xs\" label=\"\" />",
97
+ "type:pill-dark-color": "<Badge type=\"pill-dark-color\" label=\"\" />",
98
+ "type:pill-outline": "<Badge type=\"pill-outline\" label=\"\" />"
99
+ }
100
+ }
101
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "bread-crumb",
3
+ "description": "NCDS Bread Crumb 컴포넌트",
4
+ "aliases": [],
5
+ "props": {},
6
+ "html": {
7
+ "default": "<div class=\"ncua-breadcrumb\"></div>"
8
+ },
9
+ "bemClasses": [
10
+ "ncua-breadcrumb",
11
+ "ncua-breadcrumb__item",
12
+ "ncua-breadcrumb__list",
13
+ "ncua-breadcrumb__list-item",
14
+ "ncua-breadcrumb__list-item--active"
15
+ ],
16
+ "usage": {
17
+ "import": "import { BreadCrumb } from '@ncds/ui-admin';",
18
+ "react": {
19
+ "default": "<BreadCrumb />"
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "breadcrumb",
3
+ "description": "NCDS Breadcrumb 컴포넌트",
4
+ "aliases": [],
5
+ "props": {
6
+ "className": {
7
+ "type": "string",
8
+ "required": false
9
+ },
10
+ "items": {
11
+ "type": "string",
12
+ "required": true
13
+ }
14
+ },
15
+ "html": {
16
+ "default": "<nav aria-label=\"breadcrumb\" class=\"ncua-breadcrumb\"><ol class=\"ncua-breadcrumb__list\"><li class=\"ncua-breadcrumb__list-item\"><a href=\"#\" class=\"ncua-breadcrumb__item\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"none\" color=\"gray500\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 10.565c0-.574 0-.861.074-1.126a2 2 0 0 1 .318-.65c.163-.22.39-.397.843-.75l6.783-5.275c.351-.273.527-.41.72-.462a1 1 0 0 1 .523 0c.194.052.37.189.721.462l6.783 5.275c.453.353.68.53.843.75.145.195.252.416.318.65.074.265.074.552.074 1.126V17.8c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874C19.48 21 18.92 21 17.8 21H6.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C3 19.48 3 18.92 3 17.8z\"></path></svg></a></li><li class=\"ncua-breadcrumb__list-item ncua-breadcrumb__list-item--active\"><span class=\"ncua-breadcrumb__item\"></span></li></ol></nav>"
17
+ },
18
+ "bemClasses": [
19
+ "ncua-breadcrumb",
20
+ "ncua-breadcrumb__item",
21
+ "ncua-breadcrumb__list",
22
+ "ncua-breadcrumb__list-item",
23
+ "ncua-breadcrumb__list-item--active"
24
+ ],
25
+ "usage": {
26
+ "import": "import { Breadcrumb } from '@ncds/ui-admin';",
27
+ "react": {
28
+ "default": "<Breadcrumb items=\"\" />"
29
+ }
30
+ }
31
+ }
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "button-group",
3
+ "description": "NCDS Button Group 컴포넌트",
4
+ "aliases": [],
5
+ "props": {
6
+ "children": {
7
+ "type": "ReactNode",
8
+ "required": true
9
+ },
10
+ "className": {
11
+ "type": "string",
12
+ "required": false
13
+ },
14
+ "disabled": {
15
+ "type": "string",
16
+ "required": false,
17
+ "default": false
18
+ },
19
+ "hasBorder": {
20
+ "type": "string",
21
+ "required": false,
22
+ "default": true
23
+ },
24
+ "onlyIcon": {
25
+ "type": "string",
26
+ "required": false,
27
+ "default": false
28
+ },
29
+ "size": {
30
+ "type": "enum",
31
+ "required": false,
32
+ "values": [
33
+ "md",
34
+ "sm",
35
+ "xs",
36
+ "xxs"
37
+ ],
38
+ "default": "xs"
39
+ }
40
+ },
41
+ "html": {
42
+ "default": "<div class=\"ncua-btn\"></div>",
43
+ "size:md": "<div class=\"ncua-btn ncua-btn--md\"></div>",
44
+ "size:sm": "<div class=\"ncua-btn ncua-btn--sm\"></div>",
45
+ "size:xs": "<div class=\"ncua-btn ncua-btn--xs\"></div>",
46
+ "size:xxs": "<div class=\"ncua-btn ncua-btn--xxs\"></div>"
47
+ },
48
+ "bemClasses": [
49
+ "ncua-btn",
50
+ "ncua-btn--md",
51
+ "ncua-btn--sm",
52
+ "ncua-btn--xs",
53
+ "ncua-btn--xxs",
54
+ "ncua-btn__label",
55
+ "ncua-button-close-x",
56
+ "ncua-button-group",
57
+ "ncua-button-group__item",
58
+ "ncua-button-stepper"
59
+ ],
60
+ "usage": {
61
+ "import": "import { ButtonGroup } from '@ncds/ui-admin';",
62
+ "react": {
63
+ "default": "<ButtonGroup children=\"예시\" />",
64
+ "size:md": "<ButtonGroup size=\"md\" children=\"예시\" />",
65
+ "size:sm": "<ButtonGroup size=\"sm\" children=\"예시\" />",
66
+ "size:xs": "<ButtonGroup size=\"xs\" children=\"예시\" />",
67
+ "size:xxs": "<ButtonGroup size=\"xxs\" children=\"예시\" />"
68
+ }
69
+ }
70
+ }
@@ -0,0 +1,119 @@
1
+ {
2
+ "name": "button",
3
+ "description": "NCDS Button 컴포넌트",
4
+ "aliases": [],
5
+ "props": {
6
+ "children": {
7
+ "type": "string",
8
+ "required": false
9
+ },
10
+ "className": {
11
+ "type": "string",
12
+ "required": false
13
+ },
14
+ "disabled": {
15
+ "type": "string",
16
+ "required": false,
17
+ "default": false
18
+ },
19
+ "hierarchy": {
20
+ "type": "enum",
21
+ "required": false,
22
+ "values": [
23
+ "destructive",
24
+ "primary",
25
+ "secondary",
26
+ "secondary-gray",
27
+ "tertiary",
28
+ "tertiary-gray",
29
+ "text",
30
+ "text-gray",
31
+ "text-red"
32
+ ]
33
+ },
34
+ "label": {
35
+ "type": "ReactNode",
36
+ "required": true
37
+ },
38
+ "leadingIcon": {
39
+ "type": "string",
40
+ "required": false
41
+ },
42
+ "onlyIcon": {
43
+ "type": "string",
44
+ "required": false,
45
+ "default": false
46
+ },
47
+ "size": {
48
+ "type": "enum",
49
+ "required": false,
50
+ "values": [
51
+ "md",
52
+ "sm",
53
+ "xs",
54
+ "xxs"
55
+ ],
56
+ "default": "xs"
57
+ },
58
+ "trailingIcon": {
59
+ "type": "string",
60
+ "required": false
61
+ },
62
+ "underline": {
63
+ "type": "string",
64
+ "required": false
65
+ }
66
+ },
67
+ "html": {
68
+ "default": "<button class=\"ncua-btn ncua-btn--md ncua-btn--secondary-gray\"><span class=\"ncua-btn__label\">버튼</span></button>",
69
+ "hierarchy:primary": "<button class=\"ncua-btn ncua-btn--md ncua-btn--primary\"><span class=\"ncua-btn__label\">버튼</span></button>",
70
+ "hierarchy:secondary": "<button class=\"ncua-btn ncua-btn--md ncua-btn--secondary\"><span class=\"ncua-btn__label\">버튼</span></button>",
71
+ "hierarchy:secondary-gray": "<button class=\"ncua-btn ncua-btn--md ncua-btn--secondary-gray\"><span class=\"ncua-btn__label\">버튼</span></button>",
72
+ "hierarchy:tertiary": "<button class=\"ncua-btn ncua-btn--md ncua-btn--tertiary\"><span class=\"ncua-btn__label\">버튼</span></button>",
73
+ "hierarchy:destructive": "<button class=\"ncua-btn ncua-btn--md ncua-btn--destructive\"><span class=\"ncua-btn__label\">버튼</span></button>",
74
+ "hierarchy:text": "<button class=\"ncua-btn ncua-btn--md ncua-btn--text\"><span class=\"ncua-btn__label\">버튼</span></button>",
75
+ "size:sm": "<button class=\"ncua-btn ncua-btn--sm ncua-btn--secondary-gray\"><span class=\"ncua-btn__label\">버튼</span></button>",
76
+ "size:xs": "<button class=\"ncua-btn ncua-btn--xs ncua-btn--secondary-gray\"><span class=\"ncua-btn__label\">버튼</span></button>",
77
+ "size:xxs": "<button class=\"ncua-btn ncua-btn--xxs ncua-btn--secondary-gray\"><span class=\"ncua-btn__label\">버튼</span></button>"
78
+ },
79
+ "bemClasses": [
80
+ "ncua-btn",
81
+ "ncua-btn--destructive",
82
+ "ncua-btn--md",
83
+ "ncua-btn--primary",
84
+ "ncua-btn--secondary",
85
+ "ncua-btn--secondary-gray",
86
+ "ncua-btn--sm",
87
+ "ncua-btn--tertiary",
88
+ "ncua-btn--tertiary-gray",
89
+ "ncua-btn--text",
90
+ "ncua-btn--text-gray",
91
+ "ncua-btn--text-red",
92
+ "ncua-btn--xs",
93
+ "ncua-btn--xxs",
94
+ "ncua-btn__label",
95
+ "ncua-button-close-x",
96
+ "ncua-button-group",
97
+ "ncua-button-group__item",
98
+ "ncua-button-stepper"
99
+ ],
100
+ "usage": {
101
+ "import": "import { Button } from '@ncds/ui-admin';",
102
+ "react": {
103
+ "default": "<Button label=\"예시\" />",
104
+ "hierarchy:destructive": "<Button hierarchy=\"destructive\" label=\"예시\" />",
105
+ "hierarchy:primary": "<Button hierarchy=\"primary\" label=\"예시\" />",
106
+ "hierarchy:secondary": "<Button hierarchy=\"secondary\" label=\"예시\" />",
107
+ "hierarchy:secondary-gray": "<Button hierarchy=\"secondary-gray\" label=\"예시\" />",
108
+ "hierarchy:tertiary": "<Button hierarchy=\"tertiary\" label=\"예시\" />",
109
+ "hierarchy:tertiary-gray": "<Button hierarchy=\"tertiary-gray\" label=\"예시\" />",
110
+ "hierarchy:text": "<Button hierarchy=\"text\" label=\"예시\" />",
111
+ "hierarchy:text-gray": "<Button hierarchy=\"text-gray\" label=\"예시\" />",
112
+ "hierarchy:text-red": "<Button hierarchy=\"text-red\" label=\"예시\" />",
113
+ "size:md": "<Button size=\"md\" label=\"예시\" />",
114
+ "size:sm": "<Button size=\"sm\" label=\"예시\" />",
115
+ "size:xs": "<Button size=\"xs\" label=\"예시\" />",
116
+ "size:xxs": "<Button size=\"xxs\" label=\"예시\" />"
117
+ }
118
+ }
119
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "carousel-arrow",
3
+ "description": "NCDS Carousel Arrow 컴포넌트",
4
+ "aliases": [],
5
+ "props": {
6
+ "chevron": {
7
+ "type": "enum",
8
+ "required": true,
9
+ "values": [
10
+ "left",
11
+ "right"
12
+ ]
13
+ },
14
+ "className": {
15
+ "type": "string",
16
+ "required": false
17
+ },
18
+ "onClick": {
19
+ "type": "string",
20
+ "required": false
21
+ },
22
+ "size": {
23
+ "type": "string",
24
+ "required": true,
25
+ "default": "sm"
26
+ },
27
+ "type": {
28
+ "type": "enum",
29
+ "required": false,
30
+ "values": [
31
+ "default",
32
+ "line"
33
+ ],
34
+ "default": "default"
35
+ }
36
+ },
37
+ "html": {
38
+ "default": "<div class=\"ncua-carousel-arrow\"></div>",
39
+ "chevron:left": "<div class=\"ncua-carousel-arrow ncua-carousel-arrow--left\"></div>",
40
+ "chevron:right": "<div class=\"ncua-carousel-arrow ncua-carousel-arrow--right\"></div>",
41
+ "type:default": "<div class=\"ncua-carousel-arrow ncua-carousel-arrow--default\"></div>",
42
+ "type:line": "<div class=\"ncua-carousel-arrow ncua-carousel-arrow--line\"></div>"
43
+ },
44
+ "bemClasses": [
45
+ "ncua-carousel-arrow",
46
+ "ncua-carousel-arrow--default",
47
+ "ncua-carousel-arrow--left",
48
+ "ncua-carousel-arrow--line",
49
+ "ncua-carousel-arrow--right",
50
+ "ncua-carousel-arrow__icon",
51
+ "ncua-carousel-number-group",
52
+ "ncua-carousel-number-group__number",
53
+ "ncua-carousel-number-group__total"
54
+ ],
55
+ "usage": {
56
+ "import": "import { CarouselArrow } from '@ncds/ui-admin';",
57
+ "react": {
58
+ "default": "<CarouselArrow chevron=\"left\" size=\"\" />",
59
+ "chevron:left": "<CarouselArrow chevron=\"left\" size=\"\" />",
60
+ "chevron:right": "<CarouselArrow chevron=\"right\" size=\"\" />",
61
+ "type:default": "<CarouselArrow type=\"default\" chevron=\"left\" size=\"\" />",
62
+ "type:line": "<CarouselArrow type=\"line\" chevron=\"left\" size=\"\" />"
63
+ }
64
+ }
65
+ }
@@ -0,0 +1,62 @@
1
+ {
2
+ "name": "carousel-number-group",
3
+ "description": "NCDS Carousel Number Group 컴포넌트",
4
+ "aliases": [],
5
+ "props": {
6
+ "color": {
7
+ "type": "enum",
8
+ "required": false,
9
+ "values": [
10
+ "dark",
11
+ "light"
12
+ ],
13
+ "default": "light"
14
+ },
15
+ "currentPage": {
16
+ "type": "number",
17
+ "required": true
18
+ },
19
+ "framed": {
20
+ "type": "string",
21
+ "required": false,
22
+ "default": true
23
+ },
24
+ "size": {
25
+ "type": "enum",
26
+ "required": false,
27
+ "values": [
28
+ "sm"
29
+ ],
30
+ "default": "sm"
31
+ },
32
+ "totalPage": {
33
+ "type": "number",
34
+ "required": true
35
+ }
36
+ },
37
+ "html": {
38
+ "default": "<div class=\"ncua-carousel-arrow\"></div>",
39
+ "color:dark": "<div class=\"ncua-carousel-arrow ncua-carousel-arrow--dark\"></div>",
40
+ "color:light": "<div class=\"ncua-carousel-arrow ncua-carousel-arrow--light\"></div>",
41
+ "size:sm": "<div class=\"ncua-carousel-arrow ncua-carousel-arrow--sm\"></div>"
42
+ },
43
+ "bemClasses": [
44
+ "ncua-carousel-arrow",
45
+ "ncua-carousel-arrow--dark",
46
+ "ncua-carousel-arrow--light",
47
+ "ncua-carousel-arrow--sm",
48
+ "ncua-carousel-arrow__icon",
49
+ "ncua-carousel-number-group",
50
+ "ncua-carousel-number-group__number",
51
+ "ncua-carousel-number-group__total"
52
+ ],
53
+ "usage": {
54
+ "import": "import { CarouselNumberGroup } from '@ncds/ui-admin';",
55
+ "react": {
56
+ "default": "<CarouselNumberGroup currentPage={0} totalPage={0} />",
57
+ "color:dark": "<CarouselNumberGroup color=\"dark\" currentPage={0} totalPage={0} />",
58
+ "color:light": "<CarouselNumberGroup color=\"light\" currentPage={0} totalPage={0} />",
59
+ "size:sm": "<CarouselNumberGroup size=\"sm\" currentPage={0} totalPage={0} />"
60
+ }
61
+ }
62
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "carousel",
3
+ "description": "NCDS Carousel 컴포넌트",
4
+ "aliases": [],
5
+ "props": {},
6
+ "html": {
7
+ "default": "<div class=\"ncua-carousel-arrow\"></div>"
8
+ },
9
+ "bemClasses": [
10
+ "ncua-carousel-arrow",
11
+ "ncua-carousel-arrow__icon",
12
+ "ncua-carousel-number-group",
13
+ "ncua-carousel-number-group__number",
14
+ "ncua-carousel-number-group__total"
15
+ ],
16
+ "usage": {
17
+ "import": "import { Carousel } from '@ncds/ui-admin';",
18
+ "react": {
19
+ "default": "<Carousel />"
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "checkbox",
3
+ "description": "NCDS Checkbox 컴포넌트",
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-checkbox-field ncua-checkbox-field--xs\"><span class=\"ncua-checkbox-input ncua-checkbox-input--xs ncua-checkbox-field__input\"><input type=\"checkbox\" label=\"체크박스\"/></span></label>"
17
+ },
18
+ "bemClasses": [
19
+ "ncua-checkbox-field",
20
+ "ncua-checkbox-field__input",
21
+ "ncua-checkbox-field__support-text",
22
+ "ncua-checkbox-field__text",
23
+ "ncua-checkbox-input"
24
+ ],
25
+ "usage": {
26
+ "import": "import { Checkbox } from '@ncds/ui-admin';",
27
+ "react": {
28
+ "default": "<Checkbox />"
29
+ }
30
+ }
31
+ }