@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.
@@ -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 h } from "./atoms/Link/Link.js";
11
- import { linkClassName as I } from "./atoms/Link/linkClassName.js";
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 { NotFound as K } from "./organisms/NotFound/NotFound.js";
23
- import { HorizontalScroll as W } from "./atoms/HorizontalScroll/HorizontalScroll.js";
24
- import { Tooltip as Y } from "./molecules/Tooltip/Tooltip.js";
25
- import { Account as _ } from "./molecules/Account/Account.js";
26
- import { Chip as oo } from "./molecules/Chip/Chip.js";
27
- import { ToggleView as to } from "./molecules/ToggleView/ToggleView.js";
28
- import { StatefulButton as po } from "./molecules/StatefulButton/StatefulButton.js";
29
- import { AnimatedCheckMark as fo } from "./molecules/StatefulButton/AnimatedCheckmark.js";
30
- import { AddToCart as ao } from "./molecules/AddToCart/AddToCart.js";
31
- import { MainNav as io } from "./organisms/MainNav/MainNav.js";
32
- import { ChipSelector as lo } from "./organisms/ChipSelector/ChipSelector.js";
33
- import { Product as Co } from "./organisms/Product/Product.js";
34
- import { Carousel as ko } from "./organisms/Carousel/Carousel.js";
35
- import { Footer as Bo } from "./organisms/Footer/Footer.js";
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
- _ as Account,
38
- ao as AddToCart,
39
- fo as AnimatedCheckMark,
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
- ko as Carousel,
45
- oo as Chip,
46
- lo as ChipSelector,
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
- Bo as Footer,
51
+ So as Footer,
50
52
  x as Grid,
51
53
  n as Head,
52
- W as HorizontalScroll,
54
+ Y as HorizontalScroll,
53
55
  u as Icon,
54
56
  B as Input,
55
- h as Link,
57
+ S as Link,
56
58
  N as LinkButton,
57
59
  P as Logo,
58
- io as MainNav,
59
- K as NotFound,
60
+ lo as MainNav,
61
+ W as NotFound,
60
62
  Q as Pricing,
61
- Co as Product,
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
- po as StatefulButton,
68
+ fo as StatefulButton,
67
69
  k as Text,
68
- to as ToggleView,
69
- Y as Tooltip,
70
+ po as ToggleView,
71
+ _ as Tooltip,
70
72
  H as configureImage,
71
73
  T as configureLink,
72
- I as linkClassName,
74
+ v as linkClassName,
73
75
  s as routerOverride
74
76
  };
@@ -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';
@@ -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 c } from "./atoms/Root/Root.js";
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 B } from "./atoms/Text/Text.js";
9
- import { Input as L } from "./atoms/Input/Input.js";
10
- import { Link as C } from "./atoms/Link/Link.js";
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 { NotFound as U } from "./organisms/NotFound/NotFound.js";
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
- L as Input,
34
- C as Link,
35
+ C as Input,
36
+ v as Link,
35
37
  b as LinkButton,
36
38
  O as Logo,
37
- U as NotFound,
39
+ W as NotFound,
38
40
  q as Pricing,
39
41
  T as QuantityInput,
40
- c as Root,
42
+ l as Root,
41
43
  Q as SearchBox,
42
44
  g as Separator,
43
- B as Text,
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 default function CardLink({ href, src, alt, callout, title, description }: CardLinkProps): import("react/jsx-runtime").JSX.Element;
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", T = "_calloutText_1yols_51", g = "_cardImage_1yols_57", p = "_cardBody_1yols_66", h = "_cardTitle_1yols_75", x = "_cardDescription_1yols_83", c = {
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: T,
9
+ calloutText: h,
10
10
  cardImage: g,
11
- cardBody: p,
12
- cardTitle: h,
11
+ cardBody: T,
12
+ cardTitle: p,
13
13
  cardDescription: x
14
14
  };
15
- function z({ href: l = "#", src: s, alt: o = "", callout: t = "Customize", title: d = "Title", description: i = "Customizable part description." }) {
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: s, alt: o, className: c.cardImage }),
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: d }),
21
- /* @__PURE__ */ a(r, { size: "xs", weight: "regular", className: c.cardDescription, children: i })
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 default
26
+ z as CardLink
27
27
  };
@@ -1,5 +1,5 @@
1
1
  import { Meta, StoryObj } from '@storybook/react';
2
- import { default as CardLink } from './CardLink';
2
+ import { CardLink } from './CardLink';
3
3
  /**
4
4
  * CardLink
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
- import t from "./CardLink.js";
2
+ import { CardLink as t } from "./CardLink.js";
3
3
  const a = {
4
4
  title: "Case Parts/Molecules/CardLink",
5
5
  component: t,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@caseparts-org/caseblocks",
3
3
  "private": false,
4
- "version": "0.0.88",
4
+ "version": "0.0.90",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",