@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.
Files changed (37) hide show
  1. package/dist/cjs/{icons-7da210ed.js → icons-b3352331.js} +77 -0
  2. package/dist/cjs/z-app-header_11.cjs.entry.js +1 -1
  3. package/dist/cjs/z-navigation-tab-link.cjs.entry.js +1 -1
  4. package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
  5. package/dist/cjs/z-navigation-tabs.cjs.entry.js +3 -2
  6. package/dist/collection/components/icons/icons.js +77 -0
  7. package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +3 -2
  8. package/dist/esm/{icons-4b57811d.js → icons-6b29d7ea.js} +77 -0
  9. package/dist/esm/z-app-header_11.entry.js +1 -1
  10. package/dist/esm/z-navigation-tab-link.entry.js +1 -1
  11. package/dist/esm/z-navigation-tab.entry.js +1 -1
  12. package/dist/esm/z-navigation-tabs.entry.js +3 -2
  13. package/dist/types/components/icons/icons.d.ts +154 -1
  14. package/dist/web-components-library/p-0d2c1891.entry.js +1 -0
  15. package/{www/build/p-36487afc.entry.js → dist/web-components-library/p-200823b4.entry.js} +1 -1
  16. package/dist/web-components-library/{p-f5b5f897.entry.js → p-5c8c249e.entry.js} +1 -1
  17. package/dist/web-components-library/{p-5505a3c0.entry.js → p-d5026b5b.entry.js} +1 -1
  18. package/dist/web-components-library/p-e90c27f8.js +1 -0
  19. package/dist/web-components-library/web-components-library.css +2 -3
  20. package/dist/web-components-library/web-components-library.esm.js +1 -1
  21. package/package.json +1 -1
  22. package/www/build/p-0d2c1891.entry.js +1 -0
  23. package/{dist/web-components-library/p-36487afc.entry.js → www/build/p-200823b4.entry.js} +1 -1
  24. package/www/build/p-51b30a96.js +129 -0
  25. package/www/build/{p-f5b5f897.entry.js → p-5c8c249e.entry.js} +1 -1
  26. package/www/build/{p-5505a3c0.entry.js → p-d5026b5b.entry.js} +1 -1
  27. package/www/build/p-e90c27f8.js +1 -0
  28. package/www/build/p-f7695a31.css +1751 -0
  29. package/www/build/web-components-library.css +2 -3
  30. package/www/build/web-components-library.esm.js +1 -1
  31. package/www/index.html +1 -1
  32. package/dist/web-components-library/p-0d38e9a8.js +0 -1
  33. package/dist/web-components-library/p-e3117771.entry.js +0 -1
  34. package/www/build/p-06f4a3d5.css +0 -3
  35. package/www/build/p-0d38e9a8.js +0 -1
  36. package/www/build/p-90007350.js +0 -1
  37. 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
- if (!this.tabFocus) {
164
- this.tabFocus = 0;
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;