@40rty/ams-ui 0.5.13 → 0.5.14
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
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
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,
|
package/dist/conversation.js
CHANGED
package/dist/shell.js
CHANGED
package/package.json
CHANGED
|
@@ -76,12 +76,12 @@
|
|
|
76
76
|
"zod": "^3.23.0"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
|
-
"@40rty/ams-sdk": "0.5.
|
|
79
|
+
"@40rty/ams-sdk": "0.5.14",
|
|
80
80
|
"lucide-react": ">=0.400.0",
|
|
81
81
|
"react": ">=18.0.0",
|
|
82
82
|
"react-dom": ">=18.0.0"
|
|
83
83
|
},
|
|
84
|
-
"version": "0.5.
|
|
84
|
+
"version": "0.5.14",
|
|
85
85
|
"homepage": "https://docs.40rty.ai",
|
|
86
86
|
"license": "UNLICENSED",
|
|
87
87
|
"engines": {
|