@designbasekorea/ui 0.2.31 → 0.2.32
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.esm.js +4 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +4 -0
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5453,6 +5453,10 @@ const ColorPicker = ({ size = 'm', type = 'dropdown', position = 'bottom-left',
|
|
|
5453
5453
|
onChange?.(formatted);
|
|
5454
5454
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
5455
5455
|
}, [formatted]); // onChange와 value를 의존성에서 제거
|
|
5456
|
+
/** formatted 변경시 colorInput 동기화 */
|
|
5457
|
+
React.useEffect(() => {
|
|
5458
|
+
setColorInput(formatted.toUpperCase());
|
|
5459
|
+
}, [formatted]);
|
|
5456
5460
|
/** 드롭다운 외부 클릭 닫기 */
|
|
5457
5461
|
React.useEffect(() => {
|
|
5458
5462
|
const handler = (e) => {
|