@luckylca/react-native-liquid-glass 0.0.0-stage → 0.2.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/LICENSE +21 -0
- package/README.md +307 -2
- package/README.zh-CN.md +310 -0
- package/THIRD_PARTY_NOTICES.md +98 -0
- package/android/build.gradle +19 -0
- package/android/src/main/AndroidManifest.xml +1 -0
- package/android/src/main/java/expo/modules/localglass/ExpoLocalGlassEngineModule.kt +141 -0
- package/android/src/main/java/expo/modules/localglass/ExpoLocalGlassModule.kt +341 -0
- package/android/src/main/java/expo/modules/localglass/LocalGlassShader.kt +59 -0
- package/android/src/main/java/expo/modules/newhuliquidglass/CoreLiquidGlassRegistry.kt +75 -0
- package/android/src/main/java/expo/modules/newhuliquidglass/EffectiveScrollInputBridge.kt +47 -0
- package/android/src/main/java/expo/modules/newhuliquidglass/ExpoGlassCoreModule.kt +226 -0
- package/android/src/main/java/expo/modules/newhuliquidglass/ExpoGlassProviderCoreView.kt +1125 -0
- package/android/src/main/java/expo/modules/newhuliquidglass/ExpoGlassSurfaceCoreView.kt +571 -0
- package/android/src/main/java/expo/modules/newhuliquidglass/PassSurfaceSuppression.kt +39 -0
- package/android/src/main/java/expo/modules/newhuliquidglass/SharedGlassPassProbeLog.kt +23 -0
- package/android/src/main/java/expo/modules/newhuliquidglass/SharedGlassPassWiring.kt +59 -0
- package/android-core/build.gradle +36 -0
- package/android-core/src/main/java/com/newhu/liquidglass/backdrop/BackdropRecorder.kt +930 -0
- package/android-core/src/main/java/com/newhu/liquidglass/backdrop/FrozenBackdrop.kt +66 -0
- package/android-core/src/main/java/com/newhu/liquidglass/backdrop/GlassBackdropCoordinator.kt +624 -0
- package/android-core/src/main/java/com/newhu/liquidglass/backdrop/GlassBackdropSourceHandle.kt +8 -0
- package/android-core/src/main/java/com/newhu/liquidglass/backdrop/GlassScrollSource.kt +13 -0
- package/android-core/src/main/java/com/newhu/liquidglass/backdrop/GlassViewController.kt +1605 -0
- package/android-core/src/main/java/com/newhu/liquidglass/backdrop/LiquidGlassProviderLayout.kt +340 -0
- package/android-core/src/main/java/com/newhu/liquidglass/backdrop/LiquidGlassView.kt +103 -0
- package/android-core/src/main/java/com/newhu/liquidglass/backdrop/ReferenceSourceWindowPolicy.kt +13 -0
- package/android-core/src/main/java/com/newhu/liquidglass/backdrop/StableSceneTexturePolicy.kt +43 -0
- package/android-core/src/main/java/com/newhu/liquidglass/backdrop/internal/GlassViewRenderer.kt +1459 -0
- package/android-core/src/main/java/com/newhu/liquidglass/backdrop/internal/ReferenceTabSampling.kt +15 -0
- package/android-core/src/main/java/com/newhu/liquidglass/backdrop/internal/SharedSceneCapture.kt +163 -0
- package/android-core/src/main/java/com/newhu/liquidglass/core/GlassCapabilities.kt +21 -0
- package/android-core/src/main/java/com/newhu/liquidglass/core/GlassEngine.kt +131 -0
- package/android-core/src/main/java/com/newhu/liquidglass/core/GlassMaterial.kt +89 -0
- package/android-core/src/main/java/com/newhu/liquidglass/core/GlassMath.kt +131 -0
- package/android-core/src/main/java/com/newhu/liquidglass/core/GlassOpticalInsets.kt +8 -0
- package/android-core/src/main/java/com/newhu/liquidglass/core/GlassRenderTier.kt +54 -0
- package/android-core/src/main/java/com/newhu/liquidglass/core/GlassShapePacker.kt +77 -0
- package/android-core/src/main/java/com/newhu/liquidglass/core/GlassSurfaceState.kt +11 -0
- package/android-core/src/main/java/com/newhu/liquidglass/core/GlassUniforms.kt +113 -0
- package/android-core/src/main/java/com/newhu/liquidglass/core/LiquidGlassShaders.kt +234 -0
- package/android-core/src/main/java/com/newhu/liquidglass/core/SharedGlassPass.kt +456 -0
- package/android-core/src/main/java/com/newhu/liquidglass/core/geometry/G2RoundedRectangle.kt +207 -0
- package/android-core/src/main/java/com/newhu/liquidglass/core/geometry/ReferenceG2MaskTexture.kt +334 -0
- package/android-core/src/main/java/com/newhu/liquidglass/core/shader/HeightFieldGlassShader.kt +7 -0
- package/android-core/src/main/java/com/newhu/liquidglass/core/shader/ReferenceBackdropBlurShader.kt +58 -0
- package/android-core/src/main/java/com/newhu/liquidglass/core/shader/ReferenceGaussianDiscBackdropBlur.kt +42 -0
- package/android-core/src/main/java/com/newhu/liquidglass/core/shader/ReferenceGlassUniforms.kt +111 -0
- package/android-core/src/main/java/com/newhu/liquidglass/core/shader/ReferenceParityGlassShader.kt +613 -0
- package/android-core/src/main/java/com/newhu/liquidglass/core/shader/ReferenceParityMultiShapeShader.kt +128 -0
- package/android-core/src/main/java/com/newhu/liquidglass/core/shader/SdfScaleLensShader.kt +144 -0
- package/android-core/src/main/java/com/newhu/liquidglass/local/LocalGlassHardwareLayerExperiment.kt +29 -0
- package/android-core/src/main/java/com/newhu/liquidglass/local/LocalGlassMaterial.kt +14 -0
- package/android-core/src/main/java/com/newhu/liquidglass/local/LocalGlassRenderer.kt +126 -0
- package/android-core/src/main/java/com/newhu/liquidglass/local/LocalGlassRuntimeShader.kt +50 -0
- package/android-core/src/main/java/com/newhu/liquidglass/local/LocalGlassShader.kt +59 -0
- package/android-core/src/main/java/com/newhu/liquidglass/local/LocalGlassView.kt +47 -0
- package/android-core/src/main/java/com/newhu/liquidglass/motion/GlassMotionDriver.kt +824 -0
- package/android-core/src/main/java/com/newhu/liquidglass/motion/GlassMotionState.kt +359 -0
- package/android-core/src/main/java/com/newhu/liquidglass/motion/PointerVelocityTracker.kt +109 -0
- package/android-core/src/main/java/com/newhu/liquidglass/motion/SpringSpec.kt +209 -0
- package/android-core/src/main/java/com/newhu/liquidglass/optics/G2Corner.kt +194 -0
- package/android-core/src/main/java/com/newhu/liquidglass/optics/GlassMaterial.kt +250 -0
- package/android-core/src/main/java/com/newhu/liquidglass/optics/GlassOpticsShader.kt +696 -0
- package/android-core/src/main/java/com/newhu/liquidglass/optics/GlassParityProbe.kt +342 -0
- package/android-core/src/main/java/com/newhu/liquidglass/optics/GlassShapeGeometry.kt +317 -0
- package/android-core/src/main/java/com/newhu/liquidglass/optics/GlassUniformBinder.kt +308 -0
- package/android-core/src/main/java/com/newhu/liquidglass/optics/PixelDiff.kt +363 -0
- package/android-core/src/main/java/com/newhu/liquidglass/optics/ReferenceOptics.kt +568 -0
- package/android-core/src/main/java/com/newhu/liquidglass/rendering/GlassEngineSelection.kt +30 -0
- package/android-core/src/main/java/com/newhu/liquidglass/rendering/GlassSurfaceHost.kt +317 -0
- package/android-core/src/main/java/com/newhu/liquidglass/rendering/GlassSurfaceRenderer.kt +847 -0
- package/android-core/src/main/java/com/newhu/liquidglass/rendering/RetainedBackdropLayer.kt +83 -0
- package/android-core/src/main/java/com/newhu/liquidglass/scheduler/GlassFrameScheduler.kt +27 -0
- package/android-core/src/main/java/com/newhu/liquidglass/telemetry/EffectiveScrollFpsProbe.kt +965 -0
- package/android-core/src/main/java/com/newhu/liquidglass/telemetry/GlassTelemetry.kt +16 -0
- package/android-core/src/main/java/com/newhu/liquidglass/telemetry/LiquidGlassPerfTelemetry.kt +676 -0
- package/android-core/src/main/java/com/newhu/liquidglass/telemetry/LiquidGlassTrace.kt +30 -0
- package/android-core/src/main/java/com/newhu/liquidglass/telemetry/LocalGlassTelemetry.kt +55 -0
- package/app.plugin.js +25 -0
- package/docs/images/buttons.webp +0 -0
- package/docs/images/controls.webp +0 -0
- package/docs/images/tabs.webp +0 -0
- package/docs/publishing.md +84 -0
- package/expo-module.config.json +10 -0
- package/lib/commonjs/GlassSurface.js +832 -0
- package/lib/commonjs/GlassSurface.js.map +1 -0
- package/lib/commonjs/GlassTabBar.js +976 -0
- package/lib/commonjs/GlassTabBar.js.map +1 -0
- package/lib/commonjs/GlassTabLens.js +67 -0
- package/lib/commonjs/GlassTabLens.js.map +1 -0
- package/lib/commonjs/LiquidGlassProvider.js +40 -0
- package/lib/commonjs/LiquidGlassProvider.js.map +1 -0
- package/lib/commonjs/LocalGlassMaterial.js +194 -0
- package/lib/commonjs/LocalGlassMaterial.js.map +1 -0
- package/lib/commonjs/adaptiveLuminance.js +14 -0
- package/lib/commonjs/adaptiveLuminance.js.map +1 -0
- package/lib/commonjs/badgePalette.js +46 -0
- package/lib/commonjs/badgePalette.js.map +1 -0
- package/lib/commonjs/buttonGesturePolicy.js +22 -0
- package/lib/commonjs/buttonGesturePolicy.js.map +1 -0
- package/lib/commonjs/components/AdaptiveLuminance.js +20 -0
- package/lib/commonjs/components/AdaptiveLuminance.js.map +1 -0
- package/lib/commonjs/components/BottomSheet.js +222 -0
- package/lib/commonjs/components/BottomSheet.js.map +1 -0
- package/lib/commonjs/components/Button.js +20 -0
- package/lib/commonjs/components/Button.js.map +1 -0
- package/lib/commonjs/components/Card.js +206 -0
- package/lib/commonjs/components/Card.js.map +1 -0
- package/lib/commonjs/components/Checkbox.js +123 -0
- package/lib/commonjs/components/Checkbox.js.map +1 -0
- package/lib/commonjs/components/ControlPressContext.js +8 -0
- package/lib/commonjs/components/ControlPressContext.js.map +1 -0
- package/lib/commonjs/components/Dialog.js +122 -0
- package/lib/commonjs/components/Dialog.js.map +1 -0
- package/lib/commonjs/components/DialogAction.js +124 -0
- package/lib/commonjs/components/DialogAction.js.map +1 -0
- package/lib/commonjs/components/DialogContent.js +23 -0
- package/lib/commonjs/components/DialogContent.js.map +1 -0
- package/lib/commonjs/components/GlassButton.js +96 -0
- package/lib/commonjs/components/GlassButton.js.map +1 -0
- package/lib/commonjs/components/GlassFab.js +43 -0
- package/lib/commonjs/components/GlassFab.js.map +1 -0
- package/lib/commonjs/components/GlassMagnifier.js +135 -0
- package/lib/commonjs/components/GlassMagnifier.js.map +1 -0
- package/lib/commonjs/components/GlassPlayground.js +158 -0
- package/lib/commonjs/components/GlassPlayground.js.map +1 -0
- package/lib/commonjs/components/GlassSlider.js +364 -0
- package/lib/commonjs/components/GlassSlider.js.map +1 -0
- package/lib/commonjs/components/GlassSwitch.js +334 -0
- package/lib/commonjs/components/GlassSwitch.js.map +1 -0
- package/lib/commonjs/components/GlassTabBar.js +387 -0
- package/lib/commonjs/components/GlassTabBar.js.map +1 -0
- package/lib/commonjs/components/Input.js +180 -0
- package/lib/commonjs/components/Input.js.map +1 -0
- package/lib/commonjs/components/ListRow.js +64 -0
- package/lib/commonjs/components/ListRow.js.map +1 -0
- package/lib/commonjs/components/Menu.js +214 -0
- package/lib/commonjs/components/Menu.js.map +1 -0
- package/lib/commonjs/components/NavigationBar.js +20 -0
- package/lib/commonjs/components/NavigationBar.js.map +1 -0
- package/lib/commonjs/components/NumberWheel.js +273 -0
- package/lib/commonjs/components/NumberWheel.js.map +1 -0
- package/lib/commonjs/components/PageFeedList.js +25 -0
- package/lib/commonjs/components/PageFeedList.js.map +1 -0
- package/lib/commonjs/components/PageScaffold.js +161 -0
- package/lib/commonjs/components/PageScaffold.js.map +1 -0
- package/lib/commonjs/components/PreferenceGroup.js +34 -0
- package/lib/commonjs/components/PreferenceGroup.js.map +1 -0
- package/lib/commonjs/components/ProgressIndicator.js +79 -0
- package/lib/commonjs/components/ProgressIndicator.js.map +1 -0
- package/lib/commonjs/components/ProgressiveBlur.js +29 -0
- package/lib/commonjs/components/ProgressiveBlur.js.map +1 -0
- package/lib/commonjs/components/ReferenceSlider.js +304 -0
- package/lib/commonjs/components/ReferenceSlider.js.map +1 -0
- package/lib/commonjs/components/ReferenceTabBar.js +381 -0
- package/lib/commonjs/components/ReferenceTabBar.js.map +1 -0
- package/lib/commonjs/components/SearchBar.js +200 -0
- package/lib/commonjs/components/SearchBar.js.map +1 -0
- package/lib/commonjs/components/SegmentedControl.js +62 -0
- package/lib/commonjs/components/SegmentedControl.js.map +1 -0
- package/lib/commonjs/components/Slider.js +12 -0
- package/lib/commonjs/components/Slider.js.map +1 -0
- package/lib/commonjs/components/Snackbar.js +11 -0
- package/lib/commonjs/components/Snackbar.js.map +1 -0
- package/lib/commonjs/components/SurfaceEnvironmentContext.js +35 -0
- package/lib/commonjs/components/SurfaceEnvironmentContext.js.map +1 -0
- package/lib/commonjs/components/SurfaceGroup.js +39 -0
- package/lib/commonjs/components/SurfaceGroup.js.map +1 -0
- package/lib/commonjs/components/Switch.js +11 -0
- package/lib/commonjs/components/Switch.js.map +1 -0
- package/lib/commonjs/components/Toast.js +110 -0
- package/lib/commonjs/components/Toast.js.map +1 -0
- package/lib/commonjs/components/TopAppBar.js +107 -0
- package/lib/commonjs/components/TopAppBar.js.map +1 -0
- package/lib/commonjs/components/bottomSheetMotion.js +14 -0
- package/lib/commonjs/components/bottomSheetMotion.js.map +1 -0
- package/lib/commonjs/components/glassControlMaterial.js +22 -0
- package/lib/commonjs/components/glassControlMaterial.js.map +1 -0
- package/lib/commonjs/components/menuPosition.js +42 -0
- package/lib/commonjs/components/menuPosition.js.map +1 -0
- package/lib/commonjs/components/pages/FeedPage.js +15 -0
- package/lib/commonjs/components/pages/FeedPage.js.map +1 -0
- package/lib/commonjs/components/pages/PageBenchmarkContext.js +123 -0
- package/lib/commonjs/components/pages/PageBenchmarkContext.js.map +1 -0
- package/lib/commonjs/components/pages/SettingsPage.js +47 -0
- package/lib/commonjs/components/pages/SettingsPage.js.map +1 -0
- package/lib/commonjs/components/pages/SettingsSection.js +14 -0
- package/lib/commonjs/components/pages/SettingsSection.js.map +1 -0
- package/lib/commonjs/components/pages/StaticSettingsPage.js +16 -0
- package/lib/commonjs/components/pages/StaticSettingsPage.js.map +1 -0
- package/lib/commonjs/fallbackKnobGeometry.js +19 -0
- package/lib/commonjs/fallbackKnobGeometry.js.map +1 -0
- package/lib/commonjs/glassController.js +65 -0
- package/lib/commonjs/glassController.js.map +1 -0
- package/lib/commonjs/glassNativeEngine.js +16 -0
- package/lib/commonjs/glassNativeEngine.js.map +1 -0
- package/lib/commonjs/glassRuntime.js +27 -0
- package/lib/commonjs/glassRuntime.js.map +1 -0
- package/lib/commonjs/index.js +218 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/inputPresentation.js +17 -0
- package/lib/commonjs/inputPresentation.js.map +1 -0
- package/lib/commonjs/localGlassTelemetry.js +113 -0
- package/lib/commonjs/localGlassTelemetry.js.map +1 -0
- package/lib/commonjs/motion/MotionProvider.js +15 -0
- package/lib/commonjs/motion/MotionProvider.js.map +1 -0
- package/lib/commonjs/motion/easings.js +71 -0
- package/lib/commonjs/motion/easings.js.map +1 -0
- package/lib/commonjs/motion/folmeSpring.js +24 -0
- package/lib/commonjs/motion/folmeSpring.js.map +1 -0
- package/lib/commonjs/motion/folmeSpringByResponse.js +22 -0
- package/lib/commonjs/motion/folmeSpringByResponse.js.map +1 -0
- package/lib/commonjs/motion/index.js +57 -0
- package/lib/commonjs/motion/index.js.map +1 -0
- package/lib/commonjs/motion/presets.js +101 -0
- package/lib/commonjs/motion/presets.js.map +1 -0
- package/lib/commonjs/nativeGlassViews.js +33 -0
- package/lib/commonjs/nativeGlassViews.js.map +1 -0
- package/lib/commonjs/performanceTelemetry.js +28 -0
- package/lib/commonjs/performanceTelemetry.js.map +1 -0
- package/lib/commonjs/pointerEventBridge.js +17 -0
- package/lib/commonjs/pointerEventBridge.js.map +1 -0
- package/lib/commonjs/pointerGeometry.js +12 -0
- package/lib/commonjs/pointerGeometry.js.map +1 -0
- package/lib/commonjs/pressVelocity.js +34 -0
- package/lib/commonjs/pressVelocity.js.map +1 -0
- package/lib/commonjs/primitives/Divider.js +32 -0
- package/lib/commonjs/primitives/Divider.js.map +1 -0
- package/lib/commonjs/primitives/Icon.js +22 -0
- package/lib/commonjs/primitives/Icon.js.map +1 -0
- package/lib/commonjs/primitives/PressIndication.js +58 -0
- package/lib/commonjs/primitives/PressIndication.js.map +1 -0
- package/lib/commonjs/primitives/Pressable.js +28 -0
- package/lib/commonjs/primitives/Pressable.js.map +1 -0
- package/lib/commonjs/primitives/PressableScale.js +64 -0
- package/lib/commonjs/primitives/PressableScale.js.map +1 -0
- package/lib/commonjs/primitives/Surface.js +122 -0
- package/lib/commonjs/primitives/Surface.js.map +1 -0
- package/lib/commonjs/primitives/Text.js +43 -0
- package/lib/commonjs/primitives/Text.js.map +1 -0
- package/lib/commonjs/primitives/index.js +18 -0
- package/lib/commonjs/primitives/index.js.map +1 -0
- package/lib/commonjs/renderer.js +58 -0
- package/lib/commonjs/renderer.js.map +1 -0
- package/lib/commonjs/sliderValue.js +28 -0
- package/lib/commonjs/sliderValue.js.map +1 -0
- package/lib/commonjs/surfaceRendererPolicy.js +32 -0
- package/lib/commonjs/surfaceRendererPolicy.js.map +1 -0
- package/lib/commonjs/theme/ThemeProvider.js +37 -0
- package/lib/commonjs/theme/ThemeProvider.js.map +1 -0
- package/lib/commonjs/theme/buildTheme.js +157 -0
- package/lib/commonjs/theme/buildTheme.js.map +1 -0
- package/lib/commonjs/theme/glassColors.js +17 -0
- package/lib/commonjs/theme/glassColors.js.map +1 -0
- package/lib/commonjs/theme/index.js +38 -0
- package/lib/commonjs/theme/index.js.map +1 -0
- package/lib/commonjs/theme/liquidGlass.js +24 -0
- package/lib/commonjs/theme/liquidGlass.js.map +1 -0
- package/lib/commonjs/theme/presentation.js +14 -0
- package/lib/commonjs/theme/presentation.js.map +1 -0
- package/lib/commonjs/theme/registry.js +17 -0
- package/lib/commonjs/theme/registry.js.map +1 -0
- package/lib/commonjs/theme/selectVariant.js +13 -0
- package/lib/commonjs/theme/selectVariant.js.map +1 -0
- package/lib/commonjs/theme/tokens.js +266 -0
- package/lib/commonjs/theme/tokens.js.map +1 -0
- package/lib/commonjs/theme/types.js +3 -0
- package/lib/commonjs/theme/types.js.map +1 -0
- package/lib/commonjs/theme/wallpaper.js +91 -0
- package/lib/commonjs/theme/wallpaper.js.map +1 -0
- package/lib/commonjs/types.js +3 -0
- package/lib/commonjs/types.js.map +1 -0
- package/lib/commonjs/useButtonGesture.js +135 -0
- package/lib/commonjs/useButtonGesture.js.map +1 -0
- package/lib/commonjs/useGlassKnobMotion.js +115 -0
- package/lib/commonjs/useGlassKnobMotion.js.map +1 -0
- package/lib/commonjs/useGlassPressMotion.js +147 -0
- package/lib/commonjs/useGlassPressMotion.js.map +1 -0
- package/lib/module/GlassSurface.js +782 -0
- package/lib/module/GlassSurface.js.map +1 -0
- package/lib/module/GlassTabBar.js +939 -0
- package/lib/module/GlassTabBar.js.map +1 -0
- package/lib/module/GlassTabLens.js +64 -0
- package/lib/module/GlassTabLens.js.map +1 -0
- package/lib/module/LiquidGlassProvider.js +37 -0
- package/lib/module/LiquidGlassProvider.js.map +1 -0
- package/lib/module/LocalGlassMaterial.js +191 -0
- package/lib/module/LocalGlassMaterial.js.map +1 -0
- package/lib/module/adaptiveLuminance.js +11 -0
- package/lib/module/adaptiveLuminance.js.map +1 -0
- package/lib/module/badgePalette.js +40 -0
- package/lib/module/badgePalette.js.map +1 -0
- package/lib/module/buttonGesturePolicy.js +17 -0
- package/lib/module/buttonGesturePolicy.js.map +1 -0
- package/lib/module/components/AdaptiveLuminance.js +16 -0
- package/lib/module/components/AdaptiveLuminance.js.map +1 -0
- package/lib/module/components/BottomSheet.js +186 -0
- package/lib/module/components/BottomSheet.js.map +1 -0
- package/lib/module/components/Button.js +17 -0
- package/lib/module/components/Button.js.map +1 -0
- package/lib/module/components/Card.js +170 -0
- package/lib/module/components/Card.js.map +1 -0
- package/lib/module/components/Checkbox.js +84 -0
- package/lib/module/components/Checkbox.js.map +1 -0
- package/lib/module/components/ControlPressContext.js +4 -0
- package/lib/module/components/ControlPressContext.js.map +1 -0
- package/lib/module/components/Dialog.js +86 -0
- package/lib/module/components/Dialog.js.map +1 -0
- package/lib/module/components/DialogAction.js +88 -0
- package/lib/module/components/DialogAction.js.map +1 -0
- package/lib/module/components/DialogContent.js +20 -0
- package/lib/module/components/DialogContent.js.map +1 -0
- package/lib/module/components/GlassButton.js +93 -0
- package/lib/module/components/GlassButton.js.map +1 -0
- package/lib/module/components/GlassFab.js +37 -0
- package/lib/module/components/GlassFab.js.map +1 -0
- package/lib/module/components/GlassMagnifier.js +99 -0
- package/lib/module/components/GlassMagnifier.js.map +1 -0
- package/lib/module/components/GlassPlayground.js +122 -0
- package/lib/module/components/GlassPlayground.js.map +1 -0
- package/lib/module/components/GlassSlider.js +328 -0
- package/lib/module/components/GlassSlider.js.map +1 -0
- package/lib/module/components/GlassSwitch.js +298 -0
- package/lib/module/components/GlassSwitch.js.map +1 -0
- package/lib/module/components/GlassTabBar.js +351 -0
- package/lib/module/components/GlassTabBar.js.map +1 -0
- package/lib/module/components/Input.js +144 -0
- package/lib/module/components/Input.js.map +1 -0
- package/lib/module/components/ListRow.js +61 -0
- package/lib/module/components/ListRow.js.map +1 -0
- package/lib/module/components/Menu.js +178 -0
- package/lib/module/components/Menu.js.map +1 -0
- package/lib/module/components/NavigationBar.js +14 -0
- package/lib/module/components/NavigationBar.js.map +1 -0
- package/lib/module/components/NumberWheel.js +238 -0
- package/lib/module/components/NumberWheel.js.map +1 -0
- package/lib/module/components/PageFeedList.js +19 -0
- package/lib/module/components/PageFeedList.js.map +1 -0
- package/lib/module/components/PageScaffold.js +114 -0
- package/lib/module/components/PageScaffold.js.map +1 -0
- package/lib/module/components/PreferenceGroup.js +28 -0
- package/lib/module/components/PreferenceGroup.js.map +1 -0
- package/lib/module/components/ProgressIndicator.js +44 -0
- package/lib/module/components/ProgressIndicator.js.map +1 -0
- package/lib/module/components/ProgressiveBlur.js +26 -0
- package/lib/module/components/ProgressiveBlur.js.map +1 -0
- package/lib/module/components/ReferenceSlider.js +268 -0
- package/lib/module/components/ReferenceSlider.js.map +1 -0
- package/lib/module/components/ReferenceTabBar.js +344 -0
- package/lib/module/components/ReferenceTabBar.js.map +1 -0
- package/lib/module/components/SearchBar.js +164 -0
- package/lib/module/components/SearchBar.js.map +1 -0
- package/lib/module/components/SegmentedControl.js +26 -0
- package/lib/module/components/SegmentedControl.js.map +1 -0
- package/lib/module/components/Slider.js +9 -0
- package/lib/module/components/Slider.js.map +1 -0
- package/lib/module/components/Snackbar.js +8 -0
- package/lib/module/components/Snackbar.js.map +1 -0
- package/lib/module/components/SurfaceEnvironmentContext.js +27 -0
- package/lib/module/components/SurfaceEnvironmentContext.js.map +1 -0
- package/lib/module/components/SurfaceGroup.js +33 -0
- package/lib/module/components/SurfaceGroup.js.map +1 -0
- package/lib/module/components/Switch.js +8 -0
- package/lib/module/components/Switch.js.map +1 -0
- package/lib/module/components/Toast.js +74 -0
- package/lib/module/components/Toast.js.map +1 -0
- package/lib/module/components/TopAppBar.js +68 -0
- package/lib/module/components/TopAppBar.js.map +1 -0
- package/lib/module/components/bottomSheetMotion.js +11 -0
- package/lib/module/components/bottomSheetMotion.js.map +1 -0
- package/lib/module/components/glassControlMaterial.js +19 -0
- package/lib/module/components/glassControlMaterial.js.map +1 -0
- package/lib/module/components/menuPosition.js +37 -0
- package/lib/module/components/menuPosition.js.map +1 -0
- package/lib/module/components/pages/FeedPage.js +12 -0
- package/lib/module/components/pages/FeedPage.js.map +1 -0
- package/lib/module/components/pages/PageBenchmarkContext.js +84 -0
- package/lib/module/components/pages/PageBenchmarkContext.js.map +1 -0
- package/lib/module/components/pages/SettingsPage.js +11 -0
- package/lib/module/components/pages/SettingsPage.js.map +1 -0
- package/lib/module/components/pages/SettingsSection.js +8 -0
- package/lib/module/components/pages/SettingsSection.js.map +1 -0
- package/lib/module/components/pages/StaticSettingsPage.js +10 -0
- package/lib/module/components/pages/StaticSettingsPage.js.map +1 -0
- package/lib/module/fallbackKnobGeometry.js +16 -0
- package/lib/module/fallbackKnobGeometry.js.map +1 -0
- package/lib/module/glassController.js +58 -0
- package/lib/module/glassController.js.map +1 -0
- package/lib/module/glassNativeEngine.js +11 -0
- package/lib/module/glassNativeEngine.js.map +1 -0
- package/lib/module/glassRuntime.js +22 -0
- package/lib/module/glassRuntime.js.map +1 -0
- package/lib/module/index.js +80 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/inputPresentation.js +14 -0
- package/lib/module/inputPresentation.js.map +1 -0
- package/lib/module/localGlassTelemetry.js +103 -0
- package/lib/module/localGlassTelemetry.js.map +1 -0
- package/lib/module/motion/MotionProvider.js +11 -0
- package/lib/module/motion/MotionProvider.js.map +1 -0
- package/lib/module/motion/easings.js +64 -0
- package/lib/module/motion/easings.js.map +1 -0
- package/lib/module/motion/folmeSpring.js +21 -0
- package/lib/module/motion/folmeSpring.js.map +1 -0
- package/lib/module/motion/folmeSpringByResponse.js +19 -0
- package/lib/module/motion/folmeSpringByResponse.js.map +1 -0
- package/lib/module/motion/index.js +6 -0
- package/lib/module/motion/index.js.map +1 -0
- package/lib/module/motion/presets.js +98 -0
- package/lib/module/motion/presets.js.map +1 -0
- package/lib/module/nativeGlassViews.js +27 -0
- package/lib/module/nativeGlassViews.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/performanceTelemetry.js +23 -0
- package/lib/module/performanceTelemetry.js.map +1 -0
- package/lib/module/pointerEventBridge.js +14 -0
- package/lib/module/pointerEventBridge.js.map +1 -0
- package/lib/module/pointerGeometry.js +9 -0
- package/lib/module/pointerGeometry.js.map +1 -0
- package/lib/module/pressVelocity.js +31 -0
- package/lib/module/pressVelocity.js.map +1 -0
- package/lib/module/primitives/Divider.js +29 -0
- package/lib/module/primitives/Divider.js.map +1 -0
- package/lib/module/primitives/Icon.js +19 -0
- package/lib/module/primitives/Icon.js.map +1 -0
- package/lib/module/primitives/PressIndication.js +22 -0
- package/lib/module/primitives/PressIndication.js.map +1 -0
- package/lib/module/primitives/Pressable.js +25 -0
- package/lib/module/primitives/Pressable.js.map +1 -0
- package/lib/module/primitives/PressableScale.js +28 -0
- package/lib/module/primitives/PressableScale.js.map +1 -0
- package/lib/module/primitives/Surface.js +83 -0
- package/lib/module/primitives/Surface.js.map +1 -0
- package/lib/module/primitives/Text.js +40 -0
- package/lib/module/primitives/Text.js.map +1 -0
- package/lib/module/primitives/index.js +8 -0
- package/lib/module/primitives/index.js.map +1 -0
- package/lib/module/renderer.js +22 -0
- package/lib/module/renderer.js.map +1 -0
- package/lib/module/sliderValue.js +25 -0
- package/lib/module/sliderValue.js.map +1 -0
- package/lib/module/surfaceRendererPolicy.js +27 -0
- package/lib/module/surfaceRendererPolicy.js.map +1 -0
- package/lib/module/theme/ThemeProvider.js +32 -0
- package/lib/module/theme/ThemeProvider.js.map +1 -0
- package/lib/module/theme/buildTheme.js +153 -0
- package/lib/module/theme/buildTheme.js.map +1 -0
- package/lib/module/theme/glassColors.js +14 -0
- package/lib/module/theme/glassColors.js.map +1 -0
- package/lib/module/theme/index.js +9 -0
- package/lib/module/theme/index.js.map +1 -0
- package/lib/module/theme/liquidGlass.js +21 -0
- package/lib/module/theme/liquidGlass.js.map +1 -0
- package/lib/module/theme/presentation.js +11 -0
- package/lib/module/theme/presentation.js.map +1 -0
- package/lib/module/theme/registry.js +13 -0
- package/lib/module/theme/registry.js.map +1 -0
- package/lib/module/theme/selectVariant.js +10 -0
- package/lib/module/theme/selectVariant.js.map +1 -0
- package/lib/module/theme/tokens.js +262 -0
- package/lib/module/theme/tokens.js.map +1 -0
- package/lib/module/theme/types.js +2 -0
- package/lib/module/theme/types.js.map +1 -0
- package/lib/module/theme/wallpaper.js +83 -0
- package/lib/module/theme/wallpaper.js.map +1 -0
- package/lib/module/types.js +2 -0
- package/lib/module/types.js.map +1 -0
- package/lib/module/useButtonGesture.js +132 -0
- package/lib/module/useButtonGesture.js.map +1 -0
- package/lib/module/useGlassKnobMotion.js +112 -0
- package/lib/module/useGlassKnobMotion.js.map +1 -0
- package/lib/module/useGlassPressMotion.js +143 -0
- package/lib/module/useGlassPressMotion.js.map +1 -0
- package/lib/types/GlassSurface.d.ts +216 -0
- package/lib/types/GlassTabBar.d.ts +35 -0
- package/lib/types/GlassTabLens.d.ts +11 -0
- package/lib/types/LiquidGlassProvider.d.ts +47 -0
- package/lib/types/LocalGlassMaterial.d.ts +21 -0
- package/lib/types/adaptiveLuminance.d.ts +2 -0
- package/lib/types/badgePalette.d.ts +9 -0
- package/lib/types/buttonGesturePolicy.d.ts +4 -0
- package/lib/types/components/AdaptiveLuminance.d.ts +23 -0
- package/lib/types/components/BottomSheet.d.ts +33 -0
- package/lib/types/components/Button.d.ts +16 -0
- package/lib/types/components/Card.d.ts +25 -0
- package/lib/types/components/Checkbox.d.ts +11 -0
- package/lib/types/components/ControlPressContext.d.ts +9 -0
- package/lib/types/components/Dialog.d.ts +12 -0
- package/lib/types/components/DialogAction.d.ts +4 -0
- package/lib/types/components/DialogContent.d.ts +12 -0
- package/lib/types/components/GlassButton.d.ts +38 -0
- package/lib/types/components/GlassFab.d.ts +15 -0
- package/lib/types/components/GlassMagnifier.d.ts +41 -0
- package/lib/types/components/GlassPlayground.d.ts +12 -0
- package/lib/types/components/GlassSlider.d.ts +48 -0
- package/lib/types/components/GlassSwitch.d.ts +46 -0
- package/lib/types/components/GlassTabBar.d.ts +44 -0
- package/lib/types/components/Input.d.ts +47 -0
- package/lib/types/components/ListRow.d.ts +17 -0
- package/lib/types/components/Menu.d.ts +41 -0
- package/lib/types/components/NavigationBar.d.ts +14 -0
- package/lib/types/components/NumberWheel.d.ts +11 -0
- package/lib/types/components/PageFeedList.d.ts +6 -0
- package/lib/types/components/PageScaffold.d.ts +64 -0
- package/lib/types/components/PreferenceGroup.d.ts +12 -0
- package/lib/types/components/ProgressIndicator.d.ts +9 -0
- package/lib/types/components/ProgressiveBlur.d.ts +12 -0
- package/lib/types/components/ReferenceSlider.d.ts +31 -0
- package/lib/types/components/ReferenceTabBar.d.ts +61 -0
- package/lib/types/components/SearchBar.d.ts +52 -0
- package/lib/types/components/SegmentedControl.d.ts +10 -0
- package/lib/types/components/Slider.d.ts +19 -0
- package/lib/types/components/Snackbar.d.ts +5 -0
- package/lib/types/components/SurfaceEnvironmentContext.d.ts +17 -0
- package/lib/types/components/SurfaceGroup.d.ts +17 -0
- package/lib/types/components/Switch.d.ts +12 -0
- package/lib/types/components/Toast.d.ts +14 -0
- package/lib/types/components/TopAppBar.d.ts +49 -0
- package/lib/types/components/bottomSheetMotion.d.ts +2 -0
- package/lib/types/components/glassControlMaterial.d.ts +3 -0
- package/lib/types/components/menuPosition.d.ts +22 -0
- package/lib/types/components/pages/FeedPage.d.ts +31 -0
- package/lib/types/components/pages/PageBenchmarkContext.d.ts +30 -0
- package/lib/types/components/pages/SettingsPage.d.ts +20 -0
- package/lib/types/components/pages/SettingsSection.d.ts +9 -0
- package/lib/types/components/pages/StaticSettingsPage.d.ts +18 -0
- package/lib/types/fallbackKnobGeometry.d.ts +7 -0
- package/lib/types/glassController.d.ts +20 -0
- package/lib/types/glassNativeEngine.d.ts +5 -0
- package/lib/types/glassRuntime.d.ts +7 -0
- package/lib/types/index.d.ts +124 -0
- package/lib/types/inputPresentation.d.ts +12 -0
- package/lib/types/localGlassTelemetry.d.ts +28 -0
- package/lib/types/motion/MotionProvider.d.ts +7 -0
- package/lib/types/motion/easings.d.ts +33 -0
- package/lib/types/motion/folmeSpring.d.ts +15 -0
- package/lib/types/motion/folmeSpringByResponse.d.ts +14 -0
- package/lib/types/motion/index.d.ts +7 -0
- package/lib/types/motion/presets.d.ts +103 -0
- package/lib/types/nativeGlassViews.d.ts +114 -0
- package/lib/types/performanceTelemetry.d.ts +65 -0
- package/lib/types/pointerEventBridge.d.ts +17 -0
- package/lib/types/pointerGeometry.d.ts +2 -0
- package/lib/types/pressVelocity.d.ts +11 -0
- package/lib/types/primitives/Divider.d.ts +19 -0
- package/lib/types/primitives/Icon.d.ts +29 -0
- package/lib/types/primitives/PressIndication.d.ts +26 -0
- package/lib/types/primitives/Pressable.d.ts +9 -0
- package/lib/types/primitives/PressableScale.d.ts +19 -0
- package/lib/types/primitives/Surface.d.ts +63 -0
- package/lib/types/primitives/Text.d.ts +35 -0
- package/lib/types/primitives/index.d.ts +14 -0
- package/lib/types/renderer.d.ts +32 -0
- package/lib/types/sliderValue.d.ts +2 -0
- package/lib/types/surfaceRendererPolicy.d.ts +14 -0
- package/lib/types/theme/ThemeProvider.d.ts +26 -0
- package/lib/types/theme/buildTheme.d.ts +6 -0
- package/lib/types/theme/glassColors.d.ts +13 -0
- package/lib/types/theme/index.d.ts +11 -0
- package/lib/types/theme/liquidGlass.d.ts +5 -0
- package/lib/types/theme/presentation.d.ts +3 -0
- package/lib/types/theme/registry.d.ts +7 -0
- package/lib/types/theme/selectVariant.d.ts +10 -0
- package/lib/types/theme/tokens.d.ts +18 -0
- package/lib/types/theme/types.d.ts +305 -0
- package/lib/types/theme/wallpaper.d.ts +32 -0
- package/lib/types/types.d.ts +127 -0
- package/lib/types/useButtonGesture.d.ts +30 -0
- package/lib/types/useGlassKnobMotion.d.ts +40 -0
- package/lib/types/useGlassPressMotion.d.ts +61 -0
- package/licenses/Apache-2.0-Kyant0-Shapes.txt +191 -0
- package/package.json +139 -4
- package/patches/liquid-glass-kit+1.0.0.patch +2015 -0
- package/patches/liquid-glass-kit-invalidation-coalescing.diff +249 -0
- package/patches/liquid-glass-kit-native-infra.diff +624 -0
- package/scripts/apply-legacy-patches.mjs +116 -0
- package/src/GlassSurface.tsx +1786 -0
- package/src/GlassTabBar.tsx +1304 -0
- package/src/GlassTabLens.tsx +92 -0
- package/src/LiquidGlassProvider.tsx +135 -0
- package/src/LocalGlassMaterial.tsx +262 -0
- package/src/adaptiveLuminance.ts +15 -0
- package/src/badgePalette.ts +54 -0
- package/src/buttonGesturePolicy.ts +15 -0
- package/src/components/AdaptiveLuminance.tsx +40 -0
- package/src/components/BottomSheet.tsx +291 -0
- package/src/components/Button.tsx +30 -0
- package/src/components/Card.tsx +343 -0
- package/src/components/Checkbox.tsx +141 -0
- package/src/components/ControlPressContext.ts +11 -0
- package/src/components/Dialog.tsx +129 -0
- package/src/components/DialogAction.tsx +109 -0
- package/src/components/DialogContent.tsx +52 -0
- package/src/components/GlassButton.tsx +225 -0
- package/src/components/GlassFab.tsx +98 -0
- package/src/components/GlassMagnifier.tsx +178 -0
- package/src/components/GlassPlayground.tsx +190 -0
- package/src/components/GlassSlider.tsx +448 -0
- package/src/components/GlassSwitch.tsx +391 -0
- package/src/components/GlassTabBar.tsx +522 -0
- package/src/components/Input.tsx +277 -0
- package/src/components/ListRow.tsx +124 -0
- package/src/components/Menu.tsx +322 -0
- package/src/components/NavigationBar.tsx +27 -0
- package/src/components/NumberWheel.tsx +344 -0
- package/src/components/PageFeedList.tsx +37 -0
- package/src/components/PageScaffold.tsx +266 -0
- package/src/components/PreferenceGroup.tsx +65 -0
- package/src/components/ProgressIndicator.tsx +63 -0
- package/src/components/ProgressiveBlur.tsx +56 -0
- package/src/components/ReferenceSlider.tsx +364 -0
- package/src/components/ReferenceTabBar.tsx +564 -0
- package/src/components/SearchBar.tsx +340 -0
- package/src/components/SegmentedControl.tsx +45 -0
- package/src/components/Slider.tsx +25 -0
- package/src/components/Snackbar.tsx +10 -0
- package/src/components/SurfaceEnvironmentContext.tsx +46 -0
- package/src/components/SurfaceGroup.tsx +60 -0
- package/src/components/Switch.tsx +18 -0
- package/src/components/Toast.tsx +110 -0
- package/src/components/TopAppBar.tsx +272 -0
- package/src/components/bottomSheetMotion.ts +10 -0
- package/src/components/glassControlMaterial.ts +20 -0
- package/src/components/menuPosition.ts +58 -0
- package/src/components/pages/FeedPage.tsx +96 -0
- package/src/components/pages/PageBenchmarkContext.tsx +105 -0
- package/src/components/pages/SettingsPage.tsx +55 -0
- package/src/components/pages/SettingsSection.tsx +20 -0
- package/src/components/pages/StaticSettingsPage.tsx +50 -0
- package/src/fallbackKnobGeometry.ts +15 -0
- package/src/glassController.ts +74 -0
- package/src/glassNativeEngine.ts +16 -0
- package/src/glassRuntime.ts +28 -0
- package/src/index.ts +199 -0
- package/src/inputPresentation.ts +32 -0
- package/src/localGlassTelemetry.ts +138 -0
- package/src/motion/MotionProvider.tsx +12 -0
- package/src/motion/easings.ts +71 -0
- package/src/motion/folmeSpring.ts +22 -0
- package/src/motion/folmeSpringByResponse.ts +19 -0
- package/src/motion/index.ts +47 -0
- package/src/motion/presets.ts +128 -0
- package/src/nativeGlassViews.ts +147 -0
- package/src/performanceTelemetry.ts +95 -0
- package/src/pointerEventBridge.ts +27 -0
- package/src/pointerGeometry.ts +8 -0
- package/src/pressVelocity.ts +36 -0
- package/src/primitives/Divider.tsx +42 -0
- package/src/primitives/Icon.tsx +44 -0
- package/src/primitives/PressIndication.tsx +43 -0
- package/src/primitives/Pressable.tsx +75 -0
- package/src/primitives/PressableScale.tsx +50 -0
- package/src/primitives/Surface.tsx +171 -0
- package/src/primitives/Text.tsx +80 -0
- package/src/primitives/index.ts +14 -0
- package/src/renderer.ts +70 -0
- package/src/sliderValue.ts +19 -0
- package/src/surfaceRendererPolicy.ts +32 -0
- package/src/theme/ThemeProvider.tsx +52 -0
- package/src/theme/buildTheme.ts +160 -0
- package/src/theme/glassColors.ts +13 -0
- package/src/theme/index.ts +34 -0
- package/src/theme/liquidGlass.ts +25 -0
- package/src/theme/presentation.ts +12 -0
- package/src/theme/registry.ts +16 -0
- package/src/theme/selectVariant.ts +12 -0
- package/src/theme/tokens.ts +309 -0
- package/src/theme/types.ts +345 -0
- package/src/theme/wallpaper.ts +94 -0
- package/src/types.ts +95 -0
- package/src/useButtonGesture.ts +134 -0
- package/src/useGlassKnobMotion.ts +155 -0
- package/src/useGlassPressMotion.ts +209 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.PageBenchmarkProvider = PageBenchmarkProvider;
|
|
37
|
+
exports.usePageBenchmarkConfig = usePageBenchmarkConfig;
|
|
38
|
+
exports.usePageBenchmarkDriver = usePageBenchmarkDriver;
|
|
39
|
+
exports.usePageBenchmarkList = usePageBenchmarkList;
|
|
40
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
41
|
+
const react_1 = __importStar(require("react"));
|
|
42
|
+
const PageBenchmarkContext = (0, react_1.createContext)(null);
|
|
43
|
+
function PageBenchmarkProvider({ config, children }) {
|
|
44
|
+
return (0, jsx_runtime_1.jsx)(PageBenchmarkContext.Provider, { value: config, children: children });
|
|
45
|
+
}
|
|
46
|
+
function usePageBenchmarkConfig() {
|
|
47
|
+
return (0, react_1.useContext)(PageBenchmarkContext);
|
|
48
|
+
}
|
|
49
|
+
function usePageBenchmarkDriver(scrollHandle, testID) {
|
|
50
|
+
const config = usePageBenchmarkConfig();
|
|
51
|
+
(0, react_1.useEffect)(() => {
|
|
52
|
+
if (!config || !scrollHandle || !testID)
|
|
53
|
+
return;
|
|
54
|
+
let offset = 0;
|
|
55
|
+
let direction = 1;
|
|
56
|
+
let readyTimer;
|
|
57
|
+
let startTimer;
|
|
58
|
+
let motionTimer;
|
|
59
|
+
let finishTimer;
|
|
60
|
+
scrollHandle.scrollTo(0, false);
|
|
61
|
+
readyTimer = setTimeout(() => {
|
|
62
|
+
const actualDistance = Math.min(config.scrollDistanceDp, Math.max(0, scrollHandle.maxOffset?.() ?? config.scrollDistanceDp));
|
|
63
|
+
console.info(`[PAGE_BENCHMARK_READY] run=${config.runId} testID=${testID} requestedDistanceDp=${config.scrollDistanceDp} actualDistanceDp=${actualDistance} durationMs=${config.durationMs}`);
|
|
64
|
+
startTimer = setTimeout(() => {
|
|
65
|
+
console.info(`[PAGE_BENCHMARK_START] run=${config.runId} testID=${testID}`);
|
|
66
|
+
if (actualDistance > 0) {
|
|
67
|
+
motionTimer = setInterval(() => {
|
|
68
|
+
const step = Math.min(120, actualDistance);
|
|
69
|
+
const nextOffset = offset + direction * step;
|
|
70
|
+
if (nextOffset >= actualDistance || nextOffset <= 0)
|
|
71
|
+
direction *= -1;
|
|
72
|
+
offset = Math.max(0, Math.min(actualDistance, nextOffset));
|
|
73
|
+
scrollHandle.scrollTo(offset, true);
|
|
74
|
+
}, 250);
|
|
75
|
+
}
|
|
76
|
+
finishTimer = setTimeout(() => {
|
|
77
|
+
if (motionTimer)
|
|
78
|
+
clearInterval(motionTimer);
|
|
79
|
+
scrollHandle.scrollTo(0, false);
|
|
80
|
+
console.info(`[PAGE_BENCHMARK_DONE] run=${config.runId} testID=${testID} durationMs=${config.durationMs}`);
|
|
81
|
+
}, config.durationMs);
|
|
82
|
+
}, 2000);
|
|
83
|
+
}, 2500);
|
|
84
|
+
return () => {
|
|
85
|
+
if (readyTimer)
|
|
86
|
+
clearTimeout(readyTimer);
|
|
87
|
+
if (startTimer)
|
|
88
|
+
clearTimeout(startTimer);
|
|
89
|
+
if (motionTimer)
|
|
90
|
+
clearInterval(motionTimer);
|
|
91
|
+
if (finishTimer)
|
|
92
|
+
clearTimeout(finishTimer);
|
|
93
|
+
};
|
|
94
|
+
}, [config, scrollHandle, testID]);
|
|
95
|
+
}
|
|
96
|
+
function usePageBenchmarkList(testID) {
|
|
97
|
+
const config = usePageBenchmarkConfig();
|
|
98
|
+
const listRef = react_1.default.useRef(null);
|
|
99
|
+
const geometry = react_1.default.useRef({ contentHeight: 0, viewportHeight: 0 });
|
|
100
|
+
const [scrollHandle, setScrollHandle] = react_1.default.useState(null);
|
|
101
|
+
const handle = react_1.default.useMemo(() => ({
|
|
102
|
+
scrollTo: (offset, animated) => {
|
|
103
|
+
const { contentHeight, viewportHeight } = geometry.current;
|
|
104
|
+
const maxOffset = Math.max(0, contentHeight - viewportHeight);
|
|
105
|
+
listRef.current?.scrollToOffset({ offset: Math.max(0, Math.min(offset, maxOffset)), animated });
|
|
106
|
+
},
|
|
107
|
+
maxOffset: () => Math.max(0, geometry.current.contentHeight - geometry.current.viewportHeight),
|
|
108
|
+
}), []);
|
|
109
|
+
const attachList = react_1.default.useCallback((instance) => {
|
|
110
|
+
listRef.current = instance;
|
|
111
|
+
if (config)
|
|
112
|
+
setScrollHandle(instance ? handle : null);
|
|
113
|
+
}, [config, handle]);
|
|
114
|
+
const onLayout = react_1.default.useCallback((event) => {
|
|
115
|
+
geometry.current.viewportHeight = event.nativeEvent.layout.height;
|
|
116
|
+
}, []);
|
|
117
|
+
const onContentSizeChange = react_1.default.useCallback((_width, height) => {
|
|
118
|
+
geometry.current.contentHeight = height;
|
|
119
|
+
}, []);
|
|
120
|
+
usePageBenchmarkDriver(scrollHandle, testID);
|
|
121
|
+
return { listRef: attachList, onLayout, onContentSizeChange };
|
|
122
|
+
}
|
|
123
|
+
//# sourceMappingURL=PageBenchmarkContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageBenchmarkContext.js","sourceRoot":"","sources":["../../../../src/components/pages/PageBenchmarkContext.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,sDAEC;AAED,wDAEC;AAED,wDA8CC;AAED,oDA2BC;;AAxGD,+CAAoE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G,QAAQ,CAAC;QAC3B,IAAI,MAAM;YAAE,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAC1D,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACrB,MAAM,QAAQ,GAAG,eAAK,CAAC,WAAW,CAAC,CAAC,KAAwB,EAAE,EAAE;QAC5D,QAAQ,CAAC,OAAO,CAAC,cAAc,GAAG,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,MAAM,CAAC;IACtE,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,MAAM,mBAAmB,GAAG,eAAK,CAAC,WAAW,CAAC,CAAC,MAAc,EAAE,MAAc,EAAE,EAAE;QAC7E,QAAQ,CAAC,OAAO,CAAC,aAAa,GAAG,MAAM,CAAC;IAC5C,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,sBAAsB,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IAE7C,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,mBAAmB,EAAE,CAAC;AAClE,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.SettingsPage = void 0;
|
|
37
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
38
|
+
const react_1 = __importStar(require("react"));
|
|
39
|
+
const react_native_1 = require("react-native");
|
|
40
|
+
const PageScaffold_1 = require("../PageScaffold");
|
|
41
|
+
const TopAppBar_1 = require("../TopAppBar");
|
|
42
|
+
exports.SettingsPage = react_1.default.memo(function SettingsPage({ title, back, actions, sections, footer, overlays, contentContainerStyle, keyboardShouldPersistTaps, showsVerticalScrollIndicator, testID, }) {
|
|
43
|
+
const footerElement = (0, react_1.useMemo)(() => footer == null ? null : (0, jsx_runtime_1.jsx)(react_native_1.View, { children: footer }), [footer]);
|
|
44
|
+
return ((0, jsx_runtime_1.jsxs)(PageScaffold_1.PageScaffold, { topBar: (0, jsx_runtime_1.jsx)(TopAppBar_1.TopAppBar, { title: title, back: back, actions: actions }), children: [(0, jsx_runtime_1.jsx)(PageScaffold_1.PageSettingsList, { sections: sections, contentContainerStyle: contentContainerStyle, keyboardShouldPersistTaps: keyboardShouldPersistTaps, showsVerticalScrollIndicator: showsVerticalScrollIndicator, ListFooterComponent: footerElement, testID: testID ? `${testID}-scroll` : undefined }), overlays] }));
|
|
45
|
+
});
|
|
46
|
+
exports.SettingsPage.displayName = 'HyperSettingsPage';
|
|
47
|
+
//# sourceMappingURL=SettingsPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SettingsPage.js","sourceRoot":"","sources":["../../../../src/components/pages/SettingsPage.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAuC;AAEvC,+CAAoC;AAEpC,kDAAiE;AACjE,4CAAyC;AAoB5B,QAAA,YAAY,GAAG,eAAK,CAAC,IAAI,CAAC,SAAS,YAAY,CAAC,EACzD,KAAK,EACL,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,qBAAqB,EACrB,yBAAyB,EACzB,4BAA4B,EAC5B,MAAM,GACU;IAChB,MAAM,aAAa,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE,CAAC,MAAM,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,uBAAC,mBAAI,cAAE,MAAM,GAAQ,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IAE7F,OAAO,CACH,wBAAC,2BAAY,IAAC,MAAM,EAAE,uBAAC,qBAAS,IAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,GAAI,aAC3E,uBAAC,+BAAgB,IACb,QAAQ,EAAE,QAAQ,EAClB,qBAAqB,EAAE,qBAAqB,EAC5C,yBAAyB,EAAE,yBAAyB,EACpD,4BAA4B,EAAE,4BAA4B,EAC1D,mBAAmB,EAAE,aAAa,EAClC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,MAAM,SAAS,CAAC,CAAC,CAAC,SAAS,GACjD,EACD,QAAQ,IACE,CAClB,CAAC;AACN,CAAC,CAAC,CAAC;AAEH,oBAAY,CAAC,WAAW,GAAG,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.SettingsSection = void 0;
|
|
7
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
+
const react_1 = __importDefault(require("react"));
|
|
9
|
+
const PreferenceGroup_1 = require("../PreferenceGroup");
|
|
10
|
+
exports.SettingsSection = react_1.default.memo(function SettingsSection({ title, children, style }) {
|
|
11
|
+
return ((0, jsx_runtime_1.jsx)(PreferenceGroup_1.PreferenceGroup, { title: title, style: style, children: children }));
|
|
12
|
+
});
|
|
13
|
+
exports.SettingsSection.displayName = 'HyperSettingsSection';
|
|
14
|
+
//# sourceMappingURL=SettingsSection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SettingsSection.js","sourceRoot":"","sources":["../../../../src/components/pages/SettingsSection.tsx"],"names":[],"mappings":";;;;;;;AAAA,kDAA0B;AAG1B,wDAAqD;AAQxC,QAAA,eAAe,GAAG,eAAK,CAAC,IAAI,CAAC,SAAS,eAAe,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAwB;IAC/G,OAAO,CACH,uBAAC,iCAAe,IAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,YACtC,QAAQ,GACK,CACrB,CAAC;AACN,CAAC,CAAC,CAAC;AAEH,uBAAe,CAAC,WAAW,GAAG,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.StaticSettingsPage = void 0;
|
|
7
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
+
const react_1 = __importDefault(require("react"));
|
|
9
|
+
const PageScaffold_1 = require("../PageScaffold");
|
|
10
|
+
const TopAppBar_1 = require("../TopAppBar");
|
|
11
|
+
/** Small settings and information routes share one non-virtualized scroll template. */
|
|
12
|
+
exports.StaticSettingsPage = react_1.default.memo(function StaticSettingsPage({ title, back, actions, topBar, contentContainerStyle, footer, overlays, scaffoldStyle, routeBackdropCaptureEnabled = true, children, ...scrollProps }) {
|
|
13
|
+
return ((0, jsx_runtime_1.jsxs)(PageScaffold_1.PageScaffold, { topBar: topBar === undefined ? (0, jsx_runtime_1.jsx)(TopAppBar_1.TopAppBar, { title: title, back: back, actions: actions }) : topBar, routeBackdropCaptureEnabled: routeBackdropCaptureEnabled, style: scaffoldStyle, children: [(0, jsx_runtime_1.jsxs)(PageScaffold_1.PageScrollView, { contentContainerStyle: contentContainerStyle, ...scrollProps, children: [children, footer] }), overlays] }));
|
|
14
|
+
});
|
|
15
|
+
exports.StaticSettingsPage.displayName = 'HyperStaticSettingsPage';
|
|
16
|
+
//# sourceMappingURL=StaticSettingsPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StaticSettingsPage.js","sourceRoot":"","sources":["../../../../src/components/pages/StaticSettingsPage.tsx"],"names":[],"mappings":";;;;;;;AAAA,kDAA0B;AAG1B,kDAA+D;AAE/D,4CAAyC;AAezC,uFAAuF;AAC1E,QAAA,kBAAkB,GAAG,eAAK,CAAC,IAAI,CAAC,SAAS,kBAAkB,CAAC,EACrE,KAAK,EACL,IAAI,EACJ,OAAO,EACP,MAAM,EACN,qBAAqB,EACrB,MAAM,EACN,QAAQ,EACR,aAAa,EACb,2BAA2B,GAAG,IAAI,EAClC,QAAQ,EACR,GAAG,WAAW,EACQ;IACtB,OAAO,CACH,wBAAC,2BAAY,IACT,MAAM,EAAE,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,uBAAC,qBAAS,IAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,GAAI,CAAC,CAAC,CAAC,MAAM,EACjG,2BAA2B,EAAE,2BAA2B,EACxD,KAAK,EAAE,aAAa,aAEpB,wBAAC,6BAAc,IAAC,qBAAqB,EAAE,qBAAqB,KAAM,WAAW,aACxE,QAAQ,EACR,MAAM,IACM,EAChB,QAAQ,IACE,CAClB,CAAC;AACN,CAAC,CAAC,CAAC;AAEH,0BAAkB,CAAC,WAAW,GAAG,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.referenceSliderKnobOffset = referenceSliderKnobOffset;
|
|
4
|
+
/**
|
|
5
|
+
* Left offset for the reference slider's glass knob when it is rendered by the
|
|
6
|
+
* local procedural material path. The Android renderer applies this clamp in
|
|
7
|
+
* its value driver; keeping the same formula here preserves the quarter-knob
|
|
8
|
+
* overhang at both endpoints on renderers without that driver.
|
|
9
|
+
*/
|
|
10
|
+
function referenceSliderKnobOffset(progress, trackWidth, knobWidth = 40) {
|
|
11
|
+
'worklet';
|
|
12
|
+
if (!Number.isFinite(progress) || !Number.isFinite(trackWidth) || !Number.isFinite(knobWidth) || trackWidth <= 0 || knobWidth <= 0) {
|
|
13
|
+
return 0;
|
|
14
|
+
}
|
|
15
|
+
const fraction = Math.max(0, Math.min(1, progress));
|
|
16
|
+
const left = fraction * trackWidth - knobWidth / 2;
|
|
17
|
+
return Math.max(-knobWidth / 4, Math.min(trackWidth - knobWidth * 3 / 4, left));
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=fallbackKnobGeometry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fallbackKnobGeometry.js","sourceRoot":"","sources":["../../src/fallbackKnobGeometry.ts"],"names":[],"mappings":";;AAMA,8DAQC;AAdD;;;;;GAKG;AACH,SAAgB,yBAAyB,CAAC,QAAgB,EAAE,UAAkB,EAAE,SAAS,GAAG,EAAE;IAC1F,SAAS,CAAC;IACV,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,UAAU,IAAI,CAAC,IAAI,SAAS,IAAI,CAAC,EAAE,CAAC;QACjI,OAAO,CAAC,CAAC;IACb,CAAC;IACD,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC;IACpD,MAAM,IAAI,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,CAAC,CAAC;IACnD,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,SAAS,GAAG,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,UAAU,GAAG,SAAS,GAAG,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AACpF,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.glassController = void 0;
|
|
4
|
+
exports.setSharedPassEnabled = setSharedPassEnabled;
|
|
5
|
+
exports.forwardPointerToSurface = forwardPointerToSurface;
|
|
6
|
+
exports.forwardValueToSurface = forwardValueToSurface;
|
|
7
|
+
exports.setSharedPassProbe = setSharedPassProbe;
|
|
8
|
+
const expo_modules_core_1 = require("expo-modules-core");
|
|
9
|
+
const react_native_1 = require("react-native");
|
|
10
|
+
const glassNativeEngine_1 = require("./glassNativeEngine");
|
|
11
|
+
const nativeModule = react_native_1.Platform.OS === 'android'
|
|
12
|
+
? (0, expo_modules_core_1.requireNativeModule)('ExpoLiquidGlassProvider')
|
|
13
|
+
: null;
|
|
14
|
+
const coreNativeModule = react_native_1.Platform.OS === 'android'
|
|
15
|
+
? (0, expo_modules_core_1.requireNativeModule)('NewHuLiquidGlassCore')
|
|
16
|
+
: null;
|
|
17
|
+
function setCaptureMode(providerId, mode) {
|
|
18
|
+
if (!providerId)
|
|
19
|
+
return;
|
|
20
|
+
const module = (0, glassNativeEngine_1.getGlassNativeEngine)() === 'core' ? coreNativeModule : nativeModule;
|
|
21
|
+
module?.setCaptureMode(providerId, mode);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Switches the shared multi-shape glass pass on or off at runtime.
|
|
25
|
+
*
|
|
26
|
+
* Exists so one build can capture both paths on an identical scene: any visual
|
|
27
|
+
* comparison between the per-surface renderer and the pass is worthless if the
|
|
28
|
+
* content behind the glass changed between the two captures.
|
|
29
|
+
*/
|
|
30
|
+
function setSharedPassEnabled(enabled) {
|
|
31
|
+
coreNativeModule?.setSharedPassEnabled?.(enabled);
|
|
32
|
+
}
|
|
33
|
+
/** Send one pointer sample to an Android Core surface without updating React props. */
|
|
34
|
+
function forwardPointerToSurface(viewTag, payload) {
|
|
35
|
+
return coreNativeModule?.forwardPointerToSurface?.(viewTag, payload) ?? false;
|
|
36
|
+
}
|
|
37
|
+
/** Send one knob value to an Android Core surface without updating React props. */
|
|
38
|
+
function forwardValueToSurface(viewTag, payload) {
|
|
39
|
+
return coreNativeModule?.forwardValueToSurface?.(viewTag, payload) ?? false;
|
|
40
|
+
}
|
|
41
|
+
/** Paints the shared pass node a flat colour so a screenshot can prove it is drawing. */
|
|
42
|
+
function setSharedPassProbe(enabled) {
|
|
43
|
+
coreNativeModule?.setSharedPassProbe?.(enabled);
|
|
44
|
+
}
|
|
45
|
+
function prepareFrozenBackdrop(providerId, blurRadiusDp) {
|
|
46
|
+
if (!providerId)
|
|
47
|
+
return;
|
|
48
|
+
const module = (0, glassNativeEngine_1.getGlassNativeEngine)() === 'core' ? coreNativeModule : nativeModule;
|
|
49
|
+
module?.prepareFrozenBackdrop(providerId, blurRadiusDp);
|
|
50
|
+
}
|
|
51
|
+
exports.glassController = {
|
|
52
|
+
oneShot(providerId) {
|
|
53
|
+
setCaptureMode(providerId, 'oneShot');
|
|
54
|
+
},
|
|
55
|
+
freeze(providerId) {
|
|
56
|
+
setCaptureMode(providerId, 'frozen');
|
|
57
|
+
},
|
|
58
|
+
resume(providerId) {
|
|
59
|
+
setCaptureMode(providerId, 'live');
|
|
60
|
+
},
|
|
61
|
+
prepareFrozenBackdrop(providerId, blurRadiusDp) {
|
|
62
|
+
prepareFrozenBackdrop(providerId, blurRadiusDp);
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
//# sourceMappingURL=glassController.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"glassController.js","sourceRoot":"","sources":["../../src/glassController.ts"],"names":[],"mappings":";;;AAmCA,oDAEC;AAGD,0DAEC;AAGD,sDAEC;AAGD,gDAEC;AApDD,yDAAwD;AACxD,+CAAwC;AACxC,2DAA2D;AAa3D,MAAM,YAAY,GAAG,uBAAQ,CAAC,EAAE,KAAK,SAAS;IAC1C,CAAC,CAAC,IAAA,uCAAmB,EAAoC,yBAAyB,CAAC;IACnF,CAAC,CAAC,IAAI,CAAC;AACX,MAAM,gBAAgB,GAAG,uBAAQ,CAAC,EAAE,KAAK,SAAS;IAC9C,CAAC,CAAC,IAAA,uCAAmB,EAAoC,sBAAsB,CAAC;IAChF,CAAC,CAAC,IAAI,CAAC;AAEX,SAAS,cAAc,CAAC,UAAyB,EAAE,IAAiB;IAChE,IAAI,CAAC,UAAU;QAAE,OAAO;IACxB,MAAM,MAAM,GAAG,IAAA,wCAAoB,GAAE,KAAK,MAAM,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,YAAY,CAAC;IACnF,MAAM,EAA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AAC,UAAU,EAAE,YAAY,CAAC,CAAC;IACpD,CAAC;CACJ,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getGlassNativeEngine = getGlassNativeEngine;
|
|
4
|
+
exports.subscribeGlassNativeEngine = subscribeGlassNativeEngine;
|
|
5
|
+
exports.setGlassNativeEngine = setGlassNativeEngine;
|
|
6
|
+
const glassRuntime_1 = require("./glassRuntime");
|
|
7
|
+
function getGlassNativeEngine() {
|
|
8
|
+
return (0, glassRuntime_1.getGlassRuntime)().engine;
|
|
9
|
+
}
|
|
10
|
+
function subscribeGlassNativeEngine(listener) {
|
|
11
|
+
return (0, glassRuntime_1.subscribeGlassRuntime)(listener);
|
|
12
|
+
}
|
|
13
|
+
function setGlassNativeEngine(next) {
|
|
14
|
+
(0, glassRuntime_1.setGlassRuntime)({ engine: next });
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=glassNativeEngine.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"glassNativeEngine.js","sourceRoot":"","sources":["../../src/glassNativeEngine.ts"],"names":[],"mappings":";;AAKA,oDAEC;AAED,gEAEC;AAED,oDAEC;AAfD,iDAAyF;AAKzF,SAAgB,oBAAoB;IAChC,OAAO,IAAA,8BAAe,GAAE,CAAC,MAAM,CAAC;AACpC,CAAC;AAED,SAAgB,0BAA0B,CAAC,QAAoB;IAC3D,OAAO,IAAA,oCAAqB,EAAC,QAAQ,CAAC,CAAC;AAC3C,CAAC;AAED,SAAgB,oBAAoB,CAAC,IAAuB;IACxD,IAAA,8BAAe,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;AACtC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getGlassRuntime = getGlassRuntime;
|
|
4
|
+
exports.subscribeGlassRuntime = subscribeGlassRuntime;
|
|
5
|
+
exports.setGlassRuntime = setGlassRuntime;
|
|
6
|
+
// The v3 optical core is the renderer: it owns the motion springs, the AGSL
|
|
7
|
+
// shader and the deformation transform. 'legacy' remains only as the fallback for
|
|
8
|
+
// surfaces the core cannot host, so defaulting to it meant every control rendered
|
|
9
|
+
// through a view that has no motion driver at all — the button drew its material
|
|
10
|
+
// and never animated, because nothing was listening.
|
|
11
|
+
let runtime = { engine: 'core' };
|
|
12
|
+
const listeners = new Set();
|
|
13
|
+
function getGlassRuntime() {
|
|
14
|
+
return runtime;
|
|
15
|
+
}
|
|
16
|
+
function subscribeGlassRuntime(listener) {
|
|
17
|
+
listeners.add(listener);
|
|
18
|
+
return () => listeners.delete(listener);
|
|
19
|
+
}
|
|
20
|
+
function setGlassRuntime(next) {
|
|
21
|
+
if (runtime.engine === next.engine)
|
|
22
|
+
return;
|
|
23
|
+
runtime = next;
|
|
24
|
+
for (const listener of listeners)
|
|
25
|
+
listener();
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=glassRuntime.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"glassRuntime.js","sourceRoot":"","sources":["../../src/glassRuntime.ts"],"names":[],"mappings":";;AAcA,0CAEC;AAED,sDAGC;AAED,0CAIC;AArBD,4EAA4E;AAC5E,kFAAkF;AAClF,kFAAkF;AAClF,iFAAiF;AACjF,qDAAqD;AACrD,IAAI,OAAO,GAAuB,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;AACrD,MAAM,SAAS,GAAG,IAAI,GAAG,EAAc,CAAC;AAExC,SAAgB,eAAe;IAC3B,OAAO,OAAO,CAAC;AACnB,CAAC;AAED,SAAgB,qBAAqB,CAAC,QAAoB;IACtD,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,OAAO,GAAG,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AAC5C,CAAC;AAED,SAAgB,eAAe,CAAC,IAAwB;IACpD,IAAI,OAAO,CAAC,MAAM,KAAK,IAAI,CAAC,MAAM;QAAE,OAAO;IAC3C,OAAO,GAAG,IAAI,CAAC;IACf,KAAK,MAAM,QAAQ,IAAI,SAAS;QAAE,QAAQ,EAAE,CAAC;AACjD,CAAC"}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Liquid Glass — a standalone React Native UI library.
|
|
4
|
+
*
|
|
5
|
+
* It owns the complete glass UI kit (theme, motion, primitives and controls)
|
|
6
|
+
* and the Android native rendering engine that samples and refracts the scene
|
|
7
|
+
* behind each surface. It does not depend on any other UI library.
|
|
8
|
+
*/
|
|
9
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
12
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
13
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
14
|
+
}
|
|
15
|
+
Object.defineProperty(o, k2, desc);
|
|
16
|
+
}) : (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
o[k2] = m[k];
|
|
19
|
+
}));
|
|
20
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
21
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
22
|
+
};
|
|
23
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
24
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.SurfaceGroup = exports.PreferenceGroup = exports.ProgressIndicator = exports.NumberWheel = exports.ListRow = exports.Snackbar = exports.Menu = exports.BottomSheet = exports.DialogAction = exports.DialogContent = exports.Dialog = exports.NavigationBar = exports.TopAppBar = exports.SearchBar = exports.Input = exports.SegmentedControl = exports.Slider = exports.Switch = exports.Checkbox = exports.Card = exports.Button = exports.resolveInputPresentation = exports.getDistinctBadgePalette = exports.getBadgeColorsByIndex = exports.badgeColorSeed = exports.typography = exports.spacing = exports.radius = exports.opacity = exports.componentTokens = exports.lightColors = exports.darkColors = exports.wallpaperConfig = exports.resolveBackdropSource = exports.liquidGlassWallpaperTokens = exports.getWallpaperScrim = exports.getWallpaperBlurRadius = exports.getWallpaperBase = exports.applyBackdropPresentation = exports.liquidGlassForegroundColors = exports.liquidGlassPresentation = exports.liquidGlassDarkTheme = exports.liquidGlassLightTheme = exports.resolveThemeVariant = exports.resolveLiquidGlassTheme = exports.liquidGlassThemeVariants = exports.useTheme = exports.useLiquidGlassTheme = exports.LiquidGlassThemeProvider = exports.LiquidGlassProvider = void 0;
|
|
28
|
+
exports.getGlassRuntime = exports.setGlassNativeEngine = exports.getGlassNativeEngine = exports.setSharedPassProbe = exports.setSharedPassEnabled = exports.glassController = exports.useGlassPressMotion = exports.useGlassButtonGesture = exports.useGlassSamplingProviderId = exports.useGlassReducedMotion = exports.useGlassProviderId = exports.useGlassInsideScroll = exports.useGlassInsideCaptureScope = exports.useGlassAppearance = exports.RouteGlassCaptureSource = exports.RouteGlassCaptureScope = exports.GlassSurface = exports.GlassRouteTransitionScope = exports.GlassOverlay = exports.GlassMaterialProvider = exports.GlassAppearanceProvider = exports.ReferenceTabBar = exports.FlightIcon = exports.ReferenceSlider = exports.ProgressiveBlur = exports.GlassPlayground = exports.GlassMagnifier = exports.Toast = exports.GlassFab = exports.useGlassKnobMotion = exports.GlassReferenceTabBar = exports.GlassSlider = exports.GlassSwitch = exports.GlassButton = exports.SettingsSection = exports.StaticSettingsPage = exports.SettingsPage = exports.FeedPage = exports.PageFeedList = exports.usePageContentInset = exports.PageSettingsList = exports.PageScrollView = exports.PageScaffold = exports.PageFlatList = exports.PageFlashList = exports.PageContent = exports.useSurfaceEnvironment = exports.GlassOverlayContentScope = exports.resolveAdaptiveLuminanceForeground = exports.AdaptiveLuminance = void 0;
|
|
29
|
+
exports.setSurfaceRendererPolicyOverride = exports.getSurfaceRendererPolicyOverride = exports.getSurfaceRendererPolicy = exports.setLocalGlassVisibleItemCount = exports.setLocalGlassTelemetryEnabled = exports.setLocalGlassNativeEngine = exports.setLocalGlassHardwareLayerExperimentEnabled = exports.getLocalGlassTelemetry = exports.getLocalGlassNativeEngine = exports.setLiquidGlassPerformanceTelemetryEnabled = exports.getLiquidGlassPerformanceStats = exports.beginEffectiveScrollFpsSession = exports.GLASS_TAB_BAR_CONTENT_INSET = exports.GlassTabBar = exports.GlassTabLens = exports.setGlassRuntime = void 0;
|
|
30
|
+
// ---- Provider: the entry point of an independent application --------------
|
|
31
|
+
var LiquidGlassProvider_1 = require("./LiquidGlassProvider");
|
|
32
|
+
Object.defineProperty(exports, "LiquidGlassProvider", { enumerable: true, get: function () { return LiquidGlassProvider_1.LiquidGlassProvider; } });
|
|
33
|
+
var theme_1 = require("./theme");
|
|
34
|
+
Object.defineProperty(exports, "LiquidGlassThemeProvider", { enumerable: true, get: function () { return theme_1.LiquidGlassThemeProvider; } });
|
|
35
|
+
Object.defineProperty(exports, "useLiquidGlassTheme", { enumerable: true, get: function () { return theme_1.useLiquidGlassTheme; } });
|
|
36
|
+
Object.defineProperty(exports, "useTheme", { enumerable: true, get: function () { return theme_1.useTheme; } });
|
|
37
|
+
// ---- Theme: appearance, palette, geometry and optical materials -----------
|
|
38
|
+
var theme_2 = require("./theme");
|
|
39
|
+
Object.defineProperty(exports, "liquidGlassThemeVariants", { enumerable: true, get: function () { return theme_2.liquidGlassThemeVariants; } });
|
|
40
|
+
Object.defineProperty(exports, "resolveLiquidGlassTheme", { enumerable: true, get: function () { return theme_2.resolveLiquidGlassTheme; } });
|
|
41
|
+
Object.defineProperty(exports, "resolveThemeVariant", { enumerable: true, get: function () { return theme_2.resolveThemeVariant; } });
|
|
42
|
+
var theme_3 = require("./theme");
|
|
43
|
+
Object.defineProperty(exports, "liquidGlassLightTheme", { enumerable: true, get: function () { return theme_3.liquidGlassLightTheme; } });
|
|
44
|
+
Object.defineProperty(exports, "liquidGlassDarkTheme", { enumerable: true, get: function () { return theme_3.liquidGlassDarkTheme; } });
|
|
45
|
+
var theme_4 = require("./theme");
|
|
46
|
+
Object.defineProperty(exports, "liquidGlassPresentation", { enumerable: true, get: function () { return theme_4.liquidGlassPresentation; } });
|
|
47
|
+
Object.defineProperty(exports, "liquidGlassForegroundColors", { enumerable: true, get: function () { return theme_4.liquidGlassForegroundColors; } });
|
|
48
|
+
var theme_5 = require("./theme");
|
|
49
|
+
Object.defineProperty(exports, "applyBackdropPresentation", { enumerable: true, get: function () { return theme_5.applyBackdropPresentation; } });
|
|
50
|
+
Object.defineProperty(exports, "getWallpaperBase", { enumerable: true, get: function () { return theme_5.getWallpaperBase; } });
|
|
51
|
+
Object.defineProperty(exports, "getWallpaperBlurRadius", { enumerable: true, get: function () { return theme_5.getWallpaperBlurRadius; } });
|
|
52
|
+
Object.defineProperty(exports, "getWallpaperScrim", { enumerable: true, get: function () { return theme_5.getWallpaperScrim; } });
|
|
53
|
+
Object.defineProperty(exports, "liquidGlassWallpaperTokens", { enumerable: true, get: function () { return theme_5.liquidGlassWallpaperTokens; } });
|
|
54
|
+
Object.defineProperty(exports, "resolveBackdropSource", { enumerable: true, get: function () { return theme_5.resolveBackdropSource; } });
|
|
55
|
+
Object.defineProperty(exports, "wallpaperConfig", { enumerable: true, get: function () { return theme_5.wallpaperConfig; } });
|
|
56
|
+
var theme_6 = require("./theme");
|
|
57
|
+
Object.defineProperty(exports, "darkColors", { enumerable: true, get: function () { return theme_6.darkColors; } });
|
|
58
|
+
Object.defineProperty(exports, "lightColors", { enumerable: true, get: function () { return theme_6.lightColors; } });
|
|
59
|
+
Object.defineProperty(exports, "componentTokens", { enumerable: true, get: function () { return theme_6.componentTokens; } });
|
|
60
|
+
Object.defineProperty(exports, "opacity", { enumerable: true, get: function () { return theme_6.opacity; } });
|
|
61
|
+
Object.defineProperty(exports, "radius", { enumerable: true, get: function () { return theme_6.radius; } });
|
|
62
|
+
Object.defineProperty(exports, "spacing", { enumerable: true, get: function () { return theme_6.spacing; } });
|
|
63
|
+
Object.defineProperty(exports, "typography", { enumerable: true, get: function () { return theme_6.typography; } });
|
|
64
|
+
// ---- Motion: spring presets and the reduced-motion preference -------------
|
|
65
|
+
__exportStar(require("./motion"), exports);
|
|
66
|
+
// ---- Primitives ----------------------------------------------------------
|
|
67
|
+
__exportStar(require("./primitives"), exports);
|
|
68
|
+
var badgePalette_1 = require("./badgePalette");
|
|
69
|
+
Object.defineProperty(exports, "badgeColorSeed", { enumerable: true, get: function () { return badgePalette_1.badgeColorSeed; } });
|
|
70
|
+
Object.defineProperty(exports, "getBadgeColorsByIndex", { enumerable: true, get: function () { return badgePalette_1.getBadgeColorsByIndex; } });
|
|
71
|
+
Object.defineProperty(exports, "getDistinctBadgePalette", { enumerable: true, get: function () { return badgePalette_1.getDistinctBadgePalette; } });
|
|
72
|
+
var inputPresentation_1 = require("./inputPresentation");
|
|
73
|
+
Object.defineProperty(exports, "resolveInputPresentation", { enumerable: true, get: function () { return inputPresentation_1.resolveInputPresentation; } });
|
|
74
|
+
// ---- Components: the standard control set --------------------------------
|
|
75
|
+
var Button_1 = require("./components/Button");
|
|
76
|
+
Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return Button_1.Button; } });
|
|
77
|
+
var Card_1 = require("./components/Card");
|
|
78
|
+
Object.defineProperty(exports, "Card", { enumerable: true, get: function () { return Card_1.Card; } });
|
|
79
|
+
var Checkbox_1 = require("./components/Checkbox");
|
|
80
|
+
Object.defineProperty(exports, "Checkbox", { enumerable: true, get: function () { return Checkbox_1.Checkbox; } });
|
|
81
|
+
var Switch_1 = require("./components/Switch");
|
|
82
|
+
Object.defineProperty(exports, "Switch", { enumerable: true, get: function () { return Switch_1.Switch; } });
|
|
83
|
+
var Slider_1 = require("./components/Slider");
|
|
84
|
+
Object.defineProperty(exports, "Slider", { enumerable: true, get: function () { return Slider_1.Slider; } });
|
|
85
|
+
var SegmentedControl_1 = require("./components/SegmentedControl");
|
|
86
|
+
Object.defineProperty(exports, "SegmentedControl", { enumerable: true, get: function () { return SegmentedControl_1.SegmentedControl; } });
|
|
87
|
+
var Input_1 = require("./components/Input");
|
|
88
|
+
Object.defineProperty(exports, "Input", { enumerable: true, get: function () { return Input_1.Input; } });
|
|
89
|
+
var SearchBar_1 = require("./components/SearchBar");
|
|
90
|
+
Object.defineProperty(exports, "SearchBar", { enumerable: true, get: function () { return SearchBar_1.SearchBar; } });
|
|
91
|
+
var TopAppBar_1 = require("./components/TopAppBar");
|
|
92
|
+
Object.defineProperty(exports, "TopAppBar", { enumerable: true, get: function () { return TopAppBar_1.TopAppBar; } });
|
|
93
|
+
var NavigationBar_1 = require("./components/NavigationBar");
|
|
94
|
+
Object.defineProperty(exports, "NavigationBar", { enumerable: true, get: function () { return NavigationBar_1.NavigationBar; } });
|
|
95
|
+
var Dialog_1 = require("./components/Dialog");
|
|
96
|
+
Object.defineProperty(exports, "Dialog", { enumerable: true, get: function () { return Dialog_1.Dialog; } });
|
|
97
|
+
var DialogContent_1 = require("./components/DialogContent");
|
|
98
|
+
Object.defineProperty(exports, "DialogContent", { enumerable: true, get: function () { return DialogContent_1.DialogContent; } });
|
|
99
|
+
var DialogAction_1 = require("./components/DialogAction");
|
|
100
|
+
Object.defineProperty(exports, "DialogAction", { enumerable: true, get: function () { return DialogAction_1.DialogAction; } });
|
|
101
|
+
var BottomSheet_1 = require("./components/BottomSheet");
|
|
102
|
+
Object.defineProperty(exports, "BottomSheet", { enumerable: true, get: function () { return BottomSheet_1.BottomSheet; } });
|
|
103
|
+
var Menu_1 = require("./components/Menu");
|
|
104
|
+
Object.defineProperty(exports, "Menu", { enumerable: true, get: function () { return Menu_1.Menu; } });
|
|
105
|
+
var Snackbar_1 = require("./components/Snackbar");
|
|
106
|
+
Object.defineProperty(exports, "Snackbar", { enumerable: true, get: function () { return Snackbar_1.Snackbar; } });
|
|
107
|
+
var ListRow_1 = require("./components/ListRow");
|
|
108
|
+
Object.defineProperty(exports, "ListRow", { enumerable: true, get: function () { return ListRow_1.ListRow; } });
|
|
109
|
+
var NumberWheel_1 = require("./components/NumberWheel");
|
|
110
|
+
Object.defineProperty(exports, "NumberWheel", { enumerable: true, get: function () { return __importDefault(NumberWheel_1).default; } });
|
|
111
|
+
var ProgressIndicator_1 = require("./components/ProgressIndicator");
|
|
112
|
+
Object.defineProperty(exports, "ProgressIndicator", { enumerable: true, get: function () { return __importDefault(ProgressIndicator_1).default; } });
|
|
113
|
+
var PreferenceGroup_1 = require("./components/PreferenceGroup");
|
|
114
|
+
Object.defineProperty(exports, "PreferenceGroup", { enumerable: true, get: function () { return PreferenceGroup_1.PreferenceGroup; } });
|
|
115
|
+
var SurfaceGroup_1 = require("./components/SurfaceGroup");
|
|
116
|
+
Object.defineProperty(exports, "SurfaceGroup", { enumerable: true, get: function () { return SurfaceGroup_1.SurfaceGroup; } });
|
|
117
|
+
var AdaptiveLuminance_1 = require("./components/AdaptiveLuminance");
|
|
118
|
+
Object.defineProperty(exports, "AdaptiveLuminance", { enumerable: true, get: function () { return AdaptiveLuminance_1.AdaptiveLuminance; } });
|
|
119
|
+
Object.defineProperty(exports, "resolveAdaptiveLuminanceForeground", { enumerable: true, get: function () { return AdaptiveLuminance_1.resolveAdaptiveLuminanceForeground; } });
|
|
120
|
+
var SurfaceEnvironmentContext_1 = require("./components/SurfaceEnvironmentContext");
|
|
121
|
+
Object.defineProperty(exports, "GlassOverlayContentScope", { enumerable: true, get: function () { return SurfaceEnvironmentContext_1.GlassOverlayContentScope; } });
|
|
122
|
+
Object.defineProperty(exports, "useSurfaceEnvironment", { enumerable: true, get: function () { return SurfaceEnvironmentContext_1.useSurfaceEnvironment; } });
|
|
123
|
+
// ---- Page composition ----------------------------------------------------
|
|
124
|
+
var PageScaffold_1 = require("./components/PageScaffold");
|
|
125
|
+
Object.defineProperty(exports, "PageContent", { enumerable: true, get: function () { return PageScaffold_1.PageContent; } });
|
|
126
|
+
Object.defineProperty(exports, "PageFlashList", { enumerable: true, get: function () { return PageScaffold_1.PageFlashList; } });
|
|
127
|
+
Object.defineProperty(exports, "PageFlatList", { enumerable: true, get: function () { return PageScaffold_1.PageFlatList; } });
|
|
128
|
+
Object.defineProperty(exports, "PageScaffold", { enumerable: true, get: function () { return PageScaffold_1.PageScaffold; } });
|
|
129
|
+
Object.defineProperty(exports, "PageScrollView", { enumerable: true, get: function () { return PageScaffold_1.PageScrollView; } });
|
|
130
|
+
Object.defineProperty(exports, "PageSettingsList", { enumerable: true, get: function () { return PageScaffold_1.PageSettingsList; } });
|
|
131
|
+
Object.defineProperty(exports, "usePageContentInset", { enumerable: true, get: function () { return PageScaffold_1.usePageContentInset; } });
|
|
132
|
+
var PageFeedList_1 = require("./components/PageFeedList");
|
|
133
|
+
Object.defineProperty(exports, "PageFeedList", { enumerable: true, get: function () { return PageFeedList_1.PageFeedList; } });
|
|
134
|
+
var FeedPage_1 = require("./components/pages/FeedPage");
|
|
135
|
+
Object.defineProperty(exports, "FeedPage", { enumerable: true, get: function () { return FeedPage_1.FeedPage; } });
|
|
136
|
+
var SettingsPage_1 = require("./components/pages/SettingsPage");
|
|
137
|
+
Object.defineProperty(exports, "SettingsPage", { enumerable: true, get: function () { return SettingsPage_1.SettingsPage; } });
|
|
138
|
+
var StaticSettingsPage_1 = require("./components/pages/StaticSettingsPage");
|
|
139
|
+
Object.defineProperty(exports, "StaticSettingsPage", { enumerable: true, get: function () { return StaticSettingsPage_1.StaticSettingsPage; } });
|
|
140
|
+
var SettingsSection_1 = require("./components/pages/SettingsSection");
|
|
141
|
+
Object.defineProperty(exports, "SettingsSection", { enumerable: true, get: function () { return SettingsSection_1.SettingsSection; } });
|
|
142
|
+
// ---- Glass-only components -----------------------------------------------
|
|
143
|
+
var GlassButton_1 = require("./components/GlassButton");
|
|
144
|
+
Object.defineProperty(exports, "GlassButton", { enumerable: true, get: function () { return GlassButton_1.GlassButton; } });
|
|
145
|
+
var GlassSwitch_1 = require("./components/GlassSwitch");
|
|
146
|
+
Object.defineProperty(exports, "GlassSwitch", { enumerable: true, get: function () { return GlassSwitch_1.GlassSwitch; } });
|
|
147
|
+
var GlassSlider_1 = require("./components/GlassSlider");
|
|
148
|
+
Object.defineProperty(exports, "GlassSlider", { enumerable: true, get: function () { return GlassSlider_1.GlassSlider; } });
|
|
149
|
+
// Item-icon API for callers that supply a self-contained tab item. The app's
|
|
150
|
+
// floating GlassTabBar and catalog ReferenceTabBar share the reference renderer.
|
|
151
|
+
var GlassTabBar_1 = require("./components/GlassTabBar");
|
|
152
|
+
Object.defineProperty(exports, "GlassReferenceTabBar", { enumerable: true, get: function () { return GlassTabBar_1.GlassTabBar; } });
|
|
153
|
+
var useGlassKnobMotion_1 = require("./useGlassKnobMotion");
|
|
154
|
+
Object.defineProperty(exports, "useGlassKnobMotion", { enumerable: true, get: function () { return useGlassKnobMotion_1.useGlassKnobMotion; } });
|
|
155
|
+
var GlassFab_1 = require("./components/GlassFab");
|
|
156
|
+
Object.defineProperty(exports, "GlassFab", { enumerable: true, get: function () { return GlassFab_1.GlassFab; } });
|
|
157
|
+
var Toast_1 = require("./components/Toast");
|
|
158
|
+
Object.defineProperty(exports, "Toast", { enumerable: true, get: function () { return Toast_1.Toast; } });
|
|
159
|
+
var GlassMagnifier_1 = require("./components/GlassMagnifier");
|
|
160
|
+
Object.defineProperty(exports, "GlassMagnifier", { enumerable: true, get: function () { return GlassMagnifier_1.GlassMagnifier; } });
|
|
161
|
+
var GlassPlayground_1 = require("./components/GlassPlayground");
|
|
162
|
+
Object.defineProperty(exports, "GlassPlayground", { enumerable: true, get: function () { return GlassPlayground_1.GlassPlayground; } });
|
|
163
|
+
var ProgressiveBlur_1 = require("./components/ProgressiveBlur");
|
|
164
|
+
Object.defineProperty(exports, "ProgressiveBlur", { enumerable: true, get: function () { return ProgressiveBlur_1.ProgressiveBlur; } });
|
|
165
|
+
var ReferenceSlider_1 = require("./components/ReferenceSlider");
|
|
166
|
+
Object.defineProperty(exports, "ReferenceSlider", { enumerable: true, get: function () { return ReferenceSlider_1.ReferenceSlider; } });
|
|
167
|
+
var ReferenceTabBar_1 = require("./components/ReferenceTabBar");
|
|
168
|
+
Object.defineProperty(exports, "FlightIcon", { enumerable: true, get: function () { return ReferenceTabBar_1.FlightIcon; } });
|
|
169
|
+
Object.defineProperty(exports, "ReferenceTabBar", { enumerable: true, get: function () { return ReferenceTabBar_1.ReferenceTabBar; } });
|
|
170
|
+
// ---- Renderer API: surfaces, providers, overlays and telemetry -----------
|
|
171
|
+
var GlassSurface_1 = require("./GlassSurface");
|
|
172
|
+
Object.defineProperty(exports, "GlassAppearanceProvider", { enumerable: true, get: function () { return GlassSurface_1.GlassAppearanceProvider; } });
|
|
173
|
+
Object.defineProperty(exports, "GlassMaterialProvider", { enumerable: true, get: function () { return GlassSurface_1.GlassMaterialProvider; } });
|
|
174
|
+
Object.defineProperty(exports, "GlassOverlay", { enumerable: true, get: function () { return GlassSurface_1.GlassOverlay; } });
|
|
175
|
+
Object.defineProperty(exports, "GlassRouteTransitionScope", { enumerable: true, get: function () { return GlassSurface_1.GlassRouteTransitionScope; } });
|
|
176
|
+
Object.defineProperty(exports, "GlassSurface", { enumerable: true, get: function () { return GlassSurface_1.GlassSurface; } });
|
|
177
|
+
Object.defineProperty(exports, "RouteGlassCaptureScope", { enumerable: true, get: function () { return GlassSurface_1.RouteGlassCaptureScope; } });
|
|
178
|
+
Object.defineProperty(exports, "RouteGlassCaptureSource", { enumerable: true, get: function () { return GlassSurface_1.RouteGlassCaptureSource; } });
|
|
179
|
+
Object.defineProperty(exports, "useGlassAppearance", { enumerable: true, get: function () { return GlassSurface_1.useGlassAppearance; } });
|
|
180
|
+
Object.defineProperty(exports, "useGlassInsideCaptureScope", { enumerable: true, get: function () { return GlassSurface_1.useGlassInsideCaptureScope; } });
|
|
181
|
+
Object.defineProperty(exports, "useGlassInsideScroll", { enumerable: true, get: function () { return GlassSurface_1.useGlassInsideScroll; } });
|
|
182
|
+
Object.defineProperty(exports, "useGlassProviderId", { enumerable: true, get: function () { return GlassSurface_1.useGlassProviderId; } });
|
|
183
|
+
Object.defineProperty(exports, "useGlassReducedMotion", { enumerable: true, get: function () { return GlassSurface_1.useGlassReducedMotion; } });
|
|
184
|
+
Object.defineProperty(exports, "useGlassSamplingProviderId", { enumerable: true, get: function () { return GlassSurface_1.useGlassSamplingProviderId; } });
|
|
185
|
+
var useGlassPressMotion_1 = require("./useGlassPressMotion");
|
|
186
|
+
Object.defineProperty(exports, "useGlassButtonGesture", { enumerable: true, get: function () { return useGlassPressMotion_1.useGlassButtonGesture; } });
|
|
187
|
+
Object.defineProperty(exports, "useGlassPressMotion", { enumerable: true, get: function () { return useGlassPressMotion_1.useGlassPressMotion; } });
|
|
188
|
+
var glassController_1 = require("./glassController");
|
|
189
|
+
Object.defineProperty(exports, "glassController", { enumerable: true, get: function () { return glassController_1.glassController; } });
|
|
190
|
+
Object.defineProperty(exports, "setSharedPassEnabled", { enumerable: true, get: function () { return glassController_1.setSharedPassEnabled; } });
|
|
191
|
+
Object.defineProperty(exports, "setSharedPassProbe", { enumerable: true, get: function () { return glassController_1.setSharedPassProbe; } });
|
|
192
|
+
var glassNativeEngine_1 = require("./glassNativeEngine");
|
|
193
|
+
Object.defineProperty(exports, "getGlassNativeEngine", { enumerable: true, get: function () { return glassNativeEngine_1.getGlassNativeEngine; } });
|
|
194
|
+
Object.defineProperty(exports, "setGlassNativeEngine", { enumerable: true, get: function () { return glassNativeEngine_1.setGlassNativeEngine; } });
|
|
195
|
+
var glassRuntime_1 = require("./glassRuntime");
|
|
196
|
+
Object.defineProperty(exports, "getGlassRuntime", { enumerable: true, get: function () { return glassRuntime_1.getGlassRuntime; } });
|
|
197
|
+
Object.defineProperty(exports, "setGlassRuntime", { enumerable: true, get: function () { return glassRuntime_1.setGlassRuntime; } });
|
|
198
|
+
var GlassTabLens_1 = require("./GlassTabLens");
|
|
199
|
+
Object.defineProperty(exports, "GlassTabLens", { enumerable: true, get: function () { return GlassTabLens_1.GlassTabLens; } });
|
|
200
|
+
var GlassTabBar_2 = require("./GlassTabBar");
|
|
201
|
+
Object.defineProperty(exports, "GlassTabBar", { enumerable: true, get: function () { return GlassTabBar_2.GlassTabBar; } });
|
|
202
|
+
Object.defineProperty(exports, "GLASS_TAB_BAR_CONTENT_INSET", { enumerable: true, get: function () { return GlassTabBar_2.GLASS_TAB_BAR_CONTENT_INSET; } });
|
|
203
|
+
var performanceTelemetry_1 = require("./performanceTelemetry");
|
|
204
|
+
Object.defineProperty(exports, "beginEffectiveScrollFpsSession", { enumerable: true, get: function () { return performanceTelemetry_1.beginEffectiveScrollFpsSession; } });
|
|
205
|
+
Object.defineProperty(exports, "getLiquidGlassPerformanceStats", { enumerable: true, get: function () { return performanceTelemetry_1.getLiquidGlassPerformanceStats; } });
|
|
206
|
+
Object.defineProperty(exports, "setLiquidGlassPerformanceTelemetryEnabled", { enumerable: true, get: function () { return performanceTelemetry_1.setLiquidGlassPerformanceTelemetryEnabled; } });
|
|
207
|
+
var localGlassTelemetry_1 = require("./localGlassTelemetry");
|
|
208
|
+
Object.defineProperty(exports, "getLocalGlassNativeEngine", { enumerable: true, get: function () { return localGlassTelemetry_1.getLocalGlassNativeEngine; } });
|
|
209
|
+
Object.defineProperty(exports, "getLocalGlassTelemetry", { enumerable: true, get: function () { return localGlassTelemetry_1.getLocalGlassTelemetry; } });
|
|
210
|
+
Object.defineProperty(exports, "setLocalGlassHardwareLayerExperimentEnabled", { enumerable: true, get: function () { return localGlassTelemetry_1.setLocalGlassHardwareLayerExperimentEnabled; } });
|
|
211
|
+
Object.defineProperty(exports, "setLocalGlassNativeEngine", { enumerable: true, get: function () { return localGlassTelemetry_1.setLocalGlassNativeEngine; } });
|
|
212
|
+
Object.defineProperty(exports, "setLocalGlassTelemetryEnabled", { enumerable: true, get: function () { return localGlassTelemetry_1.setLocalGlassTelemetryEnabled; } });
|
|
213
|
+
Object.defineProperty(exports, "setLocalGlassVisibleItemCount", { enumerable: true, get: function () { return localGlassTelemetry_1.setLocalGlassVisibleItemCount; } });
|
|
214
|
+
var surfaceRendererPolicy_1 = require("./surfaceRendererPolicy");
|
|
215
|
+
Object.defineProperty(exports, "getSurfaceRendererPolicy", { enumerable: true, get: function () { return surfaceRendererPolicy_1.getSurfaceRendererPolicy; } });
|
|
216
|
+
Object.defineProperty(exports, "getSurfaceRendererPolicyOverride", { enumerable: true, get: function () { return surfaceRendererPolicy_1.getSurfaceRendererPolicyOverride; } });
|
|
217
|
+
Object.defineProperty(exports, "setSurfaceRendererPolicyOverride", { enumerable: true, get: function () { return surfaceRendererPolicy_1.setSurfaceRendererPolicyOverride; } });
|
|
218
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;AAEH,8EAA8E;AAC9E,6DAA4D;AAAnD,0HAAA,mBAAmB,OAAA;AAE5B,iCAAkF;AAAzE,iHAAA,wBAAwB,OAAA;AAAE,4GAAA,mBAAmB,OAAA;AAAE,iGAAA,QAAQ,OAAA;AAGhE,8EAA8E;AAC9E,iCAAiG;AAAxF,iHAAA,wBAAwB,OAAA;AAAE,gHAAA,uBAAuB,OAAA;AAAE,4GAAA,mBAAmB,OAAA;AAC/E,iCAAsE;AAA7D,8GAAA,qBAAqB,OAAA;AAAE,6GAAA,oBAAoB,OAAA;AACpD,iCAA+E;AAAtE,gHAAA,uBAAuB,OAAA;AAAE,oHAAA,2BAA2B,OAAA;AAC7D,iCAQiB;AAPb,kHAAA,yBAAyB,OAAA;AACzB,yGAAA,gBAAgB,OAAA;AAChB,+GAAA,sBAAsB,OAAA;AACtB,0GA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