@ctlyst.id/internal-ui 5.3.1 → 5.3.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -1394,7 +1394,7 @@ var DataTable = React5.forwardRef((props, ref) => {
|
|
1394
1394
|
),
|
1395
1395
|
/* @__PURE__ */ jsx24(Tbody, { ...styles == null ? void 0 : styles.tableBody, children: table.getRowModel().rows.map((row, index) => {
|
1396
1396
|
const isDisabledRow = disabledRow && disabledRow(row.original);
|
1397
|
-
const isHighlightedRow = Object.keys(selectedRow != null ? selectedRow : {}).includes(row.id) || highlightedRow && highlightedRow(row.original);
|
1397
|
+
const isHighlightedRow = Object.keys(selectedRow != null ? selectedRow : {}).filter((key) => selectedRow == null ? void 0 : selectedRow[key]).includes(row.id) || highlightedRow && highlightedRow(row.original);
|
1398
1398
|
return /* @__PURE__ */ jsx24(
|
1399
1399
|
Tr,
|
1400
1400
|
{
|
@@ -4805,6 +4805,7 @@ function SelectAsync({
|
|
4805
4805
|
...rest
|
4806
4806
|
}) {
|
4807
4807
|
const { colorMode } = useColorMode4();
|
4808
|
+
const { components } = rest;
|
4808
4809
|
return /* @__PURE__ */ jsx54(
|
4809
4810
|
AsyncPaginate,
|
4810
4811
|
{
|
@@ -4813,11 +4814,13 @@ function SelectAsync({
|
|
4813
4814
|
components: {
|
4814
4815
|
DropdownIndicator,
|
4815
4816
|
ClearIndicator,
|
4816
|
-
NoOptionsMessage
|
4817
|
+
NoOptionsMessage,
|
4818
|
+
...components
|
4817
4819
|
},
|
4818
4820
|
...rest,
|
4819
4821
|
styles: { ...selectStyles(colorMode, isError), ...styles },
|
4820
|
-
theme: themeSelect
|
4822
|
+
theme: themeSelect,
|
4823
|
+
...rest
|
4821
4824
|
}
|
4822
4825
|
);
|
4823
4826
|
}
|