first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
import React from 'react';
import { GlassContainerProps } from './GlassContainer.types';
export default function GlassContainer(props: GlassContainerProps): React.JSX.Element;
//# sourceMappingURL=GlassContainer.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"GlassContainer.d.ts","sourceRoot":"","sources":["../src/GlassContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAAK,EAAE,mBAAmB,qBAEhE"}

View File

@@ -0,0 +1,4 @@
import { GlassContainerProps } from './GlassContainer.types';
declare const NativeGlassContainer: import("react").ComponentType<GlassContainerProps>;
export default NativeGlassContainer;
//# sourceMappingURL=GlassContainer.ios.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"GlassContainer.ios.d.ts","sourceRoot":"","sources":["../src/GlassContainer.ios.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D,QAAA,MAAM,oBAAoB,oDAGzB,CAAC;AAEF,eAAe,oBAAoB,CAAC"}

View File

@@ -0,0 +1,6 @@
// Copyright © 2024 650 Industries.
'use client';
import { requireNativeViewManager } from 'expo-modules-core';
const NativeGlassContainer = requireNativeViewManager('ExpoGlassEffect', 'GlassContainer');
export default NativeGlassContainer;
//# sourceMappingURL=GlassContainer.ios.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"GlassContainer.ios.js","sourceRoot":"","sources":["../src/GlassContainer.ios.tsx"],"names":[],"mappings":"AAAA,mCAAmC;AAEnC,YAAY,CAAC;AAEb,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAI7D,MAAM,oBAAoB,GAAG,wBAAwB,CACnD,iBAAiB,EACjB,gBAAgB,CACjB,CAAC;AAEF,eAAe,oBAAoB,CAAC","sourcesContent":["// Copyright © 2024 650 Industries.\n\n'use client';\n\nimport { requireNativeViewManager } from 'expo-modules-core';\n\nimport { GlassContainerProps } from './GlassContainer.types';\n\nconst NativeGlassContainer = requireNativeViewManager<GlassContainerProps>(\n 'ExpoGlassEffect',\n 'GlassContainer'\n);\n\nexport default NativeGlassContainer;\n"]}

View File

@@ -0,0 +1,8 @@
// Copyright © 2024 650 Industries.
'use client';
import React from 'react';
import { View } from 'react-native';
export default function GlassContainer(props) {
return <View {...props}/>;
}
//# sourceMappingURL=GlassContainer.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"GlassContainer.js","sourceRoot":"","sources":["../src/GlassContainer.tsx"],"names":[],"mappings":"AAAA,mCAAmC;AAEnC,YAAY,CAAC;AAEb,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAIpC,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAA0B;IAC/D,OAAO,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AAC7B,CAAC","sourcesContent":["// Copyright © 2024 650 Industries.\n\n'use client';\n\nimport React from 'react';\nimport { View } from 'react-native';\n\nimport { GlassContainerProps } from './GlassContainer.types';\n\nexport default function GlassContainer(props: GlassContainerProps) {\n return <View {...props} />;\n}\n"]}

View File

@@ -0,0 +1,12 @@
import { type Ref } from 'react';
import { View, type ViewProps } from 'react-native';
export type GlassContainerProps = {
/**
* The distance at which glass elements start affecting each other.
* Controls when glass elements begin to merge together.
* @default undefined
*/
spacing?: number;
ref?: Ref<View>;
} & ViewProps;
//# sourceMappingURL=GlassContainer.types.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"GlassContainer.types.d.ts","sourceRoot":"","sources":["../src/GlassContainer.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC;CACjB,GAAG,SAAS,CAAC"}

View File

@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=GlassContainer.types.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"GlassContainer.types.js","sourceRoot":"","sources":["../src/GlassContainer.types.ts"],"names":[],"mappings":"","sourcesContent":["import { type Ref } from 'react';\nimport { View, type ViewProps } from 'react-native';\n\nexport type GlassContainerProps = {\n /**\n * The distance at which glass elements start affecting each other.\n * Controls when glass elements begin to merge together.\n * @default undefined\n */\n spacing?: number;\n ref?: Ref<View>;\n} & ViewProps;\n"]}

