@designbasekorea/ui 0.2.35 → 0.2.37
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 +12 -0
- package/dist/index.esm.css +1 -1
- package/dist/index.esm.css.map +1 -1
- package/dist/index.esm.js +224 -114
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +224 -114
- 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 +224 -114
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1052,14 +1052,26 @@ interface ColorPickerProps {
|
|
|
1052
1052
|
size?: ColorPickerSize;
|
|
1053
1053
|
type?: ColorPickerType;
|
|
1054
1054
|
position?: ColorPickerPosition;
|
|
1055
|
+
/** 제어형: 외부 값(권장 HEX) */
|
|
1055
1056
|
value?: string;
|
|
1057
|
+
/** 비제어 초기값 */
|
|
1056
1058
|
defaultValue?: string;
|
|
1057
1059
|
showInput?: boolean;
|
|
1058
1060
|
showAlpha?: boolean;
|
|
1059
1061
|
showFormatSelector?: boolean;
|
|
1060
1062
|
showCopyButton?: boolean;
|
|
1063
|
+
/** 아이드로퍼 표시 여부 (브라우저 미지원 시 자동 숨김) */
|
|
1064
|
+
showEyedropper?: boolean;
|
|
1061
1065
|
disabled?: boolean;
|
|
1062
1066
|
readonly?: boolean;
|
|
1067
|
+
/** 콜백 반환 포맷: 기본 HEX, 'ui'면 현재 UI 포맷 */
|
|
1068
|
+
onChangeFormat?: 'hex' | 'ui';
|
|
1069
|
+
/** 마운트 시 onChange 발사 여부(기본 false) */
|
|
1070
|
+
fireOnInit?: boolean;
|
|
1071
|
+
/** 디바운스(ms). 0이면 즉시 */
|
|
1072
|
+
changeDebounceMs?: number;
|
|
1073
|
+
/** 드래그 중에도 onChange를 계속 보낼지(기본 true). false면 드래그 끝에서 1회 발사 */
|
|
1074
|
+
emitDuringDrag?: boolean;
|
|
1063
1075
|
onChange?: (color: string) => void;
|
|
1064
1076
|
onApply?: (color: string) => void;
|
|
1065
1077
|
onCancel?: () => void;
|