pds-dev-kit-web 2.2.211 → 2.2.213
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/services/i18n/resources/en.json +14 -14
- package/dist/src/common/styles/colorSet/UIColor.json +2 -1
- package/dist/src/common/styles/colorSet/index.d.ts +125 -124
- 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/common/styles/scroll/scrollbarStyle.d.ts +2 -0
- package/dist/src/common/styles/scroll/scrollbarStyle.js +4 -3
- package/dist/src/desktop/components/Calendar/Calendar.js +46 -51
- package/dist/src/desktop/components/Calendar/CalendarContext.d.ts +3 -1
- package/dist/src/desktop/components/Calendar/CalendarContext.js +2 -1
- package/dist/src/desktop/components/Calendar/DailyView.d.ts +8 -2
- package/dist/src/desktop/components/Calendar/DailyView.js +88 -7
- package/dist/src/desktop/components/Calendar/MonthlyView.d.ts +2 -1
- package/dist/src/desktop/components/Calendar/MonthlyView.js +81 -6
- package/dist/src/desktop/components/Calendar/WeeklyView.d.ts +3 -0
- package/dist/src/desktop/components/Calendar/WeeklyView.js +113 -7
- package/dist/src/desktop/components/Calendar/calendarUtils.js +20 -10
- package/dist/src/desktop/components/Calendar/types.d.ts +8 -4
- package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.d.ts +1 -1
- package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.js +21 -8
- package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.d.ts +2 -1
- package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.js +13 -15
- package/dist/src/desktop/panels/DesktopBasicModalWithTab/DesktopBasicModalWithTab.d.ts +3 -1
- package/dist/src/desktop/panels/DesktopBasicModalWithTab/DesktopBasicModalWithTab.js +16 -10
- package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.d.ts +2 -1
- package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.js +7 -27
- package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.d.ts +3 -1
- package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.js +11 -5
- package/dist/src/desktop/panels/MultilingualModal/MultilingualModal.d.ts +3 -1
- package/dist/src/desktop/panels/MultilingualModal/MultilingualModal.js +11 -4
- package/dist/src/mobile/components/MobileTabBar/MobileTabBar.d.ts +3 -1
- package/dist/src/mobile/components/MobileTabBar/MobileTabBar.js +35 -15
- package/dist/src/mobile/panels/MobileBasicModal/MobileBasicModal.d.ts +3 -1
- package/dist/src/mobile/panels/MobileBasicModal/MobileBasicModal.js +13 -6
- package/package.json +1 -1
- package/release-note.md +3 -2
|
@@ -32,22 +32,30 @@ var mobileTabBarThemes = {
|
|
|
32
32
|
activeTextColor: 'sysTextPrimary',
|
|
33
33
|
inActiveTextColor: 'sysTextTertiary',
|
|
34
34
|
activeIndicatorBorderColor: 'ui_cpnt_tabbar_border_active_indicator'
|
|
35
|
+
},
|
|
36
|
+
content: {
|
|
37
|
+
activeTextColor: 'sysTextPrimary',
|
|
38
|
+
inActiveTextColor: 'sysTextTertiary'
|
|
35
39
|
}
|
|
36
40
|
};
|
|
37
41
|
function MobileTabBar(_a) {
|
|
38
|
-
var itemArray = _a.itemArray, _b = _a.colorTheme, colorTheme = _b === void 0 ? 'none' : _b, textArray = _a.textArray;
|
|
42
|
+
var itemArray = _a.itemArray, _b = _a.colorTheme, colorTheme = _b === void 0 ? 'none' : _b, _c = _a.styleTheme, styleTheme = _c === void 0 ? 'main' : _c, textArray = _a.textArray;
|
|
39
43
|
var history = (0, react_router_dom_1.useHistory)();
|
|
40
44
|
var pathname = (0, react_router_dom_1.useLocation)().pathname;
|
|
41
45
|
if (itemArray) {
|
|
42
|
-
var hasScroll_1 = itemArray.length > 3;
|
|
46
|
+
var hasScroll_1 = styleTheme === 'content' ? true : itemArray.length > 3;
|
|
43
47
|
var handleClickTabItem_1 = function (item, e) {
|
|
44
48
|
if (item.onClick) {
|
|
45
49
|
item.onClick(e);
|
|
46
50
|
}
|
|
47
51
|
};
|
|
48
|
-
return ((0, jsx_runtime_1.jsx)(S_TabBarContainer, { children: (0, jsx_runtime_1.jsx)(S_TabBar, __assign({ "x-pds-name": "MobileTabBar", "x-pds-element-type": "component", "x-pds-device-type": "mobile", hasScroll: hasScroll_1 }, { children: itemArray.map(function (item, index) { return ((0, jsx_runtime_1.jsxs)(S_TabWrapper, __assign({ hasScroll: hasScroll_1, colorTheme: colorTheme, isActive: item.isActive, onClick: function (e) { return handleClickTabItem_1(item, e); } }, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: item.title, textAlign: "center", styleTheme:
|
|
49
|
-
?
|
|
50
|
-
|
|
52
|
+
return ((0, jsx_runtime_1.jsx)(S_TabBarContainer, { children: (0, jsx_runtime_1.jsx)(S_TabBar, __assign({ "x-pds-name": "MobileTabBar", "x-pds-element-type": "component", "x-pds-device-type": "mobile", styleTheme: styleTheme, hasScroll: hasScroll_1 }, { children: itemArray.map(function (item, index) { return ((0, jsx_runtime_1.jsxs)(S_TabWrapper, __assign({ hasScroll: hasScroll_1, styleTheme: styleTheme, colorTheme: colorTheme, isActive: item.isActive, onClick: function (e) { return handleClickTabItem_1(item, e); } }, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: item.title, textAlign: "center", styleTheme: styleTheme === 'main' ? 'body2Bold' : 'caption1Bold', wordBreak: hasScroll_1 ? 'keep_all' : 'normal', colorTheme: styleTheme === 'content'
|
|
53
|
+
? item.isActive
|
|
54
|
+
? mobileTabBarThemes.content.activeTextColor
|
|
55
|
+
: mobileTabBarThemes.content.inActiveTextColor
|
|
56
|
+
: item.isActive
|
|
57
|
+
? mobileTabBarThemes[colorTheme].activeTextColor
|
|
58
|
+
: mobileTabBarThemes[colorTheme].inActiveTextColor, singleLineMode: "use" }), item.isActive && styleTheme !== 'content' && (0, jsx_runtime_1.jsx)(S_Indicator, { colorTheme: colorTheme })] }), index)); }) })) }));
|
|
51
59
|
}
|
|
52
60
|
if (textArray) {
|
|
53
61
|
var hasScroll_2 = textArray.length > 3;
|
|
@@ -56,7 +64,7 @@ function MobileTabBar(_a) {
|
|
|
56
64
|
history.push(value.path);
|
|
57
65
|
}
|
|
58
66
|
};
|
|
59
|
-
return ((0, jsx_runtime_1.jsx)(S_TabBarContainer, { children: (0, jsx_runtime_1.jsx)(S_TabBar, __assign({ "x-pds-name": "MobileTabBar", "x-pds-element-type": "component", "x-pds-device-type": "mobile", hasScroll: hasScroll_2 }, { children: textArray.map(function (value) { return ((0, jsx_runtime_1.jsxs)(S_TabWrapper, __assign({ hasScroll: hasScroll_2, colorTheme: colorTheme, isActive: pathname === value.path, onClick: function () { return handleClick_1(value); } }, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: value.title, textAlign: "center", styleTheme: "body2Bold", wordBreak: hasScroll_2 ? 'keep_all' : 'normal', colorTheme: pathname === value.path ? 'usrTextBrandPrimary' : 'sysTextTertiary', singleLineMode: "use" }), pathname === value.path && (0, jsx_runtime_1.jsx)(S_Indicator, { colorTheme: colorTheme })] }), value.path)); }) })) }));
|
|
67
|
+
return ((0, jsx_runtime_1.jsx)(S_TabBarContainer, { children: (0, jsx_runtime_1.jsx)(S_TabBar, __assign({ "x-pds-name": "MobileTabBar", "x-pds-element-type": "component", "x-pds-device-type": "mobile", hasScroll: hasScroll_2, styleTheme: styleTheme }, { children: textArray.map(function (value) { return ((0, jsx_runtime_1.jsxs)(S_TabWrapper, __assign({ hasScroll: hasScroll_2, styleTheme: styleTheme, colorTheme: colorTheme, isActive: pathname === value.path, onClick: function () { return handleClick_1(value); } }, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: value.title, textAlign: "center", styleTheme: "body2Bold", wordBreak: hasScroll_2 ? 'keep_all' : 'normal', colorTheme: pathname === value.path ? 'usrTextBrandPrimary' : 'sysTextTertiary', singleLineMode: "use" }), pathname === value.path && styleTheme !== 'content' && ((0, jsx_runtime_1.jsx)(S_Indicator, { colorTheme: colorTheme }))] }), value.path)); }) })) }));
|
|
60
68
|
}
|
|
61
69
|
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
|
|
62
70
|
}
|
|
@@ -64,29 +72,41 @@ var S_Indicator = styled_components_1.default.div(templateObject_1 || (templateO
|
|
|
64
72
|
var colorTheme = _a.colorTheme, theme = _a.theme;
|
|
65
73
|
return theme[mobileTabBarThemes[colorTheme].activeIndicatorBorderColor];
|
|
66
74
|
});
|
|
67
|
-
var S_TabWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n
|
|
75
|
+
var S_TabWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n box-sizing: border-box;\n display: ", ";\n flex: 1;\n justify-content: center;\n padding: 0 ", ";\n position: relative;\n\n &:last-child {\n margin-right: 0;\n }\n\n & > div {\n white-space: ", ";\n }\n"], ["\n align-items: center;\n background-color: ", ";\n box-sizing: border-box;\n display: ", ";\n flex: 1;\n justify-content: center;\n padding: 0 ", ";\n position: relative;\n\n &:last-child {\n margin-right: 0;\n }\n\n & > div {\n white-space: ", ";\n }\n"])), function (_a) {
|
|
68
76
|
var isActive = _a.isActive, theme = _a.theme;
|
|
69
77
|
return isActive && theme.ui_cpnt_tabbar_base_area;
|
|
70
|
-
}, function (_a) {
|
|
71
|
-
var theme = _a.theme;
|
|
72
|
-
return "1px solid ".concat(theme.ui_cpnt_divider);
|
|
73
78
|
}, function (_a) {
|
|
74
79
|
var hasScroll = _a.hasScroll;
|
|
75
80
|
return (hasScroll ? 'inline-flex' : 'flex');
|
|
76
81
|
}, function (_a) {
|
|
77
|
-
var theme = _a.theme;
|
|
78
|
-
return theme.spacing.spacingD;
|
|
82
|
+
var styleTheme = _a.styleTheme, theme = _a.theme;
|
|
83
|
+
return (styleTheme === 'main' ? theme.spacing.spacingD : "10px");
|
|
79
84
|
}, function (_a) {
|
|
80
85
|
var hasScroll = _a.hasScroll;
|
|
81
|
-
return hasScroll
|
|
86
|
+
return (hasScroll ? 'nowrap' : 'normal');
|
|
82
87
|
});
|
|
83
|
-
var S_TabBarContainer = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n background-color: ", ";\n overflow-x: auto;\n\n &::-webkit-scrollbar {\n display: none;\n }\n"], ["\n background-color: ", ";\n overflow-x: auto;\n\n &::-webkit-scrollbar {\n display: none;\n }\n"])), function (_a) {
|
|
88
|
+
var S_TabBarContainer = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n background-color: ", ";\n border-bottom: ", ";\n overflow-x: auto;\n\n &::-webkit-scrollbar {\n display: none;\n }\n"], ["\n background-color: ", ";\n border-bottom: ", ";\n overflow-x: auto;\n\n &::-webkit-scrollbar {\n display: none;\n }\n"])), function (_a) {
|
|
84
89
|
var theme = _a.theme;
|
|
85
90
|
return theme.ui_cpnt_tabbar_base_area;
|
|
91
|
+
}, function (_a) {
|
|
92
|
+
var theme = _a.theme;
|
|
93
|
+
return "1px solid ".concat(theme.ui_cpnt_divider);
|
|
86
94
|
});
|
|
87
|
-
var S_TabBar = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n box-sizing: border-box;\n display: ", ";\n height:
|
|
95
|
+
var S_TabBar = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n box-sizing: border-box;\n display: ", ";\n height: ", ";\n width: ", ";\n\n & > :first-child {\n padding-left: ", ";\n }\n\n & > :last-child {\n padding-right: ", ";\n }\n"], ["\n box-sizing: border-box;\n display: ", ";\n height: ", ";\n width: ", ";\n\n & > :first-child {\n padding-left: ", ";\n }\n\n & > :last-child {\n padding-right: ", ";\n }\n"])), function (_a) {
|
|
88
96
|
var hasScroll = _a.hasScroll;
|
|
89
97
|
return (hasScroll ? 'inline-flex' : 'flex');
|
|
98
|
+
}, function (_a) {
|
|
99
|
+
var styleTheme = _a.styleTheme;
|
|
100
|
+
return (styleTheme === 'main' ? '48px' : '46px');
|
|
101
|
+
}, function (_a) {
|
|
102
|
+
var styleTheme = _a.styleTheme;
|
|
103
|
+
return (styleTheme === 'main' ? '100%' : undefined);
|
|
104
|
+
}, function (_a) {
|
|
105
|
+
var styleTheme = _a.styleTheme, theme = _a.theme;
|
|
106
|
+
return styleTheme === 'content' && theme.spacing.spacingE;
|
|
107
|
+
}, function (_a) {
|
|
108
|
+
var styleTheme = _a.styleTheme, theme = _a.theme;
|
|
109
|
+
return styleTheme === 'content' && theme.spacing.spacingE;
|
|
90
110
|
});
|
|
91
111
|
exports.default = MobileTabBar;
|
|
92
112
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { ScrollVisibleType } from '../../../common/styles/scroll/scrollbarStyle';
|
|
2
3
|
import type { PDSTextType } from '../../../common';
|
|
3
4
|
type MobileBasicModalProps = {
|
|
4
5
|
titleText: PDSTextType;
|
|
5
6
|
bodySpacingMode?: 'none' | 'use';
|
|
6
7
|
bodyOverflowType?: 'auto' | 'visible';
|
|
8
|
+
scrollVisibleType?: ScrollVisibleType;
|
|
7
9
|
contentText?: PDSTextType;
|
|
8
10
|
mBtnText: PDSTextType;
|
|
9
11
|
mBtnState?: 'normal' | 'disabled';
|
|
@@ -16,5 +18,5 @@ type MobileBasicModalProps = {
|
|
|
16
18
|
onClickXMarkIcon?: () => void;
|
|
17
19
|
children?: React.ReactNode;
|
|
18
20
|
};
|
|
19
|
-
declare function MobileBasicModal({ titleText, bodySpacingMode, bodyOverflowType, contentText, mBtnText, mBtnState, mBtnType, tBtnText, tBtnState, tBtnType, onClickMBtn, onClickTBtn, onClickXMarkIcon, children }: MobileBasicModalProps): import("react").ReactPortal;
|
|
21
|
+
declare function MobileBasicModal({ titleText, bodySpacingMode, bodyOverflowType, scrollVisibleType, contentText, mBtnText, mBtnState, mBtnType, tBtnText, tBtnState, tBtnType, onClickMBtn, onClickTBtn, onClickXMarkIcon, children }: MobileBasicModalProps): import("react").ReactPortal;
|
|
20
22
|
export default MobileBasicModal;
|
|
@@ -44,12 +44,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
44
44
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
45
45
|
var react_1 = require("react");
|
|
46
46
|
var react_dom_1 = __importDefault(require("react-dom"));
|
|
47
|
+
var scrollbarStyle_1 = require("../../../common/styles/scroll/scrollbarStyle");
|
|
47
48
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
48
49
|
var animationStyle_1 = require("../../../common/styles/movement/animationStyle");
|
|
49
50
|
var hybrid_1 = require("../../../hybrid");
|
|
50
51
|
var components_1 = require("../../components");
|
|
51
52
|
function MobileBasicModal(_a) {
|
|
52
|
-
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,
|
|
53
|
+
var titleText = _a.titleText, _b = _a.bodySpacingMode, bodySpacingMode = _b === void 0 ? 'use' : _b, _c = _a.bodyOverflowType, bodyOverflowType = _c === void 0 ? 'auto' : _c, _d = _a.scrollVisibleType, scrollVisibleType = _d === void 0 ? 'visible' : _d, contentText = _a.contentText, mBtnText = _a.mBtnText, _e = _a.mBtnState, mBtnState = _e === void 0 ? 'normal' : _e, _f = _a.mBtnType, mBtnType = _f === void 0 ? 'button' : _f, tBtnText = _a.tBtnText, _g = _a.tBtnState, tBtnState = _g === void 0 ? 'normal' : _g, _h = _a.tBtnType, tBtnType = _h === void 0 ? 'button' : _h, onClickMBtn = _a.onClickMBtn, onClickTBtn = _a.onClickTBtn, onClickXMarkIcon = _a.onClickXMarkIcon, children = _a.children;
|
|
53
54
|
var container = (0, react_1.useState)(function () {
|
|
54
55
|
var modalRoot = document.createElement('div');
|
|
55
56
|
modalRoot.setAttribute('id', 'MobileBasicModal');
|
|
@@ -65,7 +66,7 @@ function MobileBasicModal(_a) {
|
|
|
65
66
|
root.removeChild(container);
|
|
66
67
|
};
|
|
67
68
|
}, []);
|
|
68
|
-
return react_dom_1.default.createPortal((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(S_ModalOverlay, {}), (0, jsx_runtime_1.jsxs)(S_ModalWrapper, __assign({ "x-pds-name": "MobileBasicModal", "x-pds-element-type": "panel", "x-pds-device-type": "mobile" }, { children: [(0, jsx_runtime_1.jsxs)(S_Header, { children: [(0, jsx_runtime_1.jsx)(S_TitleWrapper, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: titleText, colorTheme: "sysTextPrimary", styleTheme: "headingBold" }) }), (0, jsx_runtime_1.jsx)(S_IconButtonWrapper, { children: (0, jsx_runtime_1.jsx)(components_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 }) })] }), (0, jsx_runtime_1.jsxs)(S_Body, __assign({ bodySpacingMode: bodySpacingMode, bodyOverflowType: bodyOverflowType }, { children: [contentText && ((0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: contentText, colorTheme: "sysTextSecondary", styleTheme: "subTitleRegular" })), children && children] })), (0, jsx_runtime_1.jsxs)(S_Footer, { children: [(0, jsx_runtime_1.jsx)(components_1.MainButton, { text: mBtnText, state: mBtnState, type: mBtnType, size: "rlarge", onClick: onClickMBtn }), tBtnText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b" }), (0, jsx_runtime_1.jsx)(components_1.TextButton, { text: tBtnText, state: tBtnState, type: tBtnType, size: "rlarge", onClick: onClickTBtn })] }))] })] }))] }), container);
|
|
69
|
+
return react_dom_1.default.createPortal((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(S_ModalOverlay, {}), (0, jsx_runtime_1.jsxs)(S_ModalWrapper, __assign({ "x-pds-name": "MobileBasicModal", "x-pds-element-type": "panel", "x-pds-device-type": "mobile" }, { children: [(0, jsx_runtime_1.jsxs)(S_Header, { children: [(0, jsx_runtime_1.jsx)(S_TitleWrapper, { children: (0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: titleText, colorTheme: "sysTextPrimary", styleTheme: "headingBold" }) }), (0, jsx_runtime_1.jsx)(S_IconButtonWrapper, { children: (0, jsx_runtime_1.jsx)(components_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 }) })] }), (0, jsx_runtime_1.jsxs)(S_Body, __assign({ bodySpacingMode: bodySpacingMode, bodyOverflowType: bodyOverflowType, scrollVisibleType: scrollVisibleType }, { children: [contentText && ((0, jsx_runtime_1.jsx)(components_1.TextLabel, { text: contentText, colorTheme: "sysTextSecondary", styleTheme: "subTitleRegular" })), children && children] })), (0, jsx_runtime_1.jsxs)(S_Footer, { children: [(0, jsx_runtime_1.jsx)(components_1.MainButton, { text: mBtnText, state: mBtnState, type: mBtnType, size: "rlarge", onClick: onClickMBtn }), tBtnText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b" }), (0, jsx_runtime_1.jsx)(components_1.TextButton, { text: tBtnText, state: tBtnState, type: tBtnType, size: "rlarge", onClick: onClickTBtn })] }))] })] }))] }), container);
|
|
69
70
|
}
|
|
70
71
|
var S_ModalOverlay = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n height: 100vh;\n left: 0;\n position: fixed;\n top: 0;\n width: 100vw;\n\n ", "\n"], ["\n background-color: ", ";\n height: 100vh;\n left: 0;\n position: fixed;\n top: 0;\n width: 100vw;\n\n ", "\n"])), function (_a) {
|
|
71
72
|
var theme = _a.theme;
|
|
@@ -92,10 +93,7 @@ var S_IconButtonWrapper = styled_components_1.default.div(templateObject_4 || (t
|
|
|
92
93
|
var theme = _a.theme;
|
|
93
94
|
return theme.spacing.spacingB;
|
|
94
95
|
});
|
|
95
|
-
var S_Body = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n margin-bottom: ", ";\n margin-left: ", ";\n
|
|
96
|
-
var theme = _a.theme;
|
|
97
|
-
return theme.spacing.spacingE;
|
|
98
|
-
}, function (_a) {
|
|
96
|
+
var S_Body = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n margin-bottom: ", ";\n margin-left: ", ";\n max-height: 50vh;\n overflow-y: ", ";\n padding-right: ", ";\n padding-top: ", ";\n\n ", "\n\n ", "\n"], ["\n margin-bottom: ", ";\n margin-left: ", ";\n max-height: 50vh;\n overflow-y: ", ";\n padding-right: ", ";\n padding-top: ", ";\n\n ", "\n\n ", "\n"])), function (_a) {
|
|
99
97
|
var theme = _a.theme;
|
|
100
98
|
return theme.spacing.spacingE;
|
|
101
99
|
}, function (_a) {
|
|
@@ -104,9 +102,18 @@ var S_Body = styled_components_1.default.div(templateObject_6 || (templateObject
|
|
|
104
102
|
}, function (_a) {
|
|
105
103
|
var bodyOverflowType = _a.bodyOverflowType;
|
|
106
104
|
return bodyOverflowType;
|
|
105
|
+
}, function (_a) {
|
|
106
|
+
var theme = _a.theme;
|
|
107
|
+
return theme.spacing.spacingE;
|
|
107
108
|
}, function (_a) {
|
|
108
109
|
var theme = _a.theme;
|
|
109
110
|
return theme.spacing.spacingC;
|
|
111
|
+
}, function (_a) {
|
|
112
|
+
var scrollVisibleType = _a.scrollVisibleType;
|
|
113
|
+
return ({
|
|
114
|
+
visible: scrollbarStyle_1.scrollbarStyle,
|
|
115
|
+
hidden: scrollbarStyle_1.scrollInvisible
|
|
116
|
+
}[scrollVisibleType]);
|
|
110
117
|
}, function (_a) {
|
|
111
118
|
var bodySpacingMode = _a.bodySpacingMode;
|
|
112
119
|
return bodySpacingMode === 'none' && (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __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/package.json
CHANGED
package/release-note.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# PDS-DEV-KIT-WEB Release Notes
|
|
2
|
-
## [v2.2.
|
|
2
|
+
## [v2.2.213]
|
|
3
3
|
## daily|https://design.storybook.publ.biz/
|
|
4
4
|
|
|
5
5
|
### 업데이트 사항
|
|
6
|
-
* [
|
|
6
|
+
* [PDS-1341] DesktopTabBar styleTheme prop에 content2 값 추가 건
|
|
7
|
+
* [PDS-1343] MobileTabBar styleTheme prop 추가 건
|