UNPKG

2.46 kBTypeScriptView Raw
1/**
2 * @license
3 * Copyright 2020 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/** Slider element classes. */
24export declare const cssClasses: {
25 DISABLED: string;
26 DISCRETE: string;
27 INPUT: string;
28 RANGE: string;
29 THUMB: string;
30 THUMB_FOCUSED: string;
31 THUMB_KNOB: string;
32 THUMB_TOP: string;
33 THUMB_WITH_INDICATOR: string;
34 TICK_MARKS: string;
35 TICK_MARKS_CONTAINER: string;
36 TICK_MARK_ACTIVE: string;
37 TICK_MARK_INACTIVE: string;
38 TRACK: string;
39 TRACK_ACTIVE: string;
40 VALUE_INDICATOR_CONTAINER: string;
41 VALUE_INDICATOR_TEXT: string;
42};
43/** Slider numbers. */
44export declare const numbers: {
45 STEP_SIZE: number;
46 MIN_RANGE: number;
47 THUMB_UPDATE_MIN_PX: number;
48};
49/** Slider attributes. */
50export declare const attributes: {
51 ARIA_VALUETEXT: string;
52 INPUT_DISABLED: string;
53 INPUT_MIN: string;
54 INPUT_MAX: string;
55 INPUT_VALUE: string;
56 INPUT_STEP: string;
57 DATA_MIN_RANGE: string;
58};
59/** Slider events. */
60export declare const events: {
61 CHANGE: string;
62 INPUT: string;
63};
64/** Slider strings. */
65export declare const strings: {
66 VAR_VALUE_INDICATOR_CARET_LEFT: string;
67 VAR_VALUE_INDICATOR_CARET_RIGHT: string;
68 VAR_VALUE_INDICATOR_CARET_TRANSFORM: string;
69 VAR_VALUE_INDICATOR_CONTAINER_LEFT: string;
70 VAR_VALUE_INDICATOR_CONTAINER_RIGHT: string;
71 VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM: string;
72};