@tanstack/solid-pacer-devtools 0.4.0 → 0.4.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/README.md ADDED
@@ -0,0 +1,165 @@
1
+ <div align="center">
2
+ <img src="./media/header_pacer.png" >
3
+ </div>
4
+
5
+ <br />
6
+
7
+ <div align="center">
8
+ <a href="https://www.npmjs.com/package/@tanstack/pacer" target="\_parent">
9
+ <img alt="" src="https://img.shields.io/npm/dm/@tanstack/pacer.svg" alt="npm downloads" />
10
+ </a>
11
+ - <a href="https://github.com/TanStack/pacer" target="\_parent">
12
+ <img alt="" src="https://img.shields.io/github/stars/TanStack/pacer.svg?style=social&label=Star" alt="GitHub stars" />
13
+ </a>
14
+ <a href="https://bundlephobia.com/result?p=@tanstack/react-pacer@latest" target="\_parent">
15
+ <img alt="" src="https://badgen.net/bundlephobia/minzip/@tanstack/react-pacer@latest" alt="Bundle size" />
16
+ </a>
17
+ </div>
18
+
19
+ <div align="center">
20
+ <a href="#badge">
21
+ <img alt="semantic-release" src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg">
22
+ </a>
23
+ <a href="#badge">
24
+ <img src="https://img.shields.io/github/v/release/tanstack/pacer" alt="Release"/>
25
+ </a>
26
+ <a href="https://twitter.com/tan_stack">
27
+ <img src="https://img.shields.io/twitter/follow/tan_stack.svg?style=social" alt="Follow @TanStack"/>
28
+ </a>
29
+ </div>
30
+
31
+ <div align="center">
32
+
33
+ ### [Become a Sponsor!](https://github.com/sponsors/tannerlinsley/)
34
+ </div>
35
+
36
+ # TanStack Pacer
37
+
38
+ A lightweight timing and scheduling library for debouncing, throttling, rate limiting, queuing, and batching.
39
+
40
+ > [!NOTE]
41
+ > TanStack Pacer is currently mostly a client-side only library, but it is being designed to be able to potentially be used on the server-side as well.
42
+
43
+ - **Debouncing**
44
+ - Delay execution until after a period of inactivity for when you only care about the last execution in a sequence.
45
+ - Synchronous or Asynchronous Debounce utilities with promise support and error handling
46
+ - Control of leading, trailing, and enabled options
47
+ - **Throttling**
48
+ - Smoothly limit the rate at which a function can fire
49
+ - Synchronous or Asynchronous Throttle utilities with promise support and error handling
50
+ - Control of leading, trailing, and enabled options.
51
+ - **Rate Limiting**
52
+ - Limit the rate at which a function can fire over a period of time
53
+ - Synchronous or Asynchronous Rate Limiting utilities with promise support and error handling
54
+ - Fixed or Sliding Window variations of Rate Limiting
55
+ - **Queuing**
56
+ - Queue functions to be executed in a specific order
57
+ - Choose from FIFO, LIFO, and Priority queue implementations
58
+ - Control processing speed with configurable wait times or concurrency limits
59
+ - Manage queue execution with start/stop capabilities
60
+ - Expire items from the queue after a configurable duration
61
+ - **Batching**
62
+ - Chunk up multiple operations into larger batches to reduce total back-and-forth operations
63
+ - Batch by time period, batch size, whichever comes first, or a custom condition to trigger batch executions
64
+ - **Async or Sync Variations**
65
+ - Choose between synchronous and asynchronous versions of each utility
66
+ - Optional error, success, and settled handling for async variations
67
+ - Retry and Abort support for async variations
68
+ - **State Management**
69
+ - Uses TanStack Store under the hood for state management with fine-grained reactivity
70
+ - Easily integrate with your own state management library of choice
71
+ - Persist state to local or session storage for some utilities like rate limiting and queuing
72
+ - **Convenient Hooks**
73
+ - Reduce boilerplate code with pre-built hooks like `useDebouncedCallback`, `useThrottledValue`, and `useQueuedState`, and more.
74
+ - Multiple layers of abstraction to choose from depending on your use case.
75
+ - Works with each framework's default state management solutions, or with whatever custom state management library that you prefer.
76
+ - **Type Safety**
77
+ - Full type safety with TypeScript that makes sure that your functions will always be called with the correct arguments
78
+ - Generics for flexible and reusable utilities
79
+ - **Framework Adapters**
80
+ - React, Solid, and more
81
+ - **Tree Shaking**
82
+ - We, of course, get tree-shaking right for your applications by default, but we also provide extra deep imports for each utility, making it easier to embed these utilities into your libraries without increasing the bundle-phobia reports of your library.
83
+
84
+ ### <a href="https://tanstack.com/pacer">Read the docs →</b></a>
85
+
86
+ <br />
87
+
88
+ > [!NOTE]
89
+ > You may know **TanSack Pacer** by our adapter names, too!
90
+ >
91
+ > - [**React Pacer**](https://tanstack.com/pacer/latest/docs/framework/react/react-pacer)
92
+ > - [**Solid Pacer**](https://tanstack.com/pacer/latest/docs/framework/solid/solid-pacer)
93
+ > - Angular Pacer - needs a contributor!
94
+ > - Preact Pacer - Coming soon! (After React Pacer is more fleshed out)
95
+ > - Svelte Pacer - needs a contributor!
96
+ > - Vue Pacer - needs a contributor!
97
+
98
+ ## Get Involved
99
+
100
+ - We welcome issues and pull requests!
101
+ - Participate in [GitHub discussions](https://github.com/TanStack/pacer/discussions)
102
+ - Chat with the community on [Discord](https://discord.com/invite/WrRKjPJ)
103
+ - See [CONTRIBUTING.md](./CONTRIBUTING.md) for setup instructions
104
+
105
+ ## Partners
106
+
107
+ <table align="center">
108
+ <tr>
109
+ <td>
110
+ <a href="https://www.coderabbit.ai/?via=tanstack&dub_id=aCcEEdAOqqutX6OS" >
111
+ <picture>
112
+ <source media="(prefers-color-scheme: dark)" srcset="https://tanstack.com/assets/coderabbit-dark-CMcuvjEy.svg" height="40" />
113
+ <source media="(prefers-color-scheme: light)" srcset="https://tanstack.com/assets/coderabbit-light-DVMJ2jHi.svg" height="40" />
114
+ <img src="https://tanstack.com/assets/coderabbit-light-DVMJ2jHi.svg" height="40" alt="CodeRabbit" />
115
+ </picture>
116
+ </a>
117
+ </td>
118
+ <td>
119
+ <a href="https://www.cloudflare.com?utm_source=tanstack">
120
+ <picture>
121
+ <source media="(prefers-color-scheme: dark)" srcset="https://tanstack.com/assets/cloudflare-white-DQDB7UaL.svg" height="60" />
122
+ <source media="(prefers-color-scheme: light)" srcset="https://tanstack.com/assets/cloudflare-black-CPufaW0B.svg" height="60" />
123
+ <img src="https://tanstack.com/assets/cloudflare-black-CPufaW0B.svg" height="60" alt="Cloudflare" />
124
+ </picture>
125
+ </a>
126
+ </td>
127
+ <td>
128
+ <a href="https://www.unkey.com/?utm_source=tanstack">
129
+ <picture>
130
+ <source media="(prefers-color-scheme: dark)" srcset="./media/unkey_dark.svg" height="60" />
131
+ <source media="(prefers-color-scheme: light)" srcset="./media/unkey_logo.svg" height="60" />
132
+ <img src="./media/unkey_logo.svg" height="60" alt="Unkey"/>
133
+ </picture>
134
+ </a>
135
+ </td>
136
+ </tr>
137
+ </table>
138
+
139
+ <div align="center">
140
+ <img src="./media/partner_logo.svg" alt="Pacer & you?" height="65">
141
+ <p>
142
+ We're looking for TanStack Pacer Partners to join our mission! Partner with us to push the boundaries of TanStack Pacer and build amazing things together.
143
+ </p>
144
+ <a href="mailto:partners@tanstack.com?subject=TanStack Pacer Partnership"><b>LET'S CHAT</b></a>
145
+ </div>
146
+
147
+ </div>
148
+
149
+ ## Explore the TanStack Ecosystem
150
+
151
+ - <a href="https://github.com/tanstack/config"><b>TanStack Config</b></a> – Tooling for JS/TS packages
152
+ - <a href="https://github.com/tanstack/db"><b>TanStack DB</b></a> – Reactive sync client store
153
+ - <a href="https://github.com/tanstack/devtools"><b>TanStack DevTools</b></a> – Unified devtools panel
154
+ - <a href="https://github.com/tanstack/form"><b>TanStack Form</b></a> – Type‑safe form state
155
+ - <a href="https://github.com/tanstack/query"><b>TanStack Query</b></a> – Async state & caching
156
+ - <a href="https://github.com/tanstack/ranger"><b>TanStack Ranger</b></a> – Range & slider primitives
157
+ - <a href="https://github.com/tanstack/router"><b>TanStack Router</b></a> – Type‑safe routing, caching & URL state
158
+ - <a href="https://github.com/tanstack/router"><b>TanStack Start</b></a> – Full‑stack SSR & streaming
159
+ - <a href="https://github.com/tanstack/store"><b>TanStack Store</b></a> – Reactive data store
160
+ - <a href="https://github.com/tanstack/table"><b>TanStack Table</b></a> – Headless datagrids
161
+ - <a href="https://github.com/tanstack/virtual"><b>TanStack Virtual</b></a> – Virtualized rendering
162
+
163
+ … and more at <a href="https://tanstack.com"><b>TanStack.com »</b></a>
164
+
165
+ <!-- USE THE FORCE LUKE -->
@@ -0,0 +1,9 @@
1
+ import { DevtoolsPanelProps } from "@tanstack/devtools-utils/solid";
2
+ import * as solid_js1 from "solid-js";
3
+
4
+ //#region src/SolidPacerDevtools.d.ts
5
+ declare const PacerDevtoolsPanel: (props: DevtoolsPanelProps | undefined) => solid_js1.JSX.Element, PacerDevtoolsPanelNoOp: (_props: DevtoolsPanelProps | undefined) => solid_js1.JSX.Element;
6
+ interface PacerDevtoolsSolidInit extends DevtoolsPanelProps {}
7
+ //#endregion
8
+ export { PacerDevtoolsPanel, PacerDevtoolsSolidInit };
9
+ //# sourceMappingURL=SolidPacerDevtools.d.ts.map
@@ -1,8 +1,9 @@
1
1
  import { createSolidPanel } from "@tanstack/devtools-utils/solid";
2
2
  import { PacerDevtoolsCore } from "@tanstack/pacer-devtools";
3
+
4
+ //#region src/SolidPacerDevtools.tsx
3
5
  const [PacerDevtoolsPanel, PacerDevtoolsPanelNoOp] = createSolidPanel(PacerDevtoolsCore);
4
- export {
5
- PacerDevtoolsPanel,
6
- PacerDevtoolsPanelNoOp
7
- };
8
- //# sourceMappingURL=SolidPacerDevtools.js.map
6
+
7
+ //#endregion
8
+ export { PacerDevtoolsPanel, PacerDevtoolsPanelNoOp };
9
+ //# sourceMappingURL=SolidPacerDevtools.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SolidPacerDevtools.js","names":["createSolidPanel","PacerDevtoolsCore","DevtoolsPanelProps","PacerDevtoolsPanel","PacerDevtoolsPanelNoOp","PacerDevtoolsSolidInit"],"sources":["../src/SolidPacerDevtools.tsx"],"sourcesContent":["import { createSolidPanel } from '@tanstack/devtools-utils/solid'\nimport { PacerDevtoolsCore } from '@tanstack/pacer-devtools'\nimport type { DevtoolsPanelProps } from '@tanstack/devtools-utils/solid'\n\nconst [PacerDevtoolsPanel, PacerDevtoolsPanelNoOp] =\n createSolidPanel(PacerDevtoolsCore)\nexport interface PacerDevtoolsSolidInit extends DevtoolsPanelProps {}\n\nexport { PacerDevtoolsPanel, PacerDevtoolsPanelNoOp }\n"],"mappings":";;;;AAIA,MAAM,CAACG,oBAAoBC,0BACzBJ,iBAAiBC,kBAAkB"}
@@ -0,0 +1,15 @@
1
+ import { PacerDevtoolsSolidInit } from "./SolidPacerDevtools.js";
2
+ import * as _tanstack_devtools_utils_solid0 from "@tanstack/devtools-utils/solid";
3
+ import * as solid_js0 from "solid-js";
4
+
5
+ //#region src/index.d.ts
6
+ declare const PacerDevtoolsPanel: (props: _tanstack_devtools_utils_solid0.DevtoolsPanelProps | undefined) => solid_js0.JSX.Element;
7
+ declare const pacerDevtoolsPlugin: () => {
8
+ render: (_el: HTMLElement, theme: "light" | "dark") => solid_js0.JSX.Element;
9
+ name: string;
10
+ id?: string;
11
+ defaultOpen?: boolean;
12
+ };
13
+ //#endregion
14
+ export { PacerDevtoolsPanel, type PacerDevtoolsSolidInit, pacerDevtoolsPlugin };
15
+ //# sourceMappingURL=index.d.ts.map
@@ -1,9 +1,10 @@
1
- import { PacerDevtoolsPanelNoOp, PacerDevtoolsPanel as PacerDevtoolsPanel$1 } from "./SolidPacerDevtools.js";
1
+ import { PacerDevtoolsPanel as PacerDevtoolsPanel$1, PacerDevtoolsPanelNoOp } from "./SolidPacerDevtools.js";
2
2
  import { pacerDevtoolsNoOpPlugin, pacerDevtoolsPlugin as pacerDevtoolsPlugin$1 } from "./plugin.js";
3
+
4
+ //#region src/index.ts
3
5
  const PacerDevtoolsPanel = process.env.NODE_ENV !== "development" ? PacerDevtoolsPanelNoOp : PacerDevtoolsPanel$1;
4
6
  const pacerDevtoolsPlugin = process.env.NODE_ENV !== "development" ? pacerDevtoolsNoOpPlugin : pacerDevtoolsPlugin$1;
5
- export {
6
- PacerDevtoolsPanel,
7
- pacerDevtoolsPlugin
8
- };
9
- //# sourceMappingURL=index.js.map
7
+
8
+ //#endregion
9
+ export { PacerDevtoolsPanel, pacerDevtoolsPlugin };
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["Devtools.PacerDevtoolsPanelNoOp","Devtools.PacerDevtoolsPanel","plugin.pacerDevtoolsNoOpPlugin","plugin.pacerDevtoolsPlugin"],"sources":["../src/index.ts"],"sourcesContent":["import * as Devtools from './SolidPacerDevtools'\nimport * as plugin from './plugin'\n\nexport const PacerDevtoolsPanel =\n process.env.NODE_ENV !== 'development'\n ? Devtools.PacerDevtoolsPanelNoOp\n : Devtools.PacerDevtoolsPanel\n\nexport const pacerDevtoolsPlugin =\n process.env.NODE_ENV !== 'development'\n ? plugin.pacerDevtoolsNoOpPlugin\n : plugin.pacerDevtoolsPlugin\n\nexport type { PacerDevtoolsSolidInit } from './SolidPacerDevtools'\n"],"mappings":";;;;AAGA,MAAa,qBACX,QAAQ,IAAI,aAAa,gBACrBA,yBACAC;AAEN,MAAa,sBACX,QAAQ,IAAI,aAAa,gBACrBC,0BACAC"}
@@ -0,0 +1,17 @@
1
+ import * as solid_js3 from "solid-js";
2
+
3
+ //#region src/plugin.d.ts
4
+ declare const pacerDevtoolsPlugin: () => {
5
+ render: (_el: HTMLElement, theme: "light" | "dark") => solid_js3.JSX.Element;
6
+ name: string;
7
+ id?: string;
8
+ defaultOpen?: boolean;
9
+ }, pacerDevtoolsNoOpPlugin: () => {
10
+ render: (_el: HTMLElement, _theme: "light" | "dark") => solid_js3.JSX.Element;
11
+ name: string;
12
+ id?: string;
13
+ defaultOpen?: boolean;
14
+ };
15
+ //#endregion
16
+ export { pacerDevtoolsPlugin };
17
+ //# sourceMappingURL=plugin.d.ts.map
package/dist/plugin.js ADDED
@@ -0,0 +1,12 @@
1
+ import { PacerDevtoolsPanel } from "./SolidPacerDevtools.js";
2
+ import { createSolidPlugin } from "@tanstack/devtools-utils/solid";
3
+
4
+ //#region src/plugin.tsx
5
+ const [pacerDevtoolsPlugin, pacerDevtoolsNoOpPlugin] = createSolidPlugin({
6
+ name: "TanStack Pacer",
7
+ Component: PacerDevtoolsPanel
8
+ });
9
+
10
+ //#endregion
11
+ export { pacerDevtoolsNoOpPlugin, pacerDevtoolsPlugin };
12
+ //# sourceMappingURL=plugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.js","names":["createSolidPlugin","PacerDevtoolsPanel","pacerDevtoolsPlugin","pacerDevtoolsNoOpPlugin","name","Component"],"sources":["../src/plugin.tsx"],"sourcesContent":["import { createSolidPlugin } from '@tanstack/devtools-utils/solid'\nimport { PacerDevtoolsPanel } from './SolidPacerDevtools'\n\nconst [pacerDevtoolsPlugin, pacerDevtoolsNoOpPlugin] = createSolidPlugin({\n name: 'TanStack Pacer',\n Component: PacerDevtoolsPanel,\n})\n\nexport { pacerDevtoolsPlugin, pacerDevtoolsNoOpPlugin }\n"],"mappings":";;;;AAGA,MAAM,CAACE,qBAAqBC,2BAA2BH,kBAAkB;CACvEI,MAAM;CACNC,WAAWJ;CACZ,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { PacerDevtoolsPanel, PacerDevtoolsSolidInit } from "./SolidPacerDevtools.js";
2
+ import { pacerDevtoolsPlugin } from "./plugin.js";
3
+ export { PacerDevtoolsPanel, type PacerDevtoolsSolidInit, pacerDevtoolsPlugin };
@@ -1,7 +1,4 @@
1
1
  import { PacerDevtoolsPanel } from "./SolidPacerDevtools.js";
2
2
  import { pacerDevtoolsPlugin } from "./plugin.js";
3
- export {
4
- PacerDevtoolsPanel,
5
- pacerDevtoolsPlugin
6
- };
7
- //# sourceMappingURL=production.js.map
3
+
4
+ export { PacerDevtoolsPanel, pacerDevtoolsPlugin };
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@tanstack/solid-pacer-devtools",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Solid adapter for devtools for Pacer.",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "https://github.com/TanStack/pacer.git",
10
- "directory": "packages/pacer"
9
+ "url": "git+https://github.com/TanStack/pacer.git",
10
+ "directory": "packages/solid-pacer-devtools"
11
11
  },
12
12
  "homepage": "https://tanstack.com/pacer",
13
13
  "funding": {
@@ -23,21 +23,12 @@
23
23
  "pacer"
24
24
  ],
25
25
  "type": "module",
26
- "types": "dist/esm/index.d.ts",
27
- "module": "dist/esm/index.js",
26
+ "main": "./dist/index.js",
27
+ "module": "./dist/index.js",
28
+ "types": "./dist/index.d.ts",
28
29
  "exports": {
29
- ".": {
30
- "import": {
31
- "types": "./dist/esm/index.d.ts",
32
- "default": "./dist/esm/index.js"
33
- }
34
- },
35
- "./production": {
36
- "import": {
37
- "types": "./dist/esm/production.d.ts",
38
- "default": "./dist/esm/production.js"
39
- }
40
- },
30
+ ".": "./dist/index.js",
31
+ "./production": "./dist/production.js",
41
32
  "./package.json": "./package.json"
42
33
  },
43
34
  "sideEffects": false,
@@ -52,11 +43,11 @@
52
43
  "solid-js": ">=1.9.7"
53
44
  },
54
45
  "dependencies": {
55
- "@tanstack/devtools-utils": "^0.0.3",
56
- "@tanstack/pacer-devtools": "1.0.0"
46
+ "@tanstack/devtools-utils": "^0.0.9",
47
+ "@tanstack/pacer-devtools": "1.0.1"
57
48
  },
58
49
  "devDependencies": {
59
- "vite-plugin-solid": "^2.11.9"
50
+ "vite-plugin-solid": "^2.11.10"
60
51
  },
61
52
  "scripts": {
62
53
  "clean": "premove ./build ./dist",
@@ -65,7 +56,6 @@
65
56
  "test:lib": "vitest",
66
57
  "test:lib:dev": "pnpm test:lib --watch",
67
58
  "test:types": "tsc",
68
- "test:build": "publint --strict",
69
- "build": "vite build"
59
+ "build": "tsdown"
70
60
  }
71
61
  }
