@nutui/icons-react-taro 0.0.1 → 0.0.2-beta.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.
Files changed (56) hide show
  1. package/dist/es/icons/{Issue.js → AfterSaleService.js} +6 -6
  2. package/dist/es/icons/{MoreS.js → Arrow6.js} +2 -2
  3. package/dist/es/icons/{Dshop.js → Arrow8.js} +8 -8
  4. package/dist/es/icons/{Shop3.js → ArrowLeft.js} +10 -10
  5. package/dist/es/icons/Check.js +7 -7
  6. package/dist/es/icons/{Location2.js → Complaint.js} +11 -11
  7. package/dist/es/icons/{DownArrow.js → Coupon.js} +15 -15
  8. package/dist/es/icons/{Left.js → Filter.js} +2 -2
  9. package/dist/es/icons/{Heart1.js → Health.js} +11 -11
  10. package/dist/es/icons/IconFontConfig.js +106 -123
  11. package/dist/es/icons/{HorizontalN.js → Internation.js} +14 -14
  12. package/dist/es/icons/Jingdou.js +55 -0
  13. package/dist/es/icons/{Star2.js → List.js} +2 -2
  14. package/dist/es/icons/{HeartFill2.js → LogisticsError.js} +10 -10
  15. package/dist/es/icons/{CloseLittle.js → Mail.js} +9 -9
  16. package/dist/es/icons/{MoreX.js → NetworkError.js} +13 -13
  17. package/dist/es/icons/{CircleClose.js → NoReceive.js} +8 -8
  18. package/dist/es/icons/{Del2.js → Orderlist.js} +2 -2
  19. package/dist/es/icons/{ShareN.js → Phone.js} +11 -11
  20. package/dist/es/icons/PickedUp.js +55 -0
  21. package/dist/es/icons/Processing.js +55 -0
  22. package/dist/es/icons/{RectDown.js → QrCode.js} +2 -2
  23. package/dist/es/icons/{RectUp.js → Received.js} +10 -10
  24. package/dist/es/icons/SvgConfig.js +1 -1
  25. package/dist/es/icons/ToPay.js +55 -0
  26. package/dist/es/icons/{RectLeft.js → ToReceive.js} +2 -2
  27. package/dist/es/icons/{StarN.js → Transit.js} +2 -2
  28. package/dist/es/icons/WaitReceive.js +55 -0
  29. package/dist/es/icons/{Ask2.js → Wallet.js} +7 -7
  30. package/dist/es/icons/{Scan2.js → Warning.js} +11 -11
  31. package/dist/es/index.es.js +27 -41
  32. package/dist/iconfont.svg +122 -0
  33. package/dist/lib/index.umd.js +1 -1
  34. package/dist/style_iconfont.css +1 -1
  35. package/dist/types/icons-react-taro.mjs +1806 -2534
  36. package/dist/types/index.d.ts +264 -544
  37. package/package.json +1 -1
  38. package/dist/es/icons/ArrowRight2.js +0 -55
  39. package/dist/es/icons/Cart2.js +0 -55
  40. package/dist/es/icons/Heart2.js +0 -55
  41. package/dist/es/icons/HeartFill1.js +0 -55
  42. package/dist/es/icons/HeartFill3.js +0 -55
  43. package/dist/es/icons/HeartFillN.js +0 -55
  44. package/dist/es/icons/HeartN.js +0 -55
  45. package/dist/es/icons/Locationg3.js +0 -55
  46. package/dist/es/icons/My2.js +0 -55
  47. package/dist/es/icons/RectRight.js +0 -55
  48. package/dist/es/icons/Right.js +0 -55
  49. package/dist/es/icons/SFollow.js +0 -55
  50. package/dist/es/icons/Search2.js +0 -55
  51. package/dist/es/icons/Share1.js +0 -55
  52. package/dist/es/icons/Star1.js +0 -55
  53. package/dist/es/icons/Star11.js +0 -55
  54. package/dist/es/icons/StarFill1.js +0 -55
  55. package/dist/es/icons/StarFill2.js +0 -55
  56. package/dist/es/icons/StarFillN.js +0 -55
@@ -1,6 +1,6 @@
1
1
  import $ from "react";
