sass-template-common 0.9.39 → 0.9.41

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`).
@@ -4549,7 +4549,11 @@ const Kd = async (e, t, s, a, r, i, o) => {
4549
4549
  });
4550
4550
  return o?.data?.data?.length ? {
4551
4551
  ...t,
4552
- ...Ir(t, o.data.data[0], s) ?? {}
4552
+ ...Ir(
4553
+ t,
4554
+ o.data.data[0],
4555
+ s
4556
+ ) ?? {}
4553
4557
  } : ge(t);
4554
4558
  } catch (o) {
4555
4559
  return console.error("metadata (video) error:", o), ge(t);
@@ -4584,24 +4588,24 @@ const Kd = async (e, t, s, a, r, i, o) => {
4584
4588
  }
4585
4589
  }) : ge(t);
4586
4590
  },
4587
- pages: async (e) => {
4588
- const { meta: t, config: s, pathname: a, slug: r, axiosApi: i } = e, o = new Be({ config: s, axiosApi: i });
4591
+ pages: async (e, t) => {
4592
+ const { meta: s, config: a, pathname: r, slug: i, axiosApi: o } = e, c = new Be({ config: a, axiosApi: o });
4589
4593
  try {
4590
- const c = await o.getPages({
4591
- path: s.servicePrefix + `/pages/${r}`
4594
+ const u = await c.getPages({
4595
+ path: t || a.servicePrefix + `/pages/${i}`
4592
4596
  });
4593
- if (!c) return ge(t);
4594
- const u = c.data.data[0]?.info.title ?? "";
4597
+ if (!u) return ge(s);
4598
+ const l = u.data.data[0]?.info.title ?? "";
4595
4599
  return {
4596
- ...t,
4597
- title: `${s.name} | ${u}`,
4600
+ ...s,
4601
+ title: `${a.name} | ${l}`,
4598
4602
  alternates: {
4599
- ...t.alternates,
4600
- canonical: s.siteUrl + a
4603
+ ...s.alternates,
4604
+ canonical: a.siteUrl + r
4601
4605
  }
4602
4606
  };
4603
- } catch (c) {
4604
- return console.error(c), ge(t);
4607
+ } catch (u) {
4608
+ return console.error(u), ge(s);
4605
4609
  }
4606
4610
  },
4607
4611
  contacto: (e) => {
@@ -6940,10 +6944,10 @@ const Bo = (e) => {
6940
6944
  "path",
6941
6945
  {
6942
6946
  fill: "currentColor",
6943
- d: `M25.7,9.4h-9.1v2.4h9.1c-0.1,0,0.1,0,0.1-0.1V9.5C25.9,9.4,25.9,9.4,25.7,9.4L25.7,9.4z M8.4,9.6
6944
- c-3,0-5.6,2.5-5.6,5.6c0,3,2.5,5.4,5.7,5.4s5.4-2.4,5.4-5.4c0-0.4,0-0.7-0.1-1.1H8.5v2.1h3c-0.3,1.3-1.5,2.1-3,2.1
6945
- c-1.9-0.1-3.4-1.7-3.2-3.4c0-1.9,1.5-3.2,3.2-3.2c0.8,0,1.5,0.3,2.1,0.9l1.5-1.5C11,10.2,9.7,9.6,8.4,9.6L8.4,9.6z M27,13.7H16.5
6946
- v2.4H27c0,0,0.1,0,0.1-0.1v-2.1C27.2,13.7,27.2,13.7,27,13.7L27,13.7z M25.7,18.2h-9.1v2.4h9.1c-0.1,0,0.1-0.1,0.1-0.1v-2.1
6947
+ d: `M25.7,9.4h-9.1v2.4h9.1c-0.1,0,0.1,0,0.1-0.1V9.5C25.9,9.4,25.9,9.4,25.7,9.4L25.7,9.4z M8.4,9.6\r
6948
+ c-3,0-5.6,2.5-5.6,5.6c0,3,2.5,5.4,5.7,5.4s5.4-2.4,5.4-5.4c0-0.4,0-0.7-0.1-1.1H8.5v2.1h3c-0.3,1.3-1.5,2.1-3,2.1\r
6949
+ c-1.9-0.1-3.4-1.7-3.2-3.4c0-1.9,1.5-3.2,3.2-3.2c0.8,0,1.5,0.3,2.1,0.9l1.5-1.5C11,10.2,9.7,9.6,8.4,9.6L8.4,9.6z M27,13.7H16.5\r
6950
+ v2.4H27c0,0,0.1,0,0.1-0.1v-2.1C27.2,13.7,27.2,13.7,27,13.7L27,13.7z M25.7,18.2h-9.1v2.4h9.1c-0.1,0,0.1-0.1,0.1-0.1v-2.1\r
6947
6951
  C25.9,18.2,25.9,18.2,25.7,18.2L25.7,18.2z`
