pds-dev-kit-web-test 0.3.5 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. package/dist/src/common/assets/icons/line/Hourglass.d.ts +4 -0
  2. package/dist/src/common/assets/icons/line/Hourglass.js +30 -0
  3. package/dist/src/common/assets/icons/line/UploadList.d.ts +4 -0
  4. package/dist/src/common/assets/icons/line/UploadList.js +30 -0
  5. package/dist/src/common/assets/icons/line/index.d.ts +2 -0
  6. package/dist/src/common/assets/icons/line/index.js +4 -0
  7. package/dist/src/common/styles/colorSet/UIColor.json +3 -1
  8. package/dist/src/common/styles/colorSet/index.d.ts +124 -122
  9. package/dist/src/common/styles/colorSet/index.js +4 -4
  10. package/dist/src/common/styles/colorSet/ui-type.d.ts +2 -0
  11. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.d.ts +1 -1
  12. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.js +1 -2
  13. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTX.js +11 -17
  14. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/index.d.ts +0 -1
  15. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/index.js +1 -3
  16. package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.d.ts +1 -1
  17. package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.js +5 -9
  18. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +4 -2
  19. package/package.json +1 -1
  20. package/release-note.md +5 -5
  21. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTY.d.ts +0 -18
  22. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTY.js +0 -109
