freemium-survey-components 1.0.276 → 1.0.277

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,2 @@
1
+ import './style.scss';
2
+ export declare const Tooltip: () => JSX.Element;
@@ -198,7 +198,7 @@ export declare type SurveyQuestionType = {
198
198
  question_weightage?: QuestionWeightageType | null;
199
199
  };
200
200
  declare type QuestionWeightageType = {
201
- is_choice_scoring_enabled: boolean;
201
+ is_scoring_enabled: boolean;
202
202
  weightage: {
203
203
  [key: string]: number;
204
204
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-survey-components",
3
- "version": "1.0.276",
3
+ "version": "1.0.277",
4
4
  "description": "React Survey Ui Components",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.esm.js",
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import { CommonProps } from '.';
3
- import type { Meta, StoryObj } from '@storybook/react';
4
- declare type EmailEmbedStoryProps = CommonProps & {};
5
- export declare const EmailEmbedStory: (props: EmailEmbedStoryProps) => JSX.Element;
6
- declare const meta: Meta<typeof EmailEmbedStory>;
7
- export default meta;
8
- declare type Story = StoryObj<typeof EmailEmbedStory>;
9
- export declare const Desktop: Story;
10
- export declare const Tablet: Story;
11
- export declare const Mobile: Story;
12
- export declare const MiniMobile: Story;
@@ -1,31 +0,0 @@
1
- /// <reference types="react" />
2
- import { ButtonStyleShapeTypes, ButtonStyleTypes, PropertiesLabelsPreferenceType, QuestionTypeVariantType, ScalePropertiesOrderType, WidgetStyles } from '../../types';
3
- declare type RangeStoryProps = {
4
- btShape: ButtonStyleShapeTypes;
5
- btType: ButtonStyleTypes;
6
- order: ScalePropertiesOrderType;
7
- preference: PropertiesLabelsPreferenceType;
8
- variant: QuestionTypeVariantType;
9
- labels: string[];
10
- scale: number;
11
- value: number;
12
- isMobile: boolean;
13
- isWidget: boolean;
14
- widgetStyle: WidgetStyles;
15
- };
16
- export declare const RangeStory: (props: RangeStoryProps) => JSX.Element;
17
- declare const _default: {
18
- title: string;
19
- component: (props: RangeStoryProps) => JSX.Element;
20
- argTypes: {
21
- scale: {
22
- control: {
23
- type: string;
24
- min: number;
25
- max: number;
26
- };
27
- };
28
- };
29
- args: RangeStoryProps;
30
- };
31
- export default _default;
@@ -1,8 +0,0 @@
1
- import { PointScaleRatingType, QuestionTypeVariantType } from '../../types';
2
- declare const Emoji: ({ highlight, index, type, scale, }: {
3
- highlight: boolean;
4
- index?: number | undefined;
5
- scale: PointScaleRatingType;
6
- type: Extract<QuestionTypeVariantType, 'STAR' | 'EMOJI'>;
7
- }) => JSX.Element;
8
- export default Emoji;
File without changes
@@ -1,3 +0,0 @@
1
- import { SurveyQuestionTypeInfo } from '../../types';
2
- export declare const getClassNames: (value: any, activeStarRating: any, type_variant: any, isDescending: any, range: any, propsValue: any) => string;
3
- export declare const isBinaryQuestion: (type_info: SurveyQuestionTypeInfo) => boolean;
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- import { QuestionTypeVariantType } from '../types';
2
- export declare const getIconName: (id: number, variant?: QuestionTypeVariantType | undefined) => string;
File without changes