optimized-react-component-library-xyz123 0.20.1 → 0.20.3

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/index.d.mts CHANGED
@@ -96,6 +96,7 @@ interface IQuestionExtraAttribute {
96
96
  inputMode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
97
97
  spellCheck?: boolean;
98
98
  autoCapitalize?: string;
99
+ numberOfTextFields?: number;
99
100
  }
100
101
  interface IStepQuestionData {
101
102
  step: number;
@@ -122,15 +123,6 @@ interface RadioProps {
122
123
 
123
124
  declare const InputRadio: FC<RadioProps>;
124
125
 
125
- interface MultipleCheckboxesProps {
126
- question: IQuestion;
127
- handleQuestionInputChange: any;
128
- showPreview?: boolean;
129
- activatedLanguage?: string;
130
- }
131
-
132
- declare const MultipleCheckboxes: FC<MultipleCheckboxesProps>;
133
-
134
126
  interface CheckboxGroupProps {
135
127
  question: IQuestion;
136
128
  handleQuestionInputChange: any;
@@ -180,6 +172,24 @@ interface SingleCheckboxProps {
180
172
 
181
173
  declare const SingleCheckbox: FC<SingleCheckboxProps>;
182
174
 
175
+ interface DropdownProps {
176
+ question: IQuestion;
177
+ handleQuestionInputChange: any;
178
+ showPreview?: boolean;
179
+ activatedLanguage?: string;
180
+ }
181
+
182
+ declare const CustomDropdownStandard: FC<DropdownProps>;
183
+
184
+ interface MultipleCheckboxesProps {
185
+ question: IQuestion;
186
+ handleQuestionInputChange: any;
187
+ showPreview?: boolean;
188
+ activatedLanguage?: string;
189
+ }
190
+
191
+ declare const MultipleCheckboxes: FC<MultipleCheckboxesProps>;
192
+
183
193
  /**
184
194
  * Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
185
195
  *
@@ -855,4 +865,4 @@ interface FormStatusMessagesProps {
855
865
  */
856
866
  declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
857
867
 
858
- export { AddFiles as AddFilesStandard, CheckboxGroup as CheckboxGroupStandard, CookieBanner, type CookieConsentConfig, EditPreviewLink as EditPreviewLinkStandard, Footer as FooterStandard, FormStatusMessagesScreenReader, Header as HeaderStandard, type IApplicationContent, type IFormState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, type LanguageSupportConfig, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, SingleCheckbox as SingleCheckboxStandard, SkipLink as SkipLinkStandard, StartApplicationButton, StepperButtons as StepperButtonsStandard, Stepper as StepperStandard, InputTextarea as TextAreaStandard, TextBody, TextFieldStandard, ValidationErrorSummaryList, buildStepCategoryGroupQuestionStructure, createApiDataObject, createCookieConsent, createFormSlice, createGlobalLanguageSlice, createGlobalLanguageSlice as createLanguageSlice, createFormSlice as createQuestionsSlice, findVisibleQuestionsWithValidationErrors, focusElement, getGroupCheckIds, hasQuestionValidationError, isQuestionDependencySatisfied, isScriptLoaded, makeFormSelectors, makeglobalLanguageSelectors as makeLanguageSelectors, makeFormSelectors as makeQuestionsSelectors, makeglobalLanguageSelectors, preparePreviewData, removeScriptById, toggleScriptByConsent, updateQuestionsAndCategoriesVisibilityAndErrors, useCookieConsent, useFormStatusModal, useInputMethodDetection, usePTSPageTitle };
868
+ export { AddFiles as AddFilesStandard, CheckboxGroup as CheckboxGroupStandard, CookieBanner, type CookieConsentConfig, CustomDropdownStandard as DropdownStandard, EditPreviewLink as EditPreviewLinkStandard, Footer as FooterStandard, FormStatusMessagesScreenReader, Header as HeaderStandard, type IApplicationContent, type IFormState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, type LanguageSupportConfig, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, SingleCheckbox as SingleCheckboxStandard, SkipLink as SkipLinkStandard, StartApplicationButton, StepperButtons as StepperButtonsStandard, Stepper as StepperStandard, InputTextarea as TextAreaStandard, TextBody, TextFieldStandard, ValidationErrorSummaryList, buildStepCategoryGroupQuestionStructure, createApiDataObject, createCookieConsent, createFormSlice, createGlobalLanguageSlice, createGlobalLanguageSlice as createLanguageSlice, createFormSlice as createQuestionsSlice, findVisibleQuestionsWithValidationErrors, focusElement, getGroupCheckIds, hasQuestionValidationError, isQuestionDependencySatisfied, isScriptLoaded, makeFormSelectors, makeglobalLanguageSelectors as makeLanguageSelectors, makeFormSelectors as makeQuestionsSelectors, makeglobalLanguageSelectors, preparePreviewData, removeScriptById, toggleScriptByConsent, updateQuestionsAndCategoriesVisibilityAndErrors, useCookieConsent, useFormStatusModal, useInputMethodDetection, usePTSPageTitle };
package/dist/index.d.ts CHANGED
@@ -96,6 +96,7 @@ interface IQuestionExtraAttribute {
96
96
  inputMode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
97
97
  spellCheck?: boolean;
98
98
  autoCapitalize?: string;
99
+ numberOfTextFields?: number;
99
100
  }
100
101
  interface IStepQuestionData {
101
102
  step: number;
@@ -122,15 +123,6 @@ interface RadioProps {
122
123
 
123
124
  declare const InputRadio: FC<RadioProps>;
124
125
 
125
- interface MultipleCheckboxesProps {
126
- question: IQuestion;
127
- handleQuestionInputChange: any;
128
- showPreview?: boolean;
129
- activatedLanguage?: string;
130
- }
131
-
132
- declare const MultipleCheckboxes: FC<MultipleCheckboxesProps>;
133
-
134
126
  interface CheckboxGroupProps {
135
127
  question: IQuestion;
136
128
  handleQuestionInputChange: any;
@@ -180,6 +172,24 @@ interface SingleCheckboxProps {
180
172
 
181
173
  declare const SingleCheckbox: FC<SingleCheckboxProps>;
182
174
 
175
+ interface DropdownProps {
176
+ question: IQuestion;
177
+ handleQuestionInputChange: any;
178
+ showPreview?: boolean;
179
+ activatedLanguage?: string;
180
+ }
181
+
182
+ declare const CustomDropdownStandard: FC<DropdownProps>;
183
+
184
+ interface MultipleCheckboxesProps {
185
+ question: IQuestion;
186
+ handleQuestionInputChange: any;
187
+ showPreview?: boolean;
188
+ activatedLanguage?: string;
189
+ }
190
+
191
+ declare const MultipleCheckboxes: FC<MultipleCheckboxesProps>;
192
+
183
193
  /**
184
194
  * Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
185
195
  *
@@ -855,4 +865,4 @@ interface FormStatusMessagesProps {
855
865
  */
856
866
  declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
857
867
 
858
- export { AddFiles as AddFilesStandard, CheckboxGroup as CheckboxGroupStandard, CookieBanner, type CookieConsentConfig, EditPreviewLink as EditPreviewLinkStandard, Footer as FooterStandard, FormStatusMessagesScreenReader, Header as HeaderStandard, type IApplicationContent, type IFormState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, type LanguageSupportConfig, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, SingleCheckbox as SingleCheckboxStandard, SkipLink as SkipLinkStandard, StartApplicationButton, StepperButtons as StepperButtonsStandard, Stepper as StepperStandard, InputTextarea as TextAreaStandard, TextBody, TextFieldStandard, ValidationErrorSummaryList, buildStepCategoryGroupQuestionStructure, createApiDataObject, createCookieConsent, createFormSlice, createGlobalLanguageSlice, createGlobalLanguageSlice as createLanguageSlice, createFormSlice as createQuestionsSlice, findVisibleQuestionsWithValidationErrors, focusElement, getGroupCheckIds, hasQuestionValidationError, isQuestionDependencySatisfied, isScriptLoaded, makeFormSelectors, makeglobalLanguageSelectors as makeLanguageSelectors, makeFormSelectors as makeQuestionsSelectors, makeglobalLanguageSelectors, preparePreviewData, removeScriptById, toggleScriptByConsent, updateQuestionsAndCategoriesVisibilityAndErrors, useCookieConsent, useFormStatusModal, useInputMethodDetection, usePTSPageTitle };
868
+ export { AddFiles as AddFilesStandard, CheckboxGroup as CheckboxGroupStandard, CookieBanner, type CookieConsentConfig, CustomDropdownStandard as DropdownStandard, EditPreviewLink as EditPreviewLinkStandard, Footer as FooterStandard, FormStatusMessagesScreenReader, Header as HeaderStandard, type IApplicationContent, type IFormState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, type LanguageSupportConfig, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, SingleCheckbox as SingleCheckboxStandard, SkipLink as SkipLinkStandard, StartApplicationButton, StepperButtons as StepperButtonsStandard, Stepper as StepperStandard, InputTextarea as TextAreaStandard, TextBody, TextFieldStandard, ValidationErrorSummaryList, buildStepCategoryGroupQuestionStructure, createApiDataObject, createCookieConsent, createFormSlice, createGlobalLanguageSlice, createGlobalLanguageSlice as createLanguageSlice, createFormSlice as createQuestionsSlice, findVisibleQuestionsWithValidationErrors, focusElement, getGroupCheckIds, hasQuestionValidationError, isQuestionDependencySatisfied, isScriptLoaded, makeFormSelectors, makeglobalLanguageSelectors as makeLanguageSelectors, makeFormSelectors as makeQuestionsSelectors, makeglobalLanguageSelectors, preparePreviewData, removeScriptById, toggleScriptByConsent, updateQuestionsAndCategoriesVisibilityAndErrors, useCookieConsent, useFormStatusModal, useInputMethodDetection, usePTSPageTitle };