From b777d1c0c678f78305acd2d99e2c8c73bcb87878 Mon Sep 17 00:00:00 2001
From: sunsunmonkey <116412388+sunsunmonkey@users.noreply.github.com>
Date: Wed, 13 Dec 2023 15:34:17 +0800
Subject: [PATCH 1/3] docs(segment): change to Disabled name (#46421)
---
components/segmented/index.en-US.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/segmented/index.en-US.md b/components/segmented/index.en-US.md
index e622ff6af0..1c641f17a3 100644
--- a/components/segmented/index.en-US.md
+++ b/components/segmented/index.en-US.md
@@ -20,7 +20,7 @@ Segmented Controls. This component is available since `antd@4.20.0`.
Basic
Block Segmented
-Basic
+Disabled
Controlled mode
Custom Render
Dynamic
From b3b5df442cbdc81f201f593b8612d0ebf5da4cf2 Mon Sep 17 00:00:00 2001
From: MadCcc
Date: Wed, 13 Dec 2023 17:31:36 +0800
Subject: [PATCH 2/3] fix: Select multiple padding (#46427)
---
components/select/style/multiple.tsx | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/components/select/style/multiple.tsx b/components/select/style/multiple.tsx
index 2103ae2d3d..fa25756df0 100644
--- a/components/select/style/multiple.tsx
+++ b/components/select/style/multiple.tsx
@@ -58,9 +58,8 @@ function genSizeStyle(token: SelectToken, suffix?: string): CSSObject {
alignItems: 'center',
height: '100%',
// Multiple is little different that horizontal is follow the vertical
- padding: `${unit(token.calc(selectItemDist).sub(FIXED_ITEM_MARGIN).equal())} ${unit(
- token.calc(FIXED_ITEM_MARGIN).mul(2).equal(),
- )}`,
+ paddingInline: token.calc(FIXED_ITEM_MARGIN).mul(2).equal(),
+ paddingBlock: token.calc(selectItemDist).sub(FIXED_ITEM_MARGIN).equal(),
borderRadius: token.borderRadius,
[`${componentCls}-show-search&`]: {
From a3ec2936a552f3d2d7262c0eafb9a6f3e3740e72 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=8F=B6=E6=9E=AB?=
<7971419+crazyair@users.noreply.github.com>
Date: Wed, 13 Dec 2023 20:42:55 +0800
Subject: [PATCH 3/3] styles: report add top styles (#46433)
---
.../visual-regression/report-template.html | 115 +++++++++---------
1 file changed, 60 insertions(+), 55 deletions(-)
diff --git a/scripts/visual-regression/report-template.html b/scripts/visual-regression/report-template.html
index edf5458ce7..dc5b178f3f 100644
--- a/scripts/visual-regression/report-template.html
+++ b/scripts/visual-regression/report-template.html
@@ -1,74 +1,79 @@
-
-
-
- Ant Design Visual Diff Report
-
-
+
- /* Responsive Table */
- @media screen and (max-width: 600px) and (min-width: 1px) {
- table {
- border: 0;
- }
+
+ {{reportContent}}
+
- th,
- td {
- display: block;
- padding: 6px;
- border: none;
- }
-
- th {
- text-align: left;
- background-color: transparent;
- }
-
- tr:nth-child(even) {
- background-color: transparent;
- }
-
- tr:nth-child(odd) {
- background-color: transparent;
- }
-
- tr:hover {
- background-color: transparent;
- }
- }
-
-
-
- {{reportContent}}
-
-