@pantoken/astro 0.1.17 → 0.1.19
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 +6 -6
- package/package.json +10 -10
package/dist/index.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { PantokenPlugin, Theme } from "@pantoken/model";
|
|
2
2
|
//#region src/index.d.ts
|
|
3
3
|
/** A minimal structural type for a Starlight head entry (avoids a hard dependency on Starlight). */
|
|
4
|
-
interface HeadEntry {
|
|
4
|
+
export interface HeadEntry {
|
|
5
5
|
tag: "style";
|
|
6
6
|
attrs: Record<string, string>;
|
|
7
7
|
content: string;
|
|
8
8
|
}
|
|
9
9
|
/** A minimal structural type for a Starlight plugin. */
|
|
10
|
-
interface StarlightPluginLike {
|
|
10
|
+
export interface StarlightPluginLike {
|
|
11
11
|
name: string;
|
|
12
12
|
hooks: {
|
|
13
13
|
"config:setup"(context: {
|
|
@@ -24,7 +24,7 @@ interface StarlightPluginLike {
|
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
/** Options for {@link InstUI}. */
|
|
27
|
-
interface InstUIOptions {
|
|
27
|
+
export interface InstUIOptions {
|
|
28
28
|
/** The theme to emit (default: `"rebrand"`). */
|
|
29
29
|
theme?: Theme;
|
|
30
30
|
/** Plugins whose `css` hooks contribute to the injected stylesheet (default: none). */
|
|
@@ -43,7 +43,7 @@ interface InstUIOptions {
|
|
|
43
43
|
* const css = pantokenCss({ theme: "canvas" });
|
|
44
44
|
* ```
|
|
45
45
|
*/
|
|
46
|
-
declare function pantokenCss(options?: InstUIOptions): string;
|
|
46
|
+
export declare function pantokenCss(options?: InstUIOptions): string;
|
|
47
47
|
/**
|
|
48
48
|
* Create the pantoken Starlight plugin.
|
|
49
49
|
*
|
|
@@ -66,6 +66,6 @@ declare function pantokenCss(options?: InstUIOptions): string;
|
|
|
66
66
|
* });
|
|
67
67
|
* ```
|
|
68
68
|
*/
|
|
69
|
-
declare function InstUI(options?: InstUIOptions): StarlightPluginLike;
|
|
69
|
+
export declare function InstUI(options?: InstUIOptions): StarlightPluginLike;
|
|
70
70
|
//#endregion
|
|
71
|
-
export {
|
|
71
|
+
export { InstUI as default };
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pantoken/astro",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.19",
|
|
4
4
|
"description": "Astro / Starlight integration for pantoken: inject Instructure design tokens and icons as CSS.",
|
|
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": {
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
"provenance": true
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@pantoken/css": "0.3.
|
|
31
|
-
"@pantoken/model": "0.3.
|
|
32
|
-
"@pantoken/tokens": "0.3.
|
|
30
|
+
"@pantoken/css": "0.3.9",
|
|
31
|
+
"@pantoken/model": "0.3.2",
|
|
32
|
+
"@pantoken/tokens": "0.3.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@pantoken/components": "1.
|
|
36
|
-
"@pantoken/plugin-custom-components": "0.3.
|
|
37
|
-
"@types/node": "^26.
|
|
35
|
+
"@pantoken/components": "1.1.1",
|
|
36
|
+
"@pantoken/plugin-custom-components": "0.3.1",
|
|
37
|
+
"@types/node": "^26.5.0",
|
|
38
38
|
"typescript": "^7.0.2",
|
|
39
|
-
"vite": "npm:@voidzero-dev/vite-plus-core@0.3.
|
|
40
|
-
"vite-plus": "0.3.
|
|
39
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@0.3.1",
|
|
40
|
+
"vite-plus": "0.3.1"
|
|
41
41
|
},
|
|
42
42
|
"engines": {
|
|
43
43
|
"node": ">=22.18.0"
|