@caweb/framework 1.9.3 → 1.9.5

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.
Files changed (101) hide show
  1. package/build/delta.asset.php +1 -1
  2. package/build/delta.css +1 -0
  3. package/build/delta.js +9 -9
  4. package/build/eureka.asset.php +1 -1
  5. package/build/eureka.css +1 -0
  6. package/build/eureka.js +9 -9
  7. package/build/mono.asset.php +1 -1
  8. package/build/mono.css +1 -0
  9. package/build/mono.js +9 -9
  10. package/build/oceanside.asset.php +1 -1
  11. package/build/oceanside.css +1 -0
  12. package/build/oceanside.js +9 -9
  13. package/build/orangecounty.asset.php +1 -1
  14. package/build/orangecounty.css +1 -0
  15. package/build/orangecounty.js +9 -9
  16. package/build/pasorobles.asset.php +1 -1
  17. package/build/pasorobles.css +1 -0
  18. package/build/pasorobles.js +9 -9
  19. package/build/sacramento.asset.php +1 -1
  20. package/build/sacramento.css +1 -0
  21. package/build/sacramento.js +9 -9
  22. package/build/santabarbara.asset.php +1 -1
  23. package/build/santabarbara.css +1 -0
  24. package/build/santabarbara.js +9 -9
  25. package/build/santacruz.asset.php +1 -1
  26. package/build/santacruz.css +1 -0
  27. package/build/santacruz.js +9 -9
  28. package/build/shasta.asset.php +1 -1
  29. package/build/shasta.css +1 -0
  30. package/build/shasta.js +9 -9
  31. package/build/sierra.asset.php +1 -1
  32. package/build/sierra.css +1 -0
  33. package/build/sierra.js +9 -9
  34. package/build/trinity.asset.php +1 -1
  35. package/build/trinity.css +1 -0
  36. package/build/trinity.js +9 -9
  37. package/package.json +4 -4
  38. package/src/scripts/components/header.js +62 -32
  39. package/src/styles/components/structural/_header.scss +1 -1
  40. package/src/styles/components/structural/_type.scss +3 -2
  41. package/src/styles/index.scss +1 -1
  42. package/build/delta.min.asset.php +0 -1
  43. package/build/delta.min.css +0 -23
  44. package/build/delta.min.css.map +0 -1
  45. package/build/delta.min.js +0 -2
  46. package/build/delta.min.js.map +0 -1
  47. package/build/eureka.min.asset.php +0 -1
  48. package/build/eureka.min.css +0 -23
  49. package/build/eureka.min.css.map +0 -1
  50. package/build/eureka.min.js +0 -2
  51. package/build/eureka.min.js.map +0 -1
  52. package/build/mono.min.asset.php +0 -1
  53. package/build/mono.min.css +0 -23
  54. package/build/mono.min.css.map +0 -1
  55. package/build/mono.min.js +0 -2
  56. package/build/mono.min.js.map +0 -1
  57. package/build/oceanside.min.asset.php +0 -1
  58. package/build/oceanside.min.css +0 -23
  59. package/build/oceanside.min.css.map +0 -1
  60. package/build/oceanside.min.js +0 -2
  61. package/build/oceanside.min.js.map +0 -1
  62. package/build/orangecounty.min.asset.php +0 -1
  63. package/build/orangecounty.min.css +0 -23
  64. package/build/orangecounty.min.css.map +0 -1
  65. package/build/orangecounty.min.js +0 -2
  66. package/build/orangecounty.min.js.map +0 -1
  67. package/build/pasorobles.min.asset.php +0 -1
  68. package/build/pasorobles.min.css +0 -23
  69. package/build/pasorobles.min.css.map +0 -1
  70. package/build/pasorobles.min.js +0 -2
  71. package/build/pasorobles.min.js.map +0 -1
  72. package/build/sacramento.min.asset.php +0 -1
  73. package/build/sacramento.min.css +0 -23
  74. package/build/sacramento.min.css.map +0 -1
  75. package/build/sacramento.min.js +0 -2
  76. package/build/sacramento.min.js.map +0 -1
  77. package/build/santabarbara.min.asset.php +0 -1
  78. package/build/santabarbara.min.css +0 -23
  79. package/build/santabarbara.min.css.map +0 -1
  80. package/build/santabarbara.min.js +0 -2
  81. package/build/santabarbara.min.js.map +0 -1
  82. package/build/santacruz.min.asset.php +0 -1
  83. package/build/santacruz.min.css +0 -23
  84. package/build/santacruz.min.css.map +0 -1
  85. package/build/santacruz.min.js +0 -2
  86. package/build/santacruz.min.js.map +0 -1
  87. package/build/shasta.min.asset.php +0 -1
  88. package/build/shasta.min.css +0 -23
  89. package/build/shasta.min.css.map +0 -1
  90. package/build/shasta.min.js +0 -2
  91. package/build/shasta.min.js.map +0 -1
  92. package/build/sierra.min.asset.php +0 -1
  93. package/build/sierra.min.css +0 -23
  94. package/build/sierra.min.css.map +0 -1
  95. package/build/sierra.min.js +0 -2
  96. package/build/sierra.min.js.map +0 -1
  97. package/build/trinity.min.asset.php +0 -1
  98. package/build/trinity.min.css +0 -23
  99. package/build/trinity.min.css.map +0 -1
  100. package/build/trinity.min.js +0 -2
  101. package/build/trinity.min.js.map +0 -1
