✨ feat: support input area value controlled #603
Annotations
10 errors and 1 warning
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders use-ref.tsx correctly:
tests/demo.tsx#L37
Error: Snapshot `<ProChat /> > renders use-ref.tsx correctly 1` mismatched
- Expected
+ Received
@@ -13,11 +13,11 @@
<div
class="ant-app"
style="height: 100%; width: 100%; position: relative;"
>
<div
- class="layoutkit-flexbox css-o3n4io ant-pro-chat acss-5rxe8i ant-pro-chat-container"
+ class="layoutkit-flexbox css-1euyney ant-pro-chat acss-5rxe8i ant-pro-chat-container"
style="max-height: 100vh; height: 100%;"
>
<div
class="ant-pro-chat-chat-list-container acss-1v5259w"
style="height: 100%;"
@@ -25,11 +25,11 @@
<div
class="acss-pmp369 ant-pro-chat-list"
style="margin-top: 24px;"
>
<div
- class="layoutkit-flexbox css-1xn0kxa acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-right"
+ class="layoutkit-flexbox css-1sfjazu acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-right"
data-id="ZGxiX2p4"
>
<div
class="acss-16a4jh6"
>
@@ -49,24 +49,24 @@
</div>
</span>
</span>
</div>
<div
- class="layoutkit-flexbox css-ojglte acss-hc6lm9 ant-pro-chat-list-item-message-container"
+ class="layoutkit-flexbox css-uhomow acss-hc6lm9 ant-pro-chat-list-item-message-container"
>
<div
- class="layoutkit-flexbox css-12x47oo acss-1q9sa2a ant-pro-chat-list-item-title"
+ class="layoutkit-flexbox css-1uxoxb1 acss-1q9sa2a ant-pro-chat-list-item-title"
>
<time>
2024-02-27 17:20:00
</time>
</div>
<div
- class="layoutkit-flexbox css-4preuj acss-j11nrd ant-pro-chat-message-content"
+ class="layoutkit-flexbox css-1g62d18 acss-j11nrd ant-pro-chat-message-content"
>
<div
- class="layoutkit-flexbox css-o3n4io acss-1aas3xx ant-pro-chat-list-item-message-content"
+ class="layoutkit-flexbox css-1euyney acss-1aas3xx ant-pro-chat-list-item-message-content"
>
<div
id="ZGxiX2p4"
>
<article
@@ -85,11 +85,11 @@
<div
class="acss-0 ant-pro-chat-message-extra"
/>
</div>
<div
- class="layoutkit-flexbox css-9pyqzz acss-1baikiv ant-pro-chat-list-item-actions"
+ class="layoutkit-flexbox css-7vjqoo acss-1baikiv ant-pro-chat-list-item-actions"
role="menubar"
>
<div
class="ant-editor-action-group-content zcss-t61miv"
>
@@ -206,11 +206,11 @@
<div
style="flex: 0 0 auto; width: 32px;"
/>
</div>
<div
- class="layoutkit-flexbox css-vwb4od acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-left"
+ class="layoutkit-flexbox css-14n32il acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-left"
data-id="Sb5pAzLL"
>
<div
class="acss-16a4jh6"
>
@@ -230,24 +230,24 @@
</div>
</span>
</span>
</div>
<div
- class="layoutkit-flexbox css-9pyqzz acss-hc6lm9 ant-pro-chat-list-item-message-container"
+ class="layoutkit-flexbox css-7vjqoo acss-hc6lm9 ant-pro-chat-list-item-message-container"
>
<div
- class="layoutkit-flexbox css-16o88vh acss-1s7pvt5 ant-p
|
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders use-pro-chat.tsx correctly:
tests/demo.tsx#L37
Error: Snapshot `<ProChat /> > renders use-pro-chat.tsx correctly 1` mismatched
- Expected
+ Received
@@ -70,11 +70,11 @@
<div
class="ant-app"
style="height: 100%; width: 100%; position: relative;"
>
<div
- class="layoutkit-flexbox css-o3n4io ant-pro-chat acss-5rxe8i ant-pro-chat-container"
+ class="layoutkit-flexbox css-1euyney ant-pro-chat acss-5rxe8i ant-pro-chat-container"
style="max-height: 100vh; height: 100%;"
>
<div
class="ant-pro-chat-chat-list-container acss-1v5259w"
style="height: 100%;"
@@ -82,11 +82,11 @@
<div
class="acss-pmp369 ant-pro-chat-list"
style="margin-top: 24px;"
>
<div
- class="layoutkit-flexbox css-1xn0kxa acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-right"
+ class="layoutkit-flexbox css-1sfjazu acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-right"
data-id="ZGxiX2p4"
>
<div
class="acss-16a4jh6"
>
@@ -106,24 +106,24 @@
</div>
</span>
</span>
</div>
<div
- class="layoutkit-flexbox css-ojglte acss-hc6lm9 ant-pro-chat-list-item-message-container"
+ class="layoutkit-flexbox css-uhomow acss-hc6lm9 ant-pro-chat-list-item-message-container"
>
<div
- class="layoutkit-flexbox css-12x47oo acss-1q9sa2a ant-pro-chat-list-item-title"
+ class="layoutkit-flexbox css-1uxoxb1 acss-1q9sa2a ant-pro-chat-list-item-title"
>
<time>
2024-02-27 17:20:00
</time>
</div>
<div
- class="layoutkit-flexbox css-4preuj acss-j11nrd ant-pro-chat-message-content"
+ class="layoutkit-flexbox css-1g62d18 acss-j11nrd ant-pro-chat-message-content"
>
<div
- class="layoutkit-flexbox css-o3n4io acss-1aas3xx ant-pro-chat-list-item-message-content"
+ class="layoutkit-flexbox css-1euyney acss-1aas3xx ant-pro-chat-list-item-message-content"
>
<div
id="ZGxiX2p4"
>
<article
@@ -142,11 +142,11 @@
<div
class="acss-0 ant-pro-chat-message-extra"
/>
</div>
<div
- class="layoutkit-flexbox css-9pyqzz acss-1baikiv ant-pro-chat-list-item-actions"
+ class="layoutkit-flexbox css-7vjqoo acss-1baikiv ant-pro-chat-list-item-actions"
role="menubar"
>
<div
class="ant-editor-action-group-content zcss-t61miv"
>
@@ -263,11 +263,11 @@
<div
style="flex: 0 0 auto; width: 32px;"
/>
</div>
<div
- class="layoutkit-flexbox css-vwb4od acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-left"
+ class="layoutkit-flexbox css-14n32il acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-left"
data-id="Sb5pAzLL"
>
<div
class="acss-16a4jh6"
>
@@ -287,24 +287,24 @@
</div>
</span>
</span>
</div>
<div
- class="layoutkit-flexbox css-9pyqzz acss-hc6lm9 ant-pro-chat-list-item-message-container"
+ class="layoutkit-flexbox css-7vjqoo acss-hc6lm9 ant-pro-chat-list-item-message-container"
>
<div
- class="layoutkit-flexbox css-16o88vh acss-1s7p
|
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders toBottomConfig.tsx correctly:
tests/demo.tsx#L37
Error: Snapshot `<ProChat /> > renders toBottomConfig.tsx correctly 1` mismatched
- Expected
+ Received
@@ -5,11 +5,11 @@
<div
class="ant-app"
style="height: 100%; width: 100%; position: relative;"
>
<div
- class="layoutkit-flexbox css-o3n4io ant-pro-chat acss-5rxe8i ant-pro-chat-container"
+ class="layoutkit-flexbox css-1euyney ant-pro-chat acss-5rxe8i ant-pro-chat-container"
style="max-height: 100vh; height: 100%;"
>
<div
class="ant-pro-chat-chat-list-container acss-1v5259w"
style="height: 100%;"
@@ -17,11 +17,11 @@
<div
class="acss-pmp369 ant-pro-chat-list"
style="margin-top: 24px;"
>
<div
- class="layoutkit-flexbox css-vwb4od acss-4rcaee ant-pro-chat-list-item ant-pro-chat-list-item-left"
+ class="layoutkit-flexbox css-14n32il acss-4rcaee ant-pro-chat-list-item ant-pro-chat-list-item-left"
data-id="ZGxiX2p4"
>
<div
class="acss-16a4jh6"
>
@@ -41,24 +41,24 @@
</div>
</span>
</span>
</div>
<div
- class="layoutkit-flexbox css-9pyqzz acss-hc6lm9 ant-pro-chat-list-item-message-container"
+ class="layoutkit-flexbox css-7vjqoo acss-hc6lm9 ant-pro-chat-list-item-message-container"
>
<div
- class="layoutkit-flexbox css-16o88vh acss-1s7pvt5 ant-pro-chat-list-item-title"
+ class="layoutkit-flexbox css-1qd5nuy acss-1s7pvt5 ant-pro-chat-list-item-title"
>
<time>
2024-02-27 17:20:00
</time>
</div>
<div
- class="layoutkit-flexbox css-xaaduu acss-j11nrd ant-pro-chat-message-content"
+ class="layoutkit-flexbox css-14jdfs3 acss-j11nrd ant-pro-chat-message-content"
>
<div
- class="layoutkit-flexbox css-o3n4io acss-yb6bwp ant-pro-chat-list-item-message-content"
+ class="layoutkit-flexbox css-1euyney acss-yb6bwp ant-pro-chat-list-item-message-content"
>
<div
id="ZGxiX2p4"
>
<article
@@ -77,11 +77,11 @@
<div
class="acss-0 ant-pro-chat-message-extra"
/>
</div>
<div
- class="layoutkit-flexbox css-9pyqzz acss-13ms7ma ant-pro-chat-list-item-actions"
+ class="layoutkit-flexbox css-7vjqoo acss-13ms7ma ant-pro-chat-list-item-actions"
role="menubar"
>
<div
class="ant-editor-action-group-content zcss-t61miv"
>
@@ -195,11 +195,11 @@
</div>
</div>
</div>
</div>
<div
- class="layoutkit-flexbox css-vwb4od acss-4rcaee ant-pro-chat-list-item ant-pro-chat-list-item-left"
+ class="layoutkit-flexbox css-14n32il acss-4rcaee ant-pro-chat-list-item ant-pro-chat-list-item-left"
data-id="Sb5pAzLL"
>
<div
class="acss-16a4jh6"
>
@@ -219,24 +219,24 @@
</div>
</span>
</span>
</div>
<div
- class="layoutkit-flexbox css-9pyqzz acss-hc6lm9 ant-pro-chat-list-item-message-container"
+ class="layoutkit-flexbox css-7vjqoo acss-hc6lm9 ant-pro-chat-list-item-message-container"
>
<div
- class="layoutkit-flexbox css-16o88vh acss-1s7pvt5 ant-pro-chat-list-item-title"
|
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders sse.tsx correctly:
tests/demo.tsx#L37
Error: Snapshot `<ProChat /> > renders sse.tsx correctly 1` mismatched
- Expected
+ Received
@@ -5,11 +5,11 @@
<div
class="ant-app"
style="height: 100%; width: 100%; position: relative;"
>
<div
- class="layoutkit-flexbox css-o3n4io ant-pro-chat acss-5rxe8i ant-pro-chat-container"
+ class="layoutkit-flexbox css-1euyney ant-pro-chat acss-5rxe8i ant-pro-chat-container"
style="max-height: 100vh; height: 100%;"
>
<div
class="ant-pro-chat-chat-list-container acss-1v5259w"
style="height: 100%;"
@@ -17,11 +17,11 @@
<div
class="acss-pmp369 ant-pro-chat-list"
style="margin-top: 24px;"
>
<div
- class="layoutkit-flexbox css-vwb4od acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-left"
+ class="layoutkit-flexbox css-14n32il acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-left"
data-id="default"
>
<div
class="acss-16a4jh6"
>
@@ -41,24 +41,24 @@
</div>
</span>
</span>
</div>
<div
- class="layoutkit-flexbox css-9pyqzz acss-hc6lm9 ant-pro-chat-list-item-message-container"
+ class="layoutkit-flexbox css-7vjqoo acss-hc6lm9 ant-pro-chat-list-item-message-container"
>
<div
- class="layoutkit-flexbox css-16o88vh acss-1s7pvt5 ant-pro-chat-list-item-title"
+ class="layoutkit-flexbox css-1qd5nuy acss-1s7pvt5 ant-pro-chat-list-item-title"
>
<time>
2024-02-27 17:20:00
</time>
</div>
<div
- class="layoutkit-flexbox css-roa2v7 acss-j11nrd ant-pro-chat-message-content"
+ class="layoutkit-flexbox css-d8kryp acss-j11nrd ant-pro-chat-message-content"
>
<div
- class="layoutkit-flexbox css-o3n4io acss-1aas3xx ant-pro-chat-list-item-message-content"
+ class="layoutkit-flexbox css-1euyney acss-1aas3xx ant-pro-chat-list-item-message-content"
>
<div
id="default"
>
<article
@@ -77,11 +77,11 @@
<div
class="acss-0 ant-pro-chat-message-extra"
/>
</div>
<div
- class="layoutkit-flexbox css-9pyqzz acss-1eio0fa ant-pro-chat-list-item-actions"
+ class="layoutkit-flexbox css-7vjqoo acss-1eio0fa ant-pro-chat-list-item-actions"
role="menubar"
/>
</div>
</div>
<div
@@ -140,14 +140,14 @@
返回底部
</span>
</button>
<div>
<div
- class="layoutkit-flexbox css-19iopuf acss-1ckeg12 ant-pro-chat-input-area"
+ class="layoutkit-flexbox css-1r7zaxo acss-1ckeg12 ant-pro-chat-input-area"
>
<div
- class="layoutkit-flexbox css-e0bvmz acss-1qxitnl ant-pro-chat-input-area-action-bar"
+ class="layoutkit-flexbox css-1gzsvii acss-1qxitnl ant-pro-chat-input-area-action-bar"
>
<button
class="ant-btn ant-btn-text ant-btn-icon-only ant-editor-icon zcss-1lwi3pj"
type="button"
>
@@ -201,11 +201,11 @@
</div>
</span>
</button>
</div>
<div
- class="layoutkit-flexbox css-1lumxev acss-p1380z ant-pro-chat-input-area-text-container"
+ class="layoutkit-flexbox css-bx6voh acss-p1380z ant-pro-chat-input-area-text-container"
|
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders sse-trans.tsx correctly:
tests/demo.tsx#L37
Error: Snapshot `<ProChat /> > renders sse-trans.tsx correctly 1` mismatched
- Expected
+ Received
@@ -5,11 +5,11 @@
<div
class="ant-app"
style="height: 100%; width: 100%; position: relative;"
>
<div
- class="layoutkit-flexbox css-o3n4io ant-pro-chat acss-5rxe8i ant-pro-chat-container"
+ class="layoutkit-flexbox css-1euyney ant-pro-chat acss-5rxe8i ant-pro-chat-container"
style="max-height: 100vh; height: 800px;"
>
<div
class="ant-pro-chat-chat-list-container acss-1v5259w"
style="height: 100%;"
@@ -17,11 +17,11 @@
<div
class="acss-pmp369 ant-pro-chat-list"
style="margin-top: 24px;"
>
<div
- class="layoutkit-flexbox css-vwb4od acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-left"
+ class="layoutkit-flexbox css-14n32il acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-left"
data-id="default"
>
<div
class="acss-16a4jh6"
>
@@ -41,24 +41,24 @@
</div>
</span>
</span>
</div>
<div
- class="layoutkit-flexbox css-9pyqzz acss-hc6lm9 ant-pro-chat-list-item-message-container"
+ class="layoutkit-flexbox css-7vjqoo acss-hc6lm9 ant-pro-chat-list-item-message-container"
>
<div
- class="layoutkit-flexbox css-16o88vh acss-1s7pvt5 ant-pro-chat-list-item-title"
+ class="layoutkit-flexbox css-1qd5nuy acss-1s7pvt5 ant-pro-chat-list-item-title"
>
<time>
2024-02-27 17:20:00
</time>
</div>
<div
- class="layoutkit-flexbox css-roa2v7 acss-j11nrd ant-pro-chat-message-content"
+ class="layoutkit-flexbox css-d8kryp acss-j11nrd ant-pro-chat-message-content"
>
<div
- class="layoutkit-flexbox css-o3n4io acss-1aas3xx ant-pro-chat-list-item-message-content"
+ class="layoutkit-flexbox css-1euyney acss-1aas3xx ant-pro-chat-list-item-message-content"
>
<div
id="default"
>
<article
@@ -77,11 +77,11 @@
<div
class="acss-0 ant-pro-chat-message-extra"
/>
</div>
<div
- class="layoutkit-flexbox css-9pyqzz acss-1eio0fa ant-pro-chat-list-item-actions"
+ class="layoutkit-flexbox css-7vjqoo acss-1eio0fa ant-pro-chat-list-item-actions"
role="menubar"
/>
</div>
</div>
<div
@@ -140,14 +140,14 @@
返回底部
</span>
</button>
<div>
<div
- class="layoutkit-flexbox css-19iopuf acss-1ckeg12 ant-pro-chat-input-area"
+ class="layoutkit-flexbox css-1r7zaxo acss-1ckeg12 ant-pro-chat-input-area"
>
<div
- class="layoutkit-flexbox css-e0bvmz acss-1qxitnl ant-pro-chat-input-area-action-bar"
+ class="layoutkit-flexbox css-1gzsvii acss-1qxitnl ant-pro-chat-input-area-action-bar"
>
<button
class="ant-btn ant-btn-text ant-btn-icon-only ant-editor-icon zcss-1lwi3pj"
type="button"
>
@@ -201,11 +201,11 @@
</div>
</span>
</button>
</div>
<div
- class="layoutkit-flexbox css-1lumxev acss-p1380z ant-pro-chat-input-area-text-container"
+ class="layoutkit-flexbox css-bx6voh acss-p1380z ant-pro-chat-input-area-text-container"
|
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders request.tsx correctly:
tests/demo.tsx#L37
Error: Snapshot `<ProChat /> > renders request.tsx correctly 1` mismatched
- Expected
+ Received
@@ -5,11 +5,11 @@
<div
class="ant-app"
style="height: 100%; width: 100%; position: relative;"
>
<div
- class="layoutkit-flexbox css-o3n4io ant-pro-chat acss-5rxe8i ant-pro-chat-container"
+ class="layoutkit-flexbox css-1euyney ant-pro-chat acss-5rxe8i ant-pro-chat-container"
style="max-height: 100vh; height: 100%;"
>
<div
class="ant-pro-chat-chat-list-container acss-1v5259w"
style="height: 100%;"
@@ -17,11 +17,11 @@
<div
class="acss-pmp369 ant-pro-chat-list"
style="margin-top: 24px;"
>
<div
- class="layoutkit-flexbox css-vwb4od acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-left"
+ class="layoutkit-flexbox css-14n32il acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-left"
data-id="default"
>
<div
class="acss-16a4jh6"
>
@@ -41,24 +41,24 @@
</div>
</span>
</span>
</div>
<div
- class="layoutkit-flexbox css-9pyqzz acss-hc6lm9 ant-pro-chat-list-item-message-container"
+ class="layoutkit-flexbox css-7vjqoo acss-hc6lm9 ant-pro-chat-list-item-message-container"
>
<div
- class="layoutkit-flexbox css-16o88vh acss-1s7pvt5 ant-pro-chat-list-item-title"
+ class="layoutkit-flexbox css-1qd5nuy acss-1s7pvt5 ant-pro-chat-list-item-title"
>
<time>
2024-02-27 17:20:00
</time>
</div>
<div
- class="layoutkit-flexbox css-roa2v7 acss-j11nrd ant-pro-chat-message-content"
+ class="layoutkit-flexbox css-d8kryp acss-j11nrd ant-pro-chat-message-content"
>
<div
- class="layoutkit-flexbox css-o3n4io acss-1aas3xx ant-pro-chat-list-item-message-content"
+ class="layoutkit-flexbox css-1euyney acss-1aas3xx ant-pro-chat-list-item-message-content"
>
<div
id="default"
>
<article
@@ -77,11 +77,11 @@
<div
class="acss-0 ant-pro-chat-message-extra"
/>
</div>
<div
- class="layoutkit-flexbox css-9pyqzz acss-1eio0fa ant-pro-chat-list-item-actions"
+ class="layoutkit-flexbox css-7vjqoo acss-1eio0fa ant-pro-chat-list-item-actions"
role="menubar"
/>
</div>
</div>
<div
@@ -140,14 +140,14 @@
Back to bottom
</span>
</button>
<div>
<div
- class="layoutkit-flexbox css-19iopuf acss-1ckeg12 ant-pro-chat-input-area"
+ class="layoutkit-flexbox css-1r7zaxo acss-1ckeg12 ant-pro-chat-input-area"
>
<div
- class="layoutkit-flexbox css-e0bvmz acss-1qxitnl ant-pro-chat-input-area-action-bar"
+ class="layoutkit-flexbox css-1gzsvii acss-1qxitnl ant-pro-chat-input-area-action-bar"
>
<button
class="ant-btn ant-btn-text ant-btn-icon-only ant-editor-icon zcss-1lwi3pj"
type="button"
>
@@ -201,11 +201,11 @@
</div>
</span>
</button>
</div>
<div
- class="layoutkit-flexbox css-1lumxev acss-p1380z ant-pro-chat-input-area-text-container"
+ class="layoutkit-flexbox css-bx6voh acss-p1380z ant-pro-chat-input-area-text-contai
|
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders no-stream.tsx correctly:
tests/demo.tsx#L37
Error: Snapshot `<ProChat /> > renders no-stream.tsx correctly 1` mismatched
- Expected
+ Received
@@ -5,11 +5,11 @@
<div
class="ant-app"
style="height: 100%; width: 100%; position: relative;"
>
<div
- class="layoutkit-flexbox css-o3n4io ant-pro-chat acss-5rxe8i ant-pro-chat-container"
+ class="layoutkit-flexbox css-1euyney ant-pro-chat acss-5rxe8i ant-pro-chat-container"
style="max-height: 100vh; height: 100vh;"
>
<div
class="ant-pro-chat-chat-list-container acss-1v5259w"
style="height: 100%;"
@@ -17,11 +17,11 @@
<div
class="acss-pmp369 ant-pro-chat-list"
style="margin-top: 24px;"
>
<div
- class="layoutkit-flexbox css-vwb4od acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-left"
+ class="layoutkit-flexbox css-14n32il acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-left"
data-id="default"
>
<div
class="acss-16a4jh6"
>
@@ -41,24 +41,24 @@
</div>
</span>
</span>
</div>
<div
- class="layoutkit-flexbox css-9pyqzz acss-hc6lm9 ant-pro-chat-list-item-message-container"
+ class="layoutkit-flexbox css-7vjqoo acss-hc6lm9 ant-pro-chat-list-item-message-container"
>
<div
- class="layoutkit-flexbox css-16o88vh acss-1s7pvt5 ant-pro-chat-list-item-title"
+ class="layoutkit-flexbox css-1qd5nuy acss-1s7pvt5 ant-pro-chat-list-item-title"
>
<time>
2024-02-27 17:20:00
</time>
</div>
<div
- class="layoutkit-flexbox css-roa2v7 acss-j11nrd ant-pro-chat-message-content"
+ class="layoutkit-flexbox css-d8kryp acss-j11nrd ant-pro-chat-message-content"
>
<div
- class="layoutkit-flexbox css-o3n4io acss-1aas3xx ant-pro-chat-list-item-message-content"
+ class="layoutkit-flexbox css-1euyney acss-1aas3xx ant-pro-chat-list-item-message-content"
>
<div
id="default"
>
<article
@@ -77,11 +77,11 @@
<div
class="acss-0 ant-pro-chat-message-extra"
/>
</div>
<div
- class="layoutkit-flexbox css-9pyqzz acss-1eio0fa ant-pro-chat-list-item-actions"
+ class="layoutkit-flexbox css-7vjqoo acss-1eio0fa ant-pro-chat-list-item-actions"
role="menubar"
/>
</div>
</div>
<div
@@ -140,14 +140,14 @@
返回底部
</span>
</button>
<div>
<div
- class="layoutkit-flexbox css-19iopuf acss-1ckeg12 ant-pro-chat-input-area"
+ class="layoutkit-flexbox css-1r7zaxo acss-1ckeg12 ant-pro-chat-input-area"
>
<div
- class="layoutkit-flexbox css-e0bvmz acss-1qxitnl ant-pro-chat-input-area-action-bar"
+ class="layoutkit-flexbox css-1gzsvii acss-1qxitnl ant-pro-chat-input-area-action-bar"
>
<button
class="ant-btn ant-btn-text ant-btn-icon-only ant-editor-icon zcss-1lwi3pj"
type="button"
>
@@ -201,11 +201,11 @@
</div>
</span>
</button>
</div>
<div
- class="layoutkit-flexbox css-1lumxev acss-p1380z ant-pro-chat-input-area-text-container"
+ class="layoutkit-flexbox css-bx6voh acss-p1380z ant-pro-chat-input-area-text-container"
|
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders modal.tsx correctly:
tests/demo.tsx#L37
Error: Snapshot `<ProChat /> > renders modal.tsx correctly 1` mismatched
- Expected
+ Received
@@ -2,11 +2,11 @@
<div
class="ant-app"
style="height: 100%; width: 100%; position: relative;"
>
<div
- class="layoutkit-flexbox css-o3n4io ant-pro-chat acss-5rxe8i ant-pro-chat-container"
+ class="layoutkit-flexbox css-1euyney ant-pro-chat acss-5rxe8i ant-pro-chat-container"
style="max-height: 100vh; height: 100%;"
>
<div
class="ant-pro-chat-chat-list-container acss-1v5259w"
style="height: 100%;"
@@ -14,11 +14,11 @@
<div
class="acss-pmp369 ant-pro-chat-list"
style="margin-top: 24px;"
>
<div
- class="layoutkit-flexbox css-vwb4od acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-left"
+ class="layoutkit-flexbox css-14n32il acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-left"
data-id="default"
>
<div
class="acss-16a4jh6"
>
@@ -38,24 +38,24 @@
</div>
</span>
</span>
</div>
<div
- class="layoutkit-flexbox css-9pyqzz acss-hc6lm9 ant-pro-chat-list-item-message-container"
+ class="layoutkit-flexbox css-7vjqoo acss-hc6lm9 ant-pro-chat-list-item-message-container"
>
<div
- class="layoutkit-flexbox css-16o88vh acss-1s7pvt5 ant-pro-chat-list-item-title"
+ class="layoutkit-flexbox css-1qd5nuy acss-1s7pvt5 ant-pro-chat-list-item-title"
>
<time>
2024-02-27 17:20:00
</time>
</div>
<div
- class="layoutkit-flexbox css-roa2v7 acss-j11nrd ant-pro-chat-message-content"
+ class="layoutkit-flexbox css-d8kryp acss-j11nrd ant-pro-chat-message-content"
>
<div
- class="layoutkit-flexbox css-o3n4io acss-1aas3xx ant-pro-chat-list-item-message-content"
+ class="layoutkit-flexbox css-1euyney acss-1aas3xx ant-pro-chat-list-item-message-content"
>
<div
id="default"
>
<article
@@ -74,11 +74,11 @@
<div
class="acss-0 ant-pro-chat-message-extra"
/>
</div>
<div
- class="layoutkit-flexbox css-9pyqzz acss-1eio0fa ant-pro-chat-list-item-actions"
+ class="layoutkit-flexbox css-7vjqoo acss-1eio0fa ant-pro-chat-list-item-actions"
role="menubar"
/>
</div>
</div>
<div
@@ -137,14 +137,14 @@
返回底部
</span>
</button>
<div>
<div
- class="layoutkit-flexbox css-19iopuf acss-1ckeg12 ant-pro-chat-input-area"
+ class="layoutkit-flexbox css-1r7zaxo acss-1ckeg12 ant-pro-chat-input-area"
>
<div
- class="layoutkit-flexbox css-e0bvmz acss-1qxitnl ant-pro-chat-input-area-action-bar"
+ class="layoutkit-flexbox css-1gzsvii acss-1qxitnl ant-pro-chat-input-area-action-bar"
>
<button
class="ant-btn ant-btn-text ant-btn-icon-only ant-editor-icon zcss-1lwi3pj"
type="button"
>
@@ -198,11 +198,11 @@
</div>
</span>
</button>
</div>
<div
- class="layoutkit-flexbox css-1lumxev acss-p1380z ant-pro-chat-input-area-text-container"
+ class="layoutkit-flexbox css-bx6voh acss-p1380z ant-pro-chat-input-area-text-container"
>
<div
class="ant-select ant-select-outlined ant-select-auto-complete acss-6ckfqf ant-pro-chat-input-area-component ant-select-single ant-s
|
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders meta.tsx correctly:
tests/demo.tsx#L37
Error: Snapshot `<ProChat /> > renders meta.tsx correctly 1` mismatched
- Expected
+ Received
@@ -5,11 +5,11 @@
<div
class="ant-app"
style="height: 100%; width: 100%; position: relative;"
>
<div
- class="layoutkit-flexbox css-o3n4io ant-pro-chat acss-5rxe8i ant-pro-chat-container"
+ class="layoutkit-flexbox css-1euyney ant-pro-chat acss-5rxe8i ant-pro-chat-container"
style="max-height: 100vh; height: 100%;"
>
<div
class="ant-pro-chat-chat-list-container acss-1v5259w"
style="height: 100%;"
@@ -17,11 +17,11 @@
<div
class="acss-pmp369 ant-pro-chat-list"
style="margin-top: 24px;"
>
<div
- class="layoutkit-flexbox css-1xn0kxa acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-right"
+ class="layoutkit-flexbox css-1sfjazu acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-right"
data-id="ZGxiX2p4"
>
<div
class="acss-16a4jh6"
>
@@ -34,25 +34,25 @@
src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"
/>
</span>
</div>
<div
- class="layoutkit-flexbox css-ojglte acss-hc6lm9 ant-pro-chat-list-item-message-container"
+ class="layoutkit-flexbox css-uhomow acss-hc6lm9 ant-pro-chat-list-item-message-container"
>
<div
- class="layoutkit-flexbox css-12x47oo acss-1df1rs8 ant-pro-chat-list-item-title"
+ class="layoutkit-flexbox css-1uxoxb1 acss-1df1rs8 ant-pro-chat-list-item-title"
>
Ant Design
<time>
2024-02-27 17:20:00
</time>
</div>
<div
- class="layoutkit-flexbox css-4preuj acss-j11nrd ant-pro-chat-message-content"
+ class="layoutkit-flexbox css-1g62d18 acss-j11nrd ant-pro-chat-message-content"
>
<div
- class="layoutkit-flexbox css-o3n4io acss-1aas3xx ant-pro-chat-list-item-message-content"
+ class="layoutkit-flexbox css-1euyney acss-1aas3xx ant-pro-chat-list-item-message-content"
>
<div
id="ZGxiX2p4"
>
<article
@@ -71,11 +71,11 @@
<div
class="acss-0 ant-pro-chat-message-extra"
/>
</div>
<div
- class="layoutkit-flexbox css-9pyqzz acss-1baikiv ant-pro-chat-list-item-actions"
+ class="layoutkit-flexbox css-7vjqoo acss-1baikiv ant-pro-chat-list-item-actions"
role="menubar"
>
<div
class="ant-editor-action-group-content zcss-t61miv"
>
@@ -192,11 +192,11 @@
<div
style="flex: 0 0 auto; width: 32px;"
/>
</div>
<div
- class="layoutkit-flexbox css-vwb4od acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-left"
+ class="layoutkit-flexbox css-14n32il acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-left"
data-id="Sb5pAzLL"
>
<div
class="acss-16a4jh6"
>
@@ -216,25 +216,25 @@
</div>
</span>
</span>
</div>
<div
- class="layoutkit-flexbox css-9pyqzz acss-hc6lm9 ant-pro-chat-list-item-message-container"
+ class="layoutkit-flexbox css-7vjqoo acss-hc6lm9 ant-pro-chat-list-item-message-container"
>
|
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders loading.tsx correctly:
tests/demo.tsx#L37
Error: Snapshot `<ProChat /> > renders loading.tsx correctly 1` mismatched
- Expected
+ Received
@@ -1,12 +1,12 @@
<DocumentFragment>
<div
- class="layoutkit-flexbox css-o3n4io"
+ class="layoutkit-flexbox css-1euyney"
style="background: rgb(245, 245, 245);"
>
<div
- class="layoutkit-flexbox css-5mv6hp"
+ class="layoutkit-flexbox css-vreggg"
>
<button
class="ant-btn ant-btn-primary"
type="button"
>
@@ -30,19 +30,19 @@
<div
class="ant-app"
style="height: 100%; width: 100%; position: relative;"
>
<div
- class="layoutkit-flexbox css-o3n4io ant-pro-chat acss-5rxe8i ant-pro-chat-container"
+ class="layoutkit-flexbox css-1euyney ant-pro-chat acss-5rxe8i ant-pro-chat-container"
style="max-height: 100vh; height: 100%;"
>
<div
class="ant-pro-chat-chat-list-container acss-1v5259w"
style="height: 100%;"
>
<div
- class="layoutkit-flexbox css-7c9263"
+ class="layoutkit-flexbox css-rzsnff"
style="margin-top: 24px;"
>
<div
class="ant-skeleton ant-skeleton-with-avatar ant-skeleton-active acss-1cyx9n7"
>
@@ -147,14 +147,14 @@
返回底部
</span>
</button>
<div>
<div
- class="layoutkit-flexbox css-19iopuf acss-1ckeg12 ant-pro-chat-input-area"
+ class="layoutkit-flexbox css-1r7zaxo acss-1ckeg12 ant-pro-chat-input-area"
>
<div
- class="layoutkit-flexbox css-e0bvmz acss-1qxitnl ant-pro-chat-input-area-action-bar"
+ class="layoutkit-flexbox css-1gzsvii acss-1qxitnl ant-pro-chat-input-area-action-bar"
>
<button
class="ant-btn ant-btn-text ant-btn-icon-only ant-editor-icon zcss-1lwi3pj"
type="button"
>
@@ -208,11 +208,11 @@
</div>
</span>
</button>
</div>
<div
- class="layoutkit-flexbox css-1lumxev acss-p1380z ant-pro-chat-input-area-text-container"
+ class="layoutkit-flexbox css-bx6voh acss-p1380z ant-pro-chat-input-area-text-container"
>
<div
class="ant-select ant-select-outlined ant-select-auto-complete acss-6ckfqf ant-pro-chat-input-area-component ant-select-single ant-select-customize-input ant-select-show-search"
>
<div
❯ tests/demo.tsx:37:40
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|