@ncds/ui-admin-mcp 1.0.0-alpha.10

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 (94) hide show
  1. package/README.md +113 -0
  2. package/bin/components.bundle.js +1 -0
  3. package/bin/definitions/compliance-rules.json +64 -0
  4. package/bin/definitions/instructions.md +164 -0
  5. package/bin/definitions/js-api.json +165 -0
  6. package/bin/definitions/rules.json +59 -0
  7. package/bin/definitions/token-descriptions.json +27 -0
  8. package/bin/definitions/tool-definitions.json +58 -0
  9. package/bin/server.d.ts +1 -0
  10. package/bin/server.js +217 -0
  11. package/bin/server.mjs +8 -0
  12. package/bin/tools/getComponentProps.d.ts +4 -0
  13. package/bin/tools/getComponentProps.js +20 -0
  14. package/bin/tools/getDesignTokens.d.ts +13 -0
  15. package/bin/tools/getDesignTokens.js +20 -0
  16. package/bin/tools/listComponents.d.ts +16 -0
  17. package/bin/tools/listComponents.js +24 -0
  18. package/bin/tools/listIcons.d.ts +22 -0
  19. package/bin/tools/listIcons.js +23 -0
  20. package/bin/tools/ping.d.ts +17 -0
  21. package/bin/tools/ping.js +20 -0
  22. package/bin/tools/renderToHtml.d.ts +23 -0
  23. package/bin/tools/renderToHtml.js +267 -0
  24. package/bin/tools/searchComponent.d.ts +4 -0
  25. package/bin/tools/searchComponent.js +33 -0
  26. package/bin/tools/searchIcon.d.ts +7 -0
  27. package/bin/tools/searchIcon.js +19 -0
  28. package/bin/tools/validateHtml.d.ts +18 -0
  29. package/bin/tools/validateHtml.js +85 -0
  30. package/bin/types.d.ts +123 -0
  31. package/bin/types.js +5 -0
  32. package/bin/utils/bemValidator.d.ts +36 -0
  33. package/bin/utils/bemValidator.js +198 -0
  34. package/bin/utils/compliance.d.ts +52 -0
  35. package/bin/utils/compliance.js +199 -0
  36. package/bin/utils/dataLoader.d.ts +35 -0
  37. package/bin/utils/dataLoader.js +192 -0
  38. package/bin/utils/domEnvironment.d.ts +9 -0
  39. package/bin/utils/domEnvironment.js +75 -0
  40. package/bin/utils/fuzzyMatch.d.ts +21 -0
  41. package/bin/utils/fuzzyMatch.js +110 -0
  42. package/bin/utils/logger.d.ts +18 -0
  43. package/bin/utils/logger.js +27 -0
  44. package/bin/utils/response.d.ts +28 -0
  45. package/bin/utils/response.js +39 -0
  46. package/bin/utils/tokenValidator.d.ts +24 -0
  47. package/bin/utils/tokenValidator.js +162 -0
  48. package/bin/version.d.ts +4 -0
  49. package/bin/version.js +7 -0
  50. package/data/_icons.json +12401 -0
  51. package/data/_meta.json +12 -0
  52. package/data/_tokens.json +661 -0
  53. package/data/badge-group.json +295 -0
  54. package/data/badge.json +246 -0
  55. package/data/bread-crumb.json +87 -0
  56. package/data/button-group.json +94 -0
  57. package/data/button.json +259 -0
  58. package/data/carousel-arrow.json +87 -0
  59. package/data/carousel-number-group.json +87 -0
  60. package/data/checkbox.json +99 -0
  61. package/data/combo-box.json +173 -0
  62. package/data/date-picker.json +123 -0
  63. package/data/divider.json +91 -0
  64. package/data/dot.json +103 -0
  65. package/data/dropdown.json +258 -0
  66. package/data/empty-state.json +227 -0
  67. package/data/featured-icon.json +139 -0
  68. package/data/file-input.json +315 -0
  69. package/data/horizontal-tab.json +329 -0
  70. package/data/image-file-input.json +339 -0
  71. package/data/input-base.json +299 -0
  72. package/data/modal.json +143 -0
  73. package/data/notification.json +194 -0
  74. package/data/number-input.json +295 -0
  75. package/data/pagination.json +101 -0
  76. package/data/password-input.json +263 -0
  77. package/data/progress-bar.json +109 -0
  78. package/data/progress-circle.json +96 -0
  79. package/data/radio.json +86 -0
  80. package/data/range-date-picker-with-buttons.json +273 -0
  81. package/data/range-date-picker.json +259 -0
  82. package/data/select-box.json +193 -0
  83. package/data/select.json +132 -0
  84. package/data/slider.json +100 -0
  85. package/data/spinner.json +93 -0
  86. package/data/switch.json +156 -0
  87. package/data/tag.json +159 -0
  88. package/data/textarea.json +96 -0
  89. package/data/toggle.json +102 -0
  90. package/data/tooltip.json +185 -0
  91. package/data/vertical-tab.json +314 -0
  92. package/package.json +61 -0
  93. package/templates/.mcp.json.example +8 -0
  94. package/templates/README.md +30 -0
