{"version":3,"file":"displayClassMapper.cjs","sources":["../../../../../../src/components/ui/theme/layout/displayClassMapper.ts"],"sourcesContent":["import { DisplayKey } from \"../../props\";\nimport { BaseClassMapper } from \"../common/BaseClassMapper\";\nimport type { CategoryProps } from \"../../props\";\n\nexport class DisplayClassMapper extends BaseClassMapper implements Record<DisplayKey, string> {\n  /** Inline display - element flows with text */\n  inline: string = \"inline\";\n  /** Block display - element takes full width */\n  block: string = \"block\";\n  /** Inline-block display - element flows with text but can have width/height */\n  inlineBlock: string = \"inline-block\";\n  /** Flex display - creates a flex container */\n  flex: string = \"flex\";\n  /** Inline-flex display - creates an inline flex container */\n  inlineFlex: string = \"inline-flex\";\n  /** Grid display - creates a grid container */\n  grid: string = \"grid\";\n  /** Inline-grid display - creates an inline grid container */\n  inlineGrid: string = \"inline-grid\";\n  /** Contents display - element's children behave as if they are direct children of the parent */\n  contents: string = \"contents\";\n  /** Table display - element behaves like a table */\n  table: string = \"table\";\n  /** Table-cell display - element behaves like a table cell */\n  tableCell: string = \"table-cell\";\n  /** Hidden display - element is completely removed from layout */\n  hidden: string = \"hidden\";\n\n\n  getClasses(extractedKeys: CategoryProps): string[] {\n    return [extractedKeys?.display && this[extractedKeys.display] ? this[extractedKeys.display] : ''];\n  }\n}"],"names":["BaseClassMapper"],"mappings":";;;;AAIO,MAAM,2BAA2BA,+BAAA,CAAsD;AAAA,EAAvF,WAAA,GAAA;AAAA,IAAA,KAAA,CAAA,GAAA,SAAA,CAAA;AAEL;AAAA,IAAA,IAAA,CAAA,MAAA,GAAiB,QAAA;AAEjB;AAAA,IAAA,IAAA,CAAA,KAAA,GAAgB,OAAA;AAEhB;AAAA,IAAA,IAAA,CAAA,WAAA,GAAsB,cAAA;AAEtB;AAAA,IAAA,IAAA,CAAA,IAAA,GAAe,MAAA;AAEf;AAAA,IAAA,IAAA,CAAA,UAAA,GAAqB,aAAA;AAErB;AAAA,IAAA,IAAA,CAAA,IAAA,GAAe,MAAA;AAEf;AAAA,IAAA,IAAA,CAAA,UAAA,GAAqB,aAAA;AAErB;AAAA,IAAA,IAAA,CAAA,QAAA,GAAmB,UAAA;AAEnB;AAAA,IAAA,IAAA,CAAA,KAAA,GAAgB,OAAA;AAEhB;AAAA,IAAA,IAAA,CAAA,SAAA,GAAoB,YAAA;AAEpB;AAAA,IAAA,IAAA,CAAA,MAAA,GAAiB,QAAA;AAAA,EAAA;AAAA,EAGjB,WAAW,aAAA,EAAwC;AACjD,IAAA,OAAO,CAAC,aAAA,EAAe,OAAA,IAAW,IAAA,CAAK,aAAA,CAAc,OAAO,CAAA,GAAI,IAAA,CAAK,aAAA,CAAc,OAAO,CAAA,GAAI,EAAE,CAAA;AAAA,EAClG;AACF;;;;"}