@lichess-org/chessground 9.5.0 → 9.5.1

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.
@@ -92,7 +92,9 @@ piece.fading {
92
92
 
93
93
  .cg-wrap cg-auto-pieces,
94
94
  .cg-wrap .cg-shapes,
95
- .cg-wrap .cg-custom-svgs {
95
+ .cg-wrap .cg-custom-svgs,
96
+ .cg-wrap .cg-shapes-below,
97
+ .cg-wrap .cg-custom-below {
96
98
  overflow: visible;
97
99
  position: absolute;
98
100
  top: 0px;
@@ -116,12 +118,22 @@ piece.fading {
116
118
  z-index: 2;
117
119
  }
118
120
 
121
+ .cg-wrap .cg-shapes-below {
122
+ overflow: hidden;
123
+ z-index: 1;
124
+ }
125
+
126
+ .cg-wrap .cg-custom-below {
127
+ z-index: 1;
128
+ }
129
+
119
130
  .cg-wrap .cg-custom-svgs {
120
131
  /* over piece.anim = 8, but under piece.dragging = 11 */
121
132
  z-index: 9;
122
133
  }
123
134
 
124
- .cg-wrap .cg-custom-svgs svg {
135
+ .cg-wrap .cg-custom-svgs svg,
136
+ .cg-wrap .cg-custom-below svg {
125
137
  overflow: visible;
126
138
  }
127
139
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/chessground",
3
- "version": "9.5.0",
3
+ "version": "9.5.1",
4
4
  "//": "version is managed by the build system",
5
5
  "description": "lichess.org chess ui",
6
6
  "type": "module",