optimized-react-component-library-xyz123 0.20.4 → 0.20.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 +10 -20
- package/dist/index.d.ts +10 -20
- package/dist/index.js +527 -618
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +519 -609
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -5
- package/src/css/darkMode.css +381 -344
- package/src/css/mobileView.css +67 -5
- package/src/css/questions.css +45 -45
- package/src/css/styles.css +98 -37
- package/src/icons/arrow-down-darkmode.svg +0 -5
- package/src/icons/arrow-down.svg +0 -5
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;
|
|
@@ -123,6 +122,15 @@ interface RadioProps {
|
|
|
123
122
|
|
|
124
123
|
declare const InputRadio: FC<RadioProps>;
|
|
125
124
|
|
|
125
|
+
interface MultipleCheckboxesProps {
|
|
126
|
+
question: IQuestion;
|
|
127
|
+
handleQuestionInputChange: any;
|
|
128
|
+
showPreview?: boolean;
|
|
129
|
+
activatedLanguage?: string;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
declare const MultipleCheckboxes: FC<MultipleCheckboxesProps>;
|
|
133
|
+
|
|
126
134
|
interface CheckboxGroupProps {
|
|
127
135
|
question: IQuestion;
|
|
128
136
|
handleQuestionInputChange: any;
|
|
@@ -172,24 +180,6 @@ interface SingleCheckboxProps {
|
|
|
172
180
|
|
|
173
181
|
declare const SingleCheckbox: FC<SingleCheckboxProps>;
|
|
174
182
|
|
|
175
|
-
interface DropdownProps {
|
|
176
|
-
question: IQuestion;
|
|
177
|
-
handleQuestionInputChange: any;
|
|
178
|
-
showPreview?: boolean;
|
|
179
|
-
activatedLanguage?: string;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
declare const CustomDropdownStandard: FC<DropdownProps>;
|
|
183
|
-
|
|
184
|
-
interface MultipleCheckboxesProps {
|
|
185
|
-
question: IQuestion;
|
|
186
|
-
handleQuestionInputChange: any;
|
|
187
|
-
showPreview?: boolean;
|
|
188
|
-
activatedLanguage?: string;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
declare const MultipleCheckboxes: FC<MultipleCheckboxesProps>;
|
|
192
|
-
|
|
193
183
|
/**
|
|
194
184
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
195
185
|
*
|
|
@@ -865,4 +855,4 @@ interface FormStatusMessagesProps {
|
|
|
865
855
|
*/
|
|
866
856
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
867
857
|
|
|
868
|
-
export { AddFiles as AddFilesStandard, CheckboxGroup as CheckboxGroupStandard, CookieBanner, type CookieConsentConfig,
|
|
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, 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;
|
|
@@ -123,6 +122,15 @@ interface RadioProps {
|
|
|
123
122
|
|
|
124
123
|
declare const InputRadio: FC<RadioProps>;
|
|
125
124
|
|
|
125
|
+
interface MultipleCheckboxesProps {
|
|
126
|
+
question: IQuestion;
|
|
127
|
+
handleQuestionInputChange: any;
|
|
128
|
+
showPreview?: boolean;
|
|
129
|
+
activatedLanguage?: string;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
declare const MultipleCheckboxes: FC<MultipleCheckboxesProps>;
|
|
133
|
+
|
|
126
134
|
interface CheckboxGroupProps {
|
|
127
135
|
question: IQuestion;
|
|
128
136
|
handleQuestionInputChange: any;
|
|
@@ -172,24 +180,6 @@ interface SingleCheckboxProps {
|
|
|
172
180
|
|
|
173
181
|
declare const SingleCheckbox: FC<SingleCheckboxProps>;
|
|
174
182
|
|
|
175
|
-
interface DropdownProps {
|
|
176
|
-
question: IQuestion;
|
|
177
|
-
handleQuestionInputChange: any;
|
|
178
|
-
showPreview?: boolean;
|
|
179
|
-
activatedLanguage?: string;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
declare const CustomDropdownStandard: FC<DropdownProps>;
|
|
183
|
-
|
|
184
|
-
interface MultipleCheckboxesProps {
|
|
185
|
-
question: IQuestion;
|
|
186
|
-
handleQuestionInputChange: any;
|
|
187
|
-
showPreview?: boolean;
|
|
188
|
-
activatedLanguage?: string;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
declare const MultipleCheckboxes: FC<MultipleCheckboxesProps>;
|
|
192
|
-
|
|
193
183
|
/**
|
|
194
184
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
195
185
|
*
|
|
@@ -865,4 +855,4 @@ interface FormStatusMessagesProps {
|
|
|
865
855
|
*/
|
|
866
856
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
867
857
|
|
|
868
|
-
export { AddFiles as AddFilesStandard, CheckboxGroup as CheckboxGroupStandard, CookieBanner, type CookieConsentConfig,
|
|
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, 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 };
|