@digital-b2c/coreui-kit 0.22.0 → 0.22.1
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/LICENSE.txt +21 -21
- package/README.md +52 -52
- package/dist/index.cjs +11 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +130 -12
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +11 -16
- package/dist/index.mjs.map +1 -1
- package/dist/types/global.d.ts +25 -25
- package/package.json +101 -100
package/dist/index.d.cts
CHANGED
|
@@ -1178,10 +1178,10 @@ declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, lo
|
|
|
1178
1178
|
|
|
1179
1179
|
interface QuoteSectionBlockItem {
|
|
1180
1180
|
bodyText: ReactNode;
|
|
1181
|
-
displayPhoto:
|
|
1181
|
+
displayPhoto: IPicture;
|
|
1182
1182
|
displayName: string;
|
|
1183
|
-
|
|
1184
|
-
jobTitleLogo?:
|
|
1183
|
+
jobTitle?: string;
|
|
1184
|
+
jobTitleLogo?: IPicture;
|
|
1185
1185
|
}
|
|
1186
1186
|
interface QuoteSectionBlockProps {
|
|
1187
1187
|
className?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1178,10 +1178,10 @@ declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, lo
|
|
|
1178
1178
|
|
|
1179
1179
|
interface QuoteSectionBlockItem {
|
|
1180
1180
|
bodyText: ReactNode;
|
|
1181
|
-
displayPhoto:
|
|
1181
|
+
displayPhoto: IPicture;
|
|
1182
1182
|
displayName: string;
|
|
1183
|
-
|
|
1184
|
-
jobTitleLogo?:
|
|
1183
|
+
jobTitle?: string;
|
|
1184
|
+
jobTitleLogo?: IPicture;
|
|
1185
1185
|
}
|
|
1186
1186
|
interface QuoteSectionBlockProps {
|
|
1187
1187
|
className?: string;
|
package/dist/index.mjs
CHANGED
|
@@ -5708,6 +5708,8 @@ var TextCenterWithMedia2 = Object.assign(TextCenterWithMedia, {
|
|
|
5708
5708
|
|
|
5709
5709
|
// src/widgets/QuoteSectionBlock/QuoteSectionBlock.module.scss
|
|
5710
5710
|
var QuoteSectionBlock_module_default = {
|
|
5711
|
+
bodyText: "QuoteSectionBlock_module_bodyText",
|
|
5712
|
+
displayName: "QuoteSectionBlock_module_displayName",
|
|
5711
5713
|
quoteSectionBlock: "QuoteSectionBlock_module_quoteSectionBlock",
|
|
5712
5714
|
inner: "QuoteSectionBlock_module_inner",
|
|
5713
5715
|
title: "QuoteSectionBlock_module_title",
|
|
@@ -5715,11 +5717,9 @@ var QuoteSectionBlock_module_default = {
|
|
|
5715
5717
|
swiperContainerFullWidth: "QuoteSectionBlock_module_swiperContainerFullWidth",
|
|
5716
5718
|
card: "QuoteSectionBlock_module_card",
|
|
5717
5719
|
quoteLogo: "QuoteSectionBlock_module_quoteLogo",
|
|
5718
|
-
bodyText: "QuoteSectionBlock_module_bodyText",
|
|
5719
5720
|
attribution: "QuoteSectionBlock_module_attribution",
|
|
5721
|
+
attributionRight: "QuoteSectionBlock_module_attributionRight",
|
|
5720
5722
|
displayPhoto: "QuoteSectionBlock_module_displayPhoto",
|
|
5721
|
-
displayName: "QuoteSectionBlock_module_displayName",
|
|
5722
|
-
displaySubName: "QuoteSectionBlock_module_displaySubName",
|
|
5723
5723
|
attributionText: "QuoteSectionBlock_module_attributionText",
|
|
5724
5724
|
jobTitleLogo: "QuoteSectionBlock_module_jobTitleLogo",
|
|
5725
5725
|
controls: "QuoteSectionBlock_module_controls"
|
|
@@ -5746,20 +5746,15 @@ var QuoteSectionBlock = ({
|
|
|
5746
5746
|
onSlideChange: (swiper) => setActiveIndex(swiper.activeIndex),
|
|
5747
5747
|
children: items.map((item, index) => /* @__PURE__ */ jsx(SwiperSlide, { children: /* @__PURE__ */ jsxs("div", { className: QuoteSectionBlock_module_default.card, children: [
|
|
5748
5748
|
/* @__PURE__ */ jsx(Icon, { type: "quote", className: QuoteSectionBlock_module_default.quoteLogo }),
|
|
5749
|
-
(item == null ? void 0 : item.bodyText) && /* @__PURE__ */ jsx("
|
|
5749
|
+
(item == null ? void 0 : item.bodyText) && /* @__PURE__ */ jsx("div", { className: QuoteSectionBlock_module_default.bodyText, children: item.bodyText }),
|
|
5750
5750
|
/* @__PURE__ */ jsxs("div", { className: QuoteSectionBlock_module_default.attribution, children: [
|
|
5751
|
-
(item == null ? void 0 : item.displayPhoto) && /* @__PURE__ */ jsx(
|
|
5752
|
-
|
|
5753
|
-
{
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
}
|
|
5758
|
-
),
|
|
5759
|
-
/* @__PURE__ */ jsxs("div", { className: QuoteSectionBlock_module_default.attributionText, children: [
|
|
5760
|
-
(item == null ? void 0 : item.displayName) && /* @__PURE__ */ jsx("span", { className: QuoteSectionBlock_module_default.displayName, children: item.displayName }),
|
|
5761
|
-
(item == null ? void 0 : item.displaySubName) && /* @__PURE__ */ jsx("span", { className: QuoteSectionBlock_module_default.displaySubName, children: item.displaySubName }),
|
|
5762
|
-
(item == null ? void 0 : item.jobTitleLogo) && /* @__PURE__ */ jsx("img", { src: item.jobTitleLogo, alt: "", className: QuoteSectionBlock_module_default.jobTitleLogo })
|
|
5751
|
+
(item == null ? void 0 : item.displayPhoto) && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, item.displayPhoto), { className: QuoteSectionBlock_module_default.displayPhoto })),
|
|
5752
|
+
/* @__PURE__ */ jsxs("div", { className: QuoteSectionBlock_module_default.attributionRight, children: [
|
|
5753
|
+
/* @__PURE__ */ jsxs("div", { className: QuoteSectionBlock_module_default.attributionText, children: [
|
|
5754
|
+
(item == null ? void 0 : item.displayName) && /* @__PURE__ */ jsx("span", { className: QuoteSectionBlock_module_default.displayName, children: item.displayName }),
|
|
5755
|
+
(item == null ? void 0 : item.jobTitle) && /* @__PURE__ */ jsx("span", { className: QuoteSectionBlock_module_default.jobTitle, children: item.jobTitle })
|
|
5756
|
+
] }),
|
|
5757
|
+
(item == null ? void 0 : item.jobTitleLogo) && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, item.jobTitleLogo), { className: QuoteSectionBlock_module_default.jobTitleLogo }))
|
|
5763
5758
|
] })
|
|
5764
5759
|
] })
|
|
5765
5760
|
] }) }, index))
|