@awell-health/ui-library 0.1.106 → 0.1.108
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/dist/index.css +4 -8
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -6687,16 +6687,14 @@ html {
|
|
|
6687
6687
|
left: 0;
|
|
6688
6688
|
}
|
|
6689
6689
|
.awell__hostedPageFooter_footer .awell__hostedPageFooter_scrollHint {
|
|
6690
|
-
position:
|
|
6690
|
+
position: fixed;
|
|
6691
6691
|
bottom: var(--awell-mobile-footer-height);
|
|
6692
6692
|
padding: var(--awell-spacing-2) 0;
|
|
6693
6693
|
left: 0;
|
|
6694
6694
|
display: flex;
|
|
6695
6695
|
justify-content: center;
|
|
6696
6696
|
width: 100%;
|
|
6697
|
-
z-index:
|
|
6698
|
-
background: #fff;
|
|
6699
|
-
transition: visibility 0s linear 0.2s, opacity 0.2s linear;
|
|
6697
|
+
z-index: 1001;
|
|
6700
6698
|
}
|
|
6701
6699
|
@media (min-width: 640px) {
|
|
6702
6700
|
.awell__hostedPageFooter_footer .awell__hostedPageFooter_scrollHint {
|
|
@@ -6705,14 +6703,12 @@ html {
|
|
|
6705
6703
|
}
|
|
6706
6704
|
}
|
|
6707
6705
|
.awell__hostedPageFooter_footer .awell__hostedPageFooter_scrollHint.awell__hostedPageFooter_visible {
|
|
6708
|
-
visibility: visible;
|
|
6709
6706
|
opacity: 1;
|
|
6710
|
-
transition
|
|
6707
|
+
transition: opacity 0.3s ease-in-out;
|
|
6711
6708
|
}
|
|
6712
6709
|
.awell__hostedPageFooter_footer .awell__hostedPageFooter_scrollHint.awell__hostedPageFooter_hidden {
|
|
6713
|
-
visibility: hidden;
|
|
6714
6710
|
opacity: 0;
|
|
6715
|
-
transition:
|
|
6711
|
+
transition: opacity 0.3s ease-in-out;
|
|
6716
6712
|
}
|
|
6717
6713
|
@import 'https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap';
|
|
6718
6714
|
:root {
|
package/dist/index.js
CHANGED
|
@@ -48550,8 +48550,8 @@ var Kr=[{
|
|
|
48550
48550
|
var handleScroll = function () {
|
|
48551
48551
|
if (scrollIndicatorRef.current) {
|
|
48552
48552
|
var _a = document.documentElement,scrollTop = _a.scrollTop,scrollHeight = _a.scrollHeight,clientHeight = _a.clientHeight;
|
|
48553
|
-
var isAtBottom = scrollTop + clientHeight >= scrollHeight -
|
|
48554
|
-
scrollIndicatorRef.current.
|
|
48553
|
+
var isAtBottom = scrollTop + clientHeight >= scrollHeight - 2;
|
|
48554
|
+
scrollIndicatorRef.current.classList.toggle(classes$7.hidden, isAtBottom);
|
|
48555
48555
|
}
|
|
48556
48556
|
};
|
|
48557
48557
|
window.addEventListener('scroll', handleScroll);
|
|
@@ -48560,7 +48560,7 @@ var Kr=[{
|
|
|
48560
48560
|
var footerClass = fixPosition ?
|
|
48561
48561
|
"".concat(classes$7.footer, " ").concat(classes$7.fixed) :
|
|
48562
48562
|
classes$7.footer;
|
|
48563
|
-
return jsxRuntime.exports.jsxs("footer", __assign({ className: footerClass }, { children: [jsxRuntime.exports.jsx("div", __assign({ ref: scrollIndicatorRef, className: "".concat(classes$7.scrollHint, " ").concat(
|
|
48563
|
+
return jsxRuntime.exports.jsxs("footer", __assign({ className: footerClass }, { children: [showScrollHint && jsxRuntime.exports.jsx("div", __assign({ ref: scrollIndicatorRef, className: "".concat(classes$7.scrollHint, " ").concat(classes$7.visible), id: "awell__scroll_hint" }, { children: jsxRuntime.exports.jsx(ScrollIndicator, {}) })), children] }));
|
|
48564
48564
|
};
|
|
48565
48565
|
|
|
48566
48566
|
var classes$6 = {"container":"awell__checklist_container","awell_checklist":"awell__checklist_awell_checklist","title":"awell__checklist_title","checklist":"awell__checklist_checklist","checkboxListFormControl":"awell__checklist_checkboxListFormControl","button_wrapper":"awell__checklist_button_wrapper"};
|