Skip to content

Commit 6b51b6f

Browse files
committed
chrome: update snapshot
1 parent b58f74d commit 6b51b6f

33 files changed

+283
-246
lines changed

Diff for: packages/card/CHANGELOG.md

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
# Change Log
22

3-
All notable changes to this project will be documented in this file.
4-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
3+
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
54

65
## [2.9.7](https://github.com/ant-design/pro-components/compare/@ant-design/[email protected]...@ant-design/[email protected]) (2025-03-31)
76

8-
97
### Bug Fixes
108

11-
* **tests:** 移除多余的空行以清理代码 ([32cb3b8](https://github.com/ant-design/pro-components/commit/32cb3b8f85d38e5ee60e73440207617340890def))
12-
13-
14-
15-
9+
- **tests:** 移除多余的空行以清理代码 ([32cb3b8](https://github.com/ant-design/pro-components/commit/32cb3b8f85d38e5ee60e73440207617340890def))
1610

1711
## [2.9.6](https://github.com/ant-design/pro-components/compare/@ant-design/[email protected]...@ant-design/[email protected]) (2025-02-17)
1812

Diff for: packages/card/src/components/StatisticCard/demos/group.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default () => {
2020
>
2121
<StatisticCard
2222
statistic={{
23-
title: 'Today\'s UV',
23+
title: "Today's UV",
2424
tip: 'Supplier Information',
2525
value: 79,
2626
precision: 2,

Diff for: packages/card/src/components/StatisticCard/demos/layout.tsx

+5-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ export default () => {
4242
title: 'Total Traffic This Month',
4343
value: 234,
4444
description: (
45-
<Statistic title="Month-on-Month" value="8.04%" trend="up" />
45+
<Statistic
46+
title="Month-on-Month"
47+
value="8.04%"
48+
trend="up"
49+
/>
4650
),
4751
}}
4852
/>

Diff for: packages/card/src/components/StatisticCard/demos/total-layout.tsx

+18-4
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ export default () => {
2121
statistic={{
2222
value: 82.6,
2323
suffix: 'Billion',
24-
description: <Statistic title="Daily Comparison" value="6.47%" trend="up" />,
24+
description: (
25+
<Statistic title="Daily Comparison" value="6.47%" trend="up" />
26+
),
2527
}}
2628
chart={
2729
<img
@@ -75,7 +77,11 @@ export default () => {
7577
value={1982312}
7678
layout="vertical"
7779
description={
78-
<Statistic title="Daily Comparison" value="6.15%" trend="down" />
80+
<Statistic
81+
title="Daily Comparison"
82+
value="6.15%"
83+
trend="down"
84+
/>
7985
}
8086
/>
8187
</StatisticCard>
@@ -84,7 +90,11 @@ export default () => {
8490
title: 'Daily Ranking',
8591
value: 6,
8692
description: (
87-
<Statistic title="Daily Comparison" value="3.85%" trend="down" />
93+
<Statistic
94+
title="Daily Comparison"
95+
value="3.85%"
96+
trend="down"
97+
/>
8898
),
8999
}}
90100
chart={
@@ -125,7 +135,11 @@ export default () => {
125135
value={601}
126136
layout="vertical"
127137
description={
128-
<Statistic title="Daily Comparison" value="6.47%" trend="down" />
138+
<Statistic
139+
title="Daily Comparison"
140+
value="6.47%"
141+
trend="down"
142+
/>
129143
}
130144
/>
131145
</StatisticCard>

Diff for: packages/card/src/demos/collapsible.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ export default () => {
9797
collapsed: buildInCollapsed,
9898
}: {
9999
collapsed: boolean;
100-
}) => (buildInCollapsed ? <span>Collapse - </span> : <span>Expand - </span>)}
100+
}) =>
101+
buildInCollapsed ? <span>Collapse - </span> : <span>Expand - </span>
102+
}
101103
style={{ marginBlockStart: 16 }}
102104
headerBordered
103105
collapsible

Diff for: packages/card/src/demos/divider.tsx

+9-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ export default () => {
1414
setResponsive(offset.width < 596);
1515
}}
1616
>
17-
<ProCard.Group title="Core Metrics" direction={responsive ? 'column' : 'row'}>
17+
<ProCard.Group
18+
title="Core Metrics"
19+
direction={responsive ? 'column' : 'row'}
20+
>
1821
<ProCard>
1922
<Statistic title="Today's UV" value={79.0} precision={2} />
2023
</ProCard>
@@ -24,7 +27,11 @@ export default () => {
2427
</ProCard>
2528
<Divider type={responsive ? 'horizontal' : 'vertical'} />
2629
<ProCard>
27-
<Statistic title="Information Completeness" value={93} suffix="/ 100" />
30+
<Statistic
31+
title="Information Completeness"
32+
value={93}
33+
suffix="/ 100"
34+
/>
2835
</ProCard>
2936
<Divider type={responsive ? 'horizontal' : 'vertical'} />
3037
<ProCard>

Diff for: packages/card/src/demos/inner.tsx

+6-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@ import { ProCard } from '@ant-design/pro-components';
33
export default () => {
44
return (
55
<>
6-
<ProCard title="Horizontal Inner Card" bordered headerBordered gutter={16}>
6+
<ProCard
7+
title="Horizontal Inner Card"
8+
bordered
9+
headerBordered
10+
gutter={16}
11+
>
712
<ProCard title="Inner Card Title" type="inner" bordered>
813
Inner Card Content
914
</ProCard>

Diff for: packages/card/src/demos/responsive.tsx

+5-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ export default () => {
2626
Col
2727
</ProCard>
2828
</ProCard>
29-
<ProCard style={{ marginBlockStart: 8 }} gutter={8} title="Specified Width px">
29+
<ProCard
30+
style={{ marginBlockStart: 8 }}
31+
gutter={8}
32+
title="Specified Width px"
33+
>
3034
<ProCard
3135
colSpan={{
3236
xs: '50px',

Diff for: packages/components/CHANGELOG.md

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
# Change Log
22

3-
All notable changes to this project will be documented in this file.
4-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
3+
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
54

65
## [2.8.7](https://github.com/ant-design/pro-components/compare/@ant-design/[email protected]...@ant-design/[email protected]) (2025-03-31)
76

8-
97
### Bug Fixes
108

11-
* **tests:** 移除多余的空行以清理代码 ([32cb3b8](https://github.com/ant-design/pro-components/commit/32cb3b8f85d38e5ee60e73440207617340890def))
12-
13-
14-
15-
9+
- **tests:** 移除多余的空行以清理代码 ([32cb3b8](https://github.com/ant-design/pro-components/commit/32cb3b8f85d38e5ee60e73440207617340890def))
1610

1711
## [2.8.6](https://github.com/ant-design/pro-components/compare/@ant-design/[email protected]...@ant-design/[email protected]) (2025-02-17)
1812

Diff for: packages/descriptions/CHANGELOG.md

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
# Change Log
22

3-
All notable changes to this project will be documented in this file.
4-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
3+
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
54

65
## [2.6.7](https://github.com/ant-design/pro-components/compare/@ant-design/[email protected]...@ant-design/[email protected]) (2025-03-31)
76

8-
97
### Bug Fixes
108

11-
* **tests:** 移除多余的空行以清理代码 ([32cb3b8](https://github.com/ant-design/pro-components/commit/32cb3b8f85d38e5ee60e73440207617340890def))
12-
13-
14-
15-
9+
- **tests:** 移除多余的空行以清理代码 ([32cb3b8](https://github.com/ant-design/pro-components/commit/32cb3b8f85d38e5ee60e73440207617340890def))
1610

1711
## [2.6.6](https://github.com/ant-design/pro-components/compare/@ant-design/[email protected]...@ant-design/[email protected]) (2025-02-17)
1812

Diff for: packages/field/CHANGELOG.md

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
# Change Log
22

3-
All notable changes to this project will be documented in this file.
4-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
3+
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
54

65
## [3.0.4](https://github.com/ant-design/pro-components/compare/@ant-design/[email protected]...@ant-design/[email protected]) (2025-03-31)
76

8-
97
### Bug Fixes
108

11-
* **tests:** 移除多余的空行以清理代码 ([32cb3b8](https://github.com/ant-design/pro-components/commit/32cb3b8f85d38e5ee60e73440207617340890def))
12-
13-
14-
15-
9+
- **tests:** 移除多余的空行以清理代码 ([32cb3b8](https://github.com/ant-design/pro-components/commit/32cb3b8f85d38e5ee60e73440207617340890def))
1610

1711
## [3.0.3](https://github.com/ant-design/pro-components/compare/@ant-design/[email protected]...@ant-design/[email protected]) (2025-02-17)
1812

Diff for: packages/form/CHANGELOG.md

+3-9
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
11
# Change Log
22

3-
All notable changes to this project will be documented in this file.
4-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
3+
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
54

65
## [2.31.7](https://github.com/ant-design/pro-components/compare/@ant-design/[email protected]...@ant-design/[email protected]) (2025-03-31)
76

8-
97
### Bug Fixes
108

11-
* **SchemaForm:** 移除不必要的类型错误注释,确保 tooltip 属性正常使用 ([c005a52](https://github.com/ant-design/pro-components/commit/c005a526d4e866937d0342c90c098fe6fde13fc7))
12-
* **tests:** 移除多余的空行以清理代码 ([32cb3b8](https://github.com/ant-design/pro-components/commit/32cb3b8f85d38e5ee60e73440207617340890def))
13-
14-
15-
16-
9+
- **SchemaForm:** 移除不必要的类型错误注释,确保 tooltip 属性正常使用 ([c005a52](https://github.com/ant-design/pro-components/commit/c005a526d4e866937d0342c90c098fe6fde13fc7))
10+
- **tests:** 移除多余的空行以清理代码 ([32cb3b8](https://github.com/ant-design/pro-components/commit/32cb3b8f85d38e5ee60e73440207617340890def))
1711

1812
## [2.31.6](https://github.com/ant-design/pro-components/compare/@ant-design/[email protected]...@ant-design/[email protected]) (2025-02-17)
1913

Diff for: packages/form/src/components/FieldSet/demos/datatime.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ export default () => {
6262
<ProFormDatePicker.Week name="dateWeek" label="Week" />
6363
<ProFormDateWeekRangePicker name="dateWeekRange" label="Week Range" />
6464
<ProFormDatePicker.Month name="dateMonth" label="Month" />
65-
<ProFormDateMonthRangePicker name="dateMonthRange" label="Month Range" />
65+
<ProFormDateMonthRangePicker
66+
name="dateMonthRange"
67+
label="Month Range"
68+
/>
6669
<ProFormDatePicker.Quarter name="dateQuarter" label="Quarter" />
6770
<ProFormDateQuarterRangePicker
6871
name="dateQuarterRange"

Diff for: packages/form/src/components/FieldSet/index.en-US.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -499,9 +499,9 @@ Same as [cascader](https://ant.design/components/cascader-cn/), configure Cascad
499499

500500
Same as [switch](https://ant.design/components/switch/), configure Switch data through `fieldProps`.
501501

502-
| Parameters | Description | Type | Default |
503-
| ---------- | ----------------- | ------------- | ------ |
504-
| fieldProps | Props of Ant Design component | `SwitchProps` | - |
502+
| Parameters | Description | Type | Default |
503+
| ---------- | ----------------------------- | ------------- | ------- |
504+
| fieldProps | Props of Ant Design component | `SwitchProps` | - |
505505

506506
```tsx | pure
507507
<ProFormSwitch name="switch" label="Switch" />
@@ -511,9 +511,9 @@ Same as [switch](https://ant.design/components/switch/), configure Switch data t
511511

512512
Same as [rate](https://ant.design/components/rate/), configure Rate data through `fieldProps`.
513513

514-
| Parameters | Description | Type | Default |
515-
| ---------- | ----------------- | ------------- | ------ |
516-
| fieldProps | Props of Ant Design component | `RateProps` | - |
514+
| Parameters | Description | Type | Default |
515+
| ---------- | ----------------------------- | ----------- | ------- |
516+
| fieldProps | Props of Ant Design component | `RateProps` | - |
517517

518518
```tsx | pure
519519
<ProFormRate name="rate" label="Rate" />
@@ -523,9 +523,9 @@ Same as [rate](https://ant.design/components/rate/), configure Rate data through
523523

524524
Same as [slider](https://ant.design/components/slider/), configure Slider data through `fieldProps`.
525525

526-
| Parameters | Description | Type | Default |
527-
| ---------- | ----------------- | ------------- | ------ |
528-
| fieldProps | Props of Ant Design component | `SliderProps` | - |
526+
| Parameters | Description | Type | Default |
527+
| ---------- | ----------------------------- | ------------- | ------- |
528+
| fieldProps | Props of Ant Design component | `SliderProps` | - |
529529

530530
```tsx | pure
531531
<ProFormSlider
@@ -560,10 +560,10 @@ Same as [upload](https://ant.design/components/upload/). Dragger style is preset
560560

561561
Same as [upload](https://ant.design/components/upload/). The Button style is preset, otherwise it is the same as Upload.
562562

563-
| Parameters | Description | Type | Default |
564-
| ---------- | --------------------- | ----------- | --------------- |
565-
| icon | The chart of Dragger. | `ReactNode` | UploadOutlined |
566-
| title | Dragger's title | `ReactNode` | Click to upload |
563+
| Parameters | Description | Type | Default |
564+
| --- | --- | --- | --- |
565+
| icon | The chart of Dragger. | `ReactNode` | UploadOutlined |
566+
| title | Dragger's title | `ReactNode` | Click to upload |
567567
| max | Maximum upload quantity. The upload button will be hidden if the maximum quantity is exceeded | `number` | - |
568568

569569
```tsx | pure
@@ -680,4 +680,4 @@ Same as [Segmented](https://ant.design/components/segmented-cn/). Supports both
680680
rules={[{ required: true, message: 'Please select your country!' }]}
681681
/>
682682
</>
683-
```
683+
```

Diff for: packages/form/src/components/FieldSet/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ ProFormCaptcha 是为了支持中后台中常见的验证码功能开发的组
298298
]}
299299
/>
300300
```
301+
301302
自定义选项:
302303

303304
```tsx | pure

Diff for: packages/form/src/components/ModalForm/demos/drawer-form.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,10 @@ export default () => {
7979
label="Contract Name"
8080
placeholder="Please enter a name"
8181
/>
82-
<ProFormDateRangePicker name="contractTime" label="Contract Effective Time" />
82+
<ProFormDateRangePicker
83+
name="contractTime"
84+
label="Contract Effective Time"
85+
/>
8386
</ProForm.Group>
8487
<ProForm.Group>
8588
<ProFormSelect

Diff for: packages/form/src/components/ModalForm/demos/modal-form.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@ export default () => {
6767
label="Contract Name"
6868
placeholder="Please enter a name"
6969
/>
70-
<ProFormDateRangePicker name="contractTime" label="Contract Effective Time" />
70+
<ProFormDateRangePicker
71+
name="contractTime"
72+
label="Contract Effective Time"
73+
/>
7174
</ProForm.Group>
7275
<ProForm.Group>
7376
<ProFormSelect

Diff for: packages/form/src/components/ModalForm/demos/visible-on-visible-change.tsx

+8-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,10 @@ export default () => {
6868
label="Contract Name"
6969
placeholder="Please enter a name"
7070
/>
71-
<ProFormDateRangePicker name="contractTime" label="Contract Effective Time" />
71+
<ProFormDateRangePicker
72+
name="contractTime"
73+
label="Contract Effective Time"
74+
/>
7275
</ProForm.Group>
7376
<ProForm.Group>
7477
<ProFormSelect
@@ -141,7 +144,10 @@ export default () => {
141144
label="Contract Name"
142145
placeholder="Please enter a name"
143146
/>
144-
<ProFormDateRangePicker name="contractTime" label="Contract Effective Time" />
147+
<ProFormDateRangePicker
148+
name="contractTime"
149+
label="Contract Effective Time"
150+
/>
145151
</ProForm.Group>
146152
<ProForm.Group>
147153
<ProFormSelect

0 commit comments

Comments
 (0)