@zanichelli/albe-web-components 10.0.6 → 10.0.8
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/cjs/{icons-7da210ed.js → icons-b3352331.js} +77 -0
- package/dist/cjs/z-app-header_11.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +3 -2
- package/dist/collection/components/icons/icons.js +77 -0
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +3 -2
- package/dist/esm/{icons-4b57811d.js → icons-6b29d7ea.js} +77 -0
- package/dist/esm/z-app-header_11.entry.js +1 -1
- package/dist/esm/z-navigation-tab-link.entry.js +1 -1
- package/dist/esm/z-navigation-tab.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +3 -2
- package/dist/types/components/icons/icons.d.ts +154 -1
- package/dist/web-components-library/p-0d2c1891.entry.js +1 -0
- package/{www/build/p-36487afc.entry.js → dist/web-components-library/p-200823b4.entry.js} +1 -1
- package/dist/web-components-library/{p-f5b5f897.entry.js → p-5c8c249e.entry.js} +1 -1
- package/dist/web-components-library/{p-5505a3c0.entry.js → p-d5026b5b.entry.js} +1 -1
- package/dist/web-components-library/p-e90c27f8.js +1 -0
- package/dist/web-components-library/web-components-library.css +2 -3
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +1 -1
- package/www/build/p-0d2c1891.entry.js +1 -0
- package/{dist/web-components-library/p-36487afc.entry.js → www/build/p-200823b4.entry.js} +1 -1
- package/www/build/p-51b30a96.js +129 -0
- package/www/build/{p-f5b5f897.entry.js → p-5c8c249e.entry.js} +1 -1
- package/www/build/{p-5505a3c0.entry.js → p-d5026b5b.entry.js} +1 -1
- package/www/build/p-e90c27f8.js +1 -0
- package/www/build/p-f7695a31.css +1751 -0
- package/www/build/web-components-library.css +2 -3
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/web-components-library/p-0d38e9a8.js +0 -1
- package/dist/web-components-library/p-e3117771.entry.js +0 -1
- package/www/build/p-06f4a3d5.css +0 -3
- package/www/build/p-0d38e9a8.js +0 -1
- package/www/build/p-90007350.js +0 -1
- package/www/build/p-e3117771.entry.js +0 -1
|
@@ -160,8 +160,9 @@ export class ZNavigationTabs {
|
|
|
160
160
|
this.setChildrenSize();
|
|
161
161
|
this.setChildrenOrientation();
|
|
162
162
|
this.checkScrollVisible();
|
|
163
|
-
|
|
164
|
-
|
|
163
|
+
const tabActive = this.tabs.findIndex((tab) => tab.ariaSelected === "true");
|
|
164
|
+
if ((!this.tabFocus && tabActive < 0) || this.tabFocus === undefined) {
|
|
165
|
+
this.tabFocus = tabActive >= 0 ? tabActive : 0;
|
|
165
166
|
const tabChild = this.tabs[this.tabFocus].children[0];
|
|
166
167
|
if (tabChild) {
|
|
167
168
|
tabChild.tabIndex = 0;
|