@ni/nimble-components 16.1.5 → 16.1.7

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.
@@ -4272,6 +4272,7 @@ const zp=ve`
4272
4272
  --ni-private-active-indicator-width: 2px;
4273
4273
  --ni-private-focus-indicator-width: 1px;
4274
4274
  --ni-private-indicator-lines-gap: 1px;
4275
+ --ni-private-focus-indicator-inset-width: 3px;
4275
4276
  }
4276
4277
 
4277
4278
  :host(:hover) {
@@ -4327,7 +4328,7 @@ const zp=ve`
4327
4328
  }
4328
4329
 
4329
4330
  :host(${ys})::before {
4330
- width: 100%;
4331
+ width: calc(100% - 2 * var(--ni-private-focus-indicator-inset-width));
4331
4332
  }
4332
4333
 
4333
4334
  :host::after {
@@ -4725,10 +4726,17 @@ const mg=ve`
4725
4726
  ${fs("flex")}
4726
4727
 
4727
4728
  .table-container {
4729
+ display: flex;
4730
+ flex-direction: column;
4728
4731
  width: 100%;
4729
- height: 100%;
4730
4732
  font: ${qa};
4731
4733
  color: ${ja};
4734
+ overflow: auto;
4735
+ }
4736
+
4737
+ .header-container {
4738
+ position: sticky;
4739
+ top: 0;
4732
4740
  }
4733
4741
 
4734
4742
  .header-row {
@@ -4805,7 +4813,7 @@ no.getOrCreate().withPrefix("nimble").register(zg())
4805
4813
  const Mg=U`
4806
4814
  <template role="table">
4807
4815
  <div class="table-container">
4808
- <div role="rowgroup">
4816
+ <div role="rowgroup" class="header-container">
4809
4817
  <div class="header-row" role="row">
4810
4818
  ${He((e=>e.columnHeaders),U`
4811
4819
  <${no.tagFor(wg)} class="header">