@hh.ru/magritte-ui-chat-bubble 3.1.0 → 3.1.2
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/Button.js +1 -1
- package/Call.js +1 -1
- package/ChatBubble.js +1 -1
- package/File.js +1 -1
- package/Label.js +1 -1
- package/Media.js +1 -1
- package/Message.js +1 -1
- package/Meta.js +1 -1
- package/Reply.js +1 -1
- package/Snippet.js +1 -1
- package/Status.js +1 -1
- package/Tail.js +1 -1
- package/chat-bubble-XuR5t6Q_.js +5 -0
- package/chat-bubble-XuR5t6Q_.js.map +1 -0
- package/index.css +63 -63
- package/index.js +1 -1
- package/package.json +3 -3
- package/chat-bubble-Dug62HSY.js +0 -5
- package/chat-bubble-Dug62HSY.js.map +0 -1
package/Button.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
4
|
import classnames from 'classnames';
|
|
5
5
|
import { Button } from '@hh.ru/magritte-ui-button';
|
|
6
|
-
import { s as styles } from './chat-bubble-
|
|
6
|
+
import { s as styles } from './chat-bubble-XuR5t6Q_.js';
|
|
7
7
|
|
|
8
8
|
const ChatBubbleButtonRenderFunc = ({ wide = false, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: classnames({ [styles.buttonWide]: wide }), children: /* @__PURE__ */ jsx(Button, { ...props, ref }) });
|
|
9
9
|
const ChatBubbleButton = forwardRef(ChatBubbleButtonRenderFunc);
|
package/Call.js
CHANGED
|
@@ -6,7 +6,7 @@ import { useChatBubbleColors } from './internal/colors.js';
|
|
|
6
6
|
import { useChatBubbleMode } from './internal/mode.js';
|
|
7
7
|
import { markMetaHost } from './internal/utils.js';
|
|
8
8
|
import { PhoneCrossFilledSize24, PhoneArrowOutFilledSize24, PhoneArrowInFilledSize24 } from '@hh.ru/magritte-ui-icon/icon';
|
|
9
|
-
import { s as styles } from './chat-bubble-
|
|
9
|
+
import { s as styles } from './chat-bubble-XuR5t6Q_.js';
|
|
10
10
|
|
|
11
11
|
const ChatBubbleCallComponent = forwardRef(
|
|
12
12
|
({ "data-qa": dataQa = "chat-bubble-call", title, description, meta, state = "connected", ...props }, ref) => {
|
package/ChatBubble.js
CHANGED
|
@@ -23,7 +23,7 @@ import { flattenFragments, isMetaHost } from './internal/utils.js';
|
|
|
23
23
|
import { ExclamationCircleFilledSize24 } from '@hh.ru/magritte-ui-icon/icon';
|
|
24
24
|
import { Menu } from '@hh.ru/magritte-ui-menu';
|
|
25
25
|
import { Text } from '@hh.ru/magritte-ui-typography';
|
|
26
|
-
import { s as styles } from './chat-bubble-
|
|
26
|
+
import { s as styles } from './chat-bubble-XuR5t6Q_.js';
|
|
27
27
|
import '@hh.ru/magritte-ui-cell';
|
|
28
28
|
import '@hh.ru/magritte-ui-link';
|
|
29
29
|
import '@hh.ru/magritte-ui-loader';
|
package/File.js
CHANGED
|
@@ -7,7 +7,7 @@ import { markMetaHost } from './internal/utils.js';
|
|
|
7
7
|
import { ArrowDownLineOutlinedSize24, DocumentOutlinedSize24, ExclamationTriangleOutlinedSize16 } from '@hh.ru/magritte-ui-icon/icon';
|
|
8
8
|
import { LinkDefaultPropsContext } from '@hh.ru/magritte-ui-link';
|
|
9
9
|
import { Loader } from '@hh.ru/magritte-ui-loader';
|
|
10
|
-
import { s as styles } from './chat-bubble-
|
|
10
|
+
import { s as styles } from './chat-bubble-XuR5t6Q_.js';
|
|
11
11
|
import './internal/mode.js';
|
|
12
12
|
|
|
13
13
|
const ChatBubbleFileComponent = forwardRef(
|
package/Label.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
4
|
import { useChatBubbleColors } from './internal/colors.js';
|
|
5
5
|
import { Text } from '@hh.ru/magritte-ui-typography';
|
|
6
|
-
import { s as styles } from './chat-bubble-
|
|
6
|
+
import { s as styles } from './chat-bubble-XuR5t6Q_.js';
|
|
7
7
|
import './internal/mode.js';
|
|
8
8
|
|
|
9
9
|
const ChatBubbleLabel = forwardRef(({ children, ...props }, ref) => {
|
package/Media.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
4
|
import { markMetaHost } from './internal/utils.js';
|
|
5
5
|
import { Text } from '@hh.ru/magritte-ui-typography';
|
|
6
|
-
import { s as styles } from './chat-bubble-
|
|
6
|
+
import { s as styles } from './chat-bubble-XuR5t6Q_.js';
|
|
7
7
|
|
|
8
8
|
const ChatBubbleMediaComponent = forwardRef(
|
|
9
9
|
({ alt, children, "data-qa": dataQa = "chat-bubble-media", meta, src, format, width, height, ...props }, ref) => {
|
package/Message.js
CHANGED
|
@@ -4,7 +4,7 @@ import { forwardRef } from 'react';
|
|
|
4
4
|
import { useChatBubbleColors } from './internal/colors.js';
|
|
5
5
|
import { markMetaHost } from './internal/utils.js';
|
|
6
6
|
import { Text } from '@hh.ru/magritte-ui-typography';
|
|
7
|
-
import { s as styles } from './chat-bubble-
|
|
7
|
+
import { s as styles } from './chat-bubble-XuR5t6Q_.js';
|
|
8
8
|
import './internal/mode.js';
|
|
9
9
|
|
|
10
10
|
const ChatBubbleMessageComponent = forwardRef(
|
package/Meta.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { useTranslation } from '@hh.ru/magritte-common-use-translation';
|
|
4
4
|
import { getColors } from './internal/colors.js';
|
|
5
5
|
import { Text } from '@hh.ru/magritte-ui-typography';
|
|
6
|
-
import { s as styles } from './chat-bubble-
|
|
6
|
+
import { s as styles } from './chat-bubble-XuR5t6Q_.js';
|
|
7
7
|
import './internal/mode.js';
|
|
8
8
|
import 'react';
|
|
9
9
|
|
package/Reply.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
4
|
import { useChatBubbleColors } from './internal/colors.js';
|
|
5
5
|
import { Text } from '@hh.ru/magritte-ui-typography';
|
|
6
|
-
import { s as styles } from './chat-bubble-
|
|
6
|
+
import { s as styles } from './chat-bubble-XuR5t6Q_.js';
|
|
7
7
|
import './internal/mode.js';
|
|
8
8
|
|
|
9
9
|
const ChatBubbleReply = forwardRef(
|
package/Snippet.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
4
|
import { useChatBubbleColors } from './internal/colors.js';
|
|
5
5
|
import { Text } from '@hh.ru/magritte-ui-typography';
|
|
6
|
-
import { s as styles } from './chat-bubble-
|
|
6
|
+
import { s as styles } from './chat-bubble-XuR5t6Q_.js';
|
|
7
7
|
import './internal/mode.js';
|
|
8
8
|
|
|
9
9
|
const ChatBubbleSnippetComponent = forwardRef(
|
package/Status.js
CHANGED
|
@@ -7,7 +7,7 @@ import { getColors } from './internal/colors.js';
|
|
|
7
7
|
import { useChatBubbleMode } from './internal/mode.js';
|
|
8
8
|
import { EyeOutlinedSize16, ClockOutlinedSize16, CheckOutlinedSize16, CheckDoubleOutlinedSize16, TrashOutlinedSize16 } from '@hh.ru/magritte-ui-icon/icon';
|
|
9
9
|
import { TooltipHover } from '@hh.ru/magritte-ui-tooltip';
|
|
10
|
-
import { s as styles } from './chat-bubble-
|
|
10
|
+
import { s as styles } from './chat-bubble-XuR5t6Q_.js';
|
|
11
11
|
|
|
12
12
|
const ICON = {
|
|
13
13
|
sending: ClockOutlinedSize16,
|
package/Tail.js
CHANGED
|
@@ -2,7 +2,7 @@ import './index.css';
|
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { useChatBubbleMode } from './internal/mode.js';
|
|
5
|
-
import { s as styles } from './chat-bubble-
|
|
5
|
+
import { s as styles } from './chat-bubble-XuR5t6Q_.js';
|
|
6
6
|
import 'react';
|
|
7
7
|
|
|
8
8
|
const OUTLINE = "M6.5 0C6.5 7.5 5.2 11.8 1.6 13.4C0.9 13.9 0.6 14.5 1.1 14.5H7";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import './index.css';
|
|
2
|
+
var styles = {"chat-bubble":"magritte-chat-bubble___ds9CP_3-1-2","chatBubble":"magritte-chat-bubble___ds9CP_3-1-2","outgoing":"magritte-outgoing___3n00o_3-1-2","bot":"magritte-bot___Z6vZA_3-1-2","row":"magritte-row___mQNnt_3-1-2","with-buttons":"magritte-with-buttons___L-ZmQ_3-1-2","withButtons":"magritte-with-buttons___L-ZmQ_3-1-2","bubble":"magritte-bubble___NVuDI_3-1-2","with-tail":"magritte-with-tail___IdixJ_3-1-2","withTail":"magritte-with-tail___IdixJ_3-1-2","tail":"magritte-tail___E2hdk_3-1-2","tail-outgoing":"magritte-tail-outgoing___Pn3MI_3-1-2","tailOutgoing":"magritte-tail-outgoing___Pn3MI_3-1-2","buttons":"magritte-buttons___yQqBi_3-1-2","button-wide":"magritte-button-wide___QBqmM_3-1-2","buttonWide":"magritte-button-wide___QBqmM_3-1-2","aside":"magritte-aside___bTex-_3-1-2","aside-revealed":"magritte-aside-revealed___CRBl7_3-1-2","asideRevealed":"magritte-aside-revealed___CRBl7_3-1-2","error-text":"magritte-error-text___1ZxWY_3-1-2","errorText":"magritte-error-text___1ZxWY_3-1-2","file":"magritte-file___k2IKy_3-1-2","file-preview":"magritte-file-preview___eJKu8_3-1-2","filePreview":"magritte-file-preview___eJKu8_3-1-2","media":"magritte-media___9jH2k_3-1-2","media-blur":"magritte-media-blur___TbiMa_3-1-2","mediaBlur":"magritte-media-blur___TbiMa_3-1-2","media-image":"magritte-media-image___G-FkF_3-1-2","mediaImage":"magritte-media-image___G-FkF_3-1-2","media-content":"magritte-media-content___n3XbD_3-1-2","mediaContent":"magritte-media-content___n3XbD_3-1-2","media-format":"magritte-media-format___AdfCK_3-1-2","mediaFormat":"magritte-media-format___AdfCK_3-1-2","media-meta":"magritte-media-meta___oSxxr_3-1-2","mediaMeta":"magritte-media-meta___oSxxr_3-1-2","reply":"magritte-reply___-QCK7_3-1-2","reply-preview":"magritte-reply-preview___qvlNT_3-1-2","replyPreview":"magritte-reply-preview___qvlNT_3-1-2","reply-body":"magritte-reply-body___f2xx7_3-1-2","replyBody":"magritte-reply-body___f2xx7_3-1-2","snippet":"magritte-snippet___8k9xb_3-1-2","meta":"magritte-meta___1qhjm_3-1-2","edited":"magritte-edited___m-zmB_3-1-2","status":"magritte-status___dHzCt_3-1-2","message-title":"magritte-message-title___dgBFk_3-1-2","messageTitle":"magritte-message-title___dgBFk_3-1-2","label":"magritte-label___i0Wyt_3-1-2","message":"magritte-message___7TEpw_3-1-2"};
|
|
3
|
+
|
|
4
|
+
export { styles as s };
|
|
5
|
+
//# sourceMappingURL=chat-bubble-XuR5t6Q_.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-bubble-XuR5t6Q_.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/index.css
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
--magritte-color-component-chat-bubble-snippet-background-outgoing-v26-0-2:#90ACC1;
|
|
39
39
|
--magritte-color-component-chat-bubble-snippet-line-incoming-v26-0-2:#557B96;
|
|
40
40
|
}
|
|
41
|
-
.magritte-chat-bubble___ds9CP_3-1-
|
|
41
|
+
.magritte-chat-bubble___ds9CP_3-1-2{
|
|
42
42
|
--magritte-chat-bubble-background:var(--magritte-color-component-chat-bubble-background-incoming-v26-0-2);
|
|
43
43
|
--magritte-chat-bubble-border:var(--magritte-color-component-chat-bubble-border-incoming-v26-0-2);
|
|
44
44
|
--magritte-chat-bubble-snippet-background:var(--magritte-color-component-chat-bubble-snippet-background-incoming-v26-0-2);
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
align-items:flex-start;
|
|
49
49
|
max-width:min(460px, calc(100% - 40px));
|
|
50
50
|
}
|
|
51
|
-
.magritte-outgoing___3n00o_3-1-
|
|
51
|
+
.magritte-outgoing___3n00o_3-1-2{
|
|
52
52
|
--magritte-chat-bubble-background:var(--magritte-color-component-chat-bubble-background-outgoing-v26-0-2);
|
|
53
53
|
--magritte-chat-bubble-border:var(--magritte-color-component-chat-bubble-border-outgoing-v26-0-2);
|
|
54
54
|
--magritte-chat-bubble-snippet-background:var(--magritte-color-component-chat-bubble-snippet-background-outgoing-v26-0-2);
|
|
@@ -56,26 +56,26 @@
|
|
|
56
56
|
align-items:flex-end;
|
|
57
57
|
margin-left:auto;
|
|
58
58
|
}
|
|
59
|
-
.magritte-bot___Z6vZA_3-1-
|
|
59
|
+
.magritte-bot___Z6vZA_3-1-2{
|
|
60
60
|
--magritte-chat-bubble-background:var(--magritte-color-component-chat-bubble-background-bot-v26-0-2);
|
|
61
61
|
--magritte-chat-bubble-border:var(--magritte-color-component-chat-bubble-border-bot-v26-0-2);
|
|
62
62
|
--magritte-chat-bubble-snippet-background:var(--magritte-color-component-chat-bubble-snippet-background-bot-v26-0-2);
|
|
63
63
|
--magritte-chat-bubble-snippet-line:var(--magritte-color-component-chat-bubble-snippet-line-bot-v26-0-2);
|
|
64
64
|
}
|
|
65
|
-
.magritte-row___mQNnt_3-1-
|
|
65
|
+
.magritte-row___mQNnt_3-1-2{
|
|
66
66
|
display:flex;
|
|
67
67
|
position:relative;
|
|
68
68
|
align-items:flex-end;
|
|
69
69
|
gap:8px;
|
|
70
70
|
max-width:100%;
|
|
71
71
|
}
|
|
72
|
-
.magritte-with-buttons___L-ZmQ_3-1-
|
|
72
|
+
.magritte-with-buttons___L-ZmQ_3-1-2 .magritte-row___mQNnt_3-1-2{
|
|
73
73
|
align-self:stretch;
|
|
74
74
|
}
|
|
75
|
-
.magritte-with-buttons___L-ZmQ_3-1-
|
|
75
|
+
.magritte-with-buttons___L-ZmQ_3-1-2 .magritte-bubble___NVuDI_3-1-2{
|
|
76
76
|
flex-grow:1;
|
|
77
77
|
}
|
|
78
|
-
.magritte-bubble___NVuDI_3-1-
|
|
78
|
+
.magritte-bubble___NVuDI_3-1-2{
|
|
79
79
|
position:relative;
|
|
80
80
|
box-sizing:border-box;
|
|
81
81
|
min-width:0;
|
|
@@ -86,34 +86,34 @@
|
|
|
86
86
|
border-radius:20px;
|
|
87
87
|
overflow-wrap:break-word;
|
|
88
88
|
}
|
|
89
|
-
.magritte-with-tail___IdixJ_3-1-
|
|
89
|
+
.magritte-with-tail___IdixJ_3-1-2 .magritte-bubble___NVuDI_3-1-2{
|
|
90
90
|
border-bottom-left-radius:0;
|
|
91
91
|
}
|
|
92
|
-
.magritte-with-tail___IdixJ_3-1-
|
|
92
|
+
.magritte-with-tail___IdixJ_3-1-2.magritte-outgoing___3n00o_3-1-2 .magritte-bubble___NVuDI_3-1-2{
|
|
93
93
|
border-bottom-left-radius:20px;
|
|
94
94
|
border-bottom-right-radius:0;
|
|
95
95
|
}
|
|
96
|
-
.magritte-tail___E2hdk_3-1-
|
|
96
|
+
.magritte-tail___E2hdk_3-1-2{
|
|
97
97
|
position:absolute;
|
|
98
98
|
bottom:-1px;
|
|
99
99
|
left:-7px;
|
|
100
100
|
}
|
|
101
|
-
.magritte-tail-outgoing___Pn3MI_3-1-
|
|
101
|
+
.magritte-tail-outgoing___Pn3MI_3-1-2{
|
|
102
102
|
left:auto;
|
|
103
103
|
right:-7px;
|
|
104
104
|
transform:scaleX(-1);
|
|
105
105
|
}
|
|
106
|
-
.magritte-buttons___yQqBi_3-1-
|
|
106
|
+
.magritte-buttons___yQqBi_3-1-2{
|
|
107
107
|
display:grid;
|
|
108
108
|
grid-template-columns:repeat(2, minmax(0, 1fr));
|
|
109
109
|
gap:8px;
|
|
110
110
|
width:100%;
|
|
111
111
|
margin-top:4px;
|
|
112
112
|
}
|
|
113
|
-
.magritte-button-wide___QBqmM_3-1-
|
|
113
|
+
.magritte-button-wide___QBqmM_3-1-2{
|
|
114
114
|
grid-column:span 2;
|
|
115
115
|
}
|
|
116
|
-
.magritte-aside___bTex-_3-1-
|
|
116
|
+
.magritte-aside___bTex-_3-1-2{
|
|
117
117
|
display:flex;
|
|
118
118
|
position:absolute;
|
|
119
119
|
top:0;
|
|
@@ -124,30 +124,30 @@
|
|
|
124
124
|
opacity:0;
|
|
125
125
|
transition:opacity var(--magritte-semantic-animation-time-s-duration-v26-0-2) ease-in-out;
|
|
126
126
|
}
|
|
127
|
-
.magritte-aside-revealed___CRBl7_3-1-
|
|
127
|
+
.magritte-aside-revealed___CRBl7_3-1-2{
|
|
128
128
|
opacity:1;
|
|
129
129
|
}
|
|
130
|
-
.magritte-outgoing___3n00o_3-1-
|
|
130
|
+
.magritte-outgoing___3n00o_3-1-2 .magritte-aside___bTex-_3-1-2{
|
|
131
131
|
left:auto;
|
|
132
132
|
right:100%;
|
|
133
133
|
padding-right:8px;
|
|
134
134
|
padding-left:0;
|
|
135
135
|
}
|
|
136
|
-
.magritte-error-text___1ZxWY_3-1-
|
|
136
|
+
.magritte-error-text___1ZxWY_3-1-2{
|
|
137
137
|
margin-top:2px;
|
|
138
138
|
}
|
|
139
|
-
.magritte-file___k2IKy_3-1-
|
|
139
|
+
.magritte-file___k2IKy_3-1-2{
|
|
140
140
|
display:flex;
|
|
141
141
|
align-items:flex-end;
|
|
142
142
|
}
|
|
143
|
-
.magritte-file-preview___eJKu8_3-1-
|
|
143
|
+
.magritte-file-preview___eJKu8_3-1-2{
|
|
144
144
|
display:block;
|
|
145
145
|
width:48px;
|
|
146
146
|
height:48px;
|
|
147
147
|
border-radius:8px;
|
|
148
148
|
object-fit:cover;
|
|
149
149
|
}
|
|
150
|
-
.magritte-media___9jH2k_3-1-
|
|
150
|
+
.magritte-media___9jH2k_3-1-2{
|
|
151
151
|
display:flex;
|
|
152
152
|
position:relative;
|
|
153
153
|
box-sizing:border-box;
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
overflow:hidden;
|
|
160
160
|
box-shadow:inset 0 0 0 1px var(--magritte-color-component-chat-bubble-border-image-v26-0-2);
|
|
161
161
|
}
|
|
162
|
-
.magritte-media-blur___TbiMa_3-1-
|
|
162
|
+
.magritte-media-blur___TbiMa_3-1-2{
|
|
163
163
|
position:absolute;
|
|
164
164
|
top:-96px;
|
|
165
165
|
left:-96px;
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
filter:blur(48px);
|
|
170
170
|
object-fit:cover;
|
|
171
171
|
}
|
|
172
|
-
.magritte-media-image___G-FkF_3-1-
|
|
172
|
+
.magritte-media-image___G-FkF_3-1-2{
|
|
173
173
|
display:block;
|
|
174
174
|
position:relative;
|
|
175
175
|
height:auto;
|
|
@@ -179,23 +179,23 @@
|
|
|
179
179
|
object-fit:contain;
|
|
180
180
|
}
|
|
181
181
|
@media (min-width: 1020px){
|
|
182
|
-
body.magritte-old-layout .magritte-media-image___G-FkF_3-1-
|
|
182
|
+
body.magritte-old-layout .magritte-media-image___G-FkF_3-1-2{
|
|
183
183
|
max-height:452px;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
@media (min-width: 1024px){
|
|
187
|
-
body:not(.magritte-old-layout) .magritte-media-image___G-FkF_3-1-
|
|
187
|
+
body:not(.magritte-old-layout) .magritte-media-image___G-FkF_3-1-2{
|
|
188
188
|
max-height:452px;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
.magritte-media-content___n3XbD_3-1-
|
|
191
|
+
.magritte-media-content___n3XbD_3-1-2{
|
|
192
192
|
display:flex;
|
|
193
193
|
position:absolute;
|
|
194
194
|
inset:0;
|
|
195
195
|
align-items:center;
|
|
196
196
|
justify-content:center;
|
|
197
197
|
}
|
|
198
|
-
.magritte-media-format___AdfCK_3-1-
|
|
198
|
+
.magritte-media-format___AdfCK_3-1-2{
|
|
199
199
|
display:flex;
|
|
200
200
|
position:absolute;
|
|
201
201
|
padding:2px 8px;
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
top:4px;
|
|
206
206
|
left:4px;
|
|
207
207
|
}
|
|
208
|
-
.magritte-media-meta___oSxxr_3-1-
|
|
208
|
+
.magritte-media-meta___oSxxr_3-1-2{
|
|
209
209
|
--magritte-ui-text-color-override:var(--magritte-color-text-constant-v26-0-2);
|
|
210
210
|
display:flex;
|
|
211
211
|
position:absolute;
|
|
@@ -217,14 +217,14 @@
|
|
|
217
217
|
bottom:4px;
|
|
218
218
|
align-items:center;
|
|
219
219
|
}
|
|
220
|
-
.magritte-media-meta___oSxxr_3-1-
|
|
221
|
-
.magritte-media-meta___oSxxr_3-1-
|
|
220
|
+
.magritte-media-meta___oSxxr_3-1-2:empty,
|
|
221
|
+
.magritte-media-meta___oSxxr_3-1-2:has(> :empty){
|
|
222
222
|
display:none;
|
|
223
223
|
}
|
|
224
|
-
.magritte-media-meta___oSxxr_3-1-
|
|
224
|
+
.magritte-media-meta___oSxxr_3-1-2 > span{
|
|
225
225
|
margin-left:0;
|
|
226
226
|
}
|
|
227
|
-
.magritte-reply___-QCK7_3-1-
|
|
227
|
+
.magritte-reply___-QCK7_3-1-2{
|
|
228
228
|
display:flex;
|
|
229
229
|
position:relative;
|
|
230
230
|
padding:8px;
|
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
align-items:center;
|
|
236
236
|
gap:8px;
|
|
237
237
|
}
|
|
238
|
-
.magritte-reply___-QCK7_3-1-
|
|
238
|
+
.magritte-reply___-QCK7_3-1-2::before{
|
|
239
239
|
content:'';
|
|
240
240
|
position:absolute;
|
|
241
241
|
top:0;
|
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
width:4px;
|
|
245
245
|
background-color:var(--magritte-chat-bubble-snippet-line);
|
|
246
246
|
}
|
|
247
|
-
.magritte-reply-preview___qvlNT_3-1-
|
|
247
|
+
.magritte-reply-preview___qvlNT_3-1-2{
|
|
248
248
|
display:block;
|
|
249
249
|
flex-shrink:0;
|
|
250
250
|
width:40px;
|
|
@@ -254,12 +254,12 @@
|
|
|
254
254
|
outline-offset:-1px;
|
|
255
255
|
object-fit:cover;
|
|
256
256
|
}
|
|
257
|
-
.magritte-reply-body___f2xx7_3-1-
|
|
257
|
+
.magritte-reply-body___f2xx7_3-1-2{
|
|
258
258
|
display:flex;
|
|
259
259
|
flex-direction:column;
|
|
260
260
|
min-width:0;
|
|
261
261
|
}
|
|
262
|
-
.magritte-snippet___8k9xb_3-1-
|
|
262
|
+
.magritte-snippet___8k9xb_3-1-2{
|
|
263
263
|
display:flex;
|
|
264
264
|
position:relative;
|
|
265
265
|
padding:8px;
|
|
@@ -270,7 +270,7 @@
|
|
|
270
270
|
flex-direction:column;
|
|
271
271
|
gap:2px;
|
|
272
272
|
}
|
|
273
|
-
.magritte-snippet___8k9xb_3-1-
|
|
273
|
+
.magritte-snippet___8k9xb_3-1-2::before{
|
|
274
274
|
content:'';
|
|
275
275
|
position:absolute;
|
|
276
276
|
top:0;
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
width:4px;
|
|
280
280
|
background-color:var(--magritte-chat-bubble-snippet-line);
|
|
281
281
|
}
|
|
282
|
-
.magritte-snippet___8k9xb_3-1-
|
|
282
|
+
.magritte-snippet___8k9xb_3-1-2 img{
|
|
283
283
|
display:block;
|
|
284
284
|
max-width:100%;
|
|
285
285
|
border-radius:4px;
|
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
outline-offset:-1px;
|
|
288
288
|
margin-top:6px;
|
|
289
289
|
}
|
|
290
|
-
.magritte-meta___1qhjm_3-1-
|
|
290
|
+
.magritte-meta___1qhjm_3-1-2{
|
|
291
291
|
float:right;
|
|
292
292
|
margin-left:12px;
|
|
293
293
|
white-space:nowrap;
|
|
@@ -300,53 +300,53 @@
|
|
|
300
300
|
text-transform:none;
|
|
301
301
|
text-decoration:none;
|
|
302
302
|
}
|
|
303
|
-
.magritte-edited___m-zmB_3-1-
|
|
303
|
+
.magritte-edited___m-zmB_3-1-2{
|
|
304
304
|
margin-right:4px;
|
|
305
305
|
}
|
|
306
|
-
.magritte-status___dHzCt_3-1-
|
|
306
|
+
.magritte-status___dHzCt_3-1-2{
|
|
307
307
|
display:inline-flex;
|
|
308
308
|
vertical-align:middle;
|
|
309
309
|
}
|
|
310
|
-
.magritte-status___dHzCt_3-1-
|
|
310
|
+
.magritte-status___dHzCt_3-1-2:not(:first-child){
|
|
311
311
|
margin-left:4px;
|
|
312
312
|
}
|
|
313
|
-
.magritte-message-title___dgBFk_3-1-
|
|
313
|
+
.magritte-message-title___dgBFk_3-1-2{
|
|
314
314
|
margin-bottom:4px;
|
|
315
315
|
}
|
|
316
|
-
.magritte-label___i0Wyt_3-1-
|
|
317
|
-
.magritte-label___i0Wyt_3-1-
|
|
318
|
-
.magritte-label___i0Wyt_3-1-
|
|
319
|
-
.magritte-message___7TEpw_3-1-
|
|
320
|
-
.magritte-bubble___NVuDI_3-1-
|
|
316
|
+
.magritte-label___i0Wyt_3-1-2 + .magritte-media___9jH2k_3-1-2,
|
|
317
|
+
.magritte-label___i0Wyt_3-1-2 + .magritte-message___7TEpw_3-1-2,
|
|
318
|
+
.magritte-label___i0Wyt_3-1-2 + .magritte-snippet___8k9xb_3-1-2,
|
|
319
|
+
.magritte-message___7TEpw_3-1-2 + .magritte-message___7TEpw_3-1-2,
|
|
320
|
+
.magritte-bubble___NVuDI_3-1-2 > .magritte-meta___1qhjm_3-1-2{
|
|
321
321
|
margin-top:4px;
|
|
322
322
|
}
|
|
323
|
-
.magritte-label___i0Wyt_3-1-
|
|
324
|
-
.magritte-reply___-QCK7_3-1-
|
|
325
|
-
.magritte-reply___-QCK7_3-1-
|
|
326
|
-
.magritte-reply___-QCK7_3-1-
|
|
327
|
-
.magritte-media___9jH2k_3-1-
|
|
323
|
+
.magritte-label___i0Wyt_3-1-2 + .magritte-reply___-QCK7_3-1-2,
|
|
324
|
+
.magritte-reply___-QCK7_3-1-2 + .magritte-media___9jH2k_3-1-2,
|
|
325
|
+
.magritte-reply___-QCK7_3-1-2 + .magritte-message___7TEpw_3-1-2,
|
|
326
|
+
.magritte-reply___-QCK7_3-1-2 + .magritte-snippet___8k9xb_3-1-2,
|
|
327
|
+
.magritte-media___9jH2k_3-1-2 + .magritte-snippet___8k9xb_3-1-2{
|
|
328
328
|
margin-top:8px;
|
|
329
329
|
}
|
|
330
|
-
.magritte-label___i0Wyt_3-1-
|
|
331
|
-
.magritte-reply___-QCK7_3-1-
|
|
332
|
-
.magritte-media___9jH2k_3-1-
|
|
333
|
-
.magritte-media___9jH2k_3-1-
|
|
334
|
-
.magritte-file___k2IKy_3-1-
|
|
335
|
-
.magritte-file___k2IKy_3-1-
|
|
330
|
+
.magritte-label___i0Wyt_3-1-2 + .magritte-file___k2IKy_3-1-2,
|
|
331
|
+
.magritte-reply___-QCK7_3-1-2 + .magritte-file___k2IKy_3-1-2,
|
|
332
|
+
.magritte-media___9jH2k_3-1-2 + .magritte-file___k2IKy_3-1-2,
|
|
333
|
+
.magritte-media___9jH2k_3-1-2 + .magritte-message___7TEpw_3-1-2,
|
|
334
|
+
.magritte-file___k2IKy_3-1-2 + .magritte-message___7TEpw_3-1-2,
|
|
335
|
+
.magritte-file___k2IKy_3-1-2 + .magritte-snippet___8k9xb_3-1-2{
|
|
336
336
|
margin-top:12px;
|
|
337
337
|
}
|
|
338
|
-
.magritte-message___7TEpw_3-1-
|
|
338
|
+
.magritte-message___7TEpw_3-1-2 + .magritte-snippet___8k9xb_3-1-2{
|
|
339
339
|
margin-top:16px;
|
|
340
340
|
}
|
|
341
|
-
.magritte-file___k2IKy_3-1-
|
|
341
|
+
.magritte-file___k2IKy_3-1-2 + .magritte-file___k2IKy_3-1-2{
|
|
342
342
|
margin-top:24px;
|
|
343
343
|
}
|
|
344
|
-
.magritte-label___i0Wyt_3-1-
|
|
344
|
+
.magritte-label___i0Wyt_3-1-2{
|
|
345
345
|
margin-top:-4px;
|
|
346
346
|
}
|
|
347
|
-
.magritte-bubble___NVuDI_3-1-
|
|
347
|
+
.magritte-bubble___NVuDI_3-1-2 > .magritte-media___9jH2k_3-1-2:first-child{
|
|
348
348
|
margin-top:-8px;
|
|
349
349
|
}
|
|
350
|
-
.magritte-bubble___NVuDI_3-1-
|
|
350
|
+
.magritte-bubble___NVuDI_3-1-2 > .magritte-media___9jH2k_3-1-2:not(:has( ~ :not(.magritte-tail___E2hdk_3-1-2))){
|
|
351
351
|
margin-bottom:-8px;
|
|
352
352
|
}
|
package/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import 'classnames';
|
|
|
6
6
|
import '@hh.ru/magritte-common-mouse';
|
|
7
7
|
import '@hh.ru/magritte-ui-button';
|
|
8
8
|
import './Button.js';
|
|
9
|
-
import './chat-bubble-
|
|
9
|
+
import './chat-bubble-XuR5t6Q_.js';
|
|
10
10
|
import './Call.js';
|
|
11
11
|
import '@hh.ru/magritte-ui-cell';
|
|
12
12
|
import './internal/colors.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hh.ru/magritte-ui-chat-bubble",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.2",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@hh.ru/magritte-ui-icon": "15.1.6",
|
|
31
31
|
"@hh.ru/magritte-ui-link": "7.2.7",
|
|
32
32
|
"@hh.ru/magritte-ui-loader": "4.1.7",
|
|
33
|
-
"@hh.ru/magritte-ui-menu": "1.0.
|
|
33
|
+
"@hh.ru/magritte-ui-menu": "1.0.54",
|
|
34
34
|
"@hh.ru/magritte-ui-mock-component": "1.1.9",
|
|
35
35
|
"@hh.ru/magritte-ui-tooltip": "11.0.54",
|
|
36
36
|
"@hh.ru/magritte-ui-typography": "5.3.17"
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "5c3c2c1bf7101bd746688b009408e18f03fe200a"
|
|
46
46
|
}
|
package/chat-bubble-Dug62HSY.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import './index.css';
|
|
2
|
-
var styles = {"chat-bubble":"magritte-chat-bubble___ds9CP_3-1-0","chatBubble":"magritte-chat-bubble___ds9CP_3-1-0","outgoing":"magritte-outgoing___3n00o_3-1-0","bot":"magritte-bot___Z6vZA_3-1-0","row":"magritte-row___mQNnt_3-1-0","with-buttons":"magritte-with-buttons___L-ZmQ_3-1-0","withButtons":"magritte-with-buttons___L-ZmQ_3-1-0","bubble":"magritte-bubble___NVuDI_3-1-0","with-tail":"magritte-with-tail___IdixJ_3-1-0","withTail":"magritte-with-tail___IdixJ_3-1-0","tail":"magritte-tail___E2hdk_3-1-0","tail-outgoing":"magritte-tail-outgoing___Pn3MI_3-1-0","tailOutgoing":"magritte-tail-outgoing___Pn3MI_3-1-0","buttons":"magritte-buttons___yQqBi_3-1-0","button-wide":"magritte-button-wide___QBqmM_3-1-0","buttonWide":"magritte-button-wide___QBqmM_3-1-0","aside":"magritte-aside___bTex-_3-1-0","aside-revealed":"magritte-aside-revealed___CRBl7_3-1-0","asideRevealed":"magritte-aside-revealed___CRBl7_3-1-0","error-text":"magritte-error-text___1ZxWY_3-1-0","errorText":"magritte-error-text___1ZxWY_3-1-0","file":"magritte-file___k2IKy_3-1-0","file-preview":"magritte-file-preview___eJKu8_3-1-0","filePreview":"magritte-file-preview___eJKu8_3-1-0","media":"magritte-media___9jH2k_3-1-0","media-blur":"magritte-media-blur___TbiMa_3-1-0","mediaBlur":"magritte-media-blur___TbiMa_3-1-0","media-image":"magritte-media-image___G-FkF_3-1-0","mediaImage":"magritte-media-image___G-FkF_3-1-0","media-content":"magritte-media-content___n3XbD_3-1-0","mediaContent":"magritte-media-content___n3XbD_3-1-0","media-format":"magritte-media-format___AdfCK_3-1-0","mediaFormat":"magritte-media-format___AdfCK_3-1-0","media-meta":"magritte-media-meta___oSxxr_3-1-0","mediaMeta":"magritte-media-meta___oSxxr_3-1-0","reply":"magritte-reply___-QCK7_3-1-0","reply-preview":"magritte-reply-preview___qvlNT_3-1-0","replyPreview":"magritte-reply-preview___qvlNT_3-1-0","reply-body":"magritte-reply-body___f2xx7_3-1-0","replyBody":"magritte-reply-body___f2xx7_3-1-0","snippet":"magritte-snippet___8k9xb_3-1-0","meta":"magritte-meta___1qhjm_3-1-0","edited":"magritte-edited___m-zmB_3-1-0","status":"magritte-status___dHzCt_3-1-0","message-title":"magritte-message-title___dgBFk_3-1-0","messageTitle":"magritte-message-title___dgBFk_3-1-0","label":"magritte-label___i0Wyt_3-1-0","message":"magritte-message___7TEpw_3-1-0"};
|
|
3
|
-
|
|
4
|
-
export { styles as s };
|
|
5
|
-
//# sourceMappingURL=chat-bubble-Dug62HSY.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chat-bubble-Dug62HSY.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|