@ant-design/icons 5.3.4 → 5.3.5
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/dist/index.umd.js +1736 -1736
- package/dist/index.umd.min.js +1 -1
- package/es/utils.d.ts +1 -1
- package/es/utils.js +1 -1
- package/lib/utils.d.ts +1 -1
- package/lib/utils.js +1 -1
- package/package.json +6 -14
- package/yarn-error.log +14315 -0
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-
|
|
24
|
+
export declare const iconStyles = "\n.anticon {\n display: inline-flex;\n alignItems: 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}\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";
|
|
25
25
|
export declare const useInsertStyles: (eleRef: React.RefObject<HTMLElement>) => void;
|
|
26
26
|
export {};
|
package/es/utils.js
CHANGED
|
@@ -67,7 +67,7 @@ export var svgBaseProps = {
|
|
|
67
67
|
'aria-hidden': 'true',
|
|
68
68
|
focusable: 'false'
|
|
69
69
|
};
|
|
70
|
-
export var iconStyles = "\n.anticon {\n display: inline-
|
|
70
|
+
export var iconStyles = "\n.anticon {\n display: inline-flex;\n alignItems: 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}\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";
|
|
71
71
|
export var useInsertStyles = function useInsertStyles(eleRef) {
|
|
72
72
|
var _useContext = useContext(IconContext),
|
|
73
73
|
csp = _useContext.csp,
|
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-
|
|
24
|
+
export declare const iconStyles = "\n.anticon {\n display: inline-flex;\n alignItems: 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}\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";
|
|
25
25
|
export declare const useInsertStyles: (eleRef: React.RefObject<HTMLElement>) => void;
|
|
26
26
|
export {};
|
package/lib/utils.js
CHANGED
|
@@ -177,7 +177,7 @@ var svgBaseProps = {
|
|
|
177
177
|
"aria-hidden": "true",
|
|
178
178
|
focusable: "false"
|
|
179
179
|
};
|
|
180
|
-
var iconStyles = "\n.anticon {\n display: inline-
|
|
180
|
+
var iconStyles = "\n.anticon {\n display: inline-flex;\n alignItems: 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}\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";
|
|
181
181
|
var useInsertStyles = function(eleRef) {
|
|
182
182
|
var _useContext = (0, _react.useContext)(_Context.default), csp = _useContext.csp, prefixCls = _useContext.prefixCls;
|
|
183
183
|
var mergedStyleStr = iconStyles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ant-design/icons",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.5",
|
|
4
4
|
"repository": "https://github.com/ant-design/ant-design-icons/tree/master/packages/icons-react",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -23,6 +23,10 @@
|
|
|
23
23
|
"test": "rc-test",
|
|
24
24
|
"test:local": "npm run generate && npm run compile && npm run test"
|
|
25
25
|
},
|
|
26
|
+
"resolutions": {
|
|
27
|
+
"@types/react": "^16.9.23",
|
|
28
|
+
"@types/react-dom": "^16.9.5"
|
|
29
|
+
},
|
|
26
30
|
"dependencies": {
|
|
27
31
|
"@ant-design/colors": "^7.0.0",
|
|
28
32
|
"@ant-design/icons-svg": "^4.4.0",
|
|
@@ -80,17 +84,5 @@
|
|
|
80
84
|
"access": "public",
|
|
81
85
|
"registry": "https://registry.npmjs.org"
|
|
82
86
|
},
|
|
83
|
-
"gitHead": "225d4d2189720ee3b7e4a4d7a6d80e076fa15cbc"
|
|
84
|
-
"overrides": {
|
|
85
|
-
"@types/react": {
|
|
86
|
-
".": "^16.9.23"
|
|
87
|
-
},
|
|
88
|
-
"@types/react-dom": {
|
|
89
|
-
".": "^16.9.5"
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
"_resolutions": {
|
|
93
|
-
"@types/react": "^16.9.23",
|
|
94
|
-
"@types/react-dom": "^16.9.5"
|
|
95
|
-
}
|
|
87
|
+
"gitHead": "225d4d2189720ee3b7e4a4d7a6d80e076fa15cbc"
|
|
96
88
|
}
|