4
node_modules/expo-glass-effect/build/GlassView.d.ts generated vendored Normal file
View File

@@ -0,0 +1,4 @@
import React from 'react';
import { GlassViewProps } from './GlassView.types';
export default function GlassView(props: GlassViewProps): React.JSX.Element;
//# sourceMappingURL=GlassView.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"GlassView.d.ts","sourceRoot":"","sources":["../src/GlassView.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAK,EAAE,cAAc,qBAEtD"}

View File

@@ -0,0 +1,4 @@
import { GlassViewProps } from './GlassView.types';
declare const GlassView: (props: GlassViewProps) => import("react").JSX.Element;
export default GlassView;
//# sourceMappingURL=GlassView.ios.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"GlassView.ios.d.ts","sourceRoot":"","sources":["../src/GlassView.ios.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAInD,QAAA,MAAM,SAAS,GAAI,OAAO,cAAc,gCAEvC,CAAC;AAEF,eAAe,SAAS,CAAC"}

View File

@@ -0,0 +1,9 @@
// Copyright © 2024 650 Industries.
'use client';
import { requireNativeViewManager } from 'expo-modules-core';
const NativeGlassView = requireNativeViewManager('ExpoGlassEffect', 'GlassView');
const GlassView = (props) => {
return <NativeGlassView {...props}/>;
};
export default GlassView;
//# sourceMappingURL=GlassView.ios.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"GlassView.ios.js","sourceRoot":"","sources":["../src/GlassView.ios.tsx"],"names":[],"mappings":"AAAA,mCAAmC;AAEnC,YAAY,CAAC;AAEb,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAI7D,MAAM,eAAe,GAAG,wBAAwB,CAAiB,iBAAiB,EAAE,WAAW,CAAC,CAAC;AAEjG,MAAM,SAAS,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC1C,OAAO,CAAC,eAAe,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACxC,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC","sourcesContent":["// Copyright © 2024 650 Industries.\n\n'use client';\n\nimport { requireNativeViewManager } from 'expo-modules-core';\n\nimport { GlassViewProps } from './GlassView.types';\n\nconst NativeGlassView = requireNativeViewManager<GlassViewProps>('ExpoGlassEffect', 'GlassView');\n\nconst GlassView = (props: GlassViewProps) => {\n return <NativeGlassView {...props} />;\n};\n\nexport default GlassView;\n"]}

8
node_modules/expo-glass-effect/build/GlassView.js generated vendored Normal file
View File

@@ -0,0 +1,8 @@
// Copyright © 2024 650 Industries.
'use client';
import React from 'react';
import { View } from 'react-native';
export default function GlassView(props) {
return <View {...props}/>;
}
//# sourceMappingURL=GlassView.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"GlassView.js","sourceRoot":"","sources":["../src/GlassView.tsx"],"names":[],"mappings":"AAAA,mCAAmC;AAEnC,YAAY,CAAC;AAEb,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAIpC,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAqB;IACrD,OAAO,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AAC7B,CAAC","sourcesContent":["// Copyright © 2024 650 Industries.\n\n'use client';\n\nimport React from 'react';\nimport { View } from 'react-native';\n\nimport { GlassViewProps } from './GlassView.types';\n\nexport default function GlassView(props: GlassViewProps) {\n return <View {...props} />;\n}\n"]}

View File

