@designbasekorea/ui 0.2.23 → 0.2.26
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/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +2 -20
- package/dist/index.esm.css +1 -1
- package/dist/index.esm.css.map +1 -1
- package/dist/index.esm.js +348 -276
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +348 -276
- package/dist/index.js.map +1 -1
- package/dist/index.umd.css +1 -1
- package/dist/index.umd.css.map +1 -1
- package/dist/index.umd.js +348 -276
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1045,42 +1045,24 @@ interface ChipProps {
|
|
|
1045
1045
|
}
|
|
1046
1046
|
declare const Chip: React$1.FC<ChipProps>;
|
|
1047
1047
|
|
|
1048
|
-
/**
|
|
1049
|
-
* ColorPicker 컴포넌트
|
|
1050
|
-
*
|
|
1051
|
-
* 목적: 색상 선택을 위한 컬러 피커
|
|
1052
|
-
* 기능: 드롭다운/모달 타입, 입력 필드 옵션, HEX/RGB 지원
|
|
1053
|
-
*/
|
|
1054
|
-
|
|
1055
1048
|
type ColorPickerSize = 's' | 'm' | 'l';
|
|
1056
1049
|
type ColorPickerType = 'dropdown' | 'modal';
|
|
1057
1050
|
type ColorPickerPosition = 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right';
|
|
1058
1051
|
interface ColorPickerProps {
|
|
1059
|
-
/** 컬러 피커 크기 */
|
|
1060
1052
|
size?: ColorPickerSize;
|
|
1061
|
-
/** 컬러 피커 타입 (dropdown/modal) */
|
|
1062
1053
|
type?: ColorPickerType;
|
|
1063
|
-
/** 드롭다운 위치 (dropdown 타입일 때만 적용) */
|
|
1064
1054
|
position?: ColorPickerPosition;
|
|
1065
|
-
/** 현재 선택된 색상 (HEX) */
|
|
1066
1055
|
value?: string;
|
|
1067
|
-
/** 기본 색상 */
|
|
1068
1056
|
defaultValue?: string;
|
|
1069
|
-
/** 입력 필드 표시 여부 */
|
|
1070
1057
|
showInput?: boolean;
|
|
1071
|
-
/** 알파 채널 지원 여부 */
|
|
1072
1058
|
showAlpha?: boolean;
|
|
1073
|
-
/** 색상 포맷 선택 표시 여부 */
|
|
1074
1059
|
showFormatSelector?: boolean;
|
|
1075
|
-
/** 복사 버튼 표시 여부 */
|
|
1076
1060
|
showCopyButton?: boolean;
|
|
1077
|
-
/** 비활성화 상태 */
|
|
1078
1061
|
disabled?: boolean;
|
|
1079
|
-
/** 읽기 전용 상태 */
|
|
1080
1062
|
readonly?: boolean;
|
|
1081
|
-
/** 색상 변경 핸들러 */
|
|
1082
1063
|
onChange?: (color: string) => void;
|
|
1083
|
-
|
|
1064
|
+
onApply?: (color: string) => void;
|
|
1065
|
+
onCancel?: () => void;
|
|
1084
1066
|
className?: string;
|
|
1085
1067
|
}
|
|
1086
1068
|
declare const ColorPicker: React$1.FC<ColorPickerProps>;
|