optimized-react-component-library-xyz123 2.2.8 → 2.2.11
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 +3 -20
- package/dist/index.d.ts +3 -20
- package/dist/index.js +378 -446
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +367 -433
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/styles.css +7 -33
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
|
|
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 {
|
|
@@ -140,6 +137,7 @@ interface IAppSettings {
|
|
|
140
137
|
appUsesNavigation: boolean;
|
|
141
138
|
appCookies?: IAppSettingsCookies;
|
|
142
139
|
appUsesPreview?: boolean;
|
|
140
|
+
appUsesAsterik?: boolean;
|
|
143
141
|
}
|
|
144
142
|
|
|
145
143
|
interface RadioProps {
|
|
@@ -209,15 +207,6 @@ interface SingleCheckboxProps {
|
|
|
209
207
|
|
|
210
208
|
declare const SingleCheckbox: FC<SingleCheckboxProps>;
|
|
211
209
|
|
|
212
|
-
interface InfoOnlyProps {
|
|
213
|
-
question: IQuestion;
|
|
214
|
-
handleQuestionInputChange: any;
|
|
215
|
-
showPreview?: boolean;
|
|
216
|
-
activatedLanguage?: string;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
declare const InputInfoOnly: FC<InfoOnlyProps>;
|
|
220
|
-
|
|
221
210
|
/**
|
|
222
211
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
223
212
|
*
|
|
@@ -804,12 +793,6 @@ type SkipLinkProps = {
|
|
|
804
793
|
};
|
|
805
794
|
declare const SkipLink: FC<SkipLinkProps>;
|
|
806
795
|
|
|
807
|
-
interface AlertInTextProps {
|
|
808
|
-
content: string;
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
declare const AlertInTextStandard: FC<AlertInTextProps>;
|
|
812
|
-
|
|
813
796
|
interface PrincipleOfPublicityProps {
|
|
814
797
|
activatedLanguage?: string;
|
|
815
798
|
}
|
|
@@ -916,4 +899,4 @@ interface FormStatusMessagesProps {
|
|
|
916
899
|
*/
|
|
917
900
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
918
901
|
|
|
919
|
-
export { AddFiles as AddFilesStandard,
|
|
902
|
+
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 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
|
@@ -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
|
|
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 {
|
|
@@ -140,6 +137,7 @@ interface IAppSettings {
|
|
|
140
137
|
appUsesNavigation: boolean;
|
|
141
138
|
appCookies?: IAppSettingsCookies;
|
|
142
139
|
appUsesPreview?: boolean;
|
|
140
|
+
appUsesAsterik?: boolean;
|
|
143
141
|
}
|
|
144
142
|
|
|
145
143
|
interface RadioProps {
|
|
@@ -209,15 +207,6 @@ interface SingleCheckboxProps {
|
|
|
209
207
|
|
|
210
208
|
declare const SingleCheckbox: FC<SingleCheckboxProps>;
|
|
211
209
|
|
|
212
|
-
interface InfoOnlyProps {
|
|
213
|
-
question: IQuestion;
|
|
214
|
-
handleQuestionInputChange: any;
|
|
215
|
-
showPreview?: boolean;
|
|
216
|
-
activatedLanguage?: string;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
declare const InputInfoOnly: FC<InfoOnlyProps>;
|
|
220
|
-
|
|
221
210
|
/**
|
|
222
211
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
223
212
|
*
|
|
@@ -804,12 +793,6 @@ type SkipLinkProps = {
|
|
|
804
793
|
};
|
|
805
794
|
declare const SkipLink: FC<SkipLinkProps>;
|
|
806
795
|
|
|
807
|
-
interface AlertInTextProps {
|
|
808
|
-
content: string;
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
declare const AlertInTextStandard: FC<AlertInTextProps>;
|
|
812
|
-
|
|
813
796
|
interface PrincipleOfPublicityProps {
|
|
814
797
|
activatedLanguage?: string;
|
|
815
798
|
}
|
|
@@ -916,4 +899,4 @@ interface FormStatusMessagesProps {
|
|
|
916
899
|
*/
|
|
917
900
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
918
901
|
|
|
919
|
-
export { AddFiles as AddFilesStandard,
|
|
902
|
+
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 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 };
|