@caweb/framework 1.9.14 → 1.9.15
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.
- package/build/delta.asset.php +1 -1
- package/build/delta.js +0 -12
- package/build/delta.js.map +1 -1
- package/build/delta.min.asset.php +1 -1
- package/build/delta.min.js +1 -1
- package/build/delta.min.js.map +1 -1
- package/build/eureka.asset.php +1 -1
- package/build/eureka.js +0 -12
- package/build/eureka.js.map +1 -1
- package/build/eureka.min.asset.php +1 -1
- package/build/eureka.min.js +1 -1
- package/build/eureka.min.js.map +1 -1
- package/build/mono.asset.php +1 -1
- package/build/mono.js +0 -12
- package/build/mono.js.map +1 -1
- package/build/mono.min.asset.php +1 -1
- package/build/mono.min.js +1 -1
- package/build/mono.min.js.map +1 -1
- package/build/oceanside.asset.php +1 -1
- package/build/oceanside.js +0 -12
- package/build/oceanside.js.map +1 -1
- package/build/oceanside.min.asset.php +1 -1
- package/build/oceanside.min.js +1 -1
- package/build/oceanside.min.js.map +1 -1
- package/build/orangecounty.asset.php +1 -1
- package/build/orangecounty.js +0 -12
- package/build/orangecounty.js.map +1 -1
- package/build/orangecounty.min.asset.php +1 -1
- package/build/orangecounty.min.js +1 -1
- package/build/orangecounty.min.js.map +1 -1
- package/build/pasorobles.asset.php +1 -1
- package/build/pasorobles.js +0 -12
- package/build/pasorobles.js.map +1 -1
- package/build/pasorobles.min.asset.php +1 -1
- package/build/pasorobles.min.js +1 -1
- package/build/pasorobles.min.js.map +1 -1
- package/build/sacramento.asset.php +1 -1
- package/build/sacramento.js +0 -12
- package/build/sacramento.js.map +1 -1
- package/build/sacramento.min.asset.php +1 -1
- package/build/sacramento.min.js +1 -1
- package/build/sacramento.min.js.map +1 -1
- package/build/santabarbara.asset.php +1 -1
- package/build/santabarbara.js +0 -12
- package/build/santabarbara.js.map +1 -1
- package/build/santabarbara.min.asset.php +1 -1
- package/build/santabarbara.min.js +1 -1
- package/build/santabarbara.min.js.map +1 -1
- package/build/santacruz.asset.php +1 -1
- package/build/santacruz.js +0 -12
- package/build/santacruz.js.map +1 -1
- package/build/santacruz.min.asset.php +1 -1
- package/build/santacruz.min.js +1 -1
- package/build/santacruz.min.js.map +1 -1
- package/build/shasta.asset.php +1 -1
- package/build/shasta.js +0 -12
- package/build/shasta.js.map +1 -1
- package/build/shasta.min.asset.php +1 -1
- package/build/shasta.min.js +1 -1
- package/build/shasta.min.js.map +1 -1
- package/build/sierra.asset.php +1 -1
- package/build/sierra.js +0 -12
- package/build/sierra.js.map +1 -1
- package/build/sierra.min.asset.php +1 -1
- package/build/sierra.min.js +1 -1
- package/build/sierra.min.js.map +1 -1
- package/build/trinity.asset.php +1 -1
- package/build/trinity.js +0 -12
- package/build/trinity.js.map +1 -1
- package/build/trinity.min.asset.php +1 -1
- package/build/trinity.min.js +1 -1
- package/build/trinity.min.js.map +1 -1
- package/package.json +1 -1
- package/src/scripts/components/header.js +0 -14
package/build/trinity.asset.php
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => '
|
|
1
|
+
<?php return array('dependencies' => array(), 'version' => '1bb8ed0ab0966ecaae48');
|
package/build/trinity.js
CHANGED
|
@@ -6427,19 +6427,7 @@ window.addEventListener('load', () => {
|
|
|
6427
6427
|
|
|
6428
6428
|
// for each element with an id we add the scroll-margin-top
|
|
6429
6429
|
const updateScrollMarginTop = (/** @type Element */element) => {
|
|
6430
|
-
// lets collect the height of any fixed elements above the header.
|
|
6431
|
-
let current = header?.previousElementSibling;
|
|
6432
|
-
let topOffset = 0;
|
|
6433
|
-
while (current) {
|
|
6434
|
-
// if current element has a fixed/absolute position, add its height to the topOffset.
|
|
6435
|
-
if (current instanceof HTMLElement && ['fixed', 'absolute'].includes(window.getComputedStyle(current).position)) {
|
|
6436
|
-
topOffset += current.clientHeight;
|
|
6437
|
-
}
|
|
6438
|
-
current = current.previousElementSibling;
|
|
6439
|
-
}
|
|
6440
6430
|
if (element instanceof HTMLElement) {
|
|
6441
|
-
let scrollMarginHeight = header.clientHeight + topOffset;
|
|
6442
|
-
|
|
6443
6431
|
// if the elements offsetTop is greater than twice the header size,
|
|
6444
6432
|
// we can assume the header is compacted
|
|
6445
6433
|
// so we need to subtract the compacted elements height from the scroll margin.
|