@mijadesign/mobile-icons 1.0.0-beta.2 → 1.0.0-beta.4

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.
@@ -0,0 +1,55 @@
1
+ import g from "react";
2
+ import x from "classnames";
3
+ const n = {
4
+ size: "",
5
+ classPrefix: "icon",
6
+ fontClassName: "iconfont",
7
+ color: "",
8
+ tag: "i",
9
+ onClick: (e) => {
10
+ },
11
+ className: ""
12
+ };
13
+ function $(e) {
14
+ return e === "" ? "" : Number.isNaN(Number(e)) ? String(e) : `${e}px`;
15
+ }
16
+ function c(e) {
17
+ const i = "add-family", {
18
+ size: l,
19
+ classPrefix: r,
20
+ color: f,
21
+ tag: m,
22
+ children: d,
23
+ className: p,
24
+ fontClassName: N,
25
+ style: u,
26
+ logValue: o,
27
+ onClick: s,
28
+ ...k
29
+ } = {
30
+ ...n,
31
+ ...e
32
+ }, C = (y) => {
33
+ s && s(y);
34
+ }, a = {}, t = $(l);
35
+ return t && (a.fontSize = t), g.createElement(
36
+ m,
37
+ {
38
+ className: x(`${N} ${r}-${i} ${p || ""}`, { "auto-track": !!o }),
39
+ style: {
40
+ color: f,
41
+ ...a,
42
+ ...u
43
+ },
44
+ ...k,
45
+ onClick: C,
46
+ "data-log-name": o
47
+ },
48
+ d
49
+ );
50
+ }
51
+ c.defaultProps = n;
52
+ c.displayName = "FiresoonMobileIcon-add-family";
53
+ export {
54
+ c as default
55
+ };
@@ -0,0 +1,55 @@
1
+ import g from "react";
2
+ import x from "classnames";
3
+ const n = {
4
+ size: "",
5
+ classPrefix: "icon",
6
+ fontClassName: "iconfont",
7
+ color: "",
8
+ tag: "i",
9
+ onClick: (e) => {
10
+ },
11
+ className: ""
12
+ };
13
+ function $(e) {
14
+ return e === "" ? "" : Number.isNaN(Number(e)) ? String(e) : `${e}px`;
15
+ }
16
+ function c(e) {
17
+ const l = "family-fill", {
18
+ size: i,
19
+ classPrefix: r,
20
+ color: f,
21
+ tag: m,
22
+ children: p,
23
+ className: N,
24
+ fontClassName: u,
25
+ style: d,
26
+ logValue: o,
27
+ onClick: s,
28
+ ...k
29
+ } = {
30
+ ...n,
31
+ ...e
32
+ }, C = (y) => {
33
+ s && s(y);
34
+ }, t = {}, a = $(i);
35
+ return a && (t.fontSize = a), g.createElement(
36
+ m,
37
+ {
38
+ className: x(`${u} ${r}-${l} ${N || ""}`, { "auto-track": !!o }),
39
+ style: {
40
+ color: f,
41
+ ...t,
42
+ ...d
43
+ },
44
+ ...k,
45
+ onClick: C,
46
+ "data-log-name": o
47
+ },
48
+ p
49
+ );
50
+ }
51
+ c.defaultProps = n;
52
+ c.displayName = "FiresoonMobileIcon-family-fill";
53
+ export {
54
+ c as default
55
+ };
@@ -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", "WechatBack", "AdultManColor", "AdultWomanColor", "BoyColor", "ClaimsDetailColor", "DirectClaimsColor", "GeneraoInfoColor", "GirlColor", "LoginOffColor", "LoginOnColor", "QuickClaimsColor"];
1
+ const l = ["AddFamily", "AddFill", "AddRectangleFill", "Addressbook", "ArrowDownCircle", "ArrowDown", "ArrowLeftCircle", "ArrowLeft", "ArrowRightCircle", "ArrowRight", "ArrowUpCircle", "ArrowUp", "Bankcard", "Call", "CameraFill", "Camera", "Close", "Customer", "DeleteFill", "Delete", "DownFill", "FailureFill", "Failure", "FamilyFill", "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
  };
@@ -1,6 +1,7 @@
1
1
  /** 此文件由 script generate 脚本生成 */
2
2
 
3
3
  export { default as IconFont } from './icons/IconFont.js';
4
+ export { default as AddFamily } from './icons/AddFamily.js';
4
5
  export { default as AddFill } from './icons/AddFill.js';
5
6
  export { default as AddRectangleFill } from './icons/AddRectangleFill.js';
6
7
  export { default as Addressbook } from './icons/Addressbook.js';
@@ -23,6 +24,7 @@ export { default as Delete } from './icons/Delete.js';
23
24
  export { default as DownFill } from './icons/DownFill.js';
24
25
  export { default as FailureFill } from './icons/FailureFill.js';
25
26
  export { default as Failure } from './icons/Failure.js';
27
+ export { default as FamilyFill } from './icons/FamilyFill.js';
26
28
  export { default as GuaranteeFill } from './icons/GuaranteeFill.js';
27
29
  export { default as Guarantee } from './icons/Guarantee.js';
28
30
  export { default as Home } from './icons/Home.js';