@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
|
@@ -2894,6 +2894,15 @@
|
|
|
2894
2894
|
marginRight: '.5em'
|
|
2895
2895
|
}
|
|
2896
2896
|
}, baseSort === 1 ? '⬆ Asc' : '⬇ Desc'), /*#__PURE__*/React.createElement(Button, {
|
|
2897
|
+
title: "Clear cache",
|
|
2898
|
+
"aria-label": "Clear cache",
|
|
2899
|
+
type: "button",
|
|
2900
|
+
onClick: () => queryCache.clear(),
|
|
2901
|
+
style: {
|
|
2902
|
+
padding: '.3em .4em',
|
|
2903
|
+
marginRight: '.5em'
|
|
2904
|
+
}
|
|
2905
|
+
}, "Clear"), /*#__PURE__*/React.createElement(Button, {
|
|
2897
2906
|
type: "button",
|
|
2898
2907
|
onClick: () => {
|
|
2899
2908
|
if (isMockOffline) {
|