@@ -0,0 +1,45 @@
import { type Ref } from 'react';
import { View, type ViewProps } from 'react-native';
export type GlassStyle = 'clear' | 'regular' | 'none';
export type GlassEffectStyleConfig = {
/**
* The glass effect style to apply.
*/
style: GlassStyle;
/**
* Whether to animate the style change.
* @default false
*/
animate?: boolean;
/**
* Duration of the animation in seconds. Uses system default if not specified.
*/
animationDuration?: number;
};
export type GlassColorScheme = 'auto' | 'light' | 'dark';
export type GlassViewProps = {
/**
* Glass effect style to apply to the view.
* Can be a simple string ('clear', 'regular', 'none') or a config object
* for controlling animation behavior.
* @default 'regular'
*/
glassEffectStyle?: GlassStyle | GlassEffectStyleConfig;
/**
* Tint color to apply to the glass effect.
*/
tintColor?: string;
/**
* Whether the glass effect should be interactive.
* @default false
*/
isInteractive?: boolean;
/**
* The color scheme for the glass effect appearance.
* Use this to override the system appearance when your app has its own theme toggle.
* @default 'auto'
*/
colorScheme?: GlassColorScheme;
ref?: Ref<View>;
} & ViewProps;
//# sourceMappingURL=GlassView.types.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"GlassView.types.d.ts","sourceRoot":"","sources":["../src/GlassView.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;AAEtD,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,KAAK,EAAE,UAAU,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAEzD,MAAM,MAAM,cAAc,GAAG;IAC3B;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,UAAU,GAAG,sBAAsB,CAAC;IACvD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC;CACjB,GAAG,SAAS,CAAC"}

View File

@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=GlassView.types.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"GlassView.types.js","sourceRoot":"","sources":["../src/GlassView.types.ts"],"names":[],"mappings":"","sourcesContent":["import { type Ref } from 'react';\nimport { View, type ViewProps } from 'react-native';\n\nexport type GlassStyle = 'clear' | 'regular' | 'none';\n\nexport type GlassEffectStyleConfig = {\n /**\n * The glass effect style to apply.\n */\n style: GlassStyle;\n /**\n * Whether to animate the style change.\n * @default false\n */\n animate?: boolean;\n /**\n * Duration of the animation in seconds. Uses system default if not specified.\n */\n animationDuration?: number;\n};\n\nexport type GlassColorScheme = 'auto' | 'light' | 'dark';\n\nexport type GlassViewProps = {\n /**\n * Glass effect style to apply to the view.\n * Can be a simple string ('clear', 'regular', 'none') or a config object\n * for controlling animation behavior.\n * @default 'regular'\n */\n glassEffectStyle?: GlassStyle | GlassEffectStyleConfig;\n /**\n * Tint color to apply to the glass effect.\n */\n tintColor?: string;\n /**\n * Whether the glass effect should be interactive.\n * @default false\n */\n isInteractive?: boolean;\n /**\n * The color scheme for the glass effect appearance.\n * Use this to override the system appearance when your app has its own theme toggle.\n * @default 'auto'\n */\n colorScheme?: GlassColorScheme;\n ref?: Ref<View>;\n} & ViewProps;\n"]}

7
node_modules/expo-glass-effect/build/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,7 @@
export { default as GlassView } from './GlassView';
export { GlassColorScheme, GlassEffectStyleConfig, GlassStyle, GlassViewProps, } from './GlassView.types';
export { default as GlassContainer } from './GlassContainer';
export { GlassContainerProps } from './GlassContainer.types';
export { isLiquidGlassAvailable } from './isLiquidGlassAvailable';
export { isGlassEffectAPIAvailable } from './isGlassEffectAPIAvailable';
//# sourceMappingURL=index.d.ts.map

1
node_modules/expo-glass-effect/build/index.d.ts.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EACL,gBAAgB,EAChB,sBAAsB,EACtB,UAAU,EACV,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC"}

5
node_modules/expo-glass-effect/build/index.js generated vendored Normal file
View File

@@ -0,0 +1,5 @@
export { default as GlassView } from './GlassView';
export { default as GlassContainer } from './GlassContainer';
export { isLiquidGlassAvailable } from './isLiquidGlassAvailable';
export { isGlassEffectAPIAvailable } from './isGlassEffectAPIAvailable';
//# sourceMappingURL=index.js.map

