@scbt-ecom/ui 0.7.2 → 0.7.3
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/client.js +1 -1
- package/dist/client.js.map +1 -1
- package/dist/hybrid.js +65 -65
- package/dist/hybrid.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/widgets/banner/index.d.ts +1 -0
- package/dist/widgets/banner/ui/banners/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/hybrid.js
CHANGED
|
@@ -358,7 +358,7 @@ const Ae = (r, e) => JSON.stringify(r) === JSON.stringify(e), _ = (r) => r.split
|
|
|
358
358
|
{
|
|
359
359
|
style: { maxWidth: `${o}%` },
|
|
360
360
|
className: a(
|
|
361
|
-
"progressBar-apply absolute top-1/2
|
|
361
|
+
"progressBar-apply z-1 absolute top-1/2 h-full w-full -translate-y-1/2 animate-progress-loader rounded-md",
|
|
362
362
|
n == null ? void 0 : n.loader
|
|
363
363
|
)
|
|
364
364
|
}
|
|
@@ -850,7 +850,6 @@ var ge = be(
|
|
|
850
850
|
const X = /* @__PURE__ */ z(ge), Ue = {
|
|
851
851
|
theme: {
|
|
852
852
|
screens: {
|
|
853
|
-
mobile: "1187px",
|
|
854
853
|
desktop: "1188px"
|
|
855
854
|
},
|
|
856
855
|
backgroundColor: {
|
|
@@ -1079,68 +1078,7 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1079
1078
|
i
|
|
1080
1079
|
))
|
|
1081
1080
|
}
|
|
1082
|
-
),
|
|
1083
|
-
headTitle: r,
|
|
1084
|
-
subtitle: e,
|
|
1085
|
-
buttonsConfig: i,
|
|
1086
|
-
advantagesList: o,
|
|
1087
|
-
classes: n,
|
|
1088
|
-
img: d
|
|
1089
|
-
}) => {
|
|
1090
|
-
const l = Object.keys(i).reduce((u, f) => f ? u + 1 : u, 0);
|
|
1091
|
-
return /* @__PURE__ */ t.jsx("section", { "data-id": "banner-section", className: a("relative bg-banner-skyblue-300 pb-6 desktop:h-[456px]", n == null ? void 0 : n.section), children: /* @__PURE__ */ t.jsxs(h, { "data-id": "banner-container", className: a(n == null ? void 0 : n.container), children: [
|
|
1092
|
-
/* @__PURE__ */ t.jsxs(
|
|
1093
|
-
"div",
|
|
1094
|
-
{
|
|
1095
|
-
"data-id": "banner-grid",
|
|
1096
|
-
className: a("grid-mob-apply desktop:grid-desk-apply grid justify-center desktop:justify-normal", n == null ? void 0 : n.wrapper),
|
|
1097
|
-
children: [
|
|
1098
|
-
/* @__PURE__ */ t.jsxs(
|
|
1099
|
-
"div",
|
|
1100
|
-
{
|
|
1101
|
-
"data-id": "banner-text-block",
|
|
1102
|
-
className: a("grid-text-apply mb-2 flex flex-col gap-4 pt-6 desktop:pb-10 desktop:pt-20", n == null ? void 0 : n.textBlock),
|
|
1103
|
-
children: [
|
|
1104
|
-
/* @__PURE__ */ t.jsx(g, { "data-id": "banner-title", as: "h1", className: a("text-color-dark", n == null ? void 0 : n.title), children: r }),
|
|
1105
|
-
/* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: a("desk-body-regular-l text-color-dark", n == null ? void 0 : n.subtitle), children: e })
|
|
1106
|
-
]
|
|
1107
|
-
}
|
|
1108
|
-
),
|
|
1109
|
-
/* @__PURE__ */ t.jsx(q, { buttonsConfig: i, classes: n }),
|
|
1110
|
-
/* @__PURE__ */ t.jsx(
|
|
1111
|
-
"div",
|
|
1112
|
-
{
|
|
1113
|
-
"data-id": "banner-image-wrapper",
|
|
1114
|
-
className: a(
|
|
1115
|
-
"grid-image-apply w-full desktop:h-full desktop:w-[550px]",
|
|
1116
|
-
{ "h-[450px]": l === 2 },
|
|
1117
|
-
{ "h-[410px]": l === 1 },
|
|
1118
|
-
n == null ? void 0 : n.imageContainer
|
|
1119
|
-
),
|
|
1120
|
-
children: /* @__PURE__ */ t.jsx(
|
|
1121
|
-
"img",
|
|
1122
|
-
{
|
|
1123
|
-
"data-id": "banner-image",
|
|
1124
|
-
src: d,
|
|
1125
|
-
alt: "Картинка баннера",
|
|
1126
|
-
className: a("h-full w-full object-contain", n == null ? void 0 : n.image)
|
|
1127
|
-
}
|
|
1128
|
-
)
|
|
1129
|
-
}
|
|
1130
|
-
)
|
|
1131
|
-
]
|
|
1132
|
-
}
|
|
1133
|
-
),
|
|
1134
|
-
/* @__PURE__ */ t.jsx(
|
|
1135
|
-
"div",
|
|
1136
|
-
{
|
|
1137
|
-
"data-id": "banner-advantages",
|
|
1138
|
-
className: a("absolute bottom-[-400px] right-1/2 translate-x-1/2 desktop:bottom-[-50px]", n == null ? void 0 : n.advantages),
|
|
1139
|
-
children: o && (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ t.jsx(J, { classes: n, advantagesList: o })
|
|
1140
|
-
}
|
|
1141
|
-
)
|
|
1142
|
-
] }) });
|
|
1143
|
-
}, he = ({
|
|
1081
|
+
), he = ({
|
|
1144
1082
|
headTitle: r,
|
|
1145
1083
|
subtitle: e,
|
|
1146
1084
|
buttonsConfig: i,
|
|
@@ -1214,7 +1152,68 @@ const X = /* @__PURE__ */ z(ge), Ue = {
|
|
|
1214
1152
|
}
|
|
1215
1153
|
)
|
|
1216
1154
|
] })
|
|
1217
|
-
] }),
|
|
1155
|
+
] }), A = ({
|
|
1156
|
+
headTitle: r,
|
|
1157
|
+
subtitle: e,
|
|
1158
|
+
buttonsConfig: i,
|
|
1159
|
+
advantagesList: o,
|
|
1160
|
+
classes: n,
|
|
1161
|
+
img: d
|
|
1162
|
+
}) => {
|
|
1163
|
+
const l = Object.keys(i).reduce((u, f) => f ? u + 1 : u, 0);
|
|
1164
|
+
return /* @__PURE__ */ t.jsx("section", { "data-id": "banner-section", className: a("relative bg-banner-skyblue-300 pb-6 desktop:h-[456px]", n == null ? void 0 : n.section), children: /* @__PURE__ */ t.jsxs(h, { "data-id": "banner-container", className: a(n == null ? void 0 : n.container), children: [
|
|
1165
|
+
/* @__PURE__ */ t.jsxs(
|
|
1166
|
+
"div",
|
|
1167
|
+
{
|
|
1168
|
+
"data-id": "banner-grid",
|
|
1169
|
+
className: a("grid-mob-apply desktop:grid-desk-apply grid justify-center desktop:justify-normal", n == null ? void 0 : n.wrapper),
|
|
1170
|
+
children: [
|
|
1171
|
+
/* @__PURE__ */ t.jsxs(
|
|
1172
|
+
"div",
|
|
1173
|
+
{
|
|
1174
|
+
"data-id": "banner-text-block",
|
|
1175
|
+
className: a("grid-text-apply mb-2 flex flex-col gap-4 pt-6 desktop:pb-10 desktop:pt-20", n == null ? void 0 : n.textBlock),
|
|
1176
|
+
children: [
|
|
1177
|
+
/* @__PURE__ */ t.jsx(g, { "data-id": "banner-title", as: "h1", className: a("text-color-dark", n == null ? void 0 : n.title), children: r }),
|
|
1178
|
+
/* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: a("desk-body-regular-l text-color-dark", n == null ? void 0 : n.subtitle), children: e })
|
|
1179
|
+
]
|
|
1180
|
+
}
|
|
1181
|
+
),
|
|
1182
|
+
/* @__PURE__ */ t.jsx(q, { buttonsConfig: i, classes: n }),
|
|
1183
|
+
/* @__PURE__ */ t.jsx(
|
|
1184
|
+
"div",
|
|
1185
|
+
{
|
|
1186
|
+
"data-id": "banner-image-wrapper",
|
|
1187
|
+
className: a(
|
|
1188
|
+
"grid-image-apply w-full desktop:h-full desktop:w-[550px]",
|
|
1189
|
+
{ "h-[450px]": l === 2 },
|
|
1190
|
+
{ "h-[410px]": l === 1 },
|
|
1191
|
+
n == null ? void 0 : n.imageContainer
|
|
1192
|
+
),
|
|
1193
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1194
|
+
"img",
|
|
1195
|
+
{
|
|
1196
|
+
"data-id": "banner-image",
|
|
1197
|
+
src: d,
|
|
1198
|
+
alt: "Картинка баннера",
|
|
1199
|
+
className: a("h-full w-full object-contain", n == null ? void 0 : n.image)
|
|
1200
|
+
}
|
|
1201
|
+
)
|
|
1202
|
+
}
|
|
1203
|
+
)
|
|
1204
|
+
]
|
|
1205
|
+
}
|
|
1206
|
+
),
|
|
1207
|
+
/* @__PURE__ */ t.jsx(
|
|
1208
|
+
"div",
|
|
1209
|
+
{
|
|
1210
|
+
"data-id": "banner-advantages",
|
|
1211
|
+
className: a("absolute bottom-[-400px] right-1/2 translate-x-1/2 desktop:bottom-[-50px]", n == null ? void 0 : n.advantages),
|
|
1212
|
+
children: o && (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ t.jsx(J, { classes: n, advantagesList: o })
|
|
1213
|
+
}
|
|
1214
|
+
)
|
|
1215
|
+
] }) });
|
|
1216
|
+
}, He = ({ bannerVariant: r, ...e }) => {
|
|
1218
1217
|
switch (r) {
|
|
1219
1218
|
case "sepatateImg":
|
|
1220
1219
|
return /* @__PURE__ */ t.jsx(A, { ...e });
|
|
@@ -1474,6 +1473,7 @@ export {
|
|
|
1474
1473
|
J as Advantages,
|
|
1475
1474
|
Ke as Badge,
|
|
1476
1475
|
He as Banner,
|
|
1476
|
+
A as BannerWithSeparateImg,
|
|
1477
1477
|
Le as Breadcrumbs,
|
|
1478
1478
|
E as Button,
|
|
1479
1479
|
Re as ButtonIcon,
|