@@ -1 +1 @@
1
- <?php return array('dependencies' => array(), 'version' => '7a0d2a76ccc95aa95059');
1
+ <?php return array('dependencies' => array(), 'version' => 'a72d1beae01bd2203977');
package/build/delta.css CHANGED
@@ -14959,6 +14959,7 @@ footer.keywords ul li {
14959
14959
  ----------------------------------------- */
14960
14960
  header.global-header {
14961
14961
  position: sticky;
14962
+ top: 0;
14962
14963
  background-color: var(--bs-white, #fff);
14963
14964
  z-index: 15;
14964
14965
  transition: all 0.3s ease;
package/build/delta.js CHANGED
@@ -16,6 +16,14 @@ eval("{/*!\n * Bootstrap v5.3.8 (https://getbootstrap.com/)\n * Copyright 2011
16
16
 
17
17
  /***/ },
18
18
 
19
+ /***/ "./src/styles/colorschemes/delta.scss"
20
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
21
+
22
+ "use strict";
23
+ eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://@caweb/framework/./src/styles/colorschemes/delta.scss?\n}");
24
+
25
+ /***/ },
26
+
19
27
  /***/ "./src/scripts/components/external-link.js"
20
28
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
21
29
 
@@ -28,7 +36,7 @@ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\n\n/* EXTERNAL L
28
36
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
29
37
 
30
38
  "use strict";
31
- eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEventListener('DOMContentLoaded', () => {\n let location_hash = window.location.hash.replace(/(\\|)/g, \"\\\\$1\");\n const header = document.querySelector('header');\n const alerts = document.querySelector('.alerts');\n const utilityHeader = document.querySelector('.utility-header');\n\n // scroll to target\n if (location_hash) {\n // location hash has leading #, so we remove it\n let target = document.getElementById(location_hash.substring(1));\n\n // if the location hash is not empty, we scroll to the target element\n setTimeout(() => {\n target?.scrollIntoView({\n behavior: 'smooth'\n });\n }, 1000);\n }\n if (!header) {\n return;\n }\n const compactHeader = () => {\n let scrollHeights = 0;\n\n // lets collect the height of any elements above the header.\n let current = header.previousElementSibling;\n let miscElementHeights = 0;\n while (current) {\n // if current is a div, add its height to the miscElementHeights.\n if ('DIV' === current.tagName) {\n miscElementHeights += current.clientHeight;\n }\n current = current.previousElementSibling;\n }\n\n // downscroll code passed the header height\n if (document.body.scrollTop >= header.offsetHeight || document.documentElement.scrollTop >= header.offsetHeight) {\n // lets add the scroll heights of any alerts\n if (alerts) {\n scrollHeights += alerts.clientHeight;\n }\n\n // lets add the scroll heights of the utility header\n if (utilityHeader) {\n scrollHeights += utilityHeader.clientHeight;\n }\n\n // move the header up to the scroll height, minus any elements above the header\n header.style.top = `-${scrollHeights - miscElementHeights}px`;\n } else {\n // reset header to initial position\n header.style.top = `${miscElementHeights}px`;\n }\n };\n\n // reset position on scroll\n window.addEventListener('scroll', compactHeader);\n compactHeader();\n});\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/components/header.js?\n}");
39
+ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEventListener('DOMContentLoaded', () => {\n let location_hash = window.location.hash.replace(/(\\|)/g, \"\\\\$1\");\n const header = document.querySelector('header');\n const pageContainer = document.querySelector('#page-container');\n\n // array of elements that are compacted\n const compactedElements = [document.querySelector('.alerts'), document.querySelector('.utility-header')].filter(Boolean);\n let compactedElementsHeight = compactedElements.reduce((total, element) => {\n if (element instanceof HTMLElement) {\n return total + element.clientHeight;\n }\n return total;\n }, 0);\n\n // lets collect the height of any fixed elements above the header.\n let topOffset = 0;\n let current = header?.previousElementSibling;\n while (current) {\n // if current element has a fixed position, add its height to the topOffset.\n if (current instanceof HTMLElement && window.getComputedStyle(current).position === 'fixed') {\n topOffset += current.clientHeight;\n }\n current = current.previousElementSibling;\n }\n\n // scroll to target\n if (location_hash) {\n // location hash has leading #, so we remove it\n let target = document.getElementById(location_hash.substring(1));\n\n // if the location hash is not empty, we scroll to the target element\n requestAnimationFrame(() => {\n target?.scrollIntoView({\n behavior: 'smooth'\n });\n });\n }\n if (!header) {\n return;\n }\n const compactHeader = () => {\n // downscroll code passed the header height\n if (document.body.scrollTop >= header.offsetHeight || document.documentElement.scrollTop >= header.offsetHeight) {\n // move the header up to hide the compacted elements height, minus the top offset.\n header.style.top = `-${compactedElementsHeight - topOffset}px`;\n } else {\n // reset header to initial position\n // we need to set the header's top to the offset.\n if (header) {\n header.style.top = `${topOffset}px`;\n }\n\n // if we have a page container, we need to set its top padding to the offset\n if (pageContainer && pageContainer instanceof HTMLElement) {\n pageContainer.style.paddingTop = `${topOffset}px`;\n }\n }\n };\n\n // for each element with an id we add the scroll-margin-top\n document.querySelectorAll('#page-container [id]').forEach(element => {\n if (element instanceof HTMLElement) {\n let scrollMarginHeight = header.clientHeight + topOffset;\n\n // if the elements offsetTop is greater than twice the header size, \n // we can assume the header is compacted\n // so we need to subtract the compacted elements height from the scroll margin.\n if (element.offsetTop > scrollMarginHeight + scrollMarginHeight / 2) {\n scrollMarginHeight -= compactedElementsHeight;\n }\n element.style.scrollMarginTop = `${scrollMarginHeight}px`;\n }\n });\n\n // reset position on scroll\n window.addEventListener('scroll', compactHeader);\n compactHeader();\n});\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/components/header.js?\n}");
32
40
 
33
41
  /***/ },
34
42
 
@@ -54,14 +62,6 @@ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEvent
54
62
  "use strict";
55
63
  eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var bootstrap_dist_js_bootstrap_bundle_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"./node_modules/bootstrap/dist/js/bootstrap.bundle.js\");\n/* harmony import */ var _components_mobile_controls_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"./src/scripts/components/mobile-controls.js\");\n/* harmony import */ var _components_return_top_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"./src/scripts/components/return-top.js\");\n/* harmony import */ var _components_external_link_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./src/scripts/components/external-link.js\");\n/* harmony import */ var _components_header_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"./src/scripts/components/header.js\");\n\n\n\n\n\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/index.js?\n}");
56
64
 
57
- /***/ },
58
-
59
- /***/ "./src/styles/colorschemes/delta.scss"
60
- (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
61
-
62
- "use strict";
63
- eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://@caweb/framework/./src/styles/colorschemes/delta.scss?\n}");
64
-
65
65
  /***/ }
66
66
 
67
67
  /******/ });
