@mogba/nexus-ui 0.0.0-stage → 0.1.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 (47) hide show
  1. package/dist/components/badge.d.ts +10 -0
  2. package/dist/components/badge.d.ts.map +1 -0
  3. package/dist/components/badge.js +18 -0
  4. package/dist/components/collection-card.d.ts +14 -0
  5. package/dist/components/collection-card.d.ts.map +1 -0
  6. package/dist/components/collection-card.js +10 -0
  7. package/dist/components/container.d.ts +11 -0
  8. package/dist/components/container.d.ts.map +1 -0
  9. package/dist/components/container.js +26 -0
  10. package/dist/components/filter-bar.d.ts +4 -0
  11. package/dist/components/filter-bar.d.ts.map +1 -0
  12. package/dist/components/filter-bar.js +5 -0
  13. package/dist/components/ghost-button.d.ts +10 -0
  14. package/dist/components/ghost-button.d.ts.map +1 -0
  15. package/dist/components/ghost-button.js +17 -0
  16. package/dist/components/grid.d.ts +11 -0
  17. package/dist/components/grid.d.ts.map +1 -0
  18. package/dist/components/grid.js +24 -0
  19. package/dist/components/image-card.d.ts +30 -0
  20. package/dist/components/image-card.d.ts.map +1 -0
  21. package/dist/components/image-card.js +39 -0
  22. package/dist/components/search-bar.d.ts +8 -0
  23. package/dist/components/search-bar.d.ts.map +1 -0
  24. package/dist/components/search-bar.js +5 -0
  25. package/dist/components/section-heading.d.ts +14 -0
  26. package/dist/components/section-heading.d.ts.map +1 -0
  27. package/dist/components/section-heading.js +7 -0
  28. package/dist/components/stack.d.ts +13 -0
  29. package/dist/components/stack.d.ts.map +1 -0
  30. package/dist/components/stack.js +40 -0
  31. package/dist/components/text-card.d.ts +12 -0
  32. package/dist/components/text-card.d.ts.map +1 -0
  33. package/dist/components/text-card.js +7 -0
  34. package/dist/components/text.d.ts +21 -0
  35. package/dist/components/text.d.ts.map +1 -0
  36. package/dist/components/text.js +48 -0
  37. package/dist/components/top-nav.d.ts +16 -0
  38. package/dist/components/top-nav.d.ts.map +1 -0
  39. package/dist/components/top-nav.js +6 -0
  40. package/dist/index.d.ts +15 -0
  41. package/dist/index.d.ts.map +1 -0
  42. package/dist/index.js +14 -0
  43. package/dist/lib/cn.d.ts +3 -0
  44. package/dist/lib/cn.d.ts.map +1 -0
  45. package/dist/lib/cn.js +5 -0
  46. package/package.json +37 -4
  47. package/README.md +0 -3
