optimized-react-component-library-xyz123 2.4.1 → 2.5.1
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 +19 -1
- package/dist/index.d.ts +19 -1
- package/dist/index.js +617 -548
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +589 -522
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/styles.css +42 -1
package/dist/index.d.mts
CHANGED
|
@@ -8,6 +8,7 @@ interface IApplicationContent {
|
|
|
8
8
|
headline?: string;
|
|
9
9
|
body?: string;
|
|
10
10
|
linksForMoreInfo?: Array<IPTSLink>;
|
|
11
|
+
alertInText?: string;
|
|
11
12
|
pageTitle?: string;
|
|
12
13
|
textblocks?: Array<ITextBlock>;
|
|
13
14
|
textAboveStartButton?: string;
|
|
@@ -28,6 +29,7 @@ interface ITextBlock {
|
|
|
28
29
|
headline?: string;
|
|
29
30
|
body?: string;
|
|
30
31
|
linksForMoreInfo?: Array<IPTSLink>;
|
|
32
|
+
alertInText?: string;
|
|
31
33
|
pageTitle?: string;
|
|
32
34
|
textAboveStartButton?: string;
|
|
33
35
|
}
|
|
@@ -94,6 +96,7 @@ interface IQuestion {
|
|
|
94
96
|
questionGroupType?: string;
|
|
95
97
|
dependsOnOtherQuestion?: Array<any>;
|
|
96
98
|
questionExtraAttribute?: IQuestionExtraAttribute;
|
|
99
|
+
infoOnly?: ITextBlock;
|
|
97
100
|
languageSupport: Array<any>;
|
|
98
101
|
}
|
|
99
102
|
interface IQuestionExtraAttribute {
|
|
@@ -219,6 +222,15 @@ interface SingleCheckboxProps {
|
|
|
219
222
|
|
|
220
223
|
declare const SingleCheckbox: FC<SingleCheckboxProps>;
|
|
221
224
|
|
|
225
|
+
interface InfoOnlyProps {
|
|
226
|
+
question: IQuestion;
|
|
227
|
+
handleQuestionInputChange: any;
|
|
228
|
+
showPreview?: boolean;
|
|
229
|
+
activatedLanguage?: string;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
declare const InputInfoOnly: FC<InfoOnlyProps>;
|
|
233
|
+
|
|
222
234
|
/**
|
|
223
235
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
224
236
|
*
|
|
@@ -876,6 +888,12 @@ interface CollapseProps {
|
|
|
876
888
|
|
|
877
889
|
declare const Collapse: FC<CollapseProps>;
|
|
878
890
|
|
|
891
|
+
interface AlertInTextProps {
|
|
892
|
+
content: string;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
declare const AlertInTextStandard: FC<AlertInTextProps>;
|
|
896
|
+
|
|
879
897
|
interface PrincipleOfPublicityProps {
|
|
880
898
|
activatedLanguage?: string;
|
|
881
899
|
}
|
|
@@ -982,4 +1000,4 @@ interface FormStatusMessagesProps {
|
|
|
982
1000
|
*/
|
|
983
1001
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
984
1002
|
|
|
985
|
-
export { AddFiles as AddFilesStandard, 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, 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, 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 };
|
|
1003
|
+
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, 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,6 +8,7 @@ interface IApplicationContent {
|
|
|
8
8
|
headline?: string;
|
|
9
9
|
body?: string;
|
|
10
10
|
linksForMoreInfo?: Array<IPTSLink>;
|
|
11
|
+
alertInText?: string;
|
|
11
12
|
pageTitle?: string;
|
|
12
13
|
textblocks?: Array<ITextBlock>;
|
|
13
14
|
textAboveStartButton?: string;
|
|
@@ -28,6 +29,7 @@ interface ITextBlock {
|
|
|
28
29
|
headline?: string;
|
|
29
30
|
body?: string;
|
|
30
31
|
linksForMoreInfo?: Array<IPTSLink>;
|
|
32
|
+
alertInText?: string;
|
|
31
33
|
pageTitle?: string;
|
|
32
34
|
textAboveStartButton?: string;
|
|
33
35
|
}
|
|
@@ -94,6 +96,7 @@ interface IQuestion {
|
|
|
94
96
|
questionGroupType?: string;
|
|
95
97
|
dependsOnOtherQuestion?: Array<any>;
|
|
96
98
|
questionExtraAttribute?: IQuestionExtraAttribute;
|
|
99
|
+
infoOnly?: ITextBlock;
|
|
97
100
|
languageSupport: Array<any>;
|
|
98
101
|
}
|
|
99
102
|
interface IQuestionExtraAttribute {
|
|
@@ -219,6 +222,15 @@ interface SingleCheckboxProps {
|
|
|
219
222
|
|
|
220
223
|
declare const SingleCheckbox: FC<SingleCheckboxProps>;
|
|
221
224
|
|
|
225
|
+
interface InfoOnlyProps {
|
|
226
|
+
question: IQuestion;
|
|
227
|
+
handleQuestionInputChange: any;
|
|
228
|
+
showPreview?: boolean;
|
|
229
|
+
activatedLanguage?: string;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
declare const InputInfoOnly: FC<InfoOnlyProps>;
|
|
233
|
+
|
|
222
234
|
/**
|
|
223
235
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
224
236
|
*
|
|
@@ -876,6 +888,12 @@ interface CollapseProps {
|
|
|
876
888
|
|
|
877
889
|
declare const Collapse: FC<CollapseProps>;
|
|
878
890
|
|
|
891
|
+
interface AlertInTextProps {
|
|
892
|
+
content: string;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
declare const AlertInTextStandard: FC<AlertInTextProps>;
|
|
896
|
+
|
|
879
897
|
interface PrincipleOfPublicityProps {
|
|
880
898
|
activatedLanguage?: string;
|
|
881
899
|
}
|
|
@@ -982,4 +1000,4 @@ interface FormStatusMessagesProps {
|
|
|
982
1000
|
*/
|
|
983
1001
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
984
1002
|
|
|
985
|
-
export { AddFiles as AddFilesStandard, 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, 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, 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 };
|
|
1003
|
+
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, 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 };
|