srcdev-nuxt-components 2.5.7 → 2.5.9

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.
@@ -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 {
@@ -532,7 +536,9 @@ watch(
532
536
  height: calc(var(--_icon-size) - var(--_border-width) * 2 - var(--_outline-width) * 2);
533
537
 
534
538
  opacity: 0;
535
- transition: opacity 0.2s ease-in-out;
539
+ transition-property: opacity, transform; /* For reference */
540
+ transition-timing-function: linear; /* For reference */
541
+ transition-duration: var(--_transition-duration); /* For reference */
536
542
 
537
543
  &.show {
538
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.7",
4
+ "version": "2.5.9",
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",