@stanko/dual-range-input
Advanced tools
Comparing version 0.9.5 to 0.9.6
# Changelog | ||
## v0.9.0 - v0.9.5 | ||
## v0.9.0 - v0.9.6 | ||
17.11.2024. | ||
Initial version | ||
Initial version, with small tweaks to documentation. |
{ | ||
"name": "@stanko/dual-range-input", | ||
"description": "Native dual range input in about fifty lines of JavaScript", | ||
"version": "0.9.5", | ||
"description": "Native dual-range input in about fifty lines of JavaScript", | ||
"version": "0.9.6", | ||
"private": false, | ||
@@ -28,3 +28,3 @@ "type": "module", | ||
"keywords": [ | ||
"dual range input", | ||
"dual-range input", | ||
"range input", | ||
@@ -31,0 +31,0 @@ "input", |
@@ -1,2 +0,2 @@ | ||
# Native Dual Range Input | ||
# Native Dual-range Input | ||
@@ -47,3 +47,3 @@ The native part is somewhat open for discussion - the library uses two native range inputs | ||
### Styling | ||
## Styling | ||
@@ -74,4 +74,8 @@ Styles are controlled using CSS variables. | ||
To create your own styling, just change the variables. For example here is code for the purple example from the demo page: | ||
Please note that `--dri-thumb-width` is used in JavaScript for calculations. | ||
### Custom theme | ||
To create your own theme, just change the variables. For example here is code for the purple example from the demo page: | ||
```scss | ||
@@ -108,3 +112,3 @@ .dual-range-input--purple { | ||
### API | ||
## API | ||
@@ -111,0 +115,0 @@ - The only available public method is `destroy()` which removes event listeners set by the library. |
18645
161