@dmitriikapustin/ui 0.5.2 → 0.5.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/index.cjs CHANGED
@@ -2672,7 +2672,7 @@ function PromoDevicesCTA({
2672
2672
  }
2673
2673
 
2674
2674
  // css-extract-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/organisms/PromoTestimonials.module.scss
2675
- var __default66 = { "root": "PromoTestimonials-module_root", "rootNoVertical": "PromoTestimonials-module_rootNoVertical", "wrapper": "PromoTestimonials-module_wrapper", "avatarSection": "PromoTestimonials-module_avatarSection", "avatarStack": "PromoTestimonials-module_avatarStack", "avatarRing": "PromoTestimonials-module_avatarRing", "overflowBadge": "PromoTestimonials-module_overflowBadge", "overflowCircle": "PromoTestimonials-module_overflowCircle", "headingSection": "PromoTestimonials-module_headingSection", "rating": "PromoTestimonials-module_rating", "cardsSection": "PromoTestimonials-module_cardsSection", "cardsGrid": "PromoTestimonials-module_cardsGrid", "card": "PromoTestimonials-module_card", "quote": "PromoTestimonials-module_quote", "author": "PromoTestimonials-module_author", "authorInfo": "PromoTestimonials-module_authorInfo", "authorName": "PromoTestimonials-module_authorName", "authorRole": "PromoTestimonials-module_authorRole", "mediaSection": "PromoTestimonials-module_mediaSection", "mediaBox": "PromoTestimonials-module_mediaBox" };
2675
+ var __default66 = { "root": "PromoTestimonials-module_root", "rootNoVertical": "PromoTestimonials-module_rootNoVertical", "wrapper": "PromoTestimonials-module_wrapper", "header": "PromoTestimonials-module_header", "avatarStack": "PromoTestimonials-module_avatarStack", "avatarRing": "PromoTestimonials-module_avatarRing", "overflowBadge": "PromoTestimonials-module_overflowBadge", "overflowCircle": "PromoTestimonials-module_overflowCircle", "rating": "PromoTestimonials-module_rating", "cardsSection": "PromoTestimonials-module_cardsSection", "cardsGrid": "PromoTestimonials-module_cardsGrid", "card": "PromoTestimonials-module_card", "quote": "PromoTestimonials-module_quote", "author": "PromoTestimonials-module_author", "authorInfo": "PromoTestimonials-module_authorInfo", "authorName": "PromoTestimonials-module_authorName", "authorRole": "PromoTestimonials-module_authorRole", "mediaSection": "PromoTestimonials-module_mediaSection", "mediaBox": "PromoTestimonials-module_mediaBox" };
2676
2676
  function PromoTestimonials({
2677
2677
  heading,
2678
2678
  subtitle,
@@ -2686,33 +2686,33 @@ function PromoTestimonials({
2686
2686
  const noVerticalClass = verticalPadding === "none" ? ` ${__default66.rootNoVertical}` : "";
2687
2687
  const ratingCountLabel = rating && rating.count !== void 0 && rating.count > 0 ? rating.countLabel ? rating.countLabel(rating.count) : String(rating.count) : null;
2688
2688
  return /* @__PURE__ */ jsxRuntime.jsx("section", { className: `${__default66.root}${noVerticalClass}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default66.wrapper, children: [
2689
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default66.avatarSection, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default66.avatarStack, children: [
2690
- testimonials.slice(0, 5).map((t, i) => {
2691
- const initials = t.name.split(" ").map((n) => n[0]).join("").toUpperCase();
2692
- return /* @__PURE__ */ jsxRuntime.jsx(
2693
- "div",
2694
- {
2695
- className: __default66.avatarRing,
2696
- style: { zIndex: 10 - i },
2697
- children: /* @__PURE__ */ jsxRuntime.jsx(
2698
- Avatar,
2699
- {
2700
- size: "md",
2701
- src: t.avatarSrc,
2702
- initials
2703
- }
2704
- )
2705
- },
2706
- i
2707
- );
2708
- }),
2709
- testimonials.length > 5 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default66.overflowBadge, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default66.overflowCircle, children: [
2710
- "+",
2711
- testimonials.length - 5
2712
- ] }) })
2713
- ] }) }),
2714
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default66.headingSection, children: [
2689
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default66.header, children: [
2715
2690
  /* @__PURE__ */ jsxRuntime.jsx(SectionHeading, { size: headingSize, align: "center", subtitle, children: heading }),
2691
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default66.avatarStack, children: [
2692
+ testimonials.slice(0, 5).map((t, i) => {
2693
+ const initials = t.name.split(" ").map((n) => n[0]).join("").toUpperCase();
2694
+ return /* @__PURE__ */ jsxRuntime.jsx(
2695
+ "div",
2696
+ {
2697
+ className: __default66.avatarRing,
2698
+ style: { zIndex: 10 - i },
2699
+ children: /* @__PURE__ */ jsxRuntime.jsx(
2700
+ Avatar,
2701
+ {
2702
+ size: "md",
2703
+ src: t.avatarSrc,
2704
+ initials
2705
+ }
2706
+ )
2707
+ },
2708
+ i
2709
+ );
2710
+ }),
2711
+ testimonials.length > 5 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: __default66.overflowBadge, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: __default66.overflowCircle, children: [
2712
+ "+",
2713
+ testimonials.length - 5
2714
+ ] }) })
2715
+ ] }),
2716
2716
  rating && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: __default66.rating, children: [
2717
2717
  rating.value.toFixed(1),
2718
2718
  " \u2605",
package/dist/index.js CHANGED
@@ -2666,7 +2666,7 @@ function PromoDevicesCTA({
2666
2666
  }
2667
2667
 
2668
2668
  // css-extract-scss:/Users/dimakozh/Desktop/projects/kapustin.cc/packages/ui/src/organisms/PromoTestimonials.module.scss
2669
- var __default66 = { "root": "PromoTestimonials-module_root", "rootNoVertical": "PromoTestimonials-module_rootNoVertical", "wrapper": "PromoTestimonials-module_wrapper", "avatarSection": "PromoTestimonials-module_avatarSection", "avatarStack": "PromoTestimonials-module_avatarStack", "avatarRing": "PromoTestimonials-module_avatarRing", "overflowBadge": "PromoTestimonials-module_overflowBadge", "overflowCircle": "PromoTestimonials-module_overflowCircle", "headingSection": "PromoTestimonials-module_headingSection", "rating": "PromoTestimonials-module_rating", "cardsSection": "PromoTestimonials-module_cardsSection", "cardsGrid": "PromoTestimonials-module_cardsGrid", "card": "PromoTestimonials-module_card", "quote": "PromoTestimonials-module_quote", "author": "PromoTestimonials-module_author", "authorInfo": "PromoTestimonials-module_authorInfo", "authorName": "PromoTestimonials-module_authorName", "authorRole": "PromoTestimonials-module_authorRole", "mediaSection": "PromoTestimonials-module_mediaSection", "mediaBox": "PromoTestimonials-module_mediaBox" };
2669
+ var __default66 = { "root": "PromoTestimonials-module_root", "rootNoVertical": "PromoTestimonials-module_rootNoVertical", "wrapper": "PromoTestimonials-module_wrapper", "header": "PromoTestimonials-module_header", "avatarStack": "PromoTestimonials-module_avatarStack", "avatarRing": "PromoTestimonials-module_avatarRing", "overflowBadge": "PromoTestimonials-module_overflowBadge", "overflowCircle": "PromoTestimonials-module_overflowCircle", "rating": "PromoTestimonials-module_rating", "cardsSection": "PromoTestimonials-module_cardsSection", "cardsGrid": "PromoTestimonials-module_cardsGrid", "card": "PromoTestimonials-module_card", "quote": "PromoTestimonials-module_quote", "author": "PromoTestimonials-module_author", "authorInfo": "PromoTestimonials-module_authorInfo", "authorName": "PromoTestimonials-module_authorName", "authorRole": "PromoTestimonials-module_authorRole", "mediaSection": "PromoTestimonials-module_mediaSection", "mediaBox": "PromoTestimonials-module_mediaBox" };
2670
2670
  function PromoTestimonials({
2671
2671
  heading,
2672
2672
  subtitle,
@@ -2680,33 +2680,33 @@ function PromoTestimonials({
2680
2680
  const noVerticalClass = verticalPadding === "none" ? ` ${__default66.rootNoVertical}` : "";
2681
2681
  const ratingCountLabel = rating && rating.count !== void 0 && rating.count > 0 ? rating.countLabel ? rating.countLabel(rating.count) : String(rating.count) : null;
2682
2682
  return /* @__PURE__ */ jsx("section", { className: `${__default66.root}${noVerticalClass}${className ? ` ${className}` : ""}`, children: /* @__PURE__ */ jsxs("div", { className: __default66.wrapper, children: [
2683
- /* @__PURE__ */ jsx("div", { className: __default66.avatarSection, children: /* @__PURE__ */ jsxs("div", { className: __default66.avatarStack, children: [
2684
- testimonials.slice(0, 5).map((t, i) => {
2685
- const initials = t.name.split(" ").map((n) => n[0]).join("").toUpperCase();
2686
- return /* @__PURE__ */ jsx(
2687
- "div",
2688
- {
2689
- className: __default66.avatarRing,
2690
- style: { zIndex: 10 - i },
2691
- children: /* @__PURE__ */ jsx(
2692
- Avatar,
2693
- {
2694
- size: "md",
2695
- src: t.avatarSrc,
2696
- initials
2697
- }
2698
- )
2699
- },
2700
- i
2701
- );
2702
- }),
2703
- testimonials.length > 5 && /* @__PURE__ */ jsx("div", { className: __default66.overflowBadge, children: /* @__PURE__ */ jsxs("div", { className: __default66.overflowCircle, children: [
2704
- "+",
2705
- testimonials.length - 5
2706
- ] }) })
2707
- ] }) }),
2708
- /* @__PURE__ */ jsxs("div", { className: __default66.headingSection, children: [
2683
+ /* @__PURE__ */ jsxs("div", { className: __default66.header, children: [
2709
2684
  /* @__PURE__ */ jsx(SectionHeading, { size: headingSize, align: "center", subtitle, children: heading }),
2685
+ /* @__PURE__ */ jsxs("div", { className: __default66.avatarStack, children: [
2686
+ testimonials.slice(0, 5).map((t, i) => {
2687
+ const initials = t.name.split(" ").map((n) => n[0]).join("").toUpperCase();
2688
+ return /* @__PURE__ */ jsx(
2689
+ "div",
2690
+ {
2691
+ className: __default66.avatarRing,
2692
+ style: { zIndex: 10 - i },
2693
+ children: /* @__PURE__ */ jsx(
2694
+ Avatar,
2695
+ {
2696
+ size: "md",
2697
+ src: t.avatarSrc,
2698
+ initials
2699
+ }
2700
+ )
2701
+ },
2702
+ i
2703
+ );
2704
+ }),
2705
+ testimonials.length > 5 && /* @__PURE__ */ jsx("div", { className: __default66.overflowBadge, children: /* @__PURE__ */ jsxs("div", { className: __default66.overflowCircle, children: [
2706
+ "+",
2707
+ testimonials.length - 5
2708
+ ] }) })
2709
+ ] }),
2710
2710
  rating && /* @__PURE__ */ jsxs("p", { className: __default66.rating, children: [
2711
2711
  rating.value.toFixed(1),
2712
2712
  " \u2605",