@hortonstudio/main 1.1.21 → 1.1.23

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.
@@ -24,7 +24,7 @@ let heroTimeout = null; // Track the setTimeout
24
24
 
25
25
  const config = {
26
26
  global: {
27
- animationDelay: 0.2
27
+ animationDelay: 0.3
28
28
  },
29
29
  headingSplit: {
30
30
  duration: 1.5,
@@ -244,9 +244,6 @@ export async function init() {
244
244
  // Animation timeline
245
245
  document.fonts.ready.then(() => {
246
246
 
247
- // Wait for layout to stabilize before splitting text
248
- setTimeout(() => {
249
-
250
247
  // Split text setup (after fonts are loaded)
251
248
  headingSplits = [];
252
249
 
@@ -514,8 +511,6 @@ export async function init() {
514
511
 
515
512
  }, config.global.animationDelay * 1000);
516
513
 
517
- }, 100); // Wait 100ms for layout to stabilize
518
-
519
514
  });
520
515
 
521
516
  // API exposure
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hortonstudio/main",
3
- "version": "1.1.21",
3
+ "version": "1.1.23",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "scripts": {
package/styles.css CHANGED
@@ -13,12 +13,7 @@ body .transition {display: block}
13
13
 
14
14
  /* safari line detection fix */
15
15
  [data-hs-hero="heading"] {
16
- text-rendering: optimizeSpeed;
17
- font-variant-ligatures: none;
18
- -webkit-font-feature-settings: "kern" 0;
19
- font-feature-settings: "kern" 0;
20
- -webkit-text-size-adjust: 100%;
21
- text-size-adjust: 100%;
16
+ text-wrap: wrap !important;
22
17
  }
23
18
 
24
19
  /* scroll cleanliness */