dhre-ui-kit 0.0.363 → 0.0.365
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.d.ts +3 -0
- package/lib/index.js +6 -3
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +6 -3
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -747,7 +747,7 @@ const createStyles$3 = (theme) => {
|
|
|
747
747
|
backgroundColor: "rgba(0, 0, 0, 0.3)"
|
|
748
748
|
},
|
|
749
749
|
box: {
|
|
750
|
-
width: horizontalScale(
|
|
750
|
+
width: horizontalScale(100),
|
|
751
751
|
paddingVertical: 24,
|
|
752
752
|
backgroundColor: theme.SURFACE_PRIMARY,
|
|
753
753
|
borderRadius: 16,
|
|
@@ -2331,13 +2331,16 @@ const DEFAULT_LOADER = {
|
|
|
2331
2331
|
const CustomLoader = ({
|
|
2332
2332
|
loading,
|
|
2333
2333
|
brandName = "DP",
|
|
2334
|
-
loadingText
|
|
2334
|
+
loadingText,
|
|
2335
|
+
customeContainer,
|
|
2336
|
+
customeBackDrop,
|
|
2337
|
+
customeBox
|
|
2335
2338
|
}) => {
|
|
2336
2339
|
const { theme, mode } = useTheme();
|
|
2337
2340
|
const styles = createStyles$3(theme);
|
|
2338
2341
|
if (!loading) return null;
|
|
2339
2342
|
else {
|
|
2340
|
-
return /* @__PURE__ */ React.createElement(View, { style: styles.container }, /* @__PURE__ */ React.createElement(View, { style: styles.backdrop }, /* @__PURE__ */ React.createElement(View, { style: styles.box }, /* @__PURE__ */ React.createElement(View, { style: styles.loader }, /* @__PURE__ */ React.createElement(
|
|
2343
|
+
return /* @__PURE__ */ React.createElement(View, { style: [styles.container, customeContainer] }, /* @__PURE__ */ React.createElement(View, { style: [styles.backdrop, customeBackDrop] }, /* @__PURE__ */ React.createElement(View, { style: [styles.box, customeBox] }, /* @__PURE__ */ React.createElement(View, { style: styles.loader }, /* @__PURE__ */ React.createElement(
|
|
2341
2344
|
LottieView,
|
|
2342
2345
|
{
|
|
2343
2346
|
style: styles.loader,
|