freemium-survey-components 2.0.75 → 2.0.76

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.
@@ -618,11 +618,16 @@ export interface SurveyProps {
618
618
  canResubmit?: boolean;
619
619
  allowMultipleSubmission?: boolean;
620
620
  loadAsNewSurvey?: boolean;
621
+ handleSecondaryAction?: (data: {
622
+ survey: SurveyType;
623
+ answers: AnswersType['formValues'];
624
+ }) => void;
621
625
  handleAction?: (action: HandleActions, callback: Function) => void;
622
626
  onBlockChange?: (currentBlock: BlockWithQuestionType, currentPage?: SurveyPageType) => void;
623
627
  footerProps?: Pick<SurveyFooterProps, 'languageDDComponent' | 'showFooterText' | 'surveyPoweredBy'>;
624
628
  getSurveyProgress?: (progressData: Omit<SurveyProgressProps, 'completedText'>) => void;
625
629
  surveyServAssetUrl?: string;
630
+ secBtnTxt?: string;
626
631
  }
627
632
  export interface AugmentedSurveyProps extends SurveyProps {
628
633
  survey: AugmentedSurveyType;
@@ -670,6 +675,7 @@ export type CardQuestionFooterProps = QuestionFooterProps & {
670
675
  isReverseAnimation?: boolean;
671
676
  };
672
677
  export type StandardQuestionFooterProps = QuestionFooterProps & {
678
+ secBtnTxt?: string;
673
679
  blockIndex: number;
674
680
  clearRadioSelection: (index: number) => void;
675
681
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-survey-components",
3
- "version": "2.0.75",
3
+ "version": "2.0.76",
4
4
  "description": "React Survey Ui Components",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.esm.js",