Skip to content

Commit

Permalink
fix: update snapshot (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
ONLY-yours authored Aug 9, 2024
1 parent c41f652 commit a6290b5
Showing 1 changed file with 14 additions and 169 deletions.
183 changes: 14 additions & 169 deletions src/ProChat/__test__/__snapshots__/demo.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ exports[`<ProChat /> > renders actions.tsx correctly 1`] = `
style="margin-top: 24px;"
>
<div
class="layoutkit-flexbox css-1xn0kxa acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-right"
data-id="1"
class="layoutkit-flexbox css-vwb4od acss-1orhs6m ant-pro-chat-list-item ant-pro-chat-list-item-left"
data-id="default"
>
<div
class="acss-16a4jh6"
Expand All @@ -40,29 +40,29 @@ exports[`<ProChat /> > renders actions.tsx correctly 1`] = `
class="acss-1vwqsas"
style="font-size: 23.040000000000003px; height: 25.6px; width: 25.6px;"
>
😀
🤖
</div>
</span>
</span>
</div>
<div
class="layoutkit-flexbox css-ojglte acss-hc6lm9 ant-pro-chat-list-item-message-container"
class="layoutkit-flexbox css-9pyqzz 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-16o88vh acss-1s7pvt5 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-roa2v7 acss-j11nrd ant-pro-chat-message-content"
>
<div
class="layoutkit-flexbox css-o3n4io acss-1aas3xx ant-pro-chat-list-item-message-content"
>
<div
id="1"
id="default"
>
<article
class="ant-typography"
Expand All @@ -72,7 +72,7 @@ exports[`<ProChat /> > renders actions.tsx correctly 1`] = `
class="zcss-1hxup8p"
>
<p>
test
让我们开始对话吧
</p>
</div>
</article>
Expand All @@ -82,120 +82,9 @@ exports[`<ProChat /> > renders actions.tsx correctly 1`] = `
/>
</div>
<div
class="layoutkit-flexbox css-9pyqzz acss-1baikiv ant-pro-chat-list-item-actions"
class="layoutkit-flexbox css-9pyqzz acss-1eio0fa ant-pro-chat-list-item-actions"
role="menubar"
>
<div
class="ant-editor-action-group-content zcss-t61miv"
>
<button
class="ant-btn ant-btn-text ant-btn-icon-only ant-editor-icon zcss-97l1ue"
type="button"
>
<span
class="ant-btn-icon"
>
<div
class="acss-1o4i853"
style="border-radius: 5px; height: 24px; width: 24px;"
>
<span
class="anticon"
role="img"
>
<svg
class="lucide lucide-rotate-cw"
fill="transparent"
focusable="false"
height="14"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1.5"
viewBox="0 0 24 24"
width="14"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8"
/>
<path
d="M21 3v5h-5"
/>
</svg>
</span>
</div>
</span>
</button>
<button
class="ant-btn ant-btn-text ant-btn-icon-only ant-editor-icon zcss-97l1ue"
type="button"
>
<span
class="ant-btn-icon"
>
<div
class="acss-1o4i853"
style="border-radius: 5px; height: 24px; width: 24px;"
>
<span
class="anticon"
role="img"
>
<svg
class="lucide lucide-pen-square"
fill="transparent"
focusable="false"
height="14"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1.5"
viewBox="0 0 24 24"
width="14"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"
/>
<path
d="M18.5 2.5a2.12 2.12 0 0 1 3 3L12 15l-4 1 1-4Z"
/>
</svg>
</span>
</div>
</span>
</button>
<button
class="ant-btn ant-btn-text ant-btn-icon-only ant-editor-icon zcss-1jqu9f1 ant-dropdown-trigger"
type="button"
>
<span
class="ant-btn-icon"
>
<span
aria-label="dash"
class="anticon anticon-dash"
role="img"
>
<svg
aria-hidden="true"
data-icon="dash"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M112 476h160v72H112zm320 0h160v72H432zm320 0h160v72H752z"
/>
</svg>
</span>
</span>
</button>
</div>
</div>
/>
</div>
</div>
<div
Expand All @@ -207,60 +96,16 @@ exports[`<ProChat /> > renders actions.tsx correctly 1`] = `
style="height: 1px; width: 100%;"
/>
</div>
<button
class="ant-btn ant-btn-default ant-btn-sm acss-1nxnbtq"
style="bottom: 138px; position: absolute; right: 16px;"
type="button"
>
<span
class="ant-btn-icon"
>
<span
class="anticon"
role="img"
>
<svg
class="lucide lucide-list-end"
fill="transparent"
focusable="false"
height="1em"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M16 12H3"
/>
<path
d="M16 6H3"
/>
<path
d="M10 18H3"
/>
<path
d="M21 6v10a2 2 0 0 1-2 2h-5"
/>
<path
d="m16 16-2 2 2 2"
/>
</svg>
</span>
</span>
<span>
返回底部
</span>
</button>
<div>
<div
class="layoutkit-flexbox css-19iopuf 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-q0sdau acss-1qxitnl ant-pro-chat-input-area-action-bar"
>
<a>
人工服务
</a>
<button
class="ant-btn ant-btn-text ant-btn-icon-only ant-editor-icon zcss-1lwi3pj"
type="button"
Expand Down

0 comments on commit a6290b5

Please sign in to comment.