blob: 9e63ea77e88ce4749e5285f1dae691edbf9f5bd2 [file] [log] [blame]
Copybara botbe50d492023-11-30 00:16:42 +01001'use strict';
2
3const VK_TAB = 9;
4const VK_ENTER = 13;
5const VK_ESC = 27;
6const VK_SPACE = 32;
7const VK_PAGE_UP = 33;
8const VK_PAGE_DOWN = 34;
9const VK_END = 35;
10const VK_HOME = 36;
11const VK_ARROW_LEFT = 37;
12const VK_ARROW_UP = 38;
13const VK_ARROW_RIGHT = 39;
14const VK_ARROW_DOWN = 40;
15
16const ARIA_EXPANDED = 'aria-expanded';
17const ARIA_HIDDEN = 'aria-hidden';
18const ARIA_MULTISELECTABLE = 'aria-multiselectable';
19const ARIA_SELECTED = 'aria-selected';
20
21const IS_DIRTY = 'is-dirty';
22const IS_DISABLED = 'is-disabled';
23const IS_EXPANDED = 'is-expanded';
24const IS_FOCUSED = 'is-focused';
25const IS_INVALID = 'is-invalid';
26const IS_UPGRADED = 'is-upgraded';
27const DATA_UPGRADED = 'data-upgraded';
28
29const MDL_RIPPLE = 'mdl-ripple';
30const MDL_RIPPLE_COMPONENT = 'MaterialRipple';
31const MDL_RIPPLE_EFFECT = 'mdl-js-ripple-effect';
32const MDL_RIPPLE_EFFECT_IGNORE_EVENTS = 'mdl-js-ripple-effect--ignore-events';
33
34export {
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};