optimized-react-component-library-xyz123 2.2.14 → 2.2.17

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
@@ -8,7 +8,6 @@ interface IApplicationContent {
8
8
  headline?: string;
9
9
  body?: string;
10
10
  linksForMoreInfo?: Array<IPTSLink>;
11
- alertInText?: string;
12
11
  pageTitle?: string;
13
12
  textblocks?: Array<ITextBlock>;
14
13
  textAboveStartButton?: string;
@@ -29,7 +28,6 @@ interface ITextBlock {
29
28
  headline?: string;
30
29
  body?: string;
31
30
  linksForMoreInfo?: Array<IPTSLink>;
32
- alertInText?: string;
33
31
  pageTitle?: string;
34
32
  textAboveStartButton?: string;
35
33
  }
@@ -48,7 +46,7 @@ interface IOption {
48
46
  interface IPTSLink {
49
47
  title: string;
50
48
  url: string;
51
- ariaLabel?: string;
49
+ ariaLabel: string;
52
50
  }
53
51
  interface IStepObject {
54
52
  step: number;
@@ -92,7 +90,6 @@ interface IQuestion {
92
90
  questionGroupType?: string;
93
91
  dependsOnOtherQuestion?: Array<any>;
94
92
  questionExtraAttribute?: IQuestionExtraAttribute;
95
- infoOnly?: ITextBlock;
96
93
  languageSupport: Array<any>;
97
94
  }
98
95
  interface IQuestionExtraAttribute {
@@ -149,7 +146,7 @@ interface RadioProps {
149
146
  activatedLanguage?: string;
150
147
  }
151
148
 
152
- declare const InputRadio: FC<RadioProps>;
149
+ declare const InputRadio$1: FC<RadioProps>;
153
150
 
154
151
  interface MultipleCheckboxesProps {
155
152
  question: IQuestion;
@@ -209,14 +206,14 @@ interface SingleCheckboxProps {
209
206
 
210
207
  declare const SingleCheckbox: FC<SingleCheckboxProps>;
211
208
 
212
- interface InfoOnlyProps {
209
+ interface RadioMultipleWithInfoProps {
213
210
  question: IQuestion;
214
211
  handleQuestionInputChange: any;
215
212
  showPreview?: boolean;
216
213
  activatedLanguage?: string;
217
214
  }
218
215
 
219
- declare const InputInfoOnly: FC<InfoOnlyProps>;
216
+ declare const InputRadio: FC<RadioMultipleWithInfoProps>;
220
217
 
221
218
  /**
222
219
  * Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
@@ -804,12 +801,6 @@ type SkipLinkProps = {
804
801
  };
805
802
  declare const SkipLink: FC<SkipLinkProps>;
806
803
 
807
- interface AlertInTextProps {
808
- content: string;
809
- }
810
-
811
- declare const AlertInTextStandard: FC<AlertInTextProps>;
812
-
813
804
  interface PrincipleOfPublicityProps {
814
805
  activatedLanguage?: string;
815
806
  }
@@ -916,4 +907,4 @@ interface FormStatusMessagesProps {
916
907
  */
917
908
  declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
918
909
 
919
- export { AddFiles as AddFilesStandard, AlertInTextStandard, CheckboxGroup as CheckboxGroupStandard, 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, 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 };
910
+ export { AddFiles as AddFilesStandard, CheckboxGroup as CheckboxGroupStandard, 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, type LanguageSupportConfig, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio$1 as RadioMultipleStandard, InputRadio as RadioMultipleWithInfoStandard, 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
@@ -8,7 +8,6 @@ interface IApplicationContent {
8
8
  headline?: string;
9
9
  body?: string;
10
10
  linksForMoreInfo?: Array<IPTSLink>;
11
- alertInText?: string;
12
11
  pageTitle?: string;
13
12
  textblocks?: Array<ITextBlock>;
14
13
  textAboveStartButton?: string;
@@ -29,7 +28,6 @@ interface ITextBlock {
29
28
  headline?: string;
30
29
  body?: string;
31
30
  linksForMoreInfo?: Array<IPTSLink>;
32
- alertInText?: string;
33
31
  pageTitle?: string;
34
32
  textAboveStartButton?: string;
35
33
  }
@@ -48,7 +46,7 @@ interface IOption {
48
46
  interface IPTSLink {
49
47
  title: string;
50
48
  url: string;
51
- ariaLabel?: string;
49
+ ariaLabel: string;
52
50
  }
53
51
  interface IStepObject {
54
52
  step: number;
@@ -92,7 +90,6 @@ interface IQuestion {
92
90
  questionGroupType?: string;
93
91
  dependsOnOtherQuestion?: Array<any>;
94
92
  questionExtraAttribute?: IQuestionExtraAttribute;
95
- infoOnly?: ITextBlock;
96
93
  languageSupport: Array<any>;
97
94
  }
98
95
  interface IQuestionExtraAttribute {
@@ -149,7 +146,7 @@ interface RadioProps {
149
146
  activatedLanguage?: string;
150
147
  }
151
148
 
152
- declare const InputRadio: FC<RadioProps>;
149
+ declare const InputRadio$1: FC<RadioProps>;
153
150
 
154
151
  interface MultipleCheckboxesProps {
155
152
  question: IQuestion;
@@ -209,14 +206,14 @@ interface SingleCheckboxProps {
209
206
 
210
207
  declare const SingleCheckbox: FC<SingleCheckboxProps>;
211
208
 
212
- interface InfoOnlyProps {
209
+ interface RadioMultipleWithInfoProps {
213
210
  question: IQuestion;
214
211
  handleQuestionInputChange: any;
215
212
  showPreview?: boolean;
216
213
  activatedLanguage?: string;
217
214
  }
218
215
 
219
- declare const InputInfoOnly: FC<InfoOnlyProps>;
216
+ declare const InputRadio: FC<RadioMultipleWithInfoProps>;
220
217
 
221
218
  /**
222
219
  * Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
@@ -804,12 +801,6 @@ type SkipLinkProps = {
804
801
  };
805
802
  declare const SkipLink: FC<SkipLinkProps>;
806
803
 
807
- interface AlertInTextProps {
808
- content: string;
809
- }
810
-
811
- declare const AlertInTextStandard: FC<AlertInTextProps>;
812
-
813
804
  interface PrincipleOfPublicityProps {
814
805
  activatedLanguage?: string;
815
806
  }
@@ -916,4 +907,4 @@ interface FormStatusMessagesProps {
916
907
  */
917
908
  declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
918
909
 
919
- export { AddFiles as AddFilesStandard, AlertInTextStandard, CheckboxGroup as CheckboxGroupStandard, 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, 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 };
910
+ export { AddFiles as AddFilesStandard, CheckboxGroup as CheckboxGroupStandard, 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, type LanguageSupportConfig, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio$1 as RadioMultipleStandard, InputRadio as RadioMultipleWithInfoStandard, 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 };