@bi-digital/css 0.2.17 → 0.2.18

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.
@@ -60,10 +60,6 @@
60
60
  margin-left: auto;
61
61
  }
62
62
 
63
- .bi-button[popovertarget]:has( + :popover-open) {
64
- box-shadow: 0px 0px 0px 1.5px var(--bi-primary-50) inset;
65
- }
66
-
67
- .bi-button[popovertarget]:has( + .\:popover-open) {
63
+ .bi-button[aria-expanded="true"] {
68
64
  box-shadow: 0px 0px 0px 1.5px var(--bi-primary-50) inset;
69
65
  }
@@ -28,6 +28,8 @@
28
28
  color: var(--bic-popover-color);
29
29
  max-width: var(--bic-popover-max-width);
30
30
  padding: var(--bic-popover-padding);
31
+ z-index: 100000;
32
+ display: none;
31
33
  position: fixed;
32
34
  top: 0;
33
35
  bottom: auto;
@@ -36,6 +38,10 @@
36
38
  overflow: visible;
37
39
  }
38
40
 
41
+ .bi-popover[aria-hidden="false"] {
42
+ display: block;
43
+ }
44
+
39
45
  [data-popover="inline"] {
40
46
  all: unset;
41
47
  cursor: pointer;
@@ -1264,11 +1264,7 @@ body:has(.bi-dialog:modal) {
1264
1264
  margin-left: auto;
1265
1265
  }
1266
1266
 
1267
- .bi-button[popovertarget]:has( + :popover-open) {
1268
- box-shadow: 0px 0px 0px 1.5px var(--bi-primary-50) inset;
1269
- }
1270
-
1271
- .bi-button[popovertarget]:has( + .\:popover-open) {
1267
+ .bi-button[aria-expanded="true"] {
1272
1268
  box-shadow: 0px 0px 0px 1.5px var(--bi-primary-50) inset;
1273
1269
  }
1274
1270
 
@@ -2467,6 +2463,8 @@ body:has(.bi-dialog:modal) {
2467
2463
  color: var(--bic-popover-color);
2468
2464
  max-width: var(--bic-popover-max-width);
2469
2465
  padding: var(--bic-popover-padding);
2466
+ z-index: 100000;
2467
+ display: none;
2470
2468
  position: fixed;
2471
2469
  top: 0;
2472
2470
  bottom: auto;
@@ -2475,6 +2473,10 @@ body:has(.bi-dialog:modal) {
2475
2473
  overflow: visible;
2476
2474
  }
2477
2475
 
2476
+ .bi-popover[aria-hidden="false"] {
2477
+ display: block;
2478
+ }
2479
+
2478
2480
  [data-popover="inline"] {
2479
2481
  all: unset;
2480
2482
  cursor: pointer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bi-digital/css",
3
- "version": "0.2.17",
3
+ "version": "0.2.18",
4
4
  "description": "CSS for the BI Design System",
5
5
  "author": "BI Digital",
6
6
  "license": "ISC",
@@ -23,7 +23,7 @@
23
23
  "lightningcss": "^1.30.1",
24
24
  "modern-normalize": "^3.0.1",
25
25
  "rimraf": "^6.0.1",
26
- "@bi-digital/tokens": "0.2.17"
26
+ "@bi-digital/tokens": "0.2.18"
27
27
  },
28
28
  "scripts": {
29
29
  "build": "rimraf dist && node config.js",