@ctlyst.id/internal-ui 3.1.10 → 3.1.12
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.js +4 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1074,7 +1074,7 @@ var DataTable = React5.forwardRef((props, ref) => {
|
|
|
1074
1074
|
React5.useImperativeHandle(ref, () => ({
|
|
1075
1075
|
toggleAllRowsSelected
|
|
1076
1076
|
}));
|
|
1077
|
-
return /* @__PURE__ */ jsx24(Box11, { overflowX: "auto", position: "relative", maxW: "100%", w: "full", ...container, children: isLoading ? /* @__PURE__ */ jsxs8(Table, { ...styles == null ? void 0 : styles.table, "data-loading": "true", children: [
|
|
1077
|
+
return /* @__PURE__ */ jsx24(Box11, { overflowX: "auto", position: "relative", px: 4, maxW: "100%", w: "full", ...container, children: isLoading ? /* @__PURE__ */ jsxs8(Table, { ...styles == null ? void 0 : styles.table, "data-loading": "true", children: [
|
|
1078
1078
|
/* @__PURE__ */ jsx24(Thead, { ...(styles == null ? void 0 : styles.tableHead, headerSticky ? { position: "sticky", top: 0, bg: "white", zIndex: 1 } : {}), children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx24(Tr, { mx: "2", ...styles == null ? void 0 : styles.tableRow, children: headerGroup.headers.map((header, index) => /* @__PURE__ */ jsx24(
|
|
1079
1079
|
Th,
|
|
1080
1080
|
{
|
|
@@ -6351,12 +6351,12 @@ var baseStyle11 = definePartsStyle10({
|
|
|
6351
6351
|
cursor: "pointer",
|
|
6352
6352
|
_hover: {
|
|
6353
6353
|
td: {
|
|
6354
|
-
backgroundColor: "neutral.
|
|
6354
|
+
backgroundColor: "neutral.100"
|
|
6355
6355
|
}
|
|
6356
6356
|
},
|
|
6357
6357
|
'&[data-active="true"]': {
|
|
6358
6358
|
td: {
|
|
6359
|
-
backgroundColor: "neutral.
|
|
6359
|
+
backgroundColor: "neutral.200"
|
|
6360
6360
|
}
|
|
6361
6361
|
}
|
|
6362
6362
|
}
|
|
@@ -6373,24 +6373,12 @@ var baseStyle11 = definePartsStyle10({
|
|
|
6373
6373
|
color: "black.high",
|
|
6374
6374
|
fontSize: "text.sm",
|
|
6375
6375
|
lineHeight: "18px",
|
|
6376
|
-
backgroundColor: "neutral.50"
|
|
6377
|
-
"&:first-of-type": {
|
|
6378
|
-
pl: 6
|
|
6379
|
-
},
|
|
6380
|
-
"&:last-of-type": {
|
|
6381
|
-
pr: 6
|
|
6382
|
-
}
|
|
6376
|
+
backgroundColor: "neutral.50"
|
|
6383
6377
|
},
|
|
6384
6378
|
td: {
|
|
6385
6379
|
// backgroundColor: 'neutral.50',
|
|
6386
6380
|
textAlign: "start",
|
|
6387
6381
|
height: "56px",
|
|
6388
|
-
"&:first-of-type": {
|
|
6389
|
-
pl: 6
|
|
6390
|
-
},
|
|
6391
|
-
"&:last-of-type": {
|
|
6392
|
-
pr: 6
|
|
6393
|
-
},
|
|
6394
6382
|
_disabled: {
|
|
6395
6383
|
opacity: 0.5
|
|
6396
6384
|
}
|