template-common 1.1.1 → 1.1.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/sass-template-common.css +1 -1
- package/dist/sass-template-common.d.ts +32 -29
- package/dist/sass-template-common.js +6723 -6600
- package/dist/sass-template-common.umd.cjs +41 -41
- package/dist/ui/components/pages/account/profile-config/components-pages-account-profile-config.css +1 -1
- package/package.json +1 -1
|
@@ -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, preferenceItems, preferenceSuggestionsLimit, newsletterItems, debug, }: AccountProfileConfigProps): JSX.Element | null;
|
|
23
|
+
export declare function AccountProfileConfig({ API_ENV, socials, texts, navItems, section: requestedSection, preferenceItems, preferenceSuggestionsLimit, preferenceCollapseAt, newsletterItems, debug, }: AccountProfileConfigProps): JSX.Element | null;
|
|
24
24
|
|
|
25
25
|
export declare type AccountProfileConfigProps = {
|
|
26
26
|
/** Subconjunto de config (`pickCoreAuthConfig`). Default: `getConfig()`. */
|
|
@@ -41,13 +41,15 @@ export declare type AccountProfileConfigProps = {
|
|
|
41
41
|
section?: AccountProfileSection;
|
|
42
42
|
/** Temas de "Mis preferencias". Default: lista genérica de la lib. */
|
|
43
43
|
preferenceItems?: AccountProfilePreferenceItem[];
|
|
44
|
-
/**
|
|
44
|
+
/** Chips sugeridos (+) en "Lo que querés ver más". Default 3. */
|
|
45
45
|
preferenceSuggestionsLimit?: number;
|
|
46
|
+
/** Chips visibles por lista antes de "Mostrar más N". Default 8. */
|
|
47
|
+
preferenceCollapseAt?: number;
|
|
46
48
|
/** Opciones de "Newsletters". Default: lista genérica de la lib. */
|
|
47
49
|
newsletterItems?: AccountProfileNewsletterItem[];
|
|
48
50
|
/**
|
|
49
|
-
* Panel debug de "Newsletters". Default: visible fuera
|
|
50
|
-
* `?debug` en la URL.
|
|
51
|
+
* Panel debug de "Mis preferencias" y "Newsletters". Default: visible fuera
|
|
52
|
+
* de prod, o con `?debug` en la URL.
|
|
51
53
|
*/
|
|
52
54
|
debug?: boolean;
|
|
53
55
|
};
|
|
@@ -73,12 +75,13 @@ export declare type AccountProfilePreferenceItem = {
|
|
|
73
75
|
id: string;
|
|
74
76
|
label: string;
|
|
75
77
|
kind: AccountProfilePreferenceKind;
|
|
76
|
-
/** Afinidad
|
|
78
|
+
/** Afinidad: lo que comparte grupo con lo que te interesa se sugiere primero. */
|
|
77
79
|
group?: string;
|
|
78
|
-
/**
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
/**
|
|
81
|
+
* Interés detectado por actividad, de -1 a 1 (hoy es mock: lo trae la lista).
|
|
82
|
+
* > 0: aparece en "ver más" sin ícono (inferido). < 0: en "ver menos".
|
|
83
|
+
*/
|
|
84
|
+
activity?: number;
|
|
82
85
|
};
|
|
83
86
|
|
|
84
87
|
/**
|
|
@@ -117,26 +120,25 @@ export declare type AccountProfileTexts = {
|
|
|
117
120
|
gnewsHintPrefix: string;
|
|
118
121
|
gnewsHintSuffix: string;
|
|
119
122
|
prefsTitle: string;
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
prefsNewBadge: string;
|
|
123
|
+
/** `{{topics}}` se reemplaza por la lista de temas ("A, B y C"). */
|
|
124
|
+
prefsSummary: string;
|
|
125
|
+
prefsSummaryEmpty: string;
|
|
126
|
+
prefsMoreTitle: string;
|
|
127
|
+
prefsMoreHint: string;
|
|
128
|
+
prefsLessTitle: string;
|
|
129
|
+
prefsLessHint: string;
|
|
130
|
+
prefsExpand: string;
|
|
131
|
+
prefsCollapse: string;
|
|
132
|
+
prefsAdd: string;
|
|
133
|
+
prefsAddPlaceholder: string;
|
|
134
|
+
prefsSuggestedAria: string;
|
|
135
|
+
prefsEditAria: string;
|
|
136
|
+
prefsSourceAdded: string;
|
|
137
|
+
prefsSourceActivity: string;
|
|
138
|
+
prefsMoveToLess: string;
|
|
139
|
+
prefsMoveToMore: string;
|
|
140
|
+
prefsRemove: string;
|
|
141
|
+
prefsCancel: string;
|
|
140
142
|
newslettersTitle: string;
|
|
141
143
|
newslettersDesc: string;
|
|
142
144
|
newslettersFootnote: string;
|
|
@@ -147,6 +149,7 @@ export declare type AccountProfileTexts = {
|
|
|
147
149
|
debugStorageKey: string;
|
|
148
150
|
debugUpdatedAt: string;
|
|
149
151
|
debugNever: string;
|
|
152
|
+
debugReset: string;
|
|
150
153
|
changePasswordButton: string;
|
|
151
154
|
/** `{{email}}` se reemplaza por el email enmascarado. */
|
|
152
155
|
changePasswordMessage: string;
|