optimized-react-component-library-xyz123 2.9.3 → 2.9.4
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 +1 -23
- package/dist/index.d.ts +1 -23
- package/dist/index.js +266 -461
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +267 -460
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/darkMode.css +6 -14
- package/src/css/e-tjanst-root.css +2 -2
- package/src/css/questions.css +26 -44
- package/src/css/styles.css +18 -32
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,7 +837,6 @@ interface NavigationHeaderProps {
|
|
|
846
837
|
menuLinks: INavigationItem[];
|
|
847
838
|
linkComponent?: ElementType;
|
|
848
839
|
noLogoLink?: boolean;
|
|
849
|
-
navigationCloseFocusId?: string;
|
|
850
840
|
}
|
|
851
841
|
|
|
852
842
|
declare const NavigationHeader: FC<NavigationHeaderProps>;
|
|
@@ -858,7 +848,6 @@ interface NavigationProps {
|
|
|
858
848
|
isOpen: boolean;
|
|
859
849
|
openButtonRef: RefObject<HTMLButtonElement | null>;
|
|
860
850
|
linkComponent?: ElementType;
|
|
861
|
-
navigationCloseFocusId?: string;
|
|
862
851
|
}
|
|
863
852
|
type Locale = 'sv' | 'en';
|
|
864
853
|
type Label = Record<Locale, string>;
|
|
@@ -926,17 +915,6 @@ interface AlertInTextProps {
|
|
|
926
915
|
|
|
927
916
|
declare const AlertInTextStandard: FC<AlertInTextProps>;
|
|
928
917
|
|
|
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
|
-
|
|
940
918
|
interface PrincipleOfPublicityProps {
|
|
941
919
|
activatedLanguage?: string;
|
|
942
920
|
}
|
|
@@ -1074,4 +1052,4 @@ interface FormStatusMessagesProps {
|
|
|
1074
1052
|
*/
|
|
1075
1053
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
1076
1054
|
|
|
1077
|
-
export { AddFiles as AddFilesStandard, AlertInTextStandard, CheckboxGroup as CheckboxGroupStandard, Collapse, CookieBanner, type CookieConsentConfig,
|
|
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 };
|
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,7 +837,6 @@ interface NavigationHeaderProps {
|
|
|
846
837
|
menuLinks: INavigationItem[];
|
|
847
838
|
linkComponent?: ElementType;
|
|
848
839
|
noLogoLink?: boolean;
|
|
849
|
-
navigationCloseFocusId?: string;
|
|
850
840
|
}
|
|
851
841
|
|
|
852
842
|
declare const NavigationHeader: FC<NavigationHeaderProps>;
|
|
@@ -858,7 +848,6 @@ interface NavigationProps {
|
|
|
858
848
|
isOpen: boolean;
|
|
859
849
|
openButtonRef: RefObject<HTMLButtonElement | null>;
|
|
860
850
|
linkComponent?: ElementType;
|
|
861
|
-
navigationCloseFocusId?: string;
|
|
862
851
|
}
|
|
863
852
|
type Locale = 'sv' | 'en';
|
|
864
853
|
type Label = Record<Locale, string>;
|
|
@@ -926,17 +915,6 @@ interface AlertInTextProps {
|
|
|
926
915
|
|
|
927
916
|
declare const AlertInTextStandard: FC<AlertInTextProps>;
|
|
928
917
|
|
|
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
|
-
|
|
940
918
|
interface PrincipleOfPublicityProps {
|
|
941
919
|
activatedLanguage?: string;
|
|
942
920
|
}
|
|
@@ -1074,4 +1052,4 @@ interface FormStatusMessagesProps {
|
|
|
1074
1052
|
*/
|
|
1075
1053
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
1076
1054
|
|
|
1077
|
-
export { AddFiles as AddFilesStandard, AlertInTextStandard, CheckboxGroup as CheckboxGroupStandard, Collapse, CookieBanner, type CookieConsentConfig,
|
|
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 };
|