{"version":3,"file":"positionClassMapper.cjs","sources":["../../../../../../src/components/ui/theme/layout/positionClassMapper.ts"],"sourcesContent":["import { PositionKey } from \"../../props\";\nimport { BaseClassMapper } from \"../common/BaseClassMapper\";\nimport type { CategoryProps } from \"../../props\";\n\nexport class PositionClassMapper extends BaseClassMapper implements Record<PositionKey, string> {\n  /** Relative positioning - positioned relative to its normal position */\n  relative: string = \"relative\";\n  /** Absolute positioning - positioned relative to its closest positioned ancestor */\n  absolute: string = \"absolute\";\n  /** Fixed positioning - positioned relative to the viewport */\n  fixed: string = \"fixed\";\n  /** Sticky positioning - toggles between relative and fixed based on scroll position */\n  sticky: string = \"sticky\";\n  /** Static positioning - default positioning, not affected by top/left/right/bottom */\n  static: string = \"static\";\n\n\n  getClasses(extractedKeys: CategoryProps): string[] {\n    return [extractedKeys?.position ? this[extractedKeys.position] : ''];\n  }\n}\n"],"names":["BaseClassMapper"],"mappings":";;;;AAIO,MAAM,4BAA4BA,+BAAA,CAAuD;AAAA,EAAzF,WAAA,GAAA;AAAA,IAAA,KAAA,CAAA,GAAA,SAAA,CAAA;AAEL;AAAA,IAAA,IAAA,CAAA,QAAA,GAAmB,UAAA;AAEnB;AAAA,IAAA,IAAA,CAAA,QAAA,GAAmB,UAAA;AAEnB;AAAA,IAAA,IAAA,CAAA,KAAA,GAAgB,OAAA;AAEhB;AAAA,IAAA,IAAA,CAAA,MAAA,GAAiB,QAAA;AAEjB;AAAA,IAAA,IAAA,CAAA,MAAA,GAAiB,QAAA;AAAA,EAAA;AAAA,EAGjB,WAAW,aAAA,EAAwC;AACjD,IAAA,OAAO,CAAC,aAAA,EAAe,QAAA,GAAW,KAAK,aAAA,CAAc,QAAQ,IAAI,EAAE,CAAA;AAAA,EACrE;AACF;;;;"}