UNPKG

carbon-components-angular

Version:
60 lines (56 loc) 1.82 kB
/** * * carbon-angular v0.0.0 | input.directive.d.ts * * Copyright 2014, 2024 IBM * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import * as i0 from "@angular/core"; /** * A directive for applying styling to an input element. * * Example: * * ```html * <input cdsText/> * ``` * * See the [vanilla carbon docs](http://www.carbondesignsystem.com/components/text-input/code) for more detail. */ export declare class TextInput { /** * @deprecated since v5 - Use `cdsLayer` directive instead * `light` or `dark` input theme */ theme: "light" | "dark"; /** * Input field render size */ size: "sm" | "md" | "lg"; inputClass: boolean; /** * @todo - remove `cds--text-input--${size}` classes in v12 */ get isSizeSm(): boolean; get isSizeMd(): boolean; get isSizelg(): boolean; get sizeSm(): boolean; get sizeMd(): boolean; get sizelg(): boolean; invalid: boolean; warn: boolean; skeleton: boolean; get isLightTheme(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration<TextInput, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<TextInput, "[cdsText], [ibmText]", never, { "theme": "theme"; "size": "size"; "invalid": "invalid"; "warn": "warn"; "skeleton": "skeleton"; }, {}, never, never, false>; }