@featherk/icons 0.17.1 → 0.18.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 +29 -3
- package/dist/custom-icon.d.ts +400 -0
- package/dist/{docs-manifest.js → docs-manifest.mjs} +6 -6
- package/dist/icon-service.d.ts +13 -12
- package/dist/index.cjs +36 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.mjs +2468 -0
- package/dist/index.mjs.map +1 -0
- package/docs/ADDING-ICONS.md +4 -0
- package/docs/COMING-SOON.md +7 -10
- package/docs/ICONS.md +71 -71
- package/package.json +10 -9
- package/dist/featherk-icons.es.js +0 -2067
- package/dist/featherk-icons.es.js.map +0 -1
- package/dist/featherk-icons.umd.js +0 -36
- package/dist/featherk-icons.umd.js.map +0 -1
- /package/dist/{docs-manifest.d.ts → docs-manifest.d.mts} +0 -0
package/README.md
CHANGED
|
@@ -4,17 +4,43 @@ Small package providing a set of SVG icons consumable by Kendo UI's `SvgIcon` co
|
|
|
4
4
|
|
|
5
5
|
Built and tested against **Kendo UI for Vue 6.4.1** (`@progress/kendo-vue-common` is an optional peer dependency).
|
|
6
6
|
|
|
7
|
-
Usage
|
|
7
|
+
## Usage
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
There are two ways to get an icon. Both return the same icon object for Kendo's `SvgIcon`; they differ in how much of the icon set your app bundles.
|
|
10
|
+
|
|
11
|
+
| Way | Since | What your app bundles |
|
|
12
|
+
| ---------------------------------------- | ------ | --------------------------------------------- |
|
|
13
|
+
| Named import: `import { searchIcon }` | 0.18.0 | Only the icons you import (under 1 KB each) |
|
|
14
|
+
| `getCustomIcon("search")` (`CustomIcon`) | before | Every icon in the package (about 120 KB gzip) |
|
|
15
|
+
|
|
16
|
+
`getCustomIcon` is unchanged and fully backward compatible, so existing code keeps working without changes. Because it looks icons up by name, a bundler can't tell which ones you use, so it loads all of them. Switch to named imports to load only the icons you specify.
|
|
17
|
+
|
|
18
|
+
### Named imports (recommended)
|
|
19
|
+
|
|
20
|
+
Every icon has a named export: the icon name in camelCase plus `Icon`, so `date_range` is `dateRangeIcon`. The [icon gallery](https://github.com/NantHealth/featherk/blob/integration/packages/icons/docs/ICONS.md) lists each export name.
|
|
21
|
+
|
|
22
|
+
```html
|
|
23
|
+
<template>
|
|
24
|
+
<SvgIcon :icon="searchIcon" />
|
|
25
|
+
</template>
|
|
26
|
+
<script setup lang="ts">
|
|
27
|
+
import { SvgIcon } from "@progress/kendo-vue-common";
|
|
28
|
+
import { searchIcon } from "@featherk/icons";
|
|
29
|
+
</script>
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### `getCustomIcon` (loads every icon)
|
|
33
|
+
|
|
34
|
+
Use `getCustomIcon` when the icon name is only known at runtime, or to change the color or viewBox. It takes a `CustomIcon` name and returns a new icon object on each call:
|
|
10
35
|
|
|
11
36
|
```ts
|
|
12
37
|
import { getCustomIcon } from "@featherk/icons";
|
|
13
38
|
|
|
14
39
|
const icon = getCustomIcon("search");
|
|
15
|
-
// pass `icon` to Kendo's `SvgIcon` component
|
|
16
40
|
```
|
|
17
41
|
|
|
42
|
+
Calling `getCustomIcon` anywhere in your app bundles the full icon set, even if named imports are used elsewhere. The same applies to importing the `icons` registry.
|
|
43
|
+
|
|
18
44
|
## Types
|
|
19
45
|
|
|
20
46
|
- `CustomIcon`: union of supported icon identifier strings (see `packages/icons/src/custom-icon.ts`).
|
package/dist/custom-icon.d.ts
CHANGED
|
@@ -4,5 +4,405 @@ type SVGIcon = {
|
|
|
4
4
|
viewBox: string;
|
|
5
5
|
};
|
|
6
6
|
export type CustomIcon = "activity" | "add" | "add_apps" | "add_circle" | "add_circle_solid" | "add_comment" | "add_file" | "add_folder" | "add_note" | "add_user" | "ambulance" | "api_config" | "api_endpoints" | "appliance_profiles" | "appliances" | "appliances_alt" | "approval" | "apps" | "archive" | "area_chart" | "arrow_down" | "arrow_drop_down" | "arrow_left" | "arrow_right" | "arrow_up" | "article" | "assign_to" | "attach_email" | "attach_file" | "attachment" | "audio_file" | "bar_chart" | "blog_article" | "box_generic" | "break_link" | "bright_off" | "bright_on" | "brightness" | "build" | "business" | "calendar" | "calendar_end_date" | "calendar_start_date" | "cancel" | "cancel_circle" | "cancel_circle_solid" | "certificate_alt" | "change_user" | "chat" | "chat_conversation_download" | "chat_response" | "chat_response_disabled" | "chat_response_expected" | "chat_response_overdue" | "chat_support" | "check" | "check_box" | "check_box_indeterminate" | "check_box_selected" | "check_box_selected_filled" | "check_boxes" | "check_circle" | "check_circle_solid" | "checklist" | "checklist_alt" | "chevron_down" | "chevron_left" | "chevron_right" | "chevron_up" | "clock" | "clock_solid" | "cloud" | "cloud_back_up" | "cloud_disabled" | "cloud_download" | "cloud_offline" | "cloud_service" | "cloud_sync_disabled" | "cloud_sync_error" | "cloud_syncing" | "cloud_upload" | "clustering" | "clustering_alt" | "clustering_alt_2" | "code" | "collapse" | "column_chart" | "comment" | "compare" | "compliance" | "configuration" | "configure" | "connected" | "connection" | "contacts" | "content_copy" | "content_paste" | "context_action" | "copy" | "cost_savings" | "csv_file" | "cycle" | "dashboard_view" | "data_report" | "database" | "date_range" | "delete" | "desktop" | "digitize" | "directions" | "discovery" | "discovery_alt" | "discovery_alt_2" | "discovery_alt_3" | "document_complete" | "document_disabled" | "document_incomplete" | "document_read" | "document_unread" | "documentation" | "donut_chart" | "double_arrow_down" | "double_arrow_up" | "download" | "download_file" | "drug" | "drug_group" | "edit" | "edit_file" | "edit_mode" | "electrical_services" | "email" | "email_draft" | "email_inbox" | "email_secure" | "encryption" | "end_user" | "error" | "exit" | "exit_compare" | "exit_compare_alt" | "exit_fullscreen" | "expand" | "expand_view" | "expired" | "extract_data" | "feather" | "feedback" | "file_copy" | "file_copy_solid" | "filter_alt" | "filter_clear" | "firewall" | "flag" | "flows" | "folder" | "folder_open" | "forum" | "fullscreen" | "gauge" | "gavel" | "generic_file" | "grid_view" | "guide" | "guide_off" | "guide_on" | "guided_tour" | "hashtag" | "help" | "help_circle" | "help_circle_solid" | "hide" | "high_security" | "home" | "hospital" | "hub" | "id_card" | "image" | "inbox" | "inbox_alt" | "info" | "info_circle" | "information_exchange" | "instances" | "inventory" | "inventory_add" | "inventory_confirm" | "inventory_delete" | "key" | "laptop" | "learning" | "line_chart" | "link" | "linux" | "linux_server" | "list" | "live_chat" | "location" | "location_city" | "location_off" | "location_on" | "locations" | "locations_off" | "locations_on" | "lock" | "lock_folder" | "lock_password" | "log_file" | "log_in" | "log_out" | "logfile" | "logger_configs" | "logs" | "logs_alt" | "mailbox_empty" | "mailbox_empty_alt" | "map" | "map_node" | "map_node_add" | "map_node_add_alt_1" | "map_node_add_temp" | "map_node_alt_1" | "map_node_alt_2" | "map_node_alt_3" | "map_node_unknown" | "map_node_warning" | "menu" | "menu_collapse" | "menu_expand" | "meridian" | "microservices" | "minion" | "minion_profiles" | "monitoring" | "more_horiz" | "more_vert" | "nanthealth" | "network_profiles" | "neural_network" | "neural_network_alt" | "neural_network_alt_2" | "neural_network_alt_3" | "neural_network_alt_4" | "neural_network_alt_5" | "no_provider" | "node_inventory" | "nodes" | "nodes_alt" | "not_approved" | "notification" | "notification_selected" | "notification_sound" | "notification_sound_selected" | "notifications_off" | "open_external" | "opennms" | "opennmsserver" | "outbox" | "outbox_alt" | "page_left" | "page_right" | "paste" | "pathway" | "pathway_alt" | "patient" | "patient_file" | "patient_file_alt" | "payer" | "pbm" | "pdf_file" | "phone" | "pie_chart" | "pin" | "placeholder" | "play_circle" | "polar_chart" | "policy" | "policy_alt" | "policy_compliance" | "power" | "ppt_file" | "prescription" | "prescription_file" | "press_release" | "print" | "progress_urgent" | "provider" | "provider_office" | "radio_button" | "radio_button_half" | "radio_button_selected" | "rating_star" | "rating_star_half" | "rating_star_selected" | "received" | "recursion" | "refresh" | "remove" | "remove_circle" | "remove_user" | "reply" | "reply_all" | "reply_circle" | "report" | "report_file" | "resources" | "restore" | "router_lan" | "router_wan" | "save" | "savings" | "search" | "security" | "security_scan" | "seen_read" | "send" | "send_alt" | "send_alt_2" | "send_workflow" | "sending" | "server" | "server_clock" | "service_inventory" | "settings" | "share" | "show" | "sort_alpha" | "sort_ascending" | "sort_ascending_alt" | "sort_descending" | "sort_descending_alt" | "stacked_bar_chart" | "stacked_column_chart" | "sub_left" | "sub_right" | "subscription" | "subscription_alt" | "support" | "switch" | "switch_left" | "switch_off" | "switch_on" | "switch_right" | "synthetic_transactions" | "table_view" | "tag" | "tags" | "terminal" | "text_file" | "theme" | "time_sensitive" | "time_sensitive_alt" | "time_series_database" | "topology" | "treatment" | "treatment_cycle" | "treatment_schedule" | "tree_diagram" | "txt_file" | "unarchive" | "unconnected" | "unlock" | "update_schedules" | "update_utilities" | "upload" | "upload_file" | "user" | "user_circle" | "user_circle_solid" | "user_group" | "user_interface" | "user_security" | "user_settings" | "utilities" | "validate_user" | "video" | "video_file" | "view_code" | "view_details" | "virtual_machine" | "virtual_machine_alt" | "vitals" | "vitals_data" | "wan" | "warning" | "warning_circle" | "warning_circle_solid" | "wifi" | "wifi_no_connection" | "wifi_off" | "wifi_router" | "wifi_signal_bad" | "wifi_status_bar" | "windows" | "windows_server" | "word_file" | "workflow" | "workgroup_switch" | "xls_file" | "zip_file";
|
|
7
|
+
export declare const addUserIcon: SVGIcon;
|
|
8
|
+
export declare const brightnessIcon: SVGIcon;
|
|
9
|
+
export declare const changeUserIcon: SVGIcon;
|
|
10
|
+
export declare const chatSupportIcon: SVGIcon;
|
|
11
|
+
export declare const configurationIcon: SVGIcon;
|
|
12
|
+
export declare const configureIcon: SVGIcon;
|
|
13
|
+
export declare const feedbackIcon: SVGIcon;
|
|
14
|
+
export declare const forumIcon: SVGIcon;
|
|
15
|
+
export declare const guideIcon: SVGIcon;
|
|
16
|
+
export declare const helpIcon: SVGIcon;
|
|
17
|
+
export declare const helpCircleIcon: SVGIcon;
|
|
18
|
+
export declare const helpCircleSolidIcon: SVGIcon;
|
|
19
|
+
export declare const idCardIcon: SVGIcon;
|
|
20
|
+
export declare const learningIcon: SVGIcon;
|
|
21
|
+
export declare const liveChatIcon: SVGIcon;
|
|
22
|
+
export declare const logInIcon: SVGIcon;
|
|
23
|
+
export declare const logOutIcon: SVGIcon;
|
|
24
|
+
export declare const removeUserIcon: SVGIcon;
|
|
25
|
+
export declare const resourcesIcon: SVGIcon;
|
|
26
|
+
export declare const settingsIcon: SVGIcon;
|
|
27
|
+
export declare const supportIcon: SVGIcon;
|
|
28
|
+
export declare const themeIcon: SVGIcon;
|
|
29
|
+
export declare const userIcon: SVGIcon;
|
|
30
|
+
export declare const userCircleIcon: SVGIcon;
|
|
31
|
+
export declare const userCircleSolidIcon: SVGIcon;
|
|
32
|
+
export declare const userGroupIcon: SVGIcon;
|
|
33
|
+
export declare const userSecurityIcon: SVGIcon;
|
|
34
|
+
export declare const userSettingsIcon: SVGIcon;
|
|
35
|
+
export declare const validateUserIcon: SVGIcon;
|
|
36
|
+
export declare const addIcon: SVGIcon;
|
|
37
|
+
export declare const addCircleIcon: SVGIcon;
|
|
38
|
+
export declare const addCircleSolidIcon: SVGIcon;
|
|
39
|
+
export declare const addCommentIcon: SVGIcon;
|
|
40
|
+
export declare const addNoteIcon: SVGIcon;
|
|
41
|
+
export declare const approvalIcon: SVGIcon;
|
|
42
|
+
export declare const archiveIcon: SVGIcon;
|
|
43
|
+
export declare const articleIcon: SVGIcon;
|
|
44
|
+
export declare const assignToIcon: SVGIcon;
|
|
45
|
+
export declare const attachmentIcon: SVGIcon;
|
|
46
|
+
export declare const attachEmailIcon: SVGIcon;
|
|
47
|
+
export declare const blogArticleIcon: SVGIcon;
|
|
48
|
+
export declare const breakLinkIcon: SVGIcon;
|
|
49
|
+
export declare const calendarIcon: SVGIcon;
|
|
50
|
+
export declare const calendarEndDateIcon: SVGIcon;
|
|
51
|
+
export declare const calendarStartDateIcon: SVGIcon;
|
|
52
|
+
export declare const cancelIcon: SVGIcon;
|
|
53
|
+
export declare const cancelCircleIcon: SVGIcon;
|
|
54
|
+
export declare const cancelCircleSolidIcon: SVGIcon;
|
|
55
|
+
export declare const chatIcon: SVGIcon;
|
|
56
|
+
export declare const chatConversationDownloadIcon: SVGIcon;
|
|
57
|
+
export declare const chatResponseIcon: SVGIcon;
|
|
58
|
+
export declare const chatResponseDisabledIcon: SVGIcon;
|
|
59
|
+
export declare const chatResponseExpectedIcon: SVGIcon;
|
|
60
|
+
export declare const chatResponseOverdueIcon: SVGIcon;
|
|
61
|
+
export declare const checkIcon: SVGIcon;
|
|
62
|
+
export declare const checklistIcon: SVGIcon;
|
|
63
|
+
export declare const checklistAltIcon: SVGIcon;
|
|
64
|
+
export declare const checkCircleIcon: SVGIcon;
|
|
65
|
+
export declare const checkCircleSolidIcon: SVGIcon;
|
|
66
|
+
export declare const clockIcon: SVGIcon;
|
|
67
|
+
export declare const clockSolidIcon: SVGIcon;
|
|
68
|
+
export declare const commentIcon: SVGIcon;
|
|
69
|
+
export declare const contactsIcon: SVGIcon;
|
|
70
|
+
export declare const contentCopyIcon: SVGIcon;
|
|
71
|
+
export declare const contentPasteIcon: SVGIcon;
|
|
72
|
+
export declare const copyIcon: SVGIcon;
|
|
73
|
+
export declare const cycleIcon: SVGIcon;
|
|
74
|
+
export declare const dateRangeIcon: SVGIcon;
|
|
75
|
+
export declare const deleteIcon: SVGIcon;
|
|
76
|
+
export declare const directionsIcon: SVGIcon;
|
|
77
|
+
export declare const documentationIcon: SVGIcon;
|
|
78
|
+
export declare const documentDisabledIcon: SVGIcon;
|
|
79
|
+
export declare const downloadIcon: SVGIcon;
|
|
80
|
+
export declare const editIcon: SVGIcon;
|
|
81
|
+
export declare const editFileIcon: SVGIcon;
|
|
82
|
+
export declare const editModeIcon: SVGIcon;
|
|
83
|
+
export declare const emailIcon: SVGIcon;
|
|
84
|
+
export declare const emailDraftIcon: SVGIcon;
|
|
85
|
+
export declare const emailInboxIcon: SVGIcon;
|
|
86
|
+
export declare const emailSecureIcon: SVGIcon;
|
|
87
|
+
export declare const encryptionIcon: SVGIcon;
|
|
88
|
+
export declare const fileCopyIcon: SVGIcon;
|
|
89
|
+
export declare const fileCopySolidIcon: SVGIcon;
|
|
90
|
+
export declare const filterAltIcon: SVGIcon;
|
|
91
|
+
export declare const filterClearIcon: SVGIcon;
|
|
92
|
+
export declare const flagIcon: SVGIcon;
|
|
93
|
+
export declare const guidedTourIcon: SVGIcon;
|
|
94
|
+
export declare const hashtagIcon: SVGIcon;
|
|
95
|
+
export declare const hideIcon: SVGIcon;
|
|
96
|
+
export declare const hubIcon: SVGIcon;
|
|
97
|
+
export declare const imageIcon: SVGIcon;
|
|
98
|
+
export declare const inboxIcon: SVGIcon;
|
|
99
|
+
export declare const inboxAltIcon: SVGIcon;
|
|
100
|
+
export declare const infoIcon: SVGIcon;
|
|
101
|
+
export declare const infoCircleIcon: SVGIcon;
|
|
102
|
+
export declare const linkIcon: SVGIcon;
|
|
103
|
+
export declare const listIcon: SVGIcon;
|
|
104
|
+
export declare const locationIcon: SVGIcon;
|
|
105
|
+
export declare const locationsIcon: SVGIcon;
|
|
106
|
+
export declare const lockIcon: SVGIcon;
|
|
107
|
+
export declare const lockPasswordIcon: SVGIcon;
|
|
108
|
+
export declare const mailboxEmptyIcon: SVGIcon;
|
|
109
|
+
export declare const mailboxEmptyAltIcon: SVGIcon;
|
|
110
|
+
export declare const mapIcon: SVGIcon;
|
|
111
|
+
export declare const notApprovedIcon: SVGIcon;
|
|
112
|
+
export declare const outboxIcon: SVGIcon;
|
|
113
|
+
export declare const outboxAltIcon: SVGIcon;
|
|
114
|
+
export declare const pasteIcon: SVGIcon;
|
|
115
|
+
export declare const phoneIcon: SVGIcon;
|
|
116
|
+
export declare const pinIcon: SVGIcon;
|
|
117
|
+
export declare const placeholderIcon: SVGIcon;
|
|
118
|
+
export declare const playCircleIcon: SVGIcon;
|
|
119
|
+
export declare const pressReleaseIcon: SVGIcon;
|
|
120
|
+
export declare const printIcon: SVGIcon;
|
|
121
|
+
export declare const removeIcon: SVGIcon;
|
|
122
|
+
export declare const removeCircleIcon: SVGIcon;
|
|
123
|
+
export declare const replyIcon: SVGIcon;
|
|
124
|
+
export declare const replyAllIcon: SVGIcon;
|
|
125
|
+
export declare const replyCircleIcon: SVGIcon;
|
|
126
|
+
export declare const restoreIcon: SVGIcon;
|
|
127
|
+
export declare const saveIcon: SVGIcon;
|
|
128
|
+
export declare const searchIcon: SVGIcon;
|
|
129
|
+
export declare const sendIcon: SVGIcon;
|
|
130
|
+
export declare const sendAltIcon: SVGIcon;
|
|
131
|
+
export declare const sendAlt2Icon: SVGIcon;
|
|
132
|
+
export declare const sendWorkflowIcon: SVGIcon;
|
|
133
|
+
export declare const shareIcon: SVGIcon;
|
|
134
|
+
export declare const showIcon: SVGIcon;
|
|
135
|
+
export declare const sortAlphaIcon: SVGIcon;
|
|
136
|
+
export declare const sortAscendingIcon: SVGIcon;
|
|
137
|
+
export declare const sortAscendingAltIcon: SVGIcon;
|
|
138
|
+
export declare const sortDescendingIcon: SVGIcon;
|
|
139
|
+
export declare const sortDescendingAltIcon: SVGIcon;
|
|
140
|
+
export declare const subscriptionIcon: SVGIcon;
|
|
141
|
+
export declare const subscriptionAltIcon: SVGIcon;
|
|
142
|
+
export declare const tagIcon: SVGIcon;
|
|
143
|
+
export declare const tagsIcon: SVGIcon;
|
|
144
|
+
export declare const unarchiveIcon: SVGIcon;
|
|
145
|
+
export declare const unlockIcon: SVGIcon;
|
|
146
|
+
export declare const updateSchedulesIcon: SVGIcon;
|
|
147
|
+
export declare const uploadIcon: SVGIcon;
|
|
148
|
+
export declare const videoIcon: SVGIcon;
|
|
149
|
+
export declare const viewDetailsIcon: SVGIcon;
|
|
150
|
+
export declare const workflowIcon: SVGIcon;
|
|
151
|
+
export declare const areaChartIcon: SVGIcon;
|
|
152
|
+
export declare const barChartIcon: SVGIcon;
|
|
153
|
+
export declare const columnChartIcon: SVGIcon;
|
|
154
|
+
export declare const dataReportIcon: SVGIcon;
|
|
155
|
+
export declare const donutChartIcon: SVGIcon;
|
|
156
|
+
export declare const gaugeIcon: SVGIcon;
|
|
157
|
+
export declare const lineChartIcon: SVGIcon;
|
|
158
|
+
export declare const pieChartIcon: SVGIcon;
|
|
159
|
+
export declare const polarChartIcon: SVGIcon;
|
|
160
|
+
export declare const stackedBarChartIcon: SVGIcon;
|
|
161
|
+
export declare const stackedColumnChartIcon: SVGIcon;
|
|
162
|
+
export declare const treeDiagramIcon: SVGIcon;
|
|
163
|
+
export declare const addFileIcon: SVGIcon;
|
|
164
|
+
export declare const addFolderIcon: SVGIcon;
|
|
165
|
+
export declare const attachFileIcon: SVGIcon;
|
|
166
|
+
export declare const audioFileIcon: SVGIcon;
|
|
167
|
+
export declare const csvFileIcon: SVGIcon;
|
|
168
|
+
export declare const downloadFileIcon: SVGIcon;
|
|
169
|
+
export declare const folderIcon: SVGIcon;
|
|
170
|
+
export declare const folderOpenIcon: SVGIcon;
|
|
171
|
+
export declare const genericFileIcon: SVGIcon;
|
|
172
|
+
export declare const lockFolderIcon: SVGIcon;
|
|
173
|
+
export declare const logfileIcon: SVGIcon;
|
|
174
|
+
export declare const pbmIcon: SVGIcon;
|
|
175
|
+
export declare const pdfFileIcon: SVGIcon;
|
|
176
|
+
export declare const pptFileIcon: SVGIcon;
|
|
177
|
+
export declare const reportFileIcon: SVGIcon;
|
|
178
|
+
export declare const textFileIcon: SVGIcon;
|
|
179
|
+
export declare const txtFileIcon: SVGIcon;
|
|
180
|
+
export declare const uploadFileIcon: SVGIcon;
|
|
181
|
+
export declare const videoFileIcon: SVGIcon;
|
|
182
|
+
export declare const wordFileIcon: SVGIcon;
|
|
183
|
+
export declare const xlsFileIcon: SVGIcon;
|
|
184
|
+
export declare const zipFileIcon: SVGIcon;
|
|
185
|
+
export declare const activityIcon: SVGIcon;
|
|
186
|
+
export declare const ambulanceIcon: SVGIcon;
|
|
187
|
+
export declare const businessIcon: SVGIcon;
|
|
188
|
+
export declare const costSavingsIcon: SVGIcon;
|
|
189
|
+
export declare const drugIcon: SVGIcon;
|
|
190
|
+
export declare const drugGroupIcon: SVGIcon;
|
|
191
|
+
export declare const hospitalIcon: SVGIcon;
|
|
192
|
+
export declare const locationCityIcon: SVGIcon;
|
|
193
|
+
export declare const noProviderIcon: SVGIcon;
|
|
194
|
+
export declare const patientIcon: SVGIcon;
|
|
195
|
+
export declare const patientFileIcon: SVGIcon;
|
|
196
|
+
export declare const patientFileAltIcon: SVGIcon;
|
|
197
|
+
export declare const payerIcon: SVGIcon;
|
|
198
|
+
export declare const prescriptionIcon: SVGIcon;
|
|
199
|
+
export declare const prescriptionFileIcon: SVGIcon;
|
|
200
|
+
export declare const providerIcon: SVGIcon;
|
|
201
|
+
export declare const providerOfficeIcon: SVGIcon;
|
|
202
|
+
export declare const savingsIcon: SVGIcon;
|
|
203
|
+
export declare const treatmentIcon: SVGIcon;
|
|
204
|
+
export declare const treatmentCycleIcon: SVGIcon;
|
|
205
|
+
export declare const treatmentScheduleIcon: SVGIcon;
|
|
206
|
+
export declare const vitalsIcon: SVGIcon;
|
|
207
|
+
export declare const vitalsDataIcon: SVGIcon;
|
|
208
|
+
export declare const clusteringIcon: SVGIcon;
|
|
209
|
+
export declare const clusteringAltIcon: SVGIcon;
|
|
210
|
+
export declare const clusteringAlt2Icon: SVGIcon;
|
|
211
|
+
export declare const contextActionIcon: SVGIcon;
|
|
212
|
+
export declare const neuralNetworkIcon: SVGIcon;
|
|
213
|
+
export declare const neuralNetworkAltIcon: SVGIcon;
|
|
214
|
+
export declare const neuralNetworkAlt2Icon: SVGIcon;
|
|
215
|
+
export declare const neuralNetworkAlt3Icon: SVGIcon;
|
|
216
|
+
export declare const neuralNetworkAlt4Icon: SVGIcon;
|
|
217
|
+
export declare const neuralNetworkAlt5Icon: SVGIcon;
|
|
218
|
+
export declare const pathwayIcon: SVGIcon;
|
|
219
|
+
export declare const pathwayAltIcon: SVGIcon;
|
|
220
|
+
export declare const recursionIcon: SVGIcon;
|
|
221
|
+
export declare const featherIcon: SVGIcon;
|
|
222
|
+
export declare const linuxIcon: SVGIcon;
|
|
223
|
+
export declare const meridianIcon: SVGIcon;
|
|
224
|
+
export declare const nanthealthIcon: SVGIcon;
|
|
225
|
+
export declare const opennmsIcon: SVGIcon;
|
|
226
|
+
export declare const windowsIcon: SVGIcon;
|
|
227
|
+
export declare const addAppsIcon: SVGIcon;
|
|
228
|
+
export declare const appsIcon: SVGIcon;
|
|
229
|
+
export declare const arrowDownIcon: SVGIcon;
|
|
230
|
+
export declare const arrowDropDownIcon: SVGIcon;
|
|
231
|
+
export declare const arrowLeftIcon: SVGIcon;
|
|
232
|
+
export declare const arrowRightIcon: SVGIcon;
|
|
233
|
+
export declare const arrowUpIcon: SVGIcon;
|
|
234
|
+
export declare const chevronDownIcon: SVGIcon;
|
|
235
|
+
export declare const chevronLeftIcon: SVGIcon;
|
|
236
|
+
export declare const chevronRightIcon: SVGIcon;
|
|
237
|
+
export declare const chevronUpIcon: SVGIcon;
|
|
238
|
+
export declare const collapseIcon: SVGIcon;
|
|
239
|
+
export declare const dashboardViewIcon: SVGIcon;
|
|
240
|
+
export declare const doubleArrowDownIcon: SVGIcon;
|
|
241
|
+
export declare const doubleArrowUpIcon: SVGIcon;
|
|
242
|
+
export declare const exitIcon: SVGIcon;
|
|
243
|
+
export declare const exitFullscreenIcon: SVGIcon;
|
|
244
|
+
export declare const expandIcon: SVGIcon;
|
|
245
|
+
export declare const expandViewIcon: SVGIcon;
|
|
246
|
+
export declare const fullscreenIcon: SVGIcon;
|
|
247
|
+
export declare const gridViewIcon: SVGIcon;
|
|
248
|
+
export declare const homeIcon: SVGIcon;
|
|
249
|
+
export declare const menuIcon: SVGIcon;
|
|
250
|
+
export declare const menuCollapseIcon: SVGIcon;
|
|
251
|
+
export declare const menuExpandIcon: SVGIcon;
|
|
252
|
+
export declare const moreHorizIcon: SVGIcon;
|
|
253
|
+
export declare const moreVertIcon: SVGIcon;
|
|
254
|
+
export declare const openExternalIcon: SVGIcon;
|
|
255
|
+
export declare const pageLeftIcon: SVGIcon;
|
|
256
|
+
export declare const pageRightIcon: SVGIcon;
|
|
257
|
+
export declare const refreshIcon: SVGIcon;
|
|
258
|
+
export declare const subLeftIcon: SVGIcon;
|
|
259
|
+
export declare const subRightIcon: SVGIcon;
|
|
260
|
+
export declare const tableViewIcon: SVGIcon;
|
|
261
|
+
export declare const apiConfigIcon: SVGIcon;
|
|
262
|
+
export declare const apiEndpointsIcon: SVGIcon;
|
|
263
|
+
export declare const appliancesIcon: SVGIcon;
|
|
264
|
+
export declare const appliancesAltIcon: SVGIcon;
|
|
265
|
+
export declare const applianceProfilesIcon: SVGIcon;
|
|
266
|
+
export declare const boxGenericIcon: SVGIcon;
|
|
267
|
+
export declare const buildIcon: SVGIcon;
|
|
268
|
+
export declare const certificateAltIcon: SVGIcon;
|
|
269
|
+
export declare const cloudIcon: SVGIcon;
|
|
270
|
+
export declare const cloudBackUpIcon: SVGIcon;
|
|
271
|
+
export declare const cloudDisabledIcon: SVGIcon;
|
|
272
|
+
export declare const cloudDownloadIcon: SVGIcon;
|
|
273
|
+
export declare const cloudServiceIcon: SVGIcon;
|
|
274
|
+
export declare const cloudUploadIcon: SVGIcon;
|
|
275
|
+
export declare const codeIcon: SVGIcon;
|
|
276
|
+
export declare const compareIcon: SVGIcon;
|
|
277
|
+
export declare const complianceIcon: SVGIcon;
|
|
278
|
+
export declare const connectionIcon: SVGIcon;
|
|
279
|
+
export declare const databaseIcon: SVGIcon;
|
|
280
|
+
export declare const desktopIcon: SVGIcon;
|
|
281
|
+
export declare const digitizeIcon: SVGIcon;
|
|
282
|
+
export declare const discoveryIcon: SVGIcon;
|
|
283
|
+
export declare const discoveryAltIcon: SVGIcon;
|
|
284
|
+
export declare const discoveryAlt2Icon: SVGIcon;
|
|
285
|
+
export declare const discoveryAlt3Icon: SVGIcon;
|
|
286
|
+
export declare const electricalServicesIcon: SVGIcon;
|
|
287
|
+
export declare const endUserIcon: SVGIcon;
|
|
288
|
+
export declare const exitCompareIcon: SVGIcon;
|
|
289
|
+
export declare const exitCompareAltIcon: SVGIcon;
|
|
290
|
+
export declare const extractDataIcon: SVGIcon;
|
|
291
|
+
export declare const firewallIcon: SVGIcon;
|
|
292
|
+
export declare const flowsIcon: SVGIcon;
|
|
293
|
+
export declare const highSecurityIcon: SVGIcon;
|
|
294
|
+
export declare const instancesIcon: SVGIcon;
|
|
295
|
+
export declare const inventoryIcon: SVGIcon;
|
|
296
|
+
export declare const inventoryAddIcon: SVGIcon;
|
|
297
|
+
export declare const inventoryConfirmIcon: SVGIcon;
|
|
298
|
+
export declare const inventoryDeleteIcon: SVGIcon;
|
|
299
|
+
export declare const keyIcon: SVGIcon;
|
|
300
|
+
export declare const laptopIcon: SVGIcon;
|
|
301
|
+
export declare const linuxServerIcon: SVGIcon;
|
|
302
|
+
export declare const loggerConfigsIcon: SVGIcon;
|
|
303
|
+
export declare const logsIcon: SVGIcon;
|
|
304
|
+
export declare const logsAltIcon: SVGIcon;
|
|
305
|
+
export declare const logFileIcon: SVGIcon;
|
|
306
|
+
export declare const mapNodeIcon: SVGIcon;
|
|
307
|
+
export declare const mapNodeAddIcon: SVGIcon;
|
|
308
|
+
export declare const mapNodeAddAlt1Icon: SVGIcon;
|
|
309
|
+
export declare const mapNodeAddTempIcon: SVGIcon;
|
|
310
|
+
export declare const mapNodeAlt1Icon: SVGIcon;
|
|
311
|
+
export declare const mapNodeAlt2Icon: SVGIcon;
|
|
312
|
+
export declare const mapNodeAlt3Icon: SVGIcon;
|
|
313
|
+
export declare const mapNodeUnknownIcon: SVGIcon;
|
|
314
|
+
export declare const mapNodeWarningIcon: SVGIcon;
|
|
315
|
+
export declare const microservicesIcon: SVGIcon;
|
|
316
|
+
export declare const minionIcon: SVGIcon;
|
|
317
|
+
export declare const minionProfilesIcon: SVGIcon;
|
|
318
|
+
export declare const monitoringIcon: SVGIcon;
|
|
319
|
+
export declare const networkProfilesIcon: SVGIcon;
|
|
320
|
+
export declare const nodesIcon: SVGIcon;
|
|
321
|
+
export declare const nodesAltIcon: SVGIcon;
|
|
322
|
+
export declare const nodeInventoryIcon: SVGIcon;
|
|
323
|
+
export declare const opennmsserverIcon: SVGIcon;
|
|
324
|
+
export declare const policyIcon: SVGIcon;
|
|
325
|
+
export declare const policyAltIcon: SVGIcon;
|
|
326
|
+
export declare const policyComplianceIcon: SVGIcon;
|
|
327
|
+
export declare const powerIcon: SVGIcon;
|
|
328
|
+
export declare const routerLanIcon: SVGIcon;
|
|
329
|
+
export declare const routerWanIcon: SVGIcon;
|
|
330
|
+
export declare const securityIcon: SVGIcon;
|
|
331
|
+
export declare const securityScanIcon: SVGIcon;
|
|
332
|
+
export declare const serverIcon: SVGIcon;
|
|
333
|
+
export declare const serverClockIcon: SVGIcon;
|
|
334
|
+
export declare const serviceInventoryIcon: SVGIcon;
|
|
335
|
+
export declare const switchIcon: SVGIcon;
|
|
336
|
+
export declare const syntheticTransactionsIcon: SVGIcon;
|
|
337
|
+
export declare const terminalIcon: SVGIcon;
|
|
338
|
+
export declare const timeSeriesDatabaseIcon: SVGIcon;
|
|
339
|
+
export declare const topologyIcon: SVGIcon;
|
|
340
|
+
export declare const updateUtilitiesIcon: SVGIcon;
|
|
341
|
+
export declare const userInterfaceIcon: SVGIcon;
|
|
342
|
+
export declare const utilitiesIcon: SVGIcon;
|
|
343
|
+
export declare const viewCodeIcon: SVGIcon;
|
|
344
|
+
export declare const virtualMachineIcon: SVGIcon;
|
|
345
|
+
export declare const virtualMachineAltIcon: SVGIcon;
|
|
346
|
+
export declare const wanIcon: SVGIcon;
|
|
347
|
+
export declare const wifiRouterIcon: SVGIcon;
|
|
348
|
+
export declare const windowsServerIcon: SVGIcon;
|
|
349
|
+
export declare const workgroupSwitchIcon: SVGIcon;
|
|
350
|
+
export declare const cloudOfflineIcon: SVGIcon;
|
|
351
|
+
export declare const cloudSyncingIcon: SVGIcon;
|
|
352
|
+
export declare const cloudSyncDisabledIcon: SVGIcon;
|
|
353
|
+
export declare const cloudSyncErrorIcon: SVGIcon;
|
|
354
|
+
export declare const connectedIcon: SVGIcon;
|
|
355
|
+
export declare const documentCompleteIcon: SVGIcon;
|
|
356
|
+
export declare const documentIncompleteIcon: SVGIcon;
|
|
357
|
+
export declare const documentReadIcon: SVGIcon;
|
|
358
|
+
export declare const documentUnreadIcon: SVGIcon;
|
|
359
|
+
export declare const errorIcon: SVGIcon;
|
|
360
|
+
export declare const expiredIcon: SVGIcon;
|
|
361
|
+
export declare const gavelIcon: SVGIcon;
|
|
362
|
+
export declare const informationExchangeIcon: SVGIcon;
|
|
363
|
+
export declare const notificationIcon: SVGIcon;
|
|
364
|
+
export declare const notificationsOffIcon: SVGIcon;
|
|
365
|
+
export declare const notificationSelectedIcon: SVGIcon;
|
|
366
|
+
export declare const notificationSoundIcon: SVGIcon;
|
|
367
|
+
export declare const notificationSoundSelectedIcon: SVGIcon;
|
|
368
|
+
export declare const progressUrgentIcon: SVGIcon;
|
|
369
|
+
export declare const receivedIcon: SVGIcon;
|
|
370
|
+
export declare const reportIcon: SVGIcon;
|
|
371
|
+
export declare const seenReadIcon: SVGIcon;
|
|
372
|
+
export declare const sendingIcon: SVGIcon;
|
|
373
|
+
export declare const timeSensitiveIcon: SVGIcon;
|
|
374
|
+
export declare const timeSensitiveAltIcon: SVGIcon;
|
|
375
|
+
export declare const unconnectedIcon: SVGIcon;
|
|
376
|
+
export declare const warningIcon: SVGIcon;
|
|
377
|
+
export declare const warningCircleIcon: SVGIcon;
|
|
378
|
+
export declare const warningCircleSolidIcon: SVGIcon;
|
|
379
|
+
export declare const wifiIcon: SVGIcon;
|
|
380
|
+
export declare const wifiNoConnectionIcon: SVGIcon;
|
|
381
|
+
export declare const wifiOffIcon: SVGIcon;
|
|
382
|
+
export declare const wifiSignalBadIcon: SVGIcon;
|
|
383
|
+
export declare const wifiStatusBarIcon: SVGIcon;
|
|
384
|
+
export declare const brightOffIcon: SVGIcon;
|
|
385
|
+
export declare const brightOnIcon: SVGIcon;
|
|
386
|
+
export declare const checkBoxIcon: SVGIcon;
|
|
387
|
+
export declare const checkBoxesIcon: SVGIcon;
|
|
388
|
+
export declare const checkBoxIndeterminateIcon: SVGIcon;
|
|
389
|
+
export declare const checkBoxSelectedIcon: SVGIcon;
|
|
390
|
+
export declare const checkBoxSelectedFilledIcon: SVGIcon;
|
|
391
|
+
export declare const guideOffIcon: SVGIcon;
|
|
392
|
+
export declare const guideOnIcon: SVGIcon;
|
|
393
|
+
export declare const locationsOffIcon: SVGIcon;
|
|
394
|
+
export declare const locationsOnIcon: SVGIcon;
|
|
395
|
+
export declare const locationOffIcon: SVGIcon;
|
|
396
|
+
export declare const locationOnIcon: SVGIcon;
|
|
397
|
+
export declare const radioButtonIcon: SVGIcon;
|
|
398
|
+
export declare const radioButtonHalfIcon: SVGIcon;
|
|
399
|
+
export declare const radioButtonSelectedIcon: SVGIcon;
|
|
400
|
+
export declare const ratingStarIcon: SVGIcon;
|
|
401
|
+
export declare const ratingStarHalfIcon: SVGIcon;
|
|
402
|
+
export declare const ratingStarSelectedIcon: SVGIcon;
|
|
403
|
+
export declare const switchLeftIcon: SVGIcon;
|
|
404
|
+
export declare const switchOffIcon: SVGIcon;
|
|
405
|
+
export declare const switchOnIcon: SVGIcon;
|
|
406
|
+
export declare const switchRightIcon: SVGIcon;
|
|
7
407
|
export declare const icons: SVGIcon[];
|
|
8
408
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Generated by scripts/generate-docs-manifest.mjs. Do not edit.
|
|
2
2
|
export const packageName = "@featherk/icons";
|
|
3
3
|
|
|
4
|
-
export const version = "0.
|
|
4
|
+
export const version = "0.18.0";
|
|
5
5
|
|
|
6
6
|
export const paths = {
|
|
7
7
|
CreateFontAwesomeManifest: "fontawesome/CreateFontAwesomeManifest.md",
|
|
@@ -12,11 +12,11 @@ export const paths = {
|
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
export const docs = {
|
|
15
|
-
CreateFontAwesomeManifest: "https://cdn.jsdelivr.net/npm/@featherk/icons@0.
|
|
16
|
-
FontAwesome: "https://cdn.jsdelivr.net/npm/@featherk/icons@0.
|
|
17
|
-
FontAwesomeCLI: "https://cdn.jsdelivr.net/npm/@featherk/icons@0.
|
|
18
|
-
FontAwesomeDeveloperSetup: "https://cdn.jsdelivr.net/npm/@featherk/icons@0.
|
|
19
|
-
LICENSING: "https://cdn.jsdelivr.net/npm/@featherk/icons@0.
|
|
15
|
+
CreateFontAwesomeManifest: "https://cdn.jsdelivr.net/npm/@featherk/icons@0.18.0/docs/fontawesome/CreateFontAwesomeManifest.md",
|
|
16
|
+
FontAwesome: "https://cdn.jsdelivr.net/npm/@featherk/icons@0.18.0/docs/fontawesome/FontAwesome.md",
|
|
17
|
+
FontAwesomeCLI: "https://cdn.jsdelivr.net/npm/@featherk/icons@0.18.0/docs/fontawesome/FontAwesomeCLI.md",
|
|
18
|
+
FontAwesomeDeveloperSetup: "https://cdn.jsdelivr.net/npm/@featherk/icons@0.18.0/docs/fontawesome/FontAwesomeDeveloperSetup.md",
|
|
19
|
+
LICENSING: "https://cdn.jsdelivr.net/npm/@featherk/icons@0.18.0/docs/fontawesome/LICENSING.md",
|
|
20
20
|
};
|
|
21
21
|
|
|
22
22
|
export const docUrl = (name, host = "https://cdn.jsdelivr.net/npm") =>
|
package/dist/icon-service.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* - SVGIcon type: normalized SVG metadata and content
|
|
8
8
|
* - getCustomIcon: lookup a registered icon by name
|
|
9
9
|
* - getIconDataUrl: create a UTF-8 percent-encoded data URL for an icon
|
|
10
|
-
* - Re-exports: CustomIcon type and icons registry
|
|
10
|
+
* - Re-exports: one named export per icon, the CustomIcon type and the icons registry
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Normalized SVG icon representation used by the icon service.
|
|
@@ -23,27 +23,28 @@ type SVGIcon = {
|
|
|
23
23
|
content: string;
|
|
24
24
|
viewBox: string;
|
|
25
25
|
};
|
|
26
|
-
import {
|
|
26
|
+
import { type CustomIcon } from "./custom-icon";
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
29
|
-
* `packages/icons/src/custom-icon.ts`). Use these string IDs when calling
|
|
30
|
-
* `getCustomIcon`.
|
|
28
|
+
* Generated icon exports (see `packages/icons/src/custom-icon.ts`):
|
|
31
29
|
*
|
|
32
|
-
*
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
*
|
|
37
|
-
* Useful for enumeration, validation, or building icon pickers.
|
|
30
|
+
* - One named export per icon, such as `dateRangeIcon` for `date_range`. Prefer these:
|
|
31
|
+
* bundlers drop the icons an app never imports.
|
|
32
|
+
* - `CustomIcon` — union of icon identifier strings, used by `getCustomIcon`.
|
|
33
|
+
* - `icons` — registry of every icon, for enumeration or icon pickers. Importing it, or
|
|
34
|
+
* calling `getCustomIcon`, bundles the full icon set.
|
|
38
35
|
*
|
|
39
36
|
* @public
|
|
40
37
|
*/
|
|
41
|
-
export
|
|
38
|
+
export * from "./custom-icon";
|
|
42
39
|
/**
|
|
43
40
|
* Looks up a custom icon by name and returns its SVG metadata and content.
|
|
44
41
|
*
|
|
45
42
|
* The lookup is case-insensitive; the provided name is normalized to lowercase.
|
|
46
43
|
*
|
|
44
|
+
* Because the name is resolved at runtime, using this function bundles every icon in the
|
|
45
|
+
* package. To bundle only the icons you use, import them by name instead
|
|
46
|
+
* (`import { searchIcon } from "@featherk/icons"`).
|
|
47
|
+
*
|
|
47
48
|
* @param icon - The icon identifier to resolve.
|
|
48
49
|
* @param options - Optional settings to customize the icon output.
|
|
49
50
|
* - viewBox: Override the SVG viewBox (default: "0 0 24 24")
|