optimized-react-component-library-xyz123 0.19.14 → 0.19.16
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 +11 -19
- package/dist/index.d.ts +11 -19
- package/dist/index.js +420 -459
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +431 -469
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/darkMode.css +38 -4
- package/src/css/mobileView.css +67 -5
- package/src/css/questions.css +44 -57
- package/src/css/styles.css +75 -23
package/dist/index.d.mts
CHANGED
|
@@ -96,7 +96,6 @@ interface IQuestionExtraAttribute {
|
|
|
96
96
|
inputMode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
|
|
97
97
|
spellCheck?: boolean;
|
|
98
98
|
autoCapitalize?: string;
|
|
99
|
-
numberOfTextFields?: number;
|
|
100
99
|
}
|
|
101
100
|
interface IStepQuestionData {
|
|
102
101
|
step: number;
|
|
@@ -119,10 +118,20 @@ interface RadioProps {
|
|
|
119
118
|
question: IQuestion;
|
|
120
119
|
handleQuestionInputChange: any;
|
|
121
120
|
showPreview?: boolean;
|
|
121
|
+
activatedLanguage?: string;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
declare const InputRadio: FC<RadioProps>;
|
|
125
125
|
|
|
126
|
+
interface MultipleCheckboxesProps {
|
|
127
|
+
question: IQuestion;
|
|
128
|
+
handleQuestionInputChange: any;
|
|
129
|
+
showPreview?: boolean;
|
|
130
|
+
activatedLanguage?: string;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
declare const MultipleCheckboxes: FC<MultipleCheckboxesProps>;
|
|
134
|
+
|
|
126
135
|
interface CheckboxGroupProps {
|
|
127
136
|
question: IQuestion;
|
|
128
137
|
handleQuestionInputChange: any;
|
|
@@ -172,23 +181,6 @@ interface SingleCheckboxProps {
|
|
|
172
181
|
|
|
173
182
|
declare const SingleCheckbox: FC<SingleCheckboxProps>;
|
|
174
183
|
|
|
175
|
-
interface DropdownProps {
|
|
176
|
-
question: IQuestion;
|
|
177
|
-
handleQuestionInputChange: any;
|
|
178
|
-
showPreview?: boolean;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
declare const CustomDropdownStandard: FC<DropdownProps>;
|
|
182
|
-
|
|
183
|
-
interface MultipleCheckboxesProps {
|
|
184
|
-
question: IQuestion;
|
|
185
|
-
handleQuestionInputChange: any;
|
|
186
|
-
showPreview?: boolean;
|
|
187
|
-
activatedLanguage?: string;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
declare const MultipleCheckboxes: FC<MultipleCheckboxesProps>;
|
|
191
|
-
|
|
192
184
|
/**
|
|
193
185
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
194
186
|
*
|
|
@@ -864,4 +856,4 @@ interface FormStatusMessagesProps {
|
|
|
864
856
|
*/
|
|
865
857
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
866
858
|
|
|
867
|
-
export { AddFiles as AddFilesStandard, CheckboxGroup as CheckboxGroupStandard, CookieBanner, type CookieConsentConfig,
|
|
859
|
+
export { AddFiles as AddFilesStandard, CheckboxGroup as CheckboxGroupStandard, CookieBanner, type CookieConsentConfig, EditPreviewLink as EditPreviewLinkStandard, Footer as FooterStandard, FormStatusMessagesScreenReader, Header as HeaderStandard, 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
|
@@ -96,7 +96,6 @@ interface IQuestionExtraAttribute {
|
|
|
96
96
|
inputMode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
|
|
97
97
|
spellCheck?: boolean;
|
|
98
98
|
autoCapitalize?: string;
|
|
99
|
-
numberOfTextFields?: number;
|
|
100
99
|
}
|
|
101
100
|
interface IStepQuestionData {
|
|
102
101
|
step: number;
|
|
@@ -119,10 +118,20 @@ interface RadioProps {
|
|
|
119
118
|
question: IQuestion;
|
|
120
119
|
handleQuestionInputChange: any;
|
|
121
120
|
showPreview?: boolean;
|
|
121
|
+
activatedLanguage?: string;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
declare const InputRadio: FC<RadioProps>;
|
|
125
125
|
|
|
126
|
+
interface MultipleCheckboxesProps {
|
|
127
|
+
question: IQuestion;
|
|
128
|
+
handleQuestionInputChange: any;
|
|
129
|
+
showPreview?: boolean;
|
|
130
|
+
activatedLanguage?: string;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
declare const MultipleCheckboxes: FC<MultipleCheckboxesProps>;
|
|
134
|
+
|
|
126
135
|
interface CheckboxGroupProps {
|
|
127
136
|
question: IQuestion;
|
|
128
137
|
handleQuestionInputChange: any;
|
|
@@ -172,23 +181,6 @@ interface SingleCheckboxProps {
|
|
|
172
181
|
|
|
173
182
|
declare const SingleCheckbox: FC<SingleCheckboxProps>;
|
|
174
183
|
|
|
175
|
-
interface DropdownProps {
|
|
176
|
-
question: IQuestion;
|
|
177
|
-
handleQuestionInputChange: any;
|
|
178
|
-
showPreview?: boolean;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
declare const CustomDropdownStandard: FC<DropdownProps>;
|
|
182
|
-
|
|
183
|
-
interface MultipleCheckboxesProps {
|
|
184
|
-
question: IQuestion;
|
|
185
|
-
handleQuestionInputChange: any;
|
|
186
|
-
showPreview?: boolean;
|
|
187
|
-
activatedLanguage?: string;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
declare const MultipleCheckboxes: FC<MultipleCheckboxesProps>;
|
|
191
|
-
|
|
192
184
|
/**
|
|
193
185
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
194
186
|
*
|
|
@@ -864,4 +856,4 @@ interface FormStatusMessagesProps {
|
|
|
864
856
|
*/
|
|
865
857
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
866
858
|
|
|
867
|
-
export { AddFiles as AddFilesStandard, CheckboxGroup as CheckboxGroupStandard, CookieBanner, type CookieConsentConfig,
|
|
859
|
+
export { AddFiles as AddFilesStandard, CheckboxGroup as CheckboxGroupStandard, CookieBanner, type CookieConsentConfig, EditPreviewLink as EditPreviewLinkStandard, Footer as FooterStandard, FormStatusMessagesScreenReader, Header as HeaderStandard, 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 };
|