pds-dev-kit-web 1.9.23 → 1.9.25
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/UIColor.json +2 -1
- package/dist/src/common/styles/colorSet/index.d.ts +3 -2
- package/dist/src/common/styles/colorSet/index.js +2 -2
- package/dist/src/common/styles/colorSet/ui-type.d.ts +1 -0
- package/dist/src/desktop/components/AdminList/AdminList.js +1 -1
- package/dist/src/desktop/components/BasicListItem/BasicListItem.d.ts +1 -0
- package/dist/src/desktop/components/BasicListItem/BasicListItem.js +10 -99
- package/dist/src/desktop/components/BasicListItem/Contents.d.ts +16 -0
- package/dist/src/desktop/components/BasicListItem/Contents.js +31 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/Badge.d.ts +7 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/Badge.js +27 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/Checkbox.d.ts +6 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/Checkbox.js +19 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/Icon.d.ts +8 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/Icon.js +19 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/Image.d.ts +8 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/Image.js +9 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/LeftBox.d.ts +17 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/LeftBox.js +42 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/Radio.d.ts +9 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/Radio.js +13 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/index.d.ts +2 -0
- package/dist/src/desktop/components/BasicListItem/LeftBox/index.js +8 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/Description.d.ts +8 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/Description.js +10 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.d.ts +9 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.js +19 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/MainButton.d.ts +9 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/MainButton.js +10 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/RightBox.d.ts +15 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/RightBox.js +40 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/Switch.d.ts +10 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/Switch.js +19 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/index.d.ts +2 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/index.js +8 -0
- package/dist/src/desktop/components/Radio/Radio.js +2 -2
- package/dist/src/mobile/components/BasicListItem/BasicListItem.d.ts +1 -0
- package/dist/src/mobile/components/BasicListItem/BasicListItem.js +10 -99
- package/dist/src/mobile/components/BasicListItem/Contents.d.ts +16 -0
- package/dist/src/mobile/components/BasicListItem/Contents.js +31 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/Badge.d.ts +7 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/Badge.js +27 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/Checkbox.d.ts +6 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/Checkbox.js +19 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/Icon.d.ts +8 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/Icon.js +19 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/Image.d.ts +8 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/Image.js +9 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/LeftBox.d.ts +17 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/LeftBox.js +42 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/Radio.d.ts +9 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/Radio.js +13 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/index.d.ts +2 -0
- package/dist/src/mobile/components/BasicListItem/LeftBox/index.js +8 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/Description.d.ts +8 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/Description.js +10 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.d.ts +9 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.js +19 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/MainButton.d.ts +9 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/MainButton.js +10 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/RightBox.d.ts +15 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/RightBox.js +40 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/Switch.d.ts +10 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/Switch.js +19 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/index.d.ts +2 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/index.js +8 -0
- package/package.json +4 -2
- package/release-note.md +8 -8
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { DescriptionPropTypes } from './Description';
|
|
3
|
+
import type { IconButtonPropTypes } from './IconButton';
|
|
4
|
+
import type { MainButtonPropTypes } from './MainButton';
|
|
5
|
+
import type { SwitchPropTypes } from './Switch';
|
|
6
|
+
declare type RightBoxPropTypes = React.FunctionComponent<{
|
|
7
|
+
hasFixedHeight: boolean;
|
|
8
|
+
}> & {
|
|
9
|
+
Description: React.FC<DescriptionPropTypes>;
|
|
10
|
+
IconButton: React.FC<IconButtonPropTypes>;
|
|
11
|
+
MainButton: React.FC<MainButtonPropTypes>;
|
|
12
|
+
Switch: React.FC<SwitchPropTypes>;
|
|
13
|
+
};
|
|
14
|
+
declare const RightBox: RightBoxPropTypes;
|
|
15
|
+
export default RightBox;
|
|
@@ -0,0 +1,40 @@
|
|
|
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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
|
+
};
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
22
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
23
|
+
var Description_1 = __importDefault(require("./Description"));
|
|
24
|
+
var IconButton_1 = __importDefault(require("./IconButton"));
|
|
25
|
+
var MainButton_1 = __importDefault(require("./MainButton"));
|
|
26
|
+
var Switch_1 = __importDefault(require("./Switch"));
|
|
27
|
+
var RightBox = function (_a) {
|
|
28
|
+
var children = _a.children, hasFixedHeight = _a.hasFixedHeight;
|
|
29
|
+
return ((0, jsx_runtime_1.jsx)(S_RightBox, __assign({ hasFixedHeight: hasFixedHeight }, { children: children }), void 0));
|
|
30
|
+
};
|
|
31
|
+
var S_RightBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n flex: 3;\n height: ", ";\n justify-content: flex-end;\n"], ["\n align-items: center;\n display: flex;\n flex: 3;\n height: ", ";\n justify-content: flex-end;\n"])), function (_a) {
|
|
32
|
+
var hasFixedHeight = _a.hasFixedHeight;
|
|
33
|
+
return (hasFixedHeight ? '40px' : 'auto');
|
|
34
|
+
});
|
|
35
|
+
RightBox.Description = Description_1.default;
|
|
36
|
+
RightBox.IconButton = IconButton_1.default;
|
|
37
|
+
RightBox.MainButton = MainButton_1.default;
|
|
38
|
+
RightBox.Switch = Switch_1.default;
|
|
39
|
+
exports.default = RightBox;
|
|
40
|
+
var templateObject_1;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { BasicListItemProps } from '../BasicListItem';
|
|
3
|
+
export declare type SwitchPropTypes = {
|
|
4
|
+
name: string;
|
|
5
|
+
state: BasicListItemProps['switchState'];
|
|
6
|
+
status: BasicListItemProps['switchStatus'];
|
|
7
|
+
onClick: BasicListItemProps['onClickSwitch'];
|
|
8
|
+
};
|
|
9
|
+
declare const Switch: React.FC<SwitchPropTypes>;
|
|
10
|
+
export default Switch;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
11
|
+
var components_1 = require("../../../../hybrid/components");
|
|
12
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
13
|
+
var Switch = function (_a) {
|
|
14
|
+
var name = _a.name, state = _a.state, status = _a.status, onClick = _a.onClick;
|
|
15
|
+
return ((0, jsx_runtime_1.jsxs)(S_SwitchWrapper, { children: [(0, jsx_runtime_1.jsx)(components_1.Switch, { name: name, state: state, status: status, onClick: onClick }, void 0), (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_c", spacingType: "width" }, void 0)] }, void 0));
|
|
16
|
+
};
|
|
17
|
+
var S_SwitchWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n justify-content: flex-end;\n min-height: 32px;\n min-width: 68px;\n position: relative;\n right: 0;\n"], ["\n display: flex;\n justify-content: flex-end;\n min-height: 32px;\n min-width: 68px;\n position: relative;\n right: 0;\n"])));
|
|
18
|
+
exports.default = Switch;
|
|
19
|
+
var templateObject_1;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.RightBox = void 0;
|
|
7
|
+
var RightBox_1 = __importDefault(require("./RightBox"));
|
|
8
|
+
exports.RightBox = RightBox_1.default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pds-dev-kit-web",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.25",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"web-vitals": "^1.1.2"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
|
-
"build": "rm -rf ./dist && tsc",
|
|
36
|
+
"build": "rm -rf ./dist && tsc && tsc-alias",
|
|
37
37
|
"prepare": "npm run build | husky install",
|
|
38
38
|
"sync:color": "dotenv -e env/.env node syncColor.ts",
|
|
39
39
|
"storybook": "start-storybook -p 6006",
|
|
@@ -109,6 +109,8 @@
|
|
|
109
109
|
"stylelint-order": "^4.1.0",
|
|
110
110
|
"stylelint-prettier": "^1.2.0",
|
|
111
111
|
"ts-loader": "^8.3.0",
|
|
112
|
+
"tsc-alias": "^1.8.3",
|
|
113
|
+
"tsconfig-paths": "^4.1.2",
|
|
112
114
|
"typescript": "^4.4.4",
|
|
113
115
|
"webpack": "^4.46.0",
|
|
114
116
|
"webpack-cli": "^4.9.0"
|
package/release-note.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# PDS-DEV-KIT-WEB Release Notes
|
|
2
|
-
## [v1.9.
|
|
2
|
+
## [v1.9.25]
|
|
3
|
+
|
|
4
|
+
### Package
|
|
5
|
+
* build 후에도 절대경로가 해석 될 수 있도록 조치
|
|
6
|
+
* tsc-alias 와 tsconfig-paths 설치
|
|
7
|
+
* build 명령어에 && tsc-alias 추가
|
|
8
|
+
* .eslintrc 파일에 설정 추가
|
|
3
9
|
|
|
4
|
-
### common
|
|
5
|
-
* animationStyle
|
|
6
|
-
* animation시에 부여되어있던 animation-fill-mode 옵션 제거 (DesktopAlertDialog, MobileAlertDialog, DesktopBasicModal, DesktopHeadlessModal, DesktopTutorialModal, MobileBasicModal에 영향)
|
|
7
|
-
### Layout
|
|
8
|
-
* WFA_3 생성
|
|
9
|
-
* WFA_4 생성
|
|
10
10
|
### Color
|
|
11
|
-
* 컬러 키 값 23.03.
|
|
11
|
+
* 컬러 키 값 23.03.17 18시 03분 기준 싱크
|