pds-dev-kit-web 1.3.25 → 1.3.26
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/common/styles/colorSet/PaletteColor_Dark.json +3 -1
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +3 -1
- package/dist/src/common/styles/colorSet/UIColor.json +8 -7
- package/dist/src/common/styles/colorSet/index.d.ts +65 -60
- package/dist/src/common/styles/colorSet/index.js +2 -2
- package/dist/src/common/styles/colorSet/ui-type.d.ts +1 -0
- package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.d.ts +4 -2
- package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.js +7 -8
- package/dist/src/desktop/components/IconButton/IconButton.js +2 -2
- package/dist/src/desktop/components/ReactionButton/ReactionButton.js +1 -1
- package/dist/src/desktop/components/TextLabel/TextLabel.js +2 -1
- package/dist/src/desktop/components/UploadIconButton/UploadIconButton.js +2 -2
- package/dist/src/hybrid/components/Icon/Icon.js +1 -1
- package/dist/src/mobile/components/IconButton/IconButton.js +2 -2
- package/dist/src/mobile/components/TextLabel/TextLabel.js +2 -1
- package/dist/src/mobile/components/UploadIconButton/UploadIconButton.js +2 -2
- package/package.json +1 -1
- package/release-note.md +9 -9
|
@@ -156,5 +156,7 @@
|
|
|
156
156
|
"sys_cpnt_sheet_base_01": "darkgrey50",
|
|
157
157
|
"sys_component_base_white_opacity20": "white/opacity20",
|
|
158
158
|
"sys_border_line_07": "darkgrey70",
|
|
159
|
-
"sys_border_line_white_opacity50": "white/opacity50"
|
|
159
|
+
"sys_border_line_white_opacity50": "white/opacity50",
|
|
160
|
+
"sys_background_dimmed_02": "black/opacity65",
|
|
161
|
+
"sys_border_line_08": "darkgrey500"
|
|
160
162
|
}
|
|
@@ -156,5 +156,7 @@
|
|
|
156
156
|
"sys_cpnt_sheet_base_01": "grey30",
|
|
157
157
|
"sys_component_base_white_opacity20": "white/opacity20",
|
|
158
158
|
"sys_border_line_07": "grey70",
|
|
159
|
-
"sys_border_line_white_opacity50": "white/opacity50"
|
|
159
|
+
"sys_border_line_white_opacity50": "white/opacity50",
|
|
160
|
+
"sys_background_dimmed_02": "black/opacity30",
|
|
161
|
+
"sys_border_line_08": "grey500"
|
|
160
162
|
}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"ui_cpnt_button_icon_disabled": "sys_widget_grey_03",
|
|
23
23
|
"ui_cpnt_button_icon_default": "sys_widget_grey_02",
|
|
24
24
|
"ui_cpnt_textfield_border_normal": "sys_border_line_01",
|
|
25
|
-
"ui_cpnt_textfield_border_focus": "
|
|
25
|
+
"ui_cpnt_textfield_border_focus": "sys_border_line_08",
|
|
26
26
|
"ui_cpnt_textfield_border_error": "sys_border_line_04",
|
|
27
27
|
"ui_cpnt_textfield_base_normal": "sys_component_base_white_opacity00",
|
|
28
28
|
"ui_cpnt_textfield_base_disabled": "sys_component_base_01",
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
"ui_27": "sys_widget_white",
|
|
129
129
|
"ui_cpnt_divider": "sys_border_line_01",
|
|
130
130
|
"ui_cpnt_select_border_normal": "sys_border_line_01",
|
|
131
|
-
"ui_cpnt_select_border_focus": "
|
|
131
|
+
"ui_cpnt_select_border_focus": "sys_border_line_08",
|
|
132
132
|
"ui_cpnt_select_base_normal": "sys_component_base_white_opacity00",
|
|
133
133
|
"ui_cpnt_select_base_disabled": "sys_component_base_01",
|
|
134
134
|
"ui_cpnt_select_text_hint": "sys_text_grey_02",
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
"ui_cpnt_chip_fill_text_active_02": "sys_text_grey_01",
|
|
202
202
|
"ui_cpnt_chip_fill_icon_active_02": "sys_widget_grey_01",
|
|
203
203
|
"ui_cpnt_dropdown_border_normal": "sys_border_line_01",
|
|
204
|
-
"ui_cpnt_dropdown_border_focus": "
|
|
204
|
+
"ui_cpnt_dropdown_border_focus": "sys_border_line_08",
|
|
205
205
|
"ui_cpnt_dropdown_base_normal": "sys_component_base_white_opacity00",
|
|
206
206
|
"ui_cpnt_dropdown_base_disabled": "sys_component_base_01",
|
|
207
207
|
"ui_cpnt_dropdown_text_hint": "sys_text_grey_03",
|
|
@@ -280,8 +280,8 @@
|
|
|
280
280
|
"ui_cpnt_card_icon_basic": "sys_widget_primary_01",
|
|
281
281
|
"ui_cpnt_card_icon_custom": "sys_widget_grey_01",
|
|
282
282
|
"ui_cpnt_card_icon_create": "sys_widget_grey_01",
|
|
283
|
-
"ui_cpnt_modal_dimmed": "
|
|
284
|
-
"ui_cpnt_alertdialog_dimmed": "
|
|
283
|
+
"ui_cpnt_modal_dimmed": "sys_background_dimmed_02",
|
|
284
|
+
"ui_cpnt_alertdialog_dimmed": "sys_background_dimmed_02",
|
|
285
285
|
"ui_cpnt_bottomsheet_base": "sys_component_base_02",
|
|
286
286
|
"ui_cpnt_bottomsheet_icon_03": "sys_widget_grey_03",
|
|
287
287
|
"ui_cpnt_button_icon_white": "sys_widget_white",
|
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
"ui_cpnt_icon_usr_brandprimary": "usr_brand_primary",
|
|
333
333
|
"ui_container_divider": "sys_border_line_01",
|
|
334
334
|
"ui_area_divider": "sys_border_line_01",
|
|
335
|
-
"ui_cpnt_list_base_area_seller": "
|
|
335
|
+
"ui_cpnt_list_base_area_seller": "sys_component_base_01",
|
|
336
336
|
"ui_temp_grey_01": "sys_temp_grey_01",
|
|
337
337
|
"ui_temp_grey_02": "sys_temp_grey_02",
|
|
338
338
|
"ui_temp_grey_03": "sys_temp_grey_03",
|
|
@@ -490,5 +490,6 @@
|
|
|
490
490
|
"ui_profile_image_border_brandprimary": "usr_brand_primary",
|
|
491
491
|
"ui_cpnt_dropdown_base_white_disabled": "sys_component_base_white_opacity10",
|
|
492
492
|
"ui_cpnt_dropdown_border_white_disabled": "sys_border_line_white_opacity50",
|
|
493
|
-
"ui_cpnt_sheet_base_white_opacity00": "sys_component_base_white_opacity00"
|
|
493
|
+
"ui_cpnt_sheet_base_white_opacity00": "sys_component_base_white_opacity00",
|
|
494
|
+
"ui_dimmed_01": "sys_background_dimmed_20"
|
|
494
495
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const colorSet: {
|
|
2
|
-
readonly
|
|
2
|
+
readonly PaletteColor_light: {
|
|
3
3
|
sys_container_background_01: string;
|
|
4
4
|
sys_container_background_02: string;
|
|
5
5
|
sys_container_background_03: string;
|
|
@@ -158,66 +158,10 @@ declare const colorSet: {
|
|
|
158
158
|
sys_component_base_white_opacity20: string;
|
|
159
159
|
sys_border_line_07: string;
|
|
160
160
|
sys_border_line_white_opacity50: string;
|
|
161
|
+
sys_background_dimmed_02: string;
|
|
162
|
+
sys_border_line_08: string;
|
|
161
163
|
};
|
|
162
|
-
readonly
|
|
163
|
-
blue500: string;
|
|
164
|
-
blue700: string;
|
|
165
|
-
blue300: string;
|
|
166
|
-
green700: string;
|
|
167
|
-
green500: string;
|
|
168
|
-
green300: string;
|
|
169
|
-
red500: string;
|
|
170
|
-
grey900: string;
|
|
171
|
-
grey500: string;
|
|
172
|
-
grey400: string;
|
|
173
|
-
grey100: string;
|
|
174
|
-
grey50: string;
|
|
175
|
-
white: string;
|
|
176
|
-
black: string;
|
|
177
|
-
darkblue500: string;
|
|
178
|
-
grey950: string;
|
|
179
|
-
darkgrey900: string;
|
|
180
|
-
darkgrey500: string;
|
|
181
|
-
darkgrey400: string;
|
|
182
|
-
darkgrey100: string;
|
|
183
|
-
darkgrey50: string;
|
|
184
|
-
darkred500: string;
|
|
185
|
-
darkgreen700: string;
|
|
186
|
-
orange500: string;
|
|
187
|
-
darkorange500: string;
|
|
188
|
-
opacity00: string;
|
|
189
|
-
opacity20: string;
|
|
190
|
-
opacity30: string;
|
|
191
|
-
opacity65: string;
|
|
192
|
-
darkgreen500: string;
|
|
193
|
-
grey70: string;
|
|
194
|
-
navy500: string;
|
|
195
|
-
lightgreen500: string;
|
|
196
|
-
pink500: string;
|
|
197
|
-
darkgrey70: string;
|
|
198
|
-
darknavy500: string;
|
|
199
|
-
darkpink500: string;
|
|
200
|
-
darklightgreen500: string;
|
|
201
|
-
opacity10: string;
|
|
202
|
-
grey600: string;
|
|
203
|
-
darkgrey600: string;
|
|
204
|
-
skyblue500: string;
|
|
205
|
-
skyblue300: string;
|
|
206
|
-
pink300: string;
|
|
207
|
-
lightpink500: string;
|
|
208
|
-
darkblue300: string;
|
|
209
|
-
darkblue700: string;
|
|
210
|
-
darkgreen300: string;
|
|
211
|
-
darkskyblue500: string;
|
|
212
|
-
navy100: string;
|
|
213
|
-
darknavy100: string;
|
|
214
|
-
opacity80: string;
|
|
215
|
-
opacity50: string;
|
|
216
|
-
grey30: string;
|
|
217
|
-
opacity95: string;
|
|
218
|
-
darkgrey30: string;
|
|
219
|
-
};
|
|
220
|
-
readonly PaletteColor_light: {
|
|
164
|
+
readonly PaletteColor_Dark: {
|
|
221
165
|
sys_container_background_01: string;
|
|
222
166
|
sys_container_background_02: string;
|
|
223
167
|
sys_container_background_03: string;
|
|
@@ -376,6 +320,66 @@ declare const colorSet: {
|
|
|
376
320
|
sys_component_base_white_opacity20: string;
|
|
377
321
|
sys_border_line_07: string;
|
|
378
322
|
sys_border_line_white_opacity50: string;
|
|
323
|
+
sys_background_dimmed_02: string;
|
|
324
|
+
sys_border_line_08: string;
|
|
325
|
+
};
|
|
326
|
+
readonly SemanticColor: {
|
|
327
|
+
blue500: string;
|
|
328
|
+
blue700: string;
|
|
329
|
+
blue300: string;
|
|
330
|
+
green700: string;
|
|
331
|
+
green500: string;
|
|
332
|
+
green300: string;
|
|
333
|
+
red500: string;
|
|
334
|
+
grey900: string;
|
|
335
|
+
grey500: string;
|
|
336
|
+
grey400: string;
|
|
337
|
+
grey100: string;
|
|
338
|
+
grey50: string;
|
|
339
|
+
white: string;
|
|
340
|
+
black: string;
|
|
341
|
+
darkblue500: string;
|
|
342
|
+
grey950: string;
|
|
343
|
+
darkgrey900: string;
|
|
344
|
+
darkgrey500: string;
|
|
345
|
+
darkgrey400: string;
|
|
346
|
+
darkgrey100: string;
|
|
347
|
+
darkgrey50: string;
|
|
348
|
+
darkred500: string;
|
|
349
|
+
darkgreen700: string;
|
|
350
|
+
orange500: string;
|
|
351
|
+
darkorange500: string;
|
|
352
|
+
opacity00: string;
|
|
353
|
+
opacity20: string;
|
|
354
|
+
opacity30: string;
|
|
355
|
+
opacity65: string;
|
|
356
|
+
darkgreen500: string;
|
|
357
|
+
grey70: string;
|
|
358
|
+
navy500: string;
|
|
359
|
+
lightgreen500: string;
|
|
360
|
+
pink500: string;
|
|
361
|
+
darkgrey70: string;
|
|
362
|
+
darknavy500: string;
|
|
363
|
+
darkpink500: string;
|
|
364
|
+
darklightgreen500: string;
|
|
365
|
+
opacity10: string;
|
|
366
|
+
grey600: string;
|
|
367
|
+
darkgrey600: string;
|
|
368
|
+
skyblue500: string;
|
|
369
|
+
skyblue300: string;
|
|
370
|
+
pink300: string;
|
|
371
|
+
lightpink500: string;
|
|
372
|
+
darkblue300: string;
|
|
373
|
+
darkblue700: string;
|
|
374
|
+
darkgreen300: string;
|
|
375
|
+
darkskyblue500: string;
|
|
376
|
+
navy100: string;
|
|
377
|
+
darknavy100: string;
|
|
378
|
+
opacity80: string;
|
|
379
|
+
opacity50: string;
|
|
380
|
+
grey30: string;
|
|
381
|
+
opacity95: string;
|
|
382
|
+
darkgrey30: string;
|
|
379
383
|
};
|
|
380
384
|
readonly UIColor: {
|
|
381
385
|
ui_cpnt_button_fill_base_primary: string;
|
|
@@ -870,6 +874,7 @@ declare const colorSet: {
|
|
|
870
874
|
ui_cpnt_dropdown_base_white_disabled: string;
|
|
871
875
|
ui_cpnt_dropdown_border_white_disabled: string;
|
|
872
876
|
ui_cpnt_sheet_base_white_opacity00: string;
|
|
877
|
+
ui_dimmed_01: string;
|
|
873
878
|
};
|
|
874
879
|
};
|
|
875
880
|
export default colorSet;
|
|
@@ -4,14 +4,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
/* eslint-disable import/order */
|
|
7
|
+
var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
|
|
7
8
|
var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
|
|
8
9
|
var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
|
|
9
|
-
var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
|
|
10
10
|
var UIColor_json_1 = __importDefault(require("./UIColor.json"));
|
|
11
11
|
var colorSet = {
|
|
12
|
+
PaletteColor_light: PaletteColor_light_json_1.default,
|
|
12
13
|
PaletteColor_Dark: PaletteColor_Dark_json_1.default,
|
|
13
14
|
SemanticColor: SemanticColor_json_1.default,
|
|
14
|
-
PaletteColor_light: PaletteColor_light_json_1.default,
|
|
15
15
|
UIColor: UIColor_json_1.default
|
|
16
16
|
};
|
|
17
17
|
exports.default = colorSet;
|
|
@@ -20,12 +20,14 @@ export declare type EditApplyTextFieldProps = {
|
|
|
20
20
|
max?: number;
|
|
21
21
|
maxLength?: number;
|
|
22
22
|
min?: number;
|
|
23
|
-
getInputValue?: (data: string[]) => void;
|
|
24
23
|
onBlur?: (e: React.FocusEvent<HTMLInputElement> | React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
25
24
|
onChange?: (e: React.ChangeEvent<HTMLInputElement> | React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
26
|
-
onClickSubmitBtn?: (...args: any) => any;
|
|
27
25
|
onFocus?: (e: React.FocusEvent<HTMLInputElement> | React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
28
26
|
onTarget?: () => void;
|
|
27
|
+
/** @deprecated v1.5 해당 prop 대신 Form의 onSubmit을 사용하세요. */
|
|
28
|
+
getInputValue?: (data: string[]) => void;
|
|
29
|
+
/** @deprecated v1.5 해당 prop 대신 Form의 onSubmit을 사용하세요. */
|
|
30
|
+
onClickSubmitBtn?: (...args: any) => any;
|
|
29
31
|
};
|
|
30
32
|
declare function EditApplyTextField({ name, hintText, defaultText, validation, preventBlankMode, size, responsiveMode, textLineType, multiRows, autoMinRows, autoMaxRows, inputType, state, max, maxLength, min, getInputValue, onBlur, onChange, onClickSubmitBtn, onFocus, onTarget }: EditApplyTextFieldProps): JSX.Element;
|
|
31
33
|
export default EditApplyTextField;
|
|
@@ -83,20 +83,19 @@ function EditApplyTextField(_a) {
|
|
|
83
83
|
setValue(name, prevValue);
|
|
84
84
|
}
|
|
85
85
|
function handleSubmit() {
|
|
86
|
-
if (!currentValue) {
|
|
87
|
-
return;
|
|
88
|
-
}
|
|
89
86
|
// NOTE: preventBlankMode는 input에만 적용 가능
|
|
90
87
|
// NOTE: 다른 TextField의 경우 'preventBlankMode === 'trim'일 경우에는 무조건 onBlur 시점에 적용'된다고 정의해두었지만, EditApplyTextField는 onBlur 시점에 모든 값이 초기값으로 돌리는 기획이 있기때문에 EditApplyTextField에서는 submit 버튼을 눌렀을 경우에 시행
|
|
91
|
-
if (textLineType === 'single' && preventBlankMode === 'trim'
|
|
88
|
+
if (textLineType === 'single' && preventBlankMode === 'trim') {
|
|
92
89
|
setValue(name, currentValue.replace(/^\s+|\s+$/gm, ''));
|
|
93
90
|
setPrevValue(currentValue.replace(/^\s+|\s+$/gm, ''));
|
|
94
|
-
|
|
91
|
+
if (getInputValue)
|
|
92
|
+
getInputValue([name, currentValue.replace(/^\s+|\s+$/gm, '')]);
|
|
95
93
|
}
|
|
96
|
-
if (preventBlankMode !== 'trim'
|
|
94
|
+
if (preventBlankMode !== 'trim') {
|
|
97
95
|
setValue(name, currentValue);
|
|
98
96
|
setPrevValue(currentValue);
|
|
99
|
-
getInputValue
|
|
97
|
+
if (getInputValue)
|
|
98
|
+
getInputValue([name, currentValue]);
|
|
100
99
|
}
|
|
101
100
|
if (onClickSubmitBtn) {
|
|
102
101
|
onClickSubmitBtn();
|
|
@@ -129,7 +128,7 @@ function EditApplyTextField(_a) {
|
|
|
129
128
|
react_1.default.createElement(S_S_TextFieldBaseWrapper, { size: size, responsiveMode: responsiveMode, textLineType: textLineType, isFocused: isFocused, isError: isError, state: state }, S_TextFieldBase()),
|
|
130
129
|
isOpen === true && (react_1.default.createElement(S_ButtonBox, null,
|
|
131
130
|
react_1.default.createElement(IconButton_1.IconButton, { iconName: "ic_xmark", fillType: "fill", baseSize: "small", iconSize: 16, shapeType: "circular", shadow: "visible", iconColorKey: "ui_cpnt_button_icon_enabled", baseColorKey: "ui_cpnt_button_fill_base_white", tabIndex: -1, onMouseDown: handleCancel }),
|
|
132
|
-
react_1.default.createElement(IconButton_1.IconButton, { iconName: "ic_check", fillType: "fill", baseSize: "small", iconSize: 16, shapeType: "circular", shadow: "visible", iconColorKey: "ui_cpnt_button_icon_on_primary", baseColorKey: "ui_cpnt_button_fill_base_primary", state: isError === true ? 'disabled' : 'normal', tabIndex: -1, onMouseDown: handleSubmit })))),
|
|
131
|
+
react_1.default.createElement(IconButton_1.IconButton, { iconName: "ic_check", fillType: "fill", baseSize: "small", iconSize: 16, shapeType: "circular", shadow: "visible", iconColorKey: "ui_cpnt_button_icon_on_primary", baseColorKey: "ui_cpnt_button_fill_base_primary", state: isError === true ? 'disabled' : 'normal', tabIndex: -1, onMouseDown: handleSubmit, type: "submit" })))),
|
|
133
132
|
((_b = errors[name]) === null || _b === void 0 ? void 0 : _b.message) && (react_1.default.createElement(S_Error, { isFocused: isFocused }, t(errors[name].message))))));
|
|
134
133
|
}
|
|
135
134
|
var S_EditApplyTextFieldWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: ", ";\n"], ["\n width: ", ";\n"])), function (_a) {
|
|
@@ -74,7 +74,7 @@ var fillDisabled = (0, styled_components_1.css)(templateObject_1 || (templateObj
|
|
|
74
74
|
var fill = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n ", ";\n"], ["\n background-color: ", ";\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n ", ";\n"])), function (_a) {
|
|
75
75
|
var theme = _a.theme, baseColorKey = _a.baseColorKey;
|
|
76
76
|
return baseColorKey
|
|
77
|
-
? (0, common_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK')[baseColorKey]
|
|
77
|
+
? (0, common_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK', window.PdsUtils ? window.PdsUtils.palette : {})[baseColorKey]
|
|
78
78
|
: theme.ui_cpnt_button_fill_base_primary;
|
|
79
79
|
}, function (_a) {
|
|
80
80
|
var theme = _a.theme, baseColorKey = _a.baseColorKey;
|
|
@@ -103,7 +103,7 @@ var line = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 =
|
|
|
103
103
|
}, function (_a) {
|
|
104
104
|
var theme = _a.theme, borderColorKey = _a.borderColorKey;
|
|
105
105
|
return borderColorKey
|
|
106
|
-
? (0, common_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK')[borderColorKey]
|
|
106
|
+
? (0, common_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK', window.PdsUtils ? window.PdsUtils.palette : {})[borderColorKey]
|
|
107
107
|
: theme.ui_cpnt_button_line_border_enabled;
|
|
108
108
|
}, function (_a) {
|
|
109
109
|
var colorTheme = _a.colorTheme;
|
|
@@ -65,7 +65,7 @@ function ReactionButton(_a) {
|
|
|
65
65
|
case status === 'default' && colorTheme === 'none':
|
|
66
66
|
return 'sysTextSecondary';
|
|
67
67
|
case status === 'select' && colorTheme === 'none':
|
|
68
|
-
return '
|
|
68
|
+
return 'usrTextBrandPrimary';
|
|
69
69
|
default:
|
|
70
70
|
return 'sysTextSecondary';
|
|
71
71
|
}
|
|
@@ -259,7 +259,8 @@ var customFontStyle = (0, styled_components_1.css)(templateObject_28 || (templat
|
|
|
259
259
|
});
|
|
260
260
|
var colorOverrideStyle = (0, styled_components_1.css)(templateObject_29 || (templateObject_29 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
261
261
|
var colorOverride = _a.colorOverride;
|
|
262
|
-
return colorOverride &&
|
|
262
|
+
return colorOverride &&
|
|
263
|
+
(0, common_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK', window.PdsUtils ? window.PdsUtils.palette : {})[colorOverride];
|
|
263
264
|
});
|
|
264
265
|
var ellipsisStyle = (0, styled_components_1.css)(templateObject_30 || (templateObject_30 = __makeTemplateObject(["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n"], ["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n"])), function (_a) {
|
|
265
266
|
var lineLimit = _a.lineLimit;
|
|
@@ -63,7 +63,7 @@ var fillDisabled = (0, styled_components_1.css)(templateObject_1 || (templateObj
|
|
|
63
63
|
var fill = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n\n &:hover:not([disabled]) {\n ", "\n }\n\n &:active:not([disabled]) {\n background-image: ", ";\n }\n\n ", ";\n"], ["\n background-color: ", ";\n\n &:hover:not([disabled]) {\n ", "\n }\n\n &:active:not([disabled]) {\n background-image: ", ";\n }\n\n ", ";\n"])), function (_a) {
|
|
64
64
|
var theme = _a.theme, baseColorKey = _a.baseColorKey;
|
|
65
65
|
return baseColorKey
|
|
66
|
-
? (0, common_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK')[baseColorKey]
|
|
66
|
+
? (0, common_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK', window.PdsUtils ? window.PdsUtils.palette : {})[baseColorKey]
|
|
67
67
|
: theme.ui_cpnt_button_fill_base_primary;
|
|
68
68
|
}, function (_a) {
|
|
69
69
|
var theme = _a.theme, baseColorKey = _a.baseColorKey;
|
|
@@ -100,7 +100,7 @@ var line = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 =
|
|
|
100
100
|
}, function (_a) {
|
|
101
101
|
var theme = _a.theme, borderColorKey = _a.borderColorKey;
|
|
102
102
|
return borderColorKey
|
|
103
|
-
? (0, common_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK')[borderColorKey]
|
|
103
|
+
? (0, common_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK', window.PdsUtils ? window.PdsUtils.palette : {})[borderColorKey]
|
|
104
104
|
: theme.ui_cpnt_button_line_border_enabled;
|
|
105
105
|
}, function (_a) {
|
|
106
106
|
var colorTheme = _a.colorTheme;
|
|
@@ -12,6 +12,6 @@ var Icon = function (_a) {
|
|
|
12
12
|
var SelectedIcon = fillType === 'line'
|
|
13
13
|
? line_1.default[iconName] || fill_1.default[iconName]
|
|
14
14
|
: fill_1.default[iconName] || line_1.default[iconName];
|
|
15
|
-
return (react_1.default.createElement(SelectedIcon, { color: (0, common_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK')[colorKey], size: size, style: { minWidth: size, minHeight: size } }));
|
|
15
|
+
return (react_1.default.createElement(SelectedIcon, { color: (0, common_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK', window.PdsUtils ? window.PdsUtils.palette : {})[colorKey], size: size, style: { minWidth: size, minHeight: size } }));
|
|
16
16
|
};
|
|
17
17
|
exports.default = Icon;
|
|
@@ -74,7 +74,7 @@ var fillDisabled = (0, styled_components_1.css)(templateObject_1 || (templateObj
|
|
|
74
74
|
var fill = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n\n &:active:enabled {\n ", "\n }\n\n ", ";\n"], ["\n background-color: ", ";\n\n &:active:enabled {\n ", "\n }\n\n ", ";\n"])), function (_a) {
|
|
75
75
|
var theme = _a.theme, baseColorKey = _a.baseColorKey;
|
|
76
76
|
return baseColorKey
|
|
77
|
-
? (0, ui_colors_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK')[baseColorKey]
|
|
77
|
+
? (0, ui_colors_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK', window.PdsUtils ? window.PdsUtils.palette : {})[baseColorKey]
|
|
78
78
|
: theme.ui_cpnt_button_fill_base_primary;
|
|
79
79
|
}, function (_a) {
|
|
80
80
|
var theme = _a.theme, baseColorKey = _a.baseColorKey;
|
|
@@ -98,7 +98,7 @@ var line = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 =
|
|
|
98
98
|
}, function (_a) {
|
|
99
99
|
var theme = _a.theme, borderColorKey = _a.borderColorKey;
|
|
100
100
|
return borderColorKey
|
|
101
|
-
? (0, ui_colors_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK')[borderColorKey]
|
|
101
|
+
? (0, ui_colors_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK', window.PdsUtils ? window.PdsUtils.palette : {})[borderColorKey]
|
|
102
102
|
: theme.ui_cpnt_button_line_border_enabled;
|
|
103
103
|
}, function (_a) {
|
|
104
104
|
var colorTheme = _a.colorTheme;
|
|
@@ -252,7 +252,8 @@ var customFontStyle = (0, styled_components_1.css)(templateObject_28 || (templat
|
|
|
252
252
|
});
|
|
253
253
|
var colorOverrideStyle = (0, styled_components_1.css)(templateObject_29 || (templateObject_29 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
254
254
|
var colorOverride = _a.colorOverride;
|
|
255
|
-
return colorOverride &&
|
|
255
|
+
return colorOverride &&
|
|
256
|
+
(0, common_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK', window.PdsUtils ? window.PdsUtils.palette : {})[colorOverride];
|
|
256
257
|
});
|
|
257
258
|
var ellipsisStyle = (0, styled_components_1.css)(templateObject_30 || (templateObject_30 = __makeTemplateObject(["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n"], ["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n"])), function (_a) {
|
|
258
259
|
var lineLimit = _a.lineLimit;
|
|
@@ -63,7 +63,7 @@ var fillDisabled = (0, styled_components_1.css)(templateObject_1 || (templateObj
|
|
|
63
63
|
var fill = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n\n &:active:not([disabled]) {\n background-image: ", ";\n }\n\n ", ";\n"], ["\n background-color: ", ";\n\n &:active:not([disabled]) {\n background-image: ", ";\n }\n\n ", ";\n"])), function (_a) {
|
|
64
64
|
var theme = _a.theme, baseColorKey = _a.baseColorKey;
|
|
65
65
|
return baseColorKey
|
|
66
|
-
? (0, common_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK')[baseColorKey]
|
|
66
|
+
? (0, common_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK', window.PdsUtils ? window.PdsUtils.palette : {})[baseColorKey]
|
|
67
67
|
: theme.ui_cpnt_button_fill_base_primary;
|
|
68
68
|
}, function (_a) {
|
|
69
69
|
var theme = _a.theme, baseColorKey = _a.baseColorKey;
|
|
@@ -95,7 +95,7 @@ var line = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 =
|
|
|
95
95
|
}, function (_a) {
|
|
96
96
|
var theme = _a.theme, borderColorKey = _a.borderColorKey;
|
|
97
97
|
return borderColorKey
|
|
98
|
-
? (0, common_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK')[borderColorKey]
|
|
98
|
+
? (0, common_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK', window.PdsUtils ? window.PdsUtils.palette : {})[borderColorKey]
|
|
99
99
|
: theme.ui_cpnt_button_line_border_enabled;
|
|
100
100
|
}, function (_a) {
|
|
101
101
|
var colorTheme = _a.colorTheme;
|
package/package.json
CHANGED
package/release-note.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# PDS-DEV-KIT-WEB Release Notes
|
|
2
|
-
## [v1.3.
|
|
2
|
+
## [v1.3.26]
|
|
3
3
|
|
|
4
|
-
###
|
|
5
|
-
*
|
|
6
|
-
* ContentArea2에 height: 100%; overflow: auto; 추가했던 것 제거
|
|
7
|
-
* Content2에 height: 100%; 추가했던 것 제거
|
|
8
|
-
* Container에 container1Ref 추가
|
|
4
|
+
### Package
|
|
5
|
+
* 컴포넌트들이 커스텀 컬러를 받을 수 있도록 수정
|
|
9
6
|
|
|
10
7
|
### Component
|
|
11
|
-
*
|
|
12
|
-
*
|
|
8
|
+
* EditApplyTextField
|
|
9
|
+
* iconButton의 type을 submit으로 변경
|
|
10
|
+
* getInputValue와 onClickSubmitBtnprop에 deprecated 예고 추가
|
|
11
|
+
* 빈값이 들어있을때도 제출이 가능하도록 변경
|
|
12
|
+
|
|
13
13
|
### Color
|
|
14
|
-
* 컬러 키 값 22.05.
|
|
14
|
+
* 컬러 키 값 22.05.31 20시 45분 기준 싱크
|