pds-dev-kit-web-test 2.5.18 → 2.5.19
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/assets/icons/image/index.d.ts +202 -0
- package/dist/src/common/assets/icons/image/index.js +205 -0
- package/dist/src/common/assets/icons/line/SectionBanner32.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionBanner32.js +30 -0
- package/dist/src/common/assets/icons/line/SectionBanner40.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionBanner40.js +30 -0
- package/dist/src/common/assets/icons/line/SectionContentsOperator32.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionContentsOperator32.js +30 -0
- package/dist/src/common/assets/icons/line/SectionContentsOperator40.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionContentsOperator40.js +30 -0
- package/dist/src/common/assets/icons/line/SectionFeed32.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionFeed32.js +30 -0
- package/dist/src/common/assets/icons/line/SectionFeed40.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionFeed40.js +30 -0
- package/dist/src/common/assets/icons/line/SectionHero32.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionHero32.js +30 -0
- package/dist/src/common/assets/icons/line/SectionHero40.d.ts +4 -0
- package/dist/src/common/assets/icons/line/SectionHero40.js +30 -0
- package/dist/src/common/assets/icons/line/index.d.ts +8 -0
- package/dist/src/common/assets/icons/line/index.js +17 -1
- package/dist/src/common/index.d.ts +1 -1
- package/dist/src/common/styles/ui-colors.js +13 -5
- package/dist/src/common/types/components.d.ts +4 -4
- package/dist/src/common/types/icon.d.ts +8 -3
- package/dist/src/common/types/icon.js +10 -0
- package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.d.ts +2 -1
- package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.js +16 -2
- package/dist/src/desktop/components/BasicListItem/BasicListItem.d.ts +4 -4
- package/dist/src/desktop/components/ChatList/ChatList.d.ts +8 -8
- package/dist/src/desktop/components/ChatList/ChatTextField.d.ts +5 -5
- package/dist/src/desktop/components/ChatList/Footer.d.ts +5 -5
- package/dist/src/desktop/components/Chip/Chip.d.ts +2 -2
- package/dist/src/desktop/components/DesktopHeaderBar/DesktopHeaderBar.d.ts +2 -2
- package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.d.ts +2 -2
- package/dist/src/desktop/components/FloatingActionButton/FloatingActionButton.d.ts +2 -2
- package/dist/src/desktop/components/HorizontalFormGroup/HorizontalFormGroup.d.ts +2 -1
- package/dist/src/desktop/components/HorizontalFormGroup/HorizontalFormGroup.js +8 -4
- package/dist/src/desktop/components/IconButton/IconButton.d.ts +2 -2
- package/dist/src/desktop/components/MainButton/MainButton.d.ts +2 -2
- package/dist/src/desktop/components/PageTitleTextGroup/CompoundButton.d.ts +2 -2
- package/dist/src/desktop/components/PageTitleTextGroup/PageTitleTextGroup.d.ts +2 -2
- package/dist/src/desktop/components/TextField/TextField.d.ts +3 -3
- package/dist/src/desktop/components/UploadIconButton/UploadIconButton.d.ts +2 -2
- package/dist/src/desktop/components/UploadMainButton/UploadMainButton.d.ts +2 -2
- package/dist/src/desktop/components/UserDesktopSideTab/UserDesktopSideTab.d.ts +2 -1
- package/dist/src/desktop/components/UserDesktopSideTab/UserDesktopSideTab.js +4 -4
- package/dist/src/desktop/components/UserDesktopTabBar/UserDesktopTabBar.d.ts +2 -1
- package/dist/src/desktop/components/UserDesktopTabBar/UserDesktopTabBar.js +58 -7
- package/dist/src/hybrid/components/Icon/Icon.d.ts +4 -3
- package/dist/src/hybrid/components/Icon/Icon.js +14 -4
- package/dist/src/mobile/components/BasicListItem/BasicListItem.d.ts +4 -4
- package/dist/src/mobile/components/ChatList/ChatList.d.ts +8 -8
- package/dist/src/mobile/components/ChatList/ChatTextField.d.ts +5 -5
- package/dist/src/mobile/components/ChatList/Footer.d.ts +5 -5
- package/dist/src/mobile/components/Chip/Chip.d.ts +2 -2
- package/dist/src/mobile/components/FloatingActionButton/FloatingActionButton.d.ts +2 -2
- package/dist/src/mobile/components/IconButton/IconButton.d.ts +2 -2
- package/dist/src/mobile/components/MainButton/MainButton.d.ts +2 -2
- package/dist/src/mobile/components/MobileHeaderBar/MobileHeaderBar.d.ts +3 -3
- package/dist/src/mobile/components/TextField/TextField.d.ts +3 -3
- package/dist/src/mobile/components/UploadIconButton/UploadIconButton.d.ts +2 -2
- package/dist/src/mobile/components/UploadMainButton/UploadMainButton.d.ts +2 -2
- package/dist/src/sub/AdminList/ToolBar/ToolBar.d.ts +4 -4
- package/dist/src/sub/DynamicLayout/DynamicLayout.js +14 -1
- package/dist/src/sub/DynamicLayout/components/YouTubeIframe/YouTubeIframe.js +7 -3
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/MainButton/MainButton.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/mobile/IconButton/IconButton.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/mobile/MainButton/MainButton.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/mock_samplePage.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/mock_samplePage.js +996 -1
- package/dist/src/sub/DynamicLayout/pagesPreviewMock.d.ts +10300 -0
- package/dist/src/sub/DynamicLayout/pagesPreviewMock.js +30934 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +71 -58
- package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +1 -11
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_AnimationObserverBox.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/textUtil.js +0 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/MembershipSectionItem.d.ts +3 -3
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.d.ts +3 -3
- package/package.json +1 -1
- package/release-note.md +2 -2
- package/pipeline_output.log +0 -6466
@@ -19,12 +19,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
19
19
|
};
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
21
21
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
22
|
-
require("react");
|
23
22
|
var styled_components_1 = __importDefault(require("styled-components"));
|
24
23
|
var ComponentBlockMatcher_1 = __importDefault(require("./components/ComponentBlock/ComponentBlockMatcher"));
|
25
24
|
var gap = 10;
|
26
25
|
function FlexGridItem(_a) {
|
27
26
|
var cb = _a.cb, index = _a.index, device = _a.device, rowHeight = _a.rowHeight;
|
27
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
28
28
|
var defaultHeight = getMaxHeight(cb.jsonProperties.data.CB_PLACEMENT_PROP_PLACEMENT, device, rowHeight);
|
29
29
|
var gridArea = getGridAreaFromCB(cb.jsonProperties.data.CB_PLACEMENT_PROP_PLACEMENT, device);
|
30
30
|
var zIndex = device === 'DESKTOP'
|
@@ -74,7 +74,7 @@ function Image(props) {
|
|
74
74
|
: CB_EFFECT_PROP_ENTANIM['CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE'] === 'NONE';
|
75
75
|
var hasEffect = !isNoneEffectType;
|
76
76
|
var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
|
77
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isEditModeAndHidden && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), (0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({ ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle }, { children: (0, jsx_runtime_1.jsx)(S_ImageWrapper, __assign({ style: __assign({}, effectCssProperties) }, { children: (0, jsx_runtime_1.jsx)(S_CB_BoxWithShadow_1.S_CB_BoxWithShadow, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign({}, layout), { overflow: 'hidden' }), boxStyle.normal), { cursor: CLINKCursor }), hoverStyle: __assign({}, boxStyle.hover), cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device, onClick: onClickCLINK }, { children: (0, jsx_runtime_1.jsx)(S_Image,
|
77
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isEditModeAndHidden && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), (0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({ ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle }, { children: (0, jsx_runtime_1.jsx)(S_ImageWrapper, __assign({ style: __assign({}, effectCssProperties) }, { children: (0, jsx_runtime_1.jsx)(S_CB_BoxWithShadow_1.S_CB_BoxWithShadow, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign({}, layout), { overflow: 'hidden' }), boxStyle.normal), { cursor: CLINKCursor }), hoverStyle: __assign({}, boxStyle.hover), cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device, onClick: onClickCLINK }, { children: (0, jsx_runtime_1.jsx)(S_Image, { src: CB_CONTENT_PROP_IMAGE.CB_CONTENT_PROP_IMAGE_SPEC_SELECTOR, normalStyle: __assign({}, imgStyle.normal), hoverStyle: __assign({}, imgStyle.hover) }) })) })) }))] }));
|
78
78
|
}
|
79
79
|
function parseImageCBStyle(style, hoverStyle, mode) {
|
80
80
|
var boxStyle = {
|
@@ -115,7 +115,7 @@ function parseImageCBStyle(style, hoverStyle, mode) {
|
|
115
115
|
};
|
116
116
|
return { boxStyle: boxStyle, imgStyle: imgStyle };
|
117
117
|
}
|
118
|
-
var S_ImageWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n"], ["\n height: 100%;\n width: 100%;\n"])));
|
118
|
+
var S_ImageWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 100%;\n max-height: 100%;\n width: 100%;\n"], ["\n height: 100%;\n max-height: 100%;\n width: 100%;\n"])));
|
119
119
|
var S_Image = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n background-image: ", ";\n background-repeat: no-repeat;\n height: 100%;\n width: 100%;\n\n ", ";\n\n &:hover {\n ", ";\n }\n\n & img {\n ", ";\n }\n\n &:hover img {\n ", ";\n }\n"], ["\n background-image: ", ";\n background-repeat: no-repeat;\n height: 100%;\n width: 100%;\n\n ", ";\n\n &:hover {\n ", ";\n }\n\n & img {\n ", ";\n }\n\n &:hover img {\n ", ";\n }\n"])), function (_a) {
|
120
120
|
var src = _a.src;
|
121
121
|
return "url(".concat(src, ")");
|
@@ -15,7 +15,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
18
|
-
/* eslint-disable no-console */
|
19
18
|
/* eslint-disable react/destructuring-assignment */
|
20
19
|
var react_1 = require("react");
|
21
20
|
var DynamicLayout_1 = require("../../../../../../../DynamicLayout");
|
@@ -30,10 +29,7 @@ var S_HiddenCover_1 = require("../components/S_HiddenCover");
|
|
30
29
|
var useCLINK_1 = __importDefault(require("../hooks/useCLINK"));
|
31
30
|
function Text(props) {
|
32
31
|
var _a = (0, react_1.useContext)(DynamicLayout_1.dynamicLayoutContext), device = _a.device, mode = _a.mode;
|
33
|
-
var index = props.index, _b = props.CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CLINK_SPEC_SRC = _b.CB_CONTENT_PROP_CLINK_SPEC_SRC, CB_CONTENT_PROP_CLINK_SPEC_TYPE = _b.CB_CONTENT_PROP_CLINK_SPEC_TYPE, CB_CONTENT_PROP_CLINK_SPEC_NEWTAB = _b.CB_CONTENT_PROP_CLINK_SPEC_NEWTAB, CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC = _b.CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC, CB_EFFECT_PROP_ENTANIM = props.CB_EFFECT_PROP_ENTANIM
|
34
|
-
var cols = device === 'DESKTOP'
|
35
|
-
? CB_PLACEMENT_PROP_PLACEMENT.CB_PLACEMENT_PROP_PLACEMENT_SPEC_COLS
|
36
|
-
: CB_PLACEMENT_PROP_PLACEMENT['CB_PLACEMENT_PROP_PLACEMENT_SPEC_COLS:MOBILE'];
|
32
|
+
var index = props.index, _b = props.CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CLINK_SPEC_SRC = _b.CB_CONTENT_PROP_CLINK_SPEC_SRC, CB_CONTENT_PROP_CLINK_SPEC_TYPE = _b.CB_CONTENT_PROP_CLINK_SPEC_TYPE, CB_CONTENT_PROP_CLINK_SPEC_NEWTAB = _b.CB_CONTENT_PROP_CLINK_SPEC_NEWTAB, CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC = _b.CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC, CB_EFFECT_PROP_ENTANIM = props.CB_EFFECT_PROP_ENTANIM;
|
37
33
|
var _c = (0, useCLINK_1.default)({
|
38
34
|
src: CB_CONTENT_PROP_CLINK_SPEC_SRC,
|
39
35
|
type: CB_CONTENT_PROP_CLINK_SPEC_TYPE,
|
@@ -78,10 +74,4 @@ function getTextStyles(props, device) {
|
|
78
74
|
];
|
79
75
|
return (0, textUtil_1.parseStyleTextToCSSProp)({ availableSpecCodes: availableSpecCodes, props: props, device: device, propKey: 'TEXT' });
|
80
76
|
}
|
81
|
-
function getBaseWidth(cols) {
|
82
|
-
if (cols === 1) {
|
83
|
-
return 40;
|
84
|
-
}
|
85
|
-
return 40 * cols + 10 * (cols - 1);
|
86
|
-
}
|
87
77
|
exports.default = Text;
|
@@ -20,7 +20,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
21
21
|
exports.S_CB_AnimationObserverBox = void 0;
|
22
22
|
var styled_components_1 = __importDefault(require("styled-components"));
|
23
|
-
exports.S_CB_AnimationObserverBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n
|
23
|
+
exports.S_CB_AnimationObserverBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n ", ";\n"], ["\n height: 100%;\n width: 100%;\n ", ";\n"])), function (_a) {
|
24
24
|
var effectVisibleStyle = _a.effectVisibleStyle;
|
25
25
|
return effectVisibleStyle && __assign({}, effectVisibleStyle);
|
26
26
|
});
|
@@ -205,8 +205,6 @@ function getVerticalPositionValue(value) {
|
|
205
205
|
}
|
206
206
|
}
|
207
207
|
function getEmFontSize(device, size) {
|
208
|
-
var min = size - 1.5;
|
209
|
-
var max = size + 1.5;
|
210
208
|
var preferred = size / 16;
|
211
209
|
if (device === 'DESKTOP') {
|
212
210
|
return "clamp(10px, ".concat(preferred, "em, ").concat(preferred, "em)");
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import type {
|
2
|
+
import type { PDSIconType } from '../../../../../DynamicLayout/components/pdsOriginal/common';
|
3
3
|
import type { TextLabelProps } from '../../../../../DynamicLayout/components/pdsOriginal/desktop/TextLabel/TextLabel';
|
4
4
|
import type { IItemButton, IItemDescription, IItemTitle, IMembershipCardTemplate } from '../../../../../DynamicLayout/types';
|
5
5
|
declare function MembershipSectionItem(): JSX.Element;
|
@@ -23,7 +23,7 @@ type IconButtonProps = {
|
|
23
23
|
iconButtonBorderColor: string;
|
24
24
|
iconButtonDisabledBackgroundColor: string;
|
25
25
|
isDisabled?: boolean;
|
26
|
-
iconName:
|
26
|
+
iconName: PDSIconType;
|
27
27
|
state?: 'normal' | 'disabled';
|
28
28
|
onClick?: (value?: number | string) => void;
|
29
29
|
};
|
@@ -32,7 +32,7 @@ type MembershipCardProps = {
|
|
32
32
|
};
|
33
33
|
type ColorOverrideIconProps = {
|
34
34
|
iconColor: string;
|
35
|
-
iconName:
|
35
|
+
iconName: PDSIconType;
|
36
36
|
};
|
37
37
|
type XlargeMainButtonProps = {
|
38
38
|
buttonTextColor?: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import type {
|
2
|
+
import type { PDSIconType } from '../../../../../DynamicLayout/components/pdsOriginal/common';
|
3
3
|
import type { TextLabelProps } from '../../../../../DynamicLayout/components/pdsOriginal/desktop/TextLabel/TextLabel';
|
4
4
|
import type { IItemButton, IItemDescription, IItemTitle, IMembershipCardTemplate } from '../../../../../DynamicLayout/types';
|
5
5
|
declare function MembershipSectionItem(): JSX.Element;
|
@@ -23,7 +23,7 @@ type IconButtonProps = {
|
|
23
23
|
iconButtonBackgroundColor: string;
|
24
24
|
iconButtonDisabledBackgroundColor: string;
|
25
25
|
isDisabled?: boolean;
|
26
|
-
iconName:
|
26
|
+
iconName: PDSIconType;
|
27
27
|
state?: 'normal' | 'disabled';
|
28
28
|
onClick?: (value?: number | string) => void;
|
29
29
|
};
|
@@ -33,7 +33,7 @@ type MembershipCardProps = {
|
|
33
33
|
};
|
34
34
|
type ColorOverrideIconProps = {
|
35
35
|
iconColor: string;
|
36
|
-
iconName:
|
36
|
+
iconName: PDSIconType;
|
37
37
|
};
|
38
38
|
type XlargeMainButtonProps = {
|
39
39
|
buttonTextColor?: string;
|
package/package.json
CHANGED
package/release-note.md
CHANGED