pds-dev-kit-web 1.4.29 → 1.4.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/src/desktop/components/ChatList/ChatTextField.js +1 -1
- package/dist/src/desktop/components/Chip/Chip.js +3 -3
- package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.js +1 -6
- package/dist/src/desktop/components/UploadMainButton/UploadMainButton.js +2 -2
- package/dist/src/mobile/components/ChatList/ChatTextField.js +1 -1
- package/dist/src/mobile/components/Chip/Chip.js +3 -3
- package/dist/src/mobile/components/UploadMainButton/UploadMainButton.js +2 -2
- package/package.json +1 -1
- package/release-note.md +3 -27
|
@@ -24,7 +24,7 @@ function ChatTextField(_a) {
|
|
|
24
24
|
react_1.default.createElement(S_FooterContentWrapper, null,
|
|
25
25
|
react_1.default.createElement(S_TextFieldWrapper, null,
|
|
26
26
|
react_1.default.createElement(TextField_1.TextField, { name: "chat", responsiveMode: "use", textLineType: "single", inputType: "text", hintText: textFieldHintText, defaultText: textFieldDefaultText, validation: chatValidation, maxLength: textFieldMaxLength, enterSubmitMode: "use", validationPoint: "onChange", state: textFieldState })),
|
|
27
|
-
react_1.default.createElement(IconButton_1.IconButton, { iconName: "ic_paper_plane", baseSize: "large", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconColorKey: isSubmitBtnActive ? '
|
|
27
|
+
react_1.default.createElement(IconButton_1.IconButton, { iconName: "ic_paper_plane", baseSize: "large", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconColorKey: isSubmitBtnActive ? 'ui_cpnt_button_icon_primary' : 'ui_cpnt_button_icon_disabled', iconSize: 24, type: "submit", state: isSubmitBtnActive ? 'normal' : 'disabled' }))));
|
|
28
28
|
}
|
|
29
29
|
var S_FooterContentWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n padding-left: ", ";\n padding-right: ", ";\n"], ["\n align-items: center;\n display: flex;\n padding-left: ", ";\n padding-right: ", ";\n"])), function (_a) {
|
|
30
30
|
var theme = _a.theme;
|
|
@@ -88,15 +88,15 @@ function Chip(_a) {
|
|
|
88
88
|
return react_1.default.createElement(S_ChipWrapper, null, chipType());
|
|
89
89
|
}
|
|
90
90
|
exports.default = Chip;
|
|
91
|
-
var S_CategoryChoiceChip = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius:
|
|
91
|
+
var S_CategoryChoiceChip = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: 20px;\n box-sizing: border-box;\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n height: 40px;\n padding-left: ", ";\n padding-right: ", ";\n cursor: pointer;\n\n &:hover {\n background-color: ", ";\n }\n\n & > div {\n height: 40px;\n line-height: 40px;\n }\n\n ", ";\n"], ["\n border-radius: 20px;\n box-sizing: border-box;\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n height: 40px;\n padding-left: ", ";\n padding-right: ", ";\n cursor: pointer;\n\n &:hover {\n background-color: ", ";\n }\n\n & > div {\n height: 40px;\n line-height: 40px;\n }\n\n ", ";\n"])), function (_a) {
|
|
92
92
|
var theme = _a.theme, isActive = _a.isActive;
|
|
93
93
|
return isActive ? theme.ui_cpnt_chip_fill_base_active_01 : '';
|
|
94
94
|
}, function (_a) {
|
|
95
95
|
var theme = _a.theme;
|
|
96
|
-
return theme.spacing.
|
|
96
|
+
return theme.spacing.spacingD;
|
|
97
97
|
}, function (_a) {
|
|
98
98
|
var theme = _a.theme;
|
|
99
|
-
return theme.spacing.
|
|
99
|
+
return theme.spacing.spacingD;
|
|
100
100
|
}, function (_a) {
|
|
101
101
|
var theme = _a.theme, isActive = _a.isActive;
|
|
102
102
|
return isActive ? '' : theme.ui_cpnt_chip_fill_base_inactive;
|
|
@@ -126,11 +126,6 @@ function EditApplyTextField(_a) {
|
|
|
126
126
|
e.target.blur();
|
|
127
127
|
}
|
|
128
128
|
};
|
|
129
|
-
var handleKeyUp = function (e) {
|
|
130
|
-
if (textLineType === 'single' && e.key === 'Enter') {
|
|
131
|
-
e.target.blur();
|
|
132
|
-
}
|
|
133
|
-
};
|
|
134
129
|
var handleMouseDown = function (e) {
|
|
135
130
|
e.preventDefault();
|
|
136
131
|
checkBlankMode();
|
|
@@ -144,7 +139,7 @@ function EditApplyTextField(_a) {
|
|
|
144
139
|
}
|
|
145
140
|
if (textLineType === 'single') {
|
|
146
141
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
147
|
-
react_1.default.createElement(components_1.TextFieldBase, { name: name, hintText: hintText, defaultText: defaultText, validation: validation, preventBlankMode: preventBlankMode, enterSubmitMode: "use", textLineType: "single", inputType: inputType, state: state, min: min, max: max, maxLength: maxLength, textSize: size === 'large' || size === 'rlarge' ? 'form2' : 'heading', textWeight: size === 'large' || size === 'rlarge' ? 'normal' : 'bold', onFocus: handleFocus, onBlur: handleBlur, onTarget: handleTarget, onChange: handleChange, onKeyDown: handleKeyDown,
|
|
142
|
+
react_1.default.createElement(components_1.TextFieldBase, { name: name, hintText: hintText, defaultText: defaultText, validation: validation, preventBlankMode: preventBlankMode, enterSubmitMode: "use", textLineType: "single", inputType: inputType, state: state, min: min, max: max, maxLength: maxLength, textSize: size === 'large' || size === 'rlarge' ? 'form2' : 'heading', textWeight: size === 'large' || size === 'rlarge' ? 'normal' : 'bold', onFocus: handleFocus, onBlur: handleBlur, onTarget: handleTarget, onChange: handleChange, onKeyDown: handleKeyDown, inputRef: ref })));
|
|
148
143
|
}
|
|
149
144
|
};
|
|
150
145
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
@@ -193,7 +193,7 @@ var primaryDisabled = (0, styled_components_1.css)(templateObject_13 || (templat
|
|
|
193
193
|
var theme = _a.theme;
|
|
194
194
|
return theme.ui_cpnt_button_fill_base_disabled;
|
|
195
195
|
});
|
|
196
|
-
var primary = (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n\n &:hover:
|
|
196
|
+
var primary = (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n\n &:hover:not([disabled]) {\n ", "\n }\n\n &:active:not([disabled]) {\n ", "\n }\n\n ", "\n"], ["\n background-color: ", ";\n border: none;\n\n &:hover:not([disabled]) {\n ", "\n }\n\n &:active:not([disabled]) {\n ", "\n }\n\n ", "\n"])), function (_a) {
|
|
197
197
|
var theme = _a.theme;
|
|
198
198
|
return theme.ui_cpnt_button_fill_base_primary;
|
|
199
199
|
}, function (_a) {
|
|
@@ -210,7 +210,7 @@ var secondaryDisabled = (0, styled_components_1.css)(templateObject_15 || (templ
|
|
|
210
210
|
var theme = _a.theme;
|
|
211
211
|
return theme.ui_cpnt_button_line_base_hover;
|
|
212
212
|
});
|
|
213
|
-
var secondary = (0, styled_components_1.css)(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n\n &:hover:
|
|
213
|
+
var secondary = (0, styled_components_1.css)(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n\n &:hover:not([disabled]) {\n ", "\n }\n\n &:active:not([disabled]) {\n ", "\n }\n\n ", "\n"], ["\n background-color: ", ";\n border: none;\n\n &:hover:not([disabled]) {\n ", "\n }\n\n &:active:not([disabled]) {\n ", "\n }\n\n ", "\n"])), function (_a) {
|
|
214
214
|
var theme = _a.theme;
|
|
215
215
|
return theme.ui_cpnt_button_line_base_hover;
|
|
216
216
|
}, function (_a) {
|
|
@@ -24,7 +24,7 @@ function ChatTextField(_a) {
|
|
|
24
24
|
react_1.default.createElement(S_FooterContentWrapper, null,
|
|
25
25
|
react_1.default.createElement(S_TextFieldWrapper, null,
|
|
26
26
|
react_1.default.createElement(TextField_1.TextField, { name: "chat", responsiveMode: "use", textLineType: "single", inputType: "text", hintText: textFieldHintText, defaultText: textFieldDefaultText, validation: chatValidation, maxLength: textFieldMaxLength, enterSubmitMode: "use", validationPoint: "onChange", state: textFieldState })),
|
|
27
|
-
react_1.default.createElement(IconButton_1.IconButton, { iconName: "ic_paper_plane", baseSize: "large", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconColorKey: isSubmitBtnActive ? '
|
|
27
|
+
react_1.default.createElement(IconButton_1.IconButton, { iconName: "ic_paper_plane", baseSize: "large", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconColorKey: isSubmitBtnActive ? 'ui_cpnt_button_icon_primary' : 'ui_cpnt_button_icon_disabled', iconSize: 24, type: "submit", state: isSubmitBtnActive ? 'normal' : 'disabled' }))));
|
|
28
28
|
}
|
|
29
29
|
var S_FooterContentWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n padding-left: ", ";\n padding-right: ", ";\n"], ["\n align-items: center;\n display: flex;\n padding-left: ", ";\n padding-right: ", ";\n"])), function (_a) {
|
|
30
30
|
var theme = _a.theme;
|
|
@@ -88,15 +88,15 @@ function Chip(_a) {
|
|
|
88
88
|
return react_1.default.createElement(S_ChipWrapper, null, chipType());
|
|
89
89
|
}
|
|
90
90
|
exports.default = Chip;
|
|
91
|
-
var S_CategoryChoiceChip = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius:
|
|
91
|
+
var S_CategoryChoiceChip = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: 20px;\n box-sizing: border-box;\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n height: 40px;\n padding-left: ", ";\n padding-right: ", ";\n\n & > div {\n height: 40px;\n line-height: 40px;\n }\n\n ", ";\n"], ["\n border-radius: 20px;\n box-sizing: border-box;\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n height: 40px;\n padding-left: ", ";\n padding-right: ", ";\n\n & > div {\n height: 40px;\n line-height: 40px;\n }\n\n ", ";\n"])), function (_a) {
|
|
92
92
|
var theme = _a.theme, isActive = _a.isActive;
|
|
93
93
|
return isActive ? theme.ui_cpnt_chip_fill_base_active_01 : '';
|
|
94
94
|
}, function (_a) {
|
|
95
95
|
var theme = _a.theme;
|
|
96
|
-
return theme.spacing.
|
|
96
|
+
return theme.spacing.spacingD;
|
|
97
97
|
}, function (_a) {
|
|
98
98
|
var theme = _a.theme;
|
|
99
|
-
return theme.spacing.
|
|
99
|
+
return theme.spacing.spacingD;
|
|
100
100
|
}, function (_a) {
|
|
101
101
|
var theme = _a.theme, isActive = _a.isActive;
|
|
102
102
|
return isActive ? '' : "border: 1px solid " + theme.ui_cpnt_chip_line_border_01;
|
|
@@ -184,7 +184,7 @@ var primaryDisabled = (0, styled_components_1.css)(templateObject_13 || (templat
|
|
|
184
184
|
var theme = _a.theme;
|
|
185
185
|
return theme.ui_cpnt_button_fill_base_disabled;
|
|
186
186
|
});
|
|
187
|
-
var primary = (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n\n &:active:
|
|
187
|
+
var primary = (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n\n &:active:not([disabled]) {\n ", "\n }\n\n ", "\n"], ["\n background-color: ", ";\n border: none;\n\n &:active:not([disabled]) {\n ", "\n }\n\n ", "\n"])), function (_a) {
|
|
188
188
|
var theme = _a.theme;
|
|
189
189
|
return theme.ui_cpnt_button_fill_base_primary;
|
|
190
190
|
}, function (_a) {
|
|
@@ -198,7 +198,7 @@ var secondaryDisabled = (0, styled_components_1.css)(templateObject_15 || (templ
|
|
|
198
198
|
var theme = _a.theme;
|
|
199
199
|
return theme.ui_cpnt_button_line_base_hover;
|
|
200
200
|
});
|
|
201
|
-
var secondary = (0, styled_components_1.css)(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n\n &:active:
|
|
201
|
+
var secondary = (0, styled_components_1.css)(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n\n &:active:not([disabled]) {\n ", "\n }\n\n ", "\n"], ["\n background-color: ", ";\n border: none;\n\n &:active:not([disabled]) {\n ", "\n }\n\n ", "\n"])), function (_a) {
|
|
202
202
|
var theme = _a.theme;
|
|
203
203
|
return theme.ui_cpnt_button_line_base_hover;
|
|
204
204
|
}, function (_a) {
|
package/package.json
CHANGED
package/release-note.md
CHANGED
|
@@ -1,30 +1,6 @@
|
|
|
1
1
|
# PDS-DEV-KIT-WEB Release Notes
|
|
2
|
-
## [v1.4.
|
|
3
|
-
|
|
4
|
-
### Package
|
|
5
|
-
* Pretendard JP 서체 적용
|
|
2
|
+
## [v1.4.32]
|
|
6
3
|
|
|
7
4
|
### Component
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* ContextMenuItem
|
|
11
|
-
* 한줄 표시에 최적화
|
|
12
|
-
* Dropdown
|
|
13
|
-
* 한줄 표시에 최적화
|
|
14
|
-
* Icon
|
|
15
|
-
* ic_post_column line 추가
|
|
16
|
-
* MainButton
|
|
17
|
-
* 한줄 표시에 최적화
|
|
18
|
-
* Select
|
|
19
|
-
* 한줄 표시에 최적화
|
|
20
|
-
* StatusBlock
|
|
21
|
-
* 한줄 표시에 최적화
|
|
22
|
-
* TextButton
|
|
23
|
-
* 한줄 표시에 최적화
|
|
24
|
-
* UploadMainButton
|
|
25
|
-
* 한줄 표시에 최적화
|
|
26
|
-
* UploadTextButton
|
|
27
|
-
* 한줄 표시에 최적화
|
|
28
|
-
|
|
29
|
-
### Color
|
|
30
|
-
* 컬러 키 값 22.07.14 12시 02분 기준 싱크
|
|
5
|
+
* EditApplyTextField
|
|
6
|
+
* handleKeyUp 이벤트 제거 (한글 입력시 제출 안되는 이슈 관련)
|