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