@ctlyst.id/internal-ui 2.0.25 → 2.0.26

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,6 +12,9 @@ declare const tableTheme: {
12
12
  letterSpacing: string;
13
13
  textAlign: string;
14
14
  height: string;
15
+ color: (props: Record<string, any> | import("@chakra-ui/styled-system").StyleFunctionProps) => string;
16
+ fontSize: string;
17
+ lineHeight: string;
15
18
  };
16
19
  td: {
17
20
  textAlign: string;
@@ -683,15 +683,9 @@ const DataTable = /*#__PURE__*/React.forwardRef((props, ref) => {
683
683
  textTransform: "capitalize",
684
684
  userSelect: "none",
685
685
  align: "center",
686
- justifyContent: "space-between"
687
- }, /*#__PURE__*/React.createElement(react.Text, {
688
- fontSize: "text.sm",
689
- fontWeight: 400,
690
- lineHeight: "18px",
691
- color: react.useColorModeValue('neutral.900', 'white')
692
- }, reactTable.flexRender(header.column.columnDef.header, header.getContext())), /*#__PURE__*/React.createElement(react.Box, {
686
+ gap: 2
687
+ }, /*#__PURE__*/React.createElement(react.Text, null, reactTable.flexRender(header.column.columnDef.header, header.getContext())), /*#__PURE__*/React.createElement(react.Box, {
693
688
  as: "span",
694
- pl: "2",
695
689
  cursor: header.column.getCanSort() ? 'pointer' : 'default',
696
690
  "data-test-id": `CT_Container_SortingIcon_${header.id}`,
697
691
  onClick: header.column.getToggleSortingHandler()
@@ -4478,11 +4472,14 @@ const baseStyle$6 = /*#__PURE__*/definePartsStyle$6({
4478
4472
  },
4479
4473
  th: {
4480
4474
  fontFamily: 'heading',
4481
- fontWeight: 'bold',
4475
+ fontWeight: 'semibold',
4482
4476
  textTransform: 'uppercase',
4483
- letterSpacing: 'wider',
4477
+ letterSpacing: 'normal',
4484
4478
  textAlign: 'start',
4485
- height: '50px'
4479
+ height: '50px',
4480
+ color: /*#__PURE__*/themeTools.mode('neutral.900', 'white'),
4481
+ fontSize: 'text.sm',
4482
+ lineHeight: '18px'
4486
4483
  },
4487
4484
  td: {
4488
4485
  textAlign: 'start',