{"version":3,"file":"defaultSelectWrapperTheme.mjs","sources":["../../../../../src/components/ui/select/defaultSelectWrapperTheme.ts"],"sourcesContent":["import { ComponentTheme, defaultLayoutClassMappers } from \"../theme/common\";\nimport type { SelectWrapperProps } from \"./SelectWrapperProps\";\nimport { WidthClassMapper } from \"../theme/layout\";\nimport { DisabledOpacityClassMapper } from \"../theme/appearance\";\nimport { SELECT_WRAPPER_CATEGORIES } from \"./SelectWrapperCategories\";\nimport type { SelectWrapperTheme } from \"./SelectWrapperTheme\";\nimport { selectWrapperDefaults } from \"./selectWrapperDefaults\";\n\n// Positioning shell so the chevron can overlay the field's trailing edge; mirrors inputWrapper.\nexport const defaultSelectWrapperTheme = new ComponentTheme<SelectWrapperProps, SelectWrapperTheme>(\n  \"span\",\n  \"vane-select-wrapper\",\n  {\n    layout: {\n      ...defaultLayoutClassMappers,\n      width: new WidthClassMapper(),\n    },\n    // the chevron is a sibling, so dimming only the field would leave it at full strength\n    appearance: {\n      disabled: new DisabledOpacityClassMapper(),\n    },\n  },\n  selectWrapperDefaults,\n  SELECT_WRAPPER_CATEGORIES,\n  undefined,\n  'ui'\n);\n"],"names":[],"mappings":";;;;;;;;;;;AASO,MAAM,4BAA4B,IAAI,cAAA;AAAA,EAC3C,MAAA;AAAA,EACA,qBAAA;AAAA,EACA;AAAA,IACE,MAAA,EAAQ;AAAA,MACN,GAAG,yBAAA;AAAA,MACH,KAAA,EAAO,IAAI,gBAAA;AAAiB,KAC9B;AAAA;AAAA,IAEA,UAAA,EAAY;AAAA,MACV,QAAA,EAAU,IAAI,0BAAA;AAA2B;AAC3C,GACF;AAAA,EACA,qBAAA;AAAA,EACA,yBAAA;AAAA,EACA,MAAA;AAAA,EACA;AACF;;;;"}