@ctlyst.id/internal-ui 2.0.25 → 2.0.27

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,4 +4,4 @@ export { default as InputField } from './components/input-field';
4
4
  export * from './components/input-field';
5
5
  export { default as TextareaField } from './components/textarea';
6
6
  export * from './components/textarea';
7
- export { FormControl, FormControlProps, FormLabel, FormLabelProps, InputGroup, InputGroupProps, InputLeftAddon, InputLeftAddonProps, InputLeftElement, InputLeftElementProps, InputProps, InputRightAddon, InputRightAddonProps, InputRightElement, InputRightElementProps, RequiredIndicator, RequiredIndicatorProps, } from '@chakra-ui/react';
7
+ export { FormControl, FormControlProps, FormErrorMessage, FormHelperText, FormLabel, FormLabelProps, InputGroup, InputGroupProps, InputLeftAddon, InputLeftAddonProps, InputLeftElement, InputLeftElementProps, InputProps, InputRightAddon, InputRightAddonProps, InputRightElement, InputRightElementProps, RequiredIndicator, RequiredIndicatorProps, } from '@chakra-ui/react';
@@ -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',
@@ -5006,6 +5003,18 @@ Object.defineProperty(exports, 'FormControl', {
5006
5003
  return react.FormControl;
5007
5004
  }
5008
5005
  });
5006
+ Object.defineProperty(exports, 'FormErrorMessage', {
5007
+ enumerable: true,
5008
+ get: function () {
5009
+ return react.FormErrorMessage;
5010
+ }
5011
+ });
5012
+ Object.defineProperty(exports, 'FormHelperText', {
5013
+ enumerable: true,
5014
+ get: function () {
5015
+ return react.FormHelperText;
5016
+ }
5017
+ });
5009
5018
  Object.defineProperty(exports, 'FormLabel', {
5010
5019
  enumerable: true,
5011
5020
  get: function () {