@@ -1 +1 @@
1
- <?php return array('dependencies' => array(), 'version' => '4979f4696c36fc6c02ae');
1
+ <?php return array('dependencies' => array(), 'version' => 'd13d9589eecfacf0469d');
package/build/eureka.css CHANGED
@@ -14959,6 +14959,7 @@ footer.keywords ul li {
14959
14959
  ----------------------------------------- */
14960
14960
  header.global-header {
14961
14961
  position: sticky;
14962
+ top: 0;
14962
14963
  background-color: var(--bs-white, #fff);
14963
14964
  z-index: 15;
14964
14965
  transition: all 0.3s ease;
package/build/eureka.js CHANGED
@@ -16,6 +16,14 @@ eval("{/*!\n * Bootstrap v5.3.8 (https://getbootstrap.com/)\n * Copyright 2011
16
16
 
17
17
  /***/ },
18
18
 
19
+ /***/ "./src/styles/colorschemes/eureka.scss"
20
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
21
+
22
+ "use strict";
23
+ eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://@caweb/framework/./src/styles/colorschemes/eureka.scss?\n}");
24
+
25
+ /***/ },
26
+
19
27
  /***/ "./src/scripts/components/external-link.js"
20
28
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
21
29
 
@@ -28,7 +36,7 @@ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\n\n/* EXTERNAL L
28
36
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
29
37
 
30
38
  "use strict";
31
- eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEventListener('DOMContentLoaded', () => {\n let location_hash = window.location.hash.replace(/(\\|)/g, \"\\\\$1\");\n const header = document.querySelector('header');\n const alerts = document.querySelector('.alerts');\n const utilityHeader = document.querySelector('.utility-header');\n\n // scroll to target\n if (location_hash) {\n // location hash has leading #, so we remove it\n let target = document.getElementById(location_hash.substring(1));\n\n // if the location hash is not empty, we scroll to the target element\n setTimeout(() => {\n target?.scrollIntoView({\n behavior: 'smooth'\n });\n }, 1000);\n }\n if (!header) {\n return;\n }\n const compactHeader = () => {\n let scrollHeights = 0;\n\n // lets collect the height of any elements above the header.\n let current = header.previousElementSibling;\n let miscElementHeights = 0;\n while (current) {\n // if current is a div, add its height to the miscElementHeights.\n if ('DIV' === current.tagName) {\n miscElementHeights += current.clientHeight;\n }\n current = current.previousElementSibling;\n }\n\n // downscroll code passed the header height\n if (document.body.scrollTop >= header.offsetHeight || document.documentElement.scrollTop >= header.offsetHeight) {\n // lets add the scroll heights of any alerts\n if (alerts) {\n scrollHeights += alerts.clientHeight;\n }\n\n // lets add the scroll heights of the utility header\n if (utilityHeader) {\n scrollHeights += utilityHeader.clientHeight;\n }\n\n // move the header up to the scroll height, minus any elements above the header\n header.style.top = `-${scrollHeights - miscElementHeights}px`;\n } else {\n // reset header to initial position\n header.style.top = `${miscElementHeights}px`;\n }\n };\n\n // reset position on scroll\n window.addEventListener('scroll', compactHeader);\n compactHeader();\n});\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/components/header.js?\n}");
39
+ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEventListener('DOMContentLoaded', () => {\n let location_hash = window.location.hash.replace(/(\\|)/g, \"\\\\$1\");\n const header = document.querySelector('header');\n const pageContainer = document.querySelector('#page-container');\n\n // array of elements that are compacted\n const compactedElements = [document.querySelector('.alerts'), document.querySelector('.utility-header')].filter(Boolean);\n let compactedElementsHeight = compactedElements.reduce((total, element) => {\n if (element instanceof HTMLElement) {\n return total + element.clientHeight;\n }\n return total;\n }, 0);\n\n // lets collect the height of any fixed elements above the header.\n let topOffset = 0;\n let current = header?.previousElementSibling;\n while (current) {\n // if current element has a fixed position, add its height to the topOffset.\n if (current instanceof HTMLElement && window.getComputedStyle(current).position === 'fixed') {\n topOffset += current.clientHeight;\n }\n current = current.previousElementSibling;\n }\n\n // scroll to target\n if (location_hash) {\n // location hash has leading #, so we remove it\n let target = document.getElementById(location_hash.substring(1));\n\n // if the location hash is not empty, we scroll to the target element\n requestAnimationFrame(() => {\n target?.scrollIntoView({\n behavior: 'smooth'\n });\n });\n }\n if (!header) {\n return;\n }\n const compactHeader = () => {\n // downscroll code passed the header height\n if (document.body.scrollTop >= header.offsetHeight || document.documentElement.scrollTop >= header.offsetHeight) {\n // move the header up to hide the compacted elements height, minus the top offset.\n header.style.top = `-${compactedElementsHeight - topOffset}px`;\n } else {\n // reset header to initial position\n // we need to set the header's top to the offset.\n if (header) {\n header.style.top = `${topOffset}px`;\n }\n\n // if we have a page container, we need to set its top padding to the offset\n if (pageContainer && pageContainer instanceof HTMLElement) {\n pageContainer.style.paddingTop = `${topOffset}px`;\n }\n }\n };\n\n // for each element with an id we add the scroll-margin-top\n document.querySelectorAll('#page-container [id]').forEach(element => {\n if (element instanceof HTMLElement) {\n let scrollMarginHeight = header.clientHeight + topOffset;\n\n // if the elements offsetTop is greater than twice the header size, \n // we can assume the header is compacted\n // so we need to subtract the compacted elements height from the scroll margin.\n if (element.offsetTop > scrollMarginHeight + scrollMarginHeight / 2) {\n scrollMarginHeight -= compactedElementsHeight;\n }\n element.style.scrollMarginTop = `${scrollMarginHeight}px`;\n }\n });\n\n // reset position on scroll\n window.addEventListener('scroll', compactHeader);\n compactHeader();\n});\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/components/header.js?\n}");
32
40
 
33
41
  /***/ },
34
42
 
@@ -54,14 +62,6 @@ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEvent
54
62
  "use strict";
55
63
  eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var bootstrap_dist_js_bootstrap_bundle_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"./node_modules/bootstrap/dist/js/bootstrap.bundle.js\");\n/* harmony import */ var _components_mobile_controls_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"./src/scripts/components/mobile-controls.js\");\n/* harmony import */ var _components_return_top_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"./src/scripts/components/return-top.js\");\n/* harmony import */ var _components_external_link_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./src/scripts/components/external-link.js\");\n/* harmony import */ var _components_header_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"./src/scripts/components/header.js\");\n\n\n\n\n\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/index.js?\n}");
56
64
 
57
- /***/ },
58
-
59
- /***/ "./src/styles/colorschemes/eureka.scss"
60
- (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
61
-
62
- "use strict";
63
- eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://@caweb/framework/./src/styles/colorschemes/eureka.scss?\n}");
64
-
65
65
  /***/ }
66
66
 
67
67
  /******/ });
@@ -1 +1 @@
1
- <?php return array('dependencies' => array(), 'version' => '7eb54b6fa3bc1ec20f44');
1
+ <?php return array('dependencies' => array(), 'version' => '7786c7108dfe1248bd33');
package/build/mono.css CHANGED
@@ -14959,6 +14959,7 @@ footer.keywords ul li {
14959
14959
  ----------------------------------------- */
14960
14960
  header.global-header {
14961
14961
  position: sticky;
14962
+ top: 0;
14962
14963
  background-color: var(--bs-white, #fff);
14963
14964
  z-index: 15;
14964
14965
  transition: all 0.3s ease;
package/build/mono.js CHANGED
@@ -16,6 +16,14 @@ eval("{/*!\n * Bootstrap v5.3.8 (https://getbootstrap.com/)\n * Copyright 2011
16
16
 
17
17
  /***/ },
18
18
 
19
+ /***/ "./src/styles/colorschemes/mono.scss"
20
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
21
+
22
+ "use strict";
23
+ eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://@caweb/framework/./src/styles/colorschemes/mono.scss?\n}");
24
+
25
+ /***/ },
26
+
19
27
  /***/ "./src/scripts/components/external-link.js"
20
28
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
21
29
 
@@ -28,7 +36,7 @@ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\n\n/* EXTERNAL L
28
36
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
29
37
 
30
38
  "use strict";
31
- eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEventListener('DOMContentLoaded', () => {\n let location_hash = window.location.hash.replace(/(\\|)/g, \"\\\\$1\");\n const header = document.querySelector('header');\n const alerts = document.querySelector('.alerts');\n const utilityHeader = document.querySelector('.utility-header');\n\n // scroll to target\n if (location_hash) {\n // location hash has leading #, so we remove it\n let target = document.getElementById(location_hash.substring(1));\n\n // if the location hash is not empty, we scroll to the target element\n setTimeout(() => {\n target?.scrollIntoView({\n behavior: 'smooth'\n });\n }, 1000);\n }\n if (!header) {\n return;\n }\n const compactHeader = () => {\n let scrollHeights = 0;\n\n // lets collect the height of any elements above the header.\n let current = header.previousElementSibling;\n let miscElementHeights = 0;\n while (current) {\n // if current is a div, add its height to the miscElementHeights.\n if ('DIV' === current.tagName) {\n miscElementHeights += current.clientHeight;\n }\n current = current.previousElementSibling;\n }\n\n // downscroll code passed the header height\n if (document.body.scrollTop >= header.offsetHeight || document.documentElement.scrollTop >= header.offsetHeight) {\n // lets add the scroll heights of any alerts\n if (alerts) {\n scrollHeights += alerts.clientHeight;\n }\n\n // lets add the scroll heights of the utility header\n if (utilityHeader) {\n scrollHeights += utilityHeader.clientHeight;\n }\n\n // move the header up to the scroll height, minus any elements above the header\n header.style.top = `-${scrollHeights - miscElementHeights}px`;\n } else {\n // reset header to initial position\n header.style.top = `${miscElementHeights}px`;\n }\n };\n\n // reset position on scroll\n window.addEventListener('scroll', compactHeader);\n compactHeader();\n});\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/components/header.js?\n}");
39
+ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEventListener('DOMContentLoaded', () => {\n let location_hash = window.location.hash.replace(/(\\|)/g, \"\\\\$1\");\n const header = document.querySelector('header');\n const pageContainer = document.querySelector('#page-container');\n\n // array of elements that are compacted\n const compactedElements = [document.querySelector('.alerts'), document.querySelector('.utility-header')].filter(Boolean);\n let compactedElementsHeight = compactedElements.reduce((total, element) => {\n if (element instanceof HTMLElement) {\n return total + element.clientHeight;\n }\n return total;\n }, 0);\n\n // lets collect the height of any fixed elements above the header.\n let topOffset = 0;\n let current = header?.previousElementSibling;\n while (current) {\n // if current element has a fixed position, add its height to the topOffset.\n if (current instanceof HTMLElement && window.getComputedStyle(current).position === 'fixed') {\n topOffset += current.clientHeight;\n }\n current = current.previousElementSibling;\n }\n\n // scroll to target\n if (location_hash) {\n // location hash has leading #, so we remove it\n let target = document.getElementById(location_hash.substring(1));\n\n // if the location hash is not empty, we scroll to the target element\n requestAnimationFrame(() => {\n target?.scrollIntoView({\n behavior: 'smooth'\n });\n });\n }\n if (!header) {\n return;\n }\n const compactHeader = () => {\n // downscroll code passed the header height\n if (document.body.scrollTop >= header.offsetHeight || document.documentElement.scrollTop >= header.offsetHeight) {\n // move the header up to hide the compacted elements height, minus the top offset.\n header.style.top = `-${compactedElementsHeight - topOffset}px`;\n } else {\n // reset header to initial position\n // we need to set the header's top to the offset.\n if (header) {\n header.style.top = `${topOffset}px`;\n }\n\n // if we have a page container, we need to set its top padding to the offset\n if (pageContainer && pageContainer instanceof HTMLElement) {\n pageContainer.style.paddingTop = `${topOffset}px`;\n }\n }\n };\n\n // for each element with an id we add the scroll-margin-top\n document.querySelectorAll('#page-container [id]').forEach(element => {\n if (element instanceof HTMLElement) {\n let scrollMarginHeight = header.clientHeight + topOffset;\n\n // if the elements offsetTop is greater than twice the header size, \n // we can assume the header is compacted\n // so we need to subtract the compacted elements height from the scroll margin.\n if (element.offsetTop > scrollMarginHeight + scrollMarginHeight / 2) {\n scrollMarginHeight -= compactedElementsHeight;\n }\n element.style.scrollMarginTop = `${scrollMarginHeight}px`;\n }\n });\n\n // reset position on scroll\n window.addEventListener('scroll', compactHeader);\n compactHeader();\n});\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/components/header.js?\n}");
32
40
 
33
41
  /***/ },
34
42
 
@@ -54,14 +62,6 @@ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEvent
54
62
  "use strict";
55
63
  eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var bootstrap_dist_js_bootstrap_bundle_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"./node_modules/bootstrap/dist/js/bootstrap.bundle.js\");\n/* harmony import */ var _components_mobile_controls_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"./src/scripts/components/mobile-controls.js\");\n/* harmony import */ var _components_return_top_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"./src/scripts/components/return-top.js\");\n/* harmony import */ var _components_external_link_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./src/scripts/components/external-link.js\");\n/* harmony import */ var _components_header_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"./src/scripts/components/header.js\");\n\n\n\n\n\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/index.js?\n}");
