freemium-survey-components 1.0.310 → 1.0.312

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.
@@ -15,6 +15,7 @@ export declare type SliderProps = {
15
15
  isInput?: boolean;
16
16
  allowDecimals?: boolean;
17
17
  decimalPoints?: '1' | '2' | null;
18
+ isMobile?: boolean;
18
19
  };
19
20
  export declare const Slider: React.ComponentType<Partial<{
20
21
  defaultValue: number[];
@@ -21,6 +21,7 @@ export declare const resolvePlaceholders: ({ placeholders, questionText, npsRati
21
21
  export declare const spreadCSSVariablesIfPresent: (ui_theme: SurveyUiThemeType) => Object;
22
22
  export declare const isAnswersEmpty: (ansers: SurveyResponseType | null) => boolean;
23
23
  export declare const transformSurvey: (survey: SurveyType) => SurveyType;
24
+ export declare const getReplacedText: (text: string | null | undefined, replaceText: string | null | undefined, actualText: string | null | undefined) => string | undefined;
24
25
  export declare const getRedirectText: (delayRate: number, translationText: string | null | undefined) => string;
25
26
  export declare const getClosestNum: (arr: number[], target: number) => number;
26
27
  export declare const blockInvalidInteger: (e: React.KeyboardEvent) => false | void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-survey-components",
3
- "version": "1.0.310",
3
+ "version": "1.0.312",
4
4
  "description": "React Survey Ui Components",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.esm.js",