@hh.ru/magritte-ui-chat-input 1.1.7 → 1.1.9

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 CHANGED
@@ -1,146 +1,146 @@
1
1
  :root{
2
- --magritte-color-background-primary-v25-0-0:#ffffff;
3
- --magritte-color-stroke-neutral-v25-0-0:#DCE3EB;
4
- --magritte-color-stroke-state-focused-accessible-v25-0-0:#0070ff7a;
5
- --magritte-color-stroke-state-neutral-hovered-v25-0-0:#DCE3EB;
6
- --magritte-color-text-primary-v25-0-0:#000000;
7
- --magritte-color-text-secondary-v25-0-0:#768694;
8
- --magritte-color-text-tertiary-v25-0-0:#AABBCA;
9
- --magritte-color-icon-tertiary-v25-0-0:#AABBCA;
10
- --magritte-gradient-component-chat-input-background-fade-v25-0-0:#ffffff00 0%, #ffffff 100%;
11
- --magritte-shadow-level-1-color-v25-0-0:#7090b029;
12
- --magritte-shadow-level-1-x-v25-0-0:0px;
13
- --magritte-shadow-level-1-y-v25-0-0:4px;
14
- --magritte-shadow-level-1-blur-v25-0-0:12px;
15
- --magritte-shadow-level-1-spread-v25-0-0:0px;
2
+ --magritte-color-background-primary-v25-0-1:#ffffff;
3
+ --magritte-color-stroke-neutral-v25-0-1:#DCE3EB;
4
+ --magritte-color-stroke-state-focused-accessible-v25-0-1:#0070ff7a;
5
+ --magritte-color-stroke-state-neutral-hovered-v25-0-1:#DCE3EB;
6
+ --magritte-color-text-primary-v25-0-1:#000000;
7
+ --magritte-color-text-secondary-v25-0-1:#768694;
8
+ --magritte-color-text-tertiary-v25-0-1:#AABBCA;
9
+ --magritte-color-icon-tertiary-v25-0-1:#AABBCA;
10
+ --magritte-gradient-component-chat-input-background-fade-v25-0-1:#ffffff00 0%, #ffffff 100%;
11
+ --magritte-shadow-level-1-color-v25-0-1:#7090b029;
12
+ --magritte-shadow-level-1-x-v25-0-1:0px;
13
+ --magritte-shadow-level-1-y-v25-0-1:4px;
14
+ --magritte-shadow-level-1-blur-v25-0-1:12px;
15
+ --magritte-shadow-level-1-spread-v25-0-1:0px;
16
16
  }
17
17
 
18
18
  :root{
19
- --magritte-semantic-animation-time-s-duration-v25-0-0:200ms;
20
- --magritte-semantic-animation-ease-base-timing-function-v25-0-0:cubic-bezier(0.4, 0.24, 0, 1);
19
+ --magritte-semantic-animation-time-s-duration-v25-0-1:200ms;
20
+ --magritte-semantic-animation-ease-base-timing-function-v25-0-1:cubic-bezier(0.4, 0.24, 0, 1);
21
21
  }
22
22
 
23
23
  .magritte-night-theme{
24
- --magritte-color-background-primary-v25-0-0:#1B1B1B;
25
- --magritte-color-stroke-neutral-v25-0-0:#303030;
26
- --magritte-color-stroke-state-neutral-hovered-v25-0-0:#303030;
27
- --magritte-color-text-primary-v25-0-0:#ffffff;
28
- --magritte-color-text-secondary-v25-0-0:#ABABAB;
29
- --magritte-color-text-tertiary-v25-0-0:#767676;
30
- --magritte-color-icon-tertiary-v25-0-0:#767676;
31
- --magritte-gradient-component-chat-input-background-fade-v25-0-0:#1b1b1b00 0%, #1b1b1b 100%;
32
- --magritte-shadow-level-1-color-v25-0-0:#00000029;
33
- }
34
- .magritte-chat-input___P69oN_1-1-7{
35
- --chat-input-stroke-color:var(--magritte-color-stroke-neutral-v25-0-0);
24
+ --magritte-color-background-primary-v25-0-1:#1B1B1B;
25
+ --magritte-color-stroke-neutral-v25-0-1:#303030;
26
+ --magritte-color-stroke-state-neutral-hovered-v25-0-1:#303030;
27
+ --magritte-color-text-primary-v25-0-1:#ffffff;
28
+ --magritte-color-text-secondary-v25-0-1:#ABABAB;
29
+ --magritte-color-text-tertiary-v25-0-1:#767676;
30
+ --magritte-color-icon-tertiary-v25-0-1:#767676;
31
+ --magritte-gradient-component-chat-input-background-fade-v25-0-1:#1b1b1b00 0%, #1b1b1b 100%;
32
+ --magritte-shadow-level-1-color-v25-0-1:#00000029;
33
+ }
34
+ .magritte-chat-input___P69oN_1-1-9{
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);
38
38
  border-radius:24px;
39
39
  padding:12px;
40
40
  overflow:hidden;