56
64
 
57
- /***/ },
58
-
59
- /***/ "./src/styles/colorschemes/mono.scss"
60
- (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
61
-
62
- "use strict";
63
- eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://@caweb/framework/./src/styles/colorschemes/mono.scss?\n}");
64
-
65
65
  /***/ }
66
66
 
67
67
  /******/ });
@@ -1 +1 @@
1
- <?php return array('dependencies' => array(), 'version' => '8e41cc3d494bfef4175a');
1
+ <?php return array('dependencies' => array(), 'version' => 'bb2dda282afc55a09dd3');
@@ -14959,6 +14959,7 @@ footer.keywords ul li {
14959
14959
  ----------------------------------------- */
14960
14960
  header.global-header {
14961
14961
  position: sticky;
14962
+ top: 0;
14962
14963
  background-color: var(--bs-white, #fff);
14963
14964
  z-index: 15;
14964
14965
  transition: all 0.3s ease;
@@ -16,6 +16,14 @@ eval("{/*!\n * Bootstrap v5.3.8 (https://getbootstrap.com/)\n * Copyright 2011
16
16
 
17
17
  /***/ },
18
18
 
19
+ /***/ "./src/styles/colorschemes/oceanside.scss"
20
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
21
+
22
+ "use strict";
23
+ eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://@caweb/framework/./src/styles/colorschemes/oceanside.scss?\n}");
24
+
25
+ /***/ },
26
+
19
27
  /***/ "./src/scripts/components/external-link.js"
20
28
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
21
29
 
@@ -28,7 +36,7 @@ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\n\n/* EXTERNAL L
28
36
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
29
37
 
30
38
  "use strict";
31
- eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEventListener('DOMContentLoaded', () => {\n let location_hash = window.location.hash.replace(/(\\|)/g, \"\\\\$1\");\n const header = document.querySelector('header');\n const alerts = document.querySelector('.alerts');\n const utilityHeader = document.querySelector('.utility-header');\n\n // scroll to target\n if (location_hash) {\n // location hash has leading #, so we remove it\n let target = document.getElementById(location_hash.substring(1));\n\n // if the location hash is not empty, we scroll to the target element\n setTimeout(() => {\n target?.scrollIntoView({\n behavior: 'smooth'\n });\n }, 1000);\n }\n if (!header) {\n return;\n }\n const compactHeader = () => {\n let scrollHeights = 0;\n\n // lets collect the height of any elements above the header.\n let current = header.previousElementSibling;\n let miscElementHeights = 0;\n while (current) {\n // if current is a div, add its height to the miscElementHeights.\n if ('DIV' === current.tagName) {\n miscElementHeights += current.clientHeight;\n }\n current = current.previousElementSibling;\n }\n\n // downscroll code passed the header height\n if (document.body.scrollTop >= header.offsetHeight || document.documentElement.scrollTop >= header.offsetHeight) {\n // lets add the scroll heights of any alerts\n if (alerts) {\n scrollHeights += alerts.clientHeight;\n }\n\n // lets add the scroll heights of the utility header\n if (utilityHeader) {\n scrollHeights += utilityHeader.clientHeight;\n }\n\n // move the header up to the scroll height, minus any elements above the header\n header.style.top = `-${scrollHeights - miscElementHeights}px`;\n } else {\n // reset header to initial position\n header.style.top = `${miscElementHeights}px`;\n }\n };\n\n // reset position on scroll\n window.addEventListener('scroll', compactHeader);\n compactHeader();\n});\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/components/header.js?\n}");
39
+ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEventListener('DOMContentLoaded', () => {\n let location_hash = window.location.hash.replace(/(\\|)/g, \"\\\\$1\");\n const header = document.querySelector('header');\n const pageContainer = document.querySelector('#page-container');\n\n // array of elements that are compacted\n const compactedElements = [document.querySelector('.alerts'), document.querySelector('.utility-header')].filter(Boolean);\n let compactedElementsHeight = compactedElements.reduce((total, element) => {\n if (element instanceof HTMLElement) {\n return total + element.clientHeight;\n }\n return total;\n }, 0);\n\n // lets collect the height of any fixed elements above the header.\n let topOffset = 0;\n let current = header?.previousElementSibling;\n while (current) {\n // if current element has a fixed position, add its height to the topOffset.\n if (current instanceof HTMLElement && window.getComputedStyle(current).position === 'fixed') {\n topOffset += current.clientHeight;\n }\n current = current.previousElementSibling;\n }\n\n // scroll to target\n if (location_hash) {\n // location hash has leading #, so we remove it\n let target = document.getElementById(location_hash.substring(1));\n\n // if the location hash is not empty, we scroll to the target element\n requestAnimationFrame(() => {\n target?.scrollIntoView({\n behavior: 'smooth'\n });\n });\n }\n if (!header) {\n return;\n }\n const compactHeader = () => {\n // downscroll code passed the header height\n if (document.body.scrollTop >= header.offsetHeight || document.documentElement.scrollTop >= header.offsetHeight) {\n // move the header up to hide the compacted elements height, minus the top offset.\n header.style.top = `-${compactedElementsHeight - topOffset}px`;\n } else {\n // reset header to initial position\n // we need to set the header's top to the offset.\n if (header) {\n header.style.top = `${topOffset}px`;\n }\n\n // if we have a page container, we need to set its top padding to the offset\n if (pageContainer && pageContainer instanceof HTMLElement) {\n pageContainer.style.paddingTop = `${topOffset}px`;\n }\n }\n };\n\n // for each element with an id we add the scroll-margin-top\n document.querySelectorAll('#page-container [id]').forEach(element => {\n if (element instanceof HTMLElement) {\n let scrollMarginHeight = header.clientHeight + topOffset;\n\n // if the elements offsetTop is greater than twice the header size, \n // we can assume the header is compacted\n // so we need to subtract the compacted elements height from the scroll margin.\n if (element.offsetTop > scrollMarginHeight + scrollMarginHeight / 2) {\n scrollMarginHeight -= compactedElementsHeight;\n }\n element.style.scrollMarginTop = `${scrollMarginHeight}px`;\n }\n });\n\n // reset position on scroll\n window.addEventListener('scroll', compactHeader);\n compactHeader();\n});\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/components/header.js?\n}");
32
40
 
33
41
  /***/ },
34
42
 
@@ -54,14 +62,6 @@ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEvent
54
62
  "use strict";
55
63
  eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var bootstrap_dist_js_bootstrap_bundle_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"./node_modules/bootstrap/dist/js/bootstrap.bundle.js\");\n/* harmony import */ var _components_mobile_controls_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"./src/scripts/components/mobile-controls.js\");\n/* harmony import */ var _components_return_top_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"./src/scripts/components/return-top.js\");\n/* harmony import */ var _components_external_link_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./src/scripts/components/external-link.js\");\n/* harmony import */ var _components_header_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"./src/scripts/components/header.js\");\n\n\n\n\n\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/index.js?\n}");
