@xyo-network/os-react-runtime 7.4.1 → 7.4.2
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/browser/index.mjs
CHANGED
|
@@ -2116,14 +2116,20 @@ import {
|
|
|
2116
2116
|
FlexRow as FlexRow2
|
|
2117
2117
|
} from "@xylabs/react-flexbox";
|
|
2118
2118
|
import { jsx as jsx11, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
2119
|
+
var mergeSx = (base, override) => {
|
|
2120
|
+
if (override === void 0) return base;
|
|
2121
|
+
const overrideArr = Array.isArray(override) ? override : [override];
|
|
2122
|
+
return [base, ...overrideArr];
|
|
2123
|
+
};
|
|
2119
2124
|
var DappChromeSmall = ({
|
|
2120
2125
|
appBar,
|
|
2121
2126
|
children,
|
|
2122
2127
|
screenMenu,
|
|
2123
2128
|
splashScreen,
|
|
2129
|
+
sx,
|
|
2124
2130
|
...props
|
|
2125
2131
|
}) => {
|
|
2126
|
-
return /* @__PURE__ */ jsxs5(FlexCol4, {
|
|
2132
|
+
return /* @__PURE__ */ jsxs5(FlexCol4, { id: "dapp-chrome-container-small", ...props, sx: mergeSx({ alignItems: "stretch" }, sx), children: [
|
|
2127
2133
|
splashScreen,
|
|
2128
2134
|
/* @__PURE__ */ jsxs5(
|
|
2129
2135
|
FlexGrowCol,
|
|
@@ -2154,9 +2160,10 @@ var DappChromeLarge = ({
|
|
|
2154
2160
|
children,
|
|
2155
2161
|
screenMenu,
|
|
2156
2162
|
splashScreen,
|
|
2163
|
+
sx,
|
|
2157
2164
|
...props
|
|
2158
2165
|
}) => {
|
|
2159
|
-
return /* @__PURE__ */ jsxs5(FlexRow2, {
|
|
2166
|
+
return /* @__PURE__ */ jsxs5(FlexRow2, { id: "dapp-chrome-container-large", ...props, sx: mergeSx({ alignItems: "stretch" }, sx), children: [
|
|
2160
2167
|
splashScreen,
|
|
2161
2168
|
screenMenu,
|
|
2162
2169
|
/* @__PURE__ */ jsxs5(
|