optimized-react-component-library-xyz123 2.8.21 → 2.9.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 +3 -21
- package/dist/index.d.ts +3 -21
- package/dist/index.js +286 -409
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +287 -408
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/darkMode.css +3 -12
- package/src/css/questions.css +0 -40
- package/src/css/styles.css +19 -12
package/dist/index.d.mts
CHANGED
|
@@ -244,15 +244,6 @@ 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
|
-
|
|
256
247
|
/**
|
|
257
248
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
258
249
|
*
|
|
@@ -846,6 +837,7 @@ interface NavigationHeaderProps {
|
|
|
846
837
|
menuLinks: INavigationItem[];
|
|
847
838
|
linkComponent?: ElementType;
|
|
848
839
|
noLogoLink?: boolean;
|
|
840
|
+
navigationCloseFocusId?: string;
|
|
849
841
|
}
|
|
850
842
|
|
|
851
843
|
declare const NavigationHeader: FC<NavigationHeaderProps>;
|
|
@@ -857,6 +849,7 @@ interface NavigationProps {
|
|
|
857
849
|
isOpen: boolean;
|
|
858
850
|
openButtonRef: RefObject<HTMLButtonElement | null>;
|
|
859
851
|
linkComponent?: ElementType;
|
|
852
|
+
navigationCloseFocusId?: string;
|
|
860
853
|
}
|
|
861
854
|
type Locale = 'sv' | 'en';
|
|
862
855
|
type Label = Record<Locale, string>;
|
|
@@ -924,17 +917,6 @@ interface AlertInTextProps {
|
|
|
924
917
|
|
|
925
918
|
declare const AlertInTextStandard: FC<AlertInTextProps>;
|
|
926
919
|
|
|
927
|
-
interface OptionTextBodyProps {
|
|
928
|
-
optionInfoText: string;
|
|
929
|
-
selectedLabel?: string;
|
|
930
|
-
activatedLanguage?: string;
|
|
931
|
-
questionOptionTextId: string;
|
|
932
|
-
hasOptionInfoText?: boolean;
|
|
933
|
-
hideStepperButtons?: boolean;
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
declare const OptionTextBody: FC<OptionTextBodyProps>;
|
|
937
|
-
|
|
938
920
|
interface PrincipleOfPublicityProps {
|
|
939
921
|
activatedLanguage?: string;
|
|
940
922
|
}
|
|
@@ -1072,4 +1054,4 @@ interface FormStatusMessagesProps {
|
|
|
1072
1054
|
*/
|
|
1073
1055
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
1074
1056
|
|
|
1075
|
-
export { AddFiles as AddFilesStandard, AlertInTextStandard, CheckboxGroup as CheckboxGroupStandard, Collapse, CookieBanner, type CookieConsentConfig,
|
|
1057
|
+
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -244,15 +244,6 @@ 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
|
-
|
|
256
247
|
/**
|
|
257
248
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
258
249
|
*
|
|
@@ -846,6 +837,7 @@ interface NavigationHeaderProps {
|
|
|
846
837
|
menuLinks: INavigationItem[];
|
|
847
838
|
linkComponent?: ElementType;
|
|
848
839
|
noLogoLink?: boolean;
|
|
840
|
+
navigationCloseFocusId?: string;
|
|
849
841
|
}
|
|
850
842
|
|
|
851
843
|
declare const NavigationHeader: FC<NavigationHeaderProps>;
|
|
@@ -857,6 +849,7 @@ interface NavigationProps {
|
|
|
857
849
|
isOpen: boolean;
|
|
858
850
|
openButtonRef: RefObject<HTMLButtonElement | null>;
|
|
859
851
|
linkComponent?: ElementType;
|
|
852
|
+
navigationCloseFocusId?: string;
|
|
860
853
|
}
|
|
861
854
|
type Locale = 'sv' | 'en';
|
|
862
855
|
type Label = Record<Locale, string>;
|
|
@@ -924,17 +917,6 @@ interface AlertInTextProps {
|
|
|
924
917
|
|
|
925
918
|
declare const AlertInTextStandard: FC<AlertInTextProps>;
|
|
926
919
|
|
|
927
|
-
interface OptionTextBodyProps {
|
|
928
|
-
optionInfoText: string;
|
|
929
|
-
selectedLabel?: string;
|
|
930
|
-
activatedLanguage?: string;
|
|
931
|
-
questionOptionTextId: string;
|
|
932
|
-
hasOptionInfoText?: boolean;
|
|
933
|
-
hideStepperButtons?: boolean;
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
declare const OptionTextBody: FC<OptionTextBodyProps>;
|
|
937
|
-
|
|
938
920
|
interface PrincipleOfPublicityProps {
|
|
939
921
|
activatedLanguage?: string;
|
|
940
922
|
}
|
|
@@ -1072,4 +1054,4 @@ interface FormStatusMessagesProps {
|
|
|
1072
1054
|
*/
|
|
1073
1055
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
1074
1056
|
|
|
1075
|
-
export { AddFiles as AddFilesStandard, AlertInTextStandard, CheckboxGroup as CheckboxGroupStandard, Collapse, CookieBanner, type CookieConsentConfig,
|
|
1057
|
+
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 };
|