magneto365.ui 2.65.4 → 2.65.6
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/cjs/css/magneto.ui.lib.min.css +1 -1
- package/dist/cjs/index.js +15 -14
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/UI/molecules/MobileDrawer/MobileDrawer.interface.d.ts +4 -0
- package/dist/cjs/types/components/UI/molecules/Modal/Modal.interface.d.ts +4 -0
- package/dist/cjs/types/components/UI/molecules/ModalResponsive/ModalResponsive.interface.d.ts +8 -0
- package/dist/cjs/types/utils/currency/currency.util.d.ts +1 -1
- package/dist/esm/css/magneto.ui.lib.min.css +1 -1
- package/dist/esm/index.js +15 -14
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/UI/molecules/MobileDrawer/MobileDrawer.interface.d.ts +4 -0
- package/dist/esm/types/components/UI/molecules/Modal/Modal.interface.d.ts +4 -0
- package/dist/esm/types/components/UI/molecules/ModalResponsive/ModalResponsive.interface.d.ts +8 -0
- package/dist/esm/types/utils/currency/currency.util.d.ts +1 -1
- package/dist/index.d.ts +16 -0
- package/package.json +1 -1
|
@@ -27,6 +27,10 @@ export interface IModal {
|
|
|
27
27
|
* this property blocks fn onClose from background
|
|
28
28
|
*/
|
|
29
29
|
blockBackgroundClose?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* this property sets custom className in the background span
|
|
32
|
+
*/
|
|
33
|
+
backgroundClassName?: string;
|
|
30
34
|
}
|
|
31
35
|
export interface IModalPortal {
|
|
32
36
|
/**
|
package/dist/esm/types/components/UI/molecules/ModalResponsive/ModalResponsive.interface.d.ts
CHANGED
|
@@ -19,4 +19,12 @@ export interface IModalResponsive {
|
|
|
19
19
|
* this property sets customs styles for the mobile drawer
|
|
20
20
|
*/
|
|
21
21
|
mobileDrawerClassName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* this property sets custom className in the background span to modal
|
|
24
|
+
*/
|
|
25
|
+
backgroundClassNameDesktop?: string;
|
|
26
|
+
/**
|
|
27
|
+
* this property sets custom className in the background span to drawer
|
|
28
|
+
*/
|
|
29
|
+
backgroundClassNameMobile?: string;
|
|
22
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const numberToCurrency: (currency: number) => string;
|
|
1
|
+
export declare const numberToCurrency: (currency: number, withSymbol?: boolean) => string;
|
package/dist/index.d.ts
CHANGED
|
@@ -2836,6 +2836,10 @@ interface IMobileDrawer {
|
|
|
2836
2836
|
* this property blocks fn onClose from background
|
|
2837
2837
|
*/
|
|
2838
2838
|
blockBackgroundClose?: boolean;
|
|
2839
|
+
/**
|
|
2840
|
+
* this property sets custom className in the background span
|
|
2841
|
+
*/
|
|
2842
|
+
backgroundClassName?: string;
|
|
2839
2843
|
}
|
|
2840
2844
|
|
|
2841
2845
|
/**
|
|
@@ -2915,6 +2919,10 @@ interface IModal {
|
|
|
2915
2919
|
* this property blocks fn onClose from background
|
|
2916
2920
|
*/
|
|
2917
2921
|
blockBackgroundClose?: boolean;
|
|
2922
|
+
/**
|
|
2923
|
+
* this property sets custom className in the background span
|
|
2924
|
+
*/
|
|
2925
|
+
backgroundClassName?: string;
|
|
2918
2926
|
}
|
|
2919
2927
|
declare type IModalTitle = React.HTMLAttributes<HTMLHeadingElement>;
|
|
2920
2928
|
declare type IModalDescription = React.HTMLAttributes<HTMLParagraphElement>;
|
|
@@ -2945,6 +2953,14 @@ interface IModalResponsive {
|
|
|
2945
2953
|
* this property sets customs styles for the mobile drawer
|
|
2946
2954
|
*/
|
|
2947
2955
|
mobileDrawerClassName?: string;
|
|
2956
|
+
/**
|
|
2957
|
+
* this property sets custom className in the background span to modal
|
|
2958
|
+
*/
|
|
2959
|
+
backgroundClassNameDesktop?: string;
|
|
2960
|
+
/**
|
|
2961
|
+
* this property sets custom className in the background span to drawer
|
|
2962
|
+
*/
|
|
2963
|
+
backgroundClassNameMobile?: string;
|
|
2948
2964
|
}
|
|
2949
2965
|
|
|
2950
2966
|
declare const ModalResponsive: React$1.FC<IModalResponsive>;
|
package/package.json
CHANGED