@expcat/tigercat-core 1.2.47 → 1.2.52
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/dist/icons/registry.cjs +110 -0
- package/dist/icons/registry.d.cts +80 -0
- package/dist/icons/registry.d.ts +80 -0
- package/dist/icons/registry.js +81 -0
- package/dist/index.cjs +150 -5
- package/dist/index.d.cts +256 -83
- package/dist/index.d.ts +256 -83
- package/dist/index.js +139 -5
- package/dist/{table-export-DOU7hPr1.d.cts → table-export-CR2in2GM.d.cts} +45 -1
- package/dist/{table-export-3lZdCB_o.d.ts → table-export-FvrNas0f.d.ts} +45 -1
- package/dist/utils/table-export.d.cts +1 -1
- package/dist/utils/table-export.d.ts +1 -1
- package/package.json +6 -1
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/utils/icons/registry.ts
|
|
21
|
+
var registry_exports = {};
|
|
22
|
+
__export(registry_exports, {
|
|
23
|
+
getIconDefinition: () => getIconDefinition,
|
|
24
|
+
iconNames: () => iconNames,
|
|
25
|
+
iconRegistry: () => iconRegistry
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(registry_exports);
|
|
28
|
+
|
|
29
|
+
// src/utils/icons/common.ts
|
|
30
|
+
var closeIconPathD = "M6 18L18 6M6 6l12 12";
|
|
31
|
+
|
|
32
|
+
// src/utils/icons/status.ts
|
|
33
|
+
var statusSuccessIconPath = "M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z";
|
|
34
|
+
var statusWarningIconPath = "M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z";
|
|
35
|
+
var statusErrorIconPath = "M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z";
|
|
36
|
+
var statusInfoIconPath = "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z";
|
|
37
|
+
|
|
38
|
+
// src/utils/icons/registry.ts
|
|
39
|
+
var stroke24 = (...paths) => ({
|
|
40
|
+
viewBox: "0 0 24 24",
|
|
41
|
+
paths,
|
|
42
|
+
mode: "stroke"
|
|
43
|
+
});
|
|
44
|
+
var iconRegistry = {
|
|
45
|
+
// --- Reused internal glyphs ---
|
|
46
|
+
close: stroke24(closeIconPathD),
|
|
47
|
+
success: stroke24(statusSuccessIconPath),
|
|
48
|
+
warning: stroke24(statusWarningIconPath),
|
|
49
|
+
error: stroke24(statusErrorIconPath),
|
|
50
|
+
info: stroke24(statusInfoIconPath),
|
|
51
|
+
// --- Curated outline set (Heroicons-style, 24x24) ---
|
|
52
|
+
check: stroke24("m4.5 12.75 6 6 9-13.5"),
|
|
53
|
+
"chevron-up": stroke24("m4.5 15.75 7.5-7.5 7.5 7.5"),
|
|
54
|
+
"chevron-down": stroke24("m19.5 8.25-7.5 7.5-7.5-7.5"),
|
|
55
|
+
"chevron-left": stroke24("M15.75 19.5 8.25 12l7.5-7.5"),
|
|
56
|
+
"chevron-right": stroke24("m8.25 4.5 7.5 7.5-7.5 7.5"),
|
|
57
|
+
"arrow-left": stroke24("M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"),
|
|
58
|
+
"arrow-right": stroke24("M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3"),
|
|
59
|
+
"arrow-up": stroke24("M4.5 10.5 12 3m0 0 7.5 7.5M12 3v18"),
|
|
60
|
+
"arrow-down": stroke24("M19.5 13.5 12 21m0 0-7.5-7.5M12 21V3"),
|
|
61
|
+
search: stroke24(
|
|
62
|
+
"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"
|
|
63
|
+
),
|
|
64
|
+
plus: stroke24("M12 4.5v15m7.5-7.5h-15"),
|
|
65
|
+
minus: stroke24("M5 12h14"),
|
|
66
|
+
edit: stroke24(
|
|
67
|
+
"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10"
|
|
68
|
+
),
|
|
69
|
+
trash: stroke24(
|
|
70
|
+
"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"
|
|
71
|
+
),
|
|
72
|
+
user: stroke24(
|
|
73
|
+
"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"
|
|
74
|
+
),
|
|
75
|
+
settings: stroke24(
|
|
76
|
+
"M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.324.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 0 1 1.37.49l1.296 2.247a1.125 1.125 0 0 1-.26 1.431l-1.003.827c-.293.24-.438.613-.43.992a7.723 7.723 0 0 1 0 .255c-.008.378.137.75.43.99l1.004.828c.424.35.534.954.26 1.43l-1.298 2.247a1.125 1.125 0 0 1-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.47 6.47 0 0 1-.22.128c-.331.183-.581.495-.644.869l-.213 1.281c-.09.543-.56.94-1.11.94h-2.594c-.55 0-1.019-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 0 1-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 0 1-1.369-.49l-1.297-2.247a1.125 1.125 0 0 1 .26-1.431l1.004-.827c.292-.24.437-.613.43-.992a7.723 7.723 0 0 1 0-.255c.007-.378-.138-.75-.43-.99l-1.004-.828a1.125 1.125 0 0 1-.26-1.43l1.297-2.247a1.125 1.125 0 0 1 1.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.087.22-.128.332-.183.582-.495.644-.869l.214-1.281Z",
|
|
77
|
+
"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"
|
|
78
|
+
),
|
|
79
|
+
eye: stroke24(
|
|
80
|
+
"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z",
|
|
81
|
+
"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"
|
|
82
|
+
),
|
|
83
|
+
"eye-off": stroke24(
|
|
84
|
+
"M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88"
|
|
85
|
+
),
|
|
86
|
+
calendar: stroke24(
|
|
87
|
+
"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5"
|
|
88
|
+
),
|
|
89
|
+
clock: stroke24("M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"),
|
|
90
|
+
menu: stroke24("M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"),
|
|
91
|
+
"more-horizontal": stroke24(
|
|
92
|
+
"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"
|
|
93
|
+
),
|
|
94
|
+
"more-vertical": stroke24(
|
|
95
|
+
"M12 6.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5ZM12 12.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5ZM12 18.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5Z"
|
|
96
|
+
),
|
|
97
|
+
"external-link": stroke24(
|
|
98
|
+
"M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"
|
|
99
|
+
)
|
|
100
|
+
};
|
|
101
|
+
var iconNames = Object.keys(iconRegistry);
|
|
102
|
+
function getIconDefinition(name) {
|
|
103
|
+
return iconRegistry[name];
|
|
104
|
+
}
|
|
105
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
106
|
+
0 && (module.exports = {
|
|
107
|
+
getIconDefinition,
|
|
108
|
+
iconNames,
|
|
109
|
+
iconRegistry
|
|
110
|
+
});
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Named built-in icon set.
|
|
3
|
+
*
|
|
4
|
+
* Exposes a small, curated collection of 24x24 outline (stroke) icons so the
|
|
5
|
+
* public `Icon` component can render glyphs by `name` instead of every consumer
|
|
6
|
+
* hand-authoring inline SVG. Definitions are framework-agnostic path data; the
|
|
7
|
+
* Vue/React `Icon` components turn an `IconDefinition` into an `<svg>`.
|
|
8
|
+
*
|
|
9
|
+
* The set is intentionally additive — new entries can be appended without
|
|
10
|
+
* breaking existing usage. Where an icon already exists internally (close,
|
|
11
|
+
* status glyphs) the shared constant is reused.
|
|
12
|
+
*
|
|
13
|
+
* Subpath: `@expcat/tigercat-core/icons/registry`
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* Rendering mode for a built-in icon.
|
|
17
|
+
* - `stroke`: outline icon drawn with `stroke="currentColor"` and `fill="none"`.
|
|
18
|
+
* - `fill`: solid icon drawn with `fill="currentColor"` and `stroke="none"`.
|
|
19
|
+
*/
|
|
20
|
+
type IconRenderMode = 'stroke' | 'fill';
|
|
21
|
+
/**
|
|
22
|
+
* A single built-in icon definition.
|
|
23
|
+
*/
|
|
24
|
+
interface IconDefinition {
|
|
25
|
+
/** SVG `viewBox` for the paths. */
|
|
26
|
+
viewBox: string;
|
|
27
|
+
/** One or more `<path d="...">` strings composing the glyph. */
|
|
28
|
+
paths: string[];
|
|
29
|
+
/** How the paths should be painted. @default 'stroke' */
|
|
30
|
+
mode: IconRenderMode;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Built-in icon registry keyed by icon name.
|
|
34
|
+
*/
|
|
35
|
+
declare const iconRegistry: {
|
|
36
|
+
close: IconDefinition;
|
|
37
|
+
success: IconDefinition;
|
|
38
|
+
warning: IconDefinition;
|
|
39
|
+
error: IconDefinition;
|
|
40
|
+
info: IconDefinition;
|
|
41
|
+
check: IconDefinition;
|
|
42
|
+
'chevron-up': IconDefinition;
|
|
43
|
+
'chevron-down': IconDefinition;
|
|
44
|
+
'chevron-left': IconDefinition;
|
|
45
|
+
'chevron-right': IconDefinition;
|
|
46
|
+
'arrow-left': IconDefinition;
|
|
47
|
+
'arrow-right': IconDefinition;
|
|
48
|
+
'arrow-up': IconDefinition;
|
|
49
|
+
'arrow-down': IconDefinition;
|
|
50
|
+
search: IconDefinition;
|
|
51
|
+
plus: IconDefinition;
|
|
52
|
+
minus: IconDefinition;
|
|
53
|
+
edit: IconDefinition;
|
|
54
|
+
trash: IconDefinition;
|
|
55
|
+
user: IconDefinition;
|
|
56
|
+
settings: IconDefinition;
|
|
57
|
+
eye: IconDefinition;
|
|
58
|
+
'eye-off': IconDefinition;
|
|
59
|
+
calendar: IconDefinition;
|
|
60
|
+
clock: IconDefinition;
|
|
61
|
+
menu: IconDefinition;
|
|
62
|
+
'more-horizontal': IconDefinition;
|
|
63
|
+
'more-vertical': IconDefinition;
|
|
64
|
+
'external-link': IconDefinition;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Union of all built-in icon names.
|
|
68
|
+
*/
|
|
69
|
+
type IconName = keyof typeof iconRegistry;
|
|
70
|
+
/**
|
|
71
|
+
* All built-in icon names (useful for documentation / iteration).
|
|
72
|
+
*/
|
|
73
|
+
declare const iconNames: IconName[];
|
|
74
|
+
/**
|
|
75
|
+
* Look up a built-in icon definition by name. Returns `undefined` for unknown
|
|
76
|
+
* names so callers can fall back gracefully.
|
|
77
|
+
*/
|
|
78
|
+
declare function getIconDefinition(name: string): IconDefinition | undefined;
|
|
79
|
+
|
|
80
|
+
export { type IconDefinition, type IconName, type IconRenderMode, getIconDefinition, iconNames, iconRegistry };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Named built-in icon set.
|
|
3
|
+
*
|
|
4
|
+
* Exposes a small, curated collection of 24x24 outline (stroke) icons so the
|
|
5
|
+
* public `Icon` component can render glyphs by `name` instead of every consumer
|
|
6
|
+
* hand-authoring inline SVG. Definitions are framework-agnostic path data; the
|
|
7
|
+
* Vue/React `Icon` components turn an `IconDefinition` into an `<svg>`.
|
|
8
|
+
*
|
|
9
|
+
* The set is intentionally additive — new entries can be appended without
|
|
10
|
+
* breaking existing usage. Where an icon already exists internally (close,
|
|
11
|
+
* status glyphs) the shared constant is reused.
|
|
12
|
+
*
|
|
13
|
+
* Subpath: `@expcat/tigercat-core/icons/registry`
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* Rendering mode for a built-in icon.
|
|
17
|
+
* - `stroke`: outline icon drawn with `stroke="currentColor"` and `fill="none"`.
|
|
18
|
+
* - `fill`: solid icon drawn with `fill="currentColor"` and `stroke="none"`.
|
|
19
|
+
*/
|
|
20
|
+
type IconRenderMode = 'stroke' | 'fill';
|
|
21
|
+
/**
|
|
22
|
+
* A single built-in icon definition.
|
|
23
|
+
*/
|
|
24
|
+
interface IconDefinition {
|
|
25
|
+
/** SVG `viewBox` for the paths. */
|
|
26
|
+
viewBox: string;
|
|
27
|
+
/** One or more `<path d="...">` strings composing the glyph. */
|
|
28
|
+
paths: string[];
|
|
29
|
+
/** How the paths should be painted. @default 'stroke' */
|
|
30
|
+
mode: IconRenderMode;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Built-in icon registry keyed by icon name.
|
|
34
|
+
*/
|
|
35
|
+
declare const iconRegistry: {
|
|
36
|
+
close: IconDefinition;
|
|
37
|
+
success: IconDefinition;
|
|
38
|
+
warning: IconDefinition;
|
|
39
|
+
error: IconDefinition;
|
|
40
|
+
info: IconDefinition;
|
|
41
|
+
check: IconDefinition;
|
|
42
|
+
'chevron-up': IconDefinition;
|
|
43
|
+
'chevron-down': IconDefinition;
|
|
44
|
+
'chevron-left': IconDefinition;
|
|
45
|
+
'chevron-right': IconDefinition;
|
|
46
|
+
'arrow-left': IconDefinition;
|
|
47
|
+
'arrow-right': IconDefinition;
|
|
48
|
+
'arrow-up': IconDefinition;
|
|
49
|
+
'arrow-down': IconDefinition;
|
|
50
|
+
search: IconDefinition;
|
|
51
|
+
plus: IconDefinition;
|
|
52
|
+
minus: IconDefinition;
|
|
53
|
+
edit: IconDefinition;
|
|
54
|
+
trash: IconDefinition;
|
|
55
|
+
user: IconDefinition;
|
|
56
|
+
settings: IconDefinition;
|
|
57
|
+
eye: IconDefinition;
|
|
58
|
+
'eye-off': IconDefinition;
|
|
59
|
+
calendar: IconDefinition;
|
|
60
|
+
clock: IconDefinition;
|
|
61
|
+
menu: IconDefinition;
|
|
62
|
+
'more-horizontal': IconDefinition;
|
|
63
|
+
'more-vertical': IconDefinition;
|
|
64
|
+
'external-link': IconDefinition;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Union of all built-in icon names.
|
|
68
|
+
*/
|
|
69
|
+
type IconName = keyof typeof iconRegistry;
|
|
70
|
+
/**
|
|
71
|
+
* All built-in icon names (useful for documentation / iteration).
|
|
72
|
+
*/
|
|
73
|
+
declare const iconNames: IconName[];
|
|
74
|
+
/**
|
|
75
|
+
* Look up a built-in icon definition by name. Returns `undefined` for unknown
|
|
76
|
+
* names so callers can fall back gracefully.
|
|
77
|
+
*/
|
|
78
|
+
declare function getIconDefinition(name: string): IconDefinition | undefined;
|
|
79
|
+
|
|
80
|
+
export { type IconDefinition, type IconName, type IconRenderMode, getIconDefinition, iconNames, iconRegistry };
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
// src/utils/icons/common.ts
|
|
2
|
+
var closeIconPathD = "M6 18L18 6M6 6l12 12";
|
|
3
|
+
|
|
4
|
+
// src/utils/icons/status.ts
|
|
5
|
+
var statusSuccessIconPath = "M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z";
|
|
6
|
+
var statusWarningIconPath = "M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z";
|
|
7
|
+
var statusErrorIconPath = "M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z";
|
|
8
|
+
var statusInfoIconPath = "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z";
|
|
9
|
+
|
|
10
|
+
// src/utils/icons/registry.ts
|
|
11
|
+
var stroke24 = (...paths) => ({
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
|
+
paths,
|
|
14
|
+
mode: "stroke"
|
|
15
|
+
});
|
|
16
|
+
var iconRegistry = {
|
|
17
|
+
// --- Reused internal glyphs ---
|
|
18
|
+
close: stroke24(closeIconPathD),
|
|
19
|
+
success: stroke24(statusSuccessIconPath),
|
|
20
|
+
warning: stroke24(statusWarningIconPath),
|
|
21
|
+
error: stroke24(statusErrorIconPath),
|
|
22
|
+
info: stroke24(statusInfoIconPath),
|
|
23
|
+
// --- Curated outline set (Heroicons-style, 24x24) ---
|
|
24
|
+
check: stroke24("m4.5 12.75 6 6 9-13.5"),
|
|
25
|
+
"chevron-up": stroke24("m4.5 15.75 7.5-7.5 7.5 7.5"),
|
|
26
|
+
"chevron-down": stroke24("m19.5 8.25-7.5 7.5-7.5-7.5"),
|
|
27
|
+
"chevron-left": stroke24("M15.75 19.5 8.25 12l7.5-7.5"),
|
|
28
|
+
"chevron-right": stroke24("m8.25 4.5 7.5 7.5-7.5 7.5"),
|
|
29
|
+
"arrow-left": stroke24("M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"),
|
|
30
|
+
"arrow-right": stroke24("M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3"),
|
|
31
|
+
"arrow-up": stroke24("M4.5 10.5 12 3m0 0 7.5 7.5M12 3v18"),
|
|
32
|
+
"arrow-down": stroke24("M19.5 13.5 12 21m0 0-7.5-7.5M12 21V3"),
|
|
33
|
+
search: stroke24(
|
|
34
|
+
"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"
|
|
35
|
+
),
|
|
36
|
+
plus: stroke24("M12 4.5v15m7.5-7.5h-15"),
|
|
37
|
+
minus: stroke24("M5 12h14"),
|
|
38
|
+
edit: stroke24(
|
|
39
|
+
"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10"
|
|
40
|
+
),
|
|
41
|
+
trash: stroke24(
|
|
42
|
+
"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"
|
|
43
|
+
),
|
|
44
|
+
user: stroke24(
|
|
45
|
+
"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"
|
|
46
|
+
),
|
|
47
|
+
settings: stroke24(
|
|
48
|
+
"M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.324.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 0 1 1.37.49l1.296 2.247a1.125 1.125 0 0 1-.26 1.431l-1.003.827c-.293.24-.438.613-.43.992a7.723 7.723 0 0 1 0 .255c-.008.378.137.75.43.99l1.004.828c.424.35.534.954.26 1.43l-1.298 2.247a1.125 1.125 0 0 1-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.47 6.47 0 0 1-.22.128c-.331.183-.581.495-.644.869l-.213 1.281c-.09.543-.56.94-1.11.94h-2.594c-.55 0-1.019-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 0 1-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 0 1-1.369-.49l-1.297-2.247a1.125 1.125 0 0 1 .26-1.431l1.004-.827c.292-.24.437-.613.43-.992a7.723 7.723 0 0 1 0-.255c.007-.378-.138-.75-.43-.99l-1.004-.828a1.125 1.125 0 0 1-.26-1.43l1.297-2.247a1.125 1.125 0 0 1 1.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.087.22-.128.332-.183.582-.495.644-.869l.214-1.281Z",
|
|
49
|
+
"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"
|
|
50
|
+
),
|
|
51
|
+
eye: stroke24(
|
|
52
|
+
"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z",
|
|
53
|
+
"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"
|
|
54
|
+
),
|
|
55
|
+
"eye-off": stroke24(
|
|
56
|
+
"M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88"
|
|
57
|
+
),
|
|
58
|
+
calendar: stroke24(
|
|
59
|
+
"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5"
|
|
60
|
+
),
|
|
61
|
+
clock: stroke24("M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"),
|
|
62
|
+
menu: stroke24("M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"),
|
|
63
|
+
"more-horizontal": stroke24(
|
|
64
|
+
"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"
|
|
65
|
+
),
|
|
66
|
+
"more-vertical": stroke24(
|
|
67
|
+
"M12 6.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5ZM12 12.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5ZM12 18.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5Z"
|
|
68
|
+
),
|
|
69
|
+
"external-link": stroke24(
|
|
70
|
+
"M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"
|
|
71
|
+
)
|
|
72
|
+
};
|
|
73
|
+
var iconNames = Object.keys(iconRegistry);
|
|
74
|
+
function getIconDefinition(name) {
|
|
75
|
+
return iconRegistry[name];
|
|
76
|
+
}
|
|
77
|
+
export {
|
|
78
|
+
getIconDefinition,
|
|
79
|
+
iconNames,
|
|
80
|
+
iconRegistry
|
|
81
|
+
};
|