@nutui/icons-react-taro 3.0.1-beta.1 → 3.0.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 (128) hide show
  1. package/dist/es/icons/Add.js +6 -6
  2. package/dist/es/icons/AddToCart.js +6 -6
  3. package/dist/es/icons/AddToHome.js +6 -6
  4. package/dist/es/icons/ArrowDotLeft.js +6 -6
  5. package/dist/es/icons/ArrowDown.js +6 -6
  6. package/dist/es/icons/ArrowDownSize6.js +6 -6
  7. package/dist/es/icons/ArrowDownSmall.js +6 -6
  8. package/dist/es/icons/ArrowLeft.js +6 -6
  9. package/dist/es/icons/ArrowLeftSmall.js +6 -6
  10. package/dist/es/icons/ArrowRadius.js +10 -0
  11. package/dist/es/icons/ArrowRight.js +6 -6
  12. package/dist/es/icons/ArrowRightSize6.js +6 -6
  13. package/dist/es/icons/ArrowRightSmall.js +6 -6
  14. package/dist/es/icons/ArrowTransfer.js +6 -6
  15. package/dist/es/icons/ArrowUp.js +6 -6
  16. package/dist/es/icons/ArrowUpSize6.js +6 -6
  17. package/dist/es/icons/ArrowUpSmall.js +6 -6
  18. package/dist/es/icons/Ask.js +6 -6
  19. package/dist/es/icons/Backtop.js +6 -6
  20. package/dist/es/icons/Cart.js +6 -6
  21. package/dist/es/icons/Category.js +6 -6
  22. package/dist/es/icons/Check.js +6 -6
  23. package/dist/es/icons/CheckChecked.js +6 -6
  24. package/dist/es/icons/CheckClose.js +6 -6
  25. package/dist/es/icons/CheckDisabled.js +6 -6
  26. package/dist/es/icons/CheckNormal.js +6 -6
  27. package/dist/es/icons/Checked.js +6 -6
  28. package/dist/es/icons/Clock.js +6 -6
  29. package/dist/es/icons/Close.js +6 -6
  30. package/dist/es/icons/Comment.js +6 -6
  31. package/dist/es/icons/Coupon.js +6 -6
  32. package/dist/es/icons/Del.js +6 -6
  33. package/dist/es/icons/Dongdong.js +6 -6
  34. package/dist/es/icons/Edit.js +6 -6
  35. package/dist/es/icons/Eye.js +6 -6
  36. package/dist/es/icons/Fabulous.js +6 -6
  37. package/dist/es/icons/Failure.js +6 -6
  38. package/dist/es/icons/Feedback.js +6 -6
  39. package/dist/es/icons/Filter.js +6 -6
  40. package/dist/es/icons/FollowAdd.js +6 -6
  41. package/dist/es/icons/FollowAdded.js +6 -6
  42. package/dist/es/icons/Footprint.js +6 -6
  43. package/dist/es/icons/Health.js +6 -6
  44. package/dist/es/icons/Heart.js +6 -6
  45. package/dist/es/icons/HeartFill.js +6 -6
  46. package/dist/es/icons/Hi.js +6 -6
  47. package/dist/es/icons/Home.js +6 -6
  48. package/dist/es/icons/IconFont.js +48 -37
  49. package/dist/es/icons/IconFontConfig.js +11 -7
  50. package/dist/es/icons/IconHarmonyTemplate.js +140 -0
  51. package/dist/es/icons/Image.js +6 -6
  52. package/dist/es/icons/ImageError.js +6 -6
  53. package/dist/es/icons/Internation.js +6 -6
  54. package/dist/es/icons/Jd.js +6 -6
  55. package/dist/es/icons/Jingdou.js +6 -6
  56. package/dist/es/icons/Joy.js +6 -6
  57. package/dist/es/icons/JoySmile.js +6 -6
  58. package/dist/es/icons/Link.js +6 -6
  59. package/dist/es/icons/List.js +6 -6
  60. package/dist/es/icons/Loading.js +6 -6
  61. package/dist/es/icons/Loading1.js +6 -6
  62. package/dist/es/icons/Location.js +6 -6
  63. package/dist/es/icons/LogisticsError.js +6 -6
  64. package/dist/es/icons/Mail.js +6 -6
  65. package/dist/es/icons/Marshalling.js +6 -6
  66. package/dist/es/icons/MaskClose.js +6 -6
  67. package/dist/es/icons/Message.js +6 -6
  68. package/dist/es/icons/Microphone.js +6 -6
  69. package/dist/es/icons/Minus.js +6 -6
  70. package/dist/es/icons/More.js +6 -6
  71. package/dist/es/icons/NetworkError.js +6 -6
  72. package/dist/es/icons/NoReceive.js +6 -6
  73. package/dist/es/icons/Notice.js +6 -6
  74. package/dist/es/icons/Order.js +6 -6
  75. package/dist/es/icons/Phone.js +6 -6
  76. package/dist/es/icons/Photograph.js +6 -6
  77. package/dist/es/icons/PickedUp.js +6 -6
  78. package/dist/es/icons/PlayCircleFill.js +6 -6
  79. package/dist/es/icons/PlayDoubleBack.js +6 -6
  80. package/dist/es/icons/PlayDoubleForward.js +6 -6
  81. package/dist/es/icons/PlayStart.js +6 -6
  82. package/dist/es/icons/PlayStop.js +6 -6
  83. package/dist/es/icons/Plus.js +6 -6
  84. package/dist/es/icons/Processing.js +6 -6
  85. package/dist/es/icons/QrCode.js +6 -6
  86. package/dist/es/icons/Received.js +6 -6
  87. package/dist/es/icons/Refresh.js +6 -6
  88. package/dist/es/icons/Refund.js +6 -6
  89. package/dist/es/icons/Reload.js +6 -6
  90. package/dist/es/icons/Retweet.js +6 -6
  91. package/dist/es/icons/Save.js +6 -6
  92. package/dist/es/icons/Scan.js +6 -6
  93. package/dist/es/icons/Search.js +6 -6
  94. package/dist/es/icons/Service.js +6 -6
  95. package/dist/es/icons/Setting.js +6 -6
  96. package/dist/es/icons/Share.js +6 -6
  97. package/dist/es/icons/ShieldCheck.js +6 -6
  98. package/dist/es/icons/Star.js +6 -6
  99. package/dist/es/icons/StarFill.js +6 -6
  100. package/dist/es/icons/Store.js +6 -6
  101. package/dist/es/icons/Success.js +6 -6
  102. package/dist/es/icons/SvgConfig.js +2 -2
  103. package/dist/es/icons/Tips.js +6 -6
  104. package/dist/es/icons/ToPay.js +6 -6
  105. package/dist/es/icons/ToReceive.js +6 -6
  106. package/dist/es/icons/Top.js +6 -6
  107. package/dist/es/icons/Transit.js +6 -6
  108. package/dist/es/icons/TriangleDown.js +6 -6
  109. package/dist/es/icons/TriangleUp.js +6 -6
  110. package/dist/es/icons/User.js +6 -6
  111. package/dist/es/icons/UserAdd.js +6 -6
  112. package/dist/es/icons/Video.js +6 -6
  113. package/dist/es/icons/VolumeMax.js +6 -6
  114. package/dist/es/icons/VolumeMute.js +6 -6
  115. package/dist/es/icons/WaitReceive.js +6 -6
  116. package/dist/es/icons/Wallet.js +6 -6
  117. package/dist/es/icons/Warning.js +6 -6
  118. package/dist/es/icons/Zoom.js +6 -6
  119. package/dist/es/icons/configure.js +10 -7
  120. package/dist/es/icons/internal.js +3 -3
  121. package/dist/es/index.es.js +1 -0
  122. package/dist/iconfont.svg +1 -0
  123. package/dist/lib/index.umd.js +9 -9
  124. package/dist/style_iconfont.css +1 -1
  125. package/dist/types/icons-react-taro.mjs +739 -734
  126. package/dist/types/index.d.ts +2 -0
  127. package/package.json +1 -1
  128. package/dist/es/icons/IconHarmonyTemplate-141502a8.mjs +0 -99
