@ctlyst.id/internal-ui 3.1.11 → 3.1.12

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -1411,7 +1411,7 @@ var DataTable = React5.forwardRef((props, ref) => {
1411
1411
  React5.useImperativeHandle(ref, () => ({
1412
1412
  toggleAllRowsSelected
1413
1413
  }));
1414
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Box, { overflowX: "auto", position: "relative", maxW: "100%", w: "full", ...container, children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_react28.Table, { ...styles == null ? void 0 : styles.table, "data-loading": "true", children: [
1414
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Box, { overflowX: "auto", position: "relative", px: 4, maxW: "100%", w: "full", ...container, children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_react28.Table, { ...styles == null ? void 0 : styles.table, "data-loading": "true", children: [
1415
1415
  /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Thead, { ...(styles == null ? void 0 : styles.tableHead, headerSticky ? { position: "sticky", top: 0, bg: "white", zIndex: 1 } : {}), children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Tr, { mx: "2", ...styles == null ? void 0 : styles.tableRow, children: headerGroup.headers.map((header, index) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1416
1416
  import_react28.Th,
1417
1417
  {
@@ -6445,24 +6445,12 @@ var baseStyle11 = definePartsStyle10({
6445
6445
  color: "black.high",
6446
6446
  fontSize: "text.sm",
6447
6447
  lineHeight: "18px",
6448
- backgroundColor: "neutral.50",
6449
- "&:first-of-type": {
6450
- pl: 6
6451
- },
6452
- "&:last-of-type": {
6453
- pr: 6
6454
- }
6448
+ backgroundColor: "neutral.50"
6455
6449
  },
6456
6450
  td: {
6457
6451
  // backgroundColor: 'neutral.50',
6458
6452
  textAlign: "start",
6459
6453
  height: "56px",
6460
- "&:first-of-type": {
6461
- pl: 6
6462
- },
6463
- "&:last-of-type": {
6464
- pr: 6
6465
- },
6466
6454
  _disabled: {
6467
6455
  opacity: 0.5
6468
6456
  }