@caseparts-org/caseblocks 0.0.62 → 0.0.63
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_6j0vh_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_6j0vh_13{box-sizing:border-box;width:100%;display:flex;flex-direction:column;gap:var(--spacing-spacing-default, 16px)}._variant_hero_6j0vh_22 ._content_6j0vh_13{grid-column:1 / span 2;padding:var(--spacing-spacing-2xl, 3rem)}._variant_promo_6j0vh_27 ._content_6j0vh_13{grid-column:1 / span 3;padding:var(--spacing-spacing-default, 1rem)}._variant_hero_6j0vh_22._align_right_6j0vh_33 ._content_6j0vh_13{grid-column:3 / span 2}._variant_promo_6j0vh_27._align_right_6j0vh_33 ._content_6j0vh_13{grid-column:2 / span 3}@media (max-width: 1280px){._variant_hero_6j0vh_22 ._content_6j0vh_13,._variant_promo_6j0vh_27 ._content_6j0vh_13,._variant_hero_6j0vh_22._align_right_6j0vh_33 ._content_6j0vh_13,._variant_promo_6j0vh_27._align_right_6j0vh_33 ._content_6j0vh_13{grid-column:1 / -1}}._align_left_6j0vh_52 ._content_6j0vh_13{align-items:flex-start;text-align:left;justify-self:start}._align_right_6j0vh_33 ._content_6j0vh_13{align-items:flex-end;text-align:right;justify-self:end}._content_6j0vh_13>*{position:relative;z-index:1}._overlay_dark_6j0vh_70 ._header_6j0vh_70,._overlay_dark_6j0vh_70 ._description_6j0vh_71,._overlay_none_6j0vh_72 ._header_6j0vh_70,._overlay_none_6j0vh_72 ._description_6j0vh_71{color:var(--color-neutrals-neutral-1)}._overlay_light_6j0vh_77 ._header_6j0vh_70{color:var(--color-brand-primary-primary-teal-blue)}._overlay_light_6j0vh_77 ._description_6j0vh_71{color:#000}
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { getHideAtStyles as
|
|
3
|
-
import { Text as
|
|
4
|
-
import { c as
|
|
5
|
-
import '../../assets/BannerCard.css';const k = "
|
|
6
|
-
root:
|
|
7
|
-
content:
|
|
8
|
-
variant_hero:
|
|
9
|
-
variant_promo:
|
|
10
|
-
align_right:
|
|
11
|
-
align_left:
|
|
12
|
-
overlay_dark:
|
|
13
|
-
header:
|
|
1
|
+
import { jsx as o, jsxs as j } from "react/jsx-runtime";
|
|
2
|
+
import { getHideAtStyles as p } from "../../atoms/HideAt.js";
|
|
3
|
+
import { Text as s } from "../../atoms/Text/Text.js";
|
|
4
|
+
import { c as f } from "../../clsx-OuTLNxxd.js";
|
|
5
|
+
import '../../assets/BannerCard.css';const x = "_root_6j0vh_2", k = "_content_6j0vh_13", N = "_variant_hero_6j0vh_22", u = "_variant_promo_6j0vh_27", z = "_align_right_6j0vh_33", S = "_align_left_6j0vh_52", $ = "_overlay_dark_6j0vh_70", b = "_header_6j0vh_70", C = "_description_6j0vh_71", H = "_overlay_none_6j0vh_72", w = "_overlay_light_6j0vh_77", t = {
|
|
6
|
+
root: x,
|
|
7
|
+
content: k,
|
|
8
|
+
variant_hero: N,
|
|
9
|
+
variant_promo: u,
|
|
10
|
+
align_right: z,
|
|
11
|
+
align_left: S,
|
|
12
|
+
overlay_dark: $,
|
|
13
|
+
header: b,
|
|
14
14
|
description: 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: h,
|
|
27
|
+
hideAt: v
|
|
28
28
|
}) {
|
|
29
|
-
const
|
|
30
|
-
return /* @__PURE__ */
|
|
29
|
+
const d = 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
|
-
className:
|
|
33
|
+
className: f(
|
|
34
34
|
t.root,
|
|
35
|
-
t[`variant_${
|
|
35
|
+
t[`variant_${e}`],
|
|
36
36
|
t[`align_${c}`],
|
|
37
|
-
t[`overlay_${
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
t[`overlay_${r}`],
|
|
38
|
+
y,
|
|
39
|
+
p(v),
|
|
40
|
+
h
|
|
41
41
|
),
|
|
42
|
-
style: { ...
|
|
43
|
-
children: /* @__PURE__ */
|
|
44
|
-
/* @__PURE__ */
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
style: { ...d },
|
|
43
|
+
children: /* @__PURE__ */ j("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
|
);
|