@generative-a11y/devtools 0.1.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/LICENSE +21 -0
- package/README.md +151 -0
- package/dist/index.cjs +373 -0
- package/dist/index.d.cts +106 -0
- package/dist/index.d.ts +106 -0
- package/dist/index.js +348 -0
- package/dist/overlay.cjs +837 -0
- package/dist/overlay.d.cts +15 -0
- package/dist/overlay.d.ts +15 -0
- package/dist/overlay.js +802 -0
- package/package.json +81 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DevtoolsStore } from './index.cjs';
|
|
2
|
+
import '@generative-a11y/core';
|
|
3
|
+
|
|
4
|
+
interface MountDevtoolsOverlayOptions {
|
|
5
|
+
readonly store: DevtoolsStore;
|
|
6
|
+
readonly document?: Document;
|
|
7
|
+
readonly copyText?: (value: string) => void | Promise<void>;
|
|
8
|
+
}
|
|
9
|
+
interface MountedDevtoolsOverlay {
|
|
10
|
+
readonly host: HTMLElement;
|
|
11
|
+
dispose(): void;
|
|
12
|
+
}
|
|
13
|
+
declare function mountDevtoolsOverlay(options: MountDevtoolsOverlayOptions): MountedDevtoolsOverlay;
|
|
14
|
+
|
|
15
|
+
export { type MountDevtoolsOverlayOptions, type MountedDevtoolsOverlay, mountDevtoolsOverlay };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DevtoolsStore } from './index.js';
|
|
2
|
+
import '@generative-a11y/core';
|
|
3
|
+
|
|
4
|
+
interface MountDevtoolsOverlayOptions {
|
|
5
|
+
readonly store: DevtoolsStore;
|
|
6
|
+
readonly document?: Document;
|
|
7
|
+
readonly copyText?: (value: string) => void | Promise<void>;
|
|
8
|
+
}
|
|
9
|
+
interface MountedDevtoolsOverlay {
|
|
10
|
+
readonly host: HTMLElement;
|
|
11
|
+
dispose(): void;
|
|
12
|
+
}
|
|
13
|
+
declare function mountDevtoolsOverlay(options: MountDevtoolsOverlayOptions): MountedDevtoolsOverlay;
|
|
14
|
+
|
|
15
|
+
export { type MountDevtoolsOverlayOptions, type MountedDevtoolsOverlay, mountDevtoolsOverlay };
|