@pantoken/icon-font 0.1.16 → 0.1.17
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/index.d.mts +3 -3
- package/package.json +8 -8
package/dist/index.d.mts
CHANGED
|
@@ -49,7 +49,7 @@ interface BuildIconFontOptions {
|
|
|
49
49
|
* font.codepoints; // { "arrow-left": "e000", "check-mark": "e001" }
|
|
50
50
|
* ```
|
|
51
51
|
*/
|
|
52
|
-
declare function buildIconFont(options?: BuildIconFontOptions): Promise<IconFontResult>;
|
|
52
|
+
export declare function buildIconFont(options?: BuildIconFontOptions): Promise<IconFontResult>;
|
|
53
53
|
//#endregion
|
|
54
54
|
//#region src/outline.d.ts
|
|
55
55
|
/** A filled glyph path plus the SVG viewBox size to wrap it in. */
|
|
@@ -73,6 +73,6 @@ interface GlyphPath {
|
|
|
73
73
|
* // d: a single filled path; width/height: the viewBox size (e.g. 24, 24)
|
|
74
74
|
* ```
|
|
75
75
|
*/
|
|
76
|
-
declare function svgToGlyphPath(svg: string): GlyphPath;
|
|
76
|
+
export declare function svgToGlyphPath(svg: string): GlyphPath;
|
|
77
77
|
//#endregion
|
|
78
|
-
export {
|
|
78
|
+
export type { BuildIconFontOptions, GlyphPath, IconFontResult };
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pantoken/icon-font",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.17",
|
|
4
4
|
"description": "Build an installable Instructure icon font (WOFF2 + TTF) with CSS and codepoints — stroke glyphs outlined to fills.",
|
|
5
|
-
"homepage": "https://pantoken.
|
|
5
|
+
"homepage": "https://pantoken.app",
|
|
6
6
|
"bugs": "https://github.com/thedannywahl/pantoken/issues",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"provenance": true
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@pantoken/core": "0.2.
|
|
28
|
-
"@pantoken/model": "0.3.
|
|
29
|
-
"@pantoken/tokens": "0.3.
|
|
27
|
+
"@pantoken/core": "0.2.9",
|
|
28
|
+
"@pantoken/model": "0.3.2",
|
|
29
|
+
"@pantoken/tokens": "0.3.1",
|
|
30
30
|
"clipper-lib": "^6.4.2",
|
|
31
31
|
"points-on-path": "^0.2.1",
|
|
32
32
|
"svg2ttf": "^6.1.0",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"ttf2woff2": "^8.0.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@types/node": "^26.
|
|
38
|
+
"@types/node": "^26.5.0",
|
|
39
39
|
"typescript": "^7.0.2",
|
|
40
|
-
"vite": "npm:@voidzero-dev/vite-plus-core@0.3.
|
|
41
|
-
"vite-plus": "0.3.
|
|
40
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@0.3.1",
|
|
41
|
+
"vite-plus": "0.3.1"
|
|
42
42
|
},
|
|
43
43
|
"engines": {
|
|
44
44
|
"node": ">=22.18.0"
|