@c4h/chuci 0.2.0 → 0.2.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.
package/dist/chuci.js CHANGED
@@ -3669,7 +3669,7 @@ class os extends zr {
3669
3669
  justify-content: center;
3670
3670
  cursor: pointer;
3671
3671
  transition: background 0.3s;
3672
- z-index: 1002;
3672
+ z-index: calc(var(--cc-viewer-z-index-each, 1000) + 2);
3673
3673
  pointer-events: auto;
3674
3674
  }
3675
3675
 
package/dist/chuci.umd.js CHANGED
@@ -233,7 +233,7 @@
233
233
  justify-content: center;
234
234
  cursor: pointer;
235
235
  transition: background 0.3s;
236
- z-index: 1002;
236
+ z-index: calc(var(--cc-viewer-z-index-each, 1000) + 2);
237
237
  pointer-events: auto;
238
238
  }
239
239
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c4h/chuci",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Standalone multimedia swiper and viewer web components",
5
5
  "type": "module",
6
6
  "private": false,
@@ -200,7 +200,7 @@ export abstract class CcViewerBase extends ChuciElement {
200
200
  justify-content: center;
201
201
  cursor: pointer;
202
202
  transition: background 0.3s;
203
- z-index: 1002;
203
+ z-index: calc(var(--cc-viewer-z-index-each, 1000) + 2);
204
204
  pointer-events: auto;
205
205
  }
206
206