use-everywhere 1.0.0 → 1.0.2

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.
@@ -1,21 +1,22 @@
1
- import * as react from 'react';
2
1
 
2
+ //#region src/devtools/inspector.types.d.ts
3
3
  interface InspectorProps {
4
- /** Which bus to watch. Defaults to the shared default name. */
5
- name?: string;
6
- /** Corner to dock in. Default 'bottom-right'. */
7
- position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
8
- /** How many wires to keep in the log. Default 50. */
9
- limit?: number;
10
- /** Start expanded. Default false. */
11
- defaultOpen?: boolean;
12
- /**
13
- * How long a leader wire keeps the crown before it is treated as stale.
14
- * Should match the Leader's leaseMs. Default 3000.
15
- */
16
- leaseMs?: number;
4
+ /** Which bus to watch. Defaults to the shared default name. */
5
+ name?: string;
6
+ /** Corner to dock in. Default 'bottom-right'. */
7
+ position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
8
+ /** How many wires to keep in the log. Default 50. */
9
+ limit?: number;
10
+ /** Start expanded. Default false. */
11
+ defaultOpen?: boolean;
12
+ /**
13
+ * How long a leader wire keeps the crown before it is treated as stale.
14
+ * Should match the Leader's leaseMs. Default 3000.
15
+ */
16
+ leaseMs?: number;
17
17
  }
18
-
18
+ //#endregion
19
+ //#region src/devtools/inspector.d.ts
19
20
  /**
20
21
  * A floating panel showing what this tab is saying and hearing on the bus:
21
22
  * peers, the leader, store keys with their version clocks, a live wire log in
@@ -41,6 +42,6 @@ interface InspectorProps {
41
42
  * A consequence worth knowing when testing an app that mounts it: the panel is
42
43
  * **not** in `document`. Reach it through `host.shadowRoot`.
43
44
  */
44
- declare function Inspector({ name, position, limit, defaultOpen, leaseMs, }?: InspectorProps): react.JSX.Element;
45
-
46
- export { Inspector, type InspectorProps };
45
+ export declare function Inspector({ name, position, limit, defaultOpen, leaseMs }?: InspectorProps): import("react").JSX.Element;
46
+ //#endregion
47
+ export type { InspectorProps };
@@ -1,21 +1,22 @@
1
- import * as react from 'react';
2
1
 
2
+ //#region src/devtools/inspector.types.d.ts
3
3
  interface InspectorProps {
4
- /** Which bus to watch. Defaults to the shared default name. */
5
- name?: string;
6
- /** Corner to dock in. Default 'bottom-right'. */
7
- position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
8
- /** How many wires to keep in the log. Default 50. */
9
- limit?: number;
10
- /** Start expanded. Default false. */
11
- defaultOpen?: boolean;
12
- /**
13
- * How long a leader wire keeps the crown before it is treated as stale.
14
- * Should match the Leader's leaseMs. Default 3000.
15
- */
16
- leaseMs?: number;
4
+ /** Which bus to watch. Defaults to the shared default name. */
5
+ name?: string;
6
+ /** Corner to dock in. Default 'bottom-right'. */
7
+ position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
8
+ /** How many wires to keep in the log. Default 50. */
9
+ limit?: number;
10
+ /** Start expanded. Default false. */
11
+ defaultOpen?: boolean;
12
+ /**
13
+ * How long a leader wire keeps the crown before it is treated as stale.
14
+ * Should match the Leader's leaseMs. Default 3000.
15
+ */
16
+ leaseMs?: number;
17
17
  }
18
-
18
+ //#endregion
19
+ //#region src/devtools/inspector.d.ts
19
20
  /**
20
21
  * A floating panel showing what this tab is saying and hearing on the bus:
21
22
  * peers, the leader, store keys with their version clocks, a live wire log in
@@ -41,6 +42,6 @@ interface InspectorProps {
41
42
  * A consequence worth knowing when testing an app that mounts it: the panel is
42
43
  * **not** in `document`. Reach it through `host.shadowRoot`.
43
44
  */
44
- declare function Inspector({ name, position, limit, defaultOpen, leaseMs, }?: InspectorProps): react.JSX.Element;
45
-
46
- export { Inspector, type InspectorProps };
45
+ export declare function Inspector({ name, position, limit, defaultOpen, leaseMs }?: InspectorProps): import("react").JSX.Element;
46
+ //#endregion
47
+ export type { InspectorProps };