{"version":3,"file":"textAlignClassMapper.cjs","sources":["../../../../../../src/components/ui/theme/typography/textAlignClassMapper.ts"],"sourcesContent":["import { TextAlignKey } from \"../../props\";\nimport { BaseClassMapper } from \"../common/BaseClassMapper\";\nimport type { CategoryProps } from \"../../props\";\n\nexport class TextAlignClassMapper extends BaseClassMapper implements Record<TextAlignKey, string> {\n  /** Left-align text (physical — does not flip under RTL, by policy) */\n  textLeft: string = \"text-left\";\n  /** Center-align text */\n  textCenter: string = \"text-center\";\n  /** Right-align text (physical — does not flip under RTL, by policy) */\n  textRight: string = \"text-right\";\n  /** Justify text - stretch lines to fill width */\n  textJustify: string = \"text-justify\";\n  /** Align text to the reading-direction start (left in LTR, right in RTL) */\n  textStart: string = \"text-start\";\n  /** Align text to the reading-direction end (right in LTR, left in RTL) */\n  textEnd: string = \"text-end\";\n\n\n  getClasses(extractedKeys: CategoryProps): string[] {\n    return [extractedKeys?.textAlign ? this[extractedKeys.textAlign] : ''];\n  }\n}\n"],"names":["BaseClassMapper"],"mappings":";;;;AAIO,MAAM,6BAA6BA,+BAAA,CAAwD;AAAA,EAA3F,WAAA,GAAA;AAAA,IAAA,KAAA,CAAA,GAAA,SAAA,CAAA;AAEL;AAAA,IAAA,IAAA,CAAA,QAAA,GAAmB,WAAA;AAEnB;AAAA,IAAA,IAAA,CAAA,UAAA,GAAqB,aAAA;AAErB;AAAA,IAAA,IAAA,CAAA,SAAA,GAAoB,YAAA;AAEpB;AAAA,IAAA,IAAA,CAAA,WAAA,GAAsB,cAAA;AAEtB;AAAA,IAAA,IAAA,CAAA,SAAA,GAAoB,YAAA;AAEpB;AAAA,IAAA,IAAA,CAAA,OAAA,GAAkB,UAAA;AAAA,EAAA;AAAA,EAGlB,WAAW,aAAA,EAAwC;AACjD,IAAA,OAAO,CAAC,aAAA,EAAe,SAAA,GAAY,KAAK,aAAA,CAAc,SAAS,IAAI,EAAE,CAAA;AAAA,EACvE;AACF;;;;"}