1
node_modules/expo-glass-effect/build/index.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AAOnD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC","sourcesContent":["export { default as GlassView } from './GlassView';\nexport {\n GlassColorScheme,\n GlassEffectStyleConfig,\n GlassStyle,\n GlassViewProps,\n} from './GlassView.types';\nexport { default as GlassContainer } from './GlassContainer';\nexport { GlassContainerProps } from './GlassContainer.types';\nexport { isLiquidGlassAvailable } from './isLiquidGlassAvailable';\nexport { isGlassEffectAPIAvailable } from './isGlassEffectAPIAvailable';\n"]}

View File

@@ -0,0 +1,10 @@
/**
* Checks whether the Liquid Glass API is available at runtime on the device.
*
* This method was added because some iOS 26 beta versions do not have this API available, which can
* lead to crashes. You should check this before using `GlassView` and `GlassContainer` in your app to ensure compatibility.
* @see https://github.com/expo/expo/issues/40911
* @platform ios
*/
export declare function isGlassEffectAPIAvailable(): boolean;
//# sourceMappingURL=isGlassEffectAPIAvailable.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"isGlassEffectAPIAvailable.d.ts","sourceRoot":"","sources":["../src/isGlassEffectAPIAvailable.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,wBAAgB,yBAAyB,IAAI,OAAO,CAEnD"}

View File

@@ -0,0 +1,10 @@
/**
* Checks whether the Liquid Glass API is available at runtime on the device.
*
* This method was added because some iOS 26 beta versions do not have this API available, which can
* lead to crashes. You should check this before using `GlassView` and `GlassContainer` in your app to ensure compatibility.
* @see https://github.com/expo/expo/issues/40911
* @platform ios
*/
export declare function isGlassEffectAPIAvailable(): boolean;
//# sourceMappingURL=isGlassEffectAPIAvailable.ios.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"isGlassEffectAPIAvailable.ios.d.ts","sourceRoot":"","sources":["../src/isGlassEffectAPIAvailable.ios.ts"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,IAAI,OAAO,CAMnD"}

View File

@@ -0,0 +1,18 @@
import { requireNativeModule } from 'expo-modules-core';
let IS_GLASS_EFFECT_API_AVAILABLE;
/**
* Checks whether the Liquid Glass API is available at runtime on the device.
*
* This method was added because some iOS 26 beta versions do not have this API available, which can
* lead to crashes. You should check this before using `GlassView` and `GlassContainer` in your app to ensure compatibility.
* @see https://github.com/expo/expo/issues/40911
* @platform ios
*/
export function isGlassEffectAPIAvailable() {
if (IS_GLASS_EFFECT_API_AVAILABLE === undefined) {
IS_GLASS_EFFECT_API_AVAILABLE =
requireNativeModule('ExpoGlassEffect').isGlassEffectAPIAvailable;
}
return !!IS_GLASS_EFFECT_API_AVAILABLE;
}
//# sourceMappingURL=isGlassEffectAPIAvailable.ios.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"isGlassEffectAPIAvailable.ios.js","sourceRoot":"","sources":["../src/isGlassEffectAPIAvailable.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,IAAI,6BAAkD,CAAC;AAEvD;;;;;;;GAOG;AACH,MAAM,UAAU,yBAAyB;IACvC,IAAI,6BAA6B,KAAK,SAAS,EAAE,CAAC;QAChD,6BAA6B;YAC3B,mBAAmB,CAAC,iBAAiB,CAAC,CAAC,yBAAyB,CAAC;IACrE,CAAC;IACD,OAAO,CAAC,CAAC,6BAA6B,CAAC;AACzC,CAAC","sourcesContent":["import { requireNativeModule } from 'expo-modules-core';\n\nlet IS_GLASS_EFFECT_API_AVAILABLE: boolean | undefined;\n\n/**\n * Checks whether the Liquid Glass API is available at runtime on the device.\n *\n * This method was added because some iOS 26 beta versions do not have this API available, which can\n * lead to crashes. You should check this before using `GlassView` and `GlassContainer` in your app to ensure compatibility.\n * @see https://github.com/expo/expo/issues/40911\n * @platform ios\n */\nexport function isGlassEffectAPIAvailable(): boolean {\n if (IS_GLASS_EFFECT_API_AVAILABLE === undefined) {\n IS_GLASS_EFFECT_API_AVAILABLE =\n requireNativeModule('ExpoGlassEffect').isGlassEffectAPIAvailable;\n }\n return !!IS_GLASS_EFFECT_API_AVAILABLE;\n}\n"]}

