@mindly/ui-components 8.6.8 → 8.6.10
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/index.js +7 -7
- package/dist/cjs/lib2/features/ActiveClientsCapacityOnboardingModal/ActiveClientsCapacityOnboardingModal.d.ts +11 -0
- package/dist/cjs/lib2/features/ActiveClientsCapacityOnboardingModal/index.d.ts +1 -0
- package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/RevampSubscriptionStepperFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/Stepper/Step1.d.ts +12 -0
- package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/Stepper/Step2.d.ts +18 -0
- package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/Stepper/Step3.d.ts +18 -0
- package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/Stepper/Step4.d.ts +16 -0
- package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/Stepper/Step5.d.ts +18 -0
- package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/Stepper/Step6.d.ts +18 -0
- package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/Stepper/Step7.d.ts +9 -0
- package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/Stepper/index.d.ts +7 -0
- package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/common/CustomButton/CustomButton.d.ts +10 -0
- package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/common/CustomButton/index.d.ts +2 -0
- package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/common/CustomButton/types.d.ts +4 -0
- package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/common/HeaderWithIcon/HeaderWithIcon.d.ts +8 -0
- package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/common/QuestionLayout/Footer.d.ts +6 -0
- package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/common/QuestionLayout/Main.d.ts +13 -0
- package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/common/ScreenContent/ScreenContent.d.ts +19 -0
- package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/common/index.d.ts +4 -0
- package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/components/index.d.ts +7 -0
- package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/constants.d.ts +45 -0
- package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/hooks/useSelectValue.d.ts +16 -0
- package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/hooks/useStepChanger.d.ts +11 -0
- package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/types.d.ts +42 -0
- package/dist/cjs/lib2/features/index.d.ts +2 -0
- package/dist/cjs/lib2/shared/assets/icons/IconLightBubble.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconPeople.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconRoundWarning.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/index.d.ts +3 -0
- package/dist/cjs/lib2/shared/ui/DrumListPicker/DrumListPicker.d.ts +4 -2
- package/dist/cjs/lib2/shared/ui/ListItems/Item.d.ts +2 -0
- package/dist/cjs/lib2/shared/ui/NoticeCard/NoticeCard.d.ts +4 -0
- package/dist/cjs/lib2/shared/ui/NoticeCard/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/NoticeCard/styles.d.ts +125 -0
- package/dist/cjs/lib2/shared/ui/NoticeCard/types.d.ts +14 -0
- package/dist/cjs/lib2/shared/ui/index.d.ts +1 -0
- package/dist/esm/index.js +7 -7
- package/dist/esm/lib2/features/ActiveClientsCapacityOnboardingModal/ActiveClientsCapacityOnboardingModal.d.ts +11 -0
- package/dist/esm/lib2/features/ActiveClientsCapacityOnboardingModal/index.d.ts +1 -0
- package/dist/esm/lib2/features/RevampSubscriptionStepperFeature/RevampSubscriptionStepperFeature.d.ts +4 -0
- package/dist/esm/lib2/features/RevampSubscriptionStepperFeature/Stepper/Step1.d.ts +12 -0
- package/dist/esm/lib2/features/RevampSubscriptionStepperFeature/Stepper/Step2.d.ts +18 -0
- package/dist/esm/lib2/features/RevampSubscriptionStepperFeature/Stepper/Step3.d.ts +18 -0
- package/dist/esm/lib2/features/RevampSubscriptionStepperFeature/Stepper/Step4.d.ts +16 -0
- package/dist/esm/lib2/features/RevampSubscriptionStepperFeature/Stepper/Step5.d.ts +18 -0
- package/dist/esm/lib2/features/RevampSubscriptionStepperFeature/Stepper/Step6.d.ts +18 -0
- package/dist/esm/lib2/features/RevampSubscriptionStepperFeature/Stepper/Step7.d.ts +9 -0
- package/dist/esm/lib2/features/RevampSubscriptionStepperFeature/Stepper/index.d.ts +7 -0
- package/dist/esm/lib2/features/RevampSubscriptionStepperFeature/common/CustomButton/CustomButton.d.ts +10 -0
- package/dist/esm/lib2/features/RevampSubscriptionStepperFeature/common/CustomButton/index.d.ts +2 -0
- package/dist/esm/lib2/features/RevampSubscriptionStepperFeature/common/CustomButton/types.d.ts +4 -0
- package/dist/esm/lib2/features/RevampSubscriptionStepperFeature/common/HeaderWithIcon/HeaderWithIcon.d.ts +8 -0
- package/dist/esm/lib2/features/RevampSubscriptionStepperFeature/common/QuestionLayout/Footer.d.ts +6 -0
- package/dist/esm/lib2/features/RevampSubscriptionStepperFeature/common/QuestionLayout/Main.d.ts +13 -0
- package/dist/esm/lib2/features/RevampSubscriptionStepperFeature/common/ScreenContent/ScreenContent.d.ts +19 -0
- package/dist/esm/lib2/features/RevampSubscriptionStepperFeature/common/index.d.ts +4 -0
- package/dist/esm/lib2/features/RevampSubscriptionStepperFeature/components/index.d.ts +7 -0
- package/dist/esm/lib2/features/RevampSubscriptionStepperFeature/constants.d.ts +45 -0
- package/dist/esm/lib2/features/RevampSubscriptionStepperFeature/hooks/useSelectValue.d.ts +16 -0
- package/dist/esm/lib2/features/RevampSubscriptionStepperFeature/hooks/useStepChanger.d.ts +11 -0
- package/dist/esm/lib2/features/RevampSubscriptionStepperFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/RevampSubscriptionStepperFeature/types.d.ts +42 -0
- package/dist/esm/lib2/features/index.d.ts +2 -0
- package/dist/esm/lib2/shared/assets/icons/IconLightBubble.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconPeople.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconRoundWarning.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/index.d.ts +3 -0
- package/dist/esm/lib2/shared/ui/DrumListPicker/DrumListPicker.d.ts +4 -2
- package/dist/esm/lib2/shared/ui/ListItems/Item.d.ts +2 -0
- package/dist/esm/lib2/shared/ui/NoticeCard/NoticeCard.d.ts +4 -0
- package/dist/esm/lib2/shared/ui/NoticeCard/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/NoticeCard/styles.d.ts +125 -0
- package/dist/esm/lib2/shared/ui/NoticeCard/types.d.ts +14 -0
- package/dist/esm/lib2/shared/ui/index.d.ts +1 -0
- package/dist/index.d.ts +132 -56
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { WithTranslation } from 'react-i18next';
|
|
3
|
+
interface ActiveClientsCapacityOnboardingModalProps {
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
onDidDismiss: () => void;
|
|
6
|
+
onGoToSettings: () => void;
|
|
7
|
+
t: WithTranslation['t'];
|
|
8
|
+
imageUrl: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const ActiveClientsCapacityOnboardingModal: FC<ActiveClientsCapacityOnboardingModalProps>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ActiveClientsCapacityOnboardingModal';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { WithTranslation } from 'react-i18next';
|
|
3
|
+
export type Step1Props = {
|
|
4
|
+
avatarUrl?: string;
|
|
5
|
+
t: WithTranslation['t'];
|
|
6
|
+
onGoNext: () => void;
|
|
7
|
+
onBack: () => void;
|
|
8
|
+
onCancel: () => void;
|
|
9
|
+
onInfoClick: () => void;
|
|
10
|
+
};
|
|
11
|
+
declare const Step1: FC<Step1Props>;
|
|
12
|
+
export default Step1;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { WithTranslation } from 'react-i18next';
|
|
3
|
+
export type Step2Props = {
|
|
4
|
+
t: WithTranslation['t'];
|
|
5
|
+
dateText: string;
|
|
6
|
+
onGoNext: () => void;
|
|
7
|
+
onCancel: () => void;
|
|
8
|
+
onBack: () => void;
|
|
9
|
+
onInfoClick: () => void;
|
|
10
|
+
screenImage: {
|
|
11
|
+
url: string;
|
|
12
|
+
width: number;
|
|
13
|
+
height: number;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
type CombinedProps = Step2Props;
|
|
17
|
+
declare const Step2: FC<CombinedProps>;
|
|
18
|
+
export default Step2;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { WithTranslation } from 'react-i18next';
|
|
3
|
+
export type Step3Props = {
|
|
4
|
+
t: WithTranslation['t'];
|
|
5
|
+
dateText: string | undefined;
|
|
6
|
+
recurrentSessionsItems: string | undefined;
|
|
7
|
+
onGoNext: () => void;
|
|
8
|
+
onCancel: () => void;
|
|
9
|
+
onBack: () => void;
|
|
10
|
+
onInfoClick: () => void;
|
|
11
|
+
screenImage: {
|
|
12
|
+
url: string;
|
|
13
|
+
width: number;
|
|
14
|
+
height: number;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
declare const Step3: FC<Step3Props>;
|
|
18
|
+
export default Step3;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { WithTranslation } from 'react-i18next';
|
|
3
|
+
export type Step4Props = {
|
|
4
|
+
t: WithTranslation['t'];
|
|
5
|
+
onGoNext: () => void;
|
|
6
|
+
onCancel: () => void;
|
|
7
|
+
onBack: () => void;
|
|
8
|
+
onInfoClick: () => void;
|
|
9
|
+
screenImage: {
|
|
10
|
+
url: string;
|
|
11
|
+
width: number;
|
|
12
|
+
height: number;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
declare const Step4: FC<Step4Props>;
|
|
16
|
+
export default Step4;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { WithTranslation } from 'react-i18next';
|
|
3
|
+
import { Selection } from '@react-types/shared';
|
|
4
|
+
import { OnSubmitArgs } from '../types';
|
|
5
|
+
export type Step5Props = {
|
|
6
|
+
t: WithTranslation['t'];
|
|
7
|
+
onGoNext: () => void;
|
|
8
|
+
onBack: () => void;
|
|
9
|
+
onSubmit: ({ selection, step }: OnSubmitArgs) => void;
|
|
10
|
+
options: {
|
|
11
|
+
id: string;
|
|
12
|
+
label: string;
|
|
13
|
+
}[];
|
|
14
|
+
initialSelection?: Selection;
|
|
15
|
+
onSaveSelectionState?: (selection: Selection, step: number) => void;
|
|
16
|
+
};
|
|
17
|
+
declare const Step5: FC<Step5Props>;
|
|
18
|
+
export default Step5;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { WithTranslation } from 'react-i18next';
|
|
3
|
+
import { Selection } from '@react-types/shared';
|
|
4
|
+
import { OnSubmitArgs } from '../types';
|
|
5
|
+
export type Step6Props = {
|
|
6
|
+
t: WithTranslation['t'];
|
|
7
|
+
onGoNext: () => void;
|
|
8
|
+
onBack: () => void;
|
|
9
|
+
onSubmit: ({ selection, step }: OnSubmitArgs) => void;
|
|
10
|
+
options: {
|
|
11
|
+
id: string;
|
|
12
|
+
label: string;
|
|
13
|
+
}[];
|
|
14
|
+
initialSelection?: Selection;
|
|
15
|
+
onSaveSelectionState?: (selection: Selection, step: number) => void;
|
|
16
|
+
};
|
|
17
|
+
declare const Step6: FC<Step6Props>;
|
|
18
|
+
export default Step6;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as Step1 } from './Step1';
|
|
2
|
+
export { default as Step2 } from './Step2';
|
|
3
|
+
export { default as Step3 } from './Step3';
|
|
4
|
+
export { default as Step4 } from './Step4';
|
|
5
|
+
export { default as Step5 } from './Step5';
|
|
6
|
+
export { default as Step6 } from './Step6';
|
|
7
|
+
export { default as Step7 } from './Step7';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { CustomButtonType } from './types';
|
|
3
|
+
type CustomButtonProps = {
|
|
4
|
+
onClick?: () => void;
|
|
5
|
+
buttonText: string;
|
|
6
|
+
type?: CustomButtonType;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const CustomButton: FC<CustomButtonProps>;
|
|
10
|
+
export default CustomButton;
|
package/dist/cjs/lib2/features/RevampSubscriptionStepperFeature/common/QuestionLayout/Main.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Selection } from '../../../../shared';
|
|
2
|
+
type MainProps = {
|
|
3
|
+
title: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
options?: {
|
|
6
|
+
id: string;
|
|
7
|
+
label: string;
|
|
8
|
+
}[];
|
|
9
|
+
selectedValue?: Selection;
|
|
10
|
+
onValueChange?: (value: Selection) => void;
|
|
11
|
+
};
|
|
12
|
+
declare const Main: ({ title, description, options, selectedValue, onValueChange, }: MainProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default Main;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
type AlertCardProps = {
|
|
3
|
+
title?: string;
|
|
4
|
+
text?: string;
|
|
5
|
+
};
|
|
6
|
+
type ScreenContentProps = {
|
|
7
|
+
isAvatarVisible: boolean;
|
|
8
|
+
title: string;
|
|
9
|
+
description: string | ReactNode;
|
|
10
|
+
avatarUrl?: string;
|
|
11
|
+
icon?: {
|
|
12
|
+
url?: string;
|
|
13
|
+
width?: number;
|
|
14
|
+
height?: number;
|
|
15
|
+
};
|
|
16
|
+
alertCardProps?: AlertCardProps;
|
|
17
|
+
};
|
|
18
|
+
declare const ScreenContent: FC<ScreenContentProps>;
|
|
19
|
+
export default ScreenContent;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default as ScreenContent } from './ScreenContent/ScreenContent';
|
|
2
|
+
export { default as CustomButton } from './CustomButton/CustomButton';
|
|
3
|
+
export { default as HeaderWithIcon } from './HeaderWithIcon/HeaderWithIcon';
|
|
4
|
+
export { CustomButtonType } from './CustomButton/types';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as Step1 } from '../Stepper/Step1';
|
|
2
|
+
export { default as Step2 } from '../Stepper/Step2';
|
|
3
|
+
export { default as Step3 } from '../Stepper/Step3';
|
|
4
|
+
export { default as Step4 } from '../Stepper/Step4';
|
|
5
|
+
export { default as Step5 } from '../Stepper/Step5';
|
|
6
|
+
export { default as Step6 } from '../Stepper/Step6';
|
|
7
|
+
export { default as Step7 } from '../Stepper/Step7';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export declare const TRANSLATION_KEYS: {
|
|
2
|
+
STEP1: {
|
|
3
|
+
TITLE: string;
|
|
4
|
+
DESCRIPTION: string;
|
|
5
|
+
BUTTON1_TEXT: string;
|
|
6
|
+
BUTTON2_TEXT: string;
|
|
7
|
+
};
|
|
8
|
+
STEP2: {
|
|
9
|
+
TITLE: string;
|
|
10
|
+
DESCRIPTION: string;
|
|
11
|
+
BUTTON1_TEXT: string;
|
|
12
|
+
BUTTON2_TEXT: string;
|
|
13
|
+
};
|
|
14
|
+
STEP3: {
|
|
15
|
+
TITLE: string;
|
|
16
|
+
DESCRIPTION: string;
|
|
17
|
+
BUTTON1_TEXT: string;
|
|
18
|
+
BUTTON2_TEXT: string;
|
|
19
|
+
ALERT_TITLE: string;
|
|
20
|
+
ALERT_DESCRIPTION: string;
|
|
21
|
+
};
|
|
22
|
+
STEP4: {
|
|
23
|
+
TITLE: string;
|
|
24
|
+
DESCRIPTION: string;
|
|
25
|
+
BUTTON1_TEXT: string;
|
|
26
|
+
BUTTON2_TEXT: string;
|
|
27
|
+
};
|
|
28
|
+
STEP5: {
|
|
29
|
+
TITLE: string;
|
|
30
|
+
DESCRIPTION: string;
|
|
31
|
+
CONTINUE: string;
|
|
32
|
+
};
|
|
33
|
+
STEP6: {
|
|
34
|
+
TITLE: string;
|
|
35
|
+
DESCRIPTION: string;
|
|
36
|
+
CONTINUE: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export declare const STEP_1_INDEX = 1;
|
|
40
|
+
export declare const STEP_2_INDEX = 2;
|
|
41
|
+
export declare const STEP_3_INDEX = 3;
|
|
42
|
+
export declare const STEP_4_INDEX = 4;
|
|
43
|
+
export declare const STEP_5_INDEX = 5;
|
|
44
|
+
export declare const STEP_6_INDEX = 6;
|
|
45
|
+
export declare const STEP_7_INDEX = 7;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Selection } from '@react-types/shared';
|
|
2
|
+
import { OnSubmitArgs } from '../types';
|
|
3
|
+
type UseSelectValueProps = {
|
|
4
|
+
onSubmit: ({ selection, step }: OnSubmitArgs) => void;
|
|
5
|
+
handleGoNext: () => void;
|
|
6
|
+
initialSelection?: Selection;
|
|
7
|
+
onSaveSelectionState?: (selection: Selection, step: number) => void;
|
|
8
|
+
step: number;
|
|
9
|
+
};
|
|
10
|
+
export declare const useSelectValue: ({ onSubmit, handleGoNext, initialSelection, onSaveSelectionState, step, }: UseSelectValueProps) => {
|
|
11
|
+
selectedValue: Selection;
|
|
12
|
+
isButtonDisabled: boolean;
|
|
13
|
+
handleChangeValue: (selection: Selection) => void;
|
|
14
|
+
handleSubmit: () => void;
|
|
15
|
+
};
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type UseStepChangerProps = {
|
|
2
|
+
onSendAnalytics: (step: number) => void;
|
|
3
|
+
onCancel: () => void;
|
|
4
|
+
isScreen3Visible: boolean;
|
|
5
|
+
};
|
|
6
|
+
export declare const useStepChanger: ({ onSendAnalytics, onCancel, isScreen3Visible, }: UseStepChangerProps) => {
|
|
7
|
+
step: number;
|
|
8
|
+
handleGoNext: () => void;
|
|
9
|
+
handleGoBack: () => void;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as RevampSubscriptionStepperFeature } from './RevampSubscriptionStepperFeature';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { WithTranslation } from 'react-i18next';
|
|
2
|
+
type ScreenSelectorOptionsType = {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
};
|
|
6
|
+
export type OnSubmitArgs = {
|
|
7
|
+
selection: string[];
|
|
8
|
+
step: number;
|
|
9
|
+
};
|
|
10
|
+
export type StepperBaseProps = {
|
|
11
|
+
t: WithTranslation['t'];
|
|
12
|
+
notificationDateTime: string;
|
|
13
|
+
reccurentSessionsTimeSlots?: string;
|
|
14
|
+
recurrentSessionsItems?: string;
|
|
15
|
+
onComplete: () => void;
|
|
16
|
+
onSendAnalytics: (step: number) => void;
|
|
17
|
+
onSubmit: ({ selection, step }: OnSubmitArgs) => void;
|
|
18
|
+
onCancel: () => void;
|
|
19
|
+
onInfoClick: () => void;
|
|
20
|
+
avatarUrl?: string;
|
|
21
|
+
isRequestCompleted: boolean;
|
|
22
|
+
screen5Options: ScreenSelectorOptionsType[];
|
|
23
|
+
screen6Options: ScreenSelectorOptionsType[];
|
|
24
|
+
screenImages: {
|
|
25
|
+
screen2: {
|
|
26
|
+
url: string;
|
|
27
|
+
width: number;
|
|
28
|
+
height: number;
|
|
29
|
+
};
|
|
30
|
+
screen3: {
|
|
31
|
+
url: string;
|
|
32
|
+
width: number;
|
|
33
|
+
height: number;
|
|
34
|
+
};
|
|
35
|
+
screen4: {
|
|
36
|
+
url: string;
|
|
37
|
+
width: number;
|
|
38
|
+
height: number;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from './ActiveClientsCapacityOnboardingModal';
|
|
1
2
|
export * from './CountryOfOriginModal';
|
|
2
3
|
export * from './ChangeLanguageModal';
|
|
3
4
|
export * from './CardModal';
|
|
@@ -64,3 +65,4 @@ export * from './SessionManageModalFeature';
|
|
|
64
65
|
export * from './RecurringSessionPreviewFeature';
|
|
65
66
|
export * from './ReservedSessionManageModalFeature';
|
|
66
67
|
export * from './ViewedClientsListFeature';
|
|
68
|
+
export * from './RevampSubscriptionStepperFeature';
|
|
@@ -6,11 +6,13 @@ type SelectionType = {
|
|
|
6
6
|
type Props = {
|
|
7
7
|
height?: number;
|
|
8
8
|
selections: Record<string, SelectionType[]>;
|
|
9
|
-
defaults?: Record<string,
|
|
9
|
+
defaults?: Record<string, any>;
|
|
10
10
|
onChange(value: Record<string, string>): void;
|
|
11
11
|
className?: string;
|
|
12
12
|
compareBy?: 'value' | 'label';
|
|
13
13
|
presentation?: 'date' | 'month' | 'month-year';
|
|
14
|
+
mode?: 'date' | 'list';
|
|
15
|
+
columns?: Record<string, SelectionType[]>;
|
|
14
16
|
};
|
|
15
|
-
declare const DrumListPicker: ({ height, selections, defaults, onChange, className, compareBy, presentation, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
declare const DrumListPicker: ({ height, selections, defaults, onChange, className, compareBy, presentation, mode, columns, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
16
18
|
export default DrumListPicker;
|
|
@@ -2,6 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
type ItemProps = React.HTMLAttributes<HTMLIonItemElement> & {
|
|
3
3
|
leftContent?: React.ReactNode;
|
|
4
4
|
rightContent?: React.ReactNode;
|
|
5
|
+
badge?: React.ReactNode;
|
|
5
6
|
innerItemClassName?: string;
|
|
6
7
|
withBorders?: boolean;
|
|
7
8
|
isHighlight?: boolean;
|
|
@@ -13,6 +14,7 @@ type ItemProps = React.HTMLAttributes<HTMLIonItemElement> & {
|
|
|
13
14
|
export declare const Item: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLIonItemElement> & {
|
|
14
15
|
leftContent?: React.ReactNode;
|
|
15
16
|
rightContent?: React.ReactNode;
|
|
17
|
+
badge?: React.ReactNode;
|
|
16
18
|
innerItemClassName?: string;
|
|
17
19
|
withBorders?: boolean;
|
|
18
20
|
isHighlight?: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as NoticeCard } from './NoticeCard';
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { TypographyVariantsEnum } from '../Typography';
|
|
2
|
+
export declare const noticeCardStyle: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
tone: {
|
|
4
|
+
info: {
|
|
5
|
+
root: string;
|
|
6
|
+
titleVariant: TypographyVariantsEnum;
|
|
7
|
+
descriptionVariant: TypographyVariantsEnum;
|
|
8
|
+
closeBtn: string;
|
|
9
|
+
};
|
|
10
|
+
neutral: {
|
|
11
|
+
root: string;
|
|
12
|
+
titleVariant: TypographyVariantsEnum;
|
|
13
|
+
descriptionVariant: TypographyVariantsEnum;
|
|
14
|
+
closeBtn: string;
|
|
15
|
+
};
|
|
16
|
+
success: {
|
|
17
|
+
root: string;
|
|
18
|
+
titleVariant: TypographyVariantsEnum;
|
|
19
|
+
descriptionVariant: TypographyVariantsEnum;
|
|
20
|
+
closeBtn: string;
|
|
21
|
+
};
|
|
22
|
+
warning: {
|
|
23
|
+
root: string;
|
|
24
|
+
titleVariant: TypographyVariantsEnum;
|
|
25
|
+
descriptionVariant: TypographyVariantsEnum;
|
|
26
|
+
closeBtn: string;
|
|
27
|
+
};
|
|
28
|
+
danger: {
|
|
29
|
+
root: string;
|
|
30
|
+
titleVariant: TypographyVariantsEnum;
|
|
31
|
+
descriptionVariant: TypographyVariantsEnum;
|
|
32
|
+
closeBtn: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
}, {
|
|
36
|
+
root: string;
|
|
37
|
+
textWrap: string;
|
|
38
|
+
titleVariant: string;
|
|
39
|
+
descriptionVariant: string;
|
|
40
|
+
actions: string;
|
|
41
|
+
closeBtn: string;
|
|
42
|
+
ctaBtn: string;
|
|
43
|
+
}, undefined, {
|
|
44
|
+
tone: {
|
|
45
|
+
info: {
|
|
46
|
+
root: string;
|
|
47
|
+
titleVariant: TypographyVariantsEnum;
|
|
48
|
+
descriptionVariant: TypographyVariantsEnum;
|
|
49
|
+
closeBtn: string;
|
|
50
|
+
};
|
|
51
|
+
neutral: {
|
|
52
|
+
root: string;
|
|
53
|
+
titleVariant: TypographyVariantsEnum;
|
|
54
|
+
descriptionVariant: TypographyVariantsEnum;
|
|
55
|
+
closeBtn: string;
|
|
56
|
+
};
|
|
57
|
+
success: {
|
|
58
|
+
root: string;
|
|
59
|
+
titleVariant: TypographyVariantsEnum;
|
|
60
|
+
descriptionVariant: TypographyVariantsEnum;
|
|
61
|
+
closeBtn: string;
|
|
62
|
+
};
|
|
63
|
+
warning: {
|
|
64
|
+
root: string;
|
|
65
|
+
titleVariant: TypographyVariantsEnum;
|
|
66
|
+
descriptionVariant: TypographyVariantsEnum;
|
|
67
|
+
closeBtn: string;
|
|
68
|
+
};
|
|
69
|
+
danger: {
|
|
70
|
+
root: string;
|
|
71
|
+
titleVariant: TypographyVariantsEnum;
|
|
72
|
+
descriptionVariant: TypographyVariantsEnum;
|
|
73
|
+
closeBtn: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
}, {
|
|
77
|
+
root: string;
|
|
78
|
+
textWrap: string;
|
|
79
|
+
titleVariant: string;
|
|
80
|
+
descriptionVariant: string;
|
|
81
|
+
actions: string;
|
|
82
|
+
closeBtn: string;
|
|
83
|
+
ctaBtn: string;
|
|
84
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
85
|
+
tone: {
|
|
86
|
+
info: {
|
|
87
|
+
root: string;
|
|
88
|
+
titleVariant: TypographyVariantsEnum;
|
|
89
|
+
descriptionVariant: TypographyVariantsEnum;
|
|
90
|
+
closeBtn: string;
|
|
91
|
+
};
|
|
92
|
+
neutral: {
|
|
93
|
+
root: string;
|
|
94
|
+
titleVariant: TypographyVariantsEnum;
|
|
95
|
+
descriptionVariant: TypographyVariantsEnum;
|
|
96
|
+
closeBtn: string;
|
|
97
|
+
};
|
|
98
|
+
success: {
|
|
99
|
+
root: string;
|
|
100
|
+
titleVariant: TypographyVariantsEnum;
|
|
101
|
+
descriptionVariant: TypographyVariantsEnum;
|
|
102
|
+
closeBtn: string;
|
|
103
|
+
};
|
|
104
|
+
warning: {
|
|
105
|
+
root: string;
|
|
106
|
+
titleVariant: TypographyVariantsEnum;
|
|
107
|
+
descriptionVariant: TypographyVariantsEnum;
|
|
108
|
+
closeBtn: string;
|
|
109
|
+
};
|
|
110
|
+
danger: {
|
|
111
|
+
root: string;
|
|
112
|
+
titleVariant: TypographyVariantsEnum;
|
|
113
|
+
descriptionVariant: TypographyVariantsEnum;
|
|
114
|
+
closeBtn: string;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
}, {
|
|
118
|
+
root: string;
|
|
119
|
+
textWrap: string;
|
|
120
|
+
titleVariant: string;
|
|
121
|
+
descriptionVariant: string;
|
|
122
|
+
actions: string;
|
|
123
|
+
closeBtn: string;
|
|
124
|
+
ctaBtn: string;
|
|
125
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { WithTranslation } from 'react-i18next';
|
|
3
|
+
export type NoticeCardTone = 'info' | 'neutral' | 'success' | 'warning' | 'danger';
|
|
4
|
+
export type NoticeCardProps = {
|
|
5
|
+
className?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
icon?: ReactNode;
|
|
9
|
+
ctaLabel?: string;
|
|
10
|
+
onCtaClick?: () => void;
|
|
11
|
+
onClose?: () => void;
|
|
12
|
+
tone?: NoticeCardTone;
|
|
13
|
+
t?: WithTranslation['t'];
|
|
14
|
+
};
|