56
64
 
57
- /***/ },
58
-
59
- /***/ "./src/styles/colorschemes/oceanside.scss"
60
- (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
61
-
62
- "use strict";
63
- eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://@caweb/framework/./src/styles/colorschemes/oceanside.scss?\n}");
64
-
65
65
  /***/ }
66
66
 
67
67
  /******/ });
@@ -1 +1 @@
1
- <?php return array('dependencies' => array(), 'version' => '8207a2eb960cd7e80eba');
1
+ <?php return array('dependencies' => array(), 'version' => 'a88a61f0884df9303968');
@@ -14959,6 +14959,7 @@ footer.keywords ul li {
14959
14959
  ----------------------------------------- */
14960
14960
  header.global-header {
14961
14961
  position: sticky;
14962
+ top: 0;
14962
14963
  background-color: var(--bs-white, #fff);
14963
14964
  z-index: 15;
14964
14965
  transition: all 0.3s ease;
@@ -16,6 +16,14 @@ eval("{/*!\n * Bootstrap v5.3.8 (https://getbootstrap.com/)\n * Copyright 2011
16
16
 
17
17
  /***/ },
18
18
 
19
+ /***/ "./src/styles/colorschemes/orangecounty.scss"
20
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
21
+
22
+ "use strict";
23
+ eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://@caweb/framework/./src/styles/colorschemes/orangecounty.scss?\n}");
24
+
25
+ /***/ },
26
+
19
27
  /***/ "./src/scripts/components/external-link.js"
20
28
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
21
29
 
@@ -28,7 +36,7 @@ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\n\n/* EXTERNAL L
28
36
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
29
37
 
30
38
  "use strict";
31
- eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEventListener('DOMContentLoaded', () => {\n let location_hash = window.location.hash.replace(/(\\|)/g, \"\\\\$1\");\n const header = document.querySelector('header');\n const alerts = document.querySelector('.alerts');\n const utilityHeader = document.querySelector('.utility-header');\n\n // scroll to target\n if (location_hash) {\n // location hash has leading #, so we remove it\n let target = document.getElementById(location_hash.substring(1));\n\n // if the location hash is not empty, we scroll to the target element\n setTimeout(() => {\n target?.scrollIntoView({\n behavior: 'smooth'\n });\n }, 1000);\n }\n if (!header) {\n return;\n }\n const compactHeader = () => {\n let scrollHeights = 0;\n\n // lets collect the height of any elements above the header.\n let current = header.previousElementSibling;\n let miscElementHeights = 0;\n while (current) {\n // if current is a div, add its height to the miscElementHeights.\n if ('DIV' === current.tagName) {\n miscElementHeights += current.clientHeight;\n }\n current = current.previousElementSibling;\n }\n\n // downscroll code passed the header height\n if (document.body.scrollTop >= header.offsetHeight || document.documentElement.scrollTop >= header.offsetHeight) {\n // lets add the scroll heights of any alerts\n if (alerts) {\n scrollHeights += alerts.clientHeight;\n }\n\n // lets add the scroll heights of the utility header\n if (utilityHeader) {\n scrollHeights += utilityHeader.clientHeight;\n }\n\n // move the header up to the scroll height, minus any elements above the header\n header.style.top = `-${scrollHeights - miscElementHeights}px`;\n } else {\n // reset header to initial position\n header.style.top = `${miscElementHeights}px`;\n }\n };\n\n // reset position on scroll\n window.addEventListener('scroll', compactHeader);\n compactHeader();\n});\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/components/header.js?\n}");
39
+ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEventListener('DOMContentLoaded', () => {\n let location_hash = window.location.hash.replace(/(\\|)/g, \"\\\\$1\");\n const header = document.querySelector('header');\n const pageContainer = document.querySelector('#page-container');\n\n // array of elements that are compacted\n const compactedElements = [document.querySelector('.alerts'), document.querySelector('.utility-header')].filter(Boolean);\n let compactedElementsHeight = compactedElements.reduce((total, element) => {\n if (element instanceof HTMLElement) {\n return total + element.clientHeight;\n }\n return total;\n }, 0);\n\n // lets collect the height of any fixed elements above the header.\n let topOffset = 0;\n let current = header?.previousElementSibling;\n while (current) {\n // if current element has a fixed position, add its height to the topOffset.\n if (current instanceof HTMLElement && window.getComputedStyle(current).position === 'fixed') {\n topOffset += current.clientHeight;\n }\n current = current.previousElementSibling;\n }\n\n // scroll to target\n if (location_hash) {\n // location hash has leading #, so we remove it\n let target = document.getElementById(location_hash.substring(1));\n\n // if the location hash is not empty, we scroll to the target element\n requestAnimationFrame(() => {\n target?.scrollIntoView({\n behavior: 'smooth'\n });\n });\n }\n if (!header) {\n return;\n }\n const compactHeader = () => {\n // downscroll code passed the header height\n if (document.body.scrollTop >= header.offsetHeight || document.documentElement.scrollTop >= header.offsetHeight) {\n // move the header up to hide the compacted elements height, minus the top offset.\n header.style.top = `-${compactedElementsHeight - topOffset}px`;\n } else {\n // reset header to initial position\n // we need to set the header's top to the offset.\n if (header) {\n header.style.top = `${topOffset}px`;\n }\n\n // if we have a page container, we need to set its top padding to the offset\n if (pageContainer && pageContainer instanceof HTMLElement) {\n pageContainer.style.paddingTop = `${topOffset}px`;\n }\n }\n };\n\n // for each element with an id we add the scroll-margin-top\n document.querySelectorAll('#page-container [id]').forEach(element => {\n if (element instanceof HTMLElement) {\n let scrollMarginHeight = header.clientHeight + topOffset;\n\n // if the elements offsetTop is greater than twice the header size, \n // we can assume the header is compacted\n // so we need to subtract the compacted elements height from the scroll margin.\n if (element.offsetTop > scrollMarginHeight + scrollMarginHeight / 2) {\n scrollMarginHeight -= compactedElementsHeight;\n }\n element.style.scrollMarginTop = `${scrollMarginHeight}px`;\n }\n });\n\n // reset position on scroll\n window.addEventListener('scroll', compactHeader);\n compactHeader();\n});\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/components/header.js?\n}");
32
40
 
33
41
  /***/ },
34
42
 
@@ -54,14 +62,6 @@ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEvent
54
62
  "use strict";
55
63
  eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var bootstrap_dist_js_bootstrap_bundle_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"./node_modules/bootstrap/dist/js/bootstrap.bundle.js\");\n/* harmony import */ var _components_mobile_controls_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"./src/scripts/components/mobile-controls.js\");\n/* harmony import */ var _components_return_top_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"./src/scripts/components/return-top.js\");\n/* harmony import */ var _components_external_link_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./src/scripts/components/external-link.js\");\n/* harmony import */ var _components_header_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"./src/scripts/components/header.js\");\n\n\n\n\n\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/index.js?\n}");