@@ -0,0 +1,10 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import { type HTMLAttributes } from "react";
3
+ declare const badgeVariants: (props?: ({
4
+ variant?: "subtle" | "outline" | "accent" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ export interface BadgeProps extends HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
7
+ }
8
+ export declare const Badge: import("react").ForwardRefExoticComponent<BadgeProps & import("react").RefAttributes<HTMLSpanElement>>;
9
+ export {};
10
+ //# sourceMappingURL=badge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../src/components/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAGxD,QAAA,MAAM,aAAa;;8EAclB,CAAC;AAEF,MAAM,WAAW,UACf,SAAQ,cAAc,CAAC,eAAe,CAAC,EACrC,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AAEzC,eAAO,MAAM,KAAK,wGAQjB,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cva } from "class-variance-authority";
3
+ import { forwardRef } from "react";
4
+ import { cn } from "../lib/cn.js";
5
+ const badgeVariants = cva("inline-flex items-center rounded-nexus-sm border px-2 py-0.5 text-xs font-medium tabular-nums transition-colors", {
6
+ variants: {
7
+ variant: {
8
+ subtle: "border-transparent bg-nexus-surface text-nexus-muted",
9
+ outline: "border-nexus-border bg-nexus-bg text-nexus-muted",
10
+ accent: "border-transparent bg-nexus-accent/10 text-nexus-accent",
11
+ },
12
+ },
13
+ defaultVariants: {
14
+ variant: "subtle",
15
+ },
16
+ });
17
+ export const Badge = forwardRef(({ className, variant, ...props }, ref) => (_jsx("span", { ref: ref, className: cn(badgeVariants({ variant }), className), ...props })));
18
+ Badge.displayName = "Badge";
@@ -0,0 +1,14 @@
1
+ import { type HTMLAttributes, type ReactNode } from "react";
2
+ export type CollectionCardProps = {
3
+ title: ReactNode;
4
+ label?: ReactNode;
5
+ previewUrls?: readonly string[];
6
+ maxPreviews?: number;
7
+ } & HTMLAttributes<HTMLDivElement>;
8
+ export declare const CollectionCard: import("react").ForwardRefExoticComponent<{
9
+ title: ReactNode;
10
+ label?: ReactNode;
11
+ previewUrls?: readonly string[];
12
+ maxPreviews?: number;
13
+ } & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
14
+ //# sourceMappingURL=collection-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection-card.d.ts","sourceRoot":"","sources":["../../src/components/collection-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAKxE,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,cAAc;WANlB,SAAS;YACR,SAAS;kBACH,SAAS,MAAM,EAAE;kBACjB,MAAM;mFAyDrB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ import { cn } from "../lib/cn.js";
4
+ import { Stack } from "./stack.js";
5
+ import { Text } from "./text.js";
6
+ export const CollectionCard = forwardRef(({ className, title, label, previewUrls = [], maxPreviews = 3, ...props }, ref) => {
7
+ const previews = previewUrls.slice(0, maxPreviews);
8
+ return (_jsx("div", { ref: ref, className: cn("group rounded-nexus border border-nexus-border bg-nexus-bg p-4 shadow-card transition-all duration-200 ease-nexus-out hover:shadow-card-hover", className), ...props, children: _jsxs(Stack, { gap: "md", children: [_jsx("div", { className: "flex gap-1", children: previews.length === 0 ? (_jsx("div", { className: "flex h-16 w-full items-center justify-center rounded-nexus-sm bg-nexus-surface text-nexus-muted", children: _jsx(Text, { as: "span", size: "xs", tone: "muted", children: "Collection" }) })) : (previews.map((url) => (_jsx("div", { className: "relative h-16 min-w-0 flex-1 overflow-hidden rounded-nexus-sm border border-nexus-border bg-nexus-surface", children: _jsx("img", { src: url, alt: "", className: "h-full w-full object-cover transition-transform duration-200 ease-nexus-out group-hover:scale-[1.03]", loading: "lazy" }) }, url)))) }), _jsxs(Stack, { gap: "xs", children: [_jsx(Text, { as: "h3", size: "sm", weight: "semibold", className: "line-clamp-2", children: title }), label != null ? (_jsx(Text, { as: "p", size: "xs", tone: "muted", children: label })) : null] })] }) }));
9
+ });
10
+ CollectionCard.displayName = "CollectionCard";
@@ -0,0 +1,11 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import { type HTMLAttributes } from "react";
3
+ declare const containerVariants: (props?: ({
4
+ size?: "sm" | "md" | "lg" | "full" | null | undefined;
5
+ py?: "none" | "sm" | "md" | "lg" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ export interface ContainerProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof containerVariants> {
8
+ }
9
+ export declare const Container: import("react").ForwardRefExoticComponent<ContainerProps & import("react").RefAttributes<HTMLDivElement>>;
10
+ export {};
11
+ //# sourceMappingURL=container.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../src/components/container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAGxD,QAAA,MAAM,iBAAiB;;;8EAmBrB,CAAC;AAEH,MAAM,WAAW,cACf,SAAQ,cAAc,CAAC,cAAc,CAAC,EACpC,YAAY,CAAC,OAAO,iBAAiB,CAAC;CAAG;AAE7C,eAAO,MAAM,SAAS,2GAQrB,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cva } from "class-variance-authority";
3
+ import { forwardRef } from "react";
4
+ import { cn } from "../lib/cn.js";
5
+ const containerVariants = cva("mx-auto w-full px-4 sm:px-6 lg:px-8", {
6
+ variants: {
7
+ size: {
8
+ sm: "max-w-3xl",
9
+ md: "max-w-5xl",
10
+ lg: "max-w-7xl",
11
+ full: "max-w-none",
12
+ },
13
+ py: {
14
+ none: "",
15
+ sm: "py-6",
16
+ md: "py-12",
17
+ lg: "py-16",
18
+ },
19
+ },
20
+ defaultVariants: {
21
+ size: "lg",
22
+ py: "none",
23
+ },
24
+ });
25
+ export const Container = forwardRef(({ className, size, py, ...props }, ref) => (_jsx("div", { ref: ref, className: cn(containerVariants({ size, py }), className), ...props })));
26
+ Container.displayName = "Container";
@@ -0,0 +1,4 @@
1
+ import { type FieldsetHTMLAttributes } from "react";
2
+ export type FilterBarProps = FieldsetHTMLAttributes<HTMLFieldSetElement>;
3
+ export declare const FilterBar: import("react").ForwardRefExoticComponent<FilterBarProps & import("react").RefAttributes<HTMLFieldSetElement>>;
4
+ //# sourceMappingURL=filter-bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-bar.d.ts","sourceRoot":"","sources":["../../src/components/filter-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,sBAAsB,EAAc,MAAM,OAAO,CAAC;AAGhE,MAAM,MAAM,cAAc,GAAG,sBAAsB,CAAC,mBAAmB,CAAC,CAAC;AAEzE,eAAO,MAAM,SAAS,gHAYrB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ import { cn } from "../lib/cn.js";
4
+ export const FilterBar = forwardRef(({ className, ...props }, ref) => (_jsx("fieldset", { ref: ref, "aria-label": "Filters", className: cn("m-0 flex min-w-0 flex-wrap items-center gap-2 border-0 p-0", className), ...props })));
5
+ FilterBar.displayName = "FilterBar";
@@ -0,0 +1,10 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import { type ButtonHTMLAttributes } from "react";
3
+ declare const ghostButtonVariants: (props?: ({
4
+ tone?: "default" | "inverse" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ export interface GhostButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof ghostButtonVariants> {
7
+ }
8
+ export declare const GhostButton: import("react").ForwardRefExoticComponent<GhostButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
9
+ export {};
10
+ //# sourceMappingURL=ghost-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ghost-button.d.ts","sourceRoot":"","sources":["../../src/components/ghost-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,KAAK,oBAAoB,EAAc,MAAM,OAAO,CAAC;AAG9D,QAAA,MAAM,mBAAmB;;8EAaxB,CAAC;AAEF,MAAM,WAAW,gBACf,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC,EAC7C,YAAY,CAAC,OAAO,mBAAmB,CAAC;CAAG;AAE/C,eAAO,MAAM,WAAW,gHASvB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cva } from "class-variance-authority";
3
+ import { forwardRef } from "react";
4
+ import { cn } from "../lib/cn.js";
5
+ const ghostButtonVariants = cva("inline-flex items-center justify-center gap-2 rounded-nexus border border-transparent px-3 py-1.5 text-sm font-medium text-nexus-foreground transition-colors duration-200 ease-nexus-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-nexus-accent/30 disabled:pointer-events-none disabled:opacity-50", {
6
+ variants: {
7
+ tone: {
8
+ default: "hover:bg-nexus-surface active:bg-nexus-surface/80",
9
+ inverse: "text-nexus-inverse hover:bg-white/10 active:bg-white/5",
10
+ },
11
+ },
12
+ defaultVariants: {
13
+ tone: "default",
14
+ },
15
+ });
16
+ export const GhostButton = forwardRef(({ className, tone, type = "button", ...props }, ref) => (_jsx("button", { ref: ref, type: type, className: cn(ghostButtonVariants({ tone }), className), ...props })));
17
+ GhostButton.displayName = "GhostButton";
@@ -0,0 +1,11 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import { type HTMLAttributes } from "react";
3
+ declare const gridVariants: (props?: ({
4
+ cols?: 1 | 3 | 2 | 4 | null | undefined;
5
+ density?: "comfortable" | "compact" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ export interface GridProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof gridVariants> {
8
+ }
9
+ export declare const Grid: import("react").ForwardRefExoticComponent<GridProps & import("react").RefAttributes<HTMLDivElement>>;
10
+ export {};
11
+ //# sourceMappingURL=grid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../src/components/grid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAGxD,QAAA,MAAM,YAAY;;;8EAiBhB,CAAC;AAEH,MAAM,WAAW,SACf,SAAQ,cAAc,CAAC,cAAc,CAAC,EACpC,YAAY,CAAC,OAAO,YAAY,CAAC;CAAG;AAExC,eAAO,MAAM,IAAI,sGAQhB,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cva } from "class-variance-authority";
3
+ import { forwardRef } from "react";
4
+ import { cn } from "../lib/cn.js";
5
+ const gridVariants = cva("grid w-full", {
6
+ variants: {
7
+ cols: {
8
+ 1: "grid-cols-1",
9
+ 2: "grid-cols-1 sm:grid-cols-2",
10
+ 3: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-3",
11
+ 4: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-4",
12
+ },
13
+ density: {
14
+ comfortable: "gap-6",
15
+ compact: "gap-3",
16
+ },
17
+ },
18
+ defaultVariants: {
19
+ cols: 3,
20
+ density: "comfortable",
21
+ },
22
+ });
23
+ export const Grid = forwardRef(({ className, cols, density, ...props }, ref) => (_jsx("div", { ref: ref, className: cn(gridVariants({ cols, density }), className), ...props })));
24
+ Grid.displayName = "Grid";
@@ -0,0 +1,30 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import { type HTMLAttributes, type ReactNode } from "react";
3
+ declare const imageCardVariants: (props?: ({
4
+ density?: "comfortable" | "compact" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ declare const aspectVariants: (props?: ({
7
+ aspect?: "video" | "square" | "landscape" | "portrait" | null | undefined;
8
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
+ export type ImageCardProps = {
10
+ title: ReactNode;
11
+ meta?: ReactNode;
12
+ imageSrc: string;
13
+ imageAlt: string;
14
+ href?: string;
15
+ children?: ReactNode;
16
+ } & VariantProps<typeof imageCardVariants> & VariantProps<typeof aspectVariants> & Omit<HTMLAttributes<HTMLElement>, "title">;
17
+ export declare const ImageCard: import("react").ForwardRefExoticComponent<{
18
+ title: ReactNode;
19
+ meta?: ReactNode;
20
+ imageSrc: string;
21
+ imageAlt: string;
22
+ href?: string;
23
+ children?: ReactNode;
24
+ } & VariantProps<(props?: ({
25
+ density?: "comfortable" | "compact" | null | undefined;
26
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string> & VariantProps<(props?: ({
27
+ aspect?: "video" | "square" | "landscape" | "portrait" | null | undefined;
28
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string> & Omit<HTMLAttributes<HTMLElement>, "title"> & import("react").RefAttributes<HTMLElement>>;
29
+ export {};
30
+ //# sourceMappingURL=image-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image-card.d.ts","sourceRoot":"","sources":["../../src/components/image-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAKf,QAAA,MAAM,iBAAiB;;8EAatB,CAAC;AAEF,QAAA,MAAM,cAAc;;8EAYlB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,GACxC,YAAY,CAAC,OAAO,cAAc,CAAC,GACnC,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,CAAC;AAE7C,eAAO,MAAM,SAAS;WAVb,SAAS;WACT,SAAS;cACN,MAAM;cACN,MAAM;WACT,MAAM;eACF,SAAS;;;;;0KAgFrB,CAAC"}
@@ -0,0 +1,39 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { cva } from "class-variance-authority";
3
+ import { forwardRef, } from "react";
4
+ import { cn } from "../lib/cn.js";
5
+ import { Stack } from "./stack.js";
6
+ import { Text } from "./text.js";
7
+ const imageCardVariants = cva("group overflow-hidden rounded-nexus border border-nexus-border bg-nexus-bg shadow-card transition-shadow duration-200 ease-nexus-out hover:shadow-card-hover", {
8
+ variants: {
9
+ density: {
10
+ comfortable: "",
11
+ compact: "",
12
+ },
13
+ },
14
+ defaultVariants: {
15
+ density: "comfortable",
16
+ },
17
+ });
18
+ const aspectVariants = cva("relative w-full overflow-hidden bg-nexus-surface", {
19
+ variants: {
20
+ aspect: {
21
+ landscape: "aspect-[4/3]",
22
+ video: "aspect-video",
23
+ square: "aspect-square",
24
+ portrait: "aspect-[3/4]",
25
+ },
26
+ },
27
+ defaultVariants: {
28
+ aspect: "landscape",
29
+ },
30
+ });
31
+ export const ImageCard = forwardRef(function ImageCard({ className, title, meta, imageSrc, imageAlt, href, children, density, aspect, ...rest }, ref) {
32
+ const body = (_jsxs(_Fragment, { children: [_jsx("div", { className: cn(aspectVariants({ aspect }), "border-b border-nexus-border"), children: _jsx("img", { src: imageSrc, alt: imageAlt, className: "h-full w-full object-cover transition-transform duration-200 ease-nexus-out group-hover:scale-[1.02]", loading: "lazy" }) }), _jsxs(Stack, { gap: "xs", className: density === "compact" ? "p-3" : "p-4", children: [_jsx(Text, { as: "h3", size: "sm", weight: "semibold", className: "line-clamp-2", children: title }), meta != null ? (_jsx(Text, { as: "p", size: "xs", tone: "muted", className: "line-clamp-2", children: meta })) : null, children] })] }));
33
+ const cardClass = cn(imageCardVariants({ density }), "block focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-nexus-accent/40", href != null ? "cursor-pointer" : "", className);
34
+ if (href != null) {
35
+ return (_jsx("a", { ref: ref, href: href, className: cardClass, ...rest, children: body }));
36
+ }
37
+ return (_jsx("article", { ref: ref, className: cardClass, ...rest, children: body }));
38
+ });
39
+ ImageCard.displayName = "ImageCard";
@@ -0,0 +1,8 @@
1
+ import { type InputHTMLAttributes, type ReactNode } from "react";
2
+ export type SearchBarProps = {
3
+ leadingSlot?: ReactNode;
4
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size">;
5
+ export declare const SearchBar: import("react").ForwardRefExoticComponent<{
6
+ leadingSlot?: ReactNode;
7
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & import("react").RefAttributes<HTMLInputElement>>;
8
+ //# sourceMappingURL=search-bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-bar.d.ts","sourceRoot":"","sources":["../../src/components/search-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,mBAAmB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAG7E,MAAM,MAAM,cAAc,GAAG;IAC3B,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,CAAC;AAExD,eAAO,MAAM,SAAS;kBAHN,SAAS;0GA2BxB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ import { cn } from "../lib/cn.js";
4
+ export const SearchBar = forwardRef(({ className, leadingSlot, ...props }, ref) => (_jsxs("div", { className: cn("flex w-full max-w-md items-center gap-2 rounded-nexus border border-nexus-border bg-nexus-bg px-3 py-2 transition-shadow focus-within:border-nexus-accent/40 focus-within:shadow-[0_0_0_3px_rgba(110,86,207,0.12)]", className), children: [leadingSlot != null ? (_jsx("span", { className: "flex shrink-0 text-nexus-muted [&>svg]:h-4 [&>svg]:w-4", "aria-hidden": true, children: leadingSlot })) : null, _jsx("input", { ref: ref, type: "search", className: "min-w-0 flex-1 bg-transparent text-sm text-nexus-foreground placeholder:text-nexus-muted focus:outline-none", ...props })] })));
5
+ SearchBar.displayName = "SearchBar";
@@ -0,0 +1,14 @@
1
+ import { type HTMLAttributes, type ReactNode } from "react";
2
+ export type SectionHeadingProps = {
3
+ eyebrow?: ReactNode;
4
+ title: ReactNode;
5
+ description?: ReactNode;
6
+ actions?: ReactNode;
7
+ } & Omit<HTMLAttributes<HTMLElement>, "title">;
8
+ export declare const SectionHeading: import("react").ForwardRefExoticComponent<{
9
+ eyebrow?: ReactNode;
10
+ title: ReactNode;
11
+ description?: ReactNode;
12
+ actions?: ReactNode;
13
+ } & Omit<HTMLAttributes<HTMLElement>, "title"> & import("react").RefAttributes<HTMLElement>>;
14
+ //# sourceMappingURL=section-heading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"section-heading.d.ts","sourceRoot":"","sources":["../../src/components/section-heading.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAKxE,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB,GAAG,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,CAAC;AAE/C,eAAO,MAAM,cAAc;cANf,SAAS;WACZ,SAAS;kBACF,SAAS;cACb,SAAS;4FAyCpB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ import { cn } from "../lib/cn.js";
4
+ import { Stack } from "./stack.js";
5
+ import { Text } from "./text.js";
6
+ export const SectionHeading = forwardRef(({ className, eyebrow, title, description, actions, ...props }, ref) => (_jsxs("header", { ref: ref, className: cn("flex flex-col gap-4 sm:flex-row sm:items-end sm:justify-between", className), ...props, children: [_jsxs(Stack, { gap: "sm", className: "min-w-0 flex-1", children: [eyebrow != null ? (_jsx(Text, { as: "p", size: "xs", tone: "muted", weight: "medium", className: "uppercase tracking-widest", children: eyebrow })) : null, _jsx(Text, { as: "h2", size: "xl", weight: "semibold", className: "text-balance", children: title }), description != null ? (_jsx(Text, { as: "p", size: "sm", tone: "muted", className: "max-w-2xl text-pretty", children: description })) : null] }), actions != null ? (_jsx("div", { className: "flex shrink-0 flex-wrap items-center gap-2 sm:justify-end", children: actions })) : null] })));
7
+ SectionHeading.displayName = "SectionHeading";
@@ -0,0 +1,13 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import { type HTMLAttributes } from "react";
3
+ declare const stackVariants: (props?: ({
4
+ direction?: "row" | "column" | null | undefined;
5
+ gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
6
+ align?: "start" | "center" | "end" | "stretch" | null | undefined;
7
+ justify?: "start" | "center" | "end" | "between" | null | undefined;
8
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
+ export interface StackProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof stackVariants> {
10
+ }
11
+ export declare const Stack: import("react").ForwardRefExoticComponent<StackProps & import("react").RefAttributes<HTMLDivElement>>;
12
+ export {};
13
+ //# sourceMappingURL=stack.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stack.d.ts","sourceRoot":"","sources":["../../src/components/stack.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAGxD,QAAA,MAAM,aAAa;;;;;8EAiCjB,CAAC;AAEH,MAAM,WAAW,UACf,SAAQ,cAAc,CAAC,cAAc,CAAC,EACpC,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AAEzC,eAAO,MAAM,KAAK,uGAWjB,CAAC"}
@@ -0,0 +1,40 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cva } from "class-variance-authority";
3
+ import { forwardRef } from "react";
4
+ import { cn } from "../lib/cn.js";
5
+ const stackVariants = cva("flex", {
6
+ variants: {
7
+ direction: {
8
+ row: "flex-row",
9
+ column: "flex-col",
10
+ },
11
+ gap: {
12
+ none: "gap-0",
13
+ xs: "gap-1",
14
+ sm: "gap-2",
15
+ md: "gap-4",
16
+ lg: "gap-6",
17
+ xl: "gap-8",
18
+ },
19
+ align: {
20
+ start: "items-start",
21
+ center: "items-center",
22
+ end: "items-end",
23
+ stretch: "items-stretch",
24
+ },
25
+ justify: {
26
+ start: "justify-start",
27
+ center: "justify-center",
28
+ end: "justify-end",
29
+ between: "justify-between",
30
+ },
31
+ },
32
+ defaultVariants: {
33
+ direction: "column",
34
+ gap: "md",
35
+ align: "stretch",
36
+ justify: "start",
37
+ },
38
+ });
39
+ export const Stack = forwardRef(({ className, direction, gap, align, justify, ...props }, ref) => (_jsx("div", { ref: ref, className: cn(stackVariants({ direction, gap, align, justify }), className), ...props })));
40
+ Stack.displayName = "Stack";
@@ -0,0 +1,12 @@
1
+ import { type HTMLAttributes, type ReactNode } from "react";
2
+ export type TextCardProps = {
3
+ title: ReactNode;
4
+ footer?: ReactNode;
5
+ children?: ReactNode;
6
+ } & Omit<HTMLAttributes<HTMLDivElement>, "title">;
7
+ export declare const TextCard: import("react").ForwardRefExoticComponent<{
8
+ title: ReactNode;
9
+ footer?: ReactNode;
10
+ children?: ReactNode;
11
+ } & Omit<HTMLAttributes<HTMLDivElement>, "title"> & import("react").RefAttributes<HTMLDivElement>>;
12
+ //# sourceMappingURL=text-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-card.d.ts","sourceRoot":"","sources":["../../src/components/text-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAKxE,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,SAAS,CAAC;IACjB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,CAAC;AAElD,eAAO,MAAM,QAAQ;WALZ,SAAS;aACP,SAAS;eACP,SAAS;kGA0BrB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ import { cn } from "../lib/cn.js";
4
+ import { Stack } from "./stack.js";
5
+ import { Text } from "./text.js";
6
+ export const TextCard = forwardRef(({ className, title, footer, children, ...props }, ref) => (_jsx("div", { ref: ref, className: cn("rounded-nexus border border-nexus-border bg-nexus-bg p-6 shadow-card transition-shadow duration-200 ease-nexus-out hover:shadow-card-hover", className), ...props, children: _jsxs(Stack, { gap: "sm", children: [_jsx(Text, { as: "h3", size: "lg", weight: "semibold", className: "text-balance", children: title }), children != null ? (_jsx("div", { className: "text-pretty text-sm text-nexus-muted", children: children })) : null, footer != null ? (_jsx("div", { className: "border-t border-nexus-border pt-4", children: footer })) : null] }) })));
7
+ TextCard.displayName = "TextCard";
@@ -0,0 +1,21 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import { type ElementType, type HTMLAttributes, type ReactNode } from "react";
3
+ declare const textVariants: (props?: ({
4
+ tone?: "accent" | "default" | "muted" | "inverse" | null | undefined;
5
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | null | undefined;
6
+ weight?: "normal" | "medium" | "semibold" | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
+ export type TextProps = {
9
+ as?: ElementType;
10
+ children?: ReactNode;
11
+ } & VariantProps<typeof textVariants> & HTMLAttributes<HTMLElement>;
12
+ export declare const Text: import("react").ForwardRefExoticComponent<{
13
+ as?: ElementType;
14
+ children?: ReactNode;
15
+ } & VariantProps<(props?: ({
16
+ tone?: "accent" | "default" | "muted" | "inverse" | null | undefined;
17
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | null | undefined;
18
+ weight?: "normal" | "medium" | "semibold" | null | undefined;
19
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string> & HTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLElement>>;
20
+ export {};
21
+ //# sourceMappingURL=text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/components/text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EACL,KAAK,WAAW,EAEhB,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,QAAA,MAAM,YAAY;;;;8EA4BhB,CAAC;AAeH,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,GACnC,cAAc,CAAC,WAAW,CAAC,CAAC;AAE9B,eAAO,MAAM,IAAI;SALV,WAAW;eACL,SAAS;;;;;2JAmBpB,CAAC"}
@@ -0,0 +1,48 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cva } from "class-variance-authority";
3
+ import { forwardRef, } from "react";
4
+ import { cn } from "../lib/cn.js";
5
+ const textVariants = cva("text-nexus-foreground", {
6
+ variants: {
7
+ tone: {
8
+ default: "text-nexus-foreground",
9
+ muted: "text-nexus-muted",
10
+ accent: "text-nexus-accent",
11
+ inverse: "text-nexus-inverse",
12
+ },
13
+ size: {
14
+ xs: "text-xs",
15
+ sm: "text-sm",
16
+ md: "text-md leading-normal",
17
+ lg: "text-lg",
18
+ xl: "text-xl font-display tracking-tight",
19
+ "2xl": "text-2xl font-display tracking-tight",
20
+ "3xl": "text-3xl font-display tracking-tight",
21
+ },
22
+ weight: {
23
+ normal: "font-normal",
24
+ medium: "font-medium",
25
+ semibold: "font-semibold",
26
+ },
27
+ },
28
+ defaultVariants: {
29
+ tone: "default",
30
+ size: "md",
31
+ weight: "normal",
32
+ },
33
+ });
34
+ const defaultElementForSize = {
35
+ xs: "span",
36
+ sm: "span",
37
+ md: "p",
38
+ lg: "p",
39
+ xl: "h2",
40
+ "2xl": "h1",
41
+ "3xl": "h1",
42
+ };
43
+ export const Text = forwardRef(function Text({ as, className, tone, size, weight, children, ...rest }, ref) {
44
+ const s = size ?? "md";
45
+ const Component = as ?? defaultElementForSize[s];
46
+ return (_jsx(Component, { ref: ref, className: cn(textVariants({ tone, size: s, weight }), className), ...rest, children: children }));
47
+ });
48
+ Text.displayName = "Text";
@@ -0,0 +1,16 @@
1
+ import { type HTMLAttributes, type ReactNode } from "react";
2
+ export type TopNavLink = {
3
+ label: string;
4
+ href: string;
5
+ };
6
+ export type TopNavProps = {
7
+ brand?: ReactNode;
8
+ links?: readonly TopNavLink[];
9
+ rightSlot?: ReactNode;
10
+ } & HTMLAttributes<HTMLElement>;
11
+ export declare const TopNav: import("react").ForwardRefExoticComponent<{
12
+ brand?: ReactNode;
13
+ links?: readonly TopNavLink[];
14
+ rightSlot?: ReactNode;
15
+ } & HTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLElement>>;
16
+ //# sourceMappingURL=top-nav.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"top-nav.d.ts","sourceRoot":"","sources":["../../src/components/top-nav.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIxE,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,UAAU,EAAE,CAAC;IAC9B,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,GAAG,cAAc,CAAC,WAAW,CAAC,CAAC;AAEhC,eAAO,MAAM,MAAM;YALT,SAAS;YACT,SAAS,UAAU,EAAE;gBACjB,SAAS;6EA4CtB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ import { cn } from "../lib/cn.js";
4
+ import { Stack } from "./stack.js";
5
+ export const TopNav = forwardRef(({ className, brand, links = [], rightSlot, ...props }, ref) => (_jsx("header", { ref: ref, className: cn("border-b border-nexus-border bg-nexus-bg", className), ...props, children: _jsxs("div", { className: "mx-auto flex w-full max-w-7xl items-center justify-between gap-6 px-4 py-4 sm:px-6 lg:px-8", children: [_jsxs("div", { className: "flex min-w-0 shrink-0 items-center gap-8", children: [brand != null ? (_jsx("div", { className: "min-w-0 text-sm font-semibold tracking-tight text-nexus-foreground", children: brand })) : null, links.length > 0 ? (_jsx("nav", { "aria-label": "Main", className: "hidden md:block", children: _jsx(Stack, { direction: "row", gap: "lg", align: "center", className: "flex-wrap", children: links.map((link) => (_jsx("a", { href: link.href, className: "text-sm text-nexus-muted transition-colors hover:text-nexus-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-nexus-accent/30 focus-visible:ring-offset-2 focus-visible:ring-offset-nexus-bg", children: link.label }, link.href))) }) })) : null] }), rightSlot != null ? (_jsx("div", { className: "flex shrink-0 items-center gap-2", children: rightSlot })) : null] }) })));
6
+ TopNav.displayName = "TopNav";
@@ -0,0 +1,15 @@
1
+ export { Badge, type BadgeProps } from "./components/badge.js";
2
+ export { CollectionCard, type CollectionCardProps, } from "./components/collection-card.js";
3
+ export { Container, type ContainerProps } from "./components/container.js";
4
+ export { FilterBar, type FilterBarProps } from "./components/filter-bar.js";
5
+ export { GhostButton, type GhostButtonProps } from "./components/ghost-button.js";
6
+ export { Grid, type GridProps } from "./components/grid.js";
7
+ export { ImageCard, type ImageCardProps } from "./components/image-card.js";
8
+ export { SearchBar, type SearchBarProps } from "./components/search-bar.js";
9
+ export { SectionHeading, type SectionHeadingProps, } from "./components/section-heading.js";
10
+ export { Stack, type StackProps } from "./components/stack.js";
11
+ export { Text, type TextProps } from "./components/text.js";
12
+ export { TextCard, type TextCardProps } from "./components/text-card.js";
13
+ export { TopNav, type TopNavLink, type TopNavProps, } from "./components/top-nav.js";
14
+ export { cn } from "./lib/cn.js";
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EACL,cAAc,EACd,KAAK,mBAAmB,GACzB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAClF,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EACL,cAAc,EACd,KAAK,mBAAmB,GACzB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,EACL,MAAM,EACN,KAAK,UAAU,EACf,KAAK,WAAW,GACjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,14 @@
1
+ export { Badge } from "./components/badge.js";
2
+ export { CollectionCard, } from "./components/collection-card.js";
3
+ export { Container } from "./components/container.js";
4
+ export { FilterBar } from "./components/filter-bar.js";
5
+ export { GhostButton } from "./components/ghost-button.js";
6
+ export { Grid } from "./components/grid.js";
7
+ export { ImageCard } from "./components/image-card.js";
8
+ export { SearchBar } from "./components/search-bar.js";
9
+ export { SectionHeading, } from "./components/section-heading.js";
10
+ export { Stack } from "./components/stack.js";
11
+ export { Text } from "./components/text.js";
12
+ export { TextCard } from "./components/text-card.js";
13
+ export { TopNav, } from "./components/top-nav.js";
14
+ export { cn } from "./lib/cn.js";
@@ -0,0 +1,3 @@
1
+ import { type ClassValue } from "clsx";
2
+ export declare function cn(...inputs: ClassValue[]): string;
3
+ //# sourceMappingURL=cn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../src/lib/cn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;AAG7C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
package/dist/lib/cn.js ADDED
@@ -0,0 +1,5 @@
1
+ import { clsx } from "clsx";
2
+ import { twMerge } from "tailwind-merge";
3
+ export function cn(...inputs) {
4
+ return twMerge(clsx(inputs));
5
+ }
package/package.json CHANGED
@@ -1,6 +1,39 @@
1
1
  {
2
2
  "name": "@mogba/nexus-ui",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "Nexus design system \u2014 React + Tailwind primitives and cards",
5
+ "type": "module",
6
+ "types": "./dist/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./dist/index.d.ts",
10
+ "default": "./dist/index.js"
11
+ }
12
+ },
13
+ "files": [
14
+ "dist"
15
+ ],
16
+ "scripts": {
17
+ "build": "tsc -p tsconfig.json"
18
+ },
19
+ "license": "UNLICENSED",
20
+ "peerDependencies": {
21
+ "react": "^18 || ^19",
22
+ "react-dom": "^18 || ^19"
23
+ },
24
+ "dependencies": {
25
+ "class-variance-authority": "^0.7.1",
26
+ "clsx": "^2.1.1",
27
+ "tailwind-merge": "^2.6.0"
28
+ },
29
+ "devDependencies": {
30
+ "@types/react": "^19.2.14",
31
+ "@types/react-dom": "^19.2.3",
32
+ "typescript": "^6.0.2"
33
+ },
34
+ "publishConfig": {
35
+ "access": "public",
36
+ "registry": "https://registry.npmjs.org/"
37
+ },
38
+ "main": "./dist/index.js"
39
+ }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.