@@ -0,0 +1,143 @@
1
+ {
2
+ "name": "modal",
3
+ "exportName": "Modal",
4
+ "importPath": "@ncds/ui-admin",
5
+ "jsRequired": true,
6
+ "category": "overlay",
7
+ "description": "Modal은 사용자가 현재 페이지를 이탈하지 않고도 집중이 필요한 중요 정보 제공 또는 복잡한 입력/처리 작업을 수행하도록 하기 위한 오버레이 UI 컴포넌트입니다.",
8
+ "aliases": [
9
+ "Modal",
10
+ "모달",
11
+ "Dialog",
12
+ "다이얼로그",
13
+ "Overlay",
14
+ "오버레이",
15
+ "Dim",
16
+ "Header",
17
+ "Content",
18
+ "Actions",
19
+ "Footer",
20
+ "Destructive",
21
+ "Primary",
22
+ "Secondary",
23
+ "sm",
24
+ "md",
25
+ "lg",
26
+ "xl",
27
+ "2xl",
28
+ "onClose",
29
+ "closeOnEsc",
30
+ "closeOnBackdropClick",
31
+ "NCDS"
32
+ ],
33
+ "hasChildren": true,
34
+ "whenToUse": [
35
+ "현재 흐름을 중단하고 사용자 집중을 요구하는 UI 패턴입니다",
36
+ "정보 확인/입력/처리성 작업에만 한정하여 사용합니다"
37
+ ],
38
+ "forbiddenRules": [
39
+ "단순 알림에 과도한 Modal 사용 금지",
40
+ "버튼 3개 이상 구성 금지",
41
+ "페이지 이동 대체용 사용 금지",
42
+ "화면 전환을 모두 Modal로 처리 금지",
43
+ "좌/우 스크롤 구조 금지",
44
+ "배경 스크롤 허용 금지"
45
+ ],
46
+ "seeAlso": [
47
+ "button",
48
+ "featured-icon",
49
+ "icon",
50
+ "toast"
51
+ ],
52
+ "usageExamples": {
53
+ "default": {
54
+ "isOpen": true,
55
+ "children": "모달 내용입니다.",
56
+ "size": "md"
57
+ },
58
+ "confirm": {
59
+ "isOpen": true,
60
+ "children": "정말 삭제하시겠습니까?",
61
+ "size": "sm"
62
+ }
63
+ },
64
+ "props": {
65
+ "children": {
66
+ "type": "ReactNode",
67
+ "required": true
68
+ },
69
+ "className": {
70
+ "type": "string",
71
+ "required": false
72
+ },
73
+ "closeOnBackdropClick": {
74
+ "type": "boolean",
75
+ "required": false,
76
+ "default": false
77
+ },
78
+ "closeOnEsc": {
79
+ "type": "boolean",
80
+ "required": false,
81
+ "default": true
82
+ },
83
+ "isOpen": {
84
+ "type": "boolean",
85
+ "required": true
86
+ },
87
+ "onClose": {
88
+ "type": "function",
89
+ "required": true
90
+ },
91
+ "size": {
92
+ "type": "enum",
93
+ "required": false,
94
+ "values": [
95
+ "2xl",
96
+ "lg",
97
+ "md",
98
+ "sm",
99
+ "xl"
100
+ ],
101
+ "default": "md"
102
+ },
103
+ "zIndex": {
104
+ "type": "number",
105
+ "required": false
106
+ }
107
+ },
108
+ "html": {},
109
+ "bemClasses": [
110
+ "ncua-modal",
111
+ "ncua-modal--2xl",
112
+ "ncua-modal--lg",
113
+ "ncua-modal--md",
114
+ "ncua-modal--sm",
115
+ "ncua-modal--xl",
116
+ "ncua-modal-backdrop",
117
+ "ncua-modal__actions",
118
+ "ncua-modal__actions-checkbox",
119
+ "ncua-modal__actions-checkbox-content",
120
+ "ncua-modal__actions-divider",
121
+ "ncua-modal__actions-wrapper",
122
+ "ncua-modal__actions-wrapper--checkbox",
123
+ "ncua-modal__close-button",
124
+ "ncua-modal__content",
125
+ "ncua-modal__header",
126
+ "ncua-modal__header--close-button",
127
+ "ncua-modal__header-divider",
128
+ "ncua-modal__title",
129
+ "ncua-modal__title-subtitle",
130
+ "ncua-modal__title-text"
131
+ ],
132
+ "usage": {
133
+ "import": "import { Modal } from '@ncds/ui-admin';",
134
+ "react": {
135
+ "default": "<Modal children=\"예시\" isOpen onClose=\"\" />",
136
+ "size:2xl": "<Modal size=\"2xl\" children=\"예시\" isOpen onClose=\"\" />",
137
+ "size:lg": "<Modal size=\"lg\" children=\"예시\" isOpen onClose=\"\" />",
138
+ "size:md": "<Modal size=\"md\" children=\"예시\" isOpen onClose=\"\" />",
139
+ "size:sm": "<Modal size=\"sm\" children=\"예시\" isOpen onClose=\"\" />",
140
+ "size:xl": "<Modal size=\"xl\" children=\"예시\" isOpen onClose=\"\" />"
141
+ }
142
+ }
143
+ }
@@ -0,0 +1,194 @@
1
+ {
2
+ "name": "notification",
3
+ "exportName": "Notification",
4
+ "importPath": "@ncds/ui-admin",
5
+ "jsRequired": true,
6
+ "category": "overlay",
7
+ "description": "Notification 컴포넌트는 현재 작업과 관련된 상태 정보, 경고, 확인 요청, 처리 결과를 사용자에게 전달하는 UI입니다.",
8
+ "aliases": [
9
+ "Notification",
10
+ "알림",
11
+ "푸시알림",
12
+ "Confirm Alert",
13
+ "Alert",
14
+ "Toast Alert",
15
+ "Toast",
16
+ "Floating",
17
+ "Full-width",
18
+ "Message",
19
+ "onClose",
20
+ "autoClose",
21
+ "actions",
22
+ "color",
23
+ "neutral",
24
+ "error",
25
+ "warning",
26
+ "success",
27
+ "info",
28
+ "Dim",
29
+ "Destructive",
30
+ "aria-live",
31
+ "NCDS"
32
+ ],
33
+ "hasChildren": false,
34
+ "whenToUse": [
35
+ "사용자 액션의 영향도 및 시스템 상태 변화에 따라 적절한 유형을 선택하여 사용해야 합니다",
36
+ "과도하거나 잘못된 유형 사용은 사용자 경험을 저해합니다"
37
+ ],
38
+ "forbiddenRules": [
39
+ "Confirm Alert에 단일 버튼 구성 금지",
40
+ "Confirm Alert에 취소 버튼 미제공 금지",
41
+ "파괴적 액션에 일반 버튼 사용 금지",
42
+ "Alert에 2개 이상의 버튼 금지",
43
+ "Alert에 Destructive 스타일 남용 금지",
44
+ "Toast에 Dim 처리 금지",
45
+ "Confirm 대신 Toast 사용 금지",
46
+ "시스템 영향 큰 작업에 Toast 사용 금지",
47
+ "Message type에 info 컬러 사용 금지"
48
+ ],
49
+ "seeAlso": [
50
+ "modal",
51
+ "button",
52
+ "featured-icon",
53
+ "icon"
54
+ ],
55
+ "htmlElement": "div",
56
+ "props": {
57
+ "actions": {
58
+ "type": "object",
59
+ "required": false,
60
+ "rawType": "import(\"/Users/nhncommerce/Desktop/company/ai-driven-ncds/packages/ui-admin/src/components/notification/Notification\").NotificationAction[] | undefined",
61
+ "properties": {
62
+ "label": {
63
+ "type": "string",
64
+ "required": true
65
+ },
66
+ "onClick": {
67
+ "type": "function",
68
+ "required": false
69
+ },
70
+ "hierarchy": {
71
+ "type": "enum",
72
+ "required": false,
73
+ "values": [
74
+ "text",
75
+ "text-gray"
76
+ ]
77
+ }
78
+ }
79
+ },
80
+ "autoClose": {
81
+ "type": "number",
82
+ "required": false,
83
+ "default": 0
84
+ },
85
+ "className": {
86
+ "type": "string",
87
+ "required": false
88
+ },
89
+ "color": {
90
+ "type": "enum",
91
+ "required": false,
92
+ "values": [
93
+ "error",
94
+ "info",
95
+ "neutral",
96
+ "success",
97
+ "warning"
98
+ ],
99
+ "default": "neutral"
100
+ },
101
+ "icon": {
102
+ "type": "function",
103
+ "required": false
104
+ },
105
+ "onClose": {
106
+ "type": "function",
107
+ "required": false
108
+ },
109
+ "onHidePermanently": {
110
+ "type": "function",
111
+ "required": false
112
+ },
113
+ "supportingText": {
114
+ "type": "ReactNode",
115
+ "required": false
116
+ },
117
+ "title": {
118
+ "type": "ReactNode",
119
+ "required": true
120
+ },
121
+ "type": {
122
+ "type": "enum",
123
+ "required": false,
124
+ "values": [
125
+ "floating",
126
+ "full-width",
127
+ "message"
128
+ ],
129
+ "default": "floating"
130
+ }
131
+ },
132
+ "html": {},
133
+ "bemClasses": [
134
+ "ncua-floating-notification",
135
+ "ncua-floating-notification--error",
136
+ "ncua-floating-notification--floating",
137
+ "ncua-floating-notification--full-width",
138
+ "ncua-floating-notification--info",
139
+ "ncua-floating-notification--message",
140
+ "ncua-floating-notification--neutral",
141
+ "ncua-floating-notification--success",
142
+ "ncua-floating-notification--warning",
143
+ "ncua-floating-notification__actions",
144
+ "ncua-floating-notification__close-button",
145
+ "ncua-floating-notification__container",
146
+ "ncua-floating-notification__content",
147
+ "ncua-floating-notification__supporting-text",
148
+ "ncua-floating-notification__text-container",
149
+ "ncua-floating-notification__title",
150
+ "ncua-floating-notification__title-wrapper",
151
+ "ncua-full-width-notification",
152
+ "ncua-full-width-notification__actions",
153
+ "ncua-full-width-notification__actions-container",
154
+ "ncua-full-width-notification__close-button",
155
+ "ncua-full-width-notification__container",
156
+ "ncua-full-width-notification__content",
157
+ "ncua-full-width-notification__content-wrapper",
158
+ "ncua-full-width-notification__icon",
159
+ "ncua-full-width-notification__link",
160
+ "ncua-full-width-notification__supporting-text",
161
+ "ncua-full-width-notification__text-container",
162
+ "ncua-full-width-notification__title",
163
+ "ncua-message-notification",
164
+ "ncua-message-notification__actions",
165
+ "ncua-message-notification__actions-container",
166
+ "ncua-message-notification__close-button",
167
+ "ncua-message-notification__container",
168
+ "ncua-message-notification__content",
169
+ "ncua-message-notification__content-wrapper",
170
+ "ncua-message-notification__footer-container",
171
+ "ncua-message-notification__hide-link",
172
+ "ncua-message-notification__icon",
173
+ "ncua-message-notification__supporting-text",
174
+ "ncua-message-notification__text-container",
175
+ "ncua-message-notification__title",
176
+ "ncua-notification__action-button",
177
+ "ncua-notification__action-button--link",
178
+ "ncua-notification__action-button--text"
179
+ ],
180
+ "usage": {
181
+ "import": "import { Notification } from '@ncds/ui-admin';",
182
+ "react": {
183
+ "default": "<Notification title=\"예시\" />",
184
+ "color:error": "<Notification color=\"error\" title=\"예시\" />",
185
+ "color:info": "<Notification color=\"info\" title=\"예시\" />",
186
+ "color:neutral": "<Notification color=\"neutral\" title=\"예시\" />",
187
+ "color:success": "<Notification color=\"success\" title=\"예시\" />",
188
+ "color:warning": "<Notification color=\"warning\" title=\"예시\" />",
189
+ "type:floating": "<Notification type=\"floating\" title=\"예시\" />",
190
+ "type:full-width": "<Notification type=\"full-width\" title=\"예시\" />",
191
+ "type:message": "<Notification type=\"message\" title=\"예시\" />"
192
+ }
193
+ }
194
+ }
@@ -0,0 +1,295 @@
1
+ {
2
+ "name": "number-input",
3
+ "exportName": "NumberInput",
4
+ "importPath": "@ncds/ui-admin",
5
+ "jsRequired": false,
6
+ "category": "input",
7
+ "description": "NumberInput은 숫자만 입력 가능한 전용 입력 컨트롤로, 직접 입력과 Spin Button(▲/▼) 조작을 모두 지원하며 Step 기능을 통해 값을 증감할 수 있습니다.",
8
+ "aliases": [
9
+ "숫자입력",
10
+ "NumberInput",
11
+ "스핀버튼",
12
+ "SpinButton",
13
+ "Stepper",
14
+ "수량",
15
+ "step",
16
+ "minValue",
17
+ "maxValue",
18
+ "trailing",
19
+ "leading",
20
+ "stepperPosition",
21
+ "numeric",
22
+ "키보드조작",
23
+ "NCDS"
24
+ ],
25
+ "hasChildren": false,
26
+ "whenToUse": [
27
+ "NumberInput은 명확한 범위(min/max), 기본값, 증감 단위(Step)와 함께 제공되어야 하며, 사용자가 입력 가능한 범위와 단위를 입력 전에 인지할 수 있어야 한다"
28
+ ],
29
+ "forbiddenRules": [
30
+ "min / max 없이 사용 금지",
31
+ "Default Value 없이 사용 금지",
32
+ "Step 변경 후 안내 미제공 금지",
33
+ "숫자 외 문자 허용 금지",
34
+ "Leading/Trailing 혼합 사용 금지"
35
+ ],
36
+ "seeAlso": [
37
+ "input",
38
+ "slider",
39
+ "tooltip",
40
+ "label"
41
+ ],
42
+ "props": {
43
+ "clearText": {
44
+ "type": "boolean",
45
+ "required": false
46
+ },
47
+ "destructive": {
48
+ "type": "boolean",
49
+ "required": false
50
+ },
51
+ "disabled": {
52
+ "type": "boolean",
53
+ "required": false
54
+ },
55
+ "hintText": {
56
+ "type": "string",
57
+ "required": false
58
+ },
59
+ "label": {
60
+ "type": "string",
61
+ "required": false
62
+ },
63
+ "leadingElement": {
64
+ "type": "object",
65
+ "required": false,
66
+ "properties": {
67
+ "type": {
68
+ "type": "string",
69
+ "required": true,
70
+ "rawType": "\"text\""
71
+ },
72
+ "text": {
73
+ "type": "string",
74
+ "required": false
75
+ },
76
+ "icon": {
77
+ "type": "function",
78
+ "required": false
79
+ },
80
+ "size": {
81
+ "type": "number",
82
+ "required": false
83
+ },
84
+ "color": {
85
+ "type": "enum",
86
+ "required": false,
87
+ "values": [
88
+ "black",
89
+ "blue500",
90
+ "blue600",
91
+ "currentColor",
92
+ "gray100",
93
+ "gray200",
94
+ "gray300",
95
+ "gray400",
96
+ "gray500",
97
+ "gray600",
98
+ "gray700",
99
+ "green500",
100
+ "green600",
101
+ "orange500",
102
+ "orange600",
103
+ "pink100",
104
+ "pink600",
105
+ "red500",
106
+ "red600",
107
+ "secondary-gray-blue-100",
108
+ "secondary-gray-blue-200",
109
+ "secondary-gray-blue-300",
110
+ "secondary-gray-blue-400",
111
+ "secondary-gray-blue-450",
112
+ "secondary-gray-blue-50",
113
+ "secondary-gray-blue-500",
114
+ "secondary-gray-blue-600",
115
+ "secondary-gray-blue-700",
116
+ "violet300",
117
+ "violet600",
118
+ "white",
119
+ "yellow600"
120
+ ]
121
+ },
122
+ "className": {
123
+ "type": "string",
124
+ "required": false
125
+ },
126
+ "children": {
127
+ "type": "ReactNode",
128
+ "required": false
129
+ },
130
+ "placement": {
131
+ "type": "enum",
132
+ "required": false,
133
+ "values": [
134
+ "inside",
135
+ "outside"
136
+ ]
137
+ }
138
+ }
139
+ },
140
+ "maxLength": {
141
+ "type": "number",
142
+ "required": false
143
+ },
144
+ "maxValue": {
145
+ "type": "number",
146
+ "required": false
147
+ },
148
+ "minValue": {
149
+ "type": "number",
150
+ "required": false
151
+ },
152
+ "onClearText": {
153
+ "type": "function",
154
+ "required": false
155
+ },
156
+ "required": {
157
+ "type": "boolean",
158
+ "required": false
159
+ },
160
+ "showHelpIcon": {
161
+ "type": "boolean",
162
+ "required": false
163
+ },
164
+ "showTextCount": {
165
+ "type": "boolean",
166
+ "required": false
167
+ },
168
+ "size": {
169
+ "type": "enum",
170
+ "required": false,
171
+ "values": [
172
+ "sm",
173
+ "xs"
174
+ ],
175
+ "default": "xs"
176
+ },
177
+ "step": {
178
+ "type": "number",
179
+ "required": false,
180
+ "default": 1
181
+ },
182
+ "stepperPosition": {
183
+ "type": "enum",
184
+ "required": true,
185
+ "values": [
186
+ "leading",
187
+ "trailing"
188
+ ]
189
+ },
190
+ "trailingElement": {
191
+ "type": "object",
192
+ "required": false,
193
+ "properties": {
194
+ "type": {
195
+ "type": "string",
196
+ "required": true,
197
+ "rawType": "\"icon\""
198
+ },
199
+ "icon": {
200
+ "type": "function",
201
+ "required": false
202
+ },
203
+ "size": {
204
+ "type": "number",
205
+ "required": false
206
+ },
207
+ "color": {
208
+ "type": "enum",
209
+ "required": false,
210
+ "values": [
211
+ "black",
212
+ "blue500",
213
+ "blue600",
214
+ "currentColor",
215
+ "gray100",
216
+ "gray200",
217
+ "gray300",
218
+ "gray400",
219
+ "gray500",
220
+ "gray600",
221
+ "gray700",
222
+ "green500",
223
+ "green600",
224
+ "orange500",
225
+ "orange600",
226
+ "pink100",
227
+ "pink600",
228
+ "red500",
229
+ "red600",
230
+ "secondary-gray-blue-100",
231
+ "secondary-gray-blue-200",
232
+ "secondary-gray-blue-300",
233
+ "secondary-gray-blue-400",
234
+ "secondary-gray-blue-450",
235
+ "secondary-gray-blue-50",
236
+ "secondary-gray-blue-500",
237
+ "secondary-gray-blue-600",
238
+ "secondary-gray-blue-700",
239
+ "violet300",
240
+ "violet600",
241
+ "white",
242
+ "yellow600"
243
+ ]
244
+ },
245
+ "className": {
246
+ "type": "string",
247
+ "required": false
248
+ },
249
+ "children": {
250
+ "type": "ReactNode",
251
+ "required": false
252
+ },
253
+ "placement": {
254
+ "type": "enum",
255
+ "required": false,
256
+ "values": [
257
+ "inside",
258
+ "outside"
259
+ ]
260
+ },
261
+ "label": {
262
+ "type": "string",
263
+ "required": false
264
+ },
265
+ "isSubmit": {
266
+ "type": "boolean",
267
+ "required": false
268
+ },
269
+ "onClick": {
270
+ "type": "function",
271
+ "required": false
272
+ }
273
+ }
274
+ },
275
+ "validation": {
276
+ "type": "boolean",
277
+ "required": false
278
+ }
279
+ },
280
+ "html": {},
281
+ "bemClasses": [
282
+ "ncua-input__number",
283
+ "ncua-input__stepper-button-group"
284
+ ],
285
+ "usage": {
286
+ "import": "import { NumberInput } from '@ncds/ui-admin';",
287
+ "react": {
288
+ "default": "<NumberInput stepperPosition=\"leading\" />",
289
+ "size:sm": "<NumberInput size=\"sm\" stepperPosition=\"leading\" />",
290
+ "size:xs": "<NumberInput size=\"xs\" stepperPosition=\"leading\" />",
291
+ "stepperPosition:leading": "<NumberInput stepperPosition=\"leading\" />",
292
+ "stepperPosition:trailing": "<NumberInput stepperPosition=\"trailing\" />"
293
+ }
294
+ }
295
+ }