@nadicodeai/ui 12.1.74 → 12.1.76

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
- {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../src/components/alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,aAAa;;8EAiBlB,CAAC;AAEF,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,OAAO,EACP,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,qBASlE;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAWvE;AAED,iBAAS,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAW7E;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAWxE;AAED,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../src/components/alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,aAAa;;8EAiBlB,CAAC;AAEF,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,OAAO,EACP,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,qBAUlE;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAWvE;AAED,iBAAS,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAW7E;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAWxE;AAED,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,WAAW,EAAE,CAAC"}
@@ -15,7 +15,7 @@ const alertVariants = cva("group/alert relative grid w-full gap-0.5 rounded-md b
15
15
  },
16
16
  });
17
17
  function Alert({ className, variant, ...props }) {
18
- return (_jsx("div", { "data-slot": "alert", role: "alert", className: cn(alertVariants({ variant }), className), ...props }));
18
+ return (_jsx("div", { "data-slot": "alert", "data-variant": variant ?? "default", role: "alert", className: cn(alertVariants({ variant }), className), ...props }));
19
19
  }
20
20
  function AlertTitle({ className, ...props }) {
21
21
  return (_jsx("div", { "data-slot": "alert-title", className: cn("font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground", className), ...props }));
@@ -0,0 +1,31 @@
1
+ import type * as React from "react";
2
+ /**
3
+ * The line icon a catalog entry names. A name outside `CATALOG_ICONS`, or
4
+ * none, draws the sparkles every unnamed entry shares.
5
+ */
6
+ export declare function CatalogIcon({ name }: {
7
+ name: string | null | undefined;
8
+ }): React.JSX.Element;
9
+ /**
10
+ * The entries of a Library shelf (DESIGN.md "Page compositions"): one column,
11
+ * or two from `md` where the shelf has the page's width.
12
+ */
13
+ export declare function CatalogEntryList({ children, className, columns, }: {
14
+ children: React.ReactNode;
15
+ className?: string;
16
+ columns?: 1 | 2;
17
+ }): React.JSX.Element;
18
+ /**
19
+ * One entry of a Library shelf: its kind's tile, its name, one line of
20
+ * description, and at the trailing end what the viewer can do with it. A
21
+ * failure of that action sits under the entry, in `notice`. The caller writes
22
+ * the entry's `<li>`.
23
+ */
24
+ export declare function CatalogEntryRow({ actions, description, media, notice, title, }: {
25
+ actions?: React.ReactNode;
26
+ description: React.ReactNode;
27
+ media: React.ReactNode;
28
+ notice?: React.ReactNode;
29
+ title: React.ReactNode;
30
+ }): React.JSX.Element;
31
+ //# sourceMappingURL=catalog-entry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog-entry.d.ts","sourceRoot":"","sources":["../../src/components/catalog-entry.tsx"],"names":[],"mappings":"AA6BA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AA+CpC;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;CAAE,qBAGxE;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,SAAS,EACT,OAAW,GACZ,EAAE;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;CACjB,qBASA;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,EAC9B,OAAO,EACP,WAAW,EACX,KAAK,EACL,MAAM,EACN,KAAK,GACN,EAAE;IACD,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,qBAcA"}
@@ -0,0 +1,59 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { BookOpen, Briefcase, Calculator, Calendar, FileCheck, FileSearch, FileText, Globe, Inbox, Landmark, Languages, ListChecks, Mail, MessageCircle, Mic, NotebookPen, Phone, Presentation, Receipt, Scale, Send, ShieldCheck, Sparkles, Truck, Users, Wallet, } from "lucide-react";
3
+ import { Item, ItemActions, ItemContent, ItemDescription, ItemGroup, ItemMedia, ItemTitle, } from "./item.js";
4
+ import { cn } from "../lib/utils.js";
5
+ const ICONS = {
6
+ "book-open": BookOpen,
7
+ briefcase: Briefcase,
8
+ calculator: Calculator,
9
+ calendar: Calendar,
10
+ "file-check": FileCheck,
11
+ "file-search": FileSearch,
12
+ "file-text": FileText,
13
+ globe: Globe,
14
+ inbox: Inbox,
15
+ landmark: Landmark,
16
+ languages: Languages,
17
+ "list-checks": ListChecks,
18
+ mail: Mail,
19
+ "message-circle": MessageCircle,
20
+ mic: Mic,
21
+ "notebook-pen": NotebookPen,
22
+ phone: Phone,
23
+ presentation: Presentation,
24
+ receipt: Receipt,
25
+ scale: Scale,
26
+ send: Send,
27
+ "shield-check": ShieldCheck,
28
+ sparkles: Sparkles,
29
+ truck: Truck,
30
+ users: Users,
31
+ wallet: Wallet,
32
+ };
33
+ function isCatalogIcon(name) {
34
+ return Object.hasOwn(ICONS, name);
35
+ }
36
+ /**
37
+ * The line icon a catalog entry names. A name outside `CATALOG_ICONS`, or
38
+ * none, draws the sparkles every unnamed entry shares.
39
+ */
40
+ export function CatalogIcon({ name }) {
41
+ const Icon = name && isCatalogIcon(name) ? ICONS[name] : Sparkles;
42
+ return _jsx(Icon, { "aria-hidden": "true" });
43
+ }
44
+ /**
45
+ * The entries of a Library shelf (DESIGN.md "Page compositions"): one column,
46
+ * or two from `md` where the shelf has the page's width.
47
+ */
48
+ export function CatalogEntryList({ children, className, columns = 1, }) {
49
+ return (_jsx(ItemGroup, { className: cn("grid gap-x-6 gap-y-2", columns === 2 && "md:grid-cols-2", className), render: _jsx("ul", {}), children: children }));
50
+ }
51
+ /**
52
+ * One entry of a Library shelf: its kind's tile, its name, one line of
53
+ * description, and at the trailing end what the viewer can do with it. A
54
+ * failure of that action sits under the entry, in `notice`. The caller writes
55
+ * the entry's `<li>`.
56
+ */
57
+ export function CatalogEntryRow({ actions, description, media, notice, title, }) {
58
+ return (_jsxs(_Fragment, { children: [_jsxs(Item, { children: [_jsx(ItemMedia, { children: media }), _jsxs(ItemContent, { className: "min-w-0", children: [_jsx(ItemTitle, { children: title }), _jsx(ItemDescription, { className: "line-clamp-1", children: description })] }), actions ? _jsx(ItemActions, { children: actions }) : null] }), notice] }));
59
+ }
@@ -0,0 +1,4 @@
1
+ /** The line icons a catalog entry may name, one Lucide shape each; a product draws only these. */
2
+ export declare const CATALOG_ICONS: readonly ["book-open", "briefcase", "calculator", "calendar", "file-check", "file-search", "file-text", "globe", "inbox", "landmark", "languages", "list-checks", "mail", "message-circle", "mic", "notebook-pen", "phone", "presentation", "receipt", "scale", "send", "shield-check", "sparkles", "truck", "users", "wallet"];
3
+ export type CatalogIconName = (typeof CATALOG_ICONS)[number];
4
+ //# sourceMappingURL=catalog-icons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog-icons.d.ts","sourceRoot":"","sources":["../../src/components/catalog-icons.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,eAAO,MAAM,aAAa,iUA2BhB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC"}
@@ -0,0 +1,29 @@
1
+ /** The line icons a catalog entry may name, one Lucide shape each; a product draws only these. */
2
+ export const CATALOG_ICONS = [
3
+ "book-open",
4
+ "briefcase",
5
+ "calculator",
6
+ "calendar",
7
+ "file-check",
8
+ "file-search",
9
+ "file-text",
10
+ "globe",
11
+ "inbox",
12
+ "landmark",
13
+ "languages",
14
+ "list-checks",
15
+ "mail",
16
+ "message-circle",
17
+ "mic",
18
+ "notebook-pen",
19
+ "phone",
20
+ "presentation",
21
+ "receipt",
22
+ "scale",
23
+ "send",
24
+ "shield-check",
25
+ "sparkles",
26
+ "truck",
27
+ "users",
28
+ "wallet",
29
+ ];
@@ -4,5 +4,5 @@ import { Search } from "lucide-react";
4
4
  import { InputGroup, InputGroupAddon, InputGroupInput } from "./input-group.js";
5
5
  /** The search a collection toolbar fills its row with. */
6
6
  export function CollectionSearch({ label, value, onValueChange, disabled }) {
7
- return (_jsxs(InputGroup, { "data-slot": "collection-search", children: [_jsx(InputGroupAddon, { children: _jsx(Search, { "aria-hidden": "true" }) }), _jsx(InputGroupInput, { "aria-label": label, disabled: disabled, onChange: (event) => onValueChange(event.target.value), placeholder: label, type: "search", value: value })] }));
7
+ return (_jsxs(InputGroup, { children: [_jsx(InputGroupAddon, { children: _jsx(Search, { "aria-hidden": "true" }) }), _jsx(InputGroupInput, { "aria-label": label, disabled: disabled, onChange: (event) => onValueChange(event.target.value), placeholder: label, type: "search", value: value })] }));
8
8
  }
@@ -6,7 +6,10 @@ interface ConfirmDialogProps {
6
6
  onCancel: () => void;
7
7
  title: React.ReactNode;
8
8
  description?: React.ReactNode;
9
- /** Why the confirmed action did not happen, from the product's catalogue. */
9
+ /**
10
+ * Why the confirmed action did not happen, from the product's catalogue,
11
+ * with the message's own actions, such as signing in, under it.
12
+ */
10
13
  error?: ResolvedMessage | null;
11
14
  confirmLabel?: React.ReactNode;
12
15
  /** The confirm button's own word while the action runs. */
@@ -1 +1 @@
1
- {"version":3,"file":"confirm-dialog.d.ts","sourceRoot":"","sources":["../../src/components/confirm-dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAapC,OAAO,EAAmB,KAAK,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAErF,UAAU,kBAAkB;IAC1B,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,IAAI,CA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K,CAAC,SAAS,CAAC;IACtC,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAOD,iBAAS,aAAa,CAAC,EACrB,IAAI,EACJ,SAAS,EACT,QAAQ,EACR,KAAK,EACL,WAAW,EACX,KAAK,EACL,YAAwB,EACxB,mBAAmB,EACnB,WAAsB,EACtB,WAAmB,EACnB,OAAe,GAChB,EAAE,kBAAkB,qBAmDpB;AAED,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,YAAY,EAAE,kBAAkB,EAAE,CAAC"}
@@ -3,6 +3,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
3
3
  import { AlertDialog, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, } from "./alert-dialog.js";
4
4
  import { Button } from "./button.js";
5
5
  import { FieldError } from "./field.js";
6
+ import { PageCommandButton } from "./page-actions.js";
6
7
  import { PendingLabel } from "./pending-label.js";
7
8
  import { bodyBeyondTitle } from "./product-message.js";
8
9
  // Fully controlled confirm dialog over the registry AlertDialog parts. The
@@ -15,6 +16,6 @@ function ConfirmDialog({ open, onConfirm, onCancel, title, description, error, c
15
16
  if (!nextOpen) {
16
17
  onCancel();
17
18
  }
18
- }, children: _jsxs(AlertDialogContent, { children: [_jsxs(AlertDialogHeader, { children: [_jsx(AlertDialogTitle, { children: title }), description ? _jsx(AlertDialogDescription, { children: description }) : null, error ? (_jsxs(FieldError, { className: "break-words", "data-message-code": error.code, children: [_jsx("span", { className: "block font-medium", children: error.title }), bodyBeyondTitle(error) ? (_jsxs(_Fragment, { children: [" ", _jsx("span", { className: "block", children: bodyBeyondTitle(error) })] })) : null] })) : null] }), _jsxs(AlertDialogFooter, { children: [_jsx(Button, { variant: "outline", onClick: onCancel, disabled: loading, children: cancelLabel }), _jsx(Button, { "aria-busy": loading || undefined, variant: destructive ? "destructive" : "default", onClick: onConfirm, disabled: loading, children: _jsx(PendingLabel, { pending: loading, pendingLabel: confirmPendingLabel ?? confirmLabel, children: confirmLabel }) })] })] }) }));
19
+ }, children: _jsxs(AlertDialogContent, { children: [_jsxs(AlertDialogHeader, { children: [_jsx(AlertDialogTitle, { children: title }), description ? _jsx(AlertDialogDescription, { children: description }) : null, error ? (_jsxs(FieldError, { className: "break-words", "data-message-code": error.code, children: [_jsx("span", { className: "block font-medium", children: error.title }), bodyBeyondTitle(error) ? (_jsxs(_Fragment, { children: [" ", _jsx("span", { className: "block", children: bodyBeyondTitle(error) })] })) : null] })) : null, error?.actions.length ? (_jsx("div", { className: "flex flex-wrap items-center gap-2", "data-message-actions": true, children: error.actions.map((action) => (_jsx(PageCommandButton, { command: action, variant: "outline" }, action.label))) })) : null] }), _jsxs(AlertDialogFooter, { children: [_jsx(Button, { variant: "outline", onClick: onCancel, disabled: loading, children: cancelLabel }), _jsx(Button, { "aria-busy": loading || undefined, variant: destructive ? "destructive" : "default", onClick: onConfirm, disabled: loading, children: _jsx(PendingLabel, { pending: loading, pendingLabel: confirmPendingLabel ?? confirmLabel, children: confirmLabel }) })] })] }) }));
19
20
  }
