@nysds/components 1.18.0 → 1.18.1
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/custom-elements.json +1 -1
- package/dist/custom-elements.json +1 -1
- package/dist/nysds.es.js +878 -857
- package/dist/nysds.es.js.map +1 -1
- package/dist/nysds.js +156 -149
- package/dist/nysds.js.map +1 -1
- package/dist/packages/nys-tab/src/nys-tabgroup.d.ts +5 -3
- package/package.json +1 -1
|
@@ -153,9 +153,11 @@ export declare class NysTabgroup extends LitElement {
|
|
|
153
153
|
*
|
|
154
154
|
* Iterates over all assigned elements and moves each `<nys-tab>` into
|
|
155
155
|
* `.nys-tabgroup__tabs` and each `<nys-tabpanel>` into
|
|
156
|
-
* `.nys-tabgroup__panels
|
|
157
|
-
*
|
|
158
|
-
*
|
|
156
|
+
* `.nys-tabgroup__panels`. If a panel has an `aria-labelledby` attribute,
|
|
157
|
+
* it is explicitly paired with the tab it references; otherwise panels are
|
|
158
|
+
* paired with tabs by index order. After sorting, calls `_applySelection`
|
|
159
|
+
* using the first element that already has a `selected` attribute, or
|
|
160
|
+
* index `0` if none is found.
|
|
159
161
|
*
|
|
160
162
|
* @param e - The `Event` fired by the `<slot>` element on slot change.
|
|
161
163
|
* @returns void
|