@ctlyst.id/internal-ui 2.0.24 → 2.0.26

Sign up to get free protection for your applications and to get access to all the features.
@@ -677,15 +677,9 @@ const DataTable = /*#__PURE__*/forwardRef$2((props, ref) => {
677
677
  textTransform: "capitalize",
678
678
  userSelect: "none",
679
679
  align: "center",
680
- justifyContent: "space-between"
681
- }, /*#__PURE__*/createElement(Text, {
682
- fontSize: "text.sm",
683
- fontWeight: 400,
684
- lineHeight: "18px",
685
- color: useColorModeValue('neutral.900', 'white')
686
- }, flexRender(header.column.columnDef.header, header.getContext())), /*#__PURE__*/createElement(Box, {
680
+ gap: 2
681
+ }, /*#__PURE__*/createElement(Text, null, flexRender(header.column.columnDef.header, header.getContext())), /*#__PURE__*/createElement(Box, {
687
682
  as: "span",
688
- pl: "2",
689
683
  cursor: header.column.getCanSort() ? 'pointer' : 'default',
690
684
  "data-test-id": `CT_Container_SortingIcon_${header.id}`,
691
685
  onClick: header.column.getToggleSortingHandler()
@@ -4472,11 +4466,14 @@ const baseStyle$6 = /*#__PURE__*/definePartsStyle$6({
4472
4466
  },
4473
4467
  th: {
4474
4468
  fontFamily: 'heading',
4475
- fontWeight: 'bold',
4469
+ fontWeight: 'semibold',
4476
4470
  textTransform: 'uppercase',
4477
- letterSpacing: 'wider',
4471
+ letterSpacing: 'normal',
4478
4472
  textAlign: 'start',
4479
- height: '50px'
4473
+ height: '50px',
4474
+ color: /*#__PURE__*/mode('neutral.900', 'white'),
4475
+ fontSize: 'text.sm',
4476
+ lineHeight: '18px'
4480
4477
  },
4481
4478
  td: {
4482
4479
  textAlign: 'start',
@@ -4597,12 +4594,24 @@ const sizes$3 = {
4597
4594
  px: '2',
4598
4595
  py: '4',
4599
4596
  lineHeight: '4',
4600
- fontSize: 'xs'
4597
+ fontSize: 'xs',
4598
+ '&:first-of-type': {
4599
+ pl: 6
4600
+ },
4601
+ '&:last-of-type': {
4602
+ pr: 6
4603
+ }
4601
4604
  },
4602
4605
  td: {
4603
4606
  px: '2',
4604
4607
  py: '4',
4605
- lineHeight: '5'
4608
+ lineHeight: '5',
4609
+ '&:first-of-type': {
4610
+ pl: 6
4611
+ },
4612
+ '&:last-of-type': {
4613
+ pr: 6
4614
+ }
4606
4615
  },
4607
4616
  caption: {
4608
4617
  px: '6',