@studiocms/ui 1.0.0 → 1.0.1
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/events.d.ts +14 -12
- package/package.json +1 -1
package/dist/events.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/** biome-ignore-all lint/correctness/noUnusedVariables: Global augments */
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* CustomEventMap defines the custom events used in the application.
|
|
3
5
|
*
|
|
@@ -39,6 +41,18 @@ interface SuiTooltipApi {
|
|
|
39
41
|
hide: (id: string) => void;
|
|
40
42
|
}
|
|
41
43
|
|
|
44
|
+
interface Window {
|
|
45
|
+
/**
|
|
46
|
+
* The StudioCMS UI API, which includes various tools and utilities for the UI.
|
|
47
|
+
*/
|
|
48
|
+
sui: {
|
|
49
|
+
/**
|
|
50
|
+
* The tooltip API, which provides methods for managing tooltips in the UI.
|
|
51
|
+
*/
|
|
52
|
+
tooltips: SuiTooltipApi;
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
42
56
|
/**
|
|
43
57
|
* Extends the global `Document` interface to include custom event handling methods.
|
|
44
58
|
*
|
|
@@ -89,16 +103,4 @@ declare global {
|
|
|
89
103
|
*/
|
|
90
104
|
dispatchEvent<K extends keyof CustomEventMap>(ev: CustomEventMap[K]): void;
|
|
91
105
|
}
|
|
92
|
-
|
|
93
|
-
interface Window {
|
|
94
|
-
/**
|
|
95
|
-
* The StudioCMS UI API, which includes various tools and utilities for the UI.
|
|
96
|
-
*/
|
|
97
|
-
sui: {
|
|
98
|
-
/**
|
|
99
|
-
* The tooltip API, which provides methods for managing tooltips in the UI.
|
|
100
|
-
*/
|
|
101
|
-
tooltips: SuiTooltipApi;
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
106
|
}
|