srcdev-nuxt-components 2.5.8 → 2.5.10

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.
@@ -44,6 +44,7 @@ watch(
44
44
  display: grid;
45
45
  grid-template-areas: 'banner';
46
46
  container-type: inline-size;
47
+ overflow: hidden;
47
48
 
48
49
  .canvas {
49
50
  grid-area: banner;
@@ -496,6 +496,8 @@ watch(
496
496
  --_icon-size: 20px;
497
497
  --_border-width: 1px;
498
498
  --_outline-width: 1px;
499
+ --_transition-duration: 0.2s;
500
+
499
501
  display: grid;
500
502
  grid-template-areas: 'icon';
501
503
  align-items: center;
@@ -512,7 +514,9 @@ watch(
512
514
  width: var(--_icon-size);
513
515
  height: var(--_icon-size);
514
516
  overflow: hidden;
515
-
517
+ transition-property: all;
518
+ transition-timing-function: linear;
519
+ transition-duration: var(--_transition-duration);
516
520
 
517
521
  &::-webkit-details-marker,
518
522
  &::marker {
@@ -534,7 +538,7 @@ watch(
534
538
  opacity: 0;
535
539
  transition-property: opacity, transform; /* For reference */
536
540
  transition-timing-function: linear; /* For reference */
537
- transition-duration: 0.2s; /* For reference */
541
+ transition-duration: var(--_transition-duration); /* For reference */
538
542
 
539
543
  &.show {
540
544
  opacity: 1;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "srcdev-nuxt-components",
3
3
  "type": "module",
4
- "version": "2.5.8",
4
+ "version": "2.5.10",
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",