elementa-icons 1.0.2 → 1.3.0
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/icons/nav/ArrowDown.js +27 -0
- package/dist/icons/nav/ArrowUp.js +27 -0
- package/dist/index.esm.js +1 -0
- package/dist/index.js +11 -0
- package/dist/types/icons/nav/ArrowDown.d.ts +12 -0
- package/dist/types/icons/nav/ArrowUp.d.ts +12 -0
- package/dist/types/index.d.ts +12 -0
- package/package.json +2 -2
- package/src/index.ts +12 -0
- package/README.md +0 -0
- package/src/icons/nav/ArrowDown.tsx +0 -26
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// Import global from third party libraries.
|
|
3
|
+
// Import custom components.
|
|
4
|
+
// Import custom utilities.
|
|
5
|
+
// Import custom types.
|
|
6
|
+
// Import styles.
|
|
7
|
+
/**
|
|
8
|
+
* This function renders an SVG icon of an arrow pointing downwards.
|
|
9
|
+
*
|
|
10
|
+
* @version 1.0.0
|
|
11
|
+
* @author Aayush Goyal
|
|
12
|
+
* @created 2025-06-22
|
|
13
|
+
* @modifier
|
|
14
|
+
* @modified
|
|
15
|
+
* @since 1.1.0
|
|
16
|
+
*/
|
|
17
|
+
const ArrowDown = (props) => {
|
|
18
|
+
return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", xmlSpace: "preserve", style: {
|
|
19
|
+
fillRule: "evenodd",
|
|
20
|
+
clipRule: "evenodd",
|
|
21
|
+
strokeLinejoin: "round",
|
|
22
|
+
strokeMiterlimit: 2,
|
|
23
|
+
}, viewBox: "0 0 25 29", ...props, children: [_jsx("path", { d: "M278.127 405.694h24.487v28.348h-24.487z", style: {
|
|
24
|
+
fill: "none",
|
|
25
|
+
}, transform: "matrix(1.0005 0 0 1.00049 -278.151 -405.516)" }), _jsx("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" }), _jsx("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" })] }));
|
|
26
|
+
};
|
|
27
|
+
export default ArrowDown;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// Import global from third party libraries.
|
|
3
|
+
// Import custom components.
|
|
4
|
+
// Import custom utilities.
|
|
5
|
+
// Import custom types.
|
|
6
|
+
// Import styles.
|
|
7
|
+
/**
|
|
8
|
+
* This function renders an SVG icon of an arrow pointing downwards.
|
|
9
|
+
*
|
|
10
|
+
* @version 1.0.0
|
|
11
|
+
* @author Aayush Goyal
|
|
12
|
+
* @created 2025-06-22
|
|
13
|
+
* @modifier
|
|
14
|
+
* @modified
|
|
15
|
+
* @since 1.1.0
|
|
16
|
+
*/
|
|
17
|
+
const ArrowDown = (props) => {
|
|
18
|
+
return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", xmlSpace: "preserve", style: {
|
|
19
|
+
fillRule: "evenodd",
|
|
20
|
+
clipRule: "evenodd",
|
|
21
|
+
strokeLinejoin: "round",
|
|
22
|
+
strokeMiterlimit: 2,
|
|
23
|
+
}, viewBox: "0 0 26 29", ...props, children: [_jsx("path", { d: "M246.127 405.463h24.487v28.348h-24.487z", style: {
|
|
24
|
+
fill: "none",
|
|
25
|
+
}, transform: "matrix(1.00017 0 0 1.00024 -245.579 -405.18)" }), _jsx("path", { d: "M1.02 14.836s3.77-3.823 7.173-7.4c.826-.868 1.623-1.725 2.34-2.508.948-1.03 1.749-1.934 2.3-2.546l.004.003.005-.004c.983 1.065 2.746 3.022 4.654 5.043 3.388 3.588 7.158 7.412 7.158 7.412a.244.244 0 0 0 .367-.32s-3.258-4.267-6.337-8.124C16.95 4.22 15.26 2.201 14.343 1.078a1.988 1.988 0 0 0-3.012-.001c-.528.632-1.311 1.552-2.2 2.633-.673.82-1.411 1.729-2.155 2.67a648.25 648.25 0 0 0-6.322 8.136.244.244 0 0 0 .367.32Z" }), _jsx("path", { d: "M12.594 5.466s-.113 1.067-.26 2.763c-.1 1.15-.225 2.571-.325 4.144a91.07 91.07 0 0 0-.135 2.763 48.872 48.872 0 0 0-.036 1.842c0 .617.019 1.233.042 1.842a164.882 164.882 0 0 0 .349 5.526c.198 2.47.365 4.145.365 4.145a.243.243 0 0 0 .487 0s.166-1.674.364-4.145c.068-.844.137-1.773.2-2.763.056-.887.113-1.814.149-2.763a48.82 48.82 0 0 0 .043-1.842 51.077 51.077 0 0 0-.036-1.842 94.437 94.437 0 0 0-.135-2.763c-.1-1.573-.226-2.994-.326-4.144-.146-1.696-.26-2.763-.26-2.763a.243.243 0 0 0-.486 0Z" })] }));
|
|
26
|
+
};
|
|
27
|
+
export default ArrowDown;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsxs as e,jsx as t}from"react/jsx-runtime";const r=r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:2},viewBox:"0 0 25 29",...r,children:[t("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("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("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"})]});export{r as ArrowDown};
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
/**
|
|
3
|
+
* This file exports all the icons for the library.
|
|
4
|
+
*
|
|
5
|
+
* @version 1.0.0
|
|
6
|
+
* @author Aayush Goyal
|
|
7
|
+
* @created 2025-06-22
|
|
8
|
+
* @modifier
|
|
9
|
+
* @modified
|
|
10
|
+
* @since 1.1.0
|
|
11
|
+
*/
|
|
1
12
|
import ArrowDown from "./icons/nav/ArrowDown";
|
|
2
13
|
export { ArrowDown };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This function renders an SVG icon of an arrow pointing downwards.
|
|
3
|
+
*
|
|
4
|
+
* @version 1.0.0
|
|
5
|
+
* @author Aayush Goyal
|
|
6
|
+
* @created 2025-06-22
|
|
7
|
+
* @modifier
|
|
8
|
+
* @modified
|
|
9
|
+
* @since 1.1.0
|
|
10
|
+
*/
|
|
11
|
+
declare const ArrowDown: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default ArrowDown;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This function renders an SVG icon of an arrow pointing downwards.
|
|
3
|
+
*
|
|
4
|
+
* @version 1.0.0
|
|
5
|
+
* @author Aayush Goyal
|
|
6
|
+
* @created 2025-06-22
|
|
7
|
+
* @modifier
|
|
8
|
+
* @modified
|
|
9
|
+
* @since 1.1.0
|
|
10
|
+
*/
|
|
11
|
+
declare const ArrowDown: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default ArrowDown;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "elementa-icons",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Elementa icons library.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
|
-
"
|
|
19
|
+
"dist/**/*",
|
|
20
20
|
"src/index.ts",
|
|
21
21
|
"README.md",
|
|
22
22
|
"LICENSE"
|
package/src/index.ts
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This file exports all the icons for the library.
|
|
5
|
+
*
|
|
6
|
+
* @version 1.0.0
|
|
7
|
+
* @author Aayush Goyal
|
|
8
|
+
* @created 2025-06-22
|
|
9
|
+
* @modifier
|
|
10
|
+
* @modified
|
|
11
|
+
* @since 1.1.0
|
|
12
|
+
*/
|
|
1
13
|
import ArrowDown from "./icons/nav/ArrowDown";
|
|
2
14
|
|
|
3
15
|
export { ArrowDown };
|
package/README.md
DELETED
|
File without changes
|
|
@@ -1,26 +0,0 @@
|
|
|
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;
|