@ctlyst.id/internal-ui 2.1.6 → 2.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/toast/components/toast.d.ts +0 -1
- package/dist/internal-ui.cjs.development.js +7 -22
- package/dist/internal-ui.cjs.development.js.map +1 -1
- package/dist/internal-ui.cjs.production.min.js +3 -3
- package/dist/internal-ui.cjs.production.min.js.map +1 -1
- package/dist/internal-ui.esm.js +7 -22
- package/dist/internal-ui.esm.js.map +1 -1
- package/dist/provider/__stories__/provider.stories.d.ts +2 -1
- package/dist/provider/components/provider.d.ts +0 -1
- package/package.json +2 -2
package/dist/internal-ui.esm.js
CHANGED
|
@@ -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,
|
|
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
|
};
|