@pantoken/svelte 0.1.12 → 0.1.14
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 +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { register } from "@pantoken/web-components";
|
|
2
|
+
import { registerLocalized } from "@pantoken/i18n";
|
|
2
3
|
//#region src/index.d.ts
|
|
3
4
|
/**
|
|
4
5
|
* Read a resolved token value. Returns `fallback` on the server.
|
|
@@ -34,4 +35,4 @@ interface ActionResult {
|
|
|
34
35
|
*/
|
|
35
36
|
declare function icon(node: Element, name: string): ActionResult;
|
|
36
37
|
//#endregion
|
|
37
|
-
export { ActionResult, icon, readToken, register };
|
|
38
|
+
export { ActionResult, icon, readToken, register, registerLocalized };
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { iconSvg, register, register as register$1 } from "@pantoken/web-components";
|
|
2
|
+
import { registerLocalized } from "@pantoken/i18n";
|
|
2
3
|
//#region src/index.ts
|
|
3
4
|
/**
|
|
4
5
|
* `@pantoken/svelte` — Svelte helpers over `@pantoken/web-components`.
|
|
@@ -54,4 +55,4 @@ function icon(node, name) {
|
|
|
54
55
|
};
|
|
55
56
|
}
|
|
56
57
|
//#endregion
|
|
57
|
-
export { icon, readToken, register };
|
|
58
|
+
export { icon, readToken, register, registerLocalized };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pantoken/svelte",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
4
4
|
"description": "Svelte helpers for pantoken: an icon action over the web components, plus token reads.",
|
|
5
5
|
"homepage": "https://pantoken.iywahl.com",
|
|
6
6
|
"bugs": "https://github.com/thedannywahl/pantoken/issues",
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"check": "vp check"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
+
"@pantoken/i18n": "workspace:*",
|
|
36
37
|
"@pantoken/web-components": "workspace:*"
|
|
37
38
|
},
|
|
38
39
|
"devDependencies": {
|