pds-dev-kit-web-test 0.0.27 → 0.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +2 -6
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +2 -6
- package/dist/src/common/styles/colorSet/SemanticColor.json +0 -4
- package/dist/src/common/styles/colorSet/UIColor.json +0 -4
- package/dist/src/common/styles/colorSet/index.d.ts +0 -16
- package/dist/src/common/styles/colorSet/ui-type.d.ts +0 -4
- package/dist/src/common/styles/theme.js +13 -13
- package/dist/src/common/types/styled-components.d.ts +5 -5
- package/dist/src/desktop/components/AdminListItem/AdminListItem.js +3 -4
- package/dist/src/desktop/components/DesktopAlertDialog/DesktopAlertDialog.js +2 -3
- package/dist/src/desktop/components/Dropdown/Dropdown.js +3 -14
- package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.js +6 -17
- package/dist/src/desktop/components/FloatingActionButton/FloatingActionButton.js +4 -5
- package/dist/src/desktop/components/IconButton/IconButton.js +6 -7
- package/dist/src/desktop/components/LottieReactionButton/LottieReactionButton.js +3 -4
- package/dist/src/desktop/components/MainButton/MainButton.js +15 -16
- package/dist/src/desktop/components/ReactionButton/ReactionButton.js +1 -2
- package/dist/src/desktop/components/Select/Select.js +2 -13
- package/dist/src/desktop/components/TextButton/TextButton.js +2 -3
- package/dist/src/desktop/components/TextField/TextField.js +6 -17
- package/dist/src/desktop/components/UploadIconButton/UploadIconButton.js +6 -7
- package/dist/src/desktop/components/UploadMainButton/UploadMainButton.js +20 -15
- package/dist/src/desktop/components/UploadTextButton/UploadTextButton.js +2 -3
- package/dist/src/desktop/components/UserDesktopSideTab/UserDesktopSideTab.js +1 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/PageMenuContainer/variation/PageMenu.js +5 -2
- package/dist/src/desktop/layout/LayoutWF/ContainersBox/ContainersBox.js +1 -1
- package/dist/src/desktop/layout/LayoutWF/LayoutWF.js +1 -1
- package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.js +2 -3
- package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.js +2 -3
- package/dist/src/mobile/components/Dropdown/Dropdown.js +3 -11
- package/dist/src/mobile/components/FloatingActionButton/FloatingActionButton.js +3 -4
- package/dist/src/mobile/components/IconButton/IconButton.js +5 -6
- package/dist/src/mobile/components/LottieReactionButton/LottieReactionButton.js +2 -3
- package/dist/src/mobile/components/MainButton/MainButton.js +11 -12
- package/dist/src/mobile/components/MobileAlertDialog/MobileAlertDialog.js +2 -3
- package/dist/src/mobile/components/Select/Select.js +2 -10
- package/dist/src/mobile/components/TextButton/TextButton.js +1 -2
- package/dist/src/mobile/components/TextField/TextField.js +4 -12
- package/dist/src/mobile/components/UploadIconButton/UploadIconButton.js +5 -6
- package/dist/src/mobile/components/UploadMainButton/UploadMainButton.js +14 -12
- package/dist/src/mobile/components/UploadTextButton/UploadTextButton.js +2 -3
- package/dist/src/mobile/panels/MobileBasicModal/MobileBasicModal.js +2 -3
- package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/DynamicLayout.js +3 -66
- package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateA/desktop/D_TemplateA.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateB/desktop/D_TemplateB.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateA/desktop/D_TemplateA.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateB/desktop/D_TemplateB.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateA/desktop/D_TemplateA.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateB/desktop/D_TemplateB.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/InfoBoxSection/templates/TemplateA/desktop/D_TemplateA.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateA/desktop/D_TemplateA.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateB/desktop/D_TemplateB.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateC/desktop/D_TemplateC.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateD/desktop/D_TemplateD.js +1 -1
- package/dist/src/sub/DynamicLayout/types.d.ts +1 -3
- package/package.json +1 -1
- package/release-note.md +1 -1
- package/dist/src/common/hooks/useAnimation.d.ts +0 -2
- package/dist/src/common/hooks/useAnimation.js +0 -19
- package/dist/src/common/styles/movement/animationStyle.d.ts +0 -4
- package/dist/src/common/styles/movement/animationStyle.js +0 -14
- package/dist/src/common/styles/movement/keyframes.d.ts +0 -14
- package/dist/src/common/styles/movement/keyframes.js +0 -23
- package/dist/src/common/styles/movement/transitionStyle.d.ts +0 -3
- package/dist/src/common/styles/movement/transitionStyle.js +0 -12
|
@@ -92,8 +92,8 @@
|
|
|
92
92
|
"sys_component_base_05": "grey950",
|
|
93
93
|
"sys_background_dimmed_65": "black/opacity65",
|
|
94
94
|
"sys_temp_grey_06": "darkgrey70",
|
|
95
|
-
"sys_on_base_white_opacity10": "white/
|
|
96
|
-
"sys_on_base_black_opacity10": "
|
|
95
|
+
"sys_on_base_white_opacity10": "white/opacity10",
|
|
96
|
+
"sys_on_base_black_opacity10": "black/opacity10",
|
|
97
97
|
"sys_component_base_05_opacity00": "grey950/opacity00",
|
|
98
98
|
"sys_papp_post_notice_link": "darkskyblue500",
|
|
99
99
|
"sys_component_base_navy_light": "darknavy100",
|
|
@@ -233,10 +233,6 @@
|
|
|
233
233
|
"sys_component_base_22": "grey950",
|
|
234
234
|
"sys_component_base_21": "red500/opacity50",
|
|
235
235
|
"sys_component_border_white_opacity20": "white/opacity20",
|
|
236
|
-
"sys_transition_test_text_field_hover": "test03",
|
|
237
|
-
"sys_transition_test_text_field_active": "test04",
|
|
238
|
-
"sys_transition_test_main_button_secondary_hover": "white/opacity05",
|
|
239
|
-
"sys_transition_test_main_button_secondary_active": "white/opacity15",
|
|
240
236
|
"sys_component_base_23": "darkgrey100/opacity65",
|
|
241
237
|
"sys_component_base_darkgreen": "darkgreen700",
|
|
242
238
|
"sys_component_base_24": "black/opacity80",
|
|
@@ -92,8 +92,8 @@
|
|
|
92
92
|
"sys_component_base_05": "grey950",
|
|
93
93
|
"sys_background_dimmed_65": "black/opacity65",
|
|
94
94
|
"sys_temp_grey_06": "grey70",
|
|
95
|
-
"sys_on_base_white_opacity10": "white/
|
|
96
|
-
"sys_on_base_black_opacity10": "
|
|
95
|
+
"sys_on_base_white_opacity10": "white/opacity10",
|
|
96
|
+
"sys_on_base_black_opacity10": "black/opacity10",
|
|
97
97
|
"sys_component_base_05_opacity00": "grey950/opacity00",
|
|
98
98
|
"sys_papp_post_notice_link": "skyblue500",
|
|
99
99
|
"sys_component_base_navy_light": "navy100",
|
|
@@ -233,10 +233,6 @@
|
|
|
233
233
|
"sys_component_base_22": "grey950",
|
|
234
234
|
"sys_component_base_21": "red500/opacity50",
|
|
235
235
|
"sys_component_border_white_opacity20": "white/opacity20",
|
|
236
|
-
"sys_transition_test_text_field_hover": "test01",
|
|
237
|
-
"sys_transition_test_text_field_active": "test02",
|
|
238
|
-
"sys_transition_test_main_button_secondary_hover": "grey950/opacity05",
|
|
239
|
-
"ui_transition_test_main_button_secondary_active": "grey950/opacity15",
|
|
240
236
|
"sys_component_base_23": "darkgrey100/opacity65",
|
|
241
237
|
"sys_component_base_darkgreen": "darkgreen700",
|
|
242
238
|
"sys_component_base_24": "black/opacity80",
|
|
@@ -651,10 +651,6 @@
|
|
|
651
651
|
"ui_67": "sys_component_base_white_opacity50",
|
|
652
652
|
"ui_cpnt_videoplayer_gradient_3": "sys_component_base_black_opacity50",
|
|
653
653
|
"ui_68": "sys_component_base_22",
|
|
654
|
-
"ui_transition_test_text_field_hover": "sys_transition_test_text_field_hover",
|
|
655
|
-
"ui_transition_test_text_field_active": "sys_transition_test_text_field_active",
|
|
656
|
-
"ui_transition_test_main_button_secondary_hover": "sys_transition_test_main_button_secondary_hover",
|
|
657
|
-
"ui_transition_test_main_button_secondary_active": "sys_transition_test_main_button_secondary_active",
|
|
658
654
|
"ui_69": "sys_component_base_darkgreen",
|
|
659
655
|
"ui_cpnt_divider_white_02": "sys_component_base_20",
|
|
660
656
|
"ui_cpnt_list_chatbubble_base_brand_primary": "usr_brand_primary",
|
|
@@ -80,10 +80,6 @@ declare const colorSet: {
|
|
|
80
80
|
facebookblue: string;
|
|
81
81
|
opacity05: string;
|
|
82
82
|
opacity15: string;
|
|
83
|
-
test01: string;
|
|
84
|
-
test02: string;
|
|
85
|
-
test03: string;
|
|
86
|
-
test04: string;
|
|
87
83
|
grey80: string;
|
|
88
84
|
grey200: string;
|
|
89
85
|
darkgrey80: string;
|
|
@@ -324,10 +320,6 @@ declare const colorSet: {
|
|
|
324
320
|
sys_component_base_22: string;
|
|
325
321
|
sys_component_base_21: string;
|
|
326
322
|
sys_component_border_white_opacity20: string;
|
|
327
|
-
sys_transition_test_text_field_hover: string;
|
|
328
|
-
sys_transition_test_text_field_active: string;
|
|
329
|
-
sys_transition_test_main_button_secondary_hover: string;
|
|
330
|
-
ui_transition_test_main_button_secondary_active: string;
|
|
331
323
|
sys_component_base_23: string;
|
|
332
324
|
sys_component_base_darkgreen: string;
|
|
333
325
|
sys_component_base_24: string;
|
|
@@ -995,10 +987,6 @@ declare const colorSet: {
|
|
|
995
987
|
ui_67: string;
|
|
996
988
|
ui_cpnt_videoplayer_gradient_3: string;
|
|
997
989
|
ui_68: string;
|
|
998
|
-
ui_transition_test_text_field_hover: string;
|
|
999
|
-
ui_transition_test_text_field_active: string;
|
|
1000
|
-
ui_transition_test_main_button_secondary_hover: string;
|
|
1001
|
-
ui_transition_test_main_button_secondary_active: string;
|
|
1002
990
|
ui_69: string;
|
|
1003
991
|
ui_cpnt_divider_white_02: string;
|
|
1004
992
|
ui_cpnt_list_chatbubble_base_brand_primary: string;
|
|
@@ -1252,10 +1240,6 @@ declare const colorSet: {
|
|
|
1252
1240
|
sys_component_base_22: string;
|
|
1253
1241
|
sys_component_base_21: string;
|
|
1254
1242
|
sys_component_border_white_opacity20: string;
|
|
1255
|
-
sys_transition_test_text_field_hover: string;
|
|
1256
|
-
sys_transition_test_text_field_active: string;
|
|
1257
|
-
sys_transition_test_main_button_secondary_hover: string;
|
|
1258
|
-
sys_transition_test_main_button_secondary_active: string;
|
|
1259
1243
|
sys_component_base_23: string;
|
|
1260
1244
|
sys_component_base_darkgreen: string;
|
|
1261
1245
|
sys_component_base_24: string;
|
|
@@ -651,10 +651,6 @@ export interface UITheme {
|
|
|
651
651
|
ui_67: string;
|
|
652
652
|
ui_cpnt_videoplayer_gradient_3: string;
|
|
653
653
|
ui_68: string;
|
|
654
|
-
ui_transition_test_text_field_hover: string;
|
|
655
|
-
ui_transition_test_text_field_active: string;
|
|
656
|
-
ui_transition_test_main_button_secondary_hover: string;
|
|
657
|
-
ui_transition_test_main_button_secondary_active: string;
|
|
658
654
|
ui_69: string;
|
|
659
655
|
ui_cpnt_divider_white_02: string;
|
|
660
656
|
ui_cpnt_list_chatbubble_base_brand_primary: string;
|
|
@@ -18,10 +18,10 @@ exports.fontWeight = {
|
|
|
18
18
|
bold: '700'
|
|
19
19
|
};
|
|
20
20
|
exports.desktopFontSize = {
|
|
21
|
-
displayHeading: '
|
|
22
|
-
heading: '
|
|
23
|
-
leadParagraph: '
|
|
24
|
-
subtitle: '
|
|
21
|
+
displayHeading: '40px',
|
|
22
|
+
heading: '24px',
|
|
23
|
+
leadParagraph: '20px',
|
|
24
|
+
subtitle: '18px',
|
|
25
25
|
body1: '18px',
|
|
26
26
|
body2: '16px',
|
|
27
27
|
caption1: '14px',
|
|
@@ -57,10 +57,10 @@ exports.desktopEditorLineHeight = {
|
|
|
57
57
|
p: '1.8'
|
|
58
58
|
};
|
|
59
59
|
exports.mobileFontSize = {
|
|
60
|
-
displayHeading: '
|
|
61
|
-
heading: '
|
|
62
|
-
leadParagraph: '
|
|
63
|
-
subtitle: '
|
|
60
|
+
displayHeading: '32px',
|
|
61
|
+
heading: '24px',
|
|
62
|
+
leadParagraph: '20px',
|
|
63
|
+
subtitle: '18px',
|
|
64
64
|
body1: '18px',
|
|
65
65
|
body2: '16px',
|
|
66
66
|
caption1: '14px',
|
|
@@ -108,11 +108,11 @@ exports.spacing = {
|
|
|
108
108
|
spacingB: '8px',
|
|
109
109
|
spacingC: '12px',
|
|
110
110
|
spacingD: '16px',
|
|
111
|
-
spacingE:
|
|
112
|
-
spacingF:
|
|
113
|
-
spacingG:
|
|
114
|
-
spacingH:
|
|
115
|
-
spacingI:
|
|
111
|
+
spacingE: '24px',
|
|
112
|
+
spacingF: '32px',
|
|
113
|
+
spacingG: '48px',
|
|
114
|
+
spacingH: '64px',
|
|
115
|
+
spacingI: '88px',
|
|
116
116
|
spacingJ: '120px',
|
|
117
117
|
spacingK: '160px',
|
|
118
118
|
spacingL: '240px',
|
|
@@ -95,11 +95,11 @@ export interface PdsDevKitTheme {
|
|
|
95
95
|
spacingB: '8px';
|
|
96
96
|
spacingC: '12px';
|
|
97
97
|
spacingD: '16px';
|
|
98
|
-
spacingE:
|
|
99
|
-
spacingF:
|
|
100
|
-
spacingG:
|
|
101
|
-
spacingH:
|
|
102
|
-
spacingI:
|
|
98
|
+
spacingE: '24px';
|
|
99
|
+
spacingF: '32px';
|
|
100
|
+
spacingG: '48px';
|
|
101
|
+
spacingH: '64px';
|
|
102
|
+
spacingI: '88px';
|
|
103
103
|
spacingJ: '120px';
|
|
104
104
|
spacingK: '160px';
|
|
105
105
|
spacingL: '240px';
|
|
@@ -26,7 +26,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
var react_1 = __importStar(require("react"));
|
|
27
27
|
var react_hook_form_1 = require("react-hook-form");
|
|
28
28
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
29
|
-
var transitionStyle_1 = require("../../../common/styles/movement/transitionStyle");
|
|
30
29
|
var hybrid_1 = require("../../../hybrid");
|
|
31
30
|
var Checkbox_1 = require("../Checkbox");
|
|
32
31
|
var TextLabel_1 = require("../TextLabel");
|
|
@@ -255,20 +254,20 @@ var S_SelectionColumn = styled_components_1.default.div(templateObject_23 || (te
|
|
|
255
254
|
});
|
|
256
255
|
var hoverAdminListItem = (0, styled_components_1.css)(templateObject_24 || (templateObject_24 = __makeTemplateObject(["\n align-items: center;\n position: relative;\n"], ["\n align-items: center;\n position: relative;\n"])));
|
|
257
256
|
var fixedAdminListItem = (0, styled_components_1.css)(templateObject_25 || (templateObject_25 = __makeTemplateObject(["\n justify-content: space-between;\n"], ["\n justify-content: space-between;\n"])));
|
|
258
|
-
var S_AdminListItem = styled_components_1.default.div(templateObject_26 || (templateObject_26 = __makeTemplateObject(["\n background-color: ", ";\n display: flex;\n padding-left: ", ";\n\n ", "
|
|
257
|
+
var S_AdminListItem = styled_components_1.default.div(templateObject_26 || (templateObject_26 = __makeTemplateObject(["\n background-color: ", ";\n display: flex;\n padding-left: ", ";\n\n ", ";\n ", "\n\n :hover {\n background-color: ", ";\n\n ", " {\n display: ", ";\n visibility: visible;\n }\n }\n\n &:last-child {\n margin-bottom: 88px;\n }\n"], ["\n background-color: ", ";\n display: flex;\n padding-left: ", ";\n\n ", ";\n ", "\n\n :hover {\n background-color: ", ";\n\n ", " {\n display: ", ";\n visibility: visible;\n }\n }\n\n &:last-child {\n margin-bottom: 88px;\n }\n"])), function (_a) {
|
|
259
258
|
var theme = _a.theme, isSelected = _a.isSelected;
|
|
260
259
|
return isSelected ? theme.ui_cpnt_datatable_base_selected : theme.ui_cpnt_datatable_base_default;
|
|
261
260
|
}, function (_a) {
|
|
262
261
|
var theme = _a.theme;
|
|
263
262
|
return theme.spacing.spacingC;
|
|
264
|
-
},
|
|
263
|
+
}, function (_a) {
|
|
265
264
|
var rowSize = _a.rowSize;
|
|
266
265
|
return rowSize && { high: highRow, medium: mediumRow, low: lowRow }[rowSize];
|
|
267
266
|
}, function (_a) {
|
|
268
267
|
var quickActionBtnType = _a.quickActionBtnType;
|
|
269
268
|
return quickActionBtnType &&
|
|
270
269
|
{ fix: fixedAdminListItem, hover: hoverAdminListItem }[quickActionBtnType];
|
|
271
|
-
},
|
|
270
|
+
}, function (_a) {
|
|
272
271
|
var theme = _a.theme;
|
|
273
272
|
return theme.ui_cpnt_datatable_base_hover;
|
|
274
273
|
}, S_QuickActionButtonBox, function (_a) {
|
|
@@ -29,7 +29,6 @@ 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
31
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
32
|
-
var animationStyle_1 = require("../../../common/styles/movement/animationStyle");
|
|
33
32
|
var hybrid_1 = require("../../../hybrid");
|
|
34
33
|
var TextButton_1 = require("../TextButton");
|
|
35
34
|
var TextLabel_1 = require("../TextLabel");
|
|
@@ -89,7 +88,7 @@ var S_ModalOverlay = styled_components_1.default.div(templateObject_4 || (templa
|
|
|
89
88
|
var theme = _a.theme;
|
|
90
89
|
return theme.ui_cpnt_alertdialog_dimmed;
|
|
91
90
|
});
|
|
92
|
-
var S_ModalWrapper = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 24px;\n box-sizing: border-box;\n box-shadow: ", ";\n position: fixed;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n width: auto;\n min-width: 480px;\n max-width: 560px;\n
|
|
91
|
+
var S_ModalWrapper = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 24px;\n box-sizing: border-box;\n box-shadow: ", ";\n position: fixed;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n width: auto;\n min-width: 480px;\n max-width: 560px;\n"], ["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 24px;\n box-sizing: border-box;\n box-shadow: ", ";\n position: fixed;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n width: auto;\n min-width: 480px;\n max-width: 560px;\n"])), function (_a) {
|
|
93
92
|
var theme = _a.theme;
|
|
94
93
|
return theme.ui_cpnt_alertdialog_base;
|
|
95
94
|
}, function (_a) {
|
|
@@ -98,7 +97,7 @@ var S_ModalWrapper = styled_components_1.default.div(templateObject_5 || (templa
|
|
|
98
97
|
}, function (_a) {
|
|
99
98
|
var theme = _a.theme;
|
|
100
99
|
return theme.boxShadow.elevation5;
|
|
101
|
-
}
|
|
100
|
+
});
|
|
102
101
|
var S_Footer = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: flex-end;\n\n padding-top: ", ";\n padding-bottom: ", ";\n padding-left: ", ";\n padding-right: ", ";\n"], ["\n display: flex;\n align-items: center;\n justify-content: flex-end;\n\n padding-top: ", ";\n padding-bottom: ", ";\n padding-left: ", ";\n padding-right: ", ";\n"])), function (_a) {
|
|
103
102
|
var theme = _a.theme;
|
|
104
103
|
return theme.spacing.spacingC;
|
|
@@ -25,7 +25,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
var react_1 = __importStar(require("react"));
|
|
27
27
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
28
|
-
var transitionStyle_1 = require("../../../common/styles/movement/transitionStyle");
|
|
29
28
|
var hybrid_1 = require("../../../hybrid");
|
|
30
29
|
var ContextMenu_1 = require("../ContextMenu");
|
|
31
30
|
var ContextMenuItem_1 = require("../ContextMenuItem");
|
|
@@ -271,14 +270,7 @@ var borderColor = (0, styled_components_1.css)(templateObject_10 || (templateObj
|
|
|
271
270
|
return theme.ui_cpnt_dropdown_border_normal;
|
|
272
271
|
}
|
|
273
272
|
});
|
|
274
|
-
var
|
|
275
|
-
var theme = _a.theme;
|
|
276
|
-
return theme.ui_transition_test_text_field_hover;
|
|
277
|
-
}, function (_a) {
|
|
278
|
-
var theme = _a.theme;
|
|
279
|
-
return theme.ui_transition_test_text_field_active;
|
|
280
|
-
});
|
|
281
|
-
var S_Select = styled_components_1.default.div(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n align-items: center;\n box-sizing: border-box;\n background-color: ", ";\n border: 2px solid\n ", ";\n border-radius: 14px;\n cursor: ", ";\n display: flex;\n justify-content: space-between;\n\n ", ";\n\n ", "\n\n ", "\n\n ", "\n"], ["\n align-items: center;\n box-sizing: border-box;\n background-color: ", ";\n border: 2px solid\n ", ";\n border-radius: 14px;\n cursor: ", ";\n display: flex;\n justify-content: space-between;\n\n ", ";\n\n ", "\n\n ", "\n\n ", "\n"])), function (_a) {
|
|
273
|
+
var S_Select = styled_components_1.default.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n align-items: center;\n box-sizing: border-box;\n background-color: ", ";\n border: 2px solid\n ", ";\n border-radius: 14px;\n cursor: ", ";\n display: flex;\n justify-content: space-between;\n\n ", ";\n\n ", "\n"], ["\n align-items: center;\n box-sizing: border-box;\n background-color: ", ";\n border: 2px solid\n ", ";\n border-radius: 14px;\n cursor: ", ";\n display: flex;\n justify-content: space-between;\n\n ", ";\n\n ", "\n"])), function (_a) {
|
|
282
274
|
var state = _a.state;
|
|
283
275
|
switch (state) {
|
|
284
276
|
case 'disabled':
|
|
@@ -318,13 +310,10 @@ var S_Select = styled_components_1.default.div(templateObject_12 || (templateObj
|
|
|
318
310
|
}, function (_a) {
|
|
319
311
|
var customWidth = _a.customWidth;
|
|
320
312
|
return customWidth && "width: " + customWidth + ";";
|
|
321
|
-
}, transitionStyle_1.TextFieldTransition, function (_a) {
|
|
322
|
-
var state = _a.state;
|
|
323
|
-
return state === 'normal' && normal_transition;
|
|
324
313
|
});
|
|
325
|
-
var S_ContextMenuWrapper = styled_components_1.default.div(
|
|
314
|
+
var S_ContextMenuWrapper = styled_components_1.default.div(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n display: block;\n margin-top: ", ";\n position: absolute;\n width: inherit;\n"], ["\n display: block;\n margin-top: ", ";\n position: absolute;\n width: inherit;\n"])), function (_a) {
|
|
326
315
|
var theme = _a.theme;
|
|
327
316
|
return theme.spacing.spacingB;
|
|
328
317
|
});
|
|
329
318
|
exports.default = Dropdown;
|
|
330
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12
|
|
319
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12;
|
|
@@ -27,7 +27,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
27
27
|
var react_1 = __importStar(require("react"));
|
|
28
28
|
var react_hook_form_1 = require("react-hook-form");
|
|
29
29
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
30
|
-
var transitionStyle_1 = require("../../../common/styles/movement/transitionStyle");
|
|
31
30
|
var hybrid_1 = require("../../../hybrid");
|
|
32
31
|
var components_1 = require("../../common/components");
|
|
33
32
|
var IconButton_1 = require("../IconButton");
|
|
@@ -205,7 +204,7 @@ var large = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 =
|
|
|
205
204
|
var textLineType = _a.textLineType;
|
|
206
205
|
return textLineType === 'auto' && auto;
|
|
207
206
|
});
|
|
208
|
-
var normal = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n background-color: ", ";\n ", ";\n
|
|
207
|
+
var normal = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n background-color: ", ";\n ", ";\n"], ["\n background-color: ", ";\n ", ";\n"])), function (_a) {
|
|
209
208
|
var theme = _a.theme;
|
|
210
209
|
return theme.ui_cpnt_textfield_base_normal;
|
|
211
210
|
}, function (_a) {
|
|
@@ -215,7 +214,7 @@ var normal = (0, styled_components_1.css)(templateObject_7 || (templateObject_7
|
|
|
215
214
|
if (isFocused)
|
|
216
215
|
return "box-shadow: 0 0 0 2px " + theme.ui_cpnt_textfield_border_focus + " inset;";
|
|
217
216
|
return "box-shadow: 0 0 0 1px " + theme.ui_cpnt_textfield_border_normal + " inset;";
|
|
218
|
-
}
|
|
217
|
+
});
|
|
219
218
|
var read_only = (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n background-color: ", ";\n border: solid 2px ", ";\n"], ["\n background-color: ", ";\n border: solid 2px ", ";\n"])), function (_a) {
|
|
220
219
|
var theme = _a.theme;
|
|
221
220
|
return theme.ui_cpnt_textfield_base_disabled;
|
|
@@ -230,14 +229,7 @@ var disabled = (0, styled_components_1.css)(templateObject_9 || (templateObject_
|
|
|
230
229
|
var theme = _a.theme;
|
|
231
230
|
return theme.ui_cpnt_textfield_border_disabled;
|
|
232
231
|
});
|
|
233
|
-
var
|
|
234
|
-
var theme = _a.theme;
|
|
235
|
-
return theme.ui_transition_test_text_field_hover;
|
|
236
|
-
}, function (_a) {
|
|
237
|
-
var theme = _a.theme;
|
|
238
|
-
return theme.ui_transition_test_text_field_active;
|
|
239
|
-
});
|
|
240
|
-
var S_S_TextFieldBaseWrapper = styled_components_1.default.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n align-items: center;\n border-radius: 14px;\n box-sizing: border-box;\n cursor: ", ";\n display: flex;\n ", ";\n ", ";\n ", "\n\n ", "\n\n ", "\n"], ["\n align-items: center;\n border-radius: 14px;\n box-sizing: border-box;\n cursor: ", ";\n display: flex;\n ", ";\n ", ";\n ", "\n\n ", "\n\n ", "\n"])), function (_a) {
|
|
232
|
+
var S_S_TextFieldBaseWrapper = styled_components_1.default.div(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n align-items: center;\n border-radius: 14px;\n box-sizing: border-box;\n cursor: ", ";\n display: flex;\n ", ";\n ", ";\n ", "\n"], ["\n align-items: center;\n border-radius: 14px;\n box-sizing: border-box;\n cursor: ", ";\n display: flex;\n ", ";\n ", ";\n ", "\n"])), function (_a) {
|
|
241
233
|
var state = _a.state;
|
|
242
234
|
return (state === 'disabled' ? 'not-allowed' : 'text');
|
|
243
235
|
}, function (_a) {
|
|
@@ -259,11 +251,8 @@ var S_S_TextFieldBaseWrapper = styled_components_1.default.div(templateObject_11
|
|
|
259
251
|
}, function (_a) {
|
|
260
252
|
var customWidth = _a.customWidth;
|
|
261
253
|
return customWidth && "width: " + customWidth + ";";
|
|
262
|
-
}, transitionStyle_1.TextFieldTransition, function (_a) {
|
|
263
|
-
var state = _a.state;
|
|
264
|
-
return state === 'normal' && normal_transition;
|
|
265
254
|
});
|
|
266
|
-
var S_Error = styled_components_1.default.div(
|
|
255
|
+
var S_Error = styled_components_1.default.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin-top: ", ";\n margin-right: ", ";\n text-align: left;\n white-space: pre-wrap;\n"], ["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin-top: ", ";\n margin-right: ", ";\n text-align: left;\n white-space: pre-wrap;\n"])), function (_a) {
|
|
267
256
|
var theme = _a.theme;
|
|
268
257
|
return theme.ui_cpnt_textfield_text_error;
|
|
269
258
|
}, function (_a) {
|
|
@@ -282,6 +271,6 @@ var S_Error = styled_components_1.default.div(templateObject_12 || (templateObje
|
|
|
282
271
|
var theme = _a.theme, isFocused = _a.isFocused;
|
|
283
272
|
return isFocused ? theme.spacing.spacingI : theme.spacing.spacingA;
|
|
284
273
|
});
|
|
285
|
-
var S_ButtonBox = styled_components_1.default.div(
|
|
274
|
+
var S_ButtonBox = styled_components_1.default.div(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n bottom: -36px;\n display: flex;\n position: absolute;\n right: 0;\n z-index: 1;\n"], ["\n bottom: -36px;\n display: flex;\n position: absolute;\n right: 0;\n z-index: 1;\n"])));
|
|
286
275
|
exports.default = EditApplyTextField;
|
|
287
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12
|
|
276
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12;
|
|
@@ -28,7 +28,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
var react_1 = __importDefault(require("react"));
|
|
30
30
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
31
|
-
var transitionStyle_1 = require("../../../common/styles/movement/transitionStyle");
|
|
32
31
|
var hybrid_1 = require("../../../hybrid");
|
|
33
32
|
var TextLabel_1 = require("../TextLabel");
|
|
34
33
|
// NOTE : 기획상 아직 사용하지 않는 props
|
|
@@ -69,7 +68,7 @@ var disabled = (0, styled_components_1.css)(templateObject_3 || (templateObject_
|
|
|
69
68
|
var theme = _a.theme;
|
|
70
69
|
return theme.ui_cpnt_button_fill_base_disabled;
|
|
71
70
|
});
|
|
72
|
-
var floatingActionButtonStyle = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n border: none;\n bottom: 24px;\n box-sizing: border-box;\n box-shadow: ", ";\n cursor: ", ";\n display: flex;\n justify-content: center;\n position: fixed;\n right: 24px;\n /* NOTE : \uB808\uC774\uC5B4 \uB3C4\uC785 \uD6C4 \uC81C\uAC70\uB420 \uAC00\uB2A5\uC131 \uB18D\uD6C4 */\n z-index: 101;\n\n &:focus {\n outline: none;\n }\n\n
|
|
71
|
+
var floatingActionButtonStyle = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n border: none;\n bottom: 24px;\n box-sizing: border-box;\n box-shadow: ", ";\n cursor: ", ";\n display: flex;\n justify-content: center;\n position: fixed;\n right: 24px;\n /* NOTE : \uB808\uC774\uC5B4 \uB3C4\uC785 \uD6C4 \uC81C\uAC70\uB420 \uAC00\uB2A5\uC131 \uB18D\uD6C4 */\n z-index: 101;\n\n &:focus {\n outline: none;\n }\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n ", "\n"], ["\n align-items: center;\n background-color: ", ";\n border: none;\n bottom: 24px;\n box-sizing: border-box;\n box-shadow: ", ";\n cursor: ", ";\n display: flex;\n justify-content: center;\n position: fixed;\n right: 24px;\n /* NOTE : \uB808\uC774\uC5B4 \uB3C4\uC785 \uD6C4 \uC81C\uAC70\uB420 \uAC00\uB2A5\uC131 \uB18D\uD6C4 */\n z-index: 101;\n\n &:focus {\n outline: none;\n }\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n ", "\n"])), function (_a) {
|
|
73
72
|
var theme = _a.theme;
|
|
74
73
|
return theme.ui_cpnt_button_fill_base_primary;
|
|
75
74
|
}, function (_a) {
|
|
@@ -78,12 +77,12 @@ var floatingActionButtonStyle = (0, styled_components_1.css)(templateObject_4 ||
|
|
|
78
77
|
}, function (_a) {
|
|
79
78
|
var state = _a.state;
|
|
80
79
|
return (state === 'normal' ? 'pointer' : 'default');
|
|
81
|
-
},
|
|
80
|
+
}, function (_a) {
|
|
82
81
|
var theme = _a.theme;
|
|
83
|
-
return theme.ui_cpnt_button_fill_on_base_hover;
|
|
82
|
+
return "background-image: linear-gradient(\n to top,\n " + theme.ui_cpnt_button_fill_on_base_hover + ",\n " + theme.ui_cpnt_button_fill_on_base_hover + "\n );";
|
|
84
83
|
}, function (_a) {
|
|
85
84
|
var theme = _a.theme;
|
|
86
|
-
return theme.ui_cpnt_button_fill_on_base_pressed;
|
|
85
|
+
return "background-image: linear-gradient(\n to top,\n " + theme.ui_cpnt_button_fill_on_base_pressed + ",\n " + theme.ui_cpnt_button_fill_on_base_pressed + "\n );";
|
|
87
86
|
}, function (_a) {
|
|
88
87
|
var state = _a.state;
|
|
89
88
|
return state === 'disabled' && disabled;
|
|
@@ -28,7 +28,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
var react_1 = __importDefault(require("react"));
|
|
30
30
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
31
|
-
var transitionStyle_1 = require("../../../common/styles/movement/transitionStyle");
|
|
32
31
|
var hybrid_1 = require("../../../hybrid");
|
|
33
32
|
function IconButton(_a) {
|
|
34
33
|
var _b = _a.fillType, fillType = _b === void 0 ? 'fill' : _b, _c = _a.shapeType, shapeType = _c === void 0 ? 'rectangle' : _c, _d = _a.baseSize, baseSize = _d === void 0 ? 'small' : _d, baseColorKey = _a.baseColorKey, borderColorKey = _a.borderColorKey, _e = _a.iconSize, iconSize = _e === void 0 ? 24 : _e, _f = _a.iconFillType, iconFillType = _f === void 0 ? 'line' : _f, iconName = _a.iconName, iconColorKey = _a.iconColorKey, _g = _a.shadow, shadow = _g === void 0 ? 'hidden' : _g, _h = _a.colorTheme, colorTheme = _h === void 0 ? 'none' : _h, _j = _a.type, type = _j === void 0 ? 'button' : _j, _k = _a.state, state = _k === void 0 ? 'normal' : _k, tabIndex = _a.tabIndex, onClick = _a.onClick, onMouseDown = _a.onMouseDown;
|
|
@@ -74,19 +73,19 @@ var fillDisabled = (0, styled_components_1.css)(templateObject_1 || (templateObj
|
|
|
74
73
|
? ''
|
|
75
74
|
: theme.ui_cpnt_button_fill_base_disabled;
|
|
76
75
|
});
|
|
77
|
-
var fill = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n
|
|
76
|
+
var fill = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n ", ";\n"], ["\n background-color: ", ";\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n ", ";\n"])), function (_a) {
|
|
78
77
|
var theme = _a.theme, baseColorKey = _a.baseColorKey;
|
|
79
78
|
return baseColorKey ? theme[baseColorKey] : theme.ui_cpnt_button_fill_base_primary;
|
|
80
|
-
},
|
|
79
|
+
}, function (_a) {
|
|
81
80
|
var theme = _a.theme, baseColorKey = _a.baseColorKey;
|
|
82
81
|
return baseColorKey === 'ui_cpnt_button_fill_base_transparent'
|
|
83
82
|
? ''
|
|
84
|
-
: theme.ui_cpnt_button_fill_on_base_hover;
|
|
83
|
+
: "background-image: linear-gradient(\n to top,\n " + theme.ui_cpnt_button_fill_on_base_hover + ",\n " + theme.ui_cpnt_button_fill_on_base_hover + "\n );";
|
|
85
84
|
}, function (_a) {
|
|
86
85
|
var theme = _a.theme, baseColorKey = _a.baseColorKey;
|
|
87
86
|
return baseColorKey === 'ui_cpnt_button_fill_base_transparent'
|
|
88
87
|
? ''
|
|
89
|
-
: theme.ui_cpnt_button_fill_on_base_pressed;
|
|
88
|
+
: "background-image: linear-gradient(\n to top,\n " + theme.ui_cpnt_button_fill_on_base_pressed + ",\n " + theme.ui_cpnt_button_fill_on_base_pressed + "\n );";
|
|
90
89
|
}, function (_a) {
|
|
91
90
|
var state = _a.state;
|
|
92
91
|
return state === 'disabled' && fillDisabled;
|
|
@@ -98,7 +97,7 @@ var lineDisabled = (0, styled_components_1.css)(templateObject_3 || (templateObj
|
|
|
98
97
|
var theme = _a.theme;
|
|
99
98
|
return theme.ui_cpnt_button_line_border_disabled;
|
|
100
99
|
});
|
|
101
|
-
var line = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n background-color: ", ";\n border-color: ", ";\n\n ", ";\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n ", "
|
|
100
|
+
var line = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n background-color: ", ";\n border-color: ", ";\n\n ", ";\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n ", ";\n"], ["\n background-color: ", ";\n border-color: ", ";\n\n ", ";\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n ", ";\n"])), function (_a) {
|
|
102
101
|
var theme = _a.theme;
|
|
103
102
|
return theme.ui_cpnt_button_line_base_default;
|
|
104
103
|
}, function (_a) {
|
|
@@ -120,7 +119,7 @@ var line = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 =
|
|
|
120
119
|
}, function (_a) {
|
|
121
120
|
var theme = _a.theme;
|
|
122
121
|
return "background-color: " + theme.ui_cpnt_button_line_base_pressed + "\n ;";
|
|
123
|
-
},
|
|
122
|
+
}, function (_a) {
|
|
124
123
|
var state = _a.state;
|
|
125
124
|
return state === 'disabled' && lineDisabled;
|
|
126
125
|
});
|
|
@@ -25,7 +25,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
var react_1 = __importStar(require("react"));
|
|
27
27
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
28
|
-
var transitionStyle_1 = require("../../../common/styles/movement/transitionStyle");
|
|
29
28
|
var numberHelper_1 = require("../../../common/utils/numberHelper");
|
|
30
29
|
var hybrid_1 = require("../../../hybrid");
|
|
31
30
|
var TextLabel_1 = require("../TextLabel");
|
|
@@ -78,12 +77,12 @@ var disabled = (0, styled_components_1.css)(templateObject_1 || (templateObject_
|
|
|
78
77
|
var theme = _a.theme;
|
|
79
78
|
return theme.ui_cpnt_button_fill_base_disabled;
|
|
80
79
|
});
|
|
81
|
-
var normal = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n cursor: pointer;\n
|
|
80
|
+
var normal = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n cursor: pointer;\n\n &:focus {\n outline: none;\n }\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n"], ["\n cursor: pointer;\n\n &:focus {\n outline: none;\n }\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n"])), function (_a) {
|
|
82
81
|
var theme = _a.theme;
|
|
83
|
-
return theme.
|
|
82
|
+
return "background-image: linear-gradient(\n to top,\n " + theme.ui_cpnt_button_fill_on_base_hover + ",\n " + theme.ui_cpnt_button_fill_on_base_hover + "\n );";
|
|
84
83
|
}, function (_a) {
|
|
85
84
|
var theme = _a.theme;
|
|
86
|
-
return theme.
|
|
85
|
+
return "background-image: linear-gradient(\n to top,\n " + theme.ui_cpnt_button_fill_on_base_pressed + ",\n " + theme.ui_cpnt_button_fill_on_base_pressed + "\n );";
|
|
87
86
|
});
|
|
88
87
|
var view_only = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n cursor: default;\n"], ["\n cursor: default;\n"])));
|
|
89
88
|
var buttonAnimation = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n @keyframes gelatine {\n from,\n to {\n transform: scale(1, 1);\n }\n 25% {\n transform: scale(0.95, 1.1);\n }\n 50% {\n transform: scale(1.05, 0.9);\n }\n 75% {\n transform: scale(0.97, 1.05);\n }\n }\n\n animation: gelatine 1s 1;\n"], ["\n @keyframes gelatine {\n from,\n to {\n transform: scale(1, 1);\n }\n 25% {\n transform: scale(0.95, 1.1);\n }\n 50% {\n transform: scale(1.05, 0.9);\n }\n 75% {\n transform: scale(0.97, 1.05);\n }\n }\n\n animation: gelatine 1s 1;\n"])));
|
|
@@ -30,7 +30,6 @@ var react_1 = __importDefault(require("react"));
|
|
|
30
30
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
31
31
|
var components_1 = require("../../../common/components");
|
|
32
32
|
var styles_1 = require("../../../common/styles");
|
|
33
|
-
var transitionStyle_1 = require("../../../common/styles/movement/transitionStyle");
|
|
34
33
|
var hybrid_1 = require("../../../hybrid");
|
|
35
34
|
var TextLabel_1 = require("../TextLabel");
|
|
36
35
|
// NOTE : 기획상 아직 사용하지 않는 props
|
|
@@ -142,7 +141,7 @@ function MainButton(_a) {
|
|
|
142
141
|
return (react_1.default.createElement(S_SubmittingMainButton, { shapeType: shapeType, fillType: fillType, styleTheme: styleTheme, size: size, responsiveMode: responsiveMode, colorTheme: colorTheme, state: "normal", disabled: true },
|
|
143
142
|
react_1.default.createElement(components_1.CircularProgress, { colorKey: submittingProgressColor(), size: size === 'rlarge' ? 'large' : size })));
|
|
144
143
|
}
|
|
145
|
-
return (react_1.default.createElement(S_MainButton, { "x-pds-name": "MainButton", "x-pds-element-type": "component", "x-pds-device-type": "desktop", shapeType: shapeType, fillType: fillType, styleTheme: styleTheme, size: size, responsiveMode: responsiveMode, fontWeight: fontWeight, colorTheme: colorTheme, type: type, state: state, disabled: state === 'disabled', onClick: handleClick, onMouseDown: handleMouseDown
|
|
144
|
+
return (react_1.default.createElement(S_MainButton, { "x-pds-name": "MainButton", "x-pds-element-type": "component", "x-pds-device-type": "desktop", shapeType: shapeType, fillType: fillType, styleTheme: styleTheme, size: size, responsiveMode: responsiveMode, fontWeight: fontWeight, colorTheme: colorTheme, type: type, state: state, disabled: state === 'disabled', onClick: handleClick, onMouseDown: handleMouseDown },
|
|
146
145
|
size !== 'xsmall' && iconMode === 'left' && (react_1.default.createElement(react_1.default.Fragment, null,
|
|
147
146
|
react_1.default.createElement(hybrid_1.Icon, { iconName: iconName, size: size === 'large' || size === 'rlarge' ? 20 : 16, colorKey: iconColor(), fillType: iconFillType }),
|
|
148
147
|
react_1.default.createElement(hybrid_1.Spacing, { size: size === 'large' || size === 'rlarge' ? 'spacing_b' : 'spacing_a', spacingType: "width" }))),
|
|
@@ -188,15 +187,15 @@ var fillDisabled = (0, styled_components_1.css)(templateObject_5 || (templateObj
|
|
|
188
187
|
var theme = _a.theme;
|
|
189
188
|
return theme.ui_cpnt_button_fill_base_disabled;
|
|
190
189
|
});
|
|
191
|
-
var fill = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n
|
|
190
|
+
var fill = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n ", "\n"], ["\n background-color: ", ";\n border: none;\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n ", "\n"])), function (_a) {
|
|
192
191
|
var theme = _a.theme;
|
|
193
192
|
return theme.ui_cpnt_button_fill_base_primary;
|
|
194
|
-
},
|
|
193
|
+
}, function (_a) {
|
|
195
194
|
var theme = _a.theme;
|
|
196
|
-
return theme.ui_cpnt_button_fill_on_base_hover;
|
|
195
|
+
return "background-image: linear-gradient(\n to top,\n " + theme.ui_cpnt_button_fill_on_base_hover + ",\n " + theme.ui_cpnt_button_fill_on_base_hover + "\n );";
|
|
197
196
|
}, function (_a) {
|
|
198
197
|
var theme = _a.theme;
|
|
199
|
-
return theme.ui_cpnt_button_fill_on_base_pressed;
|
|
198
|
+
return "background-image: linear-gradient(\n to top,\n " + theme.ui_cpnt_button_fill_on_base_pressed + ",\n " + theme.ui_cpnt_button_fill_on_base_pressed + "\n );";
|
|
200
199
|
}, function (_a) {
|
|
201
200
|
var state = _a.state;
|
|
202
201
|
return state === 'disabled' && fillDisabled;
|
|
@@ -237,7 +236,7 @@ var lineDisabled = (0, styled_components_1.css)(templateObject_11 || (templateOb
|
|
|
237
236
|
? theme.ui_cpnt_button_line_border_darktheme_disabled
|
|
238
237
|
: theme.ui_cpnt_button_line_border_disabled;
|
|
239
238
|
});
|
|
240
|
-
var line = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n background-color: ", ";\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n
|
|
239
|
+
var line = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n background-color: ", ";\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n ", ";\n ", "\n"], ["\n background-color: ", ";\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n ", ";\n ", "\n"])), function (_a) {
|
|
241
240
|
var theme = _a.theme;
|
|
242
241
|
return theme.ui_cpnt_button_line_base_default;
|
|
243
242
|
}, function (_a) {
|
|
@@ -246,7 +245,7 @@ var line = (0, styled_components_1.css)(templateObject_12 || (templateObject_12
|
|
|
246
245
|
}, function (_a) {
|
|
247
246
|
var theme = _a.theme;
|
|
248
247
|
return "background-color: " + theme.ui_cpnt_button_line_base_pressed + ";";
|
|
249
|
-
},
|
|
248
|
+
}, function (_a) {
|
|
250
249
|
var colorTheme = _a.colorTheme;
|
|
251
250
|
return colorTheme && { none: none, line1: line1, line2: line2, line3: line3 }[colorTheme];
|
|
252
251
|
}, function (_a) {
|
|
@@ -257,15 +256,15 @@ var primaryDisabled = (0, styled_components_1.css)(templateObject_13 || (templat
|
|
|
257
256
|
var theme = _a.theme;
|
|
258
257
|
return theme.ui_cpnt_button_fill_base_disabled;
|
|
259
258
|
});
|
|
260
|
-
var primary = (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n
|
|
259
|
+
var primary = (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n ", "\n"], ["\n background-color: ", ";\n border: none;\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n ", "\n"])), function (_a) {
|
|
261
260
|
var theme = _a.theme;
|
|
262
261
|
return theme.ui_cpnt_button_fill_base_primary;
|
|
263
|
-
},
|
|
262
|
+
}, function (_a) {
|
|
264
263
|
var theme = _a.theme;
|
|
265
|
-
return theme.ui_cpnt_button_fill_on_base_hover;
|
|
264
|
+
return "background-image: linear-gradient(\n to top,\n " + theme.ui_cpnt_button_fill_on_base_hover + ",\n " + theme.ui_cpnt_button_fill_on_base_hover + "\n );";
|
|
266
265
|
}, function (_a) {
|
|
267
266
|
var theme = _a.theme;
|
|
268
|
-
return theme.ui_cpnt_button_fill_on_base_pressed;
|
|
267
|
+
return "background-image: linear-gradient(\n to top,\n " + theme.ui_cpnt_button_fill_on_base_pressed + ",\n " + theme.ui_cpnt_button_fill_on_base_pressed + "\n );";
|
|
269
268
|
}, function (_a) {
|
|
270
269
|
var state = _a.state;
|
|
271
270
|
return state === 'disabled' && primaryDisabled;
|
|
@@ -274,15 +273,15 @@ var secondaryDisabled = (0, styled_components_1.css)(templateObject_15 || (templ
|
|
|
274
273
|
var theme = _a.theme;
|
|
275
274
|
return theme.ui_cpnt_button_line_base_hover;
|
|
276
275
|
});
|
|
277
|
-
var secondary = (0, styled_components_1.css)(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n
|
|
276
|
+
var secondary = (0, styled_components_1.css)(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n ", "\n"], ["\n background-color: ", ";\n border: none;\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n ", "\n }\n\n ", "\n"])), function (_a) {
|
|
278
277
|
var theme = _a.theme;
|
|
279
278
|
return theme.ui_cpnt_button_line_base_hover;
|
|
280
|
-
},
|
|
279
|
+
}, function (_a) {
|
|
281
280
|
var theme = _a.theme;
|
|
282
|
-
return theme.
|
|
281
|
+
return "background-image: linear-gradient(\n to top,\n " + theme.ui_cpnt_button_fill_on_base_hover + ",\n " + theme.ui_cpnt_button_fill_on_base_hover + "\n );";
|
|
283
282
|
}, function (_a) {
|
|
284
283
|
var theme = _a.theme;
|
|
285
|
-
return theme.
|
|
284
|
+
return "background-image: linear-gradient(\n to top,\n " + theme.ui_cpnt_button_fill_on_base_pressed + ",\n " + theme.ui_cpnt_button_fill_on_base_pressed + "\n );";
|
|
286
285
|
}, function (_a) {
|
|
287
286
|
var state = _a.state;
|
|
288
287
|
return state === 'disabled' && secondaryDisabled;
|