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