optimized-react-component-library-xyz123 0.23.5 → 0.23.7

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
@@ -118,6 +118,7 @@ interface RadioProps {
118
118
  question: IQuestion;
119
119
  handleQuestionInputChange: any;
120
120
  showPreview?: boolean;
121
+ activatedLanguage?: string;
121
122
  }
122
123
 
123
124
  declare const InputRadio: FC<RadioProps>;
@@ -727,6 +728,7 @@ interface CookieBannerProps {
727
728
  onClose?: () => void;
728
729
  acceptCookies: () => void;
729
730
  rejectCookies: () => void;
731
+ activatedLanguage?: string;
730
732
  }
731
733
 
732
734
  declare const CookieBanner: React$1.FC<CookieBannerProps>;
@@ -752,7 +754,10 @@ interface ModalProps {
752
754
 
753
755
  declare const Modal: FC<ModalProps>;
754
756
 
755
- declare const SkipLink: FC;
757
+ type SkipLinkProps = {
758
+ activatedLanguage?: string;
759
+ };
760
+ declare const SkipLink: FC<SkipLinkProps>;
756
761
 
757
762
  interface PrincipleOfPublicityProps {
758
763
  activatedLanguage?: string;
@@ -845,12 +850,14 @@ declare const ValidationErrorSummaryList: React$1.FC<ValidationErrorSummaryListP
845
850
 
846
851
  interface FormStatusMessagesProps {
847
852
  formStatus: string;
853
+ activatedLanguage?: string;
848
854
  }
849
855
  /**
850
856
  * Visar ett error-meddelande om formuläret misslyckas att skicka in, dvs. status är
851
857
  * failed. Läser upp att formuläret laddas för skärmläsare när status är loading.
852
858
  *
853
859
  * @param {string} formStatus Nuvarande status för formuläret.
860
+ * @param {string} [activatedLanguage='sv'] Den aktiverade språkkoden (default är svenska).
854
861
  *
855
862
  */
856
863
  declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
package/dist/index.d.ts CHANGED
@@ -118,6 +118,7 @@ interface RadioProps {
118
118
  question: IQuestion;
119
119
  handleQuestionInputChange: any;
120
120
  showPreview?: boolean;
121
+ activatedLanguage?: string;
121
122
  }
122
123
 
123
124
  declare const InputRadio: FC<RadioProps>;
@@ -727,6 +728,7 @@ interface CookieBannerProps {
727
728
  onClose?: () => void;
728
729
  acceptCookies: () => void;
729
730
  rejectCookies: () => void;
731
+ activatedLanguage?: string;
730
732
  }
731
733
 
732
734
  declare const CookieBanner: React$1.FC<CookieBannerProps>;
@@ -752,7 +754,10 @@ interface ModalProps {
752
754
 
753
755
  declare const Modal: FC<ModalProps>;
754
756
 
755
- declare const SkipLink: FC;
757
+ type SkipLinkProps = {
758
+ activatedLanguage?: string;
759
+ };
760
+ declare const SkipLink: FC<SkipLinkProps>;
756
761
 
757
762
  interface PrincipleOfPublicityProps {
758
763
  activatedLanguage?: string;
@@ -845,12 +850,14 @@ declare const ValidationErrorSummaryList: React$1.FC<ValidationErrorSummaryListP
845
850
 
846
851
  interface FormStatusMessagesProps {
847
852
  formStatus: string;
853
+ activatedLanguage?: string;
848
854
  }
849
855
  /**
850
856
  * Visar ett error-meddelande om formuläret misslyckas att skicka in, dvs. status är
851
857
  * failed. Läser upp att formuläret laddas för skärmläsare när status är loading.
852
858
  *
853
859
  * @param {string} formStatus Nuvarande status för formuläret.
860
+ * @param {string} [activatedLanguage='sv'] Den aktiverade språkkoden (default är svenska).
854
861
  *
855
862
  */
856
863
  declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;