srcdev-nuxt-components 2.5.4 → 2.5.6

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.
@@ -38,7 +38,9 @@
38
38
  <details class="overflow-details" :class="[{ 'visually-hidden': !navLoaded || !showOverflowDetails }]"
39
39
  ref="overflowDetails" name="overflow-group">
40
40
  <summary class="overflow-details-summary has-toggle-icon">
41
- <Icon name="gravity-ui:ellipsis" class="icon" />
41
+ <slot name="overflowDetailsSummaryIcon">
42
+ <Icon name="gravity-ui:ellipsis" class="icon" />
43
+ </slot>
42
44
  </summary>
43
45
  <div class="overflow-details-nav">
44
46
  <NavigationItems :main-navigation-state="mainNavigationState" />
@@ -458,6 +460,7 @@ watch(
458
460
 
459
461
  .overflow-details-summary {
460
462
  --_icon-zoom: 1;
463
+ --_icon-size: 30px;
461
464
  display: flex;
462
465
  align-items: center;
463
466
  justify-content: center;
@@ -470,7 +473,8 @@ watch(
470
473
  outline: 1px solid #ffffff10;
471
474
  background-color: Canvas;
472
475
 
473
- width: 28px;
476
+ width: var(--_icon-size);
477
+ height: var(--_icon-size);
474
478
  overflow: hidden;
475
479
 
476
480
 
@@ -487,6 +491,8 @@ watch(
487
491
  .icon {
488
492
  scale: var(--_icon-zoom);
489
493
  transition: scale 0.2s ease-in-out;
494
+ width: var(--_icon-size);
495
+ height: var(--_icon-size);
490
496
  }
491
497
  }
492
498
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "srcdev-nuxt-components",
3
3
  "type": "module",
4
- "version": "2.5.4",
4
+ "version": "2.5.6",
5
5
  "main": "nuxt.config.ts",
6
6
  "scripts": {
7
7
  "clean": "rm -rf .nuxt && rm -rf .output && rm -rf .playground/.nuxt && rm -rf .playground/.output",