41
- background-color:var(--magritte-color-background-primary-v25-0-0);
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-7.magritte-no-background___eiIY1_1-1-7{
44
+ .magritte-chat-input___P69oN_1-1-9.magritte-no-background___eiIY1_1-1-9{
45
45
  background:none;
46
46
  --chat-input-stroke-color:transparent !important;
47
47
  }
48
- .magritte-chat-input___P69oN_1-1-7:has(*:focus){
49
- --chat-input-focus-shadow:var(--magritte-shadow-level-1-x-v25-0-0) var(--magritte-shadow-level-1-y-v25-0-0) var(--magritte-shadow-level-1-blur-v25-0-0) var(--magritte-shadow-level-1-spread-v25-0-0) var(--magritte-shadow-level-1-color-v25-0-0);
48
+ .magritte-chat-input___P69oN_1-1-9:has(*:focus){
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-7:has(.magritte-text-input-focused___TfyLu_1-1-7){
52
- outline:4px solid var(--magritte-color-stroke-state-focused-accessible-v25-0-0);
51
+ .magritte-chat-input___P69oN_1-1-9:has(.magritte-text-input-focused___TfyLu_1-1-9){
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-7:hover{
56
- --chat-input-stroke-color:var(--magritte-color-stroke-state-neutral-hovered-v25-0-0);
55
+ body.magritte-old-layout .magritte-chat-input___P69oN_1-1-9:hover{
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-7:hover{
61
- --chat-input-stroke-color:var(--magritte-color-stroke-state-neutral-hovered-v25-0-0);
60
+ body:not(.magritte-old-layout) .magritte-chat-input___P69oN_1-1-9:hover{
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-7{
64
+ .magritte-content-grid___g03sT_1-1-9{
65
65
  display:grid;
66
66
  grid-template-columns:auto minmax(0, 1fr) auto;
67
67
  }
68
- .magritte-content-grid___g03sT_1-1-7 .magritte-preview___baXKi_1-1-7{
68
+ .magritte-content-grid___g03sT_1-1-9 .magritte-preview___baXKi_1-1-9{
69
69
  grid-area:1 / 1 / 2 / -1;
70
70
  }
71
- .magritte-content-grid___g03sT_1-1-7 .magritte-left___7JZYp_1-1-7{
71
+ .magritte-content-grid___g03sT_1-1-9 .magritte-left___7JZYp_1-1-9{
72
72
  grid-area:3 / 1;
73
73
  align-self:end;
74
74
  }
75
- .magritte-content-grid___g03sT_1-1-7 .magritte-central___zkguj_1-1-7{
75
+ .magritte-content-grid___g03sT_1-1-9 .magritte-central___zkguj_1-1-9{
76
76
  grid-area:3 / 2;
77
77
  align-self:center;
78
78
  }
79
- .magritte-content-grid___g03sT_1-1-7 .magritte-right___-tGcO_1-1-7{
79
+ .magritte-content-grid___g03sT_1-1-9 .magritte-right___-tGcO_1-1-9{
80
80
  grid-area:3 / 3;
81
81
  align-self:end;
82
82
  }
83
- .magritte-content-grid___g03sT_1-1-7 .magritte-scrollbar-cell___--M2x_1-1-7{
83
+ .magritte-content-grid___g03sT_1-1-9 .magritte-scrollbar-cell___--M2x_1-1-9{
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-7 .magritte-scrollbar-cell___--M2x_1-1-7 > div{
88
+ .magritte-content-grid___g03sT_1-1-9 .magritte-scrollbar-cell___--M2x_1-1-9 > div{
89
89
  pointer-events:auto;
90
90
  }
91
- .magritte-content-grid___g03sT_1-1-7 .magritte-text-input___3AFO4_1-1-7{
91
+ .magritte-content-grid___g03sT_1-1-9 .magritte-text-input___3AFO4_1-1-9{
92
92
  grid-area:3 / 2;
93
93
  }
94
- .magritte-content-grid___g03sT_1-1-7 .magritte-text-input___3AFO4_1-1-7.magritte-layout-vertical___mVTr-_1-1-7,
95
- .magritte-content-grid___g03sT_1-1-7.magritte-has-central___VRZik_1-1-7 .magritte-text-input___3AFO4_1-1-7{
94
+ .magritte-content-grid___g03sT_1-1-9 .magritte-text-input___3AFO4_1-1-9.magritte-layout-vertical___mVTr-_1-1-9,
95
+ .magritte-content-grid___g03sT_1-1-9.magritte-has-central___VRZik_1-1-9 .magritte-text-input___3AFO4_1-1-9{
96
96
  grid-area:2 / 1 / 3 / -1;
97
97
  }
98
- .magritte-content-grid___g03sT_1-1-7.magritte-no-left-controls___7r6yy_1-1-7:not(.magritte-has-central___VRZik_1-1-7) .magritte-text-input___3AFO4_1-1-7{
98
+ .magritte-content-grid___g03sT_1-1-9.magritte-no-left-controls___7r6yy_1-1-9:not(.magritte-has-central___VRZik_1-1-9) .magritte-text-input___3AFO4_1-1-9{
99
99
  grid-area:2 / 1 / 4 / 3;
100
100
  }
101
- .magritte-content-grid___g03sT_1-1-7.magritte-no-right-controls___HBSag_1-1-7:not(.magritte-has-central___VRZik_1-1-7) .magritte-text-input___3AFO4_1-1-7{
101
+ .magritte-content-grid___g03sT_1-1-9.magritte-no-right-controls___HBSag_1-1-9:not(.magritte-has-central___VRZik_1-1-9) .magritte-text-input___3AFO4_1-1-9{
102
102
  grid-area:2 / 2 / 4 / -1;
103
103
  }
104
- .magritte-content-grid___g03sT_1-1-7.magritte-no-left-controls___7r6yy_1-1-7:not(.magritte-has-central___VRZik_1-1-7){
104
+ .magritte-content-grid___g03sT_1-1-9.magritte-no-left-controls___7r6yy_1-1-9:not(.magritte-has-central___VRZik_1-1-9){
105
105
  grid-template-rows:auto minmax(0, 1fr) auto;
106
106
  }
107
- .magritte-right___-tGcO_1-1-7,
108
- .magritte-left___7JZYp_1-1-7{
107
+ .magritte-right___-tGcO_1-1-9,
108
+ .magritte-left___7JZYp_1-1-9{
109
109
  display:flex;
110
110
  gap:8px;
111
111
  }
112
- .magritte-chips___gLao5_1-1-7{
112
+ .magritte-chips___gLao5_1-1-9{
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-7{
118
+ .magritte-chips-container___-bS5O_1-1-9{
119
119
  padding:0 12px;
120
120
  }
121
- .magritte-no-left-controls___7r6yy_1-1-7 .magritte-chips-container___-bS5O_1-1-7{
121
+ .magritte-no-left-controls___7r6yy_1-1-9 .magritte-chips-container___-bS5O_1-1-9{
122
122
  padding-left:0;
123
123
  }
124
- .magritte-no-right-controls___HBSag_1-1-7 .magritte-chips-container___-bS5O_1-1-7{
124
+ .magritte-no-right-controls___HBSag_1-1-9 .magritte-chips-container___-bS5O_1-1-9{
125
125
  padding-right:0;
126
126
  }
127
- .magritte-preview-block___iiPdS_1-1-7{
127
+ .magritte-preview-block___iiPdS_1-1-9{
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-7{
133
+ .magritte-preview-side___ymR-u_1-1-9{
134
134
  display:flex;
135
135
  flex-shrink:0;
136
136
  }
137
- .magritte-preview-content___ZgyBD_1-1-7{
137
+ .magritte-preview-content___ZgyBD_1-1-9{
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-7{
143
+ .magritte-preview-title___SkFeZ_1-1-9{
144
144
  font-family:"hh sans";
145
145
  font-weight:500;
146
146
  line-height:18px;
@@ -149,9 +149,9 @@
149
149
  text-indent:0px;
150
150
  text-transform:none;
151
151
  text-decoration:none;
152
- color:var(--magritte-color-text-primary-v25-0-0);
152
+ color:var(--magritte-color-text-primary-v25-0-1);
153
153
  }
154
- .magritte-preview-subtitle___58qfR_1-1-7{
154
+ .magritte-preview-subtitle___58qfR_1-1-9{
155
155
  font-family:"hh sans";
156
156
  font-weight:400;
157
157
  line-height:20px;
@@ -161,14 +161,14 @@
161
161
  text-transform:none;
162
162
  text-decoration:none;
163
163
  overflow:hidden;
164
- color:var(--magritte-color-text-secondary-v25-0-0);
164
+ color:var(--magritte-color-text-secondary-v25-0-1);
165
165
  white-space:nowrap;
166
166
  text-overflow:ellipsis;
167
167
  }
168
- .magritte-text-input-wrapper___TPbwC_1-1-7{
168
+ .magritte-text-input-wrapper___TPbwC_1-1-9{
169
169
  display:contents;
170
170
  }
171
- .magritte-text-input___3AFO4_1-1-7{
171
+ .magritte-text-input___3AFO4_1-1-9{
172
172
  box-sizing:content-box;
173
173
  padding:0 12px;
174
174
  border:none;
@@ -190,34 +190,34 @@
190
190
  text-indent:0px;
191
191
  text-transform:none;
192
192
  text-decoration:none;
193
- color:var(--magritte-color-text-primary-v25-0-0);
193
+ color:var(--magritte-color-text-primary-v25-0-1);
194
194
  }
195
- .magritte-text-input___3AFO4_1-1-7::placeholder{
196
- color:var(--magritte-color-text-tertiary-v25-0-0);
195
+ .magritte-text-input___3AFO4_1-1-9::placeholder{
196
+ color:var(--magritte-color-text-tertiary-v25-0-1);
197
197
  opacity:1;
198
198
  }
199
- .magritte-text-input___3AFO4_1-1-7:focus,
200
- .magritte-text-input___3AFO4_1-1-7:focus-visible{
199
+ .magritte-text-input___3AFO4_1-1-9:focus,
200
+ .magritte-text-input___3AFO4_1-1-9:focus-visible{
201
201
  border:none;
202
202
  outline:none;
203
203
  }
204
- .magritte-text-input___3AFO4_1-1-7.magritte-with-top-fade___okgqo_1-1-7,
205
- .magritte-text-input___3AFO4_1-1-7.magritte-with-bottom-fade___82gr8_1-1-7{
204
+ .magritte-text-input___3AFO4_1-1-9.magritte-with-top-fade___okgqo_1-1-9,
205
+ .magritte-text-input___3AFO4_1-1-9.magritte-with-bottom-fade___82gr8_1-1-9{
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-7.magritte-with-top-fade___okgqo_1-1-7{
210
- --fade-top:linear-gradient(180deg, var(--magritte-gradient-component-chat-input-background-fade-v25-0-0));
209
+ .magritte-text-input___3AFO4_1-1-9.magritte-with-top-fade___okgqo_1-1-9{
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-7.magritte-with-bottom-fade___82gr8_1-1-7{
213
- --fade-bottom:linear-gradient(0deg, var(--magritte-gradient-component-chat-input-background-fade-v25-0-0));
212
+ .magritte-text-input___3AFO4_1-1-9.magritte-with-bottom-fade___82gr8_1-1-9{
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-7.magritte-measure___xNKc0_1-1-7{
215
+ .magritte-text-input___3AFO4_1-1-9.magritte-measure___xNKc0_1-1-9{
216
216
  height:20px !important;
217
217
  padding:0 !important;
218
218
  margin:0 !important;
219
219
  }
220
- .magritte-voice-record___p64PV_1-1-7{
220
+ .magritte-voice-record___p64PV_1-1-9{
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-7{
230
+ .magritte-voice-record-left___njEt-_1-1-9{
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-7{
236
+ .magritte-voice-record-right___UTv-U_1-1-9{
237
237
  display:flex;
238
238
  align-items:center;
239
239
  gap:8px;
240
240
  }
241
- .magritte-voice-record-right___UTv-U_1-1-7.magritte-voice-processing___C0xnX_1-1-7{
241
+ .magritte-voice-record-right___UTv-U_1-1-9.magritte-voice-processing___C0xnX_1-1-9{
242
242
  padding:8px;
243
243
  }
244
- .magritte-voice-record-indicator___V8ybb_1-1-7{
244
+ .magritte-voice-record-indicator___V8ybb_1-1-9{
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-7{
250
+ .magritte-voice-record-indicator-bar___jgyqz_1-1-9{
251
251
  width:2px;
252
252
  min-height:2px;
253
253
  max-height:2px;
254
254
  border-radius:1000px;
255
- background-color:var(--magritte-color-icon-tertiary-v25-0-0);
256
- transition:max-height var(--magritte-semantic-animation-time-s-duration-v25-0-0) var(--magritte-semantic-animation-ease-base-timing-function-v25-0-0);
257
- animation:magritte-voice-record-indicator-wave___4VsyE_1-1-7 400ms linear infinite alternate paused;
255
+ background-color:var(--magritte-color-icon-tertiary-v25-0-1);
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-9 400ms linear infinite alternate paused;
258
258
  }
259
- .magritte-voice-record-indicator-has-sound___67t5g_1-1-7 .magritte-voice-record-indicator-bar___jgyqz_1-1-7{
259
+ .magritte-voice-record-indicator-has-sound___67t5g_1-1-9 .magritte-voice-record-indicator-bar___jgyqz_1-1-9{
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-7 .magritte-voice-record-indicator-bar___jgyqz_1-1-7{
264
+ .magritte-voice-record-indicator-has-sound___67t5g_1-1-9 .magritte-voice-record-indicator-bar___jgyqz_1-1-9{
265
265
  animation-play-state:paused;
266
266
  }
267
267
  }
268
- @keyframes magritte-voice-record-indicator-wave___4VsyE_1-1-7{
268
+ @keyframes magritte-voice-record-indicator-wave___4VsyE_1-1-9{
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-7{
276
+ .magritte-mode-container___nATVD_1-1-9{
277
277
  position:relative;
278
278
  display:grid;
279
279
  align-content:end;
280
280
  }
281
- .magritte-voice-overlay___LbxAI_1-1-7{
281
+ .magritte-voice-overlay___LbxAI_1-1-9{
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-nsfS8Auu.js';
12
+ import './styles-kaTH-LR6.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-nsfS8Auu.js';
5
+ import { s as styles } from '../styles-kaTH-LR6.js';
6
6
 
7
7
  const EASE_BASE = [
8
8
  CoreTokens['magritte-semantic-animation-ease-base'].x1,
@@ -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-nsfS8Auu.js';
8
+ import { s as styles } from '../styles-kaTH-LR6.js';
9
9
  import '@hh.ru/magritte-common-keyboard';
10
10
 
11
11
  const MIN_HEIGHT = 20;
@@ -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-nsfS8Auu.js';
12
+ import { s as styles } from '../styles-kaTH-LR6.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-nsfS8Auu.js';
5
+ import { s as styles } from '../styles-kaTH-LR6.js';
6
6
  import 'react';
7
7
 
8
8
  const TARGET_HEIGHT = [2, 11, 22, 22, 22, 11, 22, 11, 6, 2];
@@ -20,8 +20,20 @@ const useSendOnEnter = ({ onSend, onKeyDown, }) => {
20
20
  isCoarsePointerRef.current = mediaQuery.matches;
21
21
  };
22
22
  update();
23
- mediaQuery.addEventListener('change', update);
24
- return () => mediaQuery.removeEventListener('change', update);
23
+ if (typeof mediaQuery.addEventListener === 'function') {
24
+ mediaQuery.addEventListener('change', update);
25
+ }
26
+ else {
27
+ mediaQuery.addListener(update);
28
+ }
29
+ return () => {
30
+ if (typeof mediaQuery.removeEventListener === 'function') {
31
+ mediaQuery.removeEventListener('change', update);
32
+ }
33
+ else {
34
+ mediaQuery.removeListener(update);
35
+ }
36
+ };
25
37
  }, []);
26
38
  return useCallback((event) => {
27
39
  onKeyDown?.(event);
@@ -1 +1 @@
1
- {"version":3,"file":"useSendOnEnter.js","sources":["src/internal/useSendOnEnter.ts"],"sourcesContent":["import { useCallback, useEffect, useRef, type KeyboardEvent, type KeyboardEventHandler } from 'react';\n\nimport { keyboardKeys, keyboardMatch } from '@hh.ru/magritte-common-keyboard';\n\ninterface UseSendOnEnterParams {\n onSend?: VoidFunction;\n onKeyDown?: KeyboardEventHandler<HTMLTextAreaElement>;\n}\n\nconst COARSE_POINTER_QUERY = '(pointer: coarse)';\n\n/**\n * Возвращает обработчик keydown для textarea: Enter вызывает `onSend`, Shift+Enter оставляет\n * стандартный перенос строки. Пользовательский `onKeyDown` вызывается первым — если он отменил\n * событие (`preventDefault`), отправка не срабатывает. Ввод через IME (`isComposing`) не отправляет.\n * На тач-устройствах Enter всегда переносит строку (отправка — по кнопке).\n */\nexport const useSendOnEnter = ({\n onSend,\n onKeyDown,\n}: UseSendOnEnterParams): KeyboardEventHandler<HTMLTextAreaElement> => {\n const isCoarsePointerRef = useRef(false);\n useEffect(() => {\n if (!('matchMedia' in window)) {\n return undefined;\n }\n const mediaQuery = window.matchMedia(COARSE_POINTER_QUERY);\n const update = () => {\n isCoarsePointerRef.current = mediaQuery.matches;\n };\n update();\n mediaQuery.addEventListener('change', update);\n return () => mediaQuery.removeEventListener('change', update);\n }, []);\n\n return useCallback(\n (event: KeyboardEvent<HTMLTextAreaElement>) => {\n onKeyDown?.(event);\n\n if (event.defaultPrevented || event.nativeEvent.isComposing) {\n return;\n }\n\n if (isCoarsePointerRef.current) {\n return;\n }\n\n if (keyboardMatch(event, keyboardKeys.Enter) && !event.shiftKey) {\n event.preventDefault();\n onSend?.();\n }\n },\n [onSend, onKeyDown]\n );\n};\n"],"names":[],"mappings":";;;AASA,MAAM,oBAAoB,GAAG,mBAAmB,CAAC;AAEjD;;;;;AAKG;AACU,MAAA,cAAc,GAAG,CAAC,EAC3B,MAAM,EACN,SAAS,GACU,KAA+C;AAClE,IAAA,MAAM,kBAAkB,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IACzC,SAAS,CAAC,MAAK;AACX,QAAA,IAAI,EAAE,YAAY,IAAI,MAAM,CAAC,EAAE;AAC3B,YAAA,OAAO,SAAS,CAAC;SACpB;QACD,MAAM,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;QAC3D,MAAM,MAAM,GAAG,MAAK;AAChB,YAAA,kBAAkB,CAAC,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;AACpD,SAAC,CAAC;AACF,QAAA,MAAM,EAAE,CAAC;AACT,QAAA,UAAU,CAAC,gBAAgB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;QAC9C,OAAO,MAAM,UAAU,CAAC,mBAAmB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;KACjE,EAAE,EAAE,CAAC,CAAC;AAEP,IAAA,OAAO,WAAW,CACd,CAAC,KAAyC,KAAI;AAC1C,QAAA,SAAS,GAAG,KAAK,CAAC,CAAC;QAEnB,IAAI,KAAK,CAAC,gBAAgB,IAAI,KAAK,CAAC,WAAW,CAAC,WAAW,EAAE;YACzD,OAAO;SACV;AAED,QAAA,IAAI,kBAAkB,CAAC,OAAO,EAAE;YAC5B,OAAO;SACV;AAED,QAAA,IAAI,aAAa,CAAC,KAAK,EAAE,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE;YAC7D,KAAK,CAAC,cAAc,EAAE,CAAC;YACvB,MAAM,IAAI,CAAC;SACd;AACL,KAAC,EACD,CAAC,MAAM,EAAE,SAAS,CAAC,CACtB,CAAC;AACN;;;;"}
1
+ {"version":3,"file":"useSendOnEnter.js","sources":["src/internal/useSendOnEnter.ts"],"sourcesContent":["import { useCallback, useEffect, useRef, type KeyboardEvent, type KeyboardEventHandler } from 'react';\n\nimport { keyboardKeys, keyboardMatch } from '@hh.ru/magritte-common-keyboard';\n\ninterface UseSendOnEnterParams {\n onSend?: VoidFunction;\n onKeyDown?: KeyboardEventHandler<HTMLTextAreaElement>;\n}\n\nconst COARSE_POINTER_QUERY = '(pointer: coarse)';\n\n/**\n * Возвращает обработчик keydown для textarea: Enter вызывает `onSend`, Shift+Enter оставляет\n * стандартный перенос строки. Пользовательский `onKeyDown` вызывается первым — если он отменил\n * событие (`preventDefault`), отправка не срабатывает. Ввод через IME (`isComposing`) не отправляет.\n * На тач-устройствах Enter всегда переносит строку (отправка — по кнопке).\n */\nexport const useSendOnEnter = ({\n onSend,\n onKeyDown,\n}: UseSendOnEnterParams): KeyboardEventHandler<HTMLTextAreaElement> => {\n const isCoarsePointerRef = useRef(false);\n useEffect(() => {\n if (!('matchMedia' in window)) {\n return undefined;\n }\n const mediaQuery = window.matchMedia(COARSE_POINTER_QUERY);\n const update = () => {\n isCoarsePointerRef.current = mediaQuery.matches;\n };\n update();\n if (typeof mediaQuery.addEventListener === 'function') {\n mediaQuery.addEventListener('change', update);\n } else {\n mediaQuery.addListener(update);\n }\n return () => {\n if (typeof mediaQuery.removeEventListener === 'function') {\n mediaQuery.removeEventListener('change', update);\n } else {\n mediaQuery.removeListener(update);\n }\n };\n }, []);\n\n return useCallback(\n (event: KeyboardEvent<HTMLTextAreaElement>) => {\n onKeyDown?.(event);\n\n if (event.defaultPrevented || event.nativeEvent.isComposing) {\n return;\n }\n\n if (isCoarsePointerRef.current) {\n return;\n }\n\n if (keyboardMatch(event, keyboardKeys.Enter) && !event.shiftKey) {\n event.preventDefault();\n onSend?.();\n }\n },\n [onSend, onKeyDown]\n );\n};\n"],"names":[],"mappings":";;;AASA,MAAM,oBAAoB,GAAG,mBAAmB,CAAC;AAEjD;;;;;AAKG;AACU,MAAA,cAAc,GAAG,CAAC,EAC3B,MAAM,EACN,SAAS,GACU,KAA+C;AAClE,IAAA,MAAM,kBAAkB,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IACzC,SAAS,CAAC,MAAK;AACX,QAAA,IAAI,EAAE,YAAY,IAAI,MAAM,CAAC,EAAE;AAC3B,YAAA,OAAO,SAAS,CAAC;SACpB;QACD,MAAM,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;QAC3D,MAAM,MAAM,GAAG,MAAK;AAChB,YAAA,kBAAkB,CAAC,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;AACpD,SAAC,CAAC;AACF,QAAA,MAAM,EAAE,CAAC;AACT,QAAA,IAAI,OAAO,UAAU,CAAC,gBAAgB,KAAK,UAAU,EAAE;AACnD,YAAA,UAAU,CAAC,gBAAgB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;SACjD;aAAM;AACH,YAAA,UAAU,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;SAClC;AACD,QAAA,OAAO,MAAK;AACR,YAAA,IAAI,OAAO,UAAU,CAAC,mBAAmB,KAAK,UAAU,EAAE;AACtD,gBAAA,UAAU,CAAC,mBAAmB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;aACpD;iBAAM;AACH,gBAAA,UAAU,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;aACrC;AACL,SAAC,CAAC;KACL,EAAE,EAAE,CAAC,CAAC;AAEP,IAAA,OAAO,WAAW,CACd,CAAC,KAAyC,KAAI;AAC1C,QAAA,SAAS,GAAG,KAAK,CAAC,CAAC;QAEnB,IAAI,KAAK,CAAC,gBAAgB,IAAI,KAAK,CAAC,WAAW,CAAC,WAAW,EAAE;YACzD,OAAO;SACV;AAED,QAAA,IAAI,kBAAkB,CAAC,OAAO,EAAE;YAC5B,OAAO;SACV;AAED,QAAA,IAAI,aAAa,CAAC,KAAK,EAAE,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE;YAC7D,KAAK,CAAC,cAAc,EAAE,CAAC;YACvB,MAAM,IAAI,CAAC;SACd;AACL,KAAC,EACD,CAAC,MAAM,EAAE,SAAS,CAAC,CACtB,CAAC;AACN;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hh.ru/magritte-ui-chat-input",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -31,14 +31,14 @@
31
31
  "@hh.ru/magritte-common-use-disabled": "1.0.15",
32
32
  "@hh.ru/magritte-common-use-multiple-refs": "1.1.11",
33
33
  "@hh.ru/magritte-common-use-translation": "3.2.0",
34
- "@hh.ru/magritte-design-tokens": "25.0.0",
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.33",
37
- "@hh.ru/magritte-ui-icon": "15.0.2",
38
- "@hh.ru/magritte-ui-loader": "4.0.10",
39
- "@hh.ru/magritte-ui-scrollable-container": "6.4.2",
40
- "@hh.ru/magritte-ui-scrollbar": "1.0.33",
41
- "@hh.ru/magritte-ui-typography": "5.3.11"
36
+ "@hh.ru/magritte-ui-chips": "7.0.34",
37
+ "@hh.ru/magritte-ui-icon": "15.0.3",
38
+ "@hh.ru/magritte-ui-loader": "4.0.11",
39
+ "@hh.ru/magritte-ui-scrollable-container": "6.4.3",
40
+ "@hh.ru/magritte-ui-scrollbar": "1.0.35",
41
+ "@hh.ru/magritte-ui-typography": "5.3.12"
42
42
  },
43
- "gitHead": "0e795b6a368fd7f09ca979320f466b80b049e4ea"
43
+ "gitHead": "415ee07be8bac509b80f46aea4369cf674fb0b50"
44
44
  }
@@ -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-nsfS8Auu.js';
20
+ import { s as styles } from '../styles-kaTH-LR6.js';
21
21
  import 'motion/react';
22
22
  import '@hh.ru/magritte-design-tokens/core-tokens';
23
23
  import '../internal/useSendOnEnter.js';
@@ -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-nsfS8Auu.js';
6
+ import { s as styles } from '../styles-kaTH-LR6.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-nsfS8Auu.js';
4
+ import { s as styles } from '../styles-kaTH-LR6.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-9","chatInput":"magritte-chat-input___P69oN_1-1-9","no-background":"magritte-no-background___eiIY1_1-1-9","noBackground":"magritte-no-background___eiIY1_1-1-9","text-input-focused":"magritte-text-input-focused___TfyLu_1-1-9","textInputFocused":"magritte-text-input-focused___TfyLu_1-1-9","content-grid":"magritte-content-grid___g03sT_1-1-9","contentGrid":"magritte-content-grid___g03sT_1-1-9","preview":"magritte-preview___baXKi_1-1-9","left":"magritte-left___7JZYp_1-1-9","central":"magritte-central___zkguj_1-1-9","right":"magritte-right___-tGcO_1-1-9","scrollbar-cell":"magritte-scrollbar-cell___--M2x_1-1-9","scrollbarCell":"magritte-scrollbar-cell___--M2x_1-1-9","text-input":"magritte-text-input___3AFO4_1-1-9","textInput":"magritte-text-input___3AFO4_1-1-9","layout-vertical":"magritte-layout-vertical___mVTr-_1-1-9","layoutVertical":"magritte-layout-vertical___mVTr-_1-1-9","has-central":"magritte-has-central___VRZik_1-1-9","hasCentral":"magritte-has-central___VRZik_1-1-9","no-left-controls":"magritte-no-left-controls___7r6yy_1-1-9","noLeftControls":"magritte-no-left-controls___7r6yy_1-1-9","no-right-controls":"magritte-no-right-controls___HBSag_1-1-9","noRightControls":"magritte-no-right-controls___HBSag_1-1-9","chips":"magritte-chips___gLao5_1-1-9","chips-container":"magritte-chips-container___-bS5O_1-1-9","chipsContainer":"magritte-chips-container___-bS5O_1-1-9","preview-block":"magritte-preview-block___iiPdS_1-1-9","previewBlock":"magritte-preview-block___iiPdS_1-1-9","preview-side":"magritte-preview-side___ymR-u_1-1-9","previewSide":"magritte-preview-side___ymR-u_1-1-9","preview-content":"magritte-preview-content___ZgyBD_1-1-9","previewContent":"magritte-preview-content___ZgyBD_1-1-9","preview-title":"magritte-preview-title___SkFeZ_1-1-9","previewTitle":"magritte-preview-title___SkFeZ_1-1-9","preview-subtitle":"magritte-preview-subtitle___58qfR_1-1-9","previewSubtitle":"magritte-preview-subtitle___58qfR_1-1-9","text-input-wrapper":"magritte-text-input-wrapper___TPbwC_1-1-9","textInputWrapper":"magritte-text-input-wrapper___TPbwC_1-1-9","with-top-fade":"magritte-with-top-fade___okgqo_1-1-9","withTopFade":"magritte-with-top-fade___okgqo_1-1-9","with-bottom-fade":"magritte-with-bottom-fade___82gr8_1-1-9","withBottomFade":"magritte-with-bottom-fade___82gr8_1-1-9","measure":"magritte-measure___xNKc0_1-1-9","voice-record":"magritte-voice-record___p64PV_1-1-9","voiceRecord":"magritte-voice-record___p64PV_1-1-9","voice-record-left":"magritte-voice-record-left___njEt-_1-1-9","voiceRecordLeft":"magritte-voice-record-left___njEt-_1-1-9","voice-record-right":"magritte-voice-record-right___UTv-U_1-1-9","voiceRecordRight":"magritte-voice-record-right___UTv-U_1-1-9","voice-processing":"magritte-voice-processing___C0xnX_1-1-9","voiceProcessing":"magritte-voice-processing___C0xnX_1-1-9","voice-record-indicator":"magritte-voice-record-indicator___V8ybb_1-1-9","voiceRecordIndicator":"magritte-voice-record-indicator___V8ybb_1-1-9","voice-record-indicator-bar":"magritte-voice-record-indicator-bar___jgyqz_1-1-9","voiceRecordIndicatorBar":"magritte-voice-record-indicator-bar___jgyqz_1-1-9","voice-record-indicator-wave":"magritte-voice-record-indicator-wave___4VsyE_1-1-9","voiceRecordIndicatorWave":"magritte-voice-record-indicator-wave___4VsyE_1-1-9","voice-record-indicator-has-sound":"magritte-voice-record-indicator-has-sound___67t5g_1-1-9","voiceRecordIndicatorHasSound":"magritte-voice-record-indicator-has-sound___67t5g_1-1-9","mode-container":"magritte-mode-container___nATVD_1-1-9","modeContainer":"magritte-mode-container___nATVD_1-1-9","voice-overlay":"magritte-voice-overlay___LbxAI_1-1-9","voiceOverlay":"magritte-voice-overlay___LbxAI_1-1-9"};
3
+
4
+ export { styles as s };
5
+ //# sourceMappingURL=styles-kaTH-LR6.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles-kaTH-LR6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1,5 +0,0 @@
1
- import './index.css';
2
- var styles = {"chat-input":"magritte-chat-input___P69oN_1-1-7","chatInput":"magritte-chat-input___P69oN_1-1-7","no-background":"magritte-no-background___eiIY1_1-1-7","noBackground":"magritte-no-background___eiIY1_1-1-7","text-input-focused":"magritte-text-input-focused___TfyLu_1-1-7","textInputFocused":"magritte-text-input-focused___TfyLu_1-1-7","content-grid":"magritte-content-grid___g03sT_1-1-7","contentGrid":"magritte-content-grid___g03sT_1-1-7","preview":"magritte-preview___baXKi_1-1-7","left":"magritte-left___7JZYp_1-1-7","central":"magritte-central___zkguj_1-1-7","right":"magritte-right___-tGcO_1-1-7","scrollbar-cell":"magritte-scrollbar-cell___--M2x_1-1-7","scrollbarCell":"magritte-scrollbar-cell___--M2x_1-1-7","text-input":"magritte-text-input___3AFO4_1-1-7","textInput":"magritte-text-input___3AFO4_1-1-7","layout-vertical":"magritte-layout-vertical___mVTr-_1-1-7","layoutVertical":"magritte-layout-vertical___mVTr-_1-1-7","has-central":"magritte-has-central___VRZik_1-1-7","hasCentral":"magritte-has-central___VRZik_1-1-7","no-left-controls":"magritte-no-left-controls___7r6yy_1-1-7","noLeftControls":"magritte-no-left-controls___7r6yy_1-1-7","no-right-controls":"magritte-no-right-controls___HBSag_1-1-7","noRightControls":"magritte-no-right-controls___HBSag_1-1-7","chips":"magritte-chips___gLao5_1-1-7","chips-container":"magritte-chips-container___-bS5O_1-1-7","chipsContainer":"magritte-chips-container___-bS5O_1-1-7","preview-block":"magritte-preview-block___iiPdS_1-1-7","previewBlock":"magritte-preview-block___iiPdS_1-1-7","preview-side":"magritte-preview-side___ymR-u_1-1-7","previewSide":"magritte-preview-side___ymR-u_1-1-7","preview-content":"magritte-preview-content___ZgyBD_1-1-7","previewContent":"magritte-preview-content___ZgyBD_1-1-7","preview-title":"magritte-preview-title___SkFeZ_1-1-7","previewTitle":"magritte-preview-title___SkFeZ_1-1-7","preview-subtitle":"magritte-preview-subtitle___58qfR_1-1-7","previewSubtitle":"magritte-preview-subtitle___58qfR_1-1-7","text-input-wrapper":"magritte-text-input-wrapper___TPbwC_1-1-7","textInputWrapper":"magritte-text-input-wrapper___TPbwC_1-1-7","with-top-fade":"magritte-with-top-fade___okgqo_1-1-7","withTopFade":"magritte-with-top-fade___okgqo_1-1-7","with-bottom-fade":"magritte-with-bottom-fade___82gr8_1-1-7","withBottomFade":"magritte-with-bottom-fade___82gr8_1-1-7","measure":"magritte-measure___xNKc0_1-1-7","voice-record":"magritte-voice-record___p64PV_1-1-7","voiceRecord":"magritte-voice-record___p64PV_1-1-7","voice-record-left":"magritte-voice-record-left___njEt-_1-1-7","voiceRecordLeft":"magritte-voice-record-left___njEt-_1-1-7","voice-record-right":"magritte-voice-record-right___UTv-U_1-1-7","voiceRecordRight":"magritte-voice-record-right___UTv-U_1-1-7","voice-processing":"magritte-voice-processing___C0xnX_1-1-7","voiceProcessing":"magritte-voice-processing___C0xnX_1-1-7","voice-record-indicator":"magritte-voice-record-indicator___V8ybb_1-1-7","voiceRecordIndicator":"magritte-voice-record-indicator___V8ybb_1-1-7","voice-record-indicator-bar":"magritte-voice-record-indicator-bar___jgyqz_1-1-7","voiceRecordIndicatorBar":"magritte-voice-record-indicator-bar___jgyqz_1-1-7","voice-record-indicator-wave":"magritte-voice-record-indicator-wave___4VsyE_1-1-7","voiceRecordIndicatorWave":"magritte-voice-record-indicator-wave___4VsyE_1-1-7","voice-record-indicator-has-sound":"magritte-voice-record-indicator-has-sound___67t5g_1-1-7","voiceRecordIndicatorHasSound":"magritte-voice-record-indicator-has-sound___67t5g_1-1-7","mode-container":"magritte-mode-container___nATVD_1-1-7","modeContainer":"magritte-mode-container___nATVD_1-1-7","voice-overlay":"magritte-voice-overlay___LbxAI_1-1-7","voiceOverlay":"magritte-voice-overlay___LbxAI_1-1-7"};
3
-
4
- export { styles as s };
5
- //# sourceMappingURL=styles-nsfS8Auu.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles-nsfS8Auu.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}