File tree Expand file tree Collapse file tree
conversations/__tests__/__snapshots__
file-card/__tests__/__snapshots__
prompts/__tests__/__snapshots__
sender/__tests__/__snapshots__
suggestion/__tests__/__snapshots__ Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -197,9 +197,6 @@ exports[`renders components/conversations/demo/controlled-collapsible.tsx extend
197197 viewBox = " 64 64 896 896"
198198 width = " 1em"
199199 >
200- <defs >
201- <style />
202- </defs >
203200 <path
204201 d = " M945 412H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h256c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM811 548H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h122c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM477.3 322.5H434c-6.2 0-11.2 5-11.2 11.2v248c0 3.6 1.7 6.9 4.6 9l148.9 108.6c5 3.6 12 2.6 15.6-2.4l25.7-35.1v-.1c3.6-5 2.5-12-2.5-15.6l-126.7-91.6V333.7c.1-6.2-5-11.2-11.1-11.2z"
205202 />
@@ -277,9 +274,6 @@ exports[`renders components/conversations/demo/controlled-collapsible.tsx extend
277274 viewBox = " 64 64 896 896"
278275 width = " 1em"
279276 >
280- <defs >
281- <style />
282- </defs >
283277 <path
284278 d = " M945 412H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h256c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM811 548H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h122c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM477.3 322.5H434c-6.2 0-11.2 5-11.2 11.2v248c0 3.6 1.7 6.9 4.6 9l148.9 108.6c5 3.6 12 2.6 15.6-2.4l25.7-35.1v-.1c3.6-5 2.5-12-2.5-15.6l-126.7-91.6V333.7c.1-6.2-5-11.2-11.1-11.2z"
285279 />
@@ -380,9 +374,6 @@ exports[`renders components/conversations/demo/controlled-collapsible.tsx extend
380374 viewBox = " 64 64 896 896"
381375 width = " 1em"
382376 >
383- <defs >
384- <style />
385- </defs >
386377 <path
387378 d = " M945 412H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h256c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM811 548H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h122c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM477.3 322.5H434c-6.2 0-11.2 5-11.2 11.2v248c0 3.6 1.7 6.9 4.6 9l148.9 108.6c5 3.6 12 2.6 15.6-2.4l25.7-35.1v-.1c3.6-5 2.5-12-2.5-15.6l-126.7-91.6V333.7c.1-6.2-5-11.2-11.1-11.2z"
388379 />
@@ -614,9 +605,6 @@ exports[`renders components/conversations/demo/custom-new-chat.tsx extend contex
614605 viewBox = " 64 64 896 896"
615606 width = " 1em"
616607 >
617- <defs >
618- <style />
619- </defs >
620608 <path
621609 d = " M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zm52 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200zM424 712H296V584c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v128H104c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h128v128c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V776h128c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"
622610 />
Original file line number Diff line number Diff line change @@ -195,9 +195,6 @@ exports[`renders components/conversations/demo/controlled-collapsible.tsx correc
195195 viewBox = " 64 64 896 896"
196196 width = " 1em"
197197 >
198- <defs >
199- <style />
200- </defs >
201198 <path
202199 d = " M945 412H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h256c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM811 548H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h122c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM477.3 322.5H434c-6.2 0-11.2 5-11.2 11.2v248c0 3.6 1.7 6.9 4.6 9l148.9 108.6c5 3.6 12 2.6 15.6-2.4l25.7-35.1v-.1c3.6-5 2.5-12-2.5-15.6l-126.7-91.6V333.7c.1-6.2-5-11.2-11.1-11.2z"
203200 />
@@ -275,9 +272,6 @@ exports[`renders components/conversations/demo/controlled-collapsible.tsx correc
275272 viewBox = " 64 64 896 896"
276273 width = " 1em"
277274 >
278- <defs >
279- <style />
280- </defs >
281275 <path
282276 d = " M945 412H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h256c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM811 548H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h122c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM477.3 322.5H434c-6.2 0-11.2 5-11.2 11.2v248c0 3.6 1.7 6.9 4.6 9l148.9 108.6c5 3.6 12 2.6 15.6-2.4l25.7-35.1v-.1c3.6-5 2.5-12-2.5-15.6l-126.7-91.6V333.7c.1-6.2-5-11.2-11.1-11.2z"
283277 />
@@ -378,9 +372,6 @@ exports[`renders components/conversations/demo/controlled-collapsible.tsx correc
378372 viewBox = " 64 64 896 896"
379373 width = " 1em"
380374 >
381- <defs >
382- <style />
383- </defs >
384375 <path
385376 d = " M945 412H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h256c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM811 548H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h122c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM477.3 322.5H434c-6.2 0-11.2 5-11.2 11.2v248c0 3.6 1.7 6.9 4.6 9l148.9 108.6c5 3.6 12 2.6 15.6-2.4l25.7-35.1v-.1c3.6-5 2.5-12-2.5-15.6l-126.7-91.6V333.7c.1-6.2-5-11.2-11.1-11.2z"
386377 />
@@ -608,9 +599,6 @@ exports[`renders components/conversations/demo/custom-new-chat.tsx correctly 1`]
608599 viewBox = " 64 64 896 896"
609600 width = " 1em"
610601 >
611- <defs >
612- <style />
613- </defs >
614602 <path
615603 d = " M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zm52 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200zM424 712H296V584c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v128H104c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h128v128c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V776h128c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"
616604 />
Original file line number Diff line number Diff line change @@ -1441,7 +1441,6 @@ exports[`renders components/file-card/demo/image-loading.tsx extend context corr
14411441 </div >
14421442 <span
14431443 class = " anticon"
1444- color = " rgba(0,0,0,.45)"
14451444 role = " img"
14461445 >
14471446 <svg
@@ -1557,7 +1556,6 @@ exports[`renders components/file-card/demo/image-loading.tsx extend context corr
15571556 </div >
15581557 <span
15591558 class = " anticon"
1560- color = " rgba(0,0,0,.45)"
15611559 role = " img"
15621560 >
15631561 <svg
Original file line number Diff line number Diff line change @@ -1444,7 +1444,6 @@ exports[`renders components/file-card/demo/image-loading.tsx correctly 1`] = `
14441444 </div >
14451445 <span
14461446 class = " anticon"
1447- color = " rgba(0,0,0,.45)"
14481447 role = " img"
14491448 >
14501449 <svg
@@ -1560,7 +1559,6 @@ exports[`renders components/file-card/demo/image-loading.tsx correctly 1`] = `
15601559 </div >
15611560 <span
15621561 class = " anticon"
1563- color = " rgba(0,0,0,.45)"
15641562 role = " img"
15651563 >
15661564 <svg
Original file line number Diff line number Diff line change @@ -1575,9 +1575,6 @@ exports[`renders components/prompts/demo/nest.tsx extend context correctly 1`] =
15751575 viewBox = " 64 64 896 896"
15761576 width = " 1em"
15771577 >
1578- <defs >
1579- <style />
1580- </defs >
15811578 <path
15821579 d = " M573 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40zm-280 0c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"
15831580 />
Original file line number Diff line number Diff line change @@ -1337,9 +1337,6 @@ exports[`renders components/prompts/demo/nest.tsx correctly 1`] = `
13371337 viewBox = " 64 64 896 896"
13381338 width = " 1em"
13391339 >
1340- <defs >
1341- <style />
1342- </defs >
13431340 <path
13441341 d = " M573 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40zm-280 0c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"
13451342 />
Original file line number Diff line number Diff line change @@ -1597,9 +1597,6 @@ exports[`renders components/sender/demo/basic.tsx extend context correctly 1`] =
15971597 viewBox = " 64 64 896 896"
15981598 width = " 1em"
15991599 >
1600- <defs >
1601- <style />
1602- </defs >
16031600 <path
16041601 d = " M682 455V311l-76 76v68c-.1 50.7-42 92.1-94 92a95.8 95.8 0 01-52-15l-54 55c29.1 22.4 65.9 36 106 36 93.8 0 170-75.1 170-168z"
16051602 />
@@ -2162,9 +2159,6 @@ exports[`renders components/sender/demo/footer.tsx extend context correctly 1`]
21622159 viewBox = " 64 64 896 896"
21632160 width = " 1em"
21642161 >
2165- <defs >
2166- <style />
2167- </defs >
21682162 <path
21692163 d = " M682 455V311l-76 76v68c-.1 50.7-42 92.1-94 92a95.8 95.8 0 01-52-15l-54 55c29.1 22.4 65.9 36 106 36 93.8 0 170-75.1 170-168z"
21702164 />
@@ -3042,9 +3036,6 @@ exports[`renders components/sender/demo/send-style.tsx extend context correctly
30423036 viewBox = " 64 64 896 896"
30433037 width = " 1em"
30443038 >
3045- <defs >
3046- <style />
3047- </defs >
30483039 <path
30493040 d = " M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"
30503041 />
@@ -3650,9 +3641,6 @@ exports[`renders components/sender/demo/slot-filling.tsx extend context correctl
36503641 viewBox = " 64 64 896 896"
36513642 width = " 1em"
36523643 >
3653- <defs >
3654- <style />
3655- </defs >
36563644 <path
36573645 d = " M682 455V311l-76 76v68c-.1 50.7-42 92.1-94 92a95.8 95.8 0 01-52-15l-54 55c29.1 22.4 65.9 36 106 36 93.8 0 170-75.1 170-168z"
36583646 />
@@ -4509,9 +4497,6 @@ exports[`renders components/sender/demo/speech.tsx extend context correctly 1`]
45094497 viewBox = " 64 64 896 896"
45104498 width = " 1em"
45114499 >
4512- <defs >
4513- <style />
4514- </defs >
45154500 <path
45164501 d = " M682 455V311l-76 76v68c-.1 50.7-42 92.1-94 92a95.8 95.8 0 01-52-15l-54 55c29.1 22.4 65.9 36 106 36 93.8 0 170-75.1 170-168z"
45174502 />
@@ -4762,9 +4747,6 @@ exports[`renders components/sender/demo/suffix.tsx extend context correctly 1`]
47624747 viewBox = " 64 64 896 896"
47634748 width = " 1em"
47644749 >
4765- <defs >
4766- <style />
4767- </defs >
47684750 <path
47694751 d = " M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"
47704752 />
@@ -4798,9 +4780,6 @@ exports[`renders components/sender/demo/suffix.tsx extend context correctly 1`]
47984780 viewBox = " 64 64 896 896"
47994781 width = " 1em"
48004782 >
4801- <defs >
4802- <style />
4803- </defs >
48044783 <path
48054784 d = " M682 455V311l-76 76v68c-.1 50.7-42 92.1-94 92a95.8 95.8 0 01-52-15l-54 55c29.1 22.4 65.9 36 106 36 93.8 0 170-75.1 170-168z"
48064785 />
Original file line number Diff line number Diff line change @@ -678,9 +678,6 @@ exports[`renders components/sender/demo/basic.tsx correctly 1`] = `
678678 viewBox = " 64 64 896 896"
679679 width = " 1em"
680680 >
681- <defs >
682- <style />
683- </defs >
684681 <path
685682 d = " M682 455V311l-76 76v68c-.1 50.7-42 92.1-94 92a95.8 95.8 0 01-52-15l-54 55c29.1 22.4 65.9 36 106 36 93.8 0 170-75.1 170-168z"
686683 />
@@ -1088,9 +1085,6 @@ exports[`renders components/sender/demo/footer.tsx correctly 1`] = `
10881085 viewBox = " 64 64 896 896"
10891086 width = " 1em"
10901087 >
1091- <defs >
1092- <style />
1093- </defs >
10941088 <path
10951089 d = " M682 455V311l-76 76v68c-.1 50.7-42 92.1-94 92a95.8 95.8 0 01-52-15l-54 55c29.1 22.4 65.9 36 106 36 93.8 0 170-75.1 170-168z"
10961090 />
@@ -1620,9 +1614,6 @@ exports[`renders components/sender/demo/send-style.tsx correctly 1`] = `
16201614 viewBox = " 64 64 896 896"
16211615 width = " 1em"
16221616 >
1623- <defs >
1624- <style />
1625- </defs >
16261617 <path
16271618 d = " M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"
16281619 />
@@ -1877,9 +1868,6 @@ exports[`renders components/sender/demo/slot-filling.tsx correctly 1`] = `
18771868 viewBox = " 64 64 896 896"
18781869 width = " 1em"
18791870 >
1880- <defs >
1881- <style />
1882- </defs >
18831871 <path
18841872 d = " M682 455V311l-76 76v68c-.1 50.7-42 92.1-94 92a95.8 95.8 0 01-52-15l-54 55c29.1 22.4 65.9 36 106 36 93.8 0 170-75.1 170-168z"
18851873 />
@@ -2238,9 +2226,6 @@ exports[`renders components/sender/demo/speech.tsx correctly 1`] = `
22382226 viewBox = " 64 64 896 896"
22392227 width = " 1em"
22402228 >
2241- <defs >
2242- <style />
2243- </defs >
22442229 <path
22452230 d = " M682 455V311l-76 76v68c-.1 50.7-42 92.1-94 92a95.8 95.8 0 01-52-15l-54 55c29.1 22.4 65.9 36 106 36 93.8 0 170-75.1 170-168z"
22462231 />
@@ -2482,9 +2467,6 @@ exports[`renders components/sender/demo/suffix.tsx correctly 1`] = `
24822467 viewBox = " 64 64 896 896"
24832468 width = " 1em"
24842469 >
2485- <defs >
2486- <style />
2487- </defs >
24882470 <path
24892471 d = " M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"
24902472 />
@@ -2518,9 +2500,6 @@ exports[`renders components/sender/demo/suffix.tsx correctly 1`] = `
25182500 viewBox = " 64 64 896 896"
25192501 width = " 1em"
25202502 >
2521- <defs >
2522- <style />
2523- </defs >
25242503 <path
25252504 d = " M682 455V311l-76 76v68c-.1 50.7-42 92.1-94 92a95.8 95.8 0 01-52-15l-54 55c29.1 22.4 65.9 36 106 36 93.8 0 170-75.1 170-168z"
25262505 />
Original file line number Diff line number Diff line change @@ -347,12 +347,12 @@ Array [
347347 aria-autocomplete = " list"
348348 aria-expanded = " false"
349349 aria-haspopup = " listbox"
350- autocomplete = " off "
350+ autocomplete = " new-password "
351351 class = " ant-select-input"
352352 id = " test-id"
353353 role = " combobox"
354354 style = " --select-input-width: 0;"
355- type = " search "
355+ type = " text "
356356 value = " "
357357 />
358358 </div >
Original file line number Diff line number Diff line change @@ -142,11 +142,11 @@ exports[`renders components/suggestion/demo/trigger.tsx correctly 1`] = `
142142 aria-autocomplete = " list"
143143 aria-expanded = " false"
144144 aria-haspopup = " listbox"
145- autocomplete = " off "
145+ autocomplete = " new-password "
146146 class = " ant-select-input"
147147 id = " test-id"
148148 role = " combobox"
149- type = " search "
149+ type = " text "
150150 value = " "
151151 />
152152 </div >
You can’t perform that action at this time.
0 commit comments