sass-template-common 0.9.72 → 0.9.73
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/README.md +36 -36
- package/dist/sass-template-common.d.ts +185 -41
- package/dist/sass-template-common.js +3416 -3246
- package/dist/sass-template-common.umd.cjs +52 -52
- package/package.json +68 -68
package/README.md
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
# sass-template-common
|
|
2
|
-
|
|
3
|
-
Librería web, maqueta de configuración y componentes para proyectos sass.
|
|
4
|
-
|
|
5
|
-
## Publicar nueva versión
|
|
6
|
-
|
|
7
|
-
Para que los cambios se reflejen al publicar:
|
|
8
|
-
|
|
9
|
-
1. **Subir versión** (obligatorio; si no, npm rechaza o se usa la misma versión):
|
|
10
|
-
```bash
|
|
11
|
-
pnpm version:patch # 0.3.21 → 0.3.22
|
|
12
|
-
# o
|
|
13
|
-
pnpm version:minor # 0.3.21 → 0.4.0
|
|
14
|
-
pnpm version:major # 0.3.21 → 1.0.0
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
2. **Build limpio + publicar**:
|
|
18
|
-
```bash
|
|
19
|
-
pnpm run clean && pnpm run build && pnpm publish
|
|
20
|
-
```
|
|
21
|
-
O en un solo paso (patch):
|
|
22
|
-
```bash
|
|
23
|
-
pnpm release:patch
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
3. **`prepublishOnly`**: Antes de cada `pnpm publish` se ejecuta `clean` + `build`, así siempre se publica un build nuevo.
|
|
27
|
-
|
|
28
|
-
4. **En proyectos que consumen la lib**: Actualizar la dependencia y reinstalar:
|
|
29
|
-
```bash
|
|
30
|
-
pnpm update sass-template-common
|
|
31
|
-
# o cambiar la versión en package.json y luego
|
|
32
|
-
pnpm install
|
|
33
|
-
```
|
|
34
|
-
Si usan versión fija (`"0.3.21"`), hay que actualizarla a la nueva (p. ej. `"0.3.22"`).
|
|
35
|
-
|
|
36
|
-
**Si no ves los cambios:** comprueba que subiste la versión (`version:patch` o similar), que hiciste `clean` + `build` antes de publicar, y que el proyecto consumidor tiene actualizada la dependencia (o `^0.3.21` y ha ejecutado `pnpm update`).
|
|
1
|
+
# sass-template-common
|
|
2
|
+
|
|
3
|
+
Librería web, maqueta de configuración y componentes para proyectos sass.
|
|
4
|
+
|
|
5
|
+
## Publicar nueva versión
|
|
6
|
+
|
|
7
|
+
Para que los cambios se reflejen al publicar:
|
|
8
|
+
|
|
9
|
+
1. **Subir versión** (obligatorio; si no, npm rechaza o se usa la misma versión):
|
|
10
|
+
```bash
|
|
11
|
+
pnpm version:patch # 0.3.21 → 0.3.22
|
|
12
|
+
# o
|
|
13
|
+
pnpm version:minor # 0.3.21 → 0.4.0
|
|
14
|
+
pnpm version:major # 0.3.21 → 1.0.0
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
2. **Build limpio + publicar**:
|
|
18
|
+
```bash
|
|
19
|
+
pnpm run clean && pnpm run build && pnpm publish
|
|
20
|
+
```
|
|
21
|
+
O en un solo paso (patch):
|
|
22
|
+
```bash
|
|
23
|
+
pnpm release:patch
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
3. **`prepublishOnly`**: Antes de cada `pnpm publish` se ejecuta `clean` + `build`, así siempre se publica un build nuevo.
|
|
27
|
+
|
|
28
|
+
4. **En proyectos que consumen la lib**: Actualizar la dependencia y reinstalar:
|
|
29
|
+
```bash
|
|
30
|
+
pnpm update sass-template-common
|
|
31
|
+
# o cambiar la versión en package.json y luego
|
|
32
|
+
pnpm install
|
|
33
|
+
```
|
|
34
|
+
Si usan versión fija (`"0.3.21"`), hay que actualizarla a la nueva (p. ej. `"0.3.22"`).
|
|
35
|
+
|
|
36
|
+
**Si no ves los cambios:** comprueba que subiste la versión (`version:patch` o similar), que hiciste `clean` + `build` antes de publicar, y que el proyecto consumidor tiene actualizada la dependencia (o `^0.3.21` y ha ejecutado `pnpm update`).
|
|
@@ -185,6 +185,18 @@ export declare const CarruselOpinion: FC<SectionCardCarouselProps>;
|
|
|
185
185
|
|
|
186
186
|
export declare const coloringByStrokeSVGs: string[];
|
|
187
187
|
|
|
188
|
+
/** Textos del popup anónimo (AnonimusPopUp.tsx) */
|
|
189
|
+
export declare type ComentariosAnonimusPopUpTexts = {
|
|
190
|
+
/** Botón para continuar de forma anónima */
|
|
191
|
+
anonimusContinueButton?: string;
|
|
192
|
+
/** Texto del divisor entre opciones (ej. "o") */
|
|
193
|
+
anonimusDividerOr?: string;
|
|
194
|
+
/** alt de la imagen de usuario anónimo */
|
|
195
|
+
anonimusImageAlt?: string;
|
|
196
|
+
/** aria-label del botón de cerrar popup */
|
|
197
|
+
popupCloseAriaLabel?: string;
|
|
198
|
+
};
|
|
199
|
+
|
|
188
200
|
/** Solo fase ChangePassword (código + nueva contraseña). changePasswordMessage puede usar {{email}} */
|
|
189
201
|
export declare type ComentariosChangePasswordPhaseTexts = {
|
|
190
202
|
changePasswordMessage?: string;
|
|
@@ -195,6 +207,20 @@ export declare type ComentariosChangePasswordPhaseTexts = {
|
|
|
195
207
|
changePasswordButton?: string;
|
|
196
208
|
};
|
|
197
209
|
|
|
210
|
+
/** Textos del formulario de comentario/respuesta (CommentInput, CommentUsername, CommentButton) */
|
|
211
|
+
export declare type ComentariosCommentFormTexts = {
|
|
212
|
+
/** Label del textarea de comentario */
|
|
213
|
+
commentInputLabel?: string;
|
|
214
|
+
/** Placeholder del textarea de comentario */
|
|
215
|
+
commentInputPlaceholder?: string;
|
|
216
|
+
/** Label del input de nombre anónimo */
|
|
217
|
+
usernameInputLabel?: string;
|
|
218
|
+
/** Placeholder del input de nombre anónimo */
|
|
219
|
+
usernameInputPlaceholder?: string;
|
|
220
|
+
/** Texto del botón de envío del comentario */
|
|
221
|
+
submitCommentButton?: string;
|
|
222
|
+
};
|
|
223
|
+
|
|
198
224
|
/** Textos de la lista/cabecera de comentarios (Comments.tsx) */
|
|
199
225
|
export declare type ComentariosCommentsSectionTexts = {
|
|
200
226
|
commentsSectionTitle?: string;
|
|
@@ -203,6 +229,18 @@ export declare type ComentariosCommentsSectionTexts = {
|
|
|
203
229
|
loadMoreButton?: string;
|
|
204
230
|
/** Botón para cargar más respuestas en un hilo (Comment.tsx) */
|
|
205
231
|
moreRepliesButton?: string;
|
|
232
|
+
/** Saludo al usuario autenticado en UserHeader (usa {{name}} como placeholder del nombre) */
|
|
233
|
+
userGreeting?: string;
|
|
234
|
+
/** Botón de cerrar sesión en UserHeader */
|
|
235
|
+
logoutButton?: string;
|
|
236
|
+
/** Prefijo del mensaje anónimo antes del botón de login (Comments.tsx) */
|
|
237
|
+
anonimusPromptPrefix?: string;
|
|
238
|
+
/** Texto del botón para iniciar sesión dentro del mensaje anónimo */
|
|
239
|
+
anonimusPromptLinkText?: string;
|
|
240
|
+
/** Sufijo del mensaje anónimo después del botón de login */
|
|
241
|
+
anonimusPromptSuffix?: string;
|
|
242
|
+
/** Etiqueta "Respondiendo a" en Reply.tsx */
|
|
243
|
+
replyingToLabel?: string;
|
|
206
244
|
};
|
|
207
245
|
|
|
208
246
|
/** Solo fase Feedback (éxito al cambiar contraseña) */
|
|
@@ -279,7 +317,7 @@ export declare type ComentariosReportPopTexts = {
|
|
|
279
317
|
export declare type ComentariosReportReasonKey = 'spam' | 'inappropriate' | 'hate' | 'misinformation' | 'terrorism' | 'intellectual' | 'bullying';
|
|
280
318
|
|
|
281
319
|
/** Textos de la sección comentarios: común + por fase + register (usado en LoginForm y RegisterForm) */
|
|
282
|
-
export declare type ComentariosTexts = ComentariosTextsCommon & ComentariosLoginPhaseTexts & ComentariosForgotPhaseTexts & ComentariosChangePasswordPhaseTexts & ComentariosFeedbackPhaseTexts & ComentariosRegisterFormPhaseTexts & ComentariosCommentsSectionTexts & ComentariosReportPopTexts & {
|
|
320
|
+
export declare type ComentariosTexts = ComentariosTextsCommon & ComentariosLoginPhaseTexts & ComentariosForgotPhaseTexts & ComentariosChangePasswordPhaseTexts & ComentariosFeedbackPhaseTexts & ComentariosRegisterFormPhaseTexts & ComentariosCommentsSectionTexts & ComentariosCommentFormTexts & ComentariosAnonimusPopUpTexts & ComentariosReportPopTexts & {
|
|
283
321
|
/** Labels para campos del formulario de registro; usados en FIELDS_CONFIG */
|
|
284
322
|
registerForm?: ComentariosRegisterFormLabels;
|
|
285
323
|
};
|
|
@@ -1557,6 +1595,151 @@ declare type Network = {
|
|
|
1557
1595
|
show: boolean;
|
|
1558
1596
|
};
|
|
1559
1597
|
|
|
1598
|
+
export declare const new_speculationRules_home: {
|
|
1599
|
+
prefetch: {
|
|
1600
|
+
where: {
|
|
1601
|
+
href_matches: string;
|
|
1602
|
+
};
|
|
1603
|
+
eagerness: string;
|
|
1604
|
+
}[];
|
|
1605
|
+
prerender: ({
|
|
1606
|
+
where: {
|
|
1607
|
+
and: ({
|
|
1608
|
+
selector_matches: string;
|
|
1609
|
+
href_matches?: undefined;
|
|
1610
|
+
} | {
|
|
1611
|
+
href_matches: string;
|
|
1612
|
+
selector_matches?: undefined;
|
|
1613
|
+
})[];
|
|
1614
|
+
href_matches?: undefined;
|
|
1615
|
+
};
|
|
1616
|
+
eagerness: string;
|
|
1617
|
+
} | {
|
|
1618
|
+
where: {
|
|
1619
|
+
href_matches: string;
|
|
1620
|
+
and?: undefined;
|
|
1621
|
+
};
|
|
1622
|
+
eagerness: string;
|
|
1623
|
+
})[];
|
|
1624
|
+
};
|
|
1625
|
+
|
|
1626
|
+
export declare const new_speculationRules_note: {
|
|
1627
|
+
prefetch: ({
|
|
1628
|
+
urls: string[];
|
|
1629
|
+
eagerness: string;
|
|
1630
|
+
where?: undefined;
|
|
1631
|
+
} | {
|
|
1632
|
+
where: {
|
|
1633
|
+
and: ({
|
|
1634
|
+
href_matches: string;
|
|
1635
|
+
not?: undefined;
|
|
1636
|
+
} | {
|
|
1637
|
+
not: {
|
|
1638
|
+
selector_matches: string;
|
|
1639
|
+
};
|
|
1640
|
+
href_matches?: undefined;
|
|
1641
|
+
})[];
|
|
1642
|
+
};
|
|
1643
|
+
eagerness: string;
|
|
1644
|
+
urls?: undefined;
|
|
1645
|
+
})[];
|
|
1646
|
+
prerender: {
|
|
1647
|
+
where: {
|
|
1648
|
+
and: ({
|
|
1649
|
+
selector_matches: string;
|
|
1650
|
+
href_matches?: undefined;
|
|
1651
|
+
not?: undefined;
|
|
1652
|
+
} | {
|
|
1653
|
+
href_matches: string;
|
|
1654
|
+
selector_matches?: undefined;
|
|
1655
|
+
not?: undefined;
|
|
1656
|
+
} | {
|
|
1657
|
+
not: {
|
|
1658
|
+
selector_matches: string;
|
|
1659
|
+
};
|
|
1660
|
+
selector_matches?: undefined;
|
|
1661
|
+
href_matches?: undefined;
|
|
1662
|
+
})[];
|
|
1663
|
+
};
|
|
1664
|
+
eagerness: string;
|
|
1665
|
+
}[];
|
|
1666
|
+
};
|
|
1667
|
+
|
|
1668
|
+
export declare const new_speculationRules_noteList: {
|
|
1669
|
+
prefetch: ({
|
|
1670
|
+
urls: string[];
|
|
1671
|
+
eagerness: string;
|
|
1672
|
+
where?: undefined;
|
|
1673
|
+
} | {
|
|
1674
|
+
where: {
|
|
1675
|
+
and: ({
|
|
1676
|
+
href_matches: string;
|
|
1677
|
+
not?: undefined;
|
|
1678
|
+
} | {
|
|
1679
|
+
not: {
|
|
1680
|
+
selector_matches: string;
|
|
1681
|
+
};
|
|
1682
|
+
href_matches?: undefined;
|
|
1683
|
+
})[];
|
|
1684
|
+
};
|
|
1685
|
+
eagerness: string;
|
|
1686
|
+
urls?: undefined;
|
|
1687
|
+
})[];
|
|
1688
|
+
prerender: {
|
|
1689
|
+
where: {
|
|
1690
|
+
and: ({
|
|
1691
|
+
selector_matches: string;
|
|
1692
|
+
href_matches?: undefined;
|
|
1693
|
+
not?: undefined;
|
|
1694
|
+
} | {
|
|
1695
|
+
href_matches: string;
|
|
1696
|
+
selector_matches?: undefined;
|
|
1697
|
+
not?: undefined;
|
|
1698
|
+
} | {
|
|
1699
|
+
not: {
|
|
1700
|
+
selector_matches: string;
|
|
1701
|
+
};
|
|
1702
|
+
selector_matches?: undefined;
|
|
1703
|
+
href_matches?: undefined;
|
|
1704
|
+
})[];
|
|
1705
|
+
};
|
|
1706
|
+
eagerness: string;
|
|
1707
|
+
}[];
|
|
1708
|
+
};
|
|
1709
|
+
|
|
1710
|
+
export declare const new_speculationRules_section: {
|
|
1711
|
+
prefetch: ({
|
|
1712
|
+
urls: string[];
|
|
1713
|
+
eagerness: string;
|
|
1714
|
+
where?: undefined;
|
|
1715
|
+
} | {
|
|
1716
|
+
where: {
|
|
1717
|
+
href_matches: string;
|
|
1718
|
+
};
|
|
1719
|
+
eagerness: string;
|
|
1720
|
+
urls?: undefined;
|
|
1721
|
+
})[];
|
|
1722
|
+
prerender: ({
|
|
1723
|
+
where: {
|
|
1724
|
+
and: ({
|
|
1725
|
+
selector_matches: string;
|
|
1726
|
+
href_matches?: undefined;
|
|
1727
|
+
} | {
|
|
1728
|
+
href_matches: string;
|
|
1729
|
+
selector_matches?: undefined;
|
|
1730
|
+
})[];
|
|
1731
|
+
href_matches?: undefined;
|
|
1732
|
+
};
|
|
1733
|
+
eagerness: string;
|
|
1734
|
+
} | {
|
|
1735
|
+
where: {
|
|
1736
|
+
href_matches: string;
|
|
1737
|
+
and?: undefined;
|
|
1738
|
+
};
|
|
1739
|
+
eagerness: string;
|
|
1740
|
+
})[];
|
|
1741
|
+
};
|
|
1742
|
+
|
|
1560
1743
|
declare interface NewDescriptionBlockProps {
|
|
1561
1744
|
imageSize?: {
|
|
1562
1745
|
height: string;
|
|
@@ -2615,49 +2798,10 @@ export declare type Socials = {
|
|
|
2615
2798
|
|
|
2616
2799
|
export declare const SpeculationRules: ({ active, type, customSpeculation }: {
|
|
2617
2800
|
active: boolean;
|
|
2618
|
-
type: "Home" | "Common";
|
|
2801
|
+
type: "Home" | "Common" | "Nota" | "NotaLista";
|
|
2619
2802
|
customSpeculation?: string;
|
|
2620
2803
|
}) => false | JSX.Element;
|
|
2621
2804
|
|
|
2622
|
-
export declare const speculationRules: {
|
|
2623
|
-
prerender: ({
|
|
2624
|
-
where: {
|
|
2625
|
-
and: ({
|
|
2626
|
-
href_matches: string;
|
|
2627
|
-
not?: undefined;
|
|
2628
|
-
} | {
|
|
2629
|
-
not: {
|
|
2630
|
-
selector_matches: string;
|
|
2631
|
-
};
|
|
2632
|
-
href_matches?: undefined;
|
|
2633
|
-
})[];
|
|
2634
|
-
};
|
|
2635
|
-
eagerness: string;
|
|
2636
|
-
urls?: undefined;
|
|
2637
|
-
} | {
|
|
2638
|
-
eagerness: string;
|
|
2639
|
-
urls: string[];
|
|
2640
|
-
where?: undefined;
|
|
2641
|
-
})[];
|
|
2642
|
-
};
|
|
2643
|
-
|
|
2644
|
-
export declare const speculationRulesHome: {
|
|
2645
|
-
prerender: {
|
|
2646
|
-
where: {
|
|
2647
|
-
and: ({
|
|
2648
|
-
href_matches: string;
|
|
2649
|
-
not?: undefined;
|
|
2650
|
-
} | {
|
|
2651
|
-
not: {
|
|
2652
|
-
selector_matches: string;
|
|
2653
|
-
};
|
|
2654
|
-
href_matches?: undefined;
|
|
2655
|
-
})[];
|
|
2656
|
-
};
|
|
2657
|
-
eagerness: string;
|
|
2658
|
-
}[];
|
|
2659
|
-
};
|
|
2660
|
-
|
|
2661
2805
|
export declare const Spin: ({ className }: {
|
|
2662
2806
|
className?: string;
|
|
2663
2807
|
}) => JSX.Element;
|