56
64
 
57
- /***/ },
58
-
59
- /***/ "./src/styles/colorschemes/orangecounty.scss"
60
- (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
61
-
62
- "use strict";
63
- eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://@caweb/framework/./src/styles/colorschemes/orangecounty.scss?\n}");
64
-
65
65
  /***/ }
66
66
 
67
67
  /******/ });
@@ -1 +1 @@
1
- <?php return array('dependencies' => array(), 'version' => 'b586453035ac068a7e85');
1
+ <?php return array('dependencies' => array(), 'version' => '3a655e5256466c7b8e7d');
@@ -14959,6 +14959,7 @@ footer.keywords ul li {
14959
14959
  ----------------------------------------- */
14960
14960
  header.global-header {
14961
14961
  position: sticky;
14962
+ top: 0;
14962
14963
  background-color: var(--bs-white, #fff);
14963
14964
  z-index: 15;
14964
14965
  transition: all 0.3s ease;
@@ -16,6 +16,14 @@ eval("{/*!\n * Bootstrap v5.3.8 (https://getbootstrap.com/)\n * Copyright 2011
16
16
 
17
17
  /***/ },
18
18
 
19
+ /***/ "./src/styles/colorschemes/pasorobles.scss"
20
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
21
+
22
+ "use strict";
23
+ eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://@caweb/framework/./src/styles/colorschemes/pasorobles.scss?\n}");
24
+
25
+ /***/ },
26
+
19
27
  /***/ "./src/scripts/components/external-link.js"
20
28
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
21
29
 
@@ -28,7 +36,7 @@ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\n\n/* EXTERNAL L
28
36
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
29
37
 
30
38
  "use strict";
31
- eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEventListener('DOMContentLoaded', () => {\n let location_hash = window.location.hash.replace(/(\\|)/g, \"\\\\$1\");\n const header = document.querySelector('header');\n const alerts = document.querySelector('.alerts');\n const utilityHeader = document.querySelector('.utility-header');\n\n // scroll to target\n if (location_hash) {\n // location hash has leading #, so we remove it\n let target = document.getElementById(location_hash.substring(1));\n\n // if the location hash is not empty, we scroll to the target element\n setTimeout(() => {\n target?.scrollIntoView({\n behavior: 'smooth'\n });\n }, 1000);\n }\n if (!header) {\n return;\n }\n const compactHeader = () => {\n let scrollHeights = 0;\n\n // lets collect the height of any elements above the header.\n let current = header.previousElementSibling;\n let miscElementHeights = 0;\n while (current) {\n // if current is a div, add its height to the miscElementHeights.\n if ('DIV' === current.tagName) {\n miscElementHeights += current.clientHeight;\n }\n current = current.previousElementSibling;\n }\n\n // downscroll code passed the header height\n if (document.body.scrollTop >= header.offsetHeight || document.documentElement.scrollTop >= header.offsetHeight) {\n // lets add the scroll heights of any alerts\n if (alerts) {\n scrollHeights += alerts.clientHeight;\n }\n\n // lets add the scroll heights of the utility header\n if (utilityHeader) {\n scrollHeights += utilityHeader.clientHeight;\n }\n\n // move the header up to the scroll height, minus any elements above the header\n header.style.top = `-${scrollHeights - miscElementHeights}px`;\n } else {\n // reset header to initial position\n header.style.top = `${miscElementHeights}px`;\n }\n };\n\n // reset position on scroll\n window.addEventListener('scroll', compactHeader);\n compactHeader();\n});\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/components/header.js?\n}");
39
+ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEventListener('DOMContentLoaded', () => {\n let location_hash = window.location.hash.replace(/(\\|)/g, \"\\\\$1\");\n const header = document.querySelector('header');\n const pageContainer = document.querySelector('#page-container');\n\n // array of elements that are compacted\n const compactedElements = [document.querySelector('.alerts'), document.querySelector('.utility-header')].filter(Boolean);\n let compactedElementsHeight = compactedElements.reduce((total, element) => {\n if (element instanceof HTMLElement) {\n return total + element.clientHeight;\n }\n return total;\n }, 0);\n\n // lets collect the height of any fixed elements above the header.\n let topOffset = 0;\n let current = header?.previousElementSibling;\n while (current) {\n // if current element has a fixed position, add its height to the topOffset.\n if (current instanceof HTMLElement && window.getComputedStyle(current).position === 'fixed') {\n topOffset += current.clientHeight;\n }\n current = current.previousElementSibling;\n }\n\n // scroll to target\n if (location_hash) {\n // location hash has leading #, so we remove it\n let target = document.getElementById(location_hash.substring(1));\n\n // if the location hash is not empty, we scroll to the target element\n requestAnimationFrame(() => {\n target?.scrollIntoView({\n behavior: 'smooth'\n });\n });\n }\n if (!header) {\n return;\n }\n const compactHeader = () => {\n // downscroll code passed the header height\n if (document.body.scrollTop >= header.offsetHeight || document.documentElement.scrollTop >= header.offsetHeight) {\n // move the header up to hide the compacted elements height, minus the top offset.\n header.style.top = `-${compactedElementsHeight - topOffset}px`;\n } else {\n // reset header to initial position\n // we need to set the header's top to the offset.\n if (header) {\n header.style.top = `${topOffset}px`;\n }\n\n // if we have a page container, we need to set its top padding to the offset\n if (pageContainer && pageContainer instanceof HTMLElement) {\n pageContainer.style.paddingTop = `${topOffset}px`;\n }\n }\n };\n\n // for each element with an id we add the scroll-margin-top\n document.querySelectorAll('#page-container [id]').forEach(element => {\n if (element instanceof HTMLElement) {\n let scrollMarginHeight = header.clientHeight + topOffset;\n\n // if the elements offsetTop is greater than twice the header size, \n // we can assume the header is compacted\n // so we need to subtract the compacted elements height from the scroll margin.\n if (element.offsetTop > scrollMarginHeight + scrollMarginHeight / 2) {\n scrollMarginHeight -= compactedElementsHeight;\n }\n element.style.scrollMarginTop = `${scrollMarginHeight}px`;\n }\n });\n\n // reset position on scroll\n window.addEventListener('scroll', compactHeader);\n compactHeader();\n});\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/components/header.js?\n}");
32
40
 
33
41
  /***/ },
34
42
 
@@ -54,14 +62,6 @@ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEvent
54
62
  "use strict";
55
63
  eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var bootstrap_dist_js_bootstrap_bundle_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"./node_modules/bootstrap/dist/js/bootstrap.bundle.js\");\n/* harmony import */ var _components_mobile_controls_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"./src/scripts/components/mobile-controls.js\");\n/* harmony import */ var _components_return_top_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"./src/scripts/components/return-top.js\");\n/* harmony import */ var _components_external_link_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./src/scripts/components/external-link.js\");\n/* harmony import */ var _components_header_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"./src/scripts/components/header.js\");\n\n\n\n\n\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/index.js?\n}");
