andoncloud-sdk 1.7.21 → 1.7.23
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/andoncloud-sdk.js +2 -2
- package/dist/andoncloud-sdk.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/src/components/access/AccessBlocker.d.ts +2 -1
- package/dist/src/components/access/AccessBlocker.styles.d.ts +9 -0
- package/dist/src/components/access/AccessGuard.d.ts +2 -1
- package/dist/src/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -323,6 +323,7 @@ declare module 'andoncloud-sdk' {
|
|
|
323
323
|
workplaceId?: string;
|
|
324
324
|
onTrialRequest: (featureKey: string) => Promise<boolean>;
|
|
325
325
|
onFeatureRequest: (payload: FeatureRequestPayload) => Promise<boolean>;
|
|
326
|
+
backgroundImage?: string;
|
|
326
327
|
children: React.ReactNode;
|
|
327
328
|
}
|
|
328
329
|
|
|
@@ -341,6 +342,7 @@ declare module 'andoncloud-sdk' {
|
|
|
341
342
|
cooldownInfo?: CooldownInfo;
|
|
342
343
|
onTrialRequest: (featureKey: string) => Promise<boolean>;
|
|
343
344
|
onFeatureRequest: (payload: FeatureRequestPayload) => Promise<boolean>;
|
|
345
|
+
backgroundImage?: string;
|
|
344
346
|
}
|
|
345
347
|
|
|
346
348
|
export const AccessBlocker: React.FC<AccessBlockerProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default AccessBlocker;
|
|
2
|
-
declare function AccessBlocker({ accessState, buttons, daysSinceExpiry, featureKey, workplaceId, cooldownInfo, onTrialRequest, onFeatureRequest, }: {
|
|
2
|
+
declare function AccessBlocker({ accessState, buttons, daysSinceExpiry, featureKey, workplaceId, cooldownInfo, onTrialRequest, onFeatureRequest, backgroundImage, }: {
|
|
3
3
|
accessState: any;
|
|
4
4
|
buttons?: never[] | undefined;
|
|
5
5
|
daysSinceExpiry: any;
|
|
@@ -8,5 +8,6 @@ declare function AccessBlocker({ accessState, buttons, daysSinceExpiry, featureK
|
|
|
8
8
|
cooldownInfo?: {} | undefined;
|
|
9
9
|
onTrialRequest: any;
|
|
10
10
|
onFeatureRequest: any;
|
|
11
|
+
backgroundImage: any;
|
|
11
12
|
}): React.JSX.Element;
|
|
12
13
|
import React from 'react';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export default makeStyles;
|
|
2
2
|
declare function makeStyles(accessState: any): {
|
|
3
3
|
container: {
|
|
4
|
+
position: string;
|
|
4
5
|
display: string;
|
|
5
6
|
flexDirection: string;
|
|
6
7
|
alignItems: string;
|
|
@@ -12,6 +13,14 @@ declare function makeStyles(accessState: any): {
|
|
|
12
13
|
textAlign: string;
|
|
13
14
|
background: (theme: any) => any;
|
|
14
15
|
};
|
|
16
|
+
backgroundImage: {
|
|
17
|
+
position: string;
|
|
18
|
+
inset: number;
|
|
19
|
+
opacity: number;
|
|
20
|
+
backgroundSize: string;
|
|
21
|
+
backgroundPosition: string;
|
|
22
|
+
backgroundRepeat: string;
|
|
23
|
+
};
|
|
15
24
|
icon: {
|
|
16
25
|
fontSize: number;
|
|
17
26
|
color: any;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
export default AccessGuard;
|
|
2
|
-
declare function AccessGuard({ features: featuresProp, extraPermissions, workplaceId, onTrialRequest, onFeatureRequest, children, }: {
|
|
2
|
+
declare function AccessGuard({ features: featuresProp, extraPermissions, workplaceId, onTrialRequest, onFeatureRequest, backgroundImage, children, }: {
|
|
3
3
|
features?: never[] | undefined;
|
|
4
4
|
extraPermissions?: never[] | undefined;
|
|
5
5
|
workplaceId: any;
|
|
6
6
|
onTrialRequest: any;
|
|
7
7
|
onFeatureRequest: any;
|
|
8
|
+
backgroundImage: any;
|
|
8
9
|
children: any;
|
|
9
10
|
}): any;
|
package/dist/src/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LIBRARY_VERSION = "1.7.
|
|
1
|
+
export declare const LIBRARY_VERSION = "1.7.23";
|