@ctlyst.id/internal-ui 3.1.10 → 3.1.12

Sign up to get free protection for your applications and to get access to all the features.
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.200"
6354
+ backgroundColor: "neutral.100"
6355
6355
  }
6356
6356
  },
6357
6357
  '&[data-active="true"]': {
6358
6358
  td: {
6359
- backgroundColor: "neutral.100"
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
  }