@material/select
Version:
The Material Components web select (text field drop-down) component
55 lines (54 loc) • 1.95 kB
TypeScript
/**
* @license
* Copyright 2016 Google Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
declare const cssClasses: {
ACTIVATED: string;
DISABLED: string;
FOCUSED: string;
INVALID: string;
MENU_INVALID: string;
OUTLINED: string;
REQUIRED: string;
ROOT: string;
WITH_LEADING_ICON: string;
};
declare const strings: {
ARIA_CONTROLS: string;
ARIA_DESCRIBEDBY: string;
ARIA_SELECTED_ATTR: string;
CHANGE_EVENT: string;
HIDDEN_INPUT_SELECTOR: string;
LABEL_SELECTOR: string;
LEADING_ICON_SELECTOR: string;
LINE_RIPPLE_SELECTOR: string;
MENU_SELECTOR: string;
OUTLINE_SELECTOR: string;
SELECTED_TEXT_SELECTOR: string;
SELECT_ANCHOR_SELECTOR: string;
VALUE_ATTR: string;
};
declare const numbers: {
LABEL_SCALE: number;
UNSET_INDEX: number;
CLICK_DEBOUNCE_TIMEOUT_MS: number;
};
export { cssClasses, strings, numbers };