@40rty/ams-ui 0.5.13 → 0.5.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.
@@ -3963,6 +3963,9 @@ function DefaultMobileShell(props) {
3963
3963
  const chromeInset = useKeyboardInset(shellRef);
3964
3964
  const restingChromeInset = chromeInset > KEYBOARD_LIKELY_MIN_PX ? 0 : chromeInset;
3965
3965
  const resolveScrollRef = documentScrollRef(props.scrollRef);
3966
+ const floorPx = canvasBottomClearance + restingChromeInset + ISLAND_BOTTOM_GAP;
3967
+ const floorStyle = { paddingBottom: `${floorPx}px` };
3968
+ Reflect.set(floorStyle, "--fourty-shell-floor", `${floorPx}px`);
3966
3969
  const rootRef = React26.useCallback((node) => {
3967
3970
  shellRef.current = node;
3968
3971
  resolveScrollRef(node);
@@ -4026,18 +4029,10 @@ function DefaultMobileShell(props) {
4026
4029
  children: [
4027
4030
  /* @__PURE__ */ jsx26(MobileChrome, { logo: resolveShellSlot(props.logo, dock), launchers: resolveShellSlot(props.launchers, dock) }),
4028
4031
  /* @__PURE__ */ jsxs17(EntryPointProvider, { claim: claimEntryPoint, claimed: entryPointClaimed, children: [
4029
- /* @__PURE__ */ jsx26(
4030
- "main",
4031
- {
4032
- style: {
4033
- paddingBottom: `${canvasBottomClearance + restingChromeInset + ISLAND_BOTTOM_GAP}px`
4034
- },
4035
- children: /* @__PURE__ */ jsxs17("div", { style: canvasGutterStyle, children: [
4036
- /* @__PURE__ */ jsx26(ConversationTransition, { children: props.canvas }),
4037
- props.footer
4038
- ] })
4039
- }
4040
- ),
4032
+ /* @__PURE__ */ jsx26("main", { style: floorStyle, children: /* @__PURE__ */ jsxs17("div", { style: canvasGutterStyle, children: [
4033
+ /* @__PURE__ */ jsx26(ConversationTransition, { children: props.canvas }),
4034
+ props.footer
4035
+ ] }) }),
4041
4036
  pageComposes && !withholdIsland && /* @__PURE__ */ jsx26(PageComposerDock, { bottom: chromeInset, onHeightChange: setIslandFaceHeight, children: resolveShellSlot(props.canvasComposer, dock) }),
4042
4037
  !pageComposes && !withholdIsland && /* @__PURE__ */ jsx26(
4043
4038
  MobileVoiceConsole,