optimized-react-component-library-xyz123 2.2.19 → 2.3.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 +3 -16
- package/dist/index.d.ts +3 -16
- package/dist/index.js +200 -387
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +194 -380
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/darkMode.css +0 -10
- package/src/css/mobileView.css +1 -9
- package/src/css/questions.css +0 -62
- package/src/css/styles.css +3 -2
package/dist/index.d.mts
CHANGED
|
@@ -43,10 +43,6 @@ interface IOption {
|
|
|
43
43
|
value?: string;
|
|
44
44
|
id?: string;
|
|
45
45
|
}
|
|
46
|
-
interface IOptionInfoText {
|
|
47
|
-
selectedValue: string;
|
|
48
|
-
infoText: string;
|
|
49
|
-
}
|
|
50
46
|
interface IPTSLink {
|
|
51
47
|
title: string;
|
|
52
48
|
url: string;
|
|
@@ -85,7 +81,6 @@ interface IQuestion {
|
|
|
85
81
|
isQuestionMandatory?: boolean;
|
|
86
82
|
questionType?: string;
|
|
87
83
|
options?: Array<IOption>;
|
|
88
|
-
optionsInfoText?: Array<IOptionInfoText>;
|
|
89
84
|
visible?: boolean;
|
|
90
85
|
isDisplayed?: boolean;
|
|
91
86
|
hasValidationError?: boolean;
|
|
@@ -142,6 +137,7 @@ interface IAppSettings {
|
|
|
142
137
|
appUsesNavigation: boolean;
|
|
143
138
|
appCookies?: IAppSettingsCookies;
|
|
144
139
|
appUsesPreview?: boolean;
|
|
140
|
+
appUsesAsterisk?: boolean;
|
|
145
141
|
}
|
|
146
142
|
|
|
147
143
|
interface RadioProps {
|
|
@@ -151,7 +147,7 @@ interface RadioProps {
|
|
|
151
147
|
activatedLanguage?: string;
|
|
152
148
|
}
|
|
153
149
|
|
|
154
|
-
declare const InputRadio
|
|
150
|
+
declare const InputRadio: FC<RadioProps>;
|
|
155
151
|
|
|
156
152
|
interface MultipleCheckboxesProps {
|
|
157
153
|
question: IQuestion;
|
|
@@ -211,15 +207,6 @@ interface SingleCheckboxProps {
|
|
|
211
207
|
|
|
212
208
|
declare const SingleCheckbox: FC<SingleCheckboxProps>;
|
|
213
209
|
|
|
214
|
-
interface RadioMultipleWithInfoProps {
|
|
215
|
-
question: IQuestion;
|
|
216
|
-
handleQuestionInputChange: any;
|
|
217
|
-
showPreview?: boolean;
|
|
218
|
-
activatedLanguage?: string;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
declare const InputRadio: FC<RadioMultipleWithInfoProps>;
|
|
222
|
-
|
|
223
210
|
/**
|
|
224
211
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
225
212
|
*
|
|
@@ -912,4 +899,4 @@ interface FormStatusMessagesProps {
|
|
|
912
899
|
*/
|
|
913
900
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
914
901
|
|
|
915
|
-
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
|
|
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
|
@@ -43,10 +43,6 @@ interface IOption {
|
|
|
43
43
|
value?: string;
|
|
44
44
|
id?: string;
|
|
45
45
|
}
|
|
46
|
-
interface IOptionInfoText {
|
|
47
|
-
selectedValue: string;
|
|
48
|
-
infoText: string;
|
|
49
|
-
}
|
|
50
46
|
interface IPTSLink {
|
|
51
47
|
title: string;
|
|
52
48
|
url: string;
|
|
@@ -85,7 +81,6 @@ interface IQuestion {
|
|
|
85
81
|
isQuestionMandatory?: boolean;
|
|
86
82
|
questionType?: string;
|
|
87
83
|
options?: Array<IOption>;
|
|
88
|
-
optionsInfoText?: Array<IOptionInfoText>;
|
|
89
84
|
visible?: boolean;
|
|
90
85
|
isDisplayed?: boolean;
|
|
91
86
|
hasValidationError?: boolean;
|
|
@@ -142,6 +137,7 @@ interface IAppSettings {
|
|
|
142
137
|
appUsesNavigation: boolean;
|
|
143
138
|
appCookies?: IAppSettingsCookies;
|
|
144
139
|
appUsesPreview?: boolean;
|
|
140
|
+
appUsesAsterisk?: boolean;
|
|
145
141
|
}
|
|
146
142
|
|
|
147
143
|
interface RadioProps {
|
|
@@ -151,7 +147,7 @@ interface RadioProps {
|
|
|
151
147
|
activatedLanguage?: string;
|
|
152
148
|
}
|
|
153
149
|
|
|
154
|
-
declare const InputRadio
|
|
150
|
+
declare const InputRadio: FC<RadioProps>;
|
|
155
151
|
|
|
156
152
|
interface MultipleCheckboxesProps {
|
|
157
153
|
question: IQuestion;
|
|
@@ -211,15 +207,6 @@ interface SingleCheckboxProps {
|
|
|
211
207
|
|
|
212
208
|
declare const SingleCheckbox: FC<SingleCheckboxProps>;
|
|
213
209
|
|
|
214
|
-
interface RadioMultipleWithInfoProps {
|
|
215
|
-
question: IQuestion;
|
|
216
|
-
handleQuestionInputChange: any;
|
|
217
|
-
showPreview?: boolean;
|
|
218
|
-
activatedLanguage?: string;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
declare const InputRadio: FC<RadioMultipleWithInfoProps>;
|
|
222
|
-
|
|
223
210
|
/**
|
|
224
211
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
225
212
|
*
|
|
@@ -912,4 +899,4 @@ interface FormStatusMessagesProps {
|
|
|
912
899
|
*/
|
|
913
900
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
914
901
|
|
|
915
|
-
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
|
|
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 };
|