@mindly/ui-components 6.2.1 → 6.2.2

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.
@@ -1,10 +1,11 @@
1
- import React, { FC } from 'react';
1
+ import { FC } from 'react';
2
2
  import { OnBoardingLoaderScreenType, OnboardingVariant } from '../../../shared';
3
3
  import { WithTranslation } from 'react-i18next';
4
4
  declare const OnBoardingLoaderScreenPreviewFeature: FC<OnBoardingLoaderScreenType & {
5
5
  t?: WithTranslation['t'];
6
6
  onProgressEnd?: () => void;
7
7
  variant?: OnboardingVariant;
8
- previewWrapperRef?: React.RefObject<HTMLDivElement>;
8
+ onChange?: (value: string[]) => void;
9
+ defaultValues?: string[];
9
10
  }>;
10
11
  export default OnBoardingLoaderScreenPreviewFeature;
@@ -22,5 +22,6 @@ declare const ListTemplateLoader: FC<{
22
22
  variant?: OnboardingVariant;
23
23
  onProgressEnd?: () => void;
24
24
  t?: WithTranslation['t'];
25
+ onSelectionChange?: (value: 'yes' | 'no', index: number) => void;
25
26
  }>;
26
27
  export default ListTemplateLoader;
@@ -10,5 +10,7 @@ declare const ListTemplateLoaderModal: FC<{
10
10
  variant?: OnboardingVariant;
11
11
  handleDismissModal: () => void;
12
12
  t?: WithTranslation['t'];
13
+ onSelectionChange?: (value: 'yes' | 'no', index: number) => void;
14
+ index: number;
13
15
  }>;
14
16
  export default ListTemplateLoaderModal;
package/dist/index.d.ts CHANGED
@@ -3120,7 +3120,8 @@ declare const OnBoardingLoaderScreenPreviewFeature: FC<OnBoardingLoaderScreenTyp
3120
3120
  t?: WithTranslation['t'];
3121
3121
  onProgressEnd?: () => void;
3122
3122
  variant?: OnboardingVariant;
3123
- previewWrapperRef?: React__default.RefObject<HTMLDivElement>;
3123
+ onChange?: (value: string[]) => void;
3124
+ defaultValues?: string[];
3124
3125
  }>;
3125
3126
 
3126
3127
  type OnBoardingProgressFeatureProps = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "6.2.1",
3
+ "version": "6.2.2",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",