{"version":3,"file":"InputWrapper.context.cjs","sources":["../../../src/components/Input/InputWrapper.context.ts"],"sourcesContent":["import { createOptionalContext, GetStylesApi } from '../../core';\nimport type { InputWrapperFactory } from './InputWrapper/InputWrapper';\n\ninterface InputWrapperContextValue {\n  offsetTop: boolean;\n  offsetBottom: boolean;\n  describedBy: string | undefined;\n  inputId: string | undefined;\n  labelId: string | undefined;\n  getStyles: GetStylesApi<InputWrapperFactory> | null;\n}\n\nexport const [InputWrapperProvider, useInputWrapperContext] =\n  createOptionalContext<InputWrapperContextValue>({\n    offsetBottom: false,\n    offsetTop: false,\n    describedBy: undefined,\n    getStyles: null,\n    inputId: undefined,\n    labelId: undefined,\n  });\n"],"names":["createOptionalContext"],"mappings":";;;;;;;;;;;AAYO,MAAM,CAAC,oBAAA,EAAsB,sBAAsB,CAAA,GACxDA,2CAAgD,CAAA;AAAA,EAC9C,YAAc,EAAA,KAAA;AAAA,EACd,SAAW,EAAA,KAAA;AAAA,EACX,WAAa,EAAA,KAAA,CAAA;AAAA,EACb,SAAW,EAAA,IAAA;AAAA,EACX,OAAS,EAAA,KAAA,CAAA;AAAA,EACT,OAAS,EAAA,KAAA;AACX,CAAC;;;;;"}