@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.
@@ -1,4 +1,3 @@
1
- import 'react-toastify/dist/ReactToastify.css';
2
1
  import type { ToastOptions } from 'react-toastify';
3
2
  import type { ToastIcon } from 'react-toastify/dist/types';
4
3
  interface CustomToastOptions extends Omit<ToastOptions, 'icon'> {
@@ -28,7 +28,6 @@ var anatomy = require('@chakra-ui/anatomy');
28
28
  var styledSystem = require('@chakra-ui/styled-system');
29
29
  var themeTools = require('@chakra-ui/theme-tools');
30
30
  var axios = _interopDefault(require('axios'));
31
- require('react-toastify/dist/ReactToastify.css');
32
31
  var reactToastify = require('react-toastify');
33
32
 
34
33
  /* eslint-disable react/require-default-props */
@@ -1687,7 +1686,13 @@ const Datepicker = ({
1687
1686
  "data-test-id": "bcpJJyCP0z_RIAGZXDU6s",
1688
1687
  onClick: onClear,
1689
1688
  cursor: "pointer"
1690
- }))), !isError ? /*#__PURE__*/React__default.createElement(react.FormHelperText, null, helperText) : /*#__PURE__*/React__default.createElement(react.FormErrorMessage, null, error));
1689
+ }))), !isError ? /*#__PURE__*/React__default.createElement(react.FormHelperText, {
1690
+ fontSize: "text.xs",
1691
+ mt: 1
1692
+ }, helperText) : /*#__PURE__*/React__default.createElement(react.FormErrorMessage, {
1693
+ fontSize: "text.xs",
1694
+ mt: 1
1695
+ }, error));
1691
1696
  };
1692
1697
  Datepicker.defaultProps = {
1693
1698
  id: undefined,
@@ -4803,26 +4808,6 @@ const getTheme = foundations => {
4803
4808
  components: {
4804
4809
  ...components
4805
4810
  },
4806
- styles: {
4807
- global: {
4808
- '&::-webkit-scrollbar': {
4809
- width: '10px',
4810
- height: '10px'
4811
- },
4812
- '&::-webkit-scrollbar-track': {
4813
- background: 'white'
4814
- },
4815
- '&::-webkit-scrollbar-thumb': {
4816
- background: 'neutral.400',
4817
- borderRadius: '24px',
4818
- border: '2px solid white'
4819
- },
4820
- body: {
4821
- fontSize: 'text.sm',
4822
- color: 'black.high'
4823
- }
4824
- }
4825
- },
4826
4811
  config
4827
4812
  });
4828
4813
  };