@bccampus/ui-components 0.1.0 → 0.3.0

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.
Files changed (71) hide show
  1. package/dist/banner.d.ts +16 -0
  2. package/dist/banner.js +42 -0
  3. package/dist/button.d.ts +5 -4
  4. package/dist/button.js +24 -18
  5. package/dist/caption.js +7 -7
  6. package/dist/card.d.ts +15 -9
  7. package/dist/card.js +64 -86
  8. package/dist/createLucideIcon-CzehbSja.js +94 -0
  9. package/dist/horizontal-list.d.ts +9 -2
  10. package/dist/horizontal-list.js +46 -114
  11. package/dist/icon-generator.d.ts +2 -1
  12. package/dist/icon-generator.js +183 -150
  13. package/dist/index-CQhYMnjT.js +34 -0
  14. package/dist/index-U7DVCmS_.js +76 -0
  15. package/dist/input.d.ts +7 -0
  16. package/dist/input.js +18 -0
  17. package/dist/masked-image-generator.d.ts +1 -0
  18. package/dist/masked-image-generator.js +18 -18
  19. package/dist/navigation-menu.d.ts +27 -0
  20. package/dist/navigation-menu.js +1139 -0
  21. package/dist/overlay.d.ts +13 -0
  22. package/dist/overlay.js +27 -0
  23. package/dist/page-header.d.ts +9 -0
  24. package/dist/page-header.js +944 -0
  25. package/dist/page-section.d.ts +14 -0
  26. package/dist/page-section.js +31 -0
  27. package/dist/page.d.ts +7 -0
  28. package/dist/page.js +8 -0
  29. package/dist/search-input.d.ts +7 -0
  30. package/dist/search-input.js +23 -0
  31. package/dist/tag.d.ts +2 -2
  32. package/dist/tag.js +7 -7
  33. package/dist/ui-components.d.ts +112 -29
  34. package/dist/ui-components.js +51 -26
  35. package/package.json +49 -15
  36. package/src/assets/images/image_06.jpg +0 -0
  37. package/src/components/ui/banner.tsx +48 -0
  38. package/src/components/ui/button.tsx +53 -47
  39. package/src/components/ui/card.tsx +131 -147
  40. package/src/components/ui/horizontal-list.tsx +75 -50
  41. package/src/components/ui/icon-generator/generate-tiles.tsx +243 -243
  42. package/src/components/ui/icon-generator/icon-generator.tsx +84 -51
  43. package/src/components/ui/icon-generator/masked-image-generator.tsx +38 -38
  44. package/src/components/ui/icon-generator/types.ts +53 -52
  45. package/src/components/ui/index.ts +12 -4
  46. package/src/components/ui/input.tsx +17 -0
  47. package/src/components/ui/navigation-menu.tsx +165 -0
  48. package/src/components/ui/overlay.tsx +29 -0
  49. package/src/components/ui/page-header.tsx +24 -0
  50. package/src/components/ui/page-section.tsx +33 -0
  51. package/src/components/ui/page.tsx +11 -0
  52. package/src/components/ui/search-input.tsx +16 -0
  53. package/src/components/ui/tag.tsx +39 -39
  54. package/src/components/ui/typography/caption.tsx +32 -32
  55. package/src/styles/all.css +4 -4
  56. package/src/styles/colors.css +9 -10
  57. package/src/styles/index.css +7 -7
  58. package/src/styles/theme.css +57 -3
  59. package/src/styles/typography.css +473 -479
  60. package/tsconfig.app.json +37 -37
  61. package/vite.config.ts +53 -44
  62. package/vite.ladle.config.ts +17 -0
  63. package/dist/@bccampus-ui-components-0.1.0.tgz +0 -0
  64. package/dist/index-DcqAdr0d.js +0 -102
  65. package/dist/jsx-runtime-BzflLqGi.js +0 -282
  66. package/dist/mockServiceWorker.js +0 -348
  67. package/public/mockServiceWorker.js +0 -348
  68. package/src/assets/images/bg_pattern_01.png +0 -0
  69. package/src/assets/images/bg_pattern_02.png +0 -0
  70. package/src/assets/images/bg_pattern_03.png +0 -0
  71. package/src/assets/images/bg_pattern_04.png +0 -0
