optimized-react-component-library-xyz123 2.9.5 → 2.10.1
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 +23 -1
- package/dist/index.d.ts +23 -1
- package/dist/index.js +461 -266
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +460 -267
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/darkMode.css +15 -7
- package/src/css/e-tjanst-root.css +2 -2
- package/src/css/questions.css +44 -26
- package/src/css/styles.css +32 -18
package/dist/index.d.mts
CHANGED
|
@@ -244,6 +244,15 @@ interface RadioMultipleWithInfo2Props {
|
|
|
244
244
|
|
|
245
245
|
declare const RadioWithInfo: FC<RadioMultipleWithInfo2Props>;
|
|
246
246
|
|
|
247
|
+
interface DropdownProps {
|
|
248
|
+
question: IQuestion;
|
|
249
|
+
handleQuestionInputChange: any;
|
|
250
|
+
showPreview?: boolean;
|
|
251
|
+
activatedLanguage?: string;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
declare const CustomDropdownStandard: FC<DropdownProps>;
|
|
255
|
+
|
|
247
256
|
/**
|
|
248
257
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
249
258
|
*
|
|
@@ -837,6 +846,7 @@ interface NavigationHeaderProps {
|
|
|
837
846
|
menuLinks: INavigationItem[];
|
|
838
847
|
linkComponent?: ElementType;
|
|
839
848
|
noLogoLink?: boolean;
|
|
849
|
+
navigationCloseFocusId?: string;
|
|
840
850
|
}
|
|
841
851
|
|
|
842
852
|
declare const NavigationHeader: FC<NavigationHeaderProps>;
|
|
@@ -848,6 +858,7 @@ interface NavigationProps {
|
|
|
848
858
|
isOpen: boolean;
|
|
849
859
|
openButtonRef: RefObject<HTMLButtonElement | null>;
|
|
850
860
|
linkComponent?: ElementType;
|
|
861
|
+
navigationCloseFocusId?: string;
|
|
851
862
|
}
|
|
852
863
|
type Locale = 'sv' | 'en';
|
|
853
864
|
type Label = Record<Locale, string>;
|
|
@@ -915,6 +926,17 @@ interface AlertInTextProps {
|
|
|
915
926
|
|
|
916
927
|
declare const AlertInTextStandard: FC<AlertInTextProps>;
|
|
917
928
|
|
|
929
|
+
interface OptionTextBodyProps {
|
|
930
|
+
optionInfoText: string;
|
|
931
|
+
selectedLabel?: string;
|
|
932
|
+
activatedLanguage?: string;
|
|
933
|
+
questionOptionTextId: string;
|
|
934
|
+
hasOptionInfoText?: boolean;
|
|
935
|
+
hideStepperButtons?: boolean;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
declare const OptionTextBody: FC<OptionTextBodyProps>;
|
|
939
|
+
|
|
918
940
|
interface PrincipleOfPublicityProps {
|
|
919
941
|
activatedLanguage?: string;
|
|
920
942
|
}
|
|
@@ -1052,4 +1074,4 @@ interface FormStatusMessagesProps {
|
|
|
1052
1074
|
*/
|
|
1053
1075
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
1054
1076
|
|
|
1055
|
-
export { AddFiles as AddFilesStandard, AlertInTextStandard, CheckboxGroup as CheckboxGroupStandard, Collapse, 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, InputInfoOnly as InfoOnlyStandard, type LanguageSupportConfig, LinkList as LinkListStandard, LinkStandard, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, Navigation, NavigationHeader, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, RadioWithInfo as RadioMultipleWithInfo2Standard, SearchBar, SingleCheckbox as SingleCheckboxStandard, SkipLink as SkipLinkStandard, StartApplicationButton, StepperButtonsNoApi as StepperButtonsNoApiStandard, 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 };
|
|
1077
|
+
export { AddFiles as AddFilesStandard, AlertInTextStandard, CheckboxGroup as CheckboxGroupStandard, Collapse, CookieBanner, type CookieConsentConfig, CustomDropdownStandard as DropdownStandard, 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, InputInfoOnly as InfoOnlyStandard, type LanguageSupportConfig, LinkList as LinkListStandard, LinkStandard, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, Navigation, NavigationHeader, OptionTextBody, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, RadioWithInfo as RadioMultipleWithInfo2Standard, SearchBar, SingleCheckbox as SingleCheckboxStandard, SkipLink as SkipLinkStandard, StartApplicationButton, StepperButtonsNoApi as StepperButtonsNoApiStandard, 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
|
@@ -244,6 +244,15 @@ interface RadioMultipleWithInfo2Props {
|
|
|
244
244
|
|
|
245
245
|
declare const RadioWithInfo: FC<RadioMultipleWithInfo2Props>;
|
|
246
246
|
|
|
247
|
+
interface DropdownProps {
|
|
248
|
+
question: IQuestion;
|
|
249
|
+
handleQuestionInputChange: any;
|
|
250
|
+
showPreview?: boolean;
|
|
251
|
+
activatedLanguage?: string;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
declare const CustomDropdownStandard: FC<DropdownProps>;
|
|
255
|
+
|
|
247
256
|
/**
|
|
248
257
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
249
258
|
*
|
|
@@ -837,6 +846,7 @@ interface NavigationHeaderProps {
|
|
|
837
846
|
menuLinks: INavigationItem[];
|
|
838
847
|
linkComponent?: ElementType;
|
|
839
848
|
noLogoLink?: boolean;
|
|
849
|
+
navigationCloseFocusId?: string;
|
|
840
850
|
}
|
|
841
851
|
|
|
842
852
|
declare const NavigationHeader: FC<NavigationHeaderProps>;
|
|
@@ -848,6 +858,7 @@ interface NavigationProps {
|
|
|
848
858
|
isOpen: boolean;
|
|
849
859
|
openButtonRef: RefObject<HTMLButtonElement | null>;
|
|
850
860
|
linkComponent?: ElementType;
|
|
861
|
+
navigationCloseFocusId?: string;
|
|
851
862
|
}
|
|
852
863
|
type Locale = 'sv' | 'en';
|
|
853
864
|
type Label = Record<Locale, string>;
|
|
@@ -915,6 +926,17 @@ interface AlertInTextProps {
|
|
|
915
926
|
|
|
916
927
|
declare const AlertInTextStandard: FC<AlertInTextProps>;
|
|
917
928
|
|
|
929
|
+
interface OptionTextBodyProps {
|
|
930
|
+
optionInfoText: string;
|
|
931
|
+
selectedLabel?: string;
|
|
932
|
+
activatedLanguage?: string;
|
|
933
|
+
questionOptionTextId: string;
|
|
934
|
+
hasOptionInfoText?: boolean;
|
|
935
|
+
hideStepperButtons?: boolean;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
declare const OptionTextBody: FC<OptionTextBodyProps>;
|
|
939
|
+
|
|
918
940
|
interface PrincipleOfPublicityProps {
|
|
919
941
|
activatedLanguage?: string;
|
|
920
942
|
}
|
|
@@ -1052,4 +1074,4 @@ interface FormStatusMessagesProps {
|
|
|
1052
1074
|
*/
|
|
1053
1075
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
1054
1076
|
|
|
1055
|
-
export { AddFiles as AddFilesStandard, AlertInTextStandard, CheckboxGroup as CheckboxGroupStandard, Collapse, 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, InputInfoOnly as InfoOnlyStandard, type LanguageSupportConfig, LinkList as LinkListStandard, LinkStandard, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, Navigation, NavigationHeader, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, RadioWithInfo as RadioMultipleWithInfo2Standard, SearchBar, SingleCheckbox as SingleCheckboxStandard, SkipLink as SkipLinkStandard, StartApplicationButton, StepperButtonsNoApi as StepperButtonsNoApiStandard, 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 };
|
|
1077
|
+
export { AddFiles as AddFilesStandard, AlertInTextStandard, CheckboxGroup as CheckboxGroupStandard, Collapse, CookieBanner, type CookieConsentConfig, CustomDropdownStandard as DropdownStandard, 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, InputInfoOnly as InfoOnlyStandard, type LanguageSupportConfig, LinkList as LinkListStandard, LinkStandard, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, Navigation, NavigationHeader, OptionTextBody, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, RadioWithInfo as RadioMultipleWithInfo2Standard, SearchBar, SingleCheckbox as SingleCheckboxStandard, SkipLink as SkipLinkStandard, StartApplicationButton, StepperButtonsNoApi as StepperButtonsNoApiStandard, 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 };
|