@akinon/icons 1.0.0 → 1.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.
@@ -72,6 +72,6 @@ export interface IcomoonProps extends IconProps {
72
72
  */
73
73
  iconSet: IconSet;
74
74
  }
75
- export declare const Icomoon: ({ iconSet, icon, size, title, disableFill, removeInlineStyle, SvgComponent, PathComponent, ...props }: IcomoonProps) => import("react").ReactElement<any, string | JSXElementConstructor<any>> | null;
75
+ export declare const Icomoon: ({ iconSet, icon, size, title, disableFill: disableFillProp, removeInlineStyle, SvgComponent, PathComponent, color, ...props }: IcomoonProps) => import("react").ReactElement<any, string | JSXElementConstructor<any>> | null;
76
76
  export {};
77
77
  //# sourceMappingURL=icomoon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"icomoon.d.ts","sourceRoot":"","sources":["../../src/icomoon.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,aAAa,EACb,qBAAqB,EACrB,QAAQ,EACT,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,KAAK,WAAW,GAAG;IACjB;;OAEG;IACH,UAAU,EAAE;QACV;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IAEF,IAAI,EAAE;QACJ;;WAEG;QACH,KAAK,EAAE,MAAM,EAAE,CAAC;QAEhB;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;QAEjB;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;KACzB,CAAC;CACH,CAAC;AAEF,KAAK,OAAO,GAAG;IACb;;OAEG;IACH,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,SAAU,SAAQ,QAAQ,CAAC,UAAU,CAAC;IACrD;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IAEf;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;OAEG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAAC,GAAG,CAAC,CAAC;IAE1C;;OAEG;IACH,aAAa,CAAC,EAAE,qBAAqB,CAAC,GAAG,CAAC,CAAC;IAE3C;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,MAAM,WAAW,YAAa,SAAQ,SAAS;IAC7C;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,OAAO,0GAUjB,YAAY,kFAyCd,CAAC"}
