Skip to content

Commit b459428

Browse files
committed
chore: cl, build
1 parent afbdbb1 commit b459428

7 files changed

+21
-9
lines changed

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## v2.1.6
2+
3+
> `2022-12-20`
4+
5+
### 🎉 Feature
6+
- Allow Slider instance without `v-model` #54.
7+
- Added new events: `@start`, `@end`, `@drag`, `@slide`, `@set` #68.
8+
9+
### 🐞 Bug Fixes
10+
- Not updating correctly when lazy is `false` if dragged below `0` #60.
11+
- Conflict with Tailwind CSS disabled prop resolved #67.
12+
113
## v2.1.5
214

315
> `2022-09-26`

dist/slider.global.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/slider.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/slider.vue2.global.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/slider.vue2.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vueform/slider",
3-
"version": "2.1.5",
3+
"version": "2.1.6",
44
"private": false,
55
"description": "Vue 3 slider component with multihandles, tooltips merging and formatting.",
66
"license": "MIT",

themes/tailwind.css

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.slider-target {
2-
@apply relative box-border select-none touch-none tap-highlight-transparent touch-callout-none disabled:cursor-not-allowed;
2+
@apply relative box-border select-none touch-none tap-highlight-transparent touch-callout-none slider-disabled:cursor-not-allowed;
33
}
44

55
.slider-horizontal {
@@ -23,23 +23,23 @@
2323
}
2424

2525
.slider-connect {
26-
@apply absolute z-1 top-0 right-0 transform-origin-0 transform-style-flat h-full w-full bg-green-500 cursor-pointer tap:duration-300 tap:transition-transform disabled:bg-gray-400 disabled:cursor-not-allowed;
26+
@apply absolute z-1 top-0 right-0 transform-origin-0 transform-style-flat h-full w-full bg-green-500 cursor-pointer tap:duration-300 tap:transition-transform slider-disabled:bg-gray-400 slider-disabled:cursor-not-allowed;
2727
}
2828

2929
.slider-origin {
3030
@apply absolute z-1 top-0 right-0 transform-origin-0 transform-style-flat h-full w-full h:h-0 v:-top-full txt-rtl-h:left-0 txt-rtl-h:right-auto v:w-0 tap:duration-300 tap:transition-transform;
3131
}
3232

3333
.slider-handle {
34-
@apply absolute rounded-full bg-white border-0 shadow-slider cursor-grab focus:outline-none h:w-4 h:h-4 h:-top-1.5 h:-right-2 txt-rtl-h:-left-2 txt-rtl-h:right-auto v:w-4 v:h-4 v:-top-2 v:-right-1.25 disabled:cursor-not-allowed focus:ring focus:ring-green-500 focus:ring-opacity-30;
34+
@apply absolute rounded-full bg-white border-0 shadow-slider cursor-grab focus:outline-none h:w-4 h:h-4 h:-top-1.5 h:-right-2 txt-rtl-h:-left-2 txt-rtl-h:right-auto v:w-4 v:h-4 v:-top-2 v:-right-1.25 slider-disabled:cursor-not-allowed focus:ring focus:ring-green-500 focus:ring-opacity-30;
3535
}
3636

3737
.slider-touch-area {
3838
@apply h-full w-full;
3939
}
4040

4141
.slider-tooltip {
42-
@apply absolute block text-sm font-semibold whitespace-nowrap py-1 px-1.5 min-w-5 text-center text-white rounded border border-green-500 bg-green-500 transform h:-translate-x-1/2 h:left-1/2 v:-translate-y-1/2 v:top-1/2 disabled:bg-gray-400 disabled:border-gray-400 merge-h:translate-x-1/2 merge-h:left-auto merge-v:-translate-x-4 merge-v:top-auto tt-focus:hidden tt-focused:block tt-drag:hidden tt-dragging:block;
42+
@apply absolute block text-sm font-semibold whitespace-nowrap py-1 px-1.5 min-w-5 text-center text-white rounded border border-green-500 bg-green-500 transform h:-translate-x-1/2 h:left-1/2 v:-translate-y-1/2 v:top-1/2 slider-disabled:bg-gray-400 slider-disabled:border-gray-400 merge-h:translate-x-1/2 merge-h:left-auto merge-v:-translate-x-4 merge-v:top-auto tt-focus:hidden tt-focused:block tt-drag:hidden tt-dragging:block;
4343
}
4444

4545
.slider-tooltip-top {

0 commit comments

Comments
 (0)