constants.js 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. */
  26. export var MDCChipCssClasses;
  27. (function (MDCChipCssClasses) {
  28. MDCChipCssClasses["SELECTING"] = "mdc-evolution-chip--selecting";
  29. MDCChipCssClasses["DESELECTING"] = "mdc-evolution-chip--deselecting";
  30. MDCChipCssClasses["SELECTING_WITH_PRIMARY_ICON"] = "mdc-evolution-chip--selecting-with-primary-icon";
  31. MDCChipCssClasses["DESELECTING_WITH_PRIMARY_ICON"] = "mdc-evolution-chip--deselecting-with-primary-icon";
  32. MDCChipCssClasses["DISABLED"] = "mdc-evolution-chip--disabled";
  33. MDCChipCssClasses["ENTER"] = "mdc-evolution-chip--enter";
  34. MDCChipCssClasses["EXIT"] = "mdc-evolution-chip--exit";
  35. MDCChipCssClasses["SELECTED"] = "mdc-evolution-chip--selected";
  36. MDCChipCssClasses["HIDDEN"] = "mdc-evolution-chip--hidden";
  37. MDCChipCssClasses["WITH_PRIMARY_ICON"] = "mdc-evolution-chip--with-primary-icon";
  38. })(MDCChipCssClasses || (MDCChipCssClasses = {}));
  39. /**
  40. * MDCChipEvents provides the named constants for emitted events.
  41. */
  42. export var MDCChipEvents;
  43. (function (MDCChipEvents) {
  44. MDCChipEvents["INTERACTION"] = "MDCChip:interaction";
  45. MDCChipEvents["NAVIGATION"] = "MDCChip:navigation";
  46. MDCChipEvents["ANIMATION"] = "MDCChip:animation";
  47. })(MDCChipEvents || (MDCChipEvents = {}));
  48. /**
  49. * MDCChipAttributes provides the named constants for strings used by the
  50. * foundation.
  51. */
  52. export var MDCChipAttributes;
  53. (function (MDCChipAttributes) {
  54. MDCChipAttributes["DATA_REMOVED_ANNOUNCEMENT"] = "data-mdc-removed-announcement";
  55. MDCChipAttributes["DATA_ADDED_ANNOUNCEMENT"] = "data-mdc-added-announcement";
  56. })(MDCChipAttributes || (MDCChipAttributes = {}));
  57. /**
  58. * MDCChipAnimation provides the names of runnable animations.
  59. */
  60. export var MDCChipAnimation;
  61. (function (MDCChipAnimation) {
  62. MDCChipAnimation["ENTER"] = "mdc-evolution-chip-enter";
  63. MDCChipAnimation["EXIT"] = "mdc-evolution-chip-exit";
  64. })(MDCChipAnimation || (MDCChipAnimation = {}));
  65. //# sourceMappingURL=constants.js.map