pds-dev-kit-web 1.3.8 → 1.3.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/common/assets/icons/line/ArrowLeftThin.d.ts +4 -0
- package/dist/src/common/assets/icons/line/ArrowLeftThin.js +34 -0
- package/dist/src/common/assets/icons/line/ArrowRightThin.d.ts +4 -0
- package/dist/src/common/assets/icons/line/ArrowRightThin.js +34 -0
- package/dist/src/common/assets/icons/line/Download.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Download.js +34 -0
- package/dist/src/common/assets/icons/line/Folder.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Folder.js +34 -0
- package/dist/src/common/assets/icons/line/index.d.ts +4 -0
- package/dist/src/common/assets/icons/line/index.js +8 -0
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +4 -1
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +4 -1
- package/dist/src/common/styles/colorSet/UIColor.json +8 -1
- package/dist/src/common/styles/colorSet/index.d.ts +166 -153
- package/dist/src/common/styles/colorSet/index.js +3 -3
- package/dist/src/common/styles/colorSet/ui-type.d.ts +7 -0
- package/dist/src/common/styles/theme.js +1 -1
- package/dist/src/common/styles/ui-colors.d.ts +3 -1
- package/dist/src/common/styles/ui-colors.js +5 -4
- package/dist/src/desktop/components/AdminList/AdminList.d.ts +3 -2
- package/dist/src/desktop/components/AdminList/AdminList.js +53 -17
- package/dist/src/desktop/components/AdminList/HeaderRow.d.ts +1 -1
- package/dist/src/desktop/components/AdminList/HeaderRow.js +2 -2
- package/dist/src/desktop/components/AdminListItem/AdminListItem.d.ts +1 -1
- package/dist/src/desktop/components/AdminListItem/AdminListItem.js +9 -8
- package/dist/src/desktop/components/Checkbox/Checkbox.js +2 -1
- package/dist/src/desktop/components/DesktopBasicModal/DesktopBasicModal.d.ts +5 -1
- package/dist/src/desktop/components/DesktopBasicModal/DesktopBasicModal.js +21 -18
- package/dist/src/desktop/components/Dropdown/Dropdown.d.ts +2 -2
- package/dist/src/desktop/components/Dropdown/Dropdown.js +3 -3
- package/dist/src/mobile/components/Dropdown/Dropdown.d.ts +2 -2
- package/dist/src/mobile/components/Dropdown/Dropdown.js +2 -2
- package/dist/src/mobile/components/MobileBasicModal/MobileBasicModal.d.ts +2 -1
- package/dist/src/mobile/components/MobileBasicModal/MobileBasicModal.js +18 -15
- package/package.json +1 -1
- package/release-note.md +5 -10
|
@@ -28,12 +28,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
var react_1 = __importStar(require("react"));
|
|
30
30
|
var react_dom_1 = __importDefault(require("react-dom"));
|
|
31
|
-
var styled_components_1 =
|
|
31
|
+
var styled_components_1 = __importStar(require("styled-components"));
|
|
32
32
|
var IconButton_1 = require("../IconButton");
|
|
33
33
|
var MainButton_1 = require("../MainButton");
|
|
34
34
|
var TextLabel_1 = require("../TextLabel");
|
|
35
35
|
function MobileBasicModal(_a) {
|
|
36
|
-
var titleText = _a.titleText, contentText = _a.contentText, mBtnText = _a.mBtnText, onClickMBtn = _a.onClickMBtn, onClickXMarkIcon = _a.onClickXMarkIcon, children = _a.children;
|
|
36
|
+
var titleText = _a.titleText, _b = _a.bodySpacingMode, bodySpacingMode = _b === void 0 ? 'use' : _b, contentText = _a.contentText, mBtnText = _a.mBtnText, onClickMBtn = _a.onClickMBtn, onClickXMarkIcon = _a.onClickXMarkIcon, children = _a.children;
|
|
37
37
|
var container = (0, react_1.useState)(function () {
|
|
38
38
|
var modalRoot = document.createElement('div');
|
|
39
39
|
modalRoot.setAttribute('id', 'MobileBasicModal');
|
|
@@ -56,7 +56,7 @@ function MobileBasicModal(_a) {
|
|
|
56
56
|
react_1.default.createElement(S_TitleWrapper, null,
|
|
57
57
|
react_1.default.createElement(TextLabel_1.TextLabel, { text: titleText, colorTheme: "sysTextPrimary", styleTheme: "headingBold" })),
|
|
58
58
|
react_1.default.createElement(IconButton_1.IconButton, { fillType: "fill", baseSize: "large", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconSize: 24, shapeType: "rectangle", iconName: "ic_xmark", iconColorKey: "ui_cpnt_modal_header_icon_02", iconFillType: "line", onClick: onClickXMarkIcon })),
|
|
59
|
-
react_1.default.createElement(S_Body,
|
|
59
|
+
react_1.default.createElement(S_Body, { bodySpacingMode: bodySpacingMode },
|
|
60
60
|
contentText && (react_1.default.createElement(TextLabel_1.TextLabel, { text: contentText, colorTheme: "sysTextSecondary", styleTheme: "subTitleRegular" })),
|
|
61
61
|
children && children),
|
|
62
62
|
react_1.default.createElement(S_Footer, null, mBtnText && react_1.default.createElement(MainButton_1.MainButton, { text: mBtnText, size: "rlarge", onClick: onClickMBtn })))), container);
|
|
@@ -65,7 +65,7 @@ var S_ModalOverlay = styled_components_1.default.div(templateObject_1 || (templa
|
|
|
65
65
|
var theme = _a.theme;
|
|
66
66
|
return theme.ui_cpnt_modal_dimmed;
|
|
67
67
|
});
|
|
68
|
-
var S_ModalWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 8px;\n box-shadow: ", ";\n
|
|
68
|
+
var S_ModalWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 8px;\n box-shadow: ", ";\n left: 50%;\n max-height: 720px;\n max-width: 560px;\n position: fixed;\n top: 50%;\n transform: translate(-50%, -50%);\n width: calc(100% - 48px);\n"], ["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 8px;\n box-shadow: ", ";\n left: 50%;\n max-height: 720px;\n max-width: 560px;\n position: fixed;\n top: 50%;\n transform: translate(-50%, -50%);\n width: calc(100% - 48px);\n"])), function (_a) {
|
|
69
69
|
var theme = _a.theme;
|
|
70
70
|
return theme.ui_cpnt_modal_base;
|
|
71
71
|
}, function (_a) {
|
|
@@ -75,13 +75,13 @@ var S_ModalWrapper = styled_components_1.default.div(templateObject_2 || (templa
|
|
|
75
75
|
var theme = _a.theme;
|
|
76
76
|
return theme.boxShadow.elevation4;
|
|
77
77
|
});
|
|
78
|
-
var S_Header = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n
|
|
78
|
+
var S_Header = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n padding-bottom: ", ";\n"], ["\n display: flex;\n justify-content: space-between;\n padding-bottom: ", ";\n"])), function (_a) {
|
|
79
79
|
var theme = _a.theme;
|
|
80
80
|
return theme.spacing.spacingC;
|
|
81
81
|
});
|
|
82
|
-
var S_Body = styled_components_1.default.div(
|
|
82
|
+
var S_Body = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n margin-bottom: ", ";\n margin-left: ", ";\n margin-right: ", ";\n max-height: 480px;\n overflow-y: scroll;\n padding-top: ", ";\n\n ", "\n"], ["\n margin-bottom: ", ";\n margin-left: ", ";\n margin-right: ", ";\n max-height: 480px;\n overflow-y: scroll;\n padding-top: ", ";\n\n ", "\n"])), function (_a) {
|
|
83
83
|
var theme = _a.theme;
|
|
84
|
-
return theme.spacing.
|
|
84
|
+
return theme.spacing.spacingE;
|
|
85
85
|
}, function (_a) {
|
|
86
86
|
var theme = _a.theme;
|
|
87
87
|
return theme.spacing.spacingE;
|
|
@@ -90,11 +90,14 @@ var S_Body = styled_components_1.default.div(templateObject_4 || (templateObject
|
|
|
90
90
|
return theme.spacing.spacingE;
|
|
91
91
|
}, function (_a) {
|
|
92
92
|
var theme = _a.theme;
|
|
93
|
-
return theme.spacing.
|
|
93
|
+
return theme.spacing.spacingC;
|
|
94
|
+
}, function (_a) {
|
|
95
|
+
var bodySpacingMode = _a.bodySpacingMode;
|
|
96
|
+
return bodySpacingMode === 'none' && (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n margin-bottom: 0;\n margin-left: 0;\n margin-right: 0;\n "], ["\n margin-bottom: 0;\n margin-left: 0;\n margin-right: 0;\n "])));
|
|
94
97
|
});
|
|
95
|
-
var S_Footer = styled_components_1.default.div(
|
|
98
|
+
var S_Footer = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n margin-bottom: ", ";\n margin-left: ", ";\n margin-right: ", ";\n padding-top: ", ";\n"], ["\n display: flex;\n justify-content: space-between;\n margin-bottom: ", ";\n margin-left: ", ";\n margin-right: ", ";\n padding-top: ", ";\n"])), function (_a) {
|
|
96
99
|
var theme = _a.theme;
|
|
97
|
-
return theme.spacing.
|
|
100
|
+
return theme.spacing.spacingE;
|
|
98
101
|
}, function (_a) {
|
|
99
102
|
var theme = _a.theme;
|
|
100
103
|
return theme.spacing.spacingE;
|
|
@@ -103,17 +106,17 @@ var S_Footer = styled_components_1.default.div(templateObject_5 || (templateObje
|
|
|
103
106
|
return theme.spacing.spacingE;
|
|
104
107
|
}, function (_a) {
|
|
105
108
|
var theme = _a.theme;
|
|
106
|
-
return theme.spacing.
|
|
109
|
+
return theme.spacing.spacingD;
|
|
107
110
|
});
|
|
108
|
-
var S_TitleWrapper = styled_components_1.default.div(
|
|
111
|
+
var S_TitleWrapper = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n margin-left: ", ";\n margin-right: ", ";\n margin-top: ", ";\n"], ["\n margin-left: ", ";\n margin-right: ", ";\n margin-top: ", ";\n"])), function (_a) {
|
|
109
112
|
var theme = _a.theme;
|
|
110
|
-
return theme.spacing.
|
|
113
|
+
return theme.spacing.spacingE;
|
|
111
114
|
}, function (_a) {
|
|
112
115
|
var theme = _a.theme;
|
|
113
|
-
return theme.spacing.
|
|
116
|
+
return theme.spacing.spacingB;
|
|
114
117
|
}, function (_a) {
|
|
115
118
|
var theme = _a.theme;
|
|
116
119
|
return theme.spacing.spacingE;
|
|
117
120
|
});
|
|
118
121
|
exports.default = MobileBasicModal;
|
|
119
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
|
|
122
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7;
|
package/package.json
CHANGED
package/release-note.md
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
# PDS-DEV-KIT-WEB Release Notes
|
|
2
|
-
## [v1.3.
|
|
2
|
+
## [v1.3.11]
|
|
3
3
|
|
|
4
4
|
### Component
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* prop 추가
|
|
9
|
-
* tooltipText
|
|
10
|
-
* tooltipPosition
|
|
11
|
-
|
|
12
|
-
### Color
|
|
13
|
-
* 컬러 키 값 22.04.24 20시 21분 기준 싱크
|
|
5
|
+
* DesktopBasicModal
|
|
6
|
+
* bodySpacingMode prop 추가
|
|
7
|
+
* MobileBasicModal
|
|
8
|
+
* bodySpacingMode prop 추가
|