@@ -1,10 +1,10 @@
1
- import M from "react";
2
- import { d as e, I as L, a as t } from "./IconHarmonyTemplate-141502a8.mjs";
1
+ import React from "react";
2
+ import { d as defaultProps, I as Icon, a as Icon2 } from "./IconHarmonyTemplate.js";
3
3
  import "./internal.js";
4
- const Y = (N) => {
5
- const j = { ...e, ...N };
6
- return /* @__PURE__ */ M.createElement(M.Fragment, null, process.env.TARO_ENV !== "jdharmony_cpp" ? /* @__PURE__ */ M.createElement(L, { ...j, name: j.name || "Zoom", svg64: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGZpbGw9IiMxYTFhMWEiIGQ9Ik04NzQuNjcgNDU4LjY3YzAgNS45NyA0LjY5IDEwLjY3IDEwLjY2IDEwLjY2SDkyOGM1Ljk3IDAgMTAuNjctNC42OSAxMC42Ny0xMC42NlYxMjhjMC0yMy40Ny0xOS4yLTQyLjY3LTQyLjY3LTQyLjY3SDU2NS4zM2MtNS45NyAwLTEwLjY3IDQuNjktMTAuNjYgMTAuNjd2NDIuNjdjMCA1Ljk3IDQuNjkgMTAuNjcgMTAuNjYgMTAuNjZoMzA5LjM0ek0xNDkuMzMgNTY1LjMzYzAtNS45Ny00LjY5LTEwLjY3LTEwLjY2LTEwLjY2SDk2Yy01Ljk3IDAtMTAuNjcgNC42OS0xMC42NyAxMC42NlY4OTZjMCAyMy40NyAxOS4yIDQyLjY3IDQyLjY3IDQyLjY3aDMzMC42N2M1Ljk3IDAgMTAuNjctNC42OSAxMC42Ni0xMC42N3YtNDIuNjdjMC01Ljk3LTQuNjktMTAuNjctMTAuNjYtMTAuNjZIMTQ5LjMzeiIvPjwvc3ZnPg==" }) : /* @__PURE__ */ M.createElement(t, { ...j, name: j.name || "Zoom", svgSrc: "https://storage.360buyimg.com/imgtools/10e35d36b1-189f07e0-bedd-11ef-a7a9-bf303daccccb.svg" }));
4
+ const IconSVG = (props) => {
5
+ const realProps = { ...defaultProps, ...props };
6
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, process.env.TARO_ENV !== "jdharmony_cpp" ? /* @__PURE__ */ React.createElement(Icon, { ...realProps, name: realProps.name || "Zoom", svg64: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGZpbGw9IiMxYTFhMWEiIGQ9Ik04NzQuNjcgNDU4LjY3YzAgNS45NyA0LjY5IDEwLjY3IDEwLjY2IDEwLjY2SDkyOGM1Ljk3IDAgMTAuNjctNC42OSAxMC42Ny0xMC42NlYxMjhjMC0yMy40Ny0xOS4yLTQyLjY3LTQyLjY3LTQyLjY3SDU2NS4zM2MtNS45NyAwLTEwLjY3IDQuNjktMTAuNjYgMTAuNjd2NDIuNjdjMCA1Ljk3IDQuNjkgMTAuNjcgMTAuNjYgMTAuNjZoMzA5LjM0ek0xNDkuMzMgNTY1LjMzYzAtNS45Ny00LjY5LTEwLjY3LTEwLjY2LTEwLjY2SDk2Yy01Ljk3IDAtMTAuNjcgNC42OS0xMC42NyAxMC42NlY4OTZjMCAyMy40NyAxOS4yIDQyLjY3IDQyLjY3IDQyLjY3aDMzMC42N2M1Ljk3IDAgMTAuNjctNC42OSAxMC42Ni0xMC42N3YtNDIuNjdjMC01Ljk3LTQuNjktMTAuNjctMTAuNjYtMTAuNjZIMTQ5LjMzeiIvPjwvc3ZnPg==" }) : /* @__PURE__ */ React.createElement(Icon2, { ...realProps, name: realProps.name || "Zoom", svgSrc: "https://storage.360buyimg.com/imgtools/10e35d36b1-189f07e0-bedd-11ef-a7a9-bf303daccccb.svg" }));
7
7
  };
8
8
  export {
9
- Y as default
9
+ IconSVG as default
10
10
  };
@@ -1,11 +1,14 @@
1
- import { globalConfig as r } from "./internal.js";
2
- function l(e) {
3
- if (typeof e == "object" && e !== null) {
4
- let o;
5
- for (o in e)
6
- e.hasOwnProperty(o) && e[o] !== void 0 && (r[o] = e[o]);
1
+ import { globalConfig } from "./internal.js";
2
+ function configure(config) {
3
+ if (typeof config === "object" && config !== null) {
4
+ let key;
5
+ for (key in config) {
6
+ if (config.hasOwnProperty(key) && config[key] !== void 0) {
7
+ globalConfig[key] = config[key];
8
+ }
9
+ }
7
10
  }
8
11
  }
9
12
  export {
10
- l as configure
13
+ configure
11
14
  };
@@ -1,9 +1,9 @@
1
- const n = {
2
- useSvg: !0,
1
+ const globalConfig = {
2
+ useSvg: true,
3
3
  classPrefix: "nut-icon",
4
4
  tag: "i",
5
5
  fontClassName: "nutui-iconfont"
6
6
  };
7
7
  export {
8
- n as globalConfig
8
+ globalConfig
9
9
  };
@@ -12,6 +12,7 @@ export { default as ArrowDownSmall } from "./icons/ArrowDownSmall.js";
12
12
  export { default as ArrowDown } from "./icons/ArrowDown.js";
13
13
  export { default as ArrowLeftSmall } from "./icons/ArrowLeftSmall.js";
14
14
  export { default as ArrowLeft } from "./icons/ArrowLeft.js";
15
+ export { default as ArrowRadius } from "./icons/ArrowRadius.js";
15
16
  export { default as ArrowRightSize6 } from "./icons/ArrowRightSize6.js";
16
17
  export { default as ArrowRightSmall } from "./icons/ArrowRightSmall.js";
17
18
  export { default as ArrowRight } from "./icons/ArrowRight.js";
package/dist/iconfont.svg CHANGED
@@ -61,6 +61,7 @@
61
61
  <glyph glyph-name="nut-icon-filter" unicode="&#xe555;" d="M135.04 746.67l293.76-358.83c12.37-15.15 19.2-34.35 19.2-54.19v-294.18l128-64v358.18c0 19.63 6.83 38.83 19.2 54.19l293.76 358.83h-753.92z m443.31-843.74l-170.67 85.34a42.67 42.67 0 0 0-23.68 38.18v307.2c0 4.91-1.71 9.6-4.91 13.66l-322.13 393.6c-22.83 27.95-2.99 69.76 33.07 69.76h843.94c36.05 0 55.89-41.81 33.07-69.76l-322.13-393.6c-3.2-3.84-4.91-8.53-4.91-13.66v-392.53c0-31.79-33.28-52.27-61.65-38.19z" horiz-adv-x="1024" vert-adv-y="1024" />
62
62
  <glyph glyph-name="nut-icon-follow-added" unicode="&#xf41c;" d="M512 799.96a306.6 306.6 0 0 1-40.58 37.12c-48.77 37.12-108.37 58.92-172.75 58.92-164.95 0-298.67-143.27-298.67-320 0-282.77 271.91-469.33 512-597.33 51.16 27.26 103.72 57.17 154.82 90.11l-46.32 46.38a2037.29 2037.29 0 0 0-108.5-63.75c-108.59 59.65-217.32 129.64-300.8 213.12-90.56 90.62-147.2 192.64-147.2 311.47 0 145.62 109.16 256 234.67 256 64.15 0 123.01-28.1 166.12-75.24l47.21-51.63 47.23 51.63c43.09 47.15 101.97 75.24 166.12 75.24 125.5 0 234.65-110.38 234.65-256a363.52 363.52 0 0 0-15.89-106.67l55.25-36.8a427.69 427.69 0 0 1 24.64 143.47c0 176.73-133.7 320-298.67 320-64.36 0-123.97-21.82-172.73-58.92a307.8 307.8 0 0 1-40.6-37.12z m504.49-490.07a10.67 10.67 0 0 1 0 15.08l-30.19 30.17a10.67 10.67 0 0 1-15.08 0l-204.8-204.95-116.27 116.39a10.67 10.67 0 0 1-15.08 0l-30.18-30.14a10.67 10.67 0 0 1 0-15.09l116.33-116.43h-0.03l45.23-45.25h0.04l45.25 45.23-0.02 0.02 204.8 204.97z" horiz-adv-x="1024" vert-adv-y="1024" />
63
63
  <glyph glyph-name="nut-icon-arrow-transfer" unicode="&#xe1cf;" d="M267.95 193.01999999999998l137.21-123.73a25.6 25.6 0 0 0 1.88-36.18l-34.3-37.97a25.6 25.6 0 0 0-36.19-1.88l-214.27 193.79a25.6 25.6 0 0 0-8.45 19.03v63.74a25.6 25.6 0 0 0 25.6 25.6h773.72a25.6 25.6 0 0 0 25.6-25.6v-51.2a25.6 25.6 0 0 0-25.6-25.6h-645.2z m670.38 324.01a25.6 25.6 0 0 0-25.6-25.6h-773.64a25.6 25.6 0 0 0-25.6 25.6v51.2a25.6 25.6 0 0 0 25.6 25.6h645.12l-137.21 123.74a25.6 25.6 0 0 0-1.88 36.09l34.39 38.15a25.6 25.6 0 0 0 36.1 1.88l214.18-192.26a25.6 25.6 0 0 0 8.54-19.03v-65.37z" horiz-adv-x="1024" vert-adv-y="1024" />
64
+ <glyph glyph-name="nut-icon-arrow-radius" unicode="&#xe5a9;" d="M416.38 852.99a128 128 0 0 0 191.24 0l416.38-468.99h-1024l416.38 468.99z" horiz-adv-x="1024" vert-adv-y="1024" />
64
65
  <glyph glyph-name="nut-icon-play-double-forward" unicode="&#xe3bb;" d="M917 647.8c11 0 20-9 20-20v-487.6c0-11-9-20-20-20s-20 9-20 20v487.6c0 11 9 20 20 20zM909.8 384.9l-423.4 244.4c-0.7 0.4-1.5-0.1-1.5-0.9v-488.9c0-0.8 0.8-1.3 1.5-0.9l423.4 244.5c0.7 0.4 0.7 1.4 0 1.8zM491.9 384.9l-423.4 244.4c-0.7 0.4-1.5-0.1-1.5-0.9v-488.9c0-0.8 0.8-1.3 1.5-0.9l423.4 244.5c0.7 0.4 0.7 1.4 0 1.8z" horiz-adv-x="1024" vert-adv-y="1024" />
65
66
  <glyph glyph-name="nut-icon-health" unicode="&#xe6be;" d="M554.67 768v-64h64v-85.33h-64v-64h-85.34v64h-64v85.33h64v64h85.34z m-200.84-578.22c29.27-29.29 81.49-54.02 137.46-60.24 57.71-6.4 125.01 6.36 178.88 60.24l-60.34 60.33c-31.45-31.45-70.83-40.02-109.12-35.75-40.02 4.44-73.15 22.38-86.54 35.75l-60.34-60.33zM85.33 768v-384c0-108.61 40.58-207.74 107.42-283.07-55.55-42.88-103.94-96.62-142.85-158.3-13.12-20.78-7.89-48.98 11.67-62.93 19.56-13.95 46.08-8.41 59.2 12.4 37.42 59.31 84.67 109.59 138.88 147.84a424.75 424.75 0 0 1 252.35-82.61 424.75 424.75 0 0 1 252.35 82.58c54.21-38.23 101.46-88.51 138.88-147.81 13.14-20.8 39.64-26.37 59.22-12.4 19.56 13.95 24.77 42.15 11.65 62.93-38.91 61.7-87.3 115.41-142.85 158.3a425.07 425.07 0 0 1 107.42 283.07v384a128 128 0 0 1-128 128h-597.34a128 128 0 0 1-128-128z m725.34 42.67a42.67 42.67 0 0 0 42.66-42.67v-256h-682.66v256a42.67 42.67 0 0 0 42.66 42.67h597.34z m42.66-426.67c0-188.52-152.81-341.33-341.33-341.33s-341.33 152.81-341.33 341.33v42.67h682.66v-42.67z" horiz-adv-x="1024" vert-adv-y="1024" />
66
67
  <glyph glyph-name="nut-icon-picked-up" unicode="&#xf3e8;" d="M512 128c7.17 0 14.29 0.21 21.33 0.64v-85.44a424.85 424.85 0 0 0-216.06 46.4c-80.51-40.34-155.2-97.98-192.32-190.78a42.67 42.67 0 0 0-79.23 31.7c40.6 101.48 115.05 167.38 191.36 212.52-92.82 78.29-151.74 195.41-151.75 326.29 0 14.4 0.7 28.63 2.12 42.67h-44.78a42.67 42.67 0 1 0 0 85.33h62.2c54.36 173.1 216.09 298.67 407.13 298.67 235.65 0 426.67-191.02 426.67-426.67 0-60.67-12.67-118.4-35.5-170.66h-95.51a339.78 339.78 0 0 1 45.67 170.66c0 14.44-0.9 28.69-2.64 42.67h-677.38a344.7 344.7 0 0 1-2.64-42.67c0-188.52 152.81-341.33 341.33-341.33z m-316.52 469.33h633.04c-50.65 125.1-173.27 213.33-316.52 213.34s-265.88-88.23-316.52-213.34zM354.5 321.16999999999996s-0.02 0.02 29.5 30.83c29.53 30.81 29.53 30.81 29.5 30.83l-0.04 0.04-0.04 0.04-0.04 0.04 0.12-0.12 1.18-1.05c1.13-1 3.03-2.6 5.54-4.61a191.57 191.57 0 0 1 22.06-14.93c19.29-11.22 43.78-20.91 69.72-20.91 25.94 0 50.43 9.69 69.72 20.91a191.57 191.57 0 0 1 27.6 19.54l1.18 1.05 0.12 0.12-0.04-0.04-0.04-0.04-0.02-0.04h-0.02s-0.02-0.02 29.5-30.83a6276.1 6276.1 0 0 0 29.5-30.83l-0.06-0.06-0.11-0.11-0.3-0.25a112.6 112.6 0 0 0-3.41-3.12 276.59 276.59 0 0 0-41.02-29.18c-26.67-15.47-66.18-32.45-112.6-32.45-46.44 0-85.95 16.98-112.58 32.43a276.59 276.59 0 0 0-32 21.71 223.68 223.68 0 0 0-12.45 10.61l-0.3 0.25-0.11 0.11-0.04 0.06h-0.02z m392.17-107.84a128 128 0 0 1-128-128v-85.33a128 128 0 0 1 128-128h149.33a128 128 0 0 1 128 128v85.33a128 128 0 0 1-128 128h-149.33z m149.33-85.33a42.67 42.67 0 0 0 42.67-42.67v-85.33a42.67 42.67 0 0 0-42.67-42.67h-149.33a42.67 42.67 0 0 0-42.67 42.67v85.33a42.67 42.67 0 0 0 42.67 42.67h149.33z" horiz-adv-x="1024" vert-adv-y="1024" />