one 1.1.363 → 1.1.365

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,6 +1,6 @@
1
1
  {
2
2
  "name": "one",
3
- "version": "1.1.363",
3
+ "version": "1.1.365",
4
4
  "source": "src/index.ts",
5
5
  "types": "./types/index.d.ts",
6
6
  "sideEffects": [
@@ -112,15 +112,15 @@
112
112
  "@react-navigation/routers": "~6.1.9",
113
113
  "@swc/core": "^1.7.14",
114
114
  "@ungap/structured-clone": "^1.2.0",
115
- "@vxrn/resolve": "1.1.363",
116
- "@vxrn/tslib-lite": "1.1.363",
117
- "@vxrn/universal-color-scheme": "1.1.363",
118
- "@vxrn/use-isomorphic-layout-effect": "1.1.363",
115
+ "@vxrn/resolve": "1.1.365",
116
+ "@vxrn/tslib-lite": "1.1.365",
117
+ "@vxrn/universal-color-scheme": "1.1.365",
118
+ "@vxrn/use-isomorphic-layout-effect": "1.1.365",
119
119
  "babel-dead-code-elimination": "^1.0.6",
120
120
  "babel-plugin-react-compiler": "^19.0.0-beta-201e55d-20241215",
121
121
  "citty": "^0.1.6",
122
122
  "core-js": "^3.38.1",
123
- "create-vxrn": "1.1.363",
123
+ "create-vxrn": "1.1.365",
124
124
  "escape-string-regexp": "^5.0.0",
125
125
  "expo-linking": "~6.3.1",
126
126
  "expo-modules-core": "^1.12.24",
@@ -136,7 +136,7 @@
136
136
  "react": "^18",
137
137
  "react-dom": "^18",
138
138
  "react-native-gesture-handler": "^2.18.1",
139
- "react-native-reanimated": "^3",
139
+ "react-native-reanimated": "~3.10.1",
140
140
  "react-native-safe-area-context": "4.10.5",
141
141
  "react-native-screens": "3.31.1",
142
142
  "react-scan": "^0.0.48",
@@ -144,7 +144,7 @@
144
144
  "url-parse": "^1.5.10",
145
145
  "vite": "^6.0.3",
146
146
  "vite-tsconfig-paths": "^5.0.1",
147
- "vxrn": "1.1.363",
147
+ "vxrn": "1.1.365",
148
148
  "ws": "^8.18.0",
149
149
  "xxhashjs": "^0.2.2"
150
150
  },
@@ -160,7 +160,7 @@
160
160
  "depcheck": "^1.4.7",
161
161
  "get-port": "^7.1.0",
162
162
  "react-native": "0.74.5",
163
- "rollup": "4.28.1",
163
+ "rollup": "^4",
164
164
  "vitest": "^2.1.8"
165
165
  },
