pds-dev-kit-web 0.3.4 → 0.3.8
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/README.md +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +4 -1
- package/dist/src/common/components/Spacing/Spacing.d.ts +6 -0
- package/dist/src/common/components/Spacing/Spacing.js +154 -0
- package/dist/src/common/components/Spacing/index.d.ts +1 -0
- package/dist/src/common/components/Spacing/index.js +8 -0
- package/dist/src/common/components/index.d.ts +2 -0
- package/dist/src/common/components/index.js +5 -0
- package/dist/src/common/index.d.ts +4 -2
- package/dist/src/common/index.js +6 -1
- package/dist/src/common/services/i18n/resources/en.json +123 -20
- package/dist/src/common/services/i18n/resources/es.json +123 -20
- package/dist/src/common/services/i18n/resources/index.d.ts +424 -12
- package/dist/src/common/services/i18n/resources/jp.json +123 -20
- package/dist/src/common/services/i18n/resources/ko.json +123 -20
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +32 -9
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +27 -4
- package/dist/src/common/styles/colorSet/SemanticColor.json +12 -1
- package/dist/src/common/styles/colorSet/UIColor.json +61 -7
- package/dist/src/common/styles/colorSet/index.d.ts +158 -47
- package/dist/src/common/styles/colorSet/index.js +2 -2
- package/dist/src/common/styles/colorSet/ui-type.d.ts +57 -3
- package/dist/src/common/styles/theme.d.ts +24 -0
- package/dist/src/common/styles/theme.js +26 -2
- package/dist/src/common/types/styled-components.d.ts +24 -0
- package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +5 -3
- package/dist/src/desktop/components/TextLabel/TextLabel.js +13 -5
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/ContentsContainer.d.ts +1 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/ContentsContainer.js +17 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFA.js +4 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFB.js +4 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFC.js +4 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFD.js +4 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFE.js +4 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFF.d.ts +8 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFF.js +31 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFG.d.ts +10 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFG.js +111 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFH.d.ts +8 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFH.js +31 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFI.d.ts +10 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFI.js +111 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFJ.d.ts +8 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFJ.js +31 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFK.d.ts +9 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFK.js +51 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/index.d.ts +6 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/index.js +13 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/PageMenuContainer/variation/PageMenu.js +4 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/SubMenuContainer/SubMenuContainer.d.ts +7 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/SubMenuContainer/SubMenuContainer.js +14 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/SubMenuContainer/index.d.ts +1 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/SubMenuContainer/index.js +8 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/SubMenuContainer/variation/LeftSubMenu.d.ts +6 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/SubMenuContainer/variation/LeftSubMenu.js +25 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/SubMenuContainer/variation/index.d.ts +1 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/SubMenuContainer/variation/index.js +8 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/TabMenuContainer/TabMenuContainer.d.ts +7 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/TabMenuContainer/TabMenuContainer.js +14 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/TabMenuContainer/index.d.ts +1 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/TabMenuContainer/index.js +8 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/TabMenuContainer/variation/TabMenu.d.ts +6 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/TabMenuContainer/variation/TabMenu.js +25 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/TabMenuContainer/variation/index.d.ts +1 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/TabMenuContainer/variation/index.js +8 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/index.d.ts +2 -0
- package/dist/src/desktop/layout/LayoutWF/Containers/index.js +5 -1
- package/dist/src/desktop/layout/LayoutWF/ContainersBox/ContainersBox.d.ts +4 -2
- package/dist/src/desktop/layout/LayoutWF/ContainersBox/ContainersBox.js +57 -5
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSA.js +4 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSB.js +4 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSC.js +4 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSD.js +4 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSE.js +4 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSF.js +11 -2
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSG.js +11 -2
- package/dist/src/desktop/layout/LayoutWS/Containers/GlobalMenuContainer/variation/GlobalMenu.js +4 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/PageMenuContainer/variation/PageMenu.js +4 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.d.ts +1 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.js +2 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTA.js +11 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTB.js +4 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTC.js +4 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTD.js +20 -11
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTE.js +4 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTF.js +11 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTG.js +4 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTH.js +4 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTI.d.ts +8 -0
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTI.js +31 -0
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/index.d.ts +1 -0
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/index.js +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/GlobalMenuContainer/variation/GlobalMenu.js +5 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/PageMenuContainer/PageMenuContainer.js +3 -3
- package/dist/src/desktop/layout/LayoutWT/Containers/PageMenuContainer/variation/LeftPageMenu.js +4 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/PageMenuContainer/variation/TopPageMenu.d.ts +2 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/PageMenuContainer/variation/TopPageMenu.js +39 -7
- package/dist/src/desktop/layout/LayoutWT/Containers/TabMenuContainer/variation/TabMenu.js +4 -1
- package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.d.ts +1 -1
- package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.js +6 -3
- package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +5 -1
- package/dist/src/mobile/components/TextLabel/TextLabel.js +13 -5
- package/package.json +1 -1
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TFunctionResult } from 'i18next';
|
|
3
|
-
|
|
4
|
-
export declare type
|
|
3
|
+
import { uiColors } from '../../../common';
|
|
4
|
+
export declare type UiColors = keyof typeof uiColors;
|
|
5
5
|
export declare type TextLabelProps = {
|
|
6
6
|
text: string | number | TFunctionResult;
|
|
7
7
|
textAlign?: 'left' | 'center' | 'right';
|
|
8
8
|
styleTheme?: 'displayBold' | 'headingBold' | 'leadParaRegular' | 'subTitleBold' | 'subTitleRegular' | 'body1Bold' | 'body1Regular' | 'body2Bold' | 'body2Regular' | 'caption1Bold' | 'caption1Regular' | 'caption2Bold' | 'caption2Regular' | 'form1Regular' | 'form2Regular' | 'blog1Regular';
|
|
9
|
+
colorOverride?: UiColors;
|
|
9
10
|
colorTheme?: 'sysTextPrimary' | 'sysTextSecondary' | 'sysTextTertiary' | 'sysTextWhite' | 'sysTextError' | 'sysTextBrandPrimary' | 'sysTextBrandSeconVariant' | 'usrTextBrandPrimary' | 'usrTextBrandSeconVariant' | 'usrTextBrandOnPrimary';
|
|
10
11
|
underline?: 'none' | 'use';
|
|
11
12
|
singleLineMode?: 'none' | 'use';
|
|
@@ -15,11 +16,12 @@ export declare type TextLabelProps = {
|
|
|
15
16
|
export declare type TextStyleProps = {
|
|
16
17
|
textAlign?: 'left' | 'center' | 'right';
|
|
17
18
|
styleTheme?: 'displayBold' | 'headingBold' | 'leadParaRegular' | 'subTitleBold' | 'subTitleRegular' | 'body1Bold' | 'body1Regular' | 'body2Bold' | 'body2Regular' | 'caption1Bold' | 'caption1Regular' | 'caption2Bold' | 'caption2Regular' | 'form1Regular' | 'form2Regular' | 'blog1Regular';
|
|
19
|
+
colorOverride?: UiColors;
|
|
18
20
|
colorTheme?: 'sysTextPrimary' | 'sysTextSecondary' | 'sysTextTertiary' | 'sysTextWhite' | 'sysTextError' | 'sysTextBrandPrimary' | 'sysTextBrandSeconVariant' | 'usrTextBrandPrimary' | 'usrTextBrandSeconVariant' | 'usrTextBrandOnPrimary';
|
|
19
21
|
underline?: 'none' | 'use';
|
|
20
22
|
singleLineMode?: 'none' | 'use';
|
|
21
23
|
ellipsisMode?: 'none' | 'use';
|
|
22
24
|
lineLimit?: number;
|
|
23
25
|
};
|
|
24
|
-
declare function TextLabel({ text, textAlign, styleTheme, colorTheme, underline, singleLineMode, ellipsisMode, lineLimit }: TextLabelProps): JSX.Element;
|
|
26
|
+
declare function TextLabel({ text, textAlign, styleTheme, colorOverride, colorTheme, underline, singleLineMode, ellipsisMode, lineLimit }: TextLabelProps): JSX.Element;
|
|
25
27
|
export default TextLabel;
|
|
@@ -28,9 +28,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
var react_1 = __importDefault(require("react"));
|
|
30
30
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
31
|
+
var common_1 = require("../../../common");
|
|
31
32
|
function TextLabel(_a) {
|
|
32
|
-
var text = _a.text, _b = _a.textAlign, textAlign = _b === void 0 ? 'left' : _b, _c = _a.styleTheme, styleTheme = _c === void 0 ? 'body2Bold' : _c, _d = _a.colorTheme, colorTheme = _d === void 0 ? 'sysTextPrimary' : _d, _e = _a.underline, underline = _e === void 0 ? 'none' : _e, _f = _a.singleLineMode, singleLineMode = _f === void 0 ? 'none' : _f, _g = _a.ellipsisMode, ellipsisMode = _g === void 0 ? 'none' : _g, lineLimit = _a.lineLimit;
|
|
33
|
-
return (react_1.default.createElement(S_TextLabel, { textAlign: textAlign, styleTheme: styleTheme, colorTheme: colorTheme, underline: underline, singleLineMode: singleLineMode, ellipsisMode: ellipsisMode, lineLimit: lineLimit }, text));
|
|
33
|
+
var text = _a.text, _b = _a.textAlign, textAlign = _b === void 0 ? 'left' : _b, _c = _a.styleTheme, styleTheme = _c === void 0 ? 'body2Bold' : _c, colorOverride = _a.colorOverride, _d = _a.colorTheme, colorTheme = _d === void 0 ? 'sysTextPrimary' : _d, _e = _a.underline, underline = _e === void 0 ? 'none' : _e, _f = _a.singleLineMode, singleLineMode = _f === void 0 ? 'none' : _f, _g = _a.ellipsisMode, ellipsisMode = _g === void 0 ? 'none' : _g, lineLimit = _a.lineLimit;
|
|
34
|
+
return (react_1.default.createElement(S_TextLabel, { textAlign: textAlign, styleTheme: styleTheme, colorOverride: colorOverride, colorTheme: colorTheme, underline: underline, singleLineMode: singleLineMode, ellipsisMode: ellipsisMode, lineLimit: lineLimit }, text));
|
|
34
35
|
}
|
|
35
36
|
var displayBold = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
36
37
|
var theme = _a.theme;
|
|
@@ -232,11 +233,15 @@ var usrTextBrandOnPrimary = (0, styled_components_1.css)(templateObject_26 || (t
|
|
|
232
233
|
var theme = _a.theme;
|
|
233
234
|
return theme.ui_cpnt_textlabel_usr_brandonprimary;
|
|
234
235
|
});
|
|
235
|
-
var
|
|
236
|
+
var colorOverrideStyle = (0, styled_components_1.css)(templateObject_27 || (templateObject_27 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
237
|
+
var colorOverride = _a.colorOverride;
|
|
238
|
+
return colorOverride && common_1.uiColors[colorOverride];
|
|
239
|
+
});
|
|
240
|
+
var ellipsisStyle = (0, styled_components_1.css)(templateObject_28 || (templateObject_28 = __makeTemplateObject(["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n"], ["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n"])), function (_a) {
|
|
236
241
|
var lineLimit = _a.lineLimit;
|
|
237
242
|
return lineLimit;
|
|
238
243
|
});
|
|
239
|
-
var S_TextLabel = styled_components_1.default.div(
|
|
244
|
+
var S_TextLabel = styled_components_1.default.div(templateObject_29 || (templateObject_29 = __makeTemplateObject(["\n box-sizing: border-box;\n text-align: ", ";\n text-decoration: ", ";\n white-space: pre-wrap;\n word-break: keep-all;\n\n ", ";\n\n ", ";\n\n line-height: ", ";\n\n ", ";\n\n ", ";\n"], ["\n box-sizing: border-box;\n text-align: ", ";\n text-decoration: ", ";\n white-space: pre-wrap;\n word-break: keep-all;\n\n ", ";\n\n ", ";\n\n line-height: ", ";\n\n ", ";\n\n ", ";\n"])), function (_a) {
|
|
240
245
|
var textAlign = _a.textAlign;
|
|
241
246
|
return textAlign;
|
|
242
247
|
}, function (_a) {
|
|
@@ -284,6 +289,9 @@ var S_TextLabel = styled_components_1.default.div(templateObject_28 || (template
|
|
|
284
289
|
}, function (_a) {
|
|
285
290
|
var ellipsisMode = _a.ellipsisMode, lineLimit = _a.lineLimit;
|
|
286
291
|
return ellipsisMode === 'use' && lineLimit && ellipsisStyle;
|
|
292
|
+
}, function (_a) {
|
|
293
|
+
var colorOverride = _a.colorOverride;
|
|
294
|
+
return colorOverride && colorOverrideStyle;
|
|
287
295
|
});
|
|
288
296
|
exports.default = TextLabel;
|
|
289
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28;
|
|
297
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29;
|
package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/ContentsContainer.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export declare type ContentsContainerProps = {
|
|
|
3
3
|
stepContent?: JSX.Element;
|
|
4
4
|
content1?: JSX.Element;
|
|
5
5
|
content2?: JSX.Element;
|
|
6
|
-
layoutType: 'WFA_1' | 'WFB_1' | 'WFC_1' | 'WFD_1' | 'WFD_2' | 'WFE_1';
|
|
6
|
+
layoutType: 'WFA_1' | 'WFB_1' | 'WFC_1' | 'WFD_1' | 'WFD_2' | 'WFE_1' | 'WFF_1' | 'WFG_1' | 'WFG_2' | 'WFG_3' | 'WFG_4' | 'WFG_5' | 'WFG_6' | 'WFH_1' | 'WFI_1' | 'WFI_2' | 'WFI_3' | 'WFI_4' | 'WFI_5' | 'WFI_6' | 'WFJ_1' | 'WFK_1';
|
|
7
7
|
containerColor?: string;
|
|
8
8
|
areaColor?: string;
|
|
9
9
|
};
|
|
@@ -13,7 +13,23 @@ var ContentsContainer = function (_a) {
|
|
|
13
13
|
WFC_1: react_1.default.createElement(variation_1.WFC, { content1: content1, containerColor: containerColor, areaColor: areaColor }),
|
|
14
14
|
WFD_1: (react_1.default.createElement(variation_1.WFD, { layoutType: "WFD_1", content1: content1, containerColor: containerColor, areaColor: areaColor })),
|
|
15
15
|
WFD_2: (react_1.default.createElement(variation_1.WFD, { layoutType: "WFD_2", content1: content1, containerColor: containerColor, areaColor: areaColor })),
|
|
16
|
-
WFE_1: (react_1.default.createElement(variation_1.WFE, { stepContent: stepContent, content1: content1, containerColor: containerColor, areaColor: areaColor }))
|
|
16
|
+
WFE_1: (react_1.default.createElement(variation_1.WFE, { stepContent: stepContent, content1: content1, containerColor: containerColor, areaColor: areaColor })),
|
|
17
|
+
WFF_1: react_1.default.createElement(variation_1.WFF, { content1: content1, containerColor: containerColor, areaColor: areaColor }),
|
|
18
|
+
WFG_1: (react_1.default.createElement(variation_1.WFG, { layoutType: "WFG_1", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor })),
|
|
19
|
+
WFG_2: (react_1.default.createElement(variation_1.WFG, { layoutType: "WFG_2", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor })),
|
|
20
|
+
WFG_3: (react_1.default.createElement(variation_1.WFG, { layoutType: "WFG_3", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor })),
|
|
21
|
+
WFG_4: (react_1.default.createElement(variation_1.WFG, { layoutType: "WFG_4", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor })),
|
|
22
|
+
WFG_5: (react_1.default.createElement(variation_1.WFG, { layoutType: "WFG_5", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor })),
|
|
23
|
+
WFG_6: (react_1.default.createElement(variation_1.WFG, { layoutType: "WFG_6", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor })),
|
|
24
|
+
WFH_1: react_1.default.createElement(variation_1.WFH, { content1: content1, containerColor: containerColor, areaColor: areaColor }),
|
|
25
|
+
WFI_1: (react_1.default.createElement(variation_1.WFI, { layoutType: "WFI_1", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor })),
|
|
26
|
+
WFI_2: (react_1.default.createElement(variation_1.WFI, { layoutType: "WFI_2", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor })),
|
|
27
|
+
WFI_3: (react_1.default.createElement(variation_1.WFI, { layoutType: "WFI_3", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor })),
|
|
28
|
+
WFI_4: (react_1.default.createElement(variation_1.WFI, { layoutType: "WFI_4", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor })),
|
|
29
|
+
WFI_5: (react_1.default.createElement(variation_1.WFI, { layoutType: "WFI_5", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor })),
|
|
30
|
+
WFI_6: (react_1.default.createElement(variation_1.WFI, { layoutType: "WFI_6", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor })),
|
|
31
|
+
WFJ_1: react_1.default.createElement(variation_1.WFJ, { content1: content1, containerColor: containerColor, areaColor: areaColor }),
|
|
32
|
+
WFK_1: (react_1.default.createElement(variation_1.WFK, { content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor }))
|
|
17
33
|
}[layoutType]));
|
|
18
34
|
};
|
|
19
35
|
exports.default = ContentsContainer;
|
|
@@ -17,7 +17,10 @@ var WFA = function (_a) {
|
|
|
17
17
|
react_1.default.createElement(S_ContentsArea, { areaColor: areaColor },
|
|
18
18
|
react_1.default.createElement(S_Content1, null, content1))));
|
|
19
19
|
};
|
|
20
|
-
var S_ContentsContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: flex-start;\n display: flex;\n height: 100%;\n justify-content: center;\n min-width: 1200px;\n overflow-x: hidden;\n overflow-y: auto;\n ", ";\n"], ["\n align-items: flex-start;\n display: flex;\n height: 100%;\n justify-content: center;\n min-width: 1200px;\n overflow-x: hidden;\n overflow-y: auto;\n ", ";\n"])), function (_a) {
|
|
20
|
+
var S_ContentsContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: flex-start;\n background-color: ", ";\n display: flex;\n height: 100%;\n justify-content: center;\n min-width: 1200px;\n overflow-x: hidden;\n overflow-y: auto;\n ", ";\n"], ["\n align-items: flex-start;\n background-color: ", ";\n display: flex;\n height: 100%;\n justify-content: center;\n min-width: 1200px;\n overflow-x: hidden;\n overflow-y: auto;\n ", ";\n"])), function (_a) {
|
|
21
|
+
var theme = _a.theme;
|
|
22
|
+
return theme.ui_contentscontainer01_background;
|
|
23
|
+
}, function (_a) {
|
|
21
24
|
var containerColor = _a.containerColor;
|
|
22
25
|
return "background-color: " + containerColor;
|
|
23
26
|
});
|
|
@@ -18,7 +18,10 @@ var WFB = function (_a) {
|
|
|
18
18
|
react_1.default.createElement(S_Content1, null, content1),
|
|
19
19
|
react_1.default.createElement(S_Content2, null, content2))));
|
|
20
20
|
};
|
|
21
|
-
var S_ContentsContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: flex-start;\n display: flex;\n height: 100%;\n justify-content: center;\n min-width: 1200px;\n overflow-x: hidden;\n overflow-y: auto;\n ", ";\n"], ["\n align-items: flex-start;\n display: flex;\n height: 100%;\n justify-content: center;\n min-width: 1200px;\n overflow-x: hidden;\n overflow-y: auto;\n ", ";\n"])), function (_a) {
|
|
21
|
+
var S_ContentsContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: flex-start;\n background-color: ", ";\n display: flex;\n height: 100%;\n justify-content: center;\n min-width: 1200px;\n overflow-x: hidden;\n overflow-y: auto;\n ", ";\n"], ["\n align-items: flex-start;\n background-color: ", ";\n display: flex;\n height: 100%;\n justify-content: center;\n min-width: 1200px;\n overflow-x: hidden;\n overflow-y: auto;\n ", ";\n"])), function (_a) {
|
|
22
|
+
var theme = _a.theme;
|
|
23
|
+
return theme.ui_contentscontainer01_background;
|
|
24
|
+
}, function (_a) {
|
|
22
25
|
var containerColor = _a.containerColor;
|
|
23
26
|
return "background-color: " + containerColor;
|
|
24
27
|
});
|
|
@@ -15,7 +15,10 @@ var WFC = function (_a) {
|
|
|
15
15
|
react_1.default.createElement(S_ContentsArea, { areaColor: areaColor },
|
|
16
16
|
react_1.default.createElement(S_Content1, null, content1))));
|
|
17
17
|
};
|
|
18
|
-
var S_ContentsContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n box-sizing: border-box;\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n ", ";\n"], ["\n box-sizing: border-box;\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n ", ";\n"])), function (_a) {
|
|
18
|
+
var S_ContentsContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n box-sizing: border-box;\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n ", ";\n"], ["\n background-color: ", ";\n box-sizing: border-box;\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n ", ";\n"])), function (_a) {
|
|
19
|
+
var theme = _a.theme;
|
|
20
|
+
return theme.ui_contentscontainer01_background;
|
|
21
|
+
}, function (_a) {
|
|
19
22
|
var containerColor = _a.containerColor;
|
|
20
23
|
return "background-color: " + containerColor;
|
|
21
24
|
});
|
|
@@ -15,7 +15,10 @@ var WFD = function (_a) {
|
|
|
15
15
|
react_1.default.createElement(S_ContentsArea, { layoutType: layoutType, areaColor: areaColor },
|
|
16
16
|
react_1.default.createElement(S_Content1, { layoutType: layoutType }, content1))));
|
|
17
17
|
};
|
|
18
|
-
var S_ContentsContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n box-sizing: border-box;\n ", ";\n ", ";\n"], ["\n box-sizing: border-box;\n ", ";\n ", ";\n"])), function (_a) {
|
|
18
|
+
var S_ContentsContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n box-sizing: border-box;\n ", ";\n ", ";\n"], ["\n background-color: ", ";\n box-sizing: border-box;\n ", ";\n ", ";\n"])), function (_a) {
|
|
19
|
+
var theme = _a.theme;
|
|
20
|
+
return theme.ui_contentscontainer01_background;
|
|
21
|
+
}, function (_a) {
|
|
19
22
|
var layoutType = _a.layoutType;
|
|
20
23
|
return ({
|
|
21
24
|
WFD_1: 'height: 100%;',
|
|
@@ -17,7 +17,10 @@ var WFE = function (_a) {
|
|
|
17
17
|
react_1.default.createElement(S_ContentsArea, { areaColor: areaColor },
|
|
18
18
|
react_1.default.createElement(S_Content1, null, content1))));
|
|
19
19
|
};
|
|
20
|
-
var S_ContentsContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: flex-start;\n display: flex;\n height: 100%;\n justify-content: center;\n min-width: 1200px;\n ", ";\n"], ["\n align-items: flex-start;\n display: flex;\n height: 100%;\n justify-content: center;\n min-width: 1200px;\n ", ";\n"])), function (_a) {
|
|
20
|
+
var S_ContentsContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: flex-start;\n background-color: ", ";\n display: flex;\n height: 100%;\n justify-content: center;\n min-width: 1200px;\n ", ";\n"], ["\n align-items: flex-start;\n background-color: ", ";\n display: flex;\n height: 100%;\n justify-content: center;\n min-width: 1200px;\n ", ";\n"])), function (_a) {
|
|
21
|
+
var theme = _a.theme;
|
|
22
|
+
return theme.ui_contentscontainer01_background;
|
|
23
|
+
}, function (_a) {
|
|
21
24
|
var containerColor = _a.containerColor;
|
|
22
25
|
return "background-color: " + containerColor;
|
|
23
26
|
});
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
var react_1 = __importDefault(require("react"));
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
var WFF = function (_a) {
|
|
13
|
+
var content1 = _a.content1, containerColor = _a.containerColor, areaColor = _a.areaColor;
|
|
14
|
+
return (react_1.default.createElement(S_ContentsContainer, { containerColor: containerColor },
|
|
15
|
+
react_1.default.createElement(S_ContentsArea, { areaColor: areaColor },
|
|
16
|
+
react_1.default.createElement(S_Content1, null, content1))));
|
|
17
|
+
};
|
|
18
|
+
var S_ContentsContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n box-sizing: border-box;\n height: 100%;\n min-width: 960px;\n overflow-x: hidden;\n overflow-y: auto;\n padding-left: 24px;\n ", ";\n"], ["\n background-color: ", ";\n box-sizing: border-box;\n height: 100%;\n min-width: 960px;\n overflow-x: hidden;\n overflow-y: auto;\n padding-left: 24px;\n ", ";\n"])), function (_a) {
|
|
19
|
+
var theme = _a.theme;
|
|
20
|
+
return theme.ui_contentscontainer01_background;
|
|
21
|
+
}, function (_a) {
|
|
22
|
+
var containerColor = _a.containerColor;
|
|
23
|
+
return "background-color: " + containerColor;
|
|
24
|
+
});
|
|
25
|
+
var S_ContentsArea = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n box-sizing: border-box;\n max-width: 720px;\n min-width: 512px;\n padding-bottom: 88px;\n padding-top: 24px;\n width: 53%;\n ", ";\n"], ["\n box-sizing: border-box;\n max-width: 720px;\n min-width: 512px;\n padding-bottom: 88px;\n padding-top: 24px;\n width: 53%;\n ", ";\n"])), function (_a) {
|
|
26
|
+
var areaColor = _a.areaColor;
|
|
27
|
+
return "background-color: " + areaColor;
|
|
28
|
+
});
|
|
29
|
+
var S_Content1 = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n height: 100%;\n"], ["\n height: 100%;\n"])));
|
|
30
|
+
exports.default = WFF;
|
|
31
|
+
var templateObject_1, templateObject_2, templateObject_3;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare type WFGProps = {
|
|
3
|
+
content1?: JSX.Element;
|
|
4
|
+
content2?: JSX.Element;
|
|
5
|
+
layoutType: 'WFG_1' | 'WFG_2' | 'WFG_3' | 'WFG_4' | 'WFG_5' | 'WFG_6';
|
|
6
|
+
containerColor?: string;
|
|
7
|
+
areaColor?: string;
|
|
8
|
+
};
|
|
9
|
+
declare const WFG: ({ content1, content2, layoutType, containerColor, areaColor }: WFGProps) => JSX.Element;
|
|
10
|
+
export default WFG;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
var react_1 = __importDefault(require("react"));
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
var WFG = function (_a) {
|
|
13
|
+
var content1 = _a.content1, content2 = _a.content2, layoutType = _a.layoutType, containerColor = _a.containerColor, areaColor = _a.areaColor;
|
|
14
|
+
return (react_1.default.createElement(S_Box, null,
|
|
15
|
+
react_1.default.createElement(S_ContentsContainer1, { layoutType: layoutType, containerColor: containerColor },
|
|
16
|
+
react_1.default.createElement(S_ContentsArea1, { layoutType: layoutType, areaColor: areaColor },
|
|
17
|
+
react_1.default.createElement(S_Content1, { layoutType: layoutType }, content1))),
|
|
18
|
+
react_1.default.createElement(S_ContentsContainer2, { layoutType: layoutType, containerColor: containerColor },
|
|
19
|
+
react_1.default.createElement(S_ContentsArea2, { layoutType: layoutType, areaColor: areaColor },
|
|
20
|
+
react_1.default.createElement(S_Content2, { layoutType: layoutType }, content2)))));
|
|
21
|
+
};
|
|
22
|
+
var S_Box = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n height: 100%;\n"], ["\n display: flex;\n height: 100%;\n"])));
|
|
23
|
+
var S_ContentsContainer1 = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n min-width: 480px;\n width: 50%;\n ", ";\n ", ";\n"], ["\n background-color: ", ";\n min-width: 480px;\n width: 50%;\n ", ";\n ", ";\n"])), function (_a) {
|
|
24
|
+
var theme = _a.theme;
|
|
25
|
+
return theme.ui_contentscontainer01_background;
|
|
26
|
+
}, function (_a) {
|
|
27
|
+
var layoutType = _a.layoutType;
|
|
28
|
+
return ({
|
|
29
|
+
WFG_1: 'max-width: 640px;height: 100%;',
|
|
30
|
+
WFG_2: 'max-width: 640px;overflow-x: hidden;overflow-y: auto;',
|
|
31
|
+
WFG_3: 'height: 100%;',
|
|
32
|
+
WFG_4: 'overflow-x: hidden;overflow-y: auto;',
|
|
33
|
+
WFG_5: 'max-width: 640px;height: 100%;',
|
|
34
|
+
WFG_6: 'height: 100%;'
|
|
35
|
+
}[layoutType]);
|
|
36
|
+
}, function (_a) {
|
|
37
|
+
var containerColor = _a.containerColor;
|
|
38
|
+
return "background-color: " + containerColor;
|
|
39
|
+
});
|
|
40
|
+
var S_ContentsContainer2 = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n background-color: ", ";\n border-left: 1px solid ", ";\n min-width: 480px;\n ", ";\n ", ";\n"], ["\n background-color: ", ";\n border-left: 1px solid ", ";\n min-width: 480px;\n ", ";\n ", ";\n"])), function (_a) {
|
|
41
|
+
var theme = _a.theme;
|
|
42
|
+
return theme.ui_contentscontainer02_background;
|
|
43
|
+
}, function (_a) {
|
|
44
|
+
var theme = _a.theme;
|
|
45
|
+
return theme.ui_container_divider;
|
|
46
|
+
}, function (_a) {
|
|
47
|
+
var layoutType = _a.layoutType;
|
|
48
|
+
return ({
|
|
49
|
+
WFG_1: 'height: 100%;flex-grow: 1;',
|
|
50
|
+
WFG_2: 'overflow-x: hidden;overflow-y: auto;flex-grow: 1;',
|
|
51
|
+
WFG_3: 'height: 100%;width: 50%;',
|
|
52
|
+
WFG_4: 'overflow-x: hidden;overflow-y: auto;width: 50%;',
|
|
53
|
+
WFG_5: 'overflow-x: hidden;overflow-y: auto;flex-grow: 1;',
|
|
54
|
+
WFG_6: 'overflow-x: hidden;overflow-y: auto;width: 50%;'
|
|
55
|
+
}[layoutType]);
|
|
56
|
+
}, function (_a) {
|
|
57
|
+
var containerColor = _a.containerColor;
|
|
58
|
+
return "background-color: " + containerColor;
|
|
59
|
+
});
|
|
60
|
+
var S_ContentsArea1 = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n box-sizing: border-box;\n padding-top: 24px;\n ", ";\n ", ";\n"], ["\n box-sizing: border-box;\n padding-top: 24px;\n ", ";\n ", ";\n"])), function (_a) {
|
|
61
|
+
var layoutType = _a.layoutType;
|
|
62
|
+
return ({
|
|
63
|
+
WFG_1: 'height: 100%;',
|
|
64
|
+
WFG_2: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;',
|
|
65
|
+
WFG_3: 'height: 100%;',
|
|
66
|
+
WFG_4: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;',
|
|
67
|
+
WFG_5: 'height: 100%;',
|
|
68
|
+
WFG_6: 'height: 100%;'
|
|
69
|
+
}[layoutType]);
|
|
70
|
+
}, function (_a) {
|
|
71
|
+
var areaColor = _a.areaColor;
|
|
72
|
+
return "background-color: " + areaColor;
|
|
73
|
+
});
|
|
74
|
+
var S_ContentsArea2 = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n box-sizing: border-box;\n padding-top: 24px;\n ", ";\n ", ";\n"], ["\n box-sizing: border-box;\n padding-top: 24px;\n ", ";\n ", ";\n"])), function (_a) {
|
|
75
|
+
var layoutType = _a.layoutType;
|
|
76
|
+
return ({
|
|
77
|
+
WFG_1: 'height: 100%;',
|
|
78
|
+
WFG_2: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;',
|
|
79
|
+
WFG_3: 'height: 100%;',
|
|
80
|
+
WFG_4: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;',
|
|
81
|
+
WFG_5: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;',
|
|
82
|
+
WFG_6: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;'
|
|
83
|
+
}[layoutType]);
|
|
84
|
+
}, function (_a) {
|
|
85
|
+
var areaColor = _a.areaColor;
|
|
86
|
+
return "background-color: " + areaColor;
|
|
87
|
+
});
|
|
88
|
+
var S_Content1 = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), function (_a) {
|
|
89
|
+
var layoutType = _a.layoutType;
|
|
90
|
+
return ({
|
|
91
|
+
WFG_1: 'height: 100%;overflow: hidden;',
|
|
92
|
+
WFG_2: '',
|
|
93
|
+
WFG_3: 'height: 100%;overflow: hidden;',
|
|
94
|
+
WFG_4: '',
|
|
95
|
+
WFG_5: 'height: 100%;overflow: hidden;',
|
|
96
|
+
WFG_6: 'height: 100%;overflow: hidden;'
|
|
97
|
+
}[layoutType]);
|
|
98
|
+
});
|
|
99
|
+
var S_Content2 = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), function (_a) {
|
|
100
|
+
var layoutType = _a.layoutType;
|
|
101
|
+
return ({
|
|
102
|
+
WFG_1: 'height: 100%;overflow: hidden;',
|
|
103
|
+
WFG_2: '',
|
|
104
|
+
WFG_3: 'height: 100%;overflow: hidden;',
|
|
105
|
+
WFG_4: '',
|
|
106
|
+
WFG_5: '',
|
|
107
|
+
WFG_6: ''
|
|
108
|
+
}[layoutType]);
|
|
109
|
+
});
|
|
110
|
+
exports.default = WFG;
|
|
111
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
var react_1 = __importDefault(require("react"));
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
var WFH = function (_a) {
|
|
13
|
+
var content1 = _a.content1, containerColor = _a.containerColor, areaColor = _a.areaColor;
|
|
14
|
+
return (react_1.default.createElement(S_ContentsContainer, { containerColor: containerColor },
|
|
15
|
+
react_1.default.createElement(S_ContentsArea, { areaColor: areaColor },
|
|
16
|
+
react_1.default.createElement(S_Content1, null, content1))));
|
|
17
|
+
};
|
|
18
|
+
var S_ContentsContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n box-sizing: border-box;\n height: 100%;\n min-width: 960px;\n overflow-x: hidden;\n overflow-y: auto;\n padding-left: 24px;\n padding-right: 24px;\n ", ";\n"], ["\n background-color: ", ";\n box-sizing: border-box;\n height: 100%;\n min-width: 960px;\n overflow-x: hidden;\n overflow-y: auto;\n padding-left: 24px;\n padding-right: 24px;\n ", ";\n"])), function (_a) {
|
|
19
|
+
var theme = _a.theme;
|
|
20
|
+
return theme.ui_contentscontainer01_background;
|
|
21
|
+
}, function (_a) {
|
|
22
|
+
var containerColor = _a.containerColor;
|
|
23
|
+
return "background-color: " + containerColor;
|
|
24
|
+
});
|
|
25
|
+
var S_ContentsArea = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n box-sizing: border-box;\n min-width: 912px;\n padding-bottom: 88px;\n padding-top: 24px;\n ", ";\n"], ["\n box-sizing: border-box;\n min-width: 912px;\n padding-bottom: 88px;\n padding-top: 24px;\n ", ";\n"])), function (_a) {
|
|
26
|
+
var areaColor = _a.areaColor;
|
|
27
|
+
return "background-color: " + areaColor;
|
|
28
|
+
});
|
|
29
|
+
var S_Content1 = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n height: 100%;\n"], ["\n height: 100%;\n"])));
|
|
30
|
+
exports.default = WFH;
|
|
31
|
+
var templateObject_1, templateObject_2, templateObject_3;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare type WFIProps = {
|
|
3
|
+
content1?: JSX.Element;
|
|
4
|
+
content2?: JSX.Element;
|
|
5
|
+
layoutType: 'WFI_1' | 'WFI_2' | 'WFI_3' | 'WFI_4' | 'WFI_5' | 'WFI_6';
|
|
6
|
+
containerColor?: string;
|
|
7
|
+
areaColor?: string;
|
|
8
|
+
};
|
|
9
|
+
declare const WFI: ({ content1, content2, layoutType, containerColor, areaColor }: WFIProps) => JSX.Element;
|
|
10
|
+
export default WFI;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
var react_1 = __importDefault(require("react"));
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
var WFI = function (_a) {
|
|
13
|
+
var content1 = _a.content1, content2 = _a.content2, layoutType = _a.layoutType, containerColor = _a.containerColor, areaColor = _a.areaColor;
|
|
14
|
+
return (react_1.default.createElement(S_Box, null,
|
|
15
|
+
react_1.default.createElement(S_ContentsContainer1, { layoutType: layoutType, containerColor: containerColor },
|
|
16
|
+
react_1.default.createElement(S_ContentsArea1, { layoutType: layoutType, areaColor: areaColor },
|
|
17
|
+
react_1.default.createElement(S_Content1, { layoutType: layoutType }, content1))),
|
|
18
|
+
react_1.default.createElement(S_ContentsContainer2, { layoutType: layoutType, containerColor: containerColor },
|
|
19
|
+
react_1.default.createElement(S_ContentsArea2, { layoutType: layoutType, areaColor: areaColor },
|
|
20
|
+
react_1.default.createElement(S_Content2, { layoutType: layoutType }, content2)))));
|
|
21
|
+
};
|
|
22
|
+
var S_Box = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n height: 100%;\n"], ["\n display: flex;\n height: 100%;\n"])));
|
|
23
|
+
var S_ContentsContainer1 = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n min-width: 480px;\n width: 50%;\n ", ";\n ", ";\n"], ["\n background-color: ", ";\n min-width: 480px;\n width: 50%;\n ", ";\n ", ";\n"])), function (_a) {
|
|
24
|
+
var theme = _a.theme;
|
|
25
|
+
return theme.ui_contentscontainer01_background;
|
|
26
|
+
}, function (_a) {
|
|
27
|
+
var layoutType = _a.layoutType;
|
|
28
|
+
return ({
|
|
29
|
+
WFI_1: 'max-width: 640px;height: 100%;',
|
|
30
|
+
WFI_2: 'max-width: 640px;overflow-x: hidden;overflow-y: auto;',
|
|
31
|
+
WFI_3: 'height: 100%;',
|
|
32
|
+
WFI_4: 'overflow-x: hidden;overflow-y: auto;',
|
|
33
|
+
WFI_5: 'max-width: 640px;height: 100%;',
|
|
34
|
+
WFI_6: 'height: 100%;'
|
|
35
|
+
}[layoutType]);
|
|
36
|
+
}, function (_a) {
|
|
37
|
+
var containerColor = _a.containerColor;
|
|
38
|
+
return "background-color: " + containerColor;
|
|
39
|
+
});
|
|
40
|
+
var S_ContentsContainer2 = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n background-color: ", ";\n border-left: 1px solid ", ";\n min-width: 480px;\n ", ";\n ", ";\n"], ["\n background-color: ", ";\n border-left: 1px solid ", ";\n min-width: 480px;\n ", ";\n ", ";\n"])), function (_a) {
|
|
41
|
+
var theme = _a.theme;
|
|
42
|
+
return theme.ui_contentscontainer02_background;
|
|
43
|
+
}, function (_a) {
|
|
44
|
+
var theme = _a.theme;
|
|
45
|
+
return theme.ui_container_divider;
|
|
46
|
+
}, function (_a) {
|
|
47
|
+
var layoutType = _a.layoutType;
|
|
48
|
+
return ({
|
|
49
|
+
WFI_1: 'flex-grow: 1;height: 100%;',
|
|
50
|
+
WFI_2: 'flex-grow: 1;overflow-x: hidden;overflow-y: auto;',
|
|
51
|
+
WFI_3: 'width: 50%;height: 100%;',
|
|
52
|
+
WFI_4: 'width: 50%;overflow-x: hidden;overflow-y: auto;',
|
|
53
|
+
WFI_5: 'flex-grow: 1;overflow-x: hidden;overflow-y: auto;',
|
|
54
|
+
WFI_6: 'width: 50%;overflow-x: hidden;overflow-y: auto;'
|
|
55
|
+
}[layoutType]);
|
|
56
|
+
}, function (_a) {
|
|
57
|
+
var containerColor = _a.containerColor;
|
|
58
|
+
return "background-color: " + containerColor;
|
|
59
|
+
});
|
|
60
|
+
var S_ContentsArea1 = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n box-sizing: border-box;\n padding-top: 24px;\n ", ";\n ", ";\n"], ["\n box-sizing: border-box;\n padding-top: 24px;\n ", ";\n ", ";\n"])), function (_a) {
|
|
61
|
+
var layoutType = _a.layoutType;
|
|
62
|
+
return ({
|
|
63
|
+
WFI_1: 'height: 100%;',
|
|
64
|
+
WFI_2: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;',
|
|
65
|
+
WFI_3: 'height: 100%;',
|
|
66
|
+
WFI_4: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;',
|
|
67
|
+
WFI_5: 'height: 100%;',
|
|
68
|
+
WFI_6: 'height: 100%;'
|
|
69
|
+
}[layoutType]);
|
|
70
|
+
}, function (_a) {
|
|
71
|
+
var areaColor = _a.areaColor;
|
|
72
|
+
return "background-color: " + areaColor;
|
|
73
|
+
});
|
|
74
|
+
var S_ContentsArea2 = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n box-sizing: border-box;\n padding-top: 24px;\n ", ";\n ", ";\n"], ["\n box-sizing: border-box;\n padding-top: 24px;\n ", ";\n ", ";\n"])), function (_a) {
|
|
75
|
+
var layoutType = _a.layoutType;
|
|
76
|
+
return ({
|
|
77
|
+
WFI_1: 'height: 100%;',
|
|
78
|
+
WFI_2: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;',
|
|
79
|
+
WFI_3: 'height: 100%;',
|
|
80
|
+
WFI_4: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;',
|
|
81
|
+
WFI_5: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;',
|
|
82
|
+
WFI_6: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;'
|
|
83
|
+
}[layoutType]);
|
|
84
|
+
}, function (_a) {
|
|
85
|
+
var areaColor = _a.areaColor;
|
|
86
|
+
return "background-color: " + areaColor;
|
|
87
|
+
});
|
|
88
|
+
var S_Content1 = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), function (_a) {
|
|
89
|
+
var layoutType = _a.layoutType;
|
|
90
|
+
return ({
|
|
91
|
+
WFI_1: 'height: 100%;overflow: hidden;',
|
|
92
|
+
WFI_2: '',
|
|
93
|
+
WFI_3: 'height: 100%;overflow: hidden;',
|
|
94
|
+
WFI_4: '',
|
|
95
|
+
WFI_5: 'height: 100%;overflow: hidden;',
|
|
96
|
+
WFI_6: 'height: 100%;overflow: hidden;'
|
|
97
|
+
}[layoutType]);
|
|
98
|
+
});
|
|
99
|
+
var S_Content2 = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), function (_a) {
|
|
100
|
+
var layoutType = _a.layoutType;
|
|
101
|
+
return ({
|
|
102
|
+
WFI_1: 'height: 100%;overflow: hidden;',
|
|
103
|
+
WFI_2: '',
|
|
104
|
+
WFI_3: 'height: 100%;overflow: hidden;',
|
|
105
|
+
WFI_4: '',
|
|
106
|
+
WFI_5: '',
|
|
107
|
+
WFI_6: ''
|
|
108
|
+
}[layoutType]);
|
|
109
|
+
});
|
|
110
|
+
exports.default = WFI;
|
|
111
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
var react_1 = __importDefault(require("react"));
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
var WFJ = function (_a) {
|
|
13
|
+
var content1 = _a.content1, containerColor = _a.containerColor, areaColor = _a.areaColor;
|
|
14
|
+
return (react_1.default.createElement(S_ContentsContainer, { containerColor: containerColor },
|
|
15
|
+
react_1.default.createElement(S_ContentsArea, { areaColor: areaColor },
|
|
16
|
+
react_1.default.createElement(S_Content1, null, content1))));
|
|
17
|
+
};
|
|
18
|
+
var S_ContentsContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n box-sizing: border-box;\n height: 100%;\n min-width: 960px;\n ", ";\n"], ["\n background-color: ", ";\n box-sizing: border-box;\n height: 100%;\n min-width: 960px;\n ", ";\n"])), function (_a) {
|
|
19
|
+
var theme = _a.theme;
|
|
20
|
+
return theme.ui_contentscontainer01_background;
|
|
21
|
+
}, function (_a) {
|
|
22
|
+
var containerColor = _a.containerColor;
|
|
23
|
+
return "background-color: " + containerColor;
|
|
24
|
+
});
|
|
25
|
+
var S_ContentsArea = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n box-sizing: border-box;\n height: 100%;\n min-width: 960px;\n padding-top: 24px;\n ", ";\n"], ["\n box-sizing: border-box;\n height: 100%;\n min-width: 960px;\n padding-top: 24px;\n ", ";\n"])), function (_a) {
|
|
26
|
+
var areaColor = _a.areaColor;
|
|
27
|
+
return "background-color: " + areaColor;
|
|
28
|
+
});
|
|
29
|
+
var S_Content1 = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n height: 100%;\n overflow: hidden;\n"], ["\n height: 100%;\n overflow: hidden;\n"])));
|
|
30
|
+
exports.default = WFJ;
|
|
31
|
+
var templateObject_1, templateObject_2, templateObject_3;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare type WFKProps = {
|
|
3
|
+
content1?: JSX.Element;
|
|
4
|
+
content2?: JSX.Element;
|
|
5
|
+
containerColor?: string;
|
|
6
|
+
areaColor?: string;
|
|
7
|
+
};
|
|
8
|
+
declare const WFK: ({ content1, content2, containerColor, areaColor }: WFKProps) => JSX.Element;
|
|
9
|
+
export default WFK;
|