{"version":3,"file":"defaultFieldDescriptionTheme.cjs","sources":["../../../../../src/components/ui/field/defaultFieldDescriptionTheme.ts"],"sourcesContent":["import { ComponentTheme } from \"../theme/common\";\nimport type { TypographyProps, TextTheme } from \"../typography/common\";\nimport { TYPOGRAPHY_CATEGORIES } from \"../typography/common\";\nimport { defaultTextTheme } from \"../typography/text/defaultTextTheme\";\nimport { fieldDescriptionDefaults } from \"./fieldDescriptionDefaults\";\n\n/** Field's help text: Text's classes under its own class, so a filled surface can re-point its color. */\nexport const defaultFieldDescriptionTheme = new ComponentTheme<TypographyProps, TextTheme>(\n  defaultTextTheme.tag,\n  `${defaultTextTheme.base} vane-field-description`,\n  defaultTextTheme.themes,\n  fieldDescriptionDefaults,\n  TYPOGRAPHY_CATEGORIES,\n  (props: TypographyProps) => props.href ? \"a\" : \"p\",\n  defaultTextTheme.vaneType\n);\n"],"names":["ComponentTheme","defaultTextTheme","fieldDescriptionDefaults","TYPOGRAPHY_CATEGORIES"],"mappings":";;;;;;;;;;;AAOO,MAAM,+BAA+B,IAAIA,6BAAA;AAAA,EAC9CC,iCAAA,CAAiB,GAAA;AAAA,EACjB,CAAA,EAAGA,kCAAiB,IAAI,CAAA,uBAAA,CAAA;AAAA,EACxBA,iCAAA,CAAiB,MAAA;AAAA,EACjBC,iDAAA;AAAA,EACAC,0CAAA;AAAA,EACA,CAAC,KAAA,KAA2B,KAAA,CAAM,IAAA,GAAO,GAAA,GAAM,GAAA;AAAA,EAC/CF,iCAAA,CAAiB;AACnB;;;;"}