dhre-ui-kit 0.0.78 → 0.0.79
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/package.json
CHANGED
|
@@ -37,7 +37,7 @@ const CustomProgressBar: React.FC<CustomProgressBarProps> = ({
|
|
|
37
37
|
setProgress,
|
|
38
38
|
increment = 1, // Default increment to 1
|
|
39
39
|
interval = 100, // Default interval to 100ms
|
|
40
|
-
percentageText
|
|
40
|
+
percentageText,
|
|
41
41
|
}) => {
|
|
42
42
|
useEffect(() => {
|
|
43
43
|
const progressInterval = setInterval(() => {
|
|
@@ -59,12 +59,13 @@ const CustomProgressBar: React.FC<CustomProgressBarProps> = ({
|
|
|
59
59
|
variant="B1_REGULAR"
|
|
60
60
|
textColor="CONTENT_PRIMARY"
|
|
61
61
|
/>
|
|
62
|
-
{percentageText ?
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
62
|
+
{percentageText ? (
|
|
63
|
+
<CustomText
|
|
64
|
+
text={percentageText}
|
|
65
|
+
variant="L3_REGULAR"
|
|
66
|
+
textColor="CONTENT_PRIMARY"
|
|
67
|
+
/>
|
|
68
|
+
) : null}
|
|
68
69
|
</View>
|
|
69
70
|
);
|
|
70
71
|
};
|
|
@@ -108,8 +109,8 @@ const CustomProgressBar: React.FC<CustomProgressBarProps> = ({
|
|
|
108
109
|
const styles = StyleSheet.create({
|
|
109
110
|
flexDirection: {
|
|
110
111
|
flexDirection: 'column',
|
|
111
|
-
justifyContent:'center',
|
|
112
|
-
alignItems:'center'
|
|
112
|
+
justifyContent: 'center',
|
|
113
|
+
alignItems: 'center',
|
|
113
114
|
},
|
|
114
115
|
});
|
|
115
116
|
|
|
@@ -3,8 +3,8 @@ import React from 'react';
|
|
|
3
3
|
import {CircleTick} from '../../assets';
|
|
4
4
|
import {styles} from './styles';
|
|
5
5
|
import {IData, IProps, Status} from './stepper.interface';
|
|
6
|
-
import {DHRE_COLORS_TEXT} from '
|
|
7
|
-
import {FontStyle} from '
|
|
6
|
+
import {DHRE_COLORS_TEXT} from '../../theme/colors';
|
|
7
|
+
import {FontStyle} from '../../utils/appEnum';
|
|
8
8
|
import CustomTypography from '../customTypography';
|
|
9
9
|
|
|
10
10
|
const Stepper = ({
|