56
64
 
57
- /***/ },
58
-
59
- /***/ "./src/styles/colorschemes/pasorobles.scss"
60
- (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
61
-
62
- "use strict";
63
- eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://@caweb/framework/./src/styles/colorschemes/pasorobles.scss?\n}");
64
-
65
65
  /***/ }
66
66
 
67
67
  /******/ });
@@ -1 +1 @@
1
- <?php return array('dependencies' => array(), 'version' => '5d5ec271bc854fa541a3');
1
+ <?php return array('dependencies' => array(), 'version' => '46795bfd62876c67937d');
@@ -14959,6 +14959,7 @@ footer.keywords ul li {
14959
14959
  ----------------------------------------- */
14960
14960
  header.global-header {
14961
14961
  position: sticky;
14962
+ top: 0;
14962
14963
  background-color: var(--bs-white, #fff);
14963
14964
  z-index: 15;
14964
14965
  transition: all 0.3s ease;
@@ -16,6 +16,14 @@ eval("{/*!\n * Bootstrap v5.3.8 (https://getbootstrap.com/)\n * Copyright 2011
16
16
 
17
17
  /***/ },
18
18
 
19
+ /***/ "./src/styles/colorschemes/sacramento.scss"
20
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
21
+
22
+ "use strict";
23
+ eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://@caweb/framework/./src/styles/colorschemes/sacramento.scss?\n}");
24
+
25
+ /***/ },
26
+
19
27
  /***/ "./src/scripts/components/external-link.js"
20
28
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
21
29
 
@@ -28,7 +36,7 @@ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\n\n/* EXTERNAL L
28
36
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
29
37
 
30
38
  "use strict";
31
- eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEventListener('DOMContentLoaded', () => {\n let location_hash = window.location.hash.replace(/(\\|)/g, \"\\\\$1\");\n const header = document.querySelector('header');\n const alerts = document.querySelector('.alerts');\n const utilityHeader = document.querySelector('.utility-header');\n\n // scroll to target\n if (location_hash) {\n // location hash has leading #, so we remove it\n let target = document.getElementById(location_hash.substring(1));\n\n // if the location hash is not empty, we scroll to the target element\n setTimeout(() => {\n target?.scrollIntoView({\n behavior: 'smooth'\n });\n }, 1000);\n }\n if (!header) {\n return;\n }\n const compactHeader = () => {\n let scrollHeights = 0;\n\n // lets collect the height of any elements above the header.\n let current = header.previousElementSibling;\n let miscElementHeights = 0;\n while (current) {\n // if current is a div, add its height to the miscElementHeights.\n if ('DIV' === current.tagName) {\n miscElementHeights += current.clientHeight;\n }\n current = current.previousElementSibling;\n }\n\n // downscroll code passed the header height\n if (document.body.scrollTop >= header.offsetHeight || document.documentElement.scrollTop >= header.offsetHeight) {\n // lets add the scroll heights of any alerts\n if (alerts) {\n scrollHeights += alerts.clientHeight;\n }\n\n // lets add the scroll heights of the utility header\n if (utilityHeader) {\n scrollHeights += utilityHeader.clientHeight;\n }\n\n // move the header up to the scroll height, minus any elements above the header\n header.style.top = `-${scrollHeights - miscElementHeights}px`;\n } else {\n // reset header to initial position\n header.style.top = `${miscElementHeights}px`;\n }\n };\n\n // reset position on scroll\n window.addEventListener('scroll', compactHeader);\n compactHeader();\n});\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/components/header.js?\n}");
39
+ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEventListener('DOMContentLoaded', () => {\n let location_hash = window.location.hash.replace(/(\\|)/g, \"\\\\$1\");\n const header = document.querySelector('header');\n const pageContainer = document.querySelector('#page-container');\n\n // array of elements that are compacted\n const compactedElements = [document.querySelector('.alerts'), document.querySelector('.utility-header')].filter(Boolean);\n let compactedElementsHeight = compactedElements.reduce((total, element) => {\n if (element instanceof HTMLElement) {\n return total + element.clientHeight;\n }\n return total;\n }, 0);\n\n // lets collect the height of any fixed elements above the header.\n let topOffset = 0;\n let current = header?.previousElementSibling;\n while (current) {\n // if current element has a fixed position, add its height to the topOffset.\n if (current instanceof HTMLElement && window.getComputedStyle(current).position === 'fixed') {\n topOffset += current.clientHeight;\n }\n current = current.previousElementSibling;\n }\n\n // scroll to target\n if (location_hash) {\n // location hash has leading #, so we remove it\n let target = document.getElementById(location_hash.substring(1));\n\n // if the location hash is not empty, we scroll to the target element\n requestAnimationFrame(() => {\n target?.scrollIntoView({\n behavior: 'smooth'\n });\n });\n }\n if (!header) {\n return;\n }\n const compactHeader = () => {\n // downscroll code passed the header height\n if (document.body.scrollTop >= header.offsetHeight || document.documentElement.scrollTop >= header.offsetHeight) {\n // move the header up to hide the compacted elements height, minus the top offset.\n header.style.top = `-${compactedElementsHeight - topOffset}px`;\n } else {\n // reset header to initial position\n // we need to set the header's top to the offset.\n if (header) {\n header.style.top = `${topOffset}px`;\n }\n\n // if we have a page container, we need to set its top padding to the offset\n if (pageContainer && pageContainer instanceof HTMLElement) {\n pageContainer.style.paddingTop = `${topOffset}px`;\n }\n }\n };\n\n // for each element with an id we add the scroll-margin-top\n document.querySelectorAll('#page-container [id]').forEach(element => {\n if (element instanceof HTMLElement) {\n let scrollMarginHeight = header.clientHeight + topOffset;\n\n // if the elements offsetTop is greater than twice the header size, \n // we can assume the header is compacted\n // so we need to subtract the compacted elements height from the scroll margin.\n if (element.offsetTop > scrollMarginHeight + scrollMarginHeight / 2) {\n scrollMarginHeight -= compactedElementsHeight;\n }\n element.style.scrollMarginTop = `${scrollMarginHeight}px`;\n }\n });\n\n // reset position on scroll\n window.addEventListener('scroll', compactHeader);\n compactHeader();\n});\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/components/header.js?\n}");
32
40
 
33
41
  /***/ },
34
42
 
@@ -54,14 +62,6 @@ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEvent
54
62
  "use strict";
55
63
  eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var bootstrap_dist_js_bootstrap_bundle_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"./node_modules/bootstrap/dist/js/bootstrap.bundle.js\");\n/* harmony import */ var _components_mobile_controls_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"./src/scripts/components/mobile-controls.js\");\n/* harmony import */ var _components_return_top_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"./src/scripts/components/return-top.js\");\n/* harmony import */ var _components_external_link_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./src/scripts/components/external-link.js\");\n/* harmony import */ var _components_header_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"./src/scripts/components/header.js\");\n\n\n\n\n\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/index.js?\n}");
56
64
 
57
- /***/ },
58
-
59
- /***/ "./src/styles/colorschemes/sacramento.scss"
60
- (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
61
-
62
- "use strict";
63
- eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://@caweb/framework/./src/styles/colorschemes/sacramento.scss?\n}");
64
-
65
65
  /***/ }
66
66
 
