@orderly.network/ui-scaffold 3.1.3-alpha.0 → 3.1.3
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 +13 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +12 -12
package/dist/index.mjs
CHANGED
|
@@ -1518,6 +1518,10 @@ var Footer = (props) => {
|
|
|
1518
1518
|
const openUrl = (url) => {
|
|
1519
1519
|
window.open(url, "_blank");
|
|
1520
1520
|
};
|
|
1521
|
+
const poweredBy = props.poweredBy === true ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1522
|
+
/* @__PURE__ */ jsx(Text, { intensity: 54, size: "2xs", children: t("scaffold.footer.poweredBy") }),
|
|
1523
|
+
/* @__PURE__ */ jsx(OrderlyTextIcon, {})
|
|
1524
|
+
] }) : props.poweredBy;
|
|
1521
1525
|
return /* @__PURE__ */ jsxs(
|
|
1522
1526
|
Flex,
|
|
1523
1527
|
{
|
|
@@ -1597,16 +1601,13 @@ var Footer = (props) => {
|
|
|
1597
1601
|
] })
|
|
1598
1602
|
] })
|
|
1599
1603
|
] }),
|
|
1600
|
-
/* @__PURE__ */
|
|
1604
|
+
poweredBy && /* @__PURE__ */ jsx(
|
|
1601
1605
|
Flex,
|
|
1602
1606
|
{
|
|
1603
1607
|
direction: "row",
|
|
1604
1608
|
gap: 1,
|
|
1605
1609
|
className: "oui-scaffold-footer-powered-by",
|
|
1606
|
-
children:
|
|
1607
|
-
/* @__PURE__ */ jsx(Text, { intensity: 54, size: "2xs", children: t("scaffold.footer.poweredBy") }),
|
|
1608
|
-
/* @__PURE__ */ jsx(OrderlyTextIcon, {})
|
|
1609
|
-
]
|
|
1610
|
+
children: poweredBy
|
|
1610
1611
|
}
|
|
1611
1612
|
)
|
|
1612
1613
|
]
|