sass-template-common 0.9.174 → 0.9.175
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 +10 -9
- package/dist/sass-template-common.js +5731 -5333
- package/dist/sass-template-common.umd.cjs +67 -64
- 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`).
|
|
@@ -7,8 +7,7 @@ import { DetailedHTMLProps } from 'react';
|
|
|
7
7
|
import { FC } from 'react';
|
|
8
8
|
import { ForwardRefExoticComponent } from 'react';
|
|
9
9
|
import { InputHTMLAttributes } from 'react';
|
|
10
|
-
import { JSX } from 'react
|
|
11
|
-
import { JSX as JSX_2 } from 'react';
|
|
10
|
+
import { JSX } from 'react';
|
|
12
11
|
import { ReactNode } from 'react';
|
|
13
12
|
import { RefAttributes } from 'react';
|
|
14
13
|
import { SVGProps } from 'react';
|
|
@@ -357,7 +356,7 @@ export declare interface CommentDate {
|
|
|
357
356
|
year?: number;
|
|
358
357
|
}
|
|
359
358
|
|
|
360
|
-
export declare const CommentLazyLoader: ({ internalPath, icon, API_ENV, texts, }: CommentLazyLoaderProps) => JSX.Element;
|
|
359
|
+
export declare const CommentLazyLoader: ({ internalPath, icon, API_ENV, texts, }: CommentLazyLoaderProps) => default_2.JSX.Element;
|
|
361
360
|
|
|
362
361
|
declare type CommentLazyLoaderProps = {
|
|
363
362
|
internalPath: string;
|
|
@@ -935,7 +934,7 @@ export declare interface FreeZoneResponse {
|
|
|
935
934
|
};
|
|
936
935
|
}
|
|
937
936
|
|
|
938
|
-
export declare const GA4: ({ id, dimensionValues }: Props_2) => "" | JSX.Element | undefined;
|
|
937
|
+
export declare const GA4: ({ id, dimensionValues }: Props_2) => "" | default_2.JSX.Element | undefined;
|
|
939
938
|
|
|
940
939
|
export declare const GalleryHeader: ({ newsformated, internal, commonServices, }: {
|
|
941
940
|
newsformated: NewListResponseData;
|
|
@@ -1136,7 +1135,7 @@ declare type HeaderProps = {
|
|
|
1136
1135
|
|
|
1137
1136
|
export declare const HeaderSectionComponent: FC<Props_12>;
|
|
1138
1137
|
|
|
1139
|
-
export declare function HomeCard(props: SectionCardProps_3): JSX.Element;
|
|
1138
|
+
export declare function HomeCard(props: SectionCardProps_3): default_2.JSX.Element;
|
|
1140
1139
|
|
|
1141
1140
|
declare interface ICommonServices {
|
|
1142
1141
|
config?: Config;
|
|
@@ -1342,6 +1341,7 @@ export declare type LibraryConfig = {
|
|
|
1342
1341
|
CONFIG_blockDefaultSectionRoute?: boolean;
|
|
1343
1342
|
CONFIG_videoClipUrl?: string;
|
|
1344
1343
|
CONFIG_newNoteBannersIndexing?: boolean;
|
|
1344
|
+
CONFIG_buscar_html?: boolean;
|
|
1345
1345
|
CONFIG_deferBanners?: {
|
|
1346
1346
|
common?: boolean;
|
|
1347
1347
|
middle?: boolean;
|
|
@@ -1386,6 +1386,7 @@ export declare type LibraryConfig = {
|
|
|
1386
1386
|
autor: boolean;
|
|
1387
1387
|
tema: boolean;
|
|
1388
1388
|
};
|
|
1389
|
+
LINK_REMOVE?: string;
|
|
1389
1390
|
/**
|
|
1390
1391
|
* Opciones para debug de servicios compartidos.
|
|
1391
1392
|
* Permite que cada proyecto root reciba un reporte HTML del fallo
|
|
@@ -1425,7 +1426,7 @@ export declare const LiveBlogHeader: FC<Props_43>;
|
|
|
1425
1426
|
declare const Location_2: FC<Props_23>;
|
|
1426
1427
|
export { Location_2 as Location }
|
|
1427
1428
|
|
|
1428
|
-
export declare function LoginForm({ API_ENV, texts, }: Props_14): JSX.Element;
|
|
1429
|
+
export declare function LoginForm({ API_ENV, texts, }: Props_14): default_2.JSX.Element;
|
|
1429
1430
|
|
|
1430
1431
|
export declare type Logo = {
|
|
1431
1432
|
url: string;
|
|
@@ -1487,7 +1488,7 @@ export declare class MainComponentServices {
|
|
|
1487
1488
|
|
|
1488
1489
|
export declare const Marfeel: () => "" | JSX.Element | undefined;
|
|
1489
1490
|
|
|
1490
|
-
export declare const MasNoticiasLazyLoader: ({ section, internalPath, stylesConfig, paths, API_ENV, fetchConfig, }: MasNoticiasLazyLoaderProps) => JSX.Element;
|
|
1491
|
+
export declare const MasNoticiasLazyLoader: ({ section, internalPath, stylesConfig, paths, API_ENV, fetchConfig, }: MasNoticiasLazyLoaderProps) => default_2.JSX.Element;
|
|
1491
1492
|
|
|
1492
1493
|
declare type MasNoticiasLazyLoaderProps = {
|
|
1493
1494
|
section: string;
|
|
@@ -1527,7 +1528,7 @@ export declare const metadata_defaults: {
|
|
|
1527
1528
|
|
|
1528
1529
|
export declare type MetadataDefaultsKeys = '404' | 'home' | 'slug' | 'news' | 'anuncia' | 'autor' | 'buscar' | 'contacto' | 'pages' | 'seccion' | 'tema' | 'ultimas-noticias' | 'video' | 'videos' | 'auth';
|
|
1529
1530
|
|
|
1530
|
-
export declare const metadataToJSX: (metadata: any) =>
|
|
1531
|
+
export declare const metadataToJSX: (metadata: any) => JSX.Element[];
|
|
1531
1532
|
|
|
1532
1533
|
export declare const MiddleSection: FC<Props_26>;
|
|
1533
1534
|
|
|
@@ -2620,7 +2621,7 @@ export declare const ReCaptchaRender: ({ defaultRouteName }: {
|
|
|
2620
2621
|
defaultRouteName: string;
|
|
2621
2622
|
}) => false | "" | JSX.Element | undefined;
|
|
2622
2623
|
|
|
2623
|
-
export declare function RegisterForm({ texts, API_ENV, termsAndConditionsUrl }: Props_15): JSX.Element;
|
|
2624
|
+
export declare function RegisterForm({ texts, API_ENV, termsAndConditionsUrl }: Props_15): default_2.JSX.Element;
|
|
2624
2625
|
|
|
2625
2626
|
declare interface Related {
|
|
2626
2627
|
automatic: boolean;
|