{"version":3,"file":"orientationClassMapper.cjs","sources":["../../../../../../src/components/ui/theme/layout/orientationClassMapper.ts"],"sourcesContent":["import { BaseClassMapper } from \"../common/BaseClassMapper\";\nimport type { CategoryProps, OrientationKey } from \"../../props\";\n\n/**\n * OrientationClassMapper handles orientation styling for components like Divider.\n * Defaults to horizontal when no orientation is specified.\n */\nexport class OrientationClassMapper extends BaseClassMapper implements Record<OrientationKey, string> {\n  /** Horizontal orientation (default) */\n  horizontal: string = \"h-(--bw) w-full\";\n  /** Vertical orientation */\n  vertical: string = \"w-(--bw) h-full\";\n\n  getClasses(extractedKeys: CategoryProps): string[] {\n    const classes: string[] = [];\n\n    const orientationValue = extractedKeys?.orientation;\n\n    if (orientationValue && orientationValue in this) {\n      classes.push(this[orientationValue as OrientationKey]);\n    }\n    // Note: Default to horizontal is handled by themeDefaults\n\n    return classes;\n  }\n}\n"],"names":["BaseClassMapper"],"mappings":";;;;AAOO,MAAM,+BAA+BA,+BAAA,CAA0D;AAAA,EAA/F,WAAA,GAAA;AAAA,IAAA,KAAA,CAAA,GAAA,SAAA,CAAA;AAEL;AAAA,IAAA,IAAA,CAAA,UAAA,GAAqB,iBAAA;AAErB;AAAA,IAAA,IAAA,CAAA,QAAA,GAAmB,iBAAA;AAAA,EAAA;AAAA,EAEnB,WAAW,aAAA,EAAwC;AACjD,IAAA,MAAM,UAAoB,EAAC;AAE3B,IAAA,MAAM,mBAAmB,aAAA,EAAe,WAAA;AAExC,IAAA,IAAI,gBAAA,IAAoB,oBAAoB,IAAA,EAAM;AAChD,MAAA,OAAA,CAAQ,IAAA,CAAK,IAAA,CAAK,gBAAkC,CAAC,CAAA;AAAA,IACvD;AAGA,IAAA,OAAO,OAAA;AAAA,EACT;AACF;;;;"}