@appartmint/mint 1.2.11 → 1.2.12

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.
@@ -38,7 +38,7 @@ export abstract class MintScroll {
38
38
  for (let i = 0; i < elementsToShow.length; i++) {
39
39
  setTimeout(() => {
40
40
  elementsToShow[i].classList.add('mint-show');
41
- }, i * 200 + i * i * 20);
41
+ }, i * 100);
42
42
  }
43
43
  });
44
44
  }
@@ -12,7 +12,7 @@ export abstract class MintText {
12
12
  return text?.trim()
13
13
  .toLowerCase()
14
14
  .replace(/'/g, '')
15
- .replace(/\W+/g, '-')
15
+ .replace(/[^\w/-]+/g, '-')
16
16
  .replace(/-+/g, '-')
17
17
  .replace(/^-+|-+$/g, '')
18
18
  .replace(/^\/+|\/+$/g, '') ?? '';