@ant-design/icons 6.1.0 → 6.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es/utils.d.ts CHANGED
@@ -21,6 +21,6 @@ export declare const svgBaseProps: {
21
21
  'aria-hidden': string;
22
22
  focusable: string;
23
23
  };
24
- export declare const iconStyles = "\n.anticon {\n display: inline-flex;\n align-items: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n vertical-align: inherit;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";
24
+ export declare const iconStyles = "\n.anticon {\n display: inline-flex;\n align-items: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n vertical-align: inherit;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin {\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";
25
25
  export declare const useInsertStyles: (eleRef: React.RefObject<HTMLElement>) => void;
26
26
  export {};
package/es/utils.js CHANGED
@@ -97,9 +97,7 @@ export const iconStyles = `
97
97
  cursor: pointer;
98
98
  }
99
99
 
100
- .anticon-spin::before,
101
100
  .anticon-spin {
102
- display: inline-block;
103
101
  -webkit-animation: loadingCircle 1s infinite linear;
104
102
  animation: loadingCircle 1s infinite linear;
105
103
  }
package/lib/utils.d.ts CHANGED
@@ -21,6 +21,6 @@ export declare const svgBaseProps: {
21
21
  'aria-hidden': string;
22
22
  focusable: string;
23
23
  };
24
- export declare const iconStyles = "\n.anticon {\n display: inline-flex;\n align-items: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n vertical-align: inherit;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";
24
+ export declare const iconStyles = "\n.anticon {\n display: inline-flex;\n align-items: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n vertical-align: inherit;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin {\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";
25
25
  export declare const useInsertStyles: (eleRef: React.RefObject<HTMLElement>) => void;
26
26
  export {};
package/lib/utils.js CHANGED
@@ -113,9 +113,7 @@ const iconStyles = exports.iconStyles = `
113
113
  cursor: pointer;
114
114
  }
115
115
 
116
- .anticon-spin::before,
117
116
  .anticon-spin {
118
- display: inline-block;
119
117
  -webkit-animation: loadingCircle 1s infinite linear;
120
118
  animation: loadingCircle 1s infinite linear;
121
119
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ant-design/icons",
3
- "version": "6.1.0",
3
+ "version": "6.1.1",
4
4
  "repository": "https://github.com/ant-design/ant-design-icons/tree/master/packages/icons-react",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -41,18 +41,17 @@
41
41
  "@types/node": "^24.6.0",
42
42
  "@types/react": "^18.3.3",
43
43
  "@types/react-dom": "^18.3.0",
44
- "@typescript-eslint/eslint-plugin": "^5.59.7",
45
- "@umijs/fabric": "^3.0.0",
44
+ "@eslint/js": "^9.17.0",
45
+ "typescript-eslint": "^8.18.2",
46
46
  "antd": "^4.8.2",
47
47
  "dumi": "^1.1.4",
48
48
  "enzyme": "^3.10.0",
49
49
  "enzyme-adapter-react-16": "^1.15.7",
50
50
  "enzyme-to-json": "^3.3.5",
51
- "eslint": "^8.0.0",
52
- "eslint-plugin-jest": "^27.2.1",
53
- "eslint-plugin-react": "^7.32.2",
54
- "eslint-plugin-react-hooks": "^4.6.0",
55
- "eslint-plugin-unicorn": "^47.0.0",
51
+ "eslint": "^9.17.0",
52
+ "eslint-plugin-jest": "^28.10.0",
53
+ "eslint-plugin-react": "^7.37.3",
54
+ "eslint-plugin-react-hooks": "^5.1.0",
56
55
  "father": "^4.0.0",
57
56
  "glob": "^7.1.6",
58
57
  "history": "^4.9.0",