optimized-react-component-library-xyz123 2.9.6 → 2.10.2

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 CHANGED
@@ -235,14 +235,23 @@ interface InfoOnlyProps {
235
235
 
236
236
  declare const InputInfoOnly: FC<InfoOnlyProps>;
237
237
 
238
- interface RadioMultipleWithInfoProps {
238
+ interface RadioMultipleWithInfo2Props {
239
239
  question: IQuestion;
240
240
  handleQuestionInputChange: any;
241
241
  showPreview?: boolean;
242
242
  activatedLanguage?: string;
243
243
  }
244
244
 
245
- declare const RadioWithInfo: FC<RadioMultipleWithInfoProps>;
245
+ declare const RadioWithInfo: FC<RadioMultipleWithInfo2Props>;
246
+
247
+ interface DropdownProps {
248
+ question: IQuestion;
249
+ handleQuestionInputChange: any;
250
+ showPreview?: boolean;
251
+ activatedLanguage?: string;
252
+ }
253
+
254
+ declare const CustomDropdownStandard: FC<DropdownProps>;
246
255
 
247
256
  /**
248
257
  * Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
@@ -837,6 +846,8 @@ interface NavigationHeaderProps {
837
846
  menuLinks: INavigationItem[];
838
847
  linkComponent?: ElementType;
839
848
  noLogoLink?: boolean;
849
+ navigationCloseFocusId?: string;
850
+ activeSubMenu?: string | null;
840
851
  }
841
852
 
842
853
  declare const NavigationHeader: FC<NavigationHeaderProps>;
@@ -848,6 +859,8 @@ interface NavigationProps {
848
859
  isOpen: boolean;
849
860
  openButtonRef: RefObject<HTMLButtonElement | null>;
850
861
  linkComponent?: ElementType;
862
+ navigationCloseFocusId?: string;
863
+ activeSubMenu?: string | null;
851
864
  }
852
865
  type Locale = 'sv' | 'en';
853
866
  type Label = Record<Locale, string>;
@@ -915,6 +928,17 @@ interface AlertInTextProps {
915
928
 
916
929
  declare const AlertInTextStandard: FC<AlertInTextProps>;
917
930
 
931
+ interface OptionTextBodyProps {
932
+ optionInfoText: string;
933
+ selectedLabel?: string;
934
+ activatedLanguage?: string;
935
+ questionOptionTextId: string;
936
+ hasOptionInfoText?: boolean;
937
+ hideStepperButtons?: boolean;
938
+ }
939
+
940
+ declare const OptionTextBody: FC<OptionTextBodyProps>;
941
+
918
942
  interface PrincipleOfPublicityProps {
919
943
  activatedLanguage?: string;
920
944
  }
@@ -1052,4 +1076,4 @@ interface FormStatusMessagesProps {
1052
1076
  */
1053
1077
  declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
1054
1078
 
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 RadioMultipleWithInfoStandard, 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 };
1079
+ 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
@@ -235,14 +235,23 @@ interface InfoOnlyProps {
235
235
 
236
236
  declare const InputInfoOnly: FC<InfoOnlyProps>;
237
237
 
238
- interface RadioMultipleWithInfoProps {
238
+ interface RadioMultipleWithInfo2Props {
239
239
  question: IQuestion;
240
240
  handleQuestionInputChange: any;
241
241
  showPreview?: boolean;
242
242
  activatedLanguage?: string;
243
243
  }
244
244
 
245
- declare const RadioWithInfo: FC<RadioMultipleWithInfoProps>;
245
+ declare const RadioWithInfo: FC<RadioMultipleWithInfo2Props>;
246
+
247
+ interface DropdownProps {
248
+ question: IQuestion;
249
+ handleQuestionInputChange: any;
250
+ showPreview?: boolean;
251
+ activatedLanguage?: string;
252
+ }
253
+
254
+ declare const CustomDropdownStandard: FC<DropdownProps>;
246
255
 
247
256
  /**
248
257
  * Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
@@ -837,6 +846,8 @@ interface NavigationHeaderProps {
837
846
  menuLinks: INavigationItem[];
838
847
  linkComponent?: ElementType;
839
848
  noLogoLink?: boolean;
849
+ navigationCloseFocusId?: string;
850
+ activeSubMenu?: string | null;
840
851
  }
841
852
 
842
853
  declare const NavigationHeader: FC<NavigationHeaderProps>;
@@ -848,6 +859,8 @@ interface NavigationProps {
848
859
  isOpen: boolean;
849
860
  openButtonRef: RefObject<HTMLButtonElement | null>;
850
861
  linkComponent?: ElementType;
862
+ navigationCloseFocusId?: string;
863
+ activeSubMenu?: string | null;
851
864
  }
852
865
  type Locale = 'sv' | 'en';
853
866
  type Label = Record<Locale, string>;
@@ -915,6 +928,17 @@ interface AlertInTextProps {
915
928
 
916
929
  declare const AlertInTextStandard: FC<AlertInTextProps>;
917
930
 
931
+ interface OptionTextBodyProps {
932
+ optionInfoText: string;
933
+ selectedLabel?: string;
934
+ activatedLanguage?: string;
935
+ questionOptionTextId: string;
936
+ hasOptionInfoText?: boolean;
937
+ hideStepperButtons?: boolean;
938
+ }
939
+
940
+ declare const OptionTextBody: FC<OptionTextBodyProps>;
941
+
918
942
  interface PrincipleOfPublicityProps {
919
943
  activatedLanguage?: string;
920
944
  }
@@ -1052,4 +1076,4 @@ interface FormStatusMessagesProps {
1052
1076
  */
1053
1077
  declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
1054
1078
 
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 RadioMultipleWithInfoStandard, 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 };
1079
+ 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 };