Copybara bot | be50d49 | 2023-11-30 00:16:42 +0100 | [diff] [blame] | 1 | 'use strict'; |
| 2 | |
| 3 | const VK_TAB = 9; |
| 4 | const VK_ENTER = 13; |
| 5 | const VK_ESC = 27; |
| 6 | const VK_SPACE = 32; |
| 7 | const VK_PAGE_UP = 33; |
| 8 | const VK_PAGE_DOWN = 34; |
| 9 | const VK_END = 35; |
| 10 | const VK_HOME = 36; |
| 11 | const VK_ARROW_LEFT = 37; |
| 12 | const VK_ARROW_UP = 38; |
| 13 | const VK_ARROW_RIGHT = 39; |
| 14 | const VK_ARROW_DOWN = 40; |
| 15 | |
| 16 | const ARIA_EXPANDED = 'aria-expanded'; |
| 17 | const ARIA_HIDDEN = 'aria-hidden'; |
| 18 | const ARIA_MULTISELECTABLE = 'aria-multiselectable'; |
| 19 | const ARIA_SELECTED = 'aria-selected'; |
| 20 | |
| 21 | const IS_DIRTY = 'is-dirty'; |
| 22 | const IS_DISABLED = 'is-disabled'; |
| 23 | const IS_EXPANDED = 'is-expanded'; |
| 24 | const IS_FOCUSED = 'is-focused'; |
| 25 | const IS_INVALID = 'is-invalid'; |
| 26 | const IS_UPGRADED = 'is-upgraded'; |
| 27 | const DATA_UPGRADED = 'data-upgraded'; |
| 28 | |
| 29 | const MDL_RIPPLE = 'mdl-ripple'; |
| 30 | const MDL_RIPPLE_COMPONENT = 'MaterialRipple'; |
| 31 | const MDL_RIPPLE_EFFECT = 'mdl-js-ripple-effect'; |
| 32 | const MDL_RIPPLE_EFFECT_IGNORE_EVENTS = 'mdl-js-ripple-effect--ignore-events'; |
| 33 | |
| 34 | export { |
| 35 | VK_TAB, |
| 36 | VK_ENTER, |
| 37 | VK_ESC, |
| 38 | VK_SPACE, |
| 39 | VK_PAGE_UP, |
| 40 | VK_PAGE_DOWN , |
| 41 | VK_END, |
| 42 | VK_HOME, |
| 43 | VK_ARROW_LEFT, |
| 44 | VK_ARROW_UP, |
| 45 | VK_ARROW_RIGHT, |
| 46 | VK_ARROW_DOWN , |
| 47 | ARIA_EXPANDED, |
| 48 | ARIA_HIDDEN, |
| 49 | ARIA_MULTISELECTABLE, |
| 50 | ARIA_SELECTED, |
| 51 | IS_DIRTY, |
| 52 | IS_DISABLED, |
| 53 | IS_EXPANDED, |
| 54 | IS_FOCUSED, |
| 55 | IS_INVALID, |
| 56 | IS_UPGRADED, |
| 57 | DATA_UPGRADED , |
| 58 | MDL_RIPPLE, |
| 59 | MDL_RIPPLE_COMPONENT, |
| 60 | MDL_RIPPLE_EFFECT, |
| 61 | MDL_RIPPLE_EFFECT_IGNORE_EVENTS |
| 62 | }; |