@nysds/components 1.5.1 → 1.5.2

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/nysds.es.js CHANGED
@@ -2256,6 +2256,7 @@ const ye = g`
2256
2256
  --_nys-fileitem-items-radius: var(--nys-radius-md, 4px);
2257
2257
  --_nys-fileitem-items-padding: var(--nys-space-100, 8px)
2258
2258
  var(--nys-space-200, 16px);
2259
+ --_nys-fileitem-items-background: var(--nys-color-ink-reverse, #fff);
2259
2260
  --_nys-fileitem-items-border: var(--nys-border-width-sm, 1px) solid
2260
2261
  var(--nys-color-neutral-100, #d0d0ce);
2261
2262
  --_nys-fileitem-error-color: var(--nys-color-danger, #b52c2c);
@@ -2287,6 +2288,7 @@ const ye = g`
2287
2288
  position: relative;
2288
2289
  border-radius: var(--_nys-fileitem-items-radius);
2289
2290
  border: var(--_nys-fileitem-items-border);
2291
+ background: var(--_nys-fileitem-items-background);
2290
2292
  }
2291
2293
 
2292
2294
  .file-item.error {
@@ -6281,8 +6283,12 @@ const D1 = class D1 extends u {
6281
6283
  return e == null ? void 0 : e.assignedElements({ flatten: !0 })[0];
6282
6284
  }
6283
6285
  firstUpdated() {
6284
- const e = this._firstAssignedEl;
6285
- e && this._applyFocusBehavior(e);
6286
+ var t;
6287
+ const e = (t = this.shadowRoot) == null ? void 0 : t.querySelector("slot");
6288
+ e && e.addEventListener("slotchange", () => {
6289
+ const o = this._firstAssignedEl;
6290
+ o && this._applyFocusBehavior(o);
6291
+ });
6286
6292
  }
6287
6293
  updated(e) {
6288
6294
  super.updated(e);