@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.js
CHANGED
@@ -1742,7 +1742,7 @@ var DataTable = React5.forwardRef((props, ref) => {
|
|
1742
1742
|
),
|
1743
1743
|
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react30.Tbody, { ...styles == null ? void 0 : styles.tableBody, children: table.getRowModel().rows.map((row, index) => {
|
1744
1744
|
const isDisabledRow = disabledRow && disabledRow(row.original);
|
1745
|
-
const isHighlightedRow = Object.keys(selectedRow != null ? selectedRow : {}).includes(row.id) || highlightedRow && highlightedRow(row.original);
|
1745
|
+
const isHighlightedRow = Object.keys(selectedRow != null ? selectedRow : {}).filter((key) => selectedRow == null ? void 0 : selectedRow[key]).includes(row.id) || highlightedRow && highlightedRow(row.original);
|
1746
1746
|
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
1747
1747
|
import_react30.Tr,
|
1748
1748
|
{
|
@@ -5010,6 +5010,7 @@ function SelectAsync({
|
|
5010
5010
|
...rest
|
5011
5011
|
}) {
|
5012
5012
|
const { colorMode } = (0, import_system8.useColorMode)();
|
5013
|
+
const { components } = rest;
|
5013
5014
|
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
5014
5015
|
import_react_select_async_paginate.AsyncPaginate,
|
5015
5016
|
{
|
@@ -5018,11 +5019,13 @@ function SelectAsync({
|
|
5018
5019
|
components: {
|
5019
5020
|
DropdownIndicator,
|
5020
5021
|
ClearIndicator,
|
5021
|
-
NoOptionsMessage
|
5022
|
+
NoOptionsMessage,
|
5023
|
+
...components
|
5022
5024
|
},
|
5023
5025
|
...rest,
|
5024
5026
|
styles: { ...selectStyles(colorMode, isError), ...styles },
|
5025
|
-
theme: themeSelect
|
5027
|
+
theme: themeSelect,
|
5028
|
+
...rest
|
5026
5029
|
}
|
5027
5030
|
);
|
5028
5031
|
}
|