UNPKG

2.48 kBTypeScriptView Raw
1/**
2 * @license
3 * Copyright 2016 Google Inc.
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a copy
6 * of this software and associated documentation files (the "Software"), to deal
7 * in the Software without restriction, including without limitation the rights
8 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 * copies of the Software, and to permit persons to whom the Software is
10 * furnished to do so, subject to the following conditions:
11 *
12 * The above copyright notice and this permission notice shall be included in
13 * all copies or substantial portions of the Software.
14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 * THE SOFTWARE.
22 */
23/**
24 * MDCChipCssClasses provides the named constants for class names.
25 */
26export declare enum MDCChipCssClasses {
27 SELECTING = "mdc-evolution-chip--selecting",
28 DESELECTING = "mdc-evolution-chip--deselecting",
29 SELECTING_WITH_PRIMARY_ICON = "mdc-evolution-chip--selecting-with-primary-icon",
30 DESELECTING_WITH_PRIMARY_ICON = "mdc-evolution-chip--deselecting-with-primary-icon",
31 DISABLED = "mdc-evolution-chip--disabled",
32 ENTER = "mdc-evolution-chip--enter",
33 EXIT = "mdc-evolution-chip--exit",
34 SELECTED = "mdc-evolution-chip--selected",
35 HIDDEN = "mdc-evolution-chip--hidden",
36 WITH_PRIMARY_ICON = "mdc-evolution-chip--with-primary-icon"
37}
38/**
39 * MDCChipEvents provides the named constants for emitted events.
40 */
41export declare enum MDCChipEvents {
42 INTERACTION = "MDCChip:interaction",
43 NAVIGATION = "MDCChip:navigation",
44 ANIMATION = "MDCChip:animation"
45}
46/**
47 * MDCChipAttributes provides the named constants for strings used by the
48 * foundation.
49 */
50export declare enum MDCChipAttributes {
51 DATA_REMOVED_ANNOUNCEMENT = "data-mdc-removed-announcement",
52 DATA_ADDED_ANNOUNCEMENT = "data-mdc-added-announcement"
53}
54/**
55 * MDCChipAnimation provides the names of runnable animations.
56 */
57export declare enum MDCChipAnimation {
58 ENTER = "mdc-evolution-chip-enter",
59 EXIT = "mdc-evolution-chip-exit"
60}