@crewlethq/icons 0.2.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/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "@crewlethq/icons",
3
+ "version": "0.2.0",
4
+ "description": "Crewlet signature illustrated icons. SVGs in svg/ are compiled to typed React components.",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/crewlet/uilet.git",
9
+ "directory": "packages/icons"
10
+ },
11
+ "homepage": "https://github.com/crewlet/uilet/tree/main/packages/icons#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/crewlet/uilet/issues"
14
+ },
15
+ "type": "module",
16
+ "sideEffects": false,
17
+ "main": "./dist/index.js",
18
+ "module": "./dist/index.js",
19
+ "types": "./dist/index.d.ts",
20
+ "exports": {
21
+ ".": {
22
+ "types": "./dist/index.d.ts",
23
+ "import": "./dist/index.js"
24
+ },
25
+ "./svg/*": "./svg/*"
26
+ },
27
+ "files": [
28
+ "dist",
29
+ "svg",
30
+ "TRADEMARKS.md"
31
+ ],
32
+ "scripts": {
33
+ "build": "node scripts/build.mjs && tsup",
34
+ "dev": "node scripts/build.mjs && tsup --watch",
35
+ "lint": "node scripts/build.mjs && eslint src scripts",
36
+ "typecheck": "node scripts/build.mjs && tsc -p tsconfig.json --noEmit",
37
+ "clean": "rm -rf dist src/generated"
38
+ },
39
+ "peerDependencies": {
40
+ "react": ">=18"
41
+ },
42
+ "devDependencies": {
43
+ "@svgr/core": "^8.1.0",
44
+ "@svgr/plugin-jsx": "^8.1.0",
45
+ "@svgr/plugin-svgo": "^8.1.0",
46
+ "@types/react": "^19.0.0",
47
+ "react": "^19.2.3",
48
+ "tsup": "^8.3.5"
49
+ },
50
+ "publishConfig": {
51
+ "access": "public",
52
+ "registry": "https://registry.npmjs.org"
53
+ }
54
+ }
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round">
2
+ <circle cx="14" cy="11" r="4"/>
3
+ <path d="M7 25c0-2.76 3.13-5 7-5s7 2.24 7 5"/>
4
+ <circle cx="25" cy="9" r="4"/>
5
+ <path d="M23 7l4 4M27 7l-4 4"/>
6
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round">
2
+ <circle cx="14" cy="11" r="4"/>
3
+ <path d="M7 25c0-2.76 3.13-5 7-5s7 2.24 7 5"/>
4
+ <path d="M21 14l4-4M22.5 13.5l3.5-1M22 11.5l4 1.5"/>
5
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round">
2
+ <circle cx="16" cy="11" r="4"/>
3
+ <path d="M9 25c0-2.76 3.13-5 7-5s7 2.24 7 5"/>
4
+ <path d="M14 11h4"/>
5
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round">
2
+ <circle cx="14" cy="11" r="4"/>
3
+ <path d="M7 25c0-2.76 3.13-5 7-5s7 2.24 7 5"/>
4
+ <path d="M22 12a4 4 0 1 1-1.5-3.1"/>
5
+ <path d="M23.2 6l-.5 3.2-3.2-.5"/>
6
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round">
2
+ <circle cx="16" cy="9" r="3.5"/>
3
+ <path d="M11 14h10l-1 6h-8l-1-6Z"/>
4
+ <path d="M9 22.5C9 21.12 10.12 20 11.5 20h9c1.38 0 2.5 1.12 2.5 2.5V26H9v-3.5Z"/>
5
+ <path d="M5.5 23.5c0-.55.45-1 1-1H12v6H6.5a1 1 0 0 1-1-1v-4Z"/>
6
+ <path d="M26.5 23.5c0-.55-.45-1-1-1H20v6h5.5a1 1 0 0 0 1-1v-4Z"/>
7
+ <path d="M12 22.5v6M20 22.5v6"/>
8
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round">
2
+ <circle cx="14" cy="11" r="4"/>
3
+ <path d="M7 25c0-2.76 3.13-5 7-5s7 2.24 7 5"/>
4
+ <path d="M22 8l3 3 5-5"/>
5
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round">
2
+ <circle cx="13" cy="15" r="4"/>
3
+ <path d="M7 25c0-2.76 2.69-5 6-5s6 2.24 6 5"/>
4
+ <circle cx="22" cy="8" r="0.9"/>
5
+ <circle cx="25" cy="11" r="1.5"/>
6
+ <circle cx="22.5" cy="15.5" r="2.5"/>
7
+ <path d="M21.5 15.5h2"/>
8
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round">
2
+ <circle cx="16" cy="9" r="3.5"/>
3
+ <path d="M10 17a6 6 0 0 1 12 0v3H10v-3Z"/>
4
+ <rect x="6" y="20" width="20" height="6" rx="1"/>
5
+ <path d="M4 26h24"/>
6
+ <path d="M13 16h6"/>
7
+ </svg>
@@ -0,0 +1,16 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80" fill="none">
2
+ <defs>
3
+ <linearGradient id="codeGrad" x1="0%" y1="0%" x2="100%" y2="100%">
4
+ <stop offset="0%" style="stop-color:#6a5cff"/>
5
+ <stop offset="100%" style="stop-color:#a055ff"/>
6
+ </linearGradient>
7
+ </defs>
8
+ <circle cx="40" cy="40" r="40" fill="#111"/>
9
+ <!-- Code brackets -->
10
+ <path d="M28 28L18 40L28 52" stroke="url(#codeGrad)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
11
+ <path d="M52 28L62 40L52 52" stroke="url(#codeGrad)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
12
+ <!-- YAML-like lines -->
13
+ <line x1="34" y1="36" x2="46" y2="36" stroke="url(#codeGrad)" stroke-width="2" stroke-linecap="round" opacity="0.7"/>
14
+ <line x1="36" y1="42" x2="44" y2="42" stroke="url(#codeGrad)" stroke-width="2" stroke-linecap="round" opacity="0.5"/>
15
+ <line x1="34" y1="48" x2="46" y2="48" stroke="url(#codeGrad)" stroke-width="2" stroke-linecap="round" opacity="0.7"/>
16
+ </svg>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
3
+ <svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="1467px" height="978px" viewBox="0 0 1467 978" preserveAspectRatio="xMidYMid meet">
4
+ <g fill="#7c56ff">
5
+ <path d="M543.42 868.92 l-34.44 -0.24 0 -58.77 0 -58.77 -28.92 0 -28.80 0 -40.20 -39.61 c-119.78 -118.25 -181.49 -179.97 -204.30 -204.30 -15.87 -16.93 -82.75 -96.74 -92.51 -110.38 l-3.76 -5.17 26.80 -18.46 c14.69 -10.11 34.09 -23.51 43.14 -29.86 55.25 -38.32 70.29 -48.43 71.12 -47.49 0.47 0.47 11.64 13.87 24.69 29.74 13.17 15.87 27.98 33.62 32.80 39.50 4.94 5.88 21.63 26.10 37.15 44.90 15.52 18.81 28.56 34.21 29.15 34.21 0.47 0.12 0.82 -30.44 0.82 -67.83 l0 -68.06 37.26 -34.56 c43.38 -40.20 61.83 -57.13 75.11 -69 l9.52 -8.46 261.78 0 261.90 0 47.14 45.73 c25.98 25.16 52.43 51.02 58.66 57.36 l11.52 11.52 0.24 67.94 0.35 67.83 31.74 -40.79 c17.51 -22.33 34.91 -45.02 38.91 -50.19 15.16 -20.34 44.32 -57.72 45.14 -58.07 0.71 -0.24 104.97 75.82 126.83 92.51 2.23 1.65 4.58 3.41 5.17 3.76 1.65 1.18 -7.99 14.22 -46.08 62.07 -35.38 44.32 -49.84 61.13 -92.39 106.97 -19.28 20.81 -38.91 41.73 -148.70 157.40 l-34.68 36.56 -26.45 0.12 c-19.04 0 -26.92 0.35 -27.98 1.41 -1.06 1.06 -1.41 15.05 -1.41 55.72 l0 54.31 -34.91 0.47 c-19.28 0.24 -53.72 0.24 -76.41 0 l-41.49 -0.47 0 -55.72 0 -55.72 -99.33 0 -99.33 0 -0.24 56.19 -0.35 56.07 -39.97 0 c-21.98 0 -55.48 -0.12 -74.29 -0.35z m94.74 -13.87 l7.17 -0.82 0 -54.89 c0 -49.02 0.24 -55.13 1.88 -55.72 1.06 -0.35 51.84 -0.71 112.85 -0.71 l110.97 0 0 55.84 0 55.84 62.89 0 62.89 0 0 -55.84 0 -55.84 31.50 0 31.50 0 14.69 -14.93 c30.80 -31.50 113.20 -118.49 144.47 -152.58 48.66 -53.01 81.34 -90.28 104.85 -119.43 22.80 -28.45 44.43 -56.42 44.43 -57.48 0 -0.59 -2 -2.47 -4.35 -4.23 -2.47 -1.76 -7.05 -5.17 -10.34 -7.64 -3.17 -2.35 -16.93 -12.34 -30.56 -22.22 -13.52 -9.87 -33.50 -24.57 -44.43 -32.68 -16.34 -12.11 -19.98 -14.34 -21.39 -13.17 -0.94 0.82 -5.88 6.82 -10.81 13.40 -4.94 6.47 -13.99 18.46 -20.10 26.57 -6.23 8.11 -26.57 34.44 -45.37 58.54 -18.81 24.10 -36.56 47.02 -39.50 50.78 -5.29 7.05 -5.29 7.05 -11.40 7.05 l-6.23 0 0 -79.58 0 -79.58 -37.85 -37.03 c-20.92 -20.45 -45.14 -44.08 -53.95 -52.66 l-15.99 -15.63 -256.84 0 -256.73 0 -47.49 44.20 c-26.21 24.33 -51.13 47.49 -55.60 51.37 l-7.88 7.05 0 79.11 0 79.23 -6.35 0 -6.35 0 -48.66 -58.54 c-26.80 -32.09 -55.95 -67.24 -64.89 -78.17 -8.93 -10.81 -16.69 -19.63 -17.16 -19.63 -0.94 0 -8.58 5.17 -34.32 22.92 -34.21 23.74 -46.08 31.86 -62.65 43.26 -10.34 7.05 -19.28 13.28 -19.87 13.87 -0.59 0.47 2.35 5.05 6.47 10.11 13.87 16.93 53.13 63.12 66.77 78.40 21.86 24.57 83.81 87.69 145.41 148.23 31.62 31.03 68.65 67.36 82.28 80.76 l24.69 24.45 33.50 0.24 33.38 0.35 0.35 59.13 0.24 59.01 53.37 0 c29.27 0 56.54 -0.35 60.54 -0.71z"/>
6
+ <path d="M535.78 783.81 l-0.35 -59.13 -36.67 0 -36.67 0 -6.82 -6.47 c-48.78 -46.43 -176.91 -173.03 -210.41 -207.82 -24.69 -25.74 -75.70 -81.70 -93.69 -102.85 -3.29 -3.88 -5.29 -7.17 -4.70 -7.76 1.29 -1.06 58.30 -40.32 82.05 -56.42 l16.34 -11.05 3.64 4.47 c11.05 13.87 76.99 92.51 98.98 118.14 l25.74 29.97 15.63 0.35 15.52 0.35 0 -82.87 0 -82.75 50.55 -46.67 c27.86 -25.74 50.55 -47.14 50.55 -47.72 0 -0.59 46.78 -1.06 111.55 -1.06 l111.55 0 15.52 14.81 c15.28 14.58 15.52 14.69 17.98 12.58 1.29 -1.18 8.46 -7.76 15.75 -14.58 l13.40 -12.46 17.75 -0.71 c9.76 -0.47 58.77 -0.82 108.85 -0.82 l90.98 0 14.34 13.75 c7.76 7.64 24.57 23.86 37.15 36.20 12.58 12.34 29.15 28.45 36.67 35.85 l13.87 13.40 0.24 82.87 0.35 82.99 14.22 0.35 14.34 0.35 4.47 -5.64 c2.47 -3.06 11.52 -14.11 19.98 -24.45 8.46 -10.34 30.56 -38.32 49.14 -62.30 43.85 -56.42 46.20 -59.36 48.43 -59.36 2.12 0 4.82 1.88 47.96 33.27 43.02 31.27 45.37 33.03 45.37 34.09 0 0.82 -39.03 46.20 -62.42 72.53 -62.42 70.29 -106.50 117.67 -184.08 197.60 l-50.78 52.43 -13.28 0.71 c-7.29 0.47 -23.98 0.82 -37.03 0.82 l-23.86 0 0 57.01 0 57.01 -49.37 0 -49.37 0 0 -56.42 0 -56.42 -114.37 0 c-63.01 0 -120.13 0.35 -126.95 0.82 l-12.58 0.71 0 55.72 0 55.60 -47.61 0 -47.61 0 -0.24 -59.01z m443.16 -373.22 l-0.35 -119.66 -223.93 0.12 -223.93 0.12 -0.35 119.43 -0.24 119.55 224.52 0 224.52 0 -0.24 -119.55z"/>
7
+ <path d="M546.36 516.39 c-0.24 -0.59 -0.47 -4.94 -0.35 -9.76 0 -4.82 0.12 -52.54 0.35 -106.15 l0.24 -97.21 209.59 0.24 209.47 0.35 0.35 106.73 0.24 106.62 -209.71 0 c-115.43 0 -209.94 -0.35 -210.18 -0.82z m121.07 -100.50 l-0.35 -66.18 -34.32 -0.35 -34.44 -0.24 0 66.41 0 66.41 34.68 0 34.68 0 -0.24 -66.06z m260.96 0 l-0.35 -66.18 -34.09 0 -34.09 0 0 10.93 c0 5.88 0.12 35.62 0.35 66.06 l0.24 55.25 34.09 0 34.09 0 -0.24 -66.06z"/>
8
+ </g>
9
+ </svg>