template-common 1.1.6 → 1.1.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.
@@ -20,7 +20,7 @@ export declare const ACCOUNT_PROFILE_NAV_ITEMS: Record<'es' | 'en', (AccountProf
20
20
 
21
21
  export declare const ACCOUNT_PROFILE_TEXTS: Record<'es' | 'en', AccountProfileTexts>;
22
22
 
23
- export declare function AccountProfileConfig({ API_ENV, socials, texts, navItems, section: requestedSection, preferencesApiUrl, preferenceCollapseAt, prefsSource, syncPath, newsletterItems, debug, }: AccountProfileConfigProps): JSX.Element | null;
23
+ export declare function AccountProfileConfig({ API_ENV, socials, texts, navItems, section: requestedSection, preferencesApiUrl, preferenceCollapseAt, prefsSource, syncPath, newsletterItems, debug, }: AccountProfileConfigProps): JSX.Element;
24
24
 
25
25
  export declare type AccountProfileConfigProps = {
26
26
  /** Subconjunto de config (`pickCoreAuthConfig`). Default: `getConfig()`. */
@@ -109,8 +109,21 @@ export declare type AccountProfileSectionToggles = {
109
109
  CONFIG_profileNewsletters?: boolean;
110
110
  };
111
111
 
112
+ export declare function AccountProfileSkeleton({ API_ENV, socials, texts, navItems, section: requestedSection, }: AccountProfileSkeletonProps): JSX.Element;
113
+
114
+ export declare type AccountProfileSkeletonProps = {
115
+ /** Mismas props que `AccountProfileConfig`: el placeholder resuelve igual título y menú. */
116
+ API_ENV?: CoreAuthConfig;
117
+ socials?: Socials;
118
+ texts?: Partial<Record<keyof AccountProfileTexts, unknown>>;
119
+ navItems?: AccountProfileNavItem[];
120
+ section?: AccountProfileSection;
121
+ };
122
+
112
123
  export declare type AccountProfileTexts = {
113
124
  title: string;
125
+ /** Lector de pantalla mientras se pinta el placeholder (`AccountProfileSkeleton`). */
126
+ loadingLabel: string;
114
127
  logout: string;
115
128
  avatarAlt: string;
116
129
  sectionTitle: string;