@digital-b2c/coreui-kit 0.21.3 → 0.21.4

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/index.cjs CHANGED
@@ -5699,6 +5699,7 @@ var QuoteSectionBlock_module_default = {
5699
5699
  inner: "QuoteSectionBlock_module_inner",
5700
5700
  title: "QuoteSectionBlock_module_title",
5701
5701
  swiperContainer: "QuoteSectionBlock_module_swiperContainer",
5702
+ swiperContainerFullWidth: "QuoteSectionBlock_module_swiperContainerFullWidth",
5702
5703
  card: "QuoteSectionBlock_module_card",
5703
5704
  quoteLogo: "QuoteSectionBlock_module_quoteLogo",
5704
5705
  bodyText: "QuoteSectionBlock_module_bodyText",
@@ -5709,7 +5710,12 @@ var QuoteSectionBlock_module_default = {
5709
5710
  jobTitleLogo: "QuoteSectionBlock_module_jobTitleLogo",
5710
5711
  controls: "QuoteSectionBlock_module_controls"
5711
5712
  };
5712
- var QuoteSectionBlock = ({ className, title, items = [] }) => {
5713
+ var QuoteSectionBlock = ({
5714
+ className,
5715
+ title,
5716
+ viewtype,
5717
+ items = []
5718
+ }) => {
5713
5719
  const { is } = useViewPort_default();
5714
5720
  const isMobile = is("tablet", "below");
5715
5721
  const [swiperInstance, setSwiperInstance] = React72.useState(null);
@@ -5717,7 +5723,7 @@ var QuoteSectionBlock = ({ className, title, items = [] }) => {
5717
5723
  if (!items.length) return null;
5718
5724
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx52__default.default(QuoteSectionBlock_module_default.quoteSectionBlock, className), children: /* @__PURE__ */ jsxRuntime.jsx(Container, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: QuoteSectionBlock_module_default.inner, children: [
5719
5725
  title && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: QuoteSectionBlock_module_default.title, children: title }),
5720
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: QuoteSectionBlock_module_default.swiperContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
5726
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: !viewtype ? QuoteSectionBlock_module_default.swiperContainer : QuoteSectionBlock_module_default.swiperContainerFullWidth, children: /* @__PURE__ */ jsxRuntime.jsx(
5721
5727
  react$1.Swiper,
5722
5728
  {
5723
5729
  slidesPerView: "auto",