pds-dev-kit-web 1.4.44 → 1.4.45
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.
|
@@ -48,7 +48,7 @@ function Dropdown(_a) {
|
|
|
48
48
|
setSelectedValue(null);
|
|
49
49
|
return;
|
|
50
50
|
}
|
|
51
|
-
if (value) {
|
|
51
|
+
if (value !== undefined) {
|
|
52
52
|
setSelectedValue(value);
|
|
53
53
|
}
|
|
54
54
|
}, [value]);
|
|
@@ -76,7 +76,7 @@ function Dropdown(_a) {
|
|
|
76
76
|
};
|
|
77
77
|
var handleClickOption = function (option) {
|
|
78
78
|
setIsFocused(false);
|
|
79
|
-
if (
|
|
79
|
+
if (value === undefined) {
|
|
80
80
|
setSelectedValue(option);
|
|
81
81
|
}
|
|
82
82
|
if (onChange) {
|
|
@@ -18,7 +18,7 @@ function FilterBar(_a) {
|
|
|
18
18
|
return textArray.map(function (option) {
|
|
19
19
|
var _a;
|
|
20
20
|
return (react_1.default.createElement(S_ChipWrapper, { key: option.value },
|
|
21
|
-
react_1.default.createElement(Chip_1.Chip, { displayType: "filter_single", text: option.text, value:
|
|
21
|
+
react_1.default.createElement(Chip_1.Chip, { displayType: "filter_single", text: option.text, value: value === null || value === void 0 ? void 0 : value.value, id: option.value, onClickChip: function () { return onClickChip && onClickChip(option); }, activeChipId: activeChipId, chipId: (_a = option.value) === null || _a === void 0 ? void 0 : _a.toString() })));
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
};
|
|
@@ -48,7 +48,7 @@ function Dropdown(_a) {
|
|
|
48
48
|
setSelectedValue(null);
|
|
49
49
|
return;
|
|
50
50
|
}
|
|
51
|
-
if (value) {
|
|
51
|
+
if (value !== undefined) {
|
|
52
52
|
setSelectedValue(value);
|
|
53
53
|
}
|
|
54
54
|
}, [value]);
|
|
@@ -76,7 +76,7 @@ function Dropdown(_a) {
|
|
|
76
76
|
};
|
|
77
77
|
var handleClickOption = function (option) {
|
|
78
78
|
setIsFocused(false);
|
|
79
|
-
if (
|
|
79
|
+
if (value === undefined) {
|
|
80
80
|
setSelectedValue(option);
|
|
81
81
|
}
|
|
82
82
|
if (onChange) {
|
package/package.json
CHANGED
package/release-note.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# PDS-DEV-KIT-WEB Release Notes
|
|
2
|
-
## [v1.4.
|
|
2
|
+
## [v1.4.45]
|
|
3
3
|
|
|
4
4
|
### Component
|
|
5
|
-
* ChatList
|
|
6
|
-
* body부분의 스크롤 이슈 수정
|
|
7
5
|
* Dropdown
|
|
8
|
-
* value
|
|
6
|
+
* value값이 undefined일 때와 null일 때를 구분할 수 있도록 수정
|
|
7
|
+
* FilterBar
|
|
8
|
+
* chip의 value값이 false나 null일때도 잘 넘겨줄 수 있도록 수정
|