pds-dev-kit-web 2.0.11 → 2.0.13-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.
Files changed (51) hide show
  1. package/dist/src/common/assets/icons/line/Box.d.ts +4 -0
  2. package/dist/src/common/assets/icons/line/Box.js +30 -0
  3. package/dist/src/common/assets/icons/line/Cart.d.ts +4 -0
  4. package/dist/src/common/assets/icons/line/Cart.js +30 -0
  5. package/dist/src/common/assets/icons/line/Delivery.d.ts +4 -0
  6. package/dist/src/common/assets/icons/line/Delivery.js +30 -0
  7. package/dist/src/common/assets/icons/line/Receipt.d.ts +4 -0
  8. package/dist/src/common/assets/icons/line/Receipt.js +30 -0
  9. package/dist/src/common/assets/icons/line/Shop.d.ts +4 -0
  10. package/dist/src/common/assets/icons/line/Shop.js +30 -0
  11. package/dist/src/common/assets/icons/line/Shoppingbag.d.ts +4 -0
  12. package/dist/src/common/assets/icons/line/Shoppingbag.js +30 -0
  13. package/dist/src/common/assets/icons/line/index.d.ts +6 -0
  14. package/dist/src/common/assets/icons/line/index.js +12 -0
  15. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +1 -1
  16. package/dist/src/common/styles/colorSet/PaletteColor_light.json +1 -1
  17. package/dist/src/common/styles/colorSet/SemanticColor.json +3 -1
  18. package/dist/src/common/styles/colorSet/index.d.ts +4 -2
  19. package/dist/src/common/styles/colorSet/index.js +2 -2
  20. package/dist/src/sub/AdminList/ToolBar/ToolBar.js +1 -1
  21. package/dist/src/sub/DynamicLayout/mock_samplePage.js +3 -3
  22. package/dist/src/sub/DynamicLayout/mock_storybook.d.ts +4 -4
  23. package/dist/src/sub/DynamicLayout/mock_storybook.js +30 -26
  24. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.js +7 -6
  25. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipSheet.js +5 -6
  26. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/NarrowMembershipListView.js +48 -13
  27. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/SectionContents.js +1 -1
  28. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/{EmptyMembershipPlanSheet.d.ts → UnavailableMembershipPlanSheet.d.ts} +2 -2
  29. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/{EmptyMembershipPlanSheet.js → UnavailableMembershipPlanSheet.js} +4 -3
  30. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/EmptyMembershipSheet.js +1 -2
  31. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/SectionContents.js +1 -1
  32. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.d.ts +3 -5
  33. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.js +9 -7
  34. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipSheet.js +3 -3
  35. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/SectionContents.js +1 -1
  36. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/{EmptyMembershipPlanSheet.d.ts → UnavailableMembershipPlanSheet.d.ts} +2 -2
  37. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/{EmptyMembershipPlanSheet.js → UnavailableMembershipPlanSheet.js} +4 -3
  38. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/M_TemplateB.js +4 -1
  39. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/EmptyMembershipSheet.js +6 -26
  40. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipBenefitInfo.js +3 -3
  41. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipContents.js +1 -1
  42. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipSectionSheet.js +14 -27
  43. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/SectionContents.js +15 -4
  44. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/MembershipSectionItem.d.ts +3 -1
  45. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/MembershipSectionItem.js +6 -3
  46. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.d.ts +3 -1
  47. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.js +9 -3
  48. package/dist/src/sub/DynamicLayout/sections/MembershipSection/constants.d.ts +1 -0
  49. package/dist/src/sub/DynamicLayout/sections/MembershipSection/constants.js +2 -1
  50. package/package.json +1 -1
  51. package/release-note.md +5 -9
@@ -20,9 +20,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
21
  var jsx_runtime_1 = require("react/jsx-runtime");
22
22
  var react_1 = require("react");
23
- var pdsOriginal_1 = require("../../../../../../../../DynamicLayout/components/pdsOriginal");
23
+ var components_1 = require("../../../../../../../../../hybrid/components");
24
+ var panels_1 = require("../../../../../../../../../mobile/panels");
24
25
  var Section_1 = require("../../../../../../../../DynamicLayout/components/Section");
25
- var components_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/components");
26
+ var components_2 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/components");
26
27
  var constants_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/constants");
27
28
  var styled_components_1 = __importDefault(require("styled-components"));
28
29
  var MembershipBenefitInfo_1 = __importDefault(require("./MembershipBenefitInfo"));
@@ -32,33 +33,19 @@ function MembershipSectionSheet(_a) {
32
33
  if (!section) {
33
34
  return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}, void 0);
34
35
  }
