pds-dev-kit-web 1.9.0-beta.1 → 1.9.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +2 -1
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +2 -1
- package/dist/src/common/styles/colorSet/UIColor.json +4 -1
- package/dist/src/common/styles/colorSet/index.d.ts +521 -516
- package/dist/src/common/styles/colorSet/index.js +3 -3
- package/dist/src/common/styles/colorSet/ui-type.d.ts +3 -0
- package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.d.ts +1 -1
- package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.js +1 -1
- package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.d.ts +2 -1
- package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.js +3 -3
- package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +3 -1
- package/dist/src/desktop/components/TextLabel/TextLabel.js +6 -3
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/ContentsContainer.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/ContentsContainer.js +28 -28
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFA.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFA.js +11 -7
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFB.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFB.js +12 -8
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFC.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFC.js +31 -8
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFD.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFD.js +31 -8
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFE.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFE.js +11 -7
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFF.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFF.js +31 -8
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFG.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFG.js +41 -14
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFH.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFH.js +31 -8
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFI.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFI.js +41 -14
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFJ.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFJ.js +31 -8
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFK.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFK.js +41 -14
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFL.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFL.js +4 -4
- package/dist/src/desktop/layout/LayoutWF/ContainersBox/ContainersBox.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWF/ContainersBox/ContainersBox.js +2 -2
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/ContentsContainer.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/ContentsContainer.js +17 -17
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHA.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHA.js +31 -8
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHB.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHB.js +41 -14
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHC.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHC.js +31 -8
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHD.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHD.js +41 -14
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHE.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWH/Containers/ContentsContainer/variation/WHE.js +31 -8
- package/dist/src/desktop/layout/LayoutWH/ContainersBox/ContainersBox.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWH/ContainersBox/ContainersBox.js +2 -2
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/ContentsContainer.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/ContentsContainer.js +20 -20
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSA.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSA.js +31 -8
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSB.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSB.js +12 -8
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSC.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSC.js +31 -8
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSD.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSD.js +31 -8
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSE.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSE.js +32 -9
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSF.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSF.js +41 -14
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSG.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSG.js +41 -14
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSH.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSH.js +41 -14
- package/dist/src/desktop/layout/LayoutWS/ContainersBox/ContainersBox.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWS/ContainersBox/ContainersBox.js +2 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.js +45 -45
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTA.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTA.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTB.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTB.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTC.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTC.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTD.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTD.js +41 -14
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTE.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTE.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTF.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTF.js +41 -14
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTG.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTG.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTH.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTH.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTI.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTI.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTJ.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTJ.js +41 -14
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTK.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTK.js +17 -13
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTL.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTL.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTM.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTM.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTN.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTN.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTO.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTO.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTP.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTP.js +31 -8
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTQ.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTQ.js +41 -14
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTS.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTS.js +15 -11
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTT.d.ts +3 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTT.js +15 -11
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTU.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTU.js +22 -17
- package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.d.ts +4 -1
- package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.js +2 -2
- package/dist/src/mobile/components/BasicFormGroup/BasicFormGroup.d.ts +1 -1
- package/dist/src/mobile/components/BasicFormGroup/BasicFormGroup.js +1 -1
- package/dist/src/mobile/components/BodyTextGroup/BodyTextGroup.d.ts +2 -1
- package/dist/src/mobile/components/BodyTextGroup/BodyTextGroup.js +3 -3
- package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +3 -1
- package/dist/src/mobile/components/TextLabel/TextLabel.js +6 -3
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/ContentsContainer.d.ts +4 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/ContentsContainer.js +8 -8
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFA.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFA.js +31 -8
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFB.d.ts +4 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFB.js +41 -14
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFC.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFC.js +31 -8
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFD.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFD.js +31 -8
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFE.d.ts +4 -1
- package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFE.js +41 -14
- package/dist/src/mobile/layout/LayoutMF/ContainersBox/ContainersBox.d.ts +4 -1
- package/dist/src/mobile/layout/LayoutMF/ContainersBox/ContainersBox.js +2 -2
- package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/ContentsContainer.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/ContentsContainer.js +3 -3
- package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMA.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMA.js +31 -8
- package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMB.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMB.js +31 -8
- package/dist/src/mobile/layout/LayoutMM/ContainersBox/ContainersBox.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMM/ContainersBox/ContainersBox.js +2 -2
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/ContentsContainer.d.ts +4 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/ContentsContainer.js +9 -9
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPA.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPA.js +31 -8
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPB.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPB.js +31 -8
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPC.d.ts +4 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPC.js +41 -14
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPD.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPD.js +31 -8
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPE.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPE.js +31 -8
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPF.d.ts +4 -1
- package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPF.js +41 -14
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/ContentsContainer.d.ts +4 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/ContentsContainer.js +12 -12
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.js +31 -8
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSB.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSB.js +31 -8
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSC.d.ts +4 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSC.js +41 -14
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSD.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSD.js +31 -8
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSE.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSE.js +31 -8
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSF.d.ts +4 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSF.js +41 -14
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSG.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSG.js +31 -8
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSH.d.ts +3 -1
- package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSH.js +31 -8
- package/dist/src/mobile/layout/LayoutMS/ContainersBox/ContainersBox.d.ts +4 -1
- package/dist/src/mobile/layout/LayoutMS/ContainersBox/ContainersBox.js +2 -2
- package/dist/storybook-static/{0.a1562720.iframe.bundle.d.ts → 0.73af3e66.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{0.a1562720.iframe.bundle.js → 0.73af3e66.iframe.bundle.js} +4 -4
- package/dist/storybook-static/{4.f6aa0ddb.iframe.bundle.d.ts → 4.d7ecdbf4.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{4.f6aa0ddb.iframe.bundle.js → 4.d7ecdbf4.iframe.bundle.js} +68 -68
- package/dist/storybook-static/{5.45d40fc4.iframe.bundle.d.ts → 5.dc1e4c72.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{5.45d40fc4.iframe.bundle.js → 5.dc1e4c72.iframe.bundle.js} +10 -10
- package/dist/storybook-static/{6.c25f6d33.iframe.bundle.d.ts → 6.e668ed7b.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{6.c25f6d33.iframe.bundle.js → 6.e668ed7b.iframe.bundle.js} +5 -5
- package/dist/storybook-static/{7.1fe04b11.iframe.bundle.d.ts → 7.9af8f518.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{7.1fe04b11.iframe.bundle.js → 7.9af8f518.iframe.bundle.js} +1 -1
- package/dist/storybook-static/{main.ef70f048.iframe.bundle.d.ts → main.43b6f244.iframe.bundle.d.ts} +554 -534
- package/dist/storybook-static/{main.ef70f048.iframe.bundle.js → main.43b6f244.iframe.bundle.js} +548 -467
- package/dist/storybook-static/{runtime~main.549d38be.iframe.bundle.d.ts → runtime~main.1b62987c.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{runtime~main.549d38be.iframe.bundle.js → runtime~main.1b62987c.iframe.bundle.js} +1 -1
- package/dist/storybook-static/{vendors~main.1bc2d8cb.iframe.bundle.d.ts → vendors~main.4e754259.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{vendors~main.1bc2d8cb.iframe.bundle.js → vendors~main.4e754259.iframe.bundle.js} +18 -18
- package/package.json +1 -1
- package/release-note.md +22 -4
|
@@ -3,45 +3,72 @@ 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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
6
25
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
27
|
};
|
|
9
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
29
|
var react_1 = __importDefault(require("react"));
|
|
11
|
-
var styled_components_1 =
|
|
30
|
+
var styled_components_1 = __importStar(require("styled-components"));
|
|
12
31
|
var components_1 = require("../../../../../../common/components");
|
|
13
32
|
var WTQ = function (_a) {
|
|
14
|
-
var content1 = _a.content1, content2 = _a.content2, _b = _a.layoutType, layoutType = _b === void 0 ? 'WTQ_1' : _b, containerColor = _a.containerColor, areaColor = _a.areaColor, isLoadingContainer1 = _a.isLoadingContainer1, isLoadingContainer2 = _a.isLoadingContainer2;
|
|
33
|
+
var content1 = _a.content1, content2 = _a.content2, _b = _a.layoutType, layoutType = _b === void 0 ? 'WTQ_1' : _b, containerColor = _a.containerColor, areaColor = _a.areaColor, isLoadingContainer1 = _a.isLoadingContainer1, isLoadingContainer2 = _a.isLoadingContainer2, overrideContainer1ColorKey = _a.overrideContainer1ColorKey, overrideContainer2ColorKey = _a.overrideContainer2ColorKey;
|
|
15
34
|
return (react_1.default.createElement(S_Box, null,
|
|
16
|
-
react_1.default.createElement(S_ContentsContainer1, { "x-pds-name": "ContentsContainer", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTQ", layoutType: layoutType, containerColor: containerColor }, isLoadingContainer1 ? (react_1.default.createElement(components_1.ThreeBarProgress, null)) : (react_1.default.createElement(S_ContentsArea1, { "x-pds-name": "ContentsArea", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTQ", layoutType: layoutType, areaColor: areaColor },
|
|
35
|
+
react_1.default.createElement(S_ContentsContainer1, { "x-pds-name": "ContentsContainer", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTQ", layoutType: layoutType, containerColor: containerColor, overrideContainer1ColorKey: overrideContainer1ColorKey }, isLoadingContainer1 ? (react_1.default.createElement(components_1.ThreeBarProgress, null)) : (react_1.default.createElement(S_ContentsArea1, { "x-pds-name": "ContentsArea", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTQ", layoutType: layoutType, areaColor: areaColor },
|
|
17
36
|
react_1.default.createElement(S_Content1, { "x-pds-name": "Content1", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTQ", layoutType: layoutType }, content1)))),
|
|
18
|
-
react_1.default.createElement(S_ContentsContainer2, { "x-pds-name": "ContentsContainer", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTQ", layoutType: layoutType, containerColor: containerColor }, isLoadingContainer2 ? (react_1.default.createElement(components_1.ThreeBarProgress, null)) : (react_1.default.createElement(S_ContentsArea2, { "x-pds-name": "ContentsArea", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTQ", layoutType: layoutType, areaColor: areaColor },
|
|
37
|
+
react_1.default.createElement(S_ContentsContainer2, { "x-pds-name": "ContentsContainer", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTQ", layoutType: layoutType, containerColor: containerColor, overrideContainer2ColorKey: overrideContainer2ColorKey }, isLoadingContainer2 ? (react_1.default.createElement(components_1.ThreeBarProgress, null)) : (react_1.default.createElement(S_ContentsArea2, { "x-pds-name": "ContentsArea", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTQ", layoutType: layoutType, areaColor: areaColor },
|
|
19
38
|
react_1.default.createElement(S_Content2, { "x-pds-name": "Content2", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTQ", layoutType: layoutType }, content2))))));
|
|
20
39
|
};
|
|
21
|
-
var
|
|
22
|
-
var
|
|
40
|
+
var overrideStyleContainer1 = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
|
|
41
|
+
var theme = _a.theme, overrideContainer1ColorKey = _a.overrideContainer1ColorKey;
|
|
42
|
+
return overrideContainer1ColorKey && theme[overrideContainer1ColorKey];
|
|
43
|
+
});
|
|
44
|
+
var overrideStyleContainer2 = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
|
|
45
|
+
var theme = _a.theme, overrideContainer2ColorKey = _a.overrideContainer2ColorKey;
|
|
46
|
+
return overrideContainer2ColorKey && theme[overrideContainer2ColorKey];
|
|
47
|
+
});
|
|
48
|
+
var S_Box = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n height: 100%;\n"], ["\n display: flex;\n height: 100%;\n"])));
|
|
49
|
+
var S_ContentsContainer1 = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n align-items: flex-start;\n background-color: ", ";\n display: flex;\n justify-content: flex-end;\n overflow-x: hidden;\n overflow-y: auto;\n width: calc(50% + 220px);\n ", ";\n\n ", "\n"], ["\n align-items: flex-start;\n background-color: ", ";\n display: flex;\n justify-content: flex-end;\n overflow-x: hidden;\n overflow-y: auto;\n width: calc(50% + 220px);\n ", ";\n\n ", "\n"])), function (_a) {
|
|
23
50
|
var theme = _a.theme;
|
|
24
51
|
return theme.ui_contentscontainer01_background;
|
|
25
52
|
}, function (_a) {
|
|
26
53
|
var containerColor = _a.containerColor;
|
|
27
54
|
return "background-color: " + containerColor;
|
|
28
|
-
});
|
|
29
|
-
var S_ContentsContainer2 = styled_components_1.default.div(
|
|
55
|
+
}, overrideStyleContainer1);
|
|
56
|
+
var S_ContentsContainer2 = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background-color: ", ";\n overflow-x: hidden;\n overflow-y: auto;\n width: calc(50% - 220px);\n ", ";\n\n ", "\n"], ["\n background-color: ", ";\n overflow-x: hidden;\n overflow-y: auto;\n width: calc(50% - 220px);\n ", ";\n\n ", "\n"])), function (_a) {
|
|
30
57
|
var theme = _a.theme;
|
|
31
58
|
return theme.ui_contentscontainer02_background;
|
|
32
59
|
}, function (_a) {
|
|
33
60
|
var containerColor = _a.containerColor;
|
|
34
61
|
return "background-color: " + containerColor;
|
|
35
|
-
});
|
|
36
|
-
var S_ContentsArea1 = styled_components_1.default.div(
|
|
62
|
+
}, overrideStyleContainer2);
|
|
63
|
+
var S_ContentsArea1 = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n padding-bottom: 88px;\n max-width: 760px;\n width: 760px;\n ", ";\n"], ["\n padding-bottom: 88px;\n max-width: 760px;\n width: 760px;\n ", ";\n"])), function (_a) {
|
|
37
64
|
var areaColor = _a.areaColor;
|
|
38
65
|
return "background-color: " + areaColor;
|
|
39
66
|
});
|
|
40
|
-
var S_ContentsArea2 = styled_components_1.default.div(
|
|
67
|
+
var S_ContentsArea2 = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n padding-bottom: 88px;\n min-width: 320px;\n width: 320px;\n ", ";\n"], ["\n padding-bottom: 88px;\n min-width: 320px;\n width: 320px;\n ", ";\n"])), function (_a) {
|
|
41
68
|
var areaColor = _a.areaColor;
|
|
42
69
|
return "background-color: " + areaColor;
|
|
43
70
|
});
|
|
44
|
-
var S_Content1 = styled_components_1.default.div(
|
|
45
|
-
var S_Content2 = styled_components_1.default.div(
|
|
71
|
+
var S_Content1 = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n margin: 0;\n"], ["\n margin: 0;\n"])));
|
|
72
|
+
var S_Content2 = styled_components_1.default.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n margin: 0;\n"], ["\n margin: 0;\n"])));
|
|
46
73
|
exports.default = WTQ;
|
|
47
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7;
|
|
74
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { MutableRefObject } from 'react';
|
|
2
|
+
import { UiColors } from '../../../../../../common';
|
|
2
3
|
export declare type WTSProps = {
|
|
3
4
|
content1?: JSX.Element;
|
|
4
5
|
content2?: JSX.Element;
|
|
@@ -6,7 +7,8 @@ export declare type WTSProps = {
|
|
|
6
7
|
containerColor?: string;
|
|
7
8
|
areaColor?: string;
|
|
8
9
|
isLoadingContainer1?: boolean;
|
|
10
|
+
overrideContainer1ColorKey?: UiColors;
|
|
9
11
|
container1Ref?: MutableRefObject<HTMLDivElement | null>;
|
|
10
12
|
};
|
|
11
|
-
declare const WTS: ({ content1, content2, containerColor, areaColor, layoutType, isLoadingContainer1, container1Ref }: WTSProps) => JSX.Element;
|
|
13
|
+
declare const WTS: ({ content1, content2, containerColor, areaColor, layoutType, isLoadingContainer1, overrideContainer1ColorKey, container1Ref }: WTSProps) => JSX.Element;
|
|
12
14
|
export default WTS;
|
|
@@ -31,28 +31,32 @@ var styled_components_1 = __importStar(require("styled-components"));
|
|
|
31
31
|
var components_1 = require("../../../../../../common/components");
|
|
32
32
|
var hybrid_1 = require("../../../../../../hybrid");
|
|
33
33
|
var WTS = function (_a) {
|
|
34
|
-
var content1 = _a.content1, content2 = _a.content2, containerColor = _a.containerColor, areaColor = _a.areaColor, layoutType = _a.layoutType, isLoadingContainer1 = _a.isLoadingContainer1, container1Ref = _a.container1Ref;
|
|
35
|
-
return (react_1.default.createElement(S_ContentsContainer, { "x-pds-name": "ContentsContainer", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTS", layoutType: layoutType, containerColor: containerColor, ref: container1Ref }, isLoadingContainer1 ? (react_1.default.createElement(components_1.ThreeBarProgress, null)) : (react_1.default.createElement(react_1.default.Fragment, null,
|
|
34
|
+
var content1 = _a.content1, content2 = _a.content2, containerColor = _a.containerColor, areaColor = _a.areaColor, layoutType = _a.layoutType, isLoadingContainer1 = _a.isLoadingContainer1, overrideContainer1ColorKey = _a.overrideContainer1ColorKey, container1Ref = _a.container1Ref;
|
|
35
|
+
return (react_1.default.createElement(S_ContentsContainer, { "x-pds-name": "ContentsContainer", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTS", layoutType: layoutType, containerColor: containerColor, overrideContainer1ColorKey: overrideContainer1ColorKey, ref: container1Ref }, isLoadingContainer1 ? (react_1.default.createElement(components_1.ThreeBarProgress, null)) : (react_1.default.createElement(react_1.default.Fragment, null,
|
|
36
36
|
react_1.default.createElement(S_ContentsArea1, { "x-pds-name": "ContentsArea", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTS", layoutType: layoutType, areaColor: areaColor },
|
|
37
37
|
react_1.default.createElement(S_Content1, { "x-pds-name": "Content1", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTS" }, content1)),
|
|
38
38
|
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_e" }),
|
|
39
39
|
react_1.default.createElement(S_ContentsArea2, { "x-pds-name": "ContentsArea", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTS", layoutType: layoutType, areaColor: areaColor },
|
|
40
40
|
react_1.default.createElement(S_Content2, { "x-pds-name": "Content2", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTS" }, content2))))));
|
|
41
41
|
};
|
|
42
|
-
var
|
|
42
|
+
var overrideStyleContainer1 = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
|
|
43
|
+
var theme = _a.theme, overrideContainer1ColorKey = _a.overrideContainer1ColorKey;
|
|
44
|
+
return overrideContainer1ColorKey && theme[overrideContainer1ColorKey];
|
|
45
|
+
});
|
|
46
|
+
var S_ContentsContainer = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n height: 100%;\n min-width: 1200px;\n overflow-x: hidden;\n overflow-y: auto;\n ", ";\n\n ", "\n"], ["\n align-items: center;\n background-color: ", ";\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n height: 100%;\n min-width: 1200px;\n overflow-x: hidden;\n overflow-y: auto;\n ", ";\n\n ", "\n"])), function (_a) {
|
|
43
47
|
var theme = _a.theme;
|
|
44
48
|
return theme.ui_contentscontainer01_background;
|
|
45
49
|
}, function (_a) {
|
|
46
50
|
var containerColor = _a.containerColor;
|
|
47
51
|
return "background-color: " + containerColor;
|
|
48
|
-
});
|
|
49
|
-
var S_ContentsArea1 = styled_components_1.default.div(
|
|
52
|
+
}, overrideStyleContainer1);
|
|
53
|
+
var S_ContentsArea1 = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n box-sizing: border-box;\n min-width: 1200px;\n width: 100%;\n ", ";\n"], ["\n box-sizing: border-box;\n min-width: 1200px;\n width: 100%;\n ", ";\n"])), function (_a) {
|
|
50
54
|
var areaColor = _a.areaColor;
|
|
51
55
|
return "background-color: " + areaColor;
|
|
52
56
|
});
|
|
53
|
-
var WTS_1ContentsArea2 = (0, styled_components_1.css)(
|
|
54
|
-
var WTS_2ContentsArea2 = (0, styled_components_1.css)(
|
|
55
|
-
var S_ContentsArea2 = styled_components_1.default.div(
|
|
57
|
+
var WTS_1ContentsArea2 = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n padding-bottom: 88px;\n padding-left: 24px;\n padding-right: 24px;\n padding-top: 24px;\n max-width: 1400px;\n min-width: 1200px;\n"], ["\n padding-bottom: 88px;\n padding-left: 24px;\n padding-right: 24px;\n padding-top: 24px;\n max-width: 1400px;\n min-width: 1200px;\n"])));
|
|
58
|
+
var WTS_2ContentsArea2 = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n padding-bottom: 88px;\n padding-top: 24px;\n width: 960px;\n"], ["\n padding-bottom: 88px;\n padding-top: 24px;\n width: 960px;\n"])));
|
|
59
|
+
var S_ContentsArea2 = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n box-sizing: border-box;\n width: 100%;\n ", ";\n ", ";\n"], ["\n box-sizing: border-box;\n width: 100%;\n ", ";\n ", ";\n"])), function (_a) {
|
|
56
60
|
var layoutType = _a.layoutType;
|
|
57
61
|
return ({ WTS_1: WTS_1ContentsArea2, WTS_2: WTS_2ContentsArea2 }[layoutType]);
|
|
58
62
|
}, function (_a) {
|
|
@@ -60,7 +64,7 @@ var S_ContentsArea2 = styled_components_1.default.div(templateObject_5 || (templ
|
|
|
60
64
|
return "background-color: " + areaColor;
|
|
61
65
|
});
|
|
62
66
|
// TODO: 철학에 위배되지만, 히어로 배너를 쓰지 않을 경우를 위해 임시로 제거 상태. 추후 조치 필요
|
|
63
|
-
var S_Content1 = styled_components_1.default.div(
|
|
64
|
-
var S_Content2 = styled_components_1.default.div(
|
|
67
|
+
var S_Content1 = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n /* min-height: 480px; */\n"], ["\n /* min-height: 480px; */\n"])));
|
|
68
|
+
var S_Content2 = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n margin: 0;\n"], ["\n margin: 0;\n"])));
|
|
65
69
|
exports.default = WTS;
|
|
66
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7;
|
|
70
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { MutableRefObject } from 'react';
|
|
2
|
+
import { UiColors } from '../../../../../../common';
|
|
2
3
|
export declare type WTTProps = {
|
|
3
4
|
content1?: JSX.Element;
|
|
4
5
|
content2?: JSX.Element;
|
|
@@ -6,7 +7,8 @@ export declare type WTTProps = {
|
|
|
6
7
|
containerColor?: string;
|
|
7
8
|
areaColor?: string;
|
|
8
9
|
isLoadingContainer1?: boolean;
|
|
10
|
+
overrideContainer1ColorKey?: UiColors;
|
|
9
11
|
container1Ref?: MutableRefObject<HTMLDivElement | null>;
|
|
10
12
|
};
|
|
11
|
-
declare const WTT: ({ content1, content2, containerColor, areaColor, layoutType, isLoadingContainer1, container1Ref }: WTTProps) => JSX.Element;
|
|
13
|
+
declare const WTT: ({ content1, content2, containerColor, areaColor, layoutType, isLoadingContainer1, overrideContainer1ColorKey, container1Ref }: WTTProps) => JSX.Element;
|
|
12
14
|
export default WTT;
|
|
@@ -31,28 +31,32 @@ var styled_components_1 = __importStar(require("styled-components"));
|
|
|
31
31
|
var components_1 = require("../../../../../../common/components");
|
|
32
32
|
var hybrid_1 = require("../../../../../../hybrid");
|
|
33
33
|
var WTT = function (_a) {
|
|
34
|
-
var content1 = _a.content1, content2 = _a.content2, containerColor = _a.containerColor, areaColor = _a.areaColor, layoutType = _a.layoutType, isLoadingContainer1 = _a.isLoadingContainer1, container1Ref = _a.container1Ref;
|
|
35
|
-
return (react_1.default.createElement(S_ContentsContainer, { "x-pds-name": "ContentsContainer", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTT", layoutType: layoutType, containerColor: containerColor, ref: container1Ref }, isLoadingContainer1 ? (react_1.default.createElement(components_1.ThreeBarProgress, null)) : (react_1.default.createElement(react_1.default.Fragment, null,
|
|
34
|
+
var content1 = _a.content1, content2 = _a.content2, containerColor = _a.containerColor, areaColor = _a.areaColor, layoutType = _a.layoutType, isLoadingContainer1 = _a.isLoadingContainer1, overrideContainer1ColorKey = _a.overrideContainer1ColorKey, container1Ref = _a.container1Ref;
|
|
35
|
+
return (react_1.default.createElement(S_ContentsContainer, { "x-pds-name": "ContentsContainer", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTT", layoutType: layoutType, containerColor: containerColor, overrideContainer1ColorKey: overrideContainer1ColorKey, ref: container1Ref }, isLoadingContainer1 ? (react_1.default.createElement(components_1.ThreeBarProgress, null)) : (react_1.default.createElement(react_1.default.Fragment, null,
|
|
36
36
|
react_1.default.createElement(S_ContentsArea1, { "x-pds-name": "ContentsArea", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTT", layoutType: layoutType, areaColor: areaColor },
|
|
37
37
|
react_1.default.createElement(S_Content1, { "x-pds-name": "Content1", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTT" }, content1)),
|
|
38
38
|
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_e" }),
|
|
39
39
|
react_1.default.createElement(S_ContentsArea2, { "x-pds-name": "ContentsArea", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTT", layoutType: layoutType, areaColor: areaColor },
|
|
40
40
|
react_1.default.createElement(S_Content2, { "x-pds-name": "Content2", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTT" }, content2))))));
|
|
41
41
|
};
|
|
42
|
-
var
|
|
42
|
+
var overrideStyleContainer1 = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
|
|
43
|
+
var theme = _a.theme, overrideContainer1ColorKey = _a.overrideContainer1ColorKey;
|
|
44
|
+
return overrideContainer1ColorKey && theme[overrideContainer1ColorKey];
|
|
45
|
+
});
|
|
46
|
+
var S_ContentsContainer = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n height: 100%;\n min-width: 1200px;\n overflow-x: hidden;\n overflow-y: auto;\n ", ";\n\n ", "\n"], ["\n align-items: center;\n background-color: ", ";\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n height: 100%;\n min-width: 1200px;\n overflow-x: hidden;\n overflow-y: auto;\n ", ";\n\n ", "\n"])), function (_a) {
|
|
43
47
|
var theme = _a.theme;
|
|
44
48
|
return theme.ui_contentscontainer01_background;
|
|
45
49
|
}, function (_a) {
|
|
46
50
|
var containerColor = _a.containerColor;
|
|
47
51
|
return "background-color: " + containerColor;
|
|
48
|
-
});
|
|
49
|
-
var S_ContentsArea1 = styled_components_1.default.div(
|
|
52
|
+
}, overrideStyleContainer1);
|
|
53
|
+
var S_ContentsArea1 = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n box-sizing: border-box;\n min-width: 1200px;\n width: 100%;\n ", ";\n"], ["\n box-sizing: border-box;\n min-width: 1200px;\n width: 100%;\n ", ";\n"])), function (_a) {
|
|
50
54
|
var areaColor = _a.areaColor;
|
|
51
55
|
return "background-color: " + areaColor;
|
|
52
56
|
});
|
|
53
|
-
var WTT_1ContentsArea2 = (0, styled_components_1.css)(
|
|
54
|
-
var WTT_2ContentsArea2 = (0, styled_components_1.css)(
|
|
55
|
-
var S_ContentsArea2 = styled_components_1.default.div(
|
|
57
|
+
var WTT_1ContentsArea2 = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n padding-bottom: 88px;\n padding-left: 24px;\n padding-right: 24px;\n padding-top: 24px;\n max-width: 1400px;\n min-width: 1200px;\n"], ["\n padding-bottom: 88px;\n padding-left: 24px;\n padding-right: 24px;\n padding-top: 24px;\n max-width: 1400px;\n min-width: 1200px;\n"])));
|
|
58
|
+
var WTT_2ContentsArea2 = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n padding-bottom: 88px;\n padding-top: 24px;\n width: 960px;\n"], ["\n padding-bottom: 88px;\n padding-top: 24px;\n width: 960px;\n"])));
|
|
59
|
+
var S_ContentsArea2 = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n box-sizing: border-box;\n width: 100%;\n ", ";\n ", ";\n"], ["\n box-sizing: border-box;\n width: 100%;\n ", ";\n ", ";\n"])), function (_a) {
|
|
56
60
|
var layoutType = _a.layoutType;
|
|
57
61
|
return ({ WTT_1: WTT_1ContentsArea2, WTT_2: WTT_2ContentsArea2 }[layoutType]);
|
|
58
62
|
}, function (_a) {
|
|
@@ -60,7 +64,7 @@ var S_ContentsArea2 = styled_components_1.default.div(templateObject_5 || (templ
|
|
|
60
64
|
return "background-color: " + areaColor;
|
|
61
65
|
});
|
|
62
66
|
// TODO: 철학에 위배되지만, 히어로 배너를 쓰지 않을 경우를 위해 임시로 제거 상태. 추후 조치 필요
|
|
63
|
-
var S_Content1 = styled_components_1.default.div(
|
|
64
|
-
var S_Content2 = styled_components_1.default.div(
|
|
67
|
+
var S_Content1 = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n /* min-height: 480px; */\n"], ["\n /* min-height: 480px; */\n"])));
|
|
68
|
+
var S_Content2 = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n margin: 0;\n"], ["\n margin: 0;\n"])));
|
|
65
69
|
exports.default = WTT;
|
|
66
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7;
|
|
70
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { UiColors } from '../../../../../../common';
|
|
2
3
|
export declare type WTUProps = {
|
|
3
4
|
content1?: JSX.Element;
|
|
4
5
|
content2?: JSX.Element;
|
|
@@ -7,9 +8,11 @@ export declare type WTUProps = {
|
|
|
7
8
|
areaColor?: string;
|
|
8
9
|
isLoadingContainer1?: boolean;
|
|
9
10
|
isLoadingContainer2?: boolean;
|
|
11
|
+
overrideContainer1ColorKey?: UiColors;
|
|
12
|
+
overrideContainer2ColorKey?: UiColors;
|
|
10
13
|
};
|
|
11
14
|
export declare type StyleProps = {
|
|
12
15
|
$contentsArea2Width?: number;
|
|
13
16
|
};
|
|
14
|
-
declare const WTU: ({ content1, content2, layoutType, containerColor, areaColor, isLoadingContainer1, isLoadingContainer2 }: WTUProps) => JSX.Element;
|
|
17
|
+
declare const WTU: ({ content1, content2, layoutType, containerColor, areaColor, isLoadingContainer1, isLoadingContainer2, overrideContainer1ColorKey, overrideContainer2ColorKey }: WTUProps) => JSX.Element;
|
|
15
18
|
export default WTU;
|
|
@@ -22,16 +22,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
22
22
|
__setModuleDefault(result, mod);
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
-
};
|
|
28
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
26
|
var react_1 = __importStar(require("react"));
|
|
30
|
-
var styled_components_1 =
|
|
27
|
+
var styled_components_1 = __importStar(require("styled-components"));
|
|
31
28
|
var components_1 = require("../../../../../../common/components");
|
|
32
29
|
var WTU = function (_a) {
|
|
33
30
|
var _b, _c;
|
|
34
|
-
var content1 = _a.content1, content2 = _a.content2, _d = _a.layoutType, layoutType = _d === void 0 ? 'WTU_1' : _d, containerColor = _a.containerColor, areaColor = _a.areaColor, isLoadingContainer1 = _a.isLoadingContainer1, isLoadingContainer2 = _a.isLoadingContainer2;
|
|
31
|
+
var content1 = _a.content1, content2 = _a.content2, _d = _a.layoutType, layoutType = _d === void 0 ? 'WTU_1' : _d, containerColor = _a.containerColor, areaColor = _a.areaColor, isLoadingContainer1 = _a.isLoadingContainer1, isLoadingContainer2 = _a.isLoadingContainer2, overrideContainer1ColorKey = _a.overrideContainer1ColorKey, overrideContainer2ColorKey = _a.overrideContainer2ColorKey;
|
|
35
32
|
var contentsArea2Ref = (0, react_1.useRef)(null);
|
|
36
33
|
var _e = (0, react_1.useState)((_c = (_b = contentsArea2Ref.current) === null || _b === void 0 ? void 0 : _b.offsetWidth) !== null && _c !== void 0 ? _c : 720), contentsArea2Width = _e[0], setContentsArea2Width = _e[1];
|
|
37
34
|
var handleResize = function () {
|
|
@@ -52,13 +49,21 @@ var WTU = function (_a) {
|
|
|
52
49
|
};
|
|
53
50
|
}, []);
|
|
54
51
|
return (react_1.default.createElement(S_Box, null,
|
|
55
|
-
react_1.default.createElement(S_ContentsContainer1, { "x-pds-name": "ContentsContainer", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTU", layoutType: layoutType, containerColor: containerColor, "$contentsArea2Width": contentsArea2Width }, isLoadingContainer1 ? (react_1.default.createElement(components_1.ThreeBarProgress, null)) : (react_1.default.createElement(S_ContentsArea1, { "x-pds-name": "ContentsArea", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTU", layoutType: layoutType, areaColor: areaColor },
|
|
52
|
+
react_1.default.createElement(S_ContentsContainer1, { "x-pds-name": "ContentsContainer", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTU", layoutType: layoutType, containerColor: containerColor, overrideContainer1ColorKey: overrideContainer1ColorKey, "$contentsArea2Width": contentsArea2Width }, isLoadingContainer1 ? (react_1.default.createElement(components_1.ThreeBarProgress, null)) : (react_1.default.createElement(S_ContentsArea1, { "x-pds-name": "ContentsArea", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTU", layoutType: layoutType, areaColor: areaColor },
|
|
56
53
|
react_1.default.createElement(S_Content1, { "x-pds-name": "Content1", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTU", layoutType: layoutType }, content1)))),
|
|
57
|
-
react_1.default.createElement(S_ContentsContainer2, { "x-pds-name": "ContentsContainer", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTU", layoutType: layoutType, containerColor: containerColor, "$contentsArea2Width": contentsArea2Width }, isLoadingContainer2 ? (react_1.default.createElement(components_1.ThreeBarProgress, null)) : (react_1.default.createElement(S_ContentsArea2, { "x-pds-name": "ContentsArea", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTU", layoutType: layoutType, areaColor: areaColor, ref: contentsArea2Ref },
|
|
54
|
+
react_1.default.createElement(S_ContentsContainer2, { "x-pds-name": "ContentsContainer", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTU", layoutType: layoutType, containerColor: containerColor, overrideContainer2ColorKey: overrideContainer2ColorKey, "$contentsArea2Width": contentsArea2Width }, isLoadingContainer2 ? (react_1.default.createElement(components_1.ThreeBarProgress, null)) : (react_1.default.createElement(S_ContentsArea2, { "x-pds-name": "ContentsArea", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTU", layoutType: layoutType, areaColor: areaColor, ref: contentsArea2Ref },
|
|
58
55
|
react_1.default.createElement(S_Content2, { "x-pds-name": "Content2", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTU", layoutType: layoutType }, content2))))));
|
|
59
56
|
};
|
|
60
|
-
var
|
|
61
|
-
var
|
|
57
|
+
var overrideStyleContainer1 = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
|
|
58
|
+
var theme = _a.theme, overrideContainer1ColorKey = _a.overrideContainer1ColorKey;
|
|
59
|
+
return overrideContainer1ColorKey && theme[overrideContainer1ColorKey];
|
|
60
|
+
});
|
|
61
|
+
var overrideStyleContainer2 = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
|
|
62
|
+
var theme = _a.theme, overrideContainer2ColorKey = _a.overrideContainer2ColorKey;
|
|
63
|
+
return overrideContainer2ColorKey && theme[overrideContainer2ColorKey];
|
|
64
|
+
});
|
|
65
|
+
var S_Box = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n height: 100%;\n"], ["\n display: flex;\n height: 100%;\n"])));
|
|
66
|
+
var S_ContentsContainer1 = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n align-items: flex-start;\n background-color: ", ";\n margin: 0;\n display: flex;\n justify-content: flex-end;\n overflow-x: hidden;\n overflow-y: auto;\n width: ", ";\n ", ";\n\n ", "\n"], ["\n align-items: flex-start;\n background-color: ", ";\n margin: 0;\n display: flex;\n justify-content: flex-end;\n overflow-x: hidden;\n overflow-y: auto;\n width: ", ";\n ", ";\n\n ", "\n"])), function (_a) {
|
|
62
67
|
var theme = _a.theme;
|
|
63
68
|
return theme.ui_contentscontainer01_background;
|
|
64
69
|
}, function (_a) {
|
|
@@ -67,8 +72,8 @@ var S_ContentsContainer1 = styled_components_1.default.div(templateObject_2 || (
|
|
|
67
72
|
}, function (_a) {
|
|
68
73
|
var containerColor = _a.containerColor;
|
|
69
74
|
return "background-color: " + containerColor;
|
|
70
|
-
});
|
|
71
|
-
var S_ContentsContainer2 = styled_components_1.default.div(
|
|
75
|
+
}, overrideStyleContainer1);
|
|
76
|
+
var S_ContentsContainer2 = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background-color: ", ";\n border-left: 1px solid ", ";\n height: 100%;\n width: ", ";\n ", ";\n\n ", "\n"], ["\n background-color: ", ";\n border-left: 1px solid ", ";\n height: 100%;\n width: ", ";\n ", ";\n\n ", "\n"])), function (_a) {
|
|
72
77
|
var theme = _a.theme;
|
|
73
78
|
return theme.ui_contentscontainer02_background;
|
|
74
79
|
}, function (_a) {
|
|
@@ -80,16 +85,16 @@ var S_ContentsContainer2 = styled_components_1.default.div(templateObject_3 || (
|
|
|
80
85
|
}, function (_a) {
|
|
81
86
|
var containerColor = _a.containerColor;
|
|
82
87
|
return "background-color: " + containerColor;
|
|
83
|
-
});
|
|
84
|
-
var S_ContentsArea1 = styled_components_1.default.div(
|
|
88
|
+
}, overrideStyleContainer2);
|
|
89
|
+
var S_ContentsArea1 = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n box-sizing: border-box;\n padding-bottom: 88px;\n padding-left: 24px;\n padding-right: 24px;\n max-width: 480px;\n width: 480px;\n ", ";\n"], ["\n box-sizing: border-box;\n padding-bottom: 88px;\n padding-left: 24px;\n padding-right: 24px;\n max-width: 480px;\n width: 480px;\n ", ";\n"])), function (_a) {
|
|
85
90
|
var areaColor = _a.areaColor;
|
|
86
91
|
return "background-color: " + areaColor;
|
|
87
92
|
});
|
|
88
|
-
var S_ContentsArea2 = styled_components_1.default.div(
|
|
93
|
+
var S_ContentsArea2 = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n max-width: 920px;\n min-width: 720px;\n height: 100%;\n width: 60%;\n ", ";\n"], ["\n max-width: 920px;\n min-width: 720px;\n height: 100%;\n width: 60%;\n ", ";\n"])), function (_a) {
|
|
89
94
|
var areaColor = _a.areaColor;
|
|
90
95
|
return "background-color: " + areaColor;
|
|
91
96
|
});
|
|
92
|
-
var S_Content1 = styled_components_1.default.div(
|
|
93
|
-
var S_Content2 = styled_components_1.default.div(
|
|
97
|
+
var S_Content1 = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n margin: 0;\n"], ["\n margin: 0;\n"])));
|
|
98
|
+
var S_Content2 = styled_components_1.default.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n height: 100%;\n overflow: hidden;\n"], ["\n height: 100%;\n overflow: hidden;\n"])));
|
|
94
99
|
exports.default = WTU;
|
|
95
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7;
|
|
100
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React, { MutableRefObject } from 'react';
|
|
2
|
+
import { UiColors } from '../../../../common';
|
|
2
3
|
export declare type ContainersBoxProps = {
|
|
3
4
|
layoutType: 'WTA_1' | 'WTA_2' | 'WTA_3' | 'WTB_1' | 'WTC_1' | 'WTD_1' | 'WTD_2' | 'WTD_3' | 'WTD_4' | 'WTD_5' | 'WTD_6' | 'WTE_1' | 'WTF_1' | 'WTF_2' | 'WTF_3' | 'WTF_4' | 'WTF_5' | 'WTF_6' | 'WTG_1' | 'WTH_1' | 'WTH_2' | 'WTH_3' | 'WTI_1' | 'WTI_2' | 'WTJ_1' | 'WTK_1' | 'WTK_2' | 'WTK_3' | 'WTK_4' | 'WTL_1' | 'WTM_1' | 'WTM_2' | 'WTM_3' | 'WTN_1' | 'WTN_2' | 'WTN_3' | 'WTO_1' | 'WTP_1' | 'WTQ_1' | 'WTS_1' | 'WTS_2' | 'WTT_1' | 'WTT_2' | 'WTU_1';
|
|
4
5
|
pageMenuContent?: JSX.Element;
|
|
@@ -11,7 +12,9 @@ export declare type ContainersBoxProps = {
|
|
|
11
12
|
areaColor?: string;
|
|
12
13
|
isLoadingContainer1?: boolean;
|
|
13
14
|
isLoadingContainer2?: boolean;
|
|
15
|
+
overrideContainer1ColorKey?: UiColors;
|
|
16
|
+
overrideContainer2ColorKey?: UiColors;
|
|
14
17
|
container1Ref?: MutableRefObject<HTMLDivElement | null>;
|
|
15
18
|
};
|
|
16
|
-
declare const ContainersBox: ({ layoutType, pageMenuContent, tabMenuContent, subMenuContent, content1, content2, containerColor, areaColor, isLoadingContainer1, isLoadingContainer2, container1Ref }: ContainersBoxProps) => JSX.Element;
|
|
19
|
+
declare const ContainersBox: ({ layoutType, pageMenuContent, tabMenuContent, subMenuContent, content1, content2, containerColor, areaColor, isLoadingContainer1, isLoadingContainer2, overrideContainer1ColorKey, overrideContainer2ColorKey, container1Ref }: ContainersBoxProps) => JSX.Element;
|
|
17
20
|
export default ContainersBox;
|
|
@@ -30,7 +30,7 @@ var react_1 = __importDefault(require("react"));
|
|
|
30
30
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
31
31
|
var Containers_1 = require("../Containers");
|
|
32
32
|
var ContainersBox = function (_a) {
|
|
33
|
-
var layoutType = _a.layoutType, pageMenuContent = _a.pageMenuContent, tabMenuContent = _a.tabMenuContent, subMenuContent = _a.subMenuContent, content1 = _a.content1, content2 = _a.content2, containerColor = _a.containerColor, areaColor = _a.areaColor, isLoadingContainer1 = _a.isLoadingContainer1, isLoadingContainer2 = _a.isLoadingContainer2, container1Ref = _a.container1Ref;
|
|
33
|
+
var layoutType = _a.layoutType, pageMenuContent = _a.pageMenuContent, tabMenuContent = _a.tabMenuContent, subMenuContent = _a.subMenuContent, content1 = _a.content1, content2 = _a.content2, containerColor = _a.containerColor, areaColor = _a.areaColor, isLoadingContainer1 = _a.isLoadingContainer1, isLoadingContainer2 = _a.isLoadingContainer2, overrideContainer1ColorKey = _a.overrideContainer1ColorKey, overrideContainer2ColorKey = _a.overrideContainer2ColorKey, container1Ref = _a.container1Ref;
|
|
34
34
|
return (react_1.default.createElement(S_ContainersBox, null,
|
|
35
35
|
{
|
|
36
36
|
WTA_1: react_1.default.createElement(react_1.default.Fragment, null),
|
|
@@ -218,7 +218,7 @@ var ContainersBox = function (_a) {
|
|
|
218
218
|
WTT_2: '',
|
|
219
219
|
WTU_1: ''
|
|
220
220
|
}[layoutType],
|
|
221
|
-
react_1.default.createElement(Containers_1.ContentsContainer, { layoutType: layoutType, content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2, container1Ref: container1Ref })))));
|
|
221
|
+
react_1.default.createElement(Containers_1.ContentsContainer, { layoutType: layoutType, content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2, overrideContainer1ColorKey: overrideContainer1ColorKey, overrideContainer2ColorKey: overrideContainer2ColorKey, container1Ref: container1Ref })))));
|
|
222
222
|
};
|
|
223
223
|
var S_ContainersBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: flex-start;\n display: flex;\n height: 100%;\n"], ["\n align-items: flex-start;\n display: flex;\n height: 100%;\n"])));
|
|
224
224
|
var S_RightBox = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n flex: 1;\n flex-direction: column;\n height: 100%;\n"], ["\n display: flex;\n flex: 1;\n flex-direction: column;\n height: 100%;\n"])));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { PDSTextType } from '../../../common';
|
|
3
3
|
declare type BasicFormGroupProps = {
|
|
4
|
-
titleStyleTheme?: 'headingBold' | 'subTitleBold';
|
|
4
|
+
titleStyleTheme?: 'headingBold' | 'leadParaBold' | 'subTitleBold';
|
|
5
5
|
titleText?: PDSTextType;
|
|
6
6
|
descText?: PDSTextType;
|
|
7
7
|
captionText?: PDSTextType;
|
|
@@ -11,7 +11,7 @@ function BasicFormGroup(_a) {
|
|
|
11
11
|
return (react_1.default.createElement("div", { "x-pds-name": "BasicFormGroup", "x-pds-element-type": "component", "x-pds-device-type": "mobile" },
|
|
12
12
|
titleText && (react_1.default.createElement(react_1.default.Fragment, null,
|
|
13
13
|
react_1.default.createElement(TextLabel_1.TextLabel, { text: titleText, styleTheme: titleStyleTheme, colorTheme: "sysTextPrimary" }),
|
|
14
|
-
react_1.default.createElement(hybrid_1.Spacing, { size: "
|
|
14
|
+
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_b" }))),
|
|
15
15
|
descText && (react_1.default.createElement(react_1.default.Fragment, null,
|
|
16
16
|
react_1.default.createElement(TextLabel_1.TextLabel, { text: descText, styleTheme: "caption1Regular", colorTheme: "sysTextSecondary" }),
|
|
17
17
|
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_d" }))),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { PDSTextType } from '../../../common';
|
|
3
3
|
declare type BodyTextGroupProps = {
|
|
4
|
+
titleStyleTheme?: 'headingBold' | 'leadParaBold' | 'subTitleBold';
|
|
4
5
|
titleText: PDSTextType;
|
|
5
6
|
descText?: PDSTextType;
|
|
6
7
|
contentText?: PDSTextType;
|
|
@@ -9,5 +10,5 @@ declare type BodyTextGroupProps = {
|
|
|
9
10
|
contentTextWordBreak?: 'normal' | 'break_all' | 'keep_all' | 'break_word';
|
|
10
11
|
contentFontWeight?: 'regular' | 'bold';
|
|
11
12
|
};
|
|
12
|
-
declare function BodyTextGroup({ titleText, descText, contentText, titleTextWordBreak, descTextWordBreak, contentTextWordBreak, contentFontWeight }: BodyTextGroupProps): JSX.Element;
|
|
13
|
+
declare function BodyTextGroup({ titleStyleTheme, titleText, descText, contentText, titleTextWordBreak, descTextWordBreak, contentTextWordBreak, contentFontWeight }: BodyTextGroupProps): JSX.Element;
|
|
13
14
|
export default BodyTextGroup;
|
|
@@ -7,11 +7,11 @@ var react_1 = __importDefault(require("react"));
|
|
|
7
7
|
var hybrid_1 = require("../../../hybrid");
|
|
8
8
|
var TextLabel_1 = require("../TextLabel");
|
|
9
9
|
function BodyTextGroup(_a) {
|
|
10
|
-
var titleText = _a.titleText, descText = _a.descText, contentText = _a.contentText,
|
|
10
|
+
var _b = _a.titleStyleTheme, titleStyleTheme = _b === void 0 ? 'subTitleBold' : _b, titleText = _a.titleText, descText = _a.descText, contentText = _a.contentText, _c = _a.titleTextWordBreak, titleTextWordBreak = _c === void 0 ? 'keep_all' : _c, _d = _a.descTextWordBreak, descTextWordBreak = _d === void 0 ? 'keep_all' : _d, _e = _a.contentTextWordBreak, contentTextWordBreak = _e === void 0 ? 'keep_all' : _e, _f = _a.contentFontWeight, contentFontWeight = _f === void 0 ? 'regular' : _f;
|
|
11
11
|
return (react_1.default.createElement("div", { "x-pds-name": "BodyTextGroup", "x-pds-element-type": "component", "x-pds-device-type": "mobile" },
|
|
12
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: titleText, wordBreak: titleTextWordBreak, styleTheme:
|
|
12
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: titleText, wordBreak: titleTextWordBreak, styleTheme: titleStyleTheme, colorTheme: "sysTextPrimary" }),
|
|
13
13
|
descText && (react_1.default.createElement("div", null,
|
|
14
|
-
react_1.default.createElement(hybrid_1.Spacing, { size: "
|
|
14
|
+
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_b" }),
|
|
15
15
|
react_1.default.createElement(TextLabel_1.TextLabel, { text: descText, wordBreak: descTextWordBreak, styleTheme: "caption1Regular", colorTheme: "sysTextSecondary" }))),
|
|
16
16
|
contentText && (react_1.default.createElement("div", null,
|
|
17
17
|
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_d" }),
|
|
@@ -16,6 +16,7 @@ export declare type TextLabelProps = {
|
|
|
16
16
|
requirementMode?: 'none' | 'use';
|
|
17
17
|
bulletPointMode?: 'none' | 'use';
|
|
18
18
|
wordBreak?: 'normal' | 'break_all' | 'keep_all' | 'break_word';
|
|
19
|
+
letterSpacing?: string;
|
|
19
20
|
};
|
|
20
21
|
export declare type TextStyleProps = {
|
|
21
22
|
textAlign?: 'left' | 'center' | 'right';
|
|
@@ -31,6 +32,7 @@ export declare type TextStyleProps = {
|
|
|
31
32
|
textDecorationType?: 'none' | 'line_through';
|
|
32
33
|
bulletPointMode?: 'none' | 'use';
|
|
33
34
|
wordBreak?: 'normal' | 'break_all' | 'keep_all' | 'break_word';
|
|
35
|
+
$letterSpacing?: string;
|
|
34
36
|
};
|
|
35
|
-
declare function TextLabel({ text, textAlign, styleTheme, colorOverride, colorTheme, singleLineMode, ellipsisMode, lineLimit, userSelectMode, customFontSize, customFontWeight, textDecorationType, requirementMode, bulletPointMode, wordBreak }: TextLabelProps): JSX.Element;
|
|
37
|
+
declare function TextLabel({ text, textAlign, styleTheme, colorOverride, colorTheme, singleLineMode, ellipsisMode, lineLimit, userSelectMode, customFontSize, customFontWeight, textDecorationType, requirementMode, bulletPointMode, wordBreak, letterSpacing }: TextLabelProps): JSX.Element;
|
|
36
38
|
export default TextLabel;
|
|
@@ -30,8 +30,8 @@ var react_1 = __importDefault(require("react"));
|
|
|
30
30
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
31
31
|
var hybrid_1 = require("../../../hybrid");
|
|
32
32
|
function TextLabel(_a) {
|
|
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.singleLineMode, singleLineMode = _e === void 0 ? 'none' : _e, _f = _a.ellipsisMode, ellipsisMode = _f === void 0 ? 'none' : _f, lineLimit = _a.lineLimit, _g = _a.userSelectMode, userSelectMode = _g === void 0 ? 'none' : _g, customFontSize = _a.customFontSize, customFontWeight = _a.customFontWeight, _h = _a.textDecorationType, textDecorationType = _h === void 0 ? 'none' : _h, _j = _a.requirementMode, requirementMode = _j === void 0 ? 'none' : _j, _k = _a.bulletPointMode, bulletPointMode = _k === void 0 ? 'none' : _k, _l = _a.wordBreak, wordBreak = _l === void 0 ? 'keep_all' : _l;
|
|
34
|
-
return (react_1.default.createElement(S_TextLabel, { "x-pds-name": "TextLabel", "x-pds-element-type": "component", "x-pds-device-type": "mobile", textAlign: textAlign, styleTheme: styleTheme, colorOverride: colorOverride, colorTheme: colorTheme, singleLineMode: singleLineMode, ellipsisMode: ellipsisMode, lineLimit: lineLimit, userSelectMode: userSelectMode, customFontSize: customFontSize, customFontWeight: customFontWeight, textDecorationType: textDecorationType, bulletPointMode: bulletPointMode, wordBreak: wordBreak },
|
|
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.singleLineMode, singleLineMode = _e === void 0 ? 'none' : _e, _f = _a.ellipsisMode, ellipsisMode = _f === void 0 ? 'none' : _f, lineLimit = _a.lineLimit, _g = _a.userSelectMode, userSelectMode = _g === void 0 ? 'none' : _g, customFontSize = _a.customFontSize, customFontWeight = _a.customFontWeight, _h = _a.textDecorationType, textDecorationType = _h === void 0 ? 'none' : _h, _j = _a.requirementMode, requirementMode = _j === void 0 ? 'none' : _j, _k = _a.bulletPointMode, bulletPointMode = _k === void 0 ? 'none' : _k, _l = _a.wordBreak, wordBreak = _l === void 0 ? 'keep_all' : _l, letterSpacing = _a.letterSpacing;
|
|
34
|
+
return (react_1.default.createElement(S_TextLabel, { "x-pds-name": "TextLabel", "x-pds-element-type": "component", "x-pds-device-type": "mobile", textAlign: textAlign, styleTheme: styleTheme, colorOverride: colorOverride, colorTheme: colorTheme, singleLineMode: singleLineMode, ellipsisMode: ellipsisMode, lineLimit: lineLimit, userSelectMode: userSelectMode, customFontSize: customFontSize, customFontWeight: customFontWeight, textDecorationType: textDecorationType, bulletPointMode: bulletPointMode, wordBreak: wordBreak, "$letterSpacing": letterSpacing },
|
|
35
35
|
text,
|
|
36
36
|
requirementMode === 'use' && (react_1.default.createElement(S_AfterTextBox, { styleTheme: styleTheme },
|
|
37
37
|
react_1.default.createElement(S_IconWrapper, null,
|
|
@@ -278,7 +278,7 @@ var ellipsisStyle = (0, styled_components_1.css)(templateObject_32 || (templateO
|
|
|
278
278
|
});
|
|
279
279
|
var userSelectModeStyle = (0, styled_components_1.css)(templateObject_33 || (templateObject_33 = __makeTemplateObject(["\n -ms-user-select: none;\n -moz-user-select: -moz-none;\n -khtml-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n"], ["\n -ms-user-select: none;\n -moz-user-select: -moz-none;\n -khtml-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n"])));
|
|
280
280
|
var bulletPointModeStyle = (0, styled_components_1.css)(templateObject_34 || (templateObject_34 = __makeTemplateObject(["\n padding-left: 16px;\n ::before {\n content: '\u2022';\n position: absolute;\n left: 0;\n width: 16px;\n }\n"], ["\n padding-left: 16px;\n ::before {\n content: '\u2022';\n position: absolute;\n left: 0;\n width: 16px;\n }\n"])));
|
|
281
|
-
var S_TextLabel = styled_components_1.default.div(templateObject_35 || (templateObject_35 = __makeTemplateObject(["\n box-sizing: border-box;\n text-align: ", ";\n white-space: pre-wrap;\n word-break: ", ";\n overflow-wrap: break-word;\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"], ["\n box-sizing: border-box;\n text-align: ", ";\n white-space: pre-wrap;\n word-break: ", ";\n overflow-wrap: break-word;\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"])), function (_a) {
|
|
281
|
+
var S_TextLabel = styled_components_1.default.div(templateObject_35 || (templateObject_35 = __makeTemplateObject(["\n box-sizing: border-box;\n text-align: ", ";\n white-space: pre-wrap;\n word-break: ", ";\n overflow-wrap: break-word;\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"], ["\n box-sizing: border-box;\n text-align: ", ";\n white-space: pre-wrap;\n word-break: ", ";\n overflow-wrap: break-word;\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"])), function (_a) {
|
|
282
282
|
var textAlign = _a.textAlign;
|
|
283
283
|
return textAlign;
|
|
284
284
|
}, function (_a) {
|
|
@@ -290,6 +290,9 @@ var S_TextLabel = styled_components_1.default.div(templateObject_35 || (template
|
|
|
290
290
|
keep_all: 'keep-all',
|
|
291
291
|
break_word: 'break-word'
|
|
292
292
|
}[wordBreak];
|
|
293
|
+
}, function (_a) {
|
|
294
|
+
var $letterSpacing = _a.$letterSpacing;
|
|
295
|
+
return "letter-spacing: " + $letterSpacing;
|
|
293
296
|
}, function (_a) {
|
|
294
297
|
var styleTheme = _a.styleTheme;
|
|
295
298
|
return styleTheme &&
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { UiColors } from '../../../../../common';
|
|
2
3
|
export declare type ContentsContainerProps = {
|
|
3
4
|
content1?: JSX.Element;
|
|
4
5
|
content2?: JSX.Element;
|
|
@@ -7,6 +8,8 @@ export declare type ContentsContainerProps = {
|
|
|
7
8
|
areaColor?: string;
|
|
8
9
|
isLoadingContainer1?: boolean;
|
|
9
10
|
isLoadingContainer2?: boolean;
|
|
11
|
+
overrideContainer1ColorKey?: UiColors;
|
|
12
|
+
overrideContainer2ColorKey?: UiColors;
|
|
10
13
|
};
|
|
11
|
-
declare const ContentsContainer: ({ content1, content2, layoutType, containerColor, areaColor, isLoadingContainer1, isLoadingContainer2 }: ContentsContainerProps) => JSX.Element;
|
|
14
|
+
declare const ContentsContainer: ({ content1, content2, layoutType, containerColor, areaColor, isLoadingContainer1, isLoadingContainer2, overrideContainer1ColorKey, overrideContainer2ColorKey }: ContentsContainerProps) => JSX.Element;
|
|
12
15
|
export default ContentsContainer;
|
|
@@ -6,15 +6,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
var react_1 = __importDefault(require("react"));
|
|
7
7
|
var variation_1 = require("./variation");
|
|
8
8
|
var ContentsContainer = function (_a) {
|
|
9
|
-
var content1 = _a.content1, content2 = _a.content2, layoutType = _a.layoutType, containerColor = _a.containerColor, areaColor = _a.areaColor, isLoadingContainer1 = _a.isLoadingContainer1, isLoadingContainer2 = _a.isLoadingContainer2;
|
|
9
|
+
var content1 = _a.content1, content2 = _a.content2, layoutType = _a.layoutType, containerColor = _a.containerColor, areaColor = _a.areaColor, isLoadingContainer1 = _a.isLoadingContainer1, isLoadingContainer2 = _a.isLoadingContainer2, overrideContainer1ColorKey = _a.overrideContainer1ColorKey, overrideContainer2ColorKey = _a.overrideContainer2ColorKey;
|
|
10
10
|
return (react_1.default.createElement(react_1.default.Fragment, null, {
|
|
11
|
-
MFA_1: (react_1.default.createElement(variation_1.MFA, { content1: content1, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1 })),
|
|
12
|
-
MFB_1: (react_1.default.createElement(variation_1.MFB, { layoutType: "MFB_1", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2 })),
|
|
13
|
-
MFB_2: (react_1.default.createElement(variation_1.MFB, { layoutType: "MFB_2", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2 })),
|
|
14
|
-
MFC_1: (react_1.default.createElement(variation_1.MFC, { content1: content1, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1 })),
|
|
15
|
-
MFD_1: (react_1.default.createElement(variation_1.MFD, { content1: content1, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1 })),
|
|
16
|
-
MFE_1: (react_1.default.createElement(variation_1.MFE, { layoutType: "MFE_1", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2 })),
|
|
17
|
-
MFE_2: (react_1.default.createElement(variation_1.MFE, { layoutType: "MFE_2", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2 }))
|
|
11
|
+
MFA_1: (react_1.default.createElement(variation_1.MFA, { content1: content1, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, overrideContainer1ColorKey: overrideContainer1ColorKey })),
|
|
12
|
+
MFB_1: (react_1.default.createElement(variation_1.MFB, { layoutType: "MFB_1", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2, overrideContainer1ColorKey: overrideContainer1ColorKey, overrideContainer2ColorKey: overrideContainer2ColorKey })),
|
|
13
|
+
MFB_2: (react_1.default.createElement(variation_1.MFB, { layoutType: "MFB_2", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2, overrideContainer1ColorKey: overrideContainer1ColorKey, overrideContainer2ColorKey: overrideContainer2ColorKey })),
|
|
14
|
+
MFC_1: (react_1.default.createElement(variation_1.MFC, { content1: content1, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, overrideContainer1ColorKey: overrideContainer1ColorKey })),
|
|
15
|
+
MFD_1: (react_1.default.createElement(variation_1.MFD, { content1: content1, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, overrideContainer1ColorKey: overrideContainer1ColorKey })),
|
|
16
|
+
MFE_1: (react_1.default.createElement(variation_1.MFE, { layoutType: "MFE_1", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2, overrideContainer1ColorKey: overrideContainer1ColorKey, overrideContainer2ColorKey: overrideContainer2ColorKey })),
|
|
17
|
+
MFE_2: (react_1.default.createElement(variation_1.MFE, { layoutType: "MFE_2", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2, overrideContainer1ColorKey: overrideContainer1ColorKey, overrideContainer2ColorKey: overrideContainer2ColorKey }))
|
|
18
18
|
}[layoutType]));
|
|
19
19
|
};
|
|
20
20
|
exports.default = ContentsContainer;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { UiColors } from '../../../../../../common';
|
|
2
3
|
export declare type MFAProps = {
|
|
3
4
|
content1?: JSX.Element;
|
|
4
5
|
containerColor?: string;
|
|
5
6
|
areaColor?: string;
|
|
6
7
|
isLoadingContainer1?: boolean;
|
|
8
|
+
overrideContainer1ColorKey?: UiColors;
|
|
7
9
|
};
|
|
8
|
-
declare const MFA: ({ content1, containerColor, areaColor, isLoadingContainer1 }: MFAProps) => JSX.Element;
|
|
10
|
+
declare const MFA: ({ content1, containerColor, areaColor, isLoadingContainer1, overrideContainer1ColorKey }: MFAProps) => JSX.Element;
|
|
9
11
|
export default MFA;
|