@touchtech/baselayer-ui 1.5.2 → 1.5.4

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 +17 -2
  2. package/package.json +1 -1
package/dist/styles.css CHANGED
@@ -407,8 +407,6 @@
407
407
  }
408
408
 
409
409
  ._1yxCbQJqStUvytvKEeNC3n {
410
- backdrop-filter: blur(10px);
411
- background-color: var(--theme-modal-overlay-color, rgba(255, 255, 255, 0.9));
412
410
  bottom: 0;
413
411
  cursor: pointer;
414
412
  left: 0;
@@ -418,6 +416,23 @@
418
416
  z-index: 9;
419
417
  }
420
418
 
419
+ @supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
420
+ ._1yxCbQJqStUvytvKEeNC3n {
421
+ -webkit-backdrop-filter: blur(15px);
422
+ backdrop-filter: blur(15px);
423
+ }
424
+ }
425
+
426
+ /* slightly transparent fallback for Firefox (not supporting backdrop-filter) */
427
+ @supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
428
+ ._1yxCbQJqStUvytvKEeNC3n {
429
+ background-color: var(
430
+ --theme-modal-overlay-color,
431
+ rgba(255, 255, 255, 0.9)
432
+ );
433
+ }
434
+ }
435
+
421
436
  .D8SjBx3ikz636YubnHYAY {
422
437
  background-color: var(--theme-modal-background-color, #fff);
423
438
  box-shadow: var(--theme-modal-shadow, 0 0 50px 0 rgba(0, 0, 0, 0.2));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@touchtech/baselayer-ui",
3
- "version": "1.5.2",
3
+ "version": "1.5.4",
4
4
  "description": "React UI component library",
5
5
  "main": "dist/bundle.js",
6
6
  "scripts": {