@ncds/ui-admin-mcp 1.0.0-alpha.2 → 1.0.0-alpha.20
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.
- package/bin/components.bundle.js +15 -19
- package/bin/definitions/external/editor.d.ts +50 -0
- package/bin/definitions/external/editor.js +53 -0
- package/bin/definitions/external/step-guide.d.ts +61 -0
- package/bin/definitions/external/step-guide.js +52 -0
- package/bin/definitions/instructions.md +194 -10
- package/bin/definitions/js-api.json +352 -0
- package/bin/definitions/rules.json +36 -4
- package/bin/definitions/tool-definitions.json +33 -9
- package/bin/overrides/composition.json +2500 -0
- package/bin/server.d.ts +5 -0
- package/bin/server.js +97 -33
- package/bin/server.mjs +0 -0
- package/bin/tools/external/editor.d.ts +18 -0
- package/bin/tools/external/editor.js +88 -0
- package/bin/tools/external/step-guide.d.ts +19 -0
- package/bin/tools/external/step-guide.js +79 -0
- package/bin/tools/getComponentProps.d.ts +3 -0
- package/bin/tools/getComponentProps.js +12 -3
- package/bin/tools/listCompositionOverrides.d.ts +61 -0
- package/bin/tools/listCompositionOverrides.js +156 -0
- package/bin/tools/ping.d.ts +1 -1
- package/bin/tools/renderToHtml.d.ts +38 -7
- package/bin/tools/renderToHtml.js +785 -110
- package/bin/tools/searchComponent.d.ts +5 -0
- package/bin/tools/searchComponent.js +3 -3
- package/bin/tools/validateHtml.d.ts +8 -6
- package/bin/tools/validateHtml.js +74 -6
- package/bin/types.d.ts +60 -1
- package/bin/utils/bemValidator.d.ts +16 -8
- package/bin/utils/bemValidator.js +16 -4
- package/bin/utils/compliance.d.ts +7 -6
- package/bin/utils/compliance.js +8 -4
- package/bin/utils/dataLoader.d.ts +43 -14
- package/bin/utils/dataLoader.js +125 -22
- package/bin/utils/domEnvironment.js +51 -0
- package/bin/utils/fuzzyMatch.d.ts +4 -0
- package/bin/utils/fuzzyMatch.js +13 -3
- package/bin/utils/logger.d.ts +5 -5
- package/bin/utils/logger.js +5 -5
- package/bin/utils/response.d.ts +4 -2
- package/bin/utils/response.js +15 -4
- package/bin/utils/tokenValidator.d.ts +4 -3
- package/bin/utils/tokenValidator.js +13 -11
- package/bin/version.d.ts +4 -2
- package/bin/version.js +4 -2
- package/data/_icons.json +357 -2
- package/data/_meta.json +4 -5
- package/data/_tokens.json +8 -8
- package/data/badge-group.json +181 -4
- package/data/badge.json +146 -14
- package/data/block-container.json +95 -0
- package/data/block-header.json +208 -0
- package/data/bread-crumb.json +38 -2
- package/data/button-group.json +59 -0
- package/data/button.json +124 -1
- package/data/carousel-arrow.json +6 -11
- package/data/carousel-number-group.json +2 -12
- package/data/checkbox.json +1 -1
- package/data/combo-box.json +32 -8
- package/data/data-grid.json +240 -0
- package/data/date-picker.json +22 -2
- package/data/divider.json +1 -1
- package/data/dot.json +2 -2
- package/data/dropdown.json +187 -20
- package/data/editor.json +85 -0
- package/data/empty-state.json +168 -3
- package/data/featured-icon.json +20 -5
- package/data/file-input.json +176 -10
- package/data/horizontal-tab.json +219 -3
- package/data/image-file-input.json +176 -10
- package/data/input-base.json +165 -4
- package/data/modal.json +266 -5
- package/data/notification.json +56 -40
- package/data/number-input.json +164 -4
- package/data/page-title.json +135 -0
- package/data/pagination.json +8 -4
- package/data/password-input.json +252 -13
- package/data/progress-bar.json +28 -8
- package/data/progress-circle.json +9 -6
- package/data/radio.json +4 -3
- package/data/range-date-picker-with-buttons.json +187 -7
- package/data/range-date-picker.json +186 -6
- package/data/select-box.json +48 -16
- package/data/select.json +35 -25
- package/data/slider.json +1 -1
- package/data/spinner.json +3 -4
- package/data/step-guide.json +130 -0
- package/data/switch.json +66 -6
- package/data/table.json +293 -0
- package/data/tag.json +68 -6
- package/data/textarea.json +1 -1
- package/data/toggle.json +2 -2
- package/data/tooltip.json +16 -3
- package/data/vertical-tab.json +220 -3
- package/package.json +27 -25
- package/bin/instructions.d.ts +0 -1
- package/bin/instructions.js +0 -14
- package/bin/tools/getComponentHtml.d.ts +0 -3
- package/bin/tools/getComponentHtml.js +0 -30
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "block-header",
|
|
3
|
+
"exportName": "BlockHeader",
|
|
4
|
+
"importPath": "@ncds/ui-admin",
|
|
5
|
+
"jsRequired": false,
|
|
6
|
+
"category": "layout",
|
|
7
|
+
"description": "Block Header는 Block의 최상단에 위치하며, 블록의 목적과 실행 범위를 정의하는 영역입니다.",
|
|
8
|
+
"aliases": [
|
|
9
|
+
"Block Header",
|
|
10
|
+
"BlockHeader",
|
|
11
|
+
"블록헤더",
|
|
12
|
+
"Section Header",
|
|
13
|
+
"Title",
|
|
14
|
+
"Tooltip",
|
|
15
|
+
"Action",
|
|
16
|
+
"Tab",
|
|
17
|
+
"Collapsible",
|
|
18
|
+
"Grid Control",
|
|
19
|
+
"Sub Title",
|
|
20
|
+
"Required Notice",
|
|
21
|
+
"필수 안내",
|
|
22
|
+
"Divider",
|
|
23
|
+
"NCDS"
|
|
24
|
+
],
|
|
25
|
+
"hasChildren": true,
|
|
26
|
+
"whenToUse": [
|
|
27
|
+
"Block Header는 블록의 목적을 한눈에 전달하는 영역이다"
|
|
28
|
+
],
|
|
29
|
+
"forbiddenRules": [
|
|
30
|
+
"Header에 두 줄 이상의 긴 설명 지양",
|
|
31
|
+
"Header Action에 `hierarchy=\"secondary-gray\" size=\"xs\"` 외 사용 금지",
|
|
32
|
+
"Header 내부에서 아이콘 남발 금지",
|
|
33
|
+
"Header 배경색 변경 금지",
|
|
34
|
+
"페이지 단위 탭과 블록 탭 혼용 금지",
|
|
35
|
+
"Grid Control을 별도 Block으로 분리 금지",
|
|
36
|
+
"필수 마커 없는 블록에 Required Notice 표시 금지",
|
|
37
|
+
"Required Notice 고정 문구 임의 변경 금지",
|
|
38
|
+
"Required Notice 2색 구성 임의 변경 금지"
|
|
39
|
+
],
|
|
40
|
+
"seeAlso": [
|
|
41
|
+
"block-container",
|
|
42
|
+
"tooltip",
|
|
43
|
+
"tab",
|
|
44
|
+
"badge",
|
|
45
|
+
"radio-group",
|
|
46
|
+
"button",
|
|
47
|
+
"vertical-table"
|
|
48
|
+
],
|
|
49
|
+
"htmlElement": "div",
|
|
50
|
+
"usageExamples": {
|
|
51
|
+
"basic": {
|
|
52
|
+
"title": "상품 기본 정보"
|
|
53
|
+
},
|
|
54
|
+
"withTooltip": {
|
|
55
|
+
"title": "배송 설정",
|
|
56
|
+
"tooltip": "배송 방법과 기본 설정을 입력하세요."
|
|
57
|
+
},
|
|
58
|
+
"withRequiredNotice": {
|
|
59
|
+
"title": "상품 기본 정보",
|
|
60
|
+
"showRequiredNotice": true
|
|
61
|
+
},
|
|
62
|
+
"collapsible": {
|
|
63
|
+
"title": "고급 설정",
|
|
64
|
+
"collapsible": {
|
|
65
|
+
"expanded": false,
|
|
66
|
+
"onToggle": "() => {}"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"props": {
|
|
71
|
+
"action": {
|
|
72
|
+
"type": "ReactNode",
|
|
73
|
+
"required": false
|
|
74
|
+
},
|
|
75
|
+
"badge": {
|
|
76
|
+
"type": "ReactNode",
|
|
77
|
+
"required": false
|
|
78
|
+
},
|
|
79
|
+
"children": {
|
|
80
|
+
"type": "ReactNode",
|
|
81
|
+
"required": false
|
|
82
|
+
},
|
|
83
|
+
"className": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"required": false
|
|
86
|
+
},
|
|
87
|
+
"collapsible": {
|
|
88
|
+
"type": "function",
|
|
89
|
+
"required": false
|
|
90
|
+
},
|
|
91
|
+
"controlStrip": {
|
|
92
|
+
"type": "ReactNode",
|
|
93
|
+
"required": false
|
|
94
|
+
},
|
|
95
|
+
"description": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"required": false
|
|
98
|
+
},
|
|
99
|
+
"showDivider": {
|
|
100
|
+
"type": "boolean",
|
|
101
|
+
"required": false,
|
|
102
|
+
"default": true
|
|
103
|
+
},
|
|
104
|
+
"showRequiredNotice": {
|
|
105
|
+
"type": "boolean",
|
|
106
|
+
"required": false,
|
|
107
|
+
"default": false
|
|
108
|
+
},
|
|
109
|
+
"title": {
|
|
110
|
+
"type": "ReactNode",
|
|
111
|
+
"required": true
|
|
112
|
+
},
|
|
113
|
+
"tooltip": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"required": false
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"subComponents": {
|
|
119
|
+
"BlockHeader.SubTitle": {
|
|
120
|
+
"props": {
|
|
121
|
+
"action": {
|
|
122
|
+
"type": "ReactNode",
|
|
123
|
+
"required": false
|
|
124
|
+
},
|
|
125
|
+
"className": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"required": false
|
|
128
|
+
},
|
|
129
|
+
"description": {
|
|
130
|
+
"type": "string",
|
|
131
|
+
"required": false
|
|
132
|
+
},
|
|
133
|
+
"error": {
|
|
134
|
+
"type": "string",
|
|
135
|
+
"required": false
|
|
136
|
+
},
|
|
137
|
+
"required": {
|
|
138
|
+
"type": "boolean",
|
|
139
|
+
"required": false,
|
|
140
|
+
"default": false
|
|
141
|
+
},
|
|
142
|
+
"showDivider": {
|
|
143
|
+
"type": "boolean",
|
|
144
|
+
"required": false,
|
|
145
|
+
"default": true
|
|
146
|
+
},
|
|
147
|
+
"showRequiredNotice": {
|
|
148
|
+
"type": "boolean",
|
|
149
|
+
"required": false,
|
|
150
|
+
"default": false
|
|
151
|
+
},
|
|
152
|
+
"size": {
|
|
153
|
+
"type": "enum",
|
|
154
|
+
"required": false,
|
|
155
|
+
"values": [
|
|
156
|
+
"middle",
|
|
157
|
+
"sm",
|
|
158
|
+
"xs"
|
|
159
|
+
],
|
|
160
|
+
"default": "sm"
|
|
161
|
+
},
|
|
162
|
+
"title": {
|
|
163
|
+
"type": "ReactNode",
|
|
164
|
+
"required": true
|
|
165
|
+
},
|
|
166
|
+
"tooltip": {
|
|
167
|
+
"type": "string",
|
|
168
|
+
"required": false
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"html": {},
|
|
174
|
+
"bemClasses": [
|
|
175
|
+
"ncua-block-header",
|
|
176
|
+
"ncua-block-header--column",
|
|
177
|
+
"ncua-block-header--has-control-strip",
|
|
178
|
+
"ncua-block-header--has-tab",
|
|
179
|
+
"ncua-block-header--is-required",
|
|
180
|
+
"ncua-block-header--no-divider",
|
|
181
|
+
"ncua-block-header__action-area",
|
|
182
|
+
"ncua-block-header__badge",
|
|
183
|
+
"ncua-block-header__collapsible-btn",
|
|
184
|
+
"ncua-block-header__control-strip",
|
|
185
|
+
"ncua-block-header__description",
|
|
186
|
+
"ncua-block-header__required-notice",
|
|
187
|
+
"ncua-block-header__required-notice--gray",
|
|
188
|
+
"ncua-block-header__required-notice--red",
|
|
189
|
+
"ncua-block-header__row",
|
|
190
|
+
"ncua-block-header__tabs",
|
|
191
|
+
"ncua-block-header__title",
|
|
192
|
+
"ncua-block-header__title-area",
|
|
193
|
+
"ncua-sub-title",
|
|
194
|
+
"ncua-sub-title__action",
|
|
195
|
+
"ncua-sub-title__description",
|
|
196
|
+
"ncua-sub-title__error",
|
|
197
|
+
"ncua-sub-title__required-marker",
|
|
198
|
+
"ncua-sub-title__title",
|
|
199
|
+
"ncua-sub-title__title-area",
|
|
200
|
+
"ncua-sub-title__title-row"
|
|
201
|
+
],
|
|
202
|
+
"usage": {
|
|
203
|
+
"import": "import { BlockHeader } from '@ncds/ui-admin';",
|
|
204
|
+
"react": {
|
|
205
|
+
"default": "<BlockHeader title=\"예시\" />"
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
package/data/bread-crumb.json
CHANGED
|
@@ -33,7 +33,43 @@
|
|
|
33
33
|
"seeAlso": [
|
|
34
34
|
"icon"
|
|
35
35
|
],
|
|
36
|
-
"
|
|
36
|
+
"usageExamples": {
|
|
37
|
+
"default": {
|
|
38
|
+
"items": [
|
|
39
|
+
{
|
|
40
|
+
"label": "대시보드"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"label": "상품",
|
|
44
|
+
"href": "/products"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"label": "상품 상세"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"props": {
|
|
53
|
+
"className": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"required": false
|
|
56
|
+
},
|
|
57
|
+
"items": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"required": true,
|
|
60
|
+
"rawType": "import(\"/home/runner/_work/ncds/ncds/packages/ui-admin/src/components/navigation/bread-crumb/BreadCrumb\").BreadcrumbItemProps[]",
|
|
61
|
+
"properties": {
|
|
62
|
+
"href": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"required": false
|
|
65
|
+
},
|
|
66
|
+
"label": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"required": true
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
37
73
|
"html": {},
|
|
38
74
|
"bemClasses": [
|
|
39
75
|
"ncua-breadcrumb",
|
|
@@ -45,7 +81,7 @@
|
|
|
45
81
|
"usage": {
|
|
46
82
|
"import": "import { BreadCrumb } from '@ncds/ui-admin';",
|
|
47
83
|
"react": {
|
|
48
|
-
"default": "<BreadCrumb />"
|
|
84
|
+
"default": "<BreadCrumb items=\"\" />"
|
|
49
85
|
}
|
|
50
86
|
}
|
|
51
87
|
}
|
package/data/button-group.json
CHANGED
|
@@ -50,6 +50,11 @@
|
|
|
50
50
|
"required": false,
|
|
51
51
|
"default": false
|
|
52
52
|
},
|
|
53
|
+
"fullWidth": {
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"required": false,
|
|
56
|
+
"default": false
|
|
57
|
+
},
|
|
53
58
|
"hasBorder": {
|
|
54
59
|
"type": "boolean",
|
|
55
60
|
"required": false,
|
|
@@ -72,6 +77,60 @@
|
|
|
72
77
|
"default": "xs"
|
|
73
78
|
}
|
|
74
79
|
},
|
|
80
|
+
"subComponents": {
|
|
81
|
+
"ButtonGroup.Item": {
|
|
82
|
+
"props": {
|
|
83
|
+
"children": {
|
|
84
|
+
"type": "ReactNode",
|
|
85
|
+
"required": false
|
|
86
|
+
},
|
|
87
|
+
"disabled": {
|
|
88
|
+
"type": "boolean",
|
|
89
|
+
"required": false,
|
|
90
|
+
"default": false
|
|
91
|
+
},
|
|
92
|
+
"fullWidth": {
|
|
93
|
+
"type": "boolean",
|
|
94
|
+
"required": false,
|
|
95
|
+
"default": false
|
|
96
|
+
},
|
|
97
|
+
"hasBorder": {
|
|
98
|
+
"type": "boolean",
|
|
99
|
+
"required": false,
|
|
100
|
+
"default": true
|
|
101
|
+
},
|
|
102
|
+
"icon": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"required": false,
|
|
105
|
+
"rawType": "SideSlot | undefined"
|
|
106
|
+
},
|
|
107
|
+
"isCurrent": {
|
|
108
|
+
"type": "boolean",
|
|
109
|
+
"required": false
|
|
110
|
+
},
|
|
111
|
+
"label": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"required": false
|
|
114
|
+
},
|
|
115
|
+
"onlyIcon": {
|
|
116
|
+
"type": "boolean",
|
|
117
|
+
"required": false,
|
|
118
|
+
"default": false
|
|
119
|
+
},
|
|
120
|
+
"size": {
|
|
121
|
+
"type": "enum",
|
|
122
|
+
"required": false,
|
|
123
|
+
"values": [
|
|
124
|
+
"md",
|
|
125
|
+
"sm",
|
|
126
|
+
"xs",
|
|
127
|
+
"xxs"
|
|
128
|
+
],
|
|
129
|
+
"default": "xs"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
},
|
|
75
134
|
"html": {},
|
|
76
135
|
"bemClasses": [
|
|
77
136
|
"ncua-button-group",
|
package/data/button.json
CHANGED
|
@@ -76,6 +76,69 @@
|
|
|
76
76
|
},
|
|
77
77
|
"leadingIcon": {
|
|
78
78
|
"type": "object",
|
|
79
|
+
"required": false,
|
|
80
|
+
"rawType": "import(\"/home/runner/_work/ncds/ncds/packages/ui-admin/src/types/side-slot\").SideSlotType | undefined",
|
|
81
|
+
"properties": {
|
|
82
|
+
"type": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"required": true,
|
|
85
|
+
"rawType": "\"icon\""
|
|
86
|
+
},
|
|
87
|
+
"icon": {
|
|
88
|
+
"type": "function",
|
|
89
|
+
"required": false,
|
|
90
|
+
"semantic": "icon-component"
|
|
91
|
+
},
|
|
92
|
+
"color": {
|
|
93
|
+
"type": "enum",
|
|
94
|
+
"required": false,
|
|
95
|
+
"values": [
|
|
96
|
+
"black",
|
|
97
|
+
"blue500",
|
|
98
|
+
"blue600",
|
|
99
|
+
"currentColor",
|
|
100
|
+
"gray100",
|
|
101
|
+
"gray200",
|
|
102
|
+
"gray300",
|
|
103
|
+
"gray400",
|
|
104
|
+
"gray500",
|
|
105
|
+
"gray600",
|
|
106
|
+
"gray700",
|
|
107
|
+
"green500",
|
|
108
|
+
"green600",
|
|
109
|
+
"orange500",
|
|
110
|
+
"orange600",
|
|
111
|
+
"pink100",
|
|
112
|
+
"pink600",
|
|
113
|
+
"red500",
|
|
114
|
+
"red600",
|
|
115
|
+
"secondary-gray-blue-100",
|
|
116
|
+
"secondary-gray-blue-200",
|
|
117
|
+
"secondary-gray-blue-300",
|
|
118
|
+
"secondary-gray-blue-400",
|
|
119
|
+
"secondary-gray-blue-450",
|
|
120
|
+
"secondary-gray-blue-50",
|
|
121
|
+
"secondary-gray-blue-500",
|
|
122
|
+
"secondary-gray-blue-600",
|
|
123
|
+
"secondary-gray-blue-700",
|
|
124
|
+
"violet300",
|
|
125
|
+
"violet600",
|
|
126
|
+
"white",
|
|
127
|
+
"yellow600"
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
"size": {
|
|
131
|
+
"type": "number",
|
|
132
|
+
"required": false
|
|
133
|
+
},
|
|
134
|
+
"children": {
|
|
135
|
+
"type": "ReactNode",
|
|
136
|
+
"required": false
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"loading": {
|
|
141
|
+
"type": "boolean",
|
|
79
142
|
"required": false
|
|
80
143
|
},
|
|
81
144
|
"onlyIcon": {
|
|
@@ -94,7 +157,66 @@
|
|
|
94
157
|
},
|
|
95
158
|
"trailingIcon": {
|
|
96
159
|
"type": "object",
|
|
97
|
-
"required": false
|
|
160
|
+
"required": false,
|
|
161
|
+
"rawType": "import(\"/home/runner/_work/ncds/ncds/packages/ui-admin/src/types/side-slot\").SideSlotType | undefined",
|
|
162
|
+
"properties": {
|
|
163
|
+
"type": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"required": true,
|
|
166
|
+
"rawType": "\"icon\""
|
|
167
|
+
},
|
|
168
|
+
"icon": {
|
|
169
|
+
"type": "function",
|
|
170
|
+
"required": false,
|
|
171
|
+
"semantic": "icon-component"
|
|
172
|
+
},
|
|
173
|
+
"color": {
|
|
174
|
+
"type": "enum",
|
|
175
|
+
"required": false,
|
|
176
|
+
"values": [
|
|
177
|
+
"black",
|
|
178
|
+
"blue500",
|
|
179
|
+
"blue600",
|
|
180
|
+
"currentColor",
|
|
181
|
+
"gray100",
|
|
182
|
+
"gray200",
|
|
183
|
+
"gray300",
|
|
184
|
+
"gray400",
|
|
185
|
+
"gray500",
|
|
186
|
+
"gray600",
|
|
187
|
+
"gray700",
|
|
188
|
+
"green500",
|
|
189
|
+
"green600",
|
|
190
|
+
"orange500",
|
|
191
|
+
"orange600",
|
|
192
|
+
"pink100",
|
|
193
|
+
"pink600",
|
|
194
|
+
"red500",
|
|
195
|
+
"red600",
|
|
196
|
+
"secondary-gray-blue-100",
|
|
197
|
+
"secondary-gray-blue-200",
|
|
198
|
+
"secondary-gray-blue-300",
|
|
199
|
+
"secondary-gray-blue-400",
|
|
200
|
+
"secondary-gray-blue-450",
|
|
201
|
+
"secondary-gray-blue-50",
|
|
202
|
+
"secondary-gray-blue-500",
|
|
203
|
+
"secondary-gray-blue-600",
|
|
204
|
+
"secondary-gray-blue-700",
|
|
205
|
+
"violet300",
|
|
206
|
+
"violet600",
|
|
207
|
+
"white",
|
|
208
|
+
"yellow600"
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
"size": {
|
|
212
|
+
"type": "number",
|
|
213
|
+
"required": false
|
|
214
|
+
},
|
|
215
|
+
"children": {
|
|
216
|
+
"type": "ReactNode",
|
|
217
|
+
"required": false
|
|
218
|
+
}
|
|
219
|
+
}
|
|
98
220
|
},
|
|
99
221
|
"underline": {
|
|
100
222
|
"type": "boolean",
|
|
@@ -118,6 +240,7 @@
|
|
|
118
240
|
"ncua-btn--xs",
|
|
119
241
|
"ncua-btn--xxs",
|
|
120
242
|
"ncua-btn__label",
|
|
243
|
+
"ncua-btn__spinner",
|
|
121
244
|
"ncua-button-close-x",
|
|
122
245
|
"ncua-button-stepper"
|
|
123
246
|
],
|
package/data/carousel-arrow.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"exportName": "CarouselArrow",
|
|
4
4
|
"importPath": "@ncds/ui-admin",
|
|
5
5
|
"jsRequired": false,
|
|
6
|
-
"category": "feedback",
|
|
6
|
+
"category": "feedback-and-status",
|
|
7
7
|
"description": "CarouselArrow는 캐러셀의 이전/다음 페이지로 이동할 수 있는 화살표 버튼 컴포넌트입니다.",
|
|
8
8
|
"aliases": [
|
|
9
9
|
"CarouselArrow",
|
|
@@ -50,11 +50,6 @@
|
|
|
50
50
|
"type": "function",
|
|
51
51
|
"required": false
|
|
52
52
|
},
|
|
53
|
-
"size": {
|
|
54
|
-
"type": "string",
|
|
55
|
-
"required": true,
|
|
56
|
-
"rawType": "\"md\""
|
|
57
|
-
},
|
|
58
53
|
"type": {
|
|
59
54
|
"type": "enum",
|
|
60
55
|
"required": false,
|
|
@@ -77,11 +72,11 @@
|
|
|
77
72
|
"usage": {
|
|
78
73
|
"import": "import { CarouselArrow } from '@ncds/ui-admin';",
|
|
79
74
|
"react": {
|
|
80
|
-
"default": "<CarouselArrow chevron=\"left\"
|
|
81
|
-
"chevron:left": "<CarouselArrow chevron=\"left\"
|
|
82
|
-
"chevron:right": "<CarouselArrow chevron=\"right\"
|
|
83
|
-
"type:default": "<CarouselArrow type=\"default\" chevron=\"left\"
|
|
84
|
-
"type:line": "<CarouselArrow type=\"line\" chevron=\"left\"
|
|
75
|
+
"default": "<CarouselArrow chevron=\"left\" />",
|
|
76
|
+
"chevron:left": "<CarouselArrow chevron=\"left\" />",
|
|
77
|
+
"chevron:right": "<CarouselArrow chevron=\"right\" />",
|
|
78
|
+
"type:default": "<CarouselArrow type=\"default\" chevron=\"left\" />",
|
|
79
|
+
"type:line": "<CarouselArrow type=\"line\" chevron=\"left\" />"
|
|
85
80
|
}
|
|
86
81
|
}
|
|
87
82
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"exportName": "CarouselNumberGroup",
|
|
4
4
|
"importPath": "@ncds/ui-admin",
|
|
5
5
|
"jsRequired": false,
|
|
6
|
-
"category": "feedback",
|
|
6
|
+
"category": "feedback-and-status",
|
|
7
7
|
"description": "CarouselNumberGroup은 캐러셀의 현재 페이지와 전체 페이지 수를 표시하는 컴포넌트입니다.",
|
|
8
8
|
"aliases": [
|
|
9
9
|
"CarouselNumberGroup",
|
|
@@ -53,14 +53,6 @@
|
|
|
53
53
|
"required": false,
|
|
54
54
|
"default": true
|
|
55
55
|
},
|
|
56
|
-
"size": {
|
|
57
|
-
"type": "enum",
|
|
58
|
-
"required": false,
|
|
59
|
-
"values": [
|
|
60
|
-
"sm"
|
|
61
|
-
],
|
|
62
|
-
"default": "sm"
|
|
63
|
-
},
|
|
64
56
|
"totalPage": {
|
|
65
57
|
"type": "number",
|
|
66
58
|
"required": true
|
|
@@ -71,7 +63,6 @@
|
|
|
71
63
|
"ncua-carousel-number-group",
|
|
72
64
|
"ncua-carousel-number-group--dark",
|
|
73
65
|
"ncua-carousel-number-group--light",
|
|
74
|
-
"ncua-carousel-number-group--sm",
|
|
75
66
|
"ncua-carousel-number-group__number",
|
|
76
67
|
"ncua-carousel-number-group__total"
|
|
77
68
|
],
|
|
@@ -80,8 +71,7 @@
|
|
|
80
71
|
"react": {
|
|
81
72
|
"default": "<CarouselNumberGroup currentPage={0} totalPage={0} />",
|
|
82
73
|
"color:dark": "<CarouselNumberGroup color=\"dark\" currentPage={0} totalPage={0} />",
|
|
83
|
-
"color:light": "<CarouselNumberGroup color=\"light\" currentPage={0} totalPage={0} />"
|
|
84
|
-
"size:sm": "<CarouselNumberGroup size=\"sm\" currentPage={0} totalPage={0} />"
|
|
74
|
+
"color:light": "<CarouselNumberGroup color=\"light\" currentPage={0} totalPage={0} />"
|
|
85
75
|
}
|
|
86
76
|
}
|
|
87
77
|
}
|
package/data/checkbox.json
CHANGED
package/data/combo-box.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"exportName": "ComboBox",
|
|
4
4
|
"importPath": "@ncds/ui-admin",
|
|
5
5
|
"jsRequired": true,
|
|
6
|
-
"category": "input",
|
|
6
|
+
"category": "forms-and-input",
|
|
7
7
|
"description": "ComboBox는 여러 개의 데이터에서 검색(입력)하거나 리스트에서 옵션을 골라 빠르게 선택하는 복합 선택 컴포넌트입니다.",
|
|
8
8
|
"aliases": [
|
|
9
9
|
"콤보박스",
|
|
@@ -26,6 +26,10 @@
|
|
|
26
26
|
"전체선택",
|
|
27
27
|
"선택완료",
|
|
28
28
|
"Clear",
|
|
29
|
+
"maxSelection",
|
|
30
|
+
"최대 선택 개수",
|
|
31
|
+
"최대선택",
|
|
32
|
+
"선택 제한",
|
|
29
33
|
"NCDS"
|
|
30
34
|
],
|
|
31
35
|
"hasChildren": true,
|
|
@@ -40,8 +44,7 @@
|
|
|
40
44
|
"Clear 버튼 없이 입력 유지 강제 금지"
|
|
41
45
|
],
|
|
42
46
|
"seeAlso": [
|
|
43
|
-
"
|
|
44
|
-
"select"
|
|
47
|
+
"button"
|
|
45
48
|
],
|
|
46
49
|
"htmlElement": "div",
|
|
47
50
|
"props": {
|
|
@@ -72,6 +75,10 @@
|
|
|
72
75
|
"required": false,
|
|
73
76
|
"default": "defaultMaxHeight"
|
|
74
77
|
},
|
|
78
|
+
"maxSelection": {
|
|
79
|
+
"type": "number",
|
|
80
|
+
"required": false
|
|
81
|
+
},
|
|
75
82
|
"multiple": {
|
|
76
83
|
"type": "boolean",
|
|
77
84
|
"required": false,
|
|
@@ -90,9 +97,25 @@
|
|
|
90
97
|
"required": false
|
|
91
98
|
},
|
|
92
99
|
"optionItems": {
|
|
93
|
-
"type": "
|
|
100
|
+
"type": "object",
|
|
94
101
|
"required": false,
|
|
95
|
-
"rawType": "import(\"/
|
|
102
|
+
"rawType": "import(\"/home/runner/_work/ncds/ncds/packages/ui-admin/src/types/dropdown/option\").OptionType[] | undefined",
|
|
103
|
+
"properties": {
|
|
104
|
+
"id": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"required": true,
|
|
107
|
+
"rawType": "string | number"
|
|
108
|
+
},
|
|
109
|
+
"label": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"required": true
|
|
112
|
+
},
|
|
113
|
+
"icon": {
|
|
114
|
+
"type": "function",
|
|
115
|
+
"required": false,
|
|
116
|
+
"semantic": "icon-component"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
96
119
|
"default": "[]"
|
|
97
120
|
},
|
|
98
121
|
"placeholder": {
|
|
@@ -102,7 +125,8 @@
|
|
|
102
125
|
},
|
|
103
126
|
"register": {
|
|
104
127
|
"type": "object",
|
|
105
|
-
"required": false
|
|
128
|
+
"required": false,
|
|
129
|
+
"rawType": "import(\"/home/runner/_work/ncds/ncds/node_modules/.pnpm/react-hook-form@7.72.0_react@18.2.0/node_modules/react-hook-form/dist/types/form\").UseFormRegisterReturn | undefined"
|
|
106
130
|
},
|
|
107
131
|
"required": {
|
|
108
132
|
"type": "boolean",
|
|
@@ -129,9 +153,9 @@
|
|
|
129
153
|
"default": "xs"
|
|
130
154
|
},
|
|
131
155
|
"value": {
|
|
132
|
-
"type": "
|
|
156
|
+
"type": "object",
|
|
133
157
|
"required": false,
|
|
134
|
-
"rawType": "import(\"/
|
|
158
|
+
"rawType": "import(\"/home/runner/_work/ncds/ncds/packages/ui-admin/src/types/dropdown/option\").OptionValue | undefined"
|
|
135
159
|
}
|
|
136
160
|
},
|
|
137
161
|
"html": {},
|