react-better-html 1.1.289 → 1.1.290
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 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1620,6 +1620,8 @@ var PageHeaderComponent = forwardRef5(function PageHeader({
|
|
|
1620
1620
|
textAlign,
|
|
1621
1621
|
rightElement,
|
|
1622
1622
|
lightMode,
|
|
1623
|
+
width,
|
|
1624
|
+
flex,
|
|
1623
1625
|
marginBottom
|
|
1624
1626
|
}, ref) {
|
|
1625
1627
|
const theme2 = useTheme6();
|
|
@@ -1630,6 +1632,8 @@ var PageHeaderComponent = forwardRef5(function PageHeader({
|
|
|
1630
1632
|
return /* @__PURE__ */ jsxs2(
|
|
1631
1633
|
Div_default.row,
|
|
1632
1634
|
{
|
|
1635
|
+
width,
|
|
1636
|
+
flex,
|
|
1633
1637
|
alignItems: "center",
|
|
1634
1638
|
gap: imageGap ?? theme2.styles.space,
|
|
1635
1639
|
marginBottom: marginBottom ?? theme2.styles.space * 2,
|
|
@@ -2155,6 +2159,7 @@ var ButtonComponent = function Button({
|
|
|
2155
2159
|
value,
|
|
2156
2160
|
download,
|
|
2157
2161
|
target,
|
|
2162
|
+
gap,
|
|
2158
2163
|
icon,
|
|
2159
2164
|
iconPosition = "left",
|
|
2160
2165
|
iconColor,
|
|
@@ -2246,7 +2251,7 @@ var ButtonComponent = function Button({
|
|
|
2246
2251
|
height: href ? "100%" : void 0,
|
|
2247
2252
|
alignItems: "center",
|
|
2248
2253
|
justifyContent: "center",
|
|
2249
|
-
gap:
|
|
2254
|
+
gap: gap ?? (theme2.styles.gap + theme2.styles.space) / 2,
|
|
2250
2255
|
pointerEvents: "none",
|
|
2251
2256
|
opacity: isLoadingElement ? 0 : 1,
|
|
2252
2257
|
transition: theme2.styles.transition,
|
|
@@ -2331,13 +2336,16 @@ ButtonComponent.text = function Text3(buttonProps) {
|
|
|
2331
2336
|
return /* @__PURE__ */ jsx8(
|
|
2332
2337
|
ButtonComponent,
|
|
2333
2338
|
{
|
|
2339
|
+
fontWeight: 700,
|
|
2334
2340
|
color: readyColor,
|
|
2335
2341
|
colorHover: lightenColor(readyColor, 0.3),
|
|
2336
2342
|
backgroundColor: "transparent",
|
|
2337
2343
|
backgroundColorHover: "transparent",
|
|
2338
2344
|
borderRadius: 0,
|
|
2339
2345
|
loaderSize: 12,
|
|
2340
|
-
|
|
2346
|
+
gap: theme2.styles.gap,
|
|
2347
|
+
paddingInline: theme2.styles.gap,
|
|
2348
|
+
paddingBlock: theme2.styles.gap / 2,
|
|
2341
2349
|
...fromSubcomponentProps,
|
|
2342
2350
|
...props
|
|
2343
2351
|
}
|