67
67
  /******/ });
@@ -1 +1 @@
1
- <?php return array('dependencies' => array(), 'version' => '12b94acc9ae0a70968df');
1
+ <?php return array('dependencies' => array(), 'version' => 'b941c263dada6b7424a1');
@@ -14959,6 +14959,7 @@ footer.keywords ul li {
14959
14959
  ----------------------------------------- */
14960
14960
  header.global-header {
14961
14961
  position: sticky;
14962
+ top: 0;
14962
14963
  background-color: var(--bs-white, #fff);
14963
14964
  z-index: 15;
14964
14965
  transition: all 0.3s ease;
@@ -16,6 +16,14 @@ eval("{/*!\n * Bootstrap v5.3.8 (https://getbootstrap.com/)\n * Copyright 2011
16
16
 
17
17
  /***/ },
18
18
 
19
+ /***/ "./src/styles/colorschemes/santabarbara.scss"
20
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
21
+
22
+ "use strict";
23
+ eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://@caweb/framework/./src/styles/colorschemes/santabarbara.scss?\n}");
24
+
25
+ /***/ },
26
+
19
27
  /***/ "./src/scripts/components/external-link.js"
20
28
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
21
29
 
@@ -28,7 +36,7 @@ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\n\n/* EXTERNAL L
28
36
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
29
37
 
30
38
  "use strict";
31
- eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEventListener('DOMContentLoaded', () => {\n let location_hash = window.location.hash.replace(/(\\|)/g, \"\\\\$1\");\n const header = document.querySelector('header');\n const alerts = document.querySelector('.alerts');\n const utilityHeader = document.querySelector('.utility-header');\n\n // scroll to target\n if (location_hash) {\n // location hash has leading #, so we remove it\n let target = document.getElementById(location_hash.substring(1));\n\n // if the location hash is not empty, we scroll to the target element\n setTimeout(() => {\n target?.scrollIntoView({\n behavior: 'smooth'\n });\n }, 1000);\n }\n if (!header) {\n return;\n }\n const compactHeader = () => {\n let scrollHeights = 0;\n\n // lets collect the height of any elements above the header.\n let current = header.previousElementSibling;\n let miscElementHeights = 0;\n while (current) {\n // if current is a div, add its height to the miscElementHeights.\n if ('DIV' === current.tagName) {\n miscElementHeights += current.clientHeight;\n }\n current = current.previousElementSibling;\n }\n\n // downscroll code passed the header height\n if (document.body.scrollTop >= header.offsetHeight || document.documentElement.scrollTop >= header.offsetHeight) {\n // lets add the scroll heights of any alerts\n if (alerts) {\n scrollHeights += alerts.clientHeight;\n }\n\n // lets add the scroll heights of the utility header\n if (utilityHeader) {\n scrollHeights += utilityHeader.clientHeight;\n }\n\n // move the header up to the scroll height, minus any elements above the header\n header.style.top = `-${scrollHeights - miscElementHeights}px`;\n } else {\n // reset header to initial position\n header.style.top = `${miscElementHeights}px`;\n }\n };\n\n // reset position on scroll\n window.addEventListener('scroll', compactHeader);\n compactHeader();\n});\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/components/header.js?\n}");
39
+ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEventListener('DOMContentLoaded', () => {\n let location_hash = window.location.hash.replace(/(\\|)/g, \"\\\\$1\");\n const header = document.querySelector('header');\n const pageContainer = document.querySelector('#page-container');\n\n // array of elements that are compacted\n const compactedElements = [document.querySelector('.alerts'), document.querySelector('.utility-header')].filter(Boolean);\n let compactedElementsHeight = compactedElements.reduce((total, element) => {\n if (element instanceof HTMLElement) {\n return total + element.clientHeight;\n }\n return total;\n }, 0);\n\n // lets collect the height of any fixed elements above the header.\n let topOffset = 0;\n let current = header?.previousElementSibling;\n while (current) {\n // if current element has a fixed position, add its height to the topOffset.\n if (current instanceof HTMLElement && window.getComputedStyle(current).position === 'fixed') {\n topOffset += current.clientHeight;\n }\n current = current.previousElementSibling;\n }\n\n // scroll to target\n if (location_hash) {\n // location hash has leading #, so we remove it\n let target = document.getElementById(location_hash.substring(1));\n\n // if the location hash is not empty, we scroll to the target element\n requestAnimationFrame(() => {\n target?.scrollIntoView({\n behavior: 'smooth'\n });\n });\n }\n if (!header) {\n return;\n }\n const compactHeader = () => {\n // downscroll code passed the header height\n if (document.body.scrollTop >= header.offsetHeight || document.documentElement.scrollTop >= header.offsetHeight) {\n // move the header up to hide the compacted elements height, minus the top offset.\n header.style.top = `-${compactedElementsHeight - topOffset}px`;\n } else {\n // reset header to initial position\n // we need to set the header's top to the offset.\n if (header) {\n header.style.top = `${topOffset}px`;\n }\n\n // if we have a page container, we need to set its top padding to the offset\n if (pageContainer && pageContainer instanceof HTMLElement) {\n pageContainer.style.paddingTop = `${topOffset}px`;\n }\n }\n };\n\n // for each element with an id we add the scroll-margin-top\n document.querySelectorAll('#page-container [id]').forEach(element => {\n if (element instanceof HTMLElement) {\n let scrollMarginHeight = header.clientHeight + topOffset;\n\n // if the elements offsetTop is greater than twice the header size, \n // we can assume the header is compacted\n // so we need to subtract the compacted elements height from the scroll margin.\n if (element.offsetTop > scrollMarginHeight + scrollMarginHeight / 2) {\n scrollMarginHeight -= compactedElementsHeight;\n }\n element.style.scrollMarginTop = `${scrollMarginHeight}px`;\n }\n });\n\n // reset position on scroll\n window.addEventListener('scroll', compactHeader);\n compactHeader();\n});\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/components/header.js?\n}");
32
40
 
33
41
  /***/ },
34
42
 
@@ -54,14 +62,6 @@ eval("{__webpack_require__.r(__webpack_exports__);\n//@ts-check\nwindow.addEvent
54
62
  "use strict";
55
63
  eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var bootstrap_dist_js_bootstrap_bundle_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"./node_modules/bootstrap/dist/js/bootstrap.bundle.js\");\n/* harmony import */ var _components_mobile_controls_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"./src/scripts/components/mobile-controls.js\");\n/* harmony import */ var _components_return_top_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"./src/scripts/components/return-top.js\");\n/* harmony import */ var _components_external_link_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./src/scripts/components/external-link.js\");\n/* harmony import */ var _components_header_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"./src/scripts/components/header.js\");\n\n\n\n\n\n\n//# sourceURL=webpack://@caweb/framework/./src/scripts/index.js?\n}");
56
64
 
57
- /***/ },
58
-
59
- /***/ "./src/styles/colorschemes/santabarbara.scss"
60
- (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
61
-
62
- "use strict";
63
- eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://@caweb/framework/./src/styles/colorschemes/santabarbara.scss?\n}");
64
-
65
65
  /***/ }
66
66
 
67
67
  /******/ });
@@ -1 +1 @@
1
- <?php return array('dependencies' => array(), 'version' => '5a2422fe7860b7845fa6');
1
+ <?php return array('dependencies' => array(), 'version' => '9e5a3ec701cb3c1c0dcc');
@@ -14959,6 +14959,7 @@ footer.keywords ul li {
14959
14959
  ----------------------------------------- */
14960
14960
  header.global-header {
14961
14961
  position: sticky;
14962
+ top: 0;
14962
14963
  background-color: var(--bs-white, #fff);
14963
14964
  z-index: 15;
14964
14965
  transition: all 0.3s ease;