@fluid-topics/ft-snap-scroll 1.3.15 → 1.3.17

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.
@@ -7,20 +7,20 @@ export const FtSnapScrollCssVariables = {
7
7
  gap: FtCssVariableFactory.create("--ft-snap-scroll-gap", "", "SIZE", "0"),
8
8
  colorSurface: FtCssVariableFactory.external(designSystemVariables.colorSurface, "Design system"),
9
9
  };
10
- //language=css
10
+ // language=css
11
11
  export const styles = css `
12
12
  .ft-snap-scroll {
13
13
  box-sizing: border-box;
14
14
  position: relative;
15
15
  display: flex;
16
16
 
17
- --ft-snap-scroll-transparent-color: transparent;
17
+ --snap-scroll-transparent-color: transparent;
18
18
  }
19
19
 
20
20
  .ft-snap-scroll.ft-snap-scroll--safari-fix {
21
21
  /* Safari handles "transparent" as rgba(0,0,0,0) so it's ugly in linear-gradiant with default --ft-color-surface */
22
22
  /* this value should be overridden with --ft-color-surface with alpha set to 0 when needed */
23
- --ft-snap-scroll-transparent-color: rgba(255, 255, 255, 0);
23
+ --snap-scroll-transparent-color: rgba(255, 255, 255, 0);
24
24
  }
25
25
 
26
26
  .ft-snap-scroll,
@@ -103,28 +103,28 @@ export const styles = css `
103
103
  top: 0;
104
104
  left: -1px;
105
105
  bottom: 0;
106
- background: linear-gradient(to right, ${FtSnapScrollCssVariables.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
106
+ background: linear-gradient(to right, ${FtSnapScrollCssVariables.colorSurface} 50%, var(--snap-scroll-transparent-color));
107
107
  }
108
108
 
109
109
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
110
110
  top: -1px;
111
111
  left: 0;
112
112
  right: 0;
113
- background: linear-gradient(to bottom, ${FtSnapScrollCssVariables.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
113
+ background: linear-gradient(to bottom, ${FtSnapScrollCssVariables.colorSurface} 50%, var(--snap-scroll-transparent-color));
114
114
  }
115
115
 
116
116
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
117
117
  top: 0;
118
118
  right: -1px;
119
119
  bottom: 0;
120
- background: linear-gradient(to left, ${FtSnapScrollCssVariables.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
120
+ background: linear-gradient(to left, ${FtSnapScrollCssVariables.colorSurface} 50%, var(--snap-scroll-transparent-color));
121
121
  }
122
122
 
123
123
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
124
124
  left: 0;
125
125
  right: 0;
126
126
  bottom: -1px;
127
- background: linear-gradient(to top, ${FtSnapScrollCssVariables.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
127
+ background: linear-gradient(to top, ${FtSnapScrollCssVariables.colorSurface} 50%, var(--snap-scroll-transparent-color));
128
128
  }
129
129
 
130
130
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-snap-scroll",
3
- "version": "1.3.15",
3
+ "version": "1.3.17",
4
4
  "description": "Vertical or horizontal container with snap scrolling.",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,9 +19,9 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-button": "1.3.15",
23
- "@fluid-topics/ft-wc-utils": "1.3.15",
22
+ "@fluid-topics/ft-button": "1.3.17",
23
+ "@fluid-topics/ft-wc-utils": "1.3.17",
24
24
  "lit": "3.1.0"
25
25
  },
26
- "gitHead": "5aa2861244264a93f9ce941c3541191eb22a4650"
26
+ "gitHead": "ca55c7b44d386d960ceb68323361ce0ab3aefaa8"
27
27
  }