dhre-ui-kit 0.0.345 → 0.0.347
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/lib/index.js +4 -5
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +4 -5
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -779,11 +779,13 @@ const createStyles$3 = (theme) => {
|
|
|
779
779
|
backdrop: {
|
|
780
780
|
flex: 1,
|
|
781
781
|
justifyContent: "center",
|
|
782
|
-
alignItems: "center"
|
|
782
|
+
alignItems: "center",
|
|
783
|
+
backgroundColor: "rgba(0, 0, 0, 0.3)"
|
|
783
784
|
},
|
|
784
785
|
box: {
|
|
785
786
|
width: 148,
|
|
786
787
|
height: 187,
|
|
788
|
+
backgroundColor: theme.SURFACE_PRIMARY,
|
|
787
789
|
borderRadius: 16,
|
|
788
790
|
justifyContent: "center",
|
|
789
791
|
alignItems: "center",
|
|
@@ -2013,10 +2015,7 @@ const LOADER_LIGHT = {
|
|
|
2013
2015
|
markers: []
|
|
2014
2016
|
};
|
|
2015
2017
|
|
|
2016
|
-
const CustomLoader = ({
|
|
2017
|
-
loading,
|
|
2018
|
-
loadingText = "Loading..."
|
|
2019
|
-
}) => {
|
|
2018
|
+
const CustomLoader = ({ loading }) => {
|
|
2020
2019
|
const { theme, mode } = useTheme();
|
|
2021
2020
|
const styles = createStyles$3(theme);
|
|
2022
2021
|
if (!loading) return null;
|