decord/source/modules/guilds_bar/native/GuildsBarConstants.tsx

23 lines
1.3 KiB
TypeScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 14942
// Function ID: 14943
2026-07-20 16:05:17 +00:00
// Name: GUILD_ITEM_SIZE
2026-07-29 08:29:29 +00:00
// Dependencies: [3893, 712, 2]
2026-07-20 16:05:17 +00:00
// Exports: useGuildWrapperSize
2026-07-29 08:29:29 +00:00
// Module 14942 (GUILD_ITEM_SIZE)
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/guilds_bar/native/GuildsBarConstants.tsx");
2026-07-20 16:05:17 +00:00
export const GUILD_ITEM_SIZE = 48;
export const GUILD_LIST_WIDTH = 72;
export const GUILD_ITEM_EMPTY_SRC = { uri: "invalid" };
2026-07-23 10:11:24 +00:00
export const GUILD_ITEM_HIT_SLOP = { top: 4, left: 12, bottom: 4, right: 12 };
2026-07-20 16:05:17 +00:00
export const GUILD_ITEM_BADGE_SIZE = 16;
export const useGuildWrapperSize = function useGuildWrapperSize() {
2026-07-29 08:29:29 +00:00
const token = require(3893) /* map */.useToken(importDefault(712).modules.mobile.GUILD_BAR_ITEM_SIZE);
const obj = require(3893) /* map */;
return token + 2 * require(3893) /* map */.useToken(importDefault(712).modules.mobile.GUILD_BAR_ITEM_MARGIN);
2026-07-20 16:05:17 +00:00
};
export const FastListRenderSections = { MESSAGES: 0, [0]: "MESSAGES", FAVORITES: 1, [1]: "FAVORITES", PENDING_JOIN_REQUESTS: 2, [2]: "PENDING_JOIN_REQUESTS", LURKING_GUILDS: 3, [3]: "LURKING_GUILDS", GUEST_GUILDS: 4, [4]: "GUEST_GUILDS", UNREAD_PRIVATE_CHANNELS: 5, [5]: "UNREAD_PRIVATE_CHANNELS", SEPARATOR: 6, [6]: "SEPARATOR", GUILDS: 7, [7]: "GUILDS" };
2026-07-23 10:11:24 +00:00
export const FOLDER_SPRING_PHYSICS = { mass: 0.5, damping: 30, stiffness: 300 };
export const TRANSITION_PHYSICS = { mass: 0.5, damping: 15, stiffness: 120 };