@illuma-ai/icons 1.0.0 → 2.0.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/NOTICE +15 -7
- package/dist/files/FileIcon.d.ts +25 -1
- package/dist/files/icons.generated.d.ts +55 -128
- package/dist/files/index.d.ts +3 -2
- package/dist/files/resolve.d.ts +2 -1
- package/dist/files.cjs +1 -1
- package/dist/files.es.js +78 -108
- package/package.json +3 -4
- package/LICENSE-material-icon-theme +0 -8
package/NOTICE
CHANGED
|
@@ -5,14 +5,22 @@ This package includes third-party assets under permissive licenses.
|
|
|
5
5
|
|
|
6
6
|
File-type icons (src/files, dist/files.*)
|
|
7
7
|
------------------------------------------
|
|
8
|
-
The
|
|
9
|
-
(https://
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
The colored file-type icons (static SVG and animated GIF) are sourced from
|
|
9
|
+
Icons8 (https://icons8.com) — the "2025 color" Office/Fluent set and matching
|
|
10
|
+
language marks. Use of Icons8 assets is subject to the Icons8 license
|
|
11
|
+
(https://icons8.com/license); the free tier requires a visible backlink to
|
|
12
|
+
Icons8. Ensure the consuming application satisfies Icons8's attribution terms
|
|
13
|
+
or holds an Icons8 subscription.
|
|
12
14
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
Several of these icons depict Microsoft 365 application marks (Word, Excel,
|
|
16
|
+
PowerPoint, Outlook, OneDrive, SharePoint, Office). Those marks are Microsoft
|
|
17
|
+
Corporation's trademarks, used here only to denote the corresponding file/app
|
|
18
|
+
types. Microsoft is the sole owner; their use is subject to Microsoft's
|
|
19
|
+
Trademark & Brand Guidelines
|
|
20
|
+
(https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks).
|
|
21
|
+
|
|
22
|
+
The MIT license of @illuma-ai/icons covers this package's own code only, not the
|
|
23
|
+
third-party icon assets described above.
|
|
16
24
|
|
|
17
25
|
Animated navigation icons (src/animated, dist/animated.*)
|
|
18
26
|
---------------------------------------------------------
|
package/dist/files/FileIcon.d.ts
CHANGED
|
@@ -15,6 +15,30 @@ export interface FileIconProps extends Omit<SVGProps<SVGSVGElement>, 'children'>
|
|
|
15
15
|
/**
|
|
16
16
|
* Renders the curated colored file-type icon for a given file. The SVG markup is
|
|
17
17
|
* inlined (not an <img>) so it inherits color transitions and can be animated by
|
|
18
|
-
* the consumer. Falls back to a generic
|
|
18
|
+
* the consumer. Falls back to a generic Office mark for unknown types.
|
|
19
19
|
*/
|
|
20
20
|
export declare const FileIcon: import('react').ForwardRefExoticComponent<Omit<FileIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
21
|
+
export interface AnimatedFileIconProps {
|
|
22
|
+
/** Filename or bare extension used to resolve the icon. */
|
|
23
|
+
file?: string;
|
|
24
|
+
/** Optional MIME type fallback. */
|
|
25
|
+
mimeType?: string;
|
|
26
|
+
/** Pixel size for width and height. Defaults to 24. */
|
|
27
|
+
size?: number;
|
|
28
|
+
/**
|
|
29
|
+
* When true and an animated GIF exists for the resolved icon (e.g. python,
|
|
30
|
+
* javascript), shows the animated "working/coding" GIF. When false (or no GIF
|
|
31
|
+
* exists), shows the static colored icon. Toggling from true→false swaps the
|
|
32
|
+
* animation out for the final static icon — the "done" state.
|
|
33
|
+
*/
|
|
34
|
+
coding?: boolean;
|
|
35
|
+
className?: string;
|
|
36
|
+
}
|
|
37
|
+
/** True when an animated coding-state GIF exists for the file's resolved icon. */
|
|
38
|
+
export declare function hasCodingAnimation(file?: string, mimeType?: string): boolean;
|
|
39
|
+
/**
|
|
40
|
+
* File icon that animates while a coding/generation step is in progress, then
|
|
41
|
+
* settles to the static colored icon when done. Only python/javascript ship a
|
|
42
|
+
* GIF today; other types render the static icon regardless of `coding`.
|
|
43
|
+
*/
|
|
44
|
+
export declare function AnimatedFileIcon({ file, mimeType, size, coding, className, }: AnimatedFileIconProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,155 +6,82 @@ export interface FileIconData {
|
|
|
6
6
|
readonly viewBox: string;
|
|
7
7
|
}
|
|
8
8
|
export declare const FILE_ICONS: {
|
|
9
|
-
readonly audio: {
|
|
10
|
-
readonly inner: "<path fill=\"#ef5350\" d=\"M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m6 10h-4v8a4 4 0 1 1-4-4 3.96 3.96 0 0 1 2 .555V8h6Z\"/>";
|
|
11
|
-
readonly color: "#ef5350";
|
|
12
|
-
readonly viewBox: "0 0 32 32";
|
|
13
|
-
};
|
|
14
|
-
readonly console: {
|
|
15
|
-
readonly inner: "<path fill=\"#ff7043\" d=\"M2 2a1 1 0 0 0-1 1v10c0 .554.446 1 1 1h12c.554 0 1-.446 1-1V3a1 1 0 0 0-1-1zm0 3h12v8H2zm1 2 2 2-2 2 1 1 3-3-3-3zm5 3.5V12h5v-1.5z\"/>";
|
|
16
|
-
readonly color: "#ff7043";
|
|
17
|
-
readonly viewBox: "0 0 16 16";
|
|
18
|
-
};
|
|
19
|
-
readonly cpp: {
|
|
20
|
-
readonly inner: "<path fill=\"#0288d1\" d=\"M28 14v-4h-2v4h-6v-4h-2v4h-4v2h4v4h2v-4h6v4h2v-4h4v-2z\"/><path fill=\"#0288d1\" d=\"M13.563 22A5.57 5.57 0 0 1 8 16.437v-2.873A5.57 5.57 0 0 1 13.563 8H18V2h-4.437A11.563 11.563 0 0 0 2 13.563v2.873A11.564 11.564 0 0 0 13.563 28H18v-6Z\"/>";
|
|
21
|
-
readonly color: "#0288d1";
|
|
22
|
-
readonly viewBox: "0 0 32 32";
|
|
23
|
-
};
|
|
24
|
-
readonly csharp: {
|
|
25
|
-
readonly inner: "<path fill=\"#0288d1\" d=\"M30 14v-2h-2V8h-2v4h-2V8h-2v4h-2v2h2v2h-2v2h2v4h2v-4h2v4h2v-4h2v-2h-2v-2Zm-4 2h-2v-2h2Zm-12.437 6A5.57 5.57 0 0 1 8 16.437v-2.873A5.57 5.57 0 0 1 13.563 8H18V2h-4.437A11.563 11.563 0 0 0 2 13.563v2.873A11.564 11.564 0 0 0 13.563 28H18v-6Z\"/>";
|
|
26
|
-
readonly color: "#0288d1";
|
|
27
|
-
readonly viewBox: "0 0 32 32";
|
|
28
|
-
};
|
|
29
|
-
readonly css: {
|
|
30
|
-
readonly inner: "<path fill=\"#7e57c2\" d=\"M20 18h-2v-2h-2v2c0 .193 0 .703 1.254 1.033A3.345 3.345 0 0 1 20 22h2v2h2v-2c0-.388-.562-.851-1.254-1.034C20.356 20.34 20 18.84 20 18m-3.254 2.966C14.356 20.34 14 18.84 14 18h-2v-2h-2v8h2v-2h4v2h2v-2c0-.388-.562-.851-1.254-1.034\"/><path fill=\"#7e57c2\" d=\"M24 4H4v20a4 4 0 0 0 4 4h16.16A3.84 3.84 0 0 0 28 24.16V8a4 4 0 0 0-4-4m2 14h-2v-2h-2v2c0 .193 0 .703 1.254 1.033A3.345 3.345 0 0 1 26 22v2a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2 2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2 2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2 2 2 0 0 1 2-2h2a2 2 0 0 1 2 2 2 2 0 0 1 2-2h2a2 2 0 0 1 2 2Z\"/>";
|
|
31
|
-
readonly color: "#7e57c2";
|
|
32
|
-
readonly viewBox: "0 0 32 32";
|
|
33
|
-
};
|
|
34
|
-
readonly database: {
|
|
35
|
-
readonly inner: "<path fill=\"#ffca28\" d=\"M16 24c-5.525 0-10-.9-10-2v4c0 1.1 4.475 2 10 2s10-.9 10-2v-4c0 1.1-4.475 2-10 2m0-8c-5.525 0-10-.9-10-2v4c0 1.1 4.475 2 10 2s10-.9 10-2v-4c0 1.1-4.475 2-10 2m0-12C10.477 4 6 4.895 6 6v4c0 1.1 4.475 2 10 2s10-.9 10-2V6c0-1.105-4.477-2-10-2\"/>";
|
|
36
|
-
readonly color: "#ffca28";
|
|
37
|
-
readonly viewBox: "0 0 32 32";
|
|
38
|
-
};
|
|
39
|
-
readonly document: {
|
|
40
|
-
readonly inner: "<path fill=\"#42a5f5\" d=\"M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5z\"/>";
|
|
41
|
-
readonly color: "#42a5f5";
|
|
42
|
-
readonly viewBox: "0 0 24 24";
|
|
43
|
-
};
|
|
44
|
-
readonly email: {
|
|
45
|
-
readonly inner: "<path fill=\"#42a5f5\" d=\"M28 6H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h24a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2m0 6-12 6-12-6V8l12 6 12-6Z\"/>";
|
|
46
|
-
readonly color: "#42a5f5";
|
|
47
|
-
readonly viewBox: "0 0 32 32";
|
|
48
|
-
};
|
|
49
9
|
readonly excel: {
|
|
50
|
-
readonly inner: "<path fill=\"#
|
|
51
|
-
readonly color: "#
|
|
52
|
-
readonly viewBox: "0 0
|
|
53
|
-
};
|
|
54
|
-
readonly exe: {
|
|
55
|
-
readonly inner: "<path fill=\"#e64a19\" d=\"M28 4H4a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h24a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 22H4V10h24Z\"/>";
|
|
56
|
-
readonly color: "#e64a19";
|
|
57
|
-
readonly viewBox: "0 0 32 32";
|
|
58
|
-
};
|
|
59
|
-
readonly go: {
|
|
60
|
-
readonly inner: "<path fill=\"#00acc1\" d=\"M2 12h4v2H2zm-2 4h6v2H0zm4 4h2v2H4zm16.954-5H14v3h3.239a4.42 4.42 0 0 1-3.531 2 2.65 2.65 0 0 1-2.053-.858 2.86 2.86 0 0 1-.628-2.28A4.515 4.515 0 0 1 15.292 13a2.73 2.73 0 0 1 1.749.584l2.962-1.185A5.6 5.6 0 0 0 15.292 10a7.526 7.526 0 0 0-7.243 6.5 5.614 5.614 0 0 0 5.659 6.5 7.526 7.526 0 0 0 7.243-6.5 6.4 6.4 0 0 0 .003-1.5\"/><path fill=\"#00acc1\" d=\"M26.292 10a7.526 7.526 0 0 0-7.243 6.5 5.614 5.614 0 0 0 5.659 6.5 7.526 7.526 0 0 0 7.243-6.5 5.614 5.614 0 0 0-5.659-6.5m2.681 6.137A4.515 4.515 0 0 1 24.708 20a2.65 2.65 0 0 1-2.053-.858 2.86 2.86 0 0 1-.628-2.28A4.515 4.515 0 0 1 26.292 13a2.65 2.65 0 0 1 2.053.858 2.86 2.86 0 0 1 .628 2.28Z\"/>";
|
|
61
|
-
readonly color: "#00acc1";
|
|
62
|
-
readonly viewBox: "0 0 32 32";
|
|
10
|
+
readonly inner: "<path fill=\"#1b5e20\" d=\"M9,17.139c0-2.624,2.126-4.75,4.749-4.75H41v27.444C41,41.582,39.583,43,37.834,43H15.332\tC11.835,43,9,40.164,9,36.667C9,36.667,9,17.139,9,17.139z\"/><path fill=\"#43a047\" d=\"M9,22.75C9,20.126,11.126,18,13.749,18h14.418c-1.749,0-3.166,1.418-3.166,3.167v6\tc0,1.749-1.417,3.167-3.166,3.167h-6.502c-3.497,0-6.332,2.836-6.332,6.333L9,22.75L9,22.75z\"/><path fill=\"#9ccc65\" d=\"M9,11.333C9,7.836,11.835,5,15.332,5h12.941v13H15.332C11.835,18,9,20.836,9,24.333\tC9,24.333,9,11.333,9,11.333z\"/><path fill=\"#ccff90\" d=\"M28.166,5h9.668C39.582,5,41,6.418,41,8.166v6.668C41,16.582,39.582,18,37.834,18h-9.668\tC26.417,18,25,16.582,25,14.834V8.166C25,6.418,26.417,5,28.166,5z\"/><path fill=\"#2e7d32\" d=\"M7.5,23h10c1.933,0,3.5,1.567,3.5,3.5v10c0,1.933-1.567,3.5-3.5,3.5h-10C5.567,40,4,38.433,4,36.5\tv-10C4,24.567,5.567,23,7.5,23z\"/><path fill=\"#fff\" d=\"M16.965,36.357h-2.62L12.7,33.261c-0.059-0.109-0.104-0.194-0.135-0.258\tc-0.027-0.067-0.057-0.145-0.088-0.23H12.45c-0.041,0.109-0.079,0.197-0.115,0.264c-0.036,0.068-0.079,0.151-0.129,0.251\tl-1.706,3.068H8.03l2.965-4.864l-2.762-4.85h2.586l1.462,2.764c0.059,0.113,0.109,0.213,0.149,0.298\tc0.045,0.081,0.09,0.178,0.135,0.291h0.027c0.063-0.131,0.112-0.235,0.149-0.311c0.041-0.076,0.095-0.178,0.162-0.304l1.516-2.736\th2.464l-2.802,4.776L16.965,36.357L16.965,36.357z\"/>";
|
|
11
|
+
readonly color: "#1b5e20";
|
|
12
|
+
readonly viewBox: "0 0 48 48";
|
|
63
13
|
};
|
|
64
14
|
readonly html: {
|
|
65
|
-
readonly inner: "<
|
|
66
|
-
readonly color: "#
|
|
67
|
-
readonly viewBox: "0 0
|
|
68
|
-
};
|
|
69
|
-
readonly image: {
|
|
70
|
-
readonly inner: "<path fill=\"#26a69a\" d=\"M8.5 6h4l-4-4zM3.875 1H9.5l4 4v8.6c0 .773-.616 1.4-1.375 1.4h-8.25c-.76 0-1.375-.627-1.375-1.4V2.4c0-.777.612-1.4 1.375-1.4M4 13.6h8V8l-2.625 2.8L8 9.4zm1.25-7.7c-.76 0-1.375.627-1.375 1.4s.616 1.4 1.375 1.4c.76 0 1.375-.627 1.375-1.4S6.009 5.9 5.25 5.9\"/>";
|
|
71
|
-
readonly color: "#26a69a";
|
|
72
|
-
readonly viewBox: "0 0 16 16";
|
|
15
|
+
readonly inner: "<polygon fill=\"#e7a42b\" points=\"8,5 42,5 38,39 25,43 11,39\"/><polygon fill=\"#f2bf22\" points=\"38.63,8 35.25,36.71 25,39.86 25,8\"/><polygon fill=\"#faf9f8\" points=\"25,21 26,23 25,25 15.79,25 16.64,12 25,12 26,14 25,16 21.03,16 20.7,21\"/><polygon fill=\"#ebebeb\" points=\"24.9,32.57 25,32.54 26,35 25,36.72 24.94,36.74 16.61,34.36 16.05,28 20.07,28 20.35,31.27\"/><polygon fill=\"#fff\" points=\"34.07,21 32.5,34.42 25,36.72 25,32.54 28.83,31.36 29.57,25 25,25 25,21\"/><polygon fill=\"#fff\" points=\"34.92,18 30.93,18 30.67,16 25,16 25,12 34.13,12 34.3,13.26\"/>";
|
|
16
|
+
readonly color: "#e7a42b";
|
|
17
|
+
readonly viewBox: "0 0 48 48";
|
|
73
18
|
};
|
|
74
19
|
readonly java: {
|
|
75
|
-
readonly inner: "<path fill=\"#
|
|
76
|
-
readonly color: "#
|
|
77
|
-
readonly viewBox: "0 0
|
|
20
|
+
readonly inner: "<path fill=\"#F44336\" d=\"M23.65,24.898c-0.998-1.609-1.722-2.943-2.725-5.455C19.229,15.2,31.24,11.366,26.37,3.999c2.111,5.089-7.577,8.235-8.477,12.473C17.07,20.37,23.645,24.898,23.65,24.898z\"/><path fill=\"#F44336\" d=\"M23.878,17.27c-0.192,2.516,2.229,3.857,2.299,5.695c0.056,1.496-1.447,2.743-1.447,2.743s2.728-0.536,3.579-2.818c0.945-2.534-1.834-4.269-1.548-6.298c0.267-1.938,6.031-5.543,6.031-5.543S24.311,11.611,23.878,17.27z\"/><g><path fill=\"#1565C0\" d=\"M32.084 25.055c1.754-.394 3.233.723 3.233 2.01 0 2.901-4.021 5.643-4.021 5.643s6.225-.742 6.225-5.505C37.521 24.053 34.464 23.266 32.084 25.055zM29.129 27.395c0 0 1.941-1.383 2.458-1.902-4.763 1.011-15.638 1.147-15.638.269 0-.809 3.507-1.638 3.507-1.638s-7.773-.112-7.773 2.181C11.683 28.695 21.858 28.866 29.129 27.395z\"/><path fill=\"#1565C0\" d=\"M27.935,29.571c-4.509,1.499-12.814,1.02-10.354-0.993c-1.198,0-2.974,0.963-2.974,1.889c0,1.857,8.982,3.291,15.63,0.572L27.935,29.571z\"/><path fill=\"#1565C0\" d=\"M18.686,32.739c-1.636,0-2.695,1.054-2.695,1.822c0,2.391,9.76,2.632,13.627,0.205l-2.458-1.632C24.271,34.404,17.014,34.579,18.686,32.739z\"/><path fill=\"#1565C0\" d=\"M36.281,36.632c0-0.936-1.055-1.377-1.433-1.588c2.228,5.373-22.317,4.956-22.317,1.784c0-0.721,1.807-1.427,3.477-1.093l-1.42-0.839C11.26,34.374,9,35.837,9,37.017C9,42.52,36.281,42.255,36.281,36.632z\"/><path fill=\"#1565C0\" d=\"M39,38.604c-4.146,4.095-14.659,5.587-25.231,3.057C24.341,46.164,38.95,43.628,39,38.604z\"/></g>";
|
|
21
|
+
readonly color: "#F44336";
|
|
22
|
+
readonly viewBox: "0 0 48 48";
|
|
78
23
|
};
|
|
79
24
|
readonly javascript: {
|
|
80
|
-
readonly inner: "<path fill=\"#
|
|
81
|
-
readonly color: "#
|
|
82
|
-
readonly viewBox: "0 0
|
|
25
|
+
readonly inner: "<path fill=\"#ffd600\" d=\"M6,42V6h36v36H6z\"/><path fill=\"#000001\" d=\"M29.538 32.947c.692 1.124 1.444 2.201 3.037 2.201 1.338 0 2.04-.665 2.04-1.585 0-1.101-.726-1.492-2.198-2.133l-.807-.344c-2.329-.988-3.878-2.226-3.878-4.841 0-2.41 1.845-4.244 4.728-4.244 2.053 0 3.528.711 4.592 2.573l-2.514 1.607c-.553-.988-1.151-1.377-2.078-1.377-.946 0-1.545.597-1.545 1.377 0 .964.6 1.354 1.985 1.951l.807.344C36.452 29.645 38 30.839 38 33.523 38 36.415 35.716 38 32.65 38c-2.999 0-4.702-1.505-5.65-3.368L29.538 32.947zM17.952 33.029c.506.906 1.275 1.603 2.381 1.603 1.058 0 1.667-.418 1.667-2.043V22h3.333v11.101c0 3.367-1.953 4.899-4.805 4.899-2.577 0-4.437-1.746-5.195-3.368L17.952 33.029z\"/>";
|
|
26
|
+
readonly color: "#ffd600";
|
|
27
|
+
readonly viewBox: "0 0 48 48";
|
|
28
|
+
};
|
|
29
|
+
readonly office: {
|
|
30
|
+
readonly inner: "<path fill=\"#e64a19\" d=\"M7 12L29 4 41 7 41 41 29 44 7 36 29 39 29 10 15 13 15 33 7 36z\"/>";
|
|
31
|
+
readonly color: "#e64a19";
|
|
32
|
+
readonly viewBox: "0 0 48 48";
|
|
83
33
|
};
|
|
84
|
-
readonly
|
|
85
|
-
readonly inner: "<path fill=\"#
|
|
86
|
-
readonly color: "#
|
|
87
|
-
readonly viewBox: "0
|
|
34
|
+
readonly onedrive: {
|
|
35
|
+
readonly inner: "<path fill=\"#0d47a1\" d=\"M13.279,11.978c-7.335,0-12.819,6.005-13.231,12.694c0.256,1.441,1.095,4.287,2.411,4.141\tc1.644-0.183,5.785,0,9.317-6.394C14.355,17.749,19.662,11.978,13.279,11.978z\"/><path fill=\"#1e88e5\" d=\"M11.583,14.475c-2.466,3.904-5.785,9.498-6.905,11.258c-1.332,2.093-4.858,1.204-4.566-1.796\tc-0.029,0.243-0.051,0.489-0.066,0.736c-0.482,7.803,5.705,14.284,13.404,14.284c8.485,0,28.722-10.572,26.673-21.165\tc-2.159-6.226-8.225-10.693-15.101-10.693C18.146,7.099,13.739,11.06,11.583,14.475z\"/><path fill=\"#4fc3f7\" d=\"M13.325,38.96c0,0,20.26,0.04,23.697,0.04C43.258,39,48,33.909,48,27.967\ts-4.837-11.002-10.978-11.002c-6.141,0-9.678,4.594-12.335,9.61C21.575,32.451,17.604,38.89,13.325,38.96z\"/>";
|
|
36
|
+
readonly color: "#0d47a1";
|
|
37
|
+
readonly viewBox: "0 0 48 48";
|
|
88
38
|
};
|
|
89
|
-
readonly
|
|
90
|
-
readonly inner: "<path fill=\"#
|
|
91
|
-
readonly color: "#
|
|
92
|
-
readonly viewBox: "0 0
|
|
39
|
+
readonly outlook: {
|
|
40
|
+
readonly inner: "<path fill=\"#40c4ff\" d=\"M31.323,8.502L7.075,23.872l-2.085-3.29v-2.835c0-1.032,0.523-1.994,1.389-2.556l14.095-9.146\tc2.147-1.393,4.914-1.394,7.061-0.001L31.323,8.502z\"/><path fill=\"#1976d2\" d=\"M27.317,5.911c0.073,0.043,0.145,0.088,0.217,0.135l11,7.136L11.259,30.47l-4.185-6.603\tl20.017-12.713C28.988,9.95,29.071,7.241,27.317,5.911z\"/><path fill=\"#0d47a1\" d=\"M22.142,33.771L11.26,30.47l23.136-14.666c1.949-1.235,1.944-4.08-0.009-5.308l-0.104-0.065\tl0.3,0.186l7.041,4.568c0.866,0.562,1.389,1.524,1.389,2.556v2.744L22.142,33.771z\"/><path fill=\"#29b6f6\" d=\"M20.886,43h15.523c3.646,0,6.602-2.956,6.602-6.602V17.797c0,1.077-0.554,2.079-1.466,2.652\tl-23.09,14.498c-1.246,0.782-2.001,2.15-2.001,3.62C16.454,41.016,18.438,43,20.886,43z\"/><radialGradient id=\"outlook-jOGZKH9xgyi24L29LbTdga\" cx=\"-509.142\" cy=\"-26.522\" r=\".07\" gradientTransform=\"matrix(-170.8609 259.7254 674.0181 443.4041 -69097.734 144024.688)\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#49deff\"/><stop offset=\".724\" stop-color=\"#29c3ff\"/></radialGradient><path fill=\"url(#outlook-jOGZKH9xgyi24L29LbTdga)\" d=\"M27.198,42.999H11.589c-3.646,0-6.602-2.956-6.602-6.602V17.783\tc0,1.076,0.552,2.076,1.461,2.649l23.067,14.543c1.263,0.796,2.029,2.185,2.029,3.678C31.544,41.053,29.598,42.999,27.198,42.999z\"/><path fill=\"#80d8ff\" d=\"M27.198,42.999H11.589c-3.646,0-6.602-2.956-6.602-6.602V17.783c0,1.076,0.552,2.076,1.461,2.649\tl23.067,14.543c1.263,0.796,2.029,2.185,2.029,3.678C31.544,41.053,29.598,42.999,27.198,42.999z\"/><path fill=\"#fff\" d=\"M11.282,36.236c-1.398,0-2.545-0.437-3.442-1.312c-0.897-0.874-1.346-2.015-1.346-3.423\tc0-1.486,0.455-2.689,1.366-3.607c0.911-0.918,2.103-1.377,3.577-1.377c1.393,0,2.526,0.439,3.401,1.318\tc0.879,0.879,1.319,2.037,1.319,3.475c0,1.478-0.456,2.669-1.366,3.574C13.885,35.786,12.716,36.236,11.282,36.236z M11.323,34.381\tc0.762,0,1.375-0.26,1.839-0.78c0.464-0.52,0.696-1.244,0.696-2.171c0-0.966-0.226-1.718-0.676-2.256\tc-0.451-0.538-1.053-0.806-1.805-0.806c-0.775,0-1.4,0.278-1.873,0.833c-0.473,0.551-0.71,1.281-0.71,2.19\tc0,0.923,0.237,1.653,0.71,2.19C9.977,34.114,10.583,34.381,11.323,34.381z\"/><path fill=\"#1565c0\" d=\"M6.453,23h10.094C18.454,23,20,24.546,20,26.453v10.094C20,38.454,18.454,40,16.547,40H6.453\tC4.546,40,3,38.454,3,36.547V26.453C3,24.546,4.546,23,6.453,23z\"/><path fill=\"#fff\" d=\"M11.453,36.518c-1.4,0-2.55-0.452-3.449-1.355c-0.899-0.903-1.348-2.082-1.348-3.537\tc0-1.536,0.456-2.778,1.369-3.726c0.913-0.949,2.107-1.423,3.584-1.423c1.396,0,2.532,0.454,3.408,1.362\tc0.881,0.908,1.321,2.105,1.321,3.591c0,1.527-0.456,2.758-1.369,3.692C14.061,36.053,12.889,36.518,11.453,36.518z M11.493,34.601\tc0.763,0,1.378-0.269,1.843-0.806c0.465-0.538,0.698-1.285,0.698-2.243c0-0.998-0.226-1.775-0.677-2.331\tc-0.452-0.556-1.055-0.833-1.809-0.833c-0.777,0-1.403,0.287-1.877,0.861c-0.474,0.569-0.711,1.323-0.711,2.263\tc0,0.953,0.237,1.707,0.711,2.263C10.145,34.326,10.752,34.601,11.493,34.601z\"/>";
|
|
41
|
+
readonly color: "#40c4ff";
|
|
42
|
+
readonly viewBox: "0 0 48 48";
|
|
93
43
|
};
|
|
94
44
|
readonly pdf: {
|
|
95
|
-
readonly inner: "<path fill=\"#
|
|
96
|
-
readonly color: "#
|
|
97
|
-
readonly viewBox: "0 0
|
|
45
|
+
readonly inner: "<path fill=\"#e53935\" d=\"M38,42H10c-2.209,0-4-1.791-4-4V10c0-2.209,1.791-4,4-4h28c2.209,0,4,1.791,4,4v28\tC42,40.209,40.209,42,38,42z\"/><path fill=\"#fff\" d=\"M34.841,26.799c-1.692-1.757-6.314-1.041-7.42-0.911c-1.627-1.562-2.734-3.45-3.124-4.101 c0.586-1.757,0.976-3.515,1.041-5.402c0-1.627-0.651-3.385-2.473-3.385c-0.651,0-1.237,0.391-1.562,0.911 c-0.781,1.367-0.456,4.101,0.781,6.899c-0.716,2.018-1.367,3.97-3.189,7.42c-1.888,0.781-5.858,2.604-6.183,4.556 c-0.13,0.586,0.065,1.172,0.521,1.627C13.688,34.805,14.273,35,14.859,35c2.408,0,4.751-3.32,6.379-6.118 c1.367-0.456,3.515-1.107,5.663-1.497c2.538,2.213,4.751,2.538,5.923,2.538c1.562,0,2.148-0.651,2.343-1.237 C35.492,28.036,35.297,27.32,34.841,26.799z M33.214,27.905c-0.065,0.456-0.651,0.911-1.692,0.651 c-1.237-0.325-2.343-0.911-3.32-1.692c0.846-0.13,2.734-0.325,4.101-0.065C32.824,26.929,33.344,27.254,33.214,27.905z M22.344,14.497c0.13-0.195,0.325-0.325,0.521-0.325c0.586,0,0.716,0.716,0.716,1.302c-0.065,1.367-0.325,2.734-0.781,4.036 C21.824,16.905,22.019,15.083,22.344,14.497z M22.214,27.124c0.521-1.041,1.237-2.864,1.497-3.645 c0.586,0.976,1.562,2.148,2.083,2.669C25.794,26.213,23.776,26.604,22.214,27.124z M18.374,29.728 c-1.497,2.473-3.059,4.036-3.905,4.036c-0.13,0-0.26-0.065-0.391-0.13c-0.195-0.13-0.26-0.325-0.195-0.586 C14.078,32.136,15.77,30.899,18.374,29.728z\"/>";
|
|
46
|
+
readonly color: "#e53935";
|
|
47
|
+
readonly viewBox: "0 0 48 48";
|
|
48
|
+
};
|
|
49
|
+
readonly postgresql: {
|
|
50
|
+
readonly inner: "<path fill=\"#fff\" d=\"M44.083,29.79c-0.183-0.829-0.935-1.796-2.452-1.796c-0.31,0-0.649,0.039-1.035,0.119c-0.708,0.146-1.311,0.217-1.842,0.241c4.133-7.04,6.816-16.819,4.159-20.214c-3.501-4.473-8.214-5.141-10.711-5.141L31.967,3c-0.929,0.015-1.893,0.129-2.863,0.339l-3.583,0.774C25.033,4.052,24.536,4.009,24.018,4l-0.03,0l-0.016,0l-0.152-0.001c-1.593,0-3.046,0.338-4.341,0.973l-1.251-0.493c-1.72-0.678-4.308-1.485-6.868-1.485c-0.144,0-0.287,0.003-0.431,0.008C8.407,3.093,6.241,4.05,4.664,5.769C2.696,7.915,1.8,11.054,2.003,15.1C2.013,15.309,4.461,36,11.4,36h0.025l0.064-0.001c0.901-0.022,1.76-0.384,2.563-1.077c0.613,0.46,1.406,0.732,2.145,0.84c0.488,0.115,1.366,0.278,2.418,0.278c1.284,0,2.442-0.263,3.44-0.738c-0.001,0.88-0.006,1.994-0.016,3.418l-0.001,0.075l0.005,0.075c0.097,1.419,0.342,2.698,0.711,3.701c1.051,2.859,2.866,4.434,5.111,4.434c0.093,0,0.188-0.003,0.284-0.009c1.846-0.114,3.717-1.151,5.004-2.772c1.393-1.755,1.715-3.607,1.839-5.026L35,39.111v-0.088v-4.079l0.103,0.01l0.436,0.038l0.042,0.004l0.042,0.002c0.124,0.006,0.252,0.008,0.381,0.008c1.507,0,3.362-0.391,4.616-0.974C41.819,33.476,44.559,31.948,44.083,29.79z\"/><path fill=\"#0277bd\" d=\"M33,34c0-0.205,0.012-0.376,0.018-0.565C33.008,33.184,33,33,33,33s0.012-0.009,0.032-0.022c0.149-2.673,0.886-3.703,1.675-4.29c-0.11-0.153-0.237-0.318-0.356-0.475c-0.333-0.437-0.748-0.979-1.192-1.674l-0.082-0.158c-0.067-0.164-0.229-0.447-0.435-0.819c-1.183-2.14-3.645-6.592-1.96-9.404c0.738-1.232,2.122-1.942,4.121-2.117C33.986,11.718,30.925,6.115,23.985,6c-0.002,0-0.004,0-0.006,0c-6.041-0.098-8.026,5.392-8.672,8.672c0.89-0.377,1.906-0.606,2.836-0.606c0.014,0,0.029,0,0.043,0c2.29,0.017,3.865,1.239,4.323,3.354c0.335,1.552,0.496,2.91,0.492,4.153c-0.01,2.719-0.558,4.149-1.042,5.411l-0.154,0.408c-0.124,0.334-0.255,0.645-0.379,0.937c-0.126,0.298-0.237,0.563-0.318,0.802c0.484,0.11,0.864,0.265,1.125,0.38l0.151,0.066c0.047,0.02,0.094,0.043,0.137,0.069c0.848,0.516,1.376,1.309,1.489,2.233c0.061,0.498,0.051,3.893,0.03,6.855c0.087,1.285,0.305,2.364,0.593,3.146c0.409,1.114,1.431,3.241,3.394,3.119c1.37-0.085,2.687-0.919,3.561-2.019c0.938-1.181,1.284-2.487,1.414-3.958V34z\"/><path fill=\"#0277bd\" d=\"M15.114 28.917c-1.613-1.683-2.399-3.947-2.104-6.056.285-2.035.124-4.027.037-5.098-.029-.357-.048-.623-.047-.77 0-.008.002-.015.003-.023 0-.004-.002-.007-.002-.011.121-3.021 1.286-7.787 4.493-10.62C15.932 5.724 13.388 4.913 11 5 7.258 5.136 3.636 7.724 4 15c.137 2.73 3.222 19.103 7.44 19 .603-.015 1.229-.402 1.872-1.176 1.017-1.223 2.005-2.332 2.708-3.104C15.705 29.481 15.401 29.217 15.114 28.917zM37.023 14.731c.015.154.002.286-.022.408.031.92-.068 1.813-.169 2.677-.074.636-.15 1.293-.171 1.952-.021.645.07 1.282.166 1.956.225 1.578.459 3.359-.765 5.437.225.296.423.571.581.837 4.61-7.475 6.468-16.361 4.695-18.626C38.655 5.944 34.941 4.952 31.999 5c-.921.015-1.758.139-2.473.294C34.602 7.754 36.863 13.026 37.023 14.731zM41 30.071c-2.665.55-3.947.257-4.569-.126-.1.072-.2.133-.293.19-.372.225-.961.583-1.105 2.782.083.016.156.025.246.044L35.714 33c1.32.06 3.049-.31 4.063-.781C41.962 31.205 43.153 29.627 41 30.071zM22.023 32.119c-.037-.298-.198-.539-.492-.732l-.108-.047C21.062 31.181 20.653 31 20 31h-.004c-.127.01-.253.019-.38.019-.052 0-.103-.007-.155-.009-.474.365-1.148.647-2.816.99-2.98.759-1.221 1.655-.078 1.794 1.106.277 3.735.614 5.481-.809C22.043 32.537 22.035 32.229 22.023 32.119z\"/><path fill=\"#0277bd\" d=\"M20.681 18.501c-.292.302-.753.566-1.262.484-.828-.134-1.463-1.133-1.417-1.508h0c.044-.374.751-.569 1.578-.435.287.047.548.128.768.228-.32-.688-.899-1.085-1.782-1.182-1.565-.174-3.226.644-3.56 1.097.007.11.02.251.033.417.093 1.147.265 3.284-.05 5.537-.208 1.485.393 3.169 1.567 4.395.757.79 1.641 1.29 2.513 1.438.111-.478.309-.944.513-1.425.113-.265.233-.547.346-.852l.162-.427c.443-1.155.9-2.35.909-4.703C21.003 20.66 20.892 19.627 20.681 18.501zM34.847 22.007c-.104-.729-.211-1.484-.185-2.303.023-.742.105-1.442.184-2.119.062-.533.11-1.045.138-1.55-1.289.107-2.145.479-2.551 1.108.168-.057.358-.102.568-.129.892-.116 1.543.141 1.618.637.055.363-.253.705-.388.836-.277.269-.626.442-.981.488-.064.008-.129.012-.192.012-.353 0-.69-.121-.949-.3.112 1.973 1.567 4.612 2.283 5.907.153.277.271.498.369.688C35.154 24.163 35.009 23.143 34.847 22.007z\"/>";
|
|
51
|
+
readonly color: "#fff";
|
|
52
|
+
readonly viewBox: "0 0 48 48";
|
|
98
53
|
};
|
|
99
54
|
readonly powerpoint: {
|
|
100
|
-
readonly inner: "<path fill=\"#
|
|
101
|
-
readonly color: "#
|
|
102
|
-
readonly viewBox: "0 0
|
|
55
|
+
readonly inner: "<path fill=\"#e53935\" d=\"M43.998,24c0-11.046-8.953-20-19.998-20S4.001,12.954,4.001,24s8.954,20,19.998,20\tS43.998,35.046,43.998,24z\"/><path fill=\"#ff9800\" d=\"M24.002,4C35.047,4,44,12.954,44,24c0,3.674-0.993,7.116-2.722,10.075l0.325-0.72\tc1.979-4.394-1.238-9.367-6.057-9.364l-7.959,0.006c-1.979,0.002-3.584-1.603-3.584-3.581v-7.974c0-4.822-4.979-8.035-9.372-6.049\tl-0.64,0.29C16.935,4.977,20.354,4,24.002,4z\"/><path fill=\"#b71c1c\" d=\"M6.453,23h10.094C18.454,23,20,24.546,20,26.453v10.094C20,38.454,18.454,40,16.547,40H6.453\tC4.546,40,3,38.454,3,36.547V26.453C3,24.546,4.546,23,6.453,23z\"/><path fill=\"#fff\" d=\"M10.369,33.167v3.176H8.173V26.59h3.392c1.214,0,2.139,0.265,2.773,0.796\tc0.639,0.53,0.959,1.317,0.959,2.36c0,1.075-0.358,1.913-1.074,2.516c-0.711,0.603-1.668,0.904-2.869,0.904H10.369z M10.369,28.277\tv3.203h0.918c0.544,0,0.963-0.142,1.257-0.428c0.294-0.286,0.442-0.696,0.442-1.231c0-0.494-0.145-0.875-0.435-1.143\tc-0.286-0.267-0.696-0.401-1.23-0.401H10.369z\"/>";
|
|
56
|
+
readonly color: "#e53935";
|
|
57
|
+
readonly viewBox: "0 0 48 48";
|
|
103
58
|
};
|
|
104
59
|
readonly python: {
|
|
105
|
-
readonly inner: "<path fill=\"#
|
|
106
|
-
readonly color: "#
|
|
107
|
-
readonly viewBox: "0 0
|
|
108
|
-
};
|
|
109
|
-
readonly ruby: {
|
|
110
|
-
readonly inner: "<path fill=\"#f44336\" d=\"M18.041 3.177c2.24.382 2.879 1.919 2.843 3.527V6.67l-1.013 13.266-13.132.897h.008c-1.093-.044-3.518-.151-3.634-3.545l1.217-2.222 2.462 5.74 2.097-6.77-.045.009.018-.018 6.85 2.186L13.945 9.3l6.53-.409-5.144-4.212 2.71-1.51v.009M3.113 17.252v.017zM6.916 6.874c2.63-2.622 6.033-4.168 7.34-2.844 1.297 1.306-.072 4.523-2.702 7.135-2.666 2.613-6.015 4.248-7.322 2.933-1.306-1.324.036-4.612 2.675-7.224z\"/>";
|
|
111
|
-
readonly color: "#f44336";
|
|
112
|
-
readonly viewBox: "0 0 24 24";
|
|
60
|
+
readonly inner: "<path fill=\"#0277BD\" d=\"M24.047,5c-1.555,0.005-2.633,0.142-3.936,0.367c-3.848,0.67-4.549,2.077-4.549,4.67V14h9v2H15.22h-4.35c-2.636,0-4.943,1.242-5.674,4.219c-0.826,3.417-0.863,5.557,0,9.125C5.851,32.005,7.294,34,9.931,34h3.632v-5.104c0-2.966,2.686-5.896,5.764-5.896h7.236c2.523,0,5-1.862,5-4.377v-8.586c0-2.439-1.759-4.263-4.218-4.672C27.406,5.359,25.589,4.994,24.047,5z M19.063,9c0.821,0,1.5,0.677,1.5,1.502c0,0.833-0.679,1.498-1.5,1.498c-0.837,0-1.5-0.664-1.5-1.498C17.563,9.68,18.226,9,19.063,9z\"/><path fill=\"#FFC107\" d=\"M23.078,43c1.555-0.005,2.633-0.142,3.936-0.367c3.848-0.67,4.549-2.077,4.549-4.67V34h-9v-2h9.343h4.35c2.636,0,4.943-1.242,5.674-4.219c0.826-3.417,0.863-5.557,0-9.125C41.274,15.995,39.831,14,37.194,14h-3.632v5.104c0,2.966-2.686,5.896-5.764,5.896h-7.236c-2.523,0-5,1.862-5,4.377v8.586c0,2.439,1.759,4.263,4.218,4.672C19.719,42.641,21.536,43.006,23.078,43z M28.063,39c-0.821,0-1.5-0.677-1.5-1.502c0-0.833,0.679-1.498,1.5-1.498c0.837,0,1.5,0.664,1.5,1.498C29.563,38.32,28.899,39,28.063,39z\"/>";
|
|
61
|
+
readonly color: "#0277BD";
|
|
62
|
+
readonly viewBox: "0 0 48 48";
|
|
113
63
|
};
|
|
114
|
-
readonly
|
|
115
|
-
readonly inner: "<path fill=\"#
|
|
116
|
-
readonly color: "#
|
|
117
|
-
readonly viewBox: "0 0
|
|
64
|
+
readonly react: {
|
|
65
|
+
readonly inner: "<path fill=\"#80deea\" d=\"M24,34C11.1,34,1,29.6,1,24c0-5.6,10.1-10,23-10c12.9,0,23,4.4,23,10C47,29.6,36.9,34,24,34z M24,16\tc-12.6,0-21,4.1-21,8c0,3.9,8.4,8,21,8s21-4.1,21-8C45,20.1,36.6,16,24,16z\"/><path fill=\"#80deea\" d=\"M15.1,44.6c-1,0-1.8-0.2-2.6-0.7C7.6,41.1,8.9,30.2,15.3,19l0,0c3-5.2,6.7-9.6,10.3-12.4c3.9-3,7.4-3.9,9.8-2.5\tc2.5,1.4,3.4,4.9,2.8,9.8c-0.6,4.6-2.6,10-5.6,15.2c-3,5.2-6.7,9.6-10.3,12.4C19.7,43.5,17.2,44.6,15.1,44.6z M32.9,5.4\tc-1.6,0-3.7,0.9-6,2.7c-3.4,2.7-6.9,6.9-9.8,11.9l0,0c-6.3,10.9-6.9,20.3-3.6,22.2c1.7,1,4.5,0.1,7.6-2.3c3.4-2.7,6.9-6.9,9.8-11.9\tc2.9-5,4.8-10.1,5.4-14.4c0.5-4-0.1-6.8-1.8-7.8C34,5.6,33.5,5.4,32.9,5.4z\"/><path fill=\"#80deea\" d=\"M33,44.6c-5,0-12.2-6.1-17.6-15.6C8.9,17.8,7.6,6.9,12.5,4.1l0,0C17.4,1.3,26.2,7.8,32.7,19\tc3,5.2,5,10.6,5.6,15.2c0.7,4.9-0.3,8.3-2.8,9.8C34.7,44.4,33.9,44.6,33,44.6z M13.5,5.8c-3.3,1.9-2.7,11.3,3.6,22.2\tc6.3,10.9,14.1,16.1,17.4,14.2c1.7-1,2.3-3.8,1.8-7.8c-0.6-4.3-2.5-9.4-5.4-14.4C24.6,9.1,16.8,3.9,13.5,5.8L13.5,5.8z\"/><circle cx=\"24\" cy=\"24\" r=\"4\" fill=\"#80deea\"/>";
|
|
66
|
+
readonly color: "#80deea";
|
|
67
|
+
readonly viewBox: "0 0 48 48";
|
|
118
68
|
};
|
|
119
|
-
readonly
|
|
120
|
-
readonly inner: "<path fill=\"#
|
|
121
|
-
readonly color: "#
|
|
122
|
-
readonly viewBox: "0 0
|
|
123
|
-
};
|
|
124
|
-
readonly swift: {
|
|
125
|
-
readonly inner: "<path fill=\"#ff6e40\" d=\"M17.087 19.721c-2.36 1.36-5.59 1.5-8.86.1a13.8 13.8 0 0 1-6.23-5.32c.67.55 1.46 1 2.3 1.4 3.37 1.57 6.73 1.46 9.1 0-3.37-2.59-6.24-5.96-8.37-8.71-.45-.45-.78-1.01-1.12-1.51 8.28 6.05 7.92 7.59 2.41-1.01 4.89 4.94 9.43 7.74 9.43 7.74.16.09.25.16.36.22.1-.25.19-.51.26-.78.79-2.85-.11-6.12-2.08-8.81 4.55 2.75 7.25 7.91 6.12 12.24-.03.11-.06.22-.05.39 2.24 2.83 1.64 5.78 1.35 5.22-1.21-2.39-3.48-1.65-4.62-1.17\"/>";
|
|
126
|
-
readonly color: "#ff6e40";
|
|
127
|
-
readonly viewBox: "0 0 24 24";
|
|
69
|
+
readonly sharepoint: {
|
|
70
|
+
readonly inner: "<path fill=\"#26c6da\" d=\"M20.858,28.467c7.006,0,12.686-5.671,12.686-12.667S27.863,3.133,20.858,3.133\tS8.172,8.805,8.172,15.8S13.851,28.467,20.858,28.467z\"/><path fill=\"#00acc1\" d=\"M32.328,36.911c5.783,0,10.471-4.681,10.471-10.456S38.111,16,32.328,16s-10.471,4.681-10.471,10.456\tS26.545,36.911,32.328,36.911z\"/><path fill=\"#0097a7\" d=\"M22.443,44.972c4.963,0,8.986-4.017,8.986-8.972s-4.023-8.972-8.986-8.972S13.457,31.045,13.457,36\tS17.48,44.972,22.443,44.972z\"/><path fill=\"#00838f\" d=\"M8.5,23h10c1.933,0,3.5,1.567,3.5,3.5v10c0,1.933-1.567,3.5-3.5,3.5h-10C6.567,40,5,38.433,5,36.5\tv-10C5,24.567,6.567,23,8.5,23z\"/><path fill=\"#fff\" d=\"M9.832,34.445l1.846-0.962c0.208,0.42,0.479,0.729,0.814,0.928c0.339,0.199,0.711,0.298,1.113,0.298\tc0.448,0,0.79-0.09,1.024-0.271c0.235-0.185,0.353-0.463,0.353-0.833c0-0.289-0.113-0.533-0.339-0.732\tc-0.226-0.203-0.626-0.357-1.201-0.461c-1.095-0.199-1.891-0.547-2.389-1.044c-0.493-0.497-0.74-1.116-0.74-1.856\tc0-0.921,0.326-1.658,0.978-2.209c0.651-0.551,1.511-0.826,2.579-0.826c0.719,0,1.352,0.147,1.9,0.44\tc0.547,0.293,0.982,0.714,1.303,1.261l-1.805,0.928c-0.199-0.307-0.414-0.529-0.644-0.664c-0.231-0.14-0.52-0.21-0.869-0.21\tc-0.417,0-0.733,0.09-0.95,0.271c-0.213,0.181-0.319,0.416-0.319,0.705c0,0.248,0.102,0.468,0.305,0.657\tc0.208,0.185,0.624,0.337,1.249,0.454c1.05,0.199,1.833,0.56,2.348,1.085c0.52,0.519,0.78,1.176,0.78,1.972\tc0,0.966-0.31,1.732-0.93,2.297c-0.62,0.564-1.504,0.847-2.653,0.847c-0.832,0-1.584-0.181-2.253-0.542\tc-0.665-0.366-1.165-0.876-1.499-1.532L9.832,34.445z\"/>";
|
|
71
|
+
readonly color: "#26c6da";
|
|
72
|
+
readonly viewBox: "0 0 48 48";
|
|
128
73
|
};
|
|
129
74
|
readonly typescript: {
|
|
130
|
-
readonly inner: "<
|
|
131
|
-
readonly color: "#
|
|
132
|
-
readonly viewBox: "0 0
|
|
133
|
-
};
|
|
134
|
-
readonly video: {
|
|
135
|
-
readonly inner: "<path fill=\"#ff9800\" d=\"m24 6 2 6h-4l-2-6h-3l2 6h-4l-2-6h-3l2 6H8L6 6H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h22a3 3 0 0 0 3-3V6Z\"/>";
|
|
136
|
-
readonly color: "#ff9800";
|
|
137
|
-
readonly viewBox: "0 0 32 32";
|
|
75
|
+
readonly inner: "<rect width=\"36\" height=\"36\" x=\"6\" y=\"6\" fill=\"#1976d2\"/><polygon fill=\"#fff\" points=\"27.49,22 14.227,22 14.227,25.264 18.984,25.264 18.984,40 22.753,40 22.753,25.264 27.49,25.264\"/><path fill=\"#fff\" d=\"M39.194,26.084c0,0-1.787-1.192-3.807-1.192s-2.747,0.96-2.747,1.986 c0,2.648,7.381,2.383,7.381,7.712c0,8.209-11.254,4.568-11.254,4.568V35.22c0,0,2.152,1.622,4.733,1.622s2.483-1.688,2.483-1.92 c0-2.449-7.315-2.449-7.315-7.878c0-7.381,10.658-4.469,10.658-4.469L39.194,26.084z\"/>";
|
|
76
|
+
readonly color: "#1976d2";
|
|
77
|
+
readonly viewBox: "0 0 48 48";
|
|
138
78
|
};
|
|
139
79
|
readonly word: {
|
|
140
|
-
readonly inner: "<path fill=\"#
|
|
141
|
-
readonly color: "#
|
|
142
|
-
readonly viewBox: "0 0
|
|
143
|
-
};
|
|
144
|
-
readonly xml: {
|
|
145
|
-
readonly inner: "<path fill=\"#8bc34a\" d=\"M13 9h5.5L13 3.5zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m.12 13.5 3.74 3.74 1.42-1.41-2.33-2.33 2.33-2.33-1.42-1.41zm11.16 0-3.74-3.74-1.42 1.41 2.33 2.33-2.33 2.33 1.42 1.41z\"/>";
|
|
146
|
-
readonly color: "#8bc34a";
|
|
147
|
-
readonly viewBox: "0 0 24 24";
|
|
148
|
-
};
|
|
149
|
-
readonly yaml: {
|
|
150
|
-
readonly inner: "<path fill=\"#ff5252\" d=\"M13 9h5.5L13 3.5zM6 2h8l6 6v12c0 1.1-.9 2-2 2H6c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2m12 16v-2H9v2zm-4-4v-2H6v2z\"/>";
|
|
151
|
-
readonly color: "#ff5252";
|
|
152
|
-
readonly viewBox: "0 0 24 24";
|
|
153
|
-
};
|
|
154
|
-
readonly zip: {
|
|
155
|
-
readonly inner: "<path fill=\"#afb42b\" d=\"M14 17h-2v-2h-2v-2h2v2h2m0-6h-2v2h2v2h-2v-2h-2V9h2V7h-2V5h2v2h2m5-4H5c-1.11 0-2 .89-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2\"/>";
|
|
156
|
-
readonly color: "#afb42b";
|
|
157
|
-
readonly viewBox: "0 0 24 24";
|
|
80
|
+
readonly inner: "<path fill=\"#283593\" d=\"M9,33.595l14.911-18.706L41,26v13.306C41,41.346,39.346,43,37.306,43H15.332\tC11.835,43,9,40.164,9,36.667C9,36.667,9,33.595,9,33.595z\"/><linearGradient id=\"word-qh2LT5tehRDFkLLfb-odWa\" x1=\"9\" x2=\"33.506\" y1=\"364.445\" y2=\"364.445\" gradientTransform=\"translate(0 -339.89)\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0\" stop-color=\"#66c0ff\"/><stop offset=\".26\" stop-color=\"#0094f0\"/></linearGradient><path fill=\"url(#word-qh2LT5tehRDFkLLfb-odWa)\" d=\"M9,20.208c0-2.624,2.126-4.75,4.749-4.75h21.857L41,12.778v13.527\tC41,28.346,39.346,30,37.306,30H15.332C11.835,30,9,32.836,9,36.333L9,20.208L9,20.208z\"/><path fill=\"#1e88e5\" fill-opacity=\".6\" d=\"M9,20.208c0-2.624,2.126-4.75,4.749-4.75h21.857L41,12.778v13.527\tC41,28.346,39.346,30,37.306,30H15.332C11.835,30,9,32.836,9,36.333L9,20.208L9,20.208z\"/><path fill=\"#00e5ff\" d=\"M9,10.333C9,6.836,11.835,4,15.332,4h21.975C39.346,4,41,5.654,41,7.694v5.611\tC41,15.346,39.346,17,37.306,17H15.332C11.835,17,9,19.836,9,23.333C9,23.333,9,10.333,9,10.333z\"/><path fill=\"#1565c0\" d=\"M7.5,23h10c1.933,0,3.5,1.567,3.5,3.5v10c0,1.933-1.567,3.5-3.5,3.5h-10C5.567,40,4,38.433,4,36.5\tv-10C4,24.567,5.567,23,7.5,23z\"/><path fill=\"#fff\" d=\"M18.327,26.643l-2.092,9.713l-2.501,0.002L12.5,30.529l-1.293,5.829H8.683l-2.01-9.713h2.062\tl1.24,6.41l1.232-6.41h2.528l1.291,6.41l1.21-6.41L18.327,26.643L18.327,26.643z\"/>";
|
|
81
|
+
readonly color: "#283593";
|
|
82
|
+
readonly viewBox: "0 0 48 48";
|
|
158
83
|
};
|
|
159
84
|
};
|
|
160
85
|
export type FileIconName = keyof typeof FILE_ICONS;
|
|
86
|
+
/** Animated coding-state GIFs (data URIs), keyed by icon name. */
|
|
87
|
+
export declare const FILE_ICON_GIFS: Readonly<Record<string, string>>;
|
package/dist/files/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { FileIcon } from './FileIcon';
|
|
2
|
-
export type { FileIconProps } from './FileIcon';
|
|
1
|
+
export { FileIcon, AnimatedFileIcon, hasCodingAnimation } from './FileIcon';
|
|
2
|
+
export type { FileIconProps, AnimatedFileIconProps } from './FileIcon';
|
|
3
3
|
export { resolveFileIcon, DEFAULT_FILE_ICON, FILE_ICONS, } from './resolve';
|
|
4
|
+
export { FILE_ICON_GIFS } from './icons.generated';
|
|
4
5
|
export type { ResolvedFileIcon, FileIconName, FileIconData } from './resolve';
|
package/dist/files/resolve.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { FILE_ICONS, FileIconName, FileIconData } from './icons.generated';
|
|
2
|
+
/** Generic fallback for unknown/other file types (Office 365 mark). */
|
|
2
3
|
export declare const DEFAULT_FILE_ICON: FileIconName;
|
|
3
4
|
export interface ResolvedFileIcon extends FileIconData {
|
|
4
5
|
readonly name: FileIconName;
|
|
5
6
|
}
|
|
6
7
|
/**
|
|
7
8
|
* Resolve a file's icon from its filename and/or MIME type. Resolution order:
|
|
8
|
-
* exact extension → exact MIME →
|
|
9
|
+
* exact extension → exact MIME → {@link DEFAULT_FILE_ICON}.
|
|
9
10
|
*
|
|
10
11
|
* @param input filename (e.g. `report.docx`) or bare extension (`docx`)
|
|
11
12
|
* @param mimeType optional MIME type to disambiguate extension-less inputs
|