2
2
  const r = {
3
- name: "issue",
3
+ name: "after-sale-service",
4
4
  size: "",
5
5
  classPrefix: "nut-icon",
6
6
  fontClassName: "nutui-iconfont",
@@ -18,8 +18,8 @@ function a(e) {
18
18
  name: t,
19
19
  size: l,
20
20
  classPrefix: f,
21
- color: u,
22
- tag: m,
21
+ color: m,
22
+ tag: u,
23
23
  children: N,
24
24
  className: i,
25
25
  fontClassName: p,
@@ -29,7 +29,7 @@ function a(e) {
29
29
  } = {
30
30
  ...r,
31
31
  ...e
32
- }, c = t ? t.indexOf("/") !== -1 : !1, g = c ? "img" : m, C = (x) => {
32
+ }, c = t ? t.indexOf("/") !== -1 : !1, g = c ? "img" : u, C = (x) => {
33
33
  o && o(x);
34
34
  }, k = () => c ? { src: t } : {}, n = {}, s = y(l);
35
35
  return s && (n.fontSize = s, n.width = s, n.height = s), $.createElement(
@@ -37,7 +37,7 @@ function a(e) {
37
37
  {
38
38
  className: c ? `nut-icon__img ${i || ""} ` : `${p} nut-icon ${f}-${t} ${i || ""}`,
39
39
  style: {
40
- color: u,
40
+ color: m,
41
41
  ...n,
42
42
  ...d
43
43
  },
@@ -49,7 +49,7 @@ function a(e) {
49
49
  );
50
50
  }
51
51
  a.defaultProps = r;
52
- a.displayName = "NutIconissue";
52
+ a.displayName = "NutIconafter-sale-service";
53
53
  export {
54
54
  a as default
55
55
  };
@@ -1,6 +1,6 @@
1
1
  import $ from "react";
2
2
  const r = {
3
- name: "more-s",
3
+ name: "arrow-6",
4
4
  size: "",
5
5
  classPrefix: "nut-icon",
6
6
  fontClassName: "nutui-iconfont",
@@ -49,7 +49,7 @@ function a(e) {
49
49
  );
50
50
  }
51
51
  a.defaultProps = r;
52
- a.displayName = "NutIconmore-s";
52
+ a.displayName = "NutIconarrow-6";
53
53
  export {
54
54
  a as default
55
55
  };
@@ -1,6 +1,6 @@
1
1
  import $ from "react";
2
2
  const r = {
3
- name: "dshop",
3
+ name: "arrow-8",
4
4
  size: "",
5
5
  classPrefix: "nut-icon",
6
6
  fontClassName: "nutui-iconfont",
@@ -20,10 +20,10 @@ function a(e) {
20
20
  classPrefix: f,
21
21
  color: m,
22
22
  tag: u,
23
- children: p,
23
+ children: N,
24
24
  className: o,
25
- fontClassName: d,
26
- style: N,
25
+ fontClassName: p,
26
+ style: d,
27
27
  onClick: i,
28
28
  ...h
29
29
  } = {
@@ -35,21 +35,21 @@ function a(e) {
35
35
  return s && (n.fontSize = s, n.width = s, n.height = s), $.createElement(
36
36
  g,
37
37
  {
38
- className: c ? `nut-icon__img ${o || ""} ` : `${d} nut-icon ${f}-${t} ${o || ""}`,
38
+ className: c ? `nut-icon__img ${o || ""} ` : `${p} nut-icon ${f}-${t} ${o || ""}`,
39
39
  style: {
40
40
  color: m,
41
41
  ...n,
42
- ...N
42
+ ...d
43
43
  },
44
44
  ...h,
45
45
  onClick: C,
46
46
  ...k()
47
47
  },
48
- p
48
+ N
49
49
  );
50
50
  }
51
51
  a.defaultProps = r;
52
- a.displayName = "NutIcondshop";
52
+ a.displayName = "NutIconarrow-8";
53
53
  export {
54
54
  a as default
55
55
  };
@@ -1,6 +1,6 @@
1
1
  import $ from "react";
2
2
  const r = {
3
- name: "shop3",
3
+ name: "arrow-left",
4
4
  size: "",
5
5
  classPrefix: "nut-icon",
6
6
  fontClassName: "nutui-iconfont",
@@ -20,12 +20,12 @@ function a(e) {
20
20
  classPrefix: f,
21
21
  color: m,
22
22
  tag: u,
23
- children: p,
23
+ children: N,
24
24
  className: o,
25
- fontClassName: N,
26
- style: h,
25
+ fontClassName: p,
26
+ style: d,
27
27
  onClick: i,
28
- ...d
28
+ ...h
29
29
  } = {
30
30
  ...r,
31
31
  ...e
@@ -35,21 +35,21 @@ function a(e) {
35
35
  return s && (n.fontSize = s, n.width = s, n.height = s), $.createElement(
36
36
  g,
37
37
  {
38
- className: c ? `nut-icon__img ${o || ""} ` : `${N} nut-icon ${f}-${t} ${o || ""}`,
38
+ className: c ? `nut-icon__img ${o || ""} ` : `${p} nut-icon ${f}-${t} ${o || ""}`,
39
39
  style: {
40
40
  color: m,
41
41
  ...n,
42
- ...h
42
+ ...d
43
43
  },
44
- ...d,
44
+ ...h,
45
45
  onClick: C,
46
46
  ...k()
47
47
  },
48
- p
48
+ N
49
49
  );
50
50
  }
51
51
  a.defaultProps = r;
52
- a.displayName = "NutIconshop3";
52
+ a.displayName = "NutIconarrow-left";
53
53
  export {
54
54
  a as default
55
55
  };
@@ -1,6 +1,6 @@
1
1
  import $ from "react";
2
2
  const r = {
3
- name: "Check",
3
+ name: "check",
4
4
  size: "",
5
5
  classPrefix: "nut-icon",
6
6
  fontClassName: "nutui-iconfont",
@@ -29,11 +29,11 @@ function a(e) {
29
29
  } = {
30
30
  ...r,
31
31
  ...e
32
- }, s = t ? t.indexOf("/") !== -1 : !1, C = s ? "img" : u, k = (x) => {
32
+ }, s = t ? t.indexOf("/") !== -1 : !1, k = s ? "img" : u, g = (x) => {
33
33
  o && o(x);
34
- }, g = () => s ? { src: t } : {}, n = {}, c = y(l);
34
+ }, C = () => s ? { src: t } : {}, n = {}, c = y(l);
35
35
  return c && (n.fontSize = c, n.width = c, n.height = c), $.createElement(
36
- C,
36
+ k,
37
37
  {
38
38
  className: s ? `nut-icon__img ${i || ""} ` : `${h} nut-icon ${f}-${t} ${i || ""}`,
39
39
  style: {
@@ -42,14 +42,14 @@ function a(e) {
42
42
  ...p
43
43
  },
44
44
  ...d,
45
- onClick: k,
46
- ...g()
45
+ onClick: g,
46
+ ...C()
47
47
  },
48
48
  N
49
49
  );
50
50
  }
51
51
  a.defaultProps = r;
52
- a.displayName = "NutIconCheck";
52
+ a.displayName = "NutIconcheck";
53
53
  export {
54
54
  a as default
55
55
  };
@@ -1,6 +1,6 @@
1
1
  import $ from "react";
2
2
  const a = {
3
- name: "location2",
3
+ name: "complaint",
4
4
  size: "",
5
5
  classPrefix: "nut-icon",
6
6
  fontClassName: "nutui-iconfont",
@@ -20,22 +20,22 @@ function r(t) {
20
20
  classPrefix: f,
21
21
  color: m,
22
22
  tag: u,
23
- children: N,
24
- className: s,
25
- fontClassName: p,
23
+ children: p,
24
+ className: i,
25
+ fontClassName: N,
26
26
  style: d,
27
- onClick: i,
27
+ onClick: o,
28
28
  ...h
29
29
  } = {
30
30
  ...a,
31
31
  ...t
32
- }, o = n ? n.indexOf("/") !== -1 : !1, g = o ? "img" : u, C = (x) => {
33
- i && i(x);
34
- }, k = () => o ? { src: n } : {}, e = {}, c = y(l);
32
+ }, s = n ? n.indexOf("/") !== -1 : !1, g = s ? "img" : u, C = (x) => {
33
+ o && o(x);
34
+ }, k = () => s ? { src: n } : {}, e = {}, c = y(l);
35
35
  return c && (e.fontSize = c, e.width = c, e.height = c), $.createElement(
36
36
  g,
37
37
  {
38
- className: o ? `nut-icon__img ${s || ""} ` : `${p} nut-icon ${f}-${n} ${s || ""}`,
38
+ className: s ? `nut-icon__img ${i || ""} ` : `${N} nut-icon ${f}-${n} ${i || ""}`,
39
39
  style: {
40
40
  color: m,
41
41
  ...e,
@@ -45,11 +45,11 @@ function r(t) {
45
45
  onClick: C,
46
46
  ...k()
47
47
  },
48
- N
48
+ p
49
49
  );
50
50
  }
51
51
  r.defaultProps = a;
52
- r.displayName = "NutIconlocation2";
52
+ r.displayName = "NutIconcomplaint";
53
53
  export {
54
54
  r as default
55
55
  };
@@ -1,6 +1,6 @@
1
1
  import $ from "react";
2
2
  const r = {
3
- name: "down-arrow",
3
+ name: "coupon",
4
4
  size: "",
5
5
  classPrefix: "nut-icon",
6
6
  fontClassName: "nutui-iconfont",
@@ -10,7 +10,7 @@ const r = {
10
10
  },
11
11
  className: ""
12
12
  };
13
- function w(n) {
13
+ function y(n) {
14
14
  return n === "" ? "" : Number.isNaN(Number(n)) ? String(n) : `${n}px`;
15
15
  }
16
16
  function a(n) {
@@ -18,38 +18,38 @@ function a(n) {
18
18
  name: e,
19
19
  size: l,
20
20
  classPrefix: f,
21
- color: m,
22
- tag: u,
23
- children: d,
24
- className: c,
21
+ color: u,
22
+ tag: m,
23
+ children: p,
24
+ className: s,
25
25
  fontClassName: N,
26
- style: p,
26
+ style: d,
27
27
  onClick: i,
28
28
  ...h
29
29
  } = {
30
30
  ...r,
31
31
  ...n
32
- }, s = e ? e.indexOf("/") !== -1 : !1, g = s ? "img" : u, C = (x) => {
32
+ }, o = e ? e.indexOf("/") !== -1 : !1, g = o ? "img" : m, C = (x) => {
33
33
  i && i(x);
34
- }, k = () => s ? { src: e } : {}, t = {}, o = w(l);
35
- return o && (t.fontSize = o, t.width = o, t.height = o), $.createElement(
34
+ }, k = () => o ? { src: e } : {}, t = {}, c = y(l);
35
+ return c && (t.fontSize = c, t.width = c, t.height = c), $.createElement(
36
36
  g,
37
37
  {
38
- className: s ? `nut-icon__img ${c || ""} ` : `${N} nut-icon ${f}-${e} ${c || ""}`,
38
+ className: o ? `nut-icon__img ${s || ""} ` : `${N} nut-icon ${f}-${e} ${s || ""}`,
39
39
  style: {
40
- color: m,
40
+ color: u,
41
41
  ...t,
42
- ...p
42
+ ...d
43
43
  },
44
44
  ...h,
45
45
  onClick: C,
46
46
  ...k()
47
47
  },
48
- d
48
+ p
49
49
  );
50
50
  }
51
51
  a.defaultProps = r;
52
- a.displayName = "NutIcondown-arrow";
52
+ a.displayName = "NutIconcoupon";
53
53
  export {
54
54
  a as default
55
55
  };
@@ -1,6 +1,6 @@
1
1
  import $ from "react";
2
2
  const r = {
3
- name: "left",
3
+ name: "filter",
4
4
  size: "",
5
5
  classPrefix: "nut-icon",
6
6
  fontClassName: "nutui-iconfont",
@@ -49,7 +49,7 @@ function a(e) {
49
49
  );
50
50
  }
51
51
  a.defaultProps = r;
52
- a.displayName = "NutIconleft";
52
+ a.displayName = "NutIconfilter";
53
53
  export {
54
54
  a as default
55
55
  };
@@ -1,6 +1,6 @@
1
1
  import $ from "react";
2
- const r = {
3
- name: "heart1",
2
+ const a = {
3
+ name: "health",
4
4
  size: "",
5
5
  classPrefix: "nut-icon",
6
6
  fontClassName: "nutui-iconfont",
@@ -13,21 +13,21 @@ const r = {
13
13
  function y(e) {
14
14
  return e === "" ? "" : Number.isNaN(Number(e)) ? String(e) : `${e}px`;
15
15
  }
16
- function a(e) {
16
+ function r(e) {
17
17
  const {
18
18
  name: t,
19
19
  size: l,
20
20
  classPrefix: f,
21
21
  color: m,
22
22
  tag: u,
23
- children: N,
23
+ children: h,
24
24
  className: i,
25
- fontClassName: h,
25
+ fontClassName: N,
26
26
  style: p,
27
27
  onClick: o,
28
28
  ...d
29
29
  } = {
30
- ...r,
30
+ ...a,
31
31
  ...e
32
32
  }, c = t ? t.indexOf("/") !== -1 : !1, g = c ? "img" : u, C = (x) => {
33
33
  o && o(x);
@@ -35,7 +35,7 @@ function a(e) {
35
35
  return s && (n.fontSize = s, n.width = s, n.height = s), $.createElement(
36
36
  g,
37
37
  {
38
- className: c ? `nut-icon__img ${i || ""} ` : `${h} nut-icon ${f}-${t} ${i || ""}`,
38
+ className: c ? `nut-icon__img ${i || ""} ` : `${N} nut-icon ${f}-${t} ${i || ""}`,
39
39
  style: {
40
40
  color: m,
41
41
  ...n,
@@ -45,11 +45,11 @@ function a(e) {
45
45
  onClick: C,
46
46
  ...k()
47
47
  },
48
- N
48
+ h
49
49
  );
50
50
  }
51
- a.defaultProps = r;
52
- a.displayName = "NutIconheart1";
51
+ r.defaultProps = a;
52
+ r.displayName = "NutIconhealth";
53
53
  export {
54
- a as default
54
+ r as default
55
55
  };
@@ -1,138 +1,121 @@
1
- const a = "nutui-icon", e = [
1
+ const e = "nutui-icon", a = [
2
2
  {
3
- name: "粗体 Icon",
4
- nameEn: "Bold Icon",
3
+ name: "v12 Icon",
4
+ nameEn: "v12 Icon",
5
5
  icons: [
6
- "order",
7
- "refresh",
8
6
  "add",
9
- "JD",
10
- "eye",
11
- "dshop",
12
- "my2",
13
- "star",
14
- "del2",
15
- "more-x",
16
- "comment",
17
- "microphone",
18
- "people",
19
- "service",
20
- "cart2",
21
- "location2",
22
- "marshalling",
23
- "fabulous",
24
- "s-follow",
25
- "shop",
26
- "jdl"
27
- ]
28
- },
29
- {
30
- name: "细体 Icon",
31
- nameEn: "Thin Icon",
32
- icons: [
33
- "ask",
34
- "tips",
35
- "notice",
36
- "lower",
37
- "top",
38
- "download",
39
- "dongdong",
40
- "JIMI40",
41
- "location",
42
- "scan",
43
7
  "addfollow",
44
- "search",
45
- "share",
46
- "follow",
8
+ "after-sale-service",
9
+ "arrow-6",
10
+ "arrow-8",
11
+ "arrow-down",
12
+ "arrow-down2",
13
+ "arrow-left",
14
+ "arrow-right",
15
+ "arrow-up",
16
+ "arrow-up2",
17
+ "ask",
18
+ "cart",
19
+ "category",
20
+ "check-checked",
21
+ "check-disabled",
22
+ "check-normal",
23
+ "check",
24
+ "checked",
25
+ "checklist",
26
+ "clock",
27
+ "close",
28
+ "comment",
29
+ "complaint",
30
+ "coupon",
31
+ "date",
47
32
  "del",
33
+ "dongdong",
34
+ "dou-arrow-up",
35
+ "download",
48
36
  "edit",
49
- "cart",
50
- "home",
37
+ "eye",
38
+ "fabulous",
39
+ "filter",
51
40
  "find",
52
- "category",
53
- "my",
41
+ "follow",
54
42
  "footprint",
43
+ "github",
44
+ "health",
45
+ "heart-fill",
46
+ "heart",
47
+ "home",
48
+ "horizontal",
49
+ "image",
50
+ "image-error",
51
+ "internation",
52
+ "jd",
53
+ "jdl",
54
+ "jimi40",
55
+ "jingdou",
56
+ "joy-smile",
55
57
  "link",
56
- "scan2",
57
- "left",
58
- "close",
59
- "locationg3",
60
- "share",
61
- "shop3",
58
+ "list",
59
+ "loading",
60
+ "loading1",
61
+ "location",
62
+ "logistics-error",
63
+ "lower",
64
+ "mail",
65
+ "marshalling",
66
+ "mask-close",
62
67
  "message",
63
- "ask2",
64
- "search2",
65
- "clock",
66
- "setting",
67
- "refresh2",
68
- "horizontal",
69
- "date",
68
+ "microphone",
69
+ "minus",
70
+ "more",
71
+ "my",
72
+ "network-error",
73
+ "no-receive",
74
+ "notice",
75
+ "order",
76
+ "orderlist",
77
+ "people",
78
+ "phone",
70
79
  "photograph",
71
- "more-s",
72
- "play-stop",
73
- "play-start",
80
+ "picked-up",
81
+ "play-circle-fill",
74
82
  "play-double-back",
75
83
  "play-double-forward",
76
- "voice",
77
- "image",
78
- "image-error"
79
- ]
80
- },
81
- {
82
- name: "应用图标",
83
- nameEn: "Application Icon",
84
- icons: [
85
- "arrow-up",
86
- "arrow-down",
87
- "arrow-up2",
88
- "arrow-down2",
89
- "down-arrow",
90
- "joy-smile",
91
- "close-little",
92
- "horizontal-n",
93
- "share-n",
94
- "heart1",
95
- "heart-fill",
96
- "star-n",
97
- "star-fill-n",
98
- "triangle-down",
99
- "triangle-up"
100
- ]
101
- },
102
- {
103
- name: "基础图标",
104
- nameEn: "Basic Icon",
105
- icons: [
106
- "rect-up",
107
- "rect-down",
108
- "rect-left",
109
- "rect-right",
110
- "uploader",
111
- "mask-close",
112
- "circle-close",
113
- "right",
114
- "arrow-right",
115
- "github",
116
- "screen-little",
84
+ "play-start",
85
+ "play-stop",
117
86
  "plus",
118
- "minus",
119
- "Check",
120
- "issue",
121
- "failure",
122
- "success",
123
- "retweet",
124
87
  "poweroff-circle-fill",
125
- "play-circle-fill",
126
- "checked",
127
- "checklist",
128
- "check-disabled",
129
- "check-normal",
130
- "check-checked",
131
- "loading",
132
- "loading1"
88
+ "processing",
89
+ "qr-code",
90
+ "received",
91
+ "refresh",
92
+ "refresh2",
93
+ "retweet",
94
+ "scan",
95
+ "screen-little",
96
+ "search",
97
+ "service",
98
+ "setting",
99
+ "share",
100
+ "shop",
101
+ "star",
102
+ "star-fill",
103
+ "success",
104
+ "tips",
105
+ "to-pay",
106
+ "to-receive",
107
+ "top",
108
+ "transit",
109
+ "triangle-down",
110
+ "triangle-up",
111
+ "uploader",
112
+ "voice",
113
+ "wait-receive",
114
+ "wallet",
115
+ "warning"
133
116
  ]
134
117
  }
135
- ], n = [
118
+ ], i = [
136
119
  {
137
120
  name: "通用动态样式",
138
121
  nameEn: "Universal Dynamic Style",
@@ -174,11 +157,11 @@ const a = "nutui-icon", e = [
174
157
  }
175
158
  ]
176
159
  }
177
- ], i = {
178
- name: a,
179
- data: e,
180
- style: n
160
+ ], n = {
161
+ name: e,
162
+ data: a,
163
+ style: i
181
164
  };
182
165
  export {
183
- i as config
166
+ n as config
184
167
  };