package/src/plugin.tsx CHANGED
@@ -1,9 +1,9 @@
1
1
  import { createSolidPlugin } from '@tanstack/devtools-utils/solid'
2
2
  import { PacerDevtoolsPanel } from './SolidPacerDevtools'
3
3
 
4
- const [pacerDevtoolsPlugin, pacerDevtoolsNoOpPlugin] = createSolidPlugin(
5
- 'TanStack Pacer',
6
- PacerDevtoolsPanel,
7
- )
4
+ const [pacerDevtoolsPlugin, pacerDevtoolsNoOpPlugin] = createSolidPlugin({
5
+ name: 'TanStack Pacer',
6
+ Component: PacerDevtoolsPanel,
7
+ })
8
8
 
9
9
  export { pacerDevtoolsPlugin, pacerDevtoolsNoOpPlugin }
@@ -1,5 +0,0 @@
1
- import { DevtoolsPanelProps } from '@tanstack/devtools-utils/solid';
2
- declare const PacerDevtoolsPanel: (props: DevtoolsPanelProps | undefined) => import("solid-js").JSX.Element, PacerDevtoolsPanelNoOp: (_props: DevtoolsPanelProps | undefined) => import("solid-js").JSX.Element;
3
- export interface PacerDevtoolsSolidInit extends DevtoolsPanelProps {
4
- }
5
- export { PacerDevtoolsPanel, PacerDevtoolsPanelNoOp };
@@ -1 +0,0 @@
1
- {"version":3,"file":"SolidPacerDevtools.js","sources":["../../src/SolidPacerDevtools.tsx"],"sourcesContent":["import { createSolidPanel } from '@tanstack/devtools-utils/solid'\nimport { PacerDevtoolsCore } from '@tanstack/pacer-devtools'\nimport type { DevtoolsPanelProps } from '@tanstack/devtools-utils/solid'\n\nconst [PacerDevtoolsPanel, PacerDevtoolsPanelNoOp] =\n createSolidPanel(PacerDevtoolsCore)\nexport interface PacerDevtoolsSolidInit extends DevtoolsPanelProps {}\n\nexport { PacerDevtoolsPanel, PacerDevtoolsPanelNoOp }\n"],"names":["PacerDevtoolsPanel","PacerDevtoolsPanelNoOp","createSolidPanel","PacerDevtoolsCore"],"mappings":";;AAIA,MAAM,CAACA,oBAAoBC,sBAAsB,IAC/CC,iBAAiBC,iBAAiB;"}
@@ -1,6 +0,0 @@
1
- export declare const PacerDevtoolsPanel: (props: import('@tanstack/devtools-utils/solid').DevtoolsPanelProps | undefined) => import("solid-js").JSX.Element;
2
- export declare const pacerDevtoolsPlugin: () => {
3
- name: string;
4
- render: (_el: HTMLElement, theme: "light" | "dark") => import("solid-js").JSX.Element;
5
- };
6
- export type { PacerDevtoolsSolidInit } from './SolidPacerDevtools.js';
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../src/index.ts"],"sourcesContent":["import * as Devtools from './SolidPacerDevtools'\nimport * as plugin from './plugin'\n\nexport const PacerDevtoolsPanel =\n process.env.NODE_ENV !== 'development'\n ? Devtools.PacerDevtoolsPanelNoOp\n : Devtools.PacerDevtoolsPanel\n\nexport const pacerDevtoolsPlugin =\n process.env.NODE_ENV !== 'development'\n ? plugin.pacerDevtoolsNoOpPlugin\n : plugin.pacerDevtoolsPlugin\n\nexport type { PacerDevtoolsSolidInit } from './SolidPacerDevtools'\n"],"names":["Devtools.PacerDevtoolsPanelNoOp","Devtools.PacerDevtoolsPanel","plugin.pacerDevtoolsNoOpPlugin","plugin.pacerDevtoolsPlugin"],"mappings":";;AAGO,MAAM,qBACX,QAAQ,IAAI,aAAa,gBACrBA,yBACAC;AAEC,MAAM,sBACX,QAAQ,IAAI,aAAa,gBACrBC,0BACAC;"}
@@ -1,8 +0,0 @@
1
- declare const pacerDevtoolsPlugin: () => {
2
- name: string;
3
- render: (_el: HTMLElement, theme: "light" | "dark") => import("solid-js").JSX.Element;
4
- }, pacerDevtoolsNoOpPlugin: () => {
5
- name: string;
6
- render: (_el: HTMLElement, _theme: "light" | "dark") => import("solid-js").JSX.Element;
7
- };
8
- export { pacerDevtoolsPlugin, pacerDevtoolsNoOpPlugin };
@@ -1,8 +0,0 @@
1
- import { createSolidPlugin } from "@tanstack/devtools-utils/solid";
2
- import { PacerDevtoolsPanel } from "./SolidPacerDevtools.js";
3
- const [pacerDevtoolsPlugin, pacerDevtoolsNoOpPlugin] = createSolidPlugin("TanStack Pacer", PacerDevtoolsPanel);
4
- export {
5
- pacerDevtoolsNoOpPlugin,
6
- pacerDevtoolsPlugin
7
- };
8
- //# sourceMappingURL=plugin.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin.js","sources":["../../src/plugin.tsx"],"sourcesContent":["import { createSolidPlugin } from '@tanstack/devtools-utils/solid'\nimport { PacerDevtoolsPanel } from './SolidPacerDevtools'\n\nconst [pacerDevtoolsPlugin, pacerDevtoolsNoOpPlugin] = createSolidPlugin(\n 'TanStack Pacer',\n PacerDevtoolsPanel,\n)\n\nexport { pacerDevtoolsPlugin, pacerDevtoolsNoOpPlugin }\n"],"names":["pacerDevtoolsPlugin","pacerDevtoolsNoOpPlugin","createSolidPlugin","PacerDevtoolsPanel"],"mappings":";;AAGA,MAAM,CAACA,qBAAqBC,uBAAuB,IAAIC,kBACrD,kBACAC,kBACF;"}
@@ -1,3 +0,0 @@
1
- export { PacerDevtoolsPanel } from './SolidPacerDevtools.js';
2
- export type { PacerDevtoolsSolidInit } from './SolidPacerDevtools.js';
3
- export { pacerDevtoolsPlugin } from './plugin.js';
@@ -1 +0,0 @@
1
- {"version":3,"file":"production.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}