@zeyos/zx 5.7.0 → 5.7.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.
@@ -1435,18 +1435,22 @@
1435
1435
  color: var(--zx-color-text);
1436
1436
  }
1437
1437
  .zx-btn[aria-pressed=true] {
1438
- border-color: var(--zx-color-border-control);
1439
- background: var(--zx-color-bg-current);
1438
+ border-color: var(--zx-color-text-subtle);
1439
+ background: color-mix(in srgb, var(--zx-color-text) 14%, transparent);
1440
1440
  color: var(--zx-color-text);
1441
- }
1442
- .zx-btn[data-kind=ghost][aria-pressed=true] {
1443
- border-color: transparent;
1441
+ box-shadow: none;
1444
1442
  }
1445
1443
  .zx-btn[aria-pressed=true] > .zx-icon {
1446
1444
  color: var(--zx-color-text);
1447
1445
  }
1448
- .zx-btn[aria-pressed=true]:hover:not(:disabled) {
1449
- background: var(--zx-color-bg-current);
1446
+ .zx-btn[aria-pressed=true]:hover:not(:disabled),
1447
+ .zx-btn[aria-pressed=true]:active:not(:disabled),
1448
+ .zx-btn[data-kind=ghost][aria-pressed=true][aria-expanded=true]:not(:disabled) {
1449
+ border-color: var(--zx-color-text-subtle);
1450
+ background: color-mix(in srgb, var(--zx-color-text) 14%, transparent);
1451
+ }
1452
+ .zx-btn[aria-pressed=true]:focus-visible {
1453
+ box-shadow: var(--zx-focus-ring);
1450
1454
  }
1451
1455
  .zx-btn[data-size=sm] {
1452
1456
  min-block-size: calc(var(--zx-control-height) - var(--zx-space-1));
@@ -1485,9 +1489,12 @@
1485
1489
  border-start-end-radius: 0;
1486
1490
  border-end-end-radius: 0;
1487
1491
  }
1488
- .zx-btn-group > .zx-btn:focus-visible {
1492
+ .zx-btn-group > .zx-btn[aria-pressed=true] {
1489
1493
  z-index: 1;
1490
1494
  }
1495
+ .zx-btn-group > .zx-btn:focus-visible {
1496
+ z-index: 2;
1497
+ }
1491
1498
  @media (prefers-reduced-transparency: reduce) {
1492
1499
  .zx-btn {
1493
1500
  background: var(--zx-color-bg-control);
@@ -8058,7 +8065,7 @@
8058
8065
  padding: var(--zx-space-1) var(--zx-space-2);
8059
8066
  line-height: 1.35;
8060
8067
  }
8061
- .zx-checklist__item:hover {
8068
+ .zx-checklist:not([aria-disabled=true]) .zx-checklist__item:hover {
8062
8069
  background: var(--zx-color-bg-hover);
8063
8070
  }
8064
8071
  .zx-checklist__item:has(input:checked) {
@@ -8080,6 +8087,12 @@
8080
8087
  .zx-checklist[data-state=loading] .zx-checklist__list {
8081
8088
  color: var(--zx-color-text-muted);
8082
8089
  }
8090
+ .zx-checklist[aria-disabled=true] {
8091
+ opacity: var(--zx-control-disabled-opacity);
8092
+ }
8093
+ .zx-checklist[aria-disabled=true] .zx-checklist__item {
8094
+ cursor: default;
8095
+ }
8083
8096
  }
8084
8097
 
8085
8098
  /* src/components/tag-picker/tag-picker.css */