6948
6952
  }
6949
6953
  )
@@ -6996,13 +7000,13 @@ const Bo = (e) => {
6996
7000
  "path",
6997
7001
  {
6998
7002
  fill: "currentColor",
6999
- d: `M12.6,24.9c-1.1,0-2.1-0.3-3.1-0.8c-1.7-0.9-2.8-2.5-3.2-4.3c-0.7-3.3,1.4-6.7,4.7-7.4
7000
- c0.8-0.2,1.5-0.2,2.2-0.1c0.1,0,0.1,0,0.2,0l0.5,0.1l0.1,0.5v3.8l-0.8-0.2c-0.1,0-0.2,0-0.3-0.1c-1.2-0.2-2.3,0.6-2.5,1.8
7001
- c-0.2,1.2,0.6,2.3,1.8,2.5c0.6,0.1,1.2,0,1.7-0.4c0.5-0.4,0.8-1,0.8-1.6c0-0.7,0-1.3,0-2l0-0.7l0-10.8h4.1L19,5.9
7002
- c0,0.2,0,0.4,0.1,0.6c0.4,1.8,2,3.2,3.9,3.3c0.5,0,0.8,0.3,0.8,0.8c0,0.6,0,1.3,0,1.9v1.5l-0.6,0c-1.5,0-2.9-0.4-4.1-1.1l0,5.6
7003
- c0,2.7-1.6,5-4,6C14.2,24.7,13.4,24.9,12.6,24.9z M12.7,13.4c-0.4,0-0.9,0.1-1.3,0.2c-2.7,0.6-4.4,3.4-3.9,6.1
7004
- c0.3,1.5,1.3,2.8,2.6,3.5c1.4,0.7,3,0.8,4.5,0.3c2-0.8,3.3-2.7,3.3-4.9l0-7.8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.9C12.9,13.4,12.8,13.4,12.7,13.4z`
7007
7011
  }
7008
7012
  ) })
