optimized-react-component-library-xyz123 0.1.165 → 0.1.166
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 -10
- package/dist/index.d.ts +3 -10
- package/dist/index.js +197 -299
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +191 -292
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/questions.css +19 -48
package/dist/index.d.mts
CHANGED
|
@@ -58,6 +58,7 @@ interface IQuestion {
|
|
|
58
58
|
step?: number;
|
|
59
59
|
categoryLabel?: string;
|
|
60
60
|
categoryDescription?: string;
|
|
61
|
+
legend?: string;
|
|
61
62
|
hideCategory?: boolean;
|
|
62
63
|
questionLabel?: string;
|
|
63
64
|
previewLabel?: string;
|
|
@@ -104,6 +105,7 @@ interface IStepQuestionData {
|
|
|
104
105
|
visible?: boolean;
|
|
105
106
|
isDisplayed?: boolean;
|
|
106
107
|
category: string;
|
|
108
|
+
categoryDescription: string;
|
|
107
109
|
questionGroups: {
|
|
108
110
|
questionGroupId: string;
|
|
109
111
|
questionGroupType: string;
|
|
@@ -160,15 +162,6 @@ interface AddFilesProps {
|
|
|
160
162
|
|
|
161
163
|
declare const AddFiles: FC<AddFilesProps>;
|
|
162
164
|
|
|
163
|
-
interface SingleCheckboxProps {
|
|
164
|
-
question: IQuestion;
|
|
165
|
-
handleQuestionInputChange: any;
|
|
166
|
-
showPreview?: boolean;
|
|
167
|
-
activatedLanguage?: string;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
declare const SingleCheckbox: FC<SingleCheckboxProps>;
|
|
171
|
-
|
|
172
165
|
/**
|
|
173
166
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
174
167
|
*
|
|
@@ -844,4 +837,4 @@ interface FormStatusMessagesProps {
|
|
|
844
837
|
*/
|
|
845
838
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
846
839
|
|
|
847
|
-
export { AddFiles as AddFilesStandard, 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,
|
|
840
|
+
export { AddFiles as AddFilesStandard, 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, 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
|
@@ -58,6 +58,7 @@ interface IQuestion {
|
|
|
58
58
|
step?: number;
|
|
59
59
|
categoryLabel?: string;
|
|
60
60
|
categoryDescription?: string;
|
|
61
|
+
legend?: string;
|
|
61
62
|
hideCategory?: boolean;
|
|
62
63
|
questionLabel?: string;
|
|
63
64
|
previewLabel?: string;
|
|
@@ -104,6 +105,7 @@ interface IStepQuestionData {
|
|
|
104
105
|
visible?: boolean;
|
|
105
106
|
isDisplayed?: boolean;
|
|
106
107
|
category: string;
|
|
108
|
+
categoryDescription: string;
|
|
107
109
|
questionGroups: {
|
|
108
110
|
questionGroupId: string;
|
|
109
111
|
questionGroupType: string;
|
|
@@ -160,15 +162,6 @@ interface AddFilesProps {
|
|
|
160
162
|
|
|
161
163
|
declare const AddFiles: FC<AddFilesProps>;
|
|
162
164
|
|
|
163
|
-
interface SingleCheckboxProps {
|
|
164
|
-
question: IQuestion;
|
|
165
|
-
handleQuestionInputChange: any;
|
|
166
|
-
showPreview?: boolean;
|
|
167
|
-
activatedLanguage?: string;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
declare const SingleCheckbox: FC<SingleCheckboxProps>;
|
|
171
|
-
|
|
172
165
|
/**
|
|
173
166
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
174
167
|
*
|
|
@@ -844,4 +837,4 @@ interface FormStatusMessagesProps {
|
|
|
844
837
|
*/
|
|
845
838
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
846
839
|
|
|
847
|
-
export { AddFiles as AddFilesStandard, 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,
|
|
840
|
+
export { AddFiles as AddFilesStandard, 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, 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 };
|