pds-dev-kit-web-test 0.0.23 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +7 -3
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +7 -3
- package/dist/src/common/styles/colorSet/SemanticColor.json +7 -1
- package/dist/src/common/styles/colorSet/UIColor.json +6 -2
- package/dist/src/common/styles/colorSet/index.d.ts +18 -0
- package/dist/src/common/styles/colorSet/ui-type.d.ts +4 -0
- package/dist/src/common/styles/movement/animationStyle.d.ts +0 -3
- package/dist/src/common/styles/movement/animationStyle.js +6 -15
- package/dist/src/common/styles/movement/keyframes.js +14 -14
- package/dist/src/common/styles/movement/transitionStyle.d.ts +1 -1
- package/dist/src/common/styles/movement/transitionStyle.js +3 -3
- package/dist/src/desktop/components/AdminListItem/AdminListItem.js +2 -2
- package/dist/src/desktop/components/DesktopAlertDialog/DesktopAlertDialog.js +1 -1
- package/dist/src/desktop/components/Dropdown/Dropdown.js +14 -3
- package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.js +14 -4
- package/dist/src/desktop/components/FloatingActionButton/FloatingActionButton.js +7 -4
- package/dist/src/desktop/components/IconButton/IconButton.js +7 -6
- package/dist/src/desktop/components/LottieReactionButton/LottieReactionButton.js +4 -3
- package/dist/src/desktop/components/MainButton/MainButton.js +17 -14
- package/dist/src/desktop/components/ReactionButton/ReactionButton.js +2 -1
- package/dist/src/desktop/components/Select/Select.js +13 -2
- package/dist/src/desktop/components/TextButton/TextButton.js +3 -2
- package/dist/src/desktop/components/TextField/TextField.js +14 -4
- package/dist/src/desktop/components/UploadIconButton/UploadIconButton.js +7 -6
- package/dist/src/desktop/components/UploadMainButton/UploadMainButton.js +16 -21
- package/dist/src/desktop/components/UploadTextButton/UploadTextButton.js +3 -2
- package/dist/src/desktop/panels/ContentSheet/ContentSheet.js +2 -3
- package/dist/src/mobile/components/Dropdown/Dropdown.js +11 -3
- package/dist/src/mobile/components/FloatingActionButton/FloatingActionButton.js +4 -3
- package/dist/src/mobile/components/IconButton/IconButton.js +6 -5
- package/dist/src/mobile/components/LottieReactionButton/LottieReactionButton.js +3 -2
- package/dist/src/mobile/components/MainButton/MainButton.js +12 -11
- package/dist/src/mobile/components/MobileAlertDialog/MobileAlertDialog.js +3 -2
- package/dist/src/mobile/components/Select/Select.js +10 -2
- package/dist/src/mobile/components/TextButton/TextButton.js +2 -1
- package/dist/src/mobile/components/TextField/TextField.js +12 -4
- package/dist/src/mobile/components/UploadIconButton/UploadIconButton.js +6 -5
- package/dist/src/mobile/components/UploadMainButton/UploadMainButton.js +12 -14
- package/dist/src/mobile/components/UploadTextButton/UploadTextButton.js +3 -2
- package/dist/src/mobile/panels/MobileBasicModal/MobileBasicModal.js +3 -2
- package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/DynamicLayout.js +66 -3
- 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 +3 -1
- package/package.json +1 -1
- package/release-note.md +41 -6
|
@@ -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/opacity20",
|
|
96
|
+
"sys_on_base_black_opacity10": "grey950/opacity15",
|
|
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,5 +233,9 @@
|
|
|
233
233
|
"sys_component_base_22": "grey950",
|
|
234
234
|
"sys_component_base_21": "darkred500/opacity40",
|
|
235
235
|
"sys_component_border_white_opacity20": "white/opacity20",
|
|
236
|
-
"
|
|
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
|
+
"sys_component_base_23": "darkgrey30"
|
|
237
241
|
}
|
|
@@ -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/opacity20",
|
|
96
|
+
"sys_on_base_black_opacity10": "grey950/opacity15",
|
|
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,5 +233,9 @@
|
|
|
233
233
|
"sys_component_base_22": "grey950",
|
|
234
234
|
"sys_component_base_21": "red500/opacity40",
|
|
235
235
|
"sys_component_border_white_opacity20": "white/opacity20",
|
|
236
|
-
"
|
|
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
|
+
"sys_component_base_23": "grey30"
|
|
237
241
|
}
|
|
@@ -76,5 +76,11 @@
|
|
|
76
76
|
"green50": "#CCF5E9",
|
|
77
77
|
"darkgreen50": "#134034",
|
|
78
78
|
"opacity90": "E6",
|
|
79
|
-
"facebookblue": "#1877F2"
|
|
79
|
+
"facebookblue": "#1877F2",
|
|
80
|
+
"opacity05": "0D",
|
|
81
|
+
"opacity15": "26",
|
|
82
|
+
"test01": "#E9E9EC",
|
|
83
|
+
"test02": "#D3D3D6",
|
|
84
|
+
"test03": "#282829",
|
|
85
|
+
"test04": "#3E3E3F"
|
|
80
86
|
}
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
"ui_cpnt_datatable_text_textbutton": "sys_text_brand_primary",
|
|
193
193
|
"ui_cpnt_datatable_text_active": "sys_text_active",
|
|
194
194
|
"ui_cpnt_datatable_base_default": "sys_component_base_white_opacity00",
|
|
195
|
-
"ui_cpnt_datatable_base_hover": "
|
|
195
|
+
"ui_cpnt_datatable_base_hover": "sys_component_base_23",
|
|
196
196
|
"ui_cpnt_datatable_text_inactive": "sys_text_grey_03",
|
|
197
197
|
"ui_cpnt_datatable_bulkaction_base": "sys_widget_black",
|
|
198
198
|
"ui_cpnt_datatable_icon_01": "sys_widget_white",
|
|
@@ -650,5 +650,9 @@
|
|
|
650
650
|
"ui_66": "sys_component_base_black_opacity50",
|
|
651
651
|
"ui_67": "sys_component_base_white_opacity50",
|
|
652
652
|
"ui_cpnt_videoplayer_gradient_3": "sys_component_base_black_opacity50",
|
|
653
|
-
"ui_68": "sys_component_base_22"
|
|
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"
|
|
654
658
|
}
|
|
@@ -78,6 +78,12 @@ declare const colorSet: {
|
|
|
78
78
|
darkgreen50: string;
|
|
79
79
|
opacity90: string;
|
|
80
80
|
facebookblue: string;
|
|
81
|
+
opacity05: string;
|
|
82
|
+
opacity15: string;
|
|
83
|
+
test01: string;
|
|
84
|
+
test02: string;
|
|
85
|
+
test03: string;
|
|
86
|
+
test04: string;
|
|
81
87
|
};
|
|
82
88
|
readonly PaletteColor_light: {
|
|
83
89
|
sys_container_background_01: string;
|
|
@@ -314,6 +320,10 @@ declare const colorSet: {
|
|
|
314
320
|
sys_component_base_22: string;
|
|
315
321
|
sys_component_base_21: string;
|
|
316
322
|
sys_component_border_white_opacity20: string;
|
|
323
|
+
sys_transition_test_text_field_hover: string;
|
|
324
|
+
sys_transition_test_text_field_active: string;
|
|
325
|
+
sys_transition_test_main_button_secondary_hover: string;
|
|
326
|
+
ui_transition_test_main_button_secondary_active: string;
|
|
317
327
|
sys_component_base_23: string;
|
|
318
328
|
};
|
|
319
329
|
readonly PaletteColor_Dark: {
|
|
@@ -551,6 +561,10 @@ declare const colorSet: {
|
|
|
551
561
|
sys_component_base_22: string;
|
|
552
562
|
sys_component_base_21: string;
|
|
553
563
|
sys_component_border_white_opacity20: string;
|
|
564
|
+
sys_transition_test_text_field_hover: string;
|
|
565
|
+
sys_transition_test_text_field_active: string;
|
|
566
|
+
sys_transition_test_main_button_secondary_hover: string;
|
|
567
|
+
sys_transition_test_main_button_secondary_active: string;
|
|
554
568
|
sys_component_base_23: string;
|
|
555
569
|
};
|
|
556
570
|
readonly UIColor: {
|
|
@@ -1206,6 +1220,10 @@ declare const colorSet: {
|
|
|
1206
1220
|
ui_67: string;
|
|
1207
1221
|
ui_cpnt_videoplayer_gradient_3: string;
|
|
1208
1222
|
ui_68: string;
|
|
1223
|
+
ui_transition_test_text_field_hover: string;
|
|
1224
|
+
ui_transition_test_text_field_active: string;
|
|
1225
|
+
ui_transition_test_main_button_secondary_hover: string;
|
|
1226
|
+
ui_transition_test_main_button_secondary_active: string;
|
|
1209
1227
|
};
|
|
1210
1228
|
};
|
|
1211
1229
|
export default colorSet;
|
|
@@ -651,4 +651,8 @@ 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;
|
|
654
658
|
}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
export declare const buttonOnAni: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
2
|
-
export declare const buttonOffAni: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
3
1
|
export declare const dialogOnAni: import("styled-components").FlattenSimpleInterpolation;
|
|
4
2
|
export declare const dialogOffAni: import("styled-components").FlattenSimpleInterpolation;
|
|
5
3
|
export declare const modalOnAni: import("styled-components").FlattenSimpleInterpolation;
|
|
6
4
|
export declare const modalOffAni: import("styled-components").FlattenSimpleInterpolation;
|
|
7
|
-
export declare const contentSheetOnAni: import("styled-components").FlattenSimpleInterpolation;
|
|
@@ -4,20 +4,11 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
4
4
|
return cooked;
|
|
5
5
|
};
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.
|
|
7
|
+
exports.modalOffAni = exports.modalOnAni = exports.dialogOffAni = exports.dialogOnAni = void 0;
|
|
8
8
|
var styled_components_1 = require("styled-components");
|
|
9
9
|
var keyframes_1 = require("./keyframes");
|
|
10
|
-
exports.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
var theme = _a.theme;
|
|
16
|
-
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 );";
|
|
17
|
-
});
|
|
18
|
-
exports.dialogOnAni = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n transform-origin: 0 0;\n animation: ", " 0.2s ease-in-out both, ", " 0.2s ease-in-out both;\n"], ["\n transform-origin: 0 0;\n animation: ", " 0.2s ease-in-out both, ", " 0.2s ease-in-out both;\n"])), keyframes_1.scaleBounceInIncludeTranslate, keyframes_1.fadeIn);
|
|
19
|
-
exports.dialogOffAni = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n transform-origin: 0 0;\n animation: ", " 0.2s ease-in-out both,\n ", " 0.2s ease-in-out both;\n"], ["\n transform-origin: 0 0;\n animation: ", " 0.2s ease-in-out both,\n ", " 0.2s ease-in-out both;\n"])), keyframes_1.scaleBounceOutIncludeTranslate, keyframes_1.fadeOut);
|
|
20
|
-
exports.modalOnAni = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n transform-origin: 0 0;\n animation: ", " 0.2s ease-in-out both,\n ", " 0.2s ease-in-out both;\n"], ["\n transform-origin: 0 0;\n animation: ", " 0.2s ease-in-out both,\n ", " 0.2s ease-in-out both;\n"])), keyframes_1.scaleBounceInIncludeTranslate02, keyframes_1.fadeIn);
|
|
21
|
-
exports.modalOffAni = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n transform-origin: 0 0;\n animation: ", " 0.2s ease-in-out both,\n ", " 0.2s ease-in-out both;\n"], ["\n transform-origin: 0 0;\n animation: ", " 0.2s ease-in-out both,\n ", " 0.2s ease-in-out both;\n"])), keyframes_1.scaleBounceOutIncludeTranslate02, keyframes_1.fadeOut);
|
|
22
|
-
exports.contentSheetOnAni = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n animation: ", " 0.2s ease-in-out both;\n"], ["\n animation: ", " 0.2s ease-in-out both;\n"])), keyframes_1.glow);
|
|
23
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7;
|
|
10
|
+
exports.dialogOnAni = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n transform-origin: 0 0;\n animation: ", " 0.2s ease-in-out both, ", " 0.2s ease-in-out both;\n"], ["\n transform-origin: 0 0;\n animation: ", " 0.2s ease-in-out both, ", " 0.2s ease-in-out both;\n"])), keyframes_1.scaleBounceInIncludeTranslate, keyframes_1.fadeIn);
|
|
11
|
+
exports.dialogOffAni = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n transform-origin: 0 0;\n animation: ", " 0.2s ease-in-out both,\n ", " 0.2s ease-in-out both;\n"], ["\n transform-origin: 0 0;\n animation: ", " 0.2s ease-in-out both,\n ", " 0.2s ease-in-out both;\n"])), keyframes_1.scaleBounceOutIncludeTranslate, keyframes_1.fadeOut);
|
|
12
|
+
exports.modalOnAni = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n transform-origin: 0 0;\n animation: ", " 0.2s ease-in-out both,\n ", " 0.2s ease-in-out both;\n"], ["\n transform-origin: 0 0;\n animation: ", " 0.2s ease-in-out both,\n ", " 0.2s ease-in-out both;\n"])), keyframes_1.scaleBounceInIncludeTranslate02, keyframes_1.fadeIn);
|
|
13
|
+
exports.modalOffAni = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n transform-origin: 0 0;\n animation: ", " 0.2s ease-in-out both,\n ", " 0.2s ease-in-out both;\n"], ["\n transform-origin: 0 0;\n animation: ", " 0.2s ease-in-out both,\n ", " 0.2s ease-in-out both;\n"])), keyframes_1.scaleBounceOutIncludeTranslate02, keyframes_1.fadeOut);
|
|
14
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
|
|
@@ -6,18 +6,18 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.scaleBounceOutIncludeTranslate02 = exports.scaleBounceOutIncludeTranslate = exports.scaleBounceInIncludeTranslate02 = exports.scaleBounceInIncludeTranslate = exports.scaleBounceIn02 = exports.scaleBounceIn = exports.gelatine = exports.scaleDownIncludeTranslate = exports.scaleUpIncludeTranslate = exports.scaleDown = exports.scaleUp = exports.glow = exports.fadeOut = exports.fadeIn = void 0;
|
|
8
8
|
var styled_components_1 = require("styled-components");
|
|
9
|
-
exports.fadeIn = (0, styled_components_1.keyframes)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n
|
|
10
|
-
exports.fadeOut = (0, styled_components_1.keyframes)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n
|
|
11
|
-
exports.glow = (0, styled_components_1.keyframes)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n
|
|
12
|
-
exports.scaleUp = (0, styled_components_1.keyframes)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n
|
|
13
|
-
exports.scaleDown = (0, styled_components_1.keyframes)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n
|
|
14
|
-
exports.scaleUpIncludeTranslate = (0, styled_components_1.keyframes)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n
|
|
15
|
-
exports.scaleDownIncludeTranslate = (0, styled_components_1.keyframes)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n
|
|
16
|
-
exports.gelatine = (0, styled_components_1.keyframes)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n
|
|
17
|
-
exports.scaleBounceIn = (0, styled_components_1.keyframes)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n
|
|
18
|
-
exports.scaleBounceIn02 = (0, styled_components_1.keyframes)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n
|
|
19
|
-
exports.scaleBounceInIncludeTranslate = (0, styled_components_1.keyframes)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n
|
|
20
|
-
exports.scaleBounceInIncludeTranslate02 = (0, styled_components_1.keyframes)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n
|
|
21
|
-
exports.scaleBounceOutIncludeTranslate = (0, styled_components_1.keyframes)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n
|
|
22
|
-
exports.scaleBounceOutIncludeTranslate02 = (0, styled_components_1.keyframes)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n
|
|
9
|
+
exports.fadeIn = (0, styled_components_1.keyframes)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n from { opacity: 0.7; }\n to { opacity: 1; }\n"], ["\n from { opacity: 0.7; }\n to { opacity: 1; }\n"])));
|
|
10
|
+
exports.fadeOut = (0, styled_components_1.keyframes)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n from { opacity: 1; }\n to { opacity: 0.7; }\n"], ["\n from { opacity: 1; }\n to { opacity: 0.7; }\n"])));
|
|
11
|
+
exports.glow = (0, styled_components_1.keyframes)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n from { transform: scale(1); }\n to { transform: scale(1.03); }\n"], ["\n from { transform: scale(1); }\n to { transform: scale(1.03); }\n"])));
|
|
12
|
+
exports.scaleUp = (0, styled_components_1.keyframes)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n from { transform: scale(0.95); }\n to { transform: scale(1); }\n"], ["\n from { transform: scale(0.95); }\n to { transform: scale(1); }\n"])));
|
|
13
|
+
exports.scaleDown = (0, styled_components_1.keyframes)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n from { transform: scale(1); }\n to { transform: scale(0.95); }\n"], ["\n from { transform: scale(1); }\n to { transform: scale(0.95); }\n"])));
|
|
14
|
+
exports.scaleUpIncludeTranslate = (0, styled_components_1.keyframes)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n from { transform: scale(0.97) translate(-50%, -50%); }\n to { transform: scale(1) translate(-50%, -50%); }\n"], ["\n from { transform: scale(0.97) translate(-50%, -50%); }\n to { transform: scale(1) translate(-50%, -50%); }\n"])));
|
|
15
|
+
exports.scaleDownIncludeTranslate = (0, styled_components_1.keyframes)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n from { transform: scale(1) translate(-50%, -50%); }\n to { transform: scale(0.97) translate(-50%, -50%); }\n"], ["\n from { transform: scale(1) translate(-50%, -50%); }\n to { transform: scale(0.97) translate(-50%, -50%); }\n"])));
|
|
16
|
+
exports.gelatine = (0, styled_components_1.keyframes)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n from, 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 from, 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"])));
|
|
17
|
+
exports.scaleBounceIn = (0, styled_components_1.keyframes)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n from, to {\n transform: scale(1);\n }\n 23% {\n transform: scale(1.03);\n }\n 66% {\n transform: scale(0.99);\n }\n"], ["\n from, to {\n transform: scale(1);\n }\n 23% {\n transform: scale(1.03);\n }\n 66% {\n transform: scale(0.99);\n }\n"])));
|
|
18
|
+
exports.scaleBounceIn02 = (0, styled_components_1.keyframes)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n from {\n transform: scale(0.9);\n }\n 50% {\n transform: scale(1.01);\n }\n to {\n transform: scale(1);\n }\n"], ["\n from {\n transform: scale(0.9);\n }\n 50% {\n transform: scale(1.01);\n }\n to {\n transform: scale(1);\n }\n"])));
|
|
19
|
+
exports.scaleBounceInIncludeTranslate = (0, styled_components_1.keyframes)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n from, to {\n transform: scale(1) translate(-50%, -50%);\n }\n 33% {\n transform: scale(1.03) translate(-50%, -50%);\n }\n 66% {\n transform: scale(0.99) translate(-50%, -50%);\n }\n"], ["\n from, to {\n transform: scale(1) translate(-50%, -50%);\n }\n 33% {\n transform: scale(1.03) translate(-50%, -50%);\n }\n 66% {\n transform: scale(0.99) translate(-50%, -50%);\n }\n"])));
|
|
20
|
+
exports.scaleBounceInIncludeTranslate02 = (0, styled_components_1.keyframes)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n from {\n transform: scale(0.9) translate(-50%, -50%);\n }\n 50% {\n transform: scale(1.01) translate(-50%, -50%);\n }\n to {\n transform: scale(1) translate(-50%, -50%);\n }\n"], ["\n from {\n transform: scale(0.9) translate(-50%, -50%);\n }\n 50% {\n transform: scale(1.01) translate(-50%, -50%);\n }\n to {\n transform: scale(1) translate(-50%, -50%);\n }\n"])));
|
|
21
|
+
exports.scaleBounceOutIncludeTranslate = (0, styled_components_1.keyframes)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n from, to {\n transform: scale(1) translate(-50%, -50%);\n }\n 33% {\n transform: scale(0.99) translate(-50%, -50%);\n }\n 66% {\n transform: scale(1.03) translate(-50%, -50%);\n }\n"], ["\n from, to {\n transform: scale(1) translate(-50%, -50%);\n }\n 33% {\n transform: scale(0.99) translate(-50%, -50%);\n }\n 66% {\n transform: scale(1.03) translate(-50%, -50%);\n }\n"])));
|
|
22
|
+
exports.scaleBounceOutIncludeTranslate02 = (0, styled_components_1.keyframes)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n from {\n transform: scale(1) translate(-50%, -50%);\n }\n 50% {\n transform: scale(1.01) translate(-50%, -50%);\n }\n to {\n transform: scale(0.9) translate(-50%, -50%);\n }\n"], ["\n from {\n transform: scale(1) translate(-50%, -50%);\n }\n 50% {\n transform: scale(1.01) translate(-50%, -50%);\n }\n to {\n transform: scale(0.9) translate(-50%, -50%);\n }\n"])));
|
|
23
23
|
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, templateObject_13, templateObject_14;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const AdminListItemTransition: import("styled-components").FlattenSimpleInterpolation;
|
|
2
2
|
export declare const TextFieldTransition: import("styled-components").FlattenSimpleInterpolation;
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const ButtonTransition: import("styled-components").FlattenSimpleInterpolation;
|
|
@@ -4,9 +4,9 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
4
4
|
return cooked;
|
|
5
5
|
};
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.
|
|
7
|
+
exports.ButtonTransition = exports.TextFieldTransition = exports.AdminListItemTransition = void 0;
|
|
8
8
|
var styled_components_1 = require("styled-components");
|
|
9
9
|
exports.AdminListItemTransition = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n transition: background-color 0.15s ease-out;\n"], ["\n transition: background-color 0.15s ease-out;\n"])));
|
|
10
|
-
exports.TextFieldTransition = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n transition: background-color 0.15s ease-out;\n
|
|
11
|
-
exports.
|
|
10
|
+
exports.TextFieldTransition = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n transition: background-color 0.15s ease-out;\n"], ["\n transition: background-color 0.15s ease-out;\n"])));
|
|
11
|
+
exports.ButtonTransition = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n transition: background-color 0.1s ease-out;\n"], ["\n transition: background-color 0.1s ease-out;\n"])));
|
|
12
12
|
var templateObject_1, templateObject_2, templateObject_3;
|
|
@@ -255,13 +255,13 @@ var S_SelectionColumn = styled_components_1.default.div(templateObject_23 || (te
|
|
|
255
255
|
});
|
|
256
256
|
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
257
|
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 ", ";\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 ", "\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) {
|
|
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 ", "\n\n ", ";\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 ", "\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
259
|
var theme = _a.theme, isSelected = _a.isSelected;
|
|
260
260
|
return isSelected ? theme.ui_cpnt_datatable_base_selected : theme.ui_cpnt_datatable_base_default;
|
|
261
261
|
}, function (_a) {
|
|
262
262
|
var theme = _a.theme;
|
|
263
263
|
return theme.spacing.spacingC;
|
|
264
|
-
}, function (_a) {
|
|
264
|
+
}, transitionStyle_1.AdminListItemTransition, function (_a) {
|
|
265
265
|
var rowSize = _a.rowSize;
|
|
266
266
|
return rowSize && { high: highRow, medium: mediumRow, low: lowRow }[rowSize];
|
|
267
267
|
}, function (_a) {
|
|
@@ -89,7 +89,7 @@ var S_ModalOverlay = styled_components_1.default.div(templateObject_4 || (templa
|
|
|
89
89
|
var theme = _a.theme;
|
|
90
90
|
return theme.ui_cpnt_alertdialog_dimmed;
|
|
91
91
|
});
|
|
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
|
|
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 ", "\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 ", "\n"])), function (_a) {
|
|
93
93
|
var theme = _a.theme;
|
|
94
94
|
return theme.ui_cpnt_alertdialog_base;
|
|
95
95
|
}, function (_a) {
|
|
@@ -25,6 +25,7 @@ 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");
|
|
28
29
|
var hybrid_1 = require("../../../hybrid");
|
|
29
30
|
var ContextMenu_1 = require("../ContextMenu");
|
|
30
31
|
var ContextMenuItem_1 = require("../ContextMenuItem");
|
|
@@ -270,7 +271,14 @@ var borderColor = (0, styled_components_1.css)(templateObject_10 || (templateObj
|
|
|
270
271
|
return theme.ui_cpnt_dropdown_border_normal;
|
|
271
272
|
}
|
|
272
273
|
});
|
|
273
|
-
var
|
|
274
|
+
var normal_transition = (0, styled_components_1.css)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n &:hover {\n background-color: ", ";\n }\n\n &:active {\n background-color: ", ";\n }\n"], ["\n &:hover {\n background-color: ", ";\n }\n\n &:active {\n background-color: ", ";\n }\n"])), function (_a) {
|
|
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) {
|
|
274
282
|
var state = _a.state;
|
|
275
283
|
switch (state) {
|
|
276
284
|
case 'disabled':
|
|
@@ -310,10 +318,13 @@ var S_Select = styled_components_1.default.div(templateObject_11 || (templateObj
|
|
|
310
318
|
}, function (_a) {
|
|
311
319
|
var customWidth = _a.customWidth;
|
|
312
320
|
return customWidth && "width: " + customWidth + ";";
|
|
321
|
+
}, transitionStyle_1.TextFieldTransition, function (_a) {
|
|
322
|
+
var state = _a.state;
|
|
323
|
+
return state === 'normal' && normal_transition;
|
|
313
324
|
});
|
|
314
|
-
var S_ContextMenuWrapper = styled_components_1.default.div(
|
|
325
|
+
var S_ContextMenuWrapper = styled_components_1.default.div(templateObject_13 || (templateObject_13 = __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) {
|
|
315
326
|
var theme = _a.theme;
|
|
316
327
|
return theme.spacing.spacingB;
|
|
317
328
|
});
|
|
318
329
|
exports.default = Dropdown;
|
|
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;
|
|
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, templateObject_13;
|
|
@@ -230,7 +230,14 @@ var disabled = (0, styled_components_1.css)(templateObject_9 || (templateObject_
|
|
|
230
230
|
var theme = _a.theme;
|
|
231
231
|
return theme.ui_cpnt_textfield_border_disabled;
|
|
232
232
|
});
|
|
233
|
-
var
|
|
233
|
+
var normal_transition = (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n &:hover {\n background-color: ", ";\n }\n\n &:active {\n background-color: ", ";\n }\n"], ["\n &:hover {\n background-color: ", ";\n }\n\n &:active {\n background-color: ", ";\n }\n"])), function (_a) {
|
|
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) {
|
|
234
241
|
var state = _a.state;
|
|
235
242
|
return (state === 'disabled' ? 'not-allowed' : 'text');
|
|
236
243
|
}, function (_a) {
|
|
@@ -252,8 +259,11 @@ var S_S_TextFieldBaseWrapper = styled_components_1.default.div(templateObject_10
|
|
|
252
259
|
}, function (_a) {
|
|
253
260
|
var customWidth = _a.customWidth;
|
|
254
261
|
return customWidth && "width: " + customWidth + ";";
|
|
262
|
+
}, transitionStyle_1.TextFieldTransition, function (_a) {
|
|
263
|
+
var state = _a.state;
|
|
264
|
+
return state === 'normal' && normal_transition;
|
|
255
265
|
});
|
|
256
|
-
var S_Error = styled_components_1.default.div(
|
|
266
|
+
var S_Error = styled_components_1.default.div(templateObject_12 || (templateObject_12 = __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) {
|
|
257
267
|
var theme = _a.theme;
|
|
258
268
|
return theme.ui_cpnt_textfield_text_error;
|
|
259
269
|
}, function (_a) {
|
|
@@ -272,6 +282,6 @@ var S_Error = styled_components_1.default.div(templateObject_11 || (templateObje
|
|
|
272
282
|
var theme = _a.theme, isFocused = _a.isFocused;
|
|
273
283
|
return isFocused ? theme.spacing.spacingI : theme.spacing.spacingA;
|
|
274
284
|
});
|
|
275
|
-
var S_ButtonBox = styled_components_1.default.div(
|
|
285
|
+
var S_ButtonBox = styled_components_1.default.div(templateObject_13 || (templateObject_13 = __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"])));
|
|
276
286
|
exports.default = EditApplyTextField;
|
|
277
|
-
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;
|
|
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, templateObject_13;
|
|
@@ -28,7 +28,7 @@ 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
|
|
31
|
+
var transitionStyle_1 = require("../../../common/styles/movement/transitionStyle");
|
|
32
32
|
var hybrid_1 = require("../../../hybrid");
|
|
33
33
|
var TextLabel_1 = require("../TextLabel");
|
|
34
34
|
// NOTE : 기획상 아직 사용하지 않는 props
|
|
@@ -69,7 +69,7 @@ var disabled = (0, styled_components_1.css)(templateObject_3 || (templateObject_
|
|
|
69
69
|
var theme = _a.theme;
|
|
70
70
|
return theme.ui_cpnt_button_fill_base_disabled;
|
|
71
71
|
});
|
|
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 &:hover:enabled {\n ", "
|
|
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 &::before {\n content: '';\n border-radius: inherit;\n position: absolute;\n background-color: transparent;\n height: 100%;\n width: 100%;\n padding: 0;\n ", "\n }\n\n &:hover:enabled::before {\n background-color: ", ";\n }\n\n &:active:enabled::before {\n background-color: ", ";\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 &::before {\n content: '';\n border-radius: inherit;\n position: absolute;\n background-color: transparent;\n height: 100%;\n width: 100%;\n padding: 0;\n ", "\n }\n\n &:hover:enabled::before {\n background-color: ", ";\n }\n\n &:active:enabled::before {\n background-color: ", ";\n }\n\n ", "\n"])), function (_a) {
|
|
73
73
|
var theme = _a.theme;
|
|
74
74
|
return theme.ui_cpnt_button_fill_base_primary;
|
|
75
75
|
}, function (_a) {
|
|
@@ -78,9 +78,12 @@ var floatingActionButtonStyle = (0, styled_components_1.css)(templateObject_4 ||
|
|
|
78
78
|
}, function (_a) {
|
|
79
79
|
var state = _a.state;
|
|
80
80
|
return (state === 'normal' ? 'pointer' : 'default');
|
|
81
|
-
},
|
|
81
|
+
}, transitionStyle_1.ButtonTransition, function (_a) {
|
|
82
82
|
var theme = _a.theme;
|
|
83
|
-
return
|
|
83
|
+
return theme.ui_cpnt_button_fill_on_base_hover;
|
|
84
|
+
}, function (_a) {
|
|
85
|
+
var theme = _a.theme;
|
|
86
|
+
return theme.ui_cpnt_button_fill_on_base_pressed;
|
|
84
87
|
}, function (_a) {
|
|
85
88
|
var state = _a.state;
|
|
86
89
|
return state === 'disabled' && disabled;
|
|
@@ -28,6 +28,7 @@ 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");
|
|
31
32
|
var hybrid_1 = require("../../../hybrid");
|
|
32
33
|
function IconButton(_a) {
|
|
33
34
|
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;
|
|
@@ -73,19 +74,19 @@ var fillDisabled = (0, styled_components_1.css)(templateObject_1 || (templateObj
|
|
|
73
74
|
? ''
|
|
74
75
|
: theme.ui_cpnt_button_fill_base_disabled;
|
|
75
76
|
});
|
|
76
|
-
var fill = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n\n &:hover:enabled {\n ", "
|
|
77
|
+
var fill = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n position: relative;\n\n &::before {\n content: '';\n border-radius: inherit;\n position: absolute;\n background-color: transparent;\n height: 100%;\n width: 100%;\n ", "\n }\n\n &:hover:enabled::before {\n background-color: ", ";\n }\n\n &:active:enabled::before {\n background-color: ", ";\n }\n\n ", ";\n"], ["\n background-color: ", ";\n border: none;\n position: relative;\n\n &::before {\n content: '';\n border-radius: inherit;\n position: absolute;\n background-color: transparent;\n height: 100%;\n width: 100%;\n ", "\n }\n\n &:hover:enabled::before {\n background-color: ", ";\n }\n\n &:active:enabled::before {\n background-color: ", ";\n }\n\n ", ";\n"])), function (_a) {
|
|
77
78
|
var theme = _a.theme, baseColorKey = _a.baseColorKey;
|
|
78
79
|
return baseColorKey ? theme[baseColorKey] : theme.ui_cpnt_button_fill_base_primary;
|
|
79
|
-
}, function (_a) {
|
|
80
|
+
}, transitionStyle_1.ButtonTransition, function (_a) {
|
|
80
81
|
var theme = _a.theme, baseColorKey = _a.baseColorKey;
|
|
81
82
|
return baseColorKey === 'ui_cpnt_button_fill_base_transparent'
|
|
82
83
|
? ''
|
|
83
|
-
:
|
|
84
|
+
: theme.ui_cpnt_button_fill_on_base_hover;
|
|
84
85
|
}, function (_a) {
|
|
85
86
|
var theme = _a.theme, baseColorKey = _a.baseColorKey;
|
|
86
87
|
return baseColorKey === 'ui_cpnt_button_fill_base_transparent'
|
|
87
88
|
? ''
|
|
88
|
-
:
|
|
89
|
+
: theme.ui_cpnt_button_fill_on_base_pressed;
|
|
89
90
|
}, function (_a) {
|
|
90
91
|
var state = _a.state;
|
|
91
92
|
return state === 'disabled' && fillDisabled;
|
|
@@ -97,7 +98,7 @@ var lineDisabled = (0, styled_components_1.css)(templateObject_3 || (templateObj
|
|
|
97
98
|
var theme = _a.theme;
|
|
98
99
|
return theme.ui_cpnt_button_line_border_disabled;
|
|
99
100
|
});
|
|
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) {
|
|
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 ", "\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\n ", ";\n"])), function (_a) {
|
|
101
102
|
var theme = _a.theme;
|
|
102
103
|
return theme.ui_cpnt_button_line_base_default;
|
|
103
104
|
}, function (_a) {
|
|
@@ -119,7 +120,7 @@ var line = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 =
|
|
|
119
120
|
}, function (_a) {
|
|
120
121
|
var theme = _a.theme;
|
|
121
122
|
return "background-color: " + theme.ui_cpnt_button_line_base_pressed + "\n ;";
|
|
122
|
-
}, function (_a) {
|
|
123
|
+
}, transitionStyle_1.ButtonTransition, function (_a) {
|
|
123
124
|
var state = _a.state;
|
|
124
125
|
return state === 'disabled' && lineDisabled;
|
|
125
126
|
});
|
|
@@ -25,6 +25,7 @@ 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");
|
|
28
29
|
var numberHelper_1 = require("../../../common/utils/numberHelper");
|
|
29
30
|
var hybrid_1 = require("../../../hybrid");
|
|
30
31
|
var TextLabel_1 = require("../TextLabel");
|
|
@@ -77,12 +78,12 @@ var disabled = (0, styled_components_1.css)(templateObject_1 || (templateObject_
|
|
|
77
78
|
var theme = _a.theme;
|
|
78
79
|
return theme.ui_cpnt_button_fill_base_disabled;
|
|
79
80
|
});
|
|
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 ", "
|
|
81
|
+
var normal = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n cursor: pointer;\n border: none;\n position: relative;\n\n &:focus {\n outline: none;\n }\n\n &::before {\n content: '';\n border-radius: inherit;\n position: absolute;\n background-color: transparent;\n height: 100%;\n width: 100%;\n padding: 0;\n ", "\n }\n\n &:hover:enabled::before {\n background-color: ", ";\n }\n\n &:active:enabled::before {\n background-color: ", ";\n }\n"], ["\n cursor: pointer;\n border: none;\n position: relative;\n\n &:focus {\n outline: none;\n }\n\n &::before {\n content: '';\n border-radius: inherit;\n position: absolute;\n background-color: transparent;\n height: 100%;\n width: 100%;\n padding: 0;\n ", "\n }\n\n &:hover:enabled::before {\n background-color: ", ";\n }\n\n &:active:enabled::before {\n background-color: ", ";\n }\n"])), transitionStyle_1.ButtonTransition, function (_a) {
|
|
81
82
|
var theme = _a.theme;
|
|
82
|
-
return
|
|
83
|
+
return theme.ui_transition_test_main_button_secondary_hover;
|
|
83
84
|
}, function (_a) {
|
|
84
85
|
var theme = _a.theme;
|
|
85
|
-
return
|
|
86
|
+
return theme.ui_transition_test_main_button_secondary_active;
|
|
86
87
|
});
|
|
87
88
|
var view_only = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n cursor: default;\n"], ["\n cursor: default;\n"])));
|
|
88
89
|
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"])));
|