pds-dev-kit-web 1.3.22 → 1.3.25
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/UIColor.json +2 -1
- package/dist/src/common/styles/colorSet/index.d.ts +59 -58
- 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/Card/Card.js +5 -6
- package/dist/src/desktop/components/DesktopBasicModal/DesktopBasicModal.d.ts +2 -1
- package/dist/src/desktop/components/DesktopBasicModal/DesktopBasicModal.js +6 -3
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.d.ts +3 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.js +2 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTS.d.ts +3 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTS.js +3 -3
- package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.d.ts +3 -2
- package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.js +2 -2
- package/dist/src/mobile/components/Card/Card.js +5 -6
- package/dist/src/mobile/components/MobileBasicModal/MobileBasicModal.d.ts +2 -1
- package/dist/src/mobile/components/MobileBasicModal/MobileBasicModal.js +6 -3
- package/package.json +1 -1
- package/release-note.md +8 -3
|
@@ -489,5 +489,6 @@
|
|
|
489
489
|
"ui_cpnt_dropdown_base_white_normal": "sys_component_base_white_opacity00",
|
|
490
490
|
"ui_profile_image_border_brandprimary": "usr_brand_primary",
|
|
491
491
|
"ui_cpnt_dropdown_base_white_disabled": "sys_component_base_white_opacity10",
|
|
492
|
-
"ui_cpnt_dropdown_border_white_disabled": "sys_border_line_white_opacity50"
|
|
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
494
|
}
|
|
@@ -159,6 +159,64 @@ declare const colorSet: {
|
|
|
159
159
|
sys_border_line_07: string;
|
|
160
160
|
sys_border_line_white_opacity50: string;
|
|
161
161
|
};
|
|
162
|
+
readonly SemanticColor: {
|
|
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
|
+
};
|
|
162
220
|
readonly PaletteColor_light: {
|
|
163
221
|
sys_container_background_01: string;
|
|
164
222
|
sys_container_background_02: string;
|
|
@@ -319,64 +377,6 @@ declare const colorSet: {
|
|
|
319
377
|
sys_border_line_07: string;
|
|
320
378
|
sys_border_line_white_opacity50: string;
|
|
321
379
|
};
|
|
322
|
-
readonly SemanticColor: {
|
|
323
|
-
blue500: string;
|
|
324
|
-
blue700: string;
|
|
325
|
-
blue300: string;
|
|
326
|
-
green700: string;
|
|
327
|
-
green500: string;
|
|
328
|
-
green300: string;
|
|
329
|
-
red500: string;
|
|
330
|
-
grey900: string;
|
|
331
|
-
grey500: string;
|
|
332
|
-
grey400: string;
|
|
333
|
-
grey100: string;
|
|
334
|
-
grey50: string;
|
|
335
|
-
white: string;
|
|
336
|
-
black: string;
|
|
337
|
-
darkblue500: string;
|
|
338
|
-
grey950: string;
|
|
339
|
-
darkgrey900: string;
|
|
340
|
-
darkgrey500: string;
|
|
341
|
-
darkgrey400: string;
|
|
342
|
-
darkgrey100: string;
|
|
343
|
-
darkgrey50: string;
|
|
344
|
-
darkred500: string;
|
|
345
|
-
darkgreen700: string;
|
|
346
|
-
orange500: string;
|
|
347
|
-
darkorange500: string;
|
|
348
|
-
opacity00: string;
|
|
349
|
-
opacity20: string;
|
|
350
|
-
opacity30: string;
|
|
351
|
-
opacity65: string;
|
|
352
|
-
darkgreen500: string;
|
|
353
|
-
grey70: string;
|
|
354
|
-
navy500: string;
|
|
355
|
-
lightgreen500: string;
|
|
356
|
-
pink500: string;
|
|
357
|
-
darkgrey70: string;
|
|
358
|
-
darknavy500: string;
|
|
359
|
-
darkpink500: string;
|
|
360
|
-
darklightgreen500: string;
|
|
361
|
-
opacity10: string;
|
|
362
|
-
grey600: string;
|
|
363
|
-
darkgrey600: string;
|
|
364
|
-
skyblue500: string;
|
|
365
|
-
skyblue300: string;
|
|
366
|
-
pink300: string;
|
|
367
|
-
lightpink500: string;
|
|
368
|
-
darkblue300: string;
|
|
369
|
-
darkblue700: string;
|
|
370
|
-
darkgreen300: string;
|
|
371
|
-
darkskyblue500: string;
|
|
372
|
-
navy100: string;
|
|
373
|
-
darknavy100: string;
|
|
374
|
-
opacity80: string;
|
|
375
|
-
opacity50: string;
|
|
376
|
-
grey30: string;
|
|
377
|
-
opacity95: string;
|
|
378
|
-
darkgrey30: string;
|
|
379
|
-
};
|
|
380
380
|
readonly UIColor: {
|
|
381
381
|
ui_cpnt_button_fill_base_primary: string;
|
|
382
382
|
ui_cpnt_button_fill_base_default: string;
|
|
@@ -869,6 +869,7 @@ declare const colorSet: {
|
|
|
869
869
|
ui_profile_image_border_brandprimary: string;
|
|
870
870
|
ui_cpnt_dropdown_base_white_disabled: string;
|
|
871
871
|
ui_cpnt_dropdown_border_white_disabled: string;
|
|
872
|
+
ui_cpnt_sheet_base_white_opacity00: string;
|
|
872
873
|
};
|
|
873
874
|
};
|
|
874
875
|
export default colorSet;
|
|
@@ -5,13 +5,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
/* eslint-disable import/order */
|
|
7
7
|
var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
|
|
8
|
-
var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
|
|
9
8
|
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
12
|
PaletteColor_Dark: PaletteColor_Dark_json_1.default,
|
|
13
|
-
PaletteColor_light: PaletteColor_light_json_1.default,
|
|
14
13
|
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;
|
|
@@ -25,15 +25,14 @@ function Card(_a) {
|
|
|
25
25
|
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_c" }),
|
|
26
26
|
descText && (react_1.default.createElement(TextLabel_1.TextLabel, { text: descText, styleTheme: "caption1Regular", colorTheme: "sysTextSecondary" })))));
|
|
27
27
|
}
|
|
28
|
-
var S_CardGroups = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: 16px;\n box-
|
|
28
|
+
var S_CardGroups = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: 16px;\n box-sizing: border-box;\n cursor: pointer;\n min-width: 144px;\n position: relative;\n\n &::after {\n box-sizing: border-box;\n border-radius: 16px;\n box-shadow: ", ";\n content: '';\n height: 100%;\n position: absolute;\n top: 0;\n width: 100%;\n }\n"], ["\n background-color: ", ";\n border-radius: 16px;\n box-sizing: border-box;\n cursor: pointer;\n min-width: 144px;\n position: relative;\n\n &::after {\n box-sizing: border-box;\n border-radius: 16px;\n box-shadow: ", ";\n content: '';\n height: 100%;\n position: absolute;\n top: 0;\n width: 100%;\n }\n"])), function (_a) {
|
|
29
29
|
var theme = _a.theme;
|
|
30
30
|
return theme.ui_cpnt_card_base;
|
|
31
31
|
}, function (_a) {
|
|
32
|
-
var theme = _a.theme;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
return selectState === 'selected' ? "border: 2px solid " + theme.ui_cpnt_card_selected_border : '';
|
|
32
|
+
var theme = _a.theme, selectState = _a.selectState;
|
|
33
|
+
if (selectState === 'unselected')
|
|
34
|
+
return theme.boxShadow.elevation2;
|
|
35
|
+
return theme.boxShadow.elevation2 + ", 0 0 0 2px " + theme.ui_cpnt_card_selected_border + " inset";
|
|
37
36
|
});
|
|
38
37
|
var S_ImageIconModeBox = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n div {\n border-radius: 16px 16px 0 0;\n }\n"], ["\n div {\n border-radius: 16px 16px 0 0;\n }\n"])));
|
|
39
38
|
var S_Content = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n padding: ", "; ;\n"], ["\n display: flex;\n flex-direction: column;\n padding: ", "; ;\n"])), function (_a) {
|
|
@@ -4,6 +4,7 @@ declare type DesktopBasicModalProps = {
|
|
|
4
4
|
titleText: PDSTextType;
|
|
5
5
|
contentText?: PDSTextType;
|
|
6
6
|
bodySpacingMode?: 'none' | 'use';
|
|
7
|
+
bodyOverflowType?: 'auto' | 'visible';
|
|
7
8
|
btnMode?: 'mbtn_amount1' | 'mbtn_amount2' | 'mbtn_amount3';
|
|
8
9
|
mBtn1Text: PDSTextType;
|
|
9
10
|
mBtn2Text?: PDSTextType;
|
|
@@ -20,5 +21,5 @@ declare type DesktopBasicModalProps = {
|
|
|
20
21
|
onClickMBtn3?: () => void;
|
|
21
22
|
children?: React.ReactNode;
|
|
22
23
|
};
|
|
23
|
-
declare function DesktopBasicModal({ titleText, contentText, bodySpacingMode, btnMode, mBtn1Text, mBtn2Text, mBtn3Text, mBtn1State, mBtn2State, mBtn3State, mBtn1Type, mBtn2Type, mBtn3Type, onClickMBtn1, onClickMBtn2, onClickMBtn3, size, children }: DesktopBasicModalProps): React.ReactPortal;
|
|
24
|
+
declare function DesktopBasicModal({ titleText, contentText, bodySpacingMode, bodyOverflowType, btnMode, mBtn1Text, mBtn2Text, mBtn3Text, mBtn1State, mBtn2State, mBtn3State, mBtn1Type, mBtn2Type, mBtn3Type, onClickMBtn1, onClickMBtn2, onClickMBtn3, size, children }: DesktopBasicModalProps): React.ReactPortal;
|
|
24
25
|
export default DesktopBasicModal;
|
|
@@ -33,7 +33,7 @@ var hybrid_1 = require("../../../hybrid");
|
|
|
33
33
|
var MainButton_1 = require("../MainButton");
|
|
34
34
|
var TextLabel_1 = require("../TextLabel");
|
|
35
35
|
function DesktopBasicModal(_a) {
|
|
36
|
-
var titleText = _a.titleText, contentText = _a.contentText, _b = _a.bodySpacingMode, bodySpacingMode = _b === void 0 ? 'use' : _b, _c = _a.btnMode, btnMode =
|
|
36
|
+
var titleText = _a.titleText, contentText = _a.contentText, _b = _a.bodySpacingMode, bodySpacingMode = _b === void 0 ? 'use' : _b, _c = _a.bodyOverflowType, bodyOverflowType = _c === void 0 ? 'auto' : _c, _d = _a.btnMode, btnMode = _d === void 0 ? 'mbtn_amount2' : _d, mBtn1Text = _a.mBtn1Text, mBtn2Text = _a.mBtn2Text, mBtn3Text = _a.mBtn3Text, _e = _a.mBtn1State, mBtn1State = _e === void 0 ? 'normal' : _e, _f = _a.mBtn2State, mBtn2State = _f === void 0 ? 'normal' : _f, _g = _a.mBtn3State, mBtn3State = _g === void 0 ? 'normal' : _g, _h = _a.mBtn1Type, mBtn1Type = _h === void 0 ? 'button' : _h, _j = _a.mBtn2Type, mBtn2Type = _j === void 0 ? 'button' : _j, _k = _a.mBtn3Type, mBtn3Type = _k === void 0 ? 'button' : _k, onClickMBtn1 = _a.onClickMBtn1, onClickMBtn2 = _a.onClickMBtn2, onClickMBtn3 = _a.onClickMBtn3, _l = _a.size, size = _l === void 0 ? 'large' : _l, children = _a.children;
|
|
37
37
|
var container = (0, react_1.useState)(function () {
|
|
38
38
|
var modalRoot = document.createElement('div');
|
|
39
39
|
modalRoot.setAttribute('id', 'DesktopBasicModal');
|
|
@@ -57,7 +57,7 @@ function DesktopBasicModal(_a) {
|
|
|
57
57
|
react_1.default.createElement(S_ModalWrapper, { size: size },
|
|
58
58
|
react_1.default.createElement(S_Header, null,
|
|
59
59
|
react_1.default.createElement(TextLabel_1.TextLabel, { text: titleText, colorTheme: "sysTextPrimary", styleTheme: "headingBold" })),
|
|
60
|
-
react_1.default.createElement(S_Body, { bodySpacingMode: bodySpacingMode },
|
|
60
|
+
react_1.default.createElement(S_Body, { bodySpacingMode: bodySpacingMode, bodyOverflowType: bodyOverflowType },
|
|
61
61
|
contentText && (react_1.default.createElement(TextLabel_1.TextLabel, { text: contentText, colorTheme: "sysTextSecondary", styleTheme: "subTitleRegular" })),
|
|
62
62
|
children && children),
|
|
63
63
|
react_1.default.createElement(hybrid_1.Divider, null),
|
|
@@ -108,7 +108,7 @@ var S_Header = styled_components_1.default.div(templateObject_6 || (templateObje
|
|
|
108
108
|
var theme = _a.theme;
|
|
109
109
|
return theme.spacing.spacingE;
|
|
110
110
|
});
|
|
111
|
-
var S_Body = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n flex: 1;\n margin-bottom: ", ";\n margin-left: ", ";\n margin-right: ", ";\n margin-top: ", ";\n overflow:
|
|
111
|
+
var S_Body = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n flex: 1;\n margin-bottom: ", ";\n margin-left: ", ";\n margin-right: ", ";\n margin-top: ", ";\n overflow: ", ";\n\n ", "\n"], ["\n flex: 1;\n margin-bottom: ", ";\n margin-left: ", ";\n margin-right: ", ";\n margin-top: ", ";\n overflow: ", ";\n\n ", "\n"])), function (_a) {
|
|
112
112
|
var theme = _a.theme;
|
|
113
113
|
return theme.spacing.spacingF;
|
|
114
114
|
}, function (_a) {
|
|
@@ -120,6 +120,9 @@ var S_Body = styled_components_1.default.div(templateObject_8 || (templateObject
|
|
|
120
120
|
}, function (_a) {
|
|
121
121
|
var theme = _a.theme;
|
|
122
122
|
return theme.spacing.spacingD;
|
|
123
|
+
}, function (_a) {
|
|
124
|
+
var bodyOverflowType = _a.bodyOverflowType;
|
|
125
|
+
return bodyOverflowType;
|
|
123
126
|
}, function (_a) {
|
|
124
127
|
var bodySpacingMode = _a.bodySpacingMode;
|
|
125
128
|
return bodySpacingMode === 'none' && (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n margin-bottom: 0;\n margin-left: 0;\n margin-right: 0;\n "], ["\n margin-bottom: 0;\n margin-left: 0;\n margin-right: 0;\n "])));
|
package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { MutableRefObject } from 'react';
|
|
2
2
|
export declare type ContentsContainerProps = {
|
|
3
3
|
content1?: JSX.Element;
|
|
4
4
|
content2?: JSX.Element;
|
|
5
5
|
layoutType: 'WTA_1' | 'WTA_2' | 'WTA_3' | 'WTB_1' | 'WTC_1' | 'WTD_1' | 'WTD_2' | 'WTD_3' | 'WTD_4' | 'WTD_5' | 'WTD_6' | 'WTE_1' | 'WTF_1' | 'WTF_2' | 'WTF_3' | 'WTF_4' | 'WTF_5' | 'WTF_6' | 'WTG_1' | 'WTH_1' | 'WTH_2' | 'WTH_3' | 'WTI_1' | 'WTI_2' | 'WTJ_1' | 'WTK_1' | 'WTK_2' | 'WTK_3' | 'WTL_1' | 'WTM_1' | 'WTM_2' | 'WTN_1' | 'WTN_2' | 'WTN_3' | 'WTO_1' | 'WTP_1' | 'WTQ_1' | 'WTS_1';
|
|
6
6
|
containerColor?: string;
|
|
7
7
|
areaColor?: string;
|
|
8
|
+
container1Ref?: MutableRefObject<HTMLDivElement | null>;
|
|
8
9
|
};
|
|
9
|
-
declare const ContentsContainer: ({ content1, content2, layoutType, containerColor, areaColor }: ContentsContainerProps) => JSX.Element;
|
|
10
|
+
declare const ContentsContainer: ({ content1, content2, layoutType, containerColor, areaColor, container1Ref }: ContentsContainerProps) => JSX.Element;
|
|
10
11
|
export default ContentsContainer;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
var react_1 = __importDefault(require("react"));
|
|
7
7
|
var variation_1 = require("./variation");
|
|
8
8
|
var ContentsContainer = function (_a) {
|
|
9
|
-
var content1 = _a.content1, content2 = _a.content2, layoutType = _a.layoutType, containerColor = _a.containerColor, areaColor = _a.areaColor;
|
|
9
|
+
var content1 = _a.content1, content2 = _a.content2, layoutType = _a.layoutType, containerColor = _a.containerColor, areaColor = _a.areaColor, container1Ref = _a.container1Ref;
|
|
10
10
|
return (react_1.default.createElement(react_1.default.Fragment, null, {
|
|
11
11
|
WTA_1: (react_1.default.createElement(variation_1.WTA, { layoutType: "WTA_1", content1: content1, containerColor: containerColor, areaColor: areaColor })),
|
|
12
12
|
WTA_2: (react_1.default.createElement(variation_1.WTA, { layoutType: "WTA_2", content1: content1, containerColor: containerColor, areaColor: areaColor })),
|
|
@@ -45,7 +45,7 @@ var ContentsContainer = function (_a) {
|
|
|
45
45
|
WTO_1: (react_1.default.createElement(variation_1.WTO, { layoutType: "WTO_1", content1: content1, containerColor: containerColor, areaColor: areaColor })),
|
|
46
46
|
WTP_1: (react_1.default.createElement(variation_1.WTP, { layoutType: "WTP_1", content1: content1, containerColor: containerColor, areaColor: areaColor })),
|
|
47
47
|
WTQ_1: (react_1.default.createElement(variation_1.WTQ, { layoutType: "WTQ_1", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor })),
|
|
48
|
-
WTS_1: (react_1.default.createElement(variation_1.WTS, { layoutType: "WTS_1", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor }))
|
|
48
|
+
WTS_1: (react_1.default.createElement(variation_1.WTS, { layoutType: "WTS_1", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, container1Ref: container1Ref }))
|
|
49
49
|
}[layoutType]));
|
|
50
50
|
};
|
|
51
51
|
exports.default = ContentsContainer;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { MutableRefObject } from 'react';
|
|
2
2
|
export declare type WTSProps = {
|
|
3
3
|
content1?: JSX.Element;
|
|
4
4
|
content2?: JSX.Element;
|
|
5
5
|
layoutType: 'WTS_1';
|
|
6
6
|
containerColor?: string;
|
|
7
7
|
areaColor?: string;
|
|
8
|
+
container1Ref?: MutableRefObject<HTMLDivElement | null>;
|
|
8
9
|
};
|
|
9
|
-
declare const WTS: ({ content1, content2, containerColor, areaColor, layoutType }: WTSProps) => JSX.Element;
|
|
10
|
+
declare const WTS: ({ content1, content2, containerColor, areaColor, layoutType, container1Ref }: WTSProps) => JSX.Element;
|
|
10
11
|
export default WTS;
|
|
@@ -11,8 +11,8 @@ var react_1 = __importDefault(require("react"));
|
|
|
11
11
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
12
|
var hybrid_1 = require("../../../../../../hybrid");
|
|
13
13
|
var WTS = function (_a) {
|
|
14
|
-
var content1 = _a.content1, content2 = _a.content2, containerColor = _a.containerColor, areaColor = _a.areaColor, layoutType = _a.layoutType;
|
|
15
|
-
return (react_1.default.createElement(S_ContentsContainer, { layoutType: layoutType, containerColor: containerColor },
|
|
14
|
+
var content1 = _a.content1, content2 = _a.content2, containerColor = _a.containerColor, areaColor = _a.areaColor, layoutType = _a.layoutType, container1Ref = _a.container1Ref;
|
|
15
|
+
return (react_1.default.createElement(S_ContentsContainer, { layoutType: layoutType, containerColor: containerColor, ref: container1Ref },
|
|
16
16
|
react_1.default.createElement(S_ContentsArea1, { layoutType: layoutType, areaColor: areaColor },
|
|
17
17
|
react_1.default.createElement(S_Content1, null, content1)),
|
|
18
18
|
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_e" }),
|
|
@@ -30,7 +30,7 @@ var S_ContentsArea1 = styled_components_1.default.div(templateObject_2 || (templ
|
|
|
30
30
|
var areaColor = _a.areaColor;
|
|
31
31
|
return "background-color: " + areaColor;
|
|
32
32
|
});
|
|
33
|
-
var S_ContentsArea2 = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n box-sizing: border-box;\n padding-
|
|
33
|
+
var S_ContentsArea2 = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n box-sizing: border-box;\n padding-left: 24px;\n padding-right: 24px;\n padding-top: 24px;\n max-width: 1400px;\n min-width: 1200px;\n width: 100%;\n ", ";\n"], ["\n box-sizing: border-box;\n padding-left: 24px;\n padding-right: 24px;\n padding-top: 24px;\n max-width: 1400px;\n min-width: 1200px;\n width: 100%;\n ", ";\n"])), function (_a) {
|
|
34
34
|
var areaColor = _a.areaColor;
|
|
35
35
|
return "background-color: " + areaColor;
|
|
36
36
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { MutableRefObject } from 'react';
|
|
2
2
|
export declare type ContainersBoxProps = {
|
|
3
3
|
layoutType: 'WTA_1' | 'WTA_2' | 'WTA_3' | 'WTB_1' | 'WTC_1' | 'WTD_1' | 'WTD_2' | 'WTD_3' | 'WTD_4' | 'WTD_5' | 'WTD_6' | 'WTE_1' | 'WTF_1' | 'WTF_2' | 'WTF_3' | 'WTF_4' | 'WTF_5' | 'WTF_6' | 'WTG_1' | 'WTH_1' | 'WTH_2' | 'WTH_3' | 'WTI_1' | 'WTI_2' | 'WTJ_1' | 'WTK_1' | 'WTK_2' | 'WTK_3' | 'WTL_1' | 'WTM_1' | 'WTM_2' | 'WTN_1' | 'WTN_2' | 'WTN_3' | 'WTO_1' | 'WTP_1' | 'WTQ_1' | 'WTS_1';
|
|
4
4
|
pageMenuContent?: JSX.Element;
|
|
@@ -9,6 +9,7 @@ export declare type ContainersBoxProps = {
|
|
|
9
9
|
children?: React.ReactNode;
|
|
10
10
|
containerColor?: string;
|
|
11
11
|
areaColor?: string;
|
|
12
|
+
container1Ref?: MutableRefObject<HTMLDivElement | null>;
|
|
12
13
|
};
|
|
13
|
-
declare const ContainersBox: ({ layoutType, pageMenuContent, tabMenuContent, subMenuContent, content1, content2, containerColor, areaColor }: ContainersBoxProps) => JSX.Element;
|
|
14
|
+
declare const ContainersBox: ({ layoutType, pageMenuContent, tabMenuContent, subMenuContent, content1, content2, containerColor, areaColor, container1Ref }: ContainersBoxProps) => JSX.Element;
|
|
14
15
|
export default ContainersBox;
|
|
@@ -30,7 +30,7 @@ var react_1 = __importDefault(require("react"));
|
|
|
30
30
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
31
31
|
var Containers_1 = require("../Containers");
|
|
32
32
|
var ContainersBox = function (_a) {
|
|
33
|
-
var layoutType = _a.layoutType, pageMenuContent = _a.pageMenuContent, tabMenuContent = _a.tabMenuContent, subMenuContent = _a.subMenuContent, content1 = _a.content1, content2 = _a.content2, containerColor = _a.containerColor, areaColor = _a.areaColor;
|
|
33
|
+
var layoutType = _a.layoutType, pageMenuContent = _a.pageMenuContent, tabMenuContent = _a.tabMenuContent, subMenuContent = _a.subMenuContent, content1 = _a.content1, content2 = _a.content2, containerColor = _a.containerColor, areaColor = _a.areaColor, container1Ref = _a.container1Ref;
|
|
34
34
|
return (react_1.default.createElement(S_ContainersBox, null,
|
|
35
35
|
{
|
|
36
36
|
WTA_1: react_1.default.createElement(react_1.default.Fragment, null),
|
|
@@ -194,7 +194,7 @@ var ContainersBox = function (_a) {
|
|
|
194
194
|
WTQ_1: '',
|
|
195
195
|
WTS_1: ''
|
|
196
196
|
}[layoutType],
|
|
197
|
-
react_1.default.createElement(Containers_1.ContentsContainer, { layoutType: layoutType, content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor })))));
|
|
197
|
+
react_1.default.createElement(Containers_1.ContentsContainer, { layoutType: layoutType, content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, container1Ref: container1Ref })))));
|
|
198
198
|
};
|
|
199
199
|
var S_ContainersBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: flex-start;\n display: flex;\n height: 100%;\n"], ["\n align-items: flex-start;\n display: flex;\n height: 100%;\n"])));
|
|
200
200
|
var S_RightBox = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n flex: 1;\n flex-direction: column;\n height: 100%;\n"], ["\n display: flex;\n flex: 1;\n flex-direction: column;\n height: 100%;\n"])));
|
|
@@ -25,15 +25,14 @@ function Card(_a) {
|
|
|
25
25
|
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_c" }),
|
|
26
26
|
descText && (react_1.default.createElement(TextLabel_1.TextLabel, { text: descText, styleTheme: "caption1Regular", colorTheme: "sysTextSecondary" })))));
|
|
27
27
|
}
|
|
28
|
-
var S_CardGroups = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: 16px;\n box-
|
|
28
|
+
var S_CardGroups = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: 16px;\n box-sizing: border-box;\n min-width: 144px;\n position: relative;\n\n &::after {\n border-radius: 16px;\n box-shadow: ", ";\n content: '';\n height: 100%;\n position: absolute;\n top: 0;\n width: 100%;\n }\n"], ["\n background-color: ", ";\n border-radius: 16px;\n box-sizing: border-box;\n min-width: 144px;\n position: relative;\n\n &::after {\n border-radius: 16px;\n box-shadow: ", ";\n content: '';\n height: 100%;\n position: absolute;\n top: 0;\n width: 100%;\n }\n"])), function (_a) {
|
|
29
29
|
var theme = _a.theme;
|
|
30
30
|
return theme.ui_cpnt_card_base;
|
|
31
31
|
}, function (_a) {
|
|
32
|
-
var theme = _a.theme;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
return selectState === 'selected' ? "border: 2px solid " + theme.ui_cpnt_card_selected_border : '';
|
|
32
|
+
var theme = _a.theme, selectState = _a.selectState;
|
|
33
|
+
if (selectState === 'unselected')
|
|
34
|
+
return theme.boxShadow.elevation2;
|
|
35
|
+
return theme.boxShadow.elevation2 + ", 0 0 0 2px " + theme.ui_cpnt_card_selected_border + " inset";
|
|
37
36
|
});
|
|
38
37
|
var S_ImageIconModeBox = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n div {\n border-radius: 16px 16px 0 0;\n }\n"], ["\n div {\n border-radius: 16px 16px 0 0;\n }\n"])));
|
|
39
38
|
var S_Content = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n padding: ", "; ;\n"], ["\n display: flex;\n flex-direction: column;\n padding: ", "; ;\n"])), function (_a) {
|
|
@@ -3,11 +3,12 @@ import { PDSTextType } from '../../../common';
|
|
|
3
3
|
declare type MobileBasicModalProps = {
|
|
4
4
|
titleText: PDSTextType;
|
|
5
5
|
bodySpacingMode?: 'none' | 'use';
|
|
6
|
+
bodyOverflowType?: 'auto' | 'visible';
|
|
6
7
|
contentText?: PDSTextType;
|
|
7
8
|
mBtnText?: PDSTextType;
|
|
8
9
|
onClickMBtn?: () => void;
|
|
9
10
|
onClickXMarkIcon?: () => void;
|
|
10
11
|
children?: React.ReactNode;
|
|
11
12
|
};
|
|
12
|
-
declare function MobileBasicModal({ titleText, bodySpacingMode, contentText, mBtnText, onClickMBtn, onClickXMarkIcon, children }: MobileBasicModalProps): React.ReactPortal;
|
|
13
|
+
declare function MobileBasicModal({ titleText, bodySpacingMode, bodyOverflowType, contentText, mBtnText, onClickMBtn, onClickXMarkIcon, children }: MobileBasicModalProps): React.ReactPortal;
|
|
13
14
|
export default MobileBasicModal;
|
|
@@ -33,7 +33,7 @@ var IconButton_1 = require("../IconButton");
|
|
|
33
33
|
var MainButton_1 = require("../MainButton");
|
|
34
34
|
var TextLabel_1 = require("../TextLabel");
|
|
35
35
|
function MobileBasicModal(_a) {
|
|
36
|
-
var titleText = _a.titleText, _b = _a.bodySpacingMode, bodySpacingMode = _b === void 0 ? 'use' : _b, contentText = _a.contentText, mBtnText = _a.mBtnText, onClickMBtn = _a.onClickMBtn, onClickXMarkIcon = _a.onClickXMarkIcon, children = _a.children;
|
|
36
|
+
var titleText = _a.titleText, _b = _a.bodySpacingMode, bodySpacingMode = _b === void 0 ? 'use' : _b, _c = _a.bodyOverflowType, bodyOverflowType = _c === void 0 ? 'auto' : _c, contentText = _a.contentText, mBtnText = _a.mBtnText, onClickMBtn = _a.onClickMBtn, onClickXMarkIcon = _a.onClickXMarkIcon, children = _a.children;
|
|
37
37
|
var container = (0, react_1.useState)(function () {
|
|
38
38
|
var modalRoot = document.createElement('div');
|
|
39
39
|
modalRoot.setAttribute('id', 'MobileBasicModal');
|
|
@@ -56,7 +56,7 @@ function MobileBasicModal(_a) {
|
|
|
56
56
|
react_1.default.createElement(S_TitleWrapper, null,
|
|
57
57
|
react_1.default.createElement(TextLabel_1.TextLabel, { text: titleText, colorTheme: "sysTextPrimary", styleTheme: "headingBold" })),
|
|
58
58
|
react_1.default.createElement(IconButton_1.IconButton, { fillType: "fill", baseSize: "large", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconSize: 24, shapeType: "rectangle", iconName: "ic_xmark", iconColorKey: "ui_cpnt_modal_header_icon_02", iconFillType: "line", onClick: onClickXMarkIcon })),
|
|
59
|
-
react_1.default.createElement(S_Body, { bodySpacingMode: bodySpacingMode },
|
|
59
|
+
react_1.default.createElement(S_Body, { bodySpacingMode: bodySpacingMode, bodyOverflowType: bodyOverflowType },
|
|
60
60
|
contentText && (react_1.default.createElement(TextLabel_1.TextLabel, { text: contentText, colorTheme: "sysTextSecondary", styleTheme: "subTitleRegular" })),
|
|
61
61
|
children && children),
|
|
62
62
|
react_1.default.createElement(S_Footer, null, mBtnText && react_1.default.createElement(MainButton_1.MainButton, { text: mBtnText, size: "rlarge", onClick: onClickMBtn })))), container);
|
|
@@ -79,7 +79,7 @@ var S_Header = styled_components_1.default.div(templateObject_3 || (templateObje
|
|
|
79
79
|
var theme = _a.theme;
|
|
80
80
|
return theme.spacing.spacingC;
|
|
81
81
|
});
|
|
82
|
-
var S_Body = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n margin-bottom: ", ";\n margin-left: ", ";\n margin-right: ", ";\n max-height: 480px;\n overflow-y:
|
|
82
|
+
var S_Body = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n margin-bottom: ", ";\n margin-left: ", ";\n margin-right: ", ";\n max-height: 480px;\n overflow-y: ", ";\n padding-top: ", ";\n\n ", "\n"], ["\n margin-bottom: ", ";\n margin-left: ", ";\n margin-right: ", ";\n max-height: 480px;\n overflow-y: ", ";\n padding-top: ", ";\n\n ", "\n"])), function (_a) {
|
|
83
83
|
var theme = _a.theme;
|
|
84
84
|
return theme.spacing.spacingE;
|
|
85
85
|
}, function (_a) {
|
|
@@ -88,6 +88,9 @@ var S_Body = styled_components_1.default.div(templateObject_5 || (templateObject
|
|
|
88
88
|
}, function (_a) {
|
|
89
89
|
var theme = _a.theme;
|
|
90
90
|
return theme.spacing.spacingE;
|
|
91
|
+
}, function (_a) {
|
|
92
|
+
var bodyOverflowType = _a.bodyOverflowType;
|
|
93
|
+
return bodyOverflowType;
|
|
91
94
|
}, function (_a) {
|
|
92
95
|
var theme = _a.theme;
|
|
93
96
|
return theme.spacing.spacingC;
|
package/package.json
CHANGED
package/release-note.md
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
# PDS-DEV-KIT-WEB Release Notes
|
|
2
|
-
## [v1.3.
|
|
2
|
+
## [v1.3.25]
|
|
3
3
|
|
|
4
4
|
### Layout
|
|
5
5
|
* WTS_1
|
|
6
|
-
*
|
|
6
|
+
* ContentArea2에 height: 100%; overflow: auto; 추가했던 것 제거
|
|
7
|
+
* Content2에 height: 100%; 추가했던 것 제거
|
|
8
|
+
* Container에 container1Ref 추가
|
|
7
9
|
|
|
10
|
+
### Component
|
|
11
|
+
* Card
|
|
12
|
+
* border유무에 따라 움찔거리던 현상 수정
|
|
8
13
|
### Color
|
|
9
|
-
* 컬러 키 값 22.05.
|
|
14
|
+
* 컬러 키 값 22.05.30 2시 25분 기준 싱크
|