@ni/nimble-components 18.10.1 → 18.10.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.
@@ -17978,11 +17978,23 @@
17978
17978
  * HTML Attribute: disabled
17979
17979
  */
17980
17980
  this.disabled = false;
17981
+ /**
17982
+ * Indicates the current "selected" state of various widgets.
17983
+ * {@link https://www.w3.org/TR/wai-aria-1.1/#aria-selected}
17984
+ *
17985
+ * @public
17986
+ * @remarks
17987
+ * HTML Attribute: aria-selected
17988
+ */
17989
+ this.ariaSelected = 'false';
17981
17990
  }
17982
17991
  }
17983
17992
  __decorate$1([
17984
17993
  attr({ mode: 'boolean' })
17985
17994
  ], AnchorTab.prototype, "disabled", void 0);
17995
+ __decorate$1([
17996
+ attr({ attribute: 'aria-selected' })
17997
+ ], AnchorTab.prototype, "ariaSelected", void 0);
17986
17998
  // FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
17987
17999
  const nimbleAnchorTab = AnchorTab.compose({
17988
18000
  baseName: 'anchor-tab',
@@ -23885,6 +23897,7 @@
23885
23897
  }
23886
23898
 
23887
23899
  .control {
23900
+ position: relative;
23888
23901
  width: calc(${controlHeight} / 2);
23889
23902
  height: calc(${controlHeight} / 2);
23890
23903
  box-sizing: border-box;