@hh.ru/magritte-ui-chat-input 1.1.12 → 1.1.14
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/index.css +52 -52
- package/index.js +1 -1
- package/internal/ModeTransition.js +1 -1
- package/internal/TextInput.js +1 -1
- package/internal/VoiceRecord.js +1 -1
- package/internal/VoiceRecordIndicator.js +1 -1
- package/package.json +6 -6
- package/public/ChatInput.js +1 -1
- package/public/ChatInputChips.js +1 -1
- package/public/ChatInputPreview.js +1 -1
- package/styles-DuT6U5wT.js +5 -0
- package/styles-DuT6U5wT.js.map +1 -0
- package/styles-MqCcLY7o.js +0 -5
- package/styles-MqCcLY7o.js.map +0 -1
package/index.css
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
--magritte-gradient-component-chat-input-background-fade-v25-0-1:#1b1b1b00 0%, #1b1b1b 100%;
|
|
32
32
|
--magritte-shadow-level-1-color-v25-0-1:#00000029;
|
|
33
33
|
}
|
|
34
|
-
.magritte-chat-input___P69oN_1-1-
|
|
34
|
+
.magritte-chat-input___P69oN_1-1-14{
|
|
35
35
|
--chat-input-stroke-color:var(--magritte-color-stroke-neutral-v25-0-1);
|
|
36
36
|
--chat-input-focus-shadow:0 0 0 transparent;
|
|
37
37
|
box-shadow:inset 0 0 0 1px var(--chat-input-stroke-color), var(--chat-input-focus-shadow);
|
|
@@ -41,106 +41,106 @@
|
|
|
41
41
|
background-color:var(--magritte-color-background-primary-v25-0-1);
|
|
42
42
|
--magritte-ui-scrollbar-offset-right:-12px;
|
|
43
43
|
}
|
|
44
|
-
.magritte-chat-input___P69oN_1-1-
|
|
44
|
+
.magritte-chat-input___P69oN_1-1-14.magritte-no-background___eiIY1_1-1-14{
|
|
45
45
|
background:none;
|
|
46
46
|
--chat-input-stroke-color:transparent !important;
|
|
47
47
|
}
|
|
48
|
-
.magritte-chat-input___P69oN_1-1-
|
|
48
|
+
.magritte-chat-input___P69oN_1-1-14:has(*:focus){
|
|
49
49
|
--chat-input-focus-shadow:var(--magritte-shadow-level-1-x-v25-0-1) var(--magritte-shadow-level-1-y-v25-0-1) var(--magritte-shadow-level-1-blur-v25-0-1) var(--magritte-shadow-level-1-spread-v25-0-1) var(--magritte-shadow-level-1-color-v25-0-1);
|
|
50
50
|
}
|
|
51
|
-
.magritte-chat-input___P69oN_1-1-
|
|
51
|
+
.magritte-chat-input___P69oN_1-1-14:has(.magritte-text-input-focused___TfyLu_1-1-14){
|
|
52
52
|
outline:4px solid var(--magritte-color-stroke-state-focused-accessible-v25-0-1);
|
|
53
53
|
}
|
|
54
54
|
@media (min-width: 1020px){
|
|
55
|
-
body.magritte-old-layout .magritte-chat-input___P69oN_1-1-
|
|
55
|
+
body.magritte-old-layout .magritte-chat-input___P69oN_1-1-14:hover{
|
|
56
56
|
--chat-input-stroke-color:var(--magritte-color-stroke-state-neutral-hovered-v25-0-1);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
@media (min-width: 1024px){
|
|
60
|
-
body:not(.magritte-old-layout) .magritte-chat-input___P69oN_1-1-
|
|
60
|
+
body:not(.magritte-old-layout) .magritte-chat-input___P69oN_1-1-14:hover{
|
|
61
61
|
--chat-input-stroke-color:var(--magritte-color-stroke-state-neutral-hovered-v25-0-1);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
.magritte-content-grid___g03sT_1-1-
|
|
64
|
+
.magritte-content-grid___g03sT_1-1-14{
|
|
65
65
|
display:grid;
|
|
66
66
|
grid-template-columns:auto minmax(0, 1fr) auto;
|
|
67
67
|
}
|
|
68
|
-
.magritte-content-grid___g03sT_1-1-
|
|
68
|
+
.magritte-content-grid___g03sT_1-1-14 .magritte-preview___baXKi_1-1-14{
|
|
69
69
|
grid-area:1 / 1 / 2 / -1;
|
|
70
70
|
}
|
|
71
|
-
.magritte-content-grid___g03sT_1-1-
|
|
71
|
+
.magritte-content-grid___g03sT_1-1-14 .magritte-left___7JZYp_1-1-14{
|
|
72
72
|
grid-area:3 / 1;
|
|
73
73
|
align-self:end;
|
|
74
74
|
}
|
|
75
|
-
.magritte-content-grid___g03sT_1-1-
|
|
75
|
+
.magritte-content-grid___g03sT_1-1-14 .magritte-central___zkguj_1-1-14{
|
|
76
76
|
grid-area:3 / 2;
|
|
77
77
|
align-self:center;
|
|
78
78
|
}
|
|
79
|
-
.magritte-content-grid___g03sT_1-1-
|
|
79
|
+
.magritte-content-grid___g03sT_1-1-14 .magritte-right___-tGcO_1-1-14{
|
|
80
80
|
grid-area:3 / 3;
|
|
81
81
|
align-self:end;
|
|
82
82
|
}
|
|
83
|
-
.magritte-content-grid___g03sT_1-1-
|
|
83
|
+
.magritte-content-grid___g03sT_1-1-14 .magritte-scrollbar-cell___--M2x_1-1-14{
|
|
84
84
|
grid-area:2 / 1 / 3 / -1;
|
|
85
85
|
position:relative;
|
|
86
86
|
pointer-events:none;
|
|
87
87
|
}
|
|
88
|
-
.magritte-content-grid___g03sT_1-1-
|
|
88
|
+
.magritte-content-grid___g03sT_1-1-14 .magritte-scrollbar-cell___--M2x_1-1-14 > div{
|
|
89
89
|
pointer-events:auto;
|
|
90
90
|
}
|
|
91
|
-
.magritte-content-grid___g03sT_1-1-
|
|
91
|
+
.magritte-content-grid___g03sT_1-1-14 .magritte-text-input___3AFO4_1-1-14{
|
|
92
92
|
grid-area:3 / 2;
|
|
93
93
|
}
|
|
94
|
-
.magritte-content-grid___g03sT_1-1-
|
|
95
|
-
.magritte-content-grid___g03sT_1-1-
|
|
94
|
+
.magritte-content-grid___g03sT_1-1-14 .magritte-text-input___3AFO4_1-1-14.magritte-layout-vertical___mVTr-_1-1-14,
|
|
95
|
+
.magritte-content-grid___g03sT_1-1-14.magritte-has-central___VRZik_1-1-14 .magritte-text-input___3AFO4_1-1-14{
|
|
96
96
|
grid-area:2 / 1 / 3 / -1;
|
|
97
97
|
}
|
|
98
|
-
.magritte-content-grid___g03sT_1-1-
|
|
98
|
+
.magritte-content-grid___g03sT_1-1-14.magritte-no-left-controls___7r6yy_1-1-14:not(.magritte-has-central___VRZik_1-1-14) .magritte-text-input___3AFO4_1-1-14{
|
|
99
99
|
grid-area:2 / 1 / 4 / 3;
|
|
100
100
|
}
|
|
101
|
-
.magritte-content-grid___g03sT_1-1-
|
|
101
|
+
.magritte-content-grid___g03sT_1-1-14.magritte-no-right-controls___HBSag_1-1-14:not(.magritte-has-central___VRZik_1-1-14) .magritte-text-input___3AFO4_1-1-14{
|
|
102
102
|
grid-area:2 / 2 / 4 / -1;
|
|
103
103
|
}
|
|
104
|
-
.magritte-content-grid___g03sT_1-1-
|
|
104
|
+
.magritte-content-grid___g03sT_1-1-14.magritte-no-left-controls___7r6yy_1-1-14:not(.magritte-has-central___VRZik_1-1-14){
|
|
105
105
|
grid-template-rows:auto minmax(0, 1fr) auto;
|
|
106
106
|
}
|
|
107
|
-
.magritte-right___-tGcO_1-1-
|
|
108
|
-
.magritte-left___7JZYp_1-1-
|
|
107
|
+
.magritte-right___-tGcO_1-1-14,
|
|
108
|
+
.magritte-left___7JZYp_1-1-14{
|
|
109
109
|
display:flex;
|
|
110
110
|
gap:8px;
|
|
111
111
|
}
|
|
112
|
-
.magritte-chips___gLao5_1-1-
|
|
112
|
+
.magritte-chips___gLao5_1-1-14{
|
|
113
113
|
display:flex;
|
|
114
114
|
flex-wrap:nowrap;
|
|
115
115
|
width:max-content;
|
|
116
116
|
gap:8px;
|
|
117
117
|
}
|
|
118
|
-
.magritte-chips-container___-bS5O_1-1-
|
|
118
|
+
.magritte-chips-container___-bS5O_1-1-14{
|
|
119
119
|
padding:0 12px;
|
|
120
120
|
}
|
|
121
|
-
.magritte-no-left-controls___7r6yy_1-1-
|
|
121
|
+
.magritte-no-left-controls___7r6yy_1-1-14 .magritte-chips-container___-bS5O_1-1-14{
|
|
122
122
|
padding-left:0;
|
|
123
123
|
}
|
|
124
|
-
.magritte-no-right-controls___HBSag_1-1-
|
|
124
|
+
.magritte-no-right-controls___HBSag_1-1-14 .magritte-chips-container___-bS5O_1-1-14{
|
|
125
125
|
padding-right:0;
|
|
126
126
|
}
|
|
127
|
-
.magritte-preview-block___iiPdS_1-1-
|
|
127
|
+
.magritte-preview-block___iiPdS_1-1-14{
|
|
128
128
|
display:flex;
|
|
129
129
|
align-items:center;
|
|
130
130
|
gap:12px;
|
|
131
131
|
padding-bottom:8px;
|
|
132
132
|
}
|
|
133
|
-
.magritte-preview-side___ymR-u_1-1-
|
|
133
|
+
.magritte-preview-side___ymR-u_1-1-14{
|
|
134
134
|
display:flex;
|
|
135
135
|
flex-shrink:0;
|
|
136
136
|
}
|
|
137
|
-
.magritte-preview-content___ZgyBD_1-1-
|
|
137
|
+
.magritte-preview-content___ZgyBD_1-1-14{
|
|
138
138
|
display:flex;
|
|
139
139
|
flex:1;
|
|
140
140
|
flex-direction:column;
|
|
141
141
|
min-width:0;
|
|
142
142
|
}
|
|
143
|
-
.magritte-preview-title___SkFeZ_1-1-
|
|
143
|
+
.magritte-preview-title___SkFeZ_1-1-14{
|
|
144
144
|
font-family:"hh sans";
|
|
145
145
|
font-weight:500;
|
|
146
146
|
line-height:18px;
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
text-decoration:none;
|
|
152
152
|
color:var(--magritte-color-text-primary-v25-0-1);
|
|
153
153
|
}
|
|
154
|
-
.magritte-preview-subtitle___58qfR_1-1-
|
|
154
|
+
.magritte-preview-subtitle___58qfR_1-1-14{
|
|
155
155
|
font-family:"hh sans";
|
|
156
156
|
font-weight:400;
|
|
157
157
|
line-height:20px;
|
|
@@ -165,10 +165,10 @@
|
|
|
165
165
|
white-space:nowrap;
|
|
166
166
|
text-overflow:ellipsis;
|
|
167
167
|
}
|
|
168
|
-
.magritte-text-input-wrapper___TPbwC_1-1-
|
|
168
|
+
.magritte-text-input-wrapper___TPbwC_1-1-14{
|
|
169
169
|
display:contents;
|
|
170
170
|
}
|
|
171
|
-
.magritte-text-input___3AFO4_1-1-
|
|
171
|
+
.magritte-text-input___3AFO4_1-1-14{
|
|
172
172
|
box-sizing:content-box;
|
|
173
173
|
padding:0 12px;
|
|
174
174
|
border:none;
|
|
@@ -192,32 +192,32 @@
|
|
|
192
192
|
text-decoration:none;
|
|
193
193
|
color:var(--magritte-color-text-primary-v25-0-1);
|
|
194
194
|
}
|
|
195
|
-
.magritte-text-input___3AFO4_1-1-
|
|
195
|
+
.magritte-text-input___3AFO4_1-1-14::placeholder{
|
|
196
196
|
color:var(--magritte-color-text-tertiary-v25-0-1);
|
|
197
197
|
opacity:1;
|
|
198
198
|
}
|
|
199
|
-
.magritte-text-input___3AFO4_1-1-
|
|
200
|
-
.magritte-text-input___3AFO4_1-1-
|
|
199
|
+
.magritte-text-input___3AFO4_1-1-14:focus,
|
|
200
|
+
.magritte-text-input___3AFO4_1-1-14:focus-visible{
|
|
201
201
|
border:none;
|
|
202
202
|
outline:none;
|
|
203
203
|
}
|
|
204
|
-
.magritte-text-input___3AFO4_1-1-
|
|
205
|
-
.magritte-text-input___3AFO4_1-1-
|
|
204
|
+
.magritte-text-input___3AFO4_1-1-14.magritte-with-top-fade___okgqo_1-1-14,
|
|
205
|
+
.magritte-text-input___3AFO4_1-1-14.magritte-with-bottom-fade___82gr8_1-1-14{
|
|
206
206
|
-webkit-mask:var(--fade-top) top / 100% 16px no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - 32px) no-repeat, var(--fade-bottom) bottom / 100% 16px no-repeat;
|
|
207
207
|
mask:var(--fade-top) top / 100% 16px no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - 32px) no-repeat, var(--fade-bottom) bottom / 100% 16px no-repeat;
|
|
208
208
|
}
|
|
209
|
-
.magritte-text-input___3AFO4_1-1-
|
|
209
|
+
.magritte-text-input___3AFO4_1-1-14.magritte-with-top-fade___okgqo_1-1-14{
|
|
210
210
|
--fade-top:linear-gradient(180deg, var(--magritte-gradient-component-chat-input-background-fade-v25-0-1));
|
|
211
211
|
}
|
|
212
|
-
.magritte-text-input___3AFO4_1-1-
|
|
212
|
+
.magritte-text-input___3AFO4_1-1-14.magritte-with-bottom-fade___82gr8_1-1-14{
|
|
213
213
|
--fade-bottom:linear-gradient(0deg, var(--magritte-gradient-component-chat-input-background-fade-v25-0-1));
|
|
214
214
|
}
|
|
215
|
-
.magritte-text-input___3AFO4_1-1-
|
|
215
|
+
.magritte-text-input___3AFO4_1-1-14.magritte-measure___xNKc0_1-1-14{
|
|
216
216
|
height:20px !important;
|
|
217
217
|
padding:0 !important;
|
|
218
218
|
margin:0 !important;
|
|
219
219
|
}
|
|
220
|
-
.magritte-voice-record___p64PV_1-1-
|
|
220
|
+
.magritte-voice-record___p64PV_1-1-14{
|
|
221
221
|
display:flex;
|
|
222
222
|
align-items:center;
|
|
223
223
|
justify-content:space-between;
|
|
@@ -227,45 +227,45 @@
|
|
|
227
227
|
min-height:40px;
|
|
228
228
|
gap:8px;
|
|
229
229
|
}
|
|
230
|
-
.magritte-voice-record-left___njEt-_1-1-
|
|
230
|
+
.magritte-voice-record-left___njEt-_1-1-14{
|
|
231
231
|
display:flex;
|
|
232
232
|
align-items:center;
|
|
233
233
|
gap:8px;
|
|
234
234
|
min-width:0;
|
|
235
235
|
}
|
|
236
|
-
.magritte-voice-record-right___UTv-U_1-1-
|
|
236
|
+
.magritte-voice-record-right___UTv-U_1-1-14{
|
|
237
237
|
display:flex;
|
|
238
238
|
align-items:center;
|
|
239
239
|
gap:8px;
|
|
240
240
|
}
|
|
241
|
-
.magritte-voice-record-right___UTv-U_1-1-
|
|
241
|
+
.magritte-voice-record-right___UTv-U_1-1-14.magritte-voice-processing___C0xnX_1-1-14{
|
|
242
242
|
padding:8px;
|
|
243
243
|
}
|
|
244
|
-
.magritte-voice-record-indicator___V8ybb_1-1-
|
|
244
|
+
.magritte-voice-record-indicator___V8ybb_1-1-14{
|
|
245
245
|
display:flex;
|
|
246
246
|
flex-shrink:0;
|
|
247
247
|
align-items:center;
|
|
248
248
|
gap:2px;
|
|
249
249
|
}
|
|
250
|
-
.magritte-voice-record-indicator-bar___jgyqz_1-1-
|
|
250
|
+
.magritte-voice-record-indicator-bar___jgyqz_1-1-14{
|
|
251
251
|
width:2px;
|
|
252
252
|
min-height:2px;
|
|
253
253
|
max-height:2px;
|
|
254
254
|
border-radius:1000px;
|
|
255
255
|
background-color:var(--magritte-color-icon-tertiary-v25-0-1);
|
|
256
256
|
transition:max-height var(--magritte-semantic-animation-time-s-duration-v25-0-1) var(--magritte-semantic-animation-ease-base-timing-function-v25-0-1);
|
|
257
|
-
animation:magritte-voice-record-indicator-wave___4VsyE_1-1-
|
|
257
|
+
animation:magritte-voice-record-indicator-wave___4VsyE_1-1-14 400ms linear infinite alternate paused;
|
|
258
258
|
}
|
|
259
|
-
.magritte-voice-record-indicator-has-sound___67t5g_1-1-
|
|
259
|
+
.magritte-voice-record-indicator-has-sound___67t5g_1-1-14 .magritte-voice-record-indicator-bar___jgyqz_1-1-14{
|
|
260
260
|
max-height:27px;
|
|
261
261
|
animation-play-state:running;
|
|
262
262
|
}
|
|
263
263
|
@media (prefers-reduced-motion: reduce){
|
|
264
|
-
.magritte-voice-record-indicator-has-sound___67t5g_1-1-
|
|
264
|
+
.magritte-voice-record-indicator-has-sound___67t5g_1-1-14 .magritte-voice-record-indicator-bar___jgyqz_1-1-14{
|
|
265
265
|
animation-play-state:paused;
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
|
-
@keyframes magritte-voice-record-indicator-wave___4VsyE_1-1-
|
|
268
|
+
@keyframes magritte-voice-record-indicator-wave___4VsyE_1-1-14{
|
|
269
269
|
from{
|
|
270
270
|
height:calc(var(--target-height) * 0.62px);
|
|
271
271
|
}
|
|
@@ -273,12 +273,12 @@
|
|
|
273
273
|
height:calc(var(--target-height) * 1.22px);
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
|
-
.magritte-mode-container___nATVD_1-1-
|
|
276
|
+
.magritte-mode-container___nATVD_1-1-14{
|
|
277
277
|
position:relative;
|
|
278
278
|
display:grid;
|
|
279
279
|
align-content:end;
|
|
280
280
|
}
|
|
281
|
-
.magritte-voice-overlay___LbxAI_1-1-
|
|
281
|
+
.magritte-voice-overlay___LbxAI_1-1-14{
|
|
282
282
|
position:absolute;
|
|
283
283
|
right:0;
|
|
284
284
|
bottom:0;
|
package/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import './internal/ChatInputContext.js';
|
|
|
9
9
|
import './internal/ModeTransition.js';
|
|
10
10
|
import 'motion/react';
|
|
11
11
|
import '@hh.ru/magritte-design-tokens/core-tokens';
|
|
12
|
-
import './styles-
|
|
12
|
+
import './styles-DuT6U5wT.js';
|
|
13
13
|
import './internal/TextInput.js';
|
|
14
14
|
import './internal/useSendOnEnter.js';
|
|
15
15
|
import '@hh.ru/magritte-common-keyboard';
|
|
@@ -2,7 +2,7 @@ import './../index.css';
|
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { useReducedMotion, motion } from 'motion/react';
|
|
4
4
|
import CoreTokens from '@hh.ru/magritte-design-tokens/core-tokens';
|
|
5
|
-
import { s as styles } from '../styles-
|
|
5
|
+
import { s as styles } from '../styles-DuT6U5wT.js';
|
|
6
6
|
|
|
7
7
|
const EASE_BASE = [
|
|
8
8
|
CoreTokens['magritte-semantic-animation-ease-base'].x1,
|
package/internal/TextInput.js
CHANGED
|
@@ -5,7 +5,7 @@ import classNames from 'classnames';
|
|
|
5
5
|
import { useMultipleRefs } from '@hh.ru/magritte-common-use-multiple-refs';
|
|
6
6
|
import { useSendOnEnter } from './useSendOnEnter.js';
|
|
7
7
|
import { useScrollbar, Scrollbar } from '@hh.ru/magritte-ui-scrollbar';
|
|
8
|
-
import { s as styles } from '../styles-
|
|
8
|
+
import { s as styles } from '../styles-DuT6U5wT.js';
|
|
9
9
|
import '@hh.ru/magritte-common-keyboard';
|
|
10
10
|
|
|
11
11
|
const MIN_HEIGHT = 20;
|
package/internal/VoiceRecord.js
CHANGED
|
@@ -9,7 +9,7 @@ import { FOCUS_PRIORITY } from './focusGroup.js';
|
|
|
9
9
|
import { CrossOutlinedSize24, CheckOutlinedSize24 } from '@hh.ru/magritte-ui-icon/icon';
|
|
10
10
|
import { Loader } from '@hh.ru/magritte-ui-loader';
|
|
11
11
|
import { Text } from '@hh.ru/magritte-ui-typography';
|
|
12
|
-
import { s as styles } from '../styles-
|
|
12
|
+
import { s as styles } from '../styles-DuT6U5wT.js';
|
|
13
13
|
import './useHasSound.js';
|
|
14
14
|
|
|
15
15
|
const formatDuration = (totalSeconds) => {
|
|
@@ -2,7 +2,7 @@ import './../index.css';
|
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import { useHasSound } from './useHasSound.js';
|
|
5
|
-
import { s as styles } from '../styles-
|
|
5
|
+
import { s as styles } from '../styles-DuT6U5wT.js';
|
|
6
6
|
import 'react';
|
|
7
7
|
|
|
8
8
|
const TARGET_HEIGHT = [2, 11, 22, 22, 22, 11, 22, 11, 6, 2];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hh.ru/magritte-ui-chat-input",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.14",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"@hh.ru/magritte-common-use-translation": "3.3.0",
|
|
34
34
|
"@hh.ru/magritte-design-tokens": "25.0.1",
|
|
35
35
|
"@hh.ru/magritte-internal-slot-registry": "1.1.0",
|
|
36
|
-
"@hh.ru/magritte-ui-chips": "7.0.
|
|
37
|
-
"@hh.ru/magritte-ui-icon": "15.0
|
|
38
|
-
"@hh.ru/magritte-ui-loader": "4.1.
|
|
39
|
-
"@hh.ru/magritte-ui-scrollable-container": "6.4.
|
|
36
|
+
"@hh.ru/magritte-ui-chips": "7.0.38",
|
|
37
|
+
"@hh.ru/magritte-ui-icon": "15.1.0",
|
|
38
|
+
"@hh.ru/magritte-ui-loader": "4.1.1",
|
|
39
|
+
"@hh.ru/magritte-ui-scrollable-container": "6.4.6",
|
|
40
40
|
"@hh.ru/magritte-ui-scrollbar": "1.0.35",
|
|
41
41
|
"@hh.ru/magritte-ui-typography": "5.3.12"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "c90767ef9b007595559f19dd6a892fd0066ddc79"
|
|
44
44
|
}
|
package/public/ChatInput.js
CHANGED
|
@@ -17,7 +17,7 @@ import { ChatInputPreview } from './ChatInputPreview.js';
|
|
|
17
17
|
import { ChatInputSendButton } from './ChatInputSendButton.js';
|
|
18
18
|
import { ChatInputVoiceButton } from './ChatInputVoiceButton.js';
|
|
19
19
|
import { IconDefaultPropsContext } from '@hh.ru/magritte-ui-icon';
|
|
20
|
-
import { s as styles } from '../styles-
|
|
20
|
+
import { s as styles } from '../styles-DuT6U5wT.js';
|
|
21
21
|
import 'motion/react';
|
|
22
22
|
import '@hh.ru/magritte-design-tokens/core-tokens';
|
|
23
23
|
import '../internal/useSendOnEnter.js';
|
package/public/ChatInputChips.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { isValidElement, Children, Fragment } from 'react';
|
|
4
4
|
import { ChipDefaultPropsContext } from '@hh.ru/magritte-ui-chips';
|
|
5
5
|
import { ScrollableContainer } from '@hh.ru/magritte-ui-scrollable-container';
|
|
6
|
-
import { s as styles } from '../styles-
|
|
6
|
+
import { s as styles } from '../styles-DuT6U5wT.js';
|
|
7
7
|
|
|
8
8
|
const CHIP_DEFAULT_PROPS = { size: 'extra-small' };
|
|
9
9
|
const flattenFragments = (children) => Children.toArray(children).flatMap((child) => isValidElement(child) && child.type === Fragment
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './../index.css';
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import { IconDefaultPropsContext } from '@hh.ru/magritte-ui-icon';
|
|
4
|
-
import { s as styles } from '../styles-
|
|
4
|
+
import { s as styles } from '../styles-DuT6U5wT.js';
|
|
5
5
|
|
|
6
6
|
const DEFAULT_ICON_PROPS = {
|
|
7
7
|
initialColor: 'secondary',
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import './index.css';
|
|
2
|
+
var styles = {"chat-input":"magritte-chat-input___P69oN_1-1-14","chatInput":"magritte-chat-input___P69oN_1-1-14","no-background":"magritte-no-background___eiIY1_1-1-14","noBackground":"magritte-no-background___eiIY1_1-1-14","text-input-focused":"magritte-text-input-focused___TfyLu_1-1-14","textInputFocused":"magritte-text-input-focused___TfyLu_1-1-14","content-grid":"magritte-content-grid___g03sT_1-1-14","contentGrid":"magritte-content-grid___g03sT_1-1-14","preview":"magritte-preview___baXKi_1-1-14","left":"magritte-left___7JZYp_1-1-14","central":"magritte-central___zkguj_1-1-14","right":"magritte-right___-tGcO_1-1-14","scrollbar-cell":"magritte-scrollbar-cell___--M2x_1-1-14","scrollbarCell":"magritte-scrollbar-cell___--M2x_1-1-14","text-input":"magritte-text-input___3AFO4_1-1-14","textInput":"magritte-text-input___3AFO4_1-1-14","layout-vertical":"magritte-layout-vertical___mVTr-_1-1-14","layoutVertical":"magritte-layout-vertical___mVTr-_1-1-14","has-central":"magritte-has-central___VRZik_1-1-14","hasCentral":"magritte-has-central___VRZik_1-1-14","no-left-controls":"magritte-no-left-controls___7r6yy_1-1-14","noLeftControls":"magritte-no-left-controls___7r6yy_1-1-14","no-right-controls":"magritte-no-right-controls___HBSag_1-1-14","noRightControls":"magritte-no-right-controls___HBSag_1-1-14","chips":"magritte-chips___gLao5_1-1-14","chips-container":"magritte-chips-container___-bS5O_1-1-14","chipsContainer":"magritte-chips-container___-bS5O_1-1-14","preview-block":"magritte-preview-block___iiPdS_1-1-14","previewBlock":"magritte-preview-block___iiPdS_1-1-14","preview-side":"magritte-preview-side___ymR-u_1-1-14","previewSide":"magritte-preview-side___ymR-u_1-1-14","preview-content":"magritte-preview-content___ZgyBD_1-1-14","previewContent":"magritte-preview-content___ZgyBD_1-1-14","preview-title":"magritte-preview-title___SkFeZ_1-1-14","previewTitle":"magritte-preview-title___SkFeZ_1-1-14","preview-subtitle":"magritte-preview-subtitle___58qfR_1-1-14","previewSubtitle":"magritte-preview-subtitle___58qfR_1-1-14","text-input-wrapper":"magritte-text-input-wrapper___TPbwC_1-1-14","textInputWrapper":"magritte-text-input-wrapper___TPbwC_1-1-14","with-top-fade":"magritte-with-top-fade___okgqo_1-1-14","withTopFade":"magritte-with-top-fade___okgqo_1-1-14","with-bottom-fade":"magritte-with-bottom-fade___82gr8_1-1-14","withBottomFade":"magritte-with-bottom-fade___82gr8_1-1-14","measure":"magritte-measure___xNKc0_1-1-14","voice-record":"magritte-voice-record___p64PV_1-1-14","voiceRecord":"magritte-voice-record___p64PV_1-1-14","voice-record-left":"magritte-voice-record-left___njEt-_1-1-14","voiceRecordLeft":"magritte-voice-record-left___njEt-_1-1-14","voice-record-right":"magritte-voice-record-right___UTv-U_1-1-14","voiceRecordRight":"magritte-voice-record-right___UTv-U_1-1-14","voice-processing":"magritte-voice-processing___C0xnX_1-1-14","voiceProcessing":"magritte-voice-processing___C0xnX_1-1-14","voice-record-indicator":"magritte-voice-record-indicator___V8ybb_1-1-14","voiceRecordIndicator":"magritte-voice-record-indicator___V8ybb_1-1-14","voice-record-indicator-bar":"magritte-voice-record-indicator-bar___jgyqz_1-1-14","voiceRecordIndicatorBar":"magritte-voice-record-indicator-bar___jgyqz_1-1-14","voice-record-indicator-wave":"magritte-voice-record-indicator-wave___4VsyE_1-1-14","voiceRecordIndicatorWave":"magritte-voice-record-indicator-wave___4VsyE_1-1-14","voice-record-indicator-has-sound":"magritte-voice-record-indicator-has-sound___67t5g_1-1-14","voiceRecordIndicatorHasSound":"magritte-voice-record-indicator-has-sound___67t5g_1-1-14","mode-container":"magritte-mode-container___nATVD_1-1-14","modeContainer":"magritte-mode-container___nATVD_1-1-14","voice-overlay":"magritte-voice-overlay___LbxAI_1-1-14","voiceOverlay":"magritte-voice-overlay___LbxAI_1-1-14"};
|
|
3
|
+
|
|
4
|
+
export { styles as s };
|
|
5
|
+
//# sourceMappingURL=styles-DuT6U5wT.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles-DuT6U5wT.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/styles-MqCcLY7o.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import './index.css';
|
|
2
|
-
var styles = {"chat-input":"magritte-chat-input___P69oN_1-1-12","chatInput":"magritte-chat-input___P69oN_1-1-12","no-background":"magritte-no-background___eiIY1_1-1-12","noBackground":"magritte-no-background___eiIY1_1-1-12","text-input-focused":"magritte-text-input-focused___TfyLu_1-1-12","textInputFocused":"magritte-text-input-focused___TfyLu_1-1-12","content-grid":"magritte-content-grid___g03sT_1-1-12","contentGrid":"magritte-content-grid___g03sT_1-1-12","preview":"magritte-preview___baXKi_1-1-12","left":"magritte-left___7JZYp_1-1-12","central":"magritte-central___zkguj_1-1-12","right":"magritte-right___-tGcO_1-1-12","scrollbar-cell":"magritte-scrollbar-cell___--M2x_1-1-12","scrollbarCell":"magritte-scrollbar-cell___--M2x_1-1-12","text-input":"magritte-text-input___3AFO4_1-1-12","textInput":"magritte-text-input___3AFO4_1-1-12","layout-vertical":"magritte-layout-vertical___mVTr-_1-1-12","layoutVertical":"magritte-layout-vertical___mVTr-_1-1-12","has-central":"magritte-has-central___VRZik_1-1-12","hasCentral":"magritte-has-central___VRZik_1-1-12","no-left-controls":"magritte-no-left-controls___7r6yy_1-1-12","noLeftControls":"magritte-no-left-controls___7r6yy_1-1-12","no-right-controls":"magritte-no-right-controls___HBSag_1-1-12","noRightControls":"magritte-no-right-controls___HBSag_1-1-12","chips":"magritte-chips___gLao5_1-1-12","chips-container":"magritte-chips-container___-bS5O_1-1-12","chipsContainer":"magritte-chips-container___-bS5O_1-1-12","preview-block":"magritte-preview-block___iiPdS_1-1-12","previewBlock":"magritte-preview-block___iiPdS_1-1-12","preview-side":"magritte-preview-side___ymR-u_1-1-12","previewSide":"magritte-preview-side___ymR-u_1-1-12","preview-content":"magritte-preview-content___ZgyBD_1-1-12","previewContent":"magritte-preview-content___ZgyBD_1-1-12","preview-title":"magritte-preview-title___SkFeZ_1-1-12","previewTitle":"magritte-preview-title___SkFeZ_1-1-12","preview-subtitle":"magritte-preview-subtitle___58qfR_1-1-12","previewSubtitle":"magritte-preview-subtitle___58qfR_1-1-12","text-input-wrapper":"magritte-text-input-wrapper___TPbwC_1-1-12","textInputWrapper":"magritte-text-input-wrapper___TPbwC_1-1-12","with-top-fade":"magritte-with-top-fade___okgqo_1-1-12","withTopFade":"magritte-with-top-fade___okgqo_1-1-12","with-bottom-fade":"magritte-with-bottom-fade___82gr8_1-1-12","withBottomFade":"magritte-with-bottom-fade___82gr8_1-1-12","measure":"magritte-measure___xNKc0_1-1-12","voice-record":"magritte-voice-record___p64PV_1-1-12","voiceRecord":"magritte-voice-record___p64PV_1-1-12","voice-record-left":"magritte-voice-record-left___njEt-_1-1-12","voiceRecordLeft":"magritte-voice-record-left___njEt-_1-1-12","voice-record-right":"magritte-voice-record-right___UTv-U_1-1-12","voiceRecordRight":"magritte-voice-record-right___UTv-U_1-1-12","voice-processing":"magritte-voice-processing___C0xnX_1-1-12","voiceProcessing":"magritte-voice-processing___C0xnX_1-1-12","voice-record-indicator":"magritte-voice-record-indicator___V8ybb_1-1-12","voiceRecordIndicator":"magritte-voice-record-indicator___V8ybb_1-1-12","voice-record-indicator-bar":"magritte-voice-record-indicator-bar___jgyqz_1-1-12","voiceRecordIndicatorBar":"magritte-voice-record-indicator-bar___jgyqz_1-1-12","voice-record-indicator-wave":"magritte-voice-record-indicator-wave___4VsyE_1-1-12","voiceRecordIndicatorWave":"magritte-voice-record-indicator-wave___4VsyE_1-1-12","voice-record-indicator-has-sound":"magritte-voice-record-indicator-has-sound___67t5g_1-1-12","voiceRecordIndicatorHasSound":"magritte-voice-record-indicator-has-sound___67t5g_1-1-12","mode-container":"magritte-mode-container___nATVD_1-1-12","modeContainer":"magritte-mode-container___nATVD_1-1-12","voice-overlay":"magritte-voice-overlay___LbxAI_1-1-12","voiceOverlay":"magritte-voice-overlay___LbxAI_1-1-12"};
|
|
3
|
-
|
|
4
|
-
export { styles as s };
|
|
5
|
-
//# sourceMappingURL=styles-MqCcLY7o.js.map
|
package/styles-MqCcLY7o.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles-MqCcLY7o.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|