sass-template-common 0.13.3 → 0.13.5
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/dist/note-body.css +1 -1
- package/dist/sass-template-common.css +1 -1
- package/dist/sass-template-common.d.ts +2 -1
- package/dist/sass-template-common.js +20 -22
- package/dist/sass-template-common.umd.cjs +14 -14
- package/dist/ui/components/block_main_dynamic/block_main_dynamic.css +1 -1
- package/dist/ui/components/block_main_dynamic/super/components-block_main_dynamic-super.css +1 -1
- package/dist/ui/components/blocks_dynamic/blocks_dynamic.css +1 -1
- package/dist/ui/components/blocks_dynamic/videoCarousel/components-blocks_dynamic-videoCarousel.css +1 -1
- package/dist/ui/components/common/cards/option-card-1/cards-option-card-1.css +1 -1
- package/dist/ui/components/common/cards/section-card-6/cards-section-card-6.css +1 -1
- package/dist/ui/components/common/readest/readest.css +1 -1
- package/dist/ui/components/pages/section/components-pages-section.css +1 -1
- package/package.json +1 -1
|
@@ -936,7 +936,7 @@ declare interface Date_2 {
|
|
|
936
936
|
}
|
|
937
937
|
export { Date_2 as Date }
|
|
938
938
|
|
|
939
|
-
export declare const DEBUG_MainSlots: ({ mainBlock, StylesConfigMain, config, banners, commonServices, }: Props_22) => JSX.Element | null;
|
|
939
|
+
export declare const DEBUG_MainSlots: ({ mainBlock, StylesConfigMain, config, banners, commonServices, textPosition, }: Props_22) => JSX.Element | null;
|
|
940
940
|
|
|
941
941
|
declare type DebugCfg = {
|
|
942
942
|
buttonPosition?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
|
|
@@ -3186,6 +3186,7 @@ declare type Props_22 = {
|
|
|
3186
3186
|
config: Config;
|
|
3187
3187
|
banners: BannerResponse[];
|
|
3188
3188
|
commonServices?: CommonServices;
|
|
3189
|
+
textPosition?: 'start' | 'center';
|
|
3189
3190
|
};
|
|
3190
3191
|
|
|
3191
3192
|
declare type Props_23 = {
|
|
@@ -12619,7 +12619,10 @@ const tm = async (e) => {
|
|
|
12619
12619
|
{
|
|
12620
12620
|
className: "sass-bmd-sup-contentNews",
|
|
12621
12621
|
style: {
|
|
12622
|
-
"--widthTextContent": e.textPosition === "start" ? "100%" : "80%"
|
|
12622
|
+
"--widthTextContent": e.textPosition === "start" ? "100%" : "80%",
|
|
12623
|
+
...e.textPosition ? {
|
|
12624
|
+
"--titlePosition": e.textPosition === "start" ? "start" : "center"
|
|
12625
|
+
} : {}
|
|
12623
12626
|
},
|
|
12624
12627
|
children: [
|
|
12625
12628
|
/* @__PURE__ */ s(c, {}),
|
|
@@ -12640,16 +12643,7 @@ const tm = async (e) => {
|
|
|
12640
12643
|
),
|
|
12641
12644
|
href: e?.info?.link?.url,
|
|
12642
12645
|
target: e?.info?.link?.target,
|
|
12643
|
-
children: /* @__PURE__ */ s(
|
|
12644
|
-
"h1",
|
|
12645
|
-
{
|
|
12646
|
-
className: "sass-bmd-sup-titular",
|
|
12647
|
-
style: {
|
|
12648
|
-
"--titlePosition": e.textPosition === "start" ? "initial" : "center"
|
|
12649
|
-
},
|
|
12650
|
-
children: e?.main?.title?.home
|
|
12651
|
-
}
|
|
12652
|
-
)
|
|
12646
|
+
children: /* @__PURE__ */ s("h1", { className: "sass-bmd-sup-titular", children: e?.main?.title?.home })
|
|
12653
12647
|
}
|
|
12654
12648
|
)
|
|
12655
12649
|
]
|
|
@@ -20288,6 +20282,7 @@ const E1 = (e) => e?.main?.title ? {
|
|
|
20288
20282
|
customSectionCardStyles: e.customSectionCardStyles,
|
|
20289
20283
|
customNewsDescriptionStyles: e.customNewsDescriptionStyles,
|
|
20290
20284
|
paths: e.paths,
|
|
20285
|
+
textPosition: e.textPosition,
|
|
20291
20286
|
speculationPrerenderClass: e.speculationPrerenderClass
|
|
20292
20287
|
}
|
|
20293
20288
|
);
|
|
@@ -20297,6 +20292,7 @@ const E1 = (e) => e?.main?.title ? {
|
|
|
20297
20292
|
{
|
|
20298
20293
|
...e.data[0],
|
|
20299
20294
|
paths: e.paths,
|
|
20295
|
+
textPosition: e.textPosition,
|
|
20300
20296
|
speculationPrerenderClass: e.speculationPrerenderClass
|
|
20301
20297
|
}
|
|
20302
20298
|
),
|
|
@@ -20485,22 +20481,24 @@ const E1 = (e) => e?.main?.title ? {
|
|
|
20485
20481
|
StylesConfigMain: t,
|
|
20486
20482
|
config: n,
|
|
20487
20483
|
banners: a,
|
|
20488
|
-
commonServices: r
|
|
20484
|
+
commonServices: r,
|
|
20485
|
+
textPosition: o
|
|
20489
20486
|
}) => {
|
|
20490
|
-
const { PUBLIC_ENV:
|
|
20491
|
-
if (
|
|
20492
|
-
const
|
|
20487
|
+
const { PUBLIC_ENV: i } = I();
|
|
20488
|
+
if (i !== "local") return null;
|
|
20489
|
+
const c = e?.news?.data || [], l = (d, u) => ({
|
|
20493
20490
|
...e?.news,
|
|
20494
|
-
...t[
|
|
20495
|
-
data:
|
|
20496
|
-
paths: n.paths
|
|
20491
|
+
...t[d],
|
|
20492
|
+
data: c.slice(0, u),
|
|
20493
|
+
paths: n.paths,
|
|
20494
|
+
textPosition: o
|
|
20497
20495
|
});
|
|
20498
20496
|
return /* @__PURE__ */ g(Q, { children: [
|
|
20499
20497
|
/* @__PURE__ */ s(
|
|
20500
20498
|
bn,
|
|
20501
20499
|
{
|
|
20502
20500
|
component: "Super",
|
|
20503
|
-
data:
|
|
20501
|
+
data: l("Super", 1),
|
|
20504
20502
|
banners: a
|
|
20505
20503
|
}
|
|
20506
20504
|
),
|
|
@@ -20509,7 +20507,7 @@ const E1 = (e) => e?.main?.title ? {
|
|
|
20509
20507
|
bn,
|
|
20510
20508
|
{
|
|
20511
20509
|
component: "3 notas verticales",
|
|
20512
|
-
data:
|
|
20510
|
+
data: l("3 notas verticales", 3),
|
|
20513
20511
|
banners: a
|
|
20514
20512
|
}
|
|
20515
20513
|
),
|
|
@@ -20518,7 +20516,7 @@ const E1 = (e) => e?.main?.title ? {
|
|
|
20518
20516
|
bn,
|
|
20519
20517
|
{
|
|
20520
20518
|
component: "3 notas horizontales",
|
|
20521
|
-
data:
|
|
20519
|
+
data: l("3 notas horizontales", 3),
|
|
20522
20520
|
banners: a
|
|
20523
20521
|
}
|
|
20524
20522
|
),
|
|
@@ -20527,7 +20525,7 @@ const E1 = (e) => e?.main?.title ? {
|
|
|
20527
20525
|
bn,
|
|
20528
20526
|
{
|
|
20529
20527
|
component: "Diario en vivo",
|
|
20530
|
-
data:
|
|
20528
|
+
data: l("Diario en vivo", 5),
|
|
20531
20529
|
banners: a,
|
|
20532
20530
|
commonServices: r
|
|
20533
20531
|
}
|