andoncloud-sdk 1.7.31 → 1.7.33

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/index.d.ts CHANGED
@@ -1,24 +1,13 @@
1
1
  import { TagManagerArgs } from 'react-gtm-module';
2
2
  import toast from 'react-hot-toast';
3
3
 
4
- import { CheckboxProps as MuiCheckboxProps } from '@mui/material/Checkbox';
5
- import { RadioProps as MuiRadioProps } from '@mui/material/Radio';
6
- import { RadioGroupProps as MuiRadioGroupProps } from '@mui/material/RadioGroup';
7
4
  import { SxProps, Theme } from '@mui/material/styles';
8
5
  import * as Sentry from '@sentry/react';
9
6
  import { InitOptions } from 'i18next';
10
7
 
11
- interface CheckboxProps extends Partial<MuiCheckboxProps> {
12
- 'data-testid'?: string;
13
- }
14
-
15
- interface RadioProps extends Partial<MuiRadioProps> {
16
- 'data-testid'?: string;
17
- }
18
-
19
- interface RadioGroupProps extends Partial<MuiRadioGroupProps> {
20
- 'data-testid'?: string;
21
- }
8
+ import { CheckboxProps } from './core/ui/Checkbox';
9
+ import { RadioProps } from './core/ui/Radio';
10
+ import { RadioGroupProps } from './core/ui/RadioGroup';
22
11
 
23
12
  declare module '@mui/material/styles' {
24
13
  interface Palette {
@@ -332,9 +321,9 @@ declare module 'andoncloud-sdk' {
332
321
  features?: string[];
333
322
  extraPermissions?: string[];
334
323
  workplaceId?: string;
324
+ backgroundImage?: string;
335
325
  onTrialRequest: (featureKey: string) => Promise<boolean>;
336
326
  onFeatureRequest: (payload: FeatureRequestPayload) => Promise<boolean>;
337
- backgroundImage?: string;
338
327
  children: React.ReactNode;
339
328
  }
340
329
 
@@ -350,10 +339,10 @@ declare module 'andoncloud-sdk' {
350
339
  featureKey: string;
351
340
  daysSinceExpiry?: number;
352
341
  workplaceId?: string;
342
+ backgroundImage?: string;
353
343
  cooldownInfo?: CooldownInfo;
354
344
  onTrialRequest: (featureKey: string) => Promise<boolean>;
355
345
  onFeatureRequest: (payload: FeatureRequestPayload) => Promise<boolean>;
356
- backgroundImage?: string;
357
346
  }
358
347
 
359
348
  export const AccessBlocker: React.FC<AccessBlockerProps>;