decord/source/modules/stickers/native/StickerPickerConstants.tsx

29 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 10226
// Function ID: 10227
2026-07-20 16:05:17 +00:00
// Name: PADDING_HORIZONTAL
2026-08-24 06:08:38 +00:00
// Dependencies: [1338, 4969, 2]
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
// Module 10226 (PADDING_HORIZONTAL)
import set from "set" /* 2 */;
import StickerFormat from "StickerFormat" /* 4969 */;
import ExpressionPickerViewType from "ExpressionPickerViewType" /* 1338 */;
2026-07-20 16:05:17 +00:00
2026-07-23 10:11:24 +00:00
const PADDING_VERTICAL = ExpressionPickerViewType.PADDING_VERTICAL;
({ PADDING_HORIZONTAL, MIN_MARGIN } = ExpressionPickerViewType);
2026-07-20 16:05:17 +00:00
const result = 2 * PADDING_VERTICAL;
2026-08-24 06:08:38 +00:00
const items = [StickerFormat.StickerFormat.GIF, StickerFormat.StickerFormat.PNG, StickerFormat.StickerFormat.APNG];
const result1 = set.fileFinishedImporting("modules/stickers/native/StickerPickerConstants.tsx");
2026-07-20 16:05:17 +00:00
export { PADDING_HORIZONTAL };
export { PADDING_VERTICAL };
export { MIN_MARGIN };
export const STICKER_SIZE = 64;
export const LABEL_HEIGHT = 16;
export const BUTTON_HEIGHT = 32;
export const ROW_HEIGHT = 64 + result;
export const STICKER_NUDGE_RESULTS_CAP = 4;
export const STICKER_PICKER_PADDING = 100;
export const STICKER_SCROLL_LOAD_DELAY_MS = 250;
export const STICKER_SCROLL_LOAD_DELAY_AFTER_HEIGHT_CHANGE_MS = 750;
export const STICKER_FORMATS = items;