@dosgato/templating 0.0.63 → 0.0.64
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/uitemplate.d.ts +11 -1
- package/package.json +1 -2
package/dist/uitemplate.d.ts
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
|
-
import type { IconifyIcon } from '@iconify/svelte';
|
|
2
1
|
export interface SvelteComponent {
|
|
3
2
|
$set: (props?: Record<string, any>) => void;
|
|
4
3
|
$on: (event: string, callback: (event: any) => void) => () => void;
|
|
5
4
|
$destroy: () => void;
|
|
6
5
|
[accessor: string]: any;
|
|
7
6
|
}
|
|
7
|
+
interface IconifyIcon {
|
|
8
|
+
body: string;
|
|
9
|
+
rotate?: number;
|
|
10
|
+
hFlip?: boolean;
|
|
11
|
+
vFlip?: boolean;
|
|
12
|
+
left?: number;
|
|
13
|
+
top?: number;
|
|
14
|
+
width?: number;
|
|
15
|
+
height?: number;
|
|
16
|
+
}
|
|
8
17
|
export interface IconOrSVG extends IconifyIcon {
|
|
9
18
|
raw?: true;
|
|
10
19
|
}
|
|
@@ -14,3 +23,4 @@ export interface UITemplate {
|
|
|
14
23
|
preview?: IconOrSVG;
|
|
15
24
|
icon?: IconOrSVG;
|
|
16
25
|
}
|
|
26
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dosgato/templating",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.64",
|
|
4
4
|
"description": "A library to support building templates for dosgato CMS.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
"build": "rm -rf dist && tsc"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@iconify/svelte": "^3.0.0",
|
|
18
17
|
"txstate-utils": "^1.7.4"
|
|
19
18
|
},
|
|
20
19
|
"devDependencies": {
|