@tanstack/query-devtools 5.100.9 → 5.100.11

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,619 +0,0 @@
1
- import { Accessor } from 'solid-js';
2
- import type { Component } from 'solid-js';
3
- import { Context } from 'solid-js';
4
- import { JSX } from 'solid-js';
5
- import type { Mutation } from '@tanstack/query-core';
6
- import type { onlineManager } from '@tanstack/query-core';
7
- import type { Query } from '@tanstack/query-core';
8
- import type { QueryClient } from '@tanstack/query-core';
9
- import type { StorageObject } from '@solid-primitives/storage';
10
- import type { StorageSetter } from '@solid-primitives/storage';
11
-
12
- export declare function ArrowDown(): JSX;
13
-
14
- export declare function ArrowLeft(): JSX;
15
-
16
- export declare function ArrowRight(): JSX;
17
-
18
- export declare function ArrowUp(): JSX;
19
-
20
- export declare const BUTTON_POSITION: DevtoolsButtonPosition;
21
-
22
- export declare function Check(props: {
23
- checked: boolean;
24
- theme: 'light' | 'dark';
25
- }): JSX;
26
-
27
- export declare function CheckCircle(): JSX;
28
-
29
- export declare function ChevronDown(): JSX;
30
-
31
- export declare const ContentView: Component<ContentViewProps>;
32
-
33
- declare interface ContentViewProps {
34
- localStore: StorageObject<string>;
35
- setLocalStore: StorageSetter<string, unknown>;
36
- showPanelViewOnly?: boolean;
37
- onClose?: () => void;
38
- }
39
-
40
- export declare const convertRemToPixels: (rem: number) => number;
41
-
42
- export declare function CopiedCopier(props: {
43
- theme: 'light' | 'dark';
44
- }): JSX;
45
-
46
- export declare function Copier(): JSX;
47
-
48
- export declare const default_alias: DevtoolsComponentType;
49
-
50
- export declare const default_alias_1: DevtoolsComponentType;
51
-
52
- export declare function default_alias_2(props: ExplorerProps): JSX;
53
-
54
- export declare const DEFAULT_HEIGHT = 500;
55
-
56
- export declare const DEFAULT_MUTATION_SORT_FN_NAME: string | undefined;
57
-
58
- export declare const DEFAULT_SORT_FN_NAME: string | undefined;
59
-
60
- export declare const DEFAULT_SORT_ORDER = 1;
61
-
62
- export declare const DEFAULT_WIDTH = 500;
63
-
64
- /**
65
- * Deletes nested data by path
66
- *
67
- * @param {unknown} oldData Data to be updated
68
- * @param {Array<string>} deletePath Path to the data to be deleted
69
- * @returns newData without the deleted items by path
70
- */
71
- export declare const deleteNestedDataByPath: (oldData: unknown, deletePath: Array<string>) => any;
72
-
73
- export declare const Devtools: Component<DevtoolsPanelProps>;
74
-
75
- declare type DevtoolsButtonPosition = `${YPosition}-${XPosition}` | 'relative';
76
- export { DevtoolsButtonPosition }
77
- export { DevtoolsButtonPosition as DevtoolsButtonPosition_alias_1 }
78
- export { DevtoolsButtonPosition as DevtoolsButtonPosition_alias_2 }
79
-
80
- export declare type DevtoolsComponentType = Component<QueryDevtoolsProps> & {
81
- shadowDOMTarget?: ShadowRoot;
82
- };
83
-
84
- declare interface DevtoolsErrorType {
85
- /**
86
- * The name of the error.
87
- */
88
- name: string;
89
- /**
90
- * How the error is initialized.
91
- */
92
- initializer: (query: Query) => Error;
93
- }
94
- export { DevtoolsErrorType }
95
- export { DevtoolsErrorType as DevtoolsErrorType_alias_1 }
96
- export { DevtoolsErrorType as DevtoolsErrorType_alias_2 }
97
-
98
- declare interface DevtoolsPanelProps {
99
- localStore: StorageObject<string>;
100
- setLocalStore: StorageSetter<string, unknown>;
101
- }
102
-
103
- declare type DevtoolsPosition = XPosition | YPosition;
104
- export { DevtoolsPosition }
105
- export { DevtoolsPosition as DevtoolsPosition_alias_1 }
106
- export { DevtoolsPosition as DevtoolsPosition_alias_2 }
107
-
108
- /**
109
- * Displays a string regardless the type of the data
110
- * @param {unknown} value Value to be stringified
111
- * @param {boolean} beautify Formats json to multiline
112
- */
113
- export declare const displayValue: (value: unknown, beautify?: boolean) => string;
114
-
115
- export declare function ErrorCopier(): JSX;
116
-
117
- declare type ExplorerProps = {
118
- editable?: boolean;
119
- label: string;
120
- value: unknown;
121
- defaultExpanded?: Array<string>;
122
- dataPath?: Array<string>;
123
- activeQuery?: Query;
124
- itemsDeletable?: boolean;
125
- onEdit?: () => void;
126
- };
127
-
128
- export declare const firstBreakpoint = 1024;
129
-
130
- export declare function getMutationStatusColor({ status, isPaused, }: {
131
- status: Mutation['state']['status'];
132
- isPaused: boolean;
133
- }): "gray" | "purple" | "yellow" | "green" | "red";
134
-
135
- export declare const getPreferredColorScheme: () => Accessor<"dark" | "light">;
136
-
137
- export declare function getQueryStatusColor({ queryState, observerCount, isStale, }: {
138
- queryState: Query['state'];
139
- observerCount: number;
140
- isStale: boolean;
141
- }): "blue" | "gray" | "purple" | "yellow" | "green";
142
-
143
- export declare function getQueryStatusColorByLabel(label: QueryStatusLabel): "blue" | "gray" | "purple" | "yellow" | "green";
144
-
145
- export declare function getQueryStatusLabel(query: Query): "fetching" | "paused" | "inactive" | "stale" | "fresh";
146
-
147
- export declare function getSidedProp<T extends string>(prop: T, side: DevtoolsPosition): `${T}${Capitalize<DevtoolsPosition>}`;
148
-
149
- export declare const INITIAL_IS_OPEN = false;
150
-
151
- export declare function List(): JSX;
152
-
153
- export declare function LoadingCircle(): JSX;
154
-
155
- export declare function Monitor(): JSX;
156
-
157
- export declare function Moon(): JSX;
158
-
159
- declare type MutationSortFn = (a: Mutation, b: Mutation) => number;
160
-
161
- export declare const mutationSortFns: Record<string, MutationSortFn>;
162
-
163
- export declare function Offline(): JSX;
164
-
165
- export declare const ParentPanel: Component<{
166
- children: JSX.Element;
167
- }>;
168
-
169
- export declare function PauseCircle(): JSX;
170
-
171
- export declare function Pencil(): JSX;
172
-
173
- export declare const PIP_DEFAULT_HEIGHT = 500;
174
-
175
- declare type PiPContextType = {
176
- pipWindow: Window | null;
177
- requestPipWindow: (width: number, height: number) => void;
178
- closePipWindow: () => void;
179
- disabled: boolean;
180
- };
181
-
182
- export declare function PiPIcon(): JSX;
183
-
184
- declare const PiPProvider: (props: PiPProviderProps) => JSX.Element;
185
- export { PiPProvider }
186
- export { PiPProvider as PiPProvider_alias_1 }
187
-
188
- declare interface PiPProviderProps {
189
- children: JSX.Element;
190
- localStore: StorageObject<string>;
191
- setLocalStore: StorageSetter<string, unknown>;
192
- disabled?: boolean;
193
- }
194
-
195
- export declare const POSITION: DevtoolsPosition;
196
-
197
- declare const QueryDevtoolsContext: Context<QueryDevtoolsProps>;
198
- export { QueryDevtoolsContext }
199
- export { QueryDevtoolsContext as QueryDevtoolsContext_alias_1 }
200
-
201
- declare interface QueryDevtoolsProps {
202
- readonly client: QueryClient;
203
- queryFlavor: string;
204
- version: string;
205
- onlineManager: typeof onlineManager;
206
- buttonPosition?: DevtoolsButtonPosition;
207
- position?: DevtoolsPosition;
208
- initialIsOpen?: boolean;
209
- errorTypes?: Array<DevtoolsErrorType>;
210
- shadowDOMTarget?: ShadowRoot;
211
- onClose?: () => void;
212
- hideDisabledQueries?: boolean;
213
- theme?: Theme;
214
- }
215
- export { QueryDevtoolsProps }
216
- export { QueryDevtoolsProps as QueryDevtoolsProps_alias_1 }
217
-
218
- declare type QueryStatusLabel = 'fresh' | 'stale' | 'paused' | 'inactive' | 'fetching';
219
-
220
- export declare function Search(): JSX;
221
-
222
- export declare const secondBreakpoint = 796;
223
-
224
- export declare function Settings(): JSX;
225
-
226
- export declare const setupStyleSheet: (nonce?: string, target?: ShadowRoot) => void;
227
-
228
- declare type SortFn = (a: Query, b: Query) => number;
229
-
230
- export declare const sortFns: Record<string, SortFn>;
231
-
232
- export declare function Sun(): JSX;
233
-
234
- export declare function TanstackLogo(): JSX;
235
-
236
- declare class TanstackQueryDevtools {
237
- #private;
238
- constructor(config: TanstackQueryDevtoolsConfig);
239
- setButtonPosition(position: DevtoolsButtonPosition): void;
240
- setPosition(position: DevtoolsPosition): void;
241
- setInitialIsOpen(isOpen: boolean): void;
242
- setErrorTypes(errorTypes: Array<DevtoolsErrorType>): void;
243
- setClient(client: QueryClient): void;
244
- setTheme(theme?: Theme): void;
245
- mount<T extends HTMLElement>(el: T): void;
246
- unmount(): void;
247
- }
248
- export { TanstackQueryDevtools }
249
- export { TanstackQueryDevtools as TanstackQueryDevtools_alias_1 }
250
-
251
- declare interface TanstackQueryDevtoolsConfig extends QueryDevtoolsProps {
252
- styleNonce?: string;
253
- shadowDOMTarget?: ShadowRoot;
254
- }
255
- export { TanstackQueryDevtoolsConfig }
256
- export { TanstackQueryDevtoolsConfig as TanstackQueryDevtoolsConfig_alias_1 }
257
-
258
- declare class TanstackQueryDevtoolsPanel {
259
- #private;
260
- constructor(config: TanstackQueryDevtoolsPanelConfig);
261
- setButtonPosition(position: DevtoolsButtonPosition): void;
262
- setPosition(position: DevtoolsPosition): void;
263
- setInitialIsOpen(isOpen: boolean): void;
264
- setErrorTypes(errorTypes: Array<DevtoolsErrorType>): void;
265
- setClient(client: QueryClient): void;
266
- setOnClose(onClose: () => void): void;
267
- setTheme(theme?: Theme): void;
268
- mount<T extends HTMLElement>(el: T): void;
269
- unmount(): void;
270
- }
271
- export { TanstackQueryDevtoolsPanel }
272
- export { TanstackQueryDevtoolsPanel as TanstackQueryDevtoolsPanel_alias_1 }
273
-
274
- declare interface TanstackQueryDevtoolsPanelConfig extends QueryDevtoolsProps {
275
- styleNonce?: string;
276
- shadowDOMTarget?: ShadowRoot;
277
- onClose?: () => void;
278
- }
279
- export { TanstackQueryDevtoolsPanelConfig }
280
- export { TanstackQueryDevtoolsPanelConfig as TanstackQueryDevtoolsPanelConfig_alias_1 }
281
-
282
- declare type Theme = 'dark' | 'light' | 'system';
283
- export { Theme }
284
- export { Theme as Theme_alias_1 }
285
- export { Theme as Theme_alias_2 }
286
-
287
- export declare const THEME_PREFERENCE = "system";
288
-
289
- declare const ThemeContext: Context<Accessor<"dark" | "light">>;
290
- export { ThemeContext }
291
- export { ThemeContext as ThemeContext_alias_1 }
292
-
293
- export declare const thirdBreakpoint = 700;
294
-
295
- export declare const tokens: {
296
- readonly colors: {
297
- readonly inherit: "inherit";
298
- readonly current: "currentColor";
299
- readonly transparent: "transparent";
300
- readonly black: "#000000";
301
- readonly white: "#ffffff";
302
- readonly neutral: {
303
- readonly 50: "#f9fafb";
304
- readonly 100: "#f2f4f7";
305
- readonly 200: "#eaecf0";
306
- readonly 300: "#d0d5dd";
307
- readonly 400: "#98a2b3";
308
- readonly 500: "#667085";
309
- readonly 600: "#475467";
310
- readonly 700: "#344054";
311
- readonly 800: "#1d2939";
312
- readonly 900: "#101828";
313
- };
314
- readonly darkGray: {
315
- readonly 50: "#525c7a";
316
- readonly 100: "#49536e";
317
- readonly 200: "#414962";
318
- readonly 300: "#394056";
319
- readonly 400: "#313749";
320
- readonly 500: "#292e3d";
321
- readonly 600: "#212530";
322
- readonly 700: "#191c24";
323
- readonly 800: "#111318";
324
- readonly 900: "#0b0d10";
325
- };
326
- readonly gray: {
327
- readonly 50: "#f9fafb";
328
- readonly 100: "#f2f4f7";
329
- readonly 200: "#eaecf0";
330
- readonly 300: "#d0d5dd";
331
- readonly 400: "#98a2b3";
332
- readonly 500: "#667085";
333
- readonly 600: "#475467";
334
- readonly 700: "#344054";
335
- readonly 800: "#1d2939";
336
- readonly 900: "#101828";
337
- };
338
- readonly blue: {
339
- readonly 25: "#F5FAFF";
340
- readonly 50: "#EFF8FF";
341
- readonly 100: "#D1E9FF";
342
- readonly 200: "#B2DDFF";
343
- readonly 300: "#84CAFF";
344
- readonly 400: "#53B1FD";
345
- readonly 500: "#2E90FA";
346
- readonly 600: "#1570EF";
347
- readonly 700: "#175CD3";
348
- readonly 800: "#1849A9";
349
- readonly 900: "#194185";
350
- };
351
- readonly green: {
352
- readonly 25: "#F6FEF9";
353
- readonly 50: "#ECFDF3";
354
- readonly 100: "#D1FADF";
355
- readonly 200: "#A6F4C5";
356
- readonly 300: "#6CE9A6";
357
- readonly 400: "#32D583";
358
- readonly 500: "#12B76A";
359
- readonly 600: "#039855";
360
- readonly 700: "#027A48";
361
- readonly 800: "#05603A";
362
- readonly 900: "#054F31";
363
- };
364
- readonly red: {
365
- readonly 50: "#fef2f2";
366
- readonly 100: "#fee2e2";
367
- readonly 200: "#fecaca";
368
- readonly 300: "#fca5a5";
369
- readonly 400: "#f87171";
370
- readonly 500: "#ef4444";
371
- readonly 600: "#dc2626";
372
- readonly 700: "#b91c1c";
373
- readonly 800: "#991b1b";
374
- readonly 900: "#7f1d1d";
375
- readonly 950: "#450a0a";
376
- };
377
- readonly yellow: {
378
- readonly 25: "#FFFCF5";
379
- readonly 50: "#FFFAEB";
380
- readonly 100: "#FEF0C7";
381
- readonly 200: "#FEDF89";
382
- readonly 300: "#FEC84B";
383
- readonly 400: "#FDB022";
384
- readonly 500: "#F79009";
385
- readonly 600: "#DC6803";
386
- readonly 700: "#B54708";
387
- readonly 800: "#93370D";
388
- readonly 900: "#7A2E0E";
389
- };
390
- readonly purple: {
391
- readonly 25: "#FAFAFF";
392
- readonly 50: "#F4F3FF";
393
- readonly 100: "#EBE9FE";
394
- readonly 200: "#D9D6FE";
395
- readonly 300: "#BDB4FE";
396
- readonly 400: "#9B8AFB";
397
- readonly 500: "#7A5AF8";
398
- readonly 600: "#6938EF";
399
- readonly 700: "#5925DC";
400
- readonly 800: "#4A1FB8";
401
- readonly 900: "#3E1C96";
402
- };
403
- readonly teal: {
404
- readonly 25: "#F6FEFC";
405
- readonly 50: "#F0FDF9";
406
- readonly 100: "#CCFBEF";
407
- readonly 200: "#99F6E0";
408
- readonly 300: "#5FE9D0";
409
- readonly 400: "#2ED3B7";
410
- readonly 500: "#15B79E";
411
- readonly 600: "#0E9384";
412
- readonly 700: "#107569";
413
- readonly 800: "#125D56";
414
- readonly 900: "#134E48";
415
- };
416
- readonly pink: {
417
- readonly 25: "#fdf2f8";
418
- readonly 50: "#fce7f3";
419
- readonly 100: "#fbcfe8";
420
- readonly 200: "#f9a8d4";
421
- readonly 300: "#f472b6";
422
- readonly 400: "#ec4899";
423
- readonly 500: "#db2777";
424
- readonly 600: "#be185d";
425
- readonly 700: "#9d174d";
426
- readonly 800: "#831843";
427
- readonly 900: "#500724";
428
- };
429
- readonly cyan: {
430
- readonly 25: "#ecfeff";
431
- readonly 50: "#cffafe";
432
- readonly 100: "#a5f3fc";
433
- readonly 200: "#67e8f9";
434
- readonly 300: "#22d3ee";
435
- readonly 400: "#06b6d4";
436
- readonly 500: "#0891b2";
437
- readonly 600: "#0e7490";
438
- readonly 700: "#155e75";
439
- readonly 800: "#164e63";
440
- readonly 900: "#083344";
441
- };
442
- };
443
- readonly alpha: {
444
- readonly 100: "ff";
445
- readonly 90: "e5";
446
- readonly 80: "cc";
447
- readonly 70: "b3";
448
- readonly 60: "99";
449
- readonly 50: "80";
450
- readonly 40: "66";
451
- readonly 30: "4d";
452
- readonly 20: "33";
453
- readonly 10: "1a";
454
- readonly 0: "00";
455
- };
456
- readonly font: {
457
- readonly size: {
458
- readonly '2xs': "calc(var(--tsqd-font-size) * 0.625)";
459
- readonly xs: "calc(var(--tsqd-font-size) * 0.75)";
460
- readonly sm: "calc(var(--tsqd-font-size) * 0.875)";
461
- readonly md: "var(--tsqd-font-size)";
462
- readonly lg: "calc(var(--tsqd-font-size) * 1.125)";
463
- readonly xl: "calc(var(--tsqd-font-size) * 1.25)";
464
- readonly '2xl': "calc(var(--tsqd-font-size) * 1.5)";
465
- readonly '3xl': "calc(var(--tsqd-font-size) * 1.875)";
466
- readonly '4xl': "calc(var(--tsqd-font-size) * 2.25)";
467
- readonly '5xl': "calc(var(--tsqd-font-size) * 3)";
468
- readonly '6xl': "calc(var(--tsqd-font-size) * 3.75)";
469
- readonly '7xl': "calc(var(--tsqd-font-size) * 4.5)";
470
- readonly '8xl': "calc(var(--tsqd-font-size) * 6)";
471
- readonly '9xl': "calc(var(--tsqd-font-size) * 8)";
472
- };
473
- readonly lineHeight: {
474
- readonly xs: "calc(var(--tsqd-font-size) * 1)";
475
- readonly sm: "calc(var(--tsqd-font-size) * 1.25)";
476
- readonly md: "calc(var(--tsqd-font-size) * 1.5)";
477
- readonly lg: "calc(var(--tsqd-font-size) * 1.75)";
478
- readonly xl: "calc(var(--tsqd-font-size) * 2)";
479
- readonly '2xl': "calc(var(--tsqd-font-size) * 2.25)";
480
- readonly '3xl': "calc(var(--tsqd-font-size) * 2.5)";
481
- readonly '4xl': "calc(var(--tsqd-font-size) * 2.75)";
482
- readonly '5xl': "calc(var(--tsqd-font-size) * 3)";
483
- readonly '6xl': "calc(var(--tsqd-font-size) * 3.25)";
484
- readonly '7xl': "calc(var(--tsqd-font-size) * 3.5)";
485
- readonly '8xl': "calc(var(--tsqd-font-size) * 3.75)";
486
- readonly '9xl': "calc(var(--tsqd-font-size) * 4)";
487
- };
488
- readonly weight: {
489
- readonly thin: "100";
490
- readonly extralight: "200";
491
- readonly light: "300";
492
- readonly normal: "400";
493
- readonly medium: "500";
494
- readonly semibold: "600";
495
- readonly bold: "700";
496
- readonly extrabold: "800";
497
- readonly black: "900";
498
- };
499
- };
500
- readonly breakpoints: {
501
- readonly xs: "320px";
502
- readonly sm: "640px";
503
- readonly md: "768px";
504
- readonly lg: "1024px";
505
- readonly xl: "1280px";
506
- readonly '2xl': "1536px";
507
- };
508
- readonly border: {
509
- readonly radius: {
510
- readonly none: "0px";
511
- readonly xs: "calc(var(--tsqd-font-size) * 0.125)";
512
- readonly sm: "calc(var(--tsqd-font-size) * 0.25)";
513
- readonly md: "calc(var(--tsqd-font-size) * 0.375)";
514
- readonly lg: "calc(var(--tsqd-font-size) * 0.5)";
515
- readonly xl: "calc(var(--tsqd-font-size) * 0.75)";
516
- readonly '2xl': "calc(var(--tsqd-font-size) * 1)";
517
- readonly '3xl': "calc(var(--tsqd-font-size) * 1.5)";
518
- readonly full: "9999px";
519
- };
520
- };
521
- readonly size: {
522
- readonly 0: "0px";
523
- readonly 0.25: "calc(var(--tsqd-font-size) * 0.0625)";
524
- readonly 0.5: "calc(var(--tsqd-font-size) * 0.125)";
525
- readonly 1: "calc(var(--tsqd-font-size) * 0.25)";
526
- readonly 1.5: "calc(var(--tsqd-font-size) * 0.375)";
527
- readonly 2: "calc(var(--tsqd-font-size) * 0.5)";
528
- readonly 2.5: "calc(var(--tsqd-font-size) * 0.625)";
529
- readonly 3: "calc(var(--tsqd-font-size) * 0.75)";
530
- readonly 3.5: "calc(var(--tsqd-font-size) * 0.875)";
531
- readonly 4: "calc(var(--tsqd-font-size) * 1)";
532
- readonly 4.5: "calc(var(--tsqd-font-size) * 1.125)";
533
- readonly 5: "calc(var(--tsqd-font-size) * 1.25)";
534
- readonly 5.5: "calc(var(--tsqd-font-size) * 1.375)";
535
- readonly 6: "calc(var(--tsqd-font-size) * 1.5)";
536
- readonly 6.5: "calc(var(--tsqd-font-size) * 1.625)";
537
- readonly 7: "calc(var(--tsqd-font-size) * 1.75)";
538
- readonly 8: "calc(var(--tsqd-font-size) * 2)";
539
- readonly 9: "calc(var(--tsqd-font-size) * 2.25)";
540
- readonly 10: "calc(var(--tsqd-font-size) * 2.5)";
541
- readonly 11: "calc(var(--tsqd-font-size) * 2.75)";
542
- readonly 12: "calc(var(--tsqd-font-size) * 3)";
543
- readonly 14: "calc(var(--tsqd-font-size) * 3.5)";
544
- readonly 16: "calc(var(--tsqd-font-size) * 4)";
545
- readonly 20: "calc(var(--tsqd-font-size) * 5)";
546
- readonly 24: "calc(var(--tsqd-font-size) * 6)";
547
- readonly 28: "calc(var(--tsqd-font-size) * 7)";
548
- readonly 32: "calc(var(--tsqd-font-size) * 8)";
549
- readonly 36: "calc(var(--tsqd-font-size) * 9)";
550
- readonly 40: "calc(var(--tsqd-font-size) * 10)";
551
- readonly 44: "calc(var(--tsqd-font-size) * 11)";
552
- readonly 48: "calc(var(--tsqd-font-size) * 12)";
553
- readonly 52: "calc(var(--tsqd-font-size) * 13)";
554
- readonly 56: "calc(var(--tsqd-font-size) * 14)";
555
- readonly 60: "calc(var(--tsqd-font-size) * 15)";
556
- readonly 64: "calc(var(--tsqd-font-size) * 16)";
557
- readonly 72: "calc(var(--tsqd-font-size) * 18)";
558
- readonly 80: "calc(var(--tsqd-font-size) * 20)";
559
- readonly 96: "calc(var(--tsqd-font-size) * 24)";
560
- };
561
- readonly shadow: {
562
- readonly xs: (_?: string) => "0 1px 2px 0 rgb(0 0 0 / 0.05)";
563
- readonly sm: (color?: string) => `0 1px 3px 0 ${string}, 0 1px 2px -1px ${string}`;
564
- readonly md: (color?: string) => `0 4px 6px -1px ${string}, 0 2px 4px -2px ${string}`;
565
- readonly lg: (color?: string) => `0 10px 15px -3px ${string}, 0 4px 6px -4px ${string}`;
566
- readonly xl: (color?: string) => `0 20px 25px -5px ${string}, 0 8px 10px -6px ${string}`;
567
- readonly '2xl': (color?: string) => `0 25px 50px -12px ${string}`;
568
- readonly inner: (color?: string) => `inset 0 2px 4px 0 ${string}`;
569
- readonly none: () => "none";
570
- };
571
- readonly zIndices: {
572
- readonly hide: -1;
573
- readonly auto: "auto";
574
- readonly base: 0;
575
- readonly docked: 10;
576
- readonly dropdown: 1000;
577
- readonly sticky: 1100;
578
- readonly banner: 1200;
579
- readonly overlay: 1300;
580
- readonly modal: 1400;
581
- readonly popover: 1500;
582
- readonly skipLink: 1600;
583
- readonly toast: 1700;
584
- readonly tooltip: 1800;
585
- };
586
- };
587
-
588
- export declare function Trash(): JSX;
589
-
590
- /**
591
- * updates nested data by path
592
- *
593
- * @param {unknown} oldData Data to be updated
594
- * @param {Array<string>} updatePath Path to the data to be updated
595
- * @param {unknown} value New value
596
- */
597
- export declare const updateNestedDataByPath: (oldData: unknown, updatePath: Array<string>, value: unknown) => any;
598
-
599
- declare const usePiPWindow: () => Accessor<PiPContextType>;
600
- export { usePiPWindow }
601
- export { usePiPWindow as usePiPWindow_alias_1 }
602
-
603
- declare function useQueryDevtoolsContext(): QueryDevtoolsProps;
604
- export { useQueryDevtoolsContext }
605
- export { useQueryDevtoolsContext as useQueryDevtoolsContext_alias_1 }
606
-
607
- declare function useTheme(): Accessor<"dark" | "light">;
608
- export { useTheme }
609
- export { useTheme as useTheme_alias_1 }
610
-
611
- export declare function Wifi(): JSX;
612
-
613
- export declare function XCircle(): JSX;
614
-
615
- declare type XPosition = 'left' | 'right';
616
-
617
- declare type YPosition = 'top' | 'bottom';
618
-
619
- export { }
package/build/dev.d.cts DELETED
@@ -1,8 +0,0 @@
1
- export { DevtoolsButtonPosition } from './_tsup-dts-rollup.cjs';
2
- export { DevtoolsErrorType } from './_tsup-dts-rollup.cjs';
3
- export { DevtoolsPosition } from './_tsup-dts-rollup.cjs';
4
- export { Theme } from './_tsup-dts-rollup.cjs';
5
- export { TanstackQueryDevtools_alias_1 as TanstackQueryDevtools } from './_tsup-dts-rollup.cjs';
6
- export { TanstackQueryDevtoolsConfig_alias_1 as TanstackQueryDevtoolsConfig } from './_tsup-dts-rollup.cjs';
7
- export { TanstackQueryDevtoolsPanel_alias_1 as TanstackQueryDevtoolsPanel } from './_tsup-dts-rollup.cjs';
8
- export { TanstackQueryDevtoolsPanelConfig_alias_1 as TanstackQueryDevtoolsPanelConfig } from './_tsup-dts-rollup.cjs';
package/build/dev.d.ts DELETED
@@ -1,8 +0,0 @@
1
- export { DevtoolsButtonPosition } from './_tsup-dts-rollup.js';
2
- export { DevtoolsErrorType } from './_tsup-dts-rollup.js';
3
- export { DevtoolsPosition } from './_tsup-dts-rollup.js';
4
- export { Theme } from './_tsup-dts-rollup.js';
5
- export { TanstackQueryDevtools_alias_1 as TanstackQueryDevtools } from './_tsup-dts-rollup.js';
6
- export { TanstackQueryDevtoolsConfig_alias_1 as TanstackQueryDevtoolsConfig } from './_tsup-dts-rollup.js';
7
- export { TanstackQueryDevtoolsPanel_alias_1 as TanstackQueryDevtoolsPanel } from './_tsup-dts-rollup.js';
8
- export { TanstackQueryDevtoolsPanelConfig_alias_1 as TanstackQueryDevtoolsPanelConfig } from './_tsup-dts-rollup.js';