sass-template-common 0.9.184 → 0.9.186

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 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';
@@ -104,7 +105,15 @@ export declare interface AutorInfo {
104
105
  USER_PAGE_TWITTER: string;
105
106
  USER_PAGE_INSTAGRAM: string;
106
107
  USER_PAGE_LINKEDIN: string;
108
+ USER_PAGE_TIKTOK: string;
109
+ USER_PAGE_YOUTUBE: string;
110
+ USER_PAGE_PINTEREST: string;
111
+ USER_FACEBOOK_FAN_PAGE: string;
107
112
  USER_POSITION: string;
113
+ USER_POSITION_EN: string;
114
+ USER_DESCRIPCION: string;
115
+ USER_DESCRIPCION_EN: string;
116
+ USER_MOSTRAR_MAIL: string;
108
117
  };
109
118
  }
110
119
 
@@ -369,7 +378,7 @@ export declare interface CommentDate {
369
378
  year?: number;
370
379
  }
371
380
 
372
- export declare const CommentLazyLoader: ({ internalPath, icon, API_ENV, texts, }: CommentLazyLoaderProps) => default_2.JSX.Element;
381
+ export declare const CommentLazyLoader: ({ internalPath, icon, API_ENV, texts, }: CommentLazyLoaderProps) => JSX.Element;
373
382
 
374
383
  declare type CommentLazyLoaderProps = {
375
384
  internalPath: string;
@@ -947,7 +956,7 @@ export declare interface FreeZoneResponse {
947
956
  };
948
957
  }
949
958
 
950
- export declare const GA4: ({ id, dimensionValues }: Props_2) => "" | default_2.JSX.Element | undefined;
959
+ export declare const GA4: ({ id, dimensionValues }: Props_2) => "" | JSX.Element | undefined;
951
960
 
952
961
  export declare const GalleryHeader: ({ newsformated, internal, commonServices, }: {
953
962
  newsformated: NewListResponseData;
@@ -1148,7 +1157,7 @@ declare type HeaderProps = {
1148
1157
 
1149
1158
  export declare const HeaderSectionComponent: FC<Props_12>;
1150
1159
 
1151
- export declare function HomeCard(props: SectionCardProps_3): default_2.JSX.Element;
1160
+ export declare function HomeCard(props: SectionCardProps_3): JSX.Element;
1152
1161
 
1153
1162
  declare interface ICommonServices {
1154
1163
  config?: Config;
@@ -1439,7 +1448,7 @@ export declare const LiveBlogHeader: FC<Props_43>;
1439
1448
  declare const Location_2: FC<Props_23>;
1440
1449
  export { Location_2 as Location }
1441
1450
 
1442
- export declare function LoginForm({ API_ENV, texts, }: Props_14): default_2.JSX.Element;
1451
+ export declare function LoginForm({ API_ENV, texts, }: Props_14): JSX.Element;
1443
1452
 
1444
1453
  export declare type Logo = {
1445
1454
  url: string;
@@ -1501,7 +1510,7 @@ export declare class MainComponentServices {
1501
1510
 
1502
1511
  export declare const Marfeel: () => "" | JSX.Element | undefined;
1503
1512
 
1504
- export declare const MasNoticiasLazyLoader: ({ section, internalPath, stylesConfig, paths, API_ENV, fetchConfig, }: MasNoticiasLazyLoaderProps) => default_2.JSX.Element;
1513
+ export declare const MasNoticiasLazyLoader: ({ section, internalPath, stylesConfig, paths, API_ENV, fetchConfig, }: MasNoticiasLazyLoaderProps) => JSX.Element;
1505
1514
 
1506
1515
  declare type MasNoticiasLazyLoaderProps = {
1507
1516
  section: string;
@@ -1541,7 +1550,7 @@ export declare const metadata_defaults: {
1541
1550
 
1542
1551
  export declare type MetadataDefaultsKeys = '404' | 'home' | 'slug' | 'news' | 'anuncia' | 'autor' | 'buscar' | 'contacto' | 'pages' | 'seccion' | 'tema' | 'ultimas-noticias' | 'video' | 'videos' | 'auth';
1543
1552
 
1544
- export declare const metadataToJSX: (metadata: any) => JSX.Element[];
1553
+ export declare const metadataToJSX: (metadata: any) => JSX_2.Element[];
1545
1554
 
1546
1555
  export declare const MiddleSection: FC<Props_26>;
1547
1556
 
@@ -2636,7 +2645,7 @@ export declare const ReCaptchaRender: ({ defaultRouteName }: {
2636
2645
  defaultRouteName: string;
2637
2646
  }) => false | "" | JSX.Element | undefined;
2638
2647
 
2639
- export declare function RegisterForm({ texts, API_ENV, termsAndConditionsUrl }: Props_15): default_2.JSX.Element;
2648
+ export declare function RegisterForm({ texts, API_ENV, termsAndConditionsUrl }: Props_15): JSX.Element;
2640
2649
 
2641
2650
  declare interface Related {
2642
2651
  automatic: boolean;