@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.
- package/mcp/bin/server.d.ts +1 -0
- package/mcp/bin/server.js +67 -0
- package/mcp/bin/server.mjs +14 -0
- package/mcp/bin/tools/getComponentHtml.d.ts +3 -0
- package/mcp/bin/tools/getComponentHtml.js +30 -0
- package/mcp/bin/tools/getComponentProps.d.ts +3 -0
- package/mcp/bin/tools/getComponentProps.js +16 -0
- package/mcp/bin/tools/listComponents.d.ts +3 -0
- package/mcp/bin/tools/listComponents.js +15 -0
- package/mcp/bin/tools/ping.d.ts +11 -0
- package/mcp/bin/tools/ping.js +30 -0
- package/mcp/bin/tools/searchComponent.d.ts +3 -0
- package/mcp/bin/tools/searchComponent.js +20 -0
- package/mcp/bin/tools/validateHtml.d.ts +10 -0
- package/mcp/bin/tools/validateHtml.js +142 -0
- package/mcp/bin/types.d.ts +28 -0
- package/mcp/bin/types.js +5 -0
- package/mcp/bin/utils/dataLoader.d.ts +11 -0
- package/mcp/bin/utils/dataLoader.js +68 -0
- package/mcp/bin/utils/logger.d.ts +18 -0
- package/mcp/bin/utils/logger.js +27 -0
- package/mcp/bin/utils/response.d.ts +23 -0
- package/mcp/bin/utils/response.js +31 -0
- package/mcp/bin/version.d.ts +1 -0
- package/mcp/bin/version.js +4 -0
- package/mcp/data/.gitkeep +0 -0
- package/mcp/data/_meta.json +7 -0
- package/mcp/data/badge-group.json +73 -0
- package/mcp/data/badge.json +86 -0
- package/mcp/data/bread-crumb.json +22 -0
- package/mcp/data/breadcrumb.json +31 -0
- package/mcp/data/button-group.json +65 -0
- package/mcp/data/button.json +114 -0
- package/mcp/data/carousel-arrow.json +59 -0
- package/mcp/data/carousel-number-group.json +57 -0
- package/mcp/data/carousel.json +22 -0
- package/mcp/data/checkbox.json +31 -0
- package/mcp/data/combobox.json +114 -0
- package/mcp/data/date-picker.json +77 -0
- package/mcp/data/divider.json +56 -0
- package/mcp/data/dot.json +55 -0
- package/mcp/data/dropdown.json +81 -0
- package/mcp/data/empty-state.json +34 -0
- package/mcp/data/featured-icon.json +83 -0
- package/mcp/data/file-input.json +76 -0
- package/mcp/data/horizontal-tab.json +71 -0
- package/mcp/data/image-file-input.json +97 -0
- package/mcp/data/input.json +104 -0
- package/mcp/data/modal.json +85 -0
- package/mcp/data/notification.json +116 -0
- package/mcp/data/number-input.json +128 -0
- package/mcp/data/pagination.json +65 -0
- package/mcp/data/password-input.json +47 -0
- package/mcp/data/progress-bar.json +51 -0
- package/mcp/data/progress-circle.json +54 -0
- package/mcp/data/radio.json +31 -0
- package/mcp/data/range-date-picker-with-buttons.json +64 -0
- package/mcp/data/range-date-picker.json +55 -0
- package/mcp/data/select-dropdown.json +32 -0
- package/mcp/data/select.json +64 -0
- package/mcp/data/selectbox.json +129 -0
- package/mcp/data/slider.json +57 -0
- package/mcp/data/spinner.json +54 -0
- package/mcp/data/switch.json +71 -0
- package/mcp/data/tab.json +122 -0
- package/mcp/data/tag.json +66 -0
- package/mcp/data/textarea.json +88 -0
- package/mcp/data/toggle.json +59 -0
- package/mcp/data/tooltip.json +123 -0
- package/mcp/data/vertical-tab.json +64 -0
- package/mcp/templates/.mcp.json.example +8 -0
- package/mcp/templates/README.md +31 -0
- package/package.json +26 -3
- package/dist/cjs/assets/scripts/comboBox.js +0 -280
- package/dist/cjs/assets/scripts/datePicker.js +0 -706
- package/dist/cjs/assets/scripts/featuredIcon.js +0 -95
- package/dist/cjs/assets/scripts/fileInput/FileInput.js +0 -183
- package/dist/cjs/assets/scripts/fileInput/FileInputModel.js +0 -246
- package/dist/cjs/assets/scripts/fileInput/FileInputView.js +0 -455
- package/dist/cjs/assets/scripts/fileInput/const/classNames.js +0 -35
- package/dist/cjs/assets/scripts/fileInput/const/index.js +0 -27
- package/dist/cjs/assets/scripts/fileInput/const/types.js +0 -13
- package/dist/cjs/assets/scripts/fileInput/index.js +0 -44
- package/dist/cjs/assets/scripts/imageFileInput/ImageFileInput.js +0 -187
- package/dist/cjs/assets/scripts/imageFileInput/ImageFileInputModel.js +0 -255
- package/dist/cjs/assets/scripts/imageFileInput/ImageFileInputView.js +0 -354
- package/dist/cjs/assets/scripts/imageFileInput/const/classNames.js +0 -41
- package/dist/cjs/assets/scripts/imageFileInput/const/index.js +0 -27
- package/dist/cjs/assets/scripts/imageFileInput/const/types.js +0 -13
- package/dist/cjs/assets/scripts/imageFileInput/index.js +0 -44
- package/dist/cjs/assets/scripts/index.js +0 -30
- package/dist/cjs/assets/scripts/modal/Modal.js +0 -116
- package/dist/cjs/assets/scripts/modal/ModalActions.js +0 -128
- package/dist/cjs/assets/scripts/modal/ModalContent.js +0 -46
- package/dist/cjs/assets/scripts/modal/ModalHeader.js +0 -115
- package/dist/cjs/assets/scripts/modal/const/classNames.js +0 -41
- package/dist/cjs/assets/scripts/modal/const/index.js +0 -27
- package/dist/cjs/assets/scripts/modal/const/types.js +0 -5
- package/dist/cjs/assets/scripts/modal/index.js +0 -61
- package/dist/cjs/assets/scripts/modal/utils/contentUtils.js +0 -35
- package/dist/cjs/assets/scripts/notification/FloatingNotification.js +0 -180
- package/dist/cjs/assets/scripts/notification/FullWidthNotification.js +0 -120
- package/dist/cjs/assets/scripts/notification/MessageNotification.js +0 -146
- package/dist/cjs/assets/scripts/notification/Notification.js +0 -116
- package/dist/cjs/assets/scripts/notification/const/classNames.js +0 -50
- package/dist/cjs/assets/scripts/notification/const/icons.js +0 -45
- package/dist/cjs/assets/scripts/notification/const/index.js +0 -87
- package/dist/cjs/assets/scripts/notification/const/sizes.js +0 -54
- package/dist/cjs/assets/scripts/notification/const/types.js +0 -14
- package/dist/cjs/assets/scripts/notification/index.js +0 -92
- package/dist/cjs/assets/scripts/notification/utils.js +0 -92
- package/dist/cjs/assets/scripts/progress-bar/ProgressBar.js +0 -272
- package/dist/cjs/assets/scripts/progress-bar/index.js +0 -12
- package/dist/cjs/assets/scripts/selectBox.js +0 -319
- package/dist/cjs/assets/scripts/shared/ButtonCloseX.js +0 -46
- package/dist/cjs/assets/scripts/tab.js +0 -40
- package/dist/cjs/assets/scripts/tag/Tag.js +0 -268
- package/dist/cjs/assets/scripts/tag/const/classNames.js +0 -24
- package/dist/cjs/assets/scripts/tag/const/index.js +0 -38
- package/dist/cjs/assets/scripts/tag/const/sizes.js +0 -13
- package/dist/cjs/assets/scripts/tag/const/types.js +0 -5
- package/dist/cjs/assets/scripts/tag/index.js +0 -44
- package/dist/cjs/assets/scripts/tooltip/Tooltip.js +0 -380
- package/dist/cjs/assets/scripts/tooltip/TooltipLayerManager.js +0 -84
- package/dist/cjs/assets/scripts/tooltip/const/classNames.js +0 -29
- package/dist/cjs/assets/scripts/tooltip/const/constants.js +0 -56
- package/dist/cjs/assets/scripts/tooltip/const/icons.js +0 -15
- package/dist/cjs/assets/scripts/tooltip/const/index.js +0 -123
- package/dist/cjs/assets/scripts/tooltip/const/templates.js +0 -49
- package/dist/cjs/assets/scripts/tooltip/const/types.js +0 -5
- package/dist/cjs/assets/scripts/tooltip/index.js +0 -57
- package/dist/cjs/assets/scripts/tooltip/utils.js +0 -41
- package/dist/cjs/assets/scripts/utils/unifiedBox/DOMRenderer.js +0 -384
- package/dist/cjs/assets/scripts/utils/unifiedBox/DropdownModel.js +0 -368
- package/dist/cjs/assets/scripts/utils/unifiedBox/UnifiedBoxController.js +0 -681
- package/dist/cjs/assets/scripts/utils/unifiedBox/UnifiedBoxManager.js +0 -711
- package/dist/esm/assets/scripts/comboBox.js +0 -275
- package/dist/esm/assets/scripts/datePicker.js +0 -699
- package/dist/esm/assets/scripts/featuredIcon.js +0 -90
- package/dist/esm/assets/scripts/fileInput/FileInput.js +0 -178
- package/dist/esm/assets/scripts/fileInput/FileInputModel.js +0 -241
- package/dist/esm/assets/scripts/fileInput/FileInputView.js +0 -450
- package/dist/esm/assets/scripts/fileInput/const/classNames.js +0 -25
- package/dist/esm/assets/scripts/fileInput/const/index.js +0 -2
- package/dist/esm/assets/scripts/fileInput/const/types.js +0 -7
- package/dist/esm/assets/scripts/fileInput/index.js +0 -9
- package/dist/esm/assets/scripts/imageFileInput/ImageFileInput.js +0 -182
- package/dist/esm/assets/scripts/imageFileInput/ImageFileInputModel.js +0 -250
- package/dist/esm/assets/scripts/imageFileInput/ImageFileInputView.js +0 -349
- package/dist/esm/assets/scripts/imageFileInput/const/classNames.js +0 -30
- package/dist/esm/assets/scripts/imageFileInput/const/index.js +0 -2
- package/dist/esm/assets/scripts/imageFileInput/const/types.js +0 -7
- package/dist/esm/assets/scripts/imageFileInput/index.js +0 -9
- package/dist/esm/assets/scripts/index.js +0 -28
- package/dist/esm/assets/scripts/modal/Modal.js +0 -110
- package/dist/esm/assets/scripts/modal/ModalActions.js +0 -123
- package/dist/esm/assets/scripts/modal/ModalContent.js +0 -41
- package/dist/esm/assets/scripts/modal/ModalHeader.js +0 -110
- package/dist/esm/assets/scripts/modal/const/classNames.js +0 -31
- package/dist/esm/assets/scripts/modal/const/index.js +0 -2
- package/dist/esm/assets/scripts/modal/const/types.js +0 -1
- package/dist/esm/assets/scripts/modal/index.js +0 -15
- package/dist/esm/assets/scripts/modal/utils/contentUtils.js +0 -28
- package/dist/esm/assets/scripts/notification/FloatingNotification.js +0 -176
- package/dist/esm/assets/scripts/notification/FullWidthNotification.js +0 -115
- package/dist/esm/assets/scripts/notification/MessageNotification.js +0 -141
- package/dist/esm/assets/scripts/notification/Notification.js +0 -111
- package/dist/esm/assets/scripts/notification/const/classNames.js +0 -44
- package/dist/esm/assets/scripts/notification/const/icons.js +0 -39
- package/dist/esm/assets/scripts/notification/const/index.js +0 -4
- package/dist/esm/assets/scripts/notification/const/sizes.js +0 -48
- package/dist/esm/assets/scripts/notification/const/types.js +0 -8
- package/dist/esm/assets/scripts/notification/index.js +0 -11
- package/dist/esm/assets/scripts/notification/utils.js +0 -79
- package/dist/esm/assets/scripts/progress-bar/ProgressBar.js +0 -267
- package/dist/esm/assets/scripts/progress-bar/index.js +0 -1
- package/dist/esm/assets/scripts/selectBox.js +0 -314
- package/dist/esm/assets/scripts/shared/ButtonCloseX.js +0 -38
- package/dist/esm/assets/scripts/tab.js +0 -35
- package/dist/esm/assets/scripts/tag/Tag.js +0 -263
- package/dist/esm/assets/scripts/tag/const/classNames.js +0 -16
- package/dist/esm/assets/scripts/tag/const/index.js +0 -3
- package/dist/esm/assets/scripts/tag/const/sizes.js +0 -7
- package/dist/esm/assets/scripts/tag/const/types.js +0 -1
- package/dist/esm/assets/scripts/tag/index.js +0 -9
- package/dist/esm/assets/scripts/tooltip/Tooltip.js +0 -375
- package/dist/esm/assets/scripts/tooltip/TooltipLayerManager.js +0 -79
- package/dist/esm/assets/scripts/tooltip/const/classNames.js +0 -23
- package/dist/esm/assets/scripts/tooltip/const/constants.js +0 -50
- package/dist/esm/assets/scripts/tooltip/const/icons.js +0 -9
- package/dist/esm/assets/scripts/tooltip/const/index.js +0 -4
- package/dist/esm/assets/scripts/tooltip/const/templates.js +0 -42
- package/dist/esm/assets/scripts/tooltip/const/types.js +0 -1
- package/dist/esm/assets/scripts/tooltip/index.js +0 -10
- package/dist/esm/assets/scripts/tooltip/utils.js +0 -35
- package/dist/esm/assets/scripts/utils/unifiedBox/DOMRenderer.js +0 -379
- package/dist/esm/assets/scripts/utils/unifiedBox/DropdownModel.js +0 -363
- package/dist/esm/assets/scripts/utils/unifiedBox/UnifiedBoxController.js +0 -676
- package/dist/esm/assets/scripts/utils/unifiedBox/UnifiedBoxManager.js +0 -706
- package/dist/types/assets/scripts/comboBox.d.ts +0 -91
- package/dist/types/assets/scripts/datePicker.d.ts +0 -87
- package/dist/types/assets/scripts/featuredIcon.d.ts +0 -23
- package/dist/types/assets/scripts/fileInput/FileInput.d.ts +0 -67
- package/dist/types/assets/scripts/fileInput/FileInputModel.d.ts +0 -70
- package/dist/types/assets/scripts/fileInput/FileInputView.d.ts +0 -77
- package/dist/types/assets/scripts/fileInput/const/classNames.d.ts +0 -17
- package/dist/types/assets/scripts/fileInput/const/index.d.ts +0 -3
- package/dist/types/assets/scripts/fileInput/const/types.d.ts +0 -132
- package/dist/types/assets/scripts/fileInput/index.d.ts +0 -4
- package/dist/types/assets/scripts/imageFileInput/ImageFileInput.d.ts +0 -64
- package/dist/types/assets/scripts/imageFileInput/ImageFileInputModel.d.ts +0 -74
- package/dist/types/assets/scripts/imageFileInput/ImageFileInputView.d.ts +0 -80
- package/dist/types/assets/scripts/imageFileInput/const/classNames.d.ts +0 -20
- package/dist/types/assets/scripts/imageFileInput/const/index.d.ts +0 -3
- package/dist/types/assets/scripts/imageFileInput/const/types.d.ts +0 -126
- package/dist/types/assets/scripts/imageFileInput/index.d.ts +0 -4
- package/dist/types/assets/scripts/index.d.ts +0 -33
- package/dist/types/assets/scripts/modal/Modal.d.ts +0 -28
- package/dist/types/assets/scripts/modal/ModalActions.d.ts +0 -19
- package/dist/types/assets/scripts/modal/ModalContent.d.ts +0 -14
- package/dist/types/assets/scripts/modal/ModalHeader.d.ts +0 -16
- package/dist/types/assets/scripts/modal/const/classNames.d.ts +0 -23
- package/dist/types/assets/scripts/modal/const/index.d.ts +0 -3
- package/dist/types/assets/scripts/modal/const/types.d.ts +0 -62
- package/dist/types/assets/scripts/modal/index.d.ts +0 -8
- package/dist/types/assets/scripts/modal/utils/contentUtils.d.ts +0 -11
- package/dist/types/assets/scripts/notification/FloatingNotification.d.ts +0 -25
- package/dist/types/assets/scripts/notification/FullWidthNotification.d.ts +0 -22
- package/dist/types/assets/scripts/notification/MessageNotification.d.ts +0 -23
- package/dist/types/assets/scripts/notification/Notification.d.ts +0 -22
- package/dist/types/assets/scripts/notification/const/classNames.d.ts +0 -44
- package/dist/types/assets/scripts/notification/const/icons.d.ts +0 -26
- package/dist/types/assets/scripts/notification/const/index.d.ts +0 -6
- package/dist/types/assets/scripts/notification/const/sizes.d.ts +0 -33
- package/dist/types/assets/scripts/notification/const/types.d.ts +0 -20
- package/dist/types/assets/scripts/notification/index.d.ts +0 -8
- package/dist/types/assets/scripts/notification/utils.d.ts +0 -9
- package/dist/types/assets/scripts/progress-bar/ProgressBar.d.ts +0 -68
- package/dist/types/assets/scripts/progress-bar/index.d.ts +0 -2
- package/dist/types/assets/scripts/selectBox.d.ts +0 -77
- package/dist/types/assets/scripts/shared/ButtonCloseX.d.ts +0 -6
- package/dist/types/assets/scripts/tab.d.ts +0 -8
- package/dist/types/assets/scripts/tag/Tag.d.ts +0 -28
- package/dist/types/assets/scripts/tag/const/classNames.d.ts +0 -12
- package/dist/types/assets/scripts/tag/const/index.d.ts +0 -4
- package/dist/types/assets/scripts/tag/const/sizes.d.ts +0 -8
- package/dist/types/assets/scripts/tag/const/types.d.ts +0 -34
- package/dist/types/assets/scripts/tag/index.d.ts +0 -4
- package/dist/types/assets/scripts/tooltip/Tooltip.d.ts +0 -55
- package/dist/types/assets/scripts/tooltip/TooltipLayerManager.d.ts +0 -22
- package/dist/types/assets/scripts/tooltip/const/classNames.d.ts +0 -18
- package/dist/types/assets/scripts/tooltip/const/constants.d.ts +0 -34
- package/dist/types/assets/scripts/tooltip/const/icons.d.ts +0 -5
- package/dist/types/assets/scripts/tooltip/const/index.d.ts +0 -6
- package/dist/types/assets/scripts/tooltip/const/templates.d.ts +0 -17
- package/dist/types/assets/scripts/tooltip/const/types.d.ts +0 -15
- package/dist/types/assets/scripts/tooltip/index.d.ts +0 -7
- package/dist/types/assets/scripts/tooltip/utils.d.ts +0 -3
- package/dist/types/assets/scripts/utils/unifiedBox/DOMRenderer.d.ts +0 -108
- package/dist/types/assets/scripts/utils/unifiedBox/DropdownModel.d.ts +0 -158
- package/dist/types/assets/scripts/utils/unifiedBox/UnifiedBoxController.d.ts +0 -171
- package/dist/types/assets/scripts/utils/unifiedBox/UnifiedBoxManager.d.ts +0 -99
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "image-file-input",
|
|
3
|
+
"description": "NCDS Image File Input 컴포넌트",
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"props": {
|
|
6
|
+
"accept": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"required": false
|
|
9
|
+
},
|
|
10
|
+
"buttonLabel": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"required": false,
|
|
13
|
+
"default": "파일 찾기"
|
|
14
|
+
},
|
|
15
|
+
"hintItems": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"required": false
|
|
18
|
+
},
|
|
19
|
+
"hintText": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"required": false
|
|
22
|
+
},
|
|
23
|
+
"imagePreviewTooltipLabel": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"required": false,
|
|
26
|
+
"default": "이미지 업로드"
|
|
27
|
+
},
|
|
28
|
+
"isRequired": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"required": false
|
|
31
|
+
},
|
|
32
|
+
"maxFileCount": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"required": false
|
|
35
|
+
},
|
|
36
|
+
"maxFileSize": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"required": false
|
|
39
|
+
},
|
|
40
|
+
"onChange": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"required": false
|
|
43
|
+
},
|
|
44
|
+
"onFail": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"required": false
|
|
47
|
+
},
|
|
48
|
+
"onFileSelect": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"required": false
|
|
51
|
+
},
|
|
52
|
+
"showFileInput": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"required": false,
|
|
55
|
+
"default": true
|
|
56
|
+
},
|
|
57
|
+
"showFileTagList": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"required": false,
|
|
60
|
+
"default": true
|
|
61
|
+
},
|
|
62
|
+
"showHelpIcon": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"required": false
|
|
65
|
+
},
|
|
66
|
+
"showHintText": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"required": false,
|
|
69
|
+
"default": true
|
|
70
|
+
},
|
|
71
|
+
"value": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"required": false
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"html": {
|
|
77
|
+
"default": "<div class=\"ncua-file-input\"></div>"
|
|
78
|
+
},
|
|
79
|
+
"bemClasses": [
|
|
80
|
+
"ncua-file-input",
|
|
81
|
+
"ncua-file-input__hint-item",
|
|
82
|
+
"ncua-file-input__hint-list",
|
|
83
|
+
"ncua-file-input__input-container",
|
|
84
|
+
"ncua-file-input__label",
|
|
85
|
+
"ncua-image-file-input",
|
|
86
|
+
"ncua-image-file-input__empty-slot-wrapper",
|
|
87
|
+
"ncua-image-file-input__preview-container",
|
|
88
|
+
"ncua-image-file-input__previews",
|
|
89
|
+
"ncua-input__help-icon"
|
|
90
|
+
],
|
|
91
|
+
"usage": {
|
|
92
|
+
"import": "import { ImageFileInput } from '@ncds/ui-admin';",
|
|
93
|
+
"react": {
|
|
94
|
+
"default": "<ImageFileInput />"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "input",
|
|
3
|
+
"description": "NCDS Input 컴포넌트",
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"props": {
|
|
6
|
+
"destructive": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"required": false
|
|
9
|
+
},
|
|
10
|
+
"disabled": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"required": false
|
|
13
|
+
},
|
|
14
|
+
"hintText": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"required": false
|
|
17
|
+
},
|
|
18
|
+
"label": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"required": false
|
|
21
|
+
},
|
|
22
|
+
"leadingElement": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"required": false
|
|
25
|
+
},
|
|
26
|
+
"maxLength": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"required": false
|
|
29
|
+
},
|
|
30
|
+
"required": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"required": false
|
|
33
|
+
},
|
|
34
|
+
"showHelpIcon": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"required": false
|
|
37
|
+
},
|
|
38
|
+
"showTextCount": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"required": false
|
|
41
|
+
},
|
|
42
|
+
"size": {
|
|
43
|
+
"type": "enum",
|
|
44
|
+
"required": false,
|
|
45
|
+
"values": ["sm", "xs"],
|
|
46
|
+
"default": "xs"
|
|
47
|
+
},
|
|
48
|
+
"trailingElement": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"required": false
|
|
51
|
+
},
|
|
52
|
+
"validation": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"required": false
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"html": {
|
|
58
|
+
"default": "<div class=\"ncua-input ncua-input--xs\"><div class=\"ncua-input__content-wrap\"><div class=\"ncua-input__content\"><div class=\"ncua-input__field ncua-input__field--xs\"><input type=\"text\" placeholder=\"텍스트를 입력하세요\"/></div></div></div></div>",
|
|
59
|
+
"size:sm": "<div class=\"ncua-input ncua-input--sm\"><div class=\"ncua-input__content-wrap\"><div class=\"ncua-input__content\"><div class=\"ncua-input__field ncua-input__field--sm\"><input type=\"text\" placeholder=\"텍스트를 입력하세요\"/></div></div></div></div>",
|
|
60
|
+
"size:md": "<div class=\"ncua-input ncua-input--md\"><div class=\"ncua-input__content-wrap\"><div class=\"ncua-input__content\"><div class=\"ncua-input__field ncua-input__field--md\"><input type=\"text\" placeholder=\"텍스트를 입력하세요\"/></div></div></div></div>"
|
|
61
|
+
},
|
|
62
|
+
"bemClasses": [
|
|
63
|
+
"ncua-input",
|
|
64
|
+
"ncua-input--sm",
|
|
65
|
+
"ncua-input--textarea",
|
|
66
|
+
"ncua-input--xs",
|
|
67
|
+
"ncua-input__",
|
|
68
|
+
"ncua-input__button",
|
|
69
|
+
"ncua-input__clear",
|
|
70
|
+
"ncua-input__clear-icon",
|
|
71
|
+
"ncua-input__content",
|
|
72
|
+
"ncua-input__content-wrap",
|
|
73
|
+
"ncua-input__destructive-icon",
|
|
74
|
+
"ncua-input__field",
|
|
75
|
+
"ncua-input__field-text-count",
|
|
76
|
+
"ncua-input__field-text-count-current",
|
|
77
|
+
"ncua-input__help-icon",
|
|
78
|
+
"ncua-input__hint-text",
|
|
79
|
+
"ncua-input__icon-wrap",
|
|
80
|
+
"ncua-input__icon-wrap ncua-input__right-icon",
|
|
81
|
+
"ncua-input__label",
|
|
82
|
+
"ncua-input__leading-text",
|
|
83
|
+
"ncua-input__leading-text-wrap",
|
|
84
|
+
"ncua-input__number",
|
|
85
|
+
"ncua-input__password-icon",
|
|
86
|
+
"ncua-input__right-icon",
|
|
87
|
+
"ncua-input__stepper-button-group",
|
|
88
|
+
"ncua-input__text-count",
|
|
89
|
+
"ncua-input__text-count-text",
|
|
90
|
+
"ncua-input__text-count-text-count",
|
|
91
|
+
"ncua-input__text-count-wrap",
|
|
92
|
+
"ncua-input__textarea",
|
|
93
|
+
"ncua-input__trailing-button",
|
|
94
|
+
"ncua-input__validation-icon"
|
|
95
|
+
],
|
|
96
|
+
"usage": {
|
|
97
|
+
"import": "import { Input } from '@ncds/ui-admin';",
|
|
98
|
+
"react": {
|
|
99
|
+
"default": "<Input />",
|
|
100
|
+
"size:sm": "<Input size=\"sm\" />",
|
|
101
|
+
"size:xs": "<Input size=\"xs\" />"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "modal",
|
|
3
|
+
"description": "NCDS Modal 컴포넌트",
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"props": {
|
|
6
|
+
"children": {
|
|
7
|
+
"type": "ReactNode",
|
|
8
|
+
"required": true
|
|
9
|
+
},
|
|
10
|
+
"className": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"required": false
|
|
13
|
+
},
|
|
14
|
+
"closeOnBackdropClick": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"required": false,
|
|
17
|
+
"default": false
|
|
18
|
+
},
|
|
19
|
+
"closeOnEsc": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"required": false,
|
|
22
|
+
"default": true
|
|
23
|
+
},
|
|
24
|
+
"isOpen": {
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"required": true
|
|
27
|
+
},
|
|
28
|
+
"onClose": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"required": true
|
|
31
|
+
},
|
|
32
|
+
"size": {
|
|
33
|
+
"type": "enum",
|
|
34
|
+
"required": false,
|
|
35
|
+
"values": ["2xl", "lg", "md", "sm", "xl"],
|
|
36
|
+
"default": "md"
|
|
37
|
+
},
|
|
38
|
+
"zIndex": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"required": false
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"html": {
|
|
44
|
+
"default": "<div class=\"ncua-modal\"></div>",
|
|
45
|
+
"size:2xl": "<div class=\"ncua-modal ncua-modal--2xl\"></div>",
|
|
46
|
+
"size:lg": "<div class=\"ncua-modal ncua-modal--lg\"></div>",
|
|
47
|
+
"size:md": "<div class=\"ncua-modal ncua-modal--md\"></div>",
|
|
48
|
+
"size:sm": "<div class=\"ncua-modal ncua-modal--sm\"></div>",
|
|
49
|
+
"size:xl": "<div class=\"ncua-modal ncua-modal--xl\"></div>"
|
|
50
|
+
},
|
|
51
|
+
"bemClasses": [
|
|
52
|
+
"ncua-modal",
|
|
53
|
+
"ncua-modal--2xl",
|
|
54
|
+
"ncua-modal--lg",
|
|
55
|
+
"ncua-modal--md",
|
|
56
|
+
"ncua-modal--sm",
|
|
57
|
+
"ncua-modal--xl",
|
|
58
|
+
"ncua-modal-backdrop",
|
|
59
|
+
"ncua-modal__actions",
|
|
60
|
+
"ncua-modal__actions-checkbox",
|
|
61
|
+
"ncua-modal__actions-checkbox-content",
|
|
62
|
+
"ncua-modal__actions-divider",
|
|
63
|
+
"ncua-modal__actions-wrapper",
|
|
64
|
+
"ncua-modal__actions-wrapper--checkbox",
|
|
65
|
+
"ncua-modal__close-button",
|
|
66
|
+
"ncua-modal__content",
|
|
67
|
+
"ncua-modal__header",
|
|
68
|
+
"ncua-modal__header--close-button",
|
|
69
|
+
"ncua-modal__header-divider",
|
|
70
|
+
"ncua-modal__title",
|
|
71
|
+
"ncua-modal__title-subtitle",
|
|
72
|
+
"ncua-modal__title-text"
|
|
73
|
+
],
|
|
74
|
+
"usage": {
|
|
75
|
+
"import": "import { Modal } from '@ncds/ui-admin';",
|
|
76
|
+
"react": {
|
|
77
|
+
"default": "<Modal children=\"예시\" isOpen onClose=\"\" />",
|
|
78
|
+
"size:2xl": "<Modal size=\"2xl\" children=\"예시\" isOpen onClose=\"\" />",
|
|
79
|
+
"size:lg": "<Modal size=\"lg\" children=\"예시\" isOpen onClose=\"\" />",
|
|
80
|
+
"size:md": "<Modal size=\"md\" children=\"예시\" isOpen onClose=\"\" />",
|
|
81
|
+
"size:sm": "<Modal size=\"sm\" children=\"예시\" isOpen onClose=\"\" />",
|
|
82
|
+
"size:xl": "<Modal size=\"xl\" children=\"예시\" isOpen onClose=\"\" />"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "notification",
|
|
3
|
+
"description": "NCDS Notification 컴포넌트",
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"props": {
|
|
6
|
+
"actions": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"required": false
|
|
9
|
+
},
|
|
10
|
+
"autoClose": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"required": false,
|
|
13
|
+
"default": 0
|
|
14
|
+
},
|
|
15
|
+
"className": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"required": false
|
|
18
|
+
},
|
|
19
|
+
"color": {
|
|
20
|
+
"type": "enum",
|
|
21
|
+
"required": false,
|
|
22
|
+
"values": ["error", "info", "neutral", "success", "warning"],
|
|
23
|
+
"default": "neutral"
|
|
24
|
+
},
|
|
25
|
+
"icon": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"required": false
|
|
28
|
+
},
|
|
29
|
+
"onClose": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"required": false
|
|
32
|
+
},
|
|
33
|
+
"onHidePermanently": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"required": false
|
|
36
|
+
},
|
|
37
|
+
"supportingText": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"required": false
|
|
40
|
+
},
|
|
41
|
+
"title": {
|
|
42
|
+
"type": "ReactNode",
|
|
43
|
+
"required": true
|
|
44
|
+
},
|
|
45
|
+
"type": {
|
|
46
|
+
"type": "enum",
|
|
47
|
+
"required": false,
|
|
48
|
+
"values": ["floating", "full-width", "message"],
|
|
49
|
+
"default": "floating"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"html": {
|
|
53
|
+
"default": "<div class=\"ncua-floating-notification ncua-floating-notification--neutral\" role=\"alert\" message=\"알림 메시지\"><div class=\"ncua-floating-notification__content\"><div class=\"ncua-floating-notification__container\"><div class=\"ncua-featured-icon ncua-featured-icon--dark-circle ncua-featured-icon--neutral ncua-featured-icon--sm\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"none\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.377 15.616 2.72 21.273m8.974-14.631-1.56 1.56a2 2 0 0 1-.264.242 1 1 0 0 1-.207.111c-.082.032-.17.05-.347.085l-3.665.733c-.952.19-1.428.286-1.65.537a1 1 0 0 0-.243.8c.046.333.39.677 1.076 1.363l7.086 7.086c.686.687 1.03 1.03 1.362 1.076a1 1 0 0 0 .801-.242c.251-.223.346-.7.537-1.651l.733-3.665c.035-.176.053-.265.085-.347a1 1 0 0 1 .11-.207c.051-.072.115-.136.242-.263l1.561-1.561c.082-.082.122-.122.167-.158q.06-.047.126-.085c.05-.029.103-.051.208-.097l2.495-1.069c.727-.312 1.091-.467 1.256-.72a1 1 0 0 0 .144-.747c-.06-.295-.34-.575-.9-1.135l-5.142-5.143c-.56-.56-.84-.84-1.135-.9a1 1 0 0 0-.748.145c-.252.165-.407.529-.72 1.256l-1.068 2.495a2 2 0 0 1-.097.208 1 1 0 0 1-.085.126 2 2 0 0 1-.158.167\"></path></svg></div><div class=\"ncua-floating-notification__text-container\"><div class=\"ncua-floating-notification__title-wrapper\"><span class=\"ncua-floating-notification__title\"></span></div></div></div></div></div>"
|
|
54
|
+
},
|
|
55
|
+
"bemClasses": [
|
|
56
|
+
"ncua-floating-notification",
|
|
57
|
+
"ncua-floating-notification--error",
|
|
58
|
+
"ncua-floating-notification--floating",
|
|
59
|
+
"ncua-floating-notification--full-width",
|
|
60
|
+
"ncua-floating-notification--info",
|
|
61
|
+
"ncua-floating-notification--message",
|
|
62
|
+
"ncua-floating-notification--neutral",
|
|
63
|
+
"ncua-floating-notification--success",
|
|
64
|
+
"ncua-floating-notification--warning",
|
|
65
|
+
"ncua-floating-notification__actions",
|
|
66
|
+
"ncua-floating-notification__close-button",
|
|
67
|
+
"ncua-floating-notification__container",
|
|
68
|
+
"ncua-floating-notification__content",
|
|
69
|
+
"ncua-floating-notification__supporting-text",
|
|
70
|
+
"ncua-floating-notification__text-container",
|
|
71
|
+
"ncua-floating-notification__title",
|
|
72
|
+
"ncua-floating-notification__title-wrapper",
|
|
73
|
+
"ncua-full-width-notification",
|
|
74
|
+
"ncua-full-width-notification__actions",
|
|
75
|
+
"ncua-full-width-notification__actions-container",
|
|
76
|
+
"ncua-full-width-notification__close-button",
|
|
77
|
+
"ncua-full-width-notification__container",
|
|
78
|
+
"ncua-full-width-notification__content",
|
|
79
|
+
"ncua-full-width-notification__content-wrapper",
|
|
80
|
+
"ncua-full-width-notification__icon",
|
|
81
|
+
"ncua-full-width-notification__link",
|
|
82
|
+
"ncua-full-width-notification__supporting-text",
|
|
83
|
+
"ncua-full-width-notification__text-container",
|
|
84
|
+
"ncua-full-width-notification__title",
|
|
85
|
+
"ncua-message-notification",
|
|
86
|
+
"ncua-message-notification__actions",
|
|
87
|
+
"ncua-message-notification__actions-container",
|
|
88
|
+
"ncua-message-notification__close-button",
|
|
89
|
+
"ncua-message-notification__container",
|
|
90
|
+
"ncua-message-notification__content",
|
|
91
|
+
"ncua-message-notification__content-wrapper",
|
|
92
|
+
"ncua-message-notification__footer-container",
|
|
93
|
+
"ncua-message-notification__hide-link",
|
|
94
|
+
"ncua-message-notification__icon",
|
|
95
|
+
"ncua-message-notification__supporting-text",
|
|
96
|
+
"ncua-message-notification__text-container",
|
|
97
|
+
"ncua-message-notification__title",
|
|
98
|
+
"ncua-notification__action-button",
|
|
99
|
+
"ncua-notification__action-button--link",
|
|
100
|
+
"ncua-notification__action-button--text"
|
|
101
|
+
],
|
|
102
|
+
"usage": {
|
|
103
|
+
"import": "import { Notification } from '@ncds/ui-admin';",
|
|
104
|
+
"react": {
|
|
105
|
+
"default": "<Notification title=\"예시\" />",
|
|
106
|
+
"color:error": "<Notification color=\"error\" title=\"예시\" />",
|
|
107
|
+
"color:info": "<Notification color=\"info\" title=\"예시\" />",
|
|
108
|
+
"color:neutral": "<Notification color=\"neutral\" title=\"예시\" />",
|
|
109
|
+
"color:success": "<Notification color=\"success\" title=\"예시\" />",
|
|
110
|
+
"color:warning": "<Notification color=\"warning\" title=\"예시\" />",
|
|
111
|
+
"type:floating": "<Notification type=\"floating\" title=\"예시\" />",
|
|
112
|
+
"type:full-width": "<Notification type=\"full-width\" title=\"예시\" />",
|
|
113
|
+
"type:message": "<Notification type=\"message\" title=\"예시\" />"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "number-input",
|
|
3
|
+
"description": "NCDS Number Input 컴포넌트",
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"props": {
|
|
6
|
+
"destructive": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"required": false
|
|
9
|
+
},
|
|
10
|
+
"disabled": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"required": false
|
|
13
|
+
},
|
|
14
|
+
"hintText": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"required": false
|
|
17
|
+
},
|
|
18
|
+
"label": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"required": false
|
|
21
|
+
},
|
|
22
|
+
"leadingElement": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"required": false
|
|
25
|
+
},
|
|
26
|
+
"maxLength": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"required": false
|
|
29
|
+
},
|
|
30
|
+
"maxValue": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"required": false
|
|
33
|
+
},
|
|
34
|
+
"minValue": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"required": false
|
|
37
|
+
},
|
|
38
|
+
"required": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"required": false
|
|
41
|
+
},
|
|
42
|
+
"showHelpIcon": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"required": false
|
|
45
|
+
},
|
|
46
|
+
"showTextCount": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"required": false
|
|
49
|
+
},
|
|
50
|
+
"size": {
|
|
51
|
+
"type": "enum",
|
|
52
|
+
"required": false,
|
|
53
|
+
"values": ["sm", "xs"],
|
|
54
|
+
"default": "xs"
|
|
55
|
+
},
|
|
56
|
+
"step": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"required": false,
|
|
59
|
+
"default": 1
|
|
60
|
+
},
|
|
61
|
+
"stepperPosition": {
|
|
62
|
+
"type": "enum",
|
|
63
|
+
"required": true,
|
|
64
|
+
"values": ["leading", "trailing"]
|
|
65
|
+
},
|
|
66
|
+
"trailingElement": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"required": false
|
|
69
|
+
},
|
|
70
|
+
"validation": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"required": false
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"html": {
|
|
76
|
+
"default": "<div class=\"ncua-input\"></div>",
|
|
77
|
+
"size:sm": "<div class=\"ncua-input ncua-input--sm\"></div>",
|
|
78
|
+
"size:xs": "<div class=\"ncua-input ncua-input--xs\"></div>",
|
|
79
|
+
"stepperPosition:leading": "<div class=\"ncua-input ncua-input--leading\"></div>",
|
|
80
|
+
"stepperPosition:trailing": "<div class=\"ncua-input ncua-input--trailing\"></div>"
|
|
81
|
+
},
|
|
82
|
+
"bemClasses": [
|
|
83
|
+
"ncua-input",
|
|
84
|
+
"ncua-input--leading",
|
|
85
|
+
"ncua-input--sm",
|
|
86
|
+
"ncua-input--textarea",
|
|
87
|
+
"ncua-input--trailing",
|
|
88
|
+
"ncua-input--xs",
|
|
89
|
+
"ncua-input__",
|
|
90
|
+
"ncua-input__button",
|
|
91
|
+
"ncua-input__clear",
|
|
92
|
+
"ncua-input__clear-icon",
|
|
93
|
+
"ncua-input__content",
|
|
94
|
+
"ncua-input__content-wrap",
|
|
95
|
+
"ncua-input__destructive-icon",
|
|
96
|
+
"ncua-input__field",
|
|
97
|
+
"ncua-input__field-text-count",
|
|
98
|
+
"ncua-input__field-text-count-current",
|
|
99
|
+
"ncua-input__help-icon",
|
|
100
|
+
"ncua-input__hint-text",
|
|
101
|
+
"ncua-input__icon-wrap",
|
|
102
|
+
"ncua-input__icon-wrap ncua-input__right-icon",
|
|
103
|
+
"ncua-input__label",
|
|
104
|
+
"ncua-input__leading-text",
|
|
105
|
+
"ncua-input__leading-text-wrap",
|
|
106
|
+
"ncua-input__number",
|
|
107
|
+
"ncua-input__password-icon",
|
|
108
|
+
"ncua-input__right-icon",
|
|
109
|
+
"ncua-input__stepper-button-group",
|
|
110
|
+
"ncua-input__text-count",
|
|
111
|
+
"ncua-input__text-count-text",
|
|
112
|
+
"ncua-input__text-count-text-count",
|
|
113
|
+
"ncua-input__text-count-wrap",
|
|
114
|
+
"ncua-input__textarea",
|
|
115
|
+
"ncua-input__trailing-button",
|
|
116
|
+
"ncua-input__validation-icon"
|
|
117
|
+
],
|
|
118
|
+
"usage": {
|
|
119
|
+
"import": "import { NumberInput } from '@ncds/ui-admin';",
|
|
120
|
+
"react": {
|
|
121
|
+
"default": "<NumberInput stepperPosition=\"leading\" />",
|
|
122
|
+
"size:sm": "<NumberInput size=\"sm\" stepperPosition=\"leading\" />",
|
|
123
|
+
"size:xs": "<NumberInput size=\"xs\" stepperPosition=\"leading\" />",
|
|
124
|
+
"stepperPosition:leading": "<NumberInput stepperPosition=\"leading\" />",
|
|
125
|
+
"stepperPosition:trailing": "<NumberInput stepperPosition=\"trailing\" />"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pagination",
|
|
3
|
+
"description": "NCDS Pagination 컴포넌트",
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"props": {
|
|
6
|
+
"breakPoint": {
|
|
7
|
+
"type": "enum",
|
|
8
|
+
"required": false,
|
|
9
|
+
"values": ["mo", "pc"],
|
|
10
|
+
"default": "pc"
|
|
11
|
+
},
|
|
12
|
+
"className": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"required": false,
|
|
15
|
+
"default": ""
|
|
16
|
+
},
|
|
17
|
+
"currentPage": {
|
|
18
|
+
"type": "number",
|
|
19
|
+
"required": true
|
|
20
|
+
},
|
|
21
|
+
"itemCountPerPage": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"required": false,
|
|
24
|
+
"default": 10
|
|
25
|
+
},
|
|
26
|
+
"onPageChange": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"required": false
|
|
29
|
+
},
|
|
30
|
+
"pageCount": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"required": false,
|
|
33
|
+
"default": 10
|
|
34
|
+
},
|
|
35
|
+
"totalCount": {
|
|
36
|
+
"type": "number",
|
|
37
|
+
"required": true
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"html": {
|
|
41
|
+
"default": "<div class=\"ncua-pagination ncua-pagination--pc\"><ul class=\"ncua-pagination__list\"><li class=\"ncua-pagination__item\"><button class=\"ncua-pagination__page-num is-current\">1</button></li><li class=\"ncua-pagination__item\"><button class=\"ncua-pagination__page-num\">2</button></li><li class=\"ncua-pagination__item\"><button class=\"ncua-pagination__page-num\">3</button></li><li class=\"ncua-pagination__item\"><button class=\"ncua-pagination__page-num\">4</button></li><li class=\"ncua-pagination__item\"><button class=\"ncua-pagination__page-num\">5</button></li><li class=\"ncua-pagination__item\"><button class=\"ncua-pagination__page-num\">6</button></li><li class=\"ncua-pagination__item\"><button class=\"ncua-pagination__page-num\">7</button></li><li class=\"ncua-pagination__item\"><button class=\"ncua-pagination__page-num\">8</button></li><li class=\"ncua-pagination__item\"><button class=\"ncua-pagination__page-num\">9</button></li><li class=\"ncua-pagination__item\"><button class=\"ncua-pagination__page-num\">10</button></li></ul><p class=\"ncua-pagination__page-info\"><em class=\"ncua-pagination__current-num\">1</em> / 10</p></div>"
|
|
42
|
+
},
|
|
43
|
+
"bemClasses": [
|
|
44
|
+
"ncua-pagination",
|
|
45
|
+
"ncua-pagination--mo",
|
|
46
|
+
"ncua-pagination--pc",
|
|
47
|
+
"ncua-pagination__before",
|
|
48
|
+
"ncua-pagination__current-num",
|
|
49
|
+
"ncua-pagination__first",
|
|
50
|
+
"ncua-pagination__item",
|
|
51
|
+
"ncua-pagination__last",
|
|
52
|
+
"ncua-pagination__list",
|
|
53
|
+
"ncua-pagination__next",
|
|
54
|
+
"ncua-pagination__page-info",
|
|
55
|
+
"ncua-pagination__page-num"
|
|
56
|
+
],
|
|
57
|
+
"usage": {
|
|
58
|
+
"import": "import { Pagination } from '@ncds/ui-admin';",
|
|
59
|
+
"react": {
|
|
60
|
+
"default": "<Pagination currentPage={0} totalCount={0} />",
|
|
61
|
+
"breakPoint:mo": "<Pagination breakPoint=\"mo\" currentPage={0} totalCount={0} />",
|
|
62
|
+
"breakPoint:pc": "<Pagination breakPoint=\"pc\" currentPage={0} totalCount={0} />"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "password-input",
|
|
3
|
+
"description": "NCDS Password Input 컴포넌트",
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"props": {},
|
|
6
|
+
"html": {
|
|
7
|
+
"default": "<div class=\"ncua-input\"></div>"
|
|
8
|
+
},
|
|
9
|
+
"bemClasses": [
|
|
10
|
+
"ncua-input",
|
|
11
|
+
"ncua-input--textarea",
|
|
12
|
+
"ncua-input__",
|
|
13
|
+
"ncua-input__button",
|
|
14
|
+
"ncua-input__clear",
|
|
15
|
+
"ncua-input__clear-icon",
|
|
16
|
+
"ncua-input__content",
|
|
17
|
+
"ncua-input__content-wrap",
|
|
18
|
+
"ncua-input__destructive-icon",
|
|
19
|
+
"ncua-input__field",
|
|
20
|
+
"ncua-input__field-text-count",
|
|
21
|
+
"ncua-input__field-text-count-current",
|
|
22
|
+
"ncua-input__help-icon",
|
|
23
|
+
"ncua-input__hint-text",
|
|
24
|
+
"ncua-input__icon-wrap",
|
|
25
|
+
"ncua-input__icon-wrap ncua-input__right-icon",
|
|
26
|
+
"ncua-input__label",
|
|
27
|
+
"ncua-input__leading-text",
|
|
28
|
+
"ncua-input__leading-text-wrap",
|
|
29
|
+
"ncua-input__number",
|
|
30
|
+
"ncua-input__password-icon",
|
|
31
|
+
"ncua-input__right-icon",
|
|
32
|
+
"ncua-input__stepper-button-group",
|
|
33
|
+
"ncua-input__text-count",
|
|
34
|
+
"ncua-input__text-count-text",
|
|
35
|
+
"ncua-input__text-count-text-count",
|
|
36
|
+
"ncua-input__text-count-wrap",
|
|
37
|
+
"ncua-input__textarea",
|
|
38
|
+
"ncua-input__trailing-button",
|
|
39
|
+
"ncua-input__validation-icon"
|
|
40
|
+
],
|
|
41
|
+
"usage": {
|
|
42
|
+
"import": "import { PasswordInput } from '@ncds/ui-admin';",
|
|
43
|
+
"react": {
|
|
44
|
+
"default": "<PasswordInput />"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|