optimized-react-component-library-xyz123 0.23.9 → 0.25.1
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 +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +481 -506
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +481 -506
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/darkMode.css +5 -9
- package/src/css/questions.css +0 -5
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
|
-
|
|
757
|
+
type SkipLinkProps = {
|
|
758
|
+
activatedLanguage?: string;
|
|
759
|
+
};
|
|
760
|
+
declare const SkipLink: FC<SkipLinkProps>;
|
|
757
761
|
|
|
758
762
|
interface PrincipleOfPublicityProps {
|
|
759
763
|
activatedLanguage?: string;
|
|
@@ -779,6 +783,7 @@ interface StartApplicationButtonProps {
|
|
|
779
783
|
onClick: (event: React$1.MouseEvent<HTMLButtonElement>) => void;
|
|
780
784
|
label?: string;
|
|
781
785
|
className?: string;
|
|
786
|
+
activatedLanguage?: string;
|
|
782
787
|
}
|
|
783
788
|
/**
|
|
784
789
|
* En standardiserad knapp för att starta e-tjänsten.
|
|
@@ -786,6 +791,7 @@ interface StartApplicationButtonProps {
|
|
|
786
791
|
* @param {Function} onClick - Funktion som körs när användaren klickar på knappen.
|
|
787
792
|
* @param {string} label - Text som visas på knappen.
|
|
788
793
|
* @param {string} className - Extra CSS-klasser för knappen.
|
|
794
|
+
* @param {string} activatedLanguage - Aktiverat språk.
|
|
789
795
|
*/
|
|
790
796
|
declare const StartApplicationButton: React$1.FC<StartApplicationButtonProps>;
|
|
791
797
|
|
|
@@ -846,12 +852,14 @@ declare const ValidationErrorSummaryList: React$1.FC<ValidationErrorSummaryListP
|
|
|
846
852
|
|
|
847
853
|
interface FormStatusMessagesProps {
|
|
848
854
|
formStatus: string;
|
|
855
|
+
activatedLanguage?: string;
|
|
849
856
|
}
|
|
850
857
|
/**
|
|
851
858
|
* Visar ett error-meddelande om formuläret misslyckas att skicka in, dvs. status är
|
|
852
859
|
* failed. Läser upp att formuläret laddas för skärmläsare när status är loading.
|
|
853
860
|
*
|
|
854
861
|
* @param {string} formStatus Nuvarande status för formuläret.
|
|
862
|
+
* @param {string} [activatedLanguage='sv'] Den aktiverade språkkoden (default är svenska).
|
|
855
863
|
*
|
|
856
864
|
*/
|
|
857
865
|
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
|
-
|
|
757
|
+
type SkipLinkProps = {
|
|
758
|
+
activatedLanguage?: string;
|
|
759
|
+
};
|
|
760
|
+
declare const SkipLink: FC<SkipLinkProps>;
|
|
757
761
|
|
|
758
762
|
interface PrincipleOfPublicityProps {
|
|
759
763
|
activatedLanguage?: string;
|
|
@@ -779,6 +783,7 @@ interface StartApplicationButtonProps {
|
|
|
779
783
|
onClick: (event: React$1.MouseEvent<HTMLButtonElement>) => void;
|
|
780
784
|
label?: string;
|
|
781
785
|
className?: string;
|
|
786
|
+
activatedLanguage?: string;
|
|
782
787
|
}
|
|
783
788
|
/**
|
|
784
789
|
* En standardiserad knapp för att starta e-tjänsten.
|
|
@@ -786,6 +791,7 @@ interface StartApplicationButtonProps {
|
|
|
786
791
|
* @param {Function} onClick - Funktion som körs när användaren klickar på knappen.
|
|
787
792
|
* @param {string} label - Text som visas på knappen.
|
|
788
793
|
* @param {string} className - Extra CSS-klasser för knappen.
|
|
794
|
+
* @param {string} activatedLanguage - Aktiverat språk.
|
|
789
795
|
*/
|
|
790
796
|
declare const StartApplicationButton: React$1.FC<StartApplicationButtonProps>;
|
|
791
797
|
|
|
@@ -846,12 +852,14 @@ declare const ValidationErrorSummaryList: React$1.FC<ValidationErrorSummaryListP
|
|
|
846
852
|
|
|
847
853
|
interface FormStatusMessagesProps {
|
|
848
854
|
formStatus: string;
|
|
855
|
+
activatedLanguage?: string;
|
|
849
856
|
}
|
|
850
857
|
/**
|
|
851
858
|
* Visar ett error-meddelande om formuläret misslyckas att skicka in, dvs. status är
|
|
852
859
|
* failed. Läser upp att formuläret laddas för skärmläsare när status är loading.
|
|
853
860
|
*
|
|
854
861
|
* @param {string} formStatus Nuvarande status för formuläret.
|
|
862
|
+
* @param {string} [activatedLanguage='sv'] Den aktiverade språkkoden (default är svenska).
|
|
855
863
|
*
|
|
856
864
|
*/
|
|
857
865
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|