@wpmoo/ui 1.2.1 → 1.3.0

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Moo UI v1.2.1 (https://wpmoo.org/)
2
+ * Moo UI v1.3.0 (https://wpmoo.org/)
3
3
  * Copyright 2026 WPMoo Authors
4
4
  * Licensed under MIT (https://github.com/wpmoo-org/ui/blob/main/LICENSE)
5
5
  *
@@ -4819,11 +4819,14 @@ label.btn {
4819
4819
  .nav.flex-column .nav-link {
4820
4820
  width: 100%;
4821
4821
  }
4822
- .nav-pills .nav-link:not(.active, .disabled):hover {
4822
+ .nav-pills .nav-link:not(.active, .disabled, :disabled):hover,
4823
+ .nav-pills > .nav-item:hover > .nav-link:not(.active, .disabled, :disabled) {
4823
4824
  background-color: var(--moo-muted-surface);
4824
4825
  }
4825
- .nav-pills:has(.nav-link:hover) .nav-link.active:not(:hover) {
4826
- background-color: transparent;
4826
+ .nav-pills:has(> .nav-link:not(.disabled, :disabled):hover, > .nav-item:hover > .nav-link:not(.disabled, :disabled)) > .nav-link.active:not(:hover),
4827
+ .nav-pills:has(> .nav-link:not(.disabled, :disabled):hover, > .nav-item:hover > .nav-link:not(.disabled, :disabled)) > .nav-item:not(:hover) > .nav-link.active {
4828
+ --bs-nav-pills-link-active-bg: transparent;
4829
+ background-color: var(--bs-nav-pills-link-active-bg);
4827
4830
  }
4828
4831
  .nav-link [data-icon] {
4829
4832
  width: 1rem;
@@ -5400,8 +5403,10 @@ label.btn {
5400
5403
  flex: 0 0 auto;
5401
5404
  margin-top: 0.125rem;
5402
5405
  }
5403
- .alert-icon [data-icon] {
5406
+ .alert-icon [data-icon]:not([width]) {
5404
5407
  width: 1rem;
5408
+ }
5409
+ .alert-icon [data-icon]:not([height]) {
5405
5410
  height: 1rem;
5406
5411
  }
5407
5412
  .alert-body {
@@ -6006,6 +6011,15 @@ label.btn {
6006
6011
  .accordion-button:not(.collapsed) [data-icon] {
6007
6012
  transform: translateY(-50%) rotate(-180deg);
6008
6013
  }
6014
+ .accordion-button:not(.collapsed) [data-accordion-indicator="plus-minus"] {
6015
+ transform: translateY(-50%);
6016
+ }
6017
+ .accordion-button:not(.collapsed) [data-accordion-indicator="plus-minus"] [data-accordion-plus] {
6018
+ display: none;
6019
+ }
6020
+ .accordion-button:dir(rtl):has([data-accordion-indicator="plus-minus"]) {
6021
+ padding-inline-end: 3rem !important;
6022
+ }
6009
6023
  .accordion-flush .accordion-button {
6010
6024
  text-align: start;
6011
6025
  }