pds-dev-kit-web 0.7.0 → 0.7.1
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 +6 -1
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +6 -1
- package/dist/src/common/styles/colorSet/SemanticColor.json +2 -1
- package/dist/src/common/styles/colorSet/UIColor.json +6 -1
- package/dist/src/common/styles/colorSet/index.d.ts +205 -189
- package/dist/src/common/styles/colorSet/index.js +4 -4
- package/dist/src/common/styles/colorSet/ui-type.d.ts +5 -0
- package/dist/src/desktop/components/ImageSlide/ImageSlide.d.ts +3 -1
- package/dist/src/desktop/components/ImageSlide/ImageSlide.js +5 -5
- package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +7 -3
- package/dist/src/desktop/components/TextLabel/TextLabel.js +20 -9
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.d.ts +1 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.js +2 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTQ.d.ts +10 -0
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTQ.js +48 -0
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/index.d.ts +1 -0
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/index.js +3 -1
- package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.d.ts +1 -1
- package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.js +8 -4
- package/dist/src/mobile/components/ImageSlide/ImageSlide.d.ts +3 -1
- package/dist/src/mobile/components/ImageSlide/ImageSlide.js +5 -5
- package/dist/src/mobile/components/MobileHeaderBar/MobileHeaderBar.d.ts +2 -2
- package/dist/src/mobile/components/MobileHeaderBar/MobileHeaderBar.js +2 -2
- package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +7 -3
- package/dist/src/mobile/components/TextLabel/TextLabel.js +20 -9
- package/package.json +2 -2
- package/release-note.md +21 -19
|
@@ -129,5 +129,10 @@
|
|
|
129
129
|
"sys_channeldesc_grey_03": "darkgrey400",
|
|
130
130
|
"sys_channeldesc_border_grey_03": "darkgrey100",
|
|
131
131
|
"sys_gradient_base_01": "grey950",
|
|
132
|
-
"sys_gradient_base_01_opacity00": "grey950/opacity00"
|
|
132
|
+
"sys_gradient_base_01_opacity00": "grey950/opacity00",
|
|
133
|
+
"sys_channeldesc_background": "grey950/opacity80",
|
|
134
|
+
"sys_channeldesc_bottomsheet_base": "grey950/opacity80",
|
|
135
|
+
"sys_channeldesc_bottomsheet_border": "darkgrey100",
|
|
136
|
+
"sys_channeldesc_contents_base": "darkgrey50/opacity90",
|
|
137
|
+
"sys_channeldesc_dimmed": "grey950/opacity30"
|
|
133
138
|
}
|
|
@@ -129,5 +129,10 @@
|
|
|
129
129
|
"sys_channeldesc_grey_03": "darkgrey400",
|
|
130
130
|
"sys_channeldesc_border_grey_03": "darkgrey100",
|
|
131
131
|
"sys_gradient_base_01": "white",
|
|
132
|
-
"sys_gradient_base_01_opacity00": "white/opacity00"
|
|
132
|
+
"sys_gradient_base_01_opacity00": "white/opacity00",
|
|
133
|
+
"sys_channeldesc_background": "white/opacity80",
|
|
134
|
+
"sys_channeldesc_bottomsheet_base": "white/opacity95",
|
|
135
|
+
"sys_channeldesc_bottomsheet_border": "grey100",
|
|
136
|
+
"sys_channeldesc_contents_base": "grey50/opacity80",
|
|
137
|
+
"sys_channeldesc_dimmed": "grey950/opacity30"
|
|
133
138
|
}
|
|
@@ -459,5 +459,10 @@
|
|
|
459
459
|
"ui_cpnt_bottomsheet_border": "sys_border_line_01",
|
|
460
460
|
"ui_cpnt_userdesktopsidetab_base_area": "sys_component_base_white_opacity00",
|
|
461
461
|
"ui_cpnt_pg_gradient_01": "sys_gradient_base_01",
|
|
462
|
-
"ui_cpnt_pg_gradient_02": "sys_gradient_base_01_opacity00"
|
|
462
|
+
"ui_cpnt_pg_gradient_02": "sys_gradient_base_01_opacity00",
|
|
463
|
+
"ui_channeldesc_background": "sys_channeldesc_background",
|
|
464
|
+
"ui_channeldesc_bottomsheet_base": "sys_channeldesc_bottomsheet_base",
|
|
465
|
+
"ui_channeldesc_bottomsheet_border": "sys_channeldesc_bottomsheet_border",
|
|
466
|
+
"ui_channeldesc_contents_base": "sys_channeldesc_contents_base",
|
|
467
|
+
"ui_channeldesc_dimmed": "sys_channeldesc_dimmed"
|
|
463
468
|
}
|
|
@@ -1,4 +1,199 @@
|
|
|
1
1
|
declare const colorSet: {
|
|
2
|
+
readonly PaletteColor_Dark: {
|
|
3
|
+
sys_container_background_01: string;
|
|
4
|
+
sys_container_background_02: string;
|
|
5
|
+
sys_container_background_03: string;
|
|
6
|
+
sys_background_dimmed: string;
|
|
7
|
+
sys_text_grey_01: string;
|
|
8
|
+
sys_text_grey_02: string;
|
|
9
|
+
sys_text_grey_03: string;
|
|
10
|
+
sys_text_white: string;
|
|
11
|
+
sys_text_brand_primary: string;
|
|
12
|
+
sys_text_error_01: string;
|
|
13
|
+
sys_widget_grey_01: string;
|
|
14
|
+
sys_widget_grey_02: string;
|
|
15
|
+
sys_widget_grey_03: string;
|
|
16
|
+
sys_widget_primary_01: string;
|
|
17
|
+
sys_widget_error_01: string;
|
|
18
|
+
sys_widget_warning_01: string;
|
|
19
|
+
sys_widget_success_01: string;
|
|
20
|
+
sys_widget_white: string;
|
|
21
|
+
sys_border_area_01: string;
|
|
22
|
+
sys_border_line_01: string;
|
|
23
|
+
sys_border_line_02: string;
|
|
24
|
+
sys_border_line_03: string;
|
|
25
|
+
sys_border_line_04: string;
|
|
26
|
+
sys_border_line_05: string;
|
|
27
|
+
sys_component_base_01: string;
|
|
28
|
+
sys_component_base_02: string;
|
|
29
|
+
sys_component_base_03: string;
|
|
30
|
+
sys_component_base_red: string;
|
|
31
|
+
sys_component_base_white: string;
|
|
32
|
+
sys_component_base_white_opacity00: string;
|
|
33
|
+
sys_on_base_white_opacity00: string;
|
|
34
|
+
sys_on_base_white_opacity30: string;
|
|
35
|
+
sys_on_base_black_opacity20: string;
|
|
36
|
+
usr_brand_primary: string;
|
|
37
|
+
usr_brand_secondary: string;
|
|
38
|
+
usr_brand_secondary_variant: string;
|
|
39
|
+
usr_background: string;
|
|
40
|
+
usr_surface: string;
|
|
41
|
+
usr_border: string;
|
|
42
|
+
usr_on_brand_primary: string;
|
|
43
|
+
usr_on_brand_secondary: string;
|
|
44
|
+
usr_on_background: string;
|
|
45
|
+
usr_on_surface: string;
|
|
46
|
+
sys_widget_status_active_01: string;
|
|
47
|
+
sys_text_success_01: string;
|
|
48
|
+
sys_widget_grey_04: string;
|
|
49
|
+
sys_text_active: string;
|
|
50
|
+
sys_component_base_blue: string;
|
|
51
|
+
sys_on_base_black_opacity65: string;
|
|
52
|
+
sys_component_base_04: string;
|
|
53
|
+
sys_component_base_black: string;
|
|
54
|
+
sys_component_base_black_opacity00: string;
|
|
55
|
+
usr_text_brand_secondary_variant: string;
|
|
56
|
+
usr_text_brand_primary: string;
|
|
57
|
+
usr_text_brand_on_primary: string;
|
|
58
|
+
sys_text_brand_secondary_variant: string;
|
|
59
|
+
sys_component_base_navy: string;
|
|
60
|
+
sys_widget_lightgreen: string;
|
|
61
|
+
sys_border_line_06: string;
|
|
62
|
+
sys_background_dimmed_20: string;
|
|
63
|
+
sys_widget_pink: string;
|
|
64
|
+
sys_widget_primary_opacity20: string;
|
|
65
|
+
sys_widget_secondary_variant_01: string;
|
|
66
|
+
usr_component_base_brand_primary_opacity10: string;
|
|
67
|
+
sys_temp_grey_01: string;
|
|
68
|
+
sys_temp_grey_02: string;
|
|
69
|
+
sys_temp_grey_03: string;
|
|
70
|
+
sys_temp_grey_04: string;
|
|
71
|
+
sys_temp_grey_05: string;
|
|
72
|
+
sys_temp_white: string;
|
|
73
|
+
sys_temp_primary_01: string;
|
|
74
|
+
sys_temp_secondary_01: string;
|
|
75
|
+
sys_temp_red: string;
|
|
76
|
+
sys_temp_white_opacity_00: string;
|
|
77
|
+
sys_temp_dimmed: string;
|
|
78
|
+
sys_temp_black: string;
|
|
79
|
+
sys_temp_primary_02: string;
|
|
80
|
+
sys_temp_primary_03: string;
|
|
81
|
+
sys_temp_secondary_02: string;
|
|
82
|
+
sys_temp_lightgreen_01: string;
|
|
83
|
+
sys_text_grey_04: string;
|
|
84
|
+
sys_papp_post_social_background: string;
|
|
85
|
+
sys_papp_post_notice_background: string;
|
|
86
|
+
sys_papp_post_free_background: string;
|
|
87
|
+
sys_papp_vod_background: string;
|
|
88
|
+
sys_papp_vodplus_background: string;
|
|
89
|
+
sys_papp_live_background: string;
|
|
90
|
+
sys_selcontrols_base_off_disabled: string;
|
|
91
|
+
sys_selcontrols_base_on_disabled: string;
|
|
92
|
+
sys_component_base_blue_opacity10: string;
|
|
93
|
+
sys_component_base_05: string;
|
|
94
|
+
sys_background_dimmed_65: string;
|
|
95
|
+
sys_temp_grey_06: string;
|
|
96
|
+
sys_on_base_white_opacity10: string;
|
|
97
|
+
sys_on_base_black_opacity10: string;
|
|
98
|
+
sys_component_base_05_opacity00: string;
|
|
99
|
+
sys_papp_post_notice_link: string;
|
|
100
|
+
sys_component_base_navy_light: string;
|
|
101
|
+
sys_component_base_orange: string;
|
|
102
|
+
sys_component_base_grey: string;
|
|
103
|
+
sys_component_base_black_opacity80: string;
|
|
104
|
+
sys_text_darkgrey_02: string;
|
|
105
|
+
sys_border_line_darktheme_01: string;
|
|
106
|
+
sys_border_line_darktheme_02: string;
|
|
107
|
+
sys_component_base_darktheme_01: string;
|
|
108
|
+
sys_component_base_darktheme_02: string;
|
|
109
|
+
sys_component_base_darktheme_03: string;
|
|
110
|
+
sys_text_grey_darktheme_01: string;
|
|
111
|
+
sys_text_grey_darktheme_02: string;
|
|
112
|
+
sys_text_grey_darktheme_03: string;
|
|
113
|
+
sys_widget_grey_darktheme_01: string;
|
|
114
|
+
sys_widget_grey_darktheme_02: string;
|
|
115
|
+
sys_widget_grey_darktheme_03: string;
|
|
116
|
+
sys_component_base_green: string;
|
|
117
|
+
sys_text_error_darktheme_01: string;
|
|
118
|
+
sys_border_line_darktheme_03: string;
|
|
119
|
+
sys_border_line_darktheme_04: string;
|
|
120
|
+
usr_widget_brand_primary_darktheme_01: string;
|
|
121
|
+
usr_text_brand_primary_darktheme_01: string;
|
|
122
|
+
sys_component_base_black_opacity50: string;
|
|
123
|
+
sys_component_base_card: string;
|
|
124
|
+
sys_cpnt_textlabel_sys_brand_primary_opacity50: string;
|
|
125
|
+
sys_widget_green_01: string;
|
|
126
|
+
sys_component_base_black_opacity30: string;
|
|
127
|
+
sys_area_background: string;
|
|
128
|
+
sys_border_white_opacity30: string;
|
|
129
|
+
sys_container_background_wt: string;
|
|
130
|
+
sys_channeldesc_grey_03: string;
|
|
131
|
+
sys_channeldesc_border_grey_03: string;
|
|
132
|
+
sys_gradient_base_01: string;
|
|
133
|
+
sys_gradient_base_01_opacity00: string;
|
|
134
|
+
sys_channeldesc_background: string;
|
|
135
|
+
sys_channeldesc_bottomsheet_base: string;
|
|
136
|
+
sys_channeldesc_bottomsheet_border: string;
|
|
137
|
+
sys_channeldesc_contents_base: string;
|
|
138
|
+
sys_channeldesc_dimmed: string;
|
|
139
|
+
};
|
|
140
|
+
readonly SemanticColor: {
|
|
141
|
+
blue500: string;
|
|
142
|
+
blue700: string;
|
|
143
|
+
blue300: string;
|
|
144
|
+
green700: string;
|
|
145
|
+
green500: string;
|
|
146
|
+
green300: string;
|
|
147
|
+
red500: string;
|
|
148
|
+
grey900: string;
|
|
149
|
+
grey500: string;
|
|
150
|
+
grey400: string;
|
|
151
|
+
grey100: string;
|
|
152
|
+
grey50: string;
|
|
153
|
+
white: string;
|
|
154
|
+
black: string;
|
|
155
|
+
darkblue500: string;
|
|
156
|
+
grey950: string;
|
|
157
|
+
darkgrey900: string;
|
|
158
|
+
darkgrey500: string;
|
|
159
|
+
darkgrey400: string;
|
|
160
|
+
darkgrey100: string;
|
|
161
|
+
darkgrey50: string;
|
|
162
|
+
darkred500: string;
|
|
163
|
+
darkgreen700: string;
|
|
164
|
+
orange500: string;
|
|
165
|
+
darkorange500: string;
|
|
166
|
+
opacity00: string;
|
|
167
|
+
opacity20: string;
|
|
168
|
+
opacity30: string;
|
|
169
|
+
opacity65: string;
|
|
170
|
+
darkgreen500: string;
|
|
171
|
+
grey70: string;
|
|
172
|
+
navy500: string;
|
|
173
|
+
lightgreen500: string;
|
|
174
|
+
pink500: string;
|
|
175
|
+
darkgrey70: string;
|
|
176
|
+
darknavy500: string;
|
|
177
|
+
darkpink500: string;
|
|
178
|
+
darklightgreen500: string;
|
|
179
|
+
opacity10: string;
|
|
180
|
+
grey600: string;
|
|
181
|
+
darkgrey600: string;
|
|
182
|
+
skyblue500: string;
|
|
183
|
+
skyblue300: string;
|
|
184
|
+
pink300: string;
|
|
185
|
+
lightpink500: string;
|
|
186
|
+
darkblue300: string;
|
|
187
|
+
darkblue700: string;
|
|
188
|
+
darkgreen300: string;
|
|
189
|
+
darkskyblue500: string;
|
|
190
|
+
navy100: string;
|
|
191
|
+
darknavy100: string;
|
|
192
|
+
opacity80: string;
|
|
193
|
+
opacity50: string;
|
|
194
|
+
grey30: string;
|
|
195
|
+
opacity95: string;
|
|
196
|
+
};
|
|
2
197
|
readonly UIColor: {
|
|
3
198
|
ui_cpnt_button_fill_base_primary: string;
|
|
4
199
|
ui_cpnt_button_fill_base_default: string;
|
|
@@ -461,195 +656,11 @@ declare const colorSet: {
|
|
|
461
656
|
ui_cpnt_userdesktopsidetab_base_area: string;
|
|
462
657
|
ui_cpnt_pg_gradient_01: string;
|
|
463
658
|
ui_cpnt_pg_gradient_02: string;
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
green700: string;
|
|
470
|
-
green500: string;
|
|
471
|
-
green300: string;
|
|
472
|
-
red500: string;
|
|
473
|
-
grey900: string;
|
|
474
|
-
grey500: string;
|
|
475
|
-
grey400: string;
|
|
476
|
-
grey100: string;
|
|
477
|
-
grey50: string;
|
|
478
|
-
white: string;
|
|
479
|
-
black: string;
|
|
480
|
-
darkblue500: string;
|
|
481
|
-
grey950: string;
|
|
482
|
-
darkgrey900: string;
|
|
483
|
-
darkgrey500: string;
|
|
484
|
-
darkgrey400: string;
|
|
485
|
-
darkgrey100: string;
|
|
486
|
-
darkgrey50: string;
|
|
487
|
-
darkred500: string;
|
|
488
|
-
darkgreen700: string;
|
|
489
|
-
orange500: string;
|
|
490
|
-
darkorange500: string;
|
|
491
|
-
opacity00: string;
|
|
492
|
-
opacity20: string;
|
|
493
|
-
opacity30: string;
|
|
494
|
-
opacity65: string;
|
|
495
|
-
darkgreen500: string;
|
|
496
|
-
grey70: string;
|
|
497
|
-
navy500: string;
|
|
498
|
-
lightgreen500: string;
|
|
499
|
-
pink500: string;
|
|
500
|
-
darkgrey70: string;
|
|
501
|
-
darknavy500: string;
|
|
502
|
-
darkpink500: string;
|
|
503
|
-
darklightgreen500: string;
|
|
504
|
-
opacity10: string;
|
|
505
|
-
grey600: string;
|
|
506
|
-
darkgrey600: string;
|
|
507
|
-
skyblue500: string;
|
|
508
|
-
skyblue300: string;
|
|
509
|
-
pink300: string;
|
|
510
|
-
lightpink500: string;
|
|
511
|
-
darkblue300: string;
|
|
512
|
-
darkblue700: string;
|
|
513
|
-
darkgreen300: string;
|
|
514
|
-
darkskyblue500: string;
|
|
515
|
-
navy100: string;
|
|
516
|
-
darknavy100: string;
|
|
517
|
-
opacity80: string;
|
|
518
|
-
opacity50: string;
|
|
519
|
-
grey30: string;
|
|
520
|
-
};
|
|
521
|
-
readonly PaletteColor_Dark: {
|
|
522
|
-
sys_container_background_01: string;
|
|
523
|
-
sys_container_background_02: string;
|
|
524
|
-
sys_container_background_03: string;
|
|
525
|
-
sys_background_dimmed: string;
|
|
526
|
-
sys_text_grey_01: string;
|
|
527
|
-
sys_text_grey_02: string;
|
|
528
|
-
sys_text_grey_03: string;
|
|
529
|
-
sys_text_white: string;
|
|
530
|
-
sys_text_brand_primary: string;
|
|
531
|
-
sys_text_error_01: string;
|
|
532
|
-
sys_widget_grey_01: string;
|
|
533
|
-
sys_widget_grey_02: string;
|
|
534
|
-
sys_widget_grey_03: string;
|
|
535
|
-
sys_widget_primary_01: string;
|
|
536
|
-
sys_widget_error_01: string;
|
|
537
|
-
sys_widget_warning_01: string;
|
|
538
|
-
sys_widget_success_01: string;
|
|
539
|
-
sys_widget_white: string;
|
|
540
|
-
sys_border_area_01: string;
|
|
541
|
-
sys_border_line_01: string;
|
|
542
|
-
sys_border_line_02: string;
|
|
543
|
-
sys_border_line_03: string;
|
|
544
|
-
sys_border_line_04: string;
|
|
545
|
-
sys_border_line_05: string;
|
|
546
|
-
sys_component_base_01: string;
|
|
547
|
-
sys_component_base_02: string;
|
|
548
|
-
sys_component_base_03: string;
|
|
549
|
-
sys_component_base_red: string;
|
|
550
|
-
sys_component_base_white: string;
|
|
551
|
-
sys_component_base_white_opacity00: string;
|
|
552
|
-
sys_on_base_white_opacity00: string;
|
|
553
|
-
sys_on_base_white_opacity30: string;
|
|
554
|
-
sys_on_base_black_opacity20: string;
|
|
555
|
-
usr_brand_primary: string;
|
|
556
|
-
usr_brand_secondary: string;
|
|
557
|
-
usr_brand_secondary_variant: string;
|
|
558
|
-
usr_background: string;
|
|
559
|
-
usr_surface: string;
|
|
560
|
-
usr_border: string;
|
|
561
|
-
usr_on_brand_primary: string;
|
|
562
|
-
usr_on_brand_secondary: string;
|
|
563
|
-
usr_on_background: string;
|
|
564
|
-
usr_on_surface: string;
|
|
565
|
-
sys_widget_status_active_01: string;
|
|
566
|
-
sys_text_success_01: string;
|
|
567
|
-
sys_widget_grey_04: string;
|
|
568
|
-
sys_text_active: string;
|
|
569
|
-
sys_component_base_blue: string;
|
|
570
|
-
sys_on_base_black_opacity65: string;
|
|
571
|
-
sys_component_base_04: string;
|
|
572
|
-
sys_component_base_black: string;
|
|
573
|
-
sys_component_base_black_opacity00: string;
|
|
574
|
-
usr_text_brand_secondary_variant: string;
|
|
575
|
-
usr_text_brand_primary: string;
|
|
576
|
-
usr_text_brand_on_primary: string;
|
|
577
|
-
sys_text_brand_secondary_variant: string;
|
|
578
|
-
sys_component_base_navy: string;
|
|
579
|
-
sys_widget_lightgreen: string;
|
|
580
|
-
sys_border_line_06: string;
|
|
581
|
-
sys_background_dimmed_20: string;
|
|
582
|
-
sys_widget_pink: string;
|
|
583
|
-
sys_widget_primary_opacity20: string;
|
|
584
|
-
sys_widget_secondary_variant_01: string;
|
|
585
|
-
usr_component_base_brand_primary_opacity10: string;
|
|
586
|
-
sys_temp_grey_01: string;
|
|
587
|
-
sys_temp_grey_02: string;
|
|
588
|
-
sys_temp_grey_03: string;
|
|
589
|
-
sys_temp_grey_04: string;
|
|
590
|
-
sys_temp_grey_05: string;
|
|
591
|
-
sys_temp_white: string;
|
|
592
|
-
sys_temp_primary_01: string;
|
|
593
|
-
sys_temp_secondary_01: string;
|
|
594
|
-
sys_temp_red: string;
|
|
595
|
-
sys_temp_white_opacity_00: string;
|
|
596
|
-
sys_temp_dimmed: string;
|
|
597
|
-
sys_temp_black: string;
|
|
598
|
-
sys_temp_primary_02: string;
|
|
599
|
-
sys_temp_primary_03: string;
|
|
600
|
-
sys_temp_secondary_02: string;
|
|
601
|
-
sys_temp_lightgreen_01: string;
|
|
602
|
-
sys_text_grey_04: string;
|
|
603
|
-
sys_papp_post_social_background: string;
|
|
604
|
-
sys_papp_post_notice_background: string;
|
|
605
|
-
sys_papp_post_free_background: string;
|
|
606
|
-
sys_papp_vod_background: string;
|
|
607
|
-
sys_papp_vodplus_background: string;
|
|
608
|
-
sys_papp_live_background: string;
|
|
609
|
-
sys_selcontrols_base_off_disabled: string;
|
|
610
|
-
sys_selcontrols_base_on_disabled: string;
|
|
611
|
-
sys_component_base_blue_opacity10: string;
|
|
612
|
-
sys_component_base_05: string;
|
|
613
|
-
sys_background_dimmed_65: string;
|
|
614
|
-
sys_temp_grey_06: string;
|
|
615
|
-
sys_on_base_white_opacity10: string;
|
|
616
|
-
sys_on_base_black_opacity10: string;
|
|
617
|
-
sys_component_base_05_opacity00: string;
|
|
618
|
-
sys_papp_post_notice_link: string;
|
|
619
|
-
sys_component_base_navy_light: string;
|
|
620
|
-
sys_component_base_orange: string;
|
|
621
|
-
sys_component_base_grey: string;
|
|
622
|
-
sys_component_base_black_opacity80: string;
|
|
623
|
-
sys_text_darkgrey_02: string;
|
|
624
|
-
sys_border_line_darktheme_01: string;
|
|
625
|
-
sys_border_line_darktheme_02: string;
|
|
626
|
-
sys_component_base_darktheme_01: string;
|
|
627
|
-
sys_component_base_darktheme_02: string;
|
|
628
|
-
sys_component_base_darktheme_03: string;
|
|
629
|
-
sys_text_grey_darktheme_01: string;
|
|
630
|
-
sys_text_grey_darktheme_02: string;
|
|
631
|
-
sys_text_grey_darktheme_03: string;
|
|
632
|
-
sys_widget_grey_darktheme_01: string;
|
|
633
|
-
sys_widget_grey_darktheme_02: string;
|
|
634
|
-
sys_widget_grey_darktheme_03: string;
|
|
635
|
-
sys_component_base_green: string;
|
|
636
|
-
sys_text_error_darktheme_01: string;
|
|
637
|
-
sys_border_line_darktheme_03: string;
|
|
638
|
-
sys_border_line_darktheme_04: string;
|
|
639
|
-
usr_widget_brand_primary_darktheme_01: string;
|
|
640
|
-
usr_text_brand_primary_darktheme_01: string;
|
|
641
|
-
sys_component_base_black_opacity50: string;
|
|
642
|
-
sys_component_base_card: string;
|
|
643
|
-
sys_cpnt_textlabel_sys_brand_primary_opacity50: string;
|
|
644
|
-
sys_widget_green_01: string;
|
|
645
|
-
sys_component_base_black_opacity30: string;
|
|
646
|
-
sys_area_background: string;
|
|
647
|
-
sys_border_white_opacity30: string;
|
|
648
|
-
sys_container_background_wt: string;
|
|
649
|
-
sys_channeldesc_grey_03: string;
|
|
650
|
-
sys_channeldesc_border_grey_03: string;
|
|
651
|
-
sys_gradient_base_01: string;
|
|
652
|
-
sys_gradient_base_01_opacity00: string;
|
|
659
|
+
ui_channeldesc_background: string;
|
|
660
|
+
ui_channeldesc_bottomsheet_base: string;
|
|
661
|
+
ui_channeldesc_bottomsheet_border: string;
|
|
662
|
+
ui_channeldesc_contents_base: string;
|
|
663
|
+
ui_channeldesc_dimmed: string;
|
|
653
664
|
};
|
|
654
665
|
readonly PaletteColor_light: {
|
|
655
666
|
sys_container_background_01: string;
|
|
@@ -783,6 +794,11 @@ declare const colorSet: {
|
|
|
783
794
|
sys_channeldesc_border_grey_03: string;
|
|
784
795
|
sys_gradient_base_01: string;
|
|
785
796
|
sys_gradient_base_01_opacity00: string;
|
|
797
|
+
sys_channeldesc_background: string;
|
|
798
|
+
sys_channeldesc_bottomsheet_base: string;
|
|
799
|
+
sys_channeldesc_bottomsheet_border: string;
|
|
800
|
+
sys_channeldesc_contents_base: string;
|
|
801
|
+
sys_channeldesc_dimmed: string;
|
|
786
802
|
};
|
|
787
803
|
};
|
|
788
804
|
export default colorSet;
|
|
@@ -4,14 +4,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
/* eslint-disable import/order */
|
|
7
|
-
var UIColor_json_1 = __importDefault(require("./UIColor.json"));
|
|
8
|
-
var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
|
|
9
7
|
var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
|
|
8
|
+
var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
|
|
9
|
+
var UIColor_json_1 = __importDefault(require("./UIColor.json"));
|
|
10
10
|
var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
|
|
11
11
|
var colorSet = {
|
|
12
|
-
UIColor: UIColor_json_1.default,
|
|
13
|
-
SemanticColor: SemanticColor_json_1.default,
|
|
14
12
|
PaletteColor_Dark: PaletteColor_Dark_json_1.default,
|
|
13
|
+
SemanticColor: SemanticColor_json_1.default,
|
|
14
|
+
UIColor: UIColor_json_1.default,
|
|
15
15
|
PaletteColor_light: PaletteColor_light_json_1.default
|
|
16
16
|
};
|
|
17
17
|
exports.default = colorSet;
|
|
@@ -460,4 +460,9 @@ export interface UITheme {
|
|
|
460
460
|
ui_cpnt_userdesktopsidetab_base_area: string;
|
|
461
461
|
ui_cpnt_pg_gradient_01: string;
|
|
462
462
|
ui_cpnt_pg_gradient_02: string;
|
|
463
|
+
ui_channeldesc_background: string;
|
|
464
|
+
ui_channeldesc_bottomsheet_base: string;
|
|
465
|
+
ui_channeldesc_bottomsheet_border: string;
|
|
466
|
+
ui_channeldesc_contents_base: string;
|
|
467
|
+
ui_channeldesc_dimmed: string;
|
|
463
468
|
}
|
|
@@ -5,9 +5,11 @@ export declare type ImageSlideProps = {
|
|
|
5
5
|
imageShapeType?: 'round' | 'circular' | 'rectangle';
|
|
6
6
|
imageWidth?: number | 'responsive';
|
|
7
7
|
imageRatio?: '16_9' | '9_16' | '16_10' | '10_16' | '4_3' | '3_4' | '1_1';
|
|
8
|
+
radius?: 8 | 16 | 24;
|
|
9
|
+
borderMode?: 'use' | 'none';
|
|
8
10
|
};
|
|
9
11
|
export declare type ImageSlideItemProps = {
|
|
10
12
|
imageSrc?: string;
|
|
11
13
|
};
|
|
12
|
-
declare const ImageSlide: ({ status, src, imageShapeType, imageWidth, imageRatio }: ImageSlideProps) => JSX.Element;
|
|
14
|
+
declare const ImageSlide: ({ status, src, imageShapeType, imageWidth, imageRatio, radius, borderMode }: ImageSlideProps) => JSX.Element;
|
|
13
15
|
export default ImageSlide;
|
|
@@ -40,7 +40,7 @@ var react_1 = __importStar(require("react"));
|
|
|
40
40
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
41
41
|
var hybrid_1 = require("../../../hybrid");
|
|
42
42
|
var ImageSlide = function (_a) {
|
|
43
|
-
var _b = _a.status, status = _b === void 0 ? 'active' : _b, src = _a.src, _c = _a.imageShapeType, imageShapeType = _c === void 0 ? 'round' : _c, _d = _a.imageWidth, imageWidth = _d === void 0 ? 'responsive' : _d, _e = _a.imageRatio, imageRatio = _e === void 0 ? '1_1' : _e;
|
|
43
|
+
var _b = _a.status, status = _b === void 0 ? 'active' : _b, src = _a.src, _c = _a.imageShapeType, imageShapeType = _c === void 0 ? 'round' : _c, _d = _a.imageWidth, imageWidth = _d === void 0 ? 'responsive' : _d, _e = _a.imageRatio, imageRatio = _e === void 0 ? '1_1' : _e, _f = _a.radius, radius = _f === void 0 ? 24 : _f, _g = _a.borderMode, borderMode = _g === void 0 ? 'none' : _g;
|
|
44
44
|
var renderDotControls = function (_a) {
|
|
45
45
|
var currentSlide = _a.currentSlide, slideCount = _a.slideCount;
|
|
46
46
|
var dotList = __spreadArray([], Array(slideCount), true).map(function (x, i) { return ({ id: i }); });
|
|
@@ -51,8 +51,8 @@ var ImageSlide = function (_a) {
|
|
|
51
51
|
src.length > 0 &&
|
|
52
52
|
src.map(function (imageSrc, i) { return (react_1.default.createElement(react_1.Fragment, { key: i.toString() },
|
|
53
53
|
react_1.default.createElement("div", null,
|
|
54
|
-
react_1.default.createElement(S_BottomGradient, { imageShapeType: imageShapeType, imageWidth: imageWidth }),
|
|
55
|
-
react_1.default.createElement(hybrid_1.ImageView, { src: status === 'active' ? imageSrc : '', shapeType: imageShapeType, width: imageWidth, ratio: imageRatio, scaleType: "cover", radius:
|
|
54
|
+
react_1.default.createElement(S_BottomGradient, { imageShapeType: imageShapeType, imageWidth: imageWidth, radius: radius }),
|
|
55
|
+
react_1.default.createElement(hybrid_1.ImageView, { src: status === 'active' ? imageSrc : '', shapeType: imageShapeType, width: imageWidth, ratio: imageRatio, scaleType: "cover", radius: radius, borderMode: borderMode })))); }))));
|
|
56
56
|
};
|
|
57
57
|
var S_Dot = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n border-radius: 8px;\n display: inline-block;\n height: 8px;\n margin: ", ";\n width: 8px;\n\n ", "\n"], ["\n border-radius: 8px;\n display: inline-block;\n height: 8px;\n margin: ", ";\n width: 8px;\n\n ", "\n"])), function (_a) {
|
|
58
58
|
var theme = _a.theme;
|
|
@@ -85,10 +85,10 @@ var S_BottomGradient = styled_components_1.default.div(templateObject_5 || (temp
|
|
|
85
85
|
var imageWidth = _a.imageWidth;
|
|
86
86
|
return (imageWidth === 'responsive' ? '100%' : imageWidth + "px");
|
|
87
87
|
}, function (_a) {
|
|
88
|
-
var imageShapeType = _a.imageShapeType;
|
|
88
|
+
var imageShapeType = _a.imageShapeType, radius = _a.radius;
|
|
89
89
|
return imageShapeType &&
|
|
90
90
|
{
|
|
91
|
-
round:
|
|
91
|
+
round: "border-radius: " + radius + "px;",
|
|
92
92
|
circular: 'border-radius: 50%;',
|
|
93
93
|
rectangle: 'border-radius: 0;'
|
|
94
94
|
}[imageShapeType];
|
|
@@ -6,20 +6,24 @@ export declare type TextLabelProps = {
|
|
|
6
6
|
styleTheme?: 'displayBold' | 'headingBold' | 'leadParaBold' | 'leadParaRegular' | 'subTitleBold' | 'subTitleRegular' | 'body1Bold' | 'body1Regular' | 'body2Bold' | 'body2Regular' | 'caption1Bold' | 'caption1Regular' | 'caption2Bold' | 'caption2Regular' | 'form1Regular' | 'form2Regular' | 'blog1Regular';
|
|
7
7
|
colorOverride?: UiColors;
|
|
8
8
|
colorTheme?: 'sysTextPrimary' | 'sysTextSecondary' | 'sysTextTertiary' | 'sysTextWhite' | 'sysTextError' | 'sysTextBrandPrimary' | 'sysTextBrandSeconVariant' | 'usrTextBrandPrimary' | 'usrTextBrandSeconVariant' | 'usrTextBrandOnPrimary';
|
|
9
|
-
underline?: 'none' | 'use';
|
|
10
9
|
singleLineMode?: 'none' | 'use';
|
|
11
10
|
ellipsisMode?: 'none' | 'use';
|
|
12
11
|
lineLimit?: number;
|
|
12
|
+
userSelectMode?: 'none' | 'use';
|
|
13
|
+
customFontSize?: string;
|
|
14
|
+
customFontWeight?: 'bold' | 'regular';
|
|
13
15
|
};
|
|
14
16
|
export declare type TextStyleProps = {
|
|
15
17
|
textAlign?: 'left' | 'center' | 'right';
|
|
16
18
|
styleTheme?: 'displayBold' | 'headingBold' | 'leadParaBold' | 'leadParaRegular' | 'subTitleBold' | 'subTitleRegular' | 'body1Bold' | 'body1Regular' | 'body2Bold' | 'body2Regular' | 'caption1Bold' | 'caption1Regular' | 'caption2Bold' | 'caption2Regular' | 'form1Regular' | 'form2Regular' | 'blog1Regular';
|
|
17
19
|
colorOverride?: UiColors;
|
|
18
20
|
colorTheme?: 'sysTextPrimary' | 'sysTextSecondary' | 'sysTextTertiary' | 'sysTextWhite' | 'sysTextError' | 'sysTextBrandPrimary' | 'sysTextBrandSeconVariant' | 'usrTextBrandPrimary' | 'usrTextBrandSeconVariant' | 'usrTextBrandOnPrimary';
|
|
19
|
-
underline?: 'none' | 'use';
|
|
20
21
|
singleLineMode?: 'none' | 'use';
|
|
21
22
|
ellipsisMode?: 'none' | 'use';
|
|
22
23
|
lineLimit?: number;
|
|
24
|
+
userSelectMode?: 'none' | 'use';
|
|
25
|
+
customFontSize?: string;
|
|
26
|
+
customFontWeight?: 'bold' | 'regular';
|
|
23
27
|
};
|
|
24
|
-
declare function TextLabel({ text, textAlign, styleTheme, colorOverride, colorTheme,
|
|
28
|
+
declare function TextLabel({ text, textAlign, styleTheme, colorOverride, colorTheme, singleLineMode, ellipsisMode, lineLimit, userSelectMode, customFontSize, customFontWeight }: TextLabelProps): JSX.Element;
|
|
25
29
|
export default TextLabel;
|
|
@@ -30,8 +30,8 @@ var react_1 = __importDefault(require("react"));
|
|
|
30
30
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
31
31
|
var common_1 = require("../../../common");
|
|
32
32
|
function TextLabel(_a) {
|
|
33
|
-
var text = _a.text, _b = _a.textAlign, textAlign = _b === void 0 ? 'left' : _b, _c = _a.styleTheme, styleTheme = _c === void 0 ? 'body2Bold' : _c, colorOverride = _a.colorOverride, _d = _a.colorTheme, colorTheme = _d === void 0 ? 'sysTextPrimary' : _d, _e = _a.
|
|
34
|
-
return (react_1.default.createElement(S_TextLabel, { textAlign: textAlign, styleTheme: styleTheme, colorOverride: colorOverride, colorTheme: colorTheme,
|
|
33
|
+
var text = _a.text, _b = _a.textAlign, textAlign = _b === void 0 ? 'left' : _b, _c = _a.styleTheme, styleTheme = _c === void 0 ? 'body2Bold' : _c, colorOverride = _a.colorOverride, _d = _a.colorTheme, colorTheme = _d === void 0 ? 'sysTextPrimary' : _d, _e = _a.singleLineMode, singleLineMode = _e === void 0 ? 'none' : _e, _f = _a.ellipsisMode, ellipsisMode = _f === void 0 ? 'none' : _f, lineLimit = _a.lineLimit, _g = _a.userSelectMode, userSelectMode = _g === void 0 ? 'none' : _g, customFontSize = _a.customFontSize, customFontWeight = _a.customFontWeight;
|
|
34
|
+
return (react_1.default.createElement(S_TextLabel, { textAlign: textAlign, styleTheme: styleTheme, colorOverride: colorOverride, colorTheme: colorTheme, singleLineMode: singleLineMode, ellipsisMode: ellipsisMode, lineLimit: lineLimit, userSelectMode: userSelectMode, customFontSize: customFontSize, customFontWeight: customFontWeight }, text));
|
|
35
35
|
}
|
|
36
36
|
var displayBold = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
37
37
|
var theme = _a.theme;
|
|
@@ -243,20 +243,25 @@ var usrTextBrandOnPrimary = (0, styled_components_1.css)(templateObject_27 || (t
|
|
|
243
243
|
var theme = _a.theme;
|
|
244
244
|
return theme.ui_cpnt_textlabel_usr_brandonprimary;
|
|
245
245
|
});
|
|
246
|
-
var
|
|
246
|
+
var customFontStyle = (0, styled_components_1.css)(templateObject_28 || (templateObject_28 = __makeTemplateObject(["\n font-size: ", ";\n line-height: 1.5;\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: 1.5;\n font-weight: ", ";\n"])), function (_a) {
|
|
247
|
+
var customFontSize = _a.customFontSize;
|
|
248
|
+
return customFontSize;
|
|
249
|
+
}, function (_a) {
|
|
250
|
+
var theme = _a.theme, customFontWeight = _a.customFontWeight;
|
|
251
|
+
return customFontWeight === 'bold' ? theme.fontWeight.bold : theme.fontWeight.normal;
|
|
252
|
+
});
|
|
253
|
+
var colorOverrideStyle = (0, styled_components_1.css)(templateObject_29 || (templateObject_29 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
247
254
|
var colorOverride = _a.colorOverride;
|
|
248
255
|
return colorOverride && (0, common_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK')[colorOverride];
|
|
249
256
|
});
|
|
250
|
-
var ellipsisStyle = (0, styled_components_1.css)(
|
|
257
|
+
var ellipsisStyle = (0, styled_components_1.css)(templateObject_30 || (templateObject_30 = __makeTemplateObject(["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n"], ["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n"])), function (_a) {
|
|
251
258
|
var lineLimit = _a.lineLimit;
|
|
252
259
|
return lineLimit;
|
|
253
260
|
});
|
|
254
|
-
var
|
|
261
|
+
var userSelectModeStyle = (0, styled_components_1.css)(templateObject_31 || (templateObject_31 = __makeTemplateObject(["\n -ms-user-select: none;\n -moz-user-select: -moz-none;\n -khtml-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n"], ["\n -ms-user-select: none;\n -moz-user-select: -moz-none;\n -khtml-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n"])));
|
|
262
|
+
var S_TextLabel = styled_components_1.default.div(templateObject_32 || (templateObject_32 = __makeTemplateObject(["\n box-sizing: border-box;\n text-align: ", ";\n white-space: pre-wrap;\n word-break: break-all;\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"], ["\n box-sizing: border-box;\n text-align: ", ";\n white-space: pre-wrap;\n word-break: break-all;\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"])), function (_a) {
|
|
255
263
|
var textAlign = _a.textAlign;
|
|
256
264
|
return textAlign;
|
|
257
|
-
}, function (_a) {
|
|
258
|
-
var underline = _a.underline;
|
|
259
|
-
return underline === 'use' && 'underline';
|
|
260
265
|
}, function (_a) {
|
|
261
266
|
var styleTheme = _a.styleTheme;
|
|
262
267
|
return styleTheme &&
|
|
@@ -294,6 +299,9 @@ var S_TextLabel = styled_components_1.default.div(templateObject_30 || (template
|
|
|
294
299
|
usrTextBrandSeconVariant: usrTextBrandSeconVariant,
|
|
295
300
|
usrTextBrandOnPrimary: usrTextBrandOnPrimary
|
|
296
301
|
}[colorTheme];
|
|
302
|
+
}, function (_a) {
|
|
303
|
+
var customFontSize = _a.customFontSize;
|
|
304
|
+
return customFontSize && customFontStyle;
|
|
297
305
|
}, function (_a) {
|
|
298
306
|
var singleLineMode = _a.singleLineMode, ellipsisMode = _a.ellipsisMode, theme = _a.theme;
|
|
299
307
|
return singleLineMode === 'use' &&
|
|
@@ -305,6 +313,9 @@ var S_TextLabel = styled_components_1.default.div(templateObject_30 || (template
|
|
|
305
313
|
}, function (_a) {
|
|
306
314
|
var colorOverride = _a.colorOverride;
|
|
307
315
|
return colorOverride && colorOverrideStyle;
|
|
316
|
+
}, function (_a) {
|
|
317
|
+
var userSelectMode = _a.userSelectMode;
|
|
318
|
+
return userSelectMode === 'none' && userSelectModeStyle;
|
|
308
319
|
});
|
|
309
320
|
exports.default = TextLabel;
|
|
310
|
-
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, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30;
|
|
321
|
+
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, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32;
|
package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export declare type ContentsContainerProps = {
|
|
3
3
|
content1?: JSX.Element;
|
|
4
4
|
content2?: JSX.Element;
|
|
5
|
-
layoutType: 'WTA_1' | 'WTA_2' | 'WTA_3' | 'WTB_1' | 'WTC_1' | 'WTD_1' | 'WTD_2' | 'WTD_3' | 'WTD_4' | 'WTD_5' | 'WTD_6' | 'WTE_1' | 'WTF_1' | 'WTF_2' | 'WTF_3' | 'WTF_4' | 'WTF_5' | 'WTF_6' | 'WTG_1' | 'WTH_1' | 'WTH_2' | 'WTH_3' | 'WTI_1' | 'WTI_2' | 'WTJ_1' | 'WTK_1' | 'WTK_2' | 'WTK_3' | 'WTL_1' | 'WTM_1' | 'WTM_2' | 'WTN_1' | 'WTN_2' | 'WTO_1' | 'WTP_1';
|
|
5
|
+
layoutType: 'WTA_1' | 'WTA_2' | 'WTA_3' | 'WTB_1' | 'WTC_1' | 'WTD_1' | 'WTD_2' | 'WTD_3' | 'WTD_4' | 'WTD_5' | 'WTD_6' | 'WTE_1' | 'WTF_1' | 'WTF_2' | 'WTF_3' | 'WTF_4' | 'WTF_5' | 'WTF_6' | 'WTG_1' | 'WTH_1' | 'WTH_2' | 'WTH_3' | 'WTI_1' | 'WTI_2' | 'WTJ_1' | 'WTK_1' | 'WTK_2' | 'WTK_3' | 'WTL_1' | 'WTM_1' | 'WTM_2' | 'WTN_1' | 'WTN_2' | 'WTO_1' | 'WTP_1' | 'WTQ_1';
|
|
6
6
|
containerColor?: string;
|
|
7
7
|
areaColor?: string;
|
|
8
8
|
};
|
|
@@ -42,7 +42,8 @@ var ContentsContainer = function (_a) {
|
|
|
42
42
|
WTN_1: (react_1.default.createElement(variation_1.WTN, { layoutType: "WTN_1", content1: content1, containerColor: containerColor, areaColor: areaColor })),
|
|
43
43
|
WTN_2: (react_1.default.createElement(variation_1.WTN, { layoutType: "WTN_2", content1: content1, containerColor: containerColor, areaColor: areaColor })),
|
|
44
44
|
WTO_1: (react_1.default.createElement(variation_1.WTO, { layoutType: "WTO_1", content1: content1, containerColor: containerColor, areaColor: areaColor })),
|
|
45
|
-
WTP_1: (react_1.default.createElement(variation_1.WTP, { layoutType: "WTP_1", content1: content1, containerColor: containerColor, areaColor: areaColor }))
|
|
45
|
+
WTP_1: (react_1.default.createElement(variation_1.WTP, { layoutType: "WTP_1", content1: content1, containerColor: containerColor, areaColor: areaColor })),
|
|
46
|
+
WTQ_1: (react_1.default.createElement(variation_1.WTQ, { layoutType: "WTQ_1", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor }))
|
|
46
47
|
}[layoutType]));
|
|
47
48
|
};
|
|
48
49
|
exports.default = ContentsContainer;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare type WTQProps = {
|
|
3
|
+
content1?: JSX.Element;
|
|
4
|
+
content2?: JSX.Element;
|
|
5
|
+
layoutType?: 'WTQ_1';
|
|
6
|
+
containerColor?: string;
|
|
7
|
+
areaColor?: string;
|
|
8
|
+
};
|
|
9
|
+
declare const WTQ: ({ content1, content2, layoutType, containerColor, areaColor }: WTQProps) => JSX.Element;
|
|
10
|
+
export default WTQ;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
var react_1 = __importDefault(require("react"));
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
var WTQ = function (_a) {
|
|
13
|
+
var content1 = _a.content1, content2 = _a.content2, _b = _a.layoutType, layoutType = _b === void 0 ? 'WTQ_1' : _b, containerColor = _a.containerColor, areaColor = _a.areaColor;
|
|
14
|
+
return (react_1.default.createElement(S_Box, null,
|
|
15
|
+
react_1.default.createElement(S_ContentsContainer1, { layoutType: layoutType, containerColor: containerColor },
|
|
16
|
+
react_1.default.createElement(S_ContentsArea1, { layoutType: layoutType, areaColor: areaColor },
|
|
17
|
+
react_1.default.createElement(S_Content1, { layoutType: layoutType }, content1))),
|
|
18
|
+
react_1.default.createElement(S_ContentsContainer2, { layoutType: layoutType, containerColor: containerColor },
|
|
19
|
+
react_1.default.createElement(S_ContentsArea2, { layoutType: layoutType, areaColor: areaColor },
|
|
20
|
+
react_1.default.createElement(S_Content2, { layoutType: layoutType }, content2)))));
|
|
21
|
+
};
|
|
22
|
+
var S_Box = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n height: 100%;\n justify-content: center;\n"], ["\n display: flex;\n height: 100%;\n justify-content: center;\n"])));
|
|
23
|
+
var S_ContentsContainer1 = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n max-width: 760px;\n overflow-x: hidden;\n overflow-y: auto;\n flex: 1;\n height: 100%;\n width: 760px;\n ", ";\n"], ["\n background-color: ", ";\n max-width: 760px;\n overflow-x: hidden;\n overflow-y: auto;\n flex: 1;\n height: 100%;\n width: 760px;\n ", ";\n"])), function (_a) {
|
|
24
|
+
var theme = _a.theme;
|
|
25
|
+
return theme.ui_contentscontainer01_background;
|
|
26
|
+
}, function (_a) {
|
|
27
|
+
var containerColor = _a.containerColor;
|
|
28
|
+
return "background-color: " + containerColor;
|
|
29
|
+
});
|
|
30
|
+
var S_ContentsContainer2 = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n background-color: ", ";\n min-width: 320px;\n overflow-x: hidden;\n overflow-y: auto;\n height: 100%;\n width: 320px;\n ", ";\n"], ["\n background-color: ", ";\n min-width: 320px;\n overflow-x: hidden;\n overflow-y: auto;\n height: 100%;\n width: 320px;\n ", ";\n"])), function (_a) {
|
|
31
|
+
var theme = _a.theme;
|
|
32
|
+
return theme.ui_contentscontainer02_background;
|
|
33
|
+
}, function (_a) {
|
|
34
|
+
var containerColor = _a.containerColor;
|
|
35
|
+
return "background-color: " + containerColor;
|
|
36
|
+
});
|
|
37
|
+
var S_ContentsArea1 = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n padding-bottom: 88px;\n ", ";\n"], ["\n padding-bottom: 88px;\n ", ";\n"])), function (_a) {
|
|
38
|
+
var areaColor = _a.areaColor;
|
|
39
|
+
return "background-color: " + areaColor;
|
|
40
|
+
});
|
|
41
|
+
var S_ContentsArea2 = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n padding-bottom: 88px;\n ", ";\n"], ["\n padding-bottom: 88px;\n ", ";\n"])), function (_a) {
|
|
42
|
+
var areaColor = _a.areaColor;
|
|
43
|
+
return "background-color: " + areaColor;
|
|
44
|
+
});
|
|
45
|
+
var S_Content1 = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n margin: 0;\n"], ["\n margin: 0;\n"])));
|
|
46
|
+
var S_Content2 = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n margin: 0;\n"], ["\n margin: 0;\n"])));
|
|
47
|
+
exports.default = WTQ;
|
|
48
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7;
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.WTP = exports.WTO = exports.WTN = exports.WTM = exports.WTL = exports.WTK = exports.WTJ = exports.WTI = exports.WTH = exports.WTG = exports.WTF = exports.WTE = exports.WTD = exports.WTC = exports.WTB = exports.WTA = void 0;
|
|
6
|
+
exports.WTQ = exports.WTP = exports.WTO = exports.WTN = exports.WTM = exports.WTL = exports.WTK = exports.WTJ = exports.WTI = exports.WTH = exports.WTG = exports.WTF = exports.WTE = exports.WTD = exports.WTC = exports.WTB = exports.WTA = void 0;
|
|
7
7
|
var WTA_1 = require("./WTA");
|
|
8
8
|
Object.defineProperty(exports, "WTA", { enumerable: true, get: function () { return __importDefault(WTA_1).default; } });
|
|
9
9
|
var WTB_1 = require("./WTB");
|
|
@@ -36,3 +36,5 @@ var WTO_1 = require("./WTO");
|
|
|
36
36
|
Object.defineProperty(exports, "WTO", { enumerable: true, get: function () { return __importDefault(WTO_1).default; } });
|
|
37
37
|
var WTP_1 = require("./WTP");
|
|
38
38
|
Object.defineProperty(exports, "WTP", { enumerable: true, get: function () { return __importDefault(WTP_1).default; } });
|
|
39
|
+
var WTQ_1 = require("./WTQ");
|
|
40
|
+
Object.defineProperty(exports, "WTQ", { enumerable: true, get: function () { return __importDefault(WTQ_1).default; } });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export declare type ContainersBoxProps = {
|
|
3
|
-
layoutType: 'WTA_1' | 'WTA_2' | 'WTA_3' | 'WTB_1' | 'WTC_1' | 'WTD_1' | 'WTD_2' | 'WTD_3' | 'WTD_4' | 'WTD_5' | 'WTD_6' | 'WTE_1' | 'WTF_1' | 'WTF_2' | 'WTF_3' | 'WTF_4' | 'WTF_5' | 'WTF_6' | 'WTG_1' | 'WTH_1' | 'WTH_2' | 'WTH_3' | 'WTI_1' | 'WTI_2' | 'WTJ_1' | 'WTK_1' | 'WTK_2' | 'WTK_3' | 'WTL_1' | 'WTM_1' | 'WTM_2' | 'WTN_1' | 'WTN_2' | 'WTO_1' | 'WTP_1';
|
|
3
|
+
layoutType: 'WTA_1' | 'WTA_2' | 'WTA_3' | 'WTB_1' | 'WTC_1' | 'WTD_1' | 'WTD_2' | 'WTD_3' | 'WTD_4' | 'WTD_5' | 'WTD_6' | 'WTE_1' | 'WTF_1' | 'WTF_2' | 'WTF_3' | 'WTF_4' | 'WTF_5' | 'WTF_6' | 'WTG_1' | 'WTH_1' | 'WTH_2' | 'WTH_3' | 'WTI_1' | 'WTI_2' | 'WTJ_1' | 'WTK_1' | 'WTK_2' | 'WTK_3' | 'WTL_1' | 'WTM_1' | 'WTM_2' | 'WTN_1' | 'WTN_2' | 'WTO_1' | 'WTP_1' | 'WTQ_1';
|
|
4
4
|
pageMenuContent?: JSX.Element;
|
|
5
5
|
tabMenuContent?: JSX.Element;
|
|
6
6
|
subMenuContent?: JSX.Element;
|
|
@@ -67,7 +67,8 @@ var ContainersBox = function (_a) {
|
|
|
67
67
|
WTN_1: react_1.default.createElement(react_1.default.Fragment, null),
|
|
68
68
|
WTN_2: react_1.default.createElement(react_1.default.Fragment, null),
|
|
69
69
|
WTO_1: react_1.default.createElement(react_1.default.Fragment, null),
|
|
70
|
-
WTP_1: react_1.default.createElement(react_1.default.Fragment, null)
|
|
70
|
+
WTP_1: react_1.default.createElement(react_1.default.Fragment, null),
|
|
71
|
+
WTQ_1: react_1.default.createElement(react_1.default.Fragment, null)
|
|
71
72
|
}[layoutType],
|
|
72
73
|
react_1.default.createElement(S_RightBox, null,
|
|
73
74
|
{
|
|
@@ -105,7 +106,8 @@ var ContainersBox = function (_a) {
|
|
|
105
106
|
WTN_1: react_1.default.createElement(react_1.default.Fragment, null),
|
|
106
107
|
WTN_2: react_1.default.createElement(react_1.default.Fragment, null),
|
|
107
108
|
WTO_1: (react_1.default.createElement(Containers_1.PageMenuContainer, { pageMenuType: "top_page_menu", pageMenuContent: pageMenuContent, containerColor: containerColor, areaColor: areaColor })),
|
|
108
|
-
WTP_1: react_1.default.createElement(react_1.default.Fragment, null)
|
|
109
|
+
WTP_1: react_1.default.createElement(react_1.default.Fragment, null),
|
|
110
|
+
WTQ_1: react_1.default.createElement(react_1.default.Fragment, null)
|
|
109
111
|
}[layoutType],
|
|
110
112
|
{
|
|
111
113
|
WTA_1: react_1.default.createElement(react_1.default.Fragment, null),
|
|
@@ -142,7 +144,8 @@ var ContainersBox = function (_a) {
|
|
|
142
144
|
WTN_1: react_1.default.createElement(react_1.default.Fragment, null),
|
|
143
145
|
WTN_2: react_1.default.createElement(react_1.default.Fragment, null),
|
|
144
146
|
WTO_1: react_1.default.createElement(react_1.default.Fragment, null),
|
|
145
|
-
WTP_1: react_1.default.createElement(react_1.default.Fragment, null)
|
|
147
|
+
WTP_1: react_1.default.createElement(react_1.default.Fragment, null),
|
|
148
|
+
WTQ_1: react_1.default.createElement(react_1.default.Fragment, null)
|
|
146
149
|
}[layoutType],
|
|
147
150
|
react_1.default.createElement(S_BottomWrapper, { layoutType: layoutType },
|
|
148
151
|
{
|
|
@@ -180,7 +183,8 @@ var ContainersBox = function (_a) {
|
|
|
180
183
|
WTN_1: '',
|
|
181
184
|
WTN_2: '',
|
|
182
185
|
WTO_1: (react_1.default.createElement(Containers_1.SubMenuContainer, { subMenuType: "left_sub_menu", subMenuContent: subMenuContent })),
|
|
183
|
-
WTP_1: (react_1.default.createElement(Containers_1.SubMenuContainer, { subMenuType: "left_sub_menu", subMenuContent: subMenuContent }))
|
|
186
|
+
WTP_1: (react_1.default.createElement(Containers_1.SubMenuContainer, { subMenuType: "left_sub_menu", subMenuContent: subMenuContent })),
|
|
187
|
+
WTQ_1: ''
|
|
184
188
|
}[layoutType],
|
|
185
189
|
react_1.default.createElement(Containers_1.ContentsContainer, { layoutType: layoutType, content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor })))));
|
|
186
190
|
};
|
|
@@ -5,9 +5,11 @@ export declare type ImageSlideProps = {
|
|
|
5
5
|
imageShapeType?: 'round' | 'circular' | 'rectangle';
|
|
6
6
|
imageWidth?: number | 'responsive';
|
|
7
7
|
imageRatio?: '16_9' | '9_16' | '16_10' | '10_16' | '4_3' | '3_4' | '1_1';
|
|
8
|
+
radius?: 8 | 16 | 24;
|
|
9
|
+
borderMode?: 'use' | 'none';
|
|
8
10
|
};
|
|
9
11
|
export declare type ImageSlideItemProps = {
|
|
10
12
|
imageSrc?: string;
|
|
11
13
|
};
|
|
12
|
-
declare const ImageSlide: ({ status, src, imageShapeType, imageWidth, imageRatio }: ImageSlideProps) => JSX.Element;
|
|
14
|
+
declare const ImageSlide: ({ status, src, imageShapeType, imageWidth, imageRatio, radius, borderMode }: ImageSlideProps) => JSX.Element;
|
|
13
15
|
export default ImageSlide;
|
|
@@ -40,7 +40,7 @@ var react_1 = __importStar(require("react"));
|
|
|
40
40
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
41
41
|
var hybrid_1 = require("../../../hybrid");
|
|
42
42
|
var ImageSlide = function (_a) {
|
|
43
|
-
var _b = _a.status, status = _b === void 0 ? 'active' : _b, src = _a.src, _c = _a.imageShapeType, imageShapeType = _c === void 0 ? 'round' : _c, _d = _a.imageWidth, imageWidth = _d === void 0 ? 'responsive' : _d, _e = _a.imageRatio, imageRatio = _e === void 0 ? '1_1' : _e;
|
|
43
|
+
var _b = _a.status, status = _b === void 0 ? 'active' : _b, src = _a.src, _c = _a.imageShapeType, imageShapeType = _c === void 0 ? 'round' : _c, _d = _a.imageWidth, imageWidth = _d === void 0 ? 'responsive' : _d, _e = _a.imageRatio, imageRatio = _e === void 0 ? '1_1' : _e, _f = _a.radius, radius = _f === void 0 ? 24 : _f, _g = _a.borderMode, borderMode = _g === void 0 ? 'none' : _g;
|
|
44
44
|
var renderDotControls = function (_a) {
|
|
45
45
|
var currentSlide = _a.currentSlide, slideCount = _a.slideCount;
|
|
46
46
|
var dotList = __spreadArray([], Array(slideCount), true).map(function (x, i) { return ({ id: i }); });
|
|
@@ -51,8 +51,8 @@ var ImageSlide = function (_a) {
|
|
|
51
51
|
src.length > 0 &&
|
|
52
52
|
src.map(function (imageSrc, i) { return (react_1.default.createElement(react_1.Fragment, { key: i.toString() },
|
|
53
53
|
react_1.default.createElement("div", null,
|
|
54
|
-
react_1.default.createElement(S_BottomGradient, { imageShapeType: imageShapeType, imageWidth: imageWidth }),
|
|
55
|
-
react_1.default.createElement(hybrid_1.ImageView, { src: status === 'active' ? imageSrc : '', shapeType: imageShapeType, width: imageWidth, ratio: imageRatio, scaleType: "cover", radius:
|
|
54
|
+
react_1.default.createElement(S_BottomGradient, { imageShapeType: imageShapeType, imageWidth: imageWidth, radius: radius }),
|
|
55
|
+
react_1.default.createElement(hybrid_1.ImageView, { src: status === 'active' ? imageSrc : '', shapeType: imageShapeType, width: imageWidth, ratio: imageRatio, scaleType: "cover", radius: radius, borderMode: borderMode })))); }))));
|
|
56
56
|
};
|
|
57
57
|
var S_Dot = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n border-radius: 8px;\n display: inline-block;\n height: 8px;\n margin: ", ";\n width: 8px;\n\n ", "\n"], ["\n border-radius: 8px;\n display: inline-block;\n height: 8px;\n margin: ", ";\n width: 8px;\n\n ", "\n"])), function (_a) {
|
|
58
58
|
var theme = _a.theme;
|
|
@@ -85,10 +85,10 @@ var S_BottomGradient = styled_components_1.default.div(templateObject_5 || (temp
|
|
|
85
85
|
var imageWidth = _a.imageWidth;
|
|
86
86
|
return (imageWidth === 'responsive' ? '100%' : imageWidth + "px");
|
|
87
87
|
}, function (_a) {
|
|
88
|
-
var imageShapeType = _a.imageShapeType;
|
|
88
|
+
var imageShapeType = _a.imageShapeType, radius = _a.radius;
|
|
89
89
|
return imageShapeType &&
|
|
90
90
|
{
|
|
91
|
-
round:
|
|
91
|
+
round: "border-radius: " + radius + "px;",
|
|
92
92
|
circular: 'border-radius: 50%;',
|
|
93
93
|
rectangle: 'border-radius: 0;'
|
|
94
94
|
}[imageShapeType];
|
|
@@ -11,7 +11,7 @@ declare type Props = {
|
|
|
11
11
|
iBtn2IconName?: FillIconNameKeys | LineIconNameKeys;
|
|
12
12
|
iBtn2IconFillType?: 'fill' | 'line';
|
|
13
13
|
iBtn2IconColorKey?: UiColors;
|
|
14
|
-
|
|
14
|
+
dividerMode?: 'none' | 'solid';
|
|
15
15
|
imageSrc?: string;
|
|
16
16
|
iBtn1State?: 'normal' | 'disabled';
|
|
17
17
|
iBtn1Type?: 'submit' | 'reset' | 'button';
|
|
@@ -21,5 +21,5 @@ declare type Props = {
|
|
|
21
21
|
onClickIBtn1?: () => void;
|
|
22
22
|
onClickIBtn2?: () => void;
|
|
23
23
|
};
|
|
24
|
-
declare function MobileHeaderBar({ titleType, titleText, leftBtnMode, displayType, iBtn1IconName, iBtn1IconFillType, iBtn1IconColorKey, iBtn2IconName, iBtn2IconFillType, iBtn2IconColorKey,
|
|
24
|
+
declare function MobileHeaderBar({ titleType, titleText, leftBtnMode, displayType, iBtn1IconName, iBtn1IconFillType, iBtn1IconColorKey, iBtn2IconName, iBtn2IconFillType, iBtn2IconColorKey, dividerMode, imageSrc, iBtn1State, iBtn1Type, iBtn2State, iBtn2Type, onClickLeftBtn, onClickIBtn1, onClickIBtn2 }: Props): JSX.Element;
|
|
25
25
|
export default MobileHeaderBar;
|
|
@@ -13,7 +13,7 @@ var hybrid_1 = require("../../../hybrid");
|
|
|
13
13
|
var IconButton_1 = require("../IconButton");
|
|
14
14
|
var TextLabel_1 = require("../TextLabel");
|
|
15
15
|
function MobileHeaderBar(_a) {
|
|
16
|
-
var _b = _a.titleType, titleType = _b === void 0 ? 'text' : _b, titleText = _a.titleText, _c = _a.leftBtnMode, leftBtnMode = _c === void 0 ? 'back' : _c, _d = _a.displayType, displayType = _d === void 0 ? 'none' : _d, iBtn1IconName = _a.iBtn1IconName, _e = _a.iBtn1IconFillType, iBtn1IconFillType = _e === void 0 ? 'line' : _e, _f = _a.iBtn1IconColorKey, iBtn1IconColorKey = _f === void 0 ? 'ui_cpnt_button_icon_enabled' : _f, iBtn2IconName = _a.iBtn2IconName, _g = _a.iBtn2IconFillType, iBtn2IconFillType = _g === void 0 ? 'line' : _g, _h = _a.iBtn2IconColorKey, iBtn2IconColorKey = _h === void 0 ? 'ui_cpnt_button_icon_enabled' : _h, _j = _a.
|
|
16
|
+
var _b = _a.titleType, titleType = _b === void 0 ? 'text' : _b, titleText = _a.titleText, _c = _a.leftBtnMode, leftBtnMode = _c === void 0 ? 'back' : _c, _d = _a.displayType, displayType = _d === void 0 ? 'none' : _d, iBtn1IconName = _a.iBtn1IconName, _e = _a.iBtn1IconFillType, iBtn1IconFillType = _e === void 0 ? 'line' : _e, _f = _a.iBtn1IconColorKey, iBtn1IconColorKey = _f === void 0 ? 'ui_cpnt_button_icon_enabled' : _f, iBtn2IconName = _a.iBtn2IconName, _g = _a.iBtn2IconFillType, iBtn2IconFillType = _g === void 0 ? 'line' : _g, _h = _a.iBtn2IconColorKey, iBtn2IconColorKey = _h === void 0 ? 'ui_cpnt_button_icon_enabled' : _h, _j = _a.dividerMode, dividerMode = _j === void 0 ? 'none' : _j, imageSrc = _a.imageSrc, _k = _a.iBtn1State, iBtn1State = _k === void 0 ? 'normal' : _k, _l = _a.iBtn1Type, iBtn1Type = _l === void 0 ? 'button' : _l, _m = _a.iBtn2State, iBtn2State = _m === void 0 ? 'normal' : _m, _o = _a.iBtn2Type, iBtn2Type = _o === void 0 ? 'button' : _o, onClickLeftBtn = _a.onClickLeftBtn, onClickIBtn1 = _a.onClickIBtn1, onClickIBtn2 = _a.onClickIBtn2;
|
|
17
17
|
var handleClickLeftBtn = function () {
|
|
18
18
|
if (onClickLeftBtn) {
|
|
19
19
|
onClickLeftBtn();
|
|
@@ -75,7 +75,7 @@ function MobileHeaderBar(_a) {
|
|
|
75
75
|
displayType === 'ibtn_amount2' && iBtn2IconName && (react_1.default.createElement(IconButton_1.IconButton, { iconSize: 24, baseSize: "large", iconName: iBtn2IconName, fillType: "fill", onClick: handleClickIBtn2, iconFillType: iBtn2IconFillType, iconColorKey: iBtn2IconColorKey, baseColorKey: "ui_cpnt_button_fill_base_transparent", type: iBtn2Type, state: iBtn2State })),
|
|
76
76
|
(displayType === 'ibtn_amount1' || displayType === 'ibtn_amount2') && iBtn1IconName && (react_1.default.createElement(IconButton_1.IconButton, { iconSize: 24, baseSize: "large", iconName: iBtn1IconName, fillType: "fill", onClick: handleClickIBtn1, iconFillType: iBtn1IconFillType, iconColorKey: iBtn1IconColorKey, baseColorKey: "ui_cpnt_button_fill_base_transparent", type: iBtn1Type, state: iBtn1State }))));
|
|
77
77
|
};
|
|
78
|
-
return (react_1.default.createElement(S_MobileHeaderBar, { hasBorder:
|
|
78
|
+
return (react_1.default.createElement(S_MobileHeaderBar, { hasBorder: dividerMode === 'solid', expand: titleType === 'profile' },
|
|
79
79
|
react_1.default.createElement(S_ButtonWrapper, null,
|
|
80
80
|
titleType === 'profile' && react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_a" }),
|
|
81
81
|
leftIcon()),
|
|
@@ -6,20 +6,24 @@ export declare type TextLabelProps = {
|
|
|
6
6
|
styleTheme?: 'displayBold' | 'headingBold' | 'leadParaBold' | 'leadParaRegular' | 'subTitleBold' | 'subTitleRegular' | 'body1Bold' | 'body1Regular' | 'body2Bold' | 'body2Regular' | 'caption1Bold' | 'caption1Regular' | 'caption2Bold' | 'caption2Regular' | 'form1Regular' | 'form2Regular' | 'blog1Regular';
|
|
7
7
|
colorOverride?: UiColors;
|
|
8
8
|
colorTheme?: 'sysTextPrimary' | 'sysTextSecondary' | 'sysTextTertiary' | 'sysTextWhite' | 'sysTextError' | 'sysTextBrandPrimary' | 'sysTextBrandSeconVariant' | 'usrTextBrandPrimary' | 'usrTextBrandSeconVariant' | 'usrTextBrandOnPrimary';
|
|
9
|
-
underline?: 'none' | 'use';
|
|
10
9
|
singleLineMode?: 'none' | 'use';
|
|
11
10
|
ellipsisMode?: 'none' | 'use';
|
|
12
11
|
lineLimit?: number;
|
|
12
|
+
userSelectMode?: 'none' | 'use';
|
|
13
|
+
customFontSize?: string;
|
|
14
|
+
customFontWeight?: 'bold' | 'regular';
|
|
13
15
|
};
|
|
14
16
|
export declare type TextStyleProps = {
|
|
15
17
|
textAlign?: 'left' | 'center' | 'right';
|
|
16
18
|
styleTheme?: 'displayBold' | 'headingBold' | 'leadParaBold' | 'leadParaRegular' | 'subTitleBold' | 'subTitleRegular' | 'body1Bold' | 'body1Regular' | 'body2Bold' | 'body2Regular' | 'caption1Bold' | 'caption1Regular' | 'caption2Bold' | 'caption2Regular' | 'form1Regular' | 'form2Regular' | 'blog1Regular';
|
|
17
19
|
colorOverride?: UiColors;
|
|
18
20
|
colorTheme?: 'sysTextPrimary' | 'sysTextSecondary' | 'sysTextTertiary' | 'sysTextWhite' | 'sysTextError' | 'sysTextBrandPrimary' | 'sysTextBrandSeconVariant' | 'usrTextBrandPrimary' | 'usrTextBrandSeconVariant' | 'usrTextBrandOnPrimary';
|
|
19
|
-
underline?: 'none' | 'use';
|
|
20
21
|
singleLineMode?: 'none' | 'use';
|
|
21
22
|
ellipsisMode?: 'none' | 'use';
|
|
22
23
|
lineLimit?: number;
|
|
24
|
+
userSelectMode?: 'none' | 'use';
|
|
25
|
+
customFontSize?: string;
|
|
26
|
+
customFontWeight?: 'bold' | 'regular';
|
|
23
27
|
};
|
|
24
|
-
declare function TextLabel({ text, textAlign, styleTheme, colorOverride, colorTheme,
|
|
28
|
+
declare function TextLabel({ text, textAlign, styleTheme, colorOverride, colorTheme, singleLineMode, ellipsisMode, lineLimit, userSelectMode, customFontSize, customFontWeight }: TextLabelProps): JSX.Element;
|
|
25
29
|
export default TextLabel;
|
|
@@ -30,8 +30,8 @@ var react_1 = __importDefault(require("react"));
|
|
|
30
30
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
31
31
|
var common_1 = require("../../../common");
|
|
32
32
|
function TextLabel(_a) {
|
|
33
|
-
var text = _a.text, _b = _a.textAlign, textAlign = _b === void 0 ? 'left' : _b, _c = _a.styleTheme, styleTheme = _c === void 0 ? 'body2Bold' : _c, colorOverride = _a.colorOverride, _d = _a.colorTheme, colorTheme = _d === void 0 ? 'sysTextPrimary' : _d, _e = _a.
|
|
34
|
-
return (react_1.default.createElement(S_TextLabel, { textAlign: textAlign, styleTheme: styleTheme, colorOverride: colorOverride, colorTheme: colorTheme,
|
|
33
|
+
var text = _a.text, _b = _a.textAlign, textAlign = _b === void 0 ? 'left' : _b, _c = _a.styleTheme, styleTheme = _c === void 0 ? 'body2Bold' : _c, colorOverride = _a.colorOverride, _d = _a.colorTheme, colorTheme = _d === void 0 ? 'sysTextPrimary' : _d, _e = _a.singleLineMode, singleLineMode = _e === void 0 ? 'none' : _e, _f = _a.ellipsisMode, ellipsisMode = _f === void 0 ? 'none' : _f, lineLimit = _a.lineLimit, _g = _a.userSelectMode, userSelectMode = _g === void 0 ? 'none' : _g, customFontSize = _a.customFontSize, customFontWeight = _a.customFontWeight;
|
|
34
|
+
return (react_1.default.createElement(S_TextLabel, { textAlign: textAlign, styleTheme: styleTheme, colorOverride: colorOverride, colorTheme: colorTheme, singleLineMode: singleLineMode, ellipsisMode: ellipsisMode, lineLimit: lineLimit, userSelectMode: userSelectMode, customFontSize: customFontSize, customFontWeight: customFontWeight }, text));
|
|
35
35
|
}
|
|
36
36
|
var displayBold = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
37
37
|
var theme = _a.theme;
|
|
@@ -243,20 +243,25 @@ var usrTextBrandOnPrimary = (0, styled_components_1.css)(templateObject_27 || (t
|
|
|
243
243
|
var theme = _a.theme;
|
|
244
244
|
return theme.ui_cpnt_textlabel_usr_brandonprimary;
|
|
245
245
|
});
|
|
246
|
-
var
|
|
246
|
+
var customFontStyle = (0, styled_components_1.css)(templateObject_28 || (templateObject_28 = __makeTemplateObject(["\n font-size: ", ";\n line-height: 1.5;\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: 1.5;\n font-weight: ", ";\n"])), function (_a) {
|
|
247
|
+
var customFontSize = _a.customFontSize;
|
|
248
|
+
return customFontSize;
|
|
249
|
+
}, function (_a) {
|
|
250
|
+
var theme = _a.theme, customFontWeight = _a.customFontWeight;
|
|
251
|
+
return customFontWeight === 'bold' ? theme.fontWeight.bold : theme.fontWeight.normal;
|
|
252
|
+
});
|
|
253
|
+
var colorOverrideStyle = (0, styled_components_1.css)(templateObject_29 || (templateObject_29 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
247
254
|
var colorOverride = _a.colorOverride;
|
|
248
255
|
return colorOverride && (0, common_1.customTheme)(window.PdsUtils ? window.PdsUtils.tone : 'DARK')[colorOverride];
|
|
249
256
|
});
|
|
250
|
-
var ellipsisStyle = (0, styled_components_1.css)(
|
|
257
|
+
var ellipsisStyle = (0, styled_components_1.css)(templateObject_30 || (templateObject_30 = __makeTemplateObject(["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n"], ["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n"])), function (_a) {
|
|
251
258
|
var lineLimit = _a.lineLimit;
|
|
252
259
|
return lineLimit;
|
|
253
260
|
});
|
|
254
|
-
var
|
|
261
|
+
var userSelectModeStyle = (0, styled_components_1.css)(templateObject_31 || (templateObject_31 = __makeTemplateObject(["\n -ms-user-select: none;\n -moz-user-select: -moz-none;\n -khtml-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n"], ["\n -ms-user-select: none;\n -moz-user-select: -moz-none;\n -khtml-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n"])));
|
|
262
|
+
var S_TextLabel = styled_components_1.default.div(templateObject_32 || (templateObject_32 = __makeTemplateObject(["\n box-sizing: border-box;\n text-align: ", ";\n white-space: pre-wrap;\n word-break: break-all;\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"], ["\n box-sizing: border-box;\n text-align: ", ";\n white-space: pre-wrap;\n word-break: break-all;\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"])), function (_a) {
|
|
255
263
|
var textAlign = _a.textAlign;
|
|
256
264
|
return textAlign;
|
|
257
|
-
}, function (_a) {
|
|
258
|
-
var underline = _a.underline;
|
|
259
|
-
return underline === 'use' && 'underline';
|
|
260
265
|
}, function (_a) {
|
|
261
266
|
var styleTheme = _a.styleTheme;
|
|
262
267
|
return styleTheme &&
|
|
@@ -294,6 +299,9 @@ var S_TextLabel = styled_components_1.default.div(templateObject_30 || (template
|
|
|
294
299
|
usrTextBrandSeconVariant: usrTextBrandSeconVariant,
|
|
295
300
|
usrTextBrandOnPrimary: usrTextBrandOnPrimary
|
|
296
301
|
}[colorTheme];
|
|
302
|
+
}, function (_a) {
|
|
303
|
+
var customFontSize = _a.customFontSize;
|
|
304
|
+
return customFontSize && customFontStyle;
|
|
297
305
|
}, function (_a) {
|
|
298
306
|
var singleLineMode = _a.singleLineMode, ellipsisMode = _a.ellipsisMode, theme = _a.theme;
|
|
299
307
|
return singleLineMode === 'use' &&
|
|
@@ -305,6 +313,9 @@ var S_TextLabel = styled_components_1.default.div(templateObject_30 || (template
|
|
|
305
313
|
}, function (_a) {
|
|
306
314
|
var colorOverride = _a.colorOverride;
|
|
307
315
|
return colorOverride && colorOverrideStyle;
|
|
316
|
+
}, function (_a) {
|
|
317
|
+
var userSelectMode = _a.userSelectMode;
|
|
318
|
+
return userSelectMode === 'none' && userSelectModeStyle;
|
|
308
319
|
});
|
|
309
320
|
exports.default = TextLabel;
|
|
310
|
-
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, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30;
|
|
321
|
+
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, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pds-dev-kit-web",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"i18next-browser-languagedetector": "^6.1.2",
|
|
22
22
|
"i18next-intervalplural-postprocessor": "^3.0.0",
|
|
23
23
|
"nuka-carousel": "^4.8.4",
|
|
24
|
-
"react-hook-form": "^7.
|
|
24
|
+
"react-hook-form": "^7.28.1",
|
|
25
25
|
"react-i18next": "^11.12.0",
|
|
26
26
|
"react-router-dom": "^5.2.0",
|
|
27
27
|
"react-scripts": "4.0.3",
|
package/release-note.md
CHANGED
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
#
|
|
2
|
-
## [v0.7.
|
|
1
|
+
# PDS-DEV-KIT-WEB Release Notes
|
|
2
|
+
## [v0.7.1]
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
### Package
|
|
6
|
+
* react-hook-form v7.7.1에서 v7.28.1로 업데이트
|
|
7
|
+
|
|
5
8
|
### Component
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
* MobileBasicModal 생성
|
|
9
|
+
* MobileHeaderBar
|
|
10
|
+
* dividerType -> dividerMode prop명 변경
|
|
11
|
+
* TextLabel
|
|
12
|
+
* underline prop 삭제 (TextLabel의 의도와 맞지 않는 Prop이라고 판단)
|
|
13
|
+
* customFontSize prop 추가 (정해진 값 이외의 폰트 사이즈 필요성 대두)
|
|
14
|
+
* customFontWeight prop 추가
|
|
15
|
+
* userSelectMode prop 추가 (블록지정 금지 기능의 필요로 인해)
|
|
16
|
+
* ImageSlide
|
|
17
|
+
* radius prop 추가
|
|
18
|
+
* borderMode prop 추가
|
|
19
|
+
|
|
20
|
+
### Layout
|
|
21
|
+
* WTQ-1 추가
|
|
22
|
+
|
|
23
|
+
### Color
|
|
24
|
+
* 컬러 키 값 22.04.05 14시 55분 기준 싱크
|