1
+ {"version":3,"file":"icomoon.d.ts","sourceRoot":"","sources":["../../src/icomoon.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,aAAa,EACb,qBAAqB,EACrB,QAAQ,EACT,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,KAAK,WAAW,GAAG;IACjB;;OAEG;IACH,UAAU,EAAE;QACV;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IAEF,IAAI,EAAE;QACJ;;WAEG;QACH,KAAK,EAAE,MAAM,EAAE,CAAC;QAEhB;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;QAEjB;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;KACzB,CAAC;CACH,CAAC;AAEF,KAAK,OAAO,GAAG;IACb;;OAEG;IACH,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,SAAU,SAAQ,QAAQ,CAAC,UAAU,CAAC;IACrD;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IAEf;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;OAEG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAAC,GAAG,CAAC,CAAC;IAE1C;;OAEG;IACH,aAAa,CAAC,EAAE,qBAAqB,CAAC,GAAG,CAAC,CAAC;IAE3C;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,MAAM,WAAW,YAAa,SAAQ,SAAS;IAC7C;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB;AAmBD,eAAO,MAAM,OAAO,kIAWjB,YAAY,kFA8Cd,CAAC"}
@@ -14,19 +14,31 @@ Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.Icomoon = void 0;
15
15
  /* eslint-disable @typescript-eslint/no-explicit-any */
16
16
  const react_1 = require("react");
17
+ const NOT_CHANGE_COLOR_ICON_NAMES = ['exclude', 'loop'];
18
+ const getDisableFill = ({ icon, disableFillProp }) => {
19
+ switch (true) {
20
+ case NOT_CHANGE_COLOR_ICON_NAMES.includes(icon):
21
+ return false;
22
+ default:
23
+ return disableFillProp;
24
+ }
25
+ };
17
26
  const Icomoon = (_a) => {
18
- var { iconSet, icon, size = 24, title, disableFill, removeInlineStyle, SvgComponent, PathComponent } = _a, props = __rest(_a, ["iconSet", "icon", "size", "title", "disableFill", "removeInlineStyle", "SvgComponent", "PathComponent"]);
27
+ var { iconSet, icon, size = 24, title, disableFill: disableFillProp, removeInlineStyle, SvgComponent, PathComponent, color = 'currentColor' } = _a, props = __rest(_a, ["iconSet", "icon", "size", "title", "disableFill", "removeInlineStyle", "SvgComponent", "PathComponent", "color"]);
19
28
  if (!iconSet || !icon)
20
29
  return null;
21
30
  const currentIcon = iconSet.icons.find(item => item.properties.name === icon);
22
31
  if (!currentIcon)
23
32
  return null;
33
+ const disableFill = getDisableFill({ icon, disableFillProp });
34
+ const colorStyle = {
35
+ stroke: color,
36
+ fill: color
37
+ };
24
38
  const initialStyle = {
25
- display: 'inline-block',
26
- stroke: 'currentColor',
27
- fill: 'currentColor'
39
+ display: 'inline-block'
28
40
  };
29
- const computedStyle = Object.assign(Object.assign(Object.assign({}, (removeInlineStyle ? {} : initialStyle)), (size ? { width: size, height: size } : {})), (props.style || {}));
41
+ const computedStyle = Object.assign(Object.assign(Object.assign(Object.assign({}, (removeInlineStyle ? {} : initialStyle)), (size ? { width: size, height: size } : {})), colorStyle), (props.style || {}));
30
42
  const { width = '1024' } = currentIcon.icon;
31
43
  const viewBox = `0 0 ${width} 1024`;
32
44
  const children = currentIcon.icon.paths.map((path, index) => {
@@ -271,7 +271,7 @@
271
271
  "paths": [
272
272
  "M73.131 512c-0.969 19.443-16.969 34.841-36.565 34.841s-35.597-15.398-36.562-34.755l-0.003-0.086c0-282.283 229.717-512 512-512 140.715 0 270.933 56.064 365.739 152.661v-116.053c0.969-19.443 16.969-34.841 36.565-34.841s35.597 15.398 36.562 34.755l0.003 0.086v219.392c0 20.218-16.39 36.608-36.608 36.608h-219.392c-20.218 0-36.608-16.39-36.608-36.608s16.39-36.608 36.608-36.608l145.408-0c-80.378-89.927-196.717-146.266-326.214-146.266-0.725 0-1.451 0.002-2.175 0.005l0.112-0c-242.263 0.291-438.578 196.605-438.869 438.841l-0 0.029zM987.392 475.392c-20.181 0.049-36.523 16.42-36.523 36.608 0 0 0 0 0 0l-0-0c-0.291 242.263-196.605 438.578-438.841 438.869l-0.029 0c-0.613 0.003-1.338 0.005-2.063 0.005-129.497 0-245.836-56.339-325.842-145.843l-0.372-0.423h145.408c20.218 0 36.608-16.39 36.608-36.608s-16.39-36.608-36.608-36.608v0h-219.392c-20.218-0-36.608 16.39-36.608 36.608l0 0v219.392c0.969 19.443 16.969 34.841 36.565 34.841s35.597-15.398 36.562-34.755l0.003-0.086v-116.053c92.637 94.255 221.483 152.664 363.971 152.664 0.621 0 1.243-0.001 1.864-0.003l-0.096 0c282.283 0 512-229.717 512-512 0-20.218-16.39-36.608-36.608-36.608v0z"
273
273
  ],
274
- "attrs": [{ "fill": "rgb(255, 255, 255)" }],
274
+ "attrs": [],
275
275
  "isMulticolor": false,
276
276
  "isMulticolor2": false,
277
277
  "colorPermutations": {
@@ -285,7 +285,7 @@
285
285
  "tags": ["refresh"],
286
286
  "grid": 0
287
287
  },
288
- "attrs": [{ "fill": "rgb(255, 255, 255)" }],
288
+ "attrs": [],
289
289
  "properties": {
290
290
  "order": 3554,
291
291
  "id": 7,
@@ -1282,10 +1282,7 @@
1282
1282
  "M456.64 795.68c6.912 6.912 20.768 13.824 34.592 13.824s20.768-6.912 34.592-13.824l235.232-235.232c20.768-20.768 20.768-48.448 0-62.272s-48.448-20.768-62.272 0l-172.96 159.136v-615.776c0-20.768-13.824-41.504-41.504-41.504s-41.504 20.768-41.504 41.504v615.776l-166.048-159.136c-20.768-20.768-48.448-20.768-62.272 0s-20.768 48.448 0 62.272l242.176 235.232z",
1283
1283
  "M940.96 934.048h-899.456c-27.68 0-41.504 20.768-41.504 48.448s20.768 48.416 41.504 48.416h899.456c27.68 0 48.448-20.768 48.448-48.448s-20.768-48.448-48.448-48.448z"
1284
1284
  ],
1285
- "attrs": [
1286
- { "fill": "rgb(113, 122, 142)" },
1287
- { "fill": "rgb(113, 122, 142)" }
1288
- ],
1285
+ "attrs": [],
1289
1286
  "isMulticolor": false,
1290
1287
  "isMulticolor2": false,
1291
1288
  "colorPermutations": {
@@ -1300,10 +1297,7 @@
1300
1297
  "grid": 0,
1301
1298
  "width": 992
1302
1299
  },
1303
- "attrs": [
1304
- { "fill": "rgb(113, 122, 142)" },
1305
- { "fill": "rgb(113, 122, 142)" }
1306
- ],
1300
+ "attrs": [],
1307
1301
  "properties": {
1308
1302
  "id": 40,
1309
1303
  "order": 3587,
@@ -1794,11 +1788,7 @@
1794
1788
  "M536.768 323.904c29.6 0 53.664-23.424 53.664-52.256s-24.096-52.256-53.664-52.256c-29.6 0-53.664 23.424-53.664 52.256s24.064 52.256 53.664 52.256z",
1795
1789
  "M653.984 693.504l-68.928-0.064v-279.456l-0.064-2.016c-1.056-19.264-17.472-34.56-37.504-34.56l-87.936 0.064c-19.808 1.056-35.52 16.992-35.52 36.512l0.064 2.016c1.056 19.264 17.472 34.56 37.504 34.56h48.288v242.912l-70.56 0.064c-19.776 1.056-35.52 16.992-35.52 36.512 0 20.192 16.832 36.576 37.568 36.576l212.576-0.064c46.976-2.208 46.976-70.816 0-73.024z"
1796
1790
  ],
1797
- "attrs": [
1798
- { "fill": "rgb(251, 237, 190)" },
1799
- { "fill": "rgb(251, 237, 190)" },
1800
- { "fill": "rgb(251, 237, 190)" }
1801
- ],
1791
+ "attrs": [],
1802
1792
  "isMulticolor": false,
1803
1793
  "isMulticolor2": false,
1804
1794
  "colorPermutations": {
@@ -1814,11 +1804,7 @@
1814
1804
  "grid": 0,
1815
1805
  "width": 1088
1816
1806
  },
1817
- "attrs": [
1818
- { "fill": "rgb(251, 237, 190)" },
1819
- { "fill": "rgb(251, 237, 190)" },
1820
- { "fill": "rgb(251, 237, 190)" }
1821
- ],
1807
+ "attrs": [],
1822
1808
  "properties": {
1823
1809
  "id": 57,
1824
1810
  "order": 3604,
@@ -2835,12 +2821,7 @@
2835
2821
  "M389.728 634.272h-30.56c-30.56 0-45.856 22.912-45.856 45.856v99.328c0 30.56 22.912 45.856 45.856 45.856h30.56c30.56 0 45.856-22.912 45.856-45.856v-99.328c7.648-22.912-15.296-45.856-45.856-45.856v0zM359.168 794.752c-7.648 0-15.296-7.648-15.296-15.296v-99.328c0-7.648 7.648-15.296 15.296-15.296h30.56c7.648 0 15.296 7.648 15.296 15.296v99.328c0 7.648-7.648 15.296-15.296 15.296h-30.56z",
2836
2822
  "M588.416 634.272h-68.768c-30.56 0-45.856 22.912-45.856 45.856v99.328c0 30.56 22.912 45.856 45.856 45.856h68.768c7.648 0 15.296-7.648 15.296-15.296v-61.12c0-7.648-7.648-15.296-15.296-15.296h-30.56c-7.648 0-15.296 7.648-15.296 15.296s7.648 15.296 15.296 15.296h15.296v30.56h-53.504c-7.648 0-15.296-7.648-15.296-15.296v-99.328c0-7.648 7.648-15.296 15.296-15.296h68.768c7.648 0 15.296-7.648 15.296-15.296s-7.648-15.296-15.296-15.296v0z"
2837
2823
  ],
2838
- "attrs": [
2839
- { "fill": "rgb(113, 122, 142)" },
2840
- { "fill": "rgb(113, 122, 142)" },
2841
- { "fill": "rgb(113, 122, 142)" },
2842
- { "fill": "rgb(113, 122, 142)" }
2843
- ],
2824
+ "attrs": [],
2844
2825
  "isMulticolor": false,
2845
2826
  "isMulticolor2": false,
2846
2827
  "colorPermutations": {
@@ -2861,12 +2842,7 @@
2861
2842
  "grid": 0,
2862
2843
  "width": 768
2863
2844
  },
2864
- "attrs": [
2865
- { "fill": "rgb(113, 122, 142)" },
2866
- { "fill": "rgb(113, 122, 142)" },
2867
- { "fill": "rgb(113, 122, 142)" },
2868
- { "fill": "rgb(113, 122, 142)" }
2869
- ],
2845
+ "attrs": [],
2870
2846
  "properties": {
2871
2847
  "order": 3635,
2872
2848
  "id": 88,
@@ -5686,11 +5662,7 @@
5686
5662
  "M897.219 419.352c0 14.629 14.629 29.257 29.257 29.257s29.257-14.629 29.257-29.257c0-117.029-43.886-229.181-126.781-312.076-9.752-9.752-29.257-9.752-43.886 0-9.752 9.752-9.752 29.257 0 43.886 73.143 73.143 112.152 165.79 112.152 268.19z",
5687
5663
  "M102.4 448.61c14.629 0 29.257-14.629 29.257-29.257 0-102.4 39.010-199.924 112.152-268.19 9.752-9.752 9.752-29.257 0-43.886-9.752-9.752-29.257-9.752-43.886 0-82.895 87.771-126.781 195.048-126.781 312.076 0 19.505 14.629 29.257 29.257 29.257z"
5688
5664
  ],
5689
- "attrs": [
5690
- { "fill": "rgb(113, 122, 142)" },
5691
- { "fill": "rgb(113, 122, 142)" },
5692
- { "fill": "rgb(113, 122, 142)" }
5693
- ],
5665
+ "attrs": [],
5694
5666
  "isMulticolor": false,
5695
5667
  "isMulticolor2": false,
5696
5668
  "colorPermutations": {
@@ -5708,11 +5680,7 @@
5708
5680
  "tags": ["notification"],
5709
5681
  "grid": 0
5710
5682
  },
5711
- "attrs": [
5712
- { "fill": "rgb(113, 122, 142)" },
5713
- { "fill": "rgb(113, 122, 142)" },
5714
- { "fill": "rgb(113, 122, 142)" }
5715
- ],
5683
+ "attrs": [],
5716
5684
  "properties": {
5717
5685
  "order": 3688,
5718
5686
  "id": 141,
@@ -5810,12 +5778,7 @@
5810
5778
  "M761.983 415.264c-16.87 0-30.673-13.741-30.673-30.673s13.803-30.673 30.673-30.673h61.346c16.931 0 30.673-13.741 30.673-30.673s-13.741-30.673-30.673-30.673h-61.346c-50.733 0-92.018 41.286-92.018 92.018s41.286 92.018 92.018 92.018c16.87 0 30.673 13.741 30.673 30.673s-13.803 30.673-30.673 30.673h-61.346c-16.931 0-30.673 13.741-30.673 30.673s13.741 30.673 30.673 30.673h61.346c50.733 0 92.018-41.286 92.018-92.018s-41.286-92.018-92.018-92.018z",
5811
5779
  "M585.001 293.37c-14.171-3.19-28.158 3.374-34.476 16.134l-33.924 67.848-33.924-67.848c-6.319-12.76-20.367-19.324-34.476-16.134-13.864 3.251-23.618 15.643-23.618 29.875v245.382c0 16.931 13.741 30.673 30.673 30.673s30.673-13.741 30.673-30.673v-115.452l3.251 6.441c10.429 20.796 44.476 20.796 54.904 0l3.19-6.441v115.452c0 16.931 13.741 30.673 30.673 30.673s30.673-13.741 30.673-30.673v-245.382c0-14.232-9.754-26.624-23.618-29.875z"
5812
5780
  ],
5813
- "attrs": [
5814
- { "fill": "rgb(255, 255, 255)" },
5815
- { "fill": "rgb(255, 255, 255)" },
5816
- { "fill": "rgb(255, 255, 255)" },
5817
- { "fill": "rgb(255, 255, 255)" }
5818
- ],
5781
+ "attrs": [],
5819
5782
  "isMulticolor": false,
5820
5783
  "isMulticolor2": false,
5821
5784
  "colorPermutations": {
@@ -5835,12 +5798,7 @@
5835
5798
  "tags": ["sms"],
5836
5799
  "grid": 0
5837
5800
  },
5838
- "attrs": [
5839
- { "fill": "rgb(255, 255, 255)" },
5840
- { "fill": "rgb(255, 255, 255)" },
5841
- { "fill": "rgb(255, 255, 255)" },
5842
- { "fill": "rgb(255, 255, 255)" }
5843
- ],
5801
+ "attrs": [],
5844
5802
  "properties": {
5845
5803
  "order": 3691,
5846
5804
  "id": 144,
@@ -5907,13 +5865,7 @@
5907
5865
  "M334.147 382.653c10.779-21.558 5.389-53.895-16.168-70.063-10.779 0-26.947-5.389-37.726 0s-26.947 10.779-32.337 21.558c-64.674 107.789-64.674 242.526 0 355.705 10.779 16.168 26.947 26.947 43.116 26.947 10.779 0 16.168 0 26.947-5.389s21.558-16.168 21.558-32.337 0-26.947-5.389-37.726c-43.116-80.842-43.116-177.853 0-258.695z",
5908
5866
  "M873.095 123.958c-16.168-21.558-48.505-26.947-70.063-5.389-21.558 16.168-26.947 48.505-5.389 70.063 156.295 188.632 156.295 458.105 0 641.347-10.779 10.779-10.779 21.558-10.779 37.726 0 10.779 5.389 26.947 16.168 32.337s21.558 10.779 32.337 10.779c16.168 0 26.947-5.389 37.726-16.168 183.242-220.968 183.242-544.337 0-770.695z"
5909
5867
  ],
5910
- "attrs": [
5911
- { "fill": "rgb(255, 83, 101)" },
5912
- { "fill": "rgb(255, 83, 101)" },
5913
- { "fill": "rgb(255, 83, 101)" },
5914
- { "fill": "rgb(255, 83, 101)" },
5915
- { "fill": "rgb(255, 83, 101)" }
5916
- ],
5868
+ "attrs": [],
5917
5869
  "isMulticolor": false,
5918
5870
  "isMulticolor2": false,
5919
5871
  "colorPermutations": {
@@ -5935,13 +5887,7 @@
5935
5887
  "tags": ["live"],
5936
5888
  "grid": 0
5937
5889
  },
5938
- "attrs": [
5939
- { "fill": "rgb(255, 83, 101)" },
5940
- { "fill": "rgb(255, 83, 101)" },
5941
- { "fill": "rgb(255, 83, 101)" },
5942
- { "fill": "rgb(255, 83, 101)" },
5943
- { "fill": "rgb(255, 83, 101)" }
5944
- ],
5890
+ "attrs": [],
5945
5891
  "properties": {
5946
5892
  "order": 3693,
5947
5893
  "id": 146,
@@ -5958,7 +5904,7 @@
5958
5904
  "paths": [
5959
5905
  "M827.733 76.8h-42.667v-34.133c0-25.6-17.067-42.667-34.133-42.667-25.6 0-42.667 17.067-42.667 42.667v42.667h-392.533v-42.667c0-25.6-17.067-42.667-42.667-42.667s-34.133 17.067-34.133 42.667v42.667h-42.667c-110.933-8.533-196.267 85.333-196.267 187.733v546.133c0 119.467 85.333 204.8 196.267 204.8h631.467c110.933 0 196.267-85.333 196.267-196.267v-554.667c0-102.4-85.333-196.267-196.267-196.267v0zM196.267 162.133h34.133v76.8c8.533 17.067 25.6 34.133 42.667 34.133s42.667-17.067 42.667-34.133v-76.8h392.533v76.8c0 25.6 17.067 42.667 42.667 42.667 17.067-8.533 34.133-25.6 34.133-42.667v-76.8h34.133c68.267 0 119.467 51.2 119.467 119.467v34.133h-861.867v-42.667c0-59.733 59.733-110.933 119.467-110.933zM827.733 947.2h-631.467c-68.267 0-119.467-51.2-119.467-119.467v-435.2h861.867v435.2c8.533 59.733-51.2 119.467-110.933 119.467v0zM358.4 554.667c0 25.6-17.067 42.667-42.667 42.667h-76.8c-25.6 0-42.667-17.067-42.667-42.667s17.067-42.667 42.667-42.667h76.8c25.6 0 42.667 17.067 42.667 42.667zM827.733 554.667c0 25.6-17.067 42.667-42.667 42.667h-76.8c-25.6 0-42.667-17.067-42.667-42.667s25.6-42.667 42.667-42.667h76.8c25.6 0 42.667 17.067 42.667 42.667zM588.8 554.667c0 25.6-17.067 42.667-42.667 42.667h-76.8c-25.6 0-42.667-17.067-42.667-42.667s25.6-42.667 42.667-42.667h76.8c25.6 0 42.667 17.067 42.667 42.667zM358.4 785.067c0 25.6-17.067 42.667-42.667 42.667h-76.8c-25.6 0-42.667-17.067-42.667-42.667s17.067-42.667 42.667-42.667h76.8c25.6 8.533 42.667 25.6 42.667 42.667zM827.733 785.067c0 25.6-17.067 42.667-42.667 42.667h-76.8c-25.6 0-42.667-17.067-42.667-42.667s17.067-42.667 42.667-42.667h76.8c25.6 8.533 42.667 25.6 42.667 42.667zM588.8 785.067c0 25.6-17.067 42.667-42.667 42.667h-76.8c-25.6 0-42.667-17.067-42.667-42.667s17.067-42.667 42.667-42.667h76.8c25.6 8.533 42.667 25.6 42.667 42.667z"
5960
5906
  ],
5961
- "attrs": [{ "fill": "rgb(61, 69, 97)" }],
5907
+ "attrs": [],
5962
5908
  "isMulticolor": false,
5963
5909
  "isMulticolor2": false,
5964
5910
  "colorPermutations": {
@@ -5972,7 +5918,7 @@
5972
5918
  "tags": ["calendar"],
5973
5919
  "grid": 0
5974
5920
  },
5975
- "attrs": [{ "fill": "rgb(61, 69, 97)" }],
5921
+ "attrs": [],
5976
5922
  "properties": {
5977
5923
  "order": 3694,
5978
5924
  "id": 147,
@@ -6325,13 +6271,7 @@
6325
6271
  "M1087.015 15.754c-7.877-7.877-23.631-15.754-39.385-15.754-7.877 0-23.631 7.877-31.508 7.877-23.631 15.754-23.631 47.262-7.877 70.892 204.8 244.185 204.8 598.646 0 842.831-7.877 7.877-15.754 23.631-7.877 31.508 0 15.754 7.877 23.631 15.754 31.508s15.754 7.877 31.508 7.877v0c15.754 0 31.508-7.877 39.385-15.754 228.431-275.692 228.431-677.415 0-960.985z"
6326
6272
  ],
6327
6273
  "width": 1260,
6328
- "attrs": [
6329
- { "fill": "rgb(255, 255, 255)" },
6330
- { "fill": "rgb(255, 255, 255)" },
6331
- { "fill": "rgb(255, 255, 255)" },
6332
- { "fill": "rgb(255, 255, 255)" },
6333
- { "fill": "rgb(255, 255, 255)" }
6334
- ],
6274
+ "attrs": [],
6335
6275
  "isMulticolor": false,
6336
6276
  "isMulticolor2": false,
6337
6277
  "colorPermutations": {
@@ -6353,13 +6293,7 @@
6353
6293
  "tags": ["live commerce"],
6354
6294
  "grid": 0
6355
6295
  },
6356
- "attrs": [
6357
- { "fill": "rgb(255, 255, 255)" },
6358
- { "fill": "rgb(255, 255, 255)" },
6359
- { "fill": "rgb(255, 255, 255)" },
6360
- { "fill": "rgb(255, 255, 255)" },
6361
- { "fill": "rgb(255, 255, 255)" }
6362
- ],
6296
+ "attrs": [],
6363
6297
  "properties": {
6364
6298
  "order": 3704,
6365
6299
  "id": 157,
@@ -6376,7 +6310,7 @@
6376
6310
  "paths": [
6377
6311
  "M704 320v-320h-704v704h320v320h704v-704h-320zM320 640h-262.4v-582.4h582.4v262.4h-320v320zM499.2 640h-83.2l224-224v83.2l-140.8 140.8zM640 582.4v57.6h-57.6l57.6-57.6zM512 384h83.2l-211.2 211.2v-83.2l128-128zM384 428.8v-44.8h44.8l-44.8 44.8zM966.4 966.4h-582.4v-262.4h320v-320h262.4v582.4z"
6378
6312
  ],
6379
- "attrs": [{ "fill": "rgb(255, 255, 255)" }],
6313
+ "attrs": [],
6380
6314
  "isMulticolor": false,
6381
6315
  "isMulticolor2": false,
6382
6316
  "colorPermutations": {
@@ -6390,7 +6324,7 @@
6390
6324
  "tags": ["entagrator"],
6391
6325
  "grid": 0
6392
6326
  },
6393
- "attrs": [{ "fill": "rgb(255, 255, 255)" }],
6327
+ "attrs": [],
6394
6328
  "properties": {
6395
6329
  "order": 3705,
6396
6330
  "id": 158,
@@ -6561,11 +6495,7 @@
6561
6495
  "M244.622 443.733h-51.2c-17.067 0-28.444 11.378-28.444 22.756s11.378 28.444 28.444 28.444h51.2c17.067 0 28.444-11.378 28.444-28.444s-11.378-22.756-28.444-22.756z",
6562
6496
  "M654.222 420.978c-119.467 0-210.489 96.711-210.489 210.489s96.711 210.489 210.489 210.489c119.467 0 210.489-96.711 210.489-210.489 5.689-113.778-91.022-210.489-210.489-210.489zM682.667 477.867c39.822 5.689 73.956 28.444 96.711 56.889l-96.711 56.889v-113.778zM654.222 796.444c-85.333 0-159.289-73.956-159.289-159.289 0-79.644 56.889-142.222 130.844-159.289 0 28.444 0 153.6 0 159.289 0 22.756 22.756 34.133 39.822 22.756l136.533-79.644c5.689 17.067 11.378 34.133 11.378 56.889 5.689 85.333-68.267 159.289-159.289 159.289z"
6563
6497
  ],
6564
- "attrs": [
6565
- { "fill": "rgb(255, 255, 255)" },
6566
- { "fill": "rgb(255, 255, 255)" },
6567
- { "fill": "rgb(255, 255, 255)" }
6568
- ],
6498
+ "attrs": [],
6569
6499
  "isMulticolor": false,
6570
6500
  "isMulticolor2": false,
6571
6501
  "colorPermutations": {
@@ -6583,11 +6513,7 @@
6583
6513
  "tags": ["dashboard"],
6584
6514
  "grid": 0
6585
6515
  },
6586
- "attrs": [
6587
- { "fill": "rgb(255, 255, 255)" },
6588
- { "fill": "rgb(255, 255, 255)" },
6589
- { "fill": "rgb(255, 255, 255)" }
6590
- ],
6516
+ "attrs": [],
6591
6517
  "properties": {
6592
6518
  "order": 3709,
6593
6519
  "id": 162,
@@ -72,6 +72,6 @@ export interface IcomoonProps extends IconProps {
72
72
  */
73
73
  iconSet: IconSet;
74
74
  }
75
- export declare const Icomoon: ({ iconSet, icon, size, title, disableFill, removeInlineStyle, SvgComponent, PathComponent, ...props }: IcomoonProps) => import("react").ReactElement<any, string | JSXElementConstructor<any>> | null;
75
+ export declare const Icomoon: ({ iconSet, icon, size, title, disableFill: disableFillProp, removeInlineStyle, SvgComponent, PathComponent, color, ...props }: IcomoonProps) => import("react").ReactElement<any, string | JSXElementConstructor<any>> | null;
76
76
  export {};
77
77
  //# sourceMappingURL=icomoon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"icomoon.d.ts","sourceRoot":"","sources":["../../src/icomoon.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,aAAa,EACb,qBAAqB,EACrB,QAAQ,EACT,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,KAAK,WAAW,GAAG;IACjB;;OAEG;IACH,UAAU,EAAE;QACV;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IAEF,IAAI,EAAE;QACJ;;WAEG;QACH,KAAK,EAAE,MAAM,EAAE,CAAC;QAEhB;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;QAEjB;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;KACzB,CAAC;CACH,CAAC;AAEF,KAAK,OAAO,GAAG;IACb;;OAEG;IACH,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,SAAU,SAAQ,QAAQ,CAAC,UAAU,CAAC;IACrD;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IAEf;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;OAEG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAAC,GAAG,CAAC,CAAC;IAE1C;;OAEG;IACH,aAAa,CAAC,EAAE,qBAAqB,CAAC,GAAG,CAAC,CAAC;IAE3C;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,MAAM,WAAW,YAAa,SAAQ,SAAS;IAC7C;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,OAAO,0GAUjB,YAAY,kFAyCd,CAAC"}
1
+ {"version":3,"file":"icomoon.d.ts","sourceRoot":"","sources":["../../src/icomoon.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,aAAa,EACb,qBAAqB,EACrB,QAAQ,EACT,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,KAAK,WAAW,GAAG;IACjB;;OAEG;IACH,UAAU,EAAE;QACV;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IAEF,IAAI,EAAE;QACJ;;WAEG;QACH,KAAK,EAAE,MAAM,EAAE,CAAC;QAEhB;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;QAEjB;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;KACzB,CAAC;CACH,CAAC;AAEF,KAAK,OAAO,GAAG;IACb;;OAEG;IACH,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,SAAU,SAAQ,QAAQ,CAAC,UAAU,CAAC;IACrD;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IAEf;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;OAEG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAAC,GAAG,CAAC,CAAC;IAE1C;;OAEG;IACH,aAAa,CAAC,EAAE,qBAAqB,CAAC,GAAG,CAAC,CAAC;IAE3C;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,MAAM,WAAW,YAAa,SAAQ,SAAS;IAC7C;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB;AAmBD,eAAO,MAAM,OAAO,kIAWjB,YAAY,kFA8Cd,CAAC"}
@@ -11,19 +11,31 @@ var __rest = (this && this.__rest) || function (s, e) {
11
11
  };
12
12
  /* eslint-disable @typescript-eslint/no-explicit-any */
13
13
  import { createElement } from 'react';
14
+ const NOT_CHANGE_COLOR_ICON_NAMES = ['exclude', 'loop'];
15
+ const getDisableFill = ({ icon, disableFillProp }) => {
16
+ switch (true) {
17
+ case NOT_CHANGE_COLOR_ICON_NAMES.includes(icon):
18
+ return false;
19
+ default:
20
+ return disableFillProp;
21
+ }
22
+ };
14
23
  export const Icomoon = (_a) => {
15
- var { iconSet, icon, size = 24, title, disableFill, removeInlineStyle, SvgComponent, PathComponent } = _a, props = __rest(_a, ["iconSet", "icon", "size", "title", "disableFill", "removeInlineStyle", "SvgComponent", "PathComponent"]);
24
+ var { iconSet, icon, size = 24, title, disableFill: disableFillProp, removeInlineStyle, SvgComponent, PathComponent, color = 'currentColor' } = _a, props = __rest(_a, ["iconSet", "icon", "size", "title", "disableFill", "removeInlineStyle", "SvgComponent", "PathComponent", "color"]);
16
25
  if (!iconSet || !icon)
17
26
  return null;
18
27
  const currentIcon = iconSet.icons.find(item => item.properties.name === icon);
19
28
  if (!currentIcon)
20
29
  return null;
30
+ const disableFill = getDisableFill({ icon, disableFillProp });
31
+ const colorStyle = {
32
+ stroke: color,
33
+ fill: color
34
+ };
21
35
  const initialStyle = {
22
- display: 'inline-block',
23
- stroke: 'currentColor',
24
- fill: 'currentColor'
36
+ display: 'inline-block'
25
37
  };
26
- const computedStyle = Object.assign(Object.assign(Object.assign({}, (removeInlineStyle ? {} : initialStyle)), (size ? { width: size, height: size } : {})), (props.style || {}));
38
+ const computedStyle = Object.assign(Object.assign(Object.assign(Object.assign({}, (removeInlineStyle ? {} : initialStyle)), (size ? { width: size, height: size } : {})), colorStyle), (props.style || {}));
27
39
  const { width = '1024' } = currentIcon.icon;
28
40
  const viewBox = `0 0 ${width} 1024`;
29
41
  const children = currentIcon.icon.paths.map((path, index) => {
@@ -271,7 +271,7 @@
271
271
  "paths": [
272
272
  "M73.131 512c-0.969 19.443-16.969 34.841-36.565 34.841s-35.597-15.398-36.562-34.755l-0.003-0.086c0-282.283 229.717-512 512-512 140.715 0 270.933 56.064 365.739 152.661v-116.053c0.969-19.443 16.969-34.841 36.565-34.841s35.597 15.398 36.562 34.755l0.003 0.086v219.392c0 20.218-16.39 36.608-36.608 36.608h-219.392c-20.218 0-36.608-16.39-36.608-36.608s16.39-36.608 36.608-36.608l145.408-0c-80.378-89.927-196.717-146.266-326.214-146.266-0.725 0-1.451 0.002-2.175 0.005l0.112-0c-242.263 0.291-438.578 196.605-438.869 438.841l-0 0.029zM987.392 475.392c-20.181 0.049-36.523 16.42-36.523 36.608 0 0 0 0 0 0l-0-0c-0.291 242.263-196.605 438.578-438.841 438.869l-0.029 0c-0.613 0.003-1.338 0.005-2.063 0.005-129.497 0-245.836-56.339-325.842-145.843l-0.372-0.423h145.408c20.218 0 36.608-16.39 36.608-36.608s-16.39-36.608-36.608-36.608v0h-219.392c-20.218-0-36.608 16.39-36.608 36.608l0 0v219.392c0.969 19.443 16.969 34.841 36.565 34.841s35.597-15.398 36.562-34.755l0.003-0.086v-116.053c92.637 94.255 221.483 152.664 363.971 152.664 0.621 0 1.243-0.001 1.864-0.003l-0.096 0c282.283 0 512-229.717 512-512 0-20.218-16.39-36.608-36.608-36.608v0z"
273
273
  ],
274
- "attrs": [{ "fill": "rgb(255, 255, 255)" }],
274
+ "attrs": [],
275
275
  "isMulticolor": false,
276
276
  "isMulticolor2": false,
277
277
  "colorPermutations": {
@@ -285,7 +285,7 @@
285
285
  "tags": ["refresh"],
286
286
  "grid": 0
287
287
  },
288
- "attrs": [{ "fill": "rgb(255, 255, 255)" }],
288
+ "attrs": [],
289
289
  "properties": {
290
290
  "order": 3554,
291
291
  "id": 7,
@@ -1282,10 +1282,7 @@
1282
1282
  "M456.64 795.68c6.912 6.912 20.768 13.824 34.592 13.824s20.768-6.912 34.592-13.824l235.232-235.232c20.768-20.768 20.768-48.448 0-62.272s-48.448-20.768-62.272 0l-172.96 159.136v-615.776c0-20.768-13.824-41.504-41.504-41.504s-41.504 20.768-41.504 41.504v615.776l-166.048-159.136c-20.768-20.768-48.448-20.768-62.272 0s-20.768 48.448 0 62.272l242.176 235.232z",
1283
1283
  "M940.96 934.048h-899.456c-27.68 0-41.504 20.768-41.504 48.448s20.768 48.416 41.504 48.416h899.456c27.68 0 48.448-20.768 48.448-48.448s-20.768-48.448-48.448-48.448z"
1284
1284
  ],
1285
- "attrs": [
1286
- { "fill": "rgb(113, 122, 142)" },
1287
- { "fill": "rgb(113, 122, 142)" }
1288
- ],
1285
+ "attrs": [],
1289
1286
  "isMulticolor": false,
1290
1287
  "isMulticolor2": false,
1291
1288
  "colorPermutations": {
@@ -1300,10 +1297,7 @@
1300
1297
  "grid": 0,
1301
1298
  "width": 992
1302
1299
  },
1303
- "attrs": [
1304
- { "fill": "rgb(113, 122, 142)" },
1305
- { "fill": "rgb(113, 122, 142)" }
1306
- ],
1300
+ "attrs": [],
1307
1301
  "properties": {
1308
1302
  "id": 40,
1309
1303
  "order": 3587,
@@ -1794,11 +1788,7 @@
1794
1788
  "M536.768 323.904c29.6 0 53.664-23.424 53.664-52.256s-24.096-52.256-53.664-52.256c-29.6 0-53.664 23.424-53.664 52.256s24.064 52.256 53.664 52.256z",
1795
1789
  "M653.984 693.504l-68.928-0.064v-279.456l-0.064-2.016c-1.056-19.264-17.472-34.56-37.504-34.56l-87.936 0.064c-19.808 1.056-35.52 16.992-35.52 36.512l0.064 2.016c1.056 19.264 17.472 34.56 37.504 34.56h48.288v242.912l-70.56 0.064c-19.776 1.056-35.52 16.992-35.52 36.512 0 20.192 16.832 36.576 37.568 36.576l212.576-0.064c46.976-2.208 46.976-70.816 0-73.024z"
1796
1790
  ],
1797
- "attrs": [
1798
- { "fill": "rgb(251, 237, 190)" },
1799
- { "fill": "rgb(251, 237, 190)" },
1800
- { "fill": "rgb(251, 237, 190)" }
1801
- ],
1791
+ "attrs": [],
1802
1792
  "isMulticolor": false,
1803
1793
  "isMulticolor2": false,
1804
1794
  "colorPermutations": {
@@ -1814,11 +1804,7 @@
1814
1804
  "grid": 0,
1815
1805
  "width": 1088
1816
1806
  },
1817
- "attrs": [
1818
- { "fill": "rgb(251, 237, 190)" },
1819
- { "fill": "rgb(251, 237, 190)" },
1820
- { "fill": "rgb(251, 237, 190)" }
1821
- ],
1807
+ "attrs": [],
1822
1808
  "properties": {
1823
1809
  "id": 57,
1824
1810
  "order": 3604,
@@ -2835,12 +2821,7 @@
2835
2821
  "M389.728 634.272h-30.56c-30.56 0-45.856 22.912-45.856 45.856v99.328c0 30.56 22.912 45.856 45.856 45.856h30.56c30.56 0 45.856-22.912 45.856-45.856v-99.328c7.648-22.912-15.296-45.856-45.856-45.856v0zM359.168 794.752c-7.648 0-15.296-7.648-15.296-15.296v-99.328c0-7.648 7.648-15.296 15.296-15.296h30.56c7.648 0 15.296 7.648 15.296 15.296v99.328c0 7.648-7.648 15.296-15.296 15.296h-30.56z",
2836
2822
  "M588.416 634.272h-68.768c-30.56 0-45.856 22.912-45.856 45.856v99.328c0 30.56 22.912 45.856 45.856 45.856h68.768c7.648 0 15.296-7.648 15.296-15.296v-61.12c0-7.648-7.648-15.296-15.296-15.296h-30.56c-7.648 0-15.296 7.648-15.296 15.296s7.648 15.296 15.296 15.296h15.296v30.56h-53.504c-7.648 0-15.296-7.648-15.296-15.296v-99.328c0-7.648 7.648-15.296 15.296-15.296h68.768c7.648 0 15.296-7.648 15.296-15.296s-7.648-15.296-15.296-15.296v0z"
2837
2823
  ],
2838
- "attrs": [
2839
- { "fill": "rgb(113, 122, 142)" },
2840
- { "fill": "rgb(113, 122, 142)" },
2841
- { "fill": "rgb(113, 122, 142)" },
2842
- { "fill": "rgb(113, 122, 142)" }
2843
- ],
2824
+ "attrs": [],
2844
2825
  "isMulticolor": false,
2845
2826
  "isMulticolor2": false,
2846
2827
  "colorPermutations": {
@@ -2861,12 +2842,7 @@
2861
2842
  "grid": 0,
2862
2843
  "width": 768
2863
2844
  },
2864
- "attrs": [
2865
- { "fill": "rgb(113, 122, 142)" },
2866
- { "fill": "rgb(113, 122, 142)" },
2867
- { "fill": "rgb(113, 122, 142)" },
2868
- { "fill": "rgb(113, 122, 142)" }
2869
- ],
2845
+ "attrs": [],
2870
2846
  "properties": {
2871
2847
  "order": 3635,
2872
2848
  "id": 88,
@@ -5686,11 +5662,7 @@
5686
5662
  "M897.219 419.352c0 14.629 14.629 29.257 29.257 29.257s29.257-14.629 29.257-29.257c0-117.029-43.886-229.181-126.781-312.076-9.752-9.752-29.257-9.752-43.886 0-9.752 9.752-9.752 29.257 0 43.886 73.143 73.143 112.152 165.79 112.152 268.19z",
5687
5663
  "M102.4 448.61c14.629 0 29.257-14.629 29.257-29.257 0-102.4 39.010-199.924 112.152-268.19 9.752-9.752 9.752-29.257 0-43.886-9.752-9.752-29.257-9.752-43.886 0-82.895 87.771-126.781 195.048-126.781 312.076 0 19.505 14.629 29.257 29.257 29.257z"
5688
5664
  ],
5689
- "attrs": [
5690
- { "fill": "rgb(113, 122, 142)" },
5691
- { "fill": "rgb(113, 122, 142)" },
5692
- { "fill": "rgb(113, 122, 142)" }
5693
- ],
5665
+ "attrs": [],
5694
5666
  "isMulticolor": false,
5695
5667
  "isMulticolor2": false,
5696
5668
  "colorPermutations": {
@@ -5708,11 +5680,7 @@
5708
5680
  "tags": ["notification"],
5709
5681
  "grid": 0
5710
5682
  },
5711
- "attrs": [
5712
- { "fill": "rgb(113, 122, 142)" },
5713
- { "fill": "rgb(113, 122, 142)" },
5714
- { "fill": "rgb(113, 122, 142)" }
5715
- ],
5683
+ "attrs": [],
5716
5684
  "properties": {
5717
5685
  "order": 3688,
5718
5686
  "id": 141,
@@ -5810,12 +5778,7 @@
5810
5778
  "M761.983 415.264c-16.87 0-30.673-13.741-30.673-30.673s13.803-30.673 30.673-30.673h61.346c16.931 0 30.673-13.741 30.673-30.673s-13.741-30.673-30.673-30.673h-61.346c-50.733 0-92.018 41.286-92.018 92.018s41.286 92.018 92.018 92.018c16.87 0 30.673 13.741 30.673 30.673s-13.803 30.673-30.673 30.673h-61.346c-16.931 0-30.673 13.741-30.673 30.673s13.741 30.673 30.673 30.673h61.346c50.733 0 92.018-41.286 92.018-92.018s-41.286-92.018-92.018-92.018z",
5811
5779
  "M585.001 293.37c-14.171-3.19-28.158 3.374-34.476 16.134l-33.924 67.848-33.924-67.848c-6.319-12.76-20.367-19.324-34.476-16.134-13.864 3.251-23.618 15.643-23.618 29.875v245.382c0 16.931 13.741 30.673 30.673 30.673s30.673-13.741 30.673-30.673v-115.452l3.251 6.441c10.429 20.796 44.476 20.796 54.904 0l3.19-6.441v115.452c0 16.931 13.741 30.673 30.673 30.673s30.673-13.741 30.673-30.673v-245.382c0-14.232-9.754-26.624-23.618-29.875z"
5812
5780
  ],
5813
- "attrs": [
5814
- { "fill": "rgb(255, 255, 255)" },
5815
- { "fill": "rgb(255, 255, 255)" },
5816
- { "fill": "rgb(255, 255, 255)" },
5817
- { "fill": "rgb(255, 255, 255)" }
5818
- ],
5781
+ "attrs": [],
5819
5782
  "isMulticolor": false,
5820
5783
  "isMulticolor2": false,
5821
5784
  "colorPermutations": {
@@ -5835,12 +5798,7 @@
5835
5798
  "tags": ["sms"],
5836
5799
  "grid": 0
5837
5800
  },
5838
- "attrs": [
5839
- { "fill": "rgb(255, 255, 255)" },
5840
- { "fill": "rgb(255, 255, 255)" },
5841
- { "fill": "rgb(255, 255, 255)" },
5842
- { "fill": "rgb(255, 255, 255)" }
5843
- ],
5801
+ "attrs": [],
5844
5802
  "properties": {
5845
5803
  "order": 3691,
5846
5804
  "id": 144,
@@ -5907,13 +5865,7 @@
5907
5865
  "M334.147 382.653c10.779-21.558 5.389-53.895-16.168-70.063-10.779 0-26.947-5.389-37.726 0s-26.947 10.779-32.337 21.558c-64.674 107.789-64.674 242.526 0 355.705 10.779 16.168 26.947 26.947 43.116 26.947 10.779 0 16.168 0 26.947-5.389s21.558-16.168 21.558-32.337 0-26.947-5.389-37.726c-43.116-80.842-43.116-177.853 0-258.695z",
5908
5866
  "M873.095 123.958c-16.168-21.558-48.505-26.947-70.063-5.389-21.558 16.168-26.947 48.505-5.389 70.063 156.295 188.632 156.295 458.105 0 641.347-10.779 10.779-10.779 21.558-10.779 37.726 0 10.779 5.389 26.947 16.168 32.337s21.558 10.779 32.337 10.779c16.168 0 26.947-5.389 37.726-16.168 183.242-220.968 183.242-544.337 0-770.695z"
5909
5867
  ],
5910
- "attrs": [
5911
- { "fill": "rgb(255, 83, 101)" },
5912
- { "fill": "rgb(255, 83, 101)" },
5913
- { "fill": "rgb(255, 83, 101)" },
5914
- { "fill": "rgb(255, 83, 101)" },
5915
- { "fill": "rgb(255, 83, 101)" }
5916
- ],
5868
+ "attrs": [],
5917
5869
  "isMulticolor": false,
5918
5870
  "isMulticolor2": false,
5919
5871
  "colorPermutations": {
@@ -5935,13 +5887,7 @@
5935
5887
  "tags": ["live"],
5936
5888
  "grid": 0
5937
5889
  },
5938
- "attrs": [
5939
- { "fill": "rgb(255, 83, 101)" },
5940
- { "fill": "rgb(255, 83, 101)" },
5941
- { "fill": "rgb(255, 83, 101)" },
5942
- { "fill": "rgb(255, 83, 101)" },
5943
- { "fill": "rgb(255, 83, 101)" }
5944
- ],
5890
+ "attrs": [],
5945
5891
  "properties": {
5946
5892
  "order": 3693,
5947
5893
  "id": 146,
@@ -5958,7 +5904,7 @@
5958
5904
  "paths": [
5959
5905
  "M827.733 76.8h-42.667v-34.133c0-25.6-17.067-42.667-34.133-42.667-25.6 0-42.667 17.067-42.667 42.667v42.667h-392.533v-42.667c0-25.6-17.067-42.667-42.667-42.667s-34.133 17.067-34.133 42.667v42.667h-42.667c-110.933-8.533-196.267 85.333-196.267 187.733v546.133c0 119.467 85.333 204.8 196.267 204.8h631.467c110.933 0 196.267-85.333 196.267-196.267v-554.667c0-102.4-85.333-196.267-196.267-196.267v0zM196.267 162.133h34.133v76.8c8.533 17.067 25.6 34.133 42.667 34.133s42.667-17.067 42.667-34.133v-76.8h392.533v76.8c0 25.6 17.067 42.667 42.667 42.667 17.067-8.533 34.133-25.6 34.133-42.667v-76.8h34.133c68.267 0 119.467 51.2 119.467 119.467v34.133h-861.867v-42.667c0-59.733 59.733-110.933 119.467-110.933zM827.733 947.2h-631.467c-68.267 0-119.467-51.2-119.467-119.467v-435.2h861.867v435.2c8.533 59.733-51.2 119.467-110.933 119.467v0zM358.4 554.667c0 25.6-17.067 42.667-42.667 42.667h-76.8c-25.6 0-42.667-17.067-42.667-42.667s17.067-42.667 42.667-42.667h76.8c25.6 0 42.667 17.067 42.667 42.667zM827.733 554.667c0 25.6-17.067 42.667-42.667 42.667h-76.8c-25.6 0-42.667-17.067-42.667-42.667s25.6-42.667 42.667-42.667h76.8c25.6 0 42.667 17.067 42.667 42.667zM588.8 554.667c0 25.6-17.067 42.667-42.667 42.667h-76.8c-25.6 0-42.667-17.067-42.667-42.667s25.6-42.667 42.667-42.667h76.8c25.6 0 42.667 17.067 42.667 42.667zM358.4 785.067c0 25.6-17.067 42.667-42.667 42.667h-76.8c-25.6 0-42.667-17.067-42.667-42.667s17.067-42.667 42.667-42.667h76.8c25.6 8.533 42.667 25.6 42.667 42.667zM827.733 785.067c0 25.6-17.067 42.667-42.667 42.667h-76.8c-25.6 0-42.667-17.067-42.667-42.667s17.067-42.667 42.667-42.667h76.8c25.6 8.533 42.667 25.6 42.667 42.667zM588.8 785.067c0 25.6-17.067 42.667-42.667 42.667h-76.8c-25.6 0-42.667-17.067-42.667-42.667s17.067-42.667 42.667-42.667h76.8c25.6 8.533 42.667 25.6 42.667 42.667z"
5960
5906
  ],
5961
- "attrs": [{ "fill": "rgb(61, 69, 97)" }],
5907
+ "attrs": [],
5962
5908
  "isMulticolor": false,
5963
5909
  "isMulticolor2": false,
5964
5910
  "colorPermutations": {
@@ -5972,7 +5918,7 @@
5972
5918
  "tags": ["calendar"],
5973
5919
  "grid": 0
5974
5920
  },
5975
- "attrs": [{ "fill": "rgb(61, 69, 97)" }],
5921
+ "attrs": [],
5976
5922
  "properties": {
5977
5923
  "order": 3694,
5978
5924
  "id": 147,
@@ -6325,13 +6271,7 @@
6325
6271
  "M1087.015 15.754c-7.877-7.877-23.631-15.754-39.385-15.754-7.877 0-23.631 7.877-31.508 7.877-23.631 15.754-23.631 47.262-7.877 70.892 204.8 244.185 204.8 598.646 0 842.831-7.877 7.877-15.754 23.631-7.877 31.508 0 15.754 7.877 23.631 15.754 31.508s15.754 7.877 31.508 7.877v0c15.754 0 31.508-7.877 39.385-15.754 228.431-275.692 228.431-677.415 0-960.985z"
6326
6272
  ],
6327
6273
  "width": 1260,
6328
- "attrs": [
6329
- { "fill": "rgb(255, 255, 255)" },
6330
- { "fill": "rgb(255, 255, 255)" },
6331
- { "fill": "rgb(255, 255, 255)" },
6332
- { "fill": "rgb(255, 255, 255)" },
6333
- { "fill": "rgb(255, 255, 255)" }
6334
- ],
6274
+ "attrs": [],
6335
6275
  "isMulticolor": false,
6336
6276
  "isMulticolor2": false,
6337
6277
  "colorPermutations": {
@@ -6353,13 +6293,7 @@
6353
6293
  "tags": ["live commerce"],
6354
6294
  "grid": 0
6355
6295
  },
6356
- "attrs": [
6357
- { "fill": "rgb(255, 255, 255)" },
6358
- { "fill": "rgb(255, 255, 255)" },
6359
- { "fill": "rgb(255, 255, 255)" },
6360
- { "fill": "rgb(255, 255, 255)" },
6361
- { "fill": "rgb(255, 255, 255)" }
6362
- ],
6296
+ "attrs": [],
6363
6297
  "properties": {
6364
6298
  "order": 3704,
6365
6299
  "id": 157,
@@ -6376,7 +6310,7 @@
6376
6310
  "paths": [
6377
6311
  "M704 320v-320h-704v704h320v320h704v-704h-320zM320 640h-262.4v-582.4h582.4v262.4h-320v320zM499.2 640h-83.2l224-224v83.2l-140.8 140.8zM640 582.4v57.6h-57.6l57.6-57.6zM512 384h83.2l-211.2 211.2v-83.2l128-128zM384 428.8v-44.8h44.8l-44.8 44.8zM966.4 966.4h-582.4v-262.4h320v-320h262.4v582.4z"
6378
6312
  ],
6379
- "attrs": [{ "fill": "rgb(255, 255, 255)" }],
6313
+ "attrs": [],
6380
6314
  "isMulticolor": false,
6381
6315
  "isMulticolor2": false,
6382
6316
  "colorPermutations": {
@@ -6390,7 +6324,7 @@
6390
6324
  "tags": ["entagrator"],
6391
6325
  "grid": 0
6392
6326
  },
6393
- "attrs": [{ "fill": "rgb(255, 255, 255)" }],
6327
+ "attrs": [],
6394
6328
  "properties": {
6395
6329
  "order": 3705,
6396
6330
  "id": 158,
@@ -6561,11 +6495,7 @@
6561
6495
  "M244.622 443.733h-51.2c-17.067 0-28.444 11.378-28.444 22.756s11.378 28.444 28.444 28.444h51.2c17.067 0 28.444-11.378 28.444-28.444s-11.378-22.756-28.444-22.756z",
6562
6496
  "M654.222 420.978c-119.467 0-210.489 96.711-210.489 210.489s96.711 210.489 210.489 210.489c119.467 0 210.489-96.711 210.489-210.489 5.689-113.778-91.022-210.489-210.489-210.489zM682.667 477.867c39.822 5.689 73.956 28.444 96.711 56.889l-96.711 56.889v-113.778zM654.222 796.444c-85.333 0-159.289-73.956-159.289-159.289 0-79.644 56.889-142.222 130.844-159.289 0 28.444 0 153.6 0 159.289 0 22.756 22.756 34.133 39.822 22.756l136.533-79.644c5.689 17.067 11.378 34.133 11.378 56.889 5.689 85.333-68.267 159.289-159.289 159.289z"
6563
6497
  ],
6564
- "attrs": [
6565
- { "fill": "rgb(255, 255, 255)" },
6566
- { "fill": "rgb(255, 255, 255)" },
6567
- { "fill": "rgb(255, 255, 255)" }
6568
- ],
6498
+ "attrs": [],
6569
6499
  "isMulticolor": false,
6570
6500
  "isMulticolor2": false,
6571
6501
  "colorPermutations": {
@@ -6583,11 +6513,7 @@
6583
6513
  "tags": ["dashboard"],
6584
6514
  "grid": 0
6585
6515
  },
6586
- "attrs": [
6587
- { "fill": "rgb(255, 255, 255)" },
6588
- { "fill": "rgb(255, 255, 255)" },
6589
- { "fill": "rgb(255, 255, 255)" }
6590
- ],
6516
+ "attrs": [],
6591
6517
  "properties": {
6592
6518
  "order": 3709,
6593
6519
  "id": 162,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/icons",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/esm/index.js",
@@ -14,7 +14,7 @@
14
14
  "copyfiles": "^2.4.1",
15
15
  "rimraf": "^5.0.5",
16
16
  "typescript": "*",
17
- "@akinon/typescript-config": "1.0.0"
17
+ "@akinon/typescript-config": "1.0.1"
18
18
  },
19
19
  "peerDependencies": {
20
20
  "react": ">=18",