35
- var membershipCardTemplate = membership.membershipCardTemplate, membershipBenefitInfo = membership.membershipBenefitInfo;
36
36
  var itemToneType = section.styles.itemToneType;
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));
37
+ var membershipCardTemplate = membership.membershipCardTemplate, membershipBenefitInfo = membership.membershipBenefitInfo;
38
+ return ((0, jsx_runtime_1.jsxs)(panels_1.SectionSheet, __assign({ overrideCSS: {
39
+ backgroundColor: constants_1.MEMBERSHIP_SECTION_TONE_COLOR[itemToneType].membershipSheetBackgroundColor,
40
+ display: 'flex',
41
+ flexDirection: 'column',
42
+ justifyContent: 'center',
43
+ marginBottom: '48px'
44
+ }, width: "100%", height: "100%", shapeType: "round", paddingBottom: "spacing_f" }, { children: [(0, jsx_runtime_1.jsx)(components_2.M_MembershipSectionItem.MembershipCard, { membershipCardTemplate: membershipCardTemplate }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_e" }, void 0), (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)(S_MembershipDetailBox, { children: membershipBenefitInfo && ((0, jsx_runtime_1.jsx)(MembershipBenefitInfo_1.default, { membershipBenefitInfo: membershipBenefitInfo, itemToneType: itemToneType }, void 0)) }, void 0)] }), void 0));
38
45
  }
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) {
40
- var theme = _a.theme;
41
- return theme.spacing.spacingG;
42
- }, function (_a) {
43
- var theme = _a.theme;
44
- return theme.spacing.spacingG;
45
- }, function (_a) {
46
+ var S_MembershipDetailBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding-top: ", ";\n position: relative;\n width: 100%;\n"], ["\n padding-top: ", ";\n position: relative;\n width: 100%;\n"])), function (_a) {
46
47
  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 + ")";
53
- });
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)";
57
- });
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) {
59
- var contentBackgroundDimColor = _a.contentBackgroundDimColor;
60
- return contentBackgroundDimColor;
48
+ return theme.spacing.spacingF;
61
49
  });
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"])));
63
50
  exports.default = MembershipSectionSheet;
64
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
51
+ var templateObject_1;
@@ -3,6 +3,17 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
3
3
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
4
  return cooked;
5
5
  };
6
+ var __assign = (this && this.__assign) || function () {
7
+ __assign = Object.assign || function(t) {
8
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
9
+ s = arguments[i];
10
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
+ t[p] = s[p];
12
+ }
13
+ return t;
14
+ };
15
+ return __assign.apply(this, arguments);
16
+ };
6
17
  var __importDefault = (this && this.__importDefault) || function (mod) {
7
18
  return (mod && mod.__esModule) ? mod : { "default": mod };
8
19
  };
@@ -19,11 +30,11 @@ function SectionContents() {
19
30
  }
20
31
  var _a = section.styles, buttonAlphaBackgroundColorInHex = _a.buttonAlphaBackgroundColorInHex, buttonAlphaLabelColorInHex = _a.buttonAlphaLabelColorInHex, buttonAlphaDesignType = _a.buttonAlphaDesignType, descriptionColorInHex = _a.descriptionColorInHex, titleColorInHex = _a.titleColorInHex;
21
32
  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", 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));
33
+ return ((0, jsx_runtime_1.jsxs)(S_SectionDataBox, __assign({ isEmptySectionData: !title && !description && !buttonAlphaLinkSrc }, { 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
34
  }
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
- var theme = _a.theme;
26
- return theme.spacing.spacingE;
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
+ var isEmptySectionData = _a.isEmptySectionData, theme = _a.theme;
37
+ return isEmptySectionData ? 0 : theme.spacing.spacingG;
27
38
  });
28
39
  var S_DescriptionWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n padding-top: ", ";\n"], ["\n padding-top: ", ";\n"])), function (_a) {
29
40
  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) => JSX.Element;
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) => JSX.Element;
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;
@@ -1,5 +1,6 @@
1
1
  import type { TypeOfMembershipSectionToneColor } from './type';
2
2
  import type { SubscriptionProductType, TypeOfItemToneType, TypeOfProgrammedItemActionButtonTextType } from '../../../DynamicLayout/types';
3
+ export declare const MEMBERSHIP_SECTION_PREVIEW_WIDTH = 375;
3
4
  export declare const COMMON_OVERLAY_IMAGE_SRC = "https://static.publ.site/membership_card_deco.png";
4
5
  export declare const MEMBERSHIP_SECTION_TONE_COLOR: {
5
6
  [key in TypeOfItemToneType]: TypeOfMembershipSectionToneColor;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MEMBERSHIP_SECTION_SUBSCRIPTION_PRODUCT_TYPE_TEXT = exports.MEMBERSHIP_SECTION_ACTION_BUTTON_TEXT = exports.MEMBERSHIP_SECTION_TONE_COLOR = exports.COMMON_OVERLAY_IMAGE_SRC = void 0;
3
+ exports.MEMBERSHIP_SECTION_SUBSCRIPTION_PRODUCT_TYPE_TEXT = exports.MEMBERSHIP_SECTION_ACTION_BUTTON_TEXT = exports.MEMBERSHIP_SECTION_TONE_COLOR = exports.COMMON_OVERLAY_IMAGE_SRC = exports.MEMBERSHIP_SECTION_PREVIEW_WIDTH = void 0;
4
+ exports.MEMBERSHIP_SECTION_PREVIEW_WIDTH = 375;
4
5
  exports.COMMON_OVERLAY_IMAGE_SRC = 'https://static.publ.site/membership_card_deco.png';
5
6
  exports.MEMBERSHIP_SECTION_TONE_COLOR = {
6
7
  LIGHT: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web",
3
- "version": "2.0.11",
3
+ "version": "2.0.13-alpha.0",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,12 +1,8 @@
1
1
  # PDS-DEV-KIT-WEB Release Notes
2
- ## [v2.0.11]
2
+ ## [v2.0.13-alpha.0]
3
3
 
4
- ## daily|https://design.storybook.publ.biz/
4
+ ## alpha|https://storybook-pds-alpha.test.publ.biz
5
5
 
6
- ### Layout
7
- * WTA
8
- * 로딩 상태일때도 area의 스타일과 동일한 스타일을 가지도록 조치
9
- * WTK
10
- * 로딩 상태일때도 area의 스타일과 동일한 스타일을 가지도록 조치
11
- ### Color
12
- * 컬러 키 값 23.05.10 11시 43분 기준 싱크
6
+ ### sub
7
+ * DynamicLayout
8
+ * membership section M_Template_B 디자인 변경