@ncds/ui-admin 1.6.2 → 1.6.4-alpha.0
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/dist/cjs/src/components/button/Button.js +0 -1
- package/dist/cjs/src/components/checkbox/CheckboxInput.js +0 -3
- package/dist/cjs/src/components/date-picker/DatePicker.js +3 -0
- package/dist/cjs/src/components/dot/Dot.js +1 -1
- package/dist/cjs/src/components/pagination/Pagination.js +1 -1
- package/dist/cjs/src/components/select/Select.js +0 -3
- package/dist/cjs/src/components/tab/HorizontalTab.js +1 -1
- package/dist/cjs/src/components/tab/VerticalTab.js +1 -1
- package/dist/esm/src/components/button/Button.js +0 -1
- package/dist/esm/src/components/checkbox/CheckboxInput.js +0 -3
- package/dist/esm/src/components/date-picker/DatePicker.js +3 -0
- package/dist/esm/src/components/dot/Dot.js +1 -1
- package/dist/esm/src/components/pagination/Pagination.js +1 -1
- package/dist/esm/src/components/select/Select.js +0 -3
- package/dist/esm/src/components/switch/Switch.js +1 -1
- package/dist/esm/src/components/tab/HorizontalTab.js +1 -1
- package/dist/esm/src/components/tab/VerticalTab.js +1 -1
- package/dist/types/src/components/badge/BadgeGroup.d.ts +1 -1
- package/dist/types/src/components/button/Button.d.ts +13 -13
- package/dist/types/src/components/checkbox/Checkbox.d.ts +1 -2
- package/dist/types/src/components/checkbox/CheckboxInput.d.ts +0 -3
- package/dist/types/src/components/combobox/ComboBox.d.ts +3 -4
- package/dist/types/src/components/dot/Dot.d.ts +1 -1
- package/dist/types/src/components/dropdown/Dropdown.d.ts +1 -5
- package/dist/types/src/components/input/InputBase.d.ts +3 -3
- package/dist/types/src/components/input/NumberInput.d.ts +1 -1
- package/dist/types/src/components/modal/Modal.d.ts +2 -2
- package/dist/types/src/components/pagination/Pagination.d.ts +1 -1
- package/dist/types/src/components/progress-bar/types.d.ts +1 -1
- package/dist/types/src/components/radio/Radio.d.ts +1 -2
- package/dist/types/src/components/select/Select.d.ts +3 -7
- package/dist/types/src/components/selectbox/SelectBox.d.ts +3 -4
- package/dist/types/src/components/spinner/Spinner.d.ts +1 -1
- package/dist/types/src/components/tag/Tag.d.ts +1 -1
- package/dist/ui-admin/assets/styles/style.css +19 -40
- package/mcp/bin/server.d.ts +1 -0
- package/mcp/bin/server.js +62 -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/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 +24 -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/selectbox/DOMRenderer.js +0 -384
- package/dist/cjs/assets/scripts/utils/selectbox/DropdownModel.js +0 -368
- package/dist/cjs/assets/scripts/utils/selectbox/SelectBoxController.js +0 -681
- package/dist/cjs/assets/scripts/utils/selectbox/UnifiedSelectBox.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/selectbox/DOMRenderer.js +0 -379
- package/dist/esm/assets/scripts/utils/selectbox/DropdownModel.js +0 -363
- package/dist/esm/assets/scripts/utils/selectbox/SelectBoxController.js +0 -676
- package/dist/esm/assets/scripts/utils/selectbox/UnifiedSelectBox.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/selectbox/DOMRenderer.d.ts +0 -108
- package/dist/types/assets/scripts/utils/selectbox/DropdownModel.d.ts +0 -158
- package/dist/types/assets/scripts/utils/selectbox/SelectBoxController.d.ts +0 -171
- package/dist/types/assets/scripts/utils/selectbox/UnifiedSelectBox.d.ts +0 -99
|
@@ -47,7 +47,6 @@ var dotSize = exports.dotSize = {
|
|
|
47
47
|
md: 'md'
|
|
48
48
|
};
|
|
49
49
|
var Button = exports.Button = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
50
|
-
// NOTE: 엘리먼트 종류에 따라 props의 타입이 달라지므로 분리
|
|
51
50
|
var _a = props.size,
|
|
52
51
|
size = _a === void 0 ? 'md' : _a,
|
|
53
52
|
children = props.children,
|
|
@@ -26,9 +26,6 @@ var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
|
26
26
|
}
|
|
27
27
|
return t;
|
|
28
28
|
};
|
|
29
|
-
/**
|
|
30
|
-
* 현재 destructive 속성은 현재 디자인 시스템에 존재하지 않으니 사용하지 않는 것을 권장합니다.
|
|
31
|
-
*/
|
|
32
29
|
var CheckboxInput = exports.CheckboxInput = /*#__PURE__*/(0, _react.forwardRef)(function (_a, ref) {
|
|
33
30
|
var _b = _a.size,
|
|
34
31
|
size = _b === void 0 ? 'xs' : _b,
|
|
@@ -133,6 +133,9 @@ var DatePicker = exports.DatePicker = /*#__PURE__*/(0, _react.forwardRef)(functi
|
|
|
133
133
|
var instance = flatpickrInstanceRef.current;
|
|
134
134
|
if (!instance) return;
|
|
135
135
|
if (!input || input.trim() === '') {
|
|
136
|
+
target.value = '';
|
|
137
|
+
instance.setDate('', false);
|
|
138
|
+
onChangeDate('');
|
|
136
139
|
return;
|
|
137
140
|
}
|
|
138
141
|
// 숫자가 최소 하나는 포함되어야 함 (하이픈만 있는 경우 방지)
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.Dot = void 0;
|
|
7
7
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
8
|
-
var _react = require("react");
|
|
9
8
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
9
|
+
var _react = require("react");
|
|
10
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
11
|
var __assign = void 0 && (void 0).__assign || function () {
|
|
12
12
|
__assign = Object.assign || function (t) {
|
|
@@ -27,9 +27,6 @@ var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
|
27
27
|
}
|
|
28
28
|
return t;
|
|
29
29
|
};
|
|
30
|
-
/**
|
|
31
|
-
* 현재 icon 속성은 현재 디자인 시스템에 존재하지 않으니 사용하지 않는 것을 권장합니다.
|
|
32
|
-
*/
|
|
33
30
|
var Select = exports.Select = /*#__PURE__*/(0, _react.forwardRef)(function (_a, ref) {
|
|
34
31
|
var placeholder = _a.placeholder,
|
|
35
32
|
_b = _a.disabledPlaceholder,
|
|
@@ -48,7 +48,7 @@ var HorizontalTab = function (_a) {
|
|
|
48
48
|
spaceBetween: getTabGap(type)
|
|
49
49
|
}, {
|
|
50
50
|
children: menus.map(function (menu) {
|
|
51
|
-
var isActive = 'href' in menu && menu.href ? menu.href
|
|
51
|
+
var isActive = 'href' in menu && menu.href ? menu.href === activeTab : menu.id === activeTab;
|
|
52
52
|
return (0, _jsxRuntime.jsx)(_react.SwiperSlide, __assign({
|
|
53
53
|
className: "ncua-horizontal-tab__item"
|
|
54
54
|
}, {
|
|
@@ -48,7 +48,7 @@ var VerticalTab = function (_a) {
|
|
|
48
48
|
className: (0, _classnames.default)('ncua-vertical-tab', "ncua-vertical-tab--".concat(type))
|
|
49
49
|
}, {
|
|
50
50
|
children: menus === null || menus === void 0 ? void 0 : menus.map(function (menu) {
|
|
51
|
-
var isActive = 'href' in menu && menu.href ? menu.href
|
|
51
|
+
var isActive = 'href' in menu && menu.href ? menu.href === activeTab : menu.id === activeTab;
|
|
52
52
|
return (0, _jsxRuntime.jsx)(_TabButton.TabButton, __assign({}, menu, {
|
|
53
53
|
isActive: isActive,
|
|
54
54
|
tabButtonType: type,
|
|
@@ -19,9 +19,6 @@ var __rest = this && this.__rest || function (s, e) {
|
|
|
19
19
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
20
20
|
import classNames from 'classnames';
|
|
21
21
|
import { forwardRef, useEffect, useRef } from 'react';
|
|
22
|
-
/**
|
|
23
|
-
* 현재 destructive 속성은 현재 디자인 시스템에 존재하지 않으니 사용하지 않는 것을 권장합니다.
|
|
24
|
-
*/
|
|
25
22
|
export var CheckboxInput = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
26
23
|
var _b = _a.size,
|
|
27
24
|
size = _b === void 0 ? 'xs' : _b,
|
|
@@ -124,6 +124,9 @@ export var DatePicker = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
124
124
|
var instance = flatpickrInstanceRef.current;
|
|
125
125
|
if (!instance) return;
|
|
126
126
|
if (!input || input.trim() === '') {
|
|
127
|
+
target.value = '';
|
|
128
|
+
instance.setDate('', false);
|
|
129
|
+
onChangeDate('');
|
|
127
130
|
return;
|
|
128
131
|
}
|
|
129
132
|
// 숫자가 최소 하나는 포함되어야 함 (하이픈만 있는 경우 방지)
|
|
@@ -17,8 +17,8 @@ var __rest = this && this.__rest || function (s, e) {
|
|
|
17
17
|
return t;
|
|
18
18
|
};
|
|
19
19
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
20
|
-
import { forwardRef } from 'react';
|
|
21
20
|
import classNames from 'classnames';
|
|
21
|
+
import { forwardRef } from 'react';
|
|
22
22
|
export var Dot = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
23
23
|
var _b = _a.color,
|
|
24
24
|
color = _b === void 0 ? 'success' : _b,
|
|
@@ -20,9 +20,6 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
20
20
|
import classNames from 'classnames';
|
|
21
21
|
import { forwardRef } from 'react';
|
|
22
22
|
import { HintText } from '../shared/hintText/HintText';
|
|
23
|
-
/**
|
|
24
|
-
* 현재 icon 속성은 현재 디자인 시스템에 존재하지 않으니 사용하지 않는 것을 권장합니다.
|
|
25
|
-
*/
|
|
26
23
|
export var Select = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
27
24
|
var placeholder = _a.placeholder,
|
|
28
25
|
_b = _a.disabledPlaceholder,
|
|
@@ -10,7 +10,7 @@ var __assign = this && this.__assign || function () {
|
|
|
10
10
|
};
|
|
11
11
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
12
|
import classNames from 'classnames';
|
|
13
|
-
import {
|
|
13
|
+
import { forwardRef, useState } from 'react';
|
|
14
14
|
export var Switch = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
15
15
|
var _b = _a.size,
|
|
16
16
|
size = _b === void 0 ? 'xs' : _b,
|
|
@@ -41,7 +41,7 @@ export var HorizontalTab = function (_a) {
|
|
|
41
41
|
spaceBetween: getTabGap(type)
|
|
42
42
|
}, {
|
|
43
43
|
children: menus.map(function (menu) {
|
|
44
|
-
var isActive = 'href' in menu && menu.href ? menu.href
|
|
44
|
+
var isActive = 'href' in menu && menu.href ? menu.href === activeTab : menu.id === activeTab;
|
|
45
45
|
return _jsx(SwiperSlide, __assign({
|
|
46
46
|
className: "ncua-horizontal-tab__item"
|
|
47
47
|
}, {
|
|
@@ -41,7 +41,7 @@ export var VerticalTab = function (_a) {
|
|
|
41
41
|
className: classNames('ncua-vertical-tab', "ncua-vertical-tab--".concat(type))
|
|
42
42
|
}, {
|
|
43
43
|
children: menus === null || menus === void 0 ? void 0 : menus.map(function (menu) {
|
|
44
|
-
var isActive = 'href' in menu && menu.href ? menu.href
|
|
44
|
+
var isActive = 'href' in menu && menu.href ? menu.href === activeTab : menu.id === activeTab;
|
|
45
45
|
return _jsx(TabButton, __assign({}, menu, {
|
|
46
46
|
isActive: isActive,
|
|
47
47
|
tabButtonType: type,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { type BadgeProps } from '.';
|
|
1
2
|
import type { ColorTone } from '../../../constant/color';
|
|
2
3
|
import type { Size } from '../../../constant/size';
|
|
3
4
|
import type { SideSlotType } from '../../types/side-slot';
|
|
4
|
-
import { type BadgeProps } from '.';
|
|
5
5
|
export type BadgeGroupSize = Extract<Size, 'xs' | 'sm'>;
|
|
6
6
|
export type BadgeGroupColor = Extract<ColorTone, 'neutral' | 'error' | 'warning' | 'success'>;
|
|
7
7
|
export type BadgeGroupProps = Omit<BadgeProps, 'type' | 'size' | 'color'> & {
|
|
@@ -2,7 +2,7 @@ import { type ComponentProps, type ReactNode } from 'react';
|
|
|
2
2
|
import type { Size } from '../../../constant/size';
|
|
3
3
|
import type { SideSlotType } from '../../types/side-slot';
|
|
4
4
|
import { type DotProps } from '../dot';
|
|
5
|
-
type
|
|
5
|
+
export type ButtonProps = Omit<ComponentProps<'button'>, 'ref'> & {
|
|
6
6
|
label: ReactNode;
|
|
7
7
|
className?: string;
|
|
8
8
|
hierarchy?: ButtonTheme;
|
|
@@ -14,21 +14,21 @@ type CommonButtonProps<T extends keyof HTMLElementTagNameMap> = Omit<ComponentPr
|
|
|
14
14
|
children?: ReactNode;
|
|
15
15
|
underline?: boolean;
|
|
16
16
|
};
|
|
17
|
-
type ButtonElementProps = CommonButtonProps<Exclude<keyof HTMLElementTagNameMap, 'a'>> & {
|
|
18
|
-
as?: Exclude<keyof HTMLElementTagNameMap, 'a'>;
|
|
19
|
-
href?: never;
|
|
20
|
-
};
|
|
21
|
-
type AnchorElementProps = CommonButtonProps<'a'> & {
|
|
22
|
-
as: 'a';
|
|
23
|
-
href: string;
|
|
24
|
-
target?: HTMLAnchorElement['target'];
|
|
25
|
-
};
|
|
26
|
-
export type ButtonProps = ButtonElementProps | AnchorElementProps;
|
|
27
17
|
export type ButtonTheme = 'primary' | 'secondary' | 'secondary-gray' | 'tertiary-gray' | 'tertiary' | 'text' | 'text-gray' | 'text-red' | 'destructive';
|
|
28
18
|
export type ButtonSize = Extract<Size, 'xxs' | 'xs' | 'sm' | 'md'>;
|
|
29
19
|
export declare const svgSize: Record<ButtonSize, number>;
|
|
30
20
|
export declare const iconOnlySvgSize: Record<ButtonSize, number>;
|
|
31
21
|
export declare const dotSize: Record<ButtonSize, DotProps['size']>;
|
|
32
|
-
export declare const Button: import("react").ForwardRefExoticComponent<
|
|
33
|
-
|
|
22
|
+
export declare const Button: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
23
|
+
label: ReactNode;
|
|
24
|
+
className?: string | undefined;
|
|
25
|
+
hierarchy?: ButtonTheme | undefined;
|
|
26
|
+
disabled?: boolean | undefined;
|
|
27
|
+
leadingIcon?: SideSlotType | undefined;
|
|
28
|
+
trailingIcon?: SideSlotType | undefined;
|
|
29
|
+
onlyIcon?: boolean | undefined;
|
|
30
|
+
size?: ButtonSize | undefined;
|
|
31
|
+
children?: ReactNode;
|
|
32
|
+
underline?: boolean | undefined;
|
|
33
|
+
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
34
34
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import { CheckboxInputProps } from './CheckboxInput';
|
|
3
3
|
export interface CheckboxProps extends Omit<CheckboxInputProps, 'type'> {
|
|
4
4
|
text?: ReactNode;
|
|
5
5
|
supportText?: string;
|
|
6
|
-
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
7
6
|
}
|
|
8
7
|
export declare const Checkbox: import("react").ForwardRefExoticComponent<CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
9
8
|
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -6,8 +6,5 @@ export interface CheckboxInputProps extends Omit<ComponentPropsWithRef<'input'>,
|
|
|
6
6
|
destructive?: boolean;
|
|
7
7
|
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
8
8
|
}
|
|
9
|
-
/**
|
|
10
|
-
* 현재 destructive 속성은 현재 디자인 시스템에 존재하지 않으니 사용하지 않는 것을 권장합니다.
|
|
11
|
-
*/
|
|
12
9
|
export declare const CheckboxInput: import("react").ForwardRefExoticComponent<CheckboxInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
13
10
|
//# sourceMappingURL=CheckboxInput.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { Size } from '@ncds/ui/constant/size';
|
|
2
|
-
import { type ComponentPropsWithRef,
|
|
2
|
+
import { type ComponentPropsWithRef, ReactNode } from 'react';
|
|
3
3
|
import type { UseFormRegisterReturn } from 'react-hook-form';
|
|
4
4
|
import type { OptionChangeHandler, OptionType, OptionValue } from '../../types/dropdown';
|
|
5
5
|
export declare const defaultMaxHeight = 275;
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
export interface ComboBoxProps extends Omit<ComponentPropsWithRef<'div'>, 'size' | 'onChange'> {
|
|
7
|
+
children?: ReactNode;
|
|
8
8
|
placeholder?: string;
|
|
9
9
|
hintText?: string;
|
|
10
10
|
destructive?: boolean;
|
|
@@ -24,5 +24,4 @@ export interface ComboBoxProps extends PropsWithChildren<BaseComboBoxProps> {
|
|
|
24
24
|
onEdit?: () => void;
|
|
25
25
|
}
|
|
26
26
|
export declare const ComboBox: import("react").ForwardRefExoticComponent<Omit<ComboBoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
27
|
-
export {};
|
|
28
27
|
//# sourceMappingURL=ComboBox.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
-
import { Size } from '../../../constant/size';
|
|
3
2
|
import { ColorTone } from '../../../constant/color';
|
|
3
|
+
import { Size } from '../../../constant/size';
|
|
4
4
|
export type DotColor = Extract<ColorTone, 'neutral' | 'error' | 'warning' | 'success' | 'blue' | 'pink' | 'disabled'>;
|
|
5
5
|
export type DotSize = Extract<Size, 'sm' | 'md' | 'lg'>;
|
|
6
6
|
export interface DotProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'color'> {
|
|
@@ -3,10 +3,6 @@ export type AvatarTrigger = {
|
|
|
3
3
|
type: 'avatar';
|
|
4
4
|
avatar: string;
|
|
5
5
|
};
|
|
6
|
-
export type TextTrigger = {
|
|
7
|
-
type: 'text';
|
|
8
|
-
title: string;
|
|
9
|
-
};
|
|
10
6
|
export type ButtonTrigger = {
|
|
11
7
|
type: 'button';
|
|
12
8
|
text: string;
|
|
@@ -44,7 +40,7 @@ export type TextHeader = {
|
|
|
44
40
|
};
|
|
45
41
|
export type DropdownHeaderType = AvatarHeader | TextHeader;
|
|
46
42
|
export type DropdownProps = {
|
|
47
|
-
trigger: AvatarTrigger |
|
|
43
|
+
trigger: AvatarTrigger | ButtonTrigger | IconTrigger | CustomTrigger;
|
|
48
44
|
opened?: boolean;
|
|
49
45
|
closeOnClickOutside?: boolean;
|
|
50
46
|
closeOnClickItem?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import { type ElementType } from 'react';
|
|
3
2
|
import { COLOR } from '../../../constant/color';
|
|
4
3
|
import type { Size } from '../../../constant/size';
|
|
4
|
+
import type { SlotIconComponent } from '../../types/side-slot';
|
|
5
5
|
interface InputSideButtonSlot {
|
|
6
6
|
type: 'button';
|
|
7
7
|
label: string;
|
|
@@ -14,8 +14,8 @@ interface InputSideTextSlot {
|
|
|
14
14
|
}
|
|
15
15
|
interface InputSideIconSlot {
|
|
16
16
|
type: 'icon';
|
|
17
|
-
icon:
|
|
18
|
-
size?: number
|
|
17
|
+
icon: SlotIconComponent;
|
|
18
|
+
size?: number;
|
|
19
19
|
color?: keyof typeof COLOR;
|
|
20
20
|
className?: string;
|
|
21
21
|
}
|
|
@@ -3,7 +3,7 @@ type NumberInputProps = InputBaseProps & {
|
|
|
3
3
|
minValue?: number;
|
|
4
4
|
maxValue?: number;
|
|
5
5
|
step?: number;
|
|
6
|
-
stepperPosition
|
|
6
|
+
stepperPosition: 'leading' | 'trailing';
|
|
7
7
|
};
|
|
8
8
|
export declare const NumberInput: import("react").ForwardRefExoticComponent<NumberInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
9
9
|
export {};
|
|
@@ -3,7 +3,7 @@ import type { SlotIconComponent } from '../../types/side-slot';
|
|
|
3
3
|
import { FeaturedIconColor, FeaturedIconTheme } from '../featured-icon';
|
|
4
4
|
export type ModalSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
5
5
|
export type ModalHeaderAlign = 'left' | 'center' | 'horizontal';
|
|
6
|
-
export type
|
|
6
|
+
export type ModalActionsAlign = 'left' | 'center' | 'right' | 'stretch';
|
|
7
7
|
export type ModalActionsLayout = 'vertical' | 'horizontal' | 'checkbox';
|
|
8
8
|
export type ModalProps = {
|
|
9
9
|
isOpen: boolean;
|
|
@@ -72,7 +72,7 @@ export type ModalActionsProps = {
|
|
|
72
72
|
children: ReactNode;
|
|
73
73
|
layout?: ModalActionsLayout;
|
|
74
74
|
showDivider?: boolean;
|
|
75
|
-
align?:
|
|
75
|
+
align?: ModalActionsAlign;
|
|
76
76
|
checkboxContent?: ReactNode;
|
|
77
77
|
};
|
|
78
78
|
//# sourceMappingURL=Modal.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type ProgressLabel = 'right' | 'bottom' | 'top-float' | 'bottom-float';
|
|
2
2
|
export interface ProgressSegment {
|
|
3
3
|
value: number;
|
|
4
|
-
color?:
|
|
4
|
+
color?: 'red' | 'green' | 'blue' | 'pink' | 'orange' | 'violet' | 'gray';
|
|
5
5
|
}
|
|
6
6
|
export interface ProcessedSegment extends ProgressSegment {
|
|
7
7
|
width: number;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import { RadioInputProps } from './RadioInput';
|
|
3
3
|
export interface RadioProps extends Omit<RadioInputProps, 'type'> {
|
|
4
4
|
text?: ReactNode;
|
|
5
5
|
supportText?: string;
|
|
6
|
-
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
7
6
|
}
|
|
8
7
|
export declare const Radio: import("react").ForwardRefExoticComponent<RadioProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
9
8
|
//# sourceMappingURL=Radio.d.ts.map
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Size } from '@ncds/ui/constant/size';
|
|
2
|
-
import { ComponentPropsWithRef,
|
|
2
|
+
import { ComponentPropsWithRef, ReactNode } from 'react';
|
|
3
3
|
import { UseFormRegisterReturn } from 'react-hook-form';
|
|
4
4
|
import { OptionType } from '../../types/dropdown';
|
|
5
|
-
|
|
6
|
-
export interface SelectProps extends PropsWithChildren<BaseSelectProps> {
|
|
5
|
+
export interface SelectProps extends Omit<ComponentPropsWithRef<'select'>, 'size'> {
|
|
7
6
|
placeholder?: string;
|
|
8
7
|
disabledPlaceholder?: boolean;
|
|
9
8
|
hintText?: string;
|
|
@@ -12,10 +11,7 @@ export interface SelectProps extends PropsWithChildren<BaseSelectProps> {
|
|
|
12
11
|
optionItems?: OptionType[];
|
|
13
12
|
register?: UseFormRegisterReturn;
|
|
14
13
|
type?: 'default' | 'simple';
|
|
14
|
+
children?: ReactNode;
|
|
15
15
|
}
|
|
16
|
-
/**
|
|
17
|
-
* 현재 icon 속성은 현재 디자인 시스템에 존재하지 않으니 사용하지 않는 것을 권장합니다.
|
|
18
|
-
*/
|
|
19
16
|
export declare const Select: import("react").ForwardRefExoticComponent<Omit<SelectProps, "ref"> & import("react").RefAttributes<HTMLSelectElement>>;
|
|
20
|
-
export {};
|
|
21
17
|
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { type ComponentPropsWithRef, type
|
|
1
|
+
import { type ComponentPropsWithRef, type ReactNode } from 'react';
|
|
2
2
|
import type { UseFormRegisterReturn } from 'react-hook-form';
|
|
3
3
|
import type { Size } from '../../../constant/size';
|
|
4
4
|
import type { OptionChangeHandler, OptionType, OptionValue } from '../../types/dropdown';
|
|
5
5
|
export declare const DEFAULT_MAX_HEIGHT = 275;
|
|
6
|
-
type
|
|
7
|
-
|
|
6
|
+
export type SelectBoxProps = Omit<ComponentPropsWithRef<'div'>, 'size' | 'onChange'> & {
|
|
7
|
+
children?: ReactNode;
|
|
8
8
|
placeholder?: string;
|
|
9
9
|
disabledPlaceholder?: boolean;
|
|
10
10
|
hintText?: string;
|
|
@@ -23,5 +23,4 @@ export type SelectBoxProps = PropsWithChildren<BaseSelectBoxProps> & {
|
|
|
23
23
|
align?: 'left' | 'right';
|
|
24
24
|
};
|
|
25
25
|
export declare const SelectBox: import("react").ForwardRefExoticComponent<Omit<SelectBoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
26
|
-
export {};
|
|
27
26
|
//# sourceMappingURL=SelectBox.d.ts.map
|
|
@@ -2,7 +2,7 @@ import { ElementType, ReactNode } from 'react';
|
|
|
2
2
|
interface SpinnerProps {
|
|
3
3
|
as?: ElementType;
|
|
4
4
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
5
|
-
children
|
|
5
|
+
children?: ReactNode;
|
|
6
6
|
backdrop?: boolean;
|
|
7
7
|
}
|
|
8
8
|
export declare const Spinner: ({ as, size, children, backdrop }: SpinnerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,7 +11,7 @@ interface TagProps {
|
|
|
11
11
|
onButtonClick?: MouseEventHandler<HTMLButtonElement>;
|
|
12
12
|
maxLength?: number;
|
|
13
13
|
}
|
|
14
|
-
export type CalculatedPosition = 'top
|
|
14
|
+
export type CalculatedPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
15
15
|
export declare const Tag: ({ size, icon, text, count, close, onButtonClick, maxLength }: TagProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export {};
|
|
17
17
|
//# sourceMappingURL=Tag.d.ts.map
|
|
@@ -1522,7 +1522,7 @@ button {
|
|
|
1522
1522
|
color: var(--gray-300);
|
|
1523
1523
|
background-color: inherit;
|
|
1524
1524
|
}
|
|
1525
|
-
.ncua-input.is-disabled .ncua-input__destructive-
|
|
1525
|
+
.ncua-input.is-disabled .ncua-input__destructive-icon {
|
|
1526
1526
|
display: none;
|
|
1527
1527
|
}
|
|
1528
1528
|
.ncua-input.is-disabled .ncua-input__button {
|
|
@@ -2560,6 +2560,9 @@ button {
|
|
|
2560
2560
|
.ncua-radio-input.destructive :where(input) {
|
|
2561
2561
|
border-color: var(--primary-red-600);
|
|
2562
2562
|
}
|
|
2563
|
+
.ncua-radio-input.destructive :where(input):not(:disabled):hover {
|
|
2564
|
+
border-color: var(--primary-red-600);
|
|
2565
|
+
}
|
|
2563
2566
|
.ncua-radio-input.destructive :where(input):focus {
|
|
2564
2567
|
border-color: var(--primary-red-600);
|
|
2565
2568
|
box-shadow: var(--shadow-xs-focused-4px-error-100);
|
|
@@ -2665,36 +2668,6 @@ button {
|
|
|
2665
2668
|
z-index: 1000;
|
|
2666
2669
|
pointer-events: none;
|
|
2667
2670
|
}
|
|
2668
|
-
.ncua-tag__tooltip:not([class*="--top-"]):not([class*="--bottom-"]):not([class*="--left"]):not([class*="--right"]) {
|
|
2669
|
-
bottom: 100%;
|
|
2670
|
-
left: 50%;
|
|
2671
|
-
transform: translateX(-50%);
|
|
2672
|
-
margin-bottom: var(--spacing-md);
|
|
2673
|
-
}
|
|
2674
|
-
.ncua-tag__tooltip--top {
|
|
2675
|
-
bottom: 100%;
|
|
2676
|
-
left: 50%;
|
|
2677
|
-
transform: translateX(-50%);
|
|
2678
|
-
margin-bottom: var(--spacing-md);
|
|
2679
|
-
}
|
|
2680
|
-
.ncua-tag__tooltip--bottom {
|
|
2681
|
-
top: 100%;
|
|
2682
|
-
left: 50%;
|
|
2683
|
-
transform: translateX(-50%);
|
|
2684
|
-
margin-top: var(--spacing-md);
|
|
2685
|
-
}
|
|
2686
|
-
.ncua-tag__tooltip--left {
|
|
2687
|
-
right: 100%;
|
|
2688
|
-
top: 50%;
|
|
2689
|
-
transform: translateY(-50%);
|
|
2690
|
-
margin-right: var(--spacing-md);
|
|
2691
|
-
}
|
|
2692
|
-
.ncua-tag__tooltip--right {
|
|
2693
|
-
left: 100%;
|
|
2694
|
-
top: 50%;
|
|
2695
|
-
transform: translateY(-50%);
|
|
2696
|
-
margin-left: var(--spacing-md);
|
|
2697
|
-
}
|
|
2698
2671
|
.ncua-tag__tooltip--top-left {
|
|
2699
2672
|
bottom: 100%;
|
|
2700
2673
|
right: 0;
|
|
@@ -2715,10 +2688,6 @@ button {
|
|
|
2715
2688
|
left: 0;
|
|
2716
2689
|
margin-top: var(--spacing-md);
|
|
2717
2690
|
}
|
|
2718
|
-
.ncua-tag__tooltip--measuring {
|
|
2719
|
-
opacity: 0;
|
|
2720
|
-
visibility: hidden;
|
|
2721
|
-
}
|
|
2722
2691
|
.ncua-tag__tooltip-content {
|
|
2723
2692
|
display: block;
|
|
2724
2693
|
padding: var(--spacing-md) var(--spacing-lg);
|
|
@@ -3821,47 +3790,57 @@ button {
|
|
|
3821
3790
|
font-size: 11px;
|
|
3822
3791
|
}
|
|
3823
3792
|
.ncua-spinner--xs .ncua-spinner__content::before {
|
|
3824
|
-
margin-block-end: 12px;
|
|
3825
3793
|
width: 16px;
|
|
3826
3794
|
height: 16px;
|
|
3827
3795
|
border-width: 2px;
|
|
3828
3796
|
}
|
|
3797
|
+
.ncua-spinner--xs .ncua-spinner__content:has(*)::before {
|
|
3798
|
+
margin-block-end: 12px;
|
|
3799
|
+
}
|
|
3829
3800
|
.ncua-spinner--sm {
|
|
3830
3801
|
font-size: 14px;
|
|
3831
3802
|
}
|
|
3832
3803
|
.ncua-spinner--sm .ncua-spinner__content::before {
|
|
3833
|
-
margin-block-end: 16px;
|
|
3834
3804
|
width: 32px;
|
|
3835
3805
|
height: 32px;
|
|
3836
3806
|
border-width: 4px;
|
|
3837
3807
|
}
|
|
3808
|
+
.ncua-spinner--sm .ncua-spinner__content:has(*)::before {
|
|
3809
|
+
margin-block-end: 16px;
|
|
3810
|
+
}
|
|
3838
3811
|
.ncua-spinner--md {
|
|
3839
3812
|
font-size: 14px;
|
|
3840
3813
|
}
|
|
3841
3814
|
.ncua-spinner--md .ncua-spinner__content::before {
|
|
3842
|
-
margin-block-end: 16px;
|
|
3843
3815
|
width: 48px;
|
|
3844
3816
|
height: 48px;
|
|
3845
3817
|
border-width: 6px;
|
|
3846
3818
|
}
|
|
3819
|
+
.ncua-spinner--md .ncua-spinner__content:has(*)::before {
|
|
3820
|
+
margin-block-end: 16px;
|
|
3821
|
+
}
|
|
3847
3822
|
.ncua-spinner--lg {
|
|
3848
3823
|
font-size: 18px;
|
|
3849
3824
|
}
|
|
3850
3825
|
.ncua-spinner--lg .ncua-spinner__content::before {
|
|
3851
|
-
margin-block-end: 16px;
|
|
3852
3826
|
width: 56px;
|
|
3853
3827
|
height: 56px;
|
|
3854
3828
|
border-width: 6px;
|
|
3855
3829
|
}
|
|
3830
|
+
.ncua-spinner--lg .ncua-spinner__content:has(*)::before {
|
|
3831
|
+
margin-block-end: 16px;
|
|
3832
|
+
}
|
|
3856
3833
|
.ncua-spinner--xl {
|
|
3857
3834
|
font-size: 18px;
|
|
3858
3835
|
}
|
|
3859
3836
|
.ncua-spinner--xl .ncua-spinner__content::before {
|
|
3860
|
-
margin-block-end: 20px;
|
|
3861
3837
|
width: 64px;
|
|
3862
3838
|
height: 64px;
|
|
3863
3839
|
border-width: 8px;
|
|
3864
3840
|
}
|
|
3841
|
+
.ncua-spinner--xl .ncua-spinner__content:has(*)::before {
|
|
3842
|
+
margin-block-end: 20px;
|
|
3843
|
+
}
|
|
3865
3844
|
.ncua-spinner--backdrop {
|
|
3866
3845
|
content: "";
|
|
3867
3846
|
position: fixed;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|