@m3e/slider 1.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -0
- package/README.md +185 -0
- package/cem.config.mjs +16 -0
- package/demo/index.html +86 -0
- package/dist/css-custom-data.json +242 -0
- package/dist/custom-elements.json +902 -0
- package/dist/html-custom-data.json +70 -0
- package/dist/index.js +993 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +395 -0
- package/dist/index.min.js.map +1 -0
- package/dist/src/SliderElement.d.ts +143 -0
- package/dist/src/SliderElement.d.ts.map +1 -0
- package/dist/src/SliderSize.d.ts +3 -0
- package/dist/src/SliderSize.d.ts.map +1 -0
- package/dist/src/SliderThumbElement.d.ts +77 -0
- package/dist/src/SliderThumbElement.d.ts.map +1 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/index.d.ts.map +1 -0
- package/eslint.config.mjs +13 -0
- package/package.json +49 -0
- package/rollup.config.js +32 -0
- package/src/SliderElement.ts +723 -0
- package/src/SliderSize.ts +2 -0
- package/src/SliderThumbElement.ts +230 -0
- package/src/index.ts +3 -0
- package/tsconfig.json +9 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 matraic
|
|
4
|
+
Contact: matraic@yahoo.com
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
# @m3e/slider
|
|
2
|
+
|
|
3
|
+
The `m3e-slider` component enables users to select a numeric value from a continuous or discrete range. Designed according to Material 3 principles, it supports labeled value indicators, tick marks, and snapping behavior.
|
|
4
|
+
|
|
5
|
+
> **Part of the [M3E](../../README.md) monorepo**
|
|
6
|
+
> This package is maintained within the unified M3E repository, which provides a suite of Material 3 web components.
|
|
7
|
+
|
|
8
|
+
## ๐ฆ Installation
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install @m3e/slider
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## ๐ป Editor Integration
|
|
15
|
+
|
|
16
|
+
This package includes a [Custom Elements Manifest](https://github.com/webcomponents/custom-elements-manifest) to support enhanced editor tooling and developer experience.
|
|
17
|
+
|
|
18
|
+
### Visual Studio Code
|
|
19
|
+
|
|
20
|
+
To enable autocomplete and hover documentation for `@m3e/slider`, install the [Custom Elements Manifest Language Server](https://marketplace.visualstudio.com/items?itemName=pwrs.cem-language-server-vscode) extension. It will automatically detect the manifest bundled with this package and surface tag names, attributes, slots, and events in supported files.
|
|
21
|
+
|
|
22
|
+
Alternately, you can explicitly reference the `html-custom-data.json` and `css-custom-data.json` in your workspace settings:
|
|
23
|
+
|
|
24
|
+
```json
|
|
25
|
+
{
|
|
26
|
+
"html.customData": ["./node_modules/@m3e/slider/dist/html-custom-data.json"],
|
|
27
|
+
"css.customData": ["./node_modules/@m3e/slider/dist/css-custom-data.json"]
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## ๐ Browser Usage
|
|
32
|
+
|
|
33
|
+
This package uses [JavaScript Modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#module_specifiers). To use it directly in a browser without a bundler, use a module script similar to the following.
|
|
34
|
+
|
|
35
|
+
```html
|
|
36
|
+
<script type="module" src="/node_modules/@m3e/slider/dist/index.js"></script>
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
In addition, you must use an [import map](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/script/type/importmap) to include dependencies.
|
|
40
|
+
|
|
41
|
+
```html
|
|
42
|
+
<script type="importmap">
|
|
43
|
+
{
|
|
44
|
+
"imports": {
|
|
45
|
+
"lit": "https://cdn.jsdelivr.net/npm/lit@3.3.0/+esm",
|
|
46
|
+
"@m3e/core": "/node_modules/@m3e/core/dist/index.js"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
</script>
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
> For production, use index.min.js for faster load times.
|
|
53
|
+
|
|
54
|
+
## ๐๏ธ Elements
|
|
55
|
+
|
|
56
|
+
- `m3e-slider` โ Allows for the selection of numeric values from a range.
|
|
57
|
+
- `m3e-slider-thumb` โ A thumb used to select a value in a slider.
|
|
58
|
+
|
|
59
|
+
## ๐งช Examples
|
|
60
|
+
|
|
61
|
+
The following example illustrates a labelled slider with thumb used to select a single numeric value.
|
|
62
|
+
|
|
63
|
+
```html
|
|
64
|
+
<m3e-slider labelled>
|
|
65
|
+
<m3e-slider-thumb value="50"></m3e-slider-thumb>
|
|
66
|
+
</m3e-slider>
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
The next example illustrates a labelled range slider with two thumbs used to select a minimum and maximum numeric value.
|
|
70
|
+
|
|
71
|
+
```html
|
|
72
|
+
<m3e-slider labelled>
|
|
73
|
+
<m3e-slider-thumb value="25"></m3e-slider-thumb>
|
|
74
|
+
<m3e-slider-thumb value="75"></m3e-slider-thumb>
|
|
75
|
+
</m3e-slider>
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## ๐ API Reference
|
|
79
|
+
|
|
80
|
+
### ๐๏ธ Slider
|
|
81
|
+
|
|
82
|
+
This section details the attributes, events and CSS custom properties available for the `m3e-slider` component.
|
|
83
|
+
|
|
84
|
+
#### โ๏ธ Attributes
|
|
85
|
+
|
|
86
|
+
| Attribute | Type | Default | Description |
|
|
87
|
+
| ---------- | ------------------------------------------------------------------ | --------------- | -------------------------------------------- |
|
|
88
|
+
| `disabled` | `boolean` | `false` | Whether the element is disabled. |
|
|
89
|
+
| `discrete` | `boolean` | `false` | Whether to show tick marks. |
|
|
90
|
+
| `labelled` | `boolean` | `false` | Whether to show value labels when activated. |
|
|
91
|
+
| `min` | `number` | `0` | The minimum allowable value. |
|
|
92
|
+
| `max` | `number` | `100` | The maximum allowable value. |
|
|
93
|
+
| `step` | `number` | `1` | The value at which the thumb will snap. |
|
|
94
|
+
| `size` | `"extra-small"`, `"small"`, `"medium"`, `"large"`, `"extra-large"` | `"extra-small"` | The size of the slider. |
|
|
95
|
+
|
|
96
|
+
#### ๐ Events
|
|
97
|
+
|
|
98
|
+
| Event | Description |
|
|
99
|
+
| -------- | ------------------------------- |
|
|
100
|
+
| `input` | Emitted when the value changes. |
|
|
101
|
+
| `change` | Emitted when the value changes. |
|
|
102
|
+
|
|
103
|
+
#### ๐๏ธ CSS Custom Properties
|
|
104
|
+
|
|
105
|
+
| Property | Description |
|
|
106
|
+
| ------------------------------------------------------------ | ----------------------------------------------------------------- |
|
|
107
|
+
| `--m3e-slider-min-width` | Minimum inline size of the slider host. |
|
|
108
|
+
| `--m3e-slider-small-height` | Height of the slider when size is small or extra-small. |
|
|
109
|
+
| `--m3e-slider-medium-height` | Height of the slider when size is medium. |
|
|
110
|
+
| `--m3e-slider-large-height` | Height of the slider when size is large. |
|
|
111
|
+
| `--m3e-slider-extra-large-height` | Height of the slider when size is extra-large. |
|
|
112
|
+
| `--m3e-slider-small-active-track-shape` | Corner shape of the active track for small sliders. |
|
|
113
|
+
| `--m3e-slider-small-inactive-active-track-start-shape` | Corner shape of the inactive track start for small sliders. |
|
|
114
|
+
| `--m3e-slider-small-inactive-track-end-shape` | Corner shape of the inactive track end for small sliders. |
|
|
115
|
+
| `--m3e-slider-medium-active-track-shape` | Corner shape of the active track for medium sliders. |
|
|
116
|
+
| `--m3e-slider-medium-inactive-active-track-start-shape` | Corner shape of the inactive track start for medium sliders. |
|
|
117
|
+
| `--m3e-slider-medium-inactive-track-end-shape` | Corner shape of the inactive track end for medium sliders. |
|
|
118
|
+
| `--m3e-slider-large-active-track-shape` | Corner shape of the active track for large sliders. |
|
|
119
|
+
| `--m3e-slider-large-inactive-active-track-start-shape` | Corner shape of the inactive track start for large sliders. |
|
|
120
|
+
| `--m3e-slider-large-inactive-track-end-shape` | Corner shape of the inactive track end for large sliders. |
|
|
121
|
+
| `--m3e-slider-extra-large-active-track-shape` | Corner shape of the active track for extra-large sliders. |
|
|
122
|
+
| `--m3e-slider-extra-large-inactive-active-track-start-shape` | Corner shape of the inactive track start for extra-large sliders. |
|
|
123
|
+
| `--m3e-slider-extra-large-inactive-track-end-shape` | Corner shape of the inactive track end for extra-large sliders. |
|
|
124
|
+
| `--m3e-slider-extra-small-track-height` | Height of the track for extra-small sliders. |
|
|
125
|
+
| `--m3e-slider-small-track-height` | Height of the track for small sliders. |
|
|
126
|
+
| `--m3e-slider-medium-track-height` | Height of the track for medium sliders. |
|
|
127
|
+
| `--m3e-slider-large-track-height` | Height of the track for large sliders. |
|
|
128
|
+
| `--m3e-slider-extra-large-track-height` | Height of the track for extra-large sliders. |
|
|
129
|
+
| `--m3e-slider-tick-size` | Size of each tick mark. |
|
|
130
|
+
| `--m3e-slider-tick-shape` | Corner shape of each tick mark. |
|
|
131
|
+
| `--m3e-slider-inactive-track-color` | Background color of the inactive track when enabled. |
|
|
132
|
+
| `--m3e-slider-disabled-inactive-track-color` | Base color of the inactive track when disabled. |
|
|
133
|
+
| `--m3e-slider-disabled-inactive-track-opacity` | Opacity of the inactive track when disabled. |
|
|
134
|
+
| `--m3e-slider-active-track-color` | Background color of the active track when enabled. |
|
|
135
|
+
| `--m3e-slider-disabled-active-track-color` | Base color of the active track when disabled. |
|
|
136
|
+
| `--m3e-slider-disabled-active-track-opacity` | Opacity of the active track when disabled. |
|
|
137
|
+
| `--m3e-slider-tick-active-color` | Color of active ticks when enabled. |
|
|
138
|
+
| `--m3e-slider-disabled-tick-active-color` | Color of active ticks when disabled. |
|
|
139
|
+
| `--m3e-slider-tick-inactive-color` | Color of inactive ticks when enabled. |
|
|
140
|
+
| `--m3e-slider-disabled-tick-inactive-color` | Color of inactive ticks when disabled. |
|
|
141
|
+
|
|
142
|
+
### ๐๏ธ Slider Thumb
|
|
143
|
+
|
|
144
|
+
This section details the attributes, events and CSS custom properties available for the `m3e-slider-thumb` component.
|
|
145
|
+
|
|
146
|
+
#### โ๏ธ Attributes
|
|
147
|
+
|
|
148
|
+
| Attribute | Type | Default | Description |
|
|
149
|
+
| ---------- | ------------------ | ------- | ------------------------------------------------------------------------- |
|
|
150
|
+
| `disabled` | `boolean` | `false` | Whether the element is disabled. |
|
|
151
|
+
| `name` | `string` | | The name that identifies the element when submitting the associated form. |
|
|
152
|
+
| `value` | `number` \| `null` | `null` | The value of the thumb. |
|
|
153
|
+
|
|
154
|
+
#### ๐ Events
|
|
155
|
+
|
|
156
|
+
| Event | Description |
|
|
157
|
+
| -------- | ------------------------------- |
|
|
158
|
+
| `input` | Emitted when the value changes. |
|
|
159
|
+
| `change` | Emitted when the value changes. |
|
|
160
|
+
|
|
161
|
+
#### ๐๏ธ CSS Custom Properties
|
|
162
|
+
|
|
163
|
+
| Property | Description |
|
|
164
|
+
| ------------------------------------- | ---------------------------------------------- |
|
|
165
|
+
| `--m3e-slider-thumb-width` | Width of the slider thumb. |
|
|
166
|
+
| `--m3e-slider-thumb-padding` | Horizontal padding around the thumb. |
|
|
167
|
+
| `--m3e-slider-thumb-color` | Active color of the slider thumb when enabled. |
|
|
168
|
+
| `--m3e-slider-thumb-pressed-width` | Width of the thumb when pressed. |
|
|
169
|
+
| `--m3e-slider-thumb-disabled-color` | Color of the thumb when disabled. |
|
|
170
|
+
| `--m3e-slider-thumb-disabled-opacity` | Opacity of the thumb when disabled. |
|
|
171
|
+
| `--m3e-slider-label-width` | Width of the floating label above the thumb. |
|
|
172
|
+
| `--m3e-slider-label-container-color` | Background color of the label container. |
|
|
173
|
+
| `--m3e-slider-label-color` | Text color of the label. |
|
|
174
|
+
| `--m3e-slider-label-font-size` | Font size of the label text. |
|
|
175
|
+
| `--m3e-slider-label-font-weight` | Font weight of the label text. |
|
|
176
|
+
| `--m3e-slider-label-line-height` | Line height of the label text. |
|
|
177
|
+
| `--m3e-slider-label-tracking` | Letter spacing of the label text. |
|
|
178
|
+
|
|
179
|
+
## ๐ค Contributing
|
|
180
|
+
|
|
181
|
+
See the root monorepo `CONTRIBUTING.md` for guidelines on contributing to this package.
|
|
182
|
+
|
|
183
|
+
## ๐ License
|
|
184
|
+
|
|
185
|
+
This package is licensed under the MIT License.
|
package/cem.config.mjs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { customElementVsCodePlugin } from "custom-element-vs-code-integration";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
globs: ["src/**/*.ts"],
|
|
5
|
+
exclude: ["src/**/*.spec.ts"],
|
|
6
|
+
packagejson: true,
|
|
7
|
+
outdir: "dist",
|
|
8
|
+
litelement: true,
|
|
9
|
+
plugins: [
|
|
10
|
+
customElementVsCodePlugin({
|
|
11
|
+
outdir: "dist",
|
|
12
|
+
htmlFileName: "html-custom-data.json",
|
|
13
|
+
cssFileName: "css-custom-data.json",
|
|
14
|
+
}),
|
|
15
|
+
],
|
|
16
|
+
};
|
package/demo/index.html
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en" style="overflow-y: auto">
|
|
3
|
+
<head>
|
|
4
|
+
<title>Slider for M3E</title>
|
|
5
|
+
<meta charset="utf-8" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
+
<meta name="description" content="Slider for M3E" />
|
|
8
|
+
<base href="./" />
|
|
9
|
+
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
10
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
11
|
+
<link
|
|
12
|
+
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap"
|
|
13
|
+
rel="stylesheet"
|
|
14
|
+
/>
|
|
15
|
+
<link
|
|
16
|
+
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0..1,0"
|
|
17
|
+
rel="stylesheet"
|
|
18
|
+
/>
|
|
19
|
+
<script type="importmap">
|
|
20
|
+
{
|
|
21
|
+
"imports": {
|
|
22
|
+
"lit": "https://cdn.jsdelivr.net/npm/lit@3.3.0/+esm",
|
|
23
|
+
"@m3e/core": "../../core/dist/index.min.js"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
</script>
|
|
27
|
+
<script type="module" src="../../theme/dist/index.min.js"></script>
|
|
28
|
+
<script type="module" src="../dist/index.min.js"></script>
|
|
29
|
+
<style>
|
|
30
|
+
body {
|
|
31
|
+
font-family: "Roboto";
|
|
32
|
+
}
|
|
33
|
+
*:not(:defined) {
|
|
34
|
+
display: none;
|
|
35
|
+
}
|
|
36
|
+
</style>
|
|
37
|
+
</head>
|
|
38
|
+
<body>
|
|
39
|
+
<m3e-theme strong-focus>
|
|
40
|
+
<br /><br /><br /><br />
|
|
41
|
+
<m3e-slider labelled>
|
|
42
|
+
<m3e-slider-thumb aria-label="Slider thumb" value="50"></m3e-slider-thumb>
|
|
43
|
+
</m3e-slider>
|
|
44
|
+
<m3e-slider labelled>
|
|
45
|
+
<m3e-slider-thumb aria-label="Slider thumb" value="50"></m3e-slider-thumb>
|
|
46
|
+
</m3e-slider>
|
|
47
|
+
<m3e-slider labelled>
|
|
48
|
+
<m3e-slider-thumb aria-label="Slider thumb" value="50"></m3e-slider-thumb>
|
|
49
|
+
<m3e-slider-thumb aria-label="Slider thumb" value="75"></m3e-slider-thumb>
|
|
50
|
+
</m3e-slider>
|
|
51
|
+
<m3e-slider labelled discrete step="10">
|
|
52
|
+
<m3e-slider-thumb aria-label="Slider thumb" value="20"></m3e-slider-thumb>
|
|
53
|
+
<m3e-slider-thumb aria-label="Slider thumb" value="70"></m3e-slider-thumb>
|
|
54
|
+
</m3e-slider>
|
|
55
|
+
<m3e-slider labelled min="-50">
|
|
56
|
+
<m3e-slider-thumb aria-label="Slider thumb" value="-20"></m3e-slider-thumb>
|
|
57
|
+
</m3e-slider>
|
|
58
|
+
<br />
|
|
59
|
+
<br />
|
|
60
|
+
<m3e-slider labelled disabled>
|
|
61
|
+
<m3e-slider-thumb aria-label="Slider thumb" value="50"></m3e-slider-thumb>
|
|
62
|
+
</m3e-slider>
|
|
63
|
+
<m3e-slider labelled disabled>
|
|
64
|
+
<m3e-slider-thumb aria-label="Slider thumb" value="50"></m3e-slider-thumb>
|
|
65
|
+
<m3e-slider-thumb aria-label="Slider thumb" value="75"></m3e-slider-thumb>
|
|
66
|
+
</m3e-slider>
|
|
67
|
+
<br /><br />
|
|
68
|
+
<m3e-slider size="small" labelled>
|
|
69
|
+
<m3e-slider-thumb aria-label="Slider thumb" value="50"></m3e-slider-thumb>
|
|
70
|
+
<m3e-slider-thumb aria-label="Slider thumb" value="75"></m3e-slider-thumb>
|
|
71
|
+
</m3e-slider>
|
|
72
|
+
<m3e-slider size="medium" labelled>
|
|
73
|
+
<m3e-slider-thumb aria-label="Slider thumb" value="50"></m3e-slider-thumb>
|
|
74
|
+
<m3e-slider-thumb aria-label="Slider thumb" value="75"></m3e-slider-thumb>
|
|
75
|
+
</m3e-slider>
|
|
76
|
+
<m3e-slider size="large" labelled>
|
|
77
|
+
<m3e-slider-thumb aria-label="Slider thumb" value="50"></m3e-slider-thumb>
|
|
78
|
+
<m3e-slider-thumb aria-label="Slider thumb" value="75"></m3e-slider-thumb>
|
|
79
|
+
</m3e-slider>
|
|
80
|
+
<m3e-slider size="extra-large" labelled>
|
|
81
|
+
<m3e-slider-thumb aria-label="Slider thumb" value="50"></m3e-slider-thumb>
|
|
82
|
+
<m3e-slider-thumb aria-label="Slider thumb" value="75"></m3e-slider-thumb>
|
|
83
|
+
</m3e-slider>
|
|
84
|
+
</m3e-theme>
|
|
85
|
+
</body>
|
|
86
|
+
</html>
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/microsoft/vscode-css-languageservice/main/docs/customData.schema.json",
|
|
3
|
+
"version": 1.1,
|
|
4
|
+
"properties": [
|
|
5
|
+
{
|
|
6
|
+
"name": "--m3e-slider-min-width",
|
|
7
|
+
"description": "Minimum inline size of the slider host.",
|
|
8
|
+
"values": []
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "--m3e-slider-small-height",
|
|
12
|
+
"description": "Height of the slider when size is small or extra-small.",
|
|
13
|
+
"values": []
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "--m3e-slider-medium-height",
|
|
17
|
+
"description": "Height of the slider when size is medium.",
|
|
18
|
+
"values": []
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "--m3e-slider-large-height",
|
|
22
|
+
"description": "Height of the slider when size is large.",
|
|
23
|
+
"values": []
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "--m3e-slider-extra-large-height",
|
|
27
|
+
"description": "Height of the slider when size is extra-large.",
|
|
28
|
+
"values": []
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "--m3e-slider-small-active-track-shape",
|
|
32
|
+
"description": "Corner shape of the active track for small sliders.",
|
|
33
|
+
"values": []
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "--m3e-slider-small-inactive-active-track-start-shape",
|
|
37
|
+
"description": "Corner shape of the inactive track start for small sliders.",
|
|
38
|
+
"values": []
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "--m3e-slider-small-inactive-track-end-shape",
|
|
42
|
+
"description": "Corner shape of the inactive track end for small sliders.",
|
|
43
|
+
"values": []
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "--m3e-slider-medium-active-track-shape",
|
|
47
|
+
"description": "Corner shape of the active track for medium sliders.",
|
|
48
|
+
"values": []
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "--m3e-slider-medium-inactive-active-track-start-shape",
|
|
52
|
+
"description": "Corner shape of the inactive track start for medium sliders.",
|
|
53
|
+
"values": []
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "--m3e-slider-medium-inactive-track-end-shape",
|
|
57
|
+
"description": "Corner shape of the inactive track end for medium sliders.",
|
|
58
|
+
"values": []
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "--m3e-slider-large-active-track-shape",
|
|
62
|
+
"description": "Corner shape of the active track for large sliders.",
|
|
63
|
+
"values": []
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "--m3e-slider-large-inactive-active-track-start-shape",
|
|
67
|
+
"description": "Corner shape of the inactive track start for large sliders.",
|
|
68
|
+
"values": []
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "--m3e-slider-large-inactive-track-end-shape",
|
|
72
|
+
"description": "Corner shape of the inactive track end for large sliders.",
|
|
73
|
+
"values": []
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "--m3e-slider-extra-large-active-track-shape",
|
|
77
|
+
"description": "Corner shape of the active track for extra-large sliders.",
|
|
78
|
+
"values": []
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "--m3e-slider-extra-large-inactive-active-track-start-shape",
|
|
82
|
+
"description": "Corner shape of the inactive track start for extra-large sliders.",
|
|
83
|
+
"values": []
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "--m3e-slider-extra-large-inactive-track-end-shape",
|
|
87
|
+
"description": "Corner shape of the inactive track end for extra-large sliders.",
|
|
88
|
+
"values": []
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "--m3e-slider-extra-small-track-height",
|
|
92
|
+
"description": "Height of the track for extra-small sliders.",
|
|
93
|
+
"values": []
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "--m3e-slider-small-track-height",
|
|
97
|
+
"description": "Height of the track for small sliders.",
|
|
98
|
+
"values": []
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "--m3e-slider-medium-track-height",
|
|
102
|
+
"description": "Height of the track for medium sliders.",
|
|
103
|
+
"values": []
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "--m3e-slider-large-track-height",
|
|
107
|
+
"description": "Height of the track for large sliders.",
|
|
108
|
+
"values": []
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "--m3e-slider-extra-large-track-height",
|
|
112
|
+
"description": "Height of the track for extra-large sliders.",
|
|
113
|
+
"values": []
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "--m3e-slider-tick-size",
|
|
117
|
+
"description": "Size of each tick mark.",
|
|
118
|
+
"values": []
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "--m3e-slider-tick-shape",
|
|
122
|
+
"description": "Corner shape of each tick mark.",
|
|
123
|
+
"values": []
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "--m3e-slider-inactive-track-color",
|
|
127
|
+
"description": "Background color of the inactive track when enabled.",
|
|
128
|
+
"values": []
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "--m3e-slider-disabled-inactive-track-color",
|
|
132
|
+
"description": "Base color of the inactive track when disabled.",
|
|
133
|
+
"values": []
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "--m3e-slider-disabled-inactive-track-opacity",
|
|
137
|
+
"description": "Opacity of the inactive track when disabled.",
|
|
138
|
+
"values": []
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "--m3e-slider-active-track-color",
|
|
142
|
+
"description": "Background color of the active track when enabled.",
|
|
143
|
+
"values": []
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "--m3e-slider-disabled-active-track-color",
|
|
147
|
+
"description": "Base color of the active track when disabled.",
|
|
148
|
+
"values": []
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"name": "--m3e-slider-disabled-active-track-opacity",
|
|
152
|
+
"description": "Opacity of the active track when disabled.",
|
|
153
|
+
"values": []
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "--m3e-slider-tick-active-color",
|
|
157
|
+
"description": "Color of active ticks when enabled.",
|
|
158
|
+
"values": []
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "--m3e-slider-disabled-tick-active-color",
|
|
162
|
+
"description": "Color of active ticks when disabled.",
|
|
163
|
+
"values": []
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "--m3e-slider-tick-inactive-color",
|
|
167
|
+
"description": "Color of inactive ticks when enabled.",
|
|
168
|
+
"values": []
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "--m3e-slider-disabled-tick-inactive-color",
|
|
172
|
+
"description": "Color of inactive ticks when disabled.",
|
|
173
|
+
"values": []
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "--m3e-slider-thumb-width",
|
|
177
|
+
"description": "Width of the slider thumb.",
|
|
178
|
+
"values": []
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "--m3e-slider-thumb-padding",
|
|
182
|
+
"description": "Horizontal padding around the thumb.",
|
|
183
|
+
"values": []
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"name": "--m3e-slider-thumb-color",
|
|
187
|
+
"description": "Active color of the slider thumb when enabled.",
|
|
188
|
+
"values": []
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"name": "--m3e-slider-thumb-pressed-width",
|
|
192
|
+
"description": "Width of the thumb when pressed.",
|
|
193
|
+
"values": []
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "--m3e-slider-thumb-disabled-color",
|
|
197
|
+
"description": "Color of the thumb when disabled.",
|
|
198
|
+
"values": []
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "--m3e-slider-thumb-disabled-opacity",
|
|
202
|
+
"description": "Opacity of the thumb when disabled.",
|
|
203
|
+
"values": []
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"name": "--m3e-slider-label-width",
|
|
207
|
+
"description": "Width of the floating label above the thumb.",
|
|
208
|
+
"values": []
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "--m3e-slider-label-container-color",
|
|
212
|
+
"description": "Background color of the label container.",
|
|
213
|
+
"values": []
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"name": "--m3e-slider-label-color",
|
|
217
|
+
"description": "Text color of the label.",
|
|
218
|
+
"values": []
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "--m3e-slider-label-font-size",
|
|
222
|
+
"description": "Font size of the label text.",
|
|
223
|
+
"values": []
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"name": "--m3e-slider-label-font-weight",
|
|
227
|
+
"description": "Font weight of the label text.",
|
|
228
|
+
"values": []
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"name": "--m3e-slider-label-line-height",
|
|
232
|
+
"description": "Line height of the label text.",
|
|
233
|
+
"values": []
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"name": "--m3e-slider-label-tracking",
|
|
237
|
+
"description": "Letter spacing of the label text.",
|
|
238
|
+
"values": []
|
|
239
|
+
}
|
|
240
|
+
],
|
|
241
|
+
"pseudoElements": []
|
|
242
|
+
}
|