srcdev-nuxt-components 2.5.14 → 2.5.16

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.
@@ -14,7 +14,7 @@
14
14
  <div v-show="item.stylist !== ''" class="author" :class="item.textBrightness">{{ item.stylist }}</div>
15
15
  <div v-show="item.title !== ''" class="title" :class="item.textBrightness">{{ item.title }}</div>
16
16
  <div v-show="item.category !== ''" class="topic" :class="item.textBrightness">{{ item.category }}</div>
17
- <div v-show="item.description !== ''" class="des" :class="item.textBrightness">{{ item.description }}</div>
17
+ <div v-show="item.description !== ''" class="description" :class="item.textBrightness">{{ item.description }}</div>
18
18
  <div class="buttons" :class="item.textBrightness">
19
19
  <button>SEE MORE</button>
20
20
  </div>
@@ -270,11 +270,6 @@ onBeforeUnmount(() => {
270
270
  --_thumbnailWidth: var(--_thumbnailMobileWidth, 100px);
271
271
  --_thumbnailHeight: var(--_thumbnailMobileHeight, 165px);
272
272
 
273
- @container (width >= 1024px) {
274
- --_thumbnailWidth: var(--_thumbnailDesktopWidth, 150px);
275
- --_thumbnailHeight: var(--_thumbnailDesktopHeight, 220px);
276
- }
277
-
278
273
  height: 100svh;
279
274
  width: 100vw;
280
275
  overflow: hidden;
@@ -345,7 +340,7 @@ onBeforeUnmount(() => {
345
340
  .author,
346
341
  .title,
347
342
  .topic,
348
- .des,
343
+ .description,
349
344
  .buttons {
350
345
  transform: translateY(50px);
351
346
  filter: blur(20px);
@@ -359,7 +354,7 @@ onBeforeUnmount(() => {
359
354
  .topic {
360
355
  animation-delay: 1.4s !important;
361
356
  }
362
- .des {
357
+ .description {
363
358
  animation-delay: 1.6s !important;
364
359
  }
365
360
  .buttons {
@@ -464,6 +459,11 @@ onBeforeUnmount(() => {
464
459
  display: flex;
465
460
  gap: 20px;
466
461
 
462
+ @container (width >= 1024px) {
463
+ --_thumbnailWidth: var(--_thumbnailDesktopWidth, 150px);
464
+ --_thumbnailHeight: var(--_thumbnailDesktopHeight, 220px);
465
+ }
466
+
467
467
  .item {
468
468
  width: var(--_thumbnailWidth);
469
469
  height: var(--_thumbnailHeight);
@@ -473,12 +473,12 @@ onBeforeUnmount(() => {
473
473
  border: var(--_thumbnailBorder, 1px solid transparent);
474
474
  outline: var(--_thumbnailOutline, 1px solid transparent);
475
475
  border-radius: var(--_thumbnailBorderRadius, 20px);
476
+ overflow: hidden;
476
477
 
477
478
  .inner {
478
479
  position: absolute;
479
480
  inset: 0 0 0 0;
480
481
  background-color: #0004;
481
- border-radius: var(--_thumbnailBorderRadius, 20px);
482
482
  z-index: 2;
483
483
  }
484
484
 
@@ -486,7 +486,6 @@ onBeforeUnmount(() => {
486
486
  width: 100%;
487
487
  height: 100%;
488
488
  object-fit: cover;
489
- border-radius: 20px;
490
489
  }
491
490
 
492
491
  .content {
@@ -639,7 +638,7 @@ onBeforeUnmount(() => {
639
638
  .author,
640
639
  .title,
641
640
  .topic,
642
- .des,
641
+ .description,
643
642
  .buttons {
644
643
  animation: contentOut 1.5s linear 1 forwards !important;
645
644
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "srcdev-nuxt-components",
3
3
  "type": "module",
4
- "version": "2.5.14",
4
+ "version": "2.5.16",
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",