@caseparts-org/caseblocks 0.0.88 → 0.0.90
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.
- package/dist/main-client.js +34 -32
- package/dist/main-server.d.ts +2 -0
- package/dist/main-server.js +12 -10
- package/dist/molecules/CardLink/CardLink.d.ts +2 -3
- package/dist/molecules/CardLink/CardLink.js +9 -9
- package/dist/molecules/CardLink/CardLink.stories.d.ts +1 -1
- package/dist/molecules/CardLink/CardLink.stories.js +1 -1
- package/package.json +1 -1
package/dist/main-client.js
CHANGED
|
@@ -7,8 +7,8 @@ import { Root as c } from "./atoms/Root/Root.js";
|
|
|
7
7
|
import { Separator as C } from "./atoms/Separator/Separator.js";
|
|
8
8
|
import { Text as k } from "./atoms/Text/Text.js";
|
|
9
9
|
import { Input as B } from "./atoms/Input/Input.js";
|
|
10
|
-
import { Link as
|
|
11
|
-
import { linkClassName as
|
|
10
|
+
import { Link as S } from "./atoms/Link/Link.js";
|
|
11
|
+
import { linkClassName as v } from "./atoms/Link/linkClassName.js";
|
|
12
12
|
import { configureLink as T, routerOverride as s } from "./atoms/Link/configureLink.js";
|
|
13
13
|
import { LinkButton as N } from "./atoms/LinkButton/LinkButton.js";
|
|
14
14
|
import { configureImage as H } from "./atoms/Image/configureImage.js";
|
|
@@ -19,56 +19,58 @@ import { Pricing as Q } from "./molecules/Pricing/Pricing.js";
|
|
|
19
19
|
import { Availability as V } from "./molecules/Availability/Availability.js";
|
|
20
20
|
import { Avatar as q } from "./molecules/Avatar/Avatar.js";
|
|
21
21
|
import { BannerCard as E } from "./molecules/BannerCard/BannerCard.js";
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
22
|
+
import { CardLink as K } from "./molecules/CardLink/CardLink.js";
|
|
23
|
+
import { NotFound as W } from "./organisms/NotFound/NotFound.js";
|
|
24
|
+
import { HorizontalScroll as Y } from "./atoms/HorizontalScroll/HorizontalScroll.js";
|
|
25
|
+
import { Tooltip as _ } from "./molecules/Tooltip/Tooltip.js";
|
|
26
|
+
import { Account as oo } from "./molecules/Account/Account.js";
|
|
27
|
+
import { Chip as to } from "./molecules/Chip/Chip.js";
|
|
28
|
+
import { ToggleView as po } from "./molecules/ToggleView/ToggleView.js";
|
|
29
|
+
import { StatefulButton as fo } from "./molecules/StatefulButton/StatefulButton.js";
|
|
30
|
+
import { AnimatedCheckMark as ao } from "./molecules/StatefulButton/AnimatedCheckmark.js";
|
|
31
|
+
import { AddToCart as io } from "./molecules/AddToCart/AddToCart.js";
|
|
32
|
+
import { MainNav as lo } from "./organisms/MainNav/MainNav.js";
|
|
33
|
+
import { ChipSelector as Co } from "./organisms/ChipSelector/ChipSelector.js";
|
|
34
|
+
import { Product as ko } from "./organisms/Product/Product.js";
|
|
35
|
+
import { Carousel as Bo } from "./organisms/Carousel/Carousel.js";
|
|
36
|
+
import { Footer as So } from "./organisms/Footer/Footer.js";
|
|
36
37
|
export {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
oo as Account,
|
|
39
|
+
io as AddToCart,
|
|
40
|
+
ao as AnimatedCheckMark,
|
|
40
41
|
V as Availability,
|
|
41
42
|
q as Avatar,
|
|
42
43
|
E as BannerCard,
|
|
43
44
|
t as Button,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
K as CardLink,
|
|
46
|
+
Bo as Carousel,
|
|
47
|
+
to as Chip,
|
|
48
|
+
Co as ChipSelector,
|
|
47
49
|
f as Column,
|
|
48
50
|
p as Flex,
|
|
49
|
-
|
|
51
|
+
So as Footer,
|
|
50
52
|
x as Grid,
|
|
51
53
|
n as Head,
|
|
52
|
-
|
|
54
|
+
Y as HorizontalScroll,
|
|
53
55
|
u as Icon,
|
|
54
56
|
B as Input,
|
|
55
|
-
|
|
57
|
+
S as Link,
|
|
56
58
|
N as LinkButton,
|
|
57
59
|
P as Logo,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
+
lo as MainNav,
|
|
61
|
+
W as NotFound,
|
|
60
62
|
Q as Pricing,
|
|
61
|
-
|
|
63
|
+
ko as Product,
|
|
62
64
|
G as QuantityInput,
|
|
63
65
|
c as Root,
|
|
64
66
|
w as SearchBox,
|
|
65
67
|
C as Separator,
|
|
66
|
-
|
|
68
|
+
fo as StatefulButton,
|
|
67
69
|
k as Text,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
+
po as ToggleView,
|
|
71
|
+
_ as Tooltip,
|
|
70
72
|
H as configureImage,
|
|
71
73
|
T as configureLink,
|
|
72
|
-
|
|
74
|
+
v as linkClassName,
|
|
73
75
|
s as routerOverride
|
|
74
76
|
};
|
package/dist/main-server.d.ts
CHANGED
|
@@ -35,5 +35,7 @@ export { Avatar } from './molecules/Avatar/Avatar';
|
|
|
35
35
|
export type { AvatarProps } from './molecules/Avatar/Avatar';
|
|
36
36
|
export { BannerCard } from './molecules/BannerCard/BannerCard';
|
|
37
37
|
export type { BannerCardProps } from './molecules/BannerCard/BannerCard';
|
|
38
|
+
export { CardLink } from './molecules/CardLink/CardLink';
|
|
39
|
+
export type { CardLinkProps } from './molecules/CardLink/CardLink';
|
|
38
40
|
export { NotFound } from './organisms/NotFound/NotFound';
|
|
39
41
|
export type { NotFoundProps } from './organisms/NotFound/NotFound';
|
package/dist/main-server.js
CHANGED
|
@@ -3,11 +3,11 @@ import { Flex as m } from "./atoms/Flex/Flex.js";
|
|
|
3
3
|
import { Column as x, Grid as f } from "./atoms/Grid/Grid.js";
|
|
4
4
|
import { Head as a } from "./atoms/Root/Head.js";
|
|
5
5
|
import { Icon as u } from "./atoms/Icon/Icon.js";
|
|
6
|
-
import { Root as
|
|
6
|
+
import { Root as l } from "./atoms/Root/Root.js";
|
|
7
7
|
import { Separator as g } from "./atoms/Separator/Separator.js";
|
|
8
|
-
import { Text as
|
|
9
|
-
import { Input as
|
|
10
|
-
import { Link as
|
|
8
|
+
import { Text as L } from "./atoms/Text/Text.js";
|
|
9
|
+
import { Input as C } from "./atoms/Input/Input.js";
|
|
10
|
+
import { Link as v } from "./atoms/Link/Link.js";
|
|
11
11
|
import { linkClassName as y } from "./atoms/Link/linkClassName.js";
|
|
12
12
|
import { configureLink as F, routerOverride as N } from "./atoms/Link/configureLink.js";
|
|
13
13
|
import { LinkButton as b } from "./atoms/LinkButton/LinkButton.js";
|
|
@@ -19,28 +19,30 @@ import { Pricing as q } from "./molecules/Pricing/Pricing.js";
|
|
|
19
19
|
import { Availability as z } from "./molecules/Availability/Availability.js";
|
|
20
20
|
import { Avatar as E } from "./molecules/Avatar/Avatar.js";
|
|
21
21
|
import { BannerCard as K } from "./molecules/BannerCard/BannerCard.js";
|
|
22
|
-
import {
|
|
22
|
+
import { CardLink as U } from "./molecules/CardLink/CardLink.js";
|
|
23
|
+
import { NotFound as W } from "./organisms/NotFound/NotFound.js";
|
|
23
24
|
export {
|
|
24
25
|
z as Availability,
|
|
25
26
|
E as Avatar,
|
|
26
27
|
K as BannerCard,
|
|
27
28
|
t as Button,
|
|
29
|
+
U as CardLink,
|
|
28
30
|
x as Column,
|
|
29
31
|
m as Flex,
|
|
30
32
|
f as Grid,
|
|
31
33
|
a as Head,
|
|
32
34
|
u as Icon,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
C as Input,
|
|
36
|
+
v as Link,
|
|
35
37
|
b as LinkButton,
|
|
36
38
|
O as Logo,
|
|
37
|
-
|
|
39
|
+
W as NotFound,
|
|
38
40
|
q as Pricing,
|
|
39
41
|
T as QuantityInput,
|
|
40
|
-
|
|
42
|
+
l as Root,
|
|
41
43
|
Q as SearchBox,
|
|
42
44
|
g as Separator,
|
|
43
|
-
|
|
45
|
+
L as Text,
|
|
44
46
|
G as configureImage,
|
|
45
47
|
F as configureLink,
|
|
46
48
|
y as linkClassName,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface CardLinkProps {
|
|
1
|
+
export interface CardLinkProps {
|
|
2
2
|
href: string;
|
|
3
3
|
src: string;
|
|
4
4
|
alt?: string;
|
|
@@ -6,5 +6,4 @@ interface CardLinkProps {
|
|
|
6
6
|
title: string;
|
|
7
7
|
description: string;
|
|
8
8
|
}
|
|
9
|
-
export
|
|
10
|
-
export {};
|
|
9
|
+
export declare function CardLink({ href, src, alt, callout, title, description }: CardLinkProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,26 +2,26 @@ import { jsx as a, jsxs as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { Text as r } from "../../atoms/Text/Text.js";
|
|
3
3
|
import { Link as n } from "../../atoms/Link/Link.js";
|
|
4
4
|
import { Image as m } from "../../atoms/Image/Image.js";
|
|
5
|
-
import '../../assets/CardLink.css';const _ = "_card_1yols_1", u = "_cardLink_1yols_24", y = "_callout_1yols_29",
|
|
5
|
+
import '../../assets/CardLink.css';const _ = "_card_1yols_1", u = "_cardLink_1yols_24", y = "_callout_1yols_29", h = "_calloutText_1yols_51", g = "_cardImage_1yols_57", T = "_cardBody_1yols_66", p = "_cardTitle_1yols_75", x = "_cardDescription_1yols_83", c = {
|
|
6
6
|
card: _,
|
|
7
7
|
cardLink: u,
|
|
8
8
|
callout: y,
|
|
9
|
-
calloutText:
|
|
9
|
+
calloutText: h,
|
|
10
10
|
cardImage: g,
|
|
11
|
-
cardBody:
|
|
12
|
-
cardTitle:
|
|
11
|
+
cardBody: T,
|
|
12
|
+
cardTitle: p,
|
|
13
13
|
cardDescription: x
|
|
14
14
|
};
|
|
15
|
-
function z({ href: l = "#", src:
|
|
15
|
+
function z({ href: l = "#", src: o, alt: s = "", callout: t = "Customize", title: i = "Title", description: d = "Customizable part description." }) {
|
|
16
16
|
return /* @__PURE__ */ a(n, { href: l, unstyled: !0, className: c.cardLink, children: /* @__PURE__ */ e("div", { className: c.card, children: [
|
|
17
|
-
/* @__PURE__ */ a(m, { src:
|
|
17
|
+
/* @__PURE__ */ a(m, { src: o, alt: s, width: 208, height: 104, className: c.cardImage }),
|
|
18
18
|
/* @__PURE__ */ a("div", { className: c.callout, children: /* @__PURE__ */ a(r, { size: "xs", weight: "regular", colorToken: "default-inverted", className: c.calloutText, children: t }) }),
|
|
19
19
|
/* @__PURE__ */ e("div", { className: c.cardBody, children: [
|
|
20
|
-
/* @__PURE__ */ a(r, { size: "sm", weight: "regular", colorToken: "secondary", className: c.cardTitle, children:
|
|
21
|
-
/* @__PURE__ */ a(r, { size: "xs", weight: "regular", className: c.cardDescription, children:
|
|
20
|
+
/* @__PURE__ */ a(r, { size: "sm", weight: "regular", colorToken: "secondary", className: c.cardTitle, children: i }),
|
|
21
|
+
/* @__PURE__ */ a(r, { size: "xs", weight: "regular", className: c.cardDescription, children: d })
|
|
22
22
|
] })
|
|
23
23
|
] }) });
|
|
24
24
|
}
|
|
25
25
|
export {
|
|
26
|
-
z as
|
|
26
|
+
z as CardLink
|
|
27
27
|
};
|