tecitheme 0.14.0 → 0.14.1

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.
@@ -59,6 +59,8 @@
59
59
  </div>
60
60
  </a>
61
61
  </div>
62
+ {:else}
63
+ <div class="{getGridItemSizeStyles(item.width, item.height)} h-32"></div>
62
64
  {/if}
63
65
  {/each}
64
66
  </div>
@@ -69,6 +69,8 @@
69
69
  </li>
70
70
  {/each}
71
71
  </ul>
72
+ {:else}
73
+ <div class="h-32"></div>
72
74
  {/if}
73
75
 
74
76
  <!-- Button -->
@@ -107,13 +107,6 @@
107
107
  <!-- Image -->
108
108
  <div id={id + "image"} class="relative mt-12 sm:mt-16 lg:mt-0 {textPosition == "left" ? "" : "lg:col-start-1"}"
109
109
  >
110
- {#if !$scrollTargetVisible}
111
- <div
112
- out:fly={{ delay: 0, duration: 500, easing: cubicInOut, x: textPosition == "left" ? '100%' : '-100%' }}
113
- class="absolute top-0 bottom-0 w-full bg-gray-200 animate-pulse my-16"
114
- >
115
- </div>
116
- {/if}
117
110
  {#if $scrollTargetVisible}
118
111
  <div
119
112
  class="{textPosition == "left" ? "-mr-48 pl-6 md:-mr-16" : "-ml-48 pr-6 md:-ml-16"} lg:relative lg:m-0 lg:h-full lg:px-0"
@@ -122,6 +115,12 @@
122
115
  >
123
116
  <img class="w-full shadow-xl ring-1 ring-black/5 lg:absolute {textPosition == "left" ? "lg:left-0" : "right-0"} lg:h-full lg:w-auto lg:max-w-none" src="https://files.thunderheadeng.com/www/images/{image.url}?fmt=auto" alt={image.alt}>
124
117
  </div>
118
+ {:else}
119
+ <div
120
+ out:fly={{ delay: 0, duration: 500, easing: cubicInOut, x: textPosition == "left" ? '100%' : '-100%' }}
121
+ class="absolute top-0 bottom-0 w-full bg-gray-200 animate-pulse my-16"
122
+ >
123
+ </div>
125
124
  {/if}
126
125
  </div>
127
126
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tecitheme",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "dev": "vite dev",