@awell-health/ui-library 0.1.107 → 0.1.109
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 +2 -10
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -6687,17 +6687,15 @@ 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;
|
|
6697
|
+
z-index: 1001;
|
|
6699
6698
|
transition: opacity 0.3s ease-in-out;
|
|
6700
|
-
opacity: 1;
|
|
6701
6699
|
}
|
|
6702
6700
|
@media (min-width: 640px) {
|
|
6703
6701
|
.awell__hostedPageFooter_footer .awell__hostedPageFooter_scrollHint {
|
|
@@ -6705,12 +6703,6 @@ html {
|
|
|
6705
6703
|
bottom: var(--awell-footer-height);
|
|
6706
6704
|
}
|
|
6707
6705
|
}
|
|
6708
|
-
.awell__hostedPageFooter_footer .awell__hostedPageFooter_scrollHint.awell__hostedPageFooter_visible {
|
|
6709
|
-
opacity: 1;
|
|
6710
|
-
}
|
|
6711
|
-
.awell__hostedPageFooter_footer .awell__hostedPageFooter_scrollHint.awell__hostedPageFooter_hidden {
|
|
6712
|
-
opacity: 0;
|
|
6713
|
-
}
|
|
6714
6706
|
@import 'https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap';
|
|
6715
6707
|
:root {
|
|
6716
6708
|
--awell-accent100: #fdb833;
|
package/dist/index.js
CHANGED
|
@@ -48541,7 +48541,7 @@ var Kr=[{
|
|
|
48541
48541
|
|
|
48542
48542
|
};
|
|
48543
48543
|
|
|
48544
|
-
var classes$7 = {"footer":"awell__hostedPageFooter_footer","fixed":"awell__hostedPageFooter_fixed","scrollHint":"awell__hostedPageFooter_scrollHint"
|
|
48544
|
+
var classes$7 = {"footer":"awell__hostedPageFooter_footer","fixed":"awell__hostedPageFooter_fixed","scrollHint":"awell__hostedPageFooter_scrollHint"};
|
|
48545
48545
|
|
|
48546
48546
|
var HostedPageFooter = function (_a) {
|
|
48547
48547
|
var children = _a.children,_b = _a.showScrollHint,showScrollHint = _b === void 0 ? false : _b,_c = _a.fixPosition,fixPosition = _c === void 0 ? false : _c;
|
|
@@ -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.style.opacity = isAtBottom ? '0' : '1';
|
|
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: [showScrollHint && jsxRuntime.exports.jsx("div", __assign({ ref: scrollIndicatorRef, className: "".concat(classes$7.scrollHint
|
|
48563
|
+
return jsxRuntime.exports.jsxs("footer", __assign({ className: footerClass }, { children: [showScrollHint && jsxRuntime.exports.jsx("div", __assign({ ref: scrollIndicatorRef, className: "".concat(classes$7.scrollHint), 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"};
|