pds-dev-kit-web 1.4.26 → 1.4.29
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/GlobalStyle.js +1 -1
- package/dist/src/common/assets/icons/line/PostColumn.d.ts +4 -0
- package/dist/src/common/assets/icons/line/PostColumn.js +34 -0
- package/dist/src/common/assets/icons/line/index.d.ts +1 -0
- package/dist/src/common/assets/icons/line/index.js +2 -0
- package/dist/src/common/styles/colorSet/UIColor.json +2 -1
- package/dist/src/common/styles/colorSet/index.d.ts +1 -0
- package/dist/src/common/styles/colorSet/ui-type.d.ts +1 -0
- package/dist/src/desktop/components/BasicChatListItem/BasicChatListItem.d.ts +3 -3
- package/dist/src/desktop/components/BasicChatListItem/BasicChatListItem.js +30 -43
- package/dist/src/desktop/components/BasicChatListItem/Popup.d.ts +19 -0
- package/dist/src/desktop/components/BasicChatListItem/Popup.js +238 -0
- package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.d.ts +4 -1
- package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.js +4 -4
- package/dist/src/desktop/components/ChatList/Body.d.ts +2 -2
- package/dist/src/desktop/components/ChatList/Body.js +11 -12
- package/dist/src/desktop/components/ChatList/ChatList.d.ts +6 -5
- package/dist/src/desktop/components/ChatList/ChatList.js +6 -6
- package/dist/src/desktop/components/ChatList/Header.d.ts +2 -2
- package/dist/src/desktop/components/ChatList/Header.js +2 -2
- package/dist/src/desktop/components/Chip/Chip.js +12 -12
- package/dist/src/desktop/components/ContextMenu/ContextMenu.js +8 -2
- package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.js +4 -4
- package/dist/src/desktop/components/Dropdown/Dropdown.js +12 -5
- package/dist/src/desktop/components/MainButton/MainButton.js +5 -5
- package/dist/src/desktop/components/Select/Select.js +4 -1
- package/dist/src/desktop/components/StatusBlock/StatusBlock.js +11 -5
- package/dist/src/desktop/components/TextButton/TextButton.js +5 -5
- package/dist/src/desktop/components/UploadMainButton/UploadMainButton.js +5 -5
- package/dist/src/desktop/components/UploadTextButton/UploadTextButton.js +5 -5
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/ContentsContainer.d.ts +1 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/ContentsContainer.js +2 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSG.d.ts +1 -1
- package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSG.js +16 -10
- package/dist/src/desktop/layout/LayoutWS/ContainersBox/ContainersBox.d.ts +1 -1
- package/dist/src/mobile/components/BasicChatListItem/BasicChatListItem.d.ts +3 -3
- package/dist/src/mobile/components/BasicChatListItem/BasicChatListItem.js +30 -43
- package/dist/src/mobile/components/BasicChatListItem/Popup.d.ts +19 -0
- package/dist/src/mobile/components/BasicChatListItem/Popup.js +238 -0
- package/dist/src/mobile/components/BodyTextGroup/BodyTextGroup.d.ts +4 -1
- package/dist/src/mobile/components/BodyTextGroup/BodyTextGroup.js +4 -4
- package/dist/src/mobile/components/ChatList/Body.d.ts +2 -2
- package/dist/src/mobile/components/ChatList/Body.js +4 -3
- package/dist/src/mobile/components/ChatList/ChatList.d.ts +6 -5
- package/dist/src/mobile/components/ChatList/ChatList.js +7 -7
- package/dist/src/mobile/components/ChatList/Header.d.ts +2 -2
- package/dist/src/mobile/components/ChatList/Header.js +2 -2
- package/dist/src/mobile/components/Chip/Chip.js +12 -12
- package/dist/src/mobile/components/ContextMenu/ContextMenu.js +8 -2
- package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.js +4 -4
- package/dist/src/mobile/components/Dropdown/Dropdown.js +12 -5
- package/dist/src/mobile/components/MainButton/MainButton.js +5 -5
- package/dist/src/mobile/components/Select/Select.js +4 -1
- package/dist/src/mobile/components/StatusBlock/StatusBlock.js +4 -4
- package/dist/src/mobile/components/TextButton/TextButton.js +4 -4
- package/dist/src/mobile/components/UploadMainButton/UploadMainButton.js +5 -5
- package/dist/src/mobile/components/UploadTextButton/UploadTextButton.js +5 -5
- package/package.json +1 -1
- package/release-note.md +27 -3
|
@@ -6,8 +6,8 @@ export declare type Props = {
|
|
|
6
6
|
titleText?: PDSTextType;
|
|
7
7
|
captionText?: PDSTextType;
|
|
8
8
|
headerDisplayType?: 'none' | 'ibtn1';
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
headerIBtn1IconName?: FillIconNameKeys | LineIconNameKeys;
|
|
10
|
+
headerIBtn1IconFillType?: 'line' | 'fill';
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
textFieldState?: 'normal' | 'read_only' | 'disabled';
|
|
13
13
|
textFieldHintText?: PDSTextType;
|
|
@@ -15,9 +15,10 @@ export declare type Props = {
|
|
|
15
15
|
textFieldMaxLength?: number;
|
|
16
16
|
scrollVisibleType?: 'moving' | 'hidden' | 'visible';
|
|
17
17
|
footerChildren?: React.ReactNode;
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
submitIBtnState?: 'disabled' | 'normal';
|
|
19
|
+
bodyMBtnText?: PDSTextType;
|
|
20
20
|
onSubmit: (value: string) => void;
|
|
21
|
+
onClickHeaderIBtn1?: () => void;
|
|
21
22
|
};
|
|
22
|
-
declare function ChatList({ styleTheme, headerMode, titleText, captionText, headerDisplayType,
|
|
23
|
+
declare function ChatList({ styleTheme, headerMode, titleText, captionText, headerDisplayType, headerIBtn1IconName, headerIBtn1IconFillType, children, textFieldState, textFieldHintText, textFieldDefaultText, textFieldMaxLength, scrollVisibleType, footerChildren, submitIBtnState, bodyMBtnText, onSubmit, onClickHeaderIBtn1 }: Props): JSX.Element;
|
|
23
24
|
export default ChatList;
|
|
@@ -50,7 +50,7 @@ var baseBackgroundColors = {
|
|
|
50
50
|
transparent: 'ui_cpnt_list_base_area_translucent'
|
|
51
51
|
};
|
|
52
52
|
function ChatList(_a) {
|
|
53
|
-
var _b = _a.styleTheme, styleTheme = _b === void 0 ? 'solid' : _b, _c = _a.headerMode, headerMode = _c === void 0 ? 'use' : _c, titleText = _a.titleText, captionText = _a.captionText, _d = _a.headerDisplayType, headerDisplayType = _d === void 0 ? 'none' : _d, _e = _a.
|
|
53
|
+
var _b = _a.styleTheme, styleTheme = _b === void 0 ? 'solid' : _b, _c = _a.headerMode, headerMode = _c === void 0 ? 'use' : _c, titleText = _a.titleText, captionText = _a.captionText, _d = _a.headerDisplayType, headerDisplayType = _d === void 0 ? 'none' : _d, _e = _a.headerIBtn1IconName, headerIBtn1IconName = _e === void 0 ? 'ic_xmark' : _e, _f = _a.headerIBtn1IconFillType, headerIBtn1IconFillType = _f === void 0 ? 'line' : _f, children = _a.children, _g = _a.textFieldState, textFieldState = _g === void 0 ? 'normal' : _g, textFieldHintText = _a.textFieldHintText, textFieldDefaultText = _a.textFieldDefaultText, textFieldMaxLength = _a.textFieldMaxLength, _h = _a.scrollVisibleType, scrollVisibleType = _h === void 0 ? 'moving' : _h, footerChildren = _a.footerChildren, submitIBtnState = _a.submitIBtnState, bodyMBtnText = _a.bodyMBtnText, onSubmit = _a.onSubmit, onClickHeaderIBtn1 = _a.onClickHeaderIBtn1;
|
|
54
54
|
var methods = (0, react_hook_form_1.useForm)({
|
|
55
55
|
mode: 'onChange',
|
|
56
56
|
defaultValues: {
|
|
@@ -60,11 +60,11 @@ function ChatList(_a) {
|
|
|
60
60
|
var reset = methods.reset, handleSubmit = methods.handleSubmit, control = methods.control, _j = methods.formState, isSubmitted = _j.isSubmitted, isDirty = _j.isDirty, isValid = _j.isValid;
|
|
61
61
|
var inputValue = (0, react_hook_form_1.useWatch)({ name: 'chat', control: control });
|
|
62
62
|
var isSubmitButtonActive = (0, react_1.useMemo)(function () {
|
|
63
|
-
if (!
|
|
63
|
+
if (!submitIBtnState) {
|
|
64
64
|
return false;
|
|
65
65
|
}
|
|
66
|
-
return isDirty && isValid && inputValue.length > 0 &&
|
|
67
|
-
}, [isDirty, isValid, inputValue,
|
|
66
|
+
return isDirty && isValid && inputValue.length > 0 && submitIBtnState === 'normal';
|
|
67
|
+
}, [isDirty, isValid, inputValue, submitIBtnState]);
|
|
68
68
|
var handleSubmitChat = function (_a) {
|
|
69
69
|
var chat = _a.chat;
|
|
70
70
|
if (!chat || !isSubmitButtonActive) {
|
|
@@ -75,9 +75,9 @@ function ChatList(_a) {
|
|
|
75
75
|
};
|
|
76
76
|
return (react_1.default.createElement(S_ChatList, { backgroundColor: baseBackgroundColors[styleTheme], id: "chatList" },
|
|
77
77
|
headerMode === 'use' && (react_1.default.createElement(react_1.default.Fragment, null,
|
|
78
|
-
react_1.default.createElement(Header_1.default, { styleTheme: styleTheme, titleText: titleText, captionText: captionText, headerDisplayType: headerDisplayType,
|
|
78
|
+
react_1.default.createElement(Header_1.default, { styleTheme: styleTheme, titleText: titleText, captionText: captionText, headerDisplayType: headerDisplayType, headerIBtn1IconName: headerIBtn1IconName, headerIBtn1IconFillType: headerIBtn1IconFillType, onClickHeaderIBtn1: onClickHeaderIBtn1 }),
|
|
79
79
|
react_1.default.createElement(hybrid_1.Divider, null))),
|
|
80
|
-
react_1.default.createElement(Body_1.default, { scrollVisibleType: scrollVisibleType, isSubmitted: isSubmitted,
|
|
80
|
+
react_1.default.createElement(Body_1.default, { scrollVisibleType: scrollVisibleType, isSubmitted: isSubmitted, bodyMBtnText: bodyMBtnText }, children),
|
|
81
81
|
react_1.default.createElement(hybrid_1.Divider, null),
|
|
82
82
|
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_d" }),
|
|
83
83
|
react_1.default.createElement(react_hook_form_1.FormProvider, __assign({}, methods),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { Props as ChatListProps } from './ChatList';
|
|
3
|
-
declare type Props = Required<Pick<ChatListProps, 'styleTheme'>> & Pick<ChatListProps, 'titleText' | 'captionText' | 'headerDisplayType' | '
|
|
4
|
-
declare function Header({ styleTheme, titleText, captionText, headerDisplayType,
|
|
3
|
+
declare type Props = Required<Pick<ChatListProps, 'styleTheme'>> & Pick<ChatListProps, 'titleText' | 'captionText' | 'headerDisplayType' | 'headerIBtn1IconName' | 'headerIBtn1IconFillType' | 'onClickHeaderIBtn1'>;
|
|
4
|
+
declare function Header({ styleTheme, titleText, captionText, headerDisplayType, headerIBtn1IconName, headerIBtn1IconFillType, onClickHeaderIBtn1 }: Props): JSX.Element;
|
|
5
5
|
export default Header;
|
|
@@ -23,14 +23,14 @@ var iconColors = {
|
|
|
23
23
|
transparent: 'ui_cpnt_button_icon_white'
|
|
24
24
|
};
|
|
25
25
|
function Header(_a) {
|
|
26
|
-
var styleTheme = _a.styleTheme, titleText = _a.titleText, captionText = _a.captionText, headerDisplayType = _a.headerDisplayType,
|
|
26
|
+
var styleTheme = _a.styleTheme, titleText = _a.titleText, captionText = _a.captionText, headerDisplayType = _a.headerDisplayType, headerIBtn1IconName = _a.headerIBtn1IconName, headerIBtn1IconFillType = _a.headerIBtn1IconFillType, onClickHeaderIBtn1 = _a.onClickHeaderIBtn1;
|
|
27
27
|
return (react_1.default.createElement(S_HeaderContentWrapper, null,
|
|
28
28
|
react_1.default.createElement(S_HeaderLeftBox, null,
|
|
29
29
|
titleText && (react_1.default.createElement(TextLabel_1.TextLabel, { text: titleText, styleTheme: "body1Bold", colorTheme: titleTextColors[styleTheme] })),
|
|
30
30
|
captionText && (react_1.default.createElement(react_1.default.Fragment, null,
|
|
31
31
|
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_a" }),
|
|
32
32
|
react_1.default.createElement(TextLabel_1.TextLabel, { text: captionText, styleTheme: "caption1Regular", colorTheme: "sysTextSecondary", colorOverride: styleTheme === 'translucent' ? 'ui_cpnt_list_text_caption_02' : undefined })))),
|
|
33
|
-
headerDisplayType === 'ibtn1' &&
|
|
33
|
+
headerDisplayType === 'ibtn1' && headerIBtn1IconName && (react_1.default.createElement(IconButton_1.IconButton, { iconName: headerIBtn1IconName, baseSize: "large", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconColorKey: iconColors[styleTheme], iconSize: 24, iconFillType: headerIBtn1IconFillType, onClick: onClickHeaderIBtn1 }))));
|
|
34
34
|
}
|
|
35
35
|
var S_HeaderContentWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n padding-bottom: ", ";\n padding-left: ", ";\n padding-right: ", ";\n padding-top: ", ";\n"], ["\n align-items: center;\n display: flex;\n padding-bottom: ", ";\n padding-left: ", ";\n padding-right: ", ";\n padding-top: ", ";\n"])), function (_a) {
|
|
36
36
|
var theme = _a.theme;
|
|
@@ -60,35 +60,35 @@ function Chip(_a) {
|
|
|
60
60
|
!isActive && (react_1.default.createElement(react_1.default.Fragment, null,
|
|
61
61
|
react_1.default.createElement(Icon_1.Icon, { size: 16, fillType: "line", iconName: "ic_filter", colorKey: "ui_cpnt_chip_line_icon_01" }),
|
|
62
62
|
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_a", spacingType: "width" }))),
|
|
63
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption1Regular", singleLineMode: "use", colorTheme: isActive ? 'usrTextBrandOnPrimary' : 'sysTextPrimary', ellipsisMode: "use", lineLimit: 1 }),
|
|
63
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption1Regular", singleLineMode: "use", colorTheme: isActive ? 'usrTextBrandOnPrimary' : 'sysTextPrimary', ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" }),
|
|
64
64
|
isActive && (react_1.default.createElement(react_1.default.Fragment, null,
|
|
65
65
|
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_a", spacingType: "width" }),
|
|
66
66
|
react_1.default.createElement(Icon_1.Icon, { size: 12, fillType: "line", iconName: "ic_xmark", colorKey: "ui_cpnt_chip_fill_icon_active_01" })))));
|
|
67
67
|
case 'information':
|
|
68
68
|
return (react_1.default.createElement(S_InfoChip, { onClick: handleClickChip },
|
|
69
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption2Regular", singleLineMode: "use", colorTheme: "sysTextPrimary", ellipsisMode: "use", lineLimit: 1 })));
|
|
69
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption2Regular", singleLineMode: "use", colorTheme: "sysTextPrimary", ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" })));
|
|
70
70
|
case 'label':
|
|
71
71
|
return (react_1.default.createElement(S_LabelChip, { onClick: handleClickChip },
|
|
72
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption2Bold", singleLineMode: "use", colorTheme: "sysTextTertiary", ellipsisMode: "use", lineLimit: 1 })));
|
|
72
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption2Bold", singleLineMode: "use", colorTheme: "sysTextTertiary", ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" })));
|
|
73
73
|
case 'time':
|
|
74
74
|
return (react_1.default.createElement(S_TimeChip, { onClick: handleClickChip },
|
|
75
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption2Bold", singleLineMode: "use", colorTheme: "sysTextWhite", ellipsisMode: "use", lineLimit: 1 })));
|
|
75
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption2Bold", singleLineMode: "use", colorTheme: "sysTextWhite", ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" })));
|
|
76
76
|
case 'removable':
|
|
77
77
|
return (react_1.default.createElement(S_RemovableChip, { onClick: handleClickChip },
|
|
78
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption1Regular", singleLineMode: "use", colorTheme: "sysTextSecondary", ellipsisMode: "use", lineLimit: 1 }),
|
|
78
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption1Regular", singleLineMode: "use", colorTheme: "sysTextSecondary", ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" }),
|
|
79
79
|
react_1.default.createElement(S_XIconWrapper, { onClick: handleClickXMarkIcon },
|
|
80
80
|
react_1.default.createElement(Icon_1.Icon, { size: 12, iconName: "ic_xmark", fillType: "line", colorKey: "ui_cpnt_chip_fill_icon_inactive" }))));
|
|
81
81
|
default:
|
|
82
82
|
return (react_1.default.createElement(S_FilterSingleChip, { isActive: isActive, onClick: handleClickChip },
|
|
83
83
|
filterIconMode === 'left' && (react_1.default.createElement(S_FilterIconWrapper, null,
|
|
84
84
|
react_1.default.createElement(Icon_1.Icon, { fillType: iconFillType, iconName: iconName, size: 16, colorKey: isActive ? 'ui_cpnt_chip_fill_icon_active_01' : 'ui_cpnt_chip_line_icon_02' }))),
|
|
85
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption1Regular", singleLineMode: "use", colorTheme: isActive ? 'usrTextBrandOnPrimary' : 'sysTextSecondary', ellipsisMode: "use", lineLimit: 1 })));
|
|
85
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: "caption1Regular", singleLineMode: "use", colorTheme: isActive ? 'usrTextBrandOnPrimary' : 'sysTextSecondary', ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" })));
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
return react_1.default.createElement(S_ChipWrapper, null, chipType());
|
|
89
89
|
}
|
|
90
90
|
exports.default = Chip;
|
|
91
|
-
var S_CategoryChoiceChip = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: 16px;\n box-sizing: border-box;\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n height: 32px;\n padding-left: ", ";\n padding-right: ", ";\n cursor: pointer;\n\n &:hover {\n background-color: ", ";\n }\n ", ";\n"], ["\n border-radius: 16px;\n box-sizing: border-box;\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n height: 32px;\n padding-left: ", ";\n padding-right: ", ";\n cursor: pointer;\n\n &:hover {\n background-color: ", ";\n }\n ", ";\n"])), function (_a) {
|
|
91
|
+
var S_CategoryChoiceChip = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: 16px;\n box-sizing: border-box;\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n height: 32px;\n padding-left: ", ";\n padding-right: ", ";\n cursor: pointer;\n\n &:hover {\n background-color: ", ";\n }\n\n & > div {\n height: 32px;\n line-height: 32px;\n }\n\n ", ";\n"], ["\n border-radius: 16px;\n box-sizing: border-box;\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n height: 32px;\n padding-left: ", ";\n padding-right: ", ";\n cursor: pointer;\n\n &:hover {\n background-color: ", ";\n }\n\n & > div {\n height: 32px;\n line-height: 32px;\n }\n\n ", ";\n"])), function (_a) {
|
|
92
92
|
var theme = _a.theme, isActive = _a.isActive;
|
|
93
93
|
return isActive ? theme.ui_cpnt_chip_fill_base_active_01 : '';
|
|
94
94
|
}, function (_a) {
|
|
@@ -104,7 +104,7 @@ var S_CategoryChoiceChip = styled_components_1.default.div(templateObject_1 || (
|
|
|
104
104
|
var theme = _a.theme, isActive = _a.isActive;
|
|
105
105
|
return isActive ? '' : "border: 1px solid " + theme.ui_cpnt_chip_line_border_01;
|
|
106
106
|
});
|
|
107
|
-
var S_InfoChip = styled_components_1.default.span(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n border-radius: 12px;\n box-sizing: border-box;\n display: flex;\n height: 24px;\n padding-left: ", ";\n padding-right: ", ";\n"], ["\n align-items: center;\n background-color: ", ";\n border-radius: 12px;\n box-sizing: border-box;\n display: flex;\n height: 24px;\n padding-left: ", ";\n padding-right: ", ";\n"])), function (_a) {
|
|
107
|
+
var S_InfoChip = styled_components_1.default.span(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n border-radius: 12px;\n box-sizing: border-box;\n display: flex;\n height: 24px;\n padding-left: ", ";\n padding-right: ", ";\n\n & > div {\n height: 24px;\n line-height: 24px;\n }\n"], ["\n align-items: center;\n background-color: ", ";\n border-radius: 12px;\n box-sizing: border-box;\n display: flex;\n height: 24px;\n padding-left: ", ";\n padding-right: ", ";\n\n & > div {\n height: 24px;\n line-height: 24px;\n }\n"])), function (_a) {
|
|
108
108
|
var theme = _a.theme;
|
|
109
109
|
return theme.ui_cpnt_chip_fill_base_inactive;
|
|
110
110
|
}, function (_a) {
|
|
@@ -114,7 +114,7 @@ var S_InfoChip = styled_components_1.default.span(templateObject_2 || (templateO
|
|
|
114
114
|
var theme = _a.theme;
|
|
115
115
|
return theme.spacing.spacingC;
|
|
116
116
|
});
|
|
117
|
-
var S_RemovableChip = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: 16px;\n box-sizing: border-box;\n height: 32px;\n display: flex;\n align-items: center;\n justify-content: center;\n padding-left: ", ";\n padding-right: ", ";\n cursor: pointer;\n"], ["\n background-color: ", ";\n border-radius: 16px;\n box-sizing: border-box;\n height: 32px;\n display: flex;\n align-items: center;\n justify-content: center;\n padding-left: ", ";\n padding-right: ", ";\n cursor: pointer;\n"])), function (_a) {
|
|
117
|
+
var S_RemovableChip = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: 16px;\n box-sizing: border-box;\n height: 32px;\n display: flex;\n align-items: center;\n justify-content: center;\n padding-left: ", ";\n padding-right: ", ";\n cursor: pointer;\n\n & > div {\n height: 32px;\n line-height: 32px;\n }\n"], ["\n background-color: ", ";\n border-radius: 16px;\n box-sizing: border-box;\n height: 32px;\n display: flex;\n align-items: center;\n justify-content: center;\n padding-left: ", ";\n padding-right: ", ";\n cursor: pointer;\n\n & > div {\n height: 32px;\n line-height: 32px;\n }\n"])), function (_a) {
|
|
118
118
|
var theme = _a.theme;
|
|
119
119
|
return theme.ui_cpnt_chip_fill_base_inactive;
|
|
120
120
|
}, function (_a) {
|
|
@@ -128,7 +128,7 @@ var S_XIconWrapper = styled_components_1.default.div(templateObject_4 || (templa
|
|
|
128
128
|
var theme = _a.theme;
|
|
129
129
|
return theme.spacing.spacingB;
|
|
130
130
|
});
|
|
131
|
-
var S_FilterSingleChip = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: 16px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 32px;\n padding-left: ", ";\n padding-right: ", ";\n cursor: pointer;\n"], ["\n background-color: ", ";\n border-radius: 16px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 32px;\n padding-left: ", ";\n padding-right: ", ";\n cursor: pointer;\n"])), function (_a) {
|
|
131
|
+
var S_FilterSingleChip = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: 16px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 32px;\n padding-left: ", ";\n padding-right: ", ";\n cursor: pointer;\n\n & > div {\n height: 32px;\n line-height: 32px;\n }\n"], ["\n background-color: ", ";\n border-radius: 16px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 32px;\n padding-left: ", ";\n padding-right: ", ";\n cursor: pointer;\n\n & > div {\n height: 32px;\n line-height: 32px;\n }\n"])), function (_a) {
|
|
132
132
|
var theme = _a.theme, isActive = _a.isActive;
|
|
133
133
|
return isActive ? theme.ui_cpnt_chip_fill_base_active_01 : theme.ui_cpnt_chip_fill_base_inactive;
|
|
134
134
|
}, function (_a) {
|
|
@@ -142,14 +142,14 @@ var S_FilterIconWrapper = styled_components_1.default.div(templateObject_6 || (t
|
|
|
142
142
|
var theme = _a.theme;
|
|
143
143
|
return theme.spacing.spacingA;
|
|
144
144
|
});
|
|
145
|
-
var S_LabelChip = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n border: 1px solid ", ";\n border-radius: 10px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 20px;\n padding: 0 ", ";\n"], ["\n border: 1px solid ", ";\n border-radius: 10px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 20px;\n padding: 0 ", ";\n"])), function (_a) {
|
|
145
|
+
var S_LabelChip = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n border: 1px solid ", ";\n border-radius: 10px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 20px;\n padding: 0 ", ";\n\n & > div {\n height: 20px;\n line-height: 20px;\n }\n"], ["\n border: 1px solid ", ";\n border-radius: 10px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 20px;\n padding: 0 ", ";\n\n & > div {\n height: 20px;\n line-height: 20px;\n }\n"])), function (_a) {
|
|
146
146
|
var theme = _a.theme;
|
|
147
147
|
return theme.ui_cpnt_chip_line_border_01;
|
|
148
148
|
}, function (_a) {
|
|
149
149
|
var theme = _a.theme;
|
|
150
150
|
return theme.spacing.spacingB;
|
|
151
151
|
});
|
|
152
|
-
var S_TimeChip = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: 10px;\n box-sizing: border-box;\n height: 20px;\n padding: 0 ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n background-color: ", ";\n border-radius: 10px;\n box-sizing: border-box;\n height: 20px;\n padding: 0 ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_a) {
|
|
152
|
+
var S_TimeChip = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: 10px;\n box-sizing: border-box;\n height: 20px;\n padding: 0 ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n\n & > div {\n height: 20px;\n line-height: 20px;\n }\n"], ["\n background-color: ", ";\n border-radius: 10px;\n box-sizing: border-box;\n height: 20px;\n padding: 0 ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n\n & > div {\n height: 20px;\n line-height: 20px;\n }\n"])), function (_a) {
|
|
153
153
|
var theme = _a.theme;
|
|
154
154
|
return theme.ui_cpnt_chip_base_playtime;
|
|
155
155
|
}, function (_a) {
|
|
@@ -26,8 +26,14 @@ var S_ContextMenu = styled_components_1.default.ul(templateObject_1 || (template
|
|
|
26
26
|
var theme = _a.theme;
|
|
27
27
|
return theme.spacing.spacingB;
|
|
28
28
|
}, function (_a) {
|
|
29
|
-
var autoWidth = _a.autoWidth;
|
|
30
|
-
|
|
29
|
+
var autoWidth = _a.autoWidth, customWidth = _a.customWidth;
|
|
30
|
+
if (autoWidth) {
|
|
31
|
+
return 'inherit';
|
|
32
|
+
}
|
|
33
|
+
if (customWidth) {
|
|
34
|
+
return 'auto';
|
|
35
|
+
}
|
|
36
|
+
return 'max-content';
|
|
31
37
|
}, function (_a) {
|
|
32
38
|
var maxHeight = _a.maxHeight;
|
|
33
39
|
return (maxHeight ? maxHeight + "px" : 'none');
|
|
@@ -53,17 +53,17 @@ function ContextMenuItem(_a) {
|
|
|
53
53
|
textColorTheme = 'sysTextTertiary';
|
|
54
54
|
}
|
|
55
55
|
return (react_1.default.createElement(S_ContextMenuItem, { size: size, onClick: handleClick, selected: isSelected, disabled: state === 'disabled' },
|
|
56
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: (option === null || option === void 0 ? void 0 : option.text) || text, styleTheme: "form2Regular", singleLineMode: "use", colorTheme: textColorTheme })));
|
|
56
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: (option === null || option === void 0 ? void 0 : option.text) || text, styleTheme: "form2Regular", singleLineMode: "use", colorTheme: textColorTheme, ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" })));
|
|
57
57
|
}
|
|
58
|
-
var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 48px;\n padding: 0 ", ";\n"], ["\n height: 48px;\n padding: 0 ", ";\n"])), function (_a) {
|
|
58
|
+
var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 48px;\n padding: 0 ", ";\n\n & > div {\n height: 48px;\n line-height: 48px;\n }\n"], ["\n height: 48px;\n padding: 0 ", ";\n\n & > div {\n height: 48px;\n line-height: 48px;\n }\n"])), function (_a) {
|
|
59
59
|
var theme = _a.theme;
|
|
60
60
|
return theme.spacing.spacingE;
|
|
61
61
|
});
|
|
62
|
-
var medium = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: 40px;\n padding: 0 ", ";\n"], ["\n height: 40px;\n padding: 0 ", ";\n"])), function (_a) {
|
|
62
|
+
var medium = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: 40px;\n padding: 0 ", ";\n\n & > div {\n height: 40px;\n line-height: 40px;\n }\n"], ["\n height: 40px;\n padding: 0 ", ";\n\n & > div {\n height: 40px;\n line-height: 40px;\n }\n"])), function (_a) {
|
|
63
63
|
var theme = _a.theme;
|
|
64
64
|
return theme.spacing.spacingD;
|
|
65
65
|
});
|
|
66
|
-
var small = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n height: 32px;\n padding: 0 ", ";\n"], ["\n height: 32px;\n padding: 0 ", ";\n"])), function (_a) {
|
|
66
|
+
var small = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n height: 32px;\n padding: 0 ", ";\n\n & > div {\n height: 32px;\n line-height: 32px;\n }\n"], ["\n height: 32px;\n padding: 0 ", ";\n\n & > div {\n height: 32px;\n line-height: 32px;\n }\n"])), function (_a) {
|
|
67
67
|
var theme = _a.theme;
|
|
68
68
|
return theme.spacing.spacingD;
|
|
69
69
|
});
|
|
@@ -150,26 +150,33 @@ function Dropdown(_a) {
|
|
|
150
150
|
}, [size, maxHeightItemNumber]);
|
|
151
151
|
return (react_1.default.createElement(S_Dropdown, { className: "container", size: size, tabIndex: 0, onBlur: handleBlur, responsiveMode: responsiveMode, customWidth: customWidth },
|
|
152
152
|
react_1.default.createElement(S_Select, { size: size, onClick: handleClick, isFocused: isFocused, state: state, colorTheme: colorTheme, responsiveMode: responsiveMode, customWidth: customWidth },
|
|
153
|
-
react_1.default.createElement(S_TextLabel,
|
|
154
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.text) || hintText, styleTheme: "form2Regular", singleLineMode: "use", colorTheme: getTextColorTheme(), colorOverride: getTextColorOverride() })),
|
|
153
|
+
react_1.default.createElement(S_TextLabel, { size: size },
|
|
154
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.text) || hintText, styleTheme: "form2Regular", singleLineMode: "use", colorTheme: getTextColorTheme(), colorOverride: getTextColorOverride(), ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" })),
|
|
155
155
|
react_1.default.createElement(hybrid_1.Icon, { size: 16, fillType: "line", iconName: isFocused ? 'ic_arrow_up' : 'ic_arrow_down', colorKey: getIconColorKey() }),
|
|
156
156
|
react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_d", spacingType: "width" })),
|
|
157
157
|
isFocused && (react_1.default.createElement(S_ContextMenuWrapper, null,
|
|
158
158
|
react_1.default.createElement(ContextMenu_1.ContextMenu, { autoWidthMode: "use", maxHeight: maxHeight, customWidth: customWidth }, valueArray.map(function (el) { return (react_1.default.createElement(react_1.Fragment, { key: el.value },
|
|
159
159
|
react_1.default.createElement(ContextMenuItem_1.ContextMenuItem, { option: el, size: size, isSelected: (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.value) === el.value, onClick: handleClickOption, state: el.state }))); }))))));
|
|
160
160
|
}
|
|
161
|
-
var S_TextLabel = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n flex: 1;\n padding-left: ", ";\n padding-right: ", ";\n"], ["\n flex: 1;\n padding-left: ", ";\n padding-right: ", ";\n"])), function (_a) {
|
|
161
|
+
var S_TextLabel = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n flex: 1;\n padding-left: ", ";\n padding-right: ", ";\n\n ", ";\n"], ["\n flex: 1;\n padding-left: ", ";\n padding-right: ", ";\n\n ", ";\n"])), function (_a) {
|
|
162
162
|
var theme = _a.theme;
|
|
163
163
|
return theme.spacing.spacingD;
|
|
164
164
|
}, function (_a) {
|
|
165
165
|
var theme = _a.theme;
|
|
166
166
|
return theme.spacing.spacingB;
|
|
167
|
+
}, function (_a) {
|
|
168
|
+
var size = _a.size;
|
|
169
|
+
return size &&
|
|
170
|
+
{
|
|
171
|
+
large: large,
|
|
172
|
+
small: small
|
|
173
|
+
}[size];
|
|
167
174
|
});
|
|
168
|
-
var large = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: 48px;\n width: ", ";\n"], ["\n height: 48px;\n width: ", ";\n"])), function (_a) {
|
|
175
|
+
var large = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: 48px;\n width: ", ";\n\n & > div {\n height: 48px;\n line-height: 48px;\n }\n"], ["\n height: 48px;\n width: ", ";\n\n & > div {\n height: 48px;\n line-height: 48px;\n }\n"])), function (_a) {
|
|
169
176
|
var responsiveMode = _a.responsiveMode;
|
|
170
177
|
return (responsiveMode === 'use' ? '100%' : '432px');
|
|
171
178
|
});
|
|
172
|
-
var small = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n border-radius: 10px;\n height: 32px;\n width: ", ";\n"], ["\n border-radius: 10px;\n height: 32px;\n width: ", ";\n"])), function (_a) {
|
|
179
|
+
var small = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n border-radius: 10px;\n height: 32px;\n width: ", ";\n\n & > div {\n height: 32px;\n line-height: 32px;\n }\n"], ["\n border-radius: 10px;\n height: 32px;\n width: ", ";\n\n & > div {\n height: 32px;\n line-height: 32px;\n }\n"])), function (_a) {
|
|
173
180
|
var responsiveMode = _a.responsiveMode;
|
|
174
181
|
return (responsiveMode === 'use' ? '100%' : '188px');
|
|
175
182
|
});
|
|
@@ -117,12 +117,12 @@ function MainButton(_a) {
|
|
|
117
117
|
size !== 'xsmall' && iconMode === 'left' && (react_1.default.createElement(react_1.default.Fragment, null,
|
|
118
118
|
react_1.default.createElement(hybrid_1.Icon, { iconName: iconName, size: size === 'large' || size === 'rlarge' ? 20 : 16, colorKey: iconColor(), fillType: iconFillType }),
|
|
119
119
|
react_1.default.createElement(hybrid_1.Spacing, { size: size === 'large' || size === 'rlarge' ? 'spacing_b' : 'spacing_a', spacingType: "width" }))),
|
|
120
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: textStyle[size], singleLineMode: "use", colorTheme: state === 'disabled' ? 'sysTextTertiary' : textColor(), colorOverride: selectTextThemeColor() }),
|
|
120
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: textStyle[size], singleLineMode: "use", colorTheme: state === 'disabled' ? 'sysTextTertiary' : textColor(), colorOverride: selectTextThemeColor(), ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" }),
|
|
121
121
|
size !== 'xsmall' && iconMode === 'right' && (react_1.default.createElement(react_1.default.Fragment, null,
|
|
122
122
|
react_1.default.createElement(hybrid_1.Spacing, { size: size === 'large' || size === 'rlarge' ? 'spacing_b' : 'spacing_a', spacingType: "width" }),
|
|
123
123
|
react_1.default.createElement(hybrid_1.Icon, { iconName: iconName, size: size === 'large' || size === 'rlarge' ? 20 : 16, colorKey: iconColor(), fillType: iconFillType })))));
|
|
124
124
|
}
|
|
125
|
-
var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 48px;\n min-width: 96px;\n padding: 0 ", ";\n ", "\n ", ";\n"], ["\n height: 48px;\n min-width: 96px;\n padding: 0 ", ";\n ", "\n ", ";\n"])), function (_a) {
|
|
125
|
+
var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 48px;\n min-width: 96px;\n padding: 0 ", ";\n ", "\n ", ";\n\n & > div {\n height: 48px;\n line-height: 48px;\n }\n"], ["\n height: 48px;\n min-width: 96px;\n padding: 0 ", ";\n ", "\n ", ";\n\n & > div {\n height: 48px;\n line-height: 48px;\n }\n"])), function (_a) {
|
|
126
126
|
var theme = _a.theme;
|
|
127
127
|
return theme.spacing.spacingE;
|
|
128
128
|
}, function (_a) {
|
|
@@ -132,21 +132,21 @@ var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 =
|
|
|
132
132
|
var size = _a.size;
|
|
133
133
|
return size === 'rlarge' && 'width: 100%';
|
|
134
134
|
});
|
|
135
|
-
var medium = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: 40px;\n min-width: 64px;\n padding: 0 ", ";\n ", "\n"], ["\n height: 40px;\n min-width: 64px;\n padding: 0 ", ";\n ", "\n"])), function (_a) {
|
|
135
|
+
var medium = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: 40px;\n min-width: 64px;\n padding: 0 ", ";\n ", "\n\n & > div {\n height: 40px;\n line-height: 40px;\n }\n"], ["\n height: 40px;\n min-width: 64px;\n padding: 0 ", ";\n ", "\n\n & > div {\n height: 40px;\n line-height: 40px;\n }\n"])), function (_a) {
|
|
136
136
|
var theme = _a.theme;
|
|
137
137
|
return theme.spacing.spacingE;
|
|
138
138
|
}, function (_a) {
|
|
139
139
|
var shapeType = _a.shapeType;
|
|
140
140
|
return shapeType === 'round' && 'border-radius: 14px;';
|
|
141
141
|
});
|
|
142
|
-
var small = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n height: 32px;\n min-width: 48px;\n padding: 0 ", ";\n ", "\n"], ["\n height: 32px;\n min-width: 48px;\n padding: 0 ", ";\n ", "\n"])), function (_a) {
|
|
142
|
+
var small = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n height: 32px;\n min-width: 48px;\n padding: 0 ", ";\n ", "\n\n & > div {\n height: 32px;\n line-height: 32px;\n }\n"], ["\n height: 32px;\n min-width: 48px;\n padding: 0 ", ";\n ", "\n\n & > div {\n height: 32px;\n line-height: 32px;\n }\n"])), function (_a) {
|
|
143
143
|
var theme = _a.theme;
|
|
144
144
|
return theme.spacing.spacingD;
|
|
145
145
|
}, function (_a) {
|
|
146
146
|
var shapeType = _a.shapeType;
|
|
147
147
|
return shapeType === 'round' && 'border-radius: 10px;';
|
|
148
148
|
});
|
|
149
|
-
var xsmall = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: 24px;\n min-width: 48px;\n padding: 0 ", ";\n ", "\n"], ["\n height: 24px;\n min-width: 48px;\n padding: 0 ", ";\n ", "\n"])), function (_a) {
|
|
149
|
+
var xsmall = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: 24px;\n min-width: 48px;\n padding: 0 ", ";\n ", "\n\n & > div {\n height: 24px;\n line-height: 24px;\n }\n"], ["\n height: 24px;\n min-width: 48px;\n padding: 0 ", ";\n ", "\n\n & > div {\n height: 24px;\n line-height: 24px;\n }\n"])), function (_a) {
|
|
150
150
|
var theme = _a.theme;
|
|
151
151
|
return theme.spacing.spacingD;
|
|
152
152
|
}, function (_a) {
|
|
@@ -112,7 +112,7 @@ var S_Icon_Wrapper = styled_components_1.default.div(templateObject_7 || (templa
|
|
|
112
112
|
var theme = _a.theme;
|
|
113
113
|
return theme.spacing.spacingD;
|
|
114
114
|
});
|
|
115
|
-
var S_Select = styled_components_1.default.select(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n appearance: none;\n background-color: ", ";\n border: 2px solid ", ";\n border-radius: ", ";\n box-sizing: border-box;\n cursor: pointer;\n color: ", ";\n font-family: inherit;\n font-size: ", ";\n height: 100%;\n padding-left: ", ";\n width: 100%;\n\n :disabled {\n background-color: ", ";\n border: 2px solid ", ";\n color: ", ";\n cursor: ", ";\n opacity: 1;\n }\n\n :focus {\n border: 2px solid ", " !important;\n color: ", ";\n outline: 0 !important;\n outline-offset: 0 !important;\n }\n\n ", "\n"], ["\n appearance: none;\n background-color: ", ";\n border: 2px solid ", ";\n border-radius: ", ";\n box-sizing: border-box;\n cursor: pointer;\n color: ", ";\n font-family: inherit;\n font-size: ", ";\n height: 100%;\n padding-left: ", ";\n width: 100%;\n\n :disabled {\n background-color: ", ";\n border: 2px solid ", ";\n color: ", ";\n cursor: ", ";\n opacity: 1;\n }\n\n :focus {\n border: 2px solid ", " !important;\n color: ", ";\n outline: 0 !important;\n outline-offset: 0 !important;\n }\n\n ", "\n"])), function (_a) {
|
|
115
|
+
var S_Select = styled_components_1.default.select(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n appearance: none;\n background-color: ", ";\n border: 2px solid ", ";\n border-radius: ", ";\n box-sizing: border-box;\n cursor: pointer;\n color: ", ";\n font-family: inherit;\n font-size: ", ";\n height: 100%;\n padding-left: ", ";\n padding-right: ", ";\n width: 100%;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: break-all;\n\n :disabled {\n background-color: ", ";\n border: 2px solid ", ";\n color: ", ";\n cursor: ", ";\n opacity: 1;\n }\n\n :focus {\n border: 2px solid ", " !important;\n color: ", ";\n outline: 0 !important;\n outline-offset: 0 !important;\n }\n\n ", "\n"], ["\n appearance: none;\n background-color: ", ";\n border: 2px solid ", ";\n border-radius: ", ";\n box-sizing: border-box;\n cursor: pointer;\n color: ", ";\n font-family: inherit;\n font-size: ", ";\n height: 100%;\n padding-left: ", ";\n padding-right: ", ";\n width: 100%;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: break-all;\n\n :disabled {\n background-color: ", ";\n border: 2px solid ", ";\n color: ", ";\n cursor: ", ";\n opacity: 1;\n }\n\n :focus {\n border: 2px solid ", " !important;\n color: ", ";\n outline: 0 !important;\n outline-offset: 0 !important;\n }\n\n ", "\n"])), function (_a) {
|
|
116
116
|
var theme = _a.theme;
|
|
117
117
|
return theme.ui_cpnt_select_base_normal;
|
|
118
118
|
}, function (_a) {
|
|
@@ -130,6 +130,9 @@ var S_Select = styled_components_1.default.select(templateObject_8 || (templateO
|
|
|
130
130
|
}, function (_a) {
|
|
131
131
|
var theme = _a.theme;
|
|
132
132
|
return theme.spacing.spacingD;
|
|
133
|
+
}, function (_a) {
|
|
134
|
+
var theme = _a.theme;
|
|
135
|
+
return theme.spacing.spacingF;
|
|
133
136
|
}, function (_a) {
|
|
134
137
|
var theme = _a.theme;
|
|
135
138
|
return theme.ui_cpnt_select_base_disabled;
|
|
@@ -37,11 +37,11 @@ function StatusBlock(_a) {
|
|
|
37
37
|
small: 'body2Bold'
|
|
38
38
|
};
|
|
39
39
|
return (react_1.default.createElement(S_StatusBlock, { size: size, state: state, "$width": width },
|
|
40
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: textLabelStyleThemeObj[size], textAlign: "center", singleLineMode: "use", colorTheme: "sysTextWhite" })));
|
|
40
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: textLabelStyleThemeObj[size], textAlign: "center", singleLineMode: "use", colorTheme: "sysTextWhite", ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" })));
|
|
41
41
|
}
|
|
42
|
-
var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: 14px;\n height: 48px;\n"], ["\n border-radius: 14px;\n height: 48px;\n"])));
|
|
43
|
-
var medium = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n border-radius: 14px;\n height: 40px;\n"], ["\n border-radius: 14px;\n height: 40px;\n"])));
|
|
44
|
-
var small = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n border-radius: 10px;\n height: 32px;\n"], ["\n border-radius: 10px;\n height: 32px;\n"])));
|
|
42
|
+
var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: 14px;\n height: 48px;\n\n & > div {\n height: 48px;\n line-height: 48px;\n }\n"], ["\n border-radius: 14px;\n height: 48px;\n\n & > div {\n height: 48px;\n line-height: 48px;\n }\n"])));
|
|
43
|
+
var medium = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n border-radius: 14px;\n height: 40px;\n\n & > div {\n height: 40px;\n line-height: 40px;\n }\n"], ["\n border-radius: 14px;\n height: 40px;\n\n & > div {\n height: 40px;\n line-height: 40px;\n }\n"])));
|
|
44
|
+
var small = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n border-radius: 10px;\n height: 32px;\n\n & > div {\n height: 32px;\n line-height: 32px;\n }\n"], ["\n border-radius: 10px;\n height: 32px;\n\n & > div {\n height: 32px;\n line-height: 32px;\n }\n"])));
|
|
45
45
|
var basic = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
|
|
46
46
|
var theme = _a.theme;
|
|
47
47
|
return theme.ui_cpnt_statusblock_basic;
|
|
@@ -66,7 +66,13 @@ var error = (0, styled_components_1.css)(templateObject_9 || (templateObject_9 =
|
|
|
66
66
|
var theme = _a.theme;
|
|
67
67
|
return theme.ui_cpnt_statusblock_error;
|
|
68
68
|
});
|
|
69
|
-
var S_StatusBlock = styled_components_1.default.div(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n width: ", ";\n\n ", "\n ", ";\n\n & > div {\n width: 100%;\n }\n"], ["\n align-items: center;\n display: flex;\n width: ", ";\n\n ", "\n ", ";\n\n & > div {\n width: 100%;\n }\n"])), function (_a) {
|
|
69
|
+
var S_StatusBlock = styled_components_1.default.div(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n align-items: center;\n box-sizing: border-box;\n display: flex;\n padding-left: ", ";\n padding-right: ", ";\n width: ", ";\n\n ", "\n ", ";\n\n & > div {\n width: 100%;\n }\n"], ["\n align-items: center;\n box-sizing: border-box;\n display: flex;\n padding-left: ", ";\n padding-right: ", ";\n width: ", ";\n\n ", "\n ", ";\n\n & > div {\n width: 100%;\n }\n"])), function (_a) {
|
|
70
|
+
var theme = _a.theme;
|
|
71
|
+
return theme.spacing.spacingD;
|
|
72
|
+
}, function (_a) {
|
|
73
|
+
var theme = _a.theme;
|
|
74
|
+
return theme.spacing.spacingD;
|
|
75
|
+
}, function (_a) {
|
|
70
76
|
var $width = _a.$width;
|
|
71
77
|
return ($width === 'responsive' ? '100%' : $width + "px");
|
|
72
78
|
}, function (_a) {
|
|
@@ -72,15 +72,15 @@ function TextButton(_a) {
|
|
|
72
72
|
}
|
|
73
73
|
};
|
|
74
74
|
return (react_1.default.createElement(S_Button, __assign({}, rest, { size: size, responsiveMode: responsiveMode, onClick: handleClick, type: type, fontWeight: fontWeight, disabled: state === 'disabled', state: state, colorTheme: colorTheme }),
|
|
75
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: textStyle[size], colorTheme: state === 'disabled' ? 'sysTextTertiary' : textColor[colorTheme], singleLineMode: "use" })));
|
|
75
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: textStyle[size], colorTheme: state === 'disabled' ? 'sysTextTertiary' : textColor[colorTheme], singleLineMode: "use", ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" })));
|
|
76
76
|
}
|
|
77
|
-
var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: 14px;\n height: 48px;\n ", ";\n"], ["\n border-radius: 14px;\n height: 48px;\n ", ";\n"])), function (_a) {
|
|
77
|
+
var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: 14px;\n height: 48px;\n ", ";\n\n & > div {\n height: 48px;\n line-height: 48px;\n }\n"], ["\n border-radius: 14px;\n height: 48px;\n ", ";\n\n & > div {\n height: 48px;\n line-height: 48px;\n }\n"])), function (_a) {
|
|
78
78
|
var size = _a.size;
|
|
79
79
|
return size === 'rlarge' && 'width: 100%';
|
|
80
80
|
});
|
|
81
|
-
var medium = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n border-radius: 14px;\n height: 40px;\n"], ["\n border-radius: 14px;\n height: 40px;\n"])));
|
|
82
|
-
var small = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n border-radius: 10px;\n height: 32px;\n"], ["\n border-radius: 10px;\n height: 32px;\n"])));
|
|
83
|
-
var xsmall = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n border-radius: 8px;\n height: 24px;\n"], ["\n border-radius: 8px;\n height: 24px;\n"])));
|
|
81
|
+
var medium = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n border-radius: 14px;\n height: 40px;\n\n & > div {\n height: 40px;\n line-height: 40px;\n }\n"], ["\n border-radius: 14px;\n height: 40px;\n\n & > div {\n height: 40px;\n line-height: 40px;\n }\n"])));
|
|
82
|
+
var small = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n border-radius: 10px;\n height: 32px;\n\n & > div {\n height: 32px;\n line-height: 32px;\n }\n"], ["\n border-radius: 10px;\n height: 32px;\n\n & > div {\n height: 32px;\n line-height: 32px;\n }\n"])));
|
|
83
|
+
var xsmall = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n border-radius: 8px;\n height: 24px;\n\n & > div {\n height: 24px;\n line-height: 24px;\n }\n"], ["\n border-radius: 8px;\n height: 24px;\n\n & > div {\n height: 24px;\n line-height: 24px;\n }\n"])));
|
|
84
84
|
var S_Button = styled_components_1.default.button(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n align-items: center;\n background-color: transparent;\n border: none;\n box-sizing: border-box;\n cursor: ", ";\n display: flex;\n justify-content: center;\n padding-left: 8px;\n padding-right: 8px;\n\n &:hover:enabled {\n background-color: ", ";\n }\n &:active:enabled {\n background-color: ", ";\n }\n ", ";\n\n & > div {\n ", ";\n }\n ", ";\n"], ["\n align-items: center;\n background-color: transparent;\n border: none;\n box-sizing: border-box;\n cursor: ", ";\n display: flex;\n justify-content: center;\n padding-left: 8px;\n padding-right: 8px;\n\n &:hover:enabled {\n background-color: ", ";\n }\n &:active:enabled {\n background-color: ", ";\n }\n ", ";\n\n & > div {\n ", ";\n }\n ", ";\n"])), function (_a) {
|
|
85
85
|
var state = _a.state;
|
|
86
86
|
return (state === 'normal' ? 'pointer' : 'default');
|
|
@@ -84,12 +84,12 @@ function UploadMainButton(_a) {
|
|
|
84
84
|
size !== 'xsmall' && iconMode === 'left' && (react_1.default.createElement(react_1.default.Fragment, null,
|
|
85
85
|
react_1.default.createElement(hybrid_1.Icon, { iconName: iconName, size: size === 'large' || size === 'rlarge' ? 20 : 16, colorKey: iconColor(), fillType: iconFillType }),
|
|
86
86
|
react_1.default.createElement(hybrid_1.Spacing, { size: size === 'large' || size === 'rlarge' ? 'spacing_b' : 'spacing_a', spacingType: "width" }))),
|
|
87
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: types_1.textStyles[size], singleLineMode: "use", colorTheme: state === 'disabled' ? 'sysTextTertiary' : textColor(), colorOverride: selectTextThemeColor() }),
|
|
87
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: types_1.textStyles[size], singleLineMode: "use", colorTheme: state === 'disabled' ? 'sysTextTertiary' : textColor(), colorOverride: selectTextThemeColor(), ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" }),
|
|
88
88
|
size !== 'xsmall' && iconMode === 'right' && (react_1.default.createElement(react_1.default.Fragment, null,
|
|
89
89
|
react_1.default.createElement(hybrid_1.Spacing, { size: size === 'large' || size === 'rlarge' ? 'spacing_b' : 'spacing_a', spacingType: "width" }),
|
|
90
90
|
react_1.default.createElement(hybrid_1.Icon, { iconName: iconName, size: size === 'large' || size === 'rlarge' ? 20 : 16, colorKey: iconColor(), fillType: iconFillType })))));
|
|
91
91
|
}
|
|
92
|
-
var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 48px;\n min-width: 96px;\n padding: 0 ", ";\n ", "\n ", ";\n"], ["\n height: 48px;\n min-width: 96px;\n padding: 0 ", ";\n ", "\n ", ";\n"])), function (_a) {
|
|
92
|
+
var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 48px;\n min-width: 96px;\n padding: 0 ", ";\n ", "\n ", ";\n\n & > div {\n height: 48px;\n line-height: 48px;\n }\n"], ["\n height: 48px;\n min-width: 96px;\n padding: 0 ", ";\n ", "\n ", ";\n\n & > div {\n height: 48px;\n line-height: 48px;\n }\n"])), function (_a) {
|
|
93
93
|
var theme = _a.theme;
|
|
94
94
|
return theme.spacing.spacingE;
|
|
95
95
|
}, function (_a) {
|
|
@@ -99,21 +99,21 @@ var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 =
|
|
|
99
99
|
var size = _a.size;
|
|
100
100
|
return size === 'rlarge' && 'width: 100%';
|
|
101
101
|
});
|
|
102
|
-
var medium = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: 40px;\n min-width: 64px;\n padding: 0 ", ";\n ", "\n"], ["\n height: 40px;\n min-width: 64px;\n padding: 0 ", ";\n ", "\n"])), function (_a) {
|
|
102
|
+
var medium = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: 40px;\n min-width: 64px;\n padding: 0 ", ";\n ", "\n\n & > div {\n height: 40px;\n line-height: 40px;\n }\n"], ["\n height: 40px;\n min-width: 64px;\n padding: 0 ", ";\n ", "\n\n & > div {\n height: 40px;\n line-height: 40px;\n }\n"])), function (_a) {
|
|
103
103
|
var theme = _a.theme;
|
|
104
104
|
return theme.spacing.spacingE;
|
|
105
105
|
}, function (_a) {
|
|
106
106
|
var shapeType = _a.shapeType;
|
|
107
107
|
return shapeType === 'round' && 'border-radius: 14px;';
|
|
108
108
|
});
|
|
109
|
-
var small = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n height: 32px;\n min-width: 48px;\n padding: 0 ", ";\n ", "\n"], ["\n height: 32px;\n min-width: 48px;\n padding: 0 ", ";\n ", "\n"])), function (_a) {
|
|
109
|
+
var small = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n height: 32px;\n min-width: 48px;\n padding: 0 ", ";\n ", "\n\n & > div {\n height: 32px;\n line-height: 32px;\n }\n"], ["\n height: 32px;\n min-width: 48px;\n padding: 0 ", ";\n ", "\n\n & > div {\n height: 32px;\n line-height: 32px;\n }\n"])), function (_a) {
|
|
110
110
|
var theme = _a.theme;
|
|
111
111
|
return theme.spacing.spacingD;
|
|
112
112
|
}, function (_a) {
|
|
113
113
|
var shapeType = _a.shapeType;
|
|
114
114
|
return shapeType === 'round' && 'border-radius: 10px;';
|
|
115
115
|
});
|
|
116
|
-
var xsmall = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: 24px;\n min-width: 48px;\n padding: 0 ", ";\n ", "\n"], ["\n height: 24px;\n min-width: 48px;\n padding: 0 ", ";\n ", "\n"])), function (_a) {
|
|
116
|
+
var xsmall = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: 24px;\n min-width: 48px;\n padding: 0 ", ";\n ", "\n\n & > div {\n height: 24px;\n line-height: 24px;\n }\n"], ["\n height: 24px;\n min-width: 48px;\n padding: 0 ", ";\n ", "\n\n & > div {\n height: 24px;\n line-height: 24px;\n }\n"])), function (_a) {
|
|
117
117
|
var theme = _a.theme;
|
|
118
118
|
return theme.spacing.spacingD;
|
|
119
119
|
}, function (_a) {
|
|
@@ -51,15 +51,15 @@ function UploadTextButton(_a) {
|
|
|
51
51
|
};
|
|
52
52
|
return (react_1.default.createElement(S_UploadTextButton, { size: size, responsiveMode: responsiveMode, fontWeight: fontWeight, disabled: state === 'disabled' },
|
|
53
53
|
react_1.default.createElement("input", { type: "file", hidden: true, disabled: state === 'disabled', accept: accept, multiple: multipleMode === 'use', onChange: handleClick }),
|
|
54
|
-
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: textStyle[size], colorTheme: state === 'disabled' ? 'sysTextTertiary' : textColor[colorTheme], singleLineMode: "use" })));
|
|
54
|
+
react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: textStyle[size], colorTheme: state === 'disabled' ? 'sysTextTertiary' : textColor[colorTheme], singleLineMode: "use", ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" })));
|
|
55
55
|
}
|
|
56
|
-
var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: 14px;\n height: 48px;\n width: ", ";\n"], ["\n border-radius: 14px;\n height: 48px;\n width: ", ";\n"])), function (_a) {
|
|
56
|
+
var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: 14px;\n height: 48px;\n width: ", ";\n\n & > div {\n height: 48px;\n line-height: 48px;\n }\n"], ["\n border-radius: 14px;\n height: 48px;\n width: ", ";\n\n & > div {\n height: 48px;\n line-height: 48px;\n }\n"])), function (_a) {
|
|
57
57
|
var size = _a.size;
|
|
58
58
|
return size === 'rlarge' && '100%';
|
|
59
59
|
});
|
|
60
|
-
var medium = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n border-radius: 14px;\n height: 40px;\n"], ["\n border-radius: 14px;\n height: 40px;\n"])));
|
|
61
|
-
var small = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n border-radius: 10px;\n height: 32px;\n"], ["\n border-radius: 10px;\n height: 32px;\n"])));
|
|
62
|
-
var xsmall = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n border-radius: 8px;\n height: 24px;\n"], ["\n border-radius: 8px;\n height: 24px;\n"])));
|
|
60
|
+
var medium = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n border-radius: 14px;\n height: 40px;\n\n & > div {\n height: 40px;\n line-height: 40px;\n }\n"], ["\n border-radius: 14px;\n height: 40px;\n\n & > div {\n height: 40px;\n line-height: 40px;\n }\n"])));
|
|
61
|
+
var small = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n border-radius: 10px;\n height: 32px;\n\n & > div {\n height: 32px;\n line-height: 32px;\n }\n"], ["\n border-radius: 10px;\n height: 32px;\n\n & > div {\n height: 32px;\n line-height: 32px;\n }\n"])));
|
|
62
|
+
var xsmall = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n border-radius: 8px;\n height: 24px;\n\n & > div {\n height: 24px;\n line-height: 24px;\n }\n"], ["\n border-radius: 8px;\n height: 24px;\n\n & > div {\n height: 24px;\n line-height: 24px;\n }\n"])));
|
|
63
63
|
var S_UploadTextButton = styled_components_1.default.label(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n align-items: center;\n background-color: transparent;\n border: none;\n box-sizing: border-box;\n cursor: ", ";\n display: inline-flex;\n justify-content: center;\n padding: 0 ", ";\n\n &:hover:not([disabled]) {\n background-color: ", ";\n }\n\n &:active:not([disabled]) {\n background-color: ", ";\n }\n\n & > div {\n font-weight: ", ";\n }\n\n ", ";\n ", ";\n"], ["\n align-items: center;\n background-color: transparent;\n border: none;\n box-sizing: border-box;\n cursor: ", ";\n display: inline-flex;\n justify-content: center;\n padding: 0 ", ";\n\n &:hover:not([disabled]) {\n background-color: ", ";\n }\n\n &:active:not([disabled]) {\n background-color: ", ";\n }\n\n & > div {\n font-weight: ", ";\n }\n\n ", ";\n ", ";\n"])), function (_a) {
|
|
64
64
|
var disabled = _a.disabled;
|
|
65
65
|
return (disabled ? 'default' : 'pointer');
|
package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/ContentsContainer.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export declare type ContentsContainerProps = {
|
|
3
3
|
content1?: JSX.Element;
|
|
4
4
|
content2?: JSX.Element;
|
|
5
|
-
layoutType: 'WSA_1' | 'WSB_1' | 'WSC_1' | 'WSD_1' | 'WSE_1' | 'WSF_1' | 'WSF_2' | 'WSF_3' | 'WSF_4' | 'WSF_5' | 'WSF_6' | 'WSF_7' | 'WSG_1' | 'WSG_2' | 'WSG_3' | 'WSG_4';
|
|
5
|
+
layoutType: 'WSA_1' | 'WSB_1' | 'WSC_1' | 'WSD_1' | 'WSE_1' | 'WSF_1' | 'WSF_2' | 'WSF_3' | 'WSF_4' | 'WSF_5' | 'WSF_6' | 'WSF_7' | 'WSG_1' | 'WSG_2' | 'WSG_3' | 'WSG_4' | 'WSG_5';
|
|
6
6
|
containerColor?: string;
|
|
7
7
|
areaColor?: string;
|
|
8
8
|
};
|
|
@@ -23,7 +23,8 @@ var ContentsContainer = function (_a) {
|
|
|
23
23
|
WSG_1: (react_1.default.createElement(variation_1.WSG, { layoutType: "WSG_1", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor })),
|
|
24
24
|
WSG_2: (react_1.default.createElement(variation_1.WSG, { layoutType: "WSG_2", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor })),
|
|
25
25
|
WSG_3: (react_1.default.createElement(variation_1.WSG, { layoutType: "WSG_3", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor })),
|
|
26
|
-
WSG_4: (react_1.default.createElement(variation_1.WSG, { layoutType: "WSG_4", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor }))
|
|
26
|
+
WSG_4: (react_1.default.createElement(variation_1.WSG, { layoutType: "WSG_4", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor })),
|
|
27
|
+
WSG_5: (react_1.default.createElement(variation_1.WSG, { layoutType: "WSG_5", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor }))
|
|
27
28
|
}[layoutType]));
|
|
28
29
|
};
|
|
29
30
|
exports.default = ContentsContainer;
|
|
@@ -29,7 +29,8 @@ var S_ContentsContainer1 = styled_components_1.default.div(templateObject_2 || (
|
|
|
29
29
|
WSG_1: 'height: 100%;',
|
|
30
30
|
WSG_2: 'overflow-x: hidden;overflow-y: auto;',
|
|
31
31
|
WSG_3: 'overflow-x: hidden;overflow-y: auto;',
|
|
32
|
-
WSG_4: 'overflow-x: hidden;overflow-y: auto;width: 480px'
|
|
32
|
+
WSG_4: 'overflow-x: hidden;overflow-y: auto;width: 480px',
|
|
33
|
+
WSG_5: 'overflow-x: hidden;overflow-y: auto;width: 480px'
|
|
33
34
|
}[layoutType]);
|
|
34
35
|
}, function (_a) {
|
|
35
36
|
var containerColor = _a.containerColor;
|
|
@@ -47,7 +48,8 @@ var S_ContentsContainer2 = styled_components_1.default.div(templateObject_3 || (
|
|
|
47
48
|
WSG_1: 'height: 100%;',
|
|
48
49
|
WSG_2: 'overflow-x: hidden;overflow-y: auto;',
|
|
49
50
|
WSG_3: 'height: 100%;',
|
|
50
|
-
WSG_4: 'height: 100%; flex: 1'
|
|
51
|
+
WSG_4: 'height: 100%; flex: 1',
|
|
52
|
+
WSG_5: 'height: 100%; flex: 1'
|
|
51
53
|
}[layoutType]);
|
|
52
54
|
}, function (_a) {
|
|
53
55
|
var containerColor = _a.containerColor;
|
|
@@ -59,19 +61,21 @@ var S_ContentsArea1 = styled_components_1.default.div(templateObject_4 || (templ
|
|
|
59
61
|
WSG_1: 'height: 100%;',
|
|
60
62
|
WSG_2: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;',
|
|
61
63
|
WSG_3: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;',
|
|
62
|
-
WSG_4: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;'
|
|
64
|
+
WSG_4: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;',
|
|
65
|
+
WSG_5: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;'
|
|
63
66
|
}[layoutType]);
|
|
64
67
|
}, function (_a) {
|
|
65
68
|
var areaColor = _a.areaColor;
|
|
66
69
|
return "background-color: " + areaColor;
|
|
67
70
|
});
|
|
68
|
-
var S_ContentsArea2 = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n box-sizing: border-box;\n
|
|
71
|
+
var S_ContentsArea2 = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n box-sizing: border-box;\n ", ";\n ", ";\n"], ["\n box-sizing: border-box;\n ", ";\n ", ";\n"])), function (_a) {
|
|
69
72
|
var layoutType = _a.layoutType;
|
|
70
73
|
return ({
|
|
71
|
-
WSG_1: 'height: 100%;',
|
|
72
|
-
WSG_2: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;',
|
|
73
|
-
WSG_3: 'height: 100%;',
|
|
74
|
-
WSG_4: 'height: 100%;'
|
|
74
|
+
WSG_1: 'height: 100%;padding-top: 24px;',
|
|
75
|
+
WSG_2: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;padding-top: 24px;',
|
|
76
|
+
WSG_3: 'height: 100%;padding-top: 24px;',
|
|
77
|
+
WSG_4: 'height: 100%;padding-top: 24px;',
|
|
78
|
+
WSG_5: 'height: 100%;'
|
|
75
79
|
}[layoutType]);
|
|
76
80
|
}, function (_a) {
|
|
77
81
|
var areaColor = _a.areaColor;
|
|
@@ -83,7 +87,8 @@ var S_Content1 = styled_components_1.default.div(templateObject_6 || (templateOb
|
|
|
83
87
|
WSG_1: 'height: 100%;overflow: hidden;',
|
|
84
88
|
WSG_2: '',
|
|
85
89
|
WSG_3: '',
|
|
86
|
-
WSG_4: ''
|
|
90
|
+
WSG_4: '',
|
|
91
|
+
WSG_5: ''
|
|
87
92
|
}[layoutType]);
|
|
88
93
|
});
|
|
89
94
|
var S_Content2 = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), function (_a) {
|
|
@@ -92,7 +97,8 @@ var S_Content2 = styled_components_1.default.div(templateObject_7 || (templateOb
|
|
|
92
97
|
WSG_1: 'height: 100%;overflow: hidden;',
|
|
93
98
|
WSG_2: '',
|
|
94
99
|
WSG_3: 'height: 100%;overflow: hidden;',
|
|
95
|
-
WSG_4: 'height: 100%;overflow: hidden;'
|
|
100
|
+
WSG_4: 'height: 100%;overflow: hidden;',
|
|
101
|
+
WSG_5: 'height: 100%;overflow: hidden;'
|
|
96
102
|
}[layoutType]);
|
|
97
103
|
});
|
|
98
104
|
exports.default = WSG;
|