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