{"version":3,"file":"defaultFieldErrorTheme.mjs","sources":["../../../../../src/components/ui/field/defaultFieldErrorTheme.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 { fieldErrorDefaults } from \"./fieldErrorDefaults\";\n\n/** Field's error text: Text's classes under its own class, so a filled surface can re-point its color. */\nexport const defaultFieldErrorTheme = new ComponentTheme<TypographyProps, TextTheme>(\n  defaultTextTheme.tag,\n  `${defaultTextTheme.base} vane-field-error`,\n  defaultTextTheme.themes,\n  fieldErrorDefaults,\n  TYPOGRAPHY_CATEGORIES,\n  (props: TypographyProps) => props.href ? \"a\" : \"p\",\n  defaultTextTheme.vaneType\n);\n"],"names":[],"mappings":";;;;;;;;;AAOO,MAAM,yBAAyB,IAAI,cAAA;AAAA,EACxC,gBAAA,CAAiB,GAAA;AAAA,EACjB,CAAA,EAAG,iBAAiB,IAAI,CAAA,iBAAA,CAAA;AAAA,EACxB,gBAAA,CAAiB,MAAA;AAAA,EACjB,kBAAA;AAAA,EACA,qBAAA;AAAA,EACA,CAAC,KAAA,KAA2B,KAAA,CAAM,IAAA,GAAO,GAAA,GAAM,GAAA;AAAA,EAC/C,gBAAA,CAAiB;AACnB;;;;"}