react-better-html 1.1.223 → 1.1.224
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/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1569,7 +1569,7 @@ var PageHeaderComponent = forwardRef5(function PageHeader({
|
|
|
1569
1569
|
justifyContent: textAlign === "center" ? "center" : textAlign === "right" ? "flex-end" : void 0,
|
|
1570
1570
|
gap: theme2.styles.space,
|
|
1571
1571
|
children: [
|
|
1572
|
-
/* @__PURE__ */ jsx5(
|
|
1572
|
+
typeof title === "string" ? /* @__PURE__ */ jsx5(
|
|
1573
1573
|
Text_default,
|
|
1574
1574
|
{
|
|
1575
1575
|
as: titleAs,
|
|
@@ -1577,12 +1577,12 @@ var PageHeaderComponent = forwardRef5(function PageHeader({
|
|
|
1577
1577
|
color: titleColor ?? (lightMode ? theme2.colors.base : theme2.colors.textPrimary),
|
|
1578
1578
|
children: title
|
|
1579
1579
|
}
|
|
1580
|
-
),
|
|
1580
|
+
) : title,
|
|
1581
1581
|
titleRightElement
|
|
1582
1582
|
]
|
|
1583
1583
|
}
|
|
1584
1584
|
),
|
|
1585
|
-
description && /* @__PURE__ */ jsx5(
|
|
1585
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx5(
|
|
1586
1586
|
Text_default,
|
|
1587
1587
|
{
|
|
1588
1588
|
maxWidth: !mediaQuery.size600 ? app.contentMaxWidth * 0.6 : void 0,
|
|
@@ -1591,7 +1591,7 @@ var PageHeaderComponent = forwardRef5(function PageHeader({
|
|
|
1591
1591
|
opacity: lightMode ? 0.7 : void 0,
|
|
1592
1592
|
children: description
|
|
1593
1593
|
}
|
|
1594
|
-
)
|
|
1594
|
+
) : description)
|
|
1595
1595
|
]
|
|
1596
1596
|
}
|
|
1597
1597
|
),
|
|
@@ -1694,8 +1694,11 @@ DivComponent.grid = forwardRef6(function Grid(props, ref) {
|
|
|
1694
1694
|
return /* @__PURE__ */ jsx6(DivComponent, { display: "grid", ref, ...props });
|
|
1695
1695
|
});
|
|
1696
1696
|
DivComponent.box = forwardRef6(function Box({
|
|
1697
|
+
icon,
|
|
1698
|
+
image,
|
|
1697
1699
|
imageUrl,
|
|
1698
1700
|
imageSize,
|
|
1701
|
+
imageAzProfileImage,
|
|
1699
1702
|
title,
|
|
1700
1703
|
titleAs,
|
|
1701
1704
|
titleColor,
|
|
@@ -1744,8 +1747,11 @@ DivComponent.box = forwardRef6(function Box({
|
|
|
1744
1747
|
/* @__PURE__ */ jsx6(
|
|
1745
1748
|
PageHeader_default,
|
|
1746
1749
|
{
|
|
1750
|
+
icon,
|
|
1751
|
+
image,
|
|
1747
1752
|
imageUrl,
|
|
1748
1753
|
imageSize,
|
|
1754
|
+
imageAzProfileImage,
|
|
1749
1755
|
title,
|
|
1750
1756
|
titleAs,
|
|
1751
1757
|
titleColor,
|