freemium-survey-components 2.0.39 → 2.0.41

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,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { SurveyFooterProps } from '../../types';
3
3
  import './style.scss';
4
- declare const SurveyFooter: ({ languageDDComponent, surveyPoweredBy, showFooterText, surveyStyle, }: SurveyFooterProps) => React.JSX.Element;
4
+ declare const SurveyFooter: ({ languageDDComponent, surveyPoweredBy, showFooterText, surveyStyle, bgColor, }: SurveyFooterProps) => React.JSX.Element;
5
5
  export { SurveyFooter };
@@ -1,6 +1,8 @@
1
1
  import React from 'react';
2
2
  import { PointScaleRatingType, QuestionTypeVariantType } from '../../types';
3
- declare const FreshworksLogo: () => React.JSX.Element;
3
+ declare const FreshworksLogo: ({ isDark }: {
4
+ isDark?: boolean | undefined;
5
+ }) => React.JSX.Element;
4
6
  declare const Icon: ({ name, id }: {
5
7
  name: string;
6
8
  id?: string | undefined;
@@ -573,6 +573,7 @@ export interface SurveyFooterProps {
573
573
  surveyPoweredBy?: ReactNode;
574
574
  showFooterText?: boolean;
575
575
  surveyStyle?: SurveyProps['surveyStyle'];
576
+ bgColor: string;
576
577
  }
577
578
  export interface SurveyProps {
578
579
  language?: string | null;
@@ -32,3 +32,4 @@ export declare const getFirstBlock: (blocks?: SurveyBlockType[]) => SurveyBlockT
32
32
  export declare const convertQuillHTMLToText: (quillHtml: string, preserveNewLine?: boolean) => string;
33
33
  export declare const getFscDebug: () => FscDebugType;
34
34
  export declare const appLogger: (title: string, props?: any) => void;
35
+ export declare const isBgDark: (bgColor: string) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-survey-components",
3
- "version": "2.0.39",
3
+ "version": "2.0.41",
4
4
  "description": "React Survey Ui Components",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.esm.js",