@tamagui/sheet 2.7.7 → 3.0.0-beta.643.1
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/dist/cjs/GestureDetectorWrapper.cjs +32 -41
- package/dist/cjs/GestureDetectorWrapper.native.cjs +48 -0
- package/dist/cjs/GestureDetectorWrapper.native.js +32 -40
- package/dist/cjs/GestureDetectorWrapper.native.js.map +1 -1
- package/dist/cjs/GestureSheetContext.cjs +29 -37
- package/dist/cjs/GestureSheetContext.native.cjs +49 -0
- package/dist/cjs/GestureSheetContext.native.js +30 -37
- package/dist/cjs/GestureSheetContext.native.js.map +1 -1
- package/dist/cjs/Sheet.cjs +206 -99
- package/dist/cjs/Sheet.native.cjs +234 -0
- package/dist/cjs/Sheet.native.js +212 -98
- package/dist/cjs/Sheet.native.js.map +1 -1
- package/dist/cjs/SheetContext.cjs +44 -22
- package/dist/cjs/SheetContext.native.cjs +58 -0
- package/dist/cjs/SheetContext.native.js +45 -22
- package/dist/cjs/SheetContext.native.js.map +1 -1
- package/dist/cjs/SheetController.cjs +50 -56
- package/dist/cjs/SheetController.native.cjs +72 -0
- package/dist/cjs/SheetController.native.js +53 -58
- package/dist/cjs/SheetController.native.js.map +1 -1
- package/dist/cjs/SheetImplementationCustom.cjs +674 -605
- package/dist/cjs/SheetImplementationCustom.native.cjs +762 -0
- package/dist/cjs/SheetImplementationCustom.native.js +713 -644
- package/dist/cjs/SheetImplementationCustom.native.js.map +1 -1
- package/dist/cjs/SheetScrollView.cjs +291 -312
- package/dist/cjs/SheetScrollView.native.cjs +326 -0
- package/dist/cjs/SheetScrollView.native.js +299 -319
- package/dist/cjs/SheetScrollView.native.js.map +1 -1
- package/dist/cjs/constants.cjs +22 -21
- package/dist/cjs/constants.native.cjs +37 -0
- package/dist/cjs/constants.native.js +22 -20
- package/dist/cjs/constants.native.js.map +1 -1
- package/dist/cjs/contexts.cjs +20 -28
- package/dist/cjs/contexts.native.cjs +38 -0
- package/dist/cjs/contexts.native.js +20 -27
- package/dist/cjs/contexts.native.js.map +1 -1
- package/dist/cjs/controller.cjs +17 -18
- package/dist/cjs/controller.native.cjs +32 -0
- package/dist/cjs/controller.native.js +17 -17
- package/dist/cjs/controller.native.js.map +1 -1
- package/dist/cjs/gestureState.cjs +29 -30
- package/dist/cjs/gestureState.native.cjs +54 -0
- package/dist/cjs/gestureState.native.js +30 -30
- package/dist/cjs/gestureState.native.js.map +1 -1
- package/dist/cjs/helpers.cjs +21 -24
- package/dist/cjs/helpers.native.cjs +35 -0
- package/dist/cjs/helpers.native.js +22 -24
- package/dist/cjs/helpers.native.js.map +1 -1
- package/dist/cjs/index.cjs +15 -21
- package/dist/cjs/index.native.cjs +37 -0
- package/dist/cjs/index.native.js +16 -21
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/keyboardAvoidance.cjs +56 -79
- package/dist/cjs/keyboardAvoidance.native.cjs +75 -0
- package/dist/cjs/keyboardAvoidance.native.js +56 -78
- package/dist/cjs/keyboardAvoidance.native.js.map +1 -1
- package/dist/cjs/nativeSheet.cjs +64 -76
- package/dist/cjs/nativeSheet.native.cjs +94 -0
- package/dist/cjs/nativeSheet.native.js +70 -83
- package/dist/cjs/nativeSheet.native.js.map +1 -1
- package/dist/cjs/types.cjs +10 -11
- package/dist/cjs/types.native.cjs +19 -0
- package/dist/cjs/types.native.js +10 -10
- package/dist/cjs/types.native.js.map +1 -1
- package/dist/cjs/useGestureHandlerPan.cjs +245 -257
- package/dist/cjs/useGestureHandlerPan.native.cjs +273 -0
- package/dist/cjs/useGestureHandlerPan.native.js +254 -265
- package/dist/cjs/useGestureHandlerPan.native.js.map +1 -1
- package/dist/cjs/useKeyboardControllerSheet.cjs +83 -88
- package/dist/cjs/useKeyboardControllerSheet.native.cjs +119 -0
- package/dist/cjs/useKeyboardControllerSheet.native.js +100 -111
- package/dist/cjs/useKeyboardControllerSheet.native.js.map +1 -1
- package/dist/cjs/useSafeAreaInsets.cjs +20 -26
- package/dist/cjs/useSafeAreaInsets.native.cjs +51 -0
- package/dist/cjs/useSafeAreaInsets.native.js +30 -25
- package/dist/cjs/useSafeAreaInsets.native.js.map +1 -1
- package/dist/cjs/useSheetController.cjs +27 -39
- package/dist/cjs/useSheetController.native.cjs +42 -0
- package/dist/cjs/useSheetController.native.js +28 -39
- package/dist/cjs/useSheetController.native.js.map +1 -1
- package/dist/cjs/useSheetOffscreenSize.cjs +44 -53
- package/dist/cjs/useSheetOffscreenSize.native.cjs +60 -0
- package/dist/cjs/useSheetOffscreenSize.native.js +48 -56
- package/dist/cjs/useSheetOffscreenSize.native.js.map +1 -1
- package/dist/cjs/useSheetOpenState.cjs +69 -40
- package/dist/cjs/useSheetOpenState.native.cjs +88 -0
- package/dist/cjs/useSheetOpenState.native.js +74 -42
- package/dist/cjs/useSheetOpenState.native.js.map +1 -1
- package/dist/cjs/useSheetProviderProps.cjs +146 -164
- package/dist/cjs/useSheetProviderProps.native.cjs +176 -0
- package/dist/cjs/useSheetProviderProps.native.js +156 -174
- package/dist/cjs/useSheetProviderProps.native.js.map +1 -1
- package/dist/cjs/useSheetScrollViewGestures.cjs +172 -180
- package/dist/cjs/useSheetScrollViewGestures.native.cjs +150 -0
- package/dist/cjs/useSheetScrollViewGestures.native.js +136 -147
- package/dist/cjs/useSheetScrollViewGestures.native.js.map +1 -1
- package/dist/cjs/webViewport.cjs +47 -48
- package/dist/cjs/webViewport.native.cjs +79 -0
- package/dist/cjs/webViewport.native.js +50 -50
- package/dist/cjs/webViewport.native.js.map +1 -1
- package/dist/esm/GestureDetectorWrapper.mjs +19 -23
- package/dist/esm/GestureDetectorWrapper.mjs.map +1 -1
- package/dist/esm/GestureDetectorWrapper.native.js +20 -24
- package/dist/esm/GestureDetectorWrapper.native.js.map +1 -1
- package/dist/esm/GestureSheetContext.mjs +15 -20
- package/dist/esm/GestureSheetContext.mjs.map +1 -1
- package/dist/esm/GestureSheetContext.native.js +17 -22
- package/dist/esm/GestureSheetContext.native.js.map +1 -1
- package/dist/esm/Sheet.mjs +191 -83
- package/dist/esm/Sheet.mjs.map +1 -1
- package/dist/esm/Sheet.native.js +198 -83
- package/dist/esm/Sheet.native.js.map +1 -1
- package/dist/esm/SheetContext.mjs +21 -5
- package/dist/esm/SheetContext.mjs.map +1 -1
- package/dist/esm/SheetContext.native.js +21 -5
- package/dist/esm/SheetContext.native.js.map +1 -1
- package/dist/esm/SheetController.mjs +34 -30
- package/dist/esm/SheetController.mjs.map +1 -1
- package/dist/esm/SheetController.native.js +38 -34
- package/dist/esm/SheetController.native.js.map +1 -1
- package/dist/esm/SheetImplementationCustom.mjs +655 -580
- package/dist/esm/SheetImplementationCustom.mjs.map +1 -1
- package/dist/esm/SheetImplementationCustom.native.js +691 -612
- package/dist/esm/SheetImplementationCustom.native.js.map +1 -1
- package/dist/esm/SheetScrollView.mjs +277 -288
- package/dist/esm/SheetScrollView.mjs.map +1 -1
- package/dist/esm/SheetScrollView.native.js +286 -297
- package/dist/esm/SheetScrollView.native.js.map +1 -1
- package/dist/esm/constants.mjs +5 -3
- package/dist/esm/constants.mjs.map +1 -1
- package/dist/esm/constants.native.js +5 -3
- package/dist/esm/constants.native.js.map +1 -1
- package/dist/esm/contexts.mjs +3 -3
- package/dist/esm/contexts.mjs.map +1 -1
- package/dist/esm/contexts.native.js +3 -3
- package/dist/esm/contexts.native.js.map +1 -1
- package/dist/esm/controller.mjs +2 -2
- package/dist/esm/controller.native.js +2 -2
- package/dist/esm/gestureState.mjs +13 -11
- package/dist/esm/gestureState.mjs.map +1 -1
- package/dist/esm/gestureState.native.js +14 -12
- package/dist/esm/gestureState.native.js.map +1 -1
- package/dist/esm/helpers.mjs +7 -6
- package/dist/esm/helpers.mjs.map +1 -1
- package/dist/esm/helpers.native.js +8 -7
- package/dist/esm/helpers.native.js.map +1 -1
- package/dist/esm/index.js +21 -14
- package/dist/esm/index.mjs +21 -14
- package/dist/esm/index.native.js +21 -14
- package/dist/esm/keyboardAvoidance.mjs +40 -61
- package/dist/esm/keyboardAvoidance.mjs.map +1 -1
- package/dist/esm/keyboardAvoidance.native.js +40 -61
- package/dist/esm/keyboardAvoidance.native.js.map +1 -1
- package/dist/esm/nativeSheet.mjs +52 -61
- package/dist/esm/nativeSheet.mjs.map +1 -1
- package/dist/esm/nativeSheet.native.js +58 -69
- package/dist/esm/nativeSheet.native.js.map +1 -1
- package/dist/esm/types.mjs +0 -2
- package/dist/esm/types.native.js +0 -2
- package/dist/esm/useGestureHandlerPan.mjs +232 -239
- package/dist/esm/useGestureHandlerPan.mjs.map +1 -1
- package/dist/esm/useGestureHandlerPan.native.js +241 -248
- package/dist/esm/useGestureHandlerPan.native.js.map +1 -1
- package/dist/esm/useKeyboardControllerSheet.mjs +71 -71
- package/dist/esm/useKeyboardControllerSheet.mjs.map +1 -1
- package/dist/esm/useKeyboardControllerSheet.native.js +92 -94
- package/dist/esm/useKeyboardControllerSheet.native.js.map +1 -1
- package/dist/esm/useSafeAreaInsets.mjs +3 -1
- package/dist/esm/useSafeAreaInsets.mjs.map +1 -1
- package/dist/esm/useSafeAreaInsets.native.js +15 -3
- package/dist/esm/useSafeAreaInsets.native.js.map +1 -1
- package/dist/esm/useSheetController.mjs +14 -12
- package/dist/esm/useSheetController.mjs.map +1 -1
- package/dist/esm/useSheetController.native.js +14 -12
- package/dist/esm/useSheetController.native.js.map +1 -1
- package/dist/esm/useSheetOffscreenSize.mjs +30 -35
- package/dist/esm/useSheetOffscreenSize.mjs.map +1 -1
- package/dist/esm/useSheetOffscreenSize.native.js +34 -39
- package/dist/esm/useSheetOffscreenSize.native.js.map +1 -1
- package/dist/esm/useSheetOpenState.mjs +50 -22
- package/dist/esm/useSheetOpenState.mjs.map +1 -1
- package/dist/esm/useSheetOpenState.native.js +55 -25
- package/dist/esm/useSheetOpenState.native.js.map +1 -1
- package/dist/esm/useSheetProviderProps.mjs +130 -138
- package/dist/esm/useSheetProviderProps.mjs.map +1 -1
- package/dist/esm/useSheetProviderProps.native.js +140 -149
- package/dist/esm/useSheetProviderProps.native.js.map +1 -1
- package/dist/esm/useSheetScrollViewGestures.mjs +159 -162
- package/dist/esm/useSheetScrollViewGestures.mjs.map +1 -1
- package/dist/esm/useSheetScrollViewGestures.native.js +123 -130
- package/dist/esm/useSheetScrollViewGestures.native.js.map +1 -1
- package/dist/esm/webViewport.mjs +26 -25
- package/dist/esm/webViewport.mjs.map +1 -1
- package/dist/esm/webViewport.native.js +29 -28
- package/dist/esm/webViewport.native.js.map +1 -1
- package/dist/jsx/GestureDetectorWrapper.mjs +19 -23
- package/dist/jsx/GestureDetectorWrapper.mjs.map +1 -1
- package/dist/jsx/GestureDetectorWrapper.native.cjs +48 -0
- package/dist/jsx/GestureDetectorWrapper.native.js +32 -40
- package/dist/jsx/GestureDetectorWrapper.native.js.map +1 -1
- package/dist/jsx/GestureSheetContext.mjs +15 -20
- package/dist/jsx/GestureSheetContext.mjs.map +1 -1
- package/dist/jsx/GestureSheetContext.native.cjs +49 -0
- package/dist/jsx/GestureSheetContext.native.js +30 -37
- package/dist/jsx/GestureSheetContext.native.js.map +1 -1
- package/dist/jsx/Sheet.mjs +191 -83
- package/dist/jsx/Sheet.mjs.map +1 -1
- package/dist/jsx/Sheet.native.cjs +234 -0
- package/dist/jsx/Sheet.native.js +212 -98
- package/dist/jsx/Sheet.native.js.map +1 -1
- package/dist/jsx/SheetContext.mjs +21 -5
- package/dist/jsx/SheetContext.mjs.map +1 -1
- package/dist/jsx/SheetContext.native.cjs +58 -0
- package/dist/jsx/SheetContext.native.js +45 -22
- package/dist/jsx/SheetContext.native.js.map +1 -1
- package/dist/jsx/SheetController.mjs +34 -30
- package/dist/jsx/SheetController.mjs.map +1 -1
- package/dist/jsx/SheetController.native.cjs +72 -0
- package/dist/jsx/SheetController.native.js +53 -58
- package/dist/jsx/SheetController.native.js.map +1 -1
- package/dist/jsx/SheetImplementationCustom.mjs +655 -580
- package/dist/jsx/SheetImplementationCustom.mjs.map +1 -1
- package/dist/jsx/SheetImplementationCustom.native.cjs +762 -0
- package/dist/jsx/SheetImplementationCustom.native.js +713 -644
- package/dist/jsx/SheetImplementationCustom.native.js.map +1 -1
- package/dist/jsx/SheetScrollView.mjs +277 -288
- package/dist/jsx/SheetScrollView.mjs.map +1 -1
- package/dist/jsx/SheetScrollView.native.cjs +326 -0
- package/dist/jsx/SheetScrollView.native.js +299 -319
- package/dist/jsx/SheetScrollView.native.js.map +1 -1
- package/dist/jsx/constants.mjs +5 -3
- package/dist/jsx/constants.mjs.map +1 -1
- package/dist/jsx/constants.native.cjs +37 -0
- package/dist/jsx/constants.native.js +22 -20
- package/dist/jsx/constants.native.js.map +1 -1
- package/dist/jsx/contexts.mjs +3 -3
- package/dist/jsx/contexts.mjs.map +1 -1
- package/dist/jsx/contexts.native.cjs +38 -0
- package/dist/jsx/contexts.native.js +20 -27
- package/dist/jsx/contexts.native.js.map +1 -1
- package/dist/jsx/controller.mjs +2 -2
- package/dist/jsx/controller.native.cjs +32 -0
- package/dist/jsx/controller.native.js +17 -17
- package/dist/jsx/controller.native.js.map +1 -1
- package/dist/jsx/gestureState.mjs +13 -11
- package/dist/jsx/gestureState.mjs.map +1 -1
- package/dist/jsx/gestureState.native.cjs +54 -0
- package/dist/jsx/gestureState.native.js +30 -30
- package/dist/jsx/gestureState.native.js.map +1 -1
- package/dist/jsx/helpers.mjs +7 -6
- package/dist/jsx/helpers.mjs.map +1 -1
- package/dist/jsx/helpers.native.cjs +35 -0
- package/dist/jsx/helpers.native.js +22 -24
- package/dist/jsx/helpers.native.js.map +1 -1
- package/dist/jsx/index.js +21 -14
- package/dist/jsx/index.mjs +21 -14
- package/dist/jsx/index.native.cjs +37 -0
- package/dist/jsx/index.native.js +16 -21
- package/dist/jsx/index.native.js.map +1 -1
- package/dist/jsx/keyboardAvoidance.mjs +40 -61
- package/dist/jsx/keyboardAvoidance.mjs.map +1 -1
- package/dist/jsx/keyboardAvoidance.native.cjs +75 -0
- package/dist/jsx/keyboardAvoidance.native.js +56 -78
- package/dist/jsx/keyboardAvoidance.native.js.map +1 -1
- package/dist/jsx/nativeSheet.mjs +52 -61
- package/dist/jsx/nativeSheet.mjs.map +1 -1
- package/dist/jsx/nativeSheet.native.cjs +94 -0
- package/dist/jsx/nativeSheet.native.js +70 -83
- package/dist/jsx/nativeSheet.native.js.map +1 -1
- package/dist/jsx/types.mjs +0 -2
- package/dist/jsx/types.native.cjs +19 -0
- package/dist/jsx/types.native.js +10 -10
- package/dist/jsx/types.native.js.map +1 -1
- package/dist/jsx/useGestureHandlerPan.mjs +232 -239
- package/dist/jsx/useGestureHandlerPan.mjs.map +1 -1
- package/dist/jsx/useGestureHandlerPan.native.cjs +273 -0
- package/dist/jsx/useGestureHandlerPan.native.js +254 -265
- package/dist/jsx/useGestureHandlerPan.native.js.map +1 -1
- package/dist/jsx/useKeyboardControllerSheet.mjs +71 -71
- package/dist/jsx/useKeyboardControllerSheet.mjs.map +1 -1
- package/dist/jsx/useKeyboardControllerSheet.native.cjs +119 -0
- package/dist/jsx/useKeyboardControllerSheet.native.js +100 -111
- package/dist/jsx/useKeyboardControllerSheet.native.js.map +1 -1
- package/dist/jsx/useSafeAreaInsets.mjs +3 -1
- package/dist/jsx/useSafeAreaInsets.mjs.map +1 -1
- package/dist/jsx/useSafeAreaInsets.native.cjs +51 -0
- package/dist/jsx/useSafeAreaInsets.native.js +30 -25
- package/dist/jsx/useSafeAreaInsets.native.js.map +1 -1
- package/dist/jsx/useSheetController.mjs +14 -12
- package/dist/jsx/useSheetController.mjs.map +1 -1
- package/dist/jsx/useSheetController.native.cjs +42 -0
- package/dist/jsx/useSheetController.native.js +28 -39
- package/dist/jsx/useSheetController.native.js.map +1 -1
- package/dist/jsx/useSheetOffscreenSize.mjs +30 -35
- package/dist/jsx/useSheetOffscreenSize.mjs.map +1 -1
- package/dist/jsx/useSheetOffscreenSize.native.cjs +60 -0
- package/dist/jsx/useSheetOffscreenSize.native.js +48 -56
- package/dist/jsx/useSheetOffscreenSize.native.js.map +1 -1
- package/dist/jsx/useSheetOpenState.mjs +50 -22
- package/dist/jsx/useSheetOpenState.mjs.map +1 -1
- package/dist/jsx/useSheetOpenState.native.cjs +88 -0
- package/dist/jsx/useSheetOpenState.native.js +74 -42
- package/dist/jsx/useSheetOpenState.native.js.map +1 -1
- package/dist/jsx/useSheetProviderProps.mjs +130 -138
- package/dist/jsx/useSheetProviderProps.mjs.map +1 -1
- package/dist/jsx/useSheetProviderProps.native.cjs +176 -0
- package/dist/jsx/useSheetProviderProps.native.js +156 -174
- package/dist/jsx/useSheetProviderProps.native.js.map +1 -1
- package/dist/jsx/useSheetScrollViewGestures.mjs +159 -162
- package/dist/jsx/useSheetScrollViewGestures.mjs.map +1 -1
- package/dist/jsx/useSheetScrollViewGestures.native.cjs +150 -0
- package/dist/jsx/useSheetScrollViewGestures.native.js +136 -147
- package/dist/jsx/useSheetScrollViewGestures.native.js.map +1 -1
- package/dist/jsx/webViewport.mjs +26 -25
- package/dist/jsx/webViewport.mjs.map +1 -1
- package/dist/jsx/webViewport.native.cjs +79 -0
- package/dist/jsx/webViewport.native.js +50 -50
- package/dist/jsx/webViewport.native.js.map +1 -1
- package/package.json +33 -39
- package/src/Sheet.tsx +316 -77
- package/src/SheetContext.tsx +57 -7
- package/src/SheetController.tsx +7 -6
- package/src/SheetImplementationCustom.tsx +343 -140
- package/src/SheetScrollView.tsx +24 -13
- package/src/constants.tsx +3 -3
- package/src/helpers.tsx +0 -14
- package/src/index.ts +3 -6
- package/src/nativeSheet.tsx +5 -15
- package/src/types.tsx +104 -92
- package/src/useKeyboardControllerSheet.native.ts +7 -2
- package/src/useSafeAreaInsets.native.ts +20 -13
- package/src/useSheetController.tsx +15 -7
- package/src/useSheetOpenState.tsx +50 -4
- package/src/useSheetProviderProps.tsx +4 -27
- package/src/useSheetScrollViewGestures.ts +2 -2
- package/types/GestureDetectorWrapper.d.ts +1 -1
- package/types/GestureDetectorWrapper.d.ts.map +1 -1
- package/types/GestureSheetContext.d.ts +1 -1
- package/types/GestureSheetContext.d.ts.map +1 -1
- package/types/Sheet.d.ts +384 -135
- package/types/Sheet.d.ts.map +1 -1
- package/types/SheetContext.d.ts +28 -42
- package/types/SheetContext.d.ts.map +1 -1
- package/types/SheetController.d.ts +4 -2
- package/types/SheetController.d.ts.map +1 -1
- package/types/SheetImplementationCustom.d.ts +3 -35
- package/types/SheetImplementationCustom.d.ts.map +1 -1
- package/types/SheetScrollView.d.ts +57 -23
- package/types/SheetScrollView.d.ts.map +1 -1
- package/types/constants.d.ts +3 -2
- package/types/constants.d.ts.map +1 -1
- package/types/index.d.ts +1 -3
- package/types/index.d.ts.map +1 -1
- package/types/nativeSheet.d.ts.map +1 -1
- package/types/types.d.ts +28 -17
- package/types/types.d.ts.map +1 -1
- package/types/useKeyboardControllerSheet.native.d.ts.map +1 -1
- package/types/useSafeAreaInsets.native.d.ts +4 -12
- package/types/useSafeAreaInsets.native.d.ts.map +1 -1
- package/types/useSheetController.d.ts +6 -6
- package/types/useSheetController.d.ts.map +1 -1
- package/types/useSheetOffscreenSize.d.ts.map +1 -1
- package/types/useSheetOpenState.d.ts +3 -2
- package/types/useSheetOpenState.d.ts.map +1 -1
- package/types/useSheetProviderProps.d.ts +5 -8
- package/types/useSheetProviderProps.d.ts.map +1 -1
- package/types/useSheetScrollViewGestures.d.ts +2 -2
- package/types/useSheetScrollViewGestures.d.ts.map +1 -1
- package/.turbo/turbo-build.log +0 -2
- package/controller/index.cjs +0 -2
- package/controller/index.d.ts +0 -5
- package/controller/index.js +0 -2
- package/controller/index.native.cjs +0 -2
- package/controller/index.native.js +0 -2
- package/dist/cjs/createSheet.cjs +0 -194
- package/dist/cjs/createSheet.native.js +0 -204
- package/dist/cjs/createSheet.native.js.map +0 -1
- package/dist/cjs/setupGestureHandler.cjs +0 -55
- package/dist/cjs/setupGestureHandler.native.js +0 -60
- package/dist/cjs/setupGestureHandler.native.js.map +0 -1
- package/dist/cjs/useSheet.cjs +0 -29
- package/dist/cjs/useSheet.native.js +0 -34
- package/dist/cjs/useSheet.native.js.map +0 -1
- package/dist/esm/controller.mjs.map +0 -1
- package/dist/esm/controller.native.js.map +0 -1
- package/dist/esm/createSheet.mjs +0 -168
- package/dist/esm/createSheet.mjs.map +0 -1
- package/dist/esm/createSheet.native.js +0 -176
- package/dist/esm/createSheet.native.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/index.mjs.map +0 -1
- package/dist/esm/index.native.js.map +0 -1
- package/dist/esm/setupGestureHandler.mjs +0 -29
- package/dist/esm/setupGestureHandler.mjs.map +0 -1
- package/dist/esm/setupGestureHandler.native.js +0 -31
- package/dist/esm/setupGestureHandler.native.js.map +0 -1
- package/dist/esm/types.mjs.map +0 -1
- package/dist/esm/types.native.js.map +0 -1
- package/dist/esm/useSheet.mjs +0 -4
- package/dist/esm/useSheet.mjs.map +0 -1
- package/dist/esm/useSheet.native.js +0 -6
- package/dist/esm/useSheet.native.js.map +0 -1
- package/dist/jsx/controller.mjs.map +0 -1
- package/dist/jsx/createSheet.mjs +0 -168
- package/dist/jsx/createSheet.mjs.map +0 -1
- package/dist/jsx/createSheet.native.js +0 -204
- package/dist/jsx/createSheet.native.js.map +0 -1
- package/dist/jsx/index.js.map +0 -1
- package/dist/jsx/index.mjs.map +0 -1
- package/dist/jsx/setupGestureHandler.mjs +0 -29
- package/dist/jsx/setupGestureHandler.mjs.map +0 -1
- package/dist/jsx/setupGestureHandler.native.js +0 -60
- package/dist/jsx/setupGestureHandler.native.js.map +0 -1
- package/dist/jsx/types.mjs.map +0 -1
- package/dist/jsx/useSheet.mjs +0 -4
- package/dist/jsx/useSheet.mjs.map +0 -1
- package/dist/jsx/useSheet.native.js +0 -34
- package/dist/jsx/useSheet.native.js.map +0 -1
- package/next.md +0 -78
- package/setup-gesture-handler/index.cjs +0 -2
- package/setup-gesture-handler/index.js +0 -2
- package/setup-gesture-handler/index.native.cjs +0 -2
- package/setup-gesture-handler/index.native.js +0 -2
- package/setup-gesture-handler.cjs +0 -1
- package/src/createSheet.tsx +0 -309
- package/src/setupGestureHandler.ts +0 -43
- package/src/useSheet.tsx +0 -3
- package/test/keyboardAvoidance.test.ts +0 -269
- package/tsconfig.json +0 -57
- package/types/createSheet.d.ts +0 -195
- package/types/createSheet.d.ts.map +0 -1
- package/types/setupGestureHandler.d.ts +0 -11
- package/types/setupGestureHandler.d.ts.map +0 -1
- package/types/useSheet.d.ts +0 -2
- package/types/useSheet.d.ts.map +0 -1
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
|
|
3
4
|
var __defProp = Object.defineProperty;
|
|
4
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
8
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
for (var name in all) __defProp(target, name, {
|
|
10
|
+
get: all[name],
|
|
11
|
+
enumerable: true
|
|
12
|
+
});
|
|
12
13
|
};
|
|
13
14
|
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
21
22
|
};
|
|
22
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
-
value: true
|
|
24
|
-
}), mod);
|
|
23
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
25
24
|
var gestureState_exports = {};
|
|
26
25
|
__export(gestureState_exports, {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
getGestureHandlerState: () => getGestureHandlerState,
|
|
27
|
+
isGestureHandlerEnabled: () => isGestureHandlerEnabled,
|
|
28
|
+
setGestureHandlerState: () => setGestureHandlerState,
|
|
29
|
+
setGestureState: () => setGestureState
|
|
31
30
|
});
|
|
32
31
|
module.exports = __toCommonJS(gestureState_exports);
|
|
33
32
|
var import_native = require("@tamagui/native");
|
|
34
33
|
var SHEET_GESTURE_STATE_KEY = "__tamagui_sheet_gesture_state__";
|
|
35
34
|
function getSheetGestureHandlerState() {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
var g = globalThis;
|
|
36
|
+
var _g_SHEET_GESTURE_STATE_KEY;
|
|
37
|
+
return (_g_SHEET_GESTURE_STATE_KEY = g[SHEET_GESTURE_STATE_KEY]) !== null && _g_SHEET_GESTURE_STATE_KEY !== void 0 ? _g_SHEET_GESTURE_STATE_KEY : (0, import_native.getGestureHandler)().state;
|
|
39
38
|
}
|
|
40
39
|
function isGestureHandlerEnabled() {
|
|
41
|
-
|
|
40
|
+
return getSheetGestureHandlerState().enabled;
|
|
42
41
|
}
|
|
43
42
|
function getGestureHandlerState() {
|
|
44
|
-
|
|
43
|
+
return getSheetGestureHandlerState();
|
|
45
44
|
}
|
|
46
45
|
function setGestureHandlerState(updates) {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
46
|
+
var g = globalThis;
|
|
47
|
+
var sheetState = g[SHEET_GESTURE_STATE_KEY];
|
|
48
|
+
if (sheetState) {
|
|
49
|
+
Object.assign(sheetState, updates);
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
(0, import_native.getGestureHandler)().set(updates);
|
|
54
53
|
}
|
|
55
54
|
var setGestureState = setGestureHandlerState;
|
|
55
|
+
|
|
56
56
|
//# sourceMappingURL=gestureState.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"gestureState.native.js","names":[],"sources":["jsx/gestureState.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar gestureState_exports = {};\n__export(gestureState_exports, {\n getGestureHandlerState: () => getGestureHandlerState,\n isGestureHandlerEnabled: () => isGestureHandlerEnabled,\n setGestureHandlerState: () => setGestureHandlerState,\n setGestureState: () => setGestureState\n});\nmodule.exports = __toCommonJS(gestureState_exports);\nvar import_native = require(\"@tamagui/native\");\nvar SHEET_GESTURE_STATE_KEY = \"__tamagui_sheet_gesture_state__\";\nfunction getSheetGestureHandlerState() {\n var g = globalThis;\n var _g_SHEET_GESTURE_STATE_KEY;\n return (_g_SHEET_GESTURE_STATE_KEY = g[SHEET_GESTURE_STATE_KEY]) !== null && _g_SHEET_GESTURE_STATE_KEY !== void 0 ? _g_SHEET_GESTURE_STATE_KEY : (0, import_native.getGestureHandler)().state;\n}\nfunction isGestureHandlerEnabled() {\n return getSheetGestureHandlerState().enabled;\n}\nfunction getGestureHandlerState() {\n return getSheetGestureHandlerState();\n}\nfunction setGestureHandlerState(updates) {\n var g = globalThis;\n var sheetState = g[SHEET_GESTURE_STATE_KEY];\n if (sheetState) {\n Object.assign(sheetState, updates);\n return;\n }\n (0, import_native.getGestureHandler)().set(updates);\n}\nvar setGestureState = setGestureHandlerState;\n//# sourceMappingURL=gestureState.js.map\n"],"mappings":";;;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,uBAAuB,CAAC;AAC5B,SAAS,sBAAsB;CAC7B,8BAA8B;CAC9B,+BAA+B;CAC/B,8BAA8B;CAC9B,uBAAuB;AACzB,CAAC;AACD,OAAO,UAAU,aAAa,oBAAoB;AAClD,IAAI,gBAAgB,QAAQ,iBAAiB;AAC7C,IAAI,0BAA0B;AAC9B,SAAS,8BAA8B;CACrC,IAAI,IAAI;CACR,IAAI;CACJ,QAAQ,6BAA6B,EAAE,8BAA8B,QAAQ,+BAA+B,KAAK,IAAI,8BAA8B,GAAG,cAAc,mBAAmB,EAAE;AAC3L;AACA,SAAS,0BAA0B;CACjC,OAAO,4BAA4B,EAAE;AACvC;AACA,SAAS,yBAAyB;CAChC,OAAO,4BAA4B;AACrC;AACA,SAAS,uBAAuB,SAAS;CACvC,IAAI,IAAI;CACR,IAAI,aAAa,EAAE;CACnB,IAAI,YAAY;EACd,OAAO,OAAO,YAAY,OAAO;EACjC;CACF;CACA,CAAC,GAAG,cAAc,mBAAmB,EAAE,IAAI,OAAO;AACpD;AACA,IAAI,kBAAkB"}
|
package/dist/jsx/helpers.mjs
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
function resisted(y, minY, maxOverflow = 25) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
if (y >= minY) {
|
|
3
|
+
return y;
|
|
4
|
+
}
|
|
5
|
+
const pastBoundary = minY - y;
|
|
6
|
+
const resistedDistance = Math.sqrt(pastBoundary) * 2;
|
|
7
|
+
return minY - resistedDistance;
|
|
8
8
|
}
|
|
9
|
+
|
|
9
10
|
export { resisted };
|
|
10
11
|
//# sourceMappingURL=helpers.mjs.map
|
package/dist/jsx/helpers.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"helpers.js","names":[],"sources":["jsx/helpers.js"],"sourcesContent":["function resisted(y, minY, maxOverflow = 25) {\n if (y >= minY) {\n return y;\n }\n const pastBoundary = minY - y;\n const resistedDistance = Math.sqrt(pastBoundary) * 2;\n return minY - resistedDistance;\n}\nexport {\n resisted\n};\n//# sourceMappingURL=helpers.js.map\n"],"mappings":";AAAA,SAAS,SAAS,GAAG,MAAM,cAAc,IAAI;CAC3C,IAAI,KAAK,MAAM;EACb,OAAO;CACT;CACA,MAAM,eAAe,OAAO;CAC5B,MAAM,mBAAmB,KAAK,KAAK,YAAY,IAAI;CACnD,OAAO,OAAO;AAChB"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all) __defProp(target, name, {
|
|
10
|
+
get: all[name],
|
|
11
|
+
enumerable: true
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
var __copyProps = (to, from, except, desc) => {
|
|
15
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
22
|
+
};
|
|
23
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
24
|
+
var helpers_exports = {};
|
|
25
|
+
__export(helpers_exports, { resisted: () => resisted });
|
|
26
|
+
module.exports = __toCommonJS(helpers_exports);
|
|
27
|
+
function resisted(y, minY) {
|
|
28
|
+
var maxOverflow = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 25;
|
|
29
|
+
if (y >= minY) {
|
|
30
|
+
return y;
|
|
31
|
+
}
|
|
32
|
+
var pastBoundary = minY - y;
|
|
33
|
+
var resistedDistance = Math.sqrt(pastBoundary) * 2;
|
|
34
|
+
return minY - resistedDistance;
|
|
35
|
+
}
|
|
@@ -1,39 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
|
|
3
4
|
var __defProp = Object.defineProperty;
|
|
4
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
8
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
for (var name in all) __defProp(target, name, {
|
|
10
|
+
get: all[name],
|
|
11
|
+
enumerable: true
|
|
12
|
+
});
|
|
12
13
|
};
|
|
13
14
|
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
21
22
|
};
|
|
22
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
-
value: true
|
|
24
|
-
}), mod);
|
|
23
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
25
24
|
var helpers_exports = {};
|
|
26
|
-
__export(helpers_exports, {
|
|
27
|
-
resisted: () => resisted
|
|
28
|
-
});
|
|
25
|
+
__export(helpers_exports, { resisted: () => resisted });
|
|
29
26
|
module.exports = __toCommonJS(helpers_exports);
|
|
30
27
|
function resisted(y, minY) {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
28
|
+
var maxOverflow = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 25;
|
|
29
|
+
if (y >= minY) {
|
|
30
|
+
return y;
|
|
31
|
+
}
|
|
32
|
+
var pastBoundary = minY - y;
|
|
33
|
+
var resistedDistance = Math.sqrt(pastBoundary) * 2;
|
|
34
|
+
return minY - resistedDistance;
|
|
38
35
|
}
|
|
36
|
+
|
|
39
37
|
//# sourceMappingURL=helpers.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"helpers.native.js","names":[],"sources":["jsx/helpers.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar helpers_exports = {};\n__export(helpers_exports, {\n resisted: () => resisted\n});\nmodule.exports = __toCommonJS(helpers_exports);\nfunction resisted(y, minY) {\n var maxOverflow = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 25;\n if (y >= minY) {\n return y;\n }\n var pastBoundary = minY - y;\n var resistedDistance = Math.sqrt(pastBoundary) * 2;\n return minY - resistedDistance;\n}\n//# sourceMappingURL=helpers.js.map\n"],"mappings":";;;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,kBAAkB,CAAC;AACvB,SAAS,iBAAiB,EACxB,gBAAgB,SAClB,CAAC;AACD,OAAO,UAAU,aAAa,eAAe;AAC7C,SAAS,SAAS,GAAG,MAAM;CACzB,IAAI,cAAc,UAAU,SAAS,KAAK,UAAU,OAAO,KAAK,IAAI,UAAU,KAAK;CACnF,IAAI,KAAK,MAAM;EACb,OAAO;CACT;CACA,IAAI,eAAe,OAAO;CAC1B,IAAI,mBAAmB,KAAK,KAAK,YAAY,IAAI;CACjD,OAAO,OAAO;AAChB"}
|
package/dist/jsx/index.js
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export * from "./
|
|
4
|
-
|
|
5
|
-
export * from "./
|
|
6
|
-
|
|
7
|
-
export * from "./
|
|
8
|
-
|
|
9
|
-
export * from "./
|
|
10
|
-
|
|
11
|
-
export * from "./
|
|
12
|
-
|
|
13
|
-
export
|
|
14
|
-
|
|
1
|
+
import { useSheetContext } from "./SheetContext.mjs";
|
|
2
|
+
|
|
3
|
+
export * from "./Sheet.mjs"
|
|
4
|
+
|
|
5
|
+
export * from "./SheetController.mjs"
|
|
6
|
+
|
|
7
|
+
export * from "./useSheetController.mjs"
|
|
8
|
+
|
|
9
|
+
export * from "./useSheetOpenState.mjs"
|
|
10
|
+
|
|
11
|
+
export * from "./useSheetOffscreenSize.mjs"
|
|
12
|
+
|
|
13
|
+
export * from "./SheetScrollView.mjs"
|
|
14
|
+
|
|
15
|
+
export * from "./nativeSheet.mjs"
|
|
16
|
+
|
|
17
|
+
export * from "./types.mjs"
|
|
18
|
+
|
|
19
|
+
export * from "./contexts.mjs"
|
|
20
|
+
|
|
21
|
+
export { useSheetContext };
|
package/dist/jsx/index.mjs
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export * from "./
|
|
4
|
-
|
|
5
|
-
export * from "./
|
|
6
|
-
|
|
7
|
-
export * from "./
|
|
8
|
-
|
|
9
|
-
export * from "./
|
|
10
|
-
|
|
11
|
-
export * from "./
|
|
12
|
-
|
|
13
|
-
export
|
|
14
|
-
|
|
1
|
+
import { useSheetContext } from "./SheetContext.mjs";
|
|
2
|
+
|
|
3
|
+
export * from "./Sheet.mjs"
|
|
4
|
+
|
|
5
|
+
export * from "./SheetController.mjs"
|
|
6
|
+
|
|
7
|
+
export * from "./useSheetController.mjs"
|
|
8
|
+
|
|
9
|
+
export * from "./useSheetOpenState.mjs"
|
|
10
|
+
|
|
11
|
+
export * from "./useSheetOffscreenSize.mjs"
|
|
12
|
+
|
|
13
|
+
export * from "./SheetScrollView.mjs"
|
|
14
|
+
|
|
15
|
+
export * from "./nativeSheet.mjs"
|
|
16
|
+
|
|
17
|
+
export * from "./types.mjs"
|
|
18
|
+
|
|
19
|
+
export * from "./contexts.mjs"
|
|
20
|
+
|
|
21
|
+
export { useSheetContext };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all) __defProp(target, name, {
|
|
10
|
+
get: all[name],
|
|
11
|
+
enumerable: true
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
var __copyProps = (to, from, except, desc) => {
|
|
15
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
22
|
+
};
|
|
23
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
24
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
25
|
+
var index_exports = {};
|
|
26
|
+
__export(index_exports, { useSheetContext: () => import_SheetContext.useSheetContext });
|
|
27
|
+
module.exports = __toCommonJS(index_exports);
|
|
28
|
+
__reExport(index_exports, require("./Sheet.native.js"), module.exports);
|
|
29
|
+
var import_SheetContext = require("./SheetContext.native.js");
|
|
30
|
+
__reExport(index_exports, require("./SheetController.native.js"), module.exports);
|
|
31
|
+
__reExport(index_exports, require("./useSheetController.native.js"), module.exports);
|
|
32
|
+
__reExport(index_exports, require("./useSheetOpenState.native.js"), module.exports);
|
|
33
|
+
__reExport(index_exports, require("./useSheetOffscreenSize.native.js"), module.exports);
|
|
34
|
+
__reExport(index_exports, require("./SheetScrollView.native.js"), module.exports);
|
|
35
|
+
__reExport(index_exports, require("./nativeSheet.native.js"), module.exports);
|
|
36
|
+
__reExport(index_exports, require("./types.native.js"), module.exports);
|
|
37
|
+
__reExport(index_exports, require("./contexts.native.js"), module.exports);
|
package/dist/jsx/index.native.js
CHANGED
|
@@ -1,37 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
|
|
3
4
|
var __defProp = Object.defineProperty;
|
|
4
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
8
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
for (var name in all) __defProp(target, name, {
|
|
10
|
+
get: all[name],
|
|
11
|
+
enumerable: true
|
|
12
|
+
});
|
|
12
13
|
};
|
|
13
14
|
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
21
22
|
};
|
|
22
23
|
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
23
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
24
|
-
value: true
|
|
25
|
-
}), mod);
|
|
24
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
26
25
|
var index_exports = {};
|
|
27
|
-
__export(index_exports, {
|
|
28
|
-
unstable_getSheetGestureHandlerState: () => import_gestureState.getGestureHandlerState,
|
|
29
|
-
unstable_isSheetGestureHandlerEnabled: () => import_gestureState.isGestureHandlerEnabled
|
|
30
|
-
});
|
|
26
|
+
__export(index_exports, { useSheetContext: () => import_SheetContext.useSheetContext });
|
|
31
27
|
module.exports = __toCommonJS(index_exports);
|
|
32
28
|
__reExport(index_exports, require("./Sheet.native.js"), module.exports);
|
|
33
|
-
|
|
34
|
-
__reExport(index_exports, require("./createSheet.native.js"), module.exports);
|
|
29
|
+
var import_SheetContext = require("./SheetContext.native.js");
|
|
35
30
|
__reExport(index_exports, require("./SheetController.native.js"), module.exports);
|
|
36
31
|
__reExport(index_exports, require("./useSheetController.native.js"), module.exports);
|
|
37
32
|
__reExport(index_exports, require("./useSheetOpenState.native.js"), module.exports);
|
|
@@ -40,5 +35,5 @@ __reExport(index_exports, require("./SheetScrollView.native.js"), module.exports
|
|
|
40
35
|
__reExport(index_exports, require("./nativeSheet.native.js"), module.exports);
|
|
41
36
|
__reExport(index_exports, require("./types.native.js"), module.exports);
|
|
42
37
|
__reExport(index_exports, require("./contexts.native.js"), module.exports);
|
|
43
|
-
|
|
38
|
+
|
|
44
39
|
//# sourceMappingURL=index.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.native.js","names":[],"sources":["jsx/index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_exports = {};\n__export(index_exports, {\n useSheetContext: () => import_SheetContext.useSheetContext\n});\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"./Sheet\"), module.exports);\nvar import_SheetContext = require(\"./SheetContext\");\n__reExport(index_exports, require(\"./SheetController\"), module.exports);\n__reExport(index_exports, require(\"./useSheetController\"), module.exports);\n__reExport(index_exports, require(\"./useSheetOpenState\"), module.exports);\n__reExport(index_exports, require(\"./useSheetOffscreenSize\"), module.exports);\n__reExport(index_exports, require(\"./SheetScrollView\"), module.exports);\n__reExport(index_exports, require(\"./nativeSheet\"), module.exports);\n__reExport(index_exports, require(\"./types\"), module.exports);\n__reExport(index_exports, require(\"./contexts\"), module.exports);\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,cAAc,QAAQ,KAAK,kBAAkB,YAAY,QAAQ,KAAK,SAAS,GAAG,gBAAgB,YAAY,cAAc,KAAK,SAAS;AAC9I,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,gBAAgB,CAAC;AACrB,SAAS,eAAe,EACtB,uBAAuB,oBAAoB,gBAC7C,CAAC;AACD,OAAO,UAAU,aAAa,aAAa;AAC3C,WAAW,eAAe,QAAQ,mBAAS,GAAG,OAAO,OAAO;AAC5D,IAAI,sBAAsB,QAAQ,0BAAgB;AAClD,WAAW,eAAe,QAAQ,6BAAmB,GAAG,OAAO,OAAO;AACtE,WAAW,eAAe,QAAQ,gCAAsB,GAAG,OAAO,OAAO;AACzE,WAAW,eAAe,QAAQ,+BAAqB,GAAG,OAAO,OAAO;AACxE,WAAW,eAAe,QAAQ,mCAAyB,GAAG,OAAO,OAAO;AAC5E,WAAW,eAAe,QAAQ,6BAAmB,GAAG,OAAO,OAAO;AACtE,WAAW,eAAe,QAAQ,yBAAe,GAAG,OAAO,OAAO;AAClE,WAAW,eAAe,QAAQ,mBAAS,GAAG,OAAO,OAAO;AAC5D,WAAW,eAAe,QAAQ,sBAAY,GAAG,OAAO,OAAO"}
|
|
@@ -1,66 +1,45 @@
|
|
|
1
|
-
function getKeyboardAdjustedSheetY({
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
shouldTranslate,
|
|
7
|
-
safeAreaTop
|
|
8
|
-
}) {
|
|
9
|
-
if (!shouldTranslate || !isKeyboardVisible || keyboardHeight <= 0 || screenSize <= 0 || sheetY >= screenSize) {
|
|
10
|
-
return sheetY;
|
|
11
|
-
}
|
|
12
|
-
return Math.max(safeAreaTop, sheetY - keyboardHeight);
|
|
1
|
+
function getKeyboardAdjustedSheetY({ sheetY, screenSize, isKeyboardVisible, keyboardHeight, shouldTranslate, safeAreaTop }) {
|
|
2
|
+
if (!shouldTranslate || !isKeyboardVisible || keyboardHeight <= 0 || screenSize <= 0 || sheetY >= screenSize) {
|
|
3
|
+
return sheetY;
|
|
4
|
+
}
|
|
5
|
+
return Math.max(safeAreaTop, sheetY - keyboardHeight);
|
|
13
6
|
}
|
|
14
|
-
function getSheetReleasePosition({
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
const dismissPosition = positions[dismissPoint];
|
|
41
|
-
const dismissDistance = dismissPosition - openPosition;
|
|
42
|
-
if (dismissDistance <= 0 || frameSize <= 0) {
|
|
43
|
-
return closestPoint;
|
|
44
|
-
}
|
|
45
|
-
const draggedDistance = Math.max(0, currentPosition - openPosition);
|
|
46
|
-
const thresholdBase = Math.min(frameSize, dismissDistance);
|
|
47
|
-
const dismissThreshold = Math.max(120, thresholdBase * 0.35);
|
|
48
|
-
return draggedDistance >= dismissThreshold ? closestPoint : 0;
|
|
7
|
+
function getSheetReleasePosition({ positions, projectedEnd, currentPosition, frameSize, dismissOnSnapToBottom, snapPointsMode, isKeyboardVisible, isWeb }) {
|
|
8
|
+
let closestPoint = 0;
|
|
9
|
+
let dist = Number.POSITIVE_INFINITY;
|
|
10
|
+
for (let i = 0; i < positions.length; i++) {
|
|
11
|
+
const position = positions[i];
|
|
12
|
+
const curDist = Math.abs(projectedEnd - position);
|
|
13
|
+
if (curDist < dist) {
|
|
14
|
+
dist = curDist;
|
|
15
|
+
closestPoint = i;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
const dismissPoint = positions.length - 1;
|
|
19
|
+
const isKeyboardFitDismiss = isWeb && dismissOnSnapToBottom && isKeyboardVisible && snapPointsMode === "fit" && positions.length === 2 && closestPoint === dismissPoint;
|
|
20
|
+
if (!isKeyboardFitDismiss) {
|
|
21
|
+
return closestPoint;
|
|
22
|
+
}
|
|
23
|
+
const openPosition = positions[0];
|
|
24
|
+
const dismissPosition = positions[dismissPoint];
|
|
25
|
+
const dismissDistance = dismissPosition - openPosition;
|
|
26
|
+
if (dismissDistance <= 0 || frameSize <= 0) {
|
|
27
|
+
return closestPoint;
|
|
28
|
+
}
|
|
29
|
+
const draggedDistance = Math.max(0, currentPosition - openPosition);
|
|
30
|
+
const thresholdBase = Math.min(frameSize, dismissDistance);
|
|
31
|
+
const dismissThreshold = Math.max(120, thresholdBase * .35);
|
|
32
|
+
return draggedDistance >= dismissThreshold ? closestPoint : 0;
|
|
49
33
|
}
|
|
50
|
-
function getKeyboardOccludedHeight({
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
return 0;
|
|
59
|
-
}
|
|
60
|
-
const keyboardTop = screenSize - keyboardHeight;
|
|
61
|
-
const sheetBottom = sheetY + frameSize;
|
|
62
|
-
const occludedHeight = Math.ceil(sheetBottom - keyboardTop);
|
|
63
|
-
return Math.min(frameSize, Math.max(0, occludedHeight));
|
|
34
|
+
function getKeyboardOccludedHeight({ frameSize, isKeyboardVisible, keyboardHeight, screenSize, sheetY }) {
|
|
35
|
+
if (!isKeyboardVisible || keyboardHeight <= 0 || screenSize <= 0 || frameSize <= 0 || sheetY === void 0 || sheetY >= screenSize) {
|
|
36
|
+
return 0;
|
|
37
|
+
}
|
|
38
|
+
const keyboardTop = screenSize - keyboardHeight;
|
|
39
|
+
const sheetBottom = sheetY + frameSize;
|
|
40
|
+
const occludedHeight = Math.ceil(sheetBottom - keyboardTop);
|
|
41
|
+
return Math.min(frameSize, Math.max(0, occludedHeight));
|
|
64
42
|
}
|
|
43
|
+
|
|
65
44
|
export { getKeyboardAdjustedSheetY, getKeyboardOccludedHeight, getSheetReleasePosition };
|
|
66
45
|
//# sourceMappingURL=keyboardAvoidance.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"keyboardAvoidance.js","names":[],"sources":["jsx/keyboardAvoidance.js"],"sourcesContent":["function getKeyboardAdjustedSheetY({\n sheetY,\n screenSize,\n isKeyboardVisible,\n keyboardHeight,\n shouldTranslate,\n safeAreaTop\n}) {\n if (!shouldTranslate || !isKeyboardVisible || keyboardHeight <= 0 || screenSize <= 0 || sheetY >= screenSize) {\n return sheetY;\n }\n return Math.max(safeAreaTop, sheetY - keyboardHeight);\n}\nfunction getSheetReleasePosition({\n positions,\n projectedEnd,\n currentPosition,\n frameSize,\n dismissOnSnapToBottom,\n snapPointsMode,\n isKeyboardVisible,\n isWeb\n}) {\n let closestPoint = 0;\n let dist = Number.POSITIVE_INFINITY;\n for (let i = 0; i < positions.length; i++) {\n const position = positions[i];\n const curDist = Math.abs(projectedEnd - position);\n if (curDist < dist) {\n dist = curDist;\n closestPoint = i;\n }\n }\n const dismissPoint = positions.length - 1;\n const isKeyboardFitDismiss = isWeb && dismissOnSnapToBottom && isKeyboardVisible && snapPointsMode === \"fit\" && positions.length === 2 && closestPoint === dismissPoint;\n if (!isKeyboardFitDismiss) {\n return closestPoint;\n }\n const openPosition = positions[0];\n const dismissPosition = positions[dismissPoint];\n const dismissDistance = dismissPosition - openPosition;\n if (dismissDistance <= 0 || frameSize <= 0) {\n return closestPoint;\n }\n const draggedDistance = Math.max(0, currentPosition - openPosition);\n const thresholdBase = Math.min(frameSize, dismissDistance);\n const dismissThreshold = Math.max(120, thresholdBase * 0.35);\n return draggedDistance >= dismissThreshold ? closestPoint : 0;\n}\nfunction getKeyboardOccludedHeight({\n frameSize,\n isKeyboardVisible,\n keyboardHeight,\n screenSize,\n sheetY\n}) {\n if (!isKeyboardVisible || keyboardHeight <= 0 || screenSize <= 0 || frameSize <= 0 || sheetY === void 0 || sheetY >= screenSize) {\n return 0;\n }\n const keyboardTop = screenSize - keyboardHeight;\n const sheetBottom = sheetY + frameSize;\n const occludedHeight = Math.ceil(sheetBottom - keyboardTop);\n return Math.min(frameSize, Math.max(0, occludedHeight));\n}\nexport {\n getKeyboardAdjustedSheetY,\n getKeyboardOccludedHeight,\n getSheetReleasePosition\n};\n//# sourceMappingURL=keyboardAvoidance.js.map\n"],"mappings":";AAAA,SAAS,0BAA0B,EACjC,QACA,YACA,mBACA,gBACA,iBACA,eACC;CACD,IAAI,CAAC,mBAAmB,CAAC,qBAAqB,kBAAkB,KAAK,cAAc,KAAK,UAAU,YAAY;EAC5G,OAAO;CACT;CACA,OAAO,KAAK,IAAI,aAAa,SAAS,cAAc;AACtD;AACA,SAAS,wBAAwB,EAC/B,WACA,cACA,iBACA,WACA,uBACA,gBACA,mBACA,SACC;CACD,IAAI,eAAe;CACnB,IAAI,OAAO,OAAO;CAClB,KAAK,IAAI,IAAI,GAAG,IAAI,UAAU,QAAQ,KAAK;EACzC,MAAM,WAAW,UAAU;EAC3B,MAAM,UAAU,KAAK,IAAI,eAAe,QAAQ;EAChD,IAAI,UAAU,MAAM;GAClB,OAAO;GACP,eAAe;EACjB;CACF;CACA,MAAM,eAAe,UAAU,SAAS;CACxC,MAAM,uBAAuB,SAAS,yBAAyB,qBAAqB,mBAAmB,SAAS,UAAU,WAAW,KAAK,iBAAiB;CAC3J,IAAI,CAAC,sBAAsB;EACzB,OAAO;CACT;CACA,MAAM,eAAe,UAAU;CAC/B,MAAM,kBAAkB,UAAU;CAClC,MAAM,kBAAkB,kBAAkB;CAC1C,IAAI,mBAAmB,KAAK,aAAa,GAAG;EAC1C,OAAO;CACT;CACA,MAAM,kBAAkB,KAAK,IAAI,GAAG,kBAAkB,YAAY;CAClE,MAAM,gBAAgB,KAAK,IAAI,WAAW,eAAe;CACzD,MAAM,mBAAmB,KAAK,IAAI,KAAK,gBAAgB,GAAI;CAC3D,OAAO,mBAAmB,mBAAmB,eAAe;AAC9D;AACA,SAAS,0BAA0B,EACjC,WACA,mBACA,gBACA,YACA,UACC;CACD,IAAI,CAAC,qBAAqB,kBAAkB,KAAK,cAAc,KAAK,aAAa,KAAK,WAAW,KAAK,KAAK,UAAU,YAAY;EAC/H,OAAO;CACT;CACA,MAAM,cAAc,aAAa;CACjC,MAAM,cAAc,SAAS;CAC7B,MAAM,iBAAiB,KAAK,KAAK,cAAc,WAAW;CAC1D,OAAO,KAAK,IAAI,WAAW,KAAK,IAAI,GAAG,cAAc,CAAC;AACxD"}
|