elementa-icons 1.0.0 → 1.0.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/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import ArrowDown from "./svg/nav/ArrowDown";
1
+ import ArrowDown from "./icons/nav/ArrowDown";
2
2
  export { ArrowDown };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elementa-icons",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Elementa icons library.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -16,8 +16,8 @@
16
16
  "access": "public"
17
17
  },
18
18
  "files": [
19
- "svg",
20
- "index.ts",
19
+ "src/icons/**/*",
20
+ "src/index.ts",
21
21
  "README.md",
22
22
  "LICENSE"
23
23
  ],
@@ -0,0 +1,26 @@
1
+ const ArrowDown = (props: any) => (
2
+ <svg
3
+ xmlns="http://www.w3.org/2000/svg"
4
+ xmlSpace="preserve"
5
+ style={{
6
+ fillRule: "evenodd",
7
+ clipRule: "evenodd",
8
+ strokeLinejoin: "round",
9
+ strokeMiterlimit: 2,
10
+ }}
11
+ viewBox="0 0 25 29"
12
+ {...props}
13
+ >
14
+ <path
15
+ d="M278.127 405.694h24.487v28.348h-24.487z"
16
+ style={{
17
+ fill: "none",
18
+ }}
19
+ transform="matrix(1.0005 0 0 1.00049 -278.151 -405.516)"
20
+ />
21
+ <path d="M24.185 14.28s-3.77 3.822-7.172 7.4c-.826.867-1.623 1.725-2.34 2.508-.948 1.03-1.749 1.934-2.3 2.545l-.004-.002-.005.003c-.983-1.064-2.746-3.022-4.654-5.042A552.286 552.286 0 0 0 .552 14.28a.244.244 0 0 0-.367.32s3.258 4.267 6.337 8.123c1.734 2.173 3.424 4.192 4.341 5.315a1.988 1.988 0 0 0 3.012 0c.528-.631 1.311-1.551 2.2-2.632.673-.821 1.411-1.73 2.155-2.67 3.066-3.868 6.322-8.136 6.322-8.136a.244.244 0 0 0-.367-.32Z" />
22
+ <path d="M12.612 23.65s.113-1.067.26-2.763c.1-1.15.225-2.572.325-4.144.057-.887.103-1.815.135-2.763.021-.61.038-1.225.036-1.842a51.027 51.027 0 0 0-.042-1.842 164.88 164.88 0 0 0-.349-5.526C12.78 2.3 12.612.625 12.612.625a.243.243 0 0 0-.487 0S11.96 2.3 11.761 4.77c-.068.844-.137 1.773-.2 2.763-.056.887-.113 1.814-.149 2.763a48.819 48.819 0 0 0-.043 1.842c0 .617.015 1.233.036 1.842.033.948.078 1.876.135 2.763.1 1.572.226 2.994.326 4.144.146 1.696.26 2.763.26 2.763a.243.243 0 0 0 .486 0Z" />
23
+ </svg>
24
+ )
25
+
26
+ export default ArrowDown;
package/src/index.ts ADDED
@@ -0,0 +1,3 @@
1
+ import ArrowDown from "./icons/nav/ArrowDown";
2
+
3
+ export { ArrowDown };
package/index.ts DELETED
@@ -1 +0,0 @@
1
- "use strict";function e(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}var t=e(require("react"));function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(null,arguments)}exports.ArrowDown=function(e){return t.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:2},viewBox:"0 0 25 29"},e),t.createElement("path",{d:"M278.127 405.694h24.487v28.348h-24.487z",style:{fill:"none"},transform:"matrix(1.0005 0 0 1.00049 -278.151 -405.516)"}),t.createElement("path",{d:"M24.185 14.28s-3.77 3.822-7.172 7.4c-.826.867-1.623 1.725-2.34 2.508-.948 1.03-1.749 1.934-2.3 2.545l-.004-.002-.005.003c-.983-1.064-2.746-3.022-4.654-5.042A552.286 552.286 0 0 0 .552 14.28a.244.244 0 0 0-.367.32s3.258 4.267 6.337 8.123c1.734 2.173 3.424 4.192 4.341 5.315a1.988 1.988 0 0 0 3.012 0c.528-.631 1.311-1.551 2.2-2.632.673-.821 1.411-1.73 2.155-2.67 3.066-3.868 6.322-8.136 6.322-8.136a.244.244 0 0 0-.367-.32Z"}),t.createElement("path",{d:"M12.612 23.65s.113-1.067.26-2.763c.1-1.15.225-2.572.325-4.144.057-.887.103-1.815.135-2.763.021-.61.038-1.225.036-1.842a51.027 51.027 0 0 0-.042-1.842 164.88 164.88 0 0 0-.349-5.526C12.78 2.3 12.612.625 12.612.625a.243.243 0 0 0-.487 0S11.96 2.3 11.761 4.77c-.068.844-.137 1.773-.2 2.763-.056.887-.113 1.814-.149 2.763a48.819 48.819 0 0 0-.043 1.842c0 .617.015 1.233.036 1.842.033.948.078 1.876.135 2.763.1 1.572.226 2.994.326 4.144.146 1.696.26 2.763.26 2.763a.243.243 0 0 0 .486 0Z"}))};