@pantoken/vitepress 0.2.1 → 0.2.2
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 +4 -4
- package/package.json +8 -8
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/vitepress-vars.d.ts
|
|
2
2
|
/** VitePress CSS variable → the Instructure token it resolves to. */
|
|
3
|
-
declare const VITEPRESS_TO_INSTUI: Readonly<Record<string, string>>;
|
|
3
|
+
export declare const VITEPRESS_TO_INSTUI: Readonly<Record<string, string>>;
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region src/index.d.ts
|
|
6
6
|
/**
|
|
@@ -15,7 +15,7 @@ declare const VITEPRESS_TO_INSTUI: Readonly<Record<string, string>>;
|
|
|
15
15
|
* @beta
|
|
16
16
|
*/
|
|
17
17
|
/** Options for `toVitePressCss`. */
|
|
18
|
-
interface ToVitePressCssOptions {
|
|
18
|
+
export interface ToVitePressCssOptions {
|
|
19
19
|
/** The selector the variables are emitted under (default `":root"`). */
|
|
20
20
|
selector?: string;
|
|
21
21
|
}
|
|
@@ -28,6 +28,6 @@ interface ToVitePressCssOptions {
|
|
|
28
28
|
* @param options - {@link ToVitePressCssOptions}.
|
|
29
29
|
* @returns The bridging CSS string wrapped in the selector.
|
|
30
30
|
*/
|
|
31
|
-
declare function toVitePressCss(options?: ToVitePressCssOptions): string;
|
|
31
|
+
export declare function toVitePressCss(options?: ToVitePressCssOptions): string;
|
|
32
32
|
//#endregion
|
|
33
|
-
export {
|
|
33
|
+
export { toVitePressCss as default };
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pantoken/vitepress",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Theme a VitePress site with Instructure tokens: maps VitePress --vp-* CSS variables to var(--instui-*).",
|
|
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": {
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"provenance": true
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@pantoken/components": "1.0
|
|
32
|
-
"@pantoken/tokens": "0.3.
|
|
33
|
-
"@pantoken/utils": "1.0.
|
|
34
|
-
"@types/node": "^26.
|
|
31
|
+
"@pantoken/components": "1.1.0",
|
|
32
|
+
"@pantoken/tokens": "0.3.1",
|
|
33
|
+
"@pantoken/utils": "1.0.2",
|
|
34
|
+
"@types/node": "^26.5.0",
|
|
35
35
|
"typescript": "^7.0.2",
|
|
36
|
-
"vite": "npm:@voidzero-dev/vite-plus-core@0.3.
|
|
37
|
-
"vite-plus": "0.3.
|
|
36
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@0.3.1",
|
|
37
|
+
"vite-plus": "0.3.1"
|
|
38
38
|
},
|
|
39
39
|
"engines": {
|
|
40
40
|
"node": ">=22.18.0"
|