pds-dev-kit-web 2.2.42 → 2.2.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +2 -1
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +2 -1
- package/dist/src/common/styles/colorSet/UIColor.json +2 -1
- package/dist/src/common/styles/colorSet/index.d.ts +125 -122
- package/dist/src/common/styles/colorSet/index.js +4 -4
- package/dist/src/common/styles/colorSet/ui-type.d.ts +1 -0
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.js +1 -1
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.js +1 -1
- package/package.json +1 -1
- package/release-note.md +2 -3
|
@@ -344,5 +344,6 @@
|
|
|
344
344
|
"sys_text_grey_05": "darkgrey400/opacity20",
|
|
345
345
|
"sys_text_white_02": "white/opacity50",
|
|
346
346
|
"sys_component_base_45": "darkgreen300",
|
|
347
|
-
"sys_component_base_46": "black/opacity90"
|
|
347
|
+
"sys_component_base_46": "black/opacity90",
|
|
348
|
+
"sys_cpnt_list_chatbubble_download_button_base": "white/opacity20"
|
|
348
349
|
}
|
|
@@ -344,5 +344,6 @@
|
|
|
344
344
|
"sys_text_grey_05": "grey400/opacity20",
|
|
345
345
|
"sys_text_white_02": "white/opacity50",
|
|
346
346
|
"sys_component_base_45": "green300",
|
|
347
|
-
"sys_component_base_46": "black/opacity90"
|
|
347
|
+
"sys_component_base_46": "black/opacity90",
|
|
348
|
+
"sys_cpnt_list_chatbubble_download_button_base": "black/opacity40"
|
|
348
349
|
}
|
|
@@ -841,5 +841,6 @@
|
|
|
841
841
|
"ui_110": "sys_component_base_black_opacity50",
|
|
842
842
|
"ui_contentscontainer03_background": "sys_container_background_01",
|
|
843
843
|
"ui_contents_dimmed": "sys_component_base_46",
|
|
844
|
-
"ui_cpnt_list_chatbubble_base_transparent": "sys_component_base_white_opacity00"
|
|
844
|
+
"ui_cpnt_list_chatbubble_base_transparent": "sys_component_base_white_opacity00",
|
|
845
|
+
"ui_cpnt_list_chatbubble_download_button_base": "sys_cpnt_list_chatbubble_download_button_base"
|
|
845
846
|
}
|
|
@@ -1,5 +1,125 @@
|
|
|
1
1
|
declare const colorSet: {
|
|
2
|
-
readonly
|
|
2
|
+
readonly SemanticColor: {
|
|
3
|
+
blue500: string;
|
|
4
|
+
blue700: string;
|
|
5
|
+
blue300: string;
|
|
6
|
+
green700: string;
|
|
7
|
+
green500: string;
|
|
8
|
+
green300: string;
|
|
9
|
+
red500: string;
|
|
10
|
+
grey900: string;
|
|
11
|
+
grey500: string;
|
|
12
|
+
grey400: string;
|
|
13
|
+
grey100: string;
|
|
14
|
+
grey50: string;
|
|
15
|
+
white: string;
|
|
16
|
+
black: string;
|
|
17
|
+
darkblue500: string;
|
|
18
|
+
grey950: string;
|
|
19
|
+
darkgrey900: string;
|
|
20
|
+
darkgrey500: string;
|
|
21
|
+
darkgrey400: string;
|
|
22
|
+
darkgrey100: string;
|
|
23
|
+
darkgrey50: string;
|
|
24
|
+
darkred500: string;
|
|
25
|
+
darkgreen700: string;
|
|
26
|
+
orange500: string;
|
|
27
|
+
darkorange500: string;
|
|
28
|
+
opacity00: string;
|
|
29
|
+
opacity20: string;
|
|
30
|
+
opacity30: string;
|
|
31
|
+
opacity65: string;
|
|
32
|
+
darkgreen500: string;
|
|
33
|
+
grey70: string;
|
|
34
|
+
navy500: string;
|
|
35
|
+
lightgreen500: string;
|
|
36
|
+
pink500: string;
|
|
37
|
+
darkgrey70: string;
|
|
38
|
+
darknavy500: string;
|
|
39
|
+
darkpink500: string;
|
|
40
|
+
darklightgreen500: string;
|
|
41
|
+
opacity10: string;
|
|
42
|
+
grey600: string;
|
|
43
|
+
darkgrey600: string;
|
|
44
|
+
skyblue500: string;
|
|
45
|
+
skyblue300: string;
|
|
46
|
+
pink300: string;
|
|
47
|
+
lightpink500: string;
|
|
48
|
+
darkblue300: string;
|
|
49
|
+
darkblue700: string;
|
|
50
|
+
darkgreen300: string;
|
|
51
|
+
darkskyblue500: string;
|
|
52
|
+
navy100: string;
|
|
53
|
+
darknavy100: string;
|
|
54
|
+
opacity80: string;
|
|
55
|
+
opacity50: string;
|
|
56
|
+
grey30: string;
|
|
57
|
+
opacity95: string;
|
|
58
|
+
darkgrey30: string;
|
|
59
|
+
opacity40: string;
|
|
60
|
+
kakaoyellow: string;
|
|
61
|
+
pastelblue500: string;
|
|
62
|
+
pastelpink500: string;
|
|
63
|
+
pastelorange500: string;
|
|
64
|
+
pastelgreen500: string;
|
|
65
|
+
pastelpurple500: string;
|
|
66
|
+
darkpastelblue500: string;
|
|
67
|
+
darkpastelpink500: string;
|
|
68
|
+
darkpastelorange500: string;
|
|
69
|
+
darkpastelgreen500: string;
|
|
70
|
+
darkpastelpurple500: string;
|
|
71
|
+
green30: string;
|
|
72
|
+
darkgreen30: string;
|
|
73
|
+
orange50: string;
|
|
74
|
+
darkorange50: string;
|
|
75
|
+
orange30: string;
|
|
76
|
+
darkorange30: string;
|
|
77
|
+
green50: string;
|
|
78
|
+
darkgreen50: string;
|
|
79
|
+
opacity90: string;
|
|
80
|
+
facebookblue: string;
|
|
81
|
+
opacity05: string;
|
|
82
|
+
opacity15: string;
|
|
83
|
+
grey80: string;
|
|
84
|
+
grey200: string;
|
|
85
|
+
darkgrey80: string;
|
|
86
|
+
darkgrey200: string;
|
|
87
|
+
opacity70: string;
|
|
88
|
+
opacity60: string;
|
|
89
|
+
skyblue100: string;
|
|
90
|
+
green100: string;
|
|
91
|
+
darkgreen100: string;
|
|
92
|
+
darkskyblue100: string;
|
|
93
|
+
opacity25: string;
|
|
94
|
+
opacity35: string;
|
|
95
|
+
grey10: string;
|
|
96
|
+
darkgrey10: string;
|
|
97
|
+
blue50: string;
|
|
98
|
+
darkblue50: string;
|
|
99
|
+
blue10: string;
|
|
100
|
+
red10: string;
|
|
101
|
+
green10: string;
|
|
102
|
+
blue30: string;
|
|
103
|
+
red30: string;
|
|
104
|
+
orange300: string;
|
|
105
|
+
darkorange300: string;
|
|
106
|
+
darkpink300: string;
|
|
107
|
+
pastelblue300: string;
|
|
108
|
+
darkpastelblue300: string;
|
|
109
|
+
softpurple500: string;
|
|
110
|
+
darksoftpurple500: string;
|
|
111
|
+
coolpink500: string;
|
|
112
|
+
darkcoolpink500: string;
|
|
113
|
+
brown500: string;
|
|
114
|
+
darkbrown500: string;
|
|
115
|
+
yellow300: string;
|
|
116
|
+
darkyellow300: string;
|
|
117
|
+
grey20: string;
|
|
118
|
+
darkgrey20: string;
|
|
119
|
+
grey300: string;
|
|
120
|
+
darkgrey300: string;
|
|
121
|
+
};
|
|
122
|
+
readonly PaletteColor_light: {
|
|
3
123
|
sys_container_background_01: string;
|
|
4
124
|
sys_container_background_02: string;
|
|
5
125
|
sys_container_background_03: string;
|
|
@@ -346,8 +466,9 @@ declare const colorSet: {
|
|
|
346
466
|
sys_text_white_02: string;
|
|
347
467
|
sys_component_base_45: string;
|
|
348
468
|
sys_component_base_46: string;
|
|
469
|
+
sys_cpnt_list_chatbubble_download_button_base: string;
|
|
349
470
|
};
|
|
350
|
-
readonly
|
|
471
|
+
readonly PaletteColor_Dark: {
|
|
351
472
|
sys_container_background_01: string;
|
|
352
473
|
sys_container_background_02: string;
|
|
353
474
|
sys_container_background_03: string;
|
|
@@ -694,126 +815,7 @@ declare const colorSet: {
|
|
|
694
815
|
sys_text_white_02: string;
|
|
695
816
|
sys_component_base_45: string;
|
|
696
817
|
sys_component_base_46: string;
|
|
697
|
-
|
|
698
|
-
readonly SemanticColor: {
|
|
699
|
-
blue500: string;
|
|
700
|
-
blue700: string;
|
|
701
|
-
blue300: string;
|
|
702
|
-
green700: string;
|
|
703
|
-
green500: string;
|
|
704
|
-
green300: string;
|
|
705
|
-
red500: string;
|
|
706
|
-
grey900: string;
|
|
707
|
-
grey500: string;
|
|
708
|
-
grey400: string;
|
|
709
|
-
grey100: string;
|
|
710
|
-
grey50: string;
|
|
711
|
-
white: string;
|
|
712
|
-
black: string;
|
|
713
|
-
darkblue500: string;
|
|
714
|
-
grey950: string;
|
|
715
|
-
darkgrey900: string;
|
|
716
|
-
darkgrey500: string;
|
|
717
|
-
darkgrey400: string;
|
|
718
|
-
darkgrey100: string;
|
|
719
|
-
darkgrey50: string;
|
|
720
|
-
darkred500: string;
|
|
721
|
-
darkgreen700: string;
|
|
722
|
-
orange500: string;
|
|
723
|
-
darkorange500: string;
|
|
724
|
-
opacity00: string;
|
|
725
|
-
opacity20: string;
|
|
726
|
-
opacity30: string;
|
|
727
|
-
opacity65: string;
|
|
728
|
-
darkgreen500: string;
|
|
729
|
-
grey70: string;
|
|
730
|
-
navy500: string;
|
|
731
|
-
lightgreen500: string;
|
|
732
|
-
pink500: string;
|
|
733
|
-
darkgrey70: string;
|
|
734
|
-
darknavy500: string;
|
|
735
|
-
darkpink500: string;
|
|
736
|
-
darklightgreen500: string;
|
|
737
|
-
opacity10: string;
|
|
738
|
-
grey600: string;
|
|
739
|
-
darkgrey600: string;
|
|
740
|
-
skyblue500: string;
|
|
741
|
-
skyblue300: string;
|
|
742
|
-
pink300: string;
|
|
743
|
-
lightpink500: string;
|
|
744
|
-
darkblue300: string;
|
|
745
|
-
darkblue700: string;
|
|
746
|
-
darkgreen300: string;
|
|
747
|
-
darkskyblue500: string;
|
|
748
|
-
navy100: string;
|
|
749
|
-
darknavy100: string;
|
|
750
|
-
opacity80: string;
|
|
751
|
-
opacity50: string;
|
|
752
|
-
grey30: string;
|
|
753
|
-
opacity95: string;
|
|
754
|
-
darkgrey30: string;
|
|
755
|
-
opacity40: string;
|
|
756
|
-
kakaoyellow: string;
|
|
757
|
-
pastelblue500: string;
|
|
758
|
-
pastelpink500: string;
|
|
759
|
-
pastelorange500: string;
|
|
760
|
-
pastelgreen500: string;
|
|
761
|
-
pastelpurple500: string;
|
|
762
|
-
darkpastelblue500: string;
|
|
763
|
-
darkpastelpink500: string;
|
|
764
|
-
darkpastelorange500: string;
|
|
765
|
-
darkpastelgreen500: string;
|
|
766
|
-
darkpastelpurple500: string;
|
|
767
|
-
green30: string;
|
|
768
|
-
darkgreen30: string;
|
|
769
|
-
orange50: string;
|
|
770
|
-
darkorange50: string;
|
|
771
|
-
orange30: string;
|
|
772
|
-
darkorange30: string;
|
|
773
|
-
green50: string;
|
|
774
|
-
darkgreen50: string;
|
|
775
|
-
opacity90: string;
|
|
776
|
-
facebookblue: string;
|
|
777
|
-
opacity05: string;
|
|
778
|
-
opacity15: string;
|
|
779
|
-
grey80: string;
|
|
780
|
-
grey200: string;
|
|
781
|
-
darkgrey80: string;
|
|
782
|
-
darkgrey200: string;
|
|
783
|
-
opacity70: string;
|
|
784
|
-
opacity60: string;
|
|
785
|
-
skyblue100: string;
|
|
786
|
-
green100: string;
|
|
787
|
-
darkgreen100: string;
|
|
788
|
-
darkskyblue100: string;
|
|
789
|
-
opacity25: string;
|
|
790
|
-
opacity35: string;
|
|
791
|
-
grey10: string;
|
|
792
|
-
darkgrey10: string;
|
|
793
|
-
blue50: string;
|
|
794
|
-
darkblue50: string;
|
|
795
|
-
blue10: string;
|
|
796
|
-
red10: string;
|
|
797
|
-
green10: string;
|
|
798
|
-
blue30: string;
|
|
799
|
-
red30: string;
|
|
800
|
-
orange300: string;
|
|
801
|
-
darkorange300: string;
|
|
802
|
-
darkpink300: string;
|
|
803
|
-
pastelblue300: string;
|
|
804
|
-
darkpastelblue300: string;
|
|
805
|
-
softpurple500: string;
|
|
806
|
-
darksoftpurple500: string;
|
|
807
|
-
coolpink500: string;
|
|
808
|
-
darkcoolpink500: string;
|
|
809
|
-
brown500: string;
|
|
810
|
-
darkbrown500: string;
|
|
811
|
-
yellow300: string;
|
|
812
|
-
darkyellow300: string;
|
|
813
|
-
grey20: string;
|
|
814
|
-
darkgrey20: string;
|
|
815
|
-
grey300: string;
|
|
816
|
-
darkgrey300: string;
|
|
818
|
+
sys_cpnt_list_chatbubble_download_button_base: string;
|
|
817
819
|
};
|
|
818
820
|
readonly UIColor: {
|
|
819
821
|
ui_cpnt_button_fill_base_primary: string;
|
|
@@ -1659,6 +1661,7 @@ declare const colorSet: {
|
|
|
1659
1661
|
ui_contentscontainer03_background: string;
|
|
1660
1662
|
ui_contents_dimmed: string;
|
|
1661
1663
|
ui_cpnt_list_chatbubble_base_transparent: string;
|
|
1664
|
+
ui_cpnt_list_chatbubble_download_button_base: string;
|
|
1662
1665
|
};
|
|
1663
1666
|
};
|
|
1664
1667
|
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 PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
|
|
8
|
-
var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
|
|
9
7
|
var SemanticColor_json_1 = __importDefault(require("./SemanticColor.json"));
|
|
8
|
+
var PaletteColor_light_json_1 = __importDefault(require("./PaletteColor_light.json"));
|
|
9
|
+
var PaletteColor_Dark_json_1 = __importDefault(require("./PaletteColor_Dark.json"));
|
|
10
10
|
var UIColor_json_1 = __importDefault(require("./UIColor.json"));
|
|
11
11
|
var colorSet = {
|
|
12
|
-
PaletteColor_Dark: PaletteColor_Dark_json_1.default,
|
|
13
|
-
PaletteColor_light: PaletteColor_light_json_1.default,
|
|
14
12
|
SemanticColor: SemanticColor_json_1.default,
|
|
13
|
+
PaletteColor_light: PaletteColor_light_json_1.default,
|
|
14
|
+
PaletteColor_Dark: PaletteColor_Dark_json_1.default,
|
|
15
15
|
UIColor: UIColor_json_1.default
|
|
16
16
|
};
|
|
17
17
|
exports.default = colorSet;
|
|
@@ -140,7 +140,7 @@ function ChatBubbleListItem(_a) {
|
|
|
140
140
|
}
|
|
141
141
|
setIsContextMenuOpen(false);
|
|
142
142
|
};
|
|
143
|
-
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsxs)(S_ChatBubbleListItem, __assign({ "x-pds-name": "ChatBubbleListItem", "x-pds-element-type": "component", "x-pds-device-type": "desktop", isMe: isMe }, { children: [hasLeftSpacing ? ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: isProfileImageShow ? ((0, jsx_runtime_1.jsx)(S_ImageViewWrapper, __assign({ isOtherAvatarImpact: styleTheme === 'other_avatar_impact', colorTheme: colorTheme }, { children: (0, jsx_runtime_1.jsx)(hybrid_1.ImageView, { shapeType: "circular", ratio: "1_1", scaleType: "cover", src: imageSrc, width: styleTheme === 'other_avatar_impact' ? 36 : 38 }) }))) : ((0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_g", spacingType: "width" })) })) : ((0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_a", spacingType: "width" })), (0, jsx_runtime_1.jsxs)(S_RightBox, { children: [isTitleTextShow && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: titleText, styleTheme: "caption1Bold", colorTheme: titleTextColorTheme }), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b" })] })), (0, jsx_runtime_1.jsxs)(S_ChatBubbleBox, { children: [(0, jsx_runtime_1.jsxs)(S_ChatBubbleWrapper, __assign({ isMe: isMe }, { children: [isMe && ((0, jsx_runtime_1.jsxs)(S_Box, { children: [(0, jsx_runtime_1.jsx)("div", { style: { height: '32px', width: '1px' } }), (0, jsx_runtime_1.jsx)(S_DownloadIconWrapper, __assign({ isMe: isMe }, { children: downloadIBtnMode === 'use' && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, {
|
|
143
|
+
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsxs)(S_ChatBubbleListItem, __assign({ "x-pds-name": "ChatBubbleListItem", "x-pds-element-type": "component", "x-pds-device-type": "desktop", isMe: isMe }, { children: [hasLeftSpacing ? ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: isProfileImageShow ? ((0, jsx_runtime_1.jsx)(S_ImageViewWrapper, __assign({ isOtherAvatarImpact: styleTheme === 'other_avatar_impact', colorTheme: colorTheme }, { children: (0, jsx_runtime_1.jsx)(hybrid_1.ImageView, { shapeType: "circular", ratio: "1_1", scaleType: "cover", src: imageSrc, width: styleTheme === 'other_avatar_impact' ? 36 : 38 }) }))) : ((0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_g", spacingType: "width" })) })) : ((0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_a", spacingType: "width" })), (0, jsx_runtime_1.jsxs)(S_RightBox, { children: [isTitleTextShow && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: titleText, styleTheme: "caption1Bold", colorTheme: titleTextColorTheme }), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b" })] })), (0, jsx_runtime_1.jsxs)(S_ChatBubbleBox, { children: [(0, jsx_runtime_1.jsxs)(S_ChatBubbleWrapper, __assign({ isMe: isMe }, { children: [isMe && ((0, jsx_runtime_1.jsxs)(S_Box, { children: [downloadIBtnMode === 'use' && (0, jsx_runtime_1.jsx)("div", { style: { height: '32px', width: '1px' } }), (0, jsx_runtime_1.jsx)(S_DownloadIconWrapper, __assign({ isMe: isMe }, { children: downloadIBtnMode === 'use' && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { shapeType: "circular", iconFillType: "fill", baseColorKey: "ui_cpnt_list_chatbubble_download_button_base", iconColorKey: "ui_cpnt_button_icon_white", iconSize: 16, iconName: "ic_download", onClick: onClickDownloadIBtn })) })), (0, jsx_runtime_1.jsxs)(S_TimeWrapper, __assign({ isMe: isMe }, { children: [countMode === 'use' && ((0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: countText, styleTheme: "caption2Regular", colorTheme: countTextColorTheme })), timeMode === 'use' && timeText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_a" }), (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: timeText, styleTheme: "caption2Regular", colorTheme: "sysTextTertiary", singleLineMode: "use" })] }))] }))] })), (0, jsx_runtime_1.jsx)(ChatBubble_1.default, __assign({ colorTheme: colorTheme, tailType: chatBubbleTailType[styleTheme] }, { children: children })), !isMe && ((0, jsx_runtime_1.jsxs)(S_Box, { children: [downloadIBtnMode === 'use' && (0, jsx_runtime_1.jsx)("div", { style: { height: '32px', width: '1px' } }), (0, jsx_runtime_1.jsx)(S_DownloadIconWrapper, __assign({ isMe: isMe }, { children: downloadIBtnMode === 'use' && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { shapeType: "circular", iconFillType: "fill", baseColorKey: "ui_cpnt_list_chatbubble_download_button_base", iconColorKey: "ui_cpnt_button_icon_white", iconSize: 16, iconName: "ic_download", onClick: onClickDownloadIBtn })) })), (0, jsx_runtime_1.jsxs)(S_TimeWrapper, __assign({ isMe: isMe }, { children: [countMode === 'use' && ((0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: countText, styleTheme: "caption2Regular", colorTheme: countTextColorTheme })), timeMode === 'use' && timeText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_a" }), (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: timeText, styleTheme: "caption2Regular", colorTheme: "sysTextTertiary", singleLineMode: "use" })] }))] }))] }))] })), hoverMode === 'use' && !isMe && ((0, jsx_runtime_1.jsx)(S_SeeMoreButton, __assign({ isContextMenuOpen: isContextMenuOpen, hoverMode: hoverMode, ref: contextMenuRef }, { children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { fillType: "fill", baseSize: "xsmall", iconFillType: "fill", iconSize: 20, iconName: "ic_more", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconColorKey: "ui_cpnt_button_icon_enabled", onClick: handleMoreButtonClick }) })))] })] }), (0, jsx_runtime_1.jsx)(Popup_1.PopupProvider, { children: (0, jsx_runtime_1.jsx)(Popup_1.Popup, __assign({ targetRef: contextMenuRef, isOpen: isContextMenuOpen, placement: "top-end", wrapperHeight: rect === null || rect === void 0 ? void 0 : rect.height, onClickOutside: function () { return setIsContextMenuOpen(false); } }, { children: (0, jsx_runtime_1.jsx)(ContextMenu_1.ContextMenu, { children: contextMenuOptionArray === null || contextMenuOptionArray === void 0 ? void 0 : contextMenuOptionArray.map(function (el) { return ((0, jsx_runtime_1.jsx)(ContextMenuItem_1.ContextMenuItem, { option: el, onClick: handleContextMenuItemClick, state: contextMenuState }, el.value)); }) }) })) })] })) }));
|
|
144
144
|
}
|
|
145
145
|
var MyChatBubbleListItem = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n margin-right: ", ";\n"], ["\n margin-right: ", ";\n"])), function (_a) {
|
|
146
146
|
var theme = _a.theme;
|
|
@@ -142,7 +142,7 @@ function ChatBubbleListItem(_a) {
|
|
|
142
142
|
}
|
|
143
143
|
setIsContextMenuOpen(false);
|
|
144
144
|
};
|
|
145
|
-
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsxs)(S_ChatBubbleListItem, __assign({ "x-pds-name": "ChatBubbleListItem", "x-pds-element-type": "component", "x-pds-device-type": "mobile", isMe: isMe }, { children: [hasLeftSpacing ? ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: isProfileImageShow ? ((0, jsx_runtime_1.jsx)(S_ImageViewWrapper, __assign({ isOtherAvatarImpact: styleTheme === 'other_avatar_impact', colorTheme: colorTheme }, { children: (0, jsx_runtime_1.jsx)(hybrid_1.ImageView, { shapeType: "circular", ratio: "1_1", scaleType: "cover", src: imageSrc, width: styleTheme === 'other_avatar_impact' ? 36 : 38 }) }))) : ((0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_g", spacingType: "width" })) })) : ((0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_a", spacingType: "width" })), (0, jsx_runtime_1.jsxs)(S_RightBox, { children: [isTitleTextShow && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: titleText, styleTheme: "caption1Bold", colorTheme: titleTextColorTheme }), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b" })] })), (0, jsx_runtime_1.jsxs)(S_ChatBubbleBox, { children: [(0, jsx_runtime_1.jsxs)(S_ChatBubbleWrapper, __assign({ isMe: isMe }, { children: [isMe && ((0, jsx_runtime_1.jsxs)(S_Box, { children: [(0, jsx_runtime_1.jsx)("div", { style: { height: '32px', width: '1px' } }), (0, jsx_runtime_1.jsx)(S_DownloadIconWrapper, __assign({ isMe: isMe }, { children: downloadIBtnMode === 'use' && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, {
|
|
145
|
+
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsxs)(S_ChatBubbleListItem, __assign({ "x-pds-name": "ChatBubbleListItem", "x-pds-element-type": "component", "x-pds-device-type": "mobile", isMe: isMe }, { children: [hasLeftSpacing ? ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: isProfileImageShow ? ((0, jsx_runtime_1.jsx)(S_ImageViewWrapper, __assign({ isOtherAvatarImpact: styleTheme === 'other_avatar_impact', colorTheme: colorTheme }, { children: (0, jsx_runtime_1.jsx)(hybrid_1.ImageView, { shapeType: "circular", ratio: "1_1", scaleType: "cover", src: imageSrc, width: styleTheme === 'other_avatar_impact' ? 36 : 38 }) }))) : ((0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_g", spacingType: "width" })) })) : ((0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_a", spacingType: "width" })), (0, jsx_runtime_1.jsxs)(S_RightBox, { children: [isTitleTextShow && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: titleText, styleTheme: "caption1Bold", colorTheme: titleTextColorTheme }), (0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_b" })] })), (0, jsx_runtime_1.jsxs)(S_ChatBubbleBox, { children: [(0, jsx_runtime_1.jsxs)(S_ChatBubbleWrapper, __assign({ isMe: isMe }, { children: [isMe && ((0, jsx_runtime_1.jsxs)(S_Box, { children: [downloadIBtnMode === 'use' && (0, jsx_runtime_1.jsx)("div", { style: { height: '32px', width: '1px' } }), (0, jsx_runtime_1.jsx)(S_DownloadIconWrapper, __assign({ isMe: isMe }, { children: downloadIBtnMode === 'use' && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { shapeType: "circular", iconFillType: "fill", baseColorKey: "ui_cpnt_list_chatbubble_download_button_base", iconColorKey: "ui_cpnt_button_icon_white", iconSize: 16, iconName: "ic_download", onClick: onClickDownloadIBtn })) })), (0, jsx_runtime_1.jsxs)(S_TimeWrapper, __assign({ isMe: isMe }, { children: [countMode === 'use' && ((0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: countText, styleTheme: "caption2Regular", colorTheme: countTextColorTheme })), timeMode === 'use' && timeText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_a" }), (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: timeText, styleTheme: "caption2Regular", colorTheme: "sysTextTertiary", singleLineMode: "use" })] }))] }))] })), (0, jsx_runtime_1.jsx)(ChatBubble_1.default, __assign({ colorTheme: colorTheme, tailType: chatBubbleTailType[styleTheme] }, { children: children })), !isMe && ((0, jsx_runtime_1.jsxs)(S_Box, { children: [downloadIBtnMode === 'use' && (0, jsx_runtime_1.jsx)("div", { style: { height: '32px', width: '1px' } }), (0, jsx_runtime_1.jsx)(S_DownloadIconWrapper, __assign({ isMe: isMe }, { children: downloadIBtnMode === 'use' && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { shapeType: "circular", iconFillType: "fill", baseColorKey: "ui_cpnt_list_chatbubble_download_button_base", iconColorKey: "ui_cpnt_button_icon_white", iconSize: 16, iconName: "ic_download", onClick: onClickDownloadIBtn })) })), (0, jsx_runtime_1.jsxs)(S_TimeWrapper, __assign({ isMe: isMe }, { children: [countMode === 'use' && ((0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: countText, styleTheme: "caption2Regular", colorTheme: countTextColorTheme })), timeMode === 'use' && timeText && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(hybrid_1.Spacing, { size: "spacing_a" }), (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: timeText, styleTheme: "caption2Regular", colorTheme: "sysTextTertiary", singleLineMode: "use" })] }))] }))] }))] })), hoverMode === 'use' && !isMe && ((0, jsx_runtime_1.jsx)(S_SeeMoreButton, __assign({ isContextMenuOpen: isContextMenuOpen, hoverMode: hoverMode, ref: contextMenuRef }, { children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { fillType: "fill", baseSize: "xsmall", iconFillType: "fill", iconSize: 20, iconName: "ic_more", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconColorKey: "ui_cpnt_button_icon_enabled", onClick: handleMoreButtonClick }) })))] })] }), (0, jsx_runtime_1.jsx)(Popup_1.PopupProvider, { children: (0, jsx_runtime_1.jsx)(Popup_1.Popup, __assign({ targetRef: contextMenuRef, isOpen: isContextMenuOpen, placement: "top-end", wrapperHeight: rect === null || rect === void 0 ? void 0 : rect.height, onClickOutside: function () { return setIsContextMenuOpen(false); } }, { children: (0, jsx_runtime_1.jsx)(ContextMenu_1.ContextMenu, { children: contextMenuOptionArray === null || contextMenuOptionArray === void 0 ? void 0 : contextMenuOptionArray.map(function (el) { return ((0, jsx_runtime_1.jsx)(ContextMenuItem_1.ContextMenuItem, { option: el, onClick: handleContextMenuItemClick, state: contextMenuState }, el.value)); }) }) })) })] })) }));
|
|
146
146
|
}
|
|
147
147
|
var MyChatBubbleListItem = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n margin-right: ", ";\n"], ["\n margin-right: ", ";\n"])), function (_a) {
|
|
148
148
|
var theme = _a.theme;
|
package/package.json
CHANGED
package/release-note.md
CHANGED