optimized-react-component-library-xyz123 1.1.14 → 1.1.15
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 +34 -3
- package/dist/index.d.ts +34 -3
- package/dist/index.js +246 -54
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +246 -51
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/darkMode.css +18 -0
- package/src/css/mobileView.css +1 -1
- package/src/css/questions.css +1 -1
- package/src/css/styles.css +89 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React$1, { FC, RefObject } from 'react';
|
|
1
|
+
import React$1, { ComponentType, SVGProps, FC, RefObject, ReactNode } from 'react';
|
|
2
2
|
import * as reselect from 'reselect';
|
|
3
3
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
4
4
|
import { PayloadAction, ActionReducerMapBuilder } from '@reduxjs/toolkit';
|
|
@@ -46,7 +46,11 @@ interface IOption {
|
|
|
46
46
|
interface IPTSLink {
|
|
47
47
|
title: string;
|
|
48
48
|
url: string;
|
|
49
|
-
ariaLabel
|
|
49
|
+
ariaLabel?: string;
|
|
50
|
+
activatedLanguage?: string;
|
|
51
|
+
openTarget?: string;
|
|
52
|
+
icon?: ComponentType<SVGProps<SVGSVGElement>>;
|
|
53
|
+
iconType?: string;
|
|
50
54
|
}
|
|
51
55
|
interface IStepObject {
|
|
52
56
|
step: number;
|
|
@@ -846,6 +850,33 @@ type SkipLinkProps = {
|
|
|
846
850
|
};
|
|
847
851
|
declare const SkipLink: FC<SkipLinkProps>;
|
|
848
852
|
|
|
853
|
+
interface LinkProps extends IPTSLink {
|
|
854
|
+
customClass?: string;
|
|
855
|
+
openTarget?: string;
|
|
856
|
+
useDownLoad?: boolean;
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
declare const LinkStandard: FC<LinkProps>;
|
|
860
|
+
|
|
861
|
+
interface LinkListProps {
|
|
862
|
+
linkArray: IPTSLink[];
|
|
863
|
+
activatedLanguage?: string;
|
|
864
|
+
customCss?: string;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
declare const LinkList: FC<LinkListProps>;
|
|
868
|
+
|
|
869
|
+
interface CollapseProps {
|
|
870
|
+
title: ReactNode;
|
|
871
|
+
children: ReactNode;
|
|
872
|
+
isOpen?: boolean;
|
|
873
|
+
defaultOpen?: boolean;
|
|
874
|
+
onToggle?: (open: boolean) => void;
|
|
875
|
+
id?: string;
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
declare const Collapse: FC<CollapseProps>;
|
|
879
|
+
|
|
849
880
|
interface PrincipleOfPublicityProps {
|
|
850
881
|
activatedLanguage?: string;
|
|
851
882
|
}
|
|
@@ -952,4 +983,4 @@ interface FormStatusMessagesProps {
|
|
|
952
983
|
*/
|
|
953
984
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
954
985
|
|
|
955
|
-
export { AddFiles as AddFilesStandard, BreadCrumbs, 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, Navigation, NavigationHeader, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, SearchBar, 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 };
|
|
986
|
+
export { AddFiles as AddFilesStandard, BreadCrumbs, 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, type LanguageSupportConfig, LinkList as LinkListStandard, LinkStandard, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, Navigation, NavigationHeader, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, SearchBar, 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React$1, { FC, RefObject } from 'react';
|
|
1
|
+
import React$1, { ComponentType, SVGProps, FC, RefObject, ReactNode } from 'react';
|
|
2
2
|
import * as reselect from 'reselect';
|
|
3
3
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
4
4
|
import { PayloadAction, ActionReducerMapBuilder } from '@reduxjs/toolkit';
|
|
@@ -46,7 +46,11 @@ interface IOption {
|
|
|
46
46
|
interface IPTSLink {
|
|
47
47
|
title: string;
|
|
48
48
|
url: string;
|
|
49
|
-
ariaLabel
|
|
49
|
+
ariaLabel?: string;
|
|
50
|
+
activatedLanguage?: string;
|
|
51
|
+
openTarget?: string;
|
|
52
|
+
icon?: ComponentType<SVGProps<SVGSVGElement>>;
|
|
53
|
+
iconType?: string;
|
|
50
54
|
}
|
|
51
55
|
interface IStepObject {
|
|
52
56
|
step: number;
|
|
@@ -846,6 +850,33 @@ type SkipLinkProps = {
|
|
|
846
850
|
};
|
|
847
851
|
declare const SkipLink: FC<SkipLinkProps>;
|
|
848
852
|
|
|
853
|
+
interface LinkProps extends IPTSLink {
|
|
854
|
+
customClass?: string;
|
|
855
|
+
openTarget?: string;
|
|
856
|
+
useDownLoad?: boolean;
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
declare const LinkStandard: FC<LinkProps>;
|
|
860
|
+
|
|
861
|
+
interface LinkListProps {
|
|
862
|
+
linkArray: IPTSLink[];
|
|
863
|
+
activatedLanguage?: string;
|
|
864
|
+
customCss?: string;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
declare const LinkList: FC<LinkListProps>;
|
|
868
|
+
|
|
869
|
+
interface CollapseProps {
|
|
870
|
+
title: ReactNode;
|
|
871
|
+
children: ReactNode;
|
|
872
|
+
isOpen?: boolean;
|
|
873
|
+
defaultOpen?: boolean;
|
|
874
|
+
onToggle?: (open: boolean) => void;
|
|
875
|
+
id?: string;
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
declare const Collapse: FC<CollapseProps>;
|
|
879
|
+
|
|
849
880
|
interface PrincipleOfPublicityProps {
|
|
850
881
|
activatedLanguage?: string;
|
|
851
882
|
}
|
|
@@ -952,4 +983,4 @@ interface FormStatusMessagesProps {
|
|
|
952
983
|
*/
|
|
953
984
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
954
985
|
|
|
955
|
-
export { AddFiles as AddFilesStandard, BreadCrumbs, 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, Navigation, NavigationHeader, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, SearchBar, 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 };
|
|
986
|
+
export { AddFiles as AddFilesStandard, BreadCrumbs, 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, type LanguageSupportConfig, LinkList as LinkListStandard, LinkStandard, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, Navigation, NavigationHeader, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, SearchBar, 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 };
|