@pantoken/vue 0.1.28 → 0.1.29
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 -5
- package/dist/index.mjs +1 -2
- package/dist/scaffold-preset.d.mts +2 -3
- package/package.json +8 -9
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { iconSvg, register } from "@pantoken/web-components";
|
|
2
|
-
import { LocaleBundle, registerLocalized } from "@pantoken/i18n";
|
|
1
|
+
import { LocaleBundle, iconSvg, register, registerLocalized } from "@pantoken/web-components";
|
|
3
2
|
//#region src/index.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Read a resolved token value. Returns `fallback` on the server.
|
|
@@ -11,7 +10,7 @@ import { LocaleBundle, registerLocalized } from "@pantoken/i18n";
|
|
|
11
10
|
* const brand = readToken("--instui-color-background-brand", "#0374B5");
|
|
12
11
|
* ```
|
|
13
12
|
*/
|
|
14
|
-
declare function readToken(name: string, fallback?: string): string;
|
|
13
|
+
export declare function readToken(name: string, fallback?: string): string;
|
|
15
14
|
/** The subset of a Vue `App` this plugin touches. */
|
|
16
15
|
interface VueAppLike {
|
|
17
16
|
config: {
|
|
@@ -33,10 +32,10 @@ interface VueAppLike {
|
|
|
33
32
|
* createApp(App).use(PantokenVue, { locale: "hu" }).mount("#app"); // localized
|
|
34
33
|
* ```
|
|
35
34
|
*/
|
|
36
|
-
declare const PantokenVue: {
|
|
35
|
+
export declare const PantokenVue: {
|
|
37
36
|
install(app: VueAppLike, options?: {
|
|
38
37
|
locale?: string | LocaleBundle;
|
|
39
38
|
}): void;
|
|
40
39
|
};
|
|
41
40
|
//#endregion
|
|
42
|
-
export { PantokenVue
|
|
41
|
+
export { PantokenVue as default, iconSvg, register, registerLocalized };
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { iconSvg, register, register as register$1 } from "@pantoken/web-components";
|
|
2
|
-
import { registerLocalized, registerLocalized as registerLocalized$1 } from "@pantoken/i18n";
|
|
1
|
+
import { iconSvg, register, register as register$1, registerLocalized, registerLocalized as registerLocalized$1 } from "@pantoken/web-components";
|
|
3
2
|
//#region src/index.ts
|
|
4
3
|
/**
|
|
5
4
|
* `@pantoken/vue` — a Vue plugin over `@pantoken/web-components`.
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pantoken/vue",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.29",
|
|
4
4
|
"description": "Vue plugin for pantoken: registers the web components and reads tokens.",
|
|
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,17 +28,16 @@
|
|
|
28
28
|
"provenance": true
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@pantoken/
|
|
32
|
-
"@pantoken/
|
|
33
|
-
"@pantoken/web-components": "0.5.8"
|
|
31
|
+
"@pantoken/scaffold-base": "0.2.1",
|
|
32
|
+
"@pantoken/web-components": "0.6.0"
|
|
34
33
|
},
|
|
35
34
|
"devDependencies": {
|
|
36
|
-
"@pantoken/components": "1.0
|
|
37
|
-
"@types/node": "^26.
|
|
35
|
+
"@pantoken/components": "1.1.0",
|
|
36
|
+
"@types/node": "^26.5.0",
|
|
38
37
|
"bingo-stratum": "^0.5.13",
|
|
39
38
|
"typescript": "^7.0.2",
|
|
40
|
-
"vite": "npm:@voidzero-dev/vite-plus-core@0.3.
|
|
41
|
-
"vite-plus": "0.3.
|
|
39
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@0.3.1",
|
|
40
|
+
"vite-plus": "0.3.1"
|
|
42
41
|
},
|
|
43
42
|
"peerDependencies": {
|
|
44
43
|
"vue": ">=3"
|