optimized-react-component-library-xyz123 0.13.1 → 0.13.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 +12 -3
- package/dist/index.d.ts +12 -3
- package/dist/index.js +399 -287
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +399 -288
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/darkMode.css +0 -8
- package/src/css/mobileView.css +3 -40
- package/src/css/questions.css +56 -8
- package/src/css/styles.css +2 -21
package/dist/index.d.mts
CHANGED
|
@@ -96,6 +96,7 @@ interface IQuestionExtraAttribute {
|
|
|
96
96
|
inputMode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
|
|
97
97
|
spellCheck?: boolean;
|
|
98
98
|
autoCapitalize?: string;
|
|
99
|
+
numberOfTextFields?: number;
|
|
99
100
|
}
|
|
100
101
|
interface IStepQuestionData {
|
|
101
102
|
step: number;
|
|
@@ -122,14 +123,14 @@ interface RadioProps {
|
|
|
122
123
|
|
|
123
124
|
declare const InputRadio: FC<RadioProps>;
|
|
124
125
|
|
|
125
|
-
interface
|
|
126
|
+
interface MultipleTextFieldProps {
|
|
126
127
|
question: IQuestion;
|
|
127
128
|
handleQuestionInputChange: any;
|
|
128
129
|
showPreview?: boolean;
|
|
129
130
|
activatedLanguage?: string;
|
|
130
131
|
}
|
|
131
132
|
|
|
132
|
-
declare const
|
|
133
|
+
declare const MultipleTextField: FC<MultipleTextFieldProps>;
|
|
133
134
|
|
|
134
135
|
interface CheckboxGroupProps {
|
|
135
136
|
question: IQuestion;
|
|
@@ -180,6 +181,14 @@ interface SingleCheckboxProps {
|
|
|
180
181
|
|
|
181
182
|
declare const SingleCheckbox: FC<SingleCheckboxProps>;
|
|
182
183
|
|
|
184
|
+
interface DropdownProps {
|
|
185
|
+
question: IQuestion;
|
|
186
|
+
handleQuestionInputChange: any;
|
|
187
|
+
showPreview?: boolean;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
declare const CustomDropdownStandard: FC<DropdownProps>;
|
|
191
|
+
|
|
183
192
|
/**
|
|
184
193
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
185
194
|
*
|
|
@@ -855,4 +864,4 @@ interface FormStatusMessagesProps {
|
|
|
855
864
|
*/
|
|
856
865
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
857
866
|
|
|
858
|
-
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,
|
|
867
|
+
export { AddFiles as AddFilesStandard, CheckboxGroup as CheckboxGroupStandard, CookieBanner, type CookieConsentConfig, CustomDropdownStandard as DropdownStandard, 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, MultipleTextField 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,6 +96,7 @@ interface IQuestionExtraAttribute {
|
|
|
96
96
|
inputMode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
|
|
97
97
|
spellCheck?: boolean;
|
|
98
98
|
autoCapitalize?: string;
|
|
99
|
+
numberOfTextFields?: number;
|
|
99
100
|
}
|
|
100
101
|
interface IStepQuestionData {
|
|
101
102
|
step: number;
|
|
@@ -122,14 +123,14 @@ interface RadioProps {
|
|
|
122
123
|
|
|
123
124
|
declare const InputRadio: FC<RadioProps>;
|
|
124
125
|
|
|
125
|
-
interface
|
|
126
|
+
interface MultipleTextFieldProps {
|
|
126
127
|
question: IQuestion;
|
|
127
128
|
handleQuestionInputChange: any;
|
|
128
129
|
showPreview?: boolean;
|
|
129
130
|
activatedLanguage?: string;
|
|
130
131
|
}
|
|
131
132
|
|
|
132
|
-
declare const
|
|
133
|
+
declare const MultipleTextField: FC<MultipleTextFieldProps>;
|
|
133
134
|
|
|
134
135
|
interface CheckboxGroupProps {
|
|
135
136
|
question: IQuestion;
|
|
@@ -180,6 +181,14 @@ interface SingleCheckboxProps {
|
|
|
180
181
|
|
|
181
182
|
declare const SingleCheckbox: FC<SingleCheckboxProps>;
|
|
182
183
|
|
|
184
|
+
interface DropdownProps {
|
|
185
|
+
question: IQuestion;
|
|
186
|
+
handleQuestionInputChange: any;
|
|
187
|
+
showPreview?: boolean;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
declare const CustomDropdownStandard: FC<DropdownProps>;
|
|
191
|
+
|
|
183
192
|
/**
|
|
184
193
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
185
194
|
*
|
|
@@ -855,4 +864,4 @@ interface FormStatusMessagesProps {
|
|
|
855
864
|
*/
|
|
856
865
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
857
866
|
|
|
858
|
-
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,
|
|
867
|
+
export { AddFiles as AddFilesStandard, CheckboxGroup as CheckboxGroupStandard, CookieBanner, type CookieConsentConfig, CustomDropdownStandard as DropdownStandard, 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, MultipleTextField 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 };
|