quirk-ui 0.1.129 → 0.1.131

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index31.css');const b=require("react"),y="_heading_274hu_2",C="_h1_274hu_10",w="_h2_274hu_16",k="_h3_274hu_22",v="_h4_274hu_27",S="_h5_274hu_32",z="_h6_274hu_37",H="_gradient_274hu_71",O="_truncate_274hu_84",t={heading:y,h1:C,h2:w,h3:k,h4:v,h5:S,h6:z,"align-left":"_align-left_274hu_45","align-center":"_align-center_274hu_49","align-right":"_align-right_274hu_53","transform-uppercase":"_transform-uppercase_274hu_58","transform-lowercase":"_transform-lowercase_274hu_62","transform-capitalize":"_transform-capitalize_274hu_66",gradient:H,truncate:O};function W({level:n=1,as:r,align:a,transform:s="none",gradient:_=!1,truncate:h=!1,maxLines:e,className:c,style:o,children:i,...l}){const u=r||`h${n}`,g=t[`h${n}`]||"",d=a?t[`align-${a}`]:"",f=s!=="none"?t[`transform-${s}`]:"",m=_?t.gradient:"",$=h?t.truncate:"",p={...o,...e&&e>1?{display:"-webkit-box",WebkitLineClamp:e,WebkitBoxOrient:"vertical",overflow:"hidden"}:{}};return b.createElement(u,{className:`${t.heading} ${g} ${d} ${f} ${m} ${$} ${c??""}`.trim(),style:p,...l},i)}exports.Heading=W;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../../index31.css');const p=require("react"),b="_heading_6h751_2",y="_h1_6h751_10",C="_h2_6h751_16",w="_h3_6h751_22",k="_h4_6h751_27",v="_h5_6h751_32",S="_h6_6h751_37",z="_gradient_6h751_71",H="_truncate_6h751_84",t={heading:b,h1:y,h2:C,h3:w,h4:k,h5:v,h6:S,"align-left":"_align-left_6h751_45","align-center":"_align-center_6h751_49","align-right":"_align-right_6h751_53","transform-uppercase":"_transform-uppercase_6h751_58","transform-lowercase":"_transform-lowercase_6h751_62","transform-capitalize":"_transform-capitalize_6h751_66",gradient:z,truncate:H,"text-small":"_text-small_6h751_133","text-medium":"_text-medium_6h751_134","text-large":"_text-large_6h751_135","text-xlarge":"_text-xlarge_6h751_136"};function O({level:n=1,as:r,align:a,transform:_="none",gradient:s=!1,truncate:h=!1,maxLines:e,className:l,style:c,children:i,...o}){const g=r||`h${n}`,d=t[`h${n}`]||"",m=a?t[`align-${a}`]:"",u=_!=="none"?t[`transform-${_}`]:"",f=s?t.gradient:"",$=h?t.truncate:"",x={...c,...e&&e>1?{display:"-webkit-box",WebkitLineClamp:e,WebkitBoxOrient:"vertical",overflow:"hidden"}:{}};return p.createElement(g,{className:`${t.heading} ${d} ${m} ${u} ${f} ${$} ${l??""}`.trim(),style:x,...o},i)}exports.Heading=O;
@@ -1,51 +1,55 @@
1
- import C from "react";
2
- import '../../../index31.css';const b = "_heading_274hu_2", w = "_h1_274hu_10", y = "_h2_274hu_16", k = "_h3_274hu_22", v = "_h4_274hu_27", z = "_h5_274hu_32", W = "_h6_274hu_37", x = "_gradient_274hu_71", B = "_truncate_274hu_84", t = {
3
- heading: b,
4
- h1: w,
5
- h2: y,
6
- h3: k,
7
- h4: v,
8
- h5: z,
9
- h6: W,
10
- "align-left": "_align-left_274hu_45",
11
- "align-center": "_align-center_274hu_49",
12
- "align-right": "_align-right_274hu_53",
13
- "transform-uppercase": "_transform-uppercase_274hu_58",
14
- "transform-lowercase": "_transform-lowercase_274hu_62",
15
- "transform-capitalize": "_transform-capitalize_274hu_66",
16
- gradient: x,
17
- truncate: B
1
+ import p from "react";
2
+ import '../../../index31.css';const C = "_heading_6h751_2", b = "_h1_6h751_10", w = "_h2_6h751_16", y = "_h3_6h751_22", k = "_h4_6h751_27", v = "_h5_6h751_32", z = "_h6_6h751_37", W = "_gradient_6h751_71", B = "_truncate_6h751_84", t = {
3
+ heading: C,
4
+ h1: b,
5
+ h2: w,
6
+ h3: y,
7
+ h4: k,
8
+ h5: v,
9
+ h6: z,
10
+ "align-left": "_align-left_6h751_45",
11
+ "align-center": "_align-center_6h751_49",
12
+ "align-right": "_align-right_6h751_53",
13
+ "transform-uppercase": "_transform-uppercase_6h751_58",
14
+ "transform-lowercase": "_transform-lowercase_6h751_62",
15
+ "transform-capitalize": "_transform-capitalize_6h751_66",
16
+ gradient: W,
17
+ truncate: B,
18
+ "text-small": "_text-small_6h751_133",
19
+ "text-medium": "_text-medium_6h751_134",
20
+ "text-large": "_text-large_6h751_135",
21
+ "text-xlarge": "_text-xlarge_6h751_136"
18
22
  };
19
23
  function H({
20
- level: e = 1,
21
- as: s,
22
- align: a,
23
- transform: _ = "none",
24
- gradient: h = !1,
25
- truncate: r = !1,
26
- maxLines: n,
27
- className: o,
28
- style: c,
29
- children: i,
30
- ...l
24
+ level: _ = 1,
25
+ as: h,
26
+ align: n,
27
+ transform: a = "none",
28
+ gradient: r = !1,
29
+ truncate: s = !1,
30
+ maxLines: e,
31
+ className: l,
32
+ style: o,
33
+ children: c,
34
+ ...i
31
35
  }) {
32
- const u = s || `h${e}`, g = t[`h${e}`] || "", d = a ? t[`align-${a}`] : "", f = _ !== "none" ? t[`transform-${_}`] : "", m = h ? t.gradient : "", $ = r ? t.truncate : "", p = {
33
- ...c,
34
- ...n && n > 1 ? {
36
+ const g = h || `h${_}`, m = t[`h${_}`] || "", d = n ? t[`align-${n}`] : "", f = a !== "none" ? t[`transform-${a}`] : "", u = r ? t.gradient : "", x = s ? t.truncate : "", $ = {
37
+ ...o,
38
+ ...e && e > 1 ? {
35
39
  display: "-webkit-box",
36
- WebkitLineClamp: n,
40
+ WebkitLineClamp: e,
37
41
  WebkitBoxOrient: "vertical",
38
42
  overflow: "hidden"
39
43
  } : {}
40
44
  };
41
- return C.createElement(
42
- u,
45
+ return p.createElement(
46
+ g,
43
47
  {
44
- className: `${t.heading} ${g} ${d} ${f} ${m} ${$} ${o ?? ""}`.trim(),
45
- style: p,
46
- ...l
48
+ className: `${t.heading} ${m} ${d} ${f} ${u} ${x} ${l ?? ""}`.trim(),
49
+ style: $,
50
+ ...i
47
51
  },
48
- i
52
+ c
49
53
  );
50
54
  }
51
55
  export {
package/dist/index14.css CHANGED
@@ -1 +1 @@
1
- ._wasHelpful_nphsl_1{width:100%}._container_nphsl_5{display:flex;flex-direction:column;align-items:center;gap:var(--spacing-md);padding:var(--spacing-lg) var(--spacing-md) var(--spacing-xl);max-width:var(--layout-width);margin:0 auto}._container_nphsl_5 hr{width:100%;border:0;height:0;border-top:1px solid rgba(0,0,0,.1);border-bottom:1px solid rgba(255,255,255,.3)}._container_nphsl_5 hr:first-of-type{margin-bottom:var(--spacing-lg)}._container_nphsl_5 hr:last-of-type{margin-top:var(--spacing-lg)}._buttons_nphsl_34{width:100%}._heading_nphsl_49{font-size:var(--font-size-lg);font-weight:var(--font-weight-semibold)}.blog ._container_nphsl_5{max-width:var(--blog-width)}
1
+ ._wasHelpful_1msqu_1{width:100%}._container_1msqu_5{display:flex;flex-direction:column;align-items:center;gap:var(--spacing-md);padding:var(--spacing-lg) var(--spacing-md) var(--spacing-xl);max-width:var(--layout-width);margin:0 auto}._container_1msqu_5 hr{width:100%;border:0;height:0;border-top:1px solid rgba(0,0,0,.1);border-bottom:1px solid rgba(255,255,255,.3)}._container_1msqu_5 hr:first-of-type{margin-bottom:var(--spacing-lg)}._container_1msqu_5 hr:last-of-type{margin-top:var(--spacing-lg)}._buttons_1msqu_34{width:100%}._heading_1msqu_49{font-size:var(--font-size-lg);font-weight:var(--font-weight-semibold)}.narrow ._container_1msqu_5{max-width:var(--narrow-width)}
package/dist/index3.css CHANGED
@@ -1 +1 @@
1
- ._additionalCategories_1wmnv_1{width:100%;margin-bottom:var(--spacing-md)}._container_1wmnv_6{padding:0 var(--spacing-md) var(--spacing-md);max-width:var(--layout-width);margin:0 auto}._categories_1wmnv_12{display:flex;align-items:center;justify-content:flex-start;gap:var(--spacing-md)}._categories_1wmnv_12 p{font-weight:var(--font-weight-semibold)}._list_1wmnv_23{display:flex;align-items:center;justify-content:center;gap:var(--spacing-md);flex-wrap:wrap}._category_1wmnv_31{display:flex;align-items:center;justify-content:center;padding:0 var(--spacing-md);height:35px;background-color:var(--color-secondary-75);border-radius:var(--radius-full);transition:background-color .3s ease-in-out;cursor:pointer;color:#fff;text-decoration:none}._category_1wmnv_31:hover{background-color:var(--color-primary-100)}.blog ._container_1wmnv_6{max-width:var(--blog-width)}
1
+ ._additionalCategories_tfoxo_1{width:100%;margin-bottom:var(--spacing-md)}._container_tfoxo_6{padding:0 var(--spacing-md) var(--spacing-md);max-width:var(--layout-width);margin:0 auto}._categories_tfoxo_12{display:flex;align-items:center;justify-content:flex-start;gap:var(--spacing-md)}._categories_tfoxo_12 p{font-weight:var(--font-weight-semibold)}._list_tfoxo_23{display:flex;align-items:center;justify-content:center;gap:var(--spacing-md);flex-wrap:wrap}._category_tfoxo_31{display:flex;align-items:center;justify-content:center;padding:0 var(--spacing-md);height:35px;background-color:var(--color-secondary-75);border-radius:var(--radius-full);transition:background-color .3s ease-in-out;cursor:pointer;color:#fff;text-decoration:none}._category_tfoxo_31:hover{background-color:var(--color-primary-100)}.narrow ._container_tfoxo_6{max-width:var(--narrow-width)}
package/dist/index31.css CHANGED
@@ -1 +1 @@
1
- ._heading_274hu_2{font-family:var(--font-family-primary, inherit);line-height:var(--line-height-tight, 1.1);color:var(--color-heading, var(--color-text));margin:0}._h1_274hu_10{font-size:var(--font-size-h1, 2.5rem);font-weight:var(--font-weight-bold, 700);letter-spacing:-.02em}._h2_274hu_16{font-size:var(--font-size-h2, 2rem);font-weight:var(--font-weight-bold, 700);letter-spacing:-.01em}._h3_274hu_22{font-size:var(--font-size-h3, 1.75rem);font-weight:var(--font-weight-semibold, 600)}._h4_274hu_27{font-size:var(--font-size-h4, 1.5rem);font-weight:var(--font-weight-semibold, 600)}._h5_274hu_32{font-size:var(--font-size-h5, 1.25rem);font-weight:var(--font-weight-medium, 500)}._h6_274hu_37{font-size:var(--font-size-h6, 1rem);font-weight:var(--font-weight-medium, 500);text-transform:uppercase;letter-spacing:.05em}._align-left_274hu_45{text-align:left}._align-center_274hu_49{text-align:center}._align-right_274hu_53{text-align:right}._transform-uppercase_274hu_58{text-transform:uppercase}._transform-lowercase_274hu_62{text-transform:lowercase}._transform-capitalize_274hu_66{text-transform:capitalize}._gradient_274hu_71{background:linear-gradient(135deg,var(--color-primary-100, #007bff) 0%,var(--color-primary-120, #0056b3) 50%,var(--color-secondary-100, #6c757d) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}._truncate_274hu_84{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width: 768px){._h1_274hu_10{font-size:var(--font-size-h2, 2rem)}._h2_274hu_16{font-size:var(--font-size-h3, 1.75rem)}._h3_274hu_22{font-size:var(--font-size-h4, 1.5rem)}._h4_274hu_27{font-size:var(--font-size-h5, 1.25rem)}}@media (max-width: 480px){._h1_274hu_10{font-size:var(--font-size-h3, 1.75rem)}._h2_274hu_16{font-size:var(--font-size-h4, 1.5rem)}._h3_274hu_22{font-size:var(--font-size-h5, 1.25rem)}}._heading_274hu_2[class*=bg-]{padding:var(--spacing-sm, .5rem) var(--spacing-md, 1rem);border-radius:var(--radius-md, .5rem)}._heading_274hu_2:focus-visible{outline:2px solid var(--color-primary-100, #007bff);outline-offset:2px;border-radius:var(--radius-sm, .25rem)}._heading_274hu_2:focus{outline:none}
1
+ ._heading_6h751_2{font-family:var(--font-family-primary, inherit);line-height:var(--line-height-tight, 1.1);color:var(--color-heading, var(--color-text));margin:0}._h1_6h751_10{font-size:var(--font-size-h1, 2.5rem);font-weight:var(--font-weight-bold, 700);letter-spacing:-.02em}._h2_6h751_16{font-size:var(--font-size-h2, 2rem);font-weight:var(--font-weight-bold, 700);letter-spacing:-.01em}._h3_6h751_22{font-size:var(--font-size-h3, 1.75rem);font-weight:var(--font-weight-semibold, 600)}._h4_6h751_27{font-size:var(--font-size-h4, 1.5rem);font-weight:var(--font-weight-semibold, 600)}._h5_6h751_32{font-size:var(--font-size-h5, 1.25rem);font-weight:var(--font-weight-medium, 500)}._h6_6h751_37{font-size:var(--font-size-h6, 1rem);font-weight:var(--font-weight-medium, 500);text-transform:uppercase;letter-spacing:.05em}._align-left_6h751_45{text-align:left}._align-center_6h751_49{text-align:center}._align-right_6h751_53{text-align:right}._transform-uppercase_6h751_58{text-transform:uppercase}._transform-lowercase_6h751_62{text-transform:lowercase}._transform-capitalize_6h751_66{text-transform:capitalize}._gradient_6h751_71{background:linear-gradient(135deg,var(--color-primary-100, #007bff) 0%,var(--color-primary-120, #0056b3) 50%,var(--color-secondary-100, #6c757d) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}._truncate_6h751_84{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width: 768px){._h1_6h751_10{font-size:var(--font-size-h2, 2rem)}._h2_6h751_16{font-size:var(--font-size-h3, 1.75rem)}._h3_6h751_22{font-size:var(--font-size-h4, 1.5rem)}._h4_6h751_27{font-size:var(--font-size-h5, 1.25rem)}}@media (max-width: 480px){._h1_6h751_10{font-size:var(--font-size-h3, 1.75rem)}._h2_6h751_16{font-size:var(--font-size-h4, 1.5rem)}._h3_6h751_22{font-size:var(--font-size-h5, 1.25rem)}}._heading_6h751_2[class*=bg-]{padding:var(--spacing-sm, .5rem) var(--spacing-md, 1rem);border-radius:var(--radius-md, .5rem)}._heading_6h751_2:has(span._text-small_6h751_133),._heading_6h751_2:has(span._text-medium_6h751_134),._heading_6h751_2:has(span._text-large_6h751_135),._heading_6h751_2:has(span._text-xlarge_6h751_136){font-size:1em;line-height:inherit}._heading_6h751_2:focus-visible{outline:2px solid var(--color-primary-100, #007bff);outline-offset:2px;border-radius:var(--radius-sm, .25rem)}._heading_6h751_2:focus{outline:none}
package/dist/index6.css CHANGED
@@ -1 +1 @@
1
- ._content_1atux_1{width:100%;padding-top:var(--spacing-xl);padding-bottom:var(--spacing-xl)}._container_1atux_7{display:flex;align-items:center;justify-content:space-between;flex-direction:column;width:100%;max-width:var(--container-max-width, var(--layout-width));margin:0 auto;padding-left:var(--spacing-md);padding-right:var(--spacing-md)}._container_1atux_7 h1,._container_1atux_7 h2,._container_1atux_7 h3,._container_1atux_7 h4,._container_1atux_7 h5,._container_1atux_7 h6{width:100%;margin-block:0}@media (max-width: 767px){._container_1atux_7{gap:var(--spacing-xl)}}._eyebrow_1atux_34{font-weight:var(--font-weight-bold)}._metrics_1atux_38{display:flex;align-items:flex-start;flex-wrap:wrap;gap:var(--spacing-md);padding:var(--spacing-md)}@media (max-width: 767px){._metrics_1atux_38{flex-direction:column}}._metric_1atux_38{flex:1}._metricValue_1atux_54{font-size:2.5rem;font-weight:var(--font-weight-bold);position:relative;z-index:1;color:var(--color-text-primary)}._metricValue_1atux_54:after{content:"";display:block;background-color:var(--color-primary-10);width:35px;height:35px;position:absolute;top:-3px;left:-.5rem;z-index:-1;border-radius:var(--radius-md)}._disclaimer_1atux_75{color:var(--color-text-primary);font-size:var(--font-size-sm)}._layoutHImageRight_1atux_80{flex-direction:row;gap:var(--gap, 5rem)}._layoutHImageRight_1atux_80 ._heading_1atux_84{gap:var(--spacing-md);flex:.65}._layoutHImageRight_1atux_80 ._media_1atux_89{flex:.5}@media (max-width: 768px){._layoutHImageRight_1atux_80{flex-direction:column-reverse;gap:var(--spacing-lg)}}._noImage_1atux_99{flex-direction:column}._layoutHImageLeft_1atux_103{flex-direction:row-reverse;gap:var(--gap, 5rem)}._layoutHImageLeft_1atux_103 ._heading_1atux_84{gap:var(--spacing-md);flex:.65}._layoutHImageLeft_1atux_103 ._media_1atux_89{flex:.5}@media (max-width: 768px){._layoutHImageLeft_1atux_103{flex-direction:column-reverse;gap:var(--spacing-lg)}}._layoutVImageTop_1atux_122{flex-direction:column-reverse;gap:var(--gap, var(--spacing-lg))}._layoutVImageTop_1atux_122 ._heading_1atux_84{gap:var(--spacing-md)}@media (max-width: 768px){._layoutVImageTop_1atux_122{gap:var(--spacing-lg)}}._layoutVImageBottom_1atux_135{flex-direction:column;gap:var(--gap, var(--spacing-lg))}._layoutVImageBottom_1atux_135 ._heading_1atux_84{gap:var(--spacing-md)}@media (max-width: 768px){._layoutVImageBottom_1atux_135{gap:var(--spacing-lg)}}._heading_1atux_84{display:flex;flex-direction:column;width:100%;gap:var(--spacing-md)}._heading_1atux_84:not(:has(._text_1atux_154 .portableTextContainer)){gap:var(--spacing-lg)}._title_1atux_159{text-wrap:pretty}._text_1atux_154{flex:1;display:flex;justify-content:center;flex-direction:column;gap:var(--spacing-lg)}@media (max-width: 767px){._text_1atux_154{flex:1;width:100%;align-items:flex-start}}._cta_1atux_178{width:100%}@media (max-width: 767px){._cta_1atux_178{justify-content:flex-start}}._headingHorizontal_1atux_186{flex-direction:row;justify-content:space-between;gap:5rem}@media (max-width: 767px){._headingHorizontal_1atux_186{gap:var(--spacing-md)}}._headingHorizontal_1atux_186 ._titleWrapper_1atux_195,._headingHorizontal_1atux_186 .portableTextContainer{flex:1}._headingHorizontal_1atux_186 ._title_1atux_159{margin-bottom:0}._headingHorizontal_1atux_186 p._title_1atux_159{margin-top:1rem}@media (max-width: 768px){._headingHorizontal_1atux_186{flex-direction:column}}._headingVertical_1atux_216{flex-direction:column;justify-content:flex-start}._media_1atux_89{display:flex;align-items:center;justify-content:center;flex:1;width:100%;margin:0 auto;line-height:0}._media_1atux_89 img{width:100%;height:auto}._videoWrapper_1atux_237{position:relative;width:100%;padding-bottom:56.25%;height:0;overflow:hidden;border-radius:var(--radius-md);flex:1}._videoWrapper_1atux_237 iframe,._videoWrapper_1atux_237 video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}._default_1atux_257{display:block}._default_1atux_257 img{border-radius:var(--radius-md)}._maxWidth_1atux_265{margin:0 auto}._maxWidth_1atux_265 img{max-width:var(--max-width, var(--layout-width));border-radius:var(--radius-md);height:auto}._fullBleed_1atux_275{width:100%;max-width:unset;border-radius:var(--radius-md);overflow:hidden}.blog ._container_1atux_7{max-width:var(--blog-width)}.centered ._heading_1atux_84{gap:var(--spacing-md);align-items:center;justify-content:center}.centered ._text_1atux_154{align-items:center}.centered ._cta_1atux_178{justify-content:center}.backgroundPrimary ._text_1atux_154 p,.backgroundPrimary ._text_1atux_154 p a,.backgroundPrimary ._metricValue_1atux_54{color:#fff}.backgroundPrimary ._metricValue_1atux_54:after{background-color:var(--color-secondary-100)}.backgroundPrimary ._cta_1atux_178 ._secondary_1atux_316{background-color:#fff}.split-35-65 ._heading_1atux_84{flex:.35}._layoutSplitText_1atux_329{flex-direction:row;align-items:flex-start;gap:var(--gap, 5rem)}@media (max-width: 768px){._layoutSplitText_1atux_329{flex-direction:column;gap:var(--spacing-lg)}}._layoutSplitText_1atux_329 ._heading_1atux_84{flex:.5}._additionalContent_1atux_344{flex:.5;display:flex;flex-direction:column;gap:var(--spacing-md)}@media (max-width: 768px){._additionalContent_1atux_344{flex:1;width:100%}}.imageRadius-sm ._media_1atux_89 img{border-radius:var(--radius-sm)}.imageRadius-md ._media_1atux_89 img{border-radius:var(--radius-md)}.imageRadius-lg ._media_1atux_89 img{border-radius:var(--radius-lg)}.imageRadius-full ._media_1atux_89 img{border-radius:var(--radius-full)}
1
+ ._content_1mhfh_1{width:100%;padding-top:var(--spacing-xl);padding-bottom:var(--spacing-xl)}._container_1mhfh_7{display:flex;align-items:center;justify-content:space-between;flex-direction:column;width:100%;max-width:var(--container-max-width, var(--layout-width));margin:0 auto;padding-left:var(--spacing-md);padding-right:var(--spacing-md)}._container_1mhfh_7 h1,._container_1mhfh_7 h2,._container_1mhfh_7 h3,._container_1mhfh_7 h4,._container_1mhfh_7 h5,._container_1mhfh_7 h6{width:100%;margin-block:0}@media (max-width: 767px){._container_1mhfh_7{gap:var(--spacing-xl)}}._eyebrow_1mhfh_34{font-weight:var(--font-weight-bold)}._metrics_1mhfh_38{display:flex;align-items:flex-start;flex-wrap:wrap;gap:var(--spacing-md);padding:var(--spacing-md)}@media (max-width: 767px){._metrics_1mhfh_38{flex-direction:column}}._metric_1mhfh_38{flex:1}._metricValue_1mhfh_54{font-size:2.5rem;font-weight:var(--font-weight-bold);position:relative;z-index:1;color:var(--color-text-primary)}._metricValue_1mhfh_54:after{content:"";display:block;background-color:var(--color-primary-10);width:35px;height:35px;position:absolute;top:-3px;left:-.5rem;z-index:-1;border-radius:var(--radius-md)}._disclaimer_1mhfh_75{color:var(--color-text-primary);font-size:var(--font-size-sm)}._layoutHImageRight_1mhfh_80{flex-direction:row;gap:var(--gap, 5rem)}._layoutHImageRight_1mhfh_80 ._heading_1mhfh_84{gap:var(--spacing-md);flex:.65}._layoutHImageRight_1mhfh_80 ._media_1mhfh_89{flex:.5}@media (max-width: 768px){._layoutHImageRight_1mhfh_80{flex-direction:column-reverse;gap:var(--spacing-lg)}}._noImage_1mhfh_99{flex-direction:column}._layoutHImageLeft_1mhfh_103{flex-direction:row-reverse;gap:var(--gap, 5rem)}._layoutHImageLeft_1mhfh_103 ._heading_1mhfh_84{gap:var(--spacing-md);flex:.65}._layoutHImageLeft_1mhfh_103 ._media_1mhfh_89{flex:.5}@media (max-width: 768px){._layoutHImageLeft_1mhfh_103{flex-direction:column-reverse;gap:var(--spacing-lg)}}._layoutVImageTop_1mhfh_122{flex-direction:column-reverse;gap:var(--gap, var(--spacing-lg))}._layoutVImageTop_1mhfh_122 ._heading_1mhfh_84{gap:var(--spacing-md)}@media (max-width: 768px){._layoutVImageTop_1mhfh_122{gap:var(--spacing-lg)}}._layoutVImageBottom_1mhfh_135{flex-direction:column;gap:var(--gap, var(--spacing-lg))}._layoutVImageBottom_1mhfh_135 ._heading_1mhfh_84{gap:var(--spacing-md)}@media (max-width: 768px){._layoutVImageBottom_1mhfh_135{gap:var(--spacing-lg)}}._heading_1mhfh_84{display:flex;flex-direction:column;width:100%;gap:var(--spacing-md)}._heading_1mhfh_84:not(:has(._text_1mhfh_154 .portableTextContainer)){gap:var(--spacing-lg)}._title_1mhfh_159{text-wrap:pretty}._text_1mhfh_154{flex:1;display:flex;justify-content:center;flex-direction:column;gap:var(--spacing-lg)}@media (max-width: 767px){._text_1mhfh_154{flex:1;width:100%;align-items:flex-start}}._cta_1mhfh_178{width:100%}@media (max-width: 767px){._cta_1mhfh_178{justify-content:flex-start}}._headingHorizontal_1mhfh_186{flex-direction:row;justify-content:space-between;gap:5rem}@media (max-width: 767px){._headingHorizontal_1mhfh_186{gap:var(--spacing-md)}}._headingHorizontal_1mhfh_186 ._titleWrapper_1mhfh_195,._headingHorizontal_1mhfh_186 .portableTextContainer{flex:1}._headingHorizontal_1mhfh_186 ._title_1mhfh_159{margin-bottom:0}._headingHorizontal_1mhfh_186 p._title_1mhfh_159{margin-top:1rem}@media (max-width: 768px){._headingHorizontal_1mhfh_186{flex-direction:column}}._headingVertical_1mhfh_216{flex-direction:column;justify-content:flex-start}._media_1mhfh_89{display:flex;align-items:center;justify-content:center;flex:1;width:100%;margin:0 auto;line-height:0}._media_1mhfh_89 img{width:100%;height:auto}._videoWrapper_1mhfh_237{position:relative;width:100%;padding-bottom:56.25%;height:0;overflow:hidden;border-radius:var(--radius-md);flex:1}._videoWrapper_1mhfh_237 iframe,._videoWrapper_1mhfh_237 video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}._default_1mhfh_257{display:block}._default_1mhfh_257 img{border-radius:var(--radius-md)}._maxWidth_1mhfh_265{margin:0 auto}._maxWidth_1mhfh_265 img{max-width:var(--max-width, var(--layout-width));border-radius:var(--radius-md);height:auto}._fullBleed_1mhfh_275{width:100%;max-width:unset;border-radius:var(--radius-md);overflow:hidden}.narrow ._container_1mhfh_7{max-width:var(--narrow-width)}.centered ._heading_1mhfh_84{gap:var(--spacing-md);align-items:center;justify-content:center}.centered ._text_1mhfh_154{align-items:center}.centered ._cta_1mhfh_178{justify-content:center}.backgroundPrimary ._text_1mhfh_154 p,.backgroundPrimary ._text_1mhfh_154 p a,.backgroundPrimary ._metricValue_1mhfh_54{color:#fff}.backgroundPrimary ._metricValue_1mhfh_54:after{background-color:var(--color-secondary-100)}.backgroundPrimary ._cta_1mhfh_178 ._secondary_1mhfh_316{background-color:#fff}.split-35-65 ._heading_1mhfh_84{flex:.35}._layoutSplitText_1mhfh_329{flex-direction:row;align-items:flex-start;gap:var(--gap, 5rem)}@media (max-width: 768px){._layoutSplitText_1mhfh_329{flex-direction:column;gap:var(--spacing-lg)}}._layoutSplitText_1mhfh_329 ._heading_1mhfh_84{flex:.5}._additionalContent_1mhfh_344{flex:.5;display:flex;flex-direction:column;gap:var(--spacing-md)}@media (max-width: 768px){._additionalContent_1mhfh_344{flex:1;width:100%}}.imageRadius-sm ._media_1mhfh_89 img{border-radius:var(--radius-sm)}.imageRadius-md ._media_1mhfh_89 img{border-radius:var(--radius-md)}.imageRadius-lg ._media_1mhfh_89 img{border-radius:var(--radius-lg)}.imageRadius-full ._media_1mhfh_89 img{border-radius:var(--radius-full)}
package/dist/index7.css CHANGED
@@ -1 +1 @@
1
- ._featuredDocuments_3oh02_1{width:100%;padding-top:var(--spacing-xl);padding-bottom:var(--spacing-xl)}._container_3oh02_7{width:100%;max-width:var(--layout-width);margin:0 auto;display:flex;flex-direction:column;gap:var(--spacing-md);padding-left:var(--spacing-md);padding-right:var(--spacing-md)}._container_3oh02_7:has(._carousel_3oh02_17){padding-left:var(--spacing-md);padding-right:var(--spacing-md)}@media (max-width: 767px){._container_3oh02_7:has(._carousel_3oh02_17){padding-left:0;padding-right:0}}@media (max-width: 767px){._container_3oh02_7:has(._carousel_3oh02_17) ._heading_3oh02_25{padding-left:var(--spacing-md);padding-right:var(--spacing-md)}}._heading_3oh02_25{display:flex;flex-direction:column;gap:var(--spacing-md);width:100%;min-height:2.4rem}@media (max-width: 767px){._heading_3oh02_25{gap:2rem}}._eyebrow_3oh02_46{font-weight:var(--font-weight-bold)}._flex_3oh02_50{display:flex;align-items:flex-end;justify-content:space-between}@media (max-width: 767px){._flex_3oh02_50{flex-direction:column;align-items:flex-start;gap:var(--spacing-md)}}._flex_3oh02_50>div{flex:1}._flex_3oh02_50 a{display:flex;align-items:center;gap:var(--spacing-sm);color:var(--color-primary-100);font-weight:var(--font-weight-semibold);text-decoration:none;transition:color .3s ease-in-out}._flex_3oh02_50 a:hover{color:var(--color-secondary)}._title_3oh02_80{flex:1;text-wrap:balance}._text_3oh02_85{flex:1;display:flex;justify-content:center;flex-direction:column;gap:var(--spacing-lg)}@media (max-width: 767px){._text_3oh02_85{flex:1;width:100%;align-items:flex-start}}._disclaimer_3oh02_99{color:var(--color-text-primary);font-size:var(--font-size-sm)}._carousel_3oh02_17{display:block}._carousel_3oh02_17 ._document_3oh02_107{margin:0 auto;flex:0 0 300px}@media (max-width: 767px){._carousel_3oh02_17 ._document_3oh02_107{flex:0 0 100%}}._documents_3oh02_126{display:grid;gap:var(--spacing-md)}._documents_3oh02_126._col1_3oh02_130{display:block}._documents_3oh02_126._col1_3oh02_130 ._document_3oh02_107{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--spacing-lg)}@media (max-width: 767px){._documents_3oh02_126._col1_3oh02_130 ._document_3oh02_107{flex-direction:column;gap:var(--spacing-md)}}._documents_3oh02_126._col2_3oh02_147{grid-template-columns:repeat(2,1fr)}._documents_3oh02_126._col2_3oh02_147 ._document_3oh02_107{display:flex;flex-direction:column;gap:var(--spacing-md)}._documents_3oh02_126._col3_3oh02_157{grid-template-columns:repeat(3,1fr)}._documents_3oh02_126._col3_3oh02_157 ._document_3oh02_107{display:flex;flex-direction:column;gap:var(--spacing-md)}._documents_3oh02_126._col4_3oh02_167{grid-template-columns:repeat(4,1fr)}._documents_3oh02_126._col4_3oh02_167 ._document_3oh02_107{display:flex;flex-direction:column;gap:var(--spacing-md)}._documents_3oh02_126._featuredTop_3oh02_177{grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);row-gap:var(--spacing-xl)}@media (max-width: 767px){._documents_3oh02_126._featuredTop_3oh02_177{row-gap:var(--spacing-xl)}}._documents_3oh02_126._featuredTop_3oh02_177 ._document_3oh02_107:not(:first-of-type) ._documentExcerpt_3oh02_187{display:none}@media (max-width: 767px){._documents_3oh02_126._featuredTop_3oh02_177 ._document_3oh02_107:not(:first-of-type) ._documentExcerpt_3oh02_187{display:block}}._documents_3oh02_126._featuredTop_3oh02_177 ._document_3oh02_107:first-of-type{grid-column:1/4;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--spacing-lg)}@media (max-width: 767px){._documents_3oh02_126._featuredTop_3oh02_177 ._document_3oh02_107:first-of-type{flex-direction:column;gap:var(--spacing-md)}}._documents_3oh02_126._featuredTop_3oh02_177 ._document_3oh02_107:first-of-type ._documentContent_3oh02_211{flex:.4}._documents_3oh02_126._featuredLeft_3oh02_217{grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(2,1fr);column-gap:var(--spacing-xl)}@media (max-width: 767px){._documents_3oh02_126._featuredLeft_3oh02_217{column-gap:var(--spacing-md)}}._documents_3oh02_126._featuredLeft_3oh02_217 ._document_3oh02_107:not(:first-of-type){flex-direction:row;gap:var(--spacing-md)}@media (max-width: 767px){._documents_3oh02_126._featuredLeft_3oh02_217 ._document_3oh02_107:not(:first-of-type){flex-direction:column}}._documents_3oh02_126._featuredLeft_3oh02_217 ._document_3oh02_107:not(:first-of-type) ._documentContent_3oh02_211{flex:1}@media (max-width: 767px){._documents_3oh02_126._featuredLeft_3oh02_217 ._document_3oh02_107:not(:first-of-type) ._documentExcerpt_3oh02_187{display:block}}._documents_3oh02_126._featuredLeft_3oh02_217 ._document_3oh02_107:first-of-type{grid-row:1/4;display:flex;flex-direction:column;align-items:center;justify-content:center}._documents_3oh02_126._featuredLeft_3oh02_217 ._document_3oh02_107:first-of-type ._documentContent_3oh02_211{flex:.4}._documents_3oh02_126._twoColumn_3oh02_258{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr)}._documents_3oh02_126._twoColumn_3oh02_258 ._document_3oh02_107{flex-direction:row;gap:var(--spacing-md);align-items:center}@media (max-width: 767px){._documents_3oh02_126._col1_3oh02_130,._documents_3oh02_126._col2_3oh02_147,._documents_3oh02_126._col3_3oh02_157,._documents_3oh02_126._col4_3oh02_167,._documents_3oh02_126._featuredTop_3oh02_177,._documents_3oh02_126._featuredLeft_3oh02_217,._documents_3oh02_126._twoColumn_3oh02_258{display:flex;flex-direction:column}._documents_3oh02_126._col1_3oh02_130 ._document_3oh02_107:first-of-type,._documents_3oh02_126._col1_3oh02_130 ._document_3oh02_107:not(:first-of-type),._documents_3oh02_126._col2_3oh02_147 ._document_3oh02_107:first-of-type,._documents_3oh02_126._col2_3oh02_147 ._document_3oh02_107:not(:first-of-type),._documents_3oh02_126._col3_3oh02_157 ._document_3oh02_107:first-of-type,._documents_3oh02_126._col3_3oh02_157 ._document_3oh02_107:not(:first-of-type),._documents_3oh02_126._col4_3oh02_167 ._document_3oh02_107:first-of-type,._documents_3oh02_126._col4_3oh02_167 ._document_3oh02_107:not(:first-of-type),._documents_3oh02_126._featuredTop_3oh02_177 ._document_3oh02_107:first-of-type,._documents_3oh02_126._featuredTop_3oh02_177 ._document_3oh02_107:not(:first-of-type),._documents_3oh02_126._featuredLeft_3oh02_217 ._document_3oh02_107:first-of-type,._documents_3oh02_126._featuredLeft_3oh02_217 ._document_3oh02_107:not(:first-of-type),._documents_3oh02_126._twoColumn_3oh02_258 ._document_3oh02_107:first-of-type,._documents_3oh02_126._twoColumn_3oh02_258 ._document_3oh02_107:not(:first-of-type){flex-direction:column;gap:var(--spacing-md)}}@media (max-width: 767px){._documents_3oh02_126{gap:var(--spacing-xl)}}._multiple_3oh02_293 ._documents_3oh02_126{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--spacing-md)}._multiple_3oh02_293 ._document_3oh02_107{display:flex;flex-direction:column}._document_3oh02_107{display:flex;text-decoration:none;overflow:hidden;transition:border-color .3s ease-in-out}._document_3oh02_107:hover{border-color:var(--color-primary-100)}._document_3oh02_107:hover ._documentTitle_3oh02_317 h3{color:var(--color-primary-100)}._document_3oh02_107:hover ._callToAction_3oh02_323 ._label_3oh02_324{opacity:1;transform:translateY(0);color:#fff}._document_3oh02_107:hover ._callToAction_3oh02_323 ._icon_3oh02_330{color:var(--color-primary-100)}._documentEyebrow_3oh02_337{font-size:var(--font-size-sm);color:var(--color-secondary)}._documentImage_3oh02_342{width:100%;height:100%;aspect-ratio:16/9;position:relative;overflow:hidden;border-radius:var(--radius-md);line-height:0}._documentImage_3oh02_342 img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease-in-out}._documentTitle_3oh02_317{display:flex;align-items:center;justify-content:space-between;gap:var(--spacing-lg)}._documentContent_3oh02_211{display:flex;flex-direction:column;gap:var(--spacing-sm);width:100%;color:var(--color-text-primary)}._documentContent_3oh02_211 h3{flex:1;font-size:var(--font-size-lg);margin-bottom:0;transition:color .3s ease-in-out}._documentContent_3oh02_211 p{text-decoration:none}._callToAction_3oh02_323{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:var(--spacing-sm)}._callToAction_3oh02_323 ._icon_3oh02_330{display:flex;align-items:center;justify-content:center;width:25px;height:25px;background-color:transparent;color:var(--color-text-primary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out}._callToAction_3oh02_323 ._label_3oh02_324{color:var(--color-primary-100);font-weight:var(--font-weight-semibold);opacity:0;transform:translateY(10px);transition:opacity .3s ease-in-out,transform .3s ease-in-out}.blog ._container_3oh02_7{max-width:var(--blog-width)}
1
+ ._featuredDocuments_knk5c_1{width:100%;padding-top:var(--spacing-xl);padding-bottom:var(--spacing-xl)}._container_knk5c_7{width:100%;max-width:var(--layout-width);margin:0 auto;display:flex;flex-direction:column;gap:var(--spacing-md);padding-left:var(--spacing-md);padding-right:var(--spacing-md)}._container_knk5c_7:has(._carousel_knk5c_17){padding-left:var(--spacing-md);padding-right:var(--spacing-md)}@media (max-width: 767px){._container_knk5c_7:has(._carousel_knk5c_17){padding-left:0;padding-right:0}}@media (max-width: 767px){._container_knk5c_7:has(._carousel_knk5c_17) ._heading_knk5c_25{padding-left:var(--spacing-md);padding-right:var(--spacing-md)}}._heading_knk5c_25{display:flex;flex-direction:column;gap:var(--spacing-md);width:100%;min-height:2.4rem}@media (max-width: 767px){._heading_knk5c_25{gap:2rem}}._eyebrow_knk5c_46{font-weight:var(--font-weight-bold)}._flex_knk5c_50{display:flex;align-items:flex-end;justify-content:space-between}@media (max-width: 767px){._flex_knk5c_50{flex-direction:column;align-items:flex-start;gap:var(--spacing-md)}}._flex_knk5c_50>div{flex:1}._flex_knk5c_50 a{display:flex;align-items:center;gap:var(--spacing-sm);color:var(--color-primary-100);font-weight:var(--font-weight-semibold);text-decoration:none;transition:color .3s ease-in-out}._flex_knk5c_50 a:hover{color:var(--color-secondary)}._title_knk5c_80{flex:1;text-wrap:balance}._text_knk5c_85{flex:1;display:flex;justify-content:center;flex-direction:column;gap:var(--spacing-lg)}@media (max-width: 767px){._text_knk5c_85{flex:1;width:100%;align-items:flex-start}}._disclaimer_knk5c_99{color:var(--color-text-primary);font-size:var(--font-size-sm)}._carousel_knk5c_17{display:block}._carousel_knk5c_17 ._document_knk5c_107{margin:0 auto;flex:0 0 300px}@media (max-width: 767px){._carousel_knk5c_17 ._document_knk5c_107{flex:0 0 100%}}._documents_knk5c_126{display:grid;gap:var(--spacing-md)}._documents_knk5c_126._col1_knk5c_130{display:block}._documents_knk5c_126._col1_knk5c_130 ._document_knk5c_107{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--spacing-lg)}@media (max-width: 767px){._documents_knk5c_126._col1_knk5c_130 ._document_knk5c_107{flex-direction:column;gap:var(--spacing-md)}}._documents_knk5c_126._col2_knk5c_147{grid-template-columns:repeat(2,1fr)}._documents_knk5c_126._col2_knk5c_147 ._document_knk5c_107{display:flex;flex-direction:column;gap:var(--spacing-md)}._documents_knk5c_126._col3_knk5c_157{grid-template-columns:repeat(3,1fr)}._documents_knk5c_126._col3_knk5c_157 ._document_knk5c_107{display:flex;flex-direction:column;gap:var(--spacing-md)}._documents_knk5c_126._col4_knk5c_167{grid-template-columns:repeat(4,1fr)}._documents_knk5c_126._col4_knk5c_167 ._document_knk5c_107{display:flex;flex-direction:column;gap:var(--spacing-md)}._documents_knk5c_126._featuredTop_knk5c_177{grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);row-gap:var(--spacing-xl)}@media (max-width: 767px){._documents_knk5c_126._featuredTop_knk5c_177{row-gap:var(--spacing-xl)}}._documents_knk5c_126._featuredTop_knk5c_177 ._document_knk5c_107:not(:first-of-type) ._documentExcerpt_knk5c_187{display:none}@media (max-width: 767px){._documents_knk5c_126._featuredTop_knk5c_177 ._document_knk5c_107:not(:first-of-type) ._documentExcerpt_knk5c_187{display:block}}._documents_knk5c_126._featuredTop_knk5c_177 ._document_knk5c_107:first-of-type{grid-column:1/4;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--spacing-lg)}@media (max-width: 767px){._documents_knk5c_126._featuredTop_knk5c_177 ._document_knk5c_107:first-of-type{flex-direction:column;gap:var(--spacing-md)}}._documents_knk5c_126._featuredTop_knk5c_177 ._document_knk5c_107:first-of-type ._documentContent_knk5c_211{flex:.4}._documents_knk5c_126._featuredLeft_knk5c_217{grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(2,1fr);column-gap:var(--spacing-xl)}@media (max-width: 767px){._documents_knk5c_126._featuredLeft_knk5c_217{column-gap:var(--spacing-md)}}._documents_knk5c_126._featuredLeft_knk5c_217 ._document_knk5c_107:not(:first-of-type){flex-direction:row;gap:var(--spacing-md)}@media (max-width: 767px){._documents_knk5c_126._featuredLeft_knk5c_217 ._document_knk5c_107:not(:first-of-type){flex-direction:column}}._documents_knk5c_126._featuredLeft_knk5c_217 ._document_knk5c_107:not(:first-of-type) ._documentContent_knk5c_211{flex:1}@media (max-width: 767px){._documents_knk5c_126._featuredLeft_knk5c_217 ._document_knk5c_107:not(:first-of-type) ._documentExcerpt_knk5c_187{display:block}}._documents_knk5c_126._featuredLeft_knk5c_217 ._document_knk5c_107:first-of-type{grid-row:1/4;display:flex;flex-direction:column;align-items:center;justify-content:center}._documents_knk5c_126._featuredLeft_knk5c_217 ._document_knk5c_107:first-of-type ._documentContent_knk5c_211{flex:.4}._documents_knk5c_126._twoColumn_knk5c_258{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr)}._documents_knk5c_126._twoColumn_knk5c_258 ._document_knk5c_107{flex-direction:row;gap:var(--spacing-md);align-items:center}@media (max-width: 767px){._documents_knk5c_126._col1_knk5c_130,._documents_knk5c_126._col2_knk5c_147,._documents_knk5c_126._col3_knk5c_157,._documents_knk5c_126._col4_knk5c_167,._documents_knk5c_126._featuredTop_knk5c_177,._documents_knk5c_126._featuredLeft_knk5c_217,._documents_knk5c_126._twoColumn_knk5c_258{display:flex;flex-direction:column}._documents_knk5c_126._col1_knk5c_130 ._document_knk5c_107:first-of-type,._documents_knk5c_126._col1_knk5c_130 ._document_knk5c_107:not(:first-of-type),._documents_knk5c_126._col2_knk5c_147 ._document_knk5c_107:first-of-type,._documents_knk5c_126._col2_knk5c_147 ._document_knk5c_107:not(:first-of-type),._documents_knk5c_126._col3_knk5c_157 ._document_knk5c_107:first-of-type,._documents_knk5c_126._col3_knk5c_157 ._document_knk5c_107:not(:first-of-type),._documents_knk5c_126._col4_knk5c_167 ._document_knk5c_107:first-of-type,._documents_knk5c_126._col4_knk5c_167 ._document_knk5c_107:not(:first-of-type),._documents_knk5c_126._featuredTop_knk5c_177 ._document_knk5c_107:first-of-type,._documents_knk5c_126._featuredTop_knk5c_177 ._document_knk5c_107:not(:first-of-type),._documents_knk5c_126._featuredLeft_knk5c_217 ._document_knk5c_107:first-of-type,._documents_knk5c_126._featuredLeft_knk5c_217 ._document_knk5c_107:not(:first-of-type),._documents_knk5c_126._twoColumn_knk5c_258 ._document_knk5c_107:first-of-type,._documents_knk5c_126._twoColumn_knk5c_258 ._document_knk5c_107:not(:first-of-type){flex-direction:column;gap:var(--spacing-md)}}@media (max-width: 767px){._documents_knk5c_126{gap:var(--spacing-xl)}}._multiple_knk5c_293 ._documents_knk5c_126{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--spacing-md)}._multiple_knk5c_293 ._document_knk5c_107{display:flex;flex-direction:column}._document_knk5c_107{display:flex;text-decoration:none;overflow:hidden;transition:border-color .3s ease-in-out}._document_knk5c_107:hover{border-color:var(--color-primary-100)}._document_knk5c_107:hover ._documentTitle_knk5c_317 h3{color:var(--color-primary-100)}._document_knk5c_107:hover ._callToAction_knk5c_323 ._label_knk5c_324{opacity:1;transform:translateY(0);color:#fff}._document_knk5c_107:hover ._callToAction_knk5c_323 ._icon_knk5c_330{color:var(--color-primary-100)}._documentEyebrow_knk5c_337{font-size:var(--font-size-sm);color:var(--color-secondary)}._documentImage_knk5c_342{width:100%;height:100%;aspect-ratio:16/9;position:relative;overflow:hidden;border-radius:var(--radius-md);line-height:0}._documentImage_knk5c_342 img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease-in-out}._documentTitle_knk5c_317{display:flex;align-items:center;justify-content:space-between;gap:var(--spacing-lg)}._documentContent_knk5c_211{display:flex;flex-direction:column;gap:var(--spacing-sm);width:100%;color:var(--color-text-primary)}._documentContent_knk5c_211 h3{flex:1;font-size:var(--font-size-lg);margin-bottom:0;transition:color .3s ease-in-out}._documentContent_knk5c_211 p{text-decoration:none}._callToAction_knk5c_323{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:var(--spacing-sm)}._callToAction_knk5c_323 ._icon_knk5c_330{display:flex;align-items:center;justify-content:center;width:25px;height:25px;background-color:transparent;color:var(--color-text-primary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out}._callToAction_knk5c_323 ._label_knk5c_324{color:var(--color-primary-100);font-weight:var(--font-weight-semibold);opacity:0;transform:translateY(10px);transition:opacity .3s ease-in-out,transform .3s ease-in-out}.narrow ._container_knk5c_7{max-width:var(--narrow-width)}
package/dist/index8.css CHANGED
@@ -1 +1 @@
1
- ._quote_f7k4m_1{width:100%}._container_f7k4m_5{max-width:calc(var(--layout-width) - 8rem);padding:var(--spacing-md);border-left:5px solid var(--color-primary-100);margin-left:auto;margin-right:auto}._quoteText_f7k4m_13{color:var(--color-text-primary);font-size:var(--font-size-lg);line-height:1.3}._quoteText_f7k4m_13:before{content:open-quote;font-size:2rem;display:inline-block;position:relative;top:.15rem;left:-3px;color:var(--color-primary-100);font-family:Times New Roman,Times,serif;font-weight:var(--font-weight-bold);line-height:0}._quoteText_f7k4m_13:after{content:close-quote;font-size:2rem;display:inline-block;position:relative;top:.15rem;right:-3px;color:var(--color-primary-100);font-family:Times New Roman,Times,serif;font-weight:var(--font-weight-bold);line-height:0}._author_f7k4m_45{margin-top:var(--spacing-md)}.blog ._container_f7k4m_5{max-width:calc(var(--blog-width) - 10rem)}
1
+ ._quote_6i4ni_1{width:100%}._container_6i4ni_5{max-width:calc(var(--layout-width) - 8rem);padding:var(--spacing-md);border-left:5px solid var(--color-primary-100);margin-left:auto;margin-right:auto}._quoteText_6i4ni_13{color:var(--color-text-primary);font-size:var(--font-size-lg);line-height:1.3}._quoteText_6i4ni_13:before{content:open-quote;font-size:2rem;display:inline-block;position:relative;top:.15rem;left:-3px;color:var(--color-primary-100);font-family:Times New Roman,Times,serif;font-weight:var(--font-weight-bold);line-height:0}._quoteText_6i4ni_13:after{content:close-quote;font-size:2rem;display:inline-block;position:relative;top:.15rem;right:-3px;color:var(--color-primary-100);font-family:Times New Roman,Times,serif;font-weight:var(--font-weight-bold);line-height:0}._author_6i4ni_45{margin-top:var(--spacing-md)}.narrow ._container_6i4ni_5{max-width:calc(var(--narrow-width) - 10rem)}
package/dist/index9.css CHANGED
@@ -1 +1 @@
1
- ._richText_rnjap_1{width:100%}._container_rnjap_5{max-width:var(--layout-width);margin:0 auto;padding:0 var(--spacing-md)}.blog ._container_rnjap_5{max-width:var(--blog-width)}
1
+ ._richText_l9mhr_1{width:100%}._container_l9mhr_5{max-width:var(--layout-width);margin:0 auto;padding:0 var(--spacing-md)}.narrow ._container_l9mhr_5{max-width:var(--narrow-width)}
@@ -1 +1 @@
1
- "use strict";const o=require("react/jsx-runtime"),e=require("../../../react.esm-C_9Ma9mj.cjs"),r=require("./index.cjs");e.vi.mock("./styles.module.css",()=>({default:new Proxy({},{get:(i,a)=>a})}));function s(t){return{_id:t._id??"cat-1",title:t.title??"Test Category",slug:{current:t.slug}}}const l=s({_id:"kw-1",title:"AI keyword",slug:"topics/keyword/ai"}),g=s({_id:"tc-1",title:"Article Type",slug:"library/type/article"}),d=s({_id:"g-1",title:"Generic",slug:"topics/general/intro"}),c=({href:t,className:i,children:a})=>o.jsx("a",{"data-testid":"render-link",href:t,className:i,children:a});function n(t={}){return{categories:[l],...t}}e.describe("1. Empty / null rendering",()=>{e.it("renders nothing when categories prop is omitted",()=>{const{container:t}=e.render(o.jsx(r.AdditionalCategoriesBlock,{}));e.globalExpect(t.firstChild).toBeNull()}),e.it("renders nothing when categories is an empty array",()=>{const{container:t}=e.render(o.jsx(r.AdditionalCategoriesBlock,{categories:[]}));e.globalExpect(t.firstChild).toBeNull()}),e.it("renders nothing when all categories are type-classifiers (none pass the filter)",()=>{const{container:t}=e.render(o.jsx(r.AdditionalCategoriesBlock,{categories:[g]}));e.globalExpect(t.firstChild).toBeNull()}),e.it("renders nothing when all categories are generic (no keyword in slug)",()=>{const{container:t}=e.render(o.jsx(r.AdditionalCategoriesBlock,{categories:[d]}));e.globalExpect(t.firstChild).toBeNull()}),e.it("renders nothing when the only categories are a mix of type-classifiers and generics",()=>{const{container:t}=e.render(o.jsx(r.AdditionalCategoriesBlock,{categories:[g,d]}));e.globalExpect(t.firstChild).toBeNull()})});e.describe("2. Keyword filter — only categories whose slug contains 'keyword' are shown",()=>{e.it("renders a keyword category",()=>{e.render(o.jsx(r.AdditionalCategoriesBlock,{...n()})),e.globalExpect(e.screen.getByText("AI keyword")).toBeInTheDocument()}),e.it("does not render a category whose slug does not contain 'keyword'",()=>{e.render(o.jsx(r.AdditionalCategoriesBlock,{categories:[l,d]})),e.globalExpect(e.screen.queryByText("Generic")).toBeNull(),e.globalExpect(e.screen.getByText("AI keyword")).toBeInTheDocument()}),e.it("renders multiple keyword categories when all pass the filter",()=>{const t=s({_id:"kw-2",title:"ML keyword",slug:"topics/keyword/ml"});e.render(o.jsx(r.AdditionalCategoriesBlock,{categories:[l,t]})),e.globalExpect(e.screen.getByText("AI keyword")).toBeInTheDocument(),e.globalExpect(e.screen.getByText("ML keyword")).toBeInTheDocument()})});e.describe("3. Type-classifier filter — slugs starting with 'library/type' are excluded",()=>{e.it("excludes a type-classifier even if its slug also contains 'keyword'",()=>{const t=s({_id:"amb-1",title:"Ambiguous",slug:"library/type/keyword/article"}),{container:i}=e.render(o.jsx(r.AdditionalCategoriesBlock,{categories:[t]}));e.globalExpect(i.firstChild).toBeNull()}),e.it("keeps a keyword category that does not start with library/type",()=>{e.render(o.jsx(r.AdditionalCategoriesBlock,{categories:[g,l]})),e.globalExpect(e.screen.getByText("AI keyword")).toBeInTheDocument(),e.globalExpect(e.screen.queryByText("Article Type")).toBeNull()})});e.describe("4. Combined filter — type-classifiers AND non-keywords excluded in one pass",()=>{e.it("shows only the keyword category from a mixed list",()=>{e.render(o.jsx(r.AdditionalCategoriesBlock,{categories:[g,d,l]}));const t=e.screen.getAllByRole("link");e.globalExpect(t).toHaveLength(1),e.globalExpect(t[0]).toHaveTextContent("AI keyword")})});e.describe("5. Link href — /blog/search?categories=<encoded _id>",()=>{e.it("builds the correct href for a category",()=>{e.render(o.jsx(r.AdditionalCategoriesBlock,{...n()}));const t=e.screen.getByRole("link");e.globalExpect(t.getAttribute("href")).toBe(`/blog/search?categories=${encodeURIComponent("kw-1")}`)}),e.it("URL-encodes special characters in the category _id",()=>{const t=s({_id:"kw id/special",title:"Special keyword",slug:"topics/keyword/special"});e.render(o.jsx(r.AdditionalCategoriesBlock,{categories:[t]}));const i=e.screen.getByRole("link");e.globalExpect(i.getAttribute("href")).toBe(`/blog/search?categories=${encodeURIComponent("kw id/special")}`)}),e.it("generates a distinct href for each category",()=>{const t=s({_id:"kw-2",title:"ML keyword",slug:"topics/keyword/ml"});e.render(o.jsx(r.AdditionalCategoriesBlock,{categories:[l,t]}));const a=e.screen.getAllByRole("link").map(k=>k.getAttribute("href"));e.globalExpect(a).toContain(`/blog/search?categories=${encodeURIComponent("kw-1")}`),e.globalExpect(a).toContain(`/blog/search?categories=${encodeURIComponent("kw-2")}`)})});e.describe("6. renderLink render prop — called with href, className, and children",()=>{e.it("uses renderLink when provided",()=>{e.render(o.jsx(r.AdditionalCategoriesBlock,{...n({renderLink:c})})),e.globalExpect(e.screen.getByTestId("render-link")).toBeInTheDocument()}),e.it("passes the category title as children to renderLink",()=>{e.render(o.jsx(r.AdditionalCategoriesBlock,{...n({renderLink:c})})),e.globalExpect(e.screen.getByTestId("render-link")).toHaveTextContent("AI keyword")}),e.it("passes the correct href to renderLink",()=>{e.render(o.jsx(r.AdditionalCategoriesBlock,{...n({renderLink:c})})),e.globalExpect(e.screen.getByTestId("render-link").getAttribute("href")).toBe(`/blog/search?categories=${encodeURIComponent("kw-1")}`)}),e.it("passes the 'category' CSS class to renderLink",()=>{e.render(o.jsx(r.AdditionalCategoriesBlock,{...n({renderLink:c})})),e.globalExpect(e.screen.getByTestId("render-link").getAttribute("class")).toContain("category")}),e.it("calls renderLink once per visible keyword category",()=>{const t=e.vi.fn(c),i=s({_id:"kw-2",title:"ML keyword",slug:"topics/keyword/ml"});e.render(o.jsx(r.AdditionalCategoriesBlock,{categories:[l,i],renderLink:t})),e.globalExpect(t).toHaveBeenCalledTimes(2)})});e.describe("7. Plain <a> fallback — rendered when renderLink is not provided",()=>{e.it("renders a plain anchor tag",()=>{e.render(o.jsx(r.AdditionalCategoriesBlock,{...n()}));const t=e.screen.getByRole("link");e.globalExpect(t.tagName).toBe("A")}),e.it("plain anchor has the correct href",()=>{e.render(o.jsx(r.AdditionalCategoriesBlock,{...n()})),e.globalExpect(e.screen.getByRole("link").getAttribute("href")).toBe(`/blog/search?categories=${encodeURIComponent("kw-1")}`)}),e.it("plain anchor has the 'category' CSS class",()=>{e.render(o.jsx(r.AdditionalCategoriesBlock,{...n()})),e.globalExpect(e.screen.getByRole("link").getAttribute("class")).toContain("category")}),e.it("plain anchor displays the category title",()=>{e.render(o.jsx(r.AdditionalCategoriesBlock,{...n()})),e.globalExpect(e.screen.getByRole("link")).toHaveTextContent("AI keyword")})});e.describe('8. type="article" — adds "blog" class to the section',()=>{e.it('adds the "blog" class when type is "article"',()=>{var i;const{container:t}=e.render(o.jsx(r.AdditionalCategoriesBlock,{...n({type:"article"})}));e.globalExpect((i=t.querySelector("section"))==null?void 0:i.className).toContain("blog")})});e.describe('9. Non-"article" type — "blog" class is absent',()=>{e.it('does not add "blog" class when type is omitted',()=>{var i;const{container:t}=e.render(o.jsx(r.AdditionalCategoriesBlock,{...n()}));e.globalExpect((i=t.querySelector("section"))==null?void 0:i.className).not.toContain("blog")}),e.it('does not add "blog" class when type is something other than "article"',()=>{var i;const{container:t}=e.render(o.jsx(r.AdditionalCategoriesBlock,{...n({type:"video"})}));e.globalExpect((i=t.querySelector("section"))==null?void 0:i.className).not.toContain("blog")})});e.describe('10. "In this article:" label — always present when categories render',()=>{e.it('renders the "In this article:" paragraph',()=>{e.render(o.jsx(r.AdditionalCategoriesBlock,{...n()})),e.globalExpect(e.screen.getByText("In this article:")).toBeInTheDocument()}),e.it("does not render the label when there are no keyword categories",()=>{const{container:t}=e.render(o.jsx(r.AdditionalCategoriesBlock,{categories:[d]}));e.globalExpect(t.firstChild).toBeNull()})});e.describe("11. id prop — forwarded to the <section> element",()=>{e.it("sets the id attribute on the section",()=>{var i;const{container:t}=e.render(o.jsx(r.AdditionalCategoriesBlock,{...n({id:"related-tags"})}));e.globalExpect((i=t.querySelector("section"))==null?void 0:i.id).toBe("related-tags")}),e.it("renders without an id attribute when prop is omitted",()=>{var i;const{container:t}=e.render(o.jsx(r.AdditionalCategoriesBlock,{...n()}));e.globalExpect((i=t.querySelector("section"))==null?void 0:i.hasAttribute("id")).toBe(!1)})});
1
+ "use strict";const r=require("react/jsx-runtime"),e=require("../../../react.esm-C_9Ma9mj.cjs"),o=require("./index.cjs");e.vi.mock("./styles.module.css",()=>({default:new Proxy({},{get:(i,l)=>l})}));function s(t){return{_id:t._id??"cat-1",title:t.title??"Test Category",slug:{current:t.slug}}}const a=s({_id:"kw-1",title:"AI keyword",slug:"topics/keyword/ai"}),g=s({_id:"tc-1",title:"Article Type",slug:"library/type/article"}),d=s({_id:"g-1",title:"Generic",slug:"topics/general/intro"}),c=({href:t,className:i,children:l})=>r.jsx("a",{"data-testid":"render-link",href:t,className:i,children:l});function n(t={}){return{categories:[a],...t}}e.describe("1. Empty / null rendering",()=>{e.it("renders nothing when categories prop is omitted",()=>{const{container:t}=e.render(r.jsx(o.AdditionalCategoriesBlock,{}));e.globalExpect(t.firstChild).toBeNull()}),e.it("renders nothing when categories is an empty array",()=>{const{container:t}=e.render(r.jsx(o.AdditionalCategoriesBlock,{categories:[]}));e.globalExpect(t.firstChild).toBeNull()}),e.it("renders nothing when all categories are type-classifiers (none pass the filter)",()=>{const{container:t}=e.render(r.jsx(o.AdditionalCategoriesBlock,{categories:[g]}));e.globalExpect(t.firstChild).toBeNull()}),e.it("renders nothing when all categories are generic (no keyword in slug)",()=>{const{container:t}=e.render(r.jsx(o.AdditionalCategoriesBlock,{categories:[d]}));e.globalExpect(t.firstChild).toBeNull()}),e.it("renders nothing when the only categories are a mix of type-classifiers and generics",()=>{const{container:t}=e.render(r.jsx(o.AdditionalCategoriesBlock,{categories:[g,d]}));e.globalExpect(t.firstChild).toBeNull()})});e.describe("2. Keyword filter — only categories whose slug contains 'keyword' are shown",()=>{e.it("renders a keyword category",()=>{e.render(r.jsx(o.AdditionalCategoriesBlock,{...n()})),e.globalExpect(e.screen.getByText("AI keyword")).toBeInTheDocument()}),e.it("does not render a category whose slug does not contain 'keyword'",()=>{e.render(r.jsx(o.AdditionalCategoriesBlock,{categories:[a,d]})),e.globalExpect(e.screen.queryByText("Generic")).toBeNull(),e.globalExpect(e.screen.getByText("AI keyword")).toBeInTheDocument()}),e.it("renders multiple keyword categories when all pass the filter",()=>{const t=s({_id:"kw-2",title:"ML keyword",slug:"topics/keyword/ml"});e.render(r.jsx(o.AdditionalCategoriesBlock,{categories:[a,t]})),e.globalExpect(e.screen.getByText("AI keyword")).toBeInTheDocument(),e.globalExpect(e.screen.getByText("ML keyword")).toBeInTheDocument()})});e.describe("3. Type-classifier filter — slugs starting with 'library/type' are excluded",()=>{e.it("excludes a type-classifier even if its slug also contains 'keyword'",()=>{const t=s({_id:"amb-1",title:"Ambiguous",slug:"library/type/keyword/article"}),{container:i}=e.render(r.jsx(o.AdditionalCategoriesBlock,{categories:[t]}));e.globalExpect(i.firstChild).toBeNull()}),e.it("keeps a keyword category that does not start with library/type",()=>{e.render(r.jsx(o.AdditionalCategoriesBlock,{categories:[g,a]})),e.globalExpect(e.screen.getByText("AI keyword")).toBeInTheDocument(),e.globalExpect(e.screen.queryByText("Article Type")).toBeNull()})});e.describe("4. Combined filter — type-classifiers AND non-keywords excluded in one pass",()=>{e.it("shows only the keyword category from a mixed list",()=>{e.render(r.jsx(o.AdditionalCategoriesBlock,{categories:[g,d,a]}));const t=e.screen.getAllByRole("link");e.globalExpect(t).toHaveLength(1),e.globalExpect(t[0]).toHaveTextContent("AI keyword")})});e.describe("5. Link href — /blog/search?categories=<encoded _id>",()=>{e.it("builds the correct href for a category",()=>{e.render(r.jsx(o.AdditionalCategoriesBlock,{...n()}));const t=e.screen.getByRole("link");e.globalExpect(t.getAttribute("href")).toBe(`/blog/search?categories=${encodeURIComponent("kw-1")}`)}),e.it("URL-encodes special characters in the category _id",()=>{const t=s({_id:"kw id/special",title:"Special keyword",slug:"topics/keyword/special"});e.render(r.jsx(o.AdditionalCategoriesBlock,{categories:[t]}));const i=e.screen.getByRole("link");e.globalExpect(i.getAttribute("href")).toBe(`/blog/search?categories=${encodeURIComponent("kw id/special")}`)}),e.it("generates a distinct href for each category",()=>{const t=s({_id:"kw-2",title:"ML keyword",slug:"topics/keyword/ml"});e.render(r.jsx(o.AdditionalCategoriesBlock,{categories:[a,t]}));const l=e.screen.getAllByRole("link").map(k=>k.getAttribute("href"));e.globalExpect(l).toContain(`/blog/search?categories=${encodeURIComponent("kw-1")}`),e.globalExpect(l).toContain(`/blog/search?categories=${encodeURIComponent("kw-2")}`)})});e.describe("6. renderLink render prop — called with href, className, and children",()=>{e.it("uses renderLink when provided",()=>{e.render(r.jsx(o.AdditionalCategoriesBlock,{...n({renderLink:c})})),e.globalExpect(e.screen.getByTestId("render-link")).toBeInTheDocument()}),e.it("passes the category title as children to renderLink",()=>{e.render(r.jsx(o.AdditionalCategoriesBlock,{...n({renderLink:c})})),e.globalExpect(e.screen.getByTestId("render-link")).toHaveTextContent("AI keyword")}),e.it("passes the correct href to renderLink",()=>{e.render(r.jsx(o.AdditionalCategoriesBlock,{...n({renderLink:c})})),e.globalExpect(e.screen.getByTestId("render-link").getAttribute("href")).toBe(`/blog/search?categories=${encodeURIComponent("kw-1")}`)}),e.it("passes the 'category' CSS class to renderLink",()=>{e.render(r.jsx(o.AdditionalCategoriesBlock,{...n({renderLink:c})})),e.globalExpect(e.screen.getByTestId("render-link").getAttribute("class")).toContain("category")}),e.it("calls renderLink once per visible keyword category",()=>{const t=e.vi.fn(c),i=s({_id:"kw-2",title:"ML keyword",slug:"topics/keyword/ml"});e.render(r.jsx(o.AdditionalCategoriesBlock,{categories:[a,i],renderLink:t})),e.globalExpect(t).toHaveBeenCalledTimes(2)})});e.describe("7. Plain <a> fallback — rendered when renderLink is not provided",()=>{e.it("renders a plain anchor tag",()=>{e.render(r.jsx(o.AdditionalCategoriesBlock,{...n()}));const t=e.screen.getByRole("link");e.globalExpect(t.tagName).toBe("A")}),e.it("plain anchor has the correct href",()=>{e.render(r.jsx(o.AdditionalCategoriesBlock,{...n()})),e.globalExpect(e.screen.getByRole("link").getAttribute("href")).toBe(`/blog/search?categories=${encodeURIComponent("kw-1")}`)}),e.it("plain anchor has the 'category' CSS class",()=>{e.render(r.jsx(o.AdditionalCategoriesBlock,{...n()})),e.globalExpect(e.screen.getByRole("link").getAttribute("class")).toContain("category")}),e.it("plain anchor displays the category title",()=>{e.render(r.jsx(o.AdditionalCategoriesBlock,{...n()})),e.globalExpect(e.screen.getByRole("link")).toHaveTextContent("AI keyword")})});e.describe('8. type="article" — adds "narrow" class to the section',()=>{e.it('adds the "narrow" class when type is "article"',()=>{var i;const{container:t}=e.render(r.jsx(o.AdditionalCategoriesBlock,{...n({type:"article"})}));e.globalExpect((i=t.querySelector("section"))==null?void 0:i.className).toContain("narrow")})});e.describe('9. Non-"article" type — "narrow" class is absent',()=>{e.it('does not add "narrow" class when type is omitted',()=>{var i;const{container:t}=e.render(r.jsx(o.AdditionalCategoriesBlock,{...n()}));e.globalExpect((i=t.querySelector("section"))==null?void 0:i.className).not.toContain("narrow")}),e.it('does not add "narrow" class when type is something other than "article"',()=>{var i;const{container:t}=e.render(r.jsx(o.AdditionalCategoriesBlock,{...n({type:"video"})}));e.globalExpect((i=t.querySelector("section"))==null?void 0:i.className).not.toContain("narrow")})});e.describe('10. "In this article:" label — always present when categories render',()=>{e.it('renders the "In this article:" paragraph',()=>{e.render(r.jsx(o.AdditionalCategoriesBlock,{...n()})),e.globalExpect(e.screen.getByText("In this article:")).toBeInTheDocument()}),e.it("does not render the label when there are no keyword categories",()=>{const{container:t}=e.render(r.jsx(o.AdditionalCategoriesBlock,{categories:[d]}));e.globalExpect(t.firstChild).toBeNull()})});e.describe("11. id prop — forwarded to the <section> element",()=>{e.it("sets the id attribute on the section",()=>{var i;const{container:t}=e.render(r.jsx(o.AdditionalCategoriesBlock,{...n({id:"related-tags"})}));e.globalExpect((i=t.querySelector("section"))==null?void 0:i.id).toBe("related-tags")}),e.it("renders without an id attribute when prop is omitted",()=>{var i;const{container:t}=e.render(r.jsx(o.AdditionalCategoriesBlock,{...n()}));e.globalExpect((i=t.querySelector("section"))==null?void 0:i.hasAttribute("id")).toBe(!1)})});