{"version":3,"file":"ModalContent.constants.cjs","sourceRoot":"","sources":["../../../src/components/ModalContent/ModalContent.constants.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;GAiBG;AACU,QAAA,uCAAuC,GAClD,oCAAoC,CAAC;AAEvC;;;;;GAKG;AACU,QAAA,6BAA6B,GAAG;IAC3C,EAAE,EAAE,eAAe;IACnB,EAAE,EAAE,eAAe;IACnB,EAAE,EAAE,eAAe;CACX,CAAC","sourcesContent":["/**\n * Attribute consumers can set on a portal-rendered subtree to opt out of the\n * ModalContent outside-click handler. Useful for floating UI primitives\n * (popover, tooltip, dropdown) that render as siblings to the modal portal\n * but are conceptually part of the modal interaction.\n *\n * Example:\n *\n * ```tsx\n * <Box {...{ [MODAL_CONTENT_IGNORE_OUTSIDE_CLICK_ATTR]: '' }}>\n *   {popoverContent}\n * </Box>\n * ```\n *\n * Clicks whose target's `closest('[data-mm-modal-ignore-outside-click]')` is\n * non-null are ignored by ModalContent's outside-click logic and will not\n * trigger `onClose`.\n */\nexport const MODAL_CONTENT_IGNORE_OUTSIDE_CLICK_ATTR =\n  'data-mm-modal-ignore-outside-click';\n\n/**\n * ModalContent dialog max-width tokens, expressed as Tailwind utilities.\n * - `Sm` → 360px\n * - `Md` → 480px\n * - `Lg` → 720px\n */\nexport const TWCLASSMAP_MODAL_CONTENT_SIZE = {\n  sm: 'max-w-[360px]',\n  md: 'max-w-[480px]',\n  lg: 'max-w-[720px]',\n} as const;\n"]}