pds-dev-kit-web 2.0.11-alpha.0 → 2.0.11
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/index.d.ts +772 -772
- package/dist/src/common/styles/colorSet/index.js +3 -3
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTA.js +1 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTK.js +1 -1
- package/dist/src/sub/DynamicLayout/mock_samplePage.js +3 -3
- package/dist/src/sub/DynamicLayout/mock_storybook.d.ts +4 -4
- package/dist/src/sub/DynamicLayout/mock_storybook.js +26 -30
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/{UnavailableMembershipPlanSheet.d.ts → EmptyMembershipPlanSheet.d.ts} +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/{UnavailableMembershipPlanSheet.js → EmptyMembershipPlanSheet.js} +3 -4
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.js +6 -7
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipSheet.js +4 -3
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/NarrowMembershipListView.js +13 -27
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/SectionContents.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/EmptyMembershipSheet.js +2 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/SectionContents.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/{UnavailableMembershipPlanSheet.d.ts → EmptyMembershipPlanSheet.d.ts} +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/{UnavailableMembershipPlanSheet.js → EmptyMembershipPlanSheet.js} +3 -4
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.d.ts +5 -3
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.js +7 -9
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipSheet.js +3 -3
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/SectionContents.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/EmptyMembershipSheet.js +8 -3
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipContents.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipSectionSheet.js +23 -81
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/SectionContents.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/MembershipSectionItem.d.ts +1 -3
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/MembershipSectionItem.js +3 -6
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.d.ts +1 -3
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.js +3 -9
- package/package.json +1 -1
- package/release-note.md +8 -8
|
@@ -30,7 +30,7 @@ function SectionContents() {
|
|
|
30
30
|
}
|
|
31
31
|
var _a = section.styles, buttonAlphaBackgroundColorInHex = _a.buttonAlphaBackgroundColorInHex, buttonAlphaLabelColorInHex = _a.buttonAlphaLabelColorInHex, buttonAlphaDesignType = _a.buttonAlphaDesignType, descriptionColorInHex = _a.descriptionColorInHex, titleColorInHex = _a.titleColorInHex;
|
|
32
32
|
var _b = section.properties, title = _b.title, description = _b.description, buttonAlphaLabel = _b.buttonAlphaLabel, buttonAlphaLinkSrc = _b.buttonAlphaLinkSrc, buttonAlphaLinkType = _b.buttonAlphaLinkType;
|
|
33
|
-
return ((0, jsx_runtime_1.jsxs)(S_SectionDataBox, __assign({ isEmptySectionData: !title && !description && !buttonAlphaLinkSrc }, { children: [title && ((0, jsx_runtime_1.jsx)(components_1.D_MembershipSectionItem.Title, { text: title, textAlign: "center", color: titleColorInHex, customFontSize: "48px", customFontWeight: "bold" }, void 0)), description && ((0, jsx_runtime_1.jsx)(S_DescriptionWrapper, { children: (0, jsx_runtime_1.jsx)(components_1.D_MembershipSectionItem.Description, { text: description, textAlign: "center", color: descriptionColorInHex,
|
|
33
|
+
return ((0, jsx_runtime_1.jsxs)(S_SectionDataBox, __assign({ isEmptySectionData: !title && !description && !buttonAlphaLinkSrc }, { children: [title && ((0, jsx_runtime_1.jsx)(components_1.D_MembershipSectionItem.Title, { text: title, textAlign: "center", color: titleColorInHex, customFontSize: "48px", customFontWeight: "bold" }, void 0)), description && ((0, jsx_runtime_1.jsx)(S_DescriptionWrapper, { children: (0, jsx_runtime_1.jsx)(components_1.D_MembershipSectionItem.Description, { text: description, textAlign: "center", color: descriptionColorInHex, styleTheme: "headingBold" }, void 0) }, void 0)), buttonAlphaLinkSrc && ((0, jsx_runtime_1.jsx)(S_ButtonWrapper, { children: (0, jsx_runtime_1.jsx)(components_1.D_MembershipSectionItem.DesignedSectionButton, { buttonType: buttonAlphaDesignType, text: buttonAlphaLabel, linkType: buttonAlphaLinkType, src: buttonAlphaLinkSrc, textColor: buttonAlphaLabelColorInHex, backgroundColor: buttonAlphaBackgroundColorInHex, borderColor: buttonAlphaLabelColorInHex }, void 0) }, void 0))] }), void 0));
|
|
34
34
|
}
|
|
35
35
|
var S_SectionDataBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n margin-bottom: ", ";\n"], ["\n margin-bottom: ", ";\n"])), function (_a) {
|
|
36
36
|
var isEmptySectionData = _a.isEmptySectionData;
|
|
@@ -38,11 +38,16 @@ function MembershipSheet() {
|
|
|
38
38
|
display: 'flex',
|
|
39
39
|
alignItems: 'center',
|
|
40
40
|
justifyContent: 'center',
|
|
41
|
-
|
|
42
|
-
marginBottom: '48px'
|
|
41
|
+
marginBottom: '96px'
|
|
43
42
|
}, width: "100%", height: "180px", shapeType: "round" }, { children: (0, jsx_runtime_1.jsx)(components_1.D_MembershipSectionItem.Title, { text: t('str_5299'), styleTheme: "body2Regular", color: constants_1.MEMBERSHIP_SECTION_TONE_COLOR[itemToneType].emptyMembershipSheetTextLabelColor }, void 0) }), void 0) }, void 0));
|
|
44
43
|
}
|
|
45
|
-
var S_EmptyMembershipSheet = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 0 ", ";\n"], ["\n padding: 0 ", ";\n"])), function (_a) {
|
|
44
|
+
var S_EmptyMembershipSheet = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n margin-bottom: ", ";\n margin-top: ", ";\n padding: 0 ", ";\n"], ["\n margin-bottom: ", ";\n margin-top: ", ";\n padding: 0 ", ";\n"])), function (_a) {
|
|
45
|
+
var theme = _a.theme;
|
|
46
|
+
return theme.spacing.spacingG;
|
|
47
|
+
}, function (_a) {
|
|
48
|
+
var theme = _a.theme;
|
|
49
|
+
return theme.spacing.spacingG;
|
|
50
|
+
}, function (_a) {
|
|
46
51
|
var theme = _a.theme;
|
|
47
52
|
return theme.spacing.spacingE;
|
|
48
53
|
});
|
|
@@ -17,6 +17,6 @@ function MembershipContents(_a) {
|
|
|
17
17
|
return ((0, jsx_runtime_1.jsx)(react_1.Fragment, { children: (0, jsx_runtime_1.jsx)(MembershipSectionSheet_1.default, { membership: connectedMembership.membership }, void 0) }, connectedMembership.id));
|
|
18
18
|
}) }, void 0));
|
|
19
19
|
}
|
|
20
|
-
var S_MembershipBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n margin-bottom:
|
|
20
|
+
var S_MembershipBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n margin-bottom: 115px;\n position: relative;\n"], ["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n margin-bottom: 115px;\n position: relative;\n"])));
|
|
21
21
|
exports.default = MembershipContents;
|
|
22
22
|
var templateObject_1;
|
|
@@ -14,109 +14,51 @@ var __assign = (this && this.__assign) || function () {
|
|
|
14
14
|
};
|
|
15
15
|
return __assign.apply(this, arguments);
|
|
16
16
|
};
|
|
17
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
-
if (k2 === undefined) k2 = k;
|
|
19
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
-
}) : (function(o, m, k, k2) {
|
|
21
|
-
if (k2 === undefined) k2 = k;
|
|
22
|
-
o[k2] = m[k];
|
|
23
|
-
}));
|
|
24
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
-
}) : function(o, v) {
|
|
27
|
-
o["default"] = v;
|
|
28
|
-
});
|
|
29
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
-
if (mod && mod.__esModule) return mod;
|
|
31
|
-
var result = {};
|
|
32
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
-
__setModuleDefault(result, mod);
|
|
34
|
-
return result;
|
|
35
|
-
};
|
|
36
17
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
37
18
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
38
19
|
};
|
|
39
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
21
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
41
22
|
var react_1 = require("react");
|
|
42
|
-
var
|
|
23
|
+
var pdsOriginal_1 = require("../../../../../../../../DynamicLayout/components/pdsOriginal");
|
|
43
24
|
var Section_1 = require("../../../../../../../../DynamicLayout/components/Section");
|
|
44
|
-
var
|
|
25
|
+
var components_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/components");
|
|
45
26
|
var constants_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/constants");
|
|
46
|
-
var styled_components_1 =
|
|
27
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
47
28
|
var MembershipBenefitInfo_1 = __importDefault(require("./MembershipBenefitInfo"));
|
|
48
29
|
function MembershipSectionSheet(_a) {
|
|
49
30
|
var membership = _a.membership;
|
|
50
31
|
var section = (0, react_1.useContext)(Section_1.sectionContext);
|
|
51
|
-
var membershipCardTemplate = membership.membershipCardTemplate, membershipBenefitInfo = membership.membershipBenefitInfo;
|
|
52
|
-
var _b = (0, react_1.useState)(0), containerHeight = _b[0], setContainerHeight = _b[1];
|
|
53
|
-
var _c = (0, react_1.useState)(0), containerWidth = _c[0], setContainerWidth = _c[1];
|
|
54
|
-
var firstObserve = true;
|
|
55
|
-
var observerTarget = (0, react_1.useRef)(null);
|
|
56
|
-
var fadeTarget = (0, react_1.useRef)(null);
|
|
57
|
-
/**
|
|
58
|
-
* @when : 화면 진입 시
|
|
59
|
-
* @expected : 화면에 타겟의 등장을 감지하는 옵저버를 추가합니다.
|
|
60
|
-
* @clear : 옵저버 연결을 해제합니다.
|
|
61
|
-
*/
|
|
62
|
-
(0, react_1.useEffect)(function () {
|
|
63
|
-
var observerTargetElement = observerTarget.current;
|
|
64
|
-
var fadeTargetElement = fadeTarget.current;
|
|
65
|
-
var mainElement = document.querySelector('main');
|
|
66
|
-
setContainerHeight(mainElement ? mainElement.clientHeight : window.innerHeight);
|
|
67
|
-
if (!observerTargetElement || !fadeTargetElement) {
|
|
68
|
-
return;
|
|
69
|
-
}
|
|
70
|
-
setContainerWidth(observerTargetElement.clientWidth);
|
|
71
|
-
var observer = new IntersectionObserver(function (entries) {
|
|
72
|
-
entries.forEach(function (entry) {
|
|
73
|
-
if (entry.isIntersecting) {
|
|
74
|
-
fadeTargetElement.classList.remove('fadeOut');
|
|
75
|
-
fadeTargetElement.classList.add('fadeIn');
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
!firstObserve && fadeTargetElement.classList.add('fadeOut');
|
|
79
|
-
fadeTargetElement.classList.remove('fadeIn');
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
firstObserve = false;
|
|
83
|
-
});
|
|
84
|
-
observer.observe(observerTargetElement);
|
|
85
|
-
return function () {
|
|
86
|
-
observer.disconnect();
|
|
87
|
-
};
|
|
88
|
-
}, []);
|
|
89
32
|
if (!section) {
|
|
90
33
|
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}, void 0);
|
|
91
34
|
}
|
|
35
|
+
var membershipCardTemplate = membership.membershipCardTemplate, membershipBenefitInfo = membership.membershipBenefitInfo;
|
|
92
36
|
var itemToneType = section.styles.itemToneType;
|
|
93
|
-
return ((0, jsx_runtime_1.jsxs)(
|
|
37
|
+
return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(S_ImageWrapper, { children: (0, jsx_runtime_1.jsx)(components_1.M_MembershipSectionItem.MembershipCard, { membershipCardTemplate: membershipCardTemplate }, void 0) }, void 0), (0, jsx_runtime_1.jsx)(pdsOriginal_1.Spacing, { size: "spacing_e" }, void 0), (0, jsx_runtime_1.jsxs)(S_ContentBox, { children: [(0, jsx_runtime_1.jsx)(S_TopGradient, { contentBackgroundDimColor: constants_1.MEMBERSHIP_SECTION_TONE_COLOR[itemToneType].contentBackgroundDimColor }, void 0), (0, jsx_runtime_1.jsx)(S_MembershipDetailBox, __assign({ contentBackgroundDimColor: constants_1.MEMBERSHIP_SECTION_TONE_COLOR[itemToneType].contentBackgroundDimColor }, { children: (0, jsx_runtime_1.jsxs)(S_MembershipDetailContents, { children: [(0, jsx_runtime_1.jsx)(pdsOriginal_1.Spacing, { size: "spacing_g" }, void 0), (0, jsx_runtime_1.jsx)(components_1.M_MembershipSectionItem.Title, { text: membership.title || '', color: constants_1.MEMBERSHIP_SECTION_TONE_COLOR[itemToneType].membershipSheetTextLabelColor, customFontSize: "28px", customFontWeight: "bold", textAlign: "center" }, void 0), (0, jsx_runtime_1.jsx)(pdsOriginal_1.Spacing, { size: "spacing_f" }, void 0), membershipBenefitInfo && ((0, jsx_runtime_1.jsx)(MembershipBenefitInfo_1.default, { membershipBenefitInfo: membershipBenefitInfo, itemToneType: itemToneType }, void 0)), (0, jsx_runtime_1.jsx)(pdsOriginal_1.Spacing, { size: "spacing_e" }, void 0)] }, void 0) }), void 0), (0, jsx_runtime_1.jsx)(S_BottomGradient, { contentBackgroundDimColor: constants_1.MEMBERSHIP_SECTION_TONE_COLOR[itemToneType].contentBackgroundDimColor }, void 0)] }, void 0)] }, void 0));
|
|
94
38
|
}
|
|
95
|
-
var
|
|
96
|
-
var S_MembershipSectionView = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: ", "px;\n position: sticky;\n top: 0;\n width: 100%;\n z-index: 1;\n"], ["\n height: ", "px;\n position: sticky;\n top: 0;\n width: 100%;\n z-index: 1;\n"])), function (_a) {
|
|
97
|
-
var containerHeight = _a.containerHeight;
|
|
98
|
-
return containerHeight;
|
|
99
|
-
});
|
|
100
|
-
var S_CardContentsWrapper = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n padding-left: ", ";\n padding-right: ", ";\n"], ["\n padding-left: ", ";\n padding-right: ", ";\n"])), function (_a) {
|
|
39
|
+
var S_ImageWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding-left: ", ";\n padding-right: ", ";\n padding-top: ", ";\n position: sticky;\n top: 0px;\n z-index: 1;\n"], ["\n padding-left: ", ";\n padding-right: ", ";\n padding-top: ", ";\n position: sticky;\n top: 0px;\n z-index: 1;\n"])), function (_a) {
|
|
101
40
|
var theme = _a.theme;
|
|
102
|
-
return theme.spacing.
|
|
41
|
+
return theme.spacing.spacingG;
|
|
103
42
|
}, function (_a) {
|
|
104
43
|
var theme = _a.theme;
|
|
105
|
-
return theme.spacing.
|
|
44
|
+
return theme.spacing.spacingG;
|
|
45
|
+
}, function (_a) {
|
|
46
|
+
var theme = _a.theme;
|
|
47
|
+
return theme.spacing.spacingG;
|
|
48
|
+
});
|
|
49
|
+
var S_ContentBox = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n width: 100%;\n"], ["\n width: 100%;\n"])));
|
|
50
|
+
var S_TopGradient = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n background: ", ";\n height: 80px;\n position: relative;\n width: 100%;\n z-index: 2;\n"], ["\n background: ", ";\n height: 80px;\n position: relative;\n width: 100%;\n z-index: 2;\n"])), function (_a) {
|
|
51
|
+
var contentBackgroundDimColor = _a.contentBackgroundDimColor;
|
|
52
|
+
return "linear-gradient(transparent, " + contentBackgroundDimColor + ")";
|
|
106
53
|
});
|
|
107
|
-
var
|
|
108
|
-
var
|
|
109
|
-
|
|
110
|
-
return containerHeight;
|
|
54
|
+
var S_BottomGradient = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n background: ", ";\n height: 80px;\n position: relative;\n width: 100%;\n z-index: 2;\n"], ["\n background: ", ";\n height: 80px;\n position: relative;\n width: 100%;\n z-index: 2;\n"])), function (_a) {
|
|
55
|
+
var contentBackgroundDimColor = _a.contentBackgroundDimColor;
|
|
56
|
+
return "linear-gradient(" + contentBackgroundDimColor + ", transparent)";
|
|
111
57
|
});
|
|
112
|
-
var
|
|
113
|
-
var fadeout = (0, styled_components_1.keyframes)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n"], ["\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n"])));
|
|
114
|
-
var S_ContentWrapper = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n background: ", ";\n border-radius: 12px;\n display: none;\n height: ", "px;\n left: 50%;\n overflow: auto;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n width: calc(100% - 96px);\n z-index: 2;\n\n &.fadeIn {\n animation: ", " 0.5s;\n display: inline-block;\n }\n\n &.fadeOut {\n animation: ", " 0.5s;\n display: inline-block;\n opacity: 0;\n }\n"], ["\n background: ", ";\n border-radius: 12px;\n display: none;\n height: ", "px;\n left: 50%;\n overflow: auto;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n width: calc(100% - 96px);\n z-index: 2;\n\n &.fadeIn {\n animation: ", " 0.5s;\n display: inline-block;\n }\n\n &.fadeOut {\n animation: ", " 0.5s;\n display: inline-block;\n opacity: 0;\n }\n"])), function (_a) {
|
|
58
|
+
var S_MembershipDetailBox = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background: ", ";\n display: flex;\n min-height: 446px;\n position: sticky;\n width: 100%;\n z-index: 2;\n"], ["\n background: ", ";\n display: flex;\n min-height: 446px;\n position: sticky;\n width: 100%;\n z-index: 2;\n"])), function (_a) {
|
|
115
59
|
var contentBackgroundDimColor = _a.contentBackgroundDimColor;
|
|
116
60
|
return contentBackgroundDimColor;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
return $height;
|
|
120
|
-
}, fadein, fadeout);
|
|
61
|
+
});
|
|
62
|
+
var S_MembershipDetailContents = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n margin: 0 72px;\n position: relative;\n width: 100%;\n"], ["\n margin: 0 72px;\n position: relative;\n width: 100%;\n"])));
|
|
121
63
|
exports.default = MembershipSectionSheet;
|
|
122
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6
|
|
64
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
|
|
@@ -19,7 +19,7 @@ function SectionContents() {
|
|
|
19
19
|
}
|
|
20
20
|
var _a = section.styles, buttonAlphaBackgroundColorInHex = _a.buttonAlphaBackgroundColorInHex, buttonAlphaLabelColorInHex = _a.buttonAlphaLabelColorInHex, buttonAlphaDesignType = _a.buttonAlphaDesignType, descriptionColorInHex = _a.descriptionColorInHex, titleColorInHex = _a.titleColorInHex;
|
|
21
21
|
var _b = section.properties, title = _b.title, description = _b.description, buttonAlphaLabel = _b.buttonAlphaLabel, buttonAlphaLinkSrc = _b.buttonAlphaLinkSrc, buttonAlphaLinkType = _b.buttonAlphaLinkType;
|
|
22
|
-
return ((0, jsx_runtime_1.jsxs)(S_SectionDataBox, { children: [title && ((0, jsx_runtime_1.jsx)(components_1.M_MembershipSectionItem.Title, { text: title,
|
|
22
|
+
return ((0, jsx_runtime_1.jsxs)(S_SectionDataBox, { children: [title && ((0, jsx_runtime_1.jsx)(components_1.M_MembershipSectionItem.Title, { text: title, textAlign: "center", color: titleColorInHex, styleTheme: "displayBold" }, void 0)), description && ((0, jsx_runtime_1.jsx)(S_DescriptionWrapper, { children: (0, jsx_runtime_1.jsx)(components_1.M_MembershipSectionItem.Description, { text: description, textAlign: "center", color: descriptionColorInHex, styleTheme: "body1Bold" }, void 0) }, void 0)), buttonAlphaLinkSrc && ((0, jsx_runtime_1.jsx)(S_ButtonWrapper, { children: (0, jsx_runtime_1.jsx)(components_1.M_MembershipSectionItem.DesignedSectionButton, { buttonType: buttonAlphaDesignType, text: buttonAlphaLabel, linkType: buttonAlphaLinkType, src: buttonAlphaLinkSrc, textColor: buttonAlphaLabelColorInHex, backgroundColor: buttonAlphaBackgroundColorInHex, borderColor: buttonAlphaLabelColorInHex }, void 0) }, void 0))] }, void 0));
|
|
23
23
|
}
|
|
24
24
|
var S_SectionDataBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 0 ", ";\n"], ["\n padding: 0 ", ";\n"])), function (_a) {
|
|
25
25
|
var theme = _a.theme;
|
|
@@ -7,9 +7,7 @@ declare namespace MembershipSectionItem {
|
|
|
7
7
|
var Title: ({ text, color, lineHeight, ...textLabelProps }: IItemTitle & TextLabelProps & {
|
|
8
8
|
lineHeight?: number | undefined;
|
|
9
9
|
}) => JSX.Element;
|
|
10
|
-
var Description: ({ text, color,
|
|
11
|
-
fontWeight?: string | undefined;
|
|
12
|
-
}) => JSX.Element;
|
|
10
|
+
var Description: ({ text, color, ...textLabelProps }: IItemDescription & TextLabelProps) => JSX.Element;
|
|
13
11
|
var DesignedSectionButton: ({ buttonType, backgroundColor, textColor, text, linkType, src, linkMethod, state, borderColor }: IItemButton) => JSX.Element;
|
|
14
12
|
var IconButton: ({ iconButtonIconColor, iconButtonDisabledIconColor, iconButtonBackgroundColor, iconButtonBorderColor, iconButtonDisabledBackgroundColor, isDisabled, iconName, state, onClick }: IconButtonProps) => JSX.Element;
|
|
15
13
|
var MembershipCard: ({ membershipCardTemplate }: MembershipCardProps) => JSX.Element;
|
|
@@ -70,15 +70,12 @@ var S_TitleStyleWrapper = styled_components_1.default.div(templateObject_2 || (t
|
|
|
70
70
|
return lineHeight;
|
|
71
71
|
});
|
|
72
72
|
function Description(_a) {
|
|
73
|
-
var text = _a.text, color = _a.color,
|
|
74
|
-
return ((0, jsx_runtime_1.jsx)(S_DescriptionStyleWrapper, __assign({ "x-dlayout-membership-item-element-name": "Description", color: color
|
|
73
|
+
var text = _a.text, color = _a.color, textLabelProps = __rest(_a, ["text", "color"]);
|
|
74
|
+
return ((0, jsx_runtime_1.jsx)(S_DescriptionStyleWrapper, __assign({ "x-dlayout-membership-item-element-name": "Description", color: color }, { children: (0, jsx_runtime_1.jsx)(pdsOriginal_1.D_TextLabel, __assign({ text: text, colorTheme: "sysTextSecondary" }, textLabelProps), void 0) }), void 0));
|
|
75
75
|
}
|
|
76
|
-
var S_DescriptionStyleWrapper = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n & > div {\n color: ", ";\n width: 100%;\n
|
|
76
|
+
var S_DescriptionStyleWrapper = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n & > div {\n color: ", ";\n width: 100%;\n }\n"], ["\n & > div {\n color: ", ";\n width: 100%;\n }\n"])), function (_a) {
|
|
77
77
|
var color = _a.color;
|
|
78
78
|
return color;
|
|
79
|
-
}, function (_a) {
|
|
80
|
-
var fontWeight = _a.fontWeight;
|
|
81
|
-
return fontWeight && "font-weight : " + fontWeight + ";";
|
|
82
79
|
});
|
|
83
80
|
function DesignedSectionButton(_a) {
|
|
84
81
|
var buttonType = _a.buttonType, backgroundColor = _a.backgroundColor, textColor = _a.textColor, text = _a.text, _b = _a.linkType, linkType = _b === void 0 ? 'NONE' : _b, _c = _a.src, src = _c === void 0 ? '' : _c, _d = _a.linkMethod, linkMethod = _d === void 0 ? 'CLICK_BUTTON_IN_ITEM' : _d, _e = _a.state, state = _e === void 0 ? 'normal' : _e, borderColor = _a.borderColor;
|
|
@@ -7,9 +7,7 @@ declare namespace MembershipSectionItem {
|
|
|
7
7
|
var Title: ({ text, color, lineHeight, ...textLabelProps }: IItemTitle & TextLabelProps & {
|
|
8
8
|
lineHeight?: number | undefined;
|
|
9
9
|
}) => JSX.Element;
|
|
10
|
-
var Description: ({ text, color,
|
|
11
|
-
fontWeight?: string | undefined;
|
|
12
|
-
}) => JSX.Element;
|
|
10
|
+
var Description: ({ text, color, ...textLabelProps }: IItemDescription & TextLabelProps) => JSX.Element;
|
|
13
11
|
var DesignedSectionButton: ({ buttonType, backgroundColor, textColor, text, linkType, src, linkMethod, state, borderColor }: IItemButton) => JSX.Element;
|
|
14
12
|
var IconButton: ({ iconButtonBackgroundColor, iconButtonBorderColor, iconButtonDisabledBackgroundColor, iconButtonDisabledIconColor, iconButtonIconColor, isDisabled, iconName, state, onClick }: IconButtonProps) => JSX.Element;
|
|
15
13
|
var MembershipCard: ({ membershipCardTemplate, cardWidth }: MembershipCardProps) => JSX.Element;
|
|
@@ -70,18 +70,12 @@ var S_TitleStyleWrapper = styled_components_1.default.div(templateObject_2 || (t
|
|
|
70
70
|
return lineHeight;
|
|
71
71
|
});
|
|
72
72
|
function Description(_a) {
|
|
73
|
-
var text = _a.text, color = _a.color,
|
|
74
|
-
return ((0, jsx_runtime_1.jsx)(S_DescriptionStyleWrapper, __assign({ "x-dlayout-membership-item-element-name": "Description", color: color
|
|
73
|
+
var text = _a.text, color = _a.color, textLabelProps = __rest(_a, ["text", "color"]);
|
|
74
|
+
return ((0, jsx_runtime_1.jsx)(S_DescriptionStyleWrapper, __assign({ "x-dlayout-membership-item-element-name": "Description", color: color }, { children: (0, jsx_runtime_1.jsx)(pdsOriginal_1.M_TextLabel, __assign({ text: text, colorTheme: "sysTextSecondary" }, textLabelProps), void 0) }), void 0));
|
|
75
75
|
}
|
|
76
|
-
var S_DescriptionStyleWrapper = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n
|
|
77
|
-
var isBulletPointMode = _a.isBulletPointMode;
|
|
78
|
-
return isBulletPointMode && 'position: relative';
|
|
79
|
-
}, function (_a) {
|
|
76
|
+
var S_DescriptionStyleWrapper = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n & > div {\n color: ", ";\n width: 100%;\n }\n"], ["\n & > div {\n color: ", ";\n width: 100%;\n }\n"])), function (_a) {
|
|
80
77
|
var color = _a.color;
|
|
81
78
|
return color;
|
|
82
|
-
}, function (_a) {
|
|
83
|
-
var fontWeight = _a.fontWeight;
|
|
84
|
-
return fontWeight && "font-weight : " + fontWeight + ";";
|
|
85
79
|
});
|
|
86
80
|
function DesignedSectionButton(_a) {
|
|
87
81
|
var buttonType = _a.buttonType, backgroundColor = _a.backgroundColor, textColor = _a.textColor, text = _a.text, _b = _a.linkType, linkType = _b === void 0 ? 'NONE' : _b, _c = _a.src, src = _c === void 0 ? '' : _c, _d = _a.linkMethod, linkMethod = _d === void 0 ? 'CLICK_BUTTON_IN_ITEM' : _d, _e = _a.state, state = _e === void 0 ? 'normal' : _e, borderColor = _a.borderColor;
|
package/package.json
CHANGED
package/release-note.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# PDS-DEV-KIT-WEB Release Notes
|
|
2
|
-
## [v2.0.11
|
|
2
|
+
## [v2.0.11]
|
|
3
3
|
|
|
4
|
-
##
|
|
4
|
+
## daily|https://design.storybook.publ.biz/
|
|
5
5
|
|
|
6
|
-
###
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
|
|
10
|
-
*
|
|
6
|
+
### Layout
|
|
7
|
+
* WTA
|
|
8
|
+
* 로딩 상태일때도 area의 스타일과 동일한 스타일을 가지도록 조치
|
|
9
|
+
* WTK
|
|
10
|
+
* 로딩 상태일때도 area의 스타일과 동일한 스타일을 가지도록 조치
|
|
11
11
|
### Color
|
|
12
|
-
* 컬러 키 값 23.05.
|
|
12
|
+
* 컬러 키 값 23.05.10 11시 43분 기준 싱크
|