optimized-react-component-library-xyz123 1.0.2 → 1.0.3
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 +401 -482
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +393 -473
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -5
- package/src/css/darkMode.css +0 -8
- package/src/css/mobileView.css +1 -1
- package/src/css/questions.css +3 -39
- package/src/css/styles.css +1 -1
- package/src/icons/arrow-down-darkmode.svg +0 -5
- package/src/icons/arrow-down.svg +0 -5
package/dist/index.d.mts
CHANGED
|
@@ -103,7 +103,6 @@ interface IQuestionExtraAttribute {
|
|
|
103
103
|
inputMode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
|
|
104
104
|
spellCheck?: boolean;
|
|
105
105
|
autoCapitalize?: string;
|
|
106
|
-
numberOfTextFields?: number;
|
|
107
106
|
}
|
|
108
107
|
interface IUploadedFile {
|
|
109
108
|
FileName: string;
|
|
@@ -148,6 +147,15 @@ interface RadioProps {
|
|
|
148
147
|
|
|
149
148
|
declare const InputRadio: FC<RadioProps>;
|
|
150
149
|
|
|
150
|
+
interface MultipleCheckboxesProps {
|
|
151
|
+
question: IQuestion;
|
|
152
|
+
handleQuestionInputChange: any;
|
|
153
|
+
showPreview?: boolean;
|
|
154
|
+
activatedLanguage?: string;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
declare const MultipleCheckboxes: FC<MultipleCheckboxesProps>;
|
|
158
|
+
|
|
151
159
|
interface CheckboxGroupProps {
|
|
152
160
|
question: IQuestion;
|
|
153
161
|
handleQuestionInputChange: any;
|
|
@@ -197,24 +205,6 @@ interface SingleCheckboxProps {
|
|
|
197
205
|
|
|
198
206
|
declare const SingleCheckbox: FC<SingleCheckboxProps>;
|
|
199
207
|
|
|
200
|
-
interface DropdownProps {
|
|
201
|
-
question: IQuestion;
|
|
202
|
-
handleQuestionInputChange: any;
|
|
203
|
-
showPreview?: boolean;
|
|
204
|
-
activatedLanguage?: string;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
declare const CustomDropdownStandard: FC<DropdownProps>;
|
|
208
|
-
|
|
209
|
-
interface MultipleCheckboxesProps {
|
|
210
|
-
question: IQuestion;
|
|
211
|
-
handleQuestionInputChange: any;
|
|
212
|
-
showPreview?: boolean;
|
|
213
|
-
activatedLanguage?: string;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
declare const MultipleCheckboxes: FC<MultipleCheckboxesProps>;
|
|
217
|
-
|
|
218
208
|
/**
|
|
219
209
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
220
210
|
*
|
|
@@ -907,4 +897,4 @@ interface FormStatusMessagesProps {
|
|
|
907
897
|
*/
|
|
908
898
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
909
899
|
|
|
910
|
-
export { AddFiles as AddFilesStandard, CheckboxGroup as CheckboxGroupStandard, CookieBanner, type CookieConsentConfig,
|
|
900
|
+
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
|
@@ -103,7 +103,6 @@ interface IQuestionExtraAttribute {
|
|
|
103
103
|
inputMode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
|
|
104
104
|
spellCheck?: boolean;
|
|
105
105
|
autoCapitalize?: string;
|
|
106
|
-
numberOfTextFields?: number;
|
|
107
106
|
}
|
|
108
107
|
interface IUploadedFile {
|
|
109
108
|
FileName: string;
|
|
@@ -148,6 +147,15 @@ interface RadioProps {
|
|
|
148
147
|
|
|
149
148
|
declare const InputRadio: FC<RadioProps>;
|
|
150
149
|
|
|
150
|
+
interface MultipleCheckboxesProps {
|
|
151
|
+
question: IQuestion;
|
|
152
|
+
handleQuestionInputChange: any;
|
|
153
|
+
showPreview?: boolean;
|
|
154
|
+
activatedLanguage?: string;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
declare const MultipleCheckboxes: FC<MultipleCheckboxesProps>;
|
|
158
|
+
|
|
151
159
|
interface CheckboxGroupProps {
|
|
152
160
|
question: IQuestion;
|
|
153
161
|
handleQuestionInputChange: any;
|
|
@@ -197,24 +205,6 @@ interface SingleCheckboxProps {
|
|
|
197
205
|
|
|
198
206
|
declare const SingleCheckbox: FC<SingleCheckboxProps>;
|
|
199
207
|
|
|
200
|
-
interface DropdownProps {
|
|
201
|
-
question: IQuestion;
|
|
202
|
-
handleQuestionInputChange: any;
|
|
203
|
-
showPreview?: boolean;
|
|
204
|
-
activatedLanguage?: string;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
declare const CustomDropdownStandard: FC<DropdownProps>;
|
|
208
|
-
|
|
209
|
-
interface MultipleCheckboxesProps {
|
|
210
|
-
question: IQuestion;
|
|
211
|
-
handleQuestionInputChange: any;
|
|
212
|
-
showPreview?: boolean;
|
|
213
|
-
activatedLanguage?: string;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
declare const MultipleCheckboxes: FC<MultipleCheckboxesProps>;
|
|
217
|
-
|
|
218
208
|
/**
|
|
219
209
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
220
210
|
*
|
|
@@ -907,4 +897,4 @@ interface FormStatusMessagesProps {
|
|
|
907
897
|
*/
|
|
908
898
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
909
899
|
|
|
910
|
-
export { AddFiles as AddFilesStandard, CheckboxGroup as CheckboxGroupStandard, CookieBanner, type CookieConsentConfig,
|
|
900
|
+
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 };
|