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