botframework-webchat-component
Version:
React component of botframework-webchat
41 lines • 1.5 kB
TypeScript
import { StrictStyleOptions } from 'botframework-webchat-api';
export default function createSendBoxTextBoxStyle({ paddingRegular, primaryFont, sendBoxDisabledTextColor, sendBoxMaxHeight, sendBoxPlaceholderColor, sendBoxTextColor, subtle }: StrictStyleOptions): {
'&.webchat__send-box-text-box': {
alignItems: string;
fontFamily: string;
padding: number;
position: string;
'& .webchat__send-box-text-box__input': {
border: number;
fontFamily: string;
fontSize: string;
height: string;
outline: number;
padding: number;
};
'& .webchat__send-box-text-box__input, & .webchat__send-box-text-box__html-text-area': {
backgroundColor: string;
'&:not(:disabled):not([aria-disabled="true"])': {
color: string;
};
'&:disabled, &[aria-disabled="true"]': {
color: string;
};
'&::placeholder': {
color: string;
};
};
'& .webchat__send-box-text-box__input, & .webchat__send-box-text-box__text-area': {
maxHeight: string | number;
};
'& .webchat__send-box-text-box__glass': {
height: string;
left: number;
position: string;
top: number;
userSelect: number;
width: string;
};
};
};
//# sourceMappingURL=SendBoxTextBox.d.ts.map