@tensor_1/react 2.56.0 → 2.57.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/README.md +26 -0
- package/component-inventory.json +20 -0
- package/dist/components/Attachment.js +2 -2
- package/dist/components/FileDrop.d.ts +51 -0
- package/dist/components/FileDrop.js +183 -0
- package/dist/components/FileGlyph.d.ts +9 -0
- package/dist/components/{FileIcon.js → FileGlyph.js} +2 -2
- package/dist/components/FileKindIcon.d.ts +36 -0
- package/dist/components/FileKindIcon.js +48 -0
- package/dist/components/FileRow.d.ts +102 -0
- package/dist/components/FileRow.js +164 -0
- package/dist/components/FileUpload.js +2 -2
- package/dist/components/Heartbeat.d.ts +5 -5
- package/dist/file-model.d.ts +41 -3
- package/dist/file-model.js +65 -1
- package/dist/icons/components.d.ts +3 -1
- package/dist/icons/components.js +4 -0
- package/dist/icons/glyphs.d.ts +5 -1
- package/dist/icons/glyphs.js +6 -0
- package/dist/icons.cjs +10 -0
- package/dist/icons.d.cts +7 -25
- package/dist/icons.d.ts +1 -1
- package/dist/index.cjs +2579 -2111
- package/dist/index.d.cts +227 -9
- package/dist/index.d.ts +5 -1
- package/dist/index.js +29 -1
- package/dist/labels-context.d.ts +9 -1
- package/dist/types-B593xJNf.d.cts +26 -0
- package/package.json +1 -1
- package/dist/components/FileIcon.d.ts +0 -9
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useEffect, useRef } from "react";
|
|
4
|
+
import { announcePolite } from "../announce.js";
|
|
5
|
+
import { cx } from "../cx.js";
|
|
6
|
+
import { fillLabel } from "../fill-label.js";
|
|
7
|
+
import { DEFAULT_FILE_KIND_LABELS, fileKind, formatFileSize } from "../file-model.js";
|
|
8
|
+
import { DownloadIcon, EllipsisIcon, XIcon } from "../icons/components.js";
|
|
9
|
+
import { useUixLabels } from "../labels-context.js";
|
|
10
|
+
import { Button } from "./Button.js";
|
|
11
|
+
import { FileKindIcon } from "./FileKindIcon.js";
|
|
12
|
+
const DEFAULT_FILE_ROW_LABELS = {
|
|
13
|
+
download: "{name} herunterladen",
|
|
14
|
+
more: "Weitere Aktionen f\xFCr {name}",
|
|
15
|
+
cancel: "Hochladen von {name} abbrechen",
|
|
16
|
+
uploading: "Wird hochgeladen",
|
|
17
|
+
percent: "{percent} %",
|
|
18
|
+
transferred: "{loaded} von {total}",
|
|
19
|
+
progress: "{name} wird hochgeladen",
|
|
20
|
+
done: "{name} hochgeladen",
|
|
21
|
+
scanning: "Wird auf Schadsoftware gepr\xFCft",
|
|
22
|
+
blocked: "Gesperrt: Schadsoftware gefunden. Nicht gespeichert.",
|
|
23
|
+
failed: "Hochladen fehlgeschlagen. Verbindung unterbrochen.",
|
|
24
|
+
details: "Details",
|
|
25
|
+
retry: "Erneut versuchen"
|
|
26
|
+
};
|
|
27
|
+
const FILE_ROW_LABELS_EN = {
|
|
28
|
+
download: "Download {name}",
|
|
29
|
+
more: "More actions for {name}",
|
|
30
|
+
cancel: "Cancel uploading {name}",
|
|
31
|
+
uploading: "Uploading",
|
|
32
|
+
percent: "{percent}%",
|
|
33
|
+
transferred: "{loaded} of {total}",
|
|
34
|
+
progress: "Uploading {name}",
|
|
35
|
+
done: "{name} uploaded",
|
|
36
|
+
scanning: "Checking for malware",
|
|
37
|
+
blocked: "Blocked: malware found. Not saved.",
|
|
38
|
+
failed: "Upload failed. The connection was interrupted.",
|
|
39
|
+
details: "Details",
|
|
40
|
+
retry: "Try again"
|
|
41
|
+
};
|
|
42
|
+
const clamp = (value) => Math.min(1, Math.max(0, value));
|
|
43
|
+
function FileRow({
|
|
44
|
+
name,
|
|
45
|
+
mime,
|
|
46
|
+
kind,
|
|
47
|
+
typeLabel,
|
|
48
|
+
size,
|
|
49
|
+
meta,
|
|
50
|
+
state = "idle",
|
|
51
|
+
progress,
|
|
52
|
+
loaded,
|
|
53
|
+
message,
|
|
54
|
+
href,
|
|
55
|
+
download,
|
|
56
|
+
onDownload,
|
|
57
|
+
onMoreActions,
|
|
58
|
+
actions,
|
|
59
|
+
onCancel,
|
|
60
|
+
onRetry,
|
|
61
|
+
onDetails,
|
|
62
|
+
density = "default",
|
|
63
|
+
as: Root = "div",
|
|
64
|
+
locale = "de-DE",
|
|
65
|
+
sizeBase,
|
|
66
|
+
formatSize,
|
|
67
|
+
labels: labelsProp,
|
|
68
|
+
kindLabels: kindLabelsProp,
|
|
69
|
+
className,
|
|
70
|
+
style,
|
|
71
|
+
...props
|
|
72
|
+
}) {
|
|
73
|
+
const provided = useUixLabels();
|
|
74
|
+
const labels = { ...DEFAULT_FILE_ROW_LABELS, ...provided.fileRow, ...labelsProp };
|
|
75
|
+
const kindLabels = { ...DEFAULT_FILE_KIND_LABELS, ...provided.fileKinds, ...kindLabelsProp };
|
|
76
|
+
const resolved = kind ?? fileKind(name, mime);
|
|
77
|
+
const sizeText = (bytes) => formatSize ? formatSize(bytes, locale) : formatFileSize(bytes, locale, { base: sizeBase });
|
|
78
|
+
const ratio = clamp(progress ?? (loaded !== void 0 && size ? loaded / size : 0));
|
|
79
|
+
const percent = Math.round(ratio * 100);
|
|
80
|
+
const rootRef = useRef(null);
|
|
81
|
+
const previous = useRef(state);
|
|
82
|
+
useEffect(() => {
|
|
83
|
+
if (previous.current === state) return;
|
|
84
|
+
previous.current = state;
|
|
85
|
+
const words = state === "done" ? fillLabel(labels.done, { name }) : state === "blocked" ? typeof message === "string" ? message : labels.blocked : state === "failed" ? typeof message === "string" ? message : labels.failed : "";
|
|
86
|
+
if (words) announcePolite(state === "done" ? words : `${name}: ${words}`, rootRef.current);
|
|
87
|
+
}, [state, name, message, labels.done, labels.blocked, labels.failed]);
|
|
88
|
+
let line;
|
|
89
|
+
if (state === "uploading") {
|
|
90
|
+
const parts = [labels.uploading, fillLabel(labels.percent, { percent })];
|
|
91
|
+
if (size !== void 0) {
|
|
92
|
+
const total = sizeText(size);
|
|
93
|
+
let done = sizeText(loaded ?? ratio * size);
|
|
94
|
+
const unit = total.slice(total.lastIndexOf(" "));
|
|
95
|
+
if (unit.length > 1 && done.endsWith(unit)) done = done.slice(0, -unit.length);
|
|
96
|
+
parts.push(fillLabel(labels.transferred, { loaded: done, total }));
|
|
97
|
+
}
|
|
98
|
+
line = parts.join(" \xB7 ");
|
|
99
|
+
} else if (state === "scanning") line = labels.scanning;
|
|
100
|
+
else if (state === "blocked") line = message ?? labels.blocked;
|
|
101
|
+
else if (state === "failed") line = message ?? labels.failed;
|
|
102
|
+
else {
|
|
103
|
+
line = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
104
|
+
/* @__PURE__ */ jsx("span", { className: "uix-file-row__kind", children: kindLabels[resolved] }),
|
|
105
|
+
size !== void 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
106
|
+
" \xB7 ",
|
|
107
|
+
sizeText(size)
|
|
108
|
+
] }),
|
|
109
|
+
meta != null && meta !== false && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
110
|
+
" \xB7 ",
|
|
111
|
+
meta
|
|
112
|
+
] })
|
|
113
|
+
] });
|
|
114
|
+
}
|
|
115
|
+
let tools = null;
|
|
116
|
+
if (state === "uploading") {
|
|
117
|
+
tools = onCancel && /* @__PURE__ */ jsx(Button, { type: "button", size: "sm", variant: "ghost", icon: true, className: "uix-file-row__keep", "aria-label": fillLabel(labels.cancel, { name }), onClick: onCancel, children: /* @__PURE__ */ jsx(XIcon, { size: "sm" }) });
|
|
118
|
+
} else if (state === "blocked") {
|
|
119
|
+
tools = onDetails && /* @__PURE__ */ jsx(Button, { type: "button", size: "xs", variant: "secondary", className: "uix-file-row__keep", onClick: onDetails, children: labels.details });
|
|
120
|
+
} else if (state === "failed") {
|
|
121
|
+
tools = onRetry && /* @__PURE__ */ jsx(Button, { type: "button", size: "xs", variant: "secondary", className: "uix-file-row__keep", onClick: onRetry, children: labels.retry });
|
|
122
|
+
} else if (state !== "scanning") {
|
|
123
|
+
tools = actions ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
124
|
+
href ? /* @__PURE__ */ jsx("a", { className: "uix-btn uix-btn--ghost uix-btn--sm uix-btn--icon", href, download: download ?? true, "aria-label": fillLabel(labels.download, { name }), onClick: onDownload, children: /* @__PURE__ */ jsx(DownloadIcon, { size: "sm" }) }) : onDownload && /* @__PURE__ */ jsx(Button, { type: "button", size: "sm", variant: "ghost", icon: true, "aria-label": fillLabel(labels.download, { name }), onClick: onDownload, children: /* @__PURE__ */ jsx(DownloadIcon, { size: "sm" }) }),
|
|
125
|
+
onMoreActions && /* @__PURE__ */ jsx(Button, { type: "button", size: "sm", variant: "ghost", icon: true, "aria-label": fillLabel(labels.more, { name }), "aria-haspopup": "menu", onClick: onMoreActions, children: /* @__PURE__ */ jsx(EllipsisIcon, { size: "sm" }) })
|
|
126
|
+
] });
|
|
127
|
+
}
|
|
128
|
+
const filling = state === "uploading" || state === "done";
|
|
129
|
+
return /* @__PURE__ */ jsxs(
|
|
130
|
+
Root,
|
|
131
|
+
{
|
|
132
|
+
ref: rootRef,
|
|
133
|
+
className: cx("uix-file-row", density === "compact" && "uix-file-row--compact", className),
|
|
134
|
+
"data-file-kind": resolved,
|
|
135
|
+
"data-state": state,
|
|
136
|
+
style: filling ? { "--file-progress": state === "done" ? 1 : ratio, ...style } : style,
|
|
137
|
+
...props,
|
|
138
|
+
children: [
|
|
139
|
+
filling && /* @__PURE__ */ jsx(
|
|
140
|
+
"span",
|
|
141
|
+
{
|
|
142
|
+
className: "uix-file-row__fill",
|
|
143
|
+
...state === "uploading" ? { role: "progressbar", "aria-label": fillLabel(labels.progress, { name }), "aria-valuemin": 0, "aria-valuemax": 100, "aria-valuenow": percent } : { "aria-hidden": true }
|
|
144
|
+
}
|
|
145
|
+
),
|
|
146
|
+
state === "uploading" && /* @__PURE__ */ jsx("span", { className: "uix-file-row__edge", "aria-hidden": "true" }),
|
|
147
|
+
/* @__PURE__ */ jsxs("span", { className: "uix-file-row__icon", children: [
|
|
148
|
+
/* @__PURE__ */ jsx(FileKindIcon, { name, kind: resolved, typeLabel, size: density === "compact" ? "sm" : "md" }),
|
|
149
|
+
state === "done" && /* @__PURE__ */ jsx("span", { className: "uix-file-row__check", "aria-hidden": "true", children: /* @__PURE__ */ jsx("svg", { viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx("path", { d: "M2.5 6.2 5 8.5l4.5-5", pathLength: 1 }) }) })
|
|
150
|
+
] }),
|
|
151
|
+
/* @__PURE__ */ jsxs("span", { className: "uix-file-row__text", children: [
|
|
152
|
+
/* @__PURE__ */ jsx("span", { className: "uix-file-row__name", title: name, children: name }),
|
|
153
|
+
/* @__PURE__ */ jsx("span", { className: "uix-file-row__meta", children: line })
|
|
154
|
+
] }),
|
|
155
|
+
tools && /* @__PURE__ */ jsx("span", { className: "uix-file-row__actions", children: tools })
|
|
156
|
+
]
|
|
157
|
+
}
|
|
158
|
+
);
|
|
159
|
+
}
|
|
160
|
+
export {
|
|
161
|
+
DEFAULT_FILE_ROW_LABELS,
|
|
162
|
+
FILE_ROW_LABELS_EN,
|
|
163
|
+
FileRow
|
|
164
|
+
};
|
|
@@ -8,7 +8,7 @@ import { useUixLabels } from "../labels-context.js";
|
|
|
8
8
|
import { Button } from "./Button.js";
|
|
9
9
|
import { Input } from "./Input.js";
|
|
10
10
|
import { Progress } from "./Progress.js";
|
|
11
|
-
import {
|
|
11
|
+
import { FileGlyph } from "./FileGlyph.js";
|
|
12
12
|
const DEFAULT_FILE_UPLOAD_LABELS = {
|
|
13
13
|
title: "Drop files here",
|
|
14
14
|
choose: "Choose files",
|
|
@@ -120,7 +120,7 @@ function FileUpload({
|
|
|
120
120
|
const statusText = item.status === "uploading" ? fillLabel(labels.uploading, { progress: item.progress ?? 0 }) : item.status === "done" ? labels.done : item.status === "error" ? labels.failed : labels.queued;
|
|
121
121
|
const image = !!item.previewUrl;
|
|
122
122
|
return /* @__PURE__ */ jsxs("li", { className: "uix-filelist__item uix-file-upload__item", "data-status": item.status, children: [
|
|
123
|
-
image ? /* @__PURE__ */ jsx("img", { className: "uix-file-upload__thumb", src: item.previewUrl, alt: "" }) : /* @__PURE__ */ jsx("span", { className: "uix-attachment__icon", children: /* @__PURE__ */ jsx(
|
|
123
|
+
image ? /* @__PURE__ */ jsx("img", { className: "uix-file-upload__thumb", src: item.previewUrl, alt: "" }) : /* @__PURE__ */ jsx("span", { className: "uix-attachment__icon", children: /* @__PURE__ */ jsx(FileGlyph, { name: item.name, type: item.type }) }),
|
|
124
124
|
/* @__PURE__ */ jsxs("div", { className: "uix-file-upload__body", children: [
|
|
125
125
|
/* @__PURE__ */ jsx("span", { className: "uix-file-upload__name", children: item.name }),
|
|
126
126
|
/* @__PURE__ */ jsxs("span", { className: "uix-file-upload__meta", children: [
|
|
@@ -4,8 +4,8 @@ import { HTMLAttributes, ReactNode } from 'react';
|
|
|
4
4
|
type HeartbeatState = 'live' | 'idle' | 'warning' | 'danger';
|
|
5
5
|
interface HeartbeatProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'> {
|
|
6
6
|
/**
|
|
7
|
-
* `live` (default): a green dot
|
|
8
|
-
*
|
|
7
|
+
* `live` (default): a green dot. `warning` / `danger`: the same in that tone. `idle`: a grey
|
|
8
|
+
* dot. The dot is still (2.57): say the state in words beside it.
|
|
9
9
|
*/
|
|
10
10
|
state?: HeartbeatState;
|
|
11
11
|
/**
|
|
@@ -15,9 +15,9 @@ interface HeartbeatProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children
|
|
|
15
15
|
label?: string;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
* The
|
|
19
|
-
*
|
|
20
|
-
*
|
|
18
|
+
* The status dot over `.uix-heartbeat` (HAR-1606), so products stop hand-writing its spans.
|
|
19
|
+
* Decorative unless it has a `label`. Still since 2.57 (Rules for apps: no pulsing on status);
|
|
20
|
+
* the ring span is kept in the markup for compatibility and is not drawn.
|
|
21
21
|
*/
|
|
22
22
|
declare function Heartbeat({ state, label, className, ...props }: HeartbeatProps): react.JSX.Element;
|
|
23
23
|
interface LiveIndicatorProps extends HTMLAttributes<HTMLSpanElement> {
|
package/dist/file-model.d.ts
CHANGED
|
@@ -47,10 +47,48 @@ declare function partitionFiles<F extends {
|
|
|
47
47
|
accepted: F[];
|
|
48
48
|
rejected: FileRejection<F>[];
|
|
49
49
|
};
|
|
50
|
-
/**
|
|
50
|
+
/** The coarse kinds of the object form of `fileKind`, read by `FileUpload` and `Attachment`. */
|
|
51
|
+
type LegacyFileKind = 'image' | 'video' | 'pdf' | 'sheet' | 'archive' | 'text' | 'other';
|
|
52
|
+
/**
|
|
53
|
+
* What a service-desk agent does with a file, as one of eight kinds (file kit 2.57): `img`
|
|
54
|
+
* (Bild), `doc` (Dokument), `sheet` (Tabelle), `mail` (E-Mail), `code` (Code & Konfiguration),
|
|
55
|
+
* `log` (Protokoll), `archive` (Archiv) and `other` (Datei). Each has a colour
|
|
56
|
+
* (`--uix-file-<kind>`) and a glyph; `FileIcon`, `FileRow` and `FileDrop` read it.
|
|
57
|
+
*/
|
|
58
|
+
type FileKind = 'img' | 'doc' | 'sheet' | 'mail' | 'code' | 'log' | 'archive' | 'other';
|
|
59
|
+
/** The eight kinds in display order (`other` last). */
|
|
60
|
+
declare const FILE_KINDS: readonly FileKind[];
|
|
61
|
+
/** The extensions of each kind, lower case and without the dot. `other` has none. */
|
|
62
|
+
declare const FILE_KIND_EXTENSIONS: Readonly<Record<FileKind, readonly string[]>>;
|
|
63
|
+
/** The words for each kind, German by default (`DEFAULT_FILE_KIND_LABELS`). */
|
|
64
|
+
type FileKindLabels = Record<FileKind, string>;
|
|
65
|
+
declare const DEFAULT_FILE_KIND_LABELS: FileKindLabels;
|
|
66
|
+
/** The English kind names, for `labels` or `UixLabelsProvider` (`fileKinds`). */
|
|
67
|
+
declare const FILE_KIND_LABELS_EN: FileKindLabels;
|
|
68
|
+
/**
|
|
69
|
+
* The extension of a file name, lower case and without the dot: `"report.PDF"` → `"pdf"`,
|
|
70
|
+
* `"backup.tar.gz"` → `"gz"`. `""` when the name has none (`"README"`, `"archive."`).
|
|
71
|
+
*/
|
|
72
|
+
declare function fileExtension(name: string): string;
|
|
73
|
+
/**
|
|
74
|
+
* The kind of a file from its name and MIME type (file kit 2.57). A known extension wins,
|
|
75
|
+
* because it is the more specific of the two (a `.log` arrives as `text/plain`, a `.ts` as
|
|
76
|
+
* `video/mp2t`); then the MIME type; then `other`. Pass `''` as the name when only the type is
|
|
77
|
+
* known, as in a drag event before the drop.
|
|
78
|
+
*
|
|
79
|
+
* The object form (`fileKind({ name, type })`) is the older coarse mapping that `FileUpload`
|
|
80
|
+
* and `Attachment` use.
|
|
81
|
+
*/
|
|
82
|
+
declare function fileKind(name: string, mime?: string): FileKind;
|
|
83
|
+
/** @deprecated The coarse kinds of `FileUpload` and `Attachment`; use `fileKind(name, mime)`. */
|
|
51
84
|
declare function fileKind(file: {
|
|
52
85
|
name: string;
|
|
53
86
|
type?: string;
|
|
54
|
-
}):
|
|
87
|
+
}): LegacyFileKind;
|
|
88
|
+
/**
|
|
89
|
+
* The short type label a `FileIcon` shows on its corner: the extension in capitals, at most
|
|
90
|
+
* four letters (`"PDF"`, `"XLSX"`, `"JPEG"`; `"markdown"` → `"MARK"`). `""` without one.
|
|
91
|
+
*/
|
|
92
|
+
declare function fileTypeLabel(name: string): string;
|
|
55
93
|
|
|
56
|
-
export { type FileRejection, type FileRejectionReason, type FileSizeFormatter, type FileSizeOptions, fileKind, fileMatchesAccept, formatFileSize, partitionFiles };
|
|
94
|
+
export { DEFAULT_FILE_KIND_LABELS, FILE_KINDS, FILE_KIND_EXTENSIONS, FILE_KIND_LABELS_EN, type FileKind, type FileKindLabels, type FileRejection, type FileRejectionReason, type FileSizeFormatter, type FileSizeOptions, type LegacyFileKind, fileExtension, fileKind, fileMatchesAccept, fileTypeLabel, formatFileSize, partitionFiles };
|
package/dist/file-model.js
CHANGED
|
@@ -33,7 +33,7 @@ function partitionFiles(files, { accept, maxSize, maxFiles, existing = 0 }) {
|
|
|
33
33
|
}
|
|
34
34
|
return { accepted, rejected };
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function legacyFileKind(file) {
|
|
37
37
|
const type = (file.type ?? "").toLowerCase();
|
|
38
38
|
const ext = file.name.toLowerCase().split(".").pop() ?? "";
|
|
39
39
|
if (type.startsWith("image/") || ["png", "jpg", "jpeg", "gif", "webp", "svg", "heic"].includes(ext)) return "image";
|
|
@@ -44,9 +44,73 @@ function fileKind(file) {
|
|
|
44
44
|
if (type.startsWith("text/") || ["txt", "md", "log", "json", "xml", "doc", "docx", "odt", "rtf"].includes(ext)) return "text";
|
|
45
45
|
return "other";
|
|
46
46
|
}
|
|
47
|
+
const FILE_KINDS = ["img", "doc", "sheet", "mail", "code", "log", "archive", "other"];
|
|
48
|
+
const FILE_KIND_EXTENSIONS = {
|
|
49
|
+
img: ["png", "jpg", "jpeg", "gif", "webp", "heic", "bmp", "svg"],
|
|
50
|
+
doc: ["pdf", "docx", "doc", "odt", "rtf", "pptx", "ppt", "md", "txt"],
|
|
51
|
+
sheet: ["xlsx", "xls", "csv", "ods", "tsv"],
|
|
52
|
+
mail: ["eml", "msg"],
|
|
53
|
+
code: ["json", "yaml", "yml", "xml", "ps1", "sh", "py", "js", "ts", "ini", "conf", "toml"],
|
|
54
|
+
log: ["log", "evtx", "har", "dmp", "trace"],
|
|
55
|
+
archive: ["zip", "7z", "rar", "tar", "gz", "tgz"],
|
|
56
|
+
other: []
|
|
57
|
+
};
|
|
58
|
+
const KIND_BY_EXTENSION = /* @__PURE__ */ new Map();
|
|
59
|
+
for (const kind of FILE_KINDS) for (const ext of FILE_KIND_EXTENSIONS[kind]) KIND_BY_EXTENSION.set(ext, kind);
|
|
60
|
+
const DEFAULT_FILE_KIND_LABELS = {
|
|
61
|
+
img: "Bild",
|
|
62
|
+
doc: "Dokument",
|
|
63
|
+
sheet: "Tabelle",
|
|
64
|
+
mail: "E-Mail",
|
|
65
|
+
code: "Code & Konfiguration",
|
|
66
|
+
log: "Protokoll",
|
|
67
|
+
archive: "Archiv",
|
|
68
|
+
other: "Datei"
|
|
69
|
+
};
|
|
70
|
+
const FILE_KIND_LABELS_EN = {
|
|
71
|
+
img: "Image",
|
|
72
|
+
doc: "Document",
|
|
73
|
+
sheet: "Spreadsheet",
|
|
74
|
+
mail: "Email",
|
|
75
|
+
code: "Code & configuration",
|
|
76
|
+
log: "Log",
|
|
77
|
+
archive: "Archive",
|
|
78
|
+
other: "File"
|
|
79
|
+
};
|
|
80
|
+
function fileExtension(name) {
|
|
81
|
+
const base = name.slice(Math.max(name.lastIndexOf("/"), name.lastIndexOf("\\")) + 1);
|
|
82
|
+
const dot = base.lastIndexOf(".");
|
|
83
|
+
return dot < 0 ? "" : base.slice(dot + 1).toLowerCase();
|
|
84
|
+
}
|
|
85
|
+
function kindOfMime(mime) {
|
|
86
|
+
const m = mime.trim().toLowerCase();
|
|
87
|
+
if (!m) return "other";
|
|
88
|
+
if (m.startsWith("image/")) return "img";
|
|
89
|
+
if (/pdf|msword|wordprocessing|presentation|powerpoint|opendocument\.text|rtf|markdown/.test(m)) return "doc";
|
|
90
|
+
if (/spreadsheet|excel|csv|tab-separated/.test(m)) return "sheet";
|
|
91
|
+
if (/rfc822|outlook/.test(m)) return "mail";
|
|
92
|
+
if (/x-log\b/.test(m)) return "log";
|
|
93
|
+
if (/json|xml|yaml|x-sh|javascript|typescript|x-python|toml/.test(m)) return "code";
|
|
94
|
+
if (/zip|x-7z|x-rar|vnd\.rar|gzip|x-tar|compressed-tar/.test(m)) return "archive";
|
|
95
|
+
if (m === "text/plain") return "doc";
|
|
96
|
+
return "other";
|
|
97
|
+
}
|
|
98
|
+
function fileKind(nameOrFile, mime) {
|
|
99
|
+
if (typeof nameOrFile !== "string") return legacyFileKind(nameOrFile);
|
|
100
|
+
return KIND_BY_EXTENSION.get(fileExtension(nameOrFile)) ?? kindOfMime(mime ?? "");
|
|
101
|
+
}
|
|
102
|
+
function fileTypeLabel(name) {
|
|
103
|
+
return fileExtension(name).slice(0, 4).toUpperCase();
|
|
104
|
+
}
|
|
47
105
|
export {
|
|
106
|
+
DEFAULT_FILE_KIND_LABELS,
|
|
107
|
+
FILE_KINDS,
|
|
108
|
+
FILE_KIND_EXTENSIONS,
|
|
109
|
+
FILE_KIND_LABELS_EN,
|
|
110
|
+
fileExtension,
|
|
48
111
|
fileKind,
|
|
49
112
|
fileMatchesAccept,
|
|
113
|
+
fileTypeLabel,
|
|
50
114
|
formatFileSize,
|
|
51
115
|
partitionFiles
|
|
52
116
|
};
|
|
@@ -77,12 +77,14 @@ declare const FileArchiveIcon: UixIcon;
|
|
|
77
77
|
declare const FileChartColumnIncreasingIcon: UixIcon;
|
|
78
78
|
declare const FileCheckIcon: UixIcon;
|
|
79
79
|
declare const FileCheckCornerIcon: UixIcon;
|
|
80
|
+
declare const FileCodeIcon: UixIcon;
|
|
80
81
|
declare const FileDownIcon: UixIcon;
|
|
81
82
|
declare const FileImageIcon: UixIcon;
|
|
82
83
|
declare const FileInputIcon: UixIcon;
|
|
83
84
|
declare const FileQuestionMarkIcon: UixIcon;
|
|
84
85
|
declare const FileSearchIcon: UixIcon;
|
|
85
86
|
declare const FileSpreadsheetIcon: UixIcon;
|
|
87
|
+
declare const FileTerminalIcon: UixIcon;
|
|
86
88
|
declare const FileTextIcon: UixIcon;
|
|
87
89
|
declare const FileUpIcon: UixIcon;
|
|
88
90
|
declare const FlagIcon: UixIcon;
|
|
@@ -255,4 +257,4 @@ declare const PlayCircleIcon: UixIcon;
|
|
|
255
257
|
declare const SmileIcon: UixIcon;
|
|
256
258
|
declare const XCircleIcon: UixIcon;
|
|
257
259
|
|
|
258
|
-
export { AccessibilityIcon, ActivityIcon, AlertCircleIcon, AlertOctagonIcon, AlertTriangleIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowLeftRightIcon, ArrowRightIcon, ArrowUpDownIcon, ArrowUpIcon, ArrowUpRightIcon, AwardIcon, BadgeCheckIcon, BanknoteIcon, BarChart3Icon, BellIcon, BellOffIcon, BellRingIcon, BookOpenIcon, BookmarkIcon, BotIcon, BoxesIcon, BriefcaseIcon, Building2Icon, CalendarCheckIcon, CalendarClockIcon, CalendarDaysIcon, CalendarIcon, CalendarOffIcon, CalendarXIcon, CameraIcon, ChartColumnIcon, CheckCheckIcon, CheckCircle2Icon, CheckCircleIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownUpIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpDownIcon, CircleAlertIcon, CircleCheckBigIcon, CircleCheckIcon, CircleDotIcon, CircleHelpIcon, CircleIcon, CirclePauseIcon, CirclePlayIcon, CircleQuestionMarkIcon, CircleXIcon, ClipboardCheckIcon, ClipboardListIcon, ClockIcon, CloudIcon, CloudOffIcon, CoinsIcon, Columns3Icon, CommandIcon, ComponentIcon, CopyIcon, CornerUpLeftIcon, CreditCardIcon, DatabaseBackupIcon, DatabaseIcon, DoorOpenIcon, DownloadIcon, EllipsisIcon, EllipsisVerticalIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FaceSlightlySmilingIcon, FileArchiveIcon, FileBarChartIcon, FileChartColumnIncreasingIcon, FileCheck2Icon, FileCheckCornerIcon, FileCheckIcon, FileDownIcon, FileIcon, FileImageIcon, FileInputIcon, FileQuestionIcon, FileQuestionMarkIcon, FileSearchIcon, FileSpreadsheetIcon, FileTextIcon, FileUpIcon, FilterIcon, FlagIcon, FolderCheckIcon, FolderKanbanIcon, FolderTreeIcon, FunnelIcon, GanttChartSquareIcon, GaugeIcon, GitBranchIcon, GitBranchPlusIcon, GitCompareArrowsIcon, GitMergeIcon, GitPullRequestArrowIcon, GitPullRequestClosedIcon, GlobeIcon, GraduationCapIcon, Grid3x3Icon, GripVerticalIcon, HandHeartIcon, HeartIcon, HeartPulseIcon, HexagonIcon, HistoryIcon, HourglassIcon, HouseIcon, IdCardIcon, ImageIcon, InboxIcon, InfoIcon, KeyIcon, KeyRoundIcon, LanguagesIcon, LaptopIcon, LayersIcon, LayoutDashboardIcon, LayoutTemplateIcon, LibraryIcon, LifeBuoyIcon, LightbulbIcon, Link2Icon, Link2OffIcon, LinkIcon, ListChecksIcon, ListFilterIcon, ListTreeIcon, Loader2Icon, LoaderCircleIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MapPinIcon, Maximize2Icon, MegaphoneIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, Minimize2Icon, MinusIcon, MonitorCogIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, NewspaperIcon, NotebookPenIcon, OctagonAlertIcon, PackageIcon, PackageOpenIcon, PackageSearchIcon, PaletteIcon, PanelLeftIcon, PaperclipIcon, PartyPopperIcon, PauseCircleIcon, PauseIcon, PenLineIcon, PencilIcon, PhoneIcon, PlaneIcon, PlayCircleIcon, PlayIcon, PlugIcon, PlusIcon, PrinterIcon, QrCodeIcon, RadioIcon, RadioTowerIcon, ReceiptIcon, RefreshCwIcon, RotateCcwClockIcon, RotateCcwIcon, RouteIcon, Rows2Icon, Rows3Icon, Rows4Icon, SaveIcon, ScaleIcon, ScanBarcodeIcon, ScanIcon, ScanSearchIcon, ScrollTextIcon, SearchIcon, SearchXIcon, SendIcon, ServerIcon, Settings2Icon, SettingsIcon, ShapesIcon, Share2Icon, ShieldAlertIcon, ShieldCheckIcon, ShieldHalfIcon, ShieldIcon, ShieldOffIcon, ShieldXIcon, ShoppingCartIcon, SignpostIcon, SirenIcon, SlidersHorizontalIcon, SmileIcon, SparklesIcon, SquareChartGanttIcon, SquareIcon, StampIcon, StarIcon, StarOffIcon, StoreIcon, SunIcon, TagIcon, TagsIcon, ThumbsDownIcon, ThumbsUpIcon, TicketIcon, TimerIcon, TimerOffIcon, Trash2Icon, TrendingDownIcon, TrendingUpIcon, TriangleAlertIcon, UnlinkIcon, UploadIcon, UserCheckIcon, UserCogIcon, UserIcon, UserPlusIcon, UserRoundIcon, UserXIcon, UsersIcon, UsersRoundIcon, WalletIcon, WaypointsIcon, WebhookIcon, WifiIcon, WifiOffIcon, WorkflowIcon, WrenchIcon, XCircleIcon, XIcon, ZapIcon };
|
|
260
|
+
export { AccessibilityIcon, ActivityIcon, AlertCircleIcon, AlertOctagonIcon, AlertTriangleIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowLeftRightIcon, ArrowRightIcon, ArrowUpDownIcon, ArrowUpIcon, ArrowUpRightIcon, AwardIcon, BadgeCheckIcon, BanknoteIcon, BarChart3Icon, BellIcon, BellOffIcon, BellRingIcon, BookOpenIcon, BookmarkIcon, BotIcon, BoxesIcon, BriefcaseIcon, Building2Icon, CalendarCheckIcon, CalendarClockIcon, CalendarDaysIcon, CalendarIcon, CalendarOffIcon, CalendarXIcon, CameraIcon, ChartColumnIcon, CheckCheckIcon, CheckCircle2Icon, CheckCircleIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownUpIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpDownIcon, CircleAlertIcon, CircleCheckBigIcon, CircleCheckIcon, CircleDotIcon, CircleHelpIcon, CircleIcon, CirclePauseIcon, CirclePlayIcon, CircleQuestionMarkIcon, CircleXIcon, ClipboardCheckIcon, ClipboardListIcon, ClockIcon, CloudIcon, CloudOffIcon, CoinsIcon, Columns3Icon, CommandIcon, ComponentIcon, CopyIcon, CornerUpLeftIcon, CreditCardIcon, DatabaseBackupIcon, DatabaseIcon, DoorOpenIcon, DownloadIcon, EllipsisIcon, EllipsisVerticalIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FaceSlightlySmilingIcon, FileArchiveIcon, FileBarChartIcon, FileChartColumnIncreasingIcon, FileCheck2Icon, FileCheckCornerIcon, FileCheckIcon, FileCodeIcon, FileDownIcon, FileIcon, FileImageIcon, FileInputIcon, FileQuestionIcon, FileQuestionMarkIcon, FileSearchIcon, FileSpreadsheetIcon, FileTerminalIcon, FileTextIcon, FileUpIcon, FilterIcon, FlagIcon, FolderCheckIcon, FolderKanbanIcon, FolderTreeIcon, FunnelIcon, GanttChartSquareIcon, GaugeIcon, GitBranchIcon, GitBranchPlusIcon, GitCompareArrowsIcon, GitMergeIcon, GitPullRequestArrowIcon, GitPullRequestClosedIcon, GlobeIcon, GraduationCapIcon, Grid3x3Icon, GripVerticalIcon, HandHeartIcon, HeartIcon, HeartPulseIcon, HexagonIcon, HistoryIcon, HourglassIcon, HouseIcon, IdCardIcon, ImageIcon, InboxIcon, InfoIcon, KeyIcon, KeyRoundIcon, LanguagesIcon, LaptopIcon, LayersIcon, LayoutDashboardIcon, LayoutTemplateIcon, LibraryIcon, LifeBuoyIcon, LightbulbIcon, Link2Icon, Link2OffIcon, LinkIcon, ListChecksIcon, ListFilterIcon, ListTreeIcon, Loader2Icon, LoaderCircleIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MapPinIcon, Maximize2Icon, MegaphoneIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, Minimize2Icon, MinusIcon, MonitorCogIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, NewspaperIcon, NotebookPenIcon, OctagonAlertIcon, PackageIcon, PackageOpenIcon, PackageSearchIcon, PaletteIcon, PanelLeftIcon, PaperclipIcon, PartyPopperIcon, PauseCircleIcon, PauseIcon, PenLineIcon, PencilIcon, PhoneIcon, PlaneIcon, PlayCircleIcon, PlayIcon, PlugIcon, PlusIcon, PrinterIcon, QrCodeIcon, RadioIcon, RadioTowerIcon, ReceiptIcon, RefreshCwIcon, RotateCcwClockIcon, RotateCcwIcon, RouteIcon, Rows2Icon, Rows3Icon, Rows4Icon, SaveIcon, ScaleIcon, ScanBarcodeIcon, ScanIcon, ScanSearchIcon, ScrollTextIcon, SearchIcon, SearchXIcon, SendIcon, ServerIcon, Settings2Icon, SettingsIcon, ShapesIcon, Share2Icon, ShieldAlertIcon, ShieldCheckIcon, ShieldHalfIcon, ShieldIcon, ShieldOffIcon, ShieldXIcon, ShoppingCartIcon, SignpostIcon, SirenIcon, SlidersHorizontalIcon, SmileIcon, SparklesIcon, SquareChartGanttIcon, SquareIcon, StampIcon, StarIcon, StarOffIcon, StoreIcon, SunIcon, TagIcon, TagsIcon, ThumbsDownIcon, ThumbsUpIcon, TicketIcon, TimerIcon, TimerOffIcon, Trash2Icon, TrendingDownIcon, TrendingUpIcon, TriangleAlertIcon, UnlinkIcon, UploadIcon, UserCheckIcon, UserCogIcon, UserIcon, UserPlusIcon, UserRoundIcon, UserXIcon, UsersIcon, UsersRoundIcon, WalletIcon, WaypointsIcon, WebhookIcon, WifiIcon, WifiOffIcon, WorkflowIcon, WrenchIcon, XCircleIcon, XIcon, ZapIcon };
|
package/dist/icons/components.js
CHANGED
|
@@ -76,12 +76,14 @@ const FileArchiveIcon = /* @__PURE__ */ createIcon("FileArchiveIcon", g.glyphFil
|
|
|
76
76
|
const FileChartColumnIncreasingIcon = /* @__PURE__ */ createIcon("FileChartColumnIncreasingIcon", g.glyphFileChartColumnIncreasing);
|
|
77
77
|
const FileCheckIcon = /* @__PURE__ */ createIcon("FileCheckIcon", g.glyphFileCheck);
|
|
78
78
|
const FileCheckCornerIcon = /* @__PURE__ */ createIcon("FileCheckCornerIcon", g.glyphFileCheckCorner);
|
|
79
|
+
const FileCodeIcon = /* @__PURE__ */ createIcon("FileCodeIcon", g.glyphFileCode);
|
|
79
80
|
const FileDownIcon = /* @__PURE__ */ createIcon("FileDownIcon", g.glyphFileDown);
|
|
80
81
|
const FileImageIcon = /* @__PURE__ */ createIcon("FileImageIcon", g.glyphFileImage);
|
|
81
82
|
const FileInputIcon = /* @__PURE__ */ createIcon("FileInputIcon", g.glyphFileInput);
|
|
82
83
|
const FileQuestionMarkIcon = /* @__PURE__ */ createIcon("FileQuestionMarkIcon", g.glyphFileQuestionMark);
|
|
83
84
|
const FileSearchIcon = /* @__PURE__ */ createIcon("FileSearchIcon", g.glyphFileSearch);
|
|
84
85
|
const FileSpreadsheetIcon = /* @__PURE__ */ createIcon("FileSpreadsheetIcon", g.glyphFileSpreadsheet);
|
|
86
|
+
const FileTerminalIcon = /* @__PURE__ */ createIcon("FileTerminalIcon", g.glyphFileTerminal);
|
|
85
87
|
const FileTextIcon = /* @__PURE__ */ createIcon("FileTextIcon", g.glyphFileText);
|
|
86
88
|
const FileUpIcon = /* @__PURE__ */ createIcon("FileUpIcon", g.glyphFileUp);
|
|
87
89
|
const FlagIcon = /* @__PURE__ */ createIcon("FlagIcon", g.glyphFlag);
|
|
@@ -338,6 +340,7 @@ export {
|
|
|
338
340
|
FileCheck2Icon,
|
|
339
341
|
FileCheckCornerIcon,
|
|
340
342
|
FileCheckIcon,
|
|
343
|
+
FileCodeIcon,
|
|
341
344
|
FileDownIcon,
|
|
342
345
|
FileIcon,
|
|
343
346
|
FileImageIcon,
|
|
@@ -346,6 +349,7 @@ export {
|
|
|
346
349
|
FileQuestionMarkIcon,
|
|
347
350
|
FileSearchIcon,
|
|
348
351
|
FileSpreadsheetIcon,
|
|
352
|
+
FileTerminalIcon,
|
|
349
353
|
FileTextIcon,
|
|
350
354
|
FileUpIcon,
|
|
351
355
|
FilterIcon,
|
package/dist/icons/glyphs.d.ts
CHANGED
|
@@ -77,12 +77,14 @@ declare const glyphFileArchive: IconNode;
|
|
|
77
77
|
declare const glyphFileChartColumnIncreasing: IconNode;
|
|
78
78
|
declare const glyphFileCheck: IconNode;
|
|
79
79
|
declare const glyphFileCheckCorner: IconNode;
|
|
80
|
+
declare const glyphFileCode: IconNode;
|
|
80
81
|
declare const glyphFileDown: IconNode;
|
|
81
82
|
declare const glyphFileImage: IconNode;
|
|
82
83
|
declare const glyphFileInput: IconNode;
|
|
83
84
|
declare const glyphFileQuestionMark: IconNode;
|
|
84
85
|
declare const glyphFileSearch: IconNode;
|
|
85
86
|
declare const glyphFileSpreadsheet: IconNode;
|
|
87
|
+
declare const glyphFileTerminal: IconNode;
|
|
86
88
|
declare const glyphFileText: IconNode;
|
|
87
89
|
declare const glyphFileUp: IconNode;
|
|
88
90
|
declare const glyphFlag: IconNode;
|
|
@@ -313,12 +315,14 @@ declare const ICON_GLYPHS: {
|
|
|
313
315
|
readonly 'file-chart-column-increasing': IconNode;
|
|
314
316
|
readonly 'file-check': IconNode;
|
|
315
317
|
readonly 'file-check-corner': IconNode;
|
|
318
|
+
readonly 'file-code': IconNode;
|
|
316
319
|
readonly 'file-down': IconNode;
|
|
317
320
|
readonly 'file-image': IconNode;
|
|
318
321
|
readonly 'file-input': IconNode;
|
|
319
322
|
readonly 'file-question-mark': IconNode;
|
|
320
323
|
readonly 'file-search': IconNode;
|
|
321
324
|
readonly 'file-spreadsheet': IconNode;
|
|
325
|
+
readonly 'file-terminal': IconNode;
|
|
322
326
|
readonly 'file-text': IconNode;
|
|
323
327
|
readonly 'file-up': IconNode;
|
|
324
328
|
readonly flag: IconNode;
|
|
@@ -475,4 +479,4 @@ declare const ICON_GLYPHS: {
|
|
|
475
479
|
/** A glyph name for `<Icon name>`. */
|
|
476
480
|
type IconName = keyof typeof ICON_GLYPHS;
|
|
477
481
|
|
|
478
|
-
export { ICON_GLYPHS, type IconName, glyphAccessibility, glyphActivity, glyphArchive, glyphArrowDown, glyphArrowLeft, glyphArrowLeftRight, glyphArrowRight, glyphArrowUp, glyphArrowUpDown, glyphArrowUpRight, glyphAward, glyphBadgeCheck, glyphBanknote, glyphBell, glyphBellOff, glyphBellRing, glyphBookOpen, glyphBookmark, glyphBot, glyphBoxes, glyphBriefcase, glyphBuilding2, glyphCalendar, glyphCalendarCheck, glyphCalendarClock, glyphCalendarDays, glyphCalendarOff, glyphCalendarX, glyphCamera, glyphChartColumn, glyphCheck, glyphCheckCheck, glyphChevronDown, glyphChevronLeft, glyphChevronRight, glyphChevronUp, glyphChevronsDownUp, glyphChevronsLeft, glyphChevronsRight, glyphChevronsUpDown, glyphCircle, glyphCircleAlert, glyphCircleCheck, glyphCircleCheckBig, glyphCircleDot, glyphCirclePause, glyphCirclePlay, glyphCircleQuestionMark, glyphCircleX, glyphClipboardCheck, glyphClipboardList, glyphClock, glyphCloud, glyphCloudOff, glyphCoins, glyphColumns3, glyphCommand, glyphComponent, glyphCopy, glyphCornerUpLeft, glyphCreditCard, glyphDatabase, glyphDatabaseBackup, glyphDoorOpen, glyphDownload, glyphEllipsis, glyphEllipsisVertical, glyphExternalLink, glyphEye, glyphEyeOff, glyphFaceSlightlySmiling, glyphFile, glyphFileArchive, glyphFileChartColumnIncreasing, glyphFileCheck, glyphFileCheckCorner, glyphFileDown, glyphFileImage, glyphFileInput, glyphFileQuestionMark, glyphFileSearch, glyphFileSpreadsheet, glyphFileText, glyphFileUp, glyphFlag, glyphFolderCheck, glyphFolderKanban, glyphFolderTree, glyphFunnel, glyphGauge, glyphGitBranch, glyphGitBranchPlus, glyphGitCompareArrows, glyphGitMerge, glyphGitPullRequestArrow, glyphGitPullRequestClosed, glyphGlobe, glyphGraduationCap, glyphGrid3x3, glyphGripVertical, glyphHandHeart, glyphHeart, glyphHeartPulse, glyphHexagon, glyphHourglass, glyphHouse, glyphIdCard, glyphImage, glyphInbox, glyphInfo, glyphKey, glyphKeyRound, glyphLanguages, glyphLaptop, glyphLayers, glyphLayoutDashboard, glyphLayoutTemplate, glyphLibrary, glyphLifeBuoy, glyphLightbulb, glyphLink, glyphLink2, glyphLink2Off, glyphListChecks, glyphListFilter, glyphListTree, glyphLoaderCircle, glyphLock, glyphLogIn, glyphLogOut, glyphMail, glyphMapPin, glyphMaximize2, glyphMegaphone, glyphMenu, glyphMessageCircle, glyphMessageSquare, glyphMinimize2, glyphMinus, glyphMonitor, glyphMonitorCog, glyphMoon, glyphNewspaper, glyphNotebookPen, glyphOctagonAlert, glyphPackage, glyphPackageOpen, glyphPackageSearch, glyphPalette, glyphPanelLeft, glyphPaperclip, glyphPartyPopper, glyphPause, glyphPenLine, glyphPencil, glyphPhone, glyphPlane, glyphPlay, glyphPlug, glyphPlus, glyphPrinter, glyphQrCode, glyphRadio, glyphRadioTower, glyphReceipt, glyphRefreshCw, glyphRotateCcw, glyphRotateCcwClock, glyphRoute, glyphRows2, glyphRows3, glyphRows4, glyphSave, glyphScale, glyphScan, glyphScanBarcode, glyphScanSearch, glyphScrollText, glyphSearch, glyphSearchX, glyphSend, glyphServer, glyphSettings, glyphSettings2, glyphShapes, glyphShare2, glyphShield, glyphShieldAlert, glyphShieldCheck, glyphShieldHalf, glyphShieldOff, glyphShieldX, glyphShoppingCart, glyphSignpost, glyphSiren, glyphSlidersHorizontal, glyphSparkles, glyphSquare, glyphSquareChartGantt, glyphStamp, glyphStar, glyphStarOff, glyphStore, glyphSun, glyphTag, glyphTags, glyphThumbsDown, glyphThumbsUp, glyphTicket, glyphTimer, glyphTimerOff, glyphTrash2, glyphTrendingDown, glyphTrendingUp, glyphTriangleAlert, glyphUnlink, glyphUpload, glyphUser, glyphUserCheck, glyphUserCog, glyphUserPlus, glyphUserRound, glyphUserX, glyphUsers, glyphUsersRound, glyphWallet, glyphWaypoints, glyphWebhook, glyphWifi, glyphWifiOff, glyphWorkflow, glyphWrench, glyphX, glyphZap };
|
|
482
|
+
export { ICON_GLYPHS, type IconName, glyphAccessibility, glyphActivity, glyphArchive, glyphArrowDown, glyphArrowLeft, glyphArrowLeftRight, glyphArrowRight, glyphArrowUp, glyphArrowUpDown, glyphArrowUpRight, glyphAward, glyphBadgeCheck, glyphBanknote, glyphBell, glyphBellOff, glyphBellRing, glyphBookOpen, glyphBookmark, glyphBot, glyphBoxes, glyphBriefcase, glyphBuilding2, glyphCalendar, glyphCalendarCheck, glyphCalendarClock, glyphCalendarDays, glyphCalendarOff, glyphCalendarX, glyphCamera, glyphChartColumn, glyphCheck, glyphCheckCheck, glyphChevronDown, glyphChevronLeft, glyphChevronRight, glyphChevronUp, glyphChevronsDownUp, glyphChevronsLeft, glyphChevronsRight, glyphChevronsUpDown, glyphCircle, glyphCircleAlert, glyphCircleCheck, glyphCircleCheckBig, glyphCircleDot, glyphCirclePause, glyphCirclePlay, glyphCircleQuestionMark, glyphCircleX, glyphClipboardCheck, glyphClipboardList, glyphClock, glyphCloud, glyphCloudOff, glyphCoins, glyphColumns3, glyphCommand, glyphComponent, glyphCopy, glyphCornerUpLeft, glyphCreditCard, glyphDatabase, glyphDatabaseBackup, glyphDoorOpen, glyphDownload, glyphEllipsis, glyphEllipsisVertical, glyphExternalLink, glyphEye, glyphEyeOff, glyphFaceSlightlySmiling, glyphFile, glyphFileArchive, glyphFileChartColumnIncreasing, glyphFileCheck, glyphFileCheckCorner, glyphFileCode, glyphFileDown, glyphFileImage, glyphFileInput, glyphFileQuestionMark, glyphFileSearch, glyphFileSpreadsheet, glyphFileTerminal, glyphFileText, glyphFileUp, glyphFlag, glyphFolderCheck, glyphFolderKanban, glyphFolderTree, glyphFunnel, glyphGauge, glyphGitBranch, glyphGitBranchPlus, glyphGitCompareArrows, glyphGitMerge, glyphGitPullRequestArrow, glyphGitPullRequestClosed, glyphGlobe, glyphGraduationCap, glyphGrid3x3, glyphGripVertical, glyphHandHeart, glyphHeart, glyphHeartPulse, glyphHexagon, glyphHourglass, glyphHouse, glyphIdCard, glyphImage, glyphInbox, glyphInfo, glyphKey, glyphKeyRound, glyphLanguages, glyphLaptop, glyphLayers, glyphLayoutDashboard, glyphLayoutTemplate, glyphLibrary, glyphLifeBuoy, glyphLightbulb, glyphLink, glyphLink2, glyphLink2Off, glyphListChecks, glyphListFilter, glyphListTree, glyphLoaderCircle, glyphLock, glyphLogIn, glyphLogOut, glyphMail, glyphMapPin, glyphMaximize2, glyphMegaphone, glyphMenu, glyphMessageCircle, glyphMessageSquare, glyphMinimize2, glyphMinus, glyphMonitor, glyphMonitorCog, glyphMoon, glyphNewspaper, glyphNotebookPen, glyphOctagonAlert, glyphPackage, glyphPackageOpen, glyphPackageSearch, glyphPalette, glyphPanelLeft, glyphPaperclip, glyphPartyPopper, glyphPause, glyphPenLine, glyphPencil, glyphPhone, glyphPlane, glyphPlay, glyphPlug, glyphPlus, glyphPrinter, glyphQrCode, glyphRadio, glyphRadioTower, glyphReceipt, glyphRefreshCw, glyphRotateCcw, glyphRotateCcwClock, glyphRoute, glyphRows2, glyphRows3, glyphRows4, glyphSave, glyphScale, glyphScan, glyphScanBarcode, glyphScanSearch, glyphScrollText, glyphSearch, glyphSearchX, glyphSend, glyphServer, glyphSettings, glyphSettings2, glyphShapes, glyphShare2, glyphShield, glyphShieldAlert, glyphShieldCheck, glyphShieldHalf, glyphShieldOff, glyphShieldX, glyphShoppingCart, glyphSignpost, glyphSiren, glyphSlidersHorizontal, glyphSparkles, glyphSquare, glyphSquareChartGantt, glyphStamp, glyphStar, glyphStarOff, glyphStore, glyphSun, glyphTag, glyphTags, glyphThumbsDown, glyphThumbsUp, glyphTicket, glyphTimer, glyphTimerOff, glyphTrash2, glyphTrendingDown, glyphTrendingUp, glyphTriangleAlert, glyphUnlink, glyphUpload, glyphUser, glyphUserCheck, glyphUserCog, glyphUserPlus, glyphUserRound, glyphUserX, glyphUsers, glyphUsersRound, glyphWallet, glyphWaypoints, glyphWebhook, glyphWifi, glyphWifiOff, glyphWorkflow, glyphWrench, glyphX, glyphZap };
|
package/dist/icons/glyphs.js
CHANGED
|
@@ -74,12 +74,14 @@ const glyphFileArchive = [["path", { "d": "M13.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4
|
|
|
74
74
|
const glyphFileChartColumnIncreasing = [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["path", { "d": "M8 18v-2" }], ["path", { "d": "M12 18v-4" }], ["path", { "d": "M16 18v-6" }]];
|
|
75
75
|
const glyphFileCheck = [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["path", { "d": "m9 15 2 2 4-4" }]];
|
|
76
76
|
const glyphFileCheckCorner = [["path", { "d": "M10.5 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v6" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["path", { "d": "m14 20 2 2 4-4" }]];
|
|
77
|
+
const glyphFileCode = [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["path", { "d": "M10 12.5 8 15l2 2.5" }], ["path", { "d": "m14 12.5 2 2.5-2 2.5" }]];
|
|
77
78
|
const glyphFileDown = [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["path", { "d": "M12 18v-6" }], ["path", { "d": "m9 15 3 3 3-3" }]];
|
|
78
79
|
const glyphFileImage = [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["circle", { "cx": "10", "cy": "12", "r": "2" }], ["path", { "d": "m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22" }]];
|
|
79
80
|
const glyphFileInput = [["path", { "d": "M4 11V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-1" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["path", { "d": "M2 15h10" }], ["path", { "d": "m9 18 3-3-3-3" }]];
|
|
80
81
|
const glyphFileQuestionMark = [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M12 17h.01" }], ["path", { "d": "M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3" }]];
|
|
81
82
|
const glyphFileSearch = [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["circle", { "cx": "11.5", "cy": "14.5", "r": "2.5" }], ["path", { "d": "M13.3 16.3 15 18" }]];
|
|
82
83
|
const glyphFileSpreadsheet = [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["path", { "d": "M8 13h2" }], ["path", { "d": "M14 13h2" }], ["path", { "d": "M8 17h2" }], ["path", { "d": "M14 17h2" }]];
|
|
84
|
+
const glyphFileTerminal = [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["path", { "d": "m8 16 2-2-2-2" }], ["path", { "d": "M12 18h4" }]];
|
|
83
85
|
const glyphFileText = [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["path", { "d": "M10 9H8" }], ["path", { "d": "M16 13H8" }], ["path", { "d": "M16 17H8" }]];
|
|
84
86
|
const glyphFileUp = [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["path", { "d": "M12 12v6" }], ["path", { "d": "m15 15-3-3-3 3" }]];
|
|
85
87
|
const glyphFlag = [["path", { "d": "M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528" }]];
|
|
@@ -309,12 +311,14 @@ const ICON_GLYPHS = {
|
|
|
309
311
|
"file-chart-column-increasing": glyphFileChartColumnIncreasing,
|
|
310
312
|
"file-check": glyphFileCheck,
|
|
311
313
|
"file-check-corner": glyphFileCheckCorner,
|
|
314
|
+
"file-code": glyphFileCode,
|
|
312
315
|
"file-down": glyphFileDown,
|
|
313
316
|
"file-image": glyphFileImage,
|
|
314
317
|
"file-input": glyphFileInput,
|
|
315
318
|
"file-question-mark": glyphFileQuestionMark,
|
|
316
319
|
"file-search": glyphFileSearch,
|
|
317
320
|
"file-spreadsheet": glyphFileSpreadsheet,
|
|
321
|
+
"file-terminal": glyphFileTerminal,
|
|
318
322
|
"file-text": glyphFileText,
|
|
319
323
|
"file-up": glyphFileUp,
|
|
320
324
|
"flag": glyphFlag,
|
|
@@ -546,12 +550,14 @@ export {
|
|
|
546
550
|
glyphFileChartColumnIncreasing,
|
|
547
551
|
glyphFileCheck,
|
|
548
552
|
glyphFileCheckCorner,
|
|
553
|
+
glyphFileCode,
|
|
549
554
|
glyphFileDown,
|
|
550
555
|
glyphFileImage,
|
|
551
556
|
glyphFileInput,
|
|
552
557
|
glyphFileQuestionMark,
|
|
553
558
|
glyphFileSearch,
|
|
554
559
|
glyphFileSpreadsheet,
|
|
560
|
+
glyphFileTerminal,
|
|
555
561
|
glyphFileText,
|
|
556
562
|
glyphFileUp,
|
|
557
563
|
glyphFlag,
|
package/dist/icons.cjs
CHANGED
|
@@ -104,6 +104,7 @@ __export(icons_exports, {
|
|
|
104
104
|
FileCheck2Icon: () => FileCheck2Icon,
|
|
105
105
|
FileCheckCornerIcon: () => FileCheckCornerIcon,
|
|
106
106
|
FileCheckIcon: () => FileCheckIcon,
|
|
107
|
+
FileCodeIcon: () => FileCodeIcon,
|
|
107
108
|
FileDownIcon: () => FileDownIcon,
|
|
108
109
|
FileIcon: () => FileIcon,
|
|
109
110
|
FileImageIcon: () => FileImageIcon,
|
|
@@ -112,6 +113,7 @@ __export(icons_exports, {
|
|
|
112
113
|
FileQuestionMarkIcon: () => FileQuestionMarkIcon,
|
|
113
114
|
FileSearchIcon: () => FileSearchIcon,
|
|
114
115
|
FileSpreadsheetIcon: () => FileSpreadsheetIcon,
|
|
116
|
+
FileTerminalIcon: () => FileTerminalIcon,
|
|
115
117
|
FileTextIcon: () => FileTextIcon,
|
|
116
118
|
FileUpIcon: () => FileUpIcon,
|
|
117
119
|
FilterIcon: () => FilterIcon,
|
|
@@ -400,12 +402,14 @@ var glyphFileArchive = [["path", { "d": "M13.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0
|
|
|
400
402
|
var glyphFileChartColumnIncreasing = [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["path", { "d": "M8 18v-2" }], ["path", { "d": "M12 18v-4" }], ["path", { "d": "M16 18v-6" }]];
|
|
401
403
|
var glyphFileCheck = [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["path", { "d": "m9 15 2 2 4-4" }]];
|
|
402
404
|
var glyphFileCheckCorner = [["path", { "d": "M10.5 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v6" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["path", { "d": "m14 20 2 2 4-4" }]];
|
|
405
|
+
var glyphFileCode = [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["path", { "d": "M10 12.5 8 15l2 2.5" }], ["path", { "d": "m14 12.5 2 2.5-2 2.5" }]];
|
|
403
406
|
var glyphFileDown = [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["path", { "d": "M12 18v-6" }], ["path", { "d": "m9 15 3 3 3-3" }]];
|
|
404
407
|
var glyphFileImage = [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["circle", { "cx": "10", "cy": "12", "r": "2" }], ["path", { "d": "m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22" }]];
|
|
405
408
|
var glyphFileInput = [["path", { "d": "M4 11V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-1" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["path", { "d": "M2 15h10" }], ["path", { "d": "m9 18 3-3-3-3" }]];
|
|
406
409
|
var glyphFileQuestionMark = [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M12 17h.01" }], ["path", { "d": "M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3" }]];
|
|
407
410
|
var glyphFileSearch = [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["circle", { "cx": "11.5", "cy": "14.5", "r": "2.5" }], ["path", { "d": "M13.3 16.3 15 18" }]];
|
|
408
411
|
var glyphFileSpreadsheet = [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["path", { "d": "M8 13h2" }], ["path", { "d": "M14 13h2" }], ["path", { "d": "M8 17h2" }], ["path", { "d": "M14 17h2" }]];
|
|
412
|
+
var glyphFileTerminal = [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["path", { "d": "m8 16 2-2-2-2" }], ["path", { "d": "M12 18h4" }]];
|
|
409
413
|
var glyphFileText = [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["path", { "d": "M10 9H8" }], ["path", { "d": "M16 13H8" }], ["path", { "d": "M16 17H8" }]];
|
|
410
414
|
var glyphFileUp = [["path", { "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }], ["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }], ["path", { "d": "M12 12v6" }], ["path", { "d": "m15 15-3-3-3 3" }]];
|
|
411
415
|
var glyphFlag = [["path", { "d": "M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528" }]];
|
|
@@ -635,12 +639,14 @@ var ICON_GLYPHS = {
|
|
|
635
639
|
"file-chart-column-increasing": glyphFileChartColumnIncreasing,
|
|
636
640
|
"file-check": glyphFileCheck,
|
|
637
641
|
"file-check-corner": glyphFileCheckCorner,
|
|
642
|
+
"file-code": glyphFileCode,
|
|
638
643
|
"file-down": glyphFileDown,
|
|
639
644
|
"file-image": glyphFileImage,
|
|
640
645
|
"file-input": glyphFileInput,
|
|
641
646
|
"file-question-mark": glyphFileQuestionMark,
|
|
642
647
|
"file-search": glyphFileSearch,
|
|
643
648
|
"file-spreadsheet": glyphFileSpreadsheet,
|
|
649
|
+
"file-terminal": glyphFileTerminal,
|
|
644
650
|
"file-text": glyphFileText,
|
|
645
651
|
"file-up": glyphFileUp,
|
|
646
652
|
"flag": glyphFlag,
|
|
@@ -877,12 +883,14 @@ var FileArchiveIcon = /* @__PURE__ */ createIcon("FileArchiveIcon", glyphFileArc
|
|
|
877
883
|
var FileChartColumnIncreasingIcon = /* @__PURE__ */ createIcon("FileChartColumnIncreasingIcon", glyphFileChartColumnIncreasing);
|
|
878
884
|
var FileCheckIcon = /* @__PURE__ */ createIcon("FileCheckIcon", glyphFileCheck);
|
|
879
885
|
var FileCheckCornerIcon = /* @__PURE__ */ createIcon("FileCheckCornerIcon", glyphFileCheckCorner);
|
|
886
|
+
var FileCodeIcon = /* @__PURE__ */ createIcon("FileCodeIcon", glyphFileCode);
|
|
880
887
|
var FileDownIcon = /* @__PURE__ */ createIcon("FileDownIcon", glyphFileDown);
|
|
881
888
|
var FileImageIcon = /* @__PURE__ */ createIcon("FileImageIcon", glyphFileImage);
|
|
882
889
|
var FileInputIcon = /* @__PURE__ */ createIcon("FileInputIcon", glyphFileInput);
|
|
883
890
|
var FileQuestionMarkIcon = /* @__PURE__ */ createIcon("FileQuestionMarkIcon", glyphFileQuestionMark);
|
|
884
891
|
var FileSearchIcon = /* @__PURE__ */ createIcon("FileSearchIcon", glyphFileSearch);
|
|
885
892
|
var FileSpreadsheetIcon = /* @__PURE__ */ createIcon("FileSpreadsheetIcon", glyphFileSpreadsheet);
|
|
893
|
+
var FileTerminalIcon = /* @__PURE__ */ createIcon("FileTerminalIcon", glyphFileTerminal);
|
|
886
894
|
var FileTextIcon = /* @__PURE__ */ createIcon("FileTextIcon", glyphFileText);
|
|
887
895
|
var FileUpIcon = /* @__PURE__ */ createIcon("FileUpIcon", glyphFileUp);
|
|
888
896
|
var FlagIcon = /* @__PURE__ */ createIcon("FlagIcon", glyphFlag);
|
|
@@ -1140,6 +1148,7 @@ var XCircleIcon = CircleXIcon;
|
|
|
1140
1148
|
FileCheck2Icon,
|
|
1141
1149
|
FileCheckCornerIcon,
|
|
1142
1150
|
FileCheckIcon,
|
|
1151
|
+
FileCodeIcon,
|
|
1143
1152
|
FileDownIcon,
|
|
1144
1153
|
FileIcon,
|
|
1145
1154
|
FileImageIcon,
|
|
@@ -1148,6 +1157,7 @@ var XCircleIcon = CircleXIcon;
|
|
|
1148
1157
|
FileQuestionMarkIcon,
|
|
1149
1158
|
FileSearchIcon,
|
|
1150
1159
|
FileSpreadsheetIcon,
|
|
1160
|
+
FileTerminalIcon,
|
|
1151
1161
|
FileTextIcon,
|
|
1152
1162
|
FileUpIcon,
|
|
1153
1163
|
FilterIcon,
|