@ctlyst.id/internal-ui 2.1.6 → 2.1.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,7 +22,6 @@ import { accordionAnatomy, alertAnatomy, checkboxAnatomy, inputAnatomy, popoverA
22
22
  import { createMultiStyleConfigHelpers, defineStyle as defineStyle$1, cssVar, defineStyleConfig } from '@chakra-ui/styled-system';
23
23
  import { mode, calc, cssVar as cssVar$1 } from '@chakra-ui/theme-tools';
24
24
  import axios from 'axios';
25
- import 'react-toastify/dist/ReactToastify.css';
26
25
  import { ToastContainer } from 'react-toastify';
27
26
 
28
27
  /* eslint-disable react/require-default-props */
@@ -1681,7 +1680,13 @@ const Datepicker = ({
1681
1680
  "data-test-id": "bcpJJyCP0z_RIAGZXDU6s",
1682
1681
  onClick: onClear,
1683
1682
  cursor: "pointer"
1684
- }))), !isError ? /*#__PURE__*/React__default.createElement(FormHelperText, null, helperText) : /*#__PURE__*/React__default.createElement(FormErrorMessage, null, error));
1683
+ }))), !isError ? /*#__PURE__*/React__default.createElement(FormHelperText, {
1684
+ fontSize: "text.xs",
1685
+ mt: 1
1686
+ }, helperText) : /*#__PURE__*/React__default.createElement(FormErrorMessage, {
1687
+ fontSize: "text.xs",
1688
+ mt: 1
1689
+ }, error));
1685
1690
  };
1686
1691
  Datepicker.defaultProps = {
1687
1692
  id: undefined,
@@ -4797,26 +4802,6 @@ const getTheme = foundations => {
4797
4802
  components: {
4798
4803
  ...components
4799
4804
  },
4800
- styles: {
4801
- global: {
4802
- '&::-webkit-scrollbar': {
4803
- width: '10px',
4804
- height: '10px'
4805
- },
4806
- '&::-webkit-scrollbar-track': {
4807
- background: 'white'
4808
- },
4809
- '&::-webkit-scrollbar-thumb': {
4810
- background: 'neutral.400',
4811
- borderRadius: '24px',
4812
- border: '2px solid white'
4813
- },
4814
- body: {
4815
- fontSize: 'text.sm',
4816
- color: 'black.high'
4817
- }
4818
- }
4819
- },
4820
4805
  config
4821
4806
  });
4822
4807
  };