Skip to content

Commit

Permalink
chore: cl, build
Browse files Browse the repository at this point in the history
  • Loading branch information
adamberecz committed Dec 20, 2022
1 parent afbdbb1 commit b459428
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 9 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## v2.1.6

> `2022-12-20`
### 🎉 Feature
- Allow Slider instance without `v-model` #54.
- Added new events: `@start`, `@end`, `@drag`, `@slide`, `@set` #68.

### 🐞 Bug Fixes
- Not updating correctly when lazy is `false` if dragged below `0` #60.
- Conflict with Tailwind CSS disabled prop resolved #67.

## v2.1.5

> `2022-09-26`
Expand Down
2 changes: 1 addition & 1 deletion dist/slider.global.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/slider.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/slider.vue2.global.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/slider.vue2.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vueform/slider",
"version": "2.1.5",
"version": "2.1.6",
"private": false,
"description": "Vue 3 slider component with multihandles, tooltips merging and formatting.",
"license": "MIT",
Expand Down
8 changes: 4 additions & 4 deletions themes/tailwind.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.slider-target {
@apply relative box-border select-none touch-none tap-highlight-transparent touch-callout-none disabled:cursor-not-allowed;
@apply relative box-border select-none touch-none tap-highlight-transparent touch-callout-none slider-disabled:cursor-not-allowed;
}

.slider-horizontal {
Expand All @@ -23,23 +23,23 @@
}

.slider-connect {
@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;
@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;
}

.slider-origin {
@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;
}

.slider-handle {
@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;
@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;
}

.slider-touch-area {
@apply h-full w-full;
}

.slider-tooltip {
@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;
@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;
}

.slider-tooltip-top {
Expand Down

0 comments on commit b459428

Please sign in to comment.