@tamagui/use-store 1.122.7 → 1.123.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tamagui/use-store",
3
- "version": "1.122.7",
4
- "types": "./types/index.d.ts",
3
+ "version": "1.123.0",
4
+ "types": "./src",
5
5
  "main": "dist/cjs",
6
6
  "module": "dist/esm",
7
7
  "files": [
@@ -10,8 +10,8 @@
10
10
  "dist"
11
11
  ],
12
12
  "scripts": {
13
- "build": "tamagui-build",
14
- "watch": "tamagui-build --watch",
13
+ "build": "tamagui-build --skip-types",
14
+ "watch": "tamagui-build --skip-types --watch",
15
15
  "lint": "biome check src",
16
16
  "lint:fix": "biome check --write src",
17
17
  "clean": "tamagui-build clean",
@@ -24,17 +24,17 @@
24
24
  "import": "./dist/esm/index.native.js",
25
25
  "require": "./dist/cjs/index.native.js"
26
26
  },
27
- "types": "./types/index.d.ts",
27
+ "types": "./src/index.ts",
28
28
  "import": "./dist/esm/index.mjs",
29
29
  "require": "./dist/cjs/index.cjs",
30
30
  "default": "./dist/cjs/index.native.js"
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@tamagui/simple-hash": "1.122.7"
34
+ "@tamagui/simple-hash": "1.123.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@tamagui/build": "1.122.7",
37
+ "@tamagui/build": "1.123.0",
38
38
  "@testing-library/react": "^16.1.0",
39
39
  "react": "*",
40
40
  "vitest": "^3.0.2"