@@ -7028,13 +7032,13 @@ const Bo = (e) => {
7028
7032
  "path",
7029
7033
  {
7030
7034
  fill: "currentColor",
7031
- d: `M21.7,8.3c-1.8-1.8-4.2-2.8-6.7-2.8c-5.2,0-9.5,4.2-9.5,9.4c0,1.7,0.4,3.3,1.3,4.7l-1.3,4.9l5-1.3
7032
- c1.4,0.7,2.9,1.1,4.5,1.1h0c5.2,0,9.5-4.2,9.5-9.4C24.5,12.4,23.5,10,21.7,8.3 M15,22.7L15,22.7c-1.4,0-2.8-0.4-4-1.1l-0.3-0.2
7033
- l-3,0.8l0.8-2.9l-0.2-0.3c-0.8-1.2-1.2-2.7-1.2-4.2c0-4.3,3.5-7.8,7.9-7.8c2.1,0,4.1,0.8,5.6,2.3c1.5,1.5,2.3,3.4,2.3,5.5
7034
- C22.9,19.2,19.4,22.7,15,22.7z M19.4,16.9c-0.2-0.1-1.4-0.7-1.6-0.8c-0.2-0.1-0.4-0.1-0.5,0.1c-0.2,0.2-0.6,0.8-0.7,0.9
7035
- c-0.1,0.2-0.3,0.2-0.5,0.1c-0.2-0.1-1-0.4-1.9-1.2c-0.7-0.6-1.2-1.4-1.3-1.6c-0.1-0.2,0-0.4,0.1-0.5c0.1-0.1,0.2-0.3,0.4-0.4
7036
- c0.1-0.1,0.2-0.2,0.2-0.4c0.1-0.2,0-0.3,0-0.4c-0.1-0.1-0.5-1.3-0.7-1.7c-0.2-0.5-0.4-0.4-0.5-0.4c-0.1,0-0.3,0-0.5,0
7037
- c-0.2,0-0.4,0.1-0.6,0.3c-0.2,0.2-0.8,0.8-0.8,2c0,1.2,0.8,2.3,1,2.4c0.1,0.2,1.7,2.5,4,3.6c0.6,0.2,1,0.4,1.3,0.5
7035
+ d: `M21.7,8.3c-1.8-1.8-4.2-2.8-6.7-2.8c-5.2,0-9.5,4.2-9.5,9.4c0,1.7,0.4,3.3,1.3,4.7l-1.3,4.9l5-1.3\r
7036
+ c1.4,0.7,2.9,1.1,4.5,1.1h0c5.2,0,9.5-4.2,9.5-9.4C24.5,12.4,23.5,10,21.7,8.3 M15,22.7L15,22.7c-1.4,0-2.8-0.4-4-1.1l-0.3-0.2\r
7037
+ l-3,0.8l0.8-2.9l-0.2-0.3c-0.8-1.2-1.2-2.7-1.2-4.2c0-4.3,3.5-7.8,7.9-7.8c2.1,0,4.1,0.8,5.6,2.3c1.5,1.5,2.3,3.4,2.3,5.5\r
7038
+ C22.9,19.2,19.4,22.7,15,22.7z M19.4,16.9c-0.2-0.1-1.4-0.7-1.6-0.8c-0.2-0.1-0.4-0.1-0.5,0.1c-0.2,0.2-0.6,0.8-0.7,0.9\r
7039
+ c-0.1,0.2-0.3,0.2-0.5,0.1c-0.2-0.1-1-0.4-1.9-1.2c-0.7-0.6-1.2-1.4-1.3-1.6c-0.1-0.2,0-0.4,0.1-0.5c0.1-0.1,0.2-0.3,0.4-0.4\r
7040
+ c0.1-0.1,0.2-0.2,0.2-0.4c0.1-0.2,0-0.3,0-0.4c-0.1-0.1-0.5-1.3-0.7-1.7c-0.2-0.5-0.4-0.4-0.5-0.4c-0.1,0-0.3,0-0.5,0\r
7041
+ c-0.2,0-0.4,0.1-0.6,0.3c-0.2,0.2-0.8,0.8-0.8,2c0,1.2,0.8,2.3,1,2.4c0.1,0.2,1.7,2.5,4,3.6c0.6,0.2,1,0.4,1.3,0.5\r
7038
7042
  c0.6,0.2,1.1,0.2,1.5,0.1c0.5-0.1,1.4-0.6,1.6-1.1c0.2-0.5,0.2-1,0.1-1.1C19.7,17.1,19.6,17,19.4,16.9`
7039
7043
  }
7040
7044
  ) }) })
@@ -7064,9 +7068,9 @@ const Bo = (e) => {
7064
7068
  "path",
7065
7069
  {
7066
7070
  fill: "currentColor",
7067
- d: `M15,23.9c-0.7,0-7.3,0-9.2-0.6C4.6,23,3.7,22,3.2,20.8c-0.4-2-0.4-5.6-0.4-5.8c0-0.2,0-3.8,0.6-5.8C3.7,7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,0,7.4-0.1,8.8-0.4\r
7073
+ c0.3-0.1,1.2-0.5,1.5-1.6c0.4-1.6,0.4-5.3,0.4-5.3c0-0.1,0.2-3.7-0.2-5.4c-0.1-0.4-0.5-1.3-1.6-1.6C22.5,7.7,17.1,7.6,15.1,7.6zM12.8,19.2c-0.1,0-0.3,0-0.4-0.1c-0.2-0.1-0.4-0.4-0.4-0.7v-6.9c0-0.3,0.1-0.5,0.4-0.6c0.2-0.1,0.5-0.1,0.7,0l5.9,3.4\r
7070
7074
  c0.2,0.1,0.4,0.4,0.4,0.6c0,0.3-0.1,0.5-0.4,0.7l-5.9,3.5C13.1,19.1,12.9,19.2,12.8,19.2z M13.6,12.9v4.3l3.7-2.2L13.6,12.9z`
7071
7075
  }
7072
7076
  ),
@@ -7665,8 +7669,8 @@ const au = (e) => {
7665
7669
  strokeLinecap: "round",
7666
7670
  strokeLinejoin: "round",
7667
7671
  strokeMiterlimit: "10",
7668
- d: `M10.2,8.3c0,1.1-0.9,2.1-2.2,2.1l0,0c-1.3,0-2.1-0.9-2.1-2.1c0-1.1,0.9-2.1,2.2-2.1C9.4,6.3,10.2,7.1,10.2,8.3z M6.1,23.7H10V11.9
7669
- H6.1V23.7z M19.6,11.7c-2.1,0-3.5,2-3.5,2v-1.7h-3.9v11.8H16v-6.6c0-0.3,0-0.7,0.1-0.9c0.3-0.7,0.9-1.4,2-1.4c1.4,0,2,1.1,2,2.7v6.3
7672
+ d: `M10.2,8.3c0,1.1-0.9,2.1-2.2,2.1l0,0c-1.3,0-2.1-0.9-2.1-2.1c0-1.1,0.9-2.1,2.2-2.1C9.4,6.3,10.2,7.1,10.2,8.3z M6.1,23.7H10V11.9\r
7673
+ H6.1V23.7z M19.6,11.7c-2.1,0-3.5,2-3.5,2v-1.7h-3.9v11.8H16v-6.6c0-0.3,0-0.7,0.1-0.9c0.3-0.7,0.9-1.4,2-1.4c1.4,0,2,1.1,2,2.7v6.3\r
7670
7674
  h3.9V17C24.1,13.3,22.2,11.7,19.6,11.7z`
7671
7675
  }
7672
7676
  )
