sass-template-common 0.9.207 → 0.9.209
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 -8
- package/dist/sass-template-common.js +3859 -4255
- package/dist/sass-template-common.umd.cjs +58 -61
- package/package.json +69 -69
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,7 +7,8 @@ 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';
|
|
10
|
+
import { JSX } from 'react/jsx-runtime';
|
|
11
|
+
import { JSX as JSX_2 } from 'react';
|
|
11
12
|
import { ReactNode } from 'react';
|
|
12
13
|
import { RefAttributes } from 'react';
|
|
13
14
|
import { SVGProps } from 'react';
|
|
@@ -379,7 +380,7 @@ export declare interface CommentDate {
|
|
|
379
380
|
year?: number;
|
|
380
381
|
}
|
|
381
382
|
|
|
382
|
-
export declare const CommentLazyLoader: ({ internalPath, icon, API_ENV, texts, }: CommentLazyLoaderProps) =>
|
|
383
|
+
export declare const CommentLazyLoader: ({ internalPath, icon, API_ENV, texts, }: CommentLazyLoaderProps) => JSX.Element;
|
|
383
384
|
|
|
384
385
|
declare type CommentLazyLoaderProps = {
|
|
385
386
|
internalPath: string;
|
|
@@ -959,7 +960,7 @@ export declare interface FreeZoneResponse {
|
|
|
959
960
|
};
|
|
960
961
|
}
|
|
961
962
|
|
|
962
|
-
export declare const GA4: ({ id, dimensionValues }: Props_2) => "" |
|
|
963
|
+
export declare const GA4: ({ id, dimensionValues }: Props_2) => "" | JSX.Element | undefined;
|
|
963
964
|
|
|
964
965
|
export declare const GalleryHeader: ({ newsformated, internal, commonServices, }: {
|
|
965
966
|
newsformated: NewListResponseData;
|
|
@@ -1153,6 +1154,7 @@ declare type HeaderProps = {
|
|
|
1153
1154
|
childrenContentTag?: 'div' | 'article';
|
|
1154
1155
|
custom_styles?: CSSProperties;
|
|
1155
1156
|
mobileIcon?: any;
|
|
1157
|
+
customComponent?: ReactNode;
|
|
1156
1158
|
prerender_classes?: {
|
|
1157
1159
|
alert?: string;
|
|
1158
1160
|
};
|
|
@@ -1160,7 +1162,7 @@ declare type HeaderProps = {
|
|
|
1160
1162
|
|
|
1161
1163
|
export declare const HeaderSectionComponent: FC<Props_12>;
|
|
1162
1164
|
|
|
1163
|
-
export declare function HomeCard(props: SectionCardProps_3):
|
|
1165
|
+
export declare function HomeCard(props: SectionCardProps_3): JSX.Element;
|
|
1164
1166
|
|
|
1165
1167
|
declare interface ICommonServices {
|
|
1166
1168
|
config?: Config;
|
|
@@ -1465,7 +1467,7 @@ export declare const LiveBlogHeader: FC<Props_43>;
|
|
|
1465
1467
|
declare const Location_2: FC<Props_23>;
|
|
1466
1468
|
export { Location_2 as Location }
|
|
1467
1469
|
|
|
1468
|
-
export declare function LoginForm({ API_ENV, texts, }: Props_14):
|
|
1470
|
+
export declare function LoginForm({ API_ENV, texts, }: Props_14): JSX.Element;
|
|
1469
1471
|
|
|
1470
1472
|
export declare type Logo = {
|
|
1471
1473
|
url: string;
|
|
@@ -1527,7 +1529,7 @@ export declare class MainComponentServices {
|
|
|
1527
1529
|
|
|
1528
1530
|
export declare const Marfeel: () => "" | JSX.Element | undefined;
|
|
1529
1531
|
|
|
1530
|
-
export declare const MasNoticiasLazyLoader: ({ section, internalPath, stylesConfig, paths, API_ENV, fetchConfig, }: MasNoticiasLazyLoaderProps) =>
|
|
1532
|
+
export declare const MasNoticiasLazyLoader: ({ section, internalPath, stylesConfig, paths, API_ENV, fetchConfig, }: MasNoticiasLazyLoaderProps) => JSX.Element;
|
|
1531
1533
|
|
|
1532
1534
|
declare type MasNoticiasLazyLoaderProps = {
|
|
1533
1535
|
section: string;
|
|
@@ -1567,7 +1569,7 @@ export declare const metadata_defaults: {
|
|
|
1567
1569
|
|
|
1568
1570
|
export declare type MetadataDefaultsKeys = '404' | 'home' | 'slug' | 'news' | 'anuncia' | 'autor' | 'buscar' | 'contacto' | 'pages' | 'seccion' | 'tema' | 'ultimas-noticias' | 'video' | 'videos' | 'auth';
|
|
1569
1571
|
|
|
1570
|
-
export declare const metadataToJSX: (metadata: any) =>
|
|
1572
|
+
export declare const metadataToJSX: (metadata: any) => JSX_2.Element[];
|
|
1571
1573
|
|
|
1572
1574
|
export declare const MiddleSection: FC<Props_26>;
|
|
1573
1575
|
|
|
@@ -2697,7 +2699,7 @@ export declare const ReCaptchaRender: ({ defaultRouteName }: {
|
|
|
2697
2699
|
defaultRouteName: string;
|
|
2698
2700
|
}) => false | "" | JSX.Element | undefined;
|
|
2699
2701
|
|
|
2700
|
-
export declare function RegisterForm({ texts, API_ENV, termsAndConditionsUrl }: Props_15):
|
|
2702
|
+
export declare function RegisterForm({ texts, API_ENV, termsAndConditionsUrl }: Props_15): JSX.Element;
|
|
2701
2703
|
|
|
2702
2704
|
declare interface Related {
|
|
2703
2705
|
automatic: boolean;
|