package/release-note.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # pds-dev-kit-web-test Release Notes
2
- ## [v0.3.5]
3
- ## 기준 pds-dev-kit-web 버전 @2.2.23
4
- ### Layout
5
- * WTX_1 추가
6
- * WTY_1 추가
2
+ ## [v0.3.7]
3
+ ## 기준 pds-dev-kit-web 버전 @2.2.26
4
+ ### sub
5
+ * DynamicLayout
6
+ * 선택된 CB에 투명도 0.95추가
@@ -1,18 +0,0 @@
1
- /// <reference types="react" />
2
- import type { UiColors } from '../../../../../../common';
3
- export type WTYProps = {
4
- content1?: JSX.Element;
5
- content2?: JSX.Element;
6
- layoutType?: 'WTY_1';
7
- containerColor?: string;
8
- areaColor?: string;
9
- isLoadingContainer1?: boolean;
10
- isLoadingContainer2?: boolean;
11
- overrideContainer1ColorKey?: UiColors;
12
- overrideContainer2ColorKey?: UiColors;
13
- };
14
- export type StyleProps = {
15
- $contentsArea2Width?: number;
16
- };
17
- declare const WTY: ({ content1, content2, layoutType, containerColor, areaColor, isLoadingContainer1, isLoadingContainer2, overrideContainer1ColorKey, overrideContainer2ColorKey }: WTYProps) => JSX.Element;
18
- export default WTY;
@@ -1,109 +0,0 @@
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 __assign = (this && this.__assign) || function () {
7
- __assign = Object.assign || function(t) {
8
- for (var s, i = 1, n = arguments.length; i < n; i++) {
9
- s = arguments[i];
10
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
- t[p] = s[p];
12
- }
13
- return t;
14
- };
15
- return __assign.apply(this, arguments);
16
- };
17
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
- if (k2 === undefined) k2 = k;
19
- var desc = Object.getOwnPropertyDescriptor(m, k);
20
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
21
- desc = { enumerable: true, get: function() { return m[k]; } };
22
- }
23
- Object.defineProperty(o, k2, desc);
24
- }) : (function(o, m, k, k2) {
25
- if (k2 === undefined) k2 = k;
26
- o[k2] = m[k];
27
- }));
28
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
29
- Object.defineProperty(o, "default", { enumerable: true, value: v });
30
- }) : function(o, v) {
31
- o["default"] = v;
32
- });
33
- var __importStar = (this && this.__importStar) || function (mod) {
34
- if (mod && mod.__esModule) return mod;
35
- var result = {};
36
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
37
- __setModuleDefault(result, mod);
38
- return result;
39
- };
40
- Object.defineProperty(exports, "__esModule", { value: true });
41
- var jsx_runtime_1 = require("react/jsx-runtime");
42
- var react_1 = require("react");
43
- var styled_components_1 = __importStar(require("styled-components"));
44
- var components_1 = require("../../../../../../common/components");
45
- var WTY = function (_a) {
46
- var _b, _c;
47
- var content1 = _a.content1, content2 = _a.content2, _d = _a.layoutType, layoutType = _d === void 0 ? 'WTY_1' : _d, containerColor = _a.containerColor, areaColor = _a.areaColor, isLoadingContainer1 = _a.isLoadingContainer1, isLoadingContainer2 = _a.isLoadingContainer2, overrideContainer1ColorKey = _a.overrideContainer1ColorKey, overrideContainer2ColorKey = _a.overrideContainer2ColorKey;
48
- var contentsArea2Ref = (0, react_1.useRef)(null);
49
- 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];
50
- var handleResize = function () {
51
- if (contentsArea2Ref === null || contentsArea2Ref.current === null) {
52
- return;
53
- }
54
- setContentsArea2Width(contentsArea2Ref.current.offsetWidth);
55
- };
56
- /**
57
- @when : 브라우저 화면 사이즈가 변경될 때
58
- @expected : contentsArea2의 너비를 contentsArea2Width에 저장합니다.
59
- @clear : 이벤트 등록을 해제합니다.
60
- */
61
- (0, react_1.useEffect)(function () {
62
- window.addEventListener('resize', handleResize);
63
- return function () {
64
- window.removeEventListener('resize', handleResize);
65
- };
66
- }, []);
67
- return ((0, jsx_runtime_1.jsxs)(S_Box, { children: [(0, jsx_runtime_1.jsx)(S_ContentsContainer1, __assign({ "x-pds-name": "ContentsContainer", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTY", layoutType: layoutType, containerColor: containerColor, overrideContainer1ColorKey: overrideContainer1ColorKey, "$contentsArea2Width": contentsArea2Width }, { children: isLoadingContainer1 ? ((0, jsx_runtime_1.jsx)(components_1.ThreeBarProgress, {})) : ((0, jsx_runtime_1.jsx)(S_ContentsArea1, __assign({ "x-pds-name": "ContentsArea", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTY", layoutType: layoutType, areaColor: areaColor }, { children: (0, jsx_runtime_1.jsx)(S_Content1, __assign({ "x-pds-name": "Content1", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTY", layoutType: layoutType }, { children: content1 })) }))) })), (0, jsx_runtime_1.jsx)(S_ContentsContainer2, __assign({ "x-pds-name": "ContentsContainer", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTY", layoutType: layoutType, containerColor: containerColor, overrideContainer2ColorKey: overrideContainer2ColorKey, "$contentsArea2Width": contentsArea2Width }, { children: isLoadingContainer2 ? ((0, jsx_runtime_1.jsx)(components_1.ThreeBarProgress, {})) : ((0, jsx_runtime_1.jsx)(S_ContentsArea2, __assign({ "x-pds-name": "ContentsArea", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTY", layoutType: layoutType, areaColor: areaColor, ref: contentsArea2Ref }, { children: (0, jsx_runtime_1.jsx)(S_Content2, __assign({ "x-pds-name": "Content2", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WTY", layoutType: layoutType }, { children: content2 })) }))) }))] }));
68
- };
69
- var overrideStyleContainer1 = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
70
- var theme = _a.theme, overrideContainer1ColorKey = _a.overrideContainer1ColorKey;
71
- return overrideContainer1ColorKey && theme[overrideContainer1ColorKey];
72
- });
73
- var overrideStyleContainer2 = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
74
- var theme = _a.theme, overrideContainer2ColorKey = _a.overrideContainer2ColorKey;
75
- return overrideContainer2ColorKey && theme[overrideContainer2ColorKey];
76
- });
77
- 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"])));
78
- 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 height: 100%;\n\n /* justify-content: flex-end; */\n /* margin: 0; */\n /* overflow-x: hidden; */\n /* overflow-y: auto; */\n width: 480px;\n ", ";\n\n ", "\n"], ["\n align-items: flex-start;\n background-color: ", ";\n display: flex;\n height: 100%;\n\n /* justify-content: flex-end; */\n /* margin: 0; */\n /* overflow-x: hidden; */\n /* overflow-y: auto; */\n width: 480px;\n ", ";\n\n ", "\n"])), function (_a) {
79
- var theme = _a.theme;
80
- return theme.ui_contentscontainer01_background;
81
- }, function (_a) {
82
- var containerColor = _a.containerColor;
83
- return "background-color: ".concat(containerColor);
84
- }, overrideStyleContainer1);
85
- var S_ContentsContainer2 = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background-color: ", ";\n border-left: 1px solid ", ";\n flex: 1;\n /* width: ", "; */\n height: 100%;\n ", ";\n\n ", "\n"], ["\n background-color: ", ";\n border-left: 1px solid ", ";\n flex: 1;\n /* width: ", "; */\n height: 100%;\n ", ";\n\n ", "\n"])), function (_a) {
86
- var theme = _a.theme;
87
- return theme.ui_contentscontainer02_background;
88
- }, function (_a) {
89
- var theme = _a.theme;
90
- return theme.ui_container_divider;
91
- }, function (_a) {
92
- var $contentsArea2Width = _a.$contentsArea2Width;
93
- return "calc(50% + (".concat($contentsArea2Width, "px - 480px) / 2)");
94
- }, function (_a) {
95
- var containerColor = _a.containerColor;
96
- return "background-color: ".concat(containerColor);
97
- }, overrideStyleContainer2);
98
- var S_ContentsArea1 = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n box-sizing: border-box;\n height: 100%;\n /* padding-bottom: 88px; */\n max-width: 480px;\n padding-left: 24px;\n padding-right: 24px;\n width: 480px;\n\n ", ";\n"], ["\n box-sizing: border-box;\n height: 100%;\n /* padding-bottom: 88px; */\n max-width: 480px;\n padding-left: 24px;\n padding-right: 24px;\n width: 480px;\n\n ", ";\n"])), function (_a) {
99
- var areaColor = _a.areaColor;
100
- return "background-color: ".concat(areaColor);
101
- });
102
- var S_ContentsArea2 = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n height: 100%;\n /* max-width: 680px;/ */\n min-width: 480px;\n /* width: 60%; */\n ", ";\n"], ["\n height: 100%;\n /* max-width: 680px;/ */\n min-width: 480px;\n /* width: 60%; */\n ", ";\n"])), function (_a) {
103
- var areaColor = _a.areaColor;
104
- return "background-color: ".concat(areaColor);
105
- });
106
- var S_Content1 = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n height: 100%;\n overflow: hidden;\n"], ["\n height: 100%;\n overflow: hidden;\n"])));
107
- 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"])));
108
- exports.default = WTY;
109
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9;