@@ -0,0 +1,16 @@
1
+ import { ClassProp } from 'class-variance-authority/types';
2
+ import { JSX } from 'react/jsx-runtime';
3
+ import { VariantProps } from 'class-variance-authority';
4
+
5
+ export declare function Banner({ className, size, variant, dismissible, children, ...props }: BannerProps): JSX.Element | null;
6
+
7
+ export declare interface BannerProps extends VariantProps<typeof bannerVariants>, React.ComponentProps<"div"> {
8
+ dismissible?: boolean;
9
+ }
10
+
11
+ declare const bannerVariants: (props?: ({
12
+ variant?: "default" | "alert" | null | undefined;
13
+ size?: "default" | "sm" | "lg" | null | undefined;
14
+ } & ClassProp) | undefined) => string;
15
+
16
+ export { }
package/dist/banner.js ADDED
@@ -0,0 +1,42 @@
1
+ import { jsxs as m, jsx as t } from "react/jsx-runtime";
2
+ import { c as l } from "./index-CQhYMnjT.js";
3
+ import { c as d } from "./utils-CRiPKpXj.js";
4
+ import { useState as f } from "react";
5
+ import { Button as p } from "./button.js";
6
+ import { c as u } from "./createLucideIcon-CzehbSja.js";
7
+ /**
8
+ * @license lucide-react v0.544.0 - ISC
9
+ *
10
+ * This source code is licensed under the ISC license.
11
+ * See the LICENSE file in the root directory of this source tree.
12
+ */
13
+ const x = [
14
+ ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
15
+ ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
16
+ ], b = u("x", x), v = l("flex flex-row items-center justify-between px-(--spacing-section) text-sm", {
17
+ variants: {
18
+ variant: {
19
+ default: "bg-complement-3 text-white",
20
+ alert: "bg-complement-2-200 text-black"
21
+ },
22
+ size: {
23
+ default: "py-2",
24
+ sm: "py-1",
25
+ lg: "py-3 text-md font-semibold"
26
+ }
27
+ },
28
+ defaultVariants: {
29
+ variant: "default",
30
+ size: "default"
31
+ }
32
+ });
33
+ function N({ className: e, size: a, variant: s, dismissible: i, children: n, ...r }) {
34
+ const [o, c] = f(!1);
35
+ return o ? null : /* @__PURE__ */ m("div", { "data-slot": "banner", className: d(v({ variant: s, size: a }), e), ...r, children: [
36
+ /* @__PURE__ */ t("div", { className: "flex-auto text-center", children: n }),
37
+ i && /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(p, { variant: "ghost", size: "icon", className: "size-6 text-white", onClick: () => c(!0), children: /* @__PURE__ */ t(b, {}) }) })
38
+ ] });
39
+ }
40
+ export {
41
+ N as Banner
42
+ };
package/dist/button.d.ts CHANGED
@@ -2,15 +2,16 @@ import { ClassProp } from 'class-variance-authority/types';
2
2
  import { JSX } from 'react/jsx-runtime';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
- export declare function Button({ className, variant, size, asChild, ...props }: ButtonProps): JSX.Element;
5
+ export declare function Button({ className, variant, size, block, asChild, ...props }: ButtonProps): JSX.Element;
6
6
 
7
- declare type ButtonProps = React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
7
+ export declare type ButtonProps = React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
8
8
  asChild?: boolean;
9
9
  };
10
10
 
11
11
  export declare const buttonVariants: (props?: ({
12
- variant?: "default" | "secondary" | "outline" | "ghost" | "link" | "destructive" | null | undefined;
13
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
12
+ variant?: "default" | "secondary" | "outline" | "ghost" | "item" | "destructive" | null | undefined;
13
+ block?: boolean | null | undefined;
14
+ size?: "text" | "default" | "sm" | "lg" | "icon" | null | undefined;
14
15
  } & ClassProp) | undefined) => string;
