@brytdesigns/web-component-keen-slider-scrollbar 1.0.1 → 1.0.2

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.
Files changed (2) hide show
  1. package/dist/styles.css +11 -11
  2. package/package.json +1 -1
package/dist/styles.css CHANGED
@@ -16,7 +16,7 @@
16
16
  --total-slides: 2;
17
17
  }
18
18
 
19
- keen-scrollbar {
19
+ keen-slider-scrollbar {
20
20
  display: block;
21
21
  width: var(--scrollbar-width);
22
22
  height: var(--scrollbar-height);
@@ -28,27 +28,27 @@ keen-scrollbar {
28
28
  box-sizing: border-box;
29
29
  }
30
30
 
31
- keen-scrollbar:not([is-vertical]) {
31
+ keen-slider-scrollbar:not([is-vertical]) {
32
32
  --scrollbar-width: 100%;
33
33
  --scrollbar-height: 5px;
34
34
  margin-top: var(--scrollbar-mt);
35
35
  margin-bottom: var(--scrollbar-mb);
36
36
  }
37
37
 
38
- keen-scrollbar[is-vertical] {
38
+ keen-slider-scrollbar[is-vertical] {
39
39
  --scrollbar-height: 100%;
40
40
  --scrollbar-width: 5px;
41
41
  margin-left: var(--scrollbar-ml);
42
42
  margin-right: var(--scrollbar-mr);
43
43
  }
44
44
 
45
- keen-scrollbar[is-hidden]:not([is-hidden="false"]) {
45
+ keen-slider-scrollbar[is-hidden]:not([is-hidden="false"]) {
46
46
  --scrollbar-opacity: 0;
47
47
 
48
48
  visibility: hidden;
49
49
  }
50
50
 
51
- keen-scrollbar::before {
51
+ keen-slider-scrollbar::before {
52
52
  content: "";
53
53
  position: absolute;
54
54
  width: 100%;
@@ -59,7 +59,7 @@ keen-scrollbar::before {
59
59
  box-sizing: border-box;
60
60
  }
61
61
 
62
- keen-scrollbar .keen-scrollbar-thumb {
62
+ keen-slider-scrollbar .keen-scrollbar-thumb {
63
63
  display: block;
64
64
  position: relative;
65
65
  background: var(--scrollbar-thumb-color);
@@ -68,7 +68,7 @@ keen-scrollbar .keen-scrollbar-thumb {
68
68
  z-index: 2;
69
69
  }
70
70
 
71
- keen-scrollbar:not([is-vertical]) .keen-scrollbar-thumb {
71
+ keen-slider-scrollbar:not([is-vertical]) .keen-scrollbar-thumb {
72
72
  left: 0;
73
73
  top: 50% !important;
74
74
  transform: translate3d(0, -50%, 0);
@@ -78,7 +78,7 @@ keen-scrollbar:not([is-vertical]) .keen-scrollbar-thumb {
78
78
  height: 100%;
79
79
  }
80
80
 
81
- keen-scrollbar[is-vertical] .keen-scrollbar-thumb {
81
+ keen-slider-scrollbar[is-vertical] .keen-scrollbar-thumb {
82
82
  left: 50% !important;
83
83
  top: 0;
84
84
  transform: translate3d(-50%, 0%, 0);
@@ -88,7 +88,7 @@ keen-scrollbar[is-vertical] .keen-scrollbar-thumb {
88
88
  width: 100%;
89
89
  }
90
90
 
91
- keen-scrollbar .keen-scrollbar-breakpoints {
91
+ keen-slider-scrollbar .keen-scrollbar-breakpoints {
92
92
  z-index: 1;
93
93
  position: absolute;
94
94
  display: grid;
@@ -101,12 +101,12 @@ keen-scrollbar .keen-scrollbar-breakpoints {
101
101
  padding: 0;
102
102
  }
103
103
 
104
- keen-scrollbar:not([is-vertical]) .keen-scrollbar-breakpoints {
104
+ keen-slider-scrollbar:not([is-vertical]) .keen-scrollbar-breakpoints {
105
105
  grid-auto-rows: auto;
106
106
  grid-template-columns: repeat(var(--total-slides, 1), 1fr);
107
107
  }
108
108
 
109
- keen-scrollbar[is-vertical] .keen-scrollbar-breakpoints {
109
+ keen-slider-scrollbar[is-vertical] .keen-scrollbar-breakpoints {
110
110
  grid-auto-columns: auto;
111
111
  grid-template-rows: repeat(var(--total-slides, 1), 1fr);
112
112
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brytdesigns/web-component-keen-slider-scrollbar",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Keen slider scrollbar web component",
5
5
  "main": "./dist/main/index.js",
6
6
  "module": "./dist/main/index.js",