react-better-html 1.1.85 → 1.1.87
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 +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2194,8 +2194,8 @@ var DivComponent = forwardRef(function Div({ value, as, isTabAccessed, onClickWi
|
|
|
2194
2194
|
}
|
|
2195
2195
|
);
|
|
2196
2196
|
});
|
|
2197
|
-
DivComponent.row = forwardRef(function Row({
|
|
2198
|
-
const reverseSuffix =
|
|
2197
|
+
DivComponent.row = forwardRef(function Row({ flexReverse, invertFlexDirection, ...props }, ref) {
|
|
2198
|
+
const reverseSuffix = flexReverse ? "-reverse" : "";
|
|
2199
2199
|
return /* @__PURE__ */ jsx2(
|
|
2200
2200
|
DivComponent,
|
|
2201
2201
|
{
|
|
@@ -2206,13 +2206,13 @@ DivComponent.row = forwardRef(function Row({ reverse, invertFlexDirection, ...pr
|
|
|
2206
2206
|
}
|
|
2207
2207
|
);
|
|
2208
2208
|
});
|
|
2209
|
-
DivComponent.column = forwardRef(function Column({
|
|
2210
|
-
const reverseSuffix =
|
|
2209
|
+
DivComponent.column = forwardRef(function Column({ flexReverse, invertFlexDirection, ...props }, ref) {
|
|
2210
|
+
const reverseSuffix = flexReverse ? "-reverse" : "";
|
|
2211
2211
|
return /* @__PURE__ */ jsx2(
|
|
2212
2212
|
DivComponent,
|
|
2213
2213
|
{
|
|
2214
2214
|
display: "flex",
|
|
2215
|
-
flexDirection: (invertFlexDirection ? "
|
|
2215
|
+
flexDirection: (invertFlexDirection ? "row" : "column") + reverseSuffix,
|
|
2216
2216
|
ref,
|
|
2217
2217
|
...props
|
|
2218
2218
|
}
|