@tensor_1/react 2.58.0 → 2.59.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 +4 -4
- package/component-inventory.json +4 -0
- package/dist/components/FileKindIcon.d.ts +5 -1
- package/dist/components/FileKindIcon.js +5 -1
- package/dist/file-model.d.ts +14 -7
- package/dist/file-model.js +18 -6
- package/dist/icons/components.d.ts +2 -1
- package/dist/icons/components.js +2 -0
- package/dist/icons/glyphs.d.ts +3 -1
- package/dist/icons/glyphs.js +3 -0
- package/dist/icons.cjs +5 -0
- package/dist/icons.d.cts +3 -1
- package/dist/icons.d.ts +1 -1
- package/dist/index.cjs +23 -6
- package/dist/index.d.cts +19 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -520,7 +520,7 @@ toast.dismiss(id); // or toast.dismiss() for all
|
|
|
520
520
|
- **Modal feedback (HAR-2754):** keep one `Toaster` in the shell. It moves its stable host into the most recently opened UIx modal (`Modal`, `Drawer`, `Peek`, `ConfirmDialog`) and promotes the region to a manual popover. Both are necessary: a page z-index cannot cover a modal, and a top-layer popover outside the modal remains inert. Closing a nested dialog returns the same queue to its parent; closing the last dialog returns it to its original shell location. No caller z-index or extra toaster is needed. The live [German modal-feedback specimen](../../tests/toast-top-layer/harness.html) exercises error, pending, success, retry and dismissal in a drawer and a nested modal; bundle it with `node tests/toast-top-layer/build.mjs` when serving the repository. Browser regression: `tests/a11y/toast-top-layer.spec.mjs` hit-tests toast pixels and operates its controls at desktop and 320 px in both themes.
|
|
521
521
|
### Icons (`@tensor_1/react/icons`)
|
|
522
522
|
|
|
523
|
-
The UIx icon set (HAR-996):
|
|
523
|
+
The UIx icon set (HAR-996): 237 glyphs drawn in `currentColor` at the `--uix-icon-*` sizes. Icons come only from UIx
|
|
524
524
|
(workspace ADR-0038); no product adds an icon library. The glyphs are Lucide's (ISC); the licence travels in
|
|
525
525
|
`THIRD_PARTY_NOTICES.md`. Import the CSS once: `@tensor_1/tokens/components/icon` (also in the bundle).
|
|
526
526
|
|
|
@@ -931,7 +931,7 @@ A full-screen media viewer (HAR-1367; TENSOR's capture viewer, MOTUS's programme
|
|
|
931
931
|
- **Attachment:** the name is the link (`href`, `download`, `renderLink`). It has a quieter `meta` line, a `state` slot (e.g. a "Scanning" `StatusPill`), `actions`, `onRemove`, and `status` `loading` | `error` | `forbidden` (no link, and the reason shown). It's server-renderable.
|
|
932
932
|
- Pure helpers: `formatFileSize`, `fileMatchesAccept`, `partitionFiles`, `fileKind`.
|
|
933
933
|
|
|
934
|
-
### File kit: kinds, the file row and the slim drop row (2.57.0)
|
|
934
|
+
### File kit: kinds, the file row and the slim drop row (2.57.0; office kinds 2.59.0)
|
|
935
935
|
|
|
936
936
|
Attachments that show what they are before you read the name, and an upload you can watch (variation H of the 2026-11-05 attachments study; TENSOR's Anhänge panel). Each kind of file has a hue (`--uix-file-<kind>`) and a Lucide glyph; a row's left edge carries the kind's tint, and that tint becomes the upload fill.
|
|
937
937
|
|
|
@@ -949,8 +949,8 @@ Attachments that show what they are before you read the name, and an upload you
|
|
|
949
949
|
</section>
|
|
950
950
|
```
|
|
951
951
|
|
|
952
|
-
- **Kinds:** `fileKind(name, mime)` gives one of `img` Bild, `doc` Dokument, `sheet` Tabelle, `mail` E-Mail, `code` Code & Konfiguration, `log` Protokoll, `archive` Archiv, `other` Datei. A known extension wins over the MIME type (a `.log` arrives as `text/plain`); pass `''` as the name when only the type is known, as in a drag event. The lists are `FILE_KIND_EXTENSIONS`.
|
|
953
|
-
- **`FileKindIcon`:** the glyph in the kind's colour with the extension (`fileTypeLabel`: at most four capitals) as a solid label on the corner, ringed in the surface colour. `size` `sm` 30 px (a compact row), `md` 34 px, `lg` 52 px. Decorative unless you pass `label`. It is server-renderable. (`FileIcon` in `./icons` is the plain `file` glyph, hence the name.)
|
|
952
|
+
- **Kinds:** `fileKind(name, mime)` gives one of `img` Bild, `doc` Dokument (Word and other word-processor files), `sheet` Tabelle, `slides` Präsentation, `pdf` PDF, `mail` E-Mail, `code` Code & Konfiguration, `log` Protokoll, `archive` Archiv, `text` Text (`.txt`, `.md`), `other` Datei. `.key` stays `other`: in a ticket it is far more often a private key than a Keynote file. A known extension wins over the MIME type (a `.log` arrives as `text/plain`); pass `''` as the name when only the type is known, as in a drag event. The lists are `FILE_KIND_EXTENSIONS`. The office kinds take the colour people know from the program: Word blue (`doc`), Excel green (`sheet`), PowerPoint orange (`slides`), PDF red (`pdf`), each tuned so it never reads as the danger red (red stays for broken), the attention orange or the brand blue (blue stays for actions); `file-kinds.test.mjs` holds them there. `text` is the grey of `other`. In light four kinds are the calm chart slots. Before 2.59 Word, PowerPoint, PDF and text files were one rose `doc` kind.
|
|
953
|
+
- **`FileKindIcon`:** the glyph in the kind's colour (`slides` draws the presentation board, which is new in the icon set; `doc`, `pdf` and `text` share the page glyph) with the extension (`fileTypeLabel`: at most four capitals) as a solid label on the corner, ringed in the surface colour. `size` `sm` 30 px (a compact row), `md` 34 px, `lg` 52 px. Decorative unless you pass `label`. It is server-renderable. (`FileIcon` in `./icons` is the plain `file` glyph, hence the name.)
|
|
954
954
|
- **`FileRow` states:** `idle` (files that were already there), `uploading` (the fill scales to `progress`, 0 to 1, or `loaded / size`, with a thin leading edge; "Wird hochgeladen · 62 % · 1,5 von 2,4 MB" and Abbrechen with `onCancel`), `done` (just finished: a check draws on the icon and the fill fades over 1.2 s; render `idle` afterwards), `scanning` ("Wird auf Schadsoftware geprüft", no motion), `blocked` (amber, Details with `onDetails`) and `failed` (red, Erneut versuchen with `onRetry`). `message` replaces the words of the last two. The outcome of an upload is announced once, never the progress.
|
|
955
955
|
- **Actions:** `href` makes the download a link (`download` sets the saved name), or pass `onDownload`; `onMoreActions` adds "Weitere Aktionen" for your `Menu`; `actions` replaces both. With a fine pointer they appear on hover and focus; on touch they are always there.
|
|
956
956
|
- **`FileDrop`:** one dashed line, "Dateien ablegen oder auswählen", backed by a real file input. The choose button is the one tab stop and opens the chooser; a click anywhere on the row does too. While files are dragged over it (or over `targetRef`, such as the whole panel), it reads their MIME types and names them ("2 Dateien: Bild, Protokoll") and tints itself from the pointer outwards, one colour per kind. A drop hands the files that match `accept` to `onFiles` and the rest to `onReject`.
|
package/component-inventory.json
CHANGED
|
@@ -3,7 +3,11 @@ import { HTMLAttributes } from 'react';
|
|
|
3
3
|
import { FileKind } from '../file-model.js';
|
|
4
4
|
import { UixIcon } from '../icons/types.js';
|
|
5
5
|
|
|
6
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* The Lucide glyph of each kind. E-Mail keeps the envelope and Präsentation the presentation
|
|
8
|
+
* board: Lucide has no file-shaped icon for either. Dokument, PDF and Text share the page with
|
|
9
|
+
* lines; their colour and the type label on the corner tell them apart.
|
|
10
|
+
*/
|
|
7
11
|
declare const FILE_KIND_GLYPHS: Readonly<Record<FileKind, UixIcon>>;
|
|
8
12
|
/** `md` 34 px (a list row), `sm` 30 px (a compact panel row), `lg` 52 px. */
|
|
9
13
|
type FileKindIconSize = 'sm' | 'md' | 'lg';
|
|
@@ -9,16 +9,20 @@ import {
|
|
|
9
9
|
FileSpreadsheetIcon,
|
|
10
10
|
FileTerminalIcon,
|
|
11
11
|
FileTextIcon,
|
|
12
|
-
MailIcon
|
|
12
|
+
MailIcon,
|
|
13
|
+
PresentationIcon
|
|
13
14
|
} from "../icons/components.js";
|
|
14
15
|
const FILE_KIND_GLYPHS = {
|
|
15
16
|
img: FileImageIcon,
|
|
16
17
|
doc: FileTextIcon,
|
|
17
18
|
sheet: FileSpreadsheetIcon,
|
|
19
|
+
slides: PresentationIcon,
|
|
20
|
+
pdf: FileTextIcon,
|
|
18
21
|
mail: MailIcon,
|
|
19
22
|
code: FileCodeIcon,
|
|
20
23
|
log: FileTerminalIcon,
|
|
21
24
|
archive: FileArchiveIcon,
|
|
25
|
+
text: FileTextIcon,
|
|
22
26
|
other: FileIcon
|
|
23
27
|
};
|
|
24
28
|
const STROKE = { sm: 1.5, md: 1.5, lg: 1.4 };
|
package/dist/file-model.d.ts
CHANGED
|
@@ -47,16 +47,23 @@ declare function partitionFiles<F extends {
|
|
|
47
47
|
accepted: F[];
|
|
48
48
|
rejected: FileRejection<F>[];
|
|
49
49
|
};
|
|
50
|
-
/**
|
|
50
|
+
/**
|
|
51
|
+
* The coarse kinds of the object form of `fileKind`, read by `FileUpload` and `Attachment`. Older
|
|
52
|
+
* than the file kit and separate from `FileKind`: here `text` means any document (Word files
|
|
53
|
+
* included), there it means plain text only.
|
|
54
|
+
*/
|
|
51
55
|
type LegacyFileKind = 'image' | 'video' | 'pdf' | 'sheet' | 'archive' | 'text' | 'other';
|
|
52
56
|
/**
|
|
53
|
-
* What a service-desk agent does with a file, as one of
|
|
54
|
-
*
|
|
55
|
-
* `
|
|
56
|
-
* (
|
|
57
|
+
* What a service-desk agent does with a file, as one of eleven kinds (file kit 2.57, office
|
|
58
|
+
* formats split out in 2.59): `img` (Bild), `doc` (Dokument: Word and other word-processor
|
|
59
|
+
* files), `sheet` (Tabelle), `slides` (Präsentation), `pdf` (PDF), `mail` (E-Mail), `code`
|
|
60
|
+
* (Code & Konfiguration), `log` (Protokoll), `archive` (Archiv), `text` (Text) and `other`
|
|
61
|
+
* (Datei). Each has a colour (`--uix-file-<kind>`) and a glyph; `FileIcon`, `FileRow` and
|
|
62
|
+
* `FileDrop` read it. The office kinds take the colour people know from the program (Word
|
|
63
|
+
* blue, Excel green, PowerPoint orange, PDF red), tuned to stay clear of the status colours.
|
|
57
64
|
*/
|
|
58
|
-
type FileKind = 'img' | 'doc' | 'sheet' | 'mail' | 'code' | 'log' | 'archive' | 'other';
|
|
59
|
-
/** The
|
|
65
|
+
type FileKind = 'img' | 'doc' | 'sheet' | 'slides' | 'pdf' | 'mail' | 'code' | 'log' | 'archive' | 'text' | 'other';
|
|
66
|
+
/** The eleven kinds in display order (`other` last). */
|
|
60
67
|
declare const FILE_KINDS: readonly FileKind[];
|
|
61
68
|
/** The extensions of each kind, lower case and without the dot. `other` has none. */
|
|
62
69
|
declare const FILE_KIND_EXTENSIONS: Readonly<Record<FileKind, readonly string[]>>;
|
package/dist/file-model.js
CHANGED
|
@@ -44,15 +44,18 @@ function legacyFileKind(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"];
|
|
47
|
+
const FILE_KINDS = ["img", "doc", "sheet", "slides", "pdf", "mail", "code", "log", "archive", "text", "other"];
|
|
48
48
|
const FILE_KIND_EXTENSIONS = {
|
|
49
49
|
img: ["png", "jpg", "jpeg", "gif", "webp", "heic", "bmp", "svg"],
|
|
50
|
-
doc: ["
|
|
51
|
-
sheet: ["xlsx", "xls", "csv", "ods", "tsv"],
|
|
50
|
+
doc: ["docx", "doc", "docm", "dotx", "dotm", "dot", "odt", "rtf", "pages"],
|
|
51
|
+
sheet: ["xlsx", "xls", "xlsm", "xlsb", "xltx", "xltm", "csv", "ods", "tsv", "numbers"],
|
|
52
|
+
slides: ["pptx", "ppt", "pptm", "ppsx", "ppsm", "pps", "potx", "potm", "pot", "odp"],
|
|
53
|
+
pdf: ["pdf"],
|
|
52
54
|
mail: ["eml", "msg"],
|
|
53
55
|
code: ["json", "yaml", "yml", "xml", "ps1", "sh", "py", "js", "ts", "ini", "conf", "toml"],
|
|
54
56
|
log: ["log", "evtx", "har", "dmp", "trace"],
|
|
55
57
|
archive: ["zip", "7z", "rar", "tar", "gz", "tgz"],
|
|
58
|
+
text: ["txt", "md", "markdown"],
|
|
56
59
|
other: []
|
|
57
60
|
};
|
|
58
61
|
const KIND_BY_EXTENSION = /* @__PURE__ */ new Map();
|
|
@@ -61,20 +64,26 @@ const DEFAULT_FILE_KIND_LABELS = {
|
|
|
61
64
|
img: "Bild",
|
|
62
65
|
doc: "Dokument",
|
|
63
66
|
sheet: "Tabelle",
|
|
67
|
+
slides: "Pr\xE4sentation",
|
|
68
|
+
pdf: "PDF",
|
|
64
69
|
mail: "E-Mail",
|
|
65
70
|
code: "Code & Konfiguration",
|
|
66
71
|
log: "Protokoll",
|
|
67
72
|
archive: "Archiv",
|
|
73
|
+
text: "Text",
|
|
68
74
|
other: "Datei"
|
|
69
75
|
};
|
|
70
76
|
const FILE_KIND_LABELS_EN = {
|
|
71
77
|
img: "Image",
|
|
72
78
|
doc: "Document",
|
|
73
79
|
sheet: "Spreadsheet",
|
|
80
|
+
slides: "Presentation",
|
|
81
|
+
pdf: "PDF",
|
|
74
82
|
mail: "Email",
|
|
75
83
|
code: "Code & configuration",
|
|
76
84
|
log: "Log",
|
|
77
85
|
archive: "Archive",
|
|
86
|
+
text: "Text",
|
|
78
87
|
other: "File"
|
|
79
88
|
};
|
|
80
89
|
function fileExtension(name) {
|
|
@@ -86,13 +95,16 @@ function kindOfMime(mime) {
|
|
|
86
95
|
const m = mime.trim().toLowerCase();
|
|
87
96
|
if (!m) return "other";
|
|
88
97
|
if (m.startsWith("image/")) return "img";
|
|
89
|
-
if (
|
|
90
|
-
if (/
|
|
98
|
+
if (/\bpdf\b/.test(m)) return "pdf";
|
|
99
|
+
if (/presentation|powerpoint|apple\.keynote/.test(m)) return "slides";
|
|
100
|
+
if (/ms-?word|wordprocessing|opendocument\.text|rtf|apple\.pages/.test(m)) return "doc";
|
|
101
|
+
if (/spreadsheet|excel|csv|tab-separated|apple\.numbers/.test(m)) return "sheet";
|
|
102
|
+
if (/markdown/.test(m)) return "text";
|
|
91
103
|
if (/rfc822|outlook/.test(m)) return "mail";
|
|
92
104
|
if (/x-log\b/.test(m)) return "log";
|
|
93
105
|
if (/json|xml|yaml|x-sh|javascript|typescript|x-python|toml/.test(m)) return "code";
|
|
94
106
|
if (/zip|x-7z|x-rar|vnd\.rar|gzip|x-tar|compressed-tar/.test(m)) return "archive";
|
|
95
|
-
if (m === "text/plain") return "
|
|
107
|
+
if (m === "text/plain") return "text";
|
|
96
108
|
return "other";
|
|
97
109
|
}
|
|
98
110
|
function fileKind(nameOrFile, mime) {
|
|
@@ -163,6 +163,7 @@ declare const PlaneIcon: UixIcon;
|
|
|
163
163
|
declare const PlayIcon: UixIcon;
|
|
164
164
|
declare const PlugIcon: UixIcon;
|
|
165
165
|
declare const PlusIcon: UixIcon;
|
|
166
|
+
declare const PresentationIcon: UixIcon;
|
|
166
167
|
declare const PrinterIcon: UixIcon;
|
|
167
168
|
declare const QrCodeIcon: UixIcon;
|
|
168
169
|
declare const RadioIcon: UixIcon;
|
|
@@ -257,4 +258,4 @@ declare const PlayCircleIcon: UixIcon;
|
|
|
257
258
|
declare const SmileIcon: UixIcon;
|
|
258
259
|
declare const XCircleIcon: UixIcon;
|
|
259
260
|
|
|
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 };
|
|
261
|
+
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, PresentationIcon, 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
|
@@ -162,6 +162,7 @@ const PlaneIcon = /* @__PURE__ */ createIcon("PlaneIcon", g.glyphPlane);
|
|
|
162
162
|
const PlayIcon = /* @__PURE__ */ createIcon("PlayIcon", g.glyphPlay);
|
|
163
163
|
const PlugIcon = /* @__PURE__ */ createIcon("PlugIcon", g.glyphPlug);
|
|
164
164
|
const PlusIcon = /* @__PURE__ */ createIcon("PlusIcon", g.glyphPlus);
|
|
165
|
+
const PresentationIcon = /* @__PURE__ */ createIcon("PresentationIcon", g.glyphPresentation);
|
|
165
166
|
const PrinterIcon = /* @__PURE__ */ createIcon("PrinterIcon", g.glyphPrinter);
|
|
166
167
|
const QrCodeIcon = /* @__PURE__ */ createIcon("QrCodeIcon", g.glyphQrCode);
|
|
167
168
|
const RadioIcon = /* @__PURE__ */ createIcon("RadioIcon", g.glyphRadio);
|
|
@@ -435,6 +436,7 @@ export {
|
|
|
435
436
|
PlayIcon,
|
|
436
437
|
PlugIcon,
|
|
437
438
|
PlusIcon,
|
|
439
|
+
PresentationIcon,
|
|
438
440
|
PrinterIcon,
|
|
439
441
|
QrCodeIcon,
|
|
440
442
|
RadioIcon,
|
package/dist/icons/glyphs.d.ts
CHANGED
|
@@ -163,6 +163,7 @@ declare const glyphPlane: IconNode;
|
|
|
163
163
|
declare const glyphPlay: IconNode;
|
|
164
164
|
declare const glyphPlug: IconNode;
|
|
165
165
|
declare const glyphPlus: IconNode;
|
|
166
|
+
declare const glyphPresentation: IconNode;
|
|
166
167
|
declare const glyphPrinter: IconNode;
|
|
167
168
|
declare const glyphQrCode: IconNode;
|
|
168
169
|
declare const glyphRadio: IconNode;
|
|
@@ -401,6 +402,7 @@ declare const ICON_GLYPHS: {
|
|
|
401
402
|
readonly play: IconNode;
|
|
402
403
|
readonly plug: IconNode;
|
|
403
404
|
readonly plus: IconNode;
|
|
405
|
+
readonly presentation: IconNode;
|
|
404
406
|
readonly printer: IconNode;
|
|
405
407
|
readonly 'qr-code': IconNode;
|
|
406
408
|
readonly radio: IconNode;
|
|
@@ -479,4 +481,4 @@ declare const ICON_GLYPHS: {
|
|
|
479
481
|
/** A glyph name for `<Icon name>`. */
|
|
480
482
|
type IconName = keyof typeof ICON_GLYPHS;
|
|
481
483
|
|
|
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 };
|
|
484
|
+
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, glyphPresentation, 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
|
@@ -160,6 +160,7 @@ const glyphPlane = [["path", { "d": "M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-
|
|
|
160
160
|
const glyphPlay = [["path", { "d": "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z" }]];
|
|
161
161
|
const glyphPlug = [["path", { "d": "M12 22v-5" }], ["path", { "d": "M15 8V2" }], ["path", { "d": "M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z" }], ["path", { "d": "M9 8V2" }]];
|
|
162
162
|
const glyphPlus = [["path", { "d": "M5 12h14" }], ["path", { "d": "M12 5v14" }]];
|
|
163
|
+
const glyphPresentation = [["path", { "d": "M2 3h20" }], ["path", { "d": "M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3" }], ["path", { "d": "m7 21 5-5 5 5" }]];
|
|
163
164
|
const glyphPrinter = [["path", { "d": "M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2" }], ["path", { "d": "M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6" }], ["rect", { "x": "6", "y": "14", "width": "12", "height": "8", "rx": "1" }]];
|
|
164
165
|
const glyphQrCode = [["rect", { "width": "5", "height": "5", "x": "3", "y": "3", "rx": "1" }], ["rect", { "width": "5", "height": "5", "x": "16", "y": "3", "rx": "1" }], ["rect", { "width": "5", "height": "5", "x": "3", "y": "16", "rx": "1" }], ["path", { "d": "M21 16h-3a2 2 0 0 0-2 2v3" }], ["path", { "d": "M21 21v.01" }], ["path", { "d": "M12 7v3a2 2 0 0 1-2 2H7" }], ["path", { "d": "M3 12h.01" }], ["path", { "d": "M12 3h.01" }], ["path", { "d": "M12 16v.01" }], ["path", { "d": "M16 12h1" }], ["path", { "d": "M21 12v.01" }], ["path", { "d": "M12 21v-1" }]];
|
|
165
166
|
const glyphRadio = [["path", { "d": "M16.247 7.761a6 6 0 0 1 0 8.478" }], ["path", { "d": "M19.075 4.933a10 10 0 0 1 0 14.134" }], ["path", { "d": "M4.925 19.067a10 10 0 0 1 0-14.134" }], ["path", { "d": "M7.753 16.239a6 6 0 0 1 0-8.478" }], ["circle", { "cx": "12", "cy": "12", "r": "2" }]];
|
|
@@ -397,6 +398,7 @@ const ICON_GLYPHS = {
|
|
|
397
398
|
"play": glyphPlay,
|
|
398
399
|
"plug": glyphPlug,
|
|
399
400
|
"plus": glyphPlus,
|
|
401
|
+
"presentation": glyphPresentation,
|
|
400
402
|
"printer": glyphPrinter,
|
|
401
403
|
"qr-code": glyphQrCode,
|
|
402
404
|
"radio": glyphRadio,
|
|
@@ -636,6 +638,7 @@ export {
|
|
|
636
638
|
glyphPlay,
|
|
637
639
|
glyphPlug,
|
|
638
640
|
glyphPlus,
|
|
641
|
+
glyphPresentation,
|
|
639
642
|
glyphPrinter,
|
|
640
643
|
glyphQrCode,
|
|
641
644
|
glyphRadio,
|
package/dist/icons.cjs
CHANGED
|
@@ -201,6 +201,7 @@ __export(icons_exports, {
|
|
|
201
201
|
PlayIcon: () => PlayIcon,
|
|
202
202
|
PlugIcon: () => PlugIcon,
|
|
203
203
|
PlusIcon: () => PlusIcon,
|
|
204
|
+
PresentationIcon: () => PresentationIcon,
|
|
204
205
|
PrinterIcon: () => PrinterIcon,
|
|
205
206
|
QrCodeIcon: () => QrCodeIcon,
|
|
206
207
|
RadioIcon: () => RadioIcon,
|
|
@@ -488,6 +489,7 @@ var glyphPlane = [["path", { "d": "M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-
|
|
|
488
489
|
var glyphPlay = [["path", { "d": "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z" }]];
|
|
489
490
|
var glyphPlug = [["path", { "d": "M12 22v-5" }], ["path", { "d": "M15 8V2" }], ["path", { "d": "M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z" }], ["path", { "d": "M9 8V2" }]];
|
|
490
491
|
var glyphPlus = [["path", { "d": "M5 12h14" }], ["path", { "d": "M12 5v14" }]];
|
|
492
|
+
var glyphPresentation = [["path", { "d": "M2 3h20" }], ["path", { "d": "M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3" }], ["path", { "d": "m7 21 5-5 5 5" }]];
|
|
491
493
|
var glyphPrinter = [["path", { "d": "M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2" }], ["path", { "d": "M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6" }], ["rect", { "x": "6", "y": "14", "width": "12", "height": "8", "rx": "1" }]];
|
|
492
494
|
var glyphQrCode = [["rect", { "width": "5", "height": "5", "x": "3", "y": "3", "rx": "1" }], ["rect", { "width": "5", "height": "5", "x": "16", "y": "3", "rx": "1" }], ["rect", { "width": "5", "height": "5", "x": "3", "y": "16", "rx": "1" }], ["path", { "d": "M21 16h-3a2 2 0 0 0-2 2v3" }], ["path", { "d": "M21 21v.01" }], ["path", { "d": "M12 7v3a2 2 0 0 1-2 2H7" }], ["path", { "d": "M3 12h.01" }], ["path", { "d": "M12 3h.01" }], ["path", { "d": "M12 16v.01" }], ["path", { "d": "M16 12h1" }], ["path", { "d": "M21 12v.01" }], ["path", { "d": "M12 21v-1" }]];
|
|
493
495
|
var glyphRadio = [["path", { "d": "M16.247 7.761a6 6 0 0 1 0 8.478" }], ["path", { "d": "M19.075 4.933a10 10 0 0 1 0 14.134" }], ["path", { "d": "M4.925 19.067a10 10 0 0 1 0-14.134" }], ["path", { "d": "M7.753 16.239a6 6 0 0 1 0-8.478" }], ["circle", { "cx": "12", "cy": "12", "r": "2" }]];
|
|
@@ -725,6 +727,7 @@ var ICON_GLYPHS = {
|
|
|
725
727
|
"play": glyphPlay,
|
|
726
728
|
"plug": glyphPlug,
|
|
727
729
|
"plus": glyphPlus,
|
|
730
|
+
"presentation": glyphPresentation,
|
|
728
731
|
"printer": glyphPrinter,
|
|
729
732
|
"qr-code": glyphQrCode,
|
|
730
733
|
"radio": glyphRadio,
|
|
@@ -969,6 +972,7 @@ var PlaneIcon = /* @__PURE__ */ createIcon("PlaneIcon", glyphPlane);
|
|
|
969
972
|
var PlayIcon = /* @__PURE__ */ createIcon("PlayIcon", glyphPlay);
|
|
970
973
|
var PlugIcon = /* @__PURE__ */ createIcon("PlugIcon", glyphPlug);
|
|
971
974
|
var PlusIcon = /* @__PURE__ */ createIcon("PlusIcon", glyphPlus);
|
|
975
|
+
var PresentationIcon = /* @__PURE__ */ createIcon("PresentationIcon", glyphPresentation);
|
|
972
976
|
var PrinterIcon = /* @__PURE__ */ createIcon("PrinterIcon", glyphPrinter);
|
|
973
977
|
var QrCodeIcon = /* @__PURE__ */ createIcon("QrCodeIcon", glyphQrCode);
|
|
974
978
|
var RadioIcon = /* @__PURE__ */ createIcon("RadioIcon", glyphRadio);
|
|
@@ -1245,6 +1249,7 @@ var XCircleIcon = CircleXIcon;
|
|
|
1245
1249
|
PlayIcon,
|
|
1246
1250
|
PlugIcon,
|
|
1247
1251
|
PlusIcon,
|
|
1252
|
+
PresentationIcon,
|
|
1248
1253
|
PrinterIcon,
|
|
1249
1254
|
QrCodeIcon,
|
|
1250
1255
|
RadioIcon,
|
package/dist/icons.d.cts
CHANGED
|
@@ -166,6 +166,7 @@ declare const ICON_GLYPHS: {
|
|
|
166
166
|
readonly play: IconNode;
|
|
167
167
|
readonly plug: IconNode;
|
|
168
168
|
readonly plus: IconNode;
|
|
169
|
+
readonly presentation: IconNode;
|
|
169
170
|
readonly printer: IconNode;
|
|
170
171
|
readonly 'qr-code': IconNode;
|
|
171
172
|
readonly radio: IconNode;
|
|
@@ -419,6 +420,7 @@ declare const PlaneIcon: UixIcon;
|
|
|
419
420
|
declare const PlayIcon: UixIcon;
|
|
420
421
|
declare const PlugIcon: UixIcon;
|
|
421
422
|
declare const PlusIcon: UixIcon;
|
|
423
|
+
declare const PresentationIcon: UixIcon;
|
|
422
424
|
declare const PrinterIcon: UixIcon;
|
|
423
425
|
declare const QrCodeIcon: UixIcon;
|
|
424
426
|
declare const RadioIcon: UixIcon;
|
|
@@ -513,4 +515,4 @@ declare const PlayCircleIcon: UixIcon;
|
|
|
513
515
|
declare const SmileIcon: UixIcon;
|
|
514
516
|
declare const XCircleIcon: UixIcon;
|
|
515
517
|
|
|
516
|
-
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, ICON_GLYPHS, Icon, type IconByNameProps, type IconName, IconNode, IconProps, 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, UixIcon, UnlinkIcon, UploadIcon, UserCheckIcon, UserCogIcon, UserIcon, UserPlusIcon, UserRoundIcon, UserXIcon, UsersIcon, UsersRoundIcon, WalletIcon, WaypointsIcon, WebhookIcon, WifiIcon, WifiOffIcon, WorkflowIcon, WrenchIcon, XCircleIcon, XIcon, ZapIcon, createIcon };
|
|
518
|
+
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, ICON_GLYPHS, Icon, type IconByNameProps, type IconName, IconNode, IconProps, 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, PresentationIcon, 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, UixIcon, UnlinkIcon, UploadIcon, UserCheckIcon, UserCogIcon, UserIcon, UserPlusIcon, UserRoundIcon, UserXIcon, UsersIcon, UsersRoundIcon, WalletIcon, WaypointsIcon, WebhookIcon, WifiIcon, WifiOffIcon, WorkflowIcon, WrenchIcon, XCircleIcon, XIcon, ZapIcon, createIcon };
|
package/dist/icons.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ export { Icon, IconByNameProps } from './icons/NamedIcon.js';
|
|
|
2
2
|
export { createIcon } from './icons/Icon.js';
|
|
3
3
|
export { IconNode, IconProps, IconSize, IconTone, UixIcon } from './icons/types.js';
|
|
4
4
|
export { ICON_GLYPHS, IconName } from './icons/glyphs.js';
|
|
5
|
-
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 } from './icons/components.js';
|
|
5
|
+
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, PresentationIcon, 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 } from './icons/components.js';
|
|
6
6
|
import 'react';
|
package/dist/index.cjs
CHANGED
|
@@ -1494,6 +1494,7 @@ var glyphMoon = [["path", { "d": "M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022
|
|
|
1494
1494
|
var glyphOctagonAlert = [["path", { "d": "M12 16h.01" }], ["path", { "d": "M12 8v4" }], ["path", { "d": "M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z" }]];
|
|
1495
1495
|
var glyphPencil = [["path", { "d": "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" }], ["path", { "d": "m15 5 4 4" }]];
|
|
1496
1496
|
var glyphPlus = [["path", { "d": "M5 12h14" }], ["path", { "d": "M12 5v14" }]];
|
|
1497
|
+
var glyphPresentation = [["path", { "d": "M2 3h20" }], ["path", { "d": "M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3" }], ["path", { "d": "m7 21 5-5 5 5" }]];
|
|
1497
1498
|
var glyphRotateCcw = [["path", { "d": "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" }], ["path", { "d": "M3 3v5h5" }]];
|
|
1498
1499
|
var glyphScan = [["path", { "d": "M3 7V5a2 2 0 0 1 2-2h2" }], ["path", { "d": "M17 3h2a2 2 0 0 1 2 2v2" }], ["path", { "d": "M21 17v2a2 2 0 0 1-2 2h-2" }], ["path", { "d": "M7 21H5a2 2 0 0 1-2-2v-2" }]];
|
|
1499
1500
|
var glyphSearch = [["path", { "d": "m21 21-4.34-4.34" }], ["circle", { "cx": "11", "cy": "11", "r": "8" }]];
|
|
@@ -1536,6 +1537,7 @@ var MoonIcon = /* @__PURE__ */ createIcon("MoonIcon", glyphMoon);
|
|
|
1536
1537
|
var OctagonAlertIcon = /* @__PURE__ */ createIcon("OctagonAlertIcon", glyphOctagonAlert);
|
|
1537
1538
|
var PencilIcon = /* @__PURE__ */ createIcon("PencilIcon", glyphPencil);
|
|
1538
1539
|
var PlusIcon = /* @__PURE__ */ createIcon("PlusIcon", glyphPlus);
|
|
1540
|
+
var PresentationIcon = /* @__PURE__ */ createIcon("PresentationIcon", glyphPresentation);
|
|
1539
1541
|
var RotateCcwIcon = /* @__PURE__ */ createIcon("RotateCcwIcon", glyphRotateCcw);
|
|
1540
1542
|
var ScanIcon = /* @__PURE__ */ createIcon("ScanIcon", glyphScan);
|
|
1541
1543
|
var SearchIcon = /* @__PURE__ */ createIcon("SearchIcon", glyphSearch);
|
|
@@ -10215,15 +10217,18 @@ function legacyFileKind(file) {
|
|
|
10215
10217
|
if (type.startsWith("text/") || ["txt", "md", "log", "json", "xml", "doc", "docx", "odt", "rtf"].includes(ext)) return "text";
|
|
10216
10218
|
return "other";
|
|
10217
10219
|
}
|
|
10218
|
-
var FILE_KINDS = ["img", "doc", "sheet", "mail", "code", "log", "archive", "other"];
|
|
10220
|
+
var FILE_KINDS = ["img", "doc", "sheet", "slides", "pdf", "mail", "code", "log", "archive", "text", "other"];
|
|
10219
10221
|
var FILE_KIND_EXTENSIONS = {
|
|
10220
10222
|
img: ["png", "jpg", "jpeg", "gif", "webp", "heic", "bmp", "svg"],
|
|
10221
|
-
doc: ["
|
|
10222
|
-
sheet: ["xlsx", "xls", "csv", "ods", "tsv"],
|
|
10223
|
+
doc: ["docx", "doc", "docm", "dotx", "dotm", "dot", "odt", "rtf", "pages"],
|
|
10224
|
+
sheet: ["xlsx", "xls", "xlsm", "xlsb", "xltx", "xltm", "csv", "ods", "tsv", "numbers"],
|
|
10225
|
+
slides: ["pptx", "ppt", "pptm", "ppsx", "ppsm", "pps", "potx", "potm", "pot", "odp"],
|
|
10226
|
+
pdf: ["pdf"],
|
|
10223
10227
|
mail: ["eml", "msg"],
|
|
10224
10228
|
code: ["json", "yaml", "yml", "xml", "ps1", "sh", "py", "js", "ts", "ini", "conf", "toml"],
|
|
10225
10229
|
log: ["log", "evtx", "har", "dmp", "trace"],
|
|
10226
10230
|
archive: ["zip", "7z", "rar", "tar", "gz", "tgz"],
|
|
10231
|
+
text: ["txt", "md", "markdown"],
|
|
10227
10232
|
other: []
|
|
10228
10233
|
};
|
|
10229
10234
|
var KIND_BY_EXTENSION = /* @__PURE__ */ new Map();
|
|
@@ -10232,20 +10237,26 @@ var DEFAULT_FILE_KIND_LABELS = {
|
|
|
10232
10237
|
img: "Bild",
|
|
10233
10238
|
doc: "Dokument",
|
|
10234
10239
|
sheet: "Tabelle",
|
|
10240
|
+
slides: "Pr\xE4sentation",
|
|
10241
|
+
pdf: "PDF",
|
|
10235
10242
|
mail: "E-Mail",
|
|
10236
10243
|
code: "Code & Konfiguration",
|
|
10237
10244
|
log: "Protokoll",
|
|
10238
10245
|
archive: "Archiv",
|
|
10246
|
+
text: "Text",
|
|
10239
10247
|
other: "Datei"
|
|
10240
10248
|
};
|
|
10241
10249
|
var FILE_KIND_LABELS_EN = {
|
|
10242
10250
|
img: "Image",
|
|
10243
10251
|
doc: "Document",
|
|
10244
10252
|
sheet: "Spreadsheet",
|
|
10253
|
+
slides: "Presentation",
|
|
10254
|
+
pdf: "PDF",
|
|
10245
10255
|
mail: "Email",
|
|
10246
10256
|
code: "Code & configuration",
|
|
10247
10257
|
log: "Log",
|
|
10248
10258
|
archive: "Archive",
|
|
10259
|
+
text: "Text",
|
|
10249
10260
|
other: "File"
|
|
10250
10261
|
};
|
|
10251
10262
|
function fileExtension(name) {
|
|
@@ -10257,13 +10268,16 @@ function kindOfMime(mime) {
|
|
|
10257
10268
|
const m = mime.trim().toLowerCase();
|
|
10258
10269
|
if (!m) return "other";
|
|
10259
10270
|
if (m.startsWith("image/")) return "img";
|
|
10260
|
-
if (
|
|
10261
|
-
if (/
|
|
10271
|
+
if (/\bpdf\b/.test(m)) return "pdf";
|
|
10272
|
+
if (/presentation|powerpoint|apple\.keynote/.test(m)) return "slides";
|
|
10273
|
+
if (/ms-?word|wordprocessing|opendocument\.text|rtf|apple\.pages/.test(m)) return "doc";
|
|
10274
|
+
if (/spreadsheet|excel|csv|tab-separated|apple\.numbers/.test(m)) return "sheet";
|
|
10275
|
+
if (/markdown/.test(m)) return "text";
|
|
10262
10276
|
if (/rfc822|outlook/.test(m)) return "mail";
|
|
10263
10277
|
if (/x-log\b/.test(m)) return "log";
|
|
10264
10278
|
if (/json|xml|yaml|x-sh|javascript|typescript|x-python|toml/.test(m)) return "code";
|
|
10265
10279
|
if (/zip|x-7z|x-rar|vnd\.rar|gzip|x-tar|compressed-tar/.test(m)) return "archive";
|
|
10266
|
-
if (m === "text/plain") return "
|
|
10280
|
+
if (m === "text/plain") return "text";
|
|
10267
10281
|
return "other";
|
|
10268
10282
|
}
|
|
10269
10283
|
function fileKind(nameOrFile, mime) {
|
|
@@ -10529,10 +10543,13 @@ var FILE_KIND_GLYPHS = {
|
|
|
10529
10543
|
img: FileImageIcon,
|
|
10530
10544
|
doc: FileTextIcon,
|
|
10531
10545
|
sheet: FileSpreadsheetIcon,
|
|
10546
|
+
slides: PresentationIcon,
|
|
10547
|
+
pdf: FileTextIcon,
|
|
10532
10548
|
mail: MailIcon,
|
|
10533
10549
|
code: FileCodeIcon,
|
|
10534
10550
|
log: FileTerminalIcon,
|
|
10535
10551
|
archive: FileArchiveIcon,
|
|
10552
|
+
text: FileTextIcon,
|
|
10536
10553
|
other: FileIcon
|
|
10537
10554
|
};
|
|
10538
10555
|
var STROKE = { sm: 1.5, md: 1.5, lg: 1.4 };
|
package/dist/index.d.cts
CHANGED
|
@@ -2956,16 +2956,23 @@ declare function partitionFiles<F extends {
|
|
|
2956
2956
|
accepted: F[];
|
|
2957
2957
|
rejected: FileRejection<F>[];
|
|
2958
2958
|
};
|
|
2959
|
-
/**
|
|
2959
|
+
/**
|
|
2960
|
+
* The coarse kinds of the object form of `fileKind`, read by `FileUpload` and `Attachment`. Older
|
|
2961
|
+
* than the file kit and separate from `FileKind`: here `text` means any document (Word files
|
|
2962
|
+
* included), there it means plain text only.
|
|
2963
|
+
*/
|
|
2960
2964
|
type LegacyFileKind = 'image' | 'video' | 'pdf' | 'sheet' | 'archive' | 'text' | 'other';
|
|
2961
2965
|
/**
|
|
2962
|
-
* What a service-desk agent does with a file, as one of
|
|
2963
|
-
*
|
|
2964
|
-
* `
|
|
2965
|
-
* (
|
|
2966
|
+
* What a service-desk agent does with a file, as one of eleven kinds (file kit 2.57, office
|
|
2967
|
+
* formats split out in 2.59): `img` (Bild), `doc` (Dokument: Word and other word-processor
|
|
2968
|
+
* files), `sheet` (Tabelle), `slides` (Präsentation), `pdf` (PDF), `mail` (E-Mail), `code`
|
|
2969
|
+
* (Code & Konfiguration), `log` (Protokoll), `archive` (Archiv), `text` (Text) and `other`
|
|
2970
|
+
* (Datei). Each has a colour (`--uix-file-<kind>`) and a glyph; `FileIcon`, `FileRow` and
|
|
2971
|
+
* `FileDrop` read it. The office kinds take the colour people know from the program (Word
|
|
2972
|
+
* blue, Excel green, PowerPoint orange, PDF red), tuned to stay clear of the status colours.
|
|
2966
2973
|
*/
|
|
2967
|
-
type FileKind = 'img' | 'doc' | 'sheet' | 'mail' | 'code' | 'log' | 'archive' | 'other';
|
|
2968
|
-
/** The
|
|
2974
|
+
type FileKind = 'img' | 'doc' | 'sheet' | 'slides' | 'pdf' | 'mail' | 'code' | 'log' | 'archive' | 'text' | 'other';
|
|
2975
|
+
/** The eleven kinds in display order (`other` last). */
|
|
2969
2976
|
declare const FILE_KINDS: readonly FileKind[];
|
|
2970
2977
|
/** The extensions of each kind, lower case and without the dot. `other` has none. */
|
|
2971
2978
|
declare const FILE_KIND_EXTENSIONS: Readonly<Record<FileKind, readonly string[]>>;
|
|
@@ -7186,7 +7193,11 @@ interface AttachmentListProps extends HTMLAttributes<HTMLUListElement> {
|
|
|
7186
7193
|
/** A list of `Attachment` rows. */
|
|
7187
7194
|
declare function AttachmentList({ label, className, children, ...props }: AttachmentListProps): react.JSX.Element;
|
|
7188
7195
|
|
|
7189
|
-
/**
|
|
7196
|
+
/**
|
|
7197
|
+
* The Lucide glyph of each kind. E-Mail keeps the envelope and Präsentation the presentation
|
|
7198
|
+
* board: Lucide has no file-shaped icon for either. Dokument, PDF and Text share the page with
|
|
7199
|
+
* lines; their colour and the type label on the corner tell them apart.
|
|
7200
|
+
*/
|
|
7190
7201
|
declare const FILE_KIND_GLYPHS: Readonly<Record<FileKind, UixIcon>>;
|
|
7191
7202
|
/** `md` 34 px (a list row), `sm` 30 px (a compact panel row), `lg` 52 px. */
|
|
7192
7203
|
type FileKindIconSize = 'sm' | 'md' | 'lg';
|