pds-dev-kit-web 2.0.10 → 2.0.11-alpha.0
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 +2 -1
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +2 -1
- package/dist/src/common/styles/colorSet/UIColor.json +3 -1
- package/dist/src/common/styles/colorSet/index.d.ts +606 -602
- package/dist/src/common/styles/colorSet/index.js +4 -4
- package/dist/src/common/styles/colorSet/ui-type.d.ts +2 -0
- 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 +30 -26
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.js +7 -6
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipSheet.js +3 -4
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/NarrowMembershipListView.js +27 -13
- 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/desktop/components/{EmptyMembershipPlanSheet.d.ts → UnavailableMembershipPlanSheet.d.ts} +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/{EmptyMembershipPlanSheet.js → UnavailableMembershipPlanSheet.js} +4 -3
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/EmptyMembershipSheet.js +1 -2
- 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/MembershipPlanSheet.d.ts +3 -5
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.js +9 -7
- 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/desktop/components/{EmptyMembershipPlanSheet.d.ts → UnavailableMembershipPlanSheet.d.ts} +2 -2
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/{EmptyMembershipPlanSheet.js → UnavailableMembershipPlanSheet.js} +4 -3
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/EmptyMembershipSheet.js +3 -8
- 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 +81 -23
- 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 +3 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/MembershipSectionItem.js +6 -3
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.d.ts +3 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.js +9 -3
- package/package.json +1 -1
- package/release-note.md +9 -5
|
@@ -38,16 +38,11 @@ function MembershipSheet() {
|
|
|
38
38
|
display: 'flex',
|
|
39
39
|
alignItems: 'center',
|
|
40
40
|
justifyContent: 'center',
|
|
41
|
-
|
|
41
|
+
marginTop: '48px',
|
|
42
|
+
marginBottom: '48px'
|
|
42
43
|
}, 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));
|
|
43
44
|
}
|
|
44
|
-
var S_EmptyMembershipSheet = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n
|
|
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) {
|
|
45
|
+
var S_EmptyMembershipSheet = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 0 ", ";\n"], ["\n padding: 0 ", ";\n"])), function (_a) {
|
|
51
46
|
var theme = _a.theme;
|
|
52
47
|
return theme.spacing.spacingE;
|
|
53
48
|
});
|
|
@@ -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: 0;\n position: relative;\n"], ["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n margin-bottom: 0;\n position: relative;\n"])));
|
|
21
21
|
exports.default = MembershipContents;
|
|
22
22
|
var templateObject_1;
|
|
@@ -14,51 +14,109 @@ 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
|
+
};
|
|
17
36
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
37
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
38
|
};
|
|
20
39
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
40
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
22
41
|
var react_1 = require("react");
|
|
23
|
-
var
|
|
42
|
+
var components_1 = require("../../../../../../../../../hybrid/components");
|
|
24
43
|
var Section_1 = require("../../../../../../../../DynamicLayout/components/Section");
|
|
25
|
-
var
|
|
44
|
+
var components_2 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/components");
|
|
26
45
|
var constants_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/constants");
|
|
27
|
-
var styled_components_1 =
|
|
46
|
+
var styled_components_1 = __importStar(require("styled-components"));
|
|
28
47
|
var MembershipBenefitInfo_1 = __importDefault(require("./MembershipBenefitInfo"));
|
|
29
48
|
function MembershipSectionSheet(_a) {
|
|
30
49
|
var membership = _a.membership;
|
|
31
50
|
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
|
+
}, []);
|
|
32
89
|
if (!section) {
|
|
33
90
|
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}, void 0);
|
|
34
91
|
}
|
|
35
|
-
var membershipCardTemplate = membership.membershipCardTemplate, membershipBenefitInfo = membership.membershipBenefitInfo;
|
|
36
92
|
var itemToneType = section.styles.itemToneType;
|
|
37
|
-
return ((0, jsx_runtime_1.jsxs)(
|
|
93
|
+
return ((0, jsx_runtime_1.jsxs)(S_MembershipSection, { children: [(0, jsx_runtime_1.jsxs)(S_MembershipSectionView, __assign({ containerHeight: containerHeight }, { children: [(0, jsx_runtime_1.jsx)(S_ImageWrapper, { children: (0, jsx_runtime_1.jsx)(components_2.M_MembershipSectionItem.MembershipCard, { membershipCardTemplate: membershipCardTemplate }, void 0) }, void 0), (0, jsx_runtime_1.jsxs)(S_ContentWrapper, __assign({ ref: fadeTarget, "$height": (containerWidth - 96) * 1.6, contentBackgroundDimColor: constants_1.MEMBERSHIP_SECTION_TONE_COLOR[itemToneType].contentBackgroundDimColor }, { children: [(0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_g" }, void 0), (0, jsx_runtime_1.jsxs)(S_CardContentsWrapper, { children: [(0, jsx_runtime_1.jsx)(components_2.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)(components_1.Spacing, { size: "spacing_f" }, void 0), membershipBenefitInfo && ((0, jsx_runtime_1.jsx)(MembershipBenefitInfo_1.default, { membershipBenefitInfo: membershipBenefitInfo, itemToneType: itemToneType }, void 0))] }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_g" }, void 0)] }), void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_e" }, void 0)] }), void 0), (0, jsx_runtime_1.jsx)(S_StickySpacing, { ref: observerTarget, containerHeight: containerHeight }, void 0)] }, void 0));
|
|
38
94
|
}
|
|
39
|
-
var
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
95
|
+
var S_MembershipSection = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
|
|
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) {
|
|
43
101
|
var theme = _a.theme;
|
|
44
|
-
return theme.spacing.
|
|
102
|
+
return theme.spacing.spacingE;
|
|
45
103
|
}, function (_a) {
|
|
46
104
|
var theme = _a.theme;
|
|
47
|
-
return theme.spacing.
|
|
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 + ")";
|
|
105
|
+
return theme.spacing.spacingE;
|
|
53
106
|
});
|
|
54
|
-
var
|
|
55
|
-
|
|
56
|
-
|
|
107
|
+
var S_ImageWrapper = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n left: 50%;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n width: calc(100% - 96px);\n z-index: 1;\n"], ["\n left: 50%;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n width: calc(100% - 96px);\n z-index: 1;\n"])));
|
|
108
|
+
var S_StickySpacing = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n height: ", "px;\n margin-top: 200px;\n position: relative;\n"], ["\n height: ", "px;\n margin-top: 200px;\n position: relative;\n"])), function (_a) {
|
|
109
|
+
var containerHeight = _a.containerHeight;
|
|
110
|
+
return containerHeight;
|
|
57
111
|
});
|
|
58
|
-
var
|
|
112
|
+
var fadein = (0, styled_components_1.keyframes)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n"], ["\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n"])));
|
|
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) {
|
|
59
115
|
var contentBackgroundDimColor = _a.contentBackgroundDimColor;
|
|
60
116
|
return contentBackgroundDimColor;
|
|
61
|
-
})
|
|
62
|
-
var
|
|
117
|
+
}, function (_a) {
|
|
118
|
+
var $height = _a.$height;
|
|
119
|
+
return $height;
|
|
120
|
+
}, fadein, fadeout);
|
|
63
121
|
exports.default = MembershipSectionSheet;
|
|
64
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
|
|
122
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
|
|
@@ -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, textAlign: "center",
|
|
22
|
+
return ((0, jsx_runtime_1.jsxs)(S_SectionDataBox, { children: [title && ((0, jsx_runtime_1.jsx)(components_1.M_MembershipSectionItem.Title, { text: title, color: titleColorInHex, textAlign: "center", customFontSize: "32px", customFontWeight: "bold", lineHeight: 1.3 }, void 0)), description && ((0, jsx_runtime_1.jsx)(S_DescriptionWrapper, { children: (0, jsx_runtime_1.jsx)(components_1.M_MembershipSectionItem.Description, { text: description, color: descriptionColorInHex, textAlign: "center", customFontSize: "18px", fontWeight: "600" }, 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,7 +7,9 @@ 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, ...textLabelProps }: IItemDescription & TextLabelProps
|
|
10
|
+
var Description: ({ text, color, fontWeight, ...textLabelProps }: IItemDescription & TextLabelProps & {
|
|
11
|
+
fontWeight?: string | undefined;
|
|
12
|
+
}) => JSX.Element;
|
|
11
13
|
var DesignedSectionButton: ({ buttonType, backgroundColor, textColor, text, linkType, src, linkMethod, state, borderColor }: IItemButton) => JSX.Element;
|
|
12
14
|
var IconButton: ({ iconButtonIconColor, iconButtonDisabledIconColor, iconButtonBackgroundColor, iconButtonBorderColor, iconButtonDisabledBackgroundColor, isDisabled, iconName, state, onClick }: IconButtonProps) => JSX.Element;
|
|
13
15
|
var MembershipCard: ({ membershipCardTemplate }: MembershipCardProps) => JSX.Element;
|
|
@@ -70,12 +70,15 @@ 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, 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));
|
|
73
|
+
var text = _a.text, color = _a.color, fontWeight = _a.fontWeight, textLabelProps = __rest(_a, ["text", "color", "fontWeight"]);
|
|
74
|
+
return ((0, jsx_runtime_1.jsx)(S_DescriptionStyleWrapper, __assign({ "x-dlayout-membership-item-element-name": "Description", color: color, fontWeight: fontWeight }, { 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 }\n"], ["\n & > div {\n color: ", ";\n width: 100%;\n }\n"])), 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 }\n"], ["\n & > div {\n color: ", ";\n width: 100%;\n\n ", ";\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 + ";";
|
|
79
82
|
});
|
|
80
83
|
function DesignedSectionButton(_a) {
|
|
81
84
|
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,7 +7,9 @@ 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, ...textLabelProps }: IItemDescription & TextLabelProps
|
|
10
|
+
var Description: ({ text, color, fontWeight, ...textLabelProps }: IItemDescription & TextLabelProps & {
|
|
11
|
+
fontWeight?: string | undefined;
|
|
12
|
+
}) => JSX.Element;
|
|
11
13
|
var DesignedSectionButton: ({ buttonType, backgroundColor, textColor, text, linkType, src, linkMethod, state, borderColor }: IItemButton) => JSX.Element;
|
|
12
14
|
var IconButton: ({ iconButtonBackgroundColor, iconButtonBorderColor, iconButtonDisabledBackgroundColor, iconButtonDisabledIconColor, iconButtonIconColor, isDisabled, iconName, state, onClick }: IconButtonProps) => JSX.Element;
|
|
13
15
|
var MembershipCard: ({ membershipCardTemplate, cardWidth }: MembershipCardProps) => JSX.Element;
|
|
@@ -70,12 +70,18 @@ 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, 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));
|
|
73
|
+
var text = _a.text, color = _a.color, fontWeight = _a.fontWeight, textLabelProps = __rest(_a, ["text", "color", "fontWeight"]);
|
|
74
|
+
return ((0, jsx_runtime_1.jsx)(S_DescriptionStyleWrapper, __assign({ "x-dlayout-membership-item-element-name": "Description", color: color, fontWeight: fontWeight, isBulletPointMode: textLabelProps.bulletPointMode === 'use' }, { 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 & > div {\n color: ", ";\n width: 100%;\n }\n"], ["\n & > div {\n color: ", ";\n width: 100%;\n }\n"])), function (_a) {
|
|
76
|
+
var S_DescriptionStyleWrapper = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", ";\n\n & > div {\n color: ", ";\n width: 100%;\n\n ", ";\n }\n"], ["\n ", ";\n\n & > div {\n color: ", ";\n width: 100%;\n\n ", ";\n }\n"])), function (_a) {
|
|
77
|
+
var isBulletPointMode = _a.isBulletPointMode;
|
|
78
|
+
return isBulletPointMode && 'position: relative';
|
|
79
|
+
}, function (_a) {
|
|
77
80
|
var color = _a.color;
|
|
78
81
|
return color;
|
|
82
|
+
}, function (_a) {
|
|
83
|
+
var fontWeight = _a.fontWeight;
|
|
84
|
+
return fontWeight && "font-weight : " + fontWeight + ";";
|
|
79
85
|
});
|
|
80
86
|
function DesignedSectionButton(_a) {
|
|
81
87
|
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,8 +1,12 @@
|
|
|
1
1
|
# PDS-DEV-KIT-WEB Release Notes
|
|
2
|
-
## [v2.0.
|
|
2
|
+
## [v2.0.11-alpha.0]
|
|
3
3
|
|
|
4
|
-
##
|
|
4
|
+
## alpha|https://storybook-pds-983.test.publ.biz
|
|
5
5
|
|
|
6
|
-
###
|
|
7
|
-
*
|
|
8
|
-
*
|
|
6
|
+
### sub
|
|
7
|
+
* DynamicLayout
|
|
8
|
+
* membership section 디자인 수정
|
|
9
|
+
* membership section에서 미리보기 영역 높이 감지할 수 있도록 조치
|
|
10
|
+
* membership section 스토리북 예제 분기하여 제공
|
|
11
|
+
### Color
|
|
12
|
+
* 컬러 키 값 23.05.09 18시 38분 기준 싱크
|