softui-css 1.8.1 → 1.8.3

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/softui.css CHANGED
@@ -2205,6 +2205,12 @@ a.sui-btn-warning:visited {
2205
2205
  color: var(--sui-text);
2206
2206
  }
2207
2207
 
2208
+ .sui-password-toggle:focus-visible {
2209
+ outline: 2px solid var(--sui-primary);
2210
+ outline-offset: 2px;
2211
+ border-radius: 2px;
2212
+ }
2213
+
2208
2214
  .sui-password-rules {
2209
2215
  display: flex;
2210
2216
  flex-direction: column;
@@ -7692,7 +7698,7 @@ a.sui-btn-warning:visited {
7692
7698
  align-items: stretch;
7693
7699
  height: auto;
7694
7700
  padding: 0;
7695
- gap: 8px;
7701
+ gap: 20px;
7696
7702
  }
7697
7703
 
7698
7704
  .sui-chart-bar-col {
@@ -7791,7 +7797,7 @@ a.sui-btn-warning:visited {
7791
7797
  position: static;
7792
7798
  transform: none;
7793
7799
  text-align: right;
7794
- width: 60px;
7800
+ width: 80px;
7795
7801
  flex-shrink: 0;
7796
7802
  font-size: 12px;
7797
7803
  }
@@ -7824,6 +7830,8 @@ a.sui-btn-warning:visited {
7824
7830
  transform: none;
7825
7831
  font-size: 12px;
7826
7832
  flex-shrink: 0;
7833
+ width: 50px;
7834
+ text-align: right;
7827
7835
  }
7828
7836
 
7829
7837
  /* Stacked bars */
package/dist/softui.js CHANGED
@@ -154,6 +154,7 @@ const SoftUI = (() => {
154
154
 
155
155
  // Close button handler (any .sui-modal-close inside a backdrop)
156
156
  document.addEventListener('click', (e) => {
157
+ if (!e.target.closest) return;
157
158
  const closeBtn = e.target.closest('.sui-modal-close');
158
159
  if (!closeBtn) return;
159
160
 
@@ -3998,11 +3999,13 @@ const SoftUI = (() => {
3998
3999
 
3999
4000
  // Hover mode
4000
4001
  document.addEventListener('mouseenter', function(e) {
4002
+ if (!e.target.closest) return;
4001
4003
  var dial = e.target.closest('.sui-speed-dial-hover');
4002
4004
  if (dial) dial.classList.add('open');
4003
4005
  }, true);
4004
4006
 
4005
4007
  document.addEventListener('mouseleave', function(e) {
4008
+ if (!e.target.closest) return;
4006
4009
  var dial = e.target.closest('.sui-speed-dial-hover');
4007
4010
  if (dial) dial.classList.remove('open');
4008
4011
  }, true);