UNPKG

2.08 kBJavaScriptView Raw
1/**
2 * @license
3 * Copyright 2017 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 */
23export var cssClasses = {
24 CLOSED_CLASS: 'mdc-linear-progress--closed',
25 CLOSED_ANIMATION_OFF_CLASS: 'mdc-linear-progress--closed-animation-off',
26 INDETERMINATE_CLASS: 'mdc-linear-progress--indeterminate',
27 REVERSED_CLASS: 'mdc-linear-progress--reversed',
28 ANIMATION_READY_CLASS: 'mdc-linear-progress--animation-ready',
29};
30export var strings = {
31 ARIA_HIDDEN: 'aria-hidden',
32 ARIA_VALUEMAX: 'aria-valuemax',
33 ARIA_VALUEMIN: 'aria-valuemin',
34 ARIA_VALUENOW: 'aria-valuenow',
35 BUFFER_BAR_SELECTOR: '.mdc-linear-progress__buffer-bar',
36 FLEX_BASIS: 'flex-basis',
37 PRIMARY_BAR_SELECTOR: '.mdc-linear-progress__primary-bar',
38};
39// these are percentages pulled from keyframes.scss
40export var animationDimensionPercentages = {
41 PRIMARY_HALF: .8367142,
42 PRIMARY_FULL: 2.00611057,
43 SECONDARY_QUARTER: .37651913,
44 SECONDARY_HALF: .84386165,
45 SECONDARY_FULL: 1.60277782,
46};
47//# sourceMappingURL=constants.js.map
\No newline at end of file