optimized-react-component-library-xyz123 2.4.1 → 2.5.2
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 +30 -1
- package/dist/index.d.ts +30 -1
- package/dist/index.js +1236 -982
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1268 -1017
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/darkMode.css +14 -0
- package/src/css/mobileView.css +9 -1
- package/src/css/questions.css +72 -4
- package/src/css/styles.css +43 -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
|
}
|
|
@@ -42,6 +44,8 @@ interface IOption {
|
|
|
42
44
|
label: string;
|
|
43
45
|
value?: string;
|
|
44
46
|
id?: string;
|
|
47
|
+
Info?: string;
|
|
48
|
+
info?: string;
|
|
45
49
|
}
|
|
46
50
|
interface IPTSLink {
|
|
47
51
|
title: string;
|
|
@@ -94,6 +98,7 @@ interface IQuestion {
|
|
|
94
98
|
questionGroupType?: string;
|
|
95
99
|
dependsOnOtherQuestion?: Array<any>;
|
|
96
100
|
questionExtraAttribute?: IQuestionExtraAttribute;
|
|
101
|
+
infoOnly?: ITextBlock;
|
|
97
102
|
languageSupport: Array<any>;
|
|
98
103
|
}
|
|
99
104
|
interface IQuestionExtraAttribute {
|
|
@@ -219,6 +224,24 @@ interface SingleCheckboxProps {
|
|
|
219
224
|
|
|
220
225
|
declare const SingleCheckbox: FC<SingleCheckboxProps>;
|
|
221
226
|
|
|
227
|
+
interface InfoOnlyProps {
|
|
228
|
+
question: IQuestion;
|
|
229
|
+
handleQuestionInputChange: any;
|
|
230
|
+
showPreview?: boolean;
|
|
231
|
+
activatedLanguage?: string;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
declare const InputInfoOnly: FC<InfoOnlyProps>;
|
|
235
|
+
|
|
236
|
+
interface RadioMultipleWithInfoProps {
|
|
237
|
+
question: IQuestion;
|
|
238
|
+
handleQuestionInputChange: any;
|
|
239
|
+
showPreview?: boolean;
|
|
240
|
+
activatedLanguage?: string;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
declare const RadioWithInfo: FC<RadioMultipleWithInfoProps>;
|
|
244
|
+
|
|
222
245
|
/**
|
|
223
246
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
224
247
|
*
|
|
@@ -876,6 +899,12 @@ interface CollapseProps {
|
|
|
876
899
|
|
|
877
900
|
declare const Collapse: FC<CollapseProps>;
|
|
878
901
|
|
|
902
|
+
interface AlertInTextProps {
|
|
903
|
+
content: string;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
declare const AlertInTextStandard: FC<AlertInTextProps>;
|
|
907
|
+
|
|
879
908
|
interface PrincipleOfPublicityProps {
|
|
880
909
|
activatedLanguage?: string;
|
|
881
910
|
}
|
|
@@ -982,4 +1011,4 @@ interface FormStatusMessagesProps {
|
|
|
982
1011
|
*/
|
|
983
1012
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
984
1013
|
|
|
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 };
|
|
1014
|
+
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 RadioMultipleWithInfoStandard, 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
|
}
|
|
@@ -42,6 +44,8 @@ interface IOption {
|
|
|
42
44
|
label: string;
|
|
43
45
|
value?: string;
|
|
44
46
|
id?: string;
|
|
47
|
+
Info?: string;
|
|
48
|
+
info?: string;
|
|
45
49
|
}
|
|
46
50
|
interface IPTSLink {
|
|
47
51
|
title: string;
|
|
@@ -94,6 +98,7 @@ interface IQuestion {
|
|
|
94
98
|
questionGroupType?: string;
|
|
95
99
|
dependsOnOtherQuestion?: Array<any>;
|
|
96
100
|
questionExtraAttribute?: IQuestionExtraAttribute;
|
|
101
|
+
infoOnly?: ITextBlock;
|
|
97
102
|
languageSupport: Array<any>;
|
|
98
103
|
}
|
|
99
104
|
interface IQuestionExtraAttribute {
|
|
@@ -219,6 +224,24 @@ interface SingleCheckboxProps {
|
|
|
219
224
|
|
|
220
225
|
declare const SingleCheckbox: FC<SingleCheckboxProps>;
|
|
221
226
|
|
|
227
|
+
interface InfoOnlyProps {
|
|
228
|
+
question: IQuestion;
|
|
229
|
+
handleQuestionInputChange: any;
|
|
230
|
+
showPreview?: boolean;
|
|
231
|
+
activatedLanguage?: string;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
declare const InputInfoOnly: FC<InfoOnlyProps>;
|
|
235
|
+
|
|
236
|
+
interface RadioMultipleWithInfoProps {
|
|
237
|
+
question: IQuestion;
|
|
238
|
+
handleQuestionInputChange: any;
|
|
239
|
+
showPreview?: boolean;
|
|
240
|
+
activatedLanguage?: string;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
declare const RadioWithInfo: FC<RadioMultipleWithInfoProps>;
|
|
244
|
+
|
|
222
245
|
/**
|
|
223
246
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
224
247
|
*
|
|
@@ -876,6 +899,12 @@ interface CollapseProps {
|
|
|
876
899
|
|
|
877
900
|
declare const Collapse: FC<CollapseProps>;
|
|
878
901
|
|
|
902
|
+
interface AlertInTextProps {
|
|
903
|
+
content: string;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
declare const AlertInTextStandard: FC<AlertInTextProps>;
|
|
907
|
+
|
|
879
908
|
interface PrincipleOfPublicityProps {
|
|
880
909
|
activatedLanguage?: string;
|
|
881
910
|
}
|
|
@@ -982,4 +1011,4 @@ interface FormStatusMessagesProps {
|
|
|
982
1011
|
*/
|
|
983
1012
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
984
1013
|
|
|
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 };
|
|
1014
|
+
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 RadioMultipleWithInfoStandard, 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 };
|