@caseparts-org/caseblocks 0.0.62 → 0.0.64
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
|
-
.
|
|
1
|
+
._root_1427v_2{position:relative;display:grid;grid-template-columns:repeat(4,1fr);background-size:cover;background-position:center;overflow:hidden;box-sizing:border-box;align-items:center}._content_1427v_13{box-sizing:border-box;width:100%;display:flex;flex-direction:column;gap:var(--spacing-spacing-default, 16px)}._variant_hero_1427v_22 ._content_1427v_13{grid-column:1 / span 2;padding:var(--spacing-spacing-2xl, 3rem)}._variant_promo_1427v_27 ._content_1427v_13{grid-column:1 / span 3;padding:var(--spacing-spacing-default, 1rem)}._variant_hero_1427v_22._align_right_1427v_33 ._content_1427v_13{grid-column:3 / span 2}._variant_promo_1427v_27._align_right_1427v_33 ._content_1427v_13{grid-column:2 / span 3}@media (max-width: 1280px){._variant_hero_1427v_22 ._content_1427v_13,._variant_promo_1427v_27 ._content_1427v_13,._variant_hero_1427v_22._align_right_1427v_33 ._content_1427v_13,._variant_promo_1427v_27._align_right_1427v_33 ._content_1427v_13{grid-column:1 / -1}._variant_hero_1427v_22 ._header_1427v_51{font-size:var(--font-size-4xl);line-height:var(--line-height-4xl)}._variant_hero_1427v_22 ._description_1427v_55{font-size:var(--font-size-sm);line-height:var(--line-height-sm);margin-top:-12px}}@media (max-width: 768px){._variant_hero_1427v_22 ._header_1427v_51{font-size:var(--font-size-2xl);line-height:var(--line-height-2xl)}}._align_left_1427v_71 ._content_1427v_13{align-items:flex-start;text-align:left;justify-self:start}._align_right_1427v_33 ._content_1427v_13{align-items:flex-end;text-align:right;justify-self:end}._content_1427v_13>*{position:relative;z-index:1}._overlay_dark_1427v_89 ._header_1427v_51,._overlay_dark_1427v_89 ._description_1427v_55,._overlay_none_1427v_91 ._header_1427v_51,._overlay_none_1427v_91 ._description_1427v_55{color:var(--color-neutrals-neutral-1)}._overlay_light_1427v_96 ._header_1427v_51{color:var(--color-brand-primary-primary-teal-blue)}._overlay_light_1427v_96 ._description_1427v_55{color:#000}
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as o, jsxs as p } from "react/jsx-runtime";
|
|
2
2
|
import { getHideAtStyles as f } from "../../atoms/HideAt.js";
|
|
3
|
-
import { Text as
|
|
3
|
+
import { Text as s } from "../../atoms/Text/Text.js";
|
|
4
4
|
import { c as x } from "../../clsx-OuTLNxxd.js";
|
|
5
|
-
import '../../assets/BannerCard.css';const k = "
|
|
5
|
+
import '../../assets/BannerCard.css';const k = "_root_1427v_2", N = "_content_1427v_13", u = "_variant_hero_1427v_22", z = "_variant_promo_1427v_27", S = "_align_right_1427v_33", $ = "_header_1427v_51", b = "_description_1427v_55", j = "_align_left_1427v_71", C = "_overlay_dark_1427v_89", H = "_overlay_none_1427v_91", w = "_overlay_light_1427v_96", t = {
|
|
6
6
|
root: k,
|
|
7
7
|
content: N,
|
|
8
8
|
variant_hero: u,
|
|
9
9
|
variant_promo: z,
|
|
10
10
|
align_right: S,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
header: $,
|
|
12
|
+
description: b,
|
|
13
|
+
align_left: j,
|
|
14
|
+
overlay_dark: C,
|
|
15
15
|
overlay_none: H,
|
|
16
16
|
overlay_light: w
|
|
17
17
|
};
|
|
18
18
|
function L({
|
|
19
|
-
variant:
|
|
20
|
-
overlayTheme:
|
|
19
|
+
variant: e = "hero",
|
|
20
|
+
overlayTheme: r = "none",
|
|
21
21
|
title: l,
|
|
22
|
-
description:
|
|
22
|
+
description: n,
|
|
23
23
|
backgroundImage: a,
|
|
24
24
|
align: c = "left",
|
|
25
|
-
cta:
|
|
26
|
-
className:
|
|
27
|
-
hideAt:
|
|
25
|
+
cta: _,
|
|
26
|
+
className: v,
|
|
27
|
+
hideAt: d
|
|
28
28
|
}) {
|
|
29
|
-
const h = a ? { backgroundImage: `url(${a})` } : void 0,
|
|
30
|
-
return /* @__PURE__ */
|
|
29
|
+
const h = a ? { backgroundImage: `url(${a})` } : void 0, i = e === "hero", g = i ? "6xl" : "xl", m = i ? "md" : "sm", y = r === "dark" ? t.textLight : t.textDark;
|
|
30
|
+
return /* @__PURE__ */ o(
|
|
31
31
|
"article",
|
|
32
32
|
{
|
|
33
33
|
className: x(
|
|
34
34
|
t.root,
|
|
35
|
-
t[`variant_${
|
|
35
|
+
t[`variant_${e}`],
|
|
36
36
|
t[`align_${c}`],
|
|
37
|
-
t[`overlay_${
|
|
38
|
-
|
|
39
|
-
f(
|
|
40
|
-
|
|
37
|
+
t[`overlay_${r}`],
|
|
38
|
+
y,
|
|
39
|
+
f(d),
|
|
40
|
+
v
|
|
41
41
|
),
|
|
42
42
|
style: { ...h },
|
|
43
|
-
children: /* @__PURE__ */
|
|
44
|
-
/* @__PURE__ */
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
children: /* @__PURE__ */ p("div", { className: t.content, children: [
|
|
44
|
+
/* @__PURE__ */ o(s, { variant: "display", weight: "light", size: g, className: t.header, children: l }),
|
|
45
|
+
n && /* @__PURE__ */ o(s, { size: m, className: t.description, children: n }),
|
|
46
|
+
_ && /* @__PURE__ */ o("div", { className: t.cta, children: _ })
|
|
47
47
|
] })
|
|
48
48
|
}
|
|
49
49
|
);
|