@tanstack/react-query-devtools 5.0.0-alpha.14 → 5.0.0-alpha.17
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/build/lib/CachePanel/CachePanel.esm.js +9 -0
- package/build/lib/CachePanel/CachePanel.esm.js.map +1 -1
- package/build/lib/CachePanel/CachePanel.js +9 -0
- package/build/lib/CachePanel/CachePanel.js.map +1 -1
- package/build/lib/CachePanel/CachePanel.mjs +9 -0
- package/build/lib/CachePanel/CachePanel.mjs.map +1 -1
- package/build/lib/index.prod.esm.js +9 -0
- package/build/lib/index.prod.esm.js.map +1 -1
- package/build/lib/index.prod.js +9 -0
- package/build/lib/index.prod.js.map +1 -1
- package/build/lib/index.prod.mjs +9 -0
- package/build/lib/index.prod.mjs.map +1 -1
- package/build/umd/index.development.js +9 -0
- package/build/umd/index.development.js.map +1 -1
- package/package.json +1 -1
- package/src/CachePanel/CachePanel.tsx +12 -0
- package/src/__tests__/devtools.test.tsx +46 -0
package/build/lib/index.prod.js
CHANGED
|
@@ -1280,6 +1280,15 @@ const ReactQueryDevtoolsPanel$1 = /*#__PURE__*/React.forwardRef(function ReactQu
|
|
|
1280
1280
|
marginRight: '.5em'
|
|
1281
1281
|
}
|
|
1282
1282
|
}, baseSort === 1 ? '⬆ Asc' : '⬇ Desc'), /*#__PURE__*/React.createElement(Button, {
|
|
1283
|
+
title: "Clear cache",
|
|
1284
|
+
"aria-label": "Clear cache",
|
|
1285
|
+
type: "button",
|
|
1286
|
+
onClick: () => queryCache.clear(),
|
|
1287
|
+
style: {
|
|
1288
|
+
padding: '.3em .4em',
|
|
1289
|
+
marginRight: '.5em'
|
|
1290
|
+
}
|
|
1291
|
+
}, "Clear"), /*#__PURE__*/React.createElement(Button, {
|
|
1283
1292
|
type: "button",
|
|
1284
1293
|
onClick: () => {
|
|
1285
1294
|
if (isMockOffline) {
|