@caseparts-org/caseblocks 0.0.136 → 0.0.138
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_idgma_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_idgma_13{box-sizing:border-box;width:100%;display:flex;flex-direction:column;gap:var(--spacing-spacing-default, 16px)}@media (max-width: 768px){._content_idgma_13{gap:var(--spacing-spacing-2xs)}}._variant_hero_idgma_26._align_left_idgma_26 ._content_idgma_13{grid-column:1 / span 2;padding:var(--spacing-spacing-2xl, 3rem)}@media (max-width: 1280px){._variant_hero_idgma_26._align_left_idgma_26 ._content_idgma_13{grid-column:1 / span 3}}@media (max-width: 768px){._variant_hero_idgma_26._align_left_idgma_26 ._content_idgma_13{padding:var(--spacing-spacing-default)}}._variant_hero_idgma_26._align_right_idgma_37 ._content_idgma_13{grid-column:3 / span 2;padding:var(--spacing-spacing-2xl, 3rem)}@media (max-width: 1280px){._variant_hero_idgma_26._align_right_idgma_37 ._content_idgma_13{grid-column:2 / span 3}}@media (max-width: 768px){._variant_hero_idgma_26._align_right_idgma_37 ._content_idgma_13{padding:var(--spacing-spacing-default)}}._variant_promo_idgma_48._align_left_idgma_26 ._content_idgma_13{grid-column:1 / span 3;padding:var(--spacing-spacing-default, 1rem)}._variant_promo_idgma_48._align_right_idgma_37 ._content_idgma_13{grid-column:2 / span 3;padding:var(--spacing-spacing-default, 1rem)}@media (max-width: 1280px){._variant_hero_idgma_26 ._header_idgma_59{font-size:var(--font-size-4xl);line-height:var(--line-height-4xl)}}@media (max-width: 768px){._variant_hero_idgma_26 ._header_idgma_59{font-weight:400;font-size:var(--font-size-xl);line-height:var(--line-height-xl)}}@media (max-width: 1280px){._variant_hero_idgma_26 ._description_idgma_71{font-size:var(--font-size-sm);line-height:var(--line-height-sm);margin-top:-12px}}@media (max-width: 768px){._variant_hero_idgma_26 ._description_idgma_71{font-size:var(--font-size-xs);line-height:var(--line-height-xs);margin-top:0}}._align_left_idgma_26 ._content_idgma_13{align-items:flex-start;text-align:left;justify-self:start}._align_right_idgma_37 ._content_idgma_13{align-items:flex-end;text-align:right;justify-self:end}._content_idgma_13>*{position:relative;z-index:1}._overlay_dark_idgma_103 ._header_idgma_59,._overlay_dark_idgma_103 ._description_idgma_71,._overlay_none_idgma_105 ._header_idgma_59,._overlay_none_idgma_105 ._description_idgma_71{color:var(--color-neutrals-neutral-1)}._overlay_light_idgma_110 ._header_idgma_59{color:var(--color-brand-primary-primary-teal-blue)}._overlay_light_idgma_110 ._description_idgma_71{color:#000}
|
package/dist/main-client.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export { Modal } from './molecules/Modal/Modal';
|
|
|
32
32
|
export type { ModalProps } from './molecules/Modal/Modal';
|
|
33
33
|
export { ImageViewer } from './molecules/ImageViewer/ImageViewer';
|
|
34
34
|
export type { ImageViewerProps } from './molecules/ImageViewer/ImageViewer';
|
|
35
|
+
export { getHideAtStyles } from './atoms/HideAt';
|
|
35
36
|
export { MainNav } from './organisms/MainNav/MainNav';
|
|
36
37
|
export type { MainNavProps } from './organisms/MainNav/MainNav';
|
|
37
38
|
export { ChipSelector } from './organisms/ChipSelector/ChipSelector';
|
package/dist/main-client.js
CHANGED
|
@@ -4,16 +4,16 @@ import { Column as f, Grid as x } from "./atoms/Grid/Grid.js";
|
|
|
4
4
|
import { Head as n } from "./atoms/Root/Head.js";
|
|
5
5
|
import { Icon as d } from "./atoms/Icon/Icon.js";
|
|
6
6
|
import { Root as u } from "./atoms/Root/Root.js";
|
|
7
|
-
import { Separator as
|
|
7
|
+
import { Separator as s } from "./atoms/Separator/Separator.js";
|
|
8
8
|
import { Text as C } from "./atoms/Text/Text.js";
|
|
9
9
|
import { Input as S } from "./atoms/Input/Input.js";
|
|
10
10
|
import { Link as P } from "./atoms/Link/Link.js";
|
|
11
|
-
import { linkClassName as
|
|
12
|
-
import { configureLink as
|
|
11
|
+
import { linkClassName as A } from "./atoms/Link/linkClassName.js";
|
|
12
|
+
import { configureLink as M, routerOverride as v } from "./atoms/Link/configureLink.js";
|
|
13
13
|
import { LinkButton as h } from "./atoms/LinkButton/LinkButton.js";
|
|
14
|
-
import { configureImage as
|
|
15
|
-
import { Logo as
|
|
16
|
-
import { SearchBox as
|
|
14
|
+
import { configureImage as y } from "./atoms/Image/configureImage.js";
|
|
15
|
+
import { Logo as H } from "./molecules/Logo/Logo.js";
|
|
16
|
+
import { SearchBox as V } from "./molecules/SearchBox/SearchBox.js";
|
|
17
17
|
import { QuantityInput as z } from "./molecules/QuantityInput/QuantityInput.js";
|
|
18
18
|
import { Pricing as O } from "./molecules/Pricing/Pricing.js";
|
|
19
19
|
import { Availability as R } from "./molecules/Availability/Availability.js";
|
|
@@ -30,37 +30,38 @@ import { usePreprocessedMarkdown as fo } from "./atoms/Markdown/usePreprocessedM
|
|
|
30
30
|
import { Tooltip as ao } from "./atoms/Tooltip/Tooltip.js";
|
|
31
31
|
import { Popover as io } from "./atoms/Popover/Popover.js";
|
|
32
32
|
import { Account as uo } from "./molecules/Account/Account.js";
|
|
33
|
-
import { Chip as
|
|
33
|
+
import { Chip as so } from "./molecules/Chip/Chip.js";
|
|
34
34
|
import { ToggleView as Co } from "./molecules/ToggleView/ToggleView.js";
|
|
35
35
|
import { CartSlideInPanel as So } from "./molecules/Cart/CartSlideInPanel.js";
|
|
36
36
|
import { StatefulButton as Po } from "./molecules/StatefulButton/StatefulButton.js";
|
|
37
|
-
import { AnimatedCheckMark as
|
|
38
|
-
import { AddToCart as
|
|
37
|
+
import { AnimatedCheckMark as Ao } from "./molecules/StatefulButton/AnimatedCheckmark.js";
|
|
38
|
+
import { AddToCart as Mo } from "./molecules/AddToCart/AddToCart.js";
|
|
39
39
|
import { Modal as Lo } from "./molecules/Modal/Modal.js";
|
|
40
40
|
import { ImageViewer as To } from "./molecules/ImageViewer/ImageViewer.js";
|
|
41
|
+
import { getHideAtStyles as Fo } from "./atoms/HideAt.js";
|
|
41
42
|
import { MainNav as No } from "./organisms/MainNav/MainNav.js";
|
|
42
43
|
import { ChipSelector as bo } from "./organisms/ChipSelector/ChipSelector.js";
|
|
43
|
-
import { Product as
|
|
44
|
-
import { Carousel as
|
|
45
|
-
import { Footer as
|
|
46
|
-
import { default as
|
|
44
|
+
import { Product as Go } from "./organisms/Product/Product.js";
|
|
45
|
+
import { Carousel as Qo } from "./organisms/Carousel/Carousel.js";
|
|
46
|
+
import { Footer as Zo } from "./organisms/Footer/Footer.js";
|
|
47
|
+
import { default as qo } from "./organisms/SpinZoomViewer/SpinZoomViewer.js";
|
|
47
48
|
export {
|
|
48
49
|
uo as Account,
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
Mo as AddToCart,
|
|
51
|
+
Ao as AnimatedCheckMark,
|
|
51
52
|
R as Availability,
|
|
52
53
|
j as Avatar,
|
|
53
54
|
D as BannerCard,
|
|
54
55
|
U as Breadcrumbs,
|
|
55
56
|
e as Button,
|
|
56
57
|
J as CardLink,
|
|
57
|
-
|
|
58
|
+
Qo as Carousel,
|
|
58
59
|
So as CartSlideInPanel,
|
|
59
|
-
|
|
60
|
+
so as Chip,
|
|
60
61
|
bo as ChipSelector,
|
|
61
62
|
f as Column,
|
|
62
63
|
p as Flex,
|
|
63
|
-
|
|
64
|
+
Zo as Footer,
|
|
64
65
|
x as Grid,
|
|
65
66
|
n as Head,
|
|
66
67
|
_ as HorizontalScroll,
|
|
@@ -69,7 +70,7 @@ export {
|
|
|
69
70
|
S as Input,
|
|
70
71
|
P as Link,
|
|
71
72
|
h as LinkButton,
|
|
72
|
-
|
|
73
|
+
H as Logo,
|
|
73
74
|
No as MainNav,
|
|
74
75
|
eo as Markdown,
|
|
75
76
|
Lo as Modal,
|
|
@@ -77,20 +78,21 @@ export {
|
|
|
77
78
|
io as Popover,
|
|
78
79
|
po as PreprocessedMarkdown,
|
|
79
80
|
O as Pricing,
|
|
80
|
-
|
|
81
|
+
Go as Product,
|
|
81
82
|
z as QuantityInput,
|
|
82
83
|
u as Root,
|
|
83
|
-
|
|
84
|
-
|
|
84
|
+
V as SearchBox,
|
|
85
|
+
s as Separator,
|
|
85
86
|
oo as SlideInPanel,
|
|
86
|
-
|
|
87
|
+
qo as SpinZoomViewer,
|
|
87
88
|
Po as StatefulButton,
|
|
88
89
|
C as Text,
|
|
89
90
|
Co as ToggleView,
|
|
90
91
|
ao as Tooltip,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
A as
|
|
92
|
+
y as configureImage,
|
|
93
|
+
M as configureLink,
|
|
94
|
+
Fo as getHideAtStyles,
|
|
95
|
+
A as linkClassName,
|
|
96
|
+
v as routerOverride,
|
|
95
97
|
fo as usePreprocessedMarkdown
|
|
96
98
|
};
|
package/dist/main-server.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export { LinkButton } from './atoms/LinkButton/LinkButton';
|
|
|
21
21
|
export type { LinkButtonProps } from './atoms/LinkButton/LinkButton';
|
|
22
22
|
export { configureImage } from './atoms/Image/configureImage';
|
|
23
23
|
export type { ImageProps, ImageImplementation } from './atoms/Image/Image';
|
|
24
|
+
export type { HideAtProps, HideAtProp, HideAtValue } from './atoms/HideAt';
|
|
24
25
|
export { Logo } from './molecules/Logo/Logo';
|
|
25
26
|
export type { LogoProps } from './molecules/Logo/Logo';
|
|
26
27
|
export { SearchBox } from './molecules/SearchBox/SearchBox';
|
|
@@ -1,8 +1,8 @@
|
|
|
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
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_idgma_2", N = "_content_idgma_13", u = "_variant_hero_idgma_26", z = "_align_left_idgma_26", S = "_align_right_idgma_37", $ = "_variant_promo_idgma_48", b = "_header_idgma_59", j = "_description_idgma_71", C = "_overlay_dark_idgma_103", H = "_overlay_none_idgma_105", w = "_overlay_light_idgma_110", t = {
|
|
6
6
|
root: k,
|
|
7
7
|
content: N,
|
|
8
8
|
variant_hero: u,
|
|
@@ -16,34 +16,34 @@ import '../../assets/BannerCard.css';const k = "_root_1tnrd_2", N = "_content_1t
|
|
|
16
16
|
overlay_light: w
|
|
17
17
|
};
|
|
18
18
|
function L({
|
|
19
|
-
variant:
|
|
20
|
-
overlayTheme:
|
|
19
|
+
variant: a = "hero",
|
|
20
|
+
overlayTheme: e = "none",
|
|
21
21
|
title: l,
|
|
22
|
-
description:
|
|
23
|
-
backgroundImage:
|
|
22
|
+
description: r,
|
|
23
|
+
backgroundImage: i,
|
|
24
24
|
align: c = "left",
|
|
25
|
-
cta:
|
|
25
|
+
cta: n,
|
|
26
26
|
className: d,
|
|
27
|
-
hideAt:
|
|
27
|
+
hideAt: g
|
|
28
28
|
}) {
|
|
29
|
-
const
|
|
30
|
-
return /* @__PURE__ */
|
|
29
|
+
const m = i ? { backgroundImage: `url(${i})` } : void 0, _ = a === "hero", h = _ ? "5xl" : "xl", v = _ ? "md" : "sm", y = e === "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_${a}`],
|
|
36
36
|
t[`align_${c}`],
|
|
37
|
-
t[`overlay_${
|
|
37
|
+
t[`overlay_${e}`],
|
|
38
38
|
y,
|
|
39
|
-
f(
|
|
39
|
+
f(g),
|
|
40
40
|
d
|
|
41
41
|
),
|
|
42
|
-
style: { ...
|
|
42
|
+
style: { ...m },
|
|
43
43
|
children: /* @__PURE__ */ p("div", { className: t.content, children: [
|
|
44
|
-
/* @__PURE__ */
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
/* @__PURE__ */ o(s, { variant: "display", weight: "light", size: h, className: t.header, children: l }),
|
|
45
|
+
r && /* @__PURE__ */ o(s, { size: v, className: t.description, children: r }),
|
|
46
|
+
n && /* @__PURE__ */ o("div", { className: t.cta, children: n })
|
|
47
47
|
] })
|
|
48
48
|
}
|
|
49
49
|
);
|