@mijadesign/mobile-icons 1.0.0-beta.0 → 1.0.0-beta.2
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/es/icons/SvgConfig.js +1 -1
- package/dist/es/icons/WechatBack.js +55 -0
- package/dist/es/index.es.js +1 -0
- package/dist/lib/index.umd.js +2 -2
- package/dist/style_iconfont.css +1 -1
- package/dist/types/index.d.ts +42 -22
- package/dist/types/mobile-icons.mjs +1343 -1292
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const l = ["AddFill", "AddRectangleFill", "Addressbook", "ArrowDownCircle", "ArrowDown", "ArrowLeftCircle", "ArrowLeft", "ArrowRightCircle", "ArrowRight", "ArrowUpCircle", "ArrowUp", "Bankcard", "Call", "CameraFill", "Camera", "Close", "Customer", "DeleteFill", "Delete", "DownFill", "FailureFill", "Failure", "GuaranteeFill", "Guarantee", "Home", "InformationFill", "Information", "Invisible", "LeftFill", "Loading", "Modify", "Plus", "Position", "ProblemFill", "Problem", "ProhibitselectedRectangle", "Prohibitselected", "Remind", "RightFill", "Search", "SelectedFill", "SelectedRectangleFill", "Selected", "SelectedminusFill", "SelectedminusRectangleFill", "SuccessFill", "Success", "TimeFill", "Time", "UnselectedRectangle", "Unselected", "UpFill", "User", "Visible", "WarningFill", "Warning", "AdultManColor", "AdultWomanColor", "BoyColor", "ClaimsDetailColor", "DirectClaimsColor", "GeneraoInfoColor", "GirlColor", "LoginOffColor", "LoginOnColor", "QuickClaimsColor"];
|
|
1
|
+
const l = ["AddFill", "AddRectangleFill", "Addressbook", "ArrowDownCircle", "ArrowDown", "ArrowLeftCircle", "ArrowLeft", "ArrowRightCircle", "ArrowRight", "ArrowUpCircle", "ArrowUp", "Bankcard", "Call", "CameraFill", "Camera", "Close", "Customer", "DeleteFill", "Delete", "DownFill", "FailureFill", "Failure", "GuaranteeFill", "Guarantee", "Home", "InformationFill", "Information", "Invisible", "LeftFill", "Loading", "Modify", "Plus", "Position", "ProblemFill", "Problem", "ProhibitselectedRectangle", "Prohibitselected", "Remind", "RightFill", "Search", "SelectedFill", "SelectedRectangleFill", "Selected", "SelectedminusFill", "SelectedminusRectangleFill", "SuccessFill", "Success", "TimeFill", "Time", "UnselectedRectangle", "Unselected", "UpFill", "User", "Visible", "WarningFill", "Warning", "WechatBack", "AdultManColor", "AdultWomanColor", "BoyColor", "ClaimsDetailColor", "DirectClaimsColor", "GeneraoInfoColor", "GirlColor", "LoginOffColor", "LoginOnColor", "QuickClaimsColor"];
|
|
2
2
|
export {
|
|
3
3
|
l as iconsConfig
|
|
4
4
|
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import b from "react";
|
|
2
|
+
import g from "classnames";
|
|
3
|
+
const a = {
|
|
4
|
+
size: "",
|
|
5
|
+
classPrefix: "icon",
|
|
6
|
+
fontClassName: "iconfont",
|
|
7
|
+
color: "",
|
|
8
|
+
tag: "i",
|
|
9
|
+
onClick: (e) => {
|
|
10
|
+
},
|
|
11
|
+
className: ""
|
|
12
|
+
};
|
|
13
|
+
function x(e) {
|
|
14
|
+
return e === "" ? "" : Number.isNaN(Number(e)) ? String(e) : `${e}px`;
|
|
15
|
+
}
|
|
16
|
+
function n(e) {
|
|
17
|
+
const i = "wechat-back", {
|
|
18
|
+
size: r,
|
|
19
|
+
classPrefix: l,
|
|
20
|
+
color: f,
|
|
21
|
+
tag: m,
|
|
22
|
+
children: p,
|
|
23
|
+
className: N,
|
|
24
|
+
fontClassName: k,
|
|
25
|
+
style: u,
|
|
26
|
+
logValue: o,
|
|
27
|
+
onClick: t,
|
|
28
|
+
...d
|
|
29
|
+
} = {
|
|
30
|
+
...a,
|
|
31
|
+
...e
|
|
32
|
+
}, C = (h) => {
|
|
33
|
+
t && t(h);
|
|
34
|
+
}, c = {}, s = x(r);
|
|
35
|
+
return s && (c.fontSize = s), b.createElement(
|
|
36
|
+
m,
|
|
37
|
+
{
|
|
38
|
+
className: g(`${k} ${l}-${i} ${N || ""}`, { "auto-track": !!o }),
|
|
39
|
+
style: {
|
|
40
|
+
color: f,
|
|
41
|
+
...c,
|
|
42
|
+
...u
|
|
43
|
+
},
|
|
44
|
+
...d,
|
|
45
|
+
onClick: C,
|
|
46
|
+
"data-log-name": o
|
|
47
|
+
},
|
|
48
|
+
p
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
n.defaultProps = a;
|
|
52
|
+
n.displayName = "FiresoonMobileIcon-wechat-back";
|
|
53
|
+
export {
|
|
54
|
+
n as default
|
|
55
|
+
};
|
package/dist/es/index.es.js
CHANGED
|
@@ -57,6 +57,7 @@ export { default as User } from './icons/User.js';
|
|
|
57
57
|
export { default as Visible } from './icons/Visible.js';
|
|
58
58
|
export { default as WarningFill } from './icons/WarningFill.js';
|
|
59
59
|
export { default as Warning } from './icons/Warning.js';
|
|
60
|
+
export { default as WechatBack } from './icons/WechatBack.js';
|
|
60
61
|
export { default as AdultManColor } from './icons/AdultManColor.js';
|
|
61
62
|
export { default as AdultWomanColor } from './icons/AdultWomanColor.js';
|
|
62
63
|
export { default as BoyColor } from './icons/BoyColor.js';
|