{"version":3,"file":"whitespaceClassMapper.cjs","sources":["../../../../../../src/components/ui/theme/layout/whitespaceClassMapper.ts"],"sourcesContent":["import { BaseClassMapper } from \"../common/BaseClassMapper\";\nimport type { CategoryProps, WhitespaceKey } from \"../../props\";\n\n/**\n * Whitespace theme for controlling text wrapping behavior.\n */\nexport class WhitespaceClassMapper extends BaseClassMapper implements Record<WhitespaceKey, string> {\n  /** No wrap - text stays on single line */\n  whitespaceNowrap: string = \"whitespace-nowrap\";\n  /** Normal wrapping - default browser behavior */\n  whitespaceNormal: string = \"whitespace-normal\";\n  /** Preserve whitespace and line breaks */\n  whitespacePre: string = \"whitespace-pre\";\n  /** Preserve whitespace, wrap text */\n  whitespacePreWrap: string = \"whitespace-pre-wrap\";\n  /** Preserve line breaks, collapse spaces, wrap text */\n  whitespacePreLine: string = \"whitespace-pre-line\";\n  /** Break words to prevent overflow */\n  whitespaceBreakSpaces: string = \"whitespace-break-spaces\";\n\n  getClasses(extractedKeys: CategoryProps): string[] {\n    const whitespace = extractedKeys?.whitespace;\n    return whitespace ? [this[whitespace]] : [];\n  }\n}\n"],"names":["BaseClassMapper"],"mappings":";;;;AAMO,MAAM,8BAA8BA,+BAAA,CAAyD;AAAA,EAA7F,WAAA,GAAA;AAAA,IAAA,KAAA,CAAA,GAAA,SAAA,CAAA;AAEL;AAAA,IAAA,IAAA,CAAA,gBAAA,GAA2B,mBAAA;AAE3B;AAAA,IAAA,IAAA,CAAA,gBAAA,GAA2B,mBAAA;AAE3B;AAAA,IAAA,IAAA,CAAA,aAAA,GAAwB,gBAAA;AAExB;AAAA,IAAA,IAAA,CAAA,iBAAA,GAA4B,qBAAA;AAE5B;AAAA,IAAA,IAAA,CAAA,iBAAA,GAA4B,qBAAA;AAE5B;AAAA,IAAA,IAAA,CAAA,qBAAA,GAAgC,yBAAA;AAAA,EAAA;AAAA,EAEhC,WAAW,aAAA,EAAwC;AACjD,IAAA,MAAM,aAAa,aAAA,EAAe,UAAA;AAClC,IAAA,OAAO,aAAa,CAAC,IAAA,CAAK,UAAU,CAAC,IAAI,EAAC;AAAA,EAC5C;AACF;;;;"}