@@ -14377,35 +14381,35 @@ function Kl({
14377
14381
  }
14378
14382
  );
14379
14383
  }
14380
- const _s = ({ onClick: e, isDisabled: t, API_ENV: s, icon: a, handleGoogleLogin: r }) => {
14381
- const [i, o] = le.useState(!1), { S3_ID_DIR: c = "", PUBLIC_ENV: u, PUBLIC_API_HOST: l = "", PUBLIC_ASSETS_URL: d } = s, [m, h] = le.useState(!1), [g, f] = le.useState(!1);
14384
+ const _s = ({ onClick: e, isDisabled: t, API_ENV: s, icon: a, handleGoogleLogin: r, showAlert: i }) => {
14385
+ const [o, c] = le.useState(!1), { S3_ID_DIR: u = "", PUBLIC_ENV: l, PUBLIC_API_HOST: d = "", PUBLIC_ASSETS_URL: m } = s, [h, g] = le.useState(!1), [f, A] = le.useState(!1);
14382
14386
  le.useEffect(() => {
14383
- let w = null;
14384
- return i && (w = setTimeout(() => {
14385
- o(!1);
14387
+ let v = null;
14388
+ return o && (v = setTimeout(() => {
14389
+ c(!1);
14386
14390
  }, 2400)), () => {
14387
- w && clearTimeout(w);
14391
+ v && clearTimeout(v);
14388
14392
  };
14389
- }, [i]), le.useEffect(() => {
14390
- if (!m || !s.CONFIG_commentsV2 || !document) return;
14391
- const w = document.getElementById("comment-button");
14392
- w && (console.log("trigger3", { el: w }), w.click());
14393
+ }, [o]), le.useEffect(() => {
14394
+ if (!h || !s.CONFIG_commentsV2 || !i || !document) return;
14395
+ const v = document.getElementById("comment-button");
14396
+ v && (console.log("trigger3", { el: v }), v.click());
14393
14397
  });
14394
- const A = u == "local" ? l : d && d !== "false" ? d : "";
14395
- return i ? /* @__PURE__ */ n("div", { className: "success-gif-container su-flex-center su-relative", children: /* @__PURE__ */ n("img", { className: "success-gif su-absolute", src: A + "/arte/" + c + "/Success.gif" }) }) : /* @__PURE__ */ p(Y, { children: [
14396
- g && s.CONFIG_commentsV2 && /* @__PURE__ */ n(Kl, { API_ENV: s, icon: a, handleGoogleLogin: r, onClose: (w) => {
14397
- w && h(!0), f(!1);
14398
+ const w = l == "local" ? d : m && m !== "false" ? m : "";
14399
+ return o ? /* @__PURE__ */ n("div", { className: "success-gif-container su-flex-center su-relative", children: /* @__PURE__ */ n("img", { className: "success-gif su-absolute", src: w + "/arte/" + u + "/Success.gif" }) }) : /* @__PURE__ */ p(Y, { children: [
14400
+ f && s.CONFIG_commentsV2 && i && /* @__PURE__ */ n(Kl, { API_ENV: s, icon: a, handleGoogleLogin: r, onClose: (v) => {
14401
+ v && g(!0), A(!1);
14398
14402
  } }),
14399
14403
  /* @__PURE__ */ p(
14400
14404
  "button",
14401
14405
  {
14402
14406
  type: "button",
14403
- onClick: async (w) => {
14404
- if (!m && s.CONFIG_commentsV2) {
14405
- f(!0), console.log("open popup");
14407
+ onClick: async (v) => {
14408
+ if (!h && s.CONFIG_commentsV2 && i) {
14409
+ A(!0), console.log("open popup");
14406
14410
  return;
14407
14411
  }
14408
- await e(w) && (s.CONFIG_commentsV2 && h(!1), o(!0));
14412
+ await e(v) && (s.CONFIG_commentsV2 && i && g(!1), c(!0));
14409
14413
  },
14410
14414
  id: "comment-button",
14411
14415
  className: `submit-btn su-bg-transparent su-font-bold ${t ? "disabled" : "active"}`,
@@ -14769,7 +14773,8 @@ const _s = ({ onClick: e, isDisabled: t, API_ENV: s, icon: a, handleGoogleLogin:
14769
14773
  isDisabled: c,
14770
14774
  API_ENV: o,
14771
14775
  handleGoogleLogin: r,
14772
- icon: a
14776
+ icon: a,
14777
+ showAlert: !0
14773
14778
  }
14774
14779
  )
14775
14780
  }