20
21
  export { ConfirmDialog };
@@ -1,4 +1,5 @@
1
1
  import type { ComponentProps, ReactNode } from "react";
2
+ import { SheetContent } from "./sheet.js";
2
3
  export type FormDrawerProps = {
3
4
  open: boolean;
4
5
  onOpenChange: (open: boolean) => void;
@@ -11,6 +12,10 @@ export type FormDrawerProps = {
11
12
  closeLabel: string;
12
13
  /** A `FormDrawerForm`, or a `FormDrawerBody` and `FormDrawerFooter` for a step that is not one form. */
13
14
  children: ReactNode;
15
+ /** Where focus starts when the drawer opens, when not its first control. */
16
+ initialFocus?: ComponentProps<typeof SheetContent>["initialFocus"];
17
+ /** Where focus returns when the drawer closes, when its opener is gone. */
18
+ finalFocus?: ComponentProps<typeof SheetContent>["finalFocus"];
14
19
  };
15
20
  /**
16
21
  * The one drawer every product opens to create, edit or connect a record
@@ -20,7 +25,7 @@ export type FormDrawerProps = {
20
25
  * keeps its right edge and fills the width. A centred dialog only confirms a
21
26
  * consequence; it never holds a form.
22
27
  */
23
- export declare function FormDrawer({ open, onOpenChange, onOpenChangeComplete, title, description, closeLabel, children, }: FormDrawerProps): import("react").JSX.Element;
28
+ export declare function FormDrawer({ open, onOpenChange, onOpenChangeComplete, title, description, closeLabel, children, initialFocus, finalFocus, }: FormDrawerProps): import("react").JSX.Element;
24
29
  /** The part of the drawer that scrolls between its title and its footer. */
25
30
  export declare function FormDrawerBody({ className, ...props }: ComponentProps<"div">): import("react").JSX.Element;
26
31
  export type FormDrawerFooterProps = {
@@ -1 +1 @@
1
- {"version":3,"file":"form-drawer.d.ts","sourceRoot":"","sources":["../../src/components/form-drawer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAgBvD,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,qFAAqF;IACrF,oBAAoB,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C,6FAA6F;IAC7F,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,2DAA2D;IAC3D,UAAU,EAAE,MAAM,CAAC;IACnB,wGAAwG;IACxG,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,YAAY,EACZ,oBAAoB,EACpB,KAAK,EACL,WAAW,EACX,UAAU,EACV,QAAQ,GACT,EAAE,eAAe,+BAgBjB;AAED,4EAA4E;AAC5E,wBAAgB,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,KAAK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AAK,EAAE,MAAM,CAAC;IACd,iDAAiD;IACjD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uFAAuF;IACvF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gEAAgE;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,UAAU,GAAG,WAAW,CAAC,GAAG;IACzF,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,gBAAgB,CAAC;IACzB,gGAAgG;IAChG,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,EAC7B,WAAW,EACX,MAAM,EACN,MAAM,EACN,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,mBAAmB,+BA+BrB"}
@@ -13,8 +13,8 @@ import { cn } from "../lib/utils.js";
13
13
  * keeps its right edge and fills the width. A centred dialog only confirms a
14
14
  * consequence; it never holds a form.
15
15
  */
16
- export function FormDrawer({ open, onOpenChange, onOpenChangeComplete, title, description, closeLabel, children, }) {
17
- return (_jsx(Sheet, { open: open, onOpenChange: onOpenChange, onOpenChangeComplete: onOpenChangeComplete, children: _jsxs(SheetContent, { className: "max-sm:data-[side=right]:left-nadicode-sm max-sm:data-[side=right]:w-auto", closeLabel: closeLabel, side: "right", children: [_jsxs(SheetHeader, { className: "pr-12", children: [_jsx(SheetTitle, { className: "break-words", children: title }), description ? _jsx(SheetDescription, { children: description }) : null] }), children] }) }));
16
+ export function FormDrawer({ open, onOpenChange, onOpenChangeComplete, title, description, closeLabel, children, initialFocus, finalFocus, }) {
17
+ return (_jsx(Sheet, { open: open, onOpenChange: onOpenChange, onOpenChangeComplete: onOpenChangeComplete, children: _jsxs(SheetContent, { className: "max-sm:data-[side=right]:left-nadicode-sm max-sm:data-[side=right]:w-auto", closeLabel: closeLabel, finalFocus: finalFocus, initialFocus: initialFocus, side: "right", children: [_jsxs(SheetHeader, { className: "pr-12", children: [_jsx(SheetTitle, { className: "break-words", children: title }), description ? _jsx(SheetDescription, { children: description }) : null] }), children] }) }));
18
18
  }
19
19
  /** The part of the drawer that scrolls between its title and its footer. */
20
20
  export function FormDrawerBody({ className, ...props }) {
@@ -20,7 +20,7 @@ function ItemGroup({ className, divided = false, render, ...props }) {
20
20
  function ItemSeparator({ className, ...props }) {
21
21
  return (_jsx(Separator, { "data-slot": "item-separator", orientation: "horizontal", className: cn("my-2", className), ...props, "aria-hidden": "true", role: "presentation" }));
22
22
  }
23
- const itemVariants = cva("nc-transition-paint group/item flex w-full flex-wrap items-center rounded-md border text-sm in-data-divided:rounded-none in-data-divided:border-0 [a]:transition-colors [a]:hover:bg-accent", {
23
+ const itemVariants = cva("nc-transition-paint group/item flex w-full flex-wrap items-center rounded-md border text-sm in-data-divided:rounded-none in-data-divided:border-0 [a]:transition-colors [a]:hover:bg-accent [button]:transition-colors [button]:text-left [button]:enabled:hover:bg-accent [button]:disabled:opacity-50", {
24
24
  variants: {
25
25
  variant: {
26
26
  default: "border-transparent",
@@ -7,8 +7,8 @@ type StatusBadgeProps = Omit<ComponentProps<"span">, "children"> & {
7
7
  since?: string;
8
8
  };
9
9
  /**
10
- * A status is a mark and a word in one of five tones. The caller owns which
11
- * tone a state takes and the wording; this owns how the tone looks.
10
+ * A status is a mark and a word in one of five tones. The caller
11
+ * owns which tone a state takes and the wording; this owns how the tone looks.
12
12
  */
13
13
  declare function StatusBadge({ tone, label, since, className, ...props }: StatusBadgeProps): import("react").JSX.Element;
14
14
  export { StatusBadge, type StatusBadgeProps, type StatusBadgeTone };
@@ -19,8 +19,8 @@ const MARK_BY_TONE = {
19
19
  neutral: CirclePause,
20
20
  };
21
21
  /**
22
- * A status is a mark and a word in one of five tones. The caller owns which
23
- * tone a state takes and the wording; this owns how the tone looks.
22
+ * A status is a mark and a word in one of five tones. The caller
23
+ * owns which tone a state takes and the wording; this owns how the tone looks.
24
24
  */
25
25
  function StatusBadge({ tone, label, since, className, ...props }) {
26
26
  const Mark = MARK_BY_TONE[tone];
package/dist/index.d.ts CHANGED
@@ -23,6 +23,7 @@ export * from "./components/button-group.js";
23
23
  export * from "./components/calendar.js";
24
24
  export * from "./components/card.js";
25
25
  export * from "./components/card-row.js";
26
+ export * from "./components/catalog-entry.js";
26
27
  export * from "./components/catalog-tile.js";
27
28
  export * from "./components/carousel.js";
28
29
  export * from "./components/channel-view.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2B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AC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kCAAkC,CAAC;AACjD,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC"}
package/dist/index.js CHANGED
@@ -23,6 +23,7 @@ export * from "./components/button-group.js";
23
23
  export * from "./components/calendar.js";
24
24
  export * from "./components/card.js";
25
25
  export * from "./components/card-row.js";
26
+ export * from "./components/catalog-entry.js";
26
27
  export * from "./components/catalog-tile.js";
27
28
  export * from "./components/carousel.js";
28
29
  export * from "./components/channel-view.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nadicodeai/ui",
3
- "version": "12.1.74",
3
+ "version": "12.1.76",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -62,8 +62,8 @@
62
62
  "build:dev": "node scripts/dev-build.mjs",
63
63
  "generate:merge-tokens": "node scripts/generate-merge-tokens.mjs",
64
64
  "prepack": "npm run build",
65
- "lint": "node scripts/generate-merge-tokens.mjs --check && eslint --max-warnings=0",
66
- "typecheck": "node ../../tools/workspace/heavy-slots.mjs -- node ../../node_modules/typescript-native/bin/tsc --noEmit",
65
+ "lint": "node scripts/generate-merge-tokens.mjs --check && node ../../tools/workspace/heavy-slots.mjs -- eslint --max-warnings=0",
66
+ "typecheck": "node ../../tools/workspace/heavy-slots.mjs -- node ../../node_modules/typescript-native/bin/tsc --checkers 2 --noEmit",
67
67
  "check": "npm run lint && npm run typecheck",
68
68
  "check:static": "npm run check",
69
69
  "pretest": "npm run build",
@@ -75,7 +75,7 @@
75
75
  "@base-ui/react": "^1.8.0",
76
76
  "@iconify-icons/logos": "^2.0.2",
77
77
  "@iconify/react": "^6.0.2",
78
- "@nadicodeai/design-system": "12.1.74",
78
+ "@nadicodeai/design-system": "12.1.76",
79
79
  "@tanstack/react-table": "^9.2.4",
80
80
  "class-variance-authority": "^0.7.1",
81
81
  "clsx": "^2.1.1",