@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 CHANGED
@@ -6687,17 +6687,15 @@ html {
6687
6687
  left: 0;
6688
6688
  }
6689
6689
  .awell__hostedPageFooter_footer .awell__hostedPageFooter_scrollHint {
6690
- position: absolute;
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: 1;
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","visible":"awell__hostedPageFooter_visible","hidden":"awell__hostedPageFooter_hidden"};
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 - 1;
48554
- scrollIndicatorRef.current.classList.toggle(classes$7.hidden, isAtBottom);
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, " ").concat(classes$7.visible), id: "awell__scroll_hint" }, { children: jsxRuntime.exports.jsx(ScrollIndicator, {}) })), children] }));
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"};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awell-health/ui-library",
3
- "version": "0.1.107",
3
+ "version": "0.1.109",
4
4
  "description": "UI components to integrate with Awell Health",
5
5
  "repository": {
6
6
  "type": "git",