@@ -35,26 +35,28 @@ exports[`<MessageText /> should render with a custom inner class when one is set
3535 class = " str-chat__message-reactions-host"
3636 />
3737 <div
38- class = " str-chat__message-error-icon "
38+ class = " str-chat__message-error-indicator "
3939 >
40- <svg
41- data-testid = " error"
42- fill = " none"
43- height = " 24"
44- viewBox = " 0 0 24 24"
45- width = " 24"
46- xmlns = " http://www.w3.org/2000/svg"
40+ <div
41+ class = " str-chat__badge str-chat__badge--variant-error str-chat__badge--size-sm"
4742 >
48- <path
49- d = " M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2Z"
50- fill = " black"
51- id = " background"
52- />
53- <path
54- d = " M13 17H11V15H13V17ZM13 13H11V7H13V13Z"
55- fill = " white"
56- />
57- </svg >
43+ <svg
44+ class = " str-chat__icon str-chat__icon--exclamation"
45+ viewBox = " 0 0 16 16"
46+ xmlns = " http://www.w3.org/2000/svg"
47+ >
48+ <g
49+ transform = " translate(6.2222 0) scale(1.7778)"
50+ >
51+ <path
52+ d = " M0 7.5C0 6.9477 0.4477 6.5 1 6.5C1.5523 6.5 2 6.9477 2 7.5C1.99989 8.05211 1.55223 8.5 1 8.5C0.447768 8.5 0.000110293 8.05211 0 7.5Z"
53+ />
54+ <path
55+ d = " M0.25 0.75C0.25 0.33578 0.5858 0 1 0C1.4142 0 1.75 0.33578 1.75 0.75V4.75C1.74989 5.16411 1.41413 5.5 1 5.5C0.585868 5.5 0.25011 5.16411 0.25 4.75V0.75Z"
56+ />
57+ </g >
58+ </svg >
59+ </div >
5860 </div >
5961 </div >
6062 <div
@@ -99,26 +101,28 @@ exports[`<MessageText /> should render with a custom wrapper class when one is s
99101 class = " str-chat__message-reactions-host"
100102 />
101103 <div
102- class = " str-chat__message-error-icon "
104+ class = " str-chat__message-error-indicator "
103105 >
104- <svg
105- data-testid = " error"
106- fill = " none"
107- height = " 24"
108- viewBox = " 0 0 24 24"
109- width = " 24"
110- xmlns = " http://www.w3.org/2000/svg"
106+ <div
107+ class = " str-chat__badge str-chat__badge--variant-error str-chat__badge--size-sm"
111108 >
112- <path
113- d = " M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2Z"
114- fill = " black"
115- id = " background"
116- />
117- <path
118- d = " M13 17H11V15H13V17ZM13 13H11V7H13V13Z"
119- fill = " white"
120- />
121- </svg >
109+ <svg
110+ class = " str-chat__icon str-chat__icon--exclamation"
111+ viewBox = " 0 0 16 16"
112+ xmlns = " http://www.w3.org/2000/svg"
113+ >
114+ <g
115+ transform = " translate(6.2222 0) scale(1.7778)"
116+ >
117+ <path
118+ d = " M0 7.5C0 6.9477 0.4477 6.5 1 6.5C1.5523 6.5 2 6.9477 2 7.5C1.99989 8.05211 1.55223 8.5 1 8.5C0.447768 8.5 0.000110293 8.05211 0 7.5Z"
119+ />
120+ <path
121+ d = " M0.25 0.75C0.25 0.33578 0.5858 0 1 0C1.4142 0 1.75 0.33578 1.75 0.75V4.75C1.74989 5.16411 1.41413 5.5 1 5.5C0.585868 5.5 0.25011 5.16411 0.25 4.75V0.75Z"
122+ />
123+ </g >
124+ </svg >
125+ </div >
122126 </div >
123127 </div >
124128 <div
@@ -163,26 +167,28 @@ exports[`<MessageText /> should render with custom theme identifier in generated
163167 class = " str-chat__message-reactions-host"
164168 />
165169 <div
166- class = " str-chat__message-error-icon "
170+ class = " str-chat__message-error-indicator "
167171 >
168- <svg
169- data-testid = " error"
170- fill = " none"
171- height = " 24"
172- viewBox = " 0 0 24 24"
173- width = " 24"
174- xmlns = " http://www.w3.org/2000/svg"
172+ <div
173+ class = " str-chat__badge str-chat__badge--variant-error str-chat__badge--size-sm"
175174 >
176- <path
177- d = " M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2Z"
178- fill = " black"
179- id = " background"
180- />
181- <path
182- d = " M13 17H11V15H13V17ZM13 13H11V7H13V13Z"
183- fill = " white"
184- />
185- </svg >
175+ <svg
176+ class = " str-chat__icon str-chat__icon--exclamation"
177+ viewBox = " 0 0 16 16"
178+ xmlns = " http://www.w3.org/2000/svg"
179+ >
180+ <g
181+ transform = " translate(6.2222 0) scale(1.7778)"
182+ >
183+ <path
184+ d = " M0 7.5C0 6.9477 0.4477 6.5 1 6.5C1.5523 6.5 2 6.9477 2 7.5C1.99989 8.05211 1.55223 8.5 1 8.5C0.447768 8.5 0.000110293 8.05211 0 7.5Z"
185+ />
186+ <path
187+ d = " M0.25 0.75C0.25 0.33578 0.5858 0 1 0C1.4142 0 1.75 0.33578 1.75 0.75V4.75C1.74989 5.16411 1.41413 5.5 1 5.5C0.585868 5.5 0.25011 5.16411 0.25 4.75V0.75Z"
188+ />
189+ </g >
190+ </svg >
191+ </div >
186192 </div >
187193 </div >
188194 <div
0 commit comments