15
16
 
16
17
  export { }
package/dist/button.js CHANGED
@@ -1,36 +1,42 @@
1
- import { j as a } from "./jsx-runtime-BzflLqGi.js";
2
- import { c as s, S as d } from "./index-DcqAdr0d.js";
3
- import { c as u } from "./utils-CRiPKpXj.js";
4
- const c = s(
5
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-sm text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import { S as s } from "./index-U7DVCmS_.js";
3
+ import { c as d } from "./index-CQhYMnjT.js";
4
+ import { c } from "./utils-CRiPKpXj.js";
5
+ const u = d(
6
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-sm text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 px-6 has-[>svg]:px-4 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring focus-visible:ring-2 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
6
7
  {
7
8
  variants: {
8
9
  variant: {
9
- default: "bg-primary text-primary-foreground hover:bg-secondary dark:bg-complement-1-50 dark:text-brand-1 dark:hover:bg-complement-1-100",
10
+ default: "bg-primary text-primary-foreground hover:bg-secondary dark:bg-complement-1-100 dark:text-brand-1 dark:hover:bg-complement-1-50",
10
11
  secondary: "bg-secondary text-secondary-foreground hover:bg-background hover:text-primary dark:bg-complement-1-500 dark:text-foreground dark:hover:bg-complement-1-600",
11
12
  outline: "border border-primary bg-transparent hover:border-secondary hover:bg-secondary/10 dark:border-input dark:hover:bg-input/50",
12
- ghost: "text-secondary hover:bg-primary/10 dark:text-foreground dark:hover:bg-complement-1-800",
13
- link: "text-primary underline-offset-4 hover:underline",
13
+ ghost: "text-primary hover:text-secondary dark:text-foreground dark:hover:bg-complement-1-800",
14
+ item: "justify-between px-2 has-[>svg]:px-2 text-primary hover:bg-complement-1-50 dark:text-foreground dark:hover:bg-complement-1-800",
14
15
  destructive: "bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60"
15
16
  },
17
+ block: {
18
+ false: "w-fit",
19
+ true: "w-full"
20
+ },
16
21
  size: {
17
- default: "h-9 px-6 py-2 has-[>svg]:px-3",
18
- sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
19
- lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
20
- icon: "size-9"
22
+ default: "h-9",
23
+ sm: "h-8 gap-1.5",
24
+ lg: "h-10 text-base",
25
+ icon: "size-9",
26
+ text: "h-9 text-base"
21
27
  }
22
28
  },
23
29
  defaultVariants: {
24
- variant: "default",
25
- size: "default"
30
+ size: "default",
31
+ block: !1,
32
+ variant: "default"
26
33
  }
27
34
  }
28
35
  );
29
- function p({ className: e, variant: r, size: t, asChild: i = !1, ...n }) {
30
- const o = i ? d : "button";
31
- return /* @__PURE__ */ a.jsx(o, { "data-slot": "button", className: u(c({ variant: r, size: t }), e), ...n });
36
+ function p({ className: e, variant: r, size: t, block: o, asChild: a = !1, ...i }) {
37
+ return /* @__PURE__ */ n(a ? s : "button", { "data-slot": "button", className: c(u({ size: t, block: o, variant: r }), e), ...i });
32
38
  }
33
39
  export {
34
40
  p as Button,
35
- c as buttonVariants
41
+ u as buttonVariants
36
42
  };
package/dist/caption.js CHANGED
@@ -1,7 +1,8 @@
1
- import { j as s } from "./jsx-runtime-BzflLqGi.js";
2
- import { c as i, S as e } from "./index-DcqAdr0d.js";
3
- import { c as l } from "./utils-CRiPKpXj.js";
4
- const c = i("tracking-tight text-balance", {
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import { S as i } from "./index-U7DVCmS_.js";
3
+ import { c as e } from "./index-CQhYMnjT.js";
4
+ import { c as m } from "./utils-CRiPKpXj.js";
5
+ const s = e("tracking-tight text-balance", {
5
6
  variants: {
6
7
  variant: {
7
8
  default: "scroll-mr-5 text-lg/5 font-bold text-secondary dark:text-foreground",
@@ -18,10 +19,9 @@ function x({
18
19
  asChild: r = !1,
19
20
  ...o
20
21
  }) {
21
- const n = r ? e : "div";
22
- return /* @__PURE__ */ s.jsx(n, { "data-slot": "caption", className: l(c({ variant: a, className: t })), ...o });
22
+ return /* @__PURE__ */ n(r ? i : "div", { className: m(s({ variant: a, className: t })), ...o });
23
23
  }
24
24
  export {
25
25
  x as Caption,
26
- c as captionVariants
26
+ s as captionVariants
27
27
  };
package/dist/card.d.ts CHANGED
@@ -2,28 +2,32 @@ import { ClassProp } from 'class-variance-authority/types';
2
2
  import { JSX } from 'react/jsx-runtime';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
 
5
- export declare function Card<T extends boolean = false>({ className, asLink, variant, noBorder, ...props }: CardProps<T>): JSX.Element;
5
+ export declare function Card<T extends boolean = false>({ className, asLink, bordered, rounded, ...props }: CardProps<T>): JSX.Element;
6
6
 
7
- export declare function CardBody({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
7
+ export declare function CardArea({ name, className, ...props }: CardAreaProps): JSX.Element;
8
+
9
+ declare type CardAreaProps = React.ComponentProps<"div"> & {
10
+ name: string;
11
+ };
8
12
 
9
13
  export declare function CardCaption(props: React.ComponentProps<"div">): JSX.Element;
10
14
 
11
15
  export declare function CardContent(props: React.ComponentProps<"div">): JSX.Element;
12
16
 
13
- export declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
14
-
15
- export declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
16
-
17
17
  export declare function CardImage({ className, ...props }: React.ComponentProps<"img">): JSX.Element;
18
18
 
19
+ export declare function CardItemGroup({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
20
+
19
21
  export declare function CardMedia({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
20
22
 
21
23
  export declare function CardMeta(props: React.ComponentProps<"div">): JSX.Element;
22
24
 
23
- declare type CardProps<T extends boolean> = (T extends true ? React.ComponentProps<"a"> : React.ComponentProps<"div">) & VariantProps<typeof cardVariants> & {
25
+ export declare type CardProps<T extends boolean> = (T extends true ? React.ComponentProps<"a"> : React.ComponentProps<"div">) & VariantProps<typeof cardVariants> & {
24
26
  asLink?: T;
25
27
  };
26
28
 
29
+ export declare function CardSubcaption(props: React.ComponentProps<"div">): JSX.Element;
30
+
27
31
  export declare function CardSubtitle({ size, className, ...props }: CardTitleProps): JSX.Element;
28
32
 
29
33
  export declare function CardTitle({ size, className, ...props }: CardTitleProps): JSX.Element;
@@ -32,9 +36,11 @@ declare type CardTitleProps = React.ComponentProps<"div"> & {
32
36
  size?: "sm" | "md" | "lg";
33
37
  };
34
38
 
39
+ export declare function CardToolbar({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
40
+
35
41
  declare const cardVariants: (props?: ({
36
- variant?: "default" | "dark" | null | undefined;
37
- noBorder?: boolean | null | undefined;
42
+ bordered?: boolean | null | undefined;
43
+ rounded?: boolean | null | undefined;
38
44
  } & ClassProp) | undefined) => string;
39
45
 
40
46
  export { }
package/dist/card.js CHANGED
@@ -1,130 +1,108 @@
1
- import { j as r } from "./jsx-runtime-BzflLqGi.js";
2
- import { c as e } from "./utils-CRiPKpXj.js";
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { c as t } from "./utils-CRiPKpXj.js";
3
3
  import { Caption as d } from "./caption.js";
4
- import { c as i } from "./index-DcqAdr0d.js";
5
- const f = i("group @container/card flex flex-col rounded-2xl gap-3", {
4
+ import { c as u } from "./index-CQhYMnjT.js";
5
+ const m = u("group @container/card w-full max-w-full bg-card text-card-foreground grid gap-(--gap-card)", {
6
6
  variants: {
7
- variant: {
8
- default: "bg-card text-card-foreground",
9
- dark: "bg-card-foreground text-card"
7
+ bordered: {
8
+ true: "p-(--spacing-card) border border-complement-1-100 dark:border-brand-1-900 ",
9
+ false: ""
10
10
  },
11
- noBorder: {
12
- true: "",
13
- false: "border border-complement-1-100 dark:border-complement-1-900"
11
+ rounded: {
12
+ true: "rounded-2xl",
13
+ false: ""
14
14
  }
15
15
  },
16
16
  defaultVariants: {
17
- variant: "default",
18
- noBorder: !1
17
+ bordered: !1,
18
+ rounded: !1
19
19
  }
20
20
  });
21
- function v({ className: a, asLink: t, variant: o, noBorder: n, ...l }) {
22
- const s = t ? "a" : "div", c = t ? "transition-all hover:bg-complement-1-50 dark:hover:border-complement-1-950" : "";
21
+ function C({ className: r, asLink: a, bordered: n, rounded: o, ...c }) {
22
+ const i = a ? "a" : "div", l = a ? "transition-all hover:bg-complement-1-50 dark:hover:bg-gray-900" : "";
23
23
  return (
24
24
  //@ts-expect-error: props type will be correct
25
- /* @__PURE__ */ r.jsx(s, { "data-slot": "card", className: e(f({ variant: o, noBorder: n }), c, a), ...l })
25
+ /* @__PURE__ */ e(i, { "data-slot": "card", className: t(m({ bordered: n, rounded: o }), l, r), ...c })
26
26
  );
27
27
  }
28
- function b({ className: a, ...t }) {
29
- return /* @__PURE__ */ r.jsx(
28
+ function b({ name: r, className: a, ...n }) {
29
+ return /* @__PURE__ */ e(
30
30
  "div",
31
31
  {
32
- "data-slot": "card-header",
33
- className: e("flex flex-col items-start gap-3 px-6 first:pt-6 last:pb-6", a),
34
- ...t
32
+ style: { gridArea: r },
33
+ className: t("@container/card-area relative flex flex-col gap-(--gap-card-area)", a),
34
+ ...n
35
35
  }
36
36
  );
37
37
  }
38
- function j({ className: a, ...t }) {
39
- return /* @__PURE__ */ r.jsx(
40
- "div",
41
- {
42
- "data-slot": "card-body",
43
- className: e("flex flex-col items-start gap-3 px-6 first:pt-6 last:pb-6", a),
44
- ...t
45
- }
46
- );
38
+ function h({ className: r, ...a }) {
39
+ return /* @__PURE__ */ e("div", { className: t("flex flex-col gap-(--gap-card-item-group)", r), ...a });
47
40
  }
48
- function C({ size: a = "md", className: t, ...o }) {
49
- return /* @__PURE__ */ r.jsx(
41
+ function x({ size: r = "md", className: a, ...n }) {
42
+ return /* @__PURE__ */ e(
50
43
  "div",
51
44
  {
52
- "data-slot": "card-title",
53
- className: e(
45
+ className: t(
54
46
  {
55
- "heading-1": a === "lg",
56
- "heading-2": a === "md",
57
- "heading-3": a === "sm"
47
+ "heading-1": r === "lg",
48
+ "heading-2": r === "md",
49
+ "heading-3": r === "sm"
58
50
  },
59
- t
51
+ a
60
52
  ),
61
- ...o
53
+ ...n
62
54
  }
63
55
  );
64
56
  }
65
- function h({ size: a = "md", className: t, ...o }) {
66
- return /* @__PURE__ */ r.jsx(
57
+ function N({ size: r = "md", className: a, ...n }) {
58
+ return /* @__PURE__ */ e(
67
59
  "div",
68
60
  {
69
- "data-slot": "card-title",
70
- className: e(
61
+ className: t(
71
62
  "text-secondary",
72
63
  {
73
- "heading-1": a === "lg",
74
- "heading-2": a === "md",
75
- "heading-3": a === "sm"
64
+ "heading-1": r === "lg",
65
+ "heading-2": r === "md",
66
+ "heading-3": r === "sm"
76
67
  },
77
- t
68
+ a
78
69
  ),
79
- ...o
70
+ ...n
80
71
  }
81
72
  );
82
73
  }
83
- function N(a) {
84
- return /* @__PURE__ */ r.jsx(d, { "data-slot": "card-caption", ...a });
74
+ function w(r) {
75
+ return /* @__PURE__ */ e(d, { ...r });
85
76
  }
86
- function w(a) {
87
- return /* @__PURE__ */ r.jsx(d, { "data-slot": "card-meta", variant: "light", ...a });
77
+ function j(r) {
78
+ return /* @__PURE__ */ e(d, { variant: "light", ...r });
88
79
  }
89
- function k(a) {
90
- return /* @__PURE__ */ r.jsx("div", { "data-slot": "card-content", ...a });
80
+ function y(r) {
81
+ return /* @__PURE__ */ e(d, { variant: "light", ...r });
91
82
  }
92
- function y({ className: a, ...t }) {
93
- return /* @__PURE__ */ r.jsx(
94
- "div",
95
- {
96
- "data-slot": "card-footer",
97
- className: e("flex flex-wrap items-center gap-2 px-6 pt-3 last:pb-6", a),
98
- ...t
99
- }
100
- );
83
+ function k(r) {
84
+ return /* @__PURE__ */ e("div", { ...r });
101
85
  }
102
- function p({ className: a, ...t }) {
103
- return /* @__PURE__ */ r.jsx(
104
- "div",
105
- {
106
- "data-slot": "card-media",
107
- className: e(
108
- "relative flex-1 p-6 first:pb-3 last:pt-3 group-[.flex-row]:first:pr-0 group-[.flex-row]:first:pb-6 group-[.flex-row]:last:pl-0 group-[.flex-row]:last:pt-6",
109
- a
110
- ),
111
- ...t
112
- }
113
- );
86
+ function A({ className: r, ...a }) {
87
+ return /* @__PURE__ */ e("div", { className: t("flex flex-wrap items-center gap-(--gap-card-item-group)", r), ...a });
88
+ }
89
+ function s({ className: r, ...a }) {
90
+ return /* @__PURE__ */ e("div", { className: t("relative w-full h-full", r), ...a });
114
91
  }
115
- function B({ className: a, ...t }) {
116
- return /* @__PURE__ */ r.jsx(p, { children: /* @__PURE__ */ r.jsx("img", { className: e("w-full h-full rounded-lg aspect-9/5 object-cover object-top", a), ...t }) });
92
+ function I({ className: r, ...a }) {
93
+ return /* @__PURE__ */ e(s, { children: /* @__PURE__ */ e("img", { className: t("w-full h-full rounded-lg aspect-9/5 object-cover object-top", r), ...a }) });
117
94
  }
118
95
  export {
119
- v as Card,
120
- j as CardBody,
121
- N as CardCaption,
96
+ C as Card,
97
+ b as CardArea,
98
+ w as CardCaption,
122
99
  k as CardContent,
123
- y as CardFooter,
124
- b as CardHeader,
125
- B as CardImage,
126
- p as CardMedia,
127
- w as CardMeta,
128
- h as CardSubtitle,
129
- C as CardTitle
100
+ I as CardImage,
101
+ h as CardItemGroup,
102
+ s as CardMedia,
103
+ y as CardMeta,
104
+ j as CardSubcaption,
105
+ N as CardSubtitle,
106
+ x as CardTitle,
107
+ A as CardToolbar
130
108
  };
@@ -0,0 +1,94 @@
1
+ import { forwardRef as l, createElement as n } from "react";
2
+ /**
3
+ * @license lucide-react v0.544.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const w = (t) => t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), h = (t) => t.replace(
9
+ /^([A-Z])|[\s-_]+(\w)/g,
10
+ (e, r, o) => o ? o.toUpperCase() : r.toLowerCase()
11
+ ), i = (t) => {
12
+ const e = h(t);
13
+ return e.charAt(0).toUpperCase() + e.slice(1);
14
+ }, u = (...t) => t.filter((e, r, o) => !!e && e.trim() !== "" && o.indexOf(e) === r).join(" ").trim(), f = (t) => {
15
+ for (const e in t)
16
+ if (e.startsWith("aria-") || e === "role" || e === "title")
17
+ return !0;
18
+ };
19
+ /**
20
+ * @license lucide-react v0.544.0 - ISC
21
+ *
22
+ * This source code is licensed under the ISC license.
23
+ * See the LICENSE file in the root directory of this source tree.
24
+ */
25
+ var g = {
26
+ xmlns: "http://www.w3.org/2000/svg",
27
+ width: 24,
28
+ height: 24,
29
+ viewBox: "0 0 24 24",
30
+ fill: "none",
31
+ stroke: "currentColor",
32
+ strokeWidth: 2,
33
+ strokeLinecap: "round",
34
+ strokeLinejoin: "round"
35
+ };
36
+ /**
37
+ * @license lucide-react v0.544.0 - ISC
38
+ *
39
+ * This source code is licensed under the ISC license.
40
+ * See the LICENSE file in the root directory of this source tree.
41
+ */
42
+ const A = l(
43
+ ({
44
+ color: t = "currentColor",
45
+ size: e = 24,
46
+ strokeWidth: r = 2,
47
+ absoluteStrokeWidth: o,
48
+ className: s = "",
49
+ children: a,
50
+ iconNode: p,
51
+ ...c
52
+ }, m) => n(
53
+ "svg",
54
+ {
55
+ ref: m,
56
+ ...g,
57
+ width: e,
58
+ height: e,
59
+ stroke: t,
60
+ strokeWidth: o ? Number(r) * 24 / Number(e) : r,
61
+ className: u("lucide", s),
62
+ ...!a && !f(c) && { "aria-hidden": "true" },
63
+ ...c
64
+ },
65
+ [
66
+ ...p.map(([C, d]) => n(C, d)),
67
+ ...Array.isArray(a) ? a : [a]
68
+ ]
69
+ )
70
+ );
71
+ /**
72
+ * @license lucide-react v0.544.0 - ISC
73
+ *
74
+ * This source code is licensed under the ISC license.
75
+ * See the LICENSE file in the root directory of this source tree.
76
+ */
77
+ const k = (t, e) => {
78
+ const r = l(
79
+ ({ className: o, ...s }, a) => n(A, {
80
+ ref: a,
81
+ iconNode: e,
82
+ className: u(
83
+ `lucide-${w(i(t))}`,
84
+ `lucide-${t}`,
85
+ o
86
+ ),
87
+ ...s
88
+ })
89
+ );
90
+ return r.displayName = i(t), r;
91
+ };
92
+ export {
93
+ k as c
94
+ };
@@ -1,9 +1,16 @@
1
+ import { ClassProp } from 'class-variance-authority/types';
1
2
  import { JSX } from 'react/jsx-runtime';
3
+ import { VariantProps } from 'class-variance-authority';
2
4
 
3
- export declare function HorizontalList({ className, children, toolbarLocation, ...props }: HorizontalListProps): JSX.Element;
5
+ export declare function HorizontalList({ variant, className, children, toolbarLocation, scrollBy, ...props }: HorizontalListProps): JSX.Element;
4
6
 
5
- declare interface HorizontalListProps extends React.ComponentProps<"div"> {
7
+ export declare interface HorizontalListProps extends VariantProps<typeof horizontalListVariants>, React.ComponentProps<"div"> {
6
8
  toolbarLocation?: "bottom" | "top";
9
+ scrollBy?: number;
7
10
  }
8
11
 
12
+ declare const horizontalListVariants: (props?: ({
13
+ variant?: "overflow" | "contain" | null | undefined;
14
+ } & ClassProp) | undefined) => string;
15
+
9
16
  export { }