react-better-html 1.1.178 → 1.1.180
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 +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3472,6 +3472,7 @@ var ModalComponent = forwardRef7(function Modal({
|
|
|
3472
3472
|
description,
|
|
3473
3473
|
descriptionColor,
|
|
3474
3474
|
headerBackgroundColor,
|
|
3475
|
+
backgroundColor,
|
|
3475
3476
|
name,
|
|
3476
3477
|
overflow,
|
|
3477
3478
|
withoutCloseButton,
|
|
@@ -3559,7 +3560,7 @@ var ModalComponent = forwardRef7(function Modal({
|
|
|
3559
3560
|
position: "relative",
|
|
3560
3561
|
width: "100%",
|
|
3561
3562
|
minHeight: 32 + theme2.styles.space * 2,
|
|
3562
|
-
backgroundColor: theme2.colors.backgroundBase,
|
|
3563
|
+
backgroundColor: backgroundColor ?? theme2.colors.backgroundBase,
|
|
3563
3564
|
borderRadius: theme2.styles.borderRadius * 2,
|
|
3564
3565
|
padding: !title ? theme2.styles.space : void 0,
|
|
3565
3566
|
overflow,
|
|
@@ -3611,7 +3612,7 @@ var ModalComponent = forwardRef7(function Modal({
|
|
|
3611
3612
|
}
|
|
3612
3613
|
),
|
|
3613
3614
|
/* @__PURE__ */ jsx12(Divider_default.horizontal, {})
|
|
3614
|
-
] }) : /* @__PURE__ */ jsx12(Fragment2, { children: !withoutCloseButton && /* @__PURE__ */ jsx12(Div_default, { position: "absolute", top: theme2.styles.space, right: theme2.styles.space, zIndex: 10, children: /* @__PURE__ */ jsx12(Button_default.icon, { icon: "XMark", onClick: onClickClose }) }) }),
|
|
3615
|
+
] }) : /* @__PURE__ */ jsx12(Fragment2, { children: !withoutCloseButton && /* @__PURE__ */ jsx12(Div_default, { position: "absolute", top: theme2.styles.space, right: theme2.styles.space, zIndex: 10, children: /* @__PURE__ */ jsx12(Button_default.icon, { icon: "XMark", iconColor: titleColor, onClick: onClickClose }) }) }),
|
|
3615
3616
|
/* @__PURE__ */ jsx12(Div_default, { padding: title ? theme2.styles.space : void 0, children })
|
|
3616
3617
|
]
|
|
3617
3618
|
}
|
|
@@ -7854,8 +7855,8 @@ var TableComponent = forwardRef15(function Table({
|
|
|
7854
7855
|
});
|
|
7855
7856
|
const [openedFilterColumnIndex, setOpenedFilterColumnIndex] = useState9();
|
|
7856
7857
|
const [filterListSelectedItems, setFilterListSelectedItems] = useState9();
|
|
7857
|
-
const openedFilterData = openedFilterColumnIndex ? filterData[openedFilterColumnIndex] : void 0;
|
|
7858
|
-
const openedFilterColumn = openedFilterColumnIndex ? readyColumns[openedFilterColumnIndex] : void 0;
|
|
7858
|
+
const openedFilterData = openedFilterColumnIndex !== void 0 ? filterData[openedFilterColumnIndex] : void 0;
|
|
7859
|
+
const openedFilterColumn = openedFilterColumnIndex !== void 0 ? readyColumns[openedFilterColumnIndex] : void 0;
|
|
7859
7860
|
const filterForm = useForm({
|
|
7860
7861
|
defaultValues: {
|
|
7861
7862
|
min: void 0,
|