View File

@@ -0,0 +1,12 @@
/**
* Checks whether the Liquid Glass API is available at runtime on the device.
*
* This method was added because some iOS 26 beta versions do not have this API available, which can
* lead to crashes. You should check this before using `GlassView` and `GlassContainer` in your app to ensure compatibility.
* @see https://github.com/expo/expo/issues/40911
* @platform ios
*/
export function isGlassEffectAPIAvailable() {
return false;
}
//# sourceMappingURL=isGlassEffectAPIAvailable.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"isGlassEffectAPIAvailable.js","sourceRoot":"","sources":["../src/isGlassEffectAPIAvailable.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,MAAM,UAAU,yBAAyB;IACvC,OAAO,KAAK,CAAC;AACf,CAAC","sourcesContent":["/**\n * Checks whether the Liquid Glass API is available at runtime on the device.\n *\n * This method was added because some iOS 26 beta versions do not have this API available, which can\n * lead to crashes. You should check this before using `GlassView` and `GlassContainer` in your app to ensure compatibility.\n * @see https://github.com/expo/expo/issues/40911\n * @platform ios\n */\n\nexport function isGlassEffectAPIAvailable(): boolean {\n return false;\n}\n"]}

View File

@@ -0,0 +1,11 @@
/**
* Indicates whether the app is using the Liquid Glass design. The value will be `true` when the
* Liquid Glass components are available in the app.
*
* This only checks for component availability. The value may also be `true` if the user has enabled
* accessibility settings that limit the Liquid Glass effect.
* To check if the user has disabled the Liquid Glass effect via accessibility settings, use
* [`AccessibilityInfo.isReduceTransparencyEnabled()`](https://reactnative.dev/docs/accessibilityinfo#isreducetransparencyenabled-ios).
*/
export declare function isLiquidGlassAvailable(): boolean;
//# sourceMappingURL=isLiquidGlassAvailable.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"isLiquidGlassAvailable.d.ts","sourceRoot":"","sources":["../src/isLiquidGlassAvailable.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,IAAI,OAAO,CAEhD"}

View File

@@ -0,0 +1,13 @@
/**
* Indicates whether the app is using the Liquid Glass design. The value will be `true` when the
* Liquid Glass components are available in the app.
*
* This only checks for component availability. The value may also be `true` if the user has enabled
* accessibility settings that limit the Liquid Glass effect.
* To check if the user has disabled the Liquid Glass effect via accessibility settings, use
* [`AccessibilityInfo.isReduceTransparencyEnabled()`](https://reactnative.dev/docs/accessibilityinfo#isreducetransparencyenabled-ios).
*
* @platform ios
*/
export declare function isLiquidGlassAvailable(): boolean;
//# sourceMappingURL=isLiquidGlassAvailable.ios.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"isLiquidGlassAvailable.ios.d.ts","sourceRoot":"","sources":["../src/isLiquidGlassAvailable.ios.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;GAUG;AACH,wBAAgB,sBAAsB,IAAI,OAAO,CAKhD"}

View File

