diff --git a/packages/antd/package.json b/packages/antd/package.json index 5f6c230d50..2cd404f4eb 100644 --- a/packages/antd/package.json +++ b/packages/antd/package.json @@ -8,29 +8,29 @@ "type": "module", "exports": { ".": { + "types": "./lib/index.d.ts", "require": "./dist/index.js", - "import": "./lib/index.js", - "types": "./lib/index.d.ts" + "import": "./lib/index.js" }, "./lib": { + "types": "./lib/index.d.ts", "require": "./dist/index.js", - "import": "./lib/index.js", - "types": "./lib/index.d.ts" + "import": "./lib/index.js" }, "./lib/*.js": { + "types": "./lib/*.d.ts", "require": "./dist/*.js", - "import": "./lib/*.js", - "types": "./lib/*.d.ts" + "import": "./lib/*.js" }, "./dist": { + "types": "./lib/index.d.ts", "require": "./dist/index.js", - "import": "./lib/index.js", - "types": "./lib/index.d.ts" + "import": "./lib/index.js" }, "./dist/*.js": { + "types": "./lib/*.d.ts", "require": "./dist/*.js", - "import": "./lib/*.js", - "types": "./lib/*.d.ts" + "import": "./lib/*.js" } }, "scripts": { diff --git a/packages/antd/test/__snapshots__/GridSnap.test.tsx.snap b/packages/antd/test/__snapshots__/GridSnap.test.tsx.snap index 33dbb45d9e..2a492b2c20 100644 --- a/packages/antd/test/__snapshots__/GridSnap.test.tsx.snap +++ b/packages/antd/test/__snapshots__/GridSnap.test.tsx.snap @@ -1280,103 +1280,143 @@ exports[`Complex grid renders person and address and employment in a complex gri } } > -
- - -
-
- - -
-
- - -
-
- - -
*:not(style)~*:not(style) { +.emotion-112>*:not(style)~*:not(style) { margin-top: 0px; -webkit-margin-end: 0px; margin-inline-end: 0px; @@ -278,7 +278,7 @@ exports[`Complex grid renders person and address and employment in a complex gri margin-inline-start: 0.5rem; } -.emotion-112 { +.emotion-113 { display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; @@ -288,7 +288,7 @@ exports[`Complex grid renders person and address and employment in a complex gri cursor: pointer; } -.emotion-113 { +.emotion-114 { display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; @@ -303,7 +303,7 @@ exports[`Complex grid renders person and address and employment in a complex gri flex-shrink: 0; } -.emotion-114 { +.emotion-115 { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -312,11 +312,11 @@ exports[`Complex grid renders person and address and employment in a complex gri margin-inline-start: 0.5rem; } -.emotion-155 { +.emotion-156 { margin-top: 3px; } -.emotion-156 { +.emotion-157 { display: inline-flex; -webkit-appearance: none; -moz-appearance: none; @@ -1263,174 +1263,181 @@ exports[`Complex grid renders person and address and employment in a complex gri } } > -
- +
- - + + + +
+
@@ -1698,10 +1705,10 @@ exports[`Complex grid renders person and address and employment in a complex gri
@@ -3451,10 +3465,10 @@ exports[`Complex grid renders person and address and employment in a complex gri
@@ -4917,7 +4938,7 @@ exports[`Complex grid renders person and address and employment in a complex gri