diff --git a/biome.json b/biome.json
index e01856c438..c68a269df1 100644
--- a/biome.json
+++ b/biome.json
@@ -65,6 +65,11 @@
}
}
},
+ "css": {
+ "formatter": {
+ "quoteStyle": "single"
+ }
+ },
"overrides": [
{
"include": ["**/*.test.ts", "**/*.test.tsx", "tests/**/*", "scripts/**/*", ".dumi/**/*"],
diff --git a/components/date-picker/locale/ko_KR.ts b/components/date-picker/locale/ko_KR.ts
index 387aa35432..1d048bbfca 100644
--- a/components/date-picker/locale/ko_KR.ts
+++ b/components/date-picker/locale/ko_KR.ts
@@ -7,7 +7,30 @@ import type { PickerLocale } from '../generatePicker';
const locale: PickerLocale = {
lang: {
placeholder: '날짜 선택',
+ yearPlaceholder: '연도 선택',
+ quarterPlaceholder: '분기 선택',
+ monthPlaceholder: '월 선택',
+ weekPlaceholder: '주 선택',
rangePlaceholder: ['시작일', '종료일'],
+ rangeYearPlaceholder: ['시작 연도', '종료 연도'],
+ rangeMonthPlaceholder: ['시작 월', '종료 월'],
+ rangeQuarterPlaceholder: ['시작 분기', '종료 분기'],
+ rangeWeekPlaceholder: ['시작 주', '종료 주'],
+ shortWeekDays: ['일', '월', '화', '수', '목', '금', '토'],
+ shortMonths: [
+ '1월',
+ '2월',
+ '3월',
+ '4월',
+ '5월',
+ '6월',
+ '7월',
+ '8월',
+ '9월',
+ '10월',
+ '11월',
+ '12월',
+ ],
...CalendarLocale,
},
timePickerLocale: {
diff --git a/components/divider/__tests__/index.test.tsx b/components/divider/__tests__/index.test.tsx
index e529ae70b2..c827633829 100644
--- a/components/divider/__tests__/index.test.tsx
+++ b/components/divider/__tests__/index.test.tsx
@@ -28,22 +28,14 @@ describe('Divider', () => {
});
it('support bool dashed', () => {
- const { container } = render(
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista
probare, quae sunt a te dicta? Refert tamen, quo modo.
diff --git a/components/float-button/__tests__/group.test.tsx b/components/float-button/__tests__/group.test.tsx
index 93af2f0ff4..67c215ae3c 100644
--- a/components/float-button/__tests__/group.test.tsx
+++ b/components/float-button/__tests__/group.test.tsx
@@ -116,7 +116,7 @@ describe('FloatButtonGroup', () => {
fireEvent.click(container.querySelector('.ant-float-btn-group')!);
expect(onClick).toHaveBeenCalled();
expect(onClick2).not.toHaveBeenCalled();
- });
+ });
it('warning if set `open` but not set `trigger`', () => {
const warnSpy = jest.spyOn(console, 'error').mockImplementation(() => {});
diff --git a/components/input/OTP/index.tsx b/components/input/OTP/index.tsx
index 7c10017778..dcbc54c7d5 100644
--- a/components/input/OTP/index.tsx
+++ b/components/input/OTP/index.tsx
@@ -208,7 +208,7 @@ const OTP = React.forwardRef boolean | - | 4.3.0 |
diff --git a/components/table/index.zh-CN.md b/components/table/index.zh-CN.md
index a4611e0f12..418dee4740 100644
--- a/components/table/index.zh-CN.md
+++ b/components/table/index.zh-CN.md
@@ -205,7 +205,7 @@ const columns = [
| filterDropdownProps | 自定义下拉属性,在 `<5.22.0` 之前可用 `filterDropdownOpen` 和 `onFilterDropdownOpenChange` | [DropdownProps](/components/dropdown#api) | - | 5.22.0 |
| fixed | (IE 下无效)列是否固定,可选 `true` (等效于 `left`) `left` `right` | boolean \| string | false | |
| key | React 需要的 key,如果已经设置了唯一的 `dataIndex`,可以忽略这个属性 | string | - | |
-| render | 生成复杂数据的渲染函数,参数分别为当前行的值,当前行数据,行索引 | function(text, record, index) {} | - | |
+| render | 生成复杂数据的渲染函数,参数分别为当前单元格的值,当前行数据,行索引 | function(value, record, index) {} | - | |
| responsive | 响应式 breakpoint 配置列表。未设置则始终可见。 | [Breakpoint](https://github.com/ant-design/ant-design/blob/015109b42b85c63146371b4e32b883cf97b088e8/components/_util/responsiveObserve.ts#L1)\[] | - | 4.2.0 |
| rowScope | 设置列范围 | `row` \| `rowgroup` | - | 5.1.0 |
| shouldCellUpdate | 自定义单元格渲染时机 | (record, prevRecord) => boolean | - | 4.3.0 |
diff --git a/package.json b/package.json
index e72f040ab9..62ba52bb30 100644
--- a/package.json
+++ b/package.json
@@ -125,20 +125,20 @@
"rc-collapse": "~3.9.0",
"rc-dialog": "~9.6.0",
"rc-drawer": "~7.2.0",
- "rc-dropdown": "~4.2.0",
- "rc-field-form": "~2.6.0",
+ "rc-dropdown": "~4.2.1",
+ "rc-field-form": "~2.7.0",
"rc-image": "~7.11.0",
"rc-input": "~1.6.4",
"rc-input-number": "~9.3.0",
"rc-mentions": "~2.18.0",
"rc-menu": "~9.16.0",
- "rc-motion": "^2.9.3",
+ "rc-motion": "^2.9.4",
"rc-notification": "~5.6.2",
"rc-pagination": "~5.0.0",
"rc-picker": "~4.8.3",
"rc-progress": "~4.0.0",
"rc-rate": "~2.13.0",
- "rc-resize-observer": "^1.4.0",
+ "rc-resize-observer": "^1.4.1",
"rc-segmented": "~2.7.0",
"rc-select": "~14.16.4",
"rc-slider": "~11.1.7",
@@ -151,7 +151,7 @@
"rc-tree": "~5.10.1",
"rc-tree-select": "~5.24.5",
"rc-upload": "~4.8.1",
- "rc-util": "^5.44.0",
+ "rc-util": "^5.44.2",
"scroll-into-view-if-needed": "^3.1.0",
"throttle-debounce": "^5.0.2"
},
@@ -349,4 +349,4 @@
"resolutions": {
"nwsapi": "2.2.13"
}
-}
\ No newline at end of file
+}
diff --git a/webpack.config.js b/webpack.config.js
index 84bf777ae4..5ac3a0814c 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -45,7 +45,7 @@ function addPluginsForProduction(config) {
analyzerMode: 'static',
openAnalyzer: false,
reportFilename: '../report.html',
- })
+ }),
);
}
if (newConfig.mode === 'production' && !process.env.PRODUCTION_ONLY) {
@@ -53,7 +53,7 @@ function addPluginsForProduction(config) {
new DuplicatePackageCheckerPlugin({
verbose: true,
emitError: true,
- })
+ }),
);
}
@@ -65,7 +65,7 @@ function addPluginsForProduction(config) {
}),
new CircularDependencyPlugin({
failOnError: true,
- })
+ }),
);
return newConfig;