@@ -0,0 +1,20 @@
import { requireNativeModule } from 'expo-modules-core';
let IS_LIQUID_GLASS_AVAILABLE;
/**
* Indicates whether the app is using the Liquid Glass design. The value will be `true` when the
* Liquid Glass components are available in the app.
*
* This only checks for component availability. The value may also be `true` if the user has enabled
* accessibility settings that limit the Liquid Glass effect.
* To check if the user has disabled the Liquid Glass effect via accessibility settings, use
* [`AccessibilityInfo.isReduceTransparencyEnabled()`](https://reactnative.dev/docs/accessibilityinfo#isreducetransparencyenabled-ios).
*
* @platform ios
*/
export function isLiquidGlassAvailable() {
if (IS_LIQUID_GLASS_AVAILABLE === undefined) {
IS_LIQUID_GLASS_AVAILABLE = requireNativeModule('ExpoGlassEffect').isLiquidGlassAvailable;
}
return !!IS_LIQUID_GLASS_AVAILABLE;
}
//# sourceMappingURL=isLiquidGlassAvailable.ios.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"isLiquidGlassAvailable.ios.js","sourceRoot":"","sources":["../src/isLiquidGlassAvailable.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,IAAI,yBAA8C,CAAC;AAEnD;;;;;;;;;;GAUG;AACH,MAAM,UAAU,sBAAsB;IACpC,IAAI,yBAAyB,KAAK,SAAS,EAAE,CAAC;QAC5C,yBAAyB,GAAG,mBAAmB,CAAC,iBAAiB,CAAC,CAAC,sBAAsB,CAAC;IAC5F,CAAC;IACD,OAAO,CAAC,CAAC,yBAAyB,CAAC;AACrC,CAAC","sourcesContent":["import { requireNativeModule } from 'expo-modules-core';\n\nlet IS_LIQUID_GLASS_AVAILABLE: boolean | undefined;\n\n/**\n * Indicates whether the app is using the Liquid Glass design. The value will be `true` when the\n * Liquid Glass components are available in the app.\n *\n * This only checks for component availability. The value may also be `true` if the user has enabled\n * accessibility settings that limit the Liquid Glass effect.\n * To check if the user has disabled the Liquid Glass effect via accessibility settings, use\n * [`AccessibilityInfo.isReduceTransparencyEnabled()`](https://reactnative.dev/docs/accessibilityinfo#isreducetransparencyenabled-ios).\n *\n * @platform ios\n */\nexport function isLiquidGlassAvailable(): boolean {\n if (IS_LIQUID_GLASS_AVAILABLE === undefined) {\n IS_LIQUID_GLASS_AVAILABLE = requireNativeModule('ExpoGlassEffect').isLiquidGlassAvailable;\n }\n return !!IS_LIQUID_GLASS_AVAILABLE;\n}\n"]}

View File

@@ -0,0 +1,13 @@
/**
* Indicates whether the app is using the Liquid Glass design. The value will be `true` when the
* Liquid Glass components are available in the app.
*
* This only checks for component availability. The value may also be `true` if the user has enabled
* accessibility settings that limit the Liquid Glass effect.
* To check if the user has disabled the Liquid Glass effect via accessibility settings, use
* [`AccessibilityInfo.isReduceTransparencyEnabled()`](https://reactnative.dev/docs/accessibilityinfo#isreducetransparencyenabled-ios).
*/
export function isLiquidGlassAvailable() {
return false;
}
//# sourceMappingURL=isLiquidGlassAvailable.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"isLiquidGlassAvailable.js","sourceRoot":"","sources":["../src/isLiquidGlassAvailable.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,UAAU,sBAAsB;IACpC,OAAO,KAAK,CAAC;AACf,CAAC","sourcesContent":["/**\n * Indicates whether the app is using the Liquid Glass design. The value will be `true` when the\n * Liquid Glass components are available in the app.\n *\n * This only checks for component availability. The value may also be `true` if the user has enabled\n * accessibility settings that limit the Liquid Glass effect.\n * To check if the user has disabled the Liquid Glass effect via accessibility settings, use\n * [`AccessibilityInfo.isReduceTransparencyEnabled()`](https://reactnative.dev/docs/accessibilityinfo#isreducetransparencyenabled-ios).\n */\nexport function isLiquidGlassAvailable(): boolean {\n return false;\n}\n"]}