freemium-survey-components 2.0.309 → 2.0.310

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.
@@ -0,0 +1,12 @@
1
+ import { EmailEmbedChannelInfoType, SurveyQuestionType, SurveyType } from '../../types';
2
+ export type CommonProps = {
3
+ emailEmbedChannelInfo?: EmailEmbedChannelInfoType | null;
4
+ collectorId: string;
5
+ survey?: SurveyType | null;
6
+ question: SurveyQuestionType | null;
7
+ customDomain: string;
8
+ publicSurveyUrl: string;
9
+ assetUrl: string;
10
+ disabled?: boolean;
11
+ };
12
+ export declare const getEmailEmbedCodeForQuestion: (props: CommonProps) => string;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { SurveyProgressProps } from '../../types';
3
+ import './style.scss';
4
+ declare const SurveyProgress: ({ isSurveyCompleted, totalBlocks, completedText, activeIndexOfBlocks, }: SurveyProgressProps) => React.JSX.Element;
5
+ export { SurveyProgress };
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { AugmentedSurveyProps } from '../../types';
3
+ type MetaChannelsProps = {
4
+ type?: 'instagram' | 'whatsapp' | undefined;
5
+ };
6
+ declare const WhatsappPreview: (props: AugmentedSurveyProps & MetaChannelsProps) => React.JSX.Element | null;
7
+ export { WhatsappPreview };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-survey-components",
3
- "version": "2.0.309",
3
+ "version": "2.0.310",
4
4
  "description": "React Survey Ui Components",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.esm.js",