@tanstack/preact-pacer-devtools 0.5.2 → 0.5.3
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/README.md +2 -2
- package/dist/PreactPacerDevtools.d.ts +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/plugin.d.ts +3 -3
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -86,12 +86,12 @@ A lightweight timing and scheduling library for debouncing, throttling, rate lim
|
|
|
86
86
|
<br />
|
|
87
87
|
|
|
88
88
|
> [!NOTE]
|
|
89
|
-
> You may know **
|
|
89
|
+
> You may know **TanStack Pacer** by our adapter names, too!
|
|
90
90
|
>
|
|
91
91
|
> - [**React Pacer**](https://tanstack.com/pacer/latest/docs/framework/react/react-pacer)
|
|
92
92
|
> - [**Preact Pacer**](https://tanstack.com/pacer/latest/docs/framework/preact/preact-pacer)
|
|
93
93
|
> - [**Solid Pacer**](https://tanstack.com/pacer/latest/docs/framework/solid/solid-pacer)
|
|
94
|
-
> - Angular Pacer
|
|
94
|
+
> - [**Angular Pacer**](https://tanstack.com/pacer/latest/docs/framework/angular/angular-pacer)
|
|
95
95
|
> - Svelte Pacer - needs a contributor!
|
|
96
96
|
> - Vue Pacer - needs a contributor!
|
|
97
97
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DevtoolsPanelProps } from "@tanstack/devtools-utils/preact";
|
|
2
|
-
import * as
|
|
2
|
+
import * as preact from "preact";
|
|
3
3
|
|
|
4
4
|
//#region src/PreactPacerDevtools.d.ts
|
|
5
5
|
interface PacerDevtoolsPreactInit extends DevtoolsPanelProps {}
|
|
6
|
-
declare const PacerDevtoolsPanel: (props: DevtoolsPanelProps | undefined) =>
|
|
6
|
+
declare const PacerDevtoolsPanel: (props: DevtoolsPanelProps | undefined) => preact.JSX.Element, PacerDevtoolsPanelNoOp: (_props: DevtoolsPanelProps | undefined) => preact.JSX.Element;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { PacerDevtoolsPanel, PacerDevtoolsPreactInit };
|
|
9
9
|
//# sourceMappingURL=PreactPacerDevtools.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { PacerDevtoolsPreactInit } from "./PreactPacerDevtools.js";
|
|
2
2
|
import * as _tanstack_devtools_utils_preact0 from "@tanstack/devtools-utils/preact";
|
|
3
|
-
import * as
|
|
3
|
+
import * as preact from "preact";
|
|
4
4
|
|
|
5
5
|
//#region src/index.d.ts
|
|
6
|
-
declare const PacerDevtoolsPanel: (props: _tanstack_devtools_utils_preact0.DevtoolsPanelProps | undefined) =>
|
|
6
|
+
declare const PacerDevtoolsPanel: (props: _tanstack_devtools_utils_preact0.DevtoolsPanelProps | undefined) => preact.JSX.Element;
|
|
7
7
|
declare const pacerDevtoolsPlugin: () => {
|
|
8
|
-
render: (_el: HTMLElement, theme: "light" | "dark") =>
|
|
8
|
+
render: (_el: HTMLElement, theme: "light" | "dark") => preact.JSX.Element;
|
|
9
9
|
name: string;
|
|
10
10
|
id?: string;
|
|
11
11
|
defaultOpen?: boolean;
|
package/dist/plugin.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as preact from "preact";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
4
|
declare const pacerDevtoolsPlugin: () => {
|
|
5
|
-
render: (_el: HTMLElement, theme: "light" | "dark") =>
|
|
5
|
+
render: (_el: HTMLElement, theme: "light" | "dark") => preact.JSX.Element;
|
|
6
6
|
name: string;
|
|
7
7
|
id?: string;
|
|
8
8
|
defaultOpen?: boolean;
|
|
9
9
|
}, pacerDevtoolsNoOpPlugin: () => {
|
|
10
|
-
render: (_el: HTMLElement, _theme: "light" | "dark") =>
|
|
10
|
+
render: (_el: HTMLElement, _theme: "light" | "dark") => preact.JSX.Element;
|
|
11
11
|
name: string;
|
|
12
12
|
id?: string;
|
|
13
13
|
defaultOpen?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/preact-pacer-devtools",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "Preact adapter for devtools for Pacer.",
|
|
5
5
|
"author": "Tanner Linsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"preact": ">=10.0.0"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@tanstack/devtools-utils": "^0.
|
|
46
|
-
"@tanstack/pacer-devtools": "1.1.
|
|
45
|
+
"@tanstack/devtools-utils": "^0.3.0",
|
|
46
|
+
"@tanstack/pacer-devtools": "1.1.3"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@preact/preset-vite": "^2.10.
|
|
49
|
+
"@preact/preset-vite": "^2.10.3",
|
|
50
50
|
"@testing-library/preact": "^3.2.4",
|
|
51
|
-
"preact": "^10.28.
|
|
51
|
+
"preact": "^10.28.3"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"clean": "premove ./build ./dist",
|