@@ -1,6 +0,0 @@
1
- export declare const isEqualSubsetShallow: (a: any, b: any, opts?: {
2
- keyComparators?: {
3
- [key: string]: (a: any, b: any) => boolean;
4
- };
5
- }) => boolean;
6
- //# sourceMappingURL=comparators.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"comparators.d.ts","sourceRoot":"","sources":["../src/comparators.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,MAC5B,GAAG,KACH,GAAG,SACC;IAAE,cAAc,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,KAAK,OAAO,CAAA;KAAE,CAAA;CAAE,YAc3E,CAAA"}
@@ -1,4 +0,0 @@
1
- import type { UseStoreConfig } from './interfaces';
2
- export declare let configureOpts: UseStoreConfig;
3
- export declare function configureUseStore(opts: UseStoreConfig): void;
4
- //# sourceMappingURL=configureUseStore.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"configureUseStore.d.ts","sourceRoot":"","sources":["../src/configureUseStore.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAElD,eAAO,IAAI,aAAa,EAAE,cAAmB,CAAA;AAE7C,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,cAAc,QAErD"}
@@ -1,6 +0,0 @@
1
- export declare const UNWRAP_PROXY: unique symbol;
2
- export declare const defaultOptions: {
3
- once: boolean;
4
- selector: undefined;
5
- };
6
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,eAAW,CAAA;AAEpC,eAAO,MAAM,cAAc;;;CAG1B,CAAA"}
@@ -1,3 +0,0 @@
1
- export type ComparisonFn = (a: any, b: any) => boolean;
2
- export declare function compare(comparator: ComparisonFn): (target: any, propertyKey: string) => any;
3
- //# sourceMappingURL=decorators.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"decorators.d.ts","sourceRoot":"","sources":["../src/decorators.tsx"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,KAAK,OAAO,CAAA;AAEtD,wBAAgB,OAAO,CAAC,UAAU,EAAE,YAAY,YAC9B,GAAG,eAAe,MAAM,KAAG,GAAG,CAI/C"}
@@ -1,11 +0,0 @@
1
- import type { StoreInfo } from './interfaces';
2
- export declare function getStoreUid(Constructor: any, props: string | Object | void): any;
3
- export declare const UNWRAP_STORE_INFO: unique symbol;
4
- export declare const cache: Map<string, StoreInfo>;
5
- export declare function getStoreDescriptors(storeInstance: any): {
6
- [x: string]: TypedPropertyDescriptor<any> & PropertyDescriptor;
7
- };
8
- export declare function get<A>(_: A, b?: any): A extends new (props?: any) => infer B ? B : A;
9
- export declare function simpleStr(arg: any): any;
10
- export declare function getStoreDebugInfo(store: any): any;
11
- //# sourceMappingURL=helpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../src/helpers.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAE7C,wBAAgB,WAAW,CAAC,WAAW,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,OAO1E;AAED,eAAO,MAAM,iBAAiB,eAA8B,CAAA;AAC5D,eAAO,MAAM,KAAK,wBAA+B,CAAA;AAEjD,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,GAAG;;EAWrD;AAED,wBAAgB,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,GAAG,CAAC,SAAS,KAAK,KAAK,CAAC,EAAE,GAAG,KAAK,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAEpF;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,GAAG,OAejC;AAGD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,GAAG,OAI3C"}
package/types/index.d.ts DELETED
@@ -1,12 +0,0 @@
1
- export * from './useStore';
2
- export { configureUseStore } from './configureUseStore';
3
- export * from './interfaces';
4
- export * from './observe';
5
- export { UNWRAP_PROXY } from './constants';
6
- export * from './comparators';
7
- export * from './decorators';
8
- export declare class Store<Props extends Record<string, any>> {
9
- props: Props;
10
- constructor(props: Props);
11
- }
12
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1C,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAG5B,qBAAa,KAAK,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAC/B,KAAK,EAAE,KAAK;gBAAZ,KAAK,EAAE,KAAK;CAChC"}
@@ -1,43 +0,0 @@
1
- import type { StoreTracker } from './useStore';
2
- export type Selector<A = unknown, B = unknown> = (x: A) => B;
3
- export type UseStoreSelector<Store, Res> = (store: Store) => Res;
4
- export type UseStoreOptions<Store = any, SelectorRes = any> = {
5
- debug?: boolean;
6
- selector?: UseStoreSelector<Store, SelectorRes>;
7
- once?: boolean;
8
- };
9
- export interface Store<Props = Record<string, any> | null | undefined> {
10
- new (...args: any[]): any;
11
- props: Props;
12
- }
13
- export type StoreInfo<A = Store> = {
14
- uid: string;
15
- keyComparators?: {
16
- [key: string]: (a: any, b: any) => boolean;
17
- };
18
- store: A;
19
- props: Record<string, any> | null;
20
- storeInstance: any;
21
- getters: {
22
- [key: string]: any;
23
- };
24
- actions: any;
25
- stateKeys: Set<string>;
26
- debug?: boolean;
27
- gettersState: {
28
- getCache: Map<string, any>;
29
- depsToGetter: Map<string, Set<string>>;
30
- curGetKeys: Set<string>;
31
- isGetting: boolean;
32
- };
33
- listeners: Set<Function>;
34
- trackers: Set<StoreTracker>;
35
- version: number;
36
- subscribe: (onChanged: () => void) => () => void;
37
- triggerUpdate: Function;
38
- disableTracking: boolean;
39
- };
40
- export type UseStoreConfig = {
41
- logLevel?: 'debug' | 'info' | 'error';
42
- };
43
- //# sourceMappingURL=interfaces.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../src/interfaces.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAE9C,MAAM,MAAM,QAAQ,CAAC,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,IAAI,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAA;AAE5D,MAAM,MAAM,gBAAgB,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,KAAK,EAAE,KAAK,KAAK,GAAG,CAAA;AAChE,MAAM,MAAM,eAAe,CAAC,KAAK,GAAG,GAAG,EAAE,WAAW,GAAG,GAAG,IAAI;IAC5D,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,gBAAgB,CAAC,KAAK,EAAE,WAAW,CAAC,CAAA;IAC/C,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAA;AAED,MAAM,WAAW,KAAK,CAAC,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,GAAG,SAAS;IACnE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,GAAG,CAAA;IACzB,KAAK,EAAE,KAAK,CAAA;CACb;AAED,MAAM,MAAM,SAAS,CAAC,CAAC,GAAG,KAAK,IAAI;IACjC,GAAG,EAAE,MAAM,CAAA;IACX,cAAc,CAAC,EAAE;QACf,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,KAAK,OAAO,CAAA;KAC3C,CAAA;IAED,KAAK,EAAE,CAAC,CAAA;IACR,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;IACjC,aAAa,EAAE,GAAG,CAAA;IAClB,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAA;IAC/B,OAAO,EAAE,GAAG,CAAA;IACZ,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACtB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,YAAY,EAAE;QACZ,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;QAC1B,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAA;QACtC,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;QACvB,SAAS,EAAE,OAAO,CAAA;KACnB,CAAA;IACD,SAAS,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAA;IACxB,QAAQ,EAAE,GAAG,CAAC,YAAY,CAAC,CAAA;IAC3B,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,CAAC,SAAS,EAAE,MAAM,IAAI,KAAK,MAAM,IAAI,CAAA;IAChD,aAAa,EAAE,QAAQ,CAAA;IACvB,eAAe,EAAE,OAAO,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAA;CACtC,CAAA"}
@@ -1,6 +0,0 @@
1
- export declare function observe(fn: () => any): {
2
- dispose: () => void;
3
- getValue: () => any;
4
- };
5
- export declare function useObserve<A>(fn: () => A): A;
6
- //# sourceMappingURL=observe.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"observe.d.ts","sourceRoot":"","sources":["../src/observe.tsx"],"names":[],"mappings":"AAyBA,wBAAgB,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG;;;EAyCpC;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,CAAC,GAAG,CAAC,CA4C5C"}
@@ -1,26 +0,0 @@
1
- import type { Selector, Store, StoreInfo, UseStoreOptions } from './interfaces';
2
- export declare function useStore<A, B extends Object>(StoreKlass: (new (props: B) => A) | (new () => A) | null | undefined, props?: B | null, options?: UseStoreOptions<A, any>): A;
3
- export declare function useStoreDebug<A, B extends Object>(StoreKlass: (new (props: B) => A) | (new () => A), props?: B): A;
4
- export declare function createStore<A, B extends Object>(StoreKlass: new (props: B) => A | (new () => A) | null | undefined, props?: B, options?: UseStoreOptions<A, any>): A;
5
- export declare function useGlobalStore<A, B extends Object>(instance: A, debug?: boolean): A;
6
- export declare function useGlobalStoreSelector<A, Selector extends (store: A) => any>(instance: A, selector: Selector, debug?: boolean): Selector extends (a: A) => infer C ? C : unknown;
7
- export declare function createUseStore<Props, Store>(StoreKlass: (new (props: Props) => Store) | (new () => Store)): <Res, C extends Selector<Store, Res>, Props_1 extends Object>(props?: Props_1, options?: UseStoreOptions) => C extends Selector<any, infer B> ? (B extends Object ? B : Store) : Store;
8
- export declare function createUseStoreSelector<A extends Store<Props>, Props extends Object, Selected>(StoreKlass: (new (props: Props) => A) | (new () => A), selector: Selector<A, Selected>): (props?: Props) => Selected;
9
- export declare function useStoreSelector<A, B extends Object, S extends Selector<A, any>>(StoreKlass: (new (props: B) => A) | (new () => A), selector: S, props?: B): S extends Selector<any, infer R> ? R : unknown;
10
- type StoreAccessTracker = (store: StoreInfo) => void;
11
- export declare function trackStoresAccess(cb: StoreAccessTracker): () => void;
12
- export declare function getStore<A, B extends Object>(StoreKlass: (new (props: B) => A) | (new () => A) | null | undefined, props?: B): A;
13
- export declare function getOrCreateStore<A, B extends Object>(StoreKlass: (new (props: B) => A) | (new () => A) | null | undefined, props?: B): A;
14
- export declare function getStoreInfo(StoreKlass: any, props: any): StoreInfo | null;
15
- export type CreateStoreListener = (storeInfo: StoreInfo) => void;
16
- export declare function onCreateStore(cb: CreateStoreListener): () => void;
17
- export declare const allStores: {};
18
- export declare const setIsInReaction: (val: boolean) => void;
19
- export type StoreTracker = {
20
- tracked: Set<string>;
21
- component?: any;
22
- last?: any;
23
- lastKeys?: any;
24
- };
25
- export {};
26
- //# sourceMappingURL=useStore.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useStore.d.ts","sourceRoot":"","sources":["../src/useStore.tsx"],"names":[],"mappings":"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"}
@@ -1,7 +0,0 @@
1
- import type { StoreInfo } from './interfaces';
2
- export declare const useCurrentComponent: () => {};
3
- export declare function useDebugStoreComponent(StoreCons: any): void;
4
- export declare const shouldDebug: (component: any, info: Pick<StoreInfo, "storeInstance">) => boolean | undefined;
5
- export declare const DebugComponents: Map<any, Set<any>>;
6
- export declare const DebugStores: Set<any>;
7
- //# sourceMappingURL=useStoreDebug.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useStoreDebug.d.ts","sourceRoot":"","sources":["../src/useStoreDebug.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAI7C,eAAO,MAAM,mBAAmB,UAO/B,CAAA;AAED,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,GAAG,QAiBpD;AAED,eAAO,MAAM,WAAW,cAAe,GAAG,QAAQ,IAAI,CAAC,SAAS,EAAE,eAAe,CAAC,wBAGjF,CAAA;AAED,eAAO,MAAM,eAAe,oBAA2B,CAAA;AACvD,eAAO,MAAM,WAAW,UAAiB,CAAA"}