Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4825.js (118.4 MB)
25 lines
1.1 KiB
TypeScript
25 lines
1.1 KiB
TypeScript
// Module ID: 8054
|
|
// Function ID: 8055
|
|
// Name: ContextMenuConstants
|
|
// Dependencies: [1364, 4608, 2]
|
|
|
|
// Module 8054 (ContextMenuConstants)
|
|
import HapticUtils from "HapticUtils" /* 4608 */;
|
|
import PlatformUtils_mod from "PlatformUtils" /* 1364 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
let PlatformUtils = PlatformUtils_mod;
|
|
PlatformUtils = PlatformUtils.isIOS();
|
|
const HapticFeedbackTypes = HapticUtils.HapticFeedbackTypes;
|
|
const result = size.fileFinishedImporting("design/components/ContextMenu/native/ContextMenuConstants.native.tsx");
|
|
|
|
export const CONTEXT_MENU_LONG_PRESS_DURATION_MS = 300;
|
|
export const CONTEXT_MENU_OPEN_HAPTIC = PlatformUtils ? HapticFeedbackTypes.IMPACT_HEAVY : HapticFeedbackTypes.IMPACT_MEDIUM;
|
|
export const CONTEXT_MENU_ITEM_PADDING = 12;
|
|
export const CONTEXT_MENU_ITEM_BASE_HEIGHT = 42;
|
|
export const CONTEXT_MENU_DIVIDER_HEIGHT = 4;
|
|
export const CONTEXT_MENU_EDGE_OFFSET = 12;
|
|
export const CONTEXT_MENU_MIN_WIDTH = 220;
|
|
export const CONTEXT_MENU_OFFSET = 10;
|
|
export const CONTEXT_MENU_MIN_SCALE = 0.5;
|
|
export const CONTEXT_MENU_SPRING = { mass: 0.3, damping: 20, stiffness: 200, overshootClamping: true, restDisplacementThreshold: 0.001 };
|