optimized-react-component-library-xyz123 2.5.4 → 2.5.5
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 +12 -4
- package/dist/index.d.ts +12 -4
- package/dist/index.js +1927 -1741
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +927 -742
- 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 +1 -0
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
|
+
info?: string;
|
|
47
49
|
}
|
|
48
50
|
interface IPTSLink {
|
|
49
51
|
title: string;
|
|
@@ -145,8 +147,6 @@ interface IAppSettings {
|
|
|
145
147
|
appCookies?: IAppSettingsCookies;
|
|
146
148
|
appUsesPreview?: boolean;
|
|
147
149
|
appUsesAsterisk?: boolean;
|
|
148
|
-
appUsesResetButton?: boolean;
|
|
149
|
-
appUsesApi?: boolean;
|
|
150
150
|
}
|
|
151
151
|
type INavigationItem = {
|
|
152
152
|
label: {
|
|
@@ -233,6 +233,15 @@ interface InfoOnlyProps {
|
|
|
233
233
|
|
|
234
234
|
declare const InputInfoOnly: FC<InfoOnlyProps>;
|
|
235
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
|
+
|
|
236
245
|
/**
|
|
237
246
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
238
247
|
*
|
|
@@ -940,7 +949,6 @@ interface StepperButtonsProps {
|
|
|
940
949
|
onSubmitHandler?: (e: any) => void;
|
|
941
950
|
steps?: any[];
|
|
942
951
|
activeStep: number;
|
|
943
|
-
appUsesApi?: boolean;
|
|
944
952
|
}
|
|
945
953
|
|
|
946
954
|
/**
|
|
@@ -1003,4 +1011,4 @@ interface FormStatusMessagesProps {
|
|
|
1003
1011
|
*/
|
|
1004
1012
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
1005
1013
|
|
|
1006
|
-
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 };
|
|
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
|
@@ -44,6 +44,8 @@ interface IOption {
|
|
|
44
44
|
label: string;
|
|
45
45
|
value?: string;
|
|
46
46
|
id?: string;
|
|
47
|
+
Info?: string;
|
|
48
|
+
info?: string;
|
|
47
49
|
}
|
|
48
50
|
interface IPTSLink {
|
|
49
51
|
title: string;
|
|
@@ -145,8 +147,6 @@ interface IAppSettings {
|
|
|
145
147
|
appCookies?: IAppSettingsCookies;
|
|
146
148
|
appUsesPreview?: boolean;
|
|
147
149
|
appUsesAsterisk?: boolean;
|
|
148
|
-
appUsesResetButton?: boolean;
|
|
149
|
-
appUsesApi?: boolean;
|
|
150
150
|
}
|
|
151
151
|
type INavigationItem = {
|
|
152
152
|
label: {
|
|
@@ -233,6 +233,15 @@ interface InfoOnlyProps {
|
|
|
233
233
|
|
|
234
234
|
declare const InputInfoOnly: FC<InfoOnlyProps>;
|
|
235
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
|
+
|
|
236
245
|
/**
|
|
237
246
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
238
247
|
*
|
|
@@ -940,7 +949,6 @@ interface StepperButtonsProps {
|
|
|
940
949
|
onSubmitHandler?: (e: any) => void;
|
|
941
950
|
steps?: any[];
|
|
942
951
|
activeStep: number;
|
|
943
|
-
appUsesApi?: boolean;
|
|
944
952
|
}
|
|
945
953
|
|
|
946
954
|
/**
|
|
@@ -1003,4 +1011,4 @@ interface FormStatusMessagesProps {
|
|
|
1003
1011
|
*/
|
|
1004
1012
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
1005
1013
|
|
|
1006
|
-
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 };
|
|
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 };
|