@useloops/design-system 1.4.41 → 1.4.43
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.
- package/dist/esm/index.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -416,7 +416,7 @@ interface LikertOption {
|
|
|
416
416
|
interface LikertProps {
|
|
417
417
|
options: LikertOption[];
|
|
418
418
|
disabled?: boolean;
|
|
419
|
-
onChange: (
|
|
419
|
+
onChange: (value: LikertOption['value']) => void;
|
|
420
420
|
value: string;
|
|
421
421
|
sizing?: 'default' | 'lg';
|
|
422
422
|
internalChange?: () => void;
|
|
@@ -655,7 +655,7 @@ type DifferentialType = BaseField & DifferentialProps;
|
|
|
655
655
|
type LikertType = BaseField & LikertProps;
|
|
656
656
|
type RadioGroupType = BaseField & RadioGroupProps;
|
|
657
657
|
type DragAndDropRankingType = BaseField & RankProps;
|
|
658
|
-
type FieldType = 'textfield' | 'textarea' | 'select' | 'checkbox' | 'checkboxGroup' | 'slider' | 'differential' | 'likert' | 'starRating' | 'radioGroup' | 'text' | '
|
|
658
|
+
type FieldType = 'textfield' | 'textarea' | 'select' | 'checkbox' | 'checkboxGroup' | 'slider' | 'differential' | 'likert' | 'starRating' | 'radioGroup' | 'text' | 'ranking';
|
|
659
659
|
type FieldTypes = CheckboxType | CheckboxGroupType | SelectType | TextFieldType | SliderType | DifferentialType | LikertType | RadioGroupType | DragAndDropRankingType;
|
|
660
660
|
interface BaseField {
|
|
661
661
|
name: string;
|