166
166
  "publishConfig": {
@@ -1,5 +1,106 @@
1
+ import { type DrawerNavigationEventMap, type DrawerNavigationOptions } from '@react-navigation/drawer';
1
2
  import type { DrawerNavigationState, ParamListBase } from '@react-navigation/native';
2
- export declare const Drawer: import("react").ForwardRefExoticComponent<Omit<import("../types").PickPartial<any, "children">, "ref"> & import("react").RefAttributes<unknown>> & {
3
+ export declare const Drawer: import("react").ForwardRefExoticComponent<Omit<Omit<import("@react-navigation/routers").DefaultRouterOptions<string> & {
4
+ id?: string;
5
+ children: React.ReactNode;
6
+ screenListeners?: Partial<{
7
+ drawerItemPress: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "drawerItemPress">;
8
+ focus: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "focus">;
9
+ blur: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "blur">;
10
+ state: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "state">;
11
+ beforeRemove: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "beforeRemove">;
12
+ }> | ((props: {
13
+ route: import("@react-navigation/core").RouteProp<ParamListBase, string>;
14
+ navigation: any;
15
+ }) => Partial<{
16
+ drawerItemPress: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "drawerItemPress">;
17
+ focus: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "focus">;
18
+ blur: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "blur">;
19
+ state: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "state">;
20
+ beforeRemove: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "beforeRemove">;
21
+ }>) | undefined;
22
+ screenOptions?: DrawerNavigationOptions | ((props: {
23
+ route: import("@react-navigation/core").RouteProp<ParamListBase, string>;
24
+ navigation: any;
25
+ }) => DrawerNavigationOptions) | undefined;
26
+ } & import("@react-navigation/routers").DefaultRouterOptions & {
27
+ backBehavior?: import("@react-navigation/routers/lib/typescript/src/TabRouter").BackBehavior;
28
+ } & {
29
+ defaultStatus?: import("@react-navigation/routers").DrawerStatus;
30
+ } & import("@react-navigation/drawer/lib/typescript/src/types").DrawerNavigationConfig, "initialRouteName" | "children" | "id" | "screenListeners" | "screenOptions"> & import("@react-navigation/routers").DefaultRouterOptions<string> & {
31
+ id?: string;
32
+ children: React.ReactNode;
33
+ screenListeners?: Partial<{
34
+ drawerItemPress: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "drawerItemPress">;
35
+ focus: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "focus">;
36
+ blur: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "blur">;
37
+ state: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "state">;
38
+ beforeRemove: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "beforeRemove">;
39
+ }> | ((props: {
40
+ route: import("@react-navigation/core").RouteProp<ParamListBase, string>;
41
+ navigation: any;
42
+ }) => Partial<{
43
+ drawerItemPress: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "drawerItemPress">;
44
+ focus: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "focus">;
45
+ blur: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "blur">;
46
+ state: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "state">;
47
+ beforeRemove: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "beforeRemove">;
48
+ }>) | undefined;
49
+ screenOptions?: DrawerNavigationOptions | ((props: {
50
+ route: import("@react-navigation/core").RouteProp<ParamListBase, string>;
51
+ navigation: any;
52
+ }) => DrawerNavigationOptions) | undefined;
53
+ }, "children"> & Partial<Pick<Omit<import("@react-navigation/routers").DefaultRouterOptions<string> & {
54
+ id?: string;
55
+ children: React.ReactNode;
56
+ screenListeners?: Partial<{
57
+ drawerItemPress: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "drawerItemPress">;
58
+ focus: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "focus">;
59
+ blur: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "blur">;
60
+ state: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "state">;
61
+ beforeRemove: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "beforeRemove">;
62
+ }> | ((props: {
63
+ route: import("@react-navigation/core").RouteProp<ParamListBase, string>;
64
+ navigation: any;
65
+ }) => Partial<{
66
+ drawerItemPress: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "drawerItemPress">;
67
+ focus: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "focus">;
68
+ blur: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "blur">;
69
+ state: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "state">;
70
+ beforeRemove: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "beforeRemove">;
71
+ }>) | undefined;
72
+ screenOptions?: DrawerNavigationOptions | ((props: {
73
+ route: import("@react-navigation/core").RouteProp<ParamListBase, string>;
74
+ navigation: any;
75
+ }) => DrawerNavigationOptions) | undefined;
76
+ } & import("@react-navigation/routers").DefaultRouterOptions & {
77
+ backBehavior?: import("@react-navigation/routers/lib/typescript/src/TabRouter").BackBehavior;
78
+ } & {
79
+ defaultStatus?: import("@react-navigation/routers").DrawerStatus;
80
+ } & import("@react-navigation/drawer/lib/typescript/src/types").DrawerNavigationConfig, "initialRouteName" | "children" | "id" | "screenListeners" | "screenOptions"> & import("@react-navigation/routers").DefaultRouterOptions<string> & {
81
+ id?: string;
82
+ children: React.ReactNode;
83
+ screenListeners?: Partial<{
84
+ drawerItemPress: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "drawerItemPress">;
85
+ focus: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "focus">;
86
+ blur: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "blur">;
87
+ state: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "state">;
88
+ beforeRemove: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "beforeRemove">;
89
+ }> | ((props: {
90
+ route: import("@react-navigation/core").RouteProp<ParamListBase, string>;
91
+ navigation: any;
92
+ }) => Partial<{
93
+ drawerItemPress: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "drawerItemPress">;
94
+ focus: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "focus">;
95
+ blur: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "blur">;
96
+ state: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "state">;
97
+ beforeRemove: import("@react-navigation/core").EventListenerCallback<DrawerNavigationEventMap & import("@react-navigation/core").EventMapCore<DrawerNavigationState<ParamListBase>>, "beforeRemove">;
98
+ }>) | undefined;
99
+ screenOptions?: DrawerNavigationOptions | ((props: {
100
+ route: import("@react-navigation/core").RouteProp<ParamListBase, string>;
101
+ navigation: any;
102
+ }) => DrawerNavigationOptions) | undefined;
103
+ }, "children">> & import("react").RefAttributes<unknown>> & {
3
104
  Screen: (props: import("../useScreens").ScreenProps<DrawerNavigationOptions, DrawerNavigationState<ParamListBase>, DrawerNavigationEventMap>) => null;
4
105
  };
5
106
  export default Drawer;
@@ -1 +1 @@
1
- {"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../src/layouts/Drawer.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAMpF,eAAO,MAAM,MAAM;;CAKD,CAAA;AAElB,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../src/layouts/Drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAE7B,MAAM,0BAA0B,CAAA;AACjC,OAAO,KAAK,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAMpF,eAAO,MAAM,MAAM;;cAQoT,MAAO,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAAT,SAAS;;;;;;;;;;;;;;;;;;;;;;;oBAAT,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAAT,SAAS;;;;;;;;;;;;;;;;;;;;;;;CAHrU,CAAA;AAElB,eAAe,MAAM,CAAA"}