@bze/bze-ui-kit 0.3.1 → 0.4.0
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/README.md +11 -11
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +29 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +28 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4880,6 +4880,33 @@ function SettingsToggle({ accentColor }) {
|
|
|
4880
4880
|
}
|
|
4881
4881
|
);
|
|
4882
4882
|
}
|
|
4883
|
+
|
|
4884
|
+
// src/components/testnet-banner.tsx
|
|
4885
|
+
import { Box as Box3, Text as Text4 } from "@chakra-ui/react";
|
|
4886
|
+
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
4887
|
+
var TestnetBanner = () => {
|
|
4888
|
+
if (!isTestnetChain()) {
|
|
4889
|
+
return null;
|
|
4890
|
+
}
|
|
4891
|
+
return /* @__PURE__ */ jsx7(
|
|
4892
|
+
Box3,
|
|
4893
|
+
{
|
|
4894
|
+
position: "fixed",
|
|
4895
|
+
bottom: "0",
|
|
4896
|
+
left: "0",
|
|
4897
|
+
right: "0",
|
|
4898
|
+
bg: "red.600",
|
|
4899
|
+
color: "white",
|
|
4900
|
+
textAlign: "center",
|
|
4901
|
+
py: "1",
|
|
4902
|
+
zIndex: "banner",
|
|
4903
|
+
fontSize: "xs",
|
|
4904
|
+
fontWeight: "bold",
|
|
4905
|
+
letterSpacing: "wide",
|
|
4906
|
+
children: /* @__PURE__ */ jsx7(Text4, { children: "YOU ARE ON TESTNET" })
|
|
4907
|
+
}
|
|
4908
|
+
);
|
|
4909
|
+
};
|
|
4883
4910
|
export {
|
|
4884
4911
|
ASSET_TYPE_FACTORY,
|
|
4885
4912
|
ASSET_TYPE_IBC,
|
|
@@ -4924,6 +4951,7 @@ export {
|
|
|
4924
4951
|
TESTNET_CHAIN_INFO_FALLBACK,
|
|
4925
4952
|
TOKEN_LOGO_PLACEHOLDER,
|
|
4926
4953
|
TTL_NO_EXPIRY,
|
|
4954
|
+
TestnetBanner,
|
|
4927
4955
|
Toaster,
|
|
4928
4956
|
TxStatus,
|
|
4929
4957
|
VALIDATION_ERRORS,
|