optimized-react-component-library-xyz123 2.5.10 → 2.5.12

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
@@ -44,6 +44,8 @@ interface IOption {
44
44
  label: string;
45
45
  value?: string;
46
46
  id?: string;
47
+ info?: string;
48
+ optionCategory?: string;
47
49
  }
48
50
  interface IPTSLink {
49
51
  title: string;
@@ -233,6 +235,15 @@ interface InfoOnlyProps {
233
235
 
234
236
  declare const InputInfoOnly: FC<InfoOnlyProps>;
235
237
 
238
+ interface RadioMultipleWithInfo2Props {
239
+ question: IQuestion;
240
+ handleQuestionInputChange: any;
241
+ showPreview?: boolean;
242
+ activatedLanguage?: string;
243
+ }
244
+
245
+ declare const RadioWithInfo: FC<RadioMultipleWithInfo2Props>;
246
+
236
247
  /**
237
248
  * Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
238
249
  *
@@ -983,7 +994,6 @@ interface StepperButtonsNoApiProps {
983
994
  globalLanguageState?: any;
984
995
  changeStepHandler: (activeStep: number) => void;
985
996
  nextStepButtonHandler?: (e: any) => void;
986
- onSubmitHandler?: (e: any) => void;
987
997
  steps?: any[];
988
998
  activeStep: number;
989
999
  appUsesResetButton?: boolean;
@@ -1004,8 +1014,6 @@ interface StepperButtonsNoApiProps {
1004
1014
  *
1005
1015
  * @param {Function} nextStepButtonHandler Callback när användaren går till nästa steg.
1006
1016
  *
1007
- * @param {Function} onSubmitHandler Callback när sista steget nås och formuläret ska skickas in.
1008
- *
1009
1017
  * @param {Array} steps Lista över alla steg i formuläret.
1010
1018
  * Används för att räkna ut sista stegnumret.
1011
1019
  *
@@ -1042,4 +1050,4 @@ interface FormStatusMessagesProps {
1042
1050
  */
1043
1051
  declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
1044
1052
 
1045
- export { AddFiles as AddFilesStandard, AlertInTextStandard, CheckboxGroup as CheckboxGroupStandard, Collapse, CookieBanner, type CookieConsentConfig, EditPreviewLink as EditPreviewLinkStandard, Footer as FooterStandard, FormStatusMessagesScreenReader, Header as HeaderStandard, type IAppSettings, type IAppSettingsCookies, type IApplicationContent, type IFormState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, InputInfoOnly as InfoOnlyStandard, type LanguageSupportConfig, LinkList as LinkListStandard, LinkStandard, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, Navigation, NavigationHeader, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, SearchBar, SingleCheckbox as SingleCheckboxStandard, SkipLink as SkipLinkStandard, StartApplicationButton, StepperButtonsNoApi as StepperButtonsNoApiStandard, 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 };
1053
+ export { AddFiles as AddFilesStandard, AlertInTextStandard, CheckboxGroup as CheckboxGroupStandard, Collapse, CookieBanner, type CookieConsentConfig, EditPreviewLink as EditPreviewLinkStandard, Footer as FooterStandard, FormStatusMessagesScreenReader, Header as HeaderStandard, type IAppSettings, type IAppSettingsCookies, type IApplicationContent, type IFormState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, InputInfoOnly as InfoOnlyStandard, type LanguageSupportConfig, LinkList as LinkListStandard, LinkStandard, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, Navigation, NavigationHeader, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, RadioWithInfo as RadioMultipleWithInfo2Standard, SearchBar, SingleCheckbox as SingleCheckboxStandard, SkipLink as SkipLinkStandard, StartApplicationButton, StepperButtonsNoApi as StepperButtonsNoApiStandard, 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
@@ -44,6 +44,8 @@ interface IOption {
44
44
  label: string;
45
45
  value?: string;
46
46
  id?: string;
47
+ info?: string;
48
+ optionCategory?: string;
47
49
  }
48
50
  interface IPTSLink {
49
51
  title: string;
@@ -233,6 +235,15 @@ interface InfoOnlyProps {
233
235
 
234
236
  declare const InputInfoOnly: FC<InfoOnlyProps>;
235
237
 
238
+ interface RadioMultipleWithInfo2Props {
239
+ question: IQuestion;
240
+ handleQuestionInputChange: any;
241
+ showPreview?: boolean;
242
+ activatedLanguage?: string;
243
+ }
244
+
245
+ declare const RadioWithInfo: FC<RadioMultipleWithInfo2Props>;
246
+
236
247
  /**
237
248
  * Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
238
249
  *
@@ -983,7 +994,6 @@ interface StepperButtonsNoApiProps {
983
994
  globalLanguageState?: any;
984
995
  changeStepHandler: (activeStep: number) => void;
985
996
  nextStepButtonHandler?: (e: any) => void;
986
- onSubmitHandler?: (e: any) => void;
987
997
  steps?: any[];
988
998
  activeStep: number;
989
999
  appUsesResetButton?: boolean;
@@ -1004,8 +1014,6 @@ interface StepperButtonsNoApiProps {
1004
1014
  *
1005
1015
  * @param {Function} nextStepButtonHandler Callback när användaren går till nästa steg.
1006
1016
  *
1007
- * @param {Function} onSubmitHandler Callback när sista steget nås och formuläret ska skickas in.
1008
- *
1009
1017
  * @param {Array} steps Lista över alla steg i formuläret.
1010
1018
  * Används för att räkna ut sista stegnumret.
1011
1019
  *
@@ -1042,4 +1050,4 @@ interface FormStatusMessagesProps {
1042
1050
  */
1043
1051
  declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
1044
1052
 
1045
- export { AddFiles as AddFilesStandard, AlertInTextStandard, CheckboxGroup as CheckboxGroupStandard, Collapse, CookieBanner, type CookieConsentConfig, EditPreviewLink as EditPreviewLinkStandard, Footer as FooterStandard, FormStatusMessagesScreenReader, Header as HeaderStandard, type IAppSettings, type IAppSettingsCookies, type IApplicationContent, type IFormState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, InputInfoOnly as InfoOnlyStandard, type LanguageSupportConfig, LinkList as LinkListStandard, LinkStandard, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, Navigation, NavigationHeader, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, SearchBar, SingleCheckbox as SingleCheckboxStandard, SkipLink as SkipLinkStandard, StartApplicationButton, StepperButtonsNoApi as StepperButtonsNoApiStandard, 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 };
1053
+ export { AddFiles as AddFilesStandard, AlertInTextStandard, CheckboxGroup as CheckboxGroupStandard, Collapse, CookieBanner, type CookieConsentConfig, EditPreviewLink as EditPreviewLinkStandard, Footer as FooterStandard, FormStatusMessagesScreenReader, Header as HeaderStandard, type IAppSettings, type IAppSettingsCookies, type IApplicationContent, type IFormState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, InputInfoOnly as InfoOnlyStandard, type LanguageSupportConfig, LinkList as LinkListStandard, LinkStandard, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, Navigation, NavigationHeader, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, RadioWithInfo as RadioMultipleWithInfo2Standard, SearchBar, SingleCheckbox as SingleCheckboxStandard, SkipLink as SkipLinkStandard, StartApplicationButton, StepperButtonsNoApi as StepperButtonsNoApiStandard, 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 };