@buoy-gg/zustand 7.0.7 → 7.0.9
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/lib/typescript/zustand/sync/zustandSyncAdapter.d.ts +1 -1
- package/package.json +3 -3
- package/lib/commonjs/zustand/components/index.js +0 -73
- package/lib/commonjs/zustand/hooks/index.js +0 -12
- package/lib/commonjs/zustand/index.js +0 -99
- package/lib/commonjs/zustand/utils/index.js +0 -31
- package/lib/module/zustand/components/index.js +0 -10
- package/lib/module/zustand/hooks/index.js +0 -3
- package/lib/module/zustand/index.js +0 -12
- package/lib/module/zustand/utils/index.js +0 -4
- package/lib/typescript/zustand/components/index.d.ts +0 -11
- package/lib/typescript/zustand/components/index.d.ts.map +0 -1
- package/lib/typescript/zustand/hooks/index.d.ts +0 -3
- package/lib/typescript/zustand/hooks/index.d.ts.map +0 -1
- package/lib/typescript/zustand/index.d.ts +0 -12
- package/lib/typescript/zustand/index.d.ts.map +0 -1
- package/lib/typescript/zustand/utils/index.d.ts +0 -3
- package/lib/typescript/zustand/utils/index.d.ts.map +0 -1
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
export declare const zustandSyncAdapter: {
|
|
15
15
|
version: number;
|
|
16
16
|
getSnapshot: () => {
|
|
17
|
-
changes: import("
|
|
17
|
+
changes: import("../types").ZustandStateChange[];
|
|
18
18
|
stores: import("../types").ZustandStoreSnapshot[];
|
|
19
19
|
};
|
|
20
20
|
subscribe: (onChange: () => void) => () => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@buoy-gg/zustand",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.9",
|
|
4
4
|
"description": "Zustand devtools inside your React Native app — state diffs, jump-to-state & one-tap store reset, no middleware. Part of Buoy devtools.",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
],
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@buoy-gg/license": "7.0.
|
|
30
|
-
"@buoy-gg/shared-ui": "7.0.
|
|
29
|
+
"@buoy-gg/license": "^7.0.9",
|
|
30
|
+
"@buoy-gg/shared-ui": "^7.0.9"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"react": "*",
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "ZUSTAND_ICON_COLOR", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _ZustandIcon.ZUSTAND_ICON_COLOR;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "ZustandActionButton", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return _ZustandActionButton.ZustandActionButton;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "ZustandDetailViewToggle", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () {
|
|
21
|
-
return _ZustandDetailViewToggle.ZustandDetailViewToggle;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "ZustandIcon", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () {
|
|
27
|
-
return _ZustandIcon.ZustandIcon;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, "ZustandModal", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () {
|
|
33
|
-
return _ZustandModal.ZustandModal;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(exports, "ZustandStateChangeItem", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function () {
|
|
39
|
-
return _ZustandStateChangeItem.ZustandStateChangeItem;
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
Object.defineProperty(exports, "ZustandStateDetailContent", {
|
|
43
|
-
enumerable: true,
|
|
44
|
-
get: function () {
|
|
45
|
-
return _ZustandStateDetailContent.ZustandStateDetailContent;
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
Object.defineProperty(exports, "ZustandStateDetailFooter", {
|
|
49
|
-
enumerable: true,
|
|
50
|
-
get: function () {
|
|
51
|
-
return _ZustandStateDetailContent.ZustandStateDetailFooter;
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
Object.defineProperty(exports, "ZustandStateInfoView", {
|
|
55
|
-
enumerable: true,
|
|
56
|
-
get: function () {
|
|
57
|
-
return _ZustandStateInfoView.ZustandStateInfoView;
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
Object.defineProperty(exports, "ZustandStoreBrowser", {
|
|
61
|
-
enumerable: true,
|
|
62
|
-
get: function () {
|
|
63
|
-
return _ZustandStoreBrowser.ZustandStoreBrowser;
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
var _ZustandModal = require("./ZustandModal");
|
|
67
|
-
var _ZustandIcon = require("./ZustandIcon");
|
|
68
|
-
var _ZustandStateChangeItem = require("./ZustandStateChangeItem");
|
|
69
|
-
var _ZustandStateDetailContent = require("./ZustandStateDetailContent");
|
|
70
|
-
var _ZustandStateInfoView = require("./ZustandStateInfoView");
|
|
71
|
-
var _ZustandDetailViewToggle = require("./ZustandDetailViewToggle");
|
|
72
|
-
var _ZustandActionButton = require("./ZustandActionButton");
|
|
73
|
-
var _ZustandStoreBrowser = require("./ZustandStoreBrowser");
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "useZustandStateChanges", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _useZustandStateChanges.useZustandStateChanges;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
var _useZustandStateChanges = require("./useZustandStateChanges");
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "ZUSTAND_ICON_COLOR", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _ZustandIcon.ZUSTAND_ICON_COLOR;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "ZustandActionButton", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return _ZustandActionButton.ZustandActionButton;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "ZustandDetailViewToggle", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () {
|
|
21
|
-
return _ZustandDetailViewToggle.ZustandDetailViewToggle;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "ZustandIcon", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () {
|
|
27
|
-
return _ZustandIcon.ZustandIcon;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, "ZustandModal", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () {
|
|
33
|
-
return _ZustandModal.ZustandModal;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(exports, "ZustandStateChangeItem", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function () {
|
|
39
|
-
return _ZustandStateChangeItem.ZustandStateChangeItem;
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
Object.defineProperty(exports, "ZustandStateDetailContent", {
|
|
43
|
-
enumerable: true,
|
|
44
|
-
get: function () {
|
|
45
|
-
return _ZustandStateDetailContent.ZustandStateDetailContent;
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
Object.defineProperty(exports, "ZustandStateDetailFooter", {
|
|
49
|
-
enumerable: true,
|
|
50
|
-
get: function () {
|
|
51
|
-
return _ZustandStateDetailContent.ZustandStateDetailFooter;
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
Object.defineProperty(exports, "ZustandStateInfoView", {
|
|
55
|
-
enumerable: true,
|
|
56
|
-
get: function () {
|
|
57
|
-
return _ZustandStateInfoView.ZustandStateInfoView;
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
Object.defineProperty(exports, "buoyDevTools", {
|
|
61
|
-
enumerable: true,
|
|
62
|
-
get: function () {
|
|
63
|
-
return _buoyZustandMiddleware.buoyDevTools;
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
Object.defineProperty(exports, "isStoreInstrumented", {
|
|
67
|
-
enumerable: true,
|
|
68
|
-
get: function () {
|
|
69
|
-
return _buoyZustandMiddleware.isStoreInstrumented;
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
Object.defineProperty(exports, "useZustandStateChanges", {
|
|
73
|
-
enumerable: true,
|
|
74
|
-
get: function () {
|
|
75
|
-
return _useZustandStateChanges.useZustandStateChanges;
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
Object.defineProperty(exports, "watchStores", {
|
|
79
|
-
enumerable: true,
|
|
80
|
-
get: function () {
|
|
81
|
-
return _buoyZustandMiddleware.watchStores;
|
|
82
|
-
}
|
|
83
|
-
});
|
|
84
|
-
Object.defineProperty(exports, "zustandStateStore", {
|
|
85
|
-
enumerable: true,
|
|
86
|
-
get: function () {
|
|
87
|
-
return _zustandStateStore.zustandStateStore;
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
var _ZustandModal = require("./components/ZustandModal");
|
|
91
|
-
var _ZustandIcon = require("./components/ZustandIcon");
|
|
92
|
-
var _ZustandStateChangeItem = require("./components/ZustandStateChangeItem");
|
|
93
|
-
var _ZustandStateDetailContent = require("./components/ZustandStateDetailContent");
|
|
94
|
-
var _ZustandStateInfoView = require("./components/ZustandStateInfoView");
|
|
95
|
-
var _ZustandDetailViewToggle = require("./components/ZustandDetailViewToggle");
|
|
96
|
-
var _ZustandActionButton = require("./components/ZustandActionButton");
|
|
97
|
-
var _zustandStateStore = require("./utils/zustandStateStore");
|
|
98
|
-
var _buoyZustandMiddleware = require("./utils/buoyZustandMiddleware");
|
|
99
|
-
var _useZustandStateChanges = require("./hooks/useZustandStateChanges");
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "buoyDevTools", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _buoyZustandMiddleware.buoyDevTools;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "isStoreInstrumented", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return _buoyZustandMiddleware.isStoreInstrumented;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "watchStores", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () {
|
|
21
|
-
return _buoyZustandMiddleware.watchStores;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "zustandStateStore", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () {
|
|
27
|
-
return _zustandStateStore.zustandStateStore;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
var _zustandStateStore = require("./zustandStateStore");
|
|
31
|
-
var _buoyZustandMiddleware = require("./buoyZustandMiddleware");
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
export { ZustandModal } from "./ZustandModal";
|
|
4
|
-
export { ZustandIcon, ZUSTAND_ICON_COLOR } from "./ZustandIcon";
|
|
5
|
-
export { ZustandStateChangeItem } from "./ZustandStateChangeItem";
|
|
6
|
-
export { ZustandStateDetailContent, ZustandStateDetailFooter } from "./ZustandStateDetailContent";
|
|
7
|
-
export { ZustandStateInfoView } from "./ZustandStateInfoView";
|
|
8
|
-
export { ZustandDetailViewToggle } from "./ZustandDetailViewToggle";
|
|
9
|
-
export { ZustandActionButton } from "./ZustandActionButton";
|
|
10
|
-
export { ZustandStoreBrowser } from "./ZustandStoreBrowser";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
export { ZustandModal } from "./components/ZustandModal";
|
|
4
|
-
export { ZustandIcon, ZUSTAND_ICON_COLOR } from "./components/ZustandIcon";
|
|
5
|
-
export { ZustandStateChangeItem } from "./components/ZustandStateChangeItem";
|
|
6
|
-
export { ZustandStateDetailContent, ZustandStateDetailFooter } from "./components/ZustandStateDetailContent";
|
|
7
|
-
export { ZustandStateInfoView } from "./components/ZustandStateInfoView";
|
|
8
|
-
export { ZustandDetailViewToggle } from "./components/ZustandDetailViewToggle";
|
|
9
|
-
export { ZustandActionButton } from "./components/ZustandActionButton";
|
|
10
|
-
export { zustandStateStore } from "./utils/zustandStateStore";
|
|
11
|
-
export { watchStores, buoyDevTools, isStoreInstrumented } from "./utils/buoyZustandMiddleware";
|
|
12
|
-
export { useZustandStateChanges } from "./hooks/useZustandStateChanges";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { ZustandModal } from "./ZustandModal";
|
|
2
|
-
export { ZustandIcon, ZUSTAND_ICON_COLOR } from "./ZustandIcon";
|
|
3
|
-
export { ZustandStateChangeItem } from "./ZustandStateChangeItem";
|
|
4
|
-
export { ZustandStateDetailContent, ZustandStateDetailFooter, } from "./ZustandStateDetailContent";
|
|
5
|
-
export { ZustandStateInfoView } from "./ZustandStateInfoView";
|
|
6
|
-
export { ZustandDetailViewToggle } from "./ZustandDetailViewToggle";
|
|
7
|
-
export type { ZustandDetailViewMode } from "./ZustandDetailViewToggle";
|
|
8
|
-
export { ZustandActionButton } from "./ZustandActionButton";
|
|
9
|
-
export type { ButtonType } from "./ZustandActionButton";
|
|
10
|
-
export { ZustandStoreBrowser } from "./ZustandStoreBrowser";
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/zustand/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EACL,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,YAAY,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,YAAY,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/zustand/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,YAAY,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { ZustandModal } from "./components/ZustandModal";
|
|
2
|
-
export { ZustandIcon, ZUSTAND_ICON_COLOR } from "./components/ZustandIcon";
|
|
3
|
-
export { ZustandStateChangeItem } from "./components/ZustandStateChangeItem";
|
|
4
|
-
export { ZustandStateDetailContent, ZustandStateDetailFooter, } from "./components/ZustandStateDetailContent";
|
|
5
|
-
export { ZustandStateInfoView } from "./components/ZustandStateInfoView";
|
|
6
|
-
export { ZustandDetailViewToggle } from "./components/ZustandDetailViewToggle";
|
|
7
|
-
export { ZustandActionButton } from "./components/ZustandActionButton";
|
|
8
|
-
export { zustandStateStore } from "./utils/zustandStateStore";
|
|
9
|
-
export { watchStores, buoyDevTools, isStoreInstrumented, } from "./utils/buoyZustandMiddleware";
|
|
10
|
-
export { useZustandStateChanges } from "./hooks/useZustandStateChanges";
|
|
11
|
-
export type { ZustandModalProps, ZustandStateChange, ZustandStoreInfo, ZustandFilter, StateChangeCategory, BuoyZustandMiddlewareOptions, } from "./types";
|
|
12
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/zustand/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EACL,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EACL,WAAW,EACX,YAAY,EACZ,mBAAmB,GACpB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAExE,YAAY,EACV,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,mBAAmB,EACnB,4BAA4B,GAC7B,MAAM,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/zustand/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EACL,WAAW,EACX,YAAY,EACZ,mBAAmB,GACpB,MAAM,yBAAyB,CAAC"}
|