Skip to content

Commit 3c9832c

Browse files
authored
chore: fix ci error (#525)
* fix: compile warring * chore: update snapshot
1 parent 723329b commit 3c9832c

File tree

3 files changed

+61
-60
lines changed

3 files changed

+61
-60
lines changed

bun.lockb

12.5 KB
Binary file not shown.

components/sender/__tests__/__snapshots__/index.test.tsx.snap

+59-59
Original file line numberDiff line numberDiff line change
@@ -3,77 +3,77 @@
33
exports[`Sender Component loading state 1`] = `
44
<DocumentFragment>
55
<div
6-
class="ant-sender"
7-
>
8-
<div
9-
class="ant-sender-content"
6+
class="ant-sender"
107
>
11-
<textarea
12-
class="ant-input ant-input-borderless ant-sender-input"
13-
style="overflow-y: hidden; resize: none;"
14-
/>
158
<div
16-
class="ant-sender-actions-list"
9+
class="ant-sender-content"
1710
>
11+
<textarea
12+
class="ant-input ant-input-borderless ant-sender-input"
13+
style="overflow-y: hidden; resize: none;"
14+
/>
1815
<div
19-
class="ant-sender-actions-list-presets ant-flex"
16+
class="ant-sender-actions-list"
2017
>
21-
<button
22-
class="ant-btn ant-btn-circle ant-btn-text ant-btn-color-primary ant-btn-variant-text ant-sender-actions-btn ant-sender-actions-btn-loading-button"
23-
type="button"
18+
<div
19+
class="ant-sender-actions-list-presets ant-flex"
2420
>
25-
<svg
26-
class="ant-sender-actions-btn-loading-icon"
27-
color="currentColor"
28-
viewBox="0 0 1000 1000"
29-
xmlns="http://www.w3.org/2000/svg"
30-
xmlns:xlink="http://www.w3.org/1999/xlink"
21+
<button
22+
class="ant-btn ant-btn-circle ant-btn-text ant-btn-color-primary ant-btn-variant-text ant-sender-actions-btn ant-sender-actions-btn-loading-button"
23+
type="button"
3124
>
32-
<title>
33-
Stop Loading
34-
</title>
35-
<rect
36-
fill="currentColor"
37-
height="250"
38-
rx="24"
39-
ry="24"
40-
width="250"
41-
x="375"
42-
y="375"
43-
/>
44-
<circle
45-
cx="500"
46-
cy="500"
47-
fill="none"
48-
opacity="0.45"
49-
r="450"
50-
stroke="currentColor"
51-
stroke-width="100"
52-
/>
53-
<circle
54-
cx="500"
55-
cy="500"
56-
fill="none"
57-
r="450"
58-
stroke="currentColor"
59-
stroke-dasharray="600 9999999"
60-
stroke-width="100"
25+
<svg
26+
class="ant-sender-actions-btn-loading-icon"
27+
color="currentColor"
28+
viewBox="0 0 1000 1000"
29+
xmlns="http://www.w3.org/2000/svg"
30+
xmlns:xlink="http://www.w3.org/1999/xlink"
6131
>
62-
<animatetransform
63-
attributeName="transform"
64-
dur="1s"
65-
from="0 500 500"
66-
repeatCount="indefinite"
67-
to="360 500 500"
68-
type="rotate"
32+
<title>
33+
Stop Loading
34+
</title>
35+
<rect
36+
fill="currentColor"
37+
height="250"
38+
rx="24"
39+
ry="24"
40+
width="250"
41+
x="375"
42+
y="375"
6943
/>
70-
</circle>
71-
</svg>
72-
</button>
44+
<circle
45+
cx="500"
46+
cy="500"
47+
fill="none"
48+
opacity="0.45"
49+
r="450"
50+
stroke="currentColor"
51+
stroke-width="100"
52+
/>
53+
<circle
54+
cx="500"
55+
cy="500"
56+
fill="none"
57+
r="450"
58+
stroke="currentColor"
59+
stroke-dasharray="600 9999999"
60+
stroke-width="100"
61+
>
62+
<animatetransform
63+
attributeName="transform"
64+
dur="1s"
65+
from="0 500 500"
66+
repeatCount="indefinite"
67+
to="360 500 500"
68+
type="rotate"
69+
/>
70+
</circle>
71+
</svg>
72+
</button>
73+
</div>
7374
</div>
7475
</div>
7576
</div>
76-
</div>
7777
</DocumentFragment>
7878
`;
7979

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@
114114
"@petercatai/assistant": "^2.0.13",
115115
"@qixian.cs/github-contributors-list": "^2.0.2",
116116
"@rc-component/father-plugin": "2.0.3",
117+
"@rc-component/np": "^1.0.3",
117118
"@rc-component/trigger": "^2.2.3",
118119
"@size-limit/file": "^11.1.5",
119120
"@stackblitz/sdk": "^1.11.0",
@@ -181,7 +182,6 @@
181182
"father": "4.5.2",
182183
"fetch-jsonp": "^1.3.0",
183184
"fs-extra": "^11.2.0",
184-
"react-intl": "7.1.5",
185185
"gh-pages": "^6.1.1",
186186
"glob": "^11.0.0",
187187
"happy-dom": "^17.0.0",
@@ -234,6 +234,7 @@
234234
"react-highlight-words": "^0.20.0",
235235
"react-infinite-scroll-component": "^6.1.0",
236236
"react-intersection-observer": "^9.13.1",
237+
"react-intl": "7.1.5",
237238
"react-resizable": "^3.0.5",
238239
"react-router-dom": "^7.0.1",
239240
"react-sticky-box": "^2.0.5",

0 commit comments

Comments
 (0)