@glasshome/widget-sdk 1.22.1 → 1.23.0
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/framework/index.d.ts +2 -1
- package/dist/framework/utils/index.d.ts +0 -1
- package/dist/index.js +637 -682
- package/dist/schemas.js +1 -2
- package/dist/vite/in-process-introspector.d.ts +2 -0
- package/dist/vite/index.d.ts +4 -1
- package/dist/vite/index.js +153 -138
- package/dist/vite/introspect-session.d.ts +13 -1
- package/package.json +4 -4
- package/dist/framework/utils/clipboard.d.ts +0 -9
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export type CopyState = "idle" | "copied" | "failed";
|
|
2
|
-
/** Dashboards are reached over plain http on the LAN, where navigator.clipboard
|
|
3
|
-
* does not exist; the selection path is the only copy those installs have. */
|
|
4
|
-
export declare function copyText(text: string): Promise<boolean>;
|
|
5
|
-
/** Copy plus the state a control needs to say what happened. */
|
|
6
|
-
export declare function useCopyText(resetAfterMs?: number): {
|
|
7
|
-
state: import("solid-js").Accessor<CopyState>;
|
|
8
|
-
copy: (text: string) => Promise<void>;
|
|
9
|
-
};
|