@uniai-fe/ui-legacy 0.1.29 → 0.1.30
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/package.json
CHANGED
package/src/components.tsx
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// 컴포넌트 모듈
|
|
2
|
+
import Field from "./form-field/common";
|
|
2
3
|
import Input from "./form-field/input";
|
|
3
4
|
import Select from "./form-field/select";
|
|
4
5
|
import Button from "./button";
|
|
@@ -20,6 +21,7 @@ import Weather from "./weather/components";
|
|
|
20
21
|
import TextEditor from "./text-editor";
|
|
21
22
|
|
|
22
23
|
export {
|
|
24
|
+
Field,
|
|
23
25
|
Input,
|
|
24
26
|
Select,
|
|
25
27
|
Button,
|
|
@@ -61,7 +61,8 @@ export default function SelectDefault({
|
|
|
61
61
|
if (selectOptionList.length > 0) setOptions([]);
|
|
62
62
|
return;
|
|
63
63
|
}
|
|
64
|
-
|
|
64
|
+
// 변경 설명: disabled placeholder 옵션도 기본 표시값/빈값 선택 상태로 유지해야 하므로 목록에서 제외하지 않는다.
|
|
65
|
+
setOptions(selectItems);
|
|
65
66
|
}, [selectItems, selectOptionList.length]);
|
|
66
67
|
|
|
67
68
|
const setRegisterValue = useCallback(
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import StyledField from "./form-field/common/styled";
|
|
1
2
|
import StyledInput from "./form-field/input/styled";
|
|
2
3
|
import StyledSelect from "./form-field/select/styled";
|
|
3
4
|
import StyledButton from "./button/styled";
|
|
@@ -14,6 +15,7 @@ import StyledWeather from "./weather/styled";
|
|
|
14
15
|
import StyledTextEditor from "./text-editor/styled";
|
|
15
16
|
|
|
16
17
|
export {
|
|
18
|
+
StyledField,
|
|
17
19
|
StyledInput,
|
|
18
20
|
